@everymatrix/casino-categories-providers 1.17.1 → 1.17.3

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.
@@ -5247,11 +5247,11 @@
5247
5247
  }
5248
5248
 
5249
5249
  attr_dev(h40, "class", "CategoryTitle");
5250
- add_location(h40, file$2, 81, 4, 3015);
5250
+ add_location(h40, file$2, 81, 4, 3018);
5251
5251
  attr_dev(h41, "class", "CategoryTitle");
5252
- add_location(h41, file$2, 91, 4, 3471);
5252
+ add_location(h41, file$2, 91, 4, 3474);
5253
5253
  attr_dev(div, "class", "CasinoCategories");
5254
- add_location(div, file$2, 80, 2, 2980);
5254
+ add_location(div, file$2, 80, 2, 2983);
5255
5255
  },
5256
5256
  m: function mount(target, anchor) {
5257
5257
  insert_dev(target, div, anchor);
@@ -5356,7 +5356,7 @@
5356
5356
  p = element("p");
5357
5357
  p.textContent = "Loading, please wait...";
5358
5358
  attr_dev(p, "class", "Message");
5359
- add_location(p, file$2, 78, 2, 2921);
5359
+ add_location(p, file$2, 78, 2, 2924);
5360
5360
  },
5361
5361
  m: function mount(target, anchor) {
5362
5362
  insert_dev(target, p, anchor);
@@ -5420,17 +5420,17 @@
5420
5420
  if (!src_url_equal(img.src, img_src_value = /*category*/ ctx[24].icon)) attr_dev(img, "src", img_src_value);
5421
5421
  attr_dev(img, "alt", img_alt_value = /*category*/ ctx[24].name);
5422
5422
  attr_dev(img, "class", "CategoryImage");
5423
- add_location(img, file$2, 84, 6, 3235);
5424
- add_location(p0, file$2, 86, 8, 3356);
5425
- add_location(p1, file$2, 87, 8, 3387);
5423
+ add_location(img, file$2, 84, 6, 3238);
5424
+ add_location(p0, file$2, 86, 8, 3359);
5425
+ add_location(p1, file$2, 87, 8, 3390);
5426
5426
  attr_dev(div0, "class", "CategoryTextContainer");
5427
- add_location(div0, file$2, 85, 6, 3312);
5427
+ add_location(div0, file$2, 85, 6, 3315);
5428
5428
 
5429
5429
  attr_dev(div1, "class", div1_class_value = "Category " + (/*activecategory*/ ctx[0] === /*category*/ ctx[24].id
5430
5430
  ? "Active"
5431
5431
  : ""));
5432
5432
 
5433
- add_location(div1, file$2, 83, 4, 3110);
5433
+ add_location(div1, file$2, 83, 4, 3113);
5434
5434
  },
5435
5435
  m: function mount(target, anchor) {
5436
5436
  insert_dev(target, div1, anchor);
@@ -5533,17 +5533,17 @@
5533
5533
  if (!src_url_equal(img.src, img_src_value = /*category*/ ctx[24].icon)) attr_dev(img, "src", img_src_value);
5534
5534
  attr_dev(img, "alt", img_alt_value = /*category*/ ctx[24].name);
5535
5535
  attr_dev(img, "class", "CategoryImage");
5536
- add_location(img, file$2, 94, 6, 3696);
5537
- add_location(p0, file$2, 96, 8, 3816);
5538
- add_location(p1, file$2, 97, 8, 3847);
5536
+ add_location(img, file$2, 94, 6, 3699);
5537
+ add_location(p0, file$2, 96, 8, 3819);
5538
+ add_location(p1, file$2, 97, 8, 3850);
5539
5539
  attr_dev(div0, "class", "CategoryTextContainer");
5540
- add_location(div0, file$2, 95, 6, 3772);
5540
+ add_location(div0, file$2, 95, 6, 3775);
5541
5541
 
5542
5542
  attr_dev(div1, "class", div1_class_value = "Category " + (/*activecategory*/ ctx[0] === /*category*/ ctx[24].id
5543
5543
  ? "Active"
5544
5544
  : ""));
5545
5545
 
5546
- add_location(div1, file$2, 93, 4, 3570);
5546
+ add_location(div1, file$2, 93, 4, 3573);
5547
5547
  },
5548
5548
  m: function mount(target, anchor) {
5549
5549
  insert_dev(target, div1, anchor);
@@ -5619,7 +5619,7 @@
5619
5619
  div = element("div");
5620
5620
  if_block.c();
5621
5621
  this.c = noop;
5622
- add_location(div, file$2, 76, 0, 2860);
5622
+ add_location(div, file$2, 76, 0, 2863);
5623
5623
  },
