@abi-software/flatmapvuer 1.9.0-beta.1 → 1.9.0-beta.2

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.
@@ -10244,8 +10244,8 @@ var zG = { exports: {} };
10244
10244
  const Tt = [+k, ga(+j, 0, 100), ga(+q, 0, 100), rt ? c0(+rt, it) : 1];
10245
10245
  if (N1(Tt)) return function([wt, Bt, Ht, et]) {
10246
10246
  function ft(Ct) {
10247
- const re = (Ct + wt / 30) % 12, Ae = Bt * Math.min(Ht, 1 - Ht);
10248
- return Ht - Ae * Math.max(-1, Math.min(re - 3, 9 - re, 1));
10247
+ const re = (Ct + wt / 30) % 12, He = Bt * Math.min(Ht, 1 - Ht);
10248
+ return Ht - He * Math.max(-1, Math.min(re - 3, 9 - re, 1));
10249
10249
  }
10250
10250
  return wt = Bs(wt), Bt /= 100, Ht /= 100, [ft(0), ft(8), ft(4), et];
10251
10251
  }(Tt);
@@ -13566,13 +13566,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13566
13566
  _refreshViews() {
13567
13567
  this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer), this.uint32 = new Uint32Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);
13568
13568
  }
13569
- emplaceBack(c, f, g, x, S, C, k, B, j, $, q, tt, rt, it, lt, Tt, wt, Bt, Ht, et, ft, Ct, re, Ae, he, pe, De, Se) {
13569
+ emplaceBack(c, f, g, x, S, C, k, B, j, $, q, tt, rt, it, lt, Tt, wt, Bt, Ht, et, ft, Ct, re, He, he, pe, De, Se) {
13570
13570
  const Re = this.length;
13571
- return this.resize(Re + 1), this.emplace(Re, c, f, g, x, S, C, k, B, j, $, q, tt, rt, it, lt, Tt, wt, Bt, Ht, et, ft, Ct, re, Ae, he, pe, De, Se);
13571
+ return this.resize(Re + 1), this.emplace(Re, c, f, g, x, S, C, k, B, j, $, q, tt, rt, it, lt, Tt, wt, Bt, Ht, et, ft, Ct, re, He, he, pe, De, Se);
13572
13572
  }
13573
- emplace(c, f, g, x, S, C, k, B, j, $, q, tt, rt, it, lt, Tt, wt, Bt, Ht, et, ft, Ct, re, Ae, he, pe, De, Se, Re) {
13573
+ emplace(c, f, g, x, S, C, k, B, j, $, q, tt, rt, it, lt, Tt, wt, Bt, Ht, et, ft, Ct, re, He, he, pe, De, Se, Re) {
13574
13574
  const ye = 32 * c, mn = 16 * c;
13575
- return this.int16[ye + 0] = f, this.int16[ye + 1] = g, this.int16[ye + 2] = x, this.int16[ye + 3] = S, this.int16[ye + 4] = C, this.int16[ye + 5] = k, this.int16[ye + 6] = B, this.int16[ye + 7] = j, this.uint16[ye + 8] = $, this.uint16[ye + 9] = q, this.uint16[ye + 10] = tt, this.uint16[ye + 11] = rt, this.uint16[ye + 12] = it, this.uint16[ye + 13] = lt, this.uint16[ye + 14] = Tt, this.uint16[ye + 15] = wt, this.uint16[ye + 16] = Bt, this.uint16[ye + 17] = Ht, this.uint16[ye + 18] = et, this.uint16[ye + 19] = ft, this.uint16[ye + 20] = Ct, this.uint16[ye + 21] = re, this.uint16[ye + 22] = Ae, this.uint32[mn + 12] = he, this.float32[mn + 13] = pe, this.float32[mn + 14] = De, this.uint16[ye + 30] = Se, this.uint16[ye + 31] = Re, c;
13575
+ return this.int16[ye + 0] = f, this.int16[ye + 1] = g, this.int16[ye + 2] = x, this.int16[ye + 3] = S, this.int16[ye + 4] = C, this.int16[ye + 5] = k, this.int16[ye + 6] = B, this.int16[ye + 7] = j, this.uint16[ye + 8] = $, this.uint16[ye + 9] = q, this.uint16[ye + 10] = tt, this.uint16[ye + 11] = rt, this.uint16[ye + 12] = it, this.uint16[ye + 13] = lt, this.uint16[ye + 14] = Tt, this.uint16[ye + 15] = wt, this.uint16[ye + 16] = Bt, this.uint16[ye + 17] = Ht, this.uint16[ye + 18] = et, this.uint16[ye + 19] = ft, this.uint16[ye + 20] = Ct, this.uint16[ye + 21] = re, this.uint16[ye + 22] = He, this.uint32[mn + 12] = he, this.float32[mn + 13] = pe, this.float32[mn + 14] = De, this.uint16[ye + 30] = Se, this.uint16[ye + 31] = Re, c;
13576
13576
  }
13577
13577
  }
13578
13578
  gu.prototype.bytesPerElement = 64, un("StructArrayLayout8i15ui1ul2f2ui64", gu);
@@ -15017,12 +15017,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15017
15017
  const Ct = rt === 0;
15018
15018
  if (Ct && (k === j || k === $)) return;
15019
15019
  if (Ct || Tt >= 1 || wt <= 0) {
15020
- const Ae = g - k, he = C + (f - C) * Math.min((j - k) / Ae, ($ - k) / Ae);
15020
+ const He = g - k, he = C + (f - C) * Math.min((j - k) / He, ($ - k) / He);
15021
15021
  Ht = Math.floor(Math.min(he, B) / this._granularityCellSize) + 1, et = Math.ceil(Math.max(he, B) / this._granularityCellSize) - 1, ft = B < he;
15022
15022
  }
15023
15023
  const re = q > 0 ? $ : j;
15024
- if (ft) for (let Ae = Ht; Ae <= et; Ae++) c.push(this._vertexToIndex(Ae * this._granularityCellSize, re));
15025
- else for (let Ae = et; Ae >= Ht; Ae--) c.push(this._vertexToIndex(Ae * this._granularityCellSize, re));
15024
+ if (ft) for (let He = Ht; He <= et; He++) c.push(this._vertexToIndex(He * this._granularityCellSize, re));
15025
+ else for (let He = et; He >= Ht; He--) c.push(this._vertexToIndex(He * this._granularityCellSize, re));
15026
15026
  }
