@everymatrix/general-footer-template 1.54.11 → 1.55.0

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.
Files changed (49) hide show
  1. package/dist/cjs/custom-clock.cjs.entry.js +6 -18
  2. package/dist/cjs/custom-content-section.cjs.entry.js +37 -86
  3. package/dist/cjs/general-footer-template.cjs.entry.js +79 -70
  4. package/dist/cjs/general-footer-template.cjs.js +3 -3
  5. package/dist/cjs/image-list.cjs.entry.js +4 -9
  6. package/dist/cjs/{index-10cb8e8c.js → index-d85e54c5.js} +92 -197
  7. package/dist/cjs/link-section-list.cjs.entry.js +5 -8
  8. package/dist/cjs/loader.cjs.js +2 -2
  9. package/dist/collection/collection-manifest.json +1 -1
  10. package/dist/collection/components/custom-clock/custom-clock.js +5 -25
  11. package/dist/collection/components/custom-content-section/custom-content-section.js +6 -17
  12. package/dist/collection/components/general-footer-template/demo-footer.css +1 -2
  13. package/dist/collection/components/general-footer-template/general-footer-template.js +41 -93
  14. package/dist/collection/components/image-list/image-list.js +3 -14
  15. package/dist/collection/components/link-section-list/link-section-list.js +4 -17
  16. package/dist/collection/utils/utils.js +1 -1
  17. package/dist/esm/custom-clock.entry.js +6 -18
  18. package/dist/esm/custom-content-section.entry.js +37 -86
  19. package/dist/esm/general-footer-template.entry.js +79 -70
  20. package/dist/esm/general-footer-template.js +4 -4
  21. package/dist/esm/image-list.entry.js +4 -9
  22. package/dist/esm/{index-e2977b84.js → index-7f32a4a7.js} +92 -197
  23. package/dist/esm/link-section-list.entry.js +5 -8
  24. package/dist/esm/loader.js +3 -3
  25. package/dist/general-footer-template/general-footer-template.esm.js +1 -1
  26. package/dist/general-footer-template/p-122e0353.entry.js +1 -0
  27. package/dist/general-footer-template/p-905acd21.js +2 -0
  28. package/dist/general-footer-template/p-9aeab1ea.entry.js +1 -0
  29. package/dist/general-footer-template/p-a6279430.entry.js +1 -0
  30. package/dist/general-footer-template/{p-48b95d9a.entry.js → p-cd14a119.entry.js} +2 -2
  31. package/dist/general-footer-template/{p-ec9d9aab.entry.js → p-f5a17365.entry.js} +1 -1
  32. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/stencil.config.d.ts +2 -0
  33. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/stencil.config.dev.d.ts +2 -0
  34. package/dist/types/components/general-footer-template/general-footer-template.d.ts +4 -4
  35. package/dist/types/components.d.ts +8 -0
  36. package/package.json +1 -1
  37. package/dist/collection/components/general-footer-template/general-footer-template.css +0 -84
  38. package/dist/collection/components/general-footer-template/pariuri_plus_variant.css +0 -185
  39. package/dist/collection/components/general-footer-template/variant_style_1.css +0 -146
  40. package/dist/general-footer-template/p-2477706f.entry.js +0 -1
  41. package/dist/general-footer-template/p-5d1fe559.js +0 -2
  42. package/dist/general-footer-template/p-c646816c.entry.js +0 -1
  43. package/dist/general-footer-template/p-cb29a35c.entry.js +0 -1
  44. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/stencil.config.d.ts +0 -2
  45. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/stencil.config.dev.d.ts +0 -2
  46. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/index.d.ts +0 -0
  47. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  48. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  49. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-e2977b84.js';
1
+ import { r as registerInstance, h } from './index-7f32a4a7.js';
2
2
  import { c as commonjsGlobal, g as getAugmentedNamespace } from './_commonjsHelpers-57e89916.js';
3
3
 
4
4
  var decode = {};
