@opengis/partsmap 0.0.25 → 0.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/PartsMap.js CHANGED
@@ -1,4 +1,4 @@
1
- import { openBlock as dt, createElementBlock as jt, createStaticVNode as np, Fragment as ol, renderList as al, normalizeClass as cl, createElementVNode as Qe, toDisplayString as ss, normalizeStyle as sp, createCommentVNode as Pr, resolveComponent as Wi, createVNode as Vr, createBlock as cn, Teleport as Lm, Transition as Nd, withCtx as jo, withDirectives as Rm, renderSlot as ll, vShow as Fm, pushScopeId as Bm, popScopeId as Om, defineComponent as Vm, createTextVNode as Nm } from "vue";
1
+ import { openBlock as gt, createElementBlock as Ut, createStaticVNode as np, Fragment as ol, renderList as al, normalizeClass as cl, createElementVNode as Ye, toDisplayString as ss, normalizeStyle as sp, createCommentVNode as Or, resolveComponent as Wi, createVNode as Vr, createBlock as cn, Teleport as Fm, Transition as Nd, withCtx as jo, withDirectives as op, renderSlot as ll, vShow as ap, pushScopeId as Bm, popScopeId as Om, defineComponent as Vm, createTextVNode as Nm } from "vue";
2
2
  var $s = {};
3
3
  function jd(_) {
4
4
  return Math.floor(Math.abs(_) + 0.5) * (_ >= 0 ? 1 : -1);
@@ -34,7 +34,7 @@ $s.encode = function(_, S) {
34
34
  }
35
35
  return z;
36
36
  };
