@everymatrix/general-navigation-bar 1.63.2 → 1.64.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/components/{GeneralNavigationBar-DYpzM-tr.cjs → GeneralNavigationBar-B3GjtQJe.cjs} +3 -3
- package/components/{GeneralNavigationBar-D-A3lfyi.js → GeneralNavigationBar-C0unCc3F.js} +68 -68
- package/components/{GeneralNavigationBar-BUIP0xj9.js → GeneralNavigationBar-CRfb0acM.js} +64 -64
- package/es2015/general-navigation-bar.cjs +1 -1
- package/es2015/general-navigation-bar.js +1 -1
- package/esnext/general-navigation-bar.js +1 -1
- package/package.json +1 -1
|
@@ -2,14 +2,14 @@ var on = Object.defineProperty, an = Object.defineProperties;
|
|
|
2
2
|
var sn = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var It = Object.getOwnPropertySymbols;
|
|
4
4
|
var ln = Object.prototype.hasOwnProperty, un = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var We = (e, t, r) => t in e ? on(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r,
|
|
5
|
+
var We = (e, t, r) => t in e ? on(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
7
|
ln.call(t, r) && We(e, r, t[r]);
|
|
8
8
|
if (It)
|
|
9
9
|
for (var r of It(t))
|
|
10
10
|
un.call(t, r) && We(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, At = (e, t) => an(e, sn(t));
|
|
13
13
|
var U = (e, t, r) => (We(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
var Tt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
@@ -216,7 +216,7 @@ function F() {
|
|
|
216
216
|
try {
|
|
217
217
|
for (; J < K.length; ) {
|
|
218
218
|
const t = K[J];
|
|
219
|
-
J++, fe(t),
|
|
219
|
+
J++, fe(t), Bn(t.$$);
|
|
220
220
|
}
|
|
221
221
|
} catch (t) {
|
|
222
222
|
throw K.length = 0, J = 0, t;
|
|
@@ -233,14 +233,14 @@ function F() {
|
|
|
233
233
|
Ht.pop()();
|
|
234
234
|
et = !1, Ve.clear(), fe(e);
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function Bn(e) {
|
|
237
237
|
if (e.fragment !== null) {
|
|
238
238
|
e.update(), ae(e.before_update);
|
|
239
239
|
const t = e.dirty;
|
|
240
240
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(tt);
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function An(e) {
|
|
244
244
|
const t = [], r = [];
|
|
245
245
|
ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
|
|
246
246
|
}
|
|
@@ -282,7 +282,7 @@ function Tn(e, t, r) {
|
|
|
282
282
|
}
|
|
283
283
|
function Pn(e, t) {
|
|
284
284
|
const r = e.$$;
|
|
285
|
-
r.fragment !== null && (
|
|
285
|
+
r.fragment !== null && (An(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
286
286
|
}
|
|
287
287
|
function Hn(e, t) {
|
|
288
288
|
e.$$.dirty[0] === -1 && (K.push(e), In(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
@@ -399,7 +399,7 @@ typeof HTMLElement == "function" && (br = class extends HTMLElement {
|
|
|
399
399
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
400
400
|
this.$$c = new this.$$ctor({
|
|
401
401
|
target: this.shadowRoot || this,
|
|
402
|
-
props: Bt(
|
|
402
|
+
props: At(Bt({}, this.$$d), {
|
|
403
403
|
$$slots: r,
|
|
404
404
|
$$scope: {
|
|
405
405
|
ctx: []
|
|
@@ -1125,8 +1125,8 @@ function se(e, t, r) {
|
|
|
1125
1125
|
}, m = i.map(
|
|
1126
1126
|
(g, v) => dr(
|
|
1127
1127
|
g,
|
|
1128
|
-
(
|
|
1129
|
-
u[v] =
|
|
1128
|
+
(B) => {
|
|
1129
|
+
u[v] = B, h &= ~(1 << v), l && f();
|
|
1130
1130
|
},
|
|
1131
1131
|
() => {
|
|
1132
1132
|
h |= 1 << v;
|
|
@@ -1272,15 +1272,15 @@ function Ir(e, t, r) {
|
|
|
1272
1272
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1273
1273
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1274
1274
|
}
|
|
1275
|
-
function
|
|
1275
|
+
function Br(e, t, r, n, i) {
|
|
1276
1276
|
return r.bind(t, e, n, i);
|
|
1277
1277
|
}
|
|
1278
1278
|
function gi(e, t) {
|
|
1279
1279
|
var r = e.length === 1 ? mi : Ir;
|
|
1280
|
-
return
|
|
1280
|
+
return Br(e, this, r, t.cache.create(), t.serializer);
|
|
1281
1281
|
}
|
|
1282
1282
|
function vi(e, t) {
|
|
1283
|
-
return
|
|
1283
|
+
return Br(e, this, Ir, t.cache.create(), t.serializer);
|
|
1284
1284
|
}
|
|
1285
1285
|
var bi = function() {
|
|
1286
1286
|
return JSON.stringify(arguments);
|
|
@@ -1330,7 +1330,7 @@ function Gt(e) {
|
|
|
1330
1330
|
function xi(e) {
|
|
1331
1331
|
return e.type === S.argument;
|
|
1332
1332
|
}
|
|
1333
|
-
function
|
|
1333
|
+
function Ar(e) {
|
|
1334
1334
|
return e.type === S.number;
|
|
1335
1335
|
}
|
|
1336
1336
|
function Tr(e) {
|
|
@@ -1478,10 +1478,10 @@ function Ii(e) {
|
|
|
1478
1478
|
}
|
|
1479
1479
|
return r;
|
|
1480
1480
|
}
|
|
1481
|
-
function
|
|
1481
|
+
function Bi(e) {
|
|
1482
1482
|
return e.replace(/^(.*?)-/, "");
|
|
1483
1483
|
}
|
|
1484
|
-
var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1484
|
+
var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, Ai = /(\*)(0+)|(#+)(0+)|(0+)/g, Rr = /^(0+)$/;
|
|
1485
1485
|
function kt(e) {
|
|
1486
1486
|
var t = {};
|
|
1487
1487
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fr, function(r, n, i) {
|
|
@@ -1570,7 +1570,7 @@ function Pi(e) {
|
|
|
1570
1570
|
continue;
|
|
1571
1571
|
case "measure-unit":
|
|
1572
1572
|
case "unit":
|
|
1573
|
-
t.style = "unit", t.unit =
|
|
1573
|
+
t.style = "unit", t.unit = Bi(i.options[0]);
|
|
1574
1574
|
continue;
|
|
1575
1575
|
case "compact-short":
|
|
1576
1576
|
case "K":
|
|
@@ -1632,7 +1632,7 @@ function Pi(e) {
|
|
|
1632
1632
|
case "integer-width":
|
|
1633
1633
|
if (i.options.length > 1)
|
|
1634
1634
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1635
|
-
i.options[0].replace(
|
|
1635
|
+
i.options[0].replace(Ai, function(l, u, h, d, f, m) {
|
|
1636
1636
|
if (u)
|
|
1637
1637
|
t.minimumIntegerDigits = h.length;
|
|
1638
1638
|
else {
|
|
@@ -3436,18 +3436,18 @@ var Xi = (
|
|
|
3436
3436
|
return g;
|
|
3437
3437
|
var v = x(i, this.clonePosition());
|
|
3438
3438
|
if (u && Wt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3439
|
-
var
|
|
3439
|
+
var B = Wi(u.style.slice(2));
|
|
3440
3440
|
if (s === "number") {
|
|
3441
|
-
var d = this.parseNumberSkeletonFromString(
|
|
3441
|
+
var d = this.parseNumberSkeletonFromString(B, u.styleLocation);
|
|
3442
3442
|
return d.err ? d : {
|
|
3443
3443
|
val: { type: S.number, value: n, location: v, style: d.val },
|
|
3444
3444
|
err: null
|
|
3445
3445
|
};
|
|
3446
3446
|
} else {
|
|
3447
|
-
if (
|
|
3447
|
+
if (B.length === 0)
|
|
3448
3448
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3449
|
-
var N =
|
|
3450
|
-
this.locale && (N = Hi(
|
|
3449
|
+
var N = B;
|
|
3450
|
+
this.locale && (N = Hi(B, this.locale));
|
|
3451
3451
|
var f = {
|
|
3452
3452
|
type: ne.dateTime,
|
|
3453
3453
|
pattern: N,
|
|
@@ -3701,7 +3701,7 @@ function pt(e) {
|
|
|
3701
3701
|
for (var r in t.options)
|
|
3702
3702
|
delete t.options[r].location, pt(t.options[r].value);
|
|
3703
3703
|
else
|
|
3704
|
-
|
|
3704
|
+
Ar(t) && Lr(t.style) || (Tr(t) || Pr(t)) && ut(t.style) ? delete t.style.location : Or(t) && pt(t.children);
|
|
3705
3705
|
});
|
|
3706
3706
|
}
|
|
3707
3707
|
function Yi(e, t) {
|
|
@@ -3769,7 +3769,7 @@ function Ki(e) {
|
|
|
3769
3769
|
function eo(e) {
|
|
3770
3770
|
return typeof e == "function";
|
|
3771
3771
|
}
|
|
3772
|
-
function
|
|
3772
|
+
function Be(e, t, r, n, i, o, a) {
|
|
3773
3773
|
if (e.length === 1 && Gt(e[0]))
|
|
3774
3774
|
return [
|
|
3775
3775
|
{
|
|
@@ -3820,7 +3820,7 @@ function Ae(e, t, r, n, i, o, a) {
|
|
|
3820
3820
|
});
|
|
3821
3821
|
continue;
|
|
3822
3822
|
}
|
|
3823
|
-
if (
|
|
3823
|
+
if (Ar(h)) {
|
|
3824
3824
|
var m = typeof h.style == "string" ? n.number[h.style] : Lr(h.style) ? h.style.parsedOptions : void 0;
|
|
3825
3825
|
m && m.scale && (f = f * (m.scale || 1)), s.push({
|
|
3826
3826
|
type: O.literal,
|
|
@@ -3829,10 +3829,10 @@ function Ae(e, t, r, n, i, o, a) {
|
|
|
3829
3829
|
continue;
|
|
3830
3830
|
}
|
|
3831
3831
|
if (Or(h)) {
|
|
3832
|
-
var g = h.children, v = h.value,
|
|
3833
|
-
if (!eo(
|
|
3832
|
+
var g = h.children, v = h.value, B = i[v];
|
|
3833
|
+
if (!eo(B))
|
|
3834
3834
|
throw new Ji(v, "function", a);
|
|
3835
|
-
var N =
|
|
3835
|
+
var N = Be(g, t, r, n, i, o), b = B(N.map(function(P) {
|
|
3836
3836
|
return P.value;
|
|
3837
3837
|
}));
|
|
3838
3838
|
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(P) {
|
|
@@ -3846,7 +3846,7 @@ function Ae(e, t, r, n, i, o, a) {
|
|
|
3846
3846
|
var E = h.options[f] || h.options.other;
|
|
3847
3847
|
if (!E)
|
|
3848
3848
|
throw new zt(h.value, f, Object.keys(h.options), a);
|
|
3849
|
-
s.push.apply(s,
|
|
3849
|
+
s.push.apply(s, Be(E.value, t, r, n, i));
|
|
3850
3850
|
continue;
|
|
3851
3851
|
}
|
|
3852
3852
|
if (Mr(h)) {
|
|
@@ -3861,7 +3861,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3861
3861
|
}
|
|
3862
3862
|
if (!E)
|
|
3863
3863
|
throw new zt(h.value, f, Object.keys(h.options), a);
|
|
3864
|
-
s.push.apply(s,
|
|
3864
|
+
s.push.apply(s, Be(E.value, t, r, n, i, f - (h.offset || 0)));
|
|
3865
3865
|
continue;
|
|
3866
3866
|
}
|
|
3867
3867
|
}
|
|
@@ -3942,7 +3942,7 @@ var io = (
|
|
|
3942
3942
|
}, []);
|
|
3943
3943
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3944
3944
|
}, this.formatToParts = function(l) {
|
|
3945
|
-
return
|
|
3945
|
+
return Be(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3946
3946
|
}, this.resolvedOptions = function() {
|
|
3947
3947
|
var l;
|
|
3948
3948
|
return {
|
|
@@ -4100,12 +4100,12 @@ se(
|
|
|
4100
4100
|
([e]) => Object.keys(e)
|
|
4101
4101
|
);
|
|
4102
4102
|
ye.subscribe((e) => yt = e);
|
|
4103
|
-
const
|
|
4103
|
+
const Ae = {};
|
|
4104
4104
|
function ho(e, t) {
|
|
4105
|
-
|
|
4105
|
+
Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
|
|
4106
4106
|
}
|
|
4107
4107
|
function Vr(e) {
|
|
4108
|
-
return
|
|
4108
|
+
return Ae[e];
|
|
4109
4109
|
}
|
|
4110
4110
|
function co(e) {
|
|
4111
4111
|
return Ue(e).map((t) => {
|
|
@@ -4256,14 +4256,14 @@ const ge = (e, t) => {
|
|
|
4256
4256
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4257
4257
|
return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
|
|
4258
4258
|
}
|
|
4259
|
-
),
|
|
4259
|
+
), Bo = De(
|
|
4260
4260
|
(e) => {
|
|
4261
4261
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4262
4262
|
if (r == null)
|
|
4263
4263
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4264
4264
|
return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4265
4265
|
}
|
|
4266
|
-
),
|
|
4266
|
+
), Ao = De(
|
|
4267
4267
|
(e) => {
|
|
4268
4268
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4269
4269
|
if (r == null)
|
|
@@ -4285,14 +4285,14 @@ const ge = (e, t) => {
|
|
|
4285
4285
|
} = t, n = ue(t, [
|
|
4286
4286
|
"locale"
|
|
4287
4287
|
]);
|
|
4288
|
-
return
|
|
4288
|
+
return Bo(_t({ locale: r }, n));
|
|
4289
4289
|
}, Ho = (e = {}) => {
|
|
4290
4290
|
var t = e, {
|
|
4291
4291
|
locale: r = Q()
|
|
4292
4292
|
} = t, n = ue(t, [
|
|
4293
4293
|
"locale"
|
|
4294
4294
|
]);
|
|
4295
|
-
return
|
|
4295
|
+
return Ao(_t({ locale: r }, n));
|
|
4296
4296
|
}, Mo = De(
|
|
4297
4297
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4298
4298
|
(e, t = Q()) => new io(e, t, oe().formats, {
|
|
@@ -4402,7 +4402,7 @@ function ko(e, t, r) {
|
|
|
4402
4402
|
}
|
|
4403
4403
|
}
|
|
4404
4404
|
function jo(e) {
|
|
4405
|
-
vn(e, "svelte-
|
|
4405
|
+
vn(e, "svelte-5kntrg", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #22B04E);stroke-linecap:round;stroke-linejoin:round}.NavigationButton .middleIcon .b{stroke:none}.NavigationButton .middleIcon .c{fill:none}.NavigationButton:before{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid var(--emw--color-gray-50, #F9F8F8);content:"";height:0;left:50%;opacity:0;position:absolute;top:0;transform:translateX(-50%);width:0}.NavigationButton.NavigationButtonActive:before{opacity:1;transition:0.7s ease}.FlowerMenu.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.FlowerMenu .NavigationPanel{position:fixed;display:flex;flex-direction:column;bottom:0;width:100%;z-index:30}.FlowerMenu .NavigationWindow{display:flex;flex-direction:column;backdrop-filter:blur(2px);background:linear-gradient(0deg, var(--emw--color-black, #000000) 0%, transparent 100%);opacity:0;transition:0.25s ease;width:100%;max-height:0vh}.FlowerMenu .NavigationWindow.NavigationWindowOpened{opacity:1;max-height:200px}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(1){transform:translate3d(-210%, 50%, 0);transition:transform 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(2){transform:translate3d(-150%, -50%, 0);transition:transform 0.1s 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(3){transform:translate3d(-50%, -100%, 0);transition:transform 0.1s 0.2s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(4){transform:translate3d(50%, -50%, 0);transition:transform 0.1s 0.3s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(5){transform:translate3d(110%, 50%, 0);transition:transform 0.1s 0.4s}.FlowerMenu .NavigationWindow .ModalCloseBtn,.FlowerMenu .NavigationWindow .NavigationWindowTitle{display:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper{position:relative;width:100%;height:170px;list-style:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor{display:flex;width:60px;position:absolute;top:50%;left:50%;padding:0px;flex-direction:column;transform:translate(-50%, 150%)}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{width:100%;height:20px;text-wrap:pretty;line-height:10px;color:var(--emw--color-white, #FFFFFF)}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.FlowerMenu .NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";border-radius:5px;position:relative}.FlowerMenu .NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.FlowerMenu .NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.FlowerMenu .NavigationPrimaryItemAnchor,.FlowerMenu .NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding:10px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemImg{width:20px;height:20px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper{display:flex;justify-content:center;align-items:center;padding:5px;border-radius:100%;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg{width:25px;height:25px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.FlowerMenu .NavigationButton{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:none;position:absolute;border-radius:100%;top:20%;left:50%;transform:translate(-50%, -50%);padding:10px}.FlowerMenu .NavigationButton .NavigationButtonSpan{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.FlowerMenu .NavigationButton .labelMiddleIcon{cursor:pointer;display:grid;align-items:center;justify-content:center;width:20px;height:20px;padding:4px;overflow:hidden}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine{background:var(--emw--color-white, #FFFFFF);content:"";height:2px;width:20px;grid-row-start:1;grid-column-start:1;transition:transform ease 0.2s, margin-top ease 0.2s 0.2s, width ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(1){margin-top:10px}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(2){margin:auto}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(3){margin-top:-10px}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(1){margin-top:0px;transform:rotate(-45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(2){width:0px;transition:width ease 0.2s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(3){margin-top:0px;transform:rotate(45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}');
|
|
4406
4406
|
}
|
|
4407
4407
|
function tr(e, t, r) {
|
|
4408
4408
|
const n = e.slice();
|
|
@@ -4496,12 +4496,12 @@ function or(e) {
|
|
|
4496
4496
|
e[26],
|
|
4497
4497
|
nr
|
|
4498
4498
|
), v = g || Vo();
|
|
4499
|
-
let
|
|
4499
|
+
let B = Te(
|
|
4500
4500
|
/*secondaryMenu*/
|
|
4501
4501
|
e[8]
|
|
4502
4502
|
), N = [];
|
|
4503
|
-
for (let b = 0; b <
|
|
4504
|
-
N[b] = sr(rr(e,
|
|
4503
|
+
for (let b = 0; b < B.length; b += 1)
|
|
4504
|
+
N[b] = sr(rr(e, B, b));
|
|
4505
4505
|
return {
|
|
4506
4506
|
c() {
|
|
4507
4507
|
t = I("div"), r = I("span"), v && v.c(), n = j(), i = I("h3"), a = ve(o), s = j(), l = I("div");
|
|
@@ -4545,18 +4545,18 @@ function or(e) {
|
|
|
4545
4545
|
(b[0] || /*$_*/
|
|
4546
4546
|
b[12]("secondaryMenuTitle")) + "") && bt(a, o), E[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4547
4547
|
33056) {
|
|
4548
|
-
|
|
4548
|
+
B = Te(
|
|
4549
4549
|
/*secondaryMenu*/
|
|
4550
4550
|
b[8]
|
|
4551
4551
|
);
|
|
4552
4552
|
let w;
|
|
4553
|
-
for (w = 0; w <
|
|
4554
|
-
const P = rr(b,
|
|
4553
|
+
for (w = 0; w < B.length; w += 1) {
|
|
4554
|
+
const P = rr(b, B, w);
|
|
4555
4555
|
N[w] ? N[w].p(P, E) : (N[w] = sr(P), N[w].c(), N[w].m(l, null));
|
|
4556
4556
|
}
|
|
4557
4557
|
for (; w < N.length; w += 1)
|
|
4558
4558
|
N[w].d(1);
|
|
4559
|
-
N.length =
|
|
4559
|
+
N.length = B.length;
|
|
4560
4560
|
}
|
|
4561
4561
|
(!h || E[0] & /*navigationWindowOpened*/
|
|
4562
4562
|
16 && u !== (u = "NavigationWindow " + /*navigationWindowOpened*/
|
|
@@ -4798,8 +4798,8 @@ function Zo(e) {
|
|
|
4798
4798
|
c() {
|
|
4799
4799
|
t = M("svg"), r = M("g"), n = M("g"), i = M("rect"), o = M("rect"), a = M("g"), s = M("rect"), l = M("rect"), u = M("g"), h = M("rect"), d = M("rect"), f = M("g"), m = M("rect"), g = M("rect"), c(i, "class", "b"), c(i, "part", "b"), c(i, "width", "10"), c(i, "height", "10"), c(i, "rx", "2"), c(o, "class", "c"), c(o, "part", "c"), c(o, "x", "0.5"), c(o, "y", "0.5"), c(o, "width", "9"), c(o, "height", "9"), c(o, "rx", "1.5"), c(n, "class", "a"), c(n, "part", "a"), c(n, "transform", "translate(150 514)"), c(s, "class", "b"), c(s, "part", "b"), c(s, "width", "10"), c(s, "height", "10"), c(s, "rx", "2"), c(l, "class", "c"), c(l, "part", "c"), c(l, "x", "0.5"), c(l, "y", "0.5"), c(l, "width", "9"), c(l, "height", "9"), c(l, "rx", "1.5"), c(a, "class", "a"), c(a, "part", "a"), c(a, "transform", "translate(161 514)"), c(h, "class", "b"), c(h, "part", "b"), c(h, "width", "10"), c(h, "height", "10"), c(h, "rx", "2"), c(d, "class", "c"), c(d, "part", "c"), c(d, "x", "0.5"), c(d, "y", "0.5"), c(d, "width", "9"), c(d, "height", "9"), c(d, "rx", "1.5"), c(u, "class", "a"), c(u, "part", "a"), c(u, "transform", "translate(161 525)"), c(m, "class", "b"), c(m, "part", "b"), c(m, "width", "10"), c(m, "height", "10"), c(m, "rx", "2"), c(g, "class", "c"), c(g, "part", "c"), c(g, "x", "0.5"), c(g, "y", "0.5"), c(g, "width", "9"), c(g, "height", "9"), c(g, "rx", "1.5"), c(f, "class", "a"), c(f, "part", "a"), c(f, "transform", "translate(150 525)"), c(r, "transform", "translate(-150 -514)"), c(t, "class", "middleIcon"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(t, "width", "21"), c(t, "height", "21"), c(t, "viewBox", "0 0 21 21");
|
|
4800
4800
|
},
|
|
4801
|
-
m(v,
|
|
4802
|
-
C(v, t,
|
|
4801
|
+
m(v, B) {
|
|
4802
|
+
C(v, t, B), y(t, r), y(r, n), y(n, i), y(n, o), y(r, a), y(a, s), y(a, l), y(r, u), y(u, h), y(u, d), y(r, f), y(f, m), y(f, g);
|
|
4803
4803
|
},
|
|
4804
4804
|
p: D,
|
|
4805
4805
|
d(v) {
|
|
@@ -4878,14 +4878,14 @@ function Yo(e) {
|
|
|
4878
4878
|
function Jo(e, t, r) {
|
|
4879
4879
|
let n;
|
|
4880
4880
|
fn(e, Uo, (p) => r(12, n = p));
|
|
4881
|
-
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { mbsource: d } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: g = "" } = t, { activecategory: v = "" } = t, { flowermenustyle:
|
|
4881
|
+
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { mbsource: d } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: g = "" } = t, { activecategory: v = "" } = t, { flowermenustyle: B = "false" } = t, N = window.navigator.userAgent, b = qt(N) !== "PC", E = !0, w = !1, P = !1, z = "", Y = !1, Ge = [], _e = [], W = [], $, xt = "", $e = {}, wt, ke = !1;
|
|
4882
4882
|
const Qr = () => {
|
|
4883
|
-
fetch(g).then((
|
|
4884
|
-
Object.keys(
|
|
4885
|
-
Kt(H,
|
|
4883
|
+
fetch(g).then((A) => A.json()).then((A) => {
|
|
4884
|
+
Object.keys(A).forEach((H) => {
|
|
4885
|
+
Kt(H, A[H]);
|
|
4886
4886
|
});
|
|
4887
|
-
}).catch((
|
|
4888
|
-
console.log(
|
|
4887
|
+
}).catch((A) => {
|
|
4888
|
+
console.log(A);
|
|
4889
4889
|
});
|
|
4890
4890
|
};
|
|
4891
4891
|
Object.keys(er).forEach((p) => {
|
|
@@ -4905,7 +4905,7 @@ function Jo(e, t, r) {
|
|
|
4905
4905
|
break;
|
|
4906
4906
|
}
|
|
4907
4907
|
}, Yr = () => {
|
|
4908
|
-
r(11, ke =
|
|
4908
|
+
r(11, ke = B.toLowerCase() === "true");
|
|
4909
4909
|
}, Jr = () => {
|
|
4910
4910
|
r(4, P = !P), window.postMessage(
|
|
4911
4911
|
{
|
|
@@ -4918,8 +4918,8 @@ function Jo(e, t, r) {
|
|
|
4918
4918
|
r(7, _e = []), r(7, _e = Y ? p.splice(0, 5) : p.splice(0, 4)), v && Nt();
|
|
4919
4919
|
}, Kr = () => {
|
|
4920
4920
|
je(), r(1, E = !0);
|
|
4921
|
-
let p = qt(N),
|
|
4922
|
-
|
|
4921
|
+
let p = qt(N), A = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
|
|
4922
|
+
A.searchParams.append("userRoles", h), p && A.searchParams.append("device", "mtWeb"), fetch(A.href).then((H) => H.json()).then((H) => {
|
|
4923
4923
|
Ge = [], r(8, W = []), r(3, w = H.length > 0), H.forEach((R) => {
|
|
4924
4924
|
$e[R.label] = R.eventTrigger ? R.path : null, R.path == "/menu-item" ? (r(9, xt = R == null ? void 0 : R.img), r(8, W = R.children)) : Ge.push(R);
|
|
4925
4925
|
}), r(6, Y = W.length == 0), W.length >= 5 && ke && r(8, W = W.splice(0, 5)), qr(Ge), r(1, E = !1);
|
|
@@ -4927,9 +4927,9 @@ function Jo(e, t, r) {
|
|
|
4927
4927
|
r(1, E = !1), console.error(H);
|
|
4928
4928
|
});
|
|
4929
4929
|
}, Nt = () => {
|
|
4930
|
-
const
|
|
4931
|
-
|
|
4932
|
-
}, he = (p,
|
|
4930
|
+
const A = _e.concat(W).find((H) => H.path.includes(v));
|
|
4931
|
+
A && r(5, z = A.id);
|
|
4932
|
+
}, he = (p, A, H, R) => {
|
|
4933
4933
|
$e[R] ? window.postMessage(
|
|
4934
4934
|
{
|
|
4935
4935
|
type: "MobileBottomNavigationEvent",
|
|
@@ -4940,7 +4940,7 @@ function Jo(e, t, r) {
|
|
|
4940
4940
|
{
|
|
4941
4941
|
type: "NavigateTo",
|
|
4942
4942
|
path: p,
|
|
4943
|
-
target:
|
|
4943
|
+
target: A || null,
|
|
4944
4944
|
externalLink: H || !1
|
|
4945
4945
|
},
|
|
4946
4946
|
window.location.href
|
|
@@ -4959,11 +4959,11 @@ function Jo(e, t, r) {
|
|
|
4959
4959
|
window.removeEventListener("message", Et), document.removeEventListener("focusin", St), b && window.screen.orientation.removeEventListener("change", je);
|
|
4960
4960
|
}));
|
|
4961
4961
|
const tn = (p) => {
|
|
4962
|
-
var
|
|
4963
|
-
(
|
|
4962
|
+
var A, H;
|
|
4963
|
+
(A = p.attrs) != null && A.target ? he(p.path, (H = p.attrs) == null ? void 0 : H.target, p == null ? void 0 : p.externalLink, p.label) : he(p.path, null, p == null ? void 0 : p.externalLink, p.label);
|
|
4964
4964
|
}, rn = (p) => {
|
|
4965
|
-
var
|
|
4966
|
-
(
|
|
4965
|
+
var A, H;
|
|
4966
|
+
(A = p.attrs) != null && A.target ? he(p.path, (H = p.attrs) == null ? void 0 : H.target, p == null ? void 0 : p.externalLink, p.label) : he(p.path, null, p == null ? void 0 : p.externalLink, p.label);
|
|
4967
4967
|
};
|
|
4968
4968
|
function nn(p) {
|
|
4969
4969
|
Ke[p ? "unshift" : "push"](() => {
|
|
@@ -4971,10 +4971,10 @@ function Jo(e, t, r) {
|
|
|
4971
4971
|
});
|
|
4972
4972
|
}
|
|
4973
4973
|
return e.$$set = (p) => {
|
|
4974
|
-
"cmsendpoint" in p && r(16, a = p.cmsendpoint), "lang" in p && r(17, s = p.lang), "env" in p && r(18, l = p.env), "secondarymenutitle" in p && r(0, u = p.secondarymenutitle), "userroles" in p && r(19, h = p.userroles), "mbsource" in p && r(20, d = p.mbsource), "clientstyling" in p && r(21, f = p.clientstyling), "clientstylingurl" in p && r(22, m = p.clientstylingurl), "translationurl" in p && r(23, g = p.translationurl), "activecategory" in p && r(24, v = p.activecategory), "flowermenustyle" in p && r(25,
|
|
4974
|
+
"cmsendpoint" in p && r(16, a = p.cmsendpoint), "lang" in p && r(17, s = p.lang), "env" in p && r(18, l = p.env), "secondarymenutitle" in p && r(0, u = p.secondarymenutitle), "userroles" in p && r(19, h = p.userroles), "mbsource" in p && r(20, d = p.mbsource), "clientstyling" in p && r(21, f = p.clientstyling), "clientstylingurl" in p && r(22, m = p.clientstylingurl), "translationurl" in p && r(23, g = p.translationurl), "activecategory" in p && r(24, v = p.activecategory), "flowermenustyle" in p && r(25, B = p.flowermenustyle), "$$scope" in p && r(26, o = p.$$scope);
|
|
4975
4975
|
}, e.$$.update = () => {
|
|
4976
4976
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4977
|
-
33554432 &&
|
|
4977
|
+
33554432 && B && Yr(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
4978
4978
|
16777218 && v && !E && Nt(), e.$$.dirty[0] & /*lang*/
|
|
4979
4979
|
131072 && s && en(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
4980
4980
|
983040 && a && s && l && h && Kr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
@@ -5008,7 +5008,7 @@ function Jo(e, t, r) {
|
|
|
5008
5008
|
m,
|
|
5009
5009
|
g,
|
|
5010
5010
|
v,
|
|
5011
|
-
|
|
5011
|
+
B,
|
|
5012
5012
|
o,
|
|
5013
5013
|
i,
|
|
5014
5014
|
tn,
|