@@ -3327,7 +3327,7 @@ function filter$1(test, node, recurse = true, limit = Infinity) {
3327
3327
  function find(test, nodes, recurse, limit) {
3328
3328
  const result = [];
3329
3329
  /** Stack of the arrays we are looking at. */
3330
- const nodeStack = [Array.isArray(nodes) ? nodes : [nodes]];
3330
+ const nodeStack = [nodes];
3331
3331
  /** Stack of the indices within the arrays. */
3332
3332
  const indexStack = [0];
3333
3333
  for (;;) {
@@ -3381,19 +3381,20 @@ function findOneChild(test, nodes) {
3381
3381
  * @returns The first node that passes `test`.
3382
3382
  */
3383
3383
  function findOne(test, nodes, recurse = true) {
3384
- const searchedNodes = Array.isArray(nodes) ? nodes : [nodes];
3385
- for (let i = 0; i < searchedNodes.length; i++) {
3386
- const node = searchedNodes[i];
3387
- if (isTag(node) && test(node)) {
3388
- return node;
3384
+ let elem = null;
3385
+ for (let i = 0; i < nodes.length && !elem; i++) {
3386
+ const node = nodes[i];
3387
+ if (!isTag(node)) {
3388
+ continue;
3389
+ }
3390
+ else if (test(node)) {
3391
+ elem = node;
3389
3392
  }
3390
- if (recurse && hasChildren(node) && node.children.length > 0) {
3391
- const found = findOne(test, node.children, true);
3392
- if (found)
3393
- return found;
3393
+ else if (recurse && node.children.length > 0) {
3394
+ elem = findOne(test, node.children, true);
3394
3395
  }
3395
3396
  }
3396
- return null;
3397
+ return elem;
3397
3398
  }
3398
3399
  /**
3399
3400
  * Checks if a tree of nodes contains at least one node passing a test.
@@ -3404,8 +3405,8 @@ function findOne(test, nodes, recurse = true) {
3404
3405
  * @returns Whether a tree of nodes contains at least one node passing the test.
3405
3406
  */
3406
3407
  function existsOne(test, nodes) {
3407
- return (Array.isArray(nodes) ? nodes : [nodes]).some((node) => (isTag(node) && test(node)) ||
3408
- (hasChildren(node) && existsOne(test, node.children)));
3408
+ return nodes.some((checked) => isTag(checked) &&
3409
+ (test(checked) || existsOne(test, checked.children)));
3409
3410
  }
3410
3411
  /**
3411
3412
  * Search an array of nodes and their children for elements passing a test function.
@@ -3419,7 +3420,7 @@ function existsOne(test, nodes) {
3419
3420
  */
3420
3421
  function findAll(test, nodes) {
3421
3422
  const result = [];
3422
- const nodeStack = [Array.isArray(nodes) ? nodes : [nodes]];
3423
+ const nodeStack = [nodes];
3423
3424
  const indexStack = [0];
3424
3425
  for (;;) {
3425
3426
  if (indexStack[0] >= nodeStack[0].length) {
@@ -3433,9 +3434,11 @@ function findAll(test, nodes) {
3433
3434
  continue;
3434
3435
  }
3435
3436
  const elem = nodeStack[0][indexStack[0]++];
3436
- if (isTag(elem) && test(elem))
3437
+ if (!isTag(elem))
3438
+ continue;
3439
+ if (test(elem))
3437
3440
  result.push(elem);
3438
- if (hasChildren(elem) && elem.children.length > 0) {
3441
+ if (elem.children.length > 0) {
3439
3442
  indexStack.unshift(0);
3440
3443
  nodeStack.unshift(elem.children);
3441
3444
  }
@@ -3565,19 +3568,6 @@ function getElementById(id, nodes, recurse = true) {
3565
3568
  function getElementsByTagName(tagName, nodes, recurse = true, limit = Infinity) {
3566
3569
  return filter$1(Checks["tag_name"](tagName), nodes, recurse, limit);
3567
3570
  }
3568
- /**
3569
- * Returns all nodes with the supplied `className`.
3570
- *
3571
- * @category Legacy Query Functions
3572
- * @param className Class name to search for.
3573
- * @param nodes Nodes to search through.
3574
- * @param recurse Also consider child nodes.
3575
- * @param limit Maximum number of nodes to return.
3576
- * @returns All nodes with the supplied `className`.
3577
- */
3578
- function getElementsByClassName(className, nodes, recurse = true, limit = Infinity) {
3579
- return filter$1(getAttribCheck("class", className), nodes, recurse, limit);
3580
- }
3581
3571
  /**
3582
3572
  * Returns all nodes with the supplied `type`.
3583
3573
  *
@@ -3945,7 +3935,6 @@ const index = /*#__PURE__*/Object.freeze({
3945
3935
  getElements: getElements,
3946
3936
  getElementById: getElementById,
3947
3937
  getElementsByTagName: getElementsByTagName,
3948
- getElementsByClassName: getElementsByClassName,
3949
3938
  getElementsByTagType: getElementsByTagType,
3950
3939
  removeSubsets: removeSubsets,
3951
3940
  get DocumentPosition () { return DocumentPosition; },
@@ -5256,12 +5245,9 @@ class Node$4 {
5256
5245
  if (opts.index) {
5257
5246
  pos = this.positionInside(opts.index);
5258
5247
  } else if (opts.word) {
5259
- let inputString = ('document' in this.source.input)
5260
- ? this.source.input.document
5261
- : this.source.input.css;
5262
- let stringRepresentation = inputString.slice(
5263
- sourceOffset(inputString, this.source.start),
5264
- sourceOffset(inputString, this.source.end)
5248
+ let stringRepresentation = this.source.input.css.slice(
5249
+ sourceOffset(this.source.input.css, this.source.start),
5250
+ sourceOffset(this.source.input.css, this.source.end)
5265
5251
  );
5266
5252
  let index = stringRepresentation.indexOf(opts.word);
5267
5253
  if (index !== -1) pos = this.positionInside(index);
@@ -5272,14 +5258,11 @@ class Node$4 {
5272
5258
  positionInside(index) {
5273
5259
  let column = this.source.start.column;
5274
5260
  let line = this.source.start.line;
5275
- let inputString = ('document' in this.source.input)
5276
- ? this.source.input.document
5277
- : this.source.input.css;
5278
- let offset = sourceOffset(inputString, this.source.start);
5261
+ let offset = sourceOffset(this.source.input.css, this.source.start);
5279
5262
  let end = offset + index;
5280
5263
 
5281
5264
  for (let i = offset; i < end; i++) {
5282
- if (inputString[i] === '\n') {
5265
+ if (this.source.input.css[i] === '\n') {
5283
5266
  column = 1;
5284
5267
  line += 1;
5285
5268
  } else {
@@ -5312,12 +5295,9 @@ class Node$4 {
5312
5295
  };
5313
5296
 
5314
5297
  if (opts.word) {
5315
- let inputString = ('document' in this.source.input)
5316
- ? this.source.input.document
5317
- : this.source.input.css;
5318
- let stringRepresentation = inputString.slice(
5319
- sourceOffset(inputString, this.source.start),
5320
- sourceOffset(inputString, this.source.end)
5298
+ let stringRepresentation = this.source.input.css.slice(
5299
+ sourceOffset(this.source.input.css, this.source.start),
5300
+ sourceOffset(this.source.input.css, this.source.end)
5321
5301
  );
5322
5302
  let index = stringRepresentation.indexOf(opts.word);
5323
5303
  if (index !== -1) {
@@ -6016,34 +5996,22 @@ Document$3.registerProcessor = dependant => {
6016
5996
  var document = Document$3;
6017
5997
  Document$3.default = Document$3;
6018
5998
 
6019
- // This alphabet uses `A-Za-z0-9_-` symbols.
6020
- // The order of characters is optimized for better gzip and brotli compression.
6021
- // References to the same file (works both for gzip and brotli):
6022
- // `'use`, `andom`, and `rict'`
6023
- // References to the brotli default dictionary:
6024
- // `-26T`, `1983`, `40px`, `75px`, `bush`, `jack`, `mind`, `very`, and `wolf`
6025
5999
  let urlAlphabet =
6026
6000
  'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
6027
-
6028
6001
  let customAlphabet = (alphabet, defaultSize = 21) => {
6029
6002
  return (size = defaultSize) => {
6030
6003
  let id = '';
6031
- // A compact alternative for `for (var i = 0; i < step; i++)`.
6032
- let i = size | 0;
6004
+ let i = size;
6033
6005
  while (i--) {
6034
- // `| 0` is more compact and faster than `Math.floor()`.
6035
6006
  id += alphabet[(Math.random() * alphabet.length) | 0];
6036
6007
  }
6037
6008
  return id
6038
6009
  }
6039
6010
  };
6040
-
6041
6011
  let nanoid$1 = (size = 21) => {
6042
6012
  let id = '';
6043
- // A compact alternative for `for (var i = 0; i < step; i++)`.
6044
- let i = size | 0;
6013
+ let i = size;
6045
6014
  while (i--) {
6046
- // `| 0` is more compact and faster than `Math.floor()`.
6047
6015
  id += urlAlphabet[(Math.random() * 64) | 0];
6048
6016
  }
6049
6017
  return id
@@ -6233,9 +6201,6 @@ class Input$4 {
6233
6201
  this.hasBOM = false;
6234
6202
  }
6235
6203
 
6236
- this.document = this.css;
6237
- if (opts.document) this.document = opts.document.toString();
6238
-
6239
6204
  if (opts.from) {
6240
6205
  if (
6241
6206
  !pathAvailable$1 ||
@@ -7625,8 +7590,6 @@ class Parser$1 {
7625
7590
  if (prev && prev.type === 'rule' && !prev.raws.ownSemicolon) {
7626
7591
  prev.raws.ownSemicolon = this.spaces;
7627
7592
  this.spaces = '';
7628
- prev.source.end = this.getPosition(token[2]);
7629
- prev.source.end.offset += prev.raws.ownSemicolon.length;
7630
7593
  }
7631
7594
  }
7632
7595
  }
@@ -8637,7 +8600,7 @@ let Root$1 = root;
8637
8600
 
8638
8601
  class Processor$1 {
8639
8602
  constructor(plugins = []) {
8640
- this.version = '8.5.2';
8603
+ this.version = '8.4.49';
8641
8604
  this.plugins = this.normalize(plugins);
8642
8605
  }
8643
8606
 
@@ -9064,15 +9027,6 @@ function sanitizeHtml(html, options, _recursing) {
9064
9027
  if (skip) {
9065
9028
  if (options.disallowedTagsMode === 'discard' || options.disallowedTagsMode === 'completelyDiscard') {
9066
9029
  // We want the contents but not this tag
9067
- if (frame.innerText && !hasText) {
9068
- const escaped = escapeHtml(frame.innerText);
9069
- if (options.textFilter) {
9070
- result += options.textFilter(escaped, name);
9071
- } else {
9072
- result += escapeHtml(frame.innerText);
9073
- }
9074
- addedText = true;
9075
- }
9076
9030
  return;
9077
9031
  }
9078
9032
  tempResult = result;
@@ -9725,23 +9679,20 @@ const CustomContentSectionStyle0 = customContentSectionCss;
9725
9679
  const CustomContentSection = class {
9726
9680
  constructor(hostRef) {
9727
9681
  registerInstance(this, hostRef);
9728
- /**
9729
- * If this is true it will emit an event at the moment the content with url its clicked
9730
- */
9682
+ this.customContent = undefined;
9683
+ this.repeaterContent = undefined;
9731
9684
  this.navigateViaEvent = false;
9732
- /**
9733
- * Post Message event to be sent on navigation via Event
9734
- */
9735
9685
  this.postMessageEvent = '';
9736
9686
  }
9737
9687
  render() {
9738
9688
  const clean = sanitizeHtml$1(this.customContent, {
9739
- allowedTags: sanitizeHtml$1.defaults.allowedTags.concat(['img']),
9689
+ allowedTags: sanitizeHtml$1.defaults.allowedTags.concat(['img', 'a']),
9740
9690
  allowedAttributes: {
9741
- img: ['src', 'srcset', 'alt', 'title', 'width', 'height', 'loading']
9691
+ img: ['src', 'srcset', 'alt', 'title', 'width', 'height', 'loading'],
9692
+ a: ['href', 'target', 'rel']
9742
9693
  }
9743
9694
  });
9744
- return h("div", { key: '894fdc79eb310d5a7cfde48445afd3d1d464359e', class: "CustomContentSectionContainer" }, h("div", { key: 'cfecce550a4e9b6b692ff12de96262e1413f8f2b', class: "CustomContentSectionWrapper" }, h("div", { key: '1e76edcbb408a184848bda0c86a99d2467e3e081', class: "CustomContentSectionContent", innerHTML: clean }), this.repeaterContent ? h("image-list", { style: { width: "100%" }, repeaterContent: this.repeaterContent ? this.repeaterContent : null, "navigate-via-event": this.navigateViaEvent, "post-message-event": this.postMessageEvent }) : ''));
9695
+ return h("div", { key: '7cfcf732fff969c5bcd0b08a4b921ae3592732b3', class: "CustomContentSectionContainer" }, h("div", { key: 'c5cf9a5ada78c792ebb778d3d3084e0b0b938ed4', class: "CustomContentSectionWrapper" }, h("div", { key: 'abc8184b4eb9c97e0261bec4baebfb7e272cd3bb', class: "CustomContentSectionContent", innerHTML: clean }), this.repeaterContent ? h("image-list", { style: { width: "100%" }, repeaterContent: this.repeaterContent ? this.repeaterContent : null, "navigate-via-event": this.navigateViaEvent, "post-message-event": this.postMessageEvent }) : ''));
9745
9696
  }
9746
9697
  };
9747
9698
  CustomContentSection.style = CustomContentSectionStyle0;
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-e2977b84.js';
1
+ import { r as registerInstance, h } from './index-7f32a4a7.js';
2
2
 
3
3
  /**
4
4
  * custom rules for component types
@@ -172,7 +172,7 @@ const normalizeRepeaterContent = (data) => {
172
172
  isExternalLink: 'isExternalLink',
173
173
  image: 'paymentMethodImage',
174
174
  title: 'paymentTitle',
175
- url: 'paymentUrl',
175
+ url: 'paymentMethodUrl',
176
176
  target: 'target'
177
177
  },
178
178
  sponsors: {
@@ -209,85 +209,91 @@ const normalizeRepeaterContent = (data) => {
209
209
  return repeaterResponse;
210
210
  };
211
211
 
212
- const demoFooterCss = ":host {\n display: block;\n}\n\n/* $-background-primary: #14202d; */\n* {\n font-family: sans-serif;\n}\n\nhtml,\nbody {\n margin: 0;\n padding: 0;\n font-family: inherit;\n}\n\n.FooterSectionContainer {\n color: var(--emw--footer-typography, var(--emw--color-thpography, #fff));\n padding: 12px;\n}\n\n/* // FOOTER CONTAINER - only serves to be read as a container */\n.FooterContainer {\n container-type: inline-size;\n container-name: footerContainer;\n}\n\n.FooterGrid {\n background-color: var(--emw--footer-color-bg, var(--emw--color-background, #0E1511));\n display: grid;\n padding: 8px 24px 0 24px;\n grid-template-rows: repeat(9, auto);\n grid-template-areas: \"one\" \"two\" \"three\" \"four\" \"five\" \"six\" \"seven\";\n}\n\n.FooterSectionContainer1 {\n position: relative;\n grid-area: one;\n}\n\n.FooterSectionContainer2 {\n position: relative;\n grid-area: two;\n}\n\n.FooterSectionContainer3 {\n position: relative;\n grid-area: three;\n}\n\n.FooterSectionContainer4 {\n position: relative;\n grid-area: four;\n}\n\n.FooterSectionContainer5 {\n grid-area: five;\n}\n\n.FooterSectionContainer6 {\n padding-top: 22px;\n grid-area: six;\n}\n\n.FooterSectionContainer7 {\n grid-area: seven;\n}\n\n/* // remove paddings */\n.FooterSectionContainer7 div {\n padding: 0;\n}\n\n@container (max-width: 750px) {\n .FooterSectionContainer3:after,\n .FooterSectionContainer2:after {\n position: absolute;\n content: \"\";\n height: 1px;\n width: 90%;\n background-color: var(--emw--color-gray-100, #444);\n }\n .FooterSectionContainer5 {\n grid-area: five;\n background-color: var(--emw--color-background-secondary, #060706);\n padding: 30px 0;\n font-size: var(--emw--font-size-medium, 16px);\n min-height: var(--emw--size-medium-plus, 100px);\n justify-self: center;\n }\n}\n/* // STYLES FOR TABLET / DESKTOP */\n@container (min-width: 750px) {\n .FooterGrid {\n background: var(--emw--footer-color-bg, var(--emw--color-background, #0E1511));\n display: grid;\n border-top: 5px solid var(--emw--footer-color-primary, var(--emw--color-primary, #22B04E));\n grid-template-rows: repeat(5, auto);\n grid-template-columns: 1fr 1fr 1fr 1fr;\n grid-template-areas: \"one two three four\" \"five five five five\" \"six six six six\" \"seven seven seven seven\";\n }\n .FooterSectionContainer1 {\n padding: 30px 40px;\n grid-area: one;\n background: var(--emw--color-background, #000000);\n }\n .FooterSectionContainer2 {\n grid-area: two;\n min-height: var(--emw--size-4x-medium, 500px);\n }\n .FooterSectionContainer3 {\n grid-area: three;\n }\n .FooterSectionContainer4 {\n grid-area: four;\n }\n .FooterSectionContainer5 {\n grid-area: five;\n background-color: var(--emw--color-background-secondary, #091217);\n padding: var(--emw--spacing-x-large, 30px) 0;\n font-size: var(--emw--font-size-medium, 16px);\n min-height: var(--emw--size-medium-plus, 100px);\n }\n .FooterSectionContainer6 {\n grid-area: six;\n padding: 0;\n }\n .FooterSectionContainer7 {\n grid-area: seven;\n padding: 0;\n }\n /* // remove paddings */\n .FooterSectionContainer5 .CustomContentSectionWrapper {\n padding: 0;\n }\n .FooterSectionContainer5 .CustomContentSectionWrapper div {\n display: flex;\n flex-direction: left;\n align-items: center;\n padding-left: var(--emw--spacing-large, 20px);\n }\n .FooterSectionContainer5 .CustomContentSectionWrapper div p {\n margin: var(--emw--spacing-2x-small, 5px);\n text-align: center;\n }\n .FooterSectionContainer6 .CustomContentSectionWrapper div p {\n text-align: center;\n }\n .FooterSectionContainer6 .ImageListWrapper {\n padding: 0;\n }\n .FooterSectionContainer6 .ImageListWrapper {\n padding: 0;\n }\n .FooterSectionContainer7 .CustomContentSectionWrapper {\n padding: 0;\n padding-bottom: var(--emw--spacing-large, 22px);\n font-size: var(--emw--font-size-small, 14px);\n }\n}";
213
- const GeneralFooterTemplateStyle0 = demoFooterCss;
212
+ /**
213
+ * @name setClientStyling
214
+ * @description Method used to create and append to the passed element of the widget a style element with the content received
215
+ * @param {HTMLElement} stylingContainer The reference element of the widget
216
+ * @param {string} clientStyling The style content
217
+ */
218
+ function setClientStyling(stylingContainer, clientStyling) {
219
+ if (stylingContainer) {
220
+ const sheet = document.createElement('style');
221
+ sheet.innerHTML = clientStyling;
222
+ stylingContainer.appendChild(sheet);
223
+ }
224
+ }
225
+
226
+ /**
227
+ * @name setClientStylingURL
228
+ * @description Method used to create and append to the passed element of the widget a style element with the content fetched from a given URL
229
+ * @param {HTMLElement} stylingContainer The reference element of the widget
230
+ * @param {string} clientStylingUrl The URL of the style content
231
+ */
232
+ function setClientStylingURL(stylingContainer, clientStylingUrl) {
233
+ const url = new URL(clientStylingUrl);
234
+
235
+ fetch(url.href)
236
+ .then((res) => res.text())
237
+ .then((data) => {
238
+ const cssFile = document.createElement('style');
239
+ cssFile.innerHTML = data;
240
+ if (stylingContainer) {
241
+ stylingContainer.appendChild(cssFile);
242
+ }
243
+ })
244
+ .catch((err) => {
245
+ console.error('There was an error while trying to load client styling from URL', err);
246
+ });
247
+ }
214
248
 
215
- const pariuriPlusVariantCss = ":host {\n display: block;\n}\n\n/* $-background-primary: #14202d; */\n\n* {\n font-family: sans-serif;\n}\n\nhtml,\nbody {\n margin: 0;\n padding: 0;\n font-family: inherit;\n}\n\n.FooterSectionContainer {\n color: #fff;\n padding: 12px;\n}\n\n/* // FOOTER CONTAINER - only serves to be read as a container */\n.FooterContainer {\n container-type: inline-size;\n container-name: footerContainer;\n}\n\n\n.FooterGrid {\n background-color: #14202D;\n display: grid;\n padding: 8px 24px 0 24px;\n grid-template-rows: repeat(9, auto);\n grid-template-areas: \"one\"\n \"two\"\n \"three\"\n \"four\"\n \"five\"\n \"six\"\n \"seven\";\n}\n\n \n\n.FooterSectionContainer1 {\n position: relative;\n grid-area: one;\n \n}\n.FooterSectionContainer2 {\n position: relative;\n grid-area: two;\n border-bottom: 1px solid rgba(254, 254, 254, 0.2);\n}\n.FooterSectionContainer3 {\n position: relative;\n grid-area: three;\n \n}\n.FooterSectionContainer4 {\n position: relative;\n grid-area: four;\n border-bottom: 1px solid rgba(254, 254, 254, 0.2);\n}\n.FooterSectionContainer5 {\n grid-area: five;\n /* border-bottom: 1px solid #444; */\n}\n.FooterSectionContainer6 {\n padding-top: 22px;\n grid-area: six;\n}\n.FooterSectionContainer7 {\n grid-area: seven;\n}\n\n/* // remove paddings */\n.FooterSectionContainer7 div{\n padding: 0;\n}\n\n.FooterSectionContainer3:after {\n position: absolute;\n content: \"\";\n left: 30%;\n bottom: -20px;\n height: 1px;\n width: 40%;\n background-color: #444;\n}\n\n\n\n/* // STYLES FOR TABLET / DESKTOP */\n@container (min-width: 750px) {\n .FooterGrid {\n background: $-background-primary;\n display: grid;\n grid-template-rows: repeat(5, auto);\n grid-template-columns: 2fr 1fr;\n grid-template-areas: \"one two\"\n \"three four\"\n \"five five\"\n \"six six\"\n \"seven seven\";\n }\n \n \n .FooterSectionContainer1 {\n grid-area: one;\n border-bottom: 1px solid rgba(254, 254, 254, 0.2);\n }\n .FooterSectionContainer2 {\n grid-area: two;\n\n }\n .FooterSectionContainer3 {\n grid-area: three;\n border-bottom: 1px solid rgba(254, 254, 254, 0.2);\n }\n .FooterSectionContainer4 {\n grid-area: four;\n }\n .FooterSectionContainer5 {\n grid-area: five;\n }\n .FooterSectionContainer6 {\n grid-area: six;\n padding: 0;\n }\n .FooterSectionContainer7 {\n grid-area: seven;\n padding: 0;\n }\n\n /* VERTICAL BARS */\n .FooterSectionContainer3:after {\n position: absolute;\n content: \"\";\n left: initial;\n bottom:initial;\n top: 30%;\n right: 20px;\n width: 1px;\n height: 40%;\n background-color: #444;\n }\n\n /* // remove paddings */\n .FooterSectionContainer5 .CustomContentSectionWrapper {\n padding: 0;\n }\n\n .FooterSectionContainer5 .CustomContentSectionWrapper div {\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n .FooterSectionContainer5 .CustomContentSectionWrapper div p {\n margin: 5px;\n text-align: center;\n }\n\n .FooterSectionContainer6 .CustomContentSectionWrapper div p {\n text-align: center;\n }\n\n .FooterSectionContainer6 .ImageListWrapper {\n padding: 0;\n }\n\n .FooterSectionContainer6 .ImageListWrapper {\n padding: 0;\n /* padding-bottom: 22px; */\n /* font-size: 14px; */\n }\n\n .FooterSectionContainer7 .CustomContentSectionWrapper {\n padding: 0;\n padding-bottom: 22px;\n font-size: 14px;\n }\n}";
216
- const GeneralFooterTemplateStyle1 = pariuriPlusVariantCss;
249
+ /**
250
+ * @name setStreamLibrary
251
+ * @description Method used to create and append to the passed element of the widget a style element with content fetched from the MessageBus
252
+ * @param {HTMLElement} stylingContainer The highest element of the widget
253
+ * @param {string} domain The domain from where the content should be fetched (e.g. 'Casino.Style', 'App.Style', 'casino-footer.style', etc.)
254
+ * @param {ref} subscription A reference to a variable where the subscription should be saved for unsubscribing when no longer needed
255
+ */
256
+ function setStreamStyling(stylingContainer, domain, subscription) {
257
+ if (window.emMessageBus) {
258
+ const sheet = document.createElement('style');
217
259
 
218
- const variantStyle1Css = ":host {\n display: block;\n}\n\n/* $-background-primary: #14202d; */\n\n* {\n font-family: sans-serif;\n}\n\nhtml,\nbody {\n margin: 0;\n padding: 0;\n font-family: inherit;\n}\n\n.footer-section__container {\n color: #777;\n padding: 12px;\n}\n\n/* // FOOTER CONTAINER - only serves to be read as a container */\n.footer-container {\n container-type: inline-size;\n container-name: footerContainer;\n}\n\n\n.footer-grid {\n background-color: #14202d;\n display: grid;\n padding: 0 50px;\n grid-template-rows: repeat(9, auto);\n grid-template-areas: \"one\"\n \"two\"\n \"three\"\n \"four\"\n \"five\"\n \"six\"\n \"seven\";\n}\n\n \n\n.footer-section__container--1 {\n grid-area: one;\n border-bottom: 1px solid #444;\n}\n.footer-section__container--2 {\n position: relative;\n grid-area: two;\n border-bottom: 1px solid #444;\n}\n.footer-section__container--3 {\n grid-area: three;\n border-bottom: 1px solid #444;\n}\n.footer-section__container--4 {\n position: relative;\n grid-area: four;\n border-bottom: 1px solid #444;\n}\n.footer-section__container--5 {\n grid-area: five;\n border-bottom: 1px solid #444;\n}\n.footer-section__container--6 {\n padding-top: 22px;\n grid-area: six;\n}\n.footer-section__container--7 {\n grid-area: seven;\n}\n\n/* // remove paddings */\n.footer-section__container--7 div{\n padding: 0;\n}\n\n\n\n/* // STYLES FOR TABLET / DESKTOP */\n@container (min-width: 750px) {\n .footer-grid {\n background: $-background-primary;\n display: grid;\n grid-template-rows: repeat(5, auto);\n grid-template-columns: 1fr 1fr;\n grid-template-areas: \"one one\"\n \"two three\"\n \"four five\"\n \"six six\"\n \"seven seven\";\n }\n \n \n .footer-section__container--1 {\n grid-area: one;\n }\n .footer-section__container--2 {\n grid-area: two;\n }\n .footer-section__container--3 {\n grid-area: three;\n }\n .footer-section__container--4 {\n grid-area: four;\n }\n .footer-section__container--5 {\n grid-area: five;\n }\n .footer-section__container--6 {\n grid-area: six;\n padding: 0;\n }\n .footer-section__container--7 {\n grid-area: seven;\n padding: 0;\n }\n\n /* VERTICAL BARS */\n .footer-section__container--2:after,\n .footer-section__container--4:after {\n position: absolute;\n content: \"\";\n top: 10%;\n right: 0;\n width: 1px;\n height: 80%;\n background-color: #444;\n }\n\n /* // remove paddings */\n .footer-section__container--6 .image-list__wrapper {\n padding: 22px 0 0 0;\n }\n\n .footer-section__container--7 .custom-content-section__wrapper {\n padding: 0;\n padding-bottom: 22px;\n font-size: 14px;\n }\n\n \n}";
219
- const GeneralFooterTemplateStyle2 = variantStyle1Css;
260
+ window.emMessageBus.subscribe(domain, (data) => {
261
+ sheet.innerHTML = data;
262
+ if (stylingContainer) {
263
+ stylingContainer.appendChild(sheet);
264
+ }
265
+ });
266
+ }
267
+ }
220
268
 
221
- const generalFooterTemplateCss = ":host {\n display: block;\n}\n\n* {\n font-family: sans-serif;\n}\n\nhtml,\nbody {\n margin: 0;\n padding: 0;\n font-family: inherit;\n}\n\n.footer-section__container {\n color: var(--emw--footer-typography, var(--emw--color-white, #FFFFFF));\n padding: 12px;\n}\n\n.footer-container {\n container-type: inline-size;\n container-name: footerContainer;\n}\n\n.footer-grid {\n background-color: var(--emw--footer-color-bg, var(--emw--color-dark-blue, #07072A));\n display: grid;\n grid-template-rows: repeat(9, auto);\n grid-template-areas: \"one\" \"two\" \"three\" \"four\" \"five\" \"six\" \"seven\";\n}\n\n.footer-section__container--1 {\n grid-area: one;\n}\n.footer-section__container--2 {\n grid-area: two;\n}\n.footer-section__container--3 {\n grid-area: three;\n}\n.footer-section__container--4 {\n grid-area: four;\n}\n.footer-section__container--5 {\n grid-area: five;\n}\n.footer-section__container--6 {\n grid-area: six;\n}\n.footer-section__container--7 {\n grid-area: seven;\n}\n\n@container (min-width: 750px) {\n .footer-grid {\n background: var(--emw--footer-color-bg, var(--emw--color-dark-blue, #07072A));\n display: grid;\n grid-template-rows: repeat(7, auto);\n grid-template-columns: 2fr 1fr;\n grid-template-areas: \"one two\" \"three four\" \"five five\" \"six six\" \"seven seven\" \"eight eight\" \"nine nine\";\n }\n .footer-section__container--1 {\n grid-area: one;\n }\n .footer-section__container--2 {\n grid-area: two;\n }\n .footer-section__container--3 {\n grid-area: three;\n }\n .footer-section__container--4 {\n grid-area: four;\n }\n .footer-section__container--5 {\n grid-area: five;\n }\n .footer-section__container--6 {\n grid-area: six;\n }\n .footer-section__container--7 {\n grid-area: seven;\n }\n}";
222
- const GeneralFooterTemplateStyle3 = generalFooterTemplateCss;
269
+ const demoFooterCss = ":host {\n display: block;\n}\n\n/* $-background-primary: #14202d; */\n* {\n font-family: sans-serif;\n}\n\nhtml,\nbody {\n margin: 0;\n padding: 0;\n font-family: inherit;\n}\n\n.FooterSectionContainer {\n color: var(--emw--footer-typography, var(--emw--color-thpography, #fff));\n padding: 15px 20px 0;\n}\n\n/* // FOOTER CONTAINER - only serves to be read as a container */\n.FooterContainer {\n container-type: inline-size;\n container-name: footerContainer;\n}\n\n.FooterGrid {\n background-color: var(--emw--footer-color-bg, var(--emw--color-background, #0E1511));\n display: grid;\n grid-template-rows: repeat(9, auto);\n grid-template-areas: \"one\" \"two\" \"three\" \"four\" \"five\" \"six\" \"seven\";\n}\n\n.FooterSectionContainer1 {\n position: relative;\n grid-area: one;\n}\n\n.FooterSectionContainer2 {\n position: relative;\n grid-area: two;\n}\n\n.FooterSectionContainer3 {\n position: relative;\n grid-area: three;\n}\n\n.FooterSectionContainer4 {\n position: relative;\n grid-area: four;\n}\n\n.FooterSectionContainer5 {\n grid-area: five;\n}\n\n.FooterSectionContainer6 {\n padding-top: 22px;\n grid-area: six;\n}\n\n.FooterSectionContainer7 {\n grid-area: seven;\n}\n\n/* // remove paddings */\n.FooterSectionContainer7 div {\n padding: 0;\n}\n\n@container (max-width: 750px) {\n .FooterSectionContainer3:after,\n .FooterSectionContainer2:after {\n position: absolute;\n content: \"\";\n height: 1px;\n width: 90%;\n background-color: var(--emw--color-gray-100, #444);\n }\n .FooterSectionContainer5 {\n grid-area: five;\n background-color: var(--emw--color-background-secondary, #060706);\n padding: 30px 0;\n font-size: var(--emw--font-size-medium, 16px);\n min-height: var(--emw--size-medium-plus, 100px);\n justify-self: center;\n }\n}\n/* // STYLES FOR TABLET / DESKTOP */\n@container (min-width: 750px) {\n .FooterGrid {\n background: var(--emw--footer-color-bg, var(--emw--color-background, #0E1511));\n display: grid;\n border-top: 5px solid var(--emw--footer-color-primary, var(--emw--color-primary, #22B04E));\n grid-template-rows: repeat(5, auto);\n grid-template-columns: 1fr 1fr 1fr 1fr;\n grid-template-areas: \"one two three four\" \"five five five five\" \"six six six six\" \"seven seven seven seven\";\n }\n .FooterSectionContainer1 {\n padding: 30px 40px;\n grid-area: one;\n background: var(--emw--color-background, #000000);\n }\n .FooterSectionContainer2 {\n grid-area: two;\n min-height: var(--emw--size-4x-medium, 500px);\n }\n .FooterSectionContainer3 {\n grid-area: three;\n }\n .FooterSectionContainer4 {\n grid-area: four;\n }\n .FooterSectionContainer5 {\n grid-area: five;\n background-color: var(--emw--color-background-secondary, #091217);\n padding: var(--emw--spacing-x-large, 30px) 0;\n font-size: var(--emw--font-size-medium, 16px);\n min-height: var(--emw--size-medium-plus, 100px);\n }\n .FooterSectionContainer6 {\n grid-area: six;\n padding: 0;\n }\n .FooterSectionContainer7 {\n grid-area: seven;\n padding: 0;\n }\n /* // remove paddings */\n .FooterSectionContainer5 .CustomContentSectionWrapper {\n padding: 0;\n }\n .FooterSectionContainer5 .CustomContentSectionWrapper div {\n display: flex;\n flex-direction: left;\n align-items: center;\n padding-left: var(--emw--spacing-large, 20px);\n }\n .FooterSectionContainer5 .CustomContentSectionWrapper div p {\n margin: var(--emw--spacing-2x-small, 5px);\n text-align: center;\n }\n .FooterSectionContainer6 .CustomContentSectionWrapper div p {\n text-align: center;\n }\n .FooterSectionContainer6 .ImageListWrapper {\n padding: 0;\n }\n .FooterSectionContainer6 .ImageListWrapper {\n padding: 0;\n }\n .FooterSectionContainer7 .CustomContentSectionWrapper {\n padding: 0;\n padding-bottom: var(--emw--spacing-large, 22px);\n font-size: var(--emw--font-size-small, 14px);\n }\n}";
270
+ const GeneralFooterTemplateStyle0 = demoFooterCss;
223
271
 
224
272
  const GeneralFooterTemplate = class {
225
273
  constructor(hostRef) {
226
274
  registerInstance(this, hostRef);
275
+ this.platform = getDevicePlatform();
227
276
  /**
228
- * Environment segregation
277
+ * Host element
229
278
  */
279
+ this.MANDATORY_FIELDS = ['endpoint', 'language', 'sections'];
280
+ this.language = undefined;
281
+ this.sections = undefined;
282
+ this.endpoint = undefined;
230
283
  this.env = 'stage';
231
- /**
232
- * User roles
233
- */
234
284
  this.userRoles = 'everyone';
235
- /**
236
- * If this is true it will emit an event at the moment the content with url its clicked
237
- */
285
+ this.userid = undefined;
286
+ this.session = undefined;
287
+ this.baseUrl = undefined;
238
288
  this.navigateViaEvent = 'false';
239
- /**
240
- * Post Message event to be sent on navigation via Event
241
- */
242
289
  this.postMessageEvent = 'NavigateTo';
243
- /**
244
- * custom styling by string content
245
- */
246
290
  this.clientStyling = '';
247
- /**
248
- * custom styling by href
249
- */
250
291
  this.clientStylingUrl = '';
251
- /**
252
- * custom translation by href
253
- */
254
292
  this.translationUrl = '';
255
- /**
256
- * clockformat
257
- */
258
293
  this.clockFormat = 'HH:MM:ss';
259
- /**
260
- * configurable time zone
261
- */
262
294
  this.timeZone = '';
263
- /**
264
- * wether or not styling appends should be disallowed
265
- */
295
+ this.mbSource = undefined;
266
296
  this.hasErrors = false;
267
- this.stylingAppends = false;
268
- this.platform = getDevicePlatform();
269
- /**
270
- * Host element
271
- */
272
- this.MANDATORY_FIELDS = ['endpoint', 'language', 'sections'];
273
- this.setClientStyling = () => {
274
- let sheet = document.createElement('style');
275
- sheet.innerHTML = this.clientStyling;
276
- this.stylingContainer.prepend(sheet);
277
- };
278
- this.setClientStylingURL = () => {
279
- let url = new URL(this.clientStylingUrl);
280
- let cssFile = document.createElement('style');
281
- fetch(url.href)
282
- .then((res) => res.text())
283
- .then((data) => {
284
- cssFile.innerHTML = data;
285
- setTimeout(() => { this.stylingContainer.prepend(cssFile); }, 1);
286
- })
287
- .catch((err) => {
288
- console.log('error ', err);
289
- });
290
- };
291
297
  }
292
298
  validateMandatoryFields() {
293
299
  this.MANDATORY_FIELDS.forEach((field) => {
@@ -315,16 +321,19 @@ const GeneralFooterTemplate = class {
315
321
  }
316
322
  });
317
323
  }
318
- componentDidRender() {
319
- // start custom styling area
320
- if (!this.stylingAppends && this.stylingContainer) {
324
+ disconnectedCallback() {
325
+ this.stylingSubscription && this.stylingSubscription.unsubscribe();
326
+ }
327
+ componentDidLoad() {
328
+ if (window.emMessageBus != undefined) {
329
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
330
+ }
331
+ else {
321
332
  if (this.clientStyling)
322
- this.setClientStyling();
333
+ setClientStyling(this.stylingContainer, this.clientStyling);
323
334
  if (this.clientStylingUrl)
324
- this.setClientStylingURL();
325
- this.stylingAppends = true;
335
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
326
336
  }
327
- // end custom styling area
328
337
  }
329
338
  render() {
330
339
  if (this.hasErrors) {
@@ -341,6 +350,6 @@ const GeneralFooterTemplate = class {
341
350
  }
342
351
  }
343
352
  };
344
- GeneralFooterTemplate.style = GeneralFooterTemplateStyle0 + (GeneralFooterTemplateStyle1 + (GeneralFooterTemplateStyle2 + GeneralFooterTemplateStyle3));
353
+ GeneralFooterTemplate.style = GeneralFooterTemplateStyle0;
345
354
 
346
355
  export { GeneralFooterTemplate as general_footer_template };
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-e2977b84.js';
2
- export { s as setNonce } from './index-e2977b84.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-7f32a4a7.js';
2
+ export { s as setNonce } from './index-7f32a4a7.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -16,5 +16,5 @@ var patchBrowser = () => {
16
16
 
17
17
  patchBrowser().then(async (options) => {
18
18
  await globalScripts();
19
- return bootstrapLazy([["custom-content-section",[[2,"custom-content-section",{"customContent":[1,"custom-content"],"repeaterContent":[8,"repeater-content"],"navigateViaEvent":[516,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]],["custom-clock",[[2,"custom-clock",{"clockFormat":[513,"clock-format"],"timeZone":[513,"time-zone"],"translationUrl":[513,"translation-url"],"language":[513],"timeString":[32]},null,{"translationUrl":["handleNewTranslations"]}]]],["general-footer-template",[[1,"general-footer-template",{"language":[513],"sections":[513],"endpoint":[513],"env":[513],"userRoles":[513,"user-roles"],"userid":[513],"session":[513],"baseUrl":[513,"base-url"],"navigateViaEvent":[513,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"clockFormat":[513,"clock-format"],"timeZone":[513,"time-zone"],"hasErrors":[32],"stylingAppends":[32]}]]],["link-section-list",[[0,"link-section-list",{"repeaterContent":[8,"repeater-content"],"baseUrl":[513,"base-url"],"language":[513],"navigateViaEvent":[4,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]],["image-list",[[2,"image-list",{"repeaterContent":[8,"repeater-content"],"navigateViaEvent":[4,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]]], options);
19
+ return bootstrapLazy([["custom-content-section",[[2,"custom-content-section",{"customContent":[1,"custom-content"],"repeaterContent":[8,"repeater-content"],"navigateViaEvent":[516,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]],["custom-clock",[[2,"custom-clock",{"clockFormat":[513,"clock-format"],"timeZone":[513,"time-zone"],"translationUrl":[513,"translation-url"],"language":[513],"timeString":[32]},null,{"translationUrl":["handleNewTranslations"]}]]],["general-footer-template",[[1,"general-footer-template",{"language":[513],"sections":[513],"endpoint":[513],"env":[513],"userRoles":[513,"user-roles"],"userid":[513],"session":[513],"baseUrl":[513,"base-url"],"navigateViaEvent":[513,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"clockFormat":[513,"clock-format"],"timeZone":[513,"time-zone"],"mbSource":[513,"mb-source"],"hasErrors":[32]}]]],["link-section-list",[[0,"link-section-list",{"repeaterContent":[8,"repeater-content"],"baseUrl":[513,"base-url"],"language":[513],"navigateViaEvent":[4,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]],["image-list",[[2,"image-list",{"repeaterContent":[8,"repeater-content"],"navigateViaEvent":[4,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]]], options);
20
20
  });
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-e2977b84.js';
1
+ import { r as registerInstance, h } from './index-7f32a4a7.js';
2
2
 
3
3
  const imageListCss = ".sc-image-list-h {\n display: block;\n margin: 0;\n padding: 0;\n}\n\n.ImageListContainer.sc-image-list {\n height: 100%;\n}\n.ImageListWrapper.sc-image-list {\n box-sizing: border-box;\n height: 100%;\n display: flex;\n flex-direction: column;\n max-width: 90%;\n margin: auto;\n padding: var(--emw--spacing-large, 20px) 0;\n}\n.ImageListSectionTitle.sc-image-list {\n width: 100%;\n display: flex;\n justify-content: left;\n align-content: center;\n padding: var(--emw--spacing-large, 20px) var(--emw--spacing-medium, 14px) var(--emw--spacing-x-large, 30px);\n color: var(--emw--footer-typography, var(--emw--color-thpography, #fff));\n text-transform: uppercase;\n font-size: 24px;\n font-weight: 100;\n}\n.ImageListLineup.sc-image-list {\n box-sizing: border-box;\n display: flex;\n flex-wrap: wrap;\n gap: var(--emw--spacing-x-large, 30px);\n justify-content: left;\n align-items: flex-start;\n padding-left: var(--emw--spacing-large, 20px);\n}\n.ImageListIcon.sc-image-list img.sc-image-list {\n max-height: var(--emw--size-medium-2x-minus, 40px);\n}\n\na.sc-image-list {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-end;\n text-decoration: none;\n}\n\na.sc-image-list p.sc-image-list {\n text-decoration: none;\n color: var(--emw--color-gray-100, #666);\n margin: 0;\n}\n\n@container (max-width: 750px) {\n .ImageListSectionTitle.sc-image-list {\n justify-content: center;\n font-size: var(--emw--font-size-medium, 16px);\n color: var(--emw--footer-typography, var(--emw--color-thpography, #fff));\n padding: var(--emw--spacing-large, 20px) 0 var(--emw--spacing-x-large, 30px);\n justify-content: center;\n }\n .ImageListLineup.sc-image-list {\n justify-content: center;\n padding: 0;\n }\n}";
4
4
  const ImageListStyle0 = imageListCss;
@@ -6,17 +6,12 @@ const ImageListStyle0 = imageListCss;
6
6
  const ImageList = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
9
- /**
10
- * If this is true it will emit an event at the moment the content with url its clicked
11
- */
12
- this.navigateViaEvent = false;
13
- /**
14
- * Post Message event to be sent on navigation via event
15
- */
16
- this.postMessageEvent = '';
17
9
  this.navigateLink = (url, target, externalLink) => {
18
10
  window.postMessage({ type: this.postMessageEvent, path: url, url, target, externalLink }, window.location.href);
19
11
  };
12
+ this.repeaterContent = undefined;
13
+ this.navigateViaEvent = false;
14
+ this.postMessageEvent = '';
20
15
  }
21
16
  render() {
22
17
  var _a, _b, _c;