mapicgc-gl-js 0.0.93 → 0.0.95

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.
@@ -1516,11 +1516,11 @@ var w5 = { exports: {} };
1516
1516
  return a < d;
1517
1517
  }, function(u, a, d, p) {
1518
1518
  return p.compare(a, d) < 0;
1519
- }), Ju = Zo(">", function(u, a, d) {
1519
+ }), Zu = Zo(">", function(u, a, d) {
1520
1520
  return a > d;
1521
1521
  }, function(u, a, d, p) {
1522
1522
  return p.compare(a, d) > 0;
1523
- }), Yu = Zo("<=", function(u, a, d) {
1523
+ }), Ju = Zo("<=", function(u, a, d) {
1524
1524
  return a <= d;
1525
1525
  }, function(u, a, d, p) {
1526
1526
  return p.compare(a, d) <= 0;
@@ -1694,7 +1694,7 @@ var w5 = { exports: {} };
1694
1694
  return (v = [p[0] - d[0], p[1] - d[1]])[0] * (x = [a[0] - u[0], a[1] - u[1]])[1] - v[1] * x[0] != 0 && !(!hu(u, a, d, p) || !hu(d, p, u, a));
1695
1695
  var v, x;
1696
1696
  }
1697
- function Ku(u, a, d) {
1697
+ function Yu(u, a, d) {
1698
1698
  for (const p of d) for (let v = 0; v < p.length - 1; ++v) if (uo(u, a, p[v], p[v + 1])) return !0;
1699
1699
  return !1;
1700
1700
  }
@@ -1713,7 +1713,7 @@ var w5 = { exports: {} };
1713
1713
  }
1714
1714
  function kl(u, a) {
1715
1715
  for (const d of u) if (!ws(d, a)) return !1;
1716
- for (let d = 0; d < u.length - 1; ++d) if (Ku(u[d], u[d + 1], a)) return !1;
1716
+ for (let d = 0; d < u.length - 1; ++d) if (Yu(u[d], u[d + 1], a)) return !1;
1717
1717
  return !0;
1718
1718
  }
1719
1719
  function Qa(u, a) {
@@ -2206,7 +2206,7 @@ var w5 = { exports: {} };
2206
2206
  return !0;
2207
2207
  }
2208
2208
  }
