@ifc-lite/viewer 1.22.1 → 1.23.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.
Files changed (33) hide show
  1. package/.turbo/turbo-build.log +30 -30
  2. package/CHANGELOG.md +50 -0
  3. package/dist/assets/{basketViewActivator--cFpU2Q9.js → basketViewActivator-Dn_bHUl2.js} +6 -6
  4. package/dist/assets/{bcf-Ba2CjHib.js → bcf-B9SFl84i.js} +1 -1
  5. package/dist/assets/{deflate-DCLbV4UE.js → deflate-yMpdCIqk.js} +1 -1
  6. package/dist/assets/{exporters-Bf6PTtdW.js → exporters-D-BvrNIg.js} +1178 -1147
  7. package/dist/assets/{geometry-controller.worker-CEr00X3X.js → geometry-controller.worker-Cm5pvyR6.js} +2 -2
  8. package/dist/assets/geometry.worker-ClNvXIrj.js +1 -0
  9. package/dist/assets/{geotiff-BN4J8Vt9.js → geotiff-D1tvcDCb.js} +10 -10
  10. package/dist/assets/{ids-XwxE1tK3.js → ids-DZLs0snJ.js} +3 -3
  11. package/dist/assets/{ifc-lite-DNzkEkIb.js → ifc-lite-BDg0iIbj.js} +2 -2
  12. package/dist/assets/{ifc-lite_bg-1IiJN0Zg.wasm → ifc-lite_bg-BIryVCXQ.wasm} +0 -0
  13. package/dist/assets/{ifc-lite_bg-B_eUD1Wy.wasm → ifc-lite_bg-DyHX37GQ.wasm} +0 -0
  14. package/dist/assets/{index-j2x5R7fb.js → index-CXSBhkcJ.js} +20564 -20159
  15. package/dist/assets/{jpeg-BUTmr0Bp.js → jpeg-DUMcZp24.js} +1 -1
  16. package/dist/assets/{lerc-DmzRHXn3.js → lerc-IN4uWojP.js} +1 -1
  17. package/dist/assets/{lzw-CgyIIzii.js → lzw-Cnw0hH-m.js} +1 -1
  18. package/dist/assets/{native-bridge-Q5ACp4QY.js → native-bridge-BVf2uzoH.js} +1 -1
  19. package/dist/assets/{packbits-C1r4AzHj.js → packbits-BskJCwk0.js} +1 -1
  20. package/dist/assets/{parser.worker-Cl6XQcXA.js → parser.worker-BdtkkaGf.js} +3 -3
  21. package/dist/assets/raw-DzTtEZIY.js +1 -0
  22. package/dist/assets/{sandbox-Bju6ZKJK.js → sandbox-VLI_y7cl.js} +2 -2
  23. package/dist/assets/{server-client-B8wi3CGx.js → server-client-BLcKaWQB.js} +1 -1
  24. package/dist/assets/{wasm-bridge-X-mWRA9Z.js → wasm-bridge-BAfZh7YT.js} +1 -1
  25. package/dist/assets/{webimage-D0MbRMkU.js → webimage-Db2xzze3.js} +1 -1
  26. package/dist/assets/{workerHelpers-DnNedVRr.js → workerHelpers--sAYm9yN.js} +1 -1
  27. package/dist/assets/{zstd-DA4VQ-ji.js → zstd-BDToOQyD.js} +1 -1
  28. package/dist/index.html +6 -6
  29. package/package.json +7 -7
  30. package/src/components/viewer/GLBExportDialog.tsx +389 -0
  31. package/src/components/viewer/MainToolbar.tsx +17 -25
  32. package/dist/assets/geometry.worker-B4VPDkmL.js +0 -1
  33. package/dist/assets/raw-ZqLh7kVQ.js +0 -1
