@mapsindoors/map-template 1.99.36 → 1.99.38
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/{ChatWindow-eIv898Q3.mjs → ChatWindow-BGJI5SIl.mjs} +127 -124
- package/dist/{GoogleMapsMap-B3xOF3Ib.mjs → GoogleMapsMap-DRLveped.mjs} +1 -1
- package/dist/{MapboxMap-CWNZLpoS.mjs → MapboxMap-R8Dgma7r.mjs} +18238 -17680
- package/dist/mapsindoors-react.es.js +2 -2
- package/dist/mapsindoors-react.umd.js +224 -203
- package/dist/mapsindoors-webcomponent.es.js +44410 -43808
- package/dist/{reactcomponent-MebtCeq2.mjs → reactcomponent-CRLOXLeV.mjs} +4736 -4695
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as ji, g as kr, j as A, u as cn, a as ze, m as br, s as Bi, S as Hi, b as Ui, P as K, c as vt, d as qi, i as Vi, e as Xn, f as wr, h as lt, k as Ln, l as $i, p as Wi, n as Xi, o as Yi, v as Ki, q as Gi, r as Qi, t as Ji } from "./reactcomponent-
|
|
1
|
+
import { R as ji, g as kr, j as A, u as cn, a as ze, m as br, s as Bi, S as Hi, b as Ui, P as K, c as vt, d as qi, i as Vi, e as Xn, f as wr, h as lt, k as Ln, l as $i, p as Wi, n as Xi, o as Yi, v as Ki, q as Gi, r as Qi, t as Ji } from "./reactcomponent-CRLOXLeV.mjs";
|
|
2
2
|
import * as Ve from "react";
|
|
3
3
|
import { useState as Re, useRef as We, useLayoutEffect as Cr, useMemo as Sr, useEffect as rn, useCallback as _e } from "react";
|
|
4
4
|
const Zi = (e) => {
|
|
@@ -1209,33 +1209,33 @@ function xl() {
|
|
|
1209
1209
|
Pt = 1;
|
|
1210
1210
|
var e = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, t = /\n/g, n = /^\s*/, r = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, i = /^:\s*/, o = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, l = /^[;\s]*/, a = /^\s+|\s+$/g, u = `
|
|
1211
1211
|
`, s = "/", f = "*", c = "", p = "comment", h = "declaration";
|
|
1212
|
-
Pn = function(k,
|
|
1212
|
+
Pn = function(k, I) {
|
|
1213
1213
|
if (typeof k != "string")
|
|
1214
1214
|
throw new TypeError("First argument must be a string");
|
|
1215
1215
|
if (!k) return [];
|
|
1216
|
-
|
|
1217
|
-
var y = 1,
|
|
1216
|
+
I = I || {};
|
|
1217
|
+
var y = 1, E = 1;
|
|
1218
1218
|
function C(_) {
|
|
1219
1219
|
var T = _.match(t);
|
|
1220
1220
|
T && (y += T.length);
|
|
1221
1221
|
var F = _.lastIndexOf(u);
|
|
1222
|
-
|
|
1222
|
+
E = ~F ? _.length - F : E + _.length;
|
|
1223
1223
|
}
|
|
1224
1224
|
function R() {
|
|
1225
|
-
var _ = { line: y, column:
|
|
1225
|
+
var _ = { line: y, column: E };
|
|
1226
1226
|
return function(T) {
|
|
1227
1227
|
return T.position = new D(_), H(), T;
|
|
1228
1228
|
};
|
|
1229
1229
|
}
|
|
1230
1230
|
function D(_) {
|
|
1231
|
-
this.start = _, this.end = { line: y, column:
|
|
1231
|
+
this.start = _, this.end = { line: y, column: E }, this.source = I.source;
|
|
1232
1232
|
}
|
|
1233
1233
|
D.prototype.content = k;
|
|
1234
1234
|
function b(_) {
|
|
1235
1235
|
var T = new Error(
|
|
1236
|
-
|
|
1236
|
+
I.source + ":" + y + ":" + E + ": " + _
|
|
1237
1237
|
);
|
|
1238
|
-
if (T.reason = _, T.filename =
|
|
1238
|
+
if (T.reason = _, T.filename = I.source, T.line = y, T.column = E, T.source = k, !I.silent) throw T;
|
|
1239
1239
|
}
|
|
1240
1240
|
function M(_) {
|
|
1241
1241
|
var T = _.exec(k);
|
|
@@ -1261,7 +1261,7 @@ function xl() {
|
|
|
1261
1261
|
if (T += 2, c === k.charAt(T - 1))
|
|
1262
1262
|
return b("End of comment missing");
|
|
1263
1263
|
var F = k.slice(2, T - 2);
|
|
1264
|
-
return
|
|
1264
|
+
return E += 2, C(F), k = k.slice(T), E += 2, _({
|
|
1265
1265
|
type: p,
|
|
1266
1266
|
comment: F
|
|
1267
1267
|
});
|
|
@@ -1976,7 +1976,7 @@ function no(e) {
|
|
|
1976
1976
|
}
|
|
1977
1977
|
function u(C) {
|
|
1978
1978
|
if (r++, t.containerState._closeFlow) {
|
|
1979
|
-
t.containerState._closeFlow = void 0, i &&
|
|
1979
|
+
t.containerState._closeFlow = void 0, i && E();
|
|
1980
1980
|
const R = t.events.length;
|
|
1981
1981
|
let D = R, b;
|
|
1982
1982
|
for (; D--; )
|
|
@@ -2005,7 +2005,7 @@ function no(e) {
|
|
|
2005
2005
|
return t.containerState = {}, e.check(Bt, f, c)(C);
|
|
2006
2006
|
}
|
|
2007
2007
|
function f(C) {
|
|
2008
|
-
return i &&
|
|
2008
|
+
return i && E(), y(r), p(C);
|
|
2009
2009
|
}
|
|
2010
2010
|
function c(C) {
|
|
2011
2011
|
return t.parser.lazy[t.now().line] = r !== n.length, l = t.now().offset, g(C);
|
|
@@ -2018,7 +2018,7 @@ function no(e) {
|
|
|
2018
2018
|
}
|
|
2019
2019
|
function g(C) {
|
|
2020
2020
|
if (C === null) {
|
|
2021
|
-
i &&
|
|
2021
|
+
i && E(), y(0), e.consume(C);
|
|
2022
2022
|
return;
|
|
2023
2023
|
}
|
|
2024
2024
|
return i = i || t.parser.flow(t.now()), e.enter("chunkFlow", {
|
|
@@ -2029,12 +2029,12 @@ function no(e) {
|
|
|
2029
2029
|
}
|
|
2030
2030
|
function k(C) {
|
|
2031
2031
|
if (C === null) {
|
|
2032
|
-
|
|
2032
|
+
I(e.exit("chunkFlow"), !0), y(0), e.consume(C);
|
|
2033
2033
|
return;
|
|
2034
2034
|
}
|
|
2035
|
-
return z(C) ? (e.consume(C),
|
|
2035
|
+
return z(C) ? (e.consume(C), I(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, a) : (e.consume(C), k);
|
|
2036
2036
|
}
|
|
2037
|
-
function
|
|
2037
|
+
function I(C, R) {
|
|
2038
2038
|
const D = t.sliceStream(C);
|
|
2039
2039
|
if (R && D.push(null), C.previous = o, o && (o.next = C), o = C, i.defineSkip(C.start), i.write(D), t.parser.lazy[C.start.line]) {
|
|
2040
2040
|
let b = i.events.length;
|
|
@@ -2071,7 +2071,7 @@ function no(e) {
|
|
|
2071
2071
|
}
|
|
2072
2072
|
n.length = C;
|
|
2073
2073
|
}
|
|
2074
|
-
function
|
|
2074
|
+
function E() {
|
|
2075
2075
|
i.write([null]), o = void 0, i = void 0, t.containerState._closeFlow = void 0;
|
|
2076
2076
|
}
|
|
2077
2077
|
}
|
|
@@ -2339,19 +2339,19 @@ function po(e, t, n) {
|
|
|
2339
2339
|
return b === null || z(b) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), c(b)) : b === 96 && b === a ? n(b) : (e.consume(b), g);
|
|
2340
2340
|
}
|
|
2341
2341
|
function k(b) {
|
|
2342
|
-
return e.attempt(i, R,
|
|
2342
|
+
return e.attempt(i, R, I)(b);
|
|
2343
2343
|
}
|
|
2344
|
-
function
|
|
2344
|
+
function I(b) {
|
|
2345
2345
|
return e.enter("lineEnding"), e.consume(b), e.exit("lineEnding"), y;
|
|
2346
2346
|
}
|
|
2347
2347
|
function y(b) {
|
|
2348
|
-
return o > 0 && B(b) ? V(e,
|
|
2348
|
+
return o > 0 && B(b) ? V(e, E, "linePrefix", o + 1)(b) : E(b);
|
|
2349
2349
|
}
|
|
2350
|
-
function
|
|
2350
|
+
function E(b) {
|
|
2351
2351
|
return b === null || z(b) ? e.check(Ut, k, R)(b) : (e.enter("codeFlowValue"), C(b));
|
|
2352
2352
|
}
|
|
2353
2353
|
function C(b) {
|
|
2354
|
-
return b === null || z(b) ? (e.exit("codeFlowValue"),
|
|
2354
|
+
return b === null || z(b) ? (e.exit("codeFlowValue"), E(b)) : (e.consume(b), C);
|
|
2355
2355
|
}
|
|
2356
2356
|
function R(b) {
|
|
2357
2357
|
return e.exit("codeFenced"), t(b);
|
|
@@ -2669,7 +2669,7 @@ function Eo(e, t) {
|
|
|
2669
2669
|
l || (l = r.parser[n.contentType](n.start), n._contentTypeTextTrailing && (l._contentTypeTextTrailing = !0));
|
|
2670
2670
|
const a = l.events, u = [], s = {};
|
|
2671
2671
|
let f, c, p = -1, h = n, g = 0, k = 0;
|
|
2672
|
-
const
|
|
2672
|
+
const I = [k];
|
|
2673
2673
|
for (; h; ) {
|
|
2674
2674
|
for (; e.get(++i)[1] !== h; )
|
|
2675
2675
|
;
|
|
@@ -2677,10 +2677,10 @@ function Eo(e, t) {
|
|
|
2677
2677
|
}
|
|
2678
2678
|
for (h = n; ++p < a.length; )
|
|
2679
2679
|
// Find a void token that includes a break.
|
|
2680
|
-
a[p][0] === "exit" && a[p - 1][0] === "enter" && a[p][1].type === a[p - 1][1].type && a[p][1].start.line !== a[p][1].end.line && (k = p + 1,
|
|
2681
|
-
for (l.events = [], h ? (h._tokenizer = void 0, h.previous = void 0) :
|
|
2682
|
-
const y = a.slice(
|
|
2683
|
-
u.push([
|
|
2680
|
+
a[p][0] === "exit" && a[p - 1][0] === "enter" && a[p][1].type === a[p - 1][1].type && a[p][1].start.line !== a[p][1].end.line && (k = p + 1, I.push(k), h._tokenizer = void 0, h.previous = void 0, h = h.next);
|
|
2681
|
+
for (l.events = [], h ? (h._tokenizer = void 0, h.previous = void 0) : I.pop(), p = I.length; p--; ) {
|
|
2682
|
+
const y = a.slice(I[p], I[p + 1]), E = o.pop();
|
|
2683
|
+
u.push([E, E + y.length - 1]), e.splice(E, 2, y);
|
|
2684
2684
|
}
|
|
2685
2685
|
for (u.reverse(), p = -1; ++p < u.length; )
|
|
2686
2686
|
s[g + u[p][0]] = g + u[p][1], g += u[p][1] - u[p][0] - 1;
|
|
@@ -2751,9 +2751,9 @@ function Vr(e, t, n, r, i, o, l, a, u) {
|
|
|
2751
2751
|
return y === 60 || y === 62 || y === 92 ? (e.consume(y), h) : h(y);
|
|
2752
2752
|
}
|
|
2753
2753
|
function k(y) {
|
|
2754
|
-
return !f && (y === null || y === 41 || X(y)) ? (e.exit("chunkString"), e.exit(a), e.exit(l), e.exit(r), t(y)) : f < s && y === 40 ? (e.consume(y), f++, k) : y === 41 ? (e.consume(y), f--, k) : y === null || y === 32 || y === 40 || bn(y) ? n(y) : (e.consume(y), y === 92 ?
|
|
2754
|
+
return !f && (y === null || y === 41 || X(y)) ? (e.exit("chunkString"), e.exit(a), e.exit(l), e.exit(r), t(y)) : f < s && y === 40 ? (e.consume(y), f++, k) : y === 41 ? (e.consume(y), f--, k) : y === null || y === 32 || y === 40 || bn(y) ? n(y) : (e.consume(y), y === 92 ? I : k);
|
|
2755
2755
|
}
|
|
2756
|
-
function
|
|
2756
|
+
function I(y) {
|
|
2757
2757
|
return y === 40 || y === 41 || y === 92 ? (e.consume(y), k) : k(y);
|
|
2758
2758
|
}
|
|
2759
2759
|
}
|
|
@@ -3024,7 +3024,7 @@ function Vo(e, t, n) {
|
|
|
3024
3024
|
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(m), c;
|
|
3025
3025
|
}
|
|
3026
3026
|
function c(m) {
|
|
3027
|
-
return m === 33 ? (e.consume(m), p) : m === 47 ? (e.consume(m), o = !0, k) : m === 63 ? (e.consume(m), i = 3, r.interrupt ? t : d) : ie(m) ? (e.consume(m), l = String.fromCharCode(m),
|
|
3027
|
+
return m === 33 ? (e.consume(m), p) : m === 47 ? (e.consume(m), o = !0, k) : m === 63 ? (e.consume(m), i = 3, r.interrupt ? t : d) : ie(m) ? (e.consume(m), l = String.fromCharCode(m), I) : n(m);
|
|
3028
3028
|
}
|
|
3029
3029
|
function p(m) {
|
|
3030
3030
|
return m === 45 ? (e.consume(m), i = 2, h) : m === 91 ? (e.consume(m), i = 5, a = 0, g) : ie(m) ? (e.consume(m), i = 4, r.interrupt ? t : d) : n(m);
|
|
@@ -3037,20 +3037,20 @@ function Vo(e, t, n) {
|
|
|
3037
3037
|
return m === he.charCodeAt(a++) ? (e.consume(m), a === he.length ? r.interrupt ? t : P : g) : n(m);
|
|
3038
3038
|
}
|
|
3039
3039
|
function k(m) {
|
|
3040
|
-
return ie(m) ? (e.consume(m), l = String.fromCharCode(m),
|
|
3040
|
+
return ie(m) ? (e.consume(m), l = String.fromCharCode(m), I) : n(m);
|
|
3041
3041
|
}
|
|
3042
|
-
function
|
|
3042
|
+
function I(m) {
|
|
3043
3043
|
if (m === null || m === 47 || m === 62 || X(m)) {
|
|
3044
3044
|
const he = m === 47, ve = l.toLowerCase();
|
|
3045
|
-
return !he && !o && Vt.includes(ve) ? (i = 1, r.interrupt ? t(m) : P(m)) : jo.includes(l.toLowerCase()) ? (i = 6, he ? (e.consume(m), y) : r.interrupt ? t(m) : P(m)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(m) : o ?
|
|
3045
|
+
return !he && !o && Vt.includes(ve) ? (i = 1, r.interrupt ? t(m) : P(m)) : jo.includes(l.toLowerCase()) ? (i = 6, he ? (e.consume(m), y) : r.interrupt ? t(m) : P(m)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(m) : o ? E(m) : C(m));
|
|
3046
3046
|
}
|
|
3047
|
-
return m === 45 || te(m) ? (e.consume(m), l += String.fromCharCode(m),
|
|
3047
|
+
return m === 45 || te(m) ? (e.consume(m), l += String.fromCharCode(m), I) : n(m);
|
|
3048
3048
|
}
|
|
3049
3049
|
function y(m) {
|
|
3050
3050
|
return m === 62 ? (e.consume(m), r.interrupt ? t : P) : n(m);
|
|
3051
3051
|
}
|
|
3052
|
-
function
|
|
3053
|
-
return B(m) ? (e.consume(m),
|
|
3052
|
+
function E(m) {
|
|
3053
|
+
return B(m) ? (e.consume(m), E) : x(m);
|
|
3054
3054
|
}
|
|
3055
3055
|
function C(m) {
|
|
3056
3056
|
return m === 47 ? (e.consume(m), x) : m === 58 || m === 95 || ie(m) ? (e.consume(m), R) : B(m) ? (e.consume(m), C) : x(m);
|
|
@@ -3148,7 +3148,7 @@ function Yo(e, t, n) {
|
|
|
3148
3148
|
return d === 33 ? (e.consume(d), s) : d === 47 ? (e.consume(d), D) : d === 63 ? (e.consume(d), C) : ie(d) ? (e.consume(d), H) : n(d);
|
|
3149
3149
|
}
|
|
3150
3150
|
function s(d) {
|
|
3151
|
-
return d === 45 ? (e.consume(d), f) : d === 91 ? (e.consume(d), o = 0, g) : ie(d) ? (e.consume(d),
|
|
3151
|
+
return d === 45 ? (e.consume(d), f) : d === 91 ? (e.consume(d), o = 0, g) : ie(d) ? (e.consume(d), E) : n(d);
|
|
3152
3152
|
}
|
|
3153
3153
|
function f(d) {
|
|
3154
3154
|
return d === 45 ? (e.consume(d), h) : n(d);
|
|
@@ -3167,16 +3167,16 @@ function Yo(e, t, n) {
|
|
|
3167
3167
|
return d === fe.charCodeAt(o++) ? (e.consume(d), o === fe.length ? k : g) : n(d);
|
|
3168
3168
|
}
|
|
3169
3169
|
function k(d) {
|
|
3170
|
-
return d === null ? n(d) : d === 93 ? (e.consume(d),
|
|
3170
|
+
return d === null ? n(d) : d === 93 ? (e.consume(d), I) : z(d) ? (l = k, ee(d)) : (e.consume(d), k);
|
|
3171
3171
|
}
|
|
3172
|
-
function
|
|
3172
|
+
function I(d) {
|
|
3173
3173
|
return d === 93 ? (e.consume(d), y) : k(d);
|
|
3174
3174
|
}
|
|
3175
3175
|
function y(d) {
|
|
3176
3176
|
return d === 62 ? G(d) : d === 93 ? (e.consume(d), y) : k(d);
|
|
3177
3177
|
}
|
|
3178
|
-
function
|
|
3179
|
-
return d === null || d === 62 ? G(d) : z(d) ? (l =
|
|
3178
|
+
function E(d) {
|
|
3179
|
+
return d === null || d === 62 ? G(d) : z(d) ? (l = E, ee(d)) : (e.consume(d), E);
|
|
3180
3180
|
}
|
|
3181
3181
|
function C(d) {
|
|
3182
3182
|
return d === null ? n(d) : d === 63 ? (e.consume(d), R) : z(d) ? (l = C, ee(d)) : (e.consume(d), C);
|
|
@@ -3763,7 +3763,7 @@ function Fa(e, t, n) {
|
|
|
3763
3763
|
const u = {
|
|
3764
3764
|
attempt: M(D),
|
|
3765
3765
|
check: M(b),
|
|
3766
|
-
consume:
|
|
3766
|
+
consume: E,
|
|
3767
3767
|
enter: C,
|
|
3768
3768
|
exit: R,
|
|
3769
3769
|
interrupt: M(b, {
|
|
@@ -3784,7 +3784,7 @@ function Fa(e, t, n) {
|
|
|
3784
3784
|
let f = t.tokenize.call(s, u);
|
|
3785
3785
|
return t.resolveAll && o.push(t), s;
|
|
3786
3786
|
function c(L) {
|
|
3787
|
-
return l = ke(l, L),
|
|
3787
|
+
return l = ke(l, L), I(), l[l.length - 1] !== null ? [] : (H(t, 0), s.events = In(o, s.events, s), s.events);
|
|
3788
3788
|
}
|
|
3789
3789
|
function p(L, P) {
|
|
3790
3790
|
return Oa(h(L), P);
|
|
@@ -3811,7 +3811,7 @@ function Fa(e, t, n) {
|
|
|
3811
3811
|
function k(L) {
|
|
3812
3812
|
i[L.line] = L.column, x();
|
|
3813
3813
|
}
|
|
3814
|
-
function
|
|
3814
|
+
function I() {
|
|
3815
3815
|
let L;
|
|
3816
3816
|
for (; r._index < l.length; ) {
|
|
3817
3817
|
const P = l[r._index];
|
|
@@ -3825,7 +3825,7 @@ function Fa(e, t, n) {
|
|
|
3825
3825
|
function y(L) {
|
|
3826
3826
|
f = f(L);
|
|
3827
3827
|
}
|
|
3828
|
-
function
|
|
3828
|
+
function E(L) {
|
|
3829
3829
|
z(L) ? (r.line++, r.column = 1, r.offset += L === -3 ? 2 : 1, x()) : L !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
|
|
3830
3830
|
// strings.
|
|
3831
3831
|
/** @type {string} */
|
|
@@ -4106,7 +4106,7 @@ function $a(e) {
|
|
|
4106
4106
|
characterReferenceMarkerNumeric: ve,
|
|
4107
4107
|
characterReferenceValue: j,
|
|
4108
4108
|
characterReference: ne,
|
|
4109
|
-
codeFenced: u(
|
|
4109
|
+
codeFenced: u(I),
|
|
4110
4110
|
codeFencedFence: k,
|
|
4111
4111
|
codeFencedFenceInfo: h,
|
|
4112
4112
|
codeFencedFenceMeta: g,
|
|
@@ -4117,7 +4117,7 @@ function $a(e) {
|
|
|
4117
4117
|
data: x,
|
|
4118
4118
|
definition: u(),
|
|
4119
4119
|
definitionDestinationString: R,
|
|
4120
|
-
definitionLabelString:
|
|
4120
|
+
definitionLabelString: E,
|
|
4121
4121
|
definitionTitleString: C,
|
|
4122
4122
|
emphasis: u(),
|
|
4123
4123
|
hardBreakEscape: u(P),
|
|
@@ -4306,7 +4306,7 @@ function $a(e) {
|
|
|
4306
4306
|
function k() {
|
|
4307
4307
|
this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
|
|
4308
4308
|
}
|
|
4309
|
-
function
|
|
4309
|
+
function I() {
|
|
4310
4310
|
const w = this.resume(), v = this.stack[this.stack.length - 1];
|
|
4311
4311
|
v.value = w.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
|
|
4312
4312
|
}
|
|
@@ -4314,7 +4314,7 @@ function $a(e) {
|
|
|
4314
4314
|
const w = this.resume(), v = this.stack[this.stack.length - 1];
|
|
4315
4315
|
v.value = w.replace(/(\r?\n|\r)$/g, "");
|
|
4316
4316
|
}
|
|
4317
|
-
function
|
|
4317
|
+
function E(w) {
|
|
4318
4318
|
const v = this.resume(), O = this.stack[this.stack.length - 1];
|
|
4319
4319
|
O.label = v, O.identifier = Se(this.sliceSerialize(w)).toLowerCase();
|
|
4320
4320
|
}
|
|
@@ -5167,8 +5167,8 @@ function vu(e) {
|
|
|
5167
5167
|
const g = [], k = e.footnoteCounts.get(c);
|
|
5168
5168
|
for (; k !== void 0 && ++h <= k; ) {
|
|
5169
5169
|
g.length > 0 && g.push({ type: "text", value: " " });
|
|
5170
|
-
let
|
|
5171
|
-
typeof
|
|
5170
|
+
let E = typeof n == "string" ? n : n(u, h);
|
|
5171
|
+
typeof E == "string" && (E = { type: "text", value: E }), g.push({
|
|
5172
5172
|
type: "element",
|
|
5173
5173
|
tagName: "a",
|
|
5174
5174
|
properties: {
|
|
@@ -5177,13 +5177,13 @@ function vu(e) {
|
|
|
5177
5177
|
ariaLabel: typeof r == "string" ? r : r(u, h),
|
|
5178
5178
|
className: ["data-footnote-backref"]
|
|
5179
5179
|
},
|
|
5180
|
-
children: Array.isArray(
|
|
5180
|
+
children: Array.isArray(E) ? E : [E]
|
|
5181
5181
|
});
|
|
5182
5182
|
}
|
|
5183
|
-
const
|
|
5184
|
-
if (
|
|
5185
|
-
const
|
|
5186
|
-
|
|
5183
|
+
const I = f[f.length - 1];
|
|
5184
|
+
if (I && I.type === "element" && I.tagName === "p") {
|
|
5185
|
+
const E = I.children[I.children.length - 1];
|
|
5186
|
+
E && E.type === "text" ? E.value += " " : I.children.push({ type: "text", value: " " }), I.children.push(...g);
|
|
5187
5187
|
} else
|
|
5188
5188
|
f.push(...g);
|
|
5189
5189
|
const y = {
|
|
@@ -5335,7 +5335,7 @@ function ri(e, t, n, r) {
|
|
|
5335
5335
|
}
|
|
5336
5336
|
return p;
|
|
5337
5337
|
function p() {
|
|
5338
|
-
let h = ti, g, k,
|
|
5338
|
+
let h = ti, g, k, I;
|
|
5339
5339
|
if ((!t || o(u, s, f[f.length - 1] || void 0)) && (h = Ru(n(u, f)), h[0] === et))
|
|
5340
5340
|
return h;
|
|
5341
5341
|
if ("children" in u && u.children) {
|
|
@@ -5344,9 +5344,9 @@ function ri(e, t, n, r) {
|
|
|
5344
5344
|
u
|
|
5345
5345
|
);
|
|
5346
5346
|
if (y.children && h[0] !== zu)
|
|
5347
|
-
for (k = (r ? y.children.length : -1) + l,
|
|
5348
|
-
const
|
|
5349
|
-
if (g = a(
|
|
5347
|
+
for (k = (r ? y.children.length : -1) + l, I = f.concat(y); k > -1 && k < y.children.length; ) {
|
|
5348
|
+
const E = y.children[k];
|
|
5349
|
+
if (g = a(E, k, I)(), g[0] === et)
|
|
5350
5350
|
return g;
|
|
5351
5351
|
k = typeof g[1] == "number" ? g[1] : k + l;
|
|
5352
5352
|
}
|
|
@@ -5393,7 +5393,7 @@ function Mu(e, t) {
|
|
|
5393
5393
|
return h(a, f, c);
|
|
5394
5394
|
if (a.options.passThrough && a.options.passThrough.includes(p)) {
|
|
5395
5395
|
if ("children" in f) {
|
|
5396
|
-
const { children: k, ...
|
|
5396
|
+
const { children: k, ...I } = f, y = Cn(I);
|
|
5397
5397
|
return y.children = a.all(f), y;
|
|
5398
5398
|
}
|
|
5399
5399
|
return Cn(f);
|
|
@@ -5517,11 +5517,11 @@ function Uu() {
|
|
|
5517
5517
|
return s[f];
|
|
5518
5518
|
};
|
|
5519
5519
|
return Fn = function u() {
|
|
5520
|
-
var s, f, c, p, h, g, k = arguments[0],
|
|
5521
|
-
for (typeof k == "boolean" && (
|
|
5522
|
-
if (s = arguments[
|
|
5520
|
+
var s, f, c, p, h, g, k = arguments[0], I = 1, y = arguments.length, E = !1;
|
|
5521
|
+
for (typeof k == "boolean" && (E = k, k = arguments[1] || {}, I = 2), (k == null || typeof k != "object" && typeof k != "function") && (k = {}); I < y; ++I)
|
|
5522
|
+
if (s = arguments[I], s != null)
|
|
5523
5523
|
for (f in s)
|
|
5524
|
-
c = a(k, f), p = a(s, f), k !== p && (
|
|
5524
|
+
c = a(k, f), p = a(s, f), k !== p && (E && p && (o(p) || (h = i(p))) ? (h ? (h = !1, g = c && i(c) ? c : []) : g = c && o(c) ? c : {}, l(k, { name: f, newValue: u(E, g, p) })) : typeof p < "u" && l(k, { name: f, newValue: p }));
|
|
5525
5525
|
return k;
|
|
5526
5526
|
}, Fn;
|
|
5527
5527
|
}
|
|
@@ -6803,8 +6803,8 @@ function xs(e, t, n) {
|
|
|
6803
6803
|
function u(s, f) {
|
|
6804
6804
|
const c = f[f.length - 1], p = o[l][0], h = o[l][1];
|
|
6805
6805
|
let g = 0;
|
|
6806
|
-
const
|
|
6807
|
-
let y = !1,
|
|
6806
|
+
const I = c.children.indexOf(s);
|
|
6807
|
+
let y = !1, E = [];
|
|
6808
6808
|
p.lastIndex = 0;
|
|
6809
6809
|
let C = p.exec(s.value);
|
|
6810
6810
|
for (; C; ) {
|
|
@@ -6814,14 +6814,14 @@ function xs(e, t, n) {
|
|
|
6814
6814
|
stack: [...f, s]
|
|
6815
6815
|
};
|
|
6816
6816
|
let b = h(...C, D);
|
|
6817
|
-
if (typeof b == "string" && (b = b.length > 0 ? { type: "text", value: b } : void 0), b === !1 ? p.lastIndex = R + 1 : (g !== R &&
|
|
6817
|
+
if (typeof b == "string" && (b = b.length > 0 ? { type: "text", value: b } : void 0), b === !1 ? p.lastIndex = R + 1 : (g !== R && E.push({
|
|
6818
6818
|
type: "text",
|
|
6819
6819
|
value: s.value.slice(g, R)
|
|
6820
|
-
}), Array.isArray(b) ?
|
|
6820
|
+
}), Array.isArray(b) ? E.push(...b) : b && E.push(b), g = R + C[0].length, y = !0), !p.global)
|
|
6821
6821
|
break;
|
|
6822
6822
|
C = p.exec(s.value);
|
|
6823
6823
|
}
|
|
6824
|
-
return y ? (g < s.value.length &&
|
|
6824
|
+
return y ? (g < s.value.length && E.push({ type: "text", value: s.value.slice(g) }), c.children.splice(I, 1, ...E)) : E = [s], I + E.length;
|
|
6825
6825
|
}
|
|
6826
6826
|
}
|
|
6827
6827
|
function ks(e) {
|
|
@@ -7108,17 +7108,17 @@ function Zs(e, t) {
|
|
|
7108
7108
|
const n = t || {}, r = (n.align || []).concat(), i = n.stringLength || Js, o = [], l = [], a = [], u = [];
|
|
7109
7109
|
let s = 0, f = -1;
|
|
7110
7110
|
for (; ++f < e.length; ) {
|
|
7111
|
-
const k = [],
|
|
7111
|
+
const k = [], I = [];
|
|
7112
7112
|
let y = -1;
|
|
7113
7113
|
for (e[f].length > s && (s = e[f].length); ++y < e[f].length; ) {
|
|
7114
|
-
const
|
|
7114
|
+
const E = ec(e[f][y]);
|
|
7115
7115
|
if (n.alignDelimiters !== !1) {
|
|
7116
|
-
const C = i(
|
|
7117
|
-
|
|
7116
|
+
const C = i(E);
|
|
7117
|
+
I[y] = C, (u[y] === void 0 || C > u[y]) && (u[y] = C);
|
|
7118
7118
|
}
|
|
7119
|
-
k.push(
|
|
7119
|
+
k.push(E);
|
|
7120
7120
|
}
|
|
7121
|
-
l[f] = k, a[f] =
|
|
7121
|
+
l[f] = k, a[f] = I;
|
|
7122
7122
|
}
|
|
7123
7123
|
let c = -1;
|
|
7124
7124
|
if (typeof r == "object" && "length" in r)
|
|
@@ -7133,31 +7133,31 @@ function Zs(e, t) {
|
|
|
7133
7133
|
const p = [], h = [];
|
|
7134
7134
|
for (; ++c < s; ) {
|
|
7135
7135
|
const k = o[c];
|
|
7136
|
-
let
|
|
7137
|
-
k === 99 ? (
|
|
7138
|
-
let
|
|
7136
|
+
let I = "", y = "";
|
|
7137
|
+
k === 99 ? (I = ":", y = ":") : k === 108 ? I = ":" : k === 114 && (y = ":");
|
|
7138
|
+
let E = n.alignDelimiters === !1 ? 1 : Math.max(
|
|
7139
7139
|
1,
|
|
7140
|
-
u[c] -
|
|
7140
|
+
u[c] - I.length - y.length
|
|
7141
7141
|
);
|
|
7142
|
-
const C =
|
|
7143
|
-
n.alignDelimiters !== !1 && (
|
|
7142
|
+
const C = I + "-".repeat(E) + y;
|
|
7143
|
+
n.alignDelimiters !== !1 && (E = I.length + E + y.length, E > u[c] && (u[c] = E), h[c] = E), p[c] = C;
|
|
7144
7144
|
}
|
|
7145
7145
|
l.splice(1, 0, p), a.splice(1, 0, h), f = -1;
|
|
7146
7146
|
const g = [];
|
|
7147
7147
|
for (; ++f < l.length; ) {
|
|
7148
|
-
const k = l[f],
|
|
7148
|
+
const k = l[f], I = a[f];
|
|
7149
7149
|
c = -1;
|
|
7150
7150
|
const y = [];
|
|
7151
7151
|
for (; ++c < s; ) {
|
|
7152
|
-
const
|
|
7152
|
+
const E = k[c] || "";
|
|
7153
7153
|
let C = "", R = "";
|
|
7154
7154
|
if (n.alignDelimiters !== !1) {
|
|
7155
|
-
const D = u[c] - (
|
|
7155
|
+
const D = u[c] - (I[c] || 0), b = o[c];
|
|
7156
7156
|
b === 114 ? C = " ".repeat(D) : b === 99 ? D % 2 ? (C = " ".repeat(D / 2 + 0.5), R = " ".repeat(D / 2 - 0.5)) : (C = " ".repeat(D / 2), R = C) : R = " ".repeat(D);
|
|
7157
7157
|
}
|
|
7158
7158
|
n.delimiterStart !== !1 && !c && y.push("|"), n.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
|
|
7159
7159
|
// empty: there will be a closing space.
|
|
7160
|
-
!(n.alignDelimiters === !1 &&
|
|
7160
|
+
!(n.alignDelimiters === !1 && E === "") && (n.delimiterStart !== !1 || c) && y.push(" "), n.alignDelimiters !== !1 && y.push(C), y.push(E), n.alignDelimiters !== !1 && y.push(R), n.padding !== !1 && y.push(" "), (n.delimiterEnd !== !1 || c !== s - 1) && y.push("|");
|
|
7161
7161
|
}
|
|
7162
7162
|
g.push(
|
|
7163
7163
|
n.delimiterEnd === !1 ? y.join("").replace(/ +$/, "") : y.join("")
|
|
@@ -7849,21 +7849,21 @@ function jc(e) {
|
|
|
7849
7849
|
tableRow: a
|
|
7850
7850
|
}
|
|
7851
7851
|
};
|
|
7852
|
-
function l(h, g, k,
|
|
7853
|
-
return s(f(h, k,
|
|
7852
|
+
function l(h, g, k, I) {
|
|
7853
|
+
return s(f(h, k, I), h.align);
|
|
7854
7854
|
}
|
|
7855
|
-
function a(h, g, k,
|
|
7856
|
-
const y = c(h, k,
|
|
7857
|
-
return
|
|
7855
|
+
function a(h, g, k, I) {
|
|
7856
|
+
const y = c(h, k, I), E = s([y]);
|
|
7857
|
+
return E.slice(0, E.indexOf(`
|
|
7858
7858
|
`));
|
|
7859
7859
|
}
|
|
7860
|
-
function u(h, g, k,
|
|
7861
|
-
const y = k.enter("tableCell"),
|
|
7862
|
-
...
|
|
7860
|
+
function u(h, g, k, I) {
|
|
7861
|
+
const y = k.enter("tableCell"), E = k.enter("phrasing"), C = k.containerPhrasing(h, {
|
|
7862
|
+
...I,
|
|
7863
7863
|
before: o,
|
|
7864
7864
|
after: o
|
|
7865
7865
|
});
|
|
7866
|
-
return
|
|
7866
|
+
return E(), y(), C;
|
|
7867
7867
|
}
|
|
7868
7868
|
function s(h, g) {
|
|
7869
7869
|
return Zs(h, {
|
|
@@ -7877,24 +7877,24 @@ function jc(e) {
|
|
|
7877
7877
|
});
|
|
7878
7878
|
}
|
|
7879
7879
|
function f(h, g, k) {
|
|
7880
|
-
const
|
|
7880
|
+
const I = h.children;
|
|
7881
7881
|
let y = -1;
|
|
7882
|
-
const
|
|
7883
|
-
for (; ++y <
|
|
7884
|
-
|
|
7885
|
-
return C(),
|
|
7882
|
+
const E = [], C = g.enter("table");
|
|
7883
|
+
for (; ++y < I.length; )
|
|
7884
|
+
E[y] = c(I[y], g, k);
|
|
7885
|
+
return C(), E;
|
|
7886
7886
|
}
|
|
7887
7887
|
function c(h, g, k) {
|
|
7888
|
-
const
|
|
7888
|
+
const I = h.children;
|
|
7889
7889
|
let y = -1;
|
|
7890
|
-
const
|
|
7891
|
-
for (; ++y <
|
|
7892
|
-
|
|
7893
|
-
return C(),
|
|
7890
|
+
const E = [], C = g.enter("tableRow");
|
|
7891
|
+
for (; ++y < I.length; )
|
|
7892
|
+
E[y] = u(I[y], h, g, k);
|
|
7893
|
+
return C(), E;
|
|
7894
7894
|
}
|
|
7895
7895
|
function p(h, g, k) {
|
|
7896
|
-
let
|
|
7897
|
-
return k.stack.includes("tableCell") && (
|
|
7896
|
+
let I = ki.inlineCode(h, g, k);
|
|
7897
|
+
return k.stack.includes("tableCell") && (I = I.replace(/\|/g, "\\$&")), I;
|
|
7898
7898
|
}
|
|
7899
7899
|
}
|
|
7900
7900
|
function Bc() {
|
|
@@ -8399,8 +8399,8 @@ function pf(e) {
|
|
|
8399
8399
|
if (g === 126)
|
|
8400
8400
|
return c > 1 ? u(g) : (l.consume(g), c++, h);
|
|
8401
8401
|
if (c < 2 && !n) return u(g);
|
|
8402
|
-
const
|
|
8403
|
-
return
|
|
8402
|
+
const I = l.exit("strikethroughSequenceTemporary"), y = Xe(g);
|
|
8403
|
+
return I._open = !y || y === 2 && !!k, I._close = !k || k === 2 && !!y, a(g);
|
|
8404
8404
|
}
|
|
8405
8405
|
}
|
|
8406
8406
|
}
|
|
@@ -8537,19 +8537,19 @@ function xf(e, t, n) {
|
|
|
8537
8537
|
return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(x) : (e.enter("tableDelimiterRow"), l = !1, B(x) ? V(e, g, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(x) : g(x));
|
|
8538
8538
|
}
|
|
8539
8539
|
function g(x) {
|
|
8540
|
-
return x === 45 || x === 58 ?
|
|
8540
|
+
return x === 45 || x === 58 ? I(x) : x === 124 ? (l = !0, e.enter("tableCellDivider"), e.consume(x), e.exit("tableCellDivider"), k) : D(x);
|
|
8541
8541
|
}
|
|
8542
8542
|
function k(x) {
|
|
8543
|
-
return B(x) ? V(e,
|
|
8543
|
+
return B(x) ? V(e, I, "whitespace")(x) : I(x);
|
|
8544
8544
|
}
|
|
8545
|
-
function
|
|
8545
|
+
function I(x) {
|
|
8546
8546
|
return x === 58 ? (o += 1, l = !0, e.enter("tableDelimiterMarker"), e.consume(x), e.exit("tableDelimiterMarker"), y) : x === 45 ? (o += 1, y(x)) : x === null || z(x) ? R(x) : D(x);
|
|
8547
8547
|
}
|
|
8548
8548
|
function y(x) {
|
|
8549
|
-
return x === 45 ? (e.enter("tableDelimiterFiller"),
|
|
8549
|
+
return x === 45 ? (e.enter("tableDelimiterFiller"), E(x)) : D(x);
|
|
8550
8550
|
}
|
|
8551
|
-
function
|
|
8552
|
-
return x === 45 ? (e.consume(x),
|
|
8551
|
+
function E(x) {
|
|
8552
|
+
return x === 45 ? (e.consume(x), E) : x === 58 ? (l = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(x), e.exit("tableDelimiterMarker"), C) : (e.exit("tableDelimiterFiller"), C(x));
|
|
8553
8553
|
}
|
|
8554
8554
|
function C(x) {
|
|
8555
8555
|
return B(x) ? V(e, R, "whitespace")(x) : R(x);
|
|
@@ -8775,14 +8775,14 @@ const yr = 3, Et = ({ locations: e, distanceResults: t, onShowRoute: n }) => {
|
|
|
8775
8775
|
const R = s.getFloor(), D = C?.properties?.floor;
|
|
8776
8776
|
D !== R && s.setFloor(D);
|
|
8777
8777
|
const [b, M] = await Promise.all([
|
|
8778
|
-
|
|
8778
|
+
I(),
|
|
8779
8779
|
y()
|
|
8780
8780
|
]);
|
|
8781
8781
|
s.goTo(C, {
|
|
8782
8782
|
maxZoom: 25,
|
|
8783
8783
|
padding: { bottom: b, left: M, top: 0, right: 0 }
|
|
8784
8784
|
});
|
|
8785
|
-
},
|
|
8785
|
+
}, I = async () => f ? 0 : 200, y = async () => 0, E = () => {
|
|
8786
8786
|
i(!r);
|
|
8787
8787
|
};
|
|
8788
8788
|
return /* @__PURE__ */ A.jsxs("div", { className: "chat-search-results", children: [
|
|
@@ -8806,7 +8806,7 @@ const yr = 3, Et = ({ locations: e, distanceResults: t, onShowRoute: n }) => {
|
|
|
8806
8806
|
"button",
|
|
8807
8807
|
{
|
|
8808
8808
|
className: "chat-search-results__toggle-button",
|
|
8809
|
-
onClick:
|
|
8809
|
+
onClick: E,
|
|
8810
8810
|
type: "button",
|
|
8811
8811
|
children: r ? `Collapse all ${p} locations found` : `View all ${p} locations found`
|
|
8812
8812
|
}
|
|
@@ -9040,7 +9040,7 @@ zi.propTypes = {
|
|
|
9040
9040
|
};
|
|
9041
9041
|
const xr = !1;
|
|
9042
9042
|
function Pf({ isVisible: e, onClose: t, onSearchResults: n, onShowRoute: r }) {
|
|
9043
|
-
const { t: i } = cn(), o = ze(Wi), l = ze(Xi), a = ze(Yi), u = ze(wr), s = ze(Ki), f = lt(), c = We(null), { getInitialMessage: p, clearInitialMessage: h } = Gi(), g = Zi(f), k = g > 0, { generateResponse:
|
|
9043
|
+
const { t: i } = cn(), o = ze(Wi), l = ze(Xi), a = ze(Yi), u = ze(wr), s = ze(Ki), f = lt(), c = We(null), { getInitialMessage: p, clearInitialMessage: h } = Gi(), g = Zi(f), k = g > 0, { generateResponse: I, isLoading: y, sessionStatus: E, resetSession: C } = Qi(), [R, D] = Xn(Ji), [b, M] = Xn(el), [H, U] = Re(
|
|
9044
9044
|
() => sessionStorage.getItem("chatUsageConsentAccepted") === "true"
|
|
9045
9045
|
), [x, L] = Re(null), [P, _] = Re(""), [T, F] = Re(!1), G = We(null), ee = a && b === null && x !== null, ce = _e(() => {
|
|
9046
9046
|
M("granted");
|
|
@@ -9098,7 +9098,7 @@ function Pf({ isVisible: e, onClose: t, onSearchResults: n, onShowRoute: r }) {
|
|
|
9098
9098
|
locations: [],
|
|
9099
9099
|
directionsLocationIds: null
|
|
9100
9100
|
}
|
|
9101
|
-
]), await
|
|
9101
|
+
]), await I(l, ne, {
|
|
9102
9102
|
extra: pe,
|
|
9103
9103
|
onUpdate: ({ text: $, isThought: me }) => {
|
|
9104
9104
|
if (me)
|
|
@@ -9152,7 +9152,7 @@ function Pf({ isVisible: e, onClose: t, onSearchResults: n, onShowRoute: r }) {
|
|
|
9152
9152
|
}
|
|
9153
9153
|
]), _("");
|
|
9154
9154
|
}
|
|
9155
|
-
}, [y,
|
|
9155
|
+
}, [y, I, l, a, u, s, b, H, n, xe]);
|
|
9156
9156
|
rn(() => {
|
|
9157
9157
|
if (x && b !== null) {
|
|
9158
9158
|
const j = x;
|
|
@@ -9190,7 +9190,7 @@ function Pf({ isVisible: e, onClose: t, onSearchResults: n, onShowRoute: r }) {
|
|
|
9190
9190
|
isLoading: y,
|
|
9191
9191
|
onClose: t,
|
|
9192
9192
|
disabled: !H,
|
|
9193
|
-
inputDisabled:
|
|
9193
|
+
inputDisabled: E === "exhausted",
|
|
9194
9194
|
primaryColor: o
|
|
9195
9195
|
}
|
|
9196
9196
|
),
|
|
@@ -9202,8 +9202,11 @@ function Pf({ isVisible: e, onClose: t, onSearchResults: n, onShowRoute: r }) {
|
|
|
9202
9202
|
onDecline: be
|
|
9203
9203
|
}
|
|
9204
9204
|
),
|
|
9205
|
-
|
|
9206
|
-
/* @__PURE__ */ A.jsx("span", { children:
|
|
9205
|
+
E !== "active" && /* @__PURE__ */ A.jsxs("div", { className: `chat-window__token-warning chat-window__token-warning--${E}`, role: "alert", "aria-live": "polite", children: [
|
|
9206
|
+
/* @__PURE__ */ A.jsx("span", { children: {
|
|
9207
|
+
exhausted: i("Session limit reached"),
|
|
9208
|
+
critical: i("Session limit almost reached")
|
|
9209
|
+
}[E] ?? i("Session limit approaching") }),
|
|
9207
9210
|
/* @__PURE__ */ A.jsx("button", { onClick: d, children: i("Start new session") })
|
|
9208
9211
|
] }),
|
|
9209
9212
|
/* @__PURE__ */ A.jsx(
|