@nika-js/onlymap 0.12.0 → 0.13.0

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.
Files changed (60) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +1 -1
  3. package/dist/{basemap-CtDse0mW.js → basemap-BxqFTBzX.js} +2 -2
  4. package/dist/build-D4iI8O9b.js +208 -0
  5. package/dist/cartograph.js +43 -41
  6. package/dist/cartograph.standalone.js +3 -1
  7. package/dist/client-BYFePLZV.js +6878 -0
  8. package/dist/{geoparquet-BTHYX1ET.js → geoparquet-BV32P0nI.js} +1 -1
  9. package/dist/{globe-view-KrKNOmVs.js → globe-view-B_X6obse.js} +6 -6
  10. package/dist/{hillshade-CijRdYyU.js → hillshade-9VS_t-Ks.js} +79 -67
  11. package/dist/hillshade.d.ts +7 -0
  12. package/dist/html-data.d.ts +1 -1
  13. package/dist/{index-21KGElDr.js → index-BR_5FIN1.js} +3 -3
  14. package/dist/{index-eHYe06mM.js → index-Bct9VWxi.js} +1 -1
  15. package/dist/index-CbFw6P0B.js +4449 -0
  16. package/dist/{index-Bfocr1_A.js → index-D3P6Cfbr.js} +38 -38
  17. package/dist/{index-A45DtXly.js → index-D40H3fpl.js} +54 -54
  18. package/dist/{index-DoGY-Vgi.js → index-Di1LK4JT.js} +3 -3
  19. package/dist/{index-DMc81n9B.js → index-IDWDfgTC.js} +33429 -30673
  20. package/dist/{index-DS6VUGi6.js → index-JewSBOjJ.js} +49 -49
  21. package/dist/{index-BPa2CC8T.js → index-eSuCj2Bn.js} +42 -42
  22. package/dist/layer-registry.d.ts +1 -0
  23. package/dist/{lerc-DjrPALEj.js → lerc-C42a0ISa.js} +1 -1
  24. package/dist/onlymap.standalone.js +60636 -51605
  25. package/dist/onlymapjs.js +47 -47
  26. package/dist/plane-gpu/gpu-layer-types.d.ts +35 -0
  27. package/dist/plane-gpu/plane-basemap.d.ts +10461 -0
  28. package/dist/plane-gpu/plane-gpu-view.d.ts +90 -0
  29. package/dist/plane-gpu/projection-params.d.ts +47 -0
  30. package/dist/plane-layers.d.ts +2 -0
  31. package/dist/plane-seam.d.ts +48 -0
  32. package/dist/plane-tileset.d.ts +23 -2
  33. package/dist/plane-vector/build.d.ts +107 -0
  34. package/dist/plane-vector/client.d.ts +18 -0
  35. package/dist/plane-vector/cut-ends-extension.d.ts +30 -0
  36. package/dist/plane-vector/plane-mvt-layer.d.ts +10412 -0
  37. package/dist/plane-vector/tile-cut.d.ts +45 -0
  38. package/dist/plane-vector/worker.d.ts +15 -0
  39. package/dist/plane-warp.d.ts +12 -1
  40. package/dist/{post-process-effect-Be1qa2DD.js → post-process-effect-ktcgAjmv.js} +11 -11
  41. package/dist/programmatic.d.ts +6 -0
  42. package/dist/projection.d.ts +51 -0
  43. package/dist/{raster-zC3qXBrs.js → raster-CIxg_M_1.js} +3 -3
  44. package/dist/{raster-pipeline-DspBYxwc.js → raster-pipeline-BODPC9vJ.js} +1 -1
  45. package/dist/react/om-map.d.ts +4 -0
  46. package/dist/react.js +259 -252
  47. package/dist/runtime-core.d.ts +84 -2
  48. package/dist/{text-on-path-D0_URrD2.js → text-on-path-LZL6NfwZ.js} +74 -66
  49. package/dist/version.d.ts +1 -1
  50. package/dist/{zarr-DopOhzfY.js → zarr-D19fNIZt.js} +2 -2
  51. package/docs/cartograph.md +2 -2
  52. package/docs/cartography.md +59 -3
  53. package/docs/testing.md +2 -1
  54. package/llms.txt +2 -2
  55. package/onlymapjs.attributes.json +1 -0
  56. package/onlymapjs.html-data.json +15 -1
  57. package/package.json +3 -2
  58. package/skills/onlymapjs/SKILL.md +2 -2
  59. package/skills/onlymapjs/references/syntax.md +7 -6
  60. package/dist/index-B_Vhebf7.js +0 -4883
@@ -1,6 +1,6 @@
1
- import { bD as Bt, bP as Xt, bQ as Yt, bR as Us } from "./index-DMc81n9B.js";
2
- import { w as gs, t as Hs, f as Ws, m as Qs } from "./mgrs-BY9bIvp4.js";
3
- import { c as Xs } from "./convert-arrow-schema-DrAihRf9.js";
1
+ import { bJ as Bt, bV as Qt, bW as Yt, bX as Us } from "./index-IDWDfgTC.js";
2
+ import { w as gs, t as Hs, f as Ws, m as Xs } from "./mgrs-BY9bIvp4.js";
3
+ import { c as Qs } from "./convert-arrow-schema-DrAihRf9.js";
4
4
  import { y as Ys, A as bt, a as Ks, z as Vs, R as Zs } from "./recordbatch-Bpc0uxFn.js";
