@everymatrix/casino-search 1.94.56 → 1.94.58
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/{CasinoGameThumbnail-Bi5AHHzj.js → CasinoGameThumbnail-CHWKXbEA.js} +1 -1
- package/components/{CasinoGameThumbnail-Be9Kkkrr.js → CasinoGameThumbnail-CkmC9Ibv.js} +1 -1
- package/components/{CasinoGameThumbnail-0cPu_cTV.cjs → CasinoGameThumbnail-TDEcfPzh.cjs} +1 -1
- package/components/{CasinoSearch-DPcvWdoQ.cjs → CasinoSearch-BhPK_XqJ.cjs} +2 -2
- package/components/{CasinoSearch-BNm3Msnp.js → CasinoSearch-DJkurJZy.js} +78 -78
- package/components/{CasinoSearch-CCHaKGsz.js → CasinoSearch-Dg4_Hdz9.js} +98 -98
- package/es2015/casino-search.cjs +1 -1
- package/es2015/casino-search.js +1 -1
- package/esnext/casino-search.js +1 -1
- package/package.json +1 -1
|
@@ -40,7 +40,7 @@ function x(e, t) {
|
|
|
40
40
|
function bn(e, t, r) {
|
|
41
41
|
const n = yn(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
|
-
const i =
|
|
43
|
+
const i = A("style");
|
|
44
44
|
i.id = t, i.textContent = r, vn(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -71,7 +71,7 @@ function _n(e, t) {
|
|
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
|
72
72
|
e[r] && e[r].d(t);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function A(e) {
|
|
75
75
|
return document.createElement(e);
|
|
76
76
|
}
|
|
77
77
|
function nt(e) {
|
|
@@ -143,7 +143,7 @@ class aa {
|
|
|
143
143
|
this.e || (this.is_svg ? this.e = nt(
|
|
144
144
|
/** @type {keyof SVGElementTagNameMap} */
|
|
145
145
|
r.nodeName
|
|
146
|
-
) : this.e =
|
|
146
|
+
) : this.e = A(
|
|
147
147
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
148
148
|
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
149
149
|
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
@@ -354,7 +354,7 @@ typeof HTMLElement == "function" && (_r = class extends HTMLElement {
|
|
|
354
354
|
let o;
|
|
355
355
|
return {
|
|
356
356
|
c: function() {
|
|
357
|
-
o =
|
|
357
|
+
o = A("slot"), i !== "default" && b(o, "name", i);
|
|
358
358
|
},
|
|
359
359
|
/**
|
|
360
360
|
* @param {HTMLElement} target
|
|
@@ -583,8 +583,8 @@ function me(e, t, r) {
|
|
|
583
583
|
}, m = i.map(
|
|
584
584
|
(p, v) => gr(
|
|
585
585
|
p,
|
|
586
|
-
(
|
|
587
|
-
l[v] =
|
|
586
|
+
(C) => {
|
|
587
|
+
l[v] = C, h &= ~(1 << v), u && d();
|
|
588
588
|
},
|
|
589
589
|
() => {
|
|
590
590
|
h |= 1 << v;
|
|
@@ -907,15 +907,15 @@ function hi(e) {
|
|
|
907
907
|
return "";
|
|
908
908
|
}), t;
|
|
909
909
|
}
|
|
910
|
-
var
|
|
911
|
-
return
|
|
910
|
+
var B = function() {
|
|
911
|
+
return B = Object.assign || function(t) {
|
|
912
912
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
913
913
|
r = arguments[n];
|
|
914
914
|
for (var o in r)
|
|
915
915
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
916
916
|
}
|
|
917
917
|
return t;
|
|
918
|
-
},
|
|
918
|
+
}, B.apply(this, arguments);
|
|
919
919
|
};
|
|
920
920
|
var ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
921
921
|
function fi(e) {
|
|
@@ -1039,13 +1039,13 @@ function gi(e) {
|
|
|
1039
1039
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1040
1040
|
continue;
|
|
1041
1041
|
case "scientific":
|
|
1042
|
-
t =
|
|
1043
|
-
return
|
|
1042
|
+
t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
|
1043
|
+
return B(B({}, u), Ut(l));
|
|
1044
1044
|
}, {}));
|
|
1045
1045
|
continue;
|
|
1046
1046
|
case "engineering":
|
|
1047
|
-
t =
|
|
1048
|
-
return
|
|
1047
|
+
t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
|
1048
|
+
return B(B({}, u), Ut(l));
|
|
1049
1049
|
}, {}));
|
|
1050
1050
|
continue;
|
|
1051
1051
|
case "notation-simple":
|
|
@@ -1114,17 +1114,17 @@ function gi(e) {
|
|
|
1114
1114
|
return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : d && m ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1115
1115
|
});
|
|
1116
1116
|
var o = i.options[0];
|
|
1117
|
-
o === "w" ? t =
|
|
1117
|
+
o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), Ft(o)));
|
|
1118
1118
|
continue;
|
|
1119
1119
|
}
|
|
1120
1120
|
if (Lr.test(i.stem)) {
|
|
1121
|
-
t =
|
|
1121
|
+
t = B(B({}, t), Ft(i.stem));
|
|
1122
1122
|
continue;
|
|
1123
1123
|
}
|
|
1124
1124
|
var a = Nr(i.stem);
|
|
1125
|
-
a && (t =
|
|
1125
|
+
a && (t = B(B({}, t), a));
|
|
1126
1126
|
var s = pi(i.stem);
|
|
1127
|
-
s && (t =
|
|
1127
|
+
s && (t = B(B({}, t), s));
|
|
1128
1128
|
}
|
|
1129
1129
|
return t;
|
|
1130
1130
|
}
|
|
@@ -2894,18 +2894,18 @@ var Li = (
|
|
|
2894
2894
|
return p;
|
|
2895
2895
|
var v = _(i, this.clonePosition());
|
|
2896
2896
|
if (l && kt(l?.style, "::", 0)) {
|
|
2897
|
-
var
|
|
2897
|
+
var C = Ci(l.style.slice(2));
|
|
2898
2898
|
if (s === "number") {
|
|
2899
|
-
var c = this.parseNumberSkeletonFromString(
|
|
2899
|
+
var c = this.parseNumberSkeletonFromString(C, l.styleLocation);
|
|
2900
2900
|
return c.err ? c : {
|
|
2901
2901
|
val: { type: T.number, value: n, location: v, style: c.val },
|
|
2902
2902
|
err: null
|
|
2903
2903
|
};
|
|
2904
2904
|
} else {
|
|
2905
|
-
if (
|
|
2905
|
+
if (C.length === 0)
|
|
2906
2906
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, v);
|
|
2907
|
-
var U =
|
|
2908
|
-
this.locale && (U = bi(
|
|
2907
|
+
var U = C;
|
|
2908
|
+
this.locale && (U = bi(C, this.locale));
|
|
2909
2909
|
var d = {
|
|
2910
2910
|
type: le.dateTime,
|
|
2911
2911
|
pattern: U,
|
|
@@ -3287,10 +3287,10 @@ function Ne(e, t, r, n, i, o, a) {
|
|
|
3287
3287
|
continue;
|
|
3288
3288
|
}
|
|
3289
3289
|
if (Pr(h)) {
|
|
3290
|
-
var p = h.children, v = h.value,
|
|
3291
|
-
if (!Ui(
|
|
3290
|
+
var p = h.children, v = h.value, C = i[v];
|
|
3291
|
+
if (!Ui(C))
|
|
3292
3292
|
throw new Di(v, "function", a);
|
|
3293
|
-
var U = Ne(p, t, r, n, i, o), k =
|
|
3293
|
+
var U = Ne(p, t, r, n, i, o), k = C(U.map(function(S) {
|
|
3294
3294
|
return S.value;
|
|
3295
3295
|
}));
|
|
3296
3296
|
Array.isArray(k) || (k = [k]), s.push.apply(s, k.map(function(S) {
|
|
@@ -4575,7 +4575,7 @@ if (typeof window < "u") {
|
|
|
4575
4575
|
}
|
|
4576
4576
|
};
|
|
4577
4577
|
};
|
|
4578
|
-
customElements.define = e(customElements.define), import("./CasinoGameThumbnail-
|
|
4578
|
+
customElements.define = e(customElements.define), import("./CasinoGameThumbnail-CHWKXbEA.js").then(({ default: t }) => {
|
|
4579
4579
|
!customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", t.element);
|
|
4580
4580
|
});
|
|
4581
4581
|
}
|
|
@@ -4623,7 +4623,7 @@ function ar(e) {
|
|
|
4623
4623
|
), n, i, o, a;
|
|
4624
4624
|
return {
|
|
4625
4625
|
c() {
|
|
4626
|
-
t =
|
|
4626
|
+
t = A("small"), n = Y(r), b(t, "class", i = "SearchCancelButton " + /*searchCancelled*/
|
|
4627
4627
|
(e[16] ? "NotVisible" : ""));
|
|
4628
4628
|
},
|
|
4629
4629
|
m(s, u) {
|
|
@@ -4671,7 +4671,7 @@ function Zo(e) {
|
|
|
4671
4671
|
);
|
|
4672
4672
|
return {
|
|
4673
4673
|
c() {
|
|
4674
|
-
s && s.c(), t = W(), r =
|
|
4674
|
+
s && s.c(), t = W(), r = A("div"), u && u.c(), n = W(), l && l.c(), b(r, "class", i = "SearchResultsContainer " + /*searchActive*/
|
|
4675
4675
|
(e[17] == !0 ? "" : "NotVisible"));
|
|
4676
4676
|
},
|
|
4677
4677
|
m(h, c) {
|
|
@@ -4697,7 +4697,7 @@ function Jo(e) {
|
|
|
4697
4697
|
), n;
|
|
4698
4698
|
return {
|
|
4699
4699
|
c() {
|
|
4700
|
-
t =
|
|
4700
|
+
t = A("p"), n = Y(r), b(t, "class", "LoadingContent");
|
|
4701
4701
|
},
|
|
4702
4702
|
m(i, o) {
|
|
4703
4703
|
M(i, t, o), x(t, n);
|
|
@@ -4719,7 +4719,7 @@ function Yo(e) {
|
|
|
4719
4719
|
), n;
|
|
4720
4720
|
return {
|
|
4721
4721
|
c() {
|
|
4722
|
-
t =
|
|
4722
|
+
t = A("p"), n = Y(r), b(t, "class", "SearchMessage");
|
|
4723
4723
|
},
|
|
4724
4724
|
m(i, o) {
|
|
4725
4725
|
M(i, t, o), x(t, n);
|
|
@@ -4766,7 +4766,7 @@ function sr(e) {
|
|
|
4766
4766
|
), n;
|
|
4767
4767
|
return {
|
|
4768
4768
|
c() {
|
|
4769
|
-
t =
|
|
4769
|
+
t = A("p"), n = Y(r), b(t, "class", "SearchMessage");
|
|
4770
4770
|
},
|
|
4771
4771
|
m(i, o) {
|
|
4772
4772
|
M(i, t, o), x(t, n);
|
|
@@ -4791,7 +4791,7 @@ function ur(e) {
|
|
|
4791
4791
|
);
|
|
4792
4792
|
return {
|
|
4793
4793
|
c() {
|
|
4794
|
-
t =
|
|
4794
|
+
t = A("div"), s && s.c(), r = W(), n = A("p"), o = Y(i), b(n, "class", "SearchMessage"), b(t, "class", a = "ResultsContainerError " + /*notfoundicon*/
|
|
4795
4795
|
(e[10] == "true" ? "WithIcon" : ""));
|
|
4796
4796
|
},
|
|
4797
4797
|
m(u, l) {
|
|
@@ -4814,7 +4814,7 @@ function lr(e) {
|
|
|
4814
4814
|
let t;
|
|
4815
4815
|
return {
|
|
4816
4816
|
c() {
|
|
4817
|
-
t =
|
|
4817
|
+
t = A("div"), t.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', b(t, "class", "SearchErrorIcon");
|
|
4818
4818
|
},
|
|
4819
4819
|
m(r, n) {
|
|
4820
4820
|
M(r, t, n);
|
|
@@ -4868,7 +4868,7 @@ function cr(e) {
|
|
|
4868
4868
|
let t, r, n, i, o, a, s, u, l, h, c, d;
|
|
4869
4869
|
return {
|
|
4870
4870
|
c() {
|
|
4871
|
-
t =
|
|
4871
|
+
t = A("casino-game-thumbnail"), g(
|
|
4872
4872
|
t,
|
|
4873
4873
|
"endpoint",
|
|
4874
4874
|
/*endpoint*/
|
|
@@ -5073,7 +5073,7 @@ function fr(e) {
|
|
|
5073
5073
|
);
|
|
5074
5074
|
return {
|
|
5075
5075
|
c() {
|
|
5076
|
-
t =
|
|
5076
|
+
t = A("div"), c && c.c(), r = W(), n = A("p"), o = Y(i), a = W(), s = A("p"), l = Y(u), b(n, "class", "SearchMessage"), b(t, "class", h = "ResultsContainerError " + /*notfoundicon*/
|
|
5077
5077
|
(e[10] == "true" ? "WithIcon" : ""));
|
|
5078
5078
|
},
|
|
5079
5079
|
m(d, m) {
|
|
@@ -5098,7 +5098,7 @@ function dr(e) {
|
|
|
5098
5098
|
let t;
|
|
5099
5099
|
return {
|
|
5100
5100
|
c() {
|
|
5101
|
-
t =
|
|
5101
|
+
t = A("div"), t.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', b(t, "class", "SearchErrorIcon");
|
|
5102
5102
|
},
|
|
5103
5103
|
m(r, n) {
|
|
5104
5104
|
M(r, t, n);
|
|
@@ -5109,7 +5109,7 @@ function dr(e) {
|
|
|
5109
5109
|
};
|
|
5110
5110
|
}
|
|
5111
5111
|
function Ko(e) {
|
|
5112
|
-
let t, r, n, i, o, a, s, u, l, h, c, d, m, p, v,
|
|
5112
|
+
let t, r, n, i, o, a, s, u, l, h, c, d, m, p, v, C, U, k, L, j, S = (
|
|
5113
5113
|
/*cancelbutton*/
|
|
5114
5114
|
e[9] === "true" && ar(e)
|
|
5115
5115
|
);
|
|
@@ -5119,14 +5119,14 @@ function Ko(e) {
|
|
|
5119
5119
|
w[18] ? Jo : Zo
|
|
5120
5120
|
);
|
|
5121
5121
|
}
|
|
5122
|
-
let V = D(e),
|
|
5122
|
+
let V = D(e), O = V(e);
|
|
5123
5123
|
return {
|
|
5124
5124
|
c() {
|
|
5125
|
-
t =
|
|
5125
|
+
t = A("div"), r = A("div"), n = A("div"), i = A("div"), i.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', o = W(), a = A("input"), u = W(), l = A("span"), h = nt("svg"), c = nt("path"), m = W(), S && S.c(), v = W(), C = A("div"), k = W(), O.c(), b(i, "class", "SearchIcon"), b(a, "class", "SearchInput"), b(a, "type", "search"), b(a, "placeholder", s = /*$_*/
|
|
5126
5126
|
e[21]("placeHolderSearchGames")), b(a, "maxlength", ea), b(c, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), b(c, "stroke", "#717171"), b(c, "stroke-width", "2"), b(c, "stroke-linecap", "round"), b(c, "stroke-linejoin", "round"), b(h, "width", "11"), b(h, "height", "11"), b(h, "fill", "none"), b(h, "xmlns", "http://www.w3.org/2000/svg"), b(l, "class", d = "SearchClearButton " + /*cancelbutton*/
|
|
5127
5127
|
(e[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
5128
5128
|
(e[14].length != 0 ? "" : "NotVisible")), b(n, "class", p = "Search " + /*searchCancelled*/
|
|
5129
|
-
(e[16] ? "" : "SearchAnimation")), b(r, "class", "SearchWrap"), b(
|
|
5129
|
+
(e[16] ? "" : "SearchAnimation")), b(r, "class", "SearchWrap"), b(C, "class", U = /*cancelbutton*/
|
|
5130
5130
|
e[9] != "true" ? "OverlayCancel" : ""), b(t, "class", (Et(
|
|
5131
5131
|
/*userAgent*/
|
|
5132
5132
|
e[22]
|
|
@@ -5137,7 +5137,7 @@ function Ko(e) {
|
|
|
5137
5137
|
a,
|
|
5138
5138
|
/*searchValue*/
|
|
5139
5139
|
e[14]
|
|
5140
|
-
), e[35](a), x(n, u), x(n, l), x(l, h), x(h, c), x(n, m), S && S.m(n, null), x(t, v), x(t,
|
|
5140
|
+
), e[35](a), x(n, u), x(n, l), x(l, h), x(h, c), x(n, m), S && S.m(n, null), x(t, v), x(t, C), x(t, k), O.m(t, null), e[38](t), L || (j = [
|
|
5141
5141
|
ie(
|
|
5142
5142
|
a,
|
|
5143
5143
|
"input",
|
|
@@ -5163,7 +5163,7 @@ function Ko(e) {
|
|
|
5163
5163
|
e[36]
|
|
5164
5164
|
),
|
|
5165
5165
|
ie(
|
|
5166
|
-
|
|
5166
|
+
C,
|
|
5167
5167
|
"click",
|
|
5168
5168
|
/*handleOverlay*/
|
|
5169
5169
|
e[24]
|
|
@@ -5187,12 +5187,12 @@ function Ko(e) {
|
|
|
5187
5187
|
65536 && p !== (p = "Search " + /*searchCancelled*/
|
|
5188
5188
|
(w[16] ? "" : "SearchAnimation")) && b(n, "class", p), G[0] & /*cancelbutton*/
|
|
5189
5189
|
512 && U !== (U = /*cancelbutton*/
|
|
5190
|
-
w[9] != "true" ? "OverlayCancel" : "") && b(
|
|
5190
|
+
w[9] != "true" ? "OverlayCancel" : "") && b(C, "class", U), V === (V = D(w)) && O ? O.p(w, G) : (O.d(1), O = V(w), O && (O.c(), O.m(t, null)));
|
|
5191
5191
|
},
|
|
5192
5192
|
i: X,
|
|
5193
5193
|
o: X,
|
|
5194
5194
|
d(w) {
|
|
5195
|
-
w && N(t), e[35](null), S && S.d(),
|
|
5195
|
+
w && N(t), e[35](null), S && S.d(), O.d(), e[38](null), L = !1, de(j);
|
|
5196
5196
|
}
|
|
5197
5197
|
};
|
|
5198
5198
|
}
|
|
@@ -5200,11 +5200,11 @@ let ea = 50;
|
|
|
5200
5200
|
function ta(e, t, r) {
|
|
5201
5201
|
let n;
|
|
5202
5202
|
gn(e, wo, (f) => r(21, n = f));
|
|
5203
|
-
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { session: a = "" } = t, { userid: s = "" } = t, { lang: u = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { integratedgameframedesktop: c = "false" } = t, { integratedgameframemobile: d = "false" } = t, { showgamename: m = "" } = t, { gamepagemodalurl: p = "true" } = t, { translationurl: v = "" } = t, { showfavorites:
|
|
5203
|
+
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { session: a = "" } = t, { userid: s = "" } = t, { lang: u = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { integratedgameframedesktop: c = "false" } = t, { integratedgameframemobile: d = "false" } = t, { showgamename: m = "" } = t, { gamepagemodalurl: p = "true" } = t, { translationurl: v = "" } = t, { showfavorites: C = "" } = t, { cancelbutton: U = "true" } = t, { notfoundicon: k = "false" } = t, { mbsource: L } = t, j = window.navigator.userAgent, S = [], D = [], V = {}, O = "", w, G = !0, be = !1, z = !1, Z, He = !1, Ae, Be, Ht = [], Yr;
|
|
5204
5204
|
const Qr = () => {
|
|
5205
5205
|
fetch(v).then((E) => E.json()).then((E) => {
|
|
5206
|
-
Object.keys(E).forEach((
|
|
5207
|
-
Zt(
|
|
5206
|
+
Object.keys(E).forEach((P) => {
|
|
5207
|
+
Zt(P, E[P]);
|
|
5208
5208
|
});
|
|
5209
5209
|
}).catch((E) => {
|
|
5210
5210
|
console.log(E);
|
|
@@ -5216,17 +5216,17 @@ function ta(e, t, r) {
|
|
|
5216
5216
|
const At = (f) => {
|
|
5217
5217
|
f.data && f.data.type == "SearchedItemClicked" && an(f.data.gameId), f.data.type == "UserSessionID" && (r(19, Ae = f.data.session), r(20, Be = f.data.userid), r(33, He = !0)), f.data.type == "CategoryChange" && Pe();
|
|
5218
5218
|
}, Bt = () => {
|
|
5219
|
-
if (r(16, G = !1), r(17, be = !0), i && o && u &&
|
|
5219
|
+
if (r(16, G = !1), r(17, be = !0), i && o && u && O.length < 2) {
|
|
5220
5220
|
r(13, S = []);
|
|
5221
5221
|
let f = localStorage.getItem("searchedGamesWds_casino"), E = [];
|
|
5222
5222
|
f && (E = f.split(","));
|
|
5223
|
-
let
|
|
5223
|
+
let P = [], H = 0, R = E.length;
|
|
5224
5224
|
if (R > 0) {
|
|
5225
|
-
for (
|
|
5226
|
-
let $ = new URL(`${i}/v1/casino/games/${E[
|
|
5227
|
-
$.searchParams.append("language", u), $.searchParams.append("datasource", o), $.searchParams.append("platform", Et(j)),
|
|
5225
|
+
for (H = 0; H < R; H++) {
|
|
5226
|
+
let $ = new URL(`${i}/v1/casino/games/${E[H]}`);
|
|
5227
|
+
$.searchParams.append("language", u), $.searchParams.append("datasource", o), $.searchParams.append("platform", Et(j)), P.push(tn($, E[H]));
|
|
5228
5228
|
}
|
|
5229
|
-
Promise.all(
|
|
5229
|
+
Promise.all(P).then(($) => {
|
|
5230
5230
|
$ = $.filter(function(K) {
|
|
5231
5231
|
return !!K;
|
|
5232
5232
|
}), r(13, S = $.map((K) => (K.isFavorite = Pt(K.id), K))), S.length ? ye("searchSuccess", "SearchWidget") : ye("searchFail", "SearchWidget");
|
|
@@ -5240,17 +5240,17 @@ function ta(e, t, r) {
|
|
|
5240
5240
|
typeof gtag == "function" && gtag("event", f, { context: E });
|
|
5241
5241
|
}, Kr = () => {
|
|
5242
5242
|
U != "true" && Pe();
|
|
5243
|
-
}, en = (f) => new Promise((E,
|
|
5244
|
-
r(18, z = !0), fetch(f.href).then((
|
|
5245
|
-
r(18, z = !1), E(
|
|
5246
|
-
}).catch((
|
|
5247
|
-
r(18, z = !1), console.error(
|
|
5243
|
+
}, en = (f) => new Promise((E, P) => {
|
|
5244
|
+
r(18, z = !0), fetch(f.href).then((H) => H.json()).then((H) => {
|
|
5245
|
+
r(18, z = !1), E(H);
|
|
5246
|
+
}).catch((H) => {
|
|
5247
|
+
r(18, z = !1), console.error(H), P(H);
|
|
5248
5248
|
});
|
|
5249
|
-
}), tn = (f, E) => new Promise((
|
|
5250
|
-
r(18, z = !0), E && Object.keys(V).indexOf(E) >= 0 ? (r(18, z = !1),
|
|
5251
|
-
r(18, z = !1), R.error || (V[R[0].gameId] = R[0]),
|
|
5249
|
+
}), tn = (f, E) => new Promise((P, H) => {
|
|
5250
|
+
r(18, z = !0), E && Object.keys(V).indexOf(E) >= 0 ? (r(18, z = !1), P(V[E])) : fetch(f).then((R) => R.json()).then((R) => {
|
|
5251
|
+
r(18, z = !1), R.error || (V[R[0].gameId] = R[0]), P(R[0]);
|
|
5252
5252
|
}).catch((R) => {
|
|
5253
|
-
r(18, z = !1), console.error(R),
|
|
5253
|
+
r(18, z = !1), console.error(R), H(R);
|
|
5254
5254
|
});
|
|
5255
5255
|
}), rn = () => {
|
|
5256
5256
|
const f = new URL(`${i}/v1/player/${Be}/favorites/`);
|
|
@@ -5259,19 +5259,19 @@ function ta(e, t, r) {
|
|
|
5259
5259
|
method: "GET",
|
|
5260
5260
|
headers: { "X-SessionID": Ae }
|
|
5261
5261
|
};
|
|
5262
|
-
fetch(f.href, E).then((
|
|
5263
|
-
r(18, z = !1), Ht =
|
|
5262
|
+
fetch(f.href, E).then((P) => P.json()).then((P) => {
|
|
5263
|
+
r(18, z = !1), Ht = P.items.map((H) => H.id);
|
|
5264
5264
|
});
|
|
5265
5265
|
}, nn = () => {
|
|
5266
5266
|
r(33, He = !0), r(19, Ae = a), r(20, Be = s);
|
|
5267
5267
|
}, Pt = (f) => Ht.findIndex((E) => E == f) !== -1, on = (f) => {
|
|
5268
5268
|
if (f?.length === 0)
|
|
5269
5269
|
return "";
|
|
5270
|
-
let E,
|
|
5270
|
+
let E, P = 99999999999, H;
|
|
5271
5271
|
const R = new Date(Date.now());
|
|
5272
5272
|
return f.forEach(($, K) => {
|
|
5273
5273
|
const mn = new Date($.schedules[0].startTime), qe = new Date($.schedules[0].endTime);
|
|
5274
|
-
ir(new Date(qe), new Date(R)) <
|
|
5274
|
+
ir(new Date(qe), new Date(R)) < P && (P = ir(new Date(qe), new Date(R)), H = K), Wo(new Date(R), new Date(mn)) && Xo(new Date(R), new Date(qe)) && (E = f[H].name);
|
|
5275
5275
|
}), E;
|
|
5276
5276
|
}, an = (f) => {
|
|
5277
5277
|
if (D = localStorage.getItem("searchedGamesWds_casino"), D ? D = D.split(",") : D = [], D.indexOf(f) === -1) {
|
|
@@ -5279,9 +5279,9 @@ function ta(e, t, r) {
|
|
|
5279
5279
|
D.unshift(f), E = D.join(","), localStorage.setItem("searchedGamesWds_casino", E);
|
|
5280
5280
|
}
|
|
5281
5281
|
}, Pe = () => {
|
|
5282
|
-
r(14,
|
|
5282
|
+
r(14, O = ""), r(16, G = !0), r(18, z = !1), r(13, S = []), r(17, be = !1), Ot(be);
|
|
5283
5283
|
}, Ct = () => {
|
|
5284
|
-
r(14,
|
|
5284
|
+
r(14, O = ""), w.focus();
|
|
5285
5285
|
}, Ot = (f) => {
|
|
5286
5286
|
window.postMessage(
|
|
5287
5287
|
{
|
|
@@ -5293,10 +5293,10 @@ function ta(e, t, r) {
|
|
|
5293
5293
|
}, sn = () => {
|
|
5294
5294
|
To(u);
|
|
5295
5295
|
}, un = zo(async () => {
|
|
5296
|
-
if (
|
|
5297
|
-
const f = new URL(`${i}/v1/casino/games`);
|
|
5298
|
-
f.searchParams.append("datasource", o), f.searchParams.append("expand", "vendor"), f.searchParams.append("platform", Et(j)), f.searchParams.append("language", u), f.searchParams.append("pagination", "offset=0,limit=30"), f.searchParams.append("filter", `name=${
|
|
5299
|
-
r(13, S =
|
|
5296
|
+
if (O.length >= 2) {
|
|
5297
|
+
const f = new URL(`${i}/v1/casino/games`), E = O.trim().split(/[\s,.]+/).filter(Boolean);
|
|
5298
|
+
f.searchParams.append("datasource", o), f.searchParams.append("expand", "vendor"), f.searchParams.append("platform", Et(j)), f.searchParams.append("language", u), f.searchParams.append("pagination", "offset=0,limit=30"), f.searchParams.append("filter", E.map((P) => `name=${P}`).join(",")), en(f).then((P) => {
|
|
5299
|
+
r(13, S = P.items.map((H) => (H.isFavorite = Pt(H.id), H)));
|
|
5300
5300
|
});
|
|
5301
5301
|
} else
|
|
5302
5302
|
G || Bt();
|
|
@@ -5305,7 +5305,7 @@ function ta(e, t, r) {
|
|
|
5305
5305
|
window.removeEventListener("message", At);
|
|
5306
5306
|
}));
|
|
5307
5307
|
function ln() {
|
|
5308
|
-
|
|
5308
|
+
O = this.value, r(14, O);
|
|
5309
5309
|
}
|
|
5310
5310
|
function hn(f) {
|
|
5311
5311
|
De[f ? "unshift" : "push"](() => {
|
|
@@ -5319,7 +5319,7 @@ function ta(e, t, r) {
|
|
|
5319
5319
|
});
|
|
5320
5320
|
}
|
|
5321
5321
|
return e.$$set = (f) => {
|
|
5322
|
-
"endpoint" in f && r(0, i = f.endpoint), "datasource" in f && r(29, o = f.datasource), "session" in f && r(30, a = f.session), "userid" in f && r(31, s = f.userid), "lang" in f && r(1, u = f.lang), "clientstyling" in f && r(2, l = f.clientstyling), "clientstylingurl" in f && r(3, h = f.clientstylingurl), "integratedgameframedesktop" in f && r(4, c = f.integratedgameframedesktop), "integratedgameframemobile" in f && r(5, d = f.integratedgameframemobile), "showgamename" in f && r(6, m = f.showgamename), "gamepagemodalurl" in f && r(7, p = f.gamepagemodalurl), "translationurl" in f && r(32, v = f.translationurl), "showfavorites" in f && r(8,
|
|
5322
|
+
"endpoint" in f && r(0, i = f.endpoint), "datasource" in f && r(29, o = f.datasource), "session" in f && r(30, a = f.session), "userid" in f && r(31, s = f.userid), "lang" in f && r(1, u = f.lang), "clientstyling" in f && r(2, l = f.clientstyling), "clientstylingurl" in f && r(3, h = f.clientstylingurl), "integratedgameframedesktop" in f && r(4, c = f.integratedgameframedesktop), "integratedgameframemobile" in f && r(5, d = f.integratedgameframemobile), "showgamename" in f && r(6, m = f.showgamename), "gamepagemodalurl" in f && r(7, p = f.gamepagemodalurl), "translationurl" in f && r(32, v = f.translationurl), "showfavorites" in f && r(8, C = f.showfavorites), "cancelbutton" in f && r(9, U = f.cancelbutton), "notfoundicon" in f && r(10, k = f.notfoundicon), "mbsource" in f && r(11, L = f.mbsource);
|
|
5323
5323
|
}, e.$$.update = () => {
|
|
5324
5324
|
e.$$.dirty[0] & /*lang*/
|
|
5325
5325
|
2 && u && sn(), e.$$.dirty[1] & /*translationurl*/
|
|
@@ -5327,7 +5327,7 @@ function ta(e, t, r) {
|
|
|
5327
5327
|
1073741824 | e.$$.dirty[1] & /*userid*/
|
|
5328
5328
|
1 && a && s && nn(), e.$$.dirty[0] & /*showfavorites*/
|
|
5329
5329
|
256 | e.$$.dirty[1] & /*isLoggedIn*/
|
|
5330
|
-
4 &&
|
|
5330
|
+
4 && C && He && rn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5331
5331
|
4100 && l && Z && Uo(Z, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5332
5332
|
4104 && h && Z && ko(Z, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
5333
5333
|
6144 && Z && jo(Z, `${L}.Style`, Yr);
|
|
@@ -5340,13 +5340,13 @@ function ta(e, t, r) {
|
|
|
5340
5340
|
d,
|
|
5341
5341
|
m,
|
|
5342
5342
|
p,
|
|
5343
|
-
|
|
5343
|
+
C,
|
|
5344
5344
|
U,
|
|
5345
5345
|
k,
|
|
5346
5346
|
L,
|
|
5347
5347
|
Z,
|
|
5348
5348
|
S,
|
|
5349
|
-
|
|
5349
|
+
O,
|
|
5350
5350
|
w,
|
|
5351
5351
|
G,
|
|
5352
5352
|
be,
|
|
@@ -5525,7 +5525,7 @@ export {
|
|
|
5525
5525
|
b as j,
|
|
5526
5526
|
M as k,
|
|
5527
5527
|
x as l,
|
|
5528
|
-
|
|
5528
|
+
A as m,
|
|
5529
5529
|
X as n,
|
|
5530
5530
|
W as o,
|
|
5531
5531
|
Y as p,
|