2209
- const Po = { "==": Bl, "!=": Rl, ">": Ju, "<": cu, ">=": Ol, "<=": Yu, array: pi, at: Aa, boolean: pi, case: De, coalesce: Ml, collator: lo, format: Dl, image: Jo, in: Ja, "index-of": ae, interpolate: dn, "interpolate-hcl": dn, "interpolate-lab": dn, length: Ka, let: Ji, literal: fi, match: me, number: pi, "number-format": Eo, object: pi, slice: nt, step: Vt, string: pi, "to-boolean": Tr, "to-color": Tr, "to-number": Tr, "to-string": Tr, var: Xn, within: Os, distance: fo };
2209
+ const Po = { "==": Bl, "!=": Rl, ">": Zu, "<": cu, ">=": Ol, "<=": Ju, array: pi, at: Aa, boolean: pi, case: De, coalesce: Ml, collator: lo, format: Dl, image: Jo, in: Ja, "index-of": ae, interpolate: dn, "interpolate-hcl": dn, "interpolate-lab": dn, length: Ka, let: Ji, literal: fi, match: me, number: pi, "number-format": Eo, object: pi, slice: nt, step: Vt, string: pi, "to-boolean": Tr, "to-color": Tr, "to-number": Tr, "to-string": Tr, var: Xn, within: Os, distance: fo };
2210
2210
  class Pi {
2211
2211
  constructor(a, d, p, v) {
2212
2212
  this.name = a, this.type = d, this._evaluate = p, this.args = v;
@@ -2803,12 +2803,12 @@ var w5 = { exports: {} };
2803
2803
  for (let v = 0; v < d.length; v++) p += `${JSON.stringify(d[v])}:${Bo(u[d[v]])},`;
2804
2804
  return `${p}}`;
2805
2805
  }
2806
- function Qu(u) {
2806
+ function Ku(u) {
2807
2807
  let a = "";
2808
2808
  for (const d of pn) a += `/${Bo(u[d])}`;
2809
2809
  return a;
2810
2810
  }
2811
- function eh(u) {
2811
+ function Qu(u) {
2812
2812
  const a = u.value;
2813
2813
  return a ? [new gt(u.key, a, "constants have been deprecated as of v8")] : [];
2814
2814
  }
@@ -3068,7 +3068,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3068
3068
  for (const L in a) E = E.concat(p[L] ? u.validateSpec({ key: L, value: a[L], valueSpec: p[L], style: v, styleSpec: d }) : [new gt(L, a[L], `unknown property "${L}"`)]);
3069
3069
  return E;
3070
3070
  }
3071
- function th(u) {
3071
+ function eh(u) {
3072
3072
  const a = u.value, d = u.styleSpec, p = d.terrain, v = u.style;
3073
3073
  let x = [];
3074
3074
  const E = zn(a);
@@ -3077,7 +3077,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3077
3077
  for (const L in a) x = x.concat(p[L] ? u.validateSpec({ key: L, value: a[L], valueSpec: p[L], validateSpec: u.validateSpec, style: v, styleSpec: d }) : [new gt(L, a[L], `unknown property "${L}"`)]);
3078
3078
  return x;
3079
3079
  }
3080
- function nh(u) {
3080
+ function th(u) {
3081
3081
  let a = [];
3082
3082
  const d = u.value, p = u.key;
3083
3083
  if (Array.isArray(d)) {
@@ -3093,7 +3093,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3093
3093
  }, number: Pc, color: function(u) {
3094
3094
  const a = u.key, d = u.value, p = zn(d);
3095
3095
  return p !== "string" ? [new gt(a, d, `color expected, ${p} found`)] : Jn.parse(String(d)) ? [] : [new gt(a, d, `color expected, "${d}" found`)];
3096
- }, constants: eh, enum: hi, filter: ql, function: rl, layer: Lc, object: us, source: ol, light: Xl, sky: Mc, terrain: th, projection: function(u) {
3096
+ }, constants: Qu, enum: hi, filter: ql, function: rl, layer: Lc, object: us, source: ol, light: Xl, sky: Mc, terrain: eh, projection: function(u) {
3097
3097
  const a = u.value, d = u.styleSpec, p = d.projection, v = u.style, x = zn(a);
3098
3098
  if (a === void 0) return [];
3099
3099
  if (x !== "object") return [new gt("projection", a, `object expected, ${x} found`)];
@@ -3120,7 +3120,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3120
3120
  let x = [];
3121
3121
  for (let E = 0; E < d.length; E += 2) x = x.concat(hi({ key: `${a}[${E}]`, value: d[E], valueSpec: v.layout_symbol["text-anchor"] })), x = x.concat(Vl({ key: `${a}[${E + 1}]`, value: d[E + 1], valueSpec: { length: 2, value: "number" }, validateSpec: u.validateSpec, style: u.style, styleSpec: v }));
3122
3122
  return x;
3123
- }, sprite: nh };
3123
+ }, sprite: th };
3124
3124
  function $l(u) {
3125
3125
  const a = u.value, d = u.valueSpec, p = u.styleSpec;
3126
3126
  return u.validateSpec = $l, d.expression && Ki(Wr(a)) ? rl(u) : d.expression && go(js(a)) ? xi(u) : d.type && Bc[d.type] ? Bc[d.type](u) : us(un({}, u, { valueSpec: d.type ? p[d.type] : d }));
@@ -3131,26 +3131,26 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3131
3131
  }
3132
3132
  function Gs(u) {
3133
3133
  let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ne, d = [];
3134
- return d = d.concat($l({ key: "", value: u, valueSpec: a.$root, styleSpec: a, style: u, validateSpec: $l, objectElementValidators: { glyphs: Wh, "*": () => [] } })), u.constants && (d = d.concat(eh({ key: "constants", value: u.constants, style: u, styleSpec: a, validateSpec: $l }))), rh(d);
3134
+ return d = d.concat($l({ key: "", value: u, valueSpec: a.$root, styleSpec: a, style: u, validateSpec: $l, objectElementValidators: { glyphs: Wh, "*": () => [] } })), u.constants && (d = d.concat(Qu({ key: "constants", value: u.constants, style: u, styleSpec: a, validateSpec: $l }))), nh(d);
3135
3135
  }
3136
3136
  function Ro(u) {
3137
3137
  return function(a) {
3138
3138
  return u({ ...a, validateSpec: $l });
3139
3139
  };
3140
3140
  }
3141
- function rh(u) {
3141
+ function nh(u) {
3142
3142
  return [].concat(u).sort((a, d) => a.line - d.line);
3143
3143
  }
3144
3144
  function Ss(u) {
3145
3145
  return function() {
3146
3146
  for (var a = arguments.length, d = new Array(a), p = 0; p < a; p++)
3147
3147
  d[p] = arguments[p];
3148
- return rh(u.apply(this, d));
3148
+ return nh(u.apply(this, d));
3149
3149
  };
3150
3150
  }
3151
- Gs.source = Ss(Ro(ol)), Gs.sprite = Ss(Ro(nh)), Gs.glyphs = Ss(Ro(Wh)), Gs.light = Ss(Ro(Xl)), Gs.sky = Ss(Ro(Mc)), Gs.terrain = Ss(Ro(th)), Gs.layer = Ss(Ro(Lc)), Gs.filter = Ss(Ro(ql)), Gs.paintProperty = Ss(Ro(sl)), Gs.layoutProperty = Ss(Ro(Hl));
3152
- const ra = Gs, Rc = ra.light, uf = ra.sky, Xh = ra.paintProperty, ih = ra.layoutProperty;
3153
- function sh(u, a) {
3151
+ Gs.source = Ss(Ro(ol)), Gs.sprite = Ss(Ro(th)), Gs.glyphs = Ss(Ro(Wh)), Gs.light = Ss(Ro(Xl)), Gs.sky = Ss(Ro(Mc)), Gs.terrain = Ss(Ro(eh)), Gs.layer = Ss(Ro(Lc)), Gs.filter = Ss(Ro(ql)), Gs.paintProperty = Ss(Ro(sl)), Gs.layoutProperty = Ss(Ro(Hl));
3152
+ const ra = Gs, Rc = ra.light, uf = ra.sky, Xh = ra.paintProperty, rh = ra.layoutProperty;
3153
+ function ih(u, a) {
3154
3154
  let d = !1;
3155
3155
  if (a && a.length) for (const p of a) u.fire(new an(new Error(p.message))), d = !0;
3156
3156
  return d;
@@ -3315,8 +3315,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3315
3315
  }
3316
3316
  }
3317
3317
  const Cn = { "Latin-1 Supplement": (u) => u >= 128 && u <= 255, "Hangul Jamo": (u) => u >= 4352 && u <= 4607, Khmer: (u) => u >= 6016 && u <= 6143, "General Punctuation": (u) => u >= 8192 && u <= 8303, "Letterlike Symbols": (u) => u >= 8448 && u <= 8527, "Number Forms": (u) => u >= 8528 && u <= 8591, "Miscellaneous Technical": (u) => u >= 8960 && u <= 9215, "Control Pictures": (u) => u >= 9216 && u <= 9279, "Optical Character Recognition": (u) => u >= 9280 && u <= 9311, "Enclosed Alphanumerics": (u) => u >= 9312 && u <= 9471, "Geometric Shapes": (u) => u >= 9632 && u <= 9727, "Miscellaneous Symbols": (u) => u >= 9728 && u <= 9983, "Miscellaneous Symbols and Arrows": (u) => u >= 11008 && u <= 11263, "Ideographic Description Characters": (u) => u >= 12272 && u <= 12287, "CJK Symbols and Punctuation": (u) => u >= 12288 && u <= 12351, Katakana: (u) => u >= 12448 && u <= 12543, Kanbun: (u) => u >= 12688 && u <= 12703, "CJK Strokes": (u) => u >= 12736 && u <= 12783, "Enclosed CJK Letters and Months": (u) => u >= 12800 && u <= 13055, "CJK Compatibility": (u) => u >= 13056 && u <= 13311, "Yijing Hexagram Symbols": (u) => u >= 19904 && u <= 19967, "Private Use Area": (u) => u >= 57344 && u <= 63743, "Vertical Forms": (u) => u >= 65040 && u <= 65055, "CJK Compatibility Forms": (u) => u >= 65072 && u <= 65103, "Small Form Variants": (u) => u >= 65104 && u <= 65135, "Halfwidth and Fullwidth Forms": (u) => u >= 65280 && u <= 65519 };
3318
- function oh(u) {
3319
- for (const a of u) if (lh(a.charCodeAt(0))) return !0;
3318
+ function sh(u) {
3319
+ for (const a of u) if (ah(a.charCodeAt(0))) return !0;
3320
3320
  return !1;
3321
3321
  }
3322
3322
  function hf(u) {
@@ -3337,12 +3337,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3337
3337
  function ll(u) {
3338
3338
  return !$h.test(String.fromCodePoint(u));
3339
3339
  }
3340
- const ah = gu(["Bopo", "Hani", "Hira", "Kana", "Kits", "Nshu", "Tang", "Yiii"]);
3341
- function lh(u) {
3342
- return !(u !== 746 && u !== 747 && (u < 4352 || !(Cn["CJK Compatibility Forms"](u) && !(u >= 65097 && u <= 65103) || Cn["CJK Compatibility"](u) || Cn["CJK Strokes"](u) || !(!Cn["CJK Symbols and Punctuation"](u) || u >= 12296 && u <= 12305 || u >= 12308 && u <= 12319 || u === 12336) || Cn["Enclosed CJK Letters and Months"](u) || Cn["Ideographic Description Characters"](u) || Cn.Kanbun(u) || Cn.Katakana(u) && u !== 12540 || !(!Cn["Halfwidth and Fullwidth Forms"](u) || u === 65288 || u === 65289 || u === 65293 || u >= 65306 && u <= 65310 || u === 65339 || u === 65341 || u === 65343 || u >= 65371 && u <= 65503 || u === 65507 || u >= 65512 && u <= 65519) || !(!Cn["Small Form Variants"](u) || u >= 65112 && u <= 65118 || u >= 65123 && u <= 65126) || Cn["Vertical Forms"](u) || Cn["Yijing Hexagram Symbols"](u) || new RegExp("\\p{sc=Cans}", "u").test(String.fromCodePoint(u)) || new RegExp("\\p{sc=Hang}", "u").test(String.fromCodePoint(u)) || ah.test(String.fromCodePoint(u)))));
3340
+ const oh = gu(["Bopo", "Hani", "Hira", "Kana", "Kits", "Nshu", "Tang", "Yiii"]);
3341
+ function ah(u) {
3342
+ return !(u !== 746 && u !== 747 && (u < 4352 || !(Cn["CJK Compatibility Forms"](u) && !(u >= 65097 && u <= 65103) || Cn["CJK Compatibility"](u) || Cn["CJK Strokes"](u) || !(!Cn["CJK Symbols and Punctuation"](u) || u >= 12296 && u <= 12305 || u >= 12308 && u <= 12319 || u === 12336) || Cn["Enclosed CJK Letters and Months"](u) || Cn["Ideographic Description Characters"](u) || Cn.Kanbun(u) || Cn.Katakana(u) && u !== 12540 || !(!Cn["Halfwidth and Fullwidth Forms"](u) || u === 65288 || u === 65289 || u === 65293 || u >= 65306 && u <= 65310 || u === 65339 || u === 65341 || u === 65343 || u >= 65371 && u <= 65503 || u === 65507 || u >= 65512 && u <= 65519) || !(!Cn["Small Form Variants"](u) || u >= 65112 && u <= 65118 || u >= 65123 && u <= 65126) || Cn["Vertical Forms"](u) || Cn["Yijing Hexagram Symbols"](u) || new RegExp("\\p{sc=Cans}", "u").test(String.fromCodePoint(u)) || new RegExp("\\p{sc=Hang}", "u").test(String.fromCodePoint(u)) || oh.test(String.fromCodePoint(u)))));
3343
3343
  }
3344
3344
  function Oc(u) {
3345
- return !(lh(u) || function(a) {
3345
+ return !(ah(u) || function(a) {
3346
3346
  return !!(Cn["Latin-1 Supplement"](a) && (a === 167 || a === 169 || a === 174 || a === 177 || a === 188 || a === 189 || a === 190 || a === 215 || a === 247) || Cn["General Punctuation"](a) && (a === 8214 || a === 8224 || a === 8225 || a === 8240 || a === 8241 || a === 8251 || a === 8252 || a === 8258 || a === 8263 || a === 8264 || a === 8265 || a === 8273) || Cn["Letterlike Symbols"](a) || Cn["Number Forms"](a) || Cn["Miscellaneous Technical"](a) && (a >= 8960 && a <= 8967 || a >= 8972 && a <= 8991 || a >= 8996 && a <= 9e3 || a === 9003 || a >= 9085 && a <= 9114 || a >= 9150 && a <= 9165 || a === 9167 || a >= 9169 && a <= 9179 || a >= 9186 && a <= 9215) || Cn["Control Pictures"](a) && a !== 9251 || Cn["Optical Character Recognition"](a) || Cn["Enclosed Alphanumerics"](a) || Cn["Geometric Shapes"](a) || Cn["Miscellaneous Symbols"](a) && !(a >= 9754 && a <= 9759) || Cn["Miscellaneous Symbols and Arrows"](a) && (a >= 11026 && a <= 11055 || a >= 11088 && a <= 11097 || a >= 11192 && a <= 11243) || Cn["CJK Symbols and Punctuation"](a) || Cn.Katakana(a) || Cn["Private Use Area"](a) || Cn["CJK Compatibility Forms"](a) || Cn["Small Form Variants"](a) || Cn["Halfwidth and Fullwidth Forms"](a) || a === 8734 || a === 8756 || a === 8757 || a >= 9984 && a <= 10087 || a >= 10102 && a <= 10131 || a === 65532 || a === 65533);
3347
3347
  }(u));
3348
3348
  }
@@ -3350,7 +3350,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3350
3350
  function cl(u) {
3351
3351
  return mu.test(String.fromCodePoint(u));
3352
3352
  }
3353
- function ch(u, a) {
3353
+ function lh(u, a) {
3354
3354
  return !(!a && cl(u) || u >= 2304 && u <= 3583 || u >= 3840 && u <= 4255 || Cn.Khmer(u));
3355
3355
  }
3356
3356
  function Zh(u) {
@@ -3386,7 +3386,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3386
3386
  }
3387
3387
  isSupportedScript(a) {
3388
3388
  return function(d, p) {
3389
- for (const v of d) if (!ch(v.charCodeAt(0), p)) return !1;
3389
+ for (const v of d) if (!lh(v.charCodeAt(0), p)) return !1;
3390
3390
  return !0;
3391
3391
  }(a, Ts.getRTLTextPluginStatus() === "loaded");
3392
3392
  }
@@ -3676,7 +3676,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3676
3676
  }
3677
3677
  setLayoutProperty(a, d) {
3678
3678
  let p = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
3679
- d != null && this._validate(ih, `layers.${this.id}.layout.${a}`, a, d, p) || (a !== "visibility" ? this._unevaluatedLayout.setValue(a, d) : this.visibility = d);
3679
+ d != null && this._validate(rh, `layers.${this.id}.layout.${a}`, a, d, p) || (a !== "visibility" ? this._unevaluatedLayout.setValue(a, d) : this.visibility = d);
3680
3680
  }
3681
3681
  getPaintProperty(a) {
3682
3682
  return a.endsWith(s) ? this._transitionablePaint.getTransition(a.slice(0, -11)) : this._transitionablePaint.getValue(a);
@@ -3715,7 +3715,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3715
3715
  }
3716
3716
  _validate(a, d, p, v) {
3717
3717
  let x = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {};
3718
- return (!x || x.validate !== !1) && sh(this, a.call(ra, { key: d, layerType: this.type, objectKey: p, value: v, styleSpec: ne, style: { glyphs: !0, sprite: !0 } }));
3718
+ return (!x || x.validate !== !1) && ih(this, a.call(ra, { key: d, layerType: this.type, objectKey: p, value: v, styleSpec: ne, style: { glyphs: !0, sprite: !0 } }));
3719
3719
  }
3720
3720
  is3D() {
3721
3721
  return !1;
@@ -4502,7 +4502,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4502
4502
  this.gl = a.gl, this.location = d;
4503
4503
  }
4504
4504
  }
4505
- class uh extends ec {
4505
+ class ch extends ec {
4506
4506
  constructor(a, d) {
4507
4507
  super(a, d), this.current = 0;
4508
4508
  }
@@ -4510,7 +4510,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4510
4510
  this.current !== a && (this.current = a, this.gl.uniform1f(this.location, a));
4511
4511
  }
4512
4512
  }
4513
- class hh extends ec {
4513
+ class uh extends ec {
4514
4514
  constructor(a, d) {
4515
4515
  super(a, d), this.current = [0, 0, 0, 0];
4516
4516
  }
@@ -4526,11 +4526,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4526
4526
  a.r === this.current.r && a.g === this.current.g && a.b === this.current.b && a.a === this.current.a || (this.current = a, this.gl.uniform4f(this.location, a.r, a.g, a.b, a.a));
4527
4527
  }
4528
4528
  }
4529
- const dh = new Float32Array(16);
4529
+ const hh = new Float32Array(16);
4530
4530
  function Qh(u) {
4531
4531
  return [Fo(255 * u.r, 255 * u.g), Fo(255 * u.b, 255 * u.a)];
4532
4532
  }
4533
- class fh {
4533
+ class dh {
4534
4534
  constructor(a, d, p) {
4535
4535
  this.value = a, this.uniformNames = d.map((v) => `u_${v}`), this.type = p;
4536
4536
  }
@@ -4538,7 +4538,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4538
4538
  a.set(p.constantOr(this.value));
4539
4539
  }
4540
4540
  getBinding(a, d, p) {
4541
- return this.type === "color" ? new Kh(a, d) : new uh(a, d);
4541
+ return this.type === "color" ? new Kh(a, d) : new ch(a, d);
4542
4542
  }
4543
4543
  }
4544
4544
  class ul {
@@ -4553,7 +4553,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4553
4553
  x && a.set(x);
4554
4554
  }
4555
4555
  getBinding(a, d, p) {
4556
- return p.substr(0, 9) === "u_pattern" ? new hh(a, d) : new uh(a, d);
4556
+ return p.substr(0, 9) === "u_pattern" ? new uh(a, d) : new ch(a, d);
4557
4557
  }
4558
4558
  }
4559
4559
  class ka {
@@ -4616,7 +4616,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4616
4616
  a.set(v);
4617
4617
  }
4618
4618
  getBinding(a, d, p) {
4619
- return new uh(a, d);
4619
+ return new ch(a, d);
4620
4620
  }
4621
4621
  }
4622
4622
  class Ps {
@@ -4651,7 +4651,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4651
4651
  const E = a.paint.get(x);
4652
4652
  if (!(E instanceof yo && Lo(E.property.specification))) continue;
4653
4653
  const L = t0(x, a.type), R = E.value, F = E.property.specification.type, j = E.property.useIntegerZoom, q = E.property.specification["property-type"], Y = q === "cross-faded" || q === "cross-faded-data-driven";
4654
- if (R.kind === "constant") this.binders[x] = Y ? new ul(R.value, L) : new fh(R.value, L, F), v.push(`/u_${x}`);
4654
+ if (R.kind === "constant") this.binders[x] = Y ? new ul(R.value, L) : new dh(R.value, L, F), v.push(`/u_${x}`);
4655
4655
  else if (R.kind === "source" || Y) {
4656
4656
  const ee = pf(x, F, "source");
4657
4657
  this.binders[x] = Y ? new Ps(R, F, j, d, ee, a.id) : new ka(R, L, F, ee), v.push(`/a_${x}`);
@@ -4699,7 +4699,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4699
4699
  const a = [];
4700
4700
  for (const d in this.binders) {
4701
4701
  const p = this.binders[d];
4702
- (p instanceof fh || p instanceof ul) && a.push(...p.uniformNames.map((v) => `#define HAS_UNIFORM_${v}`));
4702
+ (p instanceof dh || p instanceof ul) && a.push(...p.uniformNames.map((v) => `#define HAS_UNIFORM_${v}`));
4703
4703
  }
4704
4704
  return a;
4705
4705
  }
@@ -4716,7 +4716,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4716
4716
  const a = [];
4717
4717
  for (const d in this.binders) {
4718
4718
  const p = this.binders[d];
4719
- if (p instanceof fh || p instanceof ul || p instanceof bo) for (const v of p.uniformNames) a.push(v);
4719
+ if (p instanceof dh || p instanceof ul || p instanceof bo) for (const v of p.uniformNames) a.push(v);
4720
4720
  }
4721
4721
  return a;
4722
4722
  }
@@ -4727,7 +4727,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4727
4727
  const p = [];
4728
4728
  for (const v in this.binders) {
4729
4729
  const x = this.binders[v];
4730
- if (x instanceof fh || x instanceof ul || x instanceof bo) {
4730
+ if (x instanceof dh || x instanceof ul || x instanceof bo) {
4731
4731
  for (const E of x.uniformNames) if (d[E]) {
4732
4732
  const L = x.getBinding(a, d[E], E);
4733
4733
  p.push({ name: E, property: v, binding: L });
@@ -4799,7 +4799,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4799
4799
  }(u);
4800
4800
  return v && v[d] || p[a][d];
4801
4801
  }
4802
- qt("ConstantBinder", fh), qt("CrossFadedConstantBinder", ul), qt("SourceExpressionBinder", ka), qt("CrossFadedCompositeBinder", Ps), qt("CompositeExpressionBinder", bo), qt("ProgramConfiguration", ff, { omit: ["_buffers"] }), qt("ProgramConfigurationSet", tc);
4802
+ qt("ConstantBinder", dh), qt("CrossFadedConstantBinder", ul), qt("SourceExpressionBinder", ka), qt("CrossFadedCompositeBinder", Ps), qt("CompositeExpressionBinder", bo), qt("ProgramConfiguration", ff, { omit: ["_buffers"] }), qt("ProgramConfigurationSet", tc);
4803
4803
  const kr = 8192, gf = Math.pow(2, 14) - 1, mf = -gf - 1;
4804
4804
  function jc(u) {
4805
4805
  const a = kr / u.extent, d = u.loadGeometry();
@@ -4869,7 +4869,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4869
4869
  return !!za(u, a);
4870
4870
  }
4871
4871
  function nd(u, a, d) {
4872
- return !!ic(u, a) || !!ph(a, u, d);
4872
+ return !!ic(u, a) || !!fh(a, u, d);
4873
4873
  }
4874
4874
  function Na(u, a) {
4875
4875
  if (u.length === 1) return Xp(a, u[0]);
@@ -4884,9 +4884,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4884
4884
  function rc(u, a, d) {
4885
4885
  if (u.length > 1) {
4886
4886
  if (za(u, a)) return !0;
4887
- for (let p = 0; p < a.length; p++) if (ph(a[p], u, d)) return !0;
4887
+ for (let p = 0; p < a.length; p++) if (fh(a[p], u, d)) return !0;
4888
4888
  }
4889
- for (let p = 0; p < u.length; p++) if (ph(u[p], a, d)) return !0;
4889
+ for (let p = 0; p < u.length; p++) if (fh(u[p], a, d)) return !0;
4890
4890
  return !1;
4891
4891
  }
4892
4892
  function za(u, a) {
@@ -4900,7 +4900,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4900
4900
  function rd(u, a, d, p) {
4901
4901
  return xe(u, d, p) !== xe(a, d, p) && xe(u, a, d) !== xe(u, a, p);
4902
4902
  }
4903
- function ph(u, a, d) {
4903
+ function fh(u, a, d) {
4904
4904
  const p = d * d;
4905
4905
  if (a.length === 1) return u.distSqr(a[0]) < p;
4906
4906
  for (let v = 1; v < a.length; v++) if (_f(u, a[v - 1], a[v]) < p) return !0;
@@ -5158,7 +5158,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5158
5158
  else for (let E = d - p; E >= a; E -= p) x = ev(E / p | 0, u[E], u[E + 1], x);
5159
5159
  return x && Yp(x, x.next) && (Sf(x), x = x.next), x;
5160
5160
  }
5161
- function gh(u, a) {
5161
+ function ph(u, a) {
5162
5162
  if (!u) return u;
5163
5163
  a || (a = u);
5164
5164
  let d, p = u;
@@ -5201,7 +5201,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5201
5201
  const R = u.prev, F = u.next;
5202
5202
  if (x ? O3(u, p, v, x) : R3(u)) a.push(R.i, u.i, F.i), Sf(u), u = F.next, L = F.next;
5203
5203
  else if ((u = F) === L) {
5204
- E ? E === 1 ? wf(u = D3(gh(u), a), a, d, p, v, x, 2) : E === 2 && F3(u, a, d, p, v, x) : wf(gh(u), a, d, p, v, x, 1);
5204
+ E ? E === 1 ? wf(u = D3(ph(u), a), a, d, p, v, x, 2) : E === 2 && F3(u, a, d, p, v, x) : wf(ph(u), a, d, p, v, x, 1);
5205
5205
  break;
5206
5206
  }
5207
5207
  }
@@ -5242,7 +5242,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5242
5242
  const p = d.prev, v = d.next.next;
5243
5243
  !Yp(p, v) && Kb(p, d, d.next, v) && Af(p, v) && Af(v, p) && (a.push(p.i, d.i, v.i), Sf(d), Sf(d.next), d = u = v), d = d.next;
5244
5244
  } while (d !== u);
5245
- return gh(d);
5245
+ return ph(d);
5246
5246
  }
5247
5247
  function F3(u, a, d, p, v, x) {
5248
5248
  let E = u;
@@ -5251,7 +5251,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5251
5251
  for (; L !== E.prev; ) {
5252
5252
  if (E.i !== L.i && j3(E, L)) {
5253
5253
  let R = Qb(E, L);
5254
- return E = gh(E, E.next), R = gh(R, R.next), wf(E, a, d, p, v, x, 0), void wf(R, a, d, p, v, x, 0);
5254
+ return E = ph(E, E.next), R = ph(R, R.next), wf(E, a, d, p, v, x, 0), void wf(R, a, d, p, v, x, 0);
5255
5255
  }
5256
5256
  L = L.next;
5257
5257
  }
@@ -5288,7 +5288,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5288
5288
  }(u, a);
5289
5289
  if (!d) return a;
5290
5290
  const p = Qb(d, u);
5291
- return gh(p, p.next), gh(d, d.next);
5291
+ return ph(p, p.next), ph(d, d.next);
5292
5292
  }
5293
5293
  function z3(u, a) {
5294
5294
  return mi(u.prev, u, a.prev) < 0 && mi(a.next, u, u.next) < 0;
@@ -6466,7 +6466,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6466
6466
  for (let xo = 0; xo < di.length(); xo++) {
6467
6467
  const ar = di.getSection(xo), Nr = di.getSectionIndex(xo), Vr = di.getCharCode(xo);
6468
6468
  let No = 0, ai = null, fd = null, oc = null, ac = Mi;
6469
- const ja = !(Ht === c.ah.horizontal || !on && !lh(Vr) || on && (rg[Vr] || (Vi = Vr, new RegExp("\\p{sc=Arab}", "u").test(String.fromCodePoint(Vi)))));
6469
+ const ja = !(Ht === c.ah.horizontal || !on && !ah(Vr) || on && (rg[Vr] || (Vi = Vr, new RegExp("\\p{sc=Arab}", "u").test(String.fromCodePoint(Vi)))));
6470
6470
  if (ar.imageName) {
6471
6471
  const ua = mn[ar.imageName];
6472
6472
  if (!ua) continue;
@@ -6548,7 +6548,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6548
6548
  for (let q = 0; q < u.length(); q++) {
6549
6549
  const Y = u.getSection(q), ee = u.getCharCode(q);
6550
6550
  if (rg[ee] || (F += Sv(ee, Y, p, v, a, x)), q < u.length() - 1) {
6551
- const se = !((j = ee) < 11904) && (!!Cn["CJK Compatibility Forms"](j) || !!Cn["CJK Compatibility"](j) || !!Cn["CJK Strokes"](j) || !!Cn["CJK Symbols and Punctuation"](j) || !!Cn["Enclosed CJK Letters and Months"](j) || !!Cn["Halfwidth and Fullwidth Forms"](j) || !!Cn["Ideographic Description Characters"](j) || !!Cn["Vertical Forms"](j) || ah.test(String.fromCodePoint(j)));
6551
+ const se = !((j = ee) < 11904) && (!!Cn["CJK Compatibility Forms"](j) || !!Cn["CJK Compatibility"](j) || !!Cn["CJK Strokes"](j) || !!Cn["CJK Symbols and Punctuation"](j) || !!Cn["Enclosed CJK Letters and Months"](j) || !!Cn["Halfwidth and Fullwidth Forms"](j) || !!Cn["Ideographic Description Characters"](j) || !!Cn["Vertical Forms"](j) || oh.test(String.fromCodePoint(j)));
6552
6552
  (LC[ee] || se || Y.imageName || q !== u.length() - 2 && MC[u.getCharCode(q + 1)]) && E.push(Tv(q + 1, F, L, E, BC(ee, u.getCharCode(q + 1), se && R), !1));
6553
6553
  }
6554
6554
  }
@@ -6719,7 +6719,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6719
6719
  this.allowVerticalPlacement = this.writingModes && this.writingModes.indexOf(c.ah.vertical) >= 0;
6720
6720
  for (const sn of At.sections) if (sn.image) Y[sn.image.name] = !0;
6721
6721
  else {
6722
- const $t = oh(At.toString()), Ht = sn.fontStack || Ut, pt = ee[Ht] = ee[Ht] || {};
6722
+ const $t = sh(At.toString()), Ht = sn.fontStack || Ut, pt = ee[Ht] = ee[Ht] || {};
6723
6723
  this.calculateGlyphDependencies(sn.text, pt, kt, this.allowVerticalPlacement, $t);
6724
6724
  }
6725
6725
  }
@@ -7760,11 +7760,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7760
7760
  ua = new cg(Hs, Tn, Ws, Xs, di, wr.vertical, qi, Ls, fs, Ms), ds && (rs = new cg(Hs, Tn, Ws, Xs, di, ds, ps, ca, fs, Ms));
7761
7761
  }
7762
7762
  if (Gi) {
7763
- const Ms = Vi.layout.get("icon-rotate").evaluate(Nr, {}), ha = Vi.layout.get("icon-text-fit") !== "none", mh = t2(Gi, Ms, No, ha), dl = ds ? t2(ds, Ms, No, ha) : void 0;
7764
- ja = new cg(Hs, Tn, Ws, Xs, di, Gi, ps, ca, !1, Ms), qc = 4 * mh.length;
7765
- const _h = tn.iconSizeData;
7763
+ const Ms = Vi.layout.get("icon-rotate").evaluate(Nr, {}), ha = Vi.layout.get("icon-text-fit") !== "none", gh = t2(Gi, Ms, No, ha), dl = ds ? t2(ds, Ms, No, ha) : void 0;
7764
+ ja = new cg(Hs, Tn, Ws, Xs, di, Gi, ps, ca, !1, Ms), qc = 4 * gh.length;
7765
+ const mh = tn.iconSizeData;
7766
7766
  let lc = null;
7767
- _h.kind === "source" ? (lc = [sc * Vi.layout.get("icon-size").evaluate(Nr, {})], lc[0] > Au && Te(`${tn.layerIds[0]}: Value for "icon-size" is >= ${Lf}. Reduce your "icon-size".`)) : _h.kind === "composite" && (lc = [sc * Vr.compositeIconSizes[0].evaluate(Nr, {}, ai), sc * Vr.compositeIconSizes[1].evaluate(Nr, {}, ai)], (lc[0] > Au || lc[1] > Au) && Te(`${tn.layerIds[0]}: Value for "icon-size" is >= ${Lf}. Reduce your "icon-size".`)), tn.addSymbols(tn.icon, mh, lc, ar, xo, Nr, c.ah.none, Tn, oc.lineStartIndex, oc.lineLength, -1, ai), k0 = tn.icon.placedSymbolArray.length - 1, dl && (Df = 4 * dl.length, tn.addSymbols(tn.icon, dl, lc, ar, xo, Nr, c.ah.vertical, Tn, oc.lineStartIndex, oc.lineLength, -1, ai), N0 = tn.icon.placedSymbolArray.length - 1);
7767
+ mh.kind === "source" ? (lc = [sc * Vi.layout.get("icon-size").evaluate(Nr, {})], lc[0] > Au && Te(`${tn.layerIds[0]}: Value for "icon-size" is >= ${Lf}. Reduce your "icon-size".`)) : mh.kind === "composite" && (lc = [sc * Vr.compositeIconSizes[0].evaluate(Nr, {}, ai), sc * Vr.compositeIconSizes[1].evaluate(Nr, {}, ai)], (lc[0] > Au || lc[1] > Au) && Te(`${tn.layerIds[0]}: Value for "icon-size" is >= ${Lf}. Reduce your "icon-size".`)), tn.addSymbols(tn.icon, gh, lc, ar, xo, Nr, c.ah.none, Tn, oc.lineStartIndex, oc.lineLength, -1, ai), k0 = tn.icon.placedSymbolArray.length - 1, dl && (Df = 4 * dl.length, tn.addSymbols(tn.icon, dl, lc, ar, xo, Nr, c.ah.vertical, Tn, oc.lineStartIndex, oc.lineLength, -1, ai), N0 = tn.icon.placedSymbolArray.length - 1);
7768
7768
  }
7769
7769
  const f2 = Object.keys(wr.horizontal);
7770
7770
  for (const Ms of f2) {
@@ -7774,8 +7774,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7774
7774
  const dl = Vi.layout.get("text-rotate").evaluate(Nr, {}, ai);
7775
7775
  ac = new cg(Hs, Tn, Ws, Xs, di, ha, qi, Ls, fs, dl);
7776
7776
  }
7777
- const mh = ha.positionedLines.length === 1;
7778
- if (u2 += s2(tn, Tn, ha, Ua, Vi, fs, Nr, $s, oc, wr.vertical ? c.ah.horizontal : c.ah.horizontalOnly, mh ? f2 : [Ms], Hc, k0, Vr, ai), mh) break;
7777
+ const gh = ha.positionedLines.length === 1;
7778
+ if (u2 += s2(tn, Tn, ha, Ua, Vi, fs, Nr, $s, oc, wr.vertical ? c.ah.horizontal : c.ah.horizontalOnly, gh ? f2 : [Ms], Hc, k0, Vr, ai), gh) break;
7779
7779
  }
7780
7780
  wr.vertical && (h2 += s2(tn, Tn, wr.vertical, Ua, Vi, fs, Nr, $s, oc, c.ah.vertical, ["vertical"], Hc, N0, Vr, ai));
7781
7781
  const QC = ac ? ac.boxStartIndex : tn.collisionBoxArray.length, eI = ac ? ac.boxEndIndex : tn.collisionBoxArray.length, tI = ua ? ua.boxStartIndex : tn.collisionBoxArray.length, nI = ua ? ua.boxEndIndex : tn.collisionBoxArray.length, rI = ja ? ja.boxStartIndex : tn.collisionBoxArray.length, iI = ja ? ja.boxEndIndex : tn.collisionBoxArray.length, sI = rs ? rs.boxStartIndex : tn.collisionBoxArray.length, oI = rs ? rs.boxEndIndex : tn.collisionBoxArray.length;
@@ -7785,12 +7785,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7785
7785
  const p2 = hl > -1 ? 1 : 0;
7786
7786
  p2 && (hl *= fd / Mi), tn.glyphOffsetArray.length >= ud.MAX_GLYPHS && Te("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"), Nr.sortKey !== void 0 && tn.addToSortKeyRanges(tn.symbolInstances.length, Nr.sortKey);
7787
7787
  const aI = i2(Vi, Nr, ai), [lI, cI] = function(Ms, ha) {
7788
- const mh = Ms.length, dl = ha == null ? void 0 : ha.values;
7789
- if ((dl == null ? void 0 : dl.length) > 0) for (let _h = 0; _h < dl.length; _h += 2) {
7790
- const lc = dl[_h + 1];
7791
- Ms.emplaceBack(c.aq[dl[_h]], lc[0], lc[1]);
7788
+ const gh = Ms.length, dl = ha == null ? void 0 : ha.values;
7789
+ if ((dl == null ? void 0 : dl.length) > 0) for (let mh = 0; mh < dl.length; mh += 2) {
7790
+ const lc = dl[mh + 1];
7791
+ Ms.emplaceBack(c.aq[dl[mh]], lc[0], lc[1]);
7792
7792
  }
7793
- return [mh, Ms.length];
7793
+ return [gh, Ms.length];
7794
7794
  }(tn.textAnchorOffsets, aI);
7795
7795
  tn.symbolInstances.emplaceBack(Tn.x, Tn.y, Hc.right >= 0 ? Hc.right : -1, Hc.center >= 0 ? Hc.center : -1, Hc.left >= 0 ? Hc.left : -1, Hc.vertical || -1, k0, N0, d2, QC, eI, tI, nI, rI, iI, sI, oI, Ws, u2, h2, qc, Df, p2, 0, qi, hl, lI, cI);
7796
7796
  }(u, on, pt, d, p, v, $t, u.layers[0], u.collisionBoxArray, a.index, a.sourceLayerIndex, u.index, we, [Ve, Ve, Ve, Ve], Gt, R, $e, it, mn, ee, a, x, F, j, E);
@@ -8145,9 +8145,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8145
8145
  set(u) {
8146
8146
  this.current !== u && (this.current = u, this.gl.uniform1i(this.location, u));
8147
8147
  }
8148
- }, c.aI = uh, c.aJ = class extends ec {
8148
+ }, c.aI = ch, c.aJ = class extends ec {
8149
8149
  constructor(u, a) {
8150
- super(u, a), this.current = dh;
8150
+ super(u, a), this.current = hh;
8151
8151
  }
8152
8152
  set(u) {
8153
8153
  if (u[12] !== this.current[12] || u[0] !== this.current[0]) return this.current = u, void this.gl.uniformMatrix4fv(this.location, !1, u);
@@ -8156,7 +8156,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8156
8156
  break;
8157
8157
  }
8158
8158
  }
8159
- }, c.aK = hh, c.aL = Kh, c.aM = Jn, c.aN = class extends ec {
8159
+ }, c.aK = uh, c.aL = Kh, c.aM = Jn, c.aN = class extends ec {
8160
8160
  constructor(u, a) {
8161
8161
  super(u, a), this.current = [0, 0, 0];
8162
8162
  }
@@ -8268,7 +8268,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8268
8268
  }, c.bk = function(u, a) {
8269
8269
  const d = {};
8270
8270
  for (let v = 0; v < u.length; v++) {
8271
- const x = a && a[u[v].id] || Qu(u[v]);
8271
+ const x = a && a[u[v].id] || Ku(u[v]);
8272
8272
  a && (a[u[v].id] = x);
8273
8273
  let E = d[x];
8274
8274
  E || (E = d[x] = []), E.push(u[v]);
@@ -8299,7 +8299,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8299
8299
  }
8300
8300
  let Ut = E ? "center" : d.get("text-justify").evaluate(F, {}, u.canonical);
8301
8301
  const kt = d.get("symbol-placement") === "point" ? d.get("text-max-width").evaluate(F, {}, u.canonical) * Mi : 1 / 0, sn = () => {
8302
- u.bucket.allowVerticalPlacement && oh(Ve) && (se.vertical = ng(de, u.glyphMap, u.glyphPositions, u.imagePositions, j, kt, x, Gt, "left", At, Me, c.ah.vertical, !0, Y, q));
8302
+ u.bucket.allowVerticalPlacement && sh(Ve) && (se.vertical = ng(de, u.glyphMap, u.glyphPositions, u.imagePositions, j, kt, x, Gt, "left", At, Me, c.ah.vertical, !0, Y, q));
8303
8303
  };
8304
8304
  if (!E && mn) {
8305
8305
  const $t = /* @__PURE__ */ new Set();
@@ -8315,7 +8315,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8315
8315
  } else {
8316
8316
  Ut === "auto" && (Ut = P0(Gt));
8317
8317
  const $t = ng(de, u.glyphMap, u.glyphPositions, u.imagePositions, j, kt, x, Gt, Ut, At, Me, c.ah.horizontal, !1, Y, q);
8318
- $t && (se.horizontal[Ut] = $t), sn(), oh(Ve) && E && L && (se.vertical = ng(de, u.glyphMap, u.glyphPositions, u.imagePositions, j, kt, x, Gt, Ut, At, Me, c.ah.vertical, !1, Y, q));
8318
+ $t && (se.horizontal[Ut] = $t), sn(), sh(Ve) && E && L && (se.vertical = ng(de, u.glyphMap, u.glyphPositions, u.imagePositions, j, kt, x, Gt, Ut, At, Me, c.ah.vertical, !1, Y, q));
8319
8319
  }
8320
8320
  }
8321
8321
  let $e = !1;
@@ -8368,7 +8368,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8368
8368
  p.src = u.byteLength ? URL.createObjectURL(v) : Je;
8369
8369
  }), c.g = Ue, c.h = (u, a) => Ze(Le(u, { type: "json" }), a), c.i = et, c.j = an, c.k = Nt, c.l = (u, a) => Ze(Le(u, { type: "arrayBuffer" }), a), c.m = Ze, c.n = function(u) {
8370
8370
  return new g0(u).readFields(CC, []);
8371
- }, c.o = xf, c.p = wv, c.q = g, c.r = Rc, c.s = St, c.t = sh, c.u = ra, c.v = ne, c.w = Te, c.x = function(u) {
8371
+ }, c.o = xf, c.p = wv, c.q = g, c.r = Rc, c.s = St, c.t = ih, c.u = ra, c.v = ne, c.w = Te, c.x = function(u) {
8372
8372
  let [a, d, p] = u;
8373
8373
  return d += 90, d *= Math.PI / 180, p *= Math.PI / 180, { x: a * Math.cos(d) * Math.sin(p), y: a * Math.sin(d) * Math.sin(p), z: a * Math.cos(p) };
8374
8374
  }, c.y = Ii, c.z = vr;
@@ -13660,11 +13660,11 @@ uniform ${z} ${k} u_${X};
13660
13660
  function cu(g, s, h, f) {
13661
13661
  return g.translatePosMatrix(f ? f.posMatrix : s.tileID.posMatrix, s, h.paint.get("line-translate"), h.paint.get("line-translate-anchor"));
13662
13662
  }
13663
- const Ju = (g, s, h, f, m) => {
13664
- return { u_matrix: g, u_tl_parent: s, u_scale_parent: h, u_buffer_scale: 1, u_fade_t: f.mix, u_opacity: f.opacity * m.paint.get("raster-opacity"), u_image0: 0, u_image1: 1, u_brightness_low: m.paint.get("raster-brightness-min"), u_brightness_high: m.paint.get("raster-brightness-max"), u_saturation_factor: (S = m.paint.get("raster-saturation"), S > 0 ? 1 - 1 / (1.001 - S) : -S), u_contrast_factor: (y = m.paint.get("raster-contrast"), y > 0 ? 1 / (1 - y) : 1 + y), u_spin_weights: Yu(m.paint.get("raster-hue-rotate")) };
13663
+ const Zu = (g, s, h, f, m) => {
13664
+ return { u_matrix: g, u_tl_parent: s, u_scale_parent: h, u_buffer_scale: 1, u_fade_t: f.mix, u_opacity: f.opacity * m.paint.get("raster-opacity"), u_image0: 0, u_image1: 1, u_brightness_low: m.paint.get("raster-brightness-min"), u_brightness_high: m.paint.get("raster-brightness-max"), u_saturation_factor: (S = m.paint.get("raster-saturation"), S > 0 ? 1 - 1 / (1.001 - S) : -S), u_contrast_factor: (y = m.paint.get("raster-contrast"), y > 0 ? 1 / (1 - y) : 1 + y), u_spin_weights: Ju(m.paint.get("raster-hue-rotate")) };
13665
13665
  var y, S;
13666
13666
  };
13667
- function Yu(g) {
13667
+ function Ju(g) {
13668
13668
  g *= Math.PI / 180;
13669
13669
  const s = Math.sin(g), h = Math.cos(g);
13670
13670
  return [(2 * h + 1) / 3, (-Math.sqrt(3) * s - h + 1) / 3, (Math.sqrt(3) * s - h + 1) / 3];
@@ -13762,7 +13762,7 @@ uniform ${z} ${k} u_${X};
13762
13762
  (s.r !== h.r || s.g !== h.g || s.b !== h.b || s.a !== h.a || this.dirty) && (this.gl.clearColor(s.r, s.g, s.b, s.a), this.current = s, this.dirty = !1);
13763
13763
  }
13764
13764
  }
13765
- class Ku extends jn {
13765
+ class Yu extends jn {
13766
13766
  getDefault() {
13767
13767
  return 1;
13768
13768
  }
@@ -14099,7 +14099,7 @@ uniform ${z} ${k} u_${X};
14099
14099
  class Di {
14100
14100
  constructor(s) {
14101
14101
  var h, f;
14102
- if (this.gl = s, this.clearColor = new uo(this), this.clearDepth = new Ku(this), this.clearStencil = new ws(this), this.colorMask = new ho(this), this.depthMask = new kl(this), this.stencilMask = new Qa(this), this.stencilFunc = new hu(this), this.stencilOp = new Sa(this), this.stencilTest = new du(this), this.depthRange = new Nl(this), this.depthTest = new zl(this), this.depthFunc = new Sc(this), this.blend = new Os(this), this.blendFunc = new Ul(this), this.blendColor = new Ec(this), this.blendEquation = new Tc(this), this.cullFace = new el(this), this.cullFaceSide = new jl(this), this.frontFace = new Co(this), this.program = new Cc(this), this.activeTexture = new Ea(this), this.viewport = new Gl(this), this.bindFramebuffer = new O(this), this.bindRenderbuffer = new te(this), this.bindTexture = new Se(this), this.bindVertexBuffer = new ze(this), this.bindElementBuffer = new Xe(this), this.bindVertexArray = new lt(this), this.pixelStoreUnpack = new Pt(this), this.pixelStoreUnpackPremultiplyAlpha = new Wt(this), this.pixelStoreUnpackFlipY = new _n(this), this.extTextureFilterAnisotropic = s.getExtension("EXT_texture_filter_anisotropic") || s.getExtension("MOZ_EXT_texture_filter_anisotropic") || s.getExtension("WEBKIT_EXT_texture_filter_anisotropic"), this.extTextureFilterAnisotropic && (this.extTextureFilterAnisotropicMax = s.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)), this.maxTextureSize = s.getParameter(s.MAX_TEXTURE_SIZE), co(s)) {
14102
+ if (this.gl = s, this.clearColor = new uo(this), this.clearDepth = new Yu(this), this.clearStencil = new ws(this), this.colorMask = new ho(this), this.depthMask = new kl(this), this.stencilMask = new Qa(this), this.stencilFunc = new hu(this), this.stencilOp = new Sa(this), this.stencilTest = new du(this), this.depthRange = new Nl(this), this.depthTest = new zl(this), this.depthFunc = new Sc(this), this.blend = new Os(this), this.blendFunc = new Ul(this), this.blendColor = new Ec(this), this.blendEquation = new Tc(this), this.cullFace = new el(this), this.cullFaceSide = new jl(this), this.frontFace = new Co(this), this.program = new Cc(this), this.activeTexture = new Ea(this), this.viewport = new Gl(this), this.bindFramebuffer = new O(this), this.bindRenderbuffer = new te(this), this.bindTexture = new Se(this), this.bindVertexBuffer = new ze(this), this.bindElementBuffer = new Xe(this), this.bindVertexArray = new lt(this), this.pixelStoreUnpack = new Pt(this), this.pixelStoreUnpackPremultiplyAlpha = new Wt(this), this.pixelStoreUnpackFlipY = new _n(this), this.extTextureFilterAnisotropic = s.getExtension("EXT_texture_filter_anisotropic") || s.getExtension("MOZ_EXT_texture_filter_anisotropic") || s.getExtension("WEBKIT_EXT_texture_filter_anisotropic"), this.extTextureFilterAnisotropic && (this.extTextureFilterAnisotropicMax = s.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)), this.maxTextureSize = s.getParameter(s.MAX_TEXTURE_SIZE), co(s)) {
14103
14103
  this.HALF_FLOAT = s.HALF_FLOAT;
14104
14104
  const m = s.getExtension("EXT_color_buffer_half_float");
14105
14105
  this.RGBA16F = (h = s.RGBA16F) !== null && h !== void 0 ? h : m == null ? void 0 : m.RGBA16F_EXT, this.RGB16F = (f = s.RGB16F) !== null && f !== void 0 ? f : m == null ? void 0 : m.RGB16F_EXT, s.getExtension("EXT_color_buffer_float");
@@ -14781,7 +14781,7 @@ uniform ${z} ${k} u_${X};
14781
14781
  let ft, _t;
14782
14782
  const xt = C.paint.get("raster-resampling") === "nearest" ? z.NEAREST : z.LINEAR;
14783
14783
  D.activeTexture.set(z.TEXTURE0), ve.texture.bind(xt, z.CLAMP_TO_EDGE, z.LINEAR_MIPMAP_NEAREST), D.activeTexture.set(z.TEXTURE1), Be ? (Be.texture.bind(xt, z.CLAMP_TO_EDGE, z.LINEAR_MIPMAP_NEAREST), ft = Math.pow(2, Be.tileID.overscaledZ - ve.tileID.overscaledZ), _t = [ve.tileID.canonical.x * ft % 1, ve.tileID.canonical.y * ft % 1]) : ve.texture.bind(xt, z.CLAMP_TO_EDGE, z.LINEAR_MIPMAP_NEAREST), ve.texture.useMipmap && D.extTextureFilterAnisotropic && y.transform.pitch > 20 && z.texParameterf(z.TEXTURE_2D, D.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT, D.extTextureFilterAnisotropicMax);
14784
- const bt = y.style.map.terrain && y.style.map.terrain.getTerrainData(fe), yt = bt ? fe : null, wt = yt ? yt.posMatrix : y.transform.calculatePosMatrix(fe.toUnwrapped(), ue), Jt = Ju(wt, _t || [0, 0], ft || 1, Qe, C);
14784
+ const bt = y.style.map.terrain && y.style.map.terrain.getTerrainData(fe), yt = bt ? fe : null, wt = yt ? yt.posMatrix : y.transform.calculatePosMatrix(fe.toUnwrapped(), ue), Jt = Zu(wt, _t || [0, 0], ft || 1, Qe, C);
14785
14785
  k instanceof nn ? X.draw(D, z.TRIANGLES, he, $n.disabled, Z, Kn.disabled, Jt, bt, C.id, k.boundsBuffer, y.quadTriangleIndexBuffer, k.boundsSegments) : X.draw(D, z.TRIANGLES, he, W[fe.overscaledZ], Z, Kn.disabled, Jt, bt, C.id, y.rasterBoundsBuffer, y.quadTriangleIndexBuffer, y.rasterBoundsSegments);
14786
14786
  }
14787
14787
  })(s, h, f, m);
@@ -15425,7 +15425,7 @@ uniform ${z} ${k} u_${X};
15425
15425
  super(s, { points: y, point: C, lngLats: S, lngLat: h.unproject(C), originalEvent: f }), this._defaultPrevented = !1;
15426
15426
  }
15427
15427
  }
15428
- class Qu extends l.k {
15428
+ class Ku extends l.k {
15429
15429
  preventDefault() {
15430
15430
  this._defaultPrevented = !0;
15431
15431
  }
@@ -15436,7 +15436,7 @@ uniform ${z} ${k} u_${X};
15436
15436
  super(s, { originalEvent: f }), this._defaultPrevented = !1;
15437
15437
  }
15438
15438
  }
15439
- class eh {
15439
+ class Qu {
15440
15440
  constructor(s, h) {
15441
15441
  this._map = s, this._clickTolerance = h.clickTolerance;
15442
15442
  }
@@ -15444,7 +15444,7 @@ uniform ${z} ${k} u_${X};
15444
15444
  delete this._mousedownPos;
15445
15445
  }
15446
15446
  wheel(s) {
15447
- return this._firePreventable(new Qu(s.type, this._map, s));
15447
+ return this._firePreventable(new Ku(s.type, this._map, s));
15448
15448
  }
15449
15449
  mousedown(s, h) {
15450
15450
  return this._mousedownPos = h, this._firePreventable(new si(s.type, this._map, s));
@@ -15888,10 +15888,10 @@ uniform ${z} ${k} u_${X};
15888
15888
  if (this._distance = s[0].dist(s[1]), this._active || !(Math.abs(Xl(this._distance, this._startDistance)) < 0.1)) return this._active = !0, { zoomDelta: Xl(this._distance, f), pinchAround: h };
15889
15889
  }
15890
15890
  }
15891
- function th(g, s) {
15891
+ function eh(g, s) {
15892
15892
  return 180 * g.angleWith(s) / Math.PI;
15893
15893
  }
15894
- class nh extends Wl {
15894
+ class th extends Wl {
15895
15895
  reset() {
15896
15896
  super.reset(), delete this._minDiameter, delete this._startVector, delete this._vector;
15897
15897
  }
@@ -15900,11 +15900,11 @@ uniform ${z} ${k} u_${X};
15900
15900
  }
15901
15901
  _move(s, h, f) {
15902
15902
  const m = this._vector;
15903
- if (this._vector = s[0].sub(s[1]), this._active || !this._isBelowThreshold(this._vector)) return this._active = !0, { bearingDelta: th(this._vector, m), pinchAround: h };
15903
+ if (this._vector = s[0].sub(s[1]), this._active || !this._isBelowThreshold(this._vector)) return this._active = !0, { bearingDelta: eh(this._vector, m), pinchAround: h };
15904
15904
  }
15905
15905
  _isBelowThreshold(s) {
15906
15906
  this._minDiameter = Math.min(this._minDiameter, s.mag());
15907
- const h = 25 / (Math.PI * this._minDiameter) * 360, f = th(s, this._startVector);
15907
+ const h = 25 / (Math.PI * this._minDiameter) * 360, f = eh(s, this._startVector);
15908
15908
  return Math.abs(f) < h;
15909
15909
  }
15910
15910
  }
@@ -16005,7 +16005,7 @@ uniform ${z} ${k} u_${X};
16005
16005
  function Ro(g) {
16006
16006
  return g * (2 - g);
16007
16007
  }
16008
- const rh = 4.000244140625;
16008
+ const nh = 4.000244140625;
16009
16009
  class Ss {
16010
16010
  constructor(s, h) {
16011
16011
  this._onTimeout = (f) => {
@@ -16041,7 +16041,7 @@ uniform ${z} ${k} u_${X};
16041
16041
  if (this._shouldBePrevented(s)) return void this._map.cooperativeGestures.notifyGestureBlocked("wheel_zoom", s);
16042
16042
  let h = s.deltaMode === WheelEvent.DOM_DELTA_LINE ? 40 * s.deltaY : s.deltaY;
16043
16043
  const f = T.now(), m = f - (this._lastWheelEventTime || 0);
16044
- this._lastWheelEventTime = f, h !== 0 && h % rh == 0 ? this._type = "wheel" : h !== 0 && Math.abs(h) < 4 ? this._type = "trackpad" : m > 400 ? (this._type = null, this._lastValue = h, this._timeout = setTimeout(this._onTimeout, 40, s)) : this._type || (this._type = Math.abs(m * h) < 200 ? "trackpad" : "wheel", this._timeout && (clearTimeout(this._timeout), this._timeout = null, h += this._lastValue)), s.shiftKey && h && (h /= 4), this._type && (this._lastWheelEvent = s, this._delta -= h, this._active || this._start(s)), s.preventDefault();
16044
+ this._lastWheelEventTime = f, h !== 0 && h % nh == 0 ? this._type = "wheel" : h !== 0 && Math.abs(h) < 4 ? this._type = "trackpad" : m > 400 ? (this._type = null, this._lastValue = h, this._timeout = setTimeout(this._onTimeout, 40, s)) : this._type || (this._type = Math.abs(m * h) < 200 ? "trackpad" : "wheel", this._timeout && (clearTimeout(this._timeout), this._timeout = null, h += this._lastValue)), s.shiftKey && h && (h /= 4), this._type && (this._lastWheelEvent = s, this._delta -= h, this._active || this._start(s)), s.preventDefault();
16045
16045
  }
16046
16046
  _start(s) {
16047
16047
  if (!this._delta) return;
@@ -16053,7 +16053,7 @@ uniform ${z} ${k} u_${X};
16053
16053
  if (!this._frameId || (this._frameId = null, !this.isActive())) return;
16054
16054
  const s = this._tr.transform;
16055
16055
  if (this._delta !== 0) {
16056
- const B = this._type === "wheel" && Math.abs(this._delta) > rh ? this._wheelZoomRate : this._defaultZoomRate;
16056
+ const B = this._type === "wheel" && Math.abs(this._delta) > nh ? this._wheelZoomRate : this._defaultZoomRate;
16057
16057
  let D = 2 / (1 + Math.exp(-Math.abs(this._delta * B)));
16058
16058
  this._delta < 0 && D !== 0 && (D = 1 / D);
16059
16059
  const z = typeof this._targetZoom == "number" ? s.zoomScale(this._targetZoom) : s.scale;
@@ -16186,7 +16186,7 @@ uniform ${z} ${k} u_${X};
16186
16186
  return this._mousePan.isActive() || this._touchPan.isActive();
16187
16187
  }
16188
16188
  }
16189
- class ih {
16189
+ class rh {
16190
16190
  constructor(s, h, f) {
16191
16191
  this._pitchWithRotate = s.pitchWithRotate, this._mouseRotate = h, this._mousePitch = f;
16192
16192
  }
@@ -16203,7 +16203,7 @@ uniform ${z} ${k} u_${X};
16203
16203
  return this._mouseRotate.isActive() || this._mousePitch.isActive();
16204
16204
  }
16205
16205
  }
16206
- class sh {
16206
+ class ih {
16207
16207
  constructor(s, h, f, m) {
16208
16208
  this._el = s, this._touchZoom = h, this._touchRotate = f, this._tapDragZoom = m, this._rotationDisabled = !1, this._enabled = !0;
16209
16209
  }
@@ -16301,7 +16301,7 @@ uniform ${z} ${k} u_${X};
16301
16301
  }
16302
16302
  _addDefaultHandlers(s) {
16303
16303
  const h = this._map, f = h.getCanvasContainer();
16304
- this._add("mapEvent", new eh(h, s));
16304
+ this._add("mapEvent", new Qu(h, s));
16305
16305
  const m = h.boxZoom = new us(h, s);
16306
16306
  this._add("boxZoom", m), s.interactive && s.boxZoom && m.enable();
16307
16307
  const y = h.cooperativeGestures = new Zl(h, s.cooperativeGestures);
@@ -16313,15 +16313,15 @@ uniform ${z} ${k} u_${X};
16313
16313
  const D = h.touchPitch = new $l(h);
16314
16314
  this._add("touchPitch", D), s.interactive && s.touchPitch && h.touchPitch.enable(s.touchPitch);
16315
16315
  const z = Hl(s), k = Lc(s);
16316
- h.dragRotate = new ih(s, z, k), this._add("mouseRotate", z, ["mousePitch"]), this._add("mousePitch", k, ["mouseRotate"]), s.interactive && s.dragRotate && h.dragRotate.enable();
16316
+ h.dragRotate = new rh(s, z, k), this._add("mouseRotate", z, ["mousePitch"]), this._add("mousePitch", k, ["mouseRotate"]), s.interactive && s.dragRotate && h.dragRotate.enable();
16317
16317
  const X = ((fe) => {
16318
16318
  let { enable: he, clickTolerance: ve } = fe;
16319
16319
  const Be = new il({ checkCorrectEvent: (Pe) => I.mouseButton(Pe) === 0 && !Pe.ctrlKey });
16320
16320
  return new hi({ clickTolerance: ve, move: (Pe, Qe) => ({ around: Qe, panDelta: Qe.sub(Pe) }), activateOnStart: !0, moveStateManager: Be, enable: he, assignEvents: sl });
16321
16321
  })(s), Z = new Ra(s, h);
16322
16322
  h.dragPan = new Xh(f, X, Z), this._add("mousePan", X), this._add("touchPan", Z, ["touchZoom", "touchRotate"]), s.interactive && s.dragPan && h.dragPan.enable(s.dragPan);
16323
- const W = new nh(), Q = new Mc();
16324
- h.touchZoomRotate = new sh(f, Q, W, B), this._add("touchRotate", W, ["touchPan", "touchZoom"]), this._add("touchZoom", Q, ["touchPan", "touchRotate"]), s.interactive && s.touchZoomRotate && h.touchZoomRotate.enable(s.touchZoomRotate);
16323
+ const W = new th(), Q = new Mc();
16324
+ h.touchZoomRotate = new ih(f, Q, W, B), this._add("touchRotate", W, ["touchPan", "touchZoom"]), this._add("touchZoom", Q, ["touchPan", "touchRotate"]), s.interactive && s.touchZoomRotate && h.touchZoomRotate.enable(s.touchZoomRotate);
16325
16325
  const le = h.scrollZoom = new Ss(h, () => this._triggerRenderFrame());
16326
16326
  this._add("scrollZoom", le, ["mousePan"]), s.interactive && s.scrollZoom && h.scrollZoom.enable(s.scrollZoom);
16327
16327
  const ue = h.keyboard = new Gs(h);
@@ -16776,7 +16776,7 @@ uniform ${z} ${k} u_${X};
16776
16776
  this._currentlyRunning && (this._cleared = !0), this._queue = [];
16777
16777
  }
16778
16778
  }
16779
- var oh = l.Y([{ name: "a_pos3d", type: "Int16", components: 3 }]);
16779
+ var sh = l.Y([{ name: "a_pos3d", type: "Int16", components: 3 }]);
16780
16780
  class hf extends l.E {
16781
16781
  constructor(s) {
16782
16782
  super(), this.sourceCache = s, this._tiles = {}, this._renderableTilesKeys = [], this._sourceTileCache = {}, this.minzoom = 0, this.maxzoom = 22, this.tileSize = 512, this.deltaZoom = 1, s.usedForTerrain = !0, s.tileSize = this.tileSize * 2 ** this.deltaZoom;
@@ -16918,7 +16918,7 @@ uniform ${z} ${k} u_${X};
16918
16918
  const D = h.length, z = D + 2 * (m + 1);
16919
16919
  for (const k of [0, 1]) for (let X = 0; X <= m; X++) for (const Z of [0, 1]) h.emplaceBack(k * l.X, X * y, Z);
16920
16920
  for (let k = 0; k < 2 * m; k += 2) f.emplaceBack(D + k, D + k + 1, D + k + 3), f.emplaceBack(D + k, D + k + 3, D + k + 2), f.emplaceBack(z + k, z + k + 3, z + k + 1), f.emplaceBack(z + k, z + k + 2, z + k + 3);
16921
- return this._mesh = new La(s.createVertexBuffer(h, oh.members), s.createIndexBuffer(f), l.a0.simpleSegment(0, 0, h.length, f.length)), this._mesh;
16921
+ return this._mesh = new La(s.createVertexBuffer(h, sh.members), s.createIndexBuffer(f), l.a0.simpleSegment(0, 0, h.length, f.length)), this._mesh;
16922
16922
  }
16923
16923
  getMeshFrameDelta(s) {
16924
16924
  return 2 * Math.PI * l.be / Math.pow(2, s) / 5;
@@ -16974,7 +16974,7 @@ uniform ${z} ${k} u_${X};
16974
16974
  }
16975
16975
  }
16976
16976
  const ll = { background: !0, fill: !0, line: !0, raster: !0, hillshade: !0 };
16977
- class ah {
16977
+ class oh {
16978
16978
  constructor(s, h) {
16979
16979
  this.painter = s, this.terrain = h, this.pool = new $h(s.context, 30, h.sourceCache.tileSize * h.qualityFactor);
16980
16980
  }
@@ -17034,9 +17034,9 @@ uniform ${z} ${k} u_${X};
17034
17034
  return !1;
17035
17035
  }
17036
17036
  }
17037
- const lh = { "AttributionControl.ToggleAttribution": "Toggle attribution", "AttributionControl.MapFeedback": "Map feedback", "FullscreenControl.Enter": "Enter fullscreen", "FullscreenControl.Exit": "Exit fullscreen", "GeolocateControl.FindMyLocation": "Find my location", "GeolocateControl.LocationNotAvailable": "Location not available", "LogoControl.Title": "MapLibre logo", "Map.Title": "Map", "Marker.Title": "Map marker", "NavigationControl.ResetBearing": "Reset bearing to north", "NavigationControl.ZoomIn": "Zoom in", "NavigationControl.ZoomOut": "Zoom out", "Popup.Close": "Close popup", "ScaleControl.Feet": "ft", "ScaleControl.Meters": "m", "ScaleControl.Kilometers": "km", "ScaleControl.Miles": "mi", "ScaleControl.NauticalMiles": "nm", "TerrainControl.Enable": "Enable terrain", "TerrainControl.Disable": "Disable terrain", "CooperativeGesturesHandler.WindowsHelpText": "Use Ctrl + scroll to zoom the map", "CooperativeGesturesHandler.MacHelpText": "Use ⌘ + scroll to zoom the map", "CooperativeGesturesHandler.MobileHelpText": "Use two fingers to move the map" }, Oc = _, mu = { hash: !1, interactive: !0, bearingSnap: 7, attributionControl: Jl, maplibreLogo: !1, failIfMajorPerformanceCaveat: !1, preserveDrawingBuffer: !1, refreshExpiredTiles: !0, scrollZoom: !0, minZoom: -2, maxZoom: 22, minPitch: 0, maxPitch: 60, boxZoom: !0, dragRotate: !0, dragPan: !0, keyboard: !0, doubleClickZoom: !0, touchZoomRotate: !0, touchPitch: !0, cooperativeGestures: !1, trackResize: !0, center: [0, 0], zoom: 0, bearing: 0, pitch: 0, renderWorldCopies: !0, maxTileCacheSize: null, maxTileCacheZoomLevels: l.a.MAX_TILE_CACHE_ZOOM_LEVELS, transformRequest: null, transformCameraUpdate: null, fadeDuration: 300, crossSourceCollisions: !0, clickTolerance: 3, localIdeographFontFamily: "sans-serif", pitchWithRotate: !0, validateStyle: !0, maxCanvasSize: [4096, 4096], cancelPendingTileRequestsWhileZooming: !0 }, cl = (g) => {
17037
+ const ah = { "AttributionControl.ToggleAttribution": "Toggle attribution", "AttributionControl.MapFeedback": "Map feedback", "FullscreenControl.Enter": "Enter fullscreen", "FullscreenControl.Exit": "Exit fullscreen", "GeolocateControl.FindMyLocation": "Find my location", "GeolocateControl.LocationNotAvailable": "Location not available", "LogoControl.Title": "MapLibre logo", "Map.Title": "Map", "Marker.Title": "Map marker", "NavigationControl.ResetBearing": "Reset bearing to north", "NavigationControl.ZoomIn": "Zoom in", "NavigationControl.ZoomOut": "Zoom out", "Popup.Close": "Close popup", "ScaleControl.Feet": "ft", "ScaleControl.Meters": "m", "ScaleControl.Kilometers": "km", "ScaleControl.Miles": "mi", "ScaleControl.NauticalMiles": "nm", "TerrainControl.Enable": "Enable terrain", "TerrainControl.Disable": "Disable terrain", "CooperativeGesturesHandler.WindowsHelpText": "Use Ctrl + scroll to zoom the map", "CooperativeGesturesHandler.MacHelpText": "Use ⌘ + scroll to zoom the map", "CooperativeGesturesHandler.MobileHelpText": "Use two fingers to move the map" }, Oc = _, mu = { hash: !1, interactive: !0, bearingSnap: 7, attributionControl: Jl, maplibreLogo: !1, failIfMajorPerformanceCaveat: !1, preserveDrawingBuffer: !1, refreshExpiredTiles: !0, scrollZoom: !0, minZoom: -2, maxZoom: 22, minPitch: 0, maxPitch: 60, boxZoom: !0, dragRotate: !0, dragPan: !0, keyboard: !0, doubleClickZoom: !0, touchZoomRotate: !0, touchPitch: !0, cooperativeGestures: !1, trackResize: !0, center: [0, 0], zoom: 0, bearing: 0, pitch: 0, renderWorldCopies: !0, maxTileCacheSize: null, maxTileCacheZoomLevels: l.a.MAX_TILE_CACHE_ZOOM_LEVELS, transformRequest: null, transformCameraUpdate: null, fadeDuration: 300, crossSourceCollisions: !0, clickTolerance: 3, localIdeographFontFamily: "sans-serif", pitchWithRotate: !0, validateStyle: !0, maxCanvasSize: [4096, 4096], cancelPendingTileRequestsWhileZooming: !0 }, cl = (g) => {
17038
17038
  g.touchstart = g.dragStart, g.touchmoveWindow = g.dragMove, g.touchend = g.dragEnd;
17039
- }, ch = { showCompass: !0, showZoom: !0, visualizePitch: !1 };
17039
+ }, lh = { showCompass: !0, showZoom: !0, visualizePitch: !1 };
17040
17040
  class Zh {
17041
17041
  constructor(s, h) {
17042
17042
  let f = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
@@ -17315,7 +17315,7 @@ uniform ${z} ${k} u_${X};
17315
17315
  return A(new l.P(0, 0));
17316
17316
  }
17317
17317
  const M = _;
17318
- c.AJAXError = l.bh, c.Evented = l.E, c.LngLat = l.N, c.MercatorCoordinate = l.Z, c.Point = l.P, c.addProtocol = l.bi, c.config = l.a, c.removeProtocol = l.bj, c.AttributionControl = al, c.BoxZoomHandler = us, c.CanvasSource = vn, c.CooperativeGesturesHandler = Zl, c.DoubleClickZoomHandler = ra, c.DragPanHandler = Xh, c.DragRotateHandler = ih, c.EdgeInsets = ks, c.FullscreenControl = class extends l.E {
17318
+ c.AJAXError = l.bh, c.Evented = l.E, c.LngLat = l.N, c.MercatorCoordinate = l.Z, c.Point = l.P, c.addProtocol = l.bi, c.config = l.a, c.removeProtocol = l.bj, c.AttributionControl = al, c.BoxZoomHandler = us, c.CanvasSource = vn, c.CooperativeGesturesHandler = Zl, c.DoubleClickZoomHandler = ra, c.DragPanHandler = Xh, c.DragRotateHandler = rh, c.EdgeInsets = ks, c.FullscreenControl = class extends l.E {
17319
17319
  constructor() {
17320
17320
  let g = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
17321
17321
  super(), this._onFullscreenChange = () => {
@@ -17524,7 +17524,7 @@ uniform ${z} ${k} u_${X};
17524
17524
  if (h.target === this._container) return this._container.scrollTop = 0, this._container.scrollLeft = 0, !1;
17525
17525
  }, this._onWindowOnline = () => {
17526
17526
  this._update();
17527
- }, this._interactive = s.interactive, this._maxTileCacheSize = s.maxTileCacheSize, this._maxTileCacheZoomLevels = s.maxTileCacheZoomLevels, this._failIfMajorPerformanceCaveat = s.failIfMajorPerformanceCaveat === !0, this._preserveDrawingBuffer = s.preserveDrawingBuffer === !0, this._antialias = s.antialias === !0, this._trackResize = s.trackResize === !0, this._bearingSnap = s.bearingSnap, this._refreshExpiredTiles = s.refreshExpiredTiles === !0, this._fadeDuration = s.fadeDuration, this._crossSourceCollisions = s.crossSourceCollisions === !0, this._collectResourceTiming = s.collectResourceTiming === !0, this._locale = Object.assign(Object.assign({}, lh), s.locale), this._clickTolerance = s.clickTolerance, this._overridePixelRatio = s.pixelRatio, this._maxCanvasSize = s.maxCanvasSize, this.transformCameraUpdate = s.transformCameraUpdate, this.cancelPendingTileRequestsWhileZooming = s.cancelPendingTileRequestsWhileZooming === !0, this._imageQueueHandle = re.addThrottleControl(() => this.isMoving()), this._requestManager = new ge(s.transformRequest), typeof s.container == "string") {
17527
+ }, this._interactive = s.interactive, this._maxTileCacheSize = s.maxTileCacheSize, this._maxTileCacheZoomLevels = s.maxTileCacheZoomLevels, this._failIfMajorPerformanceCaveat = s.failIfMajorPerformanceCaveat === !0, this._preserveDrawingBuffer = s.preserveDrawingBuffer === !0, this._antialias = s.antialias === !0, this._trackResize = s.trackResize === !0, this._bearingSnap = s.bearingSnap, this._refreshExpiredTiles = s.refreshExpiredTiles === !0, this._fadeDuration = s.fadeDuration, this._crossSourceCollisions = s.crossSourceCollisions === !0, this._collectResourceTiming = s.collectResourceTiming === !0, this._locale = Object.assign(Object.assign({}, ah), s.locale), this._clickTolerance = s.clickTolerance, this._overridePixelRatio = s.pixelRatio, this._maxCanvasSize = s.maxCanvasSize, this.transformCameraUpdate = s.transformCameraUpdate, this.cancelPendingTileRequestsWhileZooming = s.cancelPendingTileRequestsWhileZooming === !0, this._imageQueueHandle = re.addThrottleControl(() => this.isMoving()), this._requestManager = new ge(s.transformRequest), typeof s.container == "string") {
17528
17528
  if (this._container = document.getElementById(s.container), !this._container) throw new Error(`Container '${s.container}' not found.`);
17529
17529
  } else {
17530
17530
  if (!(s.container instanceof HTMLElement)) throw new Error("Invalid type: 'container' must be a String or HTMLElement.");
@@ -17800,7 +17800,7 @@ uniform ${z} ${k} u_${X};
17800
17800
  const f = this.style._layers[h];
17801
17801
  f.type === "hillshade" && f.source === g.source && l.w("You are using the same source for a hillshade layer and for 3D terrain. Please consider using two separate sources to improve rendering quality.");
17802
17802
  }
17803
- this.terrain = new gu(this.painter, s, g), this.painter.renderToTexture = new ah(this.painter, this.terrain), this.transform.minElevationForCurrentTile = this.terrain.getMinTileElevationForLngLatZoom(this.transform.center, this.transform.tileZoom), this.transform.elevation = this.terrain.getElevationForLngLatZoom(this.transform.center, this.transform.tileZoom), this._terrainDataCallback = (h) => {
17803
+ this.terrain = new gu(this.painter, s, g), this.painter.renderToTexture = new oh(this.painter, this.terrain), this.transform.minElevationForCurrentTile = this.terrain.getMinTileElevationForLngLatZoom(this.transform.center, this.transform.tileZoom), this.transform.elevation = this.terrain.getElevationForLngLatZoom(this.transform.center, this.transform.tileZoom), this._terrainDataCallback = (h) => {
17804
17804
  h.dataType === "style" ? this.terrain.sourceCache.freeRtt() : h.dataType === "source" && h.tile && (h.sourceId !== g.source || this._elevationFreeze || (this.transform.minElevationForCurrentTile = this.terrain.getMinTileElevationForLngLatZoom(this.transform.center, this.transform.tileZoom), this.transform.elevation = this.terrain.getElevationForLngLatZoom(this.transform.center, this.transform.tileZoom)), this.terrain.sourceCache.freeRtt(h.tile.tileID));
17805
17805
  }, this.style.on("data", this._terrainDataCallback);
17806
17806
  } else this.terrain && this.terrain.sourceCache.destruct(), this.terrain = null, this.painter.renderToTexture && this.painter.renderToTexture.destruct(), this.painter.renderToTexture = null, this.transform.minElevationForCurrentTile = 0, this.transform.elevation = 0;
@@ -18079,7 +18079,7 @@ uniform ${z} ${k} u_${X};
18079
18079
  getCameraTargetElevation() {
18080
18080
  return this.transform.elevation;
18081
18081
  }
18082
- }, c.MapMouseEvent = si, c.MapTouchEvent = Bo, c.MapWheelEvent = Qu, c.Marker = yu, c.NavigationControl = class {
18082
+ }, c.MapMouseEvent = si, c.MapTouchEvent = Bo, c.MapWheelEvent = Ku, c.Marker = yu, c.NavigationControl = class {
18083
18083
  constructor(g) {
18084
18084
  this._updateZoomButtons = () => {
18085
18085
  const s = this._map.getZoom(), h = s === this._map.getMaxZoom(), f = s === this._map.getMinZoom();
@@ -18090,7 +18090,7 @@ uniform ${z} ${k} u_${X};
18090
18090
  }, this._setButtonTitle = (s, h) => {
18091
18091
  const f = this._map._getUIString(`NavigationControl.${h}`);
18092
18092
  s.title = f, s.setAttribute("aria-label", f);
18093
- }, this.options = l.e({}, ch, g), this._container = I.create("div", "maplibregl-ctrl maplibregl-ctrl-group"), this._container.addEventListener("contextmenu", (s) => s.preventDefault()), this.options.showZoom && (this._zoomInButton = this._createButton("maplibregl-ctrl-zoom-in", (s) => this._map.zoomIn({}, { originalEvent: s })), I.create("span", "maplibregl-ctrl-icon", this._zoomInButton).setAttribute("aria-hidden", "true"), this._zoomOutButton = this._createButton("maplibregl-ctrl-zoom-out", (s) => this._map.zoomOut({}, { originalEvent: s })), I.create("span", "maplibregl-ctrl-icon", this._zoomOutButton).setAttribute("aria-hidden", "true")), this.options.showCompass && (this._compass = this._createButton("maplibregl-ctrl-compass", (s) => {
18093
+ }, this.options = l.e({}, lh, g), this._container = I.create("div", "maplibregl-ctrl maplibregl-ctrl-group"), this._container.addEventListener("contextmenu", (s) => s.preventDefault()), this.options.showZoom && (this._zoomInButton = this._createButton("maplibregl-ctrl-zoom-in", (s) => this._map.zoomIn({}, { originalEvent: s })), I.create("span", "maplibregl-ctrl-icon", this._zoomInButton).setAttribute("aria-hidden", "true"), this._zoomOutButton = this._createButton("maplibregl-ctrl-zoom-out", (s) => this._map.zoomOut({}, { originalEvent: s })), I.create("span", "maplibregl-ctrl-icon", this._zoomOutButton).setAttribute("aria-hidden", "true")), this.options.showCompass && (this._compass = this._createButton("maplibregl-ctrl-compass", (s) => {
18094
18094
  this.options.visualizePitch ? this._map.resetNorthPitch({}, { originalEvent: s }) : this._map.resetNorth({}, { originalEvent: s });
18095
18095
  }), this._compassIcon = I.create("span", "maplibregl-ctrl-icon", this._compass), this._compassIcon.setAttribute("aria-hidden", "true"));
18096
18096
  }
@@ -18228,7 +18228,7 @@ uniform ${z} ${k} u_${X};
18228
18228
  onRemove() {
18229
18229
  I.remove(this._container), this._map.off("terrain", this._updateTerrainIcon), this._map = void 0;
18230
18230
  }
18231
- }, c.TwoFingersTouchPitchHandler = $l, c.TwoFingersTouchRotateHandler = nh, c.TwoFingersTouchZoomHandler = Mc, c.TwoFingersTouchZoomRotateHandler = sh, c.VectorTileSource = Qt, c.VideoSource = Sn, c.addSourceType = (g, s) => l._(void 0, void 0, void 0, function* () {
18231
+ }, c.TwoFingersTouchPitchHandler = $l, c.TwoFingersTouchRotateHandler = th, c.TwoFingersTouchZoomHandler = Mc, c.TwoFingersTouchZoomRotateHandler = ih, c.VectorTileSource = Qt, c.VideoSource = Sn, c.addSourceType = (g, s) => l._(void 0, void 0, void 0, function* () {
18232
18232
  if (Un(g)) throw new Error(`A source type called "${g}" already exists.`);
18233
18233
  ((h, f) => {
18234
18234
  On[h] = f;
@@ -19360,7 +19360,7 @@ function Hd(n, e, t, r) {
19360
19360
  b((r = r.apply(n, [])).next());
19361
19361
  });
19362
19362
  }
19363
- function Hu(n, e) {
19363
+ function qu(n, e) {
19364
19364
  var t = {
19365
19365
  label: 0,
19366
19366
  sent: function() {
@@ -19597,7 +19597,7 @@ function Dd(n) {
19597
19597
  return t;
19598
19598
  });
19599
19599
  }
19600
- function Eh(n, e) {
19600
+ function Sh(n, e) {
19601
19601
  var t = n.state >= cm;
19602
19602
  return Promise.resolve(e).then(function(r) {
19603
19603
  return !t && n.state >= sy ? Dd(n).then(function(i) {
@@ -19643,7 +19643,7 @@ function sp(n) {
19643
19643
  var o = i.value, c = n.pending === void 0 ? Dd(n) : n.pending.then(function() {
19644
19644
  return Dd(n);
19645
19645
  });
19646
- o.resolve(Eh(n, c));
19646
+ o.resolve(Sh(n, c));
19647
19647
  }
19648
19648
  } catch (l) {
19649
19649
  e = {
@@ -19676,7 +19676,7 @@ function xI(n, e) {
19676
19676
  var r;
19677
19677
  if (n.nexts.length) {
19678
19678
  var i = n.nexts.shift();
19679
- i.resolve(Eh(n, t)), n.nexts.length ? r = Promise.resolve(n.nexts[0].value) : r = new Promise(function(_) {
19679
+ i.resolve(Sh(n, t)), n.nexts.length ? r = Promise.resolve(n.nexts[0].value) : r = new Promise(function(_) {
19680
19680
  return n.onnext = _;
19681
19681
  });
19682
19682
  } else typeof n.buffer < "u" && !n.buffer.full ? (n.buffer.add(t), r = Promise.resolve(void 0)) : r = new Promise(function(_) {
@@ -19741,7 +19741,7 @@ var fg = /* @__PURE__ */ new WeakMap(), Lp = (
19741
19741
  if (t.nexts.length >= um)
19742
19742
  throw new E5("No more than " + um + " pending calls to next are allowed on a single repeater.");
19743
19743
  if (t.state <= z0 && AI(t), t.onnext(e), typeof t.buffer < "u" && !t.buffer.empty) {
19744
- var r = Eh(t, t.buffer.remove());
19744
+ var r = Sh(t, t.buffer.remove());
19745
19745
  if (t.pushes.length) {
19746
19746
  var i = t.pushes.shift();
19747
19747
  t.buffer.add(i.value), t.onnext = i.resolve;
@@ -19749,9 +19749,9 @@ var fg = /* @__PURE__ */ new WeakMap(), Lp = (
19749
19749
  return r;
19750
19750
  } else if (t.pushes.length) {
19751
19751
  var o = t.pushes.shift();
19752
- return t.onnext = o.resolve, Eh(t, o.value);
19752
+ return t.onnext = o.resolve, Sh(t, o.value);
19753
19753
  } else if (t.state >= Fh)
19754
- return sp(t), Eh(t, Dd(t));
19754
+ return sp(t), Sh(t, Dd(t));
19755
19755
  return new Promise(function(c) {
19756
19756
  return t.nexts.push({
19757
19757
  resolve: c,
@@ -19765,12 +19765,12 @@ var fg = /* @__PURE__ */ new WeakMap(), Lp = (
19765
19765
  throw new Error("WeakMap error");
19766
19766
  return sp(t), t.execution = Promise.resolve(t.execution).then(function() {
19767
19767
  return e;
19768
- }), Eh(t, Dd(t));
19768
+ }), Sh(t, Dd(t));
19769
19769
  }, n.prototype.throw = function(e) {
19770
19770
  var t = fg.get(this);
19771
19771
  if (t === void 0)
19772
19772
  throw new Error("WeakMap error");
19773
- return t.state <= z0 || t.state >= Fh || typeof t.buffer < "u" && !t.buffer.empty ? (sp(t), t.err == null && (t.err = e), Eh(t, Dd(t))) : this.next(Promise.reject(e));
19773
+ return t.state <= z0 || t.state >= Fh || typeof t.buffer < "u" && !t.buffer.empty ? (sp(t), t.err == null && (t.err = e), Sh(t, Dd(t))) : this.next(Promise.reject(e));
19774
19774
  }, n.prototype[Symbol.asyncIterator] = function() {
19775
19775
  return this;
19776
19776
  }, n.race = SI, n.merge = EI, n.zip = TI, n.latest = CI, n;
@@ -19780,7 +19780,7 @@ function Om(n, e) {
19780
19780
  var t, r, i = [], o = function(b) {
19781
19781
  b != null && typeof b[Symbol.asyncIterator] == "function" ? i.push(b[Symbol.asyncIterator]()) : b != null && typeof b[Symbol.iterator] == "function" ? i.push(b[Symbol.iterator]()) : i.push(function() {
19782
19782
  return vI(this, arguments, function() {
19783
- return Hu(this, function(I) {
19783
+ return qu(this, function(I) {
19784
19784
  switch (I.label) {
19785
19785
  case 0:
19786
19786
  return e.yieldValues ? [4, pp(b)] : [3, 3];
@@ -19827,7 +19827,7 @@ function SI(n) {
19827
19827
  return new Lp(function(r, i) {
19828
19828
  return Hd(e, void 0, void 0, function() {
19829
19829
  var o, c, l, _, b, w;
19830
- return Hu(this, function(T) {
19830
+ return qu(this, function(T) {
19831
19831
  switch (T.label) {
19832
19832
  case 0:
19833
19833
  if (!t.length)
@@ -19841,7 +19841,7 @@ function SI(n) {
19841
19841
  case 1:
19842
19842
  T.trys.push([1, , 5, 7]), _ = void 0, b = 0, w = function() {
19843
19843
  var I, P, N, U, G, H;
19844
- return Hu(this, function($) {
19844
+ return qu(this, function($) {
19845
19845
  switch ($.label) {
19846
19846
  case 0:
19847
19847
  I = b;
@@ -19910,7 +19910,7 @@ function EI(n) {
19910
19910
  return new Lp(function(r, i) {
19911
19911
  return Hd(e, void 0, void 0, function() {
19912
19912
  var o, c, l, _ = this;
19913
- return Hu(this, function(b) {
19913
+ return qu(this, function(b) {
19914
19914
  switch (b.label) {
19915
19915
  case 0:
19916
19916
  if (!t.length)
@@ -19942,7 +19942,7 @@ function EI(n) {
19942
19942
  return b.trys.push([1, , 3, 4]), [4, Promise.all(t.map(function(w, T) {
19943
19943
  return Hd(_, void 0, void 0, function() {
19944
19944
  var I, P;
19945
- return Hu(this, function(N) {
19945
+ return qu(this, function(N) {
19946
19946
  switch (N.label) {
19947
19947
  case 0:
19948
19948
  N.trys.push([0, , 6, 9]), N.label = 1;
@@ -20007,7 +20007,7 @@ function TI(n) {
20007
20007
  return new Lp(function(r, i) {
20008
20008
  return Hd(e, void 0, void 0, function() {
20009
20009
  var o, c, l, _;
20010
- return Hu(this, function(b) {
20010
+ return qu(this, function(b) {
20011
20011
  switch (b.label) {
20012
20012
  case 0:
20013
20013
  if (!t.length)
@@ -20067,7 +20067,7 @@ function CI(n) {
20067
20067
  return new Lp(function(r, i) {
20068
20068
  return Hd(e, void 0, void 0, function() {
20069
20069
  var o, c, l, _, b, w = this;
20070
- return Hu(this, function(T) {
20070
+ return qu(this, function(T) {
20071
20071
  switch (T.label) {
20072
20072
  case 0:
20073
20073
  if (!t.length)
@@ -20116,7 +20116,7 @@ function CI(n) {
20116
20116
  return T.sent(), [4, Promise.all(t.map(function(I, P) {
20117
20117
  return Hd(w, void 0, void 0, function() {
20118
20118
  var N;
20119
- return Hu(this, function(U) {
20119
+ return qu(this, function(U) {
20120
20120
  switch (U.label) {
20121
20121
  case 0:
20122
20122
  if (_[P].done)
@@ -20229,14 +20229,14 @@ class vs {
20229
20229
  }
20230
20230
  }
20231
20231
  vs.logLevel = ml.Warn;
20232
- const Th = 8 * 4 + 8, II = 16;
20232
+ const Eh = 8 * 4 + 8, II = 16;
20233
20233
  function y1(n, e) {
20234
20234
  e = Math.min(Math.max(+e, 2), 65535);
20235
20235
  let t = n, r = t;
20236
20236
  do
20237
20237
  t = Math.ceil(t / e), r += t;
20238
20238
  while (t !== 1);
20239
- return r * Th;
20239
+ return r * Eh;
20240
20240
  }
20241
20241
  function PI(n, e) {
20242
20242
  if (e < 2) throw new Error("Node size must be at least 2");
@@ -20292,15 +20292,15 @@ async function* LI(n, e, t, r) {
20292
20292
  const N = P.startNodeIdx(), U = N >= w, G = (() => {
20293
20293
  const [, ge] = b[P.level()], Ee = Math.min(P.endNodeIdx() + e, ge);
20294
20294
  return U && Ee < ge ? Ee + 1 : Ee;
20295
- })(), H = G - N, $ = await r(N * Th, H * Th), re = new DataView($);
20295
+ })(), H = G - N, $ = await r(N * Eh, H * Eh), re = new DataView($);
20296
20296
  for (let ge = N; ge < G; ge++) {
20297
- const Ee = ge - N, Re = Ee * Th;
20297
+ const Ee = ge - N, Re = Ee * Eh;
20298
20298
  if (l < re.getFloat64(Re + 0, !0) || _ < re.getFloat64(Re + 8, !0) || o > re.getFloat64(Re + 16, !0) || c > re.getFloat64(Re + 24, !0)) continue;
20299
20299
  const Le = re.getBigUint64(Re + 32, !0);
20300
20300
  if (U) {
20301
20301
  const pe = Le, Te = (() => {
20302
20302
  if (ge < n - 1) {
20303
- const et = (Ee + 1) * Th;
20303
+ const et = (Ee + 1) * Eh;
20304
20304
  return re.getBigUint64(et + 32, !0) - pe;
20305
20305
  } else
20306
20306
  return null;
@@ -20308,7 +20308,7 @@ async function* LI(n, e, t, r) {
20308
20308
  yield [Number(pe), xe, Number(Te)];
20309
20309
  continue;
20310
20310
  }
20311
- const ye = Le, Ge = dm.global.extraRequestThreshold() / Th, Fe = I[I.length - 1];
20311
+ const ye = Le, Ge = dm.global.extraRequestThreshold() / Eh, Fe = I[I.length - 1];
20312
20312
  if (Fe !== void 0 && Fe.level() == P.level() - 1 && ye < Fe.endNodeIdx() + Ge) {
20313
20313
  vs.debug(`Merging "nodeRange" request into existing range: ${Fe}, newEndNodeIdx: ${Fe.endNodeIdx()} -> ${ye}`), Fe.extendEndNodeIdx(Number(ye));
20314
20314
  continue;
@@ -20331,7 +20331,7 @@ class b1 {
20331
20331
  const I = II, P = 3;
20332
20332
  let N = 0, U;
20333
20333
  for (U = 0; U < P; U++) {
20334
- const G = I ** U * Th;
20334
+ const G = I ** U * Eh;
20335
20335
  N += G;
20336
20336
  }
20337
20337
  return N;
@@ -22197,7 +22197,7 @@ async function LL(n, e, t, r) {
22197
22197
  return await n.parse(e, t, r, n);
22198
22198
  throw xc(!n.parseSync), new Error("".concat(n.id, " loader - no parser found and worker is disabled"));
22199
22199
  }
22200
- async function Wu(n, e, t, r) {
22200
+ async function Hu(n, e, t, r) {
22201
22201
  !Array.isArray(e) && !E1(e) && (t = e, e = void 0);
22202
22202
  const i = W5(t);
22203
22203
  let o = n;
@@ -23736,14 +23736,14 @@ class x4 {
23736
23736
  })), this.stats.get(e);
23737
23737
  }
23738
23738
  }
23739
- const Ih = new x4();
23739
+ const Ch = new x4();
23740
23740
  if (globalThis.luma && globalThis.luma.VERSION !== lp)
23741
23741
  throw new Error("luma.gl - multiple VERSIONs detected: ".concat(globalThis.luma.VERSION, " vs ").concat(lp));
23742
23742
  globalThis.luma || (au() && ln.log(1, "luma.gl ".concat(lp, " - ").concat(v4))(), globalThis.luma = globalThis.luma || {
23743
23743
  VERSION: lp,
23744
23744
  version: lp,
23745
23745
  log: ln,
23746
- stats: Ih,
23746
+ stats: Ch,
23747
23747
  globals: {
23748
23748
  modules: {},
23749
23749
  nodeIO: {}
@@ -23769,7 +23769,7 @@ function e_(n, e) {
23769
23769
  const r = n[e];
23770
23770
  return Zt(r !== void 0, "Accessing undefined constant GL.".concat(e)), r;
23771
23771
  }
23772
- function Vu(n, e) {
23772
+ function Gu(n, e) {
23773
23773
  e = Number(e);
23774
23774
  for (const t in n)
23775
23775
  if (n[t] === e)
@@ -23861,8 +23861,8 @@ let lu = class {
23861
23861
  for (const _ of l) {
23862
23862
  const b = i[_];
23863
23863
  if (b && (!("webgl2" in b) || o) && (!("extension" in b) || this.gl.getExtension(b.extension))) {
23864
- const T = r ? Vu(this.gl, _) : _;
23865
- c[T] = this.getParameter(_, e), r && b.type === "GLenum" && (c[T] = Vu(this.gl, c[T]));
23864
+ const T = r ? Gu(this.gl, _) : _;
23865
+ c[T] = this.getParameter(_, e), r && b.type === "GLenum" && (c[T] = Gu(this.gl, c[T]));
23866
23866
  }
23867
23867
  }
23868
23868
  return c;
@@ -23910,12 +23910,12 @@ let lu = class {
23910
23910
  return this.gl.luma = this.gl.luma || {}, this.gl.luma;
23911
23911
  }
23912
23912
  _addStats() {
23913
- const e = this[Symbol.toStringTag], t = Ih.get("Resource Counts");
23913
+ const e = this[Symbol.toStringTag], t = Ch.get("Resource Counts");
23914
23914
  t.get("Resources Created").incrementCount(), t.get("".concat(e, "s Created")).incrementCount(), t.get("".concat(e, "s Active")).incrementCount();
23915
23915
  }
23916
23916
  _removeStats() {
23917
23917
  const e = this[Symbol.toStringTag];
23918
- Ih.get("Resource Counts").get("".concat(e, "s Active")).decrementCount();
23918
+ Ch.get("Resource Counts").get("".concat(e, "s Active")).decrementCount();
23919
23919
  }
23920
23920
  _trackAllocatedMemory(e) {
23921
23921
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this[Symbol.toStringTag];
@@ -23923,7 +23923,7 @@ let lu = class {
23923
23923
  }
23924
23924
  _trackAllocatedMemoryForContext(e) {
23925
23925
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this[Symbol.toStringTag], r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "";
23926
- const i = Ih.get("Memory Usage".concat(r));
23926
+ const i = Ch.get("Memory Usage".concat(r));
23927
23927
  i.get("GPU Memory").addCount(e), i.get("".concat(t, " Memory")).addCount(e);
23928
23928
  }
23929
23929
  _trackDeallocatedMemory() {
@@ -23932,7 +23932,7 @@ let lu = class {
23932
23932
  }
23933
23933
  _trackDeallocatedMemoryForContext() {
23934
23934
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this[Symbol.toStringTag], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
23935
- const r = Ih.get("Memory Usage".concat(t));
23935
+ const r = Ch.get("Memory Usage".concat(t));
23936
23936
  r.get("GPU Memory").subtractCount(this.byteLength), r.get("".concat(e, " Memory")).subtractCount(this.byteLength);
23937
23937
  }
23938
23938
  };
@@ -24909,7 +24909,7 @@ class F4 extends $d {
24909
24909
  return this.loaded = !0, this;
24910
24910
  }
24911
24911
  }
24912
- const yh = "EXT_color_buffer_float", sx = {
24912
+ const _h = "EXT_color_buffer_float", sx = {
24913
24913
  33189: {
24914
24914
  bpp: 2
24915
24915
  },
@@ -25041,31 +25041,31 @@ const yh = "EXT_color_buffer_float", sx = {
25041
25041
  bpp: 16
25042
25042
  },
25043
25043
  33325: {
25044
- gl2: yh,
25044
+ gl2: _h,
25045
25045
  bpp: 2
25046
25046
  },
25047
25047
  33327: {
25048
- gl2: yh,
25048
+ gl2: _h,
25049
25049
  bpp: 4
25050
25050
  },
25051
25051
  34842: {
25052
- gl2: yh,
25052
+ gl2: _h,
25053
25053
  bpp: 8
25054
25054
  },
25055
25055
  33326: {
25056
- gl2: yh,
25056
+ gl2: _h,
25057
25057
  bpp: 4
25058
25058
  },
25059
25059
  33328: {
25060
- gl2: yh,
25060
+ gl2: _h,
25061
25061
  bpp: 8
25062
25062
  },
25063
25063
  34836: {
25064
- gl2: yh,
25064
+ gl2: _h,
25065
25065
  bpp: 16
25066
25066
  },
25067
25067
  35898: {
25068
- gl2: yh,
25068
+ gl2: _h,
25069
25069
  bpp: 4
25070
25070
  }
25071
25071
  };
@@ -25593,13 +25593,13 @@ class os extends lu {
25593
25593
  }
25594
25594
  getAttachmentParameter(e, t, r) {
25595
25595
  let i = this._getAttachmentParameterFallback(t);
25596
- return i === null && (this.gl.bindFramebuffer(36160, this.handle), i = this.gl.getFramebufferAttachmentParameter(36160, e, t), this.gl.bindFramebuffer(36160, null)), r && i > 1e3 && (i = Vu(this.gl, i)), i;
25596
+ return i === null && (this.gl.bindFramebuffer(36160, this.handle), i = this.gl.getFramebufferAttachmentParameter(36160, e, t), this.gl.bindFramebuffer(36160, null)), r && i > 1e3 && (i = Gu(this.gl, i)), i;
25597
25597
  }
25598
25598
  getAttachmentParameters() {
25599
25599
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 36064, t = arguments.length > 1 ? arguments[1] : void 0, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : this.constructor.ATTACHMENT_PARAMETERS || [];
25600
25600
  const i = {};
25601
25601
  for (const o of r) {
25602
- const c = t ? Vu(this.gl, o) : o;
25602
+ const c = t ? Gu(this.gl, o) : o;
25603
25603
  i[c] = this.getAttachmentParameter(e, o, t);
25604
25604
  }
25605
25605
  return i;
@@ -25608,7 +25608,7 @@ class os extends lu {
25608
25608
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
25609
25609
  const t = Object.keys(this.attachments), r = {};
25610
25610
  for (const i of t) {
25611
- const o = Number(i), c = e ? Vu(this.gl, o) : o;
25611
+ const o = Number(i), c = e ? Gu(this.gl, o) : o;
25612
25612
  r[c] = this.getAttachmentParameters(o, e);
25613
25613
  }
25614
25614
  return r;
@@ -26343,7 +26343,7 @@ class pS extends lu {
26343
26343
  samplers: H
26344
26344
  } = e;
26345
26345
  if ((G || H) && (ln.deprecated("Program.draw({uniforms})", "Program.setUniforms(uniforms)")(), this.setUniforms(G || {})), ln.priority >= t) {
26346
- const $ = N ? N.id : "default", re = "mode=".concat(Vu(this.gl, r), " verts=").concat(i, " ") + "instances=".concat(w, " indexType=").concat(Vu(this.gl, b), " ") + "isInstanced=".concat(T, " isIndexed=").concat(_, " ") + "Framebuffer=".concat($);
26346
+ const $ = N ? N.id : "default", re = "mode=".concat(Gu(this.gl, r), " verts=").concat(i, " ") + "instances=".concat(w, " indexType=").concat(Gu(this.gl, b), " ") + "isInstanced=".concat(T, " isIndexed=").concat(_, " ") + "Framebuffer=".concat($);
26347
26347
  ln.log(t, re)();
26348
26348
  }
26349
26349
  return Zt(I), this.gl.useProgram(this.handle), !this._areTexturesRenderable() || i === 0 || T && w === 0 ? !1 : (I.bindForDraw(i, w, () => {
@@ -27176,7 +27176,7 @@ function bx(n, e, t, r) {
27176
27176
  let U;
27177
27177
  if (t) {
27178
27178
  const G = t.divisor > 0;
27179
- U = "".concat(G ? "I " : "P ", " ").concat(l, " (x").concat(c, "=").concat(_, " bytes ").concat(Vu(i, o), ")");
27179
+ U = "".concat(G ? "I " : "P ", " ").concat(l, " (x").concat(c, "=").concat(_, " bytes ").concat(Gu(i, o), ")");
27180
27180
  } else
27181
27181
  b = !0, U = "".concat(_, " bytes");
27182
27182
  return {
@@ -27248,7 +27248,7 @@ class mR {
27248
27248
  createFramebuffer: T = !1,
27249
27249
  autoResizeViewport: I = !0,
27250
27250
  autoResizeDrawingBuffer: P = !0,
27251
- stats: N = Ih.get("animation-loop-".concat(gR++))
27251
+ stats: N = Ch.get("animation-loop-".concat(gR++))
27252
27252
  } = e;
27253
27253
  let {
27254
27254
  useDevicePixels: U = !0
@@ -27637,9 +27637,9 @@ const ER = 7936, TR = 7937, CR = 7938, IR = 35724, N1 = {
27637
27637
  GLSL_FRAG_DEPTH: ["EXT_frag_depth", !0],
27638
27638
  GLSL_DERIVATIVES: ["OES_standard_derivatives", !0],
27639
27639
  GLSL_TEXTURE_LOD: ["EXT_shader_texture_lod", !0]
27640
- }, Ah = {};
27640
+ }, wh = {};
27641
27641
  Object.keys(N1).forEach((n) => {
27642
- Ah[n] = n;
27642
+ wh[n] = n;
27643
27643
  });
27644
27644
  function PR(n) {
27645
27645
  return typeof WebGL2RenderingContext < "u" && n instanceof WebGL2RenderingContext ? !0 : !!(n && n._version === 2);
@@ -27726,7 +27726,7 @@ function OR(n, e, t) {
27726
27726
 
27727
27727
  #endif // __VERSION
27728
27728
  `;
27729
- return bg(n, Ah.GLSL_FRAG_DEPTH) && (r += `
27729
+ return bg(n, wh.GLSL_FRAG_DEPTH) && (r += `
27730
27730
  // FRAG_DEPTH => gl_FragDepth is available
27731
27731
  #ifdef GL_EXT_frag_depth
27732
27732
  #extension GL_EXT_frag_depth : enable
@@ -27734,14 +27734,14 @@ function OR(n, e, t) {
27734
27734
  # define FRAG_DEPTH
27735
27735
  # define gl_FragDepth gl_FragDepthEXT
27736
27736
  #endif
27737
- `), bg(n, Ah.GLSL_DERIVATIVES) && Sx(n, Ah.GLSL_DERIVATIVES) && (r += `
27737
+ `), bg(n, wh.GLSL_DERIVATIVES) && Sx(n, wh.GLSL_DERIVATIVES) && (r += `
27738
27738
  // DERIVATIVES => dxdF, dxdY and fwidth are available
27739
27739
  #ifdef GL_OES_standard_derivatives
27740
27740
  #extension GL_OES_standard_derivatives : enable
27741
27741
  # define FEATURE_GLSL_DERIVATIVES
27742
27742
  # define DERIVATIVES
27743
27743
  #endif
27744
- `), bg(n, Ah.GLSL_FRAG_DATA) && Sx(n, Ah.GLSL_FRAG_DATA, {
27744
+ `), bg(n, wh.GLSL_FRAG_DATA) && Sx(n, wh.GLSL_FRAG_DATA, {
27745
27745
  behavior: "require"
27746
27746
  }) && (r += `
27747
27747
  // DRAW_BUFFERS => gl_FragData[] is available
@@ -27750,7 +27750,7 @@ function OR(n, e, t) {
27750
27750
  #define FEATURE_GLSL_DRAW_BUFFERS
27751
27751
  #define DRAW_BUFFERS
27752
27752
  #endif
27753
- `), bg(n, Ah.GLSL_TEXTURE_LOD) && (r += `// TEXTURE_LOD => texture2DLod etc are available
27753
+ `), bg(n, wh.GLSL_TEXTURE_LOD) && (r += `// TEXTURE_LOD => texture2DLod etc are available
27754
27754
  #ifdef GL_EXT_shader_texture_lod
27755
27755
  #extension GL_EXT_shader_texture_lod : enable
27756
27756
 
@@ -28292,7 +28292,7 @@ function u6(n) {
28292
28292
  } = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
28293
28293
  return n = p6(n), "".concat(parseFloat(n.toPrecision(e)));
28294
28294
  }
28295
- function Xu(n) {
28295
+ function Wu(n) {
28296
28296
  return Array.isArray(n) || ArrayBuffer.isView(n) && !(n instanceof DataView);
28297
28297
  }
28298
28298
  function h6(n) {
@@ -28311,7 +28311,7 @@ function Qc(n, e, t) {
28311
28311
  return z1(n, (r) => Math.max(e, Math.min(t, r)));
28312
28312
  }
28313
28313
  function ym(n, e, t) {
28314
- return Xu(n) ? n.map((r, i) => ym(r, e[i], t)) : t * e + (1 - t) * n;
28314
+ return Wu(n) ? n.map((r, i) => ym(r, e[i], t)) : t * e + (1 - t) * n;
28315
28315
  }
28316
28316
  function Al(n, e, t) {
28317
28317
  const r = ss.EPSILON;
@@ -28319,7 +28319,7 @@ function Al(n, e, t) {
28319
28319
  try {
28320
28320
  if (n === e)
28321
28321
  return !0;
28322
- if (Xu(n) && Xu(e)) {
28322
+ if (Wu(n) && Wu(e)) {
28323
28323
  if (n.length !== e.length)
28324
28324
  return !1;
28325
28325
  for (let i = 0; i < n.length; ++i)
@@ -28339,7 +28339,7 @@ function g6(n) {
28339
28339
  return n.clone ? n.clone() : new Array(n.length);
28340
28340
  }
28341
28341
  function z1(n, e, t) {
28342
- if (Xu(n)) {
28342
+ if (Wu(n)) {
28343
28343
  const r = n;
28344
28344
  t = t || g6(r);
28345
28345
  for (let i = 0; i < t.length && i < r.length; ++i)
@@ -28382,7 +28382,7 @@ class U1 extends m6(Array) {
28382
28382
  return Array.isArray(e) ? this.copy(e) : this.fromObject(e);
28383
28383
  }
28384
28384
  to(e) {
28385
- return e === this ? this : Xu(e) ? this.toArray(e) : this.toObject(e);
28385
+ return e === this ? this : Wu(e) ? this.toArray(e) : this.toObject(e);
28386
28386
  }
28387
28387
  toTarget(e) {
28388
28388
  return e ? this.to(e) : this;
@@ -28701,7 +28701,7 @@ function PS(n, e, t) {
28701
28701
  class G1 extends j1 {
28702
28702
  constructor() {
28703
28703
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
28704
- super(2), Xu(e) && arguments.length === 1 ? this.copy(e) : (ss.debug && (Ar(e), Ar(t)), this[0] = e, this[1] = t);
28704
+ super(2), Wu(e) && arguments.length === 1 ? this.copy(e) : (ss.debug && (Ar(e), Ar(t)), this[0] = e, this[1] = t);
28705
28705
  }
28706
28706
  set(e, t) {
28707
28707
  return this[0] = e, this[1] = t, this.check();
@@ -28818,7 +28818,7 @@ class Ke extends j1 {
28818
28818
  }
28819
28819
  constructor() {
28820
28820
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0;
28821
- super(-0, -0, -0), arguments.length === 1 && Xu(e) ? this.copy(e) : (ss.debug && (Ar(e), Ar(t), Ar(r)), this[0] = e, this[1] = t, this[2] = r);
28821
+ super(-0, -0, -0), arguments.length === 1 && Wu(e) ? this.copy(e) : (ss.debug && (Ar(e), Ar(t), Ar(r)), this[0] = e, this[1] = t, this[2] = r);
28822
28822
  }
28823
28823
  set(e, t, r) {
28824
28824
  return this[0] = e, this[1] = t, this[2] = r, this.check();
@@ -28894,7 +28894,7 @@ class H1 extends j1 {
28894
28894
  }
28895
28895
  constructor() {
28896
28896
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0;
28897
- super(-0, -0, -0, -0), Xu(e) && arguments.length === 1 ? this.copy(e) : (ss.debug && (Ar(e), Ar(t), Ar(r), Ar(i)), this[0] = e, this[1] = t, this[2] = r, this[3] = i);
28897
+ super(-0, -0, -0, -0), Wu(e) && arguments.length === 1 ? this.copy(e) : (ss.debug && (Ar(e), Ar(t), Ar(r), Ar(i)), this[0] = e, this[1] = t, this[2] = r, this[3] = i);
28898
28898
  }
28899
28899
  set(e, t, r, i) {
28900
28900
  return this[0] = e, this[1] = t, this[2] = r, this[3] = i, this.check();
@@ -33439,7 +33439,7 @@ const Ed = {
33439
33439
  AWAITING_GC: "Discarded. Awaiting garbage collection",
33440
33440
  AWAITING_FINALIZATION: "No longer matched. Awaiting garbage collection",
33441
33441
  FINALIZED: "Finalized! Awaiting garbage collection"
33442
- }, Am = Symbol.for("component"), qu = Symbol.for("propTypes"), g_ = Symbol.for("deprecatedProps"), kd = Symbol.for("asyncPropDefaults"), Nh = Symbol.for("asyncPropOriginal"), Uu = Symbol.for("asyncPropResolved");
33442
+ }, Am = Symbol.for("component"), Vu = Symbol.for("propTypes"), g_ = Symbol.for("deprecatedProps"), kd = Symbol.for("asyncPropDefaults"), Nh = Symbol.for("asyncPropOriginal"), Uu = Symbol.for("asyncPropResolved");
33443
33443
  function Um(n) {
33444
33444
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : () => !0;
33445
33445
  return Array.isArray(n) ? rE(n, e, []) : e(n) ? [n] : [];
@@ -33491,7 +33491,7 @@ class EF {
33491
33491
  this._data = e;
33492
33492
  const r = ++this._loadCount;
33493
33493
  let i = e;
33494
- typeof e == "string" && (i = Wu(e)), i instanceof Promise ? (this.isLoaded = !1, this._loader = i.then((o) => {
33494
+ typeof e == "string" && (i = Hu(e)), i instanceof Promise ? (this.isLoaded = !1, this._loader = i.then((o) => {
33495
33495
  this._loadCount === r && (this.isLoaded = !0, this._error = void 0, this._content = o);
33496
33496
  }).catch((o) => {
33497
33497
  this._loadCount === r && (this.isLoaded = !0, this._error = o || !0);
@@ -34308,7 +34308,7 @@ const Bu = {
34308
34308
  TRIPLE_PAN: ["tripanstart", "tripanmove", "tripanend"],
34309
34309
  DOUBLE_TAP: ["doubletap"],
34310
34310
  KEYBOARD: ["keydown"]
34311
- }, bh = {};
34311
+ }, yh = {};
34312
34312
  class qF {
34313
34313
  constructor(e) {
34314
34314
  V(this, "props", void 0), V(this, "state", {}), V(this, "transitionManager", void 0), V(this, "eventManager", void 0), V(this, "onViewStateChange", void 0), V(this, "onStateChange", void 0), V(this, "makeViewport", void 0), V(this, "_controllerState", void 0), V(this, "_events", {}), V(this, "_interactionState", {
@@ -34635,7 +34635,7 @@ class qF {
34635
34635
  }).rotateStart({
34636
34636
  pos: t
34637
34637
  });
34638
- return bh._startPinchRotation = e.rotation, bh._lastPinchEvent = e, this.updateViewport(r, Bu, {
34638
+ return yh._startPinchRotation = e.rotation, yh._lastPinchEvent = e, this.updateViewport(r, Bu, {
34639
34639
  isDragging: !0
34640
34640
  }), !0;
34641
34641
  }
@@ -34657,7 +34657,7 @@ class qF {
34657
34657
  rotation: r
34658
34658
  } = e;
34659
34659
  t = t.rotate({
34660
- deltaAngleX: bh._startPinchRotation - r
34660
+ deltaAngleX: yh._startPinchRotation - r
34661
34661
  });
34662
34662
  }
34663
34663
  return this.updateViewport(t, Bu, {
@@ -34665,7 +34665,7 @@ class qF {
34665
34665
  isPanning: this.touchZoom,
34666
34666
  isZooming: this.touchZoom,
34667
34667
  isRotating: this.touchRotate
34668
- }), bh._lastPinchEvent = e, !0;
34668
+ }), yh._lastPinchEvent = e, !0;
34669
34669
  }
34670
34670
  _onPinchEnd(e) {
34671
34671
  if (!this.isDragging())
@@ -34674,7 +34674,7 @@ class qF {
34674
34674
  inertia: t
34675
34675
  } = this, {
34676
34676
  _lastPinchEvent: r
34677
- } = bh;
34677
+ } = yh;
34678
34678
  if (this.touchZoom && t && r && e.scale !== r.scale) {
34679
34679
  const i = this.getCenter(e);
34680
34680
  let o = this.controllerState.rotateEnd();
@@ -34703,7 +34703,7 @@ class qF {
34703
34703
  isRotating: !1
34704
34704
  });
34705
34705
  }
34706
- return bh._startPinchRotation = null, bh._lastPinchEvent = null, !0;
34706
+ return yh._startPinchRotation = null, yh._lastPinchEvent = null, !0;
34707
34707
  }
34708
34708
  _onDoubleTap(e) {
34709
34709
  if (!this.doubleClickZoom)
@@ -37549,7 +37549,7 @@ class qk {
37549
37549
  }
37550
37550
  }
37551
37551
  }
37552
- function vh() {
37552
+ function bh() {
37553
37553
  }
37554
37554
  const Hk = (n) => {
37555
37555
  let {
@@ -37582,13 +37582,13 @@ const Hk = (n) => {
37582
37582
  _pickable: !0,
37583
37583
  _typedArrayManagerProps: {},
37584
37584
  _customRender: null,
37585
- onWebGLInitialized: vh,
37586
- onResize: vh,
37587
- onViewStateChange: vh,
37588
- onInteractionStateChange: vh,
37589
- onBeforeRender: vh,
37590
- onAfterRender: vh,
37591
- onLoad: vh,
37585
+ onWebGLInitialized: bh,
37586
+ onResize: bh,
37587
+ onViewStateChange: bh,
37588
+ onInteractionStateChange: bh,
37589
+ onBeforeRender: bh,
37590
+ onAfterRender: bh,
37591
+ onLoad: bh,
37592
37592
  onError: (n) => ur.error(n.message, n.cause)(),
37593
37593
  onHover: null,
37594
37594
  onClick: null,
@@ -37972,7 +37972,7 @@ class sb {
37972
37972
  stats: t
37973
37973
  } = this;
37974
37974
  e.fps = t.get("frameRate").getHz(), e.setPropsTime = t.get("setProps Time").time, e.updateAttributesTime = t.get("Update Attributes").time, e.framesRedrawn = t.get("Redraw Count").count, e.pickTime = t.get("pickObject Time").time + t.get("pickMultipleObjects Time").time + t.get("pickObjects Time").time, e.pickCount = t.get("Pick Count").count, e.gpuTime = t.get("GPU Time").time, e.cpuTime = t.get("CPU Time").time, e.gpuTimePerFrame = t.get("GPU Time").getAverageTime(), e.cpuTimePerFrame = t.get("CPU Time").getAverageTime();
37975
- const r = Ih.get("Memory Usage");
37975
+ const r = Ch.get("Memory Usage");
37976
37976
  e.bufferMemory = r.get("Buffer Memory").count, e.textureMemory = r.get("Texture Memory").count, e.renderbufferMemory = r.get("Renderbuffer Memory").count, e.gpuMemory = r.get("GPU Memory").count;
37977
37977
  }
37978
37978
  }
@@ -39404,7 +39404,7 @@ class bN {
39404
39404
  }
39405
39405
  }
39406
39406
  function vN(n) {
39407
- const e = n[qu];
39407
+ const e = n[Vu];
39408
39408
  for (const t in e) {
39409
39409
  const r = e[t], {
39410
39410
  validate: i
@@ -39417,7 +39417,7 @@ function xN(n, e) {
39417
39417
  const t = bE({
39418
39418
  newProps: n,
39419
39419
  oldProps: e,
39420
- propTypes: n[qu],
39420
+ propTypes: n[Vu],
39421
39421
  ignoreProps: {
39422
39422
  data: null,
39423
39423
  updateTriggers: null,
@@ -39437,7 +39437,7 @@ function xN(n, e) {
39437
39437
  function wN(n, e) {
39438
39438
  if (!n.transitions)
39439
39439
  return !1;
39440
- const t = {}, r = n[qu];
39440
+ const t = {}, r = n[Vu];
39441
39441
  let i = !1;
39442
39442
  for (const o in n.transitions) {
39443
39443
  const c = r[o], l = c && c.type;
@@ -39789,12 +39789,12 @@ function Oy(n, e) {
39789
39789
  function UN(n, e) {
39790
39790
  if (!n.prototype)
39791
39791
  return null;
39792
- const r = Object.getPrototypeOf(n), i = Oy(r), o = vE(n, "defaultProps") || {}, c = FN(o), l = Object.assign(/* @__PURE__ */ Object.create(null), i, c.defaultProps), _ = Object.assign(/* @__PURE__ */ Object.create(null), i == null ? void 0 : i[qu], c.propTypes), b = Object.assign(/* @__PURE__ */ Object.create(null), i == null ? void 0 : i[g_], c.deprecatedProps);
39792
+ const r = Object.getPrototypeOf(n), i = Oy(r), o = vE(n, "defaultProps") || {}, c = FN(o), l = Object.assign(/* @__PURE__ */ Object.create(null), i, c.defaultProps), _ = Object.assign(/* @__PURE__ */ Object.create(null), i == null ? void 0 : i[Vu], c.propTypes), b = Object.assign(/* @__PURE__ */ Object.create(null), i == null ? void 0 : i[g_], c.deprecatedProps);
39793
39793
  for (const w of e) {
39794
39794
  const T = Oy(w.constructor);
39795
- T && (Object.assign(l, T), Object.assign(_, T[qu]), Object.assign(b, T[g_]));
39795
+ T && (Object.assign(l, T), Object.assign(_, T[Vu]), Object.assign(b, T[g_]));
39796
39796
  }
39797
- return jN(l, n), VN(l, _), GN(l, b), l[qu] = _, l[g_] = b, e.length === 0 && !lb(n, "_propTypes") && (n._propTypes = _), l;
39797
+ return jN(l, n), VN(l, _), GN(l, b), l[Vu] = _, l[g_] = b, e.length === 0 && !lb(n, "_propTypes") && (n._propTypes = _), l;
39798
39798
  }
39799
39799
  function jN(n, e) {
39800
39800
  const t = HN(e);
@@ -40020,7 +40020,7 @@ class $N {
40020
40020
  }
40021
40021
  _createAsyncPropData(e, t) {
40022
40022
  if (!this.asyncProps[e]) {
40023
- const i = this.component && this.component.props[qu];
40023
+ const i = this.component && this.component.props[Vu];
40024
40024
  this.asyncProps[e] = {
40025
40025
  type: i && i[e],
40026
40026
  lastValue: null,
@@ -40129,7 +40129,7 @@ const r8 = {
40129
40129
  let b = l.contains(n);
40130
40130
  return !b && !o && (l.add({
40131
40131
  resourceId: n,
40132
- data: Wu(n, i),
40132
+ data: Hu(n, i),
40133
40133
  persistent: !1
40134
40134
  }), b = !0), b ? l.subscribe({
40135
40135
  resourceId: n,
@@ -40139,7 +40139,7 @@ const r8 = {
40139
40139
  },
40140
40140
  consumerId: r.id,
40141
40141
  requestId: t
40142
- }) : Wu(n, i, o);
40142
+ }) : Hu(n, i, o);
40143
40143
  }
40144
40144
  },
40145
40145
  updateTriggers: {},
@@ -40847,7 +40847,7 @@ class xE extends sf {
40847
40847
  operation: $
40848
40848
  }, Ee = re && e.id && re[e.id], Re = Ee && Ee.updateTriggers, Le = e.id || "sublayer";
40849
40849
  if (Ee) {
40850
- const ye = this.props[qu], Ge = e.type ? e.type._propTypes : {};
40850
+ const ye = this.props[Vu], Ge = e.type ? e.type._propTypes : {};
40851
40851
  for (const Fe in Ee) {
40852
40852
  const oe = Ge[Fe] || ye[Fe];
40853
40853
  oe && oe.type === "accessor" && (Ee[Fe] = this.getSubLayerAccessor(Ee[Fe]));
@@ -44346,15 +44346,15 @@ const tU = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
44346
44346
  __proto__: null,
44347
44347
  decode: $7,
44348
44348
  name: H7
44349
- }, Symbol.toStringTag, { value: "Module" })), Ph = "KHR_lights_punctual", nU = Ph;
44349
+ }, Symbol.toStringTag, { value: "Module" })), Ih = "KHR_lights_punctual", nU = Ih;
44350
44350
  async function rU(n) {
44351
44351
  const e = new Ho(n), {
44352
44352
  json: t
44353
- } = e, r = e.getExtension(Ph);
44354
- r && (e.json.lights = r.lights, e.removeExtension(Ph));
44353
+ } = e, r = e.getExtension(Ih);
44354
+ r && (e.json.lights = r.lights, e.removeExtension(Ih));
44355
44355
  for (const i of t.nodes || []) {
44356
- const o = e.getObjectExtension(i, Ph);
44357
- o && (i.light = o.light), e.removeObjectExtension(i, Ph);
44356
+ const o = e.getObjectExtension(i, Ih);
44357
+ o && (i.light = o.light), e.removeObjectExtension(i, Ih);
44358
44358
  }
44359
44359
  }
44360
44360
  async function iU(n) {
@@ -44362,13 +44362,13 @@ async function iU(n) {
44362
44362
  json: t
44363
44363
  } = e;
44364
44364
  if (t.lights) {
44365
- const r = e.addExtension(Ph);
44365
+ const r = e.addExtension(Ih);
44366
44366
  ba(!r.lights), r.lights = t.lights, delete t.lights;
44367
44367
  }
44368
44368
  if (e.json.lights) {
44369
44369
  for (const r of e.json.lights) {
44370
44370
  const i = r.node;
44371
- e.addObjectExtension(i, Ph, r);
44371
+ e.addObjectExtension(i, Ih, r);
44372
44372
  }
44373
44373
  delete e.json.lights;
44374
44374
  }
@@ -46549,7 +46549,7 @@ class jy {
46549
46549
  ...this._getLoaderSpecificOptions(i.id)
46550
46550
  }
46551
46551
  };
46552
- return this.content = await Wu(r, i, o), this.tileset.options.contentLoader && await this.tileset.options.contentLoader(this), this._isTileset() && this.tileset._initializeTileHeaders(this.content, this), this.contentState = ga.READY, this._onContentLoaded(), !0;
46552
+ return this.content = await Hu(r, i, o), this.tileset.options.contentLoader && await this.tileset.options.contentLoader(this), this._isTileset() && this.tileset._initializeTileHeaders(this.content, this), this.contentState = ga.READY, this._onContentLoaded(), !0;
46553
46553
  } catch (r) {
46554
46554
  throw this.contentState = ga.FAILED, r;
46555
46555
  } finally {
@@ -46830,7 +46830,7 @@ class rj extends qm {
46830
46830
  isTileHeader: !0
46831
46831
  }
46832
46832
  };
46833
- return await Wu(i, r, o);
46833
+ return await Hu(i, r, o);
46834
46834
  }
46835
46835
  _onTileLoad(e, t, r) {
46836
46836
  const i = new jy(t.tileset, e, t, r);
@@ -48671,12 +48671,12 @@ async function bT(n) {
48671
48671
  lodMetricValue: 0,
48672
48672
  contentUrl: ""
48673
48673
  }, U = pG[_], G = r & 1, H = r >> 1 & 1, $ = r >> 2 & 1, re = (U ** l - 1) / (U - 1);
48674
- let ge = xh(t.mortonIndex, r), Ee = re + ge, Re = xh(t.x, G), Le = xh(t.y, H), ye = xh(t.z, $), Ge = !1;
48674
+ let ge = vh(t.mortonIndex, r), Ee = re + ge, Re = vh(t.x, G), Le = vh(t.y, H), ye = vh(t.z, $), Ge = !1;
48675
48675
  l + 1 > b && (Ge = U_(c.childSubtreeAvailability, ge));
48676
- const Fe = xh(i.x, Re), oe = xh(i.y, Le), pe = xh(i.z, ye), Te = l + i.level;
48676
+ const Fe = vh(i.x, Re), oe = vh(i.y, Le), pe = vh(i.z, ye), Te = l + i.level;
48677
48677
  if (Ge) {
48678
48678
  const Je = "".concat(P, "/").concat(I), ct = qy(Je, Te, Fe, oe, pe);
48679
- c = await Wu(ct, lT), i.mortonIndex = ge, i.x = Re, i.y = Le, i.z = ye, i.level = l, ge = 0, Ee = 0, Re = 0, Le = 0, ye = 0, l = 0;
48679
+ c = await Hu(ct, lT), i.mortonIndex = ge, i.x = Re, i.y = Le, i.z = ye, i.level = l, ge = 0, Ee = 0, Re = 0, Le = 0, ye = 0, l = 0;
48680
48680
  }
48681
48681
  if (!U_(c.tileAvailability, Ee) || l > w)
48682
48682
  return N;
@@ -48754,7 +48754,7 @@ function _G(n, e, t) {
48754
48754
  return e;
48755
48755
  throw new Error("Unsupported bounding volume type ".concat(e));
48756
48756
  }
48757
- function xh(n, e) {
48757
+ function vh(n, e) {
48758
48758
  return parseInt(n.toString(2) + e.toString(2), 2);
48759
48759
  }
48760
48760
  function qy(n, e, t, r, i) {
@@ -48847,7 +48847,7 @@ async function BA(n, e, t, r) {
48847
48847
  subtrees: {
48848
48848
  uri: w
48849
48849
  }
48850
- } = t, T = qy(w, 0, 0, 0, 0), I = Hy(T, c), P = await Wu(I, lT, r), N = Hy(n.content.uri, c), U = e == null || (i = e.root) === null || i === void 0 ? void 0 : i.refine, G = n.geometricError, H = (o = n.boundingVolume.extensions) === null || o === void 0 ? void 0 : o["3DTILES_bounding_volume_S2"];
48850
+ } = t, T = qy(w, 0, 0, 0, 0), I = Hy(T, c), P = await Hu(I, lT, r), N = Hy(n.content.uri, c), U = e == null || (i = e.root) === null || i === void 0 ? void 0 : i.refine, G = n.geometricError, H = (o = n.boundingVolume.extensions) === null || o === void 0 ? void 0 : o["3DTILES_bounding_volume_S2"];
48851
48851
  if (H) {
48852
48852
  const Ee = {
48853
48853
  box: yT(H),
@@ -49059,7 +49059,7 @@ class Lb extends xE {
49059
49059
  headers: _.headers
49060
49060
  }), Object.assign(i, _);
49061
49061
  }
49062
- const c = await Wu(o, r, i.loadOptions), l = new sj(c, {
49062
+ const c = await Hu(o, r, i.loadOptions), l = new sj(c, {
49063
49063
  onTileLoad: this._onTileLoad.bind(this),
49064
49064
  onTileUnload: this._onTileUnload.bind(this),
49065
49065
  onTileError: this.props.onTileError,
@@ -49268,7 +49268,7 @@ class LG {
49268
49268
  this.xLine !== void 0 && (this.xLine.remove(), this.xLine = void 0), this.yLine !== void 0 && (this.yLine.remove(), this.yLine = void 0), this.svgCanvas !== void 0 && (this.svgCanvas.remove(), this.svgCanvas = void 0), this.map !== void 0 && (this.map.off("resize", this.mapResize), this.map = void 0);
49269
49269
  }
49270
49270
  }
49271
- const Wy = { 72: 72, 96: 96, 200: 200, 300: 300, 400: 400 }, Jc = { JPEG: "jpg", PNG: "png", PDF: "pdf", SVG: "svg" }, ip = { Landscape: "landscape", Portrait: "portrait" }, Lh = {
49271
+ const Wy = { 72: 72, 96: 96, 200: 200, 300: 300, 400: 400 }, Jc = { JPEG: "jpg", PNG: "png", PDF: "pdf", SVG: "svg" }, ip = { Landscape: "landscape", Portrait: "portrait" }, Ph = {
49272
49272
  // A0, A1, B0, B1 are not working well.
49273
49273
  // A0: [1189, 841],
49274
49274
  // A1: [841, 594],
@@ -49508,14 +49508,14 @@ var vc = function(n, e, t) {
49508
49508
  for (i = 0; i < r; ++i) if (n[i]) for (var b = i << 4 | n[i], w = e - n[i], T = c[n[i] - 1]++ << w, I = T | (1 << w) - 1; T <= I; ++T) l[Zy[T] >>> _] = b;
49509
49509
  } else for (l = new So(r), i = 0; i < r; ++i) l[i] = Zy[c[n[i] - 1]++] >>> 15 - n[i];
49510
49510
  return l;
49511
- }, $u = new Vo(288);
49512
- for (var ci = 0; ci < 144; ++ci) $u[ci] = 8;
49513
- for (var ci = 144; ci < 256; ++ci) $u[ci] = 9;
49514
- for (var ci = 256; ci < 280; ++ci) $u[ci] = 7;
49515
- for (var ci = 280; ci < 288; ++ci) $u[ci] = 8;
49511
+ }, Xu = new Vo(288);
49512
+ for (var ci = 0; ci < 144; ++ci) Xu[ci] = 8;
49513
+ for (var ci = 144; ci < 256; ++ci) Xu[ci] = 9;
49514
+ for (var ci = 256; ci < 280; ++ci) Xu[ci] = 7;
49515
+ for (var ci = 280; ci < 288; ++ci) Xu[ci] = 8;
49516
49516
  var Tp = new Vo(32);
49517
49517
  for (var ci = 0; ci < 32; ++ci) Tp[ci] = 5;
49518
- var XG = /* @__PURE__ */ vc($u, 9, 0), $G = /* @__PURE__ */ vc($u, 9, 1), ZG = /* @__PURE__ */ vc(Tp, 5, 0), JG = /* @__PURE__ */ vc(Tp, 5, 1), j_ = function(n) {
49518
+ var XG = /* @__PURE__ */ vc(Xu, 9, 0), $G = /* @__PURE__ */ vc(Xu, 9, 1), ZG = /* @__PURE__ */ vc(Tp, 5, 0), JG = /* @__PURE__ */ vc(Tp, 5, 1), j_ = function(n) {
49519
49519
  for (var e = n[0], t = 1; t < n.length; ++t) n[t] > e && (e = n[t]);
49520
49520
  return e;
49521
49521
  }, pl = function(n, e, t) {
@@ -49684,7 +49684,7 @@ var XG = /* @__PURE__ */ vc($u, 9, 0), $G = /* @__PURE__ */ vc($u, 9, 1), ZG = /
49684
49684
  for (var T = V_(i, 15), I = T[0], P = T[1], N = V_(o, 15), U = N[0], G = N[1], H = FA(I), $ = H[0], re = H[1], ge = FA(U), Ee = ge[0], Re = ge[1], Le = new So(19), ye = 0; ye < $.length; ++ye) Le[$[ye] & 31]++;
49685
49685
  for (var ye = 0; ye < Ee.length; ++ye) Le[Ee[ye] & 31]++;
49686
49686
  for (var Ge = V_(Le, 7), Fe = Ge[0], oe = Ge[1], pe = 19; pe > 4 && !Fe[Xy[pe - 1]]; --pe) ;
49687
- var Te = b + 5 << 3, xe = Kf(i, $u) + Kf(o, Tp) + c, et = Kf(i, I) + Kf(o, U) + c + 14 + 3 * pe + Kf(Le, Fe) + (2 * Le[16] + 3 * Le[17] + 7 * Le[18]);
49687
+ var Te = b + 5 << 3, xe = Kf(i, Xu) + Kf(o, Tp) + c, et = Kf(i, I) + Kf(o, U) + c + 14 + 3 * pe + Kf(Le, Fe) + (2 * Le[16] + 3 * Le[17] + 7 * Le[18]);
49688
49688
  if (Te <= xe && Te <= et) return Yy(e, w, n.subarray(_, _ + b));
49689
49689
  var rt, st, Je, ct;
49690
49690
  if ($c(e, w, 1 + (et < xe)), w += 2, et < xe) {
@@ -49697,7 +49697,7 @@ var XG = /* @__PURE__ */ vc($u, 9, 0), $G = /* @__PURE__ */ vc($u, 9, 1), ZG = /
49697
49697
  var Ce = Ae[ye] & 31;
49698
49698
  $c(e, w, ot[Ce]), w += Fe[Ce], Ce > 15 && ($c(e, w, Ae[ye] >>> 5 & 127), w += Ae[ye] >>> 12);
49699
49699
  }
49700
- } else rt = XG, st = $u, Je = ZG, ct = Tp;
49700
+ } else rt = XG, st = Xu, Je = ZG, ct = Tp;
49701
49701
  for (var ye = 0; ye < l; ++ye) if (r[ye] > 255) {
49702
49702
  var Ce = r[ye] >>> 18 & 31;
49703
49703
  Yf(e, w, rt[Ce + 257]), w += st[Ce + 257], Ce > 7 && ($c(e, w, r[ye] >>> 23 & 31), w += Wm[Ce]);
@@ -49842,7 +49842,7 @@ var $r = { log: q_, warn: function(n) {
49842
49842
  function H_(n, e, t) {
49843
49843
  var r = new XMLHttpRequest();
49844
49844
  r.open("GET", n), r.responseType = "blob", r.onload = function() {
49845
- Sh(r.response, e, t);
49845
+ Ah(r.response, e, t);
49846
49846
  }, r.onerror = function() {
49847
49847
  $r.error("could not download file");
49848
49848
  }, r.send();
@@ -49864,7 +49864,7 @@ function zg(n) {
49864
49864
  e.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), n.dispatchEvent(e);
49865
49865
  }
49866
49866
  }
49867
- var fp, Qy, Sh = Rn.saveAs || ((typeof window > "u" ? "undefined" : zr(window)) !== "object" || window !== Rn ? function() {
49867
+ var fp, Qy, Ah = Rn.saveAs || ((typeof window > "u" ? "undefined" : zr(window)) !== "object" || window !== Rn ? function() {
49868
49868
  } : typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype ? function(n, e, t) {
49869
49869
  var r = Rn.URL || Rn.webkitURL, i = document.createElement("a");
49870
49870
  e = e || n.name || "download", i.download = e, i.rel = "noopener", typeof n == "string" ? (i.href = n, i.origin !== location.origin ? NA(i.href) ? H_(n, e, t) : zg(i, i.target = "_blank") : zg(i)) : (i.href = r.createObjectURL(n), setTimeout(function() {
@@ -50082,8 +50082,8 @@ function Pm(n) {
50082
50082
  function IT(n, e) {
50083
50083
  this.gState = n, this.matrix = e, this.id = "", this.objectNumber = -1;
50084
50084
  }
50085
- function Ch(n, e, t, r, i) {
50086
- if (!(this instanceof Ch)) return new Ch(n, e, t, r, i);
50085
+ function Th(n, e, t, r, i) {
50086
+ if (!(this instanceof Th)) return new Th(n, e, t, r, i);
50087
50087
  this.type = n === "axial" ? 2 : 3, this.coords = e, this.colors = t, IT.call(this, r, i);
50088
50088
  }
50089
50089
  function Od(n, e, t, r, i) {
@@ -50368,11 +50368,11 @@ function Bn(n) {
50368
50368
  P.unitMatrix = P.identityMatrix = tt;
50369
50369
  var ut = function(O, te) {
50370
50370
  if (!yi[O]) {
50371
- var Se = (te instanceof Ch ? "Sh" : "P") + (Object.keys(zt).length + 1).toString(10);
50371
+ var Se = (te instanceof Th ? "Sh" : "P") + (Object.keys(zt).length + 1).toString(10);
50372
50372
  te.id = Se, yi[O] = Se, zt[Se] = te, K.publish("addPattern", te);
50373
50373
  }
50374
50374
  };
50375
- P.ShadingPattern = Ch, P.TilingPattern = Od, P.addShadingPattern = function(O, te) {
50375
+ P.ShadingPattern = Th, P.TilingPattern = Od, P.addShadingPattern = function(O, te) {
50376
50376
  return ye("addShadingPattern()"), ut(O, te), this;
50377
50377
  }, P.beginTilingPattern = function(O) {
50378
50378
  ye("beginTilingPattern()"), Tc(O.boundingBox[0], O.boundingBox[1], O.boundingBox[2] - O.boundingBox[0], O.boundingBox[3] - O.boundingBox[1], O.matrix);
@@ -50525,7 +50525,7 @@ Q`), Xt(Xe, !0), Wn({ data: lt, filters: ir(), objectId: Xe }), ne("endobj"), ze
50525
50525
  Xe.push({ key: "Type", value: "/Pattern" }), Xe.push({ key: "PatternType", value: "1" }), Xe.push({ key: "PaintType", value: "1" }), Xe.push({ key: "TilingType", value: "1" }), Xe.push({ key: "BBox", value: "[" + O.boundingBox.map(Le).join(" ") + "]" }), Xe.push({ key: "XStep", value: Le(O.xStep) }), Xe.push({ key: "YStep", value: Le(O.yStep) }), Xe.push({ key: "Resources", value: Se + " 0 R" }), O.matrix && Xe.push({ key: "Matrix", value: "[" + O.matrix.toString() + "]" }), Wn({ data: O.stream, additionalKeyValues: Xe, objectId: O.objectNumber }), ne("endobj");
50526
50526
  }, Xi = function(O) {
50527
50527
  var te;
50528
- for (te in zt) zt.hasOwnProperty(te) && (zt[te] instanceof Ch ? Jn(zt[te]) : zt[te] instanceof Od && bi(zt[te], O));
50528
+ for (te in zt) zt.hasOwnProperty(te) && (zt[te] instanceof Th ? Jn(zt[te]) : zt[te] instanceof Od && bi(zt[te], O));
50529
50529
  }, Pr = function(O) {
50530
50530
  for (var te in O.objectNumber = We(), ne("<<"), O) switch (te) {
50531
50531
  case "opacity":
@@ -50548,7 +50548,7 @@ Q`), Xt(Xe, !0), Wn({ data: lt, filters: ir(), objectId: Xe }), ne("endobj"), ze
50548
50548
  ne(">>");
50549
50549
  }, oo = function() {
50550
50550
  if (Object.keys(zt).length > 0) {
50551
- for (var O in ne("/Shading <<"), zt) zt.hasOwnProperty(O) && zt[O] instanceof Ch && zt[O].objectNumber >= 0 && ne("/" + O + " " + zt[O].objectNumber + " 0 R");
50551
+ for (var O in ne("/Shading <<"), zt) zt.hasOwnProperty(O) && zt[O] instanceof Th && zt[O].objectNumber >= 0 && ne("/" + O + " " + zt[O].objectNumber + " 0 R");
50552
50552
  K.publish("putShadingPatternDict"), ne(">>");
50553
50553
  }
50554
50554
  }, $i = function(O) {
@@ -51023,7 +51023,7 @@ T* `) : O.join(` Tj
51023
51023
  return Bl("B*", O), this;
51024
51024
  };
51025
51025
  var Bl = function(O, te) {
51026
- zr(te) === "object" ? Ju(te, O) : ne(O);
51026
+ zr(te) === "object" ? Zu(te, O) : ne(O);
51027
51027
  }, Rl = function(O) {
51028
51028
  O === null || re === $.ADVANCED && O === void 0 || (O = Ac(O), ne(O));
51029
51029
  };
@@ -51033,14 +51033,14 @@ T* `) : O.join(` Tj
51033
51033
  var Pt = O + "$$" + this.cloneIndex++ + "$$";
51034
51034
  return ut(Pt, lt), lt;
51035
51035
  }
51036
- var Ju = function(O, te) {
51036
+ var Zu = function(O, te) {
51037
51037
  var Se = yi[O.key], ze = zt[Se];
51038
- if (ze instanceof Ch) ne("q"), ne(Yu(te)), ze.gState && P.setGState(ze.gState), ne(O.matrix.toString() + " cm"), ne("/" + Se + " sh"), ne("Q");
51038
+ if (ze instanceof Th) ne("q"), ne(Ju(te)), ze.gState && P.setGState(ze.gState), ne(O.matrix.toString() + " cm"), ne("/" + Se + " sh"), ne("Q");
51039
51039
  else if (ze instanceof Od) {
51040
51040
  var Xe = new Oe(1, 0, 0, -1, 0, Ea());
51041
51041
  O.matrix && (Xe = Xe.multiply(O.matrix || tt), Se = cu.call(ze, O.key, O.boundingBox, O.xStep, O.yStep, Xe).id), ne("q"), ne("/Pattern cs"), ne("/" + Se + " scn"), ze.gState && P.setGState(ze.gState), ne(te), ne("Q");
51042
51042
  }
51043
- }, Yu = function(O) {
51043
+ }, Ju = function(O) {
51044
51044
  switch (O) {
51045
51045
  case "f":
51046
51046
  case "F":
@@ -51147,7 +51147,7 @@ T* `) : O.join(` Tj
51147
51147
  return pe(O);
51148
51148
  }, uo = P.__private__.getVerticalCoordinate = function(O) {
51149
51149
  return re === $.ADVANCED ? O : J[Ae].mediaBox.topRightY - J[Ae].mediaBox.bottomLeftY - pe(O);
51150
- }, Ku = P.__private__.getHorizontalCoordinateString = P.getHorizontalCoordinateString = function(O) {
51150
+ }, Yu = P.__private__.getHorizontalCoordinateString = P.getHorizontalCoordinateString = function(O) {
51151
51151
  return Le(jn(O));
51152
51152
  }, ws = P.__private__.getVerticalCoordinateString = P.getVerticalCoordinateString = function(O) {
51153
51153
  return Le(uo(O));
@@ -51280,10 +51280,10 @@ T* `) : O.join(` Tj
51280
51280
  var te = _e[ke[O]];
51281
51281
  return { x: te.x, y: te.y, width: te.width, height: te.height, matrix: te.matrix };
51282
51282
  }, P.save = function(O, te) {
51283
- return O = O || "generated.pdf", (te = te || {}).returnPromise = te.returnPromise || !1, te.returnPromise === !1 ? (Sh(Br(Pn()), O), typeof Sh.unload == "function" && Rn.setTimeout && setTimeout(Sh.unload, 911), this) : new Promise(function(Se, ze) {
51283
+ return O = O || "generated.pdf", (te = te || {}).returnPromise = te.returnPromise || !1, te.returnPromise === !1 ? (Ah(Br(Pn()), O), typeof Ah.unload == "function" && Rn.setTimeout && setTimeout(Ah.unload, 911), this) : new Promise(function(Se, ze) {
51284
51284
  try {
51285
- var Xe = Sh(Br(Pn()), O);
51286
- typeof Sh.unload == "function" && Rn.setTimeout && setTimeout(Sh.unload, 911), Se(Xe);
51285
+ var Xe = Ah(Br(Pn()), O);
51286
+ typeof Ah.unload == "function" && Rn.setTimeout && setTimeout(Ah.unload, 911), Se(Xe);
51287
51287
  } catch (lt) {
51288
51288
  ze(lt.message);
51289
51289
  }
@@ -51301,7 +51301,7 @@ T* `) : O.join(` Tj
51301
51301
  }, Gl = P.setPageHeight = function(O, te) {
51302
51302
  J[O].mediaBox.topRightY = te * Ot + J[O].mediaBox.bottomLeftY;
51303
51303
  };
51304
- return P.internal = { pdfEscape: gi, getStyle: Ac, getFont: Dl, getFontSize: Ft, getCharSpace: du, getTextColor: hu, getLineHeight: Fl, getLineHeightFactor: co, getLineWidth: Yi, write: pn, getHorizontalCoordinate: jn, getVerticalCoordinate: uo, getCoordinateString: Ku, getVerticalCoordinateString: ws, collections: {}, newObject: We, newAdditionalObject: Kt, newObjectDeferred: vt, newObjectDeferredBegin: Xt, getFilters: ir, putStream: Wn, events: K, scaleFactor: Ot, pageSize: { getWidth: function() {
51304
+ return P.internal = { pdfEscape: gi, getStyle: Ac, getFont: Dl, getFontSize: Ft, getCharSpace: du, getTextColor: hu, getLineHeight: Fl, getLineHeightFactor: co, getLineWidth: Yi, write: pn, getHorizontalCoordinate: jn, getVerticalCoordinate: uo, getCoordinateString: Yu, getVerticalCoordinateString: ws, collections: {}, newObject: We, newAdditionalObject: Kt, newObjectDeferred: vt, newObjectDeferredBegin: Xt, getFilters: ir, putStream: Wn, events: K, scaleFactor: Ot, pageSize: { getWidth: function() {
51305
51305
  return Co(Ae);
51306
51306
  }, setWidth: function(O) {
51307
51307
  Cc(Ae, O);
@@ -54691,7 +54691,7 @@ function e5(n) {
54691
54691
  }
54692
54692
  if (s && !vr) {
54693
54693
  for (A = 0; 256 > A; ++A) Yl[A] = 89858 * (A - 128) + mu >> Oc, Jh[A] = -22014 * (A - 128) + mu, yu[A] = -45773 * (A - 128), _u[A] = 113618 * (A - 128) + mu >> Oc;
54694
- for (A = cl; A < ch; ++A) M = 76283 * (A - 16) + mu >> Oc, Dc[A - cl] = $n(M, 255), Fc[A - cl] = $n(M + 8 >> 4, 15);
54694
+ for (A = cl; A < lh; ++A) M = 76283 * (A - 16) + mu >> Oc, Dc[A - cl] = $n(M, 255), Fc[A - cl] = $n(M + 8 >> 4, 15);
54695
54695
  vr = 1;
54696
54696
  }
54697
54697
  return 1;
@@ -54860,7 +54860,7 @@ function e5(n) {
54860
54860
  var fe = 0;
54861
54861
  if (y >= Z) {
54862
54862
  var he = D - g;
54863
- e((Z = A).Pb), Z.wd = Z.m, Z.xd = he, 0 < Z.s.ua && at(Z.s.Wa, Z.s.vb), Z = y + rh;
54863
+ e((Z = A).Pb), Z.wd = Z.m, Z.xd = he, 0 < Z.s.ua && at(Z.s.Wa, Z.s.vb), Z = y + nh;
54864
54864
  }
54865
54865
  if (S & Q || (le = vt(B, S, y)), e(le != null), le.Qb && (M[D] = le.qb, ue = !0), !ue) if (qe(C), le.jc) {
54866
54866
  fe = C, he = M;
@@ -54981,29 +54981,29 @@ function e5(n) {
54981
54981
  Ql[Uc] = 1, zc == 2 && (Ql[Uc = ot(sa, 8)] = 1);
54982
54982
  var oa = 1;
54983
54983
  } else {
54984
- var ec = o(19), uh = ot(sa, 4) + 4;
54985
- if (19 < uh) {
54984
+ var ec = o(19), ch = ot(sa, 4) + 4;
54985
+ if (19 < ch) {
54986
54986
  ia.a = 3;
54987
- var hh = 0;
54987
+ var uh = 0;
54988
54988
  break i;
54989
54989
  }
54990
- for (Fo = 0; Fo < uh; ++Fo) ec[Wh[Fo]] = ot(sa, 3);
54991
- var Kh = void 0, dh = void 0, Qh = ia, fh = ec, ul = Fa, ka = Ql, bo = 0, Ps = Qh.m, ff = 8, tc = c(128, pe);
54992
- r: for (; oe(tc, 0, 7, fh, 19); ) {
54990
+ for (Fo = 0; Fo < ch; ++Fo) ec[Wh[Fo]] = ot(sa, 3);
54991
+ var Kh = void 0, hh = void 0, Qh = ia, dh = ec, ul = Fa, ka = Ql, bo = 0, Ps = Qh.m, ff = 8, tc = c(128, pe);
54992
+ r: for (; oe(tc, 0, 7, dh, 19); ) {
54993
54993
  if (ot(Ps, 1)) {
54994
54994
  var t0 = 2 + 2 * ot(Ps, 3);
54995
54995
  if ((Kh = 2 + ot(Ps, t0)) > ul) break r;
54996
54996
  } else Kh = ul;
54997
- for (dh = 0; dh < ul && Kh--; ) {
54997
+ for (hh = 0; hh < ul && Kh--; ) {
54998
54998
  qe(Ps);
54999
54999
  var pf = tc[0 + (127 & Ae(Ps))];
55000
55000
  Ue(Ps, Ps.u + pf.g);
55001
55001
  var kr = pf.value;
55002
- if (16 > kr) ka[dh++] = kr, kr != 0 && (ff = kr);
55002
+ if (16 > kr) ka[hh++] = kr, kr != 0 && (ff = kr);
55003
55003
  else {
55004
- var gf = kr == 16, mf = kr - 16, jc = nh[mf], nc = ot(Ps, th[mf]) + jc;
55005
- if (dh + nc > ul) break r;
55006
- for (var ed = gf ? ff : 0; 0 < nc--; ) ka[dh++] = ed;
55004
+ var gf = kr == 16, mf = kr - 16, jc = th[mf], nc = ot(Ps, eh[mf]) + jc;
55005
+ if (hh + nc > ul) break r;
55006
+ for (var ed = gf ? ff : 0; 0 < nc--; ) ka[hh++] = ed;
55007
55007
  }
55008
55008
  }
55009
55009
  bo = 1;
@@ -55011,10 +55011,10 @@ function e5(n) {
55011
55011
  }
55012
55012
  bo || (Qh.a = 3), oa = bo;
55013
55013
  }
55014
- (oa = oa && !sa.h) && (ko = oe(df, Yh, 8, Ql, Fa)), oa && ko != 0 ? hh = ko : (ia.a = 3, hh = 0);
55014
+ (oa = oa && !sa.h) && (ko = oe(df, Yh, 8, Ql, Fa)), oa && ko != 0 ? uh = ko : (ia.a = 3, uh = 0);
55015
55015
  }
55016
- if (hh == 0) break n;
55017
- if (ji && $l[wt] == 1 && (ji = ns[Jt].g == 0), Li += ns[Jt].g, Jt += hh, 3 >= wt) {
55016
+ if (uh == 0) break n;
55017
+ if (ji && $l[wt] == 1 && (ji = ns[Jt].g == 0), Li += ns[Jt].g, Jt += uh, 3 >= wt) {
55018
55018
  var Gc, td = zi[0];
55019
55019
  for (Gc = 1; Gc < Fr; ++Gc) zi[Gc] > td && (td = zi[Gc]);
55020
55020
  Hn += td;
@@ -55043,8 +55043,8 @@ function e5(n) {
55043
55043
  break e;
55044
55044
  }
55045
55045
  } else C.ua = 0;
55046
- var ph = s, _f = m, Xp = y, ic = ph.s, yf = ic.xc;
55047
- if (ph.c = _f, ph.i = Xp, ic.md = Qt(_f, yf), ic.wc = yf == 0 ? -1 : (1 << yf) - 1, g) {
55046
+ var fh = s, _f = m, Xp = y, ic = fh.s, yf = ic.xc;
55047
+ if (fh.c = _f, fh.i = Xp, ic.md = Qt(_f, yf), ic.wc = yf == 0 ? -1 : (1 << yf) - 1, g) {
55048
55048
  s.xb = Jl;
55049
55049
  break e;
55050
55050
  }
@@ -55065,7 +55065,7 @@ function e5(n) {
55065
55065
  var g = A.C, s = M - g, h = A.V, f = A.Ba + A.c * g;
55066
55066
  for (e(M <= A.l.o); 0 < s; ) {
55067
55067
  var m = 16 < s ? 16 : s, y = A.l.ma, S = A.l.width, C = S * m, B = y.ca, D = y.tb + S * g, z = A.Ta, k = A.Ua;
55068
- Xt(A, m, h, f), Qu(z, k, B, D, C), en(y, g, g + m, B, D, S), s -= m, h += m * A.c, g += m;
55068
+ Xt(A, m, h, f), Ku(z, k, B, D, C), en(y, g, g + m, B, D, S), s -= m, h += m * A.c, g += m;
55069
55069
  }
55070
55070
  e(g == M), A.C = A.Ma = M;
55071
55071
  }
@@ -55183,7 +55183,7 @@ function e5(n) {
55183
55183
  }
55184
55184
  if (!m.Rb) return Yn(A, 4, "Not a key frame.");
55185
55185
  for (Ye(f), m = A.Pa, g = 0; 4 > g; ++g) {
55186
- for (h = 0; 8 > h; ++h) for (s = 0; 3 > s; ++s) for (y = 0; 11 > y; ++y) C = Ze(f, Vs[g][h][s][y]) ? rt(f, 8) : sh[g][h][s][y], m.Wc[g][h].Yb[s][y] = C;
55186
+ for (h = 0; 8 > h; ++h) for (s = 0; 3 > s; ++s) for (y = 0; 11 > y; ++y) C = Ze(f, Vs[g][h][s][y]) ? rt(f, 8) : ih[g][h][s][y], m.Wc[g][h].Yb[s][y] = C;
55187
55187
  for (h = 0; 17 > h; ++h) m.Xc[g][h] = m.Wc[g][qt[h]];
55188
55188
  }
55189
55189
  return A.kc = Ye(f), A.kc && (A.Bd = rt(f, 8)), A.cb = 1;
@@ -55261,13 +55261,13 @@ function e5(n) {
55261
55261
  }
55262
55262
  if (g) {
55263
55263
  if (M.ka = 0, M.y = A.sa, M.O = A.ta, M.f = A.qa, M.N = A.ra, M.ea = A.Ha, M.Vd = A.Ia, M.fa = A.R, M.Rc = A.B, M.F = null, M.J = 0, !Vl) {
55264
- for (g = -255; 255 >= g; ++g) eh[255 + g] = 0 > g ? -g : g;
55264
+ for (g = -255; 255 >= g; ++g) Qu[255 + g] = 0 > g ? -g : g;
55265
55265
  for (g = -1020; 1020 >= g; ++g) Wr[1020 + g] = -128 > g ? -128 : 127 < g ? 127 : g;
55266
55266
  for (g = -112; 112 >= g; ++g) js[112 + g] = -16 > g ? -16 : 15 < g ? 15 : g;
55267
55267
  for (g = -255; 510 >= g; ++g) us[255 + g] = 0 > g ? 0 : 255 < g ? 255 : g;
55268
55268
  Vl = 1;
55269
55269
  }
55270
- Fs = me, nl = Xn, go = Aa, Ni = Ja, cs = ae, La = Ji, ks = kl, Ma = Qa, Ns = du, zs = Nl, Ba = hu, es = Sa, mo = zl, Cr = Sc, br = co, jr = jn, ii = uo, As = Ku, Es[0] = xs, Es[1] = nt, Es[2] = Ll, Es[3] = Ml, Es[4] = Ac, Es[5] = Bl, Es[6] = Zo, Es[7] = Rl, Es[8] = Ju, Es[9] = cu, _o[0] = ui, _o[1] = Vt, _o[2] = Pn, _o[3] = Br, _o[4] = nr, _o[5] = Ya, _o[6] = Ii, Oo[0] = Eo, Oo[1] = Tt, Oo[2] = Yu, Oo[3] = Ol, Oo[4] = Jo, Oo[5] = Dl, Oo[6] = Ka, g = 1;
55270
+ Fs = me, nl = Xn, go = Aa, Ni = Ja, cs = ae, La = Ji, ks = kl, Ma = Qa, Ns = du, zs = Nl, Ba = hu, es = Sa, mo = zl, Cr = Sc, br = co, jr = jn, ii = uo, As = Yu, Es[0] = xs, Es[1] = nt, Es[2] = Ll, Es[3] = Ml, Es[4] = Ac, Es[5] = Bl, Es[6] = Zo, Es[7] = Rl, Es[8] = Zu, Es[9] = cu, _o[0] = ui, _o[1] = Vt, _o[2] = Pn, _o[3] = Br, _o[4] = nr, _o[5] = Ya, _o[6] = Ii, Oo[0] = Eo, Oo[1] = Tt, Oo[2] = Ju, Oo[3] = Ol, Oo[4] = Jo, Oo[5] = Dl, Oo[6] = Ka, g = 1;
55271
55271
  } else g = 0;
55272
55272
  }
55273
55273
  g && (g = function(k, X) {
@@ -55281,7 +55281,7 @@ function e5(n) {
55281
55281
  var _t, xt = Be[0 + fe];
55282
55282
  for (_t = 0; 4 > _t; ++_t) {
55283
55283
  xt = Zl[he[ve + _t]][xt];
55284
- for (var bt = ih[Ze(ue, xt[0])]; 0 < bt; ) bt = ih[2 * bt + Ze(ue, xt[bt])];
55284
+ for (var bt = rh[Ze(ue, xt[0])]; 0 < bt; ) bt = rh[2 * bt + Ze(ue, xt[bt])];
55285
55285
  xt = -bt, he[ve + _t] = xt;
55286
55286
  }
55287
55287
  r(Qe, ft, he, ve, 4), ft += 4, Be[0 + fe] = xt;
@@ -55475,11 +55475,11 @@ function e5(n) {
55475
55475
  var g = A[M - 1 + 0], s = A[M - 1 + 32], h = A[M - 1 + 64], f = A[M - 1 + 96];
55476
55476
  A[M + 0 + 0] = g + s + 1 >> 1, A[M + 2 + 0] = A[M + 0 + 32] = s + h + 1 >> 1, A[M + 2 + 32] = A[M + 0 + 64] = h + f + 1 >> 1, A[M + 1 + 0] = dn(g, s, h), A[M + 3 + 0] = A[M + 1 + 32] = dn(s, h, f), A[M + 3 + 32] = A[M + 1 + 64] = dn(h, f, f), A[M + 3 + 64] = A[M + 2 + 64] = A[M + 0 + 96] = A[M + 1 + 96] = A[M + 2 + 96] = A[M + 3 + 96] = f;
55477
55477
  }
55478
- function Ju(A, M) {
55478
+ function Zu(A, M) {
55479
55479
  var g = A[M - 1 + 0], s = A[M - 1 + 32], h = A[M - 1 + 64], f = A[M - 1 + 96], m = A[M - 1 - 32], y = A[M + 0 - 32], S = A[M + 1 - 32], C = A[M + 2 - 32];
55480
55480
  A[M + 0 + 0] = A[M + 2 + 32] = g + m + 1 >> 1, A[M + 0 + 32] = A[M + 2 + 64] = s + g + 1 >> 1, A[M + 0 + 64] = A[M + 2 + 96] = h + s + 1 >> 1, A[M + 0 + 96] = f + h + 1 >> 1, A[M + 3 + 0] = dn(y, S, C), A[M + 2 + 0] = dn(m, y, S), A[M + 1 + 0] = A[M + 3 + 32] = dn(g, m, y), A[M + 1 + 32] = A[M + 3 + 64] = dn(s, g, m), A[M + 1 + 64] = A[M + 3 + 96] = dn(h, s, g), A[M + 1 + 96] = dn(f, h, s);
55481
55481
  }
55482
- function Yu(A, M) {
55482
+ function Ju(A, M) {
55483
55483
  var g;
55484
55484
  for (g = 0; 8 > g; ++g) r(A, M + 32 * g, A, M - 32, 8);
55485
55485
  }
@@ -55536,7 +55536,7 @@ function e5(n) {
55536
55536
  var h;
55537
55537
  for (h = 3; 0 < h; --h) co(A, M += 4 * g, g, s);
55538
55538
  }
55539
- function Ku(A, M, g, s) {
55539
+ function Yu(A, M, g, s) {
55540
55540
  var h;
55541
55541
  for (h = 3; 0 < h; --h) jn(A, M += 4, g, s);
55542
55542
  }
@@ -55734,7 +55734,7 @@ function e5(n) {
55734
55734
  for (f = 0; f < h; ++f) g[s + f] = A[M + f] >> 8;
55735
55735
  }
55736
55736
  function Xe() {
55737
- Us = O, si = te, Bo = Se, Qu = ze;
55737
+ Us = O, si = te, Bo = Se, Ku = ze;
55738
55738
  }
55739
55739
  function lt(A, M, g) {
55740
55740
  ye[A] = function(s, h, f, m, y, S, C, B, D, z, k, X, Z, W, Q, le, ue) {
@@ -55749,7 +55749,7 @@ function e5(n) {
55749
55749
  };
55750
55750
  }
55751
55751
  function Pt() {
55752
- Cn[ql] = oh, Cn[il] = gu, Cn[pu] = hf, Cn[sl] = $h, Cn[Hl] = ll, Cn[Lc] = ah, Cn[Ra] = lh, Cn[Wl] = gu, Cn[ol] = $h, Cn[Xl] = ll, Cn[Mc] = ah;
55752
+ Cn[ql] = sh, Cn[il] = gu, Cn[pu] = hf, Cn[sl] = $h, Cn[Hl] = ll, Cn[Lc] = oh, Cn[Ra] = ah, Cn[Wl] = gu, Cn[ol] = $h, Cn[Xl] = ll, Cn[Mc] = oh;
55753
55753
  }
55754
55754
  function Wt(A) {
55755
55755
  return A & ~Ts ? 0 > A ? 0 : 255 : A >> Zh;
@@ -56067,9 +56067,9 @@ function e5(n) {
56067
56067
  });
56068
56068
  var tl, ki = ye.ColorIndexInverseTransform, Lo = ye.MapARGB, fu = ye.VP8LColorIndexInverseTransformAlpha, Ic = ye.MapAlpha, zn = ye.VP8LPredictorsAdd = [];
56069
56069
  zn.length = 16, (ye.VP8LPredictors = []).length = 16, (ye.VP8LPredictorsAdd_C = []).length = 16, (ye.VP8LPredictors_C = []).length = 16;
56070
- var Ki, po, ta, Qi, Mo, na, Fs, nl, La, go, Ni, cs, ks, Ma, Ns, zs, Ba, es, mo, Cr, br, jr, ii, As, Us, si, Bo, Qu, eh = o(511), Wr = o(2041), js = o(225), us = o(767), Vl = 0, Pc = Wr, rl = js, xi = us, hi = eh, ql = 0, il = 1, pu = 2, sl = 3, Hl = 4, Lc = 5, Ra = 6, Wl = 7, ol = 8, Xl = 9, Mc = 10, th = [2, 3, 7], nh = [3, 3, 11], Bc = [280, 256, 256, 256, 40], $l = [0, 1, 1, 1, 0], Wh = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], Gs = [24, 7, 23, 25, 40, 6, 39, 41, 22, 26, 38, 42, 56, 5, 55, 57, 21, 27, 54, 58, 37, 43, 72, 4, 71, 73, 20, 28, 53, 59, 70, 74, 36, 44, 88, 69, 75, 52, 60, 3, 87, 89, 19, 29, 86, 90, 35, 45, 68, 76, 85, 91, 51, 61, 104, 2, 103, 105, 18, 30, 102, 106, 34, 46, 84, 92, 67, 77, 101, 107, 50, 62, 120, 1, 119, 121, 83, 93, 17, 31, 100, 108, 66, 78, 118, 122, 33, 47, 117, 123, 49, 63, 99, 109, 82, 94, 0, 116, 124, 65, 79, 16, 32, 98, 110, 48, 115, 125, 81, 95, 64, 114, 126, 97, 111, 80, 113, 127, 96, 112], Ro = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], rh = 8, Ss = [4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 93, 95, 96, 98, 100, 101, 102, 104, 106, 108, 110, 112, 114, 116, 118, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 143, 145, 148, 151, 154, 157], ra = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 119, 122, 125, 128, 131, 134, 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, 167, 170, 173, 177, 181, 185, 189, 193, 197, 201, 205, 209, 213, 217, 221, 225, 229, 234, 239, 245, 249, 254, 259, 264, 269, 274, 279, 284], Rc = null, uf = [[173, 148, 140, 0], [176, 155, 140, 135, 0], [180, 157, 141, 134, 130, 0], [254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0]], Xh = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], ih = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], sh = [[[[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]], [[253, 136, 254, 255, 228, 219, 128, 128, 128, 128, 128], [189, 129, 242, 255, 227, 213, 255, 219, 128, 128, 128], [106, 126, 227, 252, 214, 209, 255, 255, 128, 128, 128]], [[1, 98, 248, 255, 236, 226, 255, 255, 128, 128, 128], [181, 133, 238, 254, 221, 234, 255, 154, 128, 128, 128], [78, 134, 202, 247, 198, 180, 255, 219, 128, 128, 128]], [[1, 185, 249, 255, 243, 255, 128, 128, 128, 128, 128], [184, 150, 247, 255, 236, 224, 128, 128, 128, 128, 128], [77, 110, 216, 255, 236, 230, 128, 128, 128, 128, 128]], [[1, 101, 251, 255, 241, 255, 128, 128, 128, 128, 128], [170, 139, 241, 252, 236, 209, 255, 255, 128, 128, 128], [37, 116, 196, 243, 228, 255, 255, 255, 128, 128, 128]], [[1, 204, 254, 255, 245, 255, 128, 128, 128, 128, 128], [207, 160, 250, 255, 238, 128, 128, 128, 128, 128, 128], [102, 103, 231, 255, 211, 171, 128, 128, 128, 128, 128]], [[1, 152, 252, 255, 240, 255, 128, 128, 128, 128, 128], [177, 135, 243, 255, 234, 225, 128, 128, 128, 128, 128], [80, 129, 211, 255, 194, 224, 128, 128, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [246, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [255, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[198, 35, 237, 223, 193, 187, 162, 160, 145, 155, 62], [131, 45, 198, 221, 172, 176, 220, 157, 252, 221, 1], [68, 47, 146, 208, 149, 167, 221, 162, 255, 223, 128]], [[1, 149, 241, 255, 221, 224, 255, 255, 128, 128, 128], [184, 141, 234, 253, 222, 220, 255, 199, 128, 128, 128], [81, 99, 181, 242, 176, 190, 249, 202, 255, 255, 128]], [[1, 129, 232, 253, 214, 197, 242, 196, 255, 255, 128], [99, 121, 210, 250, 201, 198, 255, 202, 128, 128, 128], [23, 91, 163, 242, 170, 187, 247, 210, 255, 255, 128]], [[1, 200, 246, 255, 234, 255, 128, 128, 128, 128, 128], [109, 178, 241, 255, 231, 245, 255, 255, 128, 128, 128], [44, 130, 201, 253, 205, 192, 255, 255, 128, 128, 128]], [[1, 132, 239, 251, 219, 209, 255, 165, 128, 128, 128], [94, 136, 225, 251, 218, 190, 255, 255, 128, 128, 128], [22, 100, 174, 245, 186, 161, 255, 199, 128, 128, 128]], [[1, 182, 249, 255, 232, 235, 128, 128, 128, 128, 128], [124, 143, 241, 255, 227, 234, 128, 128, 128, 128, 128], [35, 77, 181, 251, 193, 211, 255, 205, 128, 128, 128]], [[1, 157, 247, 255, 236, 231, 255, 255, 128, 128, 128], [121, 141, 235, 255, 225, 227, 255, 255, 128, 128, 128], [45, 99, 188, 251, 195, 217, 255, 224, 128, 128, 128]], [[1, 1, 251, 255, 213, 255, 128, 128, 128, 128, 128], [203, 1, 248, 255, 255, 128, 128, 128, 128, 128, 128], [137, 1, 177, 255, 224, 255, 128, 128, 128, 128, 128]]], [[[253, 9, 248, 251, 207, 208, 255, 192, 128, 128, 128], [175, 13, 224, 243, 193, 185, 249, 198, 255, 255, 128], [73, 17, 171, 221, 161, 179, 236, 167, 255, 234, 128]], [[1, 95, 247, 253, 212, 183, 255, 255, 128, 128, 128], [239, 90, 244, 250, 211, 209, 255, 255, 128, 128, 128], [155, 77, 195, 248, 188, 195, 255, 255, 128, 128, 128]], [[1, 24, 239, 251, 218, 219, 255, 205, 128, 128, 128], [201, 51, 219, 255, 196, 186, 128, 128, 128, 128, 128], [69, 46, 190, 239, 201, 218, 255, 228, 128, 128, 128]], [[1, 191, 251, 255, 255, 128, 128, 128, 128, 128, 128], [223, 165, 249, 255, 213, 255, 128, 128, 128, 128, 128], [141, 124, 248, 255, 255, 128, 128, 128, 128, 128, 128]], [[1, 16, 248, 255, 255, 128, 128, 128, 128, 128, 128], [190, 36, 230, 255, 236, 255, 128, 128, 128, 128, 128], [149, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 226, 255, 128, 128, 128, 128, 128, 128, 128, 128], [247, 192, 255, 128, 128, 128, 128, 128, 128, 128, 128], [240, 128, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 134, 252, 255, 255, 128, 128, 128, 128, 128, 128], [213, 62, 250, 255, 255, 128, 128, 128, 128, 128, 128], [55, 93, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[202, 24, 213, 235, 186, 191, 220, 160, 240, 175, 255], [126, 38, 182, 232, 169, 184, 228, 174, 255, 187, 128], [61, 46, 138, 219, 151, 178, 240, 170, 255, 216, 128]], [[1, 112, 230, 250, 199, 191, 247, 159, 255, 255, 128], [166, 109, 228, 252, 211, 215, 255, 174, 128, 128, 128], [39, 77, 162, 232, 172, 180, 245, 178, 255, 255, 128]], [[1, 52, 220, 246, 198, 199, 249, 220, 255, 255, 128], [124, 74, 191, 243, 183, 193, 250, 221, 255, 255, 128], [24, 71, 130, 219, 154, 170, 243, 182, 255, 255, 128]], [[1, 182, 225, 249, 219, 240, 255, 224, 128, 128, 128], [149, 150, 226, 252, 216, 205, 255, 171, 128, 128, 128], [28, 108, 170, 242, 183, 194, 254, 223, 255, 255, 128]], [[1, 81, 230, 252, 204, 203, 255, 192, 128, 128, 128], [123, 102, 209, 247, 188, 196, 255, 233, 128, 128, 128], [20, 95, 153, 243, 164, 173, 255, 203, 128, 128, 128]], [[1, 222, 248, 255, 216, 213, 128, 128, 128, 128, 128], [168, 175, 246, 252, 235, 205, 255, 255, 128, 128, 128], [47, 116, 215, 255, 211, 212, 255, 255, 128, 128, 128]], [[1, 121, 236, 253, 212, 214, 255, 255, 128, 128, 128], [141, 84, 213, 252, 201, 202, 255, 219, 128, 128, 128], [42, 80, 160, 240, 162, 185, 255, 205, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [244, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [238, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]]]], Zl = [[[231, 120, 48, 89, 115, 113, 120, 152, 112], [152, 179, 64, 126, 170, 118, 46, 70, 95], [175, 69, 143, 80, 85, 82, 72, 155, 103], [56, 58, 10, 171, 218, 189, 17, 13, 152], [114, 26, 17, 163, 44, 195, 21, 10, 173], [121, 24, 80, 195, 26, 62, 44, 64, 85], [144, 71, 10, 38, 171, 213, 144, 34, 26], [170, 46, 55, 19, 136, 160, 33, 206, 71], [63, 20, 8, 114, 114, 208, 12, 9, 226], [81, 40, 11, 96, 182, 84, 29, 16, 36]], [[134, 183, 89, 137, 98, 101, 106, 165, 148], [72, 187, 100, 130, 157, 111, 32, 75, 80], [66, 102, 167, 99, 74, 62, 40, 234, 128], [41, 53, 9, 178, 241, 141, 26, 8, 107], [74, 43, 26, 146, 73, 166, 49, 23, 157], [65, 38, 105, 160, 51, 52, 31, 115, 128], [104, 79, 12, 27, 217, 255, 87, 17, 7], [87, 68, 71, 44, 114, 51, 15, 186, 23], [47, 41, 14, 110, 182, 183, 21, 17, 194], [66, 45, 25, 102, 197, 189, 23, 18, 22]], [[88, 88, 147, 150, 42, 46, 45, 196, 205], [43, 97, 183, 117, 85, 38, 35, 179, 61], [39, 53, 200, 87, 26, 21, 43, 232, 171], [56, 34, 51, 104, 114, 102, 29, 93, 77], [39, 28, 85, 171, 58, 165, 90, 98, 64], [34, 22, 116, 206, 23, 34, 43, 166, 73], [107, 54, 32, 26, 51, 1, 81, 43, 31], [68, 25, 106, 22, 64, 171, 36, 225, 114], [34, 19, 21, 102, 132, 188, 16, 76, 124], [62, 18, 78, 95, 85, 57, 50, 48, 51]], [[193, 101, 35, 159, 215, 111, 89, 46, 111], [60, 148, 31, 172, 219, 228, 21, 18, 111], [112, 113, 77, 85, 179, 255, 38, 120, 114], [40, 42, 1, 196, 245, 209, 10, 25, 109], [88, 43, 29, 140, 166, 213, 37, 43, 154], [61, 63, 30, 155, 67, 45, 68, 1, 209], [100, 80, 8, 43, 154, 1, 51, 26, 71], [142, 78, 78, 16, 255, 128, 34, 197, 171], [41, 40, 5, 102, 211, 183, 4, 1, 221], [51, 50, 17, 168, 209, 192, 23, 25, 82]], [[138, 31, 36, 171, 27, 166, 38, 44, 229], [67, 87, 58, 169, 82, 115, 26, 59, 179], [63, 59, 90, 180, 59, 166, 93, 73, 154], [40, 40, 21, 116, 143, 209, 34, 39, 175], [47, 15, 16, 183, 34, 223, 49, 45, 183], [46, 17, 33, 183, 6, 98, 15, 32, 183], [57, 46, 22, 24, 128, 1, 54, 17, 37], [65, 32, 73, 115, 28, 128, 23, 128, 205], [40, 3, 9, 115, 51, 192, 18, 6, 223], [87, 37, 9, 115, 59, 77, 64, 21, 47]], [[104, 55, 44, 218, 9, 54, 53, 130, 226], [64, 90, 70, 205, 40, 41, 23, 26, 57], [54, 57, 112, 184, 5, 41, 38, 166, 213], [30, 34, 26, 133, 152, 116, 10, 32, 134], [39, 19, 53, 221, 26, 114, 32, 73, 255], [31, 9, 65, 234, 2, 15, 1, 118, 73], [75, 32, 12, 51, 192, 255, 160, 43, 51], [88, 31, 35, 67, 102, 85, 55, 186, 85], [56, 21, 23, 111, 59, 205, 45, 37, 192], [55, 38, 70, 124, 73, 102, 1, 34, 98]], [[125, 98, 42, 88, 104, 85, 117, 175, 82], [95, 84, 53, 89, 128, 100, 113, 101, 45], [75, 79, 123, 47, 51, 128, 81, 171, 1], [57, 17, 5, 71, 102, 57, 53, 41, 49], [38, 33, 13, 121, 57, 73, 26, 1, 85], [41, 10, 67, 138, 77, 110, 90, 47, 114], [115, 21, 2, 10, 102, 255, 166, 23, 6], [101, 29, 16, 10, 85, 128, 101, 196, 26], [57, 18, 10, 102, 102, 213, 34, 20, 43], [117, 20, 15, 36, 163, 128, 68, 1, 26]], [[102, 61, 71, 37, 34, 53, 31, 243, 192], [69, 60, 71, 38, 73, 119, 28, 222, 37], [68, 45, 128, 34, 1, 47, 11, 245, 171], [62, 17, 19, 70, 146, 85, 55, 62, 70], [37, 43, 37, 154, 100, 163, 85, 160, 1], [63, 9, 92, 136, 28, 64, 32, 201, 85], [75, 15, 9, 9, 64, 255, 184, 119, 16], [86, 6, 28, 5, 64, 255, 25, 248, 1], [56, 8, 17, 132, 137, 255, 55, 116, 128], [58, 15, 20, 82, 135, 57, 26, 121, 40]], [[164, 50, 31, 137, 154, 133, 25, 35, 218], [51, 103, 44, 131, 131, 123, 31, 6, 158], [86, 40, 64, 135, 148, 224, 45, 183, 128], [22, 26, 17, 131, 240, 154, 14, 1, 209], [45, 16, 21, 91, 64, 222, 7, 1, 197], [56, 21, 39, 155, 60, 138, 23, 102, 213], [83, 12, 13, 54, 192, 255, 68, 47, 28], [85, 26, 85, 85, 128, 128, 32, 146, 171], [18, 11, 7, 63, 144, 171, 4, 4, 246], [35, 27, 10, 146, 174, 171, 12, 26, 128]], [[190, 80, 35, 99, 180, 80, 126, 54, 45], [85, 126, 47, 87, 176, 51, 41, 20, 32], [101, 75, 128, 139, 118, 146, 116, 128, 85], [56, 41, 15, 176, 236, 85, 37, 9, 62], [71, 30, 17, 119, 118, 255, 17, 18, 138], [101, 38, 60, 138, 55, 70, 43, 26, 142], [146, 36, 19, 30, 171, 255, 97, 27, 20], [138, 45, 61, 62, 219, 1, 81, 188, 64], [32, 41, 20, 117, 151, 142, 20, 21, 163], [112, 19, 12, 61, 195, 128, 48, 4, 24]]], Vs = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[176, 246, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 241, 252, 255, 255, 255, 255, 255, 255, 255, 255], [249, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 244, 252, 255, 255, 255, 255, 255, 255, 255, 255], [234, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 246, 254, 255, 255, 255, 255, 255, 255, 255, 255], [239, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 254, 255, 255, 255, 255, 255, 255], [250, 255, 254, 255, 254, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [225, 252, 241, 253, 255, 255, 254, 255, 255, 255, 255], [234, 250, 241, 250, 253, 255, 253, 254, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [238, 253, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [249, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255], [247, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[186, 251, 250, 255, 255, 255, 255, 255, 255, 255, 255], [234, 251, 244, 254, 255, 255, 255, 255, 255, 255, 255], [251, 251, 243, 253, 254, 255, 254, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [236, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 253, 253, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [250, 254, 252, 254, 255, 255, 255, 255, 255, 255, 255], [248, 254, 249, 253, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [246, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 254, 251, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 252, 255, 255, 255, 255, 255, 255, 255, 255], [248, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [245, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255], [249, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]]], qt = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], _o = [], Es = [], Oo = [], Jl = 1, al = 2, Do = [], Cn = [];
56070
+ var Ki, po, ta, Qi, Mo, na, Fs, nl, La, go, Ni, cs, ks, Ma, Ns, zs, Ba, es, mo, Cr, br, jr, ii, As, Us, si, Bo, Ku, Qu = o(511), Wr = o(2041), js = o(225), us = o(767), Vl = 0, Pc = Wr, rl = js, xi = us, hi = Qu, ql = 0, il = 1, pu = 2, sl = 3, Hl = 4, Lc = 5, Ra = 6, Wl = 7, ol = 8, Xl = 9, Mc = 10, eh = [2, 3, 7], th = [3, 3, 11], Bc = [280, 256, 256, 256, 40], $l = [0, 1, 1, 1, 0], Wh = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], Gs = [24, 7, 23, 25, 40, 6, 39, 41, 22, 26, 38, 42, 56, 5, 55, 57, 21, 27, 54, 58, 37, 43, 72, 4, 71, 73, 20, 28, 53, 59, 70, 74, 36, 44, 88, 69, 75, 52, 60, 3, 87, 89, 19, 29, 86, 90, 35, 45, 68, 76, 85, 91, 51, 61, 104, 2, 103, 105, 18, 30, 102, 106, 34, 46, 84, 92, 67, 77, 101, 107, 50, 62, 120, 1, 119, 121, 83, 93, 17, 31, 100, 108, 66, 78, 118, 122, 33, 47, 117, 123, 49, 63, 99, 109, 82, 94, 0, 116, 124, 65, 79, 16, 32, 98, 110, 48, 115, 125, 81, 95, 64, 114, 126, 97, 111, 80, 113, 127, 96, 112], Ro = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], nh = 8, Ss = [4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 93, 95, 96, 98, 100, 101, 102, 104, 106, 108, 110, 112, 114, 116, 118, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 143, 145, 148, 151, 154, 157], ra = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 119, 122, 125, 128, 131, 134, 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, 167, 170, 173, 177, 181, 185, 189, 193, 197, 201, 205, 209, 213, 217, 221, 225, 229, 234, 239, 245, 249, 254, 259, 264, 269, 274, 279, 284], Rc = null, uf = [[173, 148, 140, 0], [176, 155, 140, 135, 0], [180, 157, 141, 134, 130, 0], [254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0]], Xh = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], rh = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], ih = [[[[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]], [[253, 136, 254, 255, 228, 219, 128, 128, 128, 128, 128], [189, 129, 242, 255, 227, 213, 255, 219, 128, 128, 128], [106, 126, 227, 252, 214, 209, 255, 255, 128, 128, 128]], [[1, 98, 248, 255, 236, 226, 255, 255, 128, 128, 128], [181, 133, 238, 254, 221, 234, 255, 154, 128, 128, 128], [78, 134, 202, 247, 198, 180, 255, 219, 128, 128, 128]], [[1, 185, 249, 255, 243, 255, 128, 128, 128, 128, 128], [184, 150, 247, 255, 236, 224, 128, 128, 128, 128, 128], [77, 110, 216, 255, 236, 230, 128, 128, 128, 128, 128]], [[1, 101, 251, 255, 241, 255, 128, 128, 128, 128, 128], [170, 139, 241, 252, 236, 209, 255, 255, 128, 128, 128], [37, 116, 196, 243, 228, 255, 255, 255, 128, 128, 128]], [[1, 204, 254, 255, 245, 255, 128, 128, 128, 128, 128], [207, 160, 250, 255, 238, 128, 128, 128, 128, 128, 128], [102, 103, 231, 255, 211, 171, 128, 128, 128, 128, 128]], [[1, 152, 252, 255, 240, 255, 128, 128, 128, 128, 128], [177, 135, 243, 255, 234, 225, 128, 128, 128, 128, 128], [80, 129, 211, 255, 194, 224, 128, 128, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [246, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [255, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[198, 35, 237, 223, 193, 187, 162, 160, 145, 155, 62], [131, 45, 198, 221, 172, 176, 220, 157, 252, 221, 1], [68, 47, 146, 208, 149, 167, 221, 162, 255, 223, 128]], [[1, 149, 241, 255, 221, 224, 255, 255, 128, 128, 128], [184, 141, 234, 253, 222, 220, 255, 199, 128, 128, 128], [81, 99, 181, 242, 176, 190, 249, 202, 255, 255, 128]], [[1, 129, 232, 253, 214, 197, 242, 196, 255, 255, 128], [99, 121, 210, 250, 201, 198, 255, 202, 128, 128, 128], [23, 91, 163, 242, 170, 187, 247, 210, 255, 255, 128]], [[1, 200, 246, 255, 234, 255, 128, 128, 128, 128, 128], [109, 178, 241, 255, 231, 245, 255, 255, 128, 128, 128], [44, 130, 201, 253, 205, 192, 255, 255, 128, 128, 128]], [[1, 132, 239, 251, 219, 209, 255, 165, 128, 128, 128], [94, 136, 225, 251, 218, 190, 255, 255, 128, 128, 128], [22, 100, 174, 245, 186, 161, 255, 199, 128, 128, 128]], [[1, 182, 249, 255, 232, 235, 128, 128, 128, 128, 128], [124, 143, 241, 255, 227, 234, 128, 128, 128, 128, 128], [35, 77, 181, 251, 193, 211, 255, 205, 128, 128, 128]], [[1, 157, 247, 255, 236, 231, 255, 255, 128, 128, 128], [121, 141, 235, 255, 225, 227, 255, 255, 128, 128, 128], [45, 99, 188, 251, 195, 217, 255, 224, 128, 128, 128]], [[1, 1, 251, 255, 213, 255, 128, 128, 128, 128, 128], [203, 1, 248, 255, 255, 128, 128, 128, 128, 128, 128], [137, 1, 177, 255, 224, 255, 128, 128, 128, 128, 128]]], [[[253, 9, 248, 251, 207, 208, 255, 192, 128, 128, 128], [175, 13, 224, 243, 193, 185, 249, 198, 255, 255, 128], [73, 17, 171, 221, 161, 179, 236, 167, 255, 234, 128]], [[1, 95, 247, 253, 212, 183, 255, 255, 128, 128, 128], [239, 90, 244, 250, 211, 209, 255, 255, 128, 128, 128], [155, 77, 195, 248, 188, 195, 255, 255, 128, 128, 128]], [[1, 24, 239, 251, 218, 219, 255, 205, 128, 128, 128], [201, 51, 219, 255, 196, 186, 128, 128, 128, 128, 128], [69, 46, 190, 239, 201, 218, 255, 228, 128, 128, 128]], [[1, 191, 251, 255, 255, 128, 128, 128, 128, 128, 128], [223, 165, 249, 255, 213, 255, 128, 128, 128, 128, 128], [141, 124, 248, 255, 255, 128, 128, 128, 128, 128, 128]], [[1, 16, 248, 255, 255, 128, 128, 128, 128, 128, 128], [190, 36, 230, 255, 236, 255, 128, 128, 128, 128, 128], [149, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 226, 255, 128, 128, 128, 128, 128, 128, 128, 128], [247, 192, 255, 128, 128, 128, 128, 128, 128, 128, 128], [240, 128, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 134, 252, 255, 255, 128, 128, 128, 128, 128, 128], [213, 62, 250, 255, 255, 128, 128, 128, 128, 128, 128], [55, 93, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[202, 24, 213, 235, 186, 191, 220, 160, 240, 175, 255], [126, 38, 182, 232, 169, 184, 228, 174, 255, 187, 128], [61, 46, 138, 219, 151, 178, 240, 170, 255, 216, 128]], [[1, 112, 230, 250, 199, 191, 247, 159, 255, 255, 128], [166, 109, 228, 252, 211, 215, 255, 174, 128, 128, 128], [39, 77, 162, 232, 172, 180, 245, 178, 255, 255, 128]], [[1, 52, 220, 246, 198, 199, 249, 220, 255, 255, 128], [124, 74, 191, 243, 183, 193, 250, 221, 255, 255, 128], [24, 71, 130, 219, 154, 170, 243, 182, 255, 255, 128]], [[1, 182, 225, 249, 219, 240, 255, 224, 128, 128, 128], [149, 150, 226, 252, 216, 205, 255, 171, 128, 128, 128], [28, 108, 170, 242, 183, 194, 254, 223, 255, 255, 128]], [[1, 81, 230, 252, 204, 203, 255, 192, 128, 128, 128], [123, 102, 209, 247, 188, 196, 255, 233, 128, 128, 128], [20, 95, 153, 243, 164, 173, 255, 203, 128, 128, 128]], [[1, 222, 248, 255, 216, 213, 128, 128, 128, 128, 128], [168, 175, 246, 252, 235, 205, 255, 255, 128, 128, 128], [47, 116, 215, 255, 211, 212, 255, 255, 128, 128, 128]], [[1, 121, 236, 253, 212, 214, 255, 255, 128, 128, 128], [141, 84, 213, 252, 201, 202, 255, 219, 128, 128, 128], [42, 80, 160, 240, 162, 185, 255, 205, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [244, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [238, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]]]], Zl = [[[231, 120, 48, 89, 115, 113, 120, 152, 112], [152, 179, 64, 126, 170, 118, 46, 70, 95], [175, 69, 143, 80, 85, 82, 72, 155, 103], [56, 58, 10, 171, 218, 189, 17, 13, 152], [114, 26, 17, 163, 44, 195, 21, 10, 173], [121, 24, 80, 195, 26, 62, 44, 64, 85], [144, 71, 10, 38, 171, 213, 144, 34, 26], [170, 46, 55, 19, 136, 160, 33, 206, 71], [63, 20, 8, 114, 114, 208, 12, 9, 226], [81, 40, 11, 96, 182, 84, 29, 16, 36]], [[134, 183, 89, 137, 98, 101, 106, 165, 148], [72, 187, 100, 130, 157, 111, 32, 75, 80], [66, 102, 167, 99, 74, 62, 40, 234, 128], [41, 53, 9, 178, 241, 141, 26, 8, 107], [74, 43, 26, 146, 73, 166, 49, 23, 157], [65, 38, 105, 160, 51, 52, 31, 115, 128], [104, 79, 12, 27, 217, 255, 87, 17, 7], [87, 68, 71, 44, 114, 51, 15, 186, 23], [47, 41, 14, 110, 182, 183, 21, 17, 194], [66, 45, 25, 102, 197, 189, 23, 18, 22]], [[88, 88, 147, 150, 42, 46, 45, 196, 205], [43, 97, 183, 117, 85, 38, 35, 179, 61], [39, 53, 200, 87, 26, 21, 43, 232, 171], [56, 34, 51, 104, 114, 102, 29, 93, 77], [39, 28, 85, 171, 58, 165, 90, 98, 64], [34, 22, 116, 206, 23, 34, 43, 166, 73], [107, 54, 32, 26, 51, 1, 81, 43, 31], [68, 25, 106, 22, 64, 171, 36, 225, 114], [34, 19, 21, 102, 132, 188, 16, 76, 124], [62, 18, 78, 95, 85, 57, 50, 48, 51]], [[193, 101, 35, 159, 215, 111, 89, 46, 111], [60, 148, 31, 172, 219, 228, 21, 18, 111], [112, 113, 77, 85, 179, 255, 38, 120, 114], [40, 42, 1, 196, 245, 209, 10, 25, 109], [88, 43, 29, 140, 166, 213, 37, 43, 154], [61, 63, 30, 155, 67, 45, 68, 1, 209], [100, 80, 8, 43, 154, 1, 51, 26, 71], [142, 78, 78, 16, 255, 128, 34, 197, 171], [41, 40, 5, 102, 211, 183, 4, 1, 221], [51, 50, 17, 168, 209, 192, 23, 25, 82]], [[138, 31, 36, 171, 27, 166, 38, 44, 229], [67, 87, 58, 169, 82, 115, 26, 59, 179], [63, 59, 90, 180, 59, 166, 93, 73, 154], [40, 40, 21, 116, 143, 209, 34, 39, 175], [47, 15, 16, 183, 34, 223, 49, 45, 183], [46, 17, 33, 183, 6, 98, 15, 32, 183], [57, 46, 22, 24, 128, 1, 54, 17, 37], [65, 32, 73, 115, 28, 128, 23, 128, 205], [40, 3, 9, 115, 51, 192, 18, 6, 223], [87, 37, 9, 115, 59, 77, 64, 21, 47]], [[104, 55, 44, 218, 9, 54, 53, 130, 226], [64, 90, 70, 205, 40, 41, 23, 26, 57], [54, 57, 112, 184, 5, 41, 38, 166, 213], [30, 34, 26, 133, 152, 116, 10, 32, 134], [39, 19, 53, 221, 26, 114, 32, 73, 255], [31, 9, 65, 234, 2, 15, 1, 118, 73], [75, 32, 12, 51, 192, 255, 160, 43, 51], [88, 31, 35, 67, 102, 85, 55, 186, 85], [56, 21, 23, 111, 59, 205, 45, 37, 192], [55, 38, 70, 124, 73, 102, 1, 34, 98]], [[125, 98, 42, 88, 104, 85, 117, 175, 82], [95, 84, 53, 89, 128, 100, 113, 101, 45], [75, 79, 123, 47, 51, 128, 81, 171, 1], [57, 17, 5, 71, 102, 57, 53, 41, 49], [38, 33, 13, 121, 57, 73, 26, 1, 85], [41, 10, 67, 138, 77, 110, 90, 47, 114], [115, 21, 2, 10, 102, 255, 166, 23, 6], [101, 29, 16, 10, 85, 128, 101, 196, 26], [57, 18, 10, 102, 102, 213, 34, 20, 43], [117, 20, 15, 36, 163, 128, 68, 1, 26]], [[102, 61, 71, 37, 34, 53, 31, 243, 192], [69, 60, 71, 38, 73, 119, 28, 222, 37], [68, 45, 128, 34, 1, 47, 11, 245, 171], [62, 17, 19, 70, 146, 85, 55, 62, 70], [37, 43, 37, 154, 100, 163, 85, 160, 1], [63, 9, 92, 136, 28, 64, 32, 201, 85], [75, 15, 9, 9, 64, 255, 184, 119, 16], [86, 6, 28, 5, 64, 255, 25, 248, 1], [56, 8, 17, 132, 137, 255, 55, 116, 128], [58, 15, 20, 82, 135, 57, 26, 121, 40]], [[164, 50, 31, 137, 154, 133, 25, 35, 218], [51, 103, 44, 131, 131, 123, 31, 6, 158], [86, 40, 64, 135, 148, 224, 45, 183, 128], [22, 26, 17, 131, 240, 154, 14, 1, 209], [45, 16, 21, 91, 64, 222, 7, 1, 197], [56, 21, 39, 155, 60, 138, 23, 102, 213], [83, 12, 13, 54, 192, 255, 68, 47, 28], [85, 26, 85, 85, 128, 128, 32, 146, 171], [18, 11, 7, 63, 144, 171, 4, 4, 246], [35, 27, 10, 146, 174, 171, 12, 26, 128]], [[190, 80, 35, 99, 180, 80, 126, 54, 45], [85, 126, 47, 87, 176, 51, 41, 20, 32], [101, 75, 128, 139, 118, 146, 116, 128, 85], [56, 41, 15, 176, 236, 85, 37, 9, 62], [71, 30, 17, 119, 118, 255, 17, 18, 138], [101, 38, 60, 138, 55, 70, 43, 26, 142], [146, 36, 19, 30, 171, 255, 97, 27, 20], [138, 45, 61, 62, 219, 1, 81, 188, 64], [32, 41, 20, 117, 151, 142, 20, 21, 163], [112, 19, 12, 61, 195, 128, 48, 4, 24]]], Vs = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[176, 246, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 241, 252, 255, 255, 255, 255, 255, 255, 255, 255], [249, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 244, 252, 255, 255, 255, 255, 255, 255, 255, 255], [234, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 246, 254, 255, 255, 255, 255, 255, 255, 255, 255], [239, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 254, 255, 255, 255, 255, 255, 255], [250, 255, 254, 255, 254, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [225, 252, 241, 253, 255, 255, 254, 255, 255, 255, 255], [234, 250, 241, 250, 253, 255, 253, 254, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [238, 253, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [249, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255], [247, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[186, 251, 250, 255, 255, 255, 255, 255, 255, 255, 255], [234, 251, 244, 254, 255, 255, 255, 255, 255, 255, 255], [251, 251, 243, 253, 254, 255, 254, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [236, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 253, 253, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [250, 254, 252, 254, 255, 255, 255, 255, 255, 255, 255], [248, 254, 249, 253, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [246, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 254, 251, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 252, 255, 255, 255, 255, 255, 255, 255, 255], [248, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [245, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255], [249, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]]], qt = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], _o = [], Es = [], Oo = [], Jl = 1, al = 2, Do = [], Cn = [];
56071
56071
  lt("UpsampleRgbLinePair", Gn, 3), lt("UpsampleBgrLinePair", Or, 3), lt("UpsampleRgbaLinePair", ls, 4), lt("UpsampleBgraLinePair", fn, 4), lt("UpsampleArgbLinePair", Di, 4), lt("UpsampleRgba4444LinePair", Nn, 2), lt("UpsampleRgb565LinePair", ri, 2);
56072
- var oh = ye.UpsampleRgbLinePair, hf = ye.UpsampleBgrLinePair, gu = ye.UpsampleRgbaLinePair, $h = ye.UpsampleBgraLinePair, ll = ye.UpsampleArgbLinePair, ah = ye.UpsampleRgba4444LinePair, lh = ye.UpsampleRgb565LinePair, Oc = 16, mu = 1 << Oc - 1, cl = -227, ch = 482, Zh = 6, Ts = (256 << Zh) - 1, vr = 0, Yl = o(256), _u = o(256), yu = o(256), Jh = o(256), Dc = o(ch - cl), Fc = o(ch - cl);
56072
+ var sh = ye.UpsampleRgbLinePair, hf = ye.UpsampleBgrLinePair, gu = ye.UpsampleRgbaLinePair, $h = ye.UpsampleBgraLinePair, ll = ye.UpsampleArgbLinePair, oh = ye.UpsampleRgba4444LinePair, ah = ye.UpsampleRgb565LinePair, Oc = 16, mu = 1 << Oc - 1, cl = -227, lh = 482, Zh = 6, Ts = (256 << Zh) - 1, vr = 0, Yl = o(256), _u = o(256), yu = o(256), Jh = o(256), Dc = o(lh - cl), Fc = o(lh - cl);
56073
56073
  Kn("YuvToRgbRow", Gn, 3), Kn("YuvToBgrRow", Or, 3), Kn("YuvToRgbaRow", ls, 4), Kn("YuvToBgraRow", fn, 4), Kn("YuvToArgbRow", Di, 4), Kn("YuvToRgba4444Row", Nn, 2), Kn("YuvToRgb565Row", ri, 2);
56074
56074
  var yo = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], Oa = [0, 2, 8], Yt = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], gn = 1;
56075
56075
  this.WebPDecodeRGBA = function(A, M, g, s, h) {
@@ -56596,7 +56596,7 @@ function(n) {
56596
56596
  */
56597
56597
  function(n) {
56598
56598
  function e() {
56599
- return (Rn.canvg ? Promise.resolve(Rn.canvg) : import("./index.es-BWyxJuJN-dA_ZHTSR.mjs")).catch(function(t) {
56599
+ return (Rn.canvg ? Promise.resolve(Rn.canvg) : import("./index.es-BWyxJuJN-NjlKhAaH.mjs")).catch(function(t) {
56600
56600
  return Promise.reject(new Error("Could not load canvg: " + t));
56601
56601
  }).then(function(t) {
56602
56602
  return t.default ? t.default : t;
@@ -56963,7 +56963,7 @@ function(n) {
56963
56963
  }(Bn), Bn.API.TTFFont = function() {
56964
56964
  function n(e) {
56965
56965
  var t;
56966
- if (this.rawData = e, t = this.contents = new Zu(e), this.contents.pos = 4, t.readString(4) === "ttcf") throw new Error("TTCF not supported.");
56966
+ if (this.rawData = e, t = this.contents = new $u(e), this.contents.pos = 4, t.readString(4) === "ttcf") throw new Error("TTCF not supported.");
56967
56967
  t.pos = 0, this.parse(), this.subset = new jV(this), this.registerTTF();
56968
56968
  }
56969
56969
  return n.open = function(e) {
@@ -56992,7 +56992,7 @@ function(n) {
56992
56992
  return t == null && (t = !1), r = t ? this.lineGap : 0, (this.ascender + r - this.decender) / 1e3 * e;
56993
56993
  }, n;
56994
56994
  }();
56995
- var Il, Zu = function() {
56995
+ var Il, $u = function() {
56996
56996
  function n(e) {
56997
56997
  this.data = e ?? [], this.pos = 0, this.length = this.data.length;
56998
56998
  }
@@ -57057,12 +57057,12 @@ var Il, Zu = function() {
57057
57057
  }
57058
57058
  return e.prototype.encode = function(t) {
57059
57059
  var r, i, o, c, l, _, b, w, T, I, P, N, U;
57060
- for (U in P = Object.keys(t).length, _ = Math.log(2), T = 16 * Math.floor(Math.log(P) / _), c = Math.floor(T / _), w = 16 * P - T, (i = new Zu()).writeInt(this.scalarType), i.writeShort(P), i.writeShort(T), i.writeShort(c), i.writeShort(w), o = 16 * P, b = i.pos + o, l = null, N = [], t) for (I = t[U], i.writeString(U), i.writeInt(n(I)), i.writeInt(b), i.writeInt(I.length), N = N.concat(I), U === "head" && (l = b), b += I.length; b % 4; ) N.push(0), b++;
57060
+ for (U in P = Object.keys(t).length, _ = Math.log(2), T = 16 * Math.floor(Math.log(P) / _), c = Math.floor(T / _), w = 16 * P - T, (i = new $u()).writeInt(this.scalarType), i.writeShort(P), i.writeShort(T), i.writeShort(c), i.writeShort(w), o = 16 * P, b = i.pos + o, l = null, N = [], t) for (I = t[U], i.writeString(U), i.writeInt(n(I)), i.writeInt(b), i.writeInt(I.length), N = N.concat(I), U === "head" && (l = b), b += I.length; b % 4; ) N.push(0), b++;
57061
57061
  return i.write(N), r = 2981146554 - n(i.data), i.pos = l + 8, i.writeUInt32(r), i.data;
57062
57062
  }, n = function(t) {
57063
57063
  var r, i, o, c;
57064
57064
  for (t = kT.call(t); t.length % 4; ) t.push(0);
57065
- for (o = new Zu(t), i = 0, r = 0, c = t.length; r < c; r = r += 4) i += o.readUInt32();
57065
+ for (o = new $u(t), i = 0, r = 0, c = t.length; r < c; r = r += 4) i += o.readUInt32();
57066
57066
  return 4294967295 & i;
57067
57067
  }, e;
57068
57068
  }(), IV = {}.hasOwnProperty, wc = function(n, e) {
@@ -57091,7 +57091,7 @@ var PV = function(n) {
57091
57091
  return t.pos = this.offset, this.version = t.readInt(), this.revision = t.readInt(), this.checkSumAdjustment = t.readInt(), this.magicNumber = t.readInt(), this.flags = t.readShort(), this.unitsPerEm = t.readShort(), this.created = t.readLongLong(), this.modified = t.readLongLong(), this.xMin = t.readShort(), this.yMin = t.readShort(), this.xMax = t.readShort(), this.yMax = t.readShort(), this.macStyle = t.readShort(), this.lowestRecPPEM = t.readShort(), this.fontDirectionHint = t.readShort(), this.indexToLocFormat = t.readShort(), this.glyphDataFormat = t.readShort();
57092
57092
  }, e.prototype.encode = function(t) {
57093
57093
  var r;
57094
- return (r = new Zu()).writeInt(this.version), r.writeInt(this.revision), r.writeInt(this.checkSumAdjustment), r.writeInt(this.magicNumber), r.writeShort(this.flags), r.writeShort(this.unitsPerEm), r.writeLongLong(this.created), r.writeLongLong(this.modified), r.writeShort(this.xMin), r.writeShort(this.yMin), r.writeShort(this.xMax), r.writeShort(this.yMax), r.writeShort(this.macStyle), r.writeShort(this.lowestRecPPEM), r.writeShort(this.fontDirectionHint), r.writeShort(t), r.writeShort(this.glyphDataFormat), r.data;
57094
+ return (r = new $u()).writeInt(this.version), r.writeInt(this.revision), r.writeInt(this.checkSumAdjustment), r.writeInt(this.magicNumber), r.writeShort(this.flags), r.writeShort(this.unitsPerEm), r.writeLongLong(this.created), r.writeLongLong(this.modified), r.writeShort(this.xMin), r.writeShort(this.yMin), r.writeShort(this.xMax), r.writeShort(this.yMax), r.writeShort(this.macStyle), r.writeShort(this.lowestRecPPEM), r.writeShort(this.fontDirectionHint), r.writeShort(t), r.writeShort(this.glyphDataFormat), r.data;
57095
57095
  }, e;
57096
57096
  }(), t5 = function() {
57097
57097
  function n(e, t) {
@@ -57127,7 +57127,7 @@ var PV = function(n) {
57127
57127
  }
57128
57128
  return n.encode = function(e, t) {
57129
57129
  var r, i, o, c, l, _, b, w, T, I, P, N, U, G, H, $, re, ge, Ee, Re, Le, ye, Ge, Fe, oe, pe, Te, xe, et, rt, st, Je, ct, ot, Mt, ie, Ae, Ce, Ue, qe, He, Ye, Ze, St, Lt, Dt;
57130
- switch (xe = new Zu(), c = Object.keys(e).sort(function(Nt, an) {
57130
+ switch (xe = new $u(), c = Object.keys(e).sort(function(Nt, an) {
57131
57131
  return Nt - an;
57132
57132
  }), t) {
57133
57133
  case "macroman":
@@ -57165,7 +57165,7 @@ var PV = function(n) {
57165
57165
  return !0;
57166
57166
  }, e.encode = function(t, r) {
57167
57167
  var i, o;
57168
- return r == null && (r = "macroman"), i = t5.encode(t, r), (o = new Zu()).writeUInt16(0), o.writeUInt16(1), i.table = o.data.concat(i.subtable), i;
57168
+ return r == null && (r = "macroman"), i = t5.encode(t, r), (o = new $u()).writeUInt16(0), o.writeUInt16(1), i.table = o.data.concat(i.subtable), i;
57169
57169
  }, e;
57170
57170
  }(), LV = function(n) {
57171
57171
  function e() {
@@ -57272,7 +57272,7 @@ var PV = function(n) {
57272
57272
  return this.cache = {};
57273
57273
  }, e.prototype.glyphFor = function(t) {
57274
57274
  var r, i, o, c, l, _, b, w, T, I;
57275
- return t in this.cache ? this.cache[t] : (c = this.file.loca, r = this.file.contents, i = c.indexOf(t), (o = c.lengthOf(t)) === 0 ? this.cache[t] = null : (r.pos = this.offset + i, l = (_ = new Zu(r.read(o))).readShort(), w = _.readShort(), I = _.readShort(), b = _.readShort(), T = _.readShort(), this.cache[t] = l === -1 ? new zV(_, w, I, b, T) : new NV(_, l, w, I, b, T), this.cache[t]));
57275
+ return t in this.cache ? this.cache[t] : (c = this.file.loca, r = this.file.contents, i = c.indexOf(t), (o = c.lengthOf(t)) === 0 ? this.cache[t] = null : (r.pos = this.offset + i, l = (_ = new $u(r.read(o))).readShort(), w = _.readShort(), I = _.readShort(), b = _.readShort(), T = _.readShort(), this.cache[t] = l === -1 ? new zV(_, w, I, b, T) : new NV(_, l, w, I, b, T), this.cache[t]));
57276
57276
  }, e.prototype.encode = function(t, r, i) {
57277
57277
  var o, c, l, _, b;
57278
57278
  for (l = [], c = [], _ = 0, b = r.length; _ < b; _++) o = t[r[_]], c.push(l.length), o && (l = l.concat(o.encode(i)));
@@ -57292,7 +57292,7 @@ var PV = function(n) {
57292
57292
  }
57293
57293
  return n.prototype.encode = function() {
57294
57294
  var e, t, r;
57295
- for (t = new Zu(kT.call(this.raw.data)), e = 0, r = this.glyphIDs.length; e < r; ++e) t.pos = this.glyphOffsets[e];
57295
+ for (t = new $u(kT.call(this.raw.data)), e = 0, r = this.glyphIDs.length; e < r; ++e) t.pos = this.glyphOffsets[e];
57296
57296
  return t.data;
57297
57297
  }, n;
57298
57298
  }(), UV = function(n) {
@@ -57390,7 +57390,7 @@ class GV {
57390
57390
  * @param fileName file name. default is 'map'
57391
57391
  */
57392
57392
  constructor(e) {
57393
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Lh.A4, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 300, i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : Jc.PNG, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : tf.mm, c = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : "map", l = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : "maplibregl-marker", _ = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : Rb, b = arguments.length > 8 && arguments[8] !== void 0 ? arguments[8] : "maplibregl-ctrl-attrib-inner", w = arguments.length > 9 && arguments[9] !== void 0 ? arguments[9] : Ob;
57393
+ let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ph.A4, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 300, i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : Jc.PNG, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : tf.mm, c = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : "map", l = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : "maplibregl-marker", _ = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : Rb, b = arguments.length > 8 && arguments[8] !== void 0 ? arguments[8] : "maplibregl-ctrl-attrib-inner", w = arguments.length > 9 && arguments[9] !== void 0 ? arguments[9] : Ob;
57394
57394
  gr(this, "map"), gr(this, "width"), gr(this, "height"), gr(this, "dpi"), gr(this, "format"), gr(this, "unit"), gr(this, "fileName"), gr(this, "markerClassName"), gr(this, "markerCirclePaint"), gr(this, "attributionClassName"), gr(this, "attributionStyle"), this.map = e, this.width = t[0], this.height = t[1], this.dpi = r, this.format = i, this.unit = o, this.fileName = c, this.markerClassName = l, this.markerCirclePaint = _, this.attributionClassName = b, this.attributionStyle = w;
57395
57395
  }
57396
57396
  renderMapPost(e) {
@@ -57570,7 +57570,7 @@ class VV extends GV {
57570
57570
  * @param fileName file name. default is 'map'
57571
57571
  */
57572
57572
  constructor(e) {
57573
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Lh.A4, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 300, i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : Jc.PNG, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : tf.mm, c = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : "map", l = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : Rb, _ = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : Ob;
57573
+ let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ph.A4, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 300, i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : Jc.PNG, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : tf.mm, c = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : "map", l = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : Rb, _ = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : Ob;
57574
57574
  super(e, t, r, i, o, c, "maplibregl-marker", l, "maplibregl-ctrl-attrib-inner", _);
57575
57575
  }
57576
57576
  getRenderedMap(e, t) {
@@ -57603,7 +57603,7 @@ class VV extends GV {
57603
57603
  }
57604
57604
  class qV {
57605
57605
  constructor(e) {
57606
- gr(this, "controlContainer"), gr(this, "exportContainer"), gr(this, "crosshair"), gr(this, "printableArea"), gr(this, "map"), gr(this, "exportButton"), gr(this, "options", { PageSize: Lh.A4, PageOrientation: ip.Landscape, Format: Jc.PDF, DPI: Wy[300], Crosshair: !1, PrintableArea: !1, Local: "en", AllowedSizes: Object.keys(Lh), Filename: "map", markerCirclePaint: Rb, attributionStyle: Ob }), gr(this, "MAPLIB_CSS_PREFIX", "maplibregl"), e && (this.options = Object.assign(this.options, e)), this.onDocumentClick = this.onDocumentClick.bind(this);
57606
+ gr(this, "controlContainer"), gr(this, "exportContainer"), gr(this, "crosshair"), gr(this, "printableArea"), gr(this, "map"), gr(this, "exportButton"), gr(this, "options", { PageSize: Ph.A4, PageOrientation: ip.Landscape, Format: Jc.PDF, DPI: Wy[300], Crosshair: !1, PrintableArea: !1, Local: "en", AllowedSizes: Object.keys(Ph), Filename: "map", markerCirclePaint: Rb, attributionStyle: Ob }), gr(this, "MAPLIB_CSS_PREFIX", "maplibregl"), e && (this.options = Object.assign(this.options, e)), this.onDocumentClick = this.onDocumentClick.bind(this);
57607
57607
  }
57608
57608
  getDefaultPosition() {
57609
57609
  return "top-right";
@@ -57621,7 +57621,7 @@ class qV {
57621
57621
  r.className = "print-table";
57622
57622
  const i = {};
57623
57623
  (t = this.options.AllowedSizes) == null || t.forEach((w) => {
57624
- Lh[w] && (i[w] = Lh[w]);
57624
+ Ph[w] && (i[w] = Ph[w]);
57625
57625
  });
57626
57626
  const o = this.createSelection(i, this.getTranslation().PageSize, "page-size", this.options.PageSize, (w, T) => JSON.stringify(w[T]));
57627
57627
  r.appendChild(o);
@@ -60021,7 +60021,7 @@ const Oq = /* @__PURE__ */ Ip(Rq), Dq = {
60021
60021
  cims: "https://geoserveis.icgc.cat/icc_100cims/wms/service?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=0&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG:25831&BBOX=137118.923076923,4488408.75,650959.076923077,4749634.75&WIDTH=895&HEIGHT=455",
60022
60022
  cobertesSol: "http://geoserveis.icgc.cat/servei/catalunya/cobertes-sol/wms?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&LAYERS=cobertes_2009&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:25831&BBOX=374110.828167253,4639230.79853085,452621.120632226,4703578.45000215&WIDTH=1020&HEIGHT=836"
60023
60023
  }
60024
- }, Gu = {
60024
+ }, Lh = {
60025
60025
  defaultOptions: Dq,
60026
60026
  Styles: Fq,
60027
60027
  Terrains: kq,
@@ -60032,7 +60032,7 @@ class zq {
60032
60032
  this.options = e || {};
60033
60033
  }
60034
60034
  onAdd(e) {
60035
- let t = Gu.defaultOptions;
60035
+ let t = Lh.defaultOptions;
60036
60036
  return this._map = e, this._img1 = document.createElement("img"), this._img1.className = "maplibregl-ctrl", this._img1.src = this.options.color ? t.logoIcgcOptions.logoUrlColor : t.logoIcgcOptions.logoUrlWhite, this._img1.width = t.logoIcgcOptions.logoWidth, this._img1.title = t.logoIcgcOptions.logoTitle, this._img1.style.opacity = t.logoIcgcOptions.logoOpacity, this.link1 = document.createElement("a"), this.link1.href = t.logoIcgcOptions.logoLink, this.link1.target = "_blank", this.link1.appendChild(this._img1), this._container1 = document.createElement("div"), this._container1.className = "maplibregl-ctrl", this._container1.style.width = `${t.logoIcgcOptions.logoWidth}px`, this._container1.appendChild(this.link1), this._img2 = document.createElement("img"), this._img2.className = "maplibregl-ctrl", this._img2.src = this.options.color ? t.logoGencatOptions.logoUrlColor : t.logoGencatOptions.logoUrlWhite, this._img2.width = t.logoGencatOptions.logoWidth, this._img2.title = t.logoGencatOptions.logoTitle, this._img2.style.opacity = t.logoGencatOptions.logoOpacity, this.link2 = document.createElement("a"), this.link2.href = t.logoGencatOptions.logoLink, this.link2.target = "_blank", this.link2.appendChild(this._img2), this._container2 = document.createElement("div"), this._container2.className = "maplibregl-ctrl", this._container2.style.width = `${t.logoGencatOptions.logoWidth}px`, this._container2.appendChild(this.link2), this._mainContainer = document.createElement("div"), this._mainContainer.className = "divLogos", this._mainContainer.style = "display: flex", this._mainContainer.appendChild(this._container1), this._mainContainer.appendChild(this._container2), this._mainContainer;
60037
60037
  }
60038
60038
  }
@@ -61889,9 +61889,9 @@ class bW {
61889
61889
  const e = await Wi.get(_W, {
61890
61890
  timeout: yW
61891
61891
  });
61892
- return e.data || console.log("Resposta sense dades:", e), Gu;
61892
+ return e.data ? e.data : (console.log("Resposta sense dades:", e), Lh);
61893
61893
  } catch (e) {
61894
- return e.response ? (console.error("Error de resposta:", e.response.data), console.error("Codi d'estat:", e.response.status)) : e.request ? console.error("No s'ha rebut resposta del servidor:", e.request) : console.error("Error:", e.message), Gu;
61894
+ return e.response ? (console.error("Error de resposta:", e.response.data), console.error("Codi d'estat:", e.response.status)) : e.request ? console.error("No s'ha rebut resposta del servidor:", e.request) : console.error("Error:", e.message), Lh;
61895
61895
  }
61896
61896
  }
61897
61897
  }
@@ -61902,14 +61902,14 @@ const vW = {
61902
61902
  }, xW = {
61903
61903
  cobertesSol: vW
61904
61904
  }, wW = "lines", Vg = "labels";
61905
- let wh, ep, Si, hr, BW = class {
61905
+ let xh, ep, Si, hr, BW = class {
61906
61906
  /**
61907
61907
  * Constructor for the Map class.
61908
61908
  * @param {Object} options - Options to initialize the map.
61909
61909
  */
61910
61910
  constructor(e) {
61911
61911
  bW.getConfigICGC().then((t) => {
61912
- wh = {
61912
+ xh = {
61913
61913
  ...t.Styles
61914
61914
  }, Si = {
61915
61915
  ...t.Layers
@@ -61919,14 +61919,14 @@ let wh, ep, Si, hr, BW = class {
61919
61919
  ...t.defaultOptions
61920
61920
  }, this.initTheMap(e);
61921
61921
  }).catch((t) => {
61922
- console.info("Configuracio per defecte", t), wh = {
61923
- ...Gu.Styles
61922
+ console.info("Configuracio per defecte", t), xh = {
61923
+ ...Lh.Styles
61924
61924
  }, Si = {
61925
- ...Gu.Layers
61925
+ ...Lh.Layers
61926
61926
  }, ep = {
61927
- ...Gu.Terrains
61927
+ ...Lh.Terrains
61928
61928
  }, hr = {
61929
- ...Gu.defaultOptions
61929
+ ...Lh.defaultOptions
61930
61930
  }, this.initTheMap(e);
61931
61931
  });
61932
61932
  }
@@ -61964,7 +61964,7 @@ let wh, ep, Si, hr, BW = class {
61964
61964
  });
61965
61965
  })) : this.map = new gs.Map(e), this.map.on("load", () => {
61966
61966
  if (!t) {
61967
- const r = this.map.getStyle().name, i = this.map.options.style;
61967
+ const r = this.map.getStyle().name, i = e.style;
61968
61968
  this.map.addControl(new zq({
61969
61969
  color: i.indexOf("orto") === -1,
61970
61970
  defaultOptions: hr
@@ -62043,7 +62043,7 @@ let wh, ep, Si, hr, BW = class {
62043
62043
  getConfigStyles() {
62044
62044
  try {
62045
62045
  let e = [];
62046
- for (const t of wh)
62046
+ for (const t of xh)
62047
62047
  e.push(t.name);
62048
62048
  return e;
62049
62049
  } catch (e) {
@@ -62537,7 +62537,6 @@ let wh, ep, Si, hr, BW = class {
62537
62537
  * @param {Object} [options] - Options for setting the style.
62538
62538
  */
62539
62539
  setStyle(e, t) {
62540
- console.log("style", e, t);
62541
62540
  try {
62542
62541
  t !== void 0 ? this.map.setStyle(e, t) : this.map.setStyle(e), this.map.on("styledata", () => {
62543
62542
  if (window.document.querySelector(".maplibregl-compact-show")) {
@@ -62576,28 +62575,42 @@ let wh, ep, Si, hr, BW = class {
62576
62575
  */
62577
62576
  setSky(e) {
62578
62577
  try {
62579
- e === void 0 && (this.map.options.style.includes("orto") && (e = {
62578
+ e === void 0 && (this.map.style.stylesheet.id.includes("orto") ? e = {
62580
62579
  "sky-color": "#86bbd5",
62581
62580
  "sky-horizon-blend": 0.3,
62582
62581
  "horizon-color": "#ffffff33",
62583
62582
  "horizon-fog-blend": 0.1,
62584
62583
  "fog-ground-blend": 0.75,
62585
62584
  "fog-color": "#c5d6d6"
62586
- }), this.map.options.style.includes("mapa_estandard_general") && (e = {
62585
+ } : this.map.style.stylesheet.id.includes("mapa_estandard_general") ? e = {
62586
+ "sky-color": "#a5f0f0",
62587
+ "sky-horizon-blend": 0.3,
62588
+ "horizon-color": "#e1e3e3",
62589
+ "horizon-fog-blend": 0.9,
62590
+ "fog-ground-blend": 0.85,
62591
+ "fog-color": "#c5d6d6"
62592
+ } : this.map.style.stylesheet.id.includes("icgc_mapa_vissir") ? e = {
62587
62593
  "sky-color": "#a5f0f0",
62588
62594
  "sky-horizon-blend": 0.3,
62589
62595
  "horizon-color": "#e1e3e3",
62590
62596
  "horizon-fog-blend": 0.9,
62591
62597
  "fog-ground-blend": 0.85,
62592
62598
  "fog-color": "#c5d6d6"
62593
- }), this.map.options.style.includes("fosc") && (e = {
62599
+ } : this.map.style.stylesheet.id.includes("fosc") ? e = {
62594
62600
  "sky-color": "#232423",
62595
62601
  "sky-horizon-blend": 0.3,
62596
62602
  "horizon-color": "#969996",
62597
62603
  "horizon-fog-blend": 0.9,
62598
62604
  "fog-ground-blend": 0.85,
62599
62605
  "fog-color": "#383838"
62600
- })), this.map.setSky(e);
62606
+ } : e = {
62607
+ "sky-color": "#86bbd5",
62608
+ "sky-horizon-blend": 0.3,
62609
+ "horizon-color": "#ffffff33",
62610
+ "horizon-fog-blend": 0.1,
62611
+ "fog-ground-blend": 0.75,
62612
+ "fog-color": "#c5d6d6"
62613
+ }), this.map.setSky(e);
62601
62614
  } catch (t) {
62602
62615
  console.error(`Error setting sky properties: ${t.message}`);
62603
62616
  }
@@ -63894,7 +63907,7 @@ let wh, ep, Si, hr, BW = class {
63894
63907
  addExportControl(e, t) {
63895
63908
  try {
63896
63909
  typeof e == "string" && (t = e, e = void 0), e === void 0 && (e = {
63897
- PageSize: Lh.A4,
63910
+ PageSize: Ph.A4,
63898
63911
  PageOrientation: ip.Landscape,
63899
63912
  Format: Jc.PNG,
63900
63913
  DPI: Wy[300],
@@ -64383,16 +64396,15 @@ let wh, ep, Si, hr, BW = class {
64383
64396
  * @returns {Object|string|null} - The map style object if found, or the input name if not found, or null if an error occurs.
64384
64397
  */
64385
64398
  _dealStyleMaps(e) {
64386
- console.log("****");
64387
64399
  try {
64388
- if (console.log("name", e), e && e.indexOf("icgc.cat") != -1) {
64389
- for (const t in wh)
64390
- if (wh.hasOwnProperty(t)) {
64391
- const r = wh[t];
64400
+ if (e && e.indexOf("icgc.cat") != -1) {
64401
+ for (const t in xh)
64402
+ if (xh.hasOwnProperty(t)) {
64403
+ const r = xh[t];
64392
64404
  if (t === e)
64393
64405
  return r;
64394
64406
  }
64395
- return wh[0];
64407
+ return xh[0];
64396
64408
  } else
64397
64409
  return e;
64398
64410
  } catch (t) {