37
- function op(_) {
37
+ function lp(_) {
38
38
  for (var S = [], k = 0; k < _.length; k++) {
39
39
  var z = _[k].slice();
40
40
  S.push([z[1], z[0]]);
@@ -44,20 +44,20 @@ function op(_) {
44
44
  $s.fromGeoJSON = function(_, S) {
45
45
  if (_ && _.type === "Feature" && (_ = _.geometry), !_ || _.type !== "LineString")
46
46
  throw new Error("Input must be a GeoJSON LineString");
47
- return $s.encode(op(_.coordinates), S);
47
+ return $s.encode(lp(_.coordinates), S);
48
48
  };
49
49
  $s.toGeoJSON = function(_, S) {
50
50
  var k = $s.decode(_, S);
51
51
  return {
52
52
  type: "LineString",
53
- coordinates: op(k)
53
+ coordinates: lp(k)
54
54
  };
55
55
  };
56
56
  var jm = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
57
57
  function Um(_) {
58
58
  return _ && _.__esModule && Object.prototype.hasOwnProperty.call(_, "default") ? _.default : _;
59
59
  }
60
- var ap = { exports: {} };
60
+ var cp = { exports: {} };
61
61
  /**
62
62
  * MapLibre GL JS
63
63
  * @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v4.5.2/LICENSE.txt
@@ -209,11 +209,11 @@ var ap = { exports: {} };
209
209
  } };
210
210
  var Ze = _e(oe);
211
211
  let et, Ne;
212
- function pt() {
212
+ function dt() {
213
213
  return et == null && (et = typeof OffscreenCanvas < "u" && new OffscreenCanvas(1, 1).getContext("2d") && typeof createImageBitmap == "function"), et;
214
214
  }
215
215
  function Ot() {
216
- if (Ne == null && (Ne = !1, pt())) {
216
+ if (Ne == null && (Ne = !1, dt())) {
217
217
  const e = new OffscreenCanvas(5, 5).getContext("2d", { willReadFrequently: !0 });
218
218
  if (e) {
219
219
  for (let s = 0; s < 5 * 5; s++) {
@@ -266,7 +266,7 @@ var ap = { exports: {} };
266
266
  function Ti(i, e, r) {
267
267
  return (r.y - i.y) * (e.x - i.x) > (e.y - i.y) * (r.x - i.x);
268
268
  }
269
- function Ar(i) {
269
+ function Pr(i) {
270
270
  return typeof WorkerGlobalScope < "u" && i !== void 0 && i instanceof WorkerGlobalScope;
271
271
  }
272
272
  let Mn = null;
@@ -295,7 +295,7 @@ var ap = { exports: {} };
295
295
  }
296
296
  });
297
297
  }
298
- let Cr, Ei;
298
+ let Ar, Ei;
299
299
  const er = "AbortError";
300
300
  function zn() {
301
301
  return new Error(er);
@@ -310,11 +310,11 @@ var ap = { exports: {} };
310
310
  super(`AJAXError: ${r} (${e}): ${s}`), this.status = e, this.statusText = r, this.url = s, this.body = l;
311
311
  }
312
312
  }
313
- const tr = () => Ar(self) ? self.worker && self.worker.referrer : (window.location.protocol === "blob:" ? window.parent : window).location.href, dn = function(i, e) {
313
+ const tr = () => Pr(self) ? self.worker && self.worker.referrer : (window.location.protocol === "blob:" ? window.parent : window).location.href, dn = function(i, e) {
314
314
  if (/:\/\//.test(i.url) && !/^https?:|^file:/.test(i.url)) {
315
315
  const s = mr(i.url);
316
316
  if (s) return s(i, e);
317
- if (Ar(self) && self.worker && self.worker.actor) return self.worker.actor.sendAsync({ type: "GR", data: i, targetMapId: Dn }, e);
317
+ if (Pr(self) && self.worker && self.worker.actor) return self.worker.actor.sendAsync({ type: "GR", data: i, targetMapId: Dn }, e);
318
318
  }
319
319
  if (!(/^file:/.test(r = i.url) || /^file:/.test(tr()) && !/^\w+:/.test(r))) {
320
320
  if (fetch && Request && AbortController && Object.prototype.hasOwnProperty.call(Request.prototype, "signal")) return function(s, l) {
@@ -333,7 +333,7 @@ var ap = { exports: {} };
333
333
  return { data: g, cacheControl: p.headers.get("Cache-Control"), expires: p.headers.get("Expires") };
334
334
  });
335
335
  }(i, e);
336
- if (Ar(self) && self.worker && self.worker.actor) return self.worker.actor.sendAsync({ type: "GR", data: i, mustQueue: !0, targetMapId: Dn }, e);
336
+ if (Pr(self) && self.worker && self.worker.actor) return self.worker.actor.sendAsync({ type: "GR", data: i, mustQueue: !0, targetMapId: Dn }, e);
337
337
  }
338
338
  var r;
339
339
  return function(s, l) {
@@ -371,7 +371,7 @@ var ap = { exports: {} };
371
371
  function os(i, e, r) {
372
372
  r[i] && r[i].indexOf(e) !== -1 || (r[i] = r[i] || [], r[i].push(e));
373
373
  }
374
- function kr(i, e, r) {
374
+ function Cr(i, e, r) {
375
375
  if (r && r[i]) {
376
376
  const s = r[i].indexOf(e);
377
377
  s !== -1 && r[i].splice(s, 1);
@@ -392,7 +392,7 @@ var ap = { exports: {} };
392
392
  return this._listeners = this._listeners || {}, os(e, r, this._listeners), this;
393
393
  }
394
394
  off(e, r) {
395
- return kr(e, r, this._listeners), kr(e, r, this._oneTimeListeners), this;
395
+ return Cr(e, r, this._listeners), Cr(e, r, this._oneTimeListeners), this;
396
396
  }
397
397
  once(e, r) {
398
398
  return r ? (this._oneTimeListeners = this._oneTimeListeners || {}, os(e, r, this._oneTimeListeners), this) : new Promise((s) => this.once(e, s));
@@ -405,7 +405,7 @@ var ap = { exports: {} };
405
405
  const l = this._listeners && this._listeners[s] ? this._listeners[s].slice() : [];
406
406
  for (const f of l) f.call(this, e);
407
407
  const d = this._oneTimeListeners && this._oneTimeListeners[s] ? this._oneTimeListeners[s].slice() : [];
408
- for (const f of d) kr(s, f, this._oneTimeListeners), f.call(this, e);
408
+ for (const f of d) Cr(s, f, this._oneTimeListeners), f.call(this, e);
409
409
  const p = this._eventedParent;
410
410
  p && ($t(e, typeof this._eventedParentData == "function" ? this._eventedParentData() : this._eventedParentData), p.fire(e));
411
411
  } else e instanceof Gr && console.error(e.error);
@@ -449,7 +449,7 @@ var ap = { exports: {} };
449
449
  function Hr(i, e, r) {
450
450
  qt(e, { command: "removeSource", args: [i] }), r[i] = !0;
451
451
  }
452
- function Er(i, e, r, s) {
452
+ function kr(i, e, r, s) {
453
453
  Hr(i, r, s), ls(i, e, r);
454
454
  }
455
455
  function Rn(i, e, r) {
@@ -500,7 +500,7 @@ var ap = { exports: {} };
500
500
  return !!this.bindings[e] || !!this.parent && this.parent.has(e);
501
501
  }
502
502
  }
503
- const Wr = { kind: "null" }, Ce = { kind: "number" }, ot = { kind: "string" }, Je = { kind: "boolean" }, Mi = { kind: "color" }, ir = { kind: "object" }, it = { kind: "value" }, yr = { kind: "collator" }, Mr = { kind: "formatted" }, Xr = { kind: "padding" }, xr = { kind: "resolvedImage" }, G = { kind: "variableAnchorOffsetCollection" };
503
+ const Wr = { kind: "null" }, Ce = { kind: "number" }, ot = { kind: "string" }, Je = { kind: "boolean" }, Mi = { kind: "color" }, ir = { kind: "object" }, it = { kind: "value" }, yr = { kind: "collator" }, Er = { kind: "formatted" }, Xr = { kind: "padding" }, xr = { kind: "resolvedImage" }, G = { kind: "variableAnchorOffsetCollection" };
504
504
  function M(i, e) {
505
505
  return { kind: "array", itemType: i, N: e };
506
506
  }
@@ -511,7 +511,7 @@ var ap = { exports: {} };
511
511
  }
512
512
  return i.kind;
513
513
  }
514
- const O = [Wr, Ce, ot, Je, Mi, Mr, ir, M(it), Xr, xr, G];
514
+ const O = [Wr, Ce, ot, Je, Mi, Er, ir, M(it), Xr, xr, G];
515
515
  function q(i, e) {
516
516
  if (e.kind === "error") return null;
517
517
  if (i.kind === "array") {
@@ -534,7 +534,7 @@ var ap = { exports: {} };
534
534
  return i.kind === "array" && e.kind === "array" ? i.itemType.kind === e.itemType.kind && typeof i.N == "number" : i.kind === e.kind;
535
535
  }
536
536
  const J = 0.96422, de = 0.82521, ge = 4 / 29, ce = 6 / 29, Pe = 3 * ce * ce, Ge = ce * ce * ce, He = Math.PI / 180, nt = 180 / Math.PI;
537
- function ft(i) {
537
+ function pt(i) {
538
538
  return (i %= 360) < 0 && (i += 360), i;
539
539
  }
540
540
  function rt([i, e, r, s]) {
@@ -616,7 +616,7 @@ var ap = { exports: {} };
616
616
  const Le = (xe + W / 30) % 12, We = se * Math.min(Y, 1 - Y);
617
617
  return Y - We * Math.max(-1, Math.min(Le - 3, 9 - Le, 1));
618
618
  }
619
- return W = ft(W), se /= 100, Y /= 100, [ue(0), ue(8), ue(4), ie];
619
+ return W = pt(W), se /= 100, Y /= 100, [ue(0), ue(8), ue(4), ie];
620
620
  }($);
621
621
  }
622
622
  }
@@ -630,7 +630,7 @@ var ap = { exports: {} };
630
630
  get hcl() {
631
631
  return this.overwriteGetter("hcl", function(e) {
632
632
  const [r, s, l, d] = rt(e), p = Math.sqrt(s * s + l * l);
633
- return [Math.round(1e4 * p) ? ft(Math.atan2(l, s) * nt) : NaN, p, r, d];
633
+ return [Math.round(1e4 * p) ? pt(Math.atan2(l, s) * nt) : NaN, p, r, d];
634
634
  }(this.rgb));
635
635
  }
636
636
  get lab() {
@@ -756,7 +756,7 @@ var ap = { exports: {} };
756
756
  if (typeof i == "number") return Ce;
757
757
  if (i instanceof bt) return Mi;
758
758
  if (i instanceof qo) return yr;
759
- if (i instanceof Ni) return Mr;
759
+ if (i instanceof Ni) return Er;
760
760
  if (i instanceof ji) return Xr;
761
761
  if (i instanceof Ui) return G;
762
762
  if (i instanceof pi) return xr;
@@ -776,7 +776,7 @@ var ap = { exports: {} };
776
776
  }
777
777
  return ir;
778
778
  }
779
- function zr(i) {
779
+ function Mr(i) {
780
780
  const e = typeof i;
781
781
  return i === null ? "" : e === "string" || e === "number" || e === "boolean" ? String(i) : i instanceof bt || i instanceof Ni || i instanceof ji || i instanceof Ui || i instanceof pi ? i.toString() : JSON.stringify(i);
782
782
  }
@@ -918,11 +918,11 @@ var ap = { exports: {} };
918
918
  throw new Kt(`Could not convert ${JSON.stringify(r)} to number.`);
919
919
  }
920
920
  case "formatted":
921
- return Ni.fromString(zr(this.args[0].evaluate(e)));
921
+ return Ni.fromString(Mr(this.args[0].evaluate(e)));
922
922
  case "resolvedImage":
923
- return pi.fromString(zr(this.args[0].evaluate(e)));
923
+ return pi.fromString(Mr(this.args[0].evaluate(e)));
924
924
  default:
925
- return zr(this.args[0].evaluate(e));
925
+ return Mr(this.args[0].evaluate(e));
926
926
  }
927
927
  }
928
928
  eachChild(e) {
@@ -1488,7 +1488,7 @@ var ap = { exports: {} };
1488
1488
  }
1489
1489
  function gn(i, e, r) {
1490
1490
  const s = i !== "==" && i !== "!=";
1491
- return class lp {
1491
+ return class hp {
1492
1492
  constructor(d, p, f) {
1493
1493
  this.type = Je, this.lhs = d, this.rhs = p, this.collator = f, this.hasUntypedArgument = d.type.kind === "value" || p.type.kind === "value";
1494
1494
  }
@@ -1508,7 +1508,7 @@ var ap = { exports: {} };
1508
1508
  if (g.type.kind !== "string" && x.type.kind !== "string" && g.type.kind !== "value" && x.type.kind !== "value") return p.error("Cannot use collator to compare non-string types.");
1509
1509
  if (w = p.parse(d[3], 3, yr), !w) return null;
1510
1510
  }
1511
- return new lp(g, x, w);
1511
+ return new hp(g, x, w);
1512
1512
  }
1513
1513
  evaluate(d) {
1514
1514
  const p = this.lhs.evaluate(d), f = this.rhs.evaluate(d);
@@ -1609,7 +1609,7 @@ var ap = { exports: {} };
1609
1609
  }
1610
1610
  class io {
1611
1611
  constructor(e) {
1612
- this.type = Mr, this.sections = e;
1612
+ this.type = Er, this.sections = e;
1613
1613
  }
1614
1614
  static parse(e, r) {
1615
1615
  if (e.length < 2) return r.error("Expected at least one argument.");
@@ -1642,7 +1642,7 @@ var ap = { exports: {} };
1642
1642
  evaluate(e) {
1643
1643
  return new Ni(this.sections.map((r) => {
1644
1644
  const s = r.content.evaluate(e);
1645
- return ei(s) === xr ? new Zo("", s, null, null, null) : new Zo(zr(s), null, r.scale ? r.scale.evaluate(e) : null, r.font ? r.font.evaluate(e).join(",") : null, r.textColor ? r.textColor.evaluate(e) : null);
1645
+ return ei(s) === xr ? new Zo("", s, null, null, null) : new Zo(Mr(s), null, r.scale ? r.scale.evaluate(e) : null, r.font ? r.font.evaluate(e).join(",") : null, r.textColor ? r.textColor.evaluate(e) : null);
1646
1646
  }));
1647
1647
  }
1648
1648
  eachChild(e) {
@@ -1974,7 +1974,7 @@ var ap = { exports: {} };
1974
1974
  function so(i) {
1975
1975
  return i[1] - i[0] + 1;
1976
1976
  }
1977
- function Dr(i, e) {
1977
+ function zr(i, e) {
1978
1978
  return i[1] >= i[0] && i[1] < e;
1979
1979
  }
1980
1980
  function bs(i, e) {
@@ -1990,7 +1990,7 @@ var ap = { exports: {} };
1990
1990
  return [[i[0], i[0] + s], [i[0] + s + 1, i[1]]];
1991
1991
  }
1992
1992
  function ea(i, e) {
1993
- if (!Dr(e, i.length)) return [1 / 0, 1 / 0, -1 / 0, -1 / 0];
1993
+ if (!zr(e, i.length)) return [1 / 0, 1 / 0, -1 / 0, -1 / 0];
1994
1994
  const r = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
1995
1995
  for (let s = e[0]; s <= e[1]; ++s) ut(r, i[s]);
1996
1996
  return r;
@@ -2017,7 +2017,7 @@ var ap = { exports: {} };
2017
2017
  return Math.min(d, p);
2018
2018
  }
2019
2019
  function ct(i, e, r, s, l) {
2020
- if (!Dr(e, i.length) || !Dr(s, r.length)) return 1 / 0;
2020
+ if (!zr(e, i.length) || !zr(s, r.length)) return 1 / 0;
2021
2021
  let d = 1 / 0;
2022
2022
  for (let p = e[0]; p < e[1]; ++p) {
2023
2023
  const f = i[p], g = i[p + 1];
@@ -2030,7 +2030,7 @@ var ap = { exports: {} };
2030
2030
  return d;
2031
2031
  }
2032
2032
  function na(i, e, r, s, l) {
2033
- if (!Dr(e, i.length) || !Dr(s, r.length)) return NaN;
2033
+ if (!zr(e, i.length) || !zr(s, r.length)) return NaN;
2034
2034
  let d = 1 / 0;
2035
2035
  for (let p = e[0]; p <= e[1]; ++p) for (let f = s[0]; f <= s[1]; ++f) if (d = Math.min(d, l.distance(i[p], r[f])), d === 0) return d;
2036
2036
  return d;
@@ -2047,7 +2047,7 @@ var ap = { exports: {} };
2047
2047
  return s;
2048
2048
  }
2049
2049
  function zt(i, e, r, s) {
2050
- if (!Dr(e, i.length)) return NaN;
2050
+ if (!zr(e, i.length)) return NaN;
2051
2051
  for (let d = e[0]; d <= e[1]; ++d) if (On(i[d], r, !0)) return 0;
2052
2052
  let l = 1 / 0;
2053
2053
  for (let d = e[0]; d < e[1]; ++d) {
@@ -2100,7 +2100,7 @@ var ap = { exports: {} };
2100
2100
  if (g[0] >= d) continue;
2101
2101
  const x = g[1], w = e ? 50 : 100;
2102
2102
  if (so(x) <= w) {
2103
- if (!Dr(x, i.length)) return NaN;
2103
+ if (!zr(x, i.length)) return NaN;
2104
2104
  if (e) {
2105
2105
  const I = zt(i, x, r, s);
2106
2106
  if (isNaN(I) || I === 0) return I;
@@ -2125,7 +2125,7 @@ var ap = { exports: {} };
2125
2125
  if (g[0] >= p) continue;
2126
2126
  const x = g[1], w = g[2], I = e ? 50 : 100, C = s ? 50 : 100;
2127
2127
  if (so(x) <= I && so(w) <= C) {
2128
- if (!Dr(x, i.length) && Dr(w, r.length)) return NaN;
2128
+ if (!zr(x, i.length) && zr(w, r.length)) return NaN;
2129
2129
  let D;
2130
2130
  if (e && s) D = ct(i, x, r, w, l), p = Math.min(p, D);
2131
2131
  else if (e && !s) {
@@ -2351,7 +2351,7 @@ var ap = { exports: {} };
2351
2351
  function Nn(i) {
2352
2352
  return !!i.expression && i.expression.interpolated;
2353
2353
  }
2354
- function mt(i) {
2354
+ function ft(i) {
2355
2355
  return i instanceof Number ? "number" : i instanceof String ? "string" : i instanceof Boolean ? "boolean" : Array.isArray(i) ? "array" : i === null ? "null" : typeof i;
2356
2356
  }
2357
2357
  function Ts(i) {
@@ -2406,7 +2406,7 @@ var ap = { exports: {} };
2406
2406
  return bn(typeof r === l ? s[r] : void 0, i.default, e.default);
2407
2407
  }
2408
2408
  function mo(i, e, r) {
2409
- if (mt(r) !== "number") return bn(i.default, e.default);
2409
+ if (ft(r) !== "number") return bn(i.default, e.default);
2410
2410
  const s = i.stops.length;
2411
2411
  if (s === 1 || r <= i.stops[0][0]) return i.stops[0][1];
2412
2412
  if (r >= i.stops[s - 1][0]) return i.stops[s - 1][1];
@@ -2415,7 +2415,7 @@ var ap = { exports: {} };
2415
2415
  }
2416
2416
  function ha(i, e, r) {
2417
2417
  const s = i.base !== void 0 ? i.base : 1;
2418
- if (mt(r) !== "number") return bn(i.default, e.default);
2418
+ if (ft(r) !== "number") return bn(i.default, e.default);
2419
2419
  const l = i.stops.length;
2420
2420
  if (l === 1 || r <= i.stops[0][0]) return i.stops[0][1];
2421
2421
  if (r >= i.stops[l - 1][0]) return i.stops[l - 1][1];
@@ -2443,7 +2443,7 @@ var ap = { exports: {} };
2443
2443
  r = ji.parse(r);
2444
2444
  break;
2445
2445
  default:
2446
- mt(r) === e.type || e.type === "enum" && e.values[r] || (r = void 0);
2446
+ ft(r) === e.type || e.type === "enum" && e.values[r] || (r = void 0);
2447
2447
  }
2448
2448
  return bn(r, i.default, e.default);
2449
2449
  }
@@ -2503,7 +2503,7 @@ var ap = { exports: {} };
2503
2503
  }]] }, "!": [Je, [Je], (i, [e]) => !e.evaluate(i)], "is-supported-script": [Je, [ot], (i, [e]) => {
2504
2504
  const r = i.globals && i.globals.isSupportedScript;
2505
2505
  return !r || r(e.evaluate(i));
2506
- }], upcase: [ot, [ot], (i, [e]) => e.evaluate(i).toUpperCase()], downcase: [ot, [ot], (i, [e]) => e.evaluate(i).toLowerCase()], concat: [ot, xn(it), (i, e) => e.map((r) => zr(r.evaluate(i))).join("")], "resolved-locale": [ot, [yr], (i, [e]) => e.evaluate(i).resolvedLocale()] });
2506
+ }], upcase: [ot, [ot], (i, [e]) => e.evaluate(i).toUpperCase()], downcase: [ot, [ot], (i, [e]) => e.evaluate(i).toLowerCase()], concat: [ot, xn(it), (i, e) => e.map((r) => Mr(r.evaluate(i))).join("")], "resolved-locale": [ot, [yr], (i, [e]) => e.evaluate(i).resolvedLocale()] });
2507
2507
  class go {
2508
2508
  constructor(e, r) {
2509
2509
  var s;
@@ -2529,7 +2529,7 @@ var ap = { exports: {} };
2529
2529
  }
2530
2530
  function wn(i, e) {
2531
2531
  const r = new Kr(yn, ho, [], e ? function(l) {
2532
- const d = { color: Mi, string: ot, number: Ce, enum: ot, boolean: Je, formatted: Mr, padding: Xr, resolvedImage: xr, variableAnchorOffsetCollection: G };
2532
+ const d = { color: Mi, string: ot, number: Ce, enum: ot, boolean: Je, formatted: Er, padding: Xr, resolvedImage: xr, variableAnchorOffsetCollection: G };
2533
2533
  return l.type === "array" ? M(d[l.value] || it, l.length) : d[l.type];
2534
2534
  }(e) : void 0), s = r.parse(i, void 0, void 0, void 0, e && e.type === "string" ? { typeAnnotation: "coerce" } : void 0);
2535
2535
  return s ? Dl(new go(s, e)) : Vn(r.errors);
@@ -2712,7 +2712,7 @@ var ap = { exports: {} };
2712
2712
  function zi(i) {
2713
2713
  const e = i.key, r = i.value, s = i.valueSpec || {}, l = i.objectElementValidators || {}, d = i.style, p = i.styleSpec, f = i.validateSpec;
2714
2714
  let g = [];
2715
- const x = mt(r);
2715
+ const x = ft(r);
2716
2716
  if (x !== "object") return [new Te(e, r, `object expected, ${x} found`)];
2717
2717
  for (const w in r) {
2718
2718
  const I = w.split(".")[0], C = s[I] || s["*"];
@@ -2734,28 +2734,28 @@ var ap = { exports: {} };
2734
2734
  }
2735
2735
  function bo(i) {
2736
2736
  const e = i.value, r = i.valueSpec, s = i.style, l = i.styleSpec, d = i.key, p = i.arrayElementValidator || i.validateSpec;
2737
- if (mt(e) !== "array") return [new Te(d, e, `array expected, ${mt(e)} found`)];
2737
+ if (ft(e) !== "array") return [new Te(d, e, `array expected, ${ft(e)} found`)];
2738
2738
  if (r.length && e.length !== r.length) return [new Te(d, e, `array length ${r.length} expected, length ${e.length} found`)];
2739
2739
  if (r["min-length"] && e.length < r["min-length"]) return [new Te(d, e, `array length at least ${r["min-length"]} expected, length ${e.length} found`)];
2740
2740
  let f = { type: r.value, values: r.values };
2741
- l.$version < 7 && (f.function = r.function), mt(r.value) === "object" && (f = r.value);
2741
+ l.$version < 7 && (f.function = r.function), ft(r.value) === "object" && (f = r.value);
2742
2742
  let g = [];
2743
2743
  for (let x = 0; x < e.length; x++) g = g.concat(p({ array: e, arrayIndex: x, value: e[x], valueSpec: f, validateSpec: i.validateSpec, style: s, styleSpec: l, key: `${d}[${x}]` }));
2744
2744
  return g;
2745
2745
  }
2746
2746
  function As(i) {
2747
2747
  const e = i.key, r = i.value, s = i.valueSpec;
2748
- let l = mt(r);
2748
+ let l = ft(r);
2749
2749
  return l === "number" && r != r && (l = "NaN"), l !== "number" ? [new Te(e, r, `number expected, ${l} found`)] : "minimum" in s && r < s.minimum ? [new Te(e, r, `${r} is less than the minimum value ${s.minimum}`)] : "maximum" in s && r > s.maximum ? [new Te(e, r, `${r} is greater than the maximum value ${s.maximum}`)] : [];
2750
2750
  }
2751
2751
  function xa(i) {
2752
2752
  const e = i.valueSpec, r = Dt(i.value.type);
2753
2753
  let s, l, d, p = {};
2754
- const f = r !== "categorical" && i.value.property === void 0, g = !f, x = mt(i.value.stops) === "array" && mt(i.value.stops[0]) === "array" && mt(i.value.stops[0][0]) === "object", w = zi({ key: i.key, value: i.value, valueSpec: i.styleSpec.function, validateSpec: i.validateSpec, style: i.style, styleSpec: i.styleSpec, objectElementValidators: { stops: function(D) {
2754
+ const f = r !== "categorical" && i.value.property === void 0, g = !f, x = ft(i.value.stops) === "array" && ft(i.value.stops[0]) === "array" && ft(i.value.stops[0][0]) === "object", w = zi({ key: i.key, value: i.value, valueSpec: i.styleSpec.function, validateSpec: i.validateSpec, style: i.style, styleSpec: i.styleSpec, objectElementValidators: { stops: function(D) {
2755
2755
  if (r === "identity") return [new Te(D.key, D.value, 'identity function may not have a "stops" property')];
2756
2756
  let R = [];
2757
2757
  const B = D.value;
2758
- return R = R.concat(bo({ key: D.key, value: B, valueSpec: D.valueSpec, validateSpec: D.validateSpec, style: D.style, styleSpec: D.styleSpec, arrayElementValidator: I })), mt(B) === "array" && B.length === 0 && R.push(new Te(D.key, B, "array must have at least one stop")), R;
2758
+ return R = R.concat(bo({ key: D.key, value: B, valueSpec: D.valueSpec, validateSpec: D.validateSpec, style: D.style, styleSpec: D.styleSpec, arrayElementValidator: I })), ft(B) === "array" && B.length === 0 && R.push(new Te(D.key, B, "array must have at least one stop")), R;
2759
2759
  }, default: function(D) {
2760
2760
  return D.validateSpec({ key: D.key, value: D.value, valueSpec: e, validateSpec: D.validateSpec, style: D.style, styleSpec: D.styleSpec });
2761
2761
  } } });
@@ -2763,10 +2763,10 @@ var ap = { exports: {} };
2763
2763
  function I(D) {
2764
2764
  let R = [];
2765
2765
  const B = D.value, $ = D.key;
2766
- if (mt(B) !== "array") return [new Te($, B, `array expected, ${mt(B)} found`)];
2766
+ if (ft(B) !== "array") return [new Te($, B, `array expected, ${ft(B)} found`)];
2767
2767
  if (B.length !== 2) return [new Te($, B, `array length 2 expected, length ${B.length} found`)];
2768
2768
  if (x) {
2769
- if (mt(B[0]) !== "object") return [new Te($, B, `object expected, ${mt(B[0])} found`)];
2769
+ if (ft(B[0]) !== "object") return [new Te($, B, `object expected, ${ft(B[0])} found`)];
2770
2770
  if (B[0].zoom === void 0) return [new Te($, B, "object stop key must have zoom")];
2771
2771
  if (B[0].value === void 0) return [new Te($, B, "object stop key must have value")];
2772
2772
  if (d && d > Dt(B[0].zoom)) return [new Te($, B[0].zoom, "stop zoom values must appear in ascending order")];
@@ -2775,7 +2775,7 @@ var ap = { exports: {} };
2775
2775
  return Is(Sn(B[1])) ? R.concat([new Te(`${$}[1]`, B[1], "expressions are not allowed in function stops.")]) : R.concat(D.validateSpec({ key: `${$}[1]`, value: B[1], valueSpec: e, validateSpec: D.validateSpec, style: D.style, styleSpec: D.styleSpec }));
2776
2776
  }
2777
2777
  function C(D, R) {
2778
- const B = mt(D.value), $ = Dt(D.value), W = D.value !== null ? D.value : R;
2778
+ const B = ft(D.value), $ = Dt(D.value), W = D.value !== null ? D.value : R;
2779
2779
  if (s) {
2780
2780
  if (B !== s) return [new Te(D.key, W, `${B} stop domain type must match previous stop domain type ${s}`)];
2781
2781
  } else s = B;
@@ -2809,7 +2809,7 @@ var ap = { exports: {} };
2809
2809
  }
2810
2810
  function Es(i) {
2811
2811
  const e = i.value, r = i.key;
2812
- if (mt(e) !== "array") return [new Te(r, e, `array expected, ${mt(e)} found`)];
2812
+ if (ft(e) !== "array") return [new Te(r, e, `array expected, ${ft(e)} found`)];
2813
2813
  const s = i.styleSpec;
2814
2814
  let l, d = [];
2815
2815
  if (e.length < 1) return [new Te(r, e, "filter array must have at least 1 element")];
@@ -2824,8 +2824,8 @@ var ap = { exports: {} };
2824
2824
  e.length !== 3 && d.push(new Te(r, e, `filter array for operator "${e[0]}" must have 3 elements`));
2825
2825
  case "in":
2826
2826
  case "!in":
2827
- e.length >= 2 && (l = mt(e[1]), l !== "string" && d.push(new Te(`${r}[1]`, e[1], `string expected, ${l} found`)));
2828
- for (let p = 2; p < e.length; p++) l = mt(e[p]), Dt(e[1]) === "$type" ? d = d.concat(Cs({ key: `${r}[${p}]`, value: e[p], valueSpec: s.geometry_type, style: i.style, styleSpec: i.styleSpec })) : l !== "string" && l !== "number" && l !== "boolean" && d.push(new Te(`${r}[${p}]`, e[p], `string, number, or boolean expected, ${l} found`));
2827
+ e.length >= 2 && (l = ft(e[1]), l !== "string" && d.push(new Te(`${r}[1]`, e[1], `string expected, ${l} found`)));
2828
+ for (let p = 2; p < e.length; p++) l = ft(e[p]), Dt(e[1]) === "$type" ? d = d.concat(Cs({ key: `${r}[${p}]`, value: e[p], valueSpec: s.geometry_type, style: i.style, styleSpec: i.styleSpec })) : l !== "string" && l !== "number" && l !== "boolean" && d.push(new Te(`${r}[${p}]`, e[p], `string, number, or boolean expected, ${l} found`));
2829
2829
  break;
2830
2830
  case "any":
2831
2831
  case "all":
@@ -2834,7 +2834,7 @@ var ap = { exports: {} };
2834
2834
  break;
2835
2835
  case "has":
2836
2836
  case "!has":
2837
- l = mt(e[1]), e.length !== 2 ? d.push(new Te(r, e, `filter array for "${e[0]}" operator must have 2 elements`)) : l !== "string" && d.push(new Te(`${r}[1]`, e[1], `string expected, ${l} found`));
2837
+ l = ft(e[1]), e.length !== 2 ? d.push(new Te(r, e, `filter array for "${e[0]}" operator must have 2 elements`)) : l !== "string" && d.push(new Te(`${r}[1]`, e[1], `string expected, ${l} found`));
2838
2838
  }
2839
2839
  return d;
2840
2840
  }
@@ -2846,7 +2846,7 @@ var ap = { exports: {} };
2846
2846
  const w = i.valueSpec || g[f];
2847
2847
  if (!w) return [new Te(r, p, `unknown property "${f}"`)];
2848
2848
  let I;
2849
- if (mt(p) === "string" && vn(w) && !w.tokens && (I = /^{([^}]+)}$/.exec(p))) return [new Te(r, p, `"${f}" does not support interpolation syntax
2849
+ if (ft(p) === "string" && vn(w) && !w.tokens && (I = /^{([^}]+)}$/.exec(p))) return [new Te(r, p, `"${f}" does not support interpolation syntax
2850
2850
  Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(I[1])} }\`.`)];
2851
2851
  const C = [];
2852
2852
  return i.layerType === "symbol" && (f === "text-field" && l && !l.glyphs && C.push(new Te(r, p, 'use of "text-field" requires a style "glyphs" property')), f === "text-font" && Ts(Sn(p)) && Dt(p.type) === "identity" && C.push(new Te(r, p, '"text-font" does not support identity functions'))), C.concat(s({ key: i.key, value: p, valueSpec: w, style: l, styleSpec: d, expressionContext: "property", propertyType: e, propertyKey: f }));
@@ -2883,15 +2883,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
2883
2883
  } else e.push(new Te(s, r, 'missing required property "source"'));
2884
2884
  return e = e.concat(zi({ key: s, value: r, valueSpec: d.layer, style: i.style, styleSpec: i.styleSpec, validateSpec: i.validateSpec, objectElementValidators: { "*": () => [], type: () => i.validateSpec({ key: `${s}.type`, value: r.type, valueSpec: d.layer.type, style: i.style, styleSpec: i.styleSpec, validateSpec: i.validateSpec, object: r, objectKey: "type" }), filter: ks, layout: (g) => zi({ layer: r, key: g.key, value: g.value, style: g.style, styleSpec: g.styleSpec, validateSpec: g.validateSpec, objectElementValidators: { "*": (x) => wa(gr({ layerType: p }, x)) } }), paint: (g) => zi({ layer: r, key: g.key, value: g.value, style: g.style, styleSpec: g.styleSpec, validateSpec: g.validateSpec, objectElementValidators: { "*": (x) => ba(gr({ layerType: p }, x)) } }) } })), e;
2885
2885
  }
2886
- function Lr(i) {
2887
- const e = i.value, r = i.key, s = mt(e);
2886
+ function Dr(i) {
2887
+ const e = i.value, r = i.key, s = ft(e);
2888
2888
  return s !== "string" ? [new Te(r, e, `string expected, ${s} found`)] : [];
2889
2889
  }
2890
2890
  const Ta = { promoteId: function({ key: i, value: e }) {
2891
- if (mt(e) === "string") return Lr({ key: i, value: e });
2891
+ if (ft(e) === "string") return Dr({ key: i, value: e });
2892
2892
  {
2893
2893
  const r = [];
2894
- for (const s in e) r.push(...Lr({ key: `${i}.${s}`, value: e[s] }));
2894
+ for (const s in e) r.push(...Dr({ key: `${i}.${s}`, value: e[s] }));
2895
2895
  return r;
2896
2896
  }
2897
2897
  } };
@@ -2909,7 +2909,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
2909
2909
  var x;
2910
2910
  const w = (x = g.sourceName) !== null && x !== void 0 ? x : "", I = g.value, C = g.styleSpec, D = C.source_raster_dem, R = g.style;
2911
2911
  let B = [];
2912
- const $ = mt(I);
2912
+ const $ = ft(I);
2913
2913
  if (I === void 0) return B;
2914
2914
  if ($ !== "object") return B.push(new Te("source_raster_dem", I, `object expected, ${$} found`)), B;
2915
2915
  const W = Dt(I.encoding) === "custom", se = ["redFactor", "greenFactor", "blueFactor", "baseShift"], Y = g.value.encoding ? `"${g.value.encoding}"` : "Default";
@@ -2935,7 +2935,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
2935
2935
  function Ia(i) {
2936
2936
  const e = i.value, r = i.styleSpec, s = r.light, l = i.style;
2937
2937
  let d = [];
2938
- const p = mt(e);
2938
+ const p = ft(e);
2939
2939
  if (e === void 0) return d;
2940
2940
  if (p !== "object") return d = d.concat([new Te("light", e, `object expected, ${p} found`)]), d;
2941
2941
  for (const f in e) {
@@ -2945,7 +2945,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
2945
2945
  return d;
2946
2946
  }
2947
2947
  function Vl(i) {
2948
- const e = i.value, r = i.styleSpec, s = r.sky, l = i.style, d = mt(e);
2948
+ const e = i.value, r = i.styleSpec, s = r.sky, l = i.style, d = ft(e);
2949
2949
  if (e === void 0) return [];
2950
2950
  if (d !== "object") return [new Te("sky", e, `object expected, ${d} found`)];
2951
2951
  let p = [];
@@ -2955,7 +2955,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
2955
2955
  function Pa(i) {
2956
2956
  const e = i.value, r = i.styleSpec, s = r.terrain, l = i.style;
2957
2957
  let d = [];
2958
- const p = mt(e);
2958
+ const p = ft(e);
2959
2959
  if (e === void 0) return d;
2960
2960
  if (p !== "object") return d = d.concat([new Te("terrain", e, `object expected, ${p} found`)]), d;
2961
2961
  for (const f in e) d = d.concat(s[f] ? i.validateSpec({ key: f, value: e[f], valueSpec: s[f], validateSpec: i.validateSpec, style: l, styleSpec: r }) : [new Te(f, e[f], `unknown property "${f}"`)]);
@@ -2969,28 +2969,28 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
2969
2969
  for (const p in r) r[p].id && l.includes(r[p].id) && e.push(new Te(s, r, `all the sprites' ids must be unique, but ${r[p].id} is duplicated`)), l.push(r[p].id), r[p].url && d.includes(r[p].url) && e.push(new Te(s, r, `all the sprites' URLs must be unique, but ${r[p].url} is duplicated`)), d.push(r[p].url), e = e.concat(zi({ key: `${s}[${p}]`, value: r[p], valueSpec: { id: { type: "string", required: !0 }, url: { type: "string", required: !0 } }, validateSpec: i.validateSpec }));
2970
2970
  return e;
2971
2971
  }
2972
- return Lr({ key: s, value: r });
2972
+ return Dr({ key: s, value: r });
2973
2973
  }
2974
2974
  const Ca = { "*": () => [], array: bo, boolean: function(i) {
2975
- const e = i.value, r = i.key, s = mt(e);
2975
+ const e = i.value, r = i.key, s = ft(e);
2976
2976
  return s !== "boolean" ? [new Te(r, e, `boolean expected, ${s} found`)] : [];
2977
2977
  }, number: As, color: function(i) {
2978
- const e = i.key, r = i.value, s = mt(r);
2978
+ const e = i.key, r = i.value, s = ft(r);
2979
2979
  return s !== "string" ? [new Te(e, r, `color expected, ${s} found`)] : bt.parse(String(r)) ? [] : [new Te(e, r, `color expected, "${r}" found`)];
2980
2980
  }, constants: Bl, enum: Cs, filter: ks, function: xa, layer: Sa, object: zi, source: Ol, light: Ia, sky: Vl, terrain: Pa, projection: function(i) {
2981
- const e = i.value, r = i.styleSpec, s = r.projection, l = i.style, d = mt(e);
2981
+ const e = i.value, r = i.styleSpec, s = r.projection, l = i.style, d = ft(e);
2982
2982
  if (e === void 0) return [];
2983
2983
  if (d !== "object") return [new Te("projection", e, `object expected, ${d} found`)];
2984
2984
  let p = [];
2985
2985
  for (const f in e) p = p.concat(s[f] ? i.validateSpec({ key: f, value: e[f], valueSpec: s[f], style: l, styleSpec: r }) : [new Te(f, e[f], `unknown property "${f}"`)]);
2986
2986
  return p;
2987
- }, string: Lr, formatted: function(i) {
2988
- return Lr(i).length === 0 ? [] : Tn(i);
2987
+ }, string: Dr, formatted: function(i) {
2988
+ return Dr(i).length === 0 ? [] : Tn(i);
2989
2989
  }, resolvedImage: function(i) {
2990
- return Lr(i).length === 0 ? [] : Tn(i);
2990
+ return Dr(i).length === 0 ? [] : Tn(i);
2991
2991
  }, padding: function(i) {
2992
2992
  const e = i.key, r = i.value;
2993
- if (mt(r) === "array") {
2993
+ if (ft(r) === "array") {
2994
2994
  if (r.length < 1 || r.length > 4) return [new Te(e, r, `padding requires 1 to 4 values; ${r.length} values found`)];
2995
2995
  const s = { type: "number" };
2996
2996
  let l = [];
@@ -2999,7 +2999,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
2999
2999
  }
3000
3000
  return As({ key: e, value: r, valueSpec: {} });
3001
3001
  }, variableAnchorOffsetCollection: function(i) {
3002
- const e = i.key, r = i.value, s = mt(r), l = i.styleSpec;
3002
+ const e = i.key, r = i.value, s = ft(r), l = i.styleSpec;
3003
3003
  if (s !== "array" || r.length < 1 || r.length % 2 != 0) return [new Te(e, r, "variableAnchorOffsetCollection requires a non-empty array of even length")];
3004
3004
  let d = [];
3005
3005
  for (let p = 0; p < r.length; p += 2) d = d.concat(Cs({ key: `${e}[${p}]`, value: r[p], valueSpec: l.layout_symbol["text-anchor"] })), d = d.concat(bo({ key: `${e}[${p + 1}]`, value: r[p + 1], valueSpec: { length: 2, value: "number" }, validateSpec: i.validateSpec, style: i.style, styleSpec: l }));
@@ -3010,7 +3010,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3010
3010
  return i.validateSpec = Ms, r.expression && Ts(Dt(e)) ? xa(i) : r.expression && Is(Sn(e)) ? Tn(i) : r.type && Ca[r.type] ? Ca[r.type](i) : zi(gr({}, i, { valueSpec: r.type ? s[r.type] : r }));
3011
3011
  }
3012
3012
  function Nl(i) {
3013
- const e = i.value, r = i.key, s = Lr(i);
3013
+ const e = i.value, r = i.key, s = Dr(i);
3014
3014
  return s.length || (e.indexOf("{fontstack}") === -1 && s.push(new Te(r, e, '"glyphs" url must include a "{fontstack}" token')), e.indexOf("{range}") === -1 && s.push(new Te(r, e, '"glyphs" url must include a "{range}" token'))), s;
3015
3015
  }
3016
3016
  function Ki(i, e = he) {
@@ -3031,7 +3031,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3031
3031
  };
3032
3032
  }
3033
3033
  Ki.source = nr(rr(Ol)), Ki.sprite = nr(rr(Aa)), Ki.glyphs = nr(rr(Nl)), Ki.light = nr(rr(Ia)), Ki.sky = nr(rr(Vl)), Ki.terrain = nr(rr(Pa)), Ki.layer = nr(rr(Sa)), Ki.filter = nr(rr(ks)), Ki.paintProperty = nr(rr(ba)), Ki.layoutProperty = nr(rr(wa));
3034
- const Rr = Ki, Zc = Rr.light, Ea = Rr.sky, Gc = Rr.paintProperty, Hc = Rr.layoutProperty;
3034
+ const Lr = Ki, Zc = Lr.light, Ea = Lr.sky, Gc = Lr.paintProperty, Hc = Lr.layoutProperty;
3035
3035
  function Ma(i, e) {
3036
3036
  let r = !1;
3037
3037
  if (e && e.length) for (const s of e) i.fire(new Gr(new Error(s.message))), r = !0;
@@ -3580,7 +3580,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3580
3580
  return this.visibility && (e.layout = e.layout || {}, e.layout.visibility = this.visibility), $r(e, (r, s) => !(r === void 0 || s === "layout" && !Object.keys(r).length || s === "paint" && !Object.keys(r).length));
3581
3581
  }
3582
3582
  _validate(e, r, s, l, d = {}) {
3583
- return (!d || d.validate !== !1) && Ma(this, e.call(Rr, { key: r, layerType: this.type, objectKey: s, value: l, styleSpec: he, style: { glyphs: !0, sprite: !0 } }));
3583
+ return (!d || d.validate !== !1) && Ma(this, e.call(Lr, { key: r, layerType: this.type, objectKey: s, value: l, styleSpec: he, style: { glyphs: !0, sprite: !0 } }));
3584
3584
  }
3585
3585
  is3D() {
3586
3586
  return !1;
@@ -4251,7 +4251,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4251
4251
  }
4252
4252
  class si extends De {
4253
4253
  }
4254
- class Ut extends Ae {
4254
+ class jt extends Ae {
4255
4255
  }
4256
4256
  const Xn = b([{ name: "a_pos", components: 2, type: "Int16" }], 4), { members: Oa } = Xn;
4257
4257
  class ri {
@@ -4390,7 +4390,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4390
4390
  e.r === this.current.r && e.g === this.current.g && e.b === this.current.b && e.a === this.current.a || (this.current = e, this.gl.uniform4f(this.location, e.r, e.g, e.b, e.a));
4391
4391
  }
4392
4392
  }
4393
- const jp = new Float32Array(16);
4393
+ const $p = new Float32Array(16);
4394
4394
  function Jc(i) {
4395
4395
  return [Wl(255 * i.r, 255 * i.g), Wl(255 * i.b, 255 * i.a)];
4396
4396
  }
@@ -4448,7 +4448,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4448
4448
  this.paintVertexBuffer && this.paintVertexBuffer.destroy();
4449
4449
  }
4450
4450
  }
4451
- class Fr {
4451
+ class Rr {
4452
4452
  constructor(e, r, s, l, d, p) {
4453
4453
  this.expression = e, this.uniformNames = r.map((f) => `u_${f}_t`), this.type = s, this.useIntegerZoom = l, this.zoom = d, this.maxValue = 0, this.paintVertexAttributes = r.map((f) => ({ name: `a_${f}`, type: "Float32", components: s === "color" ? 4 : 2, offset: 0 })), this.paintVertexArray = new p();
4454
4454
  }
@@ -4514,26 +4514,26 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4514
4514
  if (!s(d)) continue;
4515
4515
  const p = e.paint.get(d);
4516
4516
  if (!(p instanceof Sr && vn(p.property.specification))) continue;
4517
- const f = Up(d, e.type), g = p.value, x = p.property.specification.type, w = p.property.useIntegerZoom, I = p.property.specification["property-type"], C = I === "cross-faded" || I === "cross-faded-data-driven";
4517
+ const f = qp(d, e.type), g = p.value, x = p.property.specification.type, w = p.property.useIntegerZoom, I = p.property.specification["property-type"], C = I === "cross-faded" || I === "cross-faded-data-driven";
4518
4518
  if (g.kind === "constant") this.binders[d] = C ? new ko(g.value, f) : new Ua(g.value, f, x), l.push(`/u_${d}`);
4519
4519
  else if (g.kind === "source" || C) {
4520
4520
  const D = ou(d, x, "source");
4521
4521
  this.binders[d] = C ? new Kn(g, x, w, r, D, e.id) : new An(g, f, x, D), l.push(`/a_${d}`);
4522
4522
  } else {
4523
4523
  const D = ou(d, x, "composite");
4524
- this.binders[d] = new Fr(g, f, x, w, r, D), l.push(`/z_${d}`);
4524
+ this.binders[d] = new Rr(g, f, x, w, r, D), l.push(`/z_${d}`);
4525
4525
  }
4526
4526
  }
4527
4527
  this.cacheKey = l.sort().join("");
4528
4528
  }
4529
4529
  getMaxValue(e) {
4530
4530
  const r = this.binders[e];
4531
- return r instanceof An || r instanceof Fr ? r.maxValue : 0;
4531
+ return r instanceof An || r instanceof Rr ? r.maxValue : 0;
4532
4532
  }
4533
4533
  populatePaintArrays(e, r, s, l, d) {
4534
4534
  for (const p in this.binders) {
4535
4535
  const f = this.binders[p];
4536
- (f instanceof An || f instanceof Fr || f instanceof Kn) && f.populatePaintArray(e, r, s, l, d);
4536
+ (f instanceof An || f instanceof Rr || f instanceof Kn) && f.populatePaintArray(e, r, s, l, d);
4537
4537
  }
4538
4538
  }
4539
4539
  setConstantPatternPositions(e, r) {
@@ -4550,7 +4550,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4550
4550
  const w = s.feature(x.index);
4551
4551
  for (const I in this.binders) {
4552
4552
  const C = this.binders[I];
4553
- if ((C instanceof An || C instanceof Fr || C instanceof Kn) && C.expression.isStateDependent === !0) {
4553
+ if ((C instanceof An || C instanceof Rr || C instanceof Kn) && C.expression.isStateDependent === !0) {
4554
4554
  const D = l.paint.get(I);
4555
4555
  C.expression = D.value, C.updatePaintArray(x.start, x.end, w, e[f], d), p = !0;
4556
4556
  }
@@ -4571,7 +4571,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4571
4571
  const e = [];
4572
4572
  for (const r in this.binders) {
4573
4573
  const s = this.binders[r];
4574
- if (s instanceof An || s instanceof Fr) for (let l = 0; l < s.paintVertexAttributes.length; l++) e.push(s.paintVertexAttributes[l].name);
4574
+ if (s instanceof An || s instanceof Rr) for (let l = 0; l < s.paintVertexAttributes.length; l++) e.push(s.paintVertexAttributes[l].name);
4575
4575
  else if (s instanceof Kn) for (let l = 0; l < Po.members.length; l++) e.push(Po.members[l].name);
4576
4576
  }
4577
4577
  return e;
@@ -4580,7 +4580,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4580
4580
  const e = [];
4581
4581
  for (const r in this.binders) {
4582
4582
  const s = this.binders[r];
4583
- if (s instanceof Ua || s instanceof ko || s instanceof Fr) for (const l of s.uniformNames) e.push(l);
4583
+ if (s instanceof Ua || s instanceof ko || s instanceof Rr) for (const l of s.uniformNames) e.push(l);
4584
4584
  }
4585
4585
  return e;
4586
4586
  }
@@ -4591,7 +4591,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4591
4591
  const s = [];
4592
4592
  for (const l in this.binders) {
4593
4593
  const d = this.binders[l];
4594
- if (d instanceof Ua || d instanceof ko || d instanceof Fr) {
4594
+ if (d instanceof Ua || d instanceof ko || d instanceof Rr) {
4595
4595
  for (const p of d.uniformNames) if (r[p]) {
4596
4596
  const f = d.getBinding(e, r[p], p);
4597
4597
  s.push({ name: p, property: l, binding: f });
@@ -4610,20 +4610,20 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4610
4610
  if (e && s instanceof Kn) {
4611
4611
  const l = e.fromScale === 2 ? s.zoomInPaintVertexBuffer : s.zoomOutPaintVertexBuffer;
4612
4612
  l && this._buffers.push(l);
4613
- } else (s instanceof An || s instanceof Fr) && s.paintVertexBuffer && this._buffers.push(s.paintVertexBuffer);
4613
+ } else (s instanceof An || s instanceof Rr) && s.paintVertexBuffer && this._buffers.push(s.paintVertexBuffer);
4614
4614
  }
4615
4615
  }
4616
4616
  upload(e) {
4617
4617
  for (const r in this.binders) {
4618
4618
  const s = this.binders[r];
4619
- (s instanceof An || s instanceof Fr || s instanceof Kn) && s.upload(e);
4619
+ (s instanceof An || s instanceof Rr || s instanceof Kn) && s.upload(e);
4620
4620
  }
4621
4621
  this.updatePaintBuffers();
4622
4622
  }
4623
4623
  destroy() {
4624
4624
  for (const e in this.binders) {
4625
4625
  const r = this.binders[e];
4626
- (r instanceof An || r instanceof Fr || r instanceof Kn) && r.destroy();
4626
+ (r instanceof An || r instanceof Rr || r instanceof Kn) && r.destroy();
4627
4627
  }
4628
4628
  }
4629
4629
  }
@@ -4653,7 +4653,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4653
4653
  for (const e in this.programConfigurations) this.programConfigurations[e].destroy();
4654
4654
  }
4655
4655
  }
4656
- function Up(i, e) {
4656
+ function qp(i, e) {
4657
4657
  return { "text-opacity": ["opacity"], "icon-opacity": ["opacity"], "text-color": ["fill_color"], "icon-color": ["fill_color"], "text-halo-color": ["halo_color"], "icon-halo-color": ["halo_color"], "text-halo-blur": ["halo_blur"], "icon-halo-blur": ["halo_blur"], "text-halo-width": ["halo_width"], "icon-halo-width": ["halo_width"], "line-gap-width": ["gapwidth"], "line-pattern": ["pattern_to", "pattern_from", "pixel_ratio_to", "pixel_ratio_from"], "fill-pattern": ["pattern_to", "pattern_from", "pixel_ratio_to", "pixel_ratio_from"], "fill-extrusion-pattern": ["pattern_to", "pattern_from", "pixel_ratio_to", "pixel_ratio_from"] }[i] || [i.replace(`${e}-`, "").replace(/-/g, "_")];
4658
4658
  }
4659
4659
  function ou(i, e, r) {
@@ -4662,7 +4662,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4662
4662
  }(i);
4663
4663
  return l && l[r] || s[e][r];
4664
4664
  }
4665
- Be("ConstantBinder", Ua), Be("CrossFadedConstantBinder", ko), Be("SourceExpressionBinder", An), Be("CrossFadedCompositeBinder", Kn), Be("CompositeExpressionBinder", Fr), Be("ProgramConfiguration", su, { omit: ["_buffers"] }), Be("ProgramConfigurationSet", Rs);
4665
+ Be("ConstantBinder", Ua), Be("CrossFadedConstantBinder", ko), Be("SourceExpressionBinder", An), Be("CrossFadedCompositeBinder", Kn), Be("CompositeExpressionBinder", Rr), Be("ProgramConfiguration", su, { omit: ["_buffers"] }), Be("ProgramConfigurationSet", Rs);
4666
4666
  const ti = 8192, Kc = Math.pow(2, 14) - 1, au = -Kc - 1;
4667
4667
  function Fs(i) {
4668
4668
  const e = ti / i.extent, r = i.loadGeometry();
@@ -4731,7 +4731,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4731
4731
  for (let r = 0; r < e.length; r++) if (Eo(i, e[r])) return !0;
4732
4732
  return !!Qc(i, e);
4733
4733
  }
4734
- function $p(i, e, r) {
4734
+ function Zp(i, e, r) {
4735
4735
  return !!Eo(i, e) || !!eh(e, i, r);
4736
4736
  }
4737
4737
  function cu(i, e) {
@@ -4744,7 +4744,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4744
4744
  for (let r = 0; r < e.length; r++) if (Qc(i, e[r])) return !0;
4745
4745
  return !1;
4746
4746
  }
4747
- function qp(i, e, r) {
4747
+ function Gp(i, e, r) {
4748
4748
  if (i.length > 1) {
4749
4749
  if (Qc(i, e)) return !0;
4750
4750
  for (let s = 0; s < e.length; s++) if (eh(e[s], i, r)) return !0;
@@ -4756,11 +4756,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4756
4756
  if (i.length === 0 || e.length === 0) return !1;
4757
4757
  for (let r = 0; r < i.length - 1; r++) {
4758
4758
  const s = i[r], l = i[r + 1];
4759
- for (let d = 0; d < e.length - 1; d++) if (Zp(s, l, e[d], e[d + 1])) return !0;
4759
+ for (let d = 0; d < e.length - 1; d++) if (Hp(s, l, e[d], e[d + 1])) return !0;
4760
4760
  }
4761
4761
  return !1;
4762
4762
  }
4763
- function Zp(i, e, r, s) {
4763
+ function Hp(i, e, r, s) {
4764
4764
  return Ti(i, r, s) !== Ti(e, r, s) && Ti(i, e, r) !== Ti(i, e, s);
4765
4765
  }
4766
4766
  function eh(i, e, r) {
@@ -4791,7 +4791,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4791
4791
  }
4792
4792
  return r;
4793
4793
  }
4794
- function Gp(i, e, r) {
4794
+ function Wp(i, e, r) {
4795
4795
  const s = r[0], l = r[2];
4796
4796
  if (i.x < s.x && e.x < s.x || i.x > l.x && e.x > l.x || i.y < s.y && e.y < s.y || i.y > l.y && e.y > l.y) return !1;
4797
4797
  const d = Ti(i, e, r[0]);
@@ -4814,7 +4814,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4814
4814
  }
4815
4815
  let du, pu;
4816
4816
  Be("CircleBucket", Yc, { omit: ["layers"] });
4817
- var Hp = { get paint() {
4817
+ var Xp = { get paint() {
4818
4818
  return pu = pu || new o({ "circle-radius": new Xe(he.paint_circle["circle-radius"]), "circle-color": new Xe(he.paint_circle["circle-color"]), "circle-blur": new Xe(he.paint_circle["circle-blur"]), "circle-opacity": new Xe(he.paint_circle["circle-opacity"]), "circle-translate": new $e(he.paint_circle["circle-translate"]), "circle-translate-anchor": new $e(he.paint_circle["circle-translate-anchor"]), "circle-pitch-scale": new $e(he.paint_circle["circle-pitch-scale"]), "circle-pitch-alignment": new $e(he.paint_circle["circle-pitch-alignment"]), "circle-stroke-width": new Xe(he.paint_circle["circle-stroke-width"]), "circle-stroke-color": new Xe(he.paint_circle["circle-stroke-color"]), "circle-stroke-opacity": new Xe(he.paint_circle["circle-stroke-opacity"]) });
4819
4819
  }, get layout() {
4820
4820
  return du = du || new o({ "circle-sort-key": new Xe(he.layout_circle["circle-sort-key"]) });
@@ -4830,15 +4830,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4830
4830
  for (var i = 0, e = arguments.length; e--; ) i += arguments[e] * arguments[e];
4831
4831
  return Math.sqrt(i);
4832
4832
  });
4833
- var qa, Wp = fu;
4833
+ var qa, Jp = fu;
4834
4834
  function tc(i, e, r) {
4835
4835
  var s = e[0], l = e[1], d = e[2], p = e[3];
4836
4836
  return i[0] = r[0] * s + r[4] * l + r[8] * d + r[12] * p, i[1] = r[1] * s + r[5] * l + r[9] * d + r[13] * p, i[2] = r[2] * s + r[6] * l + r[10] * d + r[14] * p, i[3] = r[3] * s + r[7] * l + r[11] * d + r[15] * p, i;
4837
4837
  }
4838
4838
  qa = new Mo(4), Mo != Float32Array && (qa[0] = 0, qa[1] = 0, qa[2] = 0, qa[3] = 0);
4839
- class Xp extends h {
4839
+ class Kp extends h {
4840
4840
  constructor(e) {
4841
- super(e, Hp);
4841
+ super(e, Xp);
4842
4842
  }
4843
4843
  createBucket(e) {
4844
4844
  return new Yc(e);
@@ -4855,7 +4855,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4855
4855
  const $ = I ? B : mu(B, g);
4856
4856
  let W = D;
4857
4857
  const se = tc([], [B.x, B.y, 0, 1], g);
4858
- if (this.paint.get("circle-pitch-scale") === "viewport" && this.paint.get("circle-pitch-alignment") === "map" ? W *= se[3] / p.cameraToCenterDistance : this.paint.get("circle-pitch-scale") === "map" && this.paint.get("circle-pitch-alignment") === "viewport" && (W *= p.cameraToCenterDistance / se[3]), $p(C, $, W)) return !0;
4858
+ if (this.paint.get("circle-pitch-scale") === "viewport" && this.paint.get("circle-pitch-alignment") === "map" ? W *= se[3] / p.cameraToCenterDistance : this.paint.get("circle-pitch-scale") === "map" && this.paint.get("circle-pitch-alignment") === "viewport" && (W *= p.cameraToCenterDistance / se[3]), Zp(C, $, W)) return !0;
4859
4859
  }
4860
4860
  return !1;
4861
4861
  }
@@ -4868,7 +4868,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4868
4868
  }
4869
4869
  let _u;
4870
4870
  Be("HeatmapBucket", gu, { omit: ["layers"] });
4871
- var Jp = { get paint() {
4871
+ var Yp = { get paint() {
4872
4872
  return _u = _u || new o({ "heatmap-radius": new Xe(he.paint_heatmap["heatmap-radius"]), "heatmap-weight": new Xe(he.paint_heatmap["heatmap-weight"]), "heatmap-intensity": new $e(he.paint_heatmap["heatmap-intensity"]), "heatmap-color": new n(he.paint_heatmap["heatmap-color"]), "heatmap-opacity": new $e(he.paint_heatmap["heatmap-opacity"]) });
4873
4873
  } };
4874
4874
  function ih(i, { width: e, height: r }, s, l) {
@@ -4942,12 +4942,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4942
4942
  return l;
4943
4943
  }
4944
4944
  Be("AlphaImage", Za), Be("RGBAImage", lr);
4945
- class Kp extends h {
4945
+ class Qp extends h {
4946
4946
  createBucket(e) {
4947
4947
  return new gu(e);
4948
4948
  }
4949
4949
  constructor(e) {
4950
- super(e, Jp), this._updateColorRamp();
4950
+ super(e, Yp), this._updateColorRamp();
4951
4951
  }
4952
4952
  _handleSpecialPaintPropertyUpdate(e) {
4953
4953
  e === "heatmap-color" && this._updateColorRamp();
@@ -4969,18 +4969,18 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4969
4969
  }
4970
4970
  }
4971
4971
  let vu;
4972
- var Yp = { get paint() {
4972
+ var ef = { get paint() {
4973
4973
  return vu = vu || new o({ "hillshade-illumination-direction": new $e(he.paint_hillshade["hillshade-illumination-direction"]), "hillshade-illumination-anchor": new $e(he.paint_hillshade["hillshade-illumination-anchor"]), "hillshade-exaggeration": new $e(he.paint_hillshade["hillshade-exaggeration"]), "hillshade-shadow-color": new $e(he.paint_hillshade["hillshade-shadow-color"]), "hillshade-highlight-color": new $e(he.paint_hillshade["hillshade-highlight-color"]), "hillshade-accent-color": new $e(he.paint_hillshade["hillshade-accent-color"]) });
4974
4974
  } };
4975
- class Qp extends h {
4975
+ class tf extends h {
4976
4976
  constructor(e) {
4977
- super(e, Yp);
4977
+ super(e, ef);
4978
4978
  }
4979
4979
  hasOffscreenPass() {
4980
4980
  return this.paint.get("hillshade-exaggeration") !== 0 && this.visibility !== "none";
4981
4981
  }
4982
4982
  }
4983
- const ef = b([{ name: "a_pos", components: 2, type: "Int16" }], 4), { members: tf } = ef;
4983
+ const rf = b([{ name: "a_pos", components: 2, type: "Int16" }], 4), { members: nf } = rf;
4984
4984
  function bu(i, e, r = 2) {
4985
4985
  const s = e && e.length, l = s ? e[0] * r : i.length;
4986
4986
  let d = wu(i, 0, l, r, !0);
@@ -4991,10 +4991,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4991
4991
  const R = [];
4992
4992
  for (let B = 0, $ = I.length; B < $; B++) {
4993
4993
  const W = wu(w, I[B] * D, B < $ - 1 ? I[B + 1] * D : w.length, D, !1);
4994
- W === W.next && (W.steiner = !0), R.push(hf(W));
4994
+ W === W.next && (W.steiner = !0), R.push(df(W));
4995
4995
  }
4996
- R.sort(af);
4997
- for (let B = 0; B < R.length; B++) C = lf(R[B], C);
4996
+ R.sort(cf);
4997
+ for (let B = 0; B < R.length; B++) C = hf(R[B], C);
4998
4998
  return C;
4999
4999
  }(i, e, d, r)), i.length > 80 * r) {
5000
5000
  f = 1 / 0, g = 1 / 0;
@@ -5058,14 +5058,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5058
5058
  let f = i;
5059
5059
  for (; i.prev !== i.next; ) {
5060
5060
  const g = i.prev, x = i.next;
5061
- if (d ? nf(i, s, l, d) : rf(i)) e.push(g.i, i.i, x.i), Wa(i), i = x.next, f = x.next;
5061
+ if (d ? of(i, s, l, d) : sf(i)) e.push(g.i, i.i, x.i), Wa(i), i = x.next, f = x.next;
5062
5062
  else if ((i = x) === f) {
5063
- p ? p === 1 ? Ga(i = sf(Os(i), e), e, r, s, l, d, 2) : p === 2 && of(i, e, r, s, l, d) : Ga(Os(i), e, r, s, l, d, 1);
5063
+ p ? p === 1 ? Ga(i = af(Os(i), e), e, r, s, l, d, 2) : p === 2 && lf(i, e, r, s, l, d) : Ga(Os(i), e, r, s, l, d, 1);
5064
5064
  break;
5065
5065
  }
5066
5066
  }
5067
5067
  }
5068
- function rf(i) {
5068
+ function sf(i) {
5069
5069
  const e = i.prev, r = i, s = i.next;
5070
5070
  if (Yt(e, r, s) >= 0) return !1;
5071
5071
  const l = e.x, d = r.x, p = s.x, f = e.y, g = r.y, x = s.y, w = l < d ? l < p ? l : p : d < p ? d : p, I = f < g ? f < x ? f : x : g < x ? g : x, C = l > d ? l > p ? l : p : d > p ? d : p, D = f > g ? f > x ? f : x : g > x ? g : x;
@@ -5076,7 +5076,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5076
5076
  }
5077
5077
  return !0;
5078
5078
  }
5079
- function nf(i, e, r, s) {
5079
+ function of(i, e, r, s) {
5080
5080
  const l = i.prev, d = i, p = i.next;
5081
5081
  if (Yt(l, d, p) >= 0) return !1;
5082
5082
  const f = l.x, g = d.x, x = p.x, w = l.y, I = d.y, C = p.y, D = f < g ? f < x ? f : x : g < x ? g : x, R = w < I ? w < C ? w : C : I < C ? I : C, B = f > g ? f > x ? f : x : g > x ? g : x, $ = w > I ? w > C ? w : C : I > C ? I : C, W = nh(D, R, e, r, s), se = nh(B, $, e, r, s);
@@ -5095,7 +5095,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5095
5095
  }
5096
5096
  return !0;
5097
5097
  }
5098
- function sf(i, e) {
5098
+ function af(i, e) {
5099
5099
  let r = i;
5100
5100
  do {
5101
5101
  const s = r.prev, l = r.next.next;
@@ -5103,12 +5103,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5103
5103
  } while (r !== i);
5104
5104
  return Os(r);
5105
5105
  }
5106
- function of(i, e, r, s, l, d) {
5106
+ function lf(i, e, r, s, l, d) {
5107
5107
  let p = i;
5108
5108
  do {
5109
5109
  let f = p.next.next;
5110
5110
  for (; f !== p.prev; ) {
5111
- if (p.i !== f.i && uf(p, f)) {
5111
+ if (p.i !== f.i && pf(p, f)) {
5112
5112
  let g = Tu(p, f);
5113
5113
  return p = Os(p, p.next), g = Os(g, g.next), Ga(p, e, r, s, l, d, 0), void Ga(g, e, r, s, l, d, 0);
5114
5114
  }
@@ -5117,10 +5117,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5117
5117
  p = p.next;
5118
5118
  } while (p !== i);
5119
5119
  }
5120
- function af(i, e) {
5120
+ function cf(i, e) {
5121
5121
  return i.x - e.x;
5122
5122
  }
5123
- function lf(i, e) {
5123
+ function hf(i, e) {
5124
5124
  const r = function(l, d) {
5125
5125
  let p = d;
5126
5126
  const f = l.x, g = l.y;
@@ -5139,7 +5139,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5139
5139
  do {
5140
5140
  if (f >= p.x && p.x >= C && f !== p.x && zo(g < D ? f : w, g, C, D, g < D ? w : f, g, p.x, p.y)) {
5141
5141
  const B = Math.abs(g - p.y) / (f - p.x);
5142
- Ha(p, l) && (B < R || B === R && (p.x > x.x || p.x === x.x && cf(x, p))) && (x = p, R = B);
5142
+ Ha(p, l) && (B < R || B === R && (p.x > x.x || p.x === x.x && uf(x, p))) && (x = p, R = B);
5143
5143
  }
5144
5144
  p = p.next;
5145
5145
  } while (p !== I);
@@ -5149,13 +5149,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5149
5149
  const s = Tu(r, i);
5150
5150
  return Os(s, s.next), Os(r, r.next);
5151
5151
  }
5152
- function cf(i, e) {
5152
+ function uf(i, e) {
5153
5153
  return Yt(i.prev, i, e.prev) < 0 && Yt(e.next, i, i.next) < 0;
5154
5154
  }
5155
5155
  function nh(i, e, r, s, l) {
5156
5156
  return (i = 1431655765 & ((i = 858993459 & ((i = 252645135 & ((i = 16711935 & ((i = (i - r) * l | 0) | i << 8)) | i << 4)) | i << 2)) | i << 1)) | (e = 1431655765 & ((e = 858993459 & ((e = 252645135 & ((e = 16711935 & ((e = (e - s) * l | 0) | e << 8)) | e << 4)) | e << 2)) | e << 1)) << 1;
5157
5157
  }
5158
- function hf(i) {
5158
+ function df(i) {
5159
5159
  let e = i, r = i;
5160
5160
  do
5161
5161
  (e.x < r.x || e.x === r.x && e.y < r.y) && (r = e), e = e.next;
@@ -5165,7 +5165,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5165
5165
  function zo(i, e, r, s, l, d, p, f) {
5166
5166
  return (l - p) * (e - f) >= (i - p) * (d - f) && (i - p) * (s - f) >= (r - p) * (e - f) && (r - p) * (d - f) >= (l - p) * (s - f);
5167
5167
  }
5168
- function uf(i, e) {
5168
+ function pf(i, e) {
5169
5169
  return i.next.i !== e.i && i.prev.i !== e.i && !function(r, s) {
5170
5170
  let l = r;
5171
5171
  do {
@@ -5239,7 +5239,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5239
5239
  }
5240
5240
  class lh {
5241
5241
  constructor(e) {
5242
- this.zoom = e.zoom, this.overscaling = e.overscaling, this.layers = e.layers, this.layerIds = this.layers.map((r) => r.id), this.index = e.index, this.hasPattern = !1, this.patternFeatures = [], this.layoutVertexArray = new Hn(), this.indexArray = new si(), this.indexArray2 = new Ut(), this.programConfigurations = new Rs(e.layers, e.zoom), this.segments = new ri(), this.segments2 = new ri(), this.stateDependentLayerIds = this.layers.filter((r) => r.isStateDependent()).map((r) => r.id);
5242
+ this.zoom = e.zoom, this.overscaling = e.overscaling, this.layers = e.layers, this.layerIds = this.layers.map((r) => r.id), this.index = e.index, this.hasPattern = !1, this.patternFeatures = [], this.layoutVertexArray = new Hn(), this.indexArray = new si(), this.indexArray2 = new jt(), this.programConfigurations = new Rs(e.layers, e.zoom), this.segments = new ri(), this.segments2 = new ri(), this.stateDependentLayerIds = this.layers.filter((r) => r.isStateDependent()).map((r) => r.id);
5243
5243
  }
5244
5244
  populate(e, r, s) {
5245
5245
  this.hasPattern = oh("fill", this.layers, r);
@@ -5273,7 +5273,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5273
5273
  return !this.uploaded || this.programConfigurations.needsUpload;
5274
5274
  }
5275
5275
  upload(e) {
5276
- this.uploaded || (this.layoutVertexBuffer = e.createVertexBuffer(this.layoutVertexArray, tf), this.indexBuffer = e.createIndexBuffer(this.indexArray), this.indexBuffer2 = e.createIndexBuffer(this.indexArray2)), this.programConfigurations.upload(e), this.uploaded = !0;
5276
+ this.uploaded || (this.layoutVertexBuffer = e.createVertexBuffer(this.layoutVertexArray, nf), this.indexBuffer = e.createIndexBuffer(this.indexArray), this.indexBuffer2 = e.createIndexBuffer(this.indexArray2)), this.programConfigurations.upload(e), this.uploaded = !0;
5277
5277
  }
5278
5278
  destroy() {
5279
5279
  this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.indexBuffer2.destroy(), this.programConfigurations.destroy(), this.segments.destroy(), this.segments2.destroy());
@@ -5300,14 +5300,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5300
5300
  }
5301
5301
  let Pu, Au;
5302
5302
  Be("FillBucket", lh, { omit: ["layers", "patternFeatures"] });
5303
- var df = { get paint() {
5303
+ var ff = { get paint() {
5304
5304
  return Au = Au || new o({ "fill-antialias": new $e(he.paint_fill["fill-antialias"]), "fill-opacity": new Xe(he.paint_fill["fill-opacity"]), "fill-color": new Xe(he.paint_fill["fill-color"]), "fill-outline-color": new Xe(he.paint_fill["fill-outline-color"]), "fill-translate": new $e(he.paint_fill["fill-translate"]), "fill-translate-anchor": new $e(he.paint_fill["fill-translate-anchor"]), "fill-pattern": new u(he.paint_fill["fill-pattern"]) });
5305
5305
  }, get layout() {
5306
5306
  return Pu = Pu || new o({ "fill-sort-key": new Xe(he.layout_fill["fill-sort-key"]) });
5307
5307
  } };
5308
- class pf extends h {
5308
+ class mf extends h {
5309
5309
  constructor(e) {
5310
- super(e, df);
5310
+ super(e, ff);
5311
5311
  }
5312
5312
  recalculate(e, r) {
5313
5313
  super.recalculate(e, r);
@@ -5327,12 +5327,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5327
5327
  return !0;
5328
5328
  }
5329
5329
  }
5330
- const ff = b([{ name: "a_pos", components: 2, type: "Int16" }, { name: "a_normal_ed", components: 4, type: "Int16" }], 4), mf = b([{ name: "a_centroid", components: 2, type: "Int16" }], 4), { members: gf } = ff;
5331
- var Yn = {}, _f = ye, Cu = Do;
5330
+ const gf = b([{ name: "a_pos", components: 2, type: "Int16" }, { name: "a_normal_ed", components: 4, type: "Int16" }], 4), _f = b([{ name: "a_centroid", components: 2, type: "Int16" }], 4), { members: yf } = gf;
5331
+ var Yn = {}, xf = ye, Cu = Do;
5332
5332
  function Do(i, e, r, s, l) {
5333
- this.properties = {}, this.extent = r, this.type = 0, this._pbf = i, this._geometry = -1, this._keys = s, this._values = l, i.readFields(yf, this, e);
5333
+ this.properties = {}, this.extent = r, this.type = 0, this._pbf = i, this._geometry = -1, this._keys = s, this._values = l, i.readFields(vf, this, e);
5334
5334
  }
5335
- function yf(i, e, r) {
5335
+ function vf(i, e, r) {
5336
5336
  i == 1 ? e.id = r.readVarint() : i == 2 ? function(s, l) {
5337
5337
  for (var d = s.readVarint() + s.pos; s.pos < d; ) {
5338
5338
  var p = l._keys[s.readVarint()], f = l._values[s.readVarint()];
@@ -5340,7 +5340,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5340
5340
  }
5341
5341
  }(r, e) : i == 3 ? e.type = r.readVarint() : i == 4 && (e._geometry = r.pos);
5342
5342
  }
5343
- function xf(i) {
5343
+ function bf(i) {
5344
5344
  for (var e, r, s = 0, l = 0, d = i.length, p = d - 1; l < d; p = l++) s += ((r = i[p]).x - (e = i[l]).x) * (e.y + r.y);
5345
5345
  return s;
5346
5346
  }
@@ -5352,7 +5352,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5352
5352
  var g = i.readVarint();
5353
5353
  s = 7 & g, l = g >> 3;
5354
5354
  }
5355
- if (l--, s === 1 || s === 2) d += i.readSVarint(), p += i.readSVarint(), s === 1 && (e && f.push(e), e = []), e.push(new _f(d, p));
5355
+ if (l--, s === 1 || s === 2) d += i.readSVarint(), p += i.readSVarint(), s === 1 && (e && f.push(e), e = []), e.push(new xf(d, p));
5356
5356
  else {
5357
5357
  if (s !== 7) throw new Error("unknown command " + s);
5358
5358
  e && e.push(e[0].clone());
@@ -5393,7 +5393,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5393
5393
  var R = D.length;
5394
5394
  if (R <= 1) return [D];
5395
5395
  for (var B, $, W = [], se = 0; se < R; se++) {
5396
- var Y = xf(D[se]);
5396
+ var Y = bf(D[se]);
5397
5397
  Y !== 0 && ($ === void 0 && ($ = Y < 0), $ === Y < 0 ? (B && W.push(B), B = [D[se]]) : B.push(D[se]));
5398
5398
  }
5399
5399
  return B && W.push(B), W;
@@ -5403,11 +5403,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5403
5403
  var C = { type: "Feature", geometry: { type: x, coordinates: g }, properties: this.properties };
5404
5404
  return "id" in this && (C.id = this.id), C;
5405
5405
  };
5406
- var vf = Cu, ku = Eu;
5406
+ var wf = Cu, ku = Eu;
5407
5407
  function Eu(i, e) {
5408
- this.version = 1, this.name = null, this.extent = 4096, this.length = 0, this._pbf = i, this._keys = [], this._values = [], this._features = [], i.readFields(bf, this, e), this.length = this._features.length;
5408
+ this.version = 1, this.name = null, this.extent = 4096, this.length = 0, this._pbf = i, this._keys = [], this._values = [], this._features = [], i.readFields(Sf, this, e), this.length = this._features.length;
5409
5409
  }
5410
- function bf(i, e, r) {
5410
+ function Sf(i, e, r) {
5411
5411
  i === 15 ? e.version = r.readVarint() : i === 1 ? e.name = r.readString() : i === 5 ? e.extent = r.readVarint() : i === 2 ? e._features.push(r.pos) : i === 3 ? e._keys.push(r.readString()) : i === 4 && e._values.push(function(s) {
5412
5412
  for (var l = null, d = s.readVarint() + s.pos; s.pos < d; ) {
5413
5413
  var p = s.readVarint() >> 3;
@@ -5420,19 +5420,19 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5420
5420
  if (i < 0 || i >= this._features.length) throw new Error("feature index out of bounds");
5421
5421
  this._pbf.pos = this._features[i];
5422
5422
  var e = this._pbf.readVarint() + this._pbf.pos;
5423
- return new vf(this._pbf, e, this.extent, this._keys, this._values);
5423
+ return new wf(this._pbf, e, this.extent, this._keys, this._values);
5424
5424
  };
5425
- var wf = ku;
5426
- function Sf(i, e, r) {
5425
+ var Tf = ku;
5426
+ function If(i, e, r) {
5427
5427
  if (i === 3) {
5428
- var s = new wf(r, r.readVarint() + r.pos);
5428
+ var s = new Tf(r, r.readVarint() + r.pos);
5429
5429
  s.length && (e[s.name] = s);
5430
5430
  }
5431
5431
  }
5432
5432
  Yn.VectorTile = function(i, e) {
5433
- this.layers = i.readFields(Sf, {}, e);
5433
+ this.layers = i.readFields(If, {}, e);
5434
5434
  }, Yn.VectorTileFeature = Cu, Yn.VectorTileLayer = ku;
5435
- const Tf = Yn.VectorTileFeature.types, ch = Math.pow(2, 13);
5435
+ const Pf = Yn.VectorTileFeature.types, ch = Math.pow(2, 13);
5436
5436
  function Xa(i, e, r, s, l, d, p, f) {
5437
5437
  i.emplaceBack(e, r, 2 * Math.floor(s * ch) + p, l * ch * 2, d * ch * 2, Math.round(f));
5438
5438
  }
@@ -5465,7 +5465,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5465
5465
  return !this.uploaded || this.programConfigurations.needsUpload;
5466
5466
  }
5467
5467
  upload(e) {
5468
- this.uploaded || (this.layoutVertexBuffer = e.createVertexBuffer(this.layoutVertexArray, gf), this.centroidVertexBuffer = e.createVertexBuffer(this.centroidVertexArray, mf.members, !0), this.indexBuffer = e.createIndexBuffer(this.indexArray)), this.programConfigurations.upload(e), this.uploaded = !0;
5468
+ this.uploaded || (this.layoutVertexBuffer = e.createVertexBuffer(this.layoutVertexArray, yf), this.centroidVertexBuffer = e.createVertexBuffer(this.centroidVertexArray, _f.members, !0), this.indexBuffer = e.createIndexBuffer(this.indexArray)), this.programConfigurations.upload(e), this.uploaded = !0;
5469
5469
  }
5470
5470
  destroy() {
5471
5471
  this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy(), this.centroidVertexBuffer.destroy());
@@ -5477,13 +5477,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5477
5477
  for (const R of p) g += R.length;
5478
5478
  let x = this.segments.prepareSegment(4, this.layoutVertexArray, this.indexArray);
5479
5479
  for (const R of p) {
5480
- if (R.length === 0 || Pf(R)) continue;
5480
+ if (R.length === 0 || Cf(R)) continue;
5481
5481
  let B = 0;
5482
5482
  for (let $ = 0; $ < R.length; $++) {
5483
5483
  const W = R[$];
5484
5484
  if ($ >= 1) {
5485
5485
  const se = R[$ - 1];
5486
- if (!If(W, se)) {
5486
+ if (!Af(W, se)) {
5487
5487
  x.vertexLength + 4 > ri.MAX_VERTEX_ARRAY_LENGTH && (x = this.segments.prepareSegment(4, this.layoutVertexArray, this.indexArray));
5488
5488
  const Y = W.sub(se)._perp()._unit(), ie = se.dist(W);
5489
5489
  B + ie > 32768 && (B = 0), Xa(this.layoutVertexArray, W.x, W.y, Y.x, Y.y, 0, 0, B), Xa(this.layoutVertexArray, W.x, W.y, Y.x, Y.y, 0, 1, B), f.x += 2 * W.x, f.y += 2 * W.y, f.vertexCount += 2, B += ie, Xa(this.layoutVertexArray, se.x, se.y, Y.x, Y.y, 0, 0, B), Xa(this.layoutVertexArray, se.x, se.y, Y.x, Y.y, 0, 1, B), f.x += 2 * se.x, f.y += 2 * se.y, f.vertexCount += 2;
@@ -5493,7 +5493,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5493
5493
  }
5494
5494
  }
5495
5495
  }
5496
- if (x.vertexLength + g > ri.MAX_VERTEX_ARRAY_LENGTH && (x = this.segments.prepareSegment(g, this.layoutVertexArray, this.indexArray)), Tf[e.type] !== "Polygon") continue;
5496
+ if (x.vertexLength + g > ri.MAX_VERTEX_ARRAY_LENGTH && (x = this.segments.prepareSegment(g, this.layoutVertexArray, this.indexArray)), Pf[e.type] !== "Polygon") continue;
5497
5497
  const w = [], I = [], C = x.vertexLength;
5498
5498
  for (const R of p) if (R.length !== 0) {
5499
5499
  R !== p[0] && I.push(w.length / 2);
@@ -5513,20 +5513,20 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5513
5513
  this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length, e, s, d, l);
5514
5514
  }
5515
5515
  }
5516
- function If(i, e) {
5516
+ function Af(i, e) {
5517
5517
  return i.x === e.x && (i.x < 0 || i.x > ti) || i.y === e.y && (i.y < 0 || i.y > ti);
5518
5518
  }
5519
- function Pf(i) {
5519
+ function Cf(i) {
5520
5520
  return i.every((e) => e.x < 0) || i.every((e) => e.x > ti) || i.every((e) => e.y < 0) || i.every((e) => e.y > ti);
5521
5521
  }
5522
5522
  let Mu;
5523
5523
  Be("FillExtrusionBucket", hh, { omit: ["layers", "features"] });
5524
- var Af = { get paint() {
5524
+ var kf = { get paint() {
5525
5525
  return Mu = Mu || new o({ "fill-extrusion-opacity": new $e(he["paint_fill-extrusion"]["fill-extrusion-opacity"]), "fill-extrusion-color": new Xe(he["paint_fill-extrusion"]["fill-extrusion-color"]), "fill-extrusion-translate": new $e(he["paint_fill-extrusion"]["fill-extrusion-translate"]), "fill-extrusion-translate-anchor": new $e(he["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]), "fill-extrusion-pattern": new u(he["paint_fill-extrusion"]["fill-extrusion-pattern"]), "fill-extrusion-height": new Xe(he["paint_fill-extrusion"]["fill-extrusion-height"]), "fill-extrusion-base": new Xe(he["paint_fill-extrusion"]["fill-extrusion-base"]), "fill-extrusion-vertical-gradient": new $e(he["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"]) });
5526
5526
  } };
5527
- class Cf extends h {
5527
+ class Ef extends h {
5528
5528
  constructor(e) {
5529
- super(e, Af);
5529
+ super(e, kf);
5530
5530
  }
5531
5531
  createBucket(e) {
5532
5532
  return new hh(e);
@@ -5550,7 +5550,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5550
5550
  for (const Oe of R) {
5551
5551
  const Fe = [], fe = [];
5552
5552
  for (const qe of Oe) {
5553
- const je = qe.x, Ye = qe.y, Pt = W[0] * je + W[4] * Ye + W[12], Tt = W[1] * je + W[5] * Ye + W[13], oi = W[2] * je + W[6] * Ye + W[14], Tr = W[3] * je + W[7] * Ye + W[15], vi = oi + xe, Xt = Tr + Le, Ri = Pt + We, Fi = Tt + Me, Bi = oi + ke, Jt = Tr + Ue, ai = new le((Pt + ie) / Xt, (Tt + ue) / Xt);
5553
+ const je = qe.x, Qe = qe.y, Pt = W[0] * je + W[4] * Qe + W[12], Tt = W[1] * je + W[5] * Qe + W[13], oi = W[2] * je + W[6] * Qe + W[14], Tr = W[3] * je + W[7] * Qe + W[15], vi = oi + xe, Xt = Tr + Le, Ri = Pt + We, Fi = Tt + Me, Bi = oi + ke, Jt = Tr + Ue, ai = new le((Pt + ie) / Xt, (Tt + ue) / Xt);
5554
5554
  ai.z = vi / Xt, Fe.push(ai);
5555
5555
  const Ci = new le(Ri / Jt, Fi / Jt);
5556
5556
  Ci.z = Bi / Jt, fe.push(Ci);
@@ -5594,7 +5594,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5594
5594
  return r;
5595
5595
  }
5596
5596
  }
5597
- const kf = b([{ name: "a_pos_normal", components: 2, type: "Int16" }, { name: "a_data", components: 4, type: "Uint8" }], 4), { members: Ef } = kf, Mf = b([{ name: "a_uv_x", components: 1, type: "Float32" }, { name: "a_split_index", components: 1, type: "Float32" }]), { members: zf } = Mf, Df = Yn.VectorTileFeature.types, Lf = Math.cos(Math.PI / 180 * 37.5), Du = Math.pow(2, 14) / 0.5;
5597
+ const Mf = b([{ name: "a_pos_normal", components: 2, type: "Int16" }, { name: "a_data", components: 4, type: "Uint8" }], 4), { members: zf } = Mf, Df = b([{ name: "a_uv_x", components: 1, type: "Float32" }, { name: "a_split_index", components: 1, type: "Float32" }]), { members: Lf } = Df, Rf = Yn.VectorTileFeature.types, Ff = Math.cos(Math.PI / 180 * 37.5), Du = Math.pow(2, 14) / 0.5;
5598
5598
  class uh {
5599
5599
  constructor(e) {
5600
5600
  this.zoom = e.zoom, this.overscaling = e.overscaling, this.layers = e.layers, this.layerIds = this.layers.map((r) => r.id), this.index = e.index, this.hasPattern = !1, this.patternFeatures = [], this.lineClipsArray = [], this.gradients = {}, this.layers.forEach((r) => {
@@ -5633,7 +5633,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5633
5633
  return !this.uploaded || this.programConfigurations.needsUpload;
5634
5634
  }
5635
5635
  upload(e) {
5636
- this.uploaded || (this.layoutVertexArray2.length !== 0 && (this.layoutVertexBuffer2 = e.createVertexBuffer(this.layoutVertexArray2, zf)), this.layoutVertexBuffer = e.createVertexBuffer(this.layoutVertexArray, Ef), this.indexBuffer = e.createIndexBuffer(this.indexArray)), this.programConfigurations.upload(e), this.uploaded = !0;
5636
+ this.uploaded || (this.layoutVertexArray2.length !== 0 && (this.layoutVertexBuffer2 = e.createVertexBuffer(this.layoutVertexArray2, Lf)), this.layoutVertexBuffer = e.createVertexBuffer(this.layoutVertexArray, zf), this.indexBuffer = e.createIndexBuffer(this.indexArray)), this.programConfigurations.upload(e), this.uploaded = !0;
5637
5637
  }
5638
5638
  destroy() {
5639
5639
  this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy());
@@ -5653,7 +5653,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5653
5653
  for (let W = 0; W < e.length - 1; W++) this.totalDistance += e[W].dist(e[W + 1]);
5654
5654
  this.updateScaledDistance(), this.maxLineLength = Math.max(this.maxLineLength, this.totalDistance);
5655
5655
  }
5656
- const f = Df[r.type] === "Polygon";
5656
+ const f = Rf[r.type] === "Polygon";
5657
5657
  let g = e.length;
5658
5658
  for (; g >= 2 && e[g - 1].equals(e[g - 2]); ) g--;
5659
5659
  let x = 0;
@@ -5668,7 +5668,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5668
5668
  $ && (B = $), C && (D = C), C = e[W], $ = R ? R.sub(C)._unit()._perp() : B, B = B || $;
5669
5669
  let se = B.add($);
5670
5670
  se.x === 0 && se.y === 0 || se._unit();
5671
- const Y = B.x * $.x + B.y * $.y, ie = se.x * $.x + se.y * $.y, ue = ie !== 0 ? 1 / ie : 1 / 0, xe = 2 * Math.sqrt(2 - 2 * ie), Le = ie < Lf && D && R, We = B.x * $.y - B.y * $.x > 0;
5671
+ const Y = B.x * $.x + B.y * $.y, ie = se.x * $.x + se.y * $.y, ue = ie !== 0 ? 1 / ie : 1 / 0, xe = 2 * Math.sqrt(2 - 2 * ie), Le = ie < Ff && D && R, We = B.x * $.y - B.y * $.x > 0;
5672
5672
  if (Le && W > x) {
5673
5673
  const Ue = C.dist(D);
5674
5674
  if (Ue > 2 * w) {
@@ -5696,8 +5696,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5696
5696
  const Pt = je - 0.5;
5697
5697
  je += je * Pt * (je - 1) * ((1.0904 + Y * (Y * (3.55645 - 1.43519 * Y) - 3.2452)) * Pt * Pt + (0.848013 + Y * (0.215638 * Y - 1.06021)));
5698
5698
  }
5699
- const Ye = $.sub(B)._mult(je)._add(B)._unit()._mult(We ? -1 : 1);
5700
- this.addHalfVertex(C, Ye.x, Ye.y, !1, We, 0, I);
5699
+ const Qe = $.sub(B)._mult(je)._add(B)._unit()._mult(We ? -1 : 1);
5700
+ this.addHalfVertex(C, Qe.x, Qe.y, !1, We, 0, I);
5701
5701
  }
5702
5702
  }
5703
5703
  R && this.addCurrentVertex(C, $, -Oe, -Fe, I);
@@ -5739,7 +5739,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5739
5739
  }, get layout() {
5740
5740
  return Lu = Lu || new o({ "line-cap": new $e(he.layout_line["line-cap"]), "line-join": new Xe(he.layout_line["line-join"]), "line-miter-limit": new $e(he.layout_line["line-miter-limit"]), "line-round-limit": new $e(he.layout_line["line-round-limit"]), "line-sort-key": new Xe(he.layout_line["line-sort-key"]) });
5741
5741
  } };
5742
- class Rf extends Xe {
5742
+ class Bf extends Xe {
5743
5743
  possiblyEvaluate(e, r) {
5744
5744
  return r = new Et(Math.floor(r.zoom), { now: r.now, fadeDuration: r.fadeDuration, zoomHistory: r.zoomHistory, transition: r.transition }), super.possiblyEvaluate(e, r);
5745
5745
  }
@@ -5748,9 +5748,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5748
5748
  }
5749
5749
  }
5750
5750
  let sc;
5751
- class Ff extends h {
5751
+ class Of extends h {
5752
5752
  constructor(e) {
5753
- super(e, Fu), this.gradientVersion = 0, sc || (sc = new Rf(Fu.paint.properties["line-width"].specification), sc.useIntegerZoom = !0);
5753
+ super(e, Fu), this.gradientVersion = 0, sc || (sc = new Bf(Fu.paint.properties["line-width"].specification), sc.useIntegerZoom = !0);
5754
5754
  }
5755
5755
  _handleSpecialPaintPropertyUpdate(e) {
5756
5756
  if (e === "line-gradient") {
@@ -5792,7 +5792,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5792
5792
  if (I.length >= 3) {
5793
5793
  for (let $ = 0; $ < B.length; $++) if (Eo(I, B[$])) return !0;
5794
5794
  }
5795
- if (qp(I, B, D)) return !0;
5795
+ if (Gp(I, B, D)) return !0;
5796
5796
  }
5797
5797
  return !1;
5798
5798
  }(g, l, x);
@@ -5804,12 +5804,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5804
5804
  function Bu(i, e) {
5805
5805
  return e > 0 ? e + 2 * i : i;
5806
5806
  }
5807
- const Bf = b([{ name: "a_pos_offset", components: 4, type: "Int16" }, { name: "a_data", components: 4, type: "Uint16" }, { name: "a_pixeloffset", components: 4, type: "Int16" }], 4), Of = b([{ name: "a_projected_pos", components: 3, type: "Float32" }], 4);
5807
+ const Vf = b([{ name: "a_pos_offset", components: 4, type: "Int16" }, { name: "a_data", components: 4, type: "Uint16" }, { name: "a_pixeloffset", components: 4, type: "Int16" }], 4), Nf = b([{ name: "a_projected_pos", components: 3, type: "Float32" }], 4);
5808
5808
  b([{ name: "a_fade_opacity", components: 1, type: "Uint32" }], 4);
5809
- const Vf = b([{ name: "a_placed", components: 2, type: "Uint8" }, { name: "a_shift", components: 2, type: "Float32" }, { name: "a_box_real", components: 2, type: "Int16" }]);
5809
+ const jf = b([{ name: "a_placed", components: 2, type: "Uint8" }, { name: "a_shift", components: 2, type: "Float32" }, { name: "a_box_real", components: 2, type: "Int16" }]);
5810
5810
  b([{ type: "Int16", name: "anchorPointX" }, { type: "Int16", name: "anchorPointY" }, { type: "Int16", name: "x1" }, { type: "Int16", name: "y1" }, { type: "Int16", name: "x2" }, { type: "Int16", name: "y2" }, { type: "Uint32", name: "featureIndex" }, { type: "Uint16", name: "sourceLayerIndex" }, { type: "Uint16", name: "bucketIndex" }]);
5811
- const Ou = b([{ name: "a_pos", components: 2, type: "Int16" }, { name: "a_anchor_pos", components: 2, type: "Int16" }, { name: "a_extrude", components: 2, type: "Int16" }], 4), Nf = b([{ name: "a_pos", components: 2, type: "Float32" }, { name: "a_radius", components: 1, type: "Float32" }, { name: "a_flags", components: 2, type: "Int16" }], 4);
5812
- function jf(i, e, r) {
5811
+ const Ou = b([{ name: "a_pos", components: 2, type: "Int16" }, { name: "a_anchor_pos", components: 2, type: "Int16" }, { name: "a_extrude", components: 2, type: "Int16" }], 4), Uf = b([{ name: "a_pos", components: 2, type: "Float32" }, { name: "a_radius", components: 1, type: "Float32" }, { name: "a_flags", components: 2, type: "Int16" }], 4);
5812
+ function $f(i, e, r) {
5813
5813
  return i.sections.forEach((s) => {
5814
5814
  s.text = function(l, d, p) {
5815
5815
  const f = d.layout.get("text-transform").evaluate(p, {});
@@ -5851,31 +5851,31 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5851
5851
  r.realloc(s);
5852
5852
  for (var l = r.pos - 1; l >= i; l--) r.buf[l + s] = r.buf[l];
5853
5853
  }
5854
- function Uf(i, e) {
5854
+ function qf(i, e) {
5855
5855
  for (var r = 0; r < i.length; r++) e.writeVarint(i[r]);
5856
5856
  }
5857
- function $f(i, e) {
5857
+ function Zf(i, e) {
5858
5858
  for (var r = 0; r < i.length; r++) e.writeSVarint(i[r]);
5859
5859
  }
5860
- function qf(i, e) {
5860
+ function Gf(i, e) {
5861
5861
  for (var r = 0; r < i.length; r++) e.writeFloat(i[r]);
5862
5862
  }
5863
- function Zf(i, e) {
5863
+ function Hf(i, e) {
5864
5864
  for (var r = 0; r < i.length; r++) e.writeDouble(i[r]);
5865
5865
  }
5866
- function Gf(i, e) {
5866
+ function Wf(i, e) {
5867
5867
  for (var r = 0; r < i.length; r++) e.writeBoolean(i[r]);
5868
5868
  }
5869
- function Hf(i, e) {
5869
+ function Xf(i, e) {
5870
5870
  for (var r = 0; r < i.length; r++) e.writeFixed32(i[r]);
5871
5871
  }
5872
- function Wf(i, e) {
5872
+ function Jf(i, e) {
5873
5873
  for (var r = 0; r < i.length; r++) e.writeSFixed32(i[r]);
5874
5874
  }
5875
- function Xf(i, e) {
5875
+ function Kf(i, e) {
5876
5876
  for (var r = 0; r < i.length; r++) e.writeFixed64(i[r]);
5877
5877
  }
5878
- function Jf(i, e) {
5878
+ function Yf(i, e) {
5879
5879
  for (var r = 0; r < i.length; r++) e.writeSFixed64(i[r]);
5880
5880
  }
5881
5881
  function oc(i, e) {
@@ -6070,23 +6070,23 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6070
6070
  }, writeMessage: function(i, e, r) {
6071
6071
  this.writeTag(i, St.Bytes), this.writeRawMessage(e, r);
6072
6072
  }, writePackedVarint: function(i, e) {
6073
- e.length && this.writeMessage(i, Uf, e);
6073
+ e.length && this.writeMessage(i, qf, e);
6074
6074
  }, writePackedSVarint: function(i, e) {
6075
- e.length && this.writeMessage(i, $f, e);
6075
+ e.length && this.writeMessage(i, Zf, e);
6076
6076
  }, writePackedBoolean: function(i, e) {
6077
- e.length && this.writeMessage(i, Gf, e);
6077
+ e.length && this.writeMessage(i, Wf, e);
6078
6078
  }, writePackedFloat: function(i, e) {
6079
- e.length && this.writeMessage(i, qf, e);
6079
+ e.length && this.writeMessage(i, Gf, e);
6080
6080
  }, writePackedDouble: function(i, e) {
6081
- e.length && this.writeMessage(i, Zf, e);
6082
- }, writePackedFixed32: function(i, e) {
6083
6081
  e.length && this.writeMessage(i, Hf, e);
6082
+ }, writePackedFixed32: function(i, e) {
6083
+ e.length && this.writeMessage(i, Xf, e);
6084
6084
  }, writePackedSFixed32: function(i, e) {
6085
- e.length && this.writeMessage(i, Wf, e);
6085
+ e.length && this.writeMessage(i, Jf, e);
6086
6086
  }, writePackedFixed64: function(i, e) {
6087
- e.length && this.writeMessage(i, Xf, e);
6087
+ e.length && this.writeMessage(i, Kf, e);
6088
6088
  }, writePackedSFixed64: function(i, e) {
6089
- e.length && this.writeMessage(i, Jf, e);
6089
+ e.length && this.writeMessage(i, Yf, e);
6090
6090
  }, writeBytesField: function(i, e) {
6091
6091
  this.writeTag(i, St.Bytes), this.writeBytes(e);
6092
6092
  }, writeFixed32Field: function(i, e) {
@@ -6112,16 +6112,16 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6112
6112
  } };
6113
6113
  var ph = _e(Vu);
6114
6114
  const fh = 3;
6115
- function Kf(i, e, r) {
6116
- i === 1 && r.readMessage(Yf, e);
6115
+ function Qf(i, e, r) {
6116
+ i === 1 && r.readMessage(em, e);
6117
6117
  }
6118
- function Yf(i, e, r) {
6118
+ function em(i, e, r) {
6119
6119
  if (i === 3) {
6120
- const { id: s, bitmap: l, width: d, height: p, left: f, top: g, advance: x } = r.readMessage(Qf, {});
6120
+ const { id: s, bitmap: l, width: d, height: p, left: f, top: g, advance: x } = r.readMessage(tm, {});
6121
6121
  e.push({ id: s, bitmap: new Za({ width: d + 2 * fh, height: p + 2 * fh }, l), metrics: { width: d, height: p, left: f, top: g, advance: x } });
6122
6122
  }
6123
6123
  }
6124
- function Qf(i, e, r) {
6124
+ function tm(i, e, r) {
6125
6125
  i === 1 ? e.id = r.readVarint() : i === 2 ? e.bitmap = r.readBytes() : i === 3 ? e.width = r.readVarint() : i === 4 ? e.height = r.readVarint() : i === 5 ? e.left = r.readSVarint() : i === 6 ? e.top = r.readSVarint() : i === 7 && (e.advance = r.readVarint());
6126
6126
  }
6127
6127
  const Gu = fh;
@@ -6306,7 +6306,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6306
6306
  }(B, gh(B, x, d, e, s, D));
6307
6307
  const Y = [], ie = { positionedLines: Y, text: B.toString(), top: w[1], bottom: w[1], left: w[0], right: w[0], writingMode: I, iconsInText: !1, verticalizable: !1 };
6308
6308
  return function(ue, xe, Le, We, Me, ke, Ue, Oe, Fe, fe, qe, je) {
6309
- let Ye = 0, Pt = Ya, Tt = 0, oi = 0;
6309
+ let Qe = 0, Pt = Ya, Tt = 0, oi = 0;
6310
6310
  const Tr = Oe === "right" ? 1 : Oe === "left" ? 0 : 0.5;
6311
6311
  let vi = 0;
6312
6312
  for (const Jt of Me) {
@@ -6320,39 +6320,39 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6320
6320
  continue;
6321
6321
  }
6322
6322
  for (let Hi = 0; Hi < Jt.length(); Hi++) {
6323
- const gt = Jt.getSection(Hi), Mt = Jt.getSectionIndex(Hi), Bt = Jt.getCharCode(Hi);
6323
+ const mt = Jt.getSection(Hi), Mt = Jt.getSectionIndex(Hi), Bt = Jt.getCharCode(Hi);
6324
6324
  let Yi = 0, Gt = null, No = null, on = null, an = ni;
6325
6325
  const Ir = !(Fe === T.ai.horizontal || !qe && !La(Bt) || qe && (lc[Bt] || (Xt = Bt, ze.Arabic(Xt) || ze["Arabic Supplement"](Xt) || ze["Arabic Extended-A"](Xt) || ze["Arabic Presentation Forms-A"](Xt) || ze["Arabic Presentation Forms-B"](Xt))));
6326
- if (gt.imageName) {
6327
- const ur = We[gt.imageName];
6326
+ if (mt.imageName) {
6327
+ const ur = We[mt.imageName];
6328
6328
  if (!ur) continue;
6329
- on = gt.imageName, ue.iconsInText = ue.iconsInText || !0, No = ur.paddedRect;
6329
+ on = mt.imageName, ue.iconsInText = ue.iconsInText || !0, No = ur.paddedRect;
6330
6330
  const ci = ur.displaySize;
6331
- gt.scale = gt.scale * ni / je, Gt = { width: ci[0], height: ci[1], left: Gi, top: -Gu, advance: Ir ? ci[1] : ci[0] }, Yi = Ci + (ni - ci[1] * gt.scale), an = Gt.advance;
6332
- const kn = Ir ? ci[0] * gt.scale - ni * ai : ci[1] * gt.scale - ni * ai;
6331
+ mt.scale = mt.scale * ni / je, Gt = { width: ci[0], height: ci[1], left: Gi, top: -Gu, advance: Ir ? ci[1] : ci[0] }, Yi = Ci + (ni - ci[1] * mt.scale), an = Gt.advance;
6332
+ const kn = Ir ? ci[0] * mt.scale - ni * ai : ci[1] * mt.scale - ni * ai;
6333
6333
  kn > 0 && kn > wi && (wi = kn);
6334
6334
  } else {
6335
- const ur = Le[gt.fontStack], ci = ur && ur[Bt];
6335
+ const ur = Le[mt.fontStack], ci = ur && ur[Bt];
6336
6336
  if (ci && ci.rect) No = ci.rect, Gt = ci.metrics;
6337
6337
  else {
6338
- const kn = xe[gt.fontStack], nl = kn && kn[Bt];
6338
+ const kn = xe[mt.fontStack], nl = kn && kn[Bt];
6339
6339
  if (!nl) continue;
6340
6340
  Gt = nl.metrics;
6341
6341
  }
6342
- Yi = (ai - gt.scale) * ni;
6342
+ Yi = (ai - mt.scale) * ni;
6343
6343
  }
6344
- Ir ? (ue.verticalizable = !0, Oi.push({ glyph: Bt, imageName: on, x: Ye, y: Pt + Yi, vertical: Ir, scale: gt.scale, fontStack: gt.fontStack, sectionIndex: Mt, metrics: Gt, rect: No }), Ye += an * gt.scale + fe) : (Oi.push({ glyph: Bt, imageName: on, x: Ye, y: Pt + Yi, vertical: Ir, scale: gt.scale, fontStack: gt.fontStack, sectionIndex: Mt, metrics: Gt, rect: No }), Ye += Gt.advance * gt.scale + fe);
6344
+ Ir ? (ue.verticalizable = !0, Oi.push({ glyph: Bt, imageName: on, x: Qe, y: Pt + Yi, vertical: Ir, scale: mt.scale, fontStack: mt.fontStack, sectionIndex: Mt, metrics: Gt, rect: No }), Qe += an * mt.scale + fe) : (Oi.push({ glyph: Bt, imageName: on, x: Qe, y: Pt + Yi, vertical: Ir, scale: mt.scale, fontStack: mt.fontStack, sectionIndex: Mt, metrics: Gt, rect: No }), Qe += Gt.advance * mt.scale + fe);
6345
6345
  }
6346
- Oi.length !== 0 && (Tt = Math.max(Ye - fe, Tt), rm(Oi, 0, Oi.length - 1, Tr, wi)), Ye = 0;
6346
+ Oi.length !== 0 && (Tt = Math.max(Qe - fe, Tt), sm(Oi, 0, Oi.length - 1, Tr, wi)), Qe = 0;
6347
6347
  const hr = ke * ai + wi;
6348
6348
  bi.lineOffset = Math.max(wi, Ci), Pt += hr, oi = Math.max(hr, oi), ++vi;
6349
6349
  }
6350
6350
  var Xt;
6351
6351
  const Ri = Pt - Ya, { horizontalAlign: Fi, verticalAlign: Bi } = _h(Ue);
6352
- (function(Jt, ai, Ci, bi, Oi, wi, hr, Hi, gt) {
6352
+ (function(Jt, ai, Ci, bi, Oi, wi, hr, Hi, mt) {
6353
6353
  const Mt = (ai - Ci) * Oi;
6354
6354
  let Bt = 0;
6355
- Bt = wi !== hr ? -Hi * bi - Ya : (-bi * gt + 0.5) * hr;
6355
+ Bt = wi !== hr ? -Hi * bi - Ya : (-bi * mt + 0.5) * hr;
6356
6356
  for (const Yi of Jt) for (const Gt of Yi.positionedGlyphs) Gt.x += Mt, Gt.y += Bt;
6357
6357
  })(ue.positionedLines, Tr, Fi, Bi, Tt, oi, ke, Ri, Me.length), ue.top += -Bi * Ri, ue.bottom = ue.top + Ri, ue.left += -Fi * Tt, ue.right = ue.left + Tt;
6358
6358
  }(ie, e, r, s, $, p, f, g, I, x, C, R), !function(ue) {
@@ -6360,7 +6360,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6360
6360
  return !0;
6361
6361
  }(Y) && ie;
6362
6362
  }
6363
- const lc = { 9: !0, 10: !0, 11: !0, 12: !0, 13: !0, 32: !0 }, em = { 10: !0, 32: !0, 38: !0, 41: !0, 43: !0, 45: !0, 47: !0, 173: !0, 183: !0, 8203: !0, 8208: !0, 8211: !0, 8231: !0 }, tm = { 40: !0 };
6363
+ const lc = { 9: !0, 10: !0, 11: !0, 12: !0, 13: !0, 32: !0 }, im = { 10: !0, 32: !0, 38: !0, 41: !0, 43: !0, 45: !0, 47: !0, 173: !0, 183: !0, 8203: !0, 8208: !0, 8211: !0, 8231: !0 }, rm = { 40: !0 };
6364
6364
  function Xu(i, e, r, s, l, d) {
6365
6365
  if (e.imageName) {
6366
6366
  const p = s[e.imageName];
@@ -6375,7 +6375,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6375
6375
  const l = Math.pow(i - e, 2);
6376
6376
  return s ? i < e ? l / 2 : 2 * l : l + Math.abs(r) * r;
6377
6377
  }
6378
- function im(i, e, r) {
6378
+ function nm(i, e, r) {
6379
6379
  let s = 0;
6380
6380
  return i === 10 && (s -= 1e4), r && (s += 150), i !== 40 && i !== 65288 || (s += 50), e !== 41 && e !== 65289 || (s += 50), s;
6381
6381
  }
@@ -6405,7 +6405,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6405
6405
  const C = i.getSection(I), D = i.getCharCode(I);
6406
6406
  if (lc[D] || (x += Xu(D, C, s, l, e, d)), I < i.length() - 1) {
6407
6407
  const R = !((w = D) < 11904 || !(ze["Bopomofo Extended"](w) || ze.Bopomofo(w) || ze["CJK Compatibility Forms"](w) || ze["CJK Compatibility Ideographs"](w) || ze["CJK Compatibility"](w) || ze["CJK Radicals Supplement"](w) || ze["CJK Strokes"](w) || ze["CJK Symbols and Punctuation"](w) || ze["CJK Unified Ideographs Extension A"](w) || ze["CJK Unified Ideographs"](w) || ze["Enclosed CJK Letters and Months"](w) || ze["Halfwidth and Fullwidth Forms"](w) || ze.Hiragana(w) || ze["Ideographic Description Characters"](w) || ze["Kangxi Radicals"](w) || ze["Katakana Phonetic Extensions"](w) || ze.Katakana(w) || ze["Vertical Forms"](w) || ze["Yi Radicals"](w) || ze["Yi Syllables"](w)));
6408
- (em[D] || R || C.imageName || I !== i.length() - 2 && tm[i.getCharCode(I + 1)]) && p.push(Ku(I + 1, x, f, p, im(D, i.getCharCode(I + 1), R && g), !1));
6408
+ (im[D] || R || C.imageName || I !== i.length() - 2 && rm[i.getCharCode(I + 1)]) && p.push(Ku(I + 1, x, f, p, nm(D, i.getCharCode(I + 1), R && g), !1));
6409
6409
  }
6410
6410
  }
6411
6411
  var w;
@@ -6437,12 +6437,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6437
6437
  }
6438
6438
  return { horizontalAlign: e, verticalAlign: r };
6439
6439
  }
6440
- function rm(i, e, r, s, l) {
6440
+ function sm(i, e, r, s, l) {
6441
6441
  if (!s && !l) return;
6442
6442
  const d = i[r], p = (i[r].x + d.metrics.advance * d.scale) * s;
6443
6443
  for (let f = e; f <= r; f++) i[f].x -= p, i[f].y += l;
6444
6444
  }
6445
- function nm(i, e, r) {
6445
+ function om(i, e, r) {
6446
6446
  const { horizontalAlign: s, verticalAlign: l } = _h(r), d = e[0] - i.displaySize[0] * s, p = e[1] - i.displaySize[1] * l;
6447
6447
  return { image: i, top: p, bottom: p + i.displaySize[1], left: d, right: d + i.displaySize[0] };
6448
6448
  }
@@ -6496,7 +6496,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6496
6496
  const l = i.get(e);
6497
6497
  return l ? s = l : i.get(r) && (s = "always"), s;
6498
6498
  }
6499
- const sm = Yn.VectorTileFeature.types, om = [{ name: "a_fade_opacity", components: 1, type: "Uint8", offset: 0 }];
6499
+ const am = Yn.VectorTileFeature.types, lm = [{ name: "a_fade_opacity", components: 1, type: "Uint8", offset: 0 }];
6500
6500
  function cc(i, e, r, s, l, d, p, f, g, x, w, I, C) {
6501
6501
  const D = f ? Math.min(es, Math.round(f[0])) : 0, R = f ? Math.min(es, Math.round(f[1])) : 0;
6502
6502
  i.emplaceBack(e, r, Math.round(32 * s), Math.round(32 * l), d, p, (D << 1) + (g ? 1 : 0), R, 16 * x, 16 * w, 256 * I, 256 * C);
@@ -6504,7 +6504,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6504
6504
  function xh(i, e, r) {
6505
6505
  i.emplaceBack(e.x, e.y, r), i.emplaceBack(e.x, e.y, r), i.emplaceBack(e.x, e.y, r), i.emplaceBack(e.x, e.y, r);
6506
6506
  }
6507
- function am(i) {
6507
+ function cm(i) {
6508
6508
  for (const e of i.sections) if (Ra(e.text)) return !0;
6509
6509
  return !1;
6510
6510
  }
@@ -6516,7 +6516,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6516
6516
  return this.layoutVertexArray.length === 0 && this.indexArray.length === 0 && this.dynamicLayoutVertexArray.length === 0 && this.opacityVertexArray.length === 0;
6517
6517
  }
6518
6518
  upload(e, r, s, l) {
6519
- this.isEmpty() || (s && (this.layoutVertexBuffer = e.createVertexBuffer(this.layoutVertexArray, Bf.members), this.indexBuffer = e.createIndexBuffer(this.indexArray, r), this.dynamicLayoutVertexBuffer = e.createVertexBuffer(this.dynamicLayoutVertexArray, Of.members, !0), this.opacityVertexBuffer = e.createVertexBuffer(this.opacityVertexArray, om, !0), this.opacityVertexBuffer.itemSize = 1), (s || l) && this.programConfigurations.upload(e));
6519
+ this.isEmpty() || (s && (this.layoutVertexBuffer = e.createVertexBuffer(this.layoutVertexArray, Vf.members), this.indexBuffer = e.createIndexBuffer(this.indexArray, r), this.dynamicLayoutVertexBuffer = e.createVertexBuffer(this.dynamicLayoutVertexArray, Nf.members, !0), this.opacityVertexBuffer = e.createVertexBuffer(this.opacityVertexArray, lm, !0), this.opacityVertexBuffer.itemSize = 1), (s || l) && this.programConfigurations.upload(e));
6520
6520
  }
6521
6521
  destroy() {
6522
6522
  this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy(), this.dynamicLayoutVertexBuffer.destroy(), this.opacityVertexBuffer.destroy());
@@ -6528,7 +6528,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6528
6528
  this.layoutVertexArray = new e(), this.layoutAttributes = r, this.indexArray = new s(), this.segments = new ri(), this.collisionVertexArray = new yi();
6529
6529
  }
6530
6530
  upload(e) {
6531
- this.layoutVertexBuffer = e.createVertexBuffer(this.layoutVertexArray, this.layoutAttributes), this.indexBuffer = e.createIndexBuffer(this.indexArray), this.collisionVertexBuffer = e.createVertexBuffer(this.collisionVertexArray, Vf.members, !0);
6531
+ this.layoutVertexBuffer = e.createVertexBuffer(this.layoutVertexArray, this.layoutAttributes), this.indexBuffer = e.createIndexBuffer(this.indexArray), this.collisionVertexBuffer = e.createVertexBuffer(this.collisionVertexArray, jf.members, !0);
6532
6532
  }
6533
6533
  destroy() {
6534
6534
  this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.segments.destroy(), this.collisionVertexBuffer.destroy());
@@ -6561,8 +6561,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6561
6561
  if (!l._featureFilter.filter(B, ue, s)) continue;
6562
6562
  let xe, Le;
6563
6563
  if (ie || (ue.geometry = Fs($)), x) {
6564
- const Me = l.getValueAndResolveTokens("text-field", ue, s, R), ke = Ni.factory(Me), Ue = this.hasRTLText = this.hasRTLText || am(ke);
6565
- (!Ue || tn.getRTLTextPluginStatus() === "unavailable" || Ue && tn.isParsed()) && (xe = jf(ke, l, ue));
6564
+ const Me = l.getValueAndResolveTokens("text-field", ue, s, R), ke = Ni.factory(Me), Ue = this.hasRTLText = this.hasRTLText || cm(ke);
6565
+ (!Ue || tn.getRTLTextPluginStatus() === "unavailable" || Ue && tn.isParsed()) && (xe = $f(ke, l, ue));
6566
6566
  }
6567
6567
  if (w) {
6568
6568
  const Me = l.getValueAndResolveTokens("icon-image", ue, s, R);
@@ -6570,7 +6570,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6570
6570
  }
6571
6571
  if (!xe && !Le) continue;
6572
6572
  const We = this.sortFeaturesByKey ? I.evaluate(ue, {}, s) : void 0;
6573
- if (this.features.push({ id: W, text: xe, icon: Le, index: se, sourceLayerIndex: Y, geometry: ue.geometry, properties: $.properties, type: sm[$.type], sortKey: We }), Le && (C[Le.name] = !0), xe) {
6573
+ if (this.features.push({ id: W, text: xe, icon: Le, index: se, sourceLayerIndex: Y, geometry: ue.geometry, properties: $.properties, type: am[$.type], sortKey: We }), Le && (C[Le.name] = !0), xe) {
6574
6574
  const Me = p.evaluate(ue, {}, s).join(","), ke = d.get("text-rotation-alignment") !== "viewport" && d.get("symbol-placement") !== "point";
6575
6575
  this.allowVerticalPlacement = this.writingModes && this.writingModes.indexOf(T.ai.vertical) >= 0;
6576
6576
  for (const Ue of xe.sections) if (Ue.image) C[Ue.image.name] = !0;
@@ -6648,8 +6648,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6648
6648
  addSymbols(e, r, s, l, d, p, f, g, x, w, I, C) {
6649
6649
  const D = e.indexArray, R = e.layoutVertexArray, B = e.segments.prepareSegment(4 * r.length, R, D, this.canOverlap ? p.sortKey : void 0), $ = this.glyphOffsetArray.length, W = B.vertexLength, se = this.allowVerticalPlacement && f === T.ai.vertical ? Math.PI / 2 : 0, Y = p.text && p.text.sections;
6650
6650
  for (let ie = 0; ie < r.length; ie++) {
6651
- const { tl: ue, tr: xe, bl: Le, br: We, tex: Me, pixelOffsetTL: ke, pixelOffsetBR: Ue, minFontScaleX: Oe, minFontScaleY: Fe, glyphOffset: fe, isSDF: qe, sectionIndex: je } = r[ie], Ye = B.vertexLength, Pt = fe[1];
6652
- cc(R, g.x, g.y, ue.x, Pt + ue.y, Me.x, Me.y, s, qe, ke.x, ke.y, Oe, Fe), cc(R, g.x, g.y, xe.x, Pt + xe.y, Me.x + Me.w, Me.y, s, qe, Ue.x, ke.y, Oe, Fe), cc(R, g.x, g.y, Le.x, Pt + Le.y, Me.x, Me.y + Me.h, s, qe, ke.x, Ue.y, Oe, Fe), cc(R, g.x, g.y, We.x, Pt + We.y, Me.x + Me.w, Me.y + Me.h, s, qe, Ue.x, Ue.y, Oe, Fe), xh(e.dynamicLayoutVertexArray, g, se), D.emplaceBack(Ye, Ye + 1, Ye + 2), D.emplaceBack(Ye + 1, Ye + 2, Ye + 3), B.vertexLength += 4, B.primitiveLength += 2, this.glyphOffsetArray.emplaceBack(fe[0]), ie !== r.length - 1 && je === r[ie + 1].sectionIndex || e.programConfigurations.populatePaintArrays(R.length, p, p.index, {}, C, Y && Y[je]);
6651
+ const { tl: ue, tr: xe, bl: Le, br: We, tex: Me, pixelOffsetTL: ke, pixelOffsetBR: Ue, minFontScaleX: Oe, minFontScaleY: Fe, glyphOffset: fe, isSDF: qe, sectionIndex: je } = r[ie], Qe = B.vertexLength, Pt = fe[1];
6652
+ cc(R, g.x, g.y, ue.x, Pt + ue.y, Me.x, Me.y, s, qe, ke.x, ke.y, Oe, Fe), cc(R, g.x, g.y, xe.x, Pt + xe.y, Me.x + Me.w, Me.y, s, qe, Ue.x, ke.y, Oe, Fe), cc(R, g.x, g.y, Le.x, Pt + Le.y, Me.x, Me.y + Me.h, s, qe, ke.x, Ue.y, Oe, Fe), cc(R, g.x, g.y, We.x, Pt + We.y, Me.x + Me.w, Me.y + Me.h, s, qe, Ue.x, Ue.y, Oe, Fe), xh(e.dynamicLayoutVertexArray, g, se), D.emplaceBack(Qe, Qe + 1, Qe + 2), D.emplaceBack(Qe + 1, Qe + 2, Qe + 3), B.vertexLength += 4, B.primitiveLength += 2, this.glyphOffsetArray.emplaceBack(fe[0]), ie !== r.length - 1 && je === r[ie + 1].sectionIndex || e.programConfigurations.populatePaintArrays(R.length, p, p.index, {}, C, Y && Y[je]);
6653
6653
  }
6654
6654
  e.placedSymbolArray.emplaceBack(g.x, g.y, $, this.glyphOffsetArray.length - $, W, x, w, g.segment, s ? s[0] : 0, s ? s[1] : 0, l[0], l[1], f, 0, !1, 0, I);
6655
6655
  }
@@ -6669,7 +6669,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6669
6669
  }
6670
6670
  }
6671
6671
  generateCollisionDebugBuffers() {
6672
- this.hasDebugData() && this.destroyDebugData(), this.textCollisionBox = new bh(_i, Ou.members, Ut), this.iconCollisionBox = new bh(_i, Ou.members, Ut);
6672
+ this.hasDebugData() && this.destroyDebugData(), this.textCollisionBox = new bh(_i, Ou.members, jt), this.iconCollisionBox = new bh(_i, Ou.members, jt);
6673
6673
  for (let e = 0; e < this.symbolInstances.length; e++) {
6674
6674
  const r = this.symbolInstances.get(e);
6675
6675
  this.addDebugCollisionBoxes(r.textBoxStartIndex, r.textBoxEndIndex, r, !0), this.addDebugCollisionBoxes(r.verticalTextBoxStartIndex, r.verticalTextBoxEndIndex, r, !0), this.addDebugCollisionBoxes(r.iconBoxStartIndex, r.iconBoxEndIndex, r, !1), this.addDebugCollisionBoxes(r.verticalIconBoxStartIndex, r.verticalIconBoxEndIndex, r, !1);
@@ -6832,7 +6832,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6832
6832
  if (s.value.kind === "constant" && s.value.value instanceof Ni) p(s.value.value.sections);
6833
6833
  else if (s.value.kind === "source") {
6834
6834
  const f = (x) => {
6835
- d || (x instanceof mn && ei(x.value) === Mr ? p(x.value.sections) : x instanceof io ? p(x.sections) : x.eachChild(f));
6835
+ d || (x instanceof mn && ei(x.value) === Er ? p(x.value.sections) : x instanceof io ? p(x.sections) : x.eachChild(f));
6836
6836
  }, g = s.value;
6837
6837
  g._styleExpression && f(g._styleExpression.expression);
6838
6838
  }
@@ -6840,24 +6840,24 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6840
6840
  }
6841
6841
  }
6842
6842
  let sd;
6843
- var lm = { get paint() {
6843
+ var hm = { get paint() {
6844
6844
  return sd = sd || new o({ "background-color": new $e(he.paint_background["background-color"]), "background-pattern": new t(he.paint_background["background-pattern"]), "background-opacity": new $e(he.paint_background["background-opacity"]) });
6845
6845
  } };
6846
- class cm extends h {
6846
+ class um extends h {
6847
6847
  constructor(e) {
6848
- super(e, lm);
6848
+ super(e, hm);
6849
6849
  }
6850
6850
  }
6851
6851
  let od;
6852
- var hm = { get paint() {
6852
+ var dm = { get paint() {
6853
6853
  return od = od || new o({ "raster-opacity": new $e(he.paint_raster["raster-opacity"]), "raster-hue-rotate": new $e(he.paint_raster["raster-hue-rotate"]), "raster-brightness-min": new $e(he.paint_raster["raster-brightness-min"]), "raster-brightness-max": new $e(he.paint_raster["raster-brightness-max"]), "raster-saturation": new $e(he.paint_raster["raster-saturation"]), "raster-contrast": new $e(he.paint_raster["raster-contrast"]), "raster-resampling": new $e(he.paint_raster["raster-resampling"]), "raster-fade-duration": new $e(he.paint_raster["raster-fade-duration"]) });
6854
6854
  } };
6855
- class um extends h {
6855
+ class pm extends h {
6856
6856
  constructor(e) {
6857
- super(e, hm);
6857
+ super(e, dm);
6858
6858
  }
6859
6859
  }
6860
- class dm extends h {
6860
+ class fm extends h {
6861
6861
  constructor(e) {
6862
6862
  super(e, {}), this.onAdd = (r) => {
6863
6863
  this.implementation.onAdd && this.implementation.onAdd(r, r.painter.context.gl);
@@ -6882,7 +6882,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6882
6882
  throw new Error("Custom layers cannot be serialized");
6883
6883
  }
6884
6884
  }
6885
- class pm {
6885
+ class mm {
6886
6886
  constructor(e) {
6887
6887
  this._methodToThrottle = e, this._triggered = !1, typeof MessageChannel < "u" && (this._channel = new MessageChannel(), this._channel.port2.onmessage = () => {
6888
6888
  this._triggered = !1, this._methodToThrottle();
@@ -7179,11 +7179,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7179
7179
  if (ie.length > 2) {
7180
7180
  for (const ke of Me) if (Eo(ie, ke)) return !0;
7181
7181
  }
7182
- for (let ke = 0; ke < ie.length - 1; ke++) if (Gp(ie[ke], ie[ke + 1], Me)) return !0;
7182
+ for (let ke = 0; ke < ie.length - 1; ke++) if (Wp(ie[ke], ie[ke + 1], Me)) return !0;
7183
7183
  return !1;
7184
7184
  }(e.cameraQueryGeometry, $ - x, W - x, se + x, Y + x));
7185
7185
  for (const $ of D) I.push($);
7186
- I.sort(fm);
7186
+ I.sort(gm);
7187
7187
  const R = {};
7188
7188
  let B;
7189
7189
  for (let $ = 0; $ < I.length; $++) {
@@ -7252,7 +7252,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7252
7252
  for (const d of i) e = Math.min(e, d.x), r = Math.min(r, d.y), s = Math.max(s, d.x), l = Math.max(l, d.y);
7253
7253
  return { minX: e, minY: r, maxX: s, maxY: l };
7254
7254
  }
7255
- function fm(i, e) {
7255
+ function gm(i, e) {
7256
7256
  return e - i;
7257
7257
  }
7258
7258
  function vd(i, e, r, s, l) {
@@ -7307,7 +7307,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7307
7307
  function Td(i, e) {
7308
7308
  return Math.max(i ? i.right - i.left : 0, e ? e.right - e.left : 0);
7309
7309
  }
7310
- function mm(i, e, r, s, l, d) {
7310
+ function _m(i, e, r, s, l, d) {
7311
7311
  const p = Sd(r, l, d), f = Td(r, s) * d;
7312
7312
  let g = 0;
7313
7313
  const x = wd(i) / 2;
@@ -7320,7 +7320,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7320
7320
  g += D;
7321
7321
  }
7322
7322
  }
7323
- function gm(i, e, r, s, l, d, p, f, g) {
7323
+ function ym(i, e, r, s, l, d, p, f, g) {
7324
7324
  const x = Sd(s, d, p), w = Td(s, l), I = w * p, C = i[0].x === 0 || i[0].x === g || i[0].y === 0 || i[0].y === g;
7325
7325
  return e - I < e / 4 && (e = I + e / 4), Id(i, C ? e / 2 * f % e : (w / 2 + 2 * d) * p * f % e, e, x, r, I, C, !1, g);
7326
7326
  }
@@ -7352,20 +7352,20 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7352
7352
  const fe = d.content, qe = fe[2] - fe[0], je = fe[3] - fe[1];
7353
7353
  (d.textFitWidth || d.textFitHeight) && (x = Qu(i)), W = dc(w, 0, fe[0]), Y = dc(I, 0, fe[1]), se = dc(w, fe[0], fe[2]), ie = dc(I, fe[1], fe[3]), ue = fe[0] - W, Le = fe[1] - Y, xe = qe - se, We = je - ie;
7354
7354
  }
7355
- const Me = x.x1, ke = x.y1, Ue = x.x2 - Me, Oe = x.y2 - ke, Fe = (fe, qe, je, Ye) => {
7356
- const Pt = pc(fe.stretch - W, se, Ue, Me), Tt = fc(fe.fixed - ue, xe, fe.stretch, D), oi = pc(qe.stretch - Y, ie, Oe, ke), Tr = fc(qe.fixed - Le, We, qe.stretch, R), vi = pc(je.stretch - W, se, Ue, Me), Xt = fc(je.fixed - ue, xe, je.stretch, D), Ri = pc(Ye.stretch - Y, ie, Oe, ke), Fi = fc(Ye.fixed - Le, We, Ye.stretch, R), Bi = new le(Pt, oi), Jt = new le(vi, oi), ai = new le(vi, Ri), Ci = new le(Pt, Ri), bi = new le(Tt / p, Tr / p), Oi = new le(Xt / p, Fi / p), wi = e * Math.PI / 180;
7355
+ const Me = x.x1, ke = x.y1, Ue = x.x2 - Me, Oe = x.y2 - ke, Fe = (fe, qe, je, Qe) => {
7356
+ const Pt = pc(fe.stretch - W, se, Ue, Me), Tt = fc(fe.fixed - ue, xe, fe.stretch, D), oi = pc(qe.stretch - Y, ie, Oe, ke), Tr = fc(qe.fixed - Le, We, qe.stretch, R), vi = pc(je.stretch - W, se, Ue, Me), Xt = fc(je.fixed - ue, xe, je.stretch, D), Ri = pc(Qe.stretch - Y, ie, Oe, ke), Fi = fc(Qe.fixed - Le, We, Qe.stretch, R), Bi = new le(Pt, oi), Jt = new le(vi, oi), ai = new le(vi, Ri), Ci = new le(Pt, Ri), bi = new le(Tt / p, Tr / p), Oi = new le(Xt / p, Fi / p), wi = e * Math.PI / 180;
7357
7357
  if (wi) {
7358
- const gt = Math.sin(wi), Mt = Math.cos(wi), Bt = [Mt, -gt, gt, Mt];
7358
+ const mt = Math.sin(wi), Mt = Math.cos(wi), Bt = [Mt, -mt, mt, Mt];
7359
7359
  Bi._matMult(Bt), Jt._matMult(Bt), Ci._matMult(Bt), ai._matMult(Bt);
7360
7360
  }
7361
7361
  const hr = fe.stretch + fe.fixed, Hi = qe.stretch + qe.fixed;
7362
- return { tl: Bi, tr: Jt, bl: Ci, br: ai, tex: { x: d.paddedRect.x + Oo + hr, y: d.paddedRect.y + Oo + Hi, w: je.stretch + je.fixed - hr, h: Ye.stretch + Ye.fixed - Hi }, writingMode: void 0, glyphOffset: [0, 0], sectionIndex: 0, pixelOffsetTL: bi, pixelOffsetBR: Oi, minFontScaleX: xe / p / Ue, minFontScaleY: We / p / Oe, isSDF: r };
7362
+ return { tl: Bi, tr: Jt, bl: Ci, br: ai, tex: { x: d.paddedRect.x + Oo + hr, y: d.paddedRect.y + Oo + Hi, w: je.stretch + je.fixed - hr, h: Qe.stretch + Qe.fixed - Hi }, writingMode: void 0, glyphOffset: [0, 0], sectionIndex: 0, pixelOffsetTL: bi, pixelOffsetBR: Oi, minFontScaleX: xe / p / Ue, minFontScaleY: We / p / Oe, isSDF: r };
7363
7363
  };
7364
7364
  if (s && (d.stretchX || d.stretchY)) {
7365
7365
  const fe = Ad(w, B, D), qe = Ad(I, $, R);
7366
7366
  for (let je = 0; je < fe.length - 1; je++) {
7367
- const Ye = fe[je], Pt = fe[je + 1];
7368
- for (let Tt = 0; Tt < qe.length - 1; Tt++) l.push(Fe(Ye, qe[Tt], Pt, qe[Tt + 1]));
7367
+ const Qe = fe[je], Pt = fe[je + 1];
7368
+ for (let Tt = 0; Tt < qe.length - 1; Tt++) l.push(Fe(Qe, qe[Tt], Pt, qe[Tt + 1]));
7369
7369
  }
7370
7370
  } else l.push(Fe({ fixed: 0, stretch: -1 }, { fixed: 0, stretch: -1 }, { fixed: 0, stretch: f + 1 }, { fixed: 0, stretch: g + 1 }));
7371
7371
  return l;
@@ -7411,7 +7411,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7411
7411
  this.boxEndIndex = e.length;
7412
7412
  }
7413
7413
  }
7414
- class _m {
7414
+ class xm {
7415
7415
  constructor(e = [], r = (s, l) => s < l ? -1 : s > l ? 1 : 0) {
7416
7416
  if (this.data = e, this.length = this.data.length, this.compare = r, this.length > 0) for (let s = (this.length >> 1) - 1; s >= 0; s--) this._down(s);
7417
7417
  }
@@ -7446,7 +7446,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7446
7446
  r[e] = d;
7447
7447
  }
7448
7448
  }
7449
- function ym(i, e = 1, r = !1) {
7449
+ function vm(i, e = 1, r = !1) {
7450
7450
  let s = 1 / 0, l = 1 / 0, d = -1 / 0, p = -1 / 0;
7451
7451
  const f = i[0];
7452
7452
  for (let D = 0; D < f.length; D++) {
@@ -7455,7 +7455,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7455
7455
  }
7456
7456
  const g = Math.min(d - s, p - l);
7457
7457
  let x = g / 2;
7458
- const w = new _m([], xm);
7458
+ const w = new xm([], bm);
7459
7459
  if (g === 0) return new le(s, l);
7460
7460
  for (let D = s; D < d; D += g) for (let R = l; R < p; R += g) w.push(new Vo(D + x, R + x, x, i));
7461
7461
  let I = function(D) {
@@ -7473,7 +7473,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7473
7473
  }
7474
7474
  return r && (console.log(`num probes: ${C}`), console.log(`best distance: ${I.d}`)), I.p;
7475
7475
  }
7476
- function xm(i, e) {
7476
+ function bm(i, e) {
7477
7477
  return e.max - i.max;
7478
7478
  }
7479
7479
  function Vo(i, e, r, s) {
@@ -7589,72 +7589,72 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7589
7589
  }
7590
7590
  return "center";
7591
7591
  }
7592
- function vm(i, e, r, s, l, d, p, f, g, x, w) {
7592
+ function wm(i, e, r, s, l, d, p, f, g, x, w) {
7593
7593
  let I = d.textMaxSize.evaluate(e, {});
7594
7594
  I === void 0 && (I = p);
7595
- const C = i.layers[0].layout, D = C.get("icon-offset").evaluate(e, {}, w), R = Md(r.horizontal), B = p / 24, $ = i.tilePixelRatio * B, W = i.tilePixelRatio * I / 24, se = i.tilePixelRatio * f, Y = i.tilePixelRatio * C.get("symbol-spacing"), ie = C.get("text-padding") * i.tilePixelRatio, ue = function(fe, qe, je, Ye = 1) {
7595
+ const C = i.layers[0].layout, D = C.get("icon-offset").evaluate(e, {}, w), R = Md(r.horizontal), B = p / 24, $ = i.tilePixelRatio * B, W = i.tilePixelRatio * I / 24, se = i.tilePixelRatio * f, Y = i.tilePixelRatio * C.get("symbol-spacing"), ie = C.get("text-padding") * i.tilePixelRatio, ue = function(fe, qe, je, Qe = 1) {
7596
7596
  const Pt = fe.get("icon-padding").evaluate(qe, {}, je), Tt = Pt && Pt.values;
7597
- return [Tt[0] * Ye, Tt[1] * Ye, Tt[2] * Ye, Tt[3] * Ye];
7597
+ return [Tt[0] * Qe, Tt[1] * Qe, Tt[2] * Qe, Tt[3] * Qe];
7598
7598
  }(C, e, w, i.tilePixelRatio), xe = C.get("text-max-angle") / 180 * Math.PI, Le = C.get("text-rotation-alignment") !== "viewport" && C.get("symbol-placement") !== "point", We = C.get("icon-rotation-alignment") === "map" && C.get("symbol-placement") !== "point", Me = C.get("symbol-placement"), ke = Y / 2, Ue = C.get("icon-text-fit");
7599
7599
  let Oe;
7600
7600
  s && Ue !== "none" && (i.allowVerticalPlacement && r.vertical && (Oe = ed(s, r.vertical, Ue, C.get("icon-text-fit-padding"), D, B)), R && (s = ed(s, R, Ue, C.get("icon-text-fit-padding"), D, B)));
7601
7601
  const Fe = (fe, qe) => {
7602
- qe.x < 0 || qe.x >= ti || qe.y < 0 || qe.y >= ti || function(je, Ye, Pt, Tt, oi, Tr, vi, Xt, Ri, Fi, Bi, Jt, ai, Ci, bi, Oi, wi, hr, Hi, gt, Mt, Bt, Yi, Gt, No) {
7603
- const on = je.addToLineVertexArray(Ye, Pt);
7602
+ qe.x < 0 || qe.x >= ti || qe.y < 0 || qe.y >= ti || function(je, Qe, Pt, Tt, oi, Tr, vi, Xt, Ri, Fi, Bi, Jt, ai, Ci, bi, Oi, wi, hr, Hi, mt, Mt, Bt, Yi, Gt, No) {
7603
+ const on = je.addToLineVertexArray(Qe, Pt);
7604
7604
  let an, Ir, ur, ci, kn = 0, nl = 0, Rd = 0, Fd = 0, Rh = -1, Fh = -1;
7605
7605
  const En = {};
7606
7606
  let Bd = Co("");
7607
7607
  if (je.allowVerticalPlacement && Tt.vertical) {
7608
7608
  const ki = Xt.layout.get("text-rotate").evaluate(Mt, {}, Gt) + 90;
7609
- ur = new mc(Ri, Ye, Fi, Bi, Jt, Tt.vertical, ai, Ci, bi, ki), vi && (ci = new mc(Ri, Ye, Fi, Bi, Jt, vi, wi, hr, bi, ki));
7609
+ ur = new mc(Ri, Qe, Fi, Bi, Jt, Tt.vertical, ai, Ci, bi, ki), vi && (ci = new mc(Ri, Qe, Fi, Bi, Jt, vi, wi, hr, bi, ki));
7610
7610
  }
7611
7611
  if (oi) {
7612
- const ki = Xt.layout.get("icon-rotate").evaluate(Mt, {}), dr = Xt.layout.get("icon-text-fit") !== "none", Vs = Pd(oi, ki, Yi, dr), Or = vi ? Pd(vi, ki, Yi, dr) : void 0;
7613
- Ir = new mc(Ri, Ye, Fi, Bi, Jt, oi, wi, hr, !1, ki), kn = 4 * Vs.length;
7612
+ const ki = Xt.layout.get("icon-rotate").evaluate(Mt, {}), dr = Xt.layout.get("icon-text-fit") !== "none", Vs = Pd(oi, ki, Yi, dr), Br = vi ? Pd(vi, ki, Yi, dr) : void 0;
7613
+ Ir = new mc(Ri, Qe, Fi, Bi, Jt, oi, wi, hr, !1, ki), kn = 4 * Vs.length;
7614
7614
  const Ns = je.iconSizeData;
7615
7615
  let ln = null;
7616
- Ns.kind === "source" ? (ln = [sn * Xt.layout.get("icon-size").evaluate(Mt, {})], ln[0] > es && hi(`${je.layerIds[0]}: Value for "icon-size" is >= ${el}. Reduce your "icon-size".`)) : Ns.kind === "composite" && (ln = [sn * Bt.compositeIconSizes[0].evaluate(Mt, {}, Gt), sn * Bt.compositeIconSizes[1].evaluate(Mt, {}, Gt)], (ln[0] > es || ln[1] > es) && hi(`${je.layerIds[0]}: Value for "icon-size" is >= ${el}. Reduce your "icon-size".`)), je.addSymbols(je.icon, Vs, ln, gt, Hi, Mt, T.ai.none, Ye, on.lineStartIndex, on.lineLength, -1, Gt), Rh = je.icon.placedSymbolArray.length - 1, Or && (nl = 4 * Or.length, je.addSymbols(je.icon, Or, ln, gt, Hi, Mt, T.ai.vertical, Ye, on.lineStartIndex, on.lineLength, -1, Gt), Fh = je.icon.placedSymbolArray.length - 1);
7616
+ Ns.kind === "source" ? (ln = [sn * Xt.layout.get("icon-size").evaluate(Mt, {})], ln[0] > es && hi(`${je.layerIds[0]}: Value for "icon-size" is >= ${el}. Reduce your "icon-size".`)) : Ns.kind === "composite" && (ln = [sn * Bt.compositeIconSizes[0].evaluate(Mt, {}, Gt), sn * Bt.compositeIconSizes[1].evaluate(Mt, {}, Gt)], (ln[0] > es || ln[1] > es) && hi(`${je.layerIds[0]}: Value for "icon-size" is >= ${el}. Reduce your "icon-size".`)), je.addSymbols(je.icon, Vs, ln, mt, Hi, Mt, T.ai.none, Qe, on.lineStartIndex, on.lineLength, -1, Gt), Rh = je.icon.placedSymbolArray.length - 1, Br && (nl = 4 * Br.length, je.addSymbols(je.icon, Br, ln, mt, Hi, Mt, T.ai.vertical, Qe, on.lineStartIndex, on.lineLength, -1, Gt), Fh = je.icon.placedSymbolArray.length - 1);
7617
7617
  }
7618
7618
  const Od = Object.keys(Tt.horizontal);
7619
7619
  for (const ki of Od) {
7620
7620
  const dr = Tt.horizontal[ki];
7621
7621
  if (!an) {
7622
7622
  Bd = Co(dr.text);
7623
- const Or = Xt.layout.get("text-rotate").evaluate(Mt, {}, Gt);
7624
- an = new mc(Ri, Ye, Fi, Bi, Jt, dr, ai, Ci, bi, Or);
7623
+ const Br = Xt.layout.get("text-rotate").evaluate(Mt, {}, Gt);
7624
+ an = new mc(Ri, Qe, Fi, Bi, Jt, dr, ai, Ci, bi, Br);
7625
7625
  }
7626
7626
  const Vs = dr.positionedLines.length === 1;
7627
- if (Rd += Ed(je, Ye, dr, Tr, Xt, bi, Mt, Oi, on, Tt.vertical ? T.ai.horizontal : T.ai.horizontalOnly, Vs ? Od : [ki], En, Rh, Bt, Gt), Vs) break;
7627
+ if (Rd += Ed(je, Qe, dr, Tr, Xt, bi, Mt, Oi, on, Tt.vertical ? T.ai.horizontal : T.ai.horizontalOnly, Vs ? Od : [ki], En, Rh, Bt, Gt), Vs) break;
7628
7628
  }
7629
- Tt.vertical && (Fd += Ed(je, Ye, Tt.vertical, Tr, Xt, bi, Mt, Oi, on, T.ai.vertical, ["vertical"], En, Fh, Bt, Gt));
7630
- const Sm = an ? an.boxStartIndex : je.collisionBoxArray.length, Tm = an ? an.boxEndIndex : je.collisionBoxArray.length, Im = ur ? ur.boxStartIndex : je.collisionBoxArray.length, Pm = ur ? ur.boxEndIndex : je.collisionBoxArray.length, Am = Ir ? Ir.boxStartIndex : je.collisionBoxArray.length, Cm = Ir ? Ir.boxEndIndex : je.collisionBoxArray.length, km = ci ? ci.boxStartIndex : je.collisionBoxArray.length, Em = ci ? ci.boxEndIndex : je.collisionBoxArray.length;
7631
- let Br = -1;
7629
+ Tt.vertical && (Fd += Ed(je, Qe, Tt.vertical, Tr, Xt, bi, Mt, Oi, on, T.ai.vertical, ["vertical"], En, Fh, Bt, Gt));
7630
+ const Im = an ? an.boxStartIndex : je.collisionBoxArray.length, Pm = an ? an.boxEndIndex : je.collisionBoxArray.length, Am = ur ? ur.boxStartIndex : je.collisionBoxArray.length, Cm = ur ? ur.boxEndIndex : je.collisionBoxArray.length, km = Ir ? Ir.boxStartIndex : je.collisionBoxArray.length, Em = Ir ? Ir.boxEndIndex : je.collisionBoxArray.length, Mm = ci ? ci.boxStartIndex : je.collisionBoxArray.length, zm = ci ? ci.boxEndIndex : je.collisionBoxArray.length;
7631
+ let Fr = -1;
7632
7632
  const _c = (ki, dr) => ki && ki.circleDiameter ? Math.max(ki.circleDiameter, dr) : dr;
7633
- Br = _c(an, Br), Br = _c(ur, Br), Br = _c(Ir, Br), Br = _c(ci, Br);
7634
- const Vd = Br > -1 ? 1 : 0;
7635
- Vd && (Br *= No / ni), je.glyphOffsetArray.length >= Bo.MAX_GLYPHS && hi("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"), Mt.sortKey !== void 0 && je.addToSortKeyRanges(je.symbolInstances.length, Mt.sortKey);
7636
- const Mm = kd(Xt, Mt, Gt), [zm, Dm] = function(ki, dr) {
7637
- const Vs = ki.length, Or = dr == null ? void 0 : dr.values;
7638
- if ((Or == null ? void 0 : Or.length) > 0) for (let Ns = 0; Ns < Or.length; Ns += 2) {
7639
- const ln = Or[Ns + 1];
7640
- ki.emplaceBack(T.ar[Or[Ns]], ln[0], ln[1]);
7633
+ Fr = _c(an, Fr), Fr = _c(ur, Fr), Fr = _c(Ir, Fr), Fr = _c(ci, Fr);
7634
+ const Vd = Fr > -1 ? 1 : 0;
7635
+ Vd && (Fr *= No / ni), je.glyphOffsetArray.length >= Bo.MAX_GLYPHS && hi("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"), Mt.sortKey !== void 0 && je.addToSortKeyRanges(je.symbolInstances.length, Mt.sortKey);
7636
+ const Dm = kd(Xt, Mt, Gt), [Lm, Rm] = function(ki, dr) {
7637
+ const Vs = ki.length, Br = dr == null ? void 0 : dr.values;
7638
+ if ((Br == null ? void 0 : Br.length) > 0) for (let Ns = 0; Ns < Br.length; Ns += 2) {
7639
+ const ln = Br[Ns + 1];
7640
+ ki.emplaceBack(T.ar[Br[Ns]], ln[0], ln[1]);
7641
7641
  }
7642
7642
  return [Vs, ki.length];
7643
- }(je.textAnchorOffsets, Mm);
7644
- je.symbolInstances.emplaceBack(Ye.x, Ye.y, En.right >= 0 ? En.right : -1, En.center >= 0 ? En.center : -1, En.left >= 0 ? En.left : -1, En.vertical || -1, Rh, Fh, Bd, Sm, Tm, Im, Pm, Am, Cm, km, Em, Fi, Rd, Fd, kn, nl, Vd, 0, ai, Br, zm, Dm);
7643
+ }(je.textAnchorOffsets, Dm);
7644
+ je.symbolInstances.emplaceBack(Qe.x, Qe.y, En.right >= 0 ? En.right : -1, En.center >= 0 ? En.center : -1, En.left >= 0 ? En.left : -1, En.vertical || -1, Rh, Fh, Bd, Im, Pm, Am, Cm, km, Em, Mm, zm, Fi, Rd, Fd, kn, nl, Vd, 0, ai, Fr, Lm, Rm);
7645
7645
  }(i, qe, fe, r, s, l, Oe, i.layers[0], i.collisionBoxArray, e.index, e.sourceLayerIndex, i.index, $, [ie, ie, ie, ie], Le, g, se, ue, We, D, e, d, x, w, p);
7646
7646
  };
7647
7647
  if (Me === "line") for (const fe of vd(e.geometry, 0, 0, ti, ti)) {
7648
- const qe = gm(fe, Y, xe, r.vertical || R, s, 24, W, i.overscaling, ti);
7649
- for (const je of qe) R && bm(i, R.text, ke, je) || Fe(fe, je);
7648
+ const qe = ym(fe, Y, xe, r.vertical || R, s, 24, W, i.overscaling, ti);
7649
+ for (const je of qe) R && Sm(i, R.text, ke, je) || Fe(fe, je);
7650
7650
  }
7651
7651
  else if (Me === "line-center") {
7652
7652
  for (const fe of e.geometry) if (fe.length > 1) {
7653
- const qe = mm(fe, xe, r.vertical || R, s, 24, W);
7653
+ const qe = _m(fe, xe, r.vertical || R, s, 24, W);
7654
7654
  qe && Fe(fe, qe);
7655
7655
  }
7656
7656
  } else if (e.type === "Polygon") for (const fe of no(e.geometry, 0)) {
7657
- const qe = ym(fe, 16);
7657
+ const qe = vm(fe, 16);
7658
7658
  Fe(fe[0], new is(qe.x, qe.y, 0));
7659
7659
  }
7660
7660
  else if (e.type === "LineString") for (const fe of e.geometry) Fe(fe, new is(fe[0].x, fe[0].y, 0));
@@ -7666,22 +7666,22 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7666
7666
  for (const Oe of Y.positionedLines) for (const Fe of Oe.positionedGlyphs) {
7667
7667
  if (!Fe.rect) continue;
7668
7668
  const fe = Fe.rect || {};
7669
- let qe = Gu + 1, je = !0, Ye = 1, Pt = 0;
7669
+ let qe = Gu + 1, je = !0, Qe = 1, Pt = 0;
7670
7670
  const Tt = (xe || Me) && Fe.vertical, oi = Fe.metrics.advance * Fe.scale / 2;
7671
7671
  if (Me && Y.verticalizable && (Pt = Oe.lineOffset / 2 - (Fe.imageName ? -(ni - Fe.metrics.width * Fe.scale) / 2 : (Fe.scale - 1) * ni)), Fe.imageName) {
7672
- const gt = We[Fe.imageName];
7673
- je = gt.sdf, Ye = gt.pixelRatio, qe = Gi / Ye;
7672
+ const mt = We[Fe.imageName];
7673
+ je = mt.sdf, Qe = mt.pixelRatio, qe = Gi / Qe;
7674
7674
  }
7675
7675
  const Tr = xe ? [Fe.x + oi, Fe.y] : [0, 0];
7676
7676
  let vi = xe ? [0, 0] : [Fe.x + oi + ie[0], Fe.y + ie[1] - Pt], Xt = [0, 0];
7677
7677
  Tt && (Xt = vi, vi = [0, 0]);
7678
- const Ri = Fe.metrics.isDoubleResolution ? 2 : 1, Fi = (Fe.metrics.left - qe) * Fe.scale - oi + vi[0], Bi = (-Fe.metrics.top - qe) * Fe.scale + vi[1], Jt = Fi + fe.w / Ri * Fe.scale / Ye, ai = Bi + fe.h / Ri * Fe.scale / Ye, Ci = new le(Fi, Bi), bi = new le(Jt, Bi), Oi = new le(Fi, ai), wi = new le(Jt, ai);
7678
+ const Ri = Fe.metrics.isDoubleResolution ? 2 : 1, Fi = (Fe.metrics.left - qe) * Fe.scale - oi + vi[0], Bi = (-Fe.metrics.top - qe) * Fe.scale + vi[1], Jt = Fi + fe.w / Ri * Fe.scale / Qe, ai = Bi + fe.h / Ri * Fe.scale / Qe, Ci = new le(Fi, Bi), bi = new le(Jt, Bi), Oi = new le(Fi, ai), wi = new le(Jt, ai);
7679
7679
  if (Tt) {
7680
- const gt = new le(-oi, oi - Ya), Mt = -Math.PI / 2, Bt = ni / 2 - oi, Yi = new le(5 - Ya - Bt, -(Fe.imageName ? Bt : 0)), Gt = new le(...Xt);
7681
- Ci._rotateAround(Mt, gt)._add(Yi)._add(Gt), bi._rotateAround(Mt, gt)._add(Yi)._add(Gt), Oi._rotateAround(Mt, gt)._add(Yi)._add(Gt), wi._rotateAround(Mt, gt)._add(Yi)._add(Gt);
7680
+ const mt = new le(-oi, oi - Ya), Mt = -Math.PI / 2, Bt = ni / 2 - oi, Yi = new le(5 - Ya - Bt, -(Fe.imageName ? Bt : 0)), Gt = new le(...Xt);
7681
+ Ci._rotateAround(Mt, mt)._add(Yi)._add(Gt), bi._rotateAround(Mt, mt)._add(Yi)._add(Gt), Oi._rotateAround(Mt, mt)._add(Yi)._add(Gt), wi._rotateAround(Mt, mt)._add(Yi)._add(Gt);
7682
7682
  }
7683
7683
  if (ke) {
7684
- const gt = Math.sin(ke), Mt = Math.cos(ke), Bt = [Mt, -gt, gt, Mt];
7684
+ const mt = Math.sin(ke), Mt = Math.cos(ke), Bt = [Mt, -mt, mt, Mt];
7685
7685
  Ci._matMult(Bt), bi._matMult(Bt), Oi._matMult(Bt), wi._matMult(Bt);
7686
7686
  }
7687
7687
  const hr = new le(0, 0), Hi = new le(0, 0);
@@ -7698,7 +7698,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7698
7698
  for (const e in i) return i[e];
7699
7699
  return null;
7700
7700
  }
7701
- function bm(i, e, r, s) {
7701
+ function Sm(i, e, r, s) {
7702
7702
  const l = i.compareText;
7703
7703
  if (e in l) {
7704
7704
  const d = l[e];
@@ -7801,7 +7801,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7801
7801
  var Mh;
7802
7802
  T.bf = void 0, (Mh = T.bf || (T.bf = {})).create = "create", Mh.load = "load", Mh.fullLoad = "fullLoad";
7803
7803
  let gc = null, rl = [];
7804
- const zh = 1e3 / 60, Dh = "loadTime", Lh = "fullLoadTime", wm = { mark(i) {
7804
+ const zh = 1e3 / 60, Dh = "loadTime", Lh = "fullLoadTime", Tm = { mark(i) {
7805
7805
  performance.mark(i);
7806
7806
  }, frame(i) {
7807
7807
  const e = i;
@@ -7823,11 +7823,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7823
7823
  return Mn;
7824
7824
  }, T.D = $e, T.E = Ln, T.F = class {
7825
7825
  constructor(i, e) {
7826
- this.target = i, this.mapId = e, this.resolveRejects = {}, this.tasks = {}, this.taskQueue = [], this.abortControllers = {}, this.messageHandlers = {}, this.invoker = new pm(() => this.process()), this.subscription = function(r, s, l, d) {
7826
+ this.target = i, this.mapId = e, this.resolveRejects = {}, this.tasks = {}, this.taskQueue = [], this.abortControllers = {}, this.messageHandlers = {}, this.invoker = new mm(() => this.process()), this.subscription = function(r, s, l, d) {
7827
7827
  return r.addEventListener(s, l, !1), { unsubscribe: () => {
7828
7828
  r.removeEventListener(s, l, !1);
7829
7829
  } };
7830
- }(this.target, "message", (r) => this.receive(r)), this.globalScope = Ar(self) ? i : window;
7830
+ }(this.target, "message", (r) => this.receive(r)), this.globalScope = Pr(self) ? i : window;
7831
7831
  }
7832
7832
  registerMessageHandler(i, e) {
7833
7833
  this.messageHandlers[i] = e;
@@ -7852,7 +7852,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7852
7852
  const s = this.abortControllers[r];
7853
7853
  return delete this.abortControllers[r], void (s && s.abort());
7854
7854
  }
7855
- if (Ar(self) || e.mustQueue) return this.tasks[r] = e, this.taskQueue.push(r), void this.invoker.trigger();
7855
+ if (Pr(self) || e.mustQueue) return this.tasks[r] = e, this.taskQueue.push(r), void this.invoker.trigger();
7856
7856
  this.processTask(r, e);
7857
7857
  }
7858
7858
  }
@@ -7903,9 +7903,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7903
7903
  l in i && (r[l] = i[l]);
7904
7904
  }
7905
7905
  return r;
7906
- }, T.N = ts, T.O = cd, T.P = le, T.Q = hd, T.R = lr, T.S = cr, T.T = Gn, T.U = pt, T.V = Ot, T.W = un, T.X = ti, T.Y = b, T.Z = uc, T._ = c, T.a = qr, T.a$ = function(i, e) {
7907
- var r = i[0], s = i[1], l = i[2], d = i[3], p = i[4], f = i[5], g = i[6], x = i[7], w = i[8], I = i[9], C = i[10], D = i[11], R = i[12], B = i[13], $ = i[14], W = i[15], se = e[0], Y = e[1], ie = e[2], ue = e[3], xe = e[4], Le = e[5], We = e[6], Me = e[7], ke = e[8], Ue = e[9], Oe = e[10], Fe = e[11], fe = e[12], qe = e[13], je = e[14], Ye = e[15];
7908
- return Math.abs(r - se) <= Li * Math.max(1, Math.abs(r), Math.abs(se)) && Math.abs(s - Y) <= Li * Math.max(1, Math.abs(s), Math.abs(Y)) && Math.abs(l - ie) <= Li * Math.max(1, Math.abs(l), Math.abs(ie)) && Math.abs(d - ue) <= Li * Math.max(1, Math.abs(d), Math.abs(ue)) && Math.abs(p - xe) <= Li * Math.max(1, Math.abs(p), Math.abs(xe)) && Math.abs(f - Le) <= Li * Math.max(1, Math.abs(f), Math.abs(Le)) && Math.abs(g - We) <= Li * Math.max(1, Math.abs(g), Math.abs(We)) && Math.abs(x - Me) <= Li * Math.max(1, Math.abs(x), Math.abs(Me)) && Math.abs(w - ke) <= Li * Math.max(1, Math.abs(w), Math.abs(ke)) && Math.abs(I - Ue) <= Li * Math.max(1, Math.abs(I), Math.abs(Ue)) && Math.abs(C - Oe) <= Li * Math.max(1, Math.abs(C), Math.abs(Oe)) && Math.abs(D - Fe) <= Li * Math.max(1, Math.abs(D), Math.abs(Fe)) && Math.abs(R - fe) <= Li * Math.max(1, Math.abs(R), Math.abs(fe)) && Math.abs(B - qe) <= Li * Math.max(1, Math.abs(B), Math.abs(qe)) && Math.abs($ - je) <= Li * Math.max(1, Math.abs($), Math.abs(je)) && Math.abs(W - Ye) <= Li * Math.max(1, Math.abs(W), Math.abs(Ye));
7906
+ }, T.N = ts, T.O = cd, T.P = le, T.Q = hd, T.R = lr, T.S = cr, T.T = Gn, T.U = dt, T.V = Ot, T.W = un, T.X = ti, T.Y = b, T.Z = uc, T._ = c, T.a = qr, T.a$ = function(i, e) {
7907
+ var r = i[0], s = i[1], l = i[2], d = i[3], p = i[4], f = i[5], g = i[6], x = i[7], w = i[8], I = i[9], C = i[10], D = i[11], R = i[12], B = i[13], $ = i[14], W = i[15], se = e[0], Y = e[1], ie = e[2], ue = e[3], xe = e[4], Le = e[5], We = e[6], Me = e[7], ke = e[8], Ue = e[9], Oe = e[10], Fe = e[11], fe = e[12], qe = e[13], je = e[14], Qe = e[15];
7908
+ return Math.abs(r - se) <= Li * Math.max(1, Math.abs(r), Math.abs(se)) && Math.abs(s - Y) <= Li * Math.max(1, Math.abs(s), Math.abs(Y)) && Math.abs(l - ie) <= Li * Math.max(1, Math.abs(l), Math.abs(ie)) && Math.abs(d - ue) <= Li * Math.max(1, Math.abs(d), Math.abs(ue)) && Math.abs(p - xe) <= Li * Math.max(1, Math.abs(p), Math.abs(xe)) && Math.abs(f - Le) <= Li * Math.max(1, Math.abs(f), Math.abs(Le)) && Math.abs(g - We) <= Li * Math.max(1, Math.abs(g), Math.abs(We)) && Math.abs(x - Me) <= Li * Math.max(1, Math.abs(x), Math.abs(Me)) && Math.abs(w - ke) <= Li * Math.max(1, Math.abs(w), Math.abs(ke)) && Math.abs(I - Ue) <= Li * Math.max(1, Math.abs(I), Math.abs(Ue)) && Math.abs(C - Oe) <= Li * Math.max(1, Math.abs(C), Math.abs(Oe)) && Math.abs(D - Fe) <= Li * Math.max(1, Math.abs(D), Math.abs(Fe)) && Math.abs(R - fe) <= Li * Math.max(1, Math.abs(R), Math.abs(fe)) && Math.abs(B - qe) <= Li * Math.max(1, Math.abs(B), Math.abs(qe)) && Math.abs($ - je) <= Li * Math.max(1, Math.abs($), Math.abs(je)) && Math.abs(W - Qe) <= Li * Math.max(1, Math.abs(W), Math.abs(Qe));
7909
7909
  }, T.a0 = ri, T.a1 = Ih, T.a2 = Te, T.a3 = (i) => {
7910
7910
  const e = window.document.createElement("video");
7911
7911
  return e.muted = !0, new Promise((r) => {
@@ -7926,24 +7926,24 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7926
7926
  for (let r = 0; r < i.length; r++) "ref" in i[r] && (i[r] = as(i[r], e[i[r].ref]));
7927
7927
  return i;
7928
7928
  }, T.aB = function(i) {
7929
- if (i.type === "custom") return new dm(i);
7929
+ if (i.type === "custom") return new fm(i);
7930
7930
  switch (i.type) {
7931
7931
  case "background":
7932
- return new cm(i);
7932
+ return new um(i);
7933
7933
  case "circle":
7934
- return new Xp(i);
7934
+ return new Kp(i);
7935
7935
  case "fill":
7936
- return new pf(i);
7936
+ return new mf(i);
7937
7937
  case "fill-extrusion":
7938
- return new Cf(i);
7938
+ return new Ef(i);
7939
7939
  case "heatmap":
7940
- return new Kp(i);
7941
- case "hillshade":
7942
7940
  return new Qp(i);
7941
+ case "hillshade":
7942
+ return new tf(i);
7943
7943
  case "line":
7944
- return new Ff(i);
7944
+ return new Of(i);
7945
7945
  case "raster":
7946
- return new um(i);
7946
+ return new pm(i);
7947
7947
  case "symbol":
7948
7948
  return new hc(i);
7949
7949
  }
@@ -7957,7 +7957,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7957
7957
  (function(p, f, g, x) {
7958
7958
  let w;
7959
7959
  for (w in f = f || {}, p = p || {}) Object.prototype.hasOwnProperty.call(p, w) && (Object.prototype.hasOwnProperty.call(f, w) || Hr(w, g, x));
7960
- for (w in f) Object.prototype.hasOwnProperty.call(f, w) && (Object.prototype.hasOwnProperty.call(p, w) ? yt(p[w], f[w]) || (p[w].type === "geojson" && f[w].type === "geojson" && Rn(p, f, w) ? qt(g, { command: "setGeoJSONSourceData", args: [w, f[w].data] }) : Er(w, f, g, x)) : ls(w, f, g));
7960
+ for (w in f) Object.prototype.hasOwnProperty.call(f, w) && (Object.prototype.hasOwnProperty.call(p, w) ? yt(p[w], f[w]) || (p[w].type === "geojson" && f[w].type === "geojson" && Rn(p, f, w) ? qt(g, { command: "setGeoJSONSourceData", args: [w, f[w].data] }) : kr(w, f, g, x)) : ls(w, f, g));
7961
7961
  })(i.sources, e.sources, l, s);
7962
7962
  const d = [];
7963
7963
  i.layers && i.layers.forEach((p) => {
@@ -8001,7 +8001,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8001
8001
  }
8002
8002
  }, T.aJ = Kl, T.aK = class extends Ls {
8003
8003
  constructor(i, e) {
8004
- super(i, e), this.current = jp;
8004
+ super(i, e), this.current = $p;
8005
8005
  }
8006
8006
  set(i) {
8007
8007
  if (i[12] !== this.current[12] || i[0] !== this.current[0]) return this.current = i, void this.gl.uniformMatrix4fv(this.location, !1, i);
@@ -8027,8 +8027,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8027
8027
  }, T.aQ = function(i, e, r, s, l, d, p) {
8028
8028
  var f = 1 / (e - r), g = 1 / (s - l), x = 1 / (d - p);
8029
8029
  return i[0] = -2 * f, i[1] = 0, i[2] = 0, i[3] = 0, i[4] = 0, i[5] = -2 * g, i[6] = 0, i[7] = 0, i[8] = 0, i[9] = 0, i[10] = 2 * x, i[11] = 0, i[12] = (e + r) * f, i[13] = (l + s) * g, i[14] = (p + d) * x, i[15] = 1, i;
8030
- }, T.aR = Wp, T.aS = class extends me {
8031
- }, T.aT = Nf, T.aU = class extends De {
8030
+ }, T.aR = Jp, T.aS = class extends me {
8031
+ }, T.aT = Uf, T.aU = class extends De {
8032
8032
  }, T.aV = function(i) {
8033
8033
  return i <= 1 ? 1 : Math.pow(2, Math.ceil(Math.log(i) / Math.LN2));
8034
8034
  }, T.aW = xu, T.aX = In, T.aY = si, T.aZ = class extends Ee {
@@ -8105,7 +8105,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8105
8105
  }, T.bb = function(i, e) {
8106
8106
  return i[0] = e[0], i[1] = 0, i[2] = 0, i[3] = 0, i[4] = 0, i[5] = e[1], i[6] = 0, i[7] = 0, i[8] = 0, i[9] = 0, i[10] = e[2], i[11] = 0, i[12] = 0, i[13] = 0, i[14] = 0, i[15] = 1, i;
8107
8107
  }, T.bc = class extends L {
8108
- }, T.bd = Sh, T.be = wm, T.bg = Vi, T.bh = function(i, e) {
8108
+ }, T.bd = Sh, T.be = Tm, T.bg = Vi, T.bh = function(i, e) {
8109
8109
  qr.REGISTERED_PROTOCOLS[i] = e;
8110
8110
  }, T.bi = function(i) {
8111
8111
  delete qr.REGISTERED_PROTOCOLS[i];
@@ -8165,10 +8165,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8165
8165
  let se = !1;
8166
8166
  if (x.icon && x.icon.name) {
8167
8167
  const ie = i.imageMap[x.icon.name];
8168
- ie && ($ = nm(i.imagePositions[x.icon.name], r.get("icon-offset").evaluate(x, {}, i.canonical), r.get("icon-anchor").evaluate(x, {}, i.canonical)), se = !!ie.sdf, i.bucket.sdfIcons === void 0 ? i.bucket.sdfIcons = se : i.bucket.sdfIcons !== se && hi("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"), (ie.pixelRatio !== i.bucket.pixelRatio || r.get("icon-rotate").constantOr(1) !== 0) && (i.bucket.iconsNeedLinear = !0));
8168
+ ie && ($ = om(i.imagePositions[x.icon.name], r.get("icon-offset").evaluate(x, {}, i.canonical), r.get("icon-anchor").evaluate(x, {}, i.canonical)), se = !!ie.sdf, i.bucket.sdfIcons === void 0 ? i.bucket.sdfIcons = se : i.bucket.sdfIcons !== se && hi("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"), (ie.pixelRatio !== i.bucket.pixelRatio || r.get("icon-rotate").constantOr(1) !== 0) && (i.bucket.iconsNeedLinear = !0));
8169
8169
  }
8170
8170
  const Y = Md(R.horizontal) || R.vertical;
8171
- i.bucket.iconsInText = !!Y && Y.iconsInText, (Y || $) && vm(i.bucket, x, R, $, i.imageMap, l, C, D, W, se, i.canonical);
8171
+ i.bucket.iconsInText = !!Y && Y.iconsInText, (Y || $) && wm(i.bucket, x, R, $, i.imageMap, l, C, D, W, se, i.canonical);
8172
8172
  }
8173
8173
  i.showCollisionBoxes && i.bucket.generateCollisionDebugBuffers();
8174
8174
  }, T.bp = uh, T.bq = lh, T.br = hh, T.bs = Yn, T.bt = ph, T.bu = class {
@@ -8188,7 +8188,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8188
8188
  }
8189
8189
  return function(d, p, f, g, x) {
8190
8190
  const w = d.width, I = d.height;
8191
- Cr && Ei || (Cr = new OffscreenCanvas(w, I), Ei = Cr.getContext("2d", { willReadFrequently: !0 })), Cr.width = w, Cr.height = I, Ei.drawImage(d, 0, 0, w, I);
8191
+ Ar && Ei || (Ar = new OffscreenCanvas(w, I), Ei = Ar.getContext("2d", { willReadFrequently: !0 })), Ar.width = w, Ar.height = I, Ei.drawImage(d, 0, 0, w, I);
8192
8192
  const C = Ei.getImageData(p, f, g, x);
8193
8193
  return Ei.clearRect(0, 0, w, I), C.data;
8194
8194
  }(i, e, r, s, l);
@@ -8210,9 +8210,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8210
8210
  }, s.onerror = () => r(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));
8211
8211
  const l = new Blob([new Uint8Array(i)], { type: "image/png" });
8212
8212
  s.src = i.byteLength ? URL.createObjectURL(l) : Gs;
8213
- }), T.g = mr, T.h = (i, e) => dn($t(i, { type: "json" }), e), T.i = Ar, T.j = Gr, T.k = Zr, T.l = (i, e) => dn($t(i, { type: "arrayBuffer" }), e), T.m = dn, T.n = function(i) {
8214
- return new ph(i).readFields(Kf, []);
8215
- }, T.o = Za, T.p = Hu, T.q = o, T.r = Zc, T.s = pn, T.t = Ma, T.u = ze, T.v = he, T.w = hi, T.x = Rr, T.y = function([i, e, r]) {
8213
+ }), T.g = mr, T.h = (i, e) => dn($t(i, { type: "json" }), e), T.i = Pr, T.j = Gr, T.k = Zr, T.l = (i, e) => dn($t(i, { type: "arrayBuffer" }), e), T.m = dn, T.n = function(i) {
8214
+ return new ph(i).readFields(Qf, []);
8215
+ }, T.o = Za, T.p = Hu, T.q = o, T.r = Zc, T.s = pn, T.t = Ma, T.u = ze, T.v = he, T.w = hi, T.x = Lr, T.y = function([i, e, r]) {
8216
8216
  return e += 90, e *= Math.PI / 180, r *= Math.PI / 180, { x: i * Math.cos(e) * Math.sin(r), y: i * Math.sin(e) * Math.sin(r), z: i * Math.cos(r) };
8217
8217
  }, T.z = $i;
8218
8218
  }), N("worker", ["./shared"], function(T) {
@@ -8313,12 +8313,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8313
8313
  const at = new AbortController();
8314
8314
  this.inFlightDependencies.push(at), nt = q.sendAsync({ type: "GI", data: { icons: He, source: this.source, tileID: this.tileID, type: "patterns" } }, at);
8315
8315
  }
8316
- const [ft, rt, Ct] = yield Promise.all([ce, Ge, nt]), Zt = new _e(ft), Qt = new T.bn(rt, Ct);
8316
+ const [pt, rt, Ct] = yield Promise.all([ce, Ge, nt]), Zt = new _e(pt), Qt = new T.bn(rt, Ct);
8317
8317
  for (const at in re) {
8318
8318
  const vt = re[at];
8319
- vt instanceof T.a6 ? (we(vt.layers, this.zoom, O), T.bo({ bucket: vt, glyphMap: ft, glyphPositions: Zt.positions, imageMap: rt, imagePositions: Qt.iconPositions, showCollisionBoxes: this.showCollisionBoxes, canonical: this.tileID.canonical })) : vt.hasPattern && (vt instanceof T.bp || vt instanceof T.bq || vt instanceof T.br) && (we(vt.layers, this.zoom, O), vt.addFeatures(J, this.tileID.canonical, Qt.patternPositions));
8319
+ vt instanceof T.a6 ? (we(vt.layers, this.zoom, O), T.bo({ bucket: vt, glyphMap: pt, glyphPositions: Zt.positions, imageMap: rt, imagePositions: Qt.iconPositions, showCollisionBoxes: this.showCollisionBoxes, canonical: this.tileID.canonical })) : vt.hasPattern && (vt instanceof T.bp || vt instanceof T.bq || vt instanceof T.br) && (we(vt.layers, this.zoom, O), vt.addFeatures(J, this.tileID.canonical, Qt.patternPositions));
8320
8320
  }
8321
- return this.status = "done", { buckets: Object.values(re).filter((at) => !at.isEmpty()), featureIndex: te, collisionBoxArray: this.collisionBoxArray, glyphAtlasImage: Zt.image, imageAtlas: Qt, glyphMap: this.returnDependencies ? ft : null, iconMap: this.returnDependencies ? rt : null, glyphPositions: this.returnDependencies ? Zt.positions : null };
8321
+ return this.status = "done", { buckets: Object.values(re).filter((at) => !at.isEmpty()), featureIndex: te, collisionBoxArray: this.collisionBoxArray, glyphAtlasImage: Zt.image, imageAtlas: Qt, glyphMap: this.returnDependencies ? pt : null, iconMap: this.returnDependencies ? rt : null, glyphPositions: this.returnDependencies ? Zt.positions : null };
8322
8322
  });
8323
8323
  }
8324
8324
  }
@@ -8439,7 +8439,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8439
8439
  return M;
8440
8440
  });
8441
8441
  const Ne = T.bs.VectorTileFeature.prototype.toGeoJSON;
8442
- var pt = { exports: {} }, Ot = T.by, Ie = T.bs.VectorTileFeature, At = It;
8442
+ var dt = { exports: {} }, Ot = T.by, Ie = T.bs.VectorTileFeature, At = It;
8443
8443
  function It(G, M) {
8444
8444
  this.options = M || {}, this.features = G, this.length = G.length;
8445
8445
  }
@@ -8483,7 +8483,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8483
8483
  }
8484
8484
  function wt(G, M) {
8485
8485
  var E = G.feature;
8486
- E.id !== void 0 && M.writeVarintField(1, E.id), M.writeMessage(2, Zs, G), M.writeVarintField(3, E.type), M.writeMessage(4, Ar, E);
8486
+ E.id !== void 0 && M.writeVarintField(1, E.id), M.writeMessage(2, Zs, G), M.writeVarintField(3, E.type), M.writeMessage(4, Pr, E);
8487
8487
  }
8488
8488
  function Zs(G, M) {
8489
8489
  var E = G.feature, O = G.keys, q = G.values, Q = G.keycache, te = G.valuecache;
@@ -8504,7 +8504,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8504
8504
  function Ti(G) {
8505
8505
  return G << 1 ^ G >> 31;
8506
8506
  }
8507
- function Ar(G, M) {
8507
+ function Pr(G, M) {
8508
8508
  for (var E = G.loadGeometry(), O = G.type, q = 0, Q = 0, te = E.length, re = 0; re < te; re++) {
8509
8509
  var J = E[re], de = 1;
8510
8510
  O === 1 && (de = J.length), M.writeVarint(hi(1, de));
@@ -8520,15 +8520,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8520
8520
  var E = typeof G;
8521
8521
  E === "string" ? M.writeStringField(1, G) : E === "boolean" ? M.writeBooleanField(7, G) : E === "number" && (G % 1 != 0 ? M.writeDoubleField(3, G) : G < 0 ? M.writeSVarintField(6, G) : M.writeVarintField(5, G));
8522
8522
  }
8523
- pt.exports = Si, pt.exports.fromVectorTileJs = Si, pt.exports.fromGeojsonVt = function(G, M) {
8523
+ dt.exports = Si, dt.exports.fromVectorTileJs = Si, dt.exports.fromGeojsonVt = function(G, M) {
8524
8524
  M = M || {};
8525
8525
  var E = {};
8526
8526
  for (var O in G) E[O] = new Ur(G[O].features, M), E[O].name = O, E[O].version = M.version, E[O].extent = M.extent;
8527
8527
  return Si({ layers: E });
8528
- }, pt.exports.GeoJSONWrapper = Ur;
8529
- var fr = T.bx(pt.exports);
8530
- const Gs = { minZoom: 0, maxZoom: 16, minPoints: 2, radius: 40, extent: 512, nodeSize: 64, log: !1, generateId: !1, reduce: null, map: (G) => G }, un = Math.fround || (Cr = new Float32Array(1), (G) => (Cr[0] = +G, Cr[0]));
8531
- var Cr;
8528
+ }, dt.exports.GeoJSONWrapper = Ur;
8529
+ var fr = T.bx(dt.exports);
8530
+ const Gs = { minZoom: 0, maxZoom: 16, minPoints: 2, radius: 40, extent: 512, nodeSize: 64, log: !1, generateId: !1, reduce: null, map: (G) => G }, un = Math.fround || (Ar = new Float32Array(1), (G) => (Ar[0] = +G, Ar[0]));
8531
+ var Ar;
8532
8532
  const Ei = 3, er = 5, zn = 6;
8533
8533
  class qr {
8534
8534
  constructor(M) {
@@ -8622,8 +8622,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8622
8622
  else {
8623
8623
  const nt = this.points[E[J + Ei]];
8624
8624
  ge = nt.properties;
8625
- const [ft, rt] = nt.geometry.coordinates;
8626
- ce = Vi(ft), Pe = tr(rt);
8625
+ const [pt, rt] = nt.geometry.coordinates;
8626
+ ce = Vi(pt), Pe = tr(rt);
8627
8627
  }
8628
8628
  const Ge = { type: 1, geometry: [[Math.round(this.options.extent * (ce * Q - O)), Math.round(this.options.extent * (Pe * Q - q))]], tags: ge };
8629
8629
  let He;
@@ -8639,12 +8639,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8639
8639
  if (J[ce + 2] <= E) continue;
8640
8640
  J[ce + 2] = E;
8641
8641
  const Pe = J[ce], Ge = J[ce + 1], He = M.within(J[ce], J[ce + 1], re), nt = J[ce + er];
8642
- let ft = nt;
8642
+ let pt = nt;
8643
8643
  for (const rt of He) {
8644
8644
  const Ct = rt * ge;
8645
- J[Ct + 2] > E && (ft += J[Ct + er]);
8645
+ J[Ct + 2] > E && (pt += J[Ct + er]);
8646
8646
  }
8647
- if (ft > nt && ft >= te) {
8647
+ if (pt > nt && pt >= te) {
8648
8648
  let rt, Ct = Pe * nt, Zt = Ge * nt, Qt = -1;
8649
8649
  const at = ((ce / ge | 0) << 5) + (E + 1) + this.points.length;
8650
8650
  for (const vt of He) {
@@ -8654,10 +8654,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8654
8654
  const ii = J[Vt + er];
8655
8655
  Ct += J[Vt] * ii, Zt += J[Vt + 1] * ii, J[Vt + 4] = at, Q && (rt || (rt = this._map(J, ce, !0), Qt = this.clusterProps.length, this.clusterProps.push(rt)), Q(rt, this._map(J, Vt)));
8656
8656
  }
8657
- J[ce + 4] = at, de.push(Ct / ft, Zt / ft, 1 / 0, at, -1, ft), Q && de.push(Qt);
8657
+ J[ce + 4] = at, de.push(Ct / pt, Zt / pt, 1 / 0, at, -1, pt), Q && de.push(Qt);
8658
8658
  } else {
8659
8659
  for (let rt = 0; rt < ge; rt++) de.push(J[ce + rt]);
8660
- if (ft > 1) for (const rt of He) {
8660
+ if (pt > 1) for (const rt of He) {
8661
8661
  const Ct = rt * ge;
8662
8662
  if (!(J[Ct + 2] <= E)) {
8663
8663
  J[Ct + 2] = E;
@@ -8725,7 +8725,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8725
8725
  }
8726
8726
  return te = G - E, re = M - O, te * te + re * re;
8727
8727
  }
8728
- function kr(G, M, E, O) {
8728
+ function Cr(G, M, E, O) {
8729
8729
  const q = { id: G ?? null, type: M, geometry: E, tags: O, minX: 1 / 0, minY: 1 / 0, maxX: -1 / 0, maxY: -1 / 0 };
8730
8730
  if (M === "Point" || M === "MultiPoint" || M === "LineString") Zr(q, E);
8731
8731
  else if (M === "Polygon") Zr(q, E[0]);
@@ -8747,7 +8747,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8747
8747
  else if (Q === "LineString") he(q, re, te, !1);
8748
8748
  else if (Q === "MultiLineString") {
8749
8749
  if (E.lineMetrics) {
8750
- for (const de of q) re = [], he(de, re, te, !1), G.push(kr(J, "LineString", re, M.properties));
8750
+ for (const de of q) re = [], he(de, re, te, !1), G.push(Cr(J, "LineString", re, M.properties));
8751
8751
  return;
8752
8752
  }
8753
8753
  fn(q, re, te, !1);
@@ -8765,7 +8765,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8765
8765
  fn(de, ge, te, !0), re.push(ge);
8766
8766
  }
8767
8767
  }
8768
- G.push(kr(J, Q, re, M.properties));
8768
+ G.push(Cr(J, Q, re, M.properties));
8769
8769
  }
8770
8770
  function Ln(G, M) {
8771
8771
  M.push(as(G[0]), yt(G[1]), 0);
@@ -8811,15 +8811,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8811
8811
  else if (ce === "MultiLineString") Rn(ge, He, E, O, q, !1);
8812
8812
  else if (ce === "Polygon") Rn(ge, He, E, O, q, !0);
8813
8813
  else if (ce === "MultiPolygon") for (const nt of ge) {
8814
- const ft = [];
8815
- Rn(nt, ft, E, O, q, !0), ft.length && He.push(ft);
8814
+ const pt = [];
8815
+ Rn(nt, pt, E, O, q, !0), pt.length && He.push(pt);
8816
8816
  }
8817
8817
  if (He.length) {
8818
8818
  if (re.lineMetrics && ce === "LineString") {
8819
- for (const nt of He) J.push(kr(de.id, ce, nt, de.tags));
8819
+ for (const nt of He) J.push(Cr(de.id, ce, nt, de.tags));
8820
8820
  continue;
8821
8821
  }
8822
- ce !== "LineString" && ce !== "MultiLineString" || (He.length === 1 ? (ce = "LineString", He = He[0]) : ce = "MultiLineString"), ce !== "Point" && ce !== "MultiPoint" || (ce = He.length === 3 ? "Point" : "MultiPoint"), J.push(kr(de.id, ce, He, de.tags));
8822
+ ce !== "LineString" && ce !== "MultiLineString" || (He.length === 1 ? (ce = "LineString", He = He[0]) : ce = "MultiLineString"), ce !== "Point" && ce !== "MultiPoint" || (ce = He.length === 3 ? "Point" : "MultiPoint"), J.push(Cr(de.id, ce, He, de.tags));
8823
8823
  }
8824
8824
  }
8825
8825
  return J.length ? J : null;
@@ -8831,19 +8831,19 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8831
8831
  }
8832
8832
  }
8833
8833
  function Hr(G, M, E, O, q, Q, te) {
8834
- let re = Er(G);
8834
+ let re = kr(G);
8835
8835
  const J = q === 0 ? cs : hs;
8836
8836
  let de, ge, ce = G.start;
8837
- for (let ft = 0; ft < G.length - 3; ft += 3) {
8838
- const rt = G[ft], Ct = G[ft + 1], Zt = G[ft + 2], Qt = G[ft + 3], at = G[ft + 4], vt = q === 0 ? rt : Ct, Vt = q === 0 ? Qt : at;
8837
+ for (let pt = 0; pt < G.length - 3; pt += 3) {
8838
+ const rt = G[pt], Ct = G[pt + 1], Zt = G[pt + 2], Qt = G[pt + 3], at = G[pt + 4], vt = q === 0 ? rt : Ct, Vt = q === 0 ? Qt : at;
8839
8839
  let ii = !1;
8840
- te && (de = Math.sqrt(Math.pow(rt - Qt, 2) + Math.pow(Ct - at, 2))), vt < E ? Vt > E && (ge = J(re, rt, Ct, Qt, at, E), te && (re.start = ce + de * ge)) : vt > O ? Vt < O && (ge = J(re, rt, Ct, Qt, at, O), te && (re.start = ce + de * ge)) : Xi(re, rt, Ct, Zt), Vt < E && vt >= E && (ge = J(re, rt, Ct, Qt, at, E), ii = !0), Vt > O && vt <= O && (ge = J(re, rt, Ct, Qt, at, O), ii = !0), !Q && ii && (te && (re.end = ce + de * ge), M.push(re), re = Er(G)), te && (ce += de);
8840
+ te && (de = Math.sqrt(Math.pow(rt - Qt, 2) + Math.pow(Ct - at, 2))), vt < E ? Vt > E && (ge = J(re, rt, Ct, Qt, at, E), te && (re.start = ce + de * ge)) : vt > O ? Vt < O && (ge = J(re, rt, Ct, Qt, at, O), te && (re.start = ce + de * ge)) : Xi(re, rt, Ct, Zt), Vt < E && vt >= E && (ge = J(re, rt, Ct, Qt, at, E), ii = !0), Vt > O && vt <= O && (ge = J(re, rt, Ct, Qt, at, O), ii = !0), !Q && ii && (te && (re.end = ce + de * ge), M.push(re), re = kr(G)), te && (ce += de);
8841
8841
  }
8842
8842
  let Pe = G.length - 3;
8843
8843
  const Ge = G[Pe], He = G[Pe + 1], nt = q === 0 ? Ge : He;
8844
8844
  nt >= E && nt <= O && Xi(re, Ge, He, G[Pe + 2]), Pe = re.length - 3, Q && Pe >= 3 && (re[Pe] !== re[0] || re[Pe + 1] !== re[1]) && Xi(re, re[0], re[1], re[2]), re.length && M.push(re);
8845
8845
  }
8846
- function Er(G) {
8846
+ function kr(G) {
8847
8847
  const M = [];
8848
8848
  return M.size = G.size, M.start = G.start, M.end = G.end, M;
8849
8849
  }
@@ -8878,7 +8878,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8878
8878
  te.push(J);
8879
8879
  }
8880
8880
  }
8881
- E.push(kr(q.id, Q, te, q.tags));
8881
+ E.push(Cr(q.id, Q, te, q.tags));
8882
8882
  }
8883
8883
  return E;
8884
8884
  }
@@ -8988,9 +8988,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8988
8988
  }
8989
8989
  if (Ge.source = null, M.length === 0) continue;
8990
8990
  ge > 1 && console.time("clipping");
8991
- const He = 0.5 * de.buffer / de.extent, nt = 0.5 - He, ft = 0.5 + He, rt = 1 + He;
8992
- let Ct = null, Zt = null, Qt = null, at = null, vt = qt(M, ce, O - He, O + ft, 0, Ge.minX, Ge.maxX, de), Vt = qt(M, ce, O + nt, O + rt, 0, Ge.minX, Ge.maxX, de);
8993
- M = null, vt && (Ct = qt(vt, ce, q - He, q + ft, 1, Ge.minY, Ge.maxY, de), Zt = qt(vt, ce, q + nt, q + rt, 1, Ge.minY, Ge.maxY, de), vt = null), Vt && (Qt = qt(Vt, ce, q - He, q + ft, 1, Ge.minY, Ge.maxY, de), at = qt(Vt, ce, q + nt, q + rt, 1, Ge.minY, Ge.maxY, de), Vt = null), ge > 1 && console.timeEnd("clipping"), J.push(Ct || [], E + 1, 2 * O, 2 * q), J.push(Zt || [], E + 1, 2 * O, 2 * q + 1), J.push(Qt || [], E + 1, 2 * O + 1, 2 * q), J.push(at || [], E + 1, 2 * O + 1, 2 * q + 1);
8991
+ const He = 0.5 * de.buffer / de.extent, nt = 0.5 - He, pt = 0.5 + He, rt = 1 + He;
8992
+ let Ct = null, Zt = null, Qt = null, at = null, vt = qt(M, ce, O - He, O + pt, 0, Ge.minX, Ge.maxX, de), Vt = qt(M, ce, O + nt, O + rt, 0, Ge.minX, Ge.maxX, de);
8993
+ M = null, vt && (Ct = qt(vt, ce, q - He, q + pt, 1, Ge.minY, Ge.maxY, de), Zt = qt(vt, ce, q + nt, q + rt, 1, Ge.minY, Ge.maxY, de), vt = null), Vt && (Qt = qt(Vt, ce, q - He, q + pt, 1, Ge.minY, Ge.maxY, de), at = qt(Vt, ce, q + nt, q + rt, 1, Ge.minY, Ge.maxY, de), Vt = null), ge > 1 && console.timeEnd("clipping"), J.push(Ct || [], E + 1, 2 * O, 2 * q), J.push(Zt || [], E + 1, 2 * O, 2 * q + 1), J.push(Qt || [], E + 1, 2 * O + 1, 2 * q), J.push(at || [], E + 1, 2 * O + 1, 2 * q + 1);
8994
8994
  }
8995
8995
  }
8996
8996
  getTile(M, E, O) {
@@ -9025,7 +9025,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9025
9025
  }
9026
9026
  return !1;
9027
9027
  }
9028
- function Mr(G, M) {
9028
+ function Er(G, M) {
9029
9029
  const E = /* @__PURE__ */ new Map();
9030
9030
  if (G != null) if (G.type === "Feature") E.set(it(G, M), G);
9031
9031
  else for (const O of G.features) E.set(it(O, M), O);
@@ -9087,8 +9087,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9087
9087
  if (!re || !te) return te;
9088
9088
  const J = {}, de = {}, ge = { accumulated: null, zoom: 0 }, ce = { properties: null }, Pe = Object.keys(re);
9089
9089
  for (const Ge of Pe) {
9090
- const [He, nt] = re[Ge], ft = T.bB(nt), rt = T.bB(typeof He == "string" ? [He, ["accumulated"], ["get", Ge]] : He);
9091
- J[Ge] = ft.value, de[Ge] = rt.value;
9090
+ const [He, nt] = re[Ge], pt = T.bB(nt), rt = T.bB(typeof He == "string" ? [He, ["accumulated"], ["get", Ge]] : He);
9091
+ J[Ge] = pt.value, de[Ge] = rt.value;
9092
9092
  }
9093
9093
  return te.map = (Ge) => {
9094
9094
  ce.properties = Ge;
@@ -9139,11 +9139,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9139
9139
  const { promoteId: O } = M;
9140
9140
  if (M.request) {
9141
9141
  const q = yield T.h(M.request, E);
9142
- return this._dataUpdateable = yr(q.data, O) ? Mr(q.data, O) : void 0, q.data;
9142
+ return this._dataUpdateable = yr(q.data, O) ? Er(q.data, O) : void 0, q.data;
9143
9143
  }
9144
9144
  if (typeof M.data == "string") try {
9145
9145
  const q = JSON.parse(M.data);
9146
- return this._dataUpdateable = yr(q, O) ? Mr(q, O) : void 0, q;
9146
+ return this._dataUpdateable = yr(q, O) ? Er(q, O) : void 0, q;
9147
9147
  } catch {
9148
9148
  throw new Error(`Input data given to '${M.source}' is not a valid GeoJSON object.`);
9149
9149
  }
@@ -9343,9 +9343,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9343
9343
  }
9344
9344
  oe.docStyle = typeof window < "u" && window.document && window.document.documentElement.style, oe.selectProp = oe.testProp(["userSelect", "MozUserSelect", "WebkitUserSelect", "msUserSelect"]), oe.transformProp = oe.testProp(["transform", "WebkitTransform"]);
9345
9345
  const _t = { supported: !1, testSupport: function(u) {
9346
- !Ne && et && (pt ? Ot(u) : Ze = u);
9346
+ !Ne && et && (dt ? Ot(u) : Ze = u);
9347
9347
  } };
9348
- let Ze, et, Ne = !1, pt = !1;
9348
+ let Ze, et, Ne = !1, dt = !1;
9349
9349
  function Ot(u) {
9350
9350
  const t = u.createTexture();
9351
9351
  u.bindTexture(u.TEXTURE_2D, t);
@@ -9358,7 +9358,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9358
9358
  }
9359
9359
  var Ie;
9360
9360
  typeof document < "u" && (et = document.createElement("img"), et.onload = () => {
9361
- Ze && Ot(Ze), Ze = null, pt = !0;
9361
+ Ze && Ot(Ze), Ze = null, dt = !0;
9362
9362
  }, et.onerror = () => {
9363
9363
  Ne = !0, Ze = null;
9364
9364
  }, et.src = "data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA="), function(u) {
@@ -9598,7 +9598,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9598
9598
  }
9599
9599
  }
9600
9600
  const Ti = 1e20;
9601
- function Ar(u, t, n, o, a, h, m, y, v) {
9601
+ function Pr(u, t, n, o, a, h, m, y, v) {
9602
9602
  for (let b = t; b < t + o; b++) Mn(u, n * h + b, h, a, m, y, v);
9603
9603
  for (let b = n; b < n + a; b++) Mn(u, b * h + t, 1, o, m, y, v);
9604
9604
  }
@@ -9705,7 +9705,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9705
9705
  H[ae] = me > 0 ? me * me : 0, U[ae] = me < 0 ? me * me : 0;
9706
9706
  }
9707
9707
  }
9708
- Ar(H, 0, 0, b, P, b, this.f, this.v, this.z), Ar(U, Z, Z, y, v, b, this.f, this.v, this.z);
9708
+ Pr(H, 0, 0, b, P, b, this.f, this.v, this.z), Pr(U, Z, Z, y, v, b, this.f, this.v, this.z);
9709
9709
  for (let j = 0; j < A; j++) {
9710
9710
  const ee = Math.sqrt(H[j]) - Math.sqrt(U[j]);
9711
9711
  L[j] = Math.round(255 - 255 * (ee / this.radius + this.cutoff));
@@ -9725,7 +9725,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9725
9725
  }
9726
9726
  }
9727
9727
  let un;
9728
- class Cr extends c.E {
9728
+ class Ar extends c.E {
9729
9729
  constructor(t) {
9730
9730
  super(), un = un || new c.q({ anchor: new c.D(c.v.light.anchor), position: new Gs(), color: new c.D(c.v.light.color), intensity: new c.D(c.v.light.intensity) }), this._transitionable = new c.T(un), this.setLight(t), this._transitioning = this._transitionable.untransitioned();
9731
9731
  }
@@ -9908,7 +9908,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9908
9908
  function os() {
9909
9909
  return tr || (tr = new pn(dn(), c.G), tr.registerMessageHandler("GR", (u, t, n) => c.m(t, n))), tr;
9910
9910
  }
9911
- function kr(u, t) {
9911
+ function Cr(u, t) {
9912
9912
  const n = c.H();
9913
9913
  return c.J(n, n, [1, 1, 0]), c.K(n, n, [0.5 * u.width, 0.5 * u.height, 1]), c.L(n, n, u.calculatePosMatrix(t.toUnwrapped()));
9914
9914
  }
@@ -9926,7 +9926,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9926
9926
  }(a && a.layers, t, u.id), y = h.maxPitchScaleFactor(), v = u.tilesIn(o, y, m);
9927
9927
  v.sort(Gr);
9928
9928
  const b = [];
9929
- for (const A of v) b.push({ wrappedTileID: A.tileID.wrapped().key, queryResults: A.tile.queryRenderedFeatures(t, n, u._state, A.queryGeometry, A.cameraQueryGeometry, A.scale, a, h, y, kr(u.transform, A.tileID)) });
9929
+ for (const A of v) b.push({ wrappedTileID: A.tileID.wrapped().key, queryResults: A.tile.queryRenderedFeatures(t, n, u._state, A.queryGeometry, A.cameraQueryGeometry, A.scale, a, h, y, Cr(u.transform, A.tileID)) });
9930
9930
  const P = function(A) {
9931
9931
  const L = {}, F = {};
9932
9932
  for (const V of A) {
@@ -10336,7 +10336,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
10336
10336
  }
10337
10337
  }
10338
10338
  var Hr = c.Y([{ name: "a_pos", type: "Int16", components: 2 }, { name: "a_texture_pos", type: "Int16", components: 2 }]);
10339
- class Er extends c.E {
10339
+ class kr extends c.E {
10340
10340
  constructor(t, n, o, a) {
10341
10341
  super(), this.id = t, this.dispatcher = o, this.coordinates = n.coordinates, this.type = "image", this.minzoom = 0, this.maxzoom = 22, this.tileSize = 512, this.tiles = {}, this._loaded = !1, this.setEventedParent(a), this.options = n;
10342
10342
  }
@@ -10403,7 +10403,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
10403
10403
  return !1;
10404
10404
  }
10405
10405
  }
10406
- class Rn extends Er {
10406
+ class Rn extends kr {
10407
10407
  constructor(t, n, o, a) {
10408
10408
  super(t, n, o, a), this.roundZoom = !0, this.type = "video", this.options = n;
10409
10409
  }
@@ -10460,7 +10460,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
10460
10460
  return this.video && !this.video.paused;
10461
10461
  }
10462
10462
  }
10463
- class Xi extends Er {
10463
+ class Xi extends kr {
10464
10464
  constructor(t, n, o, a) {
10465
10465
  super(t, n, o, a), n.coordinates ? Array.isArray(n.coordinates) && n.coordinates.length === 4 && !n.coordinates.some((h) => !Array.isArray(h) || h.length !== 2 || h.some((m) => typeof m != "number")) || this.fire(new c.j(new c.a2(`sources.${t}`, null, '"coordinates" property must be an array of 4 longitude/latitude array pairs'))) : this.fire(new c.j(new c.a2(`sources.${t}`, null, 'missing required property "coordinates"'))), n.animate && typeof n.animate != "boolean" && this.fire(new c.j(new c.a2(`sources.${t}`, null, 'optional "animate" property must be a boolean value'))), n.canvas ? typeof n.canvas == "string" || n.canvas instanceof HTMLCanvasElement || this.fire(new c.j(new c.a2(`sources.${t}`, null, '"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))) : this.fire(new c.j(new c.a2(`sources.${t}`, null, 'missing required property "canvas"'))), this.options = n, this.animate = n.animate === void 0 || n.animate;
10466
10466
  }
@@ -10510,7 +10510,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
10510
10510
  case "geojson":
10511
10511
  return ls;
10512
10512
  case "image":
10513
- return Er;
10513
+ return kr;
10514
10514
  case "raster":
10515
10515
  return yt;
10516
10516
  case "raster-dem":
@@ -11220,7 +11220,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11220
11220
  let n = !0;
11221
11221
  return u === "always" || u !== "never" && t !== "never" || (n = !1), n;
11222
11222
  }
11223
- class Mr {
11223
+ class Er {
11224
11224
  constructor(t, n, o) {
11225
11225
  const a = this.boxCells = [], h = this.circleCells = [];
11226
11226
  this.xCellCount = Math.ceil(t / o), this.yCellCount = Math.ceil(n / o);
@@ -11481,8 +11481,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11481
11481
  }
11482
11482
  }
11483
11483
  const nt = 100;
11484
- class ft {
11485
- constructor(t, n, o = new Mr(t.width + 200, t.height + 200, 25), a = new Mr(t.width + 200, t.height + 200, 25)) {
11484
+ class pt {
11485
+ constructor(t, n, o = new Er(t.width + 200, t.height + 200, 25), a = new Er(t.width + 200, t.height + 200, 25)) {
11486
11486
  this.transform = t, this.mapProjection = n, this.grid = o, this.ignoredGrid = a, this.pitchFactor = Math.cos(t._pitch) * t.cameraToCenterDistance, this.screenRightBoundary = t.width + nt, this.screenBottomBoundary = t.height + nt, this.gridRightBoundary = t.width + 200, this.gridBottomBoundary = t.height + 200, this.perspectiveRatioCutoff = 0.6;
11487
11487
  }
11488
11488
  placeCollisionBox(t, n, o, a, h, m, y, v, b, P, A) {
@@ -11649,7 +11649,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11649
11649
  }
11650
11650
  class ui {
11651
11651
  constructor(t, n, o, a, h, m) {
11652
- this.transform = t.clone(), this.terrain = o, this.collisionIndex = new ft(this.transform, n), this.placements = {}, this.opacities = {}, this.variableOffsets = {}, this.stale = !1, this.commitTime = 0, this.fadeDuration = a, this.retainedQueryData = {}, this.collisionGroups = new Vt(h), this.collisionCircleArrays = {}, this.collisionBoxArrays = /* @__PURE__ */ new Map(), this.prevPlacement = m, m && (m.prevPlacement = void 0), this.placedOrientations = {};
11652
+ this.transform = t.clone(), this.terrain = o, this.collisionIndex = new pt(this.transform, n), this.placements = {}, this.opacities = {}, this.variableOffsets = {}, this.stale = !1, this.commitTime = 0, this.fadeDuration = a, this.retainedQueryData = {}, this.collisionGroups = new Vt(h), this.collisionCircleArrays = {}, this.collisionBoxArrays = /* @__PURE__ */ new Map(), this.prevPlacement = m, m && (m.prevPlacement = void 0), this.placedOrientations = {};
11653
11653
  }
11654
11654
  _getTerrainElevationFunc(t) {
11655
11655
  const n = this.terrain;
@@ -11705,8 +11705,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11705
11705
  }, rn = Ae.textAnchorOffsetStartIndex, Wn = Ae.textAnchorOffsetEndIndex;
11706
11706
  if (Wn === rn) {
11707
11707
  const _i = (yi, si) => {
11708
- const Ut = this.collisionIndex.placeCollisionBox(yi, j, L, v, b, ve, me, m, U.predicate, Ve);
11709
- return Ut && Ut.placeable && (this.markUsedOrientation(a, si, Ae), this.placedOrientations[Ae.crossTileID] = si), Ut;
11708
+ const jt = this.collisionIndex.placeCollisionBox(yi, j, L, v, b, ve, me, m, U.predicate, Ve);
11709
+ return jt && jt.placeable && (this.markUsedOrientation(a, si, Ae), this.placedOrientations[Ae.crossTileID] = si), jt;
11710
11710
  };
11711
11711
  ar(() => _i(Hn, c.ai.horizontal), () => {
11712
11712
  const yi = Ee.verticalTextBox;
@@ -11714,15 +11714,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11714
11714
  }), li(Ft && Ft.placeable);
11715
11715
  } else {
11716
11716
  let _i = c.ar[(st = (Lt = this.prevPlacement) === null || Lt === void 0 ? void 0 : Lt.variableOffsets[Ae.crossTileID]) === null || st === void 0 ? void 0 : st.anchor];
11717
- const yi = (Ut, Xn, Oa) => {
11718
- const ri = Ut.x2 - Ut.x1, Wl = Ut.y2 - Ut.y1, Po = Ae.textBoxScale, Ao = De && ne === "never" ? Xn : null;
11717
+ const yi = (jt, Xn, Oa) => {
11718
+ const ri = jt.x2 - jt.x1, Wl = jt.y2 - jt.y1, Po = Ae.textBoxScale, Ao = De && ne === "never" ? Xn : null;
11719
11719
  let nn = null, Xl = j === "never" ? 1 : 2, Va = "never";
11720
11720
  _i && Xl++;
11721
11721
  for (let Na = 0; Na < Xl; Na++) {
11722
11722
  for (let ja = rn; ja < Wn; ja++) {
11723
11723
  const Co = a.textAnchorOffsets.get(ja);
11724
11724
  if (_i && Co.textAnchor !== _i) continue;
11725
- const Jn = this.attemptAnchorPlacement(Co, Ut, ri, Wl, Po, me, ve, L, v, b, U, Va, Ae, a, Oa, m, y, Ao, Ve);
11725
+ const Jn = this.attemptAnchorPlacement(Co, jt, ri, Wl, Po, me, ve, L, v, b, U, Va, Ae, a, Oa, m, y, Ao, Ve);
11726
11726
  if (Jn && (nn = Jn.placedGlyphBoxes, nn && nn.placeable)) return ht = !0, sr = Jn.shift, nn;
11727
11727
  }
11728
11728
  _i ? _i = null : Va = j;
@@ -11730,13 +11730,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11730
11730
  return o && !nn && (nn = { box: this.collisionIndex.placeCollisionBox(Hn, "always", L, v, b, ve, me, m, U.predicate, Ve, new c.P(0, 0)).box, offscreen: !1, placeable: !1 }), nn;
11731
11731
  };
11732
11732
  ar(() => yi(Hn, Ee.iconBox, c.ai.horizontal), () => {
11733
- const Ut = Ee.verticalTextBox;
11734
- return a.allowVerticalPlacement && (!Ft || !Ft.placeable) && Ae.numVerticalGlyphVertices > 0 && Ut ? yi(Ut, Ee.verticalIconBox, c.ai.vertical) : { box: null, occluded: !0, offscreen: null };
11733
+ const jt = Ee.verticalTextBox;
11734
+ return a.allowVerticalPlacement && (!Ft || !Ft.placeable) && Ae.numVerticalGlyphVertices > 0 && jt ? yi(jt, Ee.verticalIconBox, c.ai.vertical) : { box: null, occluded: !0, offscreen: null };
11735
11735
  }), Ft && (ht = Ft.placeable, fi = Ft.offscreen);
11736
11736
  const si = li(Ft && Ft.placeable);
11737
11737
  if (!ht && this.prevPlacement) {
11738
- const Ut = this.prevPlacement.variableOffsets[Ae.crossTileID];
11739
- Ut && (this.variableOffsets[Ae.crossTileID] = Ut, this.markUsedJustification(a, Ut.anchor, Ae, si));
11738
+ const jt = this.prevPlacement.variableOffsets[Ae.crossTileID];
11739
+ jt && (this.variableOffsets[Ae.crossTileID] = jt, this.markUsedJustification(a, jt.anchor, Ae, si));
11740
11740
  }
11741
11741
  }
11742
11742
  }
@@ -11959,7 +11959,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11959
11959
  return this.placement.commit(t), this.placement;
11960
11960
  }
11961
11961
  }
11962
- const zr = 512 / c.X / 2;
11962
+ const Mr = 512 / c.X / 2;
11963
11963
  class mn {
11964
11964
  constructor(t, n, o) {
11965
11965
  this.tileID = t, this.bucketInstanceId = o, this._symbolsByKey = {};
@@ -11969,7 +11969,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11969
11969
  v ? v.push(m) : a.set(y, [m]);
11970
11970
  }
11971
11971
  for (const [h, m] of a) {
11972
- const y = { positions: m.map((v) => ({ x: Math.floor(v.anchorX * zr), y: Math.floor(v.anchorY * zr) })), crossTileIDs: m.map((v) => v.crossTileID) };
11972
+ const y = { positions: m.map((v) => ({ x: Math.floor(v.anchorX * Mr), y: Math.floor(v.anchorY * Mr) })), crossTileIDs: m.map((v) => v.crossTileID) };
11973
11973
  if (y.positions.length > 128) {
11974
11974
  const v = new c.aw(y.positions.length, 16, Uint16Array);
11975
11975
  for (const { x: b, y: P } of y.positions) v.add(b, P);
@@ -11979,8 +11979,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11979
11979
  }
11980
11980
  }
11981
11981
  getScaledCoordinates(t, n) {
11982
- const { x: o, y: a, z: h } = this.tileID.canonical, { x: m, y, z: v } = n.canonical, b = zr / Math.pow(2, v - h), P = (y * c.X + t.anchorY) * b, A = a * c.X * zr;
11983
- return { x: Math.floor((m * c.X + t.anchorX) * b - o * c.X * zr), y: Math.floor(P - A) };
11982
+ const { x: o, y: a, z: h } = this.tileID.canonical, { x: m, y, z: v } = n.canonical, b = Mr / Math.pow(2, v - h), P = (y * c.X + t.anchorY) * b, A = a * c.X * Mr;
11983
+ return { x: Math.floor((m * c.X + t.anchorX) * b - o * c.X * Mr), y: Math.floor(P - A) };
11984
11984
  }
11985
11985
  findMatches(t, n, o) {
11986
11986
  const a = this.tileID.canonical.z < n.canonical.z ? 1 : Math.pow(2, this.tileID.canonical.z - n.canonical.z);
@@ -12142,7 +12142,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12142
12142
  if (!n.validate || !ps(this, c.x(h))) {
12143
12143
  this._loaded = !0, this.stylesheet = h;
12144
12144
  for (const m in h.sources) this.addSource(m, h.sources[m], { validate: !1 });
12145
- h.sprite ? this._loadSprite(h.sprite) : this.imageManager.setLoaded(!0), this.glyphManager.setURL(h.glyphs), this._createLayers(), this.light = new Cr(this.stylesheet.light), this.sky = new er(this.stylesheet.sky), this.map.setTerrain((a = this.stylesheet.terrain) !== null && a !== void 0 ? a : null), this.fire(new c.k("data", { dataType: "style" })), this.fire(new c.k("style.load"));
12145
+ h.sprite ? this._loadSprite(h.sprite) : this.imageManager.setLoaded(!0), this.glyphManager.setURL(h.glyphs), this._createLayers(), this.light = new Ar(this.stylesheet.light), this.sky = new er(this.stylesheet.sky), this.map.setTerrain((a = this.stylesheet.terrain) !== null && a !== void 0 ? a : null), this.fire(new c.k("data", { dataType: "style" })), this.fire(new c.k("style.load"));
12146
12146
  }
12147
12147
  }
12148
12148
  _createLayers() {
@@ -13801,7 +13801,7 @@ uniform ${P} ${A} u_${L};
13801
13801
  n.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL, t), this.current = t, this.dirty = !1;
13802
13802
  }
13803
13803
  }
13804
- class Dr extends ut {
13804
+ class zr extends ut {
13805
13805
  getDefault() {
13806
13806
  return !1;
13807
13807
  }
@@ -13872,7 +13872,7 @@ uniform ${P} ${A} u_${L};
13872
13872
  class ra {
13873
13873
  constructor(t) {
13874
13874
  var n, o;
13875
- if (this.gl = t, this.clearColor = new xs(this), this.clearDepth = new Fc(this), this.clearStencil = new ro(this), this.colorMask = new Bc(this), this.depthMask = new On(this), this.stencilMask = new Oc(this), this.stencilFunc = new xl(this), this.stencilOp = new Vc(this), this.stencilTest = new vl(this), this.depthRange = new Yo(this), this.depthTest = new bl(this), this.depthFunc = new wl(this), this.blend = new Sl(this), this.blendFunc = new Tl(this), this.blendColor = new _n(this), this.blendEquation = new Il(this), this.cullFace = new Nc(this), this.cullFaceSide = new jc(this), this.frontFace = new Pl(this), this.program = new vs(this), this.activeTexture = new Uc(this), this.viewport = new no(this), this.bindFramebuffer = new $c(this), this.bindRenderbuffer = new qc(this), this.bindTexture = new Al(this), this.bindVertexBuffer = new Cl(this), this.bindElementBuffer = new kl(this), this.bindVertexArray = new Qo(this), this.pixelStoreUnpack = new El(this), this.pixelStoreUnpackPremultiplyAlpha = new so(this), this.pixelStoreUnpackFlipY = new Dr(this), this.extTextureFilterAnisotropic = t.getExtension("EXT_texture_filter_anisotropic") || t.getExtension("MOZ_EXT_texture_filter_anisotropic") || t.getExtension("WEBKIT_EXT_texture_filter_anisotropic"), this.extTextureFilterAnisotropic && (this.extTextureFilterAnisotropicMax = t.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)), this.maxTextureSize = t.getParameter(t.MAX_TEXTURE_SIZE), Bn(t)) {
13875
+ if (this.gl = t, this.clearColor = new xs(this), this.clearDepth = new Fc(this), this.clearStencil = new ro(this), this.colorMask = new Bc(this), this.depthMask = new On(this), this.stencilMask = new Oc(this), this.stencilFunc = new xl(this), this.stencilOp = new Vc(this), this.stencilTest = new vl(this), this.depthRange = new Yo(this), this.depthTest = new bl(this), this.depthFunc = new wl(this), this.blend = new Sl(this), this.blendFunc = new Tl(this), this.blendColor = new _n(this), this.blendEquation = new Il(this), this.cullFace = new Nc(this), this.cullFaceSide = new jc(this), this.frontFace = new Pl(this), this.program = new vs(this), this.activeTexture = new Uc(this), this.viewport = new no(this), this.bindFramebuffer = new $c(this), this.bindRenderbuffer = new qc(this), this.bindTexture = new Al(this), this.bindVertexBuffer = new Cl(this), this.bindElementBuffer = new kl(this), this.bindVertexArray = new Qo(this), this.pixelStoreUnpack = new El(this), this.pixelStoreUnpackPremultiplyAlpha = new so(this), this.pixelStoreUnpackFlipY = new zr(this), this.extTextureFilterAnisotropic = t.getExtension("EXT_texture_filter_anisotropic") || t.getExtension("MOZ_EXT_texture_filter_anisotropic") || t.getExtension("WEBKIT_EXT_texture_filter_anisotropic"), this.extTextureFilterAnisotropic && (this.extTextureFilterAnisotropicMax = t.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)), this.maxTextureSize = t.getParameter(t.MAX_TEXTURE_SIZE), Bn(t)) {
13876
13876
  this.HALF_FLOAT = t.HALF_FLOAT;
13877
13877
  const a = t.getExtension("EXT_color_buffer_half_float");
13878
13878
  this.RGBA16F = (n = t.RGBA16F) !== null && n !== void 0 ? n : a == null ? void 0 : a.RGBA16F_EXT, this.RGB16F = (o = t.RGB16F) !== null && o !== void 0 ? o : a == null ? void 0 : a.RGB16F_EXT, t.getExtension("EXT_color_buffer_float");
@@ -14051,13 +14051,13 @@ uniform ${P} ${A} u_${L};
14051
14051
  let fi, sr, Ft, Di, Ai = [0, 0], mi = null;
14052
14052
  if (a) sr = Se.glyphAtlasTexture, Ft = F.LINEAR, fi = Se.glyphAtlasTexture.size, Ve.iconsInText && (Ai = Se.imageAtlasTexture.size, mi = Se.imageAtlasTexture, Di = Lt || u.options.rotating || u.options.zooming || Ke.kind === "composite" || Ke.kind === "camera" ? F.LINEAR : F.NEAREST);
14053
14053
  else {
14054
- const Ut = n.layout.get("icon-size").constantOr(0) !== 1 || Ve.iconsNeedLinear;
14055
- sr = Se.imageAtlasTexture, Ft = Ee || u.options.rotating || u.options.zooming || Ut || Lt ? F.LINEAR : F.NEAREST, fi = Se.imageAtlasTexture.size;
14054
+ const jt = n.layout.get("icon-size").constantOr(0) !== 1 || Ve.iconsNeedLinear;
14055
+ sr = Se.imageAtlasTexture, Ft = Ee || u.options.rotating || u.options.zooming || jt || Lt ? F.LINEAR : F.NEAREST, fi = Se.imageAtlasTexture.size;
14056
14056
  }
14057
14057
  const gi = rt(Se, 1, u.transform.zoom), or = ee ? be.posMatrix : sa, In = Xr(or, H, U, u.transform, gi), To = xr(or, H, U, u.transform, gi), Hn = xr(be.posMatrix, H, U, u.transform, gi), Pn = Z.translatePosition(u.transform, Se, h, m), Io = ve && Ve.hasTextData(), Ba = n.layout.get("icon-text-fit") !== "none" && Io && Ve.hasIconData();
14058
14058
  if (K) {
14059
- const Ut = u.style.map.terrain ? (Oa, ri) => u.style.map.terrain.getElevation(be, Oa, ri) : null, Xn = n.layout.get("text-rotation-alignment") === "map";
14060
- O(Ve, be.posMatrix, u, a, In, Hn, H, b, Xn, Z, be.toUnwrapped(), V.width, V.height, Pn, Ut);
14059
+ const jt = u.style.map.terrain ? (Oa, ri) => u.style.map.terrain.getElevation(be, Oa, ri) : null, Xn = n.layout.get("text-rotation-alignment") === "map";
14060
+ O(Ve, be.posMatrix, u, a, In, Hn, H, b, Xn, Z, be.toUnwrapped(), V.width, V.height, Pn, jt);
14061
14061
  }
14062
14062
  const li = be.posMatrix, ar = a && ve || Ba, rn = K || ar ? sa : In, Wn = To, _i = Ee && n.paint.get(a ? "text-halo-width" : "icon-halo-width").constantOr(1) !== 0;
14063
14063
  let yi;
@@ -14065,8 +14065,8 @@ uniform ${P} ${A} u_${L};
14065
14065
  const si = { program: st, buffers: tt, uniformValues: yi, atlasTexture: sr, atlasTextureIcon: mi, atlasInterpolation: Ft, atlasInterpolationIcon: Di, isSDF: Ee, hasHalo: _i };
14066
14066
  if (ne && Ve.canOverlap) {
14067
14067
  ae = !0;
14068
- const Ut = tt.segments.get();
14069
- for (const Xn of Ut) De.push({ segments: new c.a0([Xn]), sortKey: Xn.sortKey, state: si, terrainData: Rt });
14068
+ const jt = tt.segments.get();
14069
+ for (const Xn of jt) De.push({ segments: new c.a0([Xn]), sortKey: Xn.sortKey, state: si, terrainData: Rt });
14070
14070
  } else De.push({ segments: tt.segments, sortKey: 0, state: si, terrainData: Rt });
14071
14071
  }
14072
14072
  ae && De.sort((be, Se) => be.sortKey - Se.sortKey);
@@ -14176,7 +14176,7 @@ uniform ${P} ${A} u_${L};
14176
14176
  const m = u.context, y = m.gl;
14177
14177
  y.enable(y.SCISSOR_TEST), y.scissor(t * u.pixelRatio, n * u.pixelRatio, o * u.pixelRatio, a * u.pixelRatio), m.clear({ color: h }), y.disable(y.SCISSOR_TEST);
14178
14178
  }
14179
- function mt(u, t, n) {
14179
+ function ft(u, t, n) {
14180
14180
  const o = u.context, a = o.gl, h = n.posMatrix, m = u.useProgram("debug"), y = ct.disabled, v = Nt.disabled, b = u.colorModeForRenderPass(), P = "$debug", A = u.style.map.terrain && u.style.map.terrain.getTerrainData(n);
14181
14181
  o.activeTexture.set(a.TEXTURE0);
14182
14182
  const L = t.getTileByID(n.key).latestRawTileData, F = Math.floor((L && L.byteLength || 0) / 1024), V = t.getTile(n).tileSize, Z = 512 / Math.min(V, 512) * (n.overscaledZ / u.transform.zoom) * 0.5;
@@ -14325,7 +14325,7 @@ uniform ${P} ${A} u_${L};
14325
14325
  return V.forEach((H) => U(H)), L || Z.forEach((H) => U(H)), L;
14326
14326
  }(this.style, this.transform.zoom);
14327
14327
  b && function(P, A, L) {
14328
- for (let F = 0; F < L.length; F++) mt(P, A, L[F]);
14328
+ for (let F = 0; F < L.length; F++) ft(P, A, L[F]);
14329
14329
  }(this, b, b.getVisibleCoordinates());
14330
14330
  }
14331
14331
  this.options.showPadding && function(b) {
@@ -14523,7 +14523,7 @@ uniform ${P} ${A} u_${L};
14523
14523
  case "raster":
14524
14524
  (function(h, m, y, v) {
14525
14525
  if (h.renderPass !== "translucent" || y.paint.get("raster-opacity") === 0 || !v.length) return;
14526
- const b = h.context, P = b.gl, A = m.getSource(), L = h.useProgram("raster"), F = h.colorModeForRenderPass(), [V, Z] = A instanceof Er ? [{}, v] : h.stencilConfigForOverlap(v), U = Z[Z.length - 1].overscaledZ, H = !h.options.moving;
14526
+ const b = h.context, P = b.gl, A = m.getSource(), L = h.useProgram("raster"), F = h.colorModeForRenderPass(), [V, Z] = A instanceof kr ? [{}, v] : h.stencilConfigForOverlap(v), U = Z[Z.length - 1].overscaledZ, H = !h.options.moving;
14527
14527
  for (const K of Z) {
14528
14528
  const j = h.depthModeForSublayer(K.overscaledZ - U, y.paint.get("raster-opacity") === 1 ? ct.ReadWrite : ct.ReadOnly, P.LESS), ee = m.getTile(K);
14529
14529
  ee.registerFadeDuration(y.paint.get("raster-fade-duration"));
@@ -14532,7 +14532,7 @@ uniform ${P} ${A} u_${L};
14532
14532
  const Re = y.paint.get("raster-resampling") === "nearest" ? P.NEAREST : P.LINEAR;
14533
14533
  b.activeTexture.set(P.TEXTURE0), ee.texture.bind(Re, P.CLAMP_TO_EDGE, P.LINEAR_MIPMAP_NEAREST), b.activeTexture.set(P.TEXTURE1), ne ? (ne.texture.bind(Re, P.CLAMP_TO_EDGE, P.LINEAR_MIPMAP_NEAREST), ve = Math.pow(2, ne.tileID.overscaledZ - ee.tileID.overscaledZ), De = [ee.tileID.canonical.x * ve % 1, ee.tileID.canonical.y * ve % 1]) : ee.texture.bind(Re, P.CLAMP_TO_EDGE, P.LINEAR_MIPMAP_NEAREST), ee.texture.useMipmap && b.extTextureFilterAnisotropic && h.transform.pitch > 20 && P.texParameterf(P.TEXTURE_2D, b.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT, b.extTextureFilterAnisotropicMax);
14534
14534
  const be = h.style.map.terrain && h.style.map.terrain.getTerrainData(K), Se = be ? K : null, Ve = Se ? Se.posMatrix : h.transform.calculatePosMatrix(K.toUnwrapped(), H), tt = Dc(Ve, De || [0, 0], ve || 1, me, y);
14535
- A instanceof Er ? L.draw(b, P.TRIANGLES, j, Nt.disabled, F, zt.disabled, tt, be, y.id, A.boundsBuffer, h.quadTriangleIndexBuffer, A.boundsSegments) : L.draw(b, P.TRIANGLES, j, V[K.overscaledZ], F, zt.disabled, tt, be, y.id, h.rasterBoundsBuffer, h.quadTriangleIndexBuffer, h.rasterBoundsSegments);
14535
+ A instanceof kr ? L.draw(b, P.TRIANGLES, j, Nt.disabled, F, zt.disabled, tt, be, y.id, A.boundsBuffer, h.quadTriangleIndexBuffer, A.boundsSegments) : L.draw(b, P.TRIANGLES, j, V[K.overscaledZ], F, zt.disabled, tt, be, y.id, h.rasterBoundsBuffer, h.quadTriangleIndexBuffer, h.rasterBoundsSegments);
14536
14536
  }
14537
14537
  })(t, n, o, a);
14538
14538
  break;
@@ -15647,7 +15647,7 @@ uniform ${P} ${A} u_${L};
15647
15647
  return Math.abs(o) < n;
15648
15648
  }
15649
15649
  }
15650
- function Lr(u) {
15650
+ function Dr(u) {
15651
15651
  return Math.abs(u.y) > Math.abs(u.x);
15652
15652
  }
15653
15653
  class Ta extends ks {
@@ -15661,7 +15661,7 @@ uniform ${P} ${A} u_${L};
15661
15661
  super.touchstart(t, n, o), this._currentTouchCount = o.length;
15662
15662
  }
15663
15663
  _start(t) {
15664
- this._lastPoints = t, Lr(t[0].sub(t[1])) && (this._valid = !1);
15664
+ this._lastPoints = t, Dr(t[0].sub(t[1])) && (this._valid = !1);
15665
15665
  }
15666
15666
  _move(t, n, o) {
15667
15667
  if (this._map.cooperativeGestures.isEnabled() && this._currentTouchCount < 3) return;
@@ -15674,7 +15674,7 @@ uniform ${P} ${A} u_${L};
15674
15674
  if (!a && !h) return;
15675
15675
  if (!a || !h) return this._firstMove === void 0 && (this._firstMove = o), o - this._firstMove < 100 && void 0;
15676
15676
  const m = t.y > 0 == n.y > 0;
15677
- return Lr(t) && Lr(n) && m;
15677
+ return Dr(t) && Dr(n) && m;
15678
15678
  }
15679
15679
  }
15680
15680
  const Ol = { panStep: 100, bearingStep: 15, pitchStep: 10 };
@@ -16006,7 +16006,7 @@ uniform ${P} ${A} u_${L};
16006
16006
  }, 100));
16007
16007
  }
16008
16008
  }
16009
- const Rr = (u) => u.zoom || u.drag || u.pitch || u.rotate;
16009
+ const Lr = (u) => u.zoom || u.drag || u.pitch || u.rotate;
16010
16010
  class Zc extends c.k {
16011
16011
  }
16012
16012
  function Ea(u) {
@@ -16085,7 +16085,7 @@ uniform ${P} ${A} u_${L};
16085
16085
  return !!this._eventsInProgress.rotate;
16086
16086
  }
16087
16087
  isMoving() {
16088
- return !!Rr(this._eventsInProgress) || this.isZooming();
16088
+ return !!Lr(this._eventsInProgress) || this.isZooming();
16089
16089
  }
16090
16090
  _blockedByActive(t, n, o) {
16091
16091
  for (const a in t) if (a !== o && (!n || n.indexOf(a) < 0)) return !0;
@@ -16116,7 +16116,7 @@ uniform ${P} ${A} u_${L};
16116
16116
  b && (h.bearing += b), P && (h.pitch += P), v && (h.zoom += v), m ? this._terrainMovement || !n.drag && !n.zoom ? n.drag && this._terrainMovement ? h.center = h.pointLocation(h.centerPoint.sub(y)) : h.setLocationAtPoint(F, A) : (this._terrainMovement = !0, this._map._elevationFreeze = !0, h.setLocationAtPoint(F, A)) : h.setLocationAtPoint(F, A), a._applyUpdatedTransform(h), this._map._update(), t.noInertia || this._inertia.record(t), this._fireEvents(n, o, !0);
16117
16117
  }
16118
16118
  _fireEvents(t, n, o) {
16119
- const a = Rr(this._eventsInProgress), h = Rr(t), m = {};
16119
+ const a = Lr(this._eventsInProgress), h = Lr(t), m = {};
16120
16120
  for (const A in t) {
16121
16121
  const { originalEvent: L } = t[A];
16122
16122
  this._eventsInProgress[A] || (m[`${A}start`] = L), this._eventsInProgress[A] = t[A];
@@ -16135,7 +16135,7 @@ uniform ${P} ${A} u_${L};
16135
16135
  this._handlersById[L].isActive() || (delete this._eventsInProgress[A], v = n[L] || F, y[`${A}end`] = v);
16136
16136
  }
16137
16137
  for (const A in y) this._fireEvent(A, y[A]);
16138
- const b = Rr(this._eventsInProgress), P = (a || h) && !b;
16138
+ const b = Lr(this._eventsInProgress), P = (a || h) && !b;
16139
16139
  if (P && this._terrainMovement) {
16140
16140
  this._map._elevationFreeze = !1, this._terrainMovement = !1;
16141
16141
  const A = this._map._getTransformForUpdate();
@@ -17229,7 +17229,7 @@ uniform ${P} ${A} u_${L};
17229
17229
  _clearWatch() {
17230
17230
  window.navigator.geolocation.clearWatch(this._geolocationWatchID), this._geolocationWatchID = void 0, this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"), this._geolocateButton.setAttribute("aria-pressed", "false"), this.options.showUserLocation && this._updateMarker(null);
17231
17231
  }
17232
- }, T.Hash = Is, T.ImageSource = Er, T.KeyboardHandler = Ia, T.LngLatBounds = he, T.LogoControl = br, T.Map = class extends Hc {
17232
+ }, T.Hash = Is, T.ImageSource = kr, T.KeyboardHandler = Ia, T.LngLatBounds = he, T.LogoControl = br, T.Map = class extends Hc {
17233
17233
  constructor(u) {
17234
17234
  c.be.mark(c.bf.create);
17235
17235
  const t = Object.assign(Object.assign({}, Wc), u);
@@ -17962,8 +17962,8 @@ uniform ${P} ${A} u_${L};
17962
17962
  var X = k;
17963
17963
  return X;
17964
17964
  });
17965
- })(ap);
17966
- var $m = ap.exports;
17965
+ })(cp);
17966
+ var $m = cp.exports;
17967
17967
  const Uh = /* @__PURE__ */ Um($m);
17968
17968
  function qm(_) {
17969
17969
  return [
@@ -18136,10 +18136,10 @@ const Jh = {
18136
18136
  Xm
18137
18137
  ];
18138
18138
  function Km(_, S) {
18139
- return dt(), jt("svg", Wm, Jm);
18139
+ return gt(), Ut("svg", Wm, Jm);
18140
18140
  }
18141
18141
  const Ym = /* @__PURE__ */ hn(Hm, [["render", Km]]);
18142
- function cp(_, S) {
18142
+ function up(_, S) {
18143
18143
  return function() {
18144
18144
  return _.apply(S, arguments);
18145
18145
  };
@@ -18151,12 +18151,12 @@ const { toString: Qm } = Object.prototype, { getPrototypeOf: Kh } = Object, Sc =
18151
18151
  function eg(_) {
18152
18152
  return _ !== null && !hl(_) && _.constructor !== null && !hl(_.constructor) && pr(_.constructor.isBuffer) && _.constructor.isBuffer(_);
18153
18153
  }
18154
- const hp = jr("ArrayBuffer");
18154
+ const dp = jr("ArrayBuffer");
18155
18155
  function tg(_) {
18156
18156
  let S;
18157
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? S = ArrayBuffer.isView(_) : S = _ && _.buffer && hp(_.buffer), S;
18157
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? S = ArrayBuffer.isView(_) : S = _ && _.buffer && dp(_.buffer), S;
18158
18158
  }
18159
- const ig = Tc("string"), pr = Tc("function"), up = Tc("number"), Ic = (_) => _ !== null && typeof _ == "object", rg = (_) => _ === !0 || _ === !1, xc = (_) => {
18159
+ const ig = Tc("string"), pr = Tc("function"), pp = Tc("number"), Ic = (_) => _ !== null && typeof _ == "object", rg = (_) => _ === !0 || _ === !1, xc = (_) => {
18160
18160
  if (Sc(_) !== "object")
18161
18161
  return !1;
18162
18162
  const S = Kh(_);
@@ -18180,7 +18180,7 @@ function ul(_, S, { allOwnKeys: k = !1 } = {}) {
18180
18180
  c = X[z], S.call(null, _[c], c, _);
18181
18181
  }
18182
18182
  }
18183
- function dp(_, S) {
18183
+ function fp(_, S) {
18184
18184
  S = S.toLowerCase();
18185
18185
  const k = Object.keys(_);
18186
18186
  let z = k.length, N;
@@ -18189,10 +18189,10 @@ function dp(_, S) {
18189
18189
  return N;
18190
18190
  return null;
18191
18191
  }
18192
- const js = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, pp = (_) => !hl(_) && _ !== js;
18192
+ const js = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, mp = (_) => !hl(_) && _ !== js;
18193
18193
  function $h() {
18194
- const { caseless: _ } = pp(this) && this || {}, S = {}, k = (z, N) => {
18195
- const X = _ && dp(S, N) || N;
18194
+ const { caseless: _ } = mp(this) && this || {}, S = {}, k = (z, N) => {
18195
+ const X = _ && fp(S, N) || N;
18196
18196
  xc(S[X]) && xc(z) ? S[X] = $h(S[X], z) : xc(z) ? S[X] = $h({}, z) : Uo(z) ? S[X] = z.slice() : S[X] = z;
18197
18197
  };
18198
18198
  for (let z = 0, N = arguments.length; z < N; z++)
@@ -18200,7 +18200,7 @@ function $h() {
18200
18200
  return S;
18201
18201
  }
18202
18202
  const gg = (_, S, k, { allOwnKeys: z } = {}) => (ul(S, (N, X) => {
18203
- k && pr(N) ? _[X] = cp(N, k) : _[X] = N;
18203
+ k && pr(N) ? _[X] = up(N, k) : _[X] = N;
18204
18204
  }, { allOwnKeys: z }), _), _g = (_) => (_.charCodeAt(0) === 65279 && (_ = _.slice(1)), _), yg = (_, S, k, z) => {
18205
18205
  _.prototype = Object.create(S.prototype, z), _.prototype.constructor = _, Object.defineProperty(_, "super", {
18206
18206
  value: S.prototype
@@ -18223,7 +18223,7 @@ const gg = (_, S, k, { allOwnKeys: z } = {}) => (ul(S, (N, X) => {
18223
18223
  if (!_) return null;
18224
18224
  if (Uo(_)) return _;
18225
18225
  let S = _.length;
18226
- if (!up(S)) return null;
18226
+ if (!pp(S)) return null;
18227
18227
  const k = new Array(S);
18228
18228
  for (; S-- > 0; )
18229
18229
  k[S] = _[S];
@@ -18246,14 +18246,14 @@ const gg = (_, S, k, { allOwnKeys: z } = {}) => (ul(S, (N, X) => {
18246
18246
  function(k, z, N) {
18247
18247
  return z.toUpperCase() + N;
18248
18248
  }
18249
- ), $d = (({ hasOwnProperty: _ }) => (S, k) => _.call(S, k))(Object.prototype), Ag = jr("RegExp"), fp = (_, S) => {
18249
+ ), $d = (({ hasOwnProperty: _ }) => (S, k) => _.call(S, k))(Object.prototype), Ag = jr("RegExp"), gp = (_, S) => {
18250
18250
  const k = Object.getOwnPropertyDescriptors(_), z = {};
18251
18251
  ul(k, (N, X) => {
18252
18252
  let T;
18253
18253
  (T = S(N, X, _)) !== !1 && (z[X] = T || N);
18254
18254
  }), Object.defineProperties(_, z);
18255
18255
  }, Cg = (_) => {
18256
- fp(_, (S, k) => {
18256
+ gp(_, (S, k) => {
18257
18257
  if (pr(_) && ["arguments", "caller", "callee"].indexOf(k) !== -1)
18258
18258
  return !1;
18259
18259
  const z = _[k];
@@ -18275,11 +18275,11 @@ const gg = (_, S, k, { allOwnKeys: z } = {}) => (ul(S, (N, X) => {
18275
18275
  };
18276
18276
  return Uo(_) ? z(_) : z(String(_).split(S)), k;
18277
18277
  }, Eg = () => {
18278
- }, Mg = (_, S) => _ != null && Number.isFinite(_ = +_) ? _ : S, Bh = "abcdefghijklmnopqrstuvwxyz", qd = "0123456789", mp = {
18278
+ }, Mg = (_, S) => _ != null && Number.isFinite(_ = +_) ? _ : S, Bh = "abcdefghijklmnopqrstuvwxyz", qd = "0123456789", _p = {
18279
18279
  DIGIT: qd,
18280
18280
  ALPHA: Bh,
18281
18281
  ALPHA_DIGIT: Bh + Bh.toUpperCase() + qd
18282
- }, zg = (_ = 16, S = mp.ALPHA_DIGIT) => {
18282
+ }, zg = (_ = 16, S = _p.ALPHA_DIGIT) => {
18283
18283
  let k = "";
18284
18284
  const { length: z } = S;
18285
18285
  for (; _--; )
@@ -18306,21 +18306,21 @@ const Lg = (_) => {
18306
18306
  return z;
18307
18307
  };
18308
18308
  return k(_, 0);
18309
- }, Rg = jr("AsyncFunction"), Fg = (_) => _ && (Ic(_) || pr(_)) && pr(_.then) && pr(_.catch), gp = ((_, S) => _ ? setImmediate : S ? ((k, z) => (js.addEventListener("message", ({ source: N, data: X }) => {
18309
+ }, Rg = jr("AsyncFunction"), Fg = (_) => _ && (Ic(_) || pr(_)) && pr(_.then) && pr(_.catch), yp = ((_, S) => _ ? setImmediate : S ? ((k, z) => (js.addEventListener("message", ({ source: N, data: X }) => {
18310
18310
  N === js && X === k && z.length && z.shift()();
18311
18311
  }, !1), (N) => {
18312
18312
  z.push(N), js.postMessage(k, "*");
18313
18313
  }))(`axios@${Math.random()}`, []) : (k) => setTimeout(k))(
18314
18314
  typeof setImmediate == "function",
18315
18315
  pr(js.postMessage)
18316
- ), Bg = typeof queueMicrotask < "u" ? queueMicrotask.bind(js) : typeof process < "u" && process.nextTick || gp, pe = {
18316
+ ), Bg = typeof queueMicrotask < "u" ? queueMicrotask.bind(js) : typeof process < "u" && process.nextTick || yp, pe = {
18317
18317
  isArray: Uo,
18318
- isArrayBuffer: hp,
18318
+ isArrayBuffer: dp,
18319
18319
  isBuffer: eg,
18320
18320
  isFormData: cg,
18321
18321
  isArrayBufferView: tg,
18322
18322
  isString: ig,
18323
- isNumber: up,
18323
+ isNumber: pp,
18324
18324
  isBoolean: rg,
18325
18325
  isObject: Ic,
18326
18326
  isPlainObject: xc,
@@ -18355,22 +18355,22 @@ const Lg = (_) => {
18355
18355
  hasOwnProperty: $d,
18356
18356
  hasOwnProp: $d,
18357
18357
  // an alias to avoid ESLint no-prototype-builtins detection
18358
- reduceDescriptors: fp,
18358
+ reduceDescriptors: gp,
18359
18359
  freezeMethods: Cg,
18360
18360
  toObjectSet: kg,
18361
18361
  toCamelCase: Pg,
18362
18362
  noop: Eg,
18363
18363
  toFiniteNumber: Mg,
18364
- findKey: dp,
18364
+ findKey: fp,
18365
18365
  global: js,
18366
- isContextDefined: pp,
18367
- ALPHABET: mp,
18366
+ isContextDefined: mp,
18367
+ ALPHABET: _p,
18368
18368
  generateString: zg,
18369
18369
  isSpecCompliantForm: Dg,
18370
18370
  toJSONObject: Lg,
18371
18371
  isAsyncFn: Rg,
18372
18372
  isThenable: Fg,
18373
- setImmediate: gp,
18373
+ setImmediate: yp,
18374
18374
  asap: Bg
18375
18375
  };
18376
18376
  function lt(_, S, k, z, N) {
@@ -18397,7 +18397,7 @@ pe.inherits(lt, Error, {
18397
18397
  };
18398
18398
  }
18399
18399
  });
18400
- const _p = lt.prototype, yp = {};
18400
+ const xp = lt.prototype, vp = {};
18401
18401
  [
18402
18402
  "ERR_BAD_OPTION_VALUE",
18403
18403
  "ERR_BAD_OPTION",
@@ -18413,12 +18413,12 @@ const _p = lt.prototype, yp = {};
18413
18413
  "ERR_INVALID_URL"
18414
18414
  // eslint-disable-next-line func-names
18415
18415
  ].forEach((_) => {
18416
- yp[_] = { value: _ };
18416
+ vp[_] = { value: _ };
18417
18417
  });
18418
- Object.defineProperties(lt, yp);
18419
- Object.defineProperty(_p, "isAxiosError", { value: !0 });
18418
+ Object.defineProperties(lt, vp);
18419
+ Object.defineProperty(xp, "isAxiosError", { value: !0 });
18420
18420
  lt.from = (_, S, k, z, N, X) => {
18421
- const T = Object.create(_p);
18421
+ const T = Object.create(xp);
18422
18422
  return pe.toFlatObject(_, T, function(_e) {
18423
18423
  return _e !== Error.prototype;
18424
18424
  }, (c) => c !== "isAxiosError"), lt.call(T, _.message, S, k, z, N), T.cause = _, T.name = _.name, X && Object.assign(T, X), T;
@@ -18427,12 +18427,12 @@ const Og = null;
18427
18427
  function qh(_) {
18428
18428
  return pe.isPlainObject(_) || pe.isArray(_);
18429
18429
  }
18430
- function xp(_) {
18430
+ function bp(_) {
18431
18431
  return pe.endsWith(_, "[]") ? _.slice(0, -2) : _;
18432
18432
  }
18433
18433
  function Zd(_, S, k) {
18434
18434
  return _ ? _.concat(S).map(function(N, X) {
18435
- return N = xp(N), !k && X ? "[" + N + "]" : N;
18435
+ return N = bp(N), !k && X ? "[" + N + "]" : N;
18436
18436
  }).join(k ? "." : "") : S;
18437
18437
  }
18438
18438
  function Vg(_) {
@@ -18463,12 +18463,12 @@ function Pc(_, S, k) {
18463
18463
  return pe.isArrayBuffer(Ze) || pe.isTypedArray(Ze) ? _e && typeof Blob == "function" ? new Blob([Ze]) : Buffer.from(Ze) : Ze;
18464
18464
  }
18465
18465
  function we(Ze, et, Ne) {
18466
- let pt = Ze;
18466
+ let dt = Ze;
18467
18467
  if (Ze && !Ne && typeof Ze == "object") {
18468
18468
  if (pe.endsWith(et, "{}"))
18469
18469
  et = z ? et : et.slice(0, -2), Ze = JSON.stringify(Ze);
18470
- else if (pe.isArray(Ze) && Vg(Ze) || (pe.isFileList(Ze) || pe.endsWith(et, "[]")) && (pt = pe.toArray(Ze)))
18471
- return et = xp(et), pt.forEach(function(Ie, At) {
18470
+ else if (pe.isArray(Ze) && Vg(Ze) || (pe.isFileList(Ze) || pe.endsWith(et, "[]")) && (dt = pe.toArray(Ze)))
18471
+ return et = bp(et), dt.forEach(function(Ie, At) {
18472
18472
  !(pe.isUndefined(Ie) || Ie === null) && S.append(
18473
18473
  // eslint-disable-next-line no-nested-ternary
18474
18474
  T === !0 ? Zd([et], At, X) : T === null ? et : et + "[]",
@@ -18487,14 +18487,14 @@ function Pc(_, S, k) {
18487
18487
  if (!pe.isUndefined(Ze)) {
18488
18488
  if (le.indexOf(Ze) !== -1)
18489
18489
  throw Error("Circular reference detected in " + et.join("."));
18490
- le.push(Ze), pe.forEach(Ze, function(pt, Ot) {
18491
- (!(pe.isUndefined(pt) || pt === null) && N.call(
18490
+ le.push(Ze), pe.forEach(Ze, function(dt, Ot) {
18491
+ (!(pe.isUndefined(dt) || dt === null) && N.call(
18492
18492
  S,
18493
- pt,
18493
+ dt,
18494
18494
  pe.isString(Ot) ? Ot.trim() : Ot,
18495
18495
  et,
18496
18496
  oe
18497
- )) === !0 && _t(pt, et ? et.concat(Ot) : [Ot]);
18497
+ )) === !0 && _t(dt, et ? et.concat(Ot) : [Ot]);
18498
18498
  }), le.pop();
18499
18499
  }
18500
18500
  }
@@ -18519,11 +18519,11 @@ function Gd(_) {
18519
18519
  function Yh(_, S) {
18520
18520
  this._pairs = [], _ && Pc(_, this, S);
18521
18521
  }
18522
- const vp = Yh.prototype;
18523
- vp.append = function(S, k) {
18522
+ const wp = Yh.prototype;
18523
+ wp.append = function(S, k) {
18524
18524
  this._pairs.push([S, k]);
18525
18525
  };
18526
- vp.toString = function(S) {
18526
+ wp.toString = function(S) {
18527
18527
  const k = S ? function(z) {
18528
18528
  return S.call(this, z, Gd);
18529
18529
  } : Gd;
@@ -18534,7 +18534,7 @@ vp.toString = function(S) {
18534
18534
  function jg(_) {
18535
18535
  return encodeURIComponent(_).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
18536
18536
  }
18537
- function bp(_, S, k) {
18537
+ function Sp(_, S, k) {
18538
18538
  if (!S)
18539
18539
  return _;
18540
18540
  const z = k && k.encode || jg, N = k && k.serialize;
@@ -18599,7 +18599,7 @@ class Hd {
18599
18599
  });
18600
18600
  }
18601
18601
  }
18602
- const wp = {
18602
+ const Tp = {
18603
18603
  silentJSONParsing: !0,
18604
18604
  forcedJSONParsing: !0,
18605
18605
  clarifyTimeoutError: !1
@@ -18641,7 +18641,7 @@ function Yg(_) {
18641
18641
  X = k[z], S[X] = _[X];
18642
18642
  return S;
18643
18643
  }
18644
- function Sp(_) {
18644
+ function Ip(_) {
18645
18645
  function S(k, z, N, X) {
18646
18646
  let T = k[X++];
18647
18647
  if (T === "__proto__") return !0;
@@ -18667,12 +18667,12 @@ function Qg(_, S, k) {
18667
18667
  return (k || JSON.stringify)(_);
18668
18668
  }
18669
18669
  const dl = {
18670
- transitional: wp,
18670
+ transitional: Tp,
18671
18671
  adapter: ["xhr", "http", "fetch"],
18672
18672
  transformRequest: [function(S, k) {
18673
18673
  const z = k.getContentType() || "", N = z.indexOf("application/json") > -1, X = pe.isObject(S);
18674
18674
  if (X && pe.isHTMLForm(S) && (S = new FormData(S)), pe.isFormData(S))
18675
- return N ? JSON.stringify(Sp(S)) : S;
18675
+ return N ? JSON.stringify(Ip(S)) : S;
18676
18676
  if (pe.isArrayBuffer(S) || pe.isBuffer(S) || pe.isStream(S) || pe.isFile(S) || pe.isBlob(S) || pe.isReadableStream(S))
18677
18677
  return S;
18678
18678
  if (pe.isArrayBufferView(S))
@@ -18935,7 +18935,7 @@ function Vh(_, S) {
18935
18935
  X = c.call(k, X, N.normalize(), S ? S.status : void 0);
18936
18936
  }), N.normalize(), X;
18937
18937
  }
18938
- function Tp(_) {
18938
+ function Pp(_) {
18939
18939
  return !!(_ && _.__CANCEL__);
18940
18940
  }
18941
18941
  function $o(_, S, k) {
@@ -18944,7 +18944,7 @@ function $o(_, S, k) {
18944
18944
  pe.inherits($o, lt, {
18945
18945
  __CANCEL__: !0
18946
18946
  });
18947
- function Ip(_, S, k) {
18947
+ function Ap(_, S, k) {
18948
18948
  const z = k.config.validateStatus;
18949
18949
  !k.status || !z || z(k.status) ? _(k) : S(new lt(
18950
18950
  "Request failed with status code " + k.status,
@@ -19076,7 +19076,7 @@ function u_(_) {
19076
19076
  function d_(_, S) {
19077
19077
  return S ? _.replace(/\/?\/$/, "") + "/" + S.replace(/^\/+/, "") : _;
19078
19078
  }
19079
- function Pp(_, S) {
19079
+ function Cp(_, S) {
19080
19080
  return _ && !u_(S) ? d_(_, S) : S;
19081
19081
  }
19082
19082
  const Kd = (_) => _ instanceof Qi ? { ..._ } : _;
@@ -19144,10 +19144,10 @@ function qs(_, S) {
19144
19144
  pe.isUndefined(oe) && le !== c || (k[we] = oe);
19145
19145
  }), k;
19146
19146
  }
19147
- const Ap = (_) => {
19147
+ const kp = (_) => {
19148
19148
  const S = qs({}, _);
19149
19149
  let { data: k, withXSRFToken: z, xsrfHeaderName: N, xsrfCookieName: X, headers: T, auth: c } = S;
19150
- S.headers = T = Qi.from(T), S.url = bp(Pp(S.baseURL, S.url), _.params, _.paramsSerializer), c && T.set(
19150
+ S.headers = T = Qi.from(T), S.url = Sp(Cp(S.baseURL, S.url), _.params, _.paramsSerializer), c && T.set(
19151
19151
  "Authorization",
19152
19152
  "Basic " + btoa((c.username || "") + ":" + (c.password ? unescape(encodeURIComponent(c.password)) : ""))
19153
19153
  );
@@ -19167,7 +19167,7 @@ const Ap = (_) => {
19167
19167
  return S;
19168
19168
  }, p_ = typeof XMLHttpRequest < "u", f_ = p_ && function(_) {
19169
19169
  return new Promise(function(k, z) {
19170
- const N = Ap(_);
19170
+ const N = kp(_);
19171
19171
  let X = N.data;
19172
19172
  const T = Qi.from(N.headers).normalize();
19173
19173
  let { responseType: c, onUploadProgress: _e, onDownloadProgress: ye } = N, we, le, oe, _t, Ze;
@@ -19176,7 +19176,7 @@ const Ap = (_) => {
19176
19176
  }
19177
19177
  let Ne = new XMLHttpRequest();
19178
19178
  Ne.open(N.method.toUpperCase(), N.url, !0), Ne.timeout = N.timeout;
19179
- function pt() {
19179
+ function dt() {
19180
19180
  if (!Ne)
19181
19181
  return;
19182
19182
  const Ie = Qi.from(
@@ -19189,21 +19189,21 @@ const Ap = (_) => {
19189
19189
  config: _,
19190
19190
  request: Ne
19191
19191
  };
19192
- Ip(function($t) {
19192
+ Ap(function($t) {
19193
19193
  k($t), et();
19194
19194
  }, function($t) {
19195
19195
  z($t), et();
19196
19196
  }, It), Ne = null;
19197
19197
  }
19198
- "onloadend" in Ne ? Ne.onloadend = pt : Ne.onreadystatechange = function() {
19199
- !Ne || Ne.readyState !== 4 || Ne.status === 0 && !(Ne.responseURL && Ne.responseURL.indexOf("file:") === 0) || setTimeout(pt);
19198
+ "onloadend" in Ne ? Ne.onloadend = dt : Ne.onreadystatechange = function() {
19199
+ !Ne || Ne.readyState !== 4 || Ne.status === 0 && !(Ne.responseURL && Ne.responseURL.indexOf("file:") === 0) || setTimeout(dt);
19200
19200
  }, Ne.onabort = function() {
19201
19201
  Ne && (z(new lt("Request aborted", lt.ECONNABORTED, _, Ne)), Ne = null);
19202
19202
  }, Ne.onerror = function() {
19203
19203
  z(new lt("Network Error", lt.ERR_NETWORK, _, Ne)), Ne = null;
19204
19204
  }, Ne.ontimeout = function() {
19205
19205
  let At = N.timeout ? "timeout of " + N.timeout + "ms exceeded" : "timeout exceeded";
19206
- const It = N.transitional || wp;
19206
+ const It = N.transitional || Tp;
19207
19207
  N.timeoutErrorMessage && (At = N.timeoutErrorMessage), z(new lt(
19208
19208
  At,
19209
19209
  It.clarifyTimeoutError ? lt.ETIMEDOUT : lt.ECONNABORTED,
@@ -19285,13 +19285,13 @@ const Ap = (_) => {
19285
19285
  }, {
19286
19286
  highWaterMark: 2
19287
19287
  });
19288
- }, Ac = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Cp = Ac && typeof ReadableStream == "function", Zh = Ac && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((_) => (S) => _.encode(S))(new TextEncoder()) : async (_) => new Uint8Array(await new Response(_).arrayBuffer())), kp = (_, ...S) => {
19288
+ }, Ac = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Ep = Ac && typeof ReadableStream == "function", Zh = Ac && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((_) => (S) => _.encode(S))(new TextEncoder()) : async (_) => new Uint8Array(await new Response(_).arrayBuffer())), Mp = (_, ...S) => {
19289
19289
  try {
19290
19290
  return !!_(...S);
19291
19291
  } catch {
19292
19292
  return !1;
19293
19293
  }
19294
- }, y_ = Cp && kp(() => {
19294
+ }, y_ = Ep && Mp(() => {
19295
19295
  let _ = !1;
19296
19296
  const S = new Request(Nr.origin, {
19297
19297
  body: new ReadableStream(),
@@ -19301,7 +19301,7 @@ const Ap = (_) => {
19301
19301
  }
19302
19302
  }).headers.has("Content-Type");
19303
19303
  return _ && !S;
19304
- }), Qd = 64 * 1024, Gh = Cp && kp(() => pe.isReadableStream(new Response("").body)), wc = {
19304
+ }), Qd = 64 * 1024, Gh = Ep && Mp(() => pe.isReadableStream(new Response("").body)), wc = {
19305
19305
  stream: Gh && ((_) => _.body)
19306
19306
  };
19307
19307
  Ac && ((_) => {
@@ -19339,10 +19339,10 @@ const x_ = async (_) => {
19339
19339
  headers: we,
19340
19340
  withCredentials: le = "same-origin",
19341
19341
  fetchOptions: oe
19342
- } = Ap(_);
19342
+ } = kp(_);
19343
19343
  ye = ye ? (ye + "").toLowerCase() : "text";
19344
19344
  let [_t, Ze] = N || X || T ? m_([N, X], T) : [], et, Ne;
19345
- const pt = () => {
19345
+ const dt = () => {
19346
19346
  !et && setTimeout(() => {
19347
19347
  _t && _t.unsubscribe();
19348
19348
  }), et = !0;
@@ -19385,15 +19385,15 @@ const x_ = async (_) => {
19385
19385
  ) || [];
19386
19386
  Ie = new Response(
19387
19387
  Yd(Ie.body, Qd, Ur, () => {
19388
- Si && Si(), At && pt();
19388
+ Si && Si(), At && dt();
19389
19389
  }, Zh),
19390
19390
  Wt
19391
19391
  );
19392
19392
  }
19393
19393
  ye = ye || "text";
19394
19394
  let It = await wc[pe.findKey(wc, ye) || "text"](Ie, _);
19395
- return !At && pt(), Ze && Ze(), await new Promise((Wt, $t) => {
19396
- Ip(Wt, $t, {
19395
+ return !At && dt(), Ze && Ze(), await new Promise((Wt, $t) => {
19396
+ Ap(Wt, $t, {
19397
19397
  data: It,
19398
19398
  headers: Qi.from(Ie.headers),
19399
19399
  status: Ie.status,
@@ -19403,7 +19403,7 @@ const x_ = async (_) => {
19403
19403
  });
19404
19404
  });
19405
19405
  } catch (Ie) {
19406
- throw pt(), Ie && Ie.name === "TypeError" && /fetch/i.test(Ie.message) ? Object.assign(
19406
+ throw dt(), Ie && Ie.name === "TypeError" && /fetch/i.test(Ie.message) ? Object.assign(
19407
19407
  new lt("Network Error", lt.ERR_NETWORK, _, Ne),
19408
19408
  {
19409
19409
  cause: Ie.cause || Ie
@@ -19424,7 +19424,7 @@ pe.forEach(Hh, (_, S) => {
19424
19424
  Object.defineProperty(_, "adapterName", { value: S });
19425
19425
  }
19426
19426
  });
19427
- const ep = (_) => `- ${_}`, w_ = (_) => pe.isFunction(_) || _ === null || _ === !1, Ep = {
19427
+ const ep = (_) => `- ${_}`, w_ = (_) => pe.isFunction(_) || _ === null || _ === !1, zp = {
19428
19428
  getAdapter: (_) => {
19429
19429
  _ = pe.isArray(_) ? _ : [_];
19430
19430
  const { length: S } = _;
@@ -19463,21 +19463,21 @@ function tp(_) {
19463
19463
  return Nh(_), _.headers = Qi.from(_.headers), _.data = Vh.call(
19464
19464
  _,
19465
19465
  _.transformRequest
19466
- ), ["post", "put", "patch"].indexOf(_.method) !== -1 && _.headers.setContentType("application/x-www-form-urlencoded", !1), Ep.getAdapter(_.adapter || dl.adapter)(_).then(function(z) {
19466
+ ), ["post", "put", "patch"].indexOf(_.method) !== -1 && _.headers.setContentType("application/x-www-form-urlencoded", !1), zp.getAdapter(_.adapter || dl.adapter)(_).then(function(z) {
19467
19467
  return Nh(_), z.data = Vh.call(
19468
19468
  _,
19469
19469
  _.transformResponse,
19470
19470
  z
19471
19471
  ), z.headers = Qi.from(z.headers), z;
19472
19472
  }, function(z) {
19473
- return Tp(z) || (Nh(_), z && z.response && (z.response.data = Vh.call(
19473
+ return Pp(z) || (Nh(_), z && z.response && (z.response.data = Vh.call(
19474
19474
  _,
19475
19475
  _.transformResponse,
19476
19476
  z.response
19477
19477
  ), z.response.headers = Qi.from(z.response.headers))), Promise.reject(z);
19478
19478
  });
19479
19479
  }
19480
- const Mp = "1.7.4", eu = {};
19480
+ const Dp = "1.7.4", eu = {};
19481
19481
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((_, S) => {
19482
19482
  eu[_] = function(z) {
19483
19483
  return typeof z === _ || "a" + (S < 1 ? "n " : " ") + _;
@@ -19486,7 +19486,7 @@ const Mp = "1.7.4", eu = {};
19486
19486
  const ip = {};
19487
19487
  eu.transitional = function(S, k, z) {
19488
19488
  function N(X, T) {
19489
- return "[Axios v" + Mp + "] Transitional option '" + X + "'" + T + (z ? ". " + z : "");
19489
+ return "[Axios v" + Dp + "] Transitional option '" + X + "'" + T + (z ? ". " + z : "");
19490
19490
  }
19491
19491
  return (X, T, c) => {
19492
19492
  if (S === !1)
@@ -19616,8 +19616,8 @@ class Us {
19616
19616
  }
19617
19617
  getUri(S) {
19618
19618
  S = qs(this.defaults, S);
19619
- const k = Pp(S.baseURL, S.url);
19620
- return bp(k, S.params, S.paramsSerializer);
19619
+ const k = Cp(S.baseURL, S.url);
19620
+ return Sp(k, S.params, S.paramsSerializer);
19621
19621
  }
19622
19622
  }
19623
19623
  pe.forEach(["delete", "get", "head", "options"], function(S) {
@@ -19787,18 +19787,18 @@ const Xh = {
19787
19787
  Object.entries(Xh).forEach(([_, S]) => {
19788
19788
  Xh[S] = _;
19789
19789
  });
19790
- function zp(_) {
19791
- const S = new Us(_), k = cp(Us.prototype.request, S);
19790
+ function Lp(_) {
19791
+ const S = new Us(_), k = up(Us.prototype.request, S);
19792
19792
  return pe.extend(k, Us.prototype, S, { allOwnKeys: !0 }), pe.extend(k, S, null, { allOwnKeys: !0 }), k.create = function(N) {
19793
- return zp(qs(_, N));
19793
+ return Lp(qs(_, N));
19794
19794
  }, k;
19795
19795
  }
19796
- const Ht = zp(dl);
19796
+ const Ht = Lp(dl);
19797
19797
  Ht.Axios = Us;
19798
19798
  Ht.CanceledError = $o;
19799
19799
  Ht.CancelToken = tu;
19800
- Ht.isCancel = Tp;
19801
- Ht.VERSION = Mp;
19800
+ Ht.isCancel = Pp;
19801
+ Ht.VERSION = Dp;
19802
19802
  Ht.toFormData = Pc;
19803
19803
  Ht.AxiosError = lt;
19804
19804
  Ht.Cancel = Ht.CanceledError;
@@ -19809,8 +19809,8 @@ Ht.spread = T_;
19809
19809
  Ht.isAxiosError = I_;
19810
19810
  Ht.mergeConfig = qs;
19811
19811
  Ht.AxiosHeaders = Qi;
19812
- Ht.formToJSON = (_) => Sp(pe.isHTMLForm(_) ? new FormData(_) : _);
19813
- Ht.getAdapter = Ep.getAdapter;
19812
+ Ht.formToJSON = (_) => Ip(pe.isHTMLForm(_) ? new FormData(_) : _);
19813
+ Ht.getAdapter = zp.getAdapter;
19814
19814
  Ht.HttpStatusCode = Xh;
19815
19815
  Ht.default = Ht;
19816
19816
  const jh = (_, S = 300) => {
@@ -19839,7 +19839,7 @@ function P_(_, S, k = {}) {
19839
19839
  coordinates: _
19840
19840
  }, S, k);
19841
19841
  }
19842
- function Dp(_, S, k = {}) {
19842
+ function Rp(_, S, k = {}) {
19843
19843
  for (const N of _) {
19844
19844
  if (N.length < 4)
19845
19845
  throw new Error(
@@ -19856,13 +19856,13 @@ function Dp(_, S, k = {}) {
19856
19856
  coordinates: _
19857
19857
  }, S, k);
19858
19858
  }
19859
- function Lp(_, S, k = {}) {
19859
+ function Fp(_, S, k = {}) {
19860
19860
  return Cc({
19861
19861
  type: "MultiPoint",
19862
19862
  coordinates: _
19863
19863
  }, S, k);
19864
19864
  }
19865
- function Rp(_, S, k = {}) {
19865
+ function Bp(_, S, k = {}) {
19866
19866
  return Cc({
19867
19867
  type: "MultiPolygon",
19868
19868
  coordinates: _
@@ -19871,10 +19871,10 @@ function Rp(_, S, k = {}) {
19871
19871
  function rp(_) {
19872
19872
  return !isNaN(_) && _ !== null && !Array.isArray(_);
19873
19873
  }
19874
- function Fp(_, S, k) {
19874
+ function Op(_, S, k) {
19875
19875
  if (_ !== null)
19876
- for (var z, N, X, T, c, _e, ye, we = 0, le = 0, oe, _t = _.type, Ze = _t === "FeatureCollection", et = _t === "Feature", Ne = Ze ? _.features.length : 1, pt = 0; pt < Ne; pt++) {
19877
- ye = Ze ? _.features[pt].geometry : et ? _.geometry : _, oe = ye ? ye.type === "GeometryCollection" : !1, c = oe ? ye.geometries.length : 1;
19876
+ for (var z, N, X, T, c, _e, ye, we = 0, le = 0, oe, _t = _.type, Ze = _t === "FeatureCollection", et = _t === "Feature", Ne = Ze ? _.features.length : 1, dt = 0; dt < Ne; dt++) {
19877
+ ye = Ze ? _.features[dt].geometry : et ? _.geometry : _, oe = ye ? ye.type === "GeometryCollection" : !1, c = oe ? ye.geometries.length : 1;
19878
19878
  for (var Ot = 0; Ot < c; Ot++) {
19879
19879
  var Ie = 0, At = 0;
19880
19880
  if (T = oe ? ye.geometries[Ot] : ye, T !== null) {
@@ -19887,7 +19887,7 @@ function Fp(_, S, k) {
19887
19887
  if (S(
19888
19888
  _e,
19889
19889
  le,
19890
- pt,
19890
+ dt,
19891
19891
  Ie,
19892
19892
  At
19893
19893
  ) === !1)
@@ -19900,7 +19900,7 @@ function Fp(_, S, k) {
19900
19900
  if (S(
19901
19901
  _e[z],
19902
19902
  le,
19903
- pt,
19903
+ dt,
19904
19904
  Ie,
19905
19905
  At
19906
19906
  ) === !1)
@@ -19916,7 +19916,7 @@ function Fp(_, S, k) {
19916
19916
  if (S(
19917
19917
  _e[z][N],
19918
19918
  le,
19919
- pt,
19919
+ dt,
19920
19920
  Ie,
19921
19921
  At
19922
19922
  ) === !1)
@@ -19934,7 +19934,7 @@ function Fp(_, S, k) {
19934
19934
  if (S(
19935
19935
  _e[z][N][X],
19936
19936
  le,
19937
- pt,
19937
+ dt,
19938
19938
  Ie,
19939
19939
  At
19940
19940
  ) === !1)
@@ -19948,7 +19948,7 @@ function Fp(_, S, k) {
19948
19948
  break;
19949
19949
  case "GeometryCollection":
19950
19950
  for (z = 0; z < T.geometries.length; z++)
19951
- if (Fp(T.geometries[z], S) === !1)
19951
+ if (Op(T.geometries[z], S) === !1)
19952
19952
  return !1;
19953
19953
  break;
19954
19954
  default:
@@ -19958,16 +19958,16 @@ function Fp(_, S, k) {
19958
19958
  }
19959
19959
  }
19960
19960
  }
19961
- function Bp(_, S = {}) {
19961
+ function Vp(_, S = {}) {
19962
19962
  if (_.bbox != null && S.recompute !== !0)
19963
19963
  return _.bbox;
19964
19964
  const k = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
19965
- return Fp(_, (z) => {
19965
+ return Op(_, (z) => {
19966
19966
  k[0] > z[0] && (k[0] = z[0]), k[1] > z[1] && (k[1] = z[1]), k[2] < z[0] && (k[2] = z[0]), k[3] < z[1] && (k[3] = z[1]);
19967
19967
  }), k;
19968
19968
  }
19969
- function Op(_, S = {}) {
19970
- const k = Bp(_), z = (k[0] + k[2]) / 2, N = (k[1] + k[3]) / 2;
19969
+ function Np(_, S = {}) {
19970
+ const k = Vp(_), z = (k[0] + k[2]) / 2, N = (k[1] + k[3]) / 2;
19971
19971
  return P_([z, N], S.properties, S);
19972
19972
  }
19973
19973
  const A_ = {
@@ -20038,17 +20038,17 @@ const A_ = {
20038
20038
  }
20039
20039
  }, C_ = { class: "vs-map-slot-layers" }, k_ = ["onClick"], E_ = ["src"];
20040
20040
  function M_(_, S, k, z, N, X) {
20041
- return dt(), jt("div", C_, [
20042
- (dt(!0), jt(ol, null, al(k.baseLayers, (T, c) => (dt(), jt("div", {
20041
+ return gt(), Ut("div", C_, [
20042
+ (gt(!0), Ut(ol, null, al(k.baseLayers, (T, c) => (gt(), Ut("div", {
20043
20043
  key: T.id,
20044
20044
  class: cl(["vs-map-slot-layers__layer relative", { focused: T.id == N.selectedLayer }]),
20045
20045
  onClick: (_e) => X.toggleLayerVisibility(T.id)
20046
20046
  }, [
20047
- Qe("img", {
20047
+ Ye("img", {
20048
20048
  src: T.image,
20049
20049
  class: "vs-map-slot-layers__image"
20050
20050
  }, null, 8, E_),
20051
- Qe("div", {
20051
+ Ye("div", {
20052
20052
  class: cl(["absolute py-2 px-4 text-sm text-stone-800 bg-white shadow-[0_10px_40px_10px_rgba(0,0,0,0.08)] rounded-lg top-[-46px] text-nowrap p-2 hidden", [
20053
20053
  c === 0 ? "left-[-10px]" : "left-[50%] translate-x-[-50%] "
20054
20054
  ]])
@@ -20068,15 +20068,15 @@ const z_ = /* @__PURE__ */ hn(A_, [["render", M_], ["__scopeId", "data-v-feacf7c
20068
20068
  class: "flex justify-start items-center gap-2"
20069
20069
  }, B_ = { class: "ml-1" };
20070
20070
  function O_(_, S, k, z, N, X) {
20071
- return dt(), jt("div", L_, [
20072
- (dt(!0), jt(ol, null, al(k.colors, (T) => (dt(), jt("div", R_, [
20073
- T.id > 0 ? (dt(), jt("div", F_, [
20074
- Qe("div", {
20071
+ return gt(), Ut("div", L_, [
20072
+ (gt(!0), Ut(ol, null, al(k.colors, (T) => (gt(), Ut("div", R_, [
20073
+ T.id > 0 ? (gt(), Ut("div", F_, [
20074
+ Ye("div", {
20075
20075
  class: "w-[15px] h-[15px] rounded-[50%] min-w-[15px]",
20076
20076
  style: sp({ backgroundColor: T.color })
20077
20077
  }, null, 4),
20078
- Qe("div", B_, ss(X.capitalizeFirstLetter(T.text)), 1)
20079
- ])) : Pr("", !0)
20078
+ Ye("div", B_, ss(X.capitalizeFirstLetter(T.text)), 1)
20079
+ ])) : Or("", !0)
20080
20080
  ]))), 256))
20081
20081
  ]);
20082
20082
  }
@@ -20123,13 +20123,13 @@ const V_ = /* @__PURE__ */ hn(D_, [["render", O_]]), N_ = {
20123
20123
  let T;
20124
20124
  switch (N) {
20125
20125
  case "Polygon":
20126
- T = Dp(X);
20126
+ T = Rp(X);
20127
20127
  break;
20128
20128
  case "MultiPolygon":
20129
- T = Rp(X);
20129
+ T = Bp(X);
20130
20130
  break;
20131
20131
  case "MultiPoint":
20132
- T = Lp(X);
20132
+ T = Fp(X);
20133
20133
  break;
20134
20134
  default:
20135
20135
  (S = this.map) == null || S.fitBounds([X, X], {
@@ -20138,7 +20138,7 @@ const V_ = /* @__PURE__ */ hn(D_, [["render", O_]]), N_ = {
20138
20138
  }), this.isSelectObj = !0;
20139
20139
  return;
20140
20140
  }
20141
- const c = Op(T).geometry.coordinates;
20141
+ const c = Np(T).geometry.coordinates;
20142
20142
  (k = this.map) == null || k.fitBounds([c, c], {
20143
20143
  maxZoom: 15,
20144
20144
  padding: 30
@@ -20255,8 +20255,8 @@ const V_ = /* @__PURE__ */ hn(D_, [["render", O_]]), N_ = {
20255
20255
  }, j_ = { class: "vs-map-portal relative" };
20256
20256
  function U_(_, S, k, z, N, X) {
20257
20257
  const T = Wi("MapLegend"), c = Wi("MapSlotLayers");
20258
- return dt(), jt("div", j_, [
20259
- Qe("div", {
20258
+ return gt(), Ut("div", j_, [
20259
+ Ye("div", {
20260
20260
  id: "maplibre-map",
20261
20261
  ref: "maplibreMap",
20262
20262
  class: "w-full",
@@ -20284,7 +20284,7 @@ const $_ = /* @__PURE__ */ hn(N_, [["render", U_]]), q_ = {}, Z_ = {
20284
20284
  G_
20285
20285
  ];
20286
20286
  function W_(_, S) {
20287
- return dt(), jt("svg", Z_, H_);
20287
+ return gt(), Ut("svg", Z_, H_);
20288
20288
  }
20289
20289
  const X_ = /* @__PURE__ */ hn(q_, [["render", W_]]), J_ = {}, K_ = {
20290
20290
  xmlns: "http://www.w3.org/2000/svg",
@@ -20297,18 +20297,18 @@ const X_ = /* @__PURE__ */ hn(q_, [["render", W_]]), J_ = {}, K_ = {
20297
20297
  "stroke-linecap": "round",
20298
20298
  "stroke-linejoin": "round",
20299
20299
  class: "icon icon-tabler icons-tabler-outline icon-tabler-layout-sidebar-right-collapse"
20300
- }, Y_ = /* @__PURE__ */ Qe("path", {
20300
+ }, Y_ = /* @__PURE__ */ Ye("path", {
20301
20301
  stroke: "none",
20302
20302
  d: "M0 0h24v24H0z",
20303
20303
  fill: "none"
20304
- }, null, -1), Q_ = /* @__PURE__ */ Qe("path", { d: "M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z" }, null, -1), ey = /* @__PURE__ */ Qe("path", { d: "M15 4v16" }, null, -1), ty = /* @__PURE__ */ Qe("path", { d: "M9 10l2 2l-2 2" }, null, -1), iy = [
20304
+ }, null, -1), Q_ = /* @__PURE__ */ Ye("path", { d: "M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z" }, null, -1), ey = /* @__PURE__ */ Ye("path", { d: "M15 4v16" }, null, -1), ty = /* @__PURE__ */ Ye("path", { d: "M9 10l2 2l-2 2" }, null, -1), iy = [
20305
20305
  Y_,
20306
20306
  Q_,
20307
20307
  ey,
20308
20308
  ty
20309
20309
  ];
20310
20310
  function ry(_, S) {
20311
- return dt(), jt("svg", K_, iy);
20311
+ return gt(), Ut("svg", K_, iy);
20312
20312
  }
20313
20313
  const ny = /* @__PURE__ */ hn(J_, [["render", ry]]), sy = {}, oy = {
20314
20314
  xmlns: "http://www.w3.org/2000/svg",
@@ -20321,18 +20321,18 @@ const ny = /* @__PURE__ */ hn(J_, [["render", ry]]), sy = {}, oy = {
20321
20321
  "stroke-linecap": "round",
20322
20322
  "stroke-linejoin": "round",
20323
20323
  class: "icon icon-tabler icons-tabler-outline icon-tabler-layout-sidebar-right-expand"
20324
- }, ay = /* @__PURE__ */ Qe("path", {
20324
+ }, ay = /* @__PURE__ */ Ye("path", {
20325
20325
  stroke: "none",
20326
20326
  d: "M0 0h24v24H0z",
20327
20327
  fill: "none"
20328
- }, null, -1), ly = /* @__PURE__ */ Qe("path", { d: "M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z" }, null, -1), cy = /* @__PURE__ */ Qe("path", { d: "M15 4v16" }, null, -1), hy = /* @__PURE__ */ Qe("path", { d: "M10 10l-2 2l2 2" }, null, -1), uy = [
20328
+ }, null, -1), ly = /* @__PURE__ */ Ye("path", { d: "M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z" }, null, -1), cy = /* @__PURE__ */ Ye("path", { d: "M15 4v16" }, null, -1), hy = /* @__PURE__ */ Ye("path", { d: "M10 10l-2 2l2 2" }, null, -1), uy = [
20329
20329
  ay,
20330
20330
  ly,
20331
20331
  cy,
20332
20332
  hy
20333
20333
  ];
20334
20334
  function dy(_, S) {
20335
- return dt(), jt("svg", oy, uy);
20335
+ return gt(), Ut("svg", oy, uy);
20336
20336
  }
20337
20337
  const py = /* @__PURE__ */ hn(sy, [["render", dy]]), fy = {}, my = {
20338
20338
  class: "shrink-0 size-3",
@@ -20345,12 +20345,12 @@ const py = /* @__PURE__ */ hn(sy, [["render", dy]]), fy = {}, my = {
20345
20345
  "stroke-width": "2",
20346
20346
  "stroke-linecap": "round",
20347
20347
  "stroke-linejoin": "round"
20348
- }, gy = /* @__PURE__ */ Qe("path", { d: "M18 6 6 18" }, null, -1), _y = /* @__PURE__ */ Qe("path", { d: "m6 6 12 12" }, null, -1), yy = [
20348
+ }, gy = /* @__PURE__ */ Ye("path", { d: "M18 6 6 18" }, null, -1), _y = /* @__PURE__ */ Ye("path", { d: "m6 6 12 12" }, null, -1), yy = [
20349
20349
  gy,
20350
20350
  _y
20351
20351
  ];
20352
20352
  function xy(_, S) {
20353
- return dt(), jt("svg", my, yy);
20353
+ return gt(), Ut("svg", my, yy);
20354
20354
  }
20355
20355
  const vy = /* @__PURE__ */ hn(fy, [["render", xy]]), by = {
20356
20356
  props: {
@@ -20383,7 +20383,7 @@ const vy = /* @__PURE__ */ hn(fy, [["render", xy]]), by = {
20383
20383
  this.$emit("update:visible", !1), this.$emit("onClose");
20384
20384
  }
20385
20385
  }
20386
- }, Vp = (_) => (Bm("data-v-0a173fd8"), _ = _(), Om(), _), wy = { class: "vsTailwind ui-dialog__wrapper" }, Sy = { class: "w-full h-full fixed top-0 start-0 z-[80] bg-black bg-opacity-50" }, Ty = { class: "py-2.5 px-4 flex justify-between items-center border-b" }, Iy = { class: "font-medium text-gray-800" }, Py = /* @__PURE__ */ Vp(() => /* @__PURE__ */ Qe("span", { class: "sr-only" }, "Close", -1)), Ay = /* @__PURE__ */ Vp(() => /* @__PURE__ */ Qe("svg", {
20386
+ }, jp = (_) => (Bm("data-v-0a173fd8"), _ = _(), Om(), _), wy = { class: "vsTailwind ui-dialog__wrapper" }, Sy = { class: "w-full h-full fixed top-0 start-0 z-[80] bg-black bg-opacity-50" }, Ty = { class: "py-2.5 px-4 flex justify-between items-center border-b" }, Iy = { class: "font-medium text-gray-800" }, Py = /* @__PURE__ */ jp(() => /* @__PURE__ */ Ye("span", { class: "sr-only" }, "Close", -1)), Ay = /* @__PURE__ */ jp(() => /* @__PURE__ */ Ye("svg", {
20387
20387
  class: "flex-shrink-0 w-4 h-4",
20388
20388
  xmlns: "http://www.w3.org/2000/svg",
20389
20389
  width: "24",
@@ -20395,8 +20395,8 @@ const vy = /* @__PURE__ */ hn(fy, [["render", xy]]), by = {
20395
20395
  "stroke-linecap": "round",
20396
20396
  "stroke-linejoin": "round"
20397
20397
  }, [
20398
- /* @__PURE__ */ Qe("path", { d: "M18 6 6 18" }),
20399
- /* @__PURE__ */ Qe("path", { d: "m6 6 12 12" })
20398
+ /* @__PURE__ */ Ye("path", { d: "M18 6 6 18" }),
20399
+ /* @__PURE__ */ Ye("path", { d: "m6 6 12 12" })
20400
20400
  ], -1)), Cy = [
20401
20401
  Py,
20402
20402
  Ay
@@ -20405,40 +20405,40 @@ const vy = /* @__PURE__ */ hn(fy, [["render", xy]]), by = {
20405
20405
  class: "flex justify-end gap-x-2"
20406
20406
  };
20407
20407
  function My(_, S, k, z, N, X) {
20408
- return dt(), cn(Lm, { to: "#modal" }, [
20408
+ return gt(), cn(Fm, { to: "#modal" }, [
20409
20409
  Vr(Nd, { name: "fade" }, {
20410
20410
  default: jo(() => [
20411
- Rm(Qe("div", wy, [
20412
- Qe("div", Sy, [
20411
+ op(Ye("div", wy, [
20412
+ Ye("div", Sy, [
20413
20413
  Vr(Nd, {
20414
20414
  name: "content",
20415
20415
  appear: ""
20416
20416
  }, {
20417
20417
  default: jo(() => [
20418
- Qe("div", {
20418
+ Ye("div", {
20419
20419
  class: cl(["ui-dialog__modal opacity-1 transition-all flex flex-col bg-white border pointer-events-auto shadow-[0_10px_40px_10px_rgba(0,0,0,0.08)] rounded-xl", [X.checkSize]])
20420
20420
  }, [
20421
- Qe("div", Ty, [
20422
- Qe("h3", Iy, ss(k.title), 1),
20423
- Qe("button", {
20421
+ Ye("div", Ty, [
20422
+ Ye("h3", Iy, ss(k.title), 1),
20423
+ Ye("button", {
20424
20424
  type: "button",
20425
20425
  class: "size-8 inline-flex justify-center items-center gap-x-2 rounded-full border border-transparent bg-gray-100 text-gray-800 hover:bg-gray-200 focus:outline-none focus:bg-gray-200 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-700 dark:hover:bg-neutral-600 dark:text-neutral-400 dark:focus:bg-neutral-600",
20426
20426
  onClick: S[0] || (S[0] = (...T) => X.handleClose && X.handleClose(...T))
20427
20427
  }, Cy)
20428
20428
  ]),
20429
- Qe("div", ky, [
20429
+ Ye("div", ky, [
20430
20430
  ll(_.$slots, "default", {}, void 0, !0)
20431
20431
  ]),
20432
- X.hasSlot ? (dt(), jt("div", Ey, [
20432
+ X.hasSlot ? (gt(), Ut("div", Ey, [
20433
20433
  ll(_.$slots, "footer", {}, void 0, !0)
20434
- ])) : Pr("", !0)
20434
+ ])) : Or("", !0)
20435
20435
  ], 2)
20436
20436
  ]),
20437
20437
  _: 3
20438
20438
  })
20439
20439
  ])
20440
20440
  ], 512), [
20441
- [Fm, k.visible]
20441
+ [ap, k.visible]
20442
20442
  ])
20443
20443
  ]),
20444
20444
  _: 3
@@ -20559,7 +20559,7 @@ const zy = /* @__PURE__ */ hn(by, [["render", My], ["__scopeId", "data-v-0a173fd
20559
20559
  }
20560
20560
  _ && this.selectedId && this.closeObjCard(), this.polyline = this.regionSelectValue.encoded_geom, this.getData();
20561
20561
  const k = ((N = this.regionSelectValue) == null ? void 0 : N.geom) || $s.toGeoJSON(this.regionSelectValue.encoded_geom), z = this.map.getSource("region-search-id");
20562
- if (this.currentBbox = Bp(k), z)
20562
+ if (this.currentBbox = Vp(k), z)
20563
20563
  z.setData({
20564
20564
  type: "Feature",
20565
20565
  geometry: k
@@ -20775,13 +20775,13 @@ const zy = /* @__PURE__ */ hn(by, [["render", My], ["__scopeId", "data-v-0a173fd
20775
20775
  let _e;
20776
20776
  switch (T) {
20777
20777
  case "Polygon":
20778
- _e = Dp(c);
20778
+ _e = Rp(c);
20779
20779
  break;
20780
20780
  case "MultiPolygon":
20781
- _e = Rp(c);
20781
+ _e = Bp(c);
20782
20782
  break;
20783
20783
  case "MultiPoint":
20784
- _e = Lp(c);
20784
+ _e = Fp(c);
20785
20785
  break;
20786
20786
  default:
20787
20787
  (N = this.map) == null || N.fitBounds([c, c], {
@@ -20790,7 +20790,7 @@ const zy = /* @__PURE__ */ hn(by, [["render", My], ["__scopeId", "data-v-0a173fd
20790
20790
  }), this.isSelectObj = !0;
20791
20791
  return;
20792
20792
  }
20793
- const ye = Op(_e).geometry.coordinates;
20793
+ const ye = Np(_e).geometry.coordinates;
20794
20794
  (X = this.map) == null || X.fitBounds([ye, ye], {
20795
20795
  maxZoom: this.zoom,
20796
20796
  padding: 30
@@ -20827,35 +20827,32 @@ const zy = /* @__PURE__ */ hn(by, [["render", My], ["__scopeId", "data-v-0a173fd
20827
20827
  }), Ly = { class: "ml-3 pt-5" }, Ry = { class: "w-full gap-5 flex justify-between mb-[10px] pr-3" }, Fy = { class: "flex gap-[20px]" }, By = {
20828
20828
  key: 0,
20829
20829
  class: "font-medium text-[10px] min-w-[16px] py-0.5 px-[5px] bg-gray-800 text-white leading-3 rounded-full"
20830
- }, Oy = { class: "p-4 flex-1 flex flex-wrap justify-end items-center gap-2" }, Vy = ["title"], Ny = /* @__PURE__ */ Qe("span", { class: "sr-only" }, "Відкрити мапу", -1), jy = { class: "flex" }, Uy = { class: "py-[15px] pb-[24px] pl-2" }, $y = { class: "font-bold text-2xl mr-[10px]" }, qy = { class: "text-sm text-stone-500 font-medium" }, Zy = /* @__PURE__ */ Qe("span", { class: "text-sm text-stone-500 font-medium" }, " об'єктів", -1), Gy = {
20830
+ }, Oy = { class: "p-4 flex-1 flex flex-wrap justify-end items-center gap-2" }, Vy = ["title"], Ny = /* @__PURE__ */ Ye("span", { class: "sr-only" }, "Відкрити мапу", -1), jy = { class: "flex" }, Uy = { class: "py-[15px] pb-[24px] pl-2" }, $y = { class: "font-bold text-2xl mr-[10px]" }, qy = { class: "text-sm text-stone-500 font-medium" }, Zy = /* @__PURE__ */ Ye("span", { class: "text-sm text-stone-500 font-medium" }, " об'єктів", -1), Gy = {
20831
20831
  class: "wrapperTable flex flex-col",
20832
20832
  style: { height: "calc(100vh - 302px)" }
20833
20833
  }, Hy = {
20834
20834
  key: 0,
20835
20835
  class: "flex gap-x-2 flex-wrap"
20836
- }, Wy = { class: "font-medium" }, Xy = /* @__PURE__ */ Qe("span", { class: "h-3 mx-2 border-s border-gray-200" }, null, -1), Jy = { class: "text-gray-500" }, Ky = ["onClick"], Yy = {
20836
+ }, Wy = { class: "font-medium" }, Xy = /* @__PURE__ */ Ye("span", { class: "h-3 mx-2 border-s border-gray-200" }, null, -1), Jy = { class: "text-gray-500" }, Ky = ["onClick"], Yy = {
20837
20837
  key: 0,
20838
20838
  class: "mb-[10px] py-1 ps-3 pe-1 inline-flex items-center bg-white border border-gray-200 text-gray-800 text-xs rounded-full"
20839
- }, Qy = /* @__PURE__ */ Qe("span", { class: "font-medium" }, " Очистити ", -1), e0 = {
20839
+ }, Qy = /* @__PURE__ */ Ye("span", { class: "font-medium" }, " Очистити ", -1), e0 = {
20840
20840
  key: 2,
20841
20841
  class: "text-center py-28"
20842
- }, t0 = /* @__PURE__ */ Qe("h2", { class: "font-medium text-base text-gray-500 rounded-xl" }, " За вашим запитом даних не знайдено! ", -1), i0 = /* @__PURE__ */ Qe("p", { class: "font-normal text-sm text-gray-500 rounded-xl" }, " Введіть, будь ласка, інші значення для пошуку. ", -1), r0 = { key: 0 }, n0 = {
20842
+ }, t0 = /* @__PURE__ */ Ye("h2", { class: "font-medium text-base text-gray-500 rounded-xl" }, " За вашим запитом даних не знайдено! ", -1), i0 = /* @__PURE__ */ Ye("p", { class: "font-normal text-sm text-gray-500 rounded-xl" }, " Введіть, будь ласка, інші значення для пошуку. ", -1), r0 = { key: 0 }, n0 = {
20843
20843
  key: 1,
20844
20844
  class: "my-5 pr-2"
20845
- }, s0 = { class: "flex justify-between" }, o0 = {
20846
- key: 1,
20847
- class: "w-2/4"
20848
- }, a0 = { class: "map-section" }, l0 = {
20845
+ }, s0 = { class: "flex justify-between" }, o0 = { class: "w-2/4" }, a0 = { class: "map-section" }, l0 = {
20849
20846
  ref: "popup",
20850
20847
  style: { display: "none" }
20851
20848
  };
20852
20849
  function c0(_, S, k, z, N, X) {
20853
- const T = Wi("VsAutocompleteOption"), c = Wi("vs-autocomplete"), _e = Wi("VsTextMask"), ye = Wi("vs-text"), we = Wi("FilterIcon"), le = Wi("VsFilter"), oe = Wi("VsDialog"), _t = Wi("VisibleMapIcon"), Ze = Wi("HiddenMapIcon"), et = Wi("CloseIcon"), Ne = Wi("NoData"), pt = Wi("VsPagination"), Ot = Wi("MapPortal");
20854
- return dt(), jt("section", Ly, [
20855
- Qe("div", null, [
20856
- Qe("div", Ry, [
20857
- Qe("div", Fy, [
20858
- _.isAutocomplete ? (dt(), cn(c, {
20850
+ const T = Wi("VsAutocompleteOption"), c = Wi("vs-autocomplete"), _e = Wi("VsTextMask"), ye = Wi("vs-text"), we = Wi("FilterIcon"), le = Wi("VsFilter"), oe = Wi("VsDialog"), _t = Wi("VisibleMapIcon"), Ze = Wi("HiddenMapIcon"), et = Wi("CloseIcon"), Ne = Wi("NoData"), dt = Wi("VsPagination"), Ot = Wi("MapPortal");
20851
+ return gt(), Ut("section", Ly, [
20852
+ Ye("div", null, [
20853
+ Ye("div", Ry, [
20854
+ Ye("div", Fy, [
20855
+ _.isAutocomplete ? (gt(), cn(c, {
20859
20856
  key: 0,
20860
20857
  modelValue: _.regionSelectValue,
20861
20858
  "onUpdate:modelValue": [
@@ -20871,7 +20868,7 @@ function c0(_, S, k, z, N, X) {
20871
20868
  class: "w-[350px]"
20872
20869
  }, {
20873
20870
  default: jo(() => [
20874
- (dt(!0), jt(ol, null, al(_.searchRegionResult, (Ie) => (dt(), cn(T, {
20871
+ (gt(!0), Ut(ol, null, al(_.searchRegionResult, (Ie) => (gt(), cn(T, {
20875
20872
  class: "cursor-pointer dark:hs-selected:bg-neutral-800 py-2 px-4 w-full text-sm text-gray-800 hover:bg-gray-100 rounded-lg focus:outline-none focus:bg-gray-100 dark:text-neutral-300 dark:hover:bg-neutral-800 dark:focus:bg-neutral-800",
20876
20873
  key: Ie == null ? void 0 : Ie.id,
20877
20874
  value: Ie,
@@ -20879,8 +20876,8 @@ function c0(_, S, k, z, N, X) {
20879
20876
  }, null, 8, ["value", "label"]))), 128))
20880
20877
  ]),
20881
20878
  _: 1
20882
- }, 8, ["modelValue", "onOnSearch", "onUpdate:modelValue", "onClick"])) : Pr("", !0),
20883
- _.isAddressAutocomplete ? (dt(), cn(c, {
20879
+ }, 8, ["modelValue", "onOnSearch", "onUpdate:modelValue", "onClick"])) : Or("", !0),
20880
+ _.isAddressAutocomplete ? (gt(), cn(c, {
20884
20881
  key: 1,
20885
20882
  modelValue: _.addressSelectValue,
20886
20883
  "onUpdate:modelValue": [
@@ -20896,7 +20893,7 @@ function c0(_, S, k, z, N, X) {
20896
20893
  class: "w-[350px]"
20897
20894
  }, {
20898
20895
  default: jo(() => [
20899
- (dt(!0), jt(ol, null, al(_.searchAddressResult, (Ie) => (dt(), cn(T, {
20896
+ (gt(!0), Ut(ol, null, al(_.searchAddressResult, (Ie) => (gt(), cn(T, {
20900
20897
  class: "cursor-pointer dark:hs-selected:bg-neutral-800 py-2 px-4 w-full text-sm text-gray-800 hover:bg-gray-100 rounded-lg focus:outline-none focus:bg-gray-100 dark:text-neutral-300 dark:hover:bg-neutral-800 dark:focus:bg-neutral-800",
20901
20898
  key: Ie == null ? void 0 : Ie.id,
20902
20899
  value: Ie,
@@ -20904,8 +20901,8 @@ function c0(_, S, k, z, N, X) {
20904
20901
  }, null, 8, ["value", "label"]))), 128))
20905
20902
  ]),
20906
20903
  _: 1
20907
- }, 8, ["modelValue", "onOnSearch", "onUpdate:modelValue", "onClick"])) : Pr("", !0),
20908
- _.maskForSearch ? (dt(), cn(_e, {
20904
+ }, 8, ["modelValue", "onOnSearch", "onUpdate:modelValue", "onClick"])) : Or("", !0),
20905
+ _.maskForSearch ? (gt(), cn(_e, {
20909
20906
  key: 2,
20910
20907
  "model-value": _.search,
20911
20908
  "onUpdate:modelValue": _.handleDebouncedUpdateValue,
@@ -20917,7 +20914,7 @@ function c0(_, S, k, z, N, X) {
20917
20914
  clearable: "",
20918
20915
  style: { height: "38px", "min-width": "300px", "max-width": "300px" },
20919
20916
  ref: "searchInput"
20920
- }, null, 8, ["model-value", "onUpdate:modelValue", "mask"])) : (dt(), cn(ye, {
20917
+ }, null, 8, ["model-value", "onUpdate:modelValue", "mask"])) : (gt(), cn(ye, {
20921
20918
  key: 3,
20922
20919
  "model-value": _.search,
20923
20920
  "onUpdate:modelValue": _.handleDebouncedUpdateValue,
@@ -20929,14 +20926,14 @@ function c0(_, S, k, z, N, X) {
20929
20926
  style: { height: "38px", "min-width": "300px", "max-width": "300px" },
20930
20927
  ref: "searchInput"
20931
20928
  }, null, 8, ["model-value", "onUpdate:modelValue"])),
20932
- Qe("button", {
20929
+ Ye("button", {
20933
20930
  type: "button",
20934
20931
  class: "py-2 px-2.5 max-h-[38px] inline-flex items-center gap-x-1.5 text-sm font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50",
20935
20932
  onClick: S[2] || (S[2] = (...Ie) => _.toggleFilterShown && _.toggleFilterShown(...Ie))
20936
20933
  }, [
20937
20934
  Vr(we),
20938
20935
  Nm(" Фільтри "),
20939
- _.activeFiltersCount >= 1 ? (dt(), jt("span", By, ss(_.activeFiltersCount), 1)) : Pr("", !0)
20936
+ _.activeFiltersCount >= 1 ? (gt(), Ut("span", By, ss(_.activeFiltersCount), 1)) : Or("", !0)
20940
20937
  ]),
20941
20938
  Vr(oe, {
20942
20939
  visible: _.isFilterVisible,
@@ -20948,19 +20945,19 @@ function c0(_, S, k, z, N, X) {
20948
20945
  })
20949
20946
  }, {
20950
20947
  footer: jo(() => [
20951
- Qe("div", Oy, [
20952
- Qe("button", {
20948
+ Ye("div", Oy, [
20949
+ Ye("button", {
20953
20950
  onClick: S[3] || (S[3] = (...Ie) => _.resetFilters && _.resetFilters(...Ie)),
20954
20951
  class: "py-2 px-3 inline-flex justify-center items-center text-start bg-white border border-gray-200 text-gray-800 text-sm font-medium rounded-lg shadow-sm align-middle hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700"
20955
20952
  }, " Очистити все "),
20956
- Qe("button", {
20953
+ Ye("button", {
20957
20954
  onClick: S[4] || (S[4] = (...Ie) => _.updateTableAndMap && _.updateTableAndMap(...Ie)),
20958
20955
  class: "py-2 px-3 inline-flex justify-center items-center gap-x-2 text-start bg-blue-600 border border-blue-600 text-white text-sm font-medium rounded-lg shadow-sm align-middle hover:bg-blue-700 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:ring-1 focus:ring-blue-300 dark:focus:ring-blue-500"
20959
20956
  }, " Застосувати ")
20960
20957
  ])
20961
20958
  ]),
20962
20959
  default: jo(() => [
20963
- _.filters ? (dt(), cn(le, {
20960
+ _.filters ? (gt(), cn(le, {
20964
20961
  key: 0,
20965
20962
  ref: "filter",
20966
20963
  scheme: _.filters,
@@ -20969,44 +20966,44 @@ function c0(_, S, k, z, N, X) {
20969
20966
  name: "filter",
20970
20967
  layout: "default",
20971
20968
  onFilterChange: _.handleFilterChange
20972
- }, null, 8, ["scheme", "onFilterClose", "onFilterChange"])) : Pr("", !0)
20969
+ }, null, 8, ["scheme", "onFilterClose", "onFilterChange"])) : Or("", !0)
20973
20970
  ]),
20974
20971
  _: 1
20975
20972
  }, 8, ["visible"])
20976
20973
  ]),
20977
- Qe("button", {
20974
+ Ye("button", {
20978
20975
  type: "button",
20979
20976
  class: "py-2 px-2 inline-flex items-center gap-x-1.5 text-sm rounded-lg border border-gray-200 bg-white text-gray-600 shadow-sm hover:bg-stone-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-100",
20980
20977
  title: _.isMapVisible ? "Приховати карту" : "Показати карту",
20981
20978
  onClick: S[7] || (S[7] = (...Ie) => _.toggleMapVisible && _.toggleMapVisible(...Ie))
20982
20979
  }, [
20983
- _.isMapVisible ? (dt(), cn(_t, { key: 0 })) : (dt(), cn(Ze, { key: 1 })),
20980
+ _.isMapVisible ? (gt(), cn(_t, { key: 0 })) : (gt(), cn(Ze, { key: 1 })),
20984
20981
  Ny
20985
20982
  ], 8, Vy)
20986
20983
  ]),
20987
- Qe("div", jy, [
20988
- Qe("div", {
20984
+ Ye("div", jy, [
20985
+ Ye("div", {
20989
20986
  class: cl([
20990
20987
  "relative overflow-hidden",
20991
20988
  _.isMapVisible ? "w-2/4 mr-0" : "w-full mr-3",
20992
20989
  _.isSelectObj ? "hidden" : ""
20993
20990
  ])
20994
20991
  }, [
20995
- Qe("h1", Uy, [
20996
- Qe("span", $y, ss(_.title), 1),
20997
- Qe("span", qy, ss(_.total), 1),
20992
+ Ye("h1", Uy, [
20993
+ Ye("span", $y, ss(_.title), 1),
20994
+ Ye("span", qy, ss(_.total), 1),
20998
20995
  Zy
20999
20996
  ]),
21000
- Qe("div", Gy, [
21001
- _.activeFilters ? (dt(), jt("div", Hy, [
21002
- (dt(!0), jt(ol, null, al(_.activeFilters, (Ie, At, It) => (dt(), jt("span", {
20997
+ Ye("div", Gy, [
20998
+ _.activeFilters ? (gt(), Ut("div", Hy, [
20999
+ (gt(!0), Ut(ol, null, al(_.activeFilters, (Ie, At, It) => (gt(), Ut("span", {
21003
21000
  class: "mb-[10px] py-1 ps-3 pe-1 inline-flex items-center bg-white border border-gray-200 text-gray-800 text-xs rounded-full",
21004
21001
  key: It
21005
21002
  }, [
21006
- Qe("span", Wy, ss(_.getLabelById(At)), 1),
21003
+ Ye("span", Wy, ss(_.getLabelById(At)), 1),
21007
21004
  Xy,
21008
- Qe("span", Jy, ss(_.getOptionsLabelById(At, Ie)), 1),
21009
- Qe("button", {
21005
+ Ye("span", Jy, ss(_.getOptionsLabelById(At, Ie)), 1),
21006
+ Ye("button", {
21010
21007
  type: "button",
21011
21008
  class: "inline-flex shrink-0 justify-center items-center size-5 ms-1 rounded-full text-gray-600 hover:bg-gray-200 focus:outline-none focus:bg-gray-200 text-sm",
21012
21009
  onClick: (Wt) => _.clearFilter(At)
@@ -21014,17 +21011,17 @@ function c0(_, S, k, z, N, X) {
21014
21011
  Vr(et)
21015
21012
  ], 8, Ky)
21016
21013
  ]))), 128)),
21017
- Object.keys(_.activeFilters).length >= 2 ? (dt(), jt("span", Yy, [
21014
+ Object.keys(_.activeFilters).length >= 2 ? (gt(), Ut("span", Yy, [
21018
21015
  Qy,
21019
- Qe("button", {
21016
+ Ye("button", {
21020
21017
  type: "button",
21021
21018
  class: "inline-flex shrink-0 justify-center items-center size-5 ms-1 rounded-full text-gray-600 hover:bg-gray-200 focus:outline-none focus:bg-gray-200 text-sm",
21022
21019
  onClick: S[8] || (S[8] = (...Ie) => _.resetFilters && _.resetFilters(...Ie))
21023
21020
  }, [
21024
21021
  Vr(et)
21025
21022
  ])
21026
- ])) : Pr("", !0)
21027
- ])) : Pr("", !0),
21023
+ ])) : Or("", !0)
21024
+ ])) : Or("", !0),
21028
21025
  _.total >= 1 ? ll(_.$slots, "table", {
21029
21026
  key: 1,
21030
21027
  rows: _.tableData,
@@ -21032,21 +21029,21 @@ function c0(_, S, k, z, N, X) {
21032
21029
  selectRow: _.selectRow,
21033
21030
  getData: _.getData,
21034
21031
  isMapVisible: _.isMapVisible
21035
- }) : (dt(), jt("div", e0, [
21032
+ }) : (gt(), Ut("div", e0, [
21036
21033
  Vr(Ne),
21037
21034
  t0,
21038
21035
  i0,
21039
- Qe("button", {
21036
+ Ye("button", {
21040
21037
  type: "button",
21041
21038
  class: "mt-[10px] py-2 px-2.5 inline-flex items-center gap-x-1.5 text-xs rounded-lg border border-stone-200 bg-white text-stone-800 shadow-sm hover:bg-stone-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-stone-100",
21042
21039
  onClick: S[9] || (S[9] = (...Ie) => _.resetFilters && _.resetFilters(...Ie))
21043
21040
  }, " Очистити дані пошуку ")
21044
21041
  ]))
21045
21042
  ]),
21046
- _.total >= 1 ? (dt(), jt("hr", r0)) : Pr("", !0),
21047
- _.total >= 1 ? (dt(), jt("div", n0, [
21048
- Qe("div", s0, [
21049
- Vr(pt, {
21043
+ _.total >= 1 ? (gt(), Ut("hr", r0)) : Or("", !0),
21044
+ _.total >= 1 ? (gt(), Ut("div", n0, [
21045
+ Ye("div", s0, [
21046
+ Vr(dt, {
21050
21047
  total: _.total,
21051
21048
  maxPages: 7,
21052
21049
  defaultPage: _.currentPage,
@@ -21060,9 +21057,9 @@ function c0(_, S, k, z, N, X) {
21060
21057
  onPageSizeChange: _.changeLimit
21061
21058
  }, null, 8, ["total", "defaultPage", "pageSize", "onPageChange", "onPageSizeChange"])
21062
21059
  ])
21063
- ])) : Pr("", !0)
21060
+ ])) : Or("", !0)
21064
21061
  ], 2),
21065
- _.isSelectObj ? (dt(), jt("div", {
21062
+ _.isSelectObj ? (gt(), Ut("div", {
21066
21063
  key: 0,
21067
21064
  class: cl(_.isMapVisible ? "w-2/4 mr-0 pb-5" : "w-full pb-5 mr-3"),
21068
21065
  style: { height: "calc(100vh - 152px)" }
@@ -21075,9 +21072,9 @@ function c0(_, S, k, z, N, X) {
21075
21072
  closeObjCard: _.closeObjCard,
21076
21073
  isMapVisible: _.isMapVisible
21077
21074
  })
21078
- ], 2)) : Pr("", !0),
21079
- _.isMapVisible ? (dt(), jt("div", o0, [
21080
- Qe("section", a0, [
21075
+ ], 2)) : Or("", !0),
21076
+ op(Ye("div", o0, [
21077
+ Ye("section", a0, [
21081
21078
  Vr(Ot, {
21082
21079
  height: "calc(100vh - 152px)",
21083
21080
  width: "w-2/4",
@@ -21091,20 +21088,22 @@ function c0(_, S, k, z, N, X) {
21091
21088
  pointZoom: _.pointZoom
21092
21089
  }, null, 8, ["table", "filtersParam", "row", "colorAttr", "maxBounds", "zoom", "basemap", "pointZoom"])
21093
21090
  ])
21094
- ])) : Pr("", !0)
21091
+ ], 512), [
21092
+ [ap, _.isMapVisible]
21093
+ ])
21095
21094
  ]),
21096
- Qe("div", l0, [
21095
+ Ye("div", l0, [
21097
21096
  ll(_.$slots, "popup", { data: _.hoverData })
21098
21097
  ], 512)
21099
21098
  ])
21100
21099
  ]);
21101
21100
  }
21102
- const Np = /* @__PURE__ */ hn(Dy, [["render", c0]]), h0 = (_) => {
21103
- _.component("VsPartsMap", Np);
21101
+ const Up = /* @__PURE__ */ hn(Dy, [["render", c0]]), h0 = (_) => {
21102
+ _.component("VsPartsMap", Up);
21104
21103
  }, u0 = {
21105
21104
  install: h0,
21106
21105
  components: {
21107
- VsPartsMap: Np
21106
+ VsPartsMap: Up
21108
21107
  }
21109
21108
  };
21110
21109
  typeof window < "u" && (window.PartsMap = u0);