@golstats/gsc-reports 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{FilterConditions-55d68355-C5NIJbY6-C6u4SYGM-CcxS73vx.js → FilterConditions-55d68355-C5NIJbY6-C6u4SYGM-CD00CCSg.js} +1 -1
- package/dist/{FilterField-59a73e38-DO8nYLqs-kMEzVZsL-uXuuwpuX.js → FilterField-59a73e38-DO8nYLqs-kMEzVZsL-RY_JKbAY.js} +1 -1
- package/dist/{FilterSubcategories-a9b32cc9-DlkHni1L-DTr5944T-Dv6wa9TS.js → FilterSubcategories-a9b32cc9-DlkHni1L-DTr5944T-M4snip82.js} +1 -1
- package/dist/gsc-reports.css +1 -1
- package/dist/gsc-reports.es.js +1 -1
- package/dist/gsc-reports.umd.js +1 -1
- package/dist/{index-qxZmBGgL.js → index-DYgrDqFs.js} +266 -264
- package/package.json +1 -1
- package/src/components/gsc-reports.vue +2 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Nm, ref as an, inject as cf, reactive as Fd, h as dp, provide as ld, onMounted as Qs, nextTick as Ju, onUnmounted as nh, computed as Ti, watch as Da, cloneVNode as Fx, Fragment as En, createElementBlock as Ht, openBlock as Dt, createElementVNode as Pe, createVNode as zi, createCommentVNode as Ir, normalizeProps as ry, guardReactiveProps as ny, pushScopeId as cd, popScopeId as hd, unref as
|
|
1
|
+
import { defineComponent as Nm, ref as an, inject as cf, reactive as Fd, h as dp, provide as ld, onMounted as Qs, nextTick as Ju, onUnmounted as nh, computed as Ti, watch as Da, cloneVNode as Fx, Fragment as En, createElementBlock as Ht, openBlock as Dt, createElementVNode as Pe, createVNode as zi, createCommentVNode as Ir, normalizeProps as ry, guardReactiveProps as ny, pushScopeId as cd, popScopeId as hd, unref as wo, mergeProps as iy, withCtx as Xa, toDisplayString as Sr, defineAsyncComponent as X1, renderList as oa, normalizeClass as It, createBlock as Zi, KeepAlive as R6, resolveDynamicComponent as Cw, normalizeStyle as Ni, onBeforeMount as Iw, renderSlot as mh, Transition as Lw, withDirectives as mu, vShow as Rd, useCssVars as Kl, resolveComponent as Il, effectScope as N6, Teleport as Pw, createTextVNode as ni, withModifiers as pu, vModelRadio as wv, vModelCheckbox as j6, createStaticVNode as ju, vModelText as kf, onBeforeUnmount as Sf } from "vue";
|
|
2
2
|
var U6 = Object.defineProperty, q6 = (i, d, S) => d in i ? U6(i, d, { enumerable: !0, configurable: !0, writable: !0, value: S }) : i[d] = S, cp = (i, d, S) => q6(i, typeof d != "symbol" ? d + "" : d, S);
|
|
3
3
|
const dd = (i, d) => {
|
|
4
4
|
const S = i.__vccOpts || i;
|
|
@@ -2453,8 +2453,8 @@ function rT() {
|
|
|
2453
2453
|
return Ui[0].posref - fo[0].posref || Dn * (fo[0].traceIndex - Ui[0].traceIndex);
|
|
2454
2454
|
}); !Qr && xn <= Cn; ) {
|
|
2455
2455
|
for (xn++, Qr = !0, hr = 0; hr < Bn.length - 1; ) {
|
|
2456
|
-
var Fi = Bn[hr], La = Bn[hr + 1], Ri = Fi[Fi.length - 1],
|
|
2457
|
-
if ((Hr = Ri.pos + Ri.dp + Ri.size -
|
|
2456
|
+
var Fi = Bn[hr], La = Bn[hr + 1], Ri = Fi[Fi.length - 1], ko = La[0];
|
|
2457
|
+
if ((Hr = Ri.pos + Ri.dp + Ri.size - ko.pos - ko.dp + ko.size) > 0.01) {
|
|
2458
2458
|
for (cr = La.length - 1; cr >= 0; cr--) La[cr].dp += Hr;
|
|
2459
2459
|
for (Fi.push.apply(Fi, La), Bn.splice(hr + 1, 1), rn = 0, cr = Fi.length - 1; cr >= 0; cr--) rn += Fi[cr].dp;
|
|
2460
2460
|
for (Dr = rn / Fi.length, cr = Fi.length - 1; cr >= 0; cr--) Fi[cr].dp -= Dr;
|
|
@@ -47102,7 +47102,7 @@ void main() {
|
|
|
47102
47102
|
var N = z, G = z.R, ie = N.U;
|
|
47103
47103
|
ie ? ie.L === N ? ie.L = G : ie.R = G : s._ = G, G.U = ie, N.U = G, N.R = G.L, N.R && (N.R.U = N), G.L = N;
|
|
47104
47104
|
}
|
|
47105
|
-
function
|
|
47105
|
+
function ko(s, z) {
|
|
47106
47106
|
var N = z, G = z.L, ie = N.U;
|
|
47107
47107
|
ie ? ie.L === N ? ie.L = G : ie.R = G : s._ = G, G.U = ie, N.U = G, N.L = G.R, N.L && (N.L.U = N), G.R = N;
|
|
47108
47108
|
}
|
|
@@ -47184,7 +47184,7 @@ void main() {
|
|
|
47184
47184
|
} else s.R = z;
|
|
47185
47185
|
N = s;
|
|
47186
47186
|
} else this._ ? (s = Fa(this._), z.P = null, z.N = s, s.P = s.L = z, N = s) : (z.P = z.N = null, this._ = z, N = null);
|
|
47187
|
-
for (z.L = z.R = null, z.U = N, z.C = !0, s = z; N && N.C; ) N === (G = N.U).L ? (ie = G.R) && ie.C ? (N.C = ie.C = !1, G.C = !0, s = G) : (s === N.R && (Ri(this, N), N = (s = N).U), N.C = !1, G.C = !0,
|
|
47187
|
+
for (z.L = z.R = null, z.U = N, z.C = !0, s = z; N && N.C; ) N === (G = N.U).L ? (ie = G.R) && ie.C ? (N.C = ie.C = !1, G.C = !0, s = G) : (s === N.R && (Ri(this, N), N = (s = N).U), N.C = !1, G.C = !0, ko(this, G)) : (ie = G.L) && ie.C ? (N.C = ie.C = !1, G.C = !0, s = G) : (s === N.L && (ko(this, N), N = (s = N).U), N.C = !1, G.C = !0, Ri(this, G)), N = s.U;
|
|
47188
47188
|
this._.C = !1;
|
|
47189
47189
|
}, remove: function(s) {
|
|
47190
47190
|
s.N && (s.N.P = s.P), s.P && (s.P.N = s.N), s.N = s.P = null;
|
|
@@ -47195,11 +47195,11 @@ void main() {
|
|
|
47195
47195
|
if (s === this._) break;
|
|
47196
47196
|
if (s === ie.L) {
|
|
47197
47197
|
if ((z = ie.R).C && (z.C = !1, ie.C = !0, Ri(this, ie), z = ie.R), z.L && z.L.C || z.R && z.R.C) {
|
|
47198
|
-
z.R && z.R.C || (z.L.C = !1, z.C = !0,
|
|
47198
|
+
z.R && z.R.C || (z.L.C = !1, z.C = !0, ko(this, z), z = ie.R), z.C = ie.C, ie.C = z.R.C = !1, Ri(this, ie), s = this._;
|
|
47199
47199
|
break;
|
|
47200
47200
|
}
|
|
47201
|
-
} else if ((z = ie.L).C && (z.C = !1, ie.C = !0,
|
|
47202
|
-
z.L && z.L.C || (z.R.C = !1, z.C = !0, Ri(this, z), z = ie.L), z.C = ie.C, ie.C = z.L.C = !1,
|
|
47201
|
+
} else if ((z = ie.L).C && (z.C = !1, ie.C = !0, ko(this, ie), z = ie.L), z.L && z.L.C || z.R && z.R.C) {
|
|
47202
|
+
z.L && z.L.C || (z.R.C = !1, z.C = !0, Ri(this, z), z = ie.L), z.C = ie.C, ie.C = z.L.C = !1, ko(this, ie), s = this._;
|
|
47203
47203
|
break;
|
|
47204
47204
|
}
|
|
47205
47205
|
z.C = !0, s = ie, ie = ie.U;
|
|
@@ -47416,7 +47416,7 @@ void main() {
|
|
|
47416
47416
|
};
|
|
47417
47417
|
}, bounce: function() {
|
|
47418
47418
|
return jo;
|
|
47419
|
-
} }),
|
|
47419
|
+
} }), So = e.map({ in: ee, out: Dl, "in-out": ml, "out-in": function(s) {
|
|
47420
47420
|
return ml(Dl(s));
|
|
47421
47421
|
} });
|
|
47422
47422
|
function Dl(s) {
|
|
@@ -47471,7 +47471,7 @@ void main() {
|
|
|
47471
47471
|
}
|
|
47472
47472
|
e.ease = function(s) {
|
|
47473
47473
|
var z, N = s.indexOf("-"), G = N >= 0 ? s.slice(0, N) : s, ie = N >= 0 ? s.slice(N + 1) : "in";
|
|
47474
|
-
return G = Ba.get(G) || ks, ie =
|
|
47474
|
+
return G = Ba.get(G) || ks, ie = So.get(ie) || ee, z = ie(G.apply(null, v.call(arguments, 1))), function(de) {
|
|
47475
47475
|
return de <= 0 ? 0 : de >= 1 ? 1 : z(de);
|
|
47476
47476
|
};
|
|
47477
47477
|
}, e.interpolateHcl = function(s, z) {
|
|
@@ -48263,7 +48263,7 @@ void main() {
|
|
|
48263
48263
|
}, ke.interpolate = function(De) {
|
|
48264
48264
|
return arguments.length ? (N = De, _e()) : N;
|
|
48265
48265
|
}, ke.ticks = function(De) {
|
|
48266
|
-
return
|
|
48266
|
+
return Ao(s, De);
|
|
48267
48267
|
}, ke.tickFormat = function(De, Ue) {
|
|
48268
48268
|
return d3_scale_linearTickFormat(s, De, Ue);
|
|
48269
48269
|
}, ke.nice = function(De) {
|
|
@@ -48283,7 +48283,7 @@ void main() {
|
|
|
48283
48283
|
var N = iu(s), G = N[1] - N[0], ie = Math.pow(10, Math.floor(Math.log(G / z) / Math.LN10)), de = z / G * ie;
|
|
48284
48284
|
return de <= 0.15 ? ie *= 10 : de <= 0.35 ? ie *= 5 : de <= 0.75 && (ie *= 2), N[0] = Math.ceil(N[0] / ie) * ie, N[1] = Math.floor(N[1] / ie) * ie + 0.5 * ie, N[2] = ie, N;
|
|
48285
48285
|
}
|
|
48286
|
-
function
|
|
48286
|
+
function Ao(s, z) {
|
|
48287
48287
|
return e.range.apply(e, ba(s, z));
|
|
48288
48288
|
}
|
|
48289
48289
|
function Do(s, z, N, G) {
|
|
@@ -48341,7 +48341,7 @@ void main() {
|
|
|
48341
48341
|
}, de.domain = function(_e) {
|
|
48342
48342
|
return arguments.length ? (s.domain((N = _e.map(Number)).map(G)), de) : N;
|
|
48343
48343
|
}, de.ticks = function(_e) {
|
|
48344
|
-
return
|
|
48344
|
+
return Ao(N, _e);
|
|
48345
48345
|
}, de.tickFormat = function(_e, ke) {
|
|
48346
48346
|
return d3_scale_linearTickFormat(N, _e, ke);
|
|
48347
48347
|
}, de.nice = function(_e) {
|
|
@@ -48411,9 +48411,9 @@ void main() {
|
|
|
48411
48411
|
}, e.scale.category20b = function() {
|
|
48412
48412
|
return e.scale.ordinal().range(js);
|
|
48413
48413
|
}, e.scale.category20c = function() {
|
|
48414
|
-
return e.scale.ordinal().range(
|
|
48414
|
+
return e.scale.ordinal().range(Mo);
|
|
48415
48415
|
};
|
|
48416
|
-
var au = [2062260, 16744206, 2924588, 14034728, 9725885, 9197131, 14907330, 8355711, 12369186, 1556175].map(xr), xl = [2062260, 11454440, 16744206, 16759672, 2924588, 10018698, 14034728, 16750742, 9725885, 12955861, 9197131, 12885140, 14907330, 16234194, 8355711, 13092807, 12369186, 14408589, 1556175, 10410725].map(xr), js = [3750777, 5395619, 7040719, 10264286, 6519097, 9216594, 11915115, 13556636, 9202993, 12426809, 15186514, 15190932, 8666169, 11356490, 14049643, 15177372, 8077683, 10834324, 13528509, 14589654].map(xr),
|
|
48416
|
+
var au = [2062260, 16744206, 2924588, 14034728, 9725885, 9197131, 14907330, 8355711, 12369186, 1556175].map(xr), xl = [2062260, 11454440, 16744206, 16759672, 2924588, 10018698, 14034728, 16750742, 9725885, 12955861, 9197131, 12885140, 14907330, 16234194, 8355711, 13092807, 12369186, 14408589, 1556175, 10410725].map(xr), js = [3750777, 5395619, 7040719, 10264286, 6519097, 9216594, 11915115, 13556636, 9202993, 12426809, 15186514, 15190932, 8666169, 11356490, 14049643, 15177372, 8077683, 10834324, 13528509, 14589654].map(xr), Mo = [3244733, 7057110, 10406625, 13032431, 15095053, 16616764, 16625259, 16634018, 3253076, 7652470, 10607003, 13101504, 7695281, 10394312, 12369372, 14342891, 6513507, 9868950, 12434877, 14277081].map(xr);
|
|
48417
48417
|
function wa(s, z) {
|
|
48418
48418
|
var N;
|
|
48419
48419
|
function G() {
|
|
@@ -48475,7 +48475,7 @@ void main() {
|
|
|
48475
48475
|
return z.invert = z, z.domain = z.range = function(N) {
|
|
48476
48476
|
return arguments.length ? (s = N.map(z), z) : s;
|
|
48477
48477
|
}, z.ticks = function(N) {
|
|
48478
|
-
return
|
|
48478
|
+
return Ao(s, N);
|
|
48479
48479
|
}, z.tickFormat = function(N, G) {
|
|
48480
48480
|
return d3_scale_linearTickFormat(s, N, G);
|
|
48481
48481
|
}, z.copy = function() {
|
|
@@ -48612,11 +48612,11 @@ void main() {
|
|
|
48612
48612
|
}, "step-before": As, "step-after": ss, basis: ca, "basis-open": function(s) {
|
|
48613
48613
|
if (s.length < 4) return Xo(s);
|
|
48614
48614
|
for (var z, N = [], G = -1, ie = s.length, de = [0], _e = [0]; ++G < 3; ) z = s[G], de.push(z[0]), _e.push(z[1]);
|
|
48615
|
-
for (N.push(yo(
|
|
48615
|
+
for (N.push(yo(Eo, de) + "," + yo(Eo, _e)), --G; ++G < ie; ) z = s[G], de.shift(), de.push(z[0]), _e.shift(), _e.push(z[1]), Fu(N, de, _e);
|
|
48616
48616
|
return N.join("");
|
|
48617
48617
|
}, "basis-closed": function(s) {
|
|
48618
48618
|
for (var z, N, G = -1, ie = s.length, de = ie + 4, _e = [], ke = []; ++G < 4; ) N = s[G % ie], _e.push(N[0]), ke.push(N[1]);
|
|
48619
|
-
for (z = [yo(
|
|
48619
|
+
for (z = [yo(Eo, _e), ",", yo(Eo, ke)], --G; ++G < de; ) N = s[G % ie], _e.shift(), _e.push(N[0]), ke.shift(), ke.push(N[1]), Fu(z, _e, ke);
|
|
48620
48620
|
return z.join("");
|
|
48621
48621
|
}, bundle: function(s, z) {
|
|
48622
48622
|
var N = s.length - 1;
|
|
@@ -48671,7 +48671,7 @@ void main() {
|
|
|
48671
48671
|
}
|
|
48672
48672
|
function ca(s) {
|
|
48673
48673
|
if (s.length < 3) return Xo(s);
|
|
48674
|
-
var z = 1, N = s.length, G = s[0], ie = G[0], de = G[1], _e = [ie, ie, ie, (G = s[1])[0]], ke = [de, de, de, G[1]], De = [ie, ",", de, "L", yo(
|
|
48674
|
+
var z = 1, N = s.length, G = s[0], ie = G[0], de = G[1], _e = [ie, ie, ie, (G = s[1])[0]], ke = [de, de, de, G[1]], De = [ie, ",", de, "L", yo(Eo, _e), ",", yo(Eo, ke)];
|
|
48675
48675
|
for (s.push(s[N - 1]); ++z <= N; ) G = s[z], _e.shift(), _e.push(G[0]), ke.shift(), ke.push(G[1]), Fu(De, _e, ke);
|
|
48676
48676
|
return s.pop(), De.push("L", G), De.join("");
|
|
48677
48677
|
}
|
|
@@ -48681,9 +48681,9 @@ void main() {
|
|
|
48681
48681
|
qs.forEach(function(s, z) {
|
|
48682
48682
|
z.key = s, z.closed = /-closed$/.test(s);
|
|
48683
48683
|
});
|
|
48684
|
-
var $o = [0, 2 / 3, 1 / 3, 0], vs = [0, 1 / 3, 2 / 3, 0],
|
|
48684
|
+
var $o = [0, 2 / 3, 1 / 3, 0], vs = [0, 1 / 3, 2 / 3, 0], Eo = [0, 1 / 6, 2 / 3, 1 / 6];
|
|
48685
48685
|
function Fu(s, z, N) {
|
|
48686
|
-
s.push("C", yo($o, z), ",", yo($o, N), ",", yo(vs, z), ",", yo(vs, N), ",", yo(
|
|
48686
|
+
s.push("C", yo($o, z), ",", yo($o, N), ",", yo(vs, z), ",", yo(vs, N), ",", yo(Eo, z), ",", yo(Eo, N));
|
|
48687
48687
|
}
|
|
48688
48688
|
function gi(s, z) {
|
|
48689
48689
|
return (z[1] - s[1]) / (z[0] - s[0]);
|
|
@@ -48838,7 +48838,7 @@ void main() {
|
|
|
48838
48838
|
xe.transition = function(s) {
|
|
48839
48839
|
for (var z, N, G = Ya || ++ou, ie = za(s), de = [], _e = $l || { time: Date.now(), ease: tl, delay: 0, duration: 250 }, ke = -1, De = this.length; ++ke < De; ) {
|
|
48840
48840
|
de.push(z = []);
|
|
48841
|
-
for (var Ue = this[ke], rt = -1, ut = Ue.length; ++rt < ut; ) (N = Ue[rt]) &&
|
|
48841
|
+
for (var Ue = this[ke], rt = -1, ut = Ue.length; ++rt < ut; ) (N = Ue[rt]) && Co(N, rt, ie, G, _e), z.push(N);
|
|
48842
48842
|
}
|
|
48843
48843
|
return Al(de, ie, G);
|
|
48844
48844
|
}, xe.interrupt = function(s) {
|
|
@@ -48871,7 +48871,7 @@ void main() {
|
|
|
48871
48871
|
function za(s) {
|
|
48872
48872
|
return s == null ? "__transition__" : "__transition_" + s + "__";
|
|
48873
48873
|
}
|
|
48874
|
-
function
|
|
48874
|
+
function Co(s, z, N, G, ie) {
|
|
48875
48875
|
var de, _e, ke, De, Ue, rt = s[N] || (s[N] = { active: 0, count: 0 }), ut = rt[G];
|
|
48876
48876
|
function ft(Ct) {
|
|
48877
48877
|
var At = rt.active, Ut = rt[At];
|
|
@@ -48902,7 +48902,7 @@ void main() {
|
|
|
48902
48902
|
s = Ae(s);
|
|
48903
48903
|
for (var ke = -1, De = this.length; ++ke < De; ) {
|
|
48904
48904
|
_e.push(z = []);
|
|
48905
|
-
for (var Ue = this[ke], rt = -1, ut = Ue.length; ++rt < ut; ) (G = Ue[rt]) && (N = s.call(G, G.__data__, rt, ke)) ? ("__data__" in G && (N.__data__ = G.__data__),
|
|
48905
|
+
for (var Ue = this[ke], rt = -1, ut = Ue.length; ++rt < ut; ) (G = Ue[rt]) && (N = s.call(G, G.__data__, rt, ke)) ? ("__data__" in G && (N.__data__ = G.__data__), Co(N, rt, de, ie, G[de][ie]), z.push(N)) : z.push(null);
|
|
48906
48906
|
}
|
|
48907
48907
|
return Al(_e, de, ie);
|
|
48908
48908
|
}, ta.selectAll = function(s) {
|
|
@@ -48910,7 +48910,7 @@ void main() {
|
|
|
48910
48910
|
s = Me(s);
|
|
48911
48911
|
for (var Ue = -1, rt = this.length; ++Ue < rt; ) for (var ut = this[Ue], ft = -1, vt = ut.length; ++ft < vt; ) if (G = ut[ft]) {
|
|
48912
48912
|
de = G[ke][_e], N = s.call(G, G.__data__, ft, Ue), De.push(z = []);
|
|
48913
|
-
for (var Ct = -1, At = N.length; ++Ct < At; ) (ie = N[Ct]) &&
|
|
48913
|
+
for (var Ct = -1, At = N.length; ++Ct < At; ) (ie = N[Ct]) && Co(ie, Ct, ke, _e, de), z.push(ie);
|
|
48914
48914
|
}
|
|
48915
48915
|
return Al(De, ke, _e);
|
|
48916
48916
|
}, ta.filter = function(s) {
|
|
@@ -49041,7 +49041,7 @@ void main() {
|
|
|
49041
49041
|
}, ta.transition = function() {
|
|
49042
49042
|
for (var s, z, N, G = this.id, ie = ++ou, de = this.namespace, _e = [], ke = 0, De = this.length; ke < De; ke++) {
|
|
49043
49043
|
_e.push(s = []);
|
|
49044
|
-
for (var Ue, rt = 0, ut = (Ue = this[ke]).length; rt < ut; rt++) (z = Ue[rt]) &&
|
|
49044
|
+
for (var Ue, rt = 0, ut = (Ue = this[ke]).length; rt < ut; rt++) (z = Ue[rt]) && Co(z, rt, de, ie, { time: (N = z[de][G]).time, ease: N.ease, delay: N.delay + N.duration, duration: N.duration }), s.push(z);
|
|
49045
49045
|
}
|
|
49046
49046
|
return Al(_e, de, ie);
|
|
49047
49047
|
}, e.svg.axis = function() {
|
|
@@ -50654,7 +50654,7 @@ void main() {
|
|
|
50654
50654
|
return D.map(function(we, je) {
|
|
50655
50655
|
return Fi(we, W[je], le);
|
|
50656
50656
|
});
|
|
50657
|
-
} }), Ri = 0.95047,
|
|
50657
|
+
} }), Ri = 0.95047, ko = 1, Fa = 1.08883, Ka = 4 / 29, ns = 6 / 29, Ui = 3 * ns * ns, fo = ns * ns * ns, Os = Math.PI / 180, co = 180 / Math.PI;
|
|
50658
50658
|
function Pl(D) {
|
|
50659
50659
|
return D > fo ? Math.pow(D, 0.3333333333333333) : D / Ui + Ka;
|
|
50660
50660
|
}
|
|
@@ -50668,12 +50668,12 @@ void main() {
|
|
|
50668
50668
|
return (D /= 255) <= 0.04045 ? D / 12.92 : Math.pow((D + 0.055) / 1.055, 2.4);
|
|
50669
50669
|
}
|
|
50670
50670
|
function zl(D) {
|
|
50671
|
-
var W = Ol(D.r), le = Ol(D.g), we = Ol(D.b), je = Pl((0.4124564 * W + 0.3575761 * le + 0.1804375 * we) / Ri), Ye = Pl((0.2126729 * W + 0.7151522 * le + 0.072175 * we) /
|
|
50671
|
+
var W = Ol(D.r), le = Ol(D.g), we = Ol(D.b), je = Pl((0.4124564 * W + 0.3575761 * le + 0.1804375 * we) / Ri), Ye = Pl((0.2126729 * W + 0.7151522 * le + 0.072175 * we) / ko);
|
|
50672
50672
|
return { l: 116 * Ye - 16, a: 500 * (je - Ye), b: 200 * (Ye - Pl((0.0193339 * W + 0.119192 * le + 0.9503041 * we) / Fa)), alpha: D.a };
|
|
50673
50673
|
}
|
|
50674
50674
|
function eu(D) {
|
|
50675
50675
|
var W = (D.l + 16) / 116, le = isNaN(D.a) ? W : W + D.a / 500, we = isNaN(D.b) ? W : W - D.b / 200;
|
|
50676
|
-
return W =
|
|
50676
|
+
return W = ko * Ts(W), le = Ri * Ts(le), we = Fa * Ts(we), new Yr(No(3.2404542 * le - 1.5371385 * W - 0.4985314 * we), No(-0.969266 * le + 1.8760108 * W + 0.041556 * we), No(0.0556434 * le - 0.2040259 * W + 1.0572252 * we), D.alpha);
|
|
50677
50677
|
}
|
|
50678
50678
|
function is(D, W, le) {
|
|
50679
50679
|
var we = W - D;
|
|
@@ -50689,7 +50689,7 @@ void main() {
|
|
|
50689
50689
|
return eu({ l: D.l, a: Math.cos(W) * le, b: Math.sin(W) * le, alpha: D.alpha });
|
|
50690
50690
|
}, interpolate: function(D, W, le) {
|
|
50691
50691
|
return { h: is(D.h, W.h, le), c: Fi(D.c, W.c, le), l: Fi(D.l, W.l, le), alpha: Fi(D.alpha, W.alpha, le) };
|
|
50692
|
-
} }, Ba = Object.freeze({ __proto__: null, lab: pl, hcl: ks }),
|
|
50692
|
+
} }, Ba = Object.freeze({ __proto__: null, lab: pl, hcl: ks }), So = function(D, W, le, we, je) {
|
|
50693
50693
|
this.type = D, this.operator = W, this.interpolation = le, this.input = we, this.labels = [], this.outputs = [];
|
|
50694
50694
|
for (var Ye = 0, at = je; Ye < at.length; Ye += 1) {
|
|
50695
50695
|
var _t = at[Ye], Bt = _t[0], er = _t[1];
|
|
@@ -50700,7 +50700,7 @@ void main() {
|
|
|
50700
50700
|
var je = we - le, Ye = D - le;
|
|
50701
50701
|
return je === 0 ? 0 : W === 1 ? Ye / je : (Math.pow(W, Ye) - 1) / (Math.pow(W, je) - 1);
|
|
50702
50702
|
}
|
|
50703
|
-
|
|
50703
|
+
So.interpolationFactor = function(D, W, le, we) {
|
|
50704
50704
|
var je = 0;
|
|
50705
50705
|
if (D.name === "exponential") je = Dl(W, D.base, le, we);
|
|
50706
50706
|
else if (D.name === "linear") je = Dl(W, 1, le, we);
|
|
@@ -50709,7 +50709,7 @@ void main() {
|
|
|
50709
50709
|
je = new y(Ye[0], Ye[1], Ye[2], Ye[3]).solve(Dl(W, 1, le, we));
|
|
50710
50710
|
}
|
|
50711
50711
|
return je;
|
|
50712
|
-
},
|
|
50712
|
+
}, So.parse = function(D, W) {
|
|
50713
50713
|
var le = D[0], we = D[1], je = D[2], Ye = D.slice(3);
|
|
50714
50714
|
if (!Array.isArray(we) || we.length === 0) return W.error("Expected an interpolation type expression.", 1);
|
|
50715
50715
|
if (we[0] === "linear") we = { name: "linear" };
|
|
@@ -50738,24 +50738,24 @@ void main() {
|
|
|
50738
50738
|
if (!Rr) return null;
|
|
50739
50739
|
er = er || Rr.type, Bt.push([or, Rr]);
|
|
50740
50740
|
}
|
|
50741
|
-
return er.kind === "number" || er.kind === "color" || er.kind === "array" && er.itemType.kind === "number" && typeof er.N == "number" ? new
|
|
50742
|
-
},
|
|
50741
|
+
return er.kind === "number" || er.kind === "color" || er.kind === "array" && er.itemType.kind === "number" && typeof er.N == "number" ? new So(er, le, we, je, Bt) : W.error("Type " + xr(er) + " is not interpolatable.");
|
|
50742
|
+
}, So.prototype.evaluate = function(D) {
|
|
50743
50743
|
var W = this.labels, le = this.outputs;
|
|
50744
50744
|
if (W.length === 1) return le[0].evaluate(D);
|
|
50745
50745
|
var we = this.input.evaluate(D);
|
|
50746
50746
|
if (we <= W[0]) return le[0].evaluate(D);
|
|
50747
50747
|
var je = W.length;
|
|
50748
50748
|
if (we >= W[je - 1]) return le[je - 1].evaluate(D);
|
|
50749
|
-
var Ye = si(W, we), at = W[Ye], _t = W[Ye + 1], Bt =
|
|
50749
|
+
var Ye = si(W, we), at = W[Ye], _t = W[Ye + 1], Bt = So.interpolationFactor(this.interpolation, we, at, _t), er = le[Ye].evaluate(D), rr = le[Ye + 1].evaluate(D);
|
|
50750
50750
|
return this.operator === "interpolate" ? La[this.type.kind.toLowerCase()](er, rr, Bt) : this.operator === "interpolate-hcl" ? ks.reverse(ks.interpolate(ks.forward(er), ks.forward(rr), Bt)) : pl.reverse(pl.interpolate(pl.forward(er), pl.forward(rr), Bt));
|
|
50751
|
-
},
|
|
50751
|
+
}, So.prototype.eachChild = function(D) {
|
|
50752
50752
|
D(this.input);
|
|
50753
50753
|
for (var W = 0, le = this.outputs; W < le.length; W += 1) D(le[W]);
|
|
50754
|
-
},
|
|
50754
|
+
}, So.prototype.outputDefined = function() {
|
|
50755
50755
|
return this.outputs.every(function(D) {
|
|
50756
50756
|
return D.outputDefined();
|
|
50757
50757
|
});
|
|
50758
|
-
},
|
|
50758
|
+
}, So.prototype.serialize = function() {
|
|
50759
50759
|
var D;
|
|
50760
50760
|
D = this.interpolation.name === "linear" ? ["linear"] : this.interpolation.name === "exponential" ? this.interpolation.base === 1 ? ["linear"] : ["exponential", this.interpolation.base] : ["cubic-bezier"].concat(this.interpolation.controlPoints);
|
|
50761
50761
|
for (var W = [this.operator, D, this.input.serialize()], le = 0; le < this.labels.length; le++) W.push(this.labels[le], this.outputs[le].serialize());
|
|
@@ -51142,7 +51142,7 @@ void main() {
|
|
|
51142
51142
|
D.push(W.serialize());
|
|
51143
51143
|
}), D;
|
|
51144
51144
|
};
|
|
51145
|
-
var ru = { "==": oc, "!=": gc, ">": yc, "<": zs, ">=": po, "<=": ih, array: Gr, at: Fl, boolean: Gr, case: yl, coalesce: ml, collator: ir, format: un, image: Sn, in: tl, "index-of": Bl, interpolate:
|
|
51145
|
+
var ru = { "==": oc, "!=": gc, ">": yc, "<": zs, ">=": po, "<=": ih, array: Gr, at: Fl, boolean: Gr, case: yl, coalesce: ml, collator: ir, format: un, image: Sn, in: tl, "index-of": Bl, interpolate: So, "interpolate-hcl": So, "interpolate-lab": So, length: Qi, let: el, literal: br, match: Rl, number: Gr, "number-format": Eu, object: Gr, slice: jo, step: Mi, string: Gr, "to-boolean": jn, "to-color": jn, "to-number": jn, "to-string": jn, var: fi, within: Bn };
|
|
51146
51146
|
function Pa(D, W) {
|
|
51147
51147
|
var le = W[0], we = W[1], je = W[2], Ye = W[3];
|
|
51148
51148
|
le = le.evaluate(D), we = we.evaluate(D), je = je.evaluate(D);
|
|
@@ -51212,7 +51212,7 @@ void main() {
|
|
|
51212
51212
|
yn.push([dr[qn].zoom, jl(dr[qn], W)]);
|
|
51213
51213
|
}
|
|
51214
51214
|
var Wn = { name: "linear" };
|
|
51215
|
-
return { kind: "composite", interpolationType: Wn, interpolationFactor:
|
|
51215
|
+
return { kind: "composite", interpolationType: Wn, interpolationFactor: So.interpolationFactor.bind(void 0, Wn), zoomStops: yn.map(function(ei) {
|
|
51216
51216
|
return ei[0];
|
|
51217
51217
|
}), evaluate: function(ei, mi) {
|
|
51218
51218
|
var Si = ei.zoom;
|
|
@@ -51221,7 +51221,7 @@ void main() {
|
|
|
51221
51221
|
}
|
|
51222
51222
|
if (Bt) {
|
|
51223
51223
|
var hi = er === "exponential" ? { name: "exponential", base: D.base !== void 0 ? D.base : 1 } : null;
|
|
51224
|
-
return { kind: "camera", interpolationType: hi, interpolationFactor:
|
|
51224
|
+
return { kind: "camera", interpolationType: hi, interpolationFactor: So.interpolationFactor.bind(void 0, hi), zoomStops: D.stops.map(function(ei) {
|
|
51225
51225
|
return ei[0];
|
|
51226
51226
|
}), evaluate: function(ei) {
|
|
51227
51227
|
var mi = ei.zoom;
|
|
@@ -51517,9 +51517,9 @@ void main() {
|
|
|
51517
51517
|
var Ye = Vu(le);
|
|
51518
51518
|
if (!Ye && !je) return Nl([new Vt("", '"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);
|
|
51519
51519
|
if (Ye instanceof Vt) return Nl([Ye]);
|
|
51520
|
-
if (Ye instanceof
|
|
51520
|
+
if (Ye instanceof So && !Po(W)) return Nl([new Vt("", '"interpolate" expressions cannot be used with this property')]);
|
|
51521
51521
|
if (!Ye) return Cu(new Bs(we ? "constant" : "source", D.value));
|
|
51522
|
-
var at = Ye instanceof
|
|
51522
|
+
var at = Ye instanceof So ? Ye.interpolation : void 0;
|
|
51523
51523
|
return Cu(new sa(we ? "camera" : "composite", D.value, Ye.labels, at));
|
|
51524
51524
|
}
|
|
51525
51525
|
sa.prototype.evaluateWithoutErrorHandling = function(D, W, le, we, je, Ye) {
|
|
@@ -51527,7 +51527,7 @@ void main() {
|
|
|
51527
51527
|
}, sa.prototype.evaluate = function(D, W, le, we, je, Ye) {
|
|
51528
51528
|
return this._styleExpression.evaluate(D, W, le, we, je, Ye);
|
|
51529
51529
|
}, sa.prototype.interpolationFactor = function(D, W, le) {
|
|
51530
|
-
return this.interpolationType ?
|
|
51530
|
+
return this.interpolationType ? So.interpolationFactor(this.interpolationType, D, W, le) : 0;
|
|
51531
51531
|
};
|
|
51532
51532
|
var lc = function(D, W) {
|
|
51533
51533
|
this._parameters = D, this._specification = W, Ft(this, jl(this._parameters, this._specification));
|
|
@@ -51539,7 +51539,7 @@ void main() {
|
|
|
51539
51539
|
var je = we[le];
|
|
51540
51540
|
if (W = Vu(je)) break;
|
|
51541
51541
|
}
|
|
51542
|
-
else (D instanceof Mi || D instanceof
|
|
51542
|
+
else (D instanceof Mi || D instanceof So) && D.input instanceof Xr && D.input.name === "zoom" && (W = D);
|
|
51543
51543
|
return W instanceof Vt || D.eachChild(function(Ye) {
|
|
51544
51544
|
var at = Vu(Ye);
|
|
51545
51545
|
at instanceof Vt ? W = at : !W && at ? W = new Vt("", '"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.') : W && at && W !== at && (W = new Vt("", 'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'));
|
|
@@ -51895,13 +51895,13 @@ void main() {
|
|
|
51895
51895
|
return W.line - le.line;
|
|
51896
51896
|
});
|
|
51897
51897
|
}
|
|
51898
|
-
function
|
|
51898
|
+
function Ao(D) {
|
|
51899
51899
|
return function() {
|
|
51900
51900
|
for (var W = [], le = arguments.length; le--; ) W[le] = arguments[le];
|
|
51901
51901
|
return ba(D.apply(this, W));
|
|
51902
51902
|
};
|
|
51903
51903
|
}
|
|
51904
|
-
go.source =
|
|
51904
|
+
go.source = Ao(wu), go.light = Ao(Wo), go.layer = Ao(qo), go.filter = Ao(Ns), go.paintProperty = Ao(nu), go.layoutProperty = Ao(iu);
|
|
51905
51905
|
var Do = go, _l = Do.light, gs = Do.paintProperty, Hl = Do.layoutProperty;
|
|
51906
51906
|
function Vo(D, W) {
|
|
51907
51907
|
var le = !1;
|
|
@@ -51973,7 +51973,7 @@ void main() {
|
|
|
51973
51973
|
}
|
|
51974
51974
|
return je[xl + D.length] = Ye, je.set(this.keys, Ye), Ye += this.keys.length, je[xl + D.length + 1] = Ye, je.set(this.bboxes, Ye), Ye += this.bboxes.length, je.buffer;
|
|
51975
51975
|
};
|
|
51976
|
-
var
|
|
51976
|
+
var Mo = u.ImageData, wa = u.ImageBitmap, Us = {};
|
|
51977
51977
|
function ki(D, W, le) {
|
|
51978
51978
|
le === void 0 && (le = {}), Object.defineProperty(W, "_classRegistryKey", { value: D, writeable: !1 }), Us[D] = { klass: W, omit: le.omit || [], shallow: le.shallow || [] };
|
|
51979
51979
|
}
|
|
@@ -51996,7 +51996,7 @@ void main() {
|
|
|
51996
51996
|
var le = D;
|
|
51997
51997
|
return W && W.push(le.buffer), le;
|
|
51998
51998
|
}
|
|
51999
|
-
if (D instanceof
|
|
51999
|
+
if (D instanceof Mo) return W && W.push(D.data.buffer), D;
|
|
52000
52000
|
if (Array.isArray(D)) {
|
|
52001
52001
|
for (var we = [], je = 0, Ye = D; je < Ye.length; je += 1) {
|
|
52002
52002
|
var at = Ye[je];
|
|
@@ -52021,7 +52021,7 @@ void main() {
|
|
|
52021
52021
|
throw new Error("can't serialize object of type " + typeof D);
|
|
52022
52022
|
}
|
|
52023
52023
|
function Wl(D) {
|
|
52024
|
-
if (D == null || typeof D == "boolean" || typeof D == "number" || typeof D == "string" || D instanceof Boolean || D instanceof Number || D instanceof String || D instanceof Date || D instanceof RegExp || uc(D) || bl(D) || ArrayBuffer.isView(D) || D instanceof
|
|
52024
|
+
if (D == null || typeof D == "boolean" || typeof D == "number" || typeof D == "string" || D instanceof Boolean || D instanceof Number || D instanceof String || D instanceof Date || D instanceof RegExp || uc(D) || bl(D) || ArrayBuffer.isView(D) || D instanceof Mo) return D;
|
|
52025
52025
|
if (Array.isArray(D)) return D.map(Wl);
|
|
52026
52026
|
if (typeof D == "object") {
|
|
52027
52027
|
var W = D.$name || "Object", le = Us[W].klass;
|
|
@@ -52171,9 +52171,9 @@ void main() {
|
|
|
52171
52171
|
D && typeof D == "string" && D.indexOf("NetworkError") > -1 && (ca = Vs), _i && _i(D);
|
|
52172
52172
|
};
|
|
52173
52173
|
function vs() {
|
|
52174
|
-
|
|
52174
|
+
Eo.fire(new Lt("pluginStateChange", { pluginStatus: ca, pluginURL: yo }));
|
|
52175
52175
|
}
|
|
52176
|
-
var
|
|
52176
|
+
var Eo = new et(), Fu = function() {
|
|
52177
52177
|
return ca;
|
|
52178
52178
|
}, gi = function() {
|
|
52179
52179
|
if (ca !== kl || !yo) throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");
|
|
@@ -52490,11 +52490,11 @@ void main() {
|
|
|
52490
52490
|
W === void 0 && (W = 1);
|
|
52491
52491
|
var le = 0, we = 0;
|
|
52492
52492
|
return { members: D.map(function(je) {
|
|
52493
|
-
var Ye, at = (Ye = je.type, ou[Ye].BYTES_PER_ELEMENT), _t = le =
|
|
52493
|
+
var Ye, at = (Ye = je.type, ou[Ye].BYTES_PER_ELEMENT), _t = le = Co(le, Math.max(W, at)), Bt = je.components || 1;
|
|
52494
52494
|
return we = Math.max(we, at), le += at * Bt, { name: je.name, type: je.type, components: Bt, offset: _t };
|
|
52495
|
-
}), size:
|
|
52495
|
+
}), size: Co(le, Math.max(we, W)), alignment: W };
|
|
52496
52496
|
}
|
|
52497
|
-
function
|
|
52497
|
+
function Co(D, W) {
|
|
52498
52498
|
return Math.ceil(D / W) * W;
|
|
52499
52499
|
}
|
|
52500
52500
|
yi.serialize = function(D, W) {
|
|
@@ -54208,9 +54208,9 @@ void main() {
|
|
|
54208
54208
|
var W = this._pbf.readVarint() + this._pbf.pos;
|
|
54209
54209
|
return new d0(this._pbf, W, this.extent, this._keys, this._values);
|
|
54210
54210
|
};
|
|
54211
|
-
var
|
|
54211
|
+
var Io = { VectorTile: function(D, W) {
|
|
54212
54212
|
this.layers = D.readFields(x1, {}, W);
|
|
54213
|
-
}, VectorTileFeature: d0, VectorTileLayer: Vf }, Hf =
|
|
54213
|
+
}, VectorTileFeature: d0, VectorTileLayer: Vf }, Hf = Io.VectorTileFeature.types, Gf = Math.pow(2, 13);
|
|
54214
54214
|
function Ih(D, W, le, we, je, Ye, at, _t) {
|
|
54215
54215
|
D.emplaceBack(W, le, 2 * Math.floor(we * Gf) + at, je * Gf * 2, Ye * Gf * 2, Math.round(_t));
|
|
54216
54216
|
}
|
|
@@ -54353,7 +54353,7 @@ void main() {
|
|
|
54353
54353
|
}
|
|
54354
54354
|
return Ln;
|
|
54355
54355
|
}
|
|
54356
|
-
var qp = za([{ name: "a_pos_normal", components: 2, type: "Int16" }, { name: "a_data", components: 4, type: "Uint8" }], 4).members, Vp = za([{ name: "a_uv_x", components: 1, type: "Float32" }, { name: "a_split_index", components: 1, type: "Float32" }]).members, Hp =
|
|
54356
|
+
var qp = za([{ name: "a_pos_normal", components: 2, type: "Int16" }, { name: "a_data", components: 4, type: "Uint8" }], 4).members, Vp = za([{ name: "a_uv_x", components: 1, type: "Float32" }, { name: "a_split_index", components: 1, type: "Float32" }]).members, Hp = Io.VectorTileFeature.types, g0 = Math.cos(Math.PI / 180 * 37.5), Gp = Math.pow(2, 14) / 0.5, uu = function(D) {
|
|
54357
54357
|
var W = this;
|
|
54358
54358
|
this.zoom = D.zoom, this.overscaling = D.overscaling, this.layers = D.layers, this.layerIds = this.layers.map(function(le) {
|
|
54359
54359
|
return le.id;
|
|
@@ -55004,7 +55004,7 @@ void main() {
|
|
|
55004
55004
|
(function(Oi, Yi, Ga, Wa, Qo, hu, _s, ds, Jl) {
|
|
55005
55005
|
var ul = (Yi - Ga) * Qo, Bo = 0;
|
|
55006
55006
|
Bo = hu !== _s ? -ds * Wa - Qd : (-Wa * Jl + 0.5) * _s;
|
|
55007
|
-
for (var
|
|
55007
|
+
for (var Lo = 0, Zs = Oi; Lo < Zs.length; Lo += 1) for (var Ko = 0, xs = Zs[Lo].positionedGlyphs; Ko < xs.length; Ko += 1) {
|
|
55008
55008
|
var cl = xs[Ko];
|
|
55009
55009
|
cl.x += ul, cl.y += Bo;
|
|
55010
55010
|
}
|
|
@@ -55177,7 +55177,7 @@ void main() {
|
|
|
55177
55177
|
var le = 0, we = 0;
|
|
55178
55178
|
if (D.kind === "constant") we = D.layoutSize;
|
|
55179
55179
|
else if (D.kind !== "source") {
|
|
55180
|
-
var je = D.interpolationType, Ye = D.minZoom, at = D.maxZoom, _t = je ? m(
|
|
55180
|
+
var je = D.interpolationType, Ye = D.minZoom, at = D.maxZoom, _t = je ? m(So.interpolationFactor(je, W, Ye, at), 0, 1) : 0;
|
|
55181
55181
|
D.kind === "camera" ? we = Fi(D.minSize, D.maxSize, _t) : le = _t;
|
|
55182
55182
|
}
|
|
55183
55183
|
return { uSizeT: le, uSize: we };
|
|
@@ -55491,7 +55491,7 @@ void main() {
|
|
|
55491
55491
|
} else je[W] = [];
|
|
55492
55492
|
return je[W].push(we), !1;
|
|
55493
55493
|
}
|
|
55494
|
-
var N0 =
|
|
55494
|
+
var N0 = Io.VectorTileFeature.types, B1 = [{ name: "a_fade_opacity", components: 1, type: "Uint8", offset: 0 }];
|
|
55495
55495
|
function tf(D, W, le, we, je, Ye, at, _t, Bt, er, rr, or, mr) {
|
|
55496
55496
|
var dr = _t ? Math.min(Hc, Math.round(_t[0])) : 0, Or = _t ? Math.min(Hc, Math.round(_t[1])) : 0;
|
|
55497
55497
|
D.emplaceBack(W, le, Math.round(32 * we), Math.round(32 * je), Ye, at, (dr << 1) + (Bt ? 1 : 0), Or, 16 * er, 16 * rr, 256 * or, 256 * mr);
|
|
@@ -56234,7 +56234,7 @@ void main() {
|
|
|
56234
56234
|
rr[0] < Hi && rr[1] < Hi && rr[2] >= 0 && rr[3] >= 0 && _t.insert(at, rr[0], rr[1], rr[2], rr[3]);
|
|
56235
56235
|
}
|
|
56236
56236
|
}, Gc.prototype.loadVTLayers = function() {
|
|
56237
|
-
return this.vtLayers || (this.vtLayers = new
|
|
56237
|
+
return this.vtLayers || (this.vtLayers = new Io.VectorTile(new Xf(this.rawTileData)).layers, this.sourceLayerCoder = new nf(this.vtLayers ? Object.keys(this.vtLayers).sort() : ["_geojsonTileLayer"])), this.vtLayers;
|
|
56238
56238
|
}, Gc.prototype.query = function(D, W, le, we) {
|
|
56239
56239
|
var je = this;
|
|
56240
56240
|
this.loadVTLayers();
|
|
@@ -56518,7 +56518,7 @@ void main() {
|
|
|
56518
56518
|
for (var we = 0; we < le.length - D; we++) W.delete(le[we]);
|
|
56519
56519
|
});
|
|
56520
56520
|
});
|
|
56521
|
-
}, e.evaluateSizeForFeature = tm, e.evaluateSizeForZoom = C0, e.evaluateVariableOffset = Id, e.evented =
|
|
56521
|
+
}, e.evaluateSizeForFeature = tm, e.evaluateSizeForZoom = C0, e.evaluateVariableOffset = Id, e.evented = Eo, e.extend = T, e.featureFilter = Vl, e.filterObject = L, e.fromRotation = function(D, W) {
|
|
56522
56522
|
var le = Math.sin(W), we = Math.cos(W);
|
|
56523
56523
|
return D[0] = we, D[1] = le, D[2] = 0, D[3] = -le, D[4] = we, D[5] = 0, D[6] = 0, D[7] = 0, D[8] = 1, D;
|
|
56524
56524
|
}, e.getAnchorAlignment = to, e.getAnchorJustification = Ph, e.getArrayBuffer = Ot, e.getImage = st, e.getJSON = function(D, W) {
|
|
@@ -56541,7 +56541,7 @@ void main() {
|
|
|
56541
56541
|
var le = [];
|
|
56542
56542
|
for (var we in D) we in W || le.push(we);
|
|
56543
56543
|
return le;
|
|
56544
|
-
}, e.makeRequest = gt, e.mapObject = x, e.mercatorXfromLng = H0, e.mercatorYfromLat = G0, e.mercatorZfromAltitude = W0, e.mul = Cs, e.multiply = Pp, e.mvt =
|
|
56544
|
+
}, e.makeRequest = gt, e.mapObject = x, e.mercatorXfromLng = H0, e.mercatorYfromLat = G0, e.mercatorZfromAltitude = W0, e.mul = Cs, e.multiply = Pp, e.mvt = Io, e.nextPowerOfTwo = function(D) {
|
|
56545
56545
|
return D <= 1 ? 1 : Math.pow(2, Math.ceil(Math.log(D) / Math.LN2));
|
|
56546
56546
|
}, e.normalize = function(D, W) {
|
|
56547
56547
|
var le = W[0], we = W[1], je = W[2], Ye = le * le + we * we + je * je;
|
|
@@ -56653,10 +56653,10 @@ void main() {
|
|
|
56653
56653
|
en && R0(Oe, en.text, Oi, Jl) || Ga(hu, Jl);
|
|
56654
56654
|
}
|
|
56655
56655
|
else if (Ii === "line-center") for (var ul = 0, Bo = We.geometry; ul < Bo.length; ul += 1) {
|
|
56656
|
-
var
|
|
56657
|
-
if (
|
|
56658
|
-
var Zs = D1(
|
|
56659
|
-
Zs && Ga(
|
|
56656
|
+
var Lo = Bo[ul];
|
|
56657
|
+
if (Lo.length > 1) {
|
|
56658
|
+
var Zs = D1(Lo, Ei, Ze.vertical || en, ct, dn, Ai);
|
|
56659
|
+
Zs && Ga(Lo, Zs);
|
|
56660
56660
|
}
|
|
56661
56661
|
}
|
|
56662
56662
|
else if (We.type === "Polygon") for (var Ko = 0, xs = h0(We.geometry, 0); Ko < xs.length; Ko += 1) {
|
|
@@ -56684,7 +56684,7 @@ void main() {
|
|
|
56684
56684
|
}
|
|
56685
56685
|
return le;
|
|
56686
56686
|
}, e.plugin = Yo, e.polygonIntersectsPolygon = _c, e.postMapLoadEvent = Je, e.postTurnstileEvent = qe, e.potpack = Yf, e.refProperties = ["type", "source", "source-layer", "minzoom", "maxzoom", "filter", "layout"], e.register = ki, e.registerForPluginStateChange = function(D) {
|
|
56687
|
-
return D({ pluginStatus: ca, pluginURL: yo }),
|
|
56687
|
+
return D({ pluginStatus: ca, pluginURL: yo }), Eo.on("pluginStateChange", D), D;
|
|
56688
56688
|
}, e.renderColorRamp = Rp, e.rotate = function(D, W, le) {
|
|
56689
56689
|
var we = W[0], je = W[1], Ye = W[2], at = W[3], _t = Math.sin(le), Bt = Math.cos(le);
|
|
56690
56690
|
return D[0] = we * Bt + Ye * _t, D[1] = je * Bt + at * _t, D[2] = we * -_t + Ye * Bt, D[3] = je * -_t + at * Bt, D;
|
|
@@ -56722,7 +56722,7 @@ void main() {
|
|
|
56722
56722
|
var W = [];
|
|
56723
56723
|
for (var le in D) W.push(D[le]);
|
|
56724
56724
|
return W;
|
|
56725
|
-
}, e.vectorTile =
|
|
56725
|
+
}, e.vectorTile = Io, e.version = p, e.warnOnce = F, e.webpSupported = ue, e.window = u, e.wrap = w;
|
|
56726
56726
|
}), c(0, function(e) {
|
|
56727
56727
|
function v(it) {
|
|
56728
56728
|
var lt = typeof it;
|
|
@@ -60653,7 +60653,7 @@ vec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/we
|
|
|
60653
60653
|
#ifdef OVERDRAW_INSPECTOR
|
|
60654
60654
|
gl_FragColor=vec4(0.0);
|
|
60655
60655
|
#endif
|
|
60656
|
-
}`, "uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"), La = Ba("varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}", "attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"), Ri = Ba("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}", "attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),
|
|
60656
|
+
}`, "uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"), La = Ba("varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}", "attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"), Ri = Ba("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}", "attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"), ko = Ba("uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}", "attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,0,1);}"), Fa = Ba(`#pragma mapbox: define highp vec4 color
|
|
60657
60657
|
#pragma mapbox: define lowp float opacity
|
|
60658
60658
|
void main() {
|
|
60659
60659
|
#pragma mapbox: initialize highp vec4 color
|
|
@@ -61066,7 +61066,7 @@ uniform ` + ke + " " + De + " u_" + Ue + `;
|
|
|
61066
61066
|
`;
|
|
61067
61067
|
}), staticAttributes: s, staticUniforms: G };
|
|
61068
61068
|
}
|
|
61069
|
-
var
|
|
61069
|
+
var So = Object.freeze({ __proto__: null, prelude: Vn, background: fi, backgroundPattern: ii, circle: Un, clippingMask: si, heatmap: Mi, heatmapTexture: Fi, collisionBox: La, collisionCircle: Ri, debug: ko, fill: Fa, fillOutline: Ka, fillOutlinePattern: ns, fillPattern: Ui, fillExtrusion: fo, fillExtrusionPattern: Os, hillshadePrepare: co, hillshade: Pl, line: Ts, lineGradient: No, linePattern: Ol, lineSDF: zl, raster: eu, symbolIcon: is, symbolSDF: pl, symbolTextAndIcon: ks }), Dl = function() {
|
|
61070
61070
|
this.boundProgram = null, this.boundLayoutVertexBuffer = null, this.boundPaintVertexBuffers = [], this.boundIndexBuffer = null, this.boundVertexOffset = null, this.boundDynamicVertexBuffer = null, this.vao = null;
|
|
61071
61071
|
};
|
|
61072
61072
|
function ml(Q) {
|
|
@@ -61842,7 +61842,7 @@ uniform ` + ke + " " + De + " u_" + Ue + `;
|
|
|
61842
61842
|
}, ga.prototype.useProgram = function(Q, B) {
|
|
61843
61843
|
this.cache = this.cache || {};
|
|
61844
61844
|
var a = "" + Q + (B ? B.cacheKey : "") + (this._showOverdrawInspector ? "/overdraw" : "");
|
|
61845
|
-
return this.cache[a] || (this.cache[a] = new el(this.context, Q,
|
|
61845
|
+
return this.cache[a] || (this.cache[a] = new el(this.context, Q, So[Q], B, jl[Q], this._showOverdrawInspector)), this.cache[a];
|
|
61846
61846
|
}, ga.prototype.setCustomLayerDefaults = function() {
|
|
61847
61847
|
this.context.unbindVAO(), this.context.cullFace.setDefault(), this.context.activeTexture.setDefault(), this.context.pixelStoreUnpack.setDefault(), this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(), this.context.pixelStoreUnpackFlipY.setDefault();
|
|
61848
61848
|
}, ga.prototype.setBaseState = function() {
|
|
@@ -62304,7 +62304,7 @@ uniform ` + ke + " " + De + " u_" + Ue + `;
|
|
|
62304
62304
|
var ba = function(Q, B) {
|
|
62305
62305
|
this._map = Q, this._el = Q.getCanvasContainer(), this._container = Q.getContainer(), this._clickTolerance = B.clickTolerance || 1;
|
|
62306
62306
|
};
|
|
62307
|
-
function
|
|
62307
|
+
function Ao(Q, B) {
|
|
62308
62308
|
for (var a = {}, s = 0; s < Q.length; s++) a[Q[s].identifier] = B[s];
|
|
62309
62309
|
return a;
|
|
62310
62310
|
}
|
|
@@ -62356,10 +62356,10 @@ uniform ` + ke + " " + De + " u_" + Ue + `;
|
|
|
62356
62356
|
z._add(ie);
|
|
62357
62357
|
}
|
|
62358
62358
|
return z.div(s.length);
|
|
62359
|
-
}(B), this.touches =
|
|
62359
|
+
}(B), this.touches = Ao(a, B)));
|
|
62360
62360
|
}, Do.prototype.touchmove = function(Q, B, a) {
|
|
62361
62361
|
if (!this.aborted && this.centroid) {
|
|
62362
|
-
var s =
|
|
62362
|
+
var s = Ao(a, B);
|
|
62363
62363
|
for (var z in this.touches) {
|
|
62364
62364
|
var N = this.touches[z], G = s[z];
|
|
62365
62365
|
(!G || G.dist(N) > 30) && (this.aborted = !0);
|
|
@@ -62489,22 +62489,22 @@ uniform ` + ke + " " + De + " u_" + Ue + `;
|
|
|
62489
62489
|
}, B.prototype.contextmenu = function(a) {
|
|
62490
62490
|
a.preventDefault();
|
|
62491
62491
|
}, B;
|
|
62492
|
-
}(Vo),
|
|
62492
|
+
}(Vo), Mo = function(Q) {
|
|
62493
62493
|
this._minTouches = 1, this._clickTolerance = Q.clickTolerance || 1, this.reset();
|
|
62494
62494
|
};
|
|
62495
|
-
|
|
62495
|
+
Mo.prototype.reset = function() {
|
|
62496
62496
|
this._active = !1, this._touches = {}, this._sum = new e.Point(0, 0);
|
|
62497
|
-
},
|
|
62497
|
+
}, Mo.prototype.touchstart = function(Q, B, a) {
|
|
62498
62498
|
return this._calculateTransform(Q, B, a);
|
|
62499
|
-
},
|
|
62499
|
+
}, Mo.prototype.touchmove = function(Q, B, a) {
|
|
62500
62500
|
if (this._active && !(a.length < this._minTouches)) return Q.preventDefault(), this._calculateTransform(Q, B, a);
|
|
62501
|
-
},
|
|
62501
|
+
}, Mo.prototype.touchend = function(Q, B, a) {
|
|
62502
62502
|
this._calculateTransform(Q, B, a), this._active && a.length < this._minTouches && this.reset();
|
|
62503
|
-
},
|
|
62503
|
+
}, Mo.prototype.touchcancel = function() {
|
|
62504
62504
|
this.reset();
|
|
62505
|
-
},
|
|
62505
|
+
}, Mo.prototype._calculateTransform = function(Q, B, a) {
|
|
62506
62506
|
a.length > 0 && (this._active = !0);
|
|
62507
|
-
var s =
|
|
62507
|
+
var s = Ao(a, B), z = new e.Point(0, 0), N = new e.Point(0, 0), G = 0;
|
|
62508
62508
|
for (var ie in s) {
|
|
62509
62509
|
var de = s[ie], _e = this._touches[ie];
|
|
62510
62510
|
_e && (z._add(de), N._add(de.sub(_e)), G++, s[ie] = de);
|
|
@@ -62513,13 +62513,13 @@ uniform ` + ke + " " + De + " u_" + Ue + `;
|
|
|
62513
62513
|
var ke = N.div(G);
|
|
62514
62514
|
if (this._sum._add(ke), !(this._sum.mag() < this._clickTolerance)) return { around: z.div(G), panDelta: ke };
|
|
62515
62515
|
}
|
|
62516
|
-
},
|
|
62516
|
+
}, Mo.prototype.enable = function() {
|
|
62517
62517
|
this._enabled = !0;
|
|
62518
|
-
},
|
|
62518
|
+
}, Mo.prototype.disable = function() {
|
|
62519
62519
|
this._enabled = !1, this.reset();
|
|
62520
|
-
},
|
|
62520
|
+
}, Mo.prototype.isEnabled = function() {
|
|
62521
62521
|
return this._enabled;
|
|
62522
|
-
},
|
|
62522
|
+
}, Mo.prototype.isActive = function() {
|
|
62523
62523
|
return this._active;
|
|
62524
62524
|
};
|
|
62525
62525
|
var wa = function() {
|
|
@@ -62872,7 +62872,7 @@ uniform ` + ke + " " + De + " u_" + Ue + `;
|
|
|
62872
62872
|
this._add("touchPitch", ie);
|
|
62873
62873
|
var de = new xl(Q), _e = new js(Q);
|
|
62874
62874
|
B.dragRotate = new kl(Q, de, _e), this._add("mouseRotate", de, ["mousePitch"]), this._add("mousePitch", _e, ["mouseRotate"]);
|
|
62875
|
-
var ke = new au(Q), De = new
|
|
62875
|
+
var ke = new au(Q), De = new Mo(Q);
|
|
62876
62876
|
B.dragPan = new Xo(a, ke, De), this._add("mousePan", ke), this._add("touchPan", De, ["touchZoom", "touchRotate"]);
|
|
62877
62877
|
var Ue = new bl(), rt = new Du();
|
|
62878
62878
|
B.touchZoomRotate = new As(a, rt, Ue, G), this._add("touchRotate", Ue, ["touchPan", "touchZoom"]), this._add("touchZoom", rt, ["touchPan", "touchRotate"]);
|
|
@@ -63243,18 +63243,18 @@ uniform ` + ke + " " + De + " u_" + Ue + `;
|
|
|
63243
63243
|
this._map.getCanvasContainer().offsetWidth < 250 ? B.classList.add("mapboxgl-compact") : B.classList.remove("mapboxgl-compact");
|
|
63244
63244
|
}
|
|
63245
63245
|
};
|
|
63246
|
-
var
|
|
63246
|
+
var Eo = function() {
|
|
63247
63247
|
this._queue = [], this._id = 0, this._cleared = !1, this._currentlyRunning = !1;
|
|
63248
63248
|
};
|
|
63249
|
-
|
|
63249
|
+
Eo.prototype.add = function(Q) {
|
|
63250
63250
|
var B = ++this._id;
|
|
63251
63251
|
return this._queue.push({ callback: Q, id: B, cancelled: !1 }), B;
|
|
63252
|
-
},
|
|
63252
|
+
}, Eo.prototype.remove = function(Q) {
|
|
63253
63253
|
for (var B = this._currentlyRunning, a = 0, s = B ? this._queue.concat(B) : this._queue; a < s.length; a += 1) {
|
|
63254
63254
|
var z = s[a];
|
|
63255
63255
|
if (z.id === Q) return void (z.cancelled = !0);
|
|
63256
63256
|
}
|
|
63257
|
-
},
|
|
63257
|
+
}, Eo.prototype.run = function(Q) {
|
|
63258
63258
|
Q === void 0 && (Q = 0);
|
|
63259
63259
|
var B = this._currentlyRunning = this._queue;
|
|
63260
63260
|
this._queue = [];
|
|
@@ -63263,7 +63263,7 @@ uniform ` + ke + " " + De + " u_" + Ue + `;
|
|
|
63263
63263
|
if (!z.cancelled && (z.callback(Q), this._cleared)) break;
|
|
63264
63264
|
}
|
|
63265
63265
|
this._cleared = !1, this._currentlyRunning = !1;
|
|
63266
|
-
},
|
|
63266
|
+
}, Eo.prototype.clear = function() {
|
|
63267
63267
|
this._currentlyRunning && (this._cleared = !0), this._queue = [];
|
|
63268
63268
|
};
|
|
63269
63269
|
var Fu = { "AttributionControl.ToggleAttribution": "Toggle attribution", "AttributionControl.MapFeedback": "Map feedback", "FullscreenControl.Enter": "Enter fullscreen", "FullscreenControl.Exit": "Exit fullscreen", "GeolocateControl.FindMyLocation": "Find my location", "GeolocateControl.LocationNotAvailable": "Location not available", "LogoControl.Title": "Mapbox logo", "NavigationControl.ResetBearing": "Reset bearing to north", "NavigationControl.ZoomIn": "Zoom in", "NavigationControl.ZoomOut": "Zoom out", "ScaleControl.Feet": "ft", "ScaleControl.Meters": "m", "ScaleControl.Kilometers": "km", "ScaleControl.Miles": "mi", "ScaleControl.NauticalMiles": "nm" }, gi = e.window.HTMLImageElement, Yo = e.window.HTMLElement, ha = e.window.ImageBitmap, Xl = 60, Ms = { center: [0, 0], zoom: 0, bearing: 0, pitch: 0, minZoom: -2, maxZoom: 22, minPitch: 0, maxPitch: Xl, interactive: !0, scrollZoom: !0, boxZoom: !0, dragRotate: !0, dragPan: !0, keyboard: !0, doubleClickZoom: !0, touchZoomRotate: !0, touchPitch: !0, bearingSnap: 7, clickTolerance: 3, pitchWithRotate: !0, hash: !1, attributionControl: !0, failIfMajorPerformanceCaveat: !1, preserveDrawingBuffer: !1, trackResize: !0, renderWorldCopies: !0, refreshExpiredTiles: !0, maxTileCacheSize: null, localIdeographFontFamily: "sans-serif", transformRequest: null, accessToken: null, fadeDuration: 300, crossSourceCollisions: !0 }, al = function(Q) {
|
|
@@ -63274,7 +63274,7 @@ uniform ` + ke + " " + De + " u_" + Ue + `;
|
|
|
63274
63274
|
if (s.minPitch != null && s.minPitch < 0) throw new Error("minPitch must be greater than or equal to 0");
|
|
63275
63275
|
if (s.maxPitch != null && s.maxPitch > Xl) throw new Error("maxPitch must be less than or equal to 60");
|
|
63276
63276
|
var N = new fa(s.minZoom, s.maxZoom, s.minPitch, s.maxPitch, s.renderWorldCopies);
|
|
63277
|
-
if (Q.call(this, N, s), this._interactive = s.interactive, this._maxTileCacheSize = s.maxTileCacheSize, this._failIfMajorPerformanceCaveat = s.failIfMajorPerformanceCaveat, this._preserveDrawingBuffer = s.preserveDrawingBuffer, this._antialias = s.antialias, this._trackResize = s.trackResize, this._bearingSnap = s.bearingSnap, this._refreshExpiredTiles = s.refreshExpiredTiles, this._fadeDuration = s.fadeDuration, this._crossSourceCollisions = s.crossSourceCollisions, this._crossFadingFactor = 1, this._collectResourceTiming = s.collectResourceTiming, this._renderTaskQueue = new
|
|
63277
|
+
if (Q.call(this, N, s), this._interactive = s.interactive, this._maxTileCacheSize = s.maxTileCacheSize, this._failIfMajorPerformanceCaveat = s.failIfMajorPerformanceCaveat, this._preserveDrawingBuffer = s.preserveDrawingBuffer, this._antialias = s.antialias, this._trackResize = s.trackResize, this._bearingSnap = s.bearingSnap, this._refreshExpiredTiles = s.refreshExpiredTiles, this._fadeDuration = s.fadeDuration, this._crossSourceCollisions = s.crossSourceCollisions, this._crossFadingFactor = 1, this._collectResourceTiming = s.collectResourceTiming, this._renderTaskQueue = new Eo(), this._controls = [], this._mapId = e.uniqueId(), this._locale = e.extend({}, Fu, s.locale), this._clickTolerance = s.clickTolerance, this._requestManager = new e.RequestManager(s.transformRequest, s.accessToken), typeof s.container == "string") {
|
|
63278
63278
|
if (this._container = e.window.document.getElementById(s.container), !this._container) throw new Error("Container '" + s.container + "' not found.");
|
|
63279
63279
|
} else {
|
|
63280
63280
|
if (!(s.container instanceof Yo)) throw new Error("Invalid type: 'container' must be a String or HTMLElement.");
|
|
@@ -63992,28 +63992,28 @@ uniform ` + ke + " " + De + " u_" + Ue + `;
|
|
|
63992
63992
|
}, bi.prototype.setUnit = function(Q) {
|
|
63993
63993
|
this.options.unit = Q, yi(this._map, this._container, this.options);
|
|
63994
63994
|
};
|
|
63995
|
-
var
|
|
63995
|
+
var Co = function(Q) {
|
|
63996
63996
|
this._fullscreen = !1, Q && Q.container && (Q.container instanceof e.window.HTMLElement ? this._container = Q.container : e.warnOnce("Full screen control 'container' must be a DOM element.")), e.bindAll(["_onClickFullscreen", "_changeIcon"], this), "onfullscreenchange" in e.window.document ? this._fullscreenchange = "fullscreenchange" : "onmozfullscreenchange" in e.window.document ? this._fullscreenchange = "mozfullscreenchange" : "onwebkitfullscreenchange" in e.window.document ? this._fullscreenchange = "webkitfullscreenchange" : "onmsfullscreenchange" in e.window.document && (this._fullscreenchange = "MSFullscreenChange");
|
|
63997
63997
|
};
|
|
63998
|
-
|
|
63998
|
+
Co.prototype.onAdd = function(Q) {
|
|
63999
63999
|
return this._map = Q, this._container || (this._container = this._map.getContainer()), this._controlContainer = p.create("div", "mapboxgl-ctrl mapboxgl-ctrl-group"), this._checkFullscreenSupport() ? this._setupUI() : (this._controlContainer.style.display = "none", e.warnOnce("This device does not support fullscreen mode.")), this._controlContainer;
|
|
64000
|
-
},
|
|
64000
|
+
}, Co.prototype.onRemove = function() {
|
|
64001
64001
|
p.remove(this._controlContainer), this._map = null, e.window.document.removeEventListener(this._fullscreenchange, this._changeIcon);
|
|
64002
|
-
},
|
|
64002
|
+
}, Co.prototype._checkFullscreenSupport = function() {
|
|
64003
64003
|
return !!(e.window.document.fullscreenEnabled || e.window.document.mozFullScreenEnabled || e.window.document.msFullscreenEnabled || e.window.document.webkitFullscreenEnabled);
|
|
64004
|
-
},
|
|
64004
|
+
}, Co.prototype._setupUI = function() {
|
|
64005
64005
|
var Q = this._fullscreenButton = p.create("button", "mapboxgl-ctrl-fullscreen", this._controlContainer);
|
|
64006
64006
|
p.create("span", "mapboxgl-ctrl-icon", Q).setAttribute("aria-hidden", !0), Q.type = "button", this._updateTitle(), this._fullscreenButton.addEventListener("click", this._onClickFullscreen), e.window.document.addEventListener(this._fullscreenchange, this._changeIcon);
|
|
64007
|
-
},
|
|
64007
|
+
}, Co.prototype._updateTitle = function() {
|
|
64008
64008
|
var Q = this._getTitle();
|
|
64009
64009
|
this._fullscreenButton.setAttribute("aria-label", Q), this._fullscreenButton.title = Q;
|
|
64010
|
-
},
|
|
64010
|
+
}, Co.prototype._getTitle = function() {
|
|
64011
64011
|
return this._map._getUIString(this._isFullscreen() ? "FullscreenControl.Exit" : "FullscreenControl.Enter");
|
|
64012
|
-
},
|
|
64012
|
+
}, Co.prototype._isFullscreen = function() {
|
|
64013
64013
|
return this._fullscreen;
|
|
64014
|
-
},
|
|
64014
|
+
}, Co.prototype._changeIcon = function() {
|
|
64015
64015
|
(e.window.document.fullscreenElement || e.window.document.mozFullScreenElement || e.window.document.webkitFullscreenElement || e.window.document.msFullscreenElement) === this._container !== this._fullscreen && (this._fullscreen = !this._fullscreen, this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"), this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"), this._updateTitle());
|
|
64016
|
-
},
|
|
64016
|
+
}, Co.prototype._onClickFullscreen = function() {
|
|
64017
64017
|
this._isFullscreen() ? e.window.document.exitFullscreen ? e.window.document.exitFullscreen() : e.window.document.mozCancelFullScreen ? e.window.document.mozCancelFullScreen() : e.window.document.msExitFullscreen ? e.window.document.msExitFullscreen() : e.window.document.webkitCancelFullScreen && e.window.document.webkitCancelFullScreen() : this._container.requestFullscreen ? this._container.requestFullscreen() : this._container.mozRequestFullScreen ? this._container.mozRequestFullScreen() : this._container.msRequestFullscreen ? this._container.msRequestFullscreen() : this._container.webkitRequestFullscreen && this._container.webkitRequestFullscreen();
|
|
64018
64018
|
};
|
|
64019
64019
|
var Yl = { closeButton: !0, closeOnClick: !0, focusAfterOpen: !0, className: "", maxWidth: "240px" }, us = ["a[href]", "[tabindex]:not([tabindex='-1'])", "[contenteditable]:not([contenteditable='false'])", "button:not([disabled])", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].join(", "), yt = function(Q) {
|
|
@@ -64100,7 +64100,7 @@ uniform ` + ke + " " + De + " u_" + Ue + `;
|
|
|
64100
64100
|
}
|
|
64101
64101
|
return xt(new e.Point(0, 0));
|
|
64102
64102
|
}
|
|
64103
|
-
var zt = { version: e.version, supported: v, setRTLTextPlugin: e.setRTLTextPlugin, getRTLTextPluginStatus: e.getRTLTextPluginStatus, Map: al, NavigationControl: Sl, GeolocateControl: ta, AttributionControl: $o, ScaleControl: bi, FullscreenControl:
|
|
64103
|
+
var zt = { version: e.version, supported: v, setRTLTextPlugin: e.setRTLTextPlugin, getRTLTextPluginStatus: e.getRTLTextPluginStatus, Map: al, NavigationControl: Sl, GeolocateControl: ta, AttributionControl: $o, ScaleControl: bi, FullscreenControl: Co, Popup: yt, Marker: Gs, Style: Mn, LngLat: e.LngLat, LngLatBounds: e.LngLatBounds, Point: e.Point, MercatorCoordinate: e.MercatorCoordinate, Evented: e.Evented, config: e.config, prewarm: function() {
|
|
64104
64104
|
Ft().acquire(et);
|
|
64105
64105
|
}, clearPrewarmedResources: function() {
|
|
64106
64106
|
var Q = kt;
|
|
@@ -66628,7 +66628,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
66628
66628
|
}, geoQuincuncial: function() {
|
|
66629
66629
|
return Hl;
|
|
66630
66630
|
}, geoRectangularPolyconic: function() {
|
|
66631
|
-
return
|
|
66631
|
+
return Mo;
|
|
66632
66632
|
}, geoRectangularPolyconicRaw: function() {
|
|
66633
66633
|
return js;
|
|
66634
66634
|
}, geoRobinson: function() {
|
|
@@ -66696,7 +66696,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
66696
66696
|
}, geoWagnerRaw: function() {
|
|
66697
66697
|
return ls;
|
|
66698
66698
|
}, geoWiechel: function() {
|
|
66699
|
-
return
|
|
66699
|
+
return Co;
|
|
66700
66700
|
}, geoWiechelRaw: function() {
|
|
66701
66701
|
return za;
|
|
66702
66702
|
}, geoWinkel3: function() {
|
|
@@ -67715,7 +67715,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
67715
67715
|
function Ri(yt, xt) {
|
|
67716
67716
|
return c(yt[0] - xt[0]) < T && c(yt[1] - xt[1]) < T;
|
|
67717
67717
|
}
|
|
67718
|
-
function
|
|
67718
|
+
function ko(yt, xt) {
|
|
67719
67719
|
for (var zt, Q, B, a = -1, s = yt.length, z = yt[0], N = []; ++a < s; ) {
|
|
67720
67720
|
Q = ((zt = yt[a])[0] - z[0]) / xt, B = (zt[1] - z[1]) / xt;
|
|
67721
67721
|
for (var G = 0; G < xt; ++G) N.push([z[0] + G * Q, z[1] + G * B]);
|
|
@@ -67748,8 +67748,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
67748
67748
|
}, s.lobes = function(N) {
|
|
67749
67749
|
return arguments.length ? (Q = function(G) {
|
|
67750
67750
|
var ie, de, _e, ke, De, Ue, rt, ut = [], ft = G[0].length;
|
|
67751
|
-
for (rt = 0; rt < ft; ++rt) de = (ie = G[0][rt])[0][0], _e = ie[0][1], ke = ie[1][1], De = ie[2][0], Ue = ie[2][1], ut.push(
|
|
67752
|
-
for (rt = G[1].length - 1; rt >= 0; --rt) de = (ie = G[1][rt])[0][0], _e = ie[0][1], ke = ie[1][1], De = ie[2][0], Ue = ie[2][1], ut.push(
|
|
67751
|
+
for (rt = 0; rt < ft; ++rt) de = (ie = G[0][rt])[0][0], _e = ie[0][1], ke = ie[1][1], De = ie[2][0], Ue = ie[2][1], ut.push(ko([[de + T, _e + T], [de + T, ke - T], [De - T, ke - T], [De - T, Ue + T]], 30));
|
|
67752
|
+
for (rt = G[1].length - 1; rt >= 0; --rt) de = (ie = G[1][rt])[0][0], _e = ie[0][1], ke = ie[1][1], De = ie[2][0], Ue = ie[2][1], ut.push(ko([[De - T, Ue - T], [De - T, ke + T], [de + T, ke + T], [de + T, _e - T]], 30));
|
|
67753
67753
|
return { type: "Polygon", coordinates: [(0, Qr.Am)(ut)] };
|
|
67754
67754
|
}(N), xt = N.map(function(G) {
|
|
67755
67755
|
return G.map(function(ie) {
|
|
@@ -67825,7 +67825,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
67825
67825
|
is.invert = function(yt, xt) {
|
|
67826
67826
|
return [L / 3 * yt / j(M * M / 3 - xt * xt), xt];
|
|
67827
67827
|
};
|
|
67828
|
-
var
|
|
67828
|
+
var So = M / A;
|
|
67829
67829
|
function Dl(yt, xt) {
|
|
67830
67830
|
return [yt * (1 + j(p(xt))) / 2, xt / (p(xt / 2) * p(yt / 6))];
|
|
67831
67831
|
}
|
|
@@ -67886,7 +67886,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
67886
67886
|
}
|
|
67887
67887
|
Dl.invert = function(yt, xt) {
|
|
67888
67888
|
var zt = c(yt), Q = c(xt), B = T, a = C;
|
|
67889
|
-
Q <
|
|
67889
|
+
Q < So ? a *= Q / So : B += 6 * R(So / Q);
|
|
67890
67890
|
for (var s = 0; s < 25; s++) {
|
|
67891
67891
|
var z = m(a), N = j(p(a)), G = m(a / 2), ie = p(a / 2), de = m(B / 6), _e = p(B / 6), ke = 0.5 * B * (1 + N) - zt, De = a / (ie * _e) - Q, Ue = N ? -0.25 * B * z / N : 0, rt = 0.5 * (1 + N), ut = (1 + 0.5 * a * G / ie) / (ie * _e), ft = a / ie * (de / 6) / (_e * _e), vt = Ue * ft - ut * rt, Ct = (ke * ft - De * rt) / vt, At = (De * Ue - ke * ut) / vt;
|
|
67892
67892
|
if (a -= Ct, B -= At, c(Ct) < T && c(At) < T) break;
|
|
@@ -68244,7 +68244,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
68244
68244
|
nu.invert = function(yt, xt) {
|
|
68245
68245
|
return ht.invert(yt / bu, xt);
|
|
68246
68246
|
};
|
|
68247
|
-
var ba = [],
|
|
68247
|
+
var ba = [], Ao = [], Do = { point: function(yt, xt) {
|
|
68248
68248
|
ba.push([yt, xt]);
|
|
68249
68249
|
}, result: function() {
|
|
68250
68250
|
var yt = ba.length ? ba.length < 2 ? { type: "Point", coordinates: ba[0] } : { type: "MultiPoint", coordinates: ba } : null;
|
|
@@ -68252,10 +68252,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
68252
68252
|
} }, _l = { lineStart: Wo, point: function(yt, xt) {
|
|
68253
68253
|
ba.push([yt, xt]);
|
|
68254
68254
|
}, lineEnd: function() {
|
|
68255
|
-
ba.length && (
|
|
68255
|
+
ba.length && (Ao.push(ba), ba = []);
|
|
68256
68256
|
}, result: function() {
|
|
68257
|
-
var yt =
|
|
68258
|
-
return
|
|
68257
|
+
var yt = Ao.length ? Ao.length < 2 ? { type: "LineString", coordinates: Ao[0] } : { type: "MultiLineString", coordinates: Ao } : null;
|
|
68258
|
+
return Ao = [], yt;
|
|
68259
68259
|
} }, gs = { polygonStart: Wo, lineStart: Wo, point: function(yt, xt) {
|
|
68260
68260
|
ba.push([yt, xt]);
|
|
68261
68261
|
}, lineEnd: function() {
|
|
@@ -68264,12 +68264,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
68264
68264
|
do
|
|
68265
68265
|
ba.push(ba[0].slice());
|
|
68266
68266
|
while (++yt < 4);
|
|
68267
|
-
|
|
68267
|
+
Ao.push(ba), ba = [];
|
|
68268
68268
|
}
|
|
68269
68269
|
}, polygonEnd: Wo, result: function() {
|
|
68270
|
-
if (!
|
|
68270
|
+
if (!Ao.length) return null;
|
|
68271
68271
|
var yt = [], xt = [];
|
|
68272
|
-
return
|
|
68272
|
+
return Ao.forEach(function(zt) {
|
|
68273
68273
|
(function(Q) {
|
|
68274
68274
|
if ((B = Q.length) < 4) return !1;
|
|
68275
68275
|
for (var B, a = 0, s = Q[B - 1][1] * Q[0][0] - Q[B - 1][0] * Q[0][1]; ++a < B; ) s += Q[a - 1][1] * Q[a][0] - Q[a - 1][0] * Q[a][1];
|
|
@@ -68286,7 +68286,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
68286
68286
|
return G;
|
|
68287
68287
|
}(B[0], Q)) return B.push(zt), !0;
|
|
68288
68288
|
}) || yt.push([zt]);
|
|
68289
|
-
}),
|
|
68289
|
+
}), Ao = [], yt.length ? yt.length > 1 ? { type: "MultiPolygon", coordinates: yt } : { type: "Polygon", coordinates: yt[0] } : null;
|
|
68290
68290
|
} };
|
|
68291
68291
|
function Hl(yt) {
|
|
68292
68292
|
var xt = yt(C, 0)[0] - yt(-C, 0)[0];
|
|
@@ -68394,7 +68394,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
68394
68394
|
return [xt ? 2 * e(xt * ke) / xt : 2 * ke, z];
|
|
68395
68395
|
}, zt;
|
|
68396
68396
|
}
|
|
68397
|
-
function
|
|
68397
|
+
function Mo() {
|
|
68398
68398
|
return Fe(js).scale(131.215);
|
|
68399
68399
|
}
|
|
68400
68400
|
var wa = [[0.9986, -0.062], [1, 0], [0.9986, 0.062], [0.9954, 0.124], [0.99, 0.186], [0.9822, 0.248], [0.973, 0.31], [0.96, 0.372], [0.9427, 0.434], [0.9216, 0.4958], [0.8962, 0.5571], [0.8679, 0.6176], [0.835, 0.6769], [0.7986, 0.7346], [0.7597, 0.7903], [0.7186, 0.8435], [0.6732, 0.8936], [0.6213, 0.9394], [0.5722, 0.9761], [0.5322, 1]];
|
|
@@ -68556,7 +68556,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
68556
68556
|
function vs() {
|
|
68557
68557
|
return (0, _.A)($o).scale(146.153);
|
|
68558
68558
|
}
|
|
68559
|
-
function
|
|
68559
|
+
function Eo(yt, xt, zt) {
|
|
68560
68560
|
var Q = (0, nl.A)(xt, zt), B = Q(0.5), a = (0, dt.A)([-B[0], -B[1]])(xt), s = Q.distance / 2, z = -F(m(a[1] * O) / m(s)), N = [-B[0], -B[1], -(a[0] > 0 ? M - z : z) * g], G = (0, _.A)(yt(s)).rotate(N), ie = (0, dt.A)(N), de = G.center;
|
|
68561
68561
|
return delete G.rotate, G.center = function(_e) {
|
|
68562
68562
|
return arguments.length ? de(ie(_e)) : ie.invert(de());
|
|
@@ -68576,7 +68576,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
68576
68576
|
return Yo([-158, 21.5], [-77, 39]).clipAngle(60).scale(400);
|
|
68577
68577
|
}
|
|
68578
68578
|
function Yo(yt, xt) {
|
|
68579
|
-
return
|
|
68579
|
+
return Eo(Fu, yt, xt);
|
|
68580
68580
|
}
|
|
68581
68581
|
function ha(yt) {
|
|
68582
68582
|
if (!(yt *= 2)) return ue.j;
|
|
@@ -68594,7 +68594,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
68594
68594
|
return Ms([-158, 21.5], [-77, 39]).clipAngle(130).scale(122.571);
|
|
68595
68595
|
}
|
|
68596
68596
|
function Ms(yt, xt) {
|
|
68597
|
-
return
|
|
68597
|
+
return Eo(ha, yt, xt);
|
|
68598
68598
|
}
|
|
68599
68599
|
function al(yt, xt) {
|
|
68600
68600
|
if (c(xt) < T) return [yt, 0];
|
|
@@ -68707,7 +68707,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
68707
68707
|
var zt = p(xt), Q = p(yt) * zt, B = 1 - Q, a = p(yt = v(m(yt) * zt, -m(xt))), s = m(yt);
|
|
68708
68708
|
return [s * (zt = j(1 - Q * Q)) - a * B, -a * zt - s * B];
|
|
68709
68709
|
}
|
|
68710
|
-
function
|
|
68710
|
+
function Co() {
|
|
68711
68711
|
return (0, _.A)(za).rotate([0, -90, 45]).scale(124.75).clipAngle(179.999);
|
|
68712
68712
|
}
|
|
68713
68713
|
function Yl(yt, xt) {
|
|
@@ -77678,8 +77678,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
77678
77678
|
var Un = On[ii];
|
|
77679
77679
|
ii = !0;
|
|
77680
77680
|
var si, Mi, Fi = 0 | Un.x, La = 0 | Un.y;
|
|
77681
|
-
return "width" in Un ? si = 0 | Un.width : ii = !1, "height" in Un ? Mi = 0 | Un.height : ii = !1, new Z(!ii && Cn && Cn.thisDep, !ii && Cn && Cn.contextDep, !ii && Cn && Cn.propDep, function(
|
|
77682
|
-
var Ka =
|
|
77681
|
+
return "width" in Un ? si = 0 | Un.width : ii = !1, "height" in Un ? Mi = 0 | Un.height : ii = !1, new Z(!ii && Cn && Cn.thisDep, !ii && Cn && Cn.contextDep, !ii && Cn && Cn.propDep, function(ko, Fa) {
|
|
77682
|
+
var Ka = ko.shared.context, ns = si;
|
|
77683
77683
|
"width" in Un || (ns = Fa.def(Ka, ".", "framebufferWidth", "-", Fi));
|
|
77684
77684
|
var Ui = Mi;
|
|
77685
77685
|
return "height" in Un || (Ui = Fa.def(Ka, ".", "framebufferHeight", "-", La)), [Fi, La, ns, Ui];
|
|
@@ -77687,13 +77687,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
77687
77687
|
}
|
|
77688
77688
|
if (ii in Vn) {
|
|
77689
77689
|
var Ri = Vn[ii];
|
|
77690
|
-
return ii = ce(Ri, function(
|
|
77691
|
-
var Ka =
|
|
77690
|
+
return ii = ce(Ri, function(ko, Fa) {
|
|
77691
|
+
var Ka = ko.invoke(Fa, Ri), ns = ko.shared.context, Ui = Fa.def(Ka, ".x|0"), fo = Fa.def(Ka, ".y|0");
|
|
77692
77692
|
return [Ui, fo, Fa.def('"width" in ', Ka, "?", Ka, ".width|0:", "(", ns, ".", "framebufferWidth", "-", Ui, ")"), Ka = Fa.def('"height" in ', Ka, "?", Ka, ".height|0:", "(", ns, ".", "framebufferHeight", "-", fo, ")")];
|
|
77693
77693
|
}), Cn && (ii.thisDep = ii.thisDep || Cn.thisDep, ii.contextDep = ii.contextDep || Cn.contextDep, ii.propDep = ii.propDep || Cn.propDep), ii;
|
|
77694
77694
|
}
|
|
77695
|
-
return Cn ? new Z(Cn.thisDep, Cn.contextDep, Cn.propDep, function(
|
|
77696
|
-
var Ka =
|
|
77695
|
+
return Cn ? new Z(Cn.thisDep, Cn.contextDep, Cn.propDep, function(ko, Fa) {
|
|
77696
|
+
var Ka = ko.shared.context;
|
|
77697
77697
|
return [0, 0, Fa.def(Ka, ".", "framebufferWidth"), Fa.def(Ka, ".", "framebufferHeight")];
|
|
77698
77698
|
}) : null;
|
|
77699
77699
|
}
|
|
@@ -77760,8 +77760,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
77760
77760
|
return si.def('"', Fa, Ka, '" in ', Mi, "?", Mi, ".", Fa, Ka, ":", Mi, ".", Fa);
|
|
77761
77761
|
}
|
|
77762
77762
|
Un = Un.constants.blendFuncs;
|
|
77763
|
-
var La = Fi("src", "RGB"), Ri = Fi("dst", "RGB"),
|
|
77764
|
-
return [La, Ri = si.def(Un, "[", Ri, "]"),
|
|
77763
|
+
var La = Fi("src", "RGB"), Ri = Fi("dst", "RGB"), ko = (La = si.def(Un, "[", La, "]"), si.def(Un, "[", Fi("src", "Alpha"), "]"));
|
|
77764
|
+
return [La, Ri = si.def(Un, "[", Ri, "]"), ko, Un = si.def(Un, "[", Fi("dst", "Alpha"), "]")];
|
|
77765
77765
|
});
|
|
77766
77766
|
case "blend.equation":
|
|
77767
77767
|
return fi(function(Un) {
|
|
@@ -84485,7 +84485,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
84485
84485
|
var Oe, We, Ze;
|
|
84486
84486
|
return me;
|
|
84487
84487
|
}
|
|
84488
|
-
function
|
|
84488
|
+
function ko(J, H) {
|
|
84489
84489
|
for (const oe of H) if (Ri(J, oe)) return !0;
|
|
84490
84490
|
return !1;
|
|
84491
84491
|
}
|
|
@@ -84589,7 +84589,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
84589
84589
|
if (me.type === "MultiPolygon") {
|
|
84590
84590
|
const ct = fo(me.coordinates, We, Ze), pt = co(oe.geometry(), Oe, We, Ze);
|
|
84591
84591
|
if (!si(Oe, We)) return !1;
|
|
84592
|
-
for (const Pt of pt) if (!
|
|
84592
|
+
for (const Pt of pt) if (!ko(Pt, ct)) return !1;
|
|
84593
84593
|
}
|
|
84594
84594
|
return !0;
|
|
84595
84595
|
}(H, this.geometries);
|
|
@@ -84683,7 +84683,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
84683
84683
|
const oe = [];
|
|
84684
84684
|
let me, Oe;
|
|
84685
84685
|
for (const We of J) {
|
|
84686
|
-
const Ze =
|
|
84686
|
+
const Ze = So(We);
|
|
84687
84687
|
Ze !== 0 && (We.area = Math.abs(Ze), Oe === void 0 && (Oe = Ze < 0), Oe === Ze < 0 ? (me && oe.push(me), me = [We]) : me.push(We));
|
|
84688
84688
|
}
|
|
84689
84689
|
if (me && oe.push(me), H > 1) for (let We = 0; We < oe.length; We++) oe[We].length <= H || (zl(oe[We], H, 1, oe[We].length - 1, Ba), oe[We] = oe[We].slice(0, H));
|
|
@@ -84692,7 +84692,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
84692
84692
|
function Ba(J, H) {
|
|
84693
84693
|
return H.area - J.area;
|
|
84694
84694
|
}
|
|
84695
|
-
function
|
|
84695
|
+
function So(J) {
|
|
84696
84696
|
let H = 0;
|
|
84697
84697
|
for (let oe, me, Oe = 0, We = J.length, Ze = We - 1; Oe < We; Ze = Oe++) oe = J[Oe], me = J[Ze], H += (me.x - oe.x) * (oe.y + me.y);
|
|
84698
84698
|
return H;
|
|
@@ -85511,7 +85511,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
85511
85511
|
let Oe = sa(oe);
|
|
85512
85512
|
return Oe === "number" && oe != oe && (Oe = "NaN"), Oe !== "number" ? [new Se(H, oe, `number expected, ${Oe} found`)] : "minimum" in me && oe < me.minimum ? [new Se(H, oe, `${oe} is less than the minimum value ${me.minimum}`)] : "maximum" in me && oe > me.maximum ? [new Se(H, oe, `${oe} is greater than the maximum value ${me.maximum}`)] : [];
|
|
85513
85513
|
}
|
|
85514
|
-
function
|
|
85514
|
+
function Ao(J) {
|
|
85515
85515
|
const H = J.valueSpec, oe = Ra(J.value.type);
|
|
85516
85516
|
let me, Oe, We, Ze = {};
|
|
85517
85517
|
const ct = oe !== "categorical" && J.value.property === void 0, pt = !ct, Pt = sa(J.value.stops) === "array" && sa(J.value.stops[0]) === "array" && sa(J.value.stops[0][0]) === "object", Nt = xa({ key: J.key, value: J.value, valueSpec: J.styleSpec.function, validateSpec: J.validateSpec, style: J.style, styleSpec: J.styleSpec, objectElementValidators: { stops: function(ur) {
|
|
@@ -85658,15 +85658,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
85658
85658
|
} } });
|
|
85659
85659
|
} } })), H;
|
|
85660
85660
|
}
|
|
85661
|
-
function
|
|
85661
|
+
function Mo(J) {
|
|
85662
85662
|
const H = J.value, oe = J.key, me = sa(H);
|
|
85663
85663
|
return me !== "string" ? [new Se(oe, H, `string expected, ${me} found`)] : [];
|
|
85664
85664
|
}
|
|
85665
85665
|
const wa = { promoteId: function({ key: J, value: H }) {
|
|
85666
|
-
if (sa(H) === "string") return
|
|
85666
|
+
if (sa(H) === "string") return Mo({ key: J, value: H });
|
|
85667
85667
|
{
|
|
85668
85668
|
const oe = [];
|
|
85669
|
-
for (const me in H) oe.push(...
|
|
85669
|
+
for (const me in H) oe.push(...Mo({ key: `${J}.${me}`, value: H[me] }));
|
|
85670
85670
|
return oe;
|
|
85671
85671
|
}
|
|
85672
85672
|
} };
|
|
@@ -85748,7 +85748,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
85748
85748
|
}
|
|
85749
85749
|
return H;
|
|
85750
85750
|
}
|
|
85751
|
-
return
|
|
85751
|
+
return Mo({ key: me, value: oe });
|
|
85752
85752
|
}
|
|
85753
85753
|
const Gl = { "*"() {
|
|
85754
85754
|
return [];
|
|
@@ -85758,17 +85758,17 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
85758
85758
|
}, number: ba, color: function(J) {
|
|
85759
85759
|
const H = J.key, oe = J.value, me = sa(oe);
|
|
85760
85760
|
return me !== "string" ? [new Se(H, oe, `color expected, ${me} found`)] : sr.parse(String(oe)) ? [] : [new Se(H, oe, `color expected, "${oe}" found`)];
|
|
85761
|
-
}, constants: Wo, enum: _l, filter: gs, function:
|
|
85761
|
+
}, constants: Wo, enum: _l, filter: gs, function: Ao, layer: js, object: xa, source: Us, light: ki, sky: Du, terrain: uc, projection: function(J) {
|
|
85762
85762
|
const H = J.value, oe = J.styleSpec, me = oe.projection, Oe = J.style, We = sa(H);
|
|
85763
85763
|
if (H === void 0) return [];
|
|
85764
85764
|
if (We !== "object") return [new Se("projection", H, `object expected, ${We} found`)];
|
|
85765
85765
|
let Ze = [];
|
|
85766
85766
|
for (const ct in H) Ze = me[ct] ? Ze.concat(J.validateSpec({ key: ct, value: H[ct], valueSpec: me[ct], style: Oe, styleSpec: oe })) : Ze.concat([new Se(ct, H[ct], `unknown property "${ct}"`)]);
|
|
85767
85767
|
return Ze;
|
|
85768
|
-
}, string:
|
|
85769
|
-
return
|
|
85768
|
+
}, string: Mo, formatted: function(J) {
|
|
85769
|
+
return Mo(J).length === 0 ? [] : Do(J);
|
|
85770
85770
|
}, resolvedImage: function(J) {
|
|
85771
|
-
return
|
|
85771
|
+
return Mo(J).length === 0 ? [] : Do(J);
|
|
85772
85772
|
}, padding: function(J) {
|
|
85773
85773
|
const H = J.key, oe = J.value;
|
|
85774
85774
|
if (sa(oe) === "array") {
|
|
@@ -85788,10 +85788,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
85788
85788
|
}, sprite: bl };
|
|
85789
85789
|
function Wl(J) {
|
|
85790
85790
|
const H = J.value, oe = J.valueSpec, me = J.styleSpec;
|
|
85791
|
-
return J.validateSpec = Wl, oe.expression && sc(Ra(H)) ?
|
|
85791
|
+
return J.validateSpec = Wl, oe.expression && sc(Ra(H)) ? Ao(J) : oe.expression && nl(zo(H)) ? Do(J) : oe.type && Gl[oe.type] ? Gl[oe.type](J) : xa(Te({}, J, { valueSpec: oe.type ? me[oe.type] : oe }));
|
|
85792
85792
|
}
|
|
85793
85793
|
function Tu(J) {
|
|
85794
|
-
const H = J.value, oe = J.key, me =
|
|
85794
|
+
const H = J.value, oe = J.key, me = Mo(J);
|
|
85795
85795
|
return me.length || (H.indexOf("{fontstack}") === -1 && me.push(new Se(oe, H, '"glyphs" url must include a "{fontstack}" token')), H.indexOf("{range}") === -1 && me.push(new Se(oe, H, '"glyphs" url must include a "{range}" token'))), me;
|
|
85796
85796
|
}
|
|
85797
85797
|
function li(J, H = ye) {
|
|
@@ -85963,9 +85963,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
85963
85963
|
if (Oe.$name) throw new Error("$name property is reserved for worker serialization logic.");
|
|
85964
85964
|
return oe !== "Object" && (Oe.$name = oe), Oe;
|
|
85965
85965
|
}
|
|
85966
|
-
function
|
|
85966
|
+
function Eo(J) {
|
|
85967
85967
|
if ($o(J)) return J;
|
|
85968
|
-
if (Array.isArray(J)) return J.map(
|
|
85968
|
+
if (Array.isArray(J)) return J.map(Eo);
|
|
85969
85969
|
if (typeof J != "object") throw new Error("can't deserialize object of type " + typeof J);
|
|
85970
85970
|
const H = yo(J) || "Object";
|
|
85971
85971
|
if (!Vs[H]) throw new Error(`can't deserialize unregistered class ${H}`);
|
|
@@ -85976,7 +85976,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
85976
85976
|
for (const Oe of Object.keys(J)) {
|
|
85977
85977
|
if (Oe === "$name") continue;
|
|
85978
85978
|
const We = J[Oe];
|
|
85979
|
-
me[Oe] = Vs[H].shallow.indexOf(Oe) >= 0 ? We :
|
|
85979
|
+
me[Oe] = Vs[H].shallow.indexOf(Oe) >= 0 ? We : Eo(We);
|
|
85980
85980
|
}
|
|
85981
85981
|
return me;
|
|
85982
85982
|
}
|
|
@@ -86280,7 +86280,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
86280
86280
|
return H;
|
|
86281
86281
|
}
|
|
86282
86282
|
}
|
|
86283
|
-
class
|
|
86283
|
+
class Co {
|
|
86284
86284
|
constructor(H) {
|
|
86285
86285
|
this.specification = H;
|
|
86286
86286
|
}
|
|
@@ -86322,7 +86322,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
86322
86322
|
}
|
|
86323
86323
|
}
|
|
86324
86324
|
}
|
|
86325
|
-
_i("DataDrivenProperty", yi), _i("DataConstantProperty", bi), _i("CrossFadedDataDrivenProperty", za), _i("CrossFadedProperty",
|
|
86325
|
+
_i("DataDrivenProperty", yi), _i("DataConstantProperty", bi), _i("CrossFadedDataDrivenProperty", za), _i("CrossFadedProperty", Co), _i("ColorRampProperty", Yl);
|
|
86326
86326
|
const yt = "-transition";
|
|
86327
86327
|
class xt extends ve {
|
|
86328
86328
|
constructor(H, oe) {
|
|
@@ -87852,7 +87852,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
87852
87852
|
H || (H = J);
|
|
87853
87853
|
let oe, me = J;
|
|
87854
87854
|
do
|
|
87855
|
-
if (oe = !1, me.steiner || !Hf(me, me.next) &&
|
|
87855
|
+
if (oe = !1, me.steiner || !Hf(me, me.next) && Io(me.prev, me, me.next) !== 0) me = me.next;
|
|
87856
87856
|
else {
|
|
87857
87857
|
if (lh(me), me = H = me.prev, me === me.next) break;
|
|
87858
87858
|
oe = !0;
|
|
@@ -87897,30 +87897,30 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
87897
87897
|
}
|
|
87898
87898
|
function m1(J) {
|
|
87899
87899
|
const H = J.prev, oe = J, me = J.next;
|
|
87900
|
-
if (
|
|
87900
|
+
if (Io(H, oe, me) >= 0) return !1;
|
|
87901
87901
|
const Oe = H.x, We = oe.x, Ze = me.x, ct = H.y, pt = oe.y, Pt = me.y, Nt = Oe < We ? Oe < Ze ? Oe : Ze : We < Ze ? We : Ze, Yt = ct < pt ? ct < Pt ? ct : Pt : pt < Pt ? pt : Pt, nr = Oe > We ? Oe > Ze ? Oe : Ze : We > Ze ? We : Ze, ur = ct > pt ? ct > Pt ? ct : Pt : pt > Pt ? pt : Pt;
|
|
87902
87902
|
let wr = me.next;
|
|
87903
87903
|
for (; wr !== H; ) {
|
|
87904
|
-
if (wr.x >= Nt && wr.x <= nr && wr.y >= Yt && wr.y <= ur && Sd(Oe, ct, We, pt, Ze, Pt, wr.x, wr.y) &&
|
|
87904
|
+
if (wr.x >= Nt && wr.x <= nr && wr.y >= Yt && wr.y <= ur && Sd(Oe, ct, We, pt, Ze, Pt, wr.x, wr.y) && Io(wr.prev, wr, wr.next) >= 0) return !1;
|
|
87905
87905
|
wr = wr.next;
|
|
87906
87906
|
}
|
|
87907
87907
|
return !0;
|
|
87908
87908
|
}
|
|
87909
87909
|
function g1(J, H, oe, me) {
|
|
87910
87910
|
const Oe = J.prev, We = J, Ze = J.next;
|
|
87911
|
-
if (
|
|
87911
|
+
if (Io(Oe, We, Ze) >= 0) return !1;
|
|
87912
87912
|
const ct = Oe.x, pt = We.x, Pt = Ze.x, Nt = Oe.y, Yt = We.y, nr = Ze.y, ur = ct < pt ? ct < Pt ? ct : Pt : pt < Pt ? pt : Pt, wr = Nt < Yt ? Nt < nr ? Nt : nr : Yt < nr ? Yt : nr, gr = ct > pt ? ct > Pt ? ct : Pt : pt > Pt ? pt : Pt, Br = Nt > Yt ? Nt > nr ? Nt : nr : Yt > nr ? Yt : nr, Vr = Vf(ur, wr, H, oe, me), gn = Vf(gr, Br, H, oe, me);
|
|
87913
87913
|
let en = J.prevZ, dn = J.nextZ;
|
|
87914
87914
|
for (; en && en.z >= Vr && dn && dn.z <= gn; ) {
|
|
87915
|
-
if (en.x >= ur && en.x <= gr && en.y >= wr && en.y <= Br && en !== Oe && en !== Ze && Sd(ct, Nt, pt, Yt, Pt, nr, en.x, en.y) &&
|
|
87915
|
+
if (en.x >= ur && en.x <= gr && en.y >= wr && en.y <= Br && en !== Oe && en !== Ze && Sd(ct, Nt, pt, Yt, Pt, nr, en.x, en.y) && Io(en.prev, en, en.next) >= 0 || (en = en.prevZ, dn.x >= ur && dn.x <= gr && dn.y >= wr && dn.y <= Br && dn !== Oe && dn !== Ze && Sd(ct, Nt, pt, Yt, Pt, nr, dn.x, dn.y) && Io(dn.prev, dn, dn.next) >= 0)) return !1;
|
|
87916
87916
|
dn = dn.nextZ;
|
|
87917
87917
|
}
|
|
87918
87918
|
for (; en && en.z >= Vr; ) {
|
|
87919
|
-
if (en.x >= ur && en.x <= gr && en.y >= wr && en.y <= Br && en !== Oe && en !== Ze && Sd(ct, Nt, pt, Yt, Pt, nr, en.x, en.y) &&
|
|
87919
|
+
if (en.x >= ur && en.x <= gr && en.y >= wr && en.y <= Br && en !== Oe && en !== Ze && Sd(ct, Nt, pt, Yt, Pt, nr, en.x, en.y) && Io(en.prev, en, en.next) >= 0) return !1;
|
|
87920
87920
|
en = en.prevZ;
|
|
87921
87921
|
}
|
|
87922
87922
|
for (; dn && dn.z <= gn; ) {
|
|
87923
|
-
if (dn.x >= ur && dn.x <= gr && dn.y >= wr && dn.y <= Br && dn !== Oe && dn !== Ze && Sd(ct, Nt, pt, Yt, Pt, nr, dn.x, dn.y) &&
|
|
87923
|
+
if (dn.x >= ur && dn.x <= gr && dn.y >= wr && dn.y <= Br && dn !== Oe && dn !== Ze && Sd(ct, Nt, pt, Yt, Pt, nr, dn.x, dn.y) && Io(dn.prev, dn, dn.next) >= 0) return !1;
|
|
87924
87924
|
dn = dn.nextZ;
|
|
87925
87925
|
}
|
|
87926
87926
|
return !0;
|
|
@@ -87980,7 +87980,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
87980
87980
|
return lu(me, me.next), lu(oe, oe.next);
|
|
87981
87981
|
}
|
|
87982
87982
|
function _1(J, H) {
|
|
87983
|
-
return
|
|
87983
|
+
return Io(J.prev, J, H.prev) < 0 && Io(H.next, J, J.next) < 0;
|
|
87984
87984
|
}
|
|
87985
87985
|
function Vf(J, H, oe, me, Oe) {
|
|
87986
87986
|
return (J = 1431655765 & ((J = 858993459 & ((J = 252645135 & ((J = 16711935 & ((J = (J - oe) * Oe | 0) | J << 8)) | J << 4)) | J << 2)) | J << 1)) | (H = 1431655765 & ((H = 858993459 & ((H = 252645135 & ((H = 16711935 & ((H = (H - me) * Oe | 0) | H << 8)) | H << 4)) | H << 2)) | H << 1)) << 1;
|
|
@@ -88010,16 +88010,16 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
88010
88010
|
Oe.y > ct != Oe.next.y > ct && Oe.next.y !== Oe.y && Ze < (Oe.next.x - Oe.x) * (ct - Oe.y) / (Oe.next.y - Oe.y) + Oe.x && (We = !We), Oe = Oe.next;
|
|
88011
88011
|
while (Oe !== oe);
|
|
88012
88012
|
return We;
|
|
88013
|
-
}(J, H) && (
|
|
88013
|
+
}(J, H) && (Io(J.prev, J, H.prev) || Io(J, H.prev, H)) || Hf(J, H) && Io(J.prev, J, J.next) > 0 && Io(H.prev, H, H.next) > 0);
|
|
88014
88014
|
}
|
|
88015
|
-
function
|
|
88015
|
+
function Io(J, H, oe) {
|
|
88016
88016
|
return (H.y - J.y) * (oe.x - H.x) - (H.x - J.x) * (oe.y - H.y);
|
|
88017
88017
|
}
|
|
88018
88018
|
function Hf(J, H) {
|
|
88019
88019
|
return J.x === H.x && J.y === H.y;
|
|
88020
88020
|
}
|
|
88021
88021
|
function Gf(J, H, oe, me) {
|
|
88022
|
-
const Oe = $u(
|
|
88022
|
+
const Oe = $u(Io(J, H, oe)), We = $u(Io(J, H, me)), Ze = $u(Io(oe, me, J)), ct = $u(Io(oe, me, H));
|
|
88023
88023
|
return Oe !== We && Ze !== ct || !(Oe !== 0 || !Ih(J, oe, H)) || !(We !== 0 || !Ih(J, me, H)) || !(Ze !== 0 || !Ih(oe, J, me)) || !(ct !== 0 || !Ih(oe, H, me));
|
|
88024
88024
|
}
|
|
88025
88025
|
function Ih(J, H, oe) {
|
|
@@ -88029,7 +88029,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
88029
88029
|
return J > 0 ? 1 : J < 0 ? -1 : 0;
|
|
88030
88030
|
}
|
|
88031
88031
|
function Xd(J, H) {
|
|
88032
|
-
return
|
|
88032
|
+
return Io(J.prev, J, J.next) < 0 ? Io(J, H, J.next) >= 0 && Io(J, J.prev, H) >= 0 : Io(J, H, J.prev) < 0 || Io(J, J.next, H) < 0;
|
|
88033
88033
|
}
|
|
88034
88034
|
function p0(J, H) {
|
|
88035
88035
|
const oe = Wf(J.i, J.x, J.y), me = Wf(H.i, H.x, H.y), Oe = J.next, We = H.prev;
|
|
@@ -88382,10 +88382,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
88382
88382
|
for (const Ei of wr) {
|
|
88383
88383
|
const wi = [], ti = [];
|
|
88384
88384
|
for (const Ii of Ei) {
|
|
88385
|
-
const Oi = Ii.x, Yi = Ii.y, Ga = Vr[0] * Oi + Vr[4] * Yi + Vr[12], Wa = Vr[1] * Oi + Vr[5] * Yi + Vr[13], Qo = Vr[2] * Oi + Vr[6] * Yi + Vr[14], hu = Vr[3] * Oi + Vr[7] * Yi + Vr[15], _s = Qo + di, ds = hu + Ai, Jl = Ga + ji, ul = Wa + xi, Bo = Qo + pi,
|
|
88385
|
+
const Oi = Ii.x, Yi = Ii.y, Ga = Vr[0] * Oi + Vr[4] * Yi + Vr[12], Wa = Vr[1] * Oi + Vr[5] * Yi + Vr[13], Qo = Vr[2] * Oi + Vr[6] * Yi + Vr[14], hu = Vr[3] * Oi + Vr[7] * Yi + Vr[15], _s = Qo + di, ds = hu + Ai, Jl = Ga + ji, ul = Wa + xi, Bo = Qo + pi, Lo = hu + Bi, Zs = new h((Ga + dn) / ds, (Wa + Nn) / ds);
|
|
88386
88386
|
Zs.z = _s / ds, wi.push(Zs);
|
|
88387
|
-
const Ko = new h(Jl /
|
|
88388
|
-
Ko.z = Bo /
|
|
88387
|
+
const Ko = new h(Jl / Lo, ul / Lo);
|
|
88388
|
+
Ko.z = Bo / Lo, ti.push(Ko);
|
|
88389
88389
|
}
|
|
88390
88390
|
gn.push(wi), en.push(ti);
|
|
88391
88391
|
}
|
|
@@ -88572,7 +88572,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
88572
88572
|
_i("LineBucket", Yf, { omit: ["layers", "patternFeatures"] });
|
|
88573
88573
|
let Zd;
|
|
88574
88574
|
var Md = { get paint() {
|
|
88575
|
-
return Zd = Zd || new us({ "line-opacity": new yi(ye.paint_line["line-opacity"]), "line-color": new yi(ye.paint_line["line-color"]), "line-translate": new bi(ye.paint_line["line-translate"]), "line-translate-anchor": new bi(ye.paint_line["line-translate-anchor"]), "line-width": new yi(ye.paint_line["line-width"]), "line-gap-width": new yi(ye.paint_line["line-gap-width"]), "line-offset": new yi(ye.paint_line["line-offset"]), "line-blur": new yi(ye.paint_line["line-blur"]), "line-dasharray": new
|
|
88575
|
+
return Zd = Zd || new us({ "line-opacity": new yi(ye.paint_line["line-opacity"]), "line-color": new yi(ye.paint_line["line-color"]), "line-translate": new bi(ye.paint_line["line-translate"]), "line-translate-anchor": new bi(ye.paint_line["line-translate-anchor"]), "line-width": new yi(ye.paint_line["line-width"]), "line-gap-width": new yi(ye.paint_line["line-gap-width"]), "line-offset": new yi(ye.paint_line["line-offset"]), "line-blur": new yi(ye.paint_line["line-blur"]), "line-dasharray": new Co(ye.paint_line["line-dasharray"]), "line-pattern": new za(ye.paint_line["line-pattern"]), "line-gradient": new Yl(ye.paint_line["line-gradient"]) });
|
|
88576
88576
|
}, get layout() {
|
|
88577
88577
|
return Su = Su || new us({ "line-cap": new bi(ye.layout_line["line-cap"]), "line-join": new yi(ye.layout_line["line-join"]), "line-miter-limit": new bi(ye.layout_line["line-miter-limit"]), "line-round-limit": new bi(ye.layout_line["line-round-limit"]), "line-sort-key": new yi(ye.layout_line["line-sort-key"]) });
|
|
88578
88578
|
} };
|
|
@@ -89148,7 +89148,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
89148
89148
|
let _s = 0;
|
|
89149
89149
|
for (const Bo of xi) {
|
|
89150
89150
|
Bo.trim();
|
|
89151
|
-
const
|
|
89151
|
+
const Lo = Bo.getMaxScale(), Zs = (Lo - 1) * Is, Ko = { positionedGlyphs: [], lineOffset: 0 };
|
|
89152
89152
|
Nn.positionedLines[_s] = Ko;
|
|
89153
89153
|
const xs = Ko.positionedGlyphs;
|
|
89154
89154
|
let cl = 0;
|
|
@@ -89166,7 +89166,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
89166
89166
|
wc = Ro.imageName, Nn.iconsInText = Nn.iconsInText || !0, ts = Va.paddedRect;
|
|
89167
89167
|
const bo = Va.displaySize;
|
|
89168
89168
|
Ro.scale = Ro.scale * Is / Oi, hl = { width: bo[0], height: bo[1], left: Ru, top: -rd, advance: fu ? bo[1] : bo[0] }, bs = Zs + (Is - bo[1] * Ro.scale), dh = hl.advance;
|
|
89169
|
-
const fc = fu ? bo[0] * Ro.scale - Is *
|
|
89169
|
+
const fc = fu ? bo[0] * Ro.scale - Is * Lo : bo[1] * Ro.scale - Is * Lo;
|
|
89170
89170
|
fc > 0 && fc > cl && (cl = fc);
|
|
89171
89171
|
} else {
|
|
89172
89172
|
const Va = Ai[Ro.fontStack], bo = Va && Va[Ua];
|
|
@@ -89176,7 +89176,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
89176
89176
|
if (!Tc) continue;
|
|
89177
89177
|
hl = Tc.metrics;
|
|
89178
89178
|
}
|
|
89179
|
-
bs = (
|
|
89179
|
+
bs = (Lo - Ro.scale) * Is;
|
|
89180
89180
|
}
|
|
89181
89181
|
fu ? (Nn.verticalizable = !0, xs.push({ glyph: Ua, imageName: wc, x: Yi, y: Ga + bs, vertical: fu, scale: Ro.scale, fontStack: Ro.fontStack, sectionIndex: es, metrics: hl, rect: ts }), Yi += dh * Ro.scale + ti) : (xs.push({ glyph: Ua, imageName: wc, x: Yi, y: Ga + bs, vertical: fu, scale: Ro.scale, fontStack: Ro.fontStack, sectionIndex: es, metrics: hl, rect: ts }), Yi += hl.advance * Ro.scale + ti);
|
|
89182
89182
|
}
|
|
@@ -89185,12 +89185,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
89185
89185
|
Wa = Math.max(Cl, Wa), rf(xs, 0, xs.length - 1, hu, cl);
|
|
89186
89186
|
}
|
|
89187
89187
|
Yi = 0;
|
|
89188
|
-
const du = pi *
|
|
89188
|
+
const du = pi * Lo + cl;
|
|
89189
89189
|
Ko.lineOffset = Math.max(cl, Zs), Ga += du, Qo = Math.max(du, Qo), ++_s;
|
|
89190
89190
|
}
|
|
89191
89191
|
const ds = Ga - id, { horizontalAlign: Jl, verticalAlign: ul } = zh(Bi);
|
|
89192
|
-
(function(Bo,
|
|
89193
|
-
const es = (
|
|
89192
|
+
(function(Bo, Lo, Zs, Ko, xs, cl, du, Cl, Ro) {
|
|
89193
|
+
const es = (Lo - Zs) * xs;
|
|
89194
89194
|
let Ua = 0;
|
|
89195
89195
|
Ua = cl !== du ? -Cl * Ko - id : (-Ko * Ro + 0.5) * du;
|
|
89196
89196
|
for (const bs of Bo) for (const hl of bs.positionedGlyphs) hl.x += es, hl.y += Ua;
|
|
@@ -89687,7 +89687,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
89687
89687
|
}
|
|
89688
89688
|
let sm;
|
|
89689
89689
|
var xo = { get paint() {
|
|
89690
|
-
return sm = sm || new us({ "background-color": new bi(ye.paint_background["background-color"]), "background-pattern": new
|
|
89690
|
+
return sm = sm || new us({ "background-color": new bi(ye.paint_background["background-color"]), "background-pattern": new Co(ye.paint_background["background-pattern"]), "background-opacity": new bi(ye.paint_background["background-opacity"]) });
|
|
89691
89691
|
} };
|
|
89692
89692
|
class V0 extends xt {
|
|
89693
89693
|
constructor(H) {
|
|
@@ -90204,13 +90204,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
90204
90204
|
(We.textFitWidth || We.textFitHeight) && (Pt = j0(J)), Vr = Rr(Nt, 0, ti[0]), en = Rr(Yt, 0, ti[1]), gn = Rr(Nt, ti[0], ti[2]), dn = Rr(Yt, ti[1], ti[3]), Nn = ti[0] - Vr, Ai = ti[1] - en, di = Ii - gn, ji = Oi - dn;
|
|
90205
90205
|
}
|
|
90206
90206
|
const xi = Pt.x1, pi = Pt.y1, Bi = Pt.x2 - xi, Ei = Pt.y2 - pi, wi = (ti, Ii, Oi, Yi) => {
|
|
90207
|
-
const Ga = Kr(ti.stretch - Vr, gn, Bi, xi), Wa = yn(ti.fixed - Nn, di, ti.stretch, ur), Qo = Kr(Ii.stretch - en, dn, Ei, pi), hu = yn(Ii.fixed - Ai, ji, Ii.stretch, wr), _s = Kr(Oi.stretch - Vr, gn, Bi, xi), ds = yn(Oi.fixed - Nn, di, Oi.stretch, ur), Jl = Kr(Yi.stretch - en, dn, Ei, pi), ul = yn(Yi.fixed - Ai, ji, Yi.stretch, wr), Bo = new h(Ga, Qo),
|
|
90207
|
+
const Ga = Kr(ti.stretch - Vr, gn, Bi, xi), Wa = yn(ti.fixed - Nn, di, ti.stretch, ur), Qo = Kr(Ii.stretch - en, dn, Ei, pi), hu = yn(Ii.fixed - Ai, ji, Ii.stretch, wr), _s = Kr(Oi.stretch - Vr, gn, Bi, xi), ds = yn(Oi.fixed - Nn, di, Oi.stretch, ur), Jl = Kr(Yi.stretch - en, dn, Ei, pi), ul = yn(Yi.fixed - Ai, ji, Yi.stretch, wr), Bo = new h(Ga, Qo), Lo = new h(_s, Qo), Zs = new h(_s, Jl), Ko = new h(Ga, Jl), xs = new h(Wa / Ze, hu / Ze), cl = new h(ds / Ze, ul / Ze), du = H * Math.PI / 180;
|
|
90208
90208
|
if (du) {
|
|
90209
90209
|
const bs = Math.sin(du), hl = Math.cos(du), ts = [hl, -bs, bs, hl];
|
|
90210
|
-
Bo._matMult(ts),
|
|
90210
|
+
Bo._matMult(ts), Lo._matMult(ts), Ko._matMult(ts), Zs._matMult(ts);
|
|
90211
90211
|
}
|
|
90212
90212
|
const Cl = ti.stretch + ti.fixed, Ro = Oi.stretch + Oi.fixed, es = Ii.stretch + Ii.fixed, Ua = Yi.stretch + Yi.fixed;
|
|
90213
|
-
return { tl: Bo, tr:
|
|
90213
|
+
return { tl: Bo, tr: Lo, bl: Ko, br: Zs, tex: { x: We.paddedRect.x + dr + Cl, y: We.paddedRect.y + dr + es, w: Ro - Cl, h: Ua - es }, writingMode: void 0, glyphOffset: [0, 0], sectionIndex: 0, pixelOffsetTL: xs, pixelOffsetBR: cl, minFontScaleX: di / Ze / Bi, minFontScaleY: ji / Ze / Ei, isSDF: oe };
|
|
90214
90214
|
};
|
|
90215
90215
|
if (me && (We.stretchX || We.stretchY)) {
|
|
90216
90216
|
const ti = nn(Nt, gr, ur), Ii = nn(Yt, Br, wr);
|
|
@@ -90453,18 +90453,18 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
90453
90453
|
let Ei;
|
|
90454
90454
|
me && Bi !== "none" && (J.allowVerticalPlacement && oe.vertical && (Ei = np(me, oe.vertical, Bi, nr.get("icon-text-fit-padding"), ur, gr)), wr && (me = np(me, wr, Bi, nr.get("icon-text-fit-padding"), ur, gr)));
|
|
90455
90455
|
const wi = (ti, Ii) => {
|
|
90456
|
-
Ii.x < 0 || Ii.x >= Cs || Ii.y < 0 || Ii.y >= Cs || function(Oi, Yi, Ga, Wa, Qo, hu, _s, ds, Jl, ul, Bo,
|
|
90456
|
+
Ii.x < 0 || Ii.x >= Cs || Ii.y < 0 || Ii.y >= Cs || function(Oi, Yi, Ga, Wa, Qo, hu, _s, ds, Jl, ul, Bo, Lo, Zs, Ko, xs, cl, du, Cl, Ro, es, Ua, bs, hl, ts, wc) {
|
|
90457
90457
|
const dh = Oi.addToLineVertexArray(Yi, Ga);
|
|
90458
90458
|
let fu, Va, bo, fc, Tc = 0, up = 0, fm = 0, of = 0, kc = -1, zd = -1;
|
|
90459
90459
|
const pc = {};
|
|
90460
90460
|
let sf = _o("");
|
|
90461
90461
|
if (Oi.allowVerticalPlacement && Wa.vertical) {
|
|
90462
90462
|
const ws = ds.layout.get("text-rotate").evaluate(Ua, {}, ts) + 90, dl = Wa.vertical;
|
|
90463
|
-
bo = new wn(Jl, Yi, ul, Bo,
|
|
90463
|
+
bo = new wn(Jl, Yi, ul, Bo, Lo, dl, Zs, Ko, xs, ws), _s && (fc = new wn(Jl, Yi, ul, Bo, Lo, _s, du, Cl, xs, ws));
|
|
90464
90464
|
}
|
|
90465
90465
|
if (Qo) {
|
|
90466
90466
|
const ws = ds.layout.get("icon-rotate").evaluate(Ua, {}), dl = ds.layout.get("icon-text-fit") !== "none", Sc = Or(Qo, ws, hl, dl), Mu = _s ? Or(_s, ws, hl, dl) : void 0;
|
|
90467
|
-
Va = new wn(Jl, Yi, ul, Bo,
|
|
90467
|
+
Va = new wn(Jl, Yi, ul, Bo, Lo, Qo, du, Cl, !1, ws), Tc = 4 * Sc.length;
|
|
90468
90468
|
const Ac = Oi.iconSizeData;
|
|
90469
90469
|
let th = null;
|
|
90470
90470
|
Ac.kind === "source" ? (th = [Qc * ds.layout.get("icon-size").evaluate(Ua, {})], th[0] > Dh && g(`${Oi.layerIds[0]}: Value for "icon-size" is >= ${Jc}. Reduce your "icon-size".`)) : Ac.kind === "composite" && (th = [Qc * bs.compositeIconSizes[0].evaluate(Ua, {}, ts), Qc * bs.compositeIconSizes[1].evaluate(Ua, {}, ts)], (th[0] > Dh || th[1] > Dh) && g(`${Oi.layerIds[0]}: Value for "icon-size" is >= ${Jc}. Reduce your "icon-size".`)), Oi.addSymbols(Oi.icon, Sc, th, es, Ro, Ua, c.ai.none, Yi, dh.lineStartIndex, dh.lineLength, -1, ts), kc = Oi.icon.placedSymbolArray.length - 1, Mu && (up = 4 * Mu.length, Oi.addSymbols(Oi.icon, Mu, th, es, Ro, Ua, c.ai.vertical, Yi, dh.lineStartIndex, dh.lineLength, -1, ts), zd = Oi.icon.placedSymbolArray.length - 1);
|
|
@@ -90475,7 +90475,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
90475
90475
|
if (!fu) {
|
|
90476
90476
|
sf = _o(dl.text);
|
|
90477
90477
|
const Mu = ds.layout.get("text-rotate").evaluate(Ua, {}, ts);
|
|
90478
|
-
fu = new wn(Jl, Yi, ul, Bo,
|
|
90478
|
+
fu = new wn(Jl, Yi, ul, Bo, Lo, dl, Zs, Ko, xs, Mu);
|
|
90479
90479
|
}
|
|
90480
90480
|
const Sc = dl.positionedLines.length === 1;
|
|
90481
90481
|
if (fm += Ci(Oi, Yi, dl, hu, ds, xs, Ua, cl, dh, Wa.vertical ? c.ai.horizontal : c.ai.horizontalOnly, Sc ? lf : [ws], pc, kc, bs, ts), Sc) break;
|
|
@@ -90533,7 +90533,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
90533
90533
|
const hu = di ? [wi.x + Qo, wi.y] : [0, 0];
|
|
90534
90534
|
let _s = di ? [0, 0] : [wi.x + Qo + dn[0], wi.y + dn[1] - Ga], ds = [0, 0];
|
|
90535
90535
|
Wa && (ds = _s, _s = [0, 0]);
|
|
90536
|
-
const Jl = wi.metrics.isDoubleResolution ? 2 : 1, ul = (wi.metrics.left - Ii) * wi.scale - Qo + _s[0], Bo = (-wi.metrics.top - Ii) * wi.scale + _s[1],
|
|
90536
|
+
const Jl = wi.metrics.isDoubleResolution ? 2 : 1, ul = (wi.metrics.left - Ii) * wi.scale - Qo + _s[0], Bo = (-wi.metrics.top - Ii) * wi.scale + _s[1], Lo = ul + ti.w / Jl * wi.scale / Yi, Zs = Bo + ti.h / Jl * wi.scale / Yi, Ko = new h(ul, Bo), xs = new h(Lo, Bo), cl = new h(ul, Zs), du = new h(Lo, Zs);
|
|
90537
90537
|
if (Wa) {
|
|
90538
90538
|
const es = new h(-Qo, Qo - id), Ua = -Math.PI / 2, bs = Is / 2 - Qo, hl = wi.imageName ? bs : 0, ts = new h(5 - id - bs, -hl), wc = new h(...ds);
|
|
90539
90539
|
Ko._rotateAround(Ua, es)._add(ts)._add(wc), xs._rotateAround(Ua, es)._add(ts)._add(wc), cl._rotateAround(Ua, es)._add(ts)._add(wc), du._rotateAround(Ua, es)._add(ts)._add(wc);
|
|
@@ -90727,10 +90727,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
90727
90727
|
return e(this, void 0, void 0, function* () {
|
|
90728
90728
|
if (H.type === "<response>") {
|
|
90729
90729
|
const Oe = this.resolveRejects[J];
|
|
90730
|
-
return delete this.resolveRejects[J], Oe ? void (H.error ? Oe.reject(
|
|
90730
|
+
return delete this.resolveRejects[J], Oe ? void (H.error ? Oe.reject(Eo(H.error)) : Oe.resolve(Eo(H.data))) : void 0;
|
|
90731
90731
|
}
|
|
90732
90732
|
if (!this.messageHandlers[H.type]) return void this.completeTask(J, new Error(`Could not find a registered handler for ${H.type}, map ID: ${this.mapId}, available handlers: ${Object.keys(this.messageHandlers).join(", ")}`));
|
|
90733
|
-
const oe =
|
|
90733
|
+
const oe = Eo(H.data), me = new AbortController();
|
|
90734
90734
|
this.abortControllers[J] = me;
|
|
90735
90735
|
try {
|
|
90736
90736
|
const Oe = yield this.messageHandlers[H.type](H.sourceMapId, oe, me);
|
|
@@ -96458,7 +96458,7 @@ uniform ${De} ${Ue} u_${rt};
|
|
|
96458
96458
|
this.set(this.default);
|
|
96459
96459
|
}
|
|
96460
96460
|
}
|
|
96461
|
-
class
|
|
96461
|
+
class ko extends Ri {
|
|
96462
96462
|
getDefault() {
|
|
96463
96463
|
return e.aN.transparent;
|
|
96464
96464
|
}
|
|
@@ -96619,7 +96619,7 @@ uniform ${De} ${Ue} u_${rt};
|
|
|
96619
96619
|
(a !== this.current || this.dirty) && (this.gl.cullFace(a), this.current = a, this.dirty = !1);
|
|
96620
96620
|
}
|
|
96621
96621
|
}
|
|
96622
|
-
class
|
|
96622
|
+
class So extends Ri {
|
|
96623
96623
|
getDefault() {
|
|
96624
96624
|
return this.gl.CCW;
|
|
96625
96625
|
}
|
|
@@ -96804,7 +96804,7 @@ uniform ${De} ${Ue} u_${rt};
|
|
|
96804
96804
|
class Eu {
|
|
96805
96805
|
constructor(a) {
|
|
96806
96806
|
var s, z;
|
|
96807
|
-
if (this.gl = a, this.clearColor = new
|
|
96807
|
+
if (this.gl = a, this.clearColor = new ko(this), this.clearDepth = new Fa(this), this.clearStencil = new Ka(this), this.colorMask = new ns(this), this.depthMask = new Ui(this), this.stencilMask = new fo(this), this.stencilFunc = new Os(this), this.stencilOp = new co(this), this.stencilTest = new Pl(this), this.depthRange = new Ts(this), this.depthTest = new No(this), this.depthFunc = new Ol(this), this.blend = new zl(this), this.blendFunc = new eu(this), this.blendColor = new is(this), this.blendEquation = new pl(this), this.cullFace = new ks(this), this.cullFaceSide = new Ba(this), this.frontFace = new So(this), this.program = new Dl(this), this.activeTexture = new ml(this), this.viewport = new el(this), this.bindFramebuffer = new Fl(this), this.bindRenderbuffer = new tl(this), this.bindTexture = new Bl(this), this.bindVertexBuffer = new Rl(this), this.bindElementBuffer = new yl(this), this.bindVertexArray = new jo(this), this.pixelStoreUnpack = new ac(this), this.pixelStoreUnpackPremultiplyAlpha = new Uu(this), this.pixelStoreUnpackFlipY = new tu(this), this.extTextureFilterAnisotropic = a.getExtension("EXT_texture_filter_anisotropic") || a.getExtension("MOZ_EXT_texture_filter_anisotropic") || a.getExtension("WEBKIT_EXT_texture_filter_anisotropic"), this.extTextureFilterAnisotropic && (this.extTextureFilterAnisotropicMax = a.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)), this.maxTextureSize = a.getParameter(a.MAX_TEXTURE_SIZE), La(a)) {
|
|
96808
96808
|
this.HALF_FLOAT = a.HALF_FLOAT;
|
|
96809
96809
|
const N = a.getExtension("EXT_color_buffer_half_float");
|
|
96810
96810
|
this.RGBA16F = (s = a.RGBA16F) !== null && s !== void 0 ? s : N == null ? void 0 : N.RGBA16F_EXT, this.RGB16F = (z = a.RGB16F) !== null && z !== void 0 ? z : N == null ? void 0 : N.RGB16F_EXT, a.getExtension("EXT_color_buffer_float");
|
|
@@ -98318,7 +98318,7 @@ uniform ${De} ${Ue} u_${rt};
|
|
|
98318
98318
|
}
|
|
98319
98319
|
}
|
|
98320
98320
|
}
|
|
98321
|
-
class
|
|
98321
|
+
class Ao {
|
|
98322
98322
|
constructor(a) {
|
|
98323
98323
|
this._tr = new Ra(a), this._zoomIn = new ba({ numTouches: 1, numTaps: 2 }), this._zoomOut = new ba({ numTouches: 2, numTaps: 1 }), this.reset();
|
|
98324
98324
|
}
|
|
@@ -98505,7 +98505,7 @@ uniform ${De} ${Ue} u_${rt};
|
|
|
98505
98505
|
return this._active;
|
|
98506
98506
|
}
|
|
98507
98507
|
}
|
|
98508
|
-
class
|
|
98508
|
+
class Mo {
|
|
98509
98509
|
constructor() {
|
|
98510
98510
|
this.reset();
|
|
98511
98511
|
}
|
|
@@ -98550,7 +98550,7 @@ uniform ${De} ${Ue} u_${rt};
|
|
|
98550
98550
|
function Us(B, a) {
|
|
98551
98551
|
return Math.log(B / a) / Math.LN2;
|
|
98552
98552
|
}
|
|
98553
|
-
class ki extends
|
|
98553
|
+
class ki extends Mo {
|
|
98554
98554
|
reset() {
|
|
98555
98555
|
super.reset(), delete this._distance, delete this._startDistance;
|
|
98556
98556
|
}
|
|
@@ -98565,7 +98565,7 @@ uniform ${De} ${Ue} u_${rt};
|
|
|
98565
98565
|
function Du(B, a) {
|
|
98566
98566
|
return 180 * B.angleWith(a) / Math.PI;
|
|
98567
98567
|
}
|
|
98568
|
-
class uc extends
|
|
98568
|
+
class uc extends Mo {
|
|
98569
98569
|
reset() {
|
|
98570
98570
|
super.reset(), delete this._minDiameter, delete this._startVector, delete this._vector;
|
|
98571
98571
|
}
|
|
@@ -98585,7 +98585,7 @@ uniform ${De} ${Ue} u_${rt};
|
|
|
98585
98585
|
function bl(B) {
|
|
98586
98586
|
return Math.abs(B.y) > Math.abs(B.x);
|
|
98587
98587
|
}
|
|
98588
|
-
class Gl extends
|
|
98588
|
+
class Gl extends Mo {
|
|
98589
98589
|
constructor(a) {
|
|
98590
98590
|
super(), this._currentTouchCount = 0, this._map = a;
|
|
98591
98591
|
}
|
|
@@ -98980,7 +98980,7 @@ uniform ${De} ${Ue} u_${rt};
|
|
|
98980
98980
|
this._add("boxZoom", N), a.interactive && a.boxZoom && N.enable();
|
|
98981
98981
|
const G = s.cooperativeGestures = new As(s, a.cooperativeGestures);
|
|
98982
98982
|
this._add("cooperativeGestures", G), a.cooperativeGestures && G.enable();
|
|
98983
|
-
const ie = new
|
|
98983
|
+
const ie = new Ao(s), de = new os(s);
|
|
98984
98984
|
s.doubleClickZoom = new Na(de, ie), this._add("tapZoom", ie), this._add("clickZoom", de), a.interactive && a.doubleClickZoom && s.doubleClickZoom.enable();
|
|
98985
98985
|
const _e = new Tl();
|
|
98986
98986
|
this._add("tapDragZoom", _e);
|
|
@@ -99407,7 +99407,7 @@ uniform ${De} ${Ue} u_${rt};
|
|
|
99407
99407
|
z !== this._attribHTML && (this._attribHTML = z, a.length ? (this._innerContainer.innerHTML = z, this._container.classList.remove("maplibregl-attrib-empty")) : this._container.classList.add("maplibregl-attrib-empty"), this._updateCompact(), this._editLink = null);
|
|
99408
99408
|
}
|
|
99409
99409
|
}
|
|
99410
|
-
class
|
|
99410
|
+
class Eo {
|
|
99411
99411
|
constructor(a = {}) {
|
|
99412
99412
|
this._updateCompact = () => {
|
|
99413
99413
|
const s = this._container.children;
|
|
@@ -100101,10 +100101,10 @@ uniform ${De} ${Ue} u_${rt};
|
|
|
100101
100101
|
const z = s && s.maxWidth || 100, N = B._container.clientHeight / 2, G = B.unproject([0, N]), ie = B.unproject([z, N]), de = G.distanceTo(ie);
|
|
100102
100102
|
if (s && s.unit === "imperial") {
|
|
100103
100103
|
const _e = 3.2808 * de;
|
|
100104
|
-
_e > 5280 ?
|
|
100105
|
-
} else s && s.unit === "nautical" ?
|
|
100104
|
+
_e > 5280 ? Co(a, z, _e / 5280, B._getUIString("ScaleControl.Miles")) : Co(a, z, _e, B._getUIString("ScaleControl.Feet"));
|
|
100105
|
+
} else s && s.unit === "nautical" ? Co(a, z, de / 1852, B._getUIString("ScaleControl.NauticalMiles")) : de >= 1e3 ? Co(a, z, de / 1e3, B._getUIString("ScaleControl.Kilometers")) : Co(a, z, de, B._getUIString("ScaleControl.Meters"));
|
|
100106
100106
|
}
|
|
100107
|
-
function
|
|
100107
|
+
function Co(B, a, s, z) {
|
|
100108
100108
|
const N = function(ie) {
|
|
100109
100109
|
const de = Math.pow(10, `${Math.floor(ie)}`.length - 1);
|
|
100110
100110
|
let _e = ie / de;
|
|
@@ -100270,7 +100270,7 @@ uniform ${De} ${Ue} u_${rt};
|
|
|
100270
100270
|
return zt(new e.P(0, 0));
|
|
100271
100271
|
}
|
|
100272
100272
|
const Q = v;
|
|
100273
|
-
c.AJAXError = e.bg, c.Evented = e.E, c.LngLat = e.N, c.MercatorCoordinate = e.Z, c.Point = e.P, c.addProtocol = e.bh, c.config = e.a, c.removeProtocol = e.bi, c.AttributionControl = vs, c.BoxZoomHandler = zo, c.CanvasSource = Se, c.CooperativeGesturesHandler = As, c.DoubleClickZoomHandler = Na, c.DragPanHandler = qs, c.DragRotateHandler = Xo, c.EdgeInsets = Vl, c.FullscreenControl = Yl, c.GeoJSONSource = Ee, c.GeolocateControl = bi, c.Hash = mo, c.ImageSource = Ie, c.KeyboardHandler = Tu, c.LngLatBounds = Me, c.LogoControl =
|
|
100273
|
+
c.AJAXError = e.bg, c.Evented = e.E, c.LngLat = e.N, c.MercatorCoordinate = e.Z, c.Point = e.P, c.addProtocol = e.bh, c.config = e.a, c.removeProtocol = e.bi, c.AttributionControl = vs, c.BoxZoomHandler = zo, c.CanvasSource = Se, c.CooperativeGesturesHandler = As, c.DoubleClickZoomHandler = Na, c.DragPanHandler = qs, c.DragRotateHandler = Xo, c.EdgeInsets = Vl, c.FullscreenControl = Yl, c.GeoJSONSource = Ee, c.GeolocateControl = bi, c.Hash = mo, c.ImageSource = Ie, c.KeyboardHandler = Tu, c.LngLatBounds = Me, c.LogoControl = Eo, c.Map = class extends yo {
|
|
100274
100274
|
constructor(B) {
|
|
100275
100275
|
e.be.mark(e.bf.create);
|
|
100276
100276
|
const a = Object.assign(Object.assign({}, Sl), B);
|
|
@@ -100308,7 +100308,7 @@ uniform ${De} ${Ue} u_${rt};
|
|
|
100308
100308
|
}
|
|
100309
100309
|
this.handlers = new ca(this, a);
|
|
100310
100310
|
const s = typeof a.hash == "string" && a.hash || void 0;
|
|
100311
|
-
this._hash = a.hash && new mo(s).addTo(this), this._hash && this._hash._onHashChange() || (this.jumpTo({ center: a.center, zoom: a.zoom, bearing: a.bearing, pitch: a.pitch }), a.bounds && (this.resize(), this.fitBounds(a.bounds, e.e({}, a.fitBoundsOptions, { duration: 0 })))), this.resize(), this._localIdeographFontFamily = a.localIdeographFontFamily, this._validateStyle = a.validateStyle, a.style && this.setStyle(a.style, { localIdeographFontFamily: a.localIdeographFontFamily }), a.attributionControl && this.addControl(new vs(typeof a.attributionControl == "boolean" ? void 0 : a.attributionControl)), a.maplibreLogo && this.addControl(new
|
|
100311
|
+
this._hash = a.hash && new mo(s).addTo(this), this._hash && this._hash._onHashChange() || (this.jumpTo({ center: a.center, zoom: a.zoom, bearing: a.bearing, pitch: a.pitch }), a.bounds && (this.resize(), this.fitBounds(a.bounds, e.e({}, a.fitBoundsOptions, { duration: 0 })))), this.resize(), this._localIdeographFontFamily = a.localIdeographFontFamily, this._validateStyle = a.validateStyle, a.style && this.setStyle(a.style, { localIdeographFontFamily: a.localIdeographFontFamily }), a.attributionControl && this.addControl(new vs(typeof a.attributionControl == "boolean" ? void 0 : a.attributionControl)), a.maplibreLogo && this.addControl(new Eo(), a.logoPosition), this.on("style.load", () => {
|
|
100312
100312
|
this.transform.unmodified && this.jumpTo(this.style.stylesheet);
|
|
100313
100313
|
}), this.on("data", (z) => {
|
|
100314
100314
|
this._update(z.dataType === "style"), this.fire(new e.k(`${z.dataType}data`, z));
|
|
@@ -103436,7 +103436,7 @@ const H8 = { class: "volumetric-section-container" }, G8 = {
|
|
|
103436
103436
|
Pe("div", $8, [
|
|
103437
103437
|
zi(lT, {
|
|
103438
103438
|
"passes-plays": v.value,
|
|
103439
|
-
"play-indexes":
|
|
103439
|
+
"play-indexes": wo(d),
|
|
103440
103440
|
"is-ghost-effect": i.isGhostEffect
|
|
103441
103441
|
}, null, 8, ["passes-plays", "play-indexes", "is-ghost-effect"])
|
|
103442
103442
|
])
|
|
@@ -109303,7 +109303,7 @@ const ZI = /* @__PURE__ */ jI(D_, [["render", YI], ["__scopeId", "data-v-f3ee6b2
|
|
|
109303
109303
|
]))), 256))
|
|
109304
109304
|
], 4),
|
|
109305
109305
|
i.isFooterVisible ? (Dt(), Ht("div", iL, [
|
|
109306
|
-
zi(
|
|
109306
|
+
zi(wo(ZI), {
|
|
109307
109307
|
"text-value": "Listo",
|
|
109308
109308
|
"border-color": "#cbee6b",
|
|
109309
109309
|
"font-size": "12px",
|
|
@@ -112050,7 +112050,7 @@ const FO = {
|
|
|
112050
112050
|
d("input", q);
|
|
112051
112051
|
}
|
|
112052
112052
|
return (q, ne) => (Dt(), Ht("div", RO, [
|
|
112053
|
-
zi(
|
|
112053
|
+
zi(wo(F_), iy(wo(B_), {
|
|
112054
112054
|
"is-list-same-width": i.isListSameWidth,
|
|
112055
112055
|
items: i.items,
|
|
112056
112056
|
onInput: S
|
|
@@ -112082,7 +112082,7 @@ const FO = {
|
|
|
112082
112082
|
d("input", q);
|
|
112083
112083
|
}
|
|
112084
112084
|
return (q, ne) => (Dt(), Ht("div", UO, [
|
|
112085
|
-
zi(
|
|
112085
|
+
zi(wo(F_), iy(wo(B_), {
|
|
112086
112086
|
items: i.items,
|
|
112087
112087
|
onInput: S
|
|
112088
112088
|
}), {
|
|
@@ -112239,7 +112239,7 @@ const FO = {
|
|
|
112239
112239
|
d("input", q);
|
|
112240
112240
|
}
|
|
112241
112241
|
return (q, ne) => (Dt(), Ht("div", Az, [
|
|
112242
|
-
zi(
|
|
112242
|
+
zi(wo(F_), iy(wo(B_), {
|
|
112243
112243
|
items: i.items,
|
|
112244
112244
|
onInput: S
|
|
112245
112245
|
}), {
|
|
@@ -112279,11 +112279,11 @@ const FO = {
|
|
|
112279
112279
|
},
|
|
112280
112280
|
setup(i) {
|
|
112281
112281
|
const d = i, S = X1(
|
|
112282
|
-
() => import("./FilterSubcategories-a9b32cc9-DlkHni1L-DTr5944T-
|
|
112282
|
+
() => import("./FilterSubcategories-a9b32cc9-DlkHni1L-DTr5944T-M4snip82.js")
|
|
112283
112283
|
), q = X1(
|
|
112284
|
-
() => import("./FilterConditions-55d68355-C5NIJbY6-C6u4SYGM-
|
|
112284
|
+
() => import("./FilterConditions-55d68355-C5NIJbY6-C6u4SYGM-CD00CCSg.js")
|
|
112285
112285
|
), ne = X1(
|
|
112286
|
-
() => import("./FilterField-59a73e38-DO8nYLqs-kMEzVZsL-
|
|
112286
|
+
() => import("./FilterField-59a73e38-DO8nYLqs-kMEzVZsL-RY_JKbAY.js")
|
|
112287
112287
|
), P = [
|
|
112288
112288
|
{
|
|
112289
112289
|
name: "Sub categorías",
|
|
@@ -114770,7 +114770,7 @@ const mR = {
|
|
|
114770
114770
|
teamselect: i.teamView,
|
|
114771
114771
|
"category-view": i.categoryView,
|
|
114772
114772
|
"num-rows": i.numRows,
|
|
114773
|
-
"dummy-data":
|
|
114773
|
+
"dummy-data": wo(S)
|
|
114774
114774
|
}, null, 8, ["can-play-videos", "carrousel", "arrow", "type-data", "game-id", "season-active", "teamselect", "category-view", "num-rows", "dummy-data"])
|
|
114775
114775
|
]));
|
|
114776
114776
|
}
|
|
@@ -125859,7 +125859,7 @@ const VX = (i, d) => {
|
|
|
125859
125859
|
class: It(["gsc-carousel__2d", { "main-slide-priority": i.isMainSlidePriority }])
|
|
125860
125860
|
}, [
|
|
125861
125861
|
Pe("div", YX, [
|
|
125862
|
-
zi(
|
|
125862
|
+
zi(wo(UX), {
|
|
125863
125863
|
ref_key: "carousel2d",
|
|
125864
125864
|
ref: ne,
|
|
125865
125865
|
"items-to-show": i.itemsToShow,
|
|
@@ -125867,7 +125867,7 @@ const VX = (i, d) => {
|
|
|
125867
125867
|
onSlideStart: h
|
|
125868
125868
|
}, {
|
|
125869
125869
|
default: Xa(() => [
|
|
125870
|
-
(Dt(!0), Ht(En, null, oa(i.items, (u, o) => (Dt(), Zi(
|
|
125870
|
+
(Dt(!0), Ht(En, null, oa(i.items, (u, o) => (Dt(), Zi(wo(qX), { key: o }, {
|
|
125871
125871
|
default: Xa(() => [
|
|
125872
125872
|
mh(r.$slots, "default", { item: u }, void 0, !0)
|
|
125873
125873
|
]),
|
|
@@ -127337,7 +127337,7 @@ const fZ = /* @__PURE__ */ nZ(px, [["render", dZ], ["__scopeId", "data-v-f3ee6b2
|
|
|
127337
127337
|
]))), 256))
|
|
127338
127338
|
], 4),
|
|
127339
127339
|
i.isFooterVisible ? (Dt(), Ht("div", bZ, [
|
|
127340
|
-
zi(
|
|
127340
|
+
zi(wo(fZ), {
|
|
127341
127341
|
"text-value": "Listo",
|
|
127342
127342
|
"border-color": "#cbee6b",
|
|
127343
127343
|
"font-size": "12px",
|
|
@@ -139579,26 +139579,26 @@ function A6(i) {
|
|
|
139579
139579
|
return A6(Pf(i, ne));
|
|
139580
139580
|
}, S;
|
|
139581
139581
|
}
|
|
139582
|
-
const
|
|
139583
|
-
|
|
139584
|
-
|
|
139585
|
-
|
|
139586
|
-
|
|
139587
|
-
|
|
139588
|
-
|
|
139589
|
-
|
|
139590
|
-
|
|
139591
|
-
|
|
139582
|
+
const To = A6(n0);
|
|
139583
|
+
To.Axios = Tf;
|
|
139584
|
+
To.CanceledError = Ip;
|
|
139585
|
+
To.CancelToken = Yoe;
|
|
139586
|
+
To.isCancel = y6;
|
|
139587
|
+
To.VERSION = k6;
|
|
139588
|
+
To.toFormData = a1;
|
|
139589
|
+
To.AxiosError = Ia;
|
|
139590
|
+
To.Cancel = To.CanceledError;
|
|
139591
|
+
To.all = function(d) {
|
|
139592
139592
|
return Promise.all(d);
|
|
139593
139593
|
};
|
|
139594
|
-
|
|
139595
|
-
|
|
139596
|
-
|
|
139597
|
-
|
|
139598
|
-
|
|
139599
|
-
|
|
139600
|
-
|
|
139601
|
-
|
|
139594
|
+
To.spread = Zoe;
|
|
139595
|
+
To.isAxiosError = Joe;
|
|
139596
|
+
To.mergeConfig = Pf;
|
|
139597
|
+
To.AxiosHeaders = Uc;
|
|
139598
|
+
To.formToJSON = (i) => g6(Qn.isHTMLForm(i) ? new FormData(i) : i);
|
|
139599
|
+
To.getAdapter = T6.getAdapter;
|
|
139600
|
+
To.HttpStatusCode = b_;
|
|
139601
|
+
To.default = To;
|
|
139602
139602
|
const {
|
|
139603
139603
|
Axios: Wpe,
|
|
139604
139604
|
AxiosError: Xpe,
|
|
@@ -139616,7 +139616,7 @@ const {
|
|
|
139616
139616
|
formToJSON: ame,
|
|
139617
139617
|
getAdapter: ome,
|
|
139618
139618
|
mergeConfig: sme
|
|
139619
|
-
} =
|
|
139619
|
+
} = To, Ks = (i, d) => {
|
|
139620
139620
|
const S = i.__vccOpts || i;
|
|
139621
139621
|
for (const [q, ne] of d)
|
|
139622
139622
|
S[q] = ne;
|
|
@@ -139846,7 +139846,7 @@ const {
|
|
|
139846
139846
|
// 1=prematch, 2=postmatch
|
|
139847
139847
|
};
|
|
139848
139848
|
console.log("toke mostrado es: ", S.token);
|
|
139849
|
-
const y = await
|
|
139849
|
+
const y = await To.create({ headers: { Authorization: `${S.token}` } }).post(
|
|
139850
139850
|
"https://m9qip57rsh.execute-api.us-east-2.amazonaws.com/prod/templates",
|
|
139851
139851
|
v
|
|
139852
139852
|
);
|
|
@@ -140021,7 +140021,7 @@ const {
|
|
|
140021
140021
|
},
|
|
140022
140022
|
emits: ["close", "generar", "switch-to-reports"],
|
|
140023
140023
|
setup(i, { emit: d }) {
|
|
140024
|
-
const S = i, q = d, ne = an([]), P = an([]), E = an([]), t = an([]), _ = an(""), c = an(""), e = an(""), v = an(null), p =
|
|
140024
|
+
const S = i, q = d, ne = an([]), P = an([]), E = an([]), t = an([]), _ = an(""), c = an(""), e = an(""), v = an(null), p = To.create({
|
|
140025
140025
|
headers: {
|
|
140026
140026
|
Authorization: S.token
|
|
140027
140027
|
}
|
|
@@ -140038,7 +140038,7 @@ const {
|
|
|
140038
140038
|
async function C() {
|
|
140039
140039
|
try {
|
|
140040
140040
|
h.value = !0;
|
|
140041
|
-
const U = await
|
|
140041
|
+
const U = await To.get(
|
|
140042
140042
|
"https://kefloixzy1.execute-api.us-west-2.amazonaws.com/prod/gs3/tournaments"
|
|
140043
140043
|
);
|
|
140044
140044
|
U.data && Array.isArray(U.data) && (o.value = U.data, ne.value = U.data.map((Y) => Y.tournament).sort((Y, ee) => Y.order && ee.order ? Y.order - ee.order : Y.order && !ee.order ? -1 : !Y.order && ee.order ? 1 : 0), _.value = "", P.value = [], c.value = "", E.value = [], e.value = "", t.value = [], v.value = null);
|
|
@@ -140133,7 +140133,7 @@ const {
|
|
|
140133
140133
|
season_name: U,
|
|
140134
140134
|
// Ahora se obtiene correctamente el nombre de la temporada
|
|
140135
140135
|
game_id: v.value.id || v.value.game_id
|
|
140136
|
-
}, ee = await
|
|
140136
|
+
}, ee = await To.post(
|
|
140137
140137
|
`https://m9qip57rsh.execute-api.us-east-2.amazonaws.com/prod/users/${S.userId}/reports`,
|
|
140138
140138
|
Y,
|
|
140139
140139
|
{
|
|
@@ -140482,7 +140482,7 @@ const {
|
|
|
140482
140482
|
if (console.log("acceptRename"), !(ne.value.trim().length < 3)) {
|
|
140483
140483
|
console.log("acceptRename 22"), P.value = !0, E.value = "";
|
|
140484
140484
|
try {
|
|
140485
|
-
await
|
|
140485
|
+
await To.put(
|
|
140486
140486
|
`https://m9qip57rsh.execute-api.us-east-2.amazonaws.com/prod/users/${S.userId}/templates/${S.templateId}/general`,
|
|
140487
140487
|
{
|
|
140488
140488
|
name: ne.value.trim()
|
|
@@ -140587,7 +140587,7 @@ const {
|
|
|
140587
140587
|
if (ne.value.trim().length >= 3 && !P.value) {
|
|
140588
140588
|
P.value = !0;
|
|
140589
140589
|
try {
|
|
140590
|
-
const t = await
|
|
140590
|
+
const t = await To.post(
|
|
140591
140591
|
`https://m9qip57rsh.execute-api.us-east-2.amazonaws.com/prod/templates/${S.templateId}/duplicate`,
|
|
140592
140592
|
{ name: ne.value.trim() },
|
|
140593
140593
|
// Enviar el nombre en el payload
|
|
@@ -140685,7 +140685,7 @@ const {
|
|
|
140685
140685
|
const P = async () => {
|
|
140686
140686
|
try {
|
|
140687
140687
|
ne.value = !0;
|
|
140688
|
-
const t = await
|
|
140688
|
+
const t = await To.create({ headers: { Authorization: `${S.token}` } }).delete(
|
|
140689
140689
|
`https://m9qip57rsh.execute-api.us-east-2.amazonaws.com/prod/users/${S.userId}/templates/${S.templateId}`
|
|
140690
140690
|
);
|
|
140691
140691
|
(t.status === 200 || t.status === 204) && (q("templateDeleted", S.templateId), q("close"));
|
|
@@ -140766,7 +140766,7 @@ const {
|
|
|
140766
140766
|
], I = async () => {
|
|
140767
140767
|
try {
|
|
140768
140768
|
M.value = !0, C.value = null;
|
|
140769
|
-
const Y = await
|
|
140769
|
+
const Y = await To.get(
|
|
140770
140770
|
`https://m9qip57rsh.execute-api.us-east-2.amazonaws.com/prod/templates/teams/${q.team}`,
|
|
140771
140771
|
{
|
|
140772
140772
|
headers: {
|
|
@@ -141045,7 +141045,7 @@ const eue = { class: "prematch-bg" }, tue = { class: "subtitle" }, rue = { class
|
|
|
141045
141045
|
], -1)),
|
|
141046
141046
|
Pe("div", tue, [
|
|
141047
141047
|
Pe("span", rue, Sr(d(S.report.game.matchday_name)), 1),
|
|
141048
|
-
Pe("span", nue, " - " + Sr(
|
|
141048
|
+
Pe("span", nue, " - " + Sr(wo(pd)(S.report.game.date_time_utc)), 1)
|
|
141049
141049
|
]),
|
|
141050
141050
|
Pe("div", iue, [
|
|
141051
141051
|
Pe("div", aue, [
|
|
@@ -141149,7 +141149,7 @@ ${r}`;
|
|
|
141149
141149
|
], -1)),
|
|
141150
141150
|
Pe("div", bue, [
|
|
141151
141151
|
Pe("span", wue, Sr(d(i.report.game.matchday_name)), 1),
|
|
141152
|
-
Pe("span", Tue, " - " + Sr(
|
|
141152
|
+
Pe("span", Tue, " - " + Sr(wo(pd)(i.report.game.date_time_utc)), 1)
|
|
141153
141153
|
]),
|
|
141154
141154
|
Pe("div", kue, [
|
|
141155
141155
|
Pe("div", Sue, [
|
|
@@ -141297,7 +141297,7 @@ ${r}`;
|
|
|
141297
141297
|
], -1)),
|
|
141298
141298
|
Pe("div", $ue, [
|
|
141299
141299
|
Pe("span", Yue, Sr(d(S.report.game.matchday_name)), 1),
|
|
141300
|
-
Pe("span", Zue, " - " + Sr(
|
|
141300
|
+
Pe("span", Zue, " - " + Sr(wo(pd)(S.report.game.date_time_utc)), 1)
|
|
141301
141301
|
]),
|
|
141302
141302
|
Pe("div", Jue, [
|
|
141303
141303
|
Pe("div", Que, [
|
|
@@ -141401,7 +141401,7 @@ ${r}`;
|
|
|
141401
141401
|
], -1)),
|
|
141402
141402
|
Pe("div", pce, [
|
|
141403
141403
|
Pe("span", mce, "Jornada " + Sr(d(i.report.game.matchday_name)), 1),
|
|
141404
|
-
Pe("span", gce, " - " + Sr(
|
|
141404
|
+
Pe("span", gce, " - " + Sr(wo(pd)(i.report.game.date_time_utc)), 1)
|
|
141405
141405
|
]),
|
|
141406
141406
|
Pe("div", yce, [
|
|
141407
141407
|
Pe("div", vce, [
|
|
@@ -141549,7 +141549,7 @@ ${r}`;
|
|
|
141549
141549
|
], -1)),
|
|
141550
141550
|
Pe("div", Uce, [
|
|
141551
141551
|
Pe("span", qce, Sr(d(S.report.game.matchday_name)), 1),
|
|
141552
|
-
Pe("span", Vce, " - " + Sr(
|
|
141552
|
+
Pe("span", Vce, " - " + Sr(wo(pd)(S.report.game.date_time_utc)), 1)
|
|
141553
141553
|
]),
|
|
141554
141554
|
Pe("div", Hce, [
|
|
141555
141555
|
Pe("div", Gce, [
|
|
@@ -141634,7 +141634,7 @@ ${r}`;
|
|
|
141634
141634
|
], -1)),
|
|
141635
141635
|
Pe("div", ahe, [
|
|
141636
141636
|
Pe("span", ohe, "Jornada " + Sr(d(i.report.game.matchday_name)), 1),
|
|
141637
|
-
Pe("span", she, " - " + Sr(
|
|
141637
|
+
Pe("span", she, " - " + Sr(wo(pd)(i.report.game.date_time_utc)), 1)
|
|
141638
141638
|
]),
|
|
141639
141639
|
Pe("div", lhe, [
|
|
141640
141640
|
Pe("div", uhe, [
|
|
@@ -141766,7 +141766,7 @@ ${r}`;
|
|
|
141766
141766
|
], -1)),
|
|
141767
141767
|
Pe("div", Che, [
|
|
141768
141768
|
Pe("span", Ihe, Sr(d(S.report.game.matchday_name)), 1),
|
|
141769
|
-
Pe("span", Lhe, " - " + Sr(
|
|
141769
|
+
Pe("span", Lhe, " - " + Sr(wo(pd)(S.report.game.date_time_utc)), 1)
|
|
141770
141770
|
]),
|
|
141771
141771
|
Pe("div", Phe, [
|
|
141772
141772
|
Pe("div", Ohe, [
|
|
@@ -141851,7 +141851,7 @@ ${r}`;
|
|
|
141851
141851
|
], -1)),
|
|
141852
141852
|
Pe("div", Xhe, [
|
|
141853
141853
|
Pe("span", $he, "Jornada " + Sr(d(i.report.game.matchday_name)), 1),
|
|
141854
|
-
Pe("span", Yhe, " - " + Sr(
|
|
141854
|
+
Pe("span", Yhe, " - " + Sr(wo(pd)(i.report.game.date_time_utc)), 1)
|
|
141855
141855
|
]),
|
|
141856
141856
|
Pe("div", Zhe, [
|
|
141857
141857
|
Pe("div", Jhe, [
|
|
@@ -142133,7 +142133,7 @@ ${r}`;
|
|
|
142133
142133
|
h[5] || (h[5] = ni(" Template: ", -1)),
|
|
142134
142134
|
Pe("span", wde, Sr(i.report.name), 1)
|
|
142135
142135
|
]),
|
|
142136
|
-
Pe("div", Tde, Sr(i.report.season_name) + " - " + Sr(v(i.report.game.matchday_name)) + " | " + Sr(
|
|
142136
|
+
Pe("div", Tde, Sr(i.report.season_name) + " - " + Sr(v(i.report.game.matchday_name)) + " | " + Sr(wo(pd)(i.report.game.date_time_utc)), 1),
|
|
142137
142137
|
Pe("div", kde, Sr(i.report.tournament_name), 1)
|
|
142138
142138
|
])
|
|
142139
142139
|
]),
|
|
@@ -142196,7 +142196,7 @@ ${r}`;
|
|
|
142196
142196
|
if (console.log("acceptRename"), !(ne.value.trim().length < 3)) {
|
|
142197
142197
|
console.log("acceptRename 22"), P.value = !0, E.value = "";
|
|
142198
142198
|
try {
|
|
142199
|
-
await
|
|
142199
|
+
await To.create({ headers: { Authorization: `${S.token}` } }).put(
|
|
142200
142200
|
`https://m9qip57rsh.execute-api.us-east-2.amazonaws.com/prod/users/${S.userId}/reports/${S.reportId}/rename`,
|
|
142201
142201
|
{
|
|
142202
142202
|
name: ne.value.trim()
|
|
@@ -142287,7 +142287,7 @@ ${r}`;
|
|
|
142287
142287
|
const S = i, q = d, ne = an(!1), P = async () => {
|
|
142288
142288
|
try {
|
|
142289
142289
|
ne.value = !0;
|
|
142290
|
-
const t = await
|
|
142290
|
+
const t = await To.create({
|
|
142291
142291
|
headers: { Authorization: `${S.token}` }
|
|
142292
142292
|
}).delete(
|
|
142293
142293
|
`https://m9qip57rsh.execute-api.us-east-2.amazonaws.com/prod/users/${S.userId}/reports/${S.reportId}`
|
|
@@ -142415,7 +142415,7 @@ ${r}`;
|
|
|
142415
142415
|
], w = async () => {
|
|
142416
142416
|
P.value = !0, E.value = null;
|
|
142417
142417
|
try {
|
|
142418
|
-
const R = await
|
|
142418
|
+
const R = await To.get(
|
|
142419
142419
|
`https://m9qip57rsh.execute-api.us-east-2.amazonaws.com/prod/users/${S.userId}/reports`,
|
|
142420
142420
|
{
|
|
142421
142421
|
headers: {
|
|
@@ -142647,10 +142647,10 @@ ${r}`;
|
|
|
142647
142647
|
y("toHome");
|
|
142648
142648
|
}
|
|
142649
142649
|
return (w, T) => (Dt(), Ht(En, null, [
|
|
142650
|
-
zi(
|
|
142650
|
+
zi(wo(bae), {
|
|
142651
142651
|
ref_key: "reportTemplateMaker",
|
|
142652
142652
|
ref: p,
|
|
142653
|
-
token:
|
|
142653
|
+
token: wo(P)
|
|
142654
142654
|
}, null, 8, ["token"]),
|
|
142655
142655
|
Pe("div", {
|
|
142656
142656
|
ref_key: "containerRef",
|
|
@@ -142767,31 +142767,33 @@ ${r}`;
|
|
|
142767
142767
|
]),
|
|
142768
142768
|
E.value === "templates" ? (Dt(), Zi(Zle, {
|
|
142769
142769
|
key: 1,
|
|
142770
|
-
userId:
|
|
142771
|
-
token:
|
|
142772
|
-
team:
|
|
142770
|
+
userId: wo(q),
|
|
142771
|
+
token: wo(P),
|
|
142772
|
+
team: wo(ne),
|
|
142773
142773
|
searchQuery: e.value,
|
|
142774
142774
|
onSwitchToReports: T[5] || (T[5] = (b) => E.value = "reports"),
|
|
142775
142775
|
onOpenModalNewTemplate: r,
|
|
142776
142776
|
onEditTemplate: n
|
|
142777
142777
|
}, null, 8, ["userId", "token", "team", "searchQuery"])) : (Dt(), Zi(rfe, {
|
|
142778
142778
|
key: 2,
|
|
142779
|
-
userId:
|
|
142780
|
-
token:
|
|
142781
|
-
team:
|
|
142779
|
+
userId: wo(q),
|
|
142780
|
+
token: wo(P),
|
|
142781
|
+
team: wo(ne),
|
|
142782
142782
|
searchQuery: v.value,
|
|
142783
142783
|
onOpenReport: l,
|
|
142784
142784
|
onDownloadReport: f
|
|
142785
142785
|
}, null, 8, ["userId", "token", "team", "searchQuery"])),
|
|
142786
142786
|
c.value ? (Dt(), Zi(M6, {
|
|
142787
142787
|
key: 3,
|
|
142788
|
-
token:
|
|
142788
|
+
token: wo(P),
|
|
142789
|
+
team: wo(ne),
|
|
142790
|
+
onOpenModalNewTemplate: r,
|
|
142789
142791
|
onClose: T[6] || (T[6] = (b) => c.value = !1)
|
|
142790
|
-
}, null, 8, ["token"])) : Ir("", !0)
|
|
142792
|
+
}, null, 8, ["token", "team"])) : Ir("", !0)
|
|
142791
142793
|
], 512)
|
|
142792
142794
|
], 64));
|
|
142793
142795
|
}
|
|
142794
|
-
}, lme = /* @__PURE__ */ Ks(pfe, [["__scopeId", "data-v-
|
|
142796
|
+
}, lme = /* @__PURE__ */ Ks(pfe, [["__scopeId", "data-v-df5ec613"]]);
|
|
142795
142797
|
export {
|
|
142796
142798
|
$fe as I,
|
|
142797
142799
|
Yfe as R,
|