@everymatrix/casino-search 1.13.16 → 1.13.17
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/dist/casino-search.js +30 -27
- package/dist/casino-search.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoSearch.svelte +1 -1
package/dist/casino-search.js
CHANGED
|
@@ -15189,7 +15189,7 @@
|
|
|
15189
15189
|
t1 = space();
|
|
15190
15190
|
if (if_block2) if_block2.c();
|
|
15191
15191
|
attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[13] == true ? '' : 'NotVisible'));
|
|
15192
|
-
add_location(div, file, 305, 6,
|
|
15192
|
+
add_location(div, file, 305, 6, 10679);
|
|
15193
15193
|
},
|
|
15194
15194
|
m: function mount(target, anchor) {
|
|
15195
15195
|
if (if_block0) if_block0.m(target, anchor);
|
|
@@ -15276,7 +15276,7 @@
|
|
|
15276
15276
|
p = element("p");
|
|
15277
15277
|
t = text(t_value);
|
|
15278
15278
|
attr_dev(p, "class", "LoadingContent");
|
|
15279
|
-
add_location(p, file, 293, 6,
|
|
15279
|
+
add_location(p, file, 293, 6, 10200);
|
|
15280
15280
|
},
|
|
15281
15281
|
m: function mount(target, anchor) {
|
|
15282
15282
|
insert_dev(target, p, anchor);
|
|
@@ -15312,7 +15312,7 @@
|
|
|
15312
15312
|
p = element("p");
|
|
15313
15313
|
t = text(t_value);
|
|
15314
15314
|
attr_dev(p, "class", "SearchMessage");
|
|
15315
|
-
add_location(p, file, 303, 8,
|
|
15315
|
+
add_location(p, file, 303, 8, 10610);
|
|
15316
15316
|
},
|
|
15317
15317
|
m: function mount(target, anchor) {
|
|
15318
15318
|
insert_dev(target, p, anchor);
|
|
@@ -15354,7 +15354,7 @@
|
|
|
15354
15354
|
if (if_block) if_block.c();
|
|
15355
15355
|
if_block_anchor = empty();
|
|
15356
15356
|
attr_dev(p, "class", "SearchMessage");
|
|
15357
|
-
add_location(p, file, 296, 8,
|
|
15357
|
+
add_location(p, file, 296, 8, 10325);
|
|
15358
15358
|
},
|
|
15359
15359
|
m: function mount(target, anchor) {
|
|
15360
15360
|
insert_dev(target, p, anchor);
|
|
@@ -15411,9 +15411,9 @@
|
|
|
15411
15411
|
p = element("p");
|
|
15412
15412
|
t = text(t_value);
|
|
15413
15413
|
attr_dev(p, "class", "SearchMessage");
|
|
15414
|
-
add_location(p, file, 299, 12,
|
|
15414
|
+
add_location(p, file, 299, 12, 10473);
|
|
15415
15415
|
attr_dev(div, "class", "ResultsContainerError");
|
|
15416
|
-
add_location(div, file, 298, 10,
|
|
15416
|
+
add_location(div, file, 298, 10, 10425);
|
|
15417
15417
|
},
|
|
15418
15418
|
m: function mount(target, anchor) {
|
|
15419
15419
|
insert_dev(target, div, anchor);
|
|
@@ -15550,7 +15550,7 @@
|
|
|
15550
15550
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[2]);
|
|
15551
15551
|
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
|
|
15552
15552
|
set_custom_element_data(casino_game_thumbnail, "gamepagemodalurl", /*gamepagemodalurl*/ ctx[6]);
|
|
15553
|
-
add_location(casino_game_thumbnail, file, 308, 12,
|
|
15553
|
+
add_location(casino_game_thumbnail, file, 308, 12, 10848);
|
|
15554
15554
|
},
|
|
15555
15555
|
m: function mount(target, anchor) {
|
|
15556
15556
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
@@ -15674,10 +15674,10 @@
|
|
|
15674
15674
|
p1 = element("p");
|
|
15675
15675
|
t2 = text(t2_value);
|
|
15676
15676
|
attr_dev(p0, "class", "SearchMessage");
|
|
15677
|
-
add_location(p0, file, 334, 12,
|
|
15678
|
-
add_location(p1, file, 335, 12,
|
|
15677
|
+
add_location(p0, file, 334, 12, 11897);
|
|
15678
|
+
add_location(p1, file, 335, 12, 11955);
|
|
15679
15679
|
attr_dev(div, "class", "ResultsContainerError");
|
|
15680
|
-
add_location(div, file, 333, 10,
|
|
15680
|
+
add_location(div, file, 333, 10, 11849);
|
|
15681
15681
|
},
|
|
15682
15682
|
m: function mount(target, anchor) {
|
|
15683
15683
|
insert_dev(target, div, anchor);
|
|
@@ -15765,48 +15765,48 @@
|
|
|
15765
15765
|
attr_dev(path0, "stroke-linecap", "round");
|
|
15766
15766
|
attr_dev(path0, "stroke-linejoin", "round");
|
|
15767
15767
|
attr_dev(path0, "d", "m10.48 10.985 2.21 2.373");
|
|
15768
|
-
add_location(path0, file, 278, 10,
|
|
15768
|
+
add_location(path0, file, 278, 10, 9213);
|
|
15769
15769
|
attr_dev(circle, "cx", "6.5");
|
|
15770
15770
|
attr_dev(circle, "cy", "6.5");
|
|
15771
15771
|
attr_dev(circle, "r", "5.75");
|
|
15772
15772
|
attr_dev(circle, "stroke", "#212121");
|
|
15773
15773
|
attr_dev(circle, "stroke-width", "1.5");
|
|
15774
|
-
add_location(circle, file, 279, 10,
|
|
15774
|
+
add_location(circle, file, 279, 10, 9341);
|
|
15775
15775
|
attr_dev(svg0, "width", "14");
|
|
15776
15776
|
attr_dev(svg0, "height", "15");
|
|
15777
15777
|
attr_dev(svg0, "fill", "none");
|
|
15778
15778
|
attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
|
|
15779
|
-
add_location(svg0, file, 277, 8,
|
|
15779
|
+
add_location(svg0, file, 277, 8, 9127);
|
|
15780
15780
|
attr_dev(div0, "class", "SearchIcon");
|
|
15781
|
-
add_location(div0, file, 276, 6,
|
|
15781
|
+
add_location(div0, file, 276, 6, 9094);
|
|
15782
15782
|
attr_dev(input, "class", "SearchInput");
|
|
15783
15783
|
attr_dev(input, "type", "search");
|
|
15784
15784
|
attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[17]('placeHolderSearchGames'));
|
|
15785
15785
|
attr_dev(input, "maxlength", /*searchInputMaxLength*/ ctx[19]);
|
|
15786
|
-
add_location(input, file, 282, 8,
|
|
15786
|
+
add_location(input, file, 282, 8, 9450);
|
|
15787
15787
|
attr_dev(path1, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8");
|
|
15788
15788
|
attr_dev(path1, "stroke", "#717171");
|
|
15789
15789
|
attr_dev(path1, "stroke-width", "2");
|
|
15790
15790
|
attr_dev(path1, "stroke-linecap", "round");
|
|
15791
15791
|
attr_dev(path1, "stroke-linejoin", "round");
|
|
15792
|
-
add_location(path1, file, 285, 12,
|
|
15792
|
+
add_location(path1, file, 285, 12, 9857);
|
|
15793
15793
|
attr_dev(svg1, "width", "11");
|
|
15794
15794
|
attr_dev(svg1, "height", "11");
|
|
15795
15795
|
attr_dev(svg1, "fill", "none");
|
|
15796
15796
|
attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
|
|
15797
|
-
add_location(svg1, file, 284, 10,
|
|
15797
|
+
add_location(svg1, file, 284, 10, 9769);
|
|
15798
15798
|
attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[8].length != 0 ? '' : 'NotVisible'));
|
|
15799
|
-
add_location(span, file, 283, 8,
|
|
15799
|
+
add_location(span, file, 283, 8, 9648);
|
|
15800
15800
|
attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[9] ? 'NotVisible' : ''));
|
|
15801
|
-
add_location(small, file, 288, 6,
|
|
15801
|
+
add_location(small, file, 288, 6, 10020);
|
|
15802
15802
|
attr_dev(div1, "class", div1_class_value = "Search " + (/*searchCancelled*/ ctx[9] ? '' : 'SearchAnimation'));
|
|
15803
|
-
add_location(div1, file, 275, 4,
|
|
15803
|
+
add_location(div1, file, 275, 4, 9023);
|
|
15804
15804
|
|
|
15805
15805
|
attr_dev(div2, "class", "" + ((getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15806
15806
|
? ''
|
|
15807
15807
|
: 'Desktop') + " CasinoSearch"));
|
|
15808
15808
|
|
|
15809
|
-
add_location(div2, file, 274, 2,
|
|
15809
|
+
add_location(div2, file, 274, 2, 8906);
|
|
15810
15810
|
},
|
|
15811
15811
|
l: function claim(nodes) {
|
|
15812
15812
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -16143,12 +16143,15 @@
|
|
|
16143
16143
|
|
|
16144
16144
|
// --- Communication with other widgets
|
|
16145
16145
|
const sendSearchStatus = searchStatus => {
|
|
16146
|
-
window.postMessage(
|
|
16147
|
-
|
|
16148
|
-
|
|
16149
|
-
|
|
16150
|
-
|
|
16151
|
-
|
|
16146
|
+
window.postMessage(
|
|
16147
|
+
{
|
|
16148
|
+
type: searchStatus === true
|
|
16149
|
+
? 'searchActive'
|
|
16150
|
+
: 'searchCancelled',
|
|
16151
|
+
searchStatus
|
|
16152
|
+
},
|
|
16153
|
+
window.location.href
|
|
16154
|
+
);
|
|
16152
16155
|
};
|
|
16153
16156
|
|
|
16154
16157
|
const setActiveLanguage = () => {
|