@navaramap/three 0.0.8 → 0.1.1

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 (39) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +20 -8
  3. package/dist/assets/fontWorker-C5cHhkWQ.js +2 -0
  4. package/dist/assets/fontWorker-C5cHhkWQ.js.map +1 -0
  5. package/dist/assets/{index-DaejBdUz.js → index-VfUncKuS.js} +2 -2
  6. package/dist/assets/index-VfUncKuS.js.map +1 -0
  7. package/dist/assets/{navara_wasm_font_worker_bg-CSmoDs_Q.wasm → navara_wasm_font_worker_bg-CKqHBoCR.wasm} +0 -0
  8. package/dist/assets/{navara_wasm_worker_bg-C1dUd_Nk.wasm → navara_wasm_worker_bg-CT26EH41.wasm} +0 -0
  9. package/dist/index.d.ts +298 -54
  10. package/dist/index.js +1569 -1396
  11. package/dist/index.js.map +1 -1
  12. package/dist/index.umd.cjs +90 -69
  13. package/dist/index.umd.cjs.map +1 -1
  14. package/package.json +12 -12
  15. package/src/core/BaseDesc.ts +25 -1
  16. package/src/core/MeshDesc.test.ts +6 -8
  17. package/src/core/MeshDesc.ts +4 -6
  18. package/src/evaluations/FeatureEvaluator.ts +17 -10
  19. package/src/event/feature.ts +15 -2
  20. package/src/event/features/billboard.test.ts +62 -0
  21. package/src/event/features/billboard.ts +4 -2
  22. package/src/index.ts +266 -98
  23. package/src/material/enhancer/model/modelBaseEnhancer/shader.ts +2 -2
  24. package/src/material/enhancer/polygon/polygonBaseEnhancer/shader.ts +2 -2
  25. package/src/material/macro/tileShader.ts +12 -2
  26. package/src/mesh/polyline.ts +32 -4
  27. package/src/mesh/sdfText/batchedSdfText.test.ts +65 -0
  28. package/src/mesh/sdfText/batchedSdfText.ts +121 -43
  29. package/src/mesh/sprite/instancedSprite.ts +173 -65
  30. package/src/pick/pickHelper.test.ts +389 -4
  31. package/src/pick/pickHelper.ts +212 -37
  32. package/src/plugins/AttributionPlugin/index.ts +1 -1
  33. package/src/renderOrder.ts +10 -0
  34. package/src/terrain/sampleTerrainMostDetailed.test.ts +6 -6
  35. package/src/terrain/sampleTerrainMostDetailed.ts +7 -5
  36. package/src/type/index.ts +22 -1
  37. package/dist/assets/fontWorker-CkLGtrXf.js +0 -2
  38. package/dist/assets/fontWorker-CkLGtrXf.js.map +0 -1
  39. package/dist/assets/index-DaejBdUz.js.map +0 -1
