earthsdk3-cesium 3.4.1 → 3.4.3

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.
@@ -2007,7 +2007,7 @@ function ws(t, i, e, s, o) {
2007
2007
  }
2008
2008
  var nb = (
2009
2009
  /** @class */
2010
- (function() {
2010
+ function() {
2011
2011
  function t(i) {
2012
2012
  this.points = i.points || [], this.duration = i.duration || 1e4, this.sharpness = i.sharpness || 0.85, this.centers = [], this.controls = [], this.stepLength = i.stepLength || 60, this.length = this.points.length, this.delay = 0;
2013
2013
  for (var e = 0; e < this.length; e++)
@@ -2064,7 +2064,7 @@ var nb = (
2064
2064
  var o = Math.floor((this.points.length - 1) * s), n = (this.length - 1) * s - o;
2065
2065
  return rb(n, this.points[o], this.controls[o][1], this.controls[o + 1][0], this.points[o + 1]);
2066
2066
  }, t;
2067
- })()
2067
+ }()
2068
2068
  );
2069
2069
  function rb(t, i, e, s, o) {
2070
2070
  var n = ab(t), r = {
@@ -10512,7 +10512,7 @@ const Fo = class Fo extends G {
10512
10512
  m(Fo, "czmJulianDateToTimeStamp", BT), m(Fo, "getClockRange", VT), m(Fo, "getClockStep", NT), m(Fo, "defaults", {
10513
10513
  enabled: !1,
10514
10514
  startTime: () => Date.now(),
10515
- stopTime: () => Date.now() + 1440 * 60 * 1e3,
10515
+ stopTime: () => Date.now() + 24 * 60 * 60 * 1e3,
10516
10516
  currentTime: () => Date.now(),
10517
10517
  multiplier: 1,
10518
10518
  clockStep: "SYSTEM_CLOCK_MULTIPLIER",
@@ -13803,7 +13803,7 @@ var Nc = { exports: {} }, oa = { exports: {} };
13803
13803
  /*! https://mths.be/punycode v1.4.0 by @mathias */
13804
13804
  var XA = oa.exports, Fm;
13805
13805
  function YA() {
13806
- return Fm || (Fm = 1, (function(t, i) {
13806
+ return Fm || (Fm = 1, function(t, i) {
13807
13807
  (function(e) {
13808
13808
  var s = i && !i.nodeType && i, o = t && !t.nodeType && t, n = typeof _m == "object" && _m;
13809
13809
  (n.global === n || n.window === n || n.self === n) && (e = n);
@@ -13920,7 +13920,7 @@ function YA() {
13920
13920
  else
13921
13921
  e.punycode = r;
13922
13922
  })(XA);
13923
- })(oa, oa.exports)), oa.exports;
13923
+ }(oa, oa.exports)), oa.exports;
13924
13924
  }
13925
13925
  var Uc = { exports: {} };
13926
13926
  /*!
@@ -13938,7 +13938,7 @@ var Uc = { exports: {} };
13938
13938
  */
13939
13939
  var ZA = Uc.exports, zm;
13940
13940
  function QA() {
13941
- return zm || (zm = 1, (function(t) {
13941
+ return zm || (zm = 1, function(t) {
13942
13942
  (function(i, e) {
13943
13943
  t.exports ? t.exports = e() : i.IPv6 = e(i);
13944
13944
  })(ZA, function(i) {
@@ -13975,7 +13975,7 @@ function QA() {
13975
13975
  noConflict: o
13976
13976
  };
13977
13977
  });
13978
- })(Uc)), Uc.exports;
13978
+ }(Uc)), Uc.exports;
13979
13979
  }
13980
13980
  var Gc = { exports: {} };
13981
13981
  /*!
@@ -13993,7 +13993,7 @@ var Gc = { exports: {} };
13993
13993
  */
13994
13994
  var KA = Gc.exports, Lm;
13995
13995
  function JA() {
13996
- return Lm || (Lm = 1, (function(t) {
13996
+ return Lm || (Lm = 1, function(t) {
13997
13997
  (function(i, e) {
13998
13998
  t.exports ? t.exports = e() : i.SecondLevelDomains = e(i);
13999
13999
  })(KA, function(i) {
@@ -14187,7 +14187,7 @@ function JA() {
14187
14187
  };
14188
14188
  return s;
14189
14189
  });
14190
- })(Gc)), Gc.exports;
14190
+ }(Gc)), Gc.exports;
14191
14191
  }
14192
14192
  /*!
14193
14193
  * URI.js - Mutating URLs
@@ -14203,7 +14203,7 @@ function JA() {
14203
14203
  */
14204
14204
  var jA = Nc.exports, Om;
14205
14205
  function eE() {
14206
- return Om || (Om = 1, (function(t) {
14206
+ return Om || (Om = 1, function(t) {
14207
14207
  (function(i, e) {
14208
14208
  t.exports ? t.exports = e(YA(), QA(), JA()) : i.URI = e(i.punycode, i.IPv6, i.SecondLevelDomains, i);
14209
14209
  })(jA, function(i, e, s, o) {
@@ -15106,7 +15106,7 @@ function eE() {
15106
15106
  return this._parts.escapeQuerySpace = !!w, this;
15107
15107
  }, r;
15108
15108
  });
15109
- })(Nc)), Nc.exports;
15109
+ }(Nc)), Nc.exports;
15110
15110
  }
15111
15111
  var tE = eE();
15112
15112
  const Ds = /* @__PURE__ */ Od(tE);
@@ -15752,14 +15752,14 @@ Lr.contains = function(t) {
15752
15752
  Lr.clear = function() {
15753
15753
  mr = {};
15754
15754
  };
15755
- const A_ = (function() {
15755
+ const A_ = function() {
15756
15756
  try {
15757
15757
  const t = new XMLHttpRequest();
15758
15758
  return t.open("GET", "#", !0), t.responseType = "blob", t.responseType === "blob";
15759
15759
  } catch {
15760
15760
  return !1;
15761
15761
  }
15762
- })();
15762
+ }();
15763
15763
  function ne(t) {
15764
15764
  t = t ?? us.EMPTY_OBJECT, typeof t == "string" && (t = {
15765
15765
  url: t
@@ -17058,7 +17058,7 @@ for (let t = 0; t < 7; ++t) {
17058
17058
  const i = t + 1, e = 2 * i + 1;
17059
17059
  rd[t] = 1 / (i * e), ad[t] = i / e;
17060
17060
  }
17061
- rd[7] = F_ / 136;
17061
+ rd[7] = F_ / (8 * 17);
17062
17062
  ad[7] = F_ * 8 / 17;
17063
17063
  ee.fastSlerp = function(t, i, e, s) {
17064
17064
  S.typeOf.object("start", t), S.typeOf.object("end", i), S.typeOf.number("t", e), S.typeOf.object("result", s);
@@ -17289,7 +17289,7 @@ Se.fixedFrameToHeadingPitchRoll = function(t, i, e, s) {
17289
17289
  a
17290
17290
  ), bt.fromQuaternion(a, s);
17291
17291
  };
17292
- const $E = 6 * 3600 + 2460 + 50.54841, XE = 8640184812866e-6, YE = 0.093104, ZE = -62e-7, QE = 11772758384668e-32, KE = 72921158553e-15, JE = L.TWO_PI / 86400;
17292
+ const $E = 6 * 3600 + 41 * 60 + 50.54841, XE = 8640184812866e-6, YE = 0.093104, ZE = -62e-7, QE = 11772758384668e-32, KE = 72921158553e-15, JE = L.TWO_PI / 86400;
17293
17293
  let Ac = new ie();
17294
17294
  Se.computeIcrfToCentralBodyFixedMatrix = function(t, i) {
17295
17295
  let e = Se.computeIcrfToFixedMatrix(t, i);
@@ -24673,7 +24673,7 @@ ${i1}
24673
24673
 
24674
24674
  `, s1 = Date.now();
24675
24675
  new Date(s1).toISOString();
24676
- new Date(s1 + 1440 * 60 * 1e3).toISOString();
24676
+ new Date(s1 + 24 * 60 * 60 * 1e3).toISOString();
24677
24677
  const Ma = class Ma extends G {
24678
24678
  constructor(e, s) {
24679
24679
  super();
@@ -26164,7 +26164,7 @@ m(Nt, "createDefaultProps", () => ({
26164
26164
  autoResetClock: !0,
26165
26165
  clockEnabled: !1,
26166
26166
  startTime: Au,
26167
- stopTime: Au + 1440 * 60 * 1e3,
26167
+ stopTime: Au + 24 * 60 * 60 * 1e3,
26168
26168
  currentTime: Au,
26169
26169
  multiplier: 1,
26170
26170
  clockStep: "SYSTEM_CLOCK_MULTIPLIER",
@@ -28056,7 +28056,7 @@ const Wa = class Wa extends Re {
28056
28056
  {
28057
28057
  const a = () => {
28058
28058
  const l = [...n.rotation];
28059
- l[0] -= e.instances ? 0 : 90, e.rotation = l;
28059
+ l[0] -= e.instances && e.instances.length != 0 ? 0 : 90, e.rotation = l;
28060
28060
  };
28061
28061
  a(), this.d(n.rotationChanged.don(a));
28062
28062
  }
@@ -30131,7 +30131,7 @@ var lR = new h.Cartesian3();
30131
30131
  function i0(t) {
30132
30132
  var i = new h.Cartesian3(-1, -1, -1), e = new h.Cartesian3(1, 1, 1);
30133
30133
  i.y += 1.001, e.y += 1.001;
30134
- var s = new Float64Array(24);
30134
+ var s = new Float64Array(8 * 3);
30135
30135
  s[0] = i.x, s[1] = i.y, s[2] = i.z, s[3] = e.x, s[4] = i.y, s[5] = i.z, s[6] = e.x, s[7] = e.y, s[8] = i.z, s[9] = i.x, s[10] = e.y, s[11] = i.z, s[12] = i.x, s[13] = i.y, s[14] = e.z, s[15] = e.x, s[16] = i.y, s[17] = e.z, s[18] = e.x, s[19] = e.y, s[20] = e.z, s[21] = i.x, s[22] = e.y, s[23] = e.z;
30136
30136
  var o = new h.GeometryAttributes();
30137
30137
  o.position = new h.GeometryAttribute({
@@ -30139,12 +30139,12 @@ function i0(t) {
30139
30139
  componentsPerAttribute: 3,
30140
30140
  values: s
30141
30141
  });
30142
- var n = new Uint16Array(36);
30142
+ var n = new Uint16Array(6 * 2 * 3);
30143
30143
  n[0] = 4, n[1] = 5, n[2] = 6, n[3] = 4, n[4] = 6, n[5] = 7, n[6] = 1, n[7] = 0, n[8] = 3, n[9] = 1, n[10] = 3, n[11] = 2, n[12] = 1, n[13] = 6, n[14] = 5, n[15] = 1, n[16] = 2, n[17] = 6, n[18] = 2, n[19] = 3, n[20] = 7, n[21] = 2, n[22] = 7, n[23] = 6, n[24] = 3, n[25] = 0, n[26] = 4, n[27] = 3, n[28] = 4, n[29] = 7, n[30] = 0, n[31] = 1, n[32] = 5, n[33] = 0, n[34] = 5, n[35] = 4;
30144
30144
  for (var r = 0; r < 36; r += 3)
30145
30145
  n[r] = n[r] ^ n[r + 2], n[r + 2] = n[r] ^ n[r + 2], n[r] = n[r] ^ n[r + 2];
30146
30146
  var a;
30147
- t && (a = new Uint16Array(24), a[0] = 0, a[1] = 1, a[2] = 1, a[3] = 2, a[4] = 2, a[5] = 3, a[6] = 3, a[7] = 0, a[8] = 4, a[9] = 5, a[10] = 5, a[11] = 6, a[12] = 6, a[13] = 7, a[14] = 7, a[15] = 4, a[16] = 0, a[17] = 4, a[18] = 1, a[19] = 5, a[20] = 2, a[21] = 6, a[22] = 3, a[23] = 7);
30147
+ t && (a = new Uint16Array(6 * 2 * 2), a[0] = 0, a[1] = 1, a[2] = 1, a[3] = 2, a[4] = 2, a[5] = 3, a[6] = 3, a[7] = 0, a[8] = 4, a[9] = 5, a[10] = 5, a[11] = 6, a[12] = 6, a[13] = 7, a[14] = 7, a[15] = 4, a[16] = 0, a[17] = 4, a[18] = 1, a[19] = 5, a[20] = 2, a[21] = 6, a[22] = 3, a[23] = 7);
30148
30148
  var l = h.Cartesian3.subtract(e, i, lR), c = h.Cartesian3.magnitude(l) * 0.5;
30149
30149
  return new h.Geometry({
30150
30150
  attributes: o,
@@ -30722,7 +30722,7 @@ function pR(t, i) {
30722
30722
  return e;
30723
30723
  }
30724
30724
  function fR(t, i, e, s) {
30725
- const o = t * e, n = i * s, r = new Uint16Array((t + 1) * (n * 2) + (i + 1) * (o * 2) + 8);
30725
+ const o = t * e, n = i * s, r = new Uint16Array((t + 1) * (n * 2) + (i + 1) * (o * 2) + 4 * 2);
30726
30726
  for (let f = 0; f < t + 1; ++f)
30727
30727
  for (let g = 0; g < n; ++g) {
30728
30728
  const v = f * e;
@@ -35137,259 +35137,12 @@ function vn(t) {
35137
35137
  }), i;
35138
35138
  }
35139
35139
  vn.default = vn;
35140
- const As = 11102230246251565e-32, Rt = 134217729, mD = (3 + 8 * As) * As;
35141
- function Iu(t, i, e, s, o) {
35142
- let n, r, a, l, c = i[0], d = s[0], u = 0, p = 0;
35143
- d > c == d > -c ? (n = c, c = i[++u]) : (n = d, d = s[++p]);
35144
- let f = 0;
35145
- if (u < t && p < e)
35146
- for (d > c == d > -c ? (r = c + n, a = n - (r - c), c = i[++u]) : (r = d + n, a = n - (r - d), d = s[++p]), n = r, a !== 0 && (o[f++] = a); u < t && p < e; )
35147
- d > c == d > -c ? (r = n + c, l = r - n, a = n - (r - l) + (c - l), c = i[++u]) : (r = n + d, l = r - n, a = n - (r - l) + (d - l), d = s[++p]), n = r, a !== 0 && (o[f++] = a);
35148
- for (; u < t; )
35149
- r = n + c, l = r - n, a = n - (r - l) + (c - l), c = i[++u], n = r, a !== 0 && (o[f++] = a);
35150
- for (; p < e; )
35151
- r = n + d, l = r - n, a = n - (r - l) + (d - l), d = s[++p], n = r, a !== 0 && (o[f++] = a);
35152
- return (n !== 0 || f === 0) && (o[f++] = n), f;
35153
- }
35154
- function vD(t, i) {
35155
- let e = i[0];
35156
- for (let s = 1; s < t; s++) e += i[s];
35157
- return e;
35158
- }
35159
- function Xh(t) {
35160
- return new Float64Array(t);
35161
- }
35162
- const yD = (3 + 16 * As) * As, wD = (2 + 12 * As) * As, CD = (9 + 64 * As) * As * As, zn = Xh(4), B0 = Xh(8), V0 = Xh(12), N0 = Xh(16), Vt = Xh(4);
35163
- function _D(t, i, e, s, o, n, r) {
35164
- let a, l, c, d, u, p, f, g, v, C, P, y, x, b, A, M, R, F;
35165
- const U = t - o, O = e - o, z = i - n, N = s - n;
35166
- b = U * N, p = Rt * U, f = p - (p - U), g = U - f, p = Rt * N, v = p - (p - N), C = N - v, A = g * C - (b - f * v - g * v - f * C), M = z * O, p = Rt * z, f = p - (p - z), g = z - f, p = Rt * O, v = p - (p - O), C = O - v, R = g * C - (M - f * v - g * v - f * C), P = A - R, u = A - P, zn[0] = A - (P + u) + (u - R), y = b + P, u = y - b, x = b - (y - u) + (P - u), P = x - M, u = x - P, zn[1] = x - (P + u) + (u - M), F = y + P, u = F - y, zn[2] = y - (F - u) + (P - u), zn[3] = F;
35167
- let w = vD(4, zn), T = wD * r;
35168
- if (w >= T || -w >= T || (u = t - U, a = t - (U + u) + (u - o), u = e - O, c = e - (O + u) + (u - o), u = i - z, l = i - (z + u) + (u - n), u = s - N, d = s - (N + u) + (u - n), a === 0 && l === 0 && c === 0 && d === 0) || (T = CD * r + mD * Math.abs(w), w += U * d + N * a - (z * c + O * l), w >= T || -w >= T)) return w;
35169
- b = a * N, p = Rt * a, f = p - (p - a), g = a - f, p = Rt * N, v = p - (p - N), C = N - v, A = g * C - (b - f * v - g * v - f * C), M = l * O, p = Rt * l, f = p - (p - l), g = l - f, p = Rt * O, v = p - (p - O), C = O - v, R = g * C - (M - f * v - g * v - f * C), P = A - R, u = A - P, Vt[0] = A - (P + u) + (u - R), y = b + P, u = y - b, x = b - (y - u) + (P - u), P = x - M, u = x - P, Vt[1] = x - (P + u) + (u - M), F = y + P, u = F - y, Vt[2] = y - (F - u) + (P - u), Vt[3] = F;
35170
- const D = Iu(4, zn, 4, Vt, B0);
35171
- b = U * d, p = Rt * U, f = p - (p - U), g = U - f, p = Rt * d, v = p - (p - d), C = d - v, A = g * C - (b - f * v - g * v - f * C), M = z * c, p = Rt * z, f = p - (p - z), g = z - f, p = Rt * c, v = p - (p - c), C = c - v, R = g * C - (M - f * v - g * v - f * C), P = A - R, u = A - P, Vt[0] = A - (P + u) + (u - R), y = b + P, u = y - b, x = b - (y - u) + (P - u), P = x - M, u = x - P, Vt[1] = x - (P + u) + (u - M), F = y + P, u = F - y, Vt[2] = y - (F - u) + (P - u), Vt[3] = F;
35172
- const V = Iu(D, B0, 4, Vt, V0);
35173
- b = a * d, p = Rt * a, f = p - (p - a), g = a - f, p = Rt * d, v = p - (p - d), C = d - v, A = g * C - (b - f * v - g * v - f * C), M = l * c, p = Rt * l, f = p - (p - l), g = l - f, p = Rt * c, v = p - (p - c), C = c - v, R = g * C - (M - f * v - g * v - f * C), P = A - R, u = A - P, Vt[0] = A - (P + u) + (u - R), y = b + P, u = y - b, x = b - (y - u) + (P - u), P = x - M, u = x - P, Vt[1] = x - (P + u) + (u - M), F = y + P, u = F - y, Vt[2] = y - (F - u) + (P - u), Vt[3] = F;
35174
- const H = Iu(V, V0, 4, Vt, N0);
35175
- return N0[H - 1];
35176
- }
35177
- function PD(t, i, e, s, o, n) {
35178
- const r = (i - n) * (e - o), a = (t - o) * (s - n), l = r - a, c = Math.abs(r + a);
35179
- return Math.abs(l) >= yD * c ? l : -_D(t, i, e, s, o, n, c);
35180
- }
35181
- function qt(t, i, e) {
35182
- if (e === void 0 && (e = {}), !t)
35183
- throw new Error("point is required");
35184
- if (!i)
35185
- throw new Error("polygon is required");
35186
- var s = pd(t), o = hs(i), n = o.type, r = i.bbox, a = o.coordinates;
35187
- if (r && xD(s, r) === !1)
35188
- return !1;
35189
- n === "Polygon" && (a = [a]);
35190
- for (var l = !1, c = 0; c < a.length && !l; c++)
35191
- if (U0(s, a[c][0], e.ignoreBoundary)) {
35192
- for (var d = !1, u = 1; u < a[c].length && !d; )
35193
- U0(s, a[c][u], !e.ignoreBoundary) && (d = !0), u++;
35194
- d || (l = !0);
35195
- }
35196
- return l;
35197
- }
35198
- function U0(t, i, e) {
35199
- var s = !1;
35200
- i[0][0] === i[i.length - 1][0] && i[0][1] === i[i.length - 1][1] && (i = i.slice(0, i.length - 1));
35201
- for (var o = 0, n = i.length - 1; o < i.length; n = o++) {
35202
- var r = i[o][0], a = i[o][1], l = i[n][0], c = i[n][1], d = t[1] * (r - l) + a * (l - t[0]) + c * (t[0] - r) === 0 && (r - t[0]) * (l - t[0]) <= 0 && (a - t[1]) * (c - t[1]) <= 0;
35203
- if (d)
35204
- return !e;
35205
- var u = a > t[1] != c > t[1] && t[0] < (l - r) * (t[1] - a) / (c - a) + r;
35206
- u && (s = !s);
35207
- }
35208
- return s;
35209
- }
35210
- function xD(t, i) {
35211
- return i[0] <= t[0] && i[1] <= t[1] && i[2] >= t[0] && i[3] >= t[1];
35212
- }
35213
- function SD(t) {
35214
- if (!t)
35215
- throw new Error("geojson is required");
35216
- switch (t.type) {
35217
- case "Feature":
35218
- return f1(t);
35219
- case "FeatureCollection":
35220
- return bD(t);
35221
- case "Point":
35222
- case "LineString":
35223
- case "Polygon":
35224
- case "MultiPoint":
35225
- case "MultiLineString":
35226
- case "MultiPolygon":
35227
- case "GeometryCollection":
35228
- return Mg(t);
35229
- default:
35230
- throw new Error("unknown GeoJSON type");
35231
- }
35232
- }
35233
- function f1(t) {
35234
- var i = { type: "Feature" };
35235
- return Object.keys(t).forEach(function(e) {
35236
- switch (e) {
35237
- case "type":
35238
- case "properties":
35239
- case "geometry":
35240
- return;
35241
- default:
35242
- i[e] = t[e];
35243
- }
35244
- }), i.properties = g1(t.properties), i.geometry = Mg(t.geometry), i;
35245
- }
35246
- function g1(t) {
35247
- var i = {};
35248
- return t && Object.keys(t).forEach(function(e) {
35249
- var s = t[e];
35250
- typeof s == "object" ? s === null ? i[e] = null : Array.isArray(s) ? i[e] = s.map(function(o) {
35251
- return o;
35252
- }) : i[e] = g1(s) : i[e] = s;
35253
- }), i;
35254
- }
35255
- function bD(t) {
35256
- var i = { type: "FeatureCollection" };
35257
- return Object.keys(t).forEach(function(e) {
35258
- switch (e) {
35259
- case "type":
35260
- case "features":
35261
- return;
35262
- default:
35263
- i[e] = t[e];
35264
- }
35265
- }), i.features = t.features.map(function(e) {
35266
- return f1(e);
35267
- }), i;
35268
- }
35269
- function Mg(t) {
35270
- var i = { type: t.type };
35271
- return t.bbox && (i.bbox = t.bbox), t.type === "GeometryCollection" ? (i.geometries = t.geometries.map(function(e) {
35272
- return Mg(e);
35273
- }), i) : (i.coordinates = m1(t.coordinates), i);
35274
- }
35275
- function m1(t) {
35276
- var i = t;
35277
- return typeof i[0] != "object" ? i.slice() : i.map(function(e) {
35278
- return m1(e);
35279
- });
35280
- }
35281
- function G0(t, i) {
35282
- i === void 0 && (i = {});
35283
- var e = typeof i == "object" ? i.mutate : i;
35284
- if (!t)
35285
- throw new Error("geojson is required");
35286
- var s = WR(t), o = [];
35287
- switch (s) {
35288
- case "LineString":
35289
- o = Ru(t);
35290
- break;
35291
- case "MultiLineString":
35292
- case "Polygon":
35293
- ts(t).forEach(function(r) {
35294
- o.push(Ru(r));
35295
- });
35296
- break;
35297
- case "MultiPolygon":
35298
- ts(t).forEach(function(r) {
35299
- var a = [];
35300
- r.forEach(function(l) {
35301
- a.push(Ru(l));
35302
- }), o.push(a);
35303
- });
35304
- break;
35305
- case "Point":
35306
- return t;
35307
- case "MultiPoint":
35308
- var n = {};
35309
- ts(t).forEach(function(r) {
35310
- var a = r.join("-");
35311
- Object.prototype.hasOwnProperty.call(n, a) || (o.push(r), n[a] = !0);
35312
- });
35313
- break;
35314
- default:
35315
- throw new Error(s + " geometry not supported");
35316
- }
35317
- return t.coordinates ? e === !0 ? (t.coordinates = o, t) : { type: s, coordinates: o } : e === !0 ? (t.geometry.coordinates = o, t) : as({ type: s, coordinates: o }, t.properties, {
35318
- bbox: t.bbox,
35319
- id: t.id
35320
- });
35321
- }
35322
- function Ru(t) {
35323
- var i = ts(t);
35324
- if (i.length === 2 && !W0(i[0], i[1]))
35325
- return i;
35326
- var e = [], s = i.length - 1, o = e.length;
35327
- e.push(i[0]);
35328
- for (var n = 1; n < s; n++) {
35329
- var r = e[e.length - 1];
35330
- i[n][0] === r[0] && i[n][1] === r[1] || (e.push(i[n]), o = e.length, o > 2 && H0(e[o - 3], e[o - 1], e[o - 2]) && e.splice(e.length - 2, 1));
35331
- }
35332
- if (e.push(i[i.length - 1]), o = e.length, W0(i[0], i[i.length - 1]) && o < 4)
35333
- throw new Error("invalid polygon");
35334
- return H0(e[o - 3], e[o - 1], e[o - 2]) && e.splice(e.length - 2, 1), e;
35335
- }
35336
- function W0(t, i) {
35337
- return t[0] === i[0] && t[1] === i[1];
35338
- }
35339
- function H0(t, i, e) {
35340
- var s = e[0], o = e[1], n = t[0], r = t[1], a = i[0], l = i[1], c = s - n, d = o - r, u = a - n, p = l - r, f = c * p - d * u;
35341
- return f !== 0 ? !1 : Math.abs(u) >= Math.abs(p) ? u > 0 ? n <= s && s <= a : a <= s && s <= n : p > 0 ? r <= o && o <= l : l <= o && o <= r;
35342
- }
35343
- function TD(t, i) {
35344
- i === void 0 && (i = {});
35345
- var e = 0, s = 0, o = 0;
35346
- return qd(t, function(n) {
35347
- e += n[0], s += n[1], o++;
35348
- }, !0), ro([e / o, s / o], i.properties);
35349
- }
35350
- function q0(t) {
35351
- if (!t)
35352
- throw new Error("geojson is required");
35353
- var i = [];
35354
- return Sr(t, function(e) {
35355
- AD(e, i);
35356
- }), ls(i);
35357
- }
35358
- function AD(t, i) {
35359
- var e = [], s = t.geometry;
35360
- if (s !== null) {
35361
- switch (s.type) {
35362
- case "Polygon":
35363
- e = ts(s);
35364
- break;
35365
- case "LineString":
35366
- e = [ts(s)];
35367
- }
35368
- e.forEach(function(o) {
35369
- var n = ED(o, t.properties);
35370
- n.forEach(function(r) {
35371
- r.id = i.length, i.push(r);
35372
- });
35373
- });
35374
- }
35375
- }
35376
- function ED(t, i) {
35377
- var e = [];
35378
- return t.reduce(function(s, o) {
35379
- var n = Hd([s, o], i);
35380
- return n.bbox = MD(s, o), e.push(n), o;
35381
- }), e;
35382
- }
35383
- function MD(t, i) {
35384
- var e = t[0], s = t[1], o = i[0], n = i[1], r = e < o ? e : o, a = s < n ? s : n, l = e > o ? e : o, c = s > n ? s : n;
35385
- return [r, a, l, c];
35386
- }
35387
- var Fc = { exports: {} }, Hc = { exports: {} }, ID = Hc.exports, $0;
35388
- function RD() {
35389
- return $0 || ($0 = 1, (function(t, i) {
35140
+ var Hc = { exports: {} }, mD = Hc.exports, B0;
35141
+ function vD() {
35142
+ return B0 || (B0 = 1, function(t, i) {
35390
35143
  (function(e, s) {
35391
35144
  t.exports = s();
35392
- })(ID, function() {
35145
+ })(mD, function() {
35393
35146
  function e(y, x, b, A, M) {
35394
35147
  (function R(F, U, O, z, N) {
35395
35148
  for (; z > O; ) {
@@ -35595,11 +35348,217 @@ function RD() {
35595
35348
  for (var x = y.length - 1, b = void 0; x >= 0; x--) y[x].children.length === 0 ? x > 0 ? (b = y[x - 1].children).splice(b.indexOf(y[x]), 1) : this.clear() : a(y[x], this.toBBox);
35596
35349
  }, n;
35597
35350
  });
35598
- })(Hc)), Hc.exports;
35351
+ }(Hc)), Hc.exports;
35352
+ }
35353
+ function qt(t, i, e) {
35354
+ if (e === void 0 && (e = {}), !t)
35355
+ throw new Error("point is required");
35356
+ if (!i)
35357
+ throw new Error("polygon is required");
35358
+ var s = pd(t), o = hs(i), n = o.type, r = i.bbox, a = o.coordinates;
35359
+ if (r && yD(s, r) === !1)
35360
+ return !1;
35361
+ n === "Polygon" && (a = [a]);
35362
+ for (var l = !1, c = 0; c < a.length && !l; c++)
35363
+ if (V0(s, a[c][0], e.ignoreBoundary)) {
35364
+ for (var d = !1, u = 1; u < a[c].length && !d; )
35365
+ V0(s, a[c][u], !e.ignoreBoundary) && (d = !0), u++;
35366
+ d || (l = !0);
35367
+ }
35368
+ return l;
35369
+ }
35370
+ function V0(t, i, e) {
35371
+ var s = !1;
35372
+ i[0][0] === i[i.length - 1][0] && i[0][1] === i[i.length - 1][1] && (i = i.slice(0, i.length - 1));
35373
+ for (var o = 0, n = i.length - 1; o < i.length; n = o++) {
35374
+ var r = i[o][0], a = i[o][1], l = i[n][0], c = i[n][1], d = t[1] * (r - l) + a * (l - t[0]) + c * (t[0] - r) === 0 && (r - t[0]) * (l - t[0]) <= 0 && (a - t[1]) * (c - t[1]) <= 0;
35375
+ if (d)
35376
+ return !e;
35377
+ var u = a > t[1] != c > t[1] && t[0] < (l - r) * (t[1] - a) / (c - a) + r;
35378
+ u && (s = !s);
35379
+ }
35380
+ return s;
35381
+ }
35382
+ function yD(t, i) {
35383
+ return i[0] <= t[0] && i[1] <= t[1] && i[2] >= t[0] && i[3] >= t[1];
35384
+ }
35385
+ function wD(t) {
35386
+ if (!t)
35387
+ throw new Error("geojson is required");
35388
+ switch (t.type) {
35389
+ case "Feature":
35390
+ return f1(t);
35391
+ case "FeatureCollection":
35392
+ return CD(t);
35393
+ case "Point":
35394
+ case "LineString":
35395
+ case "Polygon":
35396
+ case "MultiPoint":
35397
+ case "MultiLineString":
35398
+ case "MultiPolygon":
35399
+ case "GeometryCollection":
35400
+ return Mg(t);
35401
+ default:
35402
+ throw new Error("unknown GeoJSON type");
35403
+ }
35404
+ }
35405
+ function f1(t) {
35406
+ var i = { type: "Feature" };
35407
+ return Object.keys(t).forEach(function(e) {
35408
+ switch (e) {
35409
+ case "type":
35410
+ case "properties":
35411
+ case "geometry":
35412
+ return;
35413
+ default:
35414
+ i[e] = t[e];
35415
+ }
35416
+ }), i.properties = g1(t.properties), i.geometry = Mg(t.geometry), i;
35417
+ }
35418
+ function g1(t) {
35419
+ var i = {};
35420
+ return t && Object.keys(t).forEach(function(e) {
35421
+ var s = t[e];
35422
+ typeof s == "object" ? s === null ? i[e] = null : Array.isArray(s) ? i[e] = s.map(function(o) {
35423
+ return o;
35424
+ }) : i[e] = g1(s) : i[e] = s;
35425
+ }), i;
35426
+ }
35427
+ function CD(t) {
35428
+ var i = { type: "FeatureCollection" };
35429
+ return Object.keys(t).forEach(function(e) {
35430
+ switch (e) {
35431
+ case "type":
35432
+ case "features":
35433
+ return;
35434
+ default:
35435
+ i[e] = t[e];
35436
+ }
35437
+ }), i.features = t.features.map(function(e) {
35438
+ return f1(e);
35439
+ }), i;
35440
+ }
35441
+ function Mg(t) {
35442
+ var i = { type: t.type };
35443
+ return t.bbox && (i.bbox = t.bbox), t.type === "GeometryCollection" ? (i.geometries = t.geometries.map(function(e) {
35444
+ return Mg(e);
35445
+ }), i) : (i.coordinates = m1(t.coordinates), i);
35446
+ }
35447
+ function m1(t) {
35448
+ var i = t;
35449
+ return typeof i[0] != "object" ? i.slice() : i.map(function(e) {
35450
+ return m1(e);
35451
+ });
35452
+ }
35453
+ function N0(t, i) {
35454
+ i === void 0 && (i = {});
35455
+ var e = typeof i == "object" ? i.mutate : i;
35456
+ if (!t)
35457
+ throw new Error("geojson is required");
35458
+ var s = WR(t), o = [];
35459
+ switch (s) {
35460
+ case "LineString":
35461
+ o = Iu(t);
35462
+ break;
35463
+ case "MultiLineString":
35464
+ case "Polygon":
35465
+ ts(t).forEach(function(r) {
35466
+ o.push(Iu(r));
35467
+ });
35468
+ break;
35469
+ case "MultiPolygon":
35470
+ ts(t).forEach(function(r) {
35471
+ var a = [];
35472
+ r.forEach(function(l) {
35473
+ a.push(Iu(l));
35474
+ }), o.push(a);
35475
+ });
35476
+ break;
35477
+ case "Point":
35478
+ return t;
35479
+ case "MultiPoint":
35480
+ var n = {};
35481
+ ts(t).forEach(function(r) {
35482
+ var a = r.join("-");
35483
+ Object.prototype.hasOwnProperty.call(n, a) || (o.push(r), n[a] = !0);
35484
+ });
35485
+ break;
35486
+ default:
35487
+ throw new Error(s + " geometry not supported");
35488
+ }
35489
+ return t.coordinates ? e === !0 ? (t.coordinates = o, t) : { type: s, coordinates: o } : e === !0 ? (t.geometry.coordinates = o, t) : as({ type: s, coordinates: o }, t.properties, {
35490
+ bbox: t.bbox,
35491
+ id: t.id
35492
+ });
35493
+ }
35494
+ function Iu(t) {
35495
+ var i = ts(t);
35496
+ if (i.length === 2 && !U0(i[0], i[1]))
35497
+ return i;
35498
+ var e = [], s = i.length - 1, o = e.length;
35499
+ e.push(i[0]);
35500
+ for (var n = 1; n < s; n++) {
35501
+ var r = e[e.length - 1];
35502
+ i[n][0] === r[0] && i[n][1] === r[1] || (e.push(i[n]), o = e.length, o > 2 && G0(e[o - 3], e[o - 1], e[o - 2]) && e.splice(e.length - 2, 1));
35503
+ }
35504
+ if (e.push(i[i.length - 1]), o = e.length, U0(i[0], i[i.length - 1]) && o < 4)
35505
+ throw new Error("invalid polygon");
35506
+ return G0(e[o - 3], e[o - 1], e[o - 2]) && e.splice(e.length - 2, 1), e;
35507
+ }
35508
+ function U0(t, i) {
35509
+ return t[0] === i[0] && t[1] === i[1];
35510
+ }
35511
+ function G0(t, i, e) {
35512
+ var s = e[0], o = e[1], n = t[0], r = t[1], a = i[0], l = i[1], c = s - n, d = o - r, u = a - n, p = l - r, f = c * p - d * u;
35513
+ return f !== 0 ? !1 : Math.abs(u) >= Math.abs(p) ? u > 0 ? n <= s && s <= a : a <= s && s <= n : p > 0 ? r <= o && o <= l : l <= o && o <= r;
35514
+ }
35515
+ function _D(t, i) {
35516
+ i === void 0 && (i = {});
35517
+ var e = 0, s = 0, o = 0;
35518
+ return qd(t, function(n) {
35519
+ e += n[0], s += n[1], o++;
35520
+ }, !0), ro([e / o, s / o], i.properties);
35521
+ }
35522
+ function W0(t) {
35523
+ if (!t)
35524
+ throw new Error("geojson is required");
35525
+ var i = [];
35526
+ return Sr(t, function(e) {
35527
+ PD(e, i);
35528
+ }), ls(i);
35529
+ }
35530
+ function PD(t, i) {
35531
+ var e = [], s = t.geometry;
35532
+ if (s !== null) {
35533
+ switch (s.type) {
35534
+ case "Polygon":
35535
+ e = ts(s);
35536
+ break;
35537
+ case "LineString":
35538
+ e = [ts(s)];
35539
+ }
35540
+ e.forEach(function(o) {
35541
+ var n = xD(o, t.properties);
35542
+ n.forEach(function(r) {
35543
+ r.id = i.length, i.push(r);
35544
+ });
35545
+ });
35546
+ }
35547
+ }
35548
+ function xD(t, i) {
35549
+ var e = [];
35550
+ return t.reduce(function(s, o) {
35551
+ var n = Hd([s, o], i);
35552
+ return n.bbox = SD(s, o), e.push(n), o;
35553
+ }), e;
35599
35554
  }
35600
- var Du = {}, X0;
35555
+ function SD(t, i) {
35556
+ var e = t[0], s = t[1], o = i[0], n = i[1], r = e < o ? e : o, a = s < n ? s : n, l = e > o ? e : o, c = s > n ? s : n;
35557
+ return [r, a, l, c];
35558
+ }
35559
+ var Fc = { exports: {} }, Ru = {}, H0;
35601
35560
  function v1() {
35602
- return X0 || (X0 = 1, (function(t) {
35561
+ return H0 || (H0 = 1, function(t) {
35603
35562
  Object.defineProperty(t, "__esModule", { value: !0 }), t.earthRadius = 63710088e-1, t.factors = {
35604
35563
  centimeters: t.earthRadius * 100,
35605
35564
  centimetres: t.earthRadius * 100,
@@ -35864,12 +35823,12 @@ function v1() {
35864
35823
  throw new Error("id must be a number or a string");
35865
35824
  }
35866
35825
  t.validateId = O;
35867
- })(Du)), Du;
35826
+ }(Ru)), Ru;
35868
35827
  }
35869
- var gt = {}, Y0;
35828
+ var gt = {}, q0;
35870
35829
  function y1() {
35871
- if (Y0) return gt;
35872
- Y0 = 1, Object.defineProperty(gt, "__esModule", { value: !0 });
35830
+ if (q0) return gt;
35831
+ q0 = 1, Object.defineProperty(gt, "__esModule", { value: !0 });
35873
35832
  var t = /* @__PURE__ */ v1();
35874
35833
  function i(y, x, b) {
35875
35834
  if (y !== null)
@@ -36328,10 +36287,10 @@ function y1() {
36328
36287
  }
36329
36288
  return gt.coordAll = a, gt.coordEach = i, gt.coordReduce = e, gt.featureEach = n, gt.featureReduce = r, gt.findPoint = P, gt.findSegment = C, gt.flattenEach = d, gt.flattenReduce = u, gt.geomEach = l, gt.geomReduce = c, gt.lineEach = g, gt.lineReduce = v, gt.propEach = s, gt.propReduce = o, gt.segmentEach = p, gt.segmentReduce = f, gt;
36330
36289
  }
36331
- var zc = {}, Z0;
36332
- function DD() {
36333
- if (Z0) return zc;
36334
- Z0 = 1, Object.defineProperty(zc, "__esModule", { value: !0 });
36290
+ var zc = {}, $0;
36291
+ function bD() {
36292
+ if ($0) return zc;
36293
+ $0 = 1, Object.defineProperty(zc, "__esModule", { value: !0 });
36335
36294
  var t = /* @__PURE__ */ y1();
36336
36295
  function i(e) {
36337
36296
  var s = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
@@ -36341,11 +36300,11 @@ function DD() {
36341
36300
  }
36342
36301
  return i.default = i, zc.default = i, zc;
36343
36302
  }
36344
- var Q0;
36345
- function kD() {
36346
- if (Q0) return Fc.exports;
36347
- Q0 = 1;
36348
- var t = RD(), i = /* @__PURE__ */ v1(), e = /* @__PURE__ */ y1(), s = DD().default, o = e.featureEach;
36303
+ var X0;
36304
+ function TD() {
36305
+ if (X0) return Fc.exports;
36306
+ X0 = 1;
36307
+ var t = vD(), i = /* @__PURE__ */ v1(), e = /* @__PURE__ */ y1(), s = bD().default, o = e.featureEach;
36349
36308
  e.coordEach, i.polygon;
36350
36309
  var n = i.featureCollection;
36351
36310
  function r(a) {
@@ -36397,18 +36356,18 @@ function kD() {
36397
36356
  }
36398
36357
  return Fc.exports = r, Fc.exports.default = r, Fc.exports;
36399
36358
  }
36400
- var FD = kD();
36401
- const zD = /* @__PURE__ */ Od(FD);
36359
+ var AD = TD();
36360
+ const ED = /* @__PURE__ */ Od(AD);
36402
36361
  function Ig(t, i) {
36403
36362
  var e = {}, s = [];
36404
36363
  if (t.type === "LineString" && (t = as(t)), i.type === "LineString" && (i = as(i)), t.type === "Feature" && i.type === "Feature" && t.geometry !== null && i.geometry !== null && t.geometry.type === "LineString" && i.geometry.type === "LineString" && t.geometry.coordinates.length === 2 && i.geometry.coordinates.length === 2) {
36405
- var o = K0(t, i);
36364
+ var o = Y0(t, i);
36406
36365
  return o && s.push(o), ls(s);
36407
36366
  }
36408
- var n = zD();
36409
- return n.load(q0(i)), fd(q0(t), function(r) {
36367
+ var n = ED();
36368
+ return n.load(W0(i)), fd(W0(t), function(r) {
36410
36369
  fd(n.search(r), function(a) {
36411
- var l = K0(r, a);
36370
+ var l = Y0(r, a);
36412
36371
  if (l) {
36413
36372
  var c = ts(l).join(",");
36414
36373
  e[c] || (e[c] = !0, s.push(l));
@@ -36416,7 +36375,7 @@ function Ig(t, i) {
36416
36375
  });
36417
36376
  }), ls(s);
36418
36377
  }
36419
- function K0(t, i) {
36378
+ function Y0(t, i) {
36420
36379
  var e = ts(t), s = ts(i);
36421
36380
  if (e.length !== 2)
36422
36381
  throw new Error("<intersects> line1 must only contain 2 coordinates");
@@ -36436,12 +36395,12 @@ function gd(t, i, e) {
36436
36395
  e === void 0 && (e = {});
36437
36396
  for (var s = pd(t), o = ts(i), n = 0; n < o.length - 1; n++) {
36438
36397
  var r = !1;
36439
- if (e.ignoreEndVertices && (n === 0 && (r = "start"), n === o.length - 2 && (r = "end"), n === 0 && n + 1 === o.length - 1 && (r = "both")), LD(o[n], o[n + 1], s, r, typeof e.epsilon > "u" ? null : e.epsilon))
36398
+ if (e.ignoreEndVertices && (n === 0 && (r = "start"), n === o.length - 2 && (r = "end"), n === 0 && n + 1 === o.length - 1 && (r = "both")), MD(o[n], o[n + 1], s, r, typeof e.epsilon > "u" ? null : e.epsilon))
36440
36399
  return !0;
36441
36400
  }
36442
36401
  return !1;
36443
36402
  }
36444
- function LD(t, i, e, s, o) {
36403
+ function MD(t, i, e, s, o) {
36445
36404
  var n = e[0], r = e[1], a = t[0], l = t[1], c = i[0], d = i[1], u = e[0] - a, p = e[1] - l, f = c - a, g = d - l, v = u * g - p * f;
36446
36405
  if (o !== null) {
36447
36406
  if (Math.abs(v) > o)
@@ -36458,13 +36417,13 @@ function LD(t, i, e, s, o) {
36458
36417
  } else return Math.abs(f) >= Math.abs(g) ? f > 0 ? a <= n && n <= c : c <= n && n <= a : g > 0 ? l <= r && r <= d : d <= r && r <= l;
36459
36418
  return !1;
36460
36419
  }
36461
- function OD(t, i) {
36420
+ function ID(t, i) {
36462
36421
  var e = hs(t), s = hs(i), o = e.type, n = s.type;
36463
36422
  switch (o) {
36464
36423
  case "Point":
36465
36424
  switch (n) {
36466
36425
  case "MultiPoint":
36467
- return BD(e, s);
36426
+ return RD(e, s);
36468
36427
  case "LineString":
36469
36428
  return gd(e, s, { ignoreEndVertices: !0 });
36470
36429
  case "Polygon":
@@ -36476,22 +36435,22 @@ function OD(t, i) {
36476
36435
  case "MultiPoint":
36477
36436
  switch (n) {
36478
36437
  case "MultiPoint":
36479
- return VD(e, s);
36438
+ return DD(e, s);
36480
36439
  case "LineString":
36481
- return ND(e, s);
36440
+ return kD(e, s);
36482
36441
  case "Polygon":
36483
36442
  case "MultiPolygon":
36484
- return UD(e, s);
36443
+ return FD(e, s);
36485
36444
  default:
36486
36445
  throw new Error("feature2 " + n + " geometry not supported");
36487
36446
  }
36488
36447
  case "LineString":
36489
36448
  switch (n) {
36490
36449
  case "LineString":
36491
- return GD(e, s);
36450
+ return zD(e, s);
36492
36451
  case "Polygon":
36493
36452
  case "MultiPolygon":
36494
- return WD(e, s);
36453
+ return LD(e, s);
36495
36454
  default:
36496
36455
  throw new Error("feature2 " + n + " geometry not supported");
36497
36456
  }
@@ -36499,7 +36458,7 @@ function OD(t, i) {
36499
36458
  switch (n) {
36500
36459
  case "Polygon":
36501
36460
  case "MultiPolygon":
36502
- return HD(e, s);
36461
+ return OD(e, s);
36503
36462
  default:
36504
36463
  throw new Error("feature2 " + n + " geometry not supported");
36505
36464
  }
@@ -36507,7 +36466,7 @@ function OD(t, i) {
36507
36466
  throw new Error("feature1 " + o + " geometry not supported");
36508
36467
  }
36509
36468
  }
36510
- function BD(t, i) {
36469
+ function RD(t, i) {
36511
36470
  var e, s = !1;
36512
36471
  for (e = 0; e < i.coordinates.length; e++)
36513
36472
  if (C1(i.coordinates[e], t.coordinates)) {
@@ -36516,7 +36475,7 @@ function BD(t, i) {
36516
36475
  }
36517
36476
  return s;
36518
36477
  }
36519
- function VD(t, i) {
36478
+ function DD(t, i) {
36520
36479
  for (var e = 0; e < t.coordinates.length; e++) {
36521
36480
  for (var s = !1, o = 0; o < i.coordinates.length; o++)
36522
36481
  C1(t.coordinates[e], i.coordinates[o]) && (s = !0);
@@ -36525,7 +36484,7 @@ function VD(t, i) {
36525
36484
  }
36526
36485
  return !0;
36527
36486
  }
36528
- function ND(t, i) {
36487
+ function kD(t, i) {
36529
36488
  for (var e = !1, s = 0; s < t.coordinates.length; s++) {
36530
36489
  if (!gd(t.coordinates[s], i))
36531
36490
  return !1;
@@ -36533,7 +36492,7 @@ function ND(t, i) {
36533
36492
  }
36534
36493
  return e;
36535
36494
  }
36536
- function UD(t, i) {
36495
+ function FD(t, i) {
36537
36496
  for (var e = !0, s = !1, o = 0; o < t.coordinates.length; o++) {
36538
36497
  if (s = qt(t.coordinates[1], i), !s) {
36539
36498
  e = !1;
@@ -36545,13 +36504,13 @@ function UD(t, i) {
36545
36504
  }
36546
36505
  return e && s;
36547
36506
  }
36548
- function GD(t, i) {
36507
+ function zD(t, i) {
36549
36508
  for (var e = 0; e < t.coordinates.length; e++)
36550
36509
  if (!gd(t.coordinates[e], i))
36551
36510
  return !1;
36552
36511
  return !0;
36553
36512
  }
36554
- function WD(t, i) {
36513
+ function LD(t, i) {
36555
36514
  var e = vn(i), s = vn(t);
36556
36515
  if (!w1(e, s))
36557
36516
  return !1;
@@ -36559,7 +36518,7 @@ function WD(t, i) {
36559
36518
  if (!qt(t.coordinates[n], i))
36560
36519
  return !1;
36561
36520
  if (o || (o = qt(t.coordinates[n], i, { ignoreBoundary: !0 })), !o) {
36562
- var r = qD(t.coordinates[n], t.coordinates[n + 1]);
36521
+ var r = BD(t.coordinates[n], t.coordinates[n + 1]);
36563
36522
  o = qt(r, i, {
36564
36523
  ignoreBoundary: !0
36565
36524
  });
@@ -36567,7 +36526,7 @@ function WD(t, i) {
36567
36526
  }
36568
36527
  return o;
36569
36528
  }
36570
- function HD(t, i) {
36529
+ function OD(t, i) {
36571
36530
  var e = vn(t), s = vn(i);
36572
36531
  if (!w1(s, e))
36573
36532
  return !1;
@@ -36582,7 +36541,7 @@ function w1(t, i) {
36582
36541
  function C1(t, i) {
36583
36542
  return t[0] === i[0] && t[1] === i[1];
36584
36543
  }
36585
- function qD(t, i) {
36544
+ function BD(t, i) {
36586
36545
  return [(t[0] + i[0]) / 2, (t[1] + i[1]) / 2];
36587
36546
  }
36588
36547
  function _1(t, i, e) {
@@ -36590,7 +36549,7 @@ function _1(t, i, e) {
36590
36549
  for (var s = [], o = t[0], n = t[1], r = t[2], a = t[3], l = i / cs([o, n], [r, n], e), c = l * (r - o), d = i / cs([o, n], [o, a], e), u = d * (a - n), p = r - o, f = a - n, g = Math.floor(p / c), v = Math.floor(f / u), C = (p - g * c) / 2, P = (f - v * u) / 2, y = o + C; y <= r; ) {
36591
36550
  for (var x = n + P; x <= a; ) {
36592
36551
  var b = ro([y, x], e.properties);
36593
- e.mask ? OD(b, e.mask) && s.push(b) : s.push(b), x += u;
36552
+ e.mask ? ID(b, e.mask) && s.push(b) : s.push(b), x += u;
36594
36553
  }
36595
36554
  y += c;
36596
36555
  }
@@ -36601,19 +36560,19 @@ function Ff(t, i) {
36601
36560
  var e = hs(t);
36602
36561
  switch (!i.properties && t.type === "Feature" && (i.properties = t.properties), e.type) {
36603
36562
  case "Polygon":
36604
- return $D(e, i);
36563
+ return VD(e, i);
36605
36564
  case "MultiPolygon":
36606
- return XD(e, i);
36565
+ return ND(e, i);
36607
36566
  default:
36608
36567
  throw new Error("invalid poly");
36609
36568
  }
36610
36569
  }
36611
- function $D(t, i) {
36570
+ function VD(t, i) {
36612
36571
  i === void 0 && (i = {});
36613
36572
  var e = hs(t), s = e.coordinates, o = i.properties ? i.properties : t.type === "Feature" ? t.properties : {};
36614
36573
  return P1(s, o);
36615
36574
  }
36616
- function XD(t, i) {
36575
+ function ND(t, i) {
36617
36576
  i === void 0 && (i = {});
36618
36577
  var e = hs(t), s = e.coordinates, o = i.properties ? i.properties : t.type === "Feature" ? t.properties : {}, n = [];
36619
36578
  return s.forEach(function(r) {
@@ -36623,20 +36582,20 @@ function XD(t, i) {
36623
36582
  function P1(t, i) {
36624
36583
  return t.length > 1 ? VR(t, i) : Hd(t[0], i);
36625
36584
  }
36626
- var ku, J0;
36585
+ var Du, Z0;
36627
36586
  function x1() {
36628
- if (J0) return ku;
36629
- J0 = 1;
36587
+ if (Z0) return Du;
36588
+ Z0 = 1;
36630
36589
  var t = Object.prototype.toString;
36631
- return ku = function(e) {
36590
+ return Du = function(e) {
36632
36591
  var s = t.call(e), o = s === "[object Arguments]";
36633
36592
  return o || (o = s !== "[object Array]" && e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && t.call(e.callee) === "[object Function]"), o;
36634
- }, ku;
36593
+ }, Du;
36635
36594
  }
36636
- var Fu, j0;
36637
- function YD() {
36638
- if (j0) return Fu;
36639
- j0 = 1;
36595
+ var ku, Q0;
36596
+ function UD() {
36597
+ if (Q0) return ku;
36598
+ Q0 = 1;
36640
36599
  var t;
36641
36600
  if (!Object.keys) {
36642
36601
  var i = Object.prototype.hasOwnProperty, e = Object.prototype.toString, s = x1(), o = Object.prototype.propertyIsEnumerable, n = !o.call({ toString: null }, "toString"), r = o.call(function() {
@@ -36675,7 +36634,7 @@ function YD() {
36675
36634
  $webkitIndexedDB: !0,
36676
36635
  $webkitStorageInfo: !0,
36677
36636
  $window: !0
36678
- }, d = (function() {
36637
+ }, d = function() {
36679
36638
  if (typeof window > "u")
36680
36639
  return !1;
36681
36640
  for (var p in window)
@@ -36690,7 +36649,7 @@ function YD() {
36690
36649
  return !0;
36691
36650
  }
36692
36651
  return !1;
36693
- })(), u = function(p) {
36652
+ }(), u = function(p) {
36694
36653
  if (typeof window > "u" || !d)
36695
36654
  return l(p);
36696
36655
  try {
@@ -36719,32 +36678,32 @@ function YD() {
36719
36678
  return y;
36720
36679
  };
36721
36680
  }
36722
- return Fu = t, Fu;
36681
+ return ku = t, ku;
36723
36682
  }
36724
- var zu, ey;
36683
+ var Fu, K0;
36725
36684
  function S1() {
36726
- if (ey) return zu;
36727
- ey = 1;
36685
+ if (K0) return Fu;
36686
+ K0 = 1;
36728
36687
  var t = Array.prototype.slice, i = x1(), e = Object.keys, s = e ? function(r) {
36729
36688
  return e(r);
36730
- } : YD(), o = Object.keys;
36689
+ } : UD(), o = Object.keys;
36731
36690
  return s.shim = function() {
36732
36691
  if (Object.keys) {
36733
- var r = (function() {
36692
+ var r = function() {
36734
36693
  var a = Object.keys(arguments);
36735
36694
  return a && a.length === arguments.length;
36736
- })(1, 2);
36695
+ }(1, 2);
36737
36696
  r || (Object.keys = function(l) {
36738
36697
  return i(l) ? o(t.call(l)) : o(l);
36739
36698
  });
36740
36699
  } else
36741
36700
  Object.keys = s;
36742
36701
  return Object.keys || s;
36743
- }, zu = s, zu;
36702
+ }, Fu = s, Fu;
36744
36703
  }
36745
- var Lu, ty;
36704
+ var zu, J0;
36746
36705
  function b1() {
36747
- return ty || (ty = 1, Lu = function() {
36706
+ return J0 || (J0 = 1, zu = function() {
36748
36707
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
36749
36708
  return !1;
36750
36709
  if (typeof Symbol.iterator == "symbol")
@@ -36770,109 +36729,109 @@ function b1() {
36770
36729
  return !1;
36771
36730
  }
36772
36731
  return !0;
36773
- }), Lu;
36732
+ }), zu;
36774
36733
  }
36775
- var Ou, iy;
36734
+ var Lu, j0;
36776
36735
  function Rg() {
36777
- if (iy) return Ou;
36778
- iy = 1;
36736
+ if (j0) return Lu;
36737
+ j0 = 1;
36779
36738
  var t = b1();
36780
- return Ou = function() {
36739
+ return Lu = function() {
36781
36740
  return t() && !!Symbol.toStringTag;
36782
- }, Ou;
36741
+ }, Lu;
36783
36742
  }
36784
- var Bu, sy;
36743
+ var Ou, ey;
36785
36744
  function T1() {
36786
- return sy || (sy = 1, Bu = Object), Bu;
36745
+ return ey || (ey = 1, Ou = Object), Ou;
36787
36746
  }
36788
- var Vu, oy;
36747
+ var Bu, ty;
36789
36748
  function A1() {
36790
- return oy || (oy = 1, Vu = Error), Vu;
36749
+ return ty || (ty = 1, Bu = Error), Bu;
36791
36750
  }
36792
- var Nu, ny;
36793
- function ZD() {
36794
- return ny || (ny = 1, Nu = EvalError), Nu;
36751
+ var Vu, iy;
36752
+ function GD() {
36753
+ return iy || (iy = 1, Vu = EvalError), Vu;
36795
36754
  }
36796
- var Uu, ry;
36797
- function QD() {
36798
- return ry || (ry = 1, Uu = RangeError), Uu;
36755
+ var Nu, sy;
36756
+ function WD() {
36757
+ return sy || (sy = 1, Nu = RangeError), Nu;
36799
36758
  }
36800
- var Gu, ay;
36801
- function KD() {
36802
- return ay || (ay = 1, Gu = ReferenceError), Gu;
36759
+ var Uu, oy;
36760
+ function HD() {
36761
+ return oy || (oy = 1, Uu = ReferenceError), Uu;
36803
36762
  }
36804
- var Wu, ly;
36763
+ var Gu, ny;
36805
36764
  function E1() {
36806
- return ly || (ly = 1, Wu = SyntaxError), Wu;
36765
+ return ny || (ny = 1, Gu = SyntaxError), Gu;
36807
36766
  }
36808
- var Hu, hy;
36767
+ var Wu, ry;
36809
36768
  function Br() {
36810
- return hy || (hy = 1, Hu = TypeError), Hu;
36769
+ return ry || (ry = 1, Wu = TypeError), Wu;
36811
36770
  }
36812
- var qu, cy;
36813
- function JD() {
36814
- return cy || (cy = 1, qu = URIError), qu;
36771
+ var Hu, ay;
36772
+ function qD() {
36773
+ return ay || (ay = 1, Hu = URIError), Hu;
36815
36774
  }
36816
- var $u, dy;
36817
- function jD() {
36818
- return dy || (dy = 1, $u = Math.abs), $u;
36775
+ var qu, ly;
36776
+ function $D() {
36777
+ return ly || (ly = 1, qu = Math.abs), qu;
36819
36778
  }
36820
- var Xu, uy;
36821
- function e3() {
36822
- return uy || (uy = 1, Xu = Math.floor), Xu;
36779
+ var $u, hy;
36780
+ function XD() {
36781
+ return hy || (hy = 1, $u = Math.floor), $u;
36823
36782
  }
36824
- var Yu, py;
36825
- function t3() {
36826
- return py || (py = 1, Yu = Math.max), Yu;
36783
+ var Xu, cy;
36784
+ function YD() {
36785
+ return cy || (cy = 1, Xu = Math.max), Xu;
36827
36786
  }
36828
- var Zu, fy;
36829
- function i3() {
36830
- return fy || (fy = 1, Zu = Math.min), Zu;
36787
+ var Yu, dy;
36788
+ function ZD() {
36789
+ return dy || (dy = 1, Yu = Math.min), Yu;
36831
36790
  }
36832
- var Qu, gy;
36833
- function s3() {
36834
- return gy || (gy = 1, Qu = Math.pow), Qu;
36791
+ var Zu, uy;
36792
+ function QD() {
36793
+ return uy || (uy = 1, Zu = Math.pow), Zu;
36835
36794
  }
36836
- var Ku, my;
36837
- function o3() {
36838
- return my || (my = 1, Ku = Math.round), Ku;
36795
+ var Qu, py;
36796
+ function KD() {
36797
+ return py || (py = 1, Qu = Math.round), Qu;
36839
36798
  }
36840
- var Ju, vy;
36841
- function n3() {
36842
- return vy || (vy = 1, Ju = Number.isNaN || function(i) {
36799
+ var Ku, fy;
36800
+ function JD() {
36801
+ return fy || (fy = 1, Ku = Number.isNaN || function(i) {
36843
36802
  return i !== i;
36844
- }), Ju;
36803
+ }), Ku;
36845
36804
  }
36846
- var ju, yy;
36847
- function r3() {
36848
- if (yy) return ju;
36849
- yy = 1;
36850
- var t = /* @__PURE__ */ n3();
36851
- return ju = function(e) {
36805
+ var Ju, gy;
36806
+ function jD() {
36807
+ if (gy) return Ju;
36808
+ gy = 1;
36809
+ var t = /* @__PURE__ */ JD();
36810
+ return Ju = function(e) {
36852
36811
  return t(e) || e === 0 ? e : e < 0 ? -1 : 1;
36853
- }, ju;
36812
+ }, Ju;
36854
36813
  }
36855
- var ep, wy;
36856
- function a3() {
36857
- return wy || (wy = 1, ep = Object.getOwnPropertyDescriptor), ep;
36814
+ var ju, my;
36815
+ function e3() {
36816
+ return my || (my = 1, ju = Object.getOwnPropertyDescriptor), ju;
36858
36817
  }
36859
- var tp, Cy;
36818
+ var ep, vy;
36860
36819
  function Vr() {
36861
- if (Cy) return tp;
36862
- Cy = 1;
36863
- var t = /* @__PURE__ */ a3();
36820
+ if (vy) return ep;
36821
+ vy = 1;
36822
+ var t = /* @__PURE__ */ e3();
36864
36823
  if (t)
36865
36824
  try {
36866
36825
  t([], "length");
36867
36826
  } catch {
36868
36827
  t = null;
36869
36828
  }
36870
- return tp = t, tp;
36829
+ return ep = t, ep;
36871
36830
  }
36872
- var ip, _y;
36831
+ var tp, yy;
36873
36832
  function $d() {
36874
- if (_y) return ip;
36875
- _y = 1;
36833
+ if (yy) return tp;
36834
+ yy = 1;
36876
36835
  var t = Object.defineProperty || !1;
36877
36836
  if (t)
36878
36837
  try {
@@ -36880,32 +36839,32 @@ function $d() {
36880
36839
  } catch {
36881
36840
  t = !1;
36882
36841
  }
36883
- return ip = t, ip;
36842
+ return tp = t, tp;
36884
36843
  }
36885
- var sp, Py;
36886
- function l3() {
36887
- if (Py) return sp;
36888
- Py = 1;
36844
+ var ip, wy;
36845
+ function t3() {
36846
+ if (wy) return ip;
36847
+ wy = 1;
36889
36848
  var t = typeof Symbol < "u" && Symbol, i = b1();
36890
- return sp = function() {
36849
+ return ip = function() {
36891
36850
  return typeof t != "function" || typeof Symbol != "function" || typeof t("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : i();
36892
- }, sp;
36851
+ }, ip;
36893
36852
  }
36894
- var op, xy;
36853
+ var sp, Cy;
36895
36854
  function M1() {
36896
- return xy || (xy = 1, op = typeof Reflect < "u" && Reflect.getPrototypeOf || null), op;
36855
+ return Cy || (Cy = 1, sp = typeof Reflect < "u" && Reflect.getPrototypeOf || null), sp;
36897
36856
  }
36898
- var np, Sy;
36857
+ var op, _y;
36899
36858
  function I1() {
36900
- if (Sy) return np;
36901
- Sy = 1;
36859
+ if (_y) return op;
36860
+ _y = 1;
36902
36861
  var t = /* @__PURE__ */ T1();
36903
- return np = t.getPrototypeOf || null, np;
36862
+ return op = t.getPrototypeOf || null, op;
36904
36863
  }
36905
- var rp, by;
36906
- function h3() {
36907
- if (by) return rp;
36908
- by = 1;
36864
+ var np, Py;
36865
+ function i3() {
36866
+ if (Py) return np;
36867
+ Py = 1;
36909
36868
  var t = "Function.prototype.bind called on incompatible ", i = Object.prototype.toString, e = Math.max, s = "[object Function]", o = function(l, c) {
36910
36869
  for (var d = [], u = 0; u < l.length; u += 1)
36911
36870
  d[u] = l[u];
@@ -36921,7 +36880,7 @@ function h3() {
36921
36880
  c += a[d], d + 1 < a.length && (c += l);
36922
36881
  return c;
36923
36882
  };
36924
- return rp = function(l) {
36883
+ return np = function(l) {
36925
36884
  var c = this;
36926
36885
  if (typeof c != "function" || i.apply(c) !== s)
36927
36886
  throw new TypeError(t + c);
@@ -36945,49 +36904,49 @@ function h3() {
36945
36904
  C.prototype = c.prototype, u.prototype = new C(), C.prototype = null;
36946
36905
  }
36947
36906
  return u;
36948
- }, rp;
36907
+ }, np;
36949
36908
  }
36950
- var ap, Ty;
36951
- function Yh() {
36952
- if (Ty) return ap;
36953
- Ty = 1;
36954
- var t = h3();
36955
- return ap = Function.prototype.bind || t, ap;
36909
+ var rp, xy;
36910
+ function Xh() {
36911
+ if (xy) return rp;
36912
+ xy = 1;
36913
+ var t = i3();
36914
+ return rp = Function.prototype.bind || t, rp;
36956
36915
  }
36957
- var lp, Ay;
36916
+ var ap, Sy;
36958
36917
  function Dg() {
36959
- return Ay || (Ay = 1, lp = Function.prototype.call), lp;
36918
+ return Sy || (Sy = 1, ap = Function.prototype.call), ap;
36960
36919
  }
36961
- var hp, Ey;
36920
+ var lp, by;
36962
36921
  function kg() {
36963
- return Ey || (Ey = 1, hp = Function.prototype.apply), hp;
36922
+ return by || (by = 1, lp = Function.prototype.apply), lp;
36964
36923
  }
36965
- var cp, My;
36966
- function c3() {
36967
- return My || (My = 1, cp = typeof Reflect < "u" && Reflect && Reflect.apply), cp;
36924
+ var hp, Ty;
36925
+ function s3() {
36926
+ return Ty || (Ty = 1, hp = typeof Reflect < "u" && Reflect && Reflect.apply), hp;
36968
36927
  }
36969
- var dp, Iy;
36928
+ var cp, Ay;
36970
36929
  function R1() {
36971
- if (Iy) return dp;
36972
- Iy = 1;
36973
- var t = Yh(), i = kg(), e = Dg(), s = c3();
36974
- return dp = s || t.call(e, i), dp;
36930
+ if (Ay) return cp;
36931
+ Ay = 1;
36932
+ var t = Xh(), i = kg(), e = Dg(), s = s3();
36933
+ return cp = s || t.call(e, i), cp;
36975
36934
  }
36976
- var up, Ry;
36935
+ var dp, Ey;
36977
36936
  function Fg() {
36978
- if (Ry) return up;
36979
- Ry = 1;
36980
- var t = Yh(), i = /* @__PURE__ */ Br(), e = Dg(), s = R1();
36981
- return up = function(n) {
36937
+ if (Ey) return dp;
36938
+ Ey = 1;
36939
+ var t = Xh(), i = /* @__PURE__ */ Br(), e = Dg(), s = R1();
36940
+ return dp = function(n) {
36982
36941
  if (n.length < 1 || typeof n[0] != "function")
36983
36942
  throw new i("a function is required");
36984
36943
  return s(t, e, n);
36985
- }, up;
36944
+ }, dp;
36986
36945
  }
36987
- var pp, Dy;
36988
- function d3() {
36989
- if (Dy) return pp;
36990
- Dy = 1;
36946
+ var up, My;
36947
+ function o3() {
36948
+ if (My) return up;
36949
+ My = 1;
36991
36950
  var t = Fg(), i = /* @__PURE__ */ Vr(), e;
36992
36951
  try {
36993
36952
  e = /** @type {{ __proto__?: typeof Array.prototype }} */
@@ -37001,19 +36960,19 @@ function d3() {
37001
36960
  /** @type {keyof typeof Object.prototype} */
37002
36961
  "__proto__"
37003
36962
  ), o = Object, n = o.getPrototypeOf;
37004
- return pp = s && typeof s.get == "function" ? t([s.get]) : typeof n == "function" ? (
36963
+ return up = s && typeof s.get == "function" ? t([s.get]) : typeof n == "function" ? (
37005
36964
  /** @type {import('./get')} */
37006
36965
  function(a) {
37007
36966
  return n(a == null ? a : o(a));
37008
36967
  }
37009
- ) : !1, pp;
36968
+ ) : !1, up;
37010
36969
  }
37011
- var fp, ky;
36970
+ var pp, Iy;
37012
36971
  function D1() {
37013
- if (ky) return fp;
37014
- ky = 1;
37015
- var t = M1(), i = I1(), e = /* @__PURE__ */ d3();
37016
- return fp = t ? function(o) {
36972
+ if (Iy) return pp;
36973
+ Iy = 1;
36974
+ var t = M1(), i = I1(), e = /* @__PURE__ */ o3();
36975
+ return pp = t ? function(o) {
37017
36976
  return t(o);
37018
36977
  } : i ? function(o) {
37019
36978
  if (!o || typeof o != "object" && typeof o != "function")
@@ -37021,27 +36980,27 @@ function D1() {
37021
36980
  return i(o);
37022
36981
  } : e ? function(o) {
37023
36982
  return e(o);
37024
- } : null, fp;
36983
+ } : null, pp;
37025
36984
  }
37026
- var gp, Fy;
36985
+ var fp, Ry;
37027
36986
  function k1() {
37028
- if (Fy) return gp;
37029
- Fy = 1;
37030
- var t = Function.prototype.call, i = Object.prototype.hasOwnProperty, e = Yh();
37031
- return gp = e.call(t, i), gp;
36987
+ if (Ry) return fp;
36988
+ Ry = 1;
36989
+ var t = Function.prototype.call, i = Object.prototype.hasOwnProperty, e = Xh();
36990
+ return fp = e.call(t, i), fp;
37032
36991
  }
37033
- var mp, zy;
36992
+ var gp, Dy;
37034
36993
  function F1() {
37035
- if (zy) return mp;
37036
- zy = 1;
37037
- var t, i = /* @__PURE__ */ T1(), e = /* @__PURE__ */ A1(), s = /* @__PURE__ */ ZD(), o = /* @__PURE__ */ QD(), n = /* @__PURE__ */ KD(), r = /* @__PURE__ */ E1(), a = /* @__PURE__ */ Br(), l = /* @__PURE__ */ JD(), c = /* @__PURE__ */ jD(), d = /* @__PURE__ */ e3(), u = /* @__PURE__ */ t3(), p = /* @__PURE__ */ i3(), f = /* @__PURE__ */ s3(), g = /* @__PURE__ */ o3(), v = /* @__PURE__ */ r3(), C = Function, P = function(Te) {
36994
+ if (Dy) return gp;
36995
+ Dy = 1;
36996
+ var t, i = /* @__PURE__ */ T1(), e = /* @__PURE__ */ A1(), s = /* @__PURE__ */ GD(), o = /* @__PURE__ */ WD(), n = /* @__PURE__ */ HD(), r = /* @__PURE__ */ E1(), a = /* @__PURE__ */ Br(), l = /* @__PURE__ */ qD(), c = /* @__PURE__ */ $D(), d = /* @__PURE__ */ XD(), u = /* @__PURE__ */ YD(), p = /* @__PURE__ */ ZD(), f = /* @__PURE__ */ QD(), g = /* @__PURE__ */ KD(), v = /* @__PURE__ */ jD(), C = Function, P = function(Te) {
37038
36997
  try {
37039
36998
  return C('"use strict"; return (' + Te + ").constructor;")();
37040
36999
  } catch {
37041
37000
  }
37042
37001
  }, y = /* @__PURE__ */ Vr(), x = /* @__PURE__ */ $d(), b = function() {
37043
37002
  throw new a();
37044
- }, A = y ? (function() {
37003
+ }, A = y ? function() {
37045
37004
  try {
37046
37005
  return arguments.callee, b;
37047
37006
  } catch {
@@ -37051,7 +37010,7 @@ function F1() {
37051
37010
  return b;
37052
37011
  }
37053
37012
  }
37054
- })() : b, M = l3()(), R = D1(), F = I1(), U = M1(), O = kg(), z = Dg(), N = {}, w = typeof Uint8Array > "u" || !R ? t : R(Uint8Array), T = {
37013
+ }() : b, M = t3()(), R = D1(), F = I1(), U = M1(), O = kg(), z = Dg(), N = {}, w = typeof Uint8Array > "u" || !R ? t : R(Uint8Array), T = {
37055
37014
  __proto__: null,
37056
37015
  "%AggregateError%": typeof AggregateError > "u" ? t : AggregateError,
37057
37016
  "%Array%": Array,
@@ -37211,7 +37170,7 @@ function F1() {
37211
37170
  "%URIErrorPrototype%": ["URIError", "prototype"],
37212
37171
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
37213
37172
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
37214
- }, J = Yh(), X = /* @__PURE__ */ k1(), Q = J.call(z, Array.prototype.concat), te = J.call(O, Array.prototype.splice), le = J.call(z, String.prototype.replace), ge = J.call(z, String.prototype.slice), be = J.call(z, RegExp.prototype.exec), Ee = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Fe = /\\(\\)?/g, Qe = function(de) {
37173
+ }, J = Xh(), X = /* @__PURE__ */ k1(), Q = J.call(z, Array.prototype.concat), te = J.call(O, Array.prototype.splice), le = J.call(z, String.prototype.replace), ge = J.call(z, String.prototype.slice), be = J.call(z, RegExp.prototype.exec), Ee = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Fe = /\\(\\)?/g, Qe = function(de) {
37215
37174
  var Ce = ge(de, 0, 1), _e = ge(de, -1);
37216
37175
  if (Ce === "%" && _e !== "%")
37217
37176
  throw new r("invalid intrinsic syntax, expected closing `%`");
@@ -37235,7 +37194,7 @@ function F1() {
37235
37194
  }
37236
37195
  throw new r("intrinsic " + de + " does not exist!");
37237
37196
  };
37238
- return mp = function(de, Ce) {
37197
+ return gp = function(de, Ce) {
37239
37198
  if (typeof de != "string" || de.length === 0)
37240
37199
  throw new a("intrinsic name must be a non-empty string");
37241
37200
  if (arguments.length > 1 && typeof Ce != "boolean")
@@ -37265,14 +37224,14 @@ function F1() {
37265
37224
  }
37266
37225
  }
37267
37226
  return Ct;
37268
- }, mp;
37227
+ }, gp;
37269
37228
  }
37270
- var vp, Ly;
37229
+ var mp, ky;
37271
37230
  function zg() {
37272
- if (Ly) return vp;
37273
- Ly = 1;
37231
+ if (ky) return mp;
37232
+ ky = 1;
37274
37233
  var t = /* @__PURE__ */ F1(), i = Fg(), e = i([t("%String.prototype.indexOf%")]);
37275
- return vp = function(o, n) {
37234
+ return mp = function(o, n) {
37276
37235
  var r = (
37277
37236
  /** @type {(this: unknown, ...args: unknown[]) => unknown} */
37278
37237
  t(o, !!n)
@@ -37281,27 +37240,27 @@ function zg() {
37281
37240
  /** @type {const} */
37282
37241
  [r]
37283
37242
  ) : r;
37284
- }, vp;
37243
+ }, mp;
37285
37244
  }
37286
- var yp, Oy;
37287
- function u3() {
37288
- if (Oy) return yp;
37289
- Oy = 1;
37245
+ var vp, Fy;
37246
+ function n3() {
37247
+ if (Fy) return vp;
37248
+ Fy = 1;
37290
37249
  var t = Rg()(), i = /* @__PURE__ */ zg(), e = i("Object.prototype.toString"), s = function(a) {
37291
37250
  return t && a && typeof a == "object" && Symbol.toStringTag in a ? !1 : e(a) === "[object Arguments]";
37292
37251
  }, o = function(a) {
37293
37252
  return s(a) ? !0 : a !== null && typeof a == "object" && "length" in a && typeof a.length == "number" && a.length >= 0 && e(a) !== "[object Array]" && "callee" in a && e(a.callee) === "[object Function]";
37294
- }, n = (function() {
37253
+ }, n = function() {
37295
37254
  return s(arguments);
37296
- })();
37297
- return s.isLegacyArguments = o, yp = n ? s : o, yp;
37255
+ }();
37256
+ return s.isLegacyArguments = o, vp = n ? s : o, vp;
37298
37257
  }
37299
- var wp, By;
37258
+ var yp, zy;
37300
37259
  function Lg() {
37301
- if (By) return wp;
37302
- By = 1;
37260
+ if (zy) return yp;
37261
+ zy = 1;
37303
37262
  var t = /* @__PURE__ */ $d(), i = /* @__PURE__ */ E1(), e = /* @__PURE__ */ Br(), s = /* @__PURE__ */ Vr();
37304
- return wp = function(n, r, a) {
37263
+ return yp = function(n, r, a) {
37305
37264
  if (!n || typeof n != "object" && typeof n != "function")
37306
37265
  throw new e("`obj` must be an object or a function`");
37307
37266
  if (typeof r != "string" && typeof r != "symbol")
@@ -37326,12 +37285,12 @@ function Lg() {
37326
37285
  n[r] = a;
37327
37286
  else
37328
37287
  throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
37329
- }, wp;
37288
+ }, yp;
37330
37289
  }
37331
- var Cp, Vy;
37290
+ var wp, Ly;
37332
37291
  function Og() {
37333
- if (Vy) return Cp;
37334
- Vy = 1;
37292
+ if (Ly) return wp;
37293
+ Ly = 1;
37335
37294
  var t = /* @__PURE__ */ $d(), i = function() {
37336
37295
  return !!t;
37337
37296
  };
@@ -37343,12 +37302,12 @@ function Og() {
37343
37302
  } catch {
37344
37303
  return !0;
37345
37304
  }
37346
- }, Cp = i, Cp;
37305
+ }, wp = i, wp;
37347
37306
  }
37348
- var _p, Ny;
37349
- function Zh() {
37350
- if (Ny) return _p;
37351
- Ny = 1;
37307
+ var Cp, Oy;
37308
+ function Yh() {
37309
+ if (Oy) return Cp;
37310
+ Oy = 1;
37352
37311
  var t = S1(), i = typeof Symbol == "function" && typeof Symbol("foo") == "symbol", e = Object.prototype.toString, s = Array.prototype.concat, o = /* @__PURE__ */ Lg(), n = function(c) {
37353
37312
  return typeof c == "function" && e.call(c) === "[object Function]";
37354
37313
  }, r = /* @__PURE__ */ Og()(), a = function(c, d, u, p) {
@@ -37366,14 +37325,14 @@ function Zh() {
37366
37325
  for (var f = 0; f < p.length; f += 1)
37367
37326
  a(c, p[f], d[p[f]], u[p[f]]);
37368
37327
  };
37369
- return l.supportsDescriptors = !!r, _p = l, _p;
37328
+ return l.supportsDescriptors = !!r, Cp = l, Cp;
37370
37329
  }
37371
- var Pp = { exports: {} }, xp, Uy;
37372
- function p3() {
37373
- if (Uy) return xp;
37374
- Uy = 1;
37330
+ var _p = { exports: {} }, Pp, By;
37331
+ function r3() {
37332
+ if (By) return Pp;
37333
+ By = 1;
37375
37334
  var t = /* @__PURE__ */ F1(), i = /* @__PURE__ */ Lg(), e = /* @__PURE__ */ Og()(), s = /* @__PURE__ */ Vr(), o = /* @__PURE__ */ Br(), n = t("%Math.floor%");
37376
- return xp = function(a, l) {
37335
+ return Pp = function(a, l) {
37377
37336
  if (typeof a != "function")
37378
37337
  throw new o("`fn` is not a function");
37379
37338
  if (typeof l != "number" || l < 0 || l > 4294967295 || n(l) !== l)
@@ -37396,21 +37355,21 @@ function p3() {
37396
37355
  "length",
37397
37356
  l
37398
37357
  )), a;
37399
- }, xp;
37358
+ }, Pp;
37400
37359
  }
37401
- var Sp, Gy;
37402
- function f3() {
37403
- if (Gy) return Sp;
37404
- Gy = 1;
37405
- var t = Yh(), i = kg(), e = R1();
37406
- return Sp = function() {
37360
+ var xp, Vy;
37361
+ function a3() {
37362
+ if (Vy) return xp;
37363
+ Vy = 1;
37364
+ var t = Xh(), i = kg(), e = R1();
37365
+ return xp = function() {
37407
37366
  return e(t, i, arguments);
37408
- }, Sp;
37367
+ }, xp;
37409
37368
  }
37410
- var Wy;
37369
+ var Ny;
37411
37370
  function z1() {
37412
- return Wy || (Wy = 1, (function(t) {
37413
- var i = /* @__PURE__ */ p3(), e = /* @__PURE__ */ $d(), s = Fg(), o = f3();
37371
+ return Ny || (Ny = 1, function(t) {
37372
+ var i = /* @__PURE__ */ r3(), e = /* @__PURE__ */ $d(), s = Fg(), o = a3();
37414
37373
  t.exports = function(r) {
37415
37374
  var a = s(arguments), l = r.length - (arguments.length - 1);
37416
37375
  return i(
@@ -37419,57 +37378,57 @@ function z1() {
37419
37378
  !0
37420
37379
  );
37421
37380
  }, e ? e(t.exports, "apply", { value: o }) : t.exports.apply = o;
37422
- })(Pp)), Pp.exports;
37381
+ }(_p)), _p.exports;
37423
37382
  }
37424
- var bp, Hy;
37383
+ var Sp, Uy;
37425
37384
  function L1() {
37426
- if (Hy) return bp;
37427
- Hy = 1;
37385
+ if (Uy) return Sp;
37386
+ Uy = 1;
37428
37387
  var t = function(i) {
37429
37388
  return i !== i;
37430
37389
  };
37431
- return bp = function(e, s) {
37390
+ return Sp = function(e, s) {
37432
37391
  return e === 0 && s === 0 ? 1 / e === 1 / s : !!(e === s || t(e) && t(s));
37433
- }, bp;
37392
+ }, Sp;
37434
37393
  }
37435
- var Tp, qy;
37394
+ var bp, Gy;
37436
37395
  function O1() {
37437
- if (qy) return Tp;
37438
- qy = 1;
37396
+ if (Gy) return bp;
37397
+ Gy = 1;
37439
37398
  var t = L1();
37440
- return Tp = function() {
37399
+ return bp = function() {
37441
37400
  return typeof Object.is == "function" ? Object.is : t;
37442
- }, Tp;
37401
+ }, bp;
37443
37402
  }
37444
- var Ap, $y;
37445
- function g3() {
37446
- if ($y) return Ap;
37447
- $y = 1;
37448
- var t = O1(), i = Zh();
37449
- return Ap = function() {
37403
+ var Tp, Wy;
37404
+ function l3() {
37405
+ if (Wy) return Tp;
37406
+ Wy = 1;
37407
+ var t = O1(), i = Yh();
37408
+ return Tp = function() {
37450
37409
  var s = t();
37451
37410
  return i(Object, { is: s }, {
37452
37411
  is: function() {
37453
37412
  return Object.is !== s;
37454
37413
  }
37455
37414
  }), s;
37456
- }, Ap;
37415
+ }, Tp;
37457
37416
  }
37458
- var Ep, Xy;
37459
- function m3() {
37460
- if (Xy) return Ep;
37461
- Xy = 1;
37462
- var t = Zh(), i = z1(), e = L1(), s = O1(), o = g3(), n = i(s(), Object);
37417
+ var Ap, Hy;
37418
+ function h3() {
37419
+ if (Hy) return Ap;
37420
+ Hy = 1;
37421
+ var t = Yh(), i = z1(), e = L1(), s = O1(), o = l3(), n = i(s(), Object);
37463
37422
  return t(n, {
37464
37423
  getPolyfill: s,
37465
37424
  implementation: e,
37466
37425
  shim: o
37467
- }), Ep = n, Ep;
37426
+ }), Ap = n, Ap;
37468
37427
  }
37469
- var Mp, Yy;
37470
- function v3() {
37471
- if (Yy) return Mp;
37472
- Yy = 1;
37428
+ var Ep, qy;
37429
+ function c3() {
37430
+ if (qy) return Ep;
37431
+ qy = 1;
37473
37432
  var t = /* @__PURE__ */ zg(), i = Rg()(), e = /* @__PURE__ */ k1(), s = /* @__PURE__ */ Vr(), o;
37474
37433
  if (i) {
37475
37434
  var n = t("RegExp.prototype.exec"), r = {}, a = function() {
@@ -37508,12 +37467,12 @@ function v3() {
37508
37467
  return !p || typeof p != "object" && typeof p != "function" ? !1 : c(p) === d;
37509
37468
  };
37510
37469
  }
37511
- return Mp = o, Mp;
37470
+ return Ep = o, Ep;
37512
37471
  }
37513
- var Ip, Zy;
37514
- function y3() {
37515
- if (Zy) return Ip;
37516
- Zy = 1;
37472
+ var Mp, $y;
37473
+ function d3() {
37474
+ if ($y) return Mp;
37475
+ $y = 1;
37517
37476
  var t = function() {
37518
37477
  return typeof (function() {
37519
37478
  }).name == "string";
@@ -37535,14 +37494,14 @@ function y3() {
37535
37494
  return t.boundFunctionsHaveNames = function() {
37536
37495
  return t() && typeof e == "function" && (function() {
37537
37496
  }).bind().name !== "";
37538
- }, Ip = t, Ip;
37497
+ }, Mp = t, Mp;
37539
37498
  }
37540
- var Rp, Qy;
37541
- function w3() {
37542
- if (Qy) return Rp;
37543
- Qy = 1;
37544
- var t = /* @__PURE__ */ Lg(), i = /* @__PURE__ */ Og()(), e = y3().functionsHaveConfigurableNames(), s = /* @__PURE__ */ Br();
37545
- return Rp = function(n, r) {
37499
+ var Ip, Xy;
37500
+ function u3() {
37501
+ if (Xy) return Ip;
37502
+ Xy = 1;
37503
+ var t = /* @__PURE__ */ Lg(), i = /* @__PURE__ */ Og()(), e = d3().functionsHaveConfigurableNames(), s = /* @__PURE__ */ Br();
37504
+ return Ip = function(n, r) {
37546
37505
  if (typeof n != "function")
37547
37506
  throw new s("`fn` is not a function");
37548
37507
  var a = arguments.length > 2 && !!arguments[2];
@@ -37559,26 +37518,26 @@ function w3() {
37559
37518
  "name",
37560
37519
  r
37561
37520
  )), n;
37562
- }, Rp;
37521
+ }, Ip;
37563
37522
  }
37564
- var Dp, Ky;
37523
+ var Rp, Yy;
37565
37524
  function B1() {
37566
- if (Ky) return Dp;
37567
- Ky = 1;
37568
- var t = w3(), i = /* @__PURE__ */ Br(), e = Object;
37569
- return Dp = t(function() {
37525
+ if (Yy) return Rp;
37526
+ Yy = 1;
37527
+ var t = u3(), i = /* @__PURE__ */ Br(), e = Object;
37528
+ return Rp = t(function() {
37570
37529
  if (this == null || this !== e(this))
37571
37530
  throw new i("RegExp.prototype.flags getter called on non-object");
37572
37531
  var o = "";
37573
37532
  return this.hasIndices && (o += "d"), this.global && (o += "g"), this.ignoreCase && (o += "i"), this.multiline && (o += "m"), this.dotAll && (o += "s"), this.unicode && (o += "u"), this.unicodeSets && (o += "v"), this.sticky && (o += "y"), o;
37574
- }, "get flags", !0), Dp;
37533
+ }, "get flags", !0), Rp;
37575
37534
  }
37576
- var kp, Jy;
37535
+ var Dp, Zy;
37577
37536
  function V1() {
37578
- if (Jy) return kp;
37579
- Jy = 1;
37580
- var t = B1(), i = Zh().supportsDescriptors, e = Object.getOwnPropertyDescriptor;
37581
- return kp = function() {
37537
+ if (Zy) return Dp;
37538
+ Zy = 1;
37539
+ var t = B1(), i = Yh().supportsDescriptors, e = Object.getOwnPropertyDescriptor;
37540
+ return Dp = function() {
37582
37541
  if (i && /a/mig.flags === "gim") {
37583
37542
  var o = e(RegExp.prototype, "flags");
37584
37543
  if (o && typeof o.get == "function" && "dotAll" in RegExp.prototype && "hasIndices" in RegExp.prototype) {
@@ -37596,14 +37555,14 @@ function V1() {
37596
37555
  }
37597
37556
  }
37598
37557
  return t;
37599
- }, kp;
37558
+ }, Dp;
37600
37559
  }
37601
- var Fp, jy;
37602
- function C3() {
37603
- if (jy) return Fp;
37604
- jy = 1;
37605
- var t = Zh().supportsDescriptors, i = V1(), e = /* @__PURE__ */ Vr(), s = Object.defineProperty, o = /* @__PURE__ */ A1(), n = D1(), r = /a/;
37606
- return Fp = function() {
37560
+ var kp, Qy;
37561
+ function p3() {
37562
+ if (Qy) return kp;
37563
+ Qy = 1;
37564
+ var t = Yh().supportsDescriptors, i = V1(), e = /* @__PURE__ */ Vr(), s = Object.defineProperty, o = /* @__PURE__ */ A1(), n = D1(), r = /a/;
37565
+ return kp = function() {
37607
37566
  if (!t || !n)
37608
37567
  throw new o("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");
37609
37568
  var l = i(), c = n(r), d = e(c, "flags");
@@ -37612,23 +37571,23 @@ function C3() {
37612
37571
  enumerable: !1,
37613
37572
  get: l
37614
37573
  }), l;
37615
- }, Fp;
37574
+ }, kp;
37616
37575
  }
37617
- var zp, ew;
37618
- function _3() {
37619
- if (ew) return zp;
37620
- ew = 1;
37621
- var t = Zh(), i = z1(), e = B1(), s = V1(), o = C3(), n = i(s());
37576
+ var Fp, Ky;
37577
+ function f3() {
37578
+ if (Ky) return Fp;
37579
+ Ky = 1;
37580
+ var t = Yh(), i = z1(), e = B1(), s = V1(), o = p3(), n = i(s());
37622
37581
  return t(n, {
37623
37582
  getPolyfill: s,
37624
37583
  implementation: e,
37625
37584
  shim: o
37626
- }), zp = n, zp;
37585
+ }), Fp = n, Fp;
37627
37586
  }
37628
- var Lp, tw;
37629
- function P3() {
37630
- if (tw) return Lp;
37631
- tw = 1;
37587
+ var zp, Jy;
37588
+ function g3() {
37589
+ if (Jy) return zp;
37590
+ Jy = 1;
37632
37591
  var t = /* @__PURE__ */ zg(), i = t("Date.prototype.getDay"), e = function(a) {
37633
37592
  try {
37634
37593
  return i(a), !0;
@@ -37636,15 +37595,15 @@ function P3() {
37636
37595
  return !1;
37637
37596
  }
37638
37597
  }, s = t("Object.prototype.toString"), o = "[object Date]", n = Rg()();
37639
- return Lp = function(a) {
37598
+ return zp = function(a) {
37640
37599
  return typeof a != "object" || a === null ? !1 : n ? e(a) : s(a) === o;
37641
- }, Lp;
37600
+ }, zp;
37642
37601
  }
37643
- var Op, iw;
37644
- function x3() {
37645
- if (iw) return Op;
37646
- iw = 1;
37647
- var t = S1(), i = /* @__PURE__ */ u3(), e = m3(), s = v3(), o = _3(), n = /* @__PURE__ */ P3(), r = Date.prototype.getTime;
37602
+ var Lp, jy;
37603
+ function m3() {
37604
+ if (jy) return Lp;
37605
+ jy = 1;
37606
+ var t = S1(), i = /* @__PURE__ */ n3(), e = h3(), s = c3(), o = f3(), n = /* @__PURE__ */ g3(), r = Date.prototype.getTime;
37648
37607
  function a(u, p, f) {
37649
37608
  var g = f || {};
37650
37609
  return (g.strict ? e(u, p) : u === p) ? !0 : !u || !p || typeof u != "object" && typeof p != "object" ? g.strict ? e(u, p) : u == p : d(u, p, g);
@@ -37694,26 +37653,26 @@ function x3() {
37694
37653
  return !1;
37695
37654
  return !0;
37696
37655
  }
37697
- return Op = a, Op;
37656
+ return Lp = a, Lp;
37698
37657
  }
37699
- function S3(t, i) {
37658
+ function v3(t, i) {
37700
37659
  var e = !0;
37701
37660
  return Sr(t, function(s) {
37702
37661
  Sr(i, function(o) {
37703
37662
  if (e === !1)
37704
37663
  return !1;
37705
- e = b3(s.geometry, o.geometry);
37664
+ e = y3(s.geometry, o.geometry);
37706
37665
  });
37707
37666
  }), e;
37708
37667
  }
37709
- function b3(t, i) {
37668
+ function y3(t, i) {
37710
37669
  switch (t.type) {
37711
37670
  case "Point":
37712
37671
  switch (i.type) {
37713
37672
  case "Point":
37714
- return !M3(t.coordinates, i.coordinates);
37673
+ return !P3(t.coordinates, i.coordinates);
37715
37674
  case "LineString":
37716
- return !sw(i, t);
37675
+ return !ew(i, t);
37717
37676
  case "Polygon":
37718
37677
  return !qt(t, i);
37719
37678
  }
@@ -37721,11 +37680,11 @@ function b3(t, i) {
37721
37680
  case "LineString":
37722
37681
  switch (i.type) {
37723
37682
  case "Point":
37724
- return !sw(t, i);
37683
+ return !ew(t, i);
37725
37684
  case "LineString":
37726
- return !T3(t, i);
37685
+ return !w3(t, i);
37727
37686
  case "Polygon":
37728
- return !ow(i, t);
37687
+ return !tw(i, t);
37729
37688
  }
37730
37689
  break;
37731
37690
  case "Polygon":
@@ -37733,24 +37692,24 @@ function b3(t, i) {
37733
37692
  case "Point":
37734
37693
  return !qt(i, t);
37735
37694
  case "LineString":
37736
- return !ow(t, i);
37695
+ return !tw(t, i);
37737
37696
  case "Polygon":
37738
- return !A3(i, t);
37697
+ return !C3(i, t);
37739
37698
  }
37740
37699
  }
37741
37700
  return !1;
37742
37701
  }
37743
- function sw(t, i) {
37702
+ function ew(t, i) {
37744
37703
  for (var e = 0; e < t.coordinates.length - 1; e++)
37745
- if (E3(t.coordinates[e], t.coordinates[e + 1], i.coordinates))
37704
+ if (_3(t.coordinates[e], t.coordinates[e + 1], i.coordinates))
37746
37705
  return !0;
37747
37706
  return !1;
37748
37707
  }
37749
- function T3(t, i) {
37708
+ function w3(t, i) {
37750
37709
  var e = Ig(t, i);
37751
37710
  return e.features.length > 0;
37752
37711
  }
37753
- function ow(t, i) {
37712
+ function tw(t, i) {
37754
37713
  for (var e = 0, s = i.coordinates; e < s.length; e++) {
37755
37714
  var o = s[e];
37756
37715
  if (qt(o, t))
@@ -37759,7 +37718,7 @@ function ow(t, i) {
37759
37718
  var n = Ig(i, Ff(t));
37760
37719
  return n.features.length > 0;
37761
37720
  }
37762
- function A3(t, i) {
37721
+ function C3(t, i) {
37763
37722
  for (var e = 0, s = t.coordinates[0]; e < s.length; e++) {
37764
37723
  var o = s[e];
37765
37724
  if (qt(o, i))
@@ -37773,18 +37732,18 @@ function A3(t, i) {
37773
37732
  var l = Ig(Ff(t), Ff(i));
37774
37733
  return l.features.length > 0;
37775
37734
  }
37776
- function E3(t, i, e) {
37735
+ function _3(t, i, e) {
37777
37736
  var s = e[0] - t[0], o = e[1] - t[1], n = i[0] - t[0], r = i[1] - t[1], a = s * r - o * n;
37778
37737
  return a !== 0 ? !1 : Math.abs(n) >= Math.abs(r) ? n > 0 ? t[0] <= e[0] && e[0] <= i[0] : i[0] <= e[0] && e[0] <= t[0] : r > 0 ? t[1] <= e[1] && e[1] <= i[1] : i[1] <= e[1] && e[1] <= t[1];
37779
37738
  }
37780
- function M3(t, i) {
37739
+ function P3(t, i) {
37781
37740
  return t[0] === i[0] && t[1] === i[1];
37782
37741
  }
37783
- var Bp, nw;
37784
- function I3() {
37785
- if (nw) return Bp;
37786
- nw = 1;
37787
- var t = x3(), i = function(n) {
37742
+ var Op, iw;
37743
+ function x3() {
37744
+ if (iw) return Op;
37745
+ iw = 1;
37746
+ var t = m3(), i = function(n) {
37788
37747
  this.precision = n && n.precision ? n.precision : 17, this.direction = n && n.direction ? n.direction : !1, this.pseudoNode = n && n.pseudoNode ? n.pseudoNode : !1, this.objectComparator = n && n.objectComparator ? n.objectComparator : o;
37789
37748
  };
37790
37749
  i.prototype.compare = function(n, r) {
@@ -37870,24 +37829,24 @@ function I3() {
37870
37829
  function o(n, r) {
37871
37830
  return t(n, r, { strict: !0 });
37872
37831
  }
37873
- return Bp = i, Bp;
37832
+ return Op = i, Op;
37874
37833
  }
37875
- var R3 = I3();
37876
- const D3 = /* @__PURE__ */ Od(R3);
37877
- function k3(t, i) {
37834
+ var S3 = x3();
37835
+ const b3 = /* @__PURE__ */ Od(S3);
37836
+ function T3(t, i) {
37878
37837
  var e = hs(t).type, s = hs(i).type;
37879
37838
  if (e !== s)
37880
37839
  return !1;
37881
- var o = new D3({ precision: 6 });
37882
- return o.compare(G0(t), G0(i));
37840
+ var o = new b3({ precision: 6 });
37841
+ return o.compare(N0(t), N0(i));
37883
37842
  }
37884
- function F3(t, i) {
37843
+ function A3(t, i) {
37885
37844
  var e = !1;
37886
37845
  return Sr(t, function(s) {
37887
37846
  Sr(i, function(o) {
37888
37847
  if (e === !0)
37889
37848
  return !0;
37890
- e = !S3(s.geometry, o.geometry);
37849
+ e = !v3(s.geometry, o.geometry);
37891
37850
  });
37892
37851
  }), e;
37893
37852
  }
@@ -37913,7 +37872,7 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
37913
37872
  See the Apache Version 2.0 License for specific language governing permissions
37914
37873
  and limitations under the License.
37915
37874
  ***************************************************************************** */
37916
- function z3(t, i) {
37875
+ function E3(t, i) {
37917
37876
  var e = { label: 0, sent: function() {
37918
37877
  if (n[0] & 1) throw n[1];
37919
37878
  return n[1];
@@ -37975,14 +37934,14 @@ function z3(t, i) {
37975
37934
  }
37976
37935
  var po = (
37977
37936
  /** @class */
37978
- /* @__PURE__ */ (function() {
37937
+ /* @__PURE__ */ function() {
37979
37938
  function t(i, e) {
37980
37939
  this.next = null, this.key = i, this.data = e, this.left = null, this.right = null;
37981
37940
  }
37982
37941
  return t;
37983
- })()
37942
+ }()
37984
37943
  );
37985
- function L3(t, i) {
37944
+ function M3(t, i) {
37986
37945
  return t > i ? 1 : t < i ? -1 : 0;
37987
37946
  }
37988
37947
  function eo(t, i, e) {
@@ -38011,7 +37970,7 @@ function eo(t, i, e) {
38011
37970
  }
38012
37971
  return o.right = i.left, n.left = i.right, i.left = s.right, i.right = s.left, i;
38013
37972
  }
38014
- function Vp(t, i, e, s) {
37973
+ function Bp(t, i, e, s) {
38015
37974
  var o = new po(t, i);
38016
37975
  if (e === null)
38017
37976
  return o.left = o.right = null, o;
@@ -38019,7 +37978,7 @@ function Vp(t, i, e, s) {
38019
37978
  var n = s(t, e.key);
38020
37979
  return n < 0 ? (o.left = e.left, o.right = e, e.left = null) : n >= 0 && (o.right = e.right, o.left = e, e.right = null), o;
38021
37980
  }
38022
- function rw(t, i, e) {
37981
+ function sw(t, i, e) {
38023
37982
  var s = null, o = null;
38024
37983
  if (i) {
38025
37984
  i = eo(t, i, e);
@@ -38028,7 +37987,7 @@ function rw(t, i, e) {
38028
37987
  }
38029
37988
  return { left: s, right: o };
38030
37989
  }
38031
- function O3(t, i, e) {
37990
+ function I3(t, i, e) {
38032
37991
  return i === null ? t : (t === null || (i = eo(t.key, i, e), i.left = t), i);
38033
37992
  }
38034
37993
  function zf(t, i, e, s, o) {
@@ -38041,12 +38000,12 @@ function zf(t, i, e, s, o) {
38041
38000
  }
38042
38001
  var Bg = (
38043
38002
  /** @class */
38044
- (function() {
38003
+ function() {
38045
38004
  function t(i) {
38046
- i === void 0 && (i = L3), this._root = null, this._size = 0, this._comparator = i;
38005
+ i === void 0 && (i = M3), this._root = null, this._size = 0, this._comparator = i;
38047
38006
  }
38048
38007
  return t.prototype.insert = function(i, e) {
38049
- return this._size++, this._root = Vp(i, e, this._root, this._comparator);
38008
+ return this._size++, this._root = Bp(i, e, this._root, this._comparator);
38050
38009
  }, t.prototype.add = function(i, e) {
38051
38010
  var s = new po(i, e);
38052
38011
  this._root === null && (s.left = s.right = null, this._size++, this._root = s);
@@ -38171,14 +38130,14 @@ var Bg = (
38171
38130
  }, t.prototype.clear = function() {
38172
38131
  return this._root = null, this._size = 0, this;
38173
38132
  }, t.prototype.toList = function() {
38174
- return V3(this._root);
38133
+ return D3(this._root);
38175
38134
  }, t.prototype.load = function(i, e, s) {
38176
38135
  e === void 0 && (e = []), s === void 0 && (s = !1);
38177
38136
  var o = i.length, n = this._comparator;
38178
38137
  if (s && Bf(i, e, 0, o - 1, n), this._root === null)
38179
38138
  this._root = Lf(i, e, 0, o), this._size = o;
38180
38139
  else {
38181
- var r = N3(this.toList(), B3(i, e), n);
38140
+ var r = k3(this.toList(), R3(i, e), n);
38182
38141
  o = this._size + o, this._root = Of({ head: r }, 0, o);
38183
38142
  }
38184
38143
  return this;
@@ -38205,13 +38164,13 @@ var Bg = (
38205
38164
  return e.push(s);
38206
38165
  }, i), e.join("");
38207
38166
  }, t.prototype.update = function(i, e, s) {
38208
- var o = this._comparator, n = rw(i, this._root, o), r = n.left, a = n.right;
38209
- o(i, e) < 0 ? a = Vp(e, s, a, o) : r = Vp(e, s, r, o), this._root = O3(r, a, o);
38167
+ var o = this._comparator, n = sw(i, this._root, o), r = n.left, a = n.right;
38168
+ o(i, e) < 0 ? a = Bp(e, s, a, o) : r = Bp(e, s, r, o), this._root = I3(r, a, o);
38210
38169
  }, t.prototype.split = function(i) {
38211
- return rw(i, this._root, this._comparator);
38170
+ return sw(i, this._root, this._comparator);
38212
38171
  }, t.prototype[Symbol.iterator] = function() {
38213
38172
  var i, e, s;
38214
- return z3(this, function(o) {
38173
+ return E3(this, function(o) {
38215
38174
  switch (o.label) {
38216
38175
  case 0:
38217
38176
  i = this._root, e = [], s = !1, o.label = 1;
@@ -38233,7 +38192,7 @@ var Bg = (
38233
38192
  }
38234
38193
  });
38235
38194
  }, t;
38236
- })()
38195
+ }()
38237
38196
  );
38238
38197
  function Lf(t, i, e, s) {
38239
38198
  var o = s - e;
@@ -38243,12 +38202,12 @@ function Lf(t, i, e, s) {
38243
38202
  }
38244
38203
  return null;
38245
38204
  }
38246
- function B3(t, i) {
38205
+ function R3(t, i) {
38247
38206
  for (var e = new po(null, null), s = e, o = 0; o < t.length; o++)
38248
38207
  s = s.next = new po(t[o], i[o]);
38249
38208
  return s.next = null, e.next;
38250
38209
  }
38251
- function V3(t) {
38210
+ function D3(t) {
38252
38211
  for (var i = t, e = [], s = !1, o = new po(null, null), n = o; !s; )
38253
38212
  i ? (e.push(i), i = i.left) : e.length > 0 ? (i = n = n.next = e.pop(), i = i.right) : s = !0;
38254
38213
  return n.next = null, o.next;
@@ -38261,7 +38220,7 @@ function Of(t, i, e) {
38261
38220
  }
38262
38221
  return null;
38263
38222
  }
38264
- function N3(t, i, e) {
38223
+ function k3(t, i, e) {
38265
38224
  for (var s = new po(null, null), o = s, n = t, r = i; n !== null && r !== null; )
38266
38225
  e(n.key, r.key) < 0 ? (o.next = n, n = n.next) : (o.next = r, r = r.next), o = o.next;
38267
38226
  return n !== null ? o.next = n : r !== null && (o.next = r), s.next;
@@ -38283,6 +38242,47 @@ function Bf(t, i, e, s, o) {
38283
38242
  Bf(t, i, e, a, o), Bf(t, i, a + 1, s, o);
38284
38243
  }
38285
38244
  }
38245
+ const As = 11102230246251565e-32, Rt = 134217729, F3 = (3 + 8 * As) * As;
38246
+ function Vp(t, i, e, s, o) {
38247
+ let n, r, a, l, c = i[0], d = s[0], u = 0, p = 0;
38248
+ d > c == d > -c ? (n = c, c = i[++u]) : (n = d, d = s[++p]);
38249
+ let f = 0;
38250
+ if (u < t && p < e)
38251
+ for (d > c == d > -c ? (r = c + n, a = n - (r - c), c = i[++u]) : (r = d + n, a = n - (r - d), d = s[++p]), n = r, a !== 0 && (o[f++] = a); u < t && p < e; )
38252
+ d > c == d > -c ? (r = n + c, l = r - n, a = n - (r - l) + (c - l), c = i[++u]) : (r = n + d, l = r - n, a = n - (r - l) + (d - l), d = s[++p]), n = r, a !== 0 && (o[f++] = a);
38253
+ for (; u < t; )
38254
+ r = n + c, l = r - n, a = n - (r - l) + (c - l), c = i[++u], n = r, a !== 0 && (o[f++] = a);
38255
+ for (; p < e; )
38256
+ r = n + d, l = r - n, a = n - (r - l) + (d - l), d = s[++p], n = r, a !== 0 && (o[f++] = a);
38257
+ return (n !== 0 || f === 0) && (o[f++] = n), f;
38258
+ }
38259
+ function z3(t, i) {
38260
+ let e = i[0];
38261
+ for (let s = 1; s < t; s++) e += i[s];
38262
+ return e;
38263
+ }
38264
+ function Zh(t) {
38265
+ return new Float64Array(t);
38266
+ }
38267
+ const L3 = (3 + 16 * As) * As, O3 = (2 + 12 * As) * As, B3 = (9 + 64 * As) * As * As, zn = Zh(4), ow = Zh(8), nw = Zh(12), rw = Zh(16), Vt = Zh(4);
38268
+ function V3(t, i, e, s, o, n, r) {
38269
+ let a, l, c, d, u, p, f, g, v, C, P, y, x, b, A, M, R, F;
38270
+ const U = t - o, O = e - o, z = i - n, N = s - n;
38271
+ b = U * N, p = Rt * U, f = p - (p - U), g = U - f, p = Rt * N, v = p - (p - N), C = N - v, A = g * C - (b - f * v - g * v - f * C), M = z * O, p = Rt * z, f = p - (p - z), g = z - f, p = Rt * O, v = p - (p - O), C = O - v, R = g * C - (M - f * v - g * v - f * C), P = A - R, u = A - P, zn[0] = A - (P + u) + (u - R), y = b + P, u = y - b, x = b - (y - u) + (P - u), P = x - M, u = x - P, zn[1] = x - (P + u) + (u - M), F = y + P, u = F - y, zn[2] = y - (F - u) + (P - u), zn[3] = F;
38272
+ let w = z3(4, zn), T = O3 * r;
38273
+ if (w >= T || -w >= T || (u = t - U, a = t - (U + u) + (u - o), u = e - O, c = e - (O + u) + (u - o), u = i - z, l = i - (z + u) + (u - n), u = s - N, d = s - (N + u) + (u - n), a === 0 && l === 0 && c === 0 && d === 0) || (T = B3 * r + F3 * Math.abs(w), w += U * d + N * a - (z * c + O * l), w >= T || -w >= T)) return w;
38274
+ b = a * N, p = Rt * a, f = p - (p - a), g = a - f, p = Rt * N, v = p - (p - N), C = N - v, A = g * C - (b - f * v - g * v - f * C), M = l * O, p = Rt * l, f = p - (p - l), g = l - f, p = Rt * O, v = p - (p - O), C = O - v, R = g * C - (M - f * v - g * v - f * C), P = A - R, u = A - P, Vt[0] = A - (P + u) + (u - R), y = b + P, u = y - b, x = b - (y - u) + (P - u), P = x - M, u = x - P, Vt[1] = x - (P + u) + (u - M), F = y + P, u = F - y, Vt[2] = y - (F - u) + (P - u), Vt[3] = F;
38275
+ const D = Vp(4, zn, 4, Vt, ow);
38276
+ b = U * d, p = Rt * U, f = p - (p - U), g = U - f, p = Rt * d, v = p - (p - d), C = d - v, A = g * C - (b - f * v - g * v - f * C), M = z * c, p = Rt * z, f = p - (p - z), g = z - f, p = Rt * c, v = p - (p - c), C = c - v, R = g * C - (M - f * v - g * v - f * C), P = A - R, u = A - P, Vt[0] = A - (P + u) + (u - R), y = b + P, u = y - b, x = b - (y - u) + (P - u), P = x - M, u = x - P, Vt[1] = x - (P + u) + (u - M), F = y + P, u = F - y, Vt[2] = y - (F - u) + (P - u), Vt[3] = F;
38277
+ const V = Vp(D, ow, 4, Vt, nw);
38278
+ b = a * d, p = Rt * a, f = p - (p - a), g = a - f, p = Rt * d, v = p - (p - d), C = d - v, A = g * C - (b - f * v - g * v - f * C), M = l * c, p = Rt * l, f = p - (p - l), g = l - f, p = Rt * c, v = p - (p - c), C = c - v, R = g * C - (M - f * v - g * v - f * C), P = A - R, u = A - P, Vt[0] = A - (P + u) + (u - R), y = b + P, u = y - b, x = b - (y - u) + (P - u), P = x - M, u = x - P, Vt[1] = x - (P + u) + (u - M), F = y + P, u = F - y, Vt[2] = y - (F - u) + (P - u), Vt[3] = F;
38279
+ const H = Vp(V, nw, 4, Vt, rw);
38280
+ return rw[H - 1];
38281
+ }
38282
+ function N3(t, i, e, s, o, n) {
38283
+ const r = (i - n) * (e - o), a = (t - o) * (s - n), l = r - a, c = Math.abs(r + a);
38284
+ return Math.abs(l) >= L3 * c ? l : -V3(t, i, e, s, o, n, c);
38285
+ }
38286
38286
  const ta = (t, i) => t.ll.x <= i.x && i.x <= t.ur.x && t.ll.y <= i.y && i.y <= t.ur.y, Vf = (t, i) => {
38287
38287
  if (i.ur.x < t.ll.x || t.ur.x < i.ll.x || i.ur.y < t.ll.y || t.ur.y < i.ll.y) return null;
38288
38288
  const e = t.ll.x < i.ll.x ? i.ll.x : t.ll.x, s = t.ur.x < i.ur.x ? t.ur.x : i.ur.x, o = t.ll.y < i.ll.y ? i.ll.y : t.ll.y, n = t.ur.y < i.ur.y ? t.ur.y : i.ur.y;
@@ -38339,7 +38339,7 @@ class lw {
38339
38339
  }
38340
38340
  }
38341
38341
  const kh = new G3(), qc = (t, i) => t.x * i.y - t.y * i.x, N1 = (t, i) => t.x * i.x + t.y * i.y, hw = (t, i, e) => {
38342
- const s = PD(t.x, t.y, i.x, i.y, e.x, e.y);
38342
+ const s = N3(t.x, t.y, i.x, i.y, e.x, e.y);
38343
38343
  return s > 0 ? -1 : s < 0 ? 1 : 0;
38344
38344
  }, md = (t) => Math.sqrt(N1(t, t)), W3 = (t, i, e) => {
38345
38345
  const s = {
@@ -39176,7 +39176,7 @@ function rk(t, i, e, s) {
39176
39176
  [x, A]
39177
39177
  ]
39178
39178
  ], s.properties);
39179
- s.mask ? F3(s.mask, R) && o.push(R) : o.push(R), A += p;
39179
+ s.mask ? A3(s.mask, R) && o.push(R) : o.push(R), A += p;
39180
39180
  }
39181
39181
  x += d;
39182
39182
  }
@@ -39285,13 +39285,13 @@ function hk(t, i, e) {
39285
39285
  return fd(a, function(c) {
39286
39286
  var d = 0, u = 0;
39287
39287
  fd(t, function(f) {
39288
- var g = s === "point" ? c : TD(c), v = cs(g, f, e), C;
39288
+ var g = s === "point" ? c : _D(c), v = cs(g, f, e), C;
39289
39289
  if (o !== void 0 && (C = f.properties[o]), C === void 0 && (C = f.geometry.coordinates[2]), C === void 0) throw new Error("zValue is missing");
39290
39290
  v === 0 && (d = C);
39291
39291
  var P = 1 / Math.pow(v, n);
39292
39292
  u += P, d += P * C;
39293
39293
  });
39294
- var p = SD(c);
39294
+ var p = wD(c);
39295
39295
  p.properties[o] = d / u, l.push(p);
39296
39296
  }), ls(l);
39297
39297
  }
@@ -39754,7 +39754,7 @@ function bk(t, i, e) {
39754
39754
  }
39755
39755
  function Tk(t, i) {
39756
39756
  var e = ro(t);
39757
- if (!k3(ro(i[0]), ro(i[i.length - 1])))
39757
+ if (!T3(ro(i[0]), ro(i[i.length - 1])))
39758
39758
  return !1;
39759
39759
  var s = [];
39760
39760
  s.push(i);
@@ -49901,7 +49901,7 @@ let Ge = Pt;
49901
49901
  ae(Ge.prototype, Ge.createDefaultProps);
49902
49902
  let Qp;
49903
49903
  try {
49904
- const t = "earthsdk3-cesium", i = "3.4.1", e = "2025-09-16T08:13:00.000Z", s = "北京西部世界科技有限公司", o = "地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn", n = "edc6b1a5e35b2412fad91ee205c768829c64b897", a = ((Date.now() - 175801038e4) / 36e5).toFixed(1), l = `%c🌏 ${t}%c ${i}.${n.slice(0, 8)}.${e} (距今${a}个小时)
49904
+ const t = "earthsdk3-cesium", i = "3.4.3", e = "2025-09-18T02:55:09.000Z", s = "北京西部世界科技有限公司", o = "地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn", n = "87db067d34b9c5fa464ac840ea16d568a9026bbd", a = ((Date.now() - 1758164109e3) / 36e5).toFixed(1), l = `%c🌏 ${t}%c ${i}.${n.slice(0, 8)}.${e} (距今${a}个小时)
49905
49905
  %c${o ? o + `
49906
49906
  ` : ""}当前网站正在使用${t},此软件版权归${s}所有
49907
49907
  `;
@@ -49915,7 +49915,7 @@ try {
49915
49915
  },
49916
49916
  // @ts-ignore
49917
49917
  get gituri() {
49918
- return GITURI_ && GITURI_.replace("${commitId}", "edc6b1a5e35b2412fad91ee205c768829c64b897");
49918
+ return GITURI_ && GITURI_.replace("${commitId}", "87db067d34b9c5fa464ac840ea16d568a9026bbd");
49919
49919
  },
49920
49920
  // @ts-ignore
49921
49921
  get info() {
@@ -49923,7 +49923,7 @@ try {
49923
49923
  },
49924
49924
  // @ts-ignore
49925
49925
  get date() {
49926
- return "2025-09-16T08:13:00.000Z";
49926
+ return "2025-09-18T02:55:09.000Z";
49927
49927
  },
49928
49928
  // @ts-ignore
49929
49929
  get author() {
@@ -49931,7 +49931,7 @@ try {
49931
49931
  },
49932
49932
  // @ts-ignore
49933
49933
  get version() {
49934
- return "3.4.1";
49934
+ return "3.4.3";
49935
49935
  },
49936
49936
  // @ts-ignore
49937
49937
  get name() {
@@ -49939,7 +49939,7 @@ try {
49939
49939
  },
49940
49940
  // @ts-ignore
49941
49941
  get commitId() {
49942
- return "edc6b1a5e35b2412fad91ee205c768829c64b897";
49942
+ return "87db067d34b9c5fa464ac840ea16d568a9026bbd";
49943
49943
  },
49944
49944
  print() {
49945
49945
  console.info(