@everymatrix/casino-hamburger-menu-nd 1.63.1 → 1.63.2
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/components/{CasinoHamburgerMenuNd-oMc3wnX6.js → CasinoHamburgerMenuNd-BCuPOU9H.js} +262 -262
- package/components/{CasinoHamburgerMenuNd-CcxwBxY-.js → CasinoHamburgerMenuNd-BxCVz4vK.js} +290 -290
- package/components/{CasinoHamburgerMenuNd-MV75rtp9.cjs → CasinoHamburgerMenuNd-DR_PkeAM.cjs} +4 -4
- package/es2015/casino-hamburger-menu-nd.cjs +1 -1
- package/es2015/casino-hamburger-menu-nd.js +1 -1
- package/esnext/casino-hamburger-menu-nd.js +1 -1
- package/package.json +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
function $() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function pr(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
6
|
function Ot() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function fe(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(pr);
|
|
11
11
|
}
|
|
12
12
|
function bt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function dr(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let Oe;
|
|
@@ -22,7 +22,7 @@ function K(e, t) {
|
|
|
22
22
|
function sn(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function mr(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -32,7 +32,7 @@ function gr(e, ...t) {
|
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
34
|
function un(e, t, r) {
|
|
35
|
-
e.$$.on_destroy.push(
|
|
35
|
+
e.$$.on_destroy.push(mr(t, r));
|
|
36
36
|
}
|
|
37
37
|
function b(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
@@ -83,19 +83,19 @@ function ee(e) {
|
|
|
83
83
|
function U() {
|
|
84
84
|
return ee(" ");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function gr() {
|
|
87
87
|
return ee("");
|
|
88
88
|
}
|
|
89
89
|
function te(e, t, r, n) {
|
|
90
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function m(e, t, r) {
|
|
93
93
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
94
94
|
}
|
|
95
95
|
function fn(e) {
|
|
96
96
|
return Array.from(e.childNodes);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function pe(e, t) {
|
|
99
99
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
100
100
|
t);
|
|
101
101
|
}
|
|
@@ -112,11 +112,11 @@ function Pt(e, t, r) {
|
|
|
112
112
|
}
|
|
113
113
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function pn(e) {
|
|
116
116
|
const t = e.querySelector(":checked");
|
|
117
117
|
return t && t.__value;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function dn(e) {
|
|
120
120
|
const t = {};
|
|
121
121
|
return e.childNodes.forEach(
|
|
122
122
|
/** @param {Element} node */
|
|
@@ -129,13 +129,13 @@ let ye;
|
|
|
129
129
|
function ve(e) {
|
|
130
130
|
ye = e;
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function mn() {
|
|
133
133
|
if (!ye)
|
|
134
134
|
throw new Error("Function called outside component initialization");
|
|
135
135
|
return ye;
|
|
136
136
|
}
|
|
137
|
-
function
|
|
138
|
-
|
|
137
|
+
function gn(e) {
|
|
138
|
+
mn().$$.on_mount.push(e);
|
|
139
139
|
}
|
|
140
140
|
const ae = [], Ce = [];
|
|
141
141
|
let se = [];
|
|
@@ -189,13 +189,13 @@ const xn = /* @__PURE__ */ new Set();
|
|
|
189
189
|
function En(e, t) {
|
|
190
190
|
e && e.i && (xn.delete(e), e.i(t));
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function Y(e) {
|
|
193
193
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
194
194
|
}
|
|
195
195
|
function wn(e, t, r) {
|
|
196
196
|
const { fragment: n, after_update: i } = e.$$;
|
|
197
197
|
n && n.m(t, r), Ne(() => {
|
|
198
|
-
const o = e.$$.on_mount.map(
|
|
198
|
+
const o = e.$$.on_mount.map(pr).filter(bt);
|
|
199
199
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
|
|
200
200
|
}), i.forEach(Ne);
|
|
201
201
|
}
|
|
@@ -232,9 +232,9 @@ function Tn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
232
232
|
};
|
|
233
233
|
a && a(l.root);
|
|
234
234
|
let h = !1;
|
|
235
|
-
if (l.ctx = r ? r(e, t.props || {}, (c, f, ...
|
|
236
|
-
const
|
|
237
|
-
return l.ctx && i(l.ctx[c], l.ctx[c] =
|
|
235
|
+
if (l.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
236
|
+
const g = d.length ? d[0] : f;
|
|
237
|
+
return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), h && Hn(e, c)), f;
|
|
238
238
|
}) : [], l.update(), h = !0, fe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
239
239
|
if (t.hydrate) {
|
|
240
240
|
const c = fn(t.target);
|
|
@@ -288,7 +288,7 @@ typeof HTMLElement == "function" && (br = class extends HTMLElement {
|
|
|
288
288
|
let o;
|
|
289
289
|
return {
|
|
290
290
|
c: function() {
|
|
291
|
-
o = y("slot"), i !== "default" &&
|
|
291
|
+
o = y("slot"), i !== "default" && m(o, "name", i);
|
|
292
292
|
},
|
|
293
293
|
/**
|
|
294
294
|
* @param {HTMLElement} target
|
|
@@ -305,7 +305,7 @@ typeof HTMLElement == "function" && (br = class extends HTMLElement {
|
|
|
305
305
|
};
|
|
306
306
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
307
307
|
return;
|
|
308
|
-
const t = {}, r =
|
|
308
|
+
const t = {}, r = dn(this);
|
|
309
309
|
for (const i of this.$$s)
|
|
310
310
|
i in r && (t[i] = [e(i)]);
|
|
311
311
|
for (const i of this.attributes) {
|
|
@@ -599,10 +599,10 @@ var ke = function() {
|
|
|
599
599
|
if (c) {
|
|
600
600
|
this._finalizers = null;
|
|
601
601
|
try {
|
|
602
|
-
for (var f = nt(c),
|
|
603
|
-
var
|
|
602
|
+
for (var f = nt(c), d = f.next(); !d.done; d = f.next()) {
|
|
603
|
+
var g = d.value;
|
|
604
604
|
try {
|
|
605
|
-
Lt(
|
|
605
|
+
Lt(g);
|
|
606
606
|
} catch (v) {
|
|
607
607
|
o = o ?? [], v instanceof Ze ? o = ot(ot([], it(o)), it(v.errors)) : o.push(v);
|
|
608
608
|
}
|
|
@@ -611,7 +611,7 @@ var ke = function() {
|
|
|
611
611
|
n = { error: v };
|
|
612
612
|
} finally {
|
|
613
613
|
try {
|
|
614
|
-
|
|
614
|
+
d && !d.done && (i = f.return) && i.call(f);
|
|
615
615
|
} finally {
|
|
616
616
|
if (n)
|
|
617
617
|
throw n.error;
|
|
@@ -996,7 +996,7 @@ function De(e, t = $) {
|
|
|
996
996
|
let r;
|
|
997
997
|
const n = /* @__PURE__ */ new Set();
|
|
998
998
|
function i(s) {
|
|
999
|
-
if (
|
|
999
|
+
if (dr(e, s) && (e = s, r)) {
|
|
1000
1000
|
const u = !oe.length;
|
|
1001
1001
|
for (const l of n)
|
|
1002
1002
|
l[1](), oe.push(l, e);
|
|
@@ -1018,7 +1018,7 @@ function De(e, t = $) {
|
|
|
1018
1018
|
}
|
|
1019
1019
|
return { set: i, update: o, subscribe: a };
|
|
1020
1020
|
}
|
|
1021
|
-
function
|
|
1021
|
+
function de(e, t, r) {
|
|
1022
1022
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1023
1023
|
if (!i.every(Boolean))
|
|
1024
1024
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1031,11 +1031,11 @@ function pe(e, t, r) {
|
|
|
1031
1031
|
if (h)
|
|
1032
1032
|
return;
|
|
1033
1033
|
c();
|
|
1034
|
-
const
|
|
1035
|
-
o ? a(
|
|
1036
|
-
},
|
|
1037
|
-
(
|
|
1038
|
-
|
|
1034
|
+
const g = t(n ? l[0] : l, a, s);
|
|
1035
|
+
o ? a(g) : c = bt(g) ? g : $;
|
|
1036
|
+
}, d = i.map(
|
|
1037
|
+
(g, v) => mr(
|
|
1038
|
+
g,
|
|
1039
1039
|
(w) => {
|
|
1040
1040
|
l[v] = w, h &= ~(1 << v), u && f();
|
|
1041
1041
|
},
|
|
@@ -1045,7 +1045,7 @@ function pe(e, t, r) {
|
|
|
1045
1045
|
)
|
|
1046
1046
|
);
|
|
1047
1047
|
return u = !0, f(), function() {
|
|
1048
|
-
fe(
|
|
1048
|
+
fe(d), c(), u = !1;
|
|
1049
1049
|
};
|
|
1050
1050
|
});
|
|
1051
1051
|
}
|
|
@@ -1060,17 +1060,17 @@ function zn(e) {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
function Zn(e) {
|
|
1062
1062
|
var t = Object.prototype.toString.call(e);
|
|
1063
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1063
|
+
return t === "[object RegExp]" || t === "[object Date]" || qn(e);
|
|
1064
1064
|
}
|
|
1065
|
-
var Qn = typeof Symbol == "function" && Symbol.for,
|
|
1066
|
-
function
|
|
1067
|
-
return e.$$typeof ===
|
|
1065
|
+
var Qn = typeof Symbol == "function" && Symbol.for, Yn = Qn ? Symbol.for("react.element") : 60103;
|
|
1066
|
+
function qn(e) {
|
|
1067
|
+
return e.$$typeof === Yn;
|
|
1068
1068
|
}
|
|
1069
|
-
function
|
|
1069
|
+
function Jn(e) {
|
|
1070
1070
|
return Array.isArray(e) ? [] : {};
|
|
1071
1071
|
}
|
|
1072
1072
|
function _e(e, t) {
|
|
1073
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ue(
|
|
1073
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ue(Jn(e), e, t) : e;
|
|
1074
1074
|
}
|
|
1075
1075
|
function Kn(e, t, r) {
|
|
1076
1076
|
return e.concat(t).map(function(n) {
|
|
@@ -1165,8 +1165,8 @@ function Qe(e, t, r) {
|
|
|
1165
1165
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1166
1166
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1167
1167
|
}
|
|
1168
|
-
function
|
|
1169
|
-
var r = t && t.cache ? t.cache :
|
|
1168
|
+
function Ye(e, t) {
|
|
1169
|
+
var r = t && t.cache ? t.cache : di, n = t && t.serializer ? t.serializer : fi, i = t && t.strategy ? t.strategy : hi;
|
|
1170
1170
|
return i(e, {
|
|
1171
1171
|
cache: r,
|
|
1172
1172
|
serializer: n
|
|
@@ -1195,7 +1195,7 @@ function ci(e, t) {
|
|
|
1195
1195
|
}
|
|
1196
1196
|
var fi = function() {
|
|
1197
1197
|
return JSON.stringify(arguments);
|
|
1198
|
-
},
|
|
1198
|
+
}, pi = (
|
|
1199
1199
|
/** @class */
|
|
1200
1200
|
function() {
|
|
1201
1201
|
function e() {
|
|
@@ -1207,11 +1207,11 @@ var fi = function() {
|
|
|
1207
1207
|
this.cache[t] = r;
|
|
1208
1208
|
}, e;
|
|
1209
1209
|
}()
|
|
1210
|
-
),
|
|
1210
|
+
), di = {
|
|
1211
1211
|
create: function() {
|
|
1212
|
-
return new
|
|
1212
|
+
return new pi();
|
|
1213
1213
|
}
|
|
1214
|
-
},
|
|
1214
|
+
}, qe = {
|
|
1215
1215
|
variadic: ci
|
|
1216
1216
|
}, Re = function() {
|
|
1217
1217
|
return Re = Object.assign || function(t) {
|
|
@@ -1238,7 +1238,7 @@ var le;
|
|
|
1238
1238
|
function Dt(e) {
|
|
1239
1239
|
return e.type === T.literal;
|
|
1240
1240
|
}
|
|
1241
|
-
function
|
|
1241
|
+
function mi(e) {
|
|
1242
1242
|
return e.type === T.argument;
|
|
1243
1243
|
}
|
|
1244
1244
|
function Or(e) {
|
|
@@ -1256,7 +1256,7 @@ function Pr(e) {
|
|
|
1256
1256
|
function Br(e) {
|
|
1257
1257
|
return e.type === T.plural;
|
|
1258
1258
|
}
|
|
1259
|
-
function
|
|
1259
|
+
function gi(e) {
|
|
1260
1260
|
return e.type === T.pound;
|
|
1261
1261
|
}
|
|
1262
1262
|
function Lr(e) {
|
|
@@ -1543,13 +1543,13 @@ function Si(e) {
|
|
|
1543
1543
|
case "integer-width":
|
|
1544
1544
|
if (i.options.length > 1)
|
|
1545
1545
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1546
|
-
i.options[0].replace(Ei, function(u, l, h, c, f,
|
|
1546
|
+
i.options[0].replace(Ei, function(u, l, h, c, f, d) {
|
|
1547
1547
|
if (l)
|
|
1548
1548
|
t.minimumIntegerDigits = h.length;
|
|
1549
1549
|
else {
|
|
1550
1550
|
if (c && f)
|
|
1551
1551
|
throw new Error("We currently do not support maximum integer digits");
|
|
1552
|
-
if (
|
|
1552
|
+
if (d)
|
|
1553
1553
|
throw new Error("We currently do not support exact integer digits");
|
|
1554
1554
|
}
|
|
1555
1555
|
return "";
|
|
@@ -1563,8 +1563,8 @@ function Si(e) {
|
|
|
1563
1563
|
if (Gt.test(i.stem)) {
|
|
1564
1564
|
if (i.options.length > 1)
|
|
1565
1565
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1566
|
-
i.stem.replace(Gt, function(u, l, h, c, f,
|
|
1567
|
-
return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1566
|
+
i.stem.replace(Gt, function(u, l, h, c, f, d) {
|
|
1567
|
+
return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1568
1568
|
});
|
|
1569
1569
|
var o = i.options[0];
|
|
1570
1570
|
o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), $t(o)));
|
|
@@ -3034,7 +3034,7 @@ function Ti(e) {
|
|
|
3034
3034
|
var i = Me[n || ""] || Me[r || ""] || Me["".concat(r, "-001")] || Me["001"];
|
|
3035
3035
|
return i[0];
|
|
3036
3036
|
}
|
|
3037
|
-
var
|
|
3037
|
+
var Je, Oi = new RegExp("^".concat(Cr.source, "*")), Ai = new RegExp("".concat(Cr.source, "*$"));
|
|
3038
3038
|
function E(e, t) {
|
|
3039
3039
|
return { start: e, end: t };
|
|
3040
3040
|
}
|
|
@@ -3043,7 +3043,7 @@ var Mi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pi = !!String
|
|
|
3043
3043
|
}, ht = !0;
|
|
3044
3044
|
try {
|
|
3045
3045
|
var Ui = kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3046
|
-
ht = ((
|
|
3046
|
+
ht = ((Je = Ui.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
|
|
3047
3047
|
} catch {
|
|
3048
3048
|
ht = !1;
|
|
3049
3049
|
}
|
|
@@ -3169,7 +3169,7 @@ var Di = (
|
|
|
3169
3169
|
if (n)
|
|
3170
3170
|
break;
|
|
3171
3171
|
return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
|
|
3172
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3172
|
+
} else if (o === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
|
|
3173
3173
|
var a = this.parseTag(t, r);
|
|
3174
3174
|
if (a.err)
|
|
3175
3175
|
return a;
|
|
@@ -3202,7 +3202,7 @@ var Di = (
|
|
|
3202
3202
|
return o;
|
|
3203
3203
|
var a = o.val, s = this.clonePosition();
|
|
3204
3204
|
if (this.bumpIf("</")) {
|
|
3205
|
-
if (this.isEOF() || !
|
|
3205
|
+
if (this.isEOF() || !pt(this.char()))
|
|
3206
3206
|
return this.error(_.INVALID_TAG, E(s, this.clonePosition()));
|
|
3207
3207
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
3208
3208
|
return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3339,12 +3339,12 @@ var Di = (
|
|
|
3339
3339
|
var f = ki(c.val);
|
|
3340
3340
|
if (f.length === 0)
|
|
3341
3341
|
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3342
|
-
var
|
|
3343
|
-
l = { style: f, styleLocation:
|
|
3342
|
+
var d = E(h, this.clonePosition());
|
|
3343
|
+
l = { style: f, styleLocation: d };
|
|
3344
3344
|
}
|
|
3345
|
-
var
|
|
3346
|
-
if (
|
|
3347
|
-
return
|
|
3345
|
+
var g = this.tryParseArgumentClose(i);
|
|
3346
|
+
if (g.err)
|
|
3347
|
+
return g;
|
|
3348
3348
|
var v = E(i, this.clonePosition());
|
|
3349
3349
|
if (l && Wt(l?.style, "::", 0)) {
|
|
3350
3350
|
var w = Fi(l.style.slice(2));
|
|
@@ -3401,9 +3401,9 @@ var Di = (
|
|
|
3401
3401
|
var V = this.tryParsePluralOrSelectOptions(t, s, r, G);
|
|
3402
3402
|
if (V.err)
|
|
3403
3403
|
return V;
|
|
3404
|
-
var
|
|
3405
|
-
if (
|
|
3406
|
-
return
|
|
3404
|
+
var g = this.tryParseArgumentClose(i);
|
|
3405
|
+
if (g.err)
|
|
3406
|
+
return g;
|
|
3407
3407
|
var z = E(i, this.clonePosition());
|
|
3408
3408
|
return s === "select" ? {
|
|
3409
3409
|
val: {
|
|
@@ -3496,20 +3496,20 @@ var Di = (
|
|
|
3496
3496
|
if (u.has(l))
|
|
3497
3497
|
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3498
3498
|
l === "other" && (a = !0), this.bumpSpace();
|
|
3499
|
-
var
|
|
3499
|
+
var d = this.clonePosition();
|
|
3500
3500
|
if (!this.bumpIf("{"))
|
|
3501
3501
|
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
|
|
3502
|
-
var
|
|
3503
|
-
if (
|
|
3504
|
-
return
|
|
3505
|
-
var v = this.tryParseArgumentClose(
|
|
3502
|
+
var g = this.parseMessage(t + 1, r, n);
|
|
3503
|
+
if (g.err)
|
|
3504
|
+
return g;
|
|
3505
|
+
var v = this.tryParseArgumentClose(d);
|
|
3506
3506
|
if (v.err)
|
|
3507
3507
|
return v;
|
|
3508
3508
|
s.push([
|
|
3509
3509
|
l,
|
|
3510
3510
|
{
|
|
3511
|
-
value:
|
|
3512
|
-
location: E(
|
|
3511
|
+
value: g.val,
|
|
3512
|
+
location: E(d, this.clonePosition())
|
|
3513
3513
|
}
|
|
3514
3514
|
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
|
|
3515
3515
|
}
|
|
@@ -3591,11 +3591,11 @@ var Di = (
|
|
|
3591
3591
|
}, e;
|
|
3592
3592
|
}()
|
|
3593
3593
|
);
|
|
3594
|
-
function
|
|
3594
|
+
function pt(e) {
|
|
3595
3595
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3596
3596
|
}
|
|
3597
3597
|
function Gi(e) {
|
|
3598
|
-
return
|
|
3598
|
+
return pt(e) || e === 47;
|
|
3599
3599
|
}
|
|
3600
3600
|
function $i(e) {
|
|
3601
3601
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
@@ -3606,13 +3606,13 @@ function Dr(e) {
|
|
|
3606
3606
|
function ji(e) {
|
|
3607
3607
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3608
3608
|
}
|
|
3609
|
-
function
|
|
3609
|
+
function dt(e) {
|
|
3610
3610
|
e.forEach(function(t) {
|
|
3611
3611
|
if (delete t.location, Pr(t) || Br(t))
|
|
3612
3612
|
for (var r in t.options)
|
|
3613
|
-
delete t.options[r].location,
|
|
3613
|
+
delete t.options[r].location, dt(t.options[r].value);
|
|
3614
3614
|
else
|
|
3615
|
-
Or(t) && Ir(t.style) || (Ar(t) || Mr(t)) && lt(t.style) ? delete t.style.location : Lr(t) &&
|
|
3615
|
+
Or(t) && Ir(t.style) || (Ar(t) || Mr(t)) && lt(t.style) ? delete t.style.location : Lr(t) && dt(t.children);
|
|
3616
3616
|
});
|
|
3617
3617
|
}
|
|
3618
3618
|
function Wi(e, t) {
|
|
@@ -3622,7 +3622,7 @@ function Wi(e, t) {
|
|
|
3622
3622
|
var n = SyntaxError(_[r.err.kind]);
|
|
3623
3623
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3624
3624
|
}
|
|
3625
|
-
return t?.captureLocation ||
|
|
3625
|
+
return t?.captureLocation || dt(r.val), r.val;
|
|
3626
3626
|
}
|
|
3627
3627
|
var he;
|
|
3628
3628
|
(function(e) {
|
|
@@ -3697,7 +3697,7 @@ function Le(e, t, r, n, i, o, a) {
|
|
|
3697
3697
|
});
|
|
3698
3698
|
continue;
|
|
3699
3699
|
}
|
|
3700
|
-
if (
|
|
3700
|
+
if (gi(h)) {
|
|
3701
3701
|
typeof o == "number" && s.push({
|
|
3702
3702
|
type: D.literal,
|
|
3703
3703
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3708,7 +3708,7 @@ function Le(e, t, r, n, i, o, a) {
|
|
|
3708
3708
|
if (!(i && c in i))
|
|
3709
3709
|
throw new Xi(c, a);
|
|
3710
3710
|
var f = i[c];
|
|
3711
|
-
if (
|
|
3711
|
+
if (mi(h)) {
|
|
3712
3712
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3713
3713
|
type: typeof f == "string" ? D.literal : D.object,
|
|
3714
3714
|
value: f
|
|
@@ -3716,34 +3716,34 @@ function Le(e, t, r, n, i, o, a) {
|
|
|
3716
3716
|
continue;
|
|
3717
3717
|
}
|
|
3718
3718
|
if (Ar(h)) {
|
|
3719
|
-
var
|
|
3719
|
+
var d = typeof h.style == "string" ? n.date[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
|
|
3720
3720
|
s.push({
|
|
3721
3721
|
type: D.literal,
|
|
3722
|
-
value: r.getDateTimeFormat(t,
|
|
3722
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3723
3723
|
});
|
|
3724
3724
|
continue;
|
|
3725
3725
|
}
|
|
3726
3726
|
if (Mr(h)) {
|
|
3727
|
-
var
|
|
3727
|
+
var d = typeof h.style == "string" ? n.time[h.style] : lt(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3728
3728
|
s.push({
|
|
3729
3729
|
type: D.literal,
|
|
3730
|
-
value: r.getDateTimeFormat(t,
|
|
3730
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3731
3731
|
});
|
|
3732
3732
|
continue;
|
|
3733
3733
|
}
|
|
3734
3734
|
if (Or(h)) {
|
|
3735
|
-
var
|
|
3736
|
-
|
|
3735
|
+
var d = typeof h.style == "string" ? n.number[h.style] : Ir(h.style) ? h.style.parsedOptions : void 0;
|
|
3736
|
+
d && d.scale && (f = f * (d.scale || 1)), s.push({
|
|
3737
3737
|
type: D.literal,
|
|
3738
|
-
value: r.getNumberFormat(t,
|
|
3738
|
+
value: r.getNumberFormat(t, d).format(f)
|
|
3739
3739
|
});
|
|
3740
3740
|
continue;
|
|
3741
3741
|
}
|
|
3742
3742
|
if (Lr(h)) {
|
|
3743
|
-
var
|
|
3743
|
+
var g = h.children, v = h.value, w = i[v];
|
|
3744
3744
|
if (!Zi(w))
|
|
3745
3745
|
throw new Vi(v, "function", a);
|
|
3746
|
-
var H = Le(
|
|
3746
|
+
var H = Le(g, t, r, n, i, o), L = w(H.map(function(C) {
|
|
3747
3747
|
return C.value;
|
|
3748
3748
|
}));
|
|
3749
3749
|
Array.isArray(L) || (L = [L]), s.push.apply(s, L.map(function(C) {
|
|
@@ -3783,7 +3783,7 @@ function Qi(e, t) {
|
|
|
3783
3783
|
return r[n] = X(X({}, e[n]), t[n] || {}), r;
|
|
3784
3784
|
}, {})) : e;
|
|
3785
3785
|
}
|
|
3786
|
-
function
|
|
3786
|
+
function Yi(e, t) {
|
|
3787
3787
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3788
3788
|
return r[n] = Qi(e[n], t[n]), r;
|
|
3789
3789
|
}, X({}, e)) : e;
|
|
@@ -3802,39 +3802,39 @@ function Ke(e) {
|
|
|
3802
3802
|
}
|
|
3803
3803
|
};
|
|
3804
3804
|
}
|
|
3805
|
-
function
|
|
3805
|
+
function qi(e) {
|
|
3806
3806
|
return e === void 0 && (e = {
|
|
3807
3807
|
number: {},
|
|
3808
3808
|
dateTime: {},
|
|
3809
3809
|
pluralRules: {}
|
|
3810
3810
|
}), {
|
|
3811
|
-
getNumberFormat:
|
|
3811
|
+
getNumberFormat: Ye(function() {
|
|
3812
3812
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3813
3813
|
r[n] = arguments[n];
|
|
3814
3814
|
return new ((t = Intl.NumberFormat).bind.apply(t, Qe([void 0], r, !1)))();
|
|
3815
3815
|
}, {
|
|
3816
3816
|
cache: Ke(e.number),
|
|
3817
|
-
strategy:
|
|
3817
|
+
strategy: qe.variadic
|
|
3818
3818
|
}),
|
|
3819
|
-
getDateTimeFormat:
|
|
3819
|
+
getDateTimeFormat: Ye(function() {
|
|
3820
3820
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3821
3821
|
r[n] = arguments[n];
|
|
3822
3822
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Qe([void 0], r, !1)))();
|
|
3823
3823
|
}, {
|
|
3824
3824
|
cache: Ke(e.dateTime),
|
|
3825
|
-
strategy:
|
|
3825
|
+
strategy: qe.variadic
|
|
3826
3826
|
}),
|
|
3827
|
-
getPluralRules:
|
|
3827
|
+
getPluralRules: Ye(function() {
|
|
3828
3828
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3829
3829
|
r[n] = arguments[n];
|
|
3830
3830
|
return new ((t = Intl.PluralRules).bind.apply(t, Qe([void 0], r, !1)))();
|
|
3831
3831
|
}, {
|
|
3832
3832
|
cache: Ke(e.pluralRules),
|
|
3833
|
-
strategy:
|
|
3833
|
+
strategy: qe.variadic
|
|
3834
3834
|
})
|
|
3835
3835
|
};
|
|
3836
3836
|
}
|
|
3837
|
-
var
|
|
3837
|
+
var Ji = (
|
|
3838
3838
|
/** @class */
|
|
3839
3839
|
function() {
|
|
3840
3840
|
function e(t, r, n, i) {
|
|
@@ -3872,7 +3872,7 @@ var Yi = (
|
|
|
3872
3872
|
this.ast = t;
|
|
3873
3873
|
if (!Array.isArray(this.ast))
|
|
3874
3874
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3875
|
-
this.formats =
|
|
3875
|
+
this.formats = Yi(e.formats, n), this.formatters = i && i.formatters || qi(this.formatterCache);
|
|
3876
3876
|
}
|
|
3877
3877
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3878
3878
|
get: function() {
|
|
@@ -3967,11 +3967,11 @@ function Ki(e, t) {
|
|
|
3967
3967
|
n = void 0;
|
|
3968
3968
|
return n;
|
|
3969
3969
|
}
|
|
3970
|
-
const
|
|
3970
|
+
const J = {}, eo = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), Gr = (e, t) => {
|
|
3971
3971
|
if (t == null)
|
|
3972
3972
|
return;
|
|
3973
|
-
if (t in
|
|
3974
|
-
return
|
|
3973
|
+
if (t in J && e in J[t])
|
|
3974
|
+
return J[t][e];
|
|
3975
3975
|
const r = je(t);
|
|
3976
3976
|
for (let n = 0; n < r.length; n++) {
|
|
3977
3977
|
const i = r[n], o = ro(i, e);
|
|
@@ -4004,9 +4004,9 @@ function no(e) {
|
|
|
4004
4004
|
}
|
|
4005
4005
|
}
|
|
4006
4006
|
function jr(e, ...t) {
|
|
4007
|
-
delete
|
|
4007
|
+
delete J[e], Se.update((r) => (r[e] = ai.all([r[e] || {}, ...t]), r));
|
|
4008
4008
|
}
|
|
4009
|
-
|
|
4009
|
+
de(
|
|
4010
4010
|
[Se],
|
|
4011
4011
|
([e]) => Object.keys(e)
|
|
4012
4012
|
);
|
|
@@ -4024,7 +4024,7 @@ function oo(e) {
|
|
|
4024
4024
|
return [t, r ? [...r] : []];
|
|
4025
4025
|
}).filter(([, t]) => t.length > 0);
|
|
4026
4026
|
}
|
|
4027
|
-
function
|
|
4027
|
+
function mt(e) {
|
|
4028
4028
|
return e == null ? !1 : je(e).some(
|
|
4029
4029
|
(t) => {
|
|
4030
4030
|
var r;
|
|
@@ -4039,7 +4039,7 @@ function ao(e, t) {
|
|
|
4039
4039
|
}
|
|
4040
4040
|
const be = {};
|
|
4041
4041
|
function Vr(e) {
|
|
4042
|
-
if (!
|
|
4042
|
+
if (!mt(e))
|
|
4043
4043
|
return e in be ? be[e] : Promise.resolve();
|
|
4044
4044
|
const t = oo(e);
|
|
4045
4045
|
return be[e] = Promise.all(
|
|
@@ -4047,7 +4047,7 @@ function Vr(e) {
|
|
|
4047
4047
|
([r, n]) => ao(r, n)
|
|
4048
4048
|
)
|
|
4049
4049
|
).then(() => {
|
|
4050
|
-
if (
|
|
4050
|
+
if (mt(e))
|
|
4051
4051
|
return Vr(e);
|
|
4052
4052
|
delete be[e];
|
|
4053
4053
|
}), be[e];
|
|
@@ -4093,31 +4093,31 @@ function ce() {
|
|
|
4093
4093
|
return lo;
|
|
4094
4094
|
}
|
|
4095
4095
|
const et = De(!1);
|
|
4096
|
-
var ho = Object.defineProperty, co = Object.defineProperties, fo = Object.getOwnPropertyDescriptors, Zt = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty,
|
|
4096
|
+
var ho = Object.defineProperty, co = Object.defineProperties, fo = Object.getOwnPropertyDescriptors, Zt = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty, mo = Object.prototype.propertyIsEnumerable, Qt = (e, t, r) => t in e ? ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, go = (e, t) => {
|
|
4097
4097
|
for (var r in t || (t = {}))
|
|
4098
4098
|
po.call(t, r) && Qt(e, r, t[r]);
|
|
4099
4099
|
if (Zt)
|
|
4100
4100
|
for (var r of Zt(t))
|
|
4101
|
-
|
|
4101
|
+
mo.call(t, r) && Qt(e, r, t[r]);
|
|
4102
4102
|
return e;
|
|
4103
4103
|
}, bo = (e, t) => co(e, fo(t));
|
|
4104
|
-
let
|
|
4104
|
+
let gt;
|
|
4105
4105
|
const Ue = De(null);
|
|
4106
|
-
function
|
|
4106
|
+
function Yt(e) {
|
|
4107
4107
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4108
4108
|
}
|
|
4109
4109
|
function je(e, t = ce().fallbackLocale) {
|
|
4110
|
-
const r =
|
|
4111
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4110
|
+
const r = Yt(e);
|
|
4111
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Yt(t)])] : r;
|
|
4112
4112
|
}
|
|
4113
4113
|
function re() {
|
|
4114
|
-
return
|
|
4114
|
+
return gt ?? void 0;
|
|
4115
4115
|
}
|
|
4116
4116
|
Ue.subscribe((e) => {
|
|
4117
|
-
|
|
4117
|
+
gt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4118
4118
|
});
|
|
4119
4119
|
const vo = (e) => {
|
|
4120
|
-
if (e && no(e) &&
|
|
4120
|
+
if (e && no(e) && mt(e)) {
|
|
4121
4121
|
const { loadingDelay: t } = ce();
|
|
4122
4122
|
let r;
|
|
4123
4123
|
return typeof window < "u" && re() != null && t ? r = window.setTimeout(
|
|
@@ -4130,7 +4130,7 @@ const vo = (e) => {
|
|
|
4130
4130
|
});
|
|
4131
4131
|
}
|
|
4132
4132
|
return Ue.set(e);
|
|
4133
|
-
},
|
|
4133
|
+
}, me = bo(go({}, Ue), {
|
|
4134
4134
|
set: vo
|
|
4135
4135
|
}), We = (e) => {
|
|
4136
4136
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -4139,14 +4139,14 @@ const vo = (e) => {
|
|
|
4139
4139
|
return i in t ? t[i] : t[i] = e(n);
|
|
4140
4140
|
};
|
|
4141
4141
|
};
|
|
4142
|
-
var yo = Object.defineProperty, Fe = Object.getOwnPropertySymbols, Xr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable,
|
|
4142
|
+
var yo = Object.defineProperty, Fe = Object.getOwnPropertySymbols, Xr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? yo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
|
|
4143
4143
|
for (var r in t || (t = {}))
|
|
4144
|
-
Xr.call(t, r) &&
|
|
4144
|
+
Xr.call(t, r) && qt(e, r, t[r]);
|
|
4145
4145
|
if (Fe)
|
|
4146
4146
|
for (var r of Fe(t))
|
|
4147
|
-
zr.call(t, r) &&
|
|
4147
|
+
zr.call(t, r) && qt(e, r, t[r]);
|
|
4148
4148
|
return e;
|
|
4149
|
-
},
|
|
4149
|
+
}, ge = (e, t) => {
|
|
4150
4150
|
var r = {};
|
|
4151
4151
|
for (var n in e)
|
|
4152
4152
|
Xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -4162,21 +4162,21 @@ const xe = (e, t) => {
|
|
|
4162
4162
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4163
4163
|
}, _o = We(
|
|
4164
4164
|
(e) => {
|
|
4165
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4165
|
+
var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
|
|
4166
4166
|
if (r == null)
|
|
4167
4167
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4168
4168
|
return n && (i = xe("number", n)), new Intl.NumberFormat(r, i);
|
|
4169
4169
|
}
|
|
4170
4170
|
), xo = We(
|
|
4171
4171
|
(e) => {
|
|
4172
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4172
|
+
var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
|
|
4173
4173
|
if (r == null)
|
|
4174
4174
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4175
4175
|
return n ? i = xe("date", n) : Object.keys(i).length === 0 && (i = xe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4176
4176
|
}
|
|
4177
4177
|
), Eo = We(
|
|
4178
4178
|
(e) => {
|
|
4179
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4179
|
+
var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
|
|
4180
4180
|
if (r == null)
|
|
4181
4181
|
throw new Error(
|
|
4182
4182
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
@@ -4186,27 +4186,27 @@ const xe = (e, t) => {
|
|
|
4186
4186
|
), wo = (e = {}) => {
|
|
4187
4187
|
var t = e, {
|
|
4188
4188
|
locale: r = re()
|
|
4189
|
-
} = t, n =
|
|
4189
|
+
} = t, n = ge(t, [
|
|
4190
4190
|
"locale"
|
|
4191
4191
|
]);
|
|
4192
4192
|
return _o(yt({ locale: r }, n));
|
|
4193
4193
|
}, So = (e = {}) => {
|
|
4194
4194
|
var t = e, {
|
|
4195
4195
|
locale: r = re()
|
|
4196
|
-
} = t, n =
|
|
4196
|
+
} = t, n = ge(t, [
|
|
4197
4197
|
"locale"
|
|
4198
4198
|
]);
|
|
4199
4199
|
return xo(yt({ locale: r }, n));
|
|
4200
4200
|
}, Ho = (e = {}) => {
|
|
4201
4201
|
var t = e, {
|
|
4202
4202
|
locale: r = re()
|
|
4203
|
-
} = t, n =
|
|
4203
|
+
} = t, n = ge(t, [
|
|
4204
4204
|
"locale"
|
|
4205
4205
|
]);
|
|
4206
4206
|
return Eo(yt({ locale: r }, n));
|
|
4207
4207
|
}, To = We(
|
|
4208
4208
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4209
|
-
(e, t = re()) => new
|
|
4209
|
+
(e, t = re()) => new Ji(e, t, ce().formats, {
|
|
4210
4210
|
ignoreTag: ce().ignoreTag
|
|
4211
4211
|
})
|
|
4212
4212
|
), Oo = (e, t = {}) => {
|
|
@@ -4241,11 +4241,11 @@ const xe = (e, t) => {
|
|
|
4241
4241
|
);
|
|
4242
4242
|
}
|
|
4243
4243
|
return c;
|
|
4244
|
-
}, Ao = (e, t) => Ho(t).format(e), Mo = (e, t) => So(t).format(e), Po = (e, t) => wo(t).format(e), Bo = (e, t = re()) => Gr(e, t), Lo =
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4244
|
+
}, Ao = (e, t) => Ho(t).format(e), Mo = (e, t) => So(t).format(e), Po = (e, t) => wo(t).format(e), Bo = (e, t = re()) => Gr(e, t), Lo = de([me, Se], () => Oo);
|
|
4245
|
+
de([me], () => Ao);
|
|
4246
|
+
de([me], () => Mo);
|
|
4247
|
+
de([me], () => Po);
|
|
4248
|
+
de([me, Se], () => Bo);
|
|
4249
4249
|
window.emWidgets = { topic: jn };
|
|
4250
4250
|
const Io = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Co = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4251
4251
|
function No(e, t) {
|
|
@@ -4271,11 +4271,11 @@ function Uo(e, t, r) {
|
|
|
4271
4271
|
});
|
|
4272
4272
|
}
|
|
4273
4273
|
}
|
|
4274
|
-
function
|
|
4274
|
+
function Jt(e, t) {
|
|
4275
4275
|
jr(e, t);
|
|
4276
4276
|
}
|
|
4277
4277
|
function Fo(e) {
|
|
4278
|
-
|
|
4278
|
+
me.set(e);
|
|
4279
4279
|
}
|
|
4280
4280
|
const Kt = {
|
|
4281
4281
|
en: {
|
|
@@ -4313,7 +4313,7 @@ const Kt = {
|
|
|
4313
4313
|
}
|
|
4314
4314
|
};
|
|
4315
4315
|
function ko(e) {
|
|
4316
|
-
ln(e, "svelte-
|
|
4316
|
+
ln(e, "svelte-gihysk", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.Skeleton{animation:skeleton-loading 0.6s linear infinite alternate}@keyframes skeleton-loading{0%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%)}12%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.225) 0%, rgba(0, 61, 93, 0.225) 100%)}25%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.25) 0%, rgba(0, 61, 93, 0.25) 100%)}33%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.275) 0%, rgba(0, 61, 93, 0.275) 100%)}50%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.3) 0%, rgba(0, 61, 93, 0.3) 100%)}63%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.325) 0%, rgba(0, 61, 93, 0.325) 100%)}75%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.35) 0%, rgba(0, 61, 93, 0.35) 100%)}88%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.375) 0%, rgba(0, 61, 93, 0.375) 100%)}100%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.4) 0%, rgba(0, 61, 93, 0.4) 100%)}}@keyframes increaseTransparency{0%{opacity:0}25%{opacity:0.25}75%{opacity:0.75}100%{opacity:1}}@keyframes decreaseTransparency{100%{opacity:1}75%{opacity:0.75}25%{opacity:0.25}0%{opacity:0}}@keyframes growWidthPercent{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes growWidth{from{transform:translateY(0)}to{transform:translateY(0)}}@keyframes decreaseWidth{from{transform:translateX(1)}to{transform:translateX(0)}}.NavIcon{width:30px;height:28px;position:relative;margin:3px auto;transform:rotate(0deg);transition:transform 0.2s ease-in-out;cursor:pointer}.NavIcon span{display:block;position:absolute;height:3px;width:100%;background:#ffffff;border-radius:9px;opacity:1;left:0;transform:rotate(0deg);transition:transform 0.2s ease-in-out, opacity 0.2s ease-in-out}.NavIcon span:nth-child(1){top:0px;width:80%}.NavIcon span:nth-child(2){top:9px}.NavIcon span:nth-child(3){top:18px}.NavIcon.Open span:nth-child(1){top:9px;width:100%;transform:rotate(135deg);transition:transform 0.3s ease-in-out}.NavIcon.Open span:nth-child(2){opacity:0;left:-60px}.NavIcon.Open span:nth-child(3){top:9px;transform:rotate(-135deg);transition:transform 0.3s ease-in-out}.SelectedOption{display:flex;align-items:center;justify-content:center}.SelectedOption .TriangleActive,.SelectedOption .TriangleInactive{display:block;margin:0 0 0 10px;transform:rotateX(0deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive svg,.SelectedOption .TriangleInactive svg{margin:-2px 0px;fill:white}.SelectedOption .TriangleActive{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive:hover{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.FlagIcon>img{width:20px;height:14px;margin-right:8px;border-radius:2px}.LanguageSelector{padding:5px 0;margin-bottom:0;display:flex;justify-content:space-between;background:linear-gradient(90deg, rgba(35, 178, 78, 0.9) 0%, rgba(0, 61, 93, 0.9) 100%);transition:transform 0.2s linear}.LanguageSelector span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));opacity:0.8;padding:5px 0;display:flex;align-items:center;gap:15px;font-size:14px}.LanguageSelector:active{transition:all 0.2s ease}.LanguageSelector:active span{transition:all 0.1s linear;opacity:1}.LanguageSelector.Open{box-shadow:inset 0 -3.25em 0 0 var(--emw--color-primary)}.LanguageSelector .LanguageSelectorTitle{margin:0 20px}.LanguageSelector .LanguageDropdown{margin-right:16px;display:inline-block}.LanguageSelector .OptionList{position:absolute;background:linear-gradient(90deg, rgba(35, 178, 78, 0.1) 0%, rgba(0, 61, 93, 0.1) 100%);min-width:180px;z-index:1;overflow-y:auto;display:flex;flex-direction:column-reverse;bottom:44px;left:0;gap:5px;padding-bottom:5px;width:100%;height:0px;transition:transform 0.2s linear}.LanguageSelector .OptionList.Open{transition:transform 0.2s linear;height:auto;background-color:var(--emw--color-background-secondary, #000000);overflow:auto}.LanguageSelector .OptionList .LanguageOption{display:flex;border:2px solid #22B04E;border-radius:13px;align-items:center;opacity:0.2;height:0px;background:linear-gradient(90deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%);margin:0 5px;transition:transform 0.3s linear}.LanguageSelector .OptionList .LanguageOption.Open{height:50px;opacity:1;padding:10px 5px}.LanguageSelector .OptionList .LanguageOption:active,.LanguageSelector .OptionList .LanguageOption:hover{background:linear-gradient(90deg, rgb(35, 178, 78) 0%, rgb(0, 61, 93) 100%);transform:scale(1.03);transition:transform 0.2s ease-in-out}.LanguageSelector .OptionList .LanguageOption:active span,.LanguageSelector .OptionList .LanguageOption:hover span{color:black}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:flex;align-items:flex-start;position:fixed;width:100%;height:100%;z-index:100;z-index:999999;top:0;left:0;background-color:rgba(0, 0, 0, 0.85);animation:increaseTransparency 0.2s ease-in forwards}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, rgb(0, 0, 0)));display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:0;border-top:0;border-radius:0;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{animation:growWidth 0.2s forwards;transform-origin:left;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer.Closing{animation:decreaseWidth 0.2s backwards;transform-origin:right;animation-fill-mode:backwards;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer .Separator{width:100%;height:5px;background:rgb(0, 0, 0);background:linear-gradient(90deg, rgb(13, 78, 2) 0%, rgb(35, 172, 77) 50%, rgb(13, 78, 2) 100%);z-index:3}.HamburgerModalWindow .ModalCloseBtn{position:relative;top:25px;width:30px;height:30px;opacity:1;margin-left:7px;margin-right:9px;cursor:pointer}.HamburgerModalWindow .ModalCloseBtn .NavIcon .Open{width:90vw}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));transform-origin:left;transform:scaleX(0);animation:growWidthPercent 0.2s both;animation-delay:0.1s}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:transform 150ms ease-in-out, opacity 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #000000));white-space:nowrap;overflow-x:scroll;list-style:none;width:90vw;text-transform:uppercase;font-size:11px;transition:all 0.2s}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:125px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li:active{transform:scale(1.1)}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04F));color:black}.HamburgerModalWindow .HamburgerPrimaryMenu .Loading{width:150px;height:86px;margin:0 2px}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;height:85%;overflow:auto;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.Overlay{opacity:0.5;transition:opacity 0.2s ease-in-out}.HamburgerModalWindow .HamburgerSecondaryMenu li{padding:15px;display:flex;align-items:center;gap:15px;transition:transform 0.2s linear}.HamburgerModalWindow .HamburgerSecondaryMenu li:active{background-color:var(--emw--color-primary);transform:scale(1.1)}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #22B04F)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
|
|
4317
4317
|
}
|
|
4318
4318
|
function er(e, t, r) {
|
|
4319
4319
|
const n = e.slice();
|
|
@@ -4336,14 +4336,14 @@ function nr(e, t, r) {
|
|
|
4336
4336
|
return n[63] = t[r], n;
|
|
4337
4337
|
}
|
|
4338
4338
|
function ir(e) {
|
|
4339
|
-
let t, r, n, i, o, a, s, u, l, h, c, f,
|
|
4339
|
+
let t, r, n, i, o, a, s, u, l, h, c, f, d, g, v, w, H, L, P, G, C, V, z;
|
|
4340
4340
|
function ne(x, R) {
|
|
4341
4341
|
return (
|
|
4342
4342
|
/*HamburgerMenuItems*/
|
|
4343
4343
|
x[4].length > 0 ? $o : Go
|
|
4344
4344
|
);
|
|
4345
4345
|
}
|
|
4346
|
-
let
|
|
4346
|
+
let q = ne(e), N = q(e), j = Y(
|
|
4347
4347
|
/*activeMenuItemChildren*/
|
|
4348
4348
|
e[6]
|
|
4349
4349
|
), O = [];
|
|
@@ -4358,19 +4358,19 @@ function ir(e) {
|
|
|
4358
4358
|
t = y("div"), r = y("div"), n = y("ul"), N.c(), i = U(), o = y("div"), a = U(), s = y("ul");
|
|
4359
4359
|
for (let x = 0; x < O.length; x += 1)
|
|
4360
4360
|
O[x].c();
|
|
4361
|
-
l = U(), B && B.c(), c = U(), f = y("span"),
|
|
4362
|
-
(e[10] ? "Overlay" : "")),
|
|
4361
|
+
l = U(), B && B.c(), c = U(), f = y("span"), d = y("div"), g = y("span"), v = U(), w = y("span"), H = U(), L = y("span"), m(n, "class", "HamburgerPrimaryMenu"), m(o, "class", "Separator"), m(s, "class", u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
|
|
4362
|
+
(e[10] ? "Overlay" : "")), m(r, "class", h = "HamburgerModalContainer " + /*modalIsOpen*/
|
|
4363
4363
|
(e[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
|
|
4364
|
-
(e[12] ? "Closing" : "")),
|
|
4365
|
-
e[13] ? "" : "Open")),
|
|
4366
|
-
e[7] ? "ModalCloseBtn" : ""),
|
|
4364
|
+
(e[12] ? "Closing" : "")), m(d, "class", P = "NavIcon " + (/*navIconClosing*/
|
|
4365
|
+
e[13] ? "" : "Open")), m(f, "class", G = /*modalIsOpen*/
|
|
4366
|
+
e[7] ? "ModalCloseBtn" : ""), m(f, "role", "button"), m(t, "class", C = "HamburgerModalWindow " + /*isClosing*/
|
|
4367
4367
|
(e[12] ? " Closing" : ""));
|
|
4368
4368
|
},
|
|
4369
4369
|
m(x, R) {
|
|
4370
4370
|
F(x, t, R), b(t, r), b(r, n), N.m(n, null), b(r, i), b(r, o), b(r, a), b(r, s);
|
|
4371
4371
|
for (let S = 0; S < O.length; S += 1)
|
|
4372
4372
|
O[S] && O[S].m(s, null);
|
|
4373
|
-
b(r, l), B && B.m(r, null), b(t, c), b(t, f), b(f,
|
|
4373
|
+
b(r, l), B && B.m(r, null), b(t, c), b(t, f), b(f, d), b(d, g), b(d, v), b(d, w), b(d, H), b(d, L), e[40](t), V || (z = te(
|
|
4374
4374
|
f,
|
|
4375
4375
|
"click",
|
|
4376
4376
|
/*close*/
|
|
@@ -4378,9 +4378,9 @@ function ir(e) {
|
|
|
4378
4378
|
), V = !0);
|
|
4379
4379
|
},
|
|
4380
4380
|
p(x, R) {
|
|
4381
|
-
if (
|
|
4381
|
+
if (q === (q = ne(x)) && N ? N.p(x, R) : (N.d(1), N = q(x), N && (N.c(), N.m(n, null))), R[0] & /*handleClick, activeMenuItemChildren*/
|
|
4382
4382
|
262208) {
|
|
4383
|
-
j =
|
|
4383
|
+
j = Y(
|
|
4384
4384
|
/*activeMenuItemChildren*/
|
|
4385
4385
|
x[6]
|
|
4386
4386
|
);
|
|
@@ -4395,17 +4395,17 @@ function ir(e) {
|
|
|
4395
4395
|
}
|
|
4396
4396
|
R[0] & /*isOptionsListVisible*/
|
|
4397
4397
|
1024 && u !== (u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
|
|
4398
|
-
(x[10] ? "Overlay" : "")) &&
|
|
4398
|
+
(x[10] ? "Overlay" : "")) && m(s, "class", u), /*languagesArray*/
|
|
4399
4399
|
x[9].length > 1 ? B ? B.p(x, R) : (B = lr(x), B.c(), B.m(r, null)) : B && (B.d(1), B = null), R[0] & /*modalIsOpen, isClosing*/
|
|
4400
4400
|
4224 && h !== (h = "HamburgerModalContainer " + /*modalIsOpen*/
|
|
4401
4401
|
(x[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
|
|
4402
|
-
(x[12] ? "Closing" : "")) &&
|
|
4402
|
+
(x[12] ? "Closing" : "")) && m(r, "class", h), R[0] & /*navIconClosing*/
|
|
4403
4403
|
8192 && P !== (P = "NavIcon " + (/*navIconClosing*/
|
|
4404
|
-
x[13] ? "" : "Open")) &&
|
|
4404
|
+
x[13] ? "" : "Open")) && m(d, "class", P), R[0] & /*modalIsOpen*/
|
|
4405
4405
|
128 && G !== (G = /*modalIsOpen*/
|
|
4406
|
-
x[7] ? "ModalCloseBtn" : "") &&
|
|
4406
|
+
x[7] ? "ModalCloseBtn" : "") && m(f, "class", G), R[0] & /*isClosing*/
|
|
4407
4407
|
4096 && C !== (C = "HamburgerModalWindow " + /*isClosing*/
|
|
4408
|
-
(x[12] ? " Closing" : "")) &&
|
|
4408
|
+
(x[12] ? " Closing" : "")) && m(t, "class", C);
|
|
4409
4409
|
},
|
|
4410
4410
|
d(x) {
|
|
4411
4411
|
x && I(t), N.d(), Ee(O, x), B && B.d(), e[40](null), V = !1, z();
|
|
@@ -4413,14 +4413,14 @@ function ir(e) {
|
|
|
4413
4413
|
};
|
|
4414
4414
|
}
|
|
4415
4415
|
function Go(e) {
|
|
4416
|
-
let t, r =
|
|
4416
|
+
let t, r = Y(new Array(5)), n = [];
|
|
4417
4417
|
for (let i = 0; i < r.length; i += 1)
|
|
4418
4418
|
n[i] = jo(Do(e, r, i));
|
|
4419
4419
|
return {
|
|
4420
4420
|
c() {
|
|
4421
4421
|
for (let i = 0; i < n.length; i += 1)
|
|
4422
4422
|
n[i].c();
|
|
4423
|
-
t =
|
|
4423
|
+
t = gr();
|
|
4424
4424
|
},
|
|
4425
4425
|
m(i, o) {
|
|
4426
4426
|
for (let a = 0; a < n.length; a += 1)
|
|
@@ -4434,7 +4434,7 @@ function Go(e) {
|
|
|
4434
4434
|
};
|
|
4435
4435
|
}
|
|
4436
4436
|
function $o(e) {
|
|
4437
|
-
let t, r =
|
|
4437
|
+
let t, r = Y(
|
|
4438
4438
|
/*HamburgerMenuItems*/
|
|
4439
4439
|
e[4]
|
|
4440
4440
|
), n = [];
|
|
@@ -4444,7 +4444,7 @@ function $o(e) {
|
|
|
4444
4444
|
c() {
|
|
4445
4445
|
for (let i = 0; i < n.length; i += 1)
|
|
4446
4446
|
n[i].c();
|
|
4447
|
-
t =
|
|
4447
|
+
t = gr();
|
|
4448
4448
|
},
|
|
4449
4449
|
m(i, o) {
|
|
4450
4450
|
for (let a = 0; a < n.length; a += 1)
|
|
@@ -4454,7 +4454,7 @@ function $o(e) {
|
|
|
4454
4454
|
p(i, o) {
|
|
4455
4455
|
if (o[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
|
|
4456
4456
|
131120) {
|
|
4457
|
-
r =
|
|
4457
|
+
r = Y(
|
|
4458
4458
|
/*HamburgerMenuItems*/
|
|
4459
4459
|
i[4]
|
|
4460
4460
|
);
|
|
@@ -4477,7 +4477,7 @@ function jo(e) {
|
|
|
4477
4477
|
let t;
|
|
4478
4478
|
return {
|
|
4479
4479
|
c() {
|
|
4480
|
-
t = y("div"), t.innerHTML = "",
|
|
4480
|
+
t = y("div"), t.innerHTML = "", m(t, "class", "Loading Skeleton");
|
|
4481
4481
|
},
|
|
4482
4482
|
m(r, n) {
|
|
4483
4483
|
F(r, t, n);
|
|
@@ -4493,7 +4493,7 @@ function or(e) {
|
|
|
4493
4493
|
return {
|
|
4494
4494
|
c() {
|
|
4495
4495
|
t = y("img"), K(t.src, r = /*mainItem*/
|
|
4496
|
-
e[63].img) ||
|
|
4496
|
+
e[63].img) || m(t, "src", r), m(t, "alt", "menu icon");
|
|
4497
4497
|
},
|
|
4498
4498
|
m(n, i) {
|
|
4499
4499
|
F(n, t, i);
|
|
@@ -4501,7 +4501,7 @@ function or(e) {
|
|
|
4501
4501
|
p(n, i) {
|
|
4502
4502
|
i[0] & /*HamburgerMenuItems*/
|
|
4503
4503
|
16 && !K(t.src, r = /*mainItem*/
|
|
4504
|
-
n[63].img) &&
|
|
4504
|
+
n[63].img) && m(t, "src", r);
|
|
4505
4505
|
},
|
|
4506
4506
|
d(n) {
|
|
4507
4507
|
n && I(t);
|
|
@@ -4527,24 +4527,24 @@ function ar(e) {
|
|
|
4527
4527
|
}
|
|
4528
4528
|
return {
|
|
4529
4529
|
c() {
|
|
4530
|
-
t = y("li"), r = y("div"), c && c.c(), n = U(), i = y("p"), a = ee(o), s = U(),
|
|
4530
|
+
t = y("li"), r = y("div"), c && c.c(), n = U(), i = y("p"), a = ee(o), s = U(), m(r, "class", "HamburgerItemContainer"), m(t, "class", u = /*activeMenuItemId*/
|
|
4531
4531
|
e[5] === /*mainItem*/
|
|
4532
4532
|
e[63].id ? "ActiveItem" : "");
|
|
4533
4533
|
},
|
|
4534
|
-
m(
|
|
4535
|
-
F(
|
|
4534
|
+
m(d, g) {
|
|
4535
|
+
F(d, t, g), b(t, r), c && c.m(r, null), b(r, n), b(r, i), b(i, a), b(t, s), l || (h = te(t, "click", f), l = !0);
|
|
4536
4536
|
},
|
|
4537
|
-
p(
|
|
4538
|
-
e =
|
|
4539
|
-
e[63]?.img ? c ? c.p(e,
|
|
4537
|
+
p(d, g) {
|
|
4538
|
+
e = d, /*mainItem*/
|
|
4539
|
+
e[63]?.img ? c ? c.p(e, g) : (c = or(e), c.c(), c.m(r, n)) : c && (c.d(1), c = null), g[0] & /*HamburgerMenuItems*/
|
|
4540
4540
|
16 && o !== (o = /*mainItem*/
|
|
4541
|
-
e[63].label + "") &&
|
|
4541
|
+
e[63].label + "") && pe(a, o), g[0] & /*activeMenuItemId, HamburgerMenuItems*/
|
|
4542
4542
|
48 && u !== (u = /*activeMenuItemId*/
|
|
4543
4543
|
e[5] === /*mainItem*/
|
|
4544
|
-
e[63].id ? "ActiveItem" : "") &&
|
|
4544
|
+
e[63].id ? "ActiveItem" : "") && m(t, "class", u);
|
|
4545
4545
|
},
|
|
4546
|
-
d(
|
|
4547
|
-
|
|
4546
|
+
d(d) {
|
|
4547
|
+
d && I(t), c && c.d(), l = !1, h();
|
|
4548
4548
|
}
|
|
4549
4549
|
};
|
|
4550
4550
|
}
|
|
@@ -4553,7 +4553,7 @@ function sr(e) {
|
|
|
4553
4553
|
return {
|
|
4554
4554
|
c() {
|
|
4555
4555
|
t = y("img"), K(t.src, r = /*secondaryItem*/
|
|
4556
|
-
e[60].img) ||
|
|
4556
|
+
e[60].img) || m(t, "src", r), m(t, "alt", "menu icon");
|
|
4557
4557
|
},
|
|
4558
4558
|
m(n, i) {
|
|
4559
4559
|
F(n, t, i);
|
|
@@ -4561,7 +4561,7 @@ function sr(e) {
|
|
|
4561
4561
|
p(n, i) {
|
|
4562
4562
|
i[0] & /*activeMenuItemChildren*/
|
|
4563
4563
|
64 && !K(t.src, r = /*secondaryItem*/
|
|
4564
|
-
n[60].img) &&
|
|
4564
|
+
n[60].img) && m(t, "src", r);
|
|
4565
4565
|
},
|
|
4566
4566
|
d(n) {
|
|
4567
4567
|
n && I(t);
|
|
@@ -4597,7 +4597,7 @@ function ur(e) {
|
|
|
4597
4597
|
e = c, /*secondaryItem*/
|
|
4598
4598
|
e[60]?.img ? l ? l.p(e, f) : (l = sr(e), l.c(), l.m(t, r)) : l && (l.d(1), l = null), f[0] & /*activeMenuItemChildren*/
|
|
4599
4599
|
64 && i !== (i = /*secondaryItem*/
|
|
4600
|
-
e[60].label + "") &&
|
|
4600
|
+
e[60].label + "") && pe(o, i);
|
|
4601
4601
|
},
|
|
4602
4602
|
d(c) {
|
|
4603
4603
|
c && I(t), l && l.d(), s = !1, u();
|
|
@@ -4609,7 +4609,7 @@ function lr(e) {
|
|
|
4609
4609
|
/*$_*/
|
|
4610
4610
|
e[15]("language") + ""
|
|
4611
4611
|
), i, o, a, s, u;
|
|
4612
|
-
function l(f,
|
|
4612
|
+
function l(f, d) {
|
|
4613
4613
|
return (
|
|
4614
4614
|
/*countryflaghamburger*/
|
|
4615
4615
|
f[0] !== "true" ? Vo : Wo
|
|
@@ -4618,23 +4618,23 @@ function lr(e) {
|
|
|
4618
4618
|
let h = l(e), c = h(e);
|
|
4619
4619
|
return {
|
|
4620
4620
|
c() {
|
|
4621
|
-
t = y("div"), r = y("span"), i = ee(n), o = U(), c.c(),
|
|
4621
|
+
t = y("div"), r = y("span"), i = ee(n), o = U(), c.c(), m(r, "class", "LanguageSelectorTitle"), m(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
|
|
4622
4622
|
(e[10] ? "Open" : ""));
|
|
4623
4623
|
},
|
|
4624
|
-
m(f,
|
|
4625
|
-
F(f, t,
|
|
4624
|
+
m(f, d) {
|
|
4625
|
+
F(f, t, d), b(t, r), b(r, i), b(t, o), c.m(t, null), s || (u = te(
|
|
4626
4626
|
t,
|
|
4627
4627
|
"click",
|
|
4628
4628
|
/*toggleLanguageDropdown*/
|
|
4629
4629
|
e[21]
|
|
4630
4630
|
), s = !0);
|
|
4631
4631
|
},
|
|
4632
|
-
p(f,
|
|
4633
|
-
|
|
4632
|
+
p(f, d) {
|
|
4633
|
+
d[0] & /*$_*/
|
|
4634
4634
|
32768 && n !== (n = /*$_*/
|
|
4635
|
-
f[15]("language") + "") &&
|
|
4635
|
+
f[15]("language") + "") && pe(i, n), h === (h = l(f)) && c ? c.p(f, d) : (c.d(1), c = h(f), c && (c.c(), c.m(t, null))), d[0] & /*isOptionsListVisible*/
|
|
4636
4636
|
1024 && a !== (a = "LanguageSelector " + /*isOptionsListVisible*/
|
|
4637
|
-
(f[10] ? "Open" : "")) &&
|
|
4637
|
+
(f[10] ? "Open" : "")) && m(t, "class", a);
|
|
4638
4638
|
},
|
|
4639
4639
|
d(f) {
|
|
4640
4640
|
f && I(t), c.d(), s = !1, u();
|
|
@@ -4645,21 +4645,21 @@ function Wo(e) {
|
|
|
4645
4645
|
let t, r, n, i, o, a, s, u = (
|
|
4646
4646
|
/*selectedLanguage*/
|
|
4647
4647
|
e[14].slice(-2) + ""
|
|
4648
|
-
), l, h, c, f,
|
|
4648
|
+
), l, h, c, f, d, g, v, w = (
|
|
4649
4649
|
/*isOptionsListVisible*/
|
|
4650
4650
|
e[10] && hr(e)
|
|
4651
4651
|
);
|
|
4652
4652
|
return {
|
|
4653
4653
|
c() {
|
|
4654
|
-
t = y("div"), r = y("div"), n = y("span"), i = y("img"), a = U(), s = y("span"), l = ee(u), h = U(), c = y("span"), f = At("svg"),
|
|
4654
|
+
t = y("div"), r = y("div"), n = y("span"), i = y("img"), a = U(), s = y("span"), l = ee(u), h = U(), c = y("span"), f = At("svg"), d = At("path"), v = U(), w && w.c(), K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
|
|
4655
4655
|
e[22](
|
|
4656
4656
|
/*selectedLanguage*/
|
|
4657
4657
|
e[14]
|
|
4658
|
-
)}.svg`) ||
|
|
4659
|
-
(e[10] ? "TriangleActive" : "")),
|
|
4658
|
+
)}.svg`) || m(i, "src", o), m(n, "class", "FlagIcon"), m(s, "class", "LanguageName"), m(d, "id", "arrow"), m(d, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), m(d, "transform", "translate(-274.511 -441.088)"), m(d, "fill", "#d1d1d1"), m(f, "xmlns", "http://www.w3.org/2000/svg"), m(f, "width", "14"), m(f, "height", "6.835"), m(f, "viewBox", "0 0 14 6.835"), m(c, "class", g = "TriangleInactive " + /*isOptionsListVisible*/
|
|
4659
|
+
(e[10] ? "TriangleActive" : "")), m(r, "class", "SelectedOption Item ItemLanguage"), m(t, "class", "LanguageDropdown");
|
|
4660
4660
|
},
|
|
4661
4661
|
m(H, L) {
|
|
4662
|
-
F(H, t, L), b(t, r), b(r, n), b(n, i), b(r, a), b(r, s), b(s, l), b(r, h), b(r, c), b(c, f), b(f,
|
|
4662
|
+
F(H, t, L), b(t, r), b(r, n), b(n, i), b(r, a), b(r, s), b(s, l), b(r, h), b(r, c), b(c, f), b(f, d), b(t, v), w && w.m(t, null);
|
|
4663
4663
|
},
|
|
4664
4664
|
p(H, L) {
|
|
4665
4665
|
L[0] & /*selectedLanguage, languagesArray*/
|
|
@@ -4667,11 +4667,11 @@ function Wo(e) {
|
|
|
4667
4667
|
H[22](
|
|
4668
4668
|
/*selectedLanguage*/
|
|
4669
4669
|
H[14]
|
|
4670
|
-
)}.svg`) &&
|
|
4670
|
+
)}.svg`) && m(i, "src", o), L[0] & /*selectedLanguage*/
|
|
4671
4671
|
16384 && u !== (u = /*selectedLanguage*/
|
|
4672
|
-
H[14].slice(-2) + "") &&
|
|
4673
|
-
1024 &&
|
|
4674
|
-
(H[10] ? "TriangleActive" : "")) &&
|
|
4672
|
+
H[14].slice(-2) + "") && pe(l, u), L[0] & /*isOptionsListVisible*/
|
|
4673
|
+
1024 && g !== (g = "TriangleInactive " + /*isOptionsListVisible*/
|
|
4674
|
+
(H[10] ? "TriangleActive" : "")) && m(c, "class", g), /*isOptionsListVisible*/
|
|
4675
4675
|
H[10] ? w ? w.p(H, L) : (w = hr(H), w.c(), w.m(t, null)) : w && (w.d(1), w = null);
|
|
4676
4676
|
},
|
|
4677
4677
|
d(H) {
|
|
@@ -4680,7 +4680,7 @@ function Wo(e) {
|
|
|
4680
4680
|
};
|
|
4681
4681
|
}
|
|
4682
4682
|
function Vo(e) {
|
|
4683
|
-
let t, r, n, i =
|
|
4683
|
+
let t, r, n, i = Y(
|
|
4684
4684
|
/*languagesArray*/
|
|
4685
4685
|
e[9]
|
|
4686
4686
|
), o = [];
|
|
@@ -4691,7 +4691,7 @@ function Vo(e) {
|
|
|
4691
4691
|
t = y("select");
|
|
4692
4692
|
for (let a = 0; a < o.length; a += 1)
|
|
4693
4693
|
o[a].c();
|
|
4694
|
-
|
|
4694
|
+
m(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
|
|
4695
4695
|
e[14] === void 0 && Ne(() => (
|
|
4696
4696
|
/*select_change_handler*/
|
|
4697
4697
|
e[37].call(t)
|
|
@@ -4724,7 +4724,7 @@ function Vo(e) {
|
|
|
4724
4724
|
p(a, s) {
|
|
4725
4725
|
if (s[0] & /*languagesArray*/
|
|
4726
4726
|
512) {
|
|
4727
|
-
i =
|
|
4727
|
+
i = Y(
|
|
4728
4728
|
/*languagesArray*/
|
|
4729
4729
|
a[9]
|
|
4730
4730
|
);
|
|
@@ -4750,7 +4750,7 @@ function Vo(e) {
|
|
|
4750
4750
|
};
|
|
4751
4751
|
}
|
|
4752
4752
|
function hr(e) {
|
|
4753
|
-
let t, r, n =
|
|
4753
|
+
let t, r, n = Y(
|
|
4754
4754
|
/*languagesArray*/
|
|
4755
4755
|
e[9]
|
|
4756
4756
|
), i = [];
|
|
@@ -4761,7 +4761,7 @@ function hr(e) {
|
|
|
4761
4761
|
t = y("div");
|
|
4762
4762
|
for (let o = 0; o < i.length; o += 1)
|
|
4763
4763
|
i[o].c();
|
|
4764
|
-
|
|
4764
|
+
m(t, "class", r = "OptionList " + /*languageListOpen*/
|
|
4765
4765
|
(e[11] ? "Open" : ""));
|
|
4766
4766
|
},
|
|
4767
4767
|
m(o, a) {
|
|
@@ -4772,7 +4772,7 @@ function hr(e) {
|
|
|
4772
4772
|
p(o, a) {
|
|
4773
4773
|
if (a[0] & /*languageListOpen, selectLanguage, languagesArray, determineFlag*/
|
|
4774
4774
|
5245440) {
|
|
4775
|
-
n =
|
|
4775
|
+
n = Y(
|
|
4776
4776
|
/*languagesArray*/
|
|
4777
4777
|
o[9]
|
|
4778
4778
|
);
|
|
@@ -4787,7 +4787,7 @@ function hr(e) {
|
|
|
4787
4787
|
}
|
|
4788
4788
|
a[0] & /*languageListOpen*/
|
|
4789
4789
|
2048 && r !== (r = "OptionList " + /*languageListOpen*/
|
|
4790
|
-
(o[11] ? "Open" : "")) &&
|
|
4790
|
+
(o[11] ? "Open" : "")) && m(t, "class", r);
|
|
4791
4791
|
},
|
|
4792
4792
|
d(o) {
|
|
4793
4793
|
o && I(t), Ee(i, o);
|
|
@@ -4799,7 +4799,7 @@ function cr(e) {
|
|
|
4799
4799
|
/*operatorLanguage*/
|
|
4800
4800
|
e[57] + ""
|
|
4801
4801
|
), u, l, h, c, f;
|
|
4802
|
-
function
|
|
4802
|
+
function d() {
|
|
4803
4803
|
return (
|
|
4804
4804
|
/*click_handler_2*/
|
|
4805
4805
|
e[39](
|
|
@@ -4814,26 +4814,26 @@ function cr(e) {
|
|
|
4814
4814
|
e[22](
|
|
4815
4815
|
/*operatorLanguage*/
|
|
4816
4816
|
e[57]
|
|
4817
|
-
)}.svg`) ||
|
|
4817
|
+
)}.svg`) || m(n, "src", i), m(r, "class", "FlagIcon"), m(a, "class", "LanguageName"), m(t, "class", h = "LanguageOption " + /*languageListOpen*/
|
|
4818
4818
|
(e[11] ? "Open" : ""));
|
|
4819
4819
|
},
|
|
4820
|
-
m(
|
|
4821
|
-
F(
|
|
4820
|
+
m(g, v) {
|
|
4821
|
+
F(g, t, v), b(t, r), b(r, n), b(t, o), b(t, a), b(a, u), b(t, l), c || (f = te(t, "click", d), c = !0);
|
|
4822
4822
|
},
|
|
4823
|
-
p(
|
|
4824
|
-
e =
|
|
4823
|
+
p(g, v) {
|
|
4824
|
+
e = g, v[0] & /*languagesArray*/
|
|
4825
4825
|
512 && !K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
|
|
4826
4826
|
e[22](
|
|
4827
4827
|
/*operatorLanguage*/
|
|
4828
4828
|
e[57]
|
|
4829
|
-
)}.svg`) &&
|
|
4829
|
+
)}.svg`) && m(n, "src", i), v[0] & /*languagesArray*/
|
|
4830
4830
|
512 && s !== (s = /*operatorLanguage*/
|
|
4831
|
-
e[57] + "") &&
|
|
4831
|
+
e[57] + "") && pe(u, s), v[0] & /*languageListOpen*/
|
|
4832
4832
|
2048 && h !== (h = "LanguageOption " + /*languageListOpen*/
|
|
4833
|
-
(e[11] ? "Open" : "")) &&
|
|
4833
|
+
(e[11] ? "Open" : "")) && m(t, "class", h);
|
|
4834
4834
|
},
|
|
4835
|
-
d(
|
|
4836
|
-
|
|
4835
|
+
d(g) {
|
|
4836
|
+
g && I(t), c = !1, f();
|
|
4837
4837
|
}
|
|
4838
4838
|
};
|
|
4839
4839
|
}
|
|
@@ -4853,7 +4853,7 @@ function fr(e) {
|
|
|
4853
4853
|
p(o, a) {
|
|
4854
4854
|
a[0] & /*languagesArray*/
|
|
4855
4855
|
512 && r !== (r = /*lang*/
|
|
4856
|
-
o[1].slice(-2) + "") &&
|
|
4856
|
+
o[1].slice(-2) + "") && pe(n, r), a[0] & /*languagesArray*/
|
|
4857
4857
|
512 && i !== (i = /*lang*/
|
|
4858
4858
|
o[1]) && (t.__value = i, Mt(t, t.__value));
|
|
4859
4859
|
},
|
|
@@ -4887,30 +4887,30 @@ function Xo(e) {
|
|
|
4887
4887
|
}
|
|
4888
4888
|
function zo(e, t, r) {
|
|
4889
4889
|
let n;
|
|
4890
|
-
un(e, Lo, (
|
|
4891
|
-
let { menuitemsurl: i = "" } = t, { cmsendpoint: o } = t, { cmsenv: a = "stage" } = t, { userroles: s } = t, { lang: u = "en" } = t, { activecategory: l = "" } = t, { languageslist: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, { clientstyling:
|
|
4890
|
+
un(e, Lo, (p) => r(15, n = p));
|
|
4891
|
+
let { menuitemsurl: i = "" } = t, { cmsendpoint: o } = t, { cmsenv: a = "stage" } = t, { userroles: s } = t, { lang: u = "en" } = t, { activecategory: l = "" } = t, { languageslist: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, { clientstyling: d = "" } = t, { clientstylingurl: g = "" } = t, { customlocaleidentifier: v = "" } = t, { countryflaghamburger: w = "" } = t, H, L = window.navigator.userAgent, P = [], G, C = "", V = [], z = !1, ne = !1, q = !0, N = [], j = !1, O = !1, B = !1, x = !1, R = !0, S, W = "", Z;
|
|
4892
4892
|
const Zr = () => {
|
|
4893
|
-
fetch(c).then((
|
|
4894
|
-
Object.keys(
|
|
4895
|
-
|
|
4893
|
+
fetch(c).then((p) => p.json()).then((p) => {
|
|
4894
|
+
Object.keys(p).forEach((A) => {
|
|
4895
|
+
Jt(A, p[A]);
|
|
4896
4896
|
});
|
|
4897
|
-
}).catch((
|
|
4898
|
-
console.log(
|
|
4897
|
+
}).catch((p) => {
|
|
4898
|
+
console.log(p);
|
|
4899
4899
|
});
|
|
4900
4900
|
};
|
|
4901
|
-
Object.keys(Kt).forEach((
|
|
4902
|
-
|
|
4901
|
+
Object.keys(Kt).forEach((p) => {
|
|
4902
|
+
Jt(p, Kt[p]);
|
|
4903
4903
|
});
|
|
4904
4904
|
const Ve = () => {
|
|
4905
4905
|
S = new URL(`${o}/${W.toLowerCase()}/hamburger-menu`);
|
|
4906
|
-
let
|
|
4907
|
-
|
|
4906
|
+
let p = Co(L);
|
|
4907
|
+
p && (p === "PC" ? S.searchParams.append("device", "dk") : S.searchParams.append("device", "mtWeb")), S.searchParams.append("env", a), S.searchParams.append("language", W.toLowerCase()), S.searchParams.append("userRoles", s);
|
|
4908
4908
|
}, _t = () => {
|
|
4909
4909
|
r(12, x = !0), r(13, R = !0), r(10, O = !1), r(11, B = !1), setTimeout(
|
|
4910
4910
|
() => {
|
|
4911
4911
|
r(8, ne = !1), r(7, z = !1);
|
|
4912
4912
|
},
|
|
4913
|
-
|
|
4913
|
+
200
|
|
4914
4914
|
), window.postMessage(
|
|
4915
4915
|
{
|
|
4916
4916
|
type: "CloseHamburgerMenu",
|
|
@@ -4918,45 +4918,45 @@ function zo(e, t, r) {
|
|
|
4918
4918
|
},
|
|
4919
4919
|
window.location.href
|
|
4920
4920
|
);
|
|
4921
|
-
}, xt = (
|
|
4922
|
-
|
|
4921
|
+
}, xt = (p) => {
|
|
4922
|
+
p.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(12, x = !1), setTimeout(
|
|
4923
4923
|
() => {
|
|
4924
4924
|
r(13, R = !1);
|
|
4925
4925
|
},
|
|
4926
4926
|
125
|
|
4927
|
-
), r(8, ne = !0), r(7, z = !0), Ve(), wt(S)),
|
|
4928
|
-
}, He = (
|
|
4929
|
-
r(5, C =
|
|
4927
|
+
), r(8, ne = !0), r(7, z = !0), Ve(), wt(S)), p.data.type === "LanguageChanged" && (j = !0, Ve(), wt(S));
|
|
4928
|
+
}, He = (p, A) => {
|
|
4929
|
+
r(5, C = p), r(6, V = A || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
|
|
4930
4930
|
context: "HamburgerMenu",
|
|
4931
4931
|
menuItem: `${C}`
|
|
4932
4932
|
});
|
|
4933
4933
|
}, Et = () => {
|
|
4934
|
-
let
|
|
4934
|
+
let p = P.filter((A) => {
|
|
4935
4935
|
let Te = !1;
|
|
4936
4936
|
return A.children?.forEach((an) => {
|
|
4937
4937
|
an.path.includes(l) && (Te = !0);
|
|
4938
4938
|
}), Te;
|
|
4939
4939
|
});
|
|
4940
|
-
|
|
4941
|
-
}, wt = (
|
|
4942
|
-
G && !j || St(
|
|
4943
|
-
}, St = (
|
|
4944
|
-
fetch(
|
|
4940
|
+
p.length > 0 ? He(p[0].id, p[0].children) : He(P[0].id, P[0].children);
|
|
4941
|
+
}, wt = (p) => {
|
|
4942
|
+
G && !j || St(p);
|
|
4943
|
+
}, St = (p) => {
|
|
4944
|
+
fetch(p).then((A) => A.json()).then(
|
|
4945
4945
|
(A) => {
|
|
4946
|
-
r(4, P = A.filter((Te) => Te?.type !== "banner")), Et(), r(34,
|
|
4946
|
+
r(4, P = A.filter((Te) => Te?.type !== "banner")), Et(), r(34, q = !1), G = A, j = !1;
|
|
4947
4947
|
},
|
|
4948
4948
|
(A) => {
|
|
4949
4949
|
console.error(A);
|
|
4950
4950
|
}
|
|
4951
4951
|
);
|
|
4952
4952
|
};
|
|
4953
|
-
let Ht = (
|
|
4953
|
+
let Ht = (p) => {
|
|
4954
4954
|
window.postMessage(
|
|
4955
4955
|
{
|
|
4956
4956
|
type: "NavigateTo",
|
|
4957
|
-
path:
|
|
4958
|
-
externalLink:
|
|
4959
|
-
target:
|
|
4957
|
+
path: p.path,
|
|
4958
|
+
externalLink: p.externalLink || !1,
|
|
4959
|
+
target: p.attrs.target || null
|
|
4960
4960
|
},
|
|
4961
4961
|
window.location.href
|
|
4962
4962
|
), _t();
|
|
@@ -4970,9 +4970,9 @@ function zo(e, t, r) {
|
|
|
4970
4970
|
window.location.href
|
|
4971
4971
|
);
|
|
4972
4972
|
}, Qr = () => {
|
|
4973
|
-
Fo(u), Ve(), j && St(S), r(9, N = h.replace(/ /g, "").split(",")), r(9, N = N.map((
|
|
4974
|
-
}, Tt = (
|
|
4975
|
-
r(14, W =
|
|
4973
|
+
Fo(u), Ve(), j && St(S), r(9, N = h.replace(/ /g, "").split(",")), r(9, N = N.map((p) => p.toUpperCase())), r(14, W = u.toUpperCase());
|
|
4974
|
+
}, Tt = (p) => {
|
|
4975
|
+
r(14, W = p), setTimeout(
|
|
4976
4976
|
() => {
|
|
4977
4977
|
r(11, B = !1);
|
|
4978
4978
|
},
|
|
@@ -4983,7 +4983,7 @@ function zo(e, t, r) {
|
|
|
4983
4983
|
},
|
|
4984
4984
|
500
|
|
4985
4985
|
), Xe();
|
|
4986
|
-
},
|
|
4986
|
+
}, Yr = () => {
|
|
4987
4987
|
O ? (setTimeout(
|
|
4988
4988
|
() => {
|
|
4989
4989
|
r(10, O = !1);
|
|
@@ -4993,44 +4993,44 @@ function zo(e, t, r) {
|
|
|
4993
4993
|
() => {
|
|
4994
4994
|
r(11, B = !0);
|
|
4995
4995
|
},
|
|
4996
|
-
|
|
4996
|
+
300
|
|
4997
4997
|
));
|
|
4998
|
-
},
|
|
4999
|
-
let A =
|
|
4998
|
+
}, qr = (p) => {
|
|
4999
|
+
let A = p ? p.slice(-2) : W.slice(-2);
|
|
5000
5000
|
return v && (A = v.includes(A.toLowerCase()) ? v.slice(-2) : A), A == "EN" ? "GB" : A.toUpperCase();
|
|
5001
5001
|
};
|
|
5002
|
-
|
|
5002
|
+
gn(() => (window.addEventListener("message", xt, !1), Io(L), () => {
|
|
5003
5003
|
window.removeEventListener("message", xt);
|
|
5004
5004
|
}));
|
|
5005
|
-
const
|
|
5006
|
-
Ht(
|
|
5005
|
+
const Jr = (p) => He(p.id, p.children), Kr = (p, A) => {
|
|
5006
|
+
Ht(p), A.preventDefault();
|
|
5007
5007
|
};
|
|
5008
5008
|
function en() {
|
|
5009
|
-
W =
|
|
5009
|
+
W = pn(this), r(14, W), r(9, N);
|
|
5010
5010
|
}
|
|
5011
|
-
const tn = () => Xe(), rn = (
|
|
5012
|
-
function nn(
|
|
5013
|
-
Ce[
|
|
5014
|
-
H =
|
|
5011
|
+
const tn = () => Xe(), rn = (p) => Tt(p);
|
|
5012
|
+
function nn(p) {
|
|
5013
|
+
Ce[p ? "unshift" : "push"](() => {
|
|
5014
|
+
H = p, r(3, H);
|
|
5015
5015
|
});
|
|
5016
5016
|
}
|
|
5017
|
-
function on(
|
|
5018
|
-
Ce[
|
|
5019
|
-
Z =
|
|
5017
|
+
function on(p) {
|
|
5018
|
+
Ce[p ? "unshift" : "push"](() => {
|
|
5019
|
+
Z = p, r(2, Z);
|
|
5020
5020
|
});
|
|
5021
5021
|
}
|
|
5022
|
-
return e.$$set = (
|
|
5023
|
-
"menuitemsurl" in
|
|
5022
|
+
return e.$$set = (p) => {
|
|
5023
|
+
"menuitemsurl" in p && r(23, i = p.menuitemsurl), "cmsendpoint" in p && r(24, o = p.cmsendpoint), "cmsenv" in p && r(25, a = p.cmsenv), "userroles" in p && r(26, s = p.userroles), "lang" in p && r(1, u = p.lang), "activecategory" in p && r(27, l = p.activecategory), "languageslist" in p && r(28, h = p.languageslist), "translationurl" in p && r(29, c = p.translationurl), "mbsource" in p && r(30, f = p.mbsource), "clientstyling" in p && r(31, d = p.clientstyling), "clientstylingurl" in p && r(32, g = p.clientstylingurl), "customlocaleidentifier" in p && r(33, v = p.customlocaleidentifier), "countryflaghamburger" in p && r(0, w = p.countryflaghamburger);
|
|
5024
5024
|
}, e.$$.update = () => {
|
|
5025
5025
|
e.$$.dirty[0] & /*cmsendpoint, cmsenv, lang, languageslist*/
|
|
5026
5026
|
318767106 && o && a && u && h && Qr(), e.$$.dirty[0] & /*activecategory*/
|
|
5027
5027
|
134217728 | e.$$.dirty[1] & /*isLoading*/
|
|
5028
|
-
8 && l && !
|
|
5028
|
+
8 && l && !q && Et(), e.$$.dirty[0] & /*translationurl*/
|
|
5029
5029
|
536870912 && c && Zr(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
5030
5030
|
4 | e.$$.dirty[1] & /*clientstyling*/
|
|
5031
|
-
1 &&
|
|
5031
|
+
1 && d && Z && No(Z, d), e.$$.dirty[0] & /*customStylingContainer*/
|
|
5032
5032
|
4 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
5033
|
-
2 &&
|
|
5033
|
+
2 && g && Z && Ro(Z, g), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5034
5034
|
1073741828 && f && Z && Uo(Z, `${f}.Style`);
|
|
5035
5035
|
}, [
|
|
5036
5036
|
w,
|
|
@@ -5054,8 +5054,8 @@ function zo(e, t, r) {
|
|
|
5054
5054
|
Ht,
|
|
5055
5055
|
Xe,
|
|
5056
5056
|
Tt,
|
|
5057
|
+
Yr,
|
|
5057
5058
|
qr,
|
|
5058
|
-
Jr,
|
|
5059
5059
|
i,
|
|
5060
5060
|
o,
|
|
5061
5061
|
a,
|
|
@@ -5064,11 +5064,11 @@ function zo(e, t, r) {
|
|
|
5064
5064
|
h,
|
|
5065
5065
|
c,
|
|
5066
5066
|
f,
|
|
5067
|
-
|
|
5068
|
-
|
|
5067
|
+
d,
|
|
5068
|
+
g,
|
|
5069
5069
|
v,
|
|
5070
|
-
|
|
5071
|
-
|
|
5070
|
+
q,
|
|
5071
|
+
Jr,
|
|
5072
5072
|
Kr,
|
|
5073
5073
|
en,
|
|
5074
5074
|
tn,
|
|
@@ -5084,7 +5084,7 @@ class Zo extends An {
|
|
|
5084
5084
|
t,
|
|
5085
5085
|
zo,
|
|
5086
5086
|
Xo,
|
|
5087
|
-
|
|
5087
|
+
dr,
|
|
5088
5088
|
{
|
|
5089
5089
|
menuitemsurl: 23,
|
|
5090
5090
|
cmsendpoint: 24,
|