@opengis/gis 0.1.33 → 0.1.34

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.
@@ -1,7 +1,7 @@
1
1
  var Tv = Object.defineProperty;
2
2
  var Cv = (p, d, y) => d in p ? Tv(p, d, { enumerable: !0, configurable: !0, writable: !0, value: y }) : p[d] = y;
3
3
  var xr = (p, d, y) => Cv(p, typeof d != "symbol" ? d + "" : d, y);
4
- import { computed as ar, createElementBlock as Be, openBlock as Te, normalizeStyle as Ko, createCommentVNode as Ct, createElementVNode as re, toDisplayString as pt, Fragment as Bt, renderList as _r, normalizeClass as Ji, ref as Br, onMounted as el, resolveComponent as Kt, createBlock as Zr, withCtx as ir, createTextVNode as Ur, watch as Yn, withDirectives as Ys, vModelText as hd, vModelCheckbox as Sd, createVNode as nr, nextTick as vc, createStaticVNode as $s, withModifiers as Pv, resolveDynamicComponent as wc, withKeys as Iv, vShow as Og, Teleport as Ad, onUnmounted as Ev, mergeProps as Mv, renderSlot as Lv } from "vue";
4
+ import { computed as lr, createElementBlock as Be, openBlock as Te, normalizeStyle as Ko, createCommentVNode as Ct, createElementVNode as re, toDisplayString as pt, Fragment as Bt, renderList as _r, normalizeClass as Ji, ref as Br, onMounted as el, resolveComponent as Kt, createBlock as Zr, withCtx as ir, createTextVNode as Ur, watch as Yn, withDirectives as Ys, vModelText as hd, vModelCheckbox as Sd, createVNode as nr, nextTick as vc, createStaticVNode as $s, withModifiers as Pv, resolveDynamicComponent as wc, withKeys as Iv, vShow as Og, Teleport as Ad, onUnmounted as Ev, mergeProps as Mv, renderSlot as Lv } from "vue";
5
5
  function Fg(p, d) {
6
6
  return function() {
7
7
  return p.apply(d, arguments);
@@ -1720,7 +1720,7 @@ function cy(p) {
1720
1720
  Xo = p;
1721
1721
  }
1722
1722
  var xc = { exec: () => null };
1723
- function cr(p, d = "") {
1723
+ function ur(p, d = "") {
1724
1724
  let y = typeof p == "string" ? p : p.source;
1725
1725
  const b = {
1726
1726
  replace: (k, P) => {
@@ -1788,10 +1788,10 @@ var Xi = {
1788
1788
  fencesBeginRegex: (p) => new RegExp(`^ {0,${Math.min(3, p - 1)}}(?:\`\`\`|~~~)`),
1789
1789
  headingBeginRegex: (p) => new RegExp(`^ {0,${Math.min(3, p - 1)}}#`),
1790
1790
  htmlBeginRegex: (p) => new RegExp(`^ {0,${Math.min(3, p - 1)}}<(?:[a-z].*>|!--)`, "i")
1791
- }, cx = /^(?:[ \t]*(?:\n|$))+/, ux = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, hx = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Tc = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, px = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Id = /(?:[*+-]|\d{1,9}[.)])/, uy = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, hy = cr(uy).replace(/bull/g, Id).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), dx = cr(uy).replace(/bull/g, Id).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), Ed = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, fx = /^[^\n]+/, Md = /(?!\s*\])(?:\\.|[^\[\]\\])+/, mx = cr(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Md).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), gx = cr(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Id).getRegex(), Rh = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Ld = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, yx = cr(
1791
+ }, cx = /^(?:[ \t]*(?:\n|$))+/, ux = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, hx = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Tc = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, px = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Id = /(?:[*+-]|\d{1,9}[.)])/, uy = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, hy = ur(uy).replace(/bull/g, Id).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), dx = ur(uy).replace(/bull/g, Id).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), Ed = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, fx = /^[^\n]+/, Md = /(?!\s*\])(?:\\.|[^\[\]\\])+/, mx = ur(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Md).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), gx = ur(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Id).getRegex(), Rh = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Ld = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, yx = ur(
1792
1792
  "^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))",
1793
1793
  "i"
1794
- ).replace("comment", Ld).replace("tag", Rh).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), py = cr(Ed).replace("hr", Tc).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Rh).getRegex(), _x = cr(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", py).getRegex(), Rd = {
1794
+ ).replace("comment", Ld).replace("tag", Rh).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), py = ur(Ed).replace("hr", Tc).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Rh).getRegex(), _x = ur(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", py).getRegex(), Rd = {
1795
1795
  blockquote: _x,
1796
1796
  code: ux,
1797
1797
  def: mx,
@@ -1805,16 +1805,16 @@ var Xi = {
1805
1805
  paragraph: py,
1806
1806
  table: xc,
1807
1807
  text: fx
1808
- }, Vm = cr(
1808
+ }, Vm = ur(
1809
1809
  "^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"
1810
1810
  ).replace("hr", Tc).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Rh).getRegex(), vx = {
1811
1811
  ...Rd,
1812
1812
  lheading: dx,
1813
1813
  table: Vm,
1814
- paragraph: cr(Ed).replace("hr", Tc).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Vm).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Rh).getRegex()
1814
+ paragraph: ur(Ed).replace("hr", Tc).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Vm).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Rh).getRegex()
1815
1815
  }, xx = {
1816
1816
  ...Rd,
1817
- html: cr(
1817
+ html: ur(
1818
1818
  `^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`
1819
1819
  ).replace("comment", Ld).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
1820
1820
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
@@ -1822,14 +1822,14 @@ var Xi = {
1822
1822
  fences: xc,
1823
1823
  // fences not supported
1824
1824
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
1825
- paragraph: cr(Ed).replace("hr", Tc).replace("heading", ` *#{1,6} *[^
1825
+ paragraph: ur(Ed).replace("hr", Tc).replace("heading", ` *#{1,6} *[^
1826
1826
  ]`).replace("lheading", hy).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
1827
- }, bx = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, wx = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, dy = /^( {2,}|\\)\n(?!\s*$)/, Sx = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, zh = /[\p{P}\p{S}]/u, zd = /[\s\p{P}\p{S}]/u, fy = /[^\s\p{P}\p{S}]/u, Ax = cr(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, zd).getRegex(), my = /(?!~)[\p{P}\p{S}]/u, kx = /(?!~)[\s\p{P}\p{S}]/u, Tx = /(?:[^\s\p{P}\p{S}]|~)/u, Cx = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, gy = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Px = cr(gy, "u").replace(/punct/g, zh).getRegex(), Ix = cr(gy, "u").replace(/punct/g, my).getRegex(), yy = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Ex = cr(yy, "gu").replace(/notPunctSpace/g, fy).replace(/punctSpace/g, zd).replace(/punct/g, zh).getRegex(), Mx = cr(yy, "gu").replace(/notPunctSpace/g, Tx).replace(/punctSpace/g, kx).replace(/punct/g, my).getRegex(), Lx = cr(
1827
+ }, bx = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, wx = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, dy = /^( {2,}|\\)\n(?!\s*$)/, Sx = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, zh = /[\p{P}\p{S}]/u, zd = /[\s\p{P}\p{S}]/u, fy = /[^\s\p{P}\p{S}]/u, Ax = ur(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, zd).getRegex(), my = /(?!~)[\p{P}\p{S}]/u, kx = /(?!~)[\s\p{P}\p{S}]/u, Tx = /(?:[^\s\p{P}\p{S}]|~)/u, Cx = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, gy = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Px = ur(gy, "u").replace(/punct/g, zh).getRegex(), Ix = ur(gy, "u").replace(/punct/g, my).getRegex(), yy = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Ex = ur(yy, "gu").replace(/notPunctSpace/g, fy).replace(/punctSpace/g, zd).replace(/punct/g, zh).getRegex(), Mx = ur(yy, "gu").replace(/notPunctSpace/g, Tx).replace(/punctSpace/g, kx).replace(/punct/g, my).getRegex(), Lx = ur(
1828
1828
  "^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)",
1829
1829
  "gu"
1830
- ).replace(/notPunctSpace/g, fy).replace(/punctSpace/g, zd).replace(/punct/g, zh).getRegex(), Rx = cr(/\\(punct)/, "gu").replace(/punct/g, zh).getRegex(), zx = cr(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Dx = cr(Ld).replace("(?:-->|$)", "-->").getRegex(), Bx = cr(
1830
+ ).replace(/notPunctSpace/g, fy).replace(/punctSpace/g, zd).replace(/punct/g, zh).getRegex(), Rx = ur(/\\(punct)/, "gu").replace(/punct/g, zh).getRegex(), zx = ur(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Dx = ur(Ld).replace("(?:-->|$)", "-->").getRegex(), Bx = ur(
1831
1831
  "^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>"
1832
- ).replace("comment", Dx).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), bh = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Ox = cr(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", bh).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), _y = cr(/^!?\[(label)\]\[(ref)\]/).replace("label", bh).replace("ref", Md).getRegex(), vy = cr(/^!?\[(ref)\](?:\[\])?/).replace("ref", Md).getRegex(), Fx = cr("reflink|nolink(?!\\()", "g").replace("reflink", _y).replace("nolink", vy).getRegex(), Dd = {
1832
+ ).replace("comment", Dx).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), bh = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Ox = ur(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", bh).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), _y = ur(/^!?\[(label)\]\[(ref)\]/).replace("label", bh).replace("ref", Md).getRegex(), vy = ur(/^!?\[(ref)\](?:\[\])?/).replace("ref", Md).getRegex(), Fx = ur("reflink|nolink(?!\\()", "g").replace("reflink", _y).replace("nolink", vy).getRegex(), Dd = {
1833
1833
  _backpedal: xc,
1834
1834
  // only used for GFM url
1835
1835
  anyPunctuation: Rx,
@@ -1852,20 +1852,20 @@ var Xi = {
1852
1852
  url: xc
1853
1853
  }, Vx = {
1854
1854
  ...Dd,
1855
- link: cr(/^!?\[(label)\]\((.*?)\)/).replace("label", bh).getRegex(),
1856
- reflink: cr(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", bh).getRegex()
1855
+ link: ur(/^!?\[(label)\]\((.*?)\)/).replace("label", bh).getRegex(),
1856
+ reflink: ur(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", bh).getRegex()
1857
1857
  }, _d = {
1858
1858
  ...Dd,
1859
1859
  emStrongRDelimAst: Mx,
1860
1860
  emStrongLDelim: Ix,
1861
- url: cr(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
1861
+ url: ur(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
1862
1862
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
1863
1863
  del: /^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,
1864
1864
  text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
1865
1865
  }, qx = {
1866
1866
  ..._d,
1867
- br: cr(dy).replace("{2,}", "*").getRegex(),
1868
- text: cr(_d.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
1867
+ br: ur(dy).replace("{2,}", "*").getRegex(),
1868
+ text: ur(_d.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
1869
1869
  }, Vu = {
1870
1870
  normal: Rd,
1871
1871
  gfm: vx,
@@ -3230,35 +3230,35 @@ Please report this to https://github.com/markedjs/marked.`, p) {
3230
3230
  };
3231
3231
  }
3232
3232
  }, Jo = new Wx();
