@cesium/engine 19.0.0 → 20.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Build/ThirdParty/Workers/pako_deflate.min.js +3 -3
- package/Build/ThirdParty/Workers/pako_inflate.min.js +3 -3
- package/Build/ThirdParty/Workers/z-worker-pako.js +49 -42
- package/Build/Workers/{chunk-ETCPCGKC.js → chunk-22LUVCO3.js} +2 -2
- package/Build/Workers/{chunk-34DFERFC.js → chunk-3BO4XBWM.js} +12 -12
- package/Build/Workers/{chunk-DXYAD4ED.js → chunk-3SQPZVG4.js} +1 -1
- package/Build/Workers/{chunk-Y3PM6G2V.js → chunk-4O5SZ2RE.js} +3 -3
- package/Build/Workers/{chunk-37IYBZDZ.js → chunk-4UIKSIEZ.js} +9 -9
- package/Build/Workers/{chunk-UPU755HO.js → chunk-5FZEM66Y.js} +12 -12
- package/Build/Workers/{chunk-ESDVZ4QL.js → chunk-5G56VVL3.js} +10 -10
- package/Build/Workers/{chunk-SXMHGVZ7.js → chunk-5GKRDXYJ.js} +12 -12
- package/Build/Workers/{chunk-4QWLEG4L.js → chunk-5W4EBNO3.js} +14 -14
- package/Build/Workers/{chunk-ZNEIUXBK.js → chunk-67RLCIDP.js} +7 -7
- package/Build/Workers/{chunk-GVO3YIU2.js → chunk-74VODBWB.js} +4 -4
- package/Build/Workers/{chunk-Y6LLFNXN.js → chunk-7HOD2LGH.js} +10 -10
- package/Build/Workers/{chunk-5YCDPN3O.js → chunk-D25QOWHR.js} +1 -1
- package/Build/Workers/{chunk-NMAT4IJ6.js → chunk-D63DK275.js} +7 -7
- package/Build/Workers/{chunk-XUYCCEG6.js → chunk-EHOOC4HJ.js} +5 -5
- package/Build/Workers/{chunk-MBDKO456.js → chunk-ELI5ZYDR.js} +5 -5
- package/Build/Workers/{chunk-HHHBRTSW.js → chunk-FGF4ETPY.js} +9 -9
- package/Build/Workers/{chunk-PAH73ETP.js → chunk-FKWL63D4.js} +5 -5
- package/Build/Workers/{chunk-MUL374P3.js → chunk-FLH3ZH2X.js} +4 -4
- package/Build/Workers/{chunk-HJ6KFRM7.js → chunk-HDOFAYEE.js} +16 -16
- package/Build/Workers/{chunk-SVGHDIZG.js → chunk-HHUHFFYN.js} +5 -5
- package/Build/Workers/{chunk-E6NMEKSS.js → chunk-IHUXLSNT.js} +5 -4
- package/Build/Workers/{chunk-KTDHOEXR.js → chunk-IJM2HVTV.js} +1 -1
- package/Build/Workers/{chunk-DNCRKMCI.js → chunk-IPXMWP5Z.js} +6 -6
- package/Build/Workers/{chunk-RZJA77TX.js → chunk-IWKYS6RV.js} +6 -6
- package/Build/Workers/{chunk-WUMTX3FI.js → chunk-JMX3P7DE.js} +8 -8
- package/Build/Workers/{chunk-23FRF5ZP.js → chunk-JQSMAZAT.js} +9 -9
- package/Build/Workers/{chunk-5VPO47LB.js → chunk-JRLT2FQV.js} +8 -8
- package/Build/Workers/{chunk-JZVUMRYA.js → chunk-KRXL3KZL.js} +13 -13
- package/Build/Workers/{chunk-Q2QXUN33.js → chunk-KWB7PPVO.js} +2 -2
- package/Build/Workers/{chunk-ECWQXDZY.js → chunk-M62PWLGC.js} +16 -16
- package/Build/Workers/{chunk-4NRFVAG2.js → chunk-MSLO3MQF.js} +5 -5
- package/Build/Workers/{chunk-W32QSECR.js → chunk-MZZK44UI.js} +6 -6
- package/Build/Workers/{chunk-25USKS4R.js → chunk-NB2NKFJL.js} +6 -6
- package/Build/Workers/{chunk-EV4PBU7O.js → chunk-NJYFQE5B.js} +1 -1
- package/Build/Workers/{chunk-SOYVF5RC.js → chunk-O2O4FYNI.js} +2 -2
- package/Build/Workers/{chunk-SO2Z6H6F.js → chunk-PZEPLREA.js} +2 -2
- package/Build/Workers/{chunk-C36VNKTH.js → chunk-S2RSJJQI.js} +4 -4
- package/Build/Workers/{chunk-DAHXCIOX.js → chunk-S3UYLP3X.js} +8 -8
- package/Build/Workers/{chunk-AZPKFL5X.js → chunk-TH3P77KJ.js} +5 -5
- package/Build/Workers/{chunk-GO3IRH6U.js → chunk-UGSQJYGE.js} +6 -6
- package/Build/Workers/{chunk-IE2BEHLE.js → chunk-UUXOFY6G.js} +12 -12
- package/Build/Workers/{chunk-VCCR35R6.js → chunk-V36BVRDX.js} +11 -11
- package/Build/Workers/{chunk-T7C73J6H.js → chunk-VJ2DNCFT.js} +4 -4
- package/Build/Workers/{chunk-RIQM3XY5.js → chunk-VQUVJWBK.js} +4 -4
- package/Build/Workers/{chunk-AABNX23Q.js → chunk-VWQWZ7OL.js} +5 -5
- package/Build/Workers/{chunk-K5VGMGFM.js → chunk-VXBNLAG4.js} +7 -7
- package/Build/Workers/{chunk-YPNIIVIF.js → chunk-W3KNMQT2.js} +6 -6
- package/Build/Workers/{chunk-DPFAUGBE.js → chunk-WIGH3CPD.js} +2 -2
- package/Build/Workers/{chunk-NKM2EV46.js → chunk-XVHLXVN3.js} +1 -1
- package/Build/Workers/{chunk-6T2PQKYP.js → chunk-YHB3RNF2.js} +4 -4
- package/Build/Workers/{chunk-FQNSMOZT.js → chunk-ZSHDRKLT.js} +4 -4
- package/Build/Workers/combineGeometry.js +21 -21
- package/Build/Workers/createBoxGeometry.js +15 -15
- package/Build/Workers/createBoxOutlineGeometry.js +13 -13
- package/Build/Workers/createCircleGeometry.js +23 -23
- package/Build/Workers/createCircleOutlineGeometry.js +16 -16
- package/Build/Workers/createCoplanarPolygonGeometry.js +30 -30
- package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +28 -28
- package/Build/Workers/createCorridorGeometry.js +26 -26
- package/Build/Workers/createCorridorOutlineGeometry.js +25 -25
- package/Build/Workers/createCylinderGeometry.js +17 -17
- package/Build/Workers/createCylinderOutlineGeometry.js +15 -15
- package/Build/Workers/createEllipseGeometry.js +23 -23
- package/Build/Workers/createEllipseOutlineGeometry.js +16 -16
- package/Build/Workers/createEllipsoidGeometry.js +16 -16
- package/Build/Workers/createEllipsoidOutlineGeometry.js +15 -15
- package/Build/Workers/createFrustumGeometry.js +15 -15
- package/Build/Workers/createFrustumOutlineGeometry.js +15 -15
- package/Build/Workers/createGeometry.js +21 -21
- package/Build/Workers/createGroundPolylineGeometry.js +19 -19
- package/Build/Workers/createPlaneGeometry.js +13 -13
- package/Build/Workers/createPlaneOutlineGeometry.js +12 -12
- package/Build/Workers/createPolygonGeometry.js +29 -29
- package/Build/Workers/createPolygonOutlineGeometry.js +27 -27
- package/Build/Workers/createPolylineGeometry.js +22 -22
- package/Build/Workers/createPolylineVolumeGeometry.js +28 -28
- package/Build/Workers/createPolylineVolumeOutlineGeometry.js +24 -24
- package/Build/Workers/createRectangleGeometry.js +24 -24
- package/Build/Workers/createRectangleOutlineGeometry.js +17 -17
- package/Build/Workers/createSimplePolylineGeometry.js +20 -20
- package/Build/Workers/createSphereGeometry.js +16 -16
- package/Build/Workers/createSphereOutlineGeometry.js +15 -15
- package/Build/Workers/createTaskProcessorWorker.js +3 -3
- package/Build/Workers/createVectorTileClampedPolylines.js +12 -12
- package/Build/Workers/createVectorTileGeometries.js +21 -21
- package/Build/Workers/createVectorTilePoints.js +11 -11
- package/Build/Workers/createVectorTilePolygons.js +19 -19
- package/Build/Workers/createVectorTilePolylines.js +12 -12
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +19 -19
- package/Build/Workers/createVerticesFromHeightmap.js +25 -25
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +16 -16
- package/Build/Workers/createWallGeometry.js +21 -21
- package/Build/Workers/createWallOutlineGeometry.js +20 -20
- package/Build/Workers/decodeDraco.js +10 -10
- package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
- package/Build/Workers/decodeI3S.js +9 -9
- package/Build/Workers/gaussianSplatSorter.js +4 -4
- package/Build/Workers/gaussianSplatTextureGenerator.js +4 -4
- package/Build/Workers/transcodeKTX2.js +17 -16
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +19 -19
- package/Source/Core/Ellipsoid.js +9 -0
- package/Source/Core/Ion.js +1 -1
- package/Source/Core/IonResource.js +14 -8
- package/Source/Scene/ArcGisMapService.js +1 -1
- package/Source/Scene/BingMapsImageryProvider.js +1 -1
- package/Source/Scene/Cesium3DTileContentFactory.js +7 -16
- package/Source/Scene/Cesium3DTileset.js +1 -1
- package/Source/Scene/GaussianSplat3DTileContent.js +253 -9
- package/Source/Scene/GaussianSplatPrimitive.js +167 -15
- package/Source/Scene/GltfLoader.js +20 -2
- package/Source/Scene/GltfVertexBufferLoader.js +56 -2
- package/Source/Scene/ITwinData.js +37 -76
- package/Source/Scene/Model/Model.js +3 -0
- package/Source/Scene/Model/ModelClippingPolygonsPipelineStage.js +8 -2
- package/Source/Scene/Model/ModelUtility.js +1 -0
- package/Source/Scene/Model/PntsLoader.js +7 -3
- package/Source/Scene/PntsParser.js +6 -3
- package/Source/Scene/PrimitiveLoadPlan.js +1 -1
- package/Source/Scene/VertexAttributeSemantic.js +4 -2
- package/Source/Scene/WebMapServiceImageryProvider.js +3 -2
- package/Source/Scene/WebMapTileServiceImageryProvider.js +0 -22
- package/Source/Scene/getMeshPrimitives.js +72 -0
- package/Source/Shaders/PrimitiveGaussianSplatFS.glsl +5 -5
- package/Source/Shaders/PrimitiveGaussianSplatFS.js +5 -5
- package/Source/Shaders/PrimitiveGaussianSplatVS.glsl +102 -5
- package/Source/Shaders/PrimitiveGaussianSplatVS.js +102 -5
- package/Source/ThirdParty/Workers/z-worker-pako.js +1 -1
- package/index.d.ts +109 -1
- package/index.js +376 -375
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */
|
|
2
|
-
!function(t, e) {
|
|
2
|
+
!(function(t, e) {
|
|
3
3
|
"object" == typeof exports && "undefined" != typeof module ? e(exports) : "function" == typeof define && define.amd ? define(["exports"], e) : e((t = "undefined" != typeof globalThis ? globalThis : t || self).pako = {});
|
|
4
|
-
}(this, function(t) {
|
|
4
|
+
})(this, (function(t) {
|
|
5
5
|
"use strict";
|
|
6
6
|
function e(t2) {
|
|
7
7
|
let e2 = t2.length;
|
|
@@ -500,4 +500,4 @@
|
|
|
500
500
|
return (e2 = e2 || {}).gzip = true, re(t2, e2);
|
|
501
501
|
}, oe = j, de = { Deflate: ie, deflate: _e, deflateRaw: le, gzip: he, constants: oe };
|
|
502
502
|
t.Deflate = ie, t.constants = oe, t.default = de, t.deflate = _e, t.deflateRaw = le, t.gzip = he, Object.defineProperty(t, "__esModule", { value: true });
|
|
503
|
-
});
|
|
503
|
+
}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */
|
|
2
|
-
!function(e, t) {
|
|
2
|
+
!(function(e, t) {
|
|
3
3
|
"object" == typeof exports && "undefined" != typeof module ? t(exports) : "function" == typeof define && define.amd ? define(["exports"], t) : t((e = "undefined" != typeof globalThis ? globalThis : e || self).pako = {});
|
|
4
|
-
}(this, function(e) {
|
|
4
|
+
})(this, (function(e) {
|
|
5
5
|
"use strict";
|
|
6
6
|
var t = (e2, t2, i2, n2) => {
|
|
7
7
|
let a2 = 65535 & e2 | 0, r2 = e2 >>> 16 & 65535 | 0, o2 = 0;
|
|
@@ -695,4 +695,4 @@
|
|
|
695
695
|
return (t2 = t2 || {}).raw = true, ue(e2, t2);
|
|
696
696
|
}, ke = ue, _e = h, ge = { Inflate: we, inflate: be, inflateRaw: me, ungzip: ke, constants: _e };
|
|
697
697
|
e.Inflate = we, e.constants = _e, e.default = ge, e.inflate = be, e.inflateRaw = me, e.ungzip = ke, Object.defineProperty(e, "__esModule", { value: true });
|
|
698
|
-
});
|
|
698
|
+
}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function() {
|
|
1
|
+
!(function() {
|
|
2
2
|
"use strict";
|
|
3
3
|
const { Array: e, Object: t, Number: n, Math: s, Error: r, Uint8Array: a, Uint16Array: o, Uint32Array: i, Int32Array: c, Map: l, DataView: u, Promise: h, TextEncoder: p, crypto: f, postMessage: d, TransformStream: g, ReadableStream: w, WritableStream: y, CompressionStream: m, DecompressionStream: _ } = self, b = void 0, S = "undefined", v = "function";
|
|
4
4
|
class k {
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
const n3 = this;
|
|
377
377
|
if (n3.password) {
|
|
378
378
|
const t3 = pe(n3, e3.subarray(0, 12));
|
|
379
|
-
if (n3.password = null, t3
|
|
379
|
+
if (n3.password = null, t3.at(-1) != n3.passwordVerification) throw new r(B);
|
|
380
380
|
e3 = e3.subarray(12);
|
|
381
381
|
}
|
|
382
382
|
s2 ? t2.error(new r(T)) : t2.enqueue(pe(n3, e3));
|
|
@@ -428,23 +428,24 @@
|
|
|
428
428
|
function me(e2) {
|
|
429
429
|
return 4294967295 & e2;
|
|
430
430
|
}
|
|
431
|
-
|
|
431
|
+
const _e = "deflate-raw";
|
|
432
|
+
class be extends g {
|
|
432
433
|
constructor(e2, { chunkSize: t2, CompressionStream: n2, CompressionStreamNative: s2 }) {
|
|
433
434
|
super({});
|
|
434
435
|
const { compressed: r2, encrypted: a2, useCompressionStream: o2, zipCrypto: i2, signed: c2, level: l2 } = e2, h2 = this;
|
|
435
436
|
let p2, f2, d2 = super.readable;
|
|
436
|
-
a2 && !i2 || !c2 || (p2 = new C(), d2 =
|
|
437
|
+
a2 && !i2 || !c2 || (p2 = new C(), d2 = ze(d2, p2)), r2 && (d2 = ke(d2, o2, { level: l2, chunkSize: t2 }, s2, n2)), a2 && (i2 ? d2 = ze(d2, new he(e2)) : (f2 = new ne(e2), d2 = ze(d2, f2))), ve(h2, d2, () => {
|
|
437
438
|
let e3;
|
|
438
439
|
a2 && !i2 && (e3 = f2.signature), a2 && !i2 || !c2 || (e3 = new u(p2.value.buffer).getUint32(0)), h2.signature = e3;
|
|
439
440
|
});
|
|
440
441
|
}
|
|
441
442
|
}
|
|
442
|
-
class
|
|
443
|
+
class Se extends g {
|
|
443
444
|
constructor(e2, { chunkSize: t2, DecompressionStream: n2, DecompressionStreamNative: s2 }) {
|
|
444
445
|
super({});
|
|
445
446
|
const { zipCrypto: a2, encrypted: o2, signed: i2, signature: c2, compressed: l2, useCompressionStream: h2 } = e2;
|
|
446
447
|
let p2, f2, d2 = super.readable;
|
|
447
|
-
o2 && (a2 ? d2 =
|
|
448
|
+
o2 && (a2 ? d2 = ze(d2, new ue(e2)) : (f2 = new te(e2), d2 = ze(d2, f2))), l2 && (d2 = ke(d2, h2, { chunkSize: t2 }, s2, n2)), o2 && !a2 || !i2 || (p2 = new C(), d2 = ze(d2, p2)), ve(this, d2, () => {
|
|
448
449
|
if ((!o2 || a2) && i2) {
|
|
449
450
|
const e3 = new u(p2.value.buffer);
|
|
450
451
|
if (c2 != e3.getUint32(0, false)) throw new r(K);
|
|
@@ -452,22 +453,28 @@
|
|
|
452
453
|
});
|
|
453
454
|
}
|
|
454
455
|
}
|
|
455
|
-
function
|
|
456
|
-
n2 =
|
|
456
|
+
function ve(e2, n2, s2) {
|
|
457
|
+
n2 = ze(n2, new g({ flush: s2 })), t.defineProperty(e2, "readable", { get: () => n2 });
|
|
457
458
|
}
|
|
458
|
-
function
|
|
459
|
-
|
|
459
|
+
function ke(e2, t2, n2, s2, r2) {
|
|
460
|
+
try {
|
|
461
|
+
e2 = ze(e2, new (t2 && s2 ? s2 : r2)(_e, n2));
|
|
462
|
+
} catch (s3) {
|
|
463
|
+
if (!t2) throw s3;
|
|
464
|
+
e2 = ze(e2, new r2(_e, n2));
|
|
465
|
+
}
|
|
466
|
+
return e2;
|
|
460
467
|
}
|
|
461
|
-
function
|
|
468
|
+
function ze(e2, t2) {
|
|
462
469
|
return e2.pipeThrough(t2);
|
|
463
470
|
}
|
|
464
|
-
const
|
|
465
|
-
class
|
|
471
|
+
const De = "data", Ce = "close";
|
|
472
|
+
class Ie extends g {
|
|
466
473
|
constructor(e2, n2) {
|
|
467
474
|
super({});
|
|
468
475
|
const s2 = this, { codecType: a2 } = e2;
|
|
469
476
|
let o2;
|
|
470
|
-
a2.startsWith("deflate") ? o2 =
|
|
477
|
+
a2.startsWith("deflate") ? o2 = be : a2.startsWith("inflate") && (o2 = Se), s2.outputSize = 0;
|
|
471
478
|
let i2 = 0;
|
|
472
479
|
const c2 = new o2(e2, n2), l2 = super.readable, u2 = new g({ transform(e3, t2) {
|
|
473
480
|
e3 && e3.length && (i2 += e3.length, t2.enqueue(e3));
|
|
@@ -482,7 +489,7 @@
|
|
|
482
489
|
t.defineProperty(s2, "readable", { get: () => l2.pipeThrough(u2).pipeThrough(c2).pipeThrough(h2) });
|
|
483
490
|
}
|
|
484
491
|
}
|
|
485
|
-
class
|
|
492
|
+
class Ae extends g {
|
|
486
493
|
constructor(e2) {
|
|
487
494
|
let t2;
|
|
488
495
|
super({ transform: function n2(s2, r2) {
|
|
@@ -496,40 +503,40 @@
|
|
|
496
503
|
} });
|
|
497
504
|
}
|
|
498
505
|
}
|
|
499
|
-
const
|
|
500
|
-
let
|
|
501
|
-
async function
|
|
506
|
+
const qe = new l(), Re = new l();
|
|
507
|
+
let He, Pe = 0, Be = true;
|
|
508
|
+
async function Ke(e2) {
|
|
502
509
|
try {
|
|
503
510
|
const { options: t2, scripts: s2, config: r2 } = e2;
|
|
504
511
|
if (s2 && s2.length) try {
|
|
505
|
-
|
|
512
|
+
Be ? importScripts.apply(b, s2) : await Te(s2);
|
|
506
513
|
} catch (e3) {
|
|
507
|
-
|
|
514
|
+
Be = false, await Te(s2);
|
|
508
515
|
}
|
|
509
516
|
self.initCodec && self.initCodec(), r2.CompressionStreamNative = self.CompressionStream, r2.DecompressionStreamNative = self.DecompressionStream, self.Deflate && (r2.CompressionStream = new k(self.Deflate)), self.Inflate && (r2.DecompressionStream = new k(self.Inflate));
|
|
510
517
|
const a2 = { highWaterMark: 1 }, o2 = e2.readable || new w({ async pull(e3) {
|
|
511
|
-
const t3 = new h((e4) =>
|
|
512
|
-
|
|
518
|
+
const t3 = new h((e4) => qe.set(Pe, e4));
|
|
519
|
+
Ve({ type: "pull", messageId: Pe }), Pe = (Pe + 1) % n.MAX_SAFE_INTEGER;
|
|
513
520
|
const { value: s3, done: r3 } = await t3;
|
|
514
521
|
e3.enqueue(s3), r3 && e3.close();
|
|
515
522
|
} }, a2), i2 = e2.writable || new y({ async write(e3) {
|
|
516
523
|
let t3;
|
|
517
524
|
const s3 = new h((e4) => t3 = e4);
|
|
518
|
-
|
|
519
|
-
} }, a2), c2 = new
|
|
520
|
-
|
|
521
|
-
const { signal: l2 } =
|
|
522
|
-
await o2.pipeThrough(c2).pipeThrough(new
|
|
525
|
+
Re.set(Pe, t3), Ve({ type: De, value: e3, messageId: Pe }), Pe = (Pe + 1) % n.MAX_SAFE_INTEGER, await s3;
|
|
526
|
+
} }, a2), c2 = new Ie(t2, r2);
|
|
527
|
+
He = new AbortController();
|
|
528
|
+
const { signal: l2 } = He;
|
|
529
|
+
await o2.pipeThrough(c2).pipeThrough(new Ae(r2.chunkSize)).pipeTo(i2, { signal: l2, preventClose: true, preventAbort: true }), await i2.getWriter().close();
|
|
523
530
|
const { signature: u2, inputSize: p2, outputSize: f2 } = c2;
|
|
524
|
-
|
|
531
|
+
Ve({ type: Ce, result: { signature: u2, inputSize: p2, outputSize: f2 } });
|
|
525
532
|
} catch (e3) {
|
|
526
|
-
e3.outputSize = 0,
|
|
533
|
+
e3.outputSize = 0, xe(e3);
|
|
527
534
|
}
|
|
528
535
|
}
|
|
529
|
-
async function
|
|
536
|
+
async function Te(e2) {
|
|
530
537
|
for (const t2 of e2) await import(t2);
|
|
531
538
|
}
|
|
532
|
-
function
|
|
539
|
+
function Ve(e2) {
|
|
533
540
|
let { value: t2 } = e2;
|
|
534
541
|
if (t2) if (t2.length) try {
|
|
535
542
|
t2 = new a(t2), e2.value = t2.buffer, d(e2, [e2.value]);
|
|
@@ -539,11 +546,11 @@
|
|
|
539
546
|
else d(e2);
|
|
540
547
|
else d(e2);
|
|
541
548
|
}
|
|
542
|
-
function
|
|
549
|
+
function xe(e2 = new r("Unknown error")) {
|
|
543
550
|
const { message: t2, stack: n2, code: s2, name: a2, outputSize: o2 } = e2;
|
|
544
551
|
d({ error: { message: t2, stack: n2, code: s2, name: a2, outputSize: o2 } });
|
|
545
552
|
}
|
|
546
|
-
function
|
|
553
|
+
function Ee(e2, n2, s2) {
|
|
547
554
|
return class {
|
|
548
555
|
constructor(r3) {
|
|
549
556
|
const o2 = this;
|
|
@@ -575,20 +582,20 @@
|
|
|
575
582
|
addEventListener("message", ({ data: e2 }) => {
|
|
576
583
|
const { type: t2, messageId: n2, value: s2, done: r2 } = e2;
|
|
577
584
|
try {
|
|
578
|
-
if ("start" == t2 &&
|
|
579
|
-
const e3 =
|
|
580
|
-
|
|
585
|
+
if ("start" == t2 && Ke(e2), t2 == De) {
|
|
586
|
+
const e3 = qe.get(n2);
|
|
587
|
+
qe.delete(n2), e3({ value: new a(s2), done: r2 });
|
|
581
588
|
}
|
|
582
589
|
if ("ack" == t2) {
|
|
583
|
-
const e3 =
|
|
584
|
-
|
|
590
|
+
const e3 = Re.get(n2);
|
|
591
|
+
Re.delete(n2), e3();
|
|
585
592
|
}
|
|
586
|
-
t2 ==
|
|
593
|
+
t2 == Ce && He.abort();
|
|
587
594
|
} catch (e3) {
|
|
588
|
-
|
|
595
|
+
xe(e3);
|
|
589
596
|
}
|
|
590
597
|
}), self.initCodec = () => {
|
|
591
|
-
const { Deflate: e2, Inflate: t2 } = ((e3, t3 = {}, n2) => ({ Deflate:
|
|
598
|
+
const { Deflate: e2, Inflate: t2 } = ((e3, t3 = {}, n2) => ({ Deflate: Ee(e3.Deflate, t3.deflate, n2), Inflate: Ee(e3.Inflate, t3.inflate, n2) }))(pako, { deflate: { raw: true }, inflate: { raw: true } }, (e3, t3) => e3.onData = t3);
|
|
592
599
|
self.Deflate = e2, self.Inflate = t2;
|
|
593
600
|
};
|
|
594
|
-
}();
|
|
601
|
+
})();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.133
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
Frozen_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-IHUXLSNT.js";
|
|
29
29
|
|
|
30
30
|
// packages/engine/Source/Core/GeometryAttributes.js
|
|
31
31
|
function GeometryAttributes(options) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.133
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,42 +25,42 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
GeometryOffsetAttribute_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-XVHLXVN3.js";
|
|
29
29
|
import {
|
|
30
30
|
VertexFormat_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-YHB3RNF2.js";
|
|
32
32
|
import {
|
|
33
33
|
IndexDatatype_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-TH3P77KJ.js";
|
|
35
35
|
import {
|
|
36
36
|
GeometryAttributes_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-22LUVCO3.js";
|
|
38
38
|
import {
|
|
39
39
|
GeometryAttribute_default,
|
|
40
40
|
Geometry_default,
|
|
41
41
|
PrimitiveType_default
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-IPXMWP5Z.js";
|
|
43
43
|
import {
|
|
44
44
|
BoundingSphere_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-UGSQJYGE.js";
|
|
46
46
|
import {
|
|
47
47
|
ComponentDatatype_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-ZSHDRKLT.js";
|
|
49
49
|
import {
|
|
50
50
|
Cartesian2_default,
|
|
51
51
|
Cartesian3_default,
|
|
52
52
|
Ellipsoid_default,
|
|
53
53
|
Frozen_default
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-IHUXLSNT.js";
|
|
55
55
|
import {
|
|
56
56
|
Math_default
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-4O5SZ2RE.js";
|
|
58
58
|
import {
|
|
59
59
|
DeveloperError_default
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-O2O4FYNI.js";
|
|
61
61
|
import {
|
|
62
62
|
defined_default
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-NJYFQE5B.js";
|
|
64
64
|
|
|
65
65
|
// packages/engine/Source/Core/EllipsoidGeometry.js
|
|
66
66
|
var scratchPosition = new Cartesian3_default();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.133
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
import {
|
|
27
27
|
Check_default,
|
|
28
28
|
DeveloperError_default
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-O2O4FYNI.js";
|
|
30
30
|
import {
|
|
31
31
|
__commonJS,
|
|
32
32
|
__toESM,
|
|
33
33
|
defined_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-NJYFQE5B.js";
|
|
35
35
|
|
|
36
36
|
// node_modules/mersenne-twister/src/mersenne-twister.js
|
|
37
37
|
var require_mersenne_twister = __commonJS({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.133
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,33 +25,33 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
EllipsoidRhumbLine_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-EHOOC4HJ.js";
|
|
29
29
|
import {
|
|
30
30
|
GeometryAttribute_default,
|
|
31
31
|
Geometry_default,
|
|
32
32
|
PrimitiveType_default
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-IPXMWP5Z.js";
|
|
34
34
|
import {
|
|
35
35
|
ComponentDatatype_default
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-ZSHDRKLT.js";
|
|
37
37
|
import {
|
|
38
38
|
Cartesian2_default,
|
|
39
39
|
Cartesian3_default,
|
|
40
40
|
Cartographic_default,
|
|
41
41
|
Ellipsoid_default
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-IHUXLSNT.js";
|
|
43
43
|
import {
|
|
44
44
|
Math_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-4O5SZ2RE.js";
|
|
46
46
|
import {
|
|
47
47
|
WebGLConstants_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-3SQPZVG4.js";
|
|
49
49
|
import {
|
|
50
50
|
Check_default
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-O2O4FYNI.js";
|
|
52
52
|
import {
|
|
53
53
|
defined_default
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-NJYFQE5B.js";
|
|
55
55
|
|
|
56
56
|
// packages/engine/Source/Core/WindingOrder.js
|
|
57
57
|
var WindingOrder = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.133
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,40 +25,40 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
WebMercatorProjection_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-MSLO3MQF.js";
|
|
29
29
|
import {
|
|
30
30
|
GeometryPipeline_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-5W4EBNO3.js";
|
|
32
32
|
import {
|
|
33
33
|
IndexDatatype_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-TH3P77KJ.js";
|
|
35
35
|
import {
|
|
36
36
|
GeometryAttributes_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-22LUVCO3.js";
|
|
38
38
|
import {
|
|
39
39
|
GeometryAttribute_default,
|
|
40
40
|
Geometry_default
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-IPXMWP5Z.js";
|
|
42
42
|
import {
|
|
43
43
|
BoundingSphere_default,
|
|
44
44
|
GeographicProjection_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-UGSQJYGE.js";
|
|
46
46
|
import {
|
|
47
47
|
Matrix4_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-JMX3P7DE.js";
|
|
49
49
|
import {
|
|
50
50
|
ComponentDatatype_default
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ZSHDRKLT.js";
|
|
52
52
|
import {
|
|
53
53
|
Ellipsoid_default
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-IHUXLSNT.js";
|
|
55
55
|
import {
|
|
56
56
|
Check_default,
|
|
57
57
|
DeveloperError_default
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-O2O4FYNI.js";
|
|
59
59
|
import {
|
|
60
60
|
defined_default
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-NJYFQE5B.js";
|
|
62
62
|
|
|
63
63
|
// packages/engine/Source/Core/OffsetGeometryInstanceAttribute.js
|
|
64
64
|
function OffsetGeometryInstanceAttribute(x, y, z) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.133
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,33 +25,33 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
EllipsoidGeodesic_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ELI5ZYDR.js";
|
|
29
29
|
import {
|
|
30
30
|
EllipsoidRhumbLine_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-EHOOC4HJ.js";
|
|
32
32
|
import {
|
|
33
33
|
IntersectionTests_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-NB2NKFJL.js";
|
|
35
35
|
import {
|
|
36
36
|
Plane_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-IWKYS6RV.js";
|
|
38
38
|
import {
|
|
39
39
|
Matrix4_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-JMX3P7DE.js";
|
|
41
41
|
import {
|
|
42
42
|
Cartesian3_default,
|
|
43
43
|
Cartographic_default,
|
|
44
44
|
Ellipsoid_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-IHUXLSNT.js";
|
|
46
46
|
import {
|
|
47
47
|
Math_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-4O5SZ2RE.js";
|
|
49
49
|
import {
|
|
50
50
|
DeveloperError_default
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-O2O4FYNI.js";
|
|
52
52
|
import {
|
|
53
53
|
defined_default
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-NJYFQE5B.js";
|
|
55
55
|
|
|
56
56
|
// packages/engine/Source/Core/PolylinePipeline.js
|
|
57
57
|
var PolylinePipeline = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.133
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,41 +25,41 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
EllipseGeometryLibrary_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-S2RSJJQI.js";
|
|
29
29
|
import {
|
|
30
30
|
GeometryOffsetAttribute_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-XVHLXVN3.js";
|
|
32
32
|
import {
|
|
33
33
|
IndexDatatype_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-TH3P77KJ.js";
|
|
35
35
|
import {
|
|
36
36
|
GeometryAttributes_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-22LUVCO3.js";
|
|
38
38
|
import {
|
|
39
39
|
GeometryAttribute_default,
|
|
40
40
|
Geometry_default,
|
|
41
41
|
PrimitiveType_default
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-IPXMWP5Z.js";
|
|
43
43
|
import {
|
|
44
44
|
BoundingSphere_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-UGSQJYGE.js";
|
|
46
46
|
import {
|
|
47
47
|
ComponentDatatype_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-ZSHDRKLT.js";
|
|
49
49
|
import {
|
|
50
50
|
Cartesian3_default,
|
|
51
51
|
Ellipsoid_default,
|
|
52
52
|
Frozen_default
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-IHUXLSNT.js";
|
|
54
54
|
import {
|
|
55
55
|
Math_default
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-4O5SZ2RE.js";
|
|
57
57
|
import {
|
|
58
58
|
DeveloperError_default
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-O2O4FYNI.js";
|
|
60
60
|
import {
|
|
61
61
|
defined_default
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-NJYFQE5B.js";
|
|
63
63
|
|
|
64
64
|
// packages/engine/Source/Core/EllipseOutlineGeometry.js
|
|
65
65
|
var scratchCartesian1 = new Cartesian3_default();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.133
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,54 +25,54 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
AttributeCompression_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VXBNLAG4.js";
|
|
29
29
|
import {
|
|
30
30
|
EncodedCartesian3_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-74VODBWB.js";
|
|
32
32
|
import {
|
|
33
33
|
IntersectionTests_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-NB2NKFJL.js";
|
|
35
35
|
import {
|
|
36
36
|
Plane_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-IWKYS6RV.js";
|
|
38
38
|
import {
|
|
39
39
|
IndexDatatype_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-TH3P77KJ.js";
|
|
41
41
|
import {
|
|
42
42
|
GeometryAttribute_default,
|
|
43
43
|
GeometryType_default,
|
|
44
44
|
Geometry_default,
|
|
45
45
|
PrimitiveType_default
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-IPXMWP5Z.js";
|
|
47
47
|
import {
|
|
48
48
|
BoundingSphere_default,
|
|
49
49
|
GeographicProjection_default,
|
|
50
50
|
Intersect_default
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-UGSQJYGE.js";
|
|
52
52
|
import {
|
|
53
53
|
Cartesian4_default,
|
|
54
54
|
Matrix4_default
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-JMX3P7DE.js";
|
|
56
56
|
import {
|
|
57
57
|
ComponentDatatype_default
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-ZSHDRKLT.js";
|
|
59
59
|
import {
|
|
60
60
|
Cartesian2_default,
|
|
61
61
|
Cartesian3_default,
|
|
62
62
|
Cartographic_default,
|
|
63
63
|
Frozen_default,
|
|
64
64
|
Matrix3_default
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-IHUXLSNT.js";
|
|
66
66
|
import {
|
|
67
67
|
Math_default
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-4O5SZ2RE.js";
|
|
69
69
|
import {
|
|
70
70
|
Check_default,
|
|
71
71
|
DeveloperError_default
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-O2O4FYNI.js";
|
|
73
73
|
import {
|
|
74
74
|
defined_default
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-NJYFQE5B.js";
|
|
76
76
|
|
|
77
77
|
// packages/engine/Source/Core/barycentricCoordinates.js
|
|
78
78
|
var scratchCartesian1 = new Cartesian3_default();
|