5624
5624
  l: function claim(nodes) {
5625
5625
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -5701,7 +5701,7 @@
5701
5701
 
5702
5702
  const getCategories = () => {
5703
5703
  $$invalidate(2, isLoading = true);
5704
- const url = new URL(`${endpoint}/casino/groups/${datasource}`);
5704
+ const url = new URL(`${endpoint}/v1/casino/groups/${datasource}`);
5705
5705
  url.searchParams.append("language", lang);
5706
5706
 
5707
5707
  fetch(url).then(res => res.json()).then(data => {
@@ -6185,9 +6185,9 @@
6185
6185
 
6186
6186
  each1_anchor = empty();
6187
6187
  attr_dev(h40, "class", "ProviderTitle");
6188
- add_location(h40, file$1, 78, 4, 2853);
6188
+ add_location(h40, file$1, 78, 4, 2856);
6189
6189
  attr_dev(h41, "class", "ProviderTitle");
6190
- add_location(h41, file$1, 88, 6, 3318);
6190
+ add_location(h41, file$1, 88, 6, 3321);
6191
6191
  },
6192
6192
  m: function mount(target, anchor) {
6193
6193
  insert_dev(target, h40, anchor);
@@ -6300,7 +6300,7 @@
6300
6300
  p = element("p");
6301
6301
  t = text(t_value);
6302
6302
  attr_dev(p, "class", "Message");
6303
- add_location(p, file$1, 76, 6, 2796);
6303
+ add_location(p, file$1, 76, 6, 2799);
6304
6304
  },
6305
6305
  m: function mount(target, anchor) {
6306
6306
  insert_dev(target, p, anchor);
@@ -6366,13 +6366,13 @@
6366
6366
  if (!src_url_equal(img.src, img_src_value = /*provider*/ ctx[21].logo)) attr_dev(img, "src", img_src_value);
6367
6367
  attr_dev(img, "alt", img_alt_value = /*provider*/ ctx[21].name);
6368
6368
  attr_dev(img, "class", "ProviderImage");
6369
- add_location(img, file$1, 81, 8, 3066);
6370
- add_location(p0, file$1, 83, 10, 3193);
6371
- add_location(p1, file$1, 84, 10, 3226);
6369
+ add_location(img, file$1, 81, 8, 3069);
6370
+ add_location(p0, file$1, 83, 10, 3196);
6371
+ add_location(p1, file$1, 84, 10, 3229);
6372
6372
  attr_dev(div0, "class", "ProviderTextContainer");
6373
- add_location(div0, file$1, 82, 8, 3147);
6373
+ add_location(div0, file$1, 82, 8, 3150);
6374
6374
  attr_dev(div1, "class", "Provider");
6375
- add_location(div1, file$1, 80, 6, 2954);
6375
+ add_location(div1, file$1, 80, 6, 2957);
6376
6376
  },
6377
6377
  m: function mount(target, anchor) {
6378
6378
  insert_dev(target, div1, anchor);
@@ -6468,13 +6468,13 @@
6468
6468
  if (!src_url_equal(img.src, img_src_value = /*provider*/ ctx[21].logo)) attr_dev(img, "src", img_src_value);
6469
6469
  attr_dev(img, "alt", img_alt_value = /*provider*/ ctx[21].name);
6470
6470
  attr_dev(img, "class", "ProviderImage");
6471
- add_location(img, file$1, 91, 10, 3535);
6472
- add_location(p0, file$1, 93, 12, 3666);
6473
- add_location(p1, file$1, 94, 12, 3701);
6471
+ add_location(img, file$1, 91, 10, 3538);
6472
+ add_location(p0, file$1, 93, 12, 3669);
6473
+ add_location(p1, file$1, 94, 12, 3704);
6474
6474
  attr_dev(div0, "class", "ProviderTextContainer");
6475
- add_location(div0, file$1, 92, 10, 3618);
6475
+ add_location(div0, file$1, 92, 10, 3621);
6476
6476
  attr_dev(div1, "class", "Provider");
6477
- add_location(div1, file$1, 90, 8, 3421);
6477
+ add_location(div1, file$1, 90, 8, 3424);
6478
6478
  },
6479
6479
  m: function mount(target, anchor) {
6480
6480
  insert_dev(target, div1, anchor);
@@ -6545,7 +6545,7 @@
6545
6545
  if_block.c();
6546
6546
  this.c = noop;
6547
6547
  attr_dev(div, "class", "CasinoProviders");
6548
- add_location(div, file$1, 74, 2, 2696);
6548
+ add_location(div, file$1, 74, 2, 2699);
6549
6549
  },
6550
6550
  l: function claim(nodes) {
6551
6551
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -6624,7 +6624,7 @@
6624
6624
 
6625
6625
  const getProviders = () => {
6626
6626
  $$invalidate(3, isLoading = true);
6627
- const url = new URL(`${endpoint}/casino/vendors`);
6627
+ const url = new URL(`${endpoint}/v1/casino/vendors`);
6628
6628
  url.searchParams.append("datasource", datasource);
6629
6629
  url.searchParams.append("language", lang);
6630
6630
  url.searchParams.append("fields", "id,name,displayName,subVendors,isTopVendor,logo,games");
@@ -7311,7 +7311,7 @@
7311
7311
  constructor(options) {
7312
7312
  super();
7313
7313
  const style = document.createElement('style');
7314
- style.textContent = `*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.NotVisible{display:none}.CasinoCategoriesProviders{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-dunkel, #07072A))}.Header{display:flex;max-width:100%;min-width:320px;margin-bottom:14px;font-size:18px;background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-dunkel, #07072A))}.HeaderButton{flex:1 2 0;min-height:48px;margin:0;border:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-dunkel, #07072A));box-shadow:1px 2px 2px rgba(var(--emfe-w-color-gray-150, #828282), 0.1)}.HeaderButton.Active{box-shadow:none;border-bottom:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-pink-500, #D0046C))}`;
7314
+ style.textContent = `*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.NotVisible{display:none}.CasinoCategoriesProviders{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A))}.Header{display:flex;max-width:100%;min-width:320px;margin-bottom:14px;font-size:18px;background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A))}.HeaderButton{flex:1 2 0;min-height:48px;margin:0;border:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));box-shadow:1px 2px 2px rgba(var(--emfe-w-color-gray-150, #828282), 0.1)}.HeaderButton.Active{box-shadow:none;border-bottom:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}`;
7315
7315
  this.shadowRoot.appendChild(style);
7316
7316
 
7317
7317
  init(