@everymatrix/casino-categories-providers 1.5.4 → 1.5.5

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.
@@ -5492,7 +5492,7 @@
5492
5492
  class CasinoCategories extends SvelteElement {
5493
5493
  constructor(options) {
5494
5494
  super();
5495
- this.shadowRoot.innerHTML = `<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px #e4e2e2}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px}.CategoryTextContainer p:first-child{font-weight:600}.CategoryTextContainer p:last-child{color:#828282;font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}</style>`;
5495
+ this.shadowRoot.innerHTML = `<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px #e4e2e2}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px}.CategoryTextContainer p:first-child{font-weight:600}.CategoryTextContainer p:last-child{color:#828282;font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}</style>`;
5496
5496
 
5497
5497
  init(
5498
5498
  this,
@@ -5816,7 +5816,7 @@
5816
5816
  attr_dev(h40, "class", "ProviderTitle");
5817
5817
  add_location(h40, file$1, 78, 4, 2844);
5818
5818
  attr_dev(h41, "class", "ProviderTitle");
5819
- add_location(h41, file$1, 88, 6, 3334);
5819
+ add_location(h41, file$1, 89, 6, 3358);
5820
5820
  },
5821
5821
  m: function mount(target, anchor) {
5822
5822
  insert_dev(target, h40, anchor);
@@ -5957,17 +5957,20 @@
5957
5957
  let img_src_value;
5958
5958
  let img_alt_value;
5959
5959
  let t0;
5960
- let div0;
5961
- let p0;
5962
- let t1_value = /*provider*/ ctx[21].name + "";
5960
+ let t1_value = /*provider*/ ctx[21].logo + "";
5963
5961
  let t1;
5964
5962
  let t2;
5965
- let p1;
5966
- let t3_value = /*provider*/ ctx[21].games.count + "";
5963
+ let div0;
5964
+ let p0;
5965
+ let t3_value = /*provider*/ ctx[21].name + "";
5967
5966
  let t3;
5968
5967
  let t4;
5969
- let t5_value = /*$_*/ ctx[4]('Translations.games') + "";
5968
+ let p1;
5969
+ let t5_value = /*provider*/ ctx[21].games.count + "";
5970
5970
  let t5;
5971
+ let t6;
5972
+ let t7_value = /*$_*/ ctx[4]('Translations.games') + "";
5973
+ let t7;
5971
5974
  let mounted;
5972
5975
  let dispose;
5973
5976
 
@@ -5980,22 +5983,24 @@
5980
5983
  div1 = element("div");
5981
5984
  img = element("img");
5982
5985
  t0 = space();
5983
- div0 = element("div");
5984
- p0 = element("p");
5985
5986
  t1 = text(t1_value);
5986
5987
  t2 = space();
5987
- p1 = element("p");
5988
+ div0 = element("div");
5989
+ p0 = element("p");
5988
5990
  t3 = text(t3_value);
5989
5991
  t4 = space();
5992
+ p1 = element("p");
5990
5993
  t5 = text(t5_value);
5994
+ t6 = space();
5995
+ t7 = text(t7_value);
5991
5996
  if (!src_url_equal(img.src, img_src_value = /*provider*/ ctx[21].logo)) attr_dev(img, "src", img_src_value);
5992
5997
  attr_dev(img, "alt", img_alt_value = /*provider*/ ctx[21].name);
5993
5998
  attr_dev(img, "class", "ProviderImage");
5994
5999
  add_location(img, file$1, 81, 8, 3070);
5995
- add_location(p0, file$1, 83, 10, 3196);
5996
- add_location(p1, file$1, 84, 10, 3229);
6000
+ add_location(p0, file$1, 84, 10, 3220);
6001
+ add_location(p1, file$1, 85, 10, 3253);
5997
6002
  attr_dev(div0, "class", "ProviderTextContainer");
5998
- add_location(div0, file$1, 82, 8, 3150);
6003
+ add_location(div0, file$1, 83, 8, 3174);
5999
6004
  attr_dev(div1, "class", "Provider");
6000
6005
  add_location(div1, file$1, 80, 6, 2958);
6001
6006
  },
@@ -6003,14 +6008,16 @@
6003
6008
  insert_dev(target, div1, anchor);
6004
6009
  append_dev(div1, img);
6005
6010
  append_dev(div1, t0);
6011
+ append_dev(div1, t1);
6012
+ append_dev(div1, t2);
6006
6013
  append_dev(div1, div0);
6007
6014
  append_dev(div0, p0);
6008
- append_dev(p0, t1);
6009
- append_dev(div0, t2);
6015
+ append_dev(p0, t3);
6016
+ append_dev(div0, t4);
6010
6017
  append_dev(div0, p1);
6011
- append_dev(p1, t3);
6012
- append_dev(p1, t4);
6013
6018
  append_dev(p1, t5);
6019
+ append_dev(p1, t6);
6020
+ append_dev(p1, t7);
6014
6021
 
6015
6022
  if (!mounted) {
6016
6023
  dispose = listen_dev(div1, "click", click_handler, false, false, false);
@@ -6028,9 +6035,10 @@
6028
6035
  attr_dev(img, "alt", img_alt_value);
6029
6036
  }
6030
6037
 
6031
- if (dirty & /*topProviders*/ 2 && t1_value !== (t1_value = /*provider*/ ctx[21].name + "")) set_data_dev(t1, t1_value);
6032
- if (dirty & /*topProviders*/ 2 && t3_value !== (t3_value = /*provider*/ ctx[21].games.count + "")) set_data_dev(t3, t3_value);
6033
- if (dirty & /*$_*/ 16 && t5_value !== (t5_value = /*$_*/ ctx[4]('Translations.games') + "")) set_data_dev(t5, t5_value);
6038
+ if (dirty & /*topProviders*/ 2 && t1_value !== (t1_value = /*provider*/ ctx[21].logo + "")) set_data_dev(t1, t1_value);
6039
+ if (dirty & /*topProviders*/ 2 && t3_value !== (t3_value = /*provider*/ ctx[21].name + "")) set_data_dev(t3, t3_value);
6040
+ if (dirty & /*topProviders*/ 2 && t5_value !== (t5_value = /*provider*/ ctx[21].games.count + "")) set_data_dev(t5, t5_value);
6041
+ if (dirty & /*$_*/ 16 && t7_value !== (t7_value = /*$_*/ ctx[4]('Translations.games') + "")) set_data_dev(t7, t7_value);
6034
6042
  },
6035
6043
  d: function destroy(detaching) {
6036
6044
  if (detaching) detach_dev(div1);
@@ -6050,7 +6058,7 @@
6050
6058
  return block;
6051
6059
  }
6052
6060
 
6053
- // (90:6) {#each otherProviders as provider}
6061
+ // (91:6) {#each otherProviders as provider}
6054
6062
  function create_each_block(ctx) {
6055
6063
  let div1;
6056
6064
  let img;
@@ -6093,13 +6101,13 @@
6093
6101
  if (!src_url_equal(img.src, img_src_value = /*provider*/ ctx[21].logo)) attr_dev(img, "src", img_src_value);
6094
6102
  attr_dev(img, "alt", img_alt_value = /*provider*/ ctx[21].name);
6095
6103
  attr_dev(img, "class", "ProviderImage");
6096
- add_location(img, file$1, 91, 10, 3564);
6097
- add_location(p0, file$1, 93, 12, 3694);
6098
- add_location(p1, file$1, 94, 12, 3729);
6104
+ add_location(img, file$1, 92, 10, 3588);
6105
+ add_location(p0, file$1, 94, 12, 3718);
6106
+ add_location(p1, file$1, 95, 12, 3753);
6099
6107
  attr_dev(div0, "class", "ProviderTextContainer");
6100
- add_location(div0, file$1, 92, 10, 3646);
6108
+ add_location(div0, file$1, 93, 10, 3670);
6101
6109
  attr_dev(div1, "class", "Provider");
6102
- add_location(div1, file$1, 90, 8, 3450);
6110
+ add_location(div1, file$1, 91, 8, 3474);
6103
6111
  },
6104
6112
  m: function mount(target, anchor) {
6105
6113
  insert_dev(target, div1, anchor);
@@ -6146,7 +6154,7 @@
6146
6154
  block,
6147
6155
  id: create_each_block.name,
6148
6156
  type: "each",
6149
- source: "(90:6) {#each otherProviders as provider}",
6157
+ source: "(91:6) {#each otherProviders as provider}",
6150
6158
  ctx
6151
6159
  });
