@navaramap/engine-font-worker 0.0.0 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,7 +21,7 @@ export class Aabb {
21
21
  _assertClass(extent, Vec3);
22
22
  var ptr1 = extent.__destroy_into_raw();
23
23
  const ret = wasm.aabb_new(ptr0, ptr1);
24
- this.__wbg_ptr = ret >>> 0;
24
+ this.__wbg_ptr = ret;
25
25
  AabbFinalization.register(this, this.__wbg_ptr, this);
26
26
  return this;
27
27
  }
@@ -121,7 +121,7 @@ export class BillboardMaterial {
121
121
  */
122
122
  get alphaTest() {
123
123
  const ret = wasm.__wbg_get_billboardmaterial_alphaTest(this.__wbg_ptr);
124
- return ret === 0x100000001 ? undefined : ret;
124
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
125
125
  }
126
126
  /**
127
127
  * anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
@@ -144,7 +144,26 @@ export class BillboardMaterial {
144
144
  */
145
145
  get color() {
146
146
  const ret = wasm.__wbg_get_billboardmaterial_color(this.__wbg_ptr);
147
- return ret === 0x100000001 ? undefined : ret;
147
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
148
+ }
149
+ /**
150
+ * Placement priority for decluttering; higher wins. Only meaningful when
151
+ * `declutter` is enabled. Defaults to `0.0`.
152
+ * @returns {number | undefined}
153
+ */
154
+ get declutterPriority() {
155
+ const ret = wasm.__wbg_get_billboardmaterial_declutterPriority(this.__wbg_ptr);
156
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
157
+ }
158
+ /**
159
+ * Participate in screen-space decluttering: when labels/sprites overlap
160
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
161
+ * `false` to draw every label unconditionally.
162
+ * @returns {boolean | undefined}
163
+ */
164
+ get declutter() {
165
+ const ret = wasm.__wbg_get_billboardmaterial_declutter(this.__wbg_ptr);
166
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
148
167
  }
149
168
  /**
150
169
  * @returns {boolean | undefined}
@@ -172,7 +191,7 @@ export class BillboardMaterial {
172
191
  */
173
192
  get emissiveColor() {
174
193
  const ret = wasm.__wbg_get_billboardmaterial_emissiveColor(this.__wbg_ptr);
175
- return ret === 0x100000001 ? undefined : ret;
194
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
176
195
  }
177
196
  /**
178
197
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -180,14 +199,14 @@ export class BillboardMaterial {
180
199
  */
181
200
  get emissiveIntensity() {
182
201
  const ret = wasm.__wbg_get_billboardmaterial_emissiveIntensity(this.__wbg_ptr);
183
- return ret === 0x100000001 ? undefined : ret;
202
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
184
203
  }
185
204
  /**
186
205
  * @returns {number | undefined}
187
206
  */
188
207
  get height() {
189
208
  const ret = wasm.__wbg_get_billboardmaterial_height(this.__wbg_ptr);
190
- return ret === 0x100000001 ? undefined : ret;
209
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
191
210
  }
192
211
  /**
193
212
  * Avoid overlapping with the globe surface.
@@ -202,7 +221,7 @@ export class BillboardMaterial {
202
221
  */
203
222
  get opacity() {
204
223
  const ret = wasm.__wbg_get_billboardmaterial_opacity(this.__wbg_ptr);
205
- return ret === 0x100000001 ? undefined : ret;
224
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
206
225
  }
207
226
  /**
208
227
  * @returns {boolean | undefined}
@@ -225,7 +244,7 @@ export class BillboardMaterial {
225
244
  */
226
245
  get size() {
227
246
  const ret = wasm.__wbg_get_billboardmaterial_size(this.__wbg_ptr);
228
- return ret === 0x100000001 ? undefined : ret;
247
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
229
248
  }
230
249
  /**
231
250
  * @returns {boolean | undefined}
@@ -250,7 +269,7 @@ export class BillboardMaterial {
250
269
  * @param {number | null} [arg0]
251
270
  */
252
271
  set alphaTest(arg0) {
253
- wasm.__wbg_set_billboardmaterial_alphaTest(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
272
+ wasm.__wbg_set_billboardmaterial_alphaTest(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
254
273
  }
255
274
  /**
256
275
  * anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
@@ -275,7 +294,24 @@ export class BillboardMaterial {
275
294
  * @param {number | null} [arg0]
276
295
  */
277
296
  set color(arg0) {
278
- wasm.__wbg_set_billboardmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
297
+ wasm.__wbg_set_billboardmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
298
+ }
299
+ /**
300
+ * Placement priority for decluttering; higher wins. Only meaningful when
301
+ * `declutter` is enabled. Defaults to `0.0`.
302
+ * @param {number | null} [arg0]
303
+ */
304
+ set declutterPriority(arg0) {
305
+ wasm.__wbg_set_billboardmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
306
+ }
307
+ /**
308
+ * Participate in screen-space decluttering: when labels/sprites overlap
309
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
310
+ * `false` to draw every label unconditionally.
311
+ * @param {boolean | null} [arg0]
312
+ */
313
+ set declutter(arg0) {
314
+ wasm.__wbg_set_billboardmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
279
315
  }
280
316
  /**
281
317
  * @param {boolean | null} [arg0]
@@ -297,20 +333,20 @@ export class BillboardMaterial {
297
333
  * @param {number | null} [arg0]
298
334
  */
299
335
  set emissiveColor(arg0) {
300
- wasm.__wbg_set_billboardmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
336
+ wasm.__wbg_set_billboardmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
301
337
  }
302
338
  /**
303
339
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
304
340
  * @param {number | null} [arg0]
305
341
  */
306
342
  set emissiveIntensity(arg0) {
307
- wasm.__wbg_set_billboardmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
343
+ wasm.__wbg_set_billboardmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
308
344
  }
309
345
  /**
310
346
  * @param {number | null} [arg0]
311
347
  */
312
348
  set height(arg0) {
313
- wasm.__wbg_set_billboardmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
349
+ wasm.__wbg_set_billboardmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
314
350
  }
315
351
  /**
316
352
  * Avoid overlapping with the globe surface.
@@ -323,7 +359,7 @@ export class BillboardMaterial {
323
359
  * @param {number | null} [arg0]
324
360
  */
325
361
  set opacity(arg0) {
326
- wasm.__wbg_set_billboardmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
362
+ wasm.__wbg_set_billboardmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
327
363
  }
328
364
  /**
329
365
  * @param {boolean | null} [arg0]
@@ -343,7 +379,7 @@ export class BillboardMaterial {
343
379
  * @param {number | null} [arg0]
344
380
  */
345
381
  set size(arg0) {
346
- wasm.__wbg_set_billboardmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
382
+ wasm.__wbg_set_billboardmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
347
383
  }
348
384
  /**
349
385
  * @param {boolean | null} [arg0]
@@ -381,7 +417,7 @@ export class BoundingSphere {
381
417
  */
382
418
  constructor(center_x, center_y, center_z, radius) {
383
419
  const ret = wasm.boundingsphere_new(center_x, center_y, center_z, radius);
384
- this.__wbg_ptr = ret >>> 0;
420
+ this.__wbg_ptr = ret;
385
421
  BoundingSphereFinalization.register(this, this.__wbg_ptr, this);
386
422
  return this;
387
423
  }
@@ -473,8 +509,8 @@ export class CachedMeshHandle {
473
509
  * @param {number | null} [heights]
474
510
  */
475
511
  constructor(vertices, indices, uvs, heights) {
476
- const ret = wasm.cachedmeshhandle_new(vertices, indices, uvs, isLikeNone(heights) ? 0x100000001 : (heights) >> 0);
477
- this.__wbg_ptr = ret >>> 0;
512
+ const ret = wasm.cachedmeshhandle_new(vertices, indices, uvs, isLikeNone(heights) ? Number.MAX_SAFE_INTEGER : (heights) >> 0);
513
+ this.__wbg_ptr = ret;
478
514
  CachedMeshHandleFinalization.register(this, this.__wbg_ptr, this);
479
515
  return this;
480
516
  }
@@ -483,7 +519,7 @@ export class CachedMeshHandle {
483
519
  */
484
520
  get heights() {
485
521
  const ret = wasm.__wbg_get_cachedmeshhandle_heights(this.__wbg_ptr);
486
- return ret === 0x100000001 ? undefined : ret;
522
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
487
523
  }
488
524
  /**
489
525
  * @returns {number}
@@ -497,7 +533,7 @@ export class CachedMeshHandle {
497
533
  */
498
534
  get normals() {
499
535
  const ret = wasm.__wbg_get_cachedmeshhandle_normals(this.__wbg_ptr);
500
- return ret === 0x100000001 ? undefined : ret;
536
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
501
537
  }
502
538
  /**
503
539
  * @returns {number}
@@ -518,13 +554,13 @@ export class CachedMeshHandle {
518
554
  */
519
555
  get watermask() {
520
556
  const ret = wasm.__wbg_get_cachedmeshhandle_watermask(this.__wbg_ptr);
521
- return ret === 0x100000001 ? undefined : ret;
557
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
522
558
  }
523
559
  /**
524
560
  * @param {number | null} [arg0]
525
561
  */
526
562
  set heights(arg0) {
527
- wasm.__wbg_set_cachedmeshhandle_heights(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
563
+ wasm.__wbg_set_cachedmeshhandle_heights(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
528
564
  }
529
565
  /**
530
566
  * @param {number} arg0
@@ -536,7 +572,7 @@ export class CachedMeshHandle {
536
572
  * @param {number | null} [arg0]
537
573
  */
538
574
  set normals(arg0) {
539
- wasm.__wbg_set_cachedmeshhandle_normals(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
575
+ wasm.__wbg_set_cachedmeshhandle_normals(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
540
576
  }
541
577
  /**
542
578
  * @param {number} arg0
@@ -554,7 +590,7 @@ export class CachedMeshHandle {
554
590
  * @param {number | null} [arg0]
555
591
  */
556
592
  set watermask(arg0) {
557
- wasm.__wbg_set_cachedmeshhandle_watermask(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
593
+ wasm.__wbg_set_cachedmeshhandle_watermask(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
558
594
  }
559
595
  }
560
596
  if (Symbol.dispose) CachedMeshHandle.prototype[Symbol.dispose] = CachedMeshHandle.prototype.free;
@@ -578,7 +614,7 @@ export class CameraControlUpdateEvent {
578
614
  }
579
615
  constructor() {
580
616
  const ret = wasm.cameracontrolupdateevent_new();
581
- this.__wbg_ptr = ret >>> 0;
617
+ this.__wbg_ptr = ret;
582
618
  CameraControlUpdateEventFinalization.register(this, this.__wbg_ptr, this);
583
619
  return this;
584
620
  }
@@ -654,7 +690,7 @@ export class CameraControlUpdateEvent {
654
690
  */
655
691
  get spinDuration() {
656
692
  const ret = wasm.__wbg_get_cameracontrolupdateevent_spinDuration(this.__wbg_ptr);
657
- return ret === 0x100000001 ? undefined : ret;
693
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
658
694
  }
659
695
  /**
660
696
  * Multiplier for mouse drag rotation speed.
@@ -674,7 +710,7 @@ export class CameraControlUpdateEvent {
674
710
  */
675
711
  get translateDuration() {
676
712
  const ret = wasm.__wbg_get_cameracontrolupdateevent_translateDuration(this.__wbg_ptr);
677
- return ret === 0x100000001 ? undefined : ret;
713
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
678
714
  }
679
715
  /**
680
716
  * Duration (in milliseconds) for zoom inertia animation after scroll wheel input.
@@ -684,7 +720,7 @@ export class CameraControlUpdateEvent {
684
720
  */
685
721
  get zoomDuration() {
686
722
  const ret = wasm.__wbg_get_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr);
687
- return ret === 0x100000001 ? undefined : ret;
723
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
688
724
  }
689
725
  /**
690
726
  * Multiplier for scroll wheel zoom speed.
@@ -761,7 +797,7 @@ export class CameraControlUpdateEvent {
761
797
  * @param {number | null} [arg0]
762
798
  */
763
799
  set spinDuration(arg0) {
764
- wasm.__wbg_set_cameracontrolupdateevent_spinDuration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
800
+ wasm.__wbg_set_cameracontrolupdateevent_spinDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
765
801
  }
766
802
  /**
767
803
  * Multiplier for mouse drag rotation speed.
@@ -779,7 +815,7 @@ export class CameraControlUpdateEvent {
779
815
  * @param {number | null} [arg0]
780
816
  */
781
817
  set translateDuration(arg0) {
782
- wasm.__wbg_set_cameracontrolupdateevent_translateDuration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
818
+ wasm.__wbg_set_cameracontrolupdateevent_translateDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
783
819
  }
784
820
  /**
785
821
  * Duration (in milliseconds) for zoom inertia animation after scroll wheel input.
@@ -788,7 +824,7 @@ export class CameraControlUpdateEvent {
788
824
  * @param {number | null} [arg0]
789
825
  */
790
826
  set zoomDuration(arg0) {
791
- wasm.__wbg_set_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
827
+ wasm.__wbg_set_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
792
828
  }
793
829
  /**
794
830
  * Multiplier for scroll wheel zoom speed.
@@ -833,7 +869,7 @@ export class CameraFrustum {
833
869
  */
834
870
  constructor(near, far, fov, aspect_ratio) {
835
871
  const ret = wasm.camerafrustum_new(near, far, fov, aspect_ratio);
836
- this.__wbg_ptr = ret >>> 0;
872
+ this.__wbg_ptr = ret;
837
873
  CameraFrustumFinalization.register(this, this.__wbg_ptr, this);
838
874
  return this;
839
875
  }
@@ -1058,7 +1094,7 @@ export class CompiledExpression {
1058
1094
  if (ret[2]) {
1059
1095
  throw takeFromExternrefTable0(ret[1]);
1060
1096
  }
1061
- this.__wbg_ptr = ret[0] >>> 0;
1097
+ this.__wbg_ptr = ret[0];
1062
1098
  CompiledExpressionFinalization.register(this, this.__wbg_ptr, this);
1063
1099
  return this;
1064
1100
  }
@@ -1086,7 +1122,7 @@ export class CompiledFilter {
1086
1122
  if (ret[2]) {
1087
1123
  throw takeFromExternrefTable0(ret[1]);
1088
1124
  }
1089
- this.__wbg_ptr = ret[0] >>> 0;
1125
+ this.__wbg_ptr = ret[0];
1090
1126
  CompiledFilterFinalization.register(this, this.__wbg_ptr, this);
1091
1127
  return this;
1092
1128
  }
@@ -1284,7 +1320,6 @@ if (Symbol.dispose) ConstructedPolygonGeometry.prototype[Symbol.dispose] = Const
1284
1320
 
1285
1321
  export class ConstructedPolygonOutlineGeometry {
1286
1322
  static __wrap(ptr) {
1287
- ptr = ptr >>> 0;
1288
1323
  const obj = Object.create(ConstructedPolygonOutlineGeometry.prototype);
1289
1324
  obj.__wbg_ptr = ptr;
1290
1325
  ConstructedPolygonOutlineGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -1578,7 +1613,6 @@ if (Symbol.dispose) ConstructedPolylineGeometry.prototype[Symbol.dispose] = Cons
1578
1613
 
1579
1614
  export class ElevationDecoder {
1580
1615
  static __wrap(ptr) {
1581
- ptr = ptr >>> 0;
1582
1616
  const obj = Object.create(ElevationDecoder.prototype);
1583
1617
  obj.__wbg_ptr = ptr;
1584
1618
  ElevationDecoderFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -1620,7 +1654,7 @@ export class ElevationDecoder {
1620
1654
  */
1621
1655
  constructor(r_scaler, g_scaler, b_scaler, offset, max_offset, min_offset, boundary, epsilon) {
1622
1656
  const ret = wasm.elevationdecoder_new(r_scaler, g_scaler, b_scaler, offset, max_offset, min_offset, boundary, epsilon);
1623
- this.__wbg_ptr = ret >>> 0;
1657
+ this.__wbg_ptr = ret;
1624
1658
  ElevationDecoderFinalization.register(this, this.__wbg_ptr, this);
1625
1659
  return this;
1626
1660
  }
@@ -1847,7 +1881,7 @@ export class EllipsoidGeodesic {
1847
1881
  _assertClass(end, LLE);
1848
1882
  var ptr1 = end.__destroy_into_raw();
1849
1883
  const ret = wasm.ellipsoidgeodesic_new(ptr0, ptr1);
1850
- this.__wbg_ptr = ret >>> 0;
1884
+ this.__wbg_ptr = ret;
1851
1885
  EllipsoidGeodesicFinalization.register(this, this.__wbg_ptr, this);
1852
1886
  return this;
1853
1887
  }
@@ -1944,7 +1978,7 @@ export class EncodedVec3 {
1944
1978
  _assertClass(low, Vec3);
1945
1979
  var ptr1 = low.__destroy_into_raw();
1946
1980
  const ret = wasm.encodedvec3_new(ptr0, ptr1);
1947
- this.__wbg_ptr = ret >>> 0;
1981
+ this.__wbg_ptr = ret;
1948
1982
  EncodedVec3Finalization.register(this, this.__wbg_ptr, this);
1949
1983
  return this;
1950
1984
  }
@@ -1983,7 +2017,6 @@ if (Symbol.dispose) EncodedVec3.prototype[Symbol.dispose] = EncodedVec3.prototyp
1983
2017
 
1984
2018
  export class ExtentRadianF32 {
1985
2019
  static __wrap(ptr) {
1986
- ptr = ptr >>> 0;
1987
2020
  const obj = Object.create(ExtentRadianF32.prototype);
1988
2021
  obj.__wbg_ptr = ptr;
1989
2022
  ExtentRadianF32Finalization.register(obj, obj.__wbg_ptr, obj);
@@ -2007,7 +2040,7 @@ export class ExtentRadianF32 {
2007
2040
  */
2008
2041
  constructor(west, south, east, north) {
2009
2042
  const ret = wasm.extentradianf32_new(west, south, east, north);
2010
- this.__wbg_ptr = ret >>> 0;
2043
+ this.__wbg_ptr = ret;
2011
2044
  ExtentRadianF32Finalization.register(this, this.__wbg_ptr, this);
2012
2045
  return this;
2013
2046
  }
@@ -2085,7 +2118,7 @@ export class FloatAttribute {
2085
2118
  const ptr0 = passArrayF32ToWasm0(data, wasm.__wbindgen_malloc);
2086
2119
  const len0 = WASM_VECTOR_LEN;
2087
2120
  const ret = wasm.floatattribute_new(ptr0, len0, size);
2088
- this.__wbg_ptr = ret >>> 0;
2121
+ this.__wbg_ptr = ret;
2089
2122
  FloatAttributeFinalization.register(this, this.__wbg_ptr, this);
2090
2123
  return this;
2091
2124
  }
@@ -2118,7 +2151,6 @@ if (Symbol.dispose) FloatAttribute.prototype[Symbol.dispose] = FloatAttribute.pr
2118
2151
  */
2119
2152
  export class FontAtlas {
2120
2153
  static __wrap(ptr) {
2121
- ptr = ptr >>> 0;
2122
2154
  const obj = Object.create(FontAtlas.prototype);
2123
2155
  obj.__wbg_ptr = ptr;
2124
2156
  FontAtlasFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -2298,7 +2330,7 @@ export class FontCache {
2298
2330
  }
2299
2331
  constructor() {
2300
2332
  const ret = wasm.fontcache_new();
2301
- this.__wbg_ptr = ret >>> 0;
2333
+ this.__wbg_ptr = ret;
2302
2334
  FontCacheFinalization.register(this, this.__wbg_ptr, this);
2303
2335
  return this;
2304
2336
  }
@@ -2374,7 +2406,6 @@ if (Symbol.dispose) FontCache.prototype[Symbol.dispose] = FontCache.prototype.fr
2374
2406
  */
2375
2407
  export class FontCacheStats {
2376
2408
  static __wrap(ptr) {
2377
- ptr = ptr >>> 0;
2378
2409
  const obj = Object.create(FontCacheStats.prototype);
2379
2410
  obj.__wbg_ptr = ptr;
2380
2411
  FontCacheStatsFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -2480,7 +2511,7 @@ export class Geometry {
2480
2511
  const ptr2 = passArrayF32ToWasm0(uvs, wasm.__wbindgen_malloc);
2481
2512
  const len2 = WASM_VECTOR_LEN;
2482
2513
  const ret = wasm.geometry_new(ptr0, len0, ptr1, len1, ptr2, len2);
2483
- this.__wbg_ptr = ret >>> 0;
2514
+ this.__wbg_ptr = ret;
2484
2515
  GeometryFinalization.register(this, this.__wbg_ptr, this);
2485
2516
  return this;
2486
2517
  }
@@ -2587,6 +2618,18 @@ export class Globe {
2587
2618
  const ret = wasm.__wbg_get_globe_hideUnderground(this.__wbg_ptr);
2588
2619
  return ret !== 0;
2589
2620
  }
2621
+ /**
2622
+ * Whether the globe tiles with the Geographic scheme (quantized-mesh
2623
+ * terrain) rather than the default WebMercator. Engine-set output — the
2624
+ * web renderer selects its raster drape pipeline (baked vs direct) from
2625
+ * it at tile-mesh creation; ignored on input (the scheme is dictated by
2626
+ * the terrain source, not configurable).
2627
+ * @returns {boolean}
2628
+ */
2629
+ get isGeographicTiling() {
2630
+ const ret = wasm.__wbg_get_globe_isGeographicTiling(this.__wbg_ptr);
2631
+ return ret !== 0;
2632
+ }
2590
2633
  /**
2591
2634
  * Screen-space error threshold for level of detail (LOD) calculations. Initialization only.
2592
2635
  * @returns {number}
@@ -2651,7 +2694,7 @@ export class Globe {
2651
2694
  const ptr0 = passArrayF32ToWasm0(elevation_colormap, wasm.__wbindgen_malloc);
2652
2695
  const len0 = WASM_VECTOR_LEN;
2653
2696
  const ret = wasm.globe_new(max_sse, segments, color, hide_underground, use_normal, transparent, opacity, wireframe, ptr0, len0);
2654
- this.__wbg_ptr = ret >>> 0;
2697
+ this.__wbg_ptr = ret;
2655
2698
  GlobeFinalization.register(this, this.__wbg_ptr, this);
2656
2699
  return this;
2657
2700
  }
@@ -2679,6 +2722,17 @@ export class Globe {
2679
2722
  set hideUnderground(arg0) {
2680
2723
  wasm.__wbg_set_globe_hideUnderground(this.__wbg_ptr, arg0);
2681
2724
  }
2725
+ /**
2726
+ * Whether the globe tiles with the Geographic scheme (quantized-mesh
2727
+ * terrain) rather than the default WebMercator. Engine-set output — the
2728
+ * web renderer selects its raster drape pipeline (baked vs direct) from
2729
+ * it at tile-mesh creation; ignored on input (the scheme is dictated by
2730
+ * the terrain source, not configurable).
2731
+ * @param {boolean} arg0
2732
+ */
2733
+ set isGeographicTiling(arg0) {
2734
+ wasm.__wbg_set_globe_isGeographicTiling(this.__wbg_ptr, arg0);
2735
+ }
2682
2736
  /**
2683
2737
  * Screen-space error threshold for level of detail (LOD) calculations. Initialization only.
2684
2738
  * @param {number} arg0
@@ -2746,21 +2800,20 @@ export class HillshadeMaterial {
2746
2800
  */
2747
2801
  get exaggeration() {
2748
2802
  const ret = wasm.__wbg_get_hillshadematerial_exaggeration(this.__wbg_ptr);
2749
- return ret === 0x100000001 ? undefined : ret;
2803
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2750
2804
  }
2751
2805
  /**
2752
2806
  * Exaggeration factor for hillshade effect (default: 1.0)
2753
2807
  * @param {number | null} [arg0]
2754
2808
  */
2755
2809
  set exaggeration(arg0) {
2756
- wasm.__wbg_set_hillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
2810
+ wasm.__wbg_set_hillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
2757
2811
  }
2758
2812
  }
2759
2813
  if (Symbol.dispose) HillshadeMaterial.prototype[Symbol.dispose] = HillshadeMaterial.prototype.free;
2760
2814
 
2761
2815
  export class LLE {
2762
2816
  static __wrap(ptr) {
2763
- ptr = ptr >>> 0;
2764
2817
  const obj = Object.create(LLE.prototype);
2765
2818
  obj.__wbg_ptr = ptr;
2766
2819
  LLEFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -2804,7 +2857,7 @@ export class LLE {
2804
2857
  */
2805
2858
  constructor(lat, lng, height) {
2806
2859
  const ret = wasm.lle_new(lat, lng, height);
2807
- this.__wbg_ptr = ret >>> 0;
2860
+ this.__wbg_ptr = ret;
2808
2861
  LLEFinalization.register(this, this.__wbg_ptr, this);
2809
2862
  return this;
2810
2863
  }
@@ -2831,7 +2884,6 @@ if (Symbol.dispose) LLE.prototype[Symbol.dispose] = LLE.prototype.free;
2831
2884
 
2832
2885
  export class ModelInternalMaterial {
2833
2886
  static __wrap(ptr) {
2834
- ptr = ptr >>> 0;
2835
2887
  const obj = Object.create(ModelInternalMaterial.prototype);
2836
2888
  obj.__wbg_ptr = ptr;
2837
2889
  ModelInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -2926,7 +2978,7 @@ export class ModelMaterial {
2926
2978
  */
2927
2979
  get animationSpeed() {
2928
2980
  const ret = wasm.__wbg_get_modelmaterial_animationSpeed(this.__wbg_ptr);
2929
- return ret === 0x100000001 ? undefined : ret;
2981
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2930
2982
  }
2931
2983
  /**
2932
2984
  * @returns {boolean | undefined}
@@ -2954,7 +3006,7 @@ export class ModelMaterial {
2954
3006
  */
2955
3007
  get color() {
2956
3008
  const ret = wasm.__wbg_get_modelmaterial_color(this.__wbg_ptr);
2957
- return ret === 0x100000001 ? undefined : ret;
3009
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2958
3010
  }
2959
3011
  /**
2960
3012
  * Crease angle (in radians) used when `normals` is true. Defaults to 30°
@@ -2963,7 +3015,7 @@ export class ModelMaterial {
2963
3015
  */
2964
3016
  get creaseNormalAngle() {
2965
3017
  const ret = wasm.__wbg_get_modelmaterial_creaseNormalAngle(this.__wbg_ptr);
2966
- return ret === 0x100000001 ? undefined : ret;
3018
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2967
3019
  }
2968
3020
  /**
2969
3021
  * Enable writing to depth buffer
@@ -2992,7 +3044,7 @@ export class ModelMaterial {
2992
3044
  */
2993
3045
  get emissiveColor() {
2994
3046
  const ret = wasm.__wbg_get_modelmaterial_emissiveColor(this.__wbg_ptr);
2995
- return ret === 0x100000001 ? undefined : ret;
3047
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2996
3048
  }
2997
3049
  /**
2998
3050
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -3000,35 +3052,35 @@ export class ModelMaterial {
3000
3052
  */
3001
3053
  get emissiveIntensity() {
3002
3054
  const ret = wasm.__wbg_get_modelmaterial_emissiveIntensity(this.__wbg_ptr);
3003
- return ret === 0x100000001 ? undefined : ret;
3055
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3004
3056
  }
3005
3057
  /**
3006
3058
  * @returns {number | undefined}
3007
3059
  */
3008
3060
  get height() {
3009
3061
  const ret = wasm.__wbg_get_modelmaterial_height(this.__wbg_ptr);
3010
- return ret === 0x100000001 ? undefined : ret;
3062
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3011
3063
  }
3012
3064
  /**
3013
3065
  * @returns {number | undefined}
3014
3066
  */
3015
3067
  get ior() {
3016
3068
  const ret = wasm.__wbg_get_modelmaterial_ior(this.__wbg_ptr);
3017
- return ret === 0x100000001 ? undefined : ret;
3069
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3018
3070
  }
3019
3071
  /**
3020
3072
  * @returns {number | undefined}
3021
3073
  */
3022
3074
  get maxSse() {
3023
3075
  const ret = wasm.__wbg_get_modelmaterial_maxSse(this.__wbg_ptr);
3024
- return ret === 0x100000001 ? undefined : ret;
3076
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3025
3077
  }
3026
3078
  /**
3027
3079
  * @returns {number | undefined}
3028
3080
  */
3029
3081
  get metalness() {
3030
3082
  const ret = wasm.__wbg_get_modelmaterial_metalness(this.__wbg_ptr);
3031
- return ret === 0x100000001 ? undefined : ret;
3083
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3032
3084
  }
3033
3085
  /**
3034
3086
  * When true, recompute vertex normals using a creased-normals algorithm
@@ -3046,14 +3098,14 @@ export class ModelMaterial {
3046
3098
  */
3047
3099
  get opacity() {
3048
3100
  const ret = wasm.__wbg_get_modelmaterial_opacity(this.__wbg_ptr);
3049
- return ret === 0x100000001 ? undefined : ret;
3101
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3050
3102
  }
3051
3103
  /**
3052
3104
  * @returns {number | undefined}
3053
3105
  */
3054
3106
  get pointSize() {
3055
3107
  const ret = wasm.__wbg_get_modelmaterial_pointSize(this.__wbg_ptr);
3056
- return ret === 0x100000001 ? undefined : ret;
3108
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3057
3109
  }
3058
3110
  /**
3059
3111
  * @returns {boolean | undefined}
@@ -3068,7 +3120,7 @@ export class ModelMaterial {
3068
3120
  */
3069
3121
  get reflectivity() {
3070
3122
  const ret = wasm.__wbg_get_modelmaterial_reflectivity(this.__wbg_ptr);
3071
- return ret === 0x100000001 ? undefined : ret;
3123
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3072
3124
  }
3073
3125
  /**
3074
3126
  * Reflectivity for post-process.
@@ -3076,14 +3128,14 @@ export class ModelMaterial {
3076
3128
  */
3077
3129
  get roughness() {
3078
3130
  const ret = wasm.__wbg_get_modelmaterial_roughness(this.__wbg_ptr);
3079
- return ret === 0x100000001 ? undefined : ret;
3131
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3080
3132
  }
3081
3133
  /**
3082
3134
  * @returns {number | undefined}
3083
3135
  */
3084
3136
  get shininess() {
3085
3137
  const ret = wasm.__wbg_get_modelmaterial_shininess(this.__wbg_ptr);
3086
- return ret === 0x100000001 ? undefined : ret;
3138
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3087
3139
  }
3088
3140
  /**
3089
3141
  * @returns {boolean | undefined}
@@ -3111,14 +3163,14 @@ export class ModelMaterial {
3111
3163
  */
3112
3164
  get size() {
3113
3165
  const ret = wasm.__wbg_get_modelmaterial_size(this.__wbg_ptr);
3114
- return ret === 0x100000001 ? undefined : ret;
3166
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3115
3167
  }
3116
3168
  /**
3117
3169
  * @returns {number | undefined}
3118
3170
  */
3119
3171
  get specularStrength() {
3120
3172
  const ret = wasm.__wbg_get_modelmaterial_specularStrength(this.__wbg_ptr);
3121
- return ret === 0x100000001 ? undefined : ret;
3173
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3122
3174
  }
3123
3175
  /**
3124
3176
  * Enabling this value allows using `shininess` and `specular_strength`.
@@ -3154,7 +3206,7 @@ export class ModelMaterial {
3154
3206
  */
3155
3207
  get waterScaleNormal() {
3156
3208
  const ret = wasm.__wbg_get_modelmaterial_waterScaleNormal(this.__wbg_ptr);
3157
- return ret === 0x100000001 ? undefined : ret;
3209
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3158
3210
  }
3159
3211
  /**
3160
3212
  * Water wave speed.
@@ -3162,7 +3214,7 @@ export class ModelMaterial {
3162
3214
  */
3163
3215
  get waterSpeed() {
3164
3216
  const ret = wasm.__wbg_get_modelmaterial_waterSpeed(this.__wbg_ptr);
3165
- return ret === 0x100000001 ? undefined : ret;
3217
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3166
3218
  }
3167
3219
  /**
3168
3220
  * Apply a water material on the polygon. It might slow down the loading of the mesh.
@@ -3195,7 +3247,7 @@ export class ModelMaterial {
3195
3247
  * @param {number | null} [arg0]
3196
3248
  */
3197
3249
  set animationSpeed(arg0) {
3198
- wasm.__wbg_set_modelmaterial_animationSpeed(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3250
+ wasm.__wbg_set_modelmaterial_animationSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3199
3251
  }
3200
3252
  /**
3201
3253
  * @param {boolean | null} [arg0]
@@ -3219,7 +3271,7 @@ export class ModelMaterial {
3219
3271
  * @param {number | null} [arg0]
3220
3272
  */
3221
3273
  set color(arg0) {
3222
- wasm.__wbg_set_modelmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
3274
+ wasm.__wbg_set_modelmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
3223
3275
  }
3224
3276
  /**
3225
3277
  * Crease angle (in radians) used when `normals` is true. Defaults to 30°
@@ -3227,7 +3279,7 @@ export class ModelMaterial {
3227
3279
  * @param {number | null} [arg0]
3228
3280
  */
3229
3281
  set creaseNormalAngle(arg0) {
3230
- wasm.__wbg_set_modelmaterial_creaseNormalAngle(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3282
+ wasm.__wbg_set_modelmaterial_creaseNormalAngle(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3231
3283
  }
3232
3284
  /**
3233
3285
  * Enable writing to depth buffer
@@ -3250,38 +3302,38 @@ export class ModelMaterial {
3250
3302
  * @param {number | null} [arg0]
3251
3303
  */
3252
3304
  set emissiveColor(arg0) {
3253
- wasm.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
3305
+ wasm.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
3254
3306
  }
3255
3307
  /**
3256
3308
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
3257
3309
  * @param {number | null} [arg0]
3258
3310
  */
3259
3311
  set emissiveIntensity(arg0) {
3260
- wasm.__wbg_set_modelmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3312
+ wasm.__wbg_set_modelmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3261
3313
  }
3262
3314
  /**
3263
3315
  * @param {number | null} [arg0]
3264
3316
  */
3265
3317
  set height(arg0) {
3266
- wasm.__wbg_set_modelmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3318
+ wasm.__wbg_set_modelmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3267
3319
  }
3268
3320
  /**
3269
3321
  * @param {number | null} [arg0]
3270
3322
  */
3271
3323
  set ior(arg0) {
3272
- wasm.__wbg_set_modelmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3324
+ wasm.__wbg_set_modelmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3273
3325
  }
3274
3326
  /**
3275
3327
  * @param {number | null} [arg0]
3276
3328
  */
3277
3329
  set maxSse(arg0) {
3278
- wasm.__wbg_set_modelmaterial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3330
+ wasm.__wbg_set_modelmaterial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3279
3331
  }
3280
3332
  /**
3281
3333
  * @param {number | null} [arg0]
3282
3334
  */
3283
3335
  set metalness(arg0) {
3284
- wasm.__wbg_set_modelmaterial_metalness(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3336
+ wasm.__wbg_set_modelmaterial_metalness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3285
3337
  }
3286
3338
  /**
3287
3339
  * When true, recompute vertex normals using a creased-normals algorithm
@@ -3297,13 +3349,13 @@ export class ModelMaterial {
3297
3349
  * @param {number | null} [arg0]
3298
3350
  */
3299
3351
  set opacity(arg0) {
3300
- wasm.__wbg_set_modelmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3352
+ wasm.__wbg_set_modelmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3301
3353
  }
3302
3354
  /**
3303
3355
  * @param {number | null} [arg0]
3304
3356
  */
3305
3357
  set pointSize(arg0) {
3306
- wasm.__wbg_set_modelmaterial_pointSize(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3358
+ wasm.__wbg_set_modelmaterial_pointSize(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3307
3359
  }
3308
3360
  /**
3309
3361
  * @param {boolean | null} [arg0]
@@ -3316,20 +3368,20 @@ export class ModelMaterial {
3316
3368
  * @param {number | null} [arg0]
3317
3369
  */
3318
3370
  set reflectivity(arg0) {
3319
- wasm.__wbg_set_modelmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3371
+ wasm.__wbg_set_modelmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3320
3372
  }
3321
3373
  /**
3322
3374
  * Reflectivity for post-process.
3323
3375
  * @param {number | null} [arg0]
3324
3376
  */
3325
3377
  set roughness(arg0) {
3326
- wasm.__wbg_set_modelmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3378
+ wasm.__wbg_set_modelmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3327
3379
  }
3328
3380
  /**
3329
3381
  * @param {number | null} [arg0]
3330
3382
  */
3331
3383
  set shininess(arg0) {
3332
- wasm.__wbg_set_modelmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3384
+ wasm.__wbg_set_modelmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3333
3385
  }
3334
3386
  /**
3335
3387
  * @param {boolean | null} [arg0]
@@ -3353,13 +3405,13 @@ export class ModelMaterial {
3353
3405
  * @param {number | null} [arg0]
3354
3406
  */
3355
3407
  set size(arg0) {
3356
- wasm.__wbg_set_modelmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3408
+ wasm.__wbg_set_modelmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3357
3409
  }
3358
3410
  /**
3359
3411
  * @param {number | null} [arg0]
3360
3412
  */
3361
3413
  set specularStrength(arg0) {
3362
- wasm.__wbg_set_modelmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3414
+ wasm.__wbg_set_modelmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3363
3415
  }
3364
3416
  /**
3365
3417
  * Enabling this value allows using `shininess` and `specular_strength`.
@@ -3388,14 +3440,14 @@ export class ModelMaterial {
3388
3440
  * @param {number | null} [arg0]
3389
3441
  */
3390
3442
  set waterScaleNormal(arg0) {
3391
- wasm.__wbg_set_modelmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3443
+ wasm.__wbg_set_modelmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3392
3444
  }
3393
3445
  /**
3394
3446
  * Water wave speed.
3395
3447
  * @param {number | null} [arg0]
3396
3448
  */
3397
3449
  set waterSpeed(arg0) {
3398
- wasm.__wbg_set_modelmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3450
+ wasm.__wbg_set_modelmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3399
3451
  }
3400
3452
  /**
3401
3453
  * Apply a water material on the polygon. It might slow down the loading of the mesh.
@@ -3548,7 +3600,26 @@ export class PointMaterial {
3548
3600
  */
3549
3601
  get color() {
3550
3602
  const ret = wasm.__wbg_get_pointmaterial_color(this.__wbg_ptr);
3551
- return ret === 0x100000001 ? undefined : ret;
3603
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3604
+ }
3605
+ /**
3606
+ * Placement priority for decluttering; higher wins. Only meaningful when
3607
+ * `declutter` is enabled. Defaults to `0.0`.
3608
+ * @returns {number | undefined}
3609
+ */
3610
+ get declutterPriority() {
3611
+ const ret = wasm.__wbg_get_pointmaterial_declutterPriority(this.__wbg_ptr);
3612
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3613
+ }
3614
+ /**
3615
+ * Participate in screen-space decluttering: when labels/sprites overlap
3616
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
3617
+ * `false` to draw every label unconditionally.
3618
+ * @returns {boolean | undefined}
3619
+ */
3620
+ get declutter() {
3621
+ const ret = wasm.__wbg_get_pointmaterial_declutter(this.__wbg_ptr);
3622
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
3552
3623
  }
3553
3624
  /**
3554
3625
  * @returns {boolean | undefined}
@@ -3576,7 +3647,7 @@ export class PointMaterial {
3576
3647
  */
3577
3648
  get emissiveColor() {
3578
3649
  const ret = wasm.__wbg_get_pointmaterial_emissiveColor(this.__wbg_ptr);
3579
- return ret === 0x100000001 ? undefined : ret;
3650
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3580
3651
  }
3581
3652
  /**
3582
3653
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -3584,14 +3655,14 @@ export class PointMaterial {
3584
3655
  */
3585
3656
  get emissiveIntensity() {
3586
3657
  const ret = wasm.__wbg_get_pointmaterial_emissiveIntensity(this.__wbg_ptr);
3587
- return ret === 0x100000001 ? undefined : ret;
3658
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3588
3659
  }
3589
3660
  /**
3590
3661
  * @returns {number | undefined}
3591
3662
  */
3592
3663
  get height() {
3593
3664
  const ret = wasm.__wbg_get_pointmaterial_height(this.__wbg_ptr);
3594
- return ret === 0x100000001 ? undefined : ret;
3665
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3595
3666
  }
3596
3667
  /**
3597
3668
  * Avoid overlapping with the globe surface.
@@ -3606,7 +3677,7 @@ export class PointMaterial {
3606
3677
  */
3607
3678
  get opacity() {
3608
3679
  const ret = wasm.__wbg_get_pointmaterial_opacity(this.__wbg_ptr);
3609
- return ret === 0x100000001 ? undefined : ret;
3680
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3610
3681
  }
3611
3682
  /**
3612
3683
  * @returns {boolean | undefined}
@@ -3629,7 +3700,7 @@ export class PointMaterial {
3629
3700
  */
3630
3701
  get size() {
3631
3702
  const ret = wasm.__wbg_get_pointmaterial_size(this.__wbg_ptr);
3632
- return ret === 0x100000001 ? undefined : ret;
3703
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3633
3704
  }
3634
3705
  /**
3635
3706
  * @returns {boolean | undefined}
@@ -3661,7 +3732,24 @@ export class PointMaterial {
3661
3732
  * @param {number | null} [arg0]
3662
3733
  */
3663
3734
  set color(arg0) {
3664
- wasm.__wbg_set_pointmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
3735
+ wasm.__wbg_set_pointmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
3736
+ }
3737
+ /**
3738
+ * Placement priority for decluttering; higher wins. Only meaningful when
3739
+ * `declutter` is enabled. Defaults to `0.0`.
3740
+ * @param {number | null} [arg0]
3741
+ */
3742
+ set declutterPriority(arg0) {
3743
+ wasm.__wbg_set_pointmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3744
+ }
3745
+ /**
3746
+ * Participate in screen-space decluttering: when labels/sprites overlap
3747
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
3748
+ * `false` to draw every label unconditionally.
3749
+ * @param {boolean | null} [arg0]
3750
+ */
3751
+ set declutter(arg0) {
3752
+ wasm.__wbg_set_pointmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
3665
3753
  }
3666
3754
  /**
3667
3755
  * @param {boolean | null} [arg0]
@@ -3683,20 +3771,20 @@ export class PointMaterial {
3683
3771
  * @param {number | null} [arg0]
3684
3772
  */
3685
3773
  set emissiveColor(arg0) {
3686
- wasm.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
3774
+ wasm.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
3687
3775
  }
3688
3776
  /**
3689
3777
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
3690
3778
  * @param {number | null} [arg0]
3691
3779
  */
3692
3780
  set emissiveIntensity(arg0) {
3693
- wasm.__wbg_set_pointmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3781
+ wasm.__wbg_set_pointmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3694
3782
  }
3695
3783
  /**
3696
3784
  * @param {number | null} [arg0]
3697
3785
  */
3698
3786
  set height(arg0) {
3699
- wasm.__wbg_set_pointmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3787
+ wasm.__wbg_set_pointmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3700
3788
  }
3701
3789
  /**
3702
3790
  * Avoid overlapping with the globe surface.
@@ -3709,7 +3797,7 @@ export class PointMaterial {
3709
3797
  * @param {number | null} [arg0]
3710
3798
  */
3711
3799
  set opacity(arg0) {
3712
- wasm.__wbg_set_pointmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3800
+ wasm.__wbg_set_pointmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3713
3801
  }
3714
3802
  /**
3715
3803
  * @param {boolean | null} [arg0]
@@ -3729,7 +3817,7 @@ export class PointMaterial {
3729
3817
  * @param {number | null} [arg0]
3730
3818
  */
3731
3819
  set size(arg0) {
3732
- wasm.__wbg_set_pointmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3820
+ wasm.__wbg_set_pointmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3733
3821
  }
3734
3822
  /**
3735
3823
  * @param {boolean | null} [arg0]
@@ -3973,7 +4061,6 @@ if (Symbol.dispose) PolygonGeometryAttributes.prototype[Symbol.dispose] = Polygo
3973
4061
 
3974
4062
  export class PolygonInternalMaterial {
3975
4063
  static __wrap(ptr) {
3976
- ptr = ptr >>> 0;
3977
4064
  const obj = Object.create(PolygonInternalMaterial.prototype);
3978
4065
  obj.__wbg_ptr = ptr;
3979
4066
  PolygonInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -4053,7 +4140,7 @@ export class PolygonMaterial {
4053
4140
  */
4054
4141
  get color() {
4055
4142
  const ret = wasm.__wbg_get_polygonmaterial_color(this.__wbg_ptr);
4056
- return ret === 0x100000001 ? undefined : ret;
4143
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4057
4144
  }
4058
4145
  /**
4059
4146
  * IDs of selective effects to apply (e.g., "bloom", "outline")
@@ -4074,7 +4161,7 @@ export class PolygonMaterial {
4074
4161
  */
4075
4162
  get emissiveColor() {
4076
4163
  const ret = wasm.__wbg_get_polygonmaterial_emissiveColor(this.__wbg_ptr);
4077
- return ret === 0x100000001 ? undefined : ret;
4164
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4078
4165
  }
4079
4166
  /**
4080
4167
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -4082,28 +4169,28 @@ export class PolygonMaterial {
4082
4169
  */
4083
4170
  get emissiveIntensity() {
4084
4171
  const ret = wasm.__wbg_get_polygonmaterial_emissiveIntensity(this.__wbg_ptr);
4085
- return ret === 0x100000001 ? undefined : ret;
4172
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4086
4173
  }
4087
4174
  /**
4088
4175
  * @returns {number | undefined}
4089
4176
  */
4090
4177
  get extrudedHeight() {
4091
4178
  const ret = wasm.__wbg_get_polygonmaterial_extrudedHeight(this.__wbg_ptr);
4092
- return ret === 0x100000001 ? undefined : ret;
4179
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4093
4180
  }
4094
4181
  /**
4095
4182
  * @returns {number | undefined}
4096
4183
  */
4097
4184
  get height() {
4098
4185
  const ret = wasm.__wbg_get_polygonmaterial_height(this.__wbg_ptr);
4099
- return ret === 0x100000001 ? undefined : ret;
4186
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4100
4187
  }
4101
4188
  /**
4102
4189
  * @returns {number | undefined}
4103
4190
  */
4104
4191
  get ior() {
4105
4192
  const ret = wasm.__wbg_get_polygonmaterial_ior(this.__wbg_ptr);
4106
- return ret === 0x100000001 ? undefined : ret;
4193
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4107
4194
  }
4108
4195
  /**
4109
4196
  * Need to enable `transparent`.
@@ -4111,7 +4198,7 @@ export class PolygonMaterial {
4111
4198
  */
4112
4199
  get opacity() {
4113
4200
  const ret = wasm.__wbg_get_polygonmaterial_opacity(this.__wbg_ptr);
4114
- return ret === 0x100000001 ? undefined : ret;
4201
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4115
4202
  }
4116
4203
  /**
4117
4204
  * Currently, this property is supported only in GeoJSON.
@@ -4119,7 +4206,7 @@ export class PolygonMaterial {
4119
4206
  */
4120
4207
  get outlineColor() {
4121
4208
  const ret = wasm.__wbg_get_polygonmaterial_outlineColor(this.__wbg_ptr);
4122
- return ret === 0x100000001 ? undefined : ret;
4209
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4123
4210
  }
4124
4211
  /**
4125
4212
  * Currently, this property is supported only in GeoJSON.
@@ -4135,7 +4222,7 @@ export class PolygonMaterial {
4135
4222
  */
4136
4223
  get outlineWidth() {
4137
4224
  const ret = wasm.__wbg_get_polygonmaterial_outlineWidth(this.__wbg_ptr);
4138
- return ret === 0x100000001 ? undefined : ret;
4225
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4139
4226
  }
4140
4227
  /**
4141
4228
  * Whether to compute outline geometry. Only effective at initial load time.
@@ -4167,7 +4254,7 @@ export class PolygonMaterial {
4167
4254
  */
4168
4255
  get reflectivity() {
4169
4256
  const ret = wasm.__wbg_get_polygonmaterial_reflectivity(this.__wbg_ptr);
4170
- return ret === 0x100000001 ? undefined : ret;
4257
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4171
4258
  }
4172
4259
  /**
4173
4260
  * Reflectivity for post-process.
@@ -4175,14 +4262,14 @@ export class PolygonMaterial {
4175
4262
  */
4176
4263
  get roughness() {
4177
4264
  const ret = wasm.__wbg_get_polygonmaterial_roughness(this.__wbg_ptr);
4178
- return ret === 0x100000001 ? undefined : ret;
4265
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4179
4266
  }
4180
4267
  /**
4181
4268
  * @returns {number | undefined}
4182
4269
  */
4183
4270
  get shininess() {
4184
4271
  const ret = wasm.__wbg_get_polygonmaterial_shininess(this.__wbg_ptr);
4185
- return ret === 0x100000001 ? undefined : ret;
4272
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4186
4273
  }
4187
4274
  /**
4188
4275
  * @returns {boolean | undefined}
@@ -4196,7 +4283,7 @@ export class PolygonMaterial {
4196
4283
  */
4197
4284
  get specularStrength() {
4198
4285
  const ret = wasm.__wbg_get_polygonmaterial_specularStrength(this.__wbg_ptr);
4199
- return ret === 0x100000001 ? undefined : ret;
4286
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4200
4287
  }
4201
4288
  /**
4202
4289
  * Enabling this value allows using `shininess` and `specular_strength`.
@@ -4241,7 +4328,7 @@ export class PolygonMaterial {
4241
4328
  */
4242
4329
  get waterScaleNormal() {
4243
4330
  const ret = wasm.__wbg_get_polygonmaterial_waterScaleNormal(this.__wbg_ptr);
4244
- return ret === 0x100000001 ? undefined : ret;
4331
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4245
4332
  }
4246
4333
  /**
4247
4334
  * Water wave speed.
@@ -4249,7 +4336,7 @@ export class PolygonMaterial {
4249
4336
  */
4250
4337
  get waterSpeed() {
4251
4338
  const ret = wasm.__wbg_get_polygonmaterial_waterSpeed(this.__wbg_ptr);
4252
- return ret === 0x100000001 ? undefined : ret;
4339
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4253
4340
  }
4254
4341
  /**
4255
4342
  * Apply a water material on the polygon. It might slow down the loading of the mesh.
@@ -4286,8 +4373,8 @@ export class PolygonMaterial {
4286
4373
  _assertClass(__internal__, PolygonInternalMaterial);
4287
4374
  ptr0 = __internal__.__destroy_into_raw();
4288
4375
  }
4289
- const ret = wasm.polygonmaterial_new(isLikeNone(show) ? 0xFFFFFF : show ? 1 : 0, isLikeNone(cast_shadow) ? 0xFFFFFF : cast_shadow ? 1 : 0, isLikeNone(receive_shadow) ? 0xFFFFFF : receive_shadow ? 1 : 0, isLikeNone(color) ? 0x100000001 : (color) >>> 0, isLikeNone(clamp_to_ground) ? 0xFFFFFF : clamp_to_ground ? 1 : 0, isLikeNone(tiled) ? 0xFFFFFF : tiled ? 1 : 0, isLikeNone(height) ? 0x100000001 : Math.fround(height), isLikeNone(extruded_height) ? 0x100000001 : Math.fround(extruded_height), isLikeNone(wireframe) ? 0xFFFFFF : wireframe ? 1 : 0, isLikeNone(outline) ? 0xFFFFFF : outline ? 1 : 0, isLikeNone(per_position_height) ? 0xFFFFFF : per_position_height ? 1 : 0, ptr0);
4290
- this.__wbg_ptr = ret >>> 0;
4376
+ const ret = wasm.polygonmaterial_new(isLikeNone(show) ? 0xFFFFFF : show ? 1 : 0, isLikeNone(cast_shadow) ? 0xFFFFFF : cast_shadow ? 1 : 0, isLikeNone(receive_shadow) ? 0xFFFFFF : receive_shadow ? 1 : 0, isLikeNone(color) ? Number.MAX_SAFE_INTEGER : (color) >>> 0, isLikeNone(clamp_to_ground) ? 0xFFFFFF : clamp_to_ground ? 1 : 0, isLikeNone(tiled) ? 0xFFFFFF : tiled ? 1 : 0, isLikeNone(height) ? Number.MAX_SAFE_INTEGER : Math.fround(height), isLikeNone(extruded_height) ? Number.MAX_SAFE_INTEGER : Math.fround(extruded_height), isLikeNone(wireframe) ? 0xFFFFFF : wireframe ? 1 : 0, isLikeNone(outline) ? 0xFFFFFF : outline ? 1 : 0, isLikeNone(per_position_height) ? 0xFFFFFF : per_position_height ? 1 : 0, ptr0);
4377
+ this.__wbg_ptr = ret;
4291
4378
  PolygonMaterialFinalization.register(this, this.__wbg_ptr, this);
4292
4379
  return this;
4293
4380
  }
@@ -4324,7 +4411,7 @@ export class PolygonMaterial {
4324
4411
  * @param {number | null} [arg0]
4325
4412
  */
4326
4413
  set color(arg0) {
4327
- wasm.__wbg_set_polygonmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
4414
+ wasm.__wbg_set_polygonmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
4328
4415
  }
4329
4416
  /**
4330
4417
  * IDs of selective effects to apply (e.g., "bloom", "outline")
@@ -4340,46 +4427,46 @@ export class PolygonMaterial {
4340
4427
  * @param {number | null} [arg0]
4341
4428
  */
4342
4429
  set emissiveColor(arg0) {
4343
- wasm.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
4430
+ wasm.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
4344
4431
  }
4345
4432
  /**
4346
4433
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
4347
4434
  * @param {number | null} [arg0]
4348
4435
  */
4349
4436
  set emissiveIntensity(arg0) {
4350
- wasm.__wbg_set_polygonmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4437
+ wasm.__wbg_set_polygonmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4351
4438
  }
4352
4439
  /**
4353
4440
  * @param {number | null} [arg0]
4354
4441
  */
4355
4442
  set extrudedHeight(arg0) {
4356
- wasm.__wbg_set_polygonmaterial_extrudedHeight(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4443
+ wasm.__wbg_set_polygonmaterial_extrudedHeight(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4357
4444
  }
4358
4445
  /**
4359
4446
  * @param {number | null} [arg0]
4360
4447
  */
4361
4448
  set height(arg0) {
4362
- wasm.__wbg_set_polygonmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4449
+ wasm.__wbg_set_polygonmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4363
4450
  }
4364
4451
  /**
4365
4452
  * @param {number | null} [arg0]
4366
4453
  */
4367
4454
  set ior(arg0) {
4368
- wasm.__wbg_set_polygonmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4455
+ wasm.__wbg_set_polygonmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4369
4456
  }
4370
4457
  /**
4371
4458
  * Need to enable `transparent`.
4372
4459
  * @param {number | null} [arg0]
4373
4460
  */
4374
4461
  set opacity(arg0) {
4375
- wasm.__wbg_set_polygonmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4462
+ wasm.__wbg_set_polygonmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4376
4463
  }
4377
4464
  /**
4378
4465
  * Currently, this property is supported only in GeoJSON.
4379
4466
  * @param {number | null} [arg0]
4380
4467
  */
4381
4468
  set outlineColor(arg0) {
4382
- wasm.__wbg_set_polygonmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
4469
+ wasm.__wbg_set_polygonmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
4383
4470
  }
4384
4471
  /**
4385
4472
  * Currently, this property is supported only in GeoJSON.
@@ -4393,7 +4480,7 @@ export class PolygonMaterial {
4393
4480
  * @param {number | null} [arg0]
4394
4481
  */
4395
4482
  set outlineWidth(arg0) {
4396
- wasm.__wbg_set_polygonmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4483
+ wasm.__wbg_set_polygonmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4397
4484
  }
4398
4485
  /**
4399
4486
  * Whether to compute outline geometry. Only effective at initial load time.
@@ -4421,20 +4508,20 @@ export class PolygonMaterial {
4421
4508
  * @param {number | null} [arg0]
4422
4509
  */
4423
4510
  set reflectivity(arg0) {
4424
- wasm.__wbg_set_polygonmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4511
+ wasm.__wbg_set_polygonmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4425
4512
  }
4426
4513
  /**
4427
4514
  * Reflectivity for post-process.
4428
4515
  * @param {number | null} [arg0]
4429
4516
  */
4430
4517
  set roughness(arg0) {
4431
- wasm.__wbg_set_polygonmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4518
+ wasm.__wbg_set_polygonmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4432
4519
  }
4433
4520
  /**
4434
4521
  * @param {number | null} [arg0]
4435
4522
  */
4436
4523
  set shininess(arg0) {
4437
- wasm.__wbg_set_polygonmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4524
+ wasm.__wbg_set_polygonmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4438
4525
  }
4439
4526
  /**
4440
4527
  * @param {boolean | null} [arg0]
@@ -4446,7 +4533,7 @@ export class PolygonMaterial {
4446
4533
  * @param {number | null} [arg0]
4447
4534
  */
4448
4535
  set specularStrength(arg0) {
4449
- wasm.__wbg_set_polygonmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4536
+ wasm.__wbg_set_polygonmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4450
4537
  }
4451
4538
  /**
4452
4539
  * Enabling this value allows using `shininess` and `specular_strength`.
@@ -4486,14 +4573,14 @@ export class PolygonMaterial {
4486
4573
  * @param {number | null} [arg0]
4487
4574
  */
4488
4575
  set waterScaleNormal(arg0) {
4489
- wasm.__wbg_set_polygonmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4576
+ wasm.__wbg_set_polygonmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4490
4577
  }
4491
4578
  /**
4492
4579
  * Water wave speed.
4493
4580
  * @param {number | null} [arg0]
4494
4581
  */
4495
4582
  set waterSpeed(arg0) {
4496
- wasm.__wbg_set_polygonmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4583
+ wasm.__wbg_set_polygonmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4497
4584
  }
4498
4585
  /**
4499
4586
  * Apply a water material on the polygon. It might slow down the loading of the mesh.
@@ -4940,7 +5027,6 @@ if (Symbol.dispose) PolylineGeometryAttributes.prototype[Symbol.dispose] = Polyl
4940
5027
 
4941
5028
  export class PolylineInternalMaterial {
4942
5029
  static __wrap(ptr) {
4943
- ptr = ptr >>> 0;
4944
5030
  const obj = Object.create(PolylineInternalMaterial.prototype);
4945
5031
  obj.__wbg_ptr = ptr;
4946
5032
  PolylineInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -5013,7 +5099,7 @@ export class PolylineMaterial {
5013
5099
  */
5014
5100
  get color() {
5015
5101
  const ret = wasm.__wbg_get_polylinematerial_color(this.__wbg_ptr);
5016
- return ret === 0x100000001 ? undefined : ret;
5102
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5017
5103
  }
5018
5104
  /**
5019
5105
  * Enable writing to depth buffer
@@ -5042,7 +5128,7 @@ export class PolylineMaterial {
5042
5128
  */
5043
5129
  get emissiveColor() {
5044
5130
  const ret = wasm.__wbg_get_polylinematerial_emissiveColor(this.__wbg_ptr);
5045
- return ret === 0x100000001 ? undefined : ret;
5131
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5046
5132
  }
5047
5133
  /**
5048
5134
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -5050,14 +5136,14 @@ export class PolylineMaterial {
5050
5136
  */
5051
5137
  get emissiveIntensity() {
5052
5138
  const ret = wasm.__wbg_get_polylinematerial_emissiveIntensity(this.__wbg_ptr);
5053
- return ret === 0x100000001 ? undefined : ret;
5139
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5054
5140
  }
5055
5141
  /**
5056
5142
  * @returns {number | undefined}
5057
5143
  */
5058
5144
  get height() {
5059
5145
  const ret = wasm.__wbg_get_polylinematerial_height(this.__wbg_ptr);
5060
- return ret === 0x100000001 ? undefined : ret;
5146
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5061
5147
  }
5062
5148
  /**
5063
5149
  * Maximum line width in pixels, clamping the rendered width regardless of zoom level.
@@ -5066,7 +5152,7 @@ export class PolylineMaterial {
5066
5152
  */
5067
5153
  get maxWidth() {
5068
5154
  const ret = wasm.__wbg_get_polylinematerial_maxWidth(this.__wbg_ptr);
5069
- return ret === 0x100000001 ? undefined : ret;
5155
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5070
5156
  }
5071
5157
  /**
5072
5158
  * Opacity value
@@ -5074,7 +5160,7 @@ export class PolylineMaterial {
5074
5160
  */
5075
5161
  get opacity() {
5076
5162
  const ret = wasm.__wbg_get_polylinematerial_opacity(this.__wbg_ptr);
5077
- return ret === 0x100000001 ? undefined : ret;
5163
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5078
5164
  }
5079
5165
  /**
5080
5166
  * @returns {boolean | undefined}
@@ -5115,7 +5201,7 @@ export class PolylineMaterial {
5115
5201
  */
5116
5202
  get width() {
5117
5203
  const ret = wasm.__wbg_get_polylinematerial_width(this.__wbg_ptr);
5118
- return ret === 0x100000001 ? undefined : ret;
5204
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5119
5205
  }
5120
5206
  /**
5121
5207
  * @param {boolean | null} [show]
@@ -5135,8 +5221,8 @@ export class PolylineMaterial {
5135
5221
  _assertClass(__internal__, PolylineInternalMaterial);
5136
5222
  ptr0 = __internal__.__destroy_into_raw();
5137
5223
  }
5138
- const ret = wasm.polylinematerial_new(isLikeNone(show) ? 0xFFFFFF : show ? 1 : 0, isLikeNone(cast_shadow) ? 0xFFFFFF : cast_shadow ? 1 : 0, isLikeNone(receive_shadow) ? 0xFFFFFF : receive_shadow ? 1 : 0, isLikeNone(color) ? 0x100000001 : (color) >>> 0, isLikeNone(clamp_to_ground) ? 0xFFFFFF : clamp_to_ground ? 1 : 0, isLikeNone(tiled) ? 0xFFFFFF : tiled ? 1 : 0, isLikeNone(height) ? 0x100000001 : Math.fround(height), isLikeNone(width) ? 0x100000001 : Math.fround(width), isLikeNone(max_width) ? 0x100000001 : Math.fround(max_width), ptr0);
5139
- this.__wbg_ptr = ret >>> 0;
5224
+ const ret = wasm.polylinematerial_new(isLikeNone(show) ? 0xFFFFFF : show ? 1 : 0, isLikeNone(cast_shadow) ? 0xFFFFFF : cast_shadow ? 1 : 0, isLikeNone(receive_shadow) ? 0xFFFFFF : receive_shadow ? 1 : 0, isLikeNone(color) ? Number.MAX_SAFE_INTEGER : (color) >>> 0, isLikeNone(clamp_to_ground) ? 0xFFFFFF : clamp_to_ground ? 1 : 0, isLikeNone(tiled) ? 0xFFFFFF : tiled ? 1 : 0, isLikeNone(height) ? Number.MAX_SAFE_INTEGER : Math.fround(height), isLikeNone(width) ? Number.MAX_SAFE_INTEGER : Math.fround(width), isLikeNone(max_width) ? Number.MAX_SAFE_INTEGER : Math.fround(max_width), ptr0);
5225
+ this.__wbg_ptr = ret;
5140
5226
  PolylineMaterialFinalization.register(this, this.__wbg_ptr, this);
5141
5227
  return this;
5142
5228
  }
@@ -5167,7 +5253,7 @@ export class PolylineMaterial {
5167
5253
  * @param {number | null} [arg0]
5168
5254
  */
5169
5255
  set color(arg0) {
5170
- wasm.__wbg_set_polylinematerial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
5256
+ wasm.__wbg_set_polylinematerial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
5171
5257
  }
5172
5258
  /**
5173
5259
  * Enable writing to depth buffer
@@ -5190,20 +5276,20 @@ export class PolylineMaterial {
5190
5276
  * @param {number | null} [arg0]
5191
5277
  */
5192
5278
  set emissiveColor(arg0) {
5193
- wasm.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
5279
+ wasm.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
5194
5280
  }
5195
5281
  /**
5196
5282
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
5197
5283
  * @param {number | null} [arg0]
5198
5284
  */
5199
5285
  set emissiveIntensity(arg0) {
5200
- wasm.__wbg_set_polylinematerial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
5286
+ wasm.__wbg_set_polylinematerial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
5201
5287
  }
5202
5288
  /**
5203
5289
  * @param {number | null} [arg0]
5204
5290
  */
5205
5291
  set height(arg0) {
5206
- wasm.__wbg_set_polylinematerial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
5292
+ wasm.__wbg_set_polylinematerial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
5207
5293
  }
5208
5294
  /**
5209
5295
  * Maximum line width in pixels, clamping the rendered width regardless of zoom level.
@@ -5211,14 +5297,14 @@ export class PolylineMaterial {
5211
5297
  * @param {number | null} [arg0]
5212
5298
  */
5213
5299
  set maxWidth(arg0) {
5214
- wasm.__wbg_set_polylinematerial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
5300
+ wasm.__wbg_set_polylinematerial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
5215
5301
  }
5216
5302
  /**
5217
5303
  * Opacity value
5218
5304
  * @param {number | null} [arg0]
5219
5305
  */
5220
5306
  set opacity(arg0) {
5221
- wasm.__wbg_set_polylinematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
5307
+ wasm.__wbg_set_polylinematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
5222
5308
  }
5223
5309
  /**
5224
5310
  * @param {boolean | null} [arg0]
@@ -5254,7 +5340,7 @@ export class PolylineMaterial {
5254
5340
  * @param {number | null} [arg0]
5255
5341
  */
5256
5342
  set width(arg0) {
5257
- wasm.__wbg_set_polylinematerial_width(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
5343
+ wasm.__wbg_set_polylinematerial_width(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
5258
5344
  }
5259
5345
  }
5260
5346
  if (Symbol.dispose) PolylineMaterial.prototype[Symbol.dispose] = PolylineMaterial.prototype.free;
@@ -5280,14 +5366,14 @@ export class RasterMaterial {
5280
5366
  */
5281
5367
  get color() {
5282
5368
  const ret = wasm.__wbg_get_rastermaterial_color(this.__wbg_ptr);
5283
- return ret === 0x100000001 ? undefined : ret;
5369
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5284
5370
  }
5285
5371
  /**
5286
5372
  * @returns {number | undefined}
5287
5373
  */
5288
5374
  get opacity() {
5289
5375
  const ret = wasm.__wbg_get_rastermaterial_opacity(this.__wbg_ptr);
5290
- return ret === 0x100000001 ? undefined : ret;
5376
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5291
5377
  }
5292
5378
  /**
5293
5379
  * @returns {boolean | undefined}
@@ -5307,13 +5393,13 @@ export class RasterMaterial {
5307
5393
  * @param {number | null} [arg0]
5308
5394
  */
5309
5395
  set color(arg0) {
5310
- wasm.__wbg_set_rastermaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
5396
+ wasm.__wbg_set_rastermaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
5311
5397
  }
5312
5398
  /**
5313
5399
  * @param {number | null} [arg0]
5314
5400
  */
5315
5401
  set opacity(arg0) {
5316
- wasm.__wbg_set_rastermaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
5402
+ wasm.__wbg_set_rastermaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
5317
5403
  }
5318
5404
  /**
5319
5405
  * @param {boolean | null} [arg0]
@@ -5839,7 +5925,7 @@ export class Ray {
5839
5925
  _assertClass(direction, Vec3);
5840
5926
  var ptr1 = direction.__destroy_into_raw();
5841
5927
  const ret = wasm.ray_new(ptr0, ptr1);
5842
- this.__wbg_ptr = ret >>> 0;
5928
+ this.__wbg_ptr = ret;
5843
5929
  RayFinalization.register(this, this.__wbg_ptr, this);
5844
5930
  return this;
5845
5931
  }
@@ -5933,7 +6019,7 @@ export class ReturnedConstructedTerrainMesh {
5933
6019
  ptr2 = rtc_translation.__destroy_into_raw();
5934
6020
  }
5935
6021
  const ret = wasm.returnedconstructedterrainmesh_new(ptr0, max_height, min_height, ptr1, len1, ptr2);
5936
- this.__wbg_ptr = ret >>> 0;
6022
+ this.__wbg_ptr = ret;
5937
6023
  ReturnedConstructedTerrainMeshFinalization.register(this, this.__wbg_ptr, this);
5938
6024
  return this;
5939
6025
  }
@@ -6035,7 +6121,6 @@ if (Symbol.dispose) ReturnedConstructedTerrainMesh.prototype[Symbol.dispose] = R
6035
6121
 
6036
6122
  export class ShapeTextResult {
6037
6123
  static __wrap(ptr) {
6038
- ptr = ptr >>> 0;
6039
6124
  const obj = Object.create(ShapeTextResult.prototype);
6040
6125
  obj.__wbg_ptr = ptr;
6041
6126
  ShapeTextResultFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6254,7 +6339,7 @@ export class TerrainMaterial {
6254
6339
  */
6255
6340
  get skirtExaggeration() {
6256
6341
  const ret = wasm.__wbg_get_terrainmaterial_skirtExaggeration(this.__wbg_ptr);
6257
- return ret === 0x100000001 ? undefined : ret;
6342
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6258
6343
  }
6259
6344
  /**
6260
6345
  * Whether to render skirts along tile boundaries to hide gaps.
@@ -6295,7 +6380,7 @@ export class TerrainMaterial {
6295
6380
  * @param {number | null} [arg0]
6296
6381
  */
6297
6382
  set skirtExaggeration(arg0) {
6298
- wasm.__wbg_set_terrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6383
+ wasm.__wbg_set_terrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6299
6384
  }
6300
6385
  /**
6301
6386
  * Whether to render skirts along tile boundaries to hide gaps.
@@ -6324,21 +6409,21 @@ export class TextMaterial {
6324
6409
  */
6325
6410
  get backgroundColor() {
6326
6411
  const ret = wasm.__wbg_get_textmaterial_backgroundColor(this.__wbg_ptr);
6327
- return ret === 0x100000001 ? undefined : ret;
6412
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6328
6413
  }
6329
6414
  /**
6330
6415
  * @returns {number | undefined}
6331
6416
  */
6332
6417
  get borderColor() {
6333
6418
  const ret = wasm.__wbg_get_textmaterial_borderColor(this.__wbg_ptr);
6334
- return ret === 0x100000001 ? undefined : ret;
6419
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6335
6420
  }
6336
6421
  /**
6337
6422
  * @returns {number | undefined}
6338
6423
  */
6339
6424
  get borderWidth() {
6340
6425
  const ret = wasm.__wbg_get_textmaterial_borderWidth(this.__wbg_ptr);
6341
- return ret === 0x100000001 ? undefined : ret;
6426
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6342
6427
  }
6343
6428
  /**
6344
6429
  * @returns {Vec2 | undefined}
@@ -6359,7 +6444,26 @@ export class TextMaterial {
6359
6444
  */
6360
6445
  get color() {
6361
6446
  const ret = wasm.__wbg_get_textmaterial_color(this.__wbg_ptr);
6362
- return ret === 0x100000001 ? undefined : ret;
6447
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6448
+ }
6449
+ /**
6450
+ * Placement priority for decluttering; higher wins. Only meaningful when
6451
+ * `declutter` is enabled. Defaults to `0.0`.
6452
+ * @returns {number | undefined}
6453
+ */
6454
+ get declutterPriority() {
6455
+ const ret = wasm.__wbg_get_textmaterial_declutterPriority(this.__wbg_ptr);
6456
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6457
+ }
6458
+ /**
6459
+ * Participate in screen-space decluttering: when labels/sprites overlap
6460
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
6461
+ * `false` to draw every label unconditionally.
6462
+ * @returns {boolean | undefined}
6463
+ */
6464
+ get declutter() {
6465
+ const ret = wasm.__wbg_get_textmaterial_declutter(this.__wbg_ptr);
6466
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
6363
6467
  }
6364
6468
  /**
6365
6469
  * @returns {boolean | undefined}
@@ -6398,7 +6502,7 @@ export class TextMaterial {
6398
6502
  */
6399
6503
  get height() {
6400
6504
  const ret = wasm.__wbg_get_textmaterial_height(this.__wbg_ptr);
6401
- return ret === 0x100000001 ? undefined : ret;
6505
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6402
6506
  }
6403
6507
  /**
6404
6508
  * Enable high-quality glyph rendering. When `true`, text uses an MTSDF
@@ -6432,7 +6536,7 @@ export class TextMaterial {
6432
6536
  */
6433
6537
  get lineHeight() {
6434
6538
  const ret = wasm.__wbg_get_textmaterial_lineHeight(this.__wbg_ptr);
6435
- return ret === 0x100000001 ? undefined : ret;
6539
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6436
6540
  }
6437
6541
  /**
6438
6542
  * Maximum line width in ems (multiples of `size`) before text wraps at
@@ -6442,7 +6546,7 @@ export class TextMaterial {
6442
6546
  */
6443
6547
  get maxWidth() {
6444
6548
  const ret = wasm.__wbg_get_textmaterial_maxWidth(this.__wbg_ptr);
6445
- return ret === 0x100000001 ? undefined : ret;
6549
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6446
6550
  }
6447
6551
  /**
6448
6552
  * Avoid overlapping with the globe surface.
@@ -6458,7 +6562,7 @@ export class TextMaterial {
6458
6562
  */
6459
6563
  get opacity() {
6460
6564
  const ret = wasm.__wbg_get_textmaterial_opacity(this.__wbg_ptr);
6461
- return ret === 0x100000001 ? undefined : ret;
6565
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6462
6566
  }
6463
6567
  /**
6464
6568
  * Outline blur radius in CSS pixels. Defaults to `0.0`.
@@ -6466,7 +6570,7 @@ export class TextMaterial {
6466
6570
  */
6467
6571
  get outlineColor() {
6468
6572
  const ret = wasm.__wbg_get_textmaterial_outlineColor(this.__wbg_ptr);
6469
- return ret === 0x100000001 ? undefined : ret;
6573
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6470
6574
  }
6471
6575
  /**
6472
6576
  * Pixel offset `[x, y]` in CSS pixels. Defaults to `(0.0, 0.0)`.
@@ -6474,7 +6578,7 @@ export class TextMaterial {
6474
6578
  */
6475
6579
  get outlineOpacity() {
6476
6580
  const ret = wasm.__wbg_get_textmaterial_outlineOpacity(this.__wbg_ptr);
6477
- return ret === 0x100000001 ? undefined : ret;
6581
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6478
6582
  }
6479
6583
  /**
6480
6584
  * Outline thickness measured in CSS pixels. Defaults to `0.0`.
@@ -6482,7 +6586,7 @@ export class TextMaterial {
6482
6586
  */
6483
6587
  get outlineWidth() {
6484
6588
  const ret = wasm.__wbg_get_textmaterial_outlineWidth(this.__wbg_ptr);
6485
- return ret === 0x100000001 ? undefined : ret;
6589
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6486
6590
  }
6487
6591
  /**
6488
6592
  * @returns {boolean | undefined}
@@ -6505,7 +6609,7 @@ export class TextMaterial {
6505
6609
  */
6506
6610
  get size() {
6507
6611
  const ret = wasm.__wbg_get_textmaterial_size(this.__wbg_ptr);
6508
- return ret === 0x100000001 ? undefined : ret;
6612
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6509
6613
  }
6510
6614
  /**
6511
6615
  * Horizontal alignment of lines within a multi-line block:
@@ -6545,19 +6649,19 @@ export class TextMaterial {
6545
6649
  * @param {number | null} [arg0]
6546
6650
  */
6547
6651
  set backgroundColor(arg0) {
6548
- wasm.__wbg_set_textmaterial_backgroundColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6652
+ wasm.__wbg_set_textmaterial_backgroundColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6549
6653
  }
6550
6654
  /**
6551
6655
  * @param {number | null} [arg0]
6552
6656
  */
6553
6657
  set borderColor(arg0) {
6554
- wasm.__wbg_set_textmaterial_borderColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6658
+ wasm.__wbg_set_textmaterial_borderColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6555
6659
  }
6556
6660
  /**
6557
6661
  * @param {number | null} [arg0]
6558
6662
  */
6559
6663
  set borderWidth(arg0) {
6560
- wasm.__wbg_set_textmaterial_borderWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6664
+ wasm.__wbg_set_textmaterial_borderWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6561
6665
  }
6562
6666
  /**
6563
6667
  * @param {Vec2 | null} [arg0]
@@ -6580,7 +6684,24 @@ export class TextMaterial {
6580
6684
  * @param {number | null} [arg0]
6581
6685
  */
6582
6686
  set color(arg0) {
6583
- wasm.__wbg_set_textmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6687
+ wasm.__wbg_set_textmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6688
+ }
6689
+ /**
6690
+ * Placement priority for decluttering; higher wins. Only meaningful when
6691
+ * `declutter` is enabled. Defaults to `0.0`.
6692
+ * @param {number | null} [arg0]
6693
+ */
6694
+ set declutterPriority(arg0) {
6695
+ wasm.__wbg_set_textmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6696
+ }
6697
+ /**
6698
+ * Participate in screen-space decluttering: when labels/sprites overlap
6699
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
6700
+ * `false` to draw every label unconditionally.
6701
+ * @param {boolean | null} [arg0]
6702
+ */
6703
+ set declutter(arg0) {
6704
+ wasm.__wbg_set_textmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6584
6705
  }
6585
6706
  /**
6586
6707
  * @param {boolean | null} [arg0]
@@ -6613,7 +6734,7 @@ export class TextMaterial {
6613
6734
  * @param {number | null} [arg0]
6614
6735
  */
6615
6736
  set height(arg0) {
6616
- wasm.__wbg_set_textmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6737
+ wasm.__wbg_set_textmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6617
6738
  }
6618
6739
  /**
6619
6740
  * Enable high-quality glyph rendering. When `true`, text uses an MTSDF
@@ -6641,7 +6762,7 @@ export class TextMaterial {
6641
6762
  * @param {number | null} [arg0]
6642
6763
  */
6643
6764
  set lineHeight(arg0) {
6644
- wasm.__wbg_set_textmaterial_lineHeight(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6765
+ wasm.__wbg_set_textmaterial_lineHeight(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6645
6766
  }
6646
6767
  /**
6647
6768
  * Maximum line width in ems (multiples of `size`) before text wraps at
@@ -6650,7 +6771,7 @@ export class TextMaterial {
6650
6771
  * @param {number | null} [arg0]
6651
6772
  */
6652
6773
  set maxWidth(arg0) {
6653
- wasm.__wbg_set_textmaterial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6774
+ wasm.__wbg_set_textmaterial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6654
6775
  }
6655
6776
  /**
6656
6777
  * Avoid overlapping with the globe surface.
@@ -6664,28 +6785,28 @@ export class TextMaterial {
6664
6785
  * @param {number | null} [arg0]
6665
6786
  */
6666
6787
  set opacity(arg0) {
6667
- wasm.__wbg_set_textmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6788
+ wasm.__wbg_set_textmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6668
6789
  }
6669
6790
  /**
6670
6791
  * Outline blur radius in CSS pixels. Defaults to `0.0`.
6671
6792
  * @param {number | null} [arg0]
6672
6793
  */
6673
6794
  set outlineColor(arg0) {
6674
- wasm.__wbg_set_textmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6795
+ wasm.__wbg_set_textmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6675
6796
  }
6676
6797
  /**
6677
6798
  * Pixel offset `[x, y]` in CSS pixels. Defaults to `(0.0, 0.0)`.
6678
6799
  * @param {number | null} [arg0]
6679
6800
  */
6680
6801
  set outlineOpacity(arg0) {
6681
- wasm.__wbg_set_textmaterial_outlineOpacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6802
+ wasm.__wbg_set_textmaterial_outlineOpacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6682
6803
  }
6683
6804
  /**
6684
6805
  * Outline thickness measured in CSS pixels. Defaults to `0.0`.
6685
6806
  * @param {number | null} [arg0]
6686
6807
  */
6687
6808
  set outlineWidth(arg0) {
6688
- wasm.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6809
+ wasm.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6689
6810
  }
6690
6811
  /**
6691
6812
  * @param {boolean | null} [arg0]
@@ -6705,7 +6826,7 @@ export class TextMaterial {
6705
6826
  * @param {number | null} [arg0]
6706
6827
  */
6707
6828
  set size(arg0) {
6708
- wasm.__wbg_set_textmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6829
+ wasm.__wbg_set_textmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6709
6830
  }
6710
6831
  /**
6711
6832
  * Horizontal alignment of lines within a multi-line block:
@@ -6737,7 +6858,6 @@ if (Symbol.dispose) TextMaterial.prototype[Symbol.dispose] = TextMaterial.protot
6737
6858
 
6738
6859
  export class TextureFragment {
6739
6860
  static __wrap(ptr) {
6740
- ptr = ptr >>> 0;
6741
6861
  const obj = Object.create(TextureFragment.prototype);
6742
6862
  obj.__wbg_ptr = ptr;
6743
6863
  TextureFragmentFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6784,7 +6904,6 @@ if (Symbol.dispose) TextureFragment.prototype[Symbol.dispose] = TextureFragment.
6784
6904
 
6785
6905
  export class TileUvTransform {
6786
6906
  static __wrap(ptr) {
6787
- ptr = ptr >>> 0;
6788
6907
  const obj = Object.create(TileUvTransform.prototype);
6789
6908
  obj.__wbg_ptr = ptr;
6790
6909
  TileUvTransformFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6890,7 +7009,7 @@ export class TileXYZ {
6890
7009
  */
6891
7010
  constructor(x, y, z) {
6892
7011
  const ret = wasm.tilexyz_new(x, y, z);
6893
- this.__wbg_ptr = ret >>> 0;
7012
+ this.__wbg_ptr = ret;
6894
7013
  TileXYZFinalization.register(this, this.__wbg_ptr, this);
6895
7014
  return this;
6896
7015
  }
@@ -7047,7 +7166,7 @@ export class TransferablePolygonBatchedFeature {
7047
7166
  */
7048
7167
  constructor(crs, length) {
7049
7168
  const ret = wasm.transferablepolygonbatchedfeature_constructor(crs, length);
7050
- this.__wbg_ptr = ret >>> 0;
7169
+ this.__wbg_ptr = ret;
7051
7170
  TransferablePolygonBatchedFeatureFinalization.register(this, this.__wbg_ptr, this);
7052
7171
  return this;
7053
7172
  }
@@ -7226,7 +7345,7 @@ export class TransferablePolylineBatchedFeature {
7226
7345
  */
7227
7346
  constructor(crs, length) {
7228
7347
  const ret = wasm.transferablepolylinebatchedfeature_constructor(crs, length);
7229
- this.__wbg_ptr = ret >>> 0;
7348
+ this.__wbg_ptr = ret;
7230
7349
  TransferablePolylineBatchedFeatureFinalization.register(this, this.__wbg_ptr, this);
7231
7350
  return this;
7232
7351
  }
@@ -7444,7 +7563,7 @@ export class Transform {
7444
7563
  */
7445
7564
  constructor(tx, ty, tz, qx, qy, qz, qw, sx, sy, sz) {
7446
7565
  const ret = wasm.transform_new(tx, ty, tz, qx, qy, qz, qw, sx, sy, sz);
7447
- this.__wbg_ptr = ret >>> 0;
7566
+ this.__wbg_ptr = ret;
7448
7567
  TransformFinalization.register(this, this.__wbg_ptr, this);
7449
7568
  return this;
7450
7569
  }
@@ -7483,7 +7602,7 @@ export class UintAttribute {
7483
7602
  const ptr0 = passArray32ToWasm0(data, wasm.__wbindgen_malloc);
7484
7603
  const len0 = WASM_VECTOR_LEN;
7485
7604
  const ret = wasm.uintattribute_new(ptr0, len0, size);
7486
- this.__wbg_ptr = ret >>> 0;
7605
+ this.__wbg_ptr = ret;
7487
7606
  UintAttributeFinalization.register(this, this.__wbg_ptr, this);
7488
7607
  return this;
7489
7608
  }
@@ -7527,7 +7646,7 @@ export class UpsamplableTerrainGeometry {
7527
7646
  var ptr4 = isLikeNone(watermask) ? 0 : passArray8ToWasm0(watermask, wasm.__wbindgen_malloc);
7528
7647
  var len4 = WASM_VECTOR_LEN;
7529
7648
  const ret = wasm.upsamplableterraingeometry_new(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
7530
- this.__wbg_ptr = ret >>> 0;
7649
+ this.__wbg_ptr = ret;
7531
7650
  UpsamplableTerrainGeometryFinalization.register(this, this.__wbg_ptr, this);
7532
7651
  return this;
7533
7652
  }
@@ -7536,7 +7655,6 @@ if (Symbol.dispose) UpsamplableTerrainGeometry.prototype[Symbol.dispose] = Upsam
7536
7655
 
7537
7656
  export class Vec2 {
7538
7657
  static __wrap(ptr) {
7539
- ptr = ptr >>> 0;
7540
7658
  const obj = Object.create(Vec2.prototype);
7541
7659
  obj.__wbg_ptr = ptr;
7542
7660
  Vec2Finalization.register(obj, obj.__wbg_ptr, obj);
@@ -7584,7 +7702,7 @@ export class Vec2 {
7584
7702
  */
7585
7703
  constructor(x, y) {
7586
7704
  const ret = wasm.vec2_new(x, y);
7587
- this.__wbg_ptr = ret >>> 0;
7705
+ this.__wbg_ptr = ret;
7588
7706
  Vec2Finalization.register(this, this.__wbg_ptr, this);
7589
7707
  return this;
7590
7708
  }
@@ -7593,7 +7711,6 @@ if (Symbol.dispose) Vec2.prototype[Symbol.dispose] = Vec2.prototype.free;
7593
7711
 
7594
7712
  export class Vec3 {
7595
7713
  static __wrap(ptr) {
7596
- ptr = ptr >>> 0;
7597
7714
  const obj = Object.create(Vec3.prototype);
7598
7715
  obj.__wbg_ptr = ptr;
7599
7716
  Vec3Finalization.register(obj, obj.__wbg_ptr, obj);
@@ -7655,7 +7772,7 @@ export class Vec3 {
7655
7772
  */
7656
7773
  constructor(x, y, z) {
7657
7774
  const ret = wasm.vec3_new(x, y, z);
7658
- this.__wbg_ptr = ret >>> 0;
7775
+ this.__wbg_ptr = ret;
7659
7776
  Vec3Finalization.register(this, this.__wbg_ptr, this);
7660
7777
  return this;
7661
7778
  }
@@ -7664,7 +7781,6 @@ if (Symbol.dispose) Vec3.prototype[Symbol.dispose] = Vec3.prototype.free;
7664
7781
 
7665
7782
  export class WasmGlyphMetrics {
7666
7783
  static __wrap(ptr) {
7667
- ptr = ptr >>> 0;
7668
7784
  const obj = Object.create(WasmGlyphMetrics.prototype);
7669
7785
  obj.__wbg_ptr = ptr;
7670
7786
  WasmGlyphMetricsFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -7810,7 +7926,6 @@ if (Symbol.dispose) WasmGlyphMetrics.prototype[Symbol.dispose] = WasmGlyphMetric
7810
7926
 
7811
7927
  export class WasmShapedGlyph {
7812
7928
  static __wrap(ptr) {
7813
- ptr = ptr >>> 0;
7814
7929
  const obj = Object.create(WasmShapedGlyph.prototype);
7815
7930
  obj.__wbg_ptr = ptr;
7816
7931
  WasmShapedGlyphFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -8012,7 +8127,7 @@ export class Window {
8012
8127
  */
8013
8128
  constructor(width, height, pixel_ratio) {
8014
8129
  const ret = wasm.window_new(width, height, pixel_ratio);
8015
- this.__wbg_ptr = ret >>> 0;
8130
+ this.__wbg_ptr = ret;
8016
8131
  WindowFinalization.register(this, this.__wbg_ptr, this);
8017
8132
  return this;
8018
8133
  }
@@ -8037,7 +8152,7 @@ export function start() {
8037
8152
  function __wbg_get_imports() {
8038
8153
  const import0 = {
8039
8154
  __proto__: null,
8040
- __wbg_Error_960c155d3d49e4c2: function(arg0, arg1) {
8155
+ __wbg_Error_92b29b0548f8b746: function(arg0, arg1) {
8041
8156
  const ret = Error(getStringFromWasm0(arg0, arg1));
8042
8157
  return ret;
8043
8158
  },
@@ -8048,60 +8163,60 @@ function __wbg_get_imports() {
8048
8163
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
8049
8164
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
8050
8165
  },
8051
- __wbg___wbindgen_bigint_get_as_i64_3d3aba5d616c6a51: function(arg0, arg1) {
8166
+ __wbg___wbindgen_bigint_get_as_i64_d968e41184ae354f: function(arg0, arg1) {
8052
8167
  const v = arg1;
8053
8168
  const ret = typeof(v) === 'bigint' ? v : undefined;
8054
8169
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
8055
8170
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
8056
8171
  },
8057
- __wbg___wbindgen_boolean_get_6ea149f0a8dcc5ff: function(arg0) {
8172
+ __wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
8058
8173
  const v = arg0;
8059
8174
  const ret = typeof(v) === 'boolean' ? v : undefined;
8060
8175
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
8061
8176
  },
8062
- __wbg___wbindgen_debug_string_ab4b34d23d6778bd: function(arg0, arg1) {
8177
+ __wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
8063
8178
  const ret = debugString(arg1);
8064
8179
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
8065
8180
  const len1 = WASM_VECTOR_LEN;
8066
8181
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
8067
8182
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
8068
8183
  },
8069
- __wbg___wbindgen_in_a5d8b22e52b24dd1: function(arg0, arg1) {
8184
+ __wbg___wbindgen_in_aca499c5de7ff5e5: function(arg0, arg1) {
8070
8185
  const ret = arg0 in arg1;
8071
8186
  return ret;
8072
8187
  },
8073
- __wbg___wbindgen_is_bigint_ec25c7f91b4d9e93: function(arg0) {
8188
+ __wbg___wbindgen_is_bigint_2f76dc55065b4273: function(arg0) {
8074
8189
  const ret = typeof(arg0) === 'bigint';
8075
8190
  return ret;
8076
8191
  },
8077
- __wbg___wbindgen_is_function_3baa9db1a987f47d: function(arg0) {
8192
+ __wbg___wbindgen_is_function_1ff95bcc5517c252: function(arg0) {
8078
8193
  const ret = typeof(arg0) === 'function';
8079
8194
  return ret;
8080
8195
  },
8081
- __wbg___wbindgen_is_object_63322ec0cd6ea4ef: function(arg0) {
8196
+ __wbg___wbindgen_is_object_a27215656b807791: function(arg0) {
8082
8197
  const val = arg0;
8083
8198
  const ret = typeof(val) === 'object' && val !== null;
8084
8199
  return ret;
8085
8200
  },
8086
- __wbg___wbindgen_jsval_eq_d3465d8a07697228: function(arg0, arg1) {
8201
+ __wbg___wbindgen_jsval_eq_e659fcf7b0e32763: function(arg0, arg1) {
8087
8202
  const ret = arg0 === arg1;
8088
8203
  return ret;
8089
8204
  },
8090
- __wbg___wbindgen_jsval_loose_eq_cac3565e89b4134c: function(arg0, arg1) {
8205
+ __wbg___wbindgen_jsval_loose_eq_db4c3b15f63fc170: function(arg0, arg1) {
8091
8206
  const ret = arg0 == arg1;
8092
8207
  return ret;
8093
8208
  },
8094
- __wbg___wbindgen_memory_dfa12096f400c9bd: function() {
8209
+ __wbg___wbindgen_memory_de265df8aadd6273: function() {
8095
8210
  const ret = wasm.memory;
8096
8211
  return ret;
8097
8212
  },
8098
- __wbg___wbindgen_number_get_c7f42aed0525c451: function(arg0, arg1) {
8213
+ __wbg___wbindgen_number_get_394265ed1e1b84ee: function(arg0, arg1) {
8099
8214
  const obj = arg1;
8100
8215
  const ret = typeof(obj) === 'number' ? obj : undefined;
8101
8216
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
8102
8217
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
8103
8218
  },
8104
- __wbg___wbindgen_string_get_7ed5322991caaec5: function(arg0, arg1) {
8219
+ __wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
8105
8220
  const obj = arg1;
8106
8221
  const ret = typeof(obj) === 'string' ? obj : undefined;
8107
8222
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -8109,59 +8224,42 @@ function __wbg_get_imports() {
8109
8224
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
8110
8225
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
8111
8226
  },
8112
- __wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
8227
+ __wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
8113
8228
  throw new Error(getStringFromWasm0(arg0, arg1));
8114
8229
  },
8115
- __wbg___wbindgen_try_into_number_d7832e9de41bafc5: function(arg0) {
8116
- let result;
8117
- try { result = +arg0 } catch (e) { result = e }
8118
- const ret = result;
8119
- return ret;
8120
- },
8121
- __wbg_buffer_0377ff0622c5de76: function(arg0) {
8230
+ __wbg_buffer_0f212447ac64c53b: function(arg0) {
8122
8231
  const ret = arg0.buffer;
8123
8232
  return ret;
8124
8233
  },
8125
- __wbg_call_14b169f759b26747: function() { return handleError(function (arg0, arg1) {
8234
+ __wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
8126
8235
  const ret = arg0.call(arg1);
8127
8236
  return ret;
8128
8237
  }, arguments); },
8129
- __wbg_call_a24592a6f349a97e: function() { return handleError(function (arg0, arg1, arg2) {
8238
+ __wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
8130
8239
  const ret = arg0.call(arg1, arg2);
8131
8240
  return ret;
8132
8241
  }, arguments); },
8133
- __wbg_done_9158f7cc8751ba32: function(arg0) {
8242
+ __wbg_done_89b2b13e91a60321: function(arg0) {
8134
8243
  const ret = arg0.done;
8135
8244
  return ret;
8136
8245
  },
8137
- __wbg_entries_e0b73aa8571ddb56: function(arg0) {
8246
+ __wbg_entries_015dc610cd81ede0: function(arg0) {
8138
8247
  const ret = Object.entries(arg0);
8139
8248
  return ret;
8140
8249
  },
8141
- __wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
8142
- let deferred0_0;
8143
- let deferred0_1;
8144
- try {
8145
- deferred0_0 = arg0;
8146
- deferred0_1 = arg1;
8147
- console.error(getStringFromWasm0(arg0, arg1));
8148
- } finally {
8149
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
8150
- }
8250
+ __wbg_get_507a50627bffa49b: function(arg0, arg1) {
8251
+ const ret = arg0[arg1 >>> 0];
8252
+ return ret;
8151
8253
  },
8152
- __wbg_get_1affdbdd5573b16a: function() { return handleError(function (arg0, arg1) {
8254
+ __wbg_get_c7eb1f358a7654df: function() { return handleError(function (arg0, arg1) {
8153
8255
  const ret = Reflect.get(arg0, arg1);
8154
8256
  return ret;
8155
8257
  }, arguments); },
8156
- __wbg_get_8360291721e2339f: function(arg0, arg1) {
8258
+ __wbg_get_unchecked_6e0ad6d2a41b06f6: function(arg0, arg1) {
8157
8259
  const ret = arg0[arg1 >>> 0];
8158
8260
  return ret;
8159
8261
  },
8160
- __wbg_get_unchecked_17f53dad852b9588: function(arg0, arg1) {
8161
- const ret = arg0[arg1 >>> 0];
8162
- return ret;
8163
- },
8164
- __wbg_instanceof_ArrayBuffer_7c8433c6ed14ffe3: function(arg0) {
8262
+ __wbg_instanceof_ArrayBuffer_4480b9e0068a8adb: function(arg0) {
8165
8263
  let result;
8166
8264
  try {
8167
8265
  result = arg0 instanceof ArrayBuffer;
@@ -8171,7 +8269,7 @@ function __wbg_get_imports() {
8171
8269
  const ret = result;
8172
8270
  return ret;
8173
8271
  },
8174
- __wbg_instanceof_Map_1b76fd4635be43eb: function(arg0) {
8272
+ __wbg_instanceof_Map_e5b5e3db98422fcc: function(arg0) {
8175
8273
  let result;
8176
8274
  try {
8177
8275
  result = arg0 instanceof Map;
@@ -8181,7 +8279,7 @@ function __wbg_get_imports() {
8181
8279
  const ret = result;
8182
8280
  return ret;
8183
8281
  },
8184
- __wbg_instanceof_Uint8Array_152ba1f289edcf3f: function(arg0) {
8282
+ __wbg_instanceof_Uint8Array_309b927aaf7a3fc7: function(arg0) {
8185
8283
  let result;
8186
8284
  try {
8187
8285
  result = arg0 instanceof Uint8Array;
@@ -8191,35 +8289,35 @@ function __wbg_get_imports() {
8191
8289
  const ret = result;
8192
8290
  return ret;
8193
8291
  },
8194
- __wbg_isArray_c3109d14ffc06469: function(arg0) {
8292
+ __wbg_isArray_0677c962b281d01a: function(arg0) {
8195
8293
  const ret = Array.isArray(arg0);
8196
8294
  return ret;
8197
8295
  },
8198
- __wbg_isSafeInteger_4fc213d1989d6d2a: function(arg0) {
8296
+ __wbg_isSafeInteger_04f36e4056f1b851: function(arg0) {
8199
8297
  const ret = Number.isSafeInteger(arg0);
8200
8298
  return ret;
8201
8299
  },
8202
- __wbg_iterator_013bc09ec998c2a7: function() {
8300
+ __wbg_iterator_6f722e4a93058b71: function() {
8203
8301
  const ret = Symbol.iterator;
8204
8302
  return ret;
8205
8303
  },
8206
- __wbg_length_3d4ecd04bd8d22f1: function(arg0) {
8304
+ __wbg_length_0133fa10e3234c57: function(arg0) {
8207
8305
  const ret = arg0.length;
8208
8306
  return ret;
8209
8307
  },
8210
- __wbg_length_9f1775224cf1d815: function(arg0) {
8308
+ __wbg_length_1f0964f4a5e2c6d8: function(arg0) {
8211
8309
  const ret = arg0.length;
8212
8310
  return ret;
8213
8311
  },
8214
- __wbg_length_b5ce18c1fcafa728: function(arg0) {
8312
+ __wbg_length_370319915dc99107: function(arg0) {
8215
8313
  const ret = arg0.length;
8216
8314
  return ret;
8217
8315
  },
8218
- __wbg_length_d807629e96c741b8: function(arg0) {
8316
+ __wbg_length_381d540857ec99e8: function(arg0) {
8219
8317
  const ret = arg0.length;
8220
8318
  return ret;
8221
8319
  },
8222
- __wbg_length_fab29957ea6bdb8c: function(arg0) {
8320
+ __wbg_length_98f10d1e2f4ea968: function(arg0) {
8223
8321
  const ret = arg0.length;
8224
8322
  return ret;
8225
8323
  },
@@ -8227,83 +8325,72 @@ function __wbg_get_imports() {
8227
8325
  const ret = LLE.__wrap(arg0);
8228
8326
  return ret;
8229
8327
  },
8230
- __wbg_new_0c7403db6e782f19: function(arg0) {
8231
- const ret = new Uint8Array(arg0);
8328
+ __wbg_new_32b398fb48b6d94a: function() {
8329
+ const ret = new Array();
8232
8330
  return ret;
8233
8331
  },
8234
- __wbg_new_1c0925936314b719: function(arg0) {
8332
+ __wbg_new_80efd62ef570c5de: function(arg0) {
8235
8333
  const ret = new Float64Array(arg0);
8236
8334
  return ret;
8237
8335
  },
8238
- __wbg_new_227d7c05414eb861: function() {
8239
- const ret = new Error();
8336
+ __wbg_new_92a08b12c30e98e8: function(arg0) {
8337
+ const ret = new Float32Array(arg0);
8240
8338
  return ret;
8241
8339
  },
8242
- __wbg_new_682678e2f47e32bc: function() {
8243
- const ret = new Array();
8340
+ __wbg_new_cd45aabdf6073e84: function(arg0) {
8341
+ const ret = new Uint8Array(arg0);
8244
8342
  return ret;
8245
8343
  },
8246
- __wbg_new_8bc2b540bbfdbb81: function(arg0) {
8247
- const ret = new Uint32Array(arg0);
8344
+ __wbg_new_da52cf8fe3429cb2: function() {
8345
+ const ret = new Object();
8248
8346
  return ret;
8249
8347
  },
8250
- __wbg_new_aa8d0fa9762c29bd: function() {
8251
- const ret = new Object();
8348
+ __wbg_new_dfd44b7151fab657: function(arg0) {
8349
+ const ret = new Uint32Array(arg0);
8252
8350
  return ret;
8253
8351
  },
8254
- __wbg_new_b2663e175990f0a6: function(arg0) {
8255
- const ret = new Float32Array(arg0);
8352
+ __wbg_new_with_byte_offset_and_length_54c7724ee3ec7d82: function(arg0, arg1, arg2) {
8353
+ const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
8256
8354
  return ret;
8257
8355
  },
8258
- __wbg_new_with_byte_offset_and_length_00cc6a9128e26a8a: function(arg0, arg1, arg2) {
8356
+ __wbg_new_with_byte_offset_and_length_5784416b97d45088: function(arg0, arg1, arg2) {
8259
8357
  const ret = new Float64Array(arg0, arg1 >>> 0, arg2 >>> 0);
8260
8358
  return ret;
8261
8359
  },
8262
- __wbg_new_with_byte_offset_and_length_01848e8d6a3d49ad: function(arg0, arg1, arg2) {
8263
- const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
8360
+ __wbg_new_with_byte_offset_and_length_c6e1a1aae380b2ff: function(arg0, arg1, arg2) {
8361
+ const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
8264
8362
  return ret;
8265
8363
  },
8266
- __wbg_new_with_byte_offset_and_length_3a205534e8f09fd2: function(arg0, arg1, arg2) {
8267
- const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
8364
+ __wbg_next_6dbf2c0ac8cde20f: function(arg0) {
8365
+ const ret = arg0.next;
8268
8366
  return ret;
8269
8367
  },
8270
- __wbg_next_0340c4ae324393c3: function() { return handleError(function (arg0) {
8368
+ __wbg_next_71f2aa1cb3d1e37e: function() { return handleError(function (arg0) {
8271
8369
  const ret = arg0.next();
8272
8370
  return ret;
8273
8371
  }, arguments); },
8274
- __wbg_next_7646edaa39458ef7: function(arg0) {
8275
- const ret = arg0.next;
8276
- return ret;
8277
- },
8278
- __wbg_prototypesetcall_a6b02eb00b0f4ce2: function(arg0, arg1, arg2) {
8372
+ __wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
8279
8373
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
8280
8374
  },
8281
- __wbg_push_471a5b068a5295f6: function(arg0, arg1) {
8375
+ __wbg_push_d2ae3af0c1217ae6: function(arg0, arg1) {
8282
8376
  const ret = arg0.push(arg1);
8283
8377
  return ret;
8284
8378
  },
8285
- __wbg_set_022bee52d0b05b19: function() { return handleError(function (arg0, arg1, arg2) {
8286
- const ret = Reflect.set(arg0, arg1, arg2);
8287
- return ret;
8288
- }, arguments); },
8289
- __wbg_set_3d484eb794afec82: function(arg0, arg1, arg2) {
8290
- arg0.set(getArrayU8FromWasm0(arg1, arg2));
8379
+ __wbg_set_1e016b6a1b5f7cb3: function(arg0, arg1, arg2) {
8380
+ arg0.set(getArrayF32FromWasm0(arg1, arg2));
8291
8381
  },
8292
- __wbg_set_5637e648df81c8e5: function(arg0, arg1, arg2) {
8382
+ __wbg_set_29967298e530d279: function(arg0, arg1, arg2) {
8293
8383
  arg0.set(getArrayF64FromWasm0(arg1, arg2));
8294
8384
  },
8295
- __wbg_set_95a66997655120e2: function(arg0, arg1, arg2) {
8296
- arg0.set(getArrayU32FromWasm0(arg1, arg2));
8297
- },
8298
- __wbg_set_c625d5a9e6b7554b: function(arg0, arg1, arg2) {
8299
- arg0.set(getArrayF32FromWasm0(arg1, arg2));
8385
+ __wbg_set_4d7dd76f3dae2926: function(arg0, arg1, arg2) {
8386
+ arg0.set(getArrayU8FromWasm0(arg1, arg2));
8300
8387
  },
8301
- __wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
8302
- const ret = arg1.stack;
8303
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
8304
- const len1 = WASM_VECTOR_LEN;
8305
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
8306
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
8388
+ __wbg_set_8535240470bf2500: function() { return handleError(function (arg0, arg1, arg2) {
8389
+ const ret = Reflect.set(arg0, arg1, arg2);
8390
+ return ret;
8391
+ }, arguments); },
8392
+ __wbg_set_b5e6b338281ca6ff: function(arg0, arg1, arg2) {
8393
+ arg0.set(getArrayU32FromWasm0(arg1, arg2));
8307
8394
  },
8308
8395
  __wbg_texturefragment_new: function(arg0) {
8309
8396
  const ret = TextureFragment.__wrap(arg0);
@@ -8313,7 +8400,7 @@ function __wbg_get_imports() {
8313
8400
  const ret = TileUvTransform.__wrap(arg0);
8314
8401
  return ret;
8315
8402
  },
8316
- __wbg_value_ee3a06f4579184fa: function(arg0) {
8403
+ __wbg_value_a5d5488a9589444a: function(arg0) {
8317
8404
  const ret = arg0.value;
8318
8405
  return ret;
8319
8406
  },
@@ -8371,199 +8458,199 @@ function __wbg_get_imports() {
8371
8458
 
8372
8459
  const AabbFinalization = (typeof FinalizationRegistry === 'undefined')
8373
8460
  ? { register: () => {}, unregister: () => {} }
8374
- : new FinalizationRegistry(ptr => wasm.__wbg_aabb_free(ptr >>> 0, 1));
8461
+ : new FinalizationRegistry(ptr => wasm.__wbg_aabb_free(ptr, 1));
8375
8462
  const BatchPropResultFinalization = (typeof FinalizationRegistry === 'undefined')
8376
8463
  ? { register: () => {}, unregister: () => {} }
8377
- : new FinalizationRegistry(ptr => wasm.__wbg_batchpropresult_free(ptr >>> 0, 1));
8464
+ : new FinalizationRegistry(ptr => wasm.__wbg_batchpropresult_free(ptr, 1));
8378
8465
  const BillboardMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8379
8466
  ? { register: () => {}, unregister: () => {} }
8380
- : new FinalizationRegistry(ptr => wasm.__wbg_billboardmaterial_free(ptr >>> 0, 1));
8467
+ : new FinalizationRegistry(ptr => wasm.__wbg_billboardmaterial_free(ptr, 1));
8381
8468
  const BoundingSphereFinalization = (typeof FinalizationRegistry === 'undefined')
8382
8469
  ? { register: () => {}, unregister: () => {} }
8383
- : new FinalizationRegistry(ptr => wasm.__wbg_boundingsphere_free(ptr >>> 0, 1));
8470
+ : new FinalizationRegistry(ptr => wasm.__wbg_boundingsphere_free(ptr, 1));
8384
8471
  const CachedMeshHandleFinalization = (typeof FinalizationRegistry === 'undefined')
8385
8472
  ? { register: () => {}, unregister: () => {} }
8386
- : new FinalizationRegistry(ptr => wasm.__wbg_cachedmeshhandle_free(ptr >>> 0, 1));
8473
+ : new FinalizationRegistry(ptr => wasm.__wbg_cachedmeshhandle_free(ptr, 1));
8387
8474
  const CameraControlUpdateEventFinalization = (typeof FinalizationRegistry === 'undefined')
8388
8475
  ? { register: () => {}, unregister: () => {} }
8389
- : new FinalizationRegistry(ptr => wasm.__wbg_cameracontrolupdateevent_free(ptr >>> 0, 1));
8476
+ : new FinalizationRegistry(ptr => wasm.__wbg_cameracontrolupdateevent_free(ptr, 1));
8390
8477
  const CameraFrustumFinalization = (typeof FinalizationRegistry === 'undefined')
8391
8478
  ? { register: () => {}, unregister: () => {} }
8392
- : new FinalizationRegistry(ptr => wasm.__wbg_camerafrustum_free(ptr >>> 0, 1));
8479
+ : new FinalizationRegistry(ptr => wasm.__wbg_camerafrustum_free(ptr, 1));
8393
8480
  const CameraOrientationFinalization = (typeof FinalizationRegistry === 'undefined')
8394
8481
  ? { register: () => {}, unregister: () => {} }
8395
- : new FinalizationRegistry(ptr => wasm.__wbg_cameraorientation_free(ptr >>> 0, 1));
8482
+ : new FinalizationRegistry(ptr => wasm.__wbg_cameraorientation_free(ptr, 1));
8396
8483
  const CameraStatusFinalization = (typeof FinalizationRegistry === 'undefined')
8397
8484
  ? { register: () => {}, unregister: () => {} }
8398
- : new FinalizationRegistry(ptr => wasm.__wbg_camerastatus_free(ptr >>> 0, 1));
8485
+ : new FinalizationRegistry(ptr => wasm.__wbg_camerastatus_free(ptr, 1));
8399
8486
  const CompiledExpressionFinalization = (typeof FinalizationRegistry === 'undefined')
8400
8487
  ? { register: () => {}, unregister: () => {} }
8401
- : new FinalizationRegistry(ptr => wasm.__wbg_compiledexpression_free(ptr >>> 0, 1));
8488
+ : new FinalizationRegistry(ptr => wasm.__wbg_compiledexpression_free(ptr, 1));
8402
8489
  const CompiledFilterFinalization = (typeof FinalizationRegistry === 'undefined')
8403
8490
  ? { register: () => {}, unregister: () => {} }
8404
- : new FinalizationRegistry(ptr => wasm.__wbg_compiledfilter_free(ptr >>> 0, 1));
8491
+ : new FinalizationRegistry(ptr => wasm.__wbg_compiledfilter_free(ptr, 1));
8405
8492
  const ConstructedPolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8406
8493
  ? { register: () => {}, unregister: () => {} }
8407
- : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygongeometry_free(ptr >>> 0, 1));
8494
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygongeometry_free(ptr, 1));
8408
8495
  const ConstructedPolygonOutlineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8409
8496
  ? { register: () => {}, unregister: () => {} }
8410
- : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygonoutlinegeometry_free(ptr >>> 0, 1));
8497
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygonoutlinegeometry_free(ptr, 1));
8411
8498
  const ConstructedPolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8412
8499
  ? { register: () => {}, unregister: () => {} }
8413
- : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr >>> 0, 1));
8500
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr, 1));
8414
8501
  const ElevationDecoderFinalization = (typeof FinalizationRegistry === 'undefined')
8415
8502
  ? { register: () => {}, unregister: () => {} }
8416
- : new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr >>> 0, 1));
8503
+ : new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr, 1));
8417
8504
  const ElevationHeatmapMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8418
8505
  ? { register: () => {}, unregister: () => {} }
8419
- : new FinalizationRegistry(ptr => wasm.__wbg_elevationheatmapmaterial_free(ptr >>> 0, 1));
8506
+ : new FinalizationRegistry(ptr => wasm.__wbg_elevationheatmapmaterial_free(ptr, 1));
8420
8507
  const EllipsoidGeodesicFinalization = (typeof FinalizationRegistry === 'undefined')
8421
8508
  ? { register: () => {}, unregister: () => {} }
8422
- : new FinalizationRegistry(ptr => wasm.__wbg_ellipsoidgeodesic_free(ptr >>> 0, 1));
8509
+ : new FinalizationRegistry(ptr => wasm.__wbg_ellipsoidgeodesic_free(ptr, 1));
8423
8510
  const EncodedVec3Finalization = (typeof FinalizationRegistry === 'undefined')
8424
8511
  ? { register: () => {}, unregister: () => {} }
8425
- : new FinalizationRegistry(ptr => wasm.__wbg_encodedvec3_free(ptr >>> 0, 1));
8512
+ : new FinalizationRegistry(ptr => wasm.__wbg_encodedvec3_free(ptr, 1));
8426
8513
  const ExtentRadianF32Finalization = (typeof FinalizationRegistry === 'undefined')
8427
8514
  ? { register: () => {}, unregister: () => {} }
8428
- : new FinalizationRegistry(ptr => wasm.__wbg_extentradianf32_free(ptr >>> 0, 1));
8515
+ : new FinalizationRegistry(ptr => wasm.__wbg_extentradianf32_free(ptr, 1));
8429
8516
  const FloatAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
8430
8517
  ? { register: () => {}, unregister: () => {} }
8431
- : new FinalizationRegistry(ptr => wasm.__wbg_floatattribute_free(ptr >>> 0, 1));
8518
+ : new FinalizationRegistry(ptr => wasm.__wbg_floatattribute_free(ptr, 1));
8432
8519
  const FontAtlasFinalization = (typeof FinalizationRegistry === 'undefined')
8433
8520
  ? { register: () => {}, unregister: () => {} }
8434
- : new FinalizationRegistry(ptr => wasm.__wbg_fontatlas_free(ptr >>> 0, 1));
8521
+ : new FinalizationRegistry(ptr => wasm.__wbg_fontatlas_free(ptr, 1));
8435
8522
  const FontCacheFinalization = (typeof FinalizationRegistry === 'undefined')
8436
8523
  ? { register: () => {}, unregister: () => {} }
8437
- : new FinalizationRegistry(ptr => wasm.__wbg_fontcache_free(ptr >>> 0, 1));
8524
+ : new FinalizationRegistry(ptr => wasm.__wbg_fontcache_free(ptr, 1));
8438
8525
  const FontCacheStatsFinalization = (typeof FinalizationRegistry === 'undefined')
8439
8526
  ? { register: () => {}, unregister: () => {} }
8440
- : new FinalizationRegistry(ptr => wasm.__wbg_fontcachestats_free(ptr >>> 0, 1));
8527
+ : new FinalizationRegistry(ptr => wasm.__wbg_fontcachestats_free(ptr, 1));
8441
8528
  const GeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8442
8529
  ? { register: () => {}, unregister: () => {} }
8443
- : new FinalizationRegistry(ptr => wasm.__wbg_geometry_free(ptr >>> 0, 1));
8530
+ : new FinalizationRegistry(ptr => wasm.__wbg_geometry_free(ptr, 1));
8444
8531
  const GlobeFinalization = (typeof FinalizationRegistry === 'undefined')
8445
8532
  ? { register: () => {}, unregister: () => {} }
8446
- : new FinalizationRegistry(ptr => wasm.__wbg_globe_free(ptr >>> 0, 1));
8533
+ : new FinalizationRegistry(ptr => wasm.__wbg_globe_free(ptr, 1));
8447
8534
  const HillshadeMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8448
8535
  ? { register: () => {}, unregister: () => {} }
8449
- : new FinalizationRegistry(ptr => wasm.__wbg_hillshadematerial_free(ptr >>> 0, 1));
8536
+ : new FinalizationRegistry(ptr => wasm.__wbg_hillshadematerial_free(ptr, 1));
8450
8537
  const LLEFinalization = (typeof FinalizationRegistry === 'undefined')
8451
8538
  ? { register: () => {}, unregister: () => {} }
8452
- : new FinalizationRegistry(ptr => wasm.__wbg_lle_free(ptr >>> 0, 1));
8539
+ : new FinalizationRegistry(ptr => wasm.__wbg_lle_free(ptr, 1));
8453
8540
  const ModelInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8454
8541
  ? { register: () => {}, unregister: () => {} }
8455
- : new FinalizationRegistry(ptr => wasm.__wbg_modelinternalmaterial_free(ptr >>> 0, 1));
8542
+ : new FinalizationRegistry(ptr => wasm.__wbg_modelinternalmaterial_free(ptr, 1));
8456
8543
  const ModelMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8457
8544
  ? { register: () => {}, unregister: () => {} }
8458
- : new FinalizationRegistry(ptr => wasm.__wbg_modelmaterial_free(ptr >>> 0, 1));
8545
+ : new FinalizationRegistry(ptr => wasm.__wbg_modelmaterial_free(ptr, 1));
8459
8546
  const NearFarFinalization = (typeof FinalizationRegistry === 'undefined')
8460
8547
  ? { register: () => {}, unregister: () => {} }
8461
- : new FinalizationRegistry(ptr => wasm.__wbg_nearfar_free(ptr >>> 0, 1));
8548
+ : new FinalizationRegistry(ptr => wasm.__wbg_nearfar_free(ptr, 1));
8462
8549
  const OverscaledTileHandleFinalization = (typeof FinalizationRegistry === 'undefined')
8463
8550
  ? { register: () => {}, unregister: () => {} }
8464
- : new FinalizationRegistry(ptr => wasm.__wbg_overscaledtilehandle_free(ptr >>> 0, 1));
8551
+ : new FinalizationRegistry(ptr => wasm.__wbg_overscaledtilehandle_free(ptr, 1));
8465
8552
  const PlaneFinalization = (typeof FinalizationRegistry === 'undefined')
8466
8553
  ? { register: () => {}, unregister: () => {} }
8467
- : new FinalizationRegistry(ptr => wasm.__wbg_plane_free(ptr >>> 0, 1));
8554
+ : new FinalizationRegistry(ptr => wasm.__wbg_plane_free(ptr, 1));
8468
8555
  const PointMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8469
8556
  ? { register: () => {}, unregister: () => {} }
8470
- : new FinalizationRegistry(ptr => wasm.__wbg_pointmaterial_free(ptr >>> 0, 1));
8557
+ : new FinalizationRegistry(ptr => wasm.__wbg_pointmaterial_free(ptr, 1));
8471
8558
  const PolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8472
8559
  ? { register: () => {}, unregister: () => {} }
8473
- : new FinalizationRegistry(ptr => wasm.__wbg_polygongeometry_free(ptr >>> 0, 1));
8560
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygongeometry_free(ptr, 1));
8474
8561
  const PolygonGeometryAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
8475
8562
  ? { register: () => {}, unregister: () => {} }
8476
- : new FinalizationRegistry(ptr => wasm.__wbg_polygongeometryattributes_free(ptr >>> 0, 1));
8563
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygongeometryattributes_free(ptr, 1));
8477
8564
  const PolygonInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8478
8565
  ? { register: () => {}, unregister: () => {} }
8479
- : new FinalizationRegistry(ptr => wasm.__wbg_polygoninternalmaterial_free(ptr >>> 0, 1));
8566
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygoninternalmaterial_free(ptr, 1));
8480
8567
  const PolygonMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8481
8568
  ? { register: () => {}, unregister: () => {} }
8482
- : new FinalizationRegistry(ptr => wasm.__wbg_polygonmaterial_free(ptr >>> 0, 1));
8569
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygonmaterial_free(ptr, 1));
8483
8570
  const PolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8484
8571
  ? { register: () => {}, unregister: () => {} }
8485
- : new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometry_free(ptr >>> 0, 1));
8572
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometry_free(ptr, 1));
8486
8573
  const PolylineGeometryAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
8487
8574
  ? { register: () => {}, unregister: () => {} }
8488
- : new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometryattributes_free(ptr >>> 0, 1));
8575
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometryattributes_free(ptr, 1));
8489
8576
  const PolylineInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8490
8577
  ? { register: () => {}, unregister: () => {} }
8491
- : new FinalizationRegistry(ptr => wasm.__wbg_polylineinternalmaterial_free(ptr >>> 0, 1));
8578
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylineinternalmaterial_free(ptr, 1));
8492
8579
  const PolylineMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8493
8580
  ? { register: () => {}, unregister: () => {} }
8494
- : new FinalizationRegistry(ptr => wasm.__wbg_polylinematerial_free(ptr >>> 0, 1));
8581
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylinematerial_free(ptr, 1));
8495
8582
  const RasterMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8496
8583
  ? { register: () => {}, unregister: () => {} }
8497
- : new FinalizationRegistry(ptr => wasm.__wbg_rastermaterial_free(ptr >>> 0, 1));
8584
+ : new FinalizationRegistry(ptr => wasm.__wbg_rastermaterial_free(ptr, 1));
8498
8585
  const RasterTileInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8499
8586
  ? { register: () => {}, unregister: () => {} }
8500
- : new FinalizationRegistry(ptr => wasm.__wbg_rastertileinternalmaterial_free(ptr >>> 0, 1));
8587
+ : new FinalizationRegistry(ptr => wasm.__wbg_rastertileinternalmaterial_free(ptr, 1));
8501
8588
  const RayFinalization = (typeof FinalizationRegistry === 'undefined')
8502
8589
  ? { register: () => {}, unregister: () => {} }
8503
- : new FinalizationRegistry(ptr => wasm.__wbg_ray_free(ptr >>> 0, 1));
8590
+ : new FinalizationRegistry(ptr => wasm.__wbg_ray_free(ptr, 1));
8504
8591
  const ReturnedConstructedTerrainMeshFinalization = (typeof FinalizationRegistry === 'undefined')
8505
8592
  ? { register: () => {}, unregister: () => {} }
8506
- : new FinalizationRegistry(ptr => wasm.__wbg_returnedconstructedterrainmesh_free(ptr >>> 0, 1));
8593
+ : new FinalizationRegistry(ptr => wasm.__wbg_returnedconstructedterrainmesh_free(ptr, 1));
8507
8594
  const ShapeTextResultFinalization = (typeof FinalizationRegistry === 'undefined')
8508
8595
  ? { register: () => {}, unregister: () => {} }
8509
- : new FinalizationRegistry(ptr => wasm.__wbg_shapetextresult_free(ptr >>> 0, 1));
8596
+ : new FinalizationRegistry(ptr => wasm.__wbg_shapetextresult_free(ptr, 1));
8510
8597
  const TerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8511
8598
  ? { register: () => {}, unregister: () => {} }
8512
- : new FinalizationRegistry(ptr => wasm.__wbg_terrainmaterial_free(ptr >>> 0, 1));
8599
+ : new FinalizationRegistry(ptr => wasm.__wbg_terrainmaterial_free(ptr, 1));
8513
8600
  const TextMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8514
8601
  ? { register: () => {}, unregister: () => {} }
8515
- : new FinalizationRegistry(ptr => wasm.__wbg_textmaterial_free(ptr >>> 0, 1));
8602
+ : new FinalizationRegistry(ptr => wasm.__wbg_textmaterial_free(ptr, 1));
8516
8603
  const TextureFragmentFinalization = (typeof FinalizationRegistry === 'undefined')
8517
8604
  ? { register: () => {}, unregister: () => {} }
8518
- : new FinalizationRegistry(ptr => wasm.__wbg_texturefragment_free(ptr >>> 0, 1));
8605
+ : new FinalizationRegistry(ptr => wasm.__wbg_texturefragment_free(ptr, 1));
8519
8606
  const TileUvTransformFinalization = (typeof FinalizationRegistry === 'undefined')
8520
8607
  ? { register: () => {}, unregister: () => {} }
8521
- : new FinalizationRegistry(ptr => wasm.__wbg_tileuvtransform_free(ptr >>> 0, 1));
8608
+ : new FinalizationRegistry(ptr => wasm.__wbg_tileuvtransform_free(ptr, 1));
8522
8609
  const TileXYZFinalization = (typeof FinalizationRegistry === 'undefined')
8523
8610
  ? { register: () => {}, unregister: () => {} }
8524
- : new FinalizationRegistry(ptr => wasm.__wbg_tilexyz_free(ptr >>> 0, 1));
8611
+ : new FinalizationRegistry(ptr => wasm.__wbg_tilexyz_free(ptr, 1));
8525
8612
  const TransferableHierarchyFinalization = (typeof FinalizationRegistry === 'undefined')
8526
8613
  ? { register: () => {}, unregister: () => {} }
8527
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablehierarchy_free(ptr >>> 0, 1));
8614
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablehierarchy_free(ptr, 1));
8528
8615
  const TransferableHolesFinalization = (typeof FinalizationRegistry === 'undefined')
8529
8616
  ? { register: () => {}, unregister: () => {} }
8530
- : new FinalizationRegistry(ptr => wasm.__wbg_transferableholes_free(ptr >>> 0, 1));
8617
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferableholes_free(ptr, 1));
8531
8618
  const TransferableParsedMvtResultFinalization = (typeof FinalizationRegistry === 'undefined')
8532
8619
  ? { register: () => {}, unregister: () => {} }
8533
- : new FinalizationRegistry(ptr => wasm.__wbg_transferableparsedmvtresult_free(ptr >>> 0, 1));
8620
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferableparsedmvtresult_free(ptr, 1));
8534
8621
  const TransferablePolygonBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
8535
8622
  ? { register: () => {}, unregister: () => {} }
8536
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonbatchedfeature_free(ptr >>> 0, 1));
8623
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonbatchedfeature_free(ptr, 1));
8537
8624
  const TransferablePolylineBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
8538
8625
  ? { register: () => {}, unregister: () => {} }
8539
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinebatchedfeature_free(ptr >>> 0, 1));
8626
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinebatchedfeature_free(ptr, 1));
8540
8627
  const TransformFinalization = (typeof FinalizationRegistry === 'undefined')
8541
8628
  ? { register: () => {}, unregister: () => {} }
8542
- : new FinalizationRegistry(ptr => wasm.__wbg_transform_free(ptr >>> 0, 1));
8629
+ : new FinalizationRegistry(ptr => wasm.__wbg_transform_free(ptr, 1));
8543
8630
  const UintAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
8544
8631
  ? { register: () => {}, unregister: () => {} }
8545
- : new FinalizationRegistry(ptr => wasm.__wbg_uintattribute_free(ptr >>> 0, 1));
8632
+ : new FinalizationRegistry(ptr => wasm.__wbg_uintattribute_free(ptr, 1));
8546
8633
  const UpsamplableTerrainGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8547
8634
  ? { register: () => {}, unregister: () => {} }
8548
- : new FinalizationRegistry(ptr => wasm.__wbg_upsamplableterraingeometry_free(ptr >>> 0, 1));
8635
+ : new FinalizationRegistry(ptr => wasm.__wbg_upsamplableterraingeometry_free(ptr, 1));
8549
8636
  const Vec2Finalization = (typeof FinalizationRegistry === 'undefined')
8550
8637
  ? { register: () => {}, unregister: () => {} }
8551
- : new FinalizationRegistry(ptr => wasm.__wbg_vec2_free(ptr >>> 0, 1));
8638
+ : new FinalizationRegistry(ptr => wasm.__wbg_vec2_free(ptr, 1));
8552
8639
  const Vec3Finalization = (typeof FinalizationRegistry === 'undefined')
8553
8640
  ? { register: () => {}, unregister: () => {} }
8554
- : new FinalizationRegistry(ptr => wasm.__wbg_vec3_free(ptr >>> 0, 1));
8641
+ : new FinalizationRegistry(ptr => wasm.__wbg_vec3_free(ptr, 1));
8555
8642
  const WasmGlyphMetricsFinalization = (typeof FinalizationRegistry === 'undefined')
8556
8643
  ? { register: () => {}, unregister: () => {} }
8557
- : new FinalizationRegistry(ptr => wasm.__wbg_wasmglyphmetrics_free(ptr >>> 0, 1));
8644
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmglyphmetrics_free(ptr, 1));
8558
8645
  const WasmShapedGlyphFinalization = (typeof FinalizationRegistry === 'undefined')
8559
8646
  ? { register: () => {}, unregister: () => {} }
8560
- : new FinalizationRegistry(ptr => wasm.__wbg_wasmshapedglyph_free(ptr >>> 0, 1));
8647
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmshapedglyph_free(ptr, 1));
8561
8648
  const WindingOrderFinalization = (typeof FinalizationRegistry === 'undefined')
8562
8649
  ? { register: () => {}, unregister: () => {} }
8563
- : new FinalizationRegistry(ptr => wasm.__wbg_windingorder_free(ptr >>> 0, 1));
8650
+ : new FinalizationRegistry(ptr => wasm.__wbg_windingorder_free(ptr, 1));
8564
8651
  const WindowFinalization = (typeof FinalizationRegistry === 'undefined')
8565
8652
  ? { register: () => {}, unregister: () => {} }
8566
- : new FinalizationRegistry(ptr => wasm.__wbg_window_free(ptr >>> 0, 1));
8653
+ : new FinalizationRegistry(ptr => wasm.__wbg_window_free(ptr, 1));
8567
8654
 
8568
8655
  function addToExternrefTable0(obj) {
8569
8656
  const idx = wasm.__externref_table_alloc();
@@ -8706,8 +8793,7 @@ function getFloat64ArrayMemory0() {
8706
8793
  }
8707
8794
 
8708
8795
  function getStringFromWasm0(ptr, len) {
8709
- ptr = ptr >>> 0;
8710
- return decodeText(ptr, len);
8796
+ return decodeText(ptr >>> 0, len);
8711
8797
  }
8712
8798
 
8713
8799
  let cachedUint32ArrayMemory0 = null;
@@ -8856,8 +8942,9 @@ if (!('encodeInto' in cachedTextEncoder)) {
8856
8942
 
8857
8943
  let WASM_VECTOR_LEN = 0;
8858
8944
 
8859
- let wasmModule, wasm;
8945
+ let wasmModule, wasmInstance, wasm;
8860
8946
  function __wbg_finalize_init(instance, module) {
8947
+ wasmInstance = instance;
8861
8948
  wasm = instance.exports;
8862
8949
  wasmModule = module;
8863
8950
  cachedBigUint64ArrayMemory0 = null;