@everymatrix/casino-search-nd 1.94.4 → 1.94.6
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/{CasinoGameThumbnailNd-BeBC2BaI.cjs → CasinoGameThumbnailNd-C08ivhZo.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-DcZgbXwp.js → CasinoGameThumbnailNd-C19FnebP.js} +1 -1
- package/components/{CasinoGameThumbnailNd-Zm3xWP7d.js → CasinoGameThumbnailNd-s7FVjPDD.js} +1 -1
- package/components/{CasinoSearchNd-BaJJygYt.js → CasinoSearchNd-C4Iw5E6k.js} +125 -121
- package/components/{CasinoSearchNd-DXJl0ELz.js → CasinoSearchNd-Chg9wJ0R.js} +92 -88
- package/components/{CasinoSearchNd-DHdK2Ibd.cjs → CasinoSearchNd-LzHRfjmo.cjs} +2 -2
- package/es2015/casino-search-nd.cjs +1 -1
- package/es2015/casino-search-nd.js +1 -1
- package/esnext/casino-search-nd.js +1 -1
- package/package.json +1 -1
|
@@ -89,12 +89,12 @@ function Gr() {
|
|
|
89
89
|
function ve(e, t, r, n) {
|
|
90
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function _(e, t, r) {
|
|
93
93
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
94
94
|
}
|
|
95
95
|
function v(e, t, r) {
|
|
96
96
|
const n = t.toLowerCase();
|
|
97
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
97
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : _(e, t, r);
|
|
98
98
|
}
|
|
99
99
|
function Zn(e) {
|
|
100
100
|
return Array.from(e.childNodes);
|
|
@@ -271,17 +271,17 @@ function oa(e, t, r, n, a, i, o, s, u, l, c, h) {
|
|
|
271
271
|
b[e[p].key] = p;
|
|
272
272
|
const g = [], N = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), O = [];
|
|
273
273
|
for (p = m; p--; ) {
|
|
274
|
-
const T = h(a, i, p),
|
|
275
|
-
let w = o.get(
|
|
276
|
-
w ? O.push(() => w.p(T, t)) : (w = l(
|
|
274
|
+
const T = h(a, i, p), M = r(T);
|
|
275
|
+
let w = o.get(M);
|
|
276
|
+
w ? O.push(() => w.p(T, t)) : (w = l(M, T), w.c()), N.set(M, g[p] = w), M in b && B.set(M, Math.abs(p - b[M]));
|
|
277
277
|
}
|
|
278
278
|
const F = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
279
279
|
function G(T) {
|
|
280
280
|
$r(T, 1), T.m(s, c), o.set(T.key, T), c = T.first, m--;
|
|
281
281
|
}
|
|
282
282
|
for (; d && m; ) {
|
|
283
|
-
const T = g[m - 1],
|
|
284
|
-
T ===
|
|
283
|
+
const T = g[m - 1], M = e[d - 1], w = T.key, H = M.key;
|
|
284
|
+
T === M ? (c = T.first, d--, m--) : N.has(H) ? !o.has(w) || F.has(w) ? G(T) : x.has(H) ? d-- : B.get(w) > B.get(H) ? (x.add(w), G(T)) : (F.add(H), d--) : (u(M, o), d--);
|
|
285
285
|
}
|
|
286
286
|
for (; d--; ) {
|
|
287
287
|
const T = e[d];
|
|
@@ -387,7 +387,7 @@ typeof HTMLElement == "function" && (Vr = class extends HTMLElement {
|
|
|
387
387
|
let i;
|
|
388
388
|
return {
|
|
389
389
|
c: function() {
|
|
390
|
-
i = L("slot"), a !== "default" &&
|
|
390
|
+
i = L("slot"), a !== "default" && _(i, "name", a);
|
|
391
391
|
},
|
|
392
392
|
/**
|
|
393
393
|
* @param {HTMLElement} target
|
|
@@ -4607,7 +4607,7 @@ if (typeof window < "u") {
|
|
|
4607
4607
|
}
|
|
4608
4608
|
};
|
|
4609
4609
|
};
|
|
4610
|
-
customElements.define = e(customElements.define), import("./CasinoGameThumbnailNd-
|
|
4610
|
+
customElements.define = e(customElements.define), import("./CasinoGameThumbnailNd-C19FnebP.js").then(({ default: t }) => {
|
|
4611
4611
|
!customElements.get("casino-game-thumbnail-nd") && customElements.define("casino-game-thumbnail-nd", t.element);
|
|
4612
4612
|
});
|
|
4613
4613
|
}
|
|
@@ -5840,12 +5840,12 @@ function Qs(e, t, r) {
|
|
|
5840
5840
|
var G = Y(e);
|
|
5841
5841
|
if (!Mo(G))
|
|
5842
5842
|
throw new RangeError("Invalid time value");
|
|
5843
|
-
var T = Oo(G),
|
|
5843
|
+
var T = Oo(G), M = Ao(G, T), w = {
|
|
5844
5844
|
firstWeekContainsDate: F,
|
|
5845
5845
|
weekStartsOn: x,
|
|
5846
5846
|
locale: O,
|
|
5847
5847
|
_originalDate: G
|
|
5848
|
-
},
|
|
5848
|
+
}, H = N.match(Ps).map(function(I) {
|
|
5849
5849
|
var z = I[0];
|
|
5850
5850
|
if (z === "p" || z === "P") {
|
|
5851
5851
|
var q = jo[z];
|
|
@@ -5860,12 +5860,12 @@ function Qs(e, t, r) {
|
|
|
5860
5860
|
return As(I);
|
|
5861
5861
|
var q = Fo[z];
|
|
5862
5862
|
if (q)
|
|
5863
|
-
return Yo(I) && Or(I, t, String(e)), Vo(I) && Or(I, t, String(e)), q(
|
|
5863
|
+
return Yo(I) && Or(I, t, String(e)), Vo(I) && Or(I, t, String(e)), q(M, I, O.localize, w);
|
|
5864
5864
|
if (z.match(Ms))
|
|
5865
5865
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + z + "`");
|
|
5866
5866
|
return I;
|
|
5867
5867
|
}).join("");
|
|
5868
|
-
return
|
|
5868
|
+
return H;
|
|
5869
5869
|
}
|
|
5870
5870
|
function As(e) {
|
|
5871
5871
|
var t = e.match(Os);
|
|
@@ -5898,7 +5898,7 @@ function Mr(e) {
|
|
|
5898
5898
|
), n, a, i, o;
|
|
5899
5899
|
return {
|
|
5900
5900
|
c() {
|
|
5901
|
-
t = L("small"), n = ae(r),
|
|
5901
|
+
t = L("small"), n = ae(r), _(t, "class", a = "SearchCancelButton " + /*searchCancelled*/
|
|
5902
5902
|
(e[17] ? "NotVisible" : ""));
|
|
5903
5903
|
},
|
|
5904
5904
|
m(s, u) {
|
|
@@ -5914,7 +5914,7 @@ function Mr(e) {
|
|
|
5914
5914
|
4194304 && r !== (r = /*$_*/
|
|
5915
5915
|
s[22]("cancel") + "") && le(n, r), u[0] & /*searchCancelled*/
|
|
5916
5916
|
131072 && a !== (a = "SearchCancelButton " + /*searchCancelled*/
|
|
5917
|
-
(s[17] ? "NotVisible" : "")) &&
|
|
5917
|
+
(s[17] ? "NotVisible" : "")) && _(t, "class", a);
|
|
5918
5918
|
},
|
|
5919
5919
|
d(s) {
|
|
5920
5920
|
s && W(t), i = !1, o();
|
|
@@ -5946,7 +5946,7 @@ function Rs(e) {
|
|
|
5946
5946
|
);
|
|
5947
5947
|
return {
|
|
5948
5948
|
c() {
|
|
5949
|
-
s && s.c(), t = Z(), r = L("div"), u && u.c(), n = Z(), l && l.c(),
|
|
5949
|
+
s && s.c(), t = Z(), r = L("div"), u && u.c(), n = Z(), l && l.c(), _(r, "class", a = "SearchResultsContainer " + /*searchActive*/
|
|
5950
5950
|
(e[18] == !0 ? "" : "NotVisible"));
|
|
5951
5951
|
},
|
|
5952
5952
|
m(c, h) {
|
|
@@ -5958,7 +5958,7 @@ function Rs(e) {
|
|
|
5958
5958
|
c[15].length >= 2 && /*searchArray*/
|
|
5959
5959
|
c[14].length == 0 ? l ? l.p(c, h) : (l = Rr(c), l.c(), l.m(r, null)) : l && (l.d(1), l = null), h[0] & /*searchActive*/
|
|
5960
5960
|
262144 && a !== (a = "SearchResultsContainer " + /*searchActive*/
|
|
5961
|
-
(c[18] == !0 ? "" : "NotVisible")) &&
|
|
5961
|
+
(c[18] == !0 ? "" : "NotVisible")) && _(r, "class", a);
|
|
5962
5962
|
},
|
|
5963
5963
|
d(c) {
|
|
5964
5964
|
c && (W(t), W(r)), s && s.d(c), u && u.d(), l && l.d();
|
|
@@ -5972,7 +5972,7 @@ function Ds(e) {
|
|
|
5972
5972
|
), n;
|
|
5973
5973
|
return {
|
|
5974
5974
|
c() {
|
|
5975
|
-
t = L("p"), n = ae(r),
|
|
5975
|
+
t = L("p"), n = ae(r), _(t, "class", "LoadingContent");
|
|
5976
5976
|
},
|
|
5977
5977
|
m(a, i) {
|
|
5978
5978
|
V(a, t, i), P(t, n);
|
|
@@ -5994,7 +5994,7 @@ function ks(e) {
|
|
|
5994
5994
|
), n;
|
|
5995
5995
|
return {
|
|
5996
5996
|
c() {
|
|
5997
|
-
t = L("p"), n = ae(r),
|
|
5997
|
+
t = L("p"), n = ae(r), _(t, "class", "SearchMessage");
|
|
5998
5998
|
},
|
|
5999
5999
|
m(a, i) {
|
|
6000
6000
|
V(a, t, i), P(t, n);
|
|
@@ -6041,7 +6041,7 @@ function Ar(e) {
|
|
|
6041
6041
|
), n;
|
|
6042
6042
|
return {
|
|
6043
6043
|
c() {
|
|
6044
|
-
t = L("p"), n = ae(r),
|
|
6044
|
+
t = L("p"), n = ae(r), _(t, "class", "SearchMessage");
|
|
6045
6045
|
},
|
|
6046
6046
|
m(a, i) {
|
|
6047
6047
|
V(a, t, i), P(t, n);
|
|
@@ -6066,7 +6066,7 @@ function Br(e) {
|
|
|
6066
6066
|
);
|
|
6067
6067
|
return {
|
|
6068
6068
|
c() {
|
|
6069
|
-
t = L("div"), s && s.c(), r = Z(), n = L("p"), i = ae(a),
|
|
6069
|
+
t = L("div"), s && s.c(), r = Z(), n = L("p"), i = ae(a), _(n, "class", "SearchMessage"), _(t, "class", o = "ResultsContainerError " + /*notfoundicon*/
|
|
6070
6070
|
(e[11] == "true" ? "WithIcon" : ""));
|
|
6071
6071
|
},
|
|
6072
6072
|
m(u, l) {
|
|
@@ -6078,7 +6078,7 @@ function Br(e) {
|
|
|
6078
6078
|
4194304 && a !== (a = /*$_*/
|
|
6079
6079
|
u[22]("noRecentSearches") + "") && le(i, a), l[0] & /*notfoundicon*/
|
|
6080
6080
|
2048 && o !== (o = "ResultsContainerError " + /*notfoundicon*/
|
|
6081
|
-
(u[11] == "true" ? "WithIcon" : "")) &&
|
|
6081
|
+
(u[11] == "true" ? "WithIcon" : "")) && _(t, "class", o);
|
|
6082
6082
|
},
|
|
6083
6083
|
d(u) {
|
|
6084
6084
|
u && W(t), s && s.d();
|
|
@@ -6089,7 +6089,7 @@ function Lr(e) {
|
|
|
6089
6089
|
let t;
|
|
6090
6090
|
return {
|
|
6091
6091
|
c() {
|
|
6092
|
-
t = L("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>',
|
|
6092
|
+
t = L("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>', _(t, "class", "SearchErrorIcon");
|
|
6093
6093
|
},
|
|
6094
6094
|
m(r, n) {
|
|
6095
6095
|
V(r, t, n);
|
|
@@ -6368,7 +6368,7 @@ function Rr(e) {
|
|
|
6368
6368
|
);
|
|
6369
6369
|
return {
|
|
6370
6370
|
c() {
|
|
6371
|
-
t = L("div"), h && h.c(), r = Z(), n = L("p"), i = ae(a), o = Z(), s = L("p"), l = ae(u),
|
|
6371
|
+
t = L("div"), h && h.c(), r = Z(), n = L("p"), i = ae(a), o = Z(), s = L("p"), l = ae(u), _(n, "class", "SearchMessage"), _(t, "class", c = "ResultsContainerError " + /*notfoundicon*/
|
|
6372
6372
|
(e[11] == "true" ? "WithIcon" : ""));
|
|
6373
6373
|
},
|
|
6374
6374
|
m(d, m) {
|
|
@@ -6382,7 +6382,7 @@ function Rr(e) {
|
|
|
6382
6382
|
4194304 && u !== (u = /*$_*/
|
|
6383
6383
|
d[22]("notFoundText") + "") && le(l, u), m[0] & /*notfoundicon*/
|
|
6384
6384
|
2048 && c !== (c = "ResultsContainerError " + /*notfoundicon*/
|
|
6385
|
-
(d[11] == "true" ? "WithIcon" : "")) &&
|
|
6385
|
+
(d[11] == "true" ? "WithIcon" : "")) && _(t, "class", c);
|
|
6386
6386
|
},
|
|
6387
6387
|
d(d) {
|
|
6388
6388
|
d && W(t), h && h.d();
|
|
@@ -6393,7 +6393,7 @@ function Dr(e) {
|
|
|
6393
6393
|
let t;
|
|
6394
6394
|
return {
|
|
6395
6395
|
c() {
|
|
6396
|
-
t = L("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>',
|
|
6396
|
+
t = L("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>', _(t, "class", "SearchErrorIcon");
|
|
6397
6397
|
},
|
|
6398
6398
|
m(r, n) {
|
|
6399
6399
|
V(r, t, n);
|
|
@@ -6408,31 +6408,31 @@ function Fs(e) {
|
|
|
6408
6408
|
/*cancelbutton*/
|
|
6409
6409
|
e[10] === "true" && Mr(e)
|
|
6410
6410
|
);
|
|
6411
|
-
function G(w,
|
|
6411
|
+
function G(w, H) {
|
|
6412
6412
|
return (
|
|
6413
6413
|
/*isLoading*/
|
|
6414
6414
|
w[19] ? Ds : Rs
|
|
6415
6415
|
);
|
|
6416
6416
|
}
|
|
6417
|
-
let T = G(e),
|
|
6417
|
+
let T = G(e), M = T(e);
|
|
6418
6418
|
return {
|
|
6419
6419
|
c() {
|
|
6420
|
-
t = L("div"), r = L("div"), n = L("div"), a = L("div"), a.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" 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="#FFF" stroke-width="1.5"></circle></svg>', i = Z(), o = L("input"), u = Z(), l = L("span"), c = Tt("svg"), h = Tt("path"), m = Z(), x && x.c(), b = Z(), g = L("div"), B = Z(),
|
|
6421
|
-
e[22]("placeHolderSearchGames")),
|
|
6420
|
+
t = L("div"), r = L("div"), n = L("div"), a = L("div"), a.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" 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="#FFF" stroke-width="1.5"></circle></svg>', i = Z(), o = L("input"), u = Z(), l = L("span"), c = Tt("svg"), h = Tt("path"), m = Z(), x && x.c(), b = Z(), g = L("div"), B = Z(), M.c(), _(a, "class", "SearchIcon"), _(o, "class", "SearchInput"), _(o, "type", "search"), _(o, "placeholder", s = /*$_*/
|
|
6421
|
+
e[22]("placeHolderSearchGames")), _(o, "maxlength", Cn), _(h, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), _(h, "stroke", "#717171"), _(h, "stroke-width", "2"), _(h, "stroke-linecap", "round"), _(h, "stroke-linejoin", "round"), _(c, "width", "11"), _(c, "height", "11"), _(c, "fill", "none"), _(c, "xmlns", "http://www.w3.org/2000/svg"), _(l, "class", d = "SearchClearButton " + /*cancelbutton*/
|
|
6422
6422
|
(e[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
6423
|
-
(e[15].length != 0 ? "" : "NotVisible")),
|
|
6424
|
-
(e[17] ? "" : "SearchAnimation")),
|
|
6425
|
-
e[10] != "true" ? "OverlayCancel" : ""),
|
|
6423
|
+
(e[15].length != 0 ? "" : "NotVisible")), _(n, "class", p = "Search " + /*searchCancelled*/
|
|
6424
|
+
(e[17] ? "" : "SearchAnimation")), _(r, "class", "SearchWrap"), _(g, "class", N = /*cancelbutton*/
|
|
6425
|
+
e[10] != "true" ? "OverlayCancel" : ""), _(t, "class", (Wt(
|
|
6426
6426
|
/*userAgent*/
|
|
6427
6427
|
e[23]
|
|
6428
6428
|
) !== "PC" ? "" : "Desktop") + " CasinoSearch");
|
|
6429
6429
|
},
|
|
6430
|
-
m(w,
|
|
6431
|
-
V(w, t,
|
|
6430
|
+
m(w, H) {
|
|
6431
|
+
V(w, t, H), P(t, r), P(r, n), P(n, a), P(n, i), P(n, o), tr(
|
|
6432
6432
|
o,
|
|
6433
6433
|
/*searchValue*/
|
|
6434
6434
|
e[15]
|
|
6435
|
-
), e[41](o), P(n, u), P(n, l), P(l, c), P(c, h), P(n, m), x && x.m(n, null), P(t, b), P(t, g), P(t, B),
|
|
6435
|
+
), e[41](o), P(n, u), P(n, l), P(l, c), P(c, h), P(n, m), x && x.m(n, null), P(t, b), P(t, g), P(t, B), M.m(t, null), e[44](t), O || (F = [
|
|
6436
6436
|
ve(
|
|
6437
6437
|
o,
|
|
6438
6438
|
"input",
|
|
@@ -6465,29 +6465,29 @@ function Fs(e) {
|
|
|
6465
6465
|
)
|
|
6466
6466
|
], O = !0);
|
|
6467
6467
|
},
|
|
6468
|
-
p(w,
|
|
6469
|
-
|
|
6468
|
+
p(w, H) {
|
|
6469
|
+
H[0] & /*$_*/
|
|
6470
6470
|
4194304 && s !== (s = /*$_*/
|
|
6471
|
-
w[22]("placeHolderSearchGames")) &&
|
|
6471
|
+
w[22]("placeHolderSearchGames")) && _(o, "placeholder", s), H[0] & /*searchValue*/
|
|
6472
6472
|
32768 && o.value !== /*searchValue*/
|
|
6473
6473
|
w[15] && tr(
|
|
6474
6474
|
o,
|
|
6475
6475
|
/*searchValue*/
|
|
6476
6476
|
w[15]
|
|
6477
|
-
),
|
|
6477
|
+
), H[0] & /*cancelbutton, searchValue*/
|
|
6478
6478
|
33792 && d !== (d = "SearchClearButton " + /*cancelbutton*/
|
|
6479
6479
|
(w[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
6480
|
-
(w[15].length != 0 ? "" : "NotVisible")) &&
|
|
6481
|
-
w[10] === "true" ? x ? x.p(w,
|
|
6480
|
+
(w[15].length != 0 ? "" : "NotVisible")) && _(l, "class", d), /*cancelbutton*/
|
|
6481
|
+
w[10] === "true" ? x ? x.p(w, H) : (x = Mr(w), x.c(), x.m(n, null)) : x && (x.d(1), x = null), H[0] & /*searchCancelled*/
|
|
6482
6482
|
131072 && p !== (p = "Search " + /*searchCancelled*/
|
|
6483
|
-
(w[17] ? "" : "SearchAnimation")) &&
|
|
6483
|
+
(w[17] ? "" : "SearchAnimation")) && _(n, "class", p), H[0] & /*cancelbutton*/
|
|
6484
6484
|
1024 && N !== (N = /*cancelbutton*/
|
|
6485
|
-
w[10] != "true" ? "OverlayCancel" : "") &&
|
|
6485
|
+
w[10] != "true" ? "OverlayCancel" : "") && _(g, "class", N), T === (T = G(w)) && M ? M.p(w, H) : (M.d(1), M = T(w), M && (M.c(), M.m(t, null)));
|
|
6486
6486
|
},
|
|
6487
6487
|
i: K,
|
|
6488
6488
|
o: K,
|
|
6489
6489
|
d(w) {
|
|
6490
|
-
w && W(t), e[41](null), x && x.d(),
|
|
6490
|
+
w && W(t), e[41](null), x && x.d(), M.d(), e[44](null), O = !1, he(F);
|
|
6491
6491
|
}
|
|
6492
6492
|
};
|
|
6493
6493
|
}
|
|
@@ -6496,25 +6496,25 @@ function Gs(e, t, r) {
|
|
|
6496
6496
|
let n;
|
|
6497
6497
|
qn(e, to, (f) => r(22, n = f));
|
|
6498
6498
|
let { endpoint: a = "" } = t, { datasource: i = "" } = t, { session: o = "" } = t, { userid: s = "" } = t, { lang: u = "en" } = t, { mbsource: l } = t, { clientstyling: c = "" } = t, { clientstylingurl: h = "" } = t, { integratedgameframedesktop: d = "false" } = t, { integratedgameframemobile: m = "false" } = t, { showgamename: p = "" } = t, { gamepagemodalurl: b = "true" } = t, { translationurl: g = "" } = t, { showfavorites: N = "" } = t, { cancelbutton: B = "true" } = t, { notfoundicon: O = "false" } = t, { controlchannel: F = "casino-search" } = t, { allowedorigins: x = window.location.origin } = t, { requiredicon: G = "false" } = t, { allowsingleclickgameentry: T = "false" } = t;
|
|
6499
|
-
const
|
|
6500
|
-
let w = window.navigator.userAgent,
|
|
6499
|
+
const M = () => (x || "").split(",").map((f) => f.trim()).filter(Boolean);
|
|
6500
|
+
let w = window.navigator.userAgent, H = [], I = [], z = {}, q = "", Oe, Ge = !0, te = !1, J = !1, re, He, Pn, je = !1, We, $e, Xt = [];
|
|
6501
6501
|
const ft = (f) => {
|
|
6502
|
-
Object.keys(f).forEach((
|
|
6503
|
-
ro(
|
|
6502
|
+
Object.keys(f).forEach((y) => {
|
|
6503
|
+
ro(y, f[y]);
|
|
6504
6504
|
});
|
|
6505
6505
|
}, On = () => {
|
|
6506
|
-
fetch(g).then((
|
|
6507
|
-
ft(
|
|
6508
|
-
}).catch((
|
|
6509
|
-
console.log(
|
|
6506
|
+
fetch(g).then((y) => y.json()).then((y) => {
|
|
6507
|
+
ft(y);
|
|
6508
|
+
}).catch((y) => {
|
|
6509
|
+
console.log(y);
|
|
6510
6510
|
});
|
|
6511
6511
|
};
|
|
6512
6512
|
ft(ao);
|
|
6513
6513
|
const qt = (f) => {
|
|
6514
6514
|
f.data && f.data.type == "SearchedItemClicked" && kn(f.data.gameId), f.data.type == "UserSessionID" && (r(20, We = f.data.session), r(21, $e = f.data.userid), r(39, je = !0)), f.data.type == "CategoryChange" && Ae();
|
|
6515
6515
|
try {
|
|
6516
|
-
const
|
|
6517
|
-
if (!(
|
|
6516
|
+
const y = f.origin === window.location.origin, R = M();
|
|
6517
|
+
if (!(y || R.length > 0 && R.includes(f.origin)) || !f.data || f.data.channel !== F)
|
|
6518
6518
|
return;
|
|
6519
6519
|
switch (f.data.type) {
|
|
6520
6520
|
case "OpenSearch":
|
|
@@ -6534,19 +6534,19 @@ function Gs(e, t, r) {
|
|
|
6534
6534
|
}
|
|
6535
6535
|
}, Hn = (f) => G !== "true" ? void 0 : Object.values(f ?? {}).pop(), dt = () => {
|
|
6536
6536
|
if (r(17, Ge = !1), r(18, te = !0), a && i && u && q.length < 2) {
|
|
6537
|
-
r(14,
|
|
6538
|
-
let f = localStorage.getItem("searchedGamesWds_casino"),
|
|
6539
|
-
f && (
|
|
6540
|
-
let R = [], U = 0, j =
|
|
6537
|
+
r(14, H = []);
|
|
6538
|
+
let f = localStorage.getItem("searchedGamesWds_casino"), y = [];
|
|
6539
|
+
f && (y = f.split(","));
|
|
6540
|
+
let R = [], U = 0, j = y.length;
|
|
6541
6541
|
if (j > 0) {
|
|
6542
6542
|
for (U = 0; U < j; U++) {
|
|
6543
|
-
let Q = new URL(`${a}/v1/casino/games/${
|
|
6544
|
-
Q.searchParams.append("language", u), Q.searchParams.append("datasource", i), Q.searchParams.append("platform", Wt(w)), R.push(Nn(Q,
|
|
6543
|
+
let Q = new URL(`${a}/v1/casino/games/${y[U]}`);
|
|
6544
|
+
Q.searchParams.append("language", u), Q.searchParams.append("datasource", i), Q.searchParams.append("platform", Wt(w)), R.push(Nn(Q, y[U]));
|
|
6545
6545
|
}
|
|
6546
6546
|
Promise.all(R).then((Q) => {
|
|
6547
6547
|
Q = Q.filter(function(se) {
|
|
6548
6548
|
return !!se;
|
|
6549
|
-
}), r(14,
|
|
6549
|
+
}), r(14, H = Q.map((se) => (se.isFavorite = Qt(se.id), se))), H.length ? Me("searchSuccess", "SearchWidget") : Me("searchFail", "SearchWidget");
|
|
6550
6550
|
}).catch((Q) => {
|
|
6551
6551
|
Me("searchError", "SearchWidget");
|
|
6552
6552
|
});
|
|
@@ -6566,13 +6566,13 @@ function Gs(e, t, r) {
|
|
|
6566
6566
|
function An(f) {
|
|
6567
6567
|
r(15, q = (f ?? "").slice(0, Cn)), te || mt(), Kt();
|
|
6568
6568
|
}
|
|
6569
|
-
const Me = (f,
|
|
6570
|
-
typeof gtag == "function" && gtag("event", f, { context:
|
|
6569
|
+
const Me = (f, y) => {
|
|
6570
|
+
typeof gtag == "function" && gtag("event", f, { context: y });
|
|
6571
6571
|
}, Bn = () => {
|
|
6572
6572
|
B != "true" && Ae();
|
|
6573
|
-
}, Ln = (f) => new Promise((
|
|
6573
|
+
}, Ln = (f) => new Promise((y, R) => {
|
|
6574
6574
|
r(19, J = !0), fetch(f.href).then((U) => U.json()).then((U) => {
|
|
6575
|
-
r(19, J = !1),
|
|
6575
|
+
r(19, J = !1), y(U);
|
|
6576
6576
|
}).catch((U) => {
|
|
6577
6577
|
r(19, J = !1), console.error(U);
|
|
6578
6578
|
try {
|
|
@@ -6584,8 +6584,8 @@ function Gs(e, t, r) {
|
|
|
6584
6584
|
}
|
|
6585
6585
|
R(U);
|
|
6586
6586
|
});
|
|
6587
|
-
}), Nn = (f,
|
|
6588
|
-
r(19, J = !0),
|
|
6587
|
+
}), Nn = (f, y) => new Promise((R, U) => {
|
|
6588
|
+
r(19, J = !0), y && Object.keys(z).indexOf(y) >= 0 ? (r(19, J = !1), R(z[y])) : fetch(f).then((j) => j.json()).then((j) => {
|
|
6589
6589
|
r(19, J = !1), j.error || (z[j[0].gameId] = j[0]), R(j[0]);
|
|
6590
6590
|
}).catch((j) => {
|
|
6591
6591
|
r(19, J = !1), console.error(j);
|
|
@@ -6601,31 +6601,31 @@ function Gs(e, t, r) {
|
|
|
6601
6601
|
}), In = () => {
|
|
6602
6602
|
const f = new URL(`${a}/v1/player/${$e}/favorites/`);
|
|
6603
6603
|
r(19, J = !0);
|
|
6604
|
-
let
|
|
6604
|
+
let y = {
|
|
6605
6605
|
method: "GET",
|
|
6606
6606
|
headers: { "X-SessionID": We }
|
|
6607
6607
|
};
|
|
6608
|
-
fetch(f.href,
|
|
6608
|
+
fetch(f.href, y).then((R) => R.json()).then((R) => {
|
|
6609
6609
|
r(19, J = !1), Xt = R.items.map((U) => U.id);
|
|
6610
6610
|
});
|
|
6611
6611
|
}, Rn = () => {
|
|
6612
6612
|
r(39, je = !0), r(20, We = o), r(21, $e = s);
|
|
6613
|
-
}, Qt = (f) => Xt.findIndex((
|
|
6613
|
+
}, Qt = (f) => Xt.findIndex((y) => y == f) !== -1, Dn = (f) => {
|
|
6614
6614
|
if (f?.length === 0)
|
|
6615
6615
|
return "";
|
|
6616
|
-
let
|
|
6616
|
+
let y, R = 99999999999, U;
|
|
6617
6617
|
const j = new Date(Date.now());
|
|
6618
6618
|
return f.forEach((Q, se) => {
|
|
6619
6619
|
const Yn = new Date(Q.schedules[0].startTime), gt = new Date(Q.schedules[0].endTime);
|
|
6620
|
-
xr(new Date(gt), new Date(j)) < R && (R = xr(new Date(gt), new Date(j)), U = se), Bs(new Date(j), new Date(Yn)) && Ls(new Date(j), new Date(gt)) && (
|
|
6621
|
-
}),
|
|
6620
|
+
xr(new Date(gt), new Date(j)) < R && (R = xr(new Date(gt), new Date(j)), U = se), Bs(new Date(j), new Date(Yn)) && Ls(new Date(j), new Date(gt)) && (y = f[U].name);
|
|
6621
|
+
}), y;
|
|
6622
6622
|
}, kn = (f) => {
|
|
6623
6623
|
if (I = localStorage.getItem("searchedGamesWds_casino"), I ? I = I.split(",") : I = [], I.indexOf(f) === -1) {
|
|
6624
|
-
let
|
|
6625
|
-
I.unshift(f),
|
|
6624
|
+
let y;
|
|
6625
|
+
I.unshift(f), y = I.join(","), localStorage.setItem("searchedGamesWds_casino", y);
|
|
6626
6626
|
}
|
|
6627
6627
|
}, Ae = () => {
|
|
6628
|
-
r(15, q = ""), r(17, Ge = !0), r(19, J = !1), r(14,
|
|
6628
|
+
r(15, q = ""), r(17, Ge = !0), r(19, J = !1), r(14, H = []), r(18, te = !1), Zt(te);
|
|
6629
6629
|
}, Jt = () => {
|
|
6630
6630
|
r(15, q = ""), Oe.focus();
|
|
6631
6631
|
}, Zt = (f) => {
|
|
@@ -6641,8 +6641,8 @@ function Gs(e, t, r) {
|
|
|
6641
6641
|
};
|
|
6642
6642
|
function de(f) {
|
|
6643
6643
|
try {
|
|
6644
|
-
const
|
|
6645
|
-
window.postMessage(
|
|
6644
|
+
const y = { channel: F, ...f };
|
|
6645
|
+
window.postMessage(y, window.location.href);
|
|
6646
6646
|
} catch {
|
|
6647
6647
|
}
|
|
6648
6648
|
}
|
|
@@ -6651,15 +6651,19 @@ function Gs(e, t, r) {
|
|
|
6651
6651
|
}, Kt = async () => {
|
|
6652
6652
|
if (q.length >= 2) {
|
|
6653
6653
|
const f = new URL(`${a}/v1/casino/games`);
|
|
6654
|
-
f.searchParams.append("datasource", i), f.searchParams.append("expand", "vendor"), f.searchParams.append("platform", Wt(w)), f.searchParams.append("language", u), f.searchParams.append("pagination", "offset=0,limit=30"), f.searchParams.append("filter", `name=${q}`), Ln(f).then((
|
|
6655
|
-
|
|
6654
|
+
f.searchParams.append("datasource", i), f.searchParams.append("expand", "vendor"), f.searchParams.append("platform", Wt(w)), f.searchParams.append("language", u), f.searchParams.append("pagination", "offset=0,limit=30"), f.searchParams.append("filter", `name=${q}`), Ln(f).then((y) => {
|
|
6655
|
+
if (y.error)
|
|
6656
|
+
throw y.error;
|
|
6657
|
+
r(14, H = y.items.map((R) => (R.isFavorite = Qt(R.id), R)));
|
|
6656
6658
|
try {
|
|
6657
6659
|
de({
|
|
6658
6660
|
type: "SearchResults",
|
|
6659
|
-
count:
|
|
6661
|
+
count: H.length
|
|
6660
6662
|
});
|
|
6661
6663
|
} catch {
|
|
6662
6664
|
}
|
|
6665
|
+
}).catch((y) => {
|
|
6666
|
+
console.error(y), r(14, H = []);
|
|
6663
6667
|
});
|
|
6664
6668
|
} else
|
|
6665
6669
|
Ge || dt();
|
|
@@ -6711,7 +6715,7 @@ function Gs(e, t, r) {
|
|
|
6711
6715
|
O,
|
|
6712
6716
|
T,
|
|
6713
6717
|
re,
|
|
6714
|
-
|
|
6718
|
+
H,
|
|
6715
6719
|
q,
|
|
6716
6720
|
Oe,
|
|
6717
6721
|
Ge,
|
|
@@ -6901,44 +6905,44 @@ class js extends fa {
|
|
|
6901
6905
|
}
|
|
6902
6906
|
ha(js, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, controlchannel: {}, allowedorigins: {}, requiredicon: {}, allowsingleclickgameentry: {} }, [], [], !0);
|
|
6903
6907
|
export {
|
|
6904
|
-
|
|
6905
|
-
|
|
6906
|
-
|
|
6907
|
-
|
|
6908
|
-
|
|
6909
|
-
|
|
6910
|
-
|
|
6911
|
-
|
|
6908
|
+
to as $,
|
|
6909
|
+
so as A,
|
|
6910
|
+
v as B,
|
|
6911
|
+
js as C,
|
|
6912
|
+
le as D,
|
|
6913
|
+
Vs as E,
|
|
6914
|
+
Z as F,
|
|
6915
|
+
Ws as G,
|
|
6912
6916
|
Xs as H,
|
|
6913
|
-
|
|
6914
|
-
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
+
Tt as I,
|
|
6918
|
+
ae as J,
|
|
6919
|
+
qs as K,
|
|
6920
|
+
Ys as L,
|
|
6917
6921
|
fa as S,
|
|
6918
|
-
|
|
6919
|
-
|
|
6920
|
-
|
|
6921
|
-
|
|
6922
|
-
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
|
|
6928
|
-
|
|
6929
|
-
|
|
6930
|
-
|
|
6931
|
-
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
|
|
6938
|
-
|
|
6939
|
-
|
|
6940
|
-
|
|
6941
|
-
|
|
6942
|
-
|
|
6943
|
-
|
|
6922
|
+
Ce as a,
|
|
6923
|
+
fn as b,
|
|
6924
|
+
P as c,
|
|
6925
|
+
zn as d,
|
|
6926
|
+
_ as e,
|
|
6927
|
+
Ze as f,
|
|
6928
|
+
qn as g,
|
|
6929
|
+
ha as h,
|
|
6930
|
+
$s as i,
|
|
6931
|
+
W as j,
|
|
6932
|
+
L as k,
|
|
6933
|
+
Gr as l,
|
|
6934
|
+
nr as m,
|
|
6935
|
+
D as n,
|
|
6936
|
+
Qs as o,
|
|
6937
|
+
Wt as p,
|
|
6938
|
+
Ns as q,
|
|
6939
|
+
ca as r,
|
|
6940
|
+
V as s,
|
|
6941
|
+
zs as t,
|
|
6942
|
+
ve as u,
|
|
6943
|
+
K as v,
|
|
6944
|
+
ta as w,
|
|
6945
|
+
Ur as x,
|
|
6946
|
+
io as y,
|
|
6947
|
+
oo as z
|
|
6944
6948
|
};
|