@everymatrix/general-footer-template 1.52.6 → 1.53.10

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 (42) hide show
  1. package/dist/cjs/_commonjsHelpers-0a7b82d9.js +21 -0
  2. package/dist/cjs/custom-clock.cjs.entry.js +43 -2194
  3. package/dist/cjs/custom-content-section.cjs.entry.js +164 -132
  4. package/dist/cjs/general-footer-template.cjs.entry.js +43 -18
  5. package/dist/cjs/general-footer-template.cjs.js +3 -3
  6. package/dist/cjs/image-list.cjs.entry.js +9 -4
  7. package/dist/cjs/{index-465b4ca9.js → index-bd066c40.js} +188 -92
  8. package/dist/cjs/link-section-list.cjs.entry.js +7 -4
  9. package/dist/cjs/loader.cjs.js +2 -2
  10. package/dist/collection/collection-manifest.json +1 -1
  11. package/dist/collection/components/custom-clock/custom-clock.js +56 -8
  12. package/dist/collection/components/custom-content-section/custom-content-section.js +14 -2
  13. package/dist/collection/components/general-footer-template/general-footer-template.js +90 -17
  14. package/dist/collection/components/image-list/image-list.js +14 -3
  15. package/dist/collection/components/link-section-list/link-section-list.js +16 -3
  16. package/dist/esm/_commonjsHelpers-57e89916.js +18 -0
  17. package/dist/esm/custom-clock.entry.js +43 -2194
  18. package/dist/esm/custom-content-section.entry.js +155 -123
  19. package/dist/esm/general-footer-template.entry.js +43 -18
  20. package/dist/esm/general-footer-template.js +4 -4
  21. package/dist/esm/image-list.entry.js +9 -4
  22. package/dist/esm/{index-9775f5ee.js → index-f9286439.js} +188 -92
  23. package/dist/esm/link-section-list.entry.js +7 -4
  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-9db940d5.entry.js +1 -0
  27. package/dist/general-footer-template/p-a1261e98.entry.js +1 -0
  28. package/dist/general-footer-template/p-bf402206.entry.js +1 -0
  29. package/dist/general-footer-template/p-c032aa40.entry.js +1 -0
  30. package/dist/general-footer-template/p-cb65c223.js +1 -0
  31. package/dist/general-footer-template/p-f798fd15.js +2 -0
  32. package/dist/general-footer-template/p-faca7e12.entry.js +8 -0
  33. package/dist/types/components/custom-clock/custom-clock.d.ts +4 -0
  34. package/dist/types/components/general-footer-template/general-footer-template.d.ts +4 -0
  35. package/dist/types/components.d.ts +16 -0
  36. package/package.json +1 -1
  37. package/dist/general-footer-template/p-2fce3c9f.js +0 -2
  38. package/dist/general-footer-template/p-330130cd.entry.js +0 -1
  39. package/dist/general-footer-template/p-5982a2ca.entry.js +0 -8
  40. package/dist/general-footer-template/p-8a165606.entry.js +0 -1
  41. package/dist/general-footer-template/p-abce093a.entry.js +0 -1
  42. package/dist/general-footer-template/p-e19d7226.entry.js +0 -1
@@ -2,24 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index$2 = require('./index-465b4ca9.js');
6
-
7
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
8
-
9
- function getAugmentedNamespace(n) {
10
- if (n.__esModule) return n;
11
- var a = Object.defineProperty({}, '__esModule', {value: true});
12
- Object.keys(n).forEach(function (k) {
13
- var d = Object.getOwnPropertyDescriptor(n, k);
14
- Object.defineProperty(a, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () {
17
- return n[k];
18
- }
19
- });
20
- });
21
- return a;
22
- }
5
+ const index$2 = require('./index-bd066c40.js');
6
+ const _commonjsHelpers = require('./_commonjsHelpers-0a7b82d9.js');
23
7
 
24
8
  var decode = {};
25
9
 