3233
- function pr(p, d) {
3233
+ function dr(p, d) {
3234
3234
  return Jo.parse(p, d);
3235
3235
  }
3236
- pr.options = pr.setOptions = function(p) {
3237
- return Jo.setOptions(p), pr.defaults = Jo.defaults, cy(pr.defaults), pr;
3236
+ dr.options = dr.setOptions = function(p) {
3237
+ return Jo.setOptions(p), dr.defaults = Jo.defaults, cy(dr.defaults), dr;
3238
3238
  };
3239
- pr.getDefaults = Pd;
3240
- pr.defaults = Xo;
3241
- pr.use = function(...p) {
3242
- return Jo.use(...p), pr.defaults = Jo.defaults, cy(pr.defaults), pr;
3239
+ dr.getDefaults = Pd;
3240
+ dr.defaults = Xo;
3241
+ dr.use = function(...p) {
3242
+ return Jo.use(...p), dr.defaults = Jo.defaults, cy(dr.defaults), dr;
3243
3243
  };
3244
- pr.walkTokens = function(p, d) {
3244
+ dr.walkTokens = function(p, d) {
3245
3245
  return Jo.walkTokens(p, d);
3246
3246
  };
3247
- pr.parseInline = Jo.parseInline;
3248
- pr.Parser = bs;
3249
- pr.parser = bs.parse;
3250
- pr.Renderer = Sh;
3251
- pr.TextRenderer = Bd;
3252
- pr.Lexer = xs;
3253
- pr.lexer = xs.lex;
3254
- pr.Tokenizer = wh;
3255
- pr.Hooks = yh;
3256
- pr.parse = pr;
3257
- pr.options;
3258
- pr.setOptions;
3259
- pr.use;
3260
- pr.walkTokens;
3261
- pr.parseInline;
3247
+ dr.parseInline = Jo.parseInline;
3248
+ dr.Parser = bs;
3249
+ dr.parser = bs.parse;
3250
+ dr.Renderer = Sh;
3251
+ dr.TextRenderer = Bd;
3252
+ dr.Lexer = xs;
3253
+ dr.lexer = xs.lex;
3254
+ dr.Tokenizer = wh;
3255
+ dr.Hooks = yh;
3256
+ dr.parse = dr;
3257
+ dr.options;
3258
+ dr.setOptions;
3259
+ dr.use;
3260
+ dr.walkTokens;
3261
+ dr.parseInline;
3262
3262
  bs.parse;
3263
3263
  xs.lex;
3264
3264
  function xy(p) {
@@ -3503,11 +3503,11 @@ function Zx() {
3503
3503
  const c = new Z(n, t, i, o);
3504
3504
  return (f) => c.solve(f);
3505
3505
  }
3506
- const tt = $n(0.25, 0.1, 0.25, 1);
3506
+ const $e = $n(0.25, 0.1, 0.25, 1);
3507
3507
  function rt(n, t, i) {
3508
3508
  return Math.min(i, Math.max(t, n));
3509
3509
  }
3510
- function lt(n, t, i) {
3510
+ function ht(n, t, i) {
3511
3511
  const o = i - t, c = ((n - t) % o + o) % o + t;
3512
3512
  return c === t ? i : c;
3513
3513
  }
@@ -3515,7 +3515,7 @@ function Zx() {
3515
3515
  for (const i of t) for (const o in i) n[o] = i[o];
3516
3516
  return n;
3517
3517
  }
3518
- let ct = 1;
3518
+ let lt = 1;
3519
3519
  function St(n, t, i) {
3520
3520
  const o = {};
3521
3521
  for (const c in n) o[c] = t.call(this, n[c], c, n);
@@ -3530,7 +3530,7 @@ function Zx() {
3530
3530
  return Array.isArray(n) ? n.map(Mt) : typeof n == "object" && n ? St(n, Mt) : n;
3531
3531
  }
3532
3532
  const Pt = {};
3533
- function dr(n) {
3533
+ function sr(n) {
3534
3534
  Pt[n] || (typeof console < "u" && console.warn(n), Pt[n] = !0);
3535
3535
  }
3536
3536
  function tr(n, t, i) {
@@ -3577,9 +3577,9 @@ function Zx() {
3577
3577
  function Er(n) {
3578
3578
  return n / Math.PI * 180;
3579
3579
  }
3580
- const wr = { touchstart: !0, touchmove: !0, touchmoveWindow: !0, touchend: !0, touchcancel: !0 }, Nr = { dblclick: !0, click: !0, mouseover: !0, mouseout: !0, mousedown: !0, mousemove: !0, mousemoveWindow: !0, mouseup: !0, mouseupWindow: !0, contextmenu: !0, wheel: !0 }, ur = "AbortError";
3580
+ const wr = { touchstart: !0, touchmove: !0, touchmoveWindow: !0, touchend: !0, touchcancel: !0 }, Nr = { dblclick: !0, click: !0, mouseover: !0, mouseout: !0, mousedown: !0, mousemove: !0, mousemoveWindow: !0, mouseup: !0, mouseupWindow: !0, contextmenu: !0, wheel: !0 }, hr = "AbortError";
3581
3581
  function di() {
3582
- return new Error(ur);
3582
+ return new Error(hr);
3583
3583
  }
3584
3584
  const fi = { MAX_PARALLEL_IMAGE_REQUESTS: 16, MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME: 8, MAX_TILE_CACHE_ZOOM_LEVELS: 5, REGISTERED_PROTOCOLS: {}, WORKER_URL: "" };
3585
3585
  function bi(n) {
@@ -3736,7 +3736,7 @@ function Zx() {
3736
3736
  function We(n, t, i) {
3737
3737
  Me(t, { command: "removeSource", args: [n] }), i[n] = !0;
3738
3738
  }
3739
- function et(n, t, i, o) {
3739
+ function tt(n, t, i, o) {
3740
3740
  We(n, i, o), Ae(n, t, i);
3741
3741
  }
3742
3742
  function it(n, t, i) {
@@ -4145,14 +4145,14 @@ function Zx() {
4145
4145
  function ao(n, t, i, o) {
4146
4146
  return typeof n == "number" && n >= 0 && n <= 255 && typeof t == "number" && t >= 0 && t <= 255 && typeof i == "number" && i >= 0 && i <= 255 ? o === void 0 || typeof o == "number" && o >= 0 && o <= 1 ? null : `Invalid rgba value [${[n, t, i, o].join(", ")}]: 'a' must be between 0 and 1.` : `Invalid rgba value [${(typeof o == "number" ? [n, t, i, o] : [n, t, i]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`;
4147
4147
  }
4148
- function or(n) {
4148
+ function ar(n) {
4149
4149
  if (n === null || typeof n == "string" || typeof n == "boolean" || typeof n == "number" || n instanceof Bi || n instanceof jt || n instanceof so || n instanceof Di || n instanceof mi || n instanceof Wr || n instanceof gi || n instanceof Ei || n instanceof ji) return !0;
4150
4150
  if (Array.isArray(n)) {
4151
- for (const t of n) if (!or(t)) return !1;
4151
+ for (const t of n) if (!ar(t)) return !1;
4152
4152
  return !0;
4153
4153
  }
4154
4154
  if (typeof n == "object") {
4155
- for (const t in n) if (!or(n[t])) return !1;
4155
+ for (const t in n) if (!ar(n[t])) return !1;
4156
4156
  return !0;
4157
4157
  }
4158
4158
  return !1;
@@ -4197,7 +4197,7 @@ function Zx() {
4197
4197
  }
4198
4198
  static parse(t, i) {
4199
4199
  if (t.length !== 2) return i.error(`'literal' expression requires exactly one argument, but found ${t.length - 1} instead.`);
4200
- if (!or(t[1])) return i.error("invalid value");
4200
+ if (!ar(t[1])) return i.error("invalid value");
4201
4201
  const o = t[1];
4202
4202
  let c = Rr(o);
4203
4203
  const f = i.expectedType;
@@ -5217,7 +5217,7 @@ function Zx() {
5217
5217
  }
5218
5218
  static parse(t, i) {
5219
5219
  if (t.length !== 2) return i.error(`'within' expression requires exactly one argument, but found ${t.length - 1} instead.`);
5220
- if (or(t[1])) {
5220
+ if (ar(t[1])) {
5221
5221
  const o = t[1];
5222
5222
  if (o.type === "FeatureCollection") {
5223
5223
  const c = [];
@@ -5557,7 +5557,7 @@ function Zx() {
5557
5557
  }
5558
5558
  static parse(t, i) {
5559
5559
  if (t.length !== 2) return i.error(`'distance' expression requires exactly one argument, but found ${t.length - 1} instead.`);
5560
- if (or(t[1])) {
5560
+ if (ar(t[1])) {
5561
5561
  const o = t[1];
5562
5562
  if (o.type === "FeatureCollection") return new ps(o, o.features.map((c) => wl(c.geometry)).flat());
5563
5563
  if (o.type === "Feature") return new ps(o, wl(o.geometry));
@@ -7752,13 +7752,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7752
7752
  ot("FeatureIndexArray", ze);
7753
7753
  class De extends Lo {
7754
7754
  }
7755
- class $e extends Lo {
7755
+ class et extends Lo {
7756
7756
  }
7757
7757
  class Ye extends Lo {
7758
7758
  }
7759
7759
  class Ke extends Wl {
7760
7760
  }
7761
- class ut extends Hl {
7761
+ class ct extends Hl {
7762
7762
  }
7763
7763
  class zt extends Zs {
7764
7764
  }
@@ -7766,13 +7766,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7766
7766
  }
7767
7767
  class Ar extends u {
7768
7768
  }
7769
- class lr extends e {
7769
+ class cr extends e {
7770
7770
  }
7771
7771
  class kr extends r {
7772
7772
  }
7773
7773
  class Tr extends l {
7774
7774
  }
7775
- class hr extends g {
7775
+ class pr extends g {
7776
7776
  }
7777
7777
  class Yt extends x {
7778
7778
  }
@@ -7785,7 +7785,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7785
7785
  }
7786
7786
  prepareSegment(t, i, o, c) {
7787
7787
  const f = this.segments[this.segments.length - 1];
7788
- return t > $t.MAX_VERTEX_ARRAY_LENGTH && dr(`Max vertices per segment is ${$t.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${t}. Consider using the \`fillLargeMeshArrays\` function if you require meshes with more than ${$t.MAX_VERTEX_ARRAY_LENGTH} vertices.`), this._forceNewSegmentOnNextPrepare || !f || f.vertexLength + t > $t.MAX_VERTEX_ARRAY_LENGTH || f.sortKey !== c ? this.createNewSegment(i, o, c) : f;
7788
+ return t > $t.MAX_VERTEX_ARRAY_LENGTH && sr(`Max vertices per segment is ${$t.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${t}. Consider using the \`fillLargeMeshArrays\` function if you require meshes with more than ${$t.MAX_VERTEX_ARRAY_LENGTH} vertices.`), this._forceNewSegmentOnNextPrepare || !f || f.vertexLength + t > $t.MAX_VERTEX_ARRAY_LENGTH || f.sortKey !== c ? this.createNewSegment(i, o, c) : f;
7789
7789
  }
7790
7790
  createNewSegment(t, i, o) {
7791
7791
  const c = { vertexOffset: t.length, primitiveOffset: i.length, vertexLength: 0, primitiveLength: 0, vaos: {} };
@@ -8204,7 +8204,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8204
8204
  const c = i[o];
8205
8205
  for (let f = 0; f < c.length; f++) {
8206
8206
  const m = c[f], _ = Math.round(m.x * t), w = Math.round(m.y * t);
8207
- m.x = rt(_, qd, cp), m.y = rt(w, qd, cp), (_ < m.x || _ > m.x + 1 || w < m.y || w > m.y + 1) && dr("Geometry exceeds allowed extent, reduce your vector tile buffer size");
8207
+ m.x = rt(_, qd, cp), m.y = rt(w, qd, cp), (_ < m.x || _ > m.x + 1 || w < m.y || w > m.y + 1) && sr("Geometry exceeds allowed extent, reduce your vector tile buffer size");
8208
8208
  }
8209
8209
  }
8210
8210
  return i;
@@ -8218,7 +8218,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8218
8218
  }
8219
8219
  class up {
8220
8220
  constructor(t) {
8221
- this.zoom = t.zoom, this.overscaling = t.overscaling, this.layers = t.layers, this.layerIds = this.layers.map((i) => i.id), this.index = t.index, this.hasPattern = !1, this.layoutVertexArray = new $e(), this.indexArray = new Yt(), this.segments = new $t(), this.programConfigurations = new Kn(t.layers, t.zoom), this.stateDependentLayerIds = this.layers.filter((i) => i.isStateDependent()).map((i) => i.id);
8221
+ this.zoom = t.zoom, this.overscaling = t.overscaling, this.layers = t.layers, this.layerIds = this.layers.map((i) => i.id), this.index = t.index, this.hasPattern = !1, this.layoutVertexArray = new et(), this.indexArray = new Yt(), this.segments = new $t(), this.programConfigurations = new Kn(t.layers, t.zoom), this.stateDependentLayerIds = this.layers.filter((i) => i.isStateDependent()).map((i) => i.id);
8222
8222
  }
8223
8223
  populate(t, i, o) {
8224
8224
  const c = this.layers[0], f = [];
@@ -8976,12 +8976,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8976
8976
  if ((Ue <= Ze || !ae) && (at <= Xe || !_e)) break;
8977
8977
  if (yt < ft && ae || !_e) {
8978
8978
  Pe = Fe, He += U * yt;
8979
- const ht = new T(Pe, Math.round(He));
8980
- _[_.length - 1].x === ht.x && _[_.length - 1].y === ht.y || _.push(ht);
8979
+ const ut = new T(Pe, Math.round(He));
8980
+ _[_.length - 1].x === ut.x && _[_.length - 1].y === ut.y || _.push(ut);
8981
8981
  } else {
8982
8982
  Pe += ue * ft, He = Je;
8983
- const ht = new T(Math.round(Pe), He);
8984
- _[_.length - 1].x === ht.x && _[_.length - 1].y === ht.y || _.push(ht);
8983
+ const ut = new T(Math.round(Pe), He);
8984
+ _[_.length - 1].x === ut.x && _[_.length - 1].y === ut.y || _.push(ut);
8985
8985
  }
8986
8986
  }
8987
8987
  const Le = new T(J, Y);
@@ -9385,7 +9385,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9385
9385
  for (const Je of N) {
9386
9386
  const Ze = [], Xe = [];
9387
9387
  for (const Ue of Je) {
9388
- const at = Ue.x, yt = Ue.y, ft = Y[0] * at + Y[4] * yt + Y[12], ht = Y[1] * at + Y[5] * yt + Y[13], Ut = Y[2] * at + Y[6] * yt + Y[14], Dr = Y[3] * at + Y[7] * yt + Y[15], ri = Ut + Q, Ci = Dr + pe, hn = ft + Pe, Ki = ht + He, _i = Ut + Le, Cr = Dr + Fe, li = new T((ft + ue) / Ci, (ht + U) / Ci);
9388
+ const at = Ue.x, yt = Ue.y, ft = Y[0] * at + Y[4] * yt + Y[12], ut = Y[1] * at + Y[5] * yt + Y[13], Ut = Y[2] * at + Y[6] * yt + Y[14], Dr = Y[3] * at + Y[7] * yt + Y[15], ri = Ut + Q, Ci = Dr + pe, hn = ft + Pe, Ki = ut + He, _i = Ut + Le, Cr = Dr + Fe, li = new T((ft + ue) / Ci, (ut + U) / Ci);
9389
9389
  li.z = ri / Ci, Ze.push(li);
9390
9390
  const vi = new T(hn / Cr, Ki / Cr);
9391
9391
  vi.z = _i / Cr, Xe.push(vi);
@@ -9434,7 +9434,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9434
9434
  constructor(t) {
9435
9435
  this.zoom = t.zoom, this.overscaling = t.overscaling, this.layers = t.layers, this.layerIds = this.layers.map((i) => i.id), this.index = t.index, this.hasPattern = !1, this.patternFeatures = [], this.lineClipsArray = [], this.gradients = {}, this.layers.forEach((i) => {
9436
9436
  this.gradients[i.id] = {};
9437
- }), this.layoutVertexArray = new ut(), this.layoutVertexArray2 = new zt(), this.indexArray = new Yt(), this.programConfigurations = new Kn(t.layers, t.zoom), this.segments = new $t(), this.maxLineLength = 0, this.stateDependentLayerIds = this.layers.filter((i) => i.isStateDependent()).map((i) => i.id);
9437
+ }), this.layoutVertexArray = new ct(), this.layoutVertexArray2 = new zt(), this.indexArray = new Yt(), this.programConfigurations = new Kn(t.layers, t.zoom), this.segments = new $t(), this.maxLineLength = 0, this.stateDependentLayerIds = this.layers.filter((i) => i.isStateDependent()).map((i) => i.id);
9438
9438
  }
9439
9439
  populate(t, i, o) {
9440
9440
  this.hasPattern = gp("line", this.layers, i);
@@ -9526,12 +9526,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9526
9526
  if (J && this.addCurrentVertex(W, ae, Ue, at, N), Ze === "fakeround") {
9527
9527
  const yt = Math.round(180 * He / Math.PI / 20);
9528
9528
  for (let ft = 1; ft < yt; ft++) {
9529
- let ht = ft / yt;
9530
- if (ht !== 0.5) {
9531
- const Dr = ht - 0.5;
9532
- ht += ht * Dr * (ht - 1) * ((1.0904 + Q * (Q * (3.55645 - 1.43519 * Q) - 3.2452)) * Dr * Dr + (0.848013 + Q * (0.215638 * Q - 1.06021)));
9529
+ let ut = ft / yt;
9530
+ if (ut !== 0.5) {
9531
+ const Dr = ut - 0.5;
9532
+ ut += ut * Dr * (ut - 1) * ((1.0904 + Q * (Q * (3.55645 - 1.43519 * Q) - 3.2452)) * Dr * Dr + (0.848013 + Q * (0.215638 * Q - 1.06021)));
9533
9533
  }
9534
- const Ut = _e.sub(ae)._mult(ht)._add(ae)._unit()._mult(Fe ? -1 : 1);
9534
+ const Ut = _e.sub(ae)._mult(ut)._add(ae)._unit()._mult(Fe ? -1 : 1);
9535
9535
  this.addHalfVertex(W, Ut.x, Ut.y, !1, Fe, 0, N);
9536
9536
  }
9537
9537
  }
@@ -10125,9 +10125,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
10125
10125
  }
10126
10126
  addImageSection(t) {
10127
10127
  const i = t.image ? t.image.name : "";
10128
- if (i.length === 0) return void dr("Can't add FormattedSection with an empty image.");
10128
+ if (i.length === 0) return void sr("Can't add FormattedSection with an empty image.");
10129
10129
  const o = this.getNextImageSectionCharCode();
10130
- o ? (this.text += String.fromCharCode(o), this.sections.push(ac.forImage(i, t.verticalAlign)), this.sectionIndex.push(this.sections.length - 1)) : dr("Reached maximum number of images 6401");
10130
+ o ? (this.text += String.fromCharCode(o), this.sections.push(ac.forImage(i, t.verticalAlign)), this.sectionIndex.push(this.sections.length - 1)) : sr("Reached maximum number of images 6401");
10131
10131
  }
10132
10132
  getNextImageSectionCharCode() {
10133
10133
  return this.imageSectionID ? this.imageSectionID >= 63743 ? null : ++this.imageSectionID : (this.imageSectionID = 57344, this.imageSectionID);
@@ -10162,7 +10162,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
10162
10162
  }(J, Lp(J, C, f, t, o, N));
10163
10163
  const ue = [], U = { positionedLines: ue, text: J.toString(), top: L[1], bottom: L[1], left: L[0], right: L[0], writingMode: B, iconsInText: !1, verticalizable: !1 };
10164
10164
  return function(Q, pe, Pe, He, Le, Fe, Je, Ze, Xe, Ue, at, yt) {
10165
- let ft = 0, ht = 0, Ut = 0, Dr = 0;
10165
+ let ft = 0, ut = 0, Ut = 0, Dr = 0;
10166
10166
  const ri = Ze === "right" ? 1 : Ze === "left" ? 0 : 0.5, Ci = ti / yt;
10167
10167
  let hn = 0;
10168
10168
  for (const Cr of Le) {
@@ -10172,7 +10172,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
10172
10172
  const xi = vi.positionedGlyphs;
10173
10173
  let Oi = 0;
10174
10174
  if (!Cr.length()) {
10175
- ht += Fe, ++hn;
10175
+ ut += Fe, ++hn;
10176
10176
  continue;
10177
10177
  }
10178
10178
  const pn = j_(He, Cr, Ci);
@@ -10184,11 +10184,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
10184
10184
  Oi = Math.max(Oi, yr.imageOffset);
10185
10185
  } else if (yr = H_(ii, hi, Qr, pn, pe, Pe), !yr) continue;
10186
10186
  const { rect: In, metrics: Wa, baselineOffset: En } = yr;
10187
- xi.push({ glyph: hi, imageName: ii.imageName, x: ft, y: ht + En + Pu, vertical: Qr, scale: ii.scale, fontStack: ii.fontStack, sectionIndex: ui, metrics: Wa, rect: In }), Qr ? (Q.verticalizable = !0, ft += (ii.imageName ? Wa.advance : ti) * ii.scale + Ue) : ft += Wa.advance * ii.scale + Ue;
10187
+ xi.push({ glyph: hi, imageName: ii.imageName, x: ft, y: ut + En + Pu, vertical: Qr, scale: ii.scale, fontStack: ii.fontStack, sectionIndex: ui, metrics: Wa, rect: In }), Qr ? (Q.verticalizable = !0, ft += (ii.imageName ? Wa.advance : ti) * ii.scale + Ue) : ft += Wa.advance * ii.scale + Ue;
10188
10188
  }
10189
10189
  xi.length !== 0 && (Ut = Math.max(ft - Ue, Ut), K_(xi, 0, xi.length - 1, ri)), ft = 0, vi.lineOffset = Math.max(Oi, (li - 1) * ti);
10190
10190
  const ci = Fe * li + Oi;
10191
- ht += ci, Dr = Math.max(ci, Dr), ++hn;
10191
+ ut += ci, Dr = Math.max(ci, Dr), ++hn;
10192
10192
  }
10193
10193
  const { horizontalAlign: Ki, verticalAlign: _i } = Rp(Je);
10194
10194
  (function(Cr, li, vi, xi, Oi, pn, ci, Gi, ii) {
@@ -10196,7 +10196,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
10196
10196
  let hi = 0;
10197
10197
  hi = pn !== ci ? -Gi * xi - Pu : -xi * ii * ci + 0.5 * ci;
10198
10198
  for (const Qr of Cr) for (const yr of Qr.positionedGlyphs) yr.x += ui, yr.y += hi;
10199
- })(Q.positionedLines, ri, Ki, _i, Ut, Dr, Fe, ht, Le.length), Q.top += -_i * ht, Q.bottom = Q.top + ht, Q.left += -Ki * Ut, Q.right = Q.left + Ut;
10199
+ })(Q.positionedLines, ri, Ki, _i, Ut, Dr, Fe, ut, Le.length), Q.top += -_i * ut, Q.bottom = Q.top + ut, Q.left += -Ki * Ut, Q.right = Q.left + Ut;
10200
10200
  }(U, t, i, o, Y, m, _, w, B, C, q, W), !function(Q) {
10201
10201
  for (const pe of Q) if (pe.positionedGlyphs.length !== 0) return !1;
10202
10202
  return !0;
@@ -10397,7 +10397,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
10397
10397
  }
10398
10398
  class Bp {
10399
10399
  constructor(t) {
10400
- this.layoutVertexArray = new Ar(), this.indexArray = new Yt(), this.programConfigurations = t, this.segments = new $t(), this.dynamicLayoutVertexArray = new lr(), this.opacityVertexArray = new kr(), this.hasVisibleVertices = !1, this.placedSymbolArray = new me();
10400
+ this.layoutVertexArray = new Ar(), this.indexArray = new Yt(), this.programConfigurations = t, this.segments = new $t(), this.dynamicLayoutVertexArray = new cr(), this.opacityVertexArray = new kr(), this.hasVisibleVertices = !1, this.placedSymbolArray = new me();
10401
10401
  }
10402
10402
  isEmpty() {
10403
10403
  return this.layoutVertexArray.length === 0 && this.indexArray.length === 0 && this.dynamicLayoutVertexArray.length === 0 && this.opacityVertexArray.length === 0;
@@ -10412,7 +10412,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
10412
10412
  ot("SymbolBuffers", Bp);
10413
10413
  class Op {
10414
10414
  constructor(t, i, o) {
10415
- this.layoutVertexArray = new t(), this.layoutAttributes = i, this.indexArray = new o(), this.segments = new $t(), this.collisionVertexArray = new hr();
10415
+ this.layoutVertexArray = new t(), this.layoutAttributes = i, this.indexArray = new o(), this.segments = new $t(), this.collisionVertexArray = new pr();
10416
10416
  }
10417
10417
  upload(t) {
10418
10418
  this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, this.layoutAttributes), this.indexBuffer = t.createIndexBuffer(this.indexArray), this.collisionVertexBuffer = t.createVertexBuffer(this.collisionVertexArray, L_.members, !0);
@@ -10535,8 +10535,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
10535
10535
  addSymbols(t, i, o, c, f, m, _, w, C, L, B, q) {
10536
10536
  const N = t.indexArray, W = t.layoutVertexArray, J = t.segments.prepareSegment(4 * i.length, W, N, this.canOverlap ? m.sortKey : void 0), Y = this.glyphOffsetArray.length, ae = J.vertexLength, _e = this.allowVerticalPlacement && _ === v.al.vertical ? Math.PI / 2 : 0, ue = m.text && m.text.sections;
10537
10537
  for (let U = 0; U < i.length; U++) {
10538
- const { tl: Q, tr: pe, bl: Pe, br: He, tex: Le, pixelOffsetTL: Fe, pixelOffsetBR: Je, minFontScaleX: Ze, minFontScaleY: Xe, glyphOffset: Ue, isSDF: at, sectionIndex: yt } = i[U], ft = J.vertexLength, ht = Ue[1];
10539
- Mu(W, w.x, w.y, Q.x, ht + Q.y, Le.x, Le.y, o, at, Fe.x, Fe.y, Ze, Xe), Mu(W, w.x, w.y, pe.x, ht + pe.y, Le.x + Le.w, Le.y, o, at, Je.x, Fe.y, Ze, Xe), Mu(W, w.x, w.y, Pe.x, ht + Pe.y, Le.x, Le.y + Le.h, o, at, Fe.x, Je.y, Ze, Xe), Mu(W, w.x, w.y, He.x, ht + He.y, Le.x + Le.w, Le.y + Le.h, o, at, Je.x, Je.y, Ze, Xe), Dp(t.dynamicLayoutVertexArray, w, _e), N.emplaceBack(ft, ft + 2, ft + 1), N.emplaceBack(ft + 1, ft + 2, ft + 3), J.vertexLength += 4, J.primitiveLength += 2, this.glyphOffsetArray.emplaceBack(Ue[0]), U !== i.length - 1 && yt === i[U + 1].sectionIndex || t.programConfigurations.populatePaintArrays(W.length, m, m.index, {}, q, ue && ue[yt]);
10538
+ const { tl: Q, tr: pe, bl: Pe, br: He, tex: Le, pixelOffsetTL: Fe, pixelOffsetBR: Je, minFontScaleX: Ze, minFontScaleY: Xe, glyphOffset: Ue, isSDF: at, sectionIndex: yt } = i[U], ft = J.vertexLength, ut = Ue[1];
10539
+ Mu(W, w.x, w.y, Q.x, ut + Q.y, Le.x, Le.y, o, at, Fe.x, Fe.y, Ze, Xe), Mu(W, w.x, w.y, pe.x, ut + pe.y, Le.x + Le.w, Le.y, o, at, Je.x, Fe.y, Ze, Xe), Mu(W, w.x, w.y, Pe.x, ut + Pe.y, Le.x, Le.y + Le.h, o, at, Fe.x, Je.y, Ze, Xe), Mu(W, w.x, w.y, He.x, ut + He.y, Le.x + Le.w, Le.y + Le.h, o, at, Je.x, Je.y, Ze, Xe), Dp(t.dynamicLayoutVertexArray, w, _e), N.emplaceBack(ft, ft + 2, ft + 1), N.emplaceBack(ft + 1, ft + 2, ft + 3), J.vertexLength += 4, J.primitiveLength += 2, this.glyphOffsetArray.emplaceBack(Ue[0]), U !== i.length - 1 && yt === i[U + 1].sectionIndex || t.programConfigurations.populatePaintArrays(W.length, m, m.index, {}, q, ue && ue[yt]);
10540
10540
  }
10541
10541
  t.placedSymbolArray.emplaceBack(w.x, w.y, Y, this.glyphOffsetArray.length - Y, ae, C, L, w.segment, o ? o[0] : 0, o ? o[1] : 0, c[0], c[1], _, 0, !1, 0, B);
10542
10542
  }
@@ -10792,7 +10792,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
10792
10792
  if (this.lng = +t, this.lat = +i, this.lat > 90 || this.lat < -90) throw new Error("Invalid LngLat latitude value: must be between -90 and 90");
10793
10793
  }
10794
10794
  wrap() {
10795
- return new Js(lt(this.lng, -180, 180), this.lat);
10795
+ return new Js(ht(this.lng, -180, 180), this.lat);
10796
10796
  }
10797
10797
  toArray() {
10798
10798
  return [this.lng, this.lat];
@@ -10952,7 +10952,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
10952
10952
  class Yf {
10953
10953
  constructor(t, i, o, c = 1, f = 1, m = 1, _ = 0) {
10954
10954
  if (this.uid = t, i.height !== i.width) throw new RangeError("DEM tiles must be square");
10955
- if (o && !["mapbox", "terrarium", "custom"].includes(o)) return void dr(`"${o}" is not a valid encoding type. Valid types include "mapbox", "terrarium" and "custom".`);
10955
+ if (o && !["mapbox", "terrarium", "custom"].includes(o)) return void sr(`"${o}" is not a valid encoding type. Valid types include "mapbox", "terrarium" and "custom".`);
10956
10956
  this.stride = i.height;
10957
10957
  const w = this.dim = i.height - 2;
10958
10958
  switch (this.data = new Uint32Array(i.data.buffer), o) {
@@ -11243,7 +11243,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11243
11243
  (f.textFitWidth || f.textFitHeight) && (C = Bf(n)), ae = Ru(L, 0, Ue[0]), ue = Ru(B, 0, Ue[1]), _e = Ru(L, Ue[0], Ue[2]), U = Ru(B, Ue[1], Ue[3]), Q = Ue[0] - ae, Pe = Ue[1] - ue, pe = at - _e, He = yt - U;
11244
11244
  }
11245
11245
  const Le = C.x1, Fe = C.y1, Je = C.x2 - Le, Ze = C.y2 - Fe, Xe = (Ue, at, yt, ft) => {
11246
- const ht = zu(Ue.stretch - ae, _e, Je, Le), Ut = Du(Ue.fixed - Q, pe, Ue.stretch, N), Dr = zu(at.stretch - ue, U, Ze, Fe), ri = Du(at.fixed - Pe, He, at.stretch, W), Ci = zu(yt.stretch - ae, _e, Je, Le), hn = Du(yt.fixed - Q, pe, yt.stretch, N), Ki = zu(ft.stretch - ue, U, Ze, Fe), _i = Du(ft.fixed - Pe, He, ft.stretch, W), Cr = new T(ht, Dr), li = new T(Ci, Dr), vi = new T(Ci, Ki), xi = new T(ht, Ki), Oi = new T(Ut / m, ri / m), pn = new T(hn / m, _i / m), ci = t * Math.PI / 180;
11246
+ const ut = zu(Ue.stretch - ae, _e, Je, Le), Ut = Du(Ue.fixed - Q, pe, Ue.stretch, N), Dr = zu(at.stretch - ue, U, Ze, Fe), ri = Du(at.fixed - Pe, He, at.stretch, W), Ci = zu(yt.stretch - ae, _e, Je, Le), hn = Du(yt.fixed - Q, pe, yt.stretch, N), Ki = zu(ft.stretch - ue, U, Ze, Fe), _i = Du(ft.fixed - Pe, He, ft.stretch, W), Cr = new T(ut, Dr), li = new T(Ci, Dr), vi = new T(Ci, Ki), xi = new T(ut, Ki), Oi = new T(Ut / m, ri / m), pn = new T(hn / m, _i / m), ci = t * Math.PI / 180;
11247
11247
  if (ci) {
11248
11248
  const ui = Math.sin(ci), hi = Math.cos(ci), Qr = [hi, -ui, ui, hi];
11249
11249
  Cr._matMult(Qr), li._matMult(Qr), xi._matMult(Qr), vi._matMult(Qr);
@@ -11254,8 +11254,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11254
11254
  if (o && (f.stretchX || f.stretchY)) {
11255
11255
  const Ue = hm(L, J, N), at = hm(B, Y, W);
11256
11256
  for (let yt = 0; yt < Ue.length - 1; yt++) {
11257
- const ft = Ue[yt], ht = Ue[yt + 1];
11258
- for (let Ut = 0; Ut < at.length - 1; Ut++) c.push(Xe(ft, at[Ut], ht, at[Ut + 1]));
11257
+ const ft = Ue[yt], ut = Ue[yt + 1];
11258
+ for (let Ut = 0; Ut < at.length - 1; Ut++) c.push(Xe(ft, at[Ut], ut, at[Ut + 1]));
11259
11259
  }
11260
11260
  } else c.push(Xe({ fixed: 0, stretch: -1 }, { fixed: 0, stretch: -1 }, { fixed: 0, stretch: _ + 1 }, { fixed: 0, stretch: w + 1 }));
11261
11261
  return c;
@@ -11482,28 +11482,28 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11482
11482
  function hv(n, t, i, o, c, f, m, _, w, C, L, B) {
11483
11483
  let q = f.textMaxSize.evaluate(t, {});
11484
11484
  q === void 0 && (q = m);
11485
- const N = n.layers[0].layout, W = N.get("icon-offset").evaluate(t, {}, L), J = mm(i.horizontal), Y = m / 24, ae = n.tilePixelRatio * Y, _e = n.tilePixelRatio * q / 24, ue = n.tilePixelRatio * _, U = n.tilePixelRatio * N.get("symbol-spacing"), Q = N.get("text-padding") * n.tilePixelRatio, pe = function(yt, ft, ht, Ut = 1) {
11486
- const Dr = yt.get("icon-padding").evaluate(ft, {}, ht), ri = Dr && Dr.values;
11485
+ const N = n.layers[0].layout, W = N.get("icon-offset").evaluate(t, {}, L), J = mm(i.horizontal), Y = m / 24, ae = n.tilePixelRatio * Y, _e = n.tilePixelRatio * q / 24, ue = n.tilePixelRatio * _, U = n.tilePixelRatio * N.get("symbol-spacing"), Q = N.get("text-padding") * n.tilePixelRatio, pe = function(yt, ft, ut, Ut = 1) {
11486
+ const Dr = yt.get("icon-padding").evaluate(ft, {}, ut), ri = Dr && Dr.values;
11487
11487
  return [ri[0] * Ut, ri[1] * Ut, ri[2] * Ut, ri[3] * Ut];
11488
11488
  }(N, t, L, n.tilePixelRatio), Pe = N.get("text-max-angle") / 180 * Math.PI, He = N.get("text-rotation-alignment") !== "viewport" && N.get("symbol-placement") !== "point", Le = N.get("icon-rotation-alignment") === "map" && N.get("symbol-placement") !== "point", Fe = N.get("symbol-placement"), Je = U / 2, Ze = N.get("icon-text-fit");
11489
11489
  let Xe;
11490
11490
  o && Ze !== "none" && (n.allowVerticalPlacement && i.vertical && (Xe = Of(o, i.vertical, Ze, N.get("icon-text-fit-padding"), W, Y)), J && (o = Of(o, J, Ze, N.get("icon-text-fit-padding"), W, Y)));
11491
11491
  const Ue = L ? B.line.getGranularityForZoomLevel(L.z) : 1, at = (yt, ft) => {
11492
- ft.x < 0 || ft.x >= er || ft.y < 0 || ft.y >= er || function(ht, Ut, Dr, ri, Ci, hn, Ki, _i, Cr, li, vi, xi, Oi, pn, ci, Gi, ii, ui, hi, Qr, yr, In, Wa, En, fv) {
11493
- const Ha = ht.addToLineVertexArray(Ut, Dr);
11492
+ ft.x < 0 || ft.x >= er || ft.y < 0 || ft.y >= er || function(ut, Ut, Dr, ri, Ci, hn, Ki, _i, Cr, li, vi, xi, Oi, pn, ci, Gi, ii, ui, hi, Qr, yr, In, Wa, En, fv) {
11493
+ const Ha = ut.addToLineVertexArray(Ut, Dr);
11494
11494
  let Uo, Za, Ka, Ga, vm = 0, xm = 0, bm = 0, wm = 0, Qp = -1, Yp = -1;
11495
11495
  const _s = {};
11496
11496
  let Sm = Cn("");
11497
- if (ht.allowVerticalPlacement && ri.vertical) {
11497
+ if (ut.allowVerticalPlacement && ri.vertical) {
11498
11498
  const Ri = _i.layout.get("text-rotate").evaluate(yr, {}, En) + 90;
11499
11499
  Ka = new Bu(Cr, Ut, li, vi, xi, ri.vertical, Oi, pn, ci, Ri), Ki && (Ga = new Bu(Cr, Ut, li, vi, xi, Ki, ii, ui, ci, Ri));
11500
11500
  }
11501
11501
  if (Ci) {
11502
11502
  const Ri = _i.layout.get("icon-rotate").evaluate(yr, {}), dn = _i.layout.get("icon-text-fit") !== "none", No = um(Ci, Ri, Wa, dn), Ln = Ki ? um(Ki, Ri, Wa, dn) : void 0;
11503
11503
  Za = new Bu(Cr, Ut, li, vi, xi, Ci, ii, ui, !1, Ri), vm = 4 * No.length;
11504
- const jo = ht.iconSizeData;
11504
+ const jo = ut.iconSizeData;
11505
11505
  let Jn = null;
11506
- jo.kind === "source" ? (Jn = [Gn * _i.layout.get("icon-size").evaluate(yr, {})], Jn[0] > Gs && dr(`${ht.layerIds[0]}: Value for "icon-size" is >= ${lc}. Reduce your "icon-size".`)) : jo.kind === "composite" && (Jn = [Gn * In.compositeIconSizes[0].evaluate(yr, {}, En), Gn * In.compositeIconSizes[1].evaluate(yr, {}, En)], (Jn[0] > Gs || Jn[1] > Gs) && dr(`${ht.layerIds[0]}: Value for "icon-size" is >= ${lc}. Reduce your "icon-size".`)), ht.addSymbols(ht.icon, No, Jn, Qr, hi, yr, v.al.none, Ut, Ha.lineStartIndex, Ha.lineLength, -1, En), Qp = ht.icon.placedSymbolArray.length - 1, Ln && (xm = 4 * Ln.length, ht.addSymbols(ht.icon, Ln, Jn, Qr, hi, yr, v.al.vertical, Ut, Ha.lineStartIndex, Ha.lineLength, -1, En), Yp = ht.icon.placedSymbolArray.length - 1);
11506
+ jo.kind === "source" ? (Jn = [Gn * _i.layout.get("icon-size").evaluate(yr, {})], Jn[0] > Gs && sr(`${ut.layerIds[0]}: Value for "icon-size" is >= ${lc}. Reduce your "icon-size".`)) : jo.kind === "composite" && (Jn = [Gn * In.compositeIconSizes[0].evaluate(yr, {}, En), Gn * In.compositeIconSizes[1].evaluate(yr, {}, En)], (Jn[0] > Gs || Jn[1] > Gs) && sr(`${ut.layerIds[0]}: Value for "icon-size" is >= ${lc}. Reduce your "icon-size".`)), ut.addSymbols(ut.icon, No, Jn, Qr, hi, yr, v.al.none, Ut, Ha.lineStartIndex, Ha.lineLength, -1, En), Qp = ut.icon.placedSymbolArray.length - 1, Ln && (xm = 4 * Ln.length, ut.addSymbols(ut.icon, Ln, Jn, Qr, hi, yr, v.al.vertical, Ut, Ha.lineStartIndex, Ha.lineLength, -1, En), Yp = ut.icon.placedSymbolArray.length - 1);
11507
11507
  }
11508
11508
  const Am = Object.keys(ri.horizontal);
11509
11509
  for (const Ri of Am) {
@@ -11514,15 +11514,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11514
11514
  Uo = new Bu(Cr, Ut, li, vi, xi, dn, Oi, pn, ci, Ln);
11515
11515
  }
11516
11516
  const No = dn.positionedLines.length === 1;
11517
- if (bm += fm(ht, Ut, dn, hn, _i, ci, yr, Gi, Ha, ri.vertical ? v.al.horizontal : v.al.horizontalOnly, No ? Am : [Ri], _s, Qp, In, En), No) break;
11517
+ if (bm += fm(ut, Ut, dn, hn, _i, ci, yr, Gi, Ha, ri.vertical ? v.al.horizontal : v.al.horizontalOnly, No ? Am : [Ri], _s, Qp, In, En), No) break;
11518
11518
  }
11519
- ri.vertical && (wm += fm(ht, Ut, ri.vertical, hn, _i, ci, yr, Gi, Ha, v.al.vertical, ["vertical"], _s, Yp, In, En));
11520
- const mv = Uo ? Uo.boxStartIndex : ht.collisionBoxArray.length, gv = Uo ? Uo.boxEndIndex : ht.collisionBoxArray.length, yv = Ka ? Ka.boxStartIndex : ht.collisionBoxArray.length, _v = Ka ? Ka.boxEndIndex : ht.collisionBoxArray.length, vv = Za ? Za.boxStartIndex : ht.collisionBoxArray.length, xv = Za ? Za.boxEndIndex : ht.collisionBoxArray.length, bv = Ga ? Ga.boxStartIndex : ht.collisionBoxArray.length, wv = Ga ? Ga.boxEndIndex : ht.collisionBoxArray.length;
11519
+ ri.vertical && (wm += fm(ut, Ut, ri.vertical, hn, _i, ci, yr, Gi, Ha, v.al.vertical, ["vertical"], _s, Yp, In, En));
11520
+ const mv = Uo ? Uo.boxStartIndex : ut.collisionBoxArray.length, gv = Uo ? Uo.boxEndIndex : ut.collisionBoxArray.length, yv = Ka ? Ka.boxStartIndex : ut.collisionBoxArray.length, _v = Ka ? Ka.boxEndIndex : ut.collisionBoxArray.length, vv = Za ? Za.boxStartIndex : ut.collisionBoxArray.length, xv = Za ? Za.boxEndIndex : ut.collisionBoxArray.length, bv = Ga ? Ga.boxStartIndex : ut.collisionBoxArray.length, wv = Ga ? Ga.boxEndIndex : ut.collisionBoxArray.length;
11521
11521
  let Mn = -1;
11522
11522
  const Fu = (Ri, dn) => Ri && Ri.circleDiameter ? Math.max(Ri.circleDiameter, dn) : dn;
11523
11523
  Mn = Fu(Uo, Mn), Mn = Fu(Ka, Mn), Mn = Fu(Za, Mn), Mn = Fu(Ga, Mn);
11524
11524
  const km = Mn > -1 ? 1 : 0;
11525
- km && (Mn *= fv / ti), ht.glyphOffsetArray.length >= Ua.MAX_GLYPHS && dr("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"), yr.sortKey !== void 0 && ht.addToSortKeyRanges(ht.symbolInstances.length, yr.sortKey);
11525
+ km && (Mn *= fv / ti), ut.glyphOffsetArray.length >= Ua.MAX_GLYPHS && sr("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"), yr.sortKey !== void 0 && ut.addToSortKeyRanges(ut.symbolInstances.length, yr.sortKey);
11526
11526
  const Sv = dm(_i, yr, En), [Av, kv] = function(Ri, dn) {
11527
11527
  const No = Ri.length, Ln = dn == null ? void 0 : dn.values;
11528
11528
  if ((Ln == null ? void 0 : Ln.length) > 0) for (let jo = 0; jo < Ln.length; jo += 2) {
@@ -11530,18 +11530,18 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11530
11530
  Ri.emplaceBack(v.aB[Ln[jo]], Jn[0], Jn[1]);
11531
11531
  }
11532
11532
  return [No, Ri.length];
11533
- }(ht.textAnchorOffsets, Sv);
11534
- ht.symbolInstances.emplaceBack(Ut.x, Ut.y, _s.right >= 0 ? _s.right : -1, _s.center >= 0 ? _s.center : -1, _s.left >= 0 ? _s.left : -1, _s.vertical || -1, Qp, Yp, Sm, mv, gv, yv, _v, vv, xv, bv, wv, li, bm, wm, vm, xm, km, 0, Oi, Mn, Av, kv);
11533
+ }(ut.textAnchorOffsets, Sv);
11534
+ ut.symbolInstances.emplaceBack(Ut.x, Ut.y, _s.right >= 0 ? _s.right : -1, _s.center >= 0 ? _s.center : -1, _s.left >= 0 ? _s.left : -1, _s.vertical || -1, Qp, Yp, Sm, mv, gv, yv, _v, vv, xv, bv, wv, li, bm, wm, vm, xm, km, 0, Oi, Mn, Av, kv);
11535
11535
  }(n, ft, yt, i, o, c, Xe, n.layers[0], n.collisionBoxArray, t.index, t.sourceLayerIndex, n.index, ae, [Q, Q, Q, Q], He, w, ue, pe, Le, W, t, f, C, L, m);
11536
11536
  };
11537
11537
  if (Fe === "line") for (const yt of nm(t.geometry, 0, 0, er, er)) {
11538
- const ft = qo(yt, Ue), ht = av(ft, U, Pe, i.vertical || J, o, 24, _e, n.overscaling, er);
11539
- for (const Ut of ht) J && pv(n, J.text, Je, Ut) || at(ft, Ut);
11538
+ const ft = qo(yt, Ue), ut = av(ft, U, Pe, i.vertical || J, o, 24, _e, n.overscaling, er);
11539
+ for (const Ut of ut) J && pv(n, J.text, Je, Ut) || at(ft, Ut);
11540
11540
  }
11541
11541
  else if (Fe === "line-center") {
11542
11542
  for (const yt of t.geometry) if (yt.length > 1) {
11543
- const ft = qo(yt, Ue), ht = ov(ft, Pe, i.vertical || J, o, 24, _e);
11544
- ht && at(ft, ht);
11543
+ const ft = qo(yt, Ue), ut = ov(ft, Pe, i.vertical || J, o, 24, _e);
11544
+ ut && at(ft, ut);
11545
11545
  }
11546
11546
  } else if (t.type === "Polygon") for (const yt of aa(t.geometry, 0)) {
11547
11547
  const ft = cv(yt, 16);
@@ -11559,14 +11559,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11559
11559
  for (const Ze of ue.positionedLines) for (const Xe of Ze.positionedGlyphs) {
11560
11560
  if (!Xe.rect) continue;
11561
11561
  const Ue = Xe.rect || {};
11562
- let at = V_ + 1, yt = !0, ft = 1, ht = 0;
11562
+ let at = V_ + 1, yt = !0, ft = 1, ut = 0;
11563
11563
  const Ut = (pe || Le) && Xe.vertical, Dr = Xe.metrics.advance * Xe.scale / 2;
11564
- if (Le && ue.verticalizable && (ht = Ze.lineOffset / 2 - (Xe.imageName ? -(ti - Xe.metrics.width * Xe.scale) / 2 : (Xe.scale - 1) * ti)), Xe.imageName) {
11564
+ if (Le && ue.verticalizable && (ut = Ze.lineOffset / 2 - (Xe.imageName ? -(ti - Xe.metrics.width * Xe.scale) / 2 : (Xe.scale - 1) * ti)), Xe.imageName) {
11565
11565
  const ui = He[Xe.imageName];
11566
11566
  yt = ui.sdf, ft = ui.pixelRatio, at = Zi / ft;
11567
11567
  }
11568
11568
  const ri = pe ? [Xe.x + Dr, Xe.y] : [0, 0];
11569
- let Ci = pe ? [0, 0] : [Xe.x + Dr + U[0], Xe.y + U[1] - ht], hn = [0, 0];
11569
+ let Ci = pe ? [0, 0] : [Xe.x + Dr + U[0], Xe.y + U[1] - ut], hn = [0, 0];
11570
11570
  Ut && (hn = Ci, Ci = [0, 0]);
11571
11571
  const Ki = Xe.metrics.isDoubleResolution ? 2 : 1, _i = (Xe.metrics.left - at) * Xe.scale - Dr + Ci[0], Cr = (-Xe.metrics.top - at) * Xe.scale + Ci[1], li = _i + Ue.w / Ki * Xe.scale / ft, vi = Cr + Ue.h / Ki * Xe.scale / ft, xi = new T(_i, Cr), Oi = new T(li, Cr), pn = new T(_i, vi), ci = new T(li, vi);
11572
11572
  if (Ut) {
@@ -11583,7 +11583,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11583
11583
  return Je;
11584
11584
  }(0, i, _, c, f, m, o, n.allowVerticalPlacement), Y = n.textSizeData;
11585
11585
  let ae = null;
11586
- Y.kind === "source" ? (ae = [Gn * c.layout.get("text-size").evaluate(m, {})], ae[0] > Gs && dr(`${n.layerIds[0]}: Value for "text-size" is >= ${lc}. Reduce your "text-size".`)) : Y.kind === "composite" && (ae = [Gn * N.compositeTextSizes[0].evaluate(m, {}, W), Gn * N.compositeTextSizes[1].evaluate(m, {}, W)], (ae[0] > Gs || ae[1] > Gs) && dr(`${n.layerIds[0]}: Value for "text-size" is >= ${lc}. Reduce your "text-size".`)), n.addSymbols(n.text, J, ae, _, f, m, C, t, w.lineStartIndex, w.lineLength, q, W);
11586
+ Y.kind === "source" ? (ae = [Gn * c.layout.get("text-size").evaluate(m, {})], ae[0] > Gs && sr(`${n.layerIds[0]}: Value for "text-size" is >= ${lc}. Reduce your "text-size".`)) : Y.kind === "composite" && (ae = [Gn * N.compositeTextSizes[0].evaluate(m, {}, W), Gn * N.compositeTextSizes[1].evaluate(m, {}, W)], (ae[0] > Gs || ae[1] > Gs) && sr(`${n.layerIds[0]}: Value for "text-size" is >= ${lc}. Reduce your "text-size".`)), n.addSymbols(n.text, J, ae, _, f, m, C, t, w.lineStartIndex, w.lineLength, q, W);
11587
11587
  for (const _e of L) B[_e] = n.text.placedSymbolArray.length - 1;
11588
11588
  return 4 * J.length;
11589
11589
  }
@@ -11813,7 +11813,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11813
11813
  }
11814
11814
  });
11815
11815
  }, v.a3 = Oe, v.a4 = function() {
11816
- return ct++;
11816
+ return lt++;
11817
11817
  }, v.a5 = oe, v.a6 = Ua, v.a7 = Ao, v.a8 = Oo, v.a9 = em, v.aA = function(n, t, i, o, c = !1) {
11818
11818
  if (!i[0] && !i[1]) return [0, 0];
11819
11819
  const f = c ? o === "map" ? -n.bearingInRadians : 0 : o === "viewport" ? n.bearingInRadians : 0;
@@ -11822,7 +11822,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11822
11822
  i = [i[0] * _ - i[1] * m, i[0] * m + i[1] * _];
11823
11823
  }
11824
11824
  return [c ? i[0] : gn(t, i[0], n.zoom), c ? i[1] : gn(t, i[1], n.zoom)];
11825
- }, v.aC = zp, v.aD = jp, v.aE = Rp, v.aF = Wp, v.aG = Sr, v.aH = ku, v.aI = De, v.aJ = $t, v.aK = Yt, v.aL = lt, v.aM = Er, v.aN = Jf, v.aO = function(n, t, i) {
11825
+ }, v.aC = zp, v.aD = jp, v.aE = Rp, v.aF = Wp, v.aG = Sr, v.aH = ku, v.aI = De, v.aJ = $t, v.aK = Yt, v.aL = ht, v.aM = Er, v.aN = Jf, v.aO = function(n, t, i) {
11826
11826
  return n[0] = t[0] * i, n[1] = t[1] * i, n[2] = t[2] * i, n;
11827
11827
  }, v.aP = function(n, t, i) {
11828
11828
  return n[0] = t[0] + i[0], n[1] = t[1] + i[1], n[2] = t[2] + i[2], n;
@@ -11960,7 +11960,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11960
11960
  (function(m, _, w, C) {
11961
11961
  let L;
11962
11962
  for (L in _ = _ || {}, m = m || {}) Object.prototype.hasOwnProperty.call(m, L) && (Object.prototype.hasOwnProperty.call(_, L) || We(L, w, C));
11963
- for (L in _) Object.prototype.hasOwnProperty.call(_, L) && (Object.prototype.hasOwnProperty.call(m, L) ? ke(m[L], _[L]) || (m[L].type === "geojson" && _[L].type === "geojson" && it(m, _, L) ? Me(w, { command: "setGeoJSONSourceData", args: [L, _[L].data] }) : et(L, _, w, C)) : Ae(L, _, w));
11963
+ for (L in _) Object.prototype.hasOwnProperty.call(_, L) && (Object.prototype.hasOwnProperty.call(m, L) ? ke(m[L], _[L]) || (m[L].type === "geojson" && _[L].type === "geojson" && it(m, _, L) ? Me(w, { command: "setGeoJSONSourceData", args: [L, _[L].data] }) : tt(L, _, w, C)) : Ae(L, _, w));
11964
11964
  })(n.sources, t.sources, c, o);
11965
11965
  const f = [];
11966
11966
  n.layers && n.layers.forEach((m) => {
@@ -12151,7 +12151,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12151
12151
  const o = Vi(t.x - i.x, t.y - i.y), c = Vi(n.x - i.x, n.y - i.y);
12152
12152
  var f, m;
12153
12153
  return Er(Math.atan2(o[0] * c[1] - o[1] * c[0], (f = o)[0] * (m = c)[0] + f[1] * m[1]));
12154
- }, v.cf = tt, v.cg = function(n, t) {
12154
+ }, v.cf = $e, v.cg = function(n, t) {
12155
12155
  return Nr[t] && (n instanceof MouseEvent || n instanceof WheelEvent);
12156
12156
  }, v.ch = function(n, t) {
12157
12157
  return wr[t] && "touches" in n;
@@ -12167,7 +12167,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12167
12167
  return n[0] = t[0], n[1] = 0, n[2] = 0, n[3] = 0, n[4] = 0, n[5] = t[1], n[6] = 0, n[7] = 0, n[8] = 0, n[9] = 0, n[10] = t[2], n[11] = 0, n[12] = 0, n[13] = 0, n[14] = 0, n[15] = 1, n;
12168
12168
  }, v.cm = class extends Ro {
12169
12169
  }, v.cn = dv, v.cp = function(n) {
12170
- return n.message === ur;
12170
+ return n.message === hr;
12171
12171
  }, v.cq = Fr, v.cr = function(n, t) {
12172
12172
  fi.REGISTERED_PROTOCOLS[n] = t;
12173
12173
  }, v.cs = function(n) {
@@ -12228,7 +12228,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12228
12228
  let _e = !1;
12229
12229
  if (C.icon && C.icon.name) {
12230
12230
  const U = n.imageMap[C.icon.name];
12231
- U && (Y = G_(n.imagePositions[C.icon.name], i.get("icon-offset").evaluate(C, {}, n.canonical), i.get("icon-anchor").evaluate(C, {}, n.canonical)), _e = !!U.sdf, n.bucket.sdfIcons === void 0 ? n.bucket.sdfIcons = _e : n.bucket.sdfIcons !== _e && dr("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"), (U.pixelRatio !== n.bucket.pixelRatio || i.get("icon-rotate").constantOr(1) !== 0) && (n.bucket.iconsNeedLinear = !0));
12231
+ U && (Y = G_(n.imagePositions[C.icon.name], i.get("icon-offset").evaluate(C, {}, n.canonical), i.get("icon-anchor").evaluate(C, {}, n.canonical)), _e = !!U.sdf, n.bucket.sdfIcons === void 0 ? n.bucket.sdfIcons = _e : n.bucket.sdfIcons !== _e && sr("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"), (U.pixelRatio !== n.bucket.pixelRatio || i.get("icon-rotate").constantOr(1) !== 0) && (n.bucket.iconsNeedLinear = !0));
12232
12232
  }
12233
12233
  const ue = mm(W.horizontal) || W.vertical;
12234
12234
  n.bucket.iconsInText = !!ue && ue.iconsInText, (ue || Y) && hv(n.bucket, C, W, Y, n.imageMap, c, q, N, ae, _e, n.canonical, n.subdivisionGranularity);
@@ -12253,7 +12253,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12253
12253
  o.src = n.byteLength ? URL.createObjectURL(c) : On;
12254
12254
  }), v.i = br, v.j = (n, t) => wi(wt(n, { type: "json" }), t), v.k = he, v.l = te, v.m = wi, v.n = (n, t) => wi(wt(n, { type: "arrayBuffer" }), t), v.o = function(n) {
12255
12255
  return new Ip(n).readFields(B_, []);
12256
- }, v.p = If, v.q = Xl, v.r = Gr, v.s = kt, v.t = Ca, v.u = Ft, v.v = ee, v.w = dr, v.x = Bl, v.y = Ns, v.z = function([n, t, i]) {
12256
+ }, v.p = If, v.q = Xl, v.r = Gr, v.s = kt, v.t = Ca, v.u = Ft, v.v = ee, v.w = sr, v.x = Bl, v.y = Ns, v.z = function([n, t, i]) {
12257
12257
  return t += 90, t *= Math.PI / 180, i *= Math.PI / 180, { x: n * Math.cos(t) * Math.sin(i), y: n * Math.sin(t) * Math.sin(i), z: n * Math.cos(i) };
12258
12258
  };
12259
12259
  }), k("worker", ["./shared"], function(v) {
@@ -12342,11 +12342,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12342
12342
  const xt = new AbortController();
12343
12343
  this.inFlightDependencies.push(xt), We = he.sendAsync({ type: "GG", data: { stacks: Ae, source: this.source, tileID: this.tileID, type: "glyphs" } }, xt);
12344
12344
  }
12345
- const et = Object.keys(ke.iconDependencies);
12345
+ const tt = Object.keys(ke.iconDependencies);
12346
12346
  let it = Promise.resolve({});
12347
- if (et.length) {
12347
+ if (tt.length) {
12348
12348
  const xt = new AbortController();
12349
- this.inFlightDependencies.push(xt), it = he.sendAsync({ type: "GI", data: { icons: et, source: this.source, tileID: this.tileID, type: "icons" } }, xt);
12349
+ this.inFlightDependencies.push(xt), it = he.sendAsync({ type: "GI", data: { icons: tt, source: this.source, tileID: this.tileID, type: "icons" } }, xt);
12350
12350
  }
12351
12351
  const mt = Object.keys(ke.patternDependencies);
12352
12352
  let It = Promise.resolve({});
@@ -12525,12 +12525,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12525
12525
  function We(it, mt) {
12526
12526
  this.options = mt || {}, this.features = it, this.length = it.length;
12527
12527
  }
12528
- function et(it, mt) {
12528
+ function tt(it, mt) {
12529
12529
  this.id = typeof it.id == "number" ? it.id : void 0, this.type = it.type, this.rawGeometry = it.type === 1 ? [it.geometry] : it.geometry, this.properties = it.tags, this.extent = mt || 4096;
12530
12530
  }
12531
12531
  return $ = We, We.prototype.feature = function(it) {
12532
- return new et(this.features[it], this.options.extent);
12533
- }, et.prototype.loadGeometry = function() {
12532
+ return new tt(this.features[it], this.options.extent);
12533
+ }, tt.prototype.loadGeometry = function() {
12534
12534
  var it = this.rawGeometry;
12535
12535
  this.geometry = [];
12536
12536
  for (var mt = 0; mt < it.length; mt++) {
@@ -12538,29 +12538,29 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12538
12538
  this.geometry.push(bt);
12539
12539
  }
12540
12540
  return this.geometry;
12541
- }, et.prototype.bbox = function() {
12541
+ }, tt.prototype.bbox = function() {
12542
12542
  this.geometry || this.loadGeometry();
12543
12543
  for (var it = this.geometry, mt = 1 / 0, It = -1 / 0, bt = 1 / 0, Oe = -1 / 0, rr = 0; rr < it.length; rr++) for (var Nt = it[rr], Qt = 0; Qt < Nt.length; Qt++) {
12544
12544
  var xt = Nt[Qt];
12545
12545
  mt = Math.min(mt, xt.x), It = Math.max(It, xt.x), bt = Math.min(bt, xt.y), Oe = Math.max(Oe, xt.y);
12546
12546
  }
12547
12547
  return [mt, bt, It, Oe];
12548
- }, et.prototype.toGeoJSON = Ae.prototype.toGeoJSON, $;
12548
+ }, tt.prototype.toGeoJSON = Ae.prototype.toGeoJSON, $;
12549
12549
  }();
12550
12550
  function K(Me) {
12551
12551
  var Ae = new we();
12552
- return function(We, et) {
12553
- for (var it in We.layers) et.writeMessage(3, te, We.layers[it]);
12552
+ return function(We, tt) {
12553
+ for (var it in We.layers) tt.writeMessage(3, te, We.layers[it]);
12554
12554
  }(Me, Ae), Ae.finish();
12555
12555
  }
12556
12556
  function te(Me, Ae) {
12557
12557
  var We;
12558
12558
  Ae.writeVarintField(15, Me.version || 1), Ae.writeStringField(1, Me.name || ""), Ae.writeVarintField(5, Me.extent || 4096);
12559
- var et = { keys: [], values: [], keycache: {}, valuecache: {} };
12560
- for (We = 0; We < Me.length; We++) et.feature = Me.feature(We), Ae.writeMessage(2, he, et);
12561
- var it = et.keys;
12559
+ var tt = { keys: [], values: [], keycache: {}, valuecache: {} };
12560
+ for (We = 0; We < Me.length; We++) tt.feature = Me.feature(We), Ae.writeMessage(2, he, tt);
12561
+ var it = tt.keys;
12562
12562
  for (We = 0; We < it.length; We++) Ae.writeStringField(3, it[We]);
12563
- var mt = et.values;
12563
+ var mt = tt.values;
12564
12564
  for (We = 0; We < mt.length; We++) Ae.writeMessage(4, ke, mt[We]);
12565
12565
  }
12566
12566
  function he(Me, Ae) {
@@ -12568,11 +12568,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12568
12568
  We.id !== void 0 && Ae.writeVarintField(1, We.id), Ae.writeMessage(2, ve, Me), Ae.writeVarintField(3, We.type), Ae.writeMessage(4, be, We);
12569
12569
  }
12570
12570
  function ve(Me, Ae) {
12571
- var We = Me.feature, et = Me.keys, it = Me.values, mt = Me.keycache, It = Me.valuecache;
12571
+ var We = Me.feature, tt = Me.keys, it = Me.values, mt = Me.keycache, It = Me.valuecache;
12572
12572
  for (var bt in We.properties) {
12573
12573
  var Oe = We.properties[bt], rr = mt[bt];
12574
12574
  if (Oe !== null) {
12575
- rr === void 0 && (et.push(bt), mt[bt] = rr = et.length - 1), Ae.writeVarint(rr);
12575
+ rr === void 0 && (tt.push(bt), mt[bt] = rr = tt.length - 1), Ae.writeVarint(rr);
12576
12576
  var Nt = typeof Oe;
12577
12577
  Nt !== "string" && Nt !== "boolean" && Nt !== "number" && (Oe = JSON.stringify(Oe));
12578
12578
  var Qt = Nt + ":" + Oe, xt = It[Qt];
@@ -12587,15 +12587,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12587
12587
  return Me << 1 ^ Me >> 31;
12588
12588
  }
12589
12589
  function be(Me, Ae) {
12590
- for (var We = Me.loadGeometry(), et = Me.type, it = 0, mt = 0, It = We.length, bt = 0; bt < It; bt++) {
12590
+ for (var We = Me.loadGeometry(), tt = Me.type, it = 0, mt = 0, It = We.length, bt = 0; bt < It; bt++) {
12591
12591
  var Oe = We[bt], rr = 1;
12592
- et === 1 && (rr = Oe.length), Ae.writeVarint(ee(1, rr));
12593
- for (var Nt = et === 3 ? Oe.length - 1 : Oe.length, Qt = 0; Qt < Nt; Qt++) {
12594
- Qt === 1 && et !== 1 && Ae.writeVarint(ee(2, Nt - 1));
12592
+ tt === 1 && (rr = Oe.length), Ae.writeVarint(ee(1, rr));
12593
+ for (var Nt = tt === 3 ? Oe.length - 1 : Oe.length, Qt = 0; Qt < Nt; Qt++) {
12594
+ Qt === 1 && tt !== 1 && Ae.writeVarint(ee(2, Nt - 1));
12595
12595
  var xt = Oe[Qt].x - it, je = Oe[Qt].y - mt;
12596
12596
  Ae.writeVarint(Ie(xt)), Ae.writeVarint(Ie(je)), it += xt, mt += je;
12597
12597
  }
12598
- et === 3 && Ae.writeVarint(ee(7, 1));
12598
+ tt === 3 && Ae.writeVarint(ee(7, 1));
12599
12599
  }
12600
12600
  }
12601
12601
  function ke(Me, Ae) {
@@ -12605,7 +12605,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12605
12605
  return Ve.exports = K, Ve.exports.fromVectorTileJs = K, Ve.exports.fromGeojsonVt = function(Me, Ae) {
12606
12606
  Ae = Ae || {};
12607
12607
  var We = {};
12608
- for (var et in Me) We[et] = new X(Me[et].features, Ae), We[et].name = et, We[et].version = Ae.version, We[et].extent = Ae.extent;
12608
+ for (var tt in Me) We[tt] = new X(Me[tt].features, Ae), We[tt].name = tt, We[tt].version = Ae.version, We[tt].extent = Ae.extent;
12609
12609
  return K({ layers: We });
12610
12610
  }, Ve.exports.GeoJSONWrapper = X, Ve.exports;
12611
12611
  }(), gt = v.cH(Ge);
@@ -12625,8 +12625,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12625
12625
  for (let be = 0; be < X.length; be++) {
12626
12626
  const ke = X[be];
12627
12627
  if (!ke.geometry) continue;
12628
- const [Me, Ae] = ke.geometry.coordinates, We = Qe(gn(Me)), et = Qe(pi(Ae));
12629
- ee.push(We, et, 1 / 0, be, -1, 1), this.options.reduce && ee.push(0);
12628
+ const [Me, Ae] = ke.geometry.coordinates, We = Qe(gn(Me)), tt = Qe(pi(Ae));
12629
+ ee.push(We, tt, 1 / 0, be, -1, 1), this.options.reduce && ee.push(0);
12630
12630
  }
12631
12631
  let Ie = this.trees[he + 1] = this._createTree(ee);
12632
12632
  K && console.timeEnd(ve);
@@ -12707,9 +12707,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12707
12707
  const [It, bt] = mt.geometry.coordinates;
12708
12708
  Ae = gn(It), We = pi(bt);
12709
12709
  }
12710
- const et = { type: 1, geometry: [[Math.round(this.options.extent * (Ae * ve - te)), Math.round(this.options.extent * (We * ve - he))]], tags: Me };
12710
+ const tt = { type: 1, geometry: [[Math.round(this.options.extent * (Ae * ve - te)), Math.round(this.options.extent * (We * ve - he))]], tags: Me };
12711
12711
  let it;
12712
- it = ke || this.options.generateId ? K[be + At] : this.points[K[be + At]].id, it !== void 0 && (et.id = it), ee.features.push(et);
12712
+ it = ke || this.options.generateId ? K[be + At] : this.points[K[be + At]].id, it !== void 0 && (tt.id = it), ee.features.push(tt);
12713
12713
  }
12714
12714
  }
12715
12715
  _limitZoom(X) {
@@ -12720,14 +12720,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12720
12720
  for (let Ae = 0; Ae < be.length; Ae += Me) {
12721
12721
  if (be[Ae + 2] <= K) continue;
12722
12722
  be[Ae + 2] = K;
12723
- const We = be[Ae], et = be[Ae + 1], it = X.within(be[Ae], be[Ae + 1], Ie), mt = be[Ae + Dt];
12723
+ const We = be[Ae], tt = be[Ae + 1], it = X.within(be[Ae], be[Ae + 1], Ie), mt = be[Ae + Dt];
12724
12724
  let It = mt;
12725
12725
  for (const bt of it) {
12726
12726
  const Oe = bt * Me;
12727
12727
  be[Oe + 2] > K && (It += be[Oe + Dt]);
12728
12728
  }
12729
12729
  if (It > mt && It >= ee) {
12730
- let bt, Oe = We * mt, rr = et * mt, Nt = -1;
12730
+ let bt, Oe = We * mt, rr = tt * mt, Nt = -1;
12731
12731
  const Qt = ((Ae / Me | 0) << 5) + (K + 1) + this.points.length;
12732
12732
  for (const xt of it) {
12733
12733
  const je = xt * Me;
@@ -12790,9 +12790,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12790
12790
  let ee, Ie = K - X;
12791
12791
  const be = we[X], ke = we[X + 1], Me = we[K], Ae = we[K + 1];
12792
12792
  for (let We = X + 3; We < K; We += 3) {
12793
- const et = $n(we[We], we[We + 1], be, ke, Me, Ae);
12794
- if (et > he) ee = We, he = et;
12795
- else if (et === he) {
12793
+ const tt = $n(we[We], we[We + 1], be, ke, Me, Ae);
12794
+ if (tt > he) ee = We, he = tt;
12795
+ else if (tt === he) {
12796
12796
  const it = Math.abs(We - ve);
12797
12797
  it < Ie && (ee = We, Ie = it);
12798
12798
  }
@@ -12807,7 +12807,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12807
12807
  }
12808
12808
  return ee = we - K, Ie = X - te, ee * ee + Ie * Ie;
12809
12809
  }
12810
- function tt(we, X, K, te) {
12810
+ function $e(we, X, K, te) {
12811
12811
  const he = { id: we ?? null, type: X, geometry: K, tags: te, minX: 1 / 0, minY: 1 / 0, maxX: -1 / 0, maxY: -1 / 0 };
12812
12812
  if (X === "Point" || X === "MultiPoint" || X === "LineString") rt(he, K);
12813
12813
  else if (X === "Polygon") rt(he, K[0]);
@@ -12818,7 +12818,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12818
12818
  function rt(we, X) {
12819
12819
  for (let K = 0; K < X.length; K += 3) we.minX = Math.min(we.minX, X[K]), we.minY = Math.min(we.minY, X[K + 1]), we.maxX = Math.max(we.maxX, X[K]), we.maxY = Math.max(we.maxY, X[K + 1]);
12820
12820
  }
12821
- function lt(we, X, K, te) {
12821
+ function ht(we, X, K, te) {
12822
12822
  if (!X.geometry) return;
12823
12823
  const he = X.geometry.coordinates;
12824
12824
  if (he && he.length === 0) return;
@@ -12826,10 +12826,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12826
12826
  let Ie = [], be = X.id;
12827
12827
  if (K.promoteId ? be = X.properties[K.promoteId] : K.generateId && (be = te || 0), ve === "Point") wt(he, Ie);
12828
12828
  else if (ve === "MultiPoint") for (const ke of he) wt(ke, Ie);
12829
- else if (ve === "LineString") ct(he, Ie, ee, !1);
12829
+ else if (ve === "LineString") lt(he, Ie, ee, !1);
12830
12830
  else if (ve === "MultiLineString") {
12831
12831
  if (K.lineMetrics) {
12832
- for (const ke of he) Ie = [], ct(ke, Ie, ee, !1), we.push(tt(be, "LineString", Ie, X.properties));
12832
+ for (const ke of he) Ie = [], lt(ke, Ie, ee, !1), we.push($e(be, "LineString", Ie, X.properties));
12833
12833
  return;
12834
12834
  }
12835
12835
  St(he, Ie, ee, !1);
@@ -12837,7 +12837,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12837
12837
  else {
12838
12838
  if (ve !== "MultiPolygon") {
12839
12839
  if (ve === "GeometryCollection") {
12840
- for (const ke of X.geometry.geometries) lt(we, { id: be, geometry: ke, properties: X.properties }, K, te);
12840
+ for (const ke of X.geometry.geometries) ht(we, { id: be, geometry: ke, properties: X.properties }, K, te);
12841
12841
  return;
12842
12842
  }
12843
12843
  throw new Error("Input data is not a valid GeoJSON object.");
@@ -12847,12 +12847,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12847
12847
  St(ke, Me, ee, !0), Ie.push(Me);
12848
12848
  }
12849
12849
  }
12850
- we.push(tt(be, ve, Ie, X.properties));
12850
+ we.push($e(be, ve, Ie, X.properties));
12851
12851
  }
12852
12852
  function wt(we, X) {
12853
12853
  X.push(qt(we[0]), Mt(we[1]), 0);
12854
12854
  }
12855
- function ct(we, X, K, te) {
12855
+ function lt(we, X, K, te) {
12856
12856
  let he, ve, ee = 0;
12857
12857
  for (let be = 0; be < we.length; be++) {
12858
12858
  const ke = qt(we[be][0]), Me = Mt(we[be][1]);
@@ -12864,7 +12864,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12864
12864
  function St(we, X, K, te) {
12865
12865
  for (let he = 0; he < we.length; he++) {
12866
12866
  const ve = [];
12867
- ct(we[he], ve, K, te), X.push(ve);
12867
+ lt(we[he], ve, K, te), X.push(ve);
12868
12868
  }
12869
12869
  }
12870
12870
  function qt(we) {
@@ -12881,14 +12881,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12881
12881
  for (const ke of we) {
12882
12882
  const Me = ke.geometry;
12883
12883
  let Ae = ke.type;
12884
- const We = he === 0 ? ke.minX : ke.minY, et = he === 0 ? ke.maxX : ke.maxY;
12885
- if (We >= K && et < te) {
12884
+ const We = he === 0 ? ke.minX : ke.minY, tt = he === 0 ? ke.maxX : ke.maxY;
12885
+ if (We >= K && tt < te) {
12886
12886
  be.push(ke);
12887
12887
  continue;
12888
12888
  }
12889
- if (et < K || We >= te) continue;
12889
+ if (tt < K || We >= te) continue;
12890
12890
  let it = [];
12891
- if (Ae === "Point" || Ae === "MultiPoint") dr(Me, it, K, te, he);
12891
+ if (Ae === "Point" || Ae === "MultiPoint") sr(Me, it, K, te, he);
12892
12892
  else if (Ae === "LineString") tr(Me, it, K, te, he, !1, Ie.lineMetrics);
12893
12893
  else if (Ae === "MultiLineString") Ui(Me, it, K, te, he, !1);
12894
12894
  else if (Ae === "Polygon") Ui(Me, it, K, te, he, !0);
@@ -12898,15 +12898,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12898
12898
  }
12899
12899
  if (it.length) {
12900
12900
  if (Ie.lineMetrics && Ae === "LineString") {
12901
- for (const mt of it) be.push(tt(ke.id, Ae, mt, ke.tags));
12901
+ for (const mt of it) be.push($e(ke.id, Ae, mt, ke.tags));
12902
12902
  continue;
12903
12903
  }
12904
- Ae !== "LineString" && Ae !== "MultiLineString" || (it.length === 1 ? (Ae = "LineString", it = it[0]) : Ae = "MultiLineString"), Ae !== "Point" && Ae !== "MultiPoint" || (Ae = it.length === 3 ? "Point" : "MultiPoint"), be.push(tt(ke.id, Ae, it, ke.tags));
12904
+ Ae !== "LineString" && Ae !== "MultiLineString" || (it.length === 1 ? (Ae = "LineString", it = it[0]) : Ae = "MultiLineString"), Ae !== "Point" && Ae !== "MultiPoint" || (Ae = it.length === 3 ? "Point" : "MultiPoint"), be.push($e(ke.id, Ae, it, ke.tags));
12905
12905
  }
12906
12906
  }
12907
12907
  return be.length ? be : null;
12908
12908
  }
12909
- function dr(we, X, K, te, he) {
12909
+ function sr(we, X, K, te, he) {
12910
12910
  for (let ve = 0; ve < we.length; ve += 3) {
12911
12911
  const ee = we[ve + he];
12912
12912
  ee >= K && ee <= te && ni(X, we[ve], we[ve + 1], we[ve + 2]);
@@ -12922,8 +12922,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12922
12922
  ee && (ke = Math.sqrt(Math.pow(bt - Nt, 2) + Math.pow(Oe - Qt, 2))), xt < K ? je > K && (Me = be(Ie, bt, Oe, Nt, Qt, K), ee && (Ie.start = Ae + ke * Me)) : xt > te ? je < te && (Me = be(Ie, bt, Oe, Nt, Qt, te), ee && (Ie.start = Ae + ke * Me)) : ni(Ie, bt, Oe, rr), je < K && xt >= K && (Me = be(Ie, bt, Oe, Nt, Qt, K), _t = !0), je > te && xt <= te && (Me = be(Ie, bt, Oe, Nt, Qt, te), _t = !0), !ve && _t && (ee && (Ie.end = Ae + ke * Me), X.push(Ie), Ie = br(we)), ee && (Ae += ke);
12923
12923
  }
12924
12924
  let We = we.length - 3;
12925
- const et = we[We], it = we[We + 1], mt = he === 0 ? et : it;
12926
- mt >= K && mt <= te && ni(Ie, et, it, we[We + 2]), We = Ie.length - 3, ve && We >= 3 && (Ie[We] !== Ie[0] || Ie[We + 1] !== Ie[1]) && ni(Ie, Ie[0], Ie[1], Ie[2]), Ie.length && X.push(Ie);
12925
+ const tt = we[We], it = we[We + 1], mt = he === 0 ? tt : it;
12926
+ mt >= K && mt <= te && ni(Ie, tt, it, we[We + 2]), We = Ie.length - 3, ve && We >= 3 && (Ie[We] !== Ie[0] || Ie[We + 1] !== Ie[1]) && ni(Ie, Ie[0], Ie[1], Ie[2]), Ie.length && X.push(Ie);
12927
12927
  }
12928
12928
  function br(we) {
12929
12929
  const X = [];
@@ -12960,7 +12960,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12960
12960
  ee.push(be);
12961
12961
  }
12962
12962
  }
12963
- K.push(tt(he.id, ve, ee, he.tags));
12963
+ K.push($e(he.id, ve, ee, he.tags));
12964
12964
  }
12965
12965
  return K;
12966
12966
  }
@@ -13019,26 +13019,26 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13019
13019
  for (let be = 0; be < X.length; be += 3) (te === 0 || X[be + 2] > ee) && (K.numSimplified++, Ie.push(X[be], X[be + 1])), K.numPoints++;
13020
13020
  he && function(be, ke) {
13021
13021
  let Me = 0;
13022
- for (let Ae = 0, We = be.length, et = We - 2; Ae < We; et = Ae, Ae += 2) Me += (be[Ae] - be[et]) * (be[Ae + 1] + be[et + 1]);
13022
+ for (let Ae = 0, We = be.length, tt = We - 2; Ae < We; tt = Ae, Ae += 2) Me += (be[Ae] - be[tt]) * (be[Ae + 1] + be[tt + 1]);
13023
13023
  if (Me > 0 === ke) for (let Ae = 0, We = be.length; Ae < We / 2; Ae += 2) {
13024
- const et = be[Ae], it = be[Ae + 1];
13025
- be[Ae] = be[We - 2 - Ae], be[Ae + 1] = be[We - 1 - Ae], be[We - 2 - Ae] = et, be[We - 1 - Ae] = it;
13024
+ const tt = be[Ae], it = be[Ae + 1];
13025
+ be[Ae] = be[We - 2 - Ae], be[Ae + 1] = be[We - 1 - Ae], be[We - 2 - Ae] = tt, be[We - 1 - Ae] = it;
13026
13026
  }
13027
13027
  }(Ie, ve), we.push(Ie);
13028
13028
  }
13029
- const ur = { maxZoom: 14, indexMaxZoom: 5, indexMaxPoints: 1e5, tolerance: 3, extent: 4096, buffer: 64, lineMetrics: !1, promoteId: null, generateId: !1, debug: 0 };
13029
+ const hr = { maxZoom: 14, indexMaxZoom: 5, indexMaxPoints: 1e5, tolerance: 3, extent: 4096, buffer: 64, lineMetrics: !1, promoteId: null, generateId: !1, debug: 0 };
13030
13030
  class di {
13031
13031
  constructor(X, K) {
13032
13032
  const te = (K = this.options = function(ve, ee) {
13033
13033
  for (const Ie in ee) ve[Ie] = ee[Ie];
13034
13034
  return ve;
13035
- }(Object.create(ur), K)).debug;
13035
+ }(Object.create(hr), K)).debug;
13036
13036
  if (te && console.time("preprocess data"), K.maxZoom < 0 || K.maxZoom > 24) throw new Error("maxZoom should be in the 0-24 range");
13037
13037
  if (K.promoteId && K.generateId) throw new Error("promoteId and generateId cannot be used together.");
13038
13038
  let he = function(ve, ee) {
13039
13039
  const Ie = [];
13040
- if (ve.type === "FeatureCollection") for (let be = 0; be < ve.features.length; be++) lt(Ie, ve.features[be], ee, be);
13041
- else lt(Ie, ve.type === "Feature" ? ve : { geometry: ve }, ee);
13040
+ if (ve.type === "FeatureCollection") for (let be = 0; be < ve.features.length; be++) ht(Ie, ve.features[be], ee, be);
13041
+ else ht(Ie, ve.type === "Feature" ? ve : { geometry: ve }, ee);
13042
13042
  return Ie;
13043
13043
  }(X, K);
13044
13044
  this.tiles = {}, this.tileCoords = [], te && (console.timeEnd("preprocess data"), console.log("index: maxZoom: %d, maxPoints: %d", K.indexMaxZoom, K.indexMaxPoints), console.time("generate tiles"), this.stats = {}, this.total = 0), he = function(ve, ee) {
@@ -13053,14 +13053,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13053
13053
  for (; be.length; ) {
13054
13054
  he = be.pop(), te = be.pop(), K = be.pop(), X = be.pop();
13055
13055
  const Ae = 1 << K, We = fi(K, te, he);
13056
- let et = this.tiles[We];
13057
- if (!et && (Me > 1 && console.time("creation"), et = this.tiles[We] = Er(X, K, te, he, ke), this.tileCoords.push({ z: K, x: te, y: he }), Me)) {
13058
- Me > 1 && (console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)", K, te, he, et.numFeatures, et.numPoints, et.numSimplified), console.timeEnd("creation"));
13056
+ let tt = this.tiles[We];
13057
+ if (!tt && (Me > 1 && console.time("creation"), tt = this.tiles[We] = Er(X, K, te, he, ke), this.tileCoords.push({ z: K, x: te, y: he }), Me)) {
13058
+ Me > 1 && (console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)", K, te, he, tt.numFeatures, tt.numPoints, tt.numSimplified), console.timeEnd("creation"));
13059
13059
  const _t = `z${K}`;
13060
13060
  this.stats[_t] = (this.stats[_t] || 0) + 1, this.total++;
13061
13061
  }
13062
- if (et.source = X, ve == null) {
13063
- if (K === ke.indexMaxZoom || et.numPoints <= ke.indexMaxPoints) continue;
13062
+ if (tt.source = X, ve == null) {
13063
+ if (K === ke.indexMaxZoom || tt.numPoints <= ke.indexMaxPoints) continue;
13064
13064
  } else {
13065
13065
  if (K === ke.maxZoom || K === ve) continue;
13066
13066
  if (ve != null) {
@@ -13068,11 +13068,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13068
13068
  if (te !== ee >> _t || he !== Ie >> _t) continue;
13069
13069
  }
13070
13070
  }
13071
- if (et.source = null, X.length === 0) continue;
13071
+ if (tt.source = null, X.length === 0) continue;
13072
13072
  Me > 1 && console.time("clipping");
13073
13073
  const it = 0.5 * ke.buffer / ke.extent, mt = 0.5 - it, It = 0.5 + it, bt = 1 + it;
13074
- let Oe = null, rr = null, Nt = null, Qt = null, xt = Pt(X, Ae, te - it, te + It, 0, et.minX, et.maxX, ke), je = Pt(X, Ae, te + mt, te + bt, 0, et.minX, et.maxX, ke);
13075
- X = null, xt && (Oe = Pt(xt, Ae, he - it, he + It, 1, et.minY, et.maxY, ke), rr = Pt(xt, Ae, he + mt, he + bt, 1, et.minY, et.maxY, ke), xt = null), je && (Nt = Pt(je, Ae, he - it, he + It, 1, et.minY, et.maxY, ke), Qt = Pt(je, Ae, he + mt, he + bt, 1, et.minY, et.maxY, ke), je = null), Me > 1 && console.timeEnd("clipping"), be.push(Oe || [], K + 1, 2 * te, 2 * he), be.push(rr || [], K + 1, 2 * te, 2 * he + 1), be.push(Nt || [], K + 1, 2 * te + 1, 2 * he), be.push(Qt || [], K + 1, 2 * te + 1, 2 * he + 1);
13074
+ let Oe = null, rr = null, Nt = null, Qt = null, xt = Pt(X, Ae, te - it, te + It, 0, tt.minX, tt.maxX, ke), je = Pt(X, Ae, te + mt, te + bt, 0, tt.minX, tt.maxX, ke);
13075
+ X = null, xt && (Oe = Pt(xt, Ae, he - it, he + It, 1, tt.minY, tt.maxY, ke), rr = Pt(xt, Ae, he + mt, he + bt, 1, tt.minY, tt.maxY, ke), xt = null), je && (Nt = Pt(je, Ae, he - it, he + It, 1, tt.minY, tt.maxY, ke), Qt = Pt(je, Ae, he + mt, he + bt, 1, tt.minY, tt.maxY, ke), je = null), Me > 1 && console.timeEnd("clipping"), be.push(Oe || [], K + 1, 2 * te, 2 * he), be.push(rr || [], K + 1, 2 * te, 2 * he + 1), be.push(Nt || [], K + 1, 2 * te + 1, 2 * he), be.push(Qt || [], K + 1, 2 * te + 1, 2 * he + 1);
13076
13076
  }
13077
13077
  }
13078
13078
  getTile(X, K, te) {
@@ -13138,18 +13138,18 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13138
13138
  this._pendingData = this.loadAndProcessGeoJSON(X, this._pendingRequest), this._geoJSONIndex = X.cluster ? new Or(function({ superclusterOptions: ee, clusterProperties: Ie }) {
13139
13139
  if (!Ie || !ee) return ee;
13140
13140
  const be = {}, ke = {}, Me = { accumulated: null, zoom: 0 }, Ae = { properties: null }, We = Object.keys(Ie);
13141
- for (const et of We) {
13142
- const [it, mt] = Ie[et], It = v.cL(mt), bt = v.cL(typeof it == "string" ? [it, ["accumulated"], ["get", et]] : it);
13143
- be[et] = It.value, ke[et] = bt.value;
13141
+ for (const tt of We) {
13142
+ const [it, mt] = Ie[tt], It = v.cL(mt), bt = v.cL(typeof it == "string" ? [it, ["accumulated"], ["get", tt]] : it);
13143
+ be[tt] = It.value, ke[tt] = bt.value;
13144
13144
  }
13145
- return ee.map = (et) => {
13146
- Ae.properties = et;
13145
+ return ee.map = (tt) => {
13146
+ Ae.properties = tt;
13147
13147
  const it = {};
13148
13148
  for (const mt of We) it[mt] = be[mt].evaluate(Me, Ae);
13149
13149
  return it;
13150
- }, ee.reduce = (et, it) => {
13150
+ }, ee.reduce = (tt, it) => {
13151
13151
  Ae.properties = it;
13152
- for (const mt of We) Me.accumulated = et[mt], et[mt] = ke[mt].evaluate(Me, Ae);
13152
+ for (const mt of We) Me.accumulated = tt[mt], tt[mt] = ke[mt].evaluate(Me, Ae);
13153
13153
  }, ee;
13154
13154
  }(X)).load((yield this._pendingData).features) : (he = yield this._pendingData, new di(he, X.geojsonVtOptions)), this.loaded = {};
13155
13155
  const ve = {};
@@ -13211,8 +13211,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13211
13211
  if (ve.update) for (const Ae of ve.update) {
13212
13212
  let We = he.get(Ae.id);
13213
13213
  if (We == null) continue;
13214
- const et = !Ae.removeAllProperties && (((Ie = Ae.removeProperties) === null || Ie === void 0 ? void 0 : Ie.length) > 0 || ((be = Ae.addOrUpdateProperties) === null || be === void 0 ? void 0 : be.length) > 0);
13215
- if ((Ae.newGeometry || Ae.removeAllProperties || et) && (We = Object.assign({}, We), he.set(Ae.id, We), et && (We.properties = Object.assign({}, We.properties))), Ae.newGeometry && (We.geometry = Ae.newGeometry), Ae.removeAllProperties) We.properties = {};
13214
+ const tt = !Ae.removeAllProperties && (((Ie = Ae.removeProperties) === null || Ie === void 0 ? void 0 : Ie.length) > 0 || ((be = Ae.addOrUpdateProperties) === null || be === void 0 ? void 0 : be.length) > 0);
13215
+ if ((Ae.newGeometry || Ae.removeAllProperties || tt) && (We = Object.assign({}, We), he.set(Ae.id, We), tt && (We.properties = Object.assign({}, We.properties))), Ae.newGeometry && (We.geometry = Ae.newGeometry), Ae.removeAllProperties) We.properties = {};
13216
13216
  else if (((ke = Ae.removeProperties) === null || ke === void 0 ? void 0 : ke.length) > 0) for (const it of Ae.removeProperties) Object.prototype.hasOwnProperty.call(We.properties, it) && delete We.properties[it];
13217
13217
  if (((Me = Ae.addOrUpdateProperties) === null || Me === void 0 ? void 0 : Me.length) > 0) for (const { key: it, value: mt } of Ae.addOrUpdateProperties) We.properties[it] = mt;
13218
13218
  }
@@ -13933,9 +13933,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13933
13933
  }
13934
13934
  }
13935
13935
  const $n = Math.floor(M.hardwareConcurrency / 2);
13936
- let tt, rt;
13937
- function lt() {
13938
- return tt || (tt = new qi()), tt;
13936
+ let $e, rt;
13937
+ function ht() {
13938
+ return $e || ($e = new qi()), $e;
13939
13939
  }
13940
13940
  qi.workerCount = s.G(globalThis) ? Math.max(Math.min($n, 3), 1) : 1;
13941
13941
  class wt {
@@ -13965,8 +13965,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13965
13965
  for (const a of this.actors) a.registerMessageHandler(e, r);
13966
13966
  }
13967
13967
  }
13968
- function ct() {
13969
- return rt || (rt = new wt(lt(), s.J), rt.registerMessageHandler("GR", (u, e, r) => s.m(e, r))), rt;
13968
+ function lt() {
13969
+ return rt || (rt = new wt(ht(), s.J), rt.registerMessageHandler("GR", (u, e, r) => s.m(e, r))), rt;
13970
13970
  }
13971
13971
  function St(u, e) {
13972
13972
  const r = s.K();
@@ -14011,7 +14011,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14011
14011
  const r = u.feature, a = e.getFeatureState(r.layer["source-layer"], r.id);
14012
14012
  r.source = r.layer.source, r.layer["source-layer"] && (r.sourceLayer = r.layer["source-layer"]), r.state = a;
14013
14013
  }
14014
- function dr(u, e, r) {
14014
+ function sr(u, e, r) {
14015
14015
  return s._(this, void 0, void 0, function* () {
14016
14016
  let a = u;
14017
14017
  if (u.url ? a = (yield s.j(e.transformRequest(u.url, "Source"), r)).data : yield M.frameAsync(r), !a) return null;
@@ -14113,7 +14113,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14113
14113
  return s._(this, void 0, void 0, function* () {
14114
14114
  this._loaded = !1, this.fire(new s.l("dataloading", { dataType: "source" })), this._tileJSONRequest = new AbortController();
14115
14115
  try {
14116
- const e = yield dr(this._options, this.map._requestManager, this._tileJSONRequest);
14116
+ const e = yield sr(this._options, this.map._requestManager, this._tileJSONRequest);
14117
14117
  this._tileJSONRequest = null, this._loaded = !0, this.map.style.sourceCaches[this.id].clearTiles(), e && (s.e(this, e), e.bounds && (this.tileBounds = new br(e.bounds, this.minzoom, this.maxzoom)), this.fire(new s.l("data", { dataType: "source", sourceDataType: "metadata" })), this.fire(new s.l("data", { dataType: "source", sourceDataType: "content" })));
14118
14118
  } catch (e) {
14119
14119
  this._tileJSONRequest = null, this.fire(new s.k(e));
@@ -14198,7 +14198,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14198
14198
  return s._(this, arguments, void 0, function* (e = !1) {
14199
14199
  this._loaded = !1, this.fire(new s.l("dataloading", { dataType: "source" })), this._tileJSONRequest = new AbortController();
14200
14200
  try {
14201
- const r = yield dr(this._options, this.map._requestManager, this._tileJSONRequest);
14201
+ const r = yield sr(this._options, this.map._requestManager, this._tileJSONRequest);
14202
14202
  this._tileJSONRequest = null, this._loaded = !0, r && (s.e(this, r), r.bounds && (this.tileBounds = new br(r.bounds, this.minzoom, this.maxzoom)), this.fire(new s.l("data", { dataType: "source", sourceDataType: "metadata" })), this.fire(new s.l("data", { dataType: "source", sourceDataType: "content", sourceDataChanged: e })));
14203
14203
  } catch (r) {
14204
14204
  this._tileJSONRequest = null, this.fire(new s.k(r));
@@ -14624,7 +14624,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14624
14624
  }, wr = "RTLPluginLoaded";
14625
14625
  class Nr extends s.E {
14626
14626
  constructor() {
14627
- super(...arguments), this.status = "unavailable", this.url = null, this.dispatcher = ct();
14627
+ super(...arguments), this.status = "unavailable", this.url = null, this.dispatcher = lt();
14628
14628
  }
14629
14629
  _syncState(e) {
14630
14630
  return this.status = e, this.dispatcher.broadcast("SRPS", { pluginStatus: e, pluginURL: this.url }).catch((r) => {
@@ -14656,9 +14656,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14656
14656
  this.status === "unavailable" ? this.status = "requested" : this.status === "deferred" && this._requestImport();
14657
14657
  }
14658
14658
  }
14659
- let ur = null;
14659
+ let hr = null;
14660
14660
  function di() {
14661
- return ur || (ur = new Nr()), ur;
14661
+ return hr || (hr = new Nr()), hr;
14662
14662
  }
14663
14663
  class fi {
14664
14664
  constructor(e, r) {
@@ -14986,11 +14986,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14986
14986
  const ze = g.distanceToTile2d(l.x, l.y, qe, Re);
14987
14987
  let De = S;
14988
14988
  x && (De = (e.calculateTileZoom || ee)(u.zoom + s.ah(u.tileSize / e.tileSize), ze, ie, oe, u.fov)), De = (e.roundZoom ? Math.round : Math.floor)(De), De = Math.max(0, De);
14989
- const $e = Math.min(De, z);
14990
- if (ge.wrap = g.getWrap(h, qe, ge.wrap), ge.zoom >= $e) {
14989
+ const et = Math.min(De, z);
14990
+ if (ge.wrap = g.getWrap(h, qe, ge.wrap), ge.zoom >= et) {
14991
14991
  if (ge.zoom < I) continue;
14992
- const Ye = V - ge.zoom, Ke = H[0] - 0.5 - (xe << Ye), ut = H[1] - 0.5 - (ye << Ye), zt = e.reparseOverscaled ? Math.max(ge.zoom, De) : ge.zoom;
14993
- fe.push({ tileID: new s.Y(ge.zoom === z ? zt : ge.zoom, ge.wrap, ge.zoom, xe, ye), distanceSq: s.ai([G[0] - 0.5 - xe, G[1] - 0.5 - ye]), tileDistanceToCamera: Math.sqrt(Ke * Ke + ut * ut) });
14992
+ const Ye = V - ge.zoom, Ke = H[0] - 0.5 - (xe << Ye), ct = H[1] - 0.5 - (ye << Ye), zt = e.reparseOverscaled ? Math.max(ge.zoom, De) : ge.zoom;
14993
+ fe.push({ tileID: new s.Y(ge.zoom === z ? zt : ge.zoom, ge.wrap, ge.zoom, xe, ye), distanceSq: s.ai([G[0] - 0.5 - xe, G[1] - 0.5 - ye]), tileDistanceToCamera: Math.sqrt(Ke * Ke + ct * ct) });
14994
14994
  } else for (let Ye = 0; Ye < 4; Ye++) me.push({ zoom: ge.zoom + 1, x: (xe << 1) + Ye % 2, y: (ye << 1) + (Ye >> 1), wrap: ge.wrap, fullyVisible: Ce });
14995
14995
  }
14996
14996
  return fe.sort((ge, xe) => ge.distanceSq - xe.distanceSq).map((ge) => ge.tileID);
@@ -15385,7 +15385,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15385
15385
  return this.points[h].mult(1 - S).add(this.points[r].mult(S));
15386
15386
  }
15387
15387
  }
15388
- function et(u, e) {
15388
+ function tt(u, e) {
15389
15389
  let r = !0;
15390
15390
  return u === "always" || u !== "never" && e !== "never" || (r = !1), r;
15391
15391
  }
@@ -15443,7 +15443,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15443
15443
  for (const ne of F) if (!I.box[ne]) {
15444
15444
  I.box[ne] = !0;
15445
15445
  const ie = 4 * ne, oe = this.boxKeys[ne];
15446
- if (e <= G[ie + 2] && r <= G[ie + 3] && a >= G[ie + 0] && l >= G[ie + 1] && (!S || S(oe)) && (!z || !et(V, oe.overlapMode)) && (g.push({ key: oe, x1: G[ie], y1: G[ie + 1], x2: G[ie + 2], y2: G[ie + 3] }), z)) return !0;
15446
+ if (e <= G[ie + 2] && r <= G[ie + 3] && a >= G[ie + 0] && l >= G[ie + 1] && (!S || S(oe)) && (!z || !tt(V, oe.overlapMode)) && (g.push({ key: oe, x1: G[ie], y1: G[ie + 1], x2: G[ie + 2], y2: G[ie + 3] }), z)) return !0;
15447
15447
  }
15448
15448
  }
15449
15449
  const H = this.circleCells[h];
@@ -15452,7 +15452,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15452
15452
  for (const ne of H) if (!I.circle[ne]) {
15453
15453
  I.circle[ne] = !0;
15454
15454
  const ie = 3 * ne, oe = this.circleKeys[ne];
15455
- if (this._circleAndRectCollide(G[ie], G[ie + 1], G[ie + 2], e, r, a, l) && (!S || S(oe)) && (!z || !et(V, oe.overlapMode))) {
15455
+ if (this._circleAndRectCollide(G[ie], G[ie + 1], G[ie + 2], e, r, a, l) && (!S || S(oe)) && (!z || !tt(V, oe.overlapMode))) {
15456
15456
  const ce = G[ie], me = G[ie + 1], fe = G[ie + 2];
15457
15457
  if (g.push({ key: oe, x1: ce - fe, y1: me - fe, x2: ce + fe, y2: me + fe }), z) return !0;
15458
15458
  }
@@ -15467,7 +15467,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15467
15467
  for (const ne of F) if (!z.box[ne]) {
15468
15468
  z.box[ne] = !0;
15469
15469
  const ie = 4 * ne, oe = this.boxKeys[ne];
15470
- if (this._circleAndRectCollide(I.x, I.y, I.radius, G[ie + 0], G[ie + 1], G[ie + 2], G[ie + 3]) && (!S || S(oe)) && !et(V, oe.overlapMode)) return g.push(!0), !0;
15470
+ if (this._circleAndRectCollide(I.x, I.y, I.radius, G[ie + 0], G[ie + 1], G[ie + 2], G[ie + 3]) && (!S || S(oe)) && !tt(V, oe.overlapMode)) return g.push(!0), !0;
15471
15471
  }
15472
15472
  }
15473
15473
  const H = this.circleCells[h];
@@ -15476,7 +15476,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15476
15476
  for (const ne of H) if (!z.circle[ne]) {
15477
15477
  z.circle[ne] = !0;
15478
15478
  const ie = 3 * ne, oe = this.circleKeys[ne];
15479
- if (this._circlesCollide(G[ie], G[ie + 1], G[ie + 2], I.x, I.y, I.radius) && (!S || S(oe)) && !et(V, oe.overlapMode)) return g.push(!0), !0;
15479
+ if (this._circlesCollide(G[ie], G[ie + 1], G[ie + 2], I.x, I.y, I.radius) && (!S || S(oe)) && !tt(V, oe.overlapMode)) return g.push(!0), !0;
15480
15480
  }
15481
15481
  }
15482
15482
  }
@@ -15563,8 +15563,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15563
15563
  Sn(xe.numGlyphs, ie);
15564
15564
  continue;
15565
15565
  }
15566
- const Re = rr(e.transform.cameraToCenterDistance, qe.signedDistanceFromCamera), ze = s.am(H, G, xe), De = h ? ze * e.transform.getPitchedTextCorrection(xe.anchorX, xe.anchorY, S) / Re : ze * Re, $e = _t({ projectionContext: Ce, pitchedLabelPlaneMatrixInverse: l, symbol: xe, fontSize: De, flip: !1, keepUpright: g, glyphOffsetArray: u.glyphOffsetArray, dynamicLayoutVertexArray: ie, aspectRatio: me, rotateToLine: x });
15567
- fe = $e.useVertical, ($e.notEnoughRoom || fe || $e.needsFlipping && _t({ projectionContext: Ce, pitchedLabelPlaneMatrixInverse: l, symbol: xe, fontSize: De, flip: !0, keepUpright: g, glyphOffsetArray: u.glyphOffsetArray, dynamicLayoutVertexArray: ie, aspectRatio: me, rotateToLine: x }).notEnoughRoom) && Sn(xe.numGlyphs, ie);
15566
+ const Re = rr(e.transform.cameraToCenterDistance, qe.signedDistanceFromCamera), ze = s.am(H, G, xe), De = h ? ze * e.transform.getPitchedTextCorrection(xe.anchorX, xe.anchorY, S) / Re : ze * Re, et = _t({ projectionContext: Ce, pitchedLabelPlaneMatrixInverse: l, symbol: xe, fontSize: De, flip: !1, keepUpright: g, glyphOffsetArray: u.glyphOffsetArray, dynamicLayoutVertexArray: ie, aspectRatio: me, rotateToLine: x });
15567
+ fe = et.useVertical, (et.notEnoughRoom || fe || et.needsFlipping && _t({ projectionContext: Ce, pitchedLabelPlaneMatrixInverse: l, symbol: xe, fontSize: De, flip: !0, keepUpright: g, glyphOffsetArray: u.glyphOffsetArray, dynamicLayoutVertexArray: ie, aspectRatio: me, rotateToLine: x }).notEnoughRoom) && Sn(xe.numGlyphs, ie);
15568
15568
  }
15569
15569
  r ? u.text.dynamicLayoutVertexBuffer.updateData(ie) : u.icon.dynamicLayoutVertexBuffer.updateData(ie);
15570
15570
  }
@@ -15696,30 +15696,30 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15696
15696
  const ne = [], ie = new s.P(r.anchorX, r.anchorY), oe = this.getPerspectiveRatio(ie.x, ie.y, g, G), ce = (I ? h * this.transform.getPitchedTextCorrection(r.anchorX, r.anchorY, g) / oe : h * oe) / s.ay, me = { getElevation: G, pitchedLabelPlaneMatrix: x, lineVertexArray: a, pitchWithMap: I, projectionCache: { projections: {}, offsets: {}, cachedAnchorPoint: void 0, anyProjectionOccluded: !1 }, transform: this.transform, tileAnchorPoint: ie, unwrappedTileID: g, width: this.transform.width, height: this.transform.height, translation: H }, fe = xt(ce, l, r.lineOffsetX * ce, r.lineOffsetY * ce, !1, r, !1, me);
15697
15697
  let ge = !1, xe = !1, ye = !0;
15698
15698
  if (fe) {
15699
- const Ce = 0.5 * V * oe + F, qe = new s.P(-100, -100), Re = new s.P(this.screenRightBoundary, this.screenBottomBoundary), ze = new We(), De = fe.first, $e = fe.last;
15699
+ const Ce = 0.5 * V * oe + F, qe = new s.P(-100, -100), Re = new s.P(this.screenRightBoundary, this.screenBottomBoundary), ze = new We(), De = fe.first, et = fe.last;
15700
15700
  let Ye = [];
15701
15701
  for (let zt = De.path.length - 1; zt >= 1; zt--) Ye.push(De.path[zt]);
15702
- for (let zt = 1; zt < $e.path.length; zt++) Ye.push($e.path[zt]);
15702
+ for (let zt = 1; zt < et.path.length; zt++) Ye.push(et.path[zt]);
15703
15703
  const Ke = 2.5 * Ce;
15704
15704
  if (I) {
15705
15705
  const zt = this.projectPathToScreenSpace(Ye, me);
15706
15706
  Ye = zt.some((Ht) => Ht.signedDistanceFromCamera <= 0) ? [] : zt.map((Ht) => Ht.point);
15707
15707
  }
15708
- let ut = [];
15708
+ let ct = [];
15709
15709
  if (Ye.length > 0) {
15710
15710
  const zt = Ye[0].clone(), Ht = Ye[0].clone();
15711
15711
  for (let Ar = 1; Ar < Ye.length; Ar++) zt.x = Math.min(zt.x, Ye[Ar].x), zt.y = Math.min(zt.y, Ye[Ar].y), Ht.x = Math.max(Ht.x, Ye[Ar].x), Ht.y = Math.max(Ht.y, Ye[Ar].y);
15712
- ut = zt.x >= qe.x && Ht.x <= Re.x && zt.y >= qe.y && Ht.y <= Re.y ? [Ye] : Ht.x < qe.x || zt.x > Re.x || Ht.y < qe.y || zt.y > Re.y ? [] : s.av([Ye], qe.x, qe.y, Re.x, Re.y);
15712
+ ct = zt.x >= qe.x && Ht.x <= Re.x && zt.y >= qe.y && Ht.y <= Re.y ? [Ye] : Ht.x < qe.x || zt.x > Re.x || Ht.y < qe.y || zt.y > Re.y ? [] : s.av([Ye], qe.x, qe.y, Re.x, Re.y);
15713
15713
  }
15714
- for (const zt of ut) {
15714
+ for (const zt of ct) {
15715
15715
  ze.reset(zt, 0.25 * Ce);
15716
15716
  let Ht = 0;
15717
15717
  Ht = ze.length <= 0.5 * Ce ? 1 : Math.ceil(ze.paddedLength / Ke) + 1;
15718
15718
  for (let Ar = 0; Ar < Ht; Ar++) {
15719
- const lr = Ar / Math.max(Ht - 1, 1), kr = ze.lerp(lr), Tr = kr.x + jr, hr = kr.y + jr;
15720
- ne.push(Tr, hr, Ce, 0);
15721
- const Yt = Tr - Ce, ei = hr - Ce, ai = Tr + Ce, yi = hr + Ce;
15722
- if (ye = ye && this.isOffscreen(Yt, ei, ai, yi), xe = xe || this.isInsideGrid(Yt, ei, ai, yi), e !== "always" && this.grid.hitTestCircle(Tr, hr, Ce, e, z) && (ge = !0, !S)) return { circles: [], offscreen: !1, collisionDetected: ge };
15719
+ const cr = Ar / Math.max(Ht - 1, 1), kr = ze.lerp(cr), Tr = kr.x + jr, pr = kr.y + jr;
15720
+ ne.push(Tr, pr, Ce, 0);
15721
+ const Yt = Tr - Ce, ei = pr - Ce, ai = Tr + Ce, yi = pr + Ce;
15722
+ if (ye = ye && this.isOffscreen(Yt, ei, ai, yi), xe = xe || this.isInsideGrid(Yt, ei, ai, yi), e !== "always" && this.grid.hitTestCircle(Tr, pr, Ce, e, z) && (ge = !0, !S)) return { circles: [], offscreen: !1, collisionDetected: ge };
15723
15723
  }
15724
15724
  }
15725
15725
  }
@@ -15793,7 +15793,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15793
15793
  let F = 1, H = 0, G = 0, ne = 1;
15794
15794
  const ie = e.anchorPointX + x[0], oe = e.anchorPointY + x[1];
15795
15795
  if (g && !h) {
15796
- const Ye = this.projectAndGetPerspectiveRatio(ie + 1, oe, l, I, V), Ke = Ye.x - S.x, ut = Math.atan((Ye.y - S.y) / Ke) + (Ke < 0 ? Math.PI : 0), zt = Math.sin(ut), Ht = Math.cos(ut);
15796
+ const Ye = this.projectAndGetPerspectiveRatio(ie + 1, oe, l, I, V), Ke = Ye.x - S.x, ct = Math.atan((Ye.y - S.y) / Ke) + (Ke < 0 ? Math.PI : 0), zt = Math.sin(ct), Ht = Math.cos(ct);
15797
15797
  F = Ht, H = zt, G = -zt, ne = Ht;
15798
15798
  } else if (!g && h) {
15799
15799
  const Ye = bt(this.transform);
@@ -15804,12 +15804,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15804
15804
  const ge = e.x1 * fe, xe = e.x2 * fe, ye = (ge + xe) / 2, Ce = e.y1 * fe, qe = e.y2 * fe, Re = (Ce + qe) / 2, ze = [{ offsetX: ge, offsetY: Ce }, { offsetX: ye, offsetY: Ce }, { offsetX: xe, offsetY: Ce }, { offsetX: xe, offsetY: Re }, { offsetX: xe, offsetY: qe }, { offsetX: ye, offsetY: qe }, { offsetX: ge, offsetY: qe }, { offsetX: ge, offsetY: Re }];
15805
15805
  let De = [];
15806
15806
  for (const { offsetX: Ye, offsetY: Ke } of ze) De.push(new s.P(ce + F * Ye + G * Ke, me + H * Ye + ne * Ke));
15807
- let $e = !1;
15807
+ let et = !1;
15808
15808
  if (h) {
15809
15809
  const Ye = De.map((Ke) => this.projectAndGetPerspectiveRatio(Ke.x, Ke.y, l, I, V));
15810
- $e = Ye.some((Ke) => !Ke.isOccluded), De = Ye.map((Ke) => new s.P(Ke.x, Ke.y));
15811
- } else $e = !0;
15812
- return { box: s.ax(De), allPointsOccluded: !$e };
15810
+ et = Ye.some((Ke) => !Ke.isOccluded), De = Ye.map((Ke) => new s.P(Ke.x, Ke.y));
15811
+ } else et = !0;
15812
+ return { box: s.ax(De), allPointsOccluded: !et };
15813
15813
  }
15814
15814
  }
15815
15815
  class vr {
@@ -15886,13 +15886,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15886
15886
  placeLayerBucketPart(e, r, a) {
15887
15887
  const { bucket: l, layout: h, translationText: g, translationIcon: x, unwrappedTileID: S, pitchedLabelPlaneMatrix: I, textPixelRatio: z, holdingForFade: V, collisionBoxArray: F, partiallyEvaluatedTextSize: H, collisionGroup: G } = e.parameters, ne = h.get("text-optional"), ie = h.get("icon-optional"), oe = s.aC(h, "text-overlap", "text-allow-overlap"), ce = oe === "always", me = s.aC(h, "icon-overlap", "icon-allow-overlap"), fe = me === "always", ge = h.get("text-rotation-alignment") === "map", xe = h.get("text-pitch-alignment") === "map", ye = h.get("icon-text-fit") !== "none", Ce = h.get("symbol-z-order") === "viewport-y", qe = ce && (fe || !l.hasIconData() || ie), Re = fe && (ce || !l.hasTextData() || ne);
15888
15888
  !l.collisionArrays && F && l.deserializeCollisionBoxes(F);
15889
- const ze = this.retainedQueryData[l.bucketInstanceId].tileID, De = this._getTerrainElevationFunc(ze), $e = this.transform.getFastPathSimpleProjectionMatrix(ze), Ye = (Ke, ut, zt) => {
15889
+ const ze = this.retainedQueryData[l.bucketInstanceId].tileID, De = this._getTerrainElevationFunc(ze), et = this.transform.getFastPathSimpleProjectionMatrix(ze), Ye = (Ke, ct, zt) => {
15890
15890
  var Ht, Ar;
15891
15891
  if (r[Ke.crossTileID]) return;
15892
15892
  if (V) return void (this.placements[Ke.crossTileID] = new As(!1, !1, !1));
15893
- let lr = !1, kr = !1, Tr = !0, hr = null, Yt = { box: null, placeable: !1, offscreen: null, occluded: !1 }, ei = { placeable: !1 }, ai = null, yi = null, $t = null, Nn = 0, bn = 0, jn = 0;
15894
- ut.textFeatureIndex ? Nn = ut.textFeatureIndex : Ke.useRuntimeCollisionCircles && (Nn = Ke.featureIndex), ut.verticalTextFeatureIndex && (bn = ut.verticalTextFeatureIndex);
15895
- const gs = ut.textBox;
15893
+ let cr = !1, kr = !1, Tr = !0, pr = null, Yt = { box: null, placeable: !1, offscreen: null, occluded: !1 }, ei = { placeable: !1 }, ai = null, yi = null, $t = null, Nn = 0, bn = 0, jn = 0;
15894
+ ct.textFeatureIndex ? Nn = ct.textFeatureIndex : Ke.useRuntimeCollisionCircles && (Nn = Ke.featureIndex), ct.verticalTextFeatureIndex && (bn = ct.verticalTextFeatureIndex);
15895
+ const gs = ct.textBox;
15896
15896
  if (gs) {
15897
15897
  const Hi = (Jr) => {
15898
15898
  let Xr = s.al.horizontal;
@@ -15902,17 +15902,17 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15902
15902
  }
15903
15903
  return Xr;
15904
15904
  }, Hn = (Jr, Xr) => {
15905
- if (l.allowVerticalPlacement && Ke.numVerticalGlyphVertices > 0 && ut.verticalTextBox) {
15905
+ if (l.allowVerticalPlacement && Ke.numVerticalGlyphVertices > 0 && ct.verticalTextBox) {
15906
15906
  for (const Li of l.writingModes) if (Li === s.al.vertical ? (Yt = Xr(), ei = Yt) : Yt = Jr(), Yt && Yt.placeable) break;
15907
15907
  } else Yt = Jr();
15908
15908
  }, Cn = Ke.textAnchorOffsetStartIndex, Zn = Ke.textAnchorOffsetEndIndex;
15909
15909
  if (Zn === Cn) {
15910
15910
  const Jr = (Xr, Li) => {
15911
- const gr = this.collisionIndex.placeCollisionBox(Xr, oe, z, ze, S, xe, ge, g, G.predicate, De, void 0, $e);
15911
+ const gr = this.collisionIndex.placeCollisionBox(Xr, oe, z, ze, S, xe, ge, g, G.predicate, De, void 0, et);
15912
15912
  return gr && gr.placeable && (this.markUsedOrientation(l, Li, Ke), this.placedOrientations[Ke.crossTileID] = Li), gr;
15913
15913
  };
15914
15914
  Hn(() => Jr(gs, s.al.horizontal), () => {
15915
- const Xr = ut.verticalTextBox;
15915
+ const Xr = ct.verticalTextBox;
15916
15916
  return l.allowVerticalPlacement && Ke.numVerticalGlyphVertices > 0 && Xr ? Jr(Xr, s.al.vertical) : { box: null, offscreen: null };
15917
15917
  }), Hi(Yt && Yt.placeable);
15918
15918
  } else {
@@ -15926,43 +15926,43 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15926
15926
  const Kn = l.textAnchorOffsets.get(Ba);
15927
15927
  if (Jr && Kn.textAnchor !== Jr) continue;
15928
15928
  const Gl = this.attemptAnchorPlacement(Kn, gr, xu, lp, Kl, ge, xe, z, ze, S, G, tn, Ke, l, vu, g, x, Do, De);
15929
- if (Gl && (en = Gl.placedGlyphBoxes, en && en.placeable)) return lr = !0, hr = Gl.shift, en;
15929
+ if (Gl && (en = Gl.placedGlyphBoxes, en && en.placeable)) return cr = !0, pr = Gl.shift, en;
15930
15930
  }
15931
15931
  Jr ? Jr = null : tn = oe;
15932
15932
  }
15933
- return a && !en && (en = { box: this.collisionIndex.placeCollisionBox(gs, "always", z, ze, S, xe, ge, g, G.predicate, De, void 0, $e).box, offscreen: !1, placeable: !1, occluded: !1 }), en;
15933
+ return a && !en && (en = { box: this.collisionIndex.placeCollisionBox(gs, "always", z, ze, S, xe, ge, g, G.predicate, De, void 0, et).box, offscreen: !1, placeable: !1, occluded: !1 }), en;
15934
15934
  };
15935
- Hn(() => Xr(gs, ut.iconBox, s.al.horizontal), () => {
15936
- const gr = ut.verticalTextBox;
15937
- return l.allowVerticalPlacement && (!Yt || !Yt.placeable) && Ke.numVerticalGlyphVertices > 0 && gr ? Xr(gr, ut.verticalIconBox, s.al.vertical) : { box: null, occluded: !0, offscreen: null };
15938
- }), Yt && (lr = Yt.placeable, Tr = Yt.offscreen);
15935
+ Hn(() => Xr(gs, ct.iconBox, s.al.horizontal), () => {
15936
+ const gr = ct.verticalTextBox;
15937
+ return l.allowVerticalPlacement && (!Yt || !Yt.placeable) && Ke.numVerticalGlyphVertices > 0 && gr ? Xr(gr, ct.verticalIconBox, s.al.vertical) : { box: null, occluded: !0, offscreen: null };
15938
+ }), Yt && (cr = Yt.placeable, Tr = Yt.offscreen);
15939
15939
  const Li = Hi(Yt && Yt.placeable);
15940
- if (!lr && this.prevPlacement) {
15940
+ if (!cr && this.prevPlacement) {
15941
15941
  const gr = this.prevPlacement.variableOffsets[Ke.crossTileID];
15942
15942
  gr && (this.variableOffsets[Ke.crossTileID] = gr, this.markUsedJustification(l, gr.anchor, Ke, Li));
15943
15943
  }
15944
15944
  }
15945
15945
  }
15946
- if (ai = Yt, lr = ai && ai.placeable, Tr = ai && ai.offscreen, Ke.useRuntimeCollisionCircles) {
15946
+ if (ai = Yt, cr = ai && ai.placeable, Tr = ai && ai.offscreen, Ke.useRuntimeCollisionCircles) {
15947
15947
  const Hi = l.text.placedSymbolArray.get(Ke.centerJustifiedTextSymbolIndex), Hn = s.am(l.textSizeData, H, Hi), Cn = h.get("text-padding");
15948
- yi = this.collisionIndex.placeCollisionCircles(oe, Hi, l.lineVertexArray, l.glyphOffsetArray, Hn, S, I, a, xe, G.predicate, Ke.collisionCircleDiameter, Cn, g, De), yi.circles.length && yi.collisionDetected && !a && s.w("Collisions detected, but collision boxes are not shown"), lr = ce || yi.circles.length > 0 && !yi.collisionDetected, Tr = Tr && yi.offscreen;
15948
+ yi = this.collisionIndex.placeCollisionCircles(oe, Hi, l.lineVertexArray, l.glyphOffsetArray, Hn, S, I, a, xe, G.predicate, Ke.collisionCircleDiameter, Cn, g, De), yi.circles.length && yi.collisionDetected && !a && s.w("Collisions detected, but collision boxes are not shown"), cr = ce || yi.circles.length > 0 && !yi.collisionDetected, Tr = Tr && yi.offscreen;
15949
15949
  }
15950
- if (ut.iconFeatureIndex && (jn = ut.iconFeatureIndex), ut.iconBox) {
15951
- const Hi = (Hn) => this.collisionIndex.placeCollisionBox(Hn, me, z, ze, S, xe, ge, x, G.predicate, De, ye && hr ? hr : void 0, $e);
15952
- ei && ei.placeable && ut.verticalIconBox ? ($t = Hi(ut.verticalIconBox), kr = $t.placeable) : ($t = Hi(ut.iconBox), kr = $t.placeable), Tr = Tr && $t.offscreen;
15950
+ if (ct.iconFeatureIndex && (jn = ct.iconFeatureIndex), ct.iconBox) {
15951
+ const Hi = (Hn) => this.collisionIndex.placeCollisionBox(Hn, me, z, ze, S, xe, ge, x, G.predicate, De, ye && pr ? pr : void 0, et);
15952
+ ei && ei.placeable && ct.verticalIconBox ? ($t = Hi(ct.verticalIconBox), kr = $t.placeable) : ($t = Hi(ct.iconBox), kr = $t.placeable), Tr = Tr && $t.offscreen;
15953
15953
  }
15954
15954
  const zo = ne || Ke.numHorizontalGlyphVertices === 0 && Ke.numVerticalGlyphVertices === 0, Wn = ie || Ke.numIconVertices === 0;
15955
- zo || Wn ? Wn ? zo || (kr = kr && lr) : lr = kr && lr : kr = lr = kr && lr;
15955
+ zo || Wn ? Wn ? zo || (kr = kr && cr) : cr = kr && cr : kr = cr = kr && cr;
15956
15956
  const ys = kr && $t.placeable;
15957
- if (lr && ai.placeable && this.collisionIndex.insertCollisionBox(ai.box, oe, h.get("text-ignore-placement"), l.bucketInstanceId, ei && ei.placeable && bn ? bn : Nn, G.ID), ys && this.collisionIndex.insertCollisionBox($t.box, me, h.get("icon-ignore-placement"), l.bucketInstanceId, jn, G.ID), yi && lr && this.collisionIndex.insertCollisionCircles(yi.circles, oe, h.get("text-ignore-placement"), l.bucketInstanceId, Nn, G.ID), a && this.storeCollisionData(l.bucketInstanceId, zt, ut, ai, $t, yi), Ke.crossTileID === 0) throw new Error("symbolInstance.crossTileID can't be 0");
15957
+ if (cr && ai.placeable && this.collisionIndex.insertCollisionBox(ai.box, oe, h.get("text-ignore-placement"), l.bucketInstanceId, ei && ei.placeable && bn ? bn : Nn, G.ID), ys && this.collisionIndex.insertCollisionBox($t.box, me, h.get("icon-ignore-placement"), l.bucketInstanceId, jn, G.ID), yi && cr && this.collisionIndex.insertCollisionCircles(yi.circles, oe, h.get("text-ignore-placement"), l.bucketInstanceId, Nn, G.ID), a && this.storeCollisionData(l.bucketInstanceId, zt, ct, ai, $t, yi), Ke.crossTileID === 0) throw new Error("symbolInstance.crossTileID can't be 0");
15958
15958
  if (l.bucketInstanceId === 0) throw new Error("bucket.bucketInstanceId can't be 0");
15959
- this.placements[Ke.crossTileID] = new As((lr || qe) && !(ai != null && ai.occluded), (kr || Re) && !($t != null && $t.occluded), Tr || l.justReloaded), r[Ke.crossTileID] = !0;
15959
+ this.placements[Ke.crossTileID] = new As((cr || qe) && !(ai != null && ai.occluded), (kr || Re) && !($t != null && $t.occluded), Tr || l.justReloaded), r[Ke.crossTileID] = !0;
15960
15960
  };
15961
15961
  if (Ce) {
15962
15962
  if (e.symbolInstanceStart !== 0) throw new Error("bucket.bucketInstanceId should be 0");
15963
15963
  const Ke = l.getSortedSymbolIndexes(-this.transform.bearingInRadians);
15964
- for (let ut = Ke.length - 1; ut >= 0; --ut) {
15965
- const zt = Ke[ut];
15964
+ for (let ct = Ke.length - 1; ct >= 0; --ct) {
15965
+ const zt = Ke[ct];
15966
15966
  Ye(l.symbolInstances.get(zt), l.collisionArrays[zt], zt);
15967
15967
  }
15968
15968
  } else for (let Ke = e.symbolInstanceStart; Ke < e.symbolInstanceEnd; Ke++) Ye(l.symbolInstances.get(Ke), l.collisionArrays[Ke], Ke);
@@ -16035,39 +16035,39 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16035
16035
  if (me > 0 || fe > 0) {
16036
16036
  const De = sl(xe.text);
16037
16037
  ne(e.text, me, qe ? is : De), ne(e.text, fe, Re ? is : De);
16038
- const $e = xe.text.isHidden();
16039
- [ce.rightJustifiedTextSymbolIndex, ce.centerJustifiedTextSymbolIndex, ce.leftJustifiedTextSymbolIndex].forEach((ut) => {
16040
- ut >= 0 && (e.text.placedSymbolArray.get(ut).hidden = $e || qe ? 1 : 0);
16041
- }), ce.verticalPlacedTextSymbolIndex >= 0 && (e.text.placedSymbolArray.get(ce.verticalPlacedTextSymbolIndex).hidden = $e || Re ? 1 : 0);
16038
+ const et = xe.text.isHidden();
16039
+ [ce.rightJustifiedTextSymbolIndex, ce.centerJustifiedTextSymbolIndex, ce.leftJustifiedTextSymbolIndex].forEach((ct) => {
16040
+ ct >= 0 && (e.text.placedSymbolArray.get(ct).hidden = et || qe ? 1 : 0);
16041
+ }), ce.verticalPlacedTextSymbolIndex >= 0 && (e.text.placedSymbolArray.get(ce.verticalPlacedTextSymbolIndex).hidden = et || Re ? 1 : 0);
16042
16042
  const Ye = this.variableOffsets[ce.crossTileID];
16043
16043
  Ye && this.markUsedJustification(e, Ye.anchor, ce, Ce);
16044
16044
  const Ke = this.placedOrientations[ce.crossTileID];
16045
16045
  Ke && (this.markUsedJustification(e, "left", ce, Ke), this.markUsedOrientation(e, Ke, ce));
16046
16046
  }
16047
16047
  if (ye) {
16048
- const De = sl(xe.icon), $e = !(H && ce.verticalPlacedIconSymbolIndex && qe);
16049
- ce.placedIconSymbolIndex >= 0 && (ne(e.icon, ce.numIconVertices, $e ? De : is), e.icon.placedSymbolArray.get(ce.placedIconSymbolIndex).hidden = xe.icon.isHidden()), ce.verticalPlacedIconSymbolIndex >= 0 && (ne(e.icon, ce.numVerticalIconVertices, $e ? is : De), e.icon.placedSymbolArray.get(ce.verticalPlacedIconSymbolIndex).hidden = xe.icon.isHidden());
16048
+ const De = sl(xe.icon), et = !(H && ce.verticalPlacedIconSymbolIndex && qe);
16049
+ ce.placedIconSymbolIndex >= 0 && (ne(e.icon, ce.numIconVertices, et ? De : is), e.icon.placedSymbolArray.get(ce.placedIconSymbolIndex).hidden = xe.icon.isHidden()), ce.verticalPlacedIconSymbolIndex >= 0 && (ne(e.icon, ce.numVerticalIconVertices, et ? is : De), e.icon.placedSymbolArray.get(ce.verticalPlacedIconSymbolIndex).hidden = xe.icon.isHidden());
16050
16050
  }
16051
16051
  const ze = ie && ie.has(oe) ? ie.get(oe) : { text: null, icon: null };
16052
16052
  if (e.hasIconCollisionBoxData() || e.hasTextCollisionBoxData()) {
16053
16053
  const De = e.collisionArrays[oe];
16054
16054
  if (De) {
16055
- let $e = new s.P(0, 0);
16055
+ let et = new s.P(0, 0);
16056
16056
  if (De.textBox || De.verticalTextBox) {
16057
16057
  let Ye = !0;
16058
16058
  if (z) {
16059
16059
  const Ke = this.variableOffsets[ge];
16060
- Ke ? ($e = An(Ke.anchor, Ke.width, Ke.height, Ke.textOffset, Ke.textBoxScale), V && $e._rotate(F ? -this.transform.bearingInRadians : this.transform.bearingInRadians)) : Ye = !1;
16060
+ Ke ? (et = An(Ke.anchor, Ke.width, Ke.height, Ke.textOffset, Ke.textBoxScale), V && et._rotate(F ? -this.transform.bearingInRadians : this.transform.bearingInRadians)) : Ye = !1;
16061
16061
  }
16062
16062
  if (De.textBox || De.verticalTextBox) {
16063
16063
  let Ke;
16064
- De.textBox && (Ke = qe), De.verticalTextBox && (Ke = Re), nl(e.textCollisionBox.collisionVertexArray, xe.text.placed, !Ye || Ke, ze.text, $e.x, $e.y);
16064
+ De.textBox && (Ke = qe), De.verticalTextBox && (Ke = Re), nl(e.textCollisionBox.collisionVertexArray, xe.text.placed, !Ye || Ke, ze.text, et.x, et.y);
16065
16065
  }
16066
16066
  }
16067
16067
  if (De.iconBox || De.verticalIconBox) {
16068
16068
  const Ye = !!(!Re && De.verticalIconBox);
16069
16069
  let Ke;
16070
- De.iconBox && (Ke = Ye), De.verticalIconBox && (Ke = !Ye), nl(e.iconCollisionBox.collisionVertexArray, xe.icon.placed, Ke, ze.icon, H ? $e.x : 0, H ? $e.y : 0);
16070
+ De.iconBox && (Ke = Ye), De.verticalIconBox && (Ke = !Ye), nl(e.iconCollisionBox.collisionVertexArray, xe.icon.placed, Ke, ze.icon, H ? et.x : 0, H ? et.y : 0);
16071
16071
  }
16072
16072
  }
16073
16073
  }
@@ -17925,12 +17925,12 @@ uniform ${z} ${V} u_${F};
17925
17925
  }, scaleOfZoom: V, targetCenter: g, scaleOfMinZoom: F, pixelPathLength: z };
17926
17926
  }
17927
17927
  }
17928
- class or {
17928
+ class ar {
17929
17929
  constructor(e, r, a) {
17930
17930
  this.blendFunction = e, this.blendColor = r, this.mask = a;
17931
17931
  }
17932
17932
  }
17933
- or.Replace = [1, 0], or.disabled = new or(or.Replace, s.b7.transparent, [!1, !1, !1, !1]), or.unblended = new or(or.Replace, s.b7.transparent, [!0, !0, !0, !0]), or.alphaBlended = new or([1, 771], s.b7.transparent, [!0, !0, !0, !0]);
17933
+ ar.Replace = [1, 0], ar.disabled = new ar(ar.Replace, s.b7.transparent, [!1, !1, !1, !1]), ar.unblended = new ar(ar.Replace, s.b7.transparent, [!0, !0, !0, !0]), ar.alphaBlended = new ar([1, 771], s.b7.transparent, [!0, !0, !0, !0]);
17934
17934
  const Rr = 2305;
17935
17935
  class Wt {
17936
17936
  constructor(e, r, a) {
@@ -17989,7 +17989,7 @@ uniform ${z} ${V} u_${F};
17989
17989
  }
17990
17990
  _renderErrorTexture(e, r) {
17991
17991
  const a = this._cachedRenderContext.context, l = a.gl;
17992
- if (this._bindFramebuffer(), a.viewport.set([0, 0, this._texWidth, this._texHeight]), a.clear({ color: s.b7.transparent }), this._cachedRenderContext.useProgram("projectionErrorMeasurement").draw(a, l.TRIANGLES, Tt.disabled, Rt.disabled, or.unblended, Wt.disabled, /* @__PURE__ */ ((h, g) => ({ u_input: h, u_output_expected: g }))(e, r), null, null, "$clipping", this._fullscreenTriangle.vertexBuffer, this._fullscreenTriangle.indexBuffer, this._fullscreenTriangle.segments), this._pbo && Si(l)) {
17992
+ if (this._bindFramebuffer(), a.viewport.set([0, 0, this._texWidth, this._texHeight]), a.clear({ color: s.b7.transparent }), this._cachedRenderContext.useProgram("projectionErrorMeasurement").draw(a, l.TRIANGLES, Tt.disabled, Rt.disabled, ar.unblended, Wt.disabled, /* @__PURE__ */ ((h, g) => ({ u_input: h, u_output_expected: g }))(e, r), null, null, "$clipping", this._fullscreenTriangle.vertexBuffer, this._fullscreenTriangle.indexBuffer, this._fullscreenTriangle.segments), this._pbo && Si(l)) {
17993
17993
  l.bindBuffer(l.PIXEL_PACK_BUFFER, this._pbo), l.readBuffer(l.COLOR_ATTACHMENT0), l.readPixels(0, 0, this._texWidth, this._texHeight, this._texFormat, this._texType, 0), l.bindBuffer(l.PIXEL_PACK_BUFFER, null);
17994
17994
  const h = l.fenceSync(l.SYNC_GPU_COMMANDS_COMPLETE, 0);
17995
17995
  l.flush(), this._readbackQueue = { frameNumberIssued: this._updateCount, sync: h };
@@ -19188,7 +19188,7 @@ uniform ${z} ${V} u_${F};
19188
19188
  const l = this.sourceCaches[a].getSource().type;
19189
19189
  l !== "vector" && l !== "geojson" || this.sourceCaches[a].reload();
19190
19190
  }
19191
- }, this.map = e, this.dispatcher = new wt(lt(), e._getMapId()), this.dispatcher.registerMessageHandler("GG", (a, l) => this.getGlyphs(a, l)), this.dispatcher.registerMessageHandler("GI", (a, l) => this.getImages(a, l)), this.imageManager = new nt(), this.imageManager.setEventedParent(this), this.glyphManager = new Dt(e._requestManager, r.localIdeographFontFamily), this.lineAtlas = new pi(256, 512), this.crossTileSymbolIndex = new no(), this._spritesImagesIds = {}, this._layers = {}, this._order = [], this.sourceCaches = {}, this.zoomHistory = new s.bx(), this._loaded = !1, this._availableImages = [], this._resetUpdates(), this.dispatcher.broadcast("SR", s.by()), di().on(wr, this._rtlPluginLoaded), this.on("data", (a) => {
19191
+ }, this.map = e, this.dispatcher = new wt(ht(), e._getMapId()), this.dispatcher.registerMessageHandler("GG", (a, l) => this.getGlyphs(a, l)), this.dispatcher.registerMessageHandler("GI", (a, l) => this.getImages(a, l)), this.imageManager = new nt(), this.imageManager.setEventedParent(this), this.glyphManager = new Dt(e._requestManager, r.localIdeographFontFamily), this.lineAtlas = new pi(256, 512), this.crossTileSymbolIndex = new no(), this._spritesImagesIds = {}, this._layers = {}, this._order = [], this.sourceCaches = {}, this.zoomHistory = new s.bx(), this._loaded = !1, this._availableImages = [], this._resetUpdates(), this.dispatcher.broadcast("SR", s.by()), di().on(wr, this._rtlPluginLoaded), this.on("data", (a) => {
19192
19192
  if (a.dataType !== "source" || a.sourceDataType !== "metadata") return;
19193
19193
  const l = this.sourceCaches[a.sourceId];
19194
19194
  if (!l) return;
@@ -19254,8 +19254,8 @@ uniform ${z} ${V} u_${F};
19254
19254
  ne[ie] = {};
19255
19255
  const oe = M.getImageCanvasContext((yield G[ie]).data), ce = (yield H[ie]).data;
19256
19256
  for (const me in ce) {
19257
- const { width: fe, height: ge, x: xe, y: ye, sdf: Ce, pixelRatio: qe, stretchX: Re, stretchY: ze, content: De, textFitWidth: $e, textFitHeight: Ye } = ce[me];
19258
- ne[ie][me] = { data: null, pixelRatio: qe, sdf: Ce, stretchX: Re, stretchY: ze, content: De, textFitWidth: $e, textFitHeight: Ye, spriteData: { width: fe, height: ge, x: xe, y: ye, context: oe } };
19257
+ const { width: fe, height: ge, x: xe, y: ye, sdf: Ce, pixelRatio: qe, stretchX: Re, stretchY: ze, content: De, textFitWidth: et, textFitHeight: Ye } = ce[me];
19258
+ ne[ie][me] = { data: null, pixelRatio: qe, sdf: Ce, stretchX: Re, stretchY: ze, content: De, textFitWidth: et, textFitHeight: Ye, spriteData: { width: fe, height: ge, x: xe, y: ye, context: oe } };
19259
19259
  }
19260
19260
  }
19261
19261
  return ne;
@@ -20479,7 +20479,7 @@ uniform ${z} ${V} u_${F};
20479
20479
  e.test.func !== this.gl.ALWAYS || e.mask ? (this.stencilTest.set(!0), this.stencilMask.set(e.mask), this.stencilOp.set([e.fail, e.depthFail, e.pass]), this.stencilFunc.set({ func: e.test.func, ref: e.ref, mask: e.test.mask })) : this.stencilTest.set(!1);
20480
20480
  }
20481
20481
  setColorMode(e) {
20482
- s.bE(e.blendFunction, or.Replace) ? this.blend.set(!1) : (this.blend.set(!0), this.blendFunc.set(e.blendFunction), this.blendColor.set(e.blendColor)), this.colorMask.set(e.mask);
20482
+ s.bE(e.blendFunction, ar.Replace) ? this.blend.set(!1) : (this.blend.set(!0), this.blendFunc.set(e.blendFunction), this.blendColor.set(e.blendColor)), this.colorMask.set(e.mask);
20483
20483
  }
20484
20484
  createVertexArray() {
20485
20485
  var e;
@@ -20555,9 +20555,9 @@ uniform ${z} ${V} u_${F};
20555
20555
  const me = new s.P(oe.anchorX, oe.anchorY), fe = { getElevation: V, width: l.width, height: l.height, pitchedLabelPlaneMatrix: h, pitchWithMap: r, transform: l, tileAnchorPoint: me, translation: I, unwrappedTileID: z }, ge = r ? Lt(me.x, me.y, fe) : Lr(me.x, me.y, fe), xe = rr(l.cameraToCenterDistance, ge.signedDistanceFromCamera);
20556
20556
  let ye = s.am(u.textSizeData, x, oe) * xe / s.ay;
20557
20557
  r && (ye *= u.tilePixelRatio / g);
20558
- const { width: Ce, height: qe, anchor: Re, textOffset: ze, textBoxScale: De } = ce, $e = $h(Re, Ce, qe, ze, De, ye), Ye = l.getPitchedTextCorrection(me.x + I[0], me.y + I[1], z), Ke = ep(ge.point, fe, e, $e, -l.bearingInRadians, Ye), ut = u.allowVerticalPlacement && oe.placedOrientation === s.al.vertical ? Math.PI / 2 : 0;
20559
- for (let zt = 0; zt < oe.numGlyphs; zt++) s.as(H, Ke, ut);
20560
- S && oe.associatedIconIndex >= 0 && (ne[oe.associatedIconIndex] = { shiftedAnchor: Ke, angle: ut });
20558
+ const { width: Ce, height: qe, anchor: Re, textOffset: ze, textBoxScale: De } = ce, et = $h(Re, Ce, qe, ze, De, ye), Ye = l.getPitchedTextCorrection(me.x + I[0], me.y + I[1], z), Ke = ep(ge.point, fe, e, et, -l.bearingInRadians, Ye), ct = u.allowVerticalPlacement && oe.placedOrientation === s.al.vertical ? Math.PI / 2 : 0;
20559
+ for (let zt = 0; zt < oe.numGlyphs; zt++) s.as(H, Ke, ct);
20560
+ S && oe.associatedIconIndex >= 0 && (ne[oe.associatedIconIndex] = { shiftedAnchor: Ke, angle: ct });
20561
20561
  } else Sn(oe.numGlyphs, H);
20562
20562
  }
20563
20563
  if (S) {
@@ -20586,14 +20586,14 @@ uniform ${z} ${V} u_${F};
20586
20586
  for (const Re of a) {
20587
20587
  const ze = e.getTile(Re), De = ze.getBucket(r);
20588
20588
  if (!De) continue;
20589
- const $e = l ? De.text : De.icon;
20590
- if (!$e || !$e.segments.get().length || !$e.hasVisibleVertices) continue;
20591
- const Ye = $e.programConfigurations.get(r.id), Ke = l || De.sdfIcons, ut = l ? De.textSizeData : De.iconSizeData, zt = oe || ne.pitch !== 0, Ht = u.useProgram(tp(Ke, l, De), Ye), Ar = s.ak(ut, ne.zoom), lr = u.style.map.terrain && u.style.map.terrain.getTerrainData(Re);
20592
- let kr, Tr, hr, Yt, ei = [0, 0], ai = null;
20593
- if (l) Tr = ze.glyphAtlasTexture, hr = G.LINEAR, kr = ze.glyphAtlasTexture.size, De.iconsInText && (ei = ze.imageAtlasTexture.size, ai = ze.imageAtlasTexture, Yt = zt || u.options.rotating || u.options.zooming || ut.kind === "composite" || ut.kind === "camera" ? G.LINEAR : G.NEAREST);
20589
+ const et = l ? De.text : De.icon;
20590
+ if (!et || !et.segments.get().length || !et.hasVisibleVertices) continue;
20591
+ const Ye = et.programConfigurations.get(r.id), Ke = l || De.sdfIcons, ct = l ? De.textSizeData : De.iconSizeData, zt = oe || ne.pitch !== 0, Ht = u.useProgram(tp(Ke, l, De), Ye), Ar = s.ak(ct, ne.zoom), cr = u.style.map.terrain && u.style.map.terrain.getTerrainData(Re);
20592
+ let kr, Tr, pr, Yt, ei = [0, 0], ai = null;
20593
+ if (l) Tr = ze.glyphAtlasTexture, pr = G.LINEAR, kr = ze.glyphAtlasTexture.size, De.iconsInText && (ei = ze.imageAtlasTexture.size, ai = ze.imageAtlasTexture, Yt = zt || u.options.rotating || u.options.zooming || ct.kind === "composite" || ct.kind === "camera" ? G.LINEAR : G.NEAREST);
20594
20594
  else {
20595
20595
  const Jr = r.layout.get("icon-size").constantOr(0) !== 1 || De.iconsNeedLinear;
20596
- Tr = ze.imageAtlasTexture, hr = Ke || u.options.rotating || u.options.zooming || Jr || zt ? G.LINEAR : G.NEAREST, kr = ze.imageAtlasTexture.size;
20596
+ Tr = ze.imageAtlasTexture, pr = Ke || u.options.rotating || u.options.zooming || Jr || zt ? G.LINEAR : G.NEAREST, kr = ze.imageAtlasTexture.size;
20597
20597
  }
20598
20598
  const yi = s.az(ze, 1, u.transform.zoom), $t = mt(ie, u.transform, yi), Nn = s.K();
20599
20599
  s.an(Nn, $t);
@@ -20604,13 +20604,13 @@ uniform ${z} ${V} u_${F};
20604
20604
  }
20605
20605
  const ys = l && ye || Wn, Hi = ce || ys ? vo : oe ? $t : u.transform.clipSpaceToPixelsMatrix, Hn = Ke && r.paint.get(l ? "text-halo-width" : "icon-halo-width").constantOr(1) !== 0;
20606
20606
  let Cn;
20607
- Cn = Ke ? De.iconsInText ? aa(ut.kind, Ar, me, oe, ce, ys, u, Hi, bn, jn, kr, ei, qe) : Wc(ut.kind, Ar, me, oe, ce, ys, u, Hi, bn, jn, l, kr, 0, qe) : Ls(ut.kind, Ar, me, oe, ce, ys, u, Hi, bn, jn, l, kr, qe);
20608
- const Zn = { program: Ht, buffers: $e, uniformValues: Cn, projectionData: gs, atlasTexture: Tr, atlasTextureIcon: ai, atlasInterpolation: hr, atlasInterpolationIcon: Yt, isSDF: Ke, hasHalo: Hn };
20607
+ Cn = Ke ? De.iconsInText ? aa(ct.kind, Ar, me, oe, ce, ys, u, Hi, bn, jn, kr, ei, qe) : Wc(ct.kind, Ar, me, oe, ce, ys, u, Hi, bn, jn, l, kr, 0, qe) : Ls(ct.kind, Ar, me, oe, ce, ys, u, Hi, bn, jn, l, kr, qe);
20608
+ const Zn = { program: Ht, buffers: et, uniformValues: Cn, projectionData: gs, atlasTexture: Tr, atlasTextureIcon: ai, atlasInterpolation: pr, atlasInterpolationIcon: Yt, isSDF: Ke, hasHalo: Hn };
20609
20609
  if (fe && De.canOverlap) {
20610
20610
  ge = !0;
20611
- const Jr = $e.segments.get();
20612
- for (const Xr of Jr) Ce.push({ segments: new s.aJ([Xr]), sortKey: Xr.sortKey, state: Zn, terrainData: lr });
20613
- } else Ce.push({ segments: $e.segments, sortKey: 0, state: Zn, terrainData: lr });
20611
+ const Jr = et.segments.get();
20612
+ for (const Xr of Jr) Ce.push({ segments: new s.aJ([Xr]), sortKey: Xr.sortKey, state: Zn, terrainData: cr });
20613
+ } else Ce.push({ segments: et.segments, sortKey: 0, state: Zn, terrainData: cr });
20614
20614
  }
20615
20615
  ge && Ce.sort((Re, ze) => Re.sortKey - ze.sortKey);
20616
20616
  for (const Re of Ce) {
@@ -20627,7 +20627,7 @@ uniform ${z} ${V} u_${F};
20627
20627
  l.draw(V, V.gl.TRIANGLES, h, g, x, Wt.backCCW, S, z, I, r.id, u.layoutVertexBuffer, u.indexBuffer, e, r.paint, a.transform.zoom, u.programConfigurations.get(r.id), u.dynamicLayoutVertexBuffer, u.opacityVertexBuffer);
20628
20628
  }
20629
20629
  function xa(u, e, r, a, l) {
20630
- const h = u.context, g = h.gl, x = Rt.disabled, S = new or([g.ONE, g.ONE], s.b7.transparent, [!0, !0, !0, !0]), I = e.getBucket(r);
20630
+ const h = u.context, g = h.gl, x = Rt.disabled, S = new ar([g.ONE, g.ONE], s.b7.transparent, [!0, !0, !0, !0]), I = e.getBucket(r);
20631
20631
  if (!I) return;
20632
20632
  const z = a.key;
20633
20633
  let V = r.heatmapFbos.get(z);
@@ -20679,12 +20679,12 @@ uniform ${z} ${V} u_${F};
20679
20679
  if (!Ce) continue;
20680
20680
  const qe = Ce.programConfigurations.get(r.id), Re = u.useProgram(G, qe), ze = u.style.map.terrain && u.style.map.terrain.getTerrainData(xe);
20681
20681
  V && (u.context.activeTexture.set(S.TEXTURE0), ye.imageAtlasTexture.bind(S.LINEAR, S.CLAMP_TO_EDGE), qe.updatePaintBuffers(F)), bo(qe, I, ge, ye, r);
20682
- const De = ce.getProjectionData({ overscaledTileID: xe, applyGlobeMatrix: !x, applyTerrainMatrix: !0 }), $e = s.aA(ce, ye, me, fe);
20682
+ const De = ce.getProjectionData({ overscaledTileID: xe, applyGlobeMatrix: !x, applyTerrainMatrix: !0 }), et = s.aA(ce, ye, me, fe);
20683
20683
  if (g) {
20684
20684
  ie = Ce.indexBuffer2, oe = Ce.segments2;
20685
20685
  const Ke = [S.drawingBufferWidth, S.drawingBufferHeight];
20686
- ne = G === "fillOutlinePattern" && V ? mo(u, F, ye, Ke, $e) : dl(Ke, $e);
20687
- } else ie = Ce.indexBuffer, oe = Ce.segments, ne = V ? zc(u, F, ye, $e) : { u_fill_translate: $e };
20686
+ ne = G === "fillOutlinePattern" && V ? mo(u, F, ye, Ke, et) : dl(Ke, et);
20687
+ } else ie = Ce.indexBuffer, oe = Ce.segments, ne = V ? zc(u, F, ye, et) : { u_fill_translate: et };
20688
20688
  const Ye = u.stencilModeForClipping(xe);
20689
20689
  Re.draw(u.context, H, l, Ye, h, Wt.backCCW, ne, ze, De, r.id, Ce.layoutVertexBuffer, ie, oe, r.paint, u.transform.zoom, qe);
20690
20690
  }
@@ -20724,8 +20724,8 @@ uniform ${z} ${V} u_${F};
20724
20724
  let Ce, qe;
20725
20725
  const Re = r.paint.get("raster-resampling") === "nearest" ? F.NEAREST : F.LINEAR;
20726
20726
  V.activeTexture.set(F.TEXTURE0), fe.texture.bind(Re, F.CLAMP_TO_EDGE, F.LINEAR_MIPMAP_NEAREST), V.activeTexture.set(F.TEXTURE1), ge ? (ge.texture.bind(Re, F.CLAMP_TO_EDGE, F.LINEAR_MIPMAP_NEAREST), Ce = Math.pow(2, ge.tileID.overscaledZ - fe.tileID.overscaledZ), qe = [fe.tileID.canonical.x * Ce % 1, fe.tileID.canonical.y * Ce % 1]) : fe.texture.bind(Re, F.CLAMP_TO_EDGE, F.LINEAR_MIPMAP_NEAREST), fe.texture.useMipmap && V.extTextureFilterAnisotropic && u.transform.pitch > 20 && F.texParameterf(F.TEXTURE_2D, V.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT, V.extTextureFilterAnisotropicMax);
20727
- const ze = u.style.map.terrain && u.style.map.terrain.getTerrainData(ce), De = G.getProjectionData({ overscaledTileID: ce, aligned: oe, applyGlobeMatrix: !I, applyTerrainMatrix: !0 }), $e = Nc(qe || [0, 0], Ce || 1, ye, r, x), Ye = ne.getMeshFromTileID(V, ce.canonical, h, g, "raster");
20728
- H.draw(V, F.TRIANGLES, me, l ? l[ce.overscaledZ] : Rt.disabled, ie, S ? Wt.frontCCW : Wt.backCCW, $e, ze, De, r.id, Ye.vertexBuffer, Ye.indexBuffer, Ye.segments);
20727
+ const ze = u.style.map.terrain && u.style.map.terrain.getTerrainData(ce), De = G.getProjectionData({ overscaledTileID: ce, aligned: oe, applyGlobeMatrix: !I, applyTerrainMatrix: !0 }), et = Nc(qe || [0, 0], Ce || 1, ye, r, x), Ye = ne.getMeshFromTileID(V, ce.canonical, h, g, "raster");
20728
+ H.draw(V, F.TRIANGLES, me, l ? l[ce.overscaledZ] : Rt.disabled, ie, S ? Wt.frontCCW : Wt.backCCW, et, ze, De, r.id, Ye.vertexBuffer, Ye.indexBuffer, Ye.segments);
20729
20729
  }
20730
20730
  }
20731
20731
  function tu(u, e, r, a, l, h) {
@@ -20758,7 +20758,7 @@ uniform ${z} ${V} u_${F};
20758
20758
  ge.clearRect(0, 0, me.width, me.height), ge.shadowColor = "white", ge.shadowBlur = 2, ge.lineWidth = 1.5, ge.strokeStyle = "white", ge.textBaseline = "top", ge.font = "bold 36px Open Sans, sans-serif", ge.fillText(ce, 5, 5), ge.strokeText(ce, 5, 5), oe.debugOverlayTexture.update(me), oe.debugOverlayTexture.bind(fe.LINEAR, fe.CLAMP_TO_EDGE);
20759
20759
  }(u, `${ne} ${F}kB`);
20760
20760
  const ie = u.transform.getProjectionData({ overscaledTileID: r, applyGlobeMatrix: !0, applyTerrainMatrix: !0 });
20761
- h.draw(a, l.TRIANGLES, g, x, or.alphaBlended, Wt.disabled, Dc(s.b7.transparent, G), null, ie, I, u.debugBuffer, u.quadTriangleIndexBuffer, u.debugSegments), h.draw(a, l.LINE_STRIP, g, x, S, Wt.disabled, Dc(s.b7.red), z, ie, I, u.debugBuffer, u.tileBorderIndexBuffer, u.debugSegments);
20761
+ h.draw(a, l.TRIANGLES, g, x, ar.alphaBlended, Wt.disabled, Dc(s.b7.transparent, G), null, ie, I, u.debugBuffer, u.quadTriangleIndexBuffer, u.debugSegments), h.draw(a, l.LINE_STRIP, g, x, S, Wt.disabled, Dc(s.b7.red), z, ie, I, u.debugBuffer, u.tileBorderIndexBuffer, u.debugSegments);
20762
20762
  }
20763
20763
  function Un(u, e, r, a) {
20764
20764
  const { isRenderingGlobe: l } = a, h = u.context, g = h.gl, x = u.transform, S = u.colorModeForRenderPass(), I = u.getDepthModeFor3D(), z = u.useProgram("terrain");
@@ -20810,13 +20810,13 @@ uniform ${z} ${V} u_${F};
20810
20810
  const a = s.K();
20811
20811
  s.bQ(a, 0, this.width, this.height, 0, 0, 1), s.M(a, a, [r.drawingBufferWidth, r.drawingBufferHeight, 0]);
20812
20812
  const l = { mainMatrix: a, tileMercatorCoords: [0, 0, 1, 1], clippingPlane: [0, 0, 0, 0], projectionTransition: 0, fallbackMatrix: a };
20813
- this.useProgram("clippingMask", null, !0).draw(e, r.TRIANGLES, Tt.disabled, this.stencilClearMode, or.disabled, Wt.disabled, null, null, l, "$clipping", this.viewportBuffer, this.quadTriangleIndexBuffer, this.viewportSegments);
20813
+ this.useProgram("clippingMask", null, !0).draw(e, r.TRIANGLES, Tt.disabled, this.stencilClearMode, ar.disabled, Wt.disabled, null, null, l, "$clipping", this.viewportBuffer, this.quadTriangleIndexBuffer, this.viewportSegments);
20814
20814
  }
20815
20815
  _renderTileClippingMasks(e, r, a) {
20816
20816
  if (this.currentStencilSource === e.source || !e.isTileClipped() || !r || !r.length) return;
20817
20817
  this.currentStencilSource = e.source, this.nextStencilID + r.length > 256 && this.clearStencil();
20818
20818
  const l = this.context;
20819
- l.setColorMode(or.disabled), l.setDepthMode(Tt.disabled);
20819
+ l.setColorMode(ar.disabled), l.setDepthMode(Tt.disabled);
20820
20820
  const h = {};
20821
20821
  for (const g of r) h[g.key] = this.nextStencilID++;
20822
20822
  this._renderTileMasks(h, r, a, !0), this._renderTileMasks(h, r, a, !1), this._tileClippingMaskIDs = h;
@@ -20825,14 +20825,14 @@ uniform ${z} ${V} u_${F};
20825
20825
  const h = this.context, g = h.gl, x = this.style.projection, S = this.transform, I = this.useProgram("clippingMask");
20826
20826
  for (const z of r) {
20827
20827
  const V = e[z.key], F = this.style.map.terrain && this.style.map.terrain.getTerrainData(z), H = x.getMeshFromTileID(this.context, z.canonical, l, !0, "stencil"), G = S.getProjectionData({ overscaledTileID: z, applyGlobeMatrix: !a, applyTerrainMatrix: !0 });
20828
- I.draw(h, g.TRIANGLES, Tt.disabled, new Rt({ func: g.ALWAYS, mask: 0 }, V, 255, g.KEEP, g.KEEP, g.REPLACE), or.disabled, a ? Wt.disabled : Wt.backCCW, null, F, G, "$clipping", H.vertexBuffer, H.indexBuffer, H.segments);
20828
+ I.draw(h, g.TRIANGLES, Tt.disabled, new Rt({ func: g.ALWAYS, mask: 0 }, V, 255, g.KEEP, g.KEEP, g.REPLACE), ar.disabled, a ? Wt.disabled : Wt.backCCW, null, F, G, "$clipping", H.vertexBuffer, H.indexBuffer, H.segments);
20829
20829
  }
20830
20830
  }
20831
20831
  _renderTilesDepthBuffer() {
20832
20832
  const e = this.context, r = e.gl, a = this.style.projection, l = this.transform, h = this.useProgram("depth"), g = this.getDepthModeFor3D(), x = be(l, { tileSize: l.tileSize });
20833
20833
  for (const S of x) {
20834
20834
  const I = this.style.map.terrain && this.style.map.terrain.getTerrainData(S), z = a.getMeshFromTileID(this.context, S.canonical, !0, !0, "raster"), V = l.getProjectionData({ overscaledTileID: S, applyGlobeMatrix: !0, applyTerrainMatrix: !0 });
20835
- h.draw(e, r.TRIANGLES, g, Rt.disabled, or.disabled, Wt.backCCW, null, I, V, "$clipping", z.vertexBuffer, z.indexBuffer, z.segments);
20835
+ h.draw(e, r.TRIANGLES, g, Rt.disabled, ar.disabled, Wt.backCCW, null, I, V, "$clipping", z.vertexBuffer, z.indexBuffer, z.segments);
20836
20836
  }
20837
20837
  }
20838
20838
  stencilModeFor3D() {
@@ -20865,7 +20865,7 @@ uniform ${z} ${V} u_${F};
20865
20865
  }
20866
20866
  colorModeForRenderPass() {
20867
20867
  const e = this.context.gl;
20868
- return this._showOverdrawInspector ? new or([e.CONSTANT_COLOR, e.ONE], new s.b7(0.125, 0.125, 0.125, 0), [!0, !0, !0, !0]) : this.renderPass === "opaque" ? or.unblended : or.alphaBlended;
20868
+ return this._showOverdrawInspector ? new ar([e.CONSTANT_COLOR, e.ONE], new s.b7(0.125, 0.125, 0.125, 0), [!0, !0, !0, !0]) : this.renderPass === "opaque" ? ar.unblended : ar.alphaBlended;
20869
20869
  }
20870
20870
  getDepthModeForSublayer(e, r, a) {
20871
20871
  if (!this.opaquePassEnabledForLayer()) return Tt.disabled;
@@ -20918,15 +20918,15 @@ uniform ${z} ${V} u_${F};
20918
20918
  this._renderTileClippingMasks(F, x[F.source], !!this.renderToTexture), this.renderLayer(this, H, F, G, z);
20919
20919
  }
20920
20920
  if (z.isRenderingGlobe && function(F, H, G) {
20921
- const ne = F.context, ie = ne.gl, oe = F.useProgram("atmosphere"), ce = new Tt(ie.LEQUAL, Tt.ReadOnly, [0, 1]), me = F.transform, fe = function(De, $e) {
20922
- const Ye = De.properties.get("position"), Ke = [-Ye.x, -Ye.y, -Ye.z], ut = s.ad(new Float64Array(16));
20923
- return De.properties.get("anchor") === "map" && (s.a_(ut, ut, $e.rollInRadians), s.a$(ut, ut, -$e.pitchInRadians), s.a_(ut, ut, $e.bearingInRadians), s.a$(ut, ut, $e.center.lat * Math.PI / 180), s.bp(ut, ut, -$e.center.lng * Math.PI / 180)), s.bZ(Ke, Ke, ut), Ke;
20921
+ const ne = F.context, ie = ne.gl, oe = F.useProgram("atmosphere"), ce = new Tt(ie.LEQUAL, Tt.ReadOnly, [0, 1]), me = F.transform, fe = function(De, et) {
20922
+ const Ye = De.properties.get("position"), Ke = [-Ye.x, -Ye.y, -Ye.z], ct = s.ad(new Float64Array(16));
20923
+ return De.properties.get("anchor") === "map" && (s.a_(ct, ct, et.rollInRadians), s.a$(ct, ct, -et.pitchInRadians), s.a_(ct, ct, et.bearingInRadians), s.a$(ct, ct, et.center.lat * Math.PI / 180), s.bp(ct, ct, -et.center.lng * Math.PI / 180)), s.bZ(Ke, Ke, ct), Ke;
20924
20924
  }(G, F.transform), ge = me.getProjectionData({ overscaledTileID: null, applyGlobeMatrix: !0, applyTerrainMatrix: !0 }), xe = H.properties.get("atmosphere-blend") * ge.projectionTransition;
20925
20925
  if (xe === 0) return;
20926
20926
  const ye = as(me.worldSize, me.center.lat), Ce = me.inverseProjectionMatrix, qe = new Float64Array(4);
20927
20927
  qe[3] = 1, s.at(qe, qe, me.modelViewProjectionMatrix), qe[0] /= qe[3], qe[1] /= qe[3], qe[2] /= qe[3], qe[3] = 1, s.at(qe, qe, Ce), qe[0] /= qe[3], qe[1] /= qe[3], qe[2] /= qe[3], qe[3] = 1;
20928
- const Re = /* @__PURE__ */ ((De, $e, Ye, Ke, ut) => ({ u_sun_pos: De, u_atmosphere_blend: $e, u_globe_position: Ye, u_globe_radius: Ke, u_inv_proj_matrix: ut }))(fe, xe, [qe[0], qe[1], qe[2]], ye, Ce), ze = Wi(ne, H);
20929
- oe.draw(ne, ie.TRIANGLES, ce, Rt.disabled, or.alphaBlended, Wt.disabled, Re, null, null, "atmosphere", ze.vertexBuffer, ze.indexBuffer, ze.segments);
20928
+ const Re = /* @__PURE__ */ ((De, et, Ye, Ke, ct) => ({ u_sun_pos: De, u_atmosphere_blend: et, u_globe_position: Ye, u_globe_radius: Ke, u_inv_proj_matrix: ct }))(fe, xe, [qe[0], qe[1], qe[2]], ye, Ce), ze = Wi(ne, H);
20929
+ oe.draw(ne, ie.TRIANGLES, ce, Rt.disabled, ar.alphaBlended, Wt.disabled, Re, null, null, "atmosphere", ze.vertexBuffer, ze.indexBuffer, ze.segments);
20930
20930
  }(this, this.style.sky, this.style.light), this.options.showTileBoundaries) {
20931
20931
  const F = function(H, G) {
20932
20932
  let ne = null;
@@ -20953,7 +20953,7 @@ uniform ${z} ${V} u_${F};
20953
20953
  const r = this.terrainFacilitator.matrix, a = this.transform.modelViewProjectionMatrix;
20954
20954
  let l = this.terrainFacilitator.dirty;
20955
20955
  l || (l = e ? !s.c0(r, a) : !s.c1(r, a)), l || (l = this.style.map.terrain.sourceCache.anyTilesAfterTime(this.terrainFacilitator.renderTime)), l && (s.c2(r, a), this.terrainFacilitator.renderTime = Date.now(), this.terrainFacilitator.dirty = !1, function(h, g) {
20956
- const x = h.context, S = x.gl, I = h.transform, z = or.unblended, V = new Tt(S.LEQUAL, Tt.ReadWrite, [0, 1]), F = g.sourceCache.getRenderableTiles(), H = h.useProgram("terrainDepth");
20956
+ const x = h.context, S = x.gl, I = h.transform, z = ar.unblended, V = new Tt(S.LEQUAL, Tt.ReadWrite, [0, 1]), F = g.sourceCache.getRenderableTiles(), H = h.useProgram("terrainDepth");
20957
20957
  x.bindFramebuffer.set(g.getFramebuffer("depth").framebuffer), x.viewport.set([0, 0, h.width / devicePixelRatio, h.height / devicePixelRatio]), x.clear({ color: s.b7.transparent, depth: 1 });
20958
20958
  for (const G of F) {
20959
20959
  const ne = g.getTerrainMesh(G.tileID), ie = g.getTerrainData(G.tileID), oe = I.getProjectionData({ overscaledTileID: G.tileID, applyTerrainMatrix: !1, applyGlobeMatrix: !0 }), ce = { u_ele_delta: g.getMeshFrameDelta(I.zoom) };
@@ -20961,7 +20961,7 @@ uniform ${z} ${V} u_${F};
20961
20961
  }
20962
20962
  x.bindFramebuffer.set(null), x.viewport.set([0, 0, h.width, h.height]);
20963
20963
  }(this, this.style.map.terrain), function(h, g) {
20964
- const x = h.context, S = x.gl, I = h.transform, z = or.unblended, V = new Tt(S.LEQUAL, Tt.ReadWrite, [0, 1]), F = g.getCoordsTexture(), H = g.sourceCache.getRenderableTiles(), G = h.useProgram("terrainCoords");
20964
+ const x = h.context, S = x.gl, I = h.transform, z = ar.unblended, V = new Tt(S.LEQUAL, Tt.ReadWrite, [0, 1]), F = g.getCoordsTexture(), H = g.sourceCache.getRenderableTiles(), G = h.useProgram("terrainCoords");
20965
20965
  x.bindFramebuffer.set(g.getFramebuffer("coords").framebuffer), x.viewport.set([0, 0, h.width / devicePixelRatio, h.height / devicePixelRatio]), x.clear({ color: s.b7.transparent, depth: 1 }), g.coordsIndex = [];
20966
20966
  for (const ne of H) {
20967
20967
  const ie = g.getTerrainMesh(ne.tileID), oe = g.getTerrainData(ne.tileID);
@@ -20979,12 +20979,12 @@ uniform ${z} ${V} u_${F};
20979
20979
  (S._unevaluatedLayout.hasValue("text-variable-anchor") || S._unevaluatedLayout.hasValue("text-variable-anchor-offset")) && function(ne, ie, oe, ce, me, fe, ge, xe, ye) {
20980
20980
  const Ce = ie.transform, qe = ie.style.map.terrain, Re = me === "map", ze = fe === "map";
20981
20981
  for (const De of ne) {
20982
- const $e = ce.getTile(De), Ye = $e.getBucket(oe);
20982
+ const et = ce.getTile(De), Ye = et.getBucket(oe);
20983
20983
  if (!Ye || !Ye.text || !Ye.text.segments.get().length) continue;
20984
- const Ke = s.ak(Ye.textSizeData, Ce.zoom), ut = s.az($e, 1, ie.transform.zoom), zt = mt(Re, ie.transform, ut), Ht = oe.layout.get("icon-text-fit") !== "none" && Ye.hasIconData();
20984
+ const Ke = s.ak(Ye.textSizeData, Ce.zoom), ct = s.az(et, 1, ie.transform.zoom), zt = mt(Re, ie.transform, ct), Ht = oe.layout.get("icon-text-fit") !== "none" && Ye.hasIconData();
20985
20985
  if (Ke) {
20986
- const Ar = Math.pow(2, Ce.zoom - $e.tileID.overscaledZ), lr = qe ? (kr, Tr) => qe.getElevation(De, kr, Tr) : null;
20987
- eu(Ye, Re, ze, ye, Ce, zt, Ar, Ke, Ht, s.aA(Ce, $e, ge, xe), De.toUnwrapped(), lr);
20986
+ const Ar = Math.pow(2, Ce.zoom - et.tileID.overscaledZ), cr = qe ? (kr, Tr) => qe.getElevation(De, kr, Tr) : null;
20987
+ eu(Ye, Re, ze, ye, Ce, zt, Ar, Ke, Ht, s.aA(Ce, et, ge, xe), De.toUnwrapped(), cr);
20988
20988
  }
20989
20989
  }
20990
20990
  }(I, g, S, x, S.layout.get("text-rotation-alignment"), S.layout.get("text-pitch-alignment"), S.paint.get("text-translate"), S.paint.get("text-translate-anchor"), z), S.paint.get("icon-opacity").constantOr(1) !== 0 && va(g, x, S, I, !1, S.paint.get("icon-translate"), S.paint.get("icon-translate-anchor"), S.layout.get("icon-rotation-alignment"), S.layout.get("icon-pitch-alignment"), S.layout.get("icon-keep-upright"), H, G, F), S.paint.get("text-opacity").constantOr(1) !== 0 && va(g, x, S, I, !0, S.paint.get("text-translate"), S.paint.get("text-translate-anchor"), S.layout.get("text-rotation-alignment"), S.layout.get("text-pitch-alignment"), S.layout.get("text-keep-upright"), H, G, F), x.map.showCollisionBoxes && (Al(g, x, S, I, !0), Al(g, x, S, I, !1));
@@ -20996,16 +20996,16 @@ uniform ${z} ${V} u_${F};
20996
20996
  for (let Ce = 0; Ce < I.length; Ce++) {
20997
20997
  const qe = I[Ce], Re = x.getTile(qe), ze = Re.getBucket(S);
20998
20998
  if (!ze) continue;
20999
- const De = S.paint.get("circle-translate"), $e = S.paint.get("circle-translate-anchor"), Ye = s.aA(ce, Re, De, $e), Ke = ze.programConfigurations.get(S.id), ut = g.useProgram("circle", Ke), zt = ze.layoutVertexBuffer, Ht = ze.indexBuffer, Ar = g.style.map.terrain && g.style.map.terrain.getTerrainData(qe), lr = { programConfiguration: Ke, program: ut, layoutVertexBuffer: zt, indexBuffer: Ht, uniformValues: go(g, Re, S, Ye, ye), terrainData: Ar, projectionData: ce.getProjectionData({ overscaledTileID: qe, applyGlobeMatrix: !V, applyTerrainMatrix: !0 }) };
20999
+ const De = S.paint.get("circle-translate"), et = S.paint.get("circle-translate-anchor"), Ye = s.aA(ce, Re, De, et), Ke = ze.programConfigurations.get(S.id), ct = g.useProgram("circle", Ke), zt = ze.layoutVertexBuffer, Ht = ze.indexBuffer, Ar = g.style.map.terrain && g.style.map.terrain.getTerrainData(qe), cr = { programConfiguration: Ke, program: ct, layoutVertexBuffer: zt, indexBuffer: Ht, uniformValues: go(g, Re, S, Ye, ye), terrainData: Ar, projectionData: ce.getProjectionData({ overscaledTileID: qe, applyGlobeMatrix: !V, applyTerrainMatrix: !0 }) };
21000
21000
  if (ne) {
21001
21001
  const kr = ze.segments.get();
21002
- for (const Tr of kr) xe.push({ segments: new s.aJ([Tr]), sortKey: Tr.sortKey, state: lr });
21003
- } else xe.push({ segments: ze.segments, sortKey: 0, state: lr });
21002
+ for (const Tr of kr) xe.push({ segments: new s.aJ([Tr]), sortKey: Tr.sortKey, state: cr });
21003
+ } else xe.push({ segments: ze.segments, sortKey: 0, state: cr });
21004
21004
  }
21005
21005
  ne && xe.sort((Ce, qe) => Ce.sortKey - qe.sortKey);
21006
21006
  for (const Ce of xe) {
21007
- const { programConfiguration: qe, program: Re, layoutVertexBuffer: ze, indexBuffer: De, uniformValues: $e, terrainData: Ye, projectionData: Ke } = Ce.state;
21008
- Re.draw(ie, oe.TRIANGLES, me, fe, ge, Wt.backCCW, $e, Ye, Ke, S.id, ze, De, Ce.segments, S.paint, g.transform.zoom, qe);
21007
+ const { programConfiguration: qe, program: Re, layoutVertexBuffer: ze, indexBuffer: De, uniformValues: et, terrainData: Ye, projectionData: Ke } = Ce.state;
21008
+ Re.draw(ie, oe.TRIANGLES, me, fe, ge, Wt.backCCW, et, Ye, Ke, S.id, ze, De, Ce.segments, S.paint, g.transform.zoom, qe);
21009
21009
  }
21010
21010
  }(e, r, a, l, h) : s.c5(a) ? function(g, x, S, I, z) {
21011
21011
  if (S.paint.get("heatmap-opacity") === 0) return;
@@ -21017,7 +21017,7 @@ uniform ${z} ${V} u_${F};
21017
21017
  }
21018
21018
  V.viewport.set([0, 0, g.width, g.height]);
21019
21019
  } else g.renderPass === "offscreen" ? function(G, ne, ie, oe) {
21020
- const ce = G.context, me = ce.gl, fe = G.transform, ge = Rt.disabled, xe = new or([me.ONE, me.ONE], s.b7.transparent, [!0, !0, !0, !0]);
21020
+ const ce = G.context, me = ce.gl, fe = G.transform, ge = Rt.disabled, xe = new ar([me.ONE, me.ONE], s.b7.transparent, [!0, !0, !0, !0]);
21021
21021
  (function(ye, Ce, qe) {
21022
21022
  const Re = ye.gl;
21023
21023
  ye.activeTexture.set(Re.TEXTURE1), ye.viewport.set([0, 0, Ce.width / 4, Ce.height / 4]);
@@ -21029,8 +21029,8 @@ uniform ${z} ${V} u_${F};
21029
21029
  if (ne.hasRenderableParent(Ce)) continue;
21030
21030
  const qe = ne.getTile(Ce), Re = qe.getBucket(ie);
21031
21031
  if (!Re) continue;
21032
- const ze = Re.programConfigurations.get(ie.id), De = G.useProgram("heatmap", ze), $e = fe.getProjectionData({ overscaledTileID: Ce, applyGlobeMatrix: !0, applyTerrainMatrix: !1 }), Ye = fe.getCircleRadiusCorrection();
21033
- De.draw(ce, me.TRIANGLES, Tt.disabled, ge, xe, Wt.backCCW, us(qe, fe.zoom, ie.paint.get("heatmap-intensity"), Ye), null, $e, ie.id, Re.layoutVertexBuffer, Re.indexBuffer, Re.segments, ie.paint, fe.zoom, ze);
21032
+ const ze = Re.programConfigurations.get(ie.id), De = G.useProgram("heatmap", ze), et = fe.getProjectionData({ overscaledTileID: Ce, applyGlobeMatrix: !0, applyTerrainMatrix: !1 }), Ye = fe.getCircleRadiusCorrection();
21033
+ De.draw(ce, me.TRIANGLES, Tt.disabled, ge, xe, Wt.backCCW, us(qe, fe.zoom, ie.paint.get("heatmap-intensity"), Ye), null, et, ie.id, Re.layoutVertexBuffer, Re.indexBuffer, Re.segments, ie.paint, fe.zoom, ze);
21034
21034
  }
21035
21035
  ce.viewport.set([0, 0, G.width, G.height]);
21036
21036
  }(g, x, S, I) : g.renderPass === "translucent" && function(G, ne) {
@@ -21050,29 +21050,29 @@ uniform ${z} ${V} u_${F};
21050
21050
  if (ce && !ze.patternsLoaded()) continue;
21051
21051
  const De = ze.getBucket(S);
21052
21052
  if (!De) continue;
21053
- const $e = De.programConfigurations.get(S.id), Ye = g.context.program.get(), Ke = g.useProgram(ge, $e), ut = qe || Ke.program !== Ye, zt = g.style.map.terrain && g.style.map.terrain.getTerrainData(Re), Ht = oe.constantOr(null);
21053
+ const et = De.programConfigurations.get(S.id), Ye = g.context.program.get(), Ke = g.useProgram(ge, et), ct = qe || Ke.program !== Ye, zt = g.style.map.terrain && g.style.map.terrain.getTerrainData(Re), Ht = oe.constantOr(null);
21054
21054
  if (Ht && ze.imageAtlas) {
21055
- const hr = ze.imageAtlas, Yt = hr.patternPositions[Ht.to.toString()], ei = hr.patternPositions[Ht.from.toString()];
21056
- Yt && ei && $e.setConstantPatternPositions(Yt, ei);
21055
+ const pr = ze.imageAtlas, Yt = pr.patternPositions[Ht.to.toString()], ei = pr.patternPositions[Ht.from.toString()];
21056
+ Yt && ei && et.setConstantPatternPositions(Yt, ei);
21057
21057
  }
21058
- const Ar = Ce.getProjectionData({ overscaledTileID: Re, applyGlobeMatrix: !V, applyTerrainMatrix: !0 }), lr = Ce.getPixelScale(), kr = ce ? qc(g, ze, S, lr, fe) : ie ? Uc(g, ze, S, lr, ie, fe) : me ? Vc(g, ze, S, lr, De.lineClipsArray.length) : yo(g, ze, S, lr);
21059
- if (ce) xe.activeTexture.set(ye.TEXTURE0), ze.imageAtlasTexture.bind(ye.LINEAR, ye.CLAMP_TO_EDGE), $e.updatePaintBuffers(fe);
21060
- else if (ie && (ut || g.lineAtlas.dirty)) xe.activeTexture.set(ye.TEXTURE0), g.lineAtlas.bind(xe);
21058
+ const Ar = Ce.getProjectionData({ overscaledTileID: Re, applyGlobeMatrix: !V, applyTerrainMatrix: !0 }), cr = Ce.getPixelScale(), kr = ce ? qc(g, ze, S, cr, fe) : ie ? Uc(g, ze, S, cr, ie, fe) : me ? Vc(g, ze, S, cr, De.lineClipsArray.length) : yo(g, ze, S, cr);
21059
+ if (ce) xe.activeTexture.set(ye.TEXTURE0), ze.imageAtlasTexture.bind(ye.LINEAR, ye.CLAMP_TO_EDGE), et.updatePaintBuffers(fe);
21060
+ else if (ie && (ct || g.lineAtlas.dirty)) xe.activeTexture.set(ye.TEXTURE0), g.lineAtlas.bind(xe);
21061
21061
  else if (me) {
21062
- const hr = De.gradients[S.id];
21063
- let Yt = hr.texture;
21064
- if (S.gradientVersion !== hr.version) {
21062
+ const pr = De.gradients[S.id];
21063
+ let Yt = pr.texture;
21064
+ if (S.gradientVersion !== pr.version) {
21065
21065
  let ei = 256;
21066
21066
  if (S.stepInterpolant) {
21067
21067
  const ai = x.getSource().maxzoom, yi = Re.canonical.z === ai ? Math.ceil(1 << g.transform.maxZoom - Re.canonical.z) : 1;
21068
21068
  ei = s.ae(s.bX(De.maxLineLength / s.Z * 1024 * yi), 256, xe.maxTextureSize);
21069
21069
  }
21070
- hr.gradient = s.bY({ expression: S.gradientExpression(), evaluationKey: "lineProgress", resolution: ei, image: hr.gradient || void 0, clips: De.lineClipsArray }), hr.texture ? hr.texture.update(hr.gradient) : hr.texture = new Ge(xe, hr.gradient, ye.RGBA), hr.version = S.gradientVersion, Yt = hr.texture;
21070
+ pr.gradient = s.bY({ expression: S.gradientExpression(), evaluationKey: "lineProgress", resolution: ei, image: pr.gradient || void 0, clips: De.lineClipsArray }), pr.texture ? pr.texture.update(pr.gradient) : pr.texture = new Ge(xe, pr.gradient, ye.RGBA), pr.version = S.gradientVersion, Yt = pr.texture;
21071
21071
  }
21072
21072
  xe.activeTexture.set(ye.TEXTURE0), Yt.bind(S.stepInterpolant ? ye.NEAREST : ye.LINEAR, ye.CLAMP_TO_EDGE);
21073
21073
  }
21074
21074
  const Tr = g.stencilModeForClipping(Re);
21075
- Ke.draw(xe, ye.TRIANGLES, G, Tr, ne, Wt.disabled, kr, zt, Ar, S.id, De.layoutVertexBuffer, De.indexBuffer, De.segments, S.paint, g.transform.zoom, $e, De.layoutVertexBuffer2), qe = !1;
21075
+ Ke.draw(xe, ye.TRIANGLES, G, Tr, ne, Wt.disabled, kr, zt, Ar, S.id, De.layoutVertexBuffer, De.indexBuffer, De.segments, S.paint, g.transform.zoom, et, De.layoutVertexBuffer2), qe = !1;
21076
21076
  }
21077
21077
  }(e, r, a, l, h) : s.c7(a) ? function(g, x, S, I, z) {
21078
21078
  const V = S.paint.get("fill-color"), F = S.paint.get("fill-opacity");
@@ -21092,7 +21092,7 @@ uniform ${z} ${V} u_${F};
21092
21092
  const { isRenderingToTexture: F } = z;
21093
21093
  if (g.renderPass === "translucent") {
21094
21094
  const H = new Tt(g.context.gl.LEQUAL, Tt.ReadWrite, g.depthRangeFor3D);
21095
- if (V !== 1 || S.paint.get("fill-extrusion-pattern").constantOr(1)) So(g, x, S, I, H, Rt.disabled, or.disabled, F), So(g, x, S, I, H, g.stencilModeFor3D(), g.colorModeForRenderPass(), F);
21095
+ if (V !== 1 || S.paint.get("fill-extrusion-pattern").constantOr(1)) So(g, x, S, I, H, Rt.disabled, ar.disabled, F), So(g, x, S, I, H, g.stencilModeFor3D(), g.colorModeForRenderPass(), F);
21096
21096
  else {
21097
21097
  const G = g.colorModeForRenderPass();
21098
21098
  So(g, x, S, I, H, Rt.disabled, G, F);
@@ -21106,16 +21106,16 @@ uniform ${z} ${V} u_${F};
21106
21106
  for (const qe of ce) {
21107
21107
  const Re = oe.getTile(qe), ze = Re.dem;
21108
21108
  if (!ze || !ze.data || !Re.needsHillshadePrepare) continue;
21109
- const De = ze.dim, $e = ze.stride, Ye = ze.getPixels();
21110
- if (ye.activeTexture.set(Ce.TEXTURE1), ye.pixelStoreUnpackPremultiplyAlpha.set(!1), Re.demTexture = Re.demTexture || ie.getTileTexture($e), Re.demTexture) {
21111
- const ut = Re.demTexture;
21112
- ut.update(Ye, { premultiply: !1 }), ut.bind(Ce.NEAREST, Ce.CLAMP_TO_EDGE);
21109
+ const De = ze.dim, et = ze.stride, Ye = ze.getPixels();
21110
+ if (ye.activeTexture.set(Ce.TEXTURE1), ye.pixelStoreUnpackPremultiplyAlpha.set(!1), Re.demTexture = Re.demTexture || ie.getTileTexture(et), Re.demTexture) {
21111
+ const ct = Re.demTexture;
21112
+ ct.update(Ye, { premultiply: !1 }), ct.bind(Ce.NEAREST, Ce.CLAMP_TO_EDGE);
21113
21113
  } else Re.demTexture = new Ge(ye, Ye, Ce.RGBA, { premultiply: !1 }), Re.demTexture.bind(Ce.NEAREST, Ce.CLAMP_TO_EDGE);
21114
21114
  ye.activeTexture.set(Ce.TEXTURE0);
21115
21115
  let Ke = Re.fbo;
21116
21116
  if (!Ke) {
21117
- const ut = new Ge(ye, { width: De, height: De, data: null }, Ce.RGBA);
21118
- ut.bind(Ce.LINEAR, Ce.CLAMP_TO_EDGE), Ke = Re.fbo = ye.createFramebuffer(De, De, !0, !1), Ke.colorAttachment.set(ut.texture);
21117
+ const ct = new Ge(ye, { width: De, height: De, data: null }, Ce.RGBA);
21118
+ ct.bind(Ce.LINEAR, Ce.CLAMP_TO_EDGE), Ke = Re.fbo = ye.createFramebuffer(De, De, !0, !1), Ke.colorAttachment.set(ct.texture);
21119
21119
  }
21120
21120
  ye.bindFramebuffer.set(Ke.framebuffer), ye.viewport.set([0, 0, De, De]), ie.useProgram("hillshadePrepare").draw(ye, Ce.TRIANGLES, fe, ge, xe, Wt.disabled, Hh(Re.tileID, ze), null, null, me.id, ie.rasterBoundsBuffer, ie.quadTriangleIndexBuffer, ie.rasterBoundsSegments), Re.needsHillshadePrepare = !1;
21121
21121
  }
@@ -21149,8 +21149,8 @@ uniform ${z} ${V} u_${F};
21149
21149
  me && (G.activeTexture.set(ne.TEXTURE0), g.imageManager.bind(g.context));
21150
21150
  const Re = S.getCrossfadeParameters();
21151
21151
  for (const ze of qe) {
21152
- const De = oe.getProjectionData({ overscaledTileID: ze, applyGlobeMatrix: !H, applyTerrainMatrix: !0 }), $e = me ? Kh(F, g, me, { tileID: ze, tileSize: ce }, Re) : Zh(F, V), Ye = g.style.map.terrain && g.style.map.terrain.getTerrainData(ze), Ke = ie.getMeshFromTileID(G, ze.canonical, !1, !0, "raster");
21153
- Ce.draw(G, ne.TRIANGLES, xe, ge, ye, Wt.backCCW, $e, Ye, De, S.id, Ke.vertexBuffer, Ke.indexBuffer, Ke.segments);
21152
+ const De = oe.getProjectionData({ overscaledTileID: ze, applyGlobeMatrix: !H, applyTerrainMatrix: !0 }), et = me ? Kh(F, g, me, { tileID: ze, tileSize: ce }, Re) : Zh(F, V), Ye = g.style.map.terrain && g.style.map.terrain.getTerrainData(ze), Ke = ie.getMeshFromTileID(G, ze.canonical, !1, !0, "raster");
21153
+ Ce.draw(G, ne.TRIANGLES, xe, ge, ye, Wt.backCCW, et, Ye, De, S.id, Ke.vertexBuffer, Ke.indexBuffer, Ke.segments);
21154
21154
  }
21155
21155
  }(e, 0, a, l, h) : s.cc(a) && function(g, x, S, I) {
21156
21156
  const { isRenderingGlobe: z } = I, V = g.context, F = S.implementation, H = g.style.projection, G = g.transform, ne = G.getProjectionDataForCustomLayer(z), ie = { farZ: G.farZ, nearZ: G.nearZ, fov: G.fov * Math.PI / 180, modelViewProjectionMatrix: G.modelViewProjectionMatrix, projectionMatrix: G.projectionMatrix, shaderData: { variantName: H.shaderVariantName, vertexShaderPrelude: `const float PI = 3.141592653589793;
@@ -22270,10 +22270,10 @@ ${H.shaderPreludeCode.vertexSource}`, define: H.shaderDefine }, defaultProjectio
22270
22270
  const z = () => r.project(r.getCenter()), V = function({ enable: fe, clickTolerance: ge, aroundCenter: xe = !0, minPixelCenterThreshold: ye = 100, rotateDegreesPerPixelMoved: Ce = 0.8 }, qe) {
22271
22271
  const Re = new Us({ checkCorrectEvent: (ze) => A.mouseButton(ze) === 0 && ze.ctrlKey || A.mouseButton(ze) === 2 && !ze.ctrlKey });
22272
22272
  return new ki({ clickTolerance: ge, move: (ze, De) => {
22273
- const $e = qe();
22274
- if (xe && Math.abs($e.y - ze.y) > ye) return { bearingDelta: s.ce(new s.P(ze.x, De.y), De, $e) };
22273
+ const et = qe();
22274
+ if (xe && Math.abs(et.y - ze.y) > ye) return { bearingDelta: s.ce(new s.P(ze.x, De.y), De, et) };
22275
22275
  let Ye = (De.x - ze.x) * Ce;
22276
- return xe && De.y < $e.y && (Ye = -Ye), { bearingDelta: Ye };
22276
+ return xe && De.y < et.y && (Ye = -Ye), { bearingDelta: Ye };
22277
22277
  }, moveStateManager: Re, enable: fe, assignEvents: Ca });
22278
22278
  }(e, z), F = function({ enable: fe, clickTolerance: ge, pitchDegreesPerPixelMoved: xe = -0.5 }) {
22279
22279
  const ye = new Us({ checkCorrectEvent: (Ce) => A.mouseButton(Ce) === 0 && Ce.ctrlKey || A.mouseButton(Ce) === 2 });
@@ -22609,8 +22609,8 @@ ${H.shaderPreludeCode.vertexSource}`, define: H.shaderDefine }, defaultProjectio
22609
22609
  typeof ne.scaleOfMinZoom == "number" && (ie = Math.sqrt(oe / ne.scaleOfMinZoom / me * 2));
22610
22610
  const fe = ie * ie;
22611
22611
  function ge(De) {
22612
- const $e = (ce * ce - oe * oe + (De ? -1 : 1) * fe * fe * me * me) / (2 * (De ? ce : oe) * fe * me);
22613
- return Math.log(Math.sqrt($e * $e + 1) - $e);
22612
+ const et = (ce * ce - oe * oe + (De ? -1 : 1) * fe * fe * me * me) / (2 * (De ? ce : oe) * fe * me);
22613
+ return Math.log(Math.sqrt(et * et + 1) - et);
22614
22614
  }
22615
22615
  function xe(De) {
22616
22616
  return (Math.exp(De) - Math.exp(-De)) / 2;
@@ -22622,16 +22622,16 @@ ${H.shaderPreludeCode.vertexSource}`, define: H.shaderDefine }, defaultProjectio
22622
22622
  let qe = function(De) {
22623
22623
  return ye(Ce) / ye(Ce + ie * De);
22624
22624
  }, Re = function(De) {
22625
- return oe * ((ye(Ce) * (xe($e = Ce + ie * De) / ye($e)) - xe(Ce)) / fe) / me;
22626
- var $e;
22625
+ return oe * ((ye(Ce) * (xe(et = Ce + ie * De) / ye(et)) - xe(Ce)) / fe) / me;
22626
+ var et;
22627
22627
  }, ze = (ge(!0) - Ce) / ie;
22628
22628
  if (Math.abs(me) < 2e-6 || !isFinite(ze)) {
22629
22629
  if (Math.abs(oe - ce) < 1e-6) return this.easeTo(e, r);
22630
22630
  const De = ce < oe ? -1 : 1;
22631
- ze = Math.abs(Math.log(ce / oe)) / ie, Re = () => 0, qe = ($e) => Math.exp(De * ie * $e);
22631
+ ze = Math.abs(Math.log(ce / oe)) / ie, Re = () => 0, qe = (et) => Math.exp(De * ie * et);
22632
22632
  }
22633
22633
  return e.duration = "duration" in e ? +e.duration : 1e3 * ze / ("screenSpeed" in e ? +e.screenSpeed / ie : +e.speed), e.maxDuration && e.duration > e.maxDuration && (e.duration = 0), this._zooming = !0, this._rotating = l !== S, this._pitching = I !== h, this._rolling = z !== g, this._padding = !a.isPaddingEqual(V), this._prepareEase(r, !1), this.terrain && this._prepareElevation(ne.targetCenter), this._ease((De) => {
22634
- const $e = De * ze, Ye = 1 / qe($e), Ke = Re($e);
22634
+ const et = De * ze, Ye = 1 / qe(et), Ke = Re(et);
22635
22635
  this._rotating && a.setBearing(s.B.number(l, S, De)), this._pitching && a.setPitch(s.B.number(h, I, De)), this._rolling && a.setRoll(s.B.number(g, z, De)), this._padding && (a.interpolatePadding(x, V, De), H = a.centerPoint.add(F)), ne.easeFunc(De, Ye, Ke, H), this.terrain && !e.freezeElevation && this._updateElevation(De), this._applyUpdatedTransform(a), this._fireMoveEvents(r);
22636
22636
  }, () => {
22637
22637
  this.terrain && e.freezeElevation && this._finalizeElevation(), this._afterEase(r);
@@ -24270,8 +24270,8 @@ ${H.shaderPreludeCode.vertexSource}`, define: H.shaderDefine }, defaultProjectio
24270
24270
  Kr[r] = a;
24271
24271
  })(u, e);
24272
24272
  }), v.clearPrewarmedResources = function() {
24273
- const u = tt;
24274
- u && (u.isPreloaded() && u.numActive() === 1 ? (u.release(Bn), tt = null) : console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"));
24273
+ const u = $e;
24274
+ u && (u.isPreloaded() && u.numActive() === 1 ? (u.release(Bn), $e = null) : console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"));
24275
24275
  }, v.createTileMesh = lo, v.getMaxParallelImageRequests = function() {
24276
24276
  return s.a.MAX_PARALLEL_IMAGE_REQUESTS;
24277
24277
  }, v.getRTLTextPluginStatus = function() {
@@ -24283,9 +24283,9 @@ ${H.shaderPreludeCode.vertexSource}`, define: H.shaderDefine }, defaultProjectio
24283
24283
  }, v.getWorkerUrl = function() {
24284
24284
  return s.a.WORKER_URL;
24285
24285
  }, v.importScriptInWorkers = function(u) {
24286
- return ct().broadcast("IS", u);
24286
+ return lt().broadcast("IS", u);
24287
24287
  }, v.prewarm = function() {
24288
- lt().acquire(Bn);
24288
+ ht().acquire(Bn);
24289
24289
  }, v.setMaxParallelImageRequests = function(u) {
24290
24290
  s.a.MAX_PARALLEL_IMAGE_REQUESTS = u;
24291
24291
  }, v.setRTLTextPlugin = function(u, e) {
@@ -24302,7 +24302,7 @@ ${H.shaderPreludeCode.vertexSource}`, define: H.shaderDefine }, defaultProjectio
24302
24302
  }(_h)), _h.exports;
24303
24303
  }
24304
24304
  var Kx = Zx();
24305
- const bd = /* @__PURE__ */ xy(Kx), sr = (p, d) => {
24305
+ const bd = /* @__PURE__ */ xy(Kx), or = (p, d) => {
24306
24306
  const y = p.__vccOpts || p;
24307
24307
  for (const [b, k] of d)
24308
24308
  y[b] = k;
@@ -24322,10 +24322,10 @@ const bd = /* @__PURE__ */ xy(Kx), sr = (p, d) => {
24322
24322
  }
24323
24323
  },
24324
24324
  setup(p) {
24325
- const d = p, y = ar(() => {
24325
+ const d = p, y = lr(() => {
24326
24326
  var k;
24327
24327
  return ((k = d.config) == null ? void 0 : k.items) || [];
24328
- }), b = ar(() => {
24328
+ }), b = lr(() => {
24329
24329
  var k;
24330
24330
  return ((k = d.config) == null ? void 0 : k.title) || "";
24331
24331
  });
@@ -24358,7 +24358,7 @@ const bd = /* @__PURE__ */ xy(Kx), sr = (p, d) => {
24358
24358
  ])
24359
24359
  ], 4));
24360
24360
  }
24361
- }, eb = /* @__PURE__ */ sr($x, [["__scopeId", "data-v-c521b2f4"]]), tb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQfYBUV1ho8x2KJRsRujJppootjAAqioYMOCigUL0dh7Q1Fs2BVRKQJRxBoUuyiiWBELYgVUxBp7jSZWLNjmlbnyc/nvnTNtd2b3nOfhEflnZ2fPzn53TvvOOcTENGAamK0GzjHbJ7cHNw2YBsQAwDaBaWDGGjAAmPHLt0c3DRgA2B4wDcxYAwYAM3759uimAQMA2wOmgRlrIBUAbikiu4jIASJy6oz1Z49uGuhaAykAcEcReZGIXFJEfigiu4nIB7vWgi3eNDBTDcQCwJ1E5AgROecGff1URHYXkXfMVIf22KaBbjUQAwC7ishhInKhTZ72/0WEvx/brSZs4aaBGWpACwDXF5E3+mP/KjX9QkRuIyLHzVCP9simgS41oAGAbUTk3SKypeIJzRxQKMmGmAZa0UAIAK4hIq8Wka0iFow5cFsR+UjENTbUNGAaGEEDIQDY263pqQnrAgRuKCKfT7jWLjENmAYG0kAIAK7mj/+E/GLl/0Tk7iJyTOyFNt40YBoYRgMhAGAV2/sQ32be/9AqLToQ0pD93TQwogY0A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C+izjf3i4iFGHVkBwQoHaAFPLoUmL7MGu8SpvTNJCmAcwBmIVSHIMAFCeBqMI6A4C0F2VXmQZqaYBkoXclggDRgTvEVGIaANR6jTavaSBdAznJQlHRAQOA9JdkV5oGamogNzqgMgcMAGq+QpvbNJCnAZKFMAdSCogwByCMWcsYbQCQ94LsatNAbQ2QLETzl5SQOm3Zd3Sdo1dS7hkA1H59Nr9pIF8DOWzD+4rInquWYACQ/3JsBtPAEBoABOCK3CbiZjAJ7eRzGDa9zAAgQps21DQwsgZiogMQikIi8qV1azYAGPmN2u1NA5EaAARIG15HKgIhK7b/N0JzGwCENGR/Nw20pwGiAzBpb9Z8hI//+q4xC4SiQTEACKrIBpgGmtTAZuYAx/6baX75F09kANDku7VFmQZUGgAEXuUZgk4WEVq3r7X5l2c1AFDp2QaZBprVwLlFhGay9GOkt0aUGABEqcsGmwampQEDgGm9T3sa00CUBgwAotRlg00D09KAAcC03qc9jWkgSgMGAFHqssGmgWlpwABgWu/TnsY0EKUBA4Aoddlg08C0NPBnAT+diH1RP1wAAAAASUVORK5CYII=", rb = { class: "flex flex-row gap-x-3 z-10 relative" }, ib = ["onClick"], nb = ["src", "alt"], sb = {
24361
+ }, eb = /* @__PURE__ */ or($x, [["__scopeId", "data-v-c521b2f4"]]), tb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQfYBUV1ho8x2KJRsRujJppootjAAqioYMOCigUL0dh7Q1Fs2BVRKQJRxBoUuyiiWBELYgVUxBp7jSZWLNjmlbnyc/nvnTNtd2b3nOfhEflnZ2fPzn53TvvOOcTENGAamK0GzjHbJ7cHNw2YBsQAwDaBaWDGGjAAmPHLt0c3DRgA2B4wDcxYAwYAM3759uimAQMA2wOmgRlrIBUAbikiu4jIASJy6oz1Z49uGuhaAykAcEcReZGIXFJEfigiu4nIB7vWgi3eNDBTDcQCwJ1E5AgROecGff1URHYXkXfMVIf22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FGUWMgAovXVsvilp4GGuGWqNdOYccwAQuHUpc8AAYErb1Z6lhgaIDuxTYWLKqjEHUqIDxcwBA4AKb9amnJQGiA48wXfnLf1gNIQlOpBSRYhjMDs6UAMAmJMwYPFWxqW1b/OZBiI0ALHJIRHjtUNHNQdqAAAPTi44qJmSC61VnI0zDdTWAFmC/EOiFSzIFF/VqNsnWQgCGNq7xwpVhCQL0T4uWmoBwLl8LjPhDv691n2iH9guMA0kaIC+izjf3i4iFGHVkBwQoHaAFPLoUmL7MGu8SpvTNJCmAcwBmIVSHIMAFCeBqMI6A4C0F2VXmQZqaYBkoXclggDRgTvEVGIaANR6jTavaSBdAznJQlHRAQOA9JdkV5oGamogNzqgMgcMAGq+QpvbNJCnAZKFMAdSCogwByCMWcsYbQCQ94LsatNAbQ2QLETzl5SQOm3Zd3Sdo1dS7hkA1H59Nr9pIF8DOWzD+4rInquWYACQ/3JsBtPAEBoABOCK3CbiZjAJ7eRzGDa9zAAgQps21DQwsgZiogMQikIi8qV1azYAGPmN2u1NA5EaAARIG15HKgIhK7b/N0JzGwCENGR/Nw20pwGiAzBpb9Z8hI//+q4xC4SiQTEACKrIBpgGmtTAZuYAx/6baX75F09kANDku7VFmQZUGgAEXuUZgk4WEVq3r7X5l2c1AFDp2QaZBprVwLlFhGay9GOkt0aUGABEqcsGmwampQEDgGm9T3sa00CUBgwAotRlg00D09KAAcC03qc9jWkgSgMGAFHqssGmgWlpwABgWu/TnsY0EKUBA4Aoddlg08C0NPBnAT+diH1RP1wAAAAASUVORK5CYII=", rb = { class: "flex flex-row gap-x-3 z-10 relative" }, ib = ["onClick"], nb = ["src", "alt"], sb = {
24362
24362
  __name: "vs-basemaps-widget",
24363
24363
  props: {
24364
24364
  map: {
@@ -24375,7 +24375,7 @@ const bd = /* @__PURE__ */ xy(Kx), sr = (p, d) => {
24375
24375
  }
24376
24376
  },
24377
24377
  setup(p) {
24378
- const d = p, y = Br("voyager"), b = ar(() => {
24378
+ const d = p, y = Br("voyager"), b = lr(() => {
24379
24379
  var D;
24380
24380
  if (!((D = d.config) != null && D.layers)) return [];
24381
24381
  const s = d.config.layers.map((R) => ({
@@ -24926,11 +24926,11 @@ const vb = { class: "w-full flex flex-col bg-white border border-stone-200 shado
24926
24926
  T.visible && Zo(y.map, T);
24927
24927
  }), b("update:enabledLayerIds", E());
24928
24928
  });
24929
- const D = ar(() => {
24929
+ const D = lr(() => {
24930
24930
  if (!k.value) return P.value;
24931
24931
  const A = k.value.toLowerCase();
24932
24932
  return P.value.filter((T) => (T.title || T.name || T.label || "").toLowerCase().includes(A));
24933
- }), R = ar(() => P.value.every((A) => A.visible)), E = () => P.value.filter((A) => A.visible).map((A) => A.id), O = (A) => {
24933
+ }), R = lr(() => P.value.every((A) => A.visible)), E = () => P.value.filter((A) => A.visible).map((A) => A.id), O = (A) => {
24934
24934
  A.visible ? Zo(y.map, A) : (Ya(y.map, A.id), b("set-filter-layer", null)), y.map.getStyle().layers.filter((Z) => Z.source === A.id).forEach((Z) => {
24935
24935
  y.map.setLayoutProperty(
24936
24936
  Z.id,
@@ -25035,13 +25035,13 @@ const vb = { class: "w-full flex flex-col bg-white border border-stone-200 shado
25035
25035
  }
25036
25036
  },
25037
25037
  setup(p) {
25038
- const d = p, y = ar(() => {
25038
+ const d = p, y = lr(() => {
25039
25039
  var P;
25040
25040
  return ((P = d.config) == null ? void 0 : P.title) || "";
25041
- }), b = ar(() => {
25041
+ }), b = lr(() => {
25042
25042
  var P;
25043
25043
  return ((P = d.config) == null ? void 0 : P.content) || "";
25044
- }), k = ar(() => {
25044
+ }), k = lr(() => {
25045
25045
  var P;
25046
25046
  return ((P = d.config) == null ? void 0 : P.goTo) || [];
25047
25047
  });
@@ -25123,7 +25123,7 @@ const vb = { class: "w-full flex flex-col bg-white border border-stone-200 shado
25123
25123
  ]);
25124
25124
  };
25125
25125
  }
25126
- }, Ub = /* @__PURE__ */ sr(qb, [["__scopeId", "data-v-187a97ca"]]), Nb = { class: "w-full flex flex-col bg-white border border-stone-200 shadow-2xs rounded-xl z-10 relative overflow-hidden" }, jb = {
25126
+ }, Ub = /* @__PURE__ */ or(qb, [["__scopeId", "data-v-187a97ca"]]), Nb = { class: "w-full flex flex-col bg-white border border-stone-200 shadow-2xs rounded-xl z-10 relative overflow-hidden" }, jb = {
25127
25127
  key: 0,
25128
25128
  class: "p-5 pb-3 flex justify-between items-center"
25129
25129
  }, Wb = { class: "inline-block font-semibold text-lg text-gray-800" }, Hb = {
@@ -25155,13 +25155,13 @@ const vb = { class: "w-full flex flex-col bg-white border border-stone-200 shado
25155
25155
  },
25156
25156
  emits: ["close", "content-resize"],
25157
25157
  setup(p, { emit: d }) {
25158
- const y = p, b = d, k = ar(() => {
25158
+ const y = p, b = d, k = lr(() => {
25159
25159
  var Z;
25160
25160
  return ((Z = y.config) == null ? void 0 : Z.title) || "";
25161
- }), P = Br([]), v = Br(!1), s = Br(null), D = Br(0), R = ar(() => D.value + 1), E = ar(() => {
25161
+ }), P = Br([]), v = Br(!1), s = Br(null), D = Br(0), R = lr(() => D.value + 1), E = lr(() => {
25162
25162
  var Z;
25163
25163
  return ((Z = y.info) == null ? void 0 : Z.length) || 0;
25164
- }), O = ar(() => P.value[D.value]), M = ar(() => {
25164
+ }), O = lr(() => P.value[D.value]), M = lr(() => {
25165
25165
  if (!O.value) return {};
25166
25166
  const { rows: Z, columns: se } = O.value;
25167
25167
  return !Z || !se ? {} : se.reduce((le, Se) => (!Se.hide && !["geom", "geodata", "id"].includes(Se.name) && (le[Se.ua] = Z[Se.name] ?? "-"), le), {});
@@ -25293,12 +25293,12 @@ const vb = { class: "w-full flex flex-col bg-white border border-stone-200 shado
25293
25293
  }
25294
25294
  },
25295
25295
  setup(p) {
25296
- const d = p, y = ar(() => {
25296
+ const d = p, y = lr(() => {
25297
25297
  var D;
25298
25298
  return ((D = d.config) == null ? void 0 : D.title) || "";
25299
- }), b = Br([]), k = ar(() => d.config.layer.style.rules.some(
25299
+ }), b = Br([]), k = lr(() => d.config.layer.style.rules.some(
25300
25300
  (D) => D.count !== void 0
25301
- )), P = ar(() => d.config.layer.style.rules.reduce(
25301
+ )), P = lr(() => d.config.layer.style.rules.reduce(
25302
25302
  (D, R) => D + (R.count || 0),
25303
25303
  0
25304
25304
  )), v = (D) => !D || P.value === 0 ? 0 : Math.round(D / P.value * 100), s = () => {
@@ -25406,7 +25406,7 @@ const vb = { class: "w-full flex flex-col bg-white border border-stone-200 shado
25406
25406
  },
25407
25407
  emits: ["select", "remove"],
25408
25408
  setup(p, { emit: d }) {
25409
- const y = p, b = d, k = ar(() => y.selectedLayers.some((s) => s.id === y.layer.id)), P = (s) => Intl.NumberFormat("uk", {
25409
+ const y = p, b = d, k = lr(() => y.selectedLayers.some((s) => s.id === y.layer.id)), P = (s) => Intl.NumberFormat("uk", {
25410
25410
  notation: "compact"
25411
25411
  }).format(s), v = (s) => {
25412
25412
  b(s ? "select" : "remove", y.layer);
@@ -25448,7 +25448,7 @@ const vb = { class: "w-full flex flex-col bg-white border border-stone-200 shado
25448
25448
  ]);
25449
25449
  };
25450
25450
  }
25451
- }, E1 = /* @__PURE__ */ sr(I1, [["__scopeId", "data-v-b96f3537"]]), M1 = {}, L1 = {
25451
+ }, E1 = /* @__PURE__ */ or(I1, [["__scopeId", "data-v-b96f3537"]]), M1 = {}, L1 = {
25452
25452
  xmlns: "http://www.w3.org/2000/svg",
25453
25453
  width: "16",
25454
25454
  height: "16",
@@ -25487,7 +25487,7 @@ function R1(p, d) {
25487
25487
  }, null, -1)
25488
25488
  ]));
25489
25489
  }
25490
- const z1 = /* @__PURE__ */ sr(M1, [["render", R1]]), D1 = {}, B1 = {
25490
+ const z1 = /* @__PURE__ */ or(M1, [["render", R1]]), D1 = {}, B1 = {
25491
25491
  xmlns: "http://www.w3.org/2000/svg",
25492
25492
  width: "16",
25493
25493
  height: "16",
@@ -25510,7 +25510,7 @@ function O1(p, d) {
25510
25510
  re("path", { d: "M12 8h.01" }, null, -1)
25511
25511
  ]));
25512
25512
  }
25513
- const F1 = /* @__PURE__ */ sr(D1, [["render", O1]]), V1 = {}, q1 = {
25513
+ const F1 = /* @__PURE__ */ or(D1, [["render", O1]]), V1 = {}, q1 = {
25514
25514
  xmlns: "http://www.w3.org/2000/svg",
25515
25515
  width: "16",
25516
25516
  height: "16",
@@ -25536,7 +25536,7 @@ function U1(p, d) {
25536
25536
  re("path", { d: "M3 15h18" }, null, -1)
25537
25537
  ]));
25538
25538
  }
25539
- const N1 = /* @__PURE__ */ sr(V1, [["render", U1]]), j1 = {}, W1 = {
25539
+ const N1 = /* @__PURE__ */ or(V1, [["render", U1]]), j1 = {}, W1 = {
25540
25540
  xmlns: "http://www.w3.org/2000/svg",
25541
25541
  width: "16",
25542
25542
  height: "16",
@@ -25553,7 +25553,7 @@ function H1(p, d) {
25553
25553
  $s('<path d="M3 6h18"></path><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"></path><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"></path><line x1="10" x2="10" y1="11" y2="17"></line><line x1="14" x2="14" y1="11" y2="17"></line>', 5)
25554
25554
  ]));
25555
25555
  }
25556
- const Z1 = /* @__PURE__ */ sr(j1, [["render", H1]]), K1 = {}, G1 = {
25556
+ const Z1 = /* @__PURE__ */ or(j1, [["render", H1]]), K1 = {}, G1 = {
25557
25557
  xmlns: "http://www.w3.org/2000/svg",
25558
25558
  width: "18",
25559
25559
  height: "18",
@@ -25584,7 +25584,7 @@ function J1(p, d) {
25584
25584
  }, null, -1)
25585
25585
  ]));
25586
25586
  }
25587
- const X1 = /* @__PURE__ */ sr(K1, [["render", J1]]), Q1 = {}, Y1 = {
25587
+ const X1 = /* @__PURE__ */ or(K1, [["render", J1]]), Q1 = {}, Y1 = {
25588
25588
  width: "6",
25589
25589
  height: "10",
25590
25590
  viewBox: "0 0 6 10",
@@ -25601,7 +25601,7 @@ function $1(p, d) {
25601
25601
  }, null, -1)
25602
25602
  ]));
25603
25603
  }
25604
- const e2 = /* @__PURE__ */ sr(Q1, [["render", $1]]);
25604
+ const e2 = /* @__PURE__ */ or(Q1, [["render", $1]]);
25605
25605
  function t2() {
25606
25606
  const d = new URLSearchParams(window.location.search).get("layers");
25607
25607
  return d ? d.split(",") : [];
@@ -26120,7 +26120,7 @@ function q2(p, d, y, b, k, P) {
26120
26120
  ], 64))
26121
26121
  ]);
26122
26122
  }
26123
- const U2 = /* @__PURE__ */ sr(i2, [["render", q2], ["__scopeId", "data-v-29516a2c"]]);
26123
+ const U2 = /* @__PURE__ */ or(i2, [["render", q2], ["__scopeId", "data-v-29516a2c"]]);
26124
26124
  var qu = { exports: {} }, Uu = { exports: {} }, Rn = {}, rn = {}, Hm;
26125
26125
  function on() {
26126
26126
  if (Hm) return rn;
@@ -29542,13 +29542,13 @@ const Sw = {
29542
29542
  }
29543
29543
  },
29544
29544
  setup(p) {
29545
- const d = p, y = Br(0), b = Br(null), k = ar(() => {
29545
+ const d = p, y = Br(0), b = Br(null), k = lr(() => {
29546
29546
  var D;
29547
29547
  return ((D = d.config) == null ? void 0 : D.filters) || [];
29548
- }), P = ar(() => k.value.map((D) => ({
29548
+ }), P = lr(() => k.value.map((D) => ({
29549
29549
  ...D,
29550
29550
  id: D.name
29551
- }))), v = ar(() => {
29551
+ }))), v = lr(() => {
29552
29552
  var R;
29553
29553
  const D = (R = d.config) == null ? void 0 : R.conditions;
29554
29554
  return !D || !D.layers ? !0 : d.enabledLayerIds.some((E) => D.layers.includes(E));
@@ -29623,17 +29623,17 @@ const Sw = {
29623
29623
  }
29624
29624
  },
29625
29625
  setup(p) {
29626
- const d = p, y = Br(0), b = Br(null), k = ar(() => {
29626
+ const d = p, y = Br(0), b = Br(null), k = lr(() => {
29627
29627
  var R;
29628
29628
  return ((R = d.config) == null ? void 0 : R.filters) || [];
29629
- }), P = ar(() => k.value.map((R) => ({
29629
+ }), P = lr(() => k.value.map((R) => ({
29630
29630
  ...R,
29631
29631
  id: R.name
29632
- }))), v = ar(() => {
29632
+ }))), v = lr(() => {
29633
29633
  var E;
29634
29634
  const R = (E = d.config) == null ? void 0 : E.conditions;
29635
29635
  return !R || !R.layers ? !0 : d.enabledLayerIds.some((O) => R.layers.includes(O));
29636
- }), s = ar(() => {
29636
+ }), s = lr(() => {
29637
29637
  var R;
29638
29638
  if (d.enabledLayerIds && d.enabledLayerIds.length) {
29639
29639
  const O = (((R = d.config) == null ? void 0 : R.layers) || []).find((M) => M.id === d.enabledLayerIds[0]);
@@ -29849,14 +29849,14 @@ function Ww(p, d, y, b, k, P) {
29849
29849
  ])) : (Te(), Be("div", jw, "Немає даних"))
29850
29850
  ], 512);
29851
29851
  }
29852
- const Hw = /* @__PURE__ */ sr(Rw, [["render", Ww]]), Zw = { class: "map-skeleton-loader" }, Kw = {
29852
+ const Hw = /* @__PURE__ */ or(Rw, [["render", Ww]]), Zw = { class: "map-skeleton-loader" }, Kw = {
29853
29853
  __name: "vs-skeleton-loader",
29854
29854
  setup(p) {
29855
29855
  return (d, y) => (Te(), Be("div", Zw, y[0] || (y[0] = [
29856
29856
  re("div", { class: "dot-pulse" }, null, -1)
29857
29857
  ])));
29858
29858
  }
29859
- }, Gw = /* @__PURE__ */ sr(Kw, [["__scopeId", "data-v-954c1e03"]]), Jw = {}, Xw = {
29859
+ }, Gw = /* @__PURE__ */ or(Kw, [["__scopeId", "data-v-954c1e03"]]), Jw = {}, Xw = {
29860
29860
  width: "24",
29861
29861
  height: "24",
29862
29862
  viewBox: "0 0 24 24",
@@ -29890,7 +29890,7 @@ function Qw(p, d) {
29890
29890
  }, null, -1)
29891
29891
  ]));
29892
29892
  }
29893
- const Yw = /* @__PURE__ */ sr(Jw, [["render", Qw]]), $w = {
29893
+ const Yw = /* @__PURE__ */ or(Jw, [["render", Qw]]), $w = {
29894
29894
  components: {
29895
29895
  homeIcon: Yw
29896
29896
  },
@@ -29928,7 +29928,7 @@ function eS(p, d, y, b, k, P) {
29928
29928
  })
29929
29929
  ]);
29930
29930
  }
29931
- const tS = /* @__PURE__ */ sr($w, [["render", eS]]), rS = {}, iS = {
29931
+ const tS = /* @__PURE__ */ or($w, [["render", eS]]), rS = {}, iS = {
29932
29932
  width: "24",
29933
29933
  height: "24",
29934
29934
  viewBox: "0 0 24 24",
@@ -29962,7 +29962,7 @@ function nS(p, d) {
29962
29962
  }, null, -1)
29963
29963
  ]));
29964
29964
  }
29965
- const sS = /* @__PURE__ */ sr(rS, [["render", nS]]), oS = {
29965
+ const sS = /* @__PURE__ */ or(rS, [["render", nS]]), oS = {
29966
29966
  components: {
29967
29967
  printIcon: sS
29968
29968
  },
@@ -30099,7 +30099,7 @@ function aS(p, d, y, b, k, P) {
30099
30099
  _: 1
30100
30100
  });
30101
30101
  }
30102
- const lS = /* @__PURE__ */ sr(oS, [["render", aS]]), cS = {
30102
+ const lS = /* @__PURE__ */ or(oS, [["render", aS]]), cS = {
30103
30103
  props: {
30104
30104
  map: {
30105
30105
  type: Object,
@@ -30154,7 +30154,7 @@ function uS(p, d, y, b, k, P) {
30154
30154
  _: 1
30155
30155
  });
30156
30156
  }
30157
- const hS = /* @__PURE__ */ sr(cS, [["render", uS]]), pS = {}, dS = {
30157
+ const hS = /* @__PURE__ */ or(cS, [["render", uS]]), pS = {}, dS = {
30158
30158
  class: "shrink-0 size-4",
30159
30159
  xmlns: "http://www.w3.org/2000/svg",
30160
30160
  width: "24",
@@ -30172,7 +30172,7 @@ function fS(p, d) {
30172
30172
  re("path", { d: "m6 6 12 12" }, null, -1)
30173
30173
  ]));
30174
30174
  }
30175
- const Fd = /* @__PURE__ */ sr(pS, [["render", fS]]), mS = {
30175
+ const Fd = /* @__PURE__ */ or(pS, [["render", fS]]), mS = {
30176
30176
  props: {
30177
30177
  bgColor: {
30178
30178
  type: String,
@@ -30234,7 +30234,7 @@ function SS(p, d, y, b, k, P) {
30234
30234
  }, null, 8, wS)
30235
30235
  ]);
30236
30236
  }
30237
- const AS = /* @__PURE__ */ sr(mS, [["render", SS]]), { Marker: kS } = bd, TS = {
30237
+ const AS = /* @__PURE__ */ or(mS, [["render", SS]]), { Marker: kS } = bd, TS = {
30238
30238
  components: {
30239
30239
  geoIcon: AS,
30240
30240
  closeIcon: Fd
@@ -30375,7 +30375,7 @@ function MS(p, d, y, b, k, P) {
30375
30375
  })
30376
30376
  ]);
30377
30377
  }
30378
- const LS = /* @__PURE__ */ sr(TS, [["render", MS]]);
30378
+ const LS = /* @__PURE__ */ or(TS, [["render", MS]]);
30379
30379
  var Rg = 63710088e-1;
30380
30380
  function RS(p, d) {
30381
30381
  var y, b, k, P, v, s, D, R, E, O, M = 0, A = p.type === "FeatureCollection", T = p.type === "Feature", j = A ? p.features.length : 1;
@@ -30856,7 +30856,7 @@ function YS(p, d, y, b, k, P) {
30856
30856
  }, null, 8, QS)
30857
30857
  ]);
30858
30858
  }
30859
- const $S = /* @__PURE__ */ sr(HS, [["render", YS]]), eA = {
30859
+ const $S = /* @__PURE__ */ or(HS, [["render", YS]]), eA = {
30860
30860
  name: "vs-measure",
30861
30861
  components: {
30862
30862
  rulerIcon: $S,
@@ -31180,7 +31180,7 @@ function aA(p, d, y, b, k, P) {
31180
31180
  })
31181
31181
  ]);
31182
31182
  }
31183
- const lA = /* @__PURE__ */ sr(eA, [["render", aA], ["__scopeId", "data-v-401b2f16"]]), cA = {
31183
+ const lA = /* @__PURE__ */ or(eA, [["render", aA], ["__scopeId", "data-v-401b2f16"]]), cA = {
31184
31184
  props: {
31185
31185
  bgColor: {
31186
31186
  type: String,
@@ -31221,7 +31221,7 @@ function fA(p, d, y, b, k, P) {
31221
31221
  }, null, 8, dA)
31222
31222
  ]);
31223
31223
  }
31224
- const mA = /* @__PURE__ */ sr(cA, [["render", fA]]), gA = {
31224
+ const mA = /* @__PURE__ */ or(cA, [["render", fA]]), gA = {
31225
31225
  components: {
31226
31226
  areaIcon: mA,
31227
31227
  closeIcon: Fd
@@ -31518,7 +31518,7 @@ function wA(p, d, y, b, k, P) {
31518
31518
  })
31519
31519
  ]);
31520
31520
  }
31521
- const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e1"]]), dh = {
31521
+ const SA = /* @__PURE__ */ or(gA, [["render", wA], ["__scopeId", "data-v-024154e1"]]), dh = {
31522
31522
  __name: "vs-map-widget-column",
31523
31523
  props: {
31524
31524
  position: String,
@@ -31644,45 +31644,45 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
31644
31644
  const d = p, y = Br(null), b = Br(!1);
31645
31645
  let k = null;
31646
31646
  const P = Br(null), v = Br(null), s = Br([]), D = Br([]), R = Br(null), E = Br(null), O = Br(null);
31647
- function M(tt) {
31648
- return !O.value || !O.value.widgets ? [] : tt === "center" ? [
31647
+ function M($e) {
31648
+ return !O.value || !O.value.widgets ? [] : $e === "center" ? [
31649
31649
  ...O.value.widgets.filter(
31650
- (lt) => (lt.position || {}) === "center"
31650
+ (ht) => (ht.position || {}) === "center"
31651
31651
  ) || [],
31652
- ...D.value.filter((lt) => lt.position === "center")
31652
+ ...D.value.filter((ht) => ht.position === "center")
31653
31653
  ] : O.value.widgets.filter(
31654
- (rt) => (rt.position || {}) === tt
31654
+ (rt) => (rt.position || {}) === $e
31655
31655
  ) || [];
31656
31656
  }
31657
- hh.registerHelper("eq", (tt, rt) => tt === rt), hh.registerHelper(
31657
+ hh.registerHelper("eq", ($e, rt) => $e === rt), hh.registerHelper(
31658
31658
  "formatDate",
31659
- (tt) => tt ? new Date(tt).toLocaleDateString() : "Немає дати"
31660
- ), hh.registerHelper("get", (tt, rt) => (tt == null ? void 0 : tt[rt]) ?? "");
31661
- const A = (tt, rt, lt) => {
31659
+ ($e) => $e ? new Date($e).toLocaleDateString() : "Немає дати"
31660
+ ), hh.registerHelper("get", ($e, rt) => ($e == null ? void 0 : $e[rt]) ?? "");
31661
+ const A = ($e, rt, ht) => {
31662
31662
  try {
31663
- if (tt)
31664
- if (lt === "markdown") {
31665
- const wt = tt.replace(/\{\{([^}]+)\}\}/g, (ct, St) => {
31663
+ if ($e)
31664
+ if (ht === "markdown") {
31665
+ const wt = $e.replace(/\{\{([^}]+)\}\}/g, (lt, St) => {
31666
31666
  try {
31667
31667
  return new Function("data", `with(data) { return ${St} }`)(rt);
31668
31668
  } catch {
31669
31669
  return "";
31670
31670
  }
31671
31671
  });
31672
- return pr(wt);
31672
+ return dr(wt);
31673
31673
  } else
31674
- return hh.compile(tt)(rt);
31674
+ return hh.compile($e)(rt);
31675
31675
  } catch (wt) {
31676
- return console.error("Error processing template:", wt), tt;
31676
+ return console.error("Error processing template:", wt), $e;
31677
31677
  }
31678
- }, T = (tt, rt, lt, wt, ct, St) => {
31679
- const qt = A(tt, wt, ct), Mt = rt ? A(rt, wt, ct) : "";
31678
+ }, T = ($e, rt, ht, wt, lt, St) => {
31679
+ const qt = A($e, wt, lt), Mt = rt ? A(rt, wt, lt) : "";
31680
31680
  let Pt = "";
31681
- return lt != null && lt.length && (Pt = lt.map((dr) => {
31682
- const tr = A(dr.value, wt, ct);
31681
+ return ht != null && ht.length && (Pt = ht.map((sr) => {
31682
+ const tr = A(sr.value, wt, lt);
31683
31683
  return `
31684
31684
  <tr class="flex justify-between items-center">
31685
- <td class="font-medium mr-1.5 flex items-center">${dr.label}</td>
31685
+ <td class="font-medium mr-1.5 flex items-center">${sr.label}</td>
31686
31686
  <td class="text-right">${tr}</td>
31687
31687
  </tr>
31688
31688
  `;
@@ -31694,7 +31694,7 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
31694
31694
  </div>
31695
31695
  ` : ""}
31696
31696
  ${rt ? `<div class="text-sm px-2 py-1 break-words">${Mt}</div>` : ""}
31697
- ${lt != null && lt.length && !rt ? `
31697
+ ${ht != null && ht.length && !rt ? `
31698
31698
  <div class="text-xs px-2 py-0.5 text-gray-500">
31699
31699
  <table class="w-full">
31700
31700
  <tbody>${Pt}</tbody>
@@ -31703,7 +31703,7 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
31703
31703
  ` : ""}
31704
31704
  </div>
31705
31705
  `;
31706
- }, j = (tt) => ({
31706
+ }, j = ($e) => ({
31707
31707
  legend: eb,
31708
31708
  basemaps: sb,
31709
31709
  layers: Rb,
@@ -31714,45 +31714,45 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
31714
31714
  "inline-filters": Lw,
31715
31715
  list: Hw,
31716
31716
  card: Ty
31717
- })[tt], Z = ar(() => !!O.value && Array.isArray(O.value.widgets) && O.value.widgets.some((tt) => tt.type === "filters")), se = (tt) => {
31718
- P.value = tt;
31717
+ })[$e], Z = lr(() => !!O.value && Array.isArray(O.value.widgets) && O.value.widgets.some(($e) => $e.type === "filters")), se = ($e) => {
31718
+ P.value = $e;
31719
31719
  };
31720
31720
  function le() {
31721
- const tt = new URLSearchParams(window.location.search), rt = parseFloat(tt.get("x")), lt = parseFloat(tt.get("y")), wt = parseFloat(tt.get("z")), ct = parseFloat(tt.get("bearing")), St = parseFloat(tt.get("pitch"));
31721
+ const $e = new URLSearchParams(window.location.search), rt = parseFloat($e.get("x")), ht = parseFloat($e.get("y")), wt = parseFloat($e.get("z")), lt = parseFloat($e.get("bearing")), St = parseFloat($e.get("pitch"));
31722
31722
  return {
31723
- center: isFinite(rt) && isFinite(lt) ? [rt, lt] : null,
31723
+ center: isFinite(rt) && isFinite(ht) ? [rt, ht] : null,
31724
31724
  zoom: isFinite(wt) ? wt : null,
31725
- bearing: isFinite(ct) ? ct : null,
31725
+ bearing: isFinite(lt) ? lt : null,
31726
31726
  pitch: isFinite(St) ? St : null
31727
31727
  };
31728
31728
  }
31729
- function Se({ center: tt, zoom: rt, bearing: lt, pitch: wt }) {
31730
- const ct = new URLSearchParams(window.location.search);
31731
- ct.set("x", tt[0].toFixed(5)), ct.set("y", tt[1].toFixed(5)), ct.set("z", rt.toFixed(2)), ct.set("bearing", lt.toFixed(2)), ct.set("pitch", wt.toFixed(2));
31732
- const St = `${window.location.pathname}?${ct.toString()}`;
31729
+ function Se({ center: $e, zoom: rt, bearing: ht, pitch: wt }) {
31730
+ const lt = new URLSearchParams(window.location.search);
31731
+ lt.set("x", $e[0].toFixed(5)), lt.set("y", $e[1].toFixed(5)), lt.set("z", rt.toFixed(2)), lt.set("bearing", ht.toFixed(2)), lt.set("pitch", wt.toFixed(2));
31732
+ const St = `${window.location.pathname}?${lt.toString()}`;
31733
31733
  window.history.replaceState({}, "", St);
31734
31734
  }
31735
31735
  const $ = () => {
31736
31736
  var St, qt, Mt;
31737
31737
  if (!O.value || !O.value.map) return;
31738
- const tt = {
31738
+ const $e = {
31739
31739
  version: 8,
31740
31740
  glyphs: "https://cdn.softpro.ua/data/fonts/{fontstack}/{range}.pbf",
31741
31741
  sources: {},
31742
31742
  layers: []
31743
31743
  };
31744
- let rt = O.value.map.center, lt = O.value.map.zoom, wt = O.value.map.bearing || 0, ct = O.value.map.pitch || 0;
31744
+ let rt = O.value.map.center, ht = O.value.map.zoom, wt = O.value.map.bearing || 0, lt = O.value.map.pitch || 0;
31745
31745
  if (O.value.history) {
31746
31746
  const Pt = le();
31747
- Pt.center && (rt = Pt.center), Pt.zoom !== null && (lt = Pt.zoom), Pt.bearing !== null && (wt = Pt.bearing), Pt.pitch !== null && (ct = Pt.pitch);
31747
+ Pt.center && (rt = Pt.center), Pt.zoom !== null && (ht = Pt.zoom), Pt.bearing !== null && (wt = Pt.bearing), Pt.pitch !== null && (lt = Pt.pitch);
31748
31748
  }
31749
31749
  if (y.value = new bd.Map({
31750
31750
  container: "maplibre-demo-map",
31751
- style: tt,
31751
+ style: $e,
31752
31752
  center: rt,
31753
- zoom: lt,
31753
+ zoom: ht,
31754
31754
  bearing: wt,
31755
- pitch: ct,
31755
+ pitch: lt,
31756
31756
  maxBounds: [18.0856083513, 40.3614785833, 58.0807890155, 56.3350745713]
31757
31757
  }), (Mt = (qt = (St = O == null ? void 0 : O.value) == null ? void 0 : St.interactions) == null ? void 0 : qt.navigation) != null && Mt.enabled) {
31758
31758
  const Pt = new bd.NavigationControl({
@@ -31765,8 +31765,8 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
31765
31765
  y.value.on("load", async () => {
31766
31766
  var br, Ui, ni, On, Fn;
31767
31767
  b.value = !0, await ww(y.value);
31768
- const Pt = le(), dr = Pt.center && Pt.zoom !== null;
31769
- if ((br = O.value.map) != null && br.bbox && !dr) {
31768
+ const Pt = le(), sr = Pt.center && Pt.zoom !== null;
31769
+ if ((br = O.value.map) != null && br.bbox && !sr) {
31770
31770
  const [Jt, Xt, kt, Kr] = O.value.map.bbox;
31771
31771
  y.value.fitBounds(
31772
31772
  [
@@ -31783,12 +31783,12 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
31783
31783
  var Xt, kt, Kr, Er, wr;
31784
31784
  const Jt = ((wr = (Er = (Kr = (kt = (Xt = O.value) == null ? void 0 : Xt.widgets) == null ? void 0 : kt.find((Nr) => Nr.type === "layers")) == null ? void 0 : Kr.config) == null ? void 0 : Er.layers) == null ? void 0 : wr.filter(
31785
31785
  (Nr) => {
31786
- var ur;
31787
- return ((ur = Nr.style) == null ? void 0 : ur.attrType) === "icon-by-attribute";
31786
+ var hr;
31787
+ return ((hr = Nr.style) == null ? void 0 : hr.attrType) === "icon-by-attribute";
31788
31788
  }
31789
31789
  )) || [];
31790
31790
  for (const Nr of Jt) {
31791
- const { rules: ur, default_icon: di, icon_base_url: fi } = Nr.style, bi = [...ur.map((Yr) => Yr.icon), di].filter(
31791
+ const { rules: hr, default_icon: di, icon_base_url: fi } = Nr.style, bi = [...hr.map((Yr) => Yr.icon), di].filter(
31792
31792
  Boolean
31793
31793
  );
31794
31794
  for (const Yr of bi)
@@ -31800,13 +31800,13 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
31800
31800
  }
31801
31801
  }
31802
31802
  })(), (On = (ni = (Ui = O.value) == null ? void 0 : Ui.interactions) == null ? void 0 : ni.hover) != null && On.enabled && (y.value.on("mousemove", (Jt) => {
31803
- var ur, di, fi, bi, Yr, Fr, Vr, wi, we, X;
31803
+ var hr, di, fi, bi, Yr, Fr, Vr, wi, we, X;
31804
31804
  const Xt = y.value.queryRenderedFeatures(Jt.point);
31805
31805
  if (y.value && y.value.getCanvas && (y.value.getCanvas().style.cursor = Xt.length ? "pointer" : ""), !Xt.length) {
31806
31806
  if (v.value) {
31807
- const K = (ur = y.value.getSource(
31807
+ const K = (hr = y.value.getSource(
31808
31808
  v.value.source
31809
- )) == null ? void 0 : ur.type;
31809
+ )) == null ? void 0 : hr.type;
31810
31810
  v.value.source, v.value.id, K === "vector" && v.value.source, Qe(
31811
31811
  y.value,
31812
31812
  v.value.source,
@@ -31907,12 +31907,12 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
31907
31907
  ), Nr = (wi = (Vr = O.value) == null ? void 0 : Vr.widgets) == null ? void 0 : wi.find(
31908
31908
  (we) => we.type === "catalog"
31909
31909
  );
31910
- let ur;
31911
- Nr ? ur = kt.layer.source : ur = (wr == null ? void 0 : wr.config.layer) || (Er == null ? void 0 : Er.config.layers.find((we) => we.id === kt.layer.source)), R.value = {
31912
- layer: (ur == null ? void 0 : ur.service_key) || ur || "",
31913
- map: (ur == null ? void 0 : ur.map_key) || "",
31910
+ let hr;
31911
+ Nr ? hr = kt.layer.source : hr = (wr == null ? void 0 : wr.config.layer) || (Er == null ? void 0 : Er.config.layers.find((we) => we.id === kt.layer.source)), R.value = {
31912
+ layer: (hr == null ? void 0 : hr.service_key) || hr || "",
31913
+ map: (hr == null ? void 0 : hr.map_key) || "",
31914
31914
  id: kt.properties.id,
31915
- title: (ur == null ? void 0 : ur.title) || ""
31915
+ title: (hr == null ? void 0 : hr.title) || ""
31916
31916
  };
31917
31917
  }), y.value.on("dblclick", (Jt) => {
31918
31918
  var Kr, Er, wr;
@@ -31946,16 +31946,16 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
31946
31946
  }
31947
31947
  });
31948
31948
  }, de = () => {
31949
- Ir(), s.value.forEach((tt) => {
31950
- y.value && Qe(y.value, tt.source, tt.id, {
31949
+ Ir(), s.value.forEach(($e) => {
31950
+ y.value && Qe(y.value, $e.source, $e.id, {
31951
31951
  selected: !1
31952
31952
  });
31953
31953
  }), s.value = [], R.value = null;
31954
31954
  };
31955
31955
  el(async () => {
31956
31956
  await Ve(), await vc(), $();
31957
- const tt = document.getElementById("maplibre-demo-map");
31958
- tt && tt.addEventListener("mouseleave", () => {
31957
+ const $e = document.getElementById("maplibre-demo-map");
31958
+ $e && $e.addEventListener("mouseleave", () => {
31959
31959
  k && (k.remove(), k = null);
31960
31960
  }), Yn(
31961
31961
  () => d.table,
@@ -31973,44 +31973,44 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
31973
31973
  }
31974
31974
  );
31975
31975
  });
31976
- const Ee = ar(() => ({
31976
+ const Ee = lr(() => ({
31977
31977
  height: (d == null ? void 0 : d.height) || "100vh",
31978
31978
  width: "100%"
31979
31979
  })), Ve = async () => {
31980
- const tt = await Pr.get(`/api/map/${d.table}`);
31981
- O.value = tt.data;
31982
- }, Ge = (tt) => {
31980
+ const $e = await Pr.get(`/api/map/${d.table}`);
31981
+ O.value = $e.data;
31982
+ }, Ge = ($e) => {
31983
31983
  if (!O.value || !O.value.widgets) return "400px";
31984
- const rt = O.value.widgets.find((lt) => lt.position === tt);
31984
+ const rt = O.value.widgets.find((ht) => ht.position === $e);
31985
31985
  return (rt == null ? void 0 : rt.width) || "400px";
31986
31986
  }, gt = Br([]);
31987
31987
  Yn(
31988
31988
  () => O.value,
31989
- (tt) => {
31990
- tt && tt.map && (gt.value = nt(), $());
31989
+ ($e) => {
31990
+ $e && $e.map && (gt.value = nt(), $());
31991
31991
  }
31992
31992
  );
31993
31993
  const nt = () => {
31994
31994
  var rt;
31995
31995
  if (!O.value || !O.value.widgets) return [];
31996
- const tt = O.value.widgets.find((lt) => lt.type === "layers");
31997
- return (rt = tt == null ? void 0 : tt.config) != null && rt.layers ? tt.config.layers.map((lt) => ({ ...lt, visible: lt.visible ?? !1 })).filter((lt) => lt.visible).map((lt) => lt.id) : [];
31996
+ const $e = O.value.widgets.find((ht) => ht.type === "layers");
31997
+ return (rt = $e == null ? void 0 : $e.config) != null && rt.layers ? $e.config.layers.map((ht) => ({ ...ht, visible: ht.visible ?? !1 })).filter((ht) => ht.visible).map((ht) => ht.id) : [];
31998
31998
  };
31999
- function Qe(tt, rt, lt, wt) {
32000
- tt.getStyle().layers.filter((St) => St.source === rt).forEach((St) => {
31999
+ function Qe($e, rt, ht, wt) {
32000
+ $e.getStyle().layers.filter((St) => St.source === rt).forEach((St) => {
32001
32001
  var Mt;
32002
- const qt = { source: rt, id: lt };
32003
- ((Mt = tt.getSource(rt)) == null ? void 0 : Mt.type) === "vector" && St["source-layer"] && (qt.sourceLayer = St["source-layer"]), tt.setFeatureState(qt, wt);
32002
+ const qt = { source: rt, id: ht };
32003
+ ((Mt = $e.getSource(rt)) == null ? void 0 : Mt.type) === "vector" && St["source-layer"] && (qt.sourceLayer = St["source-layer"]), $e.setFeatureState(qt, wt);
32004
32004
  });
32005
32005
  }
32006
- const st = ar(() => !!O.value && !!O.value.interactions && !!O.value.interactions.navigation && O.value.interactions.navigation.enabled), At = ar(() => !!O.value && Array.isArray(O.value.tools) && O.value.tools.length > 0), Dt = ar(() => st.value || At.value ? "40px" : "20px");
32006
+ const st = lr(() => !!O.value && !!O.value.interactions && !!O.value.interactions.navigation && O.value.interactions.navigation.enabled), At = lr(() => !!O.value && Array.isArray(O.value.tools) && O.value.tools.length > 0), Dt = lr(() => st.value || At.value ? "40px" : "20px");
32007
32007
  function Ir() {
32008
32008
  y.value && (y.value.getLayer("layer-with-pulsing-dot") && y.value.removeLayer("layer-with-pulsing-dot"), y.value.getSource("dot-point") && y.value.removeSource("dot-point"), y.value.hasImage && y.value.hasImage("pulsing-dot") && y.value.removeImage("pulsing-dot"));
32009
32009
  }
32010
- function Or(tt) {
32011
- var wt, ct, St, qt;
32010
+ function Or($e) {
32011
+ var wt, lt, St, qt;
32012
32012
  Ir();
32013
- const rt = 80, lt = {
32013
+ const rt = 80, ht = {
32014
32014
  width: rt,
32015
32015
  height: rt,
32016
32016
  data: new Uint8Array(rt * rt * 4),
@@ -32020,9 +32020,9 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
32020
32020
  },
32021
32021
  render() {
32022
32022
  var ni;
32023
- const Pt = performance.now() % 2e3 / 2e3, dr = rt / 2 * 0.3, tr = rt / 2 * 0.7 * Pt + dr, { context: br } = this;
32023
+ const Pt = performance.now() % 2e3 / 2e3, sr = rt / 2 * 0.3, tr = rt / 2 * 0.7 * Pt + sr, { context: br } = this;
32024
32024
  br.clearRect(0, 0, this.width, this.height), br.beginPath(), br.arc(this.width / 2, this.height / 2, tr, 0, Math.PI * 2), br.fillStyle = `rgba(255, 100, 100, ${1 - Pt})`, br.fill();
32025
- const Ui = rt / 2 * 0.7 * (Pt - 0.5 < 0 ? Pt - 0.5 + 1 : Pt - 0.5) + dr;
32025
+ const Ui = rt / 2 * 0.7 * (Pt - 0.5 < 0 ? Pt - 0.5 + 1 : Pt - 0.5) + sr;
32026
32026
  return br.beginPath(), br.arc(
32027
32027
  this.width / 2,
32028
32028
  this.height / 2,
@@ -32032,11 +32032,11 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
32032
32032
  ), br.fillStyle = `rgba(255, 100, 100, ${1 - (Pt - 0.5 < 0 ? Pt - 0.5 + 1 : Pt - 0.5)})`, br.fill(), this.data = br.getImageData(0, 0, this.width, this.height).data, (ni = y.value) == null || ni.triggerRepaint(), !0;
32033
32033
  }
32034
32034
  };
32035
- (wt = y.value) != null && wt.hasImage("pulsing-dot") || (ct = y.value) == null || ct.addImage("pulsing-dot", lt, { pixelRatio: 2 }), (St = y.value) == null || St.addSource("dot-point", {
32035
+ (wt = y.value) != null && wt.hasImage("pulsing-dot") || (lt = y.value) == null || lt.addImage("pulsing-dot", ht, { pixelRatio: 2 }), (St = y.value) == null || St.addSource("dot-point", {
32036
32036
  type: "geojson",
32037
32037
  data: {
32038
32038
  type: "Feature",
32039
- geometry: { type: "Point", coordinates: tt }
32039
+ geometry: { type: "Point", coordinates: $e }
32040
32040
  }
32041
32041
  }), (qt = y.value) == null || qt.addLayer({
32042
32042
  id: "layer-with-pulsing-dot",
@@ -32046,14 +32046,14 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
32046
32046
  paint: { "icon-opacity": 0.6 }
32047
32047
  });
32048
32048
  }
32049
- const Vi = ar(() => {
32050
- var tt, rt, lt, wt, ct, St, qt, Mt, Pt, dr;
32049
+ const Vi = lr(() => {
32050
+ var $e, rt, ht, wt, lt, St, qt, Mt, Pt, sr;
32051
32051
  return {
32052
- center: (rt = (tt = O == null ? void 0 : O.value) == null ? void 0 : tt.map) == null ? void 0 : rt.center,
32053
- zoom: (wt = (lt = O == null ? void 0 : O.value) == null ? void 0 : lt.map) == null ? void 0 : wt.zoom,
32054
- pitch: ((St = (ct = O == null ? void 0 : O.value) == null ? void 0 : ct.map) == null ? void 0 : St.pitch) || 0,
32052
+ center: (rt = ($e = O == null ? void 0 : O.value) == null ? void 0 : $e.map) == null ? void 0 : rt.center,
32053
+ zoom: (wt = (ht = O == null ? void 0 : O.value) == null ? void 0 : ht.map) == null ? void 0 : wt.zoom,
32054
+ pitch: ((St = (lt = O == null ? void 0 : O.value) == null ? void 0 : lt.map) == null ? void 0 : St.pitch) || 0,
32055
32055
  bearing: ((Mt = (qt = O == null ? void 0 : O.value) == null ? void 0 : qt.map) == null ? void 0 : Mt.bearing) || 0,
32056
- bbox: ((dr = (Pt = O == null ? void 0 : O.value) == null ? void 0 : Pt.map) == null ? void 0 : dr.bbox) || null
32056
+ bbox: ((sr = (Pt = O == null ? void 0 : O.value) == null ? void 0 : Pt.map) == null ? void 0 : sr.bbox) || null
32057
32057
  };
32058
32058
  }), er = {
32059
32059
  home: tS,
@@ -32062,34 +32062,34 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
32062
32062
  pitch: hS,
32063
32063
  length: lA,
32064
32064
  area: SA
32065
- }, gn = (tt) => {
32066
- E.value = tt;
32065
+ }, gn = ($e) => {
32066
+ E.value = $e;
32067
32067
  };
32068
- function pi(tt) {
32068
+ function pi($e) {
32069
32069
  if (!O.value || !O.value.widgets) return;
32070
- const rt = O.value.widgets.find((ct) => ct.type === "list");
32070
+ const rt = O.value.widgets.find((lt) => lt.type === "list");
32071
32071
  if (!rt || !rt.config) return;
32072
- const { map_key: lt, service_key: wt } = rt.config;
32073
- lt && wt && (R.value = {
32074
- id: tt,
32075
- map: lt,
32072
+ const { map_key: ht, service_key: wt } = rt.config;
32073
+ ht && wt && (R.value = {
32074
+ id: $e,
32075
+ map: ht,
32076
32076
  layer: wt
32077
32077
  });
32078
32078
  }
32079
- const Bn = ar(
32080
- () => O.value && O.value.widgets ? O.value.widgets.filter((tt) => tt.position === "absolute") : []
32079
+ const Bn = lr(
32080
+ () => O.value && O.value.widgets ? O.value.widgets.filter(($e) => $e.position === "absolute") : []
32081
32081
  );
32082
- function qi(tt, rt, lt) {
32083
- const wt = tt.properties, ct = Object.keys(wt);
32084
- if (!ct.length) {
32085
- lt && (lt.style.display = "none");
32082
+ function qi($e, rt, ht) {
32083
+ const wt = $e.properties, lt = Object.keys(wt);
32084
+ if (!lt.length) {
32085
+ ht && (ht.style.display = "none");
32086
32086
  return;
32087
32087
  }
32088
32088
  const qt = `
32089
32089
  <div class="absolute min-w-28 max-w-[300px] bg-white/90 border border-gray-200 rounded-lg shadow-md text-gray-800 pointer-events-none" style="left: 0; top: 0;">
32090
32090
  <div class="text-xs px-2 py-0.5 text-gray-500">
32091
32091
  <table class="w-full">
32092
- <tbody>${ct.map(
32092
+ <tbody>${lt.map(
32093
32093
  (Mt) => `
32094
32094
  <tr class="flex justify-between items-center">
32095
32095
  <td class="font-medium mr-1.5 flex items-center">${Mt}</td>
@@ -32101,17 +32101,17 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
32101
32101
  </div>
32102
32102
  </div>
32103
32103
  `;
32104
- return lt || (lt = document.createElement("div"), lt.className = "custom-popup absolute z-50", document.body.appendChild(lt)), lt.style.display = "block", lt.innerHTML = qt, $n(lt, rt), lt;
32104
+ return ht || (ht = document.createElement("div"), ht.className = "custom-popup absolute z-50", document.body.appendChild(ht)), ht.innerHTML = qt, $n(ht, rt), ht;
32105
32105
  }
32106
- function $n(tt, rt) {
32107
- const lt = tt.offsetWidth, wt = tt.offsetHeight, ct = rt.originalEvent.clientX, St = rt.originalEvent.clientY, qt = window.innerWidth;
32108
- let Mt = ct - lt / 2;
32109
- Mt = Math.max(10, Math.min(Mt, qt - lt - 10));
32110
- let Pt;
32111
- St - wt - 10 > 0 ? Pt = St - wt - 5 : Pt = St + 15, tt.style.left = `${Mt + 20}px`, tt.style.top = `${Pt + 10}px`;
32106
+ function $n($e, rt) {
32107
+ const ht = $e.offsetWidth, wt = $e.offsetHeight, lt = document.getElementById("maplibre-demo-map"), St = lt.getBoundingClientRect(), qt = rt.originalEvent.clientX - St.left, Mt = rt.originalEvent.clientY - St.top;
32108
+ let Pt = qt - ht / 2;
32109
+ Pt = Math.max(10, Math.min(Pt, St.width - ht - 10));
32110
+ let sr;
32111
+ Mt - wt - 10 > 0 ? sr = Mt - wt - 5 : Mt + wt + 10 < St.height ? sr = Mt + 10 : sr = Math.max(10, St.height - wt - 10), $e.style.position = "absolute", $e.style.left = `${Pt + 20}px`, $e.style.top = `${sr + 10}px`, $e.parentNode !== lt && lt.appendChild($e);
32112
32112
  }
32113
- return (tt, rt) => {
32114
- var lt, wt;
32113
+ return ($e, rt) => {
32114
+ var ht, wt;
32115
32115
  return Te(), Be("div", {
32116
32116
  class: "maplibre-demo-map-container",
32117
32117
  style: Ko(Ee.value)
@@ -32121,12 +32121,12 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
32121
32121
  re("div", AA, [
32122
32122
  re("div", kA, [
32123
32123
  re("div", TA, [
32124
- (Te(), Be(Bt, null, _r(["top-left"], (ct) => {
32124
+ (Te(), Be(Bt, null, _r(["top-left"], (lt) => {
32125
32125
  var St, qt;
32126
32126
  return nr(dh, {
32127
- key: ct,
32128
- position: ct,
32129
- widgets: M(ct),
32127
+ key: lt,
32128
+ position: lt,
32129
+ widgets: M(lt),
32130
32130
  map: y.value,
32131
32131
  mapLoaded: b.value,
32132
32132
  cardValues: R.value,
@@ -32136,7 +32136,7 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
32136
32136
  enabledLayerIds: gt.value,
32137
32137
  getWidgetComponent: j,
32138
32138
  getColumnWidth: Ge,
32139
- rightColumnOffset: ct === "top-right" ? Dt.value : void 0,
32139
+ rightColumnOffset: lt === "top-right" ? Dt.value : void 0,
32140
32140
  onSetFilterLayer: se,
32141
32141
  "onUpdate:enabledLayerIds": rt[0] || (rt[0] = (Mt) => gt.value = Mt),
32142
32142
  onCardValuesId: pi,
@@ -32145,12 +32145,12 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
32145
32145
  }), 64))
32146
32146
  ]),
32147
32147
  re("div", CA, [
32148
- (Te(), Be(Bt, null, _r(["bottom-left"], (ct) => {
32148
+ (Te(), Be(Bt, null, _r(["bottom-left"], (lt) => {
32149
32149
  var St, qt;
32150
32150
  return nr(dh, {
32151
- key: ct,
32152
- position: ct,
32153
- widgets: M(ct),
32151
+ key: lt,
32152
+ position: lt,
32153
+ widgets: M(lt),
32154
32154
  map: y.value,
32155
32155
  mapLoaded: b.value,
32156
32156
  cardValues: R.value,
@@ -32160,7 +32160,7 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
32160
32160
  enabledLayerIds: gt.value,
32161
32161
  getWidgetComponent: j,
32162
32162
  getColumnWidth: Ge,
32163
- rightColumnOffset: ct === "top-right" ? Dt.value : void 0,
32163
+ rightColumnOffset: lt === "top-right" ? Dt.value : void 0,
32164
32164
  onSetFilterLayer: se,
32165
32165
  "onUpdate:enabledLayerIds": rt[1] || (rt[1] = (Mt) => gt.value = Mt),
32166
32166
  onCardValuesId: pi,
@@ -32171,12 +32171,12 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
32171
32171
  ]),
32172
32172
  re("div", PA, [
32173
32173
  re("div", IA, [
32174
- (Te(), Be(Bt, null, _r(["top-right"], (ct) => {
32174
+ (Te(), Be(Bt, null, _r(["top-right"], (lt) => {
32175
32175
  var St, qt;
32176
32176
  return nr(dh, {
32177
- key: ct,
32178
- position: ct,
32179
- widgets: M(ct),
32177
+ key: lt,
32178
+ position: lt,
32179
+ widgets: M(lt),
32180
32180
  map: y.value,
32181
32181
  mapLoaded: b.value,
32182
32182
  cardValues: R.value,
@@ -32186,7 +32186,7 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
32186
32186
  enabledLayerIds: gt.value,
32187
32187
  getWidgetComponent: j,
32188
32188
  getColumnWidth: Ge,
32189
- rightColumnOffset: ct === "top-right" ? Dt.value : void 0,
32189
+ rightColumnOffset: lt === "top-right" ? Dt.value : void 0,
32190
32190
  onSetFilterLayer: se,
32191
32191
  "onUpdate:enabledLayerIds": rt[2] || (rt[2] = (Mt) => gt.value = Mt),
32192
32192
  onCardValuesId: pi,
@@ -32195,12 +32195,12 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
32195
32195
  }), 64))
32196
32196
  ]),
32197
32197
  re("div", EA, [
32198
- (Te(), Be(Bt, null, _r(["bottom-right"], (ct) => {
32198
+ (Te(), Be(Bt, null, _r(["bottom-right"], (lt) => {
32199
32199
  var St, qt;
32200
32200
  return nr(dh, {
32201
- key: ct,
32202
- position: ct,
32203
- widgets: M(ct),
32201
+ key: lt,
32202
+ position: lt,
32203
+ widgets: M(lt),
32204
32204
  map: y.value,
32205
32205
  mapLoaded: b.value,
32206
32206
  cardValues: R.value,
@@ -32210,7 +32210,7 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
32210
32210
  enabledLayerIds: gt.value,
32211
32211
  getWidgetComponent: j,
32212
32212
  getColumnWidth: Ge,
32213
- rightColumnOffset: ct === "top-right" ? Dt.value : void 0,
32213
+ rightColumnOffset: lt === "top-right" ? Dt.value : void 0,
32214
32214
  onSetFilterLayer: se,
32215
32215
  "onUpdate:enabledLayerIds": rt[3] || (rt[3] = (Mt) => gt.value = Mt),
32216
32216
  onCardValuesId: pi,
@@ -32220,14 +32220,14 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
32220
32220
  ])
32221
32221
  ])
32222
32222
  ]),
32223
- (Te(!0), Be(Bt, null, _r(Bn.value, (ct, St) => (Te(), Be("div", {
32224
- key: "abs-" + (ct.id || ct.type || St),
32223
+ (Te(!0), Be(Bt, null, _r(Bn.value, (lt, St) => (Te(), Be("div", {
32224
+ key: "abs-" + (lt.id || lt.type || St),
32225
32225
  class: "absolute z-20",
32226
- style: Ko(ct.style)
32226
+ style: Ko(lt.style)
32227
32227
  }, [
32228
- (Te(), Zr(wc(j(ct.type)), {
32228
+ (Te(), Zr(wc(j(lt.type)), {
32229
32229
  map: y.value,
32230
- config: ct.config,
32230
+ config: lt.config,
32231
32231
  hasFilters: Z.value,
32232
32232
  currentFilterLayer: P.value,
32233
32233
  enabledLayerIds: gt.value,
@@ -32239,21 +32239,21 @@ const SA = /* @__PURE__ */ sr(gA, [["render", wA], ["__scopeId", "data-v-024154e
32239
32239
  }, null, 40, ["map", "config", "hasFilters", "currentFilterLayer", "enabledLayerIds", "cardValues"]))
32240
32240
  ], 4))), 128)),
32241
32241
  re("div", MA, [
32242
- (Te(!0), Be(Bt, null, _r((wt = (lt = O.value) == null ? void 0 : lt.value) == null ? void 0 : wt.tools, (ct) => (Te(), Be(Bt, { key: ct }, [
32243
- b.value && er[ct] ? (Te(), Zr(wc(er[ct]), Mv({
32242
+ (Te(!0), Be(Bt, null, _r((wt = (ht = O.value) == null ? void 0 : ht.value) == null ? void 0 : wt.tools, (lt) => (Te(), Be(Bt, { key: lt }, [
32243
+ b.value && er[lt] ? (Te(), Zr(wc(er[lt]), Mv({
32244
32244
  key: 0,
32245
32245
  map: y.value,
32246
32246
  activeTool: E.value,
32247
32247
  setActiveTool: gn,
32248
32248
  ref_for: !0
32249
- }, ct === "home" ? { initialView: Vi.value } : {}, { onCardValuesId: pi }), null, 16, ["map", "activeTool"])) : Ct("", !0)
32249
+ }, lt === "home" ? { initialView: Vi.value } : {}, { onCardValuesId: pi }), null, 16, ["map", "activeTool"])) : Ct("", !0)
32250
32250
  ], 64))), 128))
32251
32251
  ])
32252
32252
  ], 64)) : (Te(), Zr(Gw, { key: 0 }))
32253
32253
  ], 4);
32254
32254
  };
32255
32255
  }
32256
- }, Fy = /* @__PURE__ */ sr(LA, [["__scopeId", "data-v-0a951972"]]), RA = {
32256
+ }, Fy = /* @__PURE__ */ or(LA, [["__scopeId", "data-v-f75f0984"]]), RA = {
32257
32257
  props: {
32258
32258
  title: {
32259
32259
  type: String,
@@ -32271,7 +32271,7 @@ function OA(p, d, y, b, k, P) {
32271
32271
  re("p", BA, pt(y.description), 1)
32272
32272
  ]);
32273
32273
  }
32274
- const Vy = /* @__PURE__ */ sr(RA, [["render", OA]]), FA = {
32274
+ const Vy = /* @__PURE__ */ or(RA, [["render", OA]]), FA = {
32275
32275
  name: "RegistryList",
32276
32276
  components: {
32277
32277
  HeroBlock: Vy
@@ -32452,7 +32452,7 @@ function QA(p, d, y, b, k, P) {
32452
32452
  ])
32453
32453
  ]);
32454
32454
  }
32455
- const qy = /* @__PURE__ */ sr(FA, [["render", QA]]), YA = {
32455
+ const qy = /* @__PURE__ */ or(FA, [["render", QA]]), YA = {
32456
32456
  name: "Template2",
32457
32457
  props: {
32458
32458
  items: {
@@ -32548,7 +32548,7 @@ function mk(p, d, y, b, k, P) {
32548
32548
  ])
32549
32549
  ]))), 128);
32550
32550
  }
32551
- const gk = /* @__PURE__ */ sr(YA, [["render", mk]]), yk = {
32551
+ const gk = /* @__PURE__ */ or(YA, [["render", mk]]), yk = {
32552
32552
  name: "Template2",
32553
32553
  props: {
32554
32554
  items: {
@@ -32606,7 +32606,7 @@ function Ek(p, d, y, b, k, P) {
32606
32606
  ])
32607
32607
  ]))), 128);
32608
32608
  }
32609
- const Mk = /* @__PURE__ */ sr(yk, [["render", Ek]]), Lk = {
32609
+ const Mk = /* @__PURE__ */ or(yk, [["render", Ek]]), Lk = {
32610
32610
  name: "Template3",
32611
32611
  props: {
32612
32612
  items: {
@@ -32680,7 +32680,7 @@ function Hk(p, d, y, b, k, P) {
32680
32680
  ])
32681
32681
  ]))), 128);
32682
32682
  }
32683
- const Zk = /* @__PURE__ */ sr(Lk, [["render", Hk]]), Kk = {
32683
+ const Zk = /* @__PURE__ */ or(Lk, [["render", Hk]]), Kk = {
32684
32684
  name: "Template3",
32685
32685
  props: {
32686
32686
  items: {
@@ -32762,7 +32762,7 @@ function oT(p, d, y, b, k, P) {
32762
32762
  ])
32763
32763
  ]))), 128);
32764
32764
  }
32765
- const aT = /* @__PURE__ */ sr(Kk, [["render", oT]]), lT = {
32765
+ const aT = /* @__PURE__ */ or(Kk, [["render", oT]]), lT = {
32766
32766
  template1: gk,
32767
32767
  template2: Mk,
32768
32768
  template3: Zk,
@@ -33006,7 +33006,7 @@ function wT(p, d, y, b, k, P) {
33006
33006
  ])
33007
33007
  ]);
33008
33008
  }
33009
- const Uy = /* @__PURE__ */ sr(cT, [["render", wT]]), ST = { class: "pt-[10px]" }, AT = {
33009
+ const Uy = /* @__PURE__ */ or(cT, [["render", wT]]), ST = { class: "pt-[10px]" }, AT = {
33010
33010
  __name: "vs-editor-style-ace",
33011
33011
  props: {
33012
33012
  yamlValue: { type: null, default: () => "" }
@@ -33046,7 +33046,7 @@ function TT(p, d, y, b, k, P) {
33046
33046
  onUpdate: p.getData
33047
33047
  }, null, 8, ["yamlValue", "onChangeData", "onUpdate"]);
33048
33048
  }
33049
- const CT = /* @__PURE__ */ sr(kT, [["render", TT]]);
33049
+ const CT = /* @__PURE__ */ or(kT, [["render", TT]]);
33050
33050
  function PT(p) {
33051
33051
  p.component("MapCustom", Fy), p.component("RegistryList", qy), p.component("RegistryListCustom", Uy), p.component("vs-style-yml", CT);
33052
33052
  }