5
5
  class Js {
6
6
  schema;
@@ -8,7 +8,7 @@ class Js {
8
8
  arrowBuilders;
9
9
  length;
10
10
  constructor(s) {
11
- this.schema = s, this.arrowSchema = Xs(s), this.arrowBuilders = this.arrowSchema.fields.map((a) => Ys({ type: a.type, nullValues: [null] })), this.length = 0;
11
+ this.schema = s, this.arrowSchema = Qs(s), this.arrowBuilders = this.arrowSchema.fields.map((a) => Ys({ type: a.type, nullValues: [null] })), this.length = 0;
12
12
  }
13
13
  addObjectRow(s) {
14
14
  for (let a = 0; a < this.arrowBuilders.length; a++) {
@@ -456,7 +456,7 @@ const ca = "4.4.3", Es = [0, 0, 39, 10], fa = {
456
456
  function ua(t) {
457
457
  t("EPSG:4326", "+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"), t("EPSG:4269", "+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"), t("EPSG:3857", "+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"), t.WGS84 = t["EPSG:4326"], t["EPSG:3785"] = t["EPSG:3857"], t.GOOGLE = t["EPSG:3857"], t["EPSG:900913"] = t["EPSG:3857"], t["EPSG:102113"] = t["EPSG:3857"];
458
458
  }
459
- var tt = 1, st = 2, Ma = 4, qt = 5, ct = 484813681109536e-20, M = Math.PI / 2, va = 0.16666666666666666, da = 0.04722222222222222, ya = 0.022156084656084655, m = 1e-10, D = 0.017453292519943295, Q = 57.29577951308232, p = Math.PI / 4, Ft = Math.PI * 2, N = 3.14159265359, T = {};
459
+ var tt = 1, st = 2, Ma = 4, qt = 5, ct = 484813681109536e-20, M = Math.PI / 2, va = 0.16666666666666666, da = 0.04722222222222222, ya = 0.022156084656084655, m = 1e-10, D = 0.017453292519943295, X = 57.29577951308232, p = Math.PI / 4, Ft = Math.PI * 2, N = 3.14159265359, T = {};
460
460
  T.greenwich = 0;
461
461
  T.lisbon = -9.131906111111;
462
462
  T.paris = 2.337229166667;
@@ -679,7 +679,7 @@ function Pa() {
679
679
  }
680
680
  function Sa(t) {
681
681
  var s = t.x, a = t.y;
682
- if (a * Q > 90 && a * Q < -90 && s * Q > 180 && s * Q < -180)
682
+ if (a * X > 90 && a * X < -90 && s * X > 180 && s * X < -180)
683
683
  return null;
684
684
  var i, e;
685
685
  if (Math.abs(Math.abs(a) - M) <= m)
@@ -1208,7 +1208,7 @@ function Ss(t) {
1208
1208
  };
1209
1209
  return t.length > 2 && (s.z = t[2]), t.length > 3 && (s.m = t[3]), s;
1210
1210
  }
1211
- function Qa(t) {
1211
+ function Xa(t) {
1212
1212
  es(t.x), es(t.y);
1213
1213
  }
1214
1214
  function es(t) {
@@ -1220,12 +1220,12 @@ function es(t) {
1220
1220
  if (typeof t != "number" || t !== t || !isFinite(t))
1221
1221
  throw new TypeError("coordinates must be finite numbers");
1222
1222
  }
1223
- function Xa(t, s) {
1223
+ function Qa(t, s) {
1224
1224
  return (t.datum.datum_type === tt || t.datum.datum_type === st) && s.datumCode !== "WGS84" || (s.datum.datum_type === tt || s.datum.datum_type === st) && t.datumCode !== "WGS84";
1225
1225
  }
1226
1226
  function St(t, s, a) {
1227
1227
  var i;
1228
- if (Array.isArray(a) && (a = Ss(a)), Qa(a), t.datum && s.datum && Xa(t, s) && (i = new H("WGS84"), a = St(t, i, a), t = i), t.axis !== "enu" && (a = is(t, !1, a)), t.projName === "longlat")
1228
+ if (Array.isArray(a) && (a = Ss(a)), Xa(a), t.datum && s.datum && Qa(t, s) && (i = new H("WGS84"), a = St(t, i, a), t = i), t.axis !== "enu" && (a = is(t, !1, a)), t.projName === "longlat")
1229
1229
  a = {
1230
1230
  x: a.x * D,
1231
1231
  y: a.y * D,
@@ -1242,8 +1242,8 @@ function St(t, s, a) {
1242
1242
  y: a.y,
1243
1243
  z: a.z || 0
1244
1244
  }), s.projName === "longlat" ? a = {
1245
- x: a.x * Q,
1246
- y: a.y * Q,
1245
+ x: a.x * X,
1246
+ y: a.y * X,
1247
1247
  z: a.z || 0
1248
1248
  } : (a = s.forward(a), s.to_meter && (a = {
1249
1249
  x: a.x / s.to_meter,
@@ -1478,17 +1478,17 @@ function Ii(t) {
1478
1478
  t.y = i;
1479
1479
  return h ? (t.x = a, t.y = i, t) : null;
1480
1480
  }
1481
- const Qt = {
1481
+ const Xt = {
1482
1482
  init: pi,
1483
1483
  forward: Ri,
1484
1484
  inverse: Ii
1485
1485
  };
1486
1486
  function Pi() {
1487
- Qt.init.apply(this), this.rc && (this.sinc0 = Math.sin(this.phic0), this.cosc0 = Math.cos(this.phic0), this.R2 = 2 * this.rc, this.title || (this.title = "Oblique Stereographic Alternative"));
1487
+ Xt.init.apply(this), this.rc && (this.sinc0 = Math.sin(this.phic0), this.cosc0 = Math.cos(this.phic0), this.R2 = 2 * this.rc, this.title || (this.title = "Oblique Stereographic Alternative"));
1488
1488
  }
1489
1489
  function Si(t) {
1490
1490
  var s, a, i, e;
1491
- return t.x = b(t.x - this.long0), Qt.forward.apply(this, [t]), s = Math.sin(t.y), a = Math.cos(t.y), i = Math.cos(t.x), e = this.k0 * this.R2 / (1 + this.sinc0 * s + this.cosc0 * a * i), t.x = e * a * Math.sin(t.x), t.y = e * (this.cosc0 * s - this.sinc0 * a * i), t.x = this.a * t.x + this.x0, t.y = this.a * t.y + this.y0, t;
1491
+ return t.x = b(t.x - this.long0), Xt.forward.apply(this, [t]), s = Math.sin(t.y), a = Math.cos(t.y), i = Math.cos(t.x), e = this.k0 * this.R2 / (1 + this.sinc0 * s + this.cosc0 * a * i), t.x = e * a * Math.sin(t.x), t.y = e * (this.cosc0 * s - this.sinc0 * a * i), t.x = this.a * t.x + this.x0, t.y = this.a * t.y + this.y0, t;
1492
1492
  }
1493
1493
  function Ai(t) {
1494
1494
  var s, a, i, e, h;
@@ -1497,7 +1497,7 @@ function Ai(t) {
1497
1497
  s = Math.sin(r), a = Math.cos(r), e = Math.asin(a * this.sinc0 + t.y * s * this.cosc0 / h), i = Math.atan2(t.x * s, h * this.cosc0 * a - t.y * this.sinc0 * s);
1498
1498
  } else
1499
1499
  e = this.phic0, i = 0;
1500
- return t.x = i, t.y = e, Qt.inverse.apply(this, [t]), t.x = b(t.x + this.long0), t;
1500
+ return t.x = i, t.y = e, Xt.inverse.apply(this, [t]), t.x = b(t.x + this.long0), t;
1501
1501
  }
1502
1502
  var Ni = ["Stereographic_North_Pole", "Oblique_Stereographic", "Polar_Stereographic", "sterea", "Oblique Stereographic Alternative", "Double_Stereographic"];
1503
1503
  const Bi = {
@@ -1603,13 +1603,13 @@ function Hi(t) {
1603
1603
  return Math.abs(n - 1) < m ? (t.x = this.long0, t.y = M) : Math.abs(n + 1) < m ? (t.x = this.long0, t.y = -1 * M) : (t.y = ut(this.e, o), t.x = b(this.long0 - Math.atan2(e * Math.cos(this.gamma0) - r * Math.sin(this.gamma0), Math.cos(this.bl * s / this.al)) / this.bl)), t;
1604
1604
  }
1605
1605
  var Wi = ["Hotine_Oblique_Mercator", "Hotine Oblique Mercator", "Hotine_Oblique_Mercator_Azimuth_Natural_Origin", "Hotine_Oblique_Mercator_Azimuth_Center", "omerc"];
1606
- const Qi = {
1606
+ const Xi = {
1607
1607
  init: zi,
1608
1608
  forward: Ui,
1609
1609
  inverse: Hi,
1610
1610
  names: Wi
1611
1611
  };
1612
- function Xi() {
1612
+ function Qi() {
1613
1613
  if (this.lat2 || (this.lat2 = this.lat1), this.k0 || (this.k0 = 1), this.x0 = this.x0 || 0, this.y0 = this.y0 || 0, !(Math.abs(this.lat1 + this.lat2) < m)) {
1614
1614
  var t = this.b / this.a;
1615
1615
  this.e = Math.sqrt(1 - t * t);
@@ -1644,7 +1644,7 @@ function Ki(t) {
1644
1644
  }
1645
1645
  var Vi = ["Lambert Tangential Conformal Conic Projection", "Lambert_Conformal_Conic", "Lambert_Conformal_Conic_2SP", "lcc"];
1646
1646
  const Zi = {
1647
- init: Xi,
1647
+ init: Qi,
1648
1648
  forward: Yi,
1649
1649
  inverse: Ki,
1650
1650
  names: Vi
@@ -1737,7 +1737,7 @@ const oe = {
1737
1737
  inverse: re,
1738
1738
  names: ne
1739
1739
  };
1740
- function X(t, s) {
1740
+ function Q(t, s) {
1741
1741
  var a;
1742
1742
  return t > 1e-7 ? (a = t * s, (1 - t * t) * (s / (1 - a * a) - 0.5 / t * Math.log((1 - a) / (1 + a)))) : 2 * s;
1743
1743
  }
@@ -1746,7 +1746,7 @@ function Me() {
1746
1746
  var t = Math.abs(this.lat0);
1747
1747
  if (Math.abs(t - M) < m ? this.mode = this.lat0 < 0 ? this.S_POLE : this.N_POLE : Math.abs(t) < m ? this.mode = this.EQUIT : this.mode = this.OBLIQ, this.es > 0) {
1748
1748
  var s;
1749
- switch (this.qp = X(this.e, 1), this.mmf = 0.5 / (1 - this.es), this.apa = we(this.es), this.mode) {
1749
+ switch (this.qp = Q(this.e, 1), this.mmf = 0.5 / (1 - this.es), this.apa = we(this.es), this.mode) {
1750
1750
  case this.N_POLE:
1751
1751
  this.dd = 1;
1752
1752
  break;
@@ -1757,7 +1757,7 @@ function Me() {
1757
1757
  this.rq = Math.sqrt(0.5 * this.qp), this.dd = 1 / this.rq, this.xmf = 1, this.ymf = 0.5 * this.qp;
1758
1758
  break;
1759
1759
  case this.OBLIQ:
1760
- this.rq = Math.sqrt(0.5 * this.qp), s = Math.sin(this.lat0), this.sinb1 = X(this.e, s) / this.qp, this.cosb1 = Math.sqrt(1 - this.sinb1 * this.sinb1), this.dd = Math.cos(this.lat0) / (Math.sqrt(1 - this.es * s * s) * this.rq * this.cosb1), this.ymf = (this.xmf = this.rq) / this.dd, this.xmf *= this.dd;
1760
+ this.rq = Math.sqrt(0.5 * this.qp), s = Math.sin(this.lat0), this.sinb1 = Q(this.e, s) / this.qp, this.cosb1 = Math.sqrt(1 - this.sinb1 * this.sinb1), this.dd = Math.cos(this.lat0) / (Math.sqrt(1 - this.es * s * s) * this.rq * this.cosb1), this.ymf = (this.xmf = this.rq) / this.dd, this.xmf *= this.dd;
1761
1761
  break;
1762
1762
  }
1763
1763
  } else
@@ -1776,7 +1776,7 @@ function ve(t) {
1776
1776
  a = p - u * 0.5, a = 2 * (this.mode === this.S_POLE ? Math.cos(a) : Math.sin(a)), s = a * Math.sin(f), a *= i;
1777
1777
  }
1778
1778
  } else {
1779
- switch (n = 0, o = 0, l = 0, i = Math.cos(f), e = Math.sin(f), h = Math.sin(u), r = X(this.e, h), (this.mode === this.OBLIQ || this.mode === this.EQUIT) && (n = r / this.qp, o = Math.sqrt(1 - n * n)), this.mode) {
1779
+ switch (n = 0, o = 0, l = 0, i = Math.cos(f), e = Math.sin(f), h = Math.sin(u), r = Q(this.e, h), (this.mode === this.OBLIQ || this.mode === this.EQUIT) && (n = r / this.qp, o = Math.sqrt(1 - n * n)), this.mode) {
1780
1780
  case this.OBLIQ:
1781
1781
  l = 1 + this.sinb1 * n + this.cosb1 * o * i;
1782
1782
  break;
@@ -1865,12 +1865,12 @@ function K(t) {
1865
1865
  return Math.abs(t) > 1 && (t = t > 1 ? 1 : -1), Math.asin(t);
1866
1866
  }
1867
1867
  function Ie() {
1868
- Math.abs(this.lat1 + this.lat2) < m || (this.temp = this.b / this.a, this.es = 1 - Math.pow(this.temp, 2), this.e3 = Math.sqrt(this.es), this.sin_po = Math.sin(this.lat1), this.cos_po = Math.cos(this.lat1), this.t1 = this.sin_po, this.con = this.sin_po, this.ms1 = W(this.e3, this.sin_po, this.cos_po), this.qs1 = X(this.e3, this.sin_po, this.cos_po), this.sin_po = Math.sin(this.lat2), this.cos_po = Math.cos(this.lat2), this.t2 = this.sin_po, this.ms2 = W(this.e3, this.sin_po, this.cos_po), this.qs2 = X(this.e3, this.sin_po, this.cos_po), this.sin_po = Math.sin(this.lat0), this.cos_po = Math.cos(this.lat0), this.t3 = this.sin_po, this.qs0 = X(this.e3, this.sin_po, this.cos_po), Math.abs(this.lat1 - this.lat2) > m ? this.ns0 = (this.ms1 * this.ms1 - this.ms2 * this.ms2) / (this.qs2 - this.qs1) : this.ns0 = this.con, this.c = this.ms1 * this.ms1 + this.ns0 * this.qs1, this.rh = this.a * Math.sqrt(this.c - this.ns0 * this.qs0) / this.ns0);
1868
+ Math.abs(this.lat1 + this.lat2) < m || (this.temp = this.b / this.a, this.es = 1 - Math.pow(this.temp, 2), this.e3 = Math.sqrt(this.es), this.sin_po = Math.sin(this.lat1), this.cos_po = Math.cos(this.lat1), this.t1 = this.sin_po, this.con = this.sin_po, this.ms1 = W(this.e3, this.sin_po, this.cos_po), this.qs1 = Q(this.e3, this.sin_po, this.cos_po), this.sin_po = Math.sin(this.lat2), this.cos_po = Math.cos(this.lat2), this.t2 = this.sin_po, this.ms2 = W(this.e3, this.sin_po, this.cos_po), this.qs2 = Q(this.e3, this.sin_po, this.cos_po), this.sin_po = Math.sin(this.lat0), this.cos_po = Math.cos(this.lat0), this.t3 = this.sin_po, this.qs0 = Q(this.e3, this.sin_po, this.cos_po), Math.abs(this.lat1 - this.lat2) > m ? this.ns0 = (this.ms1 * this.ms1 - this.ms2 * this.ms2) / (this.qs2 - this.qs1) : this.ns0 = this.con, this.c = this.ms1 * this.ms1 + this.ns0 * this.qs1, this.rh = this.a * Math.sqrt(this.c - this.ns0 * this.qs0) / this.ns0);
1869
1869
  }
1870
1870
  function Pe(t) {
1871
1871
  var s = t.x, a = t.y;
1872
1872
  this.sin_phi = Math.sin(a), this.cos_phi = Math.cos(a);
1873
- var i = X(this.e3, this.sin_phi, this.cos_phi), e = this.a * Math.sqrt(this.c - this.ns0 * i) / this.ns0, h = this.ns0 * b(s - this.long0), r = e * Math.sin(h) + this.x0, n = this.rh - e * Math.cos(h) + this.y0;
1873
+ var i = Q(this.e3, this.sin_phi, this.cos_phi), e = this.a * Math.sqrt(this.c - this.ns0 * i) / this.ns0, h = this.ns0 * b(s - this.long0), r = e * Math.sin(h) + this.x0, n = this.rh - e * Math.cos(h) + this.y0;
1874
1874
  return t.x = r, t.y = n, t;
1875
1875
  }
1876
1876
  function Se(t) {
@@ -1929,7 +1929,7 @@ function qe(t) {
1929
1929
  if (this.sphere)
1930
1930
  i = this.x0 + this.a * h * Math.cos(this.lat_ts), e = this.y0 + this.a * Math.sin(a) / Math.cos(this.lat_ts);
1931
1931
  else {
1932
- var r = X(this.e, Math.sin(a));
1932
+ var r = Q(this.e, Math.sin(a));
1933
1933
  i = this.x0 + this.a * this.k0 * h, e = this.y0 + this.a * r * 0.5 / this.k0;
1934
1934
  }
1935
1935
  return t.x = i, t.y = e, t;
@@ -1958,14 +1958,14 @@ function He(t) {
1958
1958
  return t.x = b(this.long0 + (s - this.x0) / (this.a * this.rc)), t.y = nt(this.lat0 + (a - this.y0) / this.a), t;
1959
1959
  }
1960
1960
  var We = ["Equirectangular", "Equidistant_Cylindrical", "eqc"];
1961
- const Qe = {
1961
+ const Xe = {
1962
1962
  init: ze,
1963
1963
  forward: Ue,
1964
1964
  inverse: He,
1965
1965
  names: We
1966
1966
  };
1967
1967
  var cs = 20;
1968
- function Xe() {
1968
+ function Qe() {
1969
1969
  this.temp = this.b / this.a, this.es = 1 - Math.pow(this.temp, 2), this.e = Math.sqrt(this.es), this.e0 = vt(this.es), this.e1 = dt(this.es), this.e2 = yt(this.es), this.e3 = mt(this.es), this.ml0 = this.a * O(this.e0, this.e1, this.e2, this.e3, this.lat0);
1970
1970
  }
1971
1971
  function Ye(t) {
@@ -2011,7 +2011,7 @@ function Ke(t) {
2011
2011
  }
2012
2012
  var Ve = ["Polyconic", "poly"];
2013
2013
  const Ze = {
2014
- init: Xe,
2014
+ init: Qe,
2015
2015
  forward: Ye,
2016
2016
  inverse: Ke,
2017
2017
  names: Ve
@@ -2325,12 +2325,12 @@ var jt = [
2325
2325
  [0.9394, 840947e-8, -192841e-9, -42106e-10],
2326
2326
  [0.9761, 616527e-8, -256e-6, -42106e-10],
2327
2327
  [1, 328947e-8, -319159e-9, -42106e-10]
2328
- ], Ds = 0.8487, ks = 1.3523, Ls = Q / 5, Hh = 1 / Ls, it = 18, Nt = function(t, s) {
2328
+ ], Ds = 0.8487, ks = 1.3523, Ls = X / 5, Hh = 1 / Ls, it = 18, Nt = function(t, s) {
2329
2329
  return t[0] + s * (t[1] + s * (t[2] + s * t[3]));
2330
2330
  }, Wh = function(t, s) {
2331
2331
  return t[1] + s * (2 * t[2] + s * 3 * t[3]);
2332
2332
  };
2333
- function Qh(t, s, a, i) {
2333
+ function Xh(t, s, a, i) {
2334
2334
  for (var e = s; i; --i) {
2335
2335
  var h = t(e);
2336
2336
  if (e -= h, Math.abs(h) < a)
@@ -2338,12 +2338,12 @@ function Qh(t, s, a, i) {
2338
2338
  }
2339
2339
  return e;
2340
2340
  }
2341
- function Xh() {
2341
+ function Qh() {
2342
2342
  this.x0 = this.x0 || 0, this.y0 = this.y0 || 0, this.long0 = this.long0 || 0, this.es = 0, this.title = this.title || "Robinson";
2343
2343
  }
2344
2344
  function Yh(t) {
2345
2345
  var s = b(t.x - this.long0), a = Math.abs(t.y), i = Math.floor(a * Ls);
2346
- i < 0 ? i = 0 : i >= it && (i = it - 1), a = Q * (a - Hh * i);
2346
+ i < 0 ? i = 0 : i >= it && (i = it - 1), a = X * (a - Hh * i);
2347
2347
  var e = {
2348
2348
  x: Nt(jt[i], a) * s,
2349
2349
  y: Nt(lt[i], a)
@@ -2367,7 +2367,7 @@ function Kh(t) {
2367
2367
  else
2368
2368
  break;
2369
2369
  var i = lt[a], e = 5 * (s.y - i[0]) / (lt[a + 1][0] - i[0]);
2370
- e = Qh(function(h) {
2370
+ e = Xh(function(h) {
2371
2371
  return (Nt(i, h) - s.y) / Wh(i, h);
2372
2372
  }, e, m, 100), s.x /= Nt(jt[a], e), s.y = (5 * a + e) * D, t.y < 0 && (s.y = -s.y);
2373
2373
  }
@@ -2375,7 +2375,7 @@ function Kh(t) {
2375
2375
  }
2376
2376
  var Vh = ["Robinson", "robin"];
2377
2377
  const Zh = {
2378
- init: Xh,
2378
+ init: Qh,
2379
2379
  forward: Yh,
2380
2380
  inverse: Kh,
2381
2381
  names: Vh
@@ -2399,7 +2399,7 @@ const ir = {
2399
2399
  names: ar
2400
2400
  };
2401
2401
  function er(t) {
2402
- t.Proj.projections.add(li), t.Proj.projections.add(Rt), t.Proj.projections.add(wi), t.Proj.projections.add(Bi), t.Proj.projections.add(Oi), t.Proj.projections.add(ji), t.Proj.projections.add(Qi), t.Proj.projections.add(Zi), t.Proj.projections.add(ie), t.Proj.projections.add(oe), t.Proj.projections.add(Re), t.Proj.projections.add(Be), t.Proj.projections.add($e), t.Proj.projections.add(je), t.Proj.projections.add(Qe), t.Proj.projections.add(Ze), t.Proj.projections.add(ih), t.Proj.projections.add(oh), t.Proj.projections.add(vh), t.Proj.projections.add(bh), t.Proj.projections.add(ph), t.Proj.projections.add(Ah), t.Proj.projections.add(kh), t.Proj.projections.add(qh), t.Proj.projections.add(Uh), t.Proj.projections.add(Zh), t.Proj.projections.add(ir);
2402
+ t.Proj.projections.add(li), t.Proj.projections.add(Rt), t.Proj.projections.add(wi), t.Proj.projections.add(Bi), t.Proj.projections.add(Oi), t.Proj.projections.add(ji), t.Proj.projections.add(Xi), t.Proj.projections.add(Zi), t.Proj.projections.add(ie), t.Proj.projections.add(oe), t.Proj.projections.add(Re), t.Proj.projections.add(Be), t.Proj.projections.add($e), t.Proj.projections.add(je), t.Proj.projections.add(Xe), t.Proj.projections.add(Ze), t.Proj.projections.add(ih), t.Proj.projections.add(oh), t.Proj.projections.add(vh), t.Proj.projections.add(bh), t.Proj.projections.add(ph), t.Proj.projections.add(Ah), t.Proj.projections.add(kh), t.Proj.projections.add(qh), t.Proj.projections.add(Uh), t.Proj.projections.add(Zh), t.Proj.projections.add(ir);
2403
2403
  }
2404
2404
  q.defaultDatum = "WGS84";
2405
2405
  q.Proj = H;
@@ -2408,7 +2408,7 @@ q.Point = ht;
2408
2408
  q.toPoint = Ss;
2409
2409
  q.defs = k;
2410
2410
  q.transform = St;
2411
- q.mgrs = Qs;
2411
+ q.mgrs = Xs;
2412
2412
  q.version = "__VERSION__";
2413
2413
  er(q);
2414
2414
  class hr {
@@ -2686,11 +2686,11 @@ const gr = "4.4.3", br = {
2686
2686
  }
2687
2687
  };
2688
2688
  async function* _r(t, s, a) {
2689
- const { reproject: i = !1, _targetCrs: e = "WGS84" } = s?.gis || {}, { shx: h, cpg: r, prj: n } = await Gs(s, a), o = await Xt(Bt(t), ps, s, a), l = o[Symbol.asyncIterator]?.() || o[Symbol.iterator]?.();
2689
+ const { reproject: i = !1, _targetCrs: e = "WGS84" } = s?.gis || {}, { shx: h, cpg: r, prj: n } = await Gs(s, a), o = await Qt(Bt(t), ps, s, a), l = o[Symbol.asyncIterator]?.() || o[Symbol.iterator]?.();
2690
2690
  let c = null;
2691
2691
  const f = await a?.fetch(ft(a?.url || "", "dbf"));
2692
2692
  if (f?.ok) {
2693
- const g = await Xt(f, Os, {
2693
+ const g = await Qt(f, Os, {
2694
2694
  ...s,
2695
2695
  dbf: {
2696
2696
  ...s?.dbf,
@@ -1,9 +1,9 @@
1
- import { aO as R, aP as S, aQ as E, aR as W, aS as h, aT as w, aU as N, aV as O, aW as x, aX as I, aY as B, aZ as _, a_ as P, a$ as k, b0 as $, b1 as z, b2 as v, b3 as F, b4 as C, b5 as U, b6 as p, b7 as M } from "./index-DMc81n9B.js";
2
- import { b8 as $e, b9 as ze, ba as ve, bb as Ce, bc as Ue, bd as Me, be as je, bf as De, bg as qe, bh as Je, bi as Ve, bj as Ge, bk as He, bl as Qe, bm as Xe, bn as Ye, bo as Ze, bp as Ke, bq as et, br as tt, bs as nt, bt as rt, bu as at, bv as st, bw as ot } from "./index-DMc81n9B.js";
1
+ import { aU as E, aV as x, aW as R, aX as W, aY as h, aZ as w, a_ as N, a$ as O, b0 as S, b1 as B, b2 as I, b3 as _, b4 as z, b5 as k, b6 as P, b7 as $, b8 as C, b9 as F, ba as v, bb as U, bc as b, bd as M } from "./index-IDWDfgTC.js";
2
+ import { be as Pe, bf as $e, bg as Ce, bh as ve, bi as Ue, bj as Me, bk as je, bl as De, bm as qe, bn as Je, bo as Ve, bp as Ge, bq as He, br as Xe, bs as Ye, bt as Ze, bu as Ke, bv as Qe, bw as et, bx as tt, by as nt, bz as rt, bA as at, bB as st, bC as ot } from "./index-IDWDfgTC.js";
3
3
  import { g as j, i as D } from "./table-accessors-CYWTzpQI.js";
4
4
  async function q(t, e, n = {}, r = {}) {
5
- const a = R(t), s = S.getWorkerFarm(n), { source: o } = n, c = { name: a, source: o };
6
- o || (c.url = E(t, n));
5
+ const a = E(t), s = x.getWorkerFarm(n), { source: o } = n, c = { name: a, source: o };
6
+ o || (c.url = R(t, n));
7
7
  const i = s.getWorkerPool(c), u = n.jobName || t.name, d = await i.startJob(
8
8
  u,
9
9
  // eslint-disable-next-line
@@ -38,7 +38,7 @@ async function J(t, e, n, r) {
38
38
  }
39
39
  }
40
40
  function V(t, e) {
41
- if (!S.isSupported())
41
+ if (!x.isSupported())
42
42
  return !1;
43
43
  const n = e?._nodeWorkers ?? e?.core?._nodeWorkers, r = e?.worker ?? e?.core?.worker;
44
44
  return !h && !n ? !1 : !!(t.worker && r);
@@ -53,7 +53,7 @@ async function* we(t) {
53
53
  for await (const n of t)
54
54
  yield typeof n == "string" ? e.encode(n).buffer : n;
55
55
  }
56
- async function* pe(t) {
56
+ async function* be(t) {
57
57
  let e = "";
58
58
  for await (const n of t) {
59
59
  e += n;
@@ -66,7 +66,7 @@ async function* pe(t) {
66
66
  }
67
67
  e.length > 0 && (yield e);
68
68
  }
69
- async function* be(t) {
69
+ async function* pe(t) {
70
70
  let e = 1;
71
71
  for await (const n of t)
72
72
  yield { counter: e, line: n }, e++;
@@ -82,11 +82,11 @@ const G = "4.4.3", ge = {
82
82
  mimeTypes: ["application/json"],
83
83
  category: "json",
84
84
  text: !0,
85
- parseTextSync: b,
86
- parse: async (t) => b(new TextDecoder().decode(t)),
85
+ parseTextSync: p,
86
+ parse: async (t) => p(new TextDecoder().decode(t)),
87
87
  options: {}
88
88
  };
89
- function b(t) {
89
+ function p(t) {
90
90
  return JSON.parse(t);
91
91
  }
92
92
  class H {
@@ -111,7 +111,7 @@ class H {
111
111
  }
112
112
  }
113
113
  const f = new Error("Not implemented");
114
- class Q {
114
+ class X {
115
115
  handle;
116
116
  size = 0;
117
117
  bigsize = 0n;
@@ -148,44 +148,44 @@ class Q {
148
148
  async function Te(t, e, n) {
149
149
  t instanceof Blob || (t = new Blob([t]));
150
150
  const r = t.slice(e, e + n);
151
- return await X(r);
151
+ return await Y(r);
152
152
  }
153
- async function X(t) {
153
+ async function Y(t) {
154
154
  return await new Promise((e, n) => {
155
155
  const r = new FileReader();
156
156
  r.onload = (a) => e(a?.target?.result), r.onerror = (a) => n(a), r.readAsArrayBuffer(t);
157
157
  });
158
158
  }
159
- function Se(t, e, n, r) {
159
+ function xe(t, e, n, r) {
160
160
  !Array.isArray(e) && !w(e) && (r = void 0, n = e, e = void 0), n = n || {};
161
161
  const s = N(e, r), o = O(t, s, n);
162
162
  if (!o)
163
163
  return null;
164
- const c = x(n, o, s), i = I(t), u = () => {
164
+ const c = S(n, o, s), i = B(t), u = () => {
165
165
  throw new Error("parseSync called parse (which is async");
166
166
  };
167
- return r = B({ url: i, _parseSync: u, _parse: u, loaders: e }, c, r || null), Y(o, t, c, r);
167
+ return r = I({ url: i, _parseSync: u, _parse: u, loaders: e }, c, r || null), Z(o, t, c, r);
168
168
  }
169
- function Y(t, e, n, r) {
169
+ function Z(t, e, n, r) {
170
170
  if (e = _(e, t), t.parseTextSync && typeof e == "string")
171
171
  return t.parseTextSync(e, n);
172
172
  if (t.parseSync && e instanceof ArrayBuffer)
173
173
  return t.parseSync(e, n, r);
174
174
  throw new Error(`${t.name} loader: 'parseSync' not supported by this loader, use 'parse' instead. ${r.url || ""}`);
175
175
  }
176
- function Z(t) {
176
+ function K(t) {
177
177
  return { ...t, length: j(t), batchType: "data" };
178
178
  }
179
179
  async function l(t, e, n, r) {
180
180
  const a = Array.isArray(e) ? e : void 0;
181
181
  !Array.isArray(e) && !w(e) && (r = void 0, n = e, e = void 0), t = await t, n = n || {};
182
- const s = I(t), o = await P(t, e, n);
182
+ const s = B(t), o = await z(t, e, n);
183
183
  if (!o)
184
184
  return [];
185
- const c = x(n, o, a, s);
186
- return r = B({ url: s, _parseInBatches: l, _parse: k, loaders: a }, c, r || null), await K(o, t, c, r);
185
+ const c = S(n, o, a, s);
186
+ return r = I({ url: s, _parseInBatches: l, _parse: k, loaders: a }, c, r || null), await Q(o, t, c, r);
187
187
  }
188
- async function K(t, e, n, r) {
188
+ async function Q(t, e, n, r) {
189
189
  const a = await ee(t, e, n, r);
190
190
  if (!n?.core?.metadata)
191
191
  return a;
@@ -206,11 +206,11 @@ async function K(t, e, n, r) {
206
206
  return o(a);
207
207
  }
208
208
  async function ee(t, e, n, r) {
209
- const a = await $(e, n), s = await re(a, n?.core?.transforms || []);
209
+ const a = await P(e, n), s = await re(a, n?.core?.transforms || []);
210
210
  return t.parseInBatches ? t.parseInBatches(s, n, r) : te(s, t, n, r);
211
211
  }
212
212
  async function* te(t, e, n, r) {
213
- const a = await z(t), s = await k(
213
+ const a = await $(t), s = await k(
214
214
  a,
215
215
  e,
216
216
  // TODO - Hack: supply loaders MIME type to ensure we match it
@@ -220,7 +220,7 @@ async function* te(t, e, n, r) {
220
220
  yield ne(s, e);
221
221
  }
222
222
  function ne(t, e) {
223
- const n = D(t) ? Z(t) : {
223
+ const n = D(t) ? K(t) : {
224
224
  shape: "unknown",
225
225
  batchType: "data",
226
226
  data: t,
@@ -234,10 +234,10 @@ async function re(t, e = []) {
234
234
  n = r(n);
235
235
  return n;
236
236
  }
237
- function xe(t, e, n, r) {
237
+ function Se(t, e, n, r) {
238
238
  let a;
239
239
  !Array.isArray(e) && !w(e) ? (n = e, a = void 0) : a = e;
240
- const s = v(n || {});
240
+ const s = C(n || {});
241
241
  return Array.isArray(t) ? t.map((c) => g(c, a, n || {}, s)) : g(t, a, n || {}, s);
242
242
  }
243
243
  async function g(t, e, n, r) {
@@ -258,11 +258,11 @@ async function ae(t, e, n) {
258
258
  const r = se(t, e, n), a = [];
259
259
  for await (const s of r)
260
260
  a.push(s);
261
- return C(...a);
261
+ return v(...a);
262
262
  }
263
263
  throw new Error("Writer could not encode data");
264
264
  }
265
- async function Ie(t, e, n) {
265
+ async function Be(t, e, n) {
266
266
  if (e.text && e.encodeText)
267
267
  return await e.encodeText(t, n);
268
268
  if (e.text) {
@@ -281,7 +281,7 @@ function se(t, e, n) {
281
281
  function oe(t) {
282
282
  return [{ ...t, start: 0, end: t.length }];
283
283
  }
284
- async function Be(t, e, n) {
284
+ async function Ie(t, e, n) {
285
285
  const a = { ...U(), ...n };
286
286
  return e.encodeURLtoURL ? ue(e, t, a) : V(e, a) ? await q(e, t, a) : await e.encode(t, a);
287
287
  }
@@ -320,7 +320,7 @@ function Le(t, e, n) {
320
320
  throw new Error(`Writer ${e.name} could not encode in batches`);
321
321
  }
322
322
  async function ie(t, e, n, r) {
323
- if (t = p(t), e = p(e), h || !n.encodeURLtoURL)
323
+ if (t = b(t), e = b(e), h || !n.encodeURLtoURL)
324
324
  throw new Error();
325
325
  return await n.encodeURLtoURL(t, e, r);
326
326
  }
@@ -328,7 +328,7 @@ async function ue(t, e, n) {
328
328
  if (h)
329
329
  throw new Error(`Writer ${t.name} not supported in browser`);
330
330
  const r = T("input");
331
- await new Q(r, "w").write(e);
331
+ await new X(r, "w").write(e);
332
332
  const s = T("output"), o = await ie(r, s, t, n);
333
333
  return (await M(o)).arrayBuffer();
334
334
  }
@@ -357,7 +357,7 @@ function le(t, e) {
357
357
  return n;
358
358
  return null;
359
359
  }
360
- function Re(t, e) {
360
+ function Ee(t, e) {
361
361
  if (globalThis.loaders.makeNodeStream)
362
362
  return globalThis.loaders.makeNodeStream(t, e);
363
363
  const n = t[Symbol.asyncIterator] ? t[Symbol.asyncIterator]() : t[Symbol.iterator]();
@@ -388,7 +388,7 @@ function Re(t, e) {
388
388
  }
389
389
  );
390
390
  }
391
- const L = "4.4.3", Ee = {
391
+ const L = "4.4.3", Re = {
392
392
  dataType: null,
393
393
  batchType: null,
394
394
  name: "Null loader",
@@ -534,24 +534,24 @@ class Oe {
534
534
  }
535
535
  }
536
536
  export {
537
- $e as FetchError,
537
+ Pe as FetchError,
538
538
  ge as JSONLoader,
539
539
  We as NullLoader,
540
- Ee as NullWorkerLoader,
541
- ze as RequestScheduler,
540
+ Re as NullWorkerLoader,
541
+ $e as RequestScheduler,
542
542
  Oe as _BrowserFileSystem,
543
543
  Ne as _fetchProgress,
544
544
  Ae as _selectSource,
545
- ve as _unregisterLoaders,
546
- Ce as assert,
547
- z as concatenateArrayBuffersAsync,
545
+ Ce as _unregisterLoaders,
546
+ ve as assert,
547
+ $ as concatenateArrayBuffersAsync,
548
548
  Ue as createDataSource,
549
549
  Me as document,
550
- Be as encode,
550
+ Ie as encode,
551
551
  Le as encodeInBatches,
552
552
  ce as encodeSync,
553
553
  ae as encodeTable,
554
- Ie as encodeTableAsText,
554
+ Be as encodeTableAsText,
555
555
  se as encodeTableInBatches,
556
556
  ke as encodeText,
557
557
  Fe as encodeTextSync,
@@ -566,26 +566,26 @@ export {
566
566
  Ve as isIterable,
567
567
  Ge as isIterator,
568
568
  He as isPromise,
569
- Qe as isPureObject,
570
- Xe as isReadableStream,
571
- Ye as isResponse,
572
- Ze as isWorker,
573
- Ke as isWritableStream,
569
+ Xe as isPureObject,
570
+ Ye as isReadableStream,
571
+ Ze as isResponse,
572
+ Ke as isWorker,
573
+ Qe as isWritableStream,
574
574
  et as load,
575
- xe as loadInBatches,
575
+ Se as loadInBatches,
576
576
  tt as makeIterator,
577
- pe as makeLineIterator,
578
- be as makeNumberedLineIterator,
579
- Re as makeStream,
577
+ be as makeLineIterator,
578
+ pe as makeNumberedLineIterator,
579
+ Ee as makeStream,
580
580
  me as makeTextDecoderIterator,
581
581
  we as makeTextEncoderIterator,
582
582
  k as parse,
583
583
  l as parseInBatches,
584
- Se as parseSync,
584
+ xe as parseSync,
585
585
  Te as readArrayBuffer,
586
586
  nt as registerLoaders,
587
- p as resolvePath,
588
- P as selectLoader,
587
+ b as resolvePath,
588
+ z as selectLoader,
589
589
  O as selectLoaderSync,
590
590
  rt as self,
591
591
  at as setLoaderOptions,
@@ -1,6 +1,6 @@
1
- import { A as t, a as o, b as i, C as l, c as p, d as n, D as _, e as c, f as g, F as h, L as m, g as L, h as y, i as f, j as w, M as S, k as V, O as b, l as C, m as E, P as I, T as P, n as T, o as M, U as d, V as A, p as O, q as u, W as N, r as k, s as x, t as D, u as G, G as R, v as j, w as W, x as q, y as v, z, B as F, E as U, H as Y, I as B, J as H, K as J, N as K, Q, R as X, S as Z, X as $, Y as aa, Z as sa, _ as ea, $ as ra, a0 as ta, a1 as oa, a2 as ia } from "./index-DMc81n9B.js";
2
- import { P as s } from "./post-process-effect-Be1qa2DD.js";
3
- import { G as pa, a as na } from "./globe-view-KrKNOmVs.js";
1
+ import { A as t, a as o, b as i, C as l, c as p, d as n, D as _, e as c, f as g, F as h, L as m, g as L, h as y, i as f, j as w, M as S, k as V, O as b, l as C, m as E, P as I, T as P, n as T, o as M, U as d, V as A, p as O, q as u, W as N, r as k, s as x, t as D, u as G, G as R, v as j, w as W, x as q, y as v, z, B as F, E as U, H as Y, I as B, J as H, K as J, N as K, Q, R as X, S as Z, X as $, Y as aa, Z as sa, _ as ea, $ as ra, a0 as ta, a1 as oa, a2 as ia } from "./index-IDWDfgTC.js";
2
+ import { P as s } from "./post-process-effect-ktcgAjmv.js";
3
+ import { G as pa, a as na } from "./globe-view-B_X6obse.js";
4
4
  export {
5
5
  t as AmbientLight,
6
6
  o as Attribute,