@mapsindoors/map-template 1.44.0 → 1.44.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{_commonjsHelpers-ba3f0406-e2842bd1.mjs → _commonjsHelpers-ba3f0406-3648d27d.mjs} +2 -2
- package/dist/{combo-box-item.entry-2fd60c2c.mjs → combo-box-item.entry-8d8904a2.mjs} +2 -2
- package/dist/{icon-b8d01d6f-d48ca479.mjs → icon-b8d01d6f-bd2975d3.mjs} +2 -2
- package/dist/mapsindoors-react.es.js +1 -1
- package/dist/mapsindoors-react.umd.js +12 -12
- package/dist/mapsindoors-webcomponent.es.js +168 -167
- package/dist/mapsindoors-webcomponent.umd.js +10 -10
- package/dist/{mi-card_2.entry-e444b844.mjs → mi-card_2.entry-bd118dd4.mjs} +2 -2
- package/dist/{mi-chip.entry-8995e0ce.mjs → mi-chip.entry-f45f35eb.mjs} +2 -2
- package/dist/{mi-column.entry-21f3333b.mjs → mi-column.entry-d881f7aa.mjs} +2 -2
- package/dist/{mi-combo-box.entry-c6071835.mjs → mi-combo-box.entry-9176f82a.mjs} +4 -4
- package/dist/{mi-data-table.entry-735e26de.mjs → mi-data-table.entry-237e0603.mjs} +3 -3
- package/dist/{mi-distance_2.entry-d9b9aca4.mjs → mi-distance_2.entry-330c3187.mjs} +3 -3
- package/dist/{mi-dropdown-item.entry-cd57d624.mjs → mi-dropdown-item.entry-a7c860e3.mjs} +2 -2
- package/dist/{mi-dropdown.entry-a21a5f40.mjs → mi-dropdown.entry-42797b0d.mjs} +4 -4
- package/dist/{mi-floor-selector.entry-f5e56303.mjs → mi-floor-selector.entry-08eb5c19.mjs} +2 -2
- package/dist/{mi-keyboard.entry-5042bb29.mjs → mi-keyboard.entry-f16d06df.mjs} +3 -3
- package/dist/{mi-list-item-category.entry-1280aba9.mjs → mi-list-item-category.entry-23a03b38.mjs} +4 -4
- package/dist/{mi-list-item-location.entry-fa2a2d2c.mjs → mi-list-item-location.entry-23697012.mjs} +4 -4
- package/dist/{mi-list.entry-96ecc131.mjs → mi-list.entry-4860d9cf.mjs} +2 -2
- package/dist/{mi-location-booking.entry-780391fe.mjs → mi-location-booking.entry-52f90552.mjs} +3 -3
- package/dist/{mi-location-info.entry-c89b82e0.mjs → mi-location-info.entry-524b6956.mjs} +2 -2
- package/dist/{mi-map-googlemaps.entry-cf141302.mjs → mi-map-googlemaps.entry-eb21230a.mjs} +3 -3
- package/dist/{mi-map-mapbox.entry-ac3480e9.mjs → mi-map-mapbox.entry-4276efb7.mjs} +3 -3
- package/dist/{mi-metric-card.entry-1f72c1f1.mjs → mi-metric-card.entry-d2e814c2.mjs} +3 -3
- package/dist/{mi-my-position.entry-aeb52bf9.mjs → mi-my-position.entry-a78abdf6.mjs} +3 -3
- package/dist/{mi-notification.entry-8b6d1def.mjs → mi-notification.entry-0cc02ef8.mjs} +2 -2
- package/dist/{mi-route-instructions-heading.entry-95bf212e.mjs → mi-route-instructions-heading.entry-0d17dcd3.mjs} +4 -4
- package/dist/{mi-route-instructions-maneuver-legacy.entry-0d1fd604.mjs → mi-route-instructions-maneuver-legacy.entry-1e54f06a.mjs} +3 -3
- package/dist/{mi-route-instructions-maneuver.entry-ea901bb5.mjs → mi-route-instructions-maneuver.entry-c4fed418.mjs} +3 -3
- package/dist/{mi-route-instructions-step-legacy.entry-d481034a.mjs → mi-route-instructions-step-legacy.entry-932282f9.mjs} +4 -4
- package/dist/{mi-route-instructions-step.entry-95bae789.mjs → mi-route-instructions-step.entry-3f9a7c13.mjs} +4 -4
- package/dist/{mi-route-instructions.entry-9fc9fea6.mjs → mi-route-instructions.entry-963350f2.mjs} +5 -5
- package/dist/{mi-scroll-buttons.entry-12b3a913.mjs → mi-scroll-buttons.entry-629677b7.mjs} +2 -2
- package/dist/{mi-search.entry-865e791f.mjs → mi-search.entry-491aca1c.mjs} +3 -3
- package/dist/{mi-share-sms.entry-df06d998.mjs → mi-share-sms.entry-e1fa4e74.mjs} +2 -2
- package/dist/{mi-step-switcher.entry-57664a7a.mjs → mi-step-switcher.entry-7cc2f3a2.mjs} +2 -2
- package/dist/{mi-tab-panel.entry-f3450ff6.mjs → mi-tab-panel.entry-6d260fce.mjs} +2 -2
- package/dist/{mi-tab.entry-2c925dc8.mjs → mi-tab.entry-a0877e5b.mjs} +2 -2
- package/dist/{mi-tabs.entry-d3652b8f.mjs → mi-tabs.entry-e432cf66.mjs} +2 -2
- package/dist/{mi-time.entry-73845a60.mjs → mi-time.entry-4933927a.mjs} +2 -2
- package/dist/{mi-variables-9a6c8d4d-8f1adf60.mjs → mi-variables-9a6c8d4d-ec0a4d82.mjs} +2 -2
- package/dist/{reactcomponent-14871337.mjs → reactcomponent-0c62c05a.mjs} +4 -4
- package/dist/{route-travel-mode.enum-7f4ce9c7-44f80178.mjs → route-travel-mode.enum-7f4ce9c7-c2ebab41.mjs} +2 -2
- package/dist/{sort-order.enum-64ce8998-ac1898da.mjs → sort-order.enum-64ce8998-ceda2868.mjs} +3 -3
- package/dist/{unit-system.enum-eaefb53e-dfe8f207.mjs → unit-system.enum-eaefb53e-1b0df1b2.mjs} +2 -2
- package/dist/{utils-ae714467-d7824063.mjs → utils-ae714467-526f7a39.mjs} +2 -2
- package/package.json +1 -1
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
|
|
5
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
5
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "3421ec05-b625-4800-af5c-12be85d167ee", e._sentryDebugIdIdentifier = "sentry-dbid-3421ec05-b625-4800-af5c-12be85d167ee");
|
|
6
6
|
} catch {
|
|
7
7
|
}
|
|
8
8
|
})();
|
|
9
9
|
var AH = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10
|
-
AH.SENTRY_RELEASE = { id: "
|
|
10
|
+
AH.SENTRY_RELEASE = { id: "d90ea2e44c67af2acbacc5eba3763a9b4219da81" };
|
|
11
11
|
var CH = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
12
12
|
function j1(e) {
|
|
13
13
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -58,7 +58,7 @@ var kH = function() {
|
|
|
58
58
|
};
|
|
59
59
|
F9.exports = kH();
|
|
60
60
|
var OH = F9.exports;
|
|
61
|
-
const
|
|
61
|
+
const Sr = /* @__PURE__ */ j1(OH);
|
|
62
62
|
var Q9 = { exports: {} }, Vi = {};
|
|
63
63
|
/**
|
|
64
64
|
* @license React
|
|
@@ -2162,7 +2162,7 @@ function ZO(e, t) {
|
|
|
2162
2162
|
if (qx)
|
|
2163
2163
|
throw e = g5, qx = !1, g5 = null, e;
|
|
2164
2164
|
}
|
|
2165
|
-
function
|
|
2165
|
+
function Er(e, t) {
|
|
2166
2166
|
var r = t[S5];
|
|
2167
2167
|
r === void 0 && (r = t[S5] = /* @__PURE__ */ new Set());
|
|
2168
2168
|
var s = e + "__bubble";
|
|
@@ -2541,7 +2541,7 @@ var E5 = [], ip = -1;
|
|
|
2541
2541
|
function Yu(e) {
|
|
2542
2542
|
return { current: e };
|
|
2543
2543
|
}
|
|
2544
|
-
function
|
|
2544
|
+
function Ar(e) {
|
|
2545
2545
|
0 > ip || (e.current = E5[ip], E5[ip] = null, ip--);
|
|
2546
2546
|
}
|
|
2547
2547
|
function wr(e, t) {
|
|
@@ -2564,7 +2564,7 @@ function Ss(e) {
|
|
|
2564
2564
|
return e = e.childContextTypes, e != null;
|
|
2565
2565
|
}
|
|
2566
2566
|
function i2() {
|
|
2567
|
-
|
|
2567
|
+
Ar(Ts), Ar(Xo);
|
|
2568
2568
|
}
|
|
2569
2569
|
function bL(e, t, r) {
|
|
2570
2570
|
if (Xo.current !== Vu)
|
|
@@ -2588,7 +2588,7 @@ function ML(e, t, r) {
|
|
|
2588
2588
|
var s = e.stateNode;
|
|
2589
2589
|
if (!s)
|
|
2590
2590
|
throw Error(gn(169));
|
|
2591
|
-
r ? (e = qO(e, t, pd), s.__reactInternalMemoizedMergedChildContext = e,
|
|
2591
|
+
r ? (e = qO(e, t, pd), s.__reactInternalMemoizedMergedChildContext = e, Ar(Ts), Ar(Xo), wr(Xo, e)) : Ar(Ts), wr(Ts, r);
|
|
2592
2592
|
}
|
|
2593
2593
|
var hc = null, zb = !1, c4 = !1;
|
|
2594
2594
|
function KO(e) {
|
|
@@ -2751,7 +2751,7 @@ function CS() {
|
|
|
2751
2751
|
}
|
|
2752
2752
|
function NS(e) {
|
|
2753
2753
|
var t = a2.current;
|
|
2754
|
-
|
|
2754
|
+
Ar(a2), e._currentValue = t;
|
|
2755
2755
|
}
|
|
2756
2756
|
function C5(e, t, r) {
|
|
2757
2757
|
for (; e !== null; ) {
|
|
@@ -3202,10 +3202,10 @@ function kS(e, t) {
|
|
|
3202
3202
|
default:
|
|
3203
3203
|
e = e === 8 ? t.parentNode : t, t = e.namespaceURI || null, e = e.tagName, t = u5(t, e);
|
|
3204
3204
|
}
|
|
3205
|
-
|
|
3205
|
+
Ar(Ll), wr(Ll, t);
|
|
3206
3206
|
}
|
|
3207
3207
|
function Lp() {
|
|
3208
|
-
|
|
3208
|
+
Ar(Ll), Ar(M1), Ar(w1);
|
|
3209
3209
|
}
|
|
3210
3210
|
function a7(e) {
|
|
3211
3211
|
ld(w1.current);
|
|
@@ -3213,7 +3213,7 @@ function a7(e) {
|
|
|
3213
3213
|
t !== r && (wr(M1, e), wr(Ll, r));
|
|
3214
3214
|
}
|
|
3215
3215
|
function OS(e) {
|
|
3216
|
-
M1.current === e && (
|
|
3216
|
+
M1.current === e && (Ar(Ll), Ar(M1));
|
|
3217
3217
|
}
|
|
3218
3218
|
var Ur = Yu(0);
|
|
3219
3219
|
function u2(e) {
|
|
@@ -4039,7 +4039,7 @@ j7 = function(e, t, r, s) {
|
|
|
4039
4039
|
r
|
|
4040
4040
|
)), r = v;
|
|
4041
4041
|
else
|
|
4042
|
-
S === "dangerouslySetInnerHTML" ? (v = v ? v.__html : void 0, a = a ? a.__html : void 0, v != null && a !== v && (f = f || []).push(S, v)) : S === "children" ? typeof v != "string" && typeof v != "number" || (f = f || []).push(S, "" + v) : S !== "suppressContentEditableWarning" && S !== "suppressHydrationWarning" && (h1.hasOwnProperty(S) ? (v != null && S === "onScroll" &&
|
|
4042
|
+
S === "dangerouslySetInnerHTML" ? (v = v ? v.__html : void 0, a = a ? a.__html : void 0, v != null && a !== v && (f = f || []).push(S, v)) : S === "children" ? typeof v != "string" && typeof v != "number" || (f = f || []).push(S, "" + v) : S !== "suppressContentEditableWarning" && S !== "suppressHydrationWarning" && (h1.hasOwnProperty(S) ? (v != null && S === "onScroll" && Er("scroll", e), f || a === v || (f = [])) : (f = f || []).push(S, v));
|
|
4043
4043
|
}
|
|
4044
4044
|
r && (f = f || []).push("style", r);
|
|
4045
4045
|
var S = f;
|
|
@@ -4092,7 +4092,7 @@ function zG(e, t, r) {
|
|
|
4092
4092
|
case 1:
|
|
4093
4093
|
return Ss(t.type) && i2(), qo(t), null;
|
|
4094
4094
|
case 3:
|
|
4095
|
-
return s = t.stateNode, Lp(),
|
|
4095
|
+
return s = t.stateNode, Lp(), Ar(Ts), Ar(Xo), jS(), s.pendingContext && (s.context = s.pendingContext, s.pendingContext = null), (e === null || e.child === null) && (_v(t) ? t.flags |= 4 : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, Ba !== null && (Y5(Ba), Ba = null))), P5(e, t), qo(t), null;
|
|
4096
4096
|
case 5:
|
|
4097
4097
|
OS(t);
|
|
4098
4098
|
var u = ld(w1.current);
|
|
@@ -4109,40 +4109,40 @@ function zG(e, t, r) {
|
|
|
4109
4109
|
var f = t.memoizedProps;
|
|
4110
4110
|
switch (s[Il] = t, s[b1] = f, e = (t.mode & 1) !== 0, r) {
|
|
4111
4111
|
case "dialog":
|
|
4112
|
-
|
|
4112
|
+
Er("cancel", s), Er("close", s);
|
|
4113
4113
|
break;
|
|
4114
4114
|
case "iframe":
|
|
4115
4115
|
case "object":
|
|
4116
4116
|
case "embed":
|
|
4117
|
-
|
|
4117
|
+
Er("load", s);
|
|
4118
4118
|
break;
|
|
4119
4119
|
case "video":
|
|
4120
4120
|
case "audio":
|
|
4121
4121
|
for (u = 0; u < U0.length; u++)
|
|
4122
|
-
|
|
4122
|
+
Er(U0[u], s);
|
|
4123
4123
|
break;
|
|
4124
4124
|
case "source":
|
|
4125
|
-
|
|
4125
|
+
Er("error", s);
|
|
4126
4126
|
break;
|
|
4127
4127
|
case "img":
|
|
4128
4128
|
case "image":
|
|
4129
4129
|
case "link":
|
|
4130
|
-
|
|
4130
|
+
Er(
|
|
4131
4131
|
"error",
|
|
4132
4132
|
s
|
|
4133
|
-
),
|
|
4133
|
+
), Er("load", s);
|
|
4134
4134
|
break;
|
|
4135
4135
|
case "details":
|
|
4136
|
-
|
|
4136
|
+
Er("toggle", s);
|
|
4137
4137
|
break;
|
|
4138
4138
|
case "input":
|
|
4139
|
-
ZN(s, f),
|
|
4139
|
+
ZN(s, f), Er("invalid", s);
|
|
4140
4140
|
break;
|
|
4141
4141
|
case "select":
|
|
4142
|
-
s._wrapperState = { wasMultiple: !!f.multiple },
|
|
4142
|
+
s._wrapperState = { wasMultiple: !!f.multiple }, Er("invalid", s);
|
|
4143
4143
|
break;
|
|
4144
4144
|
case "textarea":
|
|
4145
|
-
qN(s, f),
|
|
4145
|
+
qN(s, f), Er("invalid", s);
|
|
4146
4146
|
}
|
|
4147
4147
|
h5(r, f), u = null;
|
|
4148
4148
|
for (var m in f)
|
|
@@ -4152,7 +4152,7 @@ function zG(e, t, r) {
|
|
|
4152
4152
|
s.textContent,
|
|
4153
4153
|
a,
|
|
4154
4154
|
e
|
|
4155
|
-
), u = ["children", "" + a]) : h1.hasOwnProperty(m) && a != null && m === "onScroll" &&
|
|
4155
|
+
), u = ["children", "" + a]) : h1.hasOwnProperty(m) && a != null && m === "onScroll" && Er("scroll", s);
|
|
4156
4156
|
}
|
|
4157
4157
|
switch (r) {
|
|
4158
4158
|
case "input":
|
|
@@ -4173,44 +4173,44 @@ function zG(e, t, r) {
|
|
|
4173
4173
|
e: {
|
|
4174
4174
|
switch (m = d5(r, s), r) {
|
|
4175
4175
|
case "dialog":
|
|
4176
|
-
|
|
4176
|
+
Er("cancel", e), Er("close", e), u = s;
|
|
4177
4177
|
break;
|
|
4178
4178
|
case "iframe":
|
|
4179
4179
|
case "object":
|
|
4180
4180
|
case "embed":
|
|
4181
|
-
|
|
4181
|
+
Er("load", e), u = s;
|
|
4182
4182
|
break;
|
|
4183
4183
|
case "video":
|
|
4184
4184
|
case "audio":
|
|
4185
4185
|
for (u = 0; u < U0.length; u++)
|
|
4186
|
-
|
|
4186
|
+
Er(U0[u], e);
|
|
4187
4187
|
u = s;
|
|
4188
4188
|
break;
|
|
4189
4189
|
case "source":
|
|
4190
|
-
|
|
4190
|
+
Er("error", e), u = s;
|
|
4191
4191
|
break;
|
|
4192
4192
|
case "img":
|
|
4193
4193
|
case "image":
|
|
4194
4194
|
case "link":
|
|
4195
|
-
|
|
4195
|
+
Er(
|
|
4196
4196
|
"error",
|
|
4197
4197
|
e
|
|
4198
|
-
),
|
|
4198
|
+
), Er("load", e), u = s;
|
|
4199
4199
|
break;
|
|
4200
4200
|
case "details":
|
|
4201
|
-
|
|
4201
|
+
Er("toggle", e), u = s;
|
|
4202
4202
|
break;
|
|
4203
4203
|
case "input":
|
|
4204
|
-
ZN(e, s), u = s5(e, s),
|
|
4204
|
+
ZN(e, s), u = s5(e, s), Er("invalid", e);
|
|
4205
4205
|
break;
|
|
4206
4206
|
case "option":
|
|
4207
4207
|
u = s;
|
|
4208
4208
|
break;
|
|
4209
4209
|
case "select":
|
|
4210
|
-
e._wrapperState = { wasMultiple: !!s.multiple }, u = $r({}, s, { value: void 0 }),
|
|
4210
|
+
e._wrapperState = { wasMultiple: !!s.multiple }, u = $r({}, s, { value: void 0 }), Er("invalid", e);
|
|
4211
4211
|
break;
|
|
4212
4212
|
case "textarea":
|
|
4213
|
-
qN(e, s), u = c5(e, s),
|
|
4213
|
+
qN(e, s), u = c5(e, s), Er("invalid", e);
|
|
4214
4214
|
break;
|
|
4215
4215
|
default:
|
|
4216
4216
|
u = s;
|
|
@@ -4219,7 +4219,7 @@ function zG(e, t, r) {
|
|
|
4219
4219
|
for (f in a)
|
|
4220
4220
|
if (a.hasOwnProperty(f)) {
|
|
4221
4221
|
var v = a[f];
|
|
4222
|
-
f === "style" ? fO(e, v) : f === "dangerouslySetInnerHTML" ? (v = v ? v.__html : void 0, v != null && hO(e, v)) : f === "children" ? typeof v == "string" ? (r !== "textarea" || v !== "") && d1(e, v) : typeof v == "number" && d1(e, "" + v) : f !== "suppressContentEditableWarning" && f !== "suppressHydrationWarning" && f !== "autoFocus" && (h1.hasOwnProperty(f) ? v != null && f === "onScroll" &&
|
|
4222
|
+
f === "style" ? fO(e, v) : f === "dangerouslySetInnerHTML" ? (v = v ? v.__html : void 0, v != null && hO(e, v)) : f === "children" ? typeof v == "string" ? (r !== "textarea" || v !== "") && d1(e, v) : typeof v == "number" && d1(e, "" + v) : f !== "suppressContentEditableWarning" && f !== "suppressHydrationWarning" && f !== "autoFocus" && (h1.hasOwnProperty(f) ? v != null && f === "onScroll" && Er("scroll", e) : v != null && dS(e, f, v, m));
|
|
4223
4223
|
}
|
|
4224
4224
|
switch (r) {
|
|
4225
4225
|
case "input":
|
|
@@ -4282,7 +4282,7 @@ function zG(e, t, r) {
|
|
|
4282
4282
|
}
|
|
4283
4283
|
return qo(t), null;
|
|
4284
4284
|
case 13:
|
|
4285
|
-
if (
|
|
4285
|
+
if (Ar(Ur), s = t.memoizedState, e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {
|
|
4286
4286
|
if (Or && Zs !== null && t.mode & 1 && !(t.flags & 128))
|
|
4287
4287
|
e7(), Cp(), t.flags |= 98560, f = !1;
|
|
4288
4288
|
else if (f = _v(t), s !== null && s.dehydrated !== null) {
|
|
@@ -4308,7 +4308,7 @@ function zG(e, t, r) {
|
|
|
4308
4308
|
case 17:
|
|
4309
4309
|
return Ss(t.type) && i2(), qo(t), null;
|
|
4310
4310
|
case 19:
|
|
4311
|
-
if (
|
|
4311
|
+
if (Ar(Ur), f = t.memoizedState, f === null)
|
|
4312
4312
|
return qo(t), null;
|
|
4313
4313
|
if (s = (t.flags & 128) !== 0, m = f.rendering, m === null)
|
|
4314
4314
|
if (s)
|
|
@@ -4350,18 +4350,18 @@ function kG(e, t) {
|
|
|
4350
4350
|
case 1:
|
|
4351
4351
|
return Ss(t.type) && i2(), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
|
|
4352
4352
|
case 3:
|
|
4353
|
-
return Lp(),
|
|
4353
|
+
return Lp(), Ar(Ts), Ar(Xo), jS(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;
|
|
4354
4354
|
case 5:
|
|
4355
4355
|
return OS(t), null;
|
|
4356
4356
|
case 13:
|
|
4357
|
-
if (
|
|
4357
|
+
if (Ar(Ur), e = t.memoizedState, e !== null && e.dehydrated !== null) {
|
|
4358
4358
|
if (t.alternate === null)
|
|
4359
4359
|
throw Error(gn(340));
|
|
4360
4360
|
Cp();
|
|
4361
4361
|
}
|
|
4362
4362
|
return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
|
|
4363
4363
|
case 19:
|
|
4364
|
-
return
|
|
4364
|
+
return Ar(Ur), null;
|
|
4365
4365
|
case 4:
|
|
4366
4366
|
return Lp(), null;
|
|
4367
4367
|
case 10:
|
|
@@ -5270,7 +5270,7 @@ function _d(e) {
|
|
|
5270
5270
|
}
|
|
5271
5271
|
}
|
|
5272
5272
|
function GS() {
|
|
5273
|
-
Hs = lp.current,
|
|
5273
|
+
Hs = lp.current, Ar(lp);
|
|
5274
5274
|
}
|
|
5275
5275
|
function hd(e, t) {
|
|
5276
5276
|
e.finishedWork = null, e.finishedLanes = 0;
|
|
@@ -5283,7 +5283,7 @@ function hd(e, t) {
|
|
|
5283
5283
|
s = s.type.childContextTypes, s != null && i2();
|
|
5284
5284
|
break;
|
|
5285
5285
|
case 3:
|
|
5286
|
-
Lp(),
|
|
5286
|
+
Lp(), Ar(Ts), Ar(Xo), jS();
|
|
5287
5287
|
break;
|
|
5288
5288
|
case 5:
|
|
5289
5289
|
OS(s);
|
|
@@ -5292,10 +5292,10 @@ function hd(e, t) {
|
|
|
5292
5292
|
Lp();
|
|
5293
5293
|
break;
|
|
5294
5294
|
case 13:
|
|
5295
|
-
|
|
5295
|
+
Ar(Ur);
|
|
5296
5296
|
break;
|
|
5297
5297
|
case 19:
|
|
5298
|
-
|
|
5298
|
+
Ar(Ur);
|
|
5299
5299
|
break;
|
|
5300
5300
|
case 10:
|
|
5301
5301
|
NS(s.type._context);
|
|
@@ -18570,7 +18570,7 @@ var rie = iie, Ni = rie;
|
|
|
18570
18570
|
function oie(e) {
|
|
18571
18571
|
return !!e && typeof e.then == "function";
|
|
18572
18572
|
}
|
|
18573
|
-
var
|
|
18573
|
+
var Dr = oie;
|
|
18574
18574
|
function sie(e, t) {
|
|
18575
18575
|
if (e != null)
|
|
18576
18576
|
return e;
|
|
@@ -18640,9 +18640,9 @@ class aie extends yM {
|
|
|
18640
18640
|
map(t) {
|
|
18641
18641
|
try {
|
|
18642
18642
|
const r = t(this.contents);
|
|
18643
|
-
return
|
|
18643
|
+
return Dr(r) ? wd(r) : $p(r) ? r : q1(r);
|
|
18644
18644
|
} catch (r) {
|
|
18645
|
-
return
|
|
18645
|
+
return Dr(r) ? (
|
|
18646
18646
|
// If we "suspended", then try again.
|
|
18647
18647
|
// errors and subsequent retries will be handled in 'loading' case
|
|
18648
18648
|
// $FlowFixMe[prop-missing]
|
|
@@ -18711,7 +18711,7 @@ class TP extends yM {
|
|
|
18711
18711
|
}
|
|
18712
18712
|
return s;
|
|
18713
18713
|
}).catch((r) => {
|
|
18714
|
-
if (
|
|
18714
|
+
if (Dr(r))
|
|
18715
18715
|
return r.then(() => this.map(t).contents);
|
|
18716
18716
|
throw r;
|
|
18717
18717
|
}));
|
|
@@ -18734,7 +18734,7 @@ function cie(e) {
|
|
|
18734
18734
|
return e.every((t) => t.state === "hasValue") ? q1(e.map((t) => t.contents)) : e.some((t) => t.state === "hasError") ? _M(jr(e.find((t) => t.state === "hasError"), "Invalid loadable passed to loadableAll").contents) : wd(Promise.all(e.map((t) => t.contents)));
|
|
18735
18735
|
}
|
|
18736
18736
|
function EP(e) {
|
|
18737
|
-
const r = (Array.isArray(e) ? e : Object.getOwnPropertyNames(e).map((u) => e[u])).map((u) => $p(u) ? u :
|
|
18737
|
+
const r = (Array.isArray(e) ? e : Object.getOwnPropertyNames(e).map((u) => e[u])).map((u) => $p(u) ? u : Dr(u) ? wd(u) : q1(u)), s = cie(r);
|
|
18738
18738
|
return Array.isArray(e) ? (
|
|
18739
18739
|
// $FlowIssue[incompatible-return]
|
|
18740
18740
|
s
|
|
@@ -18755,7 +18755,7 @@ function $p(e) {
|
|
|
18755
18755
|
return e instanceof yM;
|
|
18756
18756
|
}
|
|
18757
18757
|
const uie = {
|
|
18758
|
-
of: (e) =>
|
|
18758
|
+
of: (e) => Dr(e) ? wd(e) : $p(e) ? e : q1(e),
|
|
18759
18759
|
error: (e) => _M(e),
|
|
18760
18760
|
// $FlowIssue[incompatible-return]
|
|
18761
18761
|
loading: () => SP(),
|
|
@@ -20856,7 +20856,7 @@ function XE(e, t, r) {
|
|
|
20856
20856
|
return e.contents;
|
|
20857
20857
|
throw e.state === "loading" ? new Promise((u) => {
|
|
20858
20858
|
const f = r.current.getState().suspendedComponentResolvers;
|
|
20859
|
-
f.add(u), jse &&
|
|
20859
|
+
f.add(u), jse && Dr(e.contents) && e.contents.finally(() => {
|
|
20860
20860
|
f.delete(u);
|
|
20861
20861
|
});
|
|
20862
20862
|
}) : e.state === "hasError" ? e.contents : Ni(`Invalid value of loadable atom "${t.key}"`);
|
|
@@ -21391,7 +21391,7 @@ function DU(e, t, r, s) {
|
|
|
21391
21391
|
if (typeof S != "function")
|
|
21392
21392
|
throw Ni(a);
|
|
21393
21393
|
u = S(...r);
|
|
21394
|
-
}), u instanceof EU && $0(!1),
|
|
21394
|
+
}), u instanceof EU && $0(!1), Dr(u))
|
|
21395
21395
|
u = u.finally(() => {
|
|
21396
21396
|
var a;
|
|
21397
21397
|
(a = f) === null || a === void 0 || a();
|
|
@@ -21681,7 +21681,7 @@ function Ra(e, t, r) {
|
|
|
21681
21681
|
var s;
|
|
21682
21682
|
return (s = JSON.stringify(e)) !== null && s !== void 0 ? s : "";
|
|
21683
21683
|
}
|
|
21684
|
-
if (
|
|
21684
|
+
if (Dr(e))
|
|
21685
21685
|
return "__PROMISE__";
|
|
21686
21686
|
if (Array.isArray(e))
|
|
21687
21687
|
return `[${e.map((u, f) => Ra(u, t, f.toString()))}]`;
|
|
@@ -21846,7 +21846,7 @@ function OU(e) {
|
|
|
21846
21846
|
}).catch((He) => {
|
|
21847
21847
|
if (!N())
|
|
21848
21848
|
throw it(le), D0;
|
|
21849
|
-
if (
|
|
21849
|
+
if (Dr(He))
|
|
21850
21850
|
return ee(le, He, ie, Me, xe, Ve);
|
|
21851
21851
|
const Ue = Rv(He);
|
|
21852
21852
|
throw R(le, ie, xe, Ue, Me), He;
|
|
@@ -21934,11 +21934,11 @@ function OU(e) {
|
|
|
21934
21934
|
Ue = s({
|
|
21935
21935
|
get: bt,
|
|
21936
21936
|
getCallback: Rt
|
|
21937
|
-
}), Ue = Cle(Ue) ? bt(Ue) : Ue, Mle(Ue) && (Ue.state === "hasError" && (Xe = !0), Ue = Ue.contents),
|
|
21937
|
+
}), Ue = Cle(Ue) ? bt(Ue) : Ue, Mle(Ue) && (Ue.state === "hasError" && (Xe = !0), Ue = Ue.contents), Dr(Ue) ? Ue = W(le, Ue, X, et, ie, _t).finally(He) : He(), Ue = Ue instanceof zU ? Ue.value : Ue;
|
|
21938
21938
|
} catch (Pt) {
|
|
21939
|
-
Ue = Pt,
|
|
21939
|
+
Ue = Pt, Dr(Ue) ? Ue = ee(le, Ue, X, et, ie, _t).finally(He) : (Xe = !0, He());
|
|
21940
21940
|
}
|
|
21941
|
-
return Xe ? ut = Rv(Ue) :
|
|
21941
|
+
return Xe ? ut = Rv(Ue) : Dr(Ue) ? ut = wle(Ue) : ut = O4(Ue), xe = !1, Ge(le, ie, et), he(le, X, new Set(et.keys()), ie), [ut, et];
|
|
21942
21942
|
}
|
|
21943
21943
|
function de(le, X) {
|
|
21944
21944
|
let ie = X.atomValues.get(r);
|
|
@@ -22101,7 +22101,7 @@ function OU(e) {
|
|
|
22101
22101
|
reset: Xe
|
|
22102
22102
|
}, Me);
|
|
22103
22103
|
if (ut !== void 0)
|
|
22104
|
-
throw
|
|
22104
|
+
throw Dr(ut) ? Ni("Recoil: Async selector sets are not currently supported.") : Ni("Recoil: selector set should be a void function.");
|
|
22105
22105
|
return xe = !0, Ve;
|
|
22106
22106
|
},
|
|
22107
22107
|
init: C,
|
|
@@ -22163,7 +22163,7 @@ function Qle(e) {
|
|
|
22163
22163
|
throw m = j4(W), W;
|
|
22164
22164
|
}));
|
|
22165
22165
|
}
|
|
22166
|
-
let m =
|
|
22166
|
+
let m = Dr(e.default) ? f(e.default) : Ole(e.default) ? e.default.state === "loading" ? f(e.default.contents) : e.default : (
|
|
22167
22167
|
// $FlowFixMe[incompatible-call]
|
|
22168
22168
|
Vf(C0(e.default))
|
|
22169
22169
|
);
|
|
@@ -22202,7 +22202,7 @@ function Qle(e) {
|
|
|
22202
22202
|
let Ee = function(Ie) {
|
|
22203
22203
|
if (Ae && Ie.key === t) {
|
|
22204
22204
|
const Te = De;
|
|
22205
|
-
return Te instanceof wu ? C(Y, W) :
|
|
22205
|
+
return Te instanceof wu ? C(Y, W) : Dr(Te) ? R4(Te.then((le) => le instanceof wu ? (
|
|
22206
22206
|
// Cast T to S
|
|
22207
22207
|
m.toPromise()
|
|
22208
22208
|
) : le)) : (
|
|
@@ -22228,12 +22228,12 @@ function Qle(e) {
|
|
|
22228
22228
|
De = typeof Te == "function" ? (
|
|
22229
22229
|
// cast to any because we can't restrict T from being a function without losing support for opaque types
|
|
22230
22230
|
Te(X)
|
|
22231
|
-
) : Te,
|
|
22231
|
+
) : Te, Dr(De) && (De = De.then((ie) => (it = {
|
|
22232
22232
|
effect: Ie,
|
|
22233
22233
|
value: ie
|
|
22234
22234
|
}, ie)));
|
|
22235
22235
|
} else {
|
|
22236
|
-
if (
|
|
22236
|
+
if (Dr(Te))
|
|
22237
22237
|
throw Ni("Setting atoms to async values is not implemented.");
|
|
22238
22238
|
typeof Te != "function" && (it = {
|
|
22239
22239
|
effect: Ie,
|
|
@@ -22293,7 +22293,7 @@ function Qle(e) {
|
|
|
22293
22293
|
}
|
|
22294
22294
|
if (Ae = !1, !(De instanceof wu)) {
|
|
22295
22295
|
var $e;
|
|
22296
|
-
const Ie = Ge ? j4(De) :
|
|
22296
|
+
const Ie = Ge ? j4(De) : Dr(De) ? R4(D(Y, De)) : Vf(C0(De));
|
|
22297
22297
|
Ie.contents, W.atomValues.set(t, Ie), ($e = Y.getState().nextTree) === null || $e === void 0 || $e.atomValues.set(t, Ie);
|
|
22298
22298
|
}
|
|
22299
22299
|
}
|
|
@@ -22623,7 +22623,7 @@ function OM(e, t) {
|
|
|
22623
22623
|
return [r, s];
|
|
22624
22624
|
}
|
|
22625
22625
|
function pce(e) {
|
|
22626
|
-
return e != null && !
|
|
22626
|
+
return e != null && !Dr(e);
|
|
22627
22627
|
}
|
|
22628
22628
|
function jM(e) {
|
|
22629
22629
|
return Array.isArray(e) ? e : Object.getOwnPropertyNames(e).map((t) => e[t]);
|
|
@@ -22638,7 +22638,7 @@ function CI(e, t) {
|
|
|
22638
22638
|
);
|
|
22639
22639
|
}
|
|
22640
22640
|
function Ep(e, t, r) {
|
|
22641
|
-
const s = r.map((u, f) => u == null ? VU(t[f]) :
|
|
22641
|
+
const s = r.map((u, f) => u == null ? VU(t[f]) : Dr(u) ? FU(u) : BU(u));
|
|
22642
22642
|
return CI(e, s);
|
|
22643
22643
|
}
|
|
22644
22644
|
function mce(e, t) {
|
|
@@ -22668,9 +22668,9 @@ const gce = Xu({
|
|
|
22668
22668
|
get: t
|
|
22669
22669
|
}) => {
|
|
22670
22670
|
const r = jM(e), [s, u] = OM(t, r);
|
|
22671
|
-
return u.some((f) => !
|
|
22671
|
+
return u.some((f) => !Dr(f)) ? Ep(e, s, u) : new Promise((f) => {
|
|
22672
22672
|
for (const [m, a] of u.entries())
|
|
22673
|
-
|
|
22673
|
+
Dr(a) && a.then((v) => {
|
|
22674
22674
|
s[m] = v, u[m] = void 0, f(Ep(e, s, u));
|
|
22675
22675
|
}).catch((v) => {
|
|
22676
22676
|
u[m] = v, f(Ep(e, s, u));
|
|
@@ -22698,7 +22698,7 @@ const gce = Xu({
|
|
|
22698
22698
|
get: t
|
|
22699
22699
|
}) => {
|
|
22700
22700
|
const r = jM(e), [s, u] = OM(t, r);
|
|
22701
|
-
return u.every((f) => !
|
|
22701
|
+
return u.every((f) => !Dr(f)) ? Ep(e, s, u) : Promise.all(u.map((f, m) => Dr(f) ? f.then((a) => {
|
|
22702
22702
|
s[m] = a, u[m] = void 0;
|
|
22703
22703
|
}).catch((a) => {
|
|
22704
22704
|
s[m] = void 0, u[m] = a;
|
|
@@ -22713,7 +22713,7 @@ const gce = Xu({
|
|
|
22713
22713
|
try {
|
|
22714
22714
|
return Gp.value(VU(t(e)));
|
|
22715
22715
|
} catch (r) {
|
|
22716
|
-
return Gp.value(
|
|
22716
|
+
return Gp.value(Dr(r) ? FU(r) : BU(r));
|
|
22717
22717
|
}
|
|
22718
22718
|
},
|
|
22719
22719
|
dangerouslyAllowMutability: !0
|
|
@@ -26234,7 +26234,7 @@ var dB = { exports: {} };
|
|
|
26234
26234
|
p || (this.eventData.lastSuccess = d, this.eventData.tokenU = o);
|
|
26235
26235
|
}, i) : this.processRequests();
|
|
26236
26236
|
}
|
|
26237
|
-
}(),
|
|
26237
|
+
}(), Cr = Li.postTurnstileEvent.bind(Li), ao = new class extends ji {
|
|
26238
26238
|
constructor() {
|
|
26239
26239
|
super("map.load"), this.success = {}, this.skuToken = "";
|
|
26240
26240
|
}
|
|
@@ -26648,7 +26648,7 @@ var dB = { exports: {} };
|
|
|
26648
26648
|
}
|
|
26649
26649
|
return !1;
|
|
26650
26650
|
}
|
|
26651
|
-
function
|
|
26651
|
+
function Nr(i) {
|
|
26652
26652
|
if (i === null)
|
|
26653
26653
|
return zc;
|
|
26654
26654
|
if (typeof i == "string")
|
|
@@ -26669,7 +26669,7 @@ var dB = { exports: {} };
|
|
|
26669
26669
|
const n = i.length;
|
|
26670
26670
|
let o;
|
|
26671
26671
|
for (const c of i) {
|
|
26672
|
-
const d =
|
|
26672
|
+
const d = Nr(c);
|
|
26673
26673
|
if (o) {
|
|
26674
26674
|
if (o === d)
|
|
26675
26675
|
continue;
|
|
@@ -26696,7 +26696,7 @@ var dB = { exports: {} };
|
|
|
26696
26696
|
if (!Bl(n[1]))
|
|
26697
26697
|
return o.error("invalid value");
|
|
26698
26698
|
const c = n[1];
|
|
26699
|
-
let d =
|
|
26699
|
+
let d = Nr(c);
|
|
26700
26700
|
const p = o.expectedType;
|
|
26701
26701
|
return d.kind !== "array" || d.N !== 0 || !p || p.kind !== "array" || typeof p.N == "number" && p.N !== 0 || (d = p), new Wa(d, c);
|
|
26702
26702
|
}
|
|
@@ -26712,7 +26712,7 @@ var dB = { exports: {} };
|
|
|
26712
26712
|
return this.type.kind === "array" || this.type.kind === "object" ? ["literal", this.value] : this.value instanceof Ir ? ["rgba"].concat(this.value.toArray()) : this.value instanceof co ? this.value.serialize() : this.value;
|
|
26713
26713
|
}
|
|
26714
26714
|
}
|
|
26715
|
-
var _a = Wa,
|
|
26715
|
+
var _a = Wa, Lr = class {
|
|
26716
26716
|
constructor(i) {
|
|
26717
26717
|
this.name = "ExpressionEvaluationError", this.message = i;
|
|
26718
26718
|
}
|
|
@@ -26759,10 +26759,10 @@ var dB = { exports: {} };
|
|
|
26759
26759
|
evaluate(n) {
|
|
26760
26760
|
for (let o = 0; o < this.args.length; o++) {
|
|
26761
26761
|
const c = this.args[o].evaluate(n);
|
|
26762
|
-
if (!Ul(this.type,
|
|
26762
|
+
if (!Ul(this.type, Nr(c)))
|
|
26763
26763
|
return c;
|
|
26764
26764
|
if (o === this.args.length - 1)
|
|
26765
|
-
throw new
|
|
26765
|
+
throw new Lr(`Expected value to be of type ${xr(this.type)}, but found ${xr(Nr(c))} instead.`);
|
|
26766
26766
|
}
|
|
26767
26767
|
return null;
|
|
26768
26768
|
}
|
|
@@ -26828,7 +26828,7 @@ var dB = { exports: {} };
|
|
|
26828
26828
|
evaluate(n) {
|
|
26829
26829
|
return new co(this.sections.map((o) => {
|
|
26830
26830
|
const c = o.content.evaluate(n);
|
|
26831
|
-
return
|
|
26831
|
+
return Nr(c) === ih ? new jc("", c, null, null, null) : new jc(ms(c), null, o.scale ? o.scale.evaluate(n) : null, o.font ? o.font.evaluate(n).join(",") : null, o.textColor ? o.textColor.evaluate(n) : null);
|
|
26832
26832
|
}));
|
|
26833
26833
|
}
|
|
26834
26834
|
eachChild(n) {
|
|
@@ -26901,7 +26901,7 @@ var dB = { exports: {} };
|
|
|
26901
26901
|
} else {
|
|
26902
26902
|
if (!(_ > 0 && Bl(n[1][0])))
|
|
26903
26903
|
return null;
|
|
26904
|
-
p = Vo(
|
|
26904
|
+
p = Vo(Nr(n[1][0]), _);
|
|
26905
26905
|
}
|
|
26906
26906
|
for (let b = 0; b < _; b++) {
|
|
26907
26907
|
const w = n[1][b];
|
|
@@ -26946,7 +26946,7 @@ var dB = { exports: {} };
|
|
|
26946
26946
|
} else if (Array.isArray(o) && (c = o.length < 3 || o.length > 4 ? `Invalid rbga value ${JSON.stringify(o)}: expected an array containing either three or four numeric values.` : yy(o[0], o[1], o[2], o[3]), !c))
|
|
26947
26947
|
return new Ir(o[0] / 255, o[1] / 255, o[2] / 255, o[3]);
|
|
26948
26948
|
}
|
|
26949
|
-
throw new
|
|
26949
|
+
throw new Lr(c || `Could not parse color from value '${typeof o == "string" ? o : String(JSON.stringify(o))}'`);
|
|
26950
26950
|
}
|
|
26951
26951
|
if (this.type.kind === "number") {
|
|
26952
26952
|
let o = null;
|
|
@@ -26957,7 +26957,7 @@ var dB = { exports: {} };
|
|
|
26957
26957
|
if (!isNaN(d))
|
|
26958
26958
|
return d;
|
|
26959
26959
|
}
|
|
26960
|
-
throw new
|
|
26960
|
+
throw new Lr(`Could not convert ${JSON.stringify(o)} to number.`);
|
|
26961
26961
|
}
|
|
26962
26962
|
return this.type.kind === "formatted" ? co.fromString(ms(this.args[0].evaluate(n))) : this.type.kind === "resolvedImage" ? En.fromString(ms(this.args[0].evaluate(n))) : this.type.kind === "array" ? this.args.map((o) => o.evaluate(n)) : ms(this.args[0].evaluate(n));
|
|
26963
26963
|
}
|
|
@@ -27944,7 +27944,7 @@ var dB = { exports: {} };
|
|
|
27944
27944
|
const k = n.scope;
|
|
27945
27945
|
n.scope = (k || "").split("").slice(1).join(""), L = p.evaluate(n), n.scope = k;
|
|
27946
27946
|
}
|
|
27947
|
-
return d && (L = uh(d, L)), L === void 0 || b === void 0 && w === void 0 && I === void 0 || (typeof L == "number" ? L = Um(L, b, w, I) : Array.isArray(L) && (L = L.map((k) => typeof k == "number" ? Um(k, b, w, I) : k))), p !== void 0 && L !== void 0 && _ && !_.includes(L) && (L = E, d && (L = uh(d, L))), (d && d !== this.type || L !== void 0 &&
|
|
27947
|
+
return d && (L = uh(d, L)), L === void 0 || b === void 0 && w === void 0 && I === void 0 || (typeof L == "number" ? L = Um(L, b, w, I) : Array.isArray(L) && (L = L.map((k) => typeof k == "number" ? Um(k, b, w, I) : k))), p !== void 0 && L !== void 0 && _ && !_.includes(L) && (L = E, d && (L = uh(d, L))), (d && d !== this.type || L !== void 0 && Nr(L) !== this.type) && (L = uh(this.type.kind, L)), L;
|
|
27948
27948
|
}
|
|
27949
27949
|
eachChild() {
|
|
27950
27950
|
}
|
|
@@ -28091,7 +28091,7 @@ var dB = { exports: {} };
|
|
|
28091
28091
|
p = b + 1;
|
|
28092
28092
|
} else {
|
|
28093
28093
|
if (!(c > n))
|
|
28094
|
-
throw new
|
|
28094
|
+
throw new Lr("Input is not a number.");
|
|
28095
28095
|
_ = b - 1;
|
|
28096
28096
|
}
|
|
28097
28097
|
return 0;
|
|
@@ -28383,11 +28383,11 @@ var dB = { exports: {} };
|
|
|
28383
28383
|
evaluate(n) {
|
|
28384
28384
|
const o = this.index.evaluate(n), c = this.input.evaluate(n);
|
|
28385
28385
|
if (o < 0)
|
|
28386
|
-
throw new
|
|
28386
|
+
throw new Lr(`Array index out of bounds: ${o} < 0.`);
|
|
28387
28387
|
if (o >= c.length)
|
|
28388
|
-
throw new
|
|
28388
|
+
throw new Lr(`Array index out of bounds: ${o} > ${c.length - 1}.`);
|
|
28389
28389
|
if (o !== Math.floor(o))
|
|
28390
|
-
throw new
|
|
28390
|
+
throw new Lr(`Array index must be an integer, but found ${o} instead.`);
|
|
28391
28391
|
return c[o];
|
|
28392
28392
|
}
|
|
28393
28393
|
eachChild(n) {
|
|
@@ -28416,9 +28416,9 @@ var dB = { exports: {} };
|
|
|
28416
28416
|
if (c == null)
|
|
28417
28417
|
return !1;
|
|
28418
28418
|
if (!Za(o, ["boolean", "string", "number", "null"]))
|
|
28419
|
-
throw new
|
|
28419
|
+
throw new Lr(`Expected first argument to be of type boolean, string, number or null, but found ${xr(Nr(o))} instead.`);
|
|
28420
28420
|
if (!Za(c, ["string", "array"]))
|
|
28421
|
-
throw new
|
|
28421
|
+
throw new Lr(`Expected second argument to be of type array or string, but found ${xr(Nr(c))} instead.`);
|
|
28422
28422
|
return c.indexOf(o) >= 0;
|
|
28423
28423
|
}
|
|
28424
28424
|
eachChild(n) {
|
|
@@ -28453,9 +28453,9 @@ var dB = { exports: {} };
|
|
|
28453
28453
|
evaluate(n) {
|
|
28454
28454
|
const o = this.needle.evaluate(n), c = this.haystack.evaluate(n);
|
|
28455
28455
|
if (!Za(o, ["boolean", "string", "number", "null"]))
|
|
28456
|
-
throw new
|
|
28456
|
+
throw new Lr(`Expected first argument to be of type boolean, string, number or null, but found ${xr(Nr(o))} instead.`);
|
|
28457
28457
|
if (!Za(c, ["string", "array"]))
|
|
28458
|
-
throw new
|
|
28458
|
+
throw new Lr(`Expected second argument to be of type array or string, but found ${xr(Nr(c))} instead.`);
|
|
28459
28459
|
if (this.fromIndex) {
|
|
28460
28460
|
const d = this.fromIndex.evaluate(n);
|
|
28461
28461
|
return c.indexOf(o, d);
|
|
@@ -28504,10 +28504,10 @@ var dB = { exports: {} };
|
|
|
28504
28504
|
if (typeof F == "number" && Math.floor(F) !== F)
|
|
28505
28505
|
return k.error("Numeric branch labels must be integer values.");
|
|
28506
28506
|
if (c) {
|
|
28507
|
-
if (k.checkSubtype(c,
|
|
28507
|
+
if (k.checkSubtype(c, Nr(F)))
|
|
28508
28508
|
return null;
|
|
28509
28509
|
} else
|
|
28510
|
-
c =
|
|
28510
|
+
c = Nr(F);
|
|
28511
28511
|
if (p[String(F)] !== void 0)
|
|
28512
28512
|
return k.error("Branch labels must be unique.");
|
|
28513
28513
|
p[String(F)] = _.length;
|
|
@@ -28525,7 +28525,7 @@ var dB = { exports: {} };
|
|
|
28525
28525
|
}
|
|
28526
28526
|
evaluate(n) {
|
|
28527
28527
|
const o = this.input.evaluate(n);
|
|
28528
|
-
return (
|
|
28528
|
+
return (Nr(o) === this.inputType && this.outputs[this.cases[o]] || this.otherwise).evaluate(n);
|
|
28529
28529
|
}
|
|
28530
28530
|
eachChild(n) {
|
|
28531
28531
|
n(this.input), this.outputs.forEach(n), n(this.otherwise);
|
|
@@ -28613,7 +28613,7 @@ var dB = { exports: {} };
|
|
|
28613
28613
|
evaluate(n) {
|
|
28614
28614
|
const o = this.input.evaluate(n), c = this.beginIndex.evaluate(n);
|
|
28615
28615
|
if (!Za(o, ["string", "array"]))
|
|
28616
|
-
throw new
|
|
28616
|
+
throw new Lr(`Expected first argument to be of type array or string, but found ${xr(Nr(o))} instead.`);
|
|
28617
28617
|
if (this.endIndex) {
|
|
28618
28618
|
const d = this.endIndex.evaluate(n);
|
|
28619
28619
|
return o.slice(c, d);
|
|
@@ -28676,12 +28676,12 @@ var dB = { exports: {} };
|
|
|
28676
28676
|
evaluate(p) {
|
|
28677
28677
|
const _ = this.lhs.evaluate(p), b = this.rhs.evaluate(p);
|
|
28678
28678
|
if (c && this.hasUntypedArgument) {
|
|
28679
|
-
const w =
|
|
28679
|
+
const w = Nr(_), I = Nr(b);
|
|
28680
28680
|
if (w.kind !== I.kind || w.kind !== "string" && w.kind !== "number")
|
|
28681
|
-
throw new
|
|
28681
|
+
throw new Lr(`Expected arguments for "${i}" to be (string, string) or (number, number), but found (${w.kind}, ${I.kind}) instead.`);
|
|
28682
28682
|
}
|
|
28683
28683
|
if (this.collator && !c && this.hasUntypedArgument) {
|
|
28684
|
-
const w =
|
|
28684
|
+
const w = Nr(_), I = Nr(b);
|
|
28685
28685
|
if (w.kind !== "string" || I.kind !== "string")
|
|
28686
28686
|
return n(p, _, b);
|
|
28687
28687
|
}
|
|
@@ -28780,7 +28780,7 @@ var dB = { exports: {} };
|
|
|
28780
28780
|
const o = this.input.evaluate(n);
|
|
28781
28781
|
if (typeof o == "string" || Array.isArray(o))
|
|
28782
28782
|
return o.length;
|
|
28783
|
-
throw new
|
|
28783
|
+
throw new Lr(`Expected value to be of type string or array, but found ${xr(Nr(o))} instead.`);
|
|
28784
28784
|
}
|
|
28785
28785
|
eachChild(n) {
|
|
28786
28786
|
n(this.input);
|
|
@@ -28807,7 +28807,7 @@ var dB = { exports: {} };
|
|
|
28807
28807
|
n = n.evaluate(i), o = o.evaluate(i), c = c.evaluate(i);
|
|
28808
28808
|
const p = d ? d.evaluate(i) : 1, _ = yy(n, o, c, p);
|
|
28809
28809
|
if (_)
|
|
28810
|
-
throw new
|
|
28810
|
+
throw new Lr(_);
|
|
28811
28811
|
return new Ir(n / 255 * p, o / 255 * p, c / 255 * p, p);
|
|
28812
28812
|
}
|
|
28813
28813
|
function Oy(i, [n, o, c, d]) {
|
|
@@ -28816,10 +28816,10 @@ var dB = { exports: {} };
|
|
|
28816
28816
|
return typeof I == "number" && I >= 0 && I <= 360 ? typeof E == "number" && E >= 0 && E <= 100 && typeof L == "number" && L >= 0 && L <= 100 ? k === void 0 || typeof k == "number" && k >= 0 && k <= 1 ? null : `Invalid hsla value [${[I, E, L, k].join(", ")}]: 'a' must be between 0 and 1.` : `Invalid hsla value [${(typeof k == "number" ? [I, E, L, k] : [I, E, L]).join(", ")}]: 's', and 'l' must be between 0 and 100.` : `Invalid hsla value [${(typeof k == "number" ? [I, E, L, k] : [I, E, L]).join(", ")}]: 'h' must be between 0 and 360.`;
|
|
28817
28817
|
}(n, o, c, p);
|
|
28818
28818
|
if (_)
|
|
28819
|
-
throw new
|
|
28819
|
+
throw new Lr(_);
|
|
28820
28820
|
const b = `hsla(${n}, ${o}%, ${c}%, ${p})`, w = Ir.parse(b);
|
|
28821
28821
|
if (!w)
|
|
28822
|
-
throw new
|
|
28822
|
+
throw new Lr(`Failed to parse HSLA color: ${b}`);
|
|
28823
28823
|
return w;
|
|
28824
28824
|
}
|
|
28825
28825
|
function rg(i, n) {
|
|
@@ -28833,8 +28833,8 @@ var dB = { exports: {} };
|
|
|
28833
28833
|
return { type: i };
|
|
28834
28834
|
}
|
|
28835
28835
|
ui.register(ng, { error: [{ kind: "error" }, [Ii], (i, [n]) => {
|
|
28836
|
-
throw new
|
|
28837
|
-
}], typeof: [Ii, [fi], (i, [n]) => xr(
|
|
28836
|
+
throw new Lr(n.evaluate(i));
|
|
28837
|
+
}], typeof: [Ii, [fi], (i, [n]) => xr(Nr(n.evaluate(i)))], "to-rgba": [Vo(cn, 4), [ps], (i, [n]) => n.evaluate(i).toArray()], rgb: [ps, [cn, cn, cn], ig], rgba: [ps, [cn, cn, cn, cn], ig], hsl: [ps, [cn, cn, cn], Oy], hsla: [ps, [cn, cn, cn, cn], Oy], has: { type: Ti, overloads: [[[Ii], (i, [n]) => rg(n.evaluate(i), i.properties())], [[Ii, kc], (i, [n, o]) => rg(n.evaluate(i), o.evaluate(i))]] }, get: { type: fi, overloads: [[[Ii], (i, [n]) => og(n.evaluate(i), i.properties())], [[Ii, kc], (i, [n, o]) => og(n.evaluate(i), o.evaluate(i))]] }, "feature-state": [fi, [Ii], (i, [n]) => og(n.evaluate(i), i.featureState || {})], properties: [kc, [], (i) => i.properties()], "geometry-type": [Ii, [], (i) => i.geometryType()], id: [fi, [], (i) => i.id()], zoom: [cn, [], (i) => i.globals.zoom], pitch: [cn, [], (i) => i.globals.pitch || 0], "distance-from-center": [cn, [], (i) => i.distanceFromCenter()], "measure-light": [cn, [Ii], (i, [n]) => i.measureLight(n.evaluate(i))], "heatmap-density": [cn, [], (i) => i.globals.heatmapDensity || 0], "line-progress": [cn, [], (i) => i.globals.lineProgress || 0], "raster-value": [cn, [], (i) => i.globals.rasterValue || 0], "raster-particle-speed": [cn, [], (i) => i.globals.rasterParticleSpeed || 0], "sky-radial-progress": [cn, [], (i) => i.globals.skyRadialProgress || 0], accumulated: [fi, [], (i) => i.globals.accumulated === void 0 ? null : i.globals.accumulated], "+": [cn, Gl(cn), (i, n) => {
|
|
28838
28838
|
let o = 0;
|
|
28839
28839
|
for (const c of n)
|
|
28840
28840
|
o += c.evaluate(i);
|
|
@@ -28908,7 +28908,7 @@ var dB = { exports: {} };
|
|
|
28908
28908
|
}(d);
|
|
28909
28909
|
else {
|
|
28910
28910
|
if (typeof d != "number")
|
|
28911
|
-
throw new
|
|
28911
|
+
throw new Lr(`Invalid seed input: ${d}`);
|
|
28912
28912
|
p = d;
|
|
28913
28913
|
}
|
|
28914
28914
|
return o + ky(p)() * (c - o);
|
|
@@ -29041,7 +29041,7 @@ var dB = { exports: {} };
|
|
|
29041
29041
|
if (I == null || typeof I == "number" && I != I)
|
|
29042
29042
|
return this._defaultValue;
|
|
29043
29043
|
if (this._enumValues && !(I in this._enumValues))
|
|
29044
|
-
throw new
|
|
29044
|
+
throw new Lr(`Expected value to be one of ${Object.keys(this._enumValues).map((E) => JSON.stringify(E)).join(", ")}, but found ${JSON.stringify(I)} instead.`);
|
|
29045
29045
|
return I;
|
|
29046
29046
|
} catch (I) {
|
|
29047
29047
|
return this._warningHistory[I.message] || (this._warningHistory[I.message] = !0, typeof console < "u" && console.warn(I.message)), this._defaultValue;
|
|
@@ -31486,7 +31486,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
31486
31486
|
Yo(b, p);
|
|
31487
31487
|
return c;
|
|
31488
31488
|
}
|
|
31489
|
-
function
|
|
31489
|
+
function zr(i, n) {
|
|
31490
31490
|
return { type: i.type, id: i.id, properties: i.properties, geometry: n ? Yr(i) : [] };
|
|
31491
31491
|
}
|
|
31492
31492
|
function To(i, n, o, c, d) {
|
|
@@ -31504,7 +31504,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
31504
31504
|
let b = null;
|
|
31505
31505
|
p.type === "circle" && (b = p.layout.get("circle-sort-key"));
|
|
31506
31506
|
for (const { feature: I, id: E, index: L, sourceLayerIndex: k } of n) {
|
|
31507
|
-
const U = this.layers[0]._featureFilter.needGeometry, F =
|
|
31507
|
+
const U = this.layers[0]._featureFilter.needGeometry, F = zr(I, U);
|
|
31508
31508
|
if (!this.layers[0]._featureFilter.filter(new ir(this.zoom), F, c))
|
|
31509
31509
|
continue;
|
|
31510
31510
|
const $ = b ? b.evaluate(F, {}, c) : void 0, Z = { id: E, properties: I.properties, type: I.type, sourceLayerIndex: k, index: L, geometry: U ? F.geometry : Yr(I, c, d), patterns: {}, sortKey: $ };
|
|
@@ -33739,7 +33739,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
33739
33739
|
this.hasPattern = nw("fill", this.layers, o);
|
|
33740
33740
|
const p = this.layers[0].layout.get("fill-sort-key"), _ = [];
|
|
33741
33741
|
for (const { feature: b, id: w, index: I, sourceLayerIndex: E } of n) {
|
|
33742
|
-
const L = this.layers[0]._featureFilter.needGeometry, k =
|
|
33742
|
+
const L = this.layers[0]._featureFilter.needGeometry, k = zr(b, L);
|
|
33743
33743
|
if (!this.layers[0]._featureFilter.filter(new ir(this.zoom), k, c))
|
|
33744
33744
|
continue;
|
|
33745
33745
|
const U = p ? p.evaluate(k, {}, c, o.availableImages) : void 0, F = { id: w, properties: b.properties, type: b.type, sourceLayerIndex: E, index: I, geometry: L ? k.geometry : Yr(b, c, d), patterns: {}, sortKey: U };
|
|
@@ -34437,7 +34437,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34437
34437
|
populate(n, o, c, d) {
|
|
34438
34438
|
this.features = [], this.hasPattern = nw("fill-extrusion", this.layers, o), this.featuresOnBorder = [], this.borderFeatureIndices = [[], [], [], []], this.borderDoneWithNeighborZ = [-1, -1, -1, -1], this.tileToMeter = ii(c), this.edgeRadius = this.layers[0].layout.get("fill-extrusion-edge-radius") / this.tileToMeter;
|
|
34439
34439
|
for (const { feature: p, id: _, index: b, sourceLayerIndex: w } of n) {
|
|
34440
|
-
const I = this.layers[0]._featureFilter.needGeometry, E =
|
|
34440
|
+
const I = this.layers[0]._featureFilter.needGeometry, E = zr(p, I);
|
|
34441
34441
|
if (!this.layers[0]._featureFilter.filter(new ir(this.zoom), E, c))
|
|
34442
34442
|
continue;
|
|
34443
34443
|
const L = { id: _, sourceLayerIndex: w, index: b, geometry: I ? E.geometry : Yr(p, c, d), properties: p.properties, type: p.type, patterns: {} }, k = this.layoutVertexArray.length;
|
|
@@ -34968,7 +34968,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
34968
34968
|
this.hasPattern = nw("line", this.layers, o);
|
|
34969
34969
|
const p = this.layers[0].layout.get("line-sort-key"), _ = [];
|
|
34970
34970
|
for (const { feature: E, id: L, index: k, sourceLayerIndex: U } of n) {
|
|
34971
|
-
const F = this.layers[0]._featureFilter.needGeometry, $ =
|
|
34971
|
+
const F = this.layers[0]._featureFilter.needGeometry, $ = zr(E, F);
|
|
34972
34972
|
if (!this.layers[0]._featureFilter.filter(new ir(this.zoom), $, c))
|
|
34973
34973
|
continue;
|
|
34974
34974
|
const Z = p ? p.evaluate($, {}, c) : void 0, J = { id: L, properties: E.properties, type: E.type, sourceLayerIndex: U, index: k, geometry: F ? $.geometry : Yr(E, c, d), patterns: {}, sortKey: Z };
|
|
@@ -36942,7 +36942,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
36942
36942
|
return;
|
|
36943
36943
|
const F = o.iconDependencies, $ = o.glyphDependencies, Z = o.availableImages, J = new ir(this.zoom);
|
|
36944
36944
|
for (const { feature: fe, id: ye, index: ge, sourceLayerIndex: Se } of n) {
|
|
36945
|
-
const we = p._featureFilter.needGeometry, je =
|
|
36945
|
+
const we = p._featureFilter.needGeometry, je = zr(fe, we);
|
|
36946
36946
|
if (!p._featureFilter.filter(J, je, c))
|
|
36947
36947
|
continue;
|
|
36948
36948
|
if (we || (je.geometry = Yr(fe, c, d)), b && fe.type !== 1 && c.z <= 5) {
|
|
@@ -37318,7 +37318,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
37318
37318
|
_(c.value.value.sections);
|
|
37319
37319
|
else if (c.value.kind === "source") {
|
|
37320
37320
|
const b = (I) => {
|
|
37321
|
-
p || (I instanceof _a &&
|
|
37321
|
+
p || (I instanceof _a && Nr(I.value) === Oc ? _(I.value.sections) : I instanceof Rc ? _(I.sections) : I.eachChild(b));
|
|
37322
37322
|
}, w = c.value;
|
|
37323
37323
|
w._styleExpression && b(w._styleExpression.expression);
|
|
37324
37324
|
}
|
|
@@ -37798,7 +37798,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
37798
37798
|
const p = this.layers[0]._featureFilter.needGeometry;
|
|
37799
37799
|
this.lookup = new Uint8Array(this.lookupDim * this.lookupDim);
|
|
37800
37800
|
for (const { feature: _, id: b, index: w, sourceLayerIndex: I } of n) {
|
|
37801
|
-
const E =
|
|
37801
|
+
const E = zr(_, p);
|
|
37802
37802
|
if (!this.layers[0]._featureFilter.filter(new ir(this.zoom), E, c))
|
|
37803
37803
|
continue;
|
|
37804
37804
|
const L = { id: b, sourceLayerIndex: I, index: w, geometry: p ? E.geometry : Yr(_, c, d), properties: _.properties, type: _.type, patterns: {} }, k = this.addFeature(L, L.geometry, E);
|
|
@@ -38733,7 +38733,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
38733
38733
|
return;
|
|
38734
38734
|
const $ = this.sourceLayerCoder.decode(k), Z = this.vtLayers[$].feature(E);
|
|
38735
38735
|
if (c.needGeometry) {
|
|
38736
|
-
const fe =
|
|
38736
|
+
const fe = zr(Z, !0);
|
|
38737
38737
|
if (!c.filter(new ir(this.tileID.overscaledZ), fe, this.tileID.canonical))
|
|
38738
38738
|
return;
|
|
38739
38739
|
} else if (!c.filter(new ir(this.tileID.overscaledZ), Z))
|
|
@@ -40196,7 +40196,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
40196
40196
|
return { min: new se(n, o), max: new se(c, d) };
|
|
40197
40197
|
}, a.a5 = Yn, a.a8 = Sa, a.a9 = wi, a.aA = ky, a.aB = pr, a.aC = X, a.aD = qy, a.aE = G_, a.aF = function() {
|
|
40198
40198
|
ts.isLoading() || ts.isLoaded() || al() !== "deferred" || vg();
|
|
40199
|
-
}, a.aG = ns, a.aH =
|
|
40199
|
+
}, a.aG = ns, a.aH = zr, a.aI = pN, a.aJ = Un, a.aK = aw, a.aL = rw, a.aM = Yr, a.aN = Ps, a.aO = zg, a.aP = t6, a.aQ = T_, a.aR = bw, a.aS = function(i, n) {
|
|
40200
40200
|
const o = ru(n.zoom);
|
|
40201
40201
|
if (o === 0)
|
|
40202
40202
|
return ml(i);
|
|
@@ -40245,7 +40245,7 @@ ${JSON.stringify(o, null, 2)}
|
|
|
40245
40245
|
}, n);
|
|
40246
40246
|
}, a.ai = function(i) {
|
|
40247
40247
|
Ft++, Ft > on && (i.getActor().send("enforceCacheSizeLimit", mt), Ft = 0);
|
|
40248
|
-
}, a.aj =
|
|
40248
|
+
}, a.aj = Cr, a.ak = pt, a.al = function(i) {
|
|
40249
40249
|
return i <= 1 ? 1 : Math.pow(2, Math.floor(Math.log(i) / Math.LN2));
|
|
40250
40250
|
}, a.am = Qt, a.an = QC, a.ao = HC, a.ap = $C, a.aq = function(i, n) {
|
|
40251
40251
|
const o = document.createElement("video");
|
|
@@ -41574,14 +41574,14 @@ ${JSON.stringify(o, null, 2)}
|
|
|
41574
41574
|
else if (_n === "Polygon")
|
|
41575
41575
|
At(zn, Li, Vt, qt, Ht, !0);
|
|
41576
41576
|
else if (_n === "MultiPolygon")
|
|
41577
|
-
for (var
|
|
41577
|
+
for (var Cr = 0; Cr < zn.length; Cr++) {
|
|
41578
41578
|
var ao = [];
|
|
41579
|
-
At(zn[
|
|
41579
|
+
At(zn[Cr], ao, Vt, qt, Ht, !0), ao.length && Li.push(ao);
|
|
41580
41580
|
}
|
|
41581
41581
|
if (Li.length) {
|
|
41582
41582
|
if (Yt.lineMetrics && _n === "LineString") {
|
|
41583
|
-
for (
|
|
41584
|
-
an.push(ce(hn.id, _n, Li[
|
|
41583
|
+
for (Cr = 0; Cr < Li.length; Cr++)
|
|
41584
|
+
an.push(ce(hn.id, _n, Li[Cr], hn.tags));
|
|
41585
41585
|
continue;
|
|
41586
41586
|
}
|
|
41587
41587
|
_n !== "LineString" && _n !== "MultiLineString" || (Li.length === 1 ? (_n = "LineString", Li = Li[0]) : _n = "MultiLineString"), _n !== "Point" && _n !== "MultiPoint" || (_n = Li.length === 3 ? "Point" : "MultiPoint"), an.push(ce(hn.id, _n, Li, hn.tags));
|
|
@@ -41598,8 +41598,8 @@ ${JSON.stringify(o, null, 2)}
|
|
|
41598
41598
|
}
|
|
41599
41599
|
function Et(Mt, Tt, Vt, qt, Ht, en, Jt) {
|
|
41600
41600
|
for (var Yt, an, wt = Xt(Mt), hn = Ht === 0 ? Ft : $t, zn = Mt.start, _n = 0; _n < Mt.length - 3; _n += 3) {
|
|
41601
|
-
var bi = Mt[_n], ji = Mt[_n + 1], Li = Mt[_n + 2],
|
|
41602
|
-
Jt && (Yt = Math.sqrt(Math.pow(bi -
|
|
41601
|
+
var bi = Mt[_n], ji = Mt[_n + 1], Li = Mt[_n + 2], Cr = Mt[_n + 3], ao = Mt[_n + 4], Mi = Ht === 0 ? bi : ji, Jo = Ht === 0 ? Cr : ao, Ls = !1;
|
|
41602
|
+
Jt && (Yt = Math.sqrt(Math.pow(bi - Cr, 2) + Math.pow(ji - ao, 2))), Mi < Vt ? Jo > Vt && (an = hn(wt, bi, ji, Cr, ao, Vt), Jt && (wt.start = zn + Yt * an)) : Mi > qt ? Jo < qt && (an = hn(wt, bi, ji, Cr, ao, qt), Jt && (wt.start = zn + Yt * an)) : kt(wt, bi, ji, Li), Jo < Vt && Mi >= Vt && (an = hn(wt, bi, ji, Cr, ao, Vt), Ls = !0), Jo > qt && Mi <= qt && (an = hn(wt, bi, ji, Cr, ao, qt), Ls = !0), !en && Ls && (Jt && (wt.end = zn + Yt * an), Tt.push(wt), wt = Xt(Mt)), Jt && (zn += Yt);
|
|
41603
41603
|
}
|
|
41604
41604
|
var lo = Mt.length - 3;
|
|
41605
41605
|
bi = Mt[lo], ji = Mt[lo + 1], Li = Mt[lo + 2], (Mi = Ht === 0 ? bi : ji) >= Vt && Mi <= qt && kt(wt, bi, ji, Li), lo = wt.length - 3, en && lo >= 3 && (wt[lo] !== wt[0] || wt[lo + 1] !== wt[1]) && kt(wt, wt[0], wt[1], wt[2]), wt.length && Tt.push(wt);
|
|
@@ -41718,8 +41718,8 @@ ${JSON.stringify(o, null, 2)}
|
|
|
41718
41718
|
zn += (wt[_n] - wt[ji]) * (wt[_n + 1] + wt[ji + 1]);
|
|
41719
41719
|
if (zn > 0 === hn)
|
|
41720
41720
|
for (_n = 0, bi = wt.length; _n < bi / 2; _n += 2) {
|
|
41721
|
-
var Li = wt[_n],
|
|
41722
|
-
wt[_n] = wt[bi - 2 - _n], wt[_n + 1] = wt[bi - 1 - _n], wt[bi - 2 - _n] = Li, wt[bi - 1 - _n] =
|
|
41721
|
+
var Li = wt[_n], Cr = wt[_n + 1];
|
|
41722
|
+
wt[_n] = wt[bi - 2 - _n], wt[_n + 1] = wt[bi - 1 - _n], wt[bi - 2 - _n] = Li, wt[bi - 1 - _n] = Cr;
|
|
41723
41723
|
}
|
|
41724
41724
|
}(Yt, en), Mt.push(Yt);
|
|
41725
41725
|
}
|
|
@@ -41770,8 +41770,8 @@ ${JSON.stringify(o, null, 2)}
|
|
|
41770
41770
|
continue;
|
|
41771
41771
|
if (_n.source = null, Mt.length !== 0) {
|
|
41772
41772
|
wt > 1 && console.time("clipping");
|
|
41773
|
-
var Li,
|
|
41774
|
-
Li =
|
|
41773
|
+
var Li, Cr, ao, Mi, Jo, Ls, lo = 0.5 * an.buffer / an.extent, nh = 0.5 - lo, Ga = 0.5 + lo, Nc = 1 + lo;
|
|
41774
|
+
Li = Cr = ao = Mi = null, Jo = Fe(Mt, hn, Vt - lo, Vt + Ga, 0, _n.minX, _n.maxX, an), Ls = Fe(Mt, hn, Vt + nh, Vt + Nc, 0, _n.minX, _n.maxX, an), Mt = null, Jo && (Li = Fe(Jo, hn, qt - lo, qt + Ga, 1, _n.minY, _n.maxY, an), Cr = Fe(Jo, hn, qt + nh, qt + Nc, 1, _n.minY, _n.maxY, an), Jo = null), Ls && (ao = Fe(Ls, hn, qt - lo, qt + Ga, 1, _n.minY, _n.maxY, an), Mi = Fe(Ls, hn, qt + nh, qt + Nc, 1, _n.minY, _n.maxY, an), Ls = null), wt > 1 && console.timeEnd("clipping"), Yt.push(Li || [], Tt + 1, 2 * Vt, 2 * qt), Yt.push(Cr || [], Tt + 1, 2 * Vt, 2 * qt + 1), Yt.push(ao || [], Tt + 1, 2 * Vt + 1, 2 * qt), Yt.push(Mi || [], Tt + 1, 2 * Vt + 1, 2 * qt + 1);
|
|
41775
41775
|
}
|
|
41776
41776
|
}
|
|
41777
41777
|
}, Wi.prototype.getTile = function(Mt, Tt, Vt) {
|
|
@@ -43519,7 +43519,7 @@ Use an identity property function instead: ${G}.`)];
|
|
|
43519
43519
|
}
|
|
43520
43520
|
}
|
|
43521
43521
|
Li.uniqueIdxCounter = 0;
|
|
43522
|
-
const
|
|
43522
|
+
const Cr = { Int8: "BYTE", Uint8: "UNSIGNED_BYTE", Int16: "SHORT", Uint16: "UNSIGNED_SHORT", Int32: "INT", Uint32: "UNSIGNED_INT", Float32: "FLOAT" };
|
|
43523
43523
|
class ao {
|
|
43524
43524
|
constructor(l, h, y, x, M, T) {
|
|
43525
43525
|
this.length = h.length, this.attributes = y, this.itemSize = h.bytesPerElement, this.dynamicDraw = x, this.instanceCount = T, this.context = l;
|
|
@@ -43542,7 +43542,7 @@ Use an identity property function instead: ${G}.`)];
|
|
|
43542
43542
|
setVertexAttribPointers(l, h, y) {
|
|
43543
43543
|
for (let x = 0; x < this.attributes.length; x++) {
|
|
43544
43544
|
const M = this.attributes[x], T = h.attributes[M.name];
|
|
43545
|
-
T !== void 0 && l.vertexAttribPointer(T, M.components, l[
|
|
43545
|
+
T !== void 0 && l.vertexAttribPointer(T, M.components, l[Cr[M.type]], !1, this.itemSize, M.offset + this.itemSize * (y || 0));
|
|
43546
43546
|
}
|
|
43547
43547
|
}
|
|
43548
43548
|
setVertexAttribDivisor(l, h, y) {
|
|
@@ -44008,7 +44008,7 @@ Use an identity property function instead: ${G}.`)];
|
|
|
44008
44008
|
}
|
|
44009
44009
|
}
|
|
44010
44010
|
var Bl = a.ay([{ name: "a_pos", type: "Float32", components: 3 }]);
|
|
44011
|
-
class
|
|
44011
|
+
class Nr {
|
|
44012
44012
|
constructor(l, h, y, x) {
|
|
44013
44013
|
const M = { width: y[0], height: y[1], data: null }, T = l.gl;
|
|
44014
44014
|
this.targetColorTexture = new a.T(l, M, T.RGBA, { useMipmap: !1 }), this.backgroundColorTexture = new a.T(l, M, T.RGBA, { useMipmap: !1 }), this.context = l, this.setNumParticles(h, x), this.lastInvalidatedAt = 0;
|
|
@@ -44675,7 +44675,7 @@ Use an identity property function instead: ${G}.`)];
|
|
|
44675
44675
|
_update() {
|
|
44676
44676
|
this.fire(new a.b("data", { dataType: "source", sourceDataType: "content" }));
|
|
44677
44677
|
}
|
|
44678
|
-
} },
|
|
44678
|
+
} }, Lr = function(g, l, h, y) {
|
|
44679
44679
|
const x = new _a[l.type](g, l, h, y);
|
|
44680
44680
|
if (x.id !== g)
|
|
44681
44681
|
throw new Error(`Expected Source id to be ${g} instead of ${x.id}`);
|
|
@@ -46050,16 +46050,16 @@ Use an identity property function instead: ${G}.`)];
|
|
|
46050
46050
|
const mi = (wi, Hr, ho) => {
|
|
46051
46051
|
const Ho = M.getSymbolInstanceTextSize(ne, Ke, this.transform.zoom, xt), oa = (wi.x2 - wi.x1) * Ho + 2 * wi.padding, Yo = (wi.y2 - wi.y1) * Ho + 2 * wi.padding, Yr = Ke.hasIconTextFit && !me ? Hr : null;
|
|
46052
46052
|
Yr && Bn(Yr);
|
|
46053
|
-
let
|
|
46053
|
+
let zr = { box: [], offscreen: !1, occluded: !1 };
|
|
46054
46054
|
const To = _e ? 2 * ii.length : ii.length;
|
|
46055
46055
|
for (let ko = 0; ko < To; ++ko) {
|
|
46056
46056
|
const Go = this.attemptAnchorPlacement(ii[ko % ii.length], wi, oa, Yo, Ho, ve, ae, B, A, re, ko >= ii.length, Ke, xt, M, ho, Yr, ne, te);
|
|
46057
|
-
if (Go && (
|
|
46057
|
+
if (Go && (zr = Go.placedGlyphBoxes, zr && zr.box && zr.box.length)) {
|
|
46058
46058
|
dt = !0, Qt = Go.shift;
|
|
46059
46059
|
break;
|
|
46060
46060
|
}
|
|
46061
46061
|
}
|
|
46062
|
-
return
|
|
46062
|
+
return zr;
|
|
46063
46063
|
};
|
|
46064
46064
|
yi(() => mi(hi, gt.iconBox, a.b6.horizontal), () => {
|
|
46065
46065
|
const wi = gt.verticalTextBox;
|
|
@@ -48102,7 +48102,7 @@ Use an identity property function instead: ${G}.`)];
|
|
|
48102
48102
|
if (["vector", "raster", "geojson", "video", "image"].indexOf(h.type) >= 0 && this._validate(Hn, `sources.${l}`, h, null, y))
|
|
48103
48103
|
return;
|
|
48104
48104
|
this.map && this.map._collectResourceTiming && (h.collectResourceTiming = !0);
|
|
48105
|
-
const x =
|
|
48105
|
+
const x = Lr(l, h, this.dispatcher, this);
|
|
48106
48106
|
x.scope = this.scope, x.setEventedParent(this, () => ({ isSourceLoaded: this._isSourceCacheLoaded(x.id), source: x.serialize(), sourceId: x.id }));
|
|
48107
48107
|
const M = (T) => {
|
|
48108
48108
|
const A = (T ? "symbol:" : "other:") + x.id, z = a.ag(A, this.scope), j = this._sourceCaches[A] = new zs(z, x, T);
|
|
@@ -51164,7 +51164,7 @@ uniform ${B} ${Q} u_${G};
|
|
|
51164
51164
|
}
|
|
51165
51165
|
class f3 extends zs {
|
|
51166
51166
|
constructor(l) {
|
|
51167
|
-
const h = { type: "raster-dem", maxzoom: l.transform.maxZoom }, y = new a.bW(a.bX(), null), x =
|
|
51167
|
+
const h = { type: "raster-dem", maxzoom: l.transform.maxZoom }, y = new a.bW(a.bX(), null), x = Lr("mock-dem", h, y, l.style);
|
|
51168
51168
|
super("mock-dem", x, !1), x.setEventedParent(this), this._sourceLoaded = !0;
|
|
51169
51169
|
}
|
|
51170
51170
|
_loadTile(l, h) {
|
|
@@ -51173,7 +51173,7 @@ uniform ${B} ${Q} u_${G};
|
|
|
51173
51173
|
}
|
|
51174
51174
|
class p3 extends zs {
|
|
51175
51175
|
constructor(l) {
|
|
51176
|
-
const h =
|
|
51176
|
+
const h = Lr("proxy", { type: "geojson", maxzoom: l.transform.maxZoom }, new a.bW(a.bX(), null), l.style);
|
|
51177
51177
|
super("proxy", h, !1), h.setEventedParent(this), this.map = this.getSource().map = l, this.used = this._sourceLoaded = !0, this.renderCache = [], this.renderCachePool = [], this.proxyCachedFBO = {};
|
|
51178
51178
|
}
|
|
51179
51179
|
update(l, h, y) {
|
|
@@ -52236,11 +52236,11 @@ ${y.vertexSource}`;
|
|
|
52236
52236
|
g.terrainRenderModeElevated() && be && ni.push("PITCH_WITH_MAP_TERRAIN"), jt && (ni.push("PROJECTION_GLOBE_VIEW"), yi && ni.push("PROJECTED_POS_ON_VIEWPORT")), ii > 0 && ni.push("ICON_TRANSITION"), ot.icon.zOffsetVertexBuffer && ni.push("Z_OFFSET"), K < 1 && ni.push("SATURATION");
|
|
52237
52237
|
const mi = ot.icon.programConfigurations.get(h.id), $i = g.getOrCreateProgram(ot.sdfIcons ? "symbolSDF" : "symbolIcon", { config: mi, defines: ni });
|
|
52238
52238
|
let wi;
|
|
52239
|
-
const Hr = Be.imageAtlasTexture ? Be.imageAtlasTexture.size : [0, 0], ho = ot.iconSizeData, Ho = a.b5(ho, me.zoom), oa = be || me.pitch !== 0, Yo = sh(Qt, Be.tileID.canonical, be, ve, me, ot.getProjection(), tn), Yr = Im(Qt, Be.tileID.canonical, be, ve, me, ot.getProjection(), tn),
|
|
52239
|
+
const Hr = Be.imageAtlasTexture ? Be.imageAtlasTexture.size : [0, 0], ho = ot.iconSizeData, Ho = a.b5(ho, me.zoom), oa = be || me.pitch !== 0, Yo = sh(Qt, Be.tileID.canonical, be, ve, me, ot.getProjection(), tn), Yr = Im(Qt, Be.tileID.canonical, be, ve, me, ot.getProjection(), tn), zr = g.translatePosMatrix(Yr, Be, A, j, !0), To = g.translatePosMatrix(Qt, Be, A, j), ko = yi ? Ma : Yo, Go = ve && !be && !or;
|
|
52240
52240
|
let sa = tt;
|
|
52241
52241
|
!gt && !me.mercatorFromTransition || ve || (sa = Mh(me));
|
|
52242
52242
|
const dl = jt ? sa : tt;
|
|
52243
|
-
wi = ot.sdfIcons && !ot.iconsInText ? _h(ho.kind, Ho, Go, be, g, To, ko,
|
|
52243
|
+
wi = ot.sdfIcons && !ot.iconsInText ? _h(ho.kind, Ho, Go, be, g, To, ko, zr, !1, Hr, !0, dt, Gt, Ke, vn, dl, ot.getProjection()) : rf(ho.kind, Ho, Go, be, g, To, ko, zr, !1, Hr, dt, Gt, Ke, vn, dl, ot.getProjection(), K, ii);
|
|
52244
52244
|
const Jl = Be.imageAtlasTexture ? Be.imageAtlasTexture : null, Fh = h.layout.get("icon-size").constantOr(0) !== 1 || ot.iconsNeedLinear, Vh = ot.sdfIcons || g.options.rotating || g.options.zooming || Fh || oa ? _e.LINEAR : _e.NEAREST, Bg = ot.sdfIcons && h.paint.get("icon-halo-width").constantOr(1) !== 0, $h = g.terrain && be && or ? a.a6.invert(a.a6.create(), Yo) : Ma;
|
|
52245
52245
|
if (or && ot.icon) {
|
|
52246
52246
|
const nu = me.elevation, yf = nu ? nu.getAtTileOffsetFunc(dt, me.center.lat, me.worldSize, ot.getProjection()) : null, Sa = wm(Qt, Be.tileID.canonical, be, ve, me, ot.getProjection(), tn);
|
|
@@ -52254,12 +52254,12 @@ ${y.vertexSource}`;
|
|
|
52254
52254
|
let $i, wi = [0, 0], Hr = null;
|
|
52255
52255
|
const ho = ot.textSizeData;
|
|
52256
52256
|
ot.iconsInText && (wi = Be.imageAtlasTexture ? Be.imageAtlasTexture.size : [0, 0], Hr = Be.imageAtlasTexture ? Be.imageAtlasTexture : null, $i = Ce || me.pitch !== 0 || g.options.rotating || g.options.zooming || ho.kind === "composite" || ho.kind === "camera" ? _e.LINEAR : _e.NEAREST);
|
|
52257
|
-
const Ho = Be.glyphAtlasTexture ? Be.glyphAtlasTexture.size : [0, 0], oa = a.b5(ho, me.zoom), Yo = sh(Qt, Be.tileID.canonical, Ce, ae, me, ot.getProjection(), tn), Yr = Im(Qt, Be.tileID.canonical, Ce, ae, me, ot.getProjection(), tn),
|
|
52257
|
+
const Ho = Be.glyphAtlasTexture ? Be.glyphAtlasTexture.size : [0, 0], oa = a.b5(ho, me.zoom), Yo = sh(Qt, Be.tileID.canonical, Ce, ae, me, ot.getProjection(), tn), Yr = Im(Qt, Be.tileID.canonical, Ce, ae, me, ot.getProjection(), tn), zr = g.translatePosMatrix(Yr, Be, z, P, !0), To = g.translatePosMatrix(Qt, Be, z, P), ko = yi ? Ma : Yo, Go = ae && !Ce && !or;
|
|
52258
52258
|
let sa = tt;
|
|
52259
52259
|
!gt && !me.mercatorFromTransition || ae || (sa = Mh(me));
|
|
52260
52260
|
const dl = jt ? sa : tt;
|
|
52261
52261
|
let Jl;
|
|
52262
|
-
Jl = ot.iconsInText ? of(ho.kind, oa, Go, Ce, g, To, ko,
|
|
52262
|
+
Jl = ot.iconsInText ? of(ho.kind, oa, Go, Ce, g, To, ko, zr, Ho, wi, dt, Gt, Ke, vn, dl, ot.getProjection()) : _h(ho.kind, oa, Go, Ce, g, To, ko, zr, !0, Ho, !0, dt, Gt, Ke, vn, dl, ot.getProjection());
|
|
52263
52263
|
const Fh = Be.glyphAtlasTexture ? Be.glyphAtlasTexture : null, Vh = _e.LINEAR, Bg = h.paint.get("text-halo-width").constantOr(1) !== 0, $h = g.terrain && Ce && or ? a.a6.invert(a.a6.create(), Yo) : Ma;
|
|
52264
52264
|
if (or && ot.text) {
|
|
52265
52265
|
const nu = me.elevation, yf = nu ? nu.getAtTileOffsetFunc(dt, me.center.lat, me.worldSize, ot.getProjection()) : null, Sa = wm(Qt, Be.tileID.canonical, Ce, ae, me, ot.getProjection(), tn);
|
|
@@ -53225,7 +53225,7 @@ ${y.vertexSource}`;
|
|
|
53225
53225
|
me || (me = z.tileFramebuffer = P.createFramebuffer(_e[0], _e[1], !0, null));
|
|
53226
53226
|
let ve = K.rasterParticleState;
|
|
53227
53227
|
const ae = z.paint.get("raster-particle-count");
|
|
53228
|
-
ve || (ve = K.rasterParticleState = new
|
|
53228
|
+
ve || (ve = K.rasterParticleState = new Nr(P, re, _e, ae));
|
|
53229
53229
|
const be = ve.update(z.lastInvalidatedAt);
|
|
53230
53230
|
ve.numParticles !== ae && ve.setNumParticles(re, ae);
|
|
53231
53231
|
const Ce = ve.targetColorTexture;
|
|
@@ -53522,12 +53522,12 @@ ${y.vertexSource}`;
|
|
|
53522
53522
|
const Yo = wi.material;
|
|
53523
53523
|
let Yr;
|
|
53524
53524
|
Yo.occlusionTexture && Yo.occlusionTexture.offsetScale && (Yr = Yo.occlusionTexture.offsetScale, ho.defines.push("OCCLUSION_TEXTURE_TRANSFORM")), !Be && Ce && (Ce.useNormalOffset = !!wi.normalBuffer);
|
|
53525
|
-
const
|
|
53526
|
-
!Be && Ce && Ce.setupShadowsFromMatrix(ti,
|
|
53525
|
+
const zr = K.getOrCreateProgram("model", ho);
|
|
53526
|
+
!Be && Ce && Ce.setupShadowsFromMatrix(ti, zr, Ce.useNormalOffset), K.uploadCommonUniforms(ve, zr, mn.toUnwrapped(), oa);
|
|
53527
53527
|
const To = Yo.pbrMetallicRoughness;
|
|
53528
53528
|
To.metallicFactor = 0.9, To.roughnessFactor = 0.5;
|
|
53529
53529
|
const ko = sf(new Float32Array(yi), new Float32Array(or), new Float32Array(ni), K, gt, To.baseColorFactor, Yo.emissiveFactor, To.metallicFactor, To.roughnessFactor, Yo, mi, _e, [0, 0, 0], Yr);
|
|
53530
|
-
|
|
53530
|
+
zr.draw(K, ve.gl.TRIANGLES, tn && !Hr ? Ot : tt, Rn.disabled, Qt ? Hr || gt < 1 || On.hasTranslucentParts ? Xn.alphaBlended : Xn.unblended : Xn.disabled, En.backCCW, ko, _e.id, wi.vertexBuffer, wi.indexBuffer, wi.segments, _e.paint, K.transform.zoom, void 0, Ho);
|
|
53531
53531
|
}
|
|
53532
53532
|
}
|
|
53533
53533
|
}
|
|
@@ -61284,30 +61284,31 @@ function q4(e) {
|
|
|
61284
61284
|
return e === "true";
|
|
61285
61285
|
}
|
|
61286
61286
|
aF.propTypes = {
|
|
61287
|
-
apiKey:
|
|
61288
|
-
gmApiKey:
|
|
61289
|
-
mapboxAccessToken:
|
|
61290
|
-
venue:
|
|
61291
|
-
locationId:
|
|
61292
|
-
primaryColor:
|
|
61293
|
-
logo:
|
|
61294
|
-
appUserRoles:
|
|
61295
|
-
directionsFrom:
|
|
61296
|
-
directionsTo:
|
|
61297
|
-
externalIDs:
|
|
61298
|
-
tileStyle:
|
|
61299
|
-
startZoomLevel:
|
|
61300
|
-
gmMapId:
|
|
61301
|
-
supportsUrlParameters:
|
|
61302
|
-
bearing:
|
|
61303
|
-
pitch:
|
|
61304
|
-
kioskOriginLocationId:
|
|
61305
|
-
useMapProviderModule:
|
|
61306
|
-
timeout:
|
|
61307
|
-
miTransitionLevel:
|
|
61308
|
-
category:
|
|
61309
|
-
language:
|
|
61310
|
-
searchAllVenues:
|
|
61287
|
+
apiKey: Sr.string.isRequired,
|
|
61288
|
+
gmApiKey: Sr.string,
|
|
61289
|
+
mapboxAccessToken: Sr.string,
|
|
61290
|
+
venue: Sr.string,
|
|
61291
|
+
locationId: Sr.string,
|
|
61292
|
+
primaryColor: Sr.string,
|
|
61293
|
+
logo: Sr.string,
|
|
61294
|
+
appUserRoles: Sr.string,
|
|
61295
|
+
directionsFrom: Sr.string,
|
|
61296
|
+
directionsTo: Sr.string,
|
|
61297
|
+
externalIDs: Sr.array,
|
|
61298
|
+
tileStyle: Sr.string,
|
|
61299
|
+
startZoomLevel: Sr.number,
|
|
61300
|
+
gmMapId: Sr.string,
|
|
61301
|
+
supportsUrlParameters: Sr.bool,
|
|
61302
|
+
bearing: Sr.number,
|
|
61303
|
+
pitch: Sr.number,
|
|
61304
|
+
kioskOriginLocationId: Sr.string,
|
|
61305
|
+
useMapProviderModule: Sr.bool,
|
|
61306
|
+
timeout: Sr.number,
|
|
61307
|
+
miTransitionLevel: Sr.number,
|
|
61308
|
+
category: Sr.string,
|
|
61309
|
+
language: Sr.string,
|
|
61310
|
+
searchAllVenues: Sr.bool,
|
|
61311
|
+
useKeyboard: Sr.bool
|
|
61311
61312
|
};
|
|
61312
61313
|
const Nfe = nZ(aF, Gi, od);
|
|
61313
61314
|
window.customElements.define("mapsindoors-map", Nfe);
|