@@ -124,7 +108,7 @@ exports.default = decodeCodePoint;
124
108
  }(decode_codepoint));
125
109
 
126
110
  (function (exports) {
127
- var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
111
+ var __createBinding = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
128
112
  if (k2 === undefined) k2 = k;
129
113
  var desc = Object.getOwnPropertyDescriptor(m, k);
130
114
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -135,19 +119,19 @@ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Obj
135
119
  if (k2 === undefined) k2 = k;
136
120
  o[k2] = m[k];
137
121
  }));
138
- var __setModuleDefault = (commonjsGlobal && commonjsGlobal.__setModuleDefault) || (Object.create ? (function(o, v) {
122
+ var __setModuleDefault = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__setModuleDefault) || (Object.create ? (function(o, v) {
139
123
  Object.defineProperty(o, "default", { enumerable: true, value: v });
140
124
  }) : function(o, v) {
141
125
  o["default"] = v;
142
126
  });
143
- var __importStar = (commonjsGlobal && commonjsGlobal.__importStar) || function (mod) {
127
+ var __importStar = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__importStar) || function (mod) {
144
128
  if (mod && mod.__esModule) return mod;
145
129
  var result = {};
146
130
  if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
147
131
  __setModuleDefault(result, mod);
148
132
  return result;
149
133
  };
150
- var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
134
+ var __importDefault = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__importDefault) || function (mod) {
151
135
  return (mod && mod.__esModule) ? mod : { "default": mod };
152
136
  };
153
137
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -2123,18 +2107,18 @@ const CDATA$1 = ElementType.CDATA;
2123
2107
  const Doctype = ElementType.Doctype;
2124
2108
 
2125
2109
  const index$1 = /*#__PURE__*/Object.freeze({
2126
- __proto__: null,
2127
- get ElementType () { return ElementType; },
2128
- isTag: isTag$1,
2129
- Root: Root$7,
2130
- Text: Text$1,
2131
- Directive: Directive,
2132
- Comment: Comment$6,
2133
- Script: Script,
2134
- Style: Style,
2135
- Tag: Tag,
2136
- CDATA: CDATA$1,
2137
- Doctype: Doctype
2110
+ __proto__: null,
2111
+ get ElementType () { return ElementType; },
2112
+ isTag: isTag$1,
2113
+ Root: Root$7,
2114
+ Text: Text$1,
2115
+ Directive: Directive,
2116
+ Comment: Comment$6,
2117
+ Script: Script,
2118
+ Style: Style,
2119
+ Tag: Tag,
2120
+ CDATA: CDATA$1,
2121
+ Doctype: Doctype
2138
2122
  });
2139
2123
 
2140
2124
  /**
@@ -3347,7 +3331,7 @@ function filter$1(test, node, recurse = true, limit = Infinity) {
3347
3331
  function find(test, nodes, recurse, limit) {
3348
3332
  const result = [];
3349
3333
  /** Stack of the arrays we are looking at. */
3350
- const nodeStack = [nodes];
3334
+ const nodeStack = [Array.isArray(nodes) ? nodes : [nodes]];
3351
3335
  /** Stack of the indices within the arrays. */
3352
3336
  const indexStack = [0];
3353
3337
  for (;;) {
@@ -3401,20 +3385,19 @@ function findOneChild(test, nodes) {
3401
3385
  * @returns The first node that passes `test`.
3402
3386
  */
3403
3387
  function findOne(test, nodes, recurse = true) {
3404
- let elem = null;
3405
- for (let i = 0; i < nodes.length && !elem; i++) {
3406
- const node = nodes[i];
3407
- if (!isTag(node)) {
3408
- continue;
3409
- }
3410
- else if (test(node)) {
3411
- elem = node;
3388
+ const searchedNodes = Array.isArray(nodes) ? nodes : [nodes];
3389
+ for (let i = 0; i < searchedNodes.length; i++) {
3390
+ const node = searchedNodes[i];
3391
+ if (isTag(node) && test(node)) {
3392
+ return node;
3412
3393
  }
3413
- else if (recurse && node.children.length > 0) {
3414
- elem = findOne(test, node.children, true);
3394
+ if (recurse && hasChildren(node) && node.children.length > 0) {
3395
+ const found = findOne(test, node.children, true);
3396
+ if (found)
3397
+ return found;
3415
3398
  }
3416
3399
  }
3417
- return elem;
3400
+ return null;
3418
3401
  }
3419
3402
  /**
3420
3403
  * Checks if a tree of nodes contains at least one node passing a test.
@@ -3425,8 +3408,8 @@ function findOne(test, nodes, recurse = true) {
3425
3408
  * @returns Whether a tree of nodes contains at least one node passing the test.
3426
3409
  */
3427
3410
  function existsOne(test, nodes) {
3428
- return nodes.some((checked) => isTag(checked) &&
3429
- (test(checked) || existsOne(test, checked.children)));
3411
+ return (Array.isArray(nodes) ? nodes : [nodes]).some((node) => (isTag(node) && test(node)) ||
3412
+ (hasChildren(node) && existsOne(test, node.children)));
3430
3413
  }
3431
3414
  /**
3432
3415
  * Search an array of nodes and their children for elements passing a test function.
@@ -3440,7 +3423,7 @@ function existsOne(test, nodes) {
3440
3423
  */
3441
3424
  function findAll(test, nodes) {
3442
3425
  const result = [];
3443
- const nodeStack = [nodes];
3426
+ const nodeStack = [Array.isArray(nodes) ? nodes : [nodes]];
3444
3427
  const indexStack = [0];
3445
3428
  for (;;) {
3446
3429
  if (indexStack[0] >= nodeStack[0].length) {
@@ -3454,11 +3437,9 @@ function findAll(test, nodes) {
3454
3437
  continue;
3455
3438
  }
3456
3439
  const elem = nodeStack[0][indexStack[0]++];
3457
- if (!isTag(elem))
3458
- continue;
3459
- if (test(elem))
3440
+ if (isTag(elem) && test(elem))
3460
3441
  result.push(elem);
3461
- if (elem.children.length > 0) {
3442
+ if (hasChildren(elem) && elem.children.length > 0) {
3462
3443
  indexStack.unshift(0);
3463
3444
  nodeStack.unshift(elem.children);
3464
3445
  }
@@ -3588,6 +3569,19 @@ function getElementById(id, nodes, recurse = true) {
3588
3569
  function getElementsByTagName(tagName, nodes, recurse = true, limit = Infinity) {
3589
3570
  return filter$1(Checks["tag_name"](tagName), nodes, recurse, limit);
3590
3571
  }
3572
+ /**
3573
+ * Returns all nodes with the supplied `className`.
3574
+ *
3575
+ * @category Legacy Query Functions
3576
+ * @param className Class name to search for.
3577
+ * @param nodes Nodes to search through.
3578
+ * @param recurse Also consider child nodes.
3579
+ * @param limit Maximum number of nodes to return.
3580
+ * @returns All nodes with the supplied `className`.
3581
+ */
3582
+ function getElementsByClassName(className, nodes, recurse = true, limit = Infinity) {
3583
+ return filter$1(getAttribCheck("class", className), nodes, recurse, limit);
3584
+ }
3591
3585
  /**
3592
3586
  * Returns all nodes with the supplied `type`.
3593
3587
  *
@@ -3919,48 +3913,49 @@ function isValidFeed(value) {
3919
3913
  }
3920
3914
 
3921
3915
  const index = /*#__PURE__*/Object.freeze({
3922
- __proto__: null,
3923
- isTag: isTag,
3924
- isCDATA: isCDATA,
3925
- isText: isText,
3926
- isComment: isComment,
3927
- isDocument: isDocument,
3928
- hasChildren: hasChildren,
3929
- getOuterHTML: getOuterHTML,
3930
- getInnerHTML: getInnerHTML,
3931
- getText: getText,
3932
- textContent: textContent,
3933
- innerText: innerText,
3934
- getChildren: getChildren,
3935
- getParent: getParent,
3936
- getSiblings: getSiblings,
3937
- getAttributeValue: getAttributeValue,
3938
- hasAttrib: hasAttrib,
3939
- getName: getName,
3940
- nextElementSibling: nextElementSibling,
3941
- prevElementSibling: prevElementSibling,
3942
- removeElement: removeElement,
3943
- replaceElement: replaceElement,
3944
- appendChild: appendChild,
3945
- append: append,
3946
- prependChild: prependChild,
3947
- prepend: prepend,
3948
- filter: filter$1,
3949
- find: find,
3950
- findOneChild: findOneChild,
3951
- findOne: findOne,
3952
- existsOne: existsOne,
3953
- findAll: findAll,
3954
- testElement: testElement,
3955
- getElements: getElements,
3956
- getElementById: getElementById,
3957
- getElementsByTagName: getElementsByTagName,
3958
- getElementsByTagType: getElementsByTagType,
3959
- removeSubsets: removeSubsets,
3960
- get DocumentPosition () { return DocumentPosition; },
3961
- compareDocumentPosition: compareDocumentPosition,
3962
- uniqueSort: uniqueSort,
3963
- getFeed: getFeed
3916
+ __proto__: null,
3917
+ isTag: isTag,
3918
+ isCDATA: isCDATA,
3919
+ isText: isText,
3920
+ isComment: isComment,
3921
+ isDocument: isDocument,
3922
+ hasChildren: hasChildren,
3923
+ getOuterHTML: getOuterHTML,
3924
+ getInnerHTML: getInnerHTML,
3925
+ getText: getText,
3926
+ textContent: textContent,
3927
+ innerText: innerText,
3928
+ getChildren: getChildren,
3929
+ getParent: getParent,
3930
+ getSiblings: getSiblings,
3931
+ getAttributeValue: getAttributeValue,
3932
+ hasAttrib: hasAttrib,
3933
+ getName: getName,
3934
+ nextElementSibling: nextElementSibling,
3935
+ prevElementSibling: prevElementSibling,
3936
+ removeElement: removeElement,
3937
+ replaceElement: replaceElement,
3938
+ appendChild: appendChild,
3939
+ append: append,
3940
+ prependChild: prependChild,
3941
+ prepend: prepend,
3942
+ filter: filter$1,
3943
+ find: find,
3944
+ findOneChild: findOneChild,
3945
+ findOne: findOne,
3946
+ existsOne: existsOne,
3947
+ findAll: findAll,
3948
+ testElement: testElement,
3949
+ getElements: getElements,
3950
+ getElementById: getElementById,
3951
+ getElementsByTagName: getElementsByTagName,
3952
+ getElementsByClassName: getElementsByClassName,
3953
+ getElementsByTagType: getElementsByTagType,
3954
+ removeSubsets: removeSubsets,
3955
+ get DocumentPosition () { return DocumentPosition; },
3956
+ compareDocumentPosition: compareDocumentPosition,
3957
+ uniqueSort: uniqueSort,
3958
+ getFeed: getFeed
3964
3959
  });
3965
3960
 
3966
3961
  // Helper methods
@@ -4011,21 +4006,21 @@ function parseFeed(feed, options = parseFeedDefaultOptions) {
4011
4006
  }
4012
4007
 
4013
4008
  const esm = /*#__PURE__*/Object.freeze({
4014
- __proto__: null,
4015
- parseDocument: parseDocument,
4016
- parseDOM: parseDOM,
4017
- createDomStream: createDomStream,
4018
- parseFeed: parseFeed,
4019
- Parser: Parser$2,
4020
- DomHandler: DomHandler,
4021
- DefaultHandler: DomHandler,
4022
- Tokenizer: Tokenizer,
4023
- ElementType: index$1,
4024
- getFeed: getFeed,
4025
- DomUtils: index
4009
+ __proto__: null,
4010
+ parseDocument: parseDocument,
4011
+ parseDOM: parseDOM,
4012
+ createDomStream: createDomStream,
4013
+ parseFeed: parseFeed,
4014
+ Parser: Parser$2,
4015
+ DomHandler: DomHandler,
4016
+ DefaultHandler: DomHandler,
4017
+ Tokenizer: Tokenizer,
4018
+ ElementType: index$1,
4019
+ getFeed: getFeed,
4020
+ DomUtils: index
4026
4021
  });
4027
4022
 
4028
- const require$$0$1 = /*@__PURE__*/getAugmentedNamespace(esm);
4023
+ const require$$0$1 = /*@__PURE__*/_commonjsHelpers.getAugmentedNamespace(esm);
4029
4024
 
4030
4025
  var escapeStringRegexp$1 = string => {
4031
4026
  if (typeof string !== 'string') {
@@ -4073,11 +4068,11 @@ function isPlainObject$1(o) {
4073
4068
  }
4074
4069
 
4075
4070
  const isPlainObject$2 = /*#__PURE__*/Object.freeze({
4076
- __proto__: null,
4077
- isPlainObject: isPlainObject$1
4071
+ __proto__: null,
4072
+ isPlainObject: isPlainObject$1
4078
4073
  });
4079
4074
 
4080
- const require$$2$1 = /*@__PURE__*/getAugmentedNamespace(isPlainObject$2);
4075
+ const require$$2$1 = /*@__PURE__*/_commonjsHelpers.getAugmentedNamespace(isPlainObject$2);
4081
4076
 
4082
4077
  var isMergeableObject = function isMergeableObject(value) {
4083
4078
  return isNonNullObject(value)
@@ -4240,7 +4235,7 @@ var parseSrcset$1 = {exports: {}};
4240
4235
  // Browser globals (root is window)
4241
4236
  root.parseSrcset = factory();
4242
4237
  }
4243
- }(commonjsGlobal, function () {
4238
+ }(_commonjsHelpers.commonjsGlobal, function () {
4244
4239
 
4245
4240
  // 1. Let input be the value passed to this algorithm.
4246
4241
  return function (input) {
@@ -4550,11 +4545,11 @@ picocolors_browser.exports.createColors = create;
4550
4545
  const _nodeResolve_empty = {};
4551
4546
 
4552
4547
  const _nodeResolve_empty$1 = /*#__PURE__*/Object.freeze({
4553
- __proto__: null,
4554
- 'default': _nodeResolve_empty
4548
+ __proto__: null,
4549
+ 'default': _nodeResolve_empty
4555
4550
  });
4556
4551
 
4557
- const require$$2 = /*@__PURE__*/getAugmentedNamespace(_nodeResolve_empty$1);
4552
+ const require$$2 = /*@__PURE__*/_commonjsHelpers.getAugmentedNamespace(_nodeResolve_empty$1);
4558
4553
 
4559
4554
  let pico = picocolors_browser.exports;
4560
4555
 
@@ -5265,9 +5260,12 @@ class Node$4 {
5265
5260
  if (opts.index) {
5266
5261
  pos = this.positionInside(opts.index);
5267
5262
  } else if (opts.word) {
5268
- let stringRepresentation = this.source.input.css.slice(
5269
- sourceOffset(this.source.input.css, this.source.start),
5270
- sourceOffset(this.source.input.css, this.source.end)
5263
+ let inputString = ('document' in this.source.input)
5264
+ ? this.source.input.document
5265
+ : this.source.input.css;
5266
+ let stringRepresentation = inputString.slice(
5267
+ sourceOffset(inputString, this.source.start),
5268
+ sourceOffset(inputString, this.source.end)
5271
5269
  );
5272
5270
  let index = stringRepresentation.indexOf(opts.word);
5273
5271
  if (index !== -1) pos = this.positionInside(index);
@@ -5278,11 +5276,14 @@ class Node$4 {
5278
5276
  positionInside(index) {
5279
5277
  let column = this.source.start.column;
5280
5278
  let line = this.source.start.line;
5281
- let offset = sourceOffset(this.source.input.css, this.source.start);
5279
+ let inputString = ('document' in this.source.input)
5280
+ ? this.source.input.document
5281
+ : this.source.input.css;
5282
+ let offset = sourceOffset(inputString, this.source.start);
5282
5283
  let end = offset + index;
5283
5284
 
5284
5285
  for (let i = offset; i < end; i++) {
5285
- if (this.source.input.css[i] === '\n') {
5286
+ if (inputString[i] === '\n') {
5286
5287
  column = 1;
5287
5288
  line += 1;
5288
5289
  } else {
@@ -5315,9 +5316,12 @@ class Node$4 {
5315
5316
  };
5316
5317
 
5317
5318
  if (opts.word) {
5318
- let stringRepresentation = this.source.input.css.slice(
5319
- sourceOffset(this.source.input.css, this.source.start),
5320
- sourceOffset(this.source.input.css, this.source.end)
5319
+ let inputString = ('document' in this.source.input)
5320
+ ? this.source.input.document
5321
+ : this.source.input.css;
5322
+ let stringRepresentation = inputString.slice(
5323
+ sourceOffset(inputString, this.source.start),
5324
+ sourceOffset(inputString, this.source.end)
5321
5325
  );
5322
5326
  let index = stringRepresentation.indexOf(opts.word);
5323
5327
  if (index !== -1) {
@@ -6016,34 +6020,46 @@ Document$3.registerProcessor = dependant => {
6016
6020
  var document = Document$3;
6017
6021
  Document$3.default = Document$3;
6018
6022
 
6023
+ // This alphabet uses `A-Za-z0-9_-` symbols.
6024
+ // The order of characters is optimized for better gzip and brotli compression.
6025
+ // References to the same file (works both for gzip and brotli):
6026
+ // `'use`, `andom`, and `rict'`
6027
+ // References to the brotli default dictionary:
6028
+ // `-26T`, `1983`, `40px`, `75px`, `bush`, `jack`, `mind`, `very`, and `wolf`
6019
6029
  let urlAlphabet =
6020
6030
  'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
6031
+
6021
6032
  let customAlphabet = (alphabet, defaultSize = 21) => {
6022
6033
  return (size = defaultSize) => {
6023
6034
  let id = '';
6024
- let i = size;
6035
+ // A compact alternative for `for (var i = 0; i < step; i++)`.
6036
+ let i = size | 0;
6025
6037
  while (i--) {
6038
+ // `| 0` is more compact and faster than `Math.floor()`.
6026
6039
  id += alphabet[(Math.random() * alphabet.length) | 0];
6027
6040
  }
6028
6041
  return id
6029
6042
  }
6030
6043
  };
6044
+
6031
6045
  let nanoid$1 = (size = 21) => {
6032
6046
  let id = '';
6033
- let i = size;
6047
+ // A compact alternative for `for (var i = 0; i < step; i++)`.
6048
+ let i = size | 0;
6034
6049
  while (i--) {
6050
+ // `| 0` is more compact and faster than `Math.floor()`.
6035
6051
  id += urlAlphabet[(Math.random() * 64) | 0];
6036
6052
  }
6037
6053
  return id
6038
6054
  };
6039
6055
 
6040
6056
  const nonSecure = /*#__PURE__*/Object.freeze({
6041
- __proto__: null,
6042
- nanoid: nanoid$1,
6043
- customAlphabet: customAlphabet
6057
+ __proto__: null,
6058
+ nanoid: nanoid$1,
6059
+ customAlphabet: customAlphabet
6044
6060
  });
6045
6061
 
6046
- const require$$0 = /*@__PURE__*/getAugmentedNamespace(nonSecure);
6062
+ const require$$0 = /*@__PURE__*/_commonjsHelpers.getAugmentedNamespace(nonSecure);
6047
6063
 
6048
6064
  let { existsSync, readFileSync } = require$$2;
6049
6065
  let { dirname: dirname$1, join } = require$$2;
@@ -6221,6 +6237,9 @@ class Input$4 {
6221
6237
  this.hasBOM = false;
6222
6238
  }
6223
6239
 
6240
+ this.document = this.css;
6241
+ if (opts.document) this.document = opts.document.toString();
6242
+
6224
6243
  if (opts.from) {
6225
6244
  if (
6226
6245
  !pathAvailable$1 ||
@@ -8620,7 +8639,7 @@ let Root$1 = root;
8620
8639
 
8621
8640
  class Processor$1 {
8622
8641
  constructor(plugins = []) {
8623
- this.version = '8.4.49';
8642
+ this.version = '8.5.1';
8624
8643
  this.plugins = this.normalize(plugins);
8625
8644
  }
8626
8645
 
@@ -9047,6 +9066,15 @@ function sanitizeHtml(html, options, _recursing) {
9047
9066
  if (skip) {
9048
9067
  if (options.disallowedTagsMode === 'discard' || options.disallowedTagsMode === 'completelyDiscard') {
9049
9068
  // We want the contents but not this tag
9069
+ if (frame.innerText && !hasText) {
9070
+ const escaped = escapeHtml(frame.innerText);
9071
+ if (options.textFilter) {
9072
+ result += options.textFilter(escaped, name);
9073
+ } else {
9074
+ result += escapeHtml(frame.innerText);
9075
+ }
9076
+ addedText = true;
9077
+ }
9050
9078
  return;
9051
9079
  }
9052
9080
  tempResult = result;
@@ -9699,9 +9727,13 @@ const CustomContentSectionStyle0 = customContentSectionCss;
9699
9727
  const CustomContentSection = class {
9700
9728
  constructor(hostRef) {
9701
9729
  index$2.registerInstance(this, hostRef);
9702
- this.customContent = undefined;
9703
- this.repeaterContent = undefined;
9730
+ /**
9731
+ * If this is true it will emit an event at the moment the content with url its clicked
9732
+ */
9704
9733
  this.navigateViaEvent = false;
9734
+ /**
9735
+ * Post Message event to be sent on navigation via Event
9736
+ */
9705
9737
  this.postMessageEvent = '';
9706
9738
  }
9707
9739
  render() {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-465b4ca9.js');
5
+ const index = require('./index-bd066c40.js');
6
6
 
7
7
  /**
8
8
  * custom rules for component types
@@ -228,6 +228,47 @@ const GeneralFooterTemplateStyle3 = generalFooterTemplateCss;
228
228
  const GeneralFooterTemplate = class {
229
229
  constructor(hostRef) {
230
230
  index.registerInstance(this, hostRef);
231
+ /**
232
+ * Environment segregation
233
+ */
234
+ this.env = 'stage';
235
+ /**
236
+ * User roles
237
+ */
238
+ this.userRoles = 'everyone';
239
+ /**
240
+ * If this is true it will emit an event at the moment the content with url its clicked
241
+ */
242
+ this.navigateViaEvent = 'false';
243
+ /**
244
+ * Post Message event to be sent on navigation via Event
245
+ */
246
+ this.postMessageEvent = 'NavigateTo';
247
+ /**
248
+ * custom styling by string content
249
+ */
250
+ this.clientStyling = '';
251
+ /**
252
+ * custom styling by href
253
+ */
254
+ this.clientStylingUrl = '';
255
+ /**
256
+ * custom translation by href
257
+ */
258
+ this.translationUrl = '';
259
+ /**
260
+ * clockformat
261
+ */
262
+ this.clockFormat = 'HH:MM:ss';
263
+ /**
264
+ * configurable time zone
265
+ */
266
+ this.timeZone = '';
267
+ /**
268
+ * wether or not styling appends should be disallowed
269
+ */
270
+ this.hasErrors = false;
271
+ this.stylingAppends = false;
231
272
  this.platform = getDevicePlatform();
232
273
  /**
233
274
  * Host element
@@ -251,22 +292,6 @@ const GeneralFooterTemplate = class {
251
292
  console.log('error ', err);
252
293
  });
253
294
  };
254
- this.language = undefined;
255
- this.sections = undefined;
256
- this.endpoint = undefined;
257
- this.env = 'stage';
258
- this.userRoles = 'everyone';
259
- this.userid = undefined;
260
- this.session = undefined;
261
- this.baseUrl = undefined;
262
- this.navigateViaEvent = 'false';
263
- this.postMessageEvent = 'NavigateTo';
264
- this.clientStyling = '';
265
- this.clientStylingUrl = '';
266
- this.translationUrl = '';
267
- this.clockFormat = 'HH:MM:ss';
268
- this.hasErrors = false;
269
- this.stylingAppends = false;
270
295
  }
271
296
  validateMandatoryFields() {
272
297
  this.MANDATORY_FIELDS.forEach((field) => {
@@ -314,7 +339,7 @@ const GeneralFooterTemplate = class {
314
339
  const FooterElement = componentRules[section].component;
315
340
  const elementIsRepeater = this.footerContent.repeaters.hasOwnProperty(section);
316
341
  const elementIsCustom = this.footerContent.wysiwyg.hasOwnProperty(section);
317
- return index.h(FooterElement, { class: `${section} FooterSectionContainer FooterSectionContainer${i + 1}`, userid: this.userid, session: this.session, "base-url": this.baseUrl, language: this.language, "navigate-via-event": this.navigateViaEvent, "post-message-event": this.postMessageEvent, ruleset: componentRules[section], repeaterContent: elementIsRepeater ? this.footerContent.repeaters[section] : null, customContent: elementIsCustom ? this.footerContent.wysiwyg[section].content : null, "translation-url": this.translationUrl, "clock-format": this.clockFormat });
342
+ return index.h(FooterElement, { class: `${section} FooterSectionContainer FooterSectionContainer${i + 1}`, userid: this.userid, session: this.session, "base-url": this.baseUrl, language: this.language, "navigate-via-event": this.navigateViaEvent, "post-message-event": this.postMessageEvent, ruleset: componentRules[section], repeaterContent: elementIsRepeater ? this.footerContent.repeaters[section] : null, customContent: elementIsCustom ? this.footerContent.wysiwyg[section].content : null, "translation-url": this.translationUrl, "clock-format": this.clockFormat, "time-zone": this.timeZone });
318
343
  });
319
344
  return (index.h("footer", { class: "FooterContainer", ref: el => this.stylingContainer = el }, index.h("div", { class: "FooterGrid customStyle" }, footerSections)));
320
345
  }
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-465b4ca9.js');
5
+ const index = require('./index-bd066c40.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.25.1 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  var patchBrowser = () => {
12
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('general-footer-template.cjs.js', document.baseURI).href));
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- 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"],"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"],"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);
22
+ 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);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-465b4ca9.js');
5
+ const index = require('./index-bd066c40.js');
6
6
 
7
7
  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}";
8
8
  const ImageListStyle0 = imageListCss;
@@ -10,12 +10,17 @@ const ImageListStyle0 = imageListCss;
10
10
  const ImageList = class {
11
11
  constructor(hostRef) {
12
12
  index.registerInstance(this, hostRef);
13
+ /**
14
+ * If this is true it will emit an event at the moment the content with url its clicked
15
+ */
16
+ this.navigateViaEvent = false;
17
+ /**
18
+ * Post Message event to be sent on navigation via event
19
+ */
20
+ this.postMessageEvent = '';
13
21
  this.navigateLink = (url, target, externalLink) => {
14
22
  window.postMessage({ type: this.postMessageEvent, path: url, url, target, externalLink }, window.location.href);
15
23
  };
16
- this.repeaterContent = undefined;
17
- this.navigateViaEvent = false;
18
- this.postMessageEvent = '';
19
24
  }
20
25
  render() {
21
26
  var _a, _b, _c;