@everymatrix/general-footer-template 1.54.12 → 1.56.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 (36) hide show
  1. package/dist/cjs/custom-clock.cjs.entry.js +1 -1
  2. package/dist/cjs/custom-content-section.cjs.entry.js +112 -111
  3. package/dist/cjs/general-footer-template.cjs.entry.js +69 -40
  4. package/dist/cjs/general-footer-template.cjs.js +2 -2
  5. package/dist/cjs/image-list.cjs.entry.js +1 -1
  6. package/dist/cjs/{index-10cb8e8c.js → index-c1afe75b.js} +1 -4
  7. package/dist/cjs/link-section-list.cjs.entry.js +2 -2
  8. package/dist/cjs/loader.cjs.js +2 -2
  9. package/dist/collection/components/custom-content-section/custom-content-section.js +4 -3
  10. package/dist/collection/components/general-footer-template/demo-footer.css +1 -2
  11. package/dist/collection/components/general-footer-template/general-footer-template.js +33 -33
  12. package/dist/collection/components/link-section-list/link-section-list.js +1 -1
  13. package/dist/collection/utils/utils.js +1 -1
  14. package/dist/esm/custom-clock.entry.js +1 -1
  15. package/dist/esm/custom-content-section.entry.js +112 -111
  16. package/dist/esm/general-footer-template.entry.js +69 -40
  17. package/dist/esm/general-footer-template.js +3 -3
  18. package/dist/esm/image-list.entry.js +1 -1
  19. package/dist/esm/{index-e2977b84.js → index-732f640c.js} +1 -4
  20. package/dist/esm/link-section-list.entry.js +2 -2
  21. package/dist/esm/loader.js +3 -3
  22. package/dist/general-footer-template/general-footer-template.esm.js +1 -1
  23. package/dist/general-footer-template/{p-5d1fe559.js → p-1fc2e24a.js} +2 -2
  24. package/dist/general-footer-template/{p-ec9d9aab.entry.js → p-3eda45d5.entry.js} +1 -1
  25. package/dist/general-footer-template/{p-cb29a35c.entry.js → p-55524eed.entry.js} +1 -1
  26. package/dist/general-footer-template/p-a4b44512.entry.js +1 -0
  27. package/dist/general-footer-template/{p-48b95d9a.entry.js → p-a8c0f5a0.entry.js} +2 -2
  28. package/dist/general-footer-template/p-dd7ffd49.entry.js +1 -0
  29. package/dist/types/components/general-footer-template/general-footer-template.d.ts +4 -4
  30. package/dist/types/components.d.ts +8 -0
  31. package/package.json +1 -1
  32. package/dist/collection/components/general-footer-template/general-footer-template.css +0 -84
  33. package/dist/collection/components/general-footer-template/pariuri_plus_variant.css +0 -185
  34. package/dist/collection/components/general-footer-template/variant_style_1.css +0 -146
  35. package/dist/general-footer-template/p-2477706f.entry.js +0 -1
  36. package/dist/general-footer-template/p-c646816c.entry.js +0 -1
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-10cb8e8c.js');
5
+ const index = require('./index-c1afe75b.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
9
9
  if (typeof window === 'undefined') return undefined;
10
10
  await appGlobals.globalScripts();
11
- return index.bootstrapLazy([["custom-content-section.cjs",[[2,"custom-content-section",{"customContent":[1,"custom-content"],"repeaterContent":[8,"repeater-content"],"navigateViaEvent":[516,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]],["custom-clock.cjs",[[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.cjs",[[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.cjs",[[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.cjs",[[2,"image-list",{"repeaterContent":[8,"repeater-content"],"navigateViaEvent":[4,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]]], options);
11
+ return index.bootstrapLazy([["custom-content-section.cjs",[[2,"custom-content-section",{"customContent":[1,"custom-content"],"repeaterContent":[8,"repeater-content"],"navigateViaEvent":[516,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]],["custom-clock.cjs",[[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.cjs",[[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.cjs",[[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.cjs",[[2,"image-list",{"repeaterContent":[8,"repeater-content"],"navigateViaEvent":[4,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]]], options);
12
12
  };
13
13
 
14
14
  exports.setNonce = index.setNonce;
@@ -13,12 +13,13 @@ export class CustomContentSection {
13
13
  }
14
14
  render() {
15
15
  const clean = sanitizeHtml(this.customContent, {
16
- allowedTags: sanitizeHtml.defaults.allowedTags.concat(['img']),
16
+ allowedTags: sanitizeHtml.defaults.allowedTags.concat(['img', 'a']),
17
17
  allowedAttributes: {
18
- img: ['src', 'srcset', 'alt', 'title', 'width', 'height', 'loading']
18
+ img: ['src', 'srcset', 'alt', 'title', 'width', 'height', 'loading'],
19
+ a: ['href', 'target', 'rel']
19
20
  }
20
21
  });
21
- 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 }) : ''));
22
+ 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 }) : ''));
22
23
  }
23
24
  static get is() { return "custom-content-section"; }
24
25
  static get encapsulation() { return "scoped"; }
@@ -16,7 +16,7 @@ body {
16
16
 
17
17
  .FooterSectionContainer {
18
18
  color: var(--emw--footer-typography, var(--emw--color-thpography, #fff));
19
- padding: 12px;
19
+ padding: 15px 20px 0;
20
20
  }
21
21
 
22
22
  /* // FOOTER CONTAINER - only serves to be read as a container */
@@ -28,7 +28,6 @@ body {
28
28
  .FooterGrid {
29
29
  background-color: var(--emw--footer-color-bg, var(--emw--color-background, #0E1511));
30
30
  display: grid;
31
- padding: 8px 24px 0 24px;
32
31
  grid-template-rows: repeat(9, auto);
33
32
  grid-template-areas: "one" "two" "three" "four" "five" "six" "seven";
34
33
  }
@@ -1,5 +1,6 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { componentRules, normalizeRepeaterContent, getDevicePlatform } from "../../utils/utils";
3
+ import { setClientStyling, setClientStylingURL, setStreamStyling } from "../../../../../../../../libs/common/src/styling/index";
3
4
  export class GeneralFooterTemplate {
4
5
  constructor() {
5
6
  /**
@@ -38,34 +39,12 @@ export class GeneralFooterTemplate {
38
39
  * configurable time zone
39
40
  */
40
41
  this.timeZone = '';
41
- /**
42
- * wether or not styling appends should be disallowed
43
- */
44
42
  this.hasErrors = false;
45
- this.stylingAppends = false;
46
43
  this.platform = getDevicePlatform();
47
44
  /**
48
45
  * Host element
49
46
  */
50
47
  this.MANDATORY_FIELDS = ['endpoint', 'language', 'sections'];
51
- this.setClientStyling = () => {
52
- let sheet = document.createElement('style');
53
- sheet.innerHTML = this.clientStyling;
54
- this.stylingContainer.prepend(sheet);
55
- };
56
- this.setClientStylingURL = () => {
57
- let url = new URL(this.clientStylingUrl);
58
- let cssFile = document.createElement('style');
59
- fetch(url.href)
60
- .then((res) => res.text())
61
- .then((data) => {
62
- cssFile.innerHTML = data;
63
- setTimeout(() => { this.stylingContainer.prepend(cssFile); }, 1);
64
- })
65
- .catch((err) => {
66
- console.log('error ', err);
67
- });
68
- };
69
48
  }
70
49
  validateMandatoryFields() {
71
50
  this.MANDATORY_FIELDS.forEach((field) => {
@@ -93,16 +72,19 @@ export class GeneralFooterTemplate {
93
72
  }
94
73
  });
95
74
  }
96
- componentDidRender() {
97
- // start custom styling area
98
- if (!this.stylingAppends && this.stylingContainer) {
75
+ disconnectedCallback() {
76
+ this.stylingSubscription && this.stylingSubscription.unsubscribe();
77
+ }
78
+ componentDidLoad() {
79
+ if (window.emMessageBus != undefined) {
80
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
81
+ }
82
+ else {
99
83
  if (this.clientStyling)
100
- this.setClientStyling();
84
+ setClientStyling(this.stylingContainer, this.clientStyling);
101
85
  if (this.clientStylingUrl)
102
- this.setClientStylingURL();
103
- this.stylingAppends = true;
86
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
104
87
  }
105
- // end custom styling area
106
88
  }
107
89
  render() {
108
90
  if (this.hasErrors) {
@@ -122,12 +104,12 @@ export class GeneralFooterTemplate {
122
104
  static get encapsulation() { return "shadow"; }
123
105
  static get originalStyleUrls() {
124
106
  return {
125
- "$": ["./demo-footer.scss", "./pariuri_plus_variant.css", "./variant_style_1.css", "general-footer-template.scss"]
107
+ "$": ["./demo-footer.scss"]
126
108
  };
127
109
  }
128
110
  static get styleUrls() {
129
111
  return {
130
- "$": ["demo-footer.css", "pariuri_plus_variant.css", "variant_style_1.css", "general-footer-template.css"]
112
+ "$": ["demo-footer.css"]
131
113
  };
132
114
  }
133
115
  static get properties() {
@@ -425,13 +407,31 @@ export class GeneralFooterTemplate {
425
407
  "attribute": "time-zone",
426
408
  "reflect": true,
427
409
  "defaultValue": "''"
410
+ },
411
+ "mbSource": {
412
+ "type": "string",
413
+ "mutable": false,
414
+ "complexType": {
415
+ "original": "string",
416
+ "resolved": "string",
417
+ "references": {}
418
+ },
419
+ "required": false,
420
+ "optional": false,
421
+ "docs": {
422
+ "tags": [],
423
+ "text": "wether or not styling appends should be disallowed"
424
+ },
425
+ "getter": false,
426
+ "setter": false,
427
+ "attribute": "mb-source",
428
+ "reflect": true
428
429
  }
429
430
  };
430
431
  }
431
432
  static get states() {
432
433
  return {
433
- "hasErrors": {},
434
- "stylingAppends": {}
434
+ "hasErrors": {}
435
435
  };
436
436
  }
437
437
  }
@@ -42,7 +42,7 @@ export class LinkSectionList {
42
42
  }
43
43
  return obj;
44
44
  }, []);
45
- return h("div", { class: "LinkSectionListContainer" }, h("div", { class: "LinkSectionListWrapper" }, h("h2", { class: "LinkSectionListTitle" }, linkSections.categoryTitle), linkSections.map(category => h("ul", null, category.links.map(link => h("li", { class: "LinkSectionListLink", key: link.linkName }, this.navigateViaEvent === true ? (h("span", null, link.linkName && link.icon ? (h("span", { class: "LinkSectionListLinkText", onClick: () => this.navigateLink(link) }, h("img", { class: "LinkSectionIcon", src: link.icon, alt: "icon" }), h("span", null, link.linkName, " "))) :
45
+ return h("div", { class: "LinkSectionListContainer" }, h("div", { class: "LinkSectionListWrapper" }, this.repeaterContent.categoryTitle && h("h2", { class: "LinkSectionListTitle" }, this.repeaterContent.categoryTitle), linkSections.map(category => h("ul", null, category.categoryTitle && h("p", null, category.categoryTitle), category.links.map(link => h("li", { class: "LinkSectionListLink", key: link.linkName }, this.navigateViaEvent === true ? (h("span", null, link.linkName && link.icon ? (h("span", { class: "LinkSectionListLinkText", onClick: () => this.navigateLink(link) }, h("img", { class: "LinkSectionIcon", src: link.icon, alt: "icon" }), h("span", null, link.linkName, " "))) :
46
46
  link.linkName ?
47
47
  h("span", { class: "LinkSectionListLinkText", onClick: () => this.navigateLink(link) }, h("span", null, link.linkName, " "))
48
48
  :
@@ -177,7 +177,7 @@ export const normalizeRepeaterContent = (data) => {
177
177
  isExternalLink: 'isExternalLink',
178
178
  image: 'paymentMethodImage',
179
179
  title: 'paymentTitle',
180
- url: 'paymentUrl',
180
+ url: 'paymentMethodUrl',
181
181
  target: 'target'
182
182
  },
183
183
  sponsors: {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-e2977b84.js';
1
+ import { r as registerInstance, h } from './index-732f640c.js';
2
2
  import { c as commonjsGlobal } from './_commonjsHelpers-57e89916.js';
3
3
 
4
4
  const DEFAULT_LANGUAGE = 'en';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-e2977b84.js';
1
+ import { r as registerInstance, h } from './index-732f640c.js';
2
2
  import { c as commonjsGlobal, g as getAugmentedNamespace } from './_commonjsHelpers-57e89916.js';
3
3
 
4
4
  var decode = {};
@@ -5110,6 +5110,10 @@ function sourceOffset(inputCSS, position) {
5110
5110
  }
5111
5111
 
5112
5112
  class Node$4 {
5113
+ get proxyOf() {
5114
+ return this
5115
+ }
5116
+
5113
5117
  constructor(defaults = {}) {
5114
5118
  this.raws = {};
5115
5119
  this[isClean$2] = false;
@@ -5471,10 +5475,6 @@ class Node$4 {
5471
5475
  for (let i in opts) data[i] = opts[i];
5472
5476
  return result.warn(text, data)
5473
5477
  }
5474
-
5475
- get proxyOf() {
5476
- return this
5477
- }
5478
5478
  }
5479
5479
 
5480
5480
  var node_1 = Node$4;
@@ -5495,6 +5495,10 @@ Comment$4.default = Comment$4;
5495
5495
  let Node$2 = node_1;
5496
5496
 
5497
5497
  class Declaration$4 extends Node$2 {
5498
+ get variable() {
5499
+ return this.prop.startsWith('--') || this.prop[0] === '$'
5500
+ }
5501
+
5498
5502
  constructor(defaults) {
5499
5503
  if (
5500
5504
  defaults &&
@@ -5506,10 +5510,6 @@ class Declaration$4 extends Node$2 {
5506
5510
  super(defaults);
5507
5511
  this.type = 'decl';
5508
5512
  }
5509
-
5510
- get variable() {
5511
- return this.prop.startsWith('--') || this.prop[0] === '$'
5512
- }
5513
5513
  }
5514
5514
 
5515
5515
  var declaration = Declaration$4;
@@ -5540,6 +5540,16 @@ function markTreeDirty(node) {
5540
5540
  }
5541
5541
 
5542
5542
  class Container$7 extends Node$1 {
5543
+ get first() {
5544
+ if (!this.proxyOf.nodes) return undefined
5545
+ return this.proxyOf.nodes[0]
5546
+ }
5547
+
5548
+ get last() {
5549
+ if (!this.proxyOf.nodes) return undefined
5550
+ return this.proxyOf.nodes[this.proxyOf.nodes.length - 1]
5551
+ }
5552
+
5543
5553
  append(...children) {
5544
5554
  for (let child of children) {
5545
5555
  let nodes = this.normalize(child, this.last);
@@ -5906,16 +5916,6 @@ class Container$7 extends Node$1 {
5906
5916
  }
5907
5917
  })
5908
5918
  }
5909
-
5910
- get first() {
5911
- if (!this.proxyOf.nodes) return undefined
5912
- return this.proxyOf.nodes[0]
5913
- }
5914
-
5915
- get last() {
5916
- if (!this.proxyOf.nodes) return undefined
5917
- return this.proxyOf.nodes[this.proxyOf.nodes.length - 1]
5918
- }
5919
5919
  }
5920
5920
 
5921
5921
  Container$7.registerParse = dependant => {
@@ -6215,6 +6215,10 @@ let sourceMapAvailable$1 = Boolean(SourceMapConsumer$1 && SourceMapGenerator$1);
6215
6215
  let pathAvailable$1 = Boolean(resolve$1 && isAbsolute);
6216
6216
 
6217
6217
  class Input$4 {
6218
+ get from() {
6219
+ return this.file || this.id
6220
+ }
6221
+
6218
6222
  constructor(css, opts = {}) {
6219
6223
  if (
6220
6224
  css === null ||
@@ -6437,10 +6441,6 @@ class Input$4 {
6437
6441
  }
6438
6442
  return json
6439
6443
  }
6440
-
6441
- get from() {
6442
- return this.file || this.id
6443
- }
6444
6444
  }
6445
6445
 
6446
6446
  var input = Input$4;
@@ -6571,12 +6571,6 @@ let Container$3 = container;
6571
6571
  let list$1 = list_1;
6572
6572
 
6573
6573
  class Rule$3 extends Container$3 {
6574
- constructor(defaults) {
6575
- super(defaults);
6576
- this.type = 'rule';
6577
- if (!this.nodes) this.nodes = [];
6578
- }
6579
-
6580
6574
  get selectors() {
6581
6575
  return list$1.comma(this.selector)
6582
6576
  }
@@ -6586,6 +6580,12 @@ class Rule$3 extends Container$3 {
6586
6580
  let sep = match ? match[0] : ',' + this.raw('between', 'beforeOpen');
6587
6581
  this.selector = values.join(sep);
6588
6582
  }
6583
+
6584
+ constructor(defaults) {
6585
+ super(defaults);
6586
+ this.type = 'rule';
6587
+ if (!this.nodes) this.nodes = [];
6588
+ }
6589
6589
  }
6590
6590
 
6591
6591
  var rule = Rule$3;
@@ -7871,7 +7871,7 @@ class Parser$1 {
7871
7871
 
7872
7872
  unknownWord(tokens) {
7873
7873
  throw this.input.error(
7874
- 'Unknown word',
7874
+ 'Unknown word ' + tokens[0][1],
7875
7875
  { offset: tokens[0][2] },
7876
7876
  { offset: tokens[0][2] + tokens[0][1].length }
7877
7877
  )
@@ -7948,6 +7948,10 @@ Warning$2.default = Warning$2;
7948
7948
  let Warning$1 = warning;
7949
7949
 
7950
7950
  class Result$3 {
7951
+ get content() {
7952
+ return this.css
7953
+ }
7954
+
7951
7955
  constructor(processor, root, opts) {
7952
7956
  this.processor = processor;
7953
7957
  this.messages = [];
@@ -7977,10 +7981,6 @@ class Result$3 {
7977
7981
  warnings() {
7978
7982
  return this.messages.filter(i => i.type === 'warning')
7979
7983
  }
7980
-
7981
- get content() {
7982
- return this.css
7983
- }
7984
7984
  }
7985
7985
 
7986
7986
  var result = Result$3;
@@ -8090,6 +8090,38 @@ function cleanMarks(node) {
8090
8090
  let postcss$1 = {};
8091
8091
 
8092
8092
  class LazyResult$2 {
8093
+ get content() {
8094
+ return this.stringify().content
8095
+ }
8096
+
8097
+ get css() {
8098
+ return this.stringify().css
8099
+ }
8100
+
8101
+ get map() {
8102
+ return this.stringify().map
8103
+ }
8104
+
8105
+ get messages() {
8106
+ return this.sync().messages
8107
+ }
8108
+
8109
+ get opts() {
8110
+ return this.result.opts
8111
+ }
8112
+
8113
+ get processor() {
8114
+ return this.result.processor
8115
+ }
8116
+
8117
+ get root() {
8118
+ return this.sync().root
8119
+ }
8120
+
8121
+ get [Symbol.toStringTag]() {
8122
+ return 'LazyResult'
8123
+ }
8124
+
8093
8125
  constructor(processor, css, opts) {
8094
8126
  this.stringified = false;
8095
8127
  this.processed = false;
@@ -8459,21 +8491,38 @@ class LazyResult$2 {
8459
8491
  warnings() {
8460
8492
  return this.sync().warnings()
8461
8493
  }
8494
+ }
8495
+
8496
+ LazyResult$2.registerPostcss = dependant => {
8497
+ postcss$1 = dependant;
8498
+ };
8499
+
8500
+ var lazyResult = LazyResult$2;
8501
+ LazyResult$2.default = LazyResult$2;
8502
+
8503
+ Root$2.registerLazyResult(LazyResult$2);
8504
+ Document$2.registerLazyResult(LazyResult$2);
8505
+
8506
+ let MapGenerator = mapGenerator;
8507
+ let parse$1 = parse_1;
8508
+ const Result$1 = result;
8509
+ let stringify$1 = stringify_1;
8462
8510
 
8511
+ class NoWorkResult$1 {
8463
8512
  get content() {
8464
- return this.stringify().content
8513
+ return this.result.css
8465
8514
  }
8466
8515
 
8467
8516
  get css() {
8468
- return this.stringify().css
8517
+ return this.result.css
8469
8518
  }
8470
8519
 
8471
8520
  get map() {
8472
- return this.stringify().map
8521
+ return this.result.map
8473
8522
  }
8474
8523
 
8475
8524
  get messages() {
8476
- return this.sync().messages
8525
+ return []
8477
8526
  }
8478
8527
 
8479
8528
  get opts() {
@@ -8485,30 +8534,31 @@ class LazyResult$2 {
8485
8534
  }
8486
8535
 
8487
8536
  get root() {
8488
- return this.sync().root
8489
- }
8490
-
8491
- get [Symbol.toStringTag]() {
8492
- return 'LazyResult'
8493
- }
8494
- }
8537
+ if (this._root) {
8538
+ return this._root
8539
+ }
8495
8540
 
8496
- LazyResult$2.registerPostcss = dependant => {
8497
- postcss$1 = dependant;
8498
- };
8541
+ let root;
8542
+ let parser = parse$1;
8499
8543
 
8500
- var lazyResult = LazyResult$2;
8501
- LazyResult$2.default = LazyResult$2;
8544
+ try {
8545
+ root = parser(this._css, this._opts);
8546
+ } catch (error) {
8547
+ this.error = error;
8548
+ }
8502
8549
 
8503
- Root$2.registerLazyResult(LazyResult$2);
8504
- Document$2.registerLazyResult(LazyResult$2);
8550
+ if (this.error) {
8551
+ throw this.error
8552
+ } else {
8553
+ this._root = root;
8554
+ return root
8555
+ }
8556
+ }
8505
8557
 
8506
- let MapGenerator = mapGenerator;
8507
- let parse$1 = parse_1;
8508
- const Result$1 = result;
8509
- let stringify$1 = stringify_1;
8558
+ get [Symbol.toStringTag]() {
8559
+ return 'NoWorkResult'
8560
+ }
8510
8561
 
8511
- class NoWorkResult$1 {
8512
8562
  constructor(processor, css, opts) {
8513
8563
  css = css.toString();
8514
8564
  this.stringified = false;
@@ -8575,56 +8625,6 @@ class NoWorkResult$1 {
8575
8625
  warnings() {
8576
8626
  return []
8577
8627
  }
8578
-
8579
- get content() {
8580
- return this.result.css
8581
- }
8582
-
8583
- get css() {
8584
- return this.result.css
8585
- }
8586
-
8587
- get map() {
8588
- return this.result.map
8589
- }
8590
-
8591
- get messages() {
8592
- return []
8593
- }
8594
-
8595
- get opts() {
8596
- return this.result.opts
8597
- }
8598
-
8599
- get processor() {
8600
- return this.result.processor
8601
- }
8602
-
8603
- get root() {
8604
- if (this._root) {
8605
- return this._root
8606
- }
8607
-
8608
- let root;
8609
- let parser = parse$1;
8610
-
8611
- try {
8612
- root = parser(this._css, this._opts);
8613
- } catch (error) {
8614
- this.error = error;
8615
- }
8616
-
8617
- if (this.error) {
8618
- throw this.error
8619
- } else {
8620
- this._root = root;
8621
- return root
8622
- }
8623
- }
8624
-
8625
- get [Symbol.toStringTag]() {
8626
- return 'NoWorkResult'
8627
- }
8628
8628
  }
8629
8629
 
8630
8630
  var noWorkResult = NoWorkResult$1;
@@ -8637,7 +8637,7 @@ let Root$1 = root;
8637
8637
 
8638
8638
  class Processor$1 {
8639
8639
  constructor(plugins = []) {
8640
- this.version = '8.5.2';
8640
+ this.version = '8.5.3';
8641
8641
  this.plugins = this.normalize(plugins);
8642
8642
  }
8643
8643
 
@@ -9736,12 +9736,13 @@ const CustomContentSection = class {
9736
9736
  }
9737
9737
  render() {
9738
9738
  const clean = sanitizeHtml$1(this.customContent, {
9739
- allowedTags: sanitizeHtml$1.defaults.allowedTags.concat(['img']),
9739
+ allowedTags: sanitizeHtml$1.defaults.allowedTags.concat(['img', 'a']),
9740
9740
  allowedAttributes: {
9741
- img: ['src', 'srcset', 'alt', 'title', 'width', 'height', 'loading']
9741
+ img: ['src', 'srcset', 'alt', 'title', 'width', 'height', 'loading'],
9742
+ a: ['href', 'target', 'rel']
9742
9743
  }
9743
9744
  });
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 }) : ''));
9745
+ 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
9746
  }
9746
9747
  };
9747
9748
  CustomContentSection.style = CustomContentSectionStyle0;