@maptiler/geocoding-control 0.0.95 → 0.0.96-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/leaflet.js CHANGED
@@ -4,7 +4,7 @@ var ms = (r, t, e) => (Il(r, typeof t != "symbol" ? t + "" : t, e), e), ua = (r,
4
4
  if (!t.has(r))
5
5
  throw TypeError("Cannot " + e);
6
6
  };
7
- var Vn = (r, t, e) => (ua(r, t, "read from private field"), e ? e.call(r) : t.get(r)), _s = (r, t, e) => {
7
+ var or = (r, t, e) => (ua(r, t, "read from private field"), e ? e.call(r) : t.get(r)), _s = (r, t, e) => {
8
8
  if (t.has(r))
9
9
  throw TypeError("Cannot add the same private member more than once");
10
10
  t instanceof WeakSet ? t.add(r) : t.set(r, e);
@@ -96,7 +96,7 @@ function Dt(r) {
96
96
  function ht(r) {
97
97
  return document.createElement(r);
98
98
  }
99
- function Kn(r) {
99
+ function jn(r) {
100
100
  return document.createElementNS("http://www.w3.org/2000/svg", r);
101
101
  }
102
102
  function Rr(r) {
@@ -386,7 +386,7 @@ function Ul(r) {
386
386
  let t, e;
387
387
  return {
388
388
  c() {
389
- t = Kn("svg"), e = Kn("path"), b(e, "d", "M13.12.706a.982.982 0 0 0-1.391 0L6.907 5.517 2.087.696a.982.982 0 1 0-1.391 1.39l4.821 4.821L.696 11.73a.982.982 0 1 0 1.39 1.39l4.821-4.821 4.822 4.821a.982.982 0 1 0 1.39-1.39L8.298 6.908l4.821-4.822a.988.988 0 0 0 0-1.38Z"), b(t, "viewBox", "0 0 14 14"), b(t, "width", "13"), b(t, "height", "13"), b(t, "class", "svelte-en2qvf");
389
+ t = jn("svg"), e = jn("path"), b(e, "d", "M13.12.706a.982.982 0 0 0-1.391 0L6.907 5.517 2.087.696a.982.982 0 1 0-1.391 1.39l4.821 4.821L.696 11.73a.982.982 0 1 0 1.39 1.39l4.821-4.821 4.822 4.821a.982.982 0 1 0 1.39-1.39L8.298 6.908l4.821-4.822a.988.988 0 0 0 0-1.38Z"), b(t, "viewBox", "0 0 14 14"), b(t, "width", "13"), b(t, "height", "13"), b(t, "class", "svelte-en2qvf");
390
390
  },
391
391
  m(n, i) {
392
392
  Tt(n, t, i), nt(t, e);
@@ -408,7 +408,7 @@ function ql(r) {
408
408
  let t, e;
409
409
  return {
410
410
  c() {
411
- t = Kn("svg"), e = Kn("path"), b(e, "d", "M15 0C6.705 0 0 6.705 0 15C0 23.295 6.705 30 15 30C23.295 30 30 23.295 30 15C30 6.705 23.295 0 15 0ZM22.5 20.385L20.385 22.5L15 17.115L9.615 22.5L7.5 20.385L12.885 15L7.5 9.615L9.615 7.5L15 12.885L20.385 7.5L22.5 9.615L17.115 15L22.5 20.385Z"), b(t, "viewBox", "0 0 30 30"), b(t, "fill", "none"), b(t, "xmlns", "http://www.w3.org/2000/svg"), b(t, "class", "svelte-d2loi5");
411
+ t = jn("svg"), e = jn("path"), b(e, "d", "M15 0C6.705 0 0 6.705 0 15C0 23.295 6.705 30 15 30C23.295 30 30 23.295 30 15C30 6.705 23.295 0 15 0ZM22.5 20.385L20.385 22.5L15 17.115L9.615 22.5L7.5 20.385L12.885 15L7.5 9.615L9.615 7.5L15 12.885L20.385 7.5L22.5 9.615L17.115 15L22.5 20.385Z"), b(t, "viewBox", "0 0 30 30"), b(t, "fill", "none"), b(t, "xmlns", "http://www.w3.org/2000/svg"), b(t, "class", "svelte-d2loi5");
412
412
  },
413
413
  m(n, i) {
414
414
  Tt(n, t, i), nt(t, e);
@@ -858,7 +858,7 @@ function nc(r) {
858
858
  let t, e;
859
859
  return {
860
860
  c() {
861
- t = Kn("svg"), e = Kn("path"), b(e, "d", "M30.003-26.765C13.46-26.765 0-14.158 0 1.337c0 23.286 24.535 42.952 28.39 46.04.24.192.402.316.471.376.323.282.732.424 1.142.424.41 0 .82-.142 1.142-.424.068-.06.231-.183.471-.376 3.856-3.09 28.39-22.754 28.39-46.04 0-15.495-13.46-28.102-30.003-28.102Zm1.757 12.469c4.38 0 7.858 1.052 10.431 3.158 2.595 2.105 3.89 4.913 3.89 8.422 0 2.34-.53 4.362-1.593 6.063-1.063 1.702-3.086 3.616-6.063 5.742-2.042 1.51-3.337 2.659-3.89 3.446-.532.787-.8 1.82-.8 3.096v1.914h-8.449V15.18c0-2.041.434-3.815 1.306-5.325.872-1.51 2.467-3.118 4.785-4.82 2.233-1.594 3.7-2.89 4.402-3.889a5.582 5.582 0 0 0 1.087-3.35c0-1.382-.51-2.435-1.531-3.158-1.02-.723-2.45-1.087-4.28-1.087-3.19 0-6.826 1.047-10.91 3.131l-3.472-6.986c4.742-2.659 9.77-3.992 15.087-3.992Zm-1.88 37.324c1.765 0 3.124.472 4.08 1.408.98.936 1.47 2.276 1.47 4.02 0 1.68-.49 3.007-1.47 3.985-.977.957-2.336 1.435-4.08 1.435-1.787 0-3.171-.465-4.15-1.4-.978-.958-1.47-2.298-1.47-4.02 0-1.787.48-3.14 1.436-4.054.957-.915 2.355-1.374 4.184-1.374Z"), b(t, "viewBox", "0 0 60.006 21.412"), b(t, "width", "14"), b(t, "height", "20"), b(t, "class", "svelte-en2qvf");
861
+ t = jn("svg"), e = jn("path"), b(e, "d", "M30.003-26.765C13.46-26.765 0-14.158 0 1.337c0 23.286 24.535 42.952 28.39 46.04.24.192.402.316.471.376.323.282.732.424 1.142.424.41 0 .82-.142 1.142-.424.068-.06.231-.183.471-.376 3.856-3.09 28.39-22.754 28.39-46.04 0-15.495-13.46-28.102-30.003-28.102Zm1.757 12.469c4.38 0 7.858 1.052 10.431 3.158 2.595 2.105 3.89 4.913 3.89 8.422 0 2.34-.53 4.362-1.593 6.063-1.063 1.702-3.086 3.616-6.063 5.742-2.042 1.51-3.337 2.659-3.89 3.446-.532.787-.8 1.82-.8 3.096v1.914h-8.449V15.18c0-2.041.434-3.815 1.306-5.325.872-1.51 2.467-3.118 4.785-4.82 2.233-1.594 3.7-2.89 4.402-3.889a5.582 5.582 0 0 0 1.087-3.35c0-1.382-.51-2.435-1.531-3.158-1.02-.723-2.45-1.087-4.28-1.087-3.19 0-6.826 1.047-10.91 3.131l-3.472-6.986c4.742-2.659 9.77-3.992 15.087-3.992Zm-1.88 37.324c1.765 0 3.124.472 4.08 1.408.98.936 1.47 2.276 1.47 4.02 0 1.68-.49 3.007-1.47 3.985-.977.957-2.336 1.435-4.08 1.435-1.787 0-3.171-.465-4.15-1.4-.978-.958-1.47-2.298-1.47-4.02 0-1.787.48-3.14 1.436-4.054.957-.915 2.355-1.374 4.184-1.374Z"), b(t, "viewBox", "0 0 60.006 21.412"), b(t, "width", "14"), b(t, "height", "20"), b(t, "class", "svelte-en2qvf");
862
862
  },
863
863
  m(n, i) {
864
864
  Tt(n, t, i), nt(t, e);
@@ -880,7 +880,7 @@ function ic(r) {
880
880
  let t, e;
881
881
  return {
882
882
  c() {
883
- t = Kn("svg"), e = Kn("path"), b(e, "d", "M13.101 14.261 8.74 9.899a4.797 4.797 0 0 1-1.425.748 5.165 5.165 0 0 1-1.603.248c-1.446 0-2.677-.5-3.693-1.503S.495 7.164.495 5.717c0-1.446.508-2.678 1.524-3.693C3.035 1.008 4.266.5 5.712.5c1.448 0 2.672.508 3.675 1.524 1.002 1.015 1.503 2.247 1.503 3.693 0 .558-.08 1.092-.239 1.603-.159.512-.411.98-.757 1.405l4.382 4.4a.74.74 0 0 1 .229.568.81.81 0 0 1-.249.568.787.787 0 0 1-.577.239.787.787 0 0 1-.578-.239ZM5.712 9.223c.97 0 1.796-.342 2.48-1.026a3.378 3.378 0 0 0 1.026-2.48c0-.982-.34-1.818-1.016-2.509-.677-.69-1.507-1.035-2.49-1.035a3.42 3.42 0 0 0-2.509 1.035 3.42 3.42 0 0 0-1.035 2.51c0 .982.345 1.812 1.035 2.488.691.678 1.527 1.017 2.51 1.017Z"), b(t, "width", "14"), b(t, "height", "14"), b(t, "viewBox", "0 0 15 15"), b(t, "class", "svelte-en2qvf");
883
+ t = jn("svg"), e = jn("path"), b(e, "d", "M13.101 14.261 8.74 9.899a4.797 4.797 0 0 1-1.425.748 5.165 5.165 0 0 1-1.603.248c-1.446 0-2.677-.5-3.693-1.503S.495 7.164.495 5.717c0-1.446.508-2.678 1.524-3.693C3.035 1.008 4.266.5 5.712.5c1.448 0 2.672.508 3.675 1.524 1.002 1.015 1.503 2.247 1.503 3.693 0 .558-.08 1.092-.239 1.603-.159.512-.411.98-.757 1.405l4.382 4.4a.74.74 0 0 1 .229.568.81.81 0 0 1-.249.568.787.787 0 0 1-.577.239.787.787 0 0 1-.578-.239ZM5.712 9.223c.97 0 1.796-.342 2.48-1.026a3.378 3.378 0 0 0 1.026-2.48c0-.982-.34-1.818-1.016-2.509-.677-.69-1.507-1.035-2.49-1.035a3.42 3.42 0 0 0-2.509 1.035 3.42 3.42 0 0 0-1.035 2.51c0 .982.345 1.812 1.035 2.488.691.678 1.527 1.017 2.51 1.017Z"), b(t, "width", "14"), b(t, "height", "14"), b(t, "viewBox", "0 0 15 15"), b(t, "class", "svelte-en2qvf");
884
884
  },
885
885
  m(n, i) {
886
886
  Tt(n, t, i), nt(t, e);
@@ -1420,41 +1420,41 @@ function Ea(r) {
1420
1420
  return t[2] < t[0] && (t[2] += 360), t;
1421
1421
  }
1422
1422
  function hc(r, t, e) {
1423
- let n, { $$slots: i = {}, $$scope: o } = t, { class: s = void 0 } = t, { apiKey: a } = t, { bbox: u = void 0 } = t, { clearButtonTitle: l = "clear" } = t, { clearOnBlur: c = !1 } = t, { collapsed: f = !1 } = t, { country: h = void 0 } = t, { debounceSearch: g = 200 } = t, { enableReverse: p = !1 } = t, { errorMessage: y = "Something went wrong…" } = t, { filter: d = () => !0 } = t, { flyTo: m = !0 } = t, { fuzzyMatch: _ = !0 } = t, { language: C = void 0 } = t, { limit: L = void 0 } = t, { mapController: N = void 0 } = t, { minLength: x = 2 } = t, { noResultsMessage: D = "Oops! Looks like you're trying to predict something that's not quite right. We can't seem to find what you're looking for. Maybe try double-checking your spelling or try a different search term. Keep on typing - we'll do our best to get you where you need to go!" } = t, { placeholder: A = "Search" } = t, { proximity: w = void 0 } = t, { reverseActive: F = p === "always" } = t, { reverseButtonTitle: X = "toggle reverse geocoding" } = t, { searchValue: R = "" } = t, { showFullGeometry: Y = !0 } = t, { showPlaceType: T = "ifNeeded" } = t, { showResultsWhileTyping: W = !0 } = t, { trackProximity: ut = !0 } = t, { types: dt = void 0 } = t, { zoom: Ht = 16 } = t, { maxZoom: Jt = 18 } = t, { apiUrl: ir = "https://api.maptiler.com/geocoding" } = t, { fetchParameters: ze = {} } = t, { iconsBaseUrl: Bn = "https://cdn.maptiler.com/maptiler-geocoding-control/v0.0.95/icons/" } = t;
1423
+ let n, { $$slots: i = {}, $$scope: o } = t, { class: s = void 0 } = t, { apiKey: a } = t, { bbox: u = void 0 } = t, { clearButtonTitle: l = "clear" } = t, { clearOnBlur: c = !1 } = t, { collapsed: f = !1 } = t, { country: h = void 0 } = t, { debounceSearch: g = 200 } = t, { enableReverse: p = !1 } = t, { errorMessage: y = "Something went wrong…" } = t, { filter: d = () => !0 } = t, { flyTo: m = !0 } = t, { fuzzyMatch: _ = !0 } = t, { language: C = void 0 } = t, { limit: L = void 0 } = t, { mapController: N = void 0 } = t, { minLength: x = 2 } = t, { noResultsMessage: D = "Oops! Looks like you're trying to predict something that's not quite right. We can't seem to find what you're looking for. Maybe try double-checking your spelling or try a different search term. Keep on typing - we'll do our best to get you where you need to go!" } = t, { placeholder: A = "Search" } = t, { proximity: w = void 0 } = t, { reverseActive: F = p === "always" } = t, { reverseButtonTitle: X = "toggle reverse geocoding" } = t, { searchValue: R = "" } = t, { showFullGeometry: Y = !0 } = t, { showPlaceType: T = "ifNeeded" } = t, { showResultsWhileTyping: W = !0 } = t, { trackProximity: ut = !0 } = t, { types: dt = void 0 } = t, { zoom: Ht = 16 } = t, { maxZoom: Jt = 18 } = t, { apiUrl: rr = "https://api.maptiler.com/geocoding" } = t, { fetchParameters: ze = {} } = t, { iconsBaseUrl: Fn = "https://cdn.maptiler.com/maptiler-geocoding-control/v0.0.96-alpha.1/icons/" } = t;
1424
1424
  function In() {
1425
- kn.focus();
1425
+ Bn.focus();
1426
1426
  }
1427
1427
  function di() {
1428
- kn.blur();
1428
+ Bn.blur();
1429
1429
  }
1430
- function or(S, kt = !0) {
1430
+ function ir(S, kt = !0) {
1431
1431
  e(1, R = S), kt ? (e(14, Bt = -1), sa()) : (ps(), setTimeout(() => {
1432
- kn.focus(), kn.select();
1432
+ Bn.focus(), Bn.select();
1433
1433
  }));
1434
1434
  }
1435
- let vi = !1, ct, _e, ot, oa = "", kn, Bt = -1, Gn, wo = [], Hr, yi, Lo, hs;
1435
+ let vi = !1, ct, _e, ot, oa = "", Bn, Bt = -1, kn, wo = [], Hr, yi, Lo, hs;
1436
1436
  const rl = /* @__PURE__ */ new Set(), Cr = Tl();
1437
1437
  Dl(() => {
1438
1438
  N && (N.setEventHandler(void 0), N.indicateReverse(!1), N.setSelectedMarker(-1), N.setMarkers(void 0, void 0));
1439
1439
  });
1440
1440
  function sa(S) {
1441
1441
  if (yi && (clearTimeout(yi), yi = void 0), Bt > -1 && ct)
1442
- e(49, ot = ct[Bt]), e(1, R = ot.place_name.replace(/,.*/, "")), e(17, Gn = void 0), e(48, _e = void 0), e(14, Bt = -1);
1442
+ e(49, ot = ct[Bt]), e(1, R = ot.place_name.replace(/,.*/, "")), e(17, kn = void 0), e(48, _e = void 0), e(14, Bt = -1);
1443
1443
  else if (R) {
1444
1444
  const kt = S || !aa();
1445
1445
  gs(R, { exact: !0 }).then(() => {
1446
1446
  e(48, _e = ct), e(49, ot = void 0), kt && il();
1447
- }).catch((zn) => e(17, Gn = zn));
1447
+ }).catch((Gn) => e(17, kn = Gn));
1448
1448
  }
1449
1449
  }
1450
1450
  function aa() {
1451
1451
  return /^-?\d+(\.\d+)?,-?\d+(\.\d+)?$/.test(R);
1452
1452
  }
1453
- async function gs(S, { byId: kt = !1, exact: zn = !1 } = {}) {
1454
- e(17, Gn = void 0);
1453
+ async function gs(S, { byId: kt = !1, exact: Gn = !1 } = {}) {
1454
+ e(17, kn = void 0);
1455
1455
  const mi = aa(), Ve = new URLSearchParams();
1456
- C != null && Ve.set("language", Array.isArray(C) ? C.join(",") : C), dt && Ve.set("types", dt.join(",")), mi || (u && Ve.set("bbox", u.map((Nr) => Nr.toFixed(6)).join(",")), h && Ve.set("country", Array.isArray(h) ? h.join(",") : h)), kt || (w && Ve.set("proximity", w.map((Nr) => Nr.toFixed(6)).join(",")), (zn || !W) && Ve.set("autocomplete", "false"), Ve.set("fuzzyMatch", String(_))), L !== void 0 && (!mi || (dt == null ? void 0 : dt.length) === 1) && Ve.set("limit", String(L)), Ve.set("key", a);
1457
- const jr = ir + "/" + encodeURIComponent(S) + ".json?" + Ve.toString();
1456
+ C != null && Ve.set("language", Array.isArray(C) ? C.join(",") : C), dt && Ve.set("types", dt.join(",")), mi || (u && Ve.set("bbox", u.map((Nr) => Nr.toFixed(6)).join(",")), h && Ve.set("country", Array.isArray(h) ? h.join(",") : h)), kt || (w && Ve.set("proximity", w.map((Nr) => Nr.toFixed(6)).join(",")), (Gn || !W) && Ve.set("autocomplete", "false"), Ve.set("fuzzyMatch", String(_))), L !== void 0 && (!mi || (dt == null ? void 0 : dt.length) === 1) && Ve.set("limit", String(L)), Ve.set("key", a);
1457
+ const jr = rr + "/" + encodeURIComponent(S) + ".json?" + Ve.toString();
1458
1458
  if (jr === oa) {
1459
1459
  kt ? (e(13, ct = void 0), e(49, ot = wo[0])) : e(13, ct = wo);
1460
1460
  return;
@@ -1475,19 +1475,19 @@ function hc(r, t, e) {
1475
1475
  if (!vs.ok)
1476
1476
  throw new Error();
1477
1477
  const ys = await vs.json();
1478
- Cr("response", { url: jr, featureCollection: ys }), kt ? (e(13, ct = void 0), e(49, ot = ys.features[0]), wo = [ot]) : (e(13, ct = ys.features.filter(d)), wo = ct, mi && kn.focus());
1478
+ Cr("response", { url: jr, featureCollection: ys }), kt ? (e(13, ct = void 0), e(49, ot = ys.features[0]), wo = [ot]) : (e(13, ct = ys.features.filter(d)), wo = ct, mi && Bn.focus());
1479
1479
  }
1480
1480
  function il() {
1481
- var zn, mi, Ve, jr;
1481
+ var Gn, mi, Ve, jr;
1482
1482
  if (!(_e != null && _e.length) || !m)
1483
1483
  return;
1484
1484
  const S = [180, 90, -180, -90], kt = !_e.some((Ee) => !Ee.matching_text);
1485
1485
  for (const Ee of _e)
1486
- (kt || !Ee.matching_text) && (S[0] = Math.min(S[0], ((zn = Ee.bbox) == null ? void 0 : zn[0]) ?? Ee.center[0]), S[1] = Math.min(S[1], ((mi = Ee.bbox) == null ? void 0 : mi[1]) ?? Ee.center[1]), S[2] = Math.max(S[2], ((Ve = Ee.bbox) == null ? void 0 : Ve[2]) ?? Ee.center[0]), S[3] = Math.max(S[3], ((jr = Ee.bbox) == null ? void 0 : jr[3]) ?? Ee.center[1]));
1486
+ (kt || !Ee.matching_text) && (S[0] = Math.min(S[0], ((Gn = Ee.bbox) == null ? void 0 : Gn[0]) ?? Ee.center[0]), S[1] = Math.min(S[1], ((mi = Ee.bbox) == null ? void 0 : mi[1]) ?? Ee.center[1]), S[2] = Math.max(S[2], ((Ve = Ee.bbox) == null ? void 0 : Ve[2]) ?? Ee.center[0]), S[3] = Math.max(S[3], ((jr = Ee.bbox) == null ? void 0 : jr[3]) ?? Ee.center[1]));
1487
1487
  N && _e.length > 0 && (ot && S[0] === S[2] && S[1] === S[3] ? N.flyTo(ot.center, Ht) : N.fitBounds(Ea(S), 50, Jt));
1488
1488
  }
1489
1489
  function ol(S) {
1490
- e(0, F = p === "always"), or(fc(S[0], [-180, 180], !0).toFixed(6) + "," + S[1].toFixed(6));
1490
+ e(0, F = p === "always"), ir(fc(S[0], [-180, 180], !0).toFixed(6) + "," + S[1].toFixed(6));
1491
1491
  }
1492
1492
  function sl(S) {
1493
1493
  if (!ct)
@@ -1496,37 +1496,37 @@ function hc(r, t, e) {
1496
1496
  kt ? (Bt === -1 && kt === -1 && e(14, Bt = ct.length), e(14, Bt += kt), Bt >= ct.length && e(14, Bt = -1), S.preventDefault()) : ["ArrowLeft", "ArrowRight", "Home", "End"].includes(S.key) && e(14, Bt = -1);
1497
1497
  }
1498
1498
  function ps(S = !0) {
1499
- if (e(17, Gn = void 0), W) {
1499
+ if (e(17, kn = void 0), W) {
1500
1500
  if (yi && clearTimeout(yi), R.length < x)
1501
1501
  return;
1502
1502
  const kt = R;
1503
1503
  yi = window.setTimeout(
1504
1504
  () => {
1505
- gs(kt).catch((zn) => e(17, Gn = zn));
1505
+ gs(kt).catch((Gn) => e(17, kn = Gn));
1506
1506
  },
1507
1507
  S ? g : 0
1508
1508
  );
1509
1509
  } else
1510
- e(13, ct = void 0), e(17, Gn = void 0);
1510
+ e(13, ct = void 0), e(17, kn = void 0);
1511
1511
  }
1512
1512
  function ds(S) {
1513
1513
  e(49, ot = S), e(1, R = S.place_name), e(14, Bt = -1);
1514
1514
  }
1515
- const al = () => kn.focus();
1515
+ const al = () => Bn.focus();
1516
1516
  function ul(S) {
1517
1517
  xs[S ? "unshift" : "push"](() => {
1518
- kn = S, e(16, kn);
1518
+ Bn = S, e(16, Bn);
1519
1519
  });
1520
1520
  }
1521
1521
  function ll() {
1522
1522
  R = this.value, e(1, R), e(12, vi), e(27, c);
1523
1523
  }
1524
1524
  const cl = () => e(12, vi = !0), fl = () => e(12, vi = !1), hl = () => ps(), gl = () => {
1525
- e(1, R = ""), kn.focus();
1526
- }, pl = () => e(0, F = !F), dl = () => e(17, Gn = void 0), vl = (S) => e(14, Bt = S), yl = (S) => ds(S), ml = () => e(14, Bt = -1), _l = () => {
1525
+ e(1, R = ""), Bn.focus();
1526
+ }, pl = () => e(0, F = !F), dl = () => e(17, kn = void 0), vl = (S) => e(14, Bt = S), yl = (S) => ds(S), ml = () => e(14, Bt = -1), _l = () => {
1527
1527
  };
1528
1528
  return r.$$set = (S) => {
1529
- "class" in S && e(2, s = S.class), "apiKey" in S && e(25, a = S.apiKey), "bbox" in S && e(26, u = S.bbox), "clearButtonTitle" in S && e(3, l = S.clearButtonTitle), "clearOnBlur" in S && e(27, c = S.clearOnBlur), "collapsed" in S && e(4, f = S.collapsed), "country" in S && e(28, h = S.country), "debounceSearch" in S && e(29, g = S.debounceSearch), "enableReverse" in S && e(5, p = S.enableReverse), "errorMessage" in S && e(6, y = S.errorMessage), "filter" in S && e(30, d = S.filter), "flyTo" in S && e(31, m = S.flyTo), "fuzzyMatch" in S && e(32, _ = S.fuzzyMatch), "language" in S && e(33, C = S.language), "limit" in S && e(34, L = S.limit), "mapController" in S && e(35, N = S.mapController), "minLength" in S && e(36, x = S.minLength), "noResultsMessage" in S && e(7, D = S.noResultsMessage), "placeholder" in S && e(8, A = S.placeholder), "proximity" in S && e(24, w = S.proximity), "reverseActive" in S && e(0, F = S.reverseActive), "reverseButtonTitle" in S && e(9, X = S.reverseButtonTitle), "searchValue" in S && e(1, R = S.searchValue), "showFullGeometry" in S && e(37, Y = S.showFullGeometry), "showPlaceType" in S && e(10, T = S.showPlaceType), "showResultsWhileTyping" in S && e(38, W = S.showResultsWhileTyping), "trackProximity" in S && e(39, ut = S.trackProximity), "types" in S && e(40, dt = S.types), "zoom" in S && e(41, Ht = S.zoom), "maxZoom" in S && e(42, Jt = S.maxZoom), "apiUrl" in S && e(43, ir = S.apiUrl), "fetchParameters" in S && e(44, ze = S.fetchParameters), "iconsBaseUrl" in S && e(11, Bn = S.iconsBaseUrl), "$$scope" in S && e(52, o = S.$$scope);
1529
+ "class" in S && e(2, s = S.class), "apiKey" in S && e(25, a = S.apiKey), "bbox" in S && e(26, u = S.bbox), "clearButtonTitle" in S && e(3, l = S.clearButtonTitle), "clearOnBlur" in S && e(27, c = S.clearOnBlur), "collapsed" in S && e(4, f = S.collapsed), "country" in S && e(28, h = S.country), "debounceSearch" in S && e(29, g = S.debounceSearch), "enableReverse" in S && e(5, p = S.enableReverse), "errorMessage" in S && e(6, y = S.errorMessage), "filter" in S && e(30, d = S.filter), "flyTo" in S && e(31, m = S.flyTo), "fuzzyMatch" in S && e(32, _ = S.fuzzyMatch), "language" in S && e(33, C = S.language), "limit" in S && e(34, L = S.limit), "mapController" in S && e(35, N = S.mapController), "minLength" in S && e(36, x = S.minLength), "noResultsMessage" in S && e(7, D = S.noResultsMessage), "placeholder" in S && e(8, A = S.placeholder), "proximity" in S && e(24, w = S.proximity), "reverseActive" in S && e(0, F = S.reverseActive), "reverseButtonTitle" in S && e(9, X = S.reverseButtonTitle), "searchValue" in S && e(1, R = S.searchValue), "showFullGeometry" in S && e(37, Y = S.showFullGeometry), "showPlaceType" in S && e(10, T = S.showPlaceType), "showResultsWhileTyping" in S && e(38, W = S.showResultsWhileTyping), "trackProximity" in S && e(39, ut = S.trackProximity), "types" in S && e(40, dt = S.types), "zoom" in S && e(41, Ht = S.zoom), "maxZoom" in S && e(42, Jt = S.maxZoom), "apiUrl" in S && e(43, rr = S.apiUrl), "fetchParameters" in S && e(44, ze = S.fetchParameters), "iconsBaseUrl" in S && e(11, Fn = S.iconsBaseUrl), "$$scope" in S && e(52, o = S.$$scope);
1530
1530
  }, r.$$.update = () => {
1531
1531
  if (r.$$.dirty[1] & /*trackProximity*/
1532
1532
  256 && (ut || e(24, w = void 0)), r.$$.dirty[0] & /*focused, clearOnBlur*/
@@ -1534,8 +1534,8 @@ function hc(r, t, e) {
1534
1534
  e(15, Lo = vi), c && !vi && e(1, R = "");
1535
1535
  }), r.$$.dirty[0] & /*searchValue, listFeatures*/
1536
1536
  8194 | r.$$.dirty[1] & /*minLength*/
1537
- 32 && R.length < x && (e(49, ot = void 0), e(13, ct = void 0), e(17, Gn = void 0), e(48, _e = ct)), r.$$.dirty[1] & /*showFullGeometry, picked*/
1538
- 262208 && Y && ot && !ot.address && ot.geometry.type === "Point" && gs(ot.id, { byId: !0 }).catch((S) => e(17, Gn = S)), r.$$.dirty[1] & /*mapController, picked, prevIdToFly, flyTo, maxZoom, zoom*/
1537
+ 32 && R.length < x && (e(49, ot = void 0), e(13, ct = void 0), e(17, kn = void 0), e(48, _e = ct)), r.$$.dirty[1] & /*showFullGeometry, picked*/
1538
+ 262208 && Y && ot && !ot.address && ot.geometry.type === "Point" && gs(ot.id, { byId: !0 }).catch((S) => e(17, kn = S)), r.$$.dirty[1] & /*mapController, picked, prevIdToFly, flyTo, maxZoom, zoom*/
1539
1539
  789521 && (N && ot && ot.id !== hs && m && (!ot.bbox || ot.bbox[0] === ot.bbox[2] && ot.bbox[1] === ot.bbox[3] ? N.flyTo(ot.center, ot.id.startsWith("poi.") || ot.id.startsWith("address.") ? Jt : Ht) : N.fitBounds(Ea(ot.bbox), 50, Jt), e(13, ct = void 0), e(48, _e = void 0), e(14, Bt = -1)), e(50, hs = ot == null ? void 0 : ot.id)), r.$$.dirty[0] & /*listFeatures*/
1540
1540
  8192 | r.$$.dirty[1] & /*markedFeatures*/
1541
1541
  131072 && _e !== ct && e(48, _e = void 0), r.$$.dirty[1] & /*mapController, markedFeatures, picked*/
@@ -1552,7 +1552,7 @@ function hc(r, t, e) {
1552
1552
  break;
1553
1553
  case "markerClick":
1554
1554
  {
1555
- const kt = ct == null ? void 0 : ct.find((zn) => zn.id === S.id);
1555
+ const kt = ct == null ? void 0 : ct.find((Gn) => Gn.id === S.id);
1556
1556
  kt && ds(kt);
1557
1557
  }
1558
1558
  break;
@@ -1594,13 +1594,13 @@ function hc(r, t, e) {
1594
1594
  A,
1595
1595
  X,
1596
1596
  T,
1597
- Bn,
1597
+ Fn,
1598
1598
  vi,
1599
1599
  ct,
1600
1600
  Bt,
1601
1601
  Lo,
1602
+ Bn,
1602
1603
  kn,
1603
- Gn,
1604
1604
  Hr,
1605
1605
  rl,
1606
1606
  sa,
@@ -1626,11 +1626,11 @@ function hc(r, t, e) {
1626
1626
  dt,
1627
1627
  Ht,
1628
1628
  Jt,
1629
- ir,
1629
+ rr,
1630
1630
  ze,
1631
1631
  In,
1632
1632
  di,
1633
- or,
1633
+ ir,
1634
1634
  _e,
1635
1635
  ot,
1636
1636
  hs,
@@ -2234,7 +2234,7 @@ var Ec = Lr * Lr, Ts = function(t, e) {
2234
2234
  x: g,
2235
2235
  y: p
2236
2236
  };
2237
- }, Yn = /* @__PURE__ */ function() {
2237
+ }, qn = /* @__PURE__ */ function() {
2238
2238
  xe(r, null, [{
2239
2239
  key: "compare",
2240
2240
  // for ordering sweep events in the sweep event queue
@@ -2506,10 +2506,10 @@ var Ec = Lr * Lr, Ts = function(t, e) {
2506
2506
  }, {
2507
2507
  key: "split",
2508
2508
  value: function(e) {
2509
- var n = [], i = e.events !== void 0, o = new Yn(e, !0), s = new Yn(e, !1), a = this.rightSE;
2509
+ var n = [], i = e.events !== void 0, o = new qn(e, !0), s = new qn(e, !1), a = this.rightSE;
2510
2510
  this.replaceRightSE(s), n.push(s), n.push(o);
2511
2511
  var u = new r(o, a, this.rings.slice(), this.windings.slice());
2512
- return Yn.comparePoints(u.leftSE.point, u.rightSE.point) > 0 && u.swapEvents(), Yn.comparePoints(this.leftSE.point, this.rightSE.point) > 0 && this.swapEvents(), i && (o.checkForConsuming(), s.checkForConsuming()), n;
2512
+ return qn.comparePoints(u.leftSE.point, u.rightSE.point) > 0 && u.swapEvents(), qn.comparePoints(this.leftSE.point, this.rightSE.point) > 0 && this.swapEvents(), i && (o.checkForConsuming(), s.checkForConsuming()), n;
2513
2513
  }
2514
2514
  /* Swap which event is left and right */
2515
2515
  }, {
@@ -2611,7 +2611,7 @@ var Ec = Lr * Lr, Ts = function(t, e) {
2611
2611
  if (this._isInResult !== void 0)
2612
2612
  return this._isInResult;
2613
2613
  var e = this.beforeState().multiPolys, n = this.afterState().multiPolys;
2614
- switch (Sn.type) {
2614
+ switch (Nn.type) {
2615
2615
  case "union": {
2616
2616
  var i = e.length === 0, o = n.length === 0;
2617
2617
  this._isInResult = i !== o;
@@ -2619,7 +2619,7 @@ var Ec = Lr * Lr, Ts = function(t, e) {
2619
2619
  }
2620
2620
  case "intersection": {
2621
2621
  var s, a;
2622
- e.length < n.length ? (s = e.length, a = n.length) : (s = n.length, a = e.length), this._isInResult = a === Sn.numMultiPolys && s < a;
2622
+ e.length < n.length ? (s = e.length, a = n.length) : (s = n.length, a = e.length), this._isInResult = a === Nn.numMultiPolys && s < a;
2623
2623
  break;
2624
2624
  }
2625
2625
  case "xor": {
@@ -2635,21 +2635,21 @@ var Ec = Lr * Lr, Ts = function(t, e) {
2635
2635
  break;
2636
2636
  }
2637
2637
  default:
2638
- throw new Error("Unrecognized operation type found ".concat(Sn.type));
2638
+ throw new Error("Unrecognized operation type found ".concat(Nn.type));
2639
2639
  }
2640
2640
  return this._isInResult;
2641
2641
  }
2642
2642
  }], [{
2643
2643
  key: "fromRing",
2644
2644
  value: function(e, n, i) {
2645
- var o, s, a, u = Yn.comparePoints(e, n);
2645
+ var o, s, a, u = qn.comparePoints(e, n);
2646
2646
  if (u < 0)
2647
2647
  o = e, s = n, a = 1;
2648
2648
  else if (u > 0)
2649
2649
  o = n, s = e, a = -1;
2650
2650
  else
2651
2651
  throw new Error("Tried to create degenerate segment at [".concat(e.x, ", ").concat(e.y, "]"));
2652
- var l = new Yn(o, !0), c = new Yn(s, !1);
2652
+ var l = new qn(o, !0), c = new qn(s, !1);
2653
2653
  return new r(l, c, [i], [a]);
2654
2654
  }
2655
2655
  }]), r;
@@ -2835,7 +2835,7 @@ var Ec = Lr * Lr, Ts = function(t, e) {
2835
2835
  value: function() {
2836
2836
  for (var e = this.events[0], n = 1, i = this.events.length; n < i; n++) {
2837
2837
  var o = this.events[n];
2838
- Yn.compare(e, o) > 0 && (e = o);
2838
+ qn.compare(e, o) > 0 && (e = o);
2839
2839
  }
2840
2840
  for (var s = e.segment.prevInResult(), a = s ? s.prevInResult() : null; ; ) {
2841
2841
  if (!s)
@@ -2939,7 +2939,7 @@ var Ec = Lr * Lr, Ts = function(t, e) {
2939
2939
  else if (y === null)
2940
2940
  L = c;
2941
2941
  else {
2942
- var N = Yn.comparePoints(c, y);
2942
+ var N = qn.comparePoints(c, y);
2943
2943
  L = N <= 0 ? c : y;
2944
2944
  }
2945
2945
  this.queue.remove(n.rightSE), i.push(n.rightSE);
@@ -2982,19 +2982,19 @@ var Ec = Lr * Lr, Ts = function(t, e) {
2982
2982
  return xe(r, [{
2983
2983
  key: "run",
2984
2984
  value: function(e, n, i) {
2985
- Sn.type = e, ro.reset();
2985
+ Nn.type = e, ro.reset();
2986
2986
  for (var o = [new ba(n, !0)], s = 0, a = i.length; s < a; s++)
2987
2987
  o.push(new ba(i[s], !1));
2988
- if (Sn.numMultiPolys = o.length, Sn.type === "difference")
2988
+ if (Nn.numMultiPolys = o.length, Nn.type === "difference")
2989
2989
  for (var u = o[0], l = 1; l < o.length; )
2990
2990
  Ds(o[l].bbox, u.bbox) !== null ? l++ : o.splice(l, 1);
2991
- if (Sn.type === "intersection") {
2991
+ if (Nn.type === "intersection") {
2992
2992
  for (var c = 0, f = o.length; c < f; c++)
2993
2993
  for (var h = o[c], g = c + 1, p = o.length; g < p; g++)
2994
2994
  if (Ds(h.bbox, o[g].bbox) === null)
2995
2995
  return [];
2996
2996
  }
2997
- for (var y = new Us(Yn.compare), d = 0, m = o.length; d < m; d++)
2997
+ for (var y = new Us(qn.compare), d = 0, m = o.length; d < m; d++)
2998
2998
  for (var _ = o[d].getSweepEvents(), C = 0, L = _.length; C < L; C++)
2999
2999
  if (y.insert(_[C]), y.size > Ra)
3000
3000
  throw new Error("Infinite loop when putting segment endpoints in a priority queue (queue size too big). Please file a bug report.");
@@ -3019,22 +3019,22 @@ var Ec = Lr * Lr, Ts = function(t, e) {
3019
3019
  return W.getGeom();
3020
3020
  }
3021
3021
  }]), r;
3022
- }(), Sn = new Oc(), Dc = function(t) {
3022
+ }(), Nn = new Oc(), Dc = function(t) {
3023
3023
  for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
3024
3024
  n[i - 1] = arguments[i];
3025
- return Sn.run("union", t, n);
3025
+ return Nn.run("union", t, n);
3026
3026
  }, Tc = function(t) {
3027
3027
  for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
3028
3028
  n[i - 1] = arguments[i];
3029
- return Sn.run("intersection", t, n);
3029
+ return Nn.run("intersection", t, n);
3030
3030
  }, Mc = function(t) {
3031
3031
  for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
3032
3032
  n[i - 1] = arguments[i];
3033
- return Sn.run("xor", t, n);
3033
+ return Nn.run("xor", t, n);
3034
3034
  }, Ac = function(t) {
3035
3035
  for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
3036
3036
  n[i - 1] = arguments[i];
3037
- return Sn.run("difference", t, n);
3037
+ return Nn.run("difference", t, n);
3038
3038
  }, lu = {
3039
3039
  union: Dc,
3040
3040
  intersection: Tc,
@@ -3135,7 +3135,7 @@ function zc(r) {
3135
3135
  let t, e, n;
3136
3136
  return {
3137
3137
  c() {
3138
- t = Kn("svg"), e = Kn("path"), b(e, "stroke-width", "4"), b(e, "fill-rule", "evenodd"), b(e, "clip-rule", "evenodd"), b(e, "d", "M 5,33.103579 C 5,17.607779 18.457,5 35,5 C 51.543,5 65,17.607779 65,33.103579 C 65,56.388679 40.4668,76.048179 36.6112,79.137779 C 36.3714,79.329879 36.2116,79.457979 36.1427,79.518879 C 35.8203,79.800879 35.4102,79.942779 35,79.942779 C 34.5899,79.942779 34.1797,79.800879 33.8575,79.518879 C 33.7886,79.457979 33.6289,79.330079 33.3893,79.138079 C 29.5346,76.049279 5,56.389379 5,33.103579 Z M 35.0001,49.386379 C 43.1917,49.386379 49.8323,42.646079 49.8323,34.331379 C 49.8323,26.016779 43.1917,19.276479 35.0001,19.276479 C 26.8085,19.276479 20.1679,26.016779 20.1679,34.331379 C 20.1679,42.646079 26.8085,49.386379 35.0001,49.386379 Z"), b(e, "class", "svelte-gzo3ar"), b(t, "width", n = /*displayIn*/
3138
+ t = jn("svg"), e = jn("path"), b(e, "stroke-width", "4"), b(e, "fill-rule", "evenodd"), b(e, "clip-rule", "evenodd"), b(e, "d", "M 5,33.103579 C 5,17.607779 18.457,5 35,5 C 51.543,5 65,17.607779 65,33.103579 C 65,56.388679 40.4668,76.048179 36.6112,79.137779 C 36.3714,79.329879 36.2116,79.457979 36.1427,79.518879 C 35.8203,79.800879 35.4102,79.942779 35,79.942779 C 34.5899,79.942779 34.1797,79.800879 33.8575,79.518879 C 33.7886,79.457979 33.6289,79.330079 33.3893,79.138079 C 29.5346,76.049279 5,56.389379 5,33.103579 Z M 35.0001,49.386379 C 43.1917,49.386379 49.8323,42.646079 49.8323,34.331379 C 49.8323,26.016779 43.1917,19.276479 35.0001,19.276479 C 26.8085,19.276479 20.1679,26.016779 20.1679,34.331379 C 20.1679,42.646079 26.8085,49.386379 35.0001,49.386379 Z"), b(e, "class", "svelte-gzo3ar"), b(t, "width", n = /*displayIn*/
3139
3139
  r[0] !== "list" ? void 0 : "20"), b(t, "viewBox", "0 0 70 85"), b(t, "fill", "none"), b(t, "class", "svelte-gzo3ar"), on(
3140
3140
  t,
3141
3141
  "in-map",
@@ -4484,12 +4484,12 @@ es.prototype.write = function(t) {
4484
4484
  };
4485
4485
  es.prototype.extractGeometry = function(t) {
4486
4486
  var e = t.getGeometryType().toLowerCase();
4487
- if (!qn[e])
4487
+ if (!Vn[e])
4488
4488
  return null;
4489
4489
  var n = e.toUpperCase(), i;
4490
- return t.isEmpty() ? i = n + " EMPTY" : i = n + "(" + qn[e].apply(this, [t]) + ")", i;
4490
+ return t.isEmpty() ? i = n + " EMPTY" : i = n + "(" + Vn[e].apply(this, [t]) + ")", i;
4491
4491
  };
4492
- var qn = {
4492
+ var Vn = {
4493
4493
  coordinate: function(t) {
4494
4494
  return t.x + " " + t.y;
4495
4495
  },
@@ -4501,7 +4501,7 @@ var qn = {
4501
4501
  * @return {String} A string of coordinates representing the point.
4502
4502
  */
4503
4503
  point: function(t) {
4504
- return qn.coordinate.call(this, t._coordinates._coordinates[0]);
4504
+ return Vn.coordinate.call(this, t._coordinates._coordinates[0]);
4505
4505
  },
4506
4506
  /**
4507
4507
  * Return a comma delimited string of point coordinates from a multipoint.
@@ -4513,7 +4513,7 @@ var qn = {
4513
4513
  */
4514
4514
  multipoint: function(t) {
4515
4515
  for (var e = this, n = [], i = 0, o = t._geometries.length; i < o; ++i)
4516
- n.push("(" + qn.point.apply(e, [t._geometries[i]]) + ")");
4516
+ n.push("(" + Vn.point.apply(e, [t._geometries[i]]) + ")");
4517
4517
  return n.join(",");
4518
4518
  },
4519
4519
  /**
@@ -4524,12 +4524,12 @@ var qn = {
4524
4524
  */
4525
4525
  linestring: function(t) {
4526
4526
  for (var e = this, n = [], i = 0, o = t._points._coordinates.length; i < o; ++i)
4527
- n.push(qn.coordinate.apply(e, [t._points._coordinates[i]]));
4527
+ n.push(Vn.coordinate.apply(e, [t._points._coordinates[i]]));
4528
4528
  return n.join(",");
4529
4529
  },
4530
4530
  linearring: function(t) {
4531
4531
  for (var e = this, n = [], i = 0, o = t._points._coordinates.length; i < o; ++i)
4532
- n.push(qn.coordinate.apply(e, [t._points._coordinates[i]]));
4532
+ n.push(Vn.coordinate.apply(e, [t._points._coordinates[i]]));
4533
4533
  return n.join(",");
4534
4534
  },
4535
4535
  /**
@@ -4541,7 +4541,7 @@ var qn = {
4541
4541
  */
4542
4542
  multilinestring: function(t) {
4543
4543
  for (var e = this, n = [], i = 0, o = t._geometries.length; i < o; ++i)
4544
- n.push("(" + qn.linestring.apply(e, [t._geometries[i]]) + ")");
4544
+ n.push("(" + Vn.linestring.apply(e, [t._geometries[i]]) + ")");
4545
4545
  return n.join(",");
4546
4546
  },
4547
4547
  /**
@@ -4552,9 +4552,9 @@ var qn = {
4552
4552
  */
4553
4553
  polygon: function(t) {
4554
4554
  var e = this, n = [];
4555
- n.push("(" + qn.linestring.apply(this, [t._shell]) + ")");
4555
+ n.push("(" + Vn.linestring.apply(this, [t._shell]) + ")");
4556
4556
  for (var i = 0, o = t._holes.length; i < o; ++i)
4557
- n.push("(" + qn.linestring.apply(e, [t._holes[i]]) + ")");
4557
+ n.push("(" + Vn.linestring.apply(e, [t._holes[i]]) + ")");
4558
4558
  return n.join(",");
4559
4559
  },
4560
4560
  /**
@@ -4565,7 +4565,7 @@ var qn = {
4565
4565
  */
4566
4566
  multipolygon: function(t) {
4567
4567
  for (var e = this, n = [], i = 0, o = t._geometries.length; i < o; ++i)
4568
- n.push("(" + qn.polygon.apply(e, [t._geometries[i]]) + ")");
4568
+ n.push("(" + Vn.polygon.apply(e, [t._geometries[i]]) + ")");
4569
4569
  return n.join(",");
4570
4570
  },
4571
4571
  /**
@@ -4712,7 +4712,7 @@ Xe.toLineString = function(t, e) {
4712
4712
  throw new Error("Not implemented");
4713
4713
  return "LINESTRING ( " + t.x + " " + t.y + ", " + e.x + " " + e.y + " )";
4714
4714
  };
4715
- var Qn = function(r) {
4715
+ var Kn = function(r) {
4716
4716
  function t(e) {
4717
4717
  r.call(this, e), this.name = "RuntimeException", this.message = e, this.stack = new r().stack;
4718
4718
  }
@@ -4731,7 +4731,7 @@ var Qn = function(r) {
4731
4731
  }, t.prototype.getClass = function() {
4732
4732
  return t;
4733
4733
  }, t;
4734
- }(Qn), q = function() {
4734
+ }(Kn), q = function() {
4735
4735
  };
4736
4736
  q.prototype.interfaces_ = function() {
4737
4737
  return [];
@@ -5213,20 +5213,20 @@ hi.STRAIGHT.get = function() {
5213
5213
  return M.COLLINEAR;
5214
5214
  };
5215
5215
  Object.defineProperties(M, hi);
5216
- var Zn = function() {
5216
+ var Qn = function() {
5217
5217
  };
5218
- Zn.prototype.filter = function(t) {
5218
+ Qn.prototype.filter = function(t) {
5219
5219
  };
5220
- Zn.prototype.interfaces_ = function() {
5220
+ Qn.prototype.interfaces_ = function() {
5221
5221
  return [];
5222
5222
  };
5223
- Zn.prototype.getClass = function() {
5224
- return Zn;
5223
+ Qn.prototype.getClass = function() {
5224
+ return Qn;
5225
5225
  };
5226
5226
  var G = function() {
5227
5227
  var t = arguments[0];
5228
5228
  this._envelope = null, this._factory = null, this._SRID = null, this._userData = null, this._factory = t, this._SRID = t.getSRID();
5229
- }, Fn = { serialVersionUID: { configurable: !0 }, SORTINDEX_POINT: { configurable: !0 }, SORTINDEX_MULTIPOINT: { configurable: !0 }, SORTINDEX_LINESTRING: { configurable: !0 }, SORTINDEX_LINEARRING: { configurable: !0 }, SORTINDEX_MULTILINESTRING: { configurable: !0 }, SORTINDEX_POLYGON: { configurable: !0 }, SORTINDEX_MULTIPOLYGON: { configurable: !0 }, SORTINDEX_GEOMETRYCOLLECTION: { configurable: !0 }, geometryChangedFilter: { configurable: !0 } };
5229
+ }, An = { serialVersionUID: { configurable: !0 }, SORTINDEX_POINT: { configurable: !0 }, SORTINDEX_MULTIPOINT: { configurable: !0 }, SORTINDEX_LINESTRING: { configurable: !0 }, SORTINDEX_LINEARRING: { configurable: !0 }, SORTINDEX_MULTILINESTRING: { configurable: !0 }, SORTINDEX_POLYGON: { configurable: !0 }, SORTINDEX_MULTIPOLYGON: { configurable: !0 }, SORTINDEX_GEOMETRYCOLLECTION: { configurable: !0 }, geometryChangedFilter: { configurable: !0 } };
5230
5230
  G.prototype.isGeometryCollection = function() {
5231
5231
  return this.getSortIndex() === G.SORTINDEX_GEOMETRYCOLLECTION;
5232
5232
  };
@@ -5345,57 +5345,57 @@ G.hasNullElements = function(t) {
5345
5345
  return !0;
5346
5346
  return !1;
5347
5347
  };
5348
- Fn.serialVersionUID.get = function() {
5348
+ An.serialVersionUID.get = function() {
5349
5349
  return 8763622679187377e3;
5350
5350
  };
5351
- Fn.SORTINDEX_POINT.get = function() {
5351
+ An.SORTINDEX_POINT.get = function() {
5352
5352
  return 0;
5353
5353
  };
5354
- Fn.SORTINDEX_MULTIPOINT.get = function() {
5354
+ An.SORTINDEX_MULTIPOINT.get = function() {
5355
5355
  return 1;
5356
5356
  };
5357
- Fn.SORTINDEX_LINESTRING.get = function() {
5357
+ An.SORTINDEX_LINESTRING.get = function() {
5358
5358
  return 2;
5359
5359
  };
5360
- Fn.SORTINDEX_LINEARRING.get = function() {
5360
+ An.SORTINDEX_LINEARRING.get = function() {
5361
5361
  return 3;
5362
5362
  };
5363
- Fn.SORTINDEX_MULTILINESTRING.get = function() {
5363
+ An.SORTINDEX_MULTILINESTRING.get = function() {
5364
5364
  return 4;
5365
5365
  };
5366
- Fn.SORTINDEX_POLYGON.get = function() {
5366
+ An.SORTINDEX_POLYGON.get = function() {
5367
5367
  return 5;
5368
5368
  };
5369
- Fn.SORTINDEX_MULTIPOLYGON.get = function() {
5369
+ An.SORTINDEX_MULTIPOLYGON.get = function() {
5370
5370
  return 6;
5371
5371
  };
5372
- Fn.SORTINDEX_GEOMETRYCOLLECTION.get = function() {
5372
+ An.SORTINDEX_GEOMETRYCOLLECTION.get = function() {
5373
5373
  return 7;
5374
5374
  };
5375
- Fn.geometryChangedFilter.get = function() {
5375
+ An.geometryChangedFilter.get = function() {
5376
5376
  return qs;
5377
5377
  };
5378
- Object.defineProperties(G, Fn);
5378
+ Object.defineProperties(G, An);
5379
5379
  var qs = function() {
5380
5380
  };
5381
5381
  qs.interfaces_ = function() {
5382
- return [Zn];
5382
+ return [Qn];
5383
5383
  };
5384
5384
  qs.filter = function(t) {
5385
5385
  t.geometryChangedAction();
5386
5386
  };
5387
- var Ln = function() {
5387
+ var wn = function() {
5388
5388
  };
5389
- Ln.prototype.filter = function(t) {
5389
+ wn.prototype.filter = function(t) {
5390
5390
  };
5391
- Ln.prototype.interfaces_ = function() {
5391
+ wn.prototype.interfaces_ = function() {
5392
5392
  return [];
5393
5393
  };
5394
- Ln.prototype.getClass = function() {
5395
- return Ln;
5394
+ wn.prototype.getClass = function() {
5395
+ return wn;
5396
5396
  };
5397
5397
  var Ae = function() {
5398
- }, nr = { Mod2BoundaryNodeRule: { configurable: !0 }, EndPointBoundaryNodeRule: { configurable: !0 }, MultiValentEndPointBoundaryNodeRule: { configurable: !0 }, MonoValentEndPointBoundaryNodeRule: { configurable: !0 }, MOD2_BOUNDARY_RULE: { configurable: !0 }, ENDPOINT_BOUNDARY_RULE: { configurable: !0 }, MULTIVALENT_ENDPOINT_BOUNDARY_RULE: { configurable: !0 }, MONOVALENT_ENDPOINT_BOUNDARY_RULE: { configurable: !0 }, OGC_SFS_BOUNDARY_RULE: { configurable: !0 } };
5398
+ }, er = { Mod2BoundaryNodeRule: { configurable: !0 }, EndPointBoundaryNodeRule: { configurable: !0 }, MultiValentEndPointBoundaryNodeRule: { configurable: !0 }, MonoValentEndPointBoundaryNodeRule: { configurable: !0 }, MOD2_BOUNDARY_RULE: { configurable: !0 }, ENDPOINT_BOUNDARY_RULE: { configurable: !0 }, MULTIVALENT_ENDPOINT_BOUNDARY_RULE: { configurable: !0 }, MONOVALENT_ENDPOINT_BOUNDARY_RULE: { configurable: !0 }, OGC_SFS_BOUNDARY_RULE: { configurable: !0 } };
5399
5399
  Ae.prototype.isInBoundary = function(t) {
5400
5400
  };
5401
5401
  Ae.prototype.interfaces_ = function() {
@@ -5404,34 +5404,34 @@ Ae.prototype.interfaces_ = function() {
5404
5404
  Ae.prototype.getClass = function() {
5405
5405
  return Ae;
5406
5406
  };
5407
- nr.Mod2BoundaryNodeRule.get = function() {
5407
+ er.Mod2BoundaryNodeRule.get = function() {
5408
5408
  return xi;
5409
5409
  };
5410
- nr.EndPointBoundaryNodeRule.get = function() {
5410
+ er.EndPointBoundaryNodeRule.get = function() {
5411
5411
  return wi;
5412
5412
  };
5413
- nr.MultiValentEndPointBoundaryNodeRule.get = function() {
5413
+ er.MultiValentEndPointBoundaryNodeRule.get = function() {
5414
5414
  return Li;
5415
5415
  };
5416
- nr.MonoValentEndPointBoundaryNodeRule.get = function() {
5416
+ er.MonoValentEndPointBoundaryNodeRule.get = function() {
5417
5417
  return bi;
5418
5418
  };
5419
- nr.MOD2_BOUNDARY_RULE.get = function() {
5419
+ er.MOD2_BOUNDARY_RULE.get = function() {
5420
5420
  return new xi();
5421
5421
  };
5422
- nr.ENDPOINT_BOUNDARY_RULE.get = function() {
5422
+ er.ENDPOINT_BOUNDARY_RULE.get = function() {
5423
5423
  return new wi();
5424
5424
  };
5425
- nr.MULTIVALENT_ENDPOINT_BOUNDARY_RULE.get = function() {
5425
+ er.MULTIVALENT_ENDPOINT_BOUNDARY_RULE.get = function() {
5426
5426
  return new Li();
5427
5427
  };
5428
- nr.MONOVALENT_ENDPOINT_BOUNDARY_RULE.get = function() {
5428
+ er.MONOVALENT_ENDPOINT_BOUNDARY_RULE.get = function() {
5429
5429
  return new bi();
5430
5430
  };
5431
- nr.OGC_SFS_BOUNDARY_RULE.get = function() {
5431
+ er.OGC_SFS_BOUNDARY_RULE.get = function() {
5432
5432
  return Ae.MOD2_BOUNDARY_RULE;
5433
5433
  };
5434
- Object.defineProperties(Ae, nr);
5434
+ Object.defineProperties(Ae, er);
5435
5435
  var xi = function() {
5436
5436
  };
5437
5437
  xi.prototype.isInBoundary = function(t) {
@@ -5947,14 +5947,14 @@ var Ys = function(r) {
5947
5947
  }, t.prototype.remove = function() {
5948
5948
  throw new Co();
5949
5949
  }, t;
5950
- }(Yi), Wn = 0, Sr = 1;
5950
+ }(Yi), Xn = 0, Sr = 1;
5951
5951
  function Ta(r) {
5952
- return r === null ? Wn : r.color;
5952
+ return r === null ? Xn : r.color;
5953
5953
  }
5954
5954
  function st(r) {
5955
5955
  return r === null ? null : r.parent;
5956
5956
  }
5957
- function Un(r, t) {
5957
+ function zn(r, t) {
5958
5958
  r !== null && (r.color = t);
5959
5959
  }
5960
5960
  function Cs(r) {
@@ -5987,7 +5987,7 @@ Kt.prototype.put = function(r, t) {
5987
5987
  left: null,
5988
5988
  right: null,
5989
5989
  parent: null,
5990
- color: Wn,
5990
+ color: Xn,
5991
5991
  getValue: function() {
5992
5992
  return this.value;
5993
5993
  },
@@ -6012,7 +6012,7 @@ Kt.prototype.put = function(r, t) {
6012
6012
  right: null,
6013
6013
  value: t,
6014
6014
  parent: n,
6015
- color: Wn,
6015
+ color: Xn,
6016
6016
  getValue: function() {
6017
6017
  return this.value;
6018
6018
  },
@@ -6027,12 +6027,12 @@ Kt.prototype.fixAfterInsertion = function(r) {
6027
6027
  for (r.color = Sr; r != null && r !== this.root_ && r.parent.color === Sr; )
6028
6028
  if (st(r) === Cs(st(st(r)))) {
6029
6029
  var e = Ma(st(st(r)));
6030
- Ta(e) === Sr ? (Un(st(r), Wn), Un(e, Wn), Un(st(st(r)), Sr), r = st(st(r))) : (r === Ma(st(r)) && (r = st(r), t.rotateLeft(r)), Un(st(r), Wn), Un(st(st(r)), Sr), t.rotateRight(st(st(r))));
6030
+ Ta(e) === Sr ? (zn(st(r), Xn), zn(e, Xn), zn(st(st(r)), Sr), r = st(st(r))) : (r === Ma(st(r)) && (r = st(r), t.rotateLeft(r)), zn(st(r), Xn), zn(st(st(r)), Sr), t.rotateRight(st(st(r))));
6031
6031
  } else {
6032
6032
  var n = Cs(st(st(r)));
6033
- Ta(n) === Sr ? (Un(st(r), Wn), Un(n, Wn), Un(st(st(r)), Sr), r = st(st(r))) : (r === Cs(st(r)) && (r = st(r), t.rotateRight(r)), Un(st(r), Wn), Un(st(st(r)), Sr), t.rotateLeft(st(st(r))));
6033
+ Ta(n) === Sr ? (zn(st(r), Xn), zn(n, Xn), zn(st(st(r)), Sr), r = st(st(r))) : (r === Cs(st(r)) && (r = st(r), t.rotateRight(r)), zn(st(r), Xn), zn(st(st(r)), Sr), t.rotateLeft(st(st(r))));
6034
6034
  }
6035
- this.root_.color = Wn;
6035
+ this.root_.color = Xn;
6036
6036
  };
6037
6037
  Kt.prototype.values = function() {
6038
6038
  var r = new O(), t = this.getFirstEntry();
@@ -6367,7 +6367,7 @@ var ie = function(r) {
6367
6367
  }
6368
6368
  }, t.prototype.apply = function() {
6369
6369
  var i = this;
6370
- if (z(arguments[0], Ln))
6370
+ if (z(arguments[0], wn))
6371
6371
  for (var o = arguments[0], s = 0; s < this._geometries.length; s++)
6372
6372
  i._geometries[s].apply(o);
6373
6373
  else if (z(arguments[0], Ye)) {
@@ -6382,7 +6382,7 @@ var ie = function(r) {
6382
6382
  l.filter(this);
6383
6383
  for (var c = 0; c < this._geometries.length; c++)
6384
6384
  i._geometries[c].apply(l);
6385
- } else if (z(arguments[0], Zn)) {
6385
+ } else if (z(arguments[0], Qn)) {
6386
6386
  var f = arguments[0];
6387
6387
  f.filter(this);
6388
6388
  for (var h = 0; h < this._geometries.length; h++)
@@ -6753,7 +6753,7 @@ var yt = function(r) {
6753
6753
  }
6754
6754
  }, t.prototype.apply = function() {
6755
6755
  var i = this;
6756
- if (z(arguments[0], Ln))
6756
+ if (z(arguments[0], wn))
6757
6757
  for (var o = arguments[0], s = 0; s < this._points.size(); s++)
6758
6758
  o.filter(i._points.getCoordinate(s));
6759
6759
  else if (z(arguments[0], Ye)) {
@@ -6766,7 +6766,7 @@ var yt = function(r) {
6766
6766
  } else if (z(arguments[0], cn)) {
6767
6767
  var l = arguments[0];
6768
6768
  l.filter(this);
6769
- } else if (z(arguments[0], Zn)) {
6769
+ } else if (z(arguments[0], Qn)) {
6770
6770
  var c = arguments[0];
6771
6771
  c.filter(this);
6772
6772
  }
@@ -6860,7 +6860,7 @@ var de = function(r) {
6860
6860
  return a.compare(this._coordinates, u._coordinates);
6861
6861
  }
6862
6862
  }, t.prototype.apply = function() {
6863
- if (z(arguments[0], Ln)) {
6863
+ if (z(arguments[0], wn)) {
6864
6864
  var i = arguments[0];
6865
6865
  if (this.isEmpty())
6866
6866
  return null;
@@ -6873,7 +6873,7 @@ var de = function(r) {
6873
6873
  } else if (z(arguments[0], cn)) {
6874
6874
  var s = arguments[0];
6875
6875
  s.filter(this);
6876
- } else if (z(arguments[0], Zn)) {
6876
+ } else if (z(arguments[0], Qn)) {
6877
6877
  var a = arguments[0];
6878
6878
  a.filter(this);
6879
6879
  }
@@ -7037,7 +7037,7 @@ var Ot = function(r) {
7037
7037
  }
7038
7038
  }, t.prototype.apply = function(i) {
7039
7039
  var o = this;
7040
- if (z(i, Ln)) {
7040
+ if (z(i, wn)) {
7041
7041
  this._shell.apply(i);
7042
7042
  for (var s = 0; s < this._holes.length; s++)
7043
7043
  o._holes[s].apply(i);
@@ -7048,7 +7048,7 @@ var Ot = function(r) {
7048
7048
  i.isGeometryChanged() && this.geometryChanged();
7049
7049
  } else if (z(i, cn))
7050
7050
  i.filter(this);
7051
- else if (z(i, Zn)) {
7051
+ else if (z(i, Qn)) {
7052
7052
  i.filter(this), this._shell.apply(i);
7053
7053
  for (var u = 0; u < this._holes.length; u++)
7054
7054
  o._holes[u].apply(i);
@@ -7128,7 +7128,7 @@ var Ot = function(r) {
7128
7128
  }, e.serialVersionUID.get = function() {
7129
7129
  return -8048474874175356e3;
7130
7130
  }, Object.defineProperties(t, e), t;
7131
- }(ie), bn = function(r) {
7131
+ }(ie), Ln = function(r) {
7132
7132
  function t(n, i) {
7133
7133
  n instanceof v && i instanceof H && (n = i.getCoordinateSequenceFactory().create(n)), r.call(this, n, i), this.validateConstruction();
7134
7134
  }
@@ -7163,7 +7163,7 @@ var Ot = function(r) {
7163
7163
  }, e.serialVersionUID.get = function() {
7164
7164
  return -4261142084085851600;
7165
7165
  }, Object.defineProperties(t, e), t;
7166
- }(yt), xn = function(r) {
7166
+ }(yt), Sn = function(r) {
7167
7167
  function t() {
7168
7168
  r.apply(this, arguments);
7169
7169
  }
@@ -7227,7 +7227,7 @@ Fe.prototype.editGeometryCollection = function(t, e) {
7227
7227
  var a = n.edit(i.getGeometryN(s), e);
7228
7228
  a === null || a.isEmpty() || o.add(a);
7229
7229
  }
7230
- return i.getClass() === Ri ? this._factory.createMultiPoint(o.toArray([])) : i.getClass() === Tr ? this._factory.createMultiLineString(o.toArray([])) : i.getClass() === xn ? this._factory.createMultiPolygon(o.toArray([])) : this._factory.createGeometryCollection(o.toArray([]));
7230
+ return i.getClass() === Ri ? this._factory.createMultiPoint(o.toArray([])) : i.getClass() === Tr ? this._factory.createMultiLineString(o.toArray([])) : i.getClass() === Sn ? this._factory.createMultiPolygon(o.toArray([])) : this._factory.createGeometryCollection(o.toArray([]));
7231
7231
  };
7232
7232
  Fe.prototype.editPolygon = function(t, e) {
7233
7233
  var n = this, i = e.edit(t, this._factory);
@@ -7275,7 +7275,7 @@ var lo = function() {
7275
7275
  };
7276
7276
  lo.prototype.edit = function(t, e) {
7277
7277
  var n = this.editCoordinates(t.getCoordinates(), t);
7278
- return n === null ? t : t instanceof bn ? e.createLinearRing(n) : t instanceof yt ? e.createLineString(n) : t instanceof de ? n.length > 0 ? e.createPoint(n[0]) : e.createPoint() : t;
7278
+ return n === null ? t : t instanceof Ln ? e.createLinearRing(n) : t instanceof yt ? e.createLineString(n) : t instanceof de ? n.length > 0 ? e.createPoint(n[0]) : e.createPoint() : t;
7279
7279
  };
7280
7280
  lo.prototype.interfaces_ = function() {
7281
7281
  return [Fe.GeometryEditorOperation];
@@ -7286,7 +7286,7 @@ lo.prototype.getClass = function() {
7286
7286
  var co = function() {
7287
7287
  };
7288
7288
  co.prototype.edit = function(t, e) {
7289
- return t instanceof bn ? e.createLinearRing(this.edit(t.getCoordinateSequence(), t)) : t instanceof yt ? e.createLineString(this.edit(t.getCoordinateSequence(), t)) : t instanceof de ? e.createPoint(this.edit(t.getCoordinateSequence(), t)) : t;
7289
+ return t instanceof Ln ? e.createLinearRing(this.edit(t.getCoordinateSequence(), t)) : t instanceof yt ? e.createLineString(this.edit(t.getCoordinateSequence(), t)) : t instanceof de ? e.createPoint(this.edit(t.getCoordinateSequence(), t)) : t;
7290
7290
  };
7291
7291
  co.prototype.interfaces_ = function() {
7292
7292
  return [Fe.GeometryEditorOperation];
@@ -7413,12 +7413,12 @@ Iu.serialVersionUID.get = function() {
7413
7413
  return -915438501601840600;
7414
7414
  };
7415
7415
  Object.defineProperties(_t, Iu);
7416
- var Pn = function() {
7416
+ var bn = function() {
7417
7417
  }, Hs = { serialVersionUID: { configurable: !0 }, instanceObject: { configurable: !0 } };
7418
- Pn.prototype.readResolve = function() {
7419
- return Pn.instance();
7418
+ bn.prototype.readResolve = function() {
7419
+ return bn.instance();
7420
7420
  };
7421
- Pn.prototype.create = function() {
7421
+ bn.prototype.create = function() {
7422
7422
  if (arguments.length === 1) {
7423
7423
  if (arguments[0] instanceof Array) {
7424
7424
  var t = arguments[0];
@@ -7432,22 +7432,22 @@ Pn.prototype.create = function() {
7432
7432
  return i > 3 && (i = 3), i < 2 ? new _t(n) : new _t(n, i);
7433
7433
  }
7434
7434
  };
7435
- Pn.prototype.interfaces_ = function() {
7435
+ bn.prototype.interfaces_ = function() {
7436
7436
  return [Si, Ge];
7437
7437
  };
7438
- Pn.prototype.getClass = function() {
7439
- return Pn;
7438
+ bn.prototype.getClass = function() {
7439
+ return bn;
7440
7440
  };
7441
- Pn.instance = function() {
7442
- return Pn.instanceObject;
7441
+ bn.instance = function() {
7442
+ return bn.instanceObject;
7443
7443
  };
7444
7444
  Hs.serialVersionUID.get = function() {
7445
7445
  return -4099577099607551500;
7446
7446
  };
7447
7447
  Hs.instanceObject.get = function() {
7448
- return new Pn();
7448
+ return new bn();
7449
7449
  };
7450
- Object.defineProperties(Pn, Hs);
7450
+ Object.defineProperties(bn, Hs);
7451
7451
  var Cu = function(r) {
7452
7452
  function t() {
7453
7453
  r.call(this), this.map_ = /* @__PURE__ */ new Map();
@@ -7646,7 +7646,7 @@ H.prototype.createPolygon = function() {
7646
7646
  } else if (arguments[0] instanceof Array) {
7647
7647
  var e = arguments[0];
7648
7648
  return this.createPolygon(this.createLinearRing(e));
7649
- } else if (arguments[0] instanceof bn) {
7649
+ } else if (arguments[0] instanceof Ln) {
7650
7650
  var n = arguments[0];
7651
7651
  return this.createPolygon(n, null);
7652
7652
  }
@@ -7689,16 +7689,16 @@ H.prototype.createLinearRing = function() {
7689
7689
  return this.createLinearRing(t !== null ? this.getCoordinateSequenceFactory().create(t) : null);
7690
7690
  } else if (z(arguments[0], Q)) {
7691
7691
  var e = arguments[0];
7692
- return new bn(e, this);
7692
+ return new Ln(e, this);
7693
7693
  }
7694
7694
  }
7695
7695
  };
7696
7696
  H.prototype.createMultiPolygon = function() {
7697
7697
  if (arguments.length === 0)
7698
- return new xn(null, this);
7698
+ return new Sn(null, this);
7699
7699
  if (arguments.length === 1) {
7700
7700
  var t = arguments[0];
7701
- return new xn(t, this);
7701
+ return new Sn(t, this);
7702
7702
  }
7703
7703
  };
7704
7704
  H.prototype.createMultiPoint = function() {
@@ -7741,7 +7741,7 @@ H.toGeometryArray = function(t) {
7741
7741
  return t.toArray(e);
7742
7742
  };
7743
7743
  H.getDefaultCoordinateSequenceFactory = function() {
7744
- return Pn.instance();
7744
+ return bn.instance();
7745
7745
  };
7746
7746
  H.toMultiLineStringArray = function(t) {
7747
7747
  var e = new Array(t.size()).fill(null);
@@ -7787,9 +7787,9 @@ ss.prototype.read = function(t) {
7787
7787
  };
7788
7788
  ss.prototype.write = function(t) {
7789
7789
  var e = t.getGeometryType();
7790
- if (!Xn[e])
7790
+ if (!Un[e])
7791
7791
  throw new Error("Geometry is not supported");
7792
- return Xn[e].apply(this, [t]);
7792
+ return Un[e].apply(this, [t]);
7793
7793
  };
7794
7794
  var en = {
7795
7795
  /**
@@ -7956,7 +7956,7 @@ var en = {
7956
7956
  }
7957
7957
  return this.geometryFactory.createGeometryCollection(e);
7958
7958
  }
7959
- }, Xn = {
7959
+ }, Un = {
7960
7960
  /**
7961
7961
  * Convert a Coordinate to an Array
7962
7962
  *
@@ -7977,7 +7977,7 @@ var en = {
7977
7977
  * @return {Array} Array of 2 ordinates (paired to a coordinate).
7978
7978
  */
7979
7979
  Point: function(r) {
7980
- var t = Xn.coordinate.apply(this, [r.getCoordinate()]);
7980
+ var t = Un.coordinate.apply(this, [r.getCoordinate()]);
7981
7981
  return {
7982
7982
  type: "Point",
7983
7983
  coordinates: t
@@ -7993,7 +7993,7 @@ var en = {
7993
7993
  */
7994
7994
  MultiPoint: function(r) {
7995
7995
  for (var t = this, e = [], n = 0; n < r._geometries.length; ++n) {
7996
- var i = r._geometries[n], o = Xn.Point.apply(t, [i]);
7996
+ var i = r._geometries[n], o = Un.Point.apply(t, [i]);
7997
7997
  e.push(o.coordinates);
7998
7998
  }
7999
7999
  return {
@@ -8012,7 +8012,7 @@ var en = {
8012
8012
  LineString: function(r) {
8013
8013
  for (var t = this, e = [], n = r.getCoordinates(), i = 0; i < n.length; ++i) {
8014
8014
  var o = n[i];
8015
- e.push(Xn.coordinate.apply(t, [o]));
8015
+ e.push(Un.coordinate.apply(t, [o]));
8016
8016
  }
8017
8017
  return {
8018
8018
  type: "LineString",
@@ -8029,7 +8029,7 @@ var en = {
8029
8029
  */
8030
8030
  MultiLineString: function(r) {
8031
8031
  for (var t = this, e = [], n = 0; n < r._geometries.length; ++n) {
8032
- var i = r._geometries[n], o = Xn.LineString.apply(t, [i]);
8032
+ var i = r._geometries[n], o = Un.LineString.apply(t, [i]);
8033
8033
  e.push(o.coordinates);
8034
8034
  }
8035
8035
  return {
@@ -8046,10 +8046,10 @@ var en = {
8046
8046
  * @return {Array} Array with shell, holes.
8047
8047
  */
8048
8048
  Polygon: function(r) {
8049
- var t = this, e = [], n = Xn.LineString.apply(this, [r._shell]);
8049
+ var t = this, e = [], n = Un.LineString.apply(this, [r._shell]);
8050
8050
  e.push(n.coordinates);
8051
8051
  for (var i = 0; i < r._holes.length; ++i) {
8052
- var o = r._holes[i], s = Xn.LineString.apply(t, [o]);
8052
+ var o = r._holes[i], s = Un.LineString.apply(t, [o]);
8053
8053
  e.push(s.coordinates);
8054
8054
  }
8055
8055
  return {
@@ -8067,7 +8067,7 @@ var en = {
8067
8067
  */
8068
8068
  MultiPolygon: function(r) {
8069
8069
  for (var t = this, e = [], n = 0; n < r._geometries.length; ++n) {
8070
- var i = r._geometries[n], o = Xn.Polygon.apply(t, [i]);
8070
+ var i = r._geometries[n], o = Un.Polygon.apply(t, [i]);
8071
8071
  e.push(o.coordinates);
8072
8072
  }
8073
8073
  return {
@@ -8086,7 +8086,7 @@ var en = {
8086
8086
  GeometryCollection: function(r) {
8087
8087
  for (var t = this, e = [], n = 0; n < r._geometries.length; ++n) {
8088
8088
  var i = r._geometries[n], o = i.getGeometryType();
8089
- e.push(Xn[o].apply(t, [i]));
8089
+ e.push(Un[o].apply(t, [i]));
8090
8090
  }
8091
8091
  return {
8092
8092
  type: "GeometryCollection",
@@ -8234,7 +8234,7 @@ hn.prototype.interfaces_ = function() {
8234
8234
  hn.prototype.getClass = function() {
8235
8235
  return hn;
8236
8236
  };
8237
- var Jn = function(r) {
8237
+ var Zn = function(r) {
8238
8238
  function t(e, n) {
8239
8239
  r.call(this, t.msgWithCoord(e, n)), this.pt = n ? new v(n) : null, this.name = "TopologyException";
8240
8240
  }
@@ -8247,7 +8247,7 @@ var Jn = function(r) {
8247
8247
  }, t.msgWithCoord = function(n, i) {
8248
8248
  return i ? n : n + " [ " + i + " ]";
8249
8249
  }, t;
8250
- }(Qn), ls = function() {
8250
+ }(Kn), ls = function() {
8251
8251
  this.array_ = [];
8252
8252
  };
8253
8253
  ls.prototype.addLast = function(t) {
@@ -8280,7 +8280,7 @@ oe.prototype.computeNodeDepth = function(t) {
8280
8280
  }
8281
8281
  }
8282
8282
  if (n === null)
8283
- throw new Jn("unable to find edge to compute depths at " + t.getCoordinate());
8283
+ throw new Zn("unable to find edge to compute depths at " + t.getCoordinate());
8284
8284
  t.getEdges().computeDepths(n);
8285
8285
  for (var s = t.getEdges().iterator(); s.hasNext(); ) {
8286
8286
  var a = s.next();
@@ -8586,9 +8586,9 @@ wt.prototype.computePoints = function(t) {
8586
8586
  var n = t, i = !0;
8587
8587
  do {
8588
8588
  if (n === null)
8589
- throw new Jn("Found null DirectedEdge");
8589
+ throw new Zn("Found null DirectedEdge");
8590
8590
  if (n.getEdgeRing() === e)
8591
- throw new Jn("Directed Edge visited twice during ring-building at " + n.getCoordinate());
8591
+ throw new Zn("Directed Edge visited twice during ring-building at " + n.getCoordinate());
8592
8592
  e._edges.add(n);
8593
8593
  var o = n.getLabel();
8594
8594
  q.isTrue(o.isArea()), e.mergeLabel(o), e.addPoints(n.getEdge(), n.isForward(), i), i = !1, e.setEdgeRing(n, e), n = e.getNext(n);
@@ -9036,7 +9036,7 @@ var Fs = function(r) {
9036
9036
  return this._next;
9037
9037
  }, t.prototype.setDepth = function(n, i) {
9038
9038
  if (this._depth[n] !== -999 && this._depth[n] !== i)
9039
- throw new Jn("assigned depths do not match", this.getCoordinate());
9039
+ throw new Zn("assigned depths do not match", this.getCoordinate());
9040
9040
  this._depth[n] = i;
9041
9041
  }, t.prototype.isInteriorAreaEdge = function() {
9042
9042
  for (var n = this, i = !0, o = 0; o < 2; o++)
@@ -9248,7 +9248,7 @@ ve.prototype.placeFreeHoles = function(t, e) {
9248
9248
  if (o.getShell() === null) {
9249
9249
  var s = n.findEdgeRingContaining(o, t);
9250
9250
  if (s === null)
9251
- throw new Jn("unable to assign hole to a shell", o.getCoordinate(0));
9251
+ throw new Zn("unable to assign hole to a shell", o.getCoordinate(0));
9252
9252
  o.setShell(s);
9253
9253
  }
9254
9254
  }
@@ -9353,30 +9353,30 @@ We.prototype.interfaces_ = function() {
9353
9353
  We.prototype.getClass = function() {
9354
9354
  return We;
9355
9355
  };
9356
- var $n = function() {
9356
+ var Jn = function() {
9357
9357
  this._size = null, this._items = null, this._size = 0, this._items = new O(), this._items.add(null);
9358
9358
  };
9359
- $n.prototype.poll = function() {
9359
+ Jn.prototype.poll = function() {
9360
9360
  if (this.isEmpty())
9361
9361
  return null;
9362
9362
  var t = this._items.get(1);
9363
9363
  return this._items.set(1, this._items.get(this._size)), this._size -= 1, this.reorder(1), t;
9364
9364
  };
9365
- $n.prototype.size = function() {
9365
+ Jn.prototype.size = function() {
9366
9366
  return this._size;
9367
9367
  };
9368
- $n.prototype.reorder = function(t) {
9368
+ Jn.prototype.reorder = function(t) {
9369
9369
  for (var e = this, n = null, i = this._items.get(t); t * 2 <= this._size && (n = t * 2, n !== e._size && e._items.get(n + 1).compareTo(e._items.get(n)) < 0 && n++, e._items.get(n).compareTo(i) < 0); t = n)
9370
9370
  e._items.set(t, e._items.get(n));
9371
9371
  this._items.set(t, i);
9372
9372
  };
9373
- $n.prototype.clear = function() {
9373
+ Jn.prototype.clear = function() {
9374
9374
  this._size = 0, this._items.clear();
9375
9375
  };
9376
- $n.prototype.isEmpty = function() {
9376
+ Jn.prototype.isEmpty = function() {
9377
9377
  return this._size === 0;
9378
9378
  };
9379
- $n.prototype.add = function(t) {
9379
+ Jn.prototype.add = function(t) {
9380
9380
  var e = this;
9381
9381
  this._items.add(null), this._size += 1;
9382
9382
  var n = this._size;
@@ -9384,11 +9384,11 @@ $n.prototype.add = function(t) {
9384
9384
  e._items.set(n, e._items.get(Math.trunc(n / 2)));
9385
9385
  this._items.set(n, t);
9386
9386
  };
9387
- $n.prototype.interfaces_ = function() {
9387
+ Jn.prototype.interfaces_ = function() {
9388
9388
  return [];
9389
9389
  };
9390
- $n.prototype.getClass = function() {
9391
- return $n;
9390
+ Jn.prototype.getClass = function() {
9391
+ return Jn;
9392
9392
  };
9393
9393
  var gr = function() {
9394
9394
  };
@@ -9793,7 +9793,7 @@ var wu = function(r) {
9793
9793
  var a = arguments[0], u = arguments[1], l = new St(this.getRoot(), a.getRoot(), u);
9794
9794
  return this.nearestNeighbour(l);
9795
9795
  } else if (arguments[0] instanceof St && typeof arguments[1] == "number") {
9796
- var c = arguments[0], f = arguments[1], h = f, g = null, p = new $n();
9796
+ var c = arguments[0], f = arguments[1], h = f, g = null, p = new Jn();
9797
9797
  for (p.add(c); !p.isEmpty() && h > 0; ) {
9798
9798
  var y = p.poll(), d = y.getDistance();
9799
9799
  if (d >= h)
@@ -10019,10 +10019,10 @@ se.prototype.add = function(t, e) {
10019
10019
  se.prototype.checkSplitEdgesCorrectness = function(t) {
10020
10020
  var e = this._edge.getCoordinates(), n = t.get(0), i = n.getCoordinate(0);
10021
10021
  if (!i.equals2D(e[0]))
10022
- throw new Qn("bad split edge start point at " + i);
10022
+ throw new Kn("bad split edge start point at " + i);
10023
10023
  var o = t.get(t.size() - 1), s = o.getCoordinates(), a = s[s.length - 1];
10024
10024
  if (!a.equals2D(e[e.length - 1]))
10025
- throw new Qn("bad split edge end point at " + a);
10025
+ throw new Kn("bad split edge end point at " + a);
10026
10026
  };
10027
10027
  se.prototype.interfaces_ = function() {
10028
10028
  return [];
@@ -10052,32 +10052,32 @@ ti.octant = function() {
10052
10052
  return ti.octant(a, u);
10053
10053
  }
10054
10054
  };
10055
- var Rn = function() {
10055
+ var Pn = function() {
10056
10056
  };
10057
- Rn.prototype.getCoordinates = function() {
10057
+ Pn.prototype.getCoordinates = function() {
10058
10058
  };
10059
- Rn.prototype.size = function() {
10059
+ Pn.prototype.size = function() {
10060
10060
  };
10061
- Rn.prototype.getCoordinate = function(t) {
10061
+ Pn.prototype.getCoordinate = function(t) {
10062
10062
  };
10063
- Rn.prototype.isClosed = function() {
10063
+ Pn.prototype.isClosed = function() {
10064
10064
  };
10065
- Rn.prototype.setData = function(t) {
10065
+ Pn.prototype.setData = function(t) {
10066
10066
  };
10067
- Rn.prototype.getData = function() {
10067
+ Pn.prototype.getData = function() {
10068
10068
  };
10069
- Rn.prototype.interfaces_ = function() {
10069
+ Pn.prototype.interfaces_ = function() {
10070
10070
  return [];
10071
10071
  };
10072
- Rn.prototype.getClass = function() {
10073
- return Rn;
10072
+ Pn.prototype.getClass = function() {
10073
+ return Pn;
10074
10074
  };
10075
10075
  var fo = function() {
10076
10076
  };
10077
10077
  fo.prototype.addIntersection = function(t, e) {
10078
10078
  };
10079
10079
  fo.prototype.interfaces_ = function() {
10080
- return [Rn];
10080
+ return [Pn];
10081
10081
  };
10082
10082
  fo.prototype.getClass = function() {
10083
10083
  return fo;
@@ -10584,7 +10584,7 @@ var Zs = function(r) {
10584
10584
  this.setQuadrantSegments(i), this.setEndCapStyle(o), this.setJoinStyle(s), this.setMitreLimit(a);
10585
10585
  }
10586
10586
  }
10587
- }, rr = { CAP_ROUND: { configurable: !0 }, CAP_FLAT: { configurable: !0 }, CAP_SQUARE: { configurable: !0 }, JOIN_ROUND: { configurable: !0 }, JOIN_MITRE: { configurable: !0 }, JOIN_BEVEL: { configurable: !0 }, DEFAULT_QUADRANT_SEGMENTS: { configurable: !0 }, DEFAULT_MITRE_LIMIT: { configurable: !0 }, DEFAULT_SIMPLIFY_FACTOR: { configurable: !0 } };
10587
+ }, nr = { CAP_ROUND: { configurable: !0 }, CAP_FLAT: { configurable: !0 }, CAP_SQUARE: { configurable: !0 }, JOIN_ROUND: { configurable: !0 }, JOIN_MITRE: { configurable: !0 }, JOIN_BEVEL: { configurable: !0 }, DEFAULT_QUADRANT_SEGMENTS: { configurable: !0 }, DEFAULT_MITRE_LIMIT: { configurable: !0 }, DEFAULT_SIMPLIFY_FACTOR: { configurable: !0 } };
10588
10588
  J.prototype.getEndCapStyle = function() {
10589
10589
  return this._endCapStyle;
10590
10590
  };
@@ -10631,34 +10631,34 @@ J.bufferDistanceError = function(t) {
10631
10631
  var e = Math.PI / 2 / t;
10632
10632
  return 1 - Math.cos(e / 2);
10633
10633
  };
10634
- rr.CAP_ROUND.get = function() {
10634
+ nr.CAP_ROUND.get = function() {
10635
10635
  return 1;
10636
10636
  };
10637
- rr.CAP_FLAT.get = function() {
10637
+ nr.CAP_FLAT.get = function() {
10638
10638
  return 2;
10639
10639
  };
10640
- rr.CAP_SQUARE.get = function() {
10640
+ nr.CAP_SQUARE.get = function() {
10641
10641
  return 3;
10642
10642
  };
10643
- rr.JOIN_ROUND.get = function() {
10643
+ nr.JOIN_ROUND.get = function() {
10644
10644
  return 1;
10645
10645
  };
10646
- rr.JOIN_MITRE.get = function() {
10646
+ nr.JOIN_MITRE.get = function() {
10647
10647
  return 2;
10648
10648
  };
10649
- rr.JOIN_BEVEL.get = function() {
10649
+ nr.JOIN_BEVEL.get = function() {
10650
10650
  return 3;
10651
10651
  };
10652
- rr.DEFAULT_QUADRANT_SEGMENTS.get = function() {
10652
+ nr.DEFAULT_QUADRANT_SEGMENTS.get = function() {
10653
10653
  return 8;
10654
10654
  };
10655
- rr.DEFAULT_MITRE_LIMIT.get = function() {
10655
+ nr.DEFAULT_MITRE_LIMIT.get = function() {
10656
10656
  return 5;
10657
10657
  };
10658
- rr.DEFAULT_SIMPLIFY_FACTOR.get = function() {
10658
+ nr.DEFAULT_SIMPLIFY_FACTOR.get = function() {
10659
10659
  return 0.01;
10660
10660
  };
10661
- Object.defineProperties(J, rr);
10661
+ Object.defineProperties(J, nr);
10662
10662
  var mt = function(t) {
10663
10663
  this._distanceTol = null, this._isDeleted = null, this._angleOrientation = M.COUNTERCLOCKWISE, this._inputLine = t || null;
10664
10664
  }, So = { INIT: { configurable: !0 }, DELETE: { configurable: !0 }, KEEP: { configurable: !0 }, NUM_PTS_TO_CHECK: { configurable: !0 } };
@@ -11354,17 +11354,17 @@ Be.prototype.getCurves = function() {
11354
11354
  return this.add(this._inputGeom), this._curveList;
11355
11355
  };
11356
11356
  Be.prototype.addPolygonRing = function(t, e, n, i, o) {
11357
- if (e === 0 && t.length < bn.MINIMUM_VALID_SIZE)
11357
+ if (e === 0 && t.length < Ln.MINIMUM_VALID_SIZE)
11358
11358
  return null;
11359
11359
  var s = i, a = o;
11360
- t.length >= bn.MINIMUM_VALID_SIZE && M.isCCW(t) && (s = o, a = i, n = P.opposite(n));
11360
+ t.length >= Ln.MINIMUM_VALID_SIZE && M.isCCW(t) && (s = o, a = i, n = P.opposite(n));
11361
11361
  var u = this._curveBuilder.getRingCurve(t, n, e);
11362
11362
  this.addCurve(u, s, a);
11363
11363
  };
11364
11364
  Be.prototype.add = function(t) {
11365
11365
  if (t.isEmpty())
11366
11366
  return null;
11367
- t instanceof Ot ? this.addPolygon(t) : t instanceof yt ? this.addLineString(t) : t instanceof de ? this.addPoint(t) : t instanceof Ri ? this.addCollection(t) : t instanceof Tr ? this.addCollection(t) : t instanceof xn ? this.addCollection(t) : t instanceof ie && this.addCollection(t);
11367
+ t instanceof Ot ? this.addPolygon(t) : t instanceof yt ? this.addLineString(t) : t instanceof de ? this.addPoint(t) : t instanceof Ri ? this.addCollection(t) : t instanceof Tr ? this.addCollection(t) : t instanceof Sn ? this.addCollection(t) : t instanceof ie && this.addCollection(t);
11368
11368
  };
11369
11369
  Be.prototype.isErodedCompletely = function(t, e) {
11370
11370
  var n = t.getCoordinates();
@@ -11397,14 +11397,14 @@ Mi.prototype.interfaces_ = function() {
11397
11397
  Mi.prototype.getClass = function() {
11398
11398
  return Mi;
11399
11399
  };
11400
- var wn = function() {
11400
+ var xn = function() {
11401
11401
  this._parent = null, this._atStart = null, this._max = null, this._index = null, this._subcollectionIterator = null;
11402
11402
  var t = arguments[0];
11403
11403
  this._parent = t, this._atStart = !0, this._index = 0, this._max = t.getNumGeometries();
11404
11404
  };
11405
- wn.prototype.next = function() {
11405
+ xn.prototype.next = function() {
11406
11406
  if (this._atStart)
11407
- return this._atStart = !1, wn.isAtomic(this._parent) && this._index++, this._parent;
11407
+ return this._atStart = !1, xn.isAtomic(this._parent) && this._index++, this._parent;
11408
11408
  if (this._subcollectionIterator !== null) {
11409
11409
  if (this._subcollectionIterator.hasNext())
11410
11410
  return this._subcollectionIterator.next();
@@ -11413,12 +11413,12 @@ wn.prototype.next = function() {
11413
11413
  if (this._index >= this._max)
11414
11414
  throw new Wi();
11415
11415
  var t = this._parent.getGeometryN(this._index++);
11416
- return t instanceof ie ? (this._subcollectionIterator = new wn(t), this._subcollectionIterator.next()) : t;
11416
+ return t instanceof ie ? (this._subcollectionIterator = new xn(t), this._subcollectionIterator.next()) : t;
11417
11417
  };
11418
- wn.prototype.remove = function() {
11418
+ xn.prototype.remove = function() {
11419
11419
  throw new Error(this.getClass().getName());
11420
11420
  };
11421
- wn.prototype.hasNext = function() {
11421
+ xn.prototype.hasNext = function() {
11422
11422
  if (this._atStart)
11423
11423
  return !0;
11424
11424
  if (this._subcollectionIterator !== null) {
@@ -11428,13 +11428,13 @@ wn.prototype.hasNext = function() {
11428
11428
  }
11429
11429
  return !(this._index >= this._max);
11430
11430
  };
11431
- wn.prototype.interfaces_ = function() {
11431
+ xn.prototype.interfaces_ = function() {
11432
11432
  return [Yi];
11433
11433
  };
11434
- wn.prototype.getClass = function() {
11435
- return wn;
11434
+ xn.prototype.getClass = function() {
11435
+ return xn;
11436
11436
  };
11437
- wn.isAtomic = function(t) {
11437
+ xn.isAtomic = function(t) {
11438
11438
  return !(t instanceof ie);
11439
11439
  };
11440
11440
  var Se = function() {
@@ -11471,7 +11471,7 @@ Se.containsPoint = function(t, e) {
11471
11471
  if (e instanceof Ot)
11472
11472
  return Se.containsPointInPolygon(t, e);
11473
11473
  if (e instanceof ie)
11474
- for (var n = new wn(e); n.hasNext(); ) {
11474
+ for (var n = new xn(e); n.hasNext(); ) {
11475
11475
  var i = n.next();
11476
11476
  if (i !== e && Se.containsPoint(t, i))
11477
11477
  return !0;
@@ -11502,7 +11502,7 @@ Zt.prototype.propagateSideLabels = function(t) {
11502
11502
  var c = l.getLocation(t, P.LEFT), f = l.getLocation(t, P.RIGHT);
11503
11503
  if (f !== E.NONE) {
11504
11504
  if (f !== s)
11505
- throw new Jn("side location conflict", u.getCoordinate());
11505
+ throw new Zn("side location conflict", u.getCoordinate());
11506
11506
  c === E.NONE && q.shouldNeverReachHere("found single null side (at " + u.getCoordinate() + ")"), s = c;
11507
11507
  } else
11508
11508
  q.isTrue(l.getLocation(t, P.LEFT) === E.NONE, "found single null side"), l.setLocation(t, P.RIGHT, s), l.setLocation(t, P.LEFT, s);
@@ -11634,7 +11634,7 @@ var rf = function(r) {
11634
11634
  }
11635
11635
  if (s === this._LINKING_TO_OUTGOING) {
11636
11636
  if (i === null)
11637
- throw new Jn("no outgoing dirEdge found", this.getCoordinate());
11637
+ throw new Zn("no outgoing dirEdge found", this.getCoordinate());
11638
11638
  q.isTrue(i.isInResult(), "unable to link last incoming dirEdge"), o.setNext(i);
11639
11639
  }
11640
11640
  }, t.prototype.insert = function(n) {
@@ -11683,7 +11683,7 @@ var rf = function(r) {
11683
11683
  if (arguments.length === 1) {
11684
11684
  var i = arguments[0], o = this.findIndex(i), s = i.getDepth(P.LEFT), a = i.getDepth(P.RIGHT), u = this.computeDepths(o + 1, this._edgeList.size(), s), l = this.computeDepths(0, o, u);
11685
11685
  if (l !== a)
11686
- throw new Jn("depth mismatch at " + i.getCoordinate());
11686
+ throw new Zn("depth mismatch at " + i.getCoordinate());
11687
11687
  } else if (arguments.length === 3) {
11688
11688
  for (var c = arguments[0], f = arguments[1], h = arguments[2], g = h, p = c; p < f; p++) {
11689
11689
  var y = n._edgeList.get(p);
@@ -11957,22 +11957,22 @@ pn.prototype.interfaces_ = function() {
11957
11957
  pn.prototype.getClass = function() {
11958
11958
  return pn;
11959
11959
  };
11960
- var On = function() {
11960
+ var Rn = function() {
11961
11961
  this._nodeMap = new Kt(), this.edge = null;
11962
11962
  var t = arguments[0];
11963
11963
  this.edge = t;
11964
11964
  };
11965
- On.prototype.print = function(t) {
11965
+ Rn.prototype.print = function(t) {
11966
11966
  t.println("Intersections:");
11967
11967
  for (var e = this.iterator(); e.hasNext(); ) {
11968
11968
  var n = e.next();
11969
11969
  n.print(t);
11970
11970
  }
11971
11971
  };
11972
- On.prototype.iterator = function() {
11972
+ Rn.prototype.iterator = function() {
11973
11973
  return this._nodeMap.values().iterator();
11974
11974
  };
11975
- On.prototype.addSplitEdges = function(t) {
11975
+ Rn.prototype.addSplitEdges = function(t) {
11976
11976
  var e = this;
11977
11977
  this.addEndpoints();
11978
11978
  for (var n = this.iterator(), i = n.next(); n.hasNext(); ) {
@@ -11980,11 +11980,11 @@ On.prototype.addSplitEdges = function(t) {
11980
11980
  t.add(s), i = o;
11981
11981
  }
11982
11982
  };
11983
- On.prototype.addEndpoints = function() {
11983
+ Rn.prototype.addEndpoints = function() {
11984
11984
  var t = this.edge.pts.length - 1;
11985
11985
  this.add(this.edge.pts[0], 0, 0), this.add(this.edge.pts[t], t, 0);
11986
11986
  };
11987
- On.prototype.createSplitEdge = function(t, e) {
11987
+ Rn.prototype.createSplitEdge = function(t, e) {
11988
11988
  var n = this, i = e.segmentIndex - t.segmentIndex + 2, o = this.edge.pts[e.segmentIndex], s = e.dist > 0 || !e.coord.equals2D(o);
11989
11989
  s || i--;
11990
11990
  var a = new Array(i).fill(null), u = 0;
@@ -11993,11 +11993,11 @@ On.prototype.createSplitEdge = function(t, e) {
11993
11993
  a[u++] = n.edge.pts[l];
11994
11994
  return s && (a[u] = e.coord), new Yo(a, new et(this.edge._label));
11995
11995
  };
11996
- On.prototype.add = function(t, e, n) {
11996
+ Rn.prototype.add = function(t, e, n) {
11997
11997
  var i = new pn(t, e, n), o = this._nodeMap.get(i);
11998
11998
  return o !== null ? o : (this._nodeMap.put(i, i), i);
11999
11999
  };
12000
- On.prototype.isIntersection = function(t) {
12000
+ Rn.prototype.isIntersection = function(t) {
12001
12001
  for (var e = this.iterator(); e.hasNext(); ) {
12002
12002
  var n = e.next();
12003
12003
  if (n.coord.equals(t))
@@ -12005,11 +12005,11 @@ On.prototype.isIntersection = function(t) {
12005
12005
  }
12006
12006
  return !1;
12007
12007
  };
12008
- On.prototype.interfaces_ = function() {
12008
+ Rn.prototype.interfaces_ = function() {
12009
12009
  return [];
12010
12010
  };
12011
- On.prototype.getClass = function() {
12012
- return On;
12011
+ Rn.prototype.getClass = function() {
12012
+ return Rn;
12013
12013
  };
12014
12014
  var Br = function() {
12015
12015
  };
@@ -12043,25 +12043,25 @@ Br.toIntArray = function(t) {
12043
12043
  e[n] = t.get(n).intValue();
12044
12044
  return e;
12045
12045
  };
12046
- var tr = function() {
12046
+ var $n = function() {
12047
12047
  this.e = null, this.pts = null, this.startIndex = null, this.env1 = new B(), this.env2 = new B();
12048
12048
  var t = arguments[0];
12049
12049
  this.e = t, this.pts = t.getCoordinates();
12050
12050
  var e = new Br();
12051
12051
  this.startIndex = e.getChainStartIndices(this.pts);
12052
12052
  };
12053
- tr.prototype.getCoordinates = function() {
12053
+ $n.prototype.getCoordinates = function() {
12054
12054
  return this.pts;
12055
12055
  };
12056
- tr.prototype.getMaxX = function(t) {
12056
+ $n.prototype.getMaxX = function(t) {
12057
12057
  var e = this.pts[this.startIndex[t]].x, n = this.pts[this.startIndex[t + 1]].x;
12058
12058
  return e > n ? e : n;
12059
12059
  };
12060
- tr.prototype.getMinX = function(t) {
12060
+ $n.prototype.getMinX = function(t) {
12061
12061
  var e = this.pts[this.startIndex[t]].x, n = this.pts[this.startIndex[t + 1]].x;
12062
12062
  return e < n ? e : n;
12063
12063
  };
12064
- tr.prototype.computeIntersectsForChain = function() {
12064
+ $n.prototype.computeIntersectsForChain = function() {
12065
12065
  if (arguments.length === 4) {
12066
12066
  var t = arguments[0], e = arguments[1], n = arguments[2], i = arguments[3];
12067
12067
  this.computeIntersectsForChain(this.startIndex[t], this.startIndex[t + 1], e, e.startIndex[n], e.startIndex[n + 1], i);
@@ -12075,19 +12075,19 @@ tr.prototype.computeIntersectsForChain = function() {
12075
12075
  o < y && (u < d && this.computeIntersectsForChain(o, y, a, u, d, c), d < l && this.computeIntersectsForChain(o, y, a, d, l, c)), y < s && (u < d && this.computeIntersectsForChain(y, s, a, u, d, c), d < l && this.computeIntersectsForChain(y, s, a, d, l, c));
12076
12076
  }
12077
12077
  };
12078
- tr.prototype.getStartIndexes = function() {
12078
+ $n.prototype.getStartIndexes = function() {
12079
12079
  return this.startIndex;
12080
12080
  };
12081
- tr.prototype.computeIntersects = function(t, e) {
12081
+ $n.prototype.computeIntersects = function(t, e) {
12082
12082
  for (var n = this, i = 0; i < this.startIndex.length - 1; i++)
12083
12083
  for (var o = 0; o < t.startIndex.length - 1; o++)
12084
12084
  n.computeIntersectsForChain(i, t, o, e);
12085
12085
  };
12086
- tr.prototype.interfaces_ = function() {
12086
+ $n.prototype.interfaces_ = function() {
12087
12087
  return [];
12088
12088
  };
12089
- tr.prototype.getClass = function() {
12090
- return tr;
12089
+ $n.prototype.getClass = function() {
12090
+ return $n;
12091
12091
  };
12092
12092
  var Ut = function r() {
12093
12093
  var t = this;
@@ -12168,7 +12168,7 @@ Ou.NULL_VALUE.get = function() {
12168
12168
  Object.defineProperties(Ut, Ou);
12169
12169
  var Yo = function(r) {
12170
12170
  function t() {
12171
- if (r.call(this), this.pts = null, this._env = null, this.eiList = new On(this), this._name = null, this._mce = null, this._isIsolated = !0, this._depth = new Ut(), this._depthDelta = 0, arguments.length === 1) {
12171
+ if (r.call(this), this.pts = null, this._env = null, this.eiList = new Rn(this), this._name = null, this._mce = null, this._isIsolated = !0, this._depth = new Ut(), this._depthDelta = 0, arguments.length === 1) {
12172
12172
  var e = arguments[0];
12173
12173
  t.call(this, e, null);
12174
12174
  } else if (arguments.length === 2) {
@@ -12234,7 +12234,7 @@ var Yo = function(r) {
12234
12234
  n.print(i.pts[o] + " ");
12235
12235
  n.println("");
12236
12236
  }, t.prototype.getMonotoneChainEdge = function() {
12237
- return this._mce === null && (this._mce = new tr(this)), this._mce;
12237
+ return this._mce === null && (this._mce = new $n(this)), this._mce;
12238
12238
  }, t.prototype.getEnvelope = function() {
12239
12239
  var n = this;
12240
12240
  if (this._env === null) {
@@ -12440,7 +12440,7 @@ dn.prototype.checkEndPtVertexIntersections = function() {
12440
12440
  for (var o = arguments[0], s = arguments[1], a = s.iterator(); a.hasNext(); )
12441
12441
  for (var u = a.next(), l = u.getCoordinates(), c = 1; c < l.length - 1; c++)
12442
12442
  if (l[c].equals(o))
12443
- throw new Qn("found endpt/interior pt intersection at index " + c + " :pt " + o);
12443
+ throw new Kn("found endpt/interior pt intersection at index " + c + " :pt " + o);
12444
12444
  }
12445
12445
  };
12446
12446
  dn.prototype.checkInteriorIntersections = function() {
@@ -12461,7 +12461,7 @@ dn.prototype.checkInteriorIntersections = function() {
12461
12461
  return null;
12462
12462
  var d = h.getCoordinates()[g], m = h.getCoordinates()[g + 1], _ = p.getCoordinates()[y], C = p.getCoordinates()[y + 1];
12463
12463
  if (this._li.computeIntersection(d, m, _, C), this._li.hasIntersection() && (this._li.isProper() || this.hasInteriorIntersection(this._li, d, m) || this.hasInteriorIntersection(this._li, _, C)))
12464
- throw new Qn("found non-noded intersection at " + d + "-" + m + " and " + _ + "-" + C);
12464
+ throw new Kn("found non-noded intersection at " + d + "-" + m + " and " + _ + "-" + C);
12465
12465
  }
12466
12466
  };
12467
12467
  dn.prototype.checkValid = function() {
@@ -12488,7 +12488,7 @@ dn.prototype.hasInteriorIntersection = function(t, e, n) {
12488
12488
  };
12489
12489
  dn.prototype.checkCollapse = function(t, e, n) {
12490
12490
  if (t.equals(n))
12491
- throw new Qn("found non-noded collapse at " + dn.fact.createLineString([t, e, n]));
12491
+ throw new Kn("found non-noded collapse at " + dn.fact.createLineString([t, e, n]));
12492
12492
  };
12493
12493
  dn.prototype.interfaces_ = function() {
12494
12494
  return [];
@@ -12656,12 +12656,12 @@ ni.prototype.interfaces_ = function() {
12656
12656
  ni.prototype.getClass = function() {
12657
12657
  return ni;
12658
12658
  };
12659
- var Dn = function() {
12659
+ var On = function() {
12660
12660
  this._pm = null, this._li = null, this._scaleFactor = null, this._noder = null, this._pointSnapper = null, this._nodedSegStrings = null;
12661
12661
  var t = arguments[0];
12662
12662
  this._pm = t, this._li = new Yr(), this._li.setPrecisionModel(t), this._scaleFactor = t.getScale();
12663
12663
  };
12664
- Dn.prototype.checkCorrectness = function(t) {
12664
+ On.prototype.checkCorrectness = function(t) {
12665
12665
  var e = Nt.getNodedSubstrings(t), n = new dn(e);
12666
12666
  try {
12667
12667
  n.checkValid();
@@ -12673,18 +12673,18 @@ Dn.prototype.checkCorrectness = function(t) {
12673
12673
  } finally {
12674
12674
  }
12675
12675
  };
12676
- Dn.prototype.getNodedSubstrings = function() {
12676
+ On.prototype.getNodedSubstrings = function() {
12677
12677
  return Nt.getNodedSubstrings(this._nodedSegStrings);
12678
12678
  };
12679
- Dn.prototype.snapRound = function(t, e) {
12679
+ On.prototype.snapRound = function(t, e) {
12680
12680
  var n = this.findInteriorIntersections(t, e);
12681
12681
  this.computeIntersectionSnaps(n), this.computeVertexSnaps(t);
12682
12682
  };
12683
- Dn.prototype.findInteriorIntersections = function(t, e) {
12683
+ On.prototype.findInteriorIntersections = function(t, e) {
12684
12684
  var n = new ni(e);
12685
12685
  return this._noder.setSegmentIntersector(n), this._noder.computeNodes(t), n.getInteriorIntersections();
12686
12686
  };
12687
- Dn.prototype.computeVertexSnaps = function() {
12687
+ On.prototype.computeVertexSnaps = function() {
12688
12688
  var t = this;
12689
12689
  if (z(arguments[0], Lt))
12690
12690
  for (var e = arguments[0], n = e.iterator(); n.hasNext(); ) {
@@ -12697,20 +12697,20 @@ Dn.prototype.computeVertexSnaps = function() {
12697
12697
  l && o.addIntersection(s[a], a);
12698
12698
  }
12699
12699
  };
12700
- Dn.prototype.computeNodes = function(t) {
12700
+ On.prototype.computeNodes = function(t) {
12701
12701
  this._nodedSegStrings = t, this._noder = new Zs(), this._pointSnapper = new Ai(this._noder.getIndex()), this.snapRound(t, this._li);
12702
12702
  };
12703
- Dn.prototype.computeIntersectionSnaps = function(t) {
12703
+ On.prototype.computeIntersectionSnaps = function(t) {
12704
12704
  for (var e = this, n = t.iterator(); n.hasNext(); ) {
12705
12705
  var i = n.next(), o = new he(i, e._scaleFactor, e._li);
12706
12706
  e._pointSnapper.snap(o);
12707
12707
  }
12708
12708
  };
12709
- Dn.prototype.interfaces_ = function() {
12709
+ On.prototype.interfaces_ = function() {
12710
12710
  return [Mr];
12711
12711
  };
12712
- Dn.prototype.getClass = function() {
12713
- return Dn;
12712
+ On.prototype.getClass = function() {
12713
+ return On;
12714
12714
  };
12715
12715
  var Vt = function() {
12716
12716
  if (this._argGeom = null, this._distance = null, this._bufParams = new J(), this._resultGeometry = null, this._saveException = null, arguments.length === 1) {
@@ -12722,7 +12722,7 @@ var Vt = function() {
12722
12722
  }
12723
12723
  }, Hi = { CAP_ROUND: { configurable: !0 }, CAP_BUTT: { configurable: !0 }, CAP_FLAT: { configurable: !0 }, CAP_SQUARE: { configurable: !0 }, MAX_PRECISION_DIGITS: { configurable: !0 } };
12724
12724
  Vt.prototype.bufferFixedPrecision = function(t) {
12725
- var e = new vr(new Dn(new $(1)), t.getScale()), n = new re(this._bufParams);
12725
+ var e = new vr(new On(new $(1)), t.getScale()), n = new re(this._bufParams);
12726
12726
  n.setWorkingPrecisionModel(t), n.setNoder(e), this._resultGeometry = n.buffer(this._argGeom, this._distance);
12727
12727
  };
12728
12728
  Vt.prototype.bufferReducedPrecision = function() {
@@ -12732,7 +12732,7 @@ Vt.prototype.bufferReducedPrecision = function() {
12732
12732
  try {
12733
12733
  t.bufferReducedPrecision(e);
12734
12734
  } catch (s) {
12735
- if (s instanceof Jn)
12735
+ if (s instanceof Zn)
12736
12736
  t._saveException = s;
12737
12737
  else
12738
12738
  throw s;
@@ -12761,7 +12761,7 @@ Vt.prototype.bufferOriginalPrecision = function() {
12761
12761
  var t = new re(this._bufParams);
12762
12762
  this._resultGeometry = t.buffer(this._argGeom, this._distance);
12763
12763
  } catch (e) {
12764
- if (e instanceof Qn)
12764
+ if (e instanceof Kn)
12765
12765
  this._saveException = e;
12766
12766
  else
12767
12767
  throw e;
@@ -12874,15 +12874,15 @@ te.prototype.interfaces_ = function() {
12874
12874
  te.prototype.getClass = function() {
12875
12875
  return te;
12876
12876
  };
12877
- var Nn = function() {
12877
+ var Cn = function() {
12878
12878
  };
12879
- Nn.prototype.interfaces_ = function() {
12879
+ Cn.prototype.interfaces_ = function() {
12880
12880
  return [];
12881
12881
  };
12882
- Nn.prototype.getClass = function() {
12883
- return Nn;
12882
+ Cn.prototype.getClass = function() {
12883
+ return Cn;
12884
12884
  };
12885
- Nn.computeDistance = function() {
12885
+ Cn.computeDistance = function() {
12886
12886
  if (arguments[2] instanceof te && arguments[0] instanceof yt && arguments[1] instanceof v)
12887
12887
  for (var t = arguments[0], e = arguments[1], n = arguments[2], i = t.getCoordinates(), o = new k(), s = 0; s < i.length - 1; s++) {
12888
12888
  o.setCoordinates(i[s], i[s + 1]);
@@ -12891,19 +12891,19 @@ Nn.computeDistance = function() {
12891
12891
  }
12892
12892
  else if (arguments[2] instanceof te && arguments[0] instanceof Ot && arguments[1] instanceof v) {
12893
12893
  var u = arguments[0], l = arguments[1], c = arguments[2];
12894
- Nn.computeDistance(u.getExteriorRing(), l, c);
12894
+ Cn.computeDistance(u.getExteriorRing(), l, c);
12895
12895
  for (var f = 0; f < u.getNumInteriorRing(); f++)
12896
- Nn.computeDistance(u.getInteriorRingN(f), l, c);
12896
+ Cn.computeDistance(u.getInteriorRingN(f), l, c);
12897
12897
  } else if (arguments[2] instanceof te && arguments[0] instanceof G && arguments[1] instanceof v) {
12898
12898
  var h = arguments[0], g = arguments[1], p = arguments[2];
12899
12899
  if (h instanceof yt)
12900
- Nn.computeDistance(h, g, p);
12900
+ Cn.computeDistance(h, g, p);
12901
12901
  else if (h instanceof Ot)
12902
- Nn.computeDistance(h, g, p);
12902
+ Cn.computeDistance(h, g, p);
12903
12903
  else if (h instanceof ie)
12904
12904
  for (var y = h, d = 0; d < y.getNumGeometries(); d++) {
12905
12905
  var m = y.getGeometryN(d);
12906
- Nn.computeDistance(m, g, p);
12906
+ Cn.computeDistance(m, g, p);
12907
12907
  }
12908
12908
  else
12909
12909
  p.setMinimum(h.getCoordinate(), g);
@@ -12946,13 +12946,13 @@ var ri = function(t) {
12946
12946
  this._maxPtDist = new te(), this._minPtDist = new te(), this._geom = t || null;
12947
12947
  };
12948
12948
  ri.prototype.filter = function(t) {
12949
- this._minPtDist.initialize(), Nn.computeDistance(this._geom, t, this._minPtDist), this._maxPtDist.setMaximum(this._minPtDist);
12949
+ this._minPtDist.initialize(), Cn.computeDistance(this._geom, t, this._minPtDist), this._maxPtDist.setMaximum(this._minPtDist);
12950
12950
  };
12951
12951
  ri.prototype.getMaxPointDistance = function() {
12952
12952
  return this._maxPtDist;
12953
12953
  };
12954
12954
  ri.prototype.interfaces_ = function() {
12955
- return [Ln];
12955
+ return [wn];
12956
12956
  };
12957
12957
  ri.prototype.getClass = function() {
12958
12958
  return ri;
@@ -12964,7 +12964,7 @@ yr.prototype.filter = function(t, e) {
12964
12964
  if (e === 0)
12965
12965
  return null;
12966
12966
  var n = t.getCoordinate(e - 1), i = t.getCoordinate(e), o = new v((n.x + i.x) / 2, (n.y + i.y) / 2);
12967
- this._minPtDist.initialize(), Nn.computeDistance(this._geom, o, this._minPtDist), this._maxPtDist.setMaximum(this._minPtDist);
12967
+ this._minPtDist.initialize(), Cn.computeDistance(this._geom, o, this._minPtDist), this._maxPtDist.setMaximum(this._minPtDist);
12968
12968
  };
12969
12969
  yr.prototype.isDone = function() {
12970
12970
  return !1;
@@ -12981,25 +12981,25 @@ yr.prototype.interfaces_ = function() {
12981
12981
  yr.prototype.getClass = function() {
12982
12982
  return yr;
12983
12983
  };
12984
- var jn = function(t) {
12984
+ var Hn = function(t) {
12985
12985
  this._comps = t || null;
12986
12986
  };
12987
- jn.prototype.filter = function(t) {
12987
+ Hn.prototype.filter = function(t) {
12988
12988
  t instanceof Ot && this._comps.add(t);
12989
12989
  };
12990
- jn.prototype.interfaces_ = function() {
12990
+ Hn.prototype.interfaces_ = function() {
12991
12991
  return [cn];
12992
12992
  };
12993
- jn.prototype.getClass = function() {
12994
- return jn;
12993
+ Hn.prototype.getClass = function() {
12994
+ return Hn;
12995
12995
  };
12996
- jn.getPolygons = function() {
12996
+ Hn.getPolygons = function() {
12997
12997
  if (arguments.length === 1) {
12998
12998
  var t = arguments[0];
12999
- return jn.getPolygons(t, new O());
12999
+ return Hn.getPolygons(t, new O());
13000
13000
  } else if (arguments.length === 2) {
13001
13001
  var e = arguments[0], n = arguments[1];
13002
- return e instanceof Ot ? n.add(e) : e instanceof ie && e.apply(new jn(n)), n;
13002
+ return e instanceof Ot ? n.add(e) : e instanceof ie && e.apply(new Hn(n)), n;
13003
13003
  }
13004
13004
  };
13005
13005
  var zt = function() {
@@ -13012,7 +13012,7 @@ var zt = function() {
13012
13012
  }
13013
13013
  };
13014
13014
  zt.prototype.filter = function(t) {
13015
- if (this._isForcedToLineString && t instanceof bn) {
13015
+ if (this._isForcedToLineString && t instanceof Ln) {
13016
13016
  var e = t.getFactory().createLineString(t.getCoordinateSequence());
13017
13017
  return this._lines.add(e), null;
13018
13018
  }
@@ -13022,7 +13022,7 @@ zt.prototype.setForceToLineString = function(t) {
13022
13022
  this._isForcedToLineString = t;
13023
13023
  };
13024
13024
  zt.prototype.interfaces_ = function() {
13025
- return [Zn];
13025
+ return [Qn];
13026
13026
  };
13027
13027
  zt.prototype.getClass = function() {
13028
13028
  return zt;
@@ -13127,13 +13127,13 @@ Ke.prototype.computeLocation = function(t, e) {
13127
13127
  var s = i.getGeometryN(o);
13128
13128
  n.updateLocationInfo(n.locateInternal(t, s));
13129
13129
  }
13130
- else if (e instanceof xn)
13130
+ else if (e instanceof Sn)
13131
13131
  for (var a = e, u = 0; u < a.getNumGeometries(); u++) {
13132
13132
  var l = a.getGeometryN(u);
13133
13133
  n.updateLocationInfo(n.locateInternal(t, l));
13134
13134
  }
13135
13135
  else if (e instanceof ie)
13136
- for (var c = new wn(e); c.hasNext(); ) {
13136
+ for (var c = new xn(e); c.hasNext(); ) {
13137
13137
  var f = c.next();
13138
13138
  f !== e && n.computeLocation(t, f);
13139
13139
  }
@@ -13234,7 +13234,7 @@ Xt.prototype.computeContainmentDistance = function() {
13234
13234
  return null;
13235
13235
  this.computeContainmentDistance(1, e);
13236
13236
  } else if (arguments.length === 2) {
13237
- var n = arguments[0], i = arguments[1], o = 1 - n, s = jn.getPolygons(this._geom[n]);
13237
+ var n = arguments[0], i = arguments[1], o = 1 - n, s = Hn.getPolygons(this._geom[n]);
13238
13238
  if (s.size() > 0) {
13239
13239
  var a = ii.getLocations(this._geom[o]);
13240
13240
  if (this.computeContainmentDistance(a, s, i), this._minDistance <= this._terminateDistance)
@@ -13515,7 +13515,7 @@ oi.prototype.getMaxPointDistance = function() {
13515
13515
  return this._maxPtDist;
13516
13516
  };
13517
13517
  oi.prototype.interfaces_ = function() {
13518
- return [Ln];
13518
+ return [wn];
13519
13519
  };
13520
13520
  oi.prototype.getClass = function() {
13521
13521
  return oi;
@@ -13565,7 +13565,7 @@ pe.prototype.isValid = function() {
13565
13565
  return this._minValidDistance = t - e, this._maxValidDistance = t + e, this._input.isEmpty() || this._result.isEmpty() ? !0 : (this._bufDistance > 0 ? this.checkPositiveValid() : this.checkNegativeValid(), pe.VERBOSE && qt.out.println("Min Dist= " + this._minDistanceFound + " err= " + (1 - this._minDistanceFound / this._bufDistance) + " Max Dist= " + this._maxDistanceFound + " err= " + (this._maxDistanceFound / this._bufDistance - 1)), this._isValid);
13566
13566
  };
13567
13567
  pe.prototype.checkNegativeValid = function() {
13568
- if (!(this._input instanceof Ot || this._input instanceof xn || this._input instanceof ie))
13568
+ if (!(this._input instanceof Ot || this._input instanceof Sn || this._input instanceof ie))
13569
13569
  return null;
13570
13570
  var t = this.getPolygonLines(this._input);
13571
13571
  if (this.checkMinimumDistance(t, this._result, this._minValidDistance), !this._isValid)
@@ -13593,7 +13593,7 @@ pe.prototype.getErrorLocation = function() {
13593
13593
  return this._errorLocation;
13594
13594
  };
13595
13595
  pe.prototype.getPolygonLines = function(t) {
13596
- for (var e = new O(), n = new zt(e), i = jn.getPolygons(t), o = i.iterator(); o.hasNext(); ) {
13596
+ for (var e = new O(), n = new zt(e), i = Hn.getPolygons(t), o = i.iterator(); o.hasNext(); ) {
13597
13597
  var s = o.next();
13598
13598
  s.apply(n);
13599
13599
  }
@@ -13640,7 +13640,7 @@ Yt.prototype.checkArea = function() {
13640
13640
  this._distance > 0 && t > e && (this._isValid = !1, this._errorMsg = "Area of positive buffer is smaller than input", this._errorIndicator = this._result), this._distance < 0 && t < e && (this._isValid = !1, this._errorMsg = "Area of negative buffer is larger than input", this._errorIndicator = this._result), this.report("Area");
13641
13641
  };
13642
13642
  Yt.prototype.checkPolygonal = function() {
13643
- this._result instanceof Ot || this._result instanceof xn || (this._isValid = !1), this._errorMsg = "Result is not polygonal", this._errorIndicator = this._result, this.report("Polygonal");
13643
+ this._result instanceof Ot || this._result instanceof Sn || (this._isValid = !1), this._errorMsg = "Result is not polygonal", this._errorIndicator = this._result, this.report("Polygonal");
13644
13644
  };
13645
13645
  Yt.prototype.getErrorIndicator = function() {
13646
13646
  return this._errorIndicator;
@@ -13712,7 +13712,7 @@ vn.prototype.toString = function() {
13712
13712
  return Xe.toLineString(new _t(this._pts));
13713
13713
  };
13714
13714
  vn.prototype.interfaces_ = function() {
13715
- return [Rn];
13715
+ return [Pn];
13716
13716
  };
13717
13717
  vn.prototype.getClass = function() {
13718
13718
  return vn;
@@ -13807,7 +13807,7 @@ Qe.prototype.checkInteriorIntersections = function() {
13807
13807
  };
13808
13808
  Qe.prototype.checkValid = function() {
13809
13809
  if (this.execute(), !this._isValid)
13810
- throw new Jn(this.getErrorMessage(), this._segInt.getInteriorIntersection());
13810
+ throw new Zn(this.getErrorMessage(), this._segInt.getInteriorIntersection());
13811
13811
  };
13812
13812
  Qe.prototype.getErrorMessage = function() {
13813
13813
  if (this._isValid)
@@ -13967,10 +13967,10 @@ ge.prototype.transformPoint = function(t, e) {
13967
13967
  };
13968
13968
  ge.prototype.transformPolygon = function(t, e) {
13969
13969
  var n = this, i = !0, o = this.transformLinearRing(t.getExteriorRing(), t);
13970
- (o === null || !(o instanceof bn) || o.isEmpty()) && (i = !1);
13970
+ (o === null || !(o instanceof Ln) || o.isEmpty()) && (i = !1);
13971
13971
  for (var s = new O(), a = 0; a < t.getNumInteriorRing(); a++) {
13972
13972
  var u = n.transformLinearRing(t.getInteriorRingN(a), t);
13973
- u === null || u.isEmpty() || (u instanceof bn || (i = !1), s.add(u));
13973
+ u === null || u.isEmpty() || (u instanceof Ln || (i = !1), s.add(u));
13974
13974
  }
13975
13975
  if (i)
13976
13976
  return this._factory.createPolygon(o, s.toArray([]));
@@ -14025,7 +14025,7 @@ ge.prototype.transform = function(t) {
14025
14025
  return this.transformPoint(t, null);
14026
14026
  if (t instanceof Ri)
14027
14027
  return this.transformMultiPoint(t, null);
14028
- if (t instanceof bn)
14028
+ if (t instanceof Ln)
14029
14029
  return this.transformLinearRing(t, null);
14030
14030
  if (t instanceof yt)
14031
14031
  return this.transformLineString(t, null);
@@ -14033,7 +14033,7 @@ ge.prototype.transform = function(t) {
14033
14033
  return this.transformMultiLineString(t, null);
14034
14034
  if (t instanceof Ot)
14035
14035
  return this.transformPolygon(t, null);
14036
- if (t instanceof xn)
14036
+ if (t instanceof Sn)
14037
14037
  return this.transformMultiPolygon(t, null);
14038
14038
  if (t instanceof ie)
14039
14039
  return this.transformGeometryCollection(t, null);
@@ -14052,7 +14052,7 @@ ge.prototype.interfaces_ = function() {
14052
14052
  ge.prototype.getClass = function() {
14053
14053
  return ge;
14054
14054
  };
14055
- var Tn = function r() {
14055
+ var Dn = function r() {
14056
14056
  if (this._snapTolerance = 0, this._srcPts = null, this._seg = new k(), this._allowSnappingToSourceVertices = !1, this._isClosed = !1, arguments[0] instanceof yt && typeof arguments[1] == "number") {
14057
14057
  var t = arguments[0], e = arguments[1];
14058
14058
  r.call(this, t.getCoordinates(), e);
@@ -14061,13 +14061,13 @@ var Tn = function r() {
14061
14061
  this._srcPts = n, this._isClosed = r.isClosed(n), this._snapTolerance = i;
14062
14062
  }
14063
14063
  };
14064
- Tn.prototype.snapVertices = function(t, e) {
14064
+ Dn.prototype.snapVertices = function(t, e) {
14065
14065
  for (var n = this, i = this._isClosed ? t.size() - 1 : t.size(), o = 0; o < i; o++) {
14066
14066
  var s = t.get(o), a = n.findSnapForVertex(s, e);
14067
14067
  a !== null && (t.set(o, new v(a)), o === 0 && n._isClosed && t.set(t.size() - 1, new v(a)));
14068
14068
  }
14069
14069
  };
14070
- Tn.prototype.findSnapForVertex = function(t, e) {
14070
+ Dn.prototype.findSnapForVertex = function(t, e) {
14071
14071
  for (var n = this, i = 0; i < e.length; i++) {
14072
14072
  if (t.equals2D(e[i]))
14073
14073
  return null;
@@ -14076,13 +14076,13 @@ Tn.prototype.findSnapForVertex = function(t, e) {
14076
14076
  }
14077
14077
  return null;
14078
14078
  };
14079
- Tn.prototype.snapTo = function(t) {
14079
+ Dn.prototype.snapTo = function(t) {
14080
14080
  var e = new Io(this._srcPts);
14081
14081
  this.snapVertices(e, t), this.snapSegments(e, t);
14082
14082
  var n = e.toCoordinateArray();
14083
14083
  return n;
14084
14084
  };
14085
- Tn.prototype.snapSegments = function(t, e) {
14085
+ Dn.prototype.snapSegments = function(t, e) {
14086
14086
  var n = this;
14087
14087
  if (e.length === 0)
14088
14088
  return null;
@@ -14093,7 +14093,7 @@ Tn.prototype.snapSegments = function(t, e) {
14093
14093
  a >= 0 && t.add(a + 1, new v(s), !1);
14094
14094
  }
14095
14095
  };
14096
- Tn.prototype.findSegmentIndexToSnap = function(t, e) {
14096
+ Dn.prototype.findSegmentIndexToSnap = function(t, e) {
14097
14097
  for (var n = this, i = V.MAX_VALUE, o = -1, s = 0; s < e.size() - 1; s++) {
14098
14098
  if (n._seg.p0 = e.get(s), n._seg.p1 = e.get(s + 1), n._seg.p0.equals2D(t) || n._seg.p1.equals2D(t)) {
14099
14099
  if (n._allowSnappingToSourceVertices)
@@ -14105,16 +14105,16 @@ Tn.prototype.findSegmentIndexToSnap = function(t, e) {
14105
14105
  }
14106
14106
  return o;
14107
14107
  };
14108
- Tn.prototype.setAllowSnappingToSourceVertices = function(t) {
14108
+ Dn.prototype.setAllowSnappingToSourceVertices = function(t) {
14109
14109
  this._allowSnappingToSourceVertices = t;
14110
14110
  };
14111
- Tn.prototype.interfaces_ = function() {
14111
+ Dn.prototype.interfaces_ = function() {
14112
14112
  return [];
14113
14113
  };
14114
- Tn.prototype.getClass = function() {
14115
- return Tn;
14114
+ Dn.prototype.getClass = function() {
14115
+ return Dn;
14116
14116
  };
14117
- Tn.isClosed = function(t) {
14117
+ Dn.isClosed = function(t) {
14118
14118
  return t.length <= 1 ? !1 : t[0].equals2D(t[t.length - 1]);
14119
14119
  };
14120
14120
  var Et = function(t) {
@@ -14186,7 +14186,7 @@ var ku = function(r) {
14186
14186
  r.call(this), this._snapTolerance = e || null, this._snapPts = n || null, this._isSelfSnap = i !== void 0 ? i : !1;
14187
14187
  }
14188
14188
  return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t.prototype.snapLine = function(n, i) {
14189
- var o = new Tn(n, this._snapTolerance);
14189
+ var o = new Dn(n, this._snapTolerance);
14190
14190
  return o.setAllowSnappingToSourceVertices(this._isSelfSnap), o.snapTo(i);
14191
14191
  }, t.prototype.transformCoordinates = function(n, i) {
14192
14192
  var o = n.toCoordinateArray(), s = this.snapLine(o, this._snapPts);
@@ -14286,7 +14286,7 @@ ui.prototype.getCommonCoordinate = function() {
14286
14286
  return new v(this._commonBitsX.getCommon(), this._commonBitsY.getCommon());
14287
14287
  };
14288
14288
  ui.prototype.interfaces_ = function() {
14289
- return [Ln];
14289
+ return [wn];
14290
14290
  };
14291
14291
  ui.prototype.getClass = function() {
14292
14292
  return ui;
@@ -14373,7 +14373,7 @@ ae.prototype.getResultGeometry = function(t) {
14373
14373
  var o = !0;
14374
14374
  o && (n = !0);
14375
14375
  } catch (s) {
14376
- if (s instanceof Qn)
14376
+ if (s instanceof Kn)
14377
14377
  i = s;
14378
14378
  else
14379
14379
  throw s;
@@ -14383,7 +14383,7 @@ ae.prototype.getResultGeometry = function(t) {
14383
14383
  try {
14384
14384
  e = Ft.overlayOp(this._geom[0], this._geom[1], t);
14385
14385
  } catch (s) {
14386
- throw s instanceof Qn ? i : s;
14386
+ throw s instanceof Kn ? i : s;
14387
14387
  } finally {
14388
14388
  }
14389
14389
  return e;
@@ -14604,31 +14604,31 @@ var of = function(r) {
14604
14604
  }, t.prototype.getClass = function() {
14605
14605
  return t;
14606
14606
  }, t;
14607
- }(Wo), Mn = function() {
14607
+ }(Wo), Tn = function() {
14608
14608
  this._min = V.POSITIVE_INFINITY, this._max = V.NEGATIVE_INFINITY;
14609
14609
  }, Gu = { NodeComparator: { configurable: !0 } };
14610
- Mn.prototype.getMin = function() {
14610
+ Tn.prototype.getMin = function() {
14611
14611
  return this._min;
14612
14612
  };
14613
- Mn.prototype.intersects = function(t, e) {
14613
+ Tn.prototype.intersects = function(t, e) {
14614
14614
  return !(this._min > e || this._max < t);
14615
14615
  };
14616
- Mn.prototype.getMax = function() {
14616
+ Tn.prototype.getMax = function() {
14617
14617
  return this._max;
14618
14618
  };
14619
- Mn.prototype.toString = function() {
14619
+ Tn.prototype.toString = function() {
14620
14620
  return Xe.toLineString(new v(this._min, 0), new v(this._max, 0));
14621
14621
  };
14622
- Mn.prototype.interfaces_ = function() {
14622
+ Tn.prototype.interfaces_ = function() {
14623
14623
  return [];
14624
14624
  };
14625
- Mn.prototype.getClass = function() {
14626
- return Mn;
14625
+ Tn.prototype.getClass = function() {
14626
+ return Tn;
14627
14627
  };
14628
14628
  Gu.NodeComparator.get = function() {
14629
14629
  return yo;
14630
14630
  };
14631
- Object.defineProperties(Mn, Gu);
14631
+ Object.defineProperties(Tn, Gu);
14632
14632
  var yo = function() {
14633
14633
  };
14634
14634
  yo.prototype.compare = function(t, e) {
@@ -14656,7 +14656,7 @@ var sf = function(r) {
14656
14656
  }, t.prototype.getClass = function() {
14657
14657
  return t;
14658
14658
  }, t;
14659
- }(Mn), af = function(r) {
14659
+ }(Tn), af = function(r) {
14660
14660
  function t() {
14661
14661
  r.call(this), this._node1 = null, this._node2 = null;
14662
14662
  var e = arguments[0], n = arguments[1];
@@ -14673,40 +14673,40 @@ var sf = function(r) {
14673
14673
  }, t.prototype.getClass = function() {
14674
14674
  return t;
14675
14675
  }, t;
14676
- }(Mn), An = function() {
14676
+ }(Tn), Mn = function() {
14677
14677
  this._leaves = new O(), this._root = null, this._level = 0;
14678
14678
  };
14679
- An.prototype.buildTree = function() {
14679
+ Mn.prototype.buildTree = function() {
14680
14680
  var t = this;
14681
- He.sort(this._leaves, new Mn.NodeComparator());
14681
+ He.sort(this._leaves, new Tn.NodeComparator());
14682
14682
  for (var e = this._leaves, n = null, i = new O(); ; ) {
14683
14683
  if (t.buildLevel(e, i), i.size() === 1)
14684
14684
  return i.get(0);
14685
14685
  n = e, e = i, i = n;
14686
14686
  }
14687
14687
  };
14688
- An.prototype.insert = function(t, e, n) {
14688
+ Mn.prototype.insert = function(t, e, n) {
14689
14689
  if (this._root !== null)
14690
14690
  throw new Error("Index cannot be added to once it has been queried");
14691
14691
  this._leaves.add(new sf(t, e, n));
14692
14692
  };
14693
- An.prototype.query = function(t, e, n) {
14693
+ Mn.prototype.query = function(t, e, n) {
14694
14694
  this.init(), this._root.query(t, e, n);
14695
14695
  };
14696
- An.prototype.buildRoot = function() {
14696
+ Mn.prototype.buildRoot = function() {
14697
14697
  if (this._root !== null)
14698
14698
  return null;
14699
14699
  this._root = this.buildTree();
14700
14700
  };
14701
- An.prototype.printNode = function(t) {
14701
+ Mn.prototype.printNode = function(t) {
14702
14702
  qt.out.println(Xe.toLineString(new v(t._min, this._level), new v(t._max, this._level)));
14703
14703
  };
14704
- An.prototype.init = function() {
14704
+ Mn.prototype.init = function() {
14705
14705
  if (this._root !== null)
14706
14706
  return null;
14707
14707
  this.buildRoot();
14708
14708
  };
14709
- An.prototype.buildLevel = function(t, e) {
14709
+ Mn.prototype.buildLevel = function(t, e) {
14710
14710
  this._level++, e.clear();
14711
14711
  for (var n = 0; n < t.size(); n += 2) {
14712
14712
  var i = t.get(n), o = n + 1 < t.size() ? t.get(n) : null;
@@ -14718,11 +14718,11 @@ An.prototype.buildLevel = function(t, e) {
14718
14718
  }
14719
14719
  }
14720
14720
  };
14721
- An.prototype.interfaces_ = function() {
14721
+ Mn.prototype.interfaces_ = function() {
14722
14722
  return [];
14723
14723
  };
14724
- An.prototype.getClass = function() {
14725
- return An;
14724
+ Mn.prototype.getClass = function() {
14725
+ return Mn;
14726
14726
  };
14727
14727
  var Fi = function() {
14728
14728
  this._items = new O();
@@ -14779,7 +14779,7 @@ ki.prototype.getClass = function() {
14779
14779
  return ki;
14780
14780
  };
14781
14781
  var zr = function() {
14782
- this._index = new An();
14782
+ this._index = new Mn();
14783
14783
  var t = arguments[0];
14784
14784
  this.init(t);
14785
14785
  };
@@ -14832,7 +14832,7 @@ var Qi = function(r) {
14832
14832
  } else if (arguments.length === 3) {
14833
14833
  var o = arguments[0], s = arguments[1], a = arguments[2], u = new Wt(o, !0, !1);
14834
14834
  u.setIsDoneIfProperInt(a);
14835
- var l = this.createEdgeSetIntersector(), c = this._parentGeom instanceof bn || this._parentGeom instanceof Ot || this._parentGeom instanceof xn, f = s || !c;
14835
+ var l = this.createEdgeSetIntersector(), c = this._parentGeom instanceof Ln || this._parentGeom instanceof Ot || this._parentGeom instanceof Sn, f = s || !c;
14836
14836
  return l.computeIntersections(this._edges, u, f), this.addSelfIntersectionNodes(this._argIndex), u;
14837
14837
  }
14838
14838
  }, t.prototype.computeSplitEdges = function(n) {
@@ -14916,7 +14916,7 @@ var Qi = function(r) {
14916
14916
  var n = arguments[0];
14917
14917
  if (n.isEmpty())
14918
14918
  return null;
14919
- if (n instanceof xn && (this._useBoundaryDeterminationRule = !1), n instanceof Ot)
14919
+ if (n instanceof Sn && (this._useBoundaryDeterminationRule = !1), n instanceof Ot)
14920
14920
  this.addPolygon(n);
14921
14921
  else if (n instanceof yt)
14922
14922
  this.addLineString(n);
@@ -14926,7 +14926,7 @@ var Qi = function(r) {
14926
14926
  this.addCollection(n);
14927
14927
  else if (n instanceof Tr)
14928
14928
  this.addCollection(n);
14929
- else if (n instanceof xn)
14929
+ else if (n instanceof Sn)
14930
14930
  this.addCollection(n);
14931
14931
  else if (n instanceof ie)
14932
14932
  this.addCollection(n);
@@ -15502,7 +15502,7 @@ xt.prototype.getClass = function() {
15502
15502
  xt.restrictToPolygons = function(t) {
15503
15503
  if (z(t, hr))
15504
15504
  return t;
15505
- var e = jn.getPolygons(t);
15505
+ var e = Hn.getPolygons(t);
15506
15506
  return e.size() === 1 ? e.get(0) : t.getFactory().createMultiPolygon(H.toPolygonArray(e));
15507
15507
  };
15508
15508
  xt.getGeometry = function(t, e) {
@@ -15559,12 +15559,12 @@ function Ba(r, t, e) {
15559
15559
  var n = r.s = t + e, i = n - t, o = n - i;
15560
15560
  r.t = t - o + (e - i);
15561
15561
  }
15562
- var vt = 1e-6, it = Math.PI, Hn = it / 2, ka = it / 4, er = it * 2, xr = 180 / it, tn = it / 180, ne = Math.abs, uf = Math.atan, Vi = Math.atan2, bt = Math.cos, Pt = Math.sin, ji = Math.sqrt;
15562
+ var vt = 1e-6, it = Math.PI, Wn = it / 2, ka = it / 4, tr = it * 2, xr = 180 / it, tn = it / 180, ne = Math.abs, uf = Math.atan, Vi = Math.atan2, bt = Math.cos, Pt = Math.sin, ji = Math.sqrt;
15563
15563
  function Uu(r) {
15564
15564
  return r > 1 ? 0 : r < -1 ? it : Math.acos(r);
15565
15565
  }
15566
15566
  function li(r) {
15567
- return r > 1 ? Hn : r < -1 ? -Hn : Math.asin(r);
15567
+ return r > 1 ? Wn : r < -1 ? -Wn : Math.asin(r);
15568
15568
  }
15569
15569
  function Zi() {
15570
15570
  }
@@ -15659,15 +15659,15 @@ function qu(r, t) {
15659
15659
  }), e;
15660
15660
  }
15661
15661
  function zs(r, t) {
15662
- return [r > it ? r - er : r < -it ? r + er : r, t];
15662
+ return [r > it ? r - tr : r < -it ? r + tr : r, t];
15663
15663
  }
15664
15664
  zs.invert = zs;
15665
15665
  function cf(r, t, e) {
15666
- return (r %= er) ? t || e ? qu(qa(r), Xa(t, e)) : qa(r) : t || e ? Xa(t, e) : zs;
15666
+ return (r %= tr) ? t || e ? qu(qa(r), Xa(t, e)) : qa(r) : t || e ? Xa(t, e) : zs;
15667
15667
  }
15668
15668
  function Ua(r) {
15669
15669
  return function(t, e) {
15670
- return t += r, [t > it ? t - er : t < -it ? t + er : t, e];
15670
+ return t += r, [t > it ? t - tr : t < -it ? t + tr : t, e];
15671
15671
  };
15672
15672
  }
15673
15673
  function qa(r) {
@@ -15694,7 +15694,7 @@ function Xa(r, t) {
15694
15694
  function ff(r, t, e, n, i, o) {
15695
15695
  if (e) {
15696
15696
  var s = bt(t), a = Pt(t), u = n * e;
15697
- i == null ? (i = t + n * er, o = t - u / 2) : (i = Ya(s, i), o = Ya(s, o), (n > 0 ? i < o : i > o) && (i += n * er));
15697
+ i == null ? (i = t + n * tr, o = t - u / 2) : (i = Ya(s, i), o = Ya(s, o), (n > 0 ? i < o : i > o) && (i += n * tr));
15698
15698
  for (var l, c = i; n > 0 ? c > o : c < o; c -= u)
15699
15699
  l = ks([s, -a * bt(c), -a * Pt(c)]), r.point(l[0], l[1]);
15700
15700
  }
@@ -15702,7 +15702,7 @@ function ff(r, t, e, n, i, o) {
15702
15702
  function Ya(r, t) {
15703
15703
  t = Ui(t), t[0] -= r, Gs(t);
15704
15704
  var e = Uu(-t[1]);
15705
- return ((-t[2] < 0 ? -e : e) + er - vt) % er;
15705
+ return ((-t[2] < 0 ? -e : e) + tr - vt) % tr;
15706
15706
  }
15707
15707
  function Xu() {
15708
15708
  var r = [], t;
@@ -15899,8 +15899,8 @@ function df(r, t, e, n) {
15899
15899
  }
15900
15900
  function w() {
15901
15901
  for (var W = 0, ut = 0, dt = g.length; ut < dt; ++ut)
15902
- for (var Ht = g[ut], Jt = 1, ir = Ht.length, ze = Ht[0], Bn, In, di = ze[0], or = ze[1]; Jt < ir; ++Jt)
15903
- Bn = di, In = or, ze = Ht[Jt], di = ze[0], or = ze[1], In <= n ? or > n && (di - Bn) * (n - In) > (or - In) * (r - Bn) && ++W : or <= n && (di - Bn) * (n - In) < (or - In) * (r - Bn) && --W;
15902
+ for (var Ht = g[ut], Jt = 1, rr = Ht.length, ze = Ht[0], Fn, In, di = ze[0], ir = ze[1]; Jt < rr; ++Jt)
15903
+ Fn = di, In = ir, ze = Ht[Jt], di = ze[0], ir = ze[1], In <= n ? ir > n && (di - Fn) * (n - In) > (ir - In) * (r - Fn) && ++W : ir <= n && (di - Fn) * (n - In) < (ir - In) * (r - Fn) && --W;
15904
15904
  return W;
15905
15905
  }
15906
15906
  function F() {
@@ -15939,7 +15939,7 @@ function vf(r, t) {
15939
15939
  if (c = (l = r[a]).length)
15940
15940
  for (var l, c, f = l[c - 1], h = f[0], g = f[1] / 2 + ka, p = Pt(g), y = bt(g), d = 0; d < c; ++d, h = _, p = L, y = N, f = m) {
15941
15941
  var m = l[d], _ = m[0], C = m[1] / 2 + ka, L = Pt(C), N = bt(C), x = _ - h, D = x >= 0 ? 1 : -1, A = D * x, w = A > it, F = p * L;
15942
- if (Ss.add(Vi(F * D * Pt(A), y * N + F * bt(A))), o += w ? x + D * er : x, w ^ h >= e ^ _ >= e) {
15942
+ if (Ss.add(Vi(F * D * Pt(A), y * N + F * bt(A))), o += w ? x + D * tr : x, w ^ h >= e ^ _ >= e) {
15943
15943
  var X = Qo(Ui(f), Ui(m));
15944
15944
  Gs(X);
15945
15945
  var R = Qo(i, X);
@@ -16033,7 +16033,7 @@ function mf(r) {
16033
16033
  return r.length > 1;
16034
16034
  }
16035
16035
  function _f(r, t) {
16036
- return ((r = r.x)[0] < 0 ? r[1] - Hn - vt : Hn - r[1]) - ((t = t.x)[0] < 0 ? t[1] - Hn - vt : Hn - t[1]);
16036
+ return ((r = r.x)[0] < 0 ? r[1] - Wn - vt : Wn - r[1]) - ((t = t.x)[0] < 0 ? t[1] - Wn - vt : Wn - t[1]);
16037
16037
  }
16038
16038
  const Ka = ju(
16039
16039
  function() {
@@ -16041,7 +16041,7 @@ const Ka = ju(
16041
16041
  },
16042
16042
  Ef,
16043
16043
  Cf,
16044
- [-it, -Hn]
16044
+ [-it, -Wn]
16045
16045
  );
16046
16046
  function Ef(r) {
16047
16047
  var t = NaN, e = NaN, n = NaN, i;
@@ -16051,7 +16051,7 @@ function Ef(r) {
16051
16051
  },
16052
16052
  point: function(o, s) {
16053
16053
  var a = o > 0 ? it : -it, u = ne(o - t);
16054
- ne(u - it) < vt ? (r.point(t, e = (e + s) / 2 > 0 ? Hn : -Hn), r.point(n, e), r.lineEnd(), r.lineStart(), r.point(a, e), r.point(o, e), i = 0) : n !== a && u >= it && (ne(t - n) < vt && (t -= n * vt), ne(o - a) < vt && (o -= a * vt), e = If(t, e, o, s), r.point(n, e), r.lineEnd(), r.lineStart(), r.point(a, e), i = 0), r.point(t = o, e = s), n = a;
16054
+ ne(u - it) < vt ? (r.point(t, e = (e + s) / 2 > 0 ? Wn : -Wn), r.point(n, e), r.lineEnd(), r.lineStart(), r.point(a, e), r.point(o, e), i = 0) : n !== a && u >= it && (ne(t - n) < vt && (t -= n * vt), ne(o - a) < vt && (o -= a * vt), e = If(t, e, o, s), r.point(n, e), r.lineEnd(), r.lineStart(), r.point(a, e), i = 0), r.point(t = o, e = s), n = a;
16055
16055
  },
16056
16056
  lineEnd: function() {
16057
16057
  r.lineEnd(), t = e = NaN;
@@ -16068,7 +16068,7 @@ function If(r, t, e, n) {
16068
16068
  function Cf(r, t, e, n) {
16069
16069
  var i;
16070
16070
  if (r == null)
16071
- i = e * Hn, n.point(-it, i), n.point(0, i), n.point(it, i), n.point(it, 0), n.point(it, -i), n.point(0, -i), n.point(-it, -i), n.point(-it, 0), n.point(-it, i);
16071
+ i = e * Wn, n.point(-it, i), n.point(0, i), n.point(it, i), n.point(it, 0), n.point(it, -i), n.point(0, -i), n.point(-it, -i), n.point(-it, 0), n.point(-it, i);
16072
16072
  else if (ne(r[0] - t[0]) > vt) {
16073
16073
  var o = r[0] < t[0] ? it : -it;
16074
16074
  i = e * o / 2, n.point(-o, i), n.point(0, i), n.point(o, i);
@@ -16122,8 +16122,8 @@ function Nf(r, t) {
16122
16122
  return T;
16123
16123
  var W = c[0], ut = f[0], dt = c[1], Ht = f[1], Jt;
16124
16124
  ut < W && (Jt = W, W = ut, ut = Jt);
16125
- var ir = ut - W, ze = ne(ir - it) < vt, Bn = ze || ir < vt;
16126
- if (!ze && Ht < dt && (Jt = dt, dt = Ht, Ht = Jt), Bn ? ze ? dt + Ht > 0 ^ T[1] < (ne(T[0] - W) < vt ? dt : Ht) : dt <= T[1] && T[1] <= Ht : ir > it ^ (W <= T[0] && T[0] <= ut)) {
16125
+ var rr = ut - W, ze = ne(rr - it) < vt, Fn = ze || rr < vt;
16126
+ if (!ze && Ht < dt && (Jt = dt, dt = Ht, Ht = Jt), Fn ? ze ? dt + Ht > 0 ^ T[1] < (ne(T[0] - W) < vt ? dt : Ht) : dt <= T[1] && T[1] <= Ht : rr > it ^ (W <= T[0] && T[0] <= ut)) {
16127
16127
  var In = Do(w, (-F + Y) / X);
16128
16128
  return Ns(In, D), [T, ks(In)];
16129
16129
  }
@@ -16568,11 +16568,11 @@ function Ff(r, t = !0, e = !0, n = {}, i = {}, o = (s) => {
16568
16568
  }
16569
16569
  };
16570
16570
  }
16571
- var Cn, Qr;
16571
+ var Yn, Qr;
16572
16572
  class Bf extends sr.Control {
16573
16573
  constructor(e) {
16574
16574
  super();
16575
- _s(this, Cn, void 0);
16575
+ _s(this, Yn, void 0);
16576
16576
  _s(this, Qr, void 0);
16577
16577
  bo(this, Qr, e);
16578
16578
  }
@@ -16585,7 +16585,7 @@ class Bf extends sr.Control {
16585
16585
  flyTo: s,
16586
16586
  fullGeometryStyle: a,
16587
16587
  ...u
16588
- } = Vn(this, Qr), l = typeof s == "boolean" ? {} : s, c = Ff(
16588
+ } = or(this, Qr), l = typeof s == "boolean" ? {} : s, c = Ff(
16589
16589
  e,
16590
16590
  i,
16591
16591
  o,
@@ -16593,7 +16593,7 @@ class Bf extends sr.Control {
16593
16593
  l,
16594
16594
  a
16595
16595
  );
16596
- bo(this, Cn, new gc({
16596
+ bo(this, Yn, new gc({
16597
16597
  target: n,
16598
16598
  props: {
16599
16599
  mapController: c,
@@ -16611,7 +16611,7 @@ class Bf extends sr.Control {
16611
16611
  "reverseToggle",
16612
16612
  "queryChange"
16613
16613
  ])
16614
- Vn(this, Cn).$on(
16614
+ or(this, Yn).$on(
16615
16615
  f,
16616
16616
  (h) => e.fire(f.toLowerCase(), h.detail)
16617
16617
  );
@@ -16626,31 +16626,27 @@ class Bf extends sr.Control {
16626
16626
  flyTo: o,
16627
16627
  fullGeometryStyle: s,
16628
16628
  ...a
16629
- } = Vn(this, Qr);
16630
- (u = Vn(this, Cn)) == null || u.$set(a);
16629
+ } = or(this, Qr);
16630
+ (u = or(this, Yn)) == null || u.$set(a);
16631
16631
  }
16632
16632
  setQuery(e, n = !0) {
16633
16633
  var i;
16634
- (i = Vn(this, Cn)) == null || i.setQuery(e, n);
16635
- }
16636
- setReverseMode(e) {
16637
- var n;
16638
- (n = Vn(this, Cn)) == null || n.$set({ reverseActive: e });
16634
+ (i = or(this, Yn)) == null || i.setQuery(e, n);
16639
16635
  }
16640
16636
  focus() {
16641
16637
  var e;
16642
- (e = Vn(this, Cn)) == null || e.focus();
16638
+ (e = or(this, Yn)) == null || e.focus();
16643
16639
  }
16644
16640
  blur() {
16645
16641
  var e;
16646
- (e = Vn(this, Cn)) == null || e.blur();
16642
+ (e = or(this, Yn)) == null || e.blur();
16647
16643
  }
16648
16644
  onRemove() {
16649
16645
  var e;
16650
- (e = Vn(this, Cn)) == null || e.$destroy();
16646
+ (e = or(this, Yn)) == null || e.$destroy();
16651
16647
  }
16652
16648
  }
16653
- Cn = new WeakMap(), Qr = new WeakMap();
16649
+ Yn = new WeakMap(), Qr = new WeakMap();
16654
16650
  function kf(...r) {
16655
16651
  return new Bf(...r);
16656
16652
  }