@everymatrix/casino-slider 1.54.8 → 1.54.9
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/{CasinoSlider-Cla7MfSi.js → CasinoSlider-BO3KZ6XH.js} +71 -71
- package/components/{CasinoSlider-DdPYhkaL.cjs → CasinoSlider-CrjoUWSZ.cjs} +2 -2
- package/components/{CasinoSlider-DbPDrHOf.js → CasinoSlider-DtVLgqMm.js} +109 -109
- package/es2015/casino-slider.cjs +1 -1
- package/es2015/casino-slider.js +1 -1
- package/esnext/casino-slider.js +1 -1
- package/package.json +1 -1
@@ -622,14 +622,14 @@ function Be(e, t) {
|
|
622
622
|
}
|
623
623
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
624
624
|
}
|
625
|
-
var
|
626
|
-
return
|
625
|
+
var _ = function() {
|
626
|
+
return _ = Object.assign || function(t) {
|
627
627
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
628
628
|
r = arguments[n];
|
629
629
|
for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
630
630
|
}
|
631
631
|
return t;
|
632
|
-
},
|
632
|
+
}, _.apply(this, arguments);
|
633
633
|
};
|
634
634
|
function fn(e, t) {
|
635
635
|
var r = {};
|
@@ -645,7 +645,7 @@ function Fe(e, t, r) {
|
|
645
645
|
return e.concat(s || Array.prototype.slice.call(t));
|
646
646
|
}
|
647
647
|
function Re(e, t) {
|
648
|
-
var r = t && t.cache ? t.cache :
|
648
|
+
var r = t && t.cache ? t.cache : vn, n = t && t.serializer ? t.serializer : bn, i = t && t.strategy ? t.strategy : pn;
|
649
649
|
return i(e, {
|
650
650
|
cache: r,
|
651
651
|
serializer: n
|
@@ -686,7 +686,7 @@ var bn = function() {
|
|
686
686
|
this.cache[t] = r;
|
687
687
|
}, e;
|
688
688
|
}()
|
689
|
-
),
|
689
|
+
), vn = {
|
690
690
|
create: function() {
|
691
691
|
return new yn();
|
692
692
|
}
|
@@ -707,7 +707,7 @@ var re;
|
|
707
707
|
function ct(e) {
|
708
708
|
return e.type === T.literal;
|
709
709
|
}
|
710
|
-
function
|
710
|
+
function _n(e) {
|
711
711
|
return e.type === T.argument;
|
712
712
|
}
|
713
713
|
function Vt(e) {
|
@@ -951,13 +951,13 @@ function In(e) {
|
|
951
951
|
t.notation = "compact", t.compactDisplay = "long";
|
952
952
|
continue;
|
953
953
|
case "scientific":
|
954
|
-
t =
|
955
|
-
return
|
954
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
|
955
|
+
return _(_({}, h), dt(l));
|
956
956
|
}, {}));
|
957
957
|
continue;
|
958
958
|
case "engineering":
|
959
|
-
t =
|
960
|
-
return
|
959
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
|
960
|
+
return _(_({}, h), dt(l));
|
961
961
|
}, {}));
|
962
962
|
continue;
|
963
963
|
case "notation-simple":
|
@@ -1026,17 +1026,17 @@ function In(e) {
|
|
1026
1026
|
return u === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
1027
1027
|
});
|
1028
1028
|
var s = i.options[0];
|
1029
|
-
s === "w" ? t =
|
1029
|
+
s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), mt(s)));
|
1030
1030
|
continue;
|
1031
1031
|
}
|
1032
1032
|
if (Yt.test(i.stem)) {
|
1033
|
-
t =
|
1033
|
+
t = _(_({}, t), mt(i.stem));
|
1034
1034
|
continue;
|
1035
1035
|
}
|
1036
1036
|
var o = er(i.stem);
|
1037
|
-
o && (t =
|
1037
|
+
o && (t = _(_({}, t), o));
|
1038
1038
|
var a = An(i.stem);
|
1039
|
-
a && (t =
|
1039
|
+
a && (t = _(_({}, t), a));
|
1040
1040
|
}
|
1041
1041
|
return t;
|
1042
1042
|
}
|
@@ -2493,7 +2493,7 @@ function Mn(e) {
|
|
2493
2493
|
return i[0];
|
2494
2494
|
}
|
2495
2495
|
var Ge, Nn = new RegExp("^".concat(Jt.source, "*")), Pn = new RegExp("".concat(Jt.source, "*$"));
|
2496
|
-
function
|
2496
|
+
function v(e, t) {
|
2497
2497
|
return { start: e, end: t };
|
2498
2498
|
}
|
2499
2499
|
var On = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ln = !!String.fromCodePoint, Fn = !!Object.fromEntries, Rn = !!String.prototype.codePointAt, Dn = !!String.prototype.trimStart, Gn = !!String.prototype.trimEnd, Un = !!Number.isSafeInteger, kn = Un ? Number.isSafeInteger : function(e) {
|
@@ -2621,12 +2621,12 @@ var Xn = (
|
|
2621
2621
|
var a = this.clonePosition();
|
2622
2622
|
this.bump(), i.push({
|
2623
2623
|
type: T.pound,
|
2624
|
-
location:
|
2624
|
+
location: v(a, this.clonePosition())
|
2625
2625
|
});
|
2626
2626
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
2627
2627
|
if (n)
|
2628
2628
|
break;
|
2629
|
-
return this.error(y.UNMATCHED_CLOSING_TAG,
|
2629
|
+
return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
2630
2630
|
} else if (s === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
|
2631
2631
|
var o = this.parseTag(t, r);
|
2632
2632
|
if (o.err)
|
@@ -2650,7 +2650,7 @@ var Xn = (
|
|
2650
2650
|
val: {
|
2651
2651
|
type: T.literal,
|
2652
2652
|
value: "<".concat(i, "/>"),
|
2653
|
-
location:
|
2653
|
+
location: v(n, this.clonePosition())
|
2654
2654
|
},
|
2655
2655
|
err: null
|
2656
2656
|
};
|
@@ -2661,21 +2661,21 @@ var Xn = (
|
|
2661
2661
|
var o = s.val, a = this.clonePosition();
|
2662
2662
|
if (this.bumpIf("</")) {
|
2663
2663
|
if (this.isEOF() || !Qe(this.char()))
|
2664
|
-
return this.error(y.INVALID_TAG,
|
2664
|
+
return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
|
2665
2665
|
var h = this.clonePosition(), l = this.parseTagName();
|
2666
|
-
return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG,
|
2666
|
+
return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2667
2667
|
val: {
|
2668
2668
|
type: T.tag,
|
2669
2669
|
value: i,
|
2670
2670
|
children: o,
|
2671
|
-
location:
|
2671
|
+
location: v(n, this.clonePosition())
|
2672
2672
|
},
|
2673
2673
|
err: null
|
2674
|
-
} : this.error(y.INVALID_TAG,
|
2674
|
+
} : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
|
2675
2675
|
} else
|
2676
|
-
return this.error(y.UNCLOSED_TAG,
|
2676
|
+
return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
|
2677
2677
|
} else
|
2678
|
-
return this.error(y.INVALID_TAG,
|
2678
|
+
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
2679
2679
|
}, e.prototype.parseTagName = function() {
|
2680
2680
|
var t = this.offset();
|
2681
2681
|
for (this.bump(); !this.isEOF() && zn(this.char()); )
|
@@ -2700,7 +2700,7 @@ var Xn = (
|
|
2700
2700
|
}
|
2701
2701
|
break;
|
2702
2702
|
}
|
2703
|
-
var h =
|
2703
|
+
var h = v(n, this.clonePosition());
|
2704
2704
|
return {
|
2705
2705
|
val: { type: T.literal, value: i, location: h },
|
2706
2706
|
err: null
|
@@ -2750,14 +2750,14 @@ var Xn = (
|
|
2750
2750
|
}, e.prototype.parseArgument = function(t, r) {
|
2751
2751
|
var n = this.clonePosition();
|
2752
2752
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
2753
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
2753
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
2754
2754
|
if (this.char() === 125)
|
2755
|
-
return this.bump(), this.error(y.EMPTY_ARGUMENT,
|
2755
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
|
2756
2756
|
var i = this.parseIdentifierIfPossible().value;
|
2757
2757
|
if (!i)
|
2758
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
2758
|
+
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
2759
2759
|
if (this.bumpSpace(), this.isEOF())
|
2760
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
2760
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
2761
2761
|
switch (this.char()) {
|
2762
2762
|
case 125:
|
2763
2763
|
return this.bump(), {
|
@@ -2765,25 +2765,25 @@ var Xn = (
|
|
2765
2765
|
type: T.argument,
|
2766
2766
|
// value does not include the opening and closing braces.
|
2767
2767
|
value: i,
|
2768
|
-
location:
|
2768
|
+
location: v(n, this.clonePosition())
|
2769
2769
|
},
|
2770
2770
|
err: null
|
2771
2771
|
};
|
2772
2772
|
case 44:
|
2773
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
2773
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
2774
2774
|
default:
|
2775
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
2775
|
+
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
2776
2776
|
}
|
2777
2777
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2778
2778
|
var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
|
2779
2779
|
this.bumpTo(i);
|
2780
|
-
var s = this.clonePosition(), o =
|
2780
|
+
var s = this.clonePosition(), o = v(t, s);
|
2781
2781
|
return { value: n, location: o };
|
2782
2782
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
2783
2783
|
var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
2784
2784
|
switch (a) {
|
2785
2785
|
case "":
|
2786
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE,
|
2786
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, v(o, h));
|
2787
2787
|
case "number":
|
2788
2788
|
case "date":
|
2789
2789
|
case "time": {
|
@@ -2796,14 +2796,14 @@ var Xn = (
|
|
2796
2796
|
return m;
|
2797
2797
|
var f = Vn(m.val);
|
2798
2798
|
if (f.length === 0)
|
2799
|
-
return this.error(y.EXPECT_ARGUMENT_STYLE,
|
2800
|
-
var p =
|
2799
|
+
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
2800
|
+
var p = v(u, this.clonePosition());
|
2801
2801
|
l = { style: f, styleLocation: p };
|
2802
2802
|
}
|
2803
2803
|
var g = this.tryParseArgumentClose(i);
|
2804
2804
|
if (g.err)
|
2805
2805
|
return g;
|
2806
|
-
var b =
|
2806
|
+
var b = v(i, this.clonePosition());
|
2807
2807
|
if (l && pt(l?.style, "::", 0)) {
|
2808
2808
|
var d = jn(l.style.slice(2));
|
2809
2809
|
if (a === "number") {
|
@@ -2844,12 +2844,12 @@ var Xn = (
|
|
2844
2844
|
case "select": {
|
2845
2845
|
var S = this.clonePosition();
|
2846
2846
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2847
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
2847
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(S, _({}, S)));
|
2848
2848
|
this.bumpSpace();
|
2849
2849
|
var R = this.parseIdentifierIfPossible(), D = 0;
|
2850
2850
|
if (a !== "select" && R.value === "offset") {
|
2851
2851
|
if (!this.bumpIf(":"))
|
2852
|
-
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
2852
|
+
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
2853
2853
|
this.bumpSpace();
|
2854
2854
|
var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2855
2855
|
if (m.err)
|
@@ -2862,7 +2862,7 @@ var Xn = (
|
|
2862
2862
|
var g = this.tryParseArgumentClose(i);
|
2863
2863
|
if (g.err)
|
2864
2864
|
return g;
|
2865
|
-
var w =
|
2865
|
+
var w = v(i, this.clonePosition());
|
2866
2866
|
return a === "select" ? {
|
2867
2867
|
val: {
|
2868
2868
|
type: T.select,
|
@@ -2884,10 +2884,10 @@ var Xn = (
|
|
2884
2884
|
};
|
2885
2885
|
}
|
2886
2886
|
default:
|
2887
|
-
return this.error(y.INVALID_ARGUMENT_TYPE,
|
2887
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, v(o, h));
|
2888
2888
|
}
|
2889
2889
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
2890
|
-
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
2890
|
+
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
2891
2891
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
2892
2892
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
2893
2893
|
var n = this.char();
|
@@ -2896,7 +2896,7 @@ var Xn = (
|
|
2896
2896
|
this.bump();
|
2897
2897
|
var i = this.clonePosition();
|
2898
2898
|
if (!this.bumpUntil("'"))
|
2899
|
-
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
2899
|
+
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
|
2900
2900
|
this.bump();
|
2901
2901
|
break;
|
2902
2902
|
}
|
@@ -2947,7 +2947,7 @@ var Xn = (
|
|
2947
2947
|
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
2948
2948
|
if (f.err)
|
2949
2949
|
return f;
|
2950
|
-
u =
|
2950
|
+
u = v(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
|
2951
2951
|
} else
|
2952
2952
|
break;
|
2953
2953
|
}
|
@@ -2956,7 +2956,7 @@ var Xn = (
|
|
2956
2956
|
l === "other" && (o = !0), this.bumpSpace();
|
2957
2957
|
var p = this.clonePosition();
|
2958
2958
|
if (!this.bumpIf("{"))
|
2959
|
-
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
2959
|
+
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
2960
2960
|
var g = this.parseMessage(t + 1, r, n);
|
2961
2961
|
if (g.err)
|
2962
2962
|
return g;
|
@@ -2967,11 +2967,11 @@ var Xn = (
|
|
2967
2967
|
l,
|
2968
2968
|
{
|
2969
2969
|
value: g.val,
|
2970
|
-
location:
|
2970
|
+
location: v(p, this.clonePosition())
|
2971
2971
|
}
|
2972
2972
|
]), h.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, u = s.location;
|
2973
2973
|
}
|
2974
|
-
return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
2974
|
+
return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
2975
2975
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
2976
2976
|
var n = 1, i = this.clonePosition();
|
2977
2977
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
@@ -2982,7 +2982,7 @@ var Xn = (
|
|
2982
2982
|
else
|
2983
2983
|
break;
|
2984
2984
|
}
|
2985
|
-
var h =
|
2985
|
+
var h = v(i, this.clonePosition());
|
2986
2986
|
return s ? (o *= n, kn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
2987
2987
|
}, e.prototype.offset = function() {
|
2988
2988
|
return this.position.offset;
|
@@ -3073,7 +3073,7 @@ function qe(e) {
|
|
3073
3073
|
});
|
3074
3074
|
}
|
3075
3075
|
function Qn(e, t) {
|
3076
|
-
t === void 0 && (t = {}), t =
|
3076
|
+
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3077
3077
|
var r = new Xn(e, t).parse();
|
3078
3078
|
if (r.err) {
|
3079
3079
|
var n = SyntaxError(y[r.err.kind]);
|
@@ -3165,7 +3165,7 @@ function we(e, t, r, n, i, s, o) {
|
|
3165
3165
|
if (!(i && m in i))
|
3166
3166
|
throw new Jn(m, o);
|
3167
3167
|
var f = i[m];
|
3168
|
-
if (
|
3168
|
+
if (_n(u)) {
|
3169
3169
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3170
3170
|
type: typeof f == "string" ? O.literal : O.object,
|
3171
3171
|
value: f
|
@@ -3236,14 +3236,14 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3236
3236
|
return Yn(a);
|
3237
3237
|
}
|
3238
3238
|
function ei(e, t) {
|
3239
|
-
return t ?
|
3240
|
-
return r[n] =
|
3239
|
+
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3240
|
+
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
3241
3241
|
}, {})) : e;
|
3242
3242
|
}
|
3243
3243
|
function ti(e, t) {
|
3244
3244
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3245
3245
|
return r[n] = ei(e[n], t[n]), r;
|
3246
|
-
},
|
3246
|
+
}, _({}, e)) : e;
|
3247
3247
|
}
|
3248
3248
|
function Ue(e) {
|
3249
3249
|
return {
|
@@ -3324,7 +3324,7 @@ var ni = (
|
|
3324
3324
|
var o = i || {};
|
3325
3325
|
o.formatters;
|
3326
3326
|
var a = fn(o, ["formatters"]);
|
3327
|
-
this.ast = e.__parse(t,
|
3327
|
+
this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
|
3328
3328
|
} else
|
3329
3329
|
this.ast = t;
|
3330
3330
|
if (!Array.isArray(this.ast))
|
@@ -3550,12 +3550,12 @@ function ie() {
|
|
3550
3550
|
return di;
|
3551
3551
|
}
|
3552
3552
|
const ke = Ie(!1);
|
3553
|
-
var pi = Object.defineProperty, gi = Object.defineProperties, bi = Object.getOwnPropertyDescriptors,
|
3553
|
+
var pi = Object.defineProperty, gi = Object.defineProperties, bi = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => {
|
3554
3554
|
for (var r in t || (t = {}))
|
3555
|
-
yi.call(t, r) &&
|
3556
|
-
if (
|
3557
|
-
for (var r of
|
3558
|
-
|
3555
|
+
yi.call(t, r) && _t(e, r, t[r]);
|
3556
|
+
if (vt)
|
3557
|
+
for (var r of vt(t))
|
3558
|
+
vi.call(t, r) && _t(e, r, t[r]);
|
3559
3559
|
return e;
|
3560
3560
|
}, Ei = (e, t) => gi(e, bi(t));
|
3561
3561
|
let Ye;
|
@@ -3587,7 +3587,7 @@ const xi = (e) => {
|
|
3587
3587
|
});
|
3588
3588
|
}
|
3589
3589
|
return Te.set(e);
|
3590
|
-
}, X = Ei(
|
3590
|
+
}, X = Ei(_i({}, Te), {
|
3591
3591
|
set: xi
|
3592
3592
|
}), Pe = (e) => {
|
3593
3593
|
const t = /* @__PURE__ */ Object.create(null);
|
@@ -4193,7 +4193,7 @@ function $i(e, t, r) {
|
|
4193
4193
|
});
|
4194
4194
|
let P, w, M, L, G, le = [], be = [], ye = [], $, Oe = (c, E, N, W, j) => {
|
4195
4195
|
if (!(c.subGroups && W === null)) {
|
4196
|
-
if (
|
4196
|
+
if (ve(), r(6, w = E), r(6, w), j != "secondary") {
|
4197
4197
|
window.postMessage(
|
4198
4198
|
{
|
4199
4199
|
type: o == "CategoryChange" ? "CategoryChange" : "NavigateTo",
|
@@ -4243,16 +4243,16 @@ function $i(e, t, r) {
|
|
4243
4243
|
},
|
4244
4244
|
window.location.href
|
4245
4245
|
);
|
4246
|
-
const
|
4246
|
+
const _e = [];
|
4247
4247
|
be.map((wr) => (wr.items.forEach((st) => {
|
4248
|
-
|
4249
|
-
}),
|
4248
|
+
_e.find((Hr) => st.id == Hr) || _e.push(st.id);
|
4249
|
+
}), _e.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: _e }, window.location.href);
|
4250
4250
|
}).then(() => {
|
4251
|
-
P.querySelectorAll(".DropDown") &&
|
4251
|
+
P.querySelectorAll(".DropDown") && ve();
|
4252
4252
|
});
|
4253
4253
|
}
|
4254
4254
|
h == "headerMain" && window.postMessage({ type: o, item: c }, window.location.href);
|
4255
|
-
},
|
4255
|
+
}, ve = () => {
|
4256
4256
|
const c = P.querySelectorAll(".DropDown");
|
4257
4257
|
document.activeElement.blur(), $.classList.add("isScrolling");
|
4258
4258
|
for (let E = 0; E < c.length; E++)
|
@@ -4281,18 +4281,18 @@ function $i(e, t, r) {
|
|
4281
4281
|
};
|
4282
4282
|
Lr(() => (window.addEventListener("message", ot, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
4283
4283
|
() => {
|
4284
|
-
$.addEventListener("scroll",
|
4284
|
+
$.addEventListener("scroll", ve);
|
4285
4285
|
},
|
4286
4286
|
500
|
4287
4287
|
), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
|
4288
|
-
window.removeEventListener("message", ot), P.removeEventListener("scroll",
|
4288
|
+
window.removeEventListener("message", ot), P.removeEventListener("scroll", ve);
|
4289
4289
|
}));
|
4290
4290
|
const br = () => nt(), yr = (c, E, N, W, j) => {
|
4291
4291
|
Oe(c, E, N, W, "secondary"), j.stopPropagation();
|
4292
|
-
},
|
4292
|
+
}, vr = (c, E, N) => {
|
4293
4293
|
Oe(c, E, null, null, "main"), N.preventDefault();
|
4294
4294
|
};
|
4295
|
-
function
|
4295
|
+
function _r(c) {
|
4296
4296
|
ce[c ? "unshift" : "push"](() => {
|
4297
4297
|
P = c, r(5, P);
|
4298
4298
|
});
|
@@ -4351,8 +4351,8 @@ function $i(e, t, r) {
|
|
4351
4351
|
R,
|
4352
4352
|
br,
|
4353
4353
|
yr,
|
4354
|
-
_r,
|
4355
4354
|
vr,
|
4355
|
+
_r,
|
4356
4356
|
Er,
|
4357
4357
|
xr,
|
4358
4358
|
Cr
|