6152
6160
 
@@ -6419,7 +6427,7 @@
6419
6427
  class CasinoProviders extends SvelteElement {
6420
6428
  constructor(options) {
6421
6429
  super();
6422
- this.shadowRoot.innerHTML = `<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px}.ProviderTextContainer p:first-child{font-weight:600}.ProviderTextContainer p:last-child{color:#828282;font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid #e4e2e2;overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}</style>`;
6430
+ this.shadowRoot.innerHTML = `<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px}.ProviderTextContainer p:first-child{font-weight:600}.ProviderTextContainer p:last-child{color:#828282;font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:.5px solid #e4e2e2;overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}</style>`;
6423
6431
 
6424
6432
  init(
6425
6433
  this,
@@ -6930,7 +6938,7 @@
6930
6938
  class CasinoCategoriesProviders extends SvelteElement {
6931
6939
  constructor(options) {
6932
6940
  super();
6933
- this.shadowRoot.innerHTML = `<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.NotVisible{display:none}.Header{display:flex;max-width:100%;min-width:320px;margin-bottom:14px}.HeaderButton{flex:1 2 0;min-height:48px;margin:0;border:none;background:#ffffff;color:#828282;box-shadow:1px 2px 2px rgba(130, 130, 130, 0.1)}.HeaderButton.Active{box-shadow:none;border-bottom:2px solid #c8102e;color:#c8102e}</style>`;
6941
+ this.shadowRoot.innerHTML = `<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.NotVisible{display:none}.Header{display:flex;max-width:100%;min-width:320px;margin-bottom:14px}.HeaderButton{flex:1 2 0;min-height:48px;margin:0;border:none;background:#ffffff;color:#828282;box-shadow:1px 2px 2px rgba(130, 130, 130, 0.1)}.HeaderButton.Active{box-shadow:none;border-bottom:2px solid #c8102e;color:#c8102e}</style>`;
6934
6942
 
6935
6943
  init(
6936
6944
  this,