diff --git a/dist/bundle.css b/dist/bundle.css index b35c97a..b0bdbcc 100644 --- a/dist/bundle.css +++ b/dist/bundle.css @@ -113,6 +113,49 @@ button:focus { .validation-message-warning.svelte-v9dmm4 { color: #c1810c; } +.viewer-container.svelte-1hvjgnk.svelte-1hvjgnk { + display: flex; + height: 100%; + justify-content: space-around; +} +.maps.svelte-1hvjgnk.svelte-1hvjgnk { + align-items: center; + display: flex; + flex-direction: row; + align-self: center; +} +.maps.svelte-1hvjgnk .map-container.svelte-1hvjgnk { + border: 20px solid #333; + border-radius: 30px; + box-shadow: 0 0 10px 2px rgb(0 0 0 / 10%); + height: 620px; + margin: 20px; + width: 300px; +} +.maps.phone .mapboxgl-map { + border-radius: 10px; +} +.maps.svelte-yry985.svelte-yry985 { + height: 100%; +} +.maps.dragging.svelte-yry985 .map-container.svelte-yry985 { + user-select: none; +} +.maps.svelte-yry985 .map-container.svelte-yry985 { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; +} +.slider.svelte-yry985.svelte-yry985 { + position: absolute; + top: 0; + bottom: 0; + cursor: col-resize; + background: black; + z-index: 1000; +} .maps.svelte-1pk77jp { display: flex; flex-grow: 1; @@ -167,26 +210,26 @@ input.svelte-1pk77jp::-webkit-inner-spin-button { input[type='number'].svelte-1pk77jp { -moz-appearance: textfield; } -.maps.svelte-yry985.svelte-yry985 { - height: 100%; +.map-state-container.svelte-xc7hba.svelte-xc7hba { + align-items: center; + display: flex; + flex-direction: column; } -.maps.dragging.svelte-yry985 .map-container.svelte-yry985 { - user-select: none; +.map-state.svelte-xc7hba.svelte-xc7hba { + display: flex; + justify-content: space-around; } -.maps.svelte-yry985 .map-container.svelte-yry985 { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; +.state-record.svelte-xc7hba.svelte-xc7hba { + display: flex; + flex-direction: column; + align-items: center; } -.slider.svelte-yry985.svelte-yry985 { - position: absolute; - top: 0; - bottom: 0; - cursor: col-resize; - background: black; - z-index: 1000; +.location-actions.svelte-xc7hba.svelte-xc7hba { + display: flex; + flex-direction: row; +} +.location-actions.svelte-xc7hba > div.svelte-xc7hba { + margin: 0 0.5em; } .maps.svelte-1g37ixp { display: flex; @@ -211,56 +254,13 @@ input[type='number'].svelte-1pk77jp { .map-container.svelte-1g37ixp:last-of-type { border-right: none; } -.viewer-container.svelte-1hvjgnk.svelte-1hvjgnk { - display: flex; - height: 100%; - justify-content: space-around; -} -.maps.svelte-1hvjgnk.svelte-1hvjgnk { - align-items: center; - display: flex; - flex-direction: row; - align-self: center; -} -.maps.svelte-1hvjgnk .map-container.svelte-1hvjgnk { - border: 20px solid #333; - border-radius: 30px; - box-shadow: 0 0 10px 2px rgb(0 0 0 / 10%); - height: 620px; - margin: 20px; - width: 300px; -} -.maps.phone .mapboxgl-map { - border-radius: 10px; -} -.map-state-container.svelte-xc7hba.svelte-xc7hba { - align-items: center; - display: flex; - flex-direction: column; -} -.map-state.svelte-xc7hba.svelte-xc7hba { - display: flex; - justify-content: space-around; -} -.state-record.svelte-xc7hba.svelte-xc7hba { - display: flex; - flex-direction: column; - align-items: center; -} -.location-actions.svelte-xc7hba.svelte-xc7hba { - display: flex; - flex-direction: row; -} -.location-actions.svelte-xc7hba > div.svelte-xc7hba { - margin: 0 0.5em; +div.svelte-1k1b3t4 { + padding: 0; } div.svelte-1kuj9kb { width: 100%; height: 100%; } -div.svelte-1k1b3t4 { - padding: 0; -} div.svelte-1pfu5h6 { display: none; } @@ -314,6 +314,37 @@ button.svelte-d9bm20 { .map.svelte-16c2pp7 { height: 100%; } +.map.svelte-18031t1 { + height: 100%; +} +.popup { + min-width: 180px; + padding-right: 12px; + max-height: 240px; + overflow: auto; +} +.popup-source-layer { + font-size: 16px; + line-height: 16px; +} +.popup-property { + line-height: 6px; + margin-top: 6px; + margin-bottom: 3px; + width: 100%; + padding-bottom: 6px; + border-bottom: 1px solid lightgray; +} +.popup-no-properties { + border-bottom: 0px !important; + color: lightgray; +} +.popup-property-id { + font-weight: bold; +} +.popup-property-value { + float: right; +} .map-label.svelte-qshjp8 { background: white; box-shadow: 0 0 10px 2px rgb(0 0 0 / 10%); @@ -342,9 +373,6 @@ button.svelte-d9bm20 { cursor: not-allowed; color: lightgray; } -.map.svelte-16c2pp7 { - height: 100%; -} .map-style-input.svelte-1qgw420 { margin-top: 6px; } diff --git a/dist/bundle.js b/dist/bundle.js index c3ccad7..eae4a8c 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -120,7 +120,10 @@ function L() { function M(t) { L().$$.on_mount.push(t); } -function D() { +function D(t) { + L().$$.on_destroy.push(t); +} +function k() { const t = L(); return (e, r) => { const n = t.$$.callbacks[e]; @@ -139,65 +142,65 @@ function P(t, e) { const r = t.$$.callbacks[e.type]; r && r.slice().forEach(t => t.call(this, e)); } -const k = [], - H = [], +const H = [], z = [], O = [], - R = Promise.resolve(); -let K = !1; -function V(t) { - z.push(t); + R = [], + K = Promise.resolve(); +let V = !1; +function N(t) { + O.push(t); } -const N = new Set(); -let G = 0; -function j() { +const G = new Set(); +let j = 0; +function X() { const t = E; do { - for (; G < k.length; ) { - const t = k[G]; - G++, T(t), X(t.$$); + for (; j < H.length; ) { + const t = H[j]; + j++, T(t), Z(t.$$); } - for (T(null), k.length = 0, G = 0; H.length; ) H.pop()(); - for (let t = 0; t < z.length; t += 1) { - const e = z[t]; - N.has(e) || (N.add(e), e()); + for (T(null), H.length = 0, j = 0; z.length; ) z.pop()(); + for (let t = 0; t < O.length; t += 1) { + const e = O[t]; + G.has(e) || (G.add(e), e()); } - z.length = 0; - } while (k.length); - for (; O.length; ) O.pop()(); - (K = !1), N.clear(), T(t); + O.length = 0; + } while (H.length); + for (; R.length; ) R.pop()(); + (V = !1), G.clear(), T(t); } -function X(t) { +function Z(t) { if (null !== t.fragment) { t.update(), i(t.before_update); const e = t.dirty; (t.dirty = [-1]), t.fragment && t.fragment.p(t.ctx, e), - t.after_update.forEach(V); + t.after_update.forEach(N); } } -const Z = new Set(); -let q; -function W() { - q = { r: 0, c: [], p: q }; -} +const q = new Set(); +let W; function J() { - q.r || i(q.c), (q = q.p); + W = { r: 0, c: [], p: W }; } -function $(t, e) { - t && t.i && (Z.delete(t), t.i(e)); +function $() { + W.r || i(W.c), (W = W.p); } -function Y(t, e, r, n) { +function Y(t, e) { + t && t.i && (q.delete(t), t.i(e)); +} +function tt(t, e, r, n) { if (t && t.o) { - if (Z.has(t)) return; - Z.add(t), - q.c.push(() => { - Z.delete(t), n && (r && t.d(1), n()); + if (q.has(t)) return; + q.add(t), + W.c.push(() => { + q.delete(t), n && (r && t.d(1), n()); }), t.o(e); } } -function tt(t, e) { +function et(t, e) { const r = {}, n = {}, i = { $$scope: 1 }; @@ -214,23 +217,23 @@ function tt(t, e) { for (const t in n) t in r || (r[t] = void 0); return r; } -function et(t) { +function rt(t) { return 'object' == typeof t && null !== t ? t : {}; } -function rt(t) { +function nt(t) { t && t.c(); } -function nt(t, e, n, o) { +function it(t, e, n, o) { const { fragment: a, on_mount: s, on_destroy: l, after_update: u } = t.$$; a && a.m(e, n), o || - V(() => { + N(() => { const e = s.map(r).filter(A); l ? l.push(...e) : i(e), (t.$$.on_mount = []); }), - u.forEach(V); + u.forEach(N); } -function it(t, e) { +function At(t, e) { const r = t.$$; null !== r.fragment && (i(r.on_destroy), @@ -238,12 +241,12 @@ function it(t, e) { (r.on_destroy = r.fragment = null), (r.ctx = [])); } -function At(t, e) { +function ot(t, e) { -1 === t.$$.dirty[0] && - (k.push(t), K || ((K = !0), R.then(j)), t.$$.dirty.fill(0)), + (H.push(t), V || ((V = !0), K.then(X)), t.$$.dirty.fill(0)), (t.$$.dirty[(e / 31) | 0] |= 1 << e % 31); } -function ot(e, r, A, o, a, s, l, u = [-1]) { +function at(e, r, A, o, a, s, l, u = [-1]) { const c = E; T(e); const p = (e.$$ = { @@ -273,7 +276,7 @@ function ot(e, r, A, o, a, s, l, u = [-1]) { return ( p.ctx && a(p.ctx[t], (p.ctx[t] = i)) && - (!p.skip_bound && p.bound[t] && p.bound[t](i), f && At(e, t)), + (!p.skip_bound && p.bound[t] && p.bound[t](i), f && ot(e, t)), r ); }) @@ -290,15 +293,15 @@ function ot(e, r, A, o, a, s, l, u = [-1]) { })(r.target); p.fragment && p.fragment.l(t), t.forEach(h); } else p.fragment && p.fragment.c(); - r.intro && $(e.$$.fragment), - nt(e, r.target, r.anchor, r.customElement), - j(); + r.intro && Y(e.$$.fragment), + it(e, r.target, r.anchor, r.customElement), + X(); } T(c); } -class at { +class st { $destroy() { - it(this, 1), (this.$destroy = t); + At(this, 1), (this.$destroy = t); } $on(t, e) { const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []); @@ -317,7 +320,7 @@ class at { ((this.$$.skip_bound = !0), this.$$set(t), (this.$$.skip_bound = !1)); } } -var st = +var lt = 'undefined' != typeof globalThis ? globalThis : 'undefined' != typeof window @@ -327,7 +330,7 @@ var st = : 'undefined' != typeof self ? self : {}; -function lt(t) { +function ut(t) { if (t.__esModule) return t; var e = Object.defineProperty({}, '__esModule', { value: !0 }); return ( @@ -349,8 +352,8 @@ function lt(t) { e ); } -var ut = { exports: {} }, - ct = (ut.exports = (function () { +var ct = { exports: {} }, + pt = (ct.exports = (function () { var t, e, r; function n(n, i) { if (t) @@ -690,12 +693,12 @@ var ut = { exports: {} }, o.performance && o.performance.now ? o.performance.now.bind(o.performance) : Date.now.bind(Date), - P = + k = o.requestAnimationFrame || o.mozRequestAnimationFrame || o.webkitRequestAnimationFrame || o.msRequestAnimationFrame, - k = + P = o.cancelAnimationFrame || o.mozCancelAnimationFrame || o.webkitCancelAnimationFrame || @@ -703,10 +706,10 @@ var ut = { exports: {} }, H = { now: D, frame: function (t) { - var e = P(t); + var e = k(t); return { cancel: function () { - return k(e); + return P(e); }, }; }, @@ -3297,25 +3300,25 @@ var ut = { exports: {} }, e ); })(Error), - Pt = function (t, e) { + kt = function (t, e) { void 0 === e && (e = []), (this.parent = t), (this.bindings = {}); for (var r = 0, n = e; r < n.length; r += 1) { var i = n[r]; this.bindings[i[0]] = i[1]; } }; - (Pt.prototype.concat = function (t) { - return new Pt(this, t); + (kt.prototype.concat = function (t) { + return new kt(this, t); }), - (Pt.prototype.get = function (t) { + (kt.prototype.get = function (t) { if (this.bindings[t]) return this.bindings[t]; if (this.parent) return this.parent.get(t); throw new Error(t + ' not found in scope.'); }), - (Pt.prototype.has = function (t) { + (kt.prototype.has = function (t) { return !!this.bindings[t] || (!!this.parent && this.parent.has(t)); }); - var kt = { kind: 'null' }, + var Pt = { kind: 'null' }, Ht = { kind: 'number' }, zt = { kind: 'string' }, Ot = { kind: 'boolean' }, @@ -3339,7 +3342,7 @@ var ut = { exports: {} }, } return t.kind; } - var qt = [kt, Ht, zt, Ot, Rt, Gt, Kt, Xt(Vt), jt]; + var qt = [Pt, Ht, zt, Ot, Rt, Gt, Kt, Xt(Vt), jt]; function Wt(t, e) { if ('error' === e.kind) return null; if ('array' === t.kind) { @@ -3786,7 +3789,7 @@ var ut = { exports: {} }, return !1; } function ae(t) { - if (null === t) return kt; + if (null === t) return Pt; if ('string' == typeof t) return zt; if ('boolean' == typeof t) return Ot; if ('number' == typeof t) return Ht; @@ -4521,10 +4524,10 @@ var ut = { exports: {} }, ['collator', t] ); }); - var Pe = function (t, e) { + var ke = function (t, e) { (this.type = Ot), (this.geojson = t), (this.geometries = e); }; - function ke(t) { + function Pe(t) { if (t instanceof ve) { if ('get' === t.name && 1 === t.args.length) return !1; if ('feature-state' === t.name) return !1; @@ -4537,11 +4540,11 @@ var ut = { exports: {} }, return !1; if (/^filter-/.test(t.name)) return !1; } - if (t instanceof Pe) return !1; + if (t instanceof ke) return !1; var e = !0; return ( t.eachChild(function (t) { - e && !ke(t) && (e = !1); + e && !Pe(t) && (e = !1); }), e ); @@ -4566,7 +4569,7 @@ var ut = { exports: {} }, r ); } - (Pe.parse = function (t, e) { + (ke.parse = function (t, e) { if (2 !== t.length) return e.error( "'within' expression requires exactly one argument, but found " + @@ -4579,20 +4582,20 @@ var ut = { exports: {} }, for (var n = 0; n < r.features.length; ++n) { var i = r.features[n].geometry.type; if ('Polygon' === i || 'MultiPolygon' === i) - return new Pe(r, r.features[n].geometry); + return new ke(r, r.features[n].geometry); } else if ('Feature' === r.type) { var A = r.geometry.type; if ('Polygon' === A || 'MultiPolygon' === A) - return new Pe(r, r.geometry); + return new ke(r, r.geometry); } else if ('Polygon' === r.type || 'MultiPolygon' === r.type) - return new Pe(r, r); + return new ke(r, r); } return e.error( "'within' expression requires valid geojson object that contains polygon geometry type." ); }), - (Pe.prototype.evaluate = function (t) { + (ke.prototype.evaluate = function (t) { if (null != t.geometry() && null != t.canonicalID()) { if ('Point' === t.geometryType()) return (function (t, e) { @@ -4639,11 +4642,11 @@ var ut = { exports: {} }, } return !1; }), - (Pe.prototype.eachChild = function () {}), - (Pe.prototype.outputDefined = function () { + (ke.prototype.eachChild = function () {}), + (ke.prototype.outputDefined = function () { return !0; }), - (Pe.prototype.serialize = function () { + (ke.prototype.serialize = function () { return ['within', this.geojson]; }); var Oe = function (t, e) { @@ -4678,7 +4681,7 @@ var ut = { exports: {} }, }); var Re = function (t, e, r, n, i) { void 0 === e && (e = []), - void 0 === n && (n = new Pt()), + void 0 === n && (n = new kt()), void 0 === i && (i = []), (this.registry = t), (this.path = e), @@ -4771,7 +4774,7 @@ var ut = { exports: {} }, if (e instanceof Oe) return t(e.boundExpression); if (e instanceof ve && 'error' === e.name) return !1; if (e instanceof _e) return !1; - if (e instanceof Pe) return !1; + if (e instanceof ke) return !1; var r = e instanceof ge || e instanceof pe, n = !0; return ( @@ -4779,7 +4782,7 @@ var ut = { exports: {} }, n = r ? n && t(e) : n && e instanceof le; }), !!n && - ke(e) && + Pe(e) && ze(e, [ 'zoom', 'heatmap-density', @@ -5352,7 +5355,7 @@ var ut = { exports: {} }, var r = e.parse(t[1], 1, Vt), n = e.parse(t[2], 2, Vt); return r && n - ? Jt(r.type, [Ot, zt, Ht, kt, Vt]) + ? Jt(r.type, [Ot, zt, Ht, Pt, Vt]) ? new ur(r, n) : e.error( 'Expected first argument to be of type boolean, string, number or null, but found ' + @@ -5404,7 +5407,7 @@ var ut = { exports: {} }, var r = e.parse(t[1], 1, Vt), n = e.parse(t[2], 2, Vt); if (!r || !n) return null; - if (!Jt(r.type, [Ot, zt, Ht, kt, Vt])) + if (!Jt(r.type, [Ot, zt, Ht, Pt, Vt])) return e.error( 'Expected first argument to be of type boolean, string, number or null, but found ' + Zt(r.type) + @@ -6031,7 +6034,7 @@ var ut = { exports: {} }, 'to-number': ge, 'to-string': ge, var: Oe, - within: Pe, + within: ke, }; function Ur(t, e) { var r = e[0], @@ -6072,7 +6075,7 @@ var ut = { exports: {} }, function Dr(t) { return !!t.expression && t.expression.interpolated; } - function Pr(t) { + function kr(t) { return t instanceof Number ? 'number' : t instanceof String @@ -6085,7 +6088,7 @@ var ut = { exports: {} }, ? 'null' : typeof t; } - function kr(t) { + function Pr(t) { return 'object' == typeof t && null !== t && !Array.isArray(t); } function Hr(t) { @@ -6104,7 +6107,7 @@ var ut = { exports: {} }, return zr(typeof r === i ? n[r] : void 0, t.default, e.default); } function Rr(t, e, r) { - if ('number' !== Pr(r)) return zr(t.default, e.default); + if ('number' !== kr(r)) return zr(t.default, e.default); var n = t.stops.length; if (1 === n) return t.stops[0][1]; if (r <= t.stops[0][0]) return t.stops[0][1]; @@ -6119,7 +6122,7 @@ var ut = { exports: {} }, } function Kr(t, e, r) { var n = void 0 !== t.base ? t.base : 1; - if ('number' !== Pr(r)) return zr(t.default, e.default); + if ('number' !== kr(r)) return zr(t.default, e.default); var i = t.stops.length; if (1 === i) return t.stops[0][1]; if (r <= t.stops[0][0]) return t.stops[0][1]; @@ -6168,7 +6171,7 @@ var ut = { exports: {} }, ? (r = ne.fromString(r.toString())) : 'resolvedImage' === e.type ? (r = ie.fromString(r.toString())) - : Pr(r) === e.type || + : kr(r) === e.type || ('enum' === e.type && e.values[r]) || (r = void 0), zr(r, t.default, e.default) @@ -6751,7 +6754,7 @@ var ut = { exports: {} }, (this._evaluator = new ye()), (this._defaultValue = e ? (function (t) { - return 'color' === t.type && kr(t.default) + return 'color' === t.type && Pr(t.default) ? new te(0, 0, 0, 0) : 'color' === t.type ? te.parse(t.default) || null @@ -6886,7 +6889,7 @@ var ut = { exports: {} }, function qr(t, e) { if ('error' === (t = jr(t, e)).result) return t; var r = t.value.expression, - n = ke(r); + n = Pe(r); if (!n && !Lr(e)) return Tr([new Dt('', 'data expressions not supported')]); var i = ze(r, ['zoom']); @@ -7094,7 +7097,7 @@ var ut = { exports: {} }, A = t.style, o = t.styleSpec, a = [], - s = Pr(r); + s = kr(r); if ('object' !== s) return [new It(e, r, 'object expected, ' + s + ' found')]; for (var l in r) { @@ -7141,8 +7144,8 @@ var ut = { exports: {} }, i = t.styleSpec, A = t.key, o = t.arrayElementValidator || xn; - if ('array' !== Pr(e)) - return [new It(A, e, 'array expected, ' + Pr(e) + ' found')]; + if ('array' !== kr(e)) + return [new It(A, e, 'array expected, ' + kr(e) + ' found')]; if (r.length && e.length !== r.length) return [ new It( @@ -7169,7 +7172,7 @@ var ut = { exports: {} }, ]; var a = { type: r.value, values: r.values }; i.$version < 7 && (a.function = r.function), - 'object' === Pr(r.value) && (a = r.value); + 'object' === kr(r.value) && (a = r.value); for (var s = [], l = 0; l < e.length; l++) s = s.concat( o({ @@ -7188,7 +7191,7 @@ var ut = { exports: {} }, var e = t.key, r = t.value, n = t.valueSpec, - i = Pr(r); + i = kr(r); return ( 'number' === i && r != r && (i = 'NaN'), 'number' !== i @@ -7222,9 +7225,9 @@ var ut = { exports: {} }, a = 'categorical' !== A && void 0 === t.value.property, s = !a, l = - 'array' === Pr(t.value.stops) && - 'array' === Pr(t.value.stops[0]) && - 'object' === Pr(t.value.stops[0][0]), + 'array' === kr(t.value.stops) && + 'array' === kr(t.value.stops[0]) && + 'object' === kr(t.value.stops[0][0]), u = Jr({ key: t.key, value: t.value, @@ -7254,7 +7257,7 @@ var ut = { exports: {} }, arrayElementValidator: c, }) )), - 'array' === Pr(r) && + 'array' === kr(r) && 0 === r.length && e.push( new It(t.key, r, 'array must have at least one stop') @@ -7309,8 +7312,8 @@ var ut = { exports: {} }, var e = [], A = t.value, a = t.key; - if ('array' !== Pr(A)) - return [new It(a, A, 'array expected, ' + Pr(A) + ' found')]; + if ('array' !== kr(A)) + return [new It(a, A, 'array expected, ' + kr(A) + ' found')]; if (2 !== A.length) return [ new It( @@ -7320,9 +7323,9 @@ var ut = { exports: {} }, ), ]; if (l) { - if ('object' !== Pr(A[0])) + if ('object' !== kr(A[0])) return [ - new It(a, A, 'object expected, ' + Pr(A[0]) + ' found'), + new It(a, A, 'object expected, ' + kr(A[0]) + ' found'), ]; if (void 0 === A[0].zoom) return [new It(a, A, 'object stop key must have zoom')]; @@ -7368,7 +7371,7 @@ var ut = { exports: {} }, ); } function p(t, n) { - var a = Pr(t.value), + var a = kr(t.value), s = Lt(t.value), l = null !== t.value ? t.value : n; if (e) { @@ -7475,7 +7478,7 @@ var ut = { exports: {} }, '"zoom" and "feature-state" expressions are not supported with cluster properties.' ), ]; - if ('cluster-initial' === t.expressionContext && !ke(r)) + if ('cluster-initial' === t.expressionContext && !Pe(r)) return [ new It( t.key, @@ -7682,8 +7685,8 @@ var ut = { exports: {} }, : (function t(e) { var r = e.value, n = e.key; - if ('array' !== Pr(r)) - return [new It(n, r, 'array expected, ' + Pr(r) + ' found')]; + if ('array' !== kr(r)) + return [new It(n, r, 'array expected, ' + kr(r) + ' found')]; var i, A = e.styleSpec, o = []; @@ -7731,7 +7734,7 @@ var ut = { exports: {} }, case 'in': case '!in': r.length >= 2 && - 'string' !== (i = Pr(r[1])) && + 'string' !== (i = kr(r[1])) && o.push( new It( n + '[1]', @@ -7740,7 +7743,7 @@ var ut = { exports: {} }, ) ); for (var a = 2; a < r.length; a++) - (i = Pr(r[a])), + (i = kr(r[a])), '$type' === Lt(r[1]) ? (o = o.concat( rn({ @@ -7779,7 +7782,7 @@ var ut = { exports: {} }, break; case 'has': case '!has': - (i = Pr(r[1])), + (i = kr(r[1])), 2 !== r.length ? o.push( new It( @@ -7800,7 +7803,7 @@ var ut = { exports: {} }, ); break; case 'within': - (i = Pr(r[1])), + (i = kr(r[1])), 2 !== r.length ? o.push( new It( @@ -7844,7 +7847,7 @@ var ut = { exports: {} }, u = t.valueSpec || a[o]; if (!u) return [new It(r, A, 'unknown property "' + o + '"')]; if ( - 'string' === Pr(A) && + 'string' === kr(A) && Lr(u) && !u.tokens && (l = /^{([^}]+)}$/.exec(A)) @@ -7874,7 +7877,7 @@ var ut = { exports: {} }, ) ), 'text-font' === o && - kr(Mt(A)) && + Pr(Mt(A)) && 'identity' === Lt(A.type) && c.push( new It( @@ -8061,7 +8064,7 @@ var ut = { exports: {} }, function yn(t) { var e = t.value, r = t.key, - n = Pr(e); + n = kr(e); return 'string' !== n ? [new It(r, e, 'string expected, ' + n + ' found')] : []; @@ -8070,7 +8073,7 @@ var ut = { exports: {} }, promoteId: function (t) { var e = t.key, r = t.value; - if ('string' === Pr(r)) return yn({ key: e, value: r }); + if ('string' === kr(r)) return yn({ key: e, value: r }); var n = []; for (var i in r) n.push.apply(n, yn({ key: e + '.' + i, value: r[i] })); @@ -8184,7 +8187,7 @@ var ut = { exports: {} }, n = r.light, i = t.style, A = [], - o = Pr(e); + o = kr(e); if (void 0 === e) return A; if ('object' !== o) return A.concat([ @@ -8222,7 +8225,7 @@ var ut = { exports: {} }, boolean: function (t) { var e = t.value, r = t.key, - n = Pr(e); + n = kr(e); return 'boolean' !== n ? [new It(r, e, 'boolean expected, ' + n + ' found')] : []; @@ -8231,7 +8234,7 @@ var ut = { exports: {} }, color: function (t) { var e = t.key, r = t.value, - n = Pr(r); + n = kr(r); return 'string' !== n ? [new It(e, r, 'color expected, ' + n + ' found')] : null === Yt(r) @@ -8258,7 +8261,7 @@ var ut = { exports: {} }, var e = t.value, r = t.valueSpec, n = t.styleSpec; - return r.expression && kr(Lt(e)) + return r.expression && Pr(Lt(e)) ? tn(t) : r.expression && Gr(Mt(e)) ? en(t) @@ -8484,15 +8487,15 @@ var ut = { exports: {} }, ); }); var Dn = o.ImageData, - Pn = o.ImageBitmap, - kn = {}; + kn = o.ImageBitmap, + Pn = {}; function Hn(t, e, r) { void 0 === r && (r = {}), Object.defineProperty(e, '_classRegistryKey', { value: t, writeable: !1, }), - (kn[t] = { + (Pn[t] = { klass: e, omit: r.omit || [], shallow: r.shallow || [], @@ -8526,7 +8529,7 @@ var ut = { exports: {} }, ); } function Rn(t) { - return Pn && t instanceof Pn; + return kn && t instanceof kn; } function Kn(t, e) { if ( @@ -8560,9 +8563,9 @@ var ut = { exports: {} }, var s = o.serialize ? o.serialize(t, e) : {}; if (!o.serialize) { for (var l in t) - if (t.hasOwnProperty(l) && !(kn[a].omit.indexOf(l) >= 0)) { + if (t.hasOwnProperty(l) && !(Pn[a].omit.indexOf(l) >= 0)) { var u = t[l]; - s[l] = kn[a].shallow.indexOf(l) >= 0 ? u : Kn(u, e); + s[l] = Pn[a].shallow.indexOf(l) >= 0 ? u : Kn(u, e); } t instanceof Error && (s.message = t.message); } @@ -8594,7 +8597,7 @@ var ut = { exports: {} }, if (Array.isArray(t)) return t.map(Vn); if ('object' == typeof t) { var e = t.$name || 'Object', - r = kn[e].klass; + r = Pn[e].klass; if (!r) throw new Error("can't deserialize unregistered class " + e); if (r.deserialize) return r.deserialize(t); @@ -8606,7 +8609,7 @@ var ut = { exports: {} }, var o = A[i]; if ('$name' !== o) { var a = t[o]; - n[o] = kn[e].shallow.indexOf(o) >= 0 ? a : Vn(a); + n[o] = Pn[e].shallow.indexOf(o) >= 0 ? a : Vn(a); } } return n; @@ -9026,7 +9029,7 @@ var ut = { exports: {} }, (this.property = t), (this.value = e), (this.expression = (function (t, e) { - if (kr(t)) return new Wr(t, e); + if (Pr(t)) return new Wr(t, e); if (Gr(t)) { var r = qr(t, e); if ('error' === r.result) @@ -9997,7 +10000,7 @@ var ut = { exports: {} }, ); })(Ci); (Di.prototype.bytesPerElement = 12), Hn('StructArrayLayout3f12', Di); - var Pi = (function (t) { + var ki = (function (t) { function e() { t.apply(this, arguments); } @@ -10018,8 +10021,8 @@ var ut = { exports: {} }, e ); })(Ci); - (Pi.prototype.bytesPerElement = 4), Hn('StructArrayLayout1ul4', Pi); - var ki = (function (t) { + (ki.prototype.bytesPerElement = 4), Hn('StructArrayLayout1ul4', ki); + var Pi = (function (t) { function e() { t.apply(this, arguments); } @@ -10057,8 +10060,8 @@ var ut = { exports: {} }, e ); })(Ci); - (ki.prototype.bytesPerElement = 20), - Hn('StructArrayLayout6i1ul2ui20', ki); + (Pi.prototype.bytesPerElement = 20), + Hn('StructArrayLayout6i1ul2ui20', Pi); var Hi = (function (t) { function e() { t.apply(this, arguments); @@ -10658,7 +10661,7 @@ var ut = { exports: {} }, }), e ); - })(ki); + })(Pi); Hn('CollisionBoxArray', Ji); var $i = (function (t) { function e() { @@ -11624,13 +11627,13 @@ var ut = { exports: {} }, : new QA(a.value, o, s)), n.push('/u_' + i); else if ('source' === a.kind || c) { - var p = PA(i, s, 'source'); + var p = kA(i, s, 'source'); (this.binders[i] = c ? new TA(a, s, l, e, p, t.id) : new IA(a, o, s, p)), n.push('/a_' + i); } else { - var h = PA(i, s, 'composite'); + var h = kA(i, s, 'composite'); (this.binders[i] = new SA(a, o, s, l, e, h)), n.push('/z_' + i); } @@ -11818,7 +11821,7 @@ var ut = { exports: {} }, }[t] || [t.replace(e + '-', '').replace(/-/g, '_')] ); } - function PA(t, e, r) { + function kA(t, e, r) { var n = { color: { source: Ti, composite: qi }, number: { source: Ni, composite: Ti }, @@ -11874,8 +11877,8 @@ var ut = { exports: {} }, Hn('CompositeExpressionBinder', SA), Hn('ProgramConfiguration', LA, { omit: ['_buffers'] }), Hn('ProgramConfigurationSet', MA); - var kA = Math.pow(2, 14) - 1, - HA = -kA - 1; + var PA = Math.pow(2, 14) - 1, + HA = -PA - 1; function zA(t) { for ( var e = 8192 / t.extent, r = t.loadGeometry(), n = 0; @@ -11886,8 +11889,8 @@ var ut = { exports: {} }, var o = i[A], a = Math.round(o.x * e), s = Math.round(o.y * e); - (o.x = u(a, HA, kA)), - (o.y = u(s, HA, kA)), + (o.x = u(a, HA, PA)), + (o.y = u(s, HA, PA)), (a < o.x || a > o.x + 1 || s < o.y || s > o.y + 1) && x( 'Geometry exceeds allowed extent, reduce your vector tile buffer size' @@ -12604,8 +12607,8 @@ var ut = { exports: {} }, !1 )) === o.next && (o.steiner = !0), a.push(Oo(o)); - for (a.sort(Po), i = 0; i < a.length; i++) - ko(a[i], r), (r = Io(r, r.next)); + for (a.sort(ko), i = 0; i < a.length; i++) + Po(a[i], r), (r = Io(r, r.next)); return r; })(t, e, p, r)), t.length > 80 * r) @@ -12819,10 +12822,10 @@ var ut = { exports: {} }, o = o.next; } while (o !== t); } - function Po(t, e) { + function ko(t, e) { return t.x - e.x; } - function ko(t, e) { + function Po(t, e) { if ( (e = (function (t, e) { var r, @@ -14315,24 +14318,24 @@ var ut = { exports: {} }, ) { var D = M / L; if (0.5 !== D) { - var P = D - 0.5; + var k = D - 0.5; D += D * - P * + k * (D - 1) * ((1.0904 + v * (v * (3.55645 - 1.43519 * v) - 3.2452)) * - P * - P + + k * + k + (0.848013 + v * (0.215638 * v - 1.06021))); } - var k = g + var P = g .sub(d) ._mult(D) ._add(d) ._unit() ._mult(b ? -1 : 1); - this.addHalfVertex(u, k.x, k.y, !1, b, 0, p); + this.addHalfVertex(u, P.x, P.y, !1, b, 0, p); } f && this.addCurrentVertex(u, g, -S, -T, p); } else if ('butt' === Q) this.addCurrentVertex(u, y, 0, 0, p); @@ -14412,14 +14415,14 @@ var ut = { exports: {} }, (this.distance += t.dist(e)), this.updateScaledDistance(); }), Hn('LineBucket', Da, { omit: ['layers', 'patternFeatures'] }); - var Pa = new wi({ + var ka = new wi({ 'line-cap': new gi(Et.layout_line['line-cap']), 'line-join': new mi(Et.layout_line['line-join']), 'line-miter-limit': new gi(Et.layout_line['line-miter-limit']), 'line-round-limit': new gi(Et.layout_line['line-round-limit']), 'line-sort-key': new mi(Et.layout_line['line-sort-key']), }), - ka = { + Pa = { paint: new wi({ 'line-opacity': new mi(Et.paint_line['line-opacity']), 'line-color': new mi(Et.paint_line['line-color']), @@ -14435,7 +14438,7 @@ var ut = { exports: {} }, 'line-pattern': new yi(Et.paint_line['line-pattern']), 'line-gradient': new _i(Et.paint_line['line-gradient']), }), - layout: Pa, + layout: ka, }, Ha = new ((function (t) { function e() { @@ -14463,11 +14466,11 @@ var ut = { exports: {} }, }), e ); - })(mi))(ka.paint.properties['line-width'].specification); + })(mi))(Pa.paint.properties['line-width'].specification); Ha.useIntegerZoom = !0; var za = (function (t) { function e(e) { - t.call(this, e, ka), (this.gradientVersion = 0); + t.call(this, e, Pa), (this.gradientVersion = 0); } return ( t && (e.__proto__ = t), @@ -15708,24 +15711,24 @@ var ut = { exports: {} }, Gn['Arabic Presentation Forms-B'](N)))) ); if (U.imageName) { - var P = n[U.imageName]; - if (!P) continue; + var k = n[U.imageName]; + if (!k) continue; (L = U.imageName), (t.iconsInText = t.iconsInText || !0), - (T = P.paddedRect); - var k = P.displaySize; + (T = k.paddedRect); + var P = k.displaySize; (U.scale = (24 * U.scale) / c), - (I = B + (24 - k[1] * U.scale)), + (I = B + (24 - P[1] * U.scale)), (M = (S = { - width: k[0], - height: k[1], + width: P[0], + height: P[1], left: 1, top: -3, - advance: D ? k[1] : k[0], + advance: D ? P[1] : P[0], }).advance); var H = D - ? k[0] * U.scale - 24 * w - : k[1] * U.scale - 24 * w; + ? P[0] * U.scale - 24 * w + : P[1] * U.scale - 24 * w; H > 0 && H > C && (C = H); } else { var z = r[U.fontStack], @@ -16107,7 +16110,7 @@ var ut = { exports: {} }, e ); })(i); - function Ps(t, e) { + function ks(t, e) { var r = e.expression; if ('constant' === r.kind) return { kind: 'constant', layoutSize: r.evaluate(new ai(t + 1)) }; @@ -16139,7 +16142,7 @@ var ut = { exports: {} }, interpolationType: i, }; } - function ks(t, e, r) { + function Ps(t, e, r) { var n = e.uSize, i = r.lowerSize; return 'source' === t.kind @@ -16164,8 +16167,8 @@ var ut = { exports: {} }, Hn('Anchor', Ds); var zs = Object.freeze({ __proto__: null, - getSizeData: Ps, - evaluateSizeForFeature: ks, + getSizeData: ks, + evaluateSizeForFeature: Ps, evaluateSizeForZoom: Hs, SIZE_PACK_FACTOR: 128, }); @@ -16380,11 +16383,11 @@ var ut = { exports: {} }, L = new i(p, Q), M = new i(h / a, m / a), D = new i(U / a, E / a), - P = (e * Math.PI) / 180; - if (P) { - var k = Math.sin(P), - H = Math.cos(P), - z = [H, -k, k, H]; + k = (e * Math.PI) / 180; + if (k) { + var P = Math.sin(k), + H = Math.cos(k), + z = [H, -P, P, H]; I._matMult(z), S._matMult(z), L._matMult(z), T._matMult(z); } var O = n.stretch + n.fixed, @@ -16782,18 +16785,18 @@ var ut = { exports: {} }, M = new i(Q, S), D = new i(I, S); if (B) { - var P = new i(-x, x - -17), - k = -Math.PI / 2, + var k = new i(-x, x - -17), + P = -Math.PI / 2, H = 12 - x, z = new i(22 - H, -(g.imageName ? H : 0)), O = new (Function.prototype.bind.apply( i, [null].concat(U) ))(); - T._rotateAround(k, P)._add(z)._add(O), - L._rotateAround(k, P)._add(z)._add(O), - M._rotateAround(k, P)._add(z)._add(O), - D._rotateAround(k, P)._add(z)._add(O); + T._rotateAround(P, k)._add(z)._add(O), + L._rotateAround(P, k)._add(z)._add(O), + M._rotateAround(P, k)._add(z)._add(O), + D._rotateAround(P, k)._add(z)._add(O); } if (l) { var R = Math.sin(l), @@ -16913,7 +16916,7 @@ var ut = { exports: {} }, (this.programConfigurations = t), (this.segments = new aA()), (this.dynamicLayoutVertexArray = new Di()), - (this.opacityVertexArray = new Pi()), + (this.opacityVertexArray = new ki()), (this.placedSymbolArray = new Yi()); }; (dl.prototype.isEmpty = function () { @@ -17000,8 +17003,8 @@ var ut = { exports: {} }, (this.placementInvProjMatrix = oo([])), (this.placementViewportMatrix = oo([])); var e = this.layers[0]._unevaluatedLayout._values; - (this.textSizeData = Ps(this.zoom, e['text-size'])), - (this.iconSizeData = Ps(this.zoom, e['icon-size'])); + (this.textSizeData = ks(this.zoom, e['text-size'])), + (this.iconSizeData = ks(this.zoom, e['icon-size'])); var r = this.layers[0].layout, n = r.get('symbol-sort-key'), i = r.get('symbol-z-order'); @@ -17133,11 +17136,11 @@ var ut = { exports: {} }, if (M.image) c[M.image.name] = !0; else { var D = jn(b.toString()), - P = M.fontStack || I, - k = (p[P] = p[P] || {}); + k = M.fontStack || I, + P = (p[k] = p[k] || {}); this.calculateGlyphDependencies( M.text, - k, + P, S, this.allowVerticalPlacement, D @@ -17829,7 +17832,7 @@ var ut = { exports: {} }, _l = function (t) { (this.type = t.property.overrides ? t.property.overrides.runtimeType - : kt), + : Pt), (this.defaultValue = t); }; (_l.prototype.evaluate = function (t) { @@ -18216,7 +18219,7 @@ var ut = { exports: {} }, this.target.addEventListener('message', this.receive, !1), (this.globalScope = F() ? t : o); }; - function Pl(t, e, r) { + function kl(t, e, r) { var n = (2 * Math.PI * 6378137) / 256 / Math.pow(2, r); return [ t * n - (2 * Math.PI * 6378137) / 2, @@ -18325,7 +18328,7 @@ var ut = { exports: {} }, this.invoker.remove(), this.target.removeEventListener('message', this.receive, !1); }); - var kl = function (t, e) { + var Pl = function (t, e) { t && (e ? this.setSouthWest(t).setNorthEast(e) @@ -18333,30 +18336,30 @@ var ut = { exports: {} }, ? this.setSouthWest([t[0], t[1]]).setNorthEast([t[2], t[3]]) : this.setSouthWest(t[0]).setNorthEast(t[1])); }; - (kl.prototype.setNorthEast = function (t) { + (Pl.prototype.setNorthEast = function (t) { return ( (this._ne = t instanceof Hl ? new Hl(t.lng, t.lat) : Hl.convert(t)), this ); }), - (kl.prototype.setSouthWest = function (t) { + (Pl.prototype.setSouthWest = function (t) { return ( (this._sw = t instanceof Hl ? new Hl(t.lng, t.lat) : Hl.convert(t)), this ); }), - (kl.prototype.extend = function (t) { + (Pl.prototype.extend = function (t) { var e, r, n = this._sw, i = this._ne; if (t instanceof Hl) (e = t), (r = t); else { - if (!(t instanceof kl)) + if (!(t instanceof Pl)) return Array.isArray(t) ? 4 === t.length || t.every(Array.isArray) - ? this.extend(kl.convert(t)) + ? this.extend(Pl.convert(t)) : this.extend(Hl.convert(t)) : this; if (((r = t._ne), !(e = t._sw) || !r)) return this; @@ -18372,40 +18375,40 @@ var ut = { exports: {} }, this ); }), - (kl.prototype.getCenter = function () { + (Pl.prototype.getCenter = function () { return new Hl( (this._sw.lng + this._ne.lng) / 2, (this._sw.lat + this._ne.lat) / 2 ); }), - (kl.prototype.getSouthWest = function () { + (Pl.prototype.getSouthWest = function () { return this._sw; }), - (kl.prototype.getNorthEast = function () { + (Pl.prototype.getNorthEast = function () { return this._ne; }), - (kl.prototype.getNorthWest = function () { + (Pl.prototype.getNorthWest = function () { return new Hl(this.getWest(), this.getNorth()); }), - (kl.prototype.getSouthEast = function () { + (Pl.prototype.getSouthEast = function () { return new Hl(this.getEast(), this.getSouth()); }), - (kl.prototype.getWest = function () { + (Pl.prototype.getWest = function () { return this._sw.lng; }), - (kl.prototype.getSouth = function () { + (Pl.prototype.getSouth = function () { return this._sw.lat; }), - (kl.prototype.getEast = function () { + (Pl.prototype.getEast = function () { return this._ne.lng; }), - (kl.prototype.getNorth = function () { + (Pl.prototype.getNorth = function () { return this._ne.lat; }), - (kl.prototype.toArray = function () { + (Pl.prototype.toArray = function () { return [this._sw.toArray(), this._ne.toArray()]; }), - (kl.prototype.toString = function () { + (Pl.prototype.toString = function () { return ( 'LngLatBounds(' + this._sw.toString() + @@ -18414,10 +18417,10 @@ var ut = { exports: {} }, ')' ); }), - (kl.prototype.isEmpty = function () { + (Pl.prototype.isEmpty = function () { return !(this._sw && this._ne); }), - (kl.prototype.contains = function (t) { + (Pl.prototype.contains = function (t) { var e = Hl.convert(t), r = e.lng, n = e.lat, @@ -18428,8 +18431,8 @@ var ut = { exports: {} }, this._sw.lat <= n && n <= this._ne.lat && i ); }), - (kl.convert = function (t) { - return !t || t instanceof kl ? t : new kl(t); + (Pl.convert = function (t) { + return !t || t instanceof Pl ? t : new Pl(t); }); var Hl = function (t, e) { if (isNaN(t) || isNaN(e)) @@ -18463,7 +18466,7 @@ var ut = { exports: {} }, void 0 === t && (t = 0); var e = (360 * t) / 40075017, r = e / Math.cos((Math.PI / 180) * this.lat); - return new kl( + return new Pl( new Hl(this.lng - r, this.lat - e), new Hl(this.lng + r, this.lat + e) ); @@ -18541,12 +18544,12 @@ var ut = { exports: {} }, a = ((n = this.y), (i = this.z), - (A = Pl( + (A = kl( 256 * (r = this.x), 256 * (n = Math.pow(2, i) - n - 1), i )), - (o = Pl(256 * (r + 1), 256 * (n + 1), i)), + (o = kl(256 * (r + 1), 256 * (n + 1), i)), A[0] + ',' + A[1] + ',' + o[0] + ',' + o[1]), s = (function (t, e, r) { for (var n, i = '', A = t; A > 0; A--) @@ -19568,7 +19571,7 @@ var ut = { exports: {} }, (t.ImagePosition = ys), (t.LineBucket = Da), (t.LngLat = Hl), - (t.LngLatBounds = kl), + (t.LngLatBounds = Pl), (t.MercatorCoordinate = Gl), (t.ONE_EM = 24), (t.OverscaledTileID = Zl), @@ -19767,7 +19770,7 @@ var ut = { exports: {} }, }); }); }), - (t.evaluateSizeForFeature = ks), + (t.evaluateSizeForFeature = Ps), (t.evaluateSizeForZoom = Hs), (t.evaluateVariableOffset = Al), (t.evented = ni), @@ -20056,11 +20059,11 @@ var ut = { exports: {} }, D < L.length; D++ ) { - var P = L[D]; - if (!h.horizontal[P]) - if (M) h.horizontal[P] = h.horizontal[0]; + var k = L[D]; + if (!h.horizontal[k]) + if (M) h.horizontal[k] = h.horizontal[0]; else { - var k = bs( + var P = bs( y, e, r, @@ -20069,7 +20072,7 @@ var ut = { exports: {} }, S, f, 'center', - P, + k, C, w, ws.horizontal, @@ -20078,9 +20081,9 @@ var ut = { exports: {} }, c, u ); - k && - ((h.horizontal[P] = k), - (M = 1 === k.positionedLines.length)); + P && + ((h.horizontal[k] = P), + (M = 1 === P.positionedLines.length)); } } T(); @@ -20251,8 +20254,8 @@ var ut = { exports: {} }, L = 0, M = 0, D = 0, - P = -1, k = -1, + P = -1, H = {}, z = pA(''), O = 0, @@ -20352,7 +20355,7 @@ var ut = { exports: {} }, -1, b ), - (P = t.icon.placedSymbolArray.length - 1), + (k = t.icon.placedSymbolArray.length - 1), j && ((L = 4 * j.length), t.addSymbols( @@ -20369,7 +20372,7 @@ var ut = { exports: {} }, -1, b ), - (k = t.icon.placedSymbolArray.length - 1)); + (P = t.icon.placedSymbolArray.length - 1)); } for (var q in n.horizontal) { var W = n.horizontal[q]; @@ -20397,7 +20400,7 @@ var ut = { exports: {} }, : ws.horizontalOnly, $ ? Object.keys(n.horizontal) : [q], H, - P, + k, w, b )), @@ -20419,7 +20422,7 @@ var ut = { exports: {} }, ws.vertical, ['vertical'], H, - k, + P, w, b )); @@ -20474,8 +20477,8 @@ var ut = { exports: {} }, H.center >= 0 ? H.center : -1, H.left >= 0 ? H.left : -1, H.vertical || -1, - P, k, + P, z, Y, tt, @@ -20548,16 +20551,16 @@ var ut = { exports: {} }, M < D.length; M += 1 ) { - var P = D[M]; - (d && ll(t, d.text, Q, P)) || I(L, P); + var k = D[M]; + (d && ll(t, d.text, Q, k)) || I(L, k); } else if ('line-center' === U) for ( - var k = 0, H = e.geometry; - k < H.length; - k += 1 + var P = 0, H = e.geometry; + P < H.length; + P += 1 ) { - var z = H[k]; + var z = H[P]; if (z.length > 1) { var O = Ns(z, b, r.vertical || d, n, 24, y); O && I(z, O); @@ -21702,7 +21705,7 @@ var ut = { exports: {} }, return a; })(this.ids, this.coords, t, e, r, this.nodeSize); }); - var P = { + var k = { minZoom: 0, maxZoom: 16, minPoints: 2, @@ -21716,8 +21719,8 @@ var ut = { exports: {} }, return t; }, }, - k = function (t) { - (this.options = N(Object.create(P), t)), + P = function (t) { + (this.options = N(Object.create(k), t)), (this.trees = new Array(this.options.maxZoom + 1)); }; function H(t, e, r, n, i) { @@ -22280,7 +22283,7 @@ var ut = { exports: {} }, (A = new Uint8Array(A)), e(null, { vectorTile: i, rawData: A.buffer }); } - (k.prototype.load = function (t) { + (P.prototype.load = function (t) { var e = this.options, r = e.log, n = e.minZoom, @@ -22307,7 +22310,7 @@ var ut = { exports: {} }, } return r && console.timeEnd('total time'), this; }), - (k.prototype.getClusters = function (t, e) { + (P.prototype.getClusters = function (t, e) { var r = ((((t[0] + 180) % 360) + 360) % 360) - 180, n = Math.max(-90, Math.min(90, t[1])), i = @@ -22332,7 +22335,7 @@ var ut = { exports: {} }, } return l; }), - (k.prototype.getChildren = function (t) { + (P.prototype.getChildren = function (t) { var e = this._getOriginId(t), r = this._getOriginZoom(t), n = 'No cluster with the specified id.', @@ -22357,11 +22360,11 @@ var ut = { exports: {} }, if (0 === a.length) throw new Error(n); return a; }), - (k.prototype.getLeaves = function (t, e, r) { + (P.prototype.getLeaves = function (t, e, r) { var n = []; return this._appendLeaves(n, t, (e = e || 10), (r = r || 0), 0), n; }), - (k.prototype.getTile = function (t, e, r) { + (P.prototype.getTile = function (t, e, r) { var n = this.trees[this._limitZoom(t)], i = Math.pow(2, t), A = this.options, @@ -22399,7 +22402,7 @@ var ut = { exports: {} }, l.features.length ? l : null ); }), - (k.prototype.getClusterExpansionZoom = function (t) { + (P.prototype.getClusterExpansionZoom = function (t) { for ( var e = this._getOriginZoom(t) - 1; e <= this.options.maxZoom; @@ -22411,7 +22414,7 @@ var ut = { exports: {} }, } return e; }), - (k.prototype._appendLeaves = function (t, e, r, n, i) { + (P.prototype._appendLeaves = function (t, e, r, n, i) { for (var A = 0, o = this.getChildren(e); A < o.length; A += 1) { var a = o[A], s = a.properties; @@ -22429,7 +22432,7 @@ var ut = { exports: {} }, } return i; }), - (k.prototype._addTileFeatures = function (t, e, r, n, i, A) { + (P.prototype._addTileFeatures = function (t, e, r, n, i, A) { for (var o = 0, a = t; o < a.length; o += 1) { var s = e[a[o]], l = s.numPoints, @@ -22453,13 +22456,13 @@ var ut = { exports: {} }, A.features.push(u); } }), - (k.prototype._limitZoom = function (t) { + (P.prototype._limitZoom = function (t) { return Math.max( this.options.minZoom, Math.min(+t, this.options.maxZoom + 1) ); }), - (k.prototype._cluster = function (t, e) { + (P.prototype._cluster = function (t, e) { for ( var r = [], n = this.options, @@ -22517,13 +22520,13 @@ var ut = { exports: {} }, } return r; }), - (k.prototype._getOriginId = function (t) { + (P.prototype._getOriginId = function (t) { return (t - this.points.length) >> 5; }), - (k.prototype._getOriginZoom = function (t) { + (P.prototype._getOriginZoom = function (t) { return (t - this.points.length) % 32; }), - (k.prototype._map = function (t, e) { + (P.prototype._map = function (t, e) { if (t.numPoints) return e ? N({}, t.properties) : t.properties; var r = this.points[t.index].properties, n = this.options.map(r); @@ -22710,7 +22713,7 @@ var ut = { exports: {} }, o = { type: 'FeatureCollection', features: s }; } e._geoJSONIndex = n.cluster - ? new k( + ? new P( (function (e) { var r = e.superclusterOptions, n = e.clusterProperties; @@ -25245,7 +25248,7 @@ var ut = { exports: {} }, image: T, canvas: M, }; - function P(e, r) { + function k(e, r) { var n = t.identity([]); return ( t.translate(n, n, [1, 1, 0]), @@ -25253,7 +25256,7 @@ var ut = { exports: {} }, t.multiply(n, n, e.calculatePosMatrix(r.toUnwrapped())) ); } - function k(t, e, r, n, i, A) { + function P(t, e, r, n, i, A) { var o = (function (t, e, r) { if (t) for (var n = 0, i = t; n < i.length; n += 1) { @@ -25285,7 +25288,7 @@ var ut = { exports: {} }, i, A, a, - P(t.transform, p.tileID) + k(t.transform, p.tileID) ), }); } @@ -27161,10 +27164,10 @@ var ut = { exports: {} }, (Dt.prototype.numActive = function () { return Object.keys(this.active).length; }); - var Pt, - kt = Math.floor(t.browser.hardwareConcurrency / 2); + var kt, + Pt = Math.floor(t.browser.hardwareConcurrency / 2); function Ht() { - return Pt || (Pt = new Dt()), Pt; + return kt || (kt = new Dt()), kt; } function zt(e, r) { var n = {}; @@ -27184,7 +27187,7 @@ var ut = { exports: {} }, 'ref' in t[n] && (t[n] = zt(t[n], e[t[n].ref])); return t; } - Dt.workerCount = Math.max(Math.min(kt, 6), 1); + Dt.workerCount = Math.max(Math.min(Pt, 6), 1); var Rt = { setStyle: 'setStyle', addLayer: 'addLayer', @@ -27477,8 +27480,8 @@ var ut = { exports: {} }, d = [L]; } for (var M = 0, D = d; M < D.length; M += 1) { - var P = D[M]; - t.addDynamicAttributes(u, P.point, P.angle); + var k = D[M]; + t.addDynamicAttributes(u, k.point, k.angle); } return {}; } @@ -27930,18 +27933,18 @@ var ut = { exports: {} }, var D = []; if (I.length > 0) { for ( - var P = I[0].clone(), k = I[0].clone(), H = 1; + var k = I[0].clone(), P = I[0].clone(), H = 1; H < I.length; H++ ) - (P.x = Math.min(P.x, I[H].x)), - (P.y = Math.min(P.y, I[H].y)), - (k.x = Math.max(k.x, I[H].x)), - (k.y = Math.max(k.y, I[H].y)); + (k.x = Math.min(k.x, I[H].x)), + (k.y = Math.min(k.y, I[H].y)), + (P.x = Math.max(P.x, I[H].x)), + (P.y = Math.max(P.y, I[H].y)); D = - P.x >= C.x && k.x <= F.x && P.y >= C.y && k.y <= F.y + k.x >= C.x && P.x <= F.x && k.y >= C.y && P.y <= F.y ? [I] - : k.x < C.x || P.x > F.x || k.y < C.y || P.y > F.y + : P.x < C.x || k.x > F.x || P.y < C.y || k.y > F.y ? [] : t.clipLine([I], C.x, C.y, F.x, F.y); } @@ -28356,9 +28359,9 @@ var ut = { exports: {} }, : e.useRuntimeCollisionCircles && (L = e.featureIndex), A.verticalTextFeatureIndex && (M = A.verticalTextFeatureIndex); - var P = A.textBox; - if (P) { - var k = function (r) { + var k = A.textBox; + if (k) { + var P = function (r) { var n = t.WritingMode.horizontal; if (o.allowVerticalPlacement && !r && i.prevPlacement) { var A = @@ -28441,7 +28444,7 @@ var ut = { exports: {} }, }; H( function () { - return R(P, A.iconBox, t.WritingMode.horizontal); + return R(k, A.iconBox, t.WritingMode.horizontal); }, function () { var r = A.verticalTextBox; @@ -28454,7 +28457,7 @@ var ut = { exports: {} }, } ), E && ((x = E.box), (U = E.offscreen)); - var K = k(E && E.box); + var K = P(E && E.box); if (!x && i.prevPlacement) { var V = i.prevPlacement.variableOffsets[e.crossTileID]; V && @@ -28481,7 +28484,7 @@ var ut = { exports: {} }, }; H( function () { - return N(P, t.WritingMode.horizontal); + return N(k, t.WritingMode.horizontal); }, function () { var r = A.verticalTextBox; @@ -28492,7 +28495,7 @@ var ut = { exports: {} }, : { box: null, offscreen: null }; } ), - k(E && E.box && E.box.length); + P(E && E.box && E.box.length); } } if ( @@ -29109,16 +29112,16 @@ var ut = { exports: {} }, } } }); - var Pe = function () { + var ke = function () { this.maxCrossTileID = 0; }; - Pe.prototype.generate = function () { + ke.prototype.generate = function () { return ++this.maxCrossTileID; }; - var ke = function () { + var Pe = function () { (this.indexes = {}), (this.usedCrossTileIDs = {}), (this.lng = 0); }; - (ke.prototype.handleWrapJump = function (t) { + (Pe.prototype.handleWrapJump = function (t) { var e = Math.round((t - this.lng) / 360); if (0 !== e) for (var r in this.indexes) { @@ -29133,7 +29136,7 @@ var ut = { exports: {} }, } this.lng = t; }), - (ke.prototype.addBucket = function (t, e, r) { + (Pe.prototype.addBucket = function (t, e, r) { if ( this.indexes[t.overscaledZ] && this.indexes[t.overscaledZ][t.key] @@ -29182,7 +29185,7 @@ var ut = { exports: {} }, !0 ); }), - (ke.prototype.removeBucketCrossTileIDs = function (t, e) { + (Pe.prototype.removeBucketCrossTileIDs = function (t, e) { for (var r in e.indexedSymbolInstances) for ( var n = 0, i = e.indexedSymbolInstances[r]; @@ -29191,7 +29194,7 @@ var ut = { exports: {} }, ) delete this.usedCrossTileIDs[t][i[n].crossTileID]; }), - (ke.prototype.removeStaleBuckets = function (t) { + (Pe.prototype.removeStaleBuckets = function (t) { var e = !1; for (var r in this.indexes) { var n = this.indexes[r]; @@ -29205,13 +29208,13 @@ var ut = { exports: {} }, }); var He = function () { (this.layerIndexes = {}), - (this.crossTileIDs = new Pe()), + (this.crossTileIDs = new ke()), (this.maxBucketInstanceId = 0), (this.bucketsInCurrentPlacement = {}); }; (He.prototype.addLayer = function (t, e, r) { var n = this.layerIndexes[t.id]; - void 0 === n && (n = this.layerIndexes[t.id] = new ke()); + void 0 === n && (n = this.layerIndexes[t.id] = new Pe()); var i = !1, A = {}; n.handleWrapJump(r); @@ -30401,7 +30404,7 @@ var ut = { exports: {} }, this.sourceCaches)) (r.layers && !i[u]) || l.push( - k( + P( this.sourceCaches[u], this._layers, this._serializedLayers, @@ -31328,10 +31331,10 @@ var ut = { exports: {} }, ], }; }, - Pr = function (e, r, n, i) { + kr = function (e, r, n, i) { return t.extend(Dr(e, r, n), { u_image: 0, u_image_height: i }); }, - kr = function (e, r, n, i) { + Pr = function (e, r, n, i) { var A = e.transform, o = zr(r, A); return { @@ -31938,17 +31941,17 @@ var ut = { exports: {} }, })(p)); for ( var D = s.createIndexBuffer(Vr, !0), - P = s.createVertexBuffer( + k = s.createVertexBuffer( b, t.collisionCircleLayout.members, !0 ), - k = 0, + P = 0, H = c; - k < H.length; - k += 1 + P < H.length; + P += 1 ) { - var z = H[k], + var z = H[P], O = Sr(z.transform, z.invTransform, e.transform); x.draw( s, @@ -31959,7 +31962,7 @@ var ut = { exports: {} }, Qt.disabled, O, n.id, - P, + k, D, t.SegmentVector.simpleSegment( 0, @@ -31974,7 +31977,7 @@ var ut = { exports: {} }, null ); } - P.destroy(), D.destroy(); + k.destroy(), D.destroy(); } } var Jr = t.identity(new Float32Array(16)); @@ -32088,8 +32091,8 @@ var ut = { exports: {} }, L = A ? E.textSizeData : E.iconSizeData, M = m || 0 !== d.pitch, D = e.useProgram(tn(T, A, E), S), - P = t.evaluateSizeForZoom(L, d.zoom), - k = void 0, + k = t.evaluateSizeForZoom(L, d.zoom), + P = void 0, H = [0, 0], z = void 0, O = void 0, @@ -32098,7 +32101,7 @@ var ut = { exports: {} }, if (A) (z = Q.glyphAtlasTexture), (O = f.LINEAR), - (k = Q.glyphAtlasTexture.size), + (P = Q.glyphAtlasTexture.size), E.iconsInText && ((H = Q.imageAtlasTexture.size), (R = Q.imageAtlasTexture), @@ -32119,7 +32122,7 @@ var ut = { exports: {} }, T || e.options.rotating || e.options.zooming || V || M ? f.LINEAR : f.NEAREST), - (k = Q.imageAtlasTexture.size); + (P = Q.imageAtlasTexture.size); } var N = pe(Q, 1, e.transform.zoom), G = Jt(U.posMatrix, m, g, e.transform, N), @@ -32144,9 +32147,9 @@ var ut = { exports: {} }, buffers: I, uniformValues: T ? E.iconsInText - ? jr(L.kind, P, v, m, e, q, W, J, k, H) - : Gr(L.kind, P, v, m, e, q, W, J, A, k, !0) - : Nr(L.kind, P, v, m, e, q, W, J, A, k), + ? jr(L.kind, k, v, m, e, q, W, J, P, H) + : Gr(L.kind, k, v, m, e, q, W, J, A, P, !0) + : Nr(L.kind, k, v, m, e, q, W, J, A, P), atlasTexture: z, atlasTextureIcon: R, atlasInterpolation: O, @@ -32971,11 +32974,11 @@ var ut = { exports: {} }, E && I && x.setConstantPatternPositions(E, I); } var S = c - ? kr(e, w, n, h) + ? Pr(e, w, n, h) : l ? Hr(e, w, n, l, h) : p - ? Pr(e, w, n, B.lineClipsArray.length) + ? kr(e, w, n, B.lineClipsArray.length) : Dr(e, w, n); if (c) d.activeTexture.set(g.TEXTURE0), @@ -32990,7 +32993,7 @@ var ut = { exports: {} }, var M = 256; if (n.stepInterpolant) { var D = r.getSource().maxzoom, - P = + k = _.canonical.z === D ? Math.ceil( 1 << @@ -32999,7 +33002,7 @@ var ut = { exports: {} }, : 1; M = t.clamp( t.nextPowerOfTwo( - (B.maxLineLength / t.EXTENT) * 1024 * P + (B.maxLineLength / t.EXTENT) * 1024 * k ), 256, d.maxTextureSize @@ -34806,7 +34809,7 @@ var ut = { exports: {} }, n ); })(t.Event), - Pn = (function (t) { + kn = (function (t) { function e(e, r, n) { t.call(this, e, { originalEvent: n }), (this._defaultPrevented = !1); @@ -34825,61 +34828,61 @@ var ut = { exports: {} }, e ); })(t.Event), - kn = function (t, e) { + Pn = function (t, e) { (this._map = t), (this._clickTolerance = e.clickTolerance); }; - (kn.prototype.reset = function () { + (Pn.prototype.reset = function () { delete this._mousedownPos; }), - (kn.prototype.wheel = function (t) { - return this._firePreventable(new Pn(t.type, this._map, t)); + (Pn.prototype.wheel = function (t) { + return this._firePreventable(new kn(t.type, this._map, t)); }), - (kn.prototype.mousedown = function (t, e) { + (Pn.prototype.mousedown = function (t, e) { return ( (this._mousedownPos = e), this._firePreventable(new Mn(t.type, this._map, t)) ); }), - (kn.prototype.mouseup = function (t) { + (Pn.prototype.mouseup = function (t) { this._map.fire(new Mn(t.type, this._map, t)); }), - (kn.prototype.click = function (t, e) { + (Pn.prototype.click = function (t, e) { (this._mousedownPos && this._mousedownPos.dist(e) >= this._clickTolerance) || this._map.fire(new Mn(t.type, this._map, t)); }), - (kn.prototype.dblclick = function (t) { + (Pn.prototype.dblclick = function (t) { return this._firePreventable(new Mn(t.type, this._map, t)); }), - (kn.prototype.mouseover = function (t) { + (Pn.prototype.mouseover = function (t) { this._map.fire(new Mn(t.type, this._map, t)); }), - (kn.prototype.mouseout = function (t) { + (Pn.prototype.mouseout = function (t) { this._map.fire(new Mn(t.type, this._map, t)); }), - (kn.prototype.touchstart = function (t) { + (Pn.prototype.touchstart = function (t) { return this._firePreventable(new Dn(t.type, this._map, t)); }), - (kn.prototype.touchmove = function (t) { + (Pn.prototype.touchmove = function (t) { this._map.fire(new Dn(t.type, this._map, t)); }), - (kn.prototype.touchend = function (t) { + (Pn.prototype.touchend = function (t) { this._map.fire(new Dn(t.type, this._map, t)); }), - (kn.prototype.touchcancel = function (t) { + (Pn.prototype.touchcancel = function (t) { this._map.fire(new Dn(t.type, this._map, t)); }), - (kn.prototype._firePreventable = function (t) { + (Pn.prototype._firePreventable = function (t) { if ((this._map.fire(t), t.defaultPrevented)) return {}; }), - (kn.prototype.isEnabled = function () { + (Pn.prototype.isEnabled = function () { return !0; }), - (kn.prototype.isActive = function () { + (Pn.prototype.isActive = function () { return !1; }), - (kn.prototype.enable = function () {}), - (kn.prototype.disable = function () {}); + (Pn.prototype.enable = function () {}), + (Pn.prototype.disable = function () {}); var Hn = function (t) { this._map = t; }; @@ -36065,7 +36068,7 @@ var ut = { exports: {} }, (mi.prototype._addDefaultHandlers = function (t) { var e = this._map, r = e.getCanvasContainer(); - this._add('mapEvent', new kn(e, t)); + this._add('mapEvent', new Pn(e, t)); var n = (e.boxZoom = new zn(e, t)); this._add('boxZoom', n); var i = new Vn(), @@ -38549,7 +38552,7 @@ var ut = { exports: {} }, n.add('mapboxgl-' + r + '-anchor-' + e); } var Di, - Pi = (function (e) { + ki = (function (e) { function n(n, i) { if ( (e.call(this), @@ -38926,7 +38929,7 @@ var ut = { exports: {} }, n ); })(t.Evented), - ki = { + Pi = { positionOptions: { enableHighAccuracy: !1, maximumAge: 0, @@ -38942,7 +38945,7 @@ var ut = { exports: {} }, Oi = (function (e) { function n(r) { e.call(this), - (this.options = t.extend({}, ki, r)), + (this.options = t.extend({}, Pi, r)), t.bindAll( [ '_onSuccess', @@ -39220,12 +39223,12 @@ var ut = { exports: {} }, 'div', 'mapboxgl-user-location-dot' )), - (this._userLocationDotMarker = new Pi(this._dotElement)), + (this._userLocationDotMarker = new ki(this._dotElement)), (this._circleElement = r.create( 'div', 'mapboxgl-user-location-accuracy-circle' )), - (this._accuracyCircleMarker = new Pi({ + (this._accuracyCircleMarker = new ki({ element: this._circleElement, pitchAlignment: 'map', })), @@ -39909,7 +39912,7 @@ var ut = { exports: {} }, ScaleControl: Ki, FullscreenControl: Gi, Popup: Zi, - Marker: Pi, + Marker: ki, Style: Ve, LngLat: t.LngLat, LngLatBounds: t.LngLatBounds, @@ -39921,10 +39924,10 @@ var ut = { exports: {} }, Ht().acquire(Mt); }, clearPrewarmedResources: function () { - var t = Pt; + var t = kt; t && (t.isPreloaded() && 1 === t.numActive() - ? (t.release(Mt), (Pt = null)) + ? (t.release(Mt), (kt = null)) : console.warn( 'Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()' )); @@ -39963,17 +39966,17 @@ var ut = { exports: {} }, r ); })()); -const pt = []; -function ht(e, r = t) { +const ht = []; +function ft(e, r = t) { let n; const i = new Set(); function A(t) { if (o(e, t) && ((e = t), n)) { - const t = !pt.length; - for (const t of i) t[1](), pt.push(t, e); + const t = !ht.length; + for (const t of i) t[1](), ht.push(t, e); if (t) { - for (let t = 0; t < pt.length; t += 2) pt[t][0](pt[t + 1]); - pt.length = 0; + for (let t = 0; t < ht.length; t += 2) ht[t][0](ht[t + 1]); + ht.length = 0; } } } @@ -39995,10 +39998,10 @@ function ht(e, r = t) { }, }; } -const ft = ht([]), - dt = ht([]), - gt = ht([]), - mt = t => { +const dt = ft([]), + gt = ft([]), + mt = ft([]), + yt = t => { if (!Array.isArray(t)) return !1; const e = ['id', 'name', 'type']; return !( @@ -40008,22 +40011,22 @@ const ft = ht([]), }).length > 0 ); }, - yt = (t, e) => Math.round(t * 10 ** e) / 10 ** e; -var vt = /^\s+|\s+$/g, - _t = /^[-+]0x[0-9a-f]+$/i, - wt = /^0b[01]+$/i, - Bt = /^0o[0-7]+$/i, - xt = parseInt, - bt = 'object' == typeof st && st && st.Object === Object && st, - Ct = 'object' == typeof self && self && self.Object === Object && self, - Ft = bt || Ct || Function('return this')(), - Ut = Object.prototype.toString, - Qt = Math.max, - Et = Math.min, - It = function () { - return Ft.Date.now(); + vt = (t, e) => Math.round(t * 10 ** e) / 10 ** e; +var _t = /^\s+|\s+$/g, + wt = /^[-+]0x[0-9a-f]+$/i, + Bt = /^0b[01]+$/i, + xt = /^0o[0-7]+$/i, + bt = parseInt, + Ct = 'object' == typeof lt && lt && lt.Object === Object && lt, + Ft = 'object' == typeof self && self && self.Object === Object && self, + Ut = Ct || Ft || Function('return this')(), + Qt = Object.prototype.toString, + Et = Math.max, + It = Math.min, + St = function () { + return Ut.Date.now(); }; -function St(t, e, r) { +function Tt(t, e, r) { var n, i, A, @@ -40048,13 +40051,13 @@ function St(t, e, r) { return void 0 === s || r >= e || r < 0 || (c && t - l >= A); } function g() { - var t = It(); + var t = St(); if (d(t)) return m(t); a = setTimeout( g, (function (t) { var r = e - (t - s); - return c ? Et(r, A - (t - l)) : r; + return c ? It(r, A - (t - l)) : r; })(t) ); } @@ -40062,7 +40065,7 @@ function St(t, e, r) { return (a = void 0), p && n ? h(t) : ((n = i = void 0), o); } function y() { - var t = It(), + var t = St(), r = d(t); if (((n = arguments), (i = this), (s = t), r)) { if (void 0 === a) return f(s); @@ -40071,25 +40074,25 @@ function St(t, e, r) { return void 0 === a && (a = setTimeout(g, e)), o; } return ( - (e = Lt(e) || 0), - Tt(r) && + (e = Mt(e) || 0), + Lt(r) && ((u = !!r.leading), - (A = (c = 'maxWait' in r) ? Qt(Lt(r.maxWait) || 0, e) : A), + (A = (c = 'maxWait' in r) ? Et(Mt(r.maxWait) || 0, e) : A), (p = 'trailing' in r ? !!r.trailing : p)), (y.cancel = function () { void 0 !== a && clearTimeout(a), (l = 0), (n = s = i = a = void 0); }), (y.flush = function () { - return void 0 === a ? o : m(It()); + return void 0 === a ? o : m(St()); }), y ); } -function Tt(t) { +function Lt(t) { var e = typeof t; return !!t && ('object' == e || 'function' == e); } -function Lt(t) { +function Mt(t) { if ('number' == typeof t) return t; if ( (function (t) { @@ -40098,34 +40101,34 @@ function Lt(t) { ((function (t) { return !!t && 'object' == typeof t; })(t) && - '[object Symbol]' == Ut.call(t)) + '[object Symbol]' == Qt.call(t)) ); })(t) ) return NaN; - if (Tt(t)) { + if (Lt(t)) { var e = 'function' == typeof t.valueOf ? t.valueOf() : t; - t = Tt(e) ? e + '' : e; + t = Lt(e) ? e + '' : e; } if ('string' != typeof t) return 0 === t ? t : +t; - t = t.replace(vt, ''); - var r = wt.test(t); - return r || Bt.test(t) ? xt(t.slice(2), r ? 2 : 8) : _t.test(t) ? NaN : +t; + t = t.replace(_t, ''); + var r = Bt.test(t); + return r || xt.test(t) ? bt(t.slice(2), r ? 2 : 8) : wt.test(t) ? NaN : +t; } -var Mt, - Dt = function (t, e, r) { +var Dt, + kt = function (t, e, r) { var n = !0, i = !0; if ('function' != typeof t) throw new TypeError('Expected a function'); return ( - Tt(r) && + Lt(r) && ((n = 'leading' in r ? !!r.leading : n), (i = 'trailing' in r ? !!r.trailing : i)), - St(t, e, { leading: n, maxWait: e, trailing: i }) + Tt(t, e, { leading: n, maxWait: e, trailing: i }) ); }, Pt = Object.prototype.toString, - kt = function (t) { + Ht = function (t) { var e = Pt.call(t), r = '[object Arguments]' === e; return ( @@ -40141,13 +40144,13 @@ var Mt, ); }; if (!Object.keys) { - var Ht = Object.prototype.hasOwnProperty, - zt = Object.prototype.toString, - Ot = kt, - Rt = Object.prototype.propertyIsEnumerable, - Kt = !Rt.call({ toString: null }, 'toString'), - Vt = Rt.call(function () {}, 'prototype'), - Nt = [ + var zt = Object.prototype.hasOwnProperty, + Ot = Object.prototype.toString, + Rt = Ht, + Kt = Object.prototype.propertyIsEnumerable, + Vt = !Kt.call({ toString: null }, 'toString'), + Nt = Kt.call(function () {}, 'prototype'), + Gt = [ 'toString', 'toLocaleString', 'valueOf', @@ -40156,11 +40159,11 @@ if (!Object.keys) { 'propertyIsEnumerable', 'constructor', ], - Gt = function (t) { + jt = function (t) { var e = t.constructor; return e && e.prototype === t; }, - jt = { + Xt = { $applicationCache: !0, $console: !0, $external: !0, @@ -40185,18 +40188,18 @@ if (!Object.keys) { $webkitStorageInfo: !0, $window: !0, }, - Xt = (function () { + Zt = (function () { if ('undefined' == typeof window) return !1; for (var t in window) try { if ( - !jt['$' + t] && - Ht.call(window, t) && + !Xt['$' + t] && + zt.call(window, t) && null !== window[t] && 'object' == typeof window[t] ) try { - Gt(window[t]); + jt(window[t]); } catch (t) { return !0; } @@ -40205,50 +40208,50 @@ if (!Object.keys) { } return !1; })(); - Mt = function (t) { + Dt = function (t) { var e = null !== t && 'object' == typeof t, - r = '[object Function]' === zt.call(t), - n = Ot(t), - i = e && '[object String]' === zt.call(t), + r = '[object Function]' === Ot.call(t), + n = Rt(t), + i = e && '[object String]' === Ot.call(t), A = []; if (!e && !r && !n) throw new TypeError('Object.keys called on a non-object'); - var o = Vt && r; - if (i && t.length > 0 && !Ht.call(t, 0)) + var o = Nt && r; + if (i && t.length > 0 && !zt.call(t, 0)) for (var a = 0; a < t.length; ++a) A.push(String(a)); if (n && t.length > 0) for (var s = 0; s < t.length; ++s) A.push(String(s)); else for (var l in t) - (o && 'prototype' === l) || !Ht.call(t, l) || A.push(String(l)); - if (Kt) + (o && 'prototype' === l) || !zt.call(t, l) || A.push(String(l)); + if (Vt) for ( var u = (function (t) { - if ('undefined' == typeof window || !Xt) return Gt(t); + if ('undefined' == typeof window || !Zt) return jt(t); try { - return Gt(t); + return jt(t); } catch (t) { return !1; } })(t), c = 0; - c < Nt.length; + c < Gt.length; ++c ) - (u && 'constructor' === Nt[c]) || !Ht.call(t, Nt[c]) || A.push(Nt[c]); + (u && 'constructor' === Gt[c]) || !zt.call(t, Gt[c]) || A.push(Gt[c]); return A; }; } -var Zt = Mt, - qt = Array.prototype.slice, - Wt = kt, - Jt = Object.keys, - $t = Jt +var qt = Dt, + Wt = Array.prototype.slice, + Jt = Ht, + $t = Object.keys, + Yt = $t ? function (t) { - return Jt(t); + return $t(t); } - : Zt, - Yt = Object.keys; -$t.shim = function () { + : qt, + te = Object.keys; +Yt.shim = function () { if (Object.keys) { var t = (function () { var t = Object.keys(arguments); @@ -40256,13 +40259,13 @@ $t.shim = function () { })(1, 2); t || (Object.keys = function (t) { - return Wt(t) ? Yt(qt.call(t)) : Yt(t); + return Jt(t) ? te(Wt.call(t)) : te(t); }); - } else Object.keys = $t; - return Object.keys || $t; + } else Object.keys = Yt; + return Object.keys || Yt; }; -var te = $t, - ee = function () { +var ee = Yt, + re = function () { if ( 'function' != typeof Symbol || 'function' != typeof Object.getOwnPropertySymbols @@ -40292,37 +40295,37 @@ var te = $t, } return !0; }, - re = ee, - ne = function () { - return re() && !!Symbol.toStringTag; + ne = re, + ie = function () { + return ne() && !!Symbol.toStringTag; }, - ie = 'undefined' != typeof Symbol && Symbol, - Ae = ee, - oe = function () { + Ae = 'undefined' != typeof Symbol && Symbol, + oe = re, + ae = function () { return ( - 'function' == typeof ie && + 'function' == typeof Ae && 'function' == typeof Symbol && - 'symbol' == typeof ie('foo') && + 'symbol' == typeof Ae('foo') && 'symbol' == typeof Symbol('bar') && - Ae() + oe() ); }, - ae = 'Function.prototype.bind called on incompatible ', - se = Array.prototype.slice, - le = Object.prototype.toString, - ue = function (t) { + se = 'Function.prototype.bind called on incompatible ', + le = Array.prototype.slice, + ue = Object.prototype.toString, + ce = function (t) { var e = this; - if ('function' != typeof e || '[object Function]' !== le.call(e)) - throw new TypeError(ae + e); + if ('function' != typeof e || '[object Function]' !== ue.call(e)) + throw new TypeError(se + e); for ( var r, - n = se.call(arguments, 1), + n = le.call(arguments, 1), i = function () { if (this instanceof r) { - var i = e.apply(this, n.concat(se.call(arguments))); + var i = e.apply(this, n.concat(le.call(arguments))); return Object(i) === i ? i : this; } - return e.apply(t, n.concat(se.call(arguments))); + return e.apply(t, n.concat(le.call(arguments))); }, A = Math.max(0, e.length - n.length), o = [], @@ -40347,59 +40350,59 @@ var te = $t, } return r; }, - ce = Function.prototype.bind || ue, - pe = ce.call(Function.call, Object.prototype.hasOwnProperty), - he = SyntaxError, - fe = Function, - de = TypeError, - ge = function (t) { + pe = Function.prototype.bind || ce, + he = pe.call(Function.call, Object.prototype.hasOwnProperty), + fe = SyntaxError, + de = Function, + ge = TypeError, + me = function (t) { try { - return fe('"use strict"; return (' + t + ').constructor;')(); + return de('"use strict"; return (' + t + ').constructor;')(); } catch (t) {} }, - me = Object.getOwnPropertyDescriptor; -if (me) + ye = Object.getOwnPropertyDescriptor; +if (ye) try { - me({}, ''); + ye({}, ''); } catch (t) { - me = null; + ye = null; } -var ye = function () { - throw new de(); +var ve = function () { + throw new ge(); }, - ve = me + _e = ye ? (function () { try { - return ye; + return ve; } catch (t) { try { - return me(arguments, 'callee').get; + return ye(arguments, 'callee').get; } catch (t) { - return ye; + return ve; } } })() - : ye, - _e = oe(), - we = + : ve, + we = ae(), + Be = Object.getPrototypeOf || function (t) { return t.__proto__; }, - Be = {}, - xe = 'undefined' == typeof Uint8Array ? undefined : we(Uint8Array), - be = { + xe = {}, + be = 'undefined' == typeof Uint8Array ? undefined : Be(Uint8Array), + Ce = { '%AggregateError%': 'undefined' == typeof AggregateError ? undefined : AggregateError, '%Array%': Array, '%ArrayBuffer%': 'undefined' == typeof ArrayBuffer ? undefined : ArrayBuffer, - '%ArrayIteratorPrototype%': _e ? we([][Symbol.iterator]()) : undefined, + '%ArrayIteratorPrototype%': we ? Be([][Symbol.iterator]()) : undefined, '%AsyncFromSyncIteratorPrototype%': undefined, - '%AsyncFunction%': Be, - '%AsyncGenerator%': Be, - '%AsyncGeneratorFunction%': Be, - '%AsyncIteratorPrototype%': Be, + '%AsyncFunction%': xe, + '%AsyncGenerator%': xe, + '%AsyncGeneratorFunction%': xe, + '%AsyncIteratorPrototype%': xe, '%Atomics%': 'undefined' == typeof Atomics ? undefined : Atomics, '%BigInt%': 'undefined' == typeof BigInt ? undefined : BigInt, '%Boolean%': Boolean, @@ -40420,19 +40423,19 @@ var ye = function () { 'undefined' == typeof FinalizationRegistry ? undefined : FinalizationRegistry, - '%Function%': fe, - '%GeneratorFunction%': Be, + '%Function%': de, + '%GeneratorFunction%': xe, '%Int8Array%': 'undefined' == typeof Int8Array ? undefined : Int8Array, '%Int16Array%': 'undefined' == typeof Int16Array ? undefined : Int16Array, '%Int32Array%': 'undefined' == typeof Int32Array ? undefined : Int32Array, '%isFinite%': isFinite, '%isNaN%': isNaN, - '%IteratorPrototype%': _e ? we(we([][Symbol.iterator]())) : undefined, + '%IteratorPrototype%': we ? Be(Be([][Symbol.iterator]())) : undefined, '%JSON%': 'object' == typeof JSON ? JSON : undefined, '%Map%': 'undefined' == typeof Map ? undefined : Map, '%MapIteratorPrototype%': - 'undefined' != typeof Map && _e - ? we(new Map()[Symbol.iterator]()) + 'undefined' != typeof Map && we + ? Be(new Map()[Symbol.iterator]()) : undefined, '%Math%': Math, '%Number%': Number, @@ -40447,18 +40450,18 @@ var ye = function () { '%RegExp%': RegExp, '%Set%': 'undefined' == typeof Set ? undefined : Set, '%SetIteratorPrototype%': - 'undefined' != typeof Set && _e - ? we(new Set()[Symbol.iterator]()) + 'undefined' != typeof Set && we + ? Be(new Set()[Symbol.iterator]()) : undefined, '%SharedArrayBuffer%': 'undefined' == typeof SharedArrayBuffer ? undefined : SharedArrayBuffer, '%String%': String, - '%StringIteratorPrototype%': _e ? we(''[Symbol.iterator]()) : undefined, - '%Symbol%': _e ? Symbol : undefined, - '%SyntaxError%': he, - '%ThrowTypeError%': ve, - '%TypedArray%': xe, - '%TypeError%': de, + '%StringIteratorPrototype%': we ? Be(''[Symbol.iterator]()) : undefined, + '%Symbol%': we ? Symbol : undefined, + '%SyntaxError%': fe, + '%ThrowTypeError%': _e, + '%TypedArray%': be, + '%TypeError%': ge, '%Uint8Array%': 'undefined' == typeof Uint8Array ? undefined : Uint8Array, '%Uint8ClampedArray%': 'undefined' == typeof Uint8ClampedArray ? undefined : Uint8ClampedArray, @@ -40471,21 +40474,21 @@ var ye = function () { '%WeakRef%': 'undefined' == typeof WeakRef ? undefined : WeakRef, '%WeakSet%': 'undefined' == typeof WeakSet ? undefined : WeakSet, }, - Ce = function t(e) { + Fe = function t(e) { var r; - if ('%AsyncFunction%' === e) r = ge('async function () {}'); - else if ('%GeneratorFunction%' === e) r = ge('function* () {}'); - else if ('%AsyncGeneratorFunction%' === e) r = ge('async function* () {}'); + if ('%AsyncFunction%' === e) r = me('async function () {}'); + else if ('%GeneratorFunction%' === e) r = me('function* () {}'); + else if ('%AsyncGeneratorFunction%' === e) r = me('async function* () {}'); else if ('%AsyncGenerator%' === e) { var n = t('%AsyncGeneratorFunction%'); n && (r = n.prototype); } else if ('%AsyncIteratorPrototype%' === e) { var i = t('%AsyncGenerator%'); - i && (r = we(i.prototype)); + i && (r = Be(i.prototype)); } - return (be[e] = r), r; + return (Ce[e] = r), r; }, - Fe = { + Ue = { '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'], '%ArrayPrototype%': ['Array', 'prototype'], '%ArrayProto_entries%': ['Array', 'prototype', 'entries'], @@ -40542,26 +40545,26 @@ var ye = function () { '%WeakMapPrototype%': ['WeakMap', 'prototype'], '%WeakSetPrototype%': ['WeakSet', 'prototype'], }, - Ue = ce, Qe = pe, - Ee = Ue.call(Function.call, Array.prototype.concat), - Ie = Ue.call(Function.apply, Array.prototype.splice), - Se = Ue.call(Function.call, String.prototype.replace), - Te = Ue.call(Function.call, String.prototype.slice), - Le = + Ee = he, + Ie = Qe.call(Function.call, Array.prototype.concat), + Se = Qe.call(Function.apply, Array.prototype.splice), + Te = Qe.call(Function.call, String.prototype.replace), + Le = Qe.call(Function.call, String.prototype.slice), + Me = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, - Me = /\\(\\)?/g, - De = function (t) { - var e = Te(t, 0, 1), - r = Te(t, -1); + De = /\\(\\)?/g, + ke = function (t) { + var e = Le(t, 0, 1), + r = Le(t, -1); if ('%' === e && '%' !== r) - throw new he('invalid intrinsic syntax, expected closing `%`'); + throw new fe('invalid intrinsic syntax, expected closing `%`'); if ('%' === r && '%' !== e) - throw new he('invalid intrinsic syntax, expected opening `%`'); + throw new fe('invalid intrinsic syntax, expected opening `%`'); var n = []; return ( - Se(t, Le, function (t, e, r, i) { - n[n.length] = r ? Se(i, Me, '$1') : e || t; + Te(t, Me, function (t, e, r, i) { + n[n.length] = r ? Te(i, De, '$1') : e || t; }), n ); @@ -40569,35 +40572,35 @@ var ye = function () { Pe = function (t, e) { var r, n = t; - if ((Qe(Fe, n) && (n = '%' + (r = Fe[n])[0] + '%'), Qe(be, n))) { - var i = be[n]; - if ((i === Be && (i = Ce(n)), void 0 === i && !e)) - throw new de( + if ((Ee(Ue, n) && (n = '%' + (r = Ue[n])[0] + '%'), Ee(Ce, n))) { + var i = Ce[n]; + if ((i === xe && (i = Fe(n)), void 0 === i && !e)) + throw new ge( 'intrinsic ' + t + ' exists, but is not available. Please file an issue!' ); return { alias: r, name: n, value: i }; } - throw new he('intrinsic ' + t + ' does not exist!'); + throw new fe('intrinsic ' + t + ' does not exist!'); }, - ke = function (t, e) { + He = function (t, e) { if ('string' != typeof t || 0 === t.length) - throw new de('intrinsic name must be a non-empty string'); + throw new ge('intrinsic name must be a non-empty string'); if (arguments.length > 1 && 'boolean' != typeof e) - throw new de('"allowMissing" argument must be a boolean'); - var r = De(t), + throw new ge('"allowMissing" argument must be a boolean'); + var r = ke(t), n = r.length > 0 ? r[0] : '', i = Pe('%' + n + '%', e), A = i.name, o = i.value, a = !1, s = i.alias; - s && ((n = s[0]), Ie(r, Ee([0, 1], s))); + s && ((n = s[0]), Se(r, Ie([0, 1], s))); for (var l = 1, u = !0; l < r.length; l += 1) { var c = r[l], - p = Te(c, 0, 1), - h = Te(c, -1); + p = Le(c, 0, 1), + h = Le(c, -1); if ( ('"' === p || "'" === p || @@ -40607,38 +40610,38 @@ var ye = function () { '`' === h) && p !== h ) - throw new he('property names with quotes must have matching quotes'); + throw new fe('property names with quotes must have matching quotes'); if ( (('constructor' !== c && u) || (a = !0), - Qe(be, (A = '%' + (n += '.' + c) + '%'))) + Ee(Ce, (A = '%' + (n += '.' + c) + '%'))) ) - o = be[A]; + o = Ce[A]; else if (null != o) { if (!(c in o)) { if (!e) - throw new de( + throw new ge( 'base intrinsic for ' + t + ' exists, but the property is not available.' ); return; } - if (me && l + 1 >= r.length) { - var f = me(o, c); + if (ye && l + 1 >= r.length) { + var f = ye(o, c); o = (u = !!f) && 'get' in f && !('originalValue' in f.get) ? f.get : o[c]; - } else (u = Qe(o, c)), (o = o[c]); - u && !a && (be[A] = o); + } else (u = Ee(o, c)), (o = o[c]); + u && !a && (Ce[A] = o); } } return o; }, - He = { exports: {} }; + ze = { exports: {} }; !(function (t) { - var e = ce, - r = ke, + var e = pe, + r = He, n = r('%Function.prototype.apply%'), i = r('%Function.prototype.call%'), A = r('%Reflect.apply%', !0) || e.call(i, n), @@ -40664,91 +40667,91 @@ var ye = function () { return A(e, n, arguments); }; a ? a(t.exports, 'apply', { value: l }) : (t.exports.apply = l); -})(He); -var ze = ke, - Oe = He.exports, - Re = Oe(ze('String.prototype.indexOf')), - Ke = function (t, e) { - var r = ze(t, !!e); - return 'function' == typeof r && Re(t, '.prototype.') > -1 ? Oe(r) : r; +})(ze); +var Oe = He, + Re = ze.exports, + Ke = Re(Oe('String.prototype.indexOf')), + Ve = function (t, e) { + var r = Oe(t, !!e); + return 'function' == typeof r && Ke(t, '.prototype.') > -1 ? Re(r) : r; }, - Ve = ne(), - Ne = Ke('Object.prototype.toString'), - Ge = function (t) { + Ne = ie(), + Ge = Ve('Object.prototype.toString'), + je = function (t) { return ( - !(Ve && t && 'object' == typeof t && Symbol.toStringTag in t) && - '[object Arguments]' === Ne(t) + !(Ne && t && 'object' == typeof t && Symbol.toStringTag in t) && + '[object Arguments]' === Ge(t) ); }, - je = function (t) { + Xe = function (t) { return ( - !!Ge(t) || + !!je(t) || (null !== t && 'object' == typeof t && 'number' == typeof t.length && t.length >= 0 && - '[object Array]' !== Ne(t) && - '[object Function]' === Ne(t.callee)) + '[object Array]' !== Ge(t) && + '[object Function]' === Ge(t.callee)) ); }, - Xe = (function () { - return Ge(arguments); + Ze = (function () { + return je(arguments); })(); -Ge.isLegacyArguments = je; -var Ze = Xe ? Ge : je, - qe = te, - We = 'function' == typeof Symbol && 'symbol' == typeof Symbol('foo'), - Je = Object.prototype.toString, - $e = Array.prototype.concat, - Ye = Object.defineProperty, - tr = - Ye && +je.isLegacyArguments = Xe; +var qe = Ze ? je : Xe, + We = ee, + Je = 'function' == typeof Symbol && 'symbol' == typeof Symbol('foo'), + $e = Object.prototype.toString, + Ye = Array.prototype.concat, + tr = Object.defineProperty, + er = + tr && (function () { var t = {}; try { - for (var e in (Ye(t, 'x', { enumerable: !1, value: t }), t)) return !1; + for (var e in (tr(t, 'x', { enumerable: !1, value: t }), t)) return !1; return t.x === t; } catch (t) { return !1; } })(), - er = function (t, e, r, n) { + rr = function (t, e, r, n) { var i; (!(e in t) || ('function' == typeof (i = n) && - '[object Function]' === Je.call(i) && + '[object Function]' === $e.call(i) && n())) && - (tr - ? Ye(t, e, { configurable: !0, enumerable: !1, value: r, writable: !0 }) + (er + ? tr(t, e, { configurable: !0, enumerable: !1, value: r, writable: !0 }) : (t[e] = r)); }, - rr = function (t, e) { + nr = function (t, e) { var r = arguments.length > 2 ? arguments[2] : {}, - n = qe(e); - We && (n = $e.call(n, Object.getOwnPropertySymbols(e))); - for (var i = 0; i < n.length; i += 1) er(t, n[i], e[n[i]], r[n[i]]); + n = We(e); + Je && (n = Ye.call(n, Object.getOwnPropertySymbols(e))); + for (var i = 0; i < n.length; i += 1) rr(t, n[i], e[n[i]], r[n[i]]); }; -rr.supportsDescriptors = !!tr; -var nr = rr, - ir = function (t) { +nr.supportsDescriptors = !!er; +var ir = nr, + Ar = function (t) { return t != t; }, - Ar = function (t, e) { - return 0 === t && 0 === e ? 1 / t == 1 / e : t === e || !(!ir(t) || !ir(e)); + or = function (t, e) { + return 0 === t && 0 === e ? 1 / t == 1 / e : t === e || !(!Ar(t) || !Ar(e)); }, - or = Ar, - ar = function () { - return 'function' == typeof Object.is ? Object.is : or; + ar = or, + sr = function () { + return 'function' == typeof Object.is ? Object.is : ar; }, - sr = ar, - lr = nr, - ur = nr, - cr = Ar, - pr = ar, - hr = function () { - var t = sr(); + lr = sr, + ur = ir, + cr = ir, + pr = or, + hr = sr, + fr = function () { + var t = lr(); return ( - lr( + ur( Object, { is: t }, { @@ -40760,49 +40763,49 @@ var nr = rr, t ); }, - fr = (0, He.exports)(pr(), Object); -ur(fr, { getPolyfill: pr, implementation: cr, shim: hr }); -var dr, - gr, + dr = (0, ze.exports)(hr(), Object); +cr(dr, { getPolyfill: hr, implementation: pr, shim: fr }); +var gr, mr, yr, - vr = fr, - _r = Ke, - wr = ne(); -if (wr) { - (dr = _r('Object.prototype.hasOwnProperty')), - (gr = _r('RegExp.prototype.exec')), - (mr = {}); - var Br = function () { - throw mr; + vr, + _r = dr, + wr = Ve, + Br = ie(); +if (Br) { + (gr = wr('Object.prototype.hasOwnProperty')), + (mr = wr('RegExp.prototype.exec')), + (yr = {}); + var xr = function () { + throw yr; }; - (yr = { toString: Br, valueOf: Br }), - 'symbol' == typeof Symbol.toPrimitive && (yr[Symbol.toPrimitive] = Br); + (vr = { toString: xr, valueOf: xr }), + 'symbol' == typeof Symbol.toPrimitive && (vr[Symbol.toPrimitive] = xr); } -var xr = _r('Object.prototype.toString'), - br = Object.getOwnPropertyDescriptor, - Cr = wr +var br = wr('Object.prototype.toString'), + Cr = Object.getOwnPropertyDescriptor, + Fr = Br ? function (t) { if (!t || 'object' != typeof t) return !1; - var e = br(t, 'lastIndex'); - if (!(e && dr(e, 'value'))) return !1; + var e = Cr(t, 'lastIndex'); + if (!(e && gr(e, 'value'))) return !1; try { - gr(t, yr); + mr(t, vr); } catch (t) { - return t === mr; + return t === yr; } } : function (t) { return ( !(!t || ('object' != typeof t && 'function' != typeof t)) && - '[object RegExp]' === xr(t) + '[object RegExp]' === br(t) ); }, - Fr = Object, - Ur = TypeError, - Qr = function () { - if (null != this && this !== Fr(this)) - throw new Ur('RegExp.prototype.flags getter called on non-object'); + Ur = Object, + Qr = TypeError, + Er = function () { + if (null != this && this !== Ur(this)) + throw new Qr('RegExp.prototype.flags getter called on non-object'); var t = ''; return ( this.hasIndices && (t += 'd'), @@ -40815,93 +40818,93 @@ var xr = _r('Object.prototype.toString'), t ); }, - Er = Qr, - Ir = nr.supportsDescriptors, - Sr = Object.getOwnPropertyDescriptor, - Tr = function () { - if (Ir && 'gim' === /a/gim.flags) { - var t = Sr(RegExp.prototype, 'flags'); + Ir = Er, + Sr = ir.supportsDescriptors, + Tr = Object.getOwnPropertyDescriptor, + Lr = function () { + if (Sr && 'gim' === /a/gim.flags) { + var t = Tr(RegExp.prototype, 'flags'); if (t && 'function' == typeof t.get && 'boolean' == typeof /a/.dotAll) return t.get; } - return Er; + return Ir; }, - Lr = nr.supportsDescriptors, - Mr = Tr, - Dr = Object.getOwnPropertyDescriptor, + Mr = ir.supportsDescriptors, + Dr = Lr, + kr = Object.getOwnPropertyDescriptor, Pr = Object.defineProperty, - kr = TypeError, - Hr = Object.getPrototypeOf, - zr = /a/, - Or = nr, - Rr = Qr, - Kr = Tr, - Vr = function () { - if (!Lr || !Hr) - throw new kr( + Hr = TypeError, + zr = Object.getPrototypeOf, + Or = /a/, + Rr = ir, + Kr = Er, + Vr = Lr, + Nr = function () { + if (!Mr || !zr) + throw new Hr( 'RegExp.prototype.flags requires a true ES5 environment that supports property descriptors' ); - var t = Mr(), - e = Hr(zr), - r = Dr(e, 'flags'); + var t = Dr(), + e = zr(Or), + r = kr(e, 'flags'); return ( (r && r.get === t) || Pr(e, 'flags', { configurable: !0, enumerable: !1, get: t }), t ); }, - Nr = (0, He.exports)(Kr()); -Or(Nr, { getPolyfill: Kr, implementation: Rr, shim: Vr }); -var Gr = Nr, - jr = {}.toString, - Xr = + Gr = (0, ze.exports)(Vr()); +Rr(Gr, { getPolyfill: Vr, implementation: Kr, shim: Nr }); +var jr = Gr, + Xr = {}.toString, + Zr = Array.isArray || function (t) { - return '[object Array]' == jr.call(t); + return '[object Array]' == Xr.call(t); }, - Zr = Date.prototype.getDay, - qr = Object.prototype.toString, - Wr = ne(), - Jr = String.prototype.valueOf, - $r = Object.prototype.toString, - Yr = ne(), - tn = Number.prototype.toString, - en = Object.prototype.toString, - rn = ne(), - nn = Ke, - An = nn('Boolean.prototype.toString'), - on = nn('Object.prototype.toString'), - an = ne(), - sn = { exports: {} }, - ln = Object.prototype.toString; -if (oe()) { - var un = Symbol.prototype.toString, - cn = /^Symbol\(.*\)$/; - sn.exports = function (t) { + qr = Date.prototype.getDay, + Wr = Object.prototype.toString, + Jr = ie(), + $r = String.prototype.valueOf, + Yr = Object.prototype.toString, + tn = ie(), + en = Number.prototype.toString, + rn = Object.prototype.toString, + nn = ie(), + An = Ve, + on = An('Boolean.prototype.toString'), + an = An('Object.prototype.toString'), + sn = ie(), + ln = { exports: {} }, + un = Object.prototype.toString; +if (ae()) { + var cn = Symbol.prototype.toString, + pn = /^Symbol\(.*\)$/; + ln.exports = function (t) { if ('symbol' == typeof t) return !0; - if ('[object Symbol]' !== ln.call(t)) return !1; + if ('[object Symbol]' !== un.call(t)) return !1; try { return (function (t) { - return 'symbol' == typeof t.valueOf() && cn.test(un.call(t)); + return 'symbol' == typeof t.valueOf() && pn.test(cn.call(t)); })(t); } catch (t) { return !1; } }; } else - sn.exports = function (t) { + ln.exports = function (t) { return !1; }; -var pn = { exports: {} }, - hn = st.BigInt; +var hn = { exports: {} }, + fn = lt.BigInt; if ( - 'function' == typeof hn && + 'function' == typeof fn && 'function' == typeof BigInt && - 'bigint' == typeof hn(42) && + 'bigint' == typeof fn(42) && 'bigint' == typeof BigInt(42) ) { - var fn = BigInt.prototype.valueOf; - pn.exports = function (t) { + var dn = BigInt.prototype.valueOf; + hn.exports = function (t) { return ( null != t && 'boolean' != typeof t && @@ -40912,234 +40915,234 @@ if ( ('bigint' == typeof t || (function (t) { try { - return fn.call(t), !0; + return dn.call(t), !0; } catch (t) {} return !1; })(t)) ); }; } else - pn.exports = function (t) { + hn.exports = function (t) { return !1; }; -var dn, - gn = function (t) { +var gn, + mn = function (t) { return ( 'string' == typeof t || ('object' == typeof t && - (Yr + (tn ? (function (t) { try { - return Jr.call(t), !0; + return $r.call(t), !0; } catch (t) { return !1; } })(t) - : '[object String]' === $r.call(t))) + : '[object String]' === Yr.call(t))) ); }, - mn = function (t) { + yn = function (t) { return ( 'number' == typeof t || ('object' == typeof t && - (rn + (nn ? (function (t) { try { - return tn.call(t), !0; + return en.call(t), !0; } catch (t) { return !1; } })(t) - : '[object Number]' === en.call(t))) + : '[object Number]' === rn.call(t))) ); }, - yn = function (t) { + vn = function (t) { return ( 'boolean' == typeof t || (null !== t && 'object' == typeof t && - (an && Symbol.toStringTag in t + (sn && Symbol.toStringTag in t ? (function (t) { try { - return An(t), !0; + return on(t), !0; } catch (t) { return !1; } })(t) - : '[object Boolean]' === on(t))) + : '[object Boolean]' === an(t))) ); }, - vn = sn.exports, - _n = pn.exports, - wn = 'function' == typeof Map && Map.prototype ? Map : null, - Bn = 'function' == typeof Set && Set.prototype ? Set : null; -wn || - (dn = function (t) { + _n = ln.exports, + wn = hn.exports, + Bn = 'function' == typeof Map && Map.prototype ? Map : null, + xn = 'function' == typeof Set && Set.prototype ? Set : null; +Bn || + (gn = function (t) { return !1; }); -var xn = wn ? Map.prototype.has : null, - bn = Bn ? Set.prototype.has : null; -dn || - xn || - (dn = function (t) { +var bn = Bn ? Map.prototype.has : null, + Cn = xn ? Set.prototype.has : null; +gn || + bn || + (gn = function (t) { return !1; }); -var Cn, - Fn = - dn || +var Fn, + Un = + gn || function (t) { if (!t || 'object' != typeof t) return !1; try { - if ((xn.call(t), bn)) + if ((bn.call(t), Cn)) try { - bn.call(t); + Cn.call(t); } catch (t) { return !0; } - return t instanceof wn; + return t instanceof Bn; } catch (t) {} return !1; }, - Un = 'function' == typeof Map && Map.prototype ? Map : null, - Qn = 'function' == typeof Set && Set.prototype ? Set : null; -Qn || - (Cn = function (t) { + Qn = 'function' == typeof Map && Map.prototype ? Map : null, + En = 'function' == typeof Set && Set.prototype ? Set : null; +En || + (Fn = function (t) { return !1; }); -var En = Un ? Map.prototype.has : null, - In = Qn ? Set.prototype.has : null; -Cn || - In || - (Cn = function (t) { +var In = Qn ? Map.prototype.has : null, + Sn = En ? Set.prototype.has : null; +Fn || + Sn || + (Fn = function (t) { return !1; }); -var Sn, - Tn = - Cn || +var Tn, + Ln = + Fn || function (t) { if (!t || 'object' != typeof t) return !1; try { - if ((In.call(t), En)) + if ((Sn.call(t), In)) try { - En.call(t); + In.call(t); } catch (t) { return !0; } - return t instanceof Qn; + return t instanceof En; } catch (t) {} return !1; }, - Ln = 'function' == typeof WeakMap && WeakMap.prototype ? WeakMap : null, - Mn = 'function' == typeof WeakSet && WeakSet.prototype ? WeakSet : null; -Ln || - (Sn = function (t) { + Mn = 'function' == typeof WeakMap && WeakMap.prototype ? WeakMap : null, + Dn = 'function' == typeof WeakSet && WeakSet.prototype ? WeakSet : null; +Mn || + (Tn = function (t) { return !1; }); -var Dn = Ln ? Ln.prototype.has : null, - Pn = Mn ? Mn.prototype.has : null; -Sn || - Dn || - (Sn = function (t) { +var kn = Mn ? Mn.prototype.has : null, + Pn = Dn ? Dn.prototype.has : null; +Tn || + kn || + (Tn = function (t) { return !1; }); -var kn = - Sn || +var Hn = + Tn || function (t) { if (!t || 'object' != typeof t) return !1; try { - if ((Dn.call(t, Dn), Pn)) + if ((kn.call(t, kn), Pn)) try { Pn.call(t, Pn); } catch (t) { return !0; } - return t instanceof Ln; + return t instanceof Mn; } catch (t) {} return !1; }, - Hn = { exports: {} }, - zn = Ke, - On = ke('%WeakSet%', !0), - Rn = zn('WeakSet.prototype.has', !0); -if (Rn) { - var Kn = zn('WeakMap.prototype.has', !0); - Hn.exports = function (t) { + zn = { exports: {} }, + On = Ve, + Rn = He('%WeakSet%', !0), + Kn = On('WeakSet.prototype.has', !0); +if (Kn) { + var Vn = On('WeakMap.prototype.has', !0); + zn.exports = function (t) { if (!t || 'object' != typeof t) return !1; try { - if ((Rn(t, Rn), Kn)) + if ((Kn(t, Kn), Vn)) try { - Kn(t, Kn); + Vn(t, Vn); } catch (t) { return !0; } - return t instanceof On; + return t instanceof Rn; } catch (t) {} return !1; }; } else - Hn.exports = function (t) { + zn.exports = function (t) { return !1; }; -var Vn = Fn, - Nn = Tn, - Gn = kn, - jn = Hn.exports, - Xn = Symbol.iterator, - Zn = lt(Object.freeze({ __proto__: null, default: {} })), - qn = 'function' == typeof Map && Map.prototype, - Wn = - Object.getOwnPropertyDescriptor && qn +var Nn = Un, + Gn = Ln, + jn = Hn, + Xn = zn.exports, + Zn = Symbol.iterator, + qn = ut(Object.freeze({ __proto__: null, default: {} })), + Wn = 'function' == typeof Map && Map.prototype, + Jn = + Object.getOwnPropertyDescriptor && Wn ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null, - Jn = qn && Wn && 'function' == typeof Wn.get ? Wn.get : null, - $n = qn && Map.prototype.forEach, - Yn = 'function' == typeof Set && Set.prototype, - ti = - Object.getOwnPropertyDescriptor && Yn + $n = Wn && Jn && 'function' == typeof Jn.get ? Jn.get : null, + Yn = Wn && Map.prototype.forEach, + ti = 'function' == typeof Set && Set.prototype, + ei = + Object.getOwnPropertyDescriptor && ti ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null, - ei = Yn && ti && 'function' == typeof ti.get ? ti.get : null, - ri = Yn && Set.prototype.forEach, - ni = + ri = ti && ei && 'function' == typeof ei.get ? ei.get : null, + ni = ti && Set.prototype.forEach, + ii = 'function' == typeof WeakMap && WeakMap.prototype ? WeakMap.prototype.has : null, - ii = + Ai = 'function' == typeof WeakSet && WeakSet.prototype ? WeakSet.prototype.has : null, - Ai = + oi = 'function' == typeof WeakRef && WeakRef.prototype ? WeakRef.prototype.deref : null, - oi = Boolean.prototype.valueOf, - ai = Object.prototype.toString, - si = Function.prototype.toString, - li = String.prototype.match, - ui = String.prototype.slice, - ci = String.prototype.replace, - pi = String.prototype.toUpperCase, - hi = String.prototype.toLowerCase, - fi = RegExp.prototype.test, - di = Array.prototype.concat, - gi = Array.prototype.join, - mi = Array.prototype.slice, - yi = Math.floor, - vi = 'function' == typeof BigInt ? BigInt.prototype.valueOf : null, - _i = Object.getOwnPropertySymbols, - wi = + ai = Boolean.prototype.valueOf, + si = Object.prototype.toString, + li = Function.prototype.toString, + ui = String.prototype.match, + ci = String.prototype.slice, + pi = String.prototype.replace, + hi = String.prototype.toUpperCase, + fi = String.prototype.toLowerCase, + di = RegExp.prototype.test, + gi = Array.prototype.concat, + mi = Array.prototype.join, + yi = Array.prototype.slice, + vi = Math.floor, + _i = 'function' == typeof BigInt ? BigInt.prototype.valueOf : null, + wi = Object.getOwnPropertySymbols, + Bi = 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator ? Symbol.prototype.toString : null, - Bi = 'function' == typeof Symbol && 'object' == typeof Symbol.iterator, - xi = + xi = 'function' == typeof Symbol && 'object' == typeof Symbol.iterator, + bi = 'function' == typeof Symbol && Symbol.toStringTag && - (typeof Symbol.toStringTag === Bi || 'symbol') + (typeof Symbol.toStringTag === xi || 'symbol') ? Symbol.toStringTag : null, - bi = Object.prototype.propertyIsEnumerable, - Ci = + Ci = Object.prototype.propertyIsEnumerable, + Fi = ('function' == typeof Reflect ? Reflect.getPrototypeOf : Object.getPrototypeOf) || @@ -41148,138 +41151,138 @@ var Vn = Fn, return t.__proto__; } : null); -function Fi(t, e) { +function Ui(t, e) { if ( t === 1 / 0 || t === -1 / 0 || t != t || (t && t > -1e3 && t < 1e3) || - fi.call(/e/, e) + di.call(/e/, e) ) return e; var r = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g; if ('number' == typeof t) { - var n = t < 0 ? -yi(-t) : yi(t); + var n = t < 0 ? -vi(-t) : vi(t); if (n !== t) { var i = String(n), - A = ui.call(e, i.length + 1); + A = ci.call(e, i.length + 1); return ( - ci.call(i, r, '$&_') + + pi.call(i, r, '$&_') + '.' + - ci.call(ci.call(A, /([0-9]{3})/g, '$&_'), /_$/, '') + pi.call(pi.call(A, /([0-9]{3})/g, '$&_'), /_$/, '') ); } } - return ci.call(e, r, '$&_'); + return pi.call(e, r, '$&_'); } -var Ui = Zn.custom, - Qi = Ui && Ti(Ui) ? Ui : null; -function Ei(t, e, r) { +var Qi = qn.custom, + Ei = Qi && Li(Qi) ? Qi : null; +function Ii(t, e, r) { var n = 'double' === (r.quoteStyle || e) ? '"' : "'"; return n + t + n; } -function Ii(t) { - return ci.call(String(t), /"/g, '"'); -} function Si(t) { + return pi.call(String(t), /"/g, '"'); +} +function Ti(t) { return !( - '[object Array]' !== Di(t) || - (xi && 'object' == typeof t && xi in t) + '[object Array]' !== ki(t) || + (bi && 'object' == typeof t && bi in t) ); } -function Ti(t) { - if (Bi) return t && 'object' == typeof t && t instanceof Symbol; +function Li(t) { + if (xi) return t && 'object' == typeof t && t instanceof Symbol; if ('symbol' == typeof t) return !0; - if (!t || 'object' != typeof t || !wi) return !1; + if (!t || 'object' != typeof t || !Bi) return !1; try { - return wi.call(t), !0; + return Bi.call(t), !0; } catch (t) {} return !1; } -var Li = +var Mi = Object.prototype.hasOwnProperty || function (t) { return t in this; }; -function Mi(t, e) { - return Li.call(t, e); +function Di(t, e) { + return Mi.call(t, e); } -function Di(t) { - return ai.call(t); +function ki(t) { + return si.call(t); } function Pi(t, e) { if (t.indexOf) return t.indexOf(e); for (var r = 0, n = t.length; r < n; r++) if (t[r] === e) return r; return -1; } -function ki(t, e) { +function Hi(t, e) { if (t.length > e.maxStringLength) { var r = t.length - e.maxStringLength, n = '... ' + r + ' more character' + (r > 1 ? 's' : ''); - return ki(ui.call(t, 0, e.maxStringLength), e) + n; + return Hi(ci.call(t, 0, e.maxStringLength), e) + n; } - return Ei( - ci.call(ci.call(t, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, Hi), + return Ii( + pi.call(pi.call(t, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, zi), 'single', e ); } -function Hi(t) { +function zi(t) { var e = t.charCodeAt(0), r = { 8: 'b', 9: 't', 10: 'n', 12: 'f', 13: 'r' }[e]; - return r ? '\\' + r : '\\x' + (e < 16 ? '0' : '') + pi.call(e.toString(16)); + return r ? '\\' + r : '\\x' + (e < 16 ? '0' : '') + hi.call(e.toString(16)); } -function zi(t) { +function Oi(t) { return 'Object(' + t + ')'; } -function Oi(t) { +function Ri(t) { return t + ' { ? }'; } -function Ri(t, e, r, n) { - return t + ' (' + e + ') {' + (n ? Ki(r, n) : gi.call(r, ', ')) + '}'; +function Ki(t, e, r, n) { + return t + ' (' + e + ') {' + (n ? Vi(r, n) : mi.call(r, ', ')) + '}'; } -function Ki(t, e) { +function Vi(t, e) { if (0 === t.length) return ''; var r = '\n' + e.prev + e.base; - return r + gi.call(t, ',' + r) + '\n' + e.prev; + return r + mi.call(t, ',' + r) + '\n' + e.prev; } -function Vi(t, e) { - var r = Si(t), +function Ni(t, e) { + var r = Ti(t), n = []; if (r) { n.length = t.length; - for (var i = 0; i < t.length; i++) n[i] = Mi(t, i) ? e(t[i], t) : ''; + for (var i = 0; i < t.length; i++) n[i] = Di(t, i) ? e(t[i], t) : ''; } var A, - o = 'function' == typeof _i ? _i(t) : []; - if (Bi) { + o = 'function' == typeof wi ? wi(t) : []; + if (xi) { A = {}; for (var a = 0; a < o.length; a++) A['$' + o[a]] = o[a]; } for (var s in t) - Mi(t, s) && + Di(t, s) && ((r && String(Number(s)) === s && s < t.length) || - (Bi && A['$' + s] instanceof Symbol) || - (fi.call(/[^\w$]/, s) + (xi && A['$' + s] instanceof Symbol) || + (di.call(/[^\w$]/, s) ? n.push(e(s, t) + ': ' + e(t[s], t)) : n.push(s + ': ' + e(t[s], t)))); - if ('function' == typeof _i) + if ('function' == typeof wi) for (var l = 0; l < o.length; l++) - bi.call(t, o[l]) && n.push('[' + e(o[l]) + ']: ' + e(t[o[l]], t)); + Ci.call(t, o[l]) && n.push('[' + e(o[l]) + ']: ' + e(t[o[l]], t)); return n; } -var Ni = ke, - Gi = Ke, - ji = function t(e, r, n, i) { +var Gi = He, + ji = Ve, + Xi = function t(e, r, n, i) { var A = r || {}; if ( - Mi(A, 'quoteStyle') && + Di(A, 'quoteStyle') && 'single' !== A.quoteStyle && 'double' !== A.quoteStyle ) throw new TypeError('option "quoteStyle" must be "single" or "double"'); if ( - Mi(A, 'maxStringLength') && + Di(A, 'maxStringLength') && ('number' == typeof A.maxStringLength ? A.maxStringLength < 0 && A.maxStringLength !== 1 / 0 : null !== A.maxStringLength) @@ -41287,13 +41290,13 @@ var Ni = ke, throw new TypeError( 'option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`' ); - var o = !Mi(A, 'customInspect') || A.customInspect; + var o = !Di(A, 'customInspect') || A.customInspect; if ('boolean' != typeof o && 'symbol' !== o) throw new TypeError( 'option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`' ); if ( - Mi(A, 'indent') && + Di(A, 'indent') && null !== A.indent && '\t' !== A.indent && !(parseInt(A.indent, 10) === A.indent && A.indent > 0) @@ -41301,7 +41304,7 @@ var Ni = ke, throw new TypeError( 'option "indent" must be "\\t", an integer > 0, or `null`' ); - if (Mi(A, 'numericSeparator') && 'boolean' != typeof A.numericSeparator) + if (Di(A, 'numericSeparator') && 'boolean' != typeof A.numericSeparator) throw new TypeError( 'option "numericSeparator", if provided, must be `true` or `false`' ); @@ -41309,35 +41312,35 @@ var Ni = ke, if (void 0 === e) return 'undefined'; if (null === e) return 'null'; if ('boolean' == typeof e) return e ? 'true' : 'false'; - if ('string' == typeof e) return ki(e, A); + if ('string' == typeof e) return Hi(e, A); if ('number' == typeof e) { if (0 === e) return 1 / 0 / e > 0 ? '0' : '-0'; var s = String(e); - return a ? Fi(e, s) : s; + return a ? Ui(e, s) : s; } if ('bigint' == typeof e) { var l = String(e) + 'n'; - return a ? Fi(e, l) : l; + return a ? Ui(e, l) : l; } var u = void 0 === A.depth ? 5 : A.depth; if ((void 0 === n && (n = 0), n >= u && u > 0 && 'object' == typeof e)) - return Si(e) ? '[Array]' : '[Object]'; + return Ti(e) ? '[Array]' : '[Object]'; var c = (function (t, e) { var r; if ('\t' === t.indent) r = '\t'; else { if (!('number' == typeof t.indent && t.indent > 0)) return null; - r = gi.call(Array(t.indent + 1), ' '); + r = mi.call(Array(t.indent + 1), ' '); } - return { base: r, prev: gi.call(Array(e + 1), r) }; + return { base: r, prev: mi.call(Array(e + 1), r) }; })(A, n); if (void 0 === i) i = []; else if (Pi(i, e) >= 0) return '[Circular]'; function p(e, r, o) { - if ((r && (i = mi.call(i)).push(r), o)) { + if ((r && (i = yi.call(i)).push(r), o)) { var a = { depth: A.depth }; return ( - Mi(A, 'quoteStyle') && (a.quoteStyle = A.quoteStyle), + Di(A, 'quoteStyle') && (a.quoteStyle = A.quoteStyle), t(e, a, n + 1, i) ); } @@ -41346,23 +41349,23 @@ var Ni = ke, if ('function' == typeof e) { var h = (function (t) { if (t.name) return t.name; - var e = li.call(si.call(t), /^function\s*([\w$]+)/); + var e = ui.call(li.call(t), /^function\s*([\w$]+)/); if (e) return e[1]; return null; })(e), - f = Vi(e, p); + f = Ni(e, p); return ( '[Function' + (h ? ': ' + h : ' (anonymous)') + ']' + - (f.length > 0 ? ' { ' + gi.call(f, ', ') + ' }' : '') + (f.length > 0 ? ' { ' + mi.call(f, ', ') + ' }' : '') ); } - if (Ti(e)) { - var d = Bi - ? ci.call(String(e), /^(Symbol\(.*\))_[^)]*$/, '$1') - : wi.call(e); - return 'object' != typeof e || Bi ? d : zi(d); + if (Li(e)) { + var d = xi + ? pi.call(String(e), /^(Symbol\(.*\))_[^)]*$/, '$1') + : Bi.call(e); + return 'object' != typeof e || xi ? d : Oi(d); } if ( (function (t) { @@ -41375,60 +41378,60 @@ var Ni = ke, })(e) ) { for ( - var g = '<' + hi.call(String(e.nodeName)), + var g = '<' + fi.call(String(e.nodeName)), m = e.attributes || [], y = 0; y < m.length; y++ ) - g += ' ' + m[y].name + '=' + Ei(Ii(m[y].value), 'double', A); + g += ' ' + m[y].name + '=' + Ii(Si(m[y].value), 'double', A); return ( (g += '>'), e.childNodes && e.childNodes.length && (g += '...'), - (g += '' + hi.call(String(e.nodeName)) + '>') + (g += '' + fi.call(String(e.nodeName)) + '>') ); } - if (Si(e)) { + if (Ti(e)) { if (0 === e.length) return '[]'; - var v = Vi(e, p); + var v = Ni(e, p); return c && !(function (t) { for (var e = 0; e < t.length; e++) if (Pi(t[e], '\n') >= 0) return !1; return !0; })(v) - ? '[' + Ki(v, c) + ']' - : '[ ' + gi.call(v, ', ') + ' ]'; + ? '[' + Vi(v, c) + ']' + : '[ ' + mi.call(v, ', ') + ' ]'; } if ( (function (t) { return !( - '[object Error]' !== Di(t) || - (xi && 'object' == typeof t && xi in t) + '[object Error]' !== ki(t) || + (bi && 'object' == typeof t && bi in t) ); })(e) ) { - var _ = Vi(e, p); - return 'cause' in e && !bi.call(e, 'cause') + var _ = Ni(e, p); + return 'cause' in e && !Ci.call(e, 'cause') ? '{ [' + String(e) + '] ' + - gi.call(di.call('[cause]: ' + p(e.cause), _), ', ') + + mi.call(gi.call('[cause]: ' + p(e.cause), _), ', ') + ' }' : 0 === _.length ? '[' + String(e) + ']' - : '{ [' + String(e) + '] ' + gi.call(_, ', ') + ' }'; + : '{ [' + String(e) + '] ' + mi.call(_, ', ') + ' }'; } if ('object' == typeof e && o) { - if (Qi && 'function' == typeof e[Qi]) return e[Qi](); + if (Ei && 'function' == typeof e[Ei]) return e[Ei](); if ('symbol' !== o && 'function' == typeof e.inspect) return e.inspect(); } if ( (function (t) { - if (!Jn || !t || 'object' != typeof t) return !1; + if (!$n || !t || 'object' != typeof t) return !1; try { - Jn.call(t); + $n.call(t); try { - ei.call(t); + ri.call(t); } catch (t) { return !0; } @@ -41439,19 +41442,19 @@ var Ni = ke, ) { var w = []; return ( - $n.call(e, function (t, r) { + Yn.call(e, function (t, r) { w.push(p(r, e, !0) + ' => ' + p(t, e)); }), - Ri('Map', Jn.call(e), w, c) + Ki('Map', $n.call(e), w, c) ); } if ( (function (t) { - if (!ei || !t || 'object' != typeof t) return !1; + if (!ri || !t || 'object' != typeof t) return !1; try { - ei.call(t); + ri.call(t); try { - Jn.call(t); + $n.call(t); } catch (t) { return !0; } @@ -41462,19 +41465,19 @@ var Ni = ke, ) { var B = []; return ( - ri.call(e, function (t) { + ni.call(e, function (t) { B.push(p(t, e)); }), - Ri('Set', ei.call(e), B, c) + Ki('Set', ri.call(e), B, c) ); } if ( (function (t) { - if (!ni || !t || 'object' != typeof t) return !1; + if (!ii || !t || 'object' != typeof t) return !1; try { - ni.call(t, ni); + ii.call(t, ii); try { - ii.call(t, ii); + Ai.call(t, Ai); } catch (t) { return !0; } @@ -41483,14 +41486,14 @@ var Ni = ke, return !1; })(e) ) - return Oi('WeakMap'); + return Ri('WeakMap'); if ( (function (t) { - if (!ii || !t || 'object' != typeof t) return !1; + if (!Ai || !t || 'object' != typeof t) return !1; try { - ii.call(t, ii); + Ai.call(t, Ai); try { - ni.call(t, ni); + ii.call(t, ii); } catch (t) { return !0; } @@ -41499,76 +41502,76 @@ var Ni = ke, return !1; })(e) ) - return Oi('WeakSet'); + return Ri('WeakSet'); if ( (function (t) { - if (!Ai || !t || 'object' != typeof t) return !1; + if (!oi || !t || 'object' != typeof t) return !1; try { - return Ai.call(t), !0; + return oi.call(t), !0; } catch (t) {} return !1; })(e) ) - return Oi('WeakRef'); + return Ri('WeakRef'); if ( (function (t) { return !( - '[object Number]' !== Di(t) || - (xi && 'object' == typeof t && xi in t) + '[object Number]' !== ki(t) || + (bi && 'object' == typeof t && bi in t) ); })(e) ) - return zi(p(Number(e))); + return Oi(p(Number(e))); if ( (function (t) { - if (!t || 'object' != typeof t || !vi) return !1; + if (!t || 'object' != typeof t || !_i) return !1; try { - return vi.call(t), !0; + return _i.call(t), !0; } catch (t) {} return !1; })(e) ) - return zi(p(vi.call(e))); + return Oi(p(_i.call(e))); if ( (function (t) { return !( - '[object Boolean]' !== Di(t) || - (xi && 'object' == typeof t && xi in t) + '[object Boolean]' !== ki(t) || + (bi && 'object' == typeof t && bi in t) ); })(e) ) - return zi(oi.call(e)); + return Oi(ai.call(e)); if ( (function (t) { return !( - '[object String]' !== Di(t) || - (xi && 'object' == typeof t && xi in t) + '[object String]' !== ki(t) || + (bi && 'object' == typeof t && bi in t) ); })(e) ) - return zi(p(String(e))); + return Oi(p(String(e))); if ( !(function (t) { return !( - '[object Date]' !== Di(t) || - (xi && 'object' == typeof t && xi in t) + '[object Date]' !== ki(t) || + (bi && 'object' == typeof t && bi in t) ); })(e) && !(function (t) { return !( - '[object RegExp]' !== Di(t) || - (xi && 'object' == typeof t && xi in t) + '[object RegExp]' !== ki(t) || + (bi && 'object' == typeof t && bi in t) ); })(e) ) { - var x = Vi(e, p), - b = Ci - ? Ci(e) === Object.prototype + var x = Ni(e, p), + b = Fi + ? Fi(e) === Object.prototype : e instanceof Object || e.constructor === Object, C = e instanceof Object ? '' : 'null prototype', F = - !b && xi && Object(e) === e && xi in e - ? ui.call(Di(e), 8, -1) + !b && bi && Object(e) === e && bi in e + ? ci.call(ki(e), 8, -1) : C ? 'Object' : '', @@ -41579,40 +41582,40 @@ var Ni = ke, ? e.constructor.name + ' ' : '') + (F || C - ? '[' + gi.call(di.call([], F || [], C || []), ': ') + '] ' + ? '[' + mi.call(gi.call([], F || [], C || []), ': ') + '] ' : ''); return 0 === x.length ? U + '{}' : c - ? U + '{' + Ki(x, c) + '}' - : U + '{ ' + gi.call(x, ', ') + ' }'; + ? U + '{' + Vi(x, c) + '}' + : U + '{ ' + mi.call(x, ', ') + ' }'; } return String(e); }, - Xi = Ni('%TypeError%'), - Zi = Ni('%WeakMap%', !0), - qi = Ni('%Map%', !0), - Wi = Gi('WeakMap.prototype.get', !0), - Ji = Gi('WeakMap.prototype.set', !0), - $i = Gi('WeakMap.prototype.has', !0), - Yi = Gi('Map.prototype.get', !0), - tA = Gi('Map.prototype.set', !0), - eA = Gi('Map.prototype.has', !0), - rA = function (t, e) { + Zi = Gi('%TypeError%'), + qi = Gi('%WeakMap%', !0), + Wi = Gi('%Map%', !0), + Ji = ji('WeakMap.prototype.get', !0), + $i = ji('WeakMap.prototype.set', !0), + Yi = ji('WeakMap.prototype.has', !0), + tA = ji('Map.prototype.get', !0), + eA = ji('Map.prototype.set', !0), + rA = ji('Map.prototype.has', !0), + nA = function (t, e) { for (var r, n = t; null !== (r = n.next); n = r) if (r.key === e) return (n.next = r.next), (r.next = t.next), (t.next = r), r; }, - nA = Object.prototype.hasOwnProperty, - iA = Object.prototype.toString, - AA = function (t, e, r) { - if ('[object Function]' !== iA.call(e)) + iA = Object.prototype.hasOwnProperty, + AA = Object.prototype.toString, + oA = function (t, e, r) { + if ('[object Function]' !== AA.call(e)) throw new TypeError('iterator must be a function'); var n = t.length; if (n === +n) for (var i = 0; i < n; i++) e.call(r, t[i], i, t); - else for (var A in t) nA.call(t, A) && e.call(r, t[A], A, t); + else for (var A in t) iA.call(t, A) && e.call(r, t[A], A, t); }, - oA = [ + aA = [ 'BigInt64Array', 'BigUint64Array', 'Float32Array', @@ -41625,92 +41628,92 @@ var Ni = ke, 'Uint8Array', 'Uint8ClampedArray', ], - aA = 'undefined' == typeof globalThis ? st : globalThis, - sA = function () { - for (var t = [], e = 0; e < oA.length; e++) - 'function' == typeof aA[oA[e]] && (t[t.length] = oA[e]); + sA = 'undefined' == typeof globalThis ? lt : globalThis, + lA = function () { + for (var t = [], e = 0; e < aA.length; e++) + 'function' == typeof sA[aA[e]] && (t[t.length] = aA[e]); return t; }, - lA = ke('%Object.getOwnPropertyDescriptor%', !0); -if (lA) + uA = He('%Object.getOwnPropertyDescriptor%', !0); +if (uA) try { - lA([], 'length'); + uA([], 'length'); } catch (t) { - lA = null; + uA = null; } -var uA = lA, - cA = AA, - pA = sA, - hA = Ke, - fA = hA('Object.prototype.toString'), - dA = ne(), - gA = 'undefined' == typeof globalThis ? st : globalThis, - mA = pA(), - yA = - hA('Array.prototype.indexOf', !0) || +var cA = uA, + pA = oA, + hA = lA, + fA = Ve, + dA = fA('Object.prototype.toString'), + gA = ie(), + mA = 'undefined' == typeof globalThis ? lt : globalThis, + yA = hA(), + vA = + fA('Array.prototype.indexOf', !0) || function (t, e) { for (var r = 0; r < t.length; r += 1) if (t[r] === e) return r; return -1; }, - vA = hA('String.prototype.slice'), - _A = {}, - wA = uA, - BA = Object.getPrototypeOf; -dA && - wA && + _A = fA('String.prototype.slice'), + wA = {}, + BA = cA, + xA = Object.getPrototypeOf; +gA && BA && - cA(mA, function (t) { - var e = new gA[t](); + xA && + pA(yA, function (t) { + var e = new mA[t](); if (Symbol.toStringTag in e) { - var r = BA(e), - n = wA(r, Symbol.toStringTag); + var r = xA(e), + n = BA(r, Symbol.toStringTag); if (!n) { - var i = BA(r); - n = wA(i, Symbol.toStringTag); + var i = xA(r); + n = BA(i, Symbol.toStringTag); } - _A[t] = n.get; + wA[t] = n.get; } }); -var xA = AA, - bA = sA, - CA = Ke, - FA = CA('Object.prototype.toString'), - UA = ne(), - QA = 'undefined' == typeof globalThis ? st : globalThis, - EA = bA(), - IA = CA('String.prototype.slice'), - SA = {}, - TA = uA, - LA = Object.getPrototypeOf; -UA && - TA && +var bA = oA, + CA = lA, + FA = Ve, + UA = FA('Object.prototype.toString'), + QA = ie(), + EA = 'undefined' == typeof globalThis ? lt : globalThis, + IA = CA(), + SA = FA('String.prototype.slice'), + TA = {}, + LA = cA, + MA = Object.getPrototypeOf; +QA && LA && - xA(EA, function (t) { - if ('function' == typeof QA[t]) { - var e = new QA[t](); + MA && + bA(IA, function (t) { + if ('function' == typeof EA[t]) { + var e = new EA[t](); if (Symbol.toStringTag in e) { - var r = LA(e), - n = TA(r, Symbol.toStringTag); + var r = MA(e), + n = LA(r, Symbol.toStringTag); if (!n) { - var i = LA(r); - n = TA(i, Symbol.toStringTag); + var i = MA(r); + n = LA(i, Symbol.toStringTag); } - SA[t] = n.get; + TA[t] = n.get; } } }); -var MA = function (t) { +var DA = function (t) { if (!t || 'object' != typeof t) return !1; - if (!dA || !(Symbol.toStringTag in t)) { - var e = vA(fA(t), 8, -1); - return yA(mA, e) > -1; + if (!gA || !(Symbol.toStringTag in t)) { + var e = _A(dA(t), 8, -1); + return vA(yA, e) > -1; } return ( - !!wA && + !!BA && (function (t) { var e = !1; return ( - cA(_A, function (r, n) { + pA(wA, function (r, n) { if (!e) try { e = r.call(t) === n; @@ -41721,17 +41724,17 @@ var MA = function (t) { })(t) ); }, - DA = te, + kA = ee, PA = function (t) { return null != t; }, - kA = ee(), - HA = Ke, - zA = Object, - OA = HA('Array.prototype.push'), - RA = HA('Object.prototype.propertyIsEnumerable'), - KA = kA ? Object.getOwnPropertySymbols : null, - VA = function (t, e) { + HA = re(), + zA = Ve, + OA = Object, + RA = zA('Array.prototype.push'), + KA = zA('Object.prototype.propertyIsEnumerable'), + VA = HA ? Object.getOwnPropertySymbols : null, + NA = function (t, e) { if (!PA(t)) throw new TypeError('target must be an object'); var r, n, @@ -41740,20 +41743,20 @@ var MA = function (t) { o, a, s, - l = zA(t); + l = OA(t); for (r = 1; r < arguments.length; ++r) { - (n = zA(arguments[r])), (A = DA(n)); - var u = kA && (Object.getOwnPropertySymbols || KA); + (n = OA(arguments[r])), (A = kA(n)); + var u = HA && (Object.getOwnPropertySymbols || VA); if (u) for (o = u(n), i = 0; i < o.length; ++i) - (s = o[i]), RA(n, s) && OA(A, s); + (s = o[i]), KA(n, s) && RA(A, s); for (i = 0; i < A.length; ++i) - (a = n[(s = A[i])]), RA(n, s) && (l[s] = a); + (a = n[(s = A[i])]), KA(n, s) && (l[s] = a); } return l; }, - NA = VA, - GA = function () { + GA = NA, + jA = function () { return Object.assign ? (function () { if (!Object.assign) return !1; @@ -41778,19 +41781,19 @@ var MA = function (t) { } return !1; })() - ? NA + ? GA : Object.assign - : NA; + : GA; }, - jA = nr, - XA = GA, - ZA = nr, - qA = VA, - WA = GA, - JA = function () { - var t = XA(); + XA = ir, + ZA = jA, + qA = ir, + WA = NA, + JA = jA, + $A = function () { + var t = ZA(); return ( - jA( + XA( Object, { assign: t }, { @@ -41802,99 +41805,99 @@ var MA = function (t) { t ); }, - $A = He.exports.apply(WA()), - YA = function (t, e) { - return $A(Object, arguments); + YA = ze.exports.apply(JA()), + to = function (t, e) { + return YA(Object, arguments); }; -ZA(YA, { getPolyfill: WA, implementation: qA, shim: JA }); -var to = te, - eo = Ze, - ro = vr, - no = Cr, - io = Gr, - Ao = Xr, - oo = function (t) { +qA(to, { getPolyfill: JA, implementation: WA, shim: $A }); +var eo = ee, + ro = qe, + no = _r, + io = Fr, + Ao = jr, + oo = Zr, + ao = function (t) { return ( 'object' == typeof t && null !== t && - (Wr + (Jr ? (function (t) { try { - return Zr.call(t), !0; + return qr.call(t), !0; } catch (t) { return !1; } })(t) - : '[object Date]' === qr.call(t)) + : '[object Date]' === Wr.call(t)) ); }, - ao = function (t) { + so = function (t) { return null == t || ('object' != typeof t && 'function' != typeof t) ? null - : gn(t) - ? 'String' : mn(t) - ? 'Number' + ? 'String' : yn(t) - ? 'Boolean' + ? 'Number' : vn(t) - ? 'Symbol' + ? 'Boolean' : _n(t) + ? 'Symbol' + : wn(t) ? 'BigInt' : void 0; }, - so = ke, - lo = Ke, - uo = function (t) { + lo = He, + uo = Ve, + co = function (t) { if (t && 'object' == typeof t) { - if (Vn(t)) return 'Map'; - if (Nn(t)) return 'Set'; - if (Gn(t)) return 'WeakMap'; - if (jn(t)) return 'WeakSet'; + if (Nn(t)) return 'Map'; + if (Gn(t)) return 'Set'; + if (jn(t)) return 'WeakMap'; + if (Xn(t)) return 'WeakSet'; } return !1; }, - co = function (t) { - if (null != t && void 0 !== t[Xn]) return t[Xn](); + po = function (t) { + if (null != t && void 0 !== t[Zn]) return t[Zn](); }, - po = function () { + ho = function () { var t, e, r, n = { assert: function (t) { - if (!n.has(t)) throw new Xi('Side channel does not contain ' + ji(t)); + if (!n.has(t)) throw new Zi('Side channel does not contain ' + Xi(t)); }, get: function (n) { - if (Zi && n && ('object' == typeof n || 'function' == typeof n)) { - if (t) return Wi(t, n); - } else if (qi) { - if (e) return Yi(e, n); + if (qi && n && ('object' == typeof n || 'function' == typeof n)) { + if (t) return Ji(t, n); + } else if (Wi) { + if (e) return tA(e, n); } else if (r) return (function (t, e) { - var r = rA(t, e); + var r = nA(t, e); return r && r.value; })(r, n); }, has: function (n) { - if (Zi && n && ('object' == typeof n || 'function' == typeof n)) { - if (t) return $i(t, n); - } else if (qi) { - if (e) return eA(e, n); + if (qi && n && ('object' == typeof n || 'function' == typeof n)) { + if (t) return Yi(t, n); + } else if (Wi) { + if (e) return rA(e, n); } else if (r) return (function (t, e) { - return !!rA(t, e); + return !!nA(t, e); })(r, n); return !1; }, set: function (n, i) { - Zi && n && ('object' == typeof n || 'function' == typeof n) - ? (t || (t = new Zi()), Ji(t, n, i)) - : qi - ? (e || (e = new qi()), tA(e, n, i)) + qi && n && ('object' == typeof n || 'function' == typeof n) + ? (t || (t = new qi()), $i(t, n, i)) + : Wi + ? (e || (e = new Wi()), eA(e, n, i)) : (r || (r = { key: {}, next: null }), (function (t, e, r) { - var n = rA(t, e); + var n = nA(t, e); n ? (n.value = r) : (t.next = { key: e, next: t.next, value: r }); @@ -41903,14 +41906,14 @@ var to = te, }; return n; }, - ho = function (t) { + fo = function (t) { return ( - !!MA(t) && - (UA && Symbol.toStringTag in t + !!DA(t) && + (QA && Symbol.toStringTag in t ? (function (t) { var e = !1; return ( - xA(SA, function (r, n) { + bA(TA, function (r, n) { if (!e) try { var i = r.call(t); @@ -41920,27 +41923,27 @@ var to = te, e ); })(t) - : IA(FA(t), 8, -1)) + : SA(UA(t), 8, -1)) ); }, - fo = YA, - go = lo('Date.prototype.getTime'), - mo = Object.getPrototypeOf, - yo = lo('Object.prototype.toString'), - vo = so('%Set%', !0), - _o = lo('Map.prototype.has', !0), - wo = lo('Map.prototype.get', !0), - Bo = lo('Map.prototype.size', !0), - xo = lo('Set.prototype.add', !0), - bo = lo('Set.prototype.delete', !0), - Co = lo('Set.prototype.has', !0), - Fo = lo('Set.prototype.size', !0); -function Uo(t, e, r, n) { - for (var i, A = co(t); (i = A.next()) && !i.done; ) - if (To(e, i.value, r, n)) return bo(t, i.value), !0; + go = to, + mo = uo('Date.prototype.getTime'), + yo = Object.getPrototypeOf, + vo = uo('Object.prototype.toString'), + _o = lo('%Set%', !0), + wo = uo('Map.prototype.has', !0), + Bo = uo('Map.prototype.get', !0), + xo = uo('Map.prototype.size', !0), + bo = uo('Set.prototype.add', !0), + Co = uo('Set.prototype.delete', !0), + Fo = uo('Set.prototype.has', !0), + Uo = uo('Set.prototype.size', !0); +function Qo(t, e, r, n) { + for (var i, A = po(t); (i = A.next()) && !i.done; ) + if (Lo(e, i.value, r, n)) return Co(t, i.value), !0; return !1; } -function Qo(t) { +function Eo(t) { return void 0 === t ? null : 'object' != typeof t @@ -41948,33 +41951,33 @@ function Qo(t) { (('string' != typeof t && 'number' != typeof t) || +t == +t) : void 0; } -function Eo(t, e, r, n, i, A) { - var o = Qo(r); +function Io(t, e, r, n, i, A) { + var o = Eo(r); if (null != o) return o; - var a = wo(e, o), - s = fo({}, i, { strict: !1 }); + var a = Bo(e, o), + s = go({}, i, { strict: !1 }); return ( - !((void 0 === a && !_o(e, o)) || !To(n, a, s, A)) && - !_o(t, o) && - To(n, a, s, A) + !((void 0 === a && !wo(e, o)) || !Lo(n, a, s, A)) && + !wo(t, o) && + Lo(n, a, s, A) ); } -function Io(t, e, r) { - var n = Qo(r); - return null != n ? n : Co(e, n) && !Co(t, n); +function So(t, e, r) { + var n = Eo(r); + return null != n ? n : Fo(e, n) && !Fo(t, n); } -function So(t, e, r, n, i, A) { - for (var o, a, s = co(t); (o = s.next()) && !o.done; ) - if (To(r, (a = o.value), i, A) && To(n, wo(e, a), i, A)) - return bo(t, a), !0; +function To(t, e, r, n, i, A) { + for (var o, a, s = po(t); (o = s.next()) && !o.done; ) + if (Lo(r, (a = o.value), i, A) && Lo(n, Bo(e, a), i, A)) + return Co(t, a), !0; return !1; } -function To(t, e, r, n) { +function Lo(t, e, r, n) { var i = r || {}; - if (i.strict ? ro(t, e) : t === e) return !0; - if (ao(t) !== ao(e)) return !1; + if (i.strict ? no(t, e) : t === e) return !0; + if (so(t) !== so(e)) return !1; if (!t || !e || ('object' != typeof t && 'object' != typeof e)) - return i.strict ? ro(t, e) : t == e; + return i.strict ? no(t, e) : t == e; var A, o = n.has(t), a = n.has(e); @@ -41988,27 +41991,27 @@ function To(t, e, r, n) { var i, A; if (typeof t != typeof e) return !1; if (null == t || null == e) return !1; - if (yo(t) !== yo(e)) return !1; - if (eo(t) !== eo(e)) return !1; - var o = Ao(t), - a = Ao(e); + if (vo(t) !== vo(e)) return !1; + if (ro(t) !== ro(e)) return !1; + var o = oo(t), + a = oo(e); if (o !== a) return !1; var s = t instanceof Error, l = e instanceof Error; if (s !== l) return !1; if ((s || l) && (t.name !== e.name || t.message !== e.message)) return !1; - var u = no(t), - c = no(e); + var u = io(t), + c = io(e); if (u !== c) return !1; - if ((u || c) && (t.source !== e.source || io(t) !== io(e))) return !1; - var p = oo(t), - h = oo(e); + if ((u || c) && (t.source !== e.source || Ao(t) !== Ao(e))) return !1; + var p = ao(t), + h = ao(e); if (p !== h) return !1; - if ((p || h) && go(t) !== go(e)) return !1; - if (r.strict && mo && mo(t) !== mo(e)) return !1; - if (ho(t) !== ho(e)) return !1; - var f = Lo(t), - d = Lo(e); + if ((p || h) && mo(t) !== mo(e)) return !1; + if (r.strict && yo && yo(t) !== yo(e)) return !1; + if (fo(t) !== fo(e)) return !1; + var f = Mo(t), + d = Mo(e); if (f !== d) return !1; if (f || d) { if (t.length !== e.length) return !1; @@ -42016,83 +42019,83 @@ function To(t, e, r, n) { return !0; } if (typeof t != typeof e) return !1; - var g = to(t), - m = to(e); + var g = eo(t), + m = eo(e); if (g.length !== m.length) return !1; for (g.sort(), m.sort(), i = g.length - 1; i >= 0; i--) if (g[i] != m[i]) return !1; for (i = g.length - 1; i >= 0; i--) - if (!To(t[(A = g[i])], e[A], r, n)) return !1; - var y = uo(t), - v = uo(e); + if (!Lo(t[(A = g[i])], e[A], r, n)) return !1; + var y = co(t), + v = co(e); if (y !== v) return !1; if ('Set' === y || 'Set' === v) return (function (t, e, r, n) { - if (Fo(t) !== Fo(e)) return !1; + if (Uo(t) !== Uo(e)) return !1; var i, A, o, - a = co(t), - s = co(e); + a = po(t), + s = po(e); for (; (i = a.next()) && !i.done; ) if (i.value && 'object' == typeof i.value) - o || (o = new vo()), xo(o, i.value); - else if (!Co(e, i.value)) { + o || (o = new _o()), bo(o, i.value); + else if (!Fo(e, i.value)) { if (r.strict) return !1; - if (!Io(t, e, i.value)) return !1; - o || (o = new vo()), xo(o, i.value); + if (!So(t, e, i.value)) return !1; + o || (o = new _o()), bo(o, i.value); } if (o) { for (; (A = s.next()) && !A.done; ) if (A.value && 'object' == typeof A.value) { - if (!Uo(o, A.value, r.strict, n)) return !1; + if (!Qo(o, A.value, r.strict, n)) return !1; } else if ( !r.strict && - !Co(t, A.value) && - !Uo(o, A.value, r.strict, n) + !Fo(t, A.value) && + !Qo(o, A.value, r.strict, n) ) return !1; - return 0 === Fo(o); + return 0 === Uo(o); } return !0; })(t, e, r, n); if ('Map' === y) return (function (t, e, r, n) { - if (Bo(t) !== Bo(e)) return !1; + if (xo(t) !== xo(e)) return !1; var i, A, o, a, s, l, - u = co(t), - c = co(e); + u = po(t), + c = po(e); for (; (i = u.next()) && !i.done; ) if (((a = i.value[0]), (s = i.value[1]), a && 'object' == typeof a)) - o || (o = new vo()), xo(o, a); + o || (o = new _o()), bo(o, a); else if ( - (void 0 === (l = wo(e, a)) && !_o(e, a)) || - !To(s, l, r, n) + (void 0 === (l = Bo(e, a)) && !wo(e, a)) || + !Lo(s, l, r, n) ) { if (r.strict) return !1; - if (!Eo(t, e, a, s, r, n)) return !1; - o || (o = new vo()), xo(o, a); + if (!Io(t, e, a, s, r, n)) return !1; + o || (o = new _o()), bo(o, a); } if (o) { for (; (A = c.next()) && !A.done; ) if ( ((a = A.value[0]), (l = A.value[1]), a && 'object' == typeof a) ) { - if (!So(o, t, a, l, r, n)) return !1; + if (!To(o, t, a, l, r, n)) return !1; } else if ( !( r.strict || - (t.has(a) && To(wo(t, a), l, r, n)) || - So(o, t, a, l, fo({}, r, { strict: !1 }), n) + (t.has(a) && Lo(Bo(t, a), l, r, n)) || + To(o, t, a, l, go({}, r, { strict: !1 }), n) ) ) return !1; - return 0 === Fo(o); + return 0 === Uo(o); } return !0; })(t, e, r, n); @@ -42100,7 +42103,7 @@ function To(t, e, r, n) { })(t, e, i, n) ); } -function Lo(t) { +function Mo(t) { return ( !(!t || 'object' != typeof t || 'number' != typeof t.length) && 'function' == typeof t.copy && @@ -42109,10 +42112,10 @@ function Lo(t) { !!(t.constructor && t.constructor.isBuffer && t.constructor.isBuffer(t)) ); } -var Mo = function (t, e, r) { - return To(t, e, r, po()); +var Do = function (t, e, r) { + return Lo(t, e, r, ho()); }, - Do = function t(e, r) { + ko = function t(e, r) { if (e === r) return !0; if (e && r && 'object' == typeof e && 'object' == typeof r) { if (e.constructor !== r.constructor) return !1; @@ -42147,7 +42150,7 @@ var Po; (t[(t.SUCCESS = 2)] = 'SUCCESS'), (t[(t.FAILURE = 3)] = 'FAILURE'); })(Po || (Po = {})); -class ko { +class Ho { constructor({ apiKey: t, channel: e, @@ -42180,17 +42183,17 @@ class ko { (this.nonce = l), (this.retries = u), (this.url = c), - ko.instance) + Ho.instance) ) { - if (!Do(this.options, ko.instance.options)) + if (!ko(this.options, Ho.instance.options)) throw new Error( `Loader must not be called again with different options. ${JSON.stringify( this.options - )} !== ${JSON.stringify(ko.instance.options)}` + )} !== ${JSON.stringify(Ho.instance.options)}` ); - return ko.instance; + return Ho.instance; } - ko.instance = this; + Ho.instance = this; } get options() { return { @@ -42310,7 +42313,7 @@ class ko { } } } -function Ho(e) { +function zo(e) { let r; return { c() { @@ -42329,7 +42332,7 @@ function Ho(e) { }, }; } -function zo(t, e, r) { +function Oo(t, e, r) { let n, i, { index: A } = e, @@ -42343,11 +42346,11 @@ function zo(t, e, r) { { mapStyle: h } = e, { numberOfMaps: f } = e, d = 0; - gt.subscribe(t => ({ googleMapsAPIKey: i } = t)); - const g = D(); + mt.subscribe(t => ({ googleMapsAPIKey: i } = t)); + const g = k(); let m, y = {}; - const v = new ko({ apiKey: i, version: 'beta' }), + const v = new Ho({ apiKey: i, version: 'beta' }), _ = () => ({ bearing: m.getHeading(), center: { lng: m.getCenter().lng(), lat: m.getCenter().lat() }, @@ -42357,13 +42360,13 @@ function zo(t, e, r) { w = () => { const t = B(_()), e = B(y); - return !Mo(t, e); + return !Do(t, e); }, B = t => ({ - bearing: yt(t.bearing, 1), - pitch: yt(t.pitch, 1), - center: { lat: yt(t.center.lat, 6), lng: yt(t.center.lng, 6) }, - zoom: yt(t.zoom, 2), + bearing: vt(t.bearing, 1), + pitch: vt(t.pitch, 1), + center: { lat: vt(t.center.lat, 6), lng: vt(t.center.lng, 6) }, + zoom: vt(t.zoom, 2), }); return ( M(() => { @@ -42388,7 +42391,7 @@ function zo(t, e, r) { zoomControl: !1, })) ); - const i = Dt(() => { + const i = kt(() => { document.getElementById(o).querySelector('div[tabindex="0"]').focus(); }, 250); document @@ -42445,10 +42448,10 @@ function zo(t, e, r) { [o, A, a, s, l, u, c, p, h, f, d, m, y] ); } -class Oo extends at { +class Ro extends st { constructor(t) { super(), - ot(this, t, zo, Ho, o, { + at(this, t, Oo, zo, o, { index: 1, id: 0, bearing: 2, @@ -42462,11 +42465,11 @@ class Oo extends at { }); } } -function Ro(e) { +function Ko(e) { let r; return { c() { - (r = d('div')), w(r, 'id', e[0]), w(r, 'class', 'map svelte-16c2pp7'); + (r = d('div')), w(r, 'id', e[0]), w(r, 'class', 'map svelte-18031t1'); }, m(t, e) { p(t, r, e); @@ -42481,7 +42484,7 @@ function Ro(e) { }, }; } -function Ko(t, e, r) { +function Vo(t, e, r) { let n, i, { index: A } = e, @@ -42494,52 +42497,98 @@ function Ko(t, e, r) { { zoom: p } = e, { mapStyle: h } = e, { numberOfMaps: f } = e, - d = {}; - gt.subscribe(t => ({ mapboxGlAccessToken: i } = t)); - const g = D(); - let m; - ct.accessToken = i; - let y = {}; - const v = () => ({ - bearing: m.getBearing(), - center: m.getCenter(), - pitch: m.getPitch(), - zoom: m.getZoom(), + d = {}, + g = null, + m = !1; + mt.subscribe(t => ({ mapboxGlAccessToken: i } = t)); + const y = k(); + let v; + pt.accessToken = i; + let _ = {}; + const w = () => ({ + bearing: v.getBearing(), + center: v.getCenter(), + pitch: v.getPitch(), + zoom: v.getZoom(), }), - _ = () => { - Mo(v(), y) || m.jumpTo(y); + B = () => { + Do(w(), _) || v.jumpTo(_); }; - var w; return ( M(() => { r( 12, - (m = new ct.Map({ + (v = new pt.Map({ container: o, style: n, preserveDrawingBuffer: !0, - ...y, + ..._, })) ); - const t = Dt(() => { + const t = kt(() => { document .getElementById(o) .querySelector('canvas[tabindex="0"]') .focus(); }, 250); document.getElementById(o).addEventListener('wheel', t, { passive: !0 }); - m.on('move', t => { + v.on('move', t => { t?.resize || (({ origin: t }) => { document.getElementById(o).contains(document.activeElement) && - g('mapMove', { options: v() }); + y('mapMove', { options: w() }); })(t); - }); + }), + v.on('click', t => { + let e = v.queryRenderedFeatures(t.point); + e.length && + (m + ? (g.remove(), (g = null)) + : ((g = new pt.Popup() + .setLngLat(t.lngLat) + .setHTML( + (t => { + const e = t.reduce((t, e) => { + const { source: r, sourceLayer: n, properties: i } = e; + return ( + t.some(t => { + const e = t.source === r && t.sourceLayer === n, + A = Object.keys(i).every( + e => i[e] === t.properties[e] + ); + return e && A; + }) || t.push(e), + t + ); + }, []); + let r = '
${t}: ${n}
`; + }) + : (r += + 'No properties
'); + } + return (r += '