15027
15027
  _generateOutline(c) {
15028
15028
  const f = [];
@@ -15079,12 +15079,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15079
15079
  let Tt, wt, Bt;
15080
15080
  if (tt && (it = function(Ht, et, ft, Ct) {
15081
15081
  const re = [];
15082
- for (let Ae = 0, he = et.length; Ae < he; Ae++) {
15083
- const pe = ZO(Ht, et[Ae] * Ct, Ae < he - 1 ? et[Ae + 1] * Ct : Ht.length, Ct, !1);
15082
+ for (let He = 0, he = et.length; He < he; He++) {
15083
+ const pe = ZO(Ht, et[He] * Ct, He < he - 1 ? et[He + 1] * Ct : Ht.length, Ct, !1);
15084
15084
  pe === pe.next && (pe.steiner = !0), re.push(OY(pe));
15085
15085
  }
15086
15086
  re.sort(AY);
15087
- for (let Ae = 0; Ae < re.length; Ae++) ft = HY(re[Ae], ft);
15087
+ for (let He = 0; He < re.length; He++) ft = HY(re[He], ft);
15088
15088
  return ft;
15089
15089
  }(j, $, it, q)), j.length > 80 * q) {
15090
15090
  Tt = 1 / 0, wt = 1 / 0;
@@ -15133,17 +15133,17 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15133
15133
  const q = T[$], tt = $ < B - 1 ? T[$ + 1] : T[0], rt = q.x, it = q.y, lt = tt.x, Tt = tt.y, wt = rt !== lt, Bt = it !== Tt;
15134
15134
  if (!wt && !Bt) continue;
15135
15135
  const Ht = lt - rt, et = Tt - it, ft = Math.abs(Ht), Ct = Math.abs(et);
15136
- let re = rt, Ae = it;
15136
+ let re = rt, He = it;
15137
15137
  for (; ; ) {
15138
- const pe = Ht > 0 ? (Math.floor(re / C) + 1) * C : (Math.ceil(re / C) - 1) * C, De = et > 0 ? (Math.floor(Ae / C) + 1) * C : (Math.ceil(Ae / C) - 1) * C, Se = Math.abs(re - pe), Re = Math.abs(Ae - De), ye = Math.abs(re - lt), mn = Math.abs(Ae - Tt), Dn = wt ? Se / ft : Number.POSITIVE_INFINITY, Vn = Bt ? Re / Ct : Number.POSITIVE_INFINITY;
15138
+ const pe = Ht > 0 ? (Math.floor(re / C) + 1) * C : (Math.ceil(re / C) - 1) * C, De = et > 0 ? (Math.floor(He / C) + 1) * C : (Math.ceil(He / C) - 1) * C, Se = Math.abs(re - pe), Re = Math.abs(He - De), ye = Math.abs(re - lt), mn = Math.abs(He - Tt), Dn = wt ? Se / ft : Number.POSITIVE_INFINITY, Vn = Bt ? Re / Ct : Number.POSITIVE_INFINITY;
15139
15139
  if ((ye <= Se || !wt) && (mn <= Re || !Bt)) break;
15140
15140
  if (Dn < Vn && wt || !Bt) {
15141
- re = pe, Ae += et * Dn;
15142
- const Mn = new b(re, Math.round(Ae));
15141
+ re = pe, He += et * Dn;
15142
+ const Mn = new b(re, Math.round(He));
15143
15143
  k[k.length - 1].x === Mn.x && k[k.length - 1].y === Mn.y || k.push(Mn);
15144
15144
  } else {
15145
- re += Ht * Vn, Ae = De;
15146
- const Mn = new b(Math.round(re), Ae);
15145
+ re += Ht * Vn, He = De;
15146
+ const Mn = new b(Math.round(re), He);
15147
15147
  k[k.length - 1].x === Mn.x && k[k.length - 1].y === Mn.y || k.push(Mn);
15148
15148
  }
15149
15149
  }
@@ -15199,10 +15199,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15199
15199
  const Bt = { count: 0 };
15200
15200
  let Ht = 0, et = q.getOrCreateLatestSegment(tt, rt), ft = et.vertexLength;
15201
15201
  for (let Ct = 2; Ct < lt.length; Ct += 3) {
15202
- const re = lt[Ct - 2], Ae = lt[Ct - 1], he = lt[Ct];
15203
- let pe = wt[re] < Ht, De = wt[Ae] < Ht, Se = wt[he] < Ht;
15202
+ const re = lt[Ct - 2], He = lt[Ct - 1], he = lt[Ct];
15203
+ let pe = wt[re] < Ht, De = wt[He] < Ht, Se = wt[he] < Ht;
15204
15204
  et.vertexLength + ((pe ? 1 : 0) + (De ? 1 : 0) + (Se ? 1 : 0)) > Pn.MAX_VERTEX_ARRAY_LENGTH && (et = q.createNewSegment(tt, rt), Ht = Bt.count, pe = !0, De = !0, Se = !0, ft = 0);
15205
- const Re = o9(wt, it, Tt, Bt, re, pe, et), ye = o9(wt, it, Tt, Bt, Ae, De, et), mn = o9(wt, it, Tt, Bt, he, Se, et);
15205
+ const Re = o9(wt, it, Tt, Bt, re, pe, et), ye = o9(wt, it, Tt, Bt, He, De, et), mn = o9(wt, it, Tt, Bt, he, Se, et);
15206
15206
  rt.emplaceBack(ft + Re - Ht, ft + ye - Ht, ft + mn - Ht), et.primitiveLength++;
15207
15207
  }
15208
15208
  })(c, f, g, x, S, T), $ && function(q, tt, rt, it, lt, Tt) {
@@ -15212,8 +15212,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15212
15212
  let Ht = 0, et = q.getOrCreateLatestSegment(tt, rt), ft = et.vertexLength;
15213
15213
  for (let Ct = 0; Ct < lt.length; Ct++) {
15214
15214
  const re = lt[Ct];
15215
- for (let Ae = 1; Ae < lt[Ct].length; Ae += 2) {
15216
- const he = re[Ae - 1], pe = re[Ae];
15215
+ for (let He = 1; He < lt[Ct].length; He += 2) {
15216
+ const he = re[He - 1], pe = re[He];
15217
15217
  let De = wt[he] < Ht, Se = wt[pe] < Ht;
15218
15218
  et.vertexLength + ((De ? 1 : 0) + (Se ? 1 : 0)) > Pn.MAX_VERTEX_ARRAY_LENGTH && (et = q.createNewSegment(tt, rt), Ht = Bt.count, De = !0, Se = !0, ft = 0);
15219
15219
  const Re = o9(wt, it, Tt, Bt, he, De, et), ye = o9(wt, it, Tt, Bt, pe, Se, et);
@@ -15544,11 +15544,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15544
15544
  }
15545
15545
  return Tt;
15546
15546
  }(B, k), tt = function(rt, it, lt, Tt) {
15547
- const wt = [], Bt = [], Ht = Tt[8] * it, et = Tt[9] * it, ft = Tt[10] * it, Ct = Tt[11] * it, re = Tt[8] * lt, Ae = Tt[9] * lt, he = Tt[10] * lt, pe = Tt[11] * lt;
15547
+ const wt = [], Bt = [], Ht = Tt[8] * it, et = Tt[9] * it, ft = Tt[10] * it, Ct = Tt[11] * it, re = Tt[8] * lt, He = Tt[9] * lt, he = Tt[10] * lt, pe = Tt[11] * lt;
15548
15548
  for (const De of rt) {
15549
15549
  const Se = [], Re = [];
15550
15550
  for (const ye of De) {
15551
- const mn = ye.x, Dn = ye.y, Vn = Tt[0] * mn + Tt[4] * Dn + Tt[12], Mn = Tt[1] * mn + Tt[5] * Dn + Tt[13], pr = Tt[2] * mn + Tt[6] * Dn + Tt[14], Mi = Tt[3] * mn + Tt[7] * Dn + Tt[15], ro = pr + ft, Go = Mi + Ct, Ys = Vn + re, W1 = Mn + Ae, Ho = pr + he, vi = Mi + pe, To = new b((Vn + Ht) / Go, (Mn + et) / Go);
15551
+ const mn = ye.x, Dn = ye.y, Vn = Tt[0] * mn + Tt[4] * Dn + Tt[12], Mn = Tt[1] * mn + Tt[5] * Dn + Tt[13], pr = Tt[2] * mn + Tt[6] * Dn + Tt[14], Mi = Tt[3] * mn + Tt[7] * Dn + Tt[15], ro = pr + ft, Go = Mi + Ct, Ys = Vn + re, W1 = Mn + He, Ho = pr + he, vi = Mi + pe, To = new b((Vn + Ht) / Go, (Mn + et) / Go);
15552
15552
  To.z = ro / Go, Se.push(To);
15553
15553
  const Co = new b(Ys / vi, W1 / vi);
15554
15554
  Co.z = Ho / vi, Re.push(Co);
@@ -15666,7 +15666,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15666
15666
  Bt && (wt = Bt), it && (lt = it), it = c[Ht], Bt = Tt ? Tt.sub(it)._unit()._perp() : wt, wt = wt || Bt;
15667
15667
  let et = wt.add(Bt);
15668
15668
  et.x === 0 && et.y === 0 || et._unit();
15669
- const ft = wt.x * Bt.x + wt.y * Bt.y, Ct = et.x * Bt.x + et.y * Bt.y, re = Ct !== 0 ? 1 / Ct : 1 / 0, Ae = 2 * Math.sqrt(2 - 2 * Ct), he = Ct < KY && lt && Tt, pe = wt.x * Bt.y - wt.y * Bt.x > 0;
15669
+ const ft = wt.x * Bt.x + wt.y * Bt.y, Ct = et.x * Bt.x + et.y * Bt.y, re = Ct !== 0 ? 1 / Ct : 1 / 0, He = 2 * Math.sqrt(2 - 2 * Ct), he = Ct < KY && lt && Tt, pe = wt.x * Bt.y - wt.y * Bt.x > 0;
15670
15670
  if (he && Ht > q) {
15671
15671
  const Re = it.dist(lt);
15672
15672
  if (Re > 2 * tt) {
@@ -15687,7 +15687,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15687
15687
  } else if (Se === "bevel" || Se === "fakeround") {
15688
15688
  const Re = -Math.sqrt(re * re - 1), ye = pe ? Re : 0, mn = pe ? 0 : Re;
15689
15689
  if (lt && this.addCurrentVertex(it, wt, ye, mn, rt), Se === "fakeround") {
15690
- const Dn = Math.round(180 * Ae / Math.PI / 20);
15690
+ const Dn = Math.round(180 * He / Math.PI / 20);
15691
15691
  for (let Vn = 1; Vn < Dn; Vn++) {
15692
15692
  let Mn = Vn / Dn;
15693
15693
  if (Mn !== 0.5) {
@@ -15854,7 +15854,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15854
15854
  function k(et, ft, Ct) {
15855
15855
  var re = ft <= 16383 ? 1 : ft <= 2097151 ? 2 : ft <= 268435455 ? 3 : Math.floor(Math.log(ft) / (7 * Math.LN2));
15856
15856
  Ct.realloc(re);
15857
- for (var Ae = Ct.pos - 1; Ae >= et; Ae--) Ct.buf[Ae + re] = Ct.buf[Ae];
15857
+ for (var He = Ct.pos - 1; He >= et; He--) Ct.buf[He + re] = Ct.buf[He];
15858
15858
  }
15859
15859
  function B(et, ft) {
15860
15860
  for (var Ct = 0; Ct < et.length; Ct++) ft.writeVarint(et[Ct]);
@@ -15896,8 +15896,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15896
15896
  this.buf = null;
15897
15897
  }, readFields: function(et, ft, Ct) {
15898
15898
  for (Ct = Ct || this.length; this.pos < Ct; ) {
15899
- var re = this.readVarint(), Ae = re >> 3, he = this.pos;
15900
- this.type = 7 & re, et(Ae, ft, this), this.pos === he && this.skip(re);
15899
+ var re = this.readVarint(), He = re >> 3, he = this.pos;
15900
+ this.type = 7 & re, et(He, ft, this), this.pos === he && this.skip(re);
15901
15901
  }
15902
15902
  return ft;
15903
15903
  }, readMessage: function(et, ft) {
@@ -15922,9 +15922,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15922
15922
  return this.pos += 8, et;
15923
15923
  }, readVarint: function(et) {
15924
15924
  var ft, Ct, re = this.buf;
15925
- return ft = 127 & (Ct = re[this.pos++]), Ct < 128 ? ft : (ft |= (127 & (Ct = re[this.pos++])) << 7, Ct < 128 ? ft : (ft |= (127 & (Ct = re[this.pos++])) << 14, Ct < 128 ? ft : (ft |= (127 & (Ct = re[this.pos++])) << 21, Ct < 128 ? ft : function(Ae, he, pe) {
15925
+ return ft = 127 & (Ct = re[this.pos++]), Ct < 128 ? ft : (ft |= (127 & (Ct = re[this.pos++])) << 7, Ct < 128 ? ft : (ft |= (127 & (Ct = re[this.pos++])) << 14, Ct < 128 ? ft : (ft |= (127 & (Ct = re[this.pos++])) << 21, Ct < 128 ? ft : function(He, he, pe) {
15926
15926
  var De, Se, Re = pe.buf;
15927
- if (De = (112 & (Se = Re[pe.pos++])) >> 4, Se < 128 || (De |= (127 & (Se = Re[pe.pos++])) << 3, Se < 128) || (De |= (127 & (Se = Re[pe.pos++])) << 10, Se < 128) || (De |= (127 & (Se = Re[pe.pos++])) << 17, Se < 128) || (De |= (127 & (Se = Re[pe.pos++])) << 24, Se < 128) || (De |= (1 & (Se = Re[pe.pos++])) << 31, Se < 128)) return C(Ae, De, he);
15927
+ if (De = (112 & (Se = Re[pe.pos++])) >> 4, Se < 128 || (De |= (127 & (Se = Re[pe.pos++])) << 3, Se < 128) || (De |= (127 & (Se = Re[pe.pos++])) << 10, Se < 128) || (De |= (127 & (Se = Re[pe.pos++])) << 17, Se < 128) || (De |= (127 & (Se = Re[pe.pos++])) << 24, Se < 128) || (De |= (1 & (Se = Re[pe.pos++])) << 31, Se < 128)) return C(He, De, he);
15928
15928
  throw new Error("Expected varint not more than 10 bytes");
15929
15929
  }(ft |= (15 & (Ct = re[this.pos])) << 28, et, this))));
15930
15930
  }, readVarint64: function() {
@@ -15936,12 +15936,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15936
15936
  return !!this.readVarint();
15937
15937
  }, readString: function() {
15938
15938
  var et = this.readVarint() + this.pos, ft = this.pos;
15939
- return this.pos = et, et - ft >= 12 && x ? function(Ct, re, Ae) {
15940
- return x.decode(Ct.subarray(re, Ae));
15941
- }(this.buf, ft, et) : function(Ct, re, Ae) {
15942
- for (var he = "", pe = re; pe < Ae; ) {
15939
+ return this.pos = et, et - ft >= 12 && x ? function(Ct, re, He) {
15940
+ return x.decode(Ct.subarray(re, He));
15941
+ }(this.buf, ft, et) : function(Ct, re, He) {
15942
+ for (var he = "", pe = re; pe < He; ) {
15943
15943
  var De, Se, Re, ye = Ct[pe], mn = null, Dn = ye > 239 ? 4 : ye > 223 ? 3 : ye > 191 ? 2 : 1;
15944
- if (pe + Dn > Ae) break;
15944
+ if (pe + Dn > He) break;
15945
15945
  Dn === 1 ? ye < 128 && (mn = ye) : Dn === 2 ? (192 & (De = Ct[pe + 1])) == 128 && (mn = (31 & ye) << 6 | 63 & De) <= 127 && (mn = null) : Dn === 3 ? (Se = Ct[pe + 2], (192 & (De = Ct[pe + 1])) == 128 && (192 & Se) == 128 && ((mn = (15 & ye) << 12 | (63 & De) << 6 | 63 & Se) <= 2047 || mn >= 55296 && mn <= 57343) && (mn = null)) : Dn === 4 && (Se = Ct[pe + 2], Re = Ct[pe + 3], (192 & (De = Ct[pe + 1])) == 128 && (192 & Se) == 128 && (192 & Re) == 128 && ((mn = (15 & ye) << 18 | (63 & De) << 12 | (63 & Se) << 6 | 63 & Re) <= 65535 || mn >= 1114112) && (mn = null)), mn === null ? (mn = 65533, Dn = 1) : mn > 65535 && (mn -= 65536, he += String.fromCharCode(mn >>> 10 & 1023 | 55296), mn = 56320 | 1023 & mn), he += String.fromCharCode(mn), pe += Dn;
15946
15946
  }
15947
15947
  return he;
@@ -16023,14 +16023,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16023
16023
  this.realloc(8), Bt(this.buf, -1 & et, this.pos), Bt(this.buf, Math.floor(et * g), this.pos + 4), this.pos += 8;
16024
16024
  }, writeVarint: function(et) {
16025
16025
  (et = +et || 0) > 268435455 || et < 0 ? function(ft, Ct) {
16026
- var re, Ae;
16027
- if (ft >= 0 ? (re = ft % 4294967296 | 0, Ae = ft / 4294967296 | 0) : (Ae = ~(-ft / 4294967296), 4294967295 ^ (re = ~(-ft % 4294967296)) ? re = re + 1 | 0 : (re = 0, Ae = Ae + 1 | 0)), ft >= 18446744073709552e3 || ft < -18446744073709552e3) throw new Error("Given varint doesn't fit into 10 bytes");
16026
+ var re, He;
16027
+ if (ft >= 0 ? (re = ft % 4294967296 | 0, He = ft / 4294967296 | 0) : (He = ~(-ft / 4294967296), 4294967295 ^ (re = ~(-ft % 4294967296)) ? re = re + 1 | 0 : (re = 0, He = He + 1 | 0)), ft >= 18446744073709552e3 || ft < -18446744073709552e3) throw new Error("Given varint doesn't fit into 10 bytes");
16028
16028
  Ct.realloc(10), function(he, pe, De) {
16029
16029
  De.buf[De.pos++] = 127 & he | 128, he >>>= 7, De.buf[De.pos++] = 127 & he | 128, he >>>= 7, De.buf[De.pos++] = 127 & he | 128, he >>>= 7, De.buf[De.pos++] = 127 & he | 128, De.buf[De.pos] = 127 & (he >>>= 7);
16030
16030
  }(re, 0, Ct), function(he, pe) {
16031
16031
  var De = (7 & he) << 4;
16032
16032
  pe.buf[pe.pos++] |= De | ((he >>>= 3) ? 128 : 0), he && (pe.buf[pe.pos++] = 127 & he | ((he >>>= 7) ? 128 : 0), he && (pe.buf[pe.pos++] = 127 & he | ((he >>>= 7) ? 128 : 0), he && (pe.buf[pe.pos++] = 127 & he | ((he >>>= 7) ? 128 : 0), he && (pe.buf[pe.pos++] = 127 & he | ((he >>>= 7) ? 128 : 0), he && (pe.buf[pe.pos++] = 127 & he)))));
16033
- }(Ae, Ct);
16033
+ }(He, Ct);
16034
16034
  }(et, this) : (this.realloc(4), this.buf[this.pos++] = 127 & et | (et > 127 ? 128 : 0), et <= 127 || (this.buf[this.pos++] = 127 & (et >>>= 7) | (et > 127 ? 128 : 0), et <= 127 || (this.buf[this.pos++] = 127 & (et >>>= 7) | (et > 127 ? 128 : 0), et <= 127 || (this.buf[this.pos++] = et >>> 7 & 127))));
16035
16035
  }, writeSVarint: function(et) {
16036
16036
  this.writeVarint(et < 0 ? 2 * -et - 1 : 2 * et);
@@ -16039,11 +16039,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16039
16039
  }, writeString: function(et) {
16040
16040
  et = String(et), this.realloc(4 * et.length), this.pos++;
16041
16041
  var ft = this.pos;
16042
- this.pos = function(re, Ae, he) {
16043
- for (var pe, De, Se = 0; Se < Ae.length; Se++) {
16044
- if ((pe = Ae.charCodeAt(Se)) > 55295 && pe < 57344) {
16042
+ this.pos = function(re, He, he) {
16043
+ for (var pe, De, Se = 0; Se < He.length; Se++) {
16044
+ if ((pe = He.charCodeAt(Se)) > 55295 && pe < 57344) {
16045
16045
  if (!De) {
16046
- pe > 56319 || Se + 1 === Ae.length ? (re[he++] = 239, re[he++] = 191, re[he++] = 189) : De = pe;
16046
+ pe > 56319 || Se + 1 === He.length ? (re[he++] = 239, re[he++] = 191, re[he++] = 189) : De = pe;
16047
16047
  continue;
16048
16048
  }
16049
16049
  if (pe < 56320) {
@@ -16307,7 +16307,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16307
16307
  for (const Ct of ft) {
16308
16308
  const re = new Eu();
16309
16309
  re.text = Ct, re.sections = lt.sections;
16310
- for (let Ae = 0; Ae < Ct.length; Ae++) re.sectionIndex.push(0);
16310
+ for (let He = 0; He < Ct.length; He++) re.sectionIndex.push(0);
16311
16311
  Tt.push(re);
16312
16312
  }
16313
16313
  } else if (Bt) {
@@ -16318,13 +16318,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16318
16318
  re.text = Ct[0], re.sectionIndex = Ct[1], re.sections = lt.sections, Tt.push(re);
16319
16319
  }
16320
16320
  } else Tt = function(ft, Ct) {
16321
- const re = [], Ae = ft.text;
16321
+ const re = [], He = ft.text;
16322
16322
  let he = 0;
16323
16323
  for (const pe of Ct) re.push(ft.substring(he, pe)), he = pe;
16324
- return he < Ae.length && re.push(ft.substring(he, Ae.length)), re;
16324
+ return he < He.length && re.push(ft.substring(he, He.length)), re;
16325
16325
  }(lt, Xx(lt, j, S, c, g, rt));
16326
16326
  const Ht = [], et = { positionedLines: Ht, text: lt.toString(), top: $[1], bottom: $[1], left: $[0], right: $[0], writingMode: q, iconsInText: !1, verticalizable: !1 };
16327
- return function(ft, Ct, re, Ae, he, pe, De, Se, Re, ye, mn, Dn) {
16327
+ return function(ft, Ct, re, He, he, pe, De, Se, Re, ye, mn, Dn) {
16328
16328
  let Vn = 0, Mn = 0, pr = 0, Mi = 0;
16329
16329
  const ro = Se === "right" ? 1 : Se === "left" ? 0 : 0.5, Go = no / Dn;
16330
16330
  let Ys = 0;
@@ -16338,12 +16338,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16338
16338
  Mn += pe, ++Ys;
16339
16339
  continue;
16340
16340
  }
16341
- const Js = pJ(Ae, vi, Go);
16341
+ const Js = pJ(He, vi, Go);
16342
16342
  for (let Z1 = 0; Z1 < vi.length(); Z1++) {
16343
16343
  const io = vi.getSection(Z1), mo = vi.getSectionIndex(Z1), go = vi.getCharCode(Z1), Ui = fJ(Re, mn, go);
16344
16344
  let ii;
16345
16345
  if (io.imageName) {
16346
- if (ft.iconsInText = !0, io.scale = io.scale * Go, ii = QJ(io, Ui, To, Js, Ae), !ii) continue;
16346
+ if (ft.iconsInText = !0, io.scale = io.scale * Go, ii = QJ(io, Ui, To, Js, He), !ii) continue;
16347
16347
  x1 = Math.max(x1, ii.imageOffset);
16348
16348
  } else if (ii = TJ(io, go, Ui, Js, Ct, re), !ii) continue;
16349
16349
  const { rect: y2, metrics: Cu, baselineOffset: v2 } = ii;
@@ -16619,8 +16619,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16619
16619
  re = he instanceof Ue ? he : Ue.fromString(he);
16620
16620
  }
16621
16621
  if (!Ct && !re) continue;
16622
- const Ae = this.sortFeaturesByKey ? q.evaluate(ft, {}, g) : void 0;
16623
- if (this.features.push({ id: wt, text: Ct, icon: re, index: Bt, sourceLayerIndex: Ht, geometry: ft.geometry, properties: Tt.properties, type: yJ[Tt.type], sortKey: Ae }), re && (tt[re.name] = !0), Ct) {
16622
+ const He = this.sortFeaturesByKey ? q.evaluate(ft, {}, g) : void 0;
16623
+ if (this.features.push({ id: wt, text: Ct, icon: re, index: Bt, sourceLayerIndex: Ht, geometry: ft.geometry, properties: Tt.properties, type: yJ[Tt.type], sortKey: He }), re && (tt[re.name] = !0), Ct) {
16624
16624
  const he = C.evaluate(ft, {}, g).join(","), pe = S.get("text-rotation-alignment") !== "viewport" && S.get("symbol-placement") !== "point";
16625
16625
  this.allowVerticalPlacement = this.writingModes && this.writingModes.indexOf(a.ag.vertical) >= 0;
16626
16626
  for (const De of Ct.sections) if (De.image) tt[De.image.name] = !0;
@@ -16644,7 +16644,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16644
16644
  const Se = wt[pe];
16645
16645
  return delete wt[pe], wt[he] = Se, Ht[Se].geometry[0].shift(), Ht[Se].geometry[0] = De[0].concat(Ht[Se].geometry[0]), Se;
16646
16646
  }
16647
- function Ae(he, pe, De) {
16647
+ function He(he, pe, De) {
16648
16648
  const Se = De ? pe[0][pe[0].length - 1] : pe[0][0];
16649
16649
  return `${he}:${Se.x}:${Se.y}`;
16650
16650
  }
@@ -16654,10 +16654,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16654
16654
  ft(he);
16655
16655
  continue;
16656
16656
  }
16657
- const Re = Ae(Se, De), ye = Ae(Se, De, !0);
16657
+ const Re = He(Se, De), ye = He(Se, De, !0);
16658
16658
  if (Re in Bt && ye in wt && Bt[Re] !== wt[ye]) {
16659
16659
  const mn = re(Re, ye, De), Dn = Ct(Re, ye, Ht[mn].geometry);
16660
- delete wt[Re], delete Bt[ye], Bt[Ae(Se, Ht[Dn].geometry, !0)] = Dn, Ht[mn].geometry = null;
16660
+ delete wt[Re], delete Bt[ye], Bt[He(Se, Ht[Dn].geometry, !0)] = Dn, Ht[mn].geometry = null;
16661
16661
  } else Re in Bt ? Ct(Re, ye, De) : ye in wt ? re(Re, ye, De) : (ft(he), wt[Re] = et - 1, Bt[ye] = et - 1);
16662
16662
  }
16663
16663
  return Ht.filter((he) => he.geometry);
@@ -16698,8 +16698,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16698
16698
  addSymbols(c, f, g, x, S, C, k, B, j, $, q, tt) {
16699
16699
  const rt = c.indexArray, it = c.layoutVertexArray, lt = c.segments.prepareSegment(4 * f.length, it, rt, this.canOverlap ? C.sortKey : void 0), Tt = this.glyphOffsetArray.length, wt = lt.vertexLength, Bt = this.allowVerticalPlacement && k === a.ag.vertical ? Math.PI / 2 : 0, Ht = C.text && C.text.sections;
16700
16700
  for (let et = 0; et < f.length; et++) {
16701
- const { tl: ft, tr: Ct, bl: re, br: Ae, tex: he, pixelOffsetTL: pe, pixelOffsetBR: De, minFontScaleX: Se, minFontScaleY: Re, glyphOffset: ye, isSDF: mn, sectionIndex: Dn } = f[et], Vn = lt.vertexLength, Mn = ye[1];
16702
- oQ(it, B.x, B.y, ft.x, Mn + ft.y, he.x, he.y, g, mn, pe.x, pe.y, Se, Re), oQ(it, B.x, B.y, Ct.x, Mn + Ct.y, he.x + he.w, he.y, g, mn, De.x, pe.y, Se, Re), oQ(it, B.x, B.y, re.x, Mn + re.y, he.x, he.y + he.h, g, mn, pe.x, De.y, Se, Re), oQ(it, B.x, B.y, Ae.x, Mn + Ae.y, he.x + he.w, he.y + he.h, g, mn, De.x, De.y, Se, Re), Jx(c.dynamicLayoutVertexArray, B, Bt), rt.emplaceBack(Vn, Vn + 2, Vn + 1), rt.emplaceBack(Vn + 1, Vn + 2, Vn + 3), lt.vertexLength += 4, lt.primitiveLength += 2, this.glyphOffsetArray.emplaceBack(ye[0]), et !== f.length - 1 && Dn === f[et + 1].sectionIndex || c.programConfigurations.populatePaintArrays(it.length, C, C.index, {}, tt, Ht && Ht[Dn]);
16701
+ const { tl: ft, tr: Ct, bl: re, br: He, tex: he, pixelOffsetTL: pe, pixelOffsetBR: De, minFontScaleX: Se, minFontScaleY: Re, glyphOffset: ye, isSDF: mn, sectionIndex: Dn } = f[et], Vn = lt.vertexLength, Mn = ye[1];
16702
+ oQ(it, B.x, B.y, ft.x, Mn + ft.y, he.x, he.y, g, mn, pe.x, pe.y, Se, Re), oQ(it, B.x, B.y, Ct.x, Mn + Ct.y, he.x + he.w, he.y, g, mn, De.x, pe.y, Se, Re), oQ(it, B.x, B.y, re.x, Mn + re.y, he.x, he.y + he.h, g, mn, pe.x, De.y, Se, Re), oQ(it, B.x, B.y, He.x, Mn + He.y, he.x + he.w, he.y + he.h, g, mn, De.x, De.y, Se, Re), Jx(c.dynamicLayoutVertexArray, B, Bt), rt.emplaceBack(Vn, Vn + 2, Vn + 1), rt.emplaceBack(Vn + 1, Vn + 2, Vn + 3), lt.vertexLength += 4, lt.primitiveLength += 2, this.glyphOffsetArray.emplaceBack(ye[0]), et !== f.length - 1 && Dn === f[et + 1].sectionIndex || c.programConfigurations.populatePaintArrays(it.length, C, C.index, {}, tt, Ht && Ht[Dn]);
16703
16703
  }
16704
16704
  c.placedSymbolArray.emplaceBack(B.x, B.y, Tt, this.glyphOffsetArray.length - Tt, wt, j, $, B.segment, g ? g[0] : 0, g ? g[1] : 0, x[0], x[1], k, 0, !1, 0, q);
16705
16705
  }
@@ -17228,9 +17228,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17228
17228
  }
17229
17229
  query(c, f, g, x) {
17230
17230
  this.loadVTLayers();
17231
- const S = c.params, C = se / c.tileSize / c.scale, k = iu(S.filter), B = c.queryGeometry, j = c.queryPadding * C, $ = XP(B), q = this.grid.query($.minX - j, $.minY - j, $.maxX + j, $.maxY + j), tt = XP(c.cameraQueryGeometry), rt = this.grid3D.query(tt.minX - j, tt.minY - j, tt.maxX + j, tt.maxY + j, (Tt, wt, Bt, Ht) => function(et, ft, Ct, re, Ae) {
17232
- for (const pe of et) if (ft <= pe.x && Ct <= pe.y && re >= pe.x && Ae >= pe.y) return !0;
17233
- const he = [new b(ft, Ct), new b(ft, Ae), new b(re, Ae), new b(re, Ct)];
17231
+ const S = c.params, C = se / c.tileSize / c.scale, k = iu(S.filter), B = c.queryGeometry, j = c.queryPadding * C, $ = XP(B), q = this.grid.query($.minX - j, $.minY - j, $.maxX + j, $.maxY + j), tt = XP(c.cameraQueryGeometry), rt = this.grid3D.query(tt.minX - j, tt.minY - j, tt.maxX + j, tt.maxY + j, (Tt, wt, Bt, Ht) => function(et, ft, Ct, re, He) {
17232
+ for (const pe of et) if (ft <= pe.x && Ct <= pe.y && re >= pe.x && He >= pe.y) return !0;
17233
+ const he = [new b(ft, Ct), new b(ft, He), new b(re, He), new b(re, Ct)];
17234
17234
  if (et.length > 2) {
17235
17235
  for (const pe of he) if (xu(et, pe)) return !0;
17236
17236
  }
@@ -17400,19 +17400,19 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17400
17400
  const x = [], S = T.image, C = S.pixelRatio, k = S.paddedRect.w - 2 * p9, B = S.paddedRect.h - 2 * p9;
17401
17401
  let j = { x1: T.left, y1: T.top, x2: T.right, y2: T.bottom };
17402
17402
  const $ = S.stretchX || [[0, k]], q = S.stretchY || [[0, B]], tt = (ye, mn) => ye + mn[1] - mn[0], rt = $.reduce(tt, 0), it = q.reduce(tt, 0), lt = k - rt, Tt = B - it;
17403
- let wt = 0, Bt = rt, Ht = 0, et = it, ft = 0, Ct = lt, re = 0, Ae = Tt;
17403
+ let wt = 0, Bt = rt, Ht = 0, et = it, ft = 0, Ct = lt, re = 0, He = Tt;
17404
17404
  if (S.content && g) {
17405
17405
  const ye = S.content, mn = ye[2] - ye[0], Dn = ye[3] - ye[1];
17406
- (S.textFitWidth || S.textFitHeight) && (j = AP(T)), wt = aQ($, 0, ye[0]), Ht = aQ(q, 0, ye[1]), Bt = aQ($, ye[0], ye[2]), et = aQ(q, ye[1], ye[3]), ft = ye[0] - wt, re = ye[1] - Ht, Ct = mn - Bt, Ae = Dn - et;
17406
+ (S.textFitWidth || S.textFitHeight) && (j = AP(T)), wt = aQ($, 0, ye[0]), Ht = aQ(q, 0, ye[1]), Bt = aQ($, ye[0], ye[2]), et = aQ(q, ye[1], ye[3]), ft = ye[0] - wt, re = ye[1] - Ht, Ct = mn - Bt, He = Dn - et;
17407
17407
  }
17408
17408
  const he = j.x1, pe = j.y1, De = j.x2 - he, Se = j.y2 - pe, Re = (ye, mn, Dn, Vn) => {
17409
- const Mn = lQ(ye.stretch - wt, Bt, De, he), pr = cQ(ye.fixed - ft, Ct, ye.stretch, rt), Mi = lQ(mn.stretch - Ht, et, Se, pe), ro = cQ(mn.fixed - re, Ae, mn.stretch, it), Go = lQ(Dn.stretch - wt, Bt, De, he), Ys = cQ(Dn.fixed - ft, Ct, Dn.stretch, rt), W1 = lQ(Vn.stretch - Ht, et, Se, pe), Ho = cQ(Vn.fixed - re, Ae, Vn.stretch, it), vi = new b(Mn, Mi), To = new b(Go, Mi), Co = new b(Go, W1), Oo = new b(Mn, W1), x1 = new b(pr / C, ro / C), Js = new b(Ys / C, Ho / C), Qo = c * Math.PI / 180;
17409
+ const Mn = lQ(ye.stretch - wt, Bt, De, he), pr = cQ(ye.fixed - ft, Ct, ye.stretch, rt), Mi = lQ(mn.stretch - Ht, et, Se, pe), ro = cQ(mn.fixed - re, He, mn.stretch, it), Go = lQ(Dn.stretch - wt, Bt, De, he), Ys = cQ(Dn.fixed - ft, Ct, Dn.stretch, rt), W1 = lQ(Vn.stretch - Ht, et, Se, pe), Ho = cQ(Vn.fixed - re, He, Vn.stretch, it), vi = new b(Mn, Mi), To = new b(Go, Mi), Co = new b(Go, W1), Oo = new b(Mn, W1), x1 = new b(pr / C, ro / C), Js = new b(Ys / C, Ho / C), Qo = c * Math.PI / 180;
17410
17410
  if (Qo) {
17411
17411
  const mo = Math.sin(Qo), go = Math.cos(Qo), Ui = [go, -mo, mo, go];
17412
17412
  vi._matMult(Ui), To._matMult(Ui), Oo._matMult(Ui), Co._matMult(Ui);
17413
17413
  }
17414
17414
  const Z1 = ye.stretch + ye.fixed, io = mn.stretch + mn.fixed;
17415
- return { tl: vi, tr: To, bl: Oo, br: Co, tex: { x: S.paddedRect.x + p9 + Z1, y: S.paddedRect.y + p9 + io, w: Dn.stretch + Dn.fixed - Z1, h: Vn.stretch + Vn.fixed - io }, writingMode: void 0, glyphOffset: [0, 0], sectionIndex: 0, pixelOffsetTL: x1, pixelOffsetBR: Js, minFontScaleX: Ct / C / De, minFontScaleY: Ae / C / Se, isSDF: f };
17415
+ return { tl: vi, tr: To, bl: Oo, br: Co, tex: { x: S.paddedRect.x + p9 + Z1, y: S.paddedRect.y + p9 + io, w: Dn.stretch + Dn.fixed - Z1, h: Vn.stretch + Vn.fixed - io }, writingMode: void 0, glyphOffset: [0, 0], sectionIndex: 0, pixelOffsetTL: x1, pixelOffsetBR: Js, minFontScaleX: Ct / C / De, minFontScaleY: He / C / Se, isSDF: f };
17416
17416
  };
17417
17417
  if (g && (S.stretchX || S.stretchY)) {
17418
17418
  const ye = ik($, lt, rt), mn = ik(q, Tt, it);
@@ -17648,7 +17648,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17648
17648
  const rt = T.layers[0].layout, it = rt.get("icon-offset").evaluate(c, {}, $), lt = lk(f.horizontal), Tt = C / 24, wt = T.tilePixelRatio * Tt, Bt = T.tilePixelRatio * tt / 24, Ht = T.tilePixelRatio * k, et = T.tilePixelRatio * rt.get("symbol-spacing"), ft = rt.get("text-padding") * T.tilePixelRatio, Ct = function(Dn, Vn, Mn, pr = 1) {
17649
17649
  const Mi = Dn.get("icon-padding").evaluate(Vn, {}, Mn), ro = Mi && Mi.values;
17650
17650
  return [ro[0] * pr, ro[1] * pr, ro[2] * pr, ro[3] * pr];
17651
- }(rt, c, $, T.tilePixelRatio), re = rt.get("text-max-angle") / 180 * Math.PI, Ae = rt.get("text-rotation-alignment") !== "viewport" && rt.get("symbol-placement") !== "point", he = rt.get("icon-rotation-alignment") === "map" && rt.get("symbol-placement") !== "point", pe = rt.get("symbol-placement"), De = et / 2, Se = rt.get("icon-text-fit");
17651
+ }(rt, c, $, T.tilePixelRatio), re = rt.get("text-max-angle") / 180 * Math.PI, He = rt.get("text-rotation-alignment") !== "viewport" && rt.get("symbol-placement") !== "point", he = rt.get("icon-rotation-alignment") === "map" && rt.get("symbol-placement") !== "point", pe = rt.get("symbol-placement"), De = et / 2, Se = rt.get("icon-text-fit");
17652
17652
  let Re;
17653
17653
  g && Se !== "none" && (T.allowVerticalPlacement && f.vertical && (Re = HP(g, f.vertical, Se, rt.get("icon-text-fit-padding"), it, Tt)), lt && (g = HP(g, lt, Se, rt.get("icon-text-fit-padding"), it, Tt)));
17654
17654
  const ye = $ ? q.line.getGranularityForZoomLevel($.z) : 1, mn = (Dn, Vn) => {
@@ -17695,7 +17695,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17695
17695
  return [sl, l1.length];
17696
17696
  }(Mn.textAnchorOffsets, WJ);
17697
17697
  Mn.symbolInstances.emplaceBack(pr.x, pr.y, W4.right >= 0 ? W4.right : -1, W4.center >= 0 ? W4.center : -1, W4.left >= 0 ? W4.left : -1, W4.vertical || -1, TL, QL, Qk, DJ, BJ, FJ, jJ, zJ, UJ, GJ, $J, To, fk, Tk, dk, pk, gk, 0, x1, _2, ZJ, qJ);
17698
- }(T, Vn, Dn, f, g, x, Re, T.layers[0], T.collisionBoxArray, c.index, c.sourceLayerIndex, T.index, wt, [ft, ft, ft, ft], Ae, B, Ht, Ct, he, it, c, S, j, $, C);
17698
+ }(T, Vn, Dn, f, g, x, Re, T.layers[0], T.collisionBoxArray, c.index, c.sourceLayerIndex, T.index, wt, [ft, ft, ft, ft], He, B, Ht, Ct, he, it, c, S, j, $, C);
17699
17699
  };
17700
17700
  if (pe === "line") for (const Dn of KP(c.geometry, 0, 0, se, se)) {
17701
17701
  const Vn = il(Dn, ye), Mn = CJ(Vn, et, re, f.vertical || lt, g, 24, Bt, T.overscaling, se);
@@ -17717,7 +17717,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17717
17717
  else if (c.type === "Point") for (const Dn of c.geometry) for (const Vn of Dn) mn([Vn], new S0(Vn.x, Vn.y, 0));
17718
17718
  }
17719
17719
  function ak(T, c, f, g, x, S, C, k, B, j, $, q, tt, rt, it) {
17720
- const lt = function(Bt, Ht, et, ft, Ct, re, Ae, he) {
17720
+ const lt = function(Bt, Ht, et, ft, Ct, re, He, he) {
17721
17721
  const pe = ft.layout.get("text-rotate").evaluate(re, {}) * Math.PI / 180, De = [];
17722
17722
  for (const Se of Ht.positionedLines) for (const Re of Se.positionedGlyphs) {
17723
17723
  if (!Re.rect) continue;
@@ -17725,7 +17725,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17725
17725
  let mn = cJ + 1, Dn = !0, Vn = 1, Mn = 0;
17726
17726
  const pr = (Ct || he) && Re.vertical, Mi = Re.metrics.advance * Re.scale / 2;
17727
17727
  if (he && Ht.verticalizable && (Mn = Se.lineOffset / 2 - (Re.imageName ? -(no - Re.metrics.width * Re.scale) / 2 : (Re.scale - 1) * no)), Re.imageName) {
17728
- const mo = Ae[Re.imageName];
17728
+ const mo = He[Re.imageName];
17729
17729
  Dn = mo.sdf, Vn = mo.pixelRatio, mn = $1 / Vn;
17730
17730
  }
17731
17731
  const ro = Ct ? [Re.x + Mi, Re.y] : [0, 0];
@@ -18042,8 +18042,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18042
18042
  }, a.ah = function(T, { uSize: c, uSizeT: f }, { lowerSize: g, upperSize: x }) {
18043
18043
  return T.kind === "source" ? g / y3 : T.kind === "composite" ? s1.number(g / y3, x / y3, f) : c;
18044
18044
  }, a.ai = function(T, c) {
18045
- var f = c[0], g = c[1], x = c[2], S = c[3], C = c[4], k = c[5], B = c[6], j = c[7], $ = c[8], q = c[9], tt = c[10], rt = c[11], it = c[12], lt = c[13], Tt = c[14], wt = c[15], Bt = f * k - g * C, Ht = f * B - x * C, et = f * j - S * C, ft = g * B - x * k, Ct = g * j - S * k, re = x * j - S * B, Ae = $ * lt - q * it, he = $ * Tt - tt * it, pe = $ * wt - rt * it, De = q * Tt - tt * lt, Se = q * wt - rt * lt, Re = tt * wt - rt * Tt, ye = Bt * Re - Ht * Se + et * De + ft * pe - Ct * he + re * Ae;
18046
- return ye ? (T[0] = (k * Re - B * Se + j * De) * (ye = 1 / ye), T[1] = (x * Se - g * Re - S * De) * ye, T[2] = (lt * re - Tt * Ct + wt * ft) * ye, T[3] = (tt * Ct - q * re - rt * ft) * ye, T[4] = (B * pe - C * Re - j * he) * ye, T[5] = (f * Re - x * pe + S * he) * ye, T[6] = (Tt * et - it * re - wt * Ht) * ye, T[7] = ($ * re - tt * et + rt * Ht) * ye, T[8] = (C * Se - k * pe + j * Ae) * ye, T[9] = (g * pe - f * Se - S * Ae) * ye, T[10] = (it * Ct - lt * et + wt * Bt) * ye, T[11] = (q * et - $ * Ct - rt * Bt) * ye, T[12] = (k * he - C * De - B * Ae) * ye, T[13] = (f * De - g * he + x * Ae) * ye, T[14] = (lt * Ht - it * ft - Tt * Bt) * ye, T[15] = ($ * ft - q * Ht + tt * Bt) * ye, T) : null;
18045
+ var f = c[0], g = c[1], x = c[2], S = c[3], C = c[4], k = c[5], B = c[6], j = c[7], $ = c[8], q = c[9], tt = c[10], rt = c[11], it = c[12], lt = c[13], Tt = c[14], wt = c[15], Bt = f * k - g * C, Ht = f * B - x * C, et = f * j - S * C, ft = g * B - x * k, Ct = g * j - S * k, re = x * j - S * B, He = $ * lt - q * it, he = $ * Tt - tt * it, pe = $ * wt - rt * it, De = q * Tt - tt * lt, Se = q * wt - rt * lt, Re = tt * wt - rt * Tt, ye = Bt * Re - Ht * Se + et * De + ft * pe - Ct * he + re * He;
18046
+ return ye ? (T[0] = (k * Re - B * Se + j * De) * (ye = 1 / ye), T[1] = (x * Se - g * Re - S * De) * ye, T[2] = (lt * re - Tt * Ct + wt * ft) * ye, T[3] = (tt * Ct - q * re - rt * ft) * ye, T[4] = (B * pe - C * Re - j * he) * ye, T[5] = (f * Re - x * pe + S * he) * ye, T[6] = (Tt * et - it * re - wt * Ht) * ye, T[7] = ($ * re - tt * et + rt * Ht) * ye, T[8] = (C * Se - k * pe + j * He) * ye, T[9] = (g * pe - f * Se - S * He) * ye, T[10] = (it * Ct - lt * et + wt * Bt) * ye, T[11] = (q * et - $ * Ct - rt * Bt) * ye, T[12] = (k * he - C * De - B * He) * ye, T[13] = (f * De - g * he + x * He) * ye, T[14] = (lt * Ht - it * ft - Tt * Bt) * ye, T[15] = ($ * ft - q * Ht + tt * Bt) * ye, T) : null;
18047
18047
  }, a.aj = ae, a.ak = function(T) {
18048
18048
  return Math.hypot(T[0], T[1]);
18049
18049
  }, a.al = function(T) {
@@ -18160,8 +18160,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18160
18160
  }, a.bX = function(T, c) {
18161
18161
  return T[0] === c[0] && T[1] === c[1] && T[2] === c[2] && T[3] === c[3] && T[4] === c[4] && T[5] === c[5] && T[6] === c[6] && T[7] === c[7] && T[8] === c[8] && T[9] === c[9] && T[10] === c[10] && T[11] === c[11] && T[12] === c[12] && T[13] === c[13] && T[14] === c[14] && T[15] === c[15];
18162
18162
  }, a.bY = function(T, c) {
18163
- var f = T[0], g = T[1], x = T[2], S = T[3], C = T[4], k = T[5], B = T[6], j = T[7], $ = T[8], q = T[9], tt = T[10], rt = T[11], it = T[12], lt = T[13], Tt = T[14], wt = T[15], Bt = c[0], Ht = c[1], et = c[2], ft = c[3], Ct = c[4], re = c[5], Ae = c[6], he = c[7], pe = c[8], De = c[9], Se = c[10], Re = c[11], ye = c[12], mn = c[13], Dn = c[14], Vn = c[15];
18164
- return Math.abs(f - Bt) <= G * Math.max(1, Math.abs(f), Math.abs(Bt)) && Math.abs(g - Ht) <= G * Math.max(1, Math.abs(g), Math.abs(Ht)) && Math.abs(x - et) <= G * Math.max(1, Math.abs(x), Math.abs(et)) && Math.abs(S - ft) <= G * Math.max(1, Math.abs(S), Math.abs(ft)) && Math.abs(C - Ct) <= G * Math.max(1, Math.abs(C), Math.abs(Ct)) && Math.abs(k - re) <= G * Math.max(1, Math.abs(k), Math.abs(re)) && Math.abs(B - Ae) <= G * Math.max(1, Math.abs(B), Math.abs(Ae)) && Math.abs(j - he) <= G * Math.max(1, Math.abs(j), Math.abs(he)) && Math.abs($ - pe) <= G * Math.max(1, Math.abs($), Math.abs(pe)) && Math.abs(q - De) <= G * Math.max(1, Math.abs(q), Math.abs(De)) && Math.abs(tt - Se) <= G * Math.max(1, Math.abs(tt), Math.abs(Se)) && Math.abs(rt - Re) <= G * Math.max(1, Math.abs(rt), Math.abs(Re)) && Math.abs(it - ye) <= G * Math.max(1, Math.abs(it), Math.abs(ye)) && Math.abs(lt - mn) <= G * Math.max(1, Math.abs(lt), Math.abs(mn)) && Math.abs(Tt - Dn) <= G * Math.max(1, Math.abs(Tt), Math.abs(Dn)) && Math.abs(wt - Vn) <= G * Math.max(1, Math.abs(wt), Math.abs(Vn));
18163
+ var f = T[0], g = T[1], x = T[2], S = T[3], C = T[4], k = T[5], B = T[6], j = T[7], $ = T[8], q = T[9], tt = T[10], rt = T[11], it = T[12], lt = T[13], Tt = T[14], wt = T[15], Bt = c[0], Ht = c[1], et = c[2], ft = c[3], Ct = c[4], re = c[5], He = c[6], he = c[7], pe = c[8], De = c[9], Se = c[10], Re = c[11], ye = c[12], mn = c[13], Dn = c[14], Vn = c[15];
18164
+ return Math.abs(f - Bt) <= G * Math.max(1, Math.abs(f), Math.abs(Bt)) && Math.abs(g - Ht) <= G * Math.max(1, Math.abs(g), Math.abs(Ht)) && Math.abs(x - et) <= G * Math.max(1, Math.abs(x), Math.abs(et)) && Math.abs(S - ft) <= G * Math.max(1, Math.abs(S), Math.abs(ft)) && Math.abs(C - Ct) <= G * Math.max(1, Math.abs(C), Math.abs(Ct)) && Math.abs(k - re) <= G * Math.max(1, Math.abs(k), Math.abs(re)) && Math.abs(B - He) <= G * Math.max(1, Math.abs(B), Math.abs(He)) && Math.abs(j - he) <= G * Math.max(1, Math.abs(j), Math.abs(he)) && Math.abs($ - pe) <= G * Math.max(1, Math.abs($), Math.abs(pe)) && Math.abs(q - De) <= G * Math.max(1, Math.abs(q), Math.abs(De)) && Math.abs(tt - Se) <= G * Math.max(1, Math.abs(tt), Math.abs(Se)) && Math.abs(rt - Re) <= G * Math.max(1, Math.abs(rt), Math.abs(Re)) && Math.abs(it - ye) <= G * Math.max(1, Math.abs(it), Math.abs(ye)) && Math.abs(lt - mn) <= G * Math.max(1, Math.abs(lt), Math.abs(mn)) && Math.abs(Tt - Dn) <= G * Math.max(1, Math.abs(Tt), Math.abs(Dn)) && Math.abs(wt - Vn) <= G * Math.max(1, Math.abs(wt), Math.abs(Vn));
18165
18165
  }, a.bZ = function(T, c) {
18166
18166
  return T[0] = c[0], T[1] = c[1], T[2] = c[2], T[3] = c[3], T[4] = c[4], T[5] = c[5], T[6] = c[6], T[7] = c[7], T[8] = c[8], T[9] = c[9], T[10] = c[10], T[11] = c[11], T[12] = c[12], T[13] = c[13], T[14] = c[14], T[15] = c[15], T;
18167
18167
  }, a.b_ = (T) => T.type === "symbol", a.ba = wu, a.bb = cr, a.bc = be, a.bd = $e, a.be = function(T, c, f, g, x) {
@@ -18313,8 +18313,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18313
18313
  const $ = f.get("text-font").evaluate(j, {}, T.canonical).join(","), q = B.evaluate(j, {}, T.canonical), tt = x.layoutTextSize.evaluate(j, {}, T.canonical), rt = x.layoutIconSize.evaluate(j, {}, T.canonical), it = { horizontal: {}, vertical: void 0 }, lt = j.text;
18314
18314
  let Tt, wt = [0, 0];
18315
18315
  if (lt) {
18316
- const et = lt.toString(), ft = f.get("text-letter-spacing").evaluate(j, {}, T.canonical) * no, Ct = DT(et) ? ft : 0, re = f.get("text-anchor").evaluate(j, {}, T.canonical), Ae = sk(c, j, T.canonical);
18317
- if (!Ae) {
18316
+ const et = lt.toString(), ft = f.get("text-letter-spacing").evaluate(j, {}, T.canonical) * no, Ct = DT(et) ? ft : 0, re = f.get("text-anchor").evaluate(j, {}, T.canonical), He = sk(c, j, T.canonical);
18317
+ if (!He) {
18318
18318
  const Se = f.get("text-radial-offset").evaluate(j, {}, T.canonical);
18319
18319
  wt = Se ? ok(re, [Se * no, sL]) : f.get("text-offset").evaluate(j, {}, T.canonical).map((Re) => Re * no);
18320
18320
  }
@@ -18322,9 +18322,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18322
18322
  const pe = f.get("symbol-placement") === "point" ? f.get("text-max-width").evaluate(j, {}, T.canonical) * no : 1 / 0, De = () => {
18323
18323
  T.bucket.allowVerticalPlacement && lu(et) && (it.vertical = rQ(lt, T.glyphMap, T.glyphPositions, T.imagePositions, $, pe, S, re, "left", Ct, wt, a.ag.vertical, !0, tt, q));
18324
18324
  };
18325
- if (!C && Ae) {
18325
+ if (!C && He) {
18326
18326
  const Se = /* @__PURE__ */ new Set();
18327
- if (he === "auto") for (let ye = 0; ye < Ae.values.length; ye += 2) Se.add(aL(Ae.values[ye]));
18327
+ if (he === "auto") for (let ye = 0; ye < He.values.length; ye += 2) Se.add(aL(He.values[ye]));
18328
18328
  else Se.add(he);
18329
18329
  let Re = !1;
18330
18330
  for (const ye of Se) if (!it.horizontal[ye]) if (Re) it.horizontal[ye] = it.horizontal[0];
@@ -99931,10 +99931,10 @@ const DNt = [
99931
99931
  class Ni {
99932
99932
  }
99933
99933
  pt(Ni, "FUNCTIONAL", "functional"), pt(Ni, "ANATOMICAL", "anatomical"), pt(Ni, "CENTRELINE", "centreline"), pt(Ni, "GENERIC", "flatmap");
99934
- var jp, ep, np, aa, rp, ip, Ug, u8, z7, Jl, Gg, op, $g, u5, V3, Ur, Wg, xs, zp, Up, Gp, Q6, k2, tc, Zg, sp, L6, h8, M8, $p, He, I2, A1, aY, Cj, Oj, Pj, wm, pd, lY, tE;
99934
+ var jp, ep, np, aa, rp, ip, Ug, u8, z7, Jl, Gg, op, $g, u5, V3, Ur, Wg, xs, zp, Up, Gp, Q6, k2, tc, Zg, sp, L6, h8, M8, $p, Ae, I2, A1, aY, Cj, Oj, Pj, wm, pd, lY, tE;
99935
99935
  class UNt {
99936
99936
  constructor(t, n, r) {
99937
- mt(this, A1), mt(this, jp, /* @__PURE__ */ new Map()), mt(this, ep), mt(this, np), mt(this, aa), mt(this, rp, []), mt(this, ip), mt(this, Ug), mt(this, u8, /* @__PURE__ */ new Map()), mt(this, z7), mt(this, Jl, /* @__PURE__ */ new Map()), mt(this, Gg), mt(this, op, null), mt(this, $g), mt(this, u5, /* @__PURE__ */ new Map()), mt(this, V3, ""), mt(this, Ur, null), mt(this, Wg), mt(this, xs), mt(this, zp, /* @__PURE__ */ new Map()), mt(this, Up), mt(this, Gp, /* @__PURE__ */ new Map()), mt(this, Q6), mt(this, k2), mt(this, tc), mt(this, Zg), mt(this, sp, new dNt()), mt(this, L6, -1), mt(this, h8), mt(this, M8, /* @__PURE__ */ new Map()), mt(this, $p, /* @__PURE__ */ new Map()), mt(this, He, null), mt(this, I2), gt(this, ip, t), gt(this, xs, n), gt(this, ep, n.url()), gt(this, Gg, r.id), gt(this, I2, r.uuid), gt(this, z7, r.details), gt(this, Wg, r.mapMetadata), gt(this, Ug, r.mapMetadata.created), gt(this, h8, r.taxon), gt(this, np, r.biologicalSex), A(this, rp).push(r.callback), gt(this, $g, r.layers), gt(this, tc, r.options), gt(this, Zg, r.pathways), gt(this, Up, new Fdt(r.sparcTermGraph));
99937
+ mt(this, A1), mt(this, jp, /* @__PURE__ */ new Map()), mt(this, ep), mt(this, np), mt(this, aa), mt(this, rp, []), mt(this, ip), mt(this, Ug), mt(this, u8, /* @__PURE__ */ new Map()), mt(this, z7), mt(this, Jl, /* @__PURE__ */ new Map()), mt(this, Gg), mt(this, op, null), mt(this, $g), mt(this, u5, /* @__PURE__ */ new Map()), mt(this, V3, ""), mt(this, Ur, null), mt(this, Wg), mt(this, xs), mt(this, zp, /* @__PURE__ */ new Map()), mt(this, Up), mt(this, Gp, /* @__PURE__ */ new Map()), mt(this, Q6), mt(this, k2), mt(this, tc), mt(this, Zg), mt(this, sp, new dNt()), mt(this, L6, -1), mt(this, h8), mt(this, M8, /* @__PURE__ */ new Map()), mt(this, $p, /* @__PURE__ */ new Map()), mt(this, Ae, null), mt(this, I2), gt(this, ip, t), gt(this, xs, n), gt(this, ep, n.url()), gt(this, Gg, r.id), gt(this, I2, r.uuid), gt(this, z7, r.details), gt(this, Wg, r.mapMetadata), gt(this, Ug, r.mapMetadata.created), gt(this, h8, r.taxon), gt(this, np, r.biologicalSex), A(this, rp).push(r.callback), gt(this, $g, r.layers), gt(this, tc, r.options), gt(this, Zg, r.pathways), gt(this, Up, new Fdt(r.sparcTermGraph));
99938
99938
  const i = r.details.connectivity;
99939
99939
  i ? "knowledge-source" in i ? gt(this, V3, i["knowledge-source"] || "") : "npo" in i ? gt(this, V3, `${i.npo.release}-npo`) : gt(this, V3, A(this, xs).latestSource) : gt(this, V3, A(this, xs).latestSource);
99940
99940
  for (const [s, u] of Object.entries(r.annotations))
@@ -99968,7 +99968,7 @@ class UNt {
99968
99968
  else if (A(this, L6) === 1) {
99969
99969
  gt(this, L6, 2), A(this, Ur).setRenderWorldCopies(!0), gt(this, aa, A(this, Ur).getBounds()), A(this, aa).getEast() >= 180 && A(this, aa).setNorthEast(new h1.LngLat(179.9, A(this, aa).getNorth())), A(this, aa).getWest() <= -180 && A(this, aa).setSouthWest(new h1.LngLat(-179.9, A(this, aa).getSouth()));
99970
99970
  const s = A(this, aa).toArray(), u = h1.MercatorCoordinate.fromLngLat(s[0]), h = h1.MercatorCoordinate.fromLngLat(s[1]);
99971
- gt(this, Q6, [u.x, h.y]), gt(this, k2, [h.x - u.x, u.y - h.y]), "state" in A(this, tc) && A(this, He).setState(A(this, tc).state), gt(this, op, this.getState()), A(this, He).minimap && A(this, He).minimap.initialise(), A(this, Ur).setMaxBounds(A(this, aa)), A(this, Ur).fitBounds(A(this, aa), { animate: !1 }), gt(this, L6, 3), a.unsubscribe();
99971
+ gt(this, Q6, [u.x, h.y]), gt(this, k2, [h.x - u.x, u.y - h.y]), "state" in A(this, tc) && A(this, Ae).setState(A(this, tc).state), gt(this, op, this.getState()), A(this, Ae).minimap && A(this, Ae).minimap.initialise(), A(this, Ur).setMaxBounds(A(this, aa)), A(this, Ur).fitBounds(A(this, aa), { animate: !1 }), gt(this, L6, 3), a.unsubscribe();
99972
99972
  }
99973
99973
  });
99974
99974
  }
@@ -100009,7 +100009,7 @@ class UNt {
100009
100009
  * Clear any visibility filter on features and paths.
100010
100010
  */
100011
100011
  clearVisibilityFilter() {
100012
- A(this, He) !== null && A(this, He).clearVisibilityFilter();
100012
+ A(this, Ae) !== null && A(this, Ae).clearVisibilityFilter();
100013
100013
  }
100014
100014
  /**
100015
100015
  * Sets a visibility filter for features and paths
@@ -100017,14 +100017,14 @@ class UNt {
100017
100017
  * @param {PropertiesFilterExpression} [filterExpression=true] The filter specification
100018
100018
  */
100019
100019
  setVisibilityFilter(t = !0) {
100020
- A(this, He) !== null && A(this, He).setVisibilityFilter(t);
100020
+ A(this, Ae) !== null && A(this, Ae).setVisibilityFilter(t);
100021
100021
  }
100022
100022
  // Map control methods
100023
100023
  /**
100024
100024
  * Reset a map to its initial state.
100025
100025
  */
100026
100026
  resetMap() {
100027
- A(this, op) !== null && this.setState(A(this, op)), A(this, He) !== null && A(this, He).reset();
100027
+ A(this, op) !== null && this.setState(A(this, op)), A(this, Ae) !== null && A(this, Ae).reset();
100028
100028
  }
100029
100029
  /**
100030
100030
  * Zoom the map in.
@@ -100044,8 +100044,8 @@ class UNt {
100044
100044
  * descriptions and colours
100045
100045
  */
100046
100046
  pathTypes() {
100047
- if (A(this, He) !== null)
100048
- return A(this, He).pathManager.pathTypes();
100047
+ if (A(this, Ae) !== null)
100048
+ return A(this, Ae).pathManager.pathTypes();
100049
100049
  }
100050
100050
  /**
100051
100051
  * Hide or show paths of a given type.
@@ -100055,7 +100055,7 @@ class UNt {
100055
100055
  * ``true`` (show)
100056
100056
  */
100057
100057
  enablePath(t, n = !0) {
100058
- A(this, He) !== null && A(this, He).enablePathsByType(t, n);
100058
+ A(this, Ae) !== null && A(this, Ae).enablePathsByType(t, n);
100059
100059
  }
100060
100060
  /**
100061
100061
  * Hide or show all paths valid in SCKAN.
@@ -100065,7 +100065,7 @@ class UNt {
100065
100065
  * Defaults to ``true`` (show)
100066
100066
  */
100067
100067
  enableSckanPath(t, n = !0) {
100068
- A(this, He) !== null && A(this, He).enableSckanPaths(t, n);
100068
+ A(this, Ae) !== null && A(this, Ae).enableSckanPaths(t, n);
100069
100069
  }
100070
100070
  /**
100071
100071
  * Show or hide connectivity features observed in particular species.
@@ -100075,7 +100075,7 @@ class UNt {
100075
100075
  * Defaults to ``true`` (show)
100076
100076
  */
100077
100077
  enableConnectivityByTaxonIds(t, n = !0) {
100078
- A(this, He) !== null && A(this, He).enableConnectivityByTaxonIds(t, n);
100078
+ A(this, Ae) !== null && A(this, Ae).enableConnectivityByTaxonIds(t, n);
100079
100079
  }
100080
100080
  makeServerUrl(t, n = "flatmap/") {
100081
100081
  return t.startsWith("http://") || t.startsWith("https://") ? t : t.startsWith("/") ? `${A(this, ep)}${n}${A(this, I2)}${t}` : `${A(this, ep)}${n}${A(this, I2)}/${t}`;
@@ -100191,7 +100191,7 @@ class UNt {
100191
100191
  * @param {string} featureId The feature's external identifier
100192
100192
  */
100193
100193
  setFeatureAnnotated(t) {
100194
- A(this, He) !== null && A(this, He).setFeatureAnnotated(t);
100194
+ A(this, Ae) !== null && A(this, Ae).setFeatureAnnotated(t);
100195
100195
  }
100196
100196
  modelFeatureIds(t) {
100197
100197
  const n = jm(t);
@@ -100210,7 +100210,7 @@ class UNt {
100210
100210
  n.extend(A(this, u8).get(r) || []), n.extend(A(this, zp).get(r) || []);
100211
100211
  else
100212
100212
  n.extend(A(this, u8).get(t) || []), n.extend(A(this, zp).get(t) || []);
100213
- return n.length == 0 && A(this, He) !== null && n.extend(A(this, He).pathFeatureIds(t)), n;
100213
+ return n.length == 0 && A(this, Ae) !== null && n.extend(A(this, Ae).pathFeatureIds(t)), n;
100214
100214
  }
100215
100215
  modelForFeature(t) {
100216
100216
  const n = A(this, u5).get(+t);
@@ -100223,8 +100223,8 @@ class UNt {
100223
100223
  * @return Model terms of all paths connected to the node
100224
100224
  */
100225
100225
  nodePathModels(t) {
100226
- if (A(this, He) !== null)
100227
- return A(this, He).nodePathModels(t);
100226
+ if (A(this, Ae) !== null)
100227
+ return A(this, Ae).nodePathModels(t);
100228
100228
  }
100229
100229
  /**
100230
100230
  * Get GeoJSON feature ids of all nodes of a path model.
@@ -100233,7 +100233,7 @@ class UNt {
100233
100233
  * @return GeoJSON identifiers of features on the path
100234
100234
  */
100235
100235
  pathModelNodes(t) {
100236
- return A(this, He) !== null ? [...A(this, He).pathModelNodes(t)] : [];
100236
+ return A(this, Ae) !== null ? [...A(this, Ae).pathModelNodes(t)] : [];
100237
100237
  }
100238
100238
  /**
100239
100239
  * Get GeoJSON feature ids of all features identified with a taxon.
@@ -100323,25 +100323,25 @@ class UNt {
100323
100323
  };
100324
100324
  }
100325
100325
  getState() {
100326
- return A(this, He) !== null ? A(this, He).getState() : null;
100326
+ return A(this, Ae) !== null ? A(this, Ae).getState() : null;
100327
100327
  }
100328
100328
  setState(t) {
100329
- A(this, He) !== null && A(this, He).setState(t);
100329
+ A(this, Ae) !== null && A(this, Ae).setState(t);
100330
100330
  }
100331
100331
  showPopup(t, n, r = {}) {
100332
- A(this, He) !== null && A(this, He).showPopup(t, n, r);
100332
+ A(this, Ae) !== null && A(this, Ae).showPopup(t, n, r);
100333
100333
  }
100334
100334
  /**
100335
100335
  * Remove the currently active popup from the map.
100336
100336
  */
100337
100337
  removePopup() {
100338
- A(this, He) !== null && A(this, He).removePopup();
100338
+ A(this, Ae) !== null && A(this, Ae).removePopup();
100339
100339
  }
100340
100340
  setPaint(t = {}) {
100341
100341
  t = f8(t, {
100342
100342
  colour: !0,
100343
100343
  outline: !0
100344
- }), A(this, He) !== null && A(this, He).setPaint(t);
100344
+ }), A(this, Ae) !== null && A(this, Ae).setPaint(t);
100345
100345
  }
100346
100346
  setColour(t = {}) {
100347
100347
  console.log("`setColour()` is deprecated; please use `setPaint()` instead."), this.setPaint(t);
@@ -100369,7 +100369,7 @@ class UNt {
100369
100369
  * @param {string} colour The colour
100370
100370
  */
100371
100371
  setBackgroundColour(t) {
100372
- localStorage.setItem("flatmap-background-colour", t), A(this, Ur).setPaintProperty("background", "background-color", t), A(this, He).minimap && A(this, He).minimap.setBackgroundColour(t);
100372
+ localStorage.setItem("flatmap-background-colour", t), A(this, Ur).setPaintProperty("background", "background-color", t), A(this, Ae).minimap && A(this, Ae).minimap.setBackgroundColour(t);
100373
100373
  }
100374
100374
  /**
100375
100375
  * Sets the map's background opacity.
@@ -100377,7 +100377,7 @@ class UNt {
100377
100377
  * @param {number} opacity The opacity
100378
100378
  */
100379
100379
  setBackgroundOpacity(t) {
100380
- A(this, Ur).setPaintProperty("background", "background-opacity", t), A(this, He).minimap && A(this, He).minimap.setBackgroundOpacity(t);
100380
+ A(this, Ur).setPaintProperty("background", "background-opacity", t), A(this, Ae).minimap && A(this, Ae).minimap.setBackgroundOpacity(t);
100381
100381
  }
100382
100382
  /**
100383
100383
  * Show and hide the minimap.
@@ -100385,7 +100385,7 @@ class UNt {
100385
100385
  * @param {boolean} show Set false to hide minimap
100386
100386
  */
100387
100387
  showMinimap(t) {
100388
- A(this, He).minimap && A(this, He).minimap.show(t);
100388
+ A(this, Ae).minimap && A(this, Ae).minimap.show(t);
100389
100389
  }
100390
100390
  //==========================================================================
100391
100391
  /**
@@ -100394,8 +100394,8 @@ class UNt {
100394
100394
  * @return {Array.<{id: string, description: string, enabled: boolean}>} An array with layer details
100395
100395
  */
100396
100396
  getLayers() {
100397
- if (A(this, He) !== null)
100398
- return A(this, He).getLayers();
100397
+ if (A(this, Ae) !== null)
100398
+ return A(this, Ae).getLayers();
100399
100399
  }
100400
100400
  /**
100401
100401
  * @param {string} layerId The layer identifier to enable
@@ -100403,8 +100403,8 @@ class UNt {
100403
100403
  *
100404
100404
  */
100405
100405
  enableLayer(t, n = !0) {
100406
- if (A(this, He) !== null)
100407
- return A(this, He).enableLayer(t, n);
100406
+ if (A(this, Ae) !== null)
100407
+ return A(this, Ae).enableLayer(t, n);
100408
100408
  }
100409
100409
  /**
100410
100410
  * Show/hide flight path view.
@@ -100412,7 +100412,7 @@ class UNt {
100412
100412
  * @param {boolean} [enable=true]
100413
100413
  */
100414
100414
  enableFlightPaths(t = !0) {
100415
- A(this, He) !== null && A(this, He).enableFlightPaths(t);
100415
+ A(this, Ae) !== null && A(this, Ae).enableFlightPaths(t);
100416
100416
  }
100417
100417
  //==========================================================================
100418
100418
  /**
@@ -100421,8 +100421,8 @@ class UNt {
100421
100421
  * @return {Array.<{id: string, name: string, colour: string, enabled: boolean}>} An array with system details
100422
100422
  */
100423
100423
  getSystems() {
100424
- if (A(this, He) !== null)
100425
- return A(this, He).getSystems();
100424
+ if (A(this, Ae) !== null)
100425
+ return A(this, Ae).getSystems();
100426
100426
  }
100427
100427
  /**
100428
100428
  * @param {string} systemId The identifier of the system to enable
@@ -100430,8 +100430,8 @@ class UNt {
100430
100430
  *
100431
100431
  */
100432
100432
  enableSystem(t, n = !0) {
100433
- if (A(this, He) !== null)
100434
- return A(this, He).enableSystem(t, n);
100433
+ if (A(this, Ae) !== null)
100434
+ return A(this, Ae).enableSystem(t, n);
100435
100435
  }
100436
100436
  //==========================================================================
100437
100437
  /**
@@ -100444,7 +100444,16 @@ class UNt {
100444
100444
  * map doesn't contain a feature with the given anatomical identifier
100445
100445
  */
100446
100446
  addMarker(t, n = {}) {
100447
- return A(this, He) !== null ? A(this, He).addLayeredMarker(t, n) : [];
100447
+ if (A(this, Ae) !== null) {
100448
+ if (n.kind === "multiscale")
100449
+ return A(this, Ae).addLayeredMarker(t, n);
100450
+ {
100451
+ const r = A(this, Ae).addMarker(t, n);
100452
+ if (r > 0)
100453
+ return [r];
100454
+ }
100455
+ }
100456
+ return [];
100448
100457
  }
100449
100458
  /**
100450
100459
  * Add a list of markers to the map.
@@ -100460,10 +100469,14 @@ class UNt {
100460
100469
  n = Object.assign({ cluster: !0 }, n);
100461
100470
  const r = [];
100462
100471
  for (const i of t)
100463
- if (A(this, He) !== null) {
100464
- const o = A(this, He).addLayeredMarker(i, n);
100465
- o.push(...o);
100466
- }
100472
+ if (A(this, Ae) !== null)
100473
+ if (n.kind === "multiscale") {
100474
+ const o = A(this, Ae).addLayeredMarker(i, n);
100475
+ o.push(...o);
100476
+ } else {
100477
+ const o = A(this, Ae).addMarker(i, n);
100478
+ o > 0 && r.push(o);
100479
+ }
100467
100480
  return r;
100468
100481
  }
100469
100482
  /**
@@ -100473,13 +100486,13 @@ class UNt {
100473
100486
  * by ``addMarker()``
100474
100487
  */
100475
100488
  removeMarker(t) {
100476
- t > -1 && A(this, He) !== null && A(this, He).removeMarker(t);
100489
+ t > -1 && A(this, Ae) !== null && A(this, Ae).removeMarker(t);
100477
100490
  }
100478
100491
  /**
100479
100492
  * Remove all markers from the map.
100480
100493
  */
100481
100494
  clearMarkers() {
100482
- A(this, He) !== null && A(this, He).clearMarkers();
100495
+ A(this, Ae) !== null && A(this, Ae).clearMarkers();
100483
100496
  }
100484
100497
  /**
100485
100498
  * Add dataset markers to the map.
@@ -100489,13 +100502,13 @@ class UNt {
100489
100502
  * associated anatomical terms
100490
100503
  */
100491
100504
  addDatasetMarkers(t) {
100492
- A(this, He) !== null && A(this, He).addDatasetMarkers(t);
100505
+ A(this, Ae) !== null && A(this, Ae).addDatasetMarkers(t);
100493
100506
  }
100494
100507
  /**
100495
100508
  * Remove all dataset markers from the map.
100496
100509
  */
100497
100510
  clearDatasetMarkers() {
100498
- A(this, He) !== null && A(this, He).clearDatasetMarkers();
100511
+ A(this, Ae) !== null && A(this, Ae).clearDatasetMarkers();
100499
100512
  }
100500
100513
  /**
100501
100514
  * Remove markers for a dataset from the map.
@@ -100504,7 +100517,7 @@ class UNt {
100504
100517
  * to ``addDatasetMarkers()``
100505
100518
  */
100506
100519
  removeDatasetMarker(t) {
100507
- A(this, He) !== null && A(this, He).removeDatasetMarker(t);
100520
+ A(this, Ae) !== null && A(this, Ae).removeDatasetMarker(t);
100508
100521
  }
100509
100522
  /**
100510
100523
  * Return the set of anatomical identifiers visible in the current map view.
@@ -100512,8 +100525,8 @@ class UNt {
100512
100525
  * @return {Array.<string>} A list of identifiers
100513
100526
  */
100514
100527
  visibleMarkerAnatomicalIds() {
100515
- if (A(this, He) !== null)
100516
- return A(this, He).visibleMarkerAnatomicalIds();
100528
+ if (A(this, Ae) !== null)
100529
+ return A(this, Ae).visibleMarkerAnatomicalIds();
100517
100530
  }
100518
100531
  /**
100519
100532
  * Shows a popup at a marker.
@@ -100529,7 +100542,7 @@ class UNt {
100529
100542
  * The resulting popup is given a class name of ``flatmap-tooltip-popup``.
100530
100543
  */
100531
100544
  showMarkerPopup(t, n, r = {}) {
100532
- return A(this, He) !== null ? A(this, He).showMarkerPopup(t, n, r) : !1;
100545
+ return A(this, Ae) !== null ? A(this, Ae).showMarkerPopup(t, n, r) : !1;
100533
100546
  }
100534
100547
  exportedFeatureProperties(t) {
100535
100548
  const n = {};
@@ -100546,7 +100559,7 @@ class UNt {
100546
100559
  * @param {boolean} [visible=true]
100547
100560
  */
100548
100561
  showAnnotator(t = !0) {
100549
- A(this, He) !== null && A(this, He).showAnnotator(t);
100562
+ A(this, Ae) !== null && A(this, Ae).showAnnotator(t);
100550
100563
  }
100551
100564
  /**
100552
100565
  * Generate an ``annotation`` callback event when a drawn annotation has been created
@@ -100569,7 +100582,7 @@ class UNt {
100569
100582
  * @param event {AnnotationEvent} The object as received in an annotation callback
100570
100583
  */
100571
100584
  commitAnnotationEvent(t) {
100572
- A(this, He) && A(this, He).commitAnnotationEvent(t);
100585
+ A(this, Ae) && A(this, Ae).commitAnnotationEvent(t);
100573
100586
  }
100574
100587
  /**
100575
100588
  * Mark a drawn/changed annotation as having been rejected by the user.
@@ -100577,19 +100590,19 @@ class UNt {
100577
100590
  * @param event {AnnotationEvent} The object as received in an annotation callback
100578
100591
  */
100579
100592
  rollbackAnnotationEvent(t) {
100580
- A(this, He) && A(this, He).rollbackAnnotationEvent(t);
100593
+ A(this, Ae) && A(this, Ae).rollbackAnnotationEvent(t);
100581
100594
  }
100582
100595
  /**
100583
100596
  * Clear all drawn annotations from current annotation layer.
100584
100597
  */
100585
100598
  clearAnnotationFeature() {
100586
- A(this, He) && A(this, He).clearAnnotationFeatures();
100599
+ A(this, Ae) && A(this, Ae).clearAnnotationFeatures();
100587
100600
  }
100588
100601
  /**
100589
100602
  * Delete the selected drawn feature
100590
100603
  */
100591
100604
  removeAnnotationFeature() {
100592
- A(this, He) && A(this, He).removeAnnotationFeature();
100605
+ A(this, Ae) && A(this, Ae).removeAnnotationFeature();
100593
100606
  }
100594
100607
  /**
100595
100608
  * Add a drawn feature to the annotation drawing tool.
@@ -100597,7 +100610,7 @@ class UNt {
100597
100610
  * @param feature {AnnotatedFeature} The feature to add
100598
100611
  */
100599
100612
  addAnnotationFeature(t) {
100600
- A(this, He) && A(this, He).addAnnotationFeature(t);
100613
+ A(this, Ae) && A(this, Ae).addAnnotationFeature(t);
100601
100614
  }
100602
100615
  /**
100603
100616
  * Return the feature as it is currently drawn. This is so
@@ -100610,13 +100623,13 @@ class UNt {
100610
100623
  * if the feature has been deleted.
100611
100624
  */
100612
100625
  refreshAnnotationFeatureGeometry(t) {
100613
- return A(this, He) ? A(this, He).refreshAnnotationFeatureGeometry(t) : null;
100626
+ return A(this, Ae) ? A(this, Ae).refreshAnnotationFeatureGeometry(t) : null;
100614
100627
  }
100615
100628
  /**
100616
100629
  * Changes the mode for drawing annotations.
100617
100630
  */
100618
100631
  changeAnnotationDrawMode(t) {
100619
- A(this, He) && A(this, He).changeAnnotationDrawMode(t);
100632
+ A(this, Ae) && A(this, Ae).changeAnnotationDrawMode(t);
100620
100633
  }
100621
100634
  /**
100622
100635
  * Generate a callback as a result of some event with a flatmap feature.
@@ -100687,7 +100700,7 @@ class UNt {
100687
100700
  * otherwise disable them.
100688
100701
  */
100689
100702
  enablePanZoomEvents(t = !0) {
100690
- A(this, He) !== null && A(this, He).enablePanZoomEvents(t);
100703
+ A(this, Ae) !== null && A(this, Ae).enablePanZoomEvents(t);
100691
100704
  }
100692
100705
  /**
100693
100706
  * Generate a callback as a result of panning/zooming the map.
@@ -100738,10 +100751,10 @@ class UNt {
100738
100751
  return n ? A(this, sp).auto_suggest(t) : A(this, sp).search(t);
100739
100752
  }
100740
100753
  clearSearchResults() {
100741
- A(this, He) !== null && A(this, He).clearSearchResults();
100754
+ A(this, Ae) !== null && A(this, Ae).clearSearchResults();
100742
100755
  }
100743
100756
  showSearchResults(t) {
100744
- A(this, He) !== null && A(this, He).showSearchResults(t.featureIds);
100757
+ A(this, Ae) !== null && A(this, Ae).showSearchResults(t.featureIds);
100745
100758
  }
100746
100759
  //==========================================================================
100747
100760
  /**
@@ -100750,9 +100763,9 @@ class UNt {
100750
100763
  * @param externalIds An array of anaotomical terms identifing features to select
100751
100764
  */
100752
100765
  selectFeatures(t) {
100753
- if (A(this, He) !== null) {
100766
+ if (A(this, Ae) !== null) {
100754
100767
  const n = this.modelFeatureIdList(t);
100755
- A(this, He).selectFeatures(n);
100768
+ A(this, Ae).selectFeatures(n);
100756
100769
  }
100757
100770
  }
100758
100771
  /**
@@ -100768,9 +100781,9 @@ class UNt {
100768
100781
  select: !0,
100769
100782
  highlight: !1,
100770
100783
  padding: 100
100771
- }), A(this, He) !== null) {
100784
+ }), A(this, Ae) !== null) {
100772
100785
  const r = this.modelFeatureIdList(t);
100773
- A(this, He).zoomToFeatures(r, n);
100786
+ A(this, Ae).zoomToFeatures(r, n);
100774
100787
  }
100775
100788
  }
100776
100789
  /**
@@ -100780,13 +100793,13 @@ class UNt {
100780
100793
  * or an array of identifiers.
100781
100794
  */
100782
100795
  selectGeoJSONFeatures(t) {
100783
- A(this, He) !== null && A(this, He).selectFeatures(Array.isArray(t) ? t : [t]);
100796
+ A(this, Ae) !== null && A(this, Ae).selectFeatures(Array.isArray(t) ? t : [t]);
100784
100797
  }
100785
100798
  /**
100786
100799
  * Unselect all features on the map.
100787
100800
  */
100788
100801
  unselectGeoJSONFeatures() {
100789
- A(this, He) !== null && A(this, He).unselectFeatures();
100802
+ A(this, Ae) !== null && A(this, Ae).unselectFeatures();
100790
100803
  }
100791
100804
  /**
100792
100805
  * Select features and zoom the map to them.
@@ -100799,7 +100812,7 @@ class UNt {
100799
100812
  select: !0,
100800
100813
  highlight: !1,
100801
100814
  padding: 100
100802
- }), A(this, He) !== null && A(this, He).zoomToFeatures(t, n);
100815
+ }), A(this, Ae) !== null && A(this, Ae).zoomToFeatures(t, n);
100803
100816
  }
100804
100817
  //==========================================================================
100805
100818
  /**
@@ -100816,7 +100829,7 @@ class UNt {
100816
100829
  * there are no features with the given ``anatomicalId``.
100817
100830
  */
100818
100831
  addImage(t, n, r = {}) {
100819
- return A(this, He) !== null ? A(this, He).addImage(t, n, r) : null;
100832
+ return A(this, Ae) !== null ? A(this, Ae).addImage(t, n, r) : null;
100820
100833
  }
100821
100834
  /**
100822
100835
  * Remove images for an anatomical features.
@@ -100824,14 +100837,14 @@ class UNt {
100824
100837
  * @param {string} mapImageId An image identifier previously returned by ``addImage()``.
100825
100838
  */
100826
100839
  removeImage(t) {
100827
- A(this, He) !== null && A(this, He).removeImage(t);
100840
+ A(this, Ae) !== null && A(this, Ae).removeImage(t);
100828
100841
  }
100829
100842
  //==========================================================================
100830
100843
  /**
100831
100844
  * Get a details of the nerve centrelines in the map.
100832
100845
  */
100833
100846
  getNerveDetails() {
100834
- return A(this, He) !== null ? A(this, He).getNerveDetails() : [];
100847
+ return A(this, Ae) !== null ? A(this, Ae).getNerveDetails() : [];
100835
100848
  }
100836
100849
  /**
100837
100850
  * Enable/disable the neuron paths associated with a nerve centreline.
@@ -100840,7 +100853,7 @@ class UNt {
100840
100853
  * @param [enable=true]
100841
100854
  */
100842
100855
  enableNeuronPathsByNerve(t, n = !0) {
100843
- A(this, He) !== null && A(this, He).enableNeuronPathsByNerve(t, n);
100856
+ A(this, Ae) !== null && A(this, Ae).enableNeuronPathsByNerve(t, n);
100844
100857
  }
100845
100858
  //==========================================================================
100846
100859
  get knowledgeSource() {
@@ -100939,14 +100952,14 @@ class UNt {
100939
100952
  }
100940
100953
  //==========================================================================
100941
100954
  addCloseControl() {
100942
- A(this, He) !== null && A(this, He).addCloseControl();
100955
+ A(this, Ae) !== null && A(this, Ae).addCloseControl();
100943
100956
  }
100944
100957
  removeCloseControl() {
100945
- A(this, He) !== null && A(this, He).removeCloseControl();
100958
+ A(this, Ae) !== null && A(this, Ae).removeCloseControl();
100946
100959
  }
100947
100960
  //==========================================================================
100948
100961
  }
100949
- jp = /* @__PURE__ */ new WeakMap(), ep = /* @__PURE__ */ new WeakMap(), np = /* @__PURE__ */ new WeakMap(), aa = /* @__PURE__ */ new WeakMap(), rp = /* @__PURE__ */ new WeakMap(), ip = /* @__PURE__ */ new WeakMap(), Ug = /* @__PURE__ */ new WeakMap(), u8 = /* @__PURE__ */ new WeakMap(), z7 = /* @__PURE__ */ new WeakMap(), Jl = /* @__PURE__ */ new WeakMap(), Gg = /* @__PURE__ */ new WeakMap(), op = /* @__PURE__ */ new WeakMap(), $g = /* @__PURE__ */ new WeakMap(), u5 = /* @__PURE__ */ new WeakMap(), V3 = /* @__PURE__ */ new WeakMap(), Ur = /* @__PURE__ */ new WeakMap(), Wg = /* @__PURE__ */ new WeakMap(), xs = /* @__PURE__ */ new WeakMap(), zp = /* @__PURE__ */ new WeakMap(), Up = /* @__PURE__ */ new WeakMap(), Gp = /* @__PURE__ */ new WeakMap(), Q6 = /* @__PURE__ */ new WeakMap(), k2 = /* @__PURE__ */ new WeakMap(), tc = /* @__PURE__ */ new WeakMap(), Zg = /* @__PURE__ */ new WeakMap(), sp = /* @__PURE__ */ new WeakMap(), L6 = /* @__PURE__ */ new WeakMap(), h8 = /* @__PURE__ */ new WeakMap(), M8 = /* @__PURE__ */ new WeakMap(), $p = /* @__PURE__ */ new WeakMap(), He = /* @__PURE__ */ new WeakMap(), I2 = /* @__PURE__ */ new WeakMap(), A1 = /* @__PURE__ */ new WeakSet(), aY = async function() {
100962
+ jp = /* @__PURE__ */ new WeakMap(), ep = /* @__PURE__ */ new WeakMap(), np = /* @__PURE__ */ new WeakMap(), aa = /* @__PURE__ */ new WeakMap(), rp = /* @__PURE__ */ new WeakMap(), ip = /* @__PURE__ */ new WeakMap(), Ug = /* @__PURE__ */ new WeakMap(), u8 = /* @__PURE__ */ new WeakMap(), z7 = /* @__PURE__ */ new WeakMap(), Jl = /* @__PURE__ */ new WeakMap(), Gg = /* @__PURE__ */ new WeakMap(), op = /* @__PURE__ */ new WeakMap(), $g = /* @__PURE__ */ new WeakMap(), u5 = /* @__PURE__ */ new WeakMap(), V3 = /* @__PURE__ */ new WeakMap(), Ur = /* @__PURE__ */ new WeakMap(), Wg = /* @__PURE__ */ new WeakMap(), xs = /* @__PURE__ */ new WeakMap(), zp = /* @__PURE__ */ new WeakMap(), Up = /* @__PURE__ */ new WeakMap(), Gp = /* @__PURE__ */ new WeakMap(), Q6 = /* @__PURE__ */ new WeakMap(), k2 = /* @__PURE__ */ new WeakMap(), tc = /* @__PURE__ */ new WeakMap(), Zg = /* @__PURE__ */ new WeakMap(), sp = /* @__PURE__ */ new WeakMap(), L6 = /* @__PURE__ */ new WeakMap(), h8 = /* @__PURE__ */ new WeakMap(), M8 = /* @__PURE__ */ new WeakMap(), $p = /* @__PURE__ */ new WeakMap(), Ae = /* @__PURE__ */ new WeakMap(), I2 = /* @__PURE__ */ new WeakMap(), A1 = /* @__PURE__ */ new WeakSet(), aY = async function() {
100950
100963
  await Pt(this, A1, tE).call(this, A(this, h8));
100951
100964
  for (const t of this.taxonIdentifiers)
100952
100965
  await Pt(this, A1, tE).call(this, t);
@@ -100954,7 +100967,7 @@ jp = /* @__PURE__ */ new WeakMap(), ep = /* @__PURE__ */ new WeakMap(), np = /*
100954
100967
  await Pt(this, A1, Pj).call(this, t.id, t.url, "", t.options);
100955
100968
  await $ht(A(this, Ur));
100956
100969
  const e = await A(this, xs).mapTermGraph(A(this, I2));
100957
- A(this, Up).load(e), gt(this, He, new RNt(this)), gt(this, L6, 1);
100970
+ A(this, Up).load(e), gt(this, Ae, new RNt(this)), gt(this, L6, 1);
100958
100971
  }, Cj = async function(e) {
100959
100972
  return (await A(this, Ur).loadImage(e)).data;
100960
100973
  }, Oj = function(e) {
@@ -100998,7 +101011,7 @@ jp = /* @__PURE__ */ new WeakMap(), ep = /* @__PURE__ */ new WeakMap(), np = /*
100998
101011
  return A(this, M8).set(e, t[0].label);
100999
101012
  }
101000
101013
  };
101001
- const GNt = "4.1.6", $Nt = 1.4;
101014
+ const GNt = "4.2.0", $Nt = 1.4;
101002
101015
  var yA, qg, d8, K1, Xg, Lv, sc, vA, eE, cY;
101003
101016
  class VO {
101004
101017
  // also have a callback for viewer events...
@@ -103019,7 +103032,8 @@ const wA = new iDt(), oDt = "cannot be found on the map.", sDt = (e) => {
103019
103032
  resource: [o.models],
103020
103033
  feature: o,
103021
103034
  label: o.label,
103022
- provenanceTaxonomy: o.taxons
103035
+ provenanceTaxonomy: o.taxons,
103036
+ alert: o.alert
103023
103037
  };
103024
103038
  this.viewingMode === "Exploration" || this.viewingMode === "Annotation" ? this.checkAndCreatePopups([a]) : this.viewingMode === "Neuron Connection" && this.retrieveConnectedPaths(a.resource).then((s) => {
103025
103039
  this.zoomToFeatures(s);
@@ -104188,7 +104202,7 @@ function vDt(e, t, n, r, i, o) {
104188
104202
  [ht, e.loading]
104189
104203
  ]);
104190
104204
  }
104191
- const pY = /* @__PURE__ */ Uv(aDt, [["render", vDt], ["__scopeId", "data-v-a6d39c47"]]), Rj = {
104205
+ const pY = /* @__PURE__ */ Uv(aDt, [["render", vDt], ["__scopeId", "data-v-776501fd"]]), Rj = {
104192
104206
  "NCBITaxon:10114": "01fedbf9-d783-509c-a10c-827941ab13da",
104193
104207
  "NCBITaxon:9823": "a336ac04-24db-561f-a25f-1c994fe17410",
104194
104208
  "NCBITaxon:9606": "42ed6323-f645-5fbe-bada-9581819cf689",