@@ -1,2 +0,0 @@
1
- (function(){var e=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,We.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_aabb_free(e,0)}constructor(e,t){w(e,x);var n=e.__destroy_into_raw();w(t,x);var r=t.__destroy_into_raw();let i=Z.aabb_new(n,r);return this.__wbg_ptr=i,We.register(this,this.__wbg_ptr,this),this}get center(){let e=Z.__wbg_get_aabb_center(this.__wbg_ptr);return x.__wrap(e)}get extent(){let e=Z.__wbg_get_aabb_extent(this.__wbg_ptr);return x.__wrap(e)}set center(e){w(e,x);var t=e.__destroy_into_raw();Z.__wbg_set_aabb_center(this.__wbg_ptr,t)}set extent(e){w(e,x);var t=e.__destroy_into_raw();Z.__wbg_set_aabb_extent(this.__wbg_ptr,t)}};Symbol.dispose&&(e.prototype[Symbol.dispose]=e.prototype.free);var t=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Ge.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_batchpropresult_free(e,0)}get layerId(){let e=Z.__wbg_get_batchpropresult_layerId(this.__wbg_ptr),t;return e[0]!==0&&(t=I(e[0],e[1]).slice(),Z.__wbindgen_free(e[0],e[1]*1,1)),t}get properties(){return Z.__wbg_get_batchpropresult_properties(this.__wbg_ptr)}set layerId(e){var t=V(e)?0:K(e,Z.__wbindgen_malloc,Z.__wbindgen_realloc),n=X;Z.__wbg_set_batchpropresult_layerId(this.__wbg_ptr,t,n)}set properties(e){Z.__wbg_set_batchpropresult_properties(this.__wbg_ptr,e)}};Symbol.dispose&&(t.prototype[Symbol.dispose]=t.prototype.free);var n=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Ke.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_billboardmaterial_free(e,0)}get alphaTest(){let e=Z.__wbg_get_billboardmaterial_alphaTest(this.__wbg_ptr);return e===2**53-1?void 0:e}get center(){let e=Z.__wbg_get_billboardmaterial_center(this.__wbg_ptr);return e===0?void 0:b.__wrap(e)}get clampToGround(){let e=Z.__wbg_get_billboardmaterial_clampToGround(this.__wbg_ptr);return e===16777215?void 0:e!==0}get color(){let e=Z.__wbg_get_billboardmaterial_color(this.__wbg_ptr);return e===2**53-1?void 0:e}get declutterPriority(){let e=Z.__wbg_get_billboardmaterial_declutterPriority(this.__wbg_ptr);return e===2**53-1?void 0:e}get declutter(){let e=Z.__wbg_get_billboardmaterial_declutter(this.__wbg_ptr);return e===16777215?void 0:e!==0}get depthTest(){let e=Z.__wbg_get_billboardmaterial_depthTest(this.__wbg_ptr);return e===16777215?void 0:e!==0}get effectIds(){let e=Z.__wbg_get_billboardmaterial_effectIds(this.__wbg_ptr),t;return e[0]!==0&&(t=O(e[0],e[1]).slice(),Z.__wbindgen_free(e[0],e[1]*4,4)),t}get emissiveColor(){let e=Z.__wbg_get_billboardmaterial_emissiveColor(this.__wbg_ptr);return e===2**53-1?void 0:e}get emissiveIntensity(){let e=Z.__wbg_get_billboardmaterial_emissiveIntensity(this.__wbg_ptr);return e===2**53-1?void 0:e}get height(){let e=Z.__wbg_get_billboardmaterial_height(this.__wbg_ptr);return e===2**53-1?void 0:e}get offsetDepth(){let e=Z.__wbg_get_billboardmaterial_offsetDepth(this.__wbg_ptr);return e===16777215?void 0:e!==0}get opacity(){let e=Z.__wbg_get_billboardmaterial_opacity(this.__wbg_ptr);return e===2**53-1?void 0:e}get show(){let e=Z.__wbg_get_billboardmaterial_show(this.__wbg_ptr);return e===16777215?void 0:e!==0}get sizeInMeters(){let e=Z.__wbg_get_billboardmaterial_sizeInMeters(this.__wbg_ptr);return e===16777215?void 0:e!==0}get size(){let e=Z.__wbg_get_billboardmaterial_size(this.__wbg_ptr);return e===2**53-1?void 0:e}get transparent(){let e=Z.__wbg_get_billboardmaterial_transparent(this.__wbg_ptr);return e===16777215?void 0:e!==0}get url(){let e=Z.__wbg_get_billboardmaterial_url(this.__wbg_ptr),t;return e[0]!==0&&(t=I(e[0],e[1]).slice(),Z.__wbindgen_free(e[0],e[1]*1,1)),t}set alphaTest(e){Z.__wbg_set_billboardmaterial_alphaTest(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set center(e){let t=0;V(e)||(w(e,b),t=e.__destroy_into_raw()),Z.__wbg_set_billboardmaterial_center(this.__wbg_ptr,t)}set clampToGround(e){Z.__wbg_set_billboardmaterial_clampToGround(this.__wbg_ptr,V(e)?16777215:+!!e)}set color(e){Z.__wbg_set_billboardmaterial_color(this.__wbg_ptr,V(e)?2**53-1:e>>>0)}set declutterPriority(e){Z.__wbg_set_billboardmaterial_declutterPriority(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set declutter(e){Z.__wbg_set_billboardmaterial_declutter(this.__wbg_ptr,V(e)?16777215:+!!e)}set depthTest(e){Z.__wbg_set_billboardmaterial_depthTest(this.__wbg_ptr,V(e)?16777215:+!!e)}set effectIds(e){var t=V(e)?0:G(e,Z.__wbindgen_malloc),n=X;Z.__wbg_set_billboardmaterial_effectIds(this.__wbg_ptr,t,n)}set emissiveColor(e){Z.__wbg_set_billboardmaterial_emissiveColor(this.__wbg_ptr,V(e)?2**53-1:e>>>0)}set emissiveIntensity(e){Z.__wbg_set_billboardmaterial_emissiveIntensity(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set height(e){Z.__wbg_set_billboardmaterial_height(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set offsetDepth(e){Z.__wbg_set_billboardmaterial_offsetDepth(this.__wbg_ptr,V(e)?16777215:+!!e)}set opacity(e){Z.__wbg_set_billboardmaterial_opacity(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set show(e){Z.__wbg_set_billboardmaterial_show(this.__wbg_ptr,V(e)?16777215:+!!e)}set sizeInMeters(e){Z.__wbg_set_billboardmaterial_sizeInMeters(this.__wbg_ptr,V(e)?16777215:+!!e)}set size(e){Z.__wbg_set_billboardmaterial_size(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set transparent(e){Z.__wbg_set_billboardmaterial_transparent(this.__wbg_ptr,V(e)?16777215:+!!e)}set url(e){var t=V(e)?0:K(e,Z.__wbindgen_malloc,Z.__wbindgen_realloc),n=X;Z.__wbg_set_billboardmaterial_url(this.__wbg_ptr,t,n)}};Symbol.dispose&&(n.prototype[Symbol.dispose]=n.prototype.free);var r=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,qe.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_boundingsphere_free(e,0)}constructor(e,t,n,r){let i=Z.boundingsphere_new(e,t,n,r);return this.__wbg_ptr=i,qe.register(this,this.__wbg_ptr,this),this}get center_x(){return Z.__wbg_get_boundingsphere_center_x(this.__wbg_ptr)}get center_y(){return Z.__wbg_get_boundingsphere_center_y(this.__wbg_ptr)}get center_z(){return Z.__wbg_get_boundingsphere_center_z(this.__wbg_ptr)}get radius(){return Z.__wbg_get_boundingsphere_radius(this.__wbg_ptr)}set center_x(e){Z.__wbg_set_boundingsphere_center_x(this.__wbg_ptr,e)}set center_y(e){Z.__wbg_set_boundingsphere_center_y(this.__wbg_ptr,e)}set center_z(e){Z.__wbg_set_boundingsphere_center_z(this.__wbg_ptr,e)}set radius(e){Z.__wbg_set_boundingsphere_radius(this.__wbg_ptr,e)}};Symbol.dispose&&(r.prototype[Symbol.dispose]=r.prototype.free),Object.freeze({Geographic:0,0:`Geographic`,Geocentric:1,1:`Geocentric`});var i=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Je.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_cachedmeshhandle_free(e,0)}constructor(e,t,n,r){let i=Z.cachedmeshhandle_new(e,t,n,V(r)?2**53-1:r>>0);return this.__wbg_ptr=i,Je.register(this,this.__wbg_ptr,this),this}get heights(){let e=Z.__wbg_get_cachedmeshhandle_heights(this.__wbg_ptr);return e===2**53-1?void 0:e}get indices(){return Z.__wbg_get_cachedmeshhandle_indices(this.__wbg_ptr)}get normals(){let e=Z.__wbg_get_cachedmeshhandle_normals(this.__wbg_ptr);return e===2**53-1?void 0:e}get uvs(){return Z.__wbg_get_cachedmeshhandle_uvs(this.__wbg_ptr)}get vertices(){return Z.__wbg_get_cachedmeshhandle_vertices(this.__wbg_ptr)}get watermask(){let e=Z.__wbg_get_cachedmeshhandle_watermask(this.__wbg_ptr);return e===2**53-1?void 0:e}set heights(e){Z.__wbg_set_cachedmeshhandle_heights(this.__wbg_ptr,V(e)?2**53-1:e>>0)}set indices(e){Z.__wbg_set_cachedmeshhandle_indices(this.__wbg_ptr,e)}set normals(e){Z.__wbg_set_cachedmeshhandle_normals(this.__wbg_ptr,V(e)?2**53-1:e>>0)}set uvs(e){Z.__wbg_set_cachedmeshhandle_uvs(this.__wbg_ptr,e)}set vertices(e){Z.__wbg_set_cachedmeshhandle_vertices(this.__wbg_ptr,e)}set watermask(e){Z.__wbg_set_cachedmeshhandle_watermask(this.__wbg_ptr,V(e)?2**53-1:e>>0)}};Symbol.dispose&&(i.prototype[Symbol.dispose]=i.prototype.free);var a=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Ye.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_cameracontrolupdateevent_free(e,0)}constructor(){let e=Z.cameracontrolupdateevent_new();return this.__wbg_ptr=e,Ye.register(this,this.__wbg_ptr,this),this}get autoAdjustNearFar(){let e=Z.__wbg_get_cameracontrolupdateevent_autoAdjustNearFar(this.__wbg_ptr);return e===16777215?void 0:e!==0}get enableSpin(){let e=Z.__wbg_get_cameracontrolupdateevent_enableSpin(this.__wbg_ptr);return e===16777215?void 0:e!==0}get enableTilt(){let e=Z.__wbg_get_cameracontrolupdateevent_enableTilt(this.__wbg_ptr);return e===16777215?void 0:e!==0}get enableZoom(){let e=Z.__wbg_get_cameracontrolupdateevent_enableZoom(this.__wbg_ptr);return e===16777215?void 0:e!==0}get maximumZoomDistance(){let e=Z.__wbg_get_cameracontrolupdateevent_maximumZoomDistance(this.__wbg_ptr);return e[0]===0?void 0:e[1]}get minimumZoomDistance(){let e=Z.__wbg_get_cameracontrolupdateevent_minimumZoomDistance(this.__wbg_ptr);return e[0]===0?void 0:e[1]}get spinDuration(){let e=Z.__wbg_get_cameracontrolupdateevent_spinDuration(this.__wbg_ptr);return e===2**53-1?void 0:e}get spinSpeed(){let e=Z.__wbg_get_cameracontrolupdateevent_spinSpeed(this.__wbg_ptr);return e[0]===0?void 0:e[1]}get translateDuration(){let e=Z.__wbg_get_cameracontrolupdateevent_translateDuration(this.__wbg_ptr);return e===2**53-1?void 0:e}get zoomDuration(){let e=Z.__wbg_get_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr);return e===2**53-1?void 0:e}get zoomSpeed(){let e=Z.__wbg_get_cameracontrolupdateevent_zoomSpeed(this.__wbg_ptr);return e[0]===0?void 0:e[1]}set autoAdjustNearFar(e){Z.__wbg_set_cameracontrolupdateevent_autoAdjustNearFar(this.__wbg_ptr,V(e)?16777215:+!!e)}set enableSpin(e){Z.__wbg_set_cameracontrolupdateevent_enableSpin(this.__wbg_ptr,V(e)?16777215:+!!e)}set enableTilt(e){Z.__wbg_set_cameracontrolupdateevent_enableTilt(this.__wbg_ptr,V(e)?16777215:+!!e)}set enableZoom(e){Z.__wbg_set_cameracontrolupdateevent_enableZoom(this.__wbg_ptr,V(e)?16777215:+!!e)}set maximumZoomDistance(e){Z.__wbg_set_cameracontrolupdateevent_maximumZoomDistance(this.__wbg_ptr,!V(e),V(e)?0:e)}set minimumZoomDistance(e){Z.__wbg_set_cameracontrolupdateevent_minimumZoomDistance(this.__wbg_ptr,!V(e),V(e)?0:e)}set spinDuration(e){Z.__wbg_set_cameracontrolupdateevent_spinDuration(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set spinSpeed(e){Z.__wbg_set_cameracontrolupdateevent_spinSpeed(this.__wbg_ptr,!V(e),V(e)?0:e)}set translateDuration(e){Z.__wbg_set_cameracontrolupdateevent_translateDuration(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set zoomDuration(e){Z.__wbg_set_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set zoomSpeed(e){Z.__wbg_set_cameracontrolupdateevent_zoomSpeed(this.__wbg_ptr,!V(e),V(e)?0:e)}};Symbol.dispose&&(a.prototype[Symbol.dispose]=a.prototype.free),Object.freeze({Forward:0,0:`Forward`,Backward:1,1:`Backward`,Left:2,2:`Left`,Right:3,3:`Right`,Up:4,4:`Up`,Down:5,5:`Down`});var o=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Xe.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_cameraflightendedevent_free(e,0)}get completed(){return Z.__wbg_get_cameraflightendedevent_completed(this.__wbg_ptr)!==0}get id(){return Z.__wbg_get_cameraflightendedevent_id(this.__wbg_ptr)>>>0}set completed(e){Z.__wbg_set_cameraflightendedevent_completed(this.__wbg_ptr,e)}set id(e){Z.__wbg_set_cameraflightendedevent_id(this.__wbg_ptr,e)}};Symbol.dispose&&(o.prototype[Symbol.dispose]=o.prototype.free);var s=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Ze.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_camerafrustum_free(e,0)}constructor(e,t,n,r){let i=Z.camerafrustum_new(e,t,n,r);return this.__wbg_ptr=i,Ze.register(this,this.__wbg_ptr,this),this}get aspect_ratio(){return Z.__wbg_get_camerafrustum_aspect_ratio(this.__wbg_ptr)}get far(){return Z.__wbg_get_camerafrustum_far(this.__wbg_ptr)}get fov(){return Z.__wbg_get_camerafrustum_fov(this.__wbg_ptr)}get near(){return Z.__wbg_get_camerafrustum_near(this.__wbg_ptr)}set aspect_ratio(e){Z.__wbg_set_camerafrustum_aspect_ratio(this.__wbg_ptr,e)}set far(e){Z.__wbg_set_camerafrustum_far(this.__wbg_ptr,e)}set fov(e){Z.__wbg_set_camerafrustum_fov(this.__wbg_ptr,e)}set near(e){Z.__wbg_set_camerafrustum_near(this.__wbg_ptr,e)}};Symbol.dispose&&(s.prototype[Symbol.dispose]=s.prototype.free);var c=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Qe.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_cameraorientation_free(e,0)}get heading(){return Z.__wbg_get_cameraorientation_heading(this.__wbg_ptr)}get pitch(){return Z.__wbg_get_cameraorientation_pitch(this.__wbg_ptr)}get roll(){return Z.__wbg_get_cameraorientation_roll(this.__wbg_ptr)}set heading(e){Z.__wbg_set_cameraorientation_heading(this.__wbg_ptr,e)}set pitch(e){Z.__wbg_set_cameraorientation_pitch(this.__wbg_ptr,e)}set roll(e){Z.__wbg_set_cameraorientation_roll(this.__wbg_ptr,e)}};Symbol.dispose&&(c.prototype[Symbol.dispose]=c.prototype.free);var l=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,$e.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_camerastatus_free(e,0)}get status(){let e=Z.__wbg_get_camerastatus_status(this.__wbg_ptr);var t=O(e[0],e[1]).slice();return Z.__wbindgen_free(e[0],e[1]*4,4),t}set status(e){let t=G(e,Z.__wbindgen_malloc),n=X;Z.__wbg_set_camerastatus_status(this.__wbg_ptr,t,n)}};Symbol.dispose&&(l.prototype[Symbol.dispose]=l.prototype.free),Object.freeze({Change:0,0:`Change`,LookAt:1,1:`LookAt`,Rotate:2,2:`Rotate`,MoveStart:3,3:`MoveStart`,Moving:4,4:`Moving`,MoveEnd:5,5:`MoveEnd`});var u=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,et.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_compiledexpression_free(e,0)}evaluate(e,t,n){var r=V(n)?0:K(n,Z.__wbindgen_malloc,Z.__wbindgen_realloc),i=X;let a=Z.compiledexpression_evaluate(this.__wbg_ptr,e,t,r,i);if(a[2])throw q(a[1]);return q(a[0])}getRequiredProperties(){return Z.compiledexpression_getRequiredProperties(this.__wbg_ptr)}constructor(e,t){var n=V(t)?0:K(t,Z.__wbindgen_malloc,Z.__wbindgen_realloc),r=X;let i=Z.compiledexpression_new(e,n,r);if(i[2])throw q(i[1]);return this.__wbg_ptr=i[0],et.register(this,this.__wbg_ptr,this),this}};Symbol.dispose&&(u.prototype[Symbol.dispose]=u.prototype.free);var d=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,tt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_compiledfilter_free(e,0)}constructor(e){let t=Z.compiledfilter_new(e);if(t[2])throw q(t[1]);return this.__wbg_ptr=t[0],tt.register(this,this.__wbg_ptr,this),this}test(e,t,n){var r=V(n)?0:K(n,Z.__wbindgen_malloc,Z.__wbindgen_realloc),i=X;let a=Z.compiledfilter_test(this.__wbg_ptr,e,t,r,i);if(a[2])throw q(a[1]);return a[0]!==0}};Symbol.dispose&&(d.prototype[Symbol.dispose]=d.prototype.free);var f=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,nt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_constructedpolygongeometry_free(e,0)}batch_id(){return Z.constructedpolygongeometry_batch_id(this.__wbg_ptr)}batch_id_size(){let e=Z.constructedpolygongeometry_batch_id_size(this.__wbg_ptr);return e===16777215?void 0:e}batch_index(){return Z.constructedpolygongeometry_batch_index(this.__wbg_ptr)}batch_index_size(){let e=Z.constructedpolygongeometry_batch_index_size(this.__wbg_ptr);return e===16777215?void 0:e}indices(){return Z.constructedpolygongeometry_indices(this.__wbg_ptr)}normal(){return Z.constructedpolygongeometry_normal(this.__wbg_ptr)}normal_size(){let e=Z.constructedpolygongeometry_normal_size(this.__wbg_ptr);return e===16777215?void 0:e}outline(){let e=Z.constructedpolygongeometry_outline(this.__wbg_ptr);return e===0?void 0:p.__wrap(e)}position(){return Z.constructedpolygongeometry_position(this.__wbg_ptr)}position_3d_high(){return Z.constructedpolygongeometry_position_3d_high(this.__wbg_ptr)}position_3d_high_size(){let e=Z.constructedpolygongeometry_position_3d_high_size(this.__wbg_ptr);return e===16777215?void 0:e}position_3d_low(){return Z.constructedpolygongeometry_position_3d_low(this.__wbg_ptr)}position_3d_low_size(){let e=Z.constructedpolygongeometry_position_3d_low_size(this.__wbg_ptr);return e===16777215?void 0:e}position_size(){let e=Z.constructedpolygongeometry_position_size(this.__wbg_ptr);return e===16777215?void 0:e}scale_normal_and_cap(){return Z.constructedpolygongeometry_scale_normal_and_cap(this.__wbg_ptr)}scale_normal_and_cap_size(){let e=Z.constructedpolygongeometry_scale_normal_and_cap_size(this.__wbg_ptr);return e===16777215?void 0:e}get extent(){let e=Z.__wbg_get_constructedpolygongeometry_extent(this.__wbg_ptr);return e===0?void 0:m.__wrap(e)}get rtc_translation(){let e=Z.__wbg_get_constructedpolygongeometry_rtc_translation(this.__wbg_ptr);return e===0?void 0:x.__wrap(e)}set extent(e){let t=0;V(e)||(w(e,m),t=e.__destroy_into_raw()),Z.__wbg_set_constructedpolygongeometry_extent(this.__wbg_ptr,t)}set rtc_translation(e){let t=0;V(e)||(w(e,x),t=e.__destroy_into_raw()),Z.__wbg_set_constructedpolygongeometry_rtc_translation(this.__wbg_ptr,t)}};Symbol.dispose&&(f.prototype[Symbol.dispose]=f.prototype.free);var p=class e{static __wrap(t){let n=Object.create(e.prototype);return n.__wbg_ptr=t,rt.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,rt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_constructedpolygonoutlinegeometry_free(e,0)}batch_index(){return Z.constructedpolygonoutlinegeometry_batch_index(this.__wbg_ptr)}batch_index_size(){let e=Z.constructedpolygonoutlinegeometry_batch_index_size(this.__wbg_ptr);return e===16777215?void 0:e}position(){return Z.constructedpolygonoutlinegeometry_position(this.__wbg_ptr)}position_3d_high(){return Z.constructedpolygonoutlinegeometry_position_3d_high(this.__wbg_ptr)}position_3d_high_size(){let e=Z.constructedpolygonoutlinegeometry_position_3d_high_size(this.__wbg_ptr);return e===16777215?void 0:e}position_3d_low(){return Z.constructedpolygonoutlinegeometry_position_3d_low(this.__wbg_ptr)}position_3d_low_size(){let e=Z.constructedpolygonoutlinegeometry_position_3d_low_size(this.__wbg_ptr);return e===16777215?void 0:e}position_size(){return Z.constructedpolygonoutlinegeometry_position_size(this.__wbg_ptr)}scale_normal_and_cap(){return Z.constructedpolygonoutlinegeometry_scale_normal_and_cap(this.__wbg_ptr)}scale_normal_and_cap_size(){return Z.constructedpolygonoutlinegeometry_scale_normal_and_cap_size(this.__wbg_ptr)}skip_indices(){return Z.constructedpolygonoutlinegeometry_skip_indices(this.__wbg_ptr)}};Symbol.dispose&&(p.prototype[Symbol.dispose]=p.prototype.free);var ee=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,it.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_constructedpolylinegeometry_free(e,0)}batch_id(){return Z.constructedpolylinegeometry_batch_id(this.__wbg_ptr)}batch_id_size(){let e=Z.constructedpolylinegeometry_batch_id_size(this.__wbg_ptr);return e===16777215?void 0:e}batch_index(){return Z.constructedpolylinegeometry_batch_index(this.__wbg_ptr)}batch_index_size(){let e=Z.constructedpolylinegeometry_batch_index_size(this.__wbg_ptr);return e===16777215?void 0:e}end_high(){return Z.constructedpolylinegeometry_end_high(this.__wbg_ptr)}end_high_size(){let e=Z.constructedpolylinegeometry_end_high_size(this.__wbg_ptr);return e===16777215?void 0:e}end_low(){return Z.constructedpolylinegeometry_end_low(this.__wbg_ptr)}end_low_size(){let e=Z.constructedpolylinegeometry_end_low_size(this.__wbg_ptr);return e===16777215?void 0:e}end_normal_and_texture_coordinate_normalization_x(){return Z.constructedpolylinegeometry_end_normal_and_texture_coordinate_normalization_x(this.__wbg_ptr)}end_normal_and_texture_coordinate_normalization_x_size(){let e=Z.constructedpolylinegeometry_end_normal_and_texture_coordinate_normalization_x_size(this.__wbg_ptr);return e===16777215?void 0:e}get extent(){let e=Z.constructedpolylinegeometry_extent(this.__wbg_ptr);return e===0?void 0:m.__wrap(e)}forward_offset(){return Z.constructedpolylinegeometry_forward_offset(this.__wbg_ptr)}forward_offset_size(){let e=Z.constructedpolylinegeometry_forward_offset_size(this.__wbg_ptr);return e===16777215?void 0:e}indices(){return Z.constructedpolylinegeometry_indices(this.__wbg_ptr)}position(){return Z.constructedpolylinegeometry_position(this.__wbg_ptr)}position_high(){return Z.constructedpolylinegeometry_position_high(this.__wbg_ptr)}position_high_size(){let e=Z.constructedpolylinegeometry_position_high_size(this.__wbg_ptr);return e===16777215?void 0:e}position_low(){return Z.constructedpolylinegeometry_position_low(this.__wbg_ptr)}position_low_size(){let e=Z.constructedpolylinegeometry_position_low_size(this.__wbg_ptr);return e===16777215?void 0:e}position_size(){return Z.constructedpolylinegeometry_position_size(this.__wbg_ptr)}right_normal_and_texture_coordinate_normalization_y(){return Z.constructedpolylinegeometry_right_normal_and_texture_coordinate_normalization_y(this.__wbg_ptr)}right_normal_and_texture_coordinate_normalization_y_size(){return Z.constructedpolylinegeometry_right_normal_and_texture_coordinate_normalization_y_size(this.__wbg_ptr)}start(){return Z.constructedpolylinegeometry_start(this.__wbg_ptr)}start_high(){return Z.constructedpolylinegeometry_start_high(this.__wbg_ptr)}start_high_size(){let e=Z.constructedpolylinegeometry_start_high_size(this.__wbg_ptr);return e===16777215?void 0:e}start_low(){return Z.constructedpolylinegeometry_start_low(this.__wbg_ptr)}start_low_size(){let e=Z.constructedpolylinegeometry_start_low_size(this.__wbg_ptr);return e===16777215?void 0:e}start_normals(){return Z.constructedpolylinegeometry_start_normals(this.__wbg_ptr)}start_normals_size(){let e=Z.constructedpolylinegeometry_start_normals_size(this.__wbg_ptr);return e===16777215?void 0:e}start_size(){let e=Z.constructedpolylinegeometry_start_size(this.__wbg_ptr);return e===16777215?void 0:e}};Symbol.dispose&&(ee.prototype[Symbol.dispose]=ee.prototype.free);var te=class e{static __wrap(t){let n=Object.create(e.prototype);return n.__wbg_ptr=t,at.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,at.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_elevationdecoder_free(e,0)}static japanGSI(){let t=Z.elevationdecoder_japanGSI();return e.__wrap(t)}static mapbox(){let t=Z.elevationdecoder_mapbox();return e.__wrap(t)}constructor(e,t,n,r,i,a,o,s){let c=Z.elevationdecoder_new(e,t,n,r,i,a,o,s);return this.__wbg_ptr=c,at.register(this,this.__wbg_ptr,this),this}static terrarium(){let t=Z.elevationdecoder_terrarium();return e.__wrap(t)}get b_scaler(){return Z.__wbg_get_elevationdecoder_b_scaler(this.__wbg_ptr)}get boundary(){return Z.__wbg_get_elevationdecoder_boundary(this.__wbg_ptr)}get epsilon(){return Z.__wbg_get_elevationdecoder_epsilon(this.__wbg_ptr)}get g_scaler(){return Z.__wbg_get_elevationdecoder_g_scaler(this.__wbg_ptr)}get max_offset(){return Z.__wbg_get_elevationdecoder_max_offset(this.__wbg_ptr)}get min_offset(){return Z.__wbg_get_elevationdecoder_min_offset(this.__wbg_ptr)}get offset(){return Z.__wbg_get_elevationdecoder_offset(this.__wbg_ptr)}get r_scaler(){return Z.__wbg_get_elevationdecoder_r_scaler(this.__wbg_ptr)}set b_scaler(e){Z.__wbg_set_elevationdecoder_b_scaler(this.__wbg_ptr,e)}set boundary(e){Z.__wbg_set_elevationdecoder_boundary(this.__wbg_ptr,e)}set epsilon(e){Z.__wbg_set_elevationdecoder_epsilon(this.__wbg_ptr,e)}set g_scaler(e){Z.__wbg_set_elevationdecoder_g_scaler(this.__wbg_ptr,e)}set max_offset(e){Z.__wbg_set_elevationdecoder_max_offset(this.__wbg_ptr,e)}set min_offset(e){Z.__wbg_set_elevationdecoder_min_offset(this.__wbg_ptr,e)}set offset(e){Z.__wbg_set_elevationdecoder_offset(this.__wbg_ptr,e)}set r_scaler(e){Z.__wbg_set_elevationdecoder_r_scaler(this.__wbg_ptr,e)}};Symbol.dispose&&(te.prototype[Symbol.dispose]=te.prototype.free);var ne=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,ot.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_elevationheatmapmaterial_free(e,0)}get logBoundary(){let e=Z.__wbg_get_elevationheatmapmaterial_logBoundary(this.__wbg_ptr);return e[0]===0?void 0:e[1]}get logarithmic(){let e=Z.__wbg_get_elevationheatmapmaterial_logarithmic(this.__wbg_ptr);return e===16777215?void 0:e!==0}get maxHeight(){let e=Z.__wbg_get_elevationheatmapmaterial_maxHeight(this.__wbg_ptr);return e[0]===0?void 0:e[1]}get minHeight(){let e=Z.__wbg_get_elevationheatmapmaterial_minHeight(this.__wbg_ptr);return e[0]===0?void 0:e[1]}set logBoundary(e){Z.__wbg_set_elevationheatmapmaterial_logBoundary(this.__wbg_ptr,!V(e),V(e)?0:e)}set logarithmic(e){Z.__wbg_set_elevationheatmapmaterial_logarithmic(this.__wbg_ptr,V(e)?16777215:+!!e)}set maxHeight(e){Z.__wbg_set_elevationheatmapmaterial_maxHeight(this.__wbg_ptr,!V(e),V(e)?0:e)}set minHeight(e){Z.__wbg_set_elevationheatmapmaterial_minHeight(this.__wbg_ptr,!V(e),V(e)?0:e)}};Symbol.dispose&&(ne.prototype[Symbol.dispose]=ne.prototype.free);var re=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,st.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_ellipsoidgeodesic_free(e,0)}interpolateDistance(e){let t=Z.ellipsoidgeodesic_interpolateDistance(this.__wbg_ptr,e);return g.__wrap(t)}interpolateGeodeticPoints(e){let t=Z.ellipsoidgeodesic_interpolateGeodeticPoints(this.__wbg_ptr,!V(e),V(e)?0:e);var n=O(t[0],t[1]).slice();return Z.__wbindgen_free(t[0],t[1]*4,4),n}constructor(e,t){w(e,g);var n=e.__destroy_into_raw();w(t,g);var r=t.__destroy_into_raw();let i=Z.ellipsoidgeodesic_new(n,r);return this.__wbg_ptr=i,st.register(this,this.__wbg_ptr,this),this}get converged(){return Z.__wbg_get_ellipsoidgeodesic_converged(this.__wbg_ptr)!==0}get distance(){return Z.__wbg_get_ellipsoidgeodesic_distance(this.__wbg_ptr)}get end_heading(){return Z.__wbg_get_ellipsoidgeodesic_end_heading(this.__wbg_ptr)}get end(){let e=Z.__wbg_get_ellipsoidgeodesic_end(this.__wbg_ptr);return g.__wrap(e)}get start_heading(){return Z.__wbg_get_ellipsoidgeodesic_start_heading(this.__wbg_ptr)}get start(){let e=Z.__wbg_get_ellipsoidgeodesic_start(this.__wbg_ptr);return g.__wrap(e)}set converged(e){Z.__wbg_set_ellipsoidgeodesic_converged(this.__wbg_ptr,e)}set distance(e){Z.__wbg_set_ellipsoidgeodesic_distance(this.__wbg_ptr,e)}set end_heading(e){Z.__wbg_set_ellipsoidgeodesic_end_heading(this.__wbg_ptr,e)}set end(e){w(e,g);var t=e.__destroy_into_raw();Z.__wbg_set_ellipsoidgeodesic_end(this.__wbg_ptr,t)}set start_heading(e){Z.__wbg_set_ellipsoidgeodesic_start_heading(this.__wbg_ptr,e)}set start(e){w(e,g);var t=e.__destroy_into_raw();Z.__wbg_set_ellipsoidgeodesic_start(this.__wbg_ptr,t)}};Symbol.dispose&&(re.prototype[Symbol.dispose]=re.prototype.free);var ie=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,ct.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_encodedvec3_free(e,0)}constructor(e,t){w(e,x);var n=e.__destroy_into_raw();w(t,x);var r=t.__destroy_into_raw();let i=Z.encodedvec3_new(n,r);return this.__wbg_ptr=i,ct.register(this,this.__wbg_ptr,this),this}get high(){let e=Z.__wbg_get_encodedvec3_high(this.__wbg_ptr);return x.__wrap(e)}get low(){let e=Z.__wbg_get_encodedvec3_low(this.__wbg_ptr);return x.__wrap(e)}set high(e){w(e,x);var t=e.__destroy_into_raw();Z.__wbg_set_encodedvec3_high(this.__wbg_ptr,t)}set low(e){w(e,x);var t=e.__destroy_into_raw();Z.__wbg_set_encodedvec3_low(this.__wbg_ptr,t)}};Symbol.dispose&&(ie.prototype[Symbol.dispose]=ie.prototype.free);var m=class e{static __wrap(t){let n=Object.create(e.prototype);return n.__wbg_ptr=t,lt.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,lt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_extentradianf32_free(e,0)}constructor(e,t,n,r){let i=Z.extentradianf32_new(e,t,n,r);return this.__wbg_ptr=i,lt.register(this,this.__wbg_ptr,this),this}get east(){return Z.__wbg_get_extentradianf32_east(this.__wbg_ptr)}get north(){return Z.__wbg_get_extentradianf32_north(this.__wbg_ptr)}get south(){return Z.__wbg_get_extentradianf32_south(this.__wbg_ptr)}get west(){return Z.__wbg_get_extentradianf32_west(this.__wbg_ptr)}set east(e){Z.__wbg_set_extentradianf32_east(this.__wbg_ptr,e)}set north(e){Z.__wbg_set_extentradianf32_north(this.__wbg_ptr,e)}set south(e){Z.__wbg_set_extentradianf32_south(this.__wbg_ptr,e)}set west(e){Z.__wbg_set_extentradianf32_west(this.__wbg_ptr,e)}};Symbol.dispose&&(m.prototype[Symbol.dispose]=m.prototype.free);var ae=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,ut.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_floatattribute_free(e,0)}constructor(e,t){let n=W(e,Z.__wbindgen_malloc),r=X,i=Z.floatattribute_new(n,r,t);return this.__wbg_ptr=i,ut.register(this,this.__wbg_ptr,this),this}transferData(){return Z.floatattribute_transferData(this.__wbg_ptr)}get size(){return Z.__wbg_get_floatattribute_size(this.__wbg_ptr)}set size(e){Z.__wbg_set_floatattribute_size(this.__wbg_ptr,e)}};Symbol.dispose&&(ae.prototype[Symbol.dispose]=ae.prototype.free);var h=class e{static __wrap(t){let n=Object.create(e.prototype);return n.__wbg_ptr=t,dt.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,dt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_fontatlas_free(e,0)}get channels(){return Z.__wbg_get_fontatlas_channels(this.__wbg_ptr)>>>0}get data(){return Z.__wbg_get_fontatlas_data(this.__wbg_ptr)}get height(){return Z.__wbg_get_fontatlas_height(this.__wbg_ptr)>>>0}get width(){return Z.__wbg_get_fontatlas_width(this.__wbg_ptr)>>>0}set channels(e){Z.__wbg_set_fontatlas_channels(this.__wbg_ptr,e)}set data(e){Z.__wbg_set_fontatlas_data(this.__wbg_ptr,e)}set height(e){Z.__wbg_set_fontatlas_height(this.__wbg_ptr,e)}set width(e){Z.__wbg_set_fontatlas_width(this.__wbg_ptr,e)}};Symbol.dispose&&(h.prototype[Symbol.dispose]=h.prototype.free);var oe=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,ft.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_fontcache_free(e,0)}getAtlasKey(e){let t=K(e,Z.__wbindgen_malloc,Z.__wbindgen_realloc),n=X,r=Z.fontcache_getAtlasKey(this.__wbg_ptr,t,n),i;return r[0]!==0&&(i=I(r[0],r[1]).slice(),Z.__wbindgen_free(r[0],r[1]*1,1)),i}getColorAtlas(e){let t=K(e,Z.__wbindgen_malloc,Z.__wbindgen_realloc),n=X,r=Z.fontcache_getColorAtlas(this.__wbg_ptr,t,n);return r===0?void 0:h.__wrap(r)}getFontAtlas(e){let t=K(e,Z.__wbindgen_malloc,Z.__wbindgen_realloc),n=X,r=Z.fontcache_getFontAtlas(this.__wbg_ptr,t,n);return r===0?void 0:h.__wrap(r)}isFontLoaded(e){let t=K(e,Z.__wbindgen_malloc,Z.__wbindgen_realloc),n=X;return Z.fontcache_isFontLoaded(this.__wbg_ptr,t,n)!==0}loadFont(e,t,n,r,i){let a=K(e,Z.__wbindgen_malloc,Z.__wbindgen_realloc),o=X;var s=V(r)?0:K(r,Z.__wbindgen_malloc,Z.__wbindgen_realloc),c=X,l=V(i)?0:K(i,Z.__wbindgen_malloc,Z.__wbindgen_realloc),u=X;let d=Z.fontcache_loadFont(this.__wbg_ptr,a,o,t,n,s,c,l,u),f;return d[0]!==0&&(f=k(d[0],d[1]).slice(),Z.__wbindgen_free(d[0],d[1]*4,4)),f}memoryStats(){let e=Z.fontcache_memoryStats(this.__wbg_ptr);return se.__wrap(e)}constructor(){let e=Z.fontcache_new();return this.__wbg_ptr=e,ft.register(this,this.__wbg_ptr,this),this}releaseGlyphs(e,t){let n=K(e,Z.__wbindgen_malloc,Z.__wbindgen_realloc),r=X,i=cn(t,Z.__wbindgen_malloc),a=X;Z.fontcache_releaseGlyphs(this.__wbg_ptr,n,r,i,a)}retainGlyphs(e,t){let n=K(e,Z.__wbindgen_malloc,Z.__wbindgen_realloc),r=X,i=cn(t,Z.__wbindgen_malloc),a=X;Z.fontcache_retainGlyphs(this.__wbg_ptr,n,r,i,a)}setBudget(e){Z.fontcache_setBudget(this.__wbg_ptr,!V(e),V(e)?0:e)}shapeText(e,t){let n=K(e,Z.__wbindgen_malloc,Z.__wbindgen_realloc),r=X,i=K(t,Z.__wbindgen_malloc,Z.__wbindgen_realloc),a=X,o=Z.fontcache_shapeText(this.__wbg_ptr,n,r,i,a);return o===0?void 0:Ee.__wrap(o)}unloadFont(e){let t=K(e,Z.__wbindgen_malloc,Z.__wbindgen_realloc),n=X;return Z.fontcache_unloadFont(this.__wbg_ptr,t,n)!==0}};Symbol.dispose&&(oe.prototype[Symbol.dispose]=oe.prototype.free);var se=class e{static __wrap(t){let n=Object.create(e.prototype);return n.__wbg_ptr=t,pt.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,pt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_fontcachestats_free(e,0)}get atlasBytes(){return Z.__wbg_get_fontcachestats_atlasBytes(this.__wbg_ptr)}get atlasCount(){return Z.__wbg_get_fontcachestats_atlasCount(this.__wbg_ptr)>>>0}get budgetBytes(){return Z.__wbg_get_fontcachestats_budgetBytes(this.__wbg_ptr)}get colorAtlasBytes(){return Z.__wbg_get_fontcachestats_colorAtlasBytes(this.__wbg_ptr)}get fontBytes(){return Z.__wbg_get_fontcachestats_fontBytes(this.__wbg_ptr)}get fontCount(){return Z.__wbg_get_fontcachestats_fontCount(this.__wbg_ptr)>>>0}get glyphCount(){return Z.__wbg_get_fontcachestats_glyphCount(this.__wbg_ptr)>>>0}};Symbol.dispose&&(se.prototype[Symbol.dispose]=se.prototype.free);var ce=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,mt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_geometry_free(e,0)}hasNormals(){return Z.geometry_hasNormals(this.__wbg_ptr)!==0}hasSkirt(){return Z.geometry_hasSkirt(this.__wbg_ptr)!==0}constructor(e,t,n){let r=W(e,Z.__wbindgen_malloc),i=X,a=H(t,Z.__wbindgen_malloc),o=X,s=W(n,Z.__wbindgen_malloc),c=X,l=Z.geometry_new(r,i,a,o,s,c);return this.__wbg_ptr=l,mt.register(this,this.__wbg_ptr,this),this}transferIndices(){return Z.geometry_transferIndices(this.__wbg_ptr)}transferNormals(){return Z.geometry_transferNormals(this.__wbg_ptr)}transferSkirtIndices(){return Z.geometry_transferSkirtIndices(this.__wbg_ptr)}transferSkirtNormals(){return Z.geometry_transferSkirtNormals(this.__wbg_ptr)}transferSkirtUvs(){return Z.geometry_transferSkirtUvs(this.__wbg_ptr)}transferSkirtVertices(){return Z.geometry_transferSkirtVertices(this.__wbg_ptr)}transferUvs(){return Z.geometry_transferUvs(this.__wbg_ptr)}transferVertices(){return Z.geometry_transferVertices(this.__wbg_ptr)}};Symbol.dispose&&(ce.prototype[Symbol.dispose]=ce.prototype.free);var le=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,ht.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_globe_free(e,0)}get color(){return Z.__wbg_get_globe_color(this.__wbg_ptr)>>>0}get elevationColormap(){let e=Z.__wbg_get_globe_elevationColormap(this.__wbg_ptr);var t=E(e[0],e[1]).slice();return Z.__wbindgen_free(e[0],e[1]*4,4),t}get hideUnderground(){return Z.__wbg_get_globe_hideUnderground(this.__wbg_ptr)!==0}get isGeographicTiling(){return Z.__wbg_get_globe_isGeographicTiling(this.__wbg_ptr)!==0}get maxSse(){return Z.__wbg_get_globe_maxSse(this.__wbg_ptr)}get opacity(){return Z.__wbg_get_globe_opacity(this.__wbg_ptr)}get segments(){return Z.__wbg_get_globe_segments(this.__wbg_ptr)}get transparent(){return Z.__wbg_get_globe_transparent(this.__wbg_ptr)!==0}get useNormal(){return Z.__wbg_get_globe_useNormal(this.__wbg_ptr)!==0}get wireframe(){return Z.__wbg_get_globe_wireframe(this.__wbg_ptr)!==0}constructor(e,t,n,r,i,a,o,s,c){let l=W(c,Z.__wbindgen_malloc),u=X,d=Z.globe_new(e,t,n,r,i,a,o,s,l,u);return this.__wbg_ptr=d,ht.register(this,this.__wbg_ptr,this),this}set color(e){Z.__wbg_set_globe_color(this.__wbg_ptr,e)}set elevationColormap(e){let t=W(e,Z.__wbindgen_malloc),n=X;Z.__wbg_set_globe_elevationColormap(this.__wbg_ptr,t,n)}set hideUnderground(e){Z.__wbg_set_globe_hideUnderground(this.__wbg_ptr,e)}set isGeographicTiling(e){Z.__wbg_set_globe_isGeographicTiling(this.__wbg_ptr,e)}set maxSse(e){Z.__wbg_set_globe_maxSse(this.__wbg_ptr,e)}set opacity(e){Z.__wbg_set_globe_opacity(this.__wbg_ptr,e)}set segments(e){Z.__wbg_set_globe_segments(this.__wbg_ptr,e)}set transparent(e){Z.__wbg_set_globe_transparent(this.__wbg_ptr,e)}set useNormal(e){Z.__wbg_set_globe_useNormal(this.__wbg_ptr,e)}set wireframe(e){Z.__wbg_set_globe_wireframe(this.__wbg_ptr,e)}};Symbol.dispose&&(le.prototype[Symbol.dispose]=le.prototype.free);var ue=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,gt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_hillshadematerial_free(e,0)}get exaggeration(){let e=Z.__wbg_get_hillshadematerial_exaggeration(this.__wbg_ptr);return e===2**53-1?void 0:e}set exaggeration(e){Z.__wbg_set_hillshadematerial_exaggeration(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}};Symbol.dispose&&(ue.prototype[Symbol.dispose]=ue.prototype.free);var g=class e{static __wrap(t){let n=Object.create(e.prototype);return n.__wbg_ptr=t,_t.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,_t.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_lle_free(e,0)}get height(){return Z.__wbg_get_lle_height(this.__wbg_ptr)}get lat(){return Z.__wbg_get_lle_lat(this.__wbg_ptr)}get lng(){return Z.__wbg_get_lle_lng(this.__wbg_ptr)}constructor(e,t,n){let r=Z.lle_new(e,t,n);return this.__wbg_ptr=r,_t.register(this,this.__wbg_ptr,this),this}set height(e){Z.__wbg_set_lle_height(this.__wbg_ptr,e)}set lat(e){Z.__wbg_set_lle_lat(this.__wbg_ptr,e)}set lng(e){Z.__wbg_set_lle_lng(this.__wbg_ptr,e)}};Symbol.dispose&&(g.prototype[Symbol.dispose]=g.prototype.free);var _=class e{static __wrap(t){let n=Object.create(e.prototype);return n.__wbg_ptr=t,vt.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,vt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_modelinternalmaterial_free(e,0)}get dracoCompressed(){return Z.__wbg_get_modelinternalmaterial_dracoCompressed(this.__wbg_ptr)!==0}get pointCloudGeodeticNormal(){let e=Z.__wbg_get_modelinternalmaterial_pointCloudGeodeticNormal(this.__wbg_ptr);return x.__wrap(e)}get pointCloud(){return Z.__wbg_get_modelinternalmaterial_pointCloud(this.__wbg_ptr)!==0}set dracoCompressed(e){Z.__wbg_set_modelinternalmaterial_dracoCompressed(this.__wbg_ptr,e)}set pointCloudGeodeticNormal(e){w(e,x);var t=e.__destroy_into_raw();Z.__wbg_set_modelinternalmaterial_pointCloudGeodeticNormal(this.__wbg_ptr,t)}set pointCloud(e){Z.__wbg_set_modelinternalmaterial_pointCloud(this.__wbg_ptr,e)}};Symbol.dispose&&(_.prototype[Symbol.dispose]=_.prototype.free);var de=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,yt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_modelmaterial_free(e,0)}get __internal__(){let e=Z.__wbg_get_modelmaterial___internal__(this.__wbg_ptr);return e===0?void 0:_.__wrap(e)}get animationActiveClip(){let e=Z.__wbg_get_modelmaterial_animationActiveClip(this.__wbg_ptr),t;return e[0]!==0&&(t=I(e[0],e[1]).slice(),Z.__wbindgen_free(e[0],e[1]*1,1)),t}get animationSpeed(){let e=Z.__wbg_get_modelmaterial_animationSpeed(this.__wbg_ptr);return e===2**53-1?void 0:e}get applyWaterNormal(){let e=Z.__wbg_get_modelmaterial_applyWaterNormal(this.__wbg_ptr);return e===16777215?void 0:e!==0}get castShadow(){let e=Z.__wbg_get_modelmaterial_castShadow(this.__wbg_ptr);return e===16777215?void 0:e!==0}get color(){let e=Z.__wbg_get_modelmaterial_color(this.__wbg_ptr);return e===2**53-1?void 0:e}get creaseNormalAngle(){let e=Z.__wbg_get_modelmaterial_creaseNormalAngle(this.__wbg_ptr);return e===2**53-1?void 0:e}get depthWrite(){let e=Z.__wbg_get_modelmaterial_depthWrite(this.__wbg_ptr);return e===16777215?void 0:e!==0}get effectIds(){let e=Z.__wbg_get_modelmaterial_effectIds(this.__wbg_ptr),t;return e[0]!==0&&(t=O(e[0],e[1]).slice(),Z.__wbindgen_free(e[0],e[1]*4,4)),t}get emissiveColor(){let e=Z.__wbg_get_modelmaterial_emissiveColor(this.__wbg_ptr);return e===2**53-1?void 0:e}get emissiveIntensity(){let e=Z.__wbg_get_modelmaterial_emissiveIntensity(this.__wbg_ptr);return e===2**53-1?void 0:e}get height(){let e=Z.__wbg_get_modelmaterial_height(this.__wbg_ptr);return e===2**53-1?void 0:e}get ior(){let e=Z.__wbg_get_modelmaterial_ior(this.__wbg_ptr);return e===2**53-1?void 0:e}get lit(){let e=Z.__wbg_get_modelmaterial_lit(this.__wbg_ptr);return e===16777215?void 0:e!==0}get maxSse(){let e=Z.__wbg_get_modelmaterial_maxSse(this.__wbg_ptr);return e===2**53-1?void 0:e}get metalness(){let e=Z.__wbg_get_modelmaterial_metalness(this.__wbg_ptr);return e===2**53-1?void 0:e}get normals(){let e=Z.__wbg_get_modelmaterial_normals(this.__wbg_ptr);return e===16777215?void 0:e!==0}get opacity(){let e=Z.__wbg_get_modelmaterial_opacity(this.__wbg_ptr);return e===2**53-1?void 0:e}get pointSize(){let e=Z.__wbg_get_modelmaterial_pointSize(this.__wbg_ptr);return e===2**53-1?void 0:e}get receiveShadow(){let e=Z.__wbg_get_modelmaterial_receiveShadow(this.__wbg_ptr);return e===16777215?void 0:e!==0}get reflectivity(){let e=Z.__wbg_get_modelmaterial_reflectivity(this.__wbg_ptr);return e===2**53-1?void 0:e}get roughness(){let e=Z.__wbg_get_modelmaterial_roughness(this.__wbg_ptr);return e===2**53-1?void 0:e}get shininess(){let e=Z.__wbg_get_modelmaterial_shininess(this.__wbg_ptr);return e===2**53-1?void 0:e}get shouldRotateInDefault(){let e=Z.__wbg_get_modelmaterial_shouldRotateInDefault(this.__wbg_ptr);return e===16777215?void 0:e!==0}get showBoundingBox(){let e=Z.__wbg_get_modelmaterial_showBoundingBox(this.__wbg_ptr);return e===16777215?void 0:e!==0}get show(){let e=Z.__wbg_get_modelmaterial_show(this.__wbg_ptr);return e===16777215?void 0:e!==0}get size(){let e=Z.__wbg_get_modelmaterial_size(this.__wbg_ptr);return e===2**53-1?void 0:e}get specularStrength(){let e=Z.__wbg_get_modelmaterial_specularStrength(this.__wbg_ptr);return e===2**53-1?void 0:e}get specular(){let e=Z.__wbg_get_modelmaterial_specular(this.__wbg_ptr);return e===16777215?void 0:e!==0}get transparent(){let e=Z.__wbg_get_modelmaterial_transparent(this.__wbg_ptr);return e===16777215?void 0:e!==0}get url(){let e=Z.__wbg_get_modelmaterial_url(this.__wbg_ptr),t;return e[0]!==0&&(t=I(e[0],e[1]).slice(),Z.__wbindgen_free(e[0],e[1]*1,1)),t}get waterScaleNormal(){let e=Z.__wbg_get_modelmaterial_waterScaleNormal(this.__wbg_ptr);return e===2**53-1?void 0:e}get waterSpeed(){let e=Z.__wbg_get_modelmaterial_waterSpeed(this.__wbg_ptr);return e===2**53-1?void 0:e}get water(){let e=Z.__wbg_get_modelmaterial_water(this.__wbg_ptr);return e===16777215?void 0:e!==0}set __internal__(e){let t=0;V(e)||(w(e,_),t=e.__destroy_into_raw()),Z.__wbg_set_modelmaterial___internal__(this.__wbg_ptr,t)}set animationActiveClip(e){var t=V(e)?0:K(e,Z.__wbindgen_malloc,Z.__wbindgen_realloc),n=X;Z.__wbg_set_modelmaterial_animationActiveClip(this.__wbg_ptr,t,n)}set animationSpeed(e){Z.__wbg_set_modelmaterial_animationSpeed(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set applyWaterNormal(e){Z.__wbg_set_modelmaterial_applyWaterNormal(this.__wbg_ptr,V(e)?16777215:+!!e)}set castShadow(e){Z.__wbg_set_modelmaterial_castShadow(this.__wbg_ptr,V(e)?16777215:+!!e)}set color(e){Z.__wbg_set_modelmaterial_color(this.__wbg_ptr,V(e)?2**53-1:e>>>0)}set creaseNormalAngle(e){Z.__wbg_set_modelmaterial_creaseNormalAngle(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set depthWrite(e){Z.__wbg_set_modelmaterial_depthWrite(this.__wbg_ptr,V(e)?16777215:+!!e)}set effectIds(e){var t=V(e)?0:G(e,Z.__wbindgen_malloc),n=X;Z.__wbg_set_modelmaterial_effectIds(this.__wbg_ptr,t,n)}set emissiveColor(e){Z.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr,V(e)?2**53-1:e>>>0)}set emissiveIntensity(e){Z.__wbg_set_modelmaterial_emissiveIntensity(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set height(e){Z.__wbg_set_modelmaterial_height(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set ior(e){Z.__wbg_set_modelmaterial_ior(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set lit(e){Z.__wbg_set_modelmaterial_lit(this.__wbg_ptr,V(e)?16777215:+!!e)}set maxSse(e){Z.__wbg_set_modelmaterial_maxSse(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set metalness(e){Z.__wbg_set_modelmaterial_metalness(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set normals(e){Z.__wbg_set_modelmaterial_normals(this.__wbg_ptr,V(e)?16777215:+!!e)}set opacity(e){Z.__wbg_set_modelmaterial_opacity(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set pointSize(e){Z.__wbg_set_modelmaterial_pointSize(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set receiveShadow(e){Z.__wbg_set_modelmaterial_receiveShadow(this.__wbg_ptr,V(e)?16777215:+!!e)}set reflectivity(e){Z.__wbg_set_modelmaterial_reflectivity(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set roughness(e){Z.__wbg_set_modelmaterial_roughness(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set shininess(e){Z.__wbg_set_modelmaterial_shininess(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set shouldRotateInDefault(e){Z.__wbg_set_modelmaterial_shouldRotateInDefault(this.__wbg_ptr,V(e)?16777215:+!!e)}set showBoundingBox(e){Z.__wbg_set_modelmaterial_showBoundingBox(this.__wbg_ptr,V(e)?16777215:+!!e)}set show(e){Z.__wbg_set_modelmaterial_show(this.__wbg_ptr,V(e)?16777215:+!!e)}set size(e){Z.__wbg_set_modelmaterial_size(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set specularStrength(e){Z.__wbg_set_modelmaterial_specularStrength(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set specular(e){Z.__wbg_set_modelmaterial_specular(this.__wbg_ptr,V(e)?16777215:+!!e)}set transparent(e){Z.__wbg_set_modelmaterial_transparent(this.__wbg_ptr,V(e)?16777215:+!!e)}set url(e){var t=V(e)?0:K(e,Z.__wbindgen_malloc,Z.__wbindgen_realloc),n=X;Z.__wbg_set_modelmaterial_url(this.__wbg_ptr,t,n)}set waterScaleNormal(e){Z.__wbg_set_modelmaterial_waterScaleNormal(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set waterSpeed(e){Z.__wbg_set_modelmaterial_waterSpeed(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set water(e){Z.__wbg_set_modelmaterial_water(this.__wbg_ptr,V(e)?16777215:+!!e)}};Symbol.dispose&&(de.prototype[Symbol.dispose]=de.prototype.free);var fe=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,bt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_nearfar_free(e,0)}get far(){return Z.__wbg_get_nearfar_far(this.__wbg_ptr)}get near(){return Z.__wbg_get_nearfar_near(this.__wbg_ptr)}set far(e){Z.__wbg_set_nearfar_far(this.__wbg_ptr,e)}set near(e){Z.__wbg_set_nearfar_near(this.__wbg_ptr,e)}};Symbol.dispose&&(fe.prototype[Symbol.dispose]=fe.prototype.free);var pe=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,xt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_overscaledtilehandle_free(e,0)}get handle(){let e=Z.__wbg_get_overscaledtilehandle_handle(this.__wbg_ptr);return BigInt.asUintN(64,e)}set handle(e){Z.__wbg_set_overscaledtilehandle_handle(this.__wbg_ptr,e)}};Symbol.dispose&&(pe.prototype[Symbol.dispose]=pe.prototype.free);var me=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,St.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_plane_free(e,0)}get distance(){return Z.__wbg_get_plane_distance(this.__wbg_ptr)}get normal(){let e=Z.__wbg_get_plane_normal(this.__wbg_ptr);return x.__wrap(e)}set distance(e){Z.__wbg_set_plane_distance(this.__wbg_ptr,e)}set normal(e){w(e,x);var t=e.__destroy_into_raw();Z.__wbg_set_plane_normal(this.__wbg_ptr,t)}};Symbol.dispose&&(me.prototype[Symbol.dispose]=me.prototype.free);var he=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Ct.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_pointmaterial_free(e,0)}get center(){let e=Z.__wbg_get_pointmaterial_center(this.__wbg_ptr);return e===0?void 0:b.__wrap(e)}get clampToGround(){let e=Z.__wbg_get_pointmaterial_clampToGround(this.__wbg_ptr);return e===16777215?void 0:e!==0}get color(){let e=Z.__wbg_get_pointmaterial_color(this.__wbg_ptr);return e===2**53-1?void 0:e}get declutterPriority(){let e=Z.__wbg_get_pointmaterial_declutterPriority(this.__wbg_ptr);return e===2**53-1?void 0:e}get declutter(){let e=Z.__wbg_get_pointmaterial_declutter(this.__wbg_ptr);return e===16777215?void 0:e!==0}get depthTest(){let e=Z.__wbg_get_pointmaterial_depthTest(this.__wbg_ptr);return e===16777215?void 0:e!==0}get effectIds(){let e=Z.__wbg_get_pointmaterial_effectIds(this.__wbg_ptr),t;return e[0]!==0&&(t=O(e[0],e[1]).slice(),Z.__wbindgen_free(e[0],e[1]*4,4)),t}get emissiveColor(){let e=Z.__wbg_get_pointmaterial_emissiveColor(this.__wbg_ptr);return e===2**53-1?void 0:e}get emissiveIntensity(){let e=Z.__wbg_get_pointmaterial_emissiveIntensity(this.__wbg_ptr);return e===2**53-1?void 0:e}get height(){let e=Z.__wbg_get_pointmaterial_height(this.__wbg_ptr);return e===2**53-1?void 0:e}get offsetDepth(){let e=Z.__wbg_get_pointmaterial_offsetDepth(this.__wbg_ptr);return e===16777215?void 0:e!==0}get opacity(){let e=Z.__wbg_get_pointmaterial_opacity(this.__wbg_ptr);return e===2**53-1?void 0:e}get show(){let e=Z.__wbg_get_pointmaterial_show(this.__wbg_ptr);return e===16777215?void 0:e!==0}get sizeInMeters(){let e=Z.__wbg_get_pointmaterial_sizeInMeters(this.__wbg_ptr);return e===16777215?void 0:e!==0}get size(){let e=Z.__wbg_get_pointmaterial_size(this.__wbg_ptr);return e===2**53-1?void 0:e}get transparent(){let e=Z.__wbg_get_pointmaterial_transparent(this.__wbg_ptr);return e===16777215?void 0:e!==0}set center(e){let t=0;V(e)||(w(e,b),t=e.__destroy_into_raw()),Z.__wbg_set_pointmaterial_center(this.__wbg_ptr,t)}set clampToGround(e){Z.__wbg_set_pointmaterial_clampToGround(this.__wbg_ptr,V(e)?16777215:+!!e)}set color(e){Z.__wbg_set_pointmaterial_color(this.__wbg_ptr,V(e)?2**53-1:e>>>0)}set declutterPriority(e){Z.__wbg_set_pointmaterial_declutterPriority(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set declutter(e){Z.__wbg_set_pointmaterial_declutter(this.__wbg_ptr,V(e)?16777215:+!!e)}set depthTest(e){Z.__wbg_set_pointmaterial_depthTest(this.__wbg_ptr,V(e)?16777215:+!!e)}set effectIds(e){var t=V(e)?0:G(e,Z.__wbindgen_malloc),n=X;Z.__wbg_set_pointmaterial_effectIds(this.__wbg_ptr,t,n)}set emissiveColor(e){Z.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr,V(e)?2**53-1:e>>>0)}set emissiveIntensity(e){Z.__wbg_set_pointmaterial_emissiveIntensity(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set height(e){Z.__wbg_set_pointmaterial_height(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set offsetDepth(e){Z.__wbg_set_pointmaterial_offsetDepth(this.__wbg_ptr,V(e)?16777215:+!!e)}set opacity(e){Z.__wbg_set_pointmaterial_opacity(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set show(e){Z.__wbg_set_pointmaterial_show(this.__wbg_ptr,V(e)?16777215:+!!e)}set sizeInMeters(e){Z.__wbg_set_pointmaterial_sizeInMeters(this.__wbg_ptr,V(e)?16777215:+!!e)}set size(e){Z.__wbg_set_pointmaterial_size(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set transparent(e){Z.__wbg_set_pointmaterial_transparent(this.__wbg_ptr,V(e)?16777215:+!!e)}};Symbol.dispose&&(he.prototype[Symbol.dispose]=he.prototype.free);var ge=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,wt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_polygongeometry_free(e,0)}batch_id(){return Z.polygongeometry_batch_id(this.__wbg_ptr)}batch_id_size(){let e=Z.polygongeometry_batch_id_size(this.__wbg_ptr);return e===16777215?void 0:e}batch_index(){return Z.polygongeometry_batch_index(this.__wbg_ptr)}batch_index_size(){let e=Z.polygongeometry_batch_index_size(this.__wbg_ptr);return e===16777215?void 0:e}indices(){return Z.polygongeometry_indices(this.__wbg_ptr)}normal(){return Z.polygongeometry_normal(this.__wbg_ptr)}normal_size(){let e=Z.polygongeometry_normal_size(this.__wbg_ptr);return e===16777215?void 0:e}position(){return Z.polygongeometry_position(this.__wbg_ptr)}position_3d_high(){return Z.polygongeometry_position_3d_high(this.__wbg_ptr)}position_3d_high_size(){let e=Z.polygongeometry_position_3d_high_size(this.__wbg_ptr);return e===16777215?void 0:e}position_3d_low(){return Z.polygongeometry_position_3d_low(this.__wbg_ptr)}position_3d_low_size(){let e=Z.polygongeometry_position_3d_low_size(this.__wbg_ptr);return e===16777215?void 0:e}position_size(){let e=Z.polygongeometry_position_size(this.__wbg_ptr);return e===16777215?void 0:e}scale_normal_and_cap(){return Z.polygongeometry_scale_normal_and_cap(this.__wbg_ptr)}scale_normal_and_cap_size(){let e=Z.polygongeometry_scale_normal_and_cap_size(this.__wbg_ptr);return e===16777215?void 0:e}};Symbol.dispose&&(ge.prototype[Symbol.dispose]=ge.prototype.free);var _e=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Tt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_polygongeometryattributes_free(e,0)}transfer_batch_id(){return Z.polygongeometryattributes_transfer_batch_id(this.__wbg_ptr)}transfer_batch_id_size(){let e=Z.polygongeometryattributes_transfer_batch_id_size(this.__wbg_ptr);return e===16777215?void 0:e}transfer_batch_index(){return Z.polygongeometryattributes_transfer_batch_index(this.__wbg_ptr)}transfer_batch_index_size(){let e=Z.polygongeometryattributes_transfer_batch_index_size(this.__wbg_ptr);return e===16777215?void 0:e}transfer_normal(){return Z.polygongeometryattributes_transfer_normal(this.__wbg_ptr)}transfer_normal_size(){let e=Z.polygongeometryattributes_transfer_normal_size(this.__wbg_ptr);return e===16777215?void 0:e}transfer_position(){return Z.polygongeometryattributes_transfer_position(this.__wbg_ptr)}transfer_position_3d_high(){return Z.polygongeometryattributes_transfer_position_3d_high(this.__wbg_ptr)}transfer_position_3d_high_size(){let e=Z.polygongeometryattributes_transfer_position_3d_high_size(this.__wbg_ptr);return e===16777215?void 0:e}transfer_position_3d_low(){return Z.polygongeometryattributes_transfer_position_3d_low(this.__wbg_ptr)}transfer_position_3d_low_size(){let e=Z.polygongeometryattributes_transfer_position_3d_low_size(this.__wbg_ptr);return e===16777215?void 0:e}transfer_position_size(){let e=Z.polygongeometryattributes_transfer_position_size(this.__wbg_ptr);return e===16777215?void 0:e}transfer_scale_normal_and_cap(){return Z.polygongeometryattributes_transfer_scale_normal_and_cap(this.__wbg_ptr)}transfer_scale_normal_and_cap_size(){let e=Z.polygongeometryattributes_transfer_scale_normal_and_cap_size(this.__wbg_ptr);return e===16777215?void 0:e}};Symbol.dispose&&(_e.prototype[Symbol.dispose]=_e.prototype.free);var v=class e{static __wrap(t){let n=Object.create(e.prototype);return n.__wbg_ptr=t,Et.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Et.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_polygoninternalmaterial_free(e,0)}get minMaxHeights(){let e=Z.__wbg_get_polygoninternalmaterial_minMaxHeights(this.__wbg_ptr);var t=D(e[0],e[1]).slice();return Z.__wbindgen_free(e[0],e[1]*8,8),t}set minMaxHeights(e){let t=ln(e,Z.__wbindgen_malloc),n=X;Z.__wbg_set_polygoninternalmaterial_minMaxHeights(this.__wbg_ptr,t,n)}};Symbol.dispose&&(v.prototype[Symbol.dispose]=v.prototype.free);var ve=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Dt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_polygonmaterial_free(e,0)}get __internal__(){let e=Z.__wbg_get_polygonmaterial___internal__(this.__wbg_ptr);return e===0?void 0:v.__wrap(e)}get applyWaterNormal(){let e=Z.__wbg_get_polygonmaterial_applyWaterNormal(this.__wbg_ptr);return e===16777215?void 0:e!==0}get castShadow(){let e=Z.__wbg_get_polygonmaterial_castShadow(this.__wbg_ptr);return e===16777215?void 0:e!==0}get clampToGround(){let e=Z.__wbg_get_polygonmaterial_clampToGround(this.__wbg_ptr);return e===16777215?void 0:e!==0}get color(){let e=Z.__wbg_get_polygonmaterial_color(this.__wbg_ptr);return e===2**53-1?void 0:e}get effectIds(){let e=Z.__wbg_get_polygonmaterial_effectIds(this.__wbg_ptr),t;return e[0]!==0&&(t=O(e[0],e[1]).slice(),Z.__wbindgen_free(e[0],e[1]*4,4)),t}get emissiveColor(){let e=Z.__wbg_get_polygonmaterial_emissiveColor(this.__wbg_ptr);return e===2**53-1?void 0:e}get emissiveIntensity(){let e=Z.__wbg_get_polygonmaterial_emissiveIntensity(this.__wbg_ptr);return e===2**53-1?void 0:e}get extrudedHeight(){let e=Z.__wbg_get_polygonmaterial_extrudedHeight(this.__wbg_ptr);return e===2**53-1?void 0:e}get height(){let e=Z.__wbg_get_polygonmaterial_height(this.__wbg_ptr);return e===2**53-1?void 0:e}get ior(){let e=Z.__wbg_get_polygonmaterial_ior(this.__wbg_ptr);return e===2**53-1?void 0:e}get lit(){let e=Z.__wbg_get_polygonmaterial_lit(this.__wbg_ptr);return e===16777215?void 0:e!==0}get opacity(){let e=Z.__wbg_get_polygonmaterial_opacity(this.__wbg_ptr);return e===2**53-1?void 0:e}get outlineColor(){let e=Z.__wbg_get_polygonmaterial_outlineColor(this.__wbg_ptr);return e===2**53-1?void 0:e}get outlineShow(){let e=Z.__wbg_get_polygonmaterial_outlineShow(this.__wbg_ptr);return e===16777215?void 0:e!==0}get outlineWidth(){let e=Z.__wbg_get_polygonmaterial_outlineWidth(this.__wbg_ptr);return e===2**53-1?void 0:e}get outline(){let e=Z.__wbg_get_polygonmaterial_outline(this.__wbg_ptr);return e===16777215?void 0:e!==0}get perPositionHeight(){let e=Z.__wbg_get_polygonmaterial_perPositionHeight(this.__wbg_ptr);return e===16777215?void 0:e!==0}get receiveShadow(){let e=Z.__wbg_get_polygonmaterial_receiveShadow(this.__wbg_ptr);return e===16777215?void 0:e!==0}get reflectivity(){let e=Z.__wbg_get_polygonmaterial_reflectivity(this.__wbg_ptr);return e===2**53-1?void 0:e}get roughness(){let e=Z.__wbg_get_polygonmaterial_roughness(this.__wbg_ptr);return e===2**53-1?void 0:e}get shininess(){let e=Z.__wbg_get_polygonmaterial_shininess(this.__wbg_ptr);return e===2**53-1?void 0:e}get show(){let e=Z.__wbg_get_polygonmaterial_show(this.__wbg_ptr);return e===16777215?void 0:e!==0}get specularStrength(){let e=Z.__wbg_get_polygonmaterial_specularStrength(this.__wbg_ptr);return e===2**53-1?void 0:e}get specular(){let e=Z.__wbg_get_polygonmaterial_specular(this.__wbg_ptr);return e===16777215?void 0:e!==0}get surfaceShow(){let e=Z.__wbg_get_polygonmaterial_surfaceShow(this.__wbg_ptr);return e===16777215?void 0:e!==0}get tiled(){let e=Z.__wbg_get_polygonmaterial_tiled(this.__wbg_ptr);return e===16777215?void 0:e!==0}get transparent(){let e=Z.__wbg_get_polygonmaterial_transparent(this.__wbg_ptr);return e===16777215?void 0:e!==0}get waterScaleNormal(){let e=Z.__wbg_get_polygonmaterial_waterScaleNormal(this.__wbg_ptr);return e===2**53-1?void 0:e}get waterSpeed(){let e=Z.__wbg_get_polygonmaterial_waterSpeed(this.__wbg_ptr);return e===2**53-1?void 0:e}get water(){let e=Z.__wbg_get_polygonmaterial_water(this.__wbg_ptr);return e===16777215?void 0:e!==0}get wireframe(){let e=Z.__wbg_get_polygonmaterial_wireframe(this.__wbg_ptr);return e===16777215?void 0:e!==0}constructor(e,t,n,r,i,a,o,s,c,l,u,d){let f=0;V(d)||(w(d,v),f=d.__destroy_into_raw());let p=Z.polygonmaterial_new(V(e)?16777215:+!!e,V(t)?16777215:+!!t,V(n)?16777215:+!!n,V(r)?2**53-1:r>>>0,V(i)?16777215:+!!i,V(a)?16777215:+!!a,V(o)?2**53-1:Math.fround(o),V(s)?2**53-1:Math.fround(s),V(c)?16777215:+!!c,V(l)?16777215:+!!l,V(u)?16777215:+!!u,f);return this.__wbg_ptr=p,Dt.register(this,this.__wbg_ptr,this),this}set __internal__(e){let t=0;V(e)||(w(e,v),t=e.__destroy_into_raw()),Z.__wbg_set_polygonmaterial___internal__(this.__wbg_ptr,t)}set applyWaterNormal(e){Z.__wbg_set_polygonmaterial_applyWaterNormal(this.__wbg_ptr,V(e)?16777215:+!!e)}set castShadow(e){Z.__wbg_set_polygonmaterial_castShadow(this.__wbg_ptr,V(e)?16777215:+!!e)}set clampToGround(e){Z.__wbg_set_polygonmaterial_clampToGround(this.__wbg_ptr,V(e)?16777215:+!!e)}set color(e){Z.__wbg_set_polygonmaterial_color(this.__wbg_ptr,V(e)?2**53-1:e>>>0)}set effectIds(e){var t=V(e)?0:G(e,Z.__wbindgen_malloc),n=X;Z.__wbg_set_polygonmaterial_effectIds(this.__wbg_ptr,t,n)}set emissiveColor(e){Z.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr,V(e)?2**53-1:e>>>0)}set emissiveIntensity(e){Z.__wbg_set_polygonmaterial_emissiveIntensity(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set extrudedHeight(e){Z.__wbg_set_polygonmaterial_extrudedHeight(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set height(e){Z.__wbg_set_polygonmaterial_height(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set ior(e){Z.__wbg_set_polygonmaterial_ior(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set lit(e){Z.__wbg_set_polygonmaterial_lit(this.__wbg_ptr,V(e)?16777215:+!!e)}set opacity(e){Z.__wbg_set_polygonmaterial_opacity(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set outlineColor(e){Z.__wbg_set_polygonmaterial_outlineColor(this.__wbg_ptr,V(e)?2**53-1:e>>>0)}set outlineShow(e){Z.__wbg_set_polygonmaterial_outlineShow(this.__wbg_ptr,V(e)?16777215:+!!e)}set outlineWidth(e){Z.__wbg_set_polygonmaterial_outlineWidth(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set outline(e){Z.__wbg_set_polygonmaterial_outline(this.__wbg_ptr,V(e)?16777215:+!!e)}set perPositionHeight(e){Z.__wbg_set_polygonmaterial_perPositionHeight(this.__wbg_ptr,V(e)?16777215:+!!e)}set receiveShadow(e){Z.__wbg_set_polygonmaterial_receiveShadow(this.__wbg_ptr,V(e)?16777215:+!!e)}set reflectivity(e){Z.__wbg_set_polygonmaterial_reflectivity(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set roughness(e){Z.__wbg_set_polygonmaterial_roughness(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set shininess(e){Z.__wbg_set_polygonmaterial_shininess(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set show(e){Z.__wbg_set_polygonmaterial_show(this.__wbg_ptr,V(e)?16777215:+!!e)}set specularStrength(e){Z.__wbg_set_polygonmaterial_specularStrength(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set specular(e){Z.__wbg_set_polygonmaterial_specular(this.__wbg_ptr,V(e)?16777215:+!!e)}set surfaceShow(e){Z.__wbg_set_polygonmaterial_surfaceShow(this.__wbg_ptr,V(e)?16777215:+!!e)}set tiled(e){Z.__wbg_set_polygonmaterial_tiled(this.__wbg_ptr,V(e)?16777215:+!!e)}set transparent(e){Z.__wbg_set_polygonmaterial_transparent(this.__wbg_ptr,V(e)?16777215:+!!e)}set waterScaleNormal(e){Z.__wbg_set_polygonmaterial_waterScaleNormal(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set waterSpeed(e){Z.__wbg_set_polygonmaterial_waterSpeed(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set water(e){Z.__wbg_set_polygonmaterial_water(this.__wbg_ptr,V(e)?16777215:+!!e)}set wireframe(e){Z.__wbg_set_polygonmaterial_wireframe(this.__wbg_ptr,V(e)?16777215:+!!e)}};Symbol.dispose&&(ve.prototype[Symbol.dispose]=ve.prototype.free);var ye=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Ot.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_polylinegeometry_free(e,0)}batch_id(){return Z.polylinegeometry_batch_id(this.__wbg_ptr)}batch_id_size(){let e=Z.polylinegeometry_batch_id_size(this.__wbg_ptr);return e===16777215?void 0:e}batch_index(){return Z.polylinegeometry_batch_index(this.__wbg_ptr)}batch_index_size(){let e=Z.polylinegeometry_batch_index_size(this.__wbg_ptr);return e===16777215?void 0:e}end_high(){return Z.polylinegeometry_end_high(this.__wbg_ptr)}end_high_size(){let e=Z.polylinegeometry_end_high_size(this.__wbg_ptr);return e===16777215?void 0:e}end_low(){return Z.polylinegeometry_end_low(this.__wbg_ptr)}end_low_size(){let e=Z.polylinegeometry_end_low_size(this.__wbg_ptr);return e===16777215?void 0:e}end_normal_and_texture_coordinate_normalization_x(){return Z.polylinegeometry_end_normal_and_texture_coordinate_normalization_x(this.__wbg_ptr)}end_normal_and_texture_coordinate_normalization_x_size(){let e=Z.polylinegeometry_end_normal_and_texture_coordinate_normalization_x_size(this.__wbg_ptr);return e===16777215?void 0:e}forward_offset(){return Z.polylinegeometry_forward_offset(this.__wbg_ptr)}forward_offset_size(){let e=Z.polylinegeometry_forward_offset_size(this.__wbg_ptr);return e===16777215?void 0:e}indices(){return Z.polylinegeometry_indices(this.__wbg_ptr)}position(){return Z.polylinegeometry_position(this.__wbg_ptr)}position_high(){return Z.polylinegeometry_position_high(this.__wbg_ptr)}position_high_size(){let e=Z.polylinegeometry_position_high_size(this.__wbg_ptr);return e===16777215?void 0:e}position_low(){return Z.polylinegeometry_position_low(this.__wbg_ptr)}position_low_size(){let e=Z.polylinegeometry_position_low_size(this.__wbg_ptr);return e===16777215?void 0:e}position_size(){return Z.polylinegeometry_position_size(this.__wbg_ptr)}right_normal_and_texture_coordinate_normalization_y(){return Z.polylinegeometry_right_normal_and_texture_coordinate_normalization_y(this.__wbg_ptr)}right_normal_and_texture_coordinate_normalization_y_size(){return Z.polylinegeometry_right_normal_and_texture_coordinate_normalization_y_size(this.__wbg_ptr)}start(){return Z.polylinegeometry_start(this.__wbg_ptr)}start_high(){return Z.polylinegeometry_start_high(this.__wbg_ptr)}start_high_size(){let e=Z.polylinegeometry_start_high_size(this.__wbg_ptr);return e===16777215?void 0:e}start_low(){return Z.polylinegeometry_start_low(this.__wbg_ptr)}start_low_size(){let e=Z.polylinegeometry_start_low_size(this.__wbg_ptr);return e===16777215?void 0:e}start_normals(){return Z.polylinegeometry_start_normals(this.__wbg_ptr)}start_normals_size(){let e=Z.polylinegeometry_start_normals_size(this.__wbg_ptr);return e===16777215?void 0:e}start_size(){let e=Z.polylinegeometry_start_size(this.__wbg_ptr);return e===16777215?void 0:e}};Symbol.dispose&&(ye.prototype[Symbol.dispose]=ye.prototype.free);var be=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,kt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_polylinegeometryattributes_free(e,0)}transfer_batch_id(){return Z.polylinegeometryattributes_transfer_batch_id(this.__wbg_ptr)}transfer_batch_id_size(){let e=Z.polylinegeometryattributes_transfer_batch_id_size(this.__wbg_ptr);return e===16777215?void 0:e}transfer_batch_index(){return Z.polylinegeometryattributes_transfer_batch_index(this.__wbg_ptr)}transfer_batch_index_size(){let e=Z.polylinegeometryattributes_transfer_batch_index_size(this.__wbg_ptr);return e===16777215?void 0:e}transfer_end_high(){return Z.polylinegeometryattributes_transfer_end_high(this.__wbg_ptr)}transfer_end_high_size(){let e=Z.polylinegeometryattributes_transfer_end_high_size(this.__wbg_ptr);return e===16777215?void 0:e}transfer_end_low(){return Z.polylinegeometryattributes_transfer_end_low(this.__wbg_ptr)}transfer_end_low_size(){let e=Z.polylinegeometryattributes_transfer_end_low_size(this.__wbg_ptr);return e===16777215?void 0:e}transfer_end_normal_and_texture_coordinate_normalization_x(){return Z.polylinegeometryattributes_transfer_end_normal_and_texture_coordinate_normalization_x(this.__wbg_ptr)}transfer_end_normal_and_texture_coordinate_normalization_x_size(){let e=Z.polylinegeometryattributes_transfer_end_normal_and_texture_coordinate_normalization_x_size(this.__wbg_ptr);return e===16777215?void 0:e}transfer_forward_offset(){return Z.polylinegeometryattributes_transfer_forward_offset(this.__wbg_ptr)}transfer_forward_offset_size(){let e=Z.polylinegeometryattributes_transfer_forward_offset_size(this.__wbg_ptr);return e===16777215?void 0:e}transfer_position(){return Z.polylinegeometryattributes_transfer_position(this.__wbg_ptr)}transfer_position_high(){return Z.polylinegeometryattributes_transfer_position_high(this.__wbg_ptr)}transfer_position_high_size(){let e=Z.polylinegeometryattributes_transfer_position_high_size(this.__wbg_ptr);return e===16777215?void 0:e}transfer_position_low(){return Z.polylinegeometryattributes_transfer_position_low(this.__wbg_ptr)}transfer_position_low_size(){let e=Z.polylinegeometryattributes_transfer_position_low_size(this.__wbg_ptr);return e===16777215?void 0:e}transfer_position_size(){return Z.polylinegeometryattributes_transfer_position_size(this.__wbg_ptr)}transfer_right_normal_and_texture_coordinate_normalization_y(){return Z.polylinegeometryattributes_transfer_right_normal_and_texture_coordinate_normalization_y(this.__wbg_ptr)}transfer_right_normal_and_texture_coordinate_normalization_y_size(){return Z.polylinegeometryattributes_transfer_right_normal_and_texture_coordinate_normalization_y_size(this.__wbg_ptr)}transfer_start(){return Z.polylinegeometryattributes_transfer_start(this.__wbg_ptr)}transfer_start_high(){return Z.polylinegeometryattributes_transfer_start_high(this.__wbg_ptr)}transfer_start_high_size(){let e=Z.polylinegeometryattributes_transfer_start_high_size(this.__wbg_ptr);return e===16777215?void 0:e}transfer_start_low(){return Z.polylinegeometryattributes_transfer_start_low(this.__wbg_ptr)}transfer_start_low_size(){let e=Z.polylinegeometryattributes_transfer_start_low_size(this.__wbg_ptr);return e===16777215?void 0:e}transfer_start_normals(){return Z.polylinegeometryattributes_transfer_start_normals(this.__wbg_ptr)}transfer_start_normals_size(){let e=Z.polylinegeometryattributes_transfer_start_normals_size(this.__wbg_ptr);return e===16777215?void 0:e}transfer_start_size(){let e=Z.polylinegeometryattributes_transfer_start_size(this.__wbg_ptr);return e===16777215?void 0:e}};Symbol.dispose&&(be.prototype[Symbol.dispose]=be.prototype.free);var y=class e{static __wrap(t){let n=Object.create(e.prototype);return n.__wbg_ptr=t,At.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,At.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_polylineinternalmaterial_free(e,0)}get minMaxHeights(){let e=Z.__wbg_get_polylineinternalmaterial_minMaxHeights(this.__wbg_ptr);var t=D(e[0],e[1]).slice();return Z.__wbindgen_free(e[0],e[1]*8,8),t}set minMaxHeights(e){let t=ln(e,Z.__wbindgen_malloc),n=X;Z.__wbg_set_polylineinternalmaterial_minMaxHeights(this.__wbg_ptr,t,n)}};Symbol.dispose&&(y.prototype[Symbol.dispose]=y.prototype.free);var xe=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,jt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_polylinematerial_free(e,0)}get __internal__(){let e=Z.__wbg_get_polylinematerial___internal__(this.__wbg_ptr);return e===0?void 0:y.__wrap(e)}get castShadow(){let e=Z.__wbg_get_polylinematerial_castShadow(this.__wbg_ptr);return e===16777215?void 0:e!==0}get clampToGround(){let e=Z.__wbg_get_polylinematerial_clampToGround(this.__wbg_ptr);return e===16777215?void 0:e!==0}get color(){let e=Z.__wbg_get_polylinematerial_color(this.__wbg_ptr);return e===2**53-1?void 0:e}get depthWrite(){let e=Z.__wbg_get_polylinematerial_depthWrite(this.__wbg_ptr);return e===16777215?void 0:e!==0}get effectIds(){let e=Z.__wbg_get_polylinematerial_effectIds(this.__wbg_ptr),t;return e[0]!==0&&(t=O(e[0],e[1]).slice(),Z.__wbindgen_free(e[0],e[1]*4,4)),t}get emissiveColor(){let e=Z.__wbg_get_polylinematerial_emissiveColor(this.__wbg_ptr);return e===2**53-1?void 0:e}get emissiveIntensity(){let e=Z.__wbg_get_polylinematerial_emissiveIntensity(this.__wbg_ptr);return e===2**53-1?void 0:e}get height(){let e=Z.__wbg_get_polylinematerial_height(this.__wbg_ptr);return e===2**53-1?void 0:e}get lit(){let e=Z.__wbg_get_polylinematerial_lit(this.__wbg_ptr);return e===16777215?void 0:e!==0}get maxWidth(){let e=Z.__wbg_get_polylinematerial_maxWidth(this.__wbg_ptr);return e===2**53-1?void 0:e}get opacity(){let e=Z.__wbg_get_polylinematerial_opacity(this.__wbg_ptr);return e===2**53-1?void 0:e}get receiveShadow(){let e=Z.__wbg_get_polylinematerial_receiveShadow(this.__wbg_ptr);return e===16777215?void 0:e!==0}get show(){let e=Z.__wbg_get_polylinematerial_show(this.__wbg_ptr);return e===16777215?void 0:e!==0}get tiled(){let e=Z.__wbg_get_polylinematerial_tiled(this.__wbg_ptr);return e===16777215?void 0:e!==0}get transparent(){let e=Z.__wbg_get_polylinematerial_transparent(this.__wbg_ptr);return e===16777215?void 0:e!==0}get width(){let e=Z.__wbg_get_polylinematerial_width(this.__wbg_ptr);return e===2**53-1?void 0:e}constructor(e,t,n,r,i,a,o,s,c,l){let u=0;V(l)||(w(l,y),u=l.__destroy_into_raw());let d=Z.polylinematerial_new(V(e)?16777215:+!!e,V(t)?16777215:+!!t,V(n)?16777215:+!!n,V(r)?2**53-1:r>>>0,V(i)?16777215:+!!i,V(a)?16777215:+!!a,V(o)?2**53-1:Math.fround(o),V(s)?2**53-1:Math.fround(s),V(c)?2**53-1:Math.fround(c),u);return this.__wbg_ptr=d,jt.register(this,this.__wbg_ptr,this),this}set __internal__(e){let t=0;V(e)||(w(e,y),t=e.__destroy_into_raw()),Z.__wbg_set_polylinematerial___internal__(this.__wbg_ptr,t)}set castShadow(e){Z.__wbg_set_polylinematerial_castShadow(this.__wbg_ptr,V(e)?16777215:+!!e)}set clampToGround(e){Z.__wbg_set_polylinematerial_clampToGround(this.__wbg_ptr,V(e)?16777215:+!!e)}set color(e){Z.__wbg_set_polylinematerial_color(this.__wbg_ptr,V(e)?2**53-1:e>>>0)}set depthWrite(e){Z.__wbg_set_polylinematerial_depthWrite(this.__wbg_ptr,V(e)?16777215:+!!e)}set effectIds(e){var t=V(e)?0:G(e,Z.__wbindgen_malloc),n=X;Z.__wbg_set_polylinematerial_effectIds(this.__wbg_ptr,t,n)}set emissiveColor(e){Z.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr,V(e)?2**53-1:e>>>0)}set emissiveIntensity(e){Z.__wbg_set_polylinematerial_emissiveIntensity(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set height(e){Z.__wbg_set_polylinematerial_height(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set lit(e){Z.__wbg_set_polylinematerial_lit(this.__wbg_ptr,V(e)?16777215:+!!e)}set maxWidth(e){Z.__wbg_set_polylinematerial_maxWidth(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set opacity(e){Z.__wbg_set_polylinematerial_opacity(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set receiveShadow(e){Z.__wbg_set_polylinematerial_receiveShadow(this.__wbg_ptr,V(e)?16777215:+!!e)}set show(e){Z.__wbg_set_polylinematerial_show(this.__wbg_ptr,V(e)?16777215:+!!e)}set tiled(e){Z.__wbg_set_polylinematerial_tiled(this.__wbg_ptr,V(e)?16777215:+!!e)}set transparent(e){Z.__wbg_set_polylinematerial_transparent(this.__wbg_ptr,V(e)?16777215:+!!e)}set width(e){Z.__wbg_set_polylinematerial_width(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}};Symbol.dispose&&(xe.prototype[Symbol.dispose]=xe.prototype.free);var Se=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Mt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_rastermaterial_free(e,0)}get color(){let e=Z.__wbg_get_rastermaterial_color(this.__wbg_ptr);return e===2**53-1?void 0:e}get opacity(){let e=Z.__wbg_get_rastermaterial_opacity(this.__wbg_ptr);return e===2**53-1?void 0:e}get showBoundingBox(){let e=Z.__wbg_get_rastermaterial_showBoundingBox(this.__wbg_ptr);return e===16777215?void 0:e!==0}get show(){let e=Z.__wbg_get_rastermaterial_show(this.__wbg_ptr);return e===16777215?void 0:e!==0}set color(e){Z.__wbg_set_rastermaterial_color(this.__wbg_ptr,V(e)?2**53-1:e>>>0)}set opacity(e){Z.__wbg_set_rastermaterial_opacity(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set showBoundingBox(e){Z.__wbg_set_rastermaterial_showBoundingBox(this.__wbg_ptr,V(e)?16777215:+!!e)}set show(e){Z.__wbg_set_rastermaterial_show(this.__wbg_ptr,V(e)?16777215:+!!e)}};Symbol.dispose&&(Se.prototype[Symbol.dispose]=Se.prototype.free);var Ce=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Nt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_rastertileinternalmaterial_free(e,0)}get castShadow(){let e=Z.__wbg_get_rastertileinternalmaterial_castShadow(this.__wbg_ptr);return e===16777215?void 0:e!==0}get colors(){let e=Z.__wbg_get_rastertileinternalmaterial_colors(this.__wbg_ptr);var t=k(e[0],e[1]).slice();return Z.__wbindgen_free(e[0],e[1]*4,4),t}get elevationBScaler(){return Z.__wbg_get_rastertileinternalmaterial_elevationBScaler(this.__wbg_ptr)}get elevationBoundary(){return Z.__wbg_get_rastertileinternalmaterial_elevationBoundary(this.__wbg_ptr)}get elevationEpsilon(){return Z.__wbg_get_rastertileinternalmaterial_elevationEpsilon(this.__wbg_ptr)}get elevationGScaler(){return Z.__wbg_get_rastertileinternalmaterial_elevationGScaler(this.__wbg_ptr)}get elevationMaxHeight(){return Z.__wbg_get_rastertileinternalmaterial_elevationMaxHeight(this.__wbg_ptr)}get elevationMaxOffset(){return Z.__wbg_get_rastertileinternalmaterial_elevationMaxOffset(this.__wbg_ptr)}get elevationMinHeight(){return Z.__wbg_get_rastertileinternalmaterial_elevationMinHeight(this.__wbg_ptr)}get elevationMinOffset(){return Z.__wbg_get_rastertileinternalmaterial_elevationMinOffset(this.__wbg_ptr)}get elevationOffset(){return Z.__wbg_get_rastertileinternalmaterial_elevationOffset(this.__wbg_ptr)}get elevationRScaler(){return Z.__wbg_get_rastertileinternalmaterial_elevationRScaler(this.__wbg_ptr)}get hillshadeBScaler(){return Z.__wbg_get_rastertileinternalmaterial_hillshadeBScaler(this.__wbg_ptr)}get hillshadeBoundary(){return Z.__wbg_get_rastertileinternalmaterial_hillshadeBoundary(this.__wbg_ptr)}get hillshadeEpsilon(){return Z.__wbg_get_rastertileinternalmaterial_hillshadeEpsilon(this.__wbg_ptr)}get hillshadeExaggeration(){return Z.__wbg_get_rastertileinternalmaterial_hillshadeExaggeration(this.__wbg_ptr)}get hillshadeGScaler(){return Z.__wbg_get_rastertileinternalmaterial_hillshadeGScaler(this.__wbg_ptr)}get hillshadeMaxOffset(){return Z.__wbg_get_rastertileinternalmaterial_hillshadeMaxOffset(this.__wbg_ptr)}get hillshadeMinOffset(){return Z.__wbg_get_rastertileinternalmaterial_hillshadeMinOffset(this.__wbg_ptr)}get hillshadeOffset(){return Z.__wbg_get_rastertileinternalmaterial_hillshadeOffset(this.__wbg_ptr)}get hillshadeRScaler(){return Z.__wbg_get_rastertileinternalmaterial_hillshadeRScaler(this.__wbg_ptr)}get isElevationHeatmaps(){let e=Z.__wbg_get_rastertileinternalmaterial_isElevationHeatmaps(this.__wbg_ptr);var t=A(e[0],e[1]).slice();return Z.__wbindgen_free(e[0],e[1]*1,1),t}get isHillshades(){let e=Z.__wbg_get_rastertileinternalmaterial_isHillshades(this.__wbg_ptr);var t=A(e[0],e[1]).slice();return Z.__wbindgen_free(e[0],e[1]*1,1),t}get layerReproject(){let e=Z.__wbg_get_rastertileinternalmaterial_layerReproject(this.__wbg_ptr);var t=A(e[0],e[1]).slice();return Z.__wbindgen_free(e[0],e[1]*1,1),t}get lit(){let e=Z.__wbg_get_rastertileinternalmaterial_lit(this.__wbg_ptr);return e===16777215?void 0:e!==0}get logBoundary(){return Z.__wbg_get_rastertileinternalmaterial_logBoundary(this.__wbg_ptr)}get logarithmic(){return Z.__wbg_get_rastertileinternalmaterial_logarithmic(this.__wbg_ptr)!==0}get opacities(){let e=Z.__wbg_get_rastertileinternalmaterial_opacities(this.__wbg_ptr);var t=E(e[0],e[1]).slice();return Z.__wbindgen_free(e[0],e[1]*4,4),t}get receiveShadow(){let e=Z.__wbg_get_rastertileinternalmaterial_receiveShadow(this.__wbg_ptr);return e===16777215?void 0:e!==0}get showBoundingBox(){let e=Z.__wbg_get_rastertileinternalmaterial_showBoundingBox(this.__wbg_ptr);return e===16777215?void 0:e!==0}get shows(){let e=Z.__wbg_get_rastertileinternalmaterial_shows(this.__wbg_ptr);var t=A(e[0],e[1]).slice();return Z.__wbindgen_free(e[0],e[1]*1,1),t}get terrainLatRange(){let e=Z.__wbg_get_rastertileinternalmaterial_terrainLatRange(this.__wbg_ptr);var t=E(e[0],e[1]).slice();return Z.__wbindgen_free(e[0],e[1]*4,4),t}layerUvTransforms(){let e=Z.rastertileinternalmaterial_layerUvTransforms(this.__wbg_ptr);var t=O(e[0],e[1]).slice();return Z.__wbindgen_free(e[0],e[1]*4,4),t}texture_fragments(){let e=Z.rastertileinternalmaterial_texture_fragments(this.__wbg_ptr),t;return e[0]!==0&&(t=O(e[0],e[1]).slice(),Z.__wbindgen_free(e[0],e[1]*4,4)),t}set castShadow(e){Z.__wbg_set_rastertileinternalmaterial_castShadow(this.__wbg_ptr,V(e)?16777215:+!!e)}set colors(e){let t=H(e,Z.__wbindgen_malloc),n=X;Z.__wbg_set_rastertileinternalmaterial_colors(this.__wbg_ptr,t,n)}set elevationBScaler(e){Z.__wbg_set_rastertileinternalmaterial_elevationBScaler(this.__wbg_ptr,e)}set elevationBoundary(e){Z.__wbg_set_rastertileinternalmaterial_elevationBoundary(this.__wbg_ptr,e)}set elevationEpsilon(e){Z.__wbg_set_rastertileinternalmaterial_elevationEpsilon(this.__wbg_ptr,e)}set elevationGScaler(e){Z.__wbg_set_rastertileinternalmaterial_elevationGScaler(this.__wbg_ptr,e)}set elevationMaxHeight(e){Z.__wbg_set_rastertileinternalmaterial_elevationMaxHeight(this.__wbg_ptr,e)}set elevationMaxOffset(e){Z.__wbg_set_rastertileinternalmaterial_elevationMaxOffset(this.__wbg_ptr,e)}set elevationMinHeight(e){Z.__wbg_set_rastertileinternalmaterial_elevationMinHeight(this.__wbg_ptr,e)}set elevationMinOffset(e){Z.__wbg_set_rastertileinternalmaterial_elevationMinOffset(this.__wbg_ptr,e)}set elevationOffset(e){Z.__wbg_set_rastertileinternalmaterial_elevationOffset(this.__wbg_ptr,e)}set elevationRScaler(e){Z.__wbg_set_rastertileinternalmaterial_elevationRScaler(this.__wbg_ptr,e)}set hillshadeBScaler(e){Z.__wbg_set_rastertileinternalmaterial_hillshadeBScaler(this.__wbg_ptr,e)}set hillshadeBoundary(e){Z.__wbg_set_rastertileinternalmaterial_hillshadeBoundary(this.__wbg_ptr,e)}set hillshadeEpsilon(e){Z.__wbg_set_rastertileinternalmaterial_hillshadeEpsilon(this.__wbg_ptr,e)}set hillshadeExaggeration(e){Z.__wbg_set_rastertileinternalmaterial_hillshadeExaggeration(this.__wbg_ptr,e)}set hillshadeGScaler(e){Z.__wbg_set_rastertileinternalmaterial_hillshadeGScaler(this.__wbg_ptr,e)}set hillshadeMaxOffset(e){Z.__wbg_set_rastertileinternalmaterial_hillshadeMaxOffset(this.__wbg_ptr,e)}set hillshadeMinOffset(e){Z.__wbg_set_rastertileinternalmaterial_hillshadeMinOffset(this.__wbg_ptr,e)}set hillshadeOffset(e){Z.__wbg_set_rastertileinternalmaterial_hillshadeOffset(this.__wbg_ptr,e)}set hillshadeRScaler(e){Z.__wbg_set_rastertileinternalmaterial_hillshadeRScaler(this.__wbg_ptr,e)}set isElevationHeatmaps(e){let t=U(e,Z.__wbindgen_malloc),n=X;Z.__wbg_set_rastertileinternalmaterial_isElevationHeatmaps(this.__wbg_ptr,t,n)}set isHillshades(e){let t=U(e,Z.__wbindgen_malloc),n=X;Z.__wbg_set_rastertileinternalmaterial_isHillshades(this.__wbg_ptr,t,n)}set layerReproject(e){let t=U(e,Z.__wbindgen_malloc),n=X;Z.__wbg_set_rastertileinternalmaterial_layerReproject(this.__wbg_ptr,t,n)}set lit(e){Z.__wbg_set_rastertileinternalmaterial_lit(this.__wbg_ptr,V(e)?16777215:+!!e)}set logBoundary(e){Z.__wbg_set_rastertileinternalmaterial_logBoundary(this.__wbg_ptr,e)}set logarithmic(e){Z.__wbg_set_rastertileinternalmaterial_logarithmic(this.__wbg_ptr,e)}set opacities(e){let t=W(e,Z.__wbindgen_malloc),n=X;Z.__wbg_set_rastertileinternalmaterial_opacities(this.__wbg_ptr,t,n)}set receiveShadow(e){Z.__wbg_set_rastertileinternalmaterial_receiveShadow(this.__wbg_ptr,V(e)?16777215:+!!e)}set showBoundingBox(e){Z.__wbg_set_rastertileinternalmaterial_showBoundingBox(this.__wbg_ptr,V(e)?16777215:+!!e)}set shows(e){let t=U(e,Z.__wbindgen_malloc),n=X;Z.__wbg_set_rastertileinternalmaterial_shows(this.__wbg_ptr,t,n)}set terrainLatRange(e){let t=W(e,Z.__wbindgen_malloc),n=X;Z.__wbg_set_rastertileinternalmaterial_terrainLatRange(this.__wbg_ptr,t,n)}};Symbol.dispose&&(Ce.prototype[Symbol.dispose]=Ce.prototype.free);var we=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Pt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_ray_free(e,0)}get direction(){let e=Z.__wbg_get_ray_direction(this.__wbg_ptr);return x.__wrap(e)}get origin(){let e=Z.__wbg_get_ray_origin(this.__wbg_ptr);return x.__wrap(e)}getPoint(e){let t=Z.ray_getPoint(this.__wbg_ptr,e);return x.__wrap(t)}constructor(e,t){w(e,x);var n=e.__destroy_into_raw();w(t,x);var r=t.__destroy_into_raw();let i=Z.ray_new(n,r);return this.__wbg_ptr=i,Pt.register(this,this.__wbg_ptr,this),this}set direction(e){w(e,x);var t=e.__destroy_into_raw();Z.__wbg_set_ray_direction(this.__wbg_ptr,t)}set origin(e){w(e,x);var t=e.__destroy_into_raw();Z.__wbg_set_ray_origin(this.__wbg_ptr,t)}};Symbol.dispose&&(we.prototype[Symbol.dispose]=we.prototype.free);var Te=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Ft.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_returnedconstructedterrainmesh_free(e,0)}get max_height(){return Z.__wbg_get_returnedconstructedterrainmesh_max_height(this.__wbg_ptr)}get min_height(){return Z.__wbg_get_returnedconstructedterrainmesh_min_height(this.__wbg_ptr)}get rtc_translation(){let e=Z.__wbg_get_returnedconstructedterrainmesh_rtc_translation(this.__wbg_ptr);return e===0?void 0:x.__wrap(e)}hasNormals(){return Z.returnedconstructedterrainmesh_hasNormals(this.__wbg_ptr)!==0}hasSkirt(){return Z.returnedconstructedterrainmesh_hasSkirt(this.__wbg_ptr)!==0}hasWatermask(){return Z.returnedconstructedterrainmesh_hasWatermask(this.__wbg_ptr)!==0}constructor(e,t,n,r,i){w(e,ce);var a=e.__destroy_into_raw();let o=W(r,Z.__wbindgen_malloc),s=X,c=0;V(i)||(w(i,x),c=i.__destroy_into_raw());let l=Z.returnedconstructedterrainmesh_new(a,t,n,o,s,c);return this.__wbg_ptr=l,Ft.register(this,this.__wbg_ptr,this),this}transferHeights(){return Z.returnedconstructedterrainmesh_transferHeights(this.__wbg_ptr)}transferIndices(){return Z.returnedconstructedterrainmesh_transferIndices(this.__wbg_ptr)}transferNormals(){return Z.returnedconstructedterrainmesh_transferNormals(this.__wbg_ptr)}transferSkirtIndices(){return Z.returnedconstructedterrainmesh_transferSkirtIndices(this.__wbg_ptr)}transferSkirtNormals(){return Z.returnedconstructedterrainmesh_transferSkirtNormals(this.__wbg_ptr)}transferSkirtUvs(){return Z.returnedconstructedterrainmesh_transferSkirtUvs(this.__wbg_ptr)}transferSkirtVertices(){return Z.returnedconstructedterrainmesh_transferSkirtVertices(this.__wbg_ptr)}transferUvs(){return Z.returnedconstructedterrainmesh_transferUvs(this.__wbg_ptr)}transferVertices(){return Z.returnedconstructedterrainmesh_transferVertices(this.__wbg_ptr)}transferWatermask(){return Z.returnedconstructedterrainmesh_transferWatermask(this.__wbg_ptr)}set max_height(e){Z.__wbg_set_returnedconstructedterrainmesh_max_height(this.__wbg_ptr,e)}set min_height(e){Z.__wbg_set_returnedconstructedterrainmesh_min_height(this.__wbg_ptr,e)}set rtc_translation(e){let t=0;V(e)||(w(e,x),t=e.__destroy_into_raw()),Z.__wbg_set_returnedconstructedterrainmesh_rtc_translation(this.__wbg_ptr,t)}};Symbol.dispose&&(Te.prototype[Symbol.dispose]=Te.prototype.free);var Ee=class e{static __wrap(t){let n=Object.create(e.prototype);return n.__wbg_ptr=t,It.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,It.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_shapetextresult_free(e,0)}get ascender(){return Z.__wbg_get_shapetextresult_ascender(this.__wbg_ptr)}get atlas_changed(){return Z.__wbg_get_shapetextresult_atlas_changed(this.__wbg_ptr)!==0}get descender(){return Z.__wbg_get_shapetextresult_descender(this.__wbg_ptr)}get evicted(){return Z.__wbg_get_shapetextresult_evicted(this.__wbg_ptr)!==0}get font_index(){return Z.__wbg_get_shapetextresult_font_index(this.__wbg_ptr)>>>0}get glyphs(){let e=Z.__wbg_get_shapetextresult_glyphs(this.__wbg_ptr);var t=O(e[0],e[1]).slice();return Z.__wbindgen_free(e[0],e[1]*4,4),t}get is_color(){return Z.__wbg_get_shapetextresult_is_color(this.__wbg_ptr)!==0}get line_gap(){return Z.__wbg_get_shapetextresult_line_gap(this.__wbg_ptr)}get metrics(){let e=Z.__wbg_get_shapetextresult_metrics(this.__wbg_ptr);var t=O(e[0],e[1]).slice();return Z.__wbindgen_free(e[0],e[1]*4,4),t}get units_per_em(){return Z.__wbg_get_shapetextresult_units_per_em(this.__wbg_ptr)}set ascender(e){Z.__wbg_set_shapetextresult_ascender(this.__wbg_ptr,e)}set atlas_changed(e){Z.__wbg_set_shapetextresult_atlas_changed(this.__wbg_ptr,e)}set descender(e){Z.__wbg_set_shapetextresult_descender(this.__wbg_ptr,e)}set evicted(e){Z.__wbg_set_shapetextresult_evicted(this.__wbg_ptr,e)}set font_index(e){Z.__wbg_set_shapetextresult_font_index(this.__wbg_ptr,e)}set glyphs(e){let t=G(e,Z.__wbindgen_malloc),n=X;Z.__wbg_set_shapetextresult_glyphs(this.__wbg_ptr,t,n)}set is_color(e){Z.__wbg_set_shapetextresult_is_color(this.__wbg_ptr,e)}set line_gap(e){Z.__wbg_set_shapetextresult_line_gap(this.__wbg_ptr,e)}set metrics(e){let t=G(e,Z.__wbindgen_malloc),n=X;Z.__wbg_set_shapetextresult_metrics(this.__wbg_ptr,t,n)}set units_per_em(e){Z.__wbg_set_shapetextresult_units_per_em(this.__wbg_ptr,e)}};Symbol.dispose&&(Ee.prototype[Symbol.dispose]=Ee.prototype.free);var De=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Lt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_terrainmaterial_free(e,0)}get castShadow(){let e=Z.__wbg_get_terrainmaterial_castShadow(this.__wbg_ptr);return e===16777215?void 0:e!==0}get lit(){let e=Z.__wbg_get_terrainmaterial_lit(this.__wbg_ptr);return e===16777215?void 0:e!==0}get receiveShadow(){let e=Z.__wbg_get_terrainmaterial_receiveShadow(this.__wbg_ptr);return e===16777215?void 0:e!==0}get showBoundingBox(){let e=Z.__wbg_get_terrainmaterial_showBoundingBox(this.__wbg_ptr);return e===16777215?void 0:e!==0}get show(){let e=Z.__wbg_get_terrainmaterial_show(this.__wbg_ptr);return e===16777215?void 0:e!==0}get skirtExaggeration(){let e=Z.__wbg_get_terrainmaterial_skirtExaggeration(this.__wbg_ptr);return e===2**53-1?void 0:e}get skirt(){let e=Z.__wbg_get_terrainmaterial_skirt(this.__wbg_ptr);return e===16777215?void 0:e!==0}set castShadow(e){Z.__wbg_set_terrainmaterial_castShadow(this.__wbg_ptr,V(e)?16777215:+!!e)}set lit(e){Z.__wbg_set_terrainmaterial_lit(this.__wbg_ptr,V(e)?16777215:+!!e)}set receiveShadow(e){Z.__wbg_set_terrainmaterial_receiveShadow(this.__wbg_ptr,V(e)?16777215:+!!e)}set showBoundingBox(e){Z.__wbg_set_terrainmaterial_showBoundingBox(this.__wbg_ptr,V(e)?16777215:+!!e)}set show(e){Z.__wbg_set_terrainmaterial_show(this.__wbg_ptr,V(e)?16777215:+!!e)}set skirtExaggeration(e){Z.__wbg_set_terrainmaterial_skirtExaggeration(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set skirt(e){Z.__wbg_set_terrainmaterial_skirt(this.__wbg_ptr,V(e)?16777215:+!!e)}};Symbol.dispose&&(De.prototype[Symbol.dispose]=De.prototype.free);var Oe=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Rt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_textmaterial_free(e,0)}get backgroundColor(){let e=Z.__wbg_get_textmaterial_backgroundColor(this.__wbg_ptr);return e===2**53-1?void 0:e}get borderColor(){let e=Z.__wbg_get_textmaterial_borderColor(this.__wbg_ptr);return e===2**53-1?void 0:e}get borderWidth(){let e=Z.__wbg_get_textmaterial_borderWidth(this.__wbg_ptr);return e===2**53-1?void 0:e}get center(){let e=Z.__wbg_get_textmaterial_center(this.__wbg_ptr);return e===0?void 0:b.__wrap(e)}get clampToGround(){let e=Z.__wbg_get_textmaterial_clampToGround(this.__wbg_ptr);return e===16777215?void 0:e!==0}get color(){let e=Z.__wbg_get_textmaterial_color(this.__wbg_ptr);return e===2**53-1?void 0:e}get declutterPriority(){let e=Z.__wbg_get_textmaterial_declutterPriority(this.__wbg_ptr);return e===2**53-1?void 0:e}get declutter(){let e=Z.__wbg_get_textmaterial_declutter(this.__wbg_ptr);return e===16777215?void 0:e!==0}get depthTest(){let e=Z.__wbg_get_textmaterial_depthTest(this.__wbg_ptr);return e===16777215?void 0:e!==0}get font(){let e=Z.__wbg_get_textmaterial_font(this.__wbg_ptr),t;return e[0]!==0&&(t=I(e[0],e[1]).slice(),Z.__wbindgen_free(e[0],e[1]*1,1)),t}get height(){let e=Z.__wbg_get_textmaterial_height(this.__wbg_ptr);return e===2**53-1?void 0:e}get highQuality(){let e=Z.__wbg_get_textmaterial_highQuality(this.__wbg_ptr);return e===16777215?void 0:e!==0}get lang(){let e=Z.__wbg_get_textmaterial_lang(this.__wbg_ptr),t;return e[0]!==0&&(t=I(e[0],e[1]).slice(),Z.__wbindgen_free(e[0],e[1]*1,1)),t}get lineHeight(){let e=Z.__wbg_get_textmaterial_lineHeight(this.__wbg_ptr);return e===2**53-1?void 0:e}get maxWidth(){let e=Z.__wbg_get_textmaterial_maxWidth(this.__wbg_ptr);return e===2**53-1?void 0:e}get offsetDepth(){let e=Z.__wbg_get_textmaterial_offsetDepth(this.__wbg_ptr);return e===16777215?void 0:e!==0}get opacity(){let e=Z.__wbg_get_textmaterial_opacity(this.__wbg_ptr);return e===2**53-1?void 0:e}get outlineColor(){let e=Z.__wbg_get_textmaterial_outlineColor(this.__wbg_ptr);return e===2**53-1?void 0:e}get outlineOpacity(){let e=Z.__wbg_get_textmaterial_outlineOpacity(this.__wbg_ptr);return e===2**53-1?void 0:e}get outlineWidth(){let e=Z.__wbg_get_textmaterial_outlineWidth(this.__wbg_ptr);return e===2**53-1?void 0:e}get show(){let e=Z.__wbg_get_textmaterial_show(this.__wbg_ptr);return e===16777215?void 0:e!==0}get sizeInMeters(){let e=Z.__wbg_get_textmaterial_sizeInMeters(this.__wbg_ptr);return e===16777215?void 0:e!==0}get size(){let e=Z.__wbg_get_textmaterial_size(this.__wbg_ptr);return e===2**53-1?void 0:e}get textAlign(){let e=Z.__wbg_get_textmaterial_textAlign(this.__wbg_ptr),t;return e[0]!==0&&(t=I(e[0],e[1]).slice(),Z.__wbindgen_free(e[0],e[1]*1,1)),t}get text(){let e=Z.__wbg_get_textmaterial_text(this.__wbg_ptr),t;return e[0]!==0&&(t=I(e[0],e[1]).slice(),Z.__wbindgen_free(e[0],e[1]*1,1)),t}get transparent(){let e=Z.__wbg_get_textmaterial_transparent(this.__wbg_ptr);return e===16777215?void 0:e!==0}set backgroundColor(e){Z.__wbg_set_textmaterial_backgroundColor(this.__wbg_ptr,V(e)?2**53-1:e>>>0)}set borderColor(e){Z.__wbg_set_textmaterial_borderColor(this.__wbg_ptr,V(e)?2**53-1:e>>>0)}set borderWidth(e){Z.__wbg_set_textmaterial_borderWidth(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set center(e){let t=0;V(e)||(w(e,b),t=e.__destroy_into_raw()),Z.__wbg_set_textmaterial_center(this.__wbg_ptr,t)}set clampToGround(e){Z.__wbg_set_textmaterial_clampToGround(this.__wbg_ptr,V(e)?16777215:+!!e)}set color(e){Z.__wbg_set_textmaterial_color(this.__wbg_ptr,V(e)?2**53-1:e>>>0)}set declutterPriority(e){Z.__wbg_set_textmaterial_declutterPriority(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set declutter(e){Z.__wbg_set_textmaterial_declutter(this.__wbg_ptr,V(e)?16777215:+!!e)}set depthTest(e){Z.__wbg_set_textmaterial_depthTest(this.__wbg_ptr,V(e)?16777215:+!!e)}set font(e){var t=V(e)?0:K(e,Z.__wbindgen_malloc,Z.__wbindgen_realloc),n=X;Z.__wbg_set_textmaterial_font(this.__wbg_ptr,t,n)}set height(e){Z.__wbg_set_textmaterial_height(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set highQuality(e){Z.__wbg_set_textmaterial_highQuality(this.__wbg_ptr,V(e)?16777215:+!!e)}set lang(e){var t=V(e)?0:K(e,Z.__wbindgen_malloc,Z.__wbindgen_realloc),n=X;Z.__wbg_set_textmaterial_lang(this.__wbg_ptr,t,n)}set lineHeight(e){Z.__wbg_set_textmaterial_lineHeight(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set maxWidth(e){Z.__wbg_set_textmaterial_maxWidth(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set offsetDepth(e){Z.__wbg_set_textmaterial_offsetDepth(this.__wbg_ptr,V(e)?16777215:+!!e)}set opacity(e){Z.__wbg_set_textmaterial_opacity(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set outlineColor(e){Z.__wbg_set_textmaterial_outlineColor(this.__wbg_ptr,V(e)?2**53-1:e>>>0)}set outlineOpacity(e){Z.__wbg_set_textmaterial_outlineOpacity(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set outlineWidth(e){Z.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set show(e){Z.__wbg_set_textmaterial_show(this.__wbg_ptr,V(e)?16777215:+!!e)}set sizeInMeters(e){Z.__wbg_set_textmaterial_sizeInMeters(this.__wbg_ptr,V(e)?16777215:+!!e)}set size(e){Z.__wbg_set_textmaterial_size(this.__wbg_ptr,V(e)?2**53-1:Math.fround(e))}set textAlign(e){var t=V(e)?0:K(e,Z.__wbindgen_malloc,Z.__wbindgen_realloc),n=X;Z.__wbg_set_textmaterial_textAlign(this.__wbg_ptr,t,n)}set text(e){var t=V(e)?0:K(e,Z.__wbindgen_malloc,Z.__wbindgen_realloc),n=X;Z.__wbg_set_textmaterial_text(this.__wbg_ptr,t,n)}set transparent(e){Z.__wbg_set_textmaterial_transparent(this.__wbg_ptr,V(e)?16777215:+!!e)}};Symbol.dispose&&(Oe.prototype[Symbol.dispose]=Oe.prototype.free);var ke=class e{static __wrap(t){let n=Object.create(e.prototype);return n.__wbg_ptr=t,zt.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,zt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_texturefragment_free(e,0)}get gen(){return Z.__wbg_get_texturefragment_gen(this.__wbg_ptr)>>>0}get ind(){return Z.__wbg_get_texturefragment_ind(this.__wbg_ptr)>>>0}set gen(e){Z.__wbg_set_texturefragment_gen(this.__wbg_ptr,e)}set ind(e){Z.__wbg_set_texturefragment_ind(this.__wbg_ptr,e)}};Symbol.dispose&&(ke.prototype[Symbol.dispose]=ke.prototype.free);var Ae=class e{static __wrap(t){let n=Object.create(e.prototype);return n.__wbg_ptr=t,Bt.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Bt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_tileuvtransform_free(e,0)}get offset(){let e=Z.__wbg_get_tileuvtransform_offset(this.__wbg_ptr);return b.__wrap(e)}get scale(){let e=Z.__wbg_get_tileuvtransform_scale(this.__wbg_ptr);return b.__wrap(e)}set offset(e){w(e,b);var t=e.__destroy_into_raw();Z.__wbg_set_tileuvtransform_offset(this.__wbg_ptr,t)}set scale(e){w(e,b);var t=e.__destroy_into_raw();Z.__wbg_set_tileuvtransform_scale(this.__wbg_ptr,t)}};Symbol.dispose&&(Ae.prototype[Symbol.dispose]=Ae.prototype.free);var je=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Vt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_tilexyz_free(e,0)}get x(){return Z.__wbg_get_tilexyz_x(this.__wbg_ptr)>>>0}get y(){return Z.__wbg_get_tilexyz_y(this.__wbg_ptr)>>>0}get z(){return Z.__wbg_get_tilexyz_z(this.__wbg_ptr)>>>0}set x(e){Z.__wbg_set_tilexyz_x(this.__wbg_ptr,e)}set y(e){Z.__wbg_set_tilexyz_y(this.__wbg_ptr,e)}set z(e){Z.__wbg_set_tilexyz_z(this.__wbg_ptr,e)}constructor(e,t,n){let r=Z.tilexyz_new(e,t,n);return this.__wbg_ptr=r,Vt.register(this,this.__wbg_ptr,this),this}};Symbol.dispose&&(je.prototype[Symbol.dispose]=je.prototype.free);var Me=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Ht.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_transferablehierarchy_free(e,0)}get expected_winding_order(){return Z.__wbg_get_transferablehierarchy_expected_winding_order(this.__wbg_ptr)}set expected_winding_order(e){Z.__wbg_set_transferablehierarchy_expected_winding_order(this.__wbg_ptr,e)}};Symbol.dispose&&(Me.prototype[Symbol.dispose]=Me.prototype.free);var Ne=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Ut.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_transferableholes_free(e,0)}};Symbol.dispose&&(Ne.prototype[Symbol.dispose]=Ne.prototype.free);var Pe=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Wt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_transferableparsedmvtresult_free(e,0)}f32_stream(){return Z.transferableparsedmvtresult_f32_stream(this.__wbg_ptr)}f64_stream(){return Z.transferableparsedmvtresult_f64_stream(this.__wbg_ptr)}meta(){return Z.transferableparsedmvtresult_meta(this.__wbg_ptr)}u32_stream(){return Z.transferableparsedmvtresult_u32_stream(this.__wbg_ptr)}u8_stream(){return Z.transferableparsedmvtresult_u8_stream(this.__wbg_ptr)}};Symbol.dispose&&(Pe.prototype[Symbol.dispose]=Pe.prototype.free);var Fe=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Gt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_transferablepolygonbatchedfeature_free(e,0)}get crs(){return Z.__wbg_get_transferablepolygonbatchedfeature_crs(this.__wbg_ptr)}get length(){return Z.__wbg_get_transferablepolygonbatchedfeature_length(this.__wbg_ptr)>>>0}set crs(e){Z.__wbg_set_transferablepolygonbatchedfeature_crs(this.__wbg_ptr,e)}set length(e){Z.__wbg_set_transferablepolygonbatchedfeature_length(this.__wbg_ptr,e)}constructor(e,t){let n=Z.transferablepolygonbatchedfeature_constructor(e,t);return this.__wbg_ptr=n,Gt.register(this,this.__wbg_ptr,this),this}setBatchIds(e,t){Z.transferablepolygonbatchedfeature_setBatchIds(this.__wbg_ptr,e,t)}setBatchIndices(e,t){Z.transferablepolygonbatchedfeature_setBatchIndices(this.__wbg_ptr,e,t)}setExpectedWindingOrders(e,t){Z.transferablepolygonbatchedfeature_setExpectedWindingOrders(this.__wbg_ptr,e,t)}setHoles(e,t){Z.transferablepolygonbatchedfeature_setHoles(this.__wbg_ptr,e,t)}setHolesBoundaries(e,t){Z.transferablepolygonbatchedfeature_setHolesBoundaries(this.__wbg_ptr,e,t)}setHolesSizes(e,t){Z.transferablepolygonbatchedfeature_setHolesSizes(this.__wbg_ptr,e,t)}setHolesTotalSizes(e,t){Z.transferablepolygonbatchedfeature_setHolesTotalSizes(this.__wbg_ptr,e,t)}setOuterRing(e,t){Z.transferablepolygonbatchedfeature_setOuterRing(this.__wbg_ptr,e,t)}setOuterRingSizes(e,t){Z.transferablepolygonbatchedfeature_setOuterRingSizes(this.__wbg_ptr,e,t)}transferBatchIds(){return Z.transferablepolygonbatchedfeature_transferBatchIds(this.__wbg_ptr)}transferBatchIndices(){return Z.transferablepolygonbatchedfeature_transferBatchIndices(this.__wbg_ptr)}transferExpectedWindingOrders(){return Z.transferablepolygonbatchedfeature_transferExpectedWindingOrders(this.__wbg_ptr)}transferHoles(){return Z.transferablepolygonbatchedfeature_transferHoles(this.__wbg_ptr)}transferHolesBoundaries(){return Z.transferablepolygonbatchedfeature_transferHolesBoundaries(this.__wbg_ptr)}transferHolesSizes(){return Z.transferablepolygonbatchedfeature_transferHolesSizes(this.__wbg_ptr)}transferHolesTotalSizes(){return Z.transferablepolygonbatchedfeature_transferHolesTotalSizes(this.__wbg_ptr)}transferOuterRing(){return Z.transferablepolygonbatchedfeature_transferOuterRing(this.__wbg_ptr)}transferOuterRingSizes(){return Z.transferablepolygonbatchedfeature_transferOuterRingSizes(this.__wbg_ptr)}};Symbol.dispose&&(Fe.prototype[Symbol.dispose]=Fe.prototype.free);var Ie=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Kt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_transferablepolylinebatchedfeature_free(e,0)}get crs(){return Z.__wbg_get_transferablepolylinebatchedfeature_crs(this.__wbg_ptr)}get length(){return Z.__wbg_get_transferablepolylinebatchedfeature_length(this.__wbg_ptr)>>>0}set crs(e){Z.__wbg_set_transferablepolylinebatchedfeature_crs(this.__wbg_ptr,e)}set length(e){Z.__wbg_set_transferablepolylinebatchedfeature_length(this.__wbg_ptr,e)}constructor(e,t){let n=Z.transferablepolylinebatchedfeature_constructor(e,t);return this.__wbg_ptr=n,Kt.register(this,this.__wbg_ptr,this),this}setBatchIds(e,t){Z.transferablepolylinebatchedfeature_setBatchIds(this.__wbg_ptr,e,t)}setBatchIndices(e,t){Z.transferablepolylinebatchedfeature_setBatchIndices(this.__wbg_ptr,e,t)}setPoints(e,t){Z.transferablepolylinebatchedfeature_setPoints(this.__wbg_ptr,e,t)}setPointsSizes(e,t){Z.transferablepolylinebatchedfeature_setPointsSizes(this.__wbg_ptr,e,t)}transferBatchIds(){return Z.transferablepolylinebatchedfeature_transferBatchIds(this.__wbg_ptr)}transferBatchIndices(){return Z.transferablepolylinebatchedfeature_transferBatchIndices(this.__wbg_ptr)}transferPoints(){return Z.transferablepolylinebatchedfeature_transferPoints(this.__wbg_ptr)}transferPointsSizes(){return Z.transferablepolylinebatchedfeature_transferPointsSizes(this.__wbg_ptr)}};Symbol.dispose&&(Ie.prototype[Symbol.dispose]=Ie.prototype.free);var Le=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,qt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_transform_free(e,0)}get qw(){return Z.__wbg_get_transform_qw(this.__wbg_ptr)}get qx(){return Z.__wbg_get_transform_qx(this.__wbg_ptr)}get qy(){return Z.__wbg_get_transform_qy(this.__wbg_ptr)}get qz(){return Z.__wbg_get_transform_qz(this.__wbg_ptr)}get sx(){return Z.__wbg_get_transform_sx(this.__wbg_ptr)}get sy(){return Z.__wbg_get_transform_sy(this.__wbg_ptr)}get sz(){return Z.__wbg_get_transform_sz(this.__wbg_ptr)}get tx(){return Z.__wbg_get_transform_tx(this.__wbg_ptr)}get ty(){return Z.__wbg_get_transform_ty(this.__wbg_ptr)}get tz(){return Z.__wbg_get_transform_tz(this.__wbg_ptr)}set qw(e){Z.__wbg_set_transform_qw(this.__wbg_ptr,e)}set qx(e){Z.__wbg_set_transform_qx(this.__wbg_ptr,e)}set qy(e){Z.__wbg_set_transform_qy(this.__wbg_ptr,e)}set qz(e){Z.__wbg_set_transform_qz(this.__wbg_ptr,e)}set sx(e){Z.__wbg_set_transform_sx(this.__wbg_ptr,e)}set sy(e){Z.__wbg_set_transform_sy(this.__wbg_ptr,e)}set sz(e){Z.__wbg_set_transform_sz(this.__wbg_ptr,e)}set tx(e){Z.__wbg_set_transform_tx(this.__wbg_ptr,e)}set ty(e){Z.__wbg_set_transform_ty(this.__wbg_ptr,e)}set tz(e){Z.__wbg_set_transform_tz(this.__wbg_ptr,e)}constructor(e,t,n,r,i,a,o,s,c,l){let u=Z.transform_new(e,t,n,r,i,a,o,s,c,l);return this.__wbg_ptr=u,qt.register(this,this.__wbg_ptr,this),this}};Symbol.dispose&&(Le.prototype[Symbol.dispose]=Le.prototype.free);var Re=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Jt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_uintattribute_free(e,0)}get size(){return Z.__wbg_get_uintattribute_size(this.__wbg_ptr)}set size(e){Z.__wbg_set_uintattribute_size(this.__wbg_ptr,e)}constructor(e,t){let n=H(e,Z.__wbindgen_malloc),r=X,i=Z.uintattribute_new(n,r,t);return this.__wbg_ptr=i,Jt.register(this,this.__wbg_ptr,this),this}transferData(){return Z.uintattribute_transferData(this.__wbg_ptr)}};Symbol.dispose&&(Re.prototype[Symbol.dispose]=Re.prototype.free);var ze=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Yt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_upsamplableterraingeometry_free(e,0)}constructor(e,t,n,r,i){let a=W(e,Z.__wbindgen_malloc),o=X,s=H(t,Z.__wbindgen_malloc),c=X,l=W(n,Z.__wbindgen_malloc),u=X;var d=V(r)?0:W(r,Z.__wbindgen_malloc),f=X,p=V(i)?0:U(i,Z.__wbindgen_malloc),ee=X;let te=Z.upsamplableterraingeometry_new(a,o,s,c,l,u,d,f,p,ee);return this.__wbg_ptr=te,Yt.register(this,this.__wbg_ptr,this),this}};Symbol.dispose&&(ze.prototype[Symbol.dispose]=ze.prototype.free);var b=class e{static __wrap(t){let n=Object.create(e.prototype);return n.__wbg_ptr=t,Xt.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Xt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_vec2_free(e,0)}get x(){return Z.__wbg_get_vec2_x(this.__wbg_ptr)}get y(){return Z.__wbg_get_vec2_y(this.__wbg_ptr)}set x(e){Z.__wbg_set_vec2_x(this.__wbg_ptr,e)}set y(e){Z.__wbg_set_vec2_y(this.__wbg_ptr,e)}constructor(e,t){let n=Z.vec2_new(e,t);return this.__wbg_ptr=n,Xt.register(this,this.__wbg_ptr,this),this}};Symbol.dispose&&(b.prototype[Symbol.dispose]=b.prototype.free);var x=class e{static __wrap(t){let n=Object.create(e.prototype);return n.__wbg_ptr=t,Zt.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Zt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_vec3_free(e,0)}get x(){return Z.__wbg_get_vec3_x(this.__wbg_ptr)}get y(){return Z.__wbg_get_vec3_y(this.__wbg_ptr)}get z(){return Z.__wbg_get_vec3_z(this.__wbg_ptr)}set x(e){Z.__wbg_set_vec3_x(this.__wbg_ptr,e)}set y(e){Z.__wbg_set_vec3_y(this.__wbg_ptr,e)}set z(e){Z.__wbg_set_vec3_z(this.__wbg_ptr,e)}constructor(e,t,n){let r=Z.vec3_new(e,t,n);return this.__wbg_ptr=r,Zt.register(this,this.__wbg_ptr,this),this}};Symbol.dispose&&(x.prototype[Symbol.dispose]=x.prototype.free);var S=class e{static __wrap(t){let n=Object.create(e.prototype);return n.__wbg_ptr=t,Qt.register(n,n.__wbg_ptr,n),n}static __unwrap(t){return t instanceof e?t.__destroy_into_raw():0}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Qt.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_wasmglyphmetrics_free(e,0)}get atlas_h(){return Z.__wbg_get_wasmglyphmetrics_atlas_h(this.__wbg_ptr)>>>0}get atlas_w(){return Z.__wbg_get_wasmglyphmetrics_atlas_w(this.__wbg_ptr)>>>0}get atlas_x(){return Z.__wbg_get_wasmglyphmetrics_atlas_x(this.__wbg_ptr)}get atlas_y(){return Z.__wbg_get_wasmglyphmetrics_atlas_y(this.__wbg_ptr)}get bearing_x(){return Z.__wbg_get_wasmglyphmetrics_bearing_x(this.__wbg_ptr)}get bearing_y(){return Z.__wbg_get_wasmglyphmetrics_bearing_y(this.__wbg_ptr)}get font_index(){return Z.__wbg_get_wasmglyphmetrics_font_index(this.__wbg_ptr)>>>0}get glyph_id(){return Z.__wbg_get_wasmglyphmetrics_glyph_id(this.__wbg_ptr)>>>0}get is_color(){return Z.__wbg_get_wasmglyphmetrics_is_color(this.__wbg_ptr)!==0}set atlas_h(e){Z.__wbg_set_wasmglyphmetrics_atlas_h(this.__wbg_ptr,e)}set atlas_w(e){Z.__wbg_set_wasmglyphmetrics_atlas_w(this.__wbg_ptr,e)}set atlas_x(e){Z.__wbg_set_wasmglyphmetrics_atlas_x(this.__wbg_ptr,e)}set atlas_y(e){Z.__wbg_set_wasmglyphmetrics_atlas_y(this.__wbg_ptr,e)}set bearing_x(e){Z.__wbg_set_wasmglyphmetrics_bearing_x(this.__wbg_ptr,e)}set bearing_y(e){Z.__wbg_set_wasmglyphmetrics_bearing_y(this.__wbg_ptr,e)}set font_index(e){Z.__wbg_set_wasmglyphmetrics_font_index(this.__wbg_ptr,e)}set glyph_id(e){Z.__wbg_set_wasmglyphmetrics_glyph_id(this.__wbg_ptr,e)}set is_color(e){Z.__wbg_set_wasmglyphmetrics_is_color(this.__wbg_ptr,e)}};Symbol.dispose&&(S.prototype[Symbol.dispose]=S.prototype.free);var C=class e{static __wrap(t){let n=Object.create(e.prototype);return n.__wbg_ptr=t,$t.register(n,n.__wbg_ptr,n),n}static __unwrap(t){return t instanceof e?t.__destroy_into_raw():0}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,$t.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_wasmshapedglyph_free(e,0)}get char_class(){return Z.__wbg_get_wasmshapedglyph_char_class(this.__wbg_ptr)}get font_index(){return Z.__wbg_get_wasmshapedglyph_font_index(this.__wbg_ptr)>>>0}get glyph_id(){return Z.__wbg_get_wasmshapedglyph_glyph_id(this.__wbg_ptr)>>>0}get x_advance(){return Z.__wbg_get_wasmshapedglyph_x_advance(this.__wbg_ptr)}get x_offset(){return Z.__wbg_get_wasmshapedglyph_x_offset(this.__wbg_ptr)}get y_advance(){return Z.__wbg_get_wasmshapedglyph_y_advance(this.__wbg_ptr)}get y_offset(){return Z.__wbg_get_wasmshapedglyph_y_offset(this.__wbg_ptr)}set char_class(e){Z.__wbg_set_wasmshapedglyph_char_class(this.__wbg_ptr,e)}set font_index(e){Z.__wbg_set_wasmshapedglyph_font_index(this.__wbg_ptr,e)}set glyph_id(e){Z.__wbg_set_wasmshapedglyph_glyph_id(this.__wbg_ptr,e)}set x_advance(e){Z.__wbg_set_wasmshapedglyph_x_advance(this.__wbg_ptr,e)}set x_offset(e){Z.__wbg_set_wasmshapedglyph_x_offset(this.__wbg_ptr,e)}set y_advance(e){Z.__wbg_set_wasmshapedglyph_y_advance(this.__wbg_ptr,e)}set y_offset(e){Z.__wbg_set_wasmshapedglyph_y_offset(this.__wbg_ptr,e)}};Symbol.dispose&&(C.prototype[Symbol.dispose]=C.prototype.free);var Be=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,en.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_windingorder_free(e,0)}get 0(){return Z.__wbg_get_windingorder_0(this.__wbg_ptr)}set 0(e){Z.__wbg_set_windingorder_0(this.__wbg_ptr,e)}};Symbol.dispose&&(Be.prototype[Symbol.dispose]=Be.prototype.free);var Ve=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,tn.unregister(this),e}free(){let e=this.__destroy_into_raw();Z.__wbg_window_free(e,0)}get height(){return Z.__wbg_get_window_height(this.__wbg_ptr)}get pixelRatio(){return Z.__wbg_get_window_pixelRatio(this.__wbg_ptr)}get width(){return Z.__wbg_get_window_width(this.__wbg_ptr)}set height(e){Z.__wbg_set_window_height(this.__wbg_ptr,e)}set pixelRatio(e){Z.__wbg_set_window_pixelRatio(this.__wbg_ptr,e)}set width(e){Z.__wbg_set_window_width(this.__wbg_ptr,e)}constructor(e,t,n){let r=Z.window_new(e,t,n);return this.__wbg_ptr=r,tn.register(this,this.__wbg_ptr,this),this}};Symbol.dispose&&(Ve.prototype[Symbol.dispose]=Ve.prototype.free);function He(e,t){let n=Z.composite_key(e,t);return BigInt.asUintN(64,n)}function Ue(){return{__proto__:null,"./navara_wasm_font_worker_bg.js":{__proto__:null,__wbg_Error_92b29b0548f8b746:function(e,t){return Error(I(e,t))},__wbg_String_8564e559799eccda:function(e,t){let n=K(String(t),Z.__wbindgen_malloc,Z.__wbindgen_realloc),r=X;N().setInt32(e+4,r,!0),N().setInt32(e+0,n,!0)},__wbg___wbindgen_bigint_get_as_i64_d968e41184ae354f:function(e,t){let n=t,r=typeof n==`bigint`?n:void 0;N().setBigInt64(e+8,V(r)?BigInt(0):r,!0),N().setInt32(e+0,!V(r),!0)},__wbg___wbindgen_boolean_get_fa956cfa2d1bd751:function(e){let t=e,n=typeof t==`boolean`?t:void 0;return V(n)?16777215:+!!n},__wbg___wbindgen_debug_string_c25d447a39f5578f:function(e,t){let n=K(T(t),Z.__wbindgen_malloc,Z.__wbindgen_realloc),r=X;N().setInt32(e+4,r,!0),N().setInt32(e+0,n,!0)},__wbg___wbindgen_in_aca499c5de7ff5e5:function(e,t){return e in t},__wbg___wbindgen_is_bigint_2f76dc55065b4273:function(e){return typeof e==`bigint`},__wbg___wbindgen_is_function_1ff95bcc5517c252:function(e){return typeof e==`function`},__wbg___wbindgen_is_object_a27215656b807791:function(e){let t=e;return typeof t==`object`&&!!t},__wbg___wbindgen_jsval_eq_e659fcf7b0e32763:function(e,t){return e===t},__wbg___wbindgen_jsval_loose_eq_db4c3b15f63fc170:function(e,t){return e==t},__wbg___wbindgen_memory_de265df8aadd6273:function(){return Z.memory},__wbg___wbindgen_number_get_394265ed1e1b84ee:function(e,t){let n=t,r=typeof n==`number`?n:void 0;N().setFloat64(e+8,V(r)?0:r,!0),N().setInt32(e+0,!V(r),!0)},__wbg___wbindgen_string_get_b0ca35b86a603356:function(e,t){let n=t,r=typeof n==`string`?n:void 0;var i=V(r)?0:K(r,Z.__wbindgen_malloc,Z.__wbindgen_realloc),a=X;N().setInt32(e+4,a,!0),N().setInt32(e+0,i,!0)},__wbg___wbindgen_throw_344f42d3211c4765:function(e,t){throw Error(I(e,t))},__wbg_buffer_0f212447ac64c53b:function(e){return e.buffer},__wbg_call_8a2dd23819f8a60a:function(){return B(function(e,t){return e.call(t)},arguments)},__wbg_call_a6e5c5dce5018821:function(){return B(function(e,t,n){return e.call(t,n)},arguments)},__wbg_done_89b2b13e91a60321:function(e){return e.done},__wbg_entries_015dc610cd81ede0:function(e){return Object.entries(e)},__wbg_get_507a50627bffa49b:function(e,t){return e[t>>>0]},__wbg_get_c7eb1f358a7654df:function(){return B(function(e,t){return Reflect.get(e,t)},arguments)},__wbg_get_unchecked_6e0ad6d2a41b06f6:function(e,t){return e[t>>>0]},__wbg_instanceof_ArrayBuffer_4480b9e0068a8adb:function(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t},__wbg_instanceof_Map_e5b5e3db98422fcc:function(e){let t;try{t=e instanceof Map}catch{t=!1}return t},__wbg_instanceof_Uint8Array_309b927aaf7a3fc7:function(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t},__wbg_isArray_0677c962b281d01a:function(e){return Array.isArray(e)},__wbg_isSafeInteger_04f36e4056f1b851:function(e){return Number.isSafeInteger(e)},__wbg_iterator_6f722e4a93058b71:function(){return Symbol.iterator},__wbg_length_0133fa10e3234c57:function(e){return e.length},__wbg_length_1f0964f4a5e2c6d8:function(e){return e.length},__wbg_length_370319915dc99107:function(e){return e.length},__wbg_length_381d540857ec99e8:function(e){return e.length},__wbg_length_98f10d1e2f4ea968:function(e){return e.length},__wbg_lle_new:function(e){return g.__wrap(e)},__wbg_new_32b398fb48b6d94a:function(){return[]},__wbg_new_80efd62ef570c5de:function(e){return new Float64Array(e)},__wbg_new_92a08b12c30e98e8:function(e){return new Float32Array(e)},__wbg_new_cd45aabdf6073e84:function(e){return new Uint8Array(e)},__wbg_new_da52cf8fe3429cb2:function(){return{}},__wbg_new_dfd44b7151fab657:function(e){return new Uint32Array(e)},__wbg_new_with_byte_offset_and_length_54c7724ee3ec7d82:function(e,t,n){return new Uint8Array(e,t>>>0,n>>>0)},__wbg_new_with_byte_offset_and_length_5784416b97d45088:function(e,t,n){return new Float64Array(e,t>>>0,n>>>0)},__wbg_new_with_byte_offset_and_length_c6e1a1aae380b2ff:function(e,t,n){return new Uint32Array(e,t>>>0,n>>>0)},__wbg_next_6dbf2c0ac8cde20f:function(e){return e.next},__wbg_next_71f2aa1cb3d1e37e:function(){return B(function(e){return e.next()},arguments)},__wbg_prototypesetcall_4770620bbe4688a0:function(e,t,n){Uint8Array.prototype.set.call(A(e,t),n)},__wbg_push_d2ae3af0c1217ae6:function(e,t){return e.push(t)},__wbg_set_1e016b6a1b5f7cb3:function(e,t,n){e.set(E(t,n))},__wbg_set_29967298e530d279:function(e,t,n){e.set(D(t,n))},__wbg_set_4d7dd76f3dae2926:function(e,t,n){e.set(A(t,n))},__wbg_set_8535240470bf2500:function(){return B(function(e,t,n){return Reflect.set(e,t,n)},arguments)},__wbg_set_b5e6b338281ca6ff:function(e,t,n){e.set(k(t,n))},__wbg_texturefragment_new:function(e){return ke.__wrap(e)},__wbg_tileuvtransform_new:function(e){return Ae.__wrap(e)},__wbg_value_a5d5488a9589444a:function(e){return e.value},__wbg_wasmglyphmetrics_new:function(e){return S.__wrap(e)},__wbg_wasmglyphmetrics_unwrap:function(e){return S.__unwrap(e)},__wbg_wasmshapedglyph_new:function(e){return C.__wrap(e)},__wbg_wasmshapedglyph_unwrap:function(e){return C.__unwrap(e)},__wbindgen_cast_0000000000000001:function(e){return e},__wbindgen_cast_0000000000000002:function(e){return e},__wbindgen_cast_0000000000000003:function(e,t){return I(e,t)},__wbindgen_cast_0000000000000004:function(e){return BigInt.asUintN(64,e)},__wbindgen_init_externref_table:function(){let e=Z.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}}}}let We=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_aabb_free(e,1)),Ge=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_batchpropresult_free(e,1)),Ke=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_billboardmaterial_free(e,1)),qe=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_boundingsphere_free(e,1)),Je=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_cachedmeshhandle_free(e,1)),Ye=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_cameracontrolupdateevent_free(e,1)),Xe=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_cameraflightendedevent_free(e,1)),Ze=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_camerafrustum_free(e,1)),Qe=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_cameraorientation_free(e,1)),$e=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_camerastatus_free(e,1)),et=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_compiledexpression_free(e,1)),tt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_compiledfilter_free(e,1)),nt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_constructedpolygongeometry_free(e,1)),rt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_constructedpolygonoutlinegeometry_free(e,1)),it=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_constructedpolylinegeometry_free(e,1)),at=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_elevationdecoder_free(e,1)),ot=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_elevationheatmapmaterial_free(e,1)),st=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_ellipsoidgeodesic_free(e,1)),ct=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_encodedvec3_free(e,1)),lt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_extentradianf32_free(e,1)),ut=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_floatattribute_free(e,1)),dt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_fontatlas_free(e,1)),ft=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_fontcache_free(e,1)),pt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_fontcachestats_free(e,1)),mt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_geometry_free(e,1)),ht=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_globe_free(e,1)),gt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_hillshadematerial_free(e,1)),_t=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_lle_free(e,1)),vt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_modelinternalmaterial_free(e,1)),yt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_modelmaterial_free(e,1)),bt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_nearfar_free(e,1)),xt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_overscaledtilehandle_free(e,1)),St=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_plane_free(e,1)),Ct=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_pointmaterial_free(e,1)),wt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_polygongeometry_free(e,1)),Tt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_polygongeometryattributes_free(e,1)),Et=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_polygoninternalmaterial_free(e,1)),Dt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_polygonmaterial_free(e,1)),Ot=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_polylinegeometry_free(e,1)),kt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_polylinegeometryattributes_free(e,1)),At=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_polylineinternalmaterial_free(e,1)),jt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_polylinematerial_free(e,1)),Mt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_rastermaterial_free(e,1)),Nt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_rastertileinternalmaterial_free(e,1)),Pt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_ray_free(e,1)),Ft=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_returnedconstructedterrainmesh_free(e,1)),It=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_shapetextresult_free(e,1)),Lt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_terrainmaterial_free(e,1)),Rt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_textmaterial_free(e,1)),zt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_texturefragment_free(e,1)),Bt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_tileuvtransform_free(e,1)),Vt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_tilexyz_free(e,1)),Ht=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_transferablehierarchy_free(e,1)),Ut=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_transferableholes_free(e,1)),Wt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_transferableparsedmvtresult_free(e,1)),Gt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_transferablepolygonbatchedfeature_free(e,1)),Kt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_transferablepolylinebatchedfeature_free(e,1)),qt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_transform_free(e,1)),Jt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_uintattribute_free(e,1)),Yt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_upsamplableterraingeometry_free(e,1)),Xt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_vec2_free(e,1)),Zt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_vec3_free(e,1)),Qt=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_wasmglyphmetrics_free(e,1)),$t=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_wasmshapedglyph_free(e,1)),en=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_windingorder_free(e,1)),tn=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>Z.__wbg_window_free(e,1));function nn(e){let t=Z.__externref_table_alloc();return Z.__wbindgen_externrefs.set(t,e),t}function w(e,t){if(!(e instanceof t))throw Error(`expected instance of ${t.name}`)}function T(e){let t=typeof e;if(t==`number`||t==`boolean`||e==null)return`${e}`;if(t==`string`)return`"${e}"`;if(t==`symbol`){let t=e.description;return t==null?`Symbol`:`Symbol(${t})`}if(t==`function`){let t=e.name;return typeof t==`string`&&t.length>0?`Function(${t})`:`Function`}if(Array.isArray(e)){let t=e.length,n=`[`;t>0&&(n+=T(e[0]));for(let r=1;r<t;r++)n+=`, `+T(e[r]);return n+=`]`,n}let n=/\[object ([^\]]+)\]/.exec(toString.call(e)),r;if(n&&n.length>1)r=n[1];else return toString.call(e);if(r==`Object`)try{return`Object(`+JSON.stringify(e)+`)`}catch{return`Object`}return e instanceof Error?`${e.name}: ${e.message}\n${e.stack}`:r}function E(e,t){return e>>>=0,an().subarray(e/4,e/4+t)}function D(e,t){return e>>>=0,on().subarray(e/8,e/8+t)}function O(e,t){e>>>=0;let n=N(),r=[];for(let i=e;i<e+4*t;i+=4)r.push(Z.__wbindgen_externrefs.get(n.getUint32(i,!0)));return Z.__externref_drop_slice(e,t),r}function k(e,t){return e>>>=0,sn().subarray(e/4,e/4+t)}function A(e,t){return e>>>=0,z().subarray(e/1,e/1+t)}let j=null;function rn(){return(j===null||j.byteLength===0)&&(j=new BigUint64Array(Z.memory.buffer)),j}let M=null;function N(){return(M===null||M.buffer.detached===!0||M.buffer.detached===void 0&&M.buffer!==Z.memory.buffer)&&(M=new DataView(Z.memory.buffer)),M}let P=null;function an(){return(P===null||P.byteLength===0)&&(P=new Float32Array(Z.memory.buffer)),P}let F=null;function on(){return(F===null||F.byteLength===0)&&(F=new Float64Array(Z.memory.buffer)),F}function I(e,t){return dn(e>>>0,t)}let L=null;function sn(){return(L===null||L.byteLength===0)&&(L=new Uint32Array(Z.memory.buffer)),L}let R=null;function z(){return(R===null||R.byteLength===0)&&(R=new Uint8Array(Z.memory.buffer)),R}function B(e,t){try{return e.apply(this,t)}catch(e){let t=nn(e);Z.__wbindgen_exn_store(t)}}function V(e){return e==null}function H(e,t){let n=t(e.length*4,4)>>>0;return sn().set(e,n/4),X=e.length,n}function cn(e,t){let n=t(e.length*8,8)>>>0;return rn().set(e,n/8),X=e.length,n}function U(e,t){let n=t(e.length*1,1)>>>0;return z().set(e,n/1),X=e.length,n}function W(e,t){let n=t(e.length*4,4)>>>0;return an().set(e,n/4),X=e.length,n}function ln(e,t){let n=t(e.length*8,8)>>>0;return on().set(e,n/8),X=e.length,n}function G(e,t){let n=t(e.length*4,4)>>>0;for(let t=0;t<e.length;t++){let r=nn(e[t]);N().setUint32(n+4*t,r,!0)}return X=e.length,n}function K(e,t,n){if(n===void 0){let n=Y.encode(e),r=t(n.length,1)>>>0;return z().subarray(r,r+n.length).set(n),X=n.length,r}let r=e.length,i=t(r,1)>>>0,a=z(),o=0;for(;o<r;o++){let t=e.charCodeAt(o);if(t>127)break;a[i+o]=t}if(o!==r){o!==0&&(e=e.slice(o)),i=n(i,r,r=o+e.length*3,1)>>>0;let t=z().subarray(i+o,i+r),a=Y.encodeInto(e,t);o+=a.written,i=n(i,r,o,1)>>>0}return X=o,i}function q(e){let t=Z.__wbindgen_externrefs.get(e);return Z.__externref_table_dealloc(e),t}let J=new TextDecoder(`utf-8`,{ignoreBOM:!0,fatal:!0});J.decode();let un=0;function dn(e,t){return un+=t,un>=2146435072&&(J=new TextDecoder(`utf-8`,{ignoreBOM:!0,fatal:!0}),J.decode(),un=t),J.decode(z().subarray(e,e+t))}let Y=new TextEncoder;`encodeInto`in Y||(Y.encodeInto=function(e,t){let n=Y.encode(e);return t.set(n),{read:e.length,written:n.length}});let X=0,Z;function fn(e,t){return Z=e.exports,j=null,M=null,P=null,F=null,L=null,R=null,Z.__wbindgen_start(),Z}async function pn(e,t){if(typeof Response==`function`&&e instanceof Response){if(typeof WebAssembly.instantiateStreaming==`function`)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if(e.ok&&n(e.type)&&e.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",t);else throw t}let r=await e.arrayBuffer();return await WebAssembly.instantiate(r,t)}{let n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}function n(e){switch(e){case`basic`:case`cors`:case`default`:return!0}return!1}}async function mn(e){if(Z!==void 0)return Z;e!==void 0&&(Object.getPrototypeOf(e)===Object.prototype?{module_or_path:e}=e:console.warn(`using deprecated parameters for the initialization function; pass a single object instead`)),e===void 0&&(e=new URL(``+new URL(`navara_wasm_font_worker_bg-CSmoDs_Q.wasm`,self.location.href).href,``+self.location.href));let t=Ue();(typeof e==`string`||typeof Request==`function`&&e instanceof Request||typeof URL==`function`&&e instanceof URL)&&(e=fetch(e));let{instance:n,module:r}=await pn(await e,t);return fn(n,r)}let Q,hn;async function gn(){Q||=(hn=(await mn()).memory,new oe)}function _n(e){return e.map(e=>{let t={glyphId:e.glyph_id,fontIndex:e.font_index,compositeKey:He(e.font_index,e.glyph_id),xAdvance:e.x_advance,yAdvance:e.y_advance,xOffset:e.x_offset,yOffset:e.y_offset,charClass:e.char_class};return e.free(),t})}function vn(e){return e.map(e=>{let t={glyphId:e.glyph_id,fontIndex:e.font_index,compositeKey:He(e.font_index,e.glyph_id),atlasX:e.atlas_x,atlasY:e.atlas_y,atlasW:e.atlas_w,atlasH:e.atlas_h,bearingX:e.bearing_x,bearingY:e.bearing_y,isColor:e.is_color};return e.free(),t})}function yn(e){if(!e)return null;let t={glyphs:_n(e.glyphs),metrics:vn(e.metrics),unitsPerEm:e.units_per_em,ascender:e.ascender,descender:e.descender,lineGap:e.line_gap};return e.free(),t}function bn(e){if(!e)return null;let t={data:e.data.buffer,width:e.width,height:e.height,channels:e.channels};return e.free(),t}let $=self;$.onmessage=async e=>{let t=e.data,n=t.id,r=t.type;try{switch(await gn(),r){case`init`:{let e=t.payload?.fontBudgetBytes;Q.setBudget(e),$.postMessage({id:n,type:`result`,payload:null});break}case`getMemoryStats`:{let e=Q.memoryStats(),t={heapBytes:hn?.buffer.byteLength??0,fontCount:e.fontCount,atlasCount:e.atlasCount,glyphCount:e.glyphCount,fontBytes:e.fontBytes,atlasBytes:e.atlasBytes,colorAtlasBytes:e.colorAtlasBytes,budgetBytes:e.budgetBytes===0?void 0:e.budgetBytes};e.free(),$.postMessage({id:n,type:`result`,payload:t});break}case`loadFont`:{let{url:e,data:r,atlasKey:i,highQuality:a}=t.payload,o=new Uint8Array(r),s=a?`msdf`:`sdf`,c=Q.loadFont(e,o.length,e=>{e.set(o)},i,s)??null,l=c?new Uint32Array(c):null;$.postMessage({id:n,type:`result`,payload:{ok:l!==null,cmapRanges:l}},l?[l.buffer]:[]);break}case`unloadFont`:{let{url:e}=t.payload,r=Q.unloadFont(e);$.postMessage({id:n,type:`result`,payload:{ok:r}});break}case`prepareTextBatch`:{let{fontUrl:e,texts:r}=t.payload,i=!1,a=!1,o=!1,s=r.map(t=>{let n=Q.shapeText(e,t);return n?.atlas_changed&&(n.is_color?a=!0:i=!0),n?.evicted&&(o=!0),{text:t,shapeResult:yn(n)}}),c=Q.getAtlasKey(e)??e,l=i?bn(Q.getFontAtlas(c)):null,u=a?bn(Q.getColorAtlas(c)):null,d=[];l&&d.push(l.data),u&&d.push(u.data),$.postMessage({id:n,type:`result`,payload:{results:s,atlas:l,colorAtlas:u,atlasKey:c,evicted:o}},d);break}case`retainGlyphs`:case`releaseGlyphs`:{let{atlasKey:e,keys:i}=t.payload;r===`retainGlyphs`?Q.retainGlyphs(e,i):Q.releaseGlyphs(e,i),$.postMessage({id:n,type:`result`,payload:null});break}default:$.postMessage({id:n,type:`error`,payload:{message:`Unknown message type: ${r}`}})}}catch(e){$.postMessage({id:n,type:`error`,payload:{message:String(e)}})}}})();
2
- //# sourceMappingURL=fontWorker-CkLGtrXf.js.map