@stadiamaps/ferrostar-webcomponents 0.37.0 → 0.39.0
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/ferrostar-map.d.ts +3 -3
- package/dist/ferrostar-map.d.ts.map +1 -1
- package/dist/ferrostar-webcomponents.js +151 -150
- package/dist/ferrostar-webcomponents.js.map +1 -1
- package/dist/ferrostar-webcomponents.umd.cjs +13 -13
- package/dist/ferrostar-webcomponents.umd.cjs.map +1 -1
- package/package.json +2 -2
|
@@ -6,10 +6,10 @@ import { locationSimulationFromRoute as k, advanceLocationSimulation as D, Route
|
|
|
6
6
|
* Copyright 2017 Google LLC
|
|
7
7
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8
8
|
*/
|
|
9
|
-
const L = (
|
|
9
|
+
const L = (i) => (t, e) => {
|
|
10
10
|
e !== void 0 ? e.addInitializer(() => {
|
|
11
|
-
customElements.define(
|
|
12
|
-
}) : customElements.define(
|
|
11
|
+
customElements.define(i, t);
|
|
12
|
+
}) : customElements.define(i, t);
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
15
|
* @license
|
|
@@ -18,16 +18,16 @@ const L = (a) => (t, e) => {
|
|
|
18
18
|
*/
|
|
19
19
|
const w = globalThis, C = w.ShadowRoot && (w.ShadyCSS === void 0 || w.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Z = Symbol(), R = /* @__PURE__ */ new WeakMap();
|
|
20
20
|
let J = class {
|
|
21
|
-
constructor(t, e,
|
|
22
|
-
if (this._$cssResult$ = true,
|
|
21
|
+
constructor(t, e, a) {
|
|
22
|
+
if (this._$cssResult$ = true, a !== Z) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
23
23
|
this.cssText = t, this.t = e;
|
|
24
24
|
}
|
|
25
25
|
get styleSheet() {
|
|
26
26
|
let t = this.o;
|
|
27
27
|
const e = this.t;
|
|
28
28
|
if (C && t === void 0) {
|
|
29
|
-
const
|
|
30
|
-
|
|
29
|
+
const a = e !== void 0 && e.length === 1;
|
|
30
|
+
a && (t = R.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), a && R.set(e, t));
|
|
31
31
|
}
|
|
32
32
|
return t;
|
|
33
33
|
}
|
|
@@ -35,51 +35,51 @@ let J = class {
|
|
|
35
35
|
return this.cssText;
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
|
-
const X = (
|
|
39
|
-
if (C)
|
|
38
|
+
const X = (i) => new J(typeof i == "string" ? i : i + "", void 0, Z), Q = (i, t) => {
|
|
39
|
+
if (C) i.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
40
40
|
else for (const e of t) {
|
|
41
|
-
const
|
|
42
|
-
o !== void 0 &&
|
|
41
|
+
const a = document.createElement("style"), o = w.litNonce;
|
|
42
|
+
o !== void 0 && a.setAttribute("nonce", o), a.textContent = e.cssText, i.appendChild(a);
|
|
43
43
|
}
|
|
44
|
-
}, G = C ? (
|
|
44
|
+
}, G = C ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((t) => {
|
|
45
45
|
let e = "";
|
|
46
|
-
for (const
|
|
46
|
+
for (const a of t.cssRules) e += a.cssText;
|
|
47
47
|
return X(e);
|
|
48
|
-
})(
|
|
48
|
+
})(i) : i;
|
|
49
49
|
/**
|
|
50
50
|
* @license
|
|
51
51
|
* Copyright 2017 Google LLC
|
|
52
52
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
53
53
|
*/
|
|
54
|
-
const { is: Y, defineProperty: t0, getOwnPropertyDescriptor: e0, getOwnPropertyNames:
|
|
54
|
+
const { is: Y, defineProperty: t0, getOwnPropertyDescriptor: e0, getOwnPropertyNames: a0, getOwnPropertySymbols: i0, getPrototypeOf: o0 } = Object, x = globalThis, W = x.trustedTypes, s0 = W ? W.emptyScript : "", l0 = x.reactiveElementPolyfillSupport, m = (i, t) => i, O = { toAttribute(i, t) {
|
|
55
55
|
switch (t) {
|
|
56
56
|
case Boolean:
|
|
57
|
-
|
|
57
|
+
i = i ? s0 : null;
|
|
58
58
|
break;
|
|
59
59
|
case Object:
|
|
60
60
|
case Array:
|
|
61
|
-
|
|
61
|
+
i = i == null ? i : JSON.stringify(i);
|
|
62
62
|
}
|
|
63
|
-
return
|
|
64
|
-
}, fromAttribute(
|
|
65
|
-
let e =
|
|
63
|
+
return i;
|
|
64
|
+
}, fromAttribute(i, t) {
|
|
65
|
+
let e = i;
|
|
66
66
|
switch (t) {
|
|
67
67
|
case Boolean:
|
|
68
|
-
e =
|
|
68
|
+
e = i !== null;
|
|
69
69
|
break;
|
|
70
70
|
case Number:
|
|
71
|
-
e =
|
|
71
|
+
e = i === null ? null : Number(i);
|
|
72
72
|
break;
|
|
73
73
|
case Object:
|
|
74
74
|
case Array:
|
|
75
75
|
try {
|
|
76
|
-
e = JSON.parse(
|
|
76
|
+
e = JSON.parse(i);
|
|
77
77
|
} catch {
|
|
78
78
|
e = null;
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
return e;
|
|
82
|
-
} }, M = (
|
|
82
|
+
} }, M = (i, t) => !Y(i, t), K = { attribute: true, type: String, converter: O, reflect: false, useDefault: false, hasChanged: M };
|
|
83
83
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), x.litPropertyMetadata ?? (x.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
84
84
|
class u extends HTMLElement {
|
|
85
85
|
static addInitializer(t) {
|
|
@@ -90,11 +90,11 @@ class u extends HTMLElement {
|
|
|
90
90
|
}
|
|
91
91
|
static createProperty(t, e = K) {
|
|
92
92
|
if (e.state && (e.attribute = false), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = true), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
93
|
-
const
|
|
93
|
+
const a = Symbol(), o = this.getPropertyDescriptor(t, a, e);
|
|
94
94
|
o !== void 0 && t0(this.prototype, t, o);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
static getPropertyDescriptor(t, e,
|
|
97
|
+
static getPropertyDescriptor(t, e, a) {
|
|
98
98
|
const { get: o, set: s } = e0(this.prototype, t) ?? { get() {
|
|
99
99
|
return this[e];
|
|
100
100
|
}, set(l) {
|
|
@@ -102,7 +102,7 @@ class u extends HTMLElement {
|
|
|
102
102
|
} };
|
|
103
103
|
return { get: o, set(l) {
|
|
104
104
|
const g = o == null ? void 0 : o.call(this);
|
|
105
|
-
s == null ? void 0 : s.call(this, l), this.requestUpdate(t, g,
|
|
105
|
+
s == null ? void 0 : s.call(this, l), this.requestUpdate(t, g, a);
|
|
106
106
|
}, configurable: true, enumerable: true };
|
|
107
107
|
}
|
|
108
108
|
static getPropertyOptions(t) {
|
|
@@ -116,17 +116,17 @@ class u extends HTMLElement {
|
|
|
116
116
|
static finalize() {
|
|
117
117
|
if (this.hasOwnProperty(m("finalized"))) return;
|
|
118
118
|
if (this.finalized = true, this._$Ei(), this.hasOwnProperty(m("properties"))) {
|
|
119
|
-
const e = this.properties,
|
|
120
|
-
for (const o of
|
|
119
|
+
const e = this.properties, a = [...a0(e), ...i0(e)];
|
|
120
|
+
for (const o of a) this.createProperty(o, e[o]);
|
|
121
121
|
}
|
|
122
122
|
const t = this[Symbol.metadata];
|
|
123
123
|
if (t !== null) {
|
|
124
124
|
const e = litPropertyMetadata.get(t);
|
|
125
|
-
if (e !== void 0) for (const [
|
|
125
|
+
if (e !== void 0) for (const [a, o] of e) this.elementProperties.set(a, o);
|
|
126
126
|
}
|
|
127
127
|
this._$Eh = /* @__PURE__ */ new Map();
|
|
128
|
-
for (const [e,
|
|
129
|
-
const o = this._$Eu(e,
|
|
128
|
+
for (const [e, a] of this.elementProperties) {
|
|
129
|
+
const o = this._$Eu(e, a);
|
|
130
130
|
o !== void 0 && this._$Eh.set(o, e);
|
|
131
131
|
}
|
|
132
132
|
this.elementStyles = this.finalizeStyles(this.styles);
|
|
@@ -134,14 +134,14 @@ class u extends HTMLElement {
|
|
|
134
134
|
static finalizeStyles(t) {
|
|
135
135
|
const e = [];
|
|
136
136
|
if (Array.isArray(t)) {
|
|
137
|
-
const
|
|
138
|
-
for (const o of
|
|
137
|
+
const a = new Set(t.flat(1 / 0).reverse());
|
|
138
|
+
for (const o of a) e.unshift(G(o));
|
|
139
139
|
} else t !== void 0 && e.push(G(t));
|
|
140
140
|
return e;
|
|
141
141
|
}
|
|
142
142
|
static _$Eu(t, e) {
|
|
143
|
-
const
|
|
144
|
-
return
|
|
143
|
+
const a = e.attribute;
|
|
144
|
+
return a === false ? void 0 : typeof a == "string" ? a : typeof t == "string" ? t.toLowerCase() : void 0;
|
|
145
145
|
}
|
|
146
146
|
constructor() {
|
|
147
147
|
super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
|
|
@@ -160,7 +160,7 @@ class u extends HTMLElement {
|
|
|
160
160
|
}
|
|
161
161
|
_$E_() {
|
|
162
162
|
const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
|
|
163
|
-
for (const
|
|
163
|
+
for (const a of e.keys()) this.hasOwnProperty(a) && (t.set(a, this[a]), delete this[a]);
|
|
164
164
|
t.size > 0 && (this._$Ep = t);
|
|
165
165
|
}
|
|
166
166
|
createRenderRoot() {
|
|
@@ -183,36 +183,36 @@ class u extends HTMLElement {
|
|
|
183
183
|
return (_a2 = t.hostDisconnected) == null ? void 0 : _a2.call(t);
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
|
-
attributeChangedCallback(t, e,
|
|
187
|
-
this._$AK(t,
|
|
186
|
+
attributeChangedCallback(t, e, a) {
|
|
187
|
+
this._$AK(t, a);
|
|
188
188
|
}
|
|
189
189
|
_$ET(t, e) {
|
|
190
190
|
var _a;
|
|
191
|
-
const
|
|
192
|
-
if (o !== void 0 &&
|
|
193
|
-
const s = (((_a =
|
|
191
|
+
const a = this.constructor.elementProperties.get(t), o = this.constructor._$Eu(t, a);
|
|
192
|
+
if (o !== void 0 && a.reflect === true) {
|
|
193
|
+
const s = (((_a = a.converter) == null ? void 0 : _a.toAttribute) !== void 0 ? a.converter : O).toAttribute(e, a.type);
|
|
194
194
|
this._$Em = t, s == null ? this.removeAttribute(o) : this.setAttribute(o, s), this._$Em = null;
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
_$AK(t, e) {
|
|
198
198
|
var _a, _b;
|
|
199
|
-
const
|
|
199
|
+
const a = this.constructor, o = a._$Eh.get(t);
|
|
200
200
|
if (o !== void 0 && this._$Em !== o) {
|
|
201
|
-
const s =
|
|
201
|
+
const s = a.getPropertyOptions(o), l = typeof s.converter == "function" ? { fromAttribute: s.converter } : ((_a = s.converter) == null ? void 0 : _a.fromAttribute) !== void 0 ? s.converter : O;
|
|
202
202
|
this._$Em = o, this[o] = l.fromAttribute(e, s.type) ?? ((_b = this._$Ej) == null ? void 0 : _b.get(o)) ?? null, this._$Em = null;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
requestUpdate(t, e,
|
|
205
|
+
requestUpdate(t, e, a) {
|
|
206
206
|
var _a;
|
|
207
207
|
if (t !== void 0) {
|
|
208
208
|
const o = this.constructor, s = this[t];
|
|
209
|
-
if (
|
|
210
|
-
this.C(t, e,
|
|
209
|
+
if (a ?? (a = o.getPropertyOptions(t)), !((a.hasChanged ?? M)(s, e) || a.useDefault && a.reflect && s === ((_a = this._$Ej) == null ? void 0 : _a.get(t)) && !this.hasAttribute(o._$Eu(t, a)))) return;
|
|
210
|
+
this.C(t, e, a);
|
|
211
211
|
}
|
|
212
212
|
this.isUpdatePending === false && (this._$ES = this._$EP());
|
|
213
213
|
}
|
|
214
|
-
C(t, e, { useDefault:
|
|
215
|
-
|
|
214
|
+
C(t, e, { useDefault: a, reflect: o, wrapped: s }, l) {
|
|
215
|
+
a && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, l ?? e ?? this[t]), s !== true || l !== void 0) || (this._$AL.has(t) || (this.hasUpdated || a || (e = void 0), this._$AL.set(t, e)), o === true && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
|
|
216
216
|
}
|
|
217
217
|
async _$EP() {
|
|
218
218
|
this.isUpdatePending = true;
|
|
@@ -235,8 +235,8 @@ class u extends HTMLElement {
|
|
|
235
235
|
for (const [o, s] of this._$Ep) this[o] = s;
|
|
236
236
|
this._$Ep = void 0;
|
|
237
237
|
}
|
|
238
|
-
const
|
|
239
|
-
if (
|
|
238
|
+
const a = this.constructor.elementProperties;
|
|
239
|
+
if (a.size > 0) for (const [o, s] of a) {
|
|
240
240
|
const { wrapped: l } = s, g = this[o];
|
|
241
241
|
l !== true || this._$AL.has(o) || g === void 0 || this.C(o, void 0, s, g);
|
|
242
242
|
}
|
|
@@ -244,12 +244,12 @@ class u extends HTMLElement {
|
|
|
244
244
|
let t = false;
|
|
245
245
|
const e = this._$AL;
|
|
246
246
|
try {
|
|
247
|
-
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (_a = this._$EO) == null ? void 0 : _a.forEach((
|
|
247
|
+
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (_a = this._$EO) == null ? void 0 : _a.forEach((a) => {
|
|
248
248
|
var _a2;
|
|
249
|
-
return (_a2 =
|
|
249
|
+
return (_a2 = a.hostUpdate) == null ? void 0 : _a2.call(a);
|
|
250
250
|
}), this.update(e)) : this._$EM();
|
|
251
|
-
} catch (
|
|
252
|
-
throw t = false, this._$EM(),
|
|
251
|
+
} catch (a) {
|
|
252
|
+
throw t = false, this._$EM(), a;
|
|
253
253
|
}
|
|
254
254
|
t && this._$AE(e);
|
|
255
255
|
}
|
|
@@ -288,46 +288,46 @@ u.elementStyles = [], u.shadowRootOptions = { mode: "open" }, u[m("elementProper
|
|
|
288
288
|
* Copyright 2017 Google LLC
|
|
289
289
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
290
290
|
*/
|
|
291
|
-
const r0 = { attribute: true, type: String, converter: O, reflect: false, hasChanged: M }, n0 = (
|
|
292
|
-
const { kind:
|
|
291
|
+
const r0 = { attribute: true, type: String, converter: O, reflect: false, hasChanged: M }, n0 = (i = r0, t, e) => {
|
|
292
|
+
const { kind: a, metadata: o } = e;
|
|
293
293
|
let s = globalThis.litPropertyMetadata.get(o);
|
|
294
|
-
if (s === void 0 && globalThis.litPropertyMetadata.set(o, s = /* @__PURE__ */ new Map()),
|
|
294
|
+
if (s === void 0 && globalThis.litPropertyMetadata.set(o, s = /* @__PURE__ */ new Map()), a === "setter" && ((i = Object.create(i)).wrapped = true), s.set(e.name, i), a === "accessor") {
|
|
295
295
|
const { name: l } = e;
|
|
296
296
|
return { set(g) {
|
|
297
297
|
const r = t.get.call(this);
|
|
298
|
-
t.set.call(this, g), this.requestUpdate(l, r,
|
|
298
|
+
t.set.call(this, g), this.requestUpdate(l, r, i);
|
|
299
299
|
}, init(g) {
|
|
300
|
-
return g !== void 0 && this.C(l, void 0,
|
|
300
|
+
return g !== void 0 && this.C(l, void 0, i, g), g;
|
|
301
301
|
} };
|
|
302
302
|
}
|
|
303
|
-
if (
|
|
303
|
+
if (a === "setter") {
|
|
304
304
|
const { name: l } = e;
|
|
305
305
|
return function(g) {
|
|
306
306
|
const r = this[l];
|
|
307
|
-
t.call(this, g), this.requestUpdate(l, r,
|
|
307
|
+
t.call(this, g), this.requestUpdate(l, r, i);
|
|
308
308
|
};
|
|
309
309
|
}
|
|
310
|
-
throw Error("Unsupported decorator location: " +
|
|
310
|
+
throw Error("Unsupported decorator location: " + a);
|
|
311
311
|
};
|
|
312
|
-
function c(
|
|
313
|
-
return (t, e) => typeof e == "object" ? n0(
|
|
312
|
+
function c(i) {
|
|
313
|
+
return (t, e) => typeof e == "object" ? n0(i, t, e) : ((a, o, s) => {
|
|
314
314
|
const l = o.hasOwnProperty(s);
|
|
315
|
-
return o.constructor.createProperty(s,
|
|
316
|
-
})(
|
|
315
|
+
return o.constructor.createProperty(s, a), l ? Object.getOwnPropertyDescriptor(o, s) : void 0;
|
|
316
|
+
})(i, t, e);
|
|
317
317
|
}
|
|
318
318
|
/**
|
|
319
319
|
* @license
|
|
320
320
|
* Copyright 2017 Google LLC
|
|
321
321
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
322
322
|
*/
|
|
323
|
-
function c0(
|
|
324
|
-
return c({ ...
|
|
323
|
+
function c0(i) {
|
|
324
|
+
return c({ ...i, state: true, attribute: false });
|
|
325
325
|
}
|
|
326
326
|
var p = {}, f = {}, P;
|
|
327
327
|
function g0() {
|
|
328
328
|
if (P) return f;
|
|
329
|
-
P = 1, Object.defineProperty(f, "__esModule", { value: true }), f.getLocale =
|
|
330
|
-
function
|
|
329
|
+
P = 1, Object.defineProperty(f, "__esModule", { value: true }), f.getLocale = i;
|
|
330
|
+
function i() {
|
|
331
331
|
return navigator.languages !== void 0 ? navigator.languages[0] : navigator.language;
|
|
332
332
|
}
|
|
333
333
|
return f;
|
|
@@ -336,9 +336,9 @@ var H;
|
|
|
336
336
|
function d0() {
|
|
337
337
|
if (H) return p;
|
|
338
338
|
H = 1, Object.defineProperty(p, "__esModule", { value: true }), p.LocalizedDurationFormatter = t, p.LocalizedDistanceFormatter = e;
|
|
339
|
-
const
|
|
339
|
+
const i = g0();
|
|
340
340
|
function t() {
|
|
341
|
-
const
|
|
341
|
+
const a = ["days", "hours", "minutes", "seconds"], o = "short";
|
|
342
342
|
function s(r) {
|
|
343
343
|
let _ = r;
|
|
344
344
|
const d = {
|
|
@@ -347,19 +347,19 @@ function d0() {
|
|
|
347
347
|
minutes: 0,
|
|
348
348
|
seconds: 0
|
|
349
349
|
};
|
|
350
|
-
if (
|
|
350
|
+
if (a.find((h) => h === "days")) {
|
|
351
351
|
const h = parseInt((_ / 86400).toFixed(0), 10);
|
|
352
352
|
_ %= 24 * 60 * 60, d.days = h;
|
|
353
353
|
}
|
|
354
|
-
if (
|
|
354
|
+
if (a.find((h) => h === "hours")) {
|
|
355
355
|
const h = parseInt((_ / 3600).toFixed(0), 10);
|
|
356
356
|
_ %= 60 * 60, d.hours = h;
|
|
357
357
|
}
|
|
358
|
-
if (
|
|
358
|
+
if (a.find((h) => h === "minutes")) {
|
|
359
359
|
const h = parseInt((_ / 60).toFixed(0), 10);
|
|
360
360
|
_ %= 60, d.minutes = h;
|
|
361
361
|
}
|
|
362
|
-
if (
|
|
362
|
+
if (a.find((h) => h === "seconds")) {
|
|
363
363
|
const h = parseInt(_.toFixed(0), 10);
|
|
364
364
|
d.seconds = h;
|
|
365
365
|
}
|
|
@@ -405,15 +405,15 @@ function d0() {
|
|
|
405
405
|
};
|
|
406
406
|
}
|
|
407
407
|
function e() {
|
|
408
|
-
const
|
|
408
|
+
const a = (0, i.getLocale)().replace("_", "-");
|
|
409
409
|
function o(s) {
|
|
410
410
|
const l = s / 1e3;
|
|
411
|
-
return l > 1 ? new Intl.NumberFormat(
|
|
411
|
+
return l > 1 ? new Intl.NumberFormat(a, {
|
|
412
412
|
style: "unit",
|
|
413
413
|
unit: "kilometer",
|
|
414
414
|
unitDisplay: "short",
|
|
415
415
|
maximumFractionDigits: 0
|
|
416
|
-
}).format(l) : new Intl.NumberFormat(
|
|
416
|
+
}).format(l) : new Intl.NumberFormat(a, {
|
|
417
417
|
style: "unit",
|
|
418
418
|
unit: "meter",
|
|
419
419
|
unitDisplay: "short",
|
|
@@ -493,12 +493,12 @@ const _0 = "data:image/svg+xml,%3csvg%20id='WORKING_ICONS'%20data-name='WORKING%
|
|
|
493
493
|
}, Symbol.toStringTag, { value: "Module" })), Y0 = "data:image/svg+xml,%3csvg%20id='WORKING_ICONS'%20data-name='WORKING%20ICONS'%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%3e%3ctitle%3edirection%3c/title%3e%3cpath%20fill='%23000000'%20d='M2.27386,6.57682A0.30457,0.30457,0,0,1,2.47,6.64864L4.544,8.39882A7.00218,7.00218,0,0,1,6.81586,14.043v3.46088A0.29651,0.29651,0,0,1,6.51968,17.8H5.51318A0.29613,0.29613,0,0,1,5.217,17.50343L5.22079,13.9146a5.42,5.42,0,0,0-1.73517-4.316L1.42825,7.86274a0.30461,0.30461,0,0,1-.03372-0.43226l0.649-.74859a0.30466,0.30466,0,0,1,.23035-0.10507m0-.2a0.50345,0.50345,0,0,0-.38147.17406l-0.649.74859a0.50458,0.50458,0,0,0,.05588.71613L3.35666,9.75146a5.2182,5.2182,0,0,1,1.665,4.14405L5.017,17.50317A0.49617,0.49617,0,0,0,5.51318,18h1.0065a0.49616,0.49616,0,0,0,.49615-0.49615V14.043A7.25157,7.25157,0,0,0,4.676,8.24854L2.599,6.49579a0.50264,0.50264,0,0,0-.32516-0.119h0ZM11.0083,7.98169h1.98755a0.3576,0.3576,0,0,1,.37738.54248L12.02948,11.476a0.38659,0.38659,0,0,0,.62354.40942L19,7,12.653,2.078a0.38659,0.38659,0,0,0-.62354.40942l1.34375,2.95184a0.35757,0.35757,0,0,1-.37738.54242H11.0083V5.97986l-0.011.00183a6.06019,6.06019,0,0,0-5.989,6.07324V16H5.01141l-0.002,1.50317A0.49614,0.49614,0,0,0,5.50562,18H6.51208a0.49622,0.49622,0,0,0,.49622-0.49622V12.05493a4.05782,4.05782,0,0,1,3.98877-4.07324H11.0083Z'/%3e%3c/svg%3e", tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
494
494
|
__proto__: null,
|
|
495
495
|
default: Y0
|
|
496
|
-
}, Symbol.toStringTag, { value: "Module" })), et = "data:image/svg+xml,%3csvg%20id='WORKING_ICONS'%20data-name='WORKING%20ICONS'%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%3e%3ctitle%3edirection%3c/title%3e%3cpath%20fill='%23000000'%20d='M15.75607,6.57682a0.30471,0.30471,0,0,1,.23035.10507l0.649,0.74859a0.30457,0.30457,0,0,1-.03369.43226L14.54129,9.60119a5.4089,5.4089,0,0,0-1.73306,4.29459l0.0047,3.60769a0.29613,0.29613,0,0,1-.29614.29654H11.51031a0.29657,0.29657,0,0,1-.29623-0.29622L11.2135,14.02754a6.99129,6.99129,0,0,1,2.26944-5.62616l2.077-1.75275a0.30461,0.30461,0,0,1,.19617-0.07182m0-.2a0.50263,0.50263,0,0,0-.32516.119l-2.077,1.75275A7.25157,7.25157,0,0,0,11.0141,14.043v3.46082A0.49622,0.49622,0,0,0,11.51031,18h1.00647a0.49616,0.49616,0,0,0,.49615-0.49681l-0.0047-3.60767a5.2182,5.2182,0,0,1,1.665-4.14405L16.73065,8.0156a0.50458,0.50458,0,0,0,.05585-0.71613l-0.649-.74859a0.50345,0.50345,0,0,0-.38147-0.17406h0Zm-5.11,1.87171L8.18859,6.17468a0.3576,0.3576,0,0,1,.07019-0.6571L11.2077,4.16742a0.38658,0.38658,0,0,0-.20294-0.71777L3,3l1.58044,7.86a0.38663,0.38663,0,0,0,.73938.09912L6.238,7.84851a0.35758,0.35758,0,0,1,.6405-0.16266L9.32672,9.75146a5.21819,5.21819,0,0,1,1.665,4.144l-0.0047,3.60767A0.49614,0.49614,0,0,0,11.48321,18h1.00653a0.49621,0.49621,0,0,0,.49615-0.49622V14.043A7.25158,7.25158,0,0,0,10.64605,8.24854Z'/%3e%3c/svg%3e",
|
|
496
|
+
}, Symbol.toStringTag, { value: "Module" })), et = "data:image/svg+xml,%3csvg%20id='WORKING_ICONS'%20data-name='WORKING%20ICONS'%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%3e%3ctitle%3edirection%3c/title%3e%3cpath%20fill='%23000000'%20d='M15.75607,6.57682a0.30471,0.30471,0,0,1,.23035.10507l0.649,0.74859a0.30457,0.30457,0,0,1-.03369.43226L14.54129,9.60119a5.4089,5.4089,0,0,0-1.73306,4.29459l0.0047,3.60769a0.29613,0.29613,0,0,1-.29614.29654H11.51031a0.29657,0.29657,0,0,1-.29623-0.29622L11.2135,14.02754a6.99129,6.99129,0,0,1,2.26944-5.62616l2.077-1.75275a0.30461,0.30461,0,0,1,.19617-0.07182m0-.2a0.50263,0.50263,0,0,0-.32516.119l-2.077,1.75275A7.25157,7.25157,0,0,0,11.0141,14.043v3.46082A0.49622,0.49622,0,0,0,11.51031,18h1.00647a0.49616,0.49616,0,0,0,.49615-0.49681l-0.0047-3.60767a5.2182,5.2182,0,0,1,1.665-4.14405L16.73065,8.0156a0.50458,0.50458,0,0,0,.05585-0.71613l-0.649-.74859a0.50345,0.50345,0,0,0-.38147-0.17406h0Zm-5.11,1.87171L8.18859,6.17468a0.3576,0.3576,0,0,1,.07019-0.6571L11.2077,4.16742a0.38658,0.38658,0,0,0-.20294-0.71777L3,3l1.58044,7.86a0.38663,0.38663,0,0,0,.73938.09912L6.238,7.84851a0.35758,0.35758,0,0,1,.6405-0.16266L9.32672,9.75146a5.21819,5.21819,0,0,1,1.665,4.144l-0.0047,3.60767A0.49614,0.49614,0,0,0,11.48321,18h1.00653a0.49621,0.49621,0,0,0,.49615-0.49622V14.043A7.25158,7.25158,0,0,0,10.64605,8.24854Z'/%3e%3c/svg%3e", at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
497
497
|
__proto__: null,
|
|
498
498
|
default: et
|
|
499
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
499
|
+
}, Symbol.toStringTag, { value: "Module" })), it = "data:image/svg+xml,%3csvg%20id='WORKING_ICONS'%20data-name='WORKING%20ICONS'%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%3e%3ctitle%3edirection%3c/title%3e%3cpath%20fill='%23000000'%20d='M4.26865,6.57682a0.30457,0.30457,0,0,1,.19617.07182l2.074,1.75018A7.00218,7.00218,0,0,1,8.81064,14.043v3.46088A0.29651,0.29651,0,0,1,8.51447,17.8H7.50793a0.29612,0.29612,0,0,1-.29614-0.29655L7.21558,13.9146a5.42,5.42,0,0,0-1.73517-4.316L3.423,7.86274a0.30454,0.30454,0,0,1-.03372-0.43226l0.649-.74859a0.30466,0.30466,0,0,1,.23035-0.10507m0-.2a0.50345,0.50345,0,0,0-.38147.17406l-0.649.74859a0.50455,0.50455,0,0,0,.05588.71613L5.35144,9.75146a5.2182,5.2182,0,0,1,1.665,4.14405l-0.0047,3.60767A0.49614,0.49614,0,0,0,7.50793,18H8.51447a0.49616,0.49616,0,0,0,.49615-0.49615V14.043A7.25157,7.25157,0,0,0,6.67078,8.24854l-2.077-1.75275a0.50264,0.50264,0,0,0-.32516-0.119h0ZM7.0141,14.043v3.46082A0.49621,0.49621,0,0,0,7.51025,18H8.51678a0.49614,0.49614,0,0,0,.49615-0.49683l-0.0047-3.60767a5.21819,5.21819,0,0,1,1.665-4.144l2.44818-2.06561a0.35758,0.35758,0,0,1,.6405.16266l0.91821,3.1106A0.38663,0.38663,0,0,0,15.41956,10.86L17,3l-8.00476.44965a0.38658,0.38658,0,0,0-.20294.71777l2.94891,1.35016a0.3576,0.3576,0,0,1,.07019.6571L9.35394,8.24854A7.25157,7.25157,0,0,0,7.0141,14.043Z'/%3e%3c/svg%3e", ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
500
500
|
__proto__: null,
|
|
501
|
-
default:
|
|
501
|
+
default: it
|
|
502
502
|
}, Symbol.toStringTag, { value: "Module" })), st = "data:image/svg+xml,%3csvg%20id='WORKING_ICONS'%20data-name='WORKING%20ICONS'%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%3e%3ctitle%3edirection%3c/title%3e%3cpath%20fill='%23000000'%20d='M17.75607,6.59766a0.30466,0.30466,0,0,1,.23035.10507l0.649,0.74859a0.30457,0.30457,0,0,1-.03369.43226L16.54129,9.622a5.4089,5.4089,0,0,0-1.73306,4.29459l0.0047,3.60769a0.29613,0.29613,0,0,1-.29614.29654H13.51031a0.29657,0.29657,0,0,1-.29623-0.29622L13.2135,14.04838a6.99129,6.99129,0,0,1,2.26944-5.62616l2.077-1.75275a0.30461,0.30461,0,0,1,.19617-0.07182m0-.2a0.50264,0.50264,0,0,0-.32516.119l-2.077,1.75275A7.25157,7.25157,0,0,0,13.0141,14.0638v3.46082a0.49622,0.49622,0,0,0,.49622.49622h1.00647a0.49616,0.49616,0,0,0,.49615-0.49681l-0.0047-3.60767a5.2182,5.2182,0,0,1,1.665-4.14405l2.05737-1.73586A0.50455,0.50455,0,0,0,18.7865,7.3203l-0.649-.74859a0.50345,0.50345,0,0,0-.38147-0.17406h0ZM2.24393,6.57682a0.30457,0.30457,0,0,1,.19617.07182l2.074,1.75018A7.00218,7.00218,0,0,1,6.78592,14.043v3.46088A0.29651,0.29651,0,0,1,6.48975,17.8H5.48322a0.29613,0.29613,0,0,1-.29614-0.29655L5.19086,13.9146a5.42,5.42,0,0,0-1.73517-4.316L1.39832,7.86274a0.30457,0.30457,0,0,1-.03369-0.43226l0.649-.74859a0.30466,0.30466,0,0,1,.23035-0.10507m0-.2a0.50345,0.50345,0,0,0-.38147.17406l-0.649.74859a0.50455,0.50455,0,0,0,.05585.71613L3.32672,9.75146a5.2182,5.2182,0,0,1,1.665,4.14405l-0.0047,3.60767A0.49616,0.49616,0,0,0,5.48322,18H6.48975a0.49616,0.49616,0,0,0,.49615-0.49615V14.043A7.25157,7.25157,0,0,0,4.64606,8.24854l-2.077-1.75275a0.50264,0.50264,0,0,0-.32516-0.119h0Zm12.66891,1.966L10.00916,2,5.10547,8.34283a0.38659,0.38659,0,0,0,.40942.62354L8.46674,7.62262A0.35756,0.35756,0,0,1,9.00916,8v9.49652A0.50346,0.50346,0,0,0,9.51263,18h0.993a0.50346,0.50346,0,0,0,.50348-0.50348V8a0.35755,0.35755,0,0,1,.54242-0.37738l2.95184,1.34375A0.3866,0.3866,0,0,0,14.91284,8.34283Z'/%3e%3c/svg%3e", lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
503
503
|
__proto__: null,
|
|
504
504
|
default: st
|
|
@@ -574,12 +574,12 @@ const _0 = "data:image/svg+xml,%3csvg%20id='WORKING_ICONS'%20data-name='WORKING%
|
|
|
574
574
|
}, Symbol.toStringTag, { value: "Module" })), Yt = "data:image/svg+xml,%3csvg%20id='WORKING_ICONS'%20data-name='WORKING%20ICONS'%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%3e%3ctitle%3edirection%3c/title%3e%3cpath%20fill='%23000000'%20d='M14.9859,14.043v3.46082A0.49621,0.49621,0,0,1,14.48974,18H13.48321a0.49614,0.49614,0,0,1-.49615-0.49683l0.0047-3.60767a5.21819,5.21819,0,0,0-1.665-4.144L8.87854,7.68585a0.35758,0.35758,0,0,0-.6405.16266l-0.91821,3.1106A0.38663,0.38663,0,0,1,6.58044,10.86L5,3l8.00476,0.44965a0.38658,0.38658,0,0,1,.20294.71777L10.25878,5.51758a0.3576,0.3576,0,0,0-.07019.6571l2.45746,2.07385A7.25158,7.25158,0,0,1,14.9859,14.043Z'/%3e%3c/svg%3e", t2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
575
575
|
__proto__: null,
|
|
576
576
|
default: Yt
|
|
577
|
-
}, Symbol.toStringTag, { value: "Module" })), e2 = "data:image/svg+xml,%3csvg%20id='WORKING_ICONS'%20data-name='WORKING%20ICONS'%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%3e%3ctitle%3edirection%3c/title%3e%3cpath%20fill='%23000000'%20d='M7.35395,8.24854L9.81141,6.17468a0.3576,0.3576,0,0,0-.07019-0.6571L6.7923,4.16742a0.38658,0.38658,0,0,1,.20294-0.71777L15,3l-1.58044,7.86a0.38663,0.38663,0,0,1-.73938.09912L11.762,7.84851a0.35758,0.35758,0,0,0-.6405-0.16266L8.67328,9.75146a5.21819,5.21819,0,0,0-1.665,4.144l0.0047,3.60767A0.49614,0.49614,0,0,1,6.51679,18H5.51026a0.49621,0.49621,0,0,1-.49615-0.49622V14.043A7.25157,7.25157,0,0,1,7.35395,8.24854Z'/%3e%3c/svg%3e",
|
|
577
|
+
}, Symbol.toStringTag, { value: "Module" })), e2 = "data:image/svg+xml,%3csvg%20id='WORKING_ICONS'%20data-name='WORKING%20ICONS'%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%3e%3ctitle%3edirection%3c/title%3e%3cpath%20fill='%23000000'%20d='M7.35395,8.24854L9.81141,6.17468a0.3576,0.3576,0,0,0-.07019-0.6571L6.7923,4.16742a0.38658,0.38658,0,0,1,.20294-0.71777L15,3l-1.58044,7.86a0.38663,0.38663,0,0,1-.73938.09912L11.762,7.84851a0.35758,0.35758,0,0,0-.6405-0.16266L8.67328,9.75146a5.21819,5.21819,0,0,0-1.665,4.144l0.0047,3.60767A0.49614,0.49614,0,0,1,6.51679,18H5.51026a0.49621,0.49621,0,0,1-.49615-0.49622V14.043A7.25157,7.25157,0,0,1,7.35395,8.24854Z'/%3e%3c/svg%3e", a2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
578
578
|
__proto__: null,
|
|
579
579
|
default: e2
|
|
580
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
580
|
+
}, Symbol.toStringTag, { value: "Module" })), i2 = "data:image/svg+xml,%3csvg%20id='WORKING_ICONS'%20data-name='WORKING%20ICONS'%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%3e%3ctitle%3edirection%3c/title%3e%3cpath%20fill='%23000000'%20d='M14.50342,8.96637L11.55157,7.62262A0.35755,0.35755,0,0,0,11.00916,8v9.49652A0.50346,0.50346,0,0,1,10.50568,18h-0.993a0.50346,0.50346,0,0,1-.50348-0.50348V8a0.35756,0.35756,0,0,0-.54242-0.37738L5.51489,8.96637a0.38659,0.38659,0,0,1-.40942-0.62354L10.00916,2l4.90369,6.34283A0.3866,0.3866,0,0,1,14.50342,8.96637Z'/%3e%3c/svg%3e", o2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
581
581
|
__proto__: null,
|
|
582
|
-
default:
|
|
582
|
+
default: i2
|
|
583
583
|
}, Symbol.toStringTag, { value: "Module" })), s2 = "data:image/svg+xml,%3csvg%20id='WORKING_ICONS'%20data-name='WORKING%20ICONS'%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%3e%3ctitle%3edirection%3c/title%3e%3cpath%20fill='%23000000'%20d='M14.5029,2.2A0.29744,0.29744,0,0,1,14.8,2.49712V17.50288A0.29744,0.29744,0,0,1,14.5029,17.8H13.4971A0.29744,0.29744,0,0,1,13.2,17.50288V2.49712A0.29744,0.29744,0,0,1,13.4971,2.2h1.0058m0-.2H13.4971A0.49711,0.49711,0,0,0,13,2.49712V17.50288A0.49711,0.49711,0,0,0,13.4971,18h1.0058A0.49711,0.49711,0,0,0,15,17.50288V2.49712A0.49711,0.49711,0,0,0,14.5029,2h0ZM9.00078,5.98169H7.01323a0.35757,0.35757,0,0,1-.37738-0.54242L7.9796,2.48743A0.38659,0.38659,0,0,0,7.35606,2.078L1.00908,7l6.347,4.88544A0.38659,0.38659,0,0,0,7.9796,11.476L6.63585,8.52417a0.3576,0.3576,0,0,1,.37738-0.54248H9.012a4.05782,4.05782,0,0,1,3.98877,4.07324v5.44885A0.49622,0.49622,0,0,0,13.497,18h1.00647a0.49614,0.49614,0,0,0,.49615-0.49683L14.99766,16h0.00311V12.05493a6.06019,6.06019,0,0,0-5.989-6.07324l-0.011-.00183'/%3e%3c/svg%3e", l2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
584
584
|
__proto__: null,
|
|
585
585
|
default: s2
|
|
@@ -655,12 +655,12 @@ const _0 = "data:image/svg+xml,%3csvg%20id='WORKING_ICONS'%20data-name='WORKING%
|
|
|
655
655
|
}, Symbol.toStringTag, { value: "Module" })), Y2 = "data:image/svg+xml,%3csvg%20id='WORKING_ICONS'%20data-name='WORKING%20ICONS'%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%3e%3ctitle%3edirection%3c/title%3e%3cpath%20fill='%23000000'%20d='M10.97473,7.2a3.8,3.8,0,1,1-3.8,3.8,3.80428,3.80428,0,0,1,3.8-3.8m0,7a3.2,3.2,0,1,0-3.2-3.2,3.20363,3.20363,0,0,0,3.2,3.2m0-7.2a4,4,0,1,0,4,4,4.00458,4.00458,0,0,0-4-4h0Zm0,7a3,3,0,1,1,3-3,3.00328,3.00328,0,0,1-3,3h0Zm-5.499-9.20184A0.17879,0.17879,0,0,1,5.53408,4.473L7.0528,3.90441a0.1933,0.1933,0,0,0-.0757-0.36521L3.00086,3.03039,3.50967,7.00664a0.1933,0.1933,0,0,0,.36521.0757L4.44342,5.56362a0.17879,0.17879,0,0,1,.32521-0.05835m6.7061,9.464a4.00038,4.00038,0,0,0,2.32861-6.79736,4.0315,4.0315,0,0,0-.542-0.45459,4.07671,4.07671,0,0,0-4.73975.12256l-3.75294-3.749-0.707.708,4.439,4.43311,0.353-.35352a3.05971,3.05971,0,0,1,3.83545-.34082,3.02248,3.02248,0,0,1,.40723.34131A2.99976,2.99976,0,0,1,10.97472,14h-0.5v4h1V14.96924Z'/%3e%3c/svg%3e", t3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
656
656
|
__proto__: null,
|
|
657
657
|
default: Y2
|
|
658
|
-
}, Symbol.toStringTag, { value: "Module" })), e3 = "data:image/svg+xml,%3csvg%20id='WORKING_ICONS'%20data-name='WORKING%20ICONS'%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%3e%3ctitle%3edirection%3c/title%3e%3cpath%20fill='%23000000'%20d='M8.97128,7.2a3.8,3.8,0,1,1-3.8,3.8,3.80428,3.80428,0,0,1,3.8-3.8m0,7a3.2,3.2,0,1,0-3.2-3.2,3.20363,3.20363,0,0,0,3.2,3.2m0-7.2a4,4,0,1,0,4,4,4.00458,4.00458,0,0,0-4-4h0Zm0,7a3,3,0,1,1,3-3,3.00328,3.00328,0,0,1-3,3h0ZM13.05247,3.45127a0.19328,0.19328,0,0,0-.07568.36517l1.51874,0.5686a0.17878,0.17878,0,0,1,.05835.3252l0.00006,0.00006L10.73885,8.52539l0.35352,0.35352A2.99976,2.99976,0,0,1,8.97127,14h-0.5v3.97917h1V14.96924a4.00123,4.00123,0,0,0,2.66016-6.42236L15.261,5.41734a0.17878,0.17878,0,0,1,.3252.05835L16.1547,6.99443a0.19332,0.19332,0,0,0,.36523-0.07574l0.50879-3.9762Z'/%3e%3c/svg%3e",
|
|
658
|
+
}, Symbol.toStringTag, { value: "Module" })), e3 = "data:image/svg+xml,%3csvg%20id='WORKING_ICONS'%20data-name='WORKING%20ICONS'%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%3e%3ctitle%3edirection%3c/title%3e%3cpath%20fill='%23000000'%20d='M8.97128,7.2a3.8,3.8,0,1,1-3.8,3.8,3.80428,3.80428,0,0,1,3.8-3.8m0,7a3.2,3.2,0,1,0-3.2-3.2,3.20363,3.20363,0,0,0,3.2,3.2m0-7.2a4,4,0,1,0,4,4,4.00458,4.00458,0,0,0-4-4h0Zm0,7a3,3,0,1,1,3-3,3.00328,3.00328,0,0,1-3,3h0ZM13.05247,3.45127a0.19328,0.19328,0,0,0-.07568.36517l1.51874,0.5686a0.17878,0.17878,0,0,1,.05835.3252l0.00006,0.00006L10.73885,8.52539l0.35352,0.35352A2.99976,2.99976,0,0,1,8.97127,14h-0.5v3.97917h1V14.96924a4.00123,4.00123,0,0,0,2.66016-6.42236L15.261,5.41734a0.17878,0.17878,0,0,1,.3252.05835L16.1547,6.99443a0.19332,0.19332,0,0,0,.36523-0.07574l0.50879-3.9762Z'/%3e%3c/svg%3e", a3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
659
659
|
__proto__: null,
|
|
660
660
|
default: e3
|
|
661
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
661
|
+
}, Symbol.toStringTag, { value: "Module" })), i3 = "data:image/svg+xml,%3csvg%20id='WORKING_ICONS'%20data-name='WORKING%20ICONS'%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%3e%3ctitle%3edirection%3c/title%3e%3cpath%20fill='%23000000'%20d='M10,8.2A3.8,3.8,0,1,1,6.2,12,3.80427,3.80427,0,0,1,10,8.2m0,7A3.2,3.2,0,1,0,6.8,12,3.20363,3.20363,0,0,0,10,15.2M10,8a4,4,0,1,0,4,4,4.00458,4.00458,0,0,0-4-4h0Zm0,7a3,3,0,1,1,3-3,3.00328,3.00328,0,0,1-3,3h0Zm2.83057-5.82666A3.97135,3.97135,0,0,0,10.5,8.03076V5.00415a0.17881,0.17881,0,0,1,.27124-0.18872L12.24713,5.4873a0.19329,0.19329,0,0,0,.20471-0.31177L10,2.00415,7.54816,5.17554a0.1933,0.1933,0,0,0,.20471.31177l1.476-.67187A0.17879,0.17879,0,0,1,9.5,5.00415V9H10a3,3,0,1,1,0,6H9.5v3h1V15.96924A4.00076,4.00076,0,0,0,12.83057,9.17334Z'/%3e%3c/svg%3e", o3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
662
662
|
__proto__: null,
|
|
663
|
-
default:
|
|
663
|
+
default: i3
|
|
664
664
|
}, Symbol.toStringTag, { value: "Module" })), s3 = "data:image/svg+xml,%3csvg%20id='WORKING_ICONS'%20data-name='WORKING%20ICONS'%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%3e%3ctitle%3edirection%3c/title%3e%3cpath%20fill='%23000000'%20d='M10,5.97986l0.011,0.00183A6.06019,6.06019,0,0,1,16,12.05493V16H15.99689l0.002,1.50317A0.49614,0.49614,0,0,1,15.50269,18H14.49622A0.49622,0.49622,0,0,1,14,17.50378V12.05493a4.05782,4.05782,0,0,0-3.98877-4.07324H8.01245a0.3576,0.3576,0,0,0-.37738.54248L8.97882,11.476a0.38659,0.38659,0,0,1-.62354.40942L2.0083,7l6.347-4.922a0.38659,0.38659,0,0,1,.62354.40942L7.63507,5.43927a0.35757,0.35757,0,0,0,.37738.54242H10'/%3e%3c/svg%3e", l3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
665
665
|
__proto__: null,
|
|
666
666
|
default: s3
|
|
@@ -689,12 +689,12 @@ const _0 = "data:image/svg+xml,%3csvg%20id='WORKING_ICONS'%20data-name='WORKING%
|
|
|
689
689
|
__proto__: null,
|
|
690
690
|
default: b3
|
|
691
691
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
692
|
-
var I3 = Object.defineProperty, A3 = Object.getOwnPropertyDescriptor, T = (
|
|
693
|
-
for (var o =
|
|
694
|
-
(l =
|
|
695
|
-
return
|
|
692
|
+
var I3 = Object.defineProperty, A3 = Object.getOwnPropertyDescriptor, T = (i, t, e, a) => {
|
|
693
|
+
for (var o = a > 1 ? void 0 : a ? A3(t, e) : t, s = i.length - 1, l; s >= 0; s--)
|
|
694
|
+
(l = i[s]) && (o = (a ? l(t, e, o) : l(o)) || o);
|
|
695
|
+
return a && o && I3(t, e, o), o;
|
|
696
696
|
};
|
|
697
|
-
const N3 = /* @__PURE__ */ Object.assign({ "./assets/directions/arrive.svg": h0, "./assets/directions/arrive_left.svg": u0, "./assets/directions/arrive_right.svg": m0, "./assets/directions/arrive_straight.svg": w0, "./assets/directions/close.svg": O0, "./assets/directions/continue.svg": S0, "./assets/directions/continue_left.svg": A0, "./assets/directions/continue_right.svg": y0, "./assets/directions/continue_slight_left.svg": x0, "./assets/directions/continue_slight_right.svg": M0, "./assets/directions/continue_straight.svg": R0, "./assets/directions/continue_uturn.svg": W0, "./assets/directions/depart.svg": P0, "./assets/directions/depart_left.svg": V0, "./assets/directions/depart_right.svg": $0, "./assets/directions/depart_straight.svg": z0, "./assets/directions/end_of_road_left.svg": E0, "./assets/directions/end_of_road_right.svg": k0, "./assets/directions/flag.svg": F0, "./assets/directions/fork.svg": J0, "./assets/directions/fork_left.svg": Q0, "./assets/directions/fork_right.svg": tt, "./assets/directions/fork_slight_left.svg":
|
|
697
|
+
const N3 = /* @__PURE__ */ Object.assign({ "./assets/directions/arrive.svg": h0, "./assets/directions/arrive_left.svg": u0, "./assets/directions/arrive_right.svg": m0, "./assets/directions/arrive_straight.svg": w0, "./assets/directions/close.svg": O0, "./assets/directions/continue.svg": S0, "./assets/directions/continue_left.svg": A0, "./assets/directions/continue_right.svg": y0, "./assets/directions/continue_slight_left.svg": x0, "./assets/directions/continue_slight_right.svg": M0, "./assets/directions/continue_straight.svg": R0, "./assets/directions/continue_uturn.svg": W0, "./assets/directions/depart.svg": P0, "./assets/directions/depart_left.svg": V0, "./assets/directions/depart_right.svg": $0, "./assets/directions/depart_straight.svg": z0, "./assets/directions/end_of_road_left.svg": E0, "./assets/directions/end_of_road_right.svg": k0, "./assets/directions/flag.svg": F0, "./assets/directions/fork.svg": J0, "./assets/directions/fork_left.svg": Q0, "./assets/directions/fork_right.svg": tt, "./assets/directions/fork_slight_left.svg": at, "./assets/directions/fork_slight_right.svg": ot, "./assets/directions/fork_straight.svg": lt, "./assets/directions/invalid.svg": nt, "./assets/directions/invalid_left.svg": gt, "./assets/directions/invalid_right.svg": _t, "./assets/directions/invalid_slight_left.svg": vt, "./assets/directions/invalid_slight_right.svg": pt, "./assets/directions/invalid_straight.svg": ft, "./assets/directions/invalid_uturn.svg": Ot, "./assets/directions/merge_left.svg": St, "./assets/directions/merge_right.svg": At, "./assets/directions/merge_slight_left.svg": yt, "./assets/directions/merge_slight_right.svg": xt, "./assets/directions/merge_straight.svg": Mt, "./assets/directions/new_name_left.svg": Rt, "./assets/directions/new_name_right.svg": Wt, "./assets/directions/new_name_sharp_left.svg": Pt, "./assets/directions/new_name_sharp_right.svg": Vt, "./assets/directions/new_name_slight_left.svg": $t, "./assets/directions/new_name_slight_right.svg": zt, "./assets/directions/new_name_straight.svg": Et, "./assets/directions/notification_left.svg": kt, "./assets/directions/notification_right.svg": Ft, "./assets/directions/notification_sharp_left.svg": Jt, "./assets/directions/notification_sharp_right.svg": Qt, "./assets/directions/notification_slight_left.svg": t2, "./assets/directions/notification_slight_right.svg": a2, "./assets/directions/notification_straight.svg": o2, "./assets/directions/off_ramp_left.svg": l2, "./assets/directions/off_ramp_right.svg": n2, "./assets/directions/off_ramp_slight_left.svg": g2, "./assets/directions/off_ramp_slight_right.svg": _2, "./assets/directions/on_ramp_left.svg": v2, "./assets/directions/on_ramp_right.svg": p2, "./assets/directions/on_ramp_sharp_left.svg": f2, "./assets/directions/on_ramp_sharp_right.svg": O2, "./assets/directions/on_ramp_slight_left.svg": S2, "./assets/directions/on_ramp_slight_right.svg": A2, "./assets/directions/on_ramp_straight.svg": y2, "./assets/directions/rotary.svg": x2, "./assets/directions/rotary_left.svg": M2, "./assets/directions/rotary_right.svg": R2, "./assets/directions/rotary_sharp_left.svg": W2, "./assets/directions/rotary_sharp_right.svg": P2, "./assets/directions/rotary_slight_left.svg": V2, "./assets/directions/rotary_slight_right.svg": $2, "./assets/directions/rotary_straight.svg": z2, "./assets/directions/roundabout.svg": E2, "./assets/directions/roundabout_left.svg": k2, "./assets/directions/roundabout_right.svg": F2, "./assets/directions/roundabout_sharp_left.svg": J2, "./assets/directions/roundabout_sharp_right.svg": Q2, "./assets/directions/roundabout_slight_left.svg": t3, "./assets/directions/roundabout_slight_right.svg": a3, "./assets/directions/roundabout_straight.svg": o3, "./assets/directions/turn_left.svg": l3, "./assets/directions/turn_right.svg": n3, "./assets/directions/turn_sharp_left.svg": g3, "./assets/directions/turn_sharp_right.svg": _3, "./assets/directions/turn_slight_left.svg": v3, "./assets/directions/turn_slight_right.svg": p3, "./assets/directions/turn_straight.svg": f3, "./assets/directions/updown.svg": O3, "./assets/directions/uturn.svg": S3 });
|
|
698
698
|
let b = class extends N {
|
|
699
699
|
constructor() {
|
|
700
700
|
super(...arguments), this.visualInstruction = null;
|
|
@@ -729,10 +729,10 @@ T([
|
|
|
729
729
|
b = T([
|
|
730
730
|
L("maneuver-image")
|
|
731
731
|
], b);
|
|
732
|
-
var y3 = Object.defineProperty, L3 = Object.getOwnPropertyDescriptor, z = (
|
|
733
|
-
for (var o =
|
|
734
|
-
(l =
|
|
735
|
-
return
|
|
732
|
+
var y3 = Object.defineProperty, L3 = Object.getOwnPropertyDescriptor, z = (i, t, e, a) => {
|
|
733
|
+
for (var o = a > 1 ? void 0 : a ? L3(t, e) : t, s = i.length - 1, l; s >= 0; s--)
|
|
734
|
+
(l = i[s]) && (o = (a ? l(t, e, o) : l(o)) || o);
|
|
735
|
+
return a && o && y3(t, e, o), o;
|
|
736
736
|
};
|
|
737
737
|
const x3 = j.LocalizedDistanceFormatter();
|
|
738
738
|
let S = class extends N {
|
|
@@ -805,18 +805,18 @@ z([
|
|
|
805
805
|
S = z([
|
|
806
806
|
L("instructions-view")
|
|
807
807
|
], S);
|
|
808
|
-
var C3 = Object.defineProperty, M3 = Object.getOwnPropertyDescriptor, B = (
|
|
809
|
-
for (var o =
|
|
810
|
-
(l =
|
|
811
|
-
return
|
|
808
|
+
var C3 = Object.defineProperty, M3 = Object.getOwnPropertyDescriptor, B = (i, t, e, a) => {
|
|
809
|
+
for (var o = a > 1 ? void 0 : a ? M3(t, e) : t, s = i.length - 1, l; s >= 0; s--)
|
|
810
|
+
(l = i[s]) && (o = (a ? l(t, e, o) : l(o)) || o);
|
|
811
|
+
return a && o && C3(t, e, o), o;
|
|
812
812
|
};
|
|
813
813
|
const j3 = j.LocalizedDurationFormatter(), R3 = j.LocalizedDistanceFormatter();
|
|
814
814
|
let I = class extends N {
|
|
815
815
|
constructor() {
|
|
816
816
|
super(...arguments), this.tripState = null;
|
|
817
817
|
}
|
|
818
|
-
getEstimatedArrival(
|
|
819
|
-
return new Date((/* @__PURE__ */ new Date()).getTime() +
|
|
818
|
+
getEstimatedArrival(i) {
|
|
819
|
+
return new Date((/* @__PURE__ */ new Date()).getTime() + i * 1e3);
|
|
820
820
|
}
|
|
821
821
|
render() {
|
|
822
822
|
var _a;
|
|
@@ -880,20 +880,20 @@ B([
|
|
|
880
880
|
I = B([
|
|
881
881
|
L("trip-progress-view")
|
|
882
882
|
], I);
|
|
883
|
-
function V(
|
|
883
|
+
function V(i) {
|
|
884
884
|
let t = null;
|
|
885
|
-
return
|
|
886
|
-
value:
|
|
885
|
+
return i.coords.speed && (t = {
|
|
886
|
+
value: i.coords.speed
|
|
887
887
|
}), {
|
|
888
888
|
coordinates: {
|
|
889
|
-
lat:
|
|
890
|
-
lng:
|
|
889
|
+
lat: i.coords.latitude,
|
|
890
|
+
lng: i.coords.longitude
|
|
891
891
|
},
|
|
892
|
-
horizontalAccuracy:
|
|
892
|
+
horizontalAccuracy: i.coords.accuracy,
|
|
893
893
|
courseOverGround: {
|
|
894
|
-
degrees: Math.floor(
|
|
894
|
+
degrees: Math.floor(i.coords.heading || 0)
|
|
895
895
|
},
|
|
896
|
-
timestamp:
|
|
896
|
+
timestamp: i.timestamp,
|
|
897
897
|
speed: t
|
|
898
898
|
};
|
|
899
899
|
}
|
|
@@ -910,7 +910,7 @@ class G3 {
|
|
|
910
910
|
if (!this.isRunning) {
|
|
911
911
|
for (this.isRunning = true; this.simulationState !== null; ) {
|
|
912
912
|
await new Promise(
|
|
913
|
-
(
|
|
913
|
+
(a) => setTimeout(a, 1 / this.warpFactor * 1e3)
|
|
914
914
|
);
|
|
915
915
|
const t = this.simulationState, e = D(t);
|
|
916
916
|
if (t === e)
|
|
@@ -963,15 +963,15 @@ class $3 {
|
|
|
963
963
|
*/
|
|
964
964
|
getCurrentLocation(t) {
|
|
965
965
|
if (!navigator.geolocation)
|
|
966
|
-
return new Promise((
|
|
966
|
+
return new Promise((a, o) => {
|
|
967
967
|
o("This navigator does not support geolocation.");
|
|
968
968
|
});
|
|
969
969
|
const e = (/* @__PURE__ */ new Date()).getTime() - t;
|
|
970
|
-
return this.lastLocation && this.lastLocation.timestamp > e ? this.lastLocation : new Promise((
|
|
970
|
+
return this.lastLocation && this.lastLocation.timestamp > e ? this.lastLocation : new Promise((a, o) => {
|
|
971
971
|
navigator.geolocation.getCurrentPosition(
|
|
972
972
|
(s) => {
|
|
973
973
|
const l = V(s);
|
|
974
|
-
this.lastLocation = l,
|
|
974
|
+
this.lastLocation = l, a(l);
|
|
975
975
|
},
|
|
976
976
|
o
|
|
977
977
|
);
|
|
@@ -984,17 +984,17 @@ class $3 {
|
|
|
984
984
|
this.lastLocation = null, navigator.geolocation && this.geolocationWatchId && (navigator.geolocation.clearWatch(this.geolocationWatchId), this.geolocationWatchId = null);
|
|
985
985
|
}
|
|
986
986
|
}
|
|
987
|
-
var W3 = Object.defineProperty, K3 = Object.getOwnPropertyDescriptor, v = (
|
|
988
|
-
for (var o =
|
|
989
|
-
(l =
|
|
990
|
-
return
|
|
987
|
+
var W3 = Object.defineProperty, K3 = Object.getOwnPropertyDescriptor, v = (i, t, e, a) => {
|
|
988
|
+
for (var o = a > 1 ? void 0 : a ? K3(t, e) : t, s = i.length - 1, l; s >= 0; s--)
|
|
989
|
+
(l = i[s]) && (o = (a ? l(t, e, o) : l(o)) || o);
|
|
990
|
+
return a && o && W3(t, e, o), o;
|
|
991
991
|
};
|
|
992
992
|
let n = class extends N {
|
|
993
993
|
constructor() {
|
|
994
|
-
super(), this.valhallaEndpointUrl = "", this.profile = "", this.httpClient = fetch, this.options = {}, this.
|
|
994
|
+
super(), this.valhallaEndpointUrl = "", this.profile = "", this.httpClient = fetch, this.options = {}, this._navState = null, this.useVoiceGuidance = false, this.geolocateOnLoad = true, this.addGeolocateControl = true, this.routeAdapter = null, this.geolocateControl = null, this.navigationController = null, this.simulatedLocationMarker = null, this.lastSpokenUtteranceId = null, this.httpClient === fetch && (this.httpClient = this.httpClient.bind(window));
|
|
995
995
|
}
|
|
996
|
-
updated(
|
|
997
|
-
|
|
996
|
+
updated(i) {
|
|
997
|
+
i.has("locationProvider") && this.locationProvider && (this.locationProvider.updateCallback = this.onLocationUpdated.bind(this));
|
|
998
998
|
}
|
|
999
999
|
firstUpdated() {
|
|
1000
1000
|
this.addGeolocateControl && (this.geolocateControl = new U({
|
|
@@ -1002,25 +1002,25 @@ let n = class extends N {
|
|
|
1002
1002
|
enableHighAccuracy: true
|
|
1003
1003
|
},
|
|
1004
1004
|
trackUserLocation: true
|
|
1005
|
-
}), this.map.addControl(this.geolocateControl), this.map.on("load", (
|
|
1005
|
+
}), this.map.addControl(this.geolocateControl), this.map.on("load", (i) => {
|
|
1006
1006
|
var _a;
|
|
1007
1007
|
this.geolocateOnLoad && ((_a = this.geolocateControl) == null ? void 0 : _a.trigger());
|
|
1008
1008
|
}));
|
|
1009
1009
|
}
|
|
1010
1010
|
// TODO: type
|
|
1011
|
-
async getRoutes(
|
|
1011
|
+
async getRoutes(i, t) {
|
|
1012
1012
|
this.routeAdapter = new F(
|
|
1013
1013
|
this.valhallaEndpointUrl,
|
|
1014
1014
|
this.profile,
|
|
1015
1015
|
JSON.stringify(this.options)
|
|
1016
1016
|
);
|
|
1017
1017
|
const e = this.routeAdapter.generateRequest(
|
|
1018
|
-
|
|
1018
|
+
i,
|
|
1019
1019
|
t
|
|
1020
|
-
),
|
|
1020
|
+
), a = e.get("method");
|
|
1021
1021
|
let o = new URL(e.get("url"));
|
|
1022
1022
|
const s = e.get("body"), l = await this.httpClient(o, {
|
|
1023
|
-
method:
|
|
1023
|
+
method: a,
|
|
1024
1024
|
// FIXME: assert body is not null
|
|
1025
1025
|
body: new Uint8Array(s).buffer
|
|
1026
1026
|
}), g = new Uint8Array(await l.arrayBuffer());
|
|
@@ -1031,17 +1031,17 @@ let n = class extends N {
|
|
|
1031
1031
|
}
|
|
1032
1032
|
}
|
|
1033
1033
|
// TODO: types
|
|
1034
|
-
startNavigation(
|
|
1034
|
+
startNavigation(i, t) {
|
|
1035
1035
|
var _a, _b, _c, _d;
|
|
1036
|
-
this.locationProvider.start(), this.onNavigationStart && this.map && this.onNavigationStart(this.map), this.navigationController = new q(
|
|
1036
|
+
this.locationProvider.start(), this.onNavigationStart && this.map && this.onNavigationStart(this.map), this.navigationController = new q(i, t), this.locationProvider.updateCallback = this.onLocationUpdated.bind(this);
|
|
1037
1037
|
const e = this.locationProvider.lastLocation ? this.locationProvider.lastLocation : {
|
|
1038
|
-
coordinates:
|
|
1038
|
+
coordinates: i.geometry[0],
|
|
1039
1039
|
horizontalAccuracy: 0,
|
|
1040
1040
|
courseOverGround: null,
|
|
1041
1041
|
timestamp: Date.now(),
|
|
1042
1042
|
speed: null
|
|
1043
1043
|
};
|
|
1044
|
-
this.
|
|
1044
|
+
this.navStateUpdate(
|
|
1045
1045
|
this.navigationController.getInitialState(e)
|
|
1046
1046
|
), this.clearMap(), (_a = this.map) == null ? void 0 : _a.addSource("route", {
|
|
1047
1047
|
type: "geojson",
|
|
@@ -1050,8 +1050,8 @@ let n = class extends N {
|
|
|
1050
1050
|
properties: {},
|
|
1051
1051
|
geometry: {
|
|
1052
1052
|
type: "LineString",
|
|
1053
|
-
coordinates:
|
|
1054
|
-
(
|
|
1053
|
+
coordinates: i.geometry.map(
|
|
1054
|
+
(a) => [a.lng, a.lat]
|
|
1055
1055
|
)
|
|
1056
1056
|
}
|
|
1057
1057
|
}
|
|
@@ -1083,37 +1083,37 @@ let n = class extends N {
|
|
|
1083
1083
|
},
|
|
1084
1084
|
"route"
|
|
1085
1085
|
), (_d = this.map) == null ? void 0 : _d.flyTo({
|
|
1086
|
-
center:
|
|
1086
|
+
center: i.geometry[0]
|
|
1087
1087
|
}), this.locationProvider instanceof G3 && (this.simulatedLocationMarker = new E.Marker({
|
|
1088
1088
|
color: "green"
|
|
1089
|
-
}).setLngLat(
|
|
1089
|
+
}).setLngLat(i.geometry[0]).addTo(this.map));
|
|
1090
1090
|
}
|
|
1091
1091
|
async stopNavigation() {
|
|
1092
1092
|
var _a, _b;
|
|
1093
|
-
(_a = this.routeAdapter) == null ? void 0 : _a.free(), this.routeAdapter = null, (_b = this.navigationController) == null ? void 0 : _b.free(), this.navigationController = null, this.
|
|
1093
|
+
(_a = this.routeAdapter) == null ? void 0 : _a.free(), this.routeAdapter = null, (_b = this.navigationController) == null ? void 0 : _b.free(), this.navigationController = null, this.navStateUpdate(null), this.clearMap(), this.locationProvider && (this.locationProvider.updateCallback = null), this.onNavigationStop && this.map && this.onNavigationStop(this.map);
|
|
1094
1094
|
}
|
|
1095
|
-
|
|
1095
|
+
navStateUpdate(i) {
|
|
1096
1096
|
var _a;
|
|
1097
|
-
this.
|
|
1097
|
+
this._navState = i, (_a = this.onTripStateChange) == null ? void 0 : _a.call(this, (i == null ? void 0 : i.tripState) || null);
|
|
1098
1098
|
}
|
|
1099
1099
|
onLocationUpdated() {
|
|
1100
|
-
var _a, _b, _c, _d, _e, _f;
|
|
1100
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1101
1101
|
if (!this.navigationController)
|
|
1102
1102
|
return;
|
|
1103
|
-
const
|
|
1103
|
+
const i = this.navigationController.updateUserLocation(
|
|
1104
1104
|
this.locationProvider.lastLocation,
|
|
1105
|
-
this.
|
|
1105
|
+
this._navState
|
|
1106
1106
|
);
|
|
1107
|
-
this.
|
|
1107
|
+
this.navStateUpdate(i), (_a = this.simulatedLocationMarker) == null ? void 0 : _a.setLngLat(
|
|
1108
1108
|
this.locationProvider.lastLocation.coordinates
|
|
1109
1109
|
), (_b = this.map) == null ? void 0 : _b.easeTo({
|
|
1110
1110
|
center: this.locationProvider.lastLocation.coordinates,
|
|
1111
1111
|
bearing: this.locationProvider.lastLocation.courseOverGround.degrees || 0
|
|
1112
1112
|
});
|
|
1113
|
-
const t = this.
|
|
1114
|
-
this.useVoiceGuidance && t != null && typeof t == "object" && "Navigating" in t && ((
|
|
1113
|
+
const t = (_c = this._navState) == null ? void 0 : _c.tripState;
|
|
1114
|
+
this.useVoiceGuidance && t != null && typeof t == "object" && "Navigating" in t && ((_d = t.Navigating) == null ? void 0 : _d.spokenInstruction) && ((_e = t.Navigating) == null ? void 0 : _e.spokenInstruction.utteranceId) !== this.lastSpokenUtteranceId && (this.lastSpokenUtteranceId = (_f = t.Navigating) == null ? void 0 : _f.spokenInstruction.utteranceId, window.speechSynthesis.cancel(), window.speechSynthesis.speak(
|
|
1115
1115
|
new SpeechSynthesisUtterance(
|
|
1116
|
-
(
|
|
1116
|
+
(_g = t.Navigating) == null ? void 0 : _g.spokenInstruction.text
|
|
1117
1117
|
)
|
|
1118
1118
|
));
|
|
1119
1119
|
}
|
|
@@ -1122,6 +1122,7 @@ let n = class extends N {
|
|
|
1122
1122
|
((_a = this.map) == null ? void 0 : _a.getLayer("route")) && ((_b = this.map) == null ? void 0 : _b.removeLayer("route")), ((_c = this.map) == null ? void 0 : _c.getLayer("route-border")) && ((_d = this.map) == null ? void 0 : _d.removeLayer("route-border")), ((_e = this.map) == null ? void 0 : _e.getSource("route")) && ((_f = this.map) == null ? void 0 : _f.removeSource("route")), (_g = this.simulatedLocationMarker) == null ? void 0 : _g.remove();
|
|
1123
1123
|
}
|
|
1124
1124
|
render() {
|
|
1125
|
+
var _a, _b, _c;
|
|
1125
1126
|
return y`
|
|
1126
1127
|
<style>
|
|
1127
1128
|
${this.customStyles}
|
|
@@ -1131,17 +1132,17 @@ let n = class extends N {
|
|
|
1131
1132
|
<!-- Fix names/ids; currently this is a breaking change -->
|
|
1132
1133
|
<div id="overlay">
|
|
1133
1134
|
<instructions-view
|
|
1134
|
-
.tripState=${this.
|
|
1135
|
+
.tripState=${(_a = this._navState) == null ? void 0 : _a.tripState}
|
|
1135
1136
|
></instructions-view>
|
|
1136
1137
|
|
|
1137
1138
|
<div id="bottom-component">
|
|
1138
1139
|
<trip-progress-view
|
|
1139
|
-
.tripState=${this.
|
|
1140
|
+
.tripState=${(_b = this._navState) == null ? void 0 : _b.tripState}
|
|
1140
1141
|
></trip-progress-view>
|
|
1141
1142
|
<button
|
|
1142
1143
|
id="stop-button"
|
|
1143
1144
|
@click=${this.stopNavigation}
|
|
1144
|
-
?hidden=${!this.
|
|
1145
|
+
?hidden=${!((_c = this._navState) == null ? void 0 : _c.tripState)}
|
|
1145
1146
|
>
|
|
1146
1147
|
<img src=${$} alt="Stop navigation" class="icon" />
|
|
1147
1148
|
</button>
|
|
@@ -1242,7 +1243,7 @@ v([
|
|
|
1242
1243
|
], n.prototype, "options", 2);
|
|
1243
1244
|
v([
|
|
1244
1245
|
c0()
|
|
1245
|
-
], n.prototype, "
|
|
1246
|
+
], n.prototype, "_navState", 2);
|
|
1246
1247
|
v([
|
|
1247
1248
|
c({ type: Function, attribute: false })
|
|
1248
1249
|
], n.prototype, "onNavigationStart", 2);
|