@@ -1,7 +1,7 @@
1
- import{s as Kt}from"./workerHelpers-DnNedVRr.js";let r;function b(s){V===m.length&&m.push(m.length+1);const t=V;return V=m[t],m[t]=s,t}function jt(s){if(Y==1)throw new Error("out of js stack");return m[--Y]=s,Y}const Ft=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>s.dtor(s.a,s.b));function Qt(s){s<132||(m[s]=V,V=s)}function j(s,t){return s=s>>>0,$t().subarray(s/4,s/4+t)}function z(s,t){return s=s>>>0,te().subarray(s/8,s/8+t)}function Yt(s,t){return s=s>>>0,Xt().subarray(s/4,s/4+t)}let B=null;function o(){return(B===null||B.buffer!==r.memory.buffer)&&(B=new DataView(r.memory.buffer)),B}let G=null;function $t(){return(G===null||G.buffer!==r.memory.buffer)&&(G=new Float32Array(r.memory.buffer)),G}let W=null;function te(){return(W===null||W.buffer!==r.memory.buffer)&&(W=new Float64Array(r.memory.buffer)),W}function l(s,t){return s=s>>>0,re(s,t)}let U=null;function Xt(){return(U===null||U.buffer!==r.memory.buffer)&&(U=new Uint32Array(r.memory.buffer)),U}let N=null;function Z(){return(N===null||N.buffer!==r.memory.buffer)&&(N=new Uint8Array(r.memory.buffer)),N}function c(s){return m[s]}function v(s,t){try{return s.apply(this,t)}catch(e){r.__wbindgen_export(b(e))}}let m=new Array(128).fill(void 0);m.push(void 0,null,!0,!1);let V=m.length;function R(s){return s==null}function Rt(s,t,e,n){const _={a:s,b:t,cnt:1,dtor:e},i=(...g)=>{_.cnt++;const p=_.a;_.a=0;try{return n(p,_.b,...g)}finally{_.a=p,i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--_.cnt===0&&(_.dtor(_.a,_.b),_.a=0,Ft.unregister(_))},Ft.register(i,_,_),i}function f(s,t){const e=t(s.length*4,4)>>>0;return Xt().set(s,e/4),a=s.length,e}function h(s,t){const e=t(s.length*1,1)>>>0;return Z().set(s,e/1),a=s.length,e}function d(s,t,e){if(e===void 0){const p=q.encode(s),u=t(p.length,1)>>>0;return Z().subarray(u,u+p.length).set(p),a=p.length,u}let n=s.length,_=t(n,1)>>>0;const i=Z();let g=0;for(;g<n;g++){const p=s.charCodeAt(g);if(p>127)break;i[_+g]=p}if(g!==n){g!==0&&(s=s.slice(g)),_=e(_,n,n=g+s.length*3,1)>>>0;const p=Z().subarray(_+g,_+n),u=q.encodeInto(s,p);g+=u.written,_=e(_,n,g,1)>>>0}return a=g,_}let Y=128;function w(s){const t=c(s);return Qt(s),t}let X=typeof TextDecoder<"u"?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):void 0;X&&X.decode();const ee=2146435072;let ht=0;function re(s,t){return ht+=t,ht>=ee&&(X=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),X.decode(),ht=t),X.decode(Z().slice(s,s+t))}const q=typeof TextEncoder<"u"?new TextEncoder:void 0;q&&(q.encodeInto=function(s,t){const e=q.encode(s);return t.set(e),{read:s.length,written:e.length}});let a=0;function zt(s,t,e){r.__wasm_bindgen_func_elem_1390(s,t,b(e))}function ne(s,t,e,n){r.__wasm_bindgen_func_elem_1663(s,t,b(e),b(n))}const kt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_georeferencejs_free(s>>>0,1)),mt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_gpugeometry_free(s>>>0,1)),xt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_gpuinstancedgeometry_free(s>>>0,1)),It=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_gpuinstancedgeometrycollection_free(s>>>0,1)),St=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_gpuinstancedgeometryref_free(s>>>0,1)),Pt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_gpumeshmetadata_free(s>>>0,1)),Ot=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_ifcapi_free(s>>>0,1)),At=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_instancedata_free(s>>>0,1)),Ct=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_instancedgeometry_free(s>>>0,1)),Mt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_instancedmeshcollection_free(s>>>0,1)),Lt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_meshcollection_free(s>>>0,1)),Tt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_meshcollectionwithrtc_free(s>>>0,1)),Dt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_meshdatajs_free(s>>>0,1)),Et=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_profilecollection_free(s>>>0,1)),Bt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_profileentryjs_free(s>>>0,1)),Gt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_rtcoffsetjs_free(s>>>0,1)),Wt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_symboliccircle_free(s>>>0,1)),Ut=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_symbolicpolyline_free(s>>>0,1)),Nt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_symbolicrepresentationcollection_free(s>>>0,1)),vt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_zerocopymesh_free(s>>>0,1)),Zt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_wbg_rayon_poolbuilder_free(s>>>0,1));class J{static __wrap(t){t=t>>>0;const e=Object.create(J.prototype);return e.__wbg_ptr=t,kt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,kt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_georeferencejs_free(t,0)}localToMap(t,e,n){try{const p=r.__wbindgen_add_to_stack_pointer(-16);r.georeferencejs_localToMap(p,this.__wbg_ptr,t,e,n);var _=o().getInt32(p+0,!0),i=o().getInt32(p+4,!0),g=z(_,i).slice();return r.__wbindgen_export2(_,i*8,8),g}finally{r.__wbindgen_add_to_stack_pointer(16)}}mapToLocal(t,e,n){try{const p=r.__wbindgen_add_to_stack_pointer(-16);r.georeferencejs_mapToLocal(p,this.__wbg_ptr,t,e,n);var _=o().getInt32(p+0,!0),i=o().getInt32(p+4,!0),g=z(_,i).slice();return r.__wbindgen_export2(_,i*8,8),g}finally{r.__wbindgen_add_to_stack_pointer(16)}}get crsName(){try{const n=r.__wbindgen_add_to_stack_pointer(-16);r.georeferencejs_crsName(n,this.__wbg_ptr);var t=o().getInt32(n+0,!0),e=o().getInt32(n+4,!0);let _;return t!==0&&(_=l(t,e).slice(),r.__wbindgen_export2(t,e*1,1)),_}finally{r.__wbindgen_add_to_stack_pointer(16)}}get rotation(){return r.georeferencejs_rotation(this.__wbg_ptr)}toMatrix(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.georeferencejs_toMatrix(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=z(t,e).slice();return r.__wbindgen_export2(t,e*8,8),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}get eastings(){return r.__wbg_get_georeferencejs_eastings(this.__wbg_ptr)}set eastings(t){r.__wbg_set_georeferencejs_eastings(this.__wbg_ptr,t)}get northings(){return r.__wbg_get_georeferencejs_northings(this.__wbg_ptr)}set northings(t){r.__wbg_set_georeferencejs_northings(this.__wbg_ptr,t)}get orthogonal_height(){return r.__wbg_get_georeferencejs_orthogonal_height(this.__wbg_ptr)}set orthogonal_height(t){r.__wbg_set_georeferencejs_orthogonal_height(this.__wbg_ptr,t)}get x_axis_abscissa(){return r.__wbg_get_georeferencejs_x_axis_abscissa(this.__wbg_ptr)}set x_axis_abscissa(t){r.__wbg_set_georeferencejs_x_axis_abscissa(this.__wbg_ptr,t)}get x_axis_ordinate(){return r.__wbg_get_georeferencejs_x_axis_ordinate(this.__wbg_ptr)}set x_axis_ordinate(t){r.__wbg_set_georeferencejs_x_axis_ordinate(this.__wbg_ptr,t)}get scale(){return r.__wbg_get_georeferencejs_scale(this.__wbg_ptr)}set scale(t){r.__wbg_set_georeferencejs_scale(this.__wbg_ptr,t)}}Symbol.dispose&&(J.prototype[Symbol.dispose]=J.prototype.free);class k{static __wrap(t){t=t>>>0;const e=Object.create(k.prototype);return e.__wbg_ptr=t,mt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,mt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_gpugeometry_free(t,0)}get meshCount(){return r.gpugeometry_meshCount(this.__wbg_ptr)>>>0}get indicesLen(){return r.gpugeometry_indicesLen(this.__wbg_ptr)>>>0}get indicesPtr(){return r.gpugeometry_indicesPtr(this.__wbg_ptr)>>>0}get rtcOffsetX(){return r.gpugeometry_rtcOffsetX(this.__wbg_ptr)}get rtcOffsetY(){return r.gpugeometry_rtcOffsetY(this.__wbg_ptr)}get rtcOffsetZ(){return r.gpugeometry_rtcOffsetZ(this.__wbg_ptr)}get hasRtcOffset(){return r.gpugeometry_hasRtcOffset(this.__wbg_ptr)!==0}set_rtc_offset(t,e,n){r.gpugeometry_set_rtc_offset(this.__wbg_ptr,t,e,n)}get vertexDataLen(){return r.gpugeometry_vertexDataLen(this.__wbg_ptr)>>>0}get vertexDataPtr(){return r.gpugeometry_vertexDataPtr(this.__wbg_ptr)>>>0}getIfcTypeName(t){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.gpugeometry_getIfcTypeName(_,this.__wbg_ptr,t);var e=o().getInt32(_+0,!0),n=o().getInt32(_+4,!0);let i;return e!==0&&(i=l(e,n).slice(),r.__wbindgen_export2(e,n*1,1)),i}finally{r.__wbindgen_add_to_stack_pointer(16)}}getMeshMetadata(t){const e=r.gpugeometry_getMeshMetadata(this.__wbg_ptr,t);return e===0?void 0:$.__wrap(e)}get totalVertexCount(){return r.gpugeometry_totalVertexCount(this.__wbg_ptr)>>>0}get indicesByteLength(){return r.gpugeometry_indicesByteLength(this.__wbg_ptr)>>>0}get totalTriangleCount(){return r.gpugeometry_totalTriangleCount(this.__wbg_ptr)>>>0}get vertexDataByteLength(){return r.gpugeometry_vertexDataByteLength(this.__wbg_ptr)>>>0}constructor(){const t=r.gpugeometry_new();return this.__wbg_ptr=t>>>0,mt.register(this,this.__wbg_ptr,this),this}get isEmpty(){return r.gpugeometry_isEmpty(this.__wbg_ptr)!==0}}Symbol.dispose&&(k.prototype[Symbol.dispose]=k.prototype.free);class H{static __wrap(t){t=t>>>0;const e=Object.create(H.prototype);return e.__wbg_ptr=t,xt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,xt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_gpuinstancedgeometry_free(t,0)}get geometryId(){const t=r.gpuinstancedgeometry_geometryId(this.__wbg_ptr);return BigInt.asUintN(64,t)}get indicesLen(){return r.gpuinstancedgeometry_indicesLen(this.__wbg_ptr)>>>0}get indicesPtr(){return r.gpuinstancedgeometry_indicesPtr(this.__wbg_ptr)>>>0}get vertexCount(){return r.gpuinstancedgeometry_vertexCount(this.__wbg_ptr)>>>0}get instanceCount(){return r.gpuinstancedgeometry_instanceCount(this.__wbg_ptr)>>>0}get triangleCount(){return r.gpuinstancedgeometry_triangleCount(this.__wbg_ptr)>>>0}get vertexDataLen(){return r.gpuinstancedgeometry_vertexDataLen(this.__wbg_ptr)>>>0}get vertexDataPtr(){return r.gpuinstancedgeometry_vertexDataPtr(this.__wbg_ptr)>>>0}get instanceDataLen(){return r.gpuinstancedgeometry_instanceDataLen(this.__wbg_ptr)>>>0}get instanceDataPtr(){return r.gpuinstancedgeometry_instanceDataPtr(this.__wbg_ptr)>>>0}get indicesByteLength(){return r.gpuinstancedgeometry_indicesByteLength(this.__wbg_ptr)>>>0}get vertexDataByteLength(){return r.gpuinstancedgeometry_vertexDataByteLength(this.__wbg_ptr)>>>0}get instanceExpressIdsPtr(){return r.gpuinstancedgeometry_instanceExpressIdsPtr(this.__wbg_ptr)>>>0}get instanceDataByteLength(){return r.gpuinstancedgeometry_instanceDataByteLength(this.__wbg_ptr)>>>0}constructor(t){const e=r.gpuinstancedgeometry_new(t);return this.__wbg_ptr=e>>>0,xt.register(this,this.__wbg_ptr,this),this}}Symbol.dispose&&(H.prototype[Symbol.dispose]=H.prototype.free);class K{static __wrap(t){t=t>>>0;const e=Object.create(K.prototype);return e.__wbg_ptr=t,It.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,It.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_gpuinstancedgeometrycollection_free(t,0)}get(t){const e=r.gpuinstancedgeometrycollection_get(this.__wbg_ptr,t);return e===0?void 0:H.__wrap(e)}constructor(){const t=r.gpuinstancedgeometrycollection_new();return this.__wbg_ptr=t>>>0,It.register(this,this.__wbg_ptr,this),this}get length(){return r.gpuinstancedgeometrycollection_length(this.__wbg_ptr)>>>0}getRef(t){const e=r.gpuinstancedgeometrycollection_get(this.__wbg_ptr,t);return e===0?void 0:Q.__wrap(e)}}Symbol.dispose&&(K.prototype[Symbol.dispose]=K.prototype.free);class Q{static __wrap(t){t=t>>>0;const e=Object.create(Q.prototype);return e.__wbg_ptr=t,St.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,St.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_gpuinstancedgeometryref_free(t,0)}get geometryId(){const t=r.gpuinstancedgeometry_geometryId(this.__wbg_ptr);return BigInt.asUintN(64,t)}get indicesLen(){return r.gpuinstancedgeometry_indicesLen(this.__wbg_ptr)>>>0}get indicesPtr(){return r.gpuinstancedgeometry_indicesPtr(this.__wbg_ptr)>>>0}get instanceCount(){return r.gpuinstancedgeometry_instanceCount(this.__wbg_ptr)>>>0}get vertexDataLen(){return r.gpuinstancedgeometry_vertexDataLen(this.__wbg_ptr)>>>0}get vertexDataPtr(){return r.gpuinstancedgeometry_vertexDataPtr(this.__wbg_ptr)>>>0}get instanceDataLen(){return r.gpuinstancedgeometry_instanceDataLen(this.__wbg_ptr)>>>0}get instanceDataPtr(){return r.gpuinstancedgeometry_instanceDataPtr(this.__wbg_ptr)>>>0}get indicesByteLength(){return r.gpuinstancedgeometry_indicesByteLength(this.__wbg_ptr)>>>0}get vertexDataByteLength(){return r.gpuinstancedgeometry_vertexDataByteLength(this.__wbg_ptr)>>>0}get instanceExpressIdsPtr(){return r.gpuinstancedgeometry_instanceExpressIdsPtr(this.__wbg_ptr)>>>0}get instanceDataByteLength(){return r.gpuinstancedgeometry_instanceDataByteLength(this.__wbg_ptr)>>>0}}Symbol.dispose&&(Q.prototype[Symbol.dispose]=Q.prototype.free);class ${static __wrap(t){t=t>>>0;const e=Object.create($.prototype);return e.__wbg_ptr=t,Pt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Pt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_gpumeshmetadata_free(t,0)}get expressId(){return r.gpumeshmetadata_expressId(this.__wbg_ptr)>>>0}get indexCount(){return r.gpumeshmetadata_indexCount(this.__wbg_ptr)>>>0}get ifcTypeIdx(){return r.gpumeshmetadata_ifcTypeIdx(this.__wbg_ptr)}get indexOffset(){return r.gpumeshmetadata_indexOffset(this.__wbg_ptr)>>>0}get vertexCount(){return r.gpumeshmetadata_vertexCount(this.__wbg_ptr)>>>0}get vertexOffset(){return r.gpumeshmetadata_vertexOffset(this.__wbg_ptr)>>>0}get color(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.gpumeshmetadata_color(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=j(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}}Symbol.dispose&&($.prototype[Symbol.dispose]=$.prototype.free);class Vt{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Ot.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_ifcapi_free(t,0)}parseMeshes(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseMeshes(this.__wbg_ptr,e,n);return x.__wrap(_)}parseMeshesAsync(t,e){const n=d(t,r.__wbindgen_export3,r.__wbindgen_export4),_=a,i=r.ifcapi_parseMeshesAsync(this.__wbg_ptr,n,_,b(e));return w(i)}buildPrePassFast(t){const e=h(t,r.__wbindgen_export3),n=a,_=r.ifcapi_buildPrePassFast(this.__wbg_ptr,e,n);return w(_)}buildPrePassOnce(t){const e=h(t,r.__wbindgen_export3),n=a,_=r.ifcapi_buildPrePassOnce(this.__wbg_ptr,e,n);return w(_)}parseMeshesSubset(t,e,n,_){const i=d(t,r.__wbindgen_export3,r.__wbindgen_export4),g=a,p=r.ifcapi_parseMeshesSubset(this.__wbg_ptr,i,g,e,n,_);return x.__wrap(p)}parseToGpuGeometry(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseToGpuGeometry(this.__wbg_ptr,e,n);return k.__wrap(_)}parseMeshesInstanced(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseMeshesInstanced(this.__wbg_ptr,e,n);return P.__wrap(_)}processGeometryBatch(t,e,n,_,i,g,p,u,y,I,O,A){const C=h(t,r.__wbindgen_export3),M=a,L=f(e,r.__wbindgen_export3),T=a,D=f(u,r.__wbindgen_export3),E=a,at=f(y,r.__wbindgen_export3),pt=a,bt=f(I,r.__wbindgen_export3),wt=a,ut=f(O,r.__wbindgen_export3),dt=a,lt=h(A,r.__wbindgen_export3),ft=a,yt=r.ifcapi_processGeometryBatch(this.__wbg_ptr,C,M,L,T,n,_,i,g,p,D,E,at,pt,bt,wt,ut,dt,lt,ft);return x.__wrap(yt)}scanEntityIndexShard(t,e,n,_){try{const u=r.__wbindgen_add_to_stack_pointer(-16),y=h(t,r.__wbindgen_export3),I=a;r.ifcapi_scanEntityIndexShard(u,this.__wbg_ptr,y,I,jt(e),n,_);var i=o().getInt32(u+0,!0),g=o().getInt32(u+4,!0),p=o().getInt32(u+8,!0);if(p)throw w(g);return w(i)}finally{r.__wbindgen_add_to_stack_pointer(16),m[Y++]=void 0}}buildPrePassStreaming(t,e,n){try{const p=r.__wbindgen_add_to_stack_pointer(-16),u=h(t,r.__wbindgen_export3),y=a;r.ifcapi_buildPrePassStreaming(p,this.__wbg_ptr,u,y,jt(e),n);var _=o().getInt32(p+0,!0),i=o().getInt32(p+4,!0),g=o().getInt32(p+8,!0);if(g)throw w(i);return w(_)}finally{r.__wbindgen_add_to_stack_pointer(16),m[Y++]=void 0}}parseToGpuGeometryAsync(t,e){const n=d(t,r.__wbindgen_export3,r.__wbindgen_export4),_=a,i=r.ifcapi_parseToGpuGeometryAsync(this.__wbg_ptr,n,_,b(e));return w(i)}parseMeshesInstancedAsync(t,e){const n=d(t,r.__wbindgen_export3,r.__wbindgen_export4),_=a,i=r.ifcapi_parseMeshesInstancedAsync(this.__wbg_ptr,n,_,b(e));return w(i)}benchmarkPureCpuParallelism(t){try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.ifcapi_benchmarkPureCpuParallelism(i,this.__wbg_ptr,t);var e=o().getInt32(i+0,!0),n=o().getInt32(i+4,!0),_=z(e,n).slice();return r.__wbindgen_export2(e,n*8,8),_}finally{r.__wbindgen_add_to_stack_pointer(16)}}parseToGpuInstancedGeometry(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseToGpuInstancedGeometry(this.__wbg_ptr,e,n);return K.__wrap(_)}processGeometryBatchParallel(t,e,n,_,i,g,p,u,y,I,O,A){const C=h(t,r.__wbindgen_export3),M=a,L=f(e,r.__wbindgen_export3),T=a,D=f(u,r.__wbindgen_export3),E=a,at=f(y,r.__wbindgen_export3),pt=a,bt=f(I,r.__wbindgen_export3),wt=a,ut=f(O,r.__wbindgen_export3),dt=a,lt=h(A,r.__wbindgen_export3),ft=a,yt=r.ifcapi_processGeometryBatchParallel(this.__wbg_ptr,C,M,L,T,n,_,i,g,p,D,E,at,pt,bt,wt,ut,dt,lt,ft);return x.__wrap(yt)}processInstancedGeometryBatch(t,e,n,_,i,g,p,u,y){const I=h(t,r.__wbindgen_export3),O=a,A=f(e,r.__wbindgen_export3),C=a,M=f(u,r.__wbindgen_export3),L=a,T=h(y,r.__wbindgen_export3),D=a,E=r.ifcapi_processInstancedGeometryBatch(this.__wbg_ptr,I,O,A,C,n,_,i,g,p,M,L,T,D);return P.__wrap(E)}parseZeroCopy(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseZeroCopy(this.__wbg_ptr,e,n);return ct.__wrap(_)}extractProfiles(t,e){const n=d(t,r.__wbindgen_export3,r.__wbindgen_export4),_=a,i=r.ifcapi_extractProfiles(this.__wbg_ptr,n,_,e);return rt.__wrap(i)}debugProcessEntity953(t){let e,n;try{const g=r.__wbindgen_add_to_stack_pointer(-16),p=d(t,r.__wbindgen_export3,r.__wbindgen_export4),u=a;r.ifcapi_debugProcessEntity953(g,this.__wbg_ptr,p,u);var _=o().getInt32(g+0,!0),i=o().getInt32(g+4,!0);return e=_,n=i,l(_,i)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(e,n,1)}}debugProcessFirstWall(t){let e,n;try{const g=r.__wbindgen_add_to_stack_pointer(-16),p=d(t,r.__wbindgen_export3,r.__wbindgen_export4),u=a;r.ifcapi_debugProcessFirstWall(g,this.__wbg_ptr,p,u);var _=o().getInt32(g+0,!0),i=o().getInt32(g+4,!0);return e=_,n=i,l(_,i)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(e,n,1)}}getMemory(){const t=r.ifcapi_getMemory(this.__wbg_ptr);return w(t)}setEntityIndex(t,e,n){const _=f(t,r.__wbindgen_export3),i=a,g=f(e,r.__wbindgen_export3),p=a,u=f(n,r.__wbindgen_export3),y=a;r.ifcapi_setEntityIndex(this.__wbg_ptr,_,i,g,p,u,y)}setMergeLayers(t){r.ifcapi_setMergeLayers(this.__wbg_ptr,t)}clearPrePassCache(){r.ifcapi_clearPrePassCache(this.__wbg_ptr)}constructor(){const t=r.ifcapi_new();return this.__wbg_ptr=t>>>0,Ot.register(this,this.__wbg_ptr,this),this}get version(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.ifcapi_version(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,l(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get is_ready(){return r.ifcapi_is_ready(this.__wbg_ptr)!==0}getGeoReference(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_getGeoReference(this.__wbg_ptr,e,n);return _===0?void 0:J.__wrap(_)}parseMeshesWithRtc(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseMeshesWithRtc(this.__wbg_ptr,e,n);return et.__wrap(_)}parseStreaming(t,e){const n=d(t,r.__wbindgen_export3,r.__wbindgen_export4),_=a,i=r.ifcapi_parseStreaming(this.__wbg_ptr,n,_,b(e));return w(i)}scanEntitiesFast(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_scanEntitiesFast(this.__wbg_ptr,e,n);return w(_)}scanEntitiesFastBytes(t){const e=h(t,r.__wbindgen_export3),n=a,_=r.ifcapi_scanEntitiesFastBytes(this.__wbg_ptr,e,n);return w(_)}scanGeometryEntitiesFast(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_scanGeometryEntitiesFast(this.__wbg_ptr,e,n);return w(_)}scanRelevantEntitiesFastBytes(t){const e=h(t,r.__wbindgen_export3),n=a,_=r.ifcapi_scanRelevantEntitiesFastBytes(this.__wbg_ptr,e,n);return w(_)}parse(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parse(this.__wbg_ptr,e,n);return w(_)}parseSymbolicRepresentations(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseSymbolicRepresentations(this.__wbg_ptr,e,n);return ot.__wrap(_)}}Symbol.dispose&&(Vt.prototype[Symbol.dispose]=Vt.prototype.free);class tt{static __wrap(t){t=t>>>0;const e=Object.create(tt.prototype);return e.__wbg_ptr=t,At.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,At.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_instancedata_free(t,0)}get expressId(){return r.instancedata_expressId(this.__wbg_ptr)>>>0}get color(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.instancedata_color(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=j(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}get transform(){const t=r.instancedata_transform(this.__wbg_ptr);return w(t)}}Symbol.dispose&&(tt.prototype[Symbol.dispose]=tt.prototype.free);class S{static __wrap(t){t=t>>>0;const e=Object.create(S.prototype);return e.__wbg_ptr=t,Ct.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Ct.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_instancedgeometry_free(t,0)}get geometryId(){const t=r.gpuinstancedgeometry_geometryId(this.__wbg_ptr);return BigInt.asUintN(64,t)}get_instance(t){const e=r.instancedgeometry_get_instance(this.__wbg_ptr,t);return e===0?void 0:tt.__wrap(e)}get instance_count(){return r.instancedgeometry_instance_count(this.__wbg_ptr)>>>0}get indices(){const t=r.instancedgeometry_indices(this.__wbg_ptr);return w(t)}get normals(){const t=r.instancedgeometry_normals(this.__wbg_ptr);return w(t)}get positions(){const t=r.instancedgeometry_positions(this.__wbg_ptr);return w(t)}}Symbol.dispose&&(S.prototype[Symbol.dispose]=S.prototype.free);class P{static __wrap(t){t=t>>>0;const e=Object.create(P.prototype);return e.__wbg_ptr=t,Mt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Mt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_instancedmeshcollection_free(t,0)}get totalInstances(){return r.instancedmeshcollection_totalInstances(this.__wbg_ptr)>>>0}get totalGeometries(){return r.gpuinstancedgeometrycollection_length(this.__wbg_ptr)>>>0}get(t){const e=r.instancedmeshcollection_get(this.__wbg_ptr,t);return e===0?void 0:S.__wrap(e)}get length(){return r.gpuinstancedgeometrycollection_length(this.__wbg_ptr)>>>0}}Symbol.dispose&&(P.prototype[Symbol.dispose]=P.prototype.free);class x{static __wrap(t){t=t>>>0;const e=Object.create(x.prototype);return e.__wbg_ptr=t,Lt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Lt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_meshcollection_free(t,0)}get rtcOffsetX(){return r.gpugeometry_rtcOffsetZ(this.__wbg_ptr)}get rtcOffsetY(){return r.meshcollection_rtcOffsetY(this.__wbg_ptr)}get rtcOffsetZ(){return r.meshcollection_rtcOffsetZ(this.__wbg_ptr)}hasRtcOffset(){return r.meshcollection_hasRtcOffset(this.__wbg_ptr)!==0}localToWorld(t,e,n){try{const p=r.__wbindgen_add_to_stack_pointer(-16);r.meshcollection_localToWorld(p,this.__wbg_ptr,t,e,n);var _=o().getInt32(p+0,!0),i=o().getInt32(p+4,!0),g=z(_,i).slice();return r.__wbindgen_export2(_,i*8,8),g}finally{r.__wbindgen_add_to_stack_pointer(16)}}get totalVertices(){return r.meshcollection_totalVertices(this.__wbg_ptr)>>>0}get totalTriangles(){return r.meshcollection_totalTriangles(this.__wbg_ptr)>>>0}get buildingRotation(){try{const n=r.__wbindgen_add_to_stack_pointer(-16);r.meshcollection_buildingRotation(n,this.__wbg_ptr);var t=o().getInt32(n+0,!0),e=o().getFloat64(n+8,!0);return t===0?void 0:e}finally{r.__wbindgen_add_to_stack_pointer(16)}}get(t){const e=r.meshcollection_get(this.__wbg_ptr,t);return e===0?void 0:F.__wrap(e)}get length(){return r.meshcollection_length(this.__wbg_ptr)>>>0}}Symbol.dispose&&(x.prototype[Symbol.dispose]=x.prototype.free);class et{static __wrap(t){t=t>>>0;const e=Object.create(et.prototype);return e.__wbg_ptr=t,Tt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Tt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_meshcollectionwithrtc_free(t,0)}get rtcOffset(){const t=r.meshcollectionwithrtc_rtcOffset(this.__wbg_ptr);return _t.__wrap(t)}get(t){const e=r.meshcollectionwithrtc_get(this.__wbg_ptr,t);return e===0?void 0:F.__wrap(e)}get length(){return r.meshcollection_length(this.__wbg_ptr)>>>0}get meshes(){const t=r.meshcollectionwithrtc_meshes(this.__wbg_ptr);return x.__wrap(t)}}Symbol.dispose&&(et.prototype[Symbol.dispose]=et.prototype.free);class F{static __wrap(t){t=t>>>0;const e=Object.create(F.prototype);return e.__wbg_ptr=t,Dt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Dt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_meshdatajs_free(t,0)}get expressId(){return r.meshdatajs_expressId(this.__wbg_ptr)>>>0}get vertexCount(){return r.meshdatajs_vertexCount(this.__wbg_ptr)>>>0}get triangleCount(){return r.meshdatajs_triangleCount(this.__wbg_ptr)>>>0}get color(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.meshdatajs_color(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=j(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}get indices(){const t=r.meshdatajs_indices(this.__wbg_ptr);return w(t)}get normals(){const t=r.meshdatajs_normals(this.__wbg_ptr);return w(t)}get ifcType(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.meshdatajs_ifcType(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,l(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get positions(){const t=r.meshdatajs_positions(this.__wbg_ptr);return w(t)}}Symbol.dispose&&(F.prototype[Symbol.dispose]=F.prototype.free);class rt{static __wrap(t){t=t>>>0;const e=Object.create(rt.prototype);return e.__wbg_ptr=t,Et.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Et.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_profilecollection_free(t,0)}get(t){const e=r.profilecollection_get(this.__wbg_ptr,t);return e===0?void 0:nt.__wrap(e)}get length(){return r.profilecollection_length(this.__wbg_ptr)>>>0}}Symbol.dispose&&(rt.prototype[Symbol.dispose]=rt.prototype.free);class nt{static __wrap(t){t=t>>>0;const e=Object.create(nt.prototype);return e.__wbg_ptr=t,Bt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Bt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_profileentryjs_free(t,0)}get expressId(){return r.meshdatajs_expressId(this.__wbg_ptr)>>>0}get holeCounts(){const t=r.profileentryjs_holeCounts(this.__wbg_ptr);return w(t)}get holePoints(){const t=r.profileentryjs_holePoints(this.__wbg_ptr);return w(t)}get modelIndex(){return r.profileentryjs_modelIndex(this.__wbg_ptr)>>>0}get outerPoints(){const t=r.profileentryjs_outerPoints(this.__wbg_ptr);return w(t)}get extrusionDir(){const t=r.profileentryjs_extrusionDir(this.__wbg_ptr);return w(t)}get extrusionDepth(){return r.profileentryjs_extrusionDepth(this.__wbg_ptr)}get ifcType(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.profileentryjs_ifcType(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,l(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get transform(){const t=r.profileentryjs_transform(this.__wbg_ptr);return w(t)}}Symbol.dispose&&(nt.prototype[Symbol.dispose]=nt.prototype.free);class _t{static __wrap(t){t=t>>>0;const e=Object.create(_t.prototype);return e.__wbg_ptr=t,Gt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Gt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_rtcoffsetjs_free(t,0)}isSignificant(){return r.rtcoffsetjs_isSignificant(this.__wbg_ptr)!==0}toWorld(t,e,n){try{const p=r.__wbindgen_add_to_stack_pointer(-16);r.rtcoffsetjs_toWorld(p,this.__wbg_ptr,t,e,n);var _=o().getInt32(p+0,!0),i=o().getInt32(p+4,!0),g=z(_,i).slice();return r.__wbindgen_export2(_,i*8,8),g}finally{r.__wbindgen_add_to_stack_pointer(16)}}get x(){return r.__wbg_get_georeferencejs_eastings(this.__wbg_ptr)}set x(t){r.__wbg_set_georeferencejs_eastings(this.__wbg_ptr,t)}get y(){return r.__wbg_get_georeferencejs_northings(this.__wbg_ptr)}set y(t){r.__wbg_set_georeferencejs_northings(this.__wbg_ptr,t)}get z(){return r.__wbg_get_georeferencejs_orthogonal_height(this.__wbg_ptr)}set z(t){r.__wbg_set_georeferencejs_orthogonal_height(this.__wbg_ptr,t)}}Symbol.dispose&&(_t.prototype[Symbol.dispose]=_t.prototype.free);class st{static __wrap(t){t=t>>>0;const e=Object.create(st.prototype);return e.__wbg_ptr=t,Wt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Wt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_symboliccircle_free(t,0)}get expressId(){return r.gpumeshmetadata_vertexCount(this.__wbg_ptr)>>>0}get startAngle(){return r.symboliccircle_startAngle(this.__wbg_ptr)}get isFullCircle(){return r.symboliccircle_isFullCircle(this.__wbg_ptr)!==0}get repIdentifier(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symboliccircle_repIdentifier(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,l(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get radius(){return r.symboliccircle_radius(this.__wbg_ptr)}get centerX(){return r.symboliccircle_centerX(this.__wbg_ptr)}get centerY(){return r.symboliccircle_centerY(this.__wbg_ptr)}get ifcType(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symboliccircle_ifcType(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,l(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get endAngle(){return r.symboliccircle_endAngle(this.__wbg_ptr)}}Symbol.dispose&&(st.prototype[Symbol.dispose]=st.prototype.free);class it{static __wrap(t){t=t>>>0;const e=Object.create(it.prototype);return e.__wbg_ptr=t,Ut.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Ut.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_symbolicpolyline_free(t,0)}get expressId(){return r.symbolicpolyline_expressId(this.__wbg_ptr)>>>0}get pointCount(){return r.symbolicpolyline_pointCount(this.__wbg_ptr)>>>0}get repIdentifier(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symbolicpolyline_repIdentifier(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,l(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get points(){const t=r.symbolicpolyline_points(this.__wbg_ptr);return w(t)}get ifcType(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symbolicpolyline_ifcType(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,l(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get isClosed(){return r.symbolicpolyline_isClosed(this.__wbg_ptr)!==0}}Symbol.dispose&&(it.prototype[Symbol.dispose]=it.prototype.free);class ot{static __wrap(t){t=t>>>0;const e=Object.create(ot.prototype);return e.__wbg_ptr=t,Nt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Nt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_symbolicrepresentationcollection_free(t,0)}getCircle(t){const e=r.symbolicrepresentationcollection_getCircle(this.__wbg_ptr,t);return e===0?void 0:st.__wrap(e)}get totalCount(){return r.symbolicrepresentationcollection_totalCount(this.__wbg_ptr)>>>0}get circleCount(){return r.symbolicrepresentationcollection_circleCount(this.__wbg_ptr)>>>0}getPolyline(t){const e=r.symbolicrepresentationcollection_getPolyline(this.__wbg_ptr,t);return e===0?void 0:it.__wrap(e)}get polylineCount(){return r.symbolicrepresentationcollection_polylineCount(this.__wbg_ptr)>>>0}getExpressIds(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.symbolicrepresentationcollection_getExpressIds(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=Yt(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}get isEmpty(){return r.symbolicrepresentationcollection_isEmpty(this.__wbg_ptr)!==0}}Symbol.dispose&&(ot.prototype[Symbol.dispose]=ot.prototype.free);class ct{static __wrap(t){t=t>>>0;const e=Object.create(ct.prototype);return e.__wbg_ptr=t,vt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,vt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_zerocopymesh_free(t,0)}bounds_max(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.zerocopymesh_bounds_max(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=j(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}bounds_min(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.zerocopymesh_bounds_min(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=j(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}get indices_len(){return r.gpuinstancedgeometry_indicesLen(this.__wbg_ptr)>>>0}get indices_ptr(){return r.gpuinstancedgeometry_indicesPtr(this.__wbg_ptr)>>>0}get normals_len(){return r.zerocopymesh_normals_len(this.__wbg_ptr)>>>0}get normals_ptr(){return r.gpuinstancedgeometry_vertexDataPtr(this.__wbg_ptr)>>>0}get vertex_count(){return r.zerocopymesh_vertex_count(this.__wbg_ptr)>>>0}get positions_len(){return r.zerocopymesh_positions_len(this.__wbg_ptr)>>>0}get positions_ptr(){return r.zerocopymesh_positions_ptr(this.__wbg_ptr)>>>0}get triangle_count(){return r.gpuinstancedgeometry_triangleCount(this.__wbg_ptr)>>>0}constructor(){const t=r.zerocopymesh_new();return this.__wbg_ptr=t>>>0,vt.register(this,this.__wbg_ptr,this),this}get is_empty(){return r.zerocopymesh_is_empty(this.__wbg_ptr)!==0}}Symbol.dispose&&(ct.prototype[Symbol.dispose]=ct.prototype.free);function oe(){const s=r.get_memory();return w(s)}function ce(){r.init()}function ge(s){const t=r.initThreadPool(s);return w(t)}function ae(){let s,t;try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.version(_);var e=o().getInt32(_+0,!0),n=o().getInt32(_+4,!0);return s=e,t=n,l(e,n)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(s,t,1)}}class gt{static __wrap(t){t=t>>>0;const e=Object.create(gt.prototype);return e.__wbg_ptr=t,Zt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Zt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_wbg_rayon_poolbuilder_free(t,0)}numThreads(){return r.wbg_rayon_poolbuilder_numThreads(this.__wbg_ptr)>>>0}build(){r.wbg_rayon_poolbuilder_build(this.__wbg_ptr)}receiver(){return r.wbg_rayon_poolbuilder_receiver(this.__wbg_ptr)>>>0}}Symbol.dispose&&(gt.prototype[Symbol.dispose]=gt.prototype.free);function pe(s){r.wbg_rayon_start_worker(s)}const _e=new Set(["basic","cors","default"]);async function se(s,t){if(typeof Response=="function"&&s instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(s,t)}catch(n){if(s.ok&&_e.has(s.type)&&s.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",n);else throw n}const e=await s.arrayBuffer();return await WebAssembly.instantiate(e,t)}else{const e=await WebAssembly.instantiate(s,t);return e instanceof WebAssembly.Instance?{instance:e,module:s}:e}}function qt(s){const t={};return t.wbg={},t.wbg.__wbg_Error_52673b7de5a0ca89=function(e,n){const _=Error(l(e,n));return b(_)},t.wbg.__wbg___wbindgen_is_function_8d400b8b1af978cd=function(e){return typeof c(e)=="function"},t.wbg.__wbg___wbindgen_is_undefined_f6b95eab589e0269=function(e){return c(e)===void 0},t.wbg.__wbg___wbindgen_memory_a342e963fbcabd68=function(){const e=r.memory;return b(e)},t.wbg.__wbg___wbindgen_module_967adef62ea6cbf8=function(){const e=Ht.__wbindgen_wasm_module;return b(e)},t.wbg.__wbg___wbindgen_number_get_9619185a74197f95=function(e,n){const _=c(n),i=typeof _=="number"?_:void 0;o().setFloat64(e+8,R(i)?0:i,!0),o().setInt32(e+0,!R(i),!0)},t.wbg.__wbg___wbindgen_rethrow_78714972834ecdf1=function(e){throw w(e)},t.wbg.__wbg___wbindgen_throw_dd24417ed36fc46e=function(e,n){throw new Error(l(e,n))},t.wbg.__wbg__wbg_cb_unref_87dfb5aaa0cbcea7=function(e){c(e)._wbg_cb_unref()},t.wbg.__wbg_async_bba5a2ac54b734df=function(e){return c(e).async},t.wbg.__wbg_buffer_063cd102cc769a1c=function(e){const n=c(e).buffer;return b(n)},t.wbg.__wbg_call_3020136f7a2d6e44=function(){return v(function(e,n,_){const i=c(e).call(c(n),c(_));return b(i)},arguments)},t.wbg.__wbg_call_abb4ff46ce38be40=function(){return v(function(e,n){const _=c(e).call(c(n));return b(_)},arguments)},t.wbg.__wbg_call_c8baa5c5e72d274e=function(){return v(function(e,n,_,i){const g=c(e).call(c(n),c(_),c(i));return b(g)},arguments)},t.wbg.__wbg_data_8bf4ae669a78a688=function(e){const n=c(e).data;return b(n)},t.wbg.__wbg_debug_9d0c87ddda3dc485=function(e){console.debug(c(e))},t.wbg.__wbg_error_7534b8e9a36f1ab4=function(e,n){let _,i;try{_=e,i=n,console.error(l(e,n))}finally{r.__wbindgen_export2(_,i,1)}},t.wbg.__wbg_get_af9dab7e9603ea93=function(){return v(function(e,n){const _=Reflect.get(c(e),c(n));return b(_)},arguments)},t.wbg.__wbg_gpugeometry_new=function(e){const n=k.__wrap(e);return b(n)},t.wbg.__wbg_info_ce6bcc489c22f6f0=function(e){console.info(c(e))},t.wbg.__wbg_instancedgeometry_new=function(e){const n=S.__wrap(e);return b(n)},t.wbg.__wbg_instanceof_Window_b5cf7783caa68180=function(e){let n;try{n=c(e)instanceof Window}catch{n=!1}return n},t.wbg.__wbg_length_86ce4877baf913bb=function(e){return c(e).length},t.wbg.__wbg_length_d45040a40c570362=function(e){return c(e).length},t.wbg.__wbg_log_1d990106d99dacb7=function(e){console.log(c(e))},t.wbg.__wbg_meshdatajs_new=function(e){const n=F.__wrap(e);return b(n)},t.wbg.__wbg_new_1ba21ce319a06297=function(){const e=new Object;return b(e)},t.wbg.__wbg_new_25f239778d6112b9=function(){const e=new Array;return b(e)},t.wbg.__wbg_new_53cb1e86c1ef5d2a=function(){return v(function(e,n){const _=new Worker(l(e,n));return b(_)},arguments)},t.wbg.__wbg_new_8a6f238a6ece86ea=function(){const e=new Error;return b(e)},t.wbg.__wbg_new_de1e660b88fc921f=function(e){const n=new Int32Array(c(e));return b(n)},t.wbg.__wbg_new_ff12d2b041fb48f1=function(e,n){try{var _={a:e,b:n},i=(p,u)=>{const y=_.a;_.a=0;try{return ne(y,_.b,p,u)}finally{_.a=y}};const g=new Promise(i);return b(g)}finally{_.a=_.b=0}},t.wbg.__wbg_new_from_slice_41e2764a343e3cb1=function(e,n){const _=new Float32Array(j(e,n));return b(_)},t.wbg.__wbg_new_from_slice_db0691b69e9d3891=function(e,n){const _=new Uint32Array(Yt(e,n));return b(_)},t.wbg.__wbg_new_no_args_cb138f77cf6151ee=function(e,n){const _=new Function(l(e,n));return b(_)},t.wbg.__wbg_new_with_length_202b3db94ba5fc86=function(e){const n=new Uint32Array(e>>>0);return b(n)},t.wbg.__wbg_new_with_length_806b9e5b8290af7c=function(e){const n=new Float64Array(e>>>0);return b(n)},t.wbg.__wbg_new_with_length_aa5eaf41d35235e5=function(e){const n=new Uint8Array(e>>>0);return b(n)},t.wbg.__wbg_now_69d776cd24f5215b=function(){return Date.now()},t.wbg.__wbg_of_7779827fa663eec8=function(e,n,_){const i=Array.of(c(e),c(n),c(_));return b(i)},t.wbg.__wbg_postMessage_07504dbe15265d5c=function(){return v(function(e,n){c(e).postMessage(c(n))},arguments)},t.wbg.__wbg_prototypesetcall_96cc7097487b926d=function(e,n,_){Float32Array.prototype.set.call(j(e,n),c(_))},t.wbg.__wbg_push_7d9be8f38fc13975=function(e,n){return c(e).push(c(n))},t.wbg.__wbg_queueMicrotask_9b549dfce8865860=function(e){const n=c(e).queueMicrotask;return b(n)},t.wbg.__wbg_queueMicrotask_fca69f5bfad613a5=function(e){queueMicrotask(c(e))},t.wbg.__wbg_resolve_fd5bfbaa4ce36e1e=function(e){const n=Promise.resolve(c(e));return b(n)},t.wbg.__wbg_set_3f1d0b984ed272ed=function(e,n,_){c(e)[w(n)]=w(_)},t.wbg.__wbg_set_781438a03c0c3c81=function(){return v(function(e,n,_){return Reflect.set(c(e),c(n),c(_))},arguments)},t.wbg.__wbg_set_7df433eea03a5c14=function(e,n,_){c(e)[n>>>0]=w(_)},t.wbg.__wbg_set_index_021489b2916af13e=function(e,n,_){c(e)[n>>>0]=_},t.wbg.__wbg_set_index_04c4b93e64d08a52=function(e,n,_){c(e)[n>>>0]=_},t.wbg.__wbg_set_index_42abe35f117e614e=function(e,n,_){c(e)[n>>>0]=_>>>0},t.wbg.__wbg_set_onmessage_deb94985de696ac7=function(e,n){c(e).onmessage=c(n)},t.wbg.__wbg_stack_0ed75d68575b0f3c=function(e,n){const _=c(n).stack,i=d(_,r.__wbindgen_export3,r.__wbindgen_export4),g=a;o().setInt32(e+4,g,!0),o().setInt32(e+0,i,!0)},t.wbg.__wbg_startWorkers_2ca11761e08ff5d5=function(e,n,_){const i=Kt(w(e),w(n),gt.__wrap(_));return b(i)},t.wbg.__wbg_static_accessor_GLOBAL_769e6b65d6557335=function(){const e=typeof global>"u"?null:global;return R(e)?0:b(e)},t.wbg.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1=function(){const e=typeof globalThis>"u"?null:globalThis;return R(e)?0:b(e)},t.wbg.__wbg_static_accessor_SELF_08f5a74c69739274=function(){const e=typeof self>"u"?null:self;return R(e)?0:b(e)},t.wbg.__wbg_static_accessor_WINDOW_a8924b26aa92d024=function(){const e=typeof window>"u"?null:window;return R(e)?0:b(e)},t.wbg.__wbg_then_4f95312d68691235=function(e,n){const _=c(e).then(c(n));return b(_)},t.wbg.__wbg_value_4cd497eeadba94bd=function(e){const n=c(e).value;return b(n)},t.wbg.__wbg_waitAsync_8afec80ffd213eca=function(e,n,_){const i=Atomics.waitAsync(c(e),n>>>0,_);return b(i)},t.wbg.__wbg_waitAsync_c186cb97ffacd552=function(){const e=Atomics.waitAsync;return b(e)},t.wbg.__wbg_warn_6e567d0d926ff881=function(e){console.warn(c(e))},t.wbg.__wbindgen_cast_2241b6af4c4b2941=function(e,n){const _=l(e,n);return b(_)},t.wbg.__wbindgen_cast_4625c577ab2ec9ee=function(e){const n=BigInt.asUintN(64,e);return b(n)},t.wbg.__wbindgen_cast_4dd9d91cc07f498f=function(e,n){const _=Rt(e,n,r.__wasm_bindgen_func_elem_1389,zt);return b(_)},t.wbg.__wbindgen_cast_d4e72ce7b74d162f=function(e,n){const _=Rt(e,n,r.__wasm_bindgen_func_elem_1389,zt);return b(_)},t.wbg.__wbindgen_cast_d6cd19b81560fd6e=function(e){return b(e)},t.wbg.__wbindgen_link_203404ece0e9bab9=function(e){const n=`onmessage = function (ev) {
1
+ import{s as Qt}from"./workerHelpers--sAYm9yN.js";let r;function b(s){X===m.length&&m.push(m.length+1);const t=X;return X=m[t],m[t]=s,t}function jt(s){if(Y==1)throw new Error("out of js stack");return m[--Y]=s,Y}const Ft=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>s.dtor(s.a,s.b));function Kt(s){s<132||(m[s]=X,X=s)}function I(s,t){return s=s>>>0,$t().subarray(s/4,s/4+t)}function z(s,t){return s=s>>>0,te().subarray(s/8,s/8+t)}function Yt(s,t){return s=s>>>0,Zt().subarray(s/4,s/4+t)}let B=null;function o(){return(B===null||B.buffer!==r.memory.buffer)&&(B=new DataView(r.memory.buffer)),B}let G=null;function $t(){return(G===null||G.buffer!==r.memory.buffer)&&(G=new Float32Array(r.memory.buffer)),G}let W=null;function te(){return(W===null||W.buffer!==r.memory.buffer)&&(W=new Float64Array(r.memory.buffer)),W}function l(s,t){return s=s>>>0,re(s,t)}let U=null;function Zt(){return(U===null||U.buffer!==r.memory.buffer)&&(U=new Uint32Array(r.memory.buffer)),U}let N=null;function V(){return(N===null||N.buffer!==r.memory.buffer)&&(N=new Uint8Array(r.memory.buffer)),N}function c(s){return m[s]}function j(s,t){try{return s.apply(this,t)}catch(e){r.__wbindgen_export(b(e))}}let m=new Array(128).fill(void 0);m.push(void 0,null,!0,!1);let X=m.length;function R(s){return s==null}function Rt(s,t,e,n){const _={a:s,b:t,cnt:1,dtor:e},i=(...g)=>{_.cnt++;const p=_.a;_.a=0;try{return n(p,_.b,...g)}finally{_.a=p,i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--_.cnt===0&&(_.dtor(_.a,_.b),_.a=0,Ft.unregister(_))},Ft.register(i,_,_),i}function f(s,t){const e=t(s.length*4,4)>>>0;return Zt().set(s,e/4),a=s.length,e}function h(s,t){const e=t(s.length*1,1)>>>0;return V().set(s,e/1),a=s.length,e}function d(s,t,e){if(e===void 0){const p=q.encode(s),u=t(p.length,1)>>>0;return V().subarray(u,u+p.length).set(p),a=p.length,u}let n=s.length,_=t(n,1)>>>0;const i=V();let g=0;for(;g<n;g++){const p=s.charCodeAt(g);if(p>127)break;i[_+g]=p}if(g!==n){g!==0&&(s=s.slice(g)),_=e(_,n,n=g+s.length*3,1)>>>0;const p=V().subarray(_+g,_+n),u=q.encodeInto(s,p);g+=u.written,_=e(_,n,g,1)>>>0}return a=g,_}let Y=128;function w(s){const t=c(s);return Kt(s),t}let Z=typeof TextDecoder<"u"?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):void 0;Z&&Z.decode();const ee=2146435072;let ht=0;function re(s,t){return ht+=t,ht>=ee&&(Z=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),Z.decode(),ht=t),Z.decode(V().slice(s,s+t))}const q=typeof TextEncoder<"u"?new TextEncoder:void 0;q&&(q.encodeInto=function(s,t){const e=q.encode(s);return t.set(e),{read:s.length,written:e.length}});let a=0;function zt(s,t,e){r.__wasm_bindgen_func_elem_1394(s,t,b(e))}function ne(s,t,e,n){r.__wasm_bindgen_func_elem_1667(s,t,b(e),b(n))}const kt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_georeferencejs_free(s>>>0,1)),mt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_gpugeometry_free(s>>>0,1)),xt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_gpuinstancedgeometry_free(s>>>0,1)),It=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_gpuinstancedgeometrycollection_free(s>>>0,1)),St=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_gpuinstancedgeometryref_free(s>>>0,1)),Pt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_gpumeshmetadata_free(s>>>0,1)),Ot=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_ifcapi_free(s>>>0,1)),At=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_instancedata_free(s>>>0,1)),Ct=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_instancedgeometry_free(s>>>0,1)),Mt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_instancedmeshcollection_free(s>>>0,1)),Lt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_meshcollection_free(s>>>0,1)),Tt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_meshcollectionwithrtc_free(s>>>0,1)),Dt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_meshdatajs_free(s>>>0,1)),Et=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_profilecollection_free(s>>>0,1)),Bt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_profileentryjs_free(s>>>0,1)),Gt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_rtcoffsetjs_free(s>>>0,1)),Wt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_symboliccircle_free(s>>>0,1)),Ut=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_symbolicpolyline_free(s>>>0,1)),Nt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_symbolicrepresentationcollection_free(s>>>0,1)),vt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_zerocopymesh_free(s>>>0,1)),Vt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_wbg_rayon_poolbuilder_free(s>>>0,1));class J{static __wrap(t){t=t>>>0;const e=Object.create(J.prototype);return e.__wbg_ptr=t,kt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,kt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_georeferencejs_free(t,0)}localToMap(t,e,n){try{const p=r.__wbindgen_add_to_stack_pointer(-16);r.georeferencejs_localToMap(p,this.__wbg_ptr,t,e,n);var _=o().getInt32(p+0,!0),i=o().getInt32(p+4,!0),g=z(_,i).slice();return r.__wbindgen_export2(_,i*8,8),g}finally{r.__wbindgen_add_to_stack_pointer(16)}}mapToLocal(t,e,n){try{const p=r.__wbindgen_add_to_stack_pointer(-16);r.georeferencejs_mapToLocal(p,this.__wbg_ptr,t,e,n);var _=o().getInt32(p+0,!0),i=o().getInt32(p+4,!0),g=z(_,i).slice();return r.__wbindgen_export2(_,i*8,8),g}finally{r.__wbindgen_add_to_stack_pointer(16)}}get crsName(){try{const n=r.__wbindgen_add_to_stack_pointer(-16);r.georeferencejs_crsName(n,this.__wbg_ptr);var t=o().getInt32(n+0,!0),e=o().getInt32(n+4,!0);let _;return t!==0&&(_=l(t,e).slice(),r.__wbindgen_export2(t,e*1,1)),_}finally{r.__wbindgen_add_to_stack_pointer(16)}}get rotation(){return r.georeferencejs_rotation(this.__wbg_ptr)}toMatrix(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.georeferencejs_toMatrix(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=z(t,e).slice();return r.__wbindgen_export2(t,e*8,8),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}get eastings(){return r.__wbg_get_georeferencejs_eastings(this.__wbg_ptr)}set eastings(t){r.__wbg_set_georeferencejs_eastings(this.__wbg_ptr,t)}get northings(){return r.__wbg_get_georeferencejs_northings(this.__wbg_ptr)}set northings(t){r.__wbg_set_georeferencejs_northings(this.__wbg_ptr,t)}get orthogonal_height(){return r.__wbg_get_georeferencejs_orthogonal_height(this.__wbg_ptr)}set orthogonal_height(t){r.__wbg_set_georeferencejs_orthogonal_height(this.__wbg_ptr,t)}get x_axis_abscissa(){return r.__wbg_get_georeferencejs_x_axis_abscissa(this.__wbg_ptr)}set x_axis_abscissa(t){r.__wbg_set_georeferencejs_x_axis_abscissa(this.__wbg_ptr,t)}get x_axis_ordinate(){return r.__wbg_get_georeferencejs_x_axis_ordinate(this.__wbg_ptr)}set x_axis_ordinate(t){r.__wbg_set_georeferencejs_x_axis_ordinate(this.__wbg_ptr,t)}get scale(){return r.__wbg_get_georeferencejs_scale(this.__wbg_ptr)}set scale(t){r.__wbg_set_georeferencejs_scale(this.__wbg_ptr,t)}}Symbol.dispose&&(J.prototype[Symbol.dispose]=J.prototype.free);class k{static __wrap(t){t=t>>>0;const e=Object.create(k.prototype);return e.__wbg_ptr=t,mt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,mt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_gpugeometry_free(t,0)}get meshCount(){return r.gpugeometry_meshCount(this.__wbg_ptr)>>>0}get indicesLen(){return r.gpugeometry_indicesLen(this.__wbg_ptr)>>>0}get indicesPtr(){return r.gpugeometry_indicesPtr(this.__wbg_ptr)>>>0}get rtcOffsetX(){return r.gpugeometry_rtcOffsetX(this.__wbg_ptr)}get rtcOffsetY(){return r.gpugeometry_rtcOffsetY(this.__wbg_ptr)}get rtcOffsetZ(){return r.gpugeometry_rtcOffsetZ(this.__wbg_ptr)}get hasRtcOffset(){return r.gpugeometry_hasRtcOffset(this.__wbg_ptr)!==0}set_rtc_offset(t,e,n){r.gpugeometry_set_rtc_offset(this.__wbg_ptr,t,e,n)}get vertexDataLen(){return r.gpugeometry_vertexDataLen(this.__wbg_ptr)>>>0}get vertexDataPtr(){return r.gpugeometry_vertexDataPtr(this.__wbg_ptr)>>>0}getIfcTypeName(t){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.gpugeometry_getIfcTypeName(_,this.__wbg_ptr,t);var e=o().getInt32(_+0,!0),n=o().getInt32(_+4,!0);let i;return e!==0&&(i=l(e,n).slice(),r.__wbindgen_export2(e,n*1,1)),i}finally{r.__wbindgen_add_to_stack_pointer(16)}}getMeshMetadata(t){const e=r.gpugeometry_getMeshMetadata(this.__wbg_ptr,t);return e===0?void 0:$.__wrap(e)}get totalVertexCount(){return r.gpugeometry_totalVertexCount(this.__wbg_ptr)>>>0}get indicesByteLength(){return r.gpugeometry_indicesByteLength(this.__wbg_ptr)>>>0}get totalTriangleCount(){return r.gpugeometry_totalTriangleCount(this.__wbg_ptr)>>>0}get vertexDataByteLength(){return r.gpugeometry_vertexDataByteLength(this.__wbg_ptr)>>>0}constructor(){const t=r.gpugeometry_new();return this.__wbg_ptr=t>>>0,mt.register(this,this.__wbg_ptr,this),this}get isEmpty(){return r.gpugeometry_isEmpty(this.__wbg_ptr)!==0}}Symbol.dispose&&(k.prototype[Symbol.dispose]=k.prototype.free);class H{static __wrap(t){t=t>>>0;const e=Object.create(H.prototype);return e.__wbg_ptr=t,xt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,xt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_gpuinstancedgeometry_free(t,0)}get geometryId(){const t=r.gpuinstancedgeometry_geometryId(this.__wbg_ptr);return BigInt.asUintN(64,t)}get indicesLen(){return r.gpuinstancedgeometry_indicesLen(this.__wbg_ptr)>>>0}get indicesPtr(){return r.gpuinstancedgeometry_indicesPtr(this.__wbg_ptr)>>>0}get vertexCount(){return r.gpuinstancedgeometry_vertexCount(this.__wbg_ptr)>>>0}get instanceCount(){return r.gpuinstancedgeometry_instanceCount(this.__wbg_ptr)>>>0}get triangleCount(){return r.gpuinstancedgeometry_triangleCount(this.__wbg_ptr)>>>0}get vertexDataLen(){return r.gpuinstancedgeometry_vertexDataLen(this.__wbg_ptr)>>>0}get vertexDataPtr(){return r.gpuinstancedgeometry_vertexDataPtr(this.__wbg_ptr)>>>0}get instanceDataLen(){return r.gpuinstancedgeometry_instanceDataLen(this.__wbg_ptr)>>>0}get instanceDataPtr(){return r.gpuinstancedgeometry_instanceDataPtr(this.__wbg_ptr)>>>0}get indicesByteLength(){return r.gpuinstancedgeometry_indicesByteLength(this.__wbg_ptr)>>>0}get vertexDataByteLength(){return r.gpuinstancedgeometry_vertexDataByteLength(this.__wbg_ptr)>>>0}get instanceExpressIdsPtr(){return r.gpuinstancedgeometry_instanceExpressIdsPtr(this.__wbg_ptr)>>>0}get instanceDataByteLength(){return r.gpuinstancedgeometry_instanceDataByteLength(this.__wbg_ptr)>>>0}constructor(t){const e=r.gpuinstancedgeometry_new(t);return this.__wbg_ptr=e>>>0,xt.register(this,this.__wbg_ptr,this),this}}Symbol.dispose&&(H.prototype[Symbol.dispose]=H.prototype.free);class Q{static __wrap(t){t=t>>>0;const e=Object.create(Q.prototype);return e.__wbg_ptr=t,It.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,It.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_gpuinstancedgeometrycollection_free(t,0)}get(t){const e=r.gpuinstancedgeometrycollection_get(this.__wbg_ptr,t);return e===0?void 0:H.__wrap(e)}constructor(){const t=r.gpuinstancedgeometrycollection_new();return this.__wbg_ptr=t>>>0,It.register(this,this.__wbg_ptr,this),this}get length(){return r.gpuinstancedgeometrycollection_length(this.__wbg_ptr)>>>0}getRef(t){const e=r.gpuinstancedgeometrycollection_get(this.__wbg_ptr,t);return e===0?void 0:K.__wrap(e)}}Symbol.dispose&&(Q.prototype[Symbol.dispose]=Q.prototype.free);class K{static __wrap(t){t=t>>>0;const e=Object.create(K.prototype);return e.__wbg_ptr=t,St.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,St.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_gpuinstancedgeometryref_free(t,0)}get geometryId(){const t=r.gpuinstancedgeometry_geometryId(this.__wbg_ptr);return BigInt.asUintN(64,t)}get indicesLen(){return r.gpuinstancedgeometry_indicesLen(this.__wbg_ptr)>>>0}get indicesPtr(){return r.gpuinstancedgeometry_indicesPtr(this.__wbg_ptr)>>>0}get instanceCount(){return r.gpuinstancedgeometry_instanceCount(this.__wbg_ptr)>>>0}get vertexDataLen(){return r.gpuinstancedgeometry_vertexDataLen(this.__wbg_ptr)>>>0}get vertexDataPtr(){return r.gpuinstancedgeometry_vertexDataPtr(this.__wbg_ptr)>>>0}get instanceDataLen(){return r.gpuinstancedgeometry_instanceDataLen(this.__wbg_ptr)>>>0}get instanceDataPtr(){return r.gpuinstancedgeometry_instanceDataPtr(this.__wbg_ptr)>>>0}get indicesByteLength(){return r.gpuinstancedgeometry_indicesByteLength(this.__wbg_ptr)>>>0}get vertexDataByteLength(){return r.gpuinstancedgeometry_vertexDataByteLength(this.__wbg_ptr)>>>0}get instanceExpressIdsPtr(){return r.gpuinstancedgeometry_instanceExpressIdsPtr(this.__wbg_ptr)>>>0}get instanceDataByteLength(){return r.gpuinstancedgeometry_instanceDataByteLength(this.__wbg_ptr)>>>0}}Symbol.dispose&&(K.prototype[Symbol.dispose]=K.prototype.free);class ${static __wrap(t){t=t>>>0;const e=Object.create($.prototype);return e.__wbg_ptr=t,Pt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Pt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_gpumeshmetadata_free(t,0)}get expressId(){return r.gpumeshmetadata_expressId(this.__wbg_ptr)>>>0}get indexCount(){return r.gpumeshmetadata_indexCount(this.__wbg_ptr)>>>0}get ifcTypeIdx(){return r.gpumeshmetadata_ifcTypeIdx(this.__wbg_ptr)}get indexOffset(){return r.gpumeshmetadata_indexOffset(this.__wbg_ptr)>>>0}get vertexCount(){return r.gpumeshmetadata_vertexCount(this.__wbg_ptr)>>>0}get vertexOffset(){return r.gpumeshmetadata_vertexOffset(this.__wbg_ptr)>>>0}get color(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.gpumeshmetadata_color(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=I(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}}Symbol.dispose&&($.prototype[Symbol.dispose]=$.prototype.free);class Xt{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Ot.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_ifcapi_free(t,0)}parseMeshes(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseMeshes(this.__wbg_ptr,e,n);return x.__wrap(_)}parseMeshesAsync(t,e){const n=d(t,r.__wbindgen_export3,r.__wbindgen_export4),_=a,i=r.ifcapi_parseMeshesAsync(this.__wbg_ptr,n,_,b(e));return w(i)}buildPrePassFast(t){const e=h(t,r.__wbindgen_export3),n=a,_=r.ifcapi_buildPrePassFast(this.__wbg_ptr,e,n);return w(_)}buildPrePassOnce(t){const e=h(t,r.__wbindgen_export3),n=a,_=r.ifcapi_buildPrePassOnce(this.__wbg_ptr,e,n);return w(_)}parseMeshesSubset(t,e,n,_){const i=d(t,r.__wbindgen_export3,r.__wbindgen_export4),g=a,p=r.ifcapi_parseMeshesSubset(this.__wbg_ptr,i,g,e,n,_);return x.__wrap(p)}parseToGpuGeometry(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseToGpuGeometry(this.__wbg_ptr,e,n);return k.__wrap(_)}parseMeshesInstanced(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseMeshesInstanced(this.__wbg_ptr,e,n);return P.__wrap(_)}processGeometryBatch(t,e,n,_,i,g,p,u,y,v,O,A){const C=h(t,r.__wbindgen_export3),M=a,L=f(e,r.__wbindgen_export3),T=a,D=f(u,r.__wbindgen_export3),E=a,at=f(y,r.__wbindgen_export3),pt=a,bt=f(v,r.__wbindgen_export3),wt=a,ut=f(O,r.__wbindgen_export3),dt=a,lt=h(A,r.__wbindgen_export3),ft=a,yt=r.ifcapi_processGeometryBatch(this.__wbg_ptr,C,M,L,T,n,_,i,g,p,D,E,at,pt,bt,wt,ut,dt,lt,ft);return x.__wrap(yt)}scanEntityIndexShard(t,e,n,_){try{const u=r.__wbindgen_add_to_stack_pointer(-16),y=h(t,r.__wbindgen_export3),v=a;r.ifcapi_scanEntityIndexShard(u,this.__wbg_ptr,y,v,jt(e),n,_);var i=o().getInt32(u+0,!0),g=o().getInt32(u+4,!0),p=o().getInt32(u+8,!0);if(p)throw w(g);return w(i)}finally{r.__wbindgen_add_to_stack_pointer(16),m[Y++]=void 0}}buildPrePassStreaming(t,e,n){try{const p=r.__wbindgen_add_to_stack_pointer(-16),u=h(t,r.__wbindgen_export3),y=a;r.ifcapi_buildPrePassStreaming(p,this.__wbg_ptr,u,y,jt(e),n);var _=o().getInt32(p+0,!0),i=o().getInt32(p+4,!0),g=o().getInt32(p+8,!0);if(g)throw w(i);return w(_)}finally{r.__wbindgen_add_to_stack_pointer(16),m[Y++]=void 0}}parseToGpuGeometryAsync(t,e){const n=d(t,r.__wbindgen_export3,r.__wbindgen_export4),_=a,i=r.ifcapi_parseToGpuGeometryAsync(this.__wbg_ptr,n,_,b(e));return w(i)}parseMeshesInstancedAsync(t,e){const n=d(t,r.__wbindgen_export3,r.__wbindgen_export4),_=a,i=r.ifcapi_parseMeshesInstancedAsync(this.__wbg_ptr,n,_,b(e));return w(i)}benchmarkPureCpuParallelism(t){try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.ifcapi_benchmarkPureCpuParallelism(i,this.__wbg_ptr,t);var e=o().getInt32(i+0,!0),n=o().getInt32(i+4,!0),_=z(e,n).slice();return r.__wbindgen_export2(e,n*8,8),_}finally{r.__wbindgen_add_to_stack_pointer(16)}}parseToGpuInstancedGeometry(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseToGpuInstancedGeometry(this.__wbg_ptr,e,n);return Q.__wrap(_)}processGeometryBatchParallel(t,e,n,_,i,g,p,u,y,v,O,A){const C=h(t,r.__wbindgen_export3),M=a,L=f(e,r.__wbindgen_export3),T=a,D=f(u,r.__wbindgen_export3),E=a,at=f(y,r.__wbindgen_export3),pt=a,bt=f(v,r.__wbindgen_export3),wt=a,ut=f(O,r.__wbindgen_export3),dt=a,lt=h(A,r.__wbindgen_export3),ft=a,yt=r.ifcapi_processGeometryBatchParallel(this.__wbg_ptr,C,M,L,T,n,_,i,g,p,D,E,at,pt,bt,wt,ut,dt,lt,ft);return x.__wrap(yt)}processInstancedGeometryBatch(t,e,n,_,i,g,p,u,y){const v=h(t,r.__wbindgen_export3),O=a,A=f(e,r.__wbindgen_export3),C=a,M=f(u,r.__wbindgen_export3),L=a,T=h(y,r.__wbindgen_export3),D=a,E=r.ifcapi_processInstancedGeometryBatch(this.__wbg_ptr,v,O,A,C,n,_,i,g,p,M,L,T,D);return P.__wrap(E)}parseZeroCopy(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseZeroCopy(this.__wbg_ptr,e,n);return ct.__wrap(_)}extractProfiles(t,e){const n=d(t,r.__wbindgen_export3,r.__wbindgen_export4),_=a,i=r.ifcapi_extractProfiles(this.__wbg_ptr,n,_,e);return rt.__wrap(i)}debugProcessEntity953(t){let e,n;try{const g=r.__wbindgen_add_to_stack_pointer(-16),p=d(t,r.__wbindgen_export3,r.__wbindgen_export4),u=a;r.ifcapi_debugProcessEntity953(g,this.__wbg_ptr,p,u);var _=o().getInt32(g+0,!0),i=o().getInt32(g+4,!0);return e=_,n=i,l(_,i)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(e,n,1)}}debugProcessFirstWall(t){let e,n;try{const g=r.__wbindgen_add_to_stack_pointer(-16),p=d(t,r.__wbindgen_export3,r.__wbindgen_export4),u=a;r.ifcapi_debugProcessFirstWall(g,this.__wbg_ptr,p,u);var _=o().getInt32(g+0,!0),i=o().getInt32(g+4,!0);return e=_,n=i,l(_,i)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(e,n,1)}}getMemory(){const t=r.ifcapi_getMemory(this.__wbg_ptr);return w(t)}setEntityIndex(t,e,n){const _=f(t,r.__wbindgen_export3),i=a,g=f(e,r.__wbindgen_export3),p=a,u=f(n,r.__wbindgen_export3),y=a;r.ifcapi_setEntityIndex(this.__wbg_ptr,_,i,g,p,u,y)}setMergeLayers(t){r.ifcapi_setMergeLayers(this.__wbg_ptr,t)}clearPrePassCache(){r.ifcapi_clearPrePassCache(this.__wbg_ptr)}constructor(){const t=r.ifcapi_new();return this.__wbg_ptr=t>>>0,Ot.register(this,this.__wbg_ptr,this),this}get version(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.ifcapi_version(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,l(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get is_ready(){return r.ifcapi_is_ready(this.__wbg_ptr)!==0}getGeoReference(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_getGeoReference(this.__wbg_ptr,e,n);return _===0?void 0:J.__wrap(_)}parseMeshesWithRtc(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseMeshesWithRtc(this.__wbg_ptr,e,n);return et.__wrap(_)}parseStreaming(t,e){const n=d(t,r.__wbindgen_export3,r.__wbindgen_export4),_=a,i=r.ifcapi_parseStreaming(this.__wbg_ptr,n,_,b(e));return w(i)}scanEntitiesFast(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_scanEntitiesFast(this.__wbg_ptr,e,n);return w(_)}scanEntitiesFastBytes(t){const e=h(t,r.__wbindgen_export3),n=a,_=r.ifcapi_scanEntitiesFastBytes(this.__wbg_ptr,e,n);return w(_)}scanGeometryEntitiesFast(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_scanGeometryEntitiesFast(this.__wbg_ptr,e,n);return w(_)}scanRelevantEntitiesFastBytes(t){const e=h(t,r.__wbindgen_export3),n=a,_=r.ifcapi_scanRelevantEntitiesFastBytes(this.__wbg_ptr,e,n);return w(_)}parse(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parse(this.__wbg_ptr,e,n);return w(_)}parseSymbolicRepresentations(t){const e=d(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseSymbolicRepresentations(this.__wbg_ptr,e,n);return ot.__wrap(_)}}Symbol.dispose&&(Xt.prototype[Symbol.dispose]=Xt.prototype.free);class tt{static __wrap(t){t=t>>>0;const e=Object.create(tt.prototype);return e.__wbg_ptr=t,At.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,At.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_instancedata_free(t,0)}get expressId(){return r.instancedata_expressId(this.__wbg_ptr)>>>0}get color(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.instancedata_color(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=I(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}get transform(){const t=r.instancedata_transform(this.__wbg_ptr);return w(t)}}Symbol.dispose&&(tt.prototype[Symbol.dispose]=tt.prototype.free);class S{static __wrap(t){t=t>>>0;const e=Object.create(S.prototype);return e.__wbg_ptr=t,Ct.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Ct.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_instancedgeometry_free(t,0)}get geometryId(){const t=r.gpuinstancedgeometry_geometryId(this.__wbg_ptr);return BigInt.asUintN(64,t)}get_instance(t){const e=r.instancedgeometry_get_instance(this.__wbg_ptr,t);return e===0?void 0:tt.__wrap(e)}get instance_count(){return r.instancedgeometry_instance_count(this.__wbg_ptr)>>>0}get indices(){const t=r.instancedgeometry_indices(this.__wbg_ptr);return w(t)}get normals(){const t=r.instancedgeometry_normals(this.__wbg_ptr);return w(t)}get positions(){const t=r.instancedgeometry_positions(this.__wbg_ptr);return w(t)}}Symbol.dispose&&(S.prototype[Symbol.dispose]=S.prototype.free);class P{static __wrap(t){t=t>>>0;const e=Object.create(P.prototype);return e.__wbg_ptr=t,Mt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Mt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_instancedmeshcollection_free(t,0)}get totalInstances(){return r.instancedmeshcollection_totalInstances(this.__wbg_ptr)>>>0}get totalGeometries(){return r.gpuinstancedgeometrycollection_length(this.__wbg_ptr)>>>0}get(t){const e=r.instancedmeshcollection_get(this.__wbg_ptr,t);return e===0?void 0:S.__wrap(e)}get length(){return r.gpuinstancedgeometrycollection_length(this.__wbg_ptr)>>>0}}Symbol.dispose&&(P.prototype[Symbol.dispose]=P.prototype.free);class x{static __wrap(t){t=t>>>0;const e=Object.create(x.prototype);return e.__wbg_ptr=t,Lt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Lt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_meshcollection_free(t,0)}get rtcOffsetX(){return r.gpugeometry_rtcOffsetZ(this.__wbg_ptr)}get rtcOffsetY(){return r.meshcollection_rtcOffsetY(this.__wbg_ptr)}get rtcOffsetZ(){return r.meshcollection_rtcOffsetZ(this.__wbg_ptr)}hasRtcOffset(){return r.meshcollection_hasRtcOffset(this.__wbg_ptr)!==0}localToWorld(t,e,n){try{const p=r.__wbindgen_add_to_stack_pointer(-16);r.meshcollection_localToWorld(p,this.__wbg_ptr,t,e,n);var _=o().getInt32(p+0,!0),i=o().getInt32(p+4,!0),g=z(_,i).slice();return r.__wbindgen_export2(_,i*8,8),g}finally{r.__wbindgen_add_to_stack_pointer(16)}}get totalVertices(){return r.meshcollection_totalVertices(this.__wbg_ptr)>>>0}get totalTriangles(){return r.meshcollection_totalTriangles(this.__wbg_ptr)>>>0}get buildingRotation(){try{const n=r.__wbindgen_add_to_stack_pointer(-16);r.meshcollection_buildingRotation(n,this.__wbg_ptr);var t=o().getInt32(n+0,!0),e=o().getFloat64(n+8,!0);return t===0?void 0:e}finally{r.__wbindgen_add_to_stack_pointer(16)}}get(t){const e=r.meshcollection_get(this.__wbg_ptr,t);return e===0?void 0:F.__wrap(e)}get length(){return r.meshcollection_length(this.__wbg_ptr)>>>0}}Symbol.dispose&&(x.prototype[Symbol.dispose]=x.prototype.free);class et{static __wrap(t){t=t>>>0;const e=Object.create(et.prototype);return e.__wbg_ptr=t,Tt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Tt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_meshcollectionwithrtc_free(t,0)}get rtcOffset(){const t=r.meshcollectionwithrtc_rtcOffset(this.__wbg_ptr);return _t.__wrap(t)}get(t){const e=r.meshcollectionwithrtc_get(this.__wbg_ptr,t);return e===0?void 0:F.__wrap(e)}get length(){return r.meshcollection_length(this.__wbg_ptr)>>>0}get meshes(){const t=r.meshcollectionwithrtc_meshes(this.__wbg_ptr);return x.__wrap(t)}}Symbol.dispose&&(et.prototype[Symbol.dispose]=et.prototype.free);class F{static __wrap(t){t=t>>>0;const e=Object.create(F.prototype);return e.__wbg_ptr=t,Dt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Dt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_meshdatajs_free(t,0)}get expressId(){return r.meshdatajs_expressId(this.__wbg_ptr)>>>0}get vertexCount(){return r.meshdatajs_vertexCount(this.__wbg_ptr)>>>0}get shadingColor(){try{const n=r.__wbindgen_add_to_stack_pointer(-16);r.meshdatajs_shadingColor(n,this.__wbg_ptr);var t=o().getInt32(n+0,!0),e=o().getInt32(n+4,!0);let _;return t!==0&&(_=I(t,e).slice(),r.__wbindgen_export2(t,e*4,4)),_}finally{r.__wbindgen_add_to_stack_pointer(16)}}get triangleCount(){return r.meshdatajs_triangleCount(this.__wbg_ptr)>>>0}get color(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.meshdatajs_color(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=I(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}get indices(){const t=r.meshdatajs_indices(this.__wbg_ptr);return w(t)}get normals(){const t=r.meshdatajs_normals(this.__wbg_ptr);return w(t)}get ifcType(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.meshdatajs_ifcType(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,l(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get positions(){const t=r.meshdatajs_positions(this.__wbg_ptr);return w(t)}}Symbol.dispose&&(F.prototype[Symbol.dispose]=F.prototype.free);class rt{static __wrap(t){t=t>>>0;const e=Object.create(rt.prototype);return e.__wbg_ptr=t,Et.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Et.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_profilecollection_free(t,0)}get(t){const e=r.profilecollection_get(this.__wbg_ptr,t);return e===0?void 0:nt.__wrap(e)}get length(){return r.profilecollection_length(this.__wbg_ptr)>>>0}}Symbol.dispose&&(rt.prototype[Symbol.dispose]=rt.prototype.free);class nt{static __wrap(t){t=t>>>0;const e=Object.create(nt.prototype);return e.__wbg_ptr=t,Bt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Bt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_profileentryjs_free(t,0)}get expressId(){return r.profileentryjs_expressId(this.__wbg_ptr)>>>0}get holeCounts(){const t=r.profileentryjs_holeCounts(this.__wbg_ptr);return w(t)}get holePoints(){const t=r.profileentryjs_holePoints(this.__wbg_ptr);return w(t)}get modelIndex(){return r.profileentryjs_modelIndex(this.__wbg_ptr)>>>0}get outerPoints(){const t=r.profileentryjs_outerPoints(this.__wbg_ptr);return w(t)}get extrusionDir(){const t=r.profileentryjs_extrusionDir(this.__wbg_ptr);return w(t)}get extrusionDepth(){return r.profileentryjs_extrusionDepth(this.__wbg_ptr)}get ifcType(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.profileentryjs_ifcType(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,l(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get transform(){const t=r.profileentryjs_transform(this.__wbg_ptr);return w(t)}}Symbol.dispose&&(nt.prototype[Symbol.dispose]=nt.prototype.free);class _t{static __wrap(t){t=t>>>0;const e=Object.create(_t.prototype);return e.__wbg_ptr=t,Gt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Gt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_rtcoffsetjs_free(t,0)}isSignificant(){return r.rtcoffsetjs_isSignificant(this.__wbg_ptr)!==0}toWorld(t,e,n){try{const p=r.__wbindgen_add_to_stack_pointer(-16);r.rtcoffsetjs_toWorld(p,this.__wbg_ptr,t,e,n);var _=o().getInt32(p+0,!0),i=o().getInt32(p+4,!0),g=z(_,i).slice();return r.__wbindgen_export2(_,i*8,8),g}finally{r.__wbindgen_add_to_stack_pointer(16)}}get x(){return r.__wbg_get_georeferencejs_eastings(this.__wbg_ptr)}set x(t){r.__wbg_set_georeferencejs_eastings(this.__wbg_ptr,t)}get y(){return r.__wbg_get_georeferencejs_northings(this.__wbg_ptr)}set y(t){r.__wbg_set_georeferencejs_northings(this.__wbg_ptr,t)}get z(){return r.__wbg_get_georeferencejs_orthogonal_height(this.__wbg_ptr)}set z(t){r.__wbg_set_georeferencejs_orthogonal_height(this.__wbg_ptr,t)}}Symbol.dispose&&(_t.prototype[Symbol.dispose]=_t.prototype.free);class st{static __wrap(t){t=t>>>0;const e=Object.create(st.prototype);return e.__wbg_ptr=t,Wt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Wt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_symboliccircle_free(t,0)}get expressId(){return r.gpumeshmetadata_vertexCount(this.__wbg_ptr)>>>0}get startAngle(){return r.symboliccircle_startAngle(this.__wbg_ptr)}get isFullCircle(){return r.symboliccircle_isFullCircle(this.__wbg_ptr)!==0}get repIdentifier(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symboliccircle_repIdentifier(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,l(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get radius(){return r.symboliccircle_radius(this.__wbg_ptr)}get centerX(){return r.symboliccircle_centerX(this.__wbg_ptr)}get centerY(){return r.symboliccircle_centerY(this.__wbg_ptr)}get ifcType(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symboliccircle_ifcType(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,l(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get endAngle(){return r.symboliccircle_endAngle(this.__wbg_ptr)}}Symbol.dispose&&(st.prototype[Symbol.dispose]=st.prototype.free);class it{static __wrap(t){t=t>>>0;const e=Object.create(it.prototype);return e.__wbg_ptr=t,Ut.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Ut.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_symbolicpolyline_free(t,0)}get expressId(){return r.symbolicpolyline_expressId(this.__wbg_ptr)>>>0}get pointCount(){return r.symbolicpolyline_pointCount(this.__wbg_ptr)>>>0}get repIdentifier(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symbolicpolyline_repIdentifier(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,l(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get points(){const t=r.symbolicpolyline_points(this.__wbg_ptr);return w(t)}get ifcType(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symbolicpolyline_ifcType(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,l(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get isClosed(){return r.symbolicpolyline_isClosed(this.__wbg_ptr)!==0}}Symbol.dispose&&(it.prototype[Symbol.dispose]=it.prototype.free);class ot{static __wrap(t){t=t>>>0;const e=Object.create(ot.prototype);return e.__wbg_ptr=t,Nt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Nt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_symbolicrepresentationcollection_free(t,0)}getCircle(t){const e=r.symbolicrepresentationcollection_getCircle(this.__wbg_ptr,t);return e===0?void 0:st.__wrap(e)}get totalCount(){return r.symbolicrepresentationcollection_totalCount(this.__wbg_ptr)>>>0}get circleCount(){return r.symbolicrepresentationcollection_circleCount(this.__wbg_ptr)>>>0}getPolyline(t){const e=r.symbolicrepresentationcollection_getPolyline(this.__wbg_ptr,t);return e===0?void 0:it.__wrap(e)}get polylineCount(){return r.symbolicrepresentationcollection_polylineCount(this.__wbg_ptr)>>>0}getExpressIds(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.symbolicrepresentationcollection_getExpressIds(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=Yt(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}get isEmpty(){return r.symbolicrepresentationcollection_isEmpty(this.__wbg_ptr)!==0}}Symbol.dispose&&(ot.prototype[Symbol.dispose]=ot.prototype.free);class ct{static __wrap(t){t=t>>>0;const e=Object.create(ct.prototype);return e.__wbg_ptr=t,vt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,vt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_zerocopymesh_free(t,0)}bounds_max(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.zerocopymesh_bounds_max(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=I(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}bounds_min(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.zerocopymesh_bounds_min(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=I(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}get indices_len(){return r.gpuinstancedgeometry_indicesLen(this.__wbg_ptr)>>>0}get indices_ptr(){return r.gpuinstancedgeometry_indicesPtr(this.__wbg_ptr)>>>0}get normals_len(){return r.zerocopymesh_normals_len(this.__wbg_ptr)>>>0}get normals_ptr(){return r.gpuinstancedgeometry_vertexDataPtr(this.__wbg_ptr)>>>0}get vertex_count(){return r.zerocopymesh_vertex_count(this.__wbg_ptr)>>>0}get positions_len(){return r.zerocopymesh_positions_len(this.__wbg_ptr)>>>0}get positions_ptr(){return r.zerocopymesh_positions_ptr(this.__wbg_ptr)>>>0}get triangle_count(){return r.gpuinstancedgeometry_triangleCount(this.__wbg_ptr)>>>0}constructor(){const t=r.zerocopymesh_new();return this.__wbg_ptr=t>>>0,vt.register(this,this.__wbg_ptr,this),this}get is_empty(){return r.zerocopymesh_is_empty(this.__wbg_ptr)!==0}}Symbol.dispose&&(ct.prototype[Symbol.dispose]=ct.prototype.free);function oe(){const s=r.get_memory();return w(s)}function ce(){r.init()}function ge(s){const t=r.initThreadPool(s);return w(t)}function ae(){let s,t;try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.version(_);var e=o().getInt32(_+0,!0),n=o().getInt32(_+4,!0);return s=e,t=n,l(e,n)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(s,t,1)}}class gt{static __wrap(t){t=t>>>0;const e=Object.create(gt.prototype);return e.__wbg_ptr=t,Vt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Vt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_wbg_rayon_poolbuilder_free(t,0)}numThreads(){return r.wbg_rayon_poolbuilder_numThreads(this.__wbg_ptr)>>>0}build(){r.wbg_rayon_poolbuilder_build(this.__wbg_ptr)}receiver(){return r.wbg_rayon_poolbuilder_receiver(this.__wbg_ptr)>>>0}}Symbol.dispose&&(gt.prototype[Symbol.dispose]=gt.prototype.free);function pe(s){r.wbg_rayon_start_worker(s)}const _e=new Set(["basic","cors","default"]);async function se(s,t){if(typeof Response=="function"&&s instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(s,t)}catch(n){if(s.ok&&_e.has(s.type)&&s.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",n);else throw n}const e=await s.arrayBuffer();return await WebAssembly.instantiate(e,t)}else{const e=await WebAssembly.instantiate(s,t);return e instanceof WebAssembly.Instance?{instance:e,module:s}:e}}function qt(s){const t={};return t.wbg={},t.wbg.__wbg_Error_52673b7de5a0ca89=function(e,n){const _=Error(l(e,n));return b(_)},t.wbg.__wbg___wbindgen_is_function_8d400b8b1af978cd=function(e){return typeof c(e)=="function"},t.wbg.__wbg___wbindgen_is_undefined_f6b95eab589e0269=function(e){return c(e)===void 0},t.wbg.__wbg___wbindgen_memory_a342e963fbcabd68=function(){const e=r.memory;return b(e)},t.wbg.__wbg___wbindgen_module_967adef62ea6cbf8=function(){const e=Ht.__wbindgen_wasm_module;return b(e)},t.wbg.__wbg___wbindgen_number_get_9619185a74197f95=function(e,n){const _=c(n),i=typeof _=="number"?_:void 0;o().setFloat64(e+8,R(i)?0:i,!0),o().setInt32(e+0,!R(i),!0)},t.wbg.__wbg___wbindgen_rethrow_78714972834ecdf1=function(e){throw w(e)},t.wbg.__wbg___wbindgen_throw_dd24417ed36fc46e=function(e,n){throw new Error(l(e,n))},t.wbg.__wbg__wbg_cb_unref_87dfb5aaa0cbcea7=function(e){c(e)._wbg_cb_unref()},t.wbg.__wbg_async_bba5a2ac54b734df=function(e){return c(e).async},t.wbg.__wbg_buffer_063cd102cc769a1c=function(e){const n=c(e).buffer;return b(n)},t.wbg.__wbg_call_3020136f7a2d6e44=function(){return j(function(e,n,_){const i=c(e).call(c(n),c(_));return b(i)},arguments)},t.wbg.__wbg_call_abb4ff46ce38be40=function(){return j(function(e,n){const _=c(e).call(c(n));return b(_)},arguments)},t.wbg.__wbg_call_c8baa5c5e72d274e=function(){return j(function(e,n,_,i){const g=c(e).call(c(n),c(_),c(i));return b(g)},arguments)},t.wbg.__wbg_data_8bf4ae669a78a688=function(e){const n=c(e).data;return b(n)},t.wbg.__wbg_debug_9d0c87ddda3dc485=function(e){console.debug(c(e))},t.wbg.__wbg_error_7534b8e9a36f1ab4=function(e,n){let _,i;try{_=e,i=n,console.error(l(e,n))}finally{r.__wbindgen_export2(_,i,1)}},t.wbg.__wbg_get_af9dab7e9603ea93=function(){return j(function(e,n){const _=Reflect.get(c(e),c(n));return b(_)},arguments)},t.wbg.__wbg_gpugeometry_new=function(e){const n=k.__wrap(e);return b(n)},t.wbg.__wbg_info_ce6bcc489c22f6f0=function(e){console.info(c(e))},t.wbg.__wbg_instancedgeometry_new=function(e){const n=S.__wrap(e);return b(n)},t.wbg.__wbg_instanceof_Window_b5cf7783caa68180=function(e){let n;try{n=c(e)instanceof Window}catch{n=!1}return n},t.wbg.__wbg_length_86ce4877baf913bb=function(e){return c(e).length},t.wbg.__wbg_length_d45040a40c570362=function(e){return c(e).length},t.wbg.__wbg_log_1d990106d99dacb7=function(e){console.log(c(e))},t.wbg.__wbg_meshdatajs_new=function(e){const n=F.__wrap(e);return b(n)},t.wbg.__wbg_new_1ba21ce319a06297=function(){const e=new Object;return b(e)},t.wbg.__wbg_new_25f239778d6112b9=function(){const e=new Array;return b(e)},t.wbg.__wbg_new_53cb1e86c1ef5d2a=function(){return j(function(e,n){const _=new Worker(l(e,n));return b(_)},arguments)},t.wbg.__wbg_new_8a6f238a6ece86ea=function(){const e=new Error;return b(e)},t.wbg.__wbg_new_de1e660b88fc921f=function(e){const n=new Int32Array(c(e));return b(n)},t.wbg.__wbg_new_ff12d2b041fb48f1=function(e,n){try{var _={a:e,b:n},i=(p,u)=>{const y=_.a;_.a=0;try{return ne(y,_.b,p,u)}finally{_.a=y}};const g=new Promise(i);return b(g)}finally{_.a=_.b=0}},t.wbg.__wbg_new_from_slice_41e2764a343e3cb1=function(e,n){const _=new Float32Array(I(e,n));return b(_)},t.wbg.__wbg_new_from_slice_db0691b69e9d3891=function(e,n){const _=new Uint32Array(Yt(e,n));return b(_)},t.wbg.__wbg_new_no_args_cb138f77cf6151ee=function(e,n){const _=new Function(l(e,n));return b(_)},t.wbg.__wbg_new_with_length_202b3db94ba5fc86=function(e){const n=new Uint32Array(e>>>0);return b(n)},t.wbg.__wbg_new_with_length_806b9e5b8290af7c=function(e){const n=new Float64Array(e>>>0);return b(n)},t.wbg.__wbg_new_with_length_aa5eaf41d35235e5=function(e){const n=new Uint8Array(e>>>0);return b(n)},t.wbg.__wbg_now_69d776cd24f5215b=function(){return Date.now()},t.wbg.__wbg_of_7779827fa663eec8=function(e,n,_){const i=Array.of(c(e),c(n),c(_));return b(i)},t.wbg.__wbg_postMessage_07504dbe15265d5c=function(){return j(function(e,n){c(e).postMessage(c(n))},arguments)},t.wbg.__wbg_prototypesetcall_96cc7097487b926d=function(e,n,_){Float32Array.prototype.set.call(I(e,n),c(_))},t.wbg.__wbg_push_7d9be8f38fc13975=function(e,n){return c(e).push(c(n))},t.wbg.__wbg_queueMicrotask_9b549dfce8865860=function(e){const n=c(e).queueMicrotask;return b(n)},t.wbg.__wbg_queueMicrotask_fca69f5bfad613a5=function(e){queueMicrotask(c(e))},t.wbg.__wbg_resolve_fd5bfbaa4ce36e1e=function(e){const n=Promise.resolve(c(e));return b(n)},t.wbg.__wbg_set_3f1d0b984ed272ed=function(e,n,_){c(e)[w(n)]=w(_)},t.wbg.__wbg_set_781438a03c0c3c81=function(){return j(function(e,n,_){return Reflect.set(c(e),c(n),c(_))},arguments)},t.wbg.__wbg_set_7df433eea03a5c14=function(e,n,_){c(e)[n>>>0]=w(_)},t.wbg.__wbg_set_index_021489b2916af13e=function(e,n,_){c(e)[n>>>0]=_},t.wbg.__wbg_set_index_04c4b93e64d08a52=function(e,n,_){c(e)[n>>>0]=_},t.wbg.__wbg_set_index_42abe35f117e614e=function(e,n,_){c(e)[n>>>0]=_>>>0},t.wbg.__wbg_set_onmessage_deb94985de696ac7=function(e,n){c(e).onmessage=c(n)},t.wbg.__wbg_stack_0ed75d68575b0f3c=function(e,n){const _=c(n).stack,i=d(_,r.__wbindgen_export3,r.__wbindgen_export4),g=a;o().setInt32(e+4,g,!0),o().setInt32(e+0,i,!0)},t.wbg.__wbg_startWorkers_2ca11761e08ff5d5=function(e,n,_){const i=Qt(w(e),w(n),gt.__wrap(_));return b(i)},t.wbg.__wbg_static_accessor_GLOBAL_769e6b65d6557335=function(){const e=typeof global>"u"?null:global;return R(e)?0:b(e)},t.wbg.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1=function(){const e=typeof globalThis>"u"?null:globalThis;return R(e)?0:b(e)},t.wbg.__wbg_static_accessor_SELF_08f5a74c69739274=function(){const e=typeof self>"u"?null:self;return R(e)?0:b(e)},t.wbg.__wbg_static_accessor_WINDOW_a8924b26aa92d024=function(){const e=typeof window>"u"?null:window;return R(e)?0:b(e)},t.wbg.__wbg_then_4f95312d68691235=function(e,n){const _=c(e).then(c(n));return b(_)},t.wbg.__wbg_value_4cd497eeadba94bd=function(e){const n=c(e).value;return b(n)},t.wbg.__wbg_waitAsync_8afec80ffd213eca=function(e,n,_){const i=Atomics.waitAsync(c(e),n>>>0,_);return b(i)},t.wbg.__wbg_waitAsync_c186cb97ffacd552=function(){const e=Atomics.waitAsync;return b(e)},t.wbg.__wbg_warn_6e567d0d926ff881=function(e){console.warn(c(e))},t.wbg.__wbindgen_cast_2241b6af4c4b2941=function(e,n){const _=l(e,n);return b(_)},t.wbg.__wbindgen_cast_4625c577ab2ec9ee=function(e){const n=BigInt.asUintN(64,e);return b(n)},t.wbg.__wbindgen_cast_4dd9d91cc07f498f=function(e,n){const _=Rt(e,n,r.__wasm_bindgen_func_elem_1393,zt);return b(_)},t.wbg.__wbindgen_cast_d4e72ce7b74d162f=function(e,n){const _=Rt(e,n,r.__wasm_bindgen_func_elem_1393,zt);return b(_)},t.wbg.__wbindgen_cast_d6cd19b81560fd6e=function(e){return b(e)},t.wbg.__wbindgen_link_203404ece0e9bab9=function(e){const n=`onmessage = function (ev) {
2
2
  let [ia, index, value] = ev.data;
3
3
  ia = new Int32Array(ia.buffer);
4
4
  let result = Atomics.wait(ia, index, value);
5
5
  postMessage(result);
6
6
  };
7
- `,_=typeof URL.createObjectURL>"u"?"data:application/javascript,"+encodeURIComponent(n):URL.createObjectURL(new Blob([n],{type:"text/javascript"})),i=d(_,r.__wbindgen_export3,r.__wbindgen_export4),g=a;o().setInt32(e+4,g,!0),o().setInt32(e+0,i,!0)},t.wbg.__wbindgen_object_clone_ref=function(e){const n=c(e);return b(n)},t.wbg.__wbindgen_object_drop_ref=function(e){w(e)},t.wbg.memory=s||new WebAssembly.Memory({initial:132,maximum:65536,shared:!0}),t}function Jt(s,t,e){if(r=s.exports,Ht.__wbindgen_wasm_module=t,B=null,G=null,W=null,U=null,N=null,typeof e<"u"&&(typeof e!="number"||e===0||e%65536!==0))throw"invalid stack size";return r.__wbindgen_start(e),r}function be(s,t){if(r!==void 0)return r;let e;typeof s<"u"&&(Object.getPrototypeOf(s)===Object.prototype?{module:s,memory:t,thread_stack_size:e}=s:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));const n=qt(t);s instanceof WebAssembly.Module||(s=new WebAssembly.Module(s));const _=new WebAssembly.Instance(s,n);return Jt(_,s,e)}async function Ht(s,t){if(r!==void 0)return r;let e;typeof s<"u"&&(Object.getPrototypeOf(s)===Object.prototype?{module_or_path:s,memory:t,thread_stack_size:e}=s:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),typeof s>"u"&&(s=new URL("/assets/ifc-lite_bg-1IiJN0Zg.wasm",import.meta.url));const n=qt(t);(typeof s=="string"||typeof Request=="function"&&s instanceof Request||typeof URL=="function"&&s instanceof URL)&&(s=fetch(s));const{instance:_,module:i}=await se(await s,n);return Jt(_,i,e)}export{J as GeoReferenceJs,k as GpuGeometry,H as GpuInstancedGeometry,K as GpuInstancedGeometryCollection,Q as GpuInstancedGeometryRef,$ as GpuMeshMetadata,Vt as IfcAPI,tt as InstanceData,S as InstancedGeometry,P as InstancedMeshCollection,x as MeshCollection,et as MeshCollectionWithRtc,F as MeshDataJs,rt as ProfileCollection,nt as ProfileEntryJs,_t as RtcOffsetJs,st as SymbolicCircle,it as SymbolicPolyline,ot as SymbolicRepresentationCollection,ct as ZeroCopyMesh,Ht as default,oe as get_memory,ce as init,be as initSync,ge as initThreadPool,ae as version,gt as wbg_rayon_PoolBuilder,pe as wbg_rayon_start_worker};
7
+ `,_=typeof URL.createObjectURL>"u"?"data:application/javascript,"+encodeURIComponent(n):URL.createObjectURL(new Blob([n],{type:"text/javascript"})),i=d(_,r.__wbindgen_export3,r.__wbindgen_export4),g=a;o().setInt32(e+4,g,!0),o().setInt32(e+0,i,!0)},t.wbg.__wbindgen_object_clone_ref=function(e){const n=c(e);return b(n)},t.wbg.__wbindgen_object_drop_ref=function(e){w(e)},t.wbg.memory=s||new WebAssembly.Memory({initial:132,maximum:65536,shared:!0}),t}function Jt(s,t,e){if(r=s.exports,Ht.__wbindgen_wasm_module=t,B=null,G=null,W=null,U=null,N=null,typeof e<"u"&&(typeof e!="number"||e===0||e%65536!==0))throw"invalid stack size";return r.__wbindgen_start(e),r}function be(s,t){if(r!==void 0)return r;let e;typeof s<"u"&&(Object.getPrototypeOf(s)===Object.prototype?{module:s,memory:t,thread_stack_size:e}=s:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));const n=qt(t);s instanceof WebAssembly.Module||(s=new WebAssembly.Module(s));const _=new WebAssembly.Instance(s,n);return Jt(_,s,e)}async function Ht(s,t){if(r!==void 0)return r;let e;typeof s<"u"&&(Object.getPrototypeOf(s)===Object.prototype?{module_or_path:s,memory:t,thread_stack_size:e}=s:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),typeof s>"u"&&(s=new URL("/assets/ifc-lite_bg-BIryVCXQ.wasm",import.meta.url));const n=qt(t);(typeof s=="string"||typeof Request=="function"&&s instanceof Request||typeof URL=="function"&&s instanceof URL)&&(s=fetch(s));const{instance:_,module:i}=await se(await s,n);return Jt(_,i,e)}export{J as GeoReferenceJs,k as GpuGeometry,H as GpuInstancedGeometry,Q as GpuInstancedGeometryCollection,K as GpuInstancedGeometryRef,$ as GpuMeshMetadata,Xt as IfcAPI,tt as InstanceData,S as InstancedGeometry,P as InstancedMeshCollection,x as MeshCollection,et as MeshCollectionWithRtc,F as MeshDataJs,rt as ProfileCollection,nt as ProfileEntryJs,_t as RtcOffsetJs,st as SymbolicCircle,it as SymbolicPolyline,ot as SymbolicRepresentationCollection,ct as ZeroCopyMesh,Ht as default,oe as get_memory,ce as init,be as initSync,ge as initThreadPool,ae as version,gt as wbg_rayon_PoolBuilder,pe as wbg_rayon_start_worker};