ow-eengine-power 1.1.4 → 1.1.6

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.
@@ -111,16 +111,16 @@ var zo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
111
111
  function ba(e) {
112
112
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
113
113
  }
114
- var wi = function(e) {
114
+ var Ti = function(e) {
115
115
  e == null && (e = (/* @__PURE__ */ new Date()).getTime()), this.N = 624, this.M = 397, this.MATRIX_A = 2567483615, this.UPPER_MASK = 2147483648, this.LOWER_MASK = 2147483647, this.mt = new Array(this.N), this.mti = this.N + 1, e.constructor == Array ? this.init_by_array(e, e.length) : this.init_seed(e);
116
116
  };
117
- wi.prototype.init_seed = function(e) {
117
+ Ti.prototype.init_seed = function(e) {
118
118
  for (this.mt[0] = e >>> 0, this.mti = 1; this.mti < this.N; this.mti++) {
119
119
  var e = this.mt[this.mti - 1] ^ this.mt[this.mti - 1] >>> 30;
120
120
  this.mt[this.mti] = (((e & 4294901760) >>> 16) * 1812433253 << 16) + (e & 65535) * 1812433253 + this.mti, this.mt[this.mti] >>>= 0;
121
121
  }
122
122
  };
123
- wi.prototype.init_by_array = function(e, t) {
123
+ Ti.prototype.init_by_array = function(e, t) {
124
124
  var n, i, o;
125
125
  for (this.init_seed(19650218), n = 1, i = 0, o = this.N > t ? this.N : t; o; o--) {
126
126
  var s = this.mt[n - 1] ^ this.mt[n - 1] >>> 30;
@@ -132,7 +132,7 @@ wi.prototype.init_by_array = function(e, t) {
132
132
  }
133
133
  this.mt[0] = 2147483648;
134
134
  };
135
- wi.prototype.random_int = function() {
135
+ Ti.prototype.random_int = function() {
136
136
  var e, t = new Array(0, this.MATRIX_A);
137
137
  if (this.mti >= this.N) {
138
138
  var n;
@@ -144,23 +144,23 @@ wi.prototype.random_int = function() {
144
144
  }
145
145
  return e = this.mt[this.mti++], e ^= e >>> 11, e ^= e << 7 & 2636928640, e ^= e << 15 & 4022730752, e ^= e >>> 18, e >>> 0;
146
146
  };
147
- wi.prototype.random_int31 = function() {
147
+ Ti.prototype.random_int31 = function() {
148
148
  return this.random_int() >>> 1;
149
149
  };
150
- wi.prototype.random_incl = function() {
150
+ Ti.prototype.random_incl = function() {
151
151
  return this.random_int() * (1 / 4294967295);
152
152
  };
153
- wi.prototype.random = function() {
153
+ Ti.prototype.random = function() {
154
154
  return this.random_int() * (1 / 4294967296);
155
155
  };
156
- wi.prototype.random_excl = function() {
156
+ Ti.prototype.random_excl = function() {
157
157
  return (this.random_int() + 0.5) * (1 / 4294967296);
158
158
  };
159
- wi.prototype.random_long = function() {
159
+ Ti.prototype.random_long = function() {
160
160
  var e = this.random_int() >>> 5, t = this.random_int() >>> 6;
161
161
  return (e * 67108864 + t) * (1 / 9007199254740992);
162
162
  };
163
- var U0 = wi;
163
+ var U0 = Ti;
164
164
  const ad = /* @__PURE__ */ ba(U0), S = {};
165
165
  S.EPSILON1 = 0.1;
166
166
  S.EPSILON2 = 0.01;
@@ -597,7 +597,7 @@ f.midpoint = function(e, t, n) {
597
597
  f.fromDegrees = function(e, t, n, i, o) {
598
598
  return m.typeOf.number("longitude", e), m.typeOf.number("latitude", t), e = S.toRadians(e), t = S.toRadians(t), f.fromRadians(e, t, n, i, o);
599
599
  };
600
- let mn = new f(), mo = new f();
600
+ let mn = new f(), _o = new f();
601
601
  f._ellipsoidRadiiSquared = new f(
602
602
  6378137 * 6378137,
603
603
  6378137 * 6378137,
@@ -606,9 +606,9 @@ f._ellipsoidRadiiSquared = new f(
606
606
  f.fromRadians = function(e, t, n, i, o) {
607
607
  m.typeOf.number("longitude", e), m.typeOf.number("latitude", t), n = _(n, 0);
608
608
  const s = h(i) ? i.radiiSquared : f._ellipsoidRadiiSquared, a = Math.cos(t);
609
- mn.x = a * Math.cos(e), mn.y = a * Math.sin(e), mn.z = Math.sin(t), mn = f.normalize(mn, mn), f.multiplyComponents(s, mn, mo);
610
- const c = Math.sqrt(f.dot(mn, mo));
611
- return mo = f.divideByScalar(mo, c, mo), mn = f.multiplyByScalar(mn, n, mn), h(o) || (o = new f()), f.add(mo, mn, o);
609
+ mn.x = a * Math.cos(e), mn.y = a * Math.sin(e), mn.z = Math.sin(t), mn = f.normalize(mn, mn), f.multiplyComponents(s, mn, _o);
610
+ const c = Math.sqrt(f.dot(mn, _o));
611
+ return _o = f.divideByScalar(_o, c, _o), mn = f.multiplyByScalar(mn, n, mn), h(o) || (o = new f()), f.add(_o, mn, o);
612
612
  };
613
613
  f.fromDegreesArray = function(e, t, n) {
614
614
  if (m.defined("coordinates", e), e.length < 2 || e.length % 2 !== 0)
@@ -1437,18 +1437,18 @@ F.fromUniformScale = function(e, t) {
1437
1437
  F.fromRotation = function(e, t) {
1438
1438
  return m.typeOf.object("rotation", e), h(t) || (t = new F()), t[0] = e[0], t[1] = e[1], t[2] = e[2], t[3] = 0, t[4] = e[3], t[5] = e[4], t[6] = e[5], t[7] = 0, t[8] = e[6], t[9] = e[7], t[10] = e[8], t[11] = 0, t[12] = 0, t[13] = 0, t[14] = 0, t[15] = 1, t;
1439
1439
  };
1440
- const _o = new f(), go = new f(), Zo = new f();
1440
+ const go = new f(), yo = new f(), Zo = new f();
1441
1441
  F.fromCamera = function(e, t) {
1442
1442
  m.typeOf.object("camera", e);
1443
1443
  const n = e.position, i = e.direction, o = e.up;
1444
- m.typeOf.object("camera.position", n), m.typeOf.object("camera.direction", i), m.typeOf.object("camera.up", o), f.normalize(i, _o), f.normalize(
1445
- f.cross(_o, o, go),
1446
- go
1444
+ m.typeOf.object("camera.position", n), m.typeOf.object("camera.direction", i), m.typeOf.object("camera.up", o), f.normalize(i, go), f.normalize(
1445
+ f.cross(go, o, yo),
1446
+ yo
1447
1447
  ), f.normalize(
1448
- f.cross(go, _o, Zo),
1448
+ f.cross(yo, go, Zo),
1449
1449
  Zo
1450
1450
  );
1451
- const s = go.x, a = go.y, c = go.z, l = _o.x, u = _o.y, d = _o.z, p = Zo.x, g = Zo.y, y = Zo.z, x = n.x, E = n.y, b = n.z, D = s * -x + a * -E + c * -b, A = p * -x + g * -E + y * -b, O = l * x + u * E + d * b;
1451
+ const s = yo.x, a = yo.y, c = yo.z, l = go.x, u = go.y, d = go.z, p = Zo.x, g = Zo.y, y = Zo.z, x = n.x, E = n.y, b = n.z, D = s * -x + a * -E + c * -b, A = p * -x + g * -E + y * -b, O = l * x + u * E + d * b;
1452
1452
  return h(t) ? (t[0] = s, t[1] = p, t[2] = -l, t[3] = 0, t[4] = a, t[5] = g, t[6] = -u, t[7] = 0, t[8] = c, t[9] = y, t[10] = -d, t[11] = 0, t[12] = D, t[13] = A, t[14] = O, t[15] = 1, t) : new F(
1453
1453
  s,
1454
1454
  a,
@@ -4329,7 +4329,7 @@ vt.prototype.isDestroyed = function() {
4329
4329
  vt.prototype.destroy = function() {
4330
4330
  return this._gl.deleteBuffer(this._buffer), tt(this);
4331
4331
  };
4332
- let Di;
4332
+ let Oi;
4333
4333
  const lt = {
4334
4334
  requestFullscreen: void 0,
4335
4335
  exitFullscreen: void 0,
@@ -4408,19 +4408,19 @@ Object.defineProperties(tn, {
4408
4408
  }
4409
4409
  });
4410
4410
  tn.supportsFullscreen = function() {
4411
- if (h(Di))
4412
- return Di;
4413
- Di = !1;
4411
+ if (h(Oi))
4412
+ return Oi;
4413
+ Oi = !1;
4414
4414
  const e = document.body;
4415
4415
  if (typeof e.requestFullscreen == "function")
4416
- return lt.requestFullscreen = "requestFullscreen", lt.exitFullscreen = "exitFullscreen", lt.fullscreenEnabled = "fullscreenEnabled", lt.fullscreenElement = "fullscreenElement", lt.fullscreenchange = "fullscreenchange", lt.fullscreenerror = "fullscreenerror", Di = !0, Di;
4416
+ return lt.requestFullscreen = "requestFullscreen", lt.exitFullscreen = "exitFullscreen", lt.fullscreenEnabled = "fullscreenEnabled", lt.fullscreenElement = "fullscreenElement", lt.fullscreenchange = "fullscreenchange", lt.fullscreenerror = "fullscreenerror", Oi = !0, Oi;
4417
4417
  const t = ["webkit", "moz", "o", "ms", "khtml"];
4418
4418
  let n;
4419
4419
  for (let i = 0, o = t.length; i < o; ++i) {
4420
4420
  const s = t[i];
4421
- n = `${s}RequestFullscreen`, typeof e[n] == "function" ? (lt.requestFullscreen = n, Di = !0) : (n = `${s}RequestFullScreen`, typeof e[n] == "function" && (lt.requestFullscreen = n, Di = !0)), n = `${s}ExitFullscreen`, typeof document[n] == "function" ? lt.exitFullscreen = n : (n = `${s}CancelFullScreen`, typeof document[n] == "function" && (lt.exitFullscreen = n)), n = `${s}FullscreenEnabled`, document[n] !== void 0 ? lt.fullscreenEnabled = n : (n = `${s}FullScreenEnabled`, document[n] !== void 0 && (lt.fullscreenEnabled = n)), n = `${s}FullscreenElement`, document[n] !== void 0 ? lt.fullscreenElement = n : (n = `${s}FullScreenElement`, document[n] !== void 0 && (lt.fullscreenElement = n)), n = `${s}fullscreenchange`, document[`on${n}`] !== void 0 && (s === "ms" && (n = "MSFullscreenChange"), lt.fullscreenchange = n), n = `${s}fullscreenerror`, document[`on${n}`] !== void 0 && (s === "ms" && (n = "MSFullscreenError"), lt.fullscreenerror = n);
4421
+ n = `${s}RequestFullscreen`, typeof e[n] == "function" ? (lt.requestFullscreen = n, Oi = !0) : (n = `${s}RequestFullScreen`, typeof e[n] == "function" && (lt.requestFullscreen = n, Oi = !0)), n = `${s}ExitFullscreen`, typeof document[n] == "function" ? lt.exitFullscreen = n : (n = `${s}CancelFullScreen`, typeof document[n] == "function" && (lt.exitFullscreen = n)), n = `${s}FullscreenEnabled`, document[n] !== void 0 ? lt.fullscreenEnabled = n : (n = `${s}FullScreenEnabled`, document[n] !== void 0 && (lt.fullscreenEnabled = n)), n = `${s}FullscreenElement`, document[n] !== void 0 ? lt.fullscreenElement = n : (n = `${s}FullScreenElement`, document[n] !== void 0 && (lt.fullscreenElement = n)), n = `${s}fullscreenchange`, document[`on${n}`] !== void 0 && (s === "ms" && (n = "MSFullscreenChange"), lt.fullscreenchange = n), n = `${s}fullscreenerror`, document[`on${n}`] !== void 0 && (s === "ms" && (n = "MSFullscreenError"), lt.fullscreenerror = n);
4422
4422
  }
4423
- return Di;
4423
+ return Oi;
4424
4424
  };
4425
4425
  tn.requestFullscreen = function(e, t) {
4426
4426
  tn.supportsFullscreen() && e[lt.requestFullscreen]({ vrDisplay: t });
@@ -4431,7 +4431,7 @@ tn.exitFullscreen = function() {
4431
4431
  tn._names = lt;
4432
4432
  let Wt;
4433
4433
  typeof navigator < "u" ? Wt = navigator : Wt = {};
4434
- function oo(e) {
4434
+ function ro(e) {
4435
4435
  const t = e.split(".");
4436
4436
  for (let n = 0, i = t.length; n < i; ++n)
4437
4437
  t[n] = parseInt(t[n], 10);
@@ -4441,7 +4441,7 @@ let fs, hd;
4441
4441
  function Sl() {
4442
4442
  if (!h(fs) && (fs = !1, !wa())) {
4443
4443
  const e = / Chrome\/([\.0-9]+)/.exec(Wt.userAgent);
4444
- e !== null && (fs = !0, hd = oo(e[1]));
4444
+ e !== null && (fs = !0, hd = ro(e[1]));
4445
4445
  }
4446
4446
  return fs;
4447
4447
  }
@@ -4452,7 +4452,7 @@ let us, fd;
4452
4452
  function ud() {
4453
4453
  if (!h(us) && (us = !1, !Sl() && !wa() && / Safari\/[\.0-9]+/.test(Wt.userAgent))) {
4454
4454
  const e = / Version\/([\.0-9]+)/.exec(Wt.userAgent);
4455
- e !== null && (us = !0, fd = oo(e[1]));
4455
+ e !== null && (us = !0, fd = ro(e[1]));
4456
4456
  }
4457
4457
  return us;
4458
4458
  }
@@ -4464,7 +4464,7 @@ function dd() {
4464
4464
  if (!h(ds)) {
4465
4465
  ds = !1;
4466
4466
  const e = / AppleWebKit\/([\.0-9]+)(\+?)/.exec(Wt.userAgent);
4467
- e !== null && (ds = !0, Yc = oo(e[1]), Yc.isNightly = !!e[2]);
4467
+ e !== null && (ds = !0, Yc = ro(e[1]), Yc.isNightly = !!e[2]);
4468
4468
  }
4469
4469
  return ds;
4470
4470
  }
@@ -4476,9 +4476,9 @@ function pd() {
4476
4476
  if (!h(Ko)) {
4477
4477
  Ko = !1;
4478
4478
  let e;
4479
- Wt.appName === "Microsoft Internet Explorer" ? (e = /MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(Wt.userAgent), e !== null && (Ko = !0, Xc = oo(e[1]))) : Wt.appName === "Netscape" && (e = /Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(
4479
+ Wt.appName === "Microsoft Internet Explorer" ? (e = /MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(Wt.userAgent), e !== null && (Ko = !0, Xc = ro(e[1]))) : Wt.appName === "Netscape" && (e = /Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(
4480
4480
  Wt.userAgent
4481
- ), e !== null && (Ko = !0, Xc = oo(e[1])));
4481
+ ), e !== null && (Ko = !0, Xc = ro(e[1])));
4482
4482
  }
4483
4483
  return Ko;
4484
4484
  }
@@ -4490,7 +4490,7 @@ function wa() {
4490
4490
  if (!h(ps)) {
4491
4491
  ps = !1;
4492
4492
  const e = / Edg\/([\.0-9]+)/.exec(Wt.userAgent);
4493
- e !== null && (ps = !0, md = oo(e[1]));
4493
+ e !== null && (ps = !0, md = ro(e[1]));
4494
4494
  }
4495
4495
  return ps;
4496
4496
  }
@@ -4502,7 +4502,7 @@ function Ta() {
4502
4502
  if (!h(ms)) {
4503
4503
  ms = !1;
4504
4504
  const e = /Firefox\/([\.0-9]+)/.exec(Wt.userAgent);
4505
- e !== null && (ms = !0, Al = oo(e[1]));
4505
+ e !== null && (ms = !0, Al = ro(e[1]));
4506
4506
  }
4507
4507
  return ms;
4508
4508
  }
@@ -4563,8 +4563,8 @@ Object.defineProperties(Vt, {
4563
4563
  }
4564
4564
  }
4565
4565
  });
4566
- const Ao = [];
4567
- typeof ArrayBuffer < "u" && (Ao.push(
4566
+ const Do = [];
4567
+ typeof ArrayBuffer < "u" && (Do.push(
4568
4568
  Int8Array,
4569
4569
  Uint8Array,
4570
4570
  Int16Array,
@@ -4573,7 +4573,7 @@ typeof ArrayBuffer < "u" && (Ao.push(
4573
4573
  Uint32Array,
4574
4574
  Float32Array,
4575
4575
  Float64Array
4576
- ), typeof Uint8ClampedArray < "u" && Ao.push(Uint8ClampedArray), typeof Uint8ClampedArray < "u" && Ao.push(Uint8ClampedArray), typeof BigInt64Array < "u" && Ao.push(BigInt64Array), typeof BigUint64Array < "u" && Ao.push(BigUint64Array));
4576
+ ), typeof Uint8ClampedArray < "u" && Do.push(Uint8ClampedArray), typeof Uint8ClampedArray < "u" && Do.push(Uint8ClampedArray), typeof BigInt64Array < "u" && Do.push(BigInt64Array), typeof BigUint64Array < "u" && Do.push(BigUint64Array));
4577
4577
  const yt = {
4578
4578
  isChrome: Sl,
4579
4579
  chromeVersion: h_,
@@ -4594,7 +4594,7 @@ const yt = {
4594
4594
  supportsImageRenderingPixelated: gd,
4595
4595
  supportsWebP: Vt,
4596
4596
  imageRenderingValue: x_,
4597
- typedArrayTypes: Ao
4597
+ typedArrayTypes: Do
4598
4598
  };
4599
4599
  yt.supportsBasis = function(e) {
4600
4600
  return yt.supportsWebAssembly() && e.context.supportsBasis;
@@ -4641,14 +4641,14 @@ T.fromBytes = function(e, t, n, i, o) {
4641
4641
  T.fromAlpha = function(e, t, n) {
4642
4642
  return m.typeOf.object("color", e), m.typeOf.number("alpha", t), h(n) ? (n.red = e.red, n.green = e.green, n.blue = e.blue, n.alpha = t, n) : new T(e.red, e.green, e.blue, t);
4643
4643
  };
4644
- let ka, Dl, di;
4645
- yt.supportsTypedArrays() && (ka = new ArrayBuffer(4), Dl = new Uint32Array(ka), di = new Uint8Array(ka));
4644
+ let ka, Dl, pi;
4645
+ yt.supportsTypedArrays() && (ka = new ArrayBuffer(4), Dl = new Uint32Array(ka), pi = new Uint8Array(ka));
4646
4646
  T.fromRgba = function(e, t) {
4647
4647
  return Dl[0] = e, T.fromBytes(
4648
- di[0],
4649
- di[1],
4650
- di[2],
4651
- di[3],
4648
+ pi[0],
4649
+ pi[1],
4650
+ pi[2],
4651
+ pi[3],
4652
4652
  t
4653
4653
  );
4654
4654
  };
@@ -4781,7 +4781,7 @@ T.prototype.toBytes = function(e) {
4781
4781
  return h(e) ? (e[0] = t, e[1] = n, e[2] = i, e[3] = o, e) : [t, n, i, o];
4782
4782
  };
4783
4783
  T.prototype.toRgba = function() {
4784
- return di[0] = T.floatToByte(this.red), di[1] = T.floatToByte(this.green), di[2] = T.floatToByte(this.blue), di[3] = T.floatToByte(this.alpha), Dl[0];
4784
+ return pi[0] = T.floatToByte(this.red), pi[1] = T.floatToByte(this.green), pi[2] = T.floatToByte(this.blue), pi[3] = T.floatToByte(this.alpha), Dl[0];
4785
4785
  };
4786
4786
  T.prototype.brighten = function(e, t) {
4787
4787
  return m.typeOf.number("magnitude", e), m.typeOf.number.greaterThanOrEquals("magnitude", e, 0), m.typeOf.object("result", t), e = 1 - e, t.red = 1 - (1 - this.red) * e, t.green = 1 - (1 - this.green) * e, t.blue = 1 - (1 - this.blue) * e, t.alpha = this.alpha, t;
@@ -5801,7 +5801,7 @@ function Oh(e, t) {
5801
5801
  t
5802
5802
  );
5803
5803
  }
5804
- function Vi(e, t, n) {
5804
+ function Gi(e, t, n) {
5805
5805
  const i = t / it.SECONDS_PER_DAY | 0;
5806
5806
  return e += i, t -= it.SECONDS_PER_DAY * i, t < 0 && (e--, t += it.SECONDS_PER_DAY), n.dayNumber = e, n.secondsOfDay = t, n;
5807
5807
  }
@@ -5816,7 +5816,7 @@ const G_ = /^(\d{4})$/, q_ = /^(\d{4})-(\d{2})$/, H_ = /^(\d{4})-?(\d{3})$/, W_
5816
5816
  function Z(e, t, n) {
5817
5817
  this.dayNumber = void 0, this.secondsOfDay = void 0, e = _(e, 0), t = _(t, 0), n = _(n, ve.UTC);
5818
5818
  const i = e | 0;
5819
- t = t + (e - i) * it.SECONDS_PER_DAY, Vi(i, t, this), n === ve.UTC && Sa(this);
5819
+ t = t + (e - i) * it.SECONDS_PER_DAY, Gi(i, t, this), n === ve.UTC && Sa(this);
5820
5820
  }
5821
5821
  Z.fromGregorianDate = function(e, t) {
5822
5822
  if (!(e instanceof vl))
@@ -5830,7 +5830,7 @@ Z.fromGregorianDate = function(e, t) {
5830
5830
  e.second,
5831
5831
  e.millisecond
5832
5832
  );
5833
- return h(t) ? (Vi(n[0], n[1], t), Sa(t), t) : new Z(n[0], n[1], ve.UTC);
5833
+ return h(t) ? (Gi(n[0], n[1], t), Sa(t), t) : new Z(n[0], n[1], ve.UTC);
5834
5834
  };
5835
5835
  Z.fromDate = function(e, t) {
5836
5836
  if (!(e instanceof Date) || isNaN(e.getTime()))
@@ -5844,7 +5844,7 @@ Z.fromDate = function(e, t) {
5844
5844
  e.getUTCSeconds(),
5845
5845
  e.getUTCMilliseconds()
5846
5846
  );
5847
- return h(t) ? (Vi(n[0], n[1], t), Sa(t), t) : new Z(n[0], n[1], ve.UTC);
5847
+ return h(t) ? (Gi(n[0], n[1], t), Sa(t), t) : new Z(n[0], n[1], ve.UTC);
5848
5848
  };
5849
5849
  Z.fromIso8601 = function(e, t) {
5850
5850
  if (typeof e != "string")
@@ -5937,7 +5937,7 @@ Z.fromIso8601 = function(e, t) {
5937
5937
  l,
5938
5938
  u
5939
5939
  );
5940
- return h(t) ? (Vi(D[0], D[1], t), Sa(t)) : t = new Z(D[0], D[1], ve.UTC), b && Z.addSeconds(t, 1, t), t;
5940
+ return h(t) ? (Gi(D[0], D[1], t), Sa(t)) : t = new Z(D[0], D[1], ve.UTC), b && Z.addSeconds(t, 1, t), t;
5941
5941
  };
5942
5942
  Z.now = function(e) {
5943
5943
  return Z.fromDate(/* @__PURE__ */ new Date(), e);
@@ -6061,7 +6061,7 @@ Z.addSeconds = function(e, t, n) {
6061
6061
  throw new C("seconds is required.");
6062
6062
  if (!h(n))
6063
6063
  throw new C("result is required.");
6064
- return Vi(
6064
+ return Gi(
6065
6065
  e.dayNumber,
6066
6066
  e.secondsOfDay + t,
6067
6067
  n
@@ -6075,7 +6075,7 @@ Z.addMinutes = function(e, t, n) {
6075
6075
  if (!h(n))
6076
6076
  throw new C("result is required.");
6077
6077
  const i = e.secondsOfDay + t * it.SECONDS_PER_MINUTE;
6078
- return Vi(e.dayNumber, i, n);
6078
+ return Gi(e.dayNumber, i, n);
6079
6079
  };
6080
6080
  Z.addHours = function(e, t, n) {
6081
6081
  if (!h(e))
@@ -6085,7 +6085,7 @@ Z.addHours = function(e, t, n) {
6085
6085
  if (!h(n))
6086
6086
  throw new C("result is required.");
6087
6087
  const i = e.secondsOfDay + t * it.SECONDS_PER_HOUR;
6088
- return Vi(e.dayNumber, i, n);
6088
+ return Gi(e.dayNumber, i, n);
6089
6089
  };
6090
6090
  Z.addDays = function(e, t, n) {
6091
6091
  if (!h(e))
@@ -6095,7 +6095,7 @@ Z.addDays = function(e, t, n) {
6095
6095
  if (!h(n))
6096
6096
  throw new C("result is required.");
6097
6097
  const i = e.dayNumber + t;
6098
- return Vi(i, e.secondsOfDay, n);
6098
+ return Gi(i, e.secondsOfDay, n);
6099
6099
  };
6100
6100
  Z.lessThan = function(e, t) {
6101
6101
  return Z.compare(e, t) < 0;
@@ -7484,7 +7484,7 @@ function Q_() {
7484
7484
  });
7485
7485
  })(Ed);
7486
7486
  var J_ = Ed.exports;
7487
- const yi = /* @__PURE__ */ ba(J_);
7487
+ const xi = /* @__PURE__ */ ba(J_);
7488
7488
  function eg(e) {
7489
7489
  return (e.length === 0 || e[e.length - 1] !== "/") && (e = `${e}/`), e;
7490
7490
  }
@@ -7535,7 +7535,7 @@ Tr._implementation = function(e, t, n) {
7535
7535
  return e;
7536
7536
  t = _(n.baseURI, n.location.href);
7537
7537
  }
7538
- const i = new yi(e);
7538
+ const i = new xi(e);
7539
7539
  return i.scheme() !== "" ? i.toString() : i.absoluteTo(t).toString();
7540
7540
  };
7541
7541
  function tg(e, t) {
@@ -7543,12 +7543,12 @@ function tg(e, t) {
7543
7543
  throw new C("uri is required.");
7544
7544
  let n = "";
7545
7545
  const i = e.lastIndexOf("/");
7546
- return i !== -1 && (n = e.substring(0, i + 1)), t && (e = new yi(e), e.query().length !== 0 && (n += `?${e.query()}`), e.fragment().length !== 0 && (n += `#${e.fragment()}`)), n;
7546
+ return i !== -1 && (n = e.substring(0, i + 1)), t && (e = new xi(e), e.query().length !== 0 && (n += `?${e.query()}`), e.fragment().length !== 0 && (n += `#${e.fragment()}`)), n;
7547
7547
  }
7548
7548
  function ng(e) {
7549
7549
  if (!h(e))
7550
7550
  throw new C("uri is required.");
7551
- const t = new yi(e);
7551
+ const t = new xi(e);
7552
7552
  t.normalize();
7553
7553
  let n = t.path(), i = n.lastIndexOf("/");
7554
7554
  return i !== -1 && (n = n.substr(i + 1)), i = n.lastIndexOf("."), i === -1 ? n = "" : n = n.substr(i + 1), n;
@@ -7784,10 +7784,10 @@ Be.prototype.raiseEvent = function() {
7784
7784
  }
7785
7785
  this._insideRaiseEvent = !1;
7786
7786
  };
7787
- function ao(e) {
7787
+ function co(e) {
7788
7788
  m.typeOf.object("options", e), m.defined("options.comparator", e.comparator), this._comparator = e.comparator, this._array = [], this._length = 0, this._maximumLength = void 0;
7789
7789
  }
7790
- Object.defineProperties(ao.prototype, {
7790
+ Object.defineProperties(co.prototype, {
7791
7791
  /**
7792
7792
  * Gets the length of the heap.
7793
7793
  *
@@ -7854,10 +7854,10 @@ function Pl(e, t, n) {
7854
7854
  const i = e[t];
7855
7855
  e[t] = e[n], e[n] = i;
7856
7856
  }
7857
- ao.prototype.reserve = function(e) {
7857
+ co.prototype.reserve = function(e) {
7858
7858
  e = _(e, this._length), this._array.length = e;
7859
7859
  };
7860
- ao.prototype.heapify = function(e) {
7860
+ co.prototype.heapify = function(e) {
7861
7861
  e = _(e, 0);
7862
7862
  const t = this._length, n = this._comparator, i = this._array;
7863
7863
  let o = -1, s = !0;
@@ -7866,12 +7866,12 @@ ao.prototype.heapify = function(e) {
7866
7866
  c < t && n(i[c], i[e]) < 0 ? o = c : o = e, a < t && n(i[a], i[o]) < 0 && (o = a), o !== e ? (Pl(i, o, e), e = o) : s = !1;
7867
7867
  }
7868
7868
  };
7869
- ao.prototype.resort = function() {
7869
+ co.prototype.resort = function() {
7870
7870
  const e = this._length;
7871
7871
  for (let t = Math.ceil(e / 2); t >= 0; --t)
7872
7872
  this.heapify(t);
7873
7873
  };
7874
- ao.prototype.insert = function(e) {
7874
+ co.prototype.insert = function(e) {
7875
7875
  m.defined("element", e);
7876
7876
  const t = this._array, n = this._comparator, i = this._maximumLength;
7877
7877
  let o = this._length++;
@@ -7885,7 +7885,7 @@ ao.prototype.insert = function(e) {
7885
7885
  let s;
7886
7886
  return h(i) && this._length > i && (s = t[i], this._length = i), s;
7887
7887
  };
7888
- ao.prototype.pop = function(e) {
7888
+ co.prototype.pop = function(e) {
7889
7889
  if (e = _(e, 0), this._length === 0)
7890
7890
  return;
7891
7891
  m.typeOf.number.lessThan("index", e, this._length);
@@ -7905,14 +7905,14 @@ const Le = {
7905
7905
  lastNumberOfActiveRequests: 0
7906
7906
  };
7907
7907
  let Po = 20;
7908
- const Ht = new ao({
7908
+ const Ht = new co({
7909
7909
  comparator: dg
7910
7910
  });
7911
7911
  Ht.maximumLength = Po;
7912
7912
  Ht.reserve(Po);
7913
7913
  const Gn = [];
7914
- let xi = {};
7915
- const pg = typeof document < "u" ? new yi(document.location.href) : new yi(), Aa = new Be();
7914
+ let Ci = {};
7915
+ const pg = typeof document < "u" ? new xi(document.location.href) : new xi(), Aa = new Be();
7916
7916
  function Ze() {
7917
7917
  }
7918
7918
  Ze.maximumRequests = 50;
@@ -7953,7 +7953,7 @@ Object.defineProperties(Ze, {
7953
7953
  if (e < Po)
7954
7954
  for (; Ht.length > e; ) {
7955
7955
  const t = Ht.pop();
7956
- no(t);
7956
+ io(t);
7957
7957
  }
7958
7958
  Po = e, Ht.maximumLength = e, Ht.reserve(e);
7959
7959
  }
@@ -7968,7 +7968,7 @@ Ze.serverHasOpenSlots = function(e, t) {
7968
7968
  Ze.requestsByServer[e],
7969
7969
  Ze.maximumRequestsPerServer
7970
7970
  );
7971
- return xi[e] + t <= n;
7971
+ return Ci[e] + t <= n;
7972
7972
  };
7973
7973
  Ze.heapHasOpenSlots = function(e) {
7974
7974
  return Ht.length + e <= Po;
@@ -7981,31 +7981,31 @@ function mg(e) {
7981
7981
  if (e.state === pt.CANCELLED)
7982
7982
  return;
7983
7983
  const n = e.deferred;
7984
- --Le.numberOfActiveRequests, --xi[e.serverKey], Aa.raiseEvent(), e.state = pt.RECEIVED, e.deferred = void 0, n.resolve(t);
7984
+ --Le.numberOfActiveRequests, --Ci[e.serverKey], Aa.raiseEvent(), e.state = pt.RECEIVED, e.deferred = void 0, n.resolve(t);
7985
7985
  };
7986
7986
  }
7987
7987
  function _g(e) {
7988
7988
  return function(t) {
7989
- e.state !== pt.CANCELLED && (++Le.numberOfFailedRequests, --Le.numberOfActiveRequests, --xi[e.serverKey], Aa.raiseEvent(t), e.state = pt.FAILED, e.deferred.reject(t));
7989
+ e.state !== pt.CANCELLED && (++Le.numberOfFailedRequests, --Le.numberOfActiveRequests, --Ci[e.serverKey], Aa.raiseEvent(t), e.state = pt.FAILED, e.deferred.reject(t));
7990
7990
  };
7991
7991
  }
7992
7992
  function Ad(e) {
7993
7993
  const t = Sd(e);
7994
- return e.state = pt.ACTIVE, Gn.push(e), ++Le.numberOfActiveRequests, ++Le.numberOfActiveRequestsEver, ++xi[e.serverKey], e.requestFunction().then(mg(e)).catch(_g(e)), t;
7994
+ return e.state = pt.ACTIVE, Gn.push(e), ++Le.numberOfActiveRequests, ++Le.numberOfActiveRequestsEver, ++Ci[e.serverKey], e.requestFunction().then(mg(e)).catch(_g(e)), t;
7995
7995
  }
7996
- function no(e) {
7996
+ function io(e) {
7997
7997
  const t = e.state === pt.ACTIVE;
7998
7998
  if (e.state = pt.CANCELLED, ++Le.numberOfCancelledRequests, h(e.deferred)) {
7999
7999
  const n = e.deferred;
8000
8000
  e.deferred = void 0, n.reject();
8001
8001
  }
8002
- t && (--Le.numberOfActiveRequests, --xi[e.serverKey], ++Le.numberOfCancelledActiveRequests), h(e.cancelFunction) && e.cancelFunction();
8002
+ t && (--Le.numberOfActiveRequests, --Ci[e.serverKey], ++Le.numberOfCancelledActiveRequests), h(e.cancelFunction) && e.cancelFunction();
8003
8003
  }
8004
8004
  Ze.update = function() {
8005
8005
  let e, t, n = 0;
8006
8006
  const i = Gn.length;
8007
8007
  for (e = 0; e < i; ++e) {
8008
- if (t = Gn[e], t.cancelled && no(t), t.state !== pt.ACTIVE) {
8008
+ if (t = Gn[e], t.cancelled && io(t), t.state !== pt.ACTIVE) {
8009
8009
  ++n;
8010
8010
  continue;
8011
8011
  }
@@ -8023,11 +8023,11 @@ Ze.update = function() {
8023
8023
  let c = 0;
8024
8024
  for (; c < a && Ht.length > 0; ) {
8025
8025
  if (t = Ht.pop(), t.cancelled) {
8026
- no(t);
8026
+ io(t);
8027
8027
  continue;
8028
8028
  }
8029
8029
  if (t.throttleByServer && !Ze.serverHasOpenSlots(t.serverKey)) {
8030
- no(t);
8030
+ io(t);
8031
8031
  continue;
8032
8032
  }
8033
8033
  Ad(t), ++c;
@@ -8036,12 +8036,12 @@ Ze.update = function() {
8036
8036
  };
8037
8037
  Ze.getServerKey = function(e) {
8038
8038
  m.typeOf.string("url", e);
8039
- let t = new yi(e);
8039
+ let t = new xi(e);
8040
8040
  t.scheme() === "" && (t = t.absoluteTo(pg), t.normalize());
8041
8041
  let n = t.authority();
8042
8042
  /:/.test(n) || (n = `${n}:${t.scheme() === "https" ? "443" : "80"}`);
8043
- const i = xi[n];
8044
- return h(i) || (xi[n] = 0), n;
8043
+ const i = Ci[n];
8044
+ return h(i) || (Ci[n] = 0), n;
8045
8045
  };
8046
8046
  Ze.request = function(e) {
8047
8047
  if (m.typeOf.object("request", e), m.typeOf.string("request.url", e.url), m.typeOf.func("request.requestFunction", e.requestFunction), wd(e.url) || bd(e.url))
@@ -8057,7 +8057,7 @@ Ze.request = function(e) {
8057
8057
  if (h(t)) {
8058
8058
  if (t === e)
8059
8059
  return;
8060
- no(t);
8060
+ io(t);
8061
8061
  }
8062
8062
  return Sd(e);
8063
8063
  };
@@ -8075,15 +8075,15 @@ function gg() {
8075
8075
  Ze.clearForSpecs = function() {
8076
8076
  for (; Ht.length > 0; ) {
8077
8077
  const t = Ht.pop();
8078
- no(t);
8078
+ io(t);
8079
8079
  }
8080
8080
  const e = Gn.length;
8081
8081
  for (let t = 0; t < e; ++t)
8082
- no(Gn[t]);
8083
- Gn.length = 0, xi = {}, Le.numberOfAttemptedRequests = 0, Le.numberOfActiveRequests = 0, Le.numberOfCancelledRequests = 0, Le.numberOfCancelledActiveRequests = 0, Le.numberOfFailedRequests = 0, Le.numberOfActiveRequestsEver = 0, Le.lastNumberOfActiveRequests = 0;
8082
+ io(Gn[t]);
8083
+ Gn.length = 0, Ci = {}, Le.numberOfAttemptedRequests = 0, Le.numberOfActiveRequests = 0, Le.numberOfCancelledRequests = 0, Le.numberOfCancelledActiveRequests = 0, Le.numberOfFailedRequests = 0, Le.numberOfActiveRequestsEver = 0, Le.lastNumberOfActiveRequests = 0;
8084
8084
  };
8085
8085
  Ze.numberOfActiveRequestsByServer = function(e) {
8086
- return xi[e];
8086
+ return Ci[e];
8087
8087
  };
8088
8088
  Ze.requestHeap = Ht;
8089
8089
  const Wo = {};
@@ -8105,7 +8105,7 @@ Wo.remove = function(e, t) {
8105
8105
  h(Fo[n]) && delete Fo[n];
8106
8106
  };
8107
8107
  function yg(e) {
8108
- const t = new yi(e);
8108
+ const t = new xi(e);
8109
8109
  t.normalize();
8110
8110
  let n = t.authority();
8111
8111
  if (n.length !== 0) {
@@ -8153,9 +8153,9 @@ ne.createIfNeeded = function(e) {
8153
8153
  url: e
8154
8154
  });
8155
8155
  };
8156
- let yo;
8156
+ let xo;
8157
8157
  ne.supportsImageBitmapOptions = function() {
8158
- return h(yo) ? yo : typeof createImageBitmap != "function" ? (yo = Promise.resolve(!1), yo) : (yo = ne.fetchBlob({
8158
+ return h(xo) ? xo : typeof createImageBitmap != "function" ? (xo = Promise.resolve(!1), xo) : (xo = ne.fetchBlob({
8159
8159
  url: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAAE4g3rEiDgAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADElEQVQI12Ng6GAAAAEUAIngE3ZiAAAAAElFTkSuQmCC"
8160
8160
  }).then(function(t) {
8161
8161
  const n = {
@@ -8175,7 +8175,7 @@ ne.supportsImageBitmapOptions = function() {
8175
8175
  return n[1] !== i[1];
8176
8176
  }).catch(function() {
8177
8177
  return !1;
8178
- }), yo);
8178
+ }), xo);
8179
8179
  };
8180
8180
  Object.defineProperties(ne, {
8181
8181
  /**
@@ -8304,7 +8304,7 @@ ne.prototype.toString = function() {
8304
8304
  return this.getUrlComponent(!0, !0);
8305
8305
  };
8306
8306
  ne.prototype.parseUrl = function(e, t, n, i) {
8307
- let o = new yi(e);
8307
+ let o = new xi(e);
8308
8308
  const s = xg(o.query());
8309
8309
  this._queryParameters = t ? ua(s, this.queryParameters, n) : s, o.search(""), o.fragment(""), h(i) && o.scheme() === "" && (o = o.absoluteTo(Tr(i))), this._url = o.toString();
8310
8310
  };
@@ -9090,11 +9090,11 @@ let Cs;
9090
9090
  function Id(e) {
9091
9091
  return typeof document > "u" ? e : (h(Cs) || (Cs = document.createElement("a")), Cs.href = e, Cs.href);
9092
9092
  }
9093
- let eo;
9093
+ let to;
9094
9094
  function Rd() {
9095
9095
  var t;
9096
- if (h(eo))
9097
- return eo;
9096
+ if (h(to))
9097
+ return to;
9098
9098
  let e;
9099
9099
  if (typeof CESIUM_BASE_URL < "u" ? e = CESIUM_BASE_URL : h((t = import.meta) == null ? void 0 : t.url) ? e = Tr(".", import.meta.url) : typeof define == "object" && h(define.amd) && !define.amd.toUrlUndefined && h(require.toUrl) ? e = Tr(
9100
9100
  "..",
@@ -9103,9 +9103,9 @@ function Rd() {
9103
9103
  throw new C(
9104
9104
  "Unable to determine Cesium base URL automatically, try defining a global variable called CESIUM_BASE_URL."
9105
9105
  );
9106
- return eo = new ne({
9106
+ return to = new ne({
9107
9107
  url: Id(e)
9108
- }), eo.appendForwardSlash(), eo;
9108
+ }), to.appendForwardSlash(), to;
9109
9109
  }
9110
9110
  function Dg(e) {
9111
9111
  return Id(require.toUrl(`../${e}`));
@@ -9122,10 +9122,10 @@ function fn(e) {
9122
9122
  fn._cesiumScriptRegex = vd;
9123
9123
  fn._buildModuleUrlFromBaseUrl = zd;
9124
9124
  fn._clearBaseResource = function() {
9125
- eo = void 0;
9125
+ to = void 0;
9126
9126
  };
9127
9127
  fn.setBaseUrl = function(e) {
9128
- eo = ne.DEFAULT.getDerivedResource({
9128
+ to = ne.DEFAULT.getDerivedResource({
9129
9129
  url: e
9130
9130
  });
9131
9131
  };
@@ -9520,7 +9520,7 @@ const ge = {}, Xa = {
9520
9520
  north: "up",
9521
9521
  south: "down"
9522
9522
  }
9523
- }, xo = {
9523
+ }, Co = {
9524
9524
  north: [-1, 0, 0],
9525
9525
  east: [0, 1, 0],
9526
9526
  up: [0, 0, 1],
@@ -9535,7 +9535,7 @@ const ge = {}, Xa = {
9535
9535
  south: new f(),
9536
9536
  down: new f()
9537
9537
  };
9538
- let Oi = new f(), vi = new f(), Ii = new f();
9538
+ let vi = new f(), Ii = new f(), Ri = new f();
9539
9539
  ge.localFrameToFixedFrameGenerator = function(e, t) {
9540
9540
  if (!Xa.hasOwnProperty(e) || !Xa[e].hasOwnProperty(t))
9541
9541
  throw new C(
@@ -9551,44 +9551,44 @@ ge.localFrameToFixedFrameGenerator = function(e, t) {
9551
9551
  throw new C("origin has a NaN component");
9552
9552
  if (h(c) || (c = new F()), f.equalsEpsilon(s, f.ZERO, S.EPSILON14))
9553
9553
  f.unpack(
9554
- xo[e],
9555
- 0,
9556
- Oi
9557
- ), f.unpack(
9558
- xo[t],
9554
+ Co[e],
9559
9555
  0,
9560
9556
  vi
9561
9557
  ), f.unpack(
9562
- xo[n],
9558
+ Co[t],
9563
9559
  0,
9564
9560
  Ii
9561
+ ), f.unpack(
9562
+ Co[n],
9563
+ 0,
9564
+ Ri
9565
9565
  );
9566
9566
  else if (S.equalsEpsilon(s.x, 0, S.EPSILON14) && S.equalsEpsilon(s.y, 0, S.EPSILON14)) {
9567
9567
  const l = S.sign(s.z);
9568
9568
  f.unpack(
9569
- xo[e],
9570
- 0,
9571
- Oi
9572
- ), e !== "east" && e !== "west" && f.multiplyByScalar(
9573
- Oi,
9574
- l,
9575
- Oi
9576
- ), f.unpack(
9577
- xo[t],
9569
+ Co[e],
9578
9570
  0,
9579
9571
  vi
9580
- ), t !== "east" && t !== "west" && f.multiplyByScalar(
9572
+ ), e !== "east" && e !== "west" && f.multiplyByScalar(
9581
9573
  vi,
9582
9574
  l,
9583
9575
  vi
9584
9576
  ), f.unpack(
9585
- xo[n],
9577
+ Co[t],
9586
9578
  0,
9587
9579
  Ii
9588
- ), n !== "east" && n !== "west" && f.multiplyByScalar(
9580
+ ), t !== "east" && t !== "west" && f.multiplyByScalar(
9589
9581
  Ii,
9590
9582
  l,
9591
9583
  Ii
9584
+ ), f.unpack(
9585
+ Co[n],
9586
+ 0,
9587
+ Ri
9588
+ ), n !== "east" && n !== "west" && f.multiplyByScalar(
9589
+ Ri,
9590
+ l,
9591
+ Ri
9592
9592
  );
9593
9593
  } else {
9594
9594
  a = _(a, le.default), a.geodeticSurfaceNormal(s, en.up);
@@ -9605,9 +9605,9 @@ ge.localFrameToFixedFrameGenerator = function(e, t) {
9605
9605
  en.north,
9606
9606
  -1,
9607
9607
  en.south
9608
- ), Oi = en[e], vi = en[t], Ii = en[n];
9608
+ ), vi = en[e], Ii = en[t], Ri = en[n];
9609
9609
  }
9610
- return c[0] = Oi.x, c[1] = Oi.y, c[2] = Oi.z, c[3] = 0, c[4] = vi.x, c[5] = vi.y, c[6] = vi.z, c[7] = 0, c[8] = Ii.x, c[9] = Ii.y, c[10] = Ii.z, c[11] = 0, c[12] = s.x, c[13] = s.y, c[14] = s.z, c[15] = 1, c;
9610
+ return c[0] = vi.x, c[1] = vi.y, c[2] = vi.z, c[3] = 0, c[4] = Ii.x, c[5] = Ii.y, c[6] = Ii.z, c[7] = 0, c[8] = Ri.x, c[9] = Ri.y, c[10] = Ri.z, c[11] = 0, c[12] = s.x, c[13] = s.y, c[14] = s.z, c[15] = 1, c;
9611
9611
  }, $a[o] = i), i;
9612
9612
  };
9613
9613
  ge.eastNorthUpToFixedFrame = ge.localFrameToFixedFrameGenerator(
@@ -10315,7 +10315,7 @@ function $e(e) {
10315
10315
  function Ut(e, t) {
10316
10316
  return (e._flags & t) === t;
10317
10317
  }
10318
- function Ri(e, t, n) {
10318
+ function zi(e, t, n) {
10319
10319
  n ? e._flags |= t : e._flags &= ~t;
10320
10320
  }
10321
10321
  Object.defineProperties($e.prototype, {
@@ -10373,7 +10373,7 @@ Object.defineProperties($e.prototype, {
10373
10373
  return Ut(this, nt.CULL);
10374
10374
  },
10375
10375
  set: function(e) {
10376
- Ut(this, nt.CULL) !== e && (Ri(this, nt.CULL, e), this.dirty = !0);
10376
+ Ut(this, nt.CULL) !== e && (zi(this, nt.CULL, e), this.dirty = !0);
10377
10377
  }
10378
10378
  },
10379
10379
  /**
@@ -10389,7 +10389,7 @@ Object.defineProperties($e.prototype, {
10389
10389
  return Ut(this, nt.OCCLUDE);
10390
10390
  },
10391
10391
  set: function(e) {
10392
- Ut(this, nt.OCCLUDE) !== e && (Ri(this, nt.OCCLUDE, e), this.dirty = !0);
10392
+ Ut(this, nt.OCCLUDE) !== e && (zi(this, nt.OCCLUDE, e), this.dirty = !0);
10393
10393
  }
10394
10394
  },
10395
10395
  /**
@@ -10512,7 +10512,7 @@ Object.defineProperties($e.prototype, {
10512
10512
  return Ut(this, nt.CAST_SHADOWS);
10513
10513
  },
10514
10514
  set: function(e) {
10515
- Ut(this, nt.CAST_SHADOWS) !== e && (Ri(this, nt.CAST_SHADOWS, e), this.dirty = !0);
10515
+ Ut(this, nt.CAST_SHADOWS) !== e && (zi(this, nt.CAST_SHADOWS, e), this.dirty = !0);
10516
10516
  }
10517
10517
  },
10518
10518
  /**
@@ -10527,7 +10527,7 @@ Object.defineProperties($e.prototype, {
10527
10527
  return Ut(this, nt.RECEIVE_SHADOWS);
10528
10528
  },
10529
10529
  set: function(e) {
10530
- Ut(this, nt.RECEIVE_SHADOWS) !== e && (Ri(this, nt.RECEIVE_SHADOWS, e), this.dirty = !0);
10530
+ Ut(this, nt.RECEIVE_SHADOWS) !== e && (zi(this, nt.RECEIVE_SHADOWS, e), this.dirty = !0);
10531
10531
  }
10532
10532
  },
10533
10533
  /**
@@ -10604,7 +10604,7 @@ Object.defineProperties($e.prototype, {
10604
10604
  return Ut(this, nt.EXECUTE_IN_CLOSEST_FRUSTUM);
10605
10605
  },
10606
10606
  set: function(e) {
10607
- Ut(this, nt.EXECUTE_IN_CLOSEST_FRUSTUM) !== e && (Ri(this, nt.EXECUTE_IN_CLOSEST_FRUSTUM, e), this.dirty = !0);
10607
+ Ut(this, nt.EXECUTE_IN_CLOSEST_FRUSTUM) !== e && (zi(this, nt.EXECUTE_IN_CLOSEST_FRUSTUM, e), this.dirty = !0);
10608
10608
  }
10609
10609
  },
10610
10610
  /**
@@ -10644,7 +10644,7 @@ Object.defineProperties($e.prototype, {
10644
10644
  return Ut(this, nt.DEBUG_SHOW_BOUNDING_VOLUME);
10645
10645
  },
10646
10646
  set: function(e) {
10647
- Ut(this, nt.DEBUG_SHOW_BOUNDING_VOLUME) !== e && (Ri(this, nt.DEBUG_SHOW_BOUNDING_VOLUME, e), this.dirty = !0);
10647
+ Ut(this, nt.DEBUG_SHOW_BOUNDING_VOLUME) !== e && (zi(this, nt.DEBUG_SHOW_BOUNDING_VOLUME, e), this.dirty = !0);
10648
10648
  }
10649
10649
  },
10650
10650
  /**
@@ -10719,7 +10719,7 @@ Object.defineProperties($e.prototype, {
10719
10719
  return Ut(this, nt.PICK_ONLY);
10720
10720
  },
10721
10721
  set: function(e) {
10722
- Ut(this, nt.PICK_ONLY) !== e && (Ri(this, nt.PICK_ONLY, e), this.dirty = !0);
10722
+ Ut(this, nt.PICK_ONLY) !== e && (zi(this, nt.PICK_ONLY, e), this.dirty = !0);
10723
10723
  }
10724
10724
  },
10725
10725
  /**
@@ -10734,7 +10734,7 @@ Object.defineProperties($e.prototype, {
10734
10734
  return Ut(this, nt.DEPTH_FOR_TRANSLUCENT_CLASSIFICATION);
10735
10735
  },
10736
10736
  set: function(e) {
10737
- Ut(this, nt.DEPTH_FOR_TRANSLUCENT_CLASSIFICATION) !== e && (Ri(this, nt.DEPTH_FOR_TRANSLUCENT_CLASSIFICATION, e), this.dirty = !0);
10737
+ Ut(this, nt.DEPTH_FOR_TRANSLUCENT_CLASSIFICATION) !== e && (zi(this, nt.DEPTH_FOR_TRANSLUCENT_CLASSIFICATION, e), this.dirty = !0);
10738
10738
  }
10739
10739
  }
10740
10740
  });
@@ -11634,7 +11634,7 @@ function Cy(e) {
11634
11634
  function Xh(e) {
11635
11635
  return e === R.NEVER || e === R.LESS || e === R.EQUAL || e === R.LEQUAL || e === R.GREATER || e === R.NOTEQUAL || e === R.GEQUAL || e === R.ALWAYS;
11636
11636
  }
11637
- function Co(e) {
11637
+ function Eo(e) {
11638
11638
  return e === R.ZERO || e === R.KEEP || e === R.REPLACE || e === R.INCR || e === R.DECR || e === R.INVERT || e === R.INCR_WRAP || e === R.DECR_WRAP;
11639
11639
  }
11640
11640
  function Ve(e) {
@@ -11785,27 +11785,27 @@ function Ve(e) {
11785
11785
  throw new C("Invalid renderState.stencilTest.frontFunction.");
11786
11786
  if (!Xh(this.stencilTest.backFunction))
11787
11787
  throw new C("Invalid renderState.stencilTest.backFunction.");
11788
- if (!Co(this.stencilTest.frontOperation.fail))
11788
+ if (!Eo(this.stencilTest.frontOperation.fail))
11789
11789
  throw new C(
11790
11790
  "Invalid renderState.stencilTest.frontOperation.fail."
11791
11791
  );
11792
- if (!Co(this.stencilTest.frontOperation.zFail))
11792
+ if (!Eo(this.stencilTest.frontOperation.zFail))
11793
11793
  throw new C(
11794
11794
  "Invalid renderState.stencilTest.frontOperation.zFail."
11795
11795
  );
11796
- if (!Co(this.stencilTest.frontOperation.zPass))
11796
+ if (!Eo(this.stencilTest.frontOperation.zPass))
11797
11797
  throw new C(
11798
11798
  "Invalid renderState.stencilTest.frontOperation.zPass."
11799
11799
  );
11800
- if (!Co(this.stencilTest.backOperation.fail))
11800
+ if (!Eo(this.stencilTest.backOperation.fail))
11801
11801
  throw new C(
11802
11802
  "Invalid renderState.stencilTest.backOperation.fail."
11803
11803
  );
11804
- if (!Co(this.stencilTest.backOperation.zFail))
11804
+ if (!Eo(this.stencilTest.backOperation.zFail))
11805
11805
  throw new C(
11806
11806
  "Invalid renderState.stencilTest.backOperation.zFail."
11807
11807
  );
11808
- if (!Co(this.stencilTest.backOperation.zPass))
11808
+ if (!Eo(this.stencilTest.backOperation.zPass))
11809
11809
  throw new C(
11810
11810
  "Invalid renderState.stencilTest.backOperation.zPass."
11811
11811
  );
@@ -11855,7 +11855,7 @@ Ve.getCache = function() {
11855
11855
  Ve.clearCache = function() {
11856
11856
  qn = {};
11857
11857
  };
11858
- function co(e, t, n) {
11858
+ function lo(e, t, n) {
11859
11859
  n ? e.enable(t) : e.disable(t);
11860
11860
  }
11861
11861
  function Ud(e, t) {
@@ -11863,18 +11863,18 @@ function Ud(e, t) {
11863
11863
  }
11864
11864
  function kd(e, t) {
11865
11865
  const n = t.cull, i = n.enabled;
11866
- co(e, e.CULL_FACE, i), i && e.cullFace(n.face);
11866
+ lo(e, e.CULL_FACE, i), i && e.cullFace(n.face);
11867
11867
  }
11868
11868
  function Vd(e, t) {
11869
11869
  e.lineWidth(t.lineWidth);
11870
11870
  }
11871
11871
  function Gd(e, t) {
11872
11872
  const n = t.polygonOffset, i = n.enabled;
11873
- co(e, e.POLYGON_OFFSET_FILL, i), i && e.polygonOffset(n.factor, n.units);
11873
+ lo(e, e.POLYGON_OFFSET_FILL, i), i && e.polygonOffset(n.factor, n.units);
11874
11874
  }
11875
11875
  function qd(e, t, n) {
11876
11876
  const i = t.scissorTest, o = h(n.scissorTest) ? n.scissorTest.enabled : i.enabled;
11877
- if (co(e, e.SCISSOR_TEST, o), o) {
11877
+ if (lo(e, e.SCISSOR_TEST, o), o) {
11878
11878
  const s = h(n.scissorTest) ? n.scissorTest.rectangle : i.rectangle;
11879
11879
  e.scissor(s.x, s.y, s.width, s.height);
11880
11880
  }
@@ -11885,7 +11885,7 @@ function Hd(e, t) {
11885
11885
  }
11886
11886
  function Wd(e, t) {
11887
11887
  const n = t.depthTest, i = n.enabled;
11888
- co(e, e.DEPTH_TEST, i), i && e.depthFunc(n.func);
11888
+ lo(e, e.DEPTH_TEST, i), i && e.depthFunc(n.func);
11889
11889
  }
11890
11890
  function jd(e, t) {
11891
11891
  const n = t.colorMask;
@@ -11902,7 +11902,7 @@ function by(e, t) {
11902
11902
  }
11903
11903
  function $d(e, t, n) {
11904
11904
  const i = t.blending, o = h(n.blendingEnabled) ? n.blendingEnabled : i.enabled;
11905
- co(e, e.BLEND, o), o && (by(e, i.color), e.blendEquationSeparate(i.equationRgb, i.equationAlpha), e.blendFuncSeparate(
11905
+ lo(e, e.BLEND, o), o && (by(e, i.color), e.blendEquationSeparate(i.equationRgb, i.equationAlpha), e.blendFuncSeparate(
11906
11906
  i.functionSourceRgb,
11907
11907
  i.functionDestinationRgb,
11908
11908
  i.functionSourceAlpha,
@@ -11911,7 +11911,7 @@ function $d(e, t, n) {
11911
11911
  }
11912
11912
  function Zd(e, t) {
11913
11913
  const n = t.stencilTest, i = n.enabled;
11914
- if (co(e, e.STENCIL_TEST, i), i) {
11914
+ if (lo(e, e.STENCIL_TEST, i), i) {
11915
11915
  const o = n.frontFunction, s = n.backFunction, a = n.reference, c = n.mask;
11916
11916
  e.stencilFunc(o, a, c), e.stencilFuncSeparate(e.BACK, s, a, c), e.stencilFuncSeparate(e.FRONT, o, a, c);
11917
11917
  const l = n.frontOperation, u = l.fail, d = l.zFail, p = l.zPass;
@@ -11932,7 +11932,7 @@ function Zd(e, t) {
11932
11932
  }
11933
11933
  function Kd(e, t) {
11934
11934
  const n = t.sampleCoverage, i = n.enabled;
11935
- co(e, e.SAMPLE_COVERAGE, i), i && e.sampleCoverage(n.value, n.invert);
11935
+ lo(e, e.SAMPLE_COVERAGE, i), i && e.sampleCoverage(n.value, n.invert);
11936
11936
  }
11937
11937
  const wy = new Ce();
11938
11938
  function Qd(e, t, n) {
@@ -13300,7 +13300,7 @@ function Ja(e) {
13300
13300
  return (window.URL || window.webkitURL).createObjectURL(t);
13301
13301
  }
13302
13302
  function Ml(e) {
13303
- const t = new yi(e), n = t.scheme().length !== 0 && t.fragment().length === 0, i = e.replace(/\.js$/, ""), o = {};
13303
+ const t = new xi(e), n = t.scheme().length !== 0 && t.fragment().length === 0, i = e.replace(/\.js$/, ""), o = {};
13304
13304
  let s, a;
13305
13305
  if (Zc(e))
13306
13306
  a = e;
@@ -13435,26 +13435,26 @@ bt.taskCompletedEvent = ol;
13435
13435
  bt._defaultWorkerModulePrefix = "Workers/";
13436
13436
  bt._workerModulePrefix = bt._defaultWorkerModulePrefix;
13437
13437
  bt._canTransferArrayBuffer = void 0;
13438
- function mi() {
13438
+ function _i() {
13439
13439
  }
13440
- mi._transcodeTaskProcessor = new bt(
13440
+ _i._transcodeTaskProcessor = new bt(
13441
13441
  "transcodeKTX2",
13442
13442
  Number.POSITIVE_INFINITY
13443
13443
  // KTX2 transcoding is used in place of Resource.fetchImage, so it can't reject as "just soooo busy right now"
13444
13444
  );
13445
- mi._readyPromise = void 0;
13445
+ _i._readyPromise = void 0;
13446
13446
  function nx() {
13447
- const e = mi._transcodeTaskProcessor.initWebAssemblyModule({
13447
+ const e = _i._transcodeTaskProcessor.initWebAssemblyModule({
13448
13448
  wasmBinaryFile: "ThirdParty/basis_transcoder.wasm"
13449
13449
  }).then(function(t) {
13450
13450
  if (t)
13451
- return mi._transcodeTaskProcessor;
13451
+ return _i._transcodeTaskProcessor;
13452
13452
  throw new ut("KTX2 transcoder could not be initialized.");
13453
13453
  });
13454
- mi._readyPromise = e;
13454
+ _i._readyPromise = e;
13455
13455
  }
13456
- mi.transcode = function(e, t) {
13457
- return m.defined("supportedTargetFormats", t), h(mi._readyPromise) || nx(), mi._readyPromise.then(function(n) {
13456
+ _i.transcode = function(e, t) {
13457
+ return m.defined("supportedTargetFormats", t), h(_i._readyPromise) || nx(), _i._readyPromise.then(function(n) {
13458
13458
  let i = e;
13459
13459
  e instanceof ArrayBuffer && (i = new Uint8Array(e));
13460
13460
  const o = {
@@ -13502,7 +13502,7 @@ function Tp(e) {
13502
13502
  m.defined("resourceOrUrlOrBuffer", e);
13503
13503
  let t;
13504
13504
  return e instanceof ArrayBuffer || ArrayBuffer.isView(e) ? t = Promise.resolve(e) : t = ne.createIfNeeded(e).fetchArrayBuffer(), t.then(function(n) {
13505
- return mi.transcode(n, wp);
13505
+ return _i.transcode(n, wp);
13506
13506
  });
13507
13507
  }
13508
13508
  function Da(e, t, n, i, o, s, a, c, l, u, d) {
@@ -13669,7 +13669,7 @@ const Zs = {
13669
13669
  Ks.validate = function(e) {
13670
13670
  return e === Ks.NEAREST || e === Ks.LINEAR;
13671
13671
  };
13672
- const ro = Object.freeze(Ks), Li = {
13672
+ const so = Object.freeze(Ks), Mi = {
13673
13673
  /**
13674
13674
  * Samples the texture by returning the closest pixel.
13675
13675
  *
@@ -13730,10 +13730,10 @@ const ro = Object.freeze(Ks), Li = {
13730
13730
  */
13731
13731
  LINEAR_MIPMAP_LINEAR: R.LINEAR_MIPMAP_LINEAR
13732
13732
  };
13733
- Li.validate = function(e) {
13734
- return e === Li.NEAREST || e === Li.LINEAR || e === Li.NEAREST_MIPMAP_NEAREST || e === Li.LINEAR_MIPMAP_NEAREST || e === Li.NEAREST_MIPMAP_LINEAR || e === Li.LINEAR_MIPMAP_LINEAR;
13733
+ Mi.validate = function(e) {
13734
+ return e === Mi.NEAREST || e === Mi.LINEAR || e === Mi.NEAREST_MIPMAP_NEAREST || e === Mi.LINEAR_MIPMAP_NEAREST || e === Mi.NEAREST_MIPMAP_LINEAR || e === Mi.LINEAR_MIPMAP_LINEAR;
13735
13735
  };
13736
- const Ft = Object.freeze(Li), Qs = {
13736
+ const Ft = Object.freeze(Mi), Qs = {
13737
13737
  CLAMP_TO_EDGE: R.CLAMP_TO_EDGE,
13738
13738
  REPEAT: R.REPEAT,
13739
13739
  MIRRORED_REPEAT: R.MIRRORED_REPEAT,
@@ -13747,7 +13747,7 @@ function Xn(e) {
13747
13747
  wrapS: t = vo.CLAMP_TO_EDGE,
13748
13748
  wrapT: n = vo.CLAMP_TO_EDGE,
13749
13749
  minificationFilter: i = Ft.LINEAR,
13750
- magnificationFilter: o = ro.LINEAR,
13750
+ magnificationFilter: o = so.LINEAR,
13751
13751
  maximumAnisotropy: s = 1
13752
13752
  } = e;
13753
13753
  if (!vo.validate(t))
@@ -13756,7 +13756,7 @@ function Xn(e) {
13756
13756
  throw new C("Invalid sampler.wrapT.");
13757
13757
  if (!Ft.validate(i))
13758
13758
  throw new C("Invalid sampler.minificationFilter.");
13759
- if (!ro.validate(o))
13759
+ if (!so.validate(o))
13760
13760
  throw new C("Invalid sampler.magnificationFilter.");
13761
13761
  m.typeOf.number.greaterThanOrEquals(
13762
13762
  "maximumAnisotropy",
@@ -13799,7 +13799,7 @@ Xn.NEAREST = Object.freeze(
13799
13799
  wrapS: vo.CLAMP_TO_EDGE,
13800
13800
  wrapT: vo.CLAMP_TO_EDGE,
13801
13801
  minificationFilter: Ft.NEAREST,
13802
- magnificationFilter: ro.NEAREST
13802
+ magnificationFilter: so.NEAREST
13803
13803
  })
13804
13804
  );
13805
13805
  function wt(e) {
@@ -14040,7 +14040,7 @@ function Ap(e, t) {
14040
14040
  Ft.LINEAR_MIPMAP_NEAREST,
14041
14041
  Ft.LINEAR_MIPMAP_LINEAR
14042
14042
  ].includes(n), s = e._context, a = e._pixelDatatype;
14043
- (a === pe.FLOAT && !s.textureFloatLinear || a === pe.HALF_FLOAT && !s.textureHalfFloatLinear) && (n = o ? Ft.NEAREST_MIPMAP_NEAREST : Ft.NEAREST, i = ro.NEAREST);
14043
+ (a === pe.FLOAT && !s.textureFloatLinear || a === pe.HALF_FLOAT && !s.textureHalfFloatLinear) && (n = o ? Ft.NEAREST_MIPMAP_NEAREST : Ft.NEAREST, i = so.NEAREST);
14044
14044
  const c = s._gl, l = e._textureTarget;
14045
14045
  c.activeTexture(c.TEXTURE0), c.bindTexture(l, e._texture), c.texParameteri(l, c.TEXTURE_MIN_FILTER, n), c.texParameteri(l, c.TEXTURE_MAG_FILTER, i), c.texParameteri(l, c.TEXTURE_WRAP_S, t.wrapS), c.texParameteri(l, c.TEXTURE_WRAP_T, t.wrapT), h(e._textureFilterAnisotropic) && c.texParameteri(
14046
14046
  l,
@@ -18569,7 +18569,7 @@ function Pp(e, t) {
18569
18569
  Ft.LINEAR_MIPMAP_NEAREST,
18570
18570
  Ft.LINEAR_MIPMAP_LINEAR
18571
18571
  ].includes(n), s = e._context, a = e._pixelFormat, c = e._pixelDatatype;
18572
- (c === pe.FLOAT && !s.textureFloatLinear || c === pe.HALF_FLOAT && !s.textureHalfFloatLinear) && (n = o ? Ft.NEAREST_MIPMAP_NEAREST : Ft.NEAREST, i = ro.NEAREST), s.webgl2 && de.isDepthFormat(a) && (n = Ft.NEAREST, i = ro.NEAREST);
18572
+ (c === pe.FLOAT && !s.textureFloatLinear || c === pe.HALF_FLOAT && !s.textureHalfFloatLinear) && (n = o ? Ft.NEAREST_MIPMAP_NEAREST : Ft.NEAREST, i = so.NEAREST), s.webgl2 && de.isDepthFormat(a) && (n = Ft.NEAREST, i = so.NEAREST);
18573
18573
  const l = s._gl, u = e._textureTarget;
18574
18574
  l.activeTexture(l.TEXTURE0), l.bindTexture(u, e._texture), l.texParameteri(u, l.TEXTURE_MIN_FILTER, n), l.texParameteri(u, l.TEXTURE_MAG_FILTER, i), l.texParameteri(u, l.TEXTURE_WRAP_S, t.wrapS), l.texParameteri(u, l.TEXTURE_WRAP_T, t.wrapT), h(e._textureFilterAnisotropic) && l.texParameteri(
18575
18575
  u,
@@ -18857,7 +18857,7 @@ const Dr = [new f(), new f(), new f()];
18857
18857
  f.clone(f.UNIT_X, Dr[0]);
18858
18858
  f.clone(f.UNIT_Y, Dr[1]);
18859
18859
  f.clone(f.UNIT_Z, Dr[2]);
18860
- const zi = new f(), XE = new f(), Bp = new Fe(new f(1, 0, 0), 0);
18860
+ const Pi = new f(), XE = new f(), Bp = new Fe(new f(1, 0, 0), 0);
18861
18861
  bn.fromBoundingSphere = function(e, t) {
18862
18862
  if (!h(e))
18863
18863
  throw new C("boundingSphere is required.");
@@ -18869,9 +18869,9 @@ bn.fromBoundingSphere = function(e, t) {
18869
18869
  for (let c = 0; c < n; ++c) {
18870
18870
  const l = Dr[c];
18871
18871
  let u = i[a], d = i[a + 1];
18872
- h(u) || (u = i[a] = new Y()), h(d) || (d = i[a + 1] = new Y()), f.multiplyByScalar(l, -s, zi), f.add(o, zi, zi), u.x = l.x, u.y = l.y, u.z = l.z, u.w = -f.dot(l, zi), f.multiplyByScalar(l, s, zi), f.add(o, zi, zi), d.x = -l.x, d.y = -l.y, d.z = -l.z, d.w = -f.dot(
18872
+ h(u) || (u = i[a] = new Y()), h(d) || (d = i[a + 1] = new Y()), f.multiplyByScalar(l, -s, Pi), f.add(o, Pi, Pi), u.x = l.x, u.y = l.y, u.z = l.z, u.w = -f.dot(l, Pi), f.multiplyByScalar(l, s, Pi), f.add(o, Pi, Pi), d.x = -l.x, d.y = -l.y, d.z = -l.z, d.w = -f.dot(
18873
18873
  f.negate(l, XE),
18874
- zi
18874
+ Pi
18875
18875
  ), a += 2;
18876
18876
  }
18877
18877
  return t;
@@ -19043,7 +19043,7 @@ sn.pack = function(e, t, n) {
19043
19043
  sn.unpack = function(e, t, n) {
19044
19044
  return m.defined("array", e), t = _(t, 0), h(n) || (n = new sn()), n.width = e[t++], n.aspectRatio = e[t++], n.near = e[t++], n.far = e[t], n;
19045
19045
  };
19046
- function Ui(e) {
19046
+ function ki(e) {
19047
19047
  if (!h(e.width) || !h(e.aspectRatio) || !h(e.near) || !h(e.far))
19048
19048
  throw new C(
19049
19049
  "width, aspectRatio, near, or far parameters are not set."
@@ -19070,7 +19070,7 @@ Object.defineProperties(sn.prototype, {
19070
19070
  */
19071
19071
  projectionMatrix: {
19072
19072
  get: function() {
19073
- return Ui(this), this._offCenterFrustum.projectionMatrix;
19073
+ return ki(this), this._offCenterFrustum.projectionMatrix;
19074
19074
  }
19075
19075
  },
19076
19076
  /**
@@ -19082,15 +19082,15 @@ Object.defineProperties(sn.prototype, {
19082
19082
  */
19083
19083
  offCenterFrustum: {
19084
19084
  get: function() {
19085
- return Ui(this), this._offCenterFrustum;
19085
+ return ki(this), this._offCenterFrustum;
19086
19086
  }
19087
19087
  }
19088
19088
  });
19089
19089
  sn.prototype.computeCullingVolume = function(e, t, n) {
19090
- return Ui(this), this._offCenterFrustum.computeCullingVolume(e, t, n);
19090
+ return ki(this), this._offCenterFrustum.computeCullingVolume(e, t, n);
19091
19091
  };
19092
19092
  sn.prototype.getPixelDimensions = function(e, t, n, i, o) {
19093
- return Ui(this), this._offCenterFrustum.getPixelDimensions(
19093
+ return ki(this), this._offCenterFrustum.getPixelDimensions(
19094
19094
  e,
19095
19095
  t,
19096
19096
  n,
@@ -19102,10 +19102,10 @@ sn.prototype.clone = function(e) {
19102
19102
  return h(e) || (e = new sn()), e.aspectRatio = this.aspectRatio, e.width = this.width, e.near = this.near, e.far = this.far, e._aspectRatio = void 0, e._width = void 0, e._near = void 0, e._far = void 0, this._offCenterFrustum.clone(e._offCenterFrustum), e;
19103
19103
  };
19104
19104
  sn.prototype.equals = function(e) {
19105
- return !h(e) || !(e instanceof sn) ? !1 : (Ui(this), Ui(e), this.width === e.width && this.aspectRatio === e.aspectRatio && this._offCenterFrustum.equals(e._offCenterFrustum));
19105
+ return !h(e) || !(e instanceof sn) ? !1 : (ki(this), ki(e), this.width === e.width && this.aspectRatio === e.aspectRatio && this._offCenterFrustum.equals(e._offCenterFrustum));
19106
19106
  };
19107
19107
  sn.prototype.equalsEpsilon = function(e, t, n) {
19108
- return !h(e) || !(e instanceof sn) ? !1 : (Ui(this), Ui(e), S.equalsEpsilon(
19108
+ return !h(e) || !(e instanceof sn) ? !1 : (ki(this), ki(e), S.equalsEpsilon(
19109
19109
  this.width,
19110
19110
  e.width,
19111
19111
  t,
@@ -20288,7 +20288,7 @@ we.prototype.clone = function(e) {
20288
20288
  we.prototype.equals = function(e) {
20289
20289
  return we.equals(this, e);
20290
20290
  };
20291
- const io = {
20291
+ const oo = {
20292
20292
  /**
20293
20293
  * The position is absolute.
20294
20294
  * @type {number}
@@ -20331,12 +20331,12 @@ const io = {
20331
20331
  * @constant
20332
20332
  */
20333
20333
  RELATIVE_TO_3D_TILE: 6
20334
- }, _i = Object.freeze(io);
20334
+ }, gi = Object.freeze(oo);
20335
20335
  function Oa(e) {
20336
- return e === io.CLAMP_TO_GROUND || e === io.CLAMP_TO_3D_TILE || e === io.CLAMP_TO_TERRAIN;
20336
+ return e === oo.CLAMP_TO_GROUND || e === oo.CLAMP_TO_3D_TILE || e === oo.CLAMP_TO_TERRAIN;
20337
20337
  }
20338
20338
  function cb(e) {
20339
- return e === io.RELATIVE_TO_GROUND || e === io.RELATIVE_TO_3D_TILE || e === io.RELATIVE_TO_TERRAIN;
20339
+ return e === oo.RELATIVE_TO_GROUND || e === oo.RELATIVE_TO_3D_TILE || e === oo.RELATIVE_TO_TERRAIN;
20340
20340
  }
20341
20341
  const lb = {
20342
20342
  /**
@@ -20470,7 +20470,7 @@ const fb = {
20470
20470
  */
20471
20471
  RIGHT: 1
20472
20472
  }, Lp = Object.freeze(fb);
20473
- function to(e, t) {
20473
+ function no(e, t) {
20474
20474
  this.start = _(e, 0), this.stop = _(t, 0);
20475
20475
  }
20476
20476
  function K(e, t) {
@@ -20797,7 +20797,7 @@ K.transformWithoutScale = function(e, t, n) {
20797
20797
  };
20798
20798
  const Ab = new f();
20799
20799
  K.computePlaneDistances = function(e, t, n, i) {
20800
- m.typeOf.object("sphere", e), m.typeOf.object("position", t), m.typeOf.object("direction", n), h(i) || (i = new to());
20800
+ m.typeOf.object("sphere", e), m.typeOf.object("position", t), m.typeOf.object("direction", n), h(i) || (i = new no());
20801
20801
  const o = f.subtract(
20802
20802
  e.center,
20803
20803
  t,
@@ -21042,7 +21042,7 @@ Object.defineProperties(Ke.prototype, {
21042
21042
  }
21043
21043
  }
21044
21044
  });
21045
- const Eo = {
21045
+ const bo = {
21046
21046
  start: void 0,
21047
21047
  stop: void 0,
21048
21048
  isStartIncluded: void 0,
@@ -21057,7 +21057,7 @@ Ke.fromIso8601 = function(e, t) {
21057
21057
  "options.iso8601 is an invalid ISO 8601 interval."
21058
21058
  );
21059
21059
  const i = Z.fromIso8601(n[0]), o = Z.fromIso8601(n[1]), s = _(e.isStartIncluded, !0), a = _(e.isStopIncluded, !0), c = e.data;
21060
- return h(t) ? (t.start = i, t.stop = o, t.isStartIncluded = s, t.isStopIncluded = a, t.data = c, t) : (Eo.start = i, Eo.stop = o, Eo.isStartIncluded = s, Eo.isStopIncluded = a, Eo.data = c, new Ke(Eo));
21060
+ return h(t) ? (t.start = i, t.stop = o, t.isStartIncluded = s, t.isStopIncluded = a, t.data = c, t) : (bo.start = i, bo.stop = o, bo.isStartIncluded = s, bo.isStopIncluded = a, bo.data = c, new Ke(bo));
21061
21061
  };
21062
21062
  Ke.toIso8601 = function(e, t) {
21063
21063
  return m.typeOf.object("timeInterval", e), `${Z.toIso8601(
@@ -21125,7 +21125,7 @@ const kp = Object.freeze(
21125
21125
  start: kp,
21126
21126
  stop: Vp
21127
21127
  })
21128
- ), Pi = {
21128
+ ), Bi = {
21129
21129
  /**
21130
21130
  * A {@link JulianDate} representing the earliest time representable by an ISO8601 date.
21131
21131
  * This is equivalent to the date string '0000-01-01T00:00:00Z'
@@ -21250,7 +21250,7 @@ const Bb = {
21250
21250
  * @constant
21251
21251
  */
21252
21252
  MAX: R.MAX
21253
- }, bo = Object.freeze(Bb), Nb = {
21253
+ }, wo = Object.freeze(Bb), Nb = {
21254
21254
  /**
21255
21255
  * The blend factor is zero.
21256
21256
  *
@@ -21374,8 +21374,8 @@ const Bb = {
21374
21374
  */
21375
21375
  ALPHA_BLEND: Object.freeze({
21376
21376
  enabled: !0,
21377
- equationRgb: bo.ADD,
21378
- equationAlpha: bo.ADD,
21377
+ equationRgb: wo.ADD,
21378
+ equationAlpha: wo.ADD,
21379
21379
  functionSourceRgb: _n.SOURCE_ALPHA,
21380
21380
  functionSourceAlpha: _n.ONE,
21381
21381
  functionDestinationRgb: _n.ONE_MINUS_SOURCE_ALPHA,
@@ -21389,8 +21389,8 @@ const Bb = {
21389
21389
  */
21390
21390
  PRE_MULTIPLIED_ALPHA_BLEND: Object.freeze({
21391
21391
  enabled: !0,
21392
- equationRgb: bo.ADD,
21393
- equationAlpha: bo.ADD,
21392
+ equationRgb: wo.ADD,
21393
+ equationAlpha: wo.ADD,
21394
21394
  functionSourceRgb: _n.ONE,
21395
21395
  functionSourceAlpha: _n.ONE,
21396
21396
  functionDestinationRgb: _n.ONE_MINUS_SOURCE_ALPHA,
@@ -21404,14 +21404,14 @@ const Bb = {
21404
21404
  */
21405
21405
  ADDITIVE_BLEND: Object.freeze({
21406
21406
  enabled: !0,
21407
- equationRgb: bo.ADD,
21408
- equationAlpha: bo.ADD,
21407
+ equationRgb: wo.ADD,
21408
+ equationAlpha: wo.ADD,
21409
21409
  functionSourceRgb: _n.SOURCE_ALPHA,
21410
21410
  functionSourceAlpha: _n.ONE,
21411
21411
  functionDestinationRgb: _n.ONE,
21412
21412
  functionDestinationAlpha: _n.ONE
21413
21413
  })
21414
- }, lo = Object.freeze(Fb), Lb = {
21414
+ }, ho = Object.freeze(Fb), Lb = {
21415
21415
  /**
21416
21416
  * Front-facing triangles are culled.
21417
21417
  *
@@ -21505,7 +21505,7 @@ Mt.prototype.isTranslucent = function() {
21505
21505
  };
21506
21506
  Mt.prototype.getRenderState = function() {
21507
21507
  const e = this.isTranslucent(), t = nn(this.renderState, !1);
21508
- return e ? (t.depthMask = !1, t.blending = lo.ALPHA_BLEND) : t.depthMask = !0, t;
21508
+ return e ? (t.depthMask = !1, t.blending = ho.ALPHA_BLEND) : t.depthMask = !0, t;
21509
21509
  };
21510
21510
  Mt.getDefaultRenderState = function(e, t, n) {
21511
21511
  let i = {
@@ -21513,7 +21513,7 @@ Mt.getDefaultRenderState = function(e, t, n) {
21513
21513
  enabled: !0
21514
21514
  }
21515
21515
  };
21516
- return e && (i.depthMask = !1, i.blending = lo.ALPHA_BLEND), t && (i.cull = {
21516
+ return e && (i.depthMask = !1, i.blending = ho.ALPHA_BLEND), t && (i.cull = {
21517
21517
  enabled: !0,
21518
21518
  face: Io.BACK
21519
21519
  }), h(n) && (i = on(n, i, !0)), i;
@@ -22124,7 +22124,7 @@ function Q(e) {
22124
22124
  Ft.LINEAR
22125
22125
  ), this._magnificationFilter = _(
22126
22126
  e.magnificationFilter,
22127
- ro.LINEAR
22127
+ so.LINEAR
22128
22128
  ), this._strict = void 0, this._template = void 0, this._count = void 0, this._texturePaths = {}, this._loadedImages = [], this._loadedCubeMaps = [], this._textures = {}, this._updateFunctions = [], this._defaultTexture = void 0, iw(e, this), Object.defineProperties(this, {
22129
22129
  type: {
22130
22130
  value: this.type,
@@ -23201,7 +23201,7 @@ Uo.prototype.equals = function(e) {
23201
23201
  e instanceof Uo && //
23202
23202
  Ae.equals(this._color, e._color);
23203
23203
  };
23204
- function Gi(e) {
23204
+ function qi(e) {
23205
23205
  e = _(e, _.EMPTY_OBJECT), this._ellipsoid = _(e.ellipsoid, le.default), this._rectangle = _(e.rectangle, ce.MAX_VALUE), this._projection = new Nn(this._ellipsoid), this._numberOfLevelZeroTilesX = _(
23206
23206
  e.numberOfLevelZeroTilesX,
23207
23207
  2
@@ -23210,7 +23210,7 @@ function Gi(e) {
23210
23210
  1
23211
23211
  );
23212
23212
  }
23213
- Object.defineProperties(Gi.prototype, {
23213
+ Object.defineProperties(qi.prototype, {
23214
23214
  /**
23215
23215
  * Gets the ellipsoid that is tiled by this tiling scheme.
23216
23216
  * @memberof GeographicTilingScheme.prototype
@@ -23242,26 +23242,26 @@ Object.defineProperties(Gi.prototype, {
23242
23242
  }
23243
23243
  }
23244
23244
  });
23245
- Gi.prototype.getNumberOfXTilesAtLevel = function(e) {
23245
+ qi.prototype.getNumberOfXTilesAtLevel = function(e) {
23246
23246
  return this._numberOfLevelZeroTilesX << e;
23247
23247
  };
23248
- Gi.prototype.getNumberOfYTilesAtLevel = function(e) {
23248
+ qi.prototype.getNumberOfYTilesAtLevel = function(e) {
23249
23249
  return this._numberOfLevelZeroTilesY << e;
23250
23250
  };
23251
- Gi.prototype.rectangleToNativeRectangle = function(e, t) {
23251
+ qi.prototype.rectangleToNativeRectangle = function(e, t) {
23252
23252
  m.defined("rectangle", e);
23253
23253
  const n = S.toDegrees(e.west), i = S.toDegrees(e.south), o = S.toDegrees(e.east), s = S.toDegrees(e.north);
23254
23254
  return h(t) ? (t.west = n, t.south = i, t.east = o, t.north = s, t) : new ce(n, i, o, s);
23255
23255
  };
23256
- Gi.prototype.tileXYToNativeRectangle = function(e, t, n, i) {
23256
+ qi.prototype.tileXYToNativeRectangle = function(e, t, n, i) {
23257
23257
  const o = this.tileXYToRectangle(e, t, n, i);
23258
23258
  return o.west = S.toDegrees(o.west), o.south = S.toDegrees(o.south), o.east = S.toDegrees(o.east), o.north = S.toDegrees(o.north), o;
23259
23259
  };
23260
- Gi.prototype.tileXYToRectangle = function(e, t, n, i) {
23260
+ qi.prototype.tileXYToRectangle = function(e, t, n, i) {
23261
23261
  const o = this._rectangle, s = this.getNumberOfXTilesAtLevel(n), a = this.getNumberOfYTilesAtLevel(n), c = o.width / s, l = e * c + o.west, u = (e + 1) * c + o.west, d = o.height / a, p = o.north - t * d, g = o.north - (t + 1) * d;
23262
23262
  return h(i) || (i = new ce(l, g, u, p)), i.west = l, i.south = g, i.east = u, i.north = p, i;
23263
23263
  };
23264
- Gi.prototype.positionToTileXY = function(e, t, n) {
23264
+ qi.prototype.positionToTileXY = function(e, t, n) {
23265
23265
  const i = this._rectangle;
23266
23266
  if (!ce.contains(i, e))
23267
23267
  return;
@@ -23273,7 +23273,7 @@ Gi.prototype.positionToTileXY = function(e, t, n) {
23273
23273
  let d = (i.north - e.latitude) / c | 0;
23274
23274
  return d >= s && (d = s - 1), h(n) ? (n.x = u, n.y = d, n) : new U(u, d);
23275
23275
  };
23276
- const af = new f(), cf = new f(), lf = new ee(), sc = new f(), Ew = new f(), hf = new K(), bw = new Gi(), er = [
23276
+ const af = new f(), cf = new f(), lf = new ee(), sc = new f(), Ew = new f(), hf = new K(), bw = new qi(), er = [
23277
23277
  new ee(),
23278
23278
  new ee(),
23279
23279
  new ee(),
@@ -23804,7 +23804,7 @@ const Dw = {
23804
23804
  root1: 0
23805
23805
  };
23806
23806
  function jp(e, t, n) {
23807
- h(n) || (n = new to());
23807
+ h(n) || (n = new no());
23808
23808
  const i = e.origin, o = e.direction, s = t.center, a = t.radius * t.radius, c = f.subtract(i, s, Wp), l = f.dot(o, o), u = 2 * f.dot(o, c), d = f.magnitudeSquared(c) - a, p = Aw(l, u, d, Dw);
23809
23809
  if (h(p))
23810
23810
  return n.start = p.root0, n.stop = p.root1, n;
@@ -23852,32 +23852,32 @@ Ne.rayEllipsoid = function(e, t) {
23852
23852
  if (g > u) {
23853
23853
  d = a * a - u, p = -a + Math.sqrt(d);
23854
23854
  const x = p / l, E = c / p;
23855
- return x < E ? new to(x, E) : {
23855
+ return x < E ? new no(x, E) : {
23856
23856
  start: E,
23857
23857
  stop: x
23858
23858
  };
23859
23859
  }
23860
23860
  const y = Math.sqrt(c / l);
23861
- return new to(y, y);
23861
+ return new no(y, y);
23862
23862
  } else if (s < 1)
23863
- return c = s - 1, l = f.magnitudeSquared(o), u = l * c, d = a * a - u, p = -a + Math.sqrt(d), new to(0, p / l);
23863
+ return c = s - 1, l = f.magnitudeSquared(o), u = l * c, d = a * a - u, p = -a + Math.sqrt(d), new no(0, p / l);
23864
23864
  if (a < 0)
23865
- return l = f.magnitudeSquared(o), new to(0, -a / l);
23865
+ return l = f.magnitudeSquared(o), new no(0, -a / l);
23866
23866
  };
23867
- function Yi(e, t, n) {
23867
+ function Xi(e, t, n) {
23868
23868
  const i = e + t;
23869
23869
  return S.sign(e) !== S.sign(t) && Math.abs(i / Math.max(Math.abs(e), Math.abs(t))) < n ? 0 : i;
23870
23870
  }
23871
23871
  Ne.quadraticVectorExpression = function(e, t, n, i, o) {
23872
- const s = i * i, a = o * o, c = (e[L.COLUMN1ROW1] - e[L.COLUMN2ROW2]) * a, l = o * (i * Yi(
23872
+ const s = i * i, a = o * o, c = (e[L.COLUMN1ROW1] - e[L.COLUMN2ROW2]) * a, l = o * (i * Xi(
23873
23873
  e[L.COLUMN1ROW0],
23874
23874
  e[L.COLUMN0ROW1],
23875
23875
  S.EPSILON15
23876
- ) + t.y), u = e[L.COLUMN0ROW0] * s + e[L.COLUMN2ROW2] * a + i * t.x + n, d = a * Yi(
23876
+ ) + t.y), u = e[L.COLUMN0ROW0] * s + e[L.COLUMN2ROW2] * a + i * t.x + n, d = a * Xi(
23877
23877
  e[L.COLUMN2ROW1],
23878
23878
  e[L.COLUMN1ROW2],
23879
23879
  S.EPSILON15
23880
- ), p = o * (i * Yi(e[L.COLUMN2ROW0], e[L.COLUMN0ROW2]) + t.z);
23880
+ ), p = o * (i * Xi(e[L.COLUMN2ROW0], e[L.COLUMN0ROW2]) + t.z);
23881
23881
  let g;
23882
23882
  const y = [];
23883
23883
  if (p === 0 && d === 0) {
@@ -23900,20 +23900,20 @@ Ne.quadraticVectorExpression = function(e, t, n, i, o) {
23900
23900
  for (let P = 0; P < q; ++P) {
23901
23901
  const V = g[P], k = V * V, H = Math.max(1 - k, 0), j = Math.sqrt(H);
23902
23902
  let r;
23903
- S.sign(c) === S.sign(u) ? r = Yi(
23903
+ S.sign(c) === S.sign(u) ? r = Xi(
23904
23904
  c * k + u,
23905
23905
  l * V,
23906
23906
  S.EPSILON12
23907
- ) : S.sign(u) === S.sign(l * V) ? r = Yi(
23907
+ ) : S.sign(u) === S.sign(l * V) ? r = Xi(
23908
23908
  c * k,
23909
23909
  l * V + u,
23910
23910
  S.EPSILON12
23911
- ) : r = Yi(
23911
+ ) : r = Xi(
23912
23912
  c * k + l * V,
23913
23913
  u,
23914
23914
  S.EPSILON12
23915
23915
  );
23916
- const w = Yi(
23916
+ const w = Xi(
23917
23917
  d * V,
23918
23918
  p,
23919
23919
  S.EPSILON15
@@ -24584,7 +24584,7 @@ ze.computePlaneDistances = function(e, t, n, i) {
24584
24584
  throw new C("position is required.");
24585
24585
  if (!h(n))
24586
24586
  throw new C("direction is required.");
24587
- h(i) || (i = new to());
24587
+ h(i) || (i = new no());
24588
24588
  let o = Number.POSITIVE_INFINITY, s = Number.NEGATIVE_INFINITY;
24589
24589
  const a = e.center, c = e.halfAxes, l = L.getColumn(c, 0, $p), u = L.getColumn(c, 1, Zp), d = L.getColumn(c, 2, Kp), p = f.add(l, u, bT);
24590
24590
  f.add(p, d, p), f.add(p, a, p);
@@ -24828,7 +24828,7 @@ void main(void)
24828
24828
  BOTH: 2
24829
24829
  };
24830
24830
  Qp.NUMBER_OF_CLASSIFICATION_TYPES = 3;
24831
- const Ci = Object.freeze(Qp), zT = {
24831
+ const Ei = Object.freeze(Qp), zT = {
24832
24832
  /**
24833
24833
  * The depth test never passes.
24834
24834
  *
@@ -24899,7 +24899,7 @@ function PT(e, t) {
24899
24899
  }
24900
24900
  return n;
24901
24901
  }
24902
- function Ti(e, t, n) {
24902
+ function Si(e, t, n) {
24903
24903
  if (!h(e))
24904
24904
  throw new C("context is required");
24905
24905
  if (!h(t))
@@ -24918,7 +24918,7 @@ function Ti(e, t, n) {
24918
24918
  const b = 4 * d * p;
24919
24919
  this._batchValues = i === pe.FLOAT && !s ? new Float32Array(b) : new Uint8Array(b), this._batchValuesDirty = !1;
24920
24920
  }
24921
- Object.defineProperties(Ti.prototype, {
24921
+ Object.defineProperties(Si.prototype, {
24922
24922
  /**
24923
24923
  * The attribute descriptions.
24924
24924
  * @memberOf BatchTable.prototype
@@ -24987,7 +24987,7 @@ function MT(e, t, n) {
24987
24987
  Y.pack(i, t, n), i = Y.packFloat(e.y, i), Y.pack(i, t, n + 4), i = Y.packFloat(e.z, i), Y.pack(i, t, n + 8), i = Y.packFloat(e.w, i), Y.pack(i, t, n + 12);
24988
24988
  }
24989
24989
  const Tf = new Y();
24990
- Ti.prototype.getBatchedAttribute = function(e, t, n) {
24990
+ Si.prototype.getBatchedAttribute = function(e, t, n) {
24991
24991
  if (e < 0 || e >= this._numberOfInstances)
24992
24992
  throw new C("instanceIndex is out of range.");
24993
24993
  if (t < 0 || t >= this._attributes.length)
@@ -25013,7 +25013,7 @@ const UT = [
25013
25013
  new f(),
25014
25014
  new Y()
25015
25015
  ], kT = new Y();
25016
- Ti.prototype.setBatchedAttribute = function(e, t, n) {
25016
+ Si.prototype.setBatchedAttribute = function(e, t, n) {
25017
25017
  if (e < 0 || e >= this._numberOfInstances)
25018
25018
  throw new C("instanceIndex is out of range.");
25019
25019
  if (t < 0 || t >= this._attributes.length)
@@ -25054,10 +25054,10 @@ function GT(e) {
25054
25054
  }
25055
25055
  });
25056
25056
  }
25057
- Ti.prototype.update = function(e) {
25057
+ Si.prototype.update = function(e) {
25058
25058
  h(this._texture) && !this._batchValuesDirty || this._attributes.length === 0 || (this._batchValuesDirty = !1, h(this._texture) || VT(this, e.context), GT(this));
25059
25059
  };
25060
- Ti.prototype.getUniformMapCallback = function() {
25060
+ Si.prototype.getUniformMapCallback = function() {
25061
25061
  const e = this;
25062
25062
  return function(t) {
25063
25063
  return e._attributes.length === 0 ? t : on(t, {
@@ -25124,7 +25124,7 @@ textureValue.w = czm_unpackFloat(texture(batchTexture, st + vec2(batchTextureSte
25124
25124
  }
25125
25125
  `, u;
25126
25126
  }
25127
- Ti.prototype.getVertexShaderCallback = function() {
25127
+ Si.prototype.getVertexShaderCallback = function() {
25128
25128
  const e = this._attributes;
25129
25129
  if (e.length === 0)
25130
25130
  return function(i) {
@@ -25144,10 +25144,10 @@ ${t}
25144
25144
  ${a}`;
25145
25145
  };
25146
25146
  };
25147
- Ti.prototype.isDestroyed = function() {
25147
+ Si.prototype.isDestroyed = function() {
25148
25148
  return !1;
25149
25149
  };
25150
- Ti.prototype.destroy = function() {
25150
+ Si.prototype.destroy = function() {
25151
25151
  return this._texture = this._texture && this._texture.destroy(), tt(this);
25152
25152
  };
25153
25153
  const Me = {
@@ -26050,7 +26050,7 @@ He.combineInstances = function(e) {
26050
26050
  pc(n, "eastHemisphereGeometry")
26051
26051
  )), o;
26052
26052
  };
26053
- const gn = new f(), or = new f(), wo = new f(), To = new f();
26053
+ const gn = new f(), or = new f(), To = new f(), So = new f();
26054
26054
  He.computeNormal = function(e) {
26055
26055
  if (!h(e))
26056
26056
  throw new C("geometry is required.");
@@ -26079,7 +26079,7 @@ He.computeNormal = function(e) {
26079
26079
  let d = 0;
26080
26080
  for (u = 0; u < s; u += 3) {
26081
26081
  const x = t[u], E = t[u + 1], b = t[u + 2], D = x * 3, A = E * 3, O = b * 3;
26082
- or.x = i[D], or.y = i[D + 1], or.z = i[D + 2], wo.x = i[A], wo.y = i[A + 1], wo.z = i[A + 2], To.x = i[O], To.y = i[O + 1], To.z = i[O + 2], a[x].count++, a[E].count++, a[b].count++, f.subtract(wo, or, wo), f.subtract(To, or, To), c[d] = f.cross(wo, To, new f()), d++;
26082
+ or.x = i[D], or.y = i[D + 1], or.z = i[D + 2], To.x = i[A], To.y = i[A + 1], To.z = i[A + 2], So.x = i[O], So.y = i[O + 1], So.z = i[O + 2], a[x].count++, a[E].count++, a[b].count++, f.subtract(To, or, To), f.subtract(So, or, So), c[d] = f.cross(To, So, new f()), d++;
26083
26083
  }
26084
26084
  let p = 0;
26085
26085
  for (u = 0; u < o; u++)
@@ -26326,19 +26326,19 @@ function hS(e) {
26326
26326
  }
26327
26327
  return e;
26328
26328
  }
26329
- function Mi(e, t) {
26329
+ function Ui(e, t) {
26330
26330
  Math.abs(e.y) < S.EPSILON6 && (t ? e.y = -S.EPSILON6 : e.y = S.EPSILON6);
26331
26331
  }
26332
26332
  function fS(e, t, n) {
26333
26333
  if (e.y !== 0 && t.y !== 0 && n.y !== 0) {
26334
- Mi(e, e.y < 0), Mi(t, t.y < 0), Mi(n, n.y < 0);
26334
+ Ui(e, e.y < 0), Ui(t, t.y < 0), Ui(n, n.y < 0);
26335
26335
  return;
26336
26336
  }
26337
26337
  const i = Math.abs(e.y), o = Math.abs(t.y), s = Math.abs(n.y);
26338
26338
  let a;
26339
26339
  i > o ? i > s ? a = S.sign(e.y) : a = S.sign(n.y) : o > s ? a = S.sign(t.y) : a = S.sign(n.y);
26340
26340
  const c = a < 0;
26341
- Mi(e, c), Mi(t, c), Mi(n, c);
26341
+ Ui(e, c), Ui(t, c), Ui(n, c);
26342
26342
  }
26343
26343
  const Ff = new f();
26344
26344
  function yn(e, t, n, i) {
@@ -26350,9 +26350,9 @@ function yn(e, t, n, i) {
26350
26350
  Ff
26351
26351
  ),
26352
26352
  n
26353
- ), f.clone(n, i), Mi(n, !0), Mi(i, !1);
26353
+ ), f.clone(n, i), Ui(n, !0), Ui(i, !1);
26354
26354
  }
26355
- const Xi = new f(), $i = new f(), Zi = new f(), Ki = new f(), mc = {
26355
+ const $i = new f(), Zi = new f(), Ki = new f(), Qi = new f(), mc = {
26356
26356
  positions: new Array(7),
26357
26357
  indices: new Array(3 * 3)
26358
26358
  };
@@ -26364,9 +26364,9 @@ function uS(e, t, n) {
26364
26364
  let a = 0;
26365
26365
  a += i ? 1 : 0, a += o ? 1 : 0, a += s ? 1 : 0;
26366
26366
  const c = mc.indices;
26367
- a === 1 ? (c[1] = 3, c[2] = 4, c[5] = 6, c[7] = 6, c[8] = 5, i ? (yn(e, t, Xi, Zi), yn(e, n, $i, Ki), c[0] = 0, c[3] = 1, c[4] = 2, c[6] = 1) : o ? (yn(t, n, Xi, Zi), yn(t, e, $i, Ki), c[0] = 1, c[3] = 2, c[4] = 0, c[6] = 2) : s && (yn(n, e, Xi, Zi), yn(n, t, $i, Ki), c[0] = 2, c[3] = 0, c[4] = 1, c[6] = 0)) : a === 2 && (c[2] = 4, c[4] = 4, c[5] = 3, c[7] = 5, c[8] = 6, i ? o ? s || (yn(n, e, Xi, Zi), yn(n, t, $i, Ki), c[0] = 0, c[1] = 1, c[3] = 0, c[6] = 2) : (yn(t, n, Xi, Zi), yn(t, e, $i, Ki), c[0] = 2, c[1] = 0, c[3] = 2, c[6] = 1) : (yn(e, t, Xi, Zi), yn(e, n, $i, Ki), c[0] = 1, c[1] = 2, c[3] = 1, c[6] = 0));
26367
+ a === 1 ? (c[1] = 3, c[2] = 4, c[5] = 6, c[7] = 6, c[8] = 5, i ? (yn(e, t, $i, Ki), yn(e, n, Zi, Qi), c[0] = 0, c[3] = 1, c[4] = 2, c[6] = 1) : o ? (yn(t, n, $i, Ki), yn(t, e, Zi, Qi), c[0] = 1, c[3] = 2, c[4] = 0, c[6] = 2) : s && (yn(n, e, $i, Ki), yn(n, t, Zi, Qi), c[0] = 2, c[3] = 0, c[4] = 1, c[6] = 0)) : a === 2 && (c[2] = 4, c[4] = 4, c[5] = 3, c[7] = 5, c[8] = 6, i ? o ? s || (yn(n, e, $i, Ki), yn(n, t, Zi, Qi), c[0] = 0, c[1] = 1, c[3] = 0, c[6] = 2) : (yn(t, n, $i, Ki), yn(t, e, Zi, Qi), c[0] = 2, c[1] = 0, c[3] = 2, c[6] = 1) : (yn(e, t, $i, Ki), yn(e, n, Zi, Qi), c[0] = 1, c[1] = 2, c[3] = 1, c[6] = 0));
26368
26368
  const l = mc.positions;
26369
- return l[0] = e, l[1] = t, l[2] = n, l.length = 3, (a === 1 || a === 2) && (l[3] = Xi, l[4] = $i, l[5] = Zi, l[6] = Ki, l.length = 7), mc;
26369
+ return l[0] = e, l[1] = t, l[2] = n, l.length = 3, (a === 1 || a === 2) && (l[3] = $i, l[4] = Zi, l[5] = Ki, l[6] = Qi, l.length = 7), mc;
26370
26370
  }
26371
26371
  function Lf(e, t) {
26372
26372
  const n = e.attributes;
@@ -26705,7 +26705,7 @@ function Mf(e) {
26705
26705
  Jl(e, x, y);
26706
26706
  }
26707
26707
  const nm = Fe.fromPointNormal(f.ZERO, f.UNIT_Y), yS = new f(), xS = new f();
26708
- function So(e, t, n, i, o, s, a) {
26708
+ function Ao(e, t, n, i, o, s, a) {
26709
26709
  if (!h(a))
26710
26710
  return;
26711
26711
  const c = f.fromArray(i, e * 3, Cr);
@@ -26749,7 +26749,7 @@ function Uf(e) {
26749
26749
  s,
26750
26750
  l,
26751
26751
  x
26752
- ), So(
26752
+ ), Ao(
26753
26753
  g,
26754
26754
  y,
26755
26755
  x,
@@ -26764,7 +26764,7 @@ function Uf(e) {
26764
26764
  s,
26765
26765
  -1,
26766
26766
  V
26767
- ), So(
26767
+ ), Ao(
26768
26768
  g,
26769
26769
  y,
26770
26770
  V,
@@ -26779,7 +26779,7 @@ function Uf(e) {
26779
26779
  s,
26780
26780
  -1,
26781
26781
  V
26782
- ), So(
26782
+ ), Ao(
26783
26783
  g,
26784
26784
  y,
26785
26785
  V,
@@ -26794,7 +26794,7 @@ function Uf(e) {
26794
26794
  s,
26795
26795
  l + 1,
26796
26796
  E
26797
- ), So(
26797
+ ), Ao(
26798
26798
  g,
26799
26799
  y,
26800
26800
  E,
@@ -26812,7 +26812,7 @@ function Uf(e) {
26812
26812
  s,
26813
26813
  l,
26814
26814
  x
26815
- ), So(
26815
+ ), Ao(
26816
26816
  g,
26817
26817
  y,
26818
26818
  x,
@@ -26827,7 +26827,7 @@ function Uf(e) {
26827
26827
  s,
26828
26828
  l + 1,
26829
26829
  E
26830
- ), So(
26830
+ ), Ao(
26831
26831
  g,
26832
26832
  y,
26833
26833
  E,
@@ -27751,7 +27751,7 @@ function US(e, t) {
27751
27751
  componentsPerAttribute: 4,
27752
27752
  normalize: !0
27753
27753
  });
27754
- const b = c.length, D = new Ti(t, c, o);
27754
+ const b = c.length, D = new Si(t, c, o);
27755
27755
  for (y = 0; y < o; ++y) {
27756
27756
  const A = i[y];
27757
27757
  g = A.attributes;
@@ -29390,13 +29390,13 @@ ta.setCesium3DTileBit = function() {
29390
29390
  mask: ta.CESIUM_3D_TILE_MASK
29391
29391
  };
29392
29392
  };
29393
- const gi = Object.freeze(ta);
29394
- function qi(e) {
29393
+ const yi = Object.freeze(ta);
29394
+ function Hi(e) {
29395
29395
  e = _(e, _.EMPTY_OBJECT);
29396
29396
  const t = e.geometryInstances;
29397
29397
  this.geometryInstances = t, this.show = _(e.show, !0), this.classificationType = _(
29398
29398
  e.classificationType,
29399
- Ci.BOTH
29399
+ Ei.BOTH
29400
29400
  ), this.debugShowBoundingVolume = _(
29401
29401
  e.debugShowBoundingVolume,
29402
29402
  !1
@@ -29423,7 +29423,7 @@ function qi(e) {
29423
29423
  _createPickOffsets: !0
29424
29424
  };
29425
29425
  }
29426
- Object.defineProperties(qi.prototype, {
29426
+ Object.defineProperties(Hi.prototype, {
29427
29427
  /**
29428
29428
  * When <code>true</code>, geometry vertices are optimized for the pre and post-vertex-shader caches.
29429
29429
  *
@@ -29544,7 +29544,7 @@ Object.defineProperties(qi.prototype, {
29544
29544
  }
29545
29545
  }
29546
29546
  });
29547
- qi.isSupported = function(e) {
29547
+ Hi.isSupported = function(e) {
29548
29548
  return e.context.stencilBuffer;
29549
29549
  };
29550
29550
  function Ro(e, t) {
@@ -29570,10 +29570,10 @@ function Ro(e, t) {
29570
29570
  zFail: je.INCREMENT_WRAP,
29571
29571
  zPass: je.KEEP
29572
29572
  },
29573
- reference: gi.CESIUM_3D_TILE_MASK,
29574
- mask: gi.CESIUM_3D_TILE_MASK
29573
+ reference: yi.CESIUM_3D_TILE_MASK,
29574
+ mask: yi.CESIUM_3D_TILE_MASK
29575
29575
  },
29576
- stencilMask: gi.CLASSIFICATION_MASK,
29576
+ stencilMask: yi.CLASSIFICATION_MASK,
29577
29577
  depthTest: {
29578
29578
  enabled: !0,
29579
29579
  func: Jp.LESS_OR_EQUAL
@@ -29598,14 +29598,14 @@ function hl(e) {
29598
29598
  zPass: je.ZERO
29599
29599
  },
29600
29600
  reference: 0,
29601
- mask: gi.CLASSIFICATION_MASK
29601
+ mask: yi.CLASSIFICATION_MASK
29602
29602
  },
29603
- stencilMask: gi.CLASSIFICATION_MASK,
29603
+ stencilMask: yi.CLASSIFICATION_MASK,
29604
29604
  depthTest: {
29605
29605
  enabled: !1
29606
29606
  },
29607
29607
  depthMask: !1,
29608
- blending: lo.PRE_MULTIPLIED_ALPHA_BLEND
29608
+ blending: ho.PRE_MULTIPLIED_ALPHA_BLEND
29609
29609
  };
29610
29610
  }
29611
29611
  const A1 = {
@@ -29624,9 +29624,9 @@ const A1 = {
29624
29624
  zPass: je.ZERO
29625
29625
  },
29626
29626
  reference: 0,
29627
- mask: gi.CLASSIFICATION_MASK
29627
+ mask: yi.CLASSIFICATION_MASK
29628
29628
  },
29629
- stencilMask: gi.CLASSIFICATION_MASK,
29629
+ stencilMask: yi.CLASSIFICATION_MASK,
29630
29630
  depthTest: {
29631
29631
  enabled: !1
29632
29632
  },
@@ -29886,7 +29886,7 @@ function P1(e, t, n, i, o, s, a, c) {
29886
29886
  Oe._updateBoundingVolumes(l, t, o);
29887
29887
  let u;
29888
29888
  t.mode === me.SCENE3D ? u = l._boundingSphereWC : t.mode === me.COLUMBUS_VIEW ? u = l._boundingSphereCV : t.mode === me.SCENE2D && h(l._boundingSphere2D) ? u = l._boundingSphere2D : h(l._boundingSphereMorph) && (u = l._boundingSphereMorph);
29889
- const d = e.classificationType, p = d !== Ci.CESIUM_3D_TILE, g = d !== Ci.TERRAIN, y = t.passes;
29889
+ const d = e.classificationType, p = d !== Ei.CESIUM_3D_TILE, g = d !== Ei.TERRAIN, y = t.passes;
29890
29890
  let x, E, b;
29891
29891
  if (y.render) {
29892
29892
  const D = n.length;
@@ -29939,7 +29939,7 @@ function P1(e, t, n, i, o, s, a, c) {
29939
29939
  }
29940
29940
  }
29941
29941
  }
29942
- qi.prototype.update = function(e) {
29942
+ Hi.prototype.update = function(e) {
29943
29943
  if (!h(this._primitive) && !h(this.geometryInstances))
29944
29944
  return;
29945
29945
  let t = this.appearance;
@@ -30047,17 +30047,17 @@ qi.prototype.update = function(e) {
30047
30047
  h(this._primitive) && this._primitive.ready && (this._ready = !0, this.releaseGeometryInstances && (this.geometryInstances = void 0));
30048
30048
  });
30049
30049
  };
30050
- qi.prototype.getGeometryInstanceAttributes = function(e) {
30050
+ Hi.prototype.getGeometryInstanceAttributes = function(e) {
30051
30051
  if (!h(this._primitive))
30052
30052
  throw new C(
30053
30053
  "must call update before calling getGeometryInstanceAttributes"
30054
30054
  );
30055
30055
  return this._primitive.getGeometryInstanceAttributes(e);
30056
30056
  };
30057
- qi.prototype.isDestroyed = function() {
30057
+ Hi.prototype.isDestroyed = function() {
30058
30058
  return !1;
30059
30059
  };
30060
- qi.prototype.destroy = function() {
30060
+ Hi.prototype.destroy = function() {
30061
30061
  return this._primitive = this._primitive && this._primitive.destroy(), this._sp = this._sp && this._sp.destroy(), this._spPick = this._spPick && this._spPick.destroy(), this._spColor = this._spColor && this._spColor.destroy(), this._spPick2D = void 0, this._spColor2D = void 0, tt(this);
30062
30062
  };
30063
30063
  const B1 = {
@@ -30083,7 +30083,7 @@ function rn(e) {
30083
30083
  }
30084
30084
  this.appearance = t, this.geometryInstances = e.geometryInstances, this.show = _(e.show, !0), this.classificationType = _(
30085
30085
  e.classificationType,
30086
- Ci.BOTH
30086
+ Ei.BOTH
30087
30087
  ), this.debugShowBoundingVolume = _(
30088
30088
  e.debugShowBoundingVolume,
30089
30089
  !1
@@ -30218,7 +30218,7 @@ Object.defineProperties(rn.prototype, {
30218
30218
  }
30219
30219
  }
30220
30220
  });
30221
- rn.isSupported = qi.isSupported;
30221
+ rn.isSupported = Hi.isSupported;
30222
30222
  function cu(e) {
30223
30223
  return function(t, n) {
30224
30224
  const i = n.maximumRadius, o = i / Math.cos(t * 0.5) - i;
@@ -30302,7 +30302,7 @@ function hu(e, t, n, i, o, s) {
30302
30302
  function G1(e, t, n, i, o, s, a, c) {
30303
30303
  let l;
30304
30304
  t.mode === me.SCENE3D ? l = e._boundingVolumes : l = e._boundingVolumes2D;
30305
- const u = e.classificationType, d = u !== Ci.CESIUM_3D_TILE, p = u !== Ci.TERRAIN, g = t.passes, y = e._primitive;
30305
+ const u = e.classificationType, d = u !== Ei.CESIUM_3D_TILE, p = u !== Ei.TERRAIN, g = t.passes, y = e._primitive;
30306
30306
  let x, E, b;
30307
30307
  if (g.render) {
30308
30308
  const D = n.length;
@@ -30473,7 +30473,7 @@ rn.prototype.update = function(e) {
30473
30473
  I,
30474
30474
  B
30475
30475
  );
30476
- }, this._primitive = new qi(n);
30476
+ }, this._primitive = new Hi(n);
30477
30477
  }
30478
30478
  this._primitive.appearance = this.appearance, this._primitive.show = this.show, this._primitive.debugShowShadowVolume = this.debugShowShadowVolume, this._primitive.debugShowBoundingVolume = this.debugShowBoundingVolume, this._primitive.update(e), e.afterRender.push(() => {
30479
30479
  !this._ready && h(this._primitive) && this._primitive.ready && (this._ready = !0, this.releaseGeometryInstances && (this.geometryInstances = void 0));
@@ -30971,7 +30971,7 @@ Jn.prototype.findIntersectionWithLatitude = function(e, t) {
30971
30971
  return h(t) ? (t.longitude = l, t.latitude = e, t.height = 0, t) : new ee(l, e, 0);
30972
30972
  };
30973
30973
  const th = [Nn, Zt], J1 = th.length, Em = Math.cos(S.toRadians(30)), uu = Math.cos(S.toRadians(150)), bm = 0, wm = 1e3;
30974
- function ki(e) {
30974
+ function Vi(e) {
30975
30975
  e = _(e, _.EMPTY_OBJECT);
30976
30976
  const t = e.positions;
30977
30977
  if (!h(t) || t.length < 2)
@@ -30982,7 +30982,7 @@ function ki(e) {
30982
30982
  );
30983
30983
  this.width = _(e.width, 1), this._positions = t, this.granularity = _(e.granularity, 9999), this.loop = _(e.loop, !1), this.arcType = _(e.arcType, Wn.GEODESIC), this._ellipsoid = le.default, this._projectionIndex = 0, this._workerName = "createGroundPolylineGeometry", this._scene3DOnly = !1;
30984
30984
  }
30985
- Object.defineProperties(ki.prototype, {
30985
+ Object.defineProperties(Vi.prototype, {
30986
30986
  /**
30987
30987
  * The number of elements used to pack the object into an array.
30988
30988
  * @memberof GroundPolylineGeometry.prototype
@@ -30996,7 +30996,7 @@ Object.defineProperties(ki.prototype, {
30996
30996
  }
30997
30997
  }
30998
30998
  });
30999
- ki.setProjectionAndEllipsoid = function(e, t) {
30999
+ Vi.setProjectionAndEllipsoid = function(e, t) {
31000
31000
  let n = 0;
31001
31001
  for (let i = 0; i < J1; i++)
31002
31002
  if (t instanceof th[i]) {
@@ -31007,7 +31007,7 @@ ki.setProjectionAndEllipsoid = function(e, t) {
31007
31007
  };
31008
31008
  const eA = new f(), du = new f(), pu = new f();
31009
31009
  function ul(e, t, n, i, o) {
31010
- const s = $t(i, e, 0, eA), a = $t(i, e, n, du), c = $t(i, t, 0, pu), l = Ei(a, s, du), u = Ei(c, s, pu);
31010
+ const s = $t(i, e, 0, eA), a = $t(i, e, n, du), c = $t(i, t, 0, pu), l = bi(a, s, du), u = bi(c, s, pu);
31011
31011
  return f.cross(u, l, o), f.normalize(o, o);
31012
31012
  }
31013
31013
  const tA = new ee(), nA = new f(), iA = new f(), oA = new f();
@@ -31055,7 +31055,7 @@ function $t(e, t, n, i) {
31055
31055
  i
31056
31056
  );
31057
31057
  }
31058
- ki.pack = function(e, t, n) {
31058
+ Vi.pack = function(e, t, n) {
31059
31059
  m.typeOf.object("value", e), m.defined("array", t);
31060
31060
  let i = _(n, 0);
31061
31061
  const o = e._positions, s = o.length;
@@ -31066,7 +31066,7 @@ ki.pack = function(e, t, n) {
31066
31066
  }
31067
31067
  return t[i++] = e.granularity, t[i++] = e.loop ? 1 : 0, t[i++] = e.arcType, le.pack(e._ellipsoid, t, i), i += le.packedLength, t[i++] = e._projectionIndex, t[i++] = e._scene3DOnly ? 1 : 0, t;
31068
31068
  };
31069
- ki.unpack = function(e, t, n) {
31069
+ Vi.unpack = function(e, t, n) {
31070
31070
  m.defined("array", e);
31071
31071
  let i = _(t, 0);
31072
31072
  const o = e[i++], s = new Array(o);
@@ -31075,19 +31075,19 @@ ki.unpack = function(e, t, n) {
31075
31075
  const a = e[i++], c = e[i++] === 1, l = e[i++], u = le.unpack(e, i);
31076
31076
  i += le.packedLength;
31077
31077
  const d = e[i++], p = e[i++] === 1;
31078
- return h(n) || (n = new ki({
31078
+ return h(n) || (n = new Vi({
31079
31079
  positions: s
31080
31080
  })), n._positions = s, n.granularity = a, n.loop = c, n.arcType = l, n._ellipsoid = u, n._projectionIndex = d, n._scene3DOnly = p, n;
31081
31081
  };
31082
- function Ei(e, t, n) {
31082
+ function bi(e, t, n) {
31083
31083
  return f.subtract(e, t, n), f.normalize(n, n), n;
31084
31084
  }
31085
31085
  function mu(e, t, n, i) {
31086
- return i = Ei(e, t, i), i = f.cross(i, n, i), i = f.normalize(i, i), i = f.cross(n, i, i), i;
31086
+ return i = bi(e, t, i), i = f.cross(i, n, i), i = f.normalize(i, i), i = f.cross(n, i, i), i;
31087
31087
  }
31088
31088
  const rA = new f(), sA = new f(), aA = new f(), Tm = new f(), cA = 0, lA = -1;
31089
31089
  function Dc(e, t, n, i, o) {
31090
- const s = Ei(n, t, Tm), a = mu(
31090
+ const s = bi(n, t, Tm), a = mu(
31091
31091
  e,
31092
31092
  t,
31093
31093
  s,
@@ -31104,7 +31104,7 @@ function Dc(e, t, n, i, o) {
31104
31104
  return f.dot(c, l) < cA && (o = f.negate(o, o)), o;
31105
31105
  }
31106
31106
  const Ea = Fe.fromPointNormal(f.ZERO, f.UNIT_Y), hA = new f(), fA = new f(), uA = new f(), dA = new f(), pA = new f(), Ms = new f(), Us = new ee(), _u = new ee(), gu = new ee();
31107
- ki.createGeometry = function(e) {
31107
+ Vi.createGeometry = function(e) {
31108
31108
  const t = !e._scene3DOnly;
31109
31109
  let n = e.loop;
31110
31110
  const i = e._ellipsoid, o = e.granularity, s = e.arcType, a = new th[e._projectionIndex](
@@ -31283,9 +31283,9 @@ ki.createGeometry = function(e) {
31283
31283
  };
31284
31284
  const mA = new f(), _A = new L(), gA = new J();
31285
31285
  function yu(e, t, n, i) {
31286
- const o = Ei(n, t, mA), s = f.dot(o, e);
31286
+ const o = bi(n, t, mA), s = f.dot(o, e);
31287
31287
  if (s > Em || s < uu) {
31288
- const a = Ei(i, n, Tm), c = s < uu ? S.PI_OVER_TWO : -S.PI_OVER_TWO, l = J.fromAxisAngle(
31288
+ const a = bi(i, n, Tm), c = s < uu ? S.PI_OVER_TWO : -S.PI_OVER_TWO, l = J.fromAxisAngle(
31289
31289
  a,
31290
31290
  c,
31291
31291
  gA
@@ -31355,7 +31355,7 @@ const CA = new f();
31355
31355
  function ks(e, t) {
31356
31356
  const n = Fe.getPointDistance(Ea, e), i = Fe.getPointDistance(Ea, t);
31357
31357
  let o = CA;
31358
- S.equalsEpsilon(n, 0, S.EPSILON2) ? (o = Ei(t, e, o), f.multiplyByScalar(o, S.EPSILON2, o), f.add(e, o, e)) : S.equalsEpsilon(i, 0, S.EPSILON2) && (o = Ei(e, t, o), f.multiplyByScalar(o, S.EPSILON2, o), f.add(t, o, t));
31358
+ S.equalsEpsilon(n, 0, S.EPSILON2) ? (o = bi(t, e, o), f.multiplyByScalar(o, S.EPSILON2, o), f.add(e, o, e)) : S.equalsEpsilon(i, 0, S.EPSILON2) && (o = bi(e, t, o), f.multiplyByScalar(o, S.EPSILON2, o), f.add(t, o, t));
31359
31359
  }
31360
31360
  function EA(e, t) {
31361
31361
  const n = Math.abs(e.longitude), i = Math.abs(t.longitude);
@@ -31500,40 +31500,40 @@ function kA(e, t, n, i, o, s, a) {
31500
31500
  l,
31501
31501
  Au
31502
31502
  ), se = yu(ye, _t, _e, Ee), H.latitude = s[W], H.longitude = s[W + 1], j.latitude = s[W + 2], j.longitude = s[W + 3];
31503
- let wn, fo, Si, Ai;
31503
+ let wn, uo, Ai, Di;
31504
31504
  if (a) {
31505
31505
  const ct = EA(H, j);
31506
- wn = t.project(H, vA), fo = t.project(j, IA);
31507
- const po = Ei(fo, wn, Ou);
31508
- po.y = Math.abs(po.y), Si = vc, Ai = Ic, ct === 0 || f.dot(po, f.UNIT_Y) > Em ? (Si = gr(
31506
+ wn = t.project(H, vA), uo = t.project(j, IA);
31507
+ const mo = bi(uo, wn, Ou);
31508
+ mo.y = Math.abs(mo.y), Ai = vc, Di = Ic, ct === 0 || f.dot(mo, f.UNIT_Y) > Em ? (Ai = gr(
31509
31509
  t,
31510
31510
  H,
31511
31511
  Jt,
31512
31512
  wn,
31513
31513
  vc
31514
- ), Ai = gr(
31514
+ ), Di = gr(
31515
31515
  t,
31516
31516
  j,
31517
31517
  ye,
31518
- fo,
31518
+ uo,
31519
31519
  Ic
31520
- )) : ct === 1 ? (Ai = gr(
31520
+ )) : ct === 1 ? (Di = gr(
31521
31521
  t,
31522
31522
  j,
31523
31523
  ye,
31524
- fo,
31524
+ uo,
31525
31525
  Ic
31526
- ), Si.x = 0, Si.y = S.sign(
31526
+ ), Ai.x = 0, Ai.y = S.sign(
31527
31527
  H.longitude - Math.abs(j.longitude)
31528
- ), Si.z = 0) : (Si = gr(
31528
+ ), Ai.z = 0) : (Ai = gr(
31529
31529
  t,
31530
31530
  H,
31531
31531
  Jt,
31532
31532
  wn,
31533
31533
  vc
31534
- ), Ai.x = 0, Ai.y = S.sign(
31534
+ ), Di.x = 0, Di.y = S.sign(
31535
31535
  H.longitude - j.longitude
31536
- ), Ai.z = 0);
31536
+ ), Di.z = 0);
31537
31537
  }
31538
31538
  const uh = f.distance(Qt, Ee), dh = Ye.fromCartesian(
31539
31539
  _t,
@@ -31545,8 +31545,8 @@ function kA(e, t, n, i, o, s, a) {
31545
31545
  ), z0 = f.normalize(ns, Du);
31546
31546
  let Yo = f.subtract(Qt, _t, zA);
31547
31547
  Yo = f.normalize(Yo, Yo);
31548
- let uo = f.cross(z0, Yo, Du);
31549
- uo = f.normalize(uo, uo);
31548
+ let po = f.cross(z0, Yo, Du);
31549
+ po = f.normalize(po, po);
31550
31550
  let is = f.cross(
31551
31551
  Yo,
31552
31552
  Jt,
@@ -31562,21 +31562,21 @@ function kA(e, t, n, i, o, s, a) {
31562
31562
  );
31563
31563
  rs = f.normalize(rs, rs);
31564
31564
  const P0 = uh / z, B0 = Re / z;
31565
- let Ia = 0, Xo, ss, Wi, ph = 0, mh = 0;
31565
+ let Ia = 0, Xo, ss, ji, ph = 0, mh = 0;
31566
31566
  if (a) {
31567
- Ia = f.distance(wn, fo), Xo = Ye.fromCartesian(
31567
+ Ia = f.distance(wn, uo), Xo = Ye.fromCartesian(
31568
31568
  wn,
31569
31569
  LA
31570
31570
  ), ss = f.subtract(
31571
- fo,
31571
+ uo,
31572
31572
  wn,
31573
31573
  Ou
31574
- ), Wi = f.normalize(ss, MA);
31575
- const ct = Wi.x;
31576
- Wi.x = Wi.y, Wi.y = -ct, ph = Ia / k, mh = Ge / k;
31574
+ ), ji = f.normalize(ss, MA);
31575
+ const ct = ji.x;
31576
+ ji.x = ji.y, ji.y = -ct, ph = Ia / k, mh = Ge / k;
31577
31577
  }
31578
31578
  for (G = 0; G < 8; G++) {
31579
- const ct = ie + G * 4, po = $ + G * 2, $o = ct + 3, gh = G < 4 ? 1 : -1, as = G === 2 || G === 3 || G === 6 || G === 7 ? 1 : -1;
31579
+ const ct = ie + G * 4, mo = $ + G * 2, $o = ct + 3, gh = G < 4 ? 1 : -1, as = G === 2 || G === 3 || G === 6 || G === 7 ? 1 : -1;
31580
31580
  f.pack(dh.high, b, ct), b[$o] = ns.x, f.pack(dh.low, D, ct), D[$o] = ns.y, f.pack(
31581
31581
  is,
31582
31582
  A,
@@ -31586,12 +31586,12 @@ function kA(e, t, n, i, o, s, a) {
31586
31586
  O,
31587
31587
  ct
31588
31588
  ), O[$o] = P0 * gh, f.pack(
31589
- uo,
31589
+ po,
31590
31590
  I,
31591
31591
  ct
31592
31592
  );
31593
- let ji = B0 * as;
31594
- ji === 0 && as < 0 && (ji = 9), I[$o] = ji, a && (B[ct] = Xo.high.x, B[ct + 1] = Xo.high.y, B[ct + 2] = Xo.low.x, B[ct + 3] = Xo.low.y, q[ct] = -Si.y, q[ct + 1] = Si.x, q[ct + 2] = Ai.y, q[ct + 3] = -Ai.x, M[ct] = ss.x, M[ct + 1] = ss.y, M[ct + 2] = Wi.x, M[ct + 3] = Wi.y, P[po] = ph * gh, ji = mh * as, ji === 0 && as < 0 && (ji = 9), P[po + 1] = ji);
31593
+ let Yi = B0 * as;
31594
+ Yi === 0 && as < 0 && (Yi = 9), I[$o] = Yi, a && (B[ct] = Xo.high.x, B[ct + 1] = Xo.high.y, B[ct + 2] = Xo.low.x, B[ct + 3] = Xo.low.y, q[ct] = -Ai.y, q[ct + 1] = Ai.x, q[ct + 2] = Di.y, q[ct + 3] = -Di.x, M[ct] = ss.x, M[ct + 1] = ss.y, M[ct + 2] = ji.x, M[ct + 3] = ji.y, P[mo] = ph * gh, Yi = mh * as, Yi === 0 && as < 0 && (Yi = 9), P[mo + 1] = Yi);
31595
31595
  }
31596
31596
  const ii = DA, oi = OA, ri = SA, si = AA, N0 = ce.fromCartographicArray(
31597
31597
  wA,
@@ -31616,7 +31616,7 @@ function kA(e, t, n, i, o, s, a) {
31616
31616
  si
31617
31617
  );
31618
31618
  let ai = f.multiplyByScalar(
31619
- uo,
31619
+ po,
31620
31620
  S.EPSILON5,
31621
31621
  vu
31622
31622
  );
@@ -31625,7 +31625,7 @@ function kA(e, t, n, i, o, s, a) {
31625
31625
  ai,
31626
31626
  ii
31627
31627
  ), f.add(oi, ai, oi), f.add(ri, ai, ri), f.add(si, ai, si), ks(ii, oi), ks(ri, si), f.pack(ii, E, X), f.pack(oi, E, X + 3), f.pack(si, E, X + 6), f.pack(ri, E, X + 9), ai = f.multiplyByScalar(
31628
- uo,
31628
+ po,
31629
31629
  -2 * S.EPSILON5,
31630
31630
  vu
31631
31631
  ), f.add(
@@ -31670,23 +31670,23 @@ function kA(e, t, n, i, o, s, a) {
31670
31670
  normalize: !1,
31671
31671
  values: E
31672
31672
  }),
31673
- startHiAndForwardOffsetX: Bi(
31673
+ startHiAndForwardOffsetX: Ni(
31674
31674
  b
31675
31675
  ),
31676
- startLoAndForwardOffsetY: Bi(
31676
+ startLoAndForwardOffsetY: Ni(
31677
31677
  D
31678
31678
  ),
31679
- startNormalAndForwardOffsetZ: Bi(
31679
+ startNormalAndForwardOffsetZ: Ni(
31680
31680
  A
31681
31681
  ),
31682
- endNormalAndTextureCoordinateNormalizationX: Bi(
31682
+ endNormalAndTextureCoordinateNormalizationX: Ni(
31683
31683
  O
31684
31684
  ),
31685
- rightNormalAndTextureCoordinateNormalizationY: Bi(
31685
+ rightNormalAndTextureCoordinateNormalizationY: Ni(
31686
31686
  I
31687
31687
  )
31688
31688
  };
31689
- return a && (xt.startHiLo2D = Bi(B), xt.offsetAndRight2D = Bi(M), xt.startEndNormals2D = Bi(q), xt.texcoordNormalization2D = new zt({
31689
+ return a && (xt.startHiLo2D = Ni(B), xt.offsetAndRight2D = Ni(M), xt.startEndNormals2D = Ni(q), xt.texcoordNormalization2D = new zt({
31690
31690
  componentDatatype: oe.FLOAT,
31691
31691
  componentsPerAttribute: 2,
31692
31692
  normalize: !1,
@@ -31697,7 +31697,7 @@ function kA(e, t, n, i, o, s, a) {
31697
31697
  boundingSphere: mt
31698
31698
  });
31699
31699
  }
31700
- function Bi(e) {
31700
+ function Ni(e) {
31701
31701
  return new zt({
31702
31702
  componentDatatype: oe.FLOAT,
31703
31703
  componentsPerAttribute: 4,
@@ -31705,7 +31705,7 @@ function Bi(e) {
31705
31705
  values: e
31706
31706
  });
31707
31707
  }
31708
- ki._projectNormal = gr;
31708
+ Vi._projectNormal = gr;
31709
31709
  const VA = `in vec4 v_startPlaneNormalEcAndHalfWidth;
31710
31710
  in vec4 v_endPlaneNormalEcAndBatchId;
31711
31711
  in vec4 v_rightPlaneEC; // Technically can compute distance for this here
@@ -32392,9 +32392,9 @@ ${WA}`;
32392
32392
  const jA = qp;
32393
32393
  yt.isInternetExplorer() || (dl = `#define CLIP_POLYLINE
32394
32394
  ${dl}`);
32395
- function Hi(e) {
32395
+ function Wi(e) {
32396
32396
  e = _(e, _.EMPTY_OBJECT);
32397
- const t = _(e.translucent, !0), n = !1, i = Hi.VERTEX_FORMAT;
32397
+ const t = _(e.translucent, !0), n = !1, i = Wi.VERTEX_FORMAT;
32398
32398
  this.material = void 0, this.translucent = t, this._vertexShaderSource = _(
32399
32399
  e.vertexShaderSource,
32400
32400
  dl
@@ -32407,7 +32407,7 @@ function Hi(e) {
32407
32407
  e.renderState
32408
32408
  ), this._closed = n, this._vertexFormat = i;
32409
32409
  }
32410
- Object.defineProperties(Hi.prototype, {
32410
+ Object.defineProperties(Wi.prototype, {
32411
32411
  /**
32412
32412
  * The GLSL source code for the vertex shader.
32413
32413
  *
@@ -32486,10 +32486,10 @@ Object.defineProperties(Hi.prototype, {
32486
32486
  }
32487
32487
  }
32488
32488
  });
32489
- Hi.VERTEX_FORMAT = st.POSITION_ONLY;
32490
- Hi.prototype.getFragmentShaderSource = Mt.prototype.getFragmentShaderSource;
32491
- Hi.prototype.isTranslucent = Mt.prototype.isTranslucent;
32492
- Hi.prototype.getRenderState = Mt.prototype.getRenderState;
32489
+ Wi.VERTEX_FORMAT = st.POSITION_ONLY;
32490
+ Wi.prototype.getFragmentShaderSource = Mt.prototype.getFragmentShaderSource;
32491
+ Wi.prototype.isTranslucent = Mt.prototype.isTranslucent;
32492
+ Wi.prototype.getRenderState = Mt.prototype.getRenderState;
32493
32493
  const YA = `in vec3 position3DHigh;
32494
32494
  in vec3 position3DLow;
32495
32495
  in vec3 prevPosition3DHigh;
@@ -32554,9 +32554,9 @@ ${YA}`;
32554
32554
  const $A = XA;
32555
32555
  yt.isInternetExplorer() || (pl = `#define CLIP_POLYLINE
32556
32556
  ${pl}`);
32557
- function ho(e) {
32557
+ function fo(e) {
32558
32558
  e = _(e, _.EMPTY_OBJECT);
32559
- const t = _(e.translucent, !0), n = !1, i = ho.VERTEX_FORMAT;
32559
+ const t = _(e.translucent, !0), n = !1, i = fo.VERTEX_FORMAT;
32560
32560
  this.material = h(e.material) ? e.material : Q.fromType(Q.ColorType), this.translucent = t, this._vertexShaderSource = _(
32561
32561
  e.vertexShaderSource,
32562
32562
  pl
@@ -32569,7 +32569,7 @@ function ho(e) {
32569
32569
  e.renderState
32570
32570
  ), this._closed = n, this._vertexFormat = i;
32571
32571
  }
32572
- Object.defineProperties(ho.prototype, {
32572
+ Object.defineProperties(fo.prototype, {
32573
32573
  /**
32574
32574
  * The GLSL source code for the vertex shader.
32575
32575
  *
@@ -32651,16 +32651,16 @@ ${e}`), e;
32651
32651
  }
32652
32652
  }
32653
32653
  });
32654
- ho.VERTEX_FORMAT = st.POSITION_AND_ST;
32655
- ho.prototype.getFragmentShaderSource = Mt.prototype.getFragmentShaderSource;
32656
- ho.prototype.isTranslucent = Mt.prototype.isTranslucent;
32657
- ho.prototype.getRenderState = Mt.prototype.getRenderState;
32658
- function bi(e) {
32654
+ fo.VERTEX_FORMAT = st.POSITION_AND_ST;
32655
+ fo.prototype.getFragmentShaderSource = Mt.prototype.getFragmentShaderSource;
32656
+ fo.prototype.isTranslucent = Mt.prototype.isTranslucent;
32657
+ fo.prototype.getRenderState = Mt.prototype.getRenderState;
32658
+ function wi(e) {
32659
32659
  e = _(e, _.EMPTY_OBJECT), this.geometryInstances = e.geometryInstances, this._hasPerInstanceColors = !0;
32660
32660
  let t = e.appearance;
32661
- h(t) || (t = new ho()), this.appearance = t, this.show = _(e.show, !0), this.classificationType = _(
32661
+ h(t) || (t = new fo()), this.appearance = t, this.show = _(e.show, !0), this.classificationType = _(
32662
32662
  e.classificationType,
32663
- Ci.BOTH
32663
+ Ei.BOTH
32664
32664
  ), this.debugShowBoundingVolume = _(
32665
32665
  e.debugShowBoundingVolume,
32666
32666
  !1
@@ -32691,11 +32691,11 @@ function bi(e) {
32691
32691
  depthTest: {
32692
32692
  enabled: !0
32693
32693
  },
32694
- blending: lo.PRE_MULTIPLIED_ALPHA_BLEND,
32694
+ blending: ho.PRE_MULTIPLIED_ALPHA_BLEND,
32695
32695
  depthMask: !1
32696
32696
  });
32697
32697
  }
32698
- Object.defineProperties(bi.prototype, {
32698
+ Object.defineProperties(wi.prototype, {
32699
32699
  /**
32700
32700
  * Determines if geometry vertex attributes are interleaved, which can slightly improve rendering performance.
32701
32701
  *
@@ -32790,7 +32790,7 @@ Object.defineProperties(bi.prototype, {
32790
32790
  }
32791
32791
  }
32792
32792
  });
32793
- bi.initializeTerrainHeights = function() {
32793
+ wi.initializeTerrainHeights = function() {
32794
32794
  return Ue.initialize();
32795
32795
  };
32796
32796
  function ZA(e, t, n) {
@@ -32900,7 +32900,7 @@ function Ru(e) {
32900
32900
  enabled: !0
32901
32901
  // prevent double-draw. Geometry is "inverted" (reversed winding order) so we're drawing backfaces.
32902
32902
  },
32903
- blending: lo.PRE_MULTIPLIED_ALPHA_BLEND,
32903
+ blending: ho.PRE_MULTIPLIED_ALPHA_BLEND,
32904
32904
  depthMask: !1,
32905
32905
  stencilTest: {
32906
32906
  enabled: e,
@@ -32916,15 +32916,15 @@ function Ru(e) {
32916
32916
  zFail: je.KEEP,
32917
32917
  zPass: je.KEEP
32918
32918
  },
32919
- reference: gi.CESIUM_3D_TILE_MASK,
32920
- mask: gi.CESIUM_3D_TILE_MASK
32919
+ reference: yi.CESIUM_3D_TILE_MASK,
32920
+ mask: yi.CESIUM_3D_TILE_MASK
32921
32921
  }
32922
32922
  });
32923
32923
  }
32924
32924
  function KA(e, t, n, i, o, s) {
32925
32925
  const a = e._primitive, c = a._va.length;
32926
32926
  o.length = c, s.length = c;
32927
- const u = t instanceof Hi ? {} : n._uniforms, d = a._batchTable.getUniformMapCallback()(u);
32927
+ const u = t instanceof Wi ? {} : n._uniforms, d = a._batchTable.getUniformMapCallback()(u);
32928
32928
  for (let p = 0; p < c; p++) {
32929
32929
  const g = a._va[p];
32930
32930
  let y = o[p];
@@ -32962,7 +32962,7 @@ function QA(e, t, n, i, o, s, a) {
32962
32962
  Oe._updateBoundingVolumes(c, t, o);
32963
32963
  let l;
32964
32964
  t.mode === me.SCENE3D ? l = c._boundingSphereWC : t.mode === me.COLUMBUS_VIEW ? l = c._boundingSphereCV : t.mode === me.SCENE2D && h(c._boundingSphere2D) ? l = c._boundingSphere2D : h(c._boundingSphereMorph) && (l = c._boundingSphereMorph);
32965
- const u = t.mode === me.MORPHING, d = e.classificationType, p = d !== Ci.CESIUM_3D_TILE, g = d !== Ci.TERRAIN && !u;
32965
+ const u = t.mode === me.MORPHING, d = e.classificationType, p = d !== Ei.CESIUM_3D_TILE, g = d !== Ei.TERRAIN && !u;
32966
32966
  let y;
32967
32967
  const x = t.passes;
32968
32968
  if (x.render || x.pick && c.allowPicking) {
@@ -32989,7 +32989,7 @@ function QA(e, t, n, i, o, s, a) {
32989
32989
  }
32990
32990
  }
32991
32991
  }
32992
- bi.prototype.update = function(e) {
32992
+ wi.prototype.update = function(e) {
32993
32993
  if (!h(this._primitive) && !h(this.geometryInstances))
32994
32994
  return;
32995
32995
  if (!Ue.initialized) {
@@ -32997,7 +32997,7 @@ bi.prototype.update = function(e) {
32997
32997
  throw new C(
32998
32998
  "For synchronous GroundPolylinePrimitives, you must call GroundPolylinePrimitives.initializeTerrainHeights() and wait for the returned promise to resolve."
32999
32999
  );
33000
- bi.initializeTerrainHeights();
33000
+ wi.initializeTerrainHeights();
33001
33001
  return;
33002
33002
  }
33003
33003
  let t;
@@ -33020,7 +33020,7 @@ bi.prototype.update = function(e) {
33020
33020
  componentDatatype: oe.UNSIGNED_BYTE,
33021
33021
  componentsPerAttribute: 1,
33022
33022
  value: [l.geometry.width]
33023
- })), l.geometry._scene3DOnly = e.scene3DOnly, ki.setProjectionAndEllipsoid(
33023
+ })), l.geometry._scene3DOnly = e.scene3DOnly, Vi.setProjectionAndEllipsoid(
33024
33024
  l.geometry,
33025
33025
  e.mapProjection
33026
33026
  ), a[t] = new ga({
@@ -33053,7 +33053,7 @@ bi.prototype.update = function(e) {
33053
33053
  );
33054
33054
  }, this._primitive = new Oe(i);
33055
33055
  }
33056
- if (this.appearance instanceof Hi && !this._hasPerInstanceColors)
33056
+ if (this.appearance instanceof Wi && !this._hasPerInstanceColors)
33057
33057
  throw new C(
33058
33058
  "All GeometryInstances must have color attributes to use PolylineColorAppearance with GroundPolylinePrimitive."
33059
33059
  );
@@ -33061,20 +33061,20 @@ bi.prototype.update = function(e) {
33061
33061
  !this._ready && h(this._primitive) && this._primitive.ready && (this._ready = !0, this.releaseGeometryInstances && (this.geometryInstances = void 0));
33062
33062
  });
33063
33063
  };
33064
- bi.prototype.getGeometryInstanceAttributes = function(e) {
33064
+ wi.prototype.getGeometryInstanceAttributes = function(e) {
33065
33065
  if (!h(this._primitive))
33066
33066
  throw new C(
33067
33067
  "must call update before calling getGeometryInstanceAttributes"
33068
33068
  );
33069
33069
  return this._primitive.getGeometryInstanceAttributes(e);
33070
33070
  };
33071
- bi.isSupported = function(e) {
33071
+ wi.isSupported = function(e) {
33072
33072
  return e.frameState.context.depthTexture;
33073
33073
  };
33074
- bi.prototype.isDestroyed = function() {
33074
+ wi.prototype.isDestroyed = function() {
33075
33075
  return !1;
33076
33076
  };
33077
- bi.prototype.destroy = function() {
33077
+ wi.prototype.destroy = function() {
33078
33078
  return this._primitive = this._primitive && this._primitive.destroy(), this._sp = this._sp && this._sp.destroy(), this._sp2D = void 0, this._spMorph = void 0, tt(this);
33079
33079
  };
33080
33080
  const JA = new U(1, 1), eD = !1, tD = T.WHITE;
@@ -33347,10 +33347,10 @@ jo.convertToReferenceFrame = function(e, t, n, i, o) {
33347
33347
  o
33348
33348
  );
33349
33349
  };
33350
- function so(e, t) {
33350
+ function ao(e, t) {
33351
33351
  this._definitionChanged = new Be(), this._value = f.clone(e), this._referenceFrame = _(t, Pr.FIXED);
33352
33352
  }
33353
- Object.defineProperties(so.prototype, {
33353
+ Object.defineProperties(ao.prototype, {
33354
33354
  /**
33355
33355
  * Gets a value indicating if this property is constant. A property is considered
33356
33356
  * constant if getValue always returns the same result for the current definition.
@@ -33391,14 +33391,14 @@ Object.defineProperties(so.prototype, {
33391
33391
  }
33392
33392
  });
33393
33393
  const rD = new Z();
33394
- so.prototype.getValue = function(e, t) {
33394
+ ao.prototype.getValue = function(e, t) {
33395
33395
  return h(e) || (e = Z.now(rD)), this.getValueInReferenceFrame(e, Pr.FIXED, t);
33396
33396
  };
33397
- so.prototype.setValue = function(e, t) {
33397
+ ao.prototype.setValue = function(e, t) {
33398
33398
  let n = !1;
33399
33399
  f.equals(this._value, e) || (n = !0, this._value = f.clone(e)), h(t) && this._referenceFrame !== t && (n = !0, this._referenceFrame = t), n && this._definitionChanged.raiseEvent(this);
33400
33400
  };
33401
- so.prototype.getValueInReferenceFrame = function(e, t, n) {
33401
+ ao.prototype.getValueInReferenceFrame = function(e, t, n) {
33402
33402
  if (!h(e))
33403
33403
  throw new C("time is required.");
33404
33404
  if (!h(t))
@@ -33411,8 +33411,8 @@ so.prototype.getValueInReferenceFrame = function(e, t, n) {
33411
33411
  n
33412
33412
  );
33413
33413
  };
33414
- so.prototype.equals = function(e) {
33415
- return this === e || e instanceof so && f.equals(this._value, e._value) && this._referenceFrame === e._referenceFrame;
33414
+ ao.prototype.equals = function(e) {
33415
+ return this === e || e instanceof ao && f.equals(this._value, e._value) && this._referenceFrame === e._referenceFrame;
33416
33416
  };
33417
33417
  function Br(e) {
33418
33418
  this._definitionChanged = new Be(), this._show = void 0, this._showSubscription = void 0, this._positions = void 0, this._positionsSubscription = void 0, this._width = void 0, this._widthSubscription = void 0, this._height = void 0, this._heightSubscription = void 0, this._heightReference = void 0, this._heightReferenceSubscription = void 0, this._extrudedHeight = void 0, this._extrudedHeightSubscription = void 0, this._extrudedHeightReference = void 0, this._extrudedHeightReferenceSubscription = void 0, this._cornerType = void 0, this._cornerTypeSubscription = void 0, this._granularity = void 0, this._granularitySubscription = void 0, this._fill = void 0, this._fillSubscription = void 0, this._material = void 0, this._materialSubscription = void 0, this._outline = void 0, this._outlineSubscription = void 0, this._outlineColor = void 0, this._outlineColorSubscription = void 0, this._outlineWidth = void 0, this._outlineWidthSubscription = void 0, this._shadows = void 0, this._shadowsSubscription = void 0, this._distanceDisplayCondition = void 0, this._distanceDisplayConditionSubscription = void 0, this._classificationType = void 0, this._classificationTypeSubscription = void 0, this._zIndex = void 0, this._zIndexSubscription = void 0, this.merge(_(e, _.EMPTY_OBJECT));
@@ -35888,7 +35888,7 @@ $r.prototype.merge = function(e) {
35888
35888
  };
35889
35889
  const yD = new ee(), _l = [];
35890
35890
  function xD(e) {
35891
- return new so(e);
35891
+ return new ao(e);
35892
35892
  }
35893
35893
  function CD(e) {
35894
35894
  return N(
@@ -36262,14 +36262,14 @@ an.prototype.computeModelMatrixForHeightReference = function(e, t, n, i, o) {
36262
36262
  const s = Ae.getValueOrDefault(
36263
36263
  t,
36264
36264
  e,
36265
- _i.NONE
36265
+ gi.NONE
36266
36266
  );
36267
36267
  let a = Ae.getValueOrUndefined(
36268
36268
  this._position,
36269
36269
  e,
36270
36270
  Rm
36271
36271
  );
36272
- if (s === _i.NONE || !h(a) || f.equalsEpsilon(a, f.ZERO, S.EPSILON8))
36272
+ if (s === gi.NONE || !h(a) || f.equalsEpsilon(a, f.ZERO, S.EPSILON8))
36273
36273
  return this.computeModelMatrix(e, o);
36274
36274
  const c = i.cartesianToCartographic(a, yD);
36275
36275
  Oa(s) ? c.height = n : c.height += n, a = i.cartographicToCartesian(c, a);
@@ -36288,7 +36288,7 @@ an.supportsMaterialsforEntitiesOnTerrain = function(e) {
36288
36288
  return rn.supportsMaterials(e);
36289
36289
  };
36290
36290
  an.supportsPolylinesOnTerrain = function(e) {
36291
- return bi.isSupported(e);
36291
+ return wi.isSupported(e);
36292
36292
  };
36293
36293
  const Et = {}, ED = new Y(0, 0, 0, 1);
36294
36294
  let kt = new Y();
@@ -37175,7 +37175,7 @@ function fe(e, t) {
37175
37175
  _(e.eyeOffset, f.ZERO)
37176
37176
  ), this._heightReference = _(
37177
37177
  e.heightReference,
37178
- _i.NONE
37178
+ gi.NONE
37179
37179
  ), this._verticalOrigin = _(
37180
37180
  e.verticalOrigin,
37181
37181
  et.CENTER
@@ -37817,14 +37817,14 @@ const ra = new ee();
37817
37817
  fe._updateClamping = function(e, t) {
37818
37818
  const n = e._scene;
37819
37819
  if (!h(n)) {
37820
- if (t._heightReference !== _i.NONE)
37820
+ if (t._heightReference !== gi.NONE)
37821
37821
  throw new C(
37822
37822
  "Height reference is not supported without a scene."
37823
37823
  );
37824
37824
  return;
37825
37825
  }
37826
37826
  const i = _(n.ellipsoid, le.default), o = n.frameState.mode, s = o !== t._mode;
37827
- if (t._mode = o, (t._heightReference === _i.NONE || s) && h(t._removeCallbackFunc) && (t._removeCallbackFunc(), t._removeCallbackFunc = void 0, t._clampedPosition = void 0), t._heightReference === _i.NONE || !h(t._position))
37827
+ if (t._mode = o, (t._heightReference === gi.NONE || s) && h(t._removeCallbackFunc) && (t._removeCallbackFunc(), t._removeCallbackFunc = void 0, t._clampedPosition = void 0), t._heightReference === gi.NONE || !h(t._position))
37828
37828
  return;
37829
37829
  h(t._removeCallbackFunc) && t._removeCallbackFunc();
37830
37830
  const a = i.cartesianToCartographic(t._position);
@@ -38020,7 +38020,7 @@ const GD = {
38020
38020
  */
38021
38021
  CUTOFF: 0.25
38022
38022
  }, hn = Object.freeze(qD);
38023
- function ui(e, t, n, i, o) {
38023
+ function di(e, t, n, i, o) {
38024
38024
  this.bottomLeft = _(e, U.ZERO), this.topRight = _(t, U.ZERO), this.childNode1 = n, this.childNode2 = i, this.imageIndex = o;
38025
38025
  }
38026
38026
  const HD = new U(16, 16);
@@ -38105,18 +38105,18 @@ Object.defineProperties(ei.prototype, {
38105
38105
  function WD(e, t) {
38106
38106
  const n = e._context, i = e.numberOfImages, o = 2, s = e._borderWidthInPixels;
38107
38107
  if (i > 0) {
38108
- const a = e._texture.width, c = e._texture.height, l = o * (a + t.width + s), u = o * (c + t.height + s), d = a / l, p = c / u, g = new ui(
38108
+ const a = e._texture.width, c = e._texture.height, l = o * (a + t.width + s), u = o * (c + t.height + s), d = a / l, p = c / u, g = new di(
38109
38109
  new U(a + s, s),
38110
38110
  new U(l, c)
38111
- ), y = new ui(
38111
+ ), y = new di(
38112
38112
  new U(),
38113
38113
  new U(l, c),
38114
38114
  e._root,
38115
38115
  g
38116
- ), x = new ui(
38116
+ ), x = new di(
38117
38117
  new U(s, c + s),
38118
38118
  new U(l, u)
38119
- ), E = new ui(
38119
+ ), E = new di(
38120
38120
  new U(),
38121
38121
  new U(l, u),
38122
38122
  y,
@@ -38144,7 +38144,7 @@ function WD(e, t) {
38144
38144
  width: a,
38145
38145
  height: c,
38146
38146
  pixelFormat: e._pixelFormat
38147
- }), e._root = new ui(
38147
+ }), e._root = new di(
38148
38148
  new U(s, s),
38149
38149
  new U(a, c)
38150
38150
  );
@@ -38161,22 +38161,22 @@ function sa(e, t, n) {
38161
38161
  if (s === 0 && a === 0)
38162
38162
  return t;
38163
38163
  if (s > a) {
38164
- t.childNode1 = new ui(
38164
+ t.childNode1 = new di(
38165
38165
  new U(t.bottomLeft.x, t.bottomLeft.y),
38166
38166
  new U(t.bottomLeft.x + n.width, t.topRight.y)
38167
38167
  );
38168
38168
  const c = t.bottomLeft.x + n.width + e._borderWidthInPixels;
38169
- c < t.topRight.x && (t.childNode2 = new ui(
38169
+ c < t.topRight.x && (t.childNode2 = new di(
38170
38170
  new U(c, t.bottomLeft.y),
38171
38171
  new U(t.topRight.x, t.topRight.y)
38172
38172
  ));
38173
38173
  } else {
38174
- t.childNode1 = new ui(
38174
+ t.childNode1 = new di(
38175
38175
  new U(t.bottomLeft.x, t.bottomLeft.y),
38176
38176
  new U(t.topRight.x, t.bottomLeft.y + n.height)
38177
38177
  );
38178
38178
  const c = t.bottomLeft.y + n.height + e._borderWidthInPixels;
38179
- c < t.topRight.y && (t.childNode2 = new ui(
38179
+ c < t.topRight.y && (t.childNode2 = new di(
38180
38180
  new U(t.bottomLeft.x, c),
38181
38181
  new U(t.topRight.x, t.topRight.y)
38182
38182
  ));
@@ -38734,7 +38734,7 @@ function xl(e, t, n, i, o) {
38734
38734
  let s;
38735
38735
  const a = i[ke.eyeOffset], c = o.eyeOffset;
38736
38736
  let l = c.z;
38737
- if (o._heightReference !== _i.NONE && (l *= 1.005), e._maxEyeOffset = Math.max(
38737
+ if (o._heightReference !== gi.NONE && (l *= 1.005), e._maxEyeOffset = Math.max(
38738
38738
  e._maxEyeOffset,
38739
38739
  Math.abs(c.x),
38740
38740
  Math.abs(c.y),
@@ -39095,7 +39095,7 @@ Kt.prototype.update = function(e) {
39095
39095
  func: P ? R.LEQUAL : R.LESS
39096
39096
  },
39097
39097
  depthMask: P,
39098
- blending: lo.ALPHA_BLEND
39098
+ blending: ho.ALPHA_BLEND
39099
39099
  }) : this._rsTranslucent = void 0;
39100
39100
  }
39101
39101
  this._shaderDisableDepthDistance = this._shaderDisableDepthDistance || e.minimumDisableDepthTestDistance !== 0;
@@ -39221,7 +39221,7 @@ function _O(e, t, n, i, o) {
39221
39221
  minx: 0
39222
39222
  };
39223
39223
  }
39224
- let Qi;
39224
+ let Ji;
39225
39225
  function gO(e, t) {
39226
39226
  if (!h(e))
39227
39227
  throw new C("text is required.");
@@ -39234,11 +39234,11 @@ function gO(e, t) {
39234
39234
  ), c = _(t.padding, 0), l = c * 2, u = document.createElement("canvas");
39235
39235
  u.width = 1, u.height = 1, u.style.font = n;
39236
39236
  const d = u.getContext("2d", { willReadFrequently: !0 });
39237
- h(Qi) || (h(d.imageSmoothingEnabled) ? Qi = "imageSmoothingEnabled" : h(d.mozImageSmoothingEnabled) ? Qi = "mozImageSmoothingEnabled" : h(d.webkitImageSmoothingEnabled) ? Qi = "webkitImageSmoothingEnabled" : h(d.msImageSmoothingEnabled) && (Qi = "msImageSmoothingEnabled")), d.font = n, d.lineJoin = "round", d.lineWidth = s, d[Qi] = !1, u.style.visibility = "hidden", document.body.appendChild(u);
39237
+ h(Ji) || (h(d.imageSmoothingEnabled) ? Ji = "imageSmoothingEnabled" : h(d.mozImageSmoothingEnabled) ? Ji = "mozImageSmoothingEnabled" : h(d.webkitImageSmoothingEnabled) ? Ji = "webkitImageSmoothingEnabled" : h(d.msImageSmoothingEnabled) && (Ji = "msImageSmoothingEnabled")), d.font = n, d.lineJoin = "round", d.lineWidth = s, d[Ji] = !1, u.style.visibility = "hidden", document.body.appendChild(u);
39238
39238
  const p = _O(d, e, n, i, o);
39239
39239
  u.dimensions = p, document.body.removeChild(u), u.style.visibility = "";
39240
39240
  const g = -p.minx, y = Math.ceil(p.width) + g + l, x = p.height + l, E = x - p.ascent + c, b = x - E + l;
39241
- if (u.width = y, u.height = x, d.font = n, d.lineJoin = "round", d.lineWidth = s, d[Qi] = !1, a !== T.TRANSPARENT && (d.fillStyle = a.toCssColorString(), d.fillRect(0, 0, u.width, u.height)), i) {
39241
+ if (u.width = y, u.height = x, d.font = n, d.lineJoin = "round", d.lineWidth = s, d[Ji] = !1, a !== T.TRANSPARENT && (d.fillStyle = a.toCssColorString(), d.fillRect(0, 0, u.width, u.height)), i) {
39242
39242
  const D = _(t.strokeColor, T.BLACK);
39243
39243
  d.strokeStyle = D.toCssColorString(), d.strokeText(e, g + c, b);
39244
39244
  }
@@ -39320,7 +39320,7 @@ const CO = /* @__PURE__ */ ba(yO), EO = {
39320
39320
  * @constant
39321
39321
  */
39322
39322
  FILL_AND_OUTLINE: 2
39323
- }, pi = Object.freeze(EO), ju = {};
39323
+ }, mi = Object.freeze(EO), ju = {};
39324
39324
  let Yu = 0;
39325
39325
  const bO = 256, wO = new T(0.165, 0.165, 0.165, 0.8), TO = new U(7, 5), gt = Object.freeze({
39326
39326
  LTR: 0,
@@ -39328,7 +39328,7 @@ const bO = 256, wO = new T(0.165, 0.165, 0.165, 0.8), TO = new U(7, 5), gt = Obj
39328
39328
  WEAK: 2,
39329
39329
  BRACKETS: 3
39330
39330
  });
39331
- function Ji(e) {
39331
+ function eo(e) {
39332
39332
  !e._rebindAllGlyphs && !e._repositionAllGlyphs && e._labelCollection._labelsToUpdate.push(e), e._rebindAllGlyphs = !0;
39333
39333
  }
39334
39334
  function lr(e) {
@@ -39397,7 +39397,7 @@ function Bn(e, t) {
39397
39397
  _(e.backgroundColor, wO)
39398
39398
  ), this._backgroundPadding = U.clone(
39399
39399
  _(e.backgroundPadding, TO)
39400
- ), this._style = _(e.style, pi.FILL), this._verticalOrigin = _(
39400
+ ), this._style = _(e.style, mi.FILL), this._verticalOrigin = _(
39401
39401
  e.verticalOrigin,
39402
39402
  et.BASELINE
39403
39403
  ), this._horizontalOrigin = _(
@@ -39411,7 +39411,7 @@ function Bn(e, t) {
39411
39411
  _(e.position, f.ZERO)
39412
39412
  ), this._scale = _(e.scale, 1), this._id = e.id, this._translucencyByDistance = n, this._pixelOffsetScaleByDistance = i, this._scaleByDistance = o, this._heightReference = _(
39413
39413
  e.heightReference,
39414
- _i.NONE
39414
+ gi.NONE
39415
39415
  ), this._distanceDisplayCondition = s, this._disableDepthTestDistance = e.disableDepthTestDistance, this._labelCollection = t, this._glyphs = [], this._backgroundBillboard = void 0, this._batchIndex = void 0, this._rebindAllGlyphs = !0, this._repositionAllGlyphs = !0, this._actualClampedPosition = void 0, this._removeCallbackFunc = void 0, this._mode = void 0, this._clusterShow = !0, this.text = _(e.text, ""), this._relativeSize = 1, a0(this), this._updateClamping();
39416
39416
  }
39417
39417
  Object.defineProperties(Bn.prototype, {
@@ -39506,7 +39506,7 @@ Object.defineProperties(Bn.prototype, {
39506
39506
  if (this._text !== e) {
39507
39507
  this._text = e;
39508
39508
  const t = e.replace(/\u00ad/g, "");
39509
- this._renderedText = Bn.enableRightToLeftDetection ? IO(t) : t, Ji(this);
39509
+ this._renderedText = Bn.enableRightToLeftDetection ? IO(t) : t, eo(this);
39510
39510
  }
39511
39511
  }
39512
39512
  },
@@ -39524,7 +39524,7 @@ Object.defineProperties(Bn.prototype, {
39524
39524
  set: function(e) {
39525
39525
  if (!h(e))
39526
39526
  throw new C("value is required.");
39527
- this._font !== e && (this._font = e, Ji(this), a0(this));
39527
+ this._font !== e && (this._font = e, eo(this), a0(this));
39528
39528
  }
39529
39529
  },
39530
39530
  /**
@@ -39542,7 +39542,7 @@ Object.defineProperties(Bn.prototype, {
39542
39542
  if (!h(e))
39543
39543
  throw new C("value is required.");
39544
39544
  const t = this._fillColor;
39545
- T.equals(t, e) || (T.clone(e, t), Ji(this));
39545
+ T.equals(t, e) || (T.clone(e, t), eo(this));
39546
39546
  }
39547
39547
  },
39548
39548
  /**
@@ -39560,7 +39560,7 @@ Object.defineProperties(Bn.prototype, {
39560
39560
  if (!h(e))
39561
39561
  throw new C("value is required.");
39562
39562
  const t = this._outlineColor;
39563
- T.equals(t, e) || (T.clone(e, t), Ji(this));
39563
+ T.equals(t, e) || (T.clone(e, t), eo(this));
39564
39564
  }
39565
39565
  },
39566
39566
  /**
@@ -39577,7 +39577,7 @@ Object.defineProperties(Bn.prototype, {
39577
39577
  set: function(e) {
39578
39578
  if (!h(e))
39579
39579
  throw new C("value is required.");
39580
- this._outlineWidth !== e && (this._outlineWidth = e, Ji(this));
39580
+ this._outlineWidth !== e && (this._outlineWidth = e, eo(this));
39581
39581
  }
39582
39582
  },
39583
39583
  /**
@@ -39593,7 +39593,7 @@ Object.defineProperties(Bn.prototype, {
39593
39593
  set: function(e) {
39594
39594
  if (!h(e))
39595
39595
  throw new C("value is required.");
39596
- this._showBackground !== e && (this._showBackground = e, Ji(this));
39596
+ this._showBackground !== e && (this._showBackground = e, eo(this));
39597
39597
  }
39598
39598
  },
39599
39599
  /**
@@ -39648,7 +39648,7 @@ Object.defineProperties(Bn.prototype, {
39648
39648
  set: function(e) {
39649
39649
  if (!h(e))
39650
39650
  throw new C("value is required.");
39651
- this._style !== e && (this._style = e, Ji(this));
39651
+ this._style !== e && (this._style = e, eo(this));
39652
39652
  }
39653
39653
  },
39654
39654
  /**
@@ -41689,7 +41689,7 @@ function LO(e) {
41689
41689
  }
41690
41690
  const Cn = {};
41691
41691
  function MO(e, t, n, i, o, s, a) {
41692
- return Cn.font = t, Cn.fillColor = n, Cn.strokeColor = i, Cn.strokeWidth = o, Cn.padding = hn.PADDING, a === et.CENTER ? Cn.textBaseline = "middle" : a === et.TOP ? Cn.textBaseline = "top" : Cn.textBaseline = "bottom", Cn.fill = s === pi.FILL || s === pi.FILL_AND_OUTLINE, Cn.stroke = s === pi.OUTLINE || s === pi.FILL_AND_OUTLINE, Cn.backgroundColor = T.BLACK, gO(e, Cn);
41692
+ return Cn.font = t, Cn.fillColor = n, Cn.strokeColor = i, Cn.strokeWidth = o, Cn.padding = hn.PADDING, a === et.CENTER ? Cn.textBaseline = "middle" : a === et.TOP ? Cn.textBaseline = "top" : Cn.textBaseline = "bottom", Cn.fill = s === mi.FILL || s === mi.FILL_AND_OUTLINE, Cn.stroke = s === mi.OUTLINE || s === mi.FILL_AND_OUTLINE, Cn.backgroundColor = T.BLACK, gO(e, Cn);
41693
41693
  }
41694
41694
  function El(e, t) {
41695
41695
  t.textureInfo = void 0, t.dimensions = void 0;
@@ -41733,7 +41733,7 @@ function VO(e, t) {
41733
41733
  T.WHITE,
41734
41734
  T.WHITE,
41735
41735
  0,
41736
- pi.FILL,
41736
+ mi.FILL,
41737
41737
  E
41738
41738
  );
41739
41739
  if (D = new BO(
@@ -41763,7 +41763,7 @@ function VO(e, t) {
41763
41763
  const O = e._spareBillboards;
41764
41764
  h(A) || (O.length > 0 ? A = O.pop() : (A = e._billboardCollection.add({
41765
41765
  collection: e
41766
- }), A._labelDimensions = new U(), A._labelTranslate = new U()), c.billboard = A), A.show = t._show, A.position = t._position, A.eyeOffset = t._eyeOffset, A.pixelOffset = t._pixelOffset, A.horizontalOrigin = zn.LEFT, A.verticalOrigin = t._verticalOrigin, A.heightReference = t._heightReference, A.scale = t.totalScale, A.pickPrimitive = t, A.id = t._id, A.image = b, A.translucencyByDistance = t._translucencyByDistance, A.pixelOffsetScaleByDistance = t._pixelOffsetScaleByDistance, A.scaleByDistance = t._scaleByDistance, A.distanceDisplayCondition = t._distanceDisplayCondition, A.disableDepthTestDistance = t._disableDepthTestDistance, A._batchIndex = t._batchIndex, A.outlineColor = t.outlineColor, t.style === pi.FILL_AND_OUTLINE ? (A.color = t._fillColor, A.outlineWidth = t.outlineWidth) : t.style === pi.FILL ? (A.color = t._fillColor, A.outlineWidth = 0) : t.style === pi.OUTLINE && (A.color = T.TRANSPARENT, A.outlineWidth = t.outlineWidth);
41766
+ }), A._labelDimensions = new U(), A._labelTranslate = new U()), c.billboard = A), A.show = t._show, A.position = t._position, A.eyeOffset = t._eyeOffset, A.pixelOffset = t._pixelOffset, A.horizontalOrigin = zn.LEFT, A.verticalOrigin = t._verticalOrigin, A.heightReference = t._heightReference, A.scale = t.totalScale, A.pickPrimitive = t, A.id = t._id, A.image = b, A.translucencyByDistance = t._translucencyByDistance, A.pixelOffsetScaleByDistance = t._pixelOffsetScaleByDistance, A.scaleByDistance = t._scaleByDistance, A.distanceDisplayCondition = t._distanceDisplayCondition, A.disableDepthTestDistance = t._disableDepthTestDistance, A._batchIndex = t._batchIndex, A.outlineColor = t.outlineColor, t.style === mi.FILL_AND_OUTLINE ? (A.color = t._fillColor, A.outlineWidth = t.outlineWidth) : t.style === mi.FILL ? (A.color = t._fillColor, A.outlineWidth = 0) : t.style === mi.OUTLINE && (A.color = T.TRANSPARENT, A.outlineWidth = t.outlineWidth);
41767
41767
  }
41768
41768
  }
41769
41769
  t._repositionAllGlyphs = !0;
@@ -42037,16 +42037,16 @@ Object.defineProperties(Xt.prototype, {
42037
42037
  }
42038
42038
  });
42039
42039
  Xt.prototype.computeAvailability = function() {
42040
- let e = Pi.MAXIMUM_VALUE, t = Pi.MINIMUM_VALUE;
42040
+ let e = Bi.MAXIMUM_VALUE, t = Bi.MINIMUM_VALUE;
42041
42041
  const n = this._entities.values;
42042
42042
  for (let i = 0, o = n.length; i < o; i++) {
42043
42043
  const a = n[i].availability;
42044
42044
  if (h(a)) {
42045
42045
  const c = a.start, l = a.stop;
42046
- Z.lessThan(c, e) && !c.equals(Pi.MINIMUM_VALUE) && (e = c), Z.greaterThan(l, t) && !l.equals(Pi.MAXIMUM_VALUE) && (t = l);
42046
+ Z.lessThan(c, e) && !c.equals(Bi.MINIMUM_VALUE) && (e = c), Z.greaterThan(l, t) && !l.equals(Bi.MAXIMUM_VALUE) && (t = l);
42047
42047
  }
42048
42048
  }
42049
- return Pi.MAXIMUM_VALUE.equals(e) && (e = Pi.MINIMUM_VALUE), Pi.MINIMUM_VALUE.equals(t) && (t = Pi.MAXIMUM_VALUE), new Ke({
42049
+ return Bi.MAXIMUM_VALUE.equals(e) && (e = Bi.MINIMUM_VALUE), Bi.MINIMUM_VALUE.equals(t) && (t = Bi.MAXIMUM_VALUE), new Ke({
42050
42050
  start: e,
42051
42051
  stop: t
42052
42052
  });
@@ -43388,7 +43388,7 @@ pn.prototype.update = function(e) {
43388
43388
  func: R.LEQUAL
43389
43389
  },
43390
43390
  depthMask: !1,
43391
- blending: lo.ALPHA_BLEND
43391
+ blending: ho.ALPHA_BLEND
43392
43392
  }) : this._rsTranslucent = void 0), this._shaderDisableDepthDistance = this._shaderDisableDepthDistance || e.minimumDisableDepthTestDistance !== 0;
43393
43393
  let x, E;
43394
43394
  (y || this._shaderScaleByDistance && !this._compiledShaderScaleByDistance || this._shaderTranslucencyByDistance && !this._compiledShaderTranslucencyByDistance || this._shaderDistanceDisplayCondition && !this._compiledShaderDistanceDisplayCondition || this._shaderDisableDepthDistance !== this._compiledShaderDisableDepthDistance) && (x = new xe({
@@ -44074,7 +44074,7 @@ Object.defineProperties(fh.prototype, {
44074
44074
  fh.prototype.update = function(e) {
44075
44075
  return !0;
44076
44076
  };
44077
- function Ni(e, t, n = 10, i = "#ba1919") {
44077
+ function Fi(e, t, n = 10, i = "#ba1919") {
44078
44078
  return {
44079
44079
  name: t,
44080
44080
  label: {
@@ -44126,7 +44126,7 @@ function rd(e, t, n, i, o = new dt(
44126
44126
  show: !0,
44127
44127
  uri: i,
44128
44128
  scale: s,
44129
- heightReference: _i.NONE
44129
+ heightReference: gi.NONE
44130
44130
  }
44131
44131
  };
44132
44132
  }
@@ -44148,7 +44148,7 @@ function sd(e, t, n, i, o) {
44148
44148
  new f()
44149
44149
  );
44150
44150
  }
44151
- function Fi(e, t = 4) {
44151
+ function Li(e, t = 4) {
44152
44152
  const n = [];
44153
44153
  for (var i = 0; i < e.length - 1; i++)
44154
44154
  n.push(
@@ -44274,7 +44274,7 @@ class Rv {
44274
44274
  he(this, "Z", 0);
44275
44275
  }
44276
44276
  }
44277
- var Do = /* @__PURE__ */ ((e) => (e[e.A相 = 0] = "A相", e[e.B相 = 1] = "B相", e[e.C相 = 2] = "C相", e[e.地线1 = 3] = "地线1", e[e.地线2 = 4] = "地线2", e))(Do || {}), Tv = /* @__PURE__ */ ((e) => (e[e.直线塔 = 0] = "直线塔", e[e.耐张塔 = 1] = "耐张塔", e[e.门架塔 = 2] = "门架塔", e[e.换位塔 = 3] = "换位塔", e))(Tv || {}), Sv = /* @__PURE__ */ ((e) => (e[e.交流单回路 = 0] = "交流单回路", e[e.交流双回路 = 1] = "交流双回路", e[e.直流单回路 = 2] = "直流单回路", e[e.直流双回路 = 3] = "直流双回路", e[e.交流四回路 = 4] = "交流四回路", e))(Sv || {}), aa = /* @__PURE__ */ ((e) => (e[e.地线 = 0] = "地线", e[e.回路一 = 1] = "回路一", e[e.回路二 = 2] = "回路二", e[e.回路三 = 3] = "回路三", e[e.回路四 = 4] = "回路四", e))(aa || {}), Av = /* @__PURE__ */ ((e) => (e[e.悬垂串 = 0] = "悬垂串", e[e.耐张串 = 1] = "耐张串", e[e.跳线串 = 2] = "跳线串", e[e.硬跳串 = 3] = "硬跳串", e[e.V串 = 4] = "V串", e[e.地线串 = 5] = "地线串", e[e.绕跳临时 = 6] = "绕跳临时", e))(Av || {});
44277
+ var ui = /* @__PURE__ */ ((e) => (e[e.A相 = 0] = "A相", e[e.B相 = 1] = "B相", e[e.C相 = 2] = "C相", e[e.地线1 = 3] = "地线1", e[e.地线2 = 4] = "地线2", e))(ui || {}), Tv = /* @__PURE__ */ ((e) => (e[e.直线塔 = 0] = "直线塔", e[e.耐张塔 = 1] = "耐张塔", e[e.门架塔 = 2] = "门架塔", e[e.换位塔 = 3] = "换位塔", e))(Tv || {}), Sv = /* @__PURE__ */ ((e) => (e[e.交流单回路 = 0] = "交流单回路", e[e.交流双回路 = 1] = "交流双回路", e[e.直流单回路 = 2] = "直流单回路", e[e.直流双回路 = 3] = "直流双回路", e[e.交流四回路 = 4] = "交流四回路", e))(Sv || {}), aa = /* @__PURE__ */ ((e) => (e[e.地线 = 0] = "地线", e[e.回路一 = 1] = "回路一", e[e.回路二 = 2] = "回路二", e[e.回路三 = 3] = "回路三", e[e.回路四 = 4] = "回路四", e))(aa || {}), Av = /* @__PURE__ */ ((e) => (e[e.悬垂串 = 0] = "悬垂串", e[e.耐张串 = 1] = "耐张串", e[e.跳线串 = 2] = "跳线串", e[e.硬跳串 = 3] = "硬跳串", e[e.V串 = 4] = "V串", e[e.地线串 = 5] = "地线串", e[e.绕跳临时 = 6] = "绕跳临时", e))(Av || {});
44278
44278
  class zv {
44279
44279
  // 类的构造函数,用于初始化属性
44280
44280
  constructor(t, n, i) {
@@ -44335,29 +44335,43 @@ class zv {
44335
44335
  const u = sd(t, new f(a.InsulatorPoint[0].X, a.InsulatorPoint[0].Y, a.InsulatorPoint[0].Z), o);
44336
44336
  switch (a.linenum) {
44337
44337
  case aa.回路一:
44338
- switch (s) {
44339
- case 2:
44340
- this.offsetWires11.push(u);
44341
- break;
44342
- case 3:
44343
- this.offsetWires12.push(u);
44344
- break;
44345
- case 4:
44346
- this.offsetWires13.push(u);
44347
- break;
44348
- }
44338
+ if (this.LineInfo.ISPhaseSequence)
44339
+ switch (a.PhaseSequence) {
44340
+ case ui.A相:
44341
+ debugger;
44342
+ this.offsetWires11.push(u);
44343
+ break;
44344
+ case ui.B相:
44345
+ this.offsetWires12.push(u);
44346
+ break;
44347
+ case ui.C相:
44348
+ this.offsetWires13.push(u);
44349
+ break;
44350
+ }
44351
+ else
44352
+ switch (s) {
44353
+ case 2:
44354
+ this.offsetWires11.push(u);
44355
+ break;
44356
+ case 3:
44357
+ this.offsetWires12.push(u);
44358
+ break;
44359
+ case 4:
44360
+ this.offsetWires13.push(u);
44361
+ break;
44362
+ }
44349
44363
  break;
44350
44364
  case aa.回路二:
44351
44365
  if (this.LineInfo.ISPhaseSequence)
44352
44366
  switch (a.PhaseSequence) {
44353
- case Do.A相:
44367
+ case ui.A相:
44354
44368
  debugger;
44355
44369
  this.offsetWires21.push(u);
44356
44370
  break;
44357
- case Do.B相:
44371
+ case ui.B相:
44358
44372
  this.offsetWires22.push(u);
44359
44373
  break;
44360
- case Do.C相:
44374
+ case ui.C相:
44361
44375
  this.offsetWires23.push(u);
44362
44376
  break;
44363
44377
  }
@@ -44377,10 +44391,10 @@ class zv {
44377
44391
  case aa.地线:
44378
44392
  if (this.LineInfo.ISPhaseSequence)
44379
44393
  switch (a.PhaseSequence) {
44380
- case Do.地线1:
44394
+ case ui.地线1:
44381
44395
  this.offsetGrouundWires11.push(u);
44382
44396
  break;
44383
- case Do.地线2:
44397
+ case ui.地线2:
44384
44398
  this.offsetGrouundWires12.push(u);
44385
44399
  break;
44386
44400
  }
@@ -44397,7 +44411,7 @@ class zv {
44397
44411
  }
44398
44412
  s = s + 1;
44399
44413
  });
44400
- }), this.offsetArcWires1A = Fi(this.offsetWires11), this.offsetArcWires1B = Fi(this.offsetWires12), this.offsetArcWires1C = Fi(this.offsetWires13), this.offsetArcWires2A = Fi(this.offsetWires21), this.offsetArcWires2B = Fi(this.offsetWires22), this.offsetArcWires2C = Fi(this.offsetWires23), this.offsetGrouundWires1 = Fi(this.offsetGrouundWires11, 2), this.offsetGrouundWires2 = Fi(this.offsetGrouundWires12, 2), this.entityCollection2.add(Ni(this.offsetArcWires1A, "导线A", this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.entityCollection2.add(Ni(this.offsetArcWires1B, "导线B", this.LineInfo.wireWidth, this.LineInfo.wireBColor)), this.entityCollection2.add(Ni(this.offsetArcWires1C, "导线C", this.LineInfo.wireWidth, this.LineInfo.wireCColor)), this.entityCollection2.add(Ni(this.offsetArcWires2A, "导线A2", this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.entityCollection2.add(Ni(this.offsetArcWires2B, "导线B2", this.LineInfo.wireWidth, this.LineInfo.wireBColor)), this.entityCollection2.add(Ni(this.offsetArcWires2C, "导线C2", this.LineInfo.wireWidth, this.LineInfo.wireCColor)), this.entityCollection2.add(Ni(this.offsetGrouundWires1, "地线1", this.LineInfo.wireWidth, this.LineInfo.wireD1Color)), this.entityCollection2.add(Ni(this.offsetGrouundWires2, "地线2", this.LineInfo.wireWidth, this.LineInfo.wireD2Color)));
44414
+ }), this.offsetArcWires1A = Li(this.offsetWires11), this.offsetArcWires1B = Li(this.offsetWires12), this.offsetArcWires1C = Li(this.offsetWires13), this.offsetArcWires2A = Li(this.offsetWires21), this.offsetArcWires2B = Li(this.offsetWires22), this.offsetArcWires2C = Li(this.offsetWires23), this.offsetGrouundWires1 = Li(this.offsetGrouundWires11, 2), this.offsetGrouundWires2 = Li(this.offsetGrouundWires12, 2), this.entityCollection2.add(Fi(this.offsetArcWires1A, "导线A", this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.entityCollection2.add(Fi(this.offsetArcWires1B, "导线B", this.LineInfo.wireWidth, this.LineInfo.wireBColor)), this.entityCollection2.add(Fi(this.offsetArcWires1C, "导线C", this.LineInfo.wireWidth, this.LineInfo.wireCColor)), this.entityCollection2.add(Fi(this.offsetArcWires2A, "导线A2", this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.entityCollection2.add(Fi(this.offsetArcWires2B, "导线B2", this.LineInfo.wireWidth, this.LineInfo.wireBColor)), this.entityCollection2.add(Fi(this.offsetArcWires2C, "导线C2", this.LineInfo.wireWidth, this.LineInfo.wireCColor)), this.entityCollection2.add(Fi(this.offsetGrouundWires1, "地线1", this.LineInfo.wireWidth, this.LineInfo.wireD1Color)), this.entityCollection2.add(Fi(this.offsetGrouundWires2, "地线2", this.LineInfo.wireWidth, this.LineInfo.wireD2Color)));
44401
44415
  }
44402
44416
  //加载渲染电力线路
44403
44417
  loadLineModel() {
@@ -44419,7 +44433,7 @@ export {
44419
44433
  aa as LineNum,
44420
44434
  Sv as LineType,
44421
44435
  zv as OWEEgineManager,
44422
- Do as PhaseSType,
44436
+ ui as PhaseSType,
44423
44437
  vv as TowerInfo,
44424
44438
  Ov as TowerLineInfo,
44425
44439
  Tv as TowerType,