@everymatrix/general-footer-template 1.77.3 → 1.77.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/cjs/custom-clock.cjs.entry.js +1 -1
  2. package/dist/cjs/custom-content-section.cjs.entry.js +1 -1
  3. package/dist/cjs/footer-logo.cjs.entry.js +61 -0
  4. package/dist/cjs/general-footer-template.cjs.entry.js +6 -2
  5. package/dist/cjs/general-footer-template.cjs.js +2 -2
  6. package/dist/cjs/image-list.cjs.entry.js +1 -1
  7. package/dist/cjs/{index-4f1d0ebb.js → index-13599735.js} +38 -5
  8. package/dist/cjs/link-section-list.cjs.entry.js +19 -5
  9. package/dist/cjs/loader.cjs.js +2 -2
  10. package/dist/cjs/ui-image_2.cjs.entry.js +1 -1
  11. package/dist/collection/collection-manifest.json +1 -0
  12. package/dist/collection/components/footer-logo-section/footer-logo.css +12 -0
  13. package/dist/collection/components/footer-logo-section/footer-logo.js +110 -0
  14. package/dist/collection/components/general-footer-template/general-footer-template.js +20 -1
  15. package/dist/collection/components/link-section-list/link-section-list.css +46 -0
  16. package/dist/collection/components/link-section-list/link-section-list.js +40 -3
  17. package/dist/collection/utils/utils.js +3 -0
  18. package/dist/esm/custom-clock.entry.js +1 -1
  19. package/dist/esm/custom-content-section.entry.js +1 -1
  20. package/dist/esm/footer-logo.entry.js +57 -0
  21. package/dist/esm/general-footer-template.entry.js +6 -2
  22. package/dist/esm/general-footer-template.js +3 -3
  23. package/dist/esm/image-list.entry.js +1 -1
  24. package/dist/esm/{index-83985f06.js → index-4b819858.js} +38 -5
  25. package/dist/esm/link-section-list.entry.js +19 -5
  26. package/dist/esm/loader.js +3 -3
  27. package/dist/esm/ui-image_2.entry.js +1 -1
  28. package/dist/general-footer-template/custom-clock.entry.js +1 -1
  29. package/dist/general-footer-template/custom-content-section.entry.js +1 -1
  30. package/dist/general-footer-template/footer-logo.entry.js +1 -0
  31. package/dist/general-footer-template/general-footer-template.entry.js +1 -1
  32. package/dist/general-footer-template/general-footer-template.esm.js +1 -1
  33. package/dist/general-footer-template/image-list.entry.js +1 -1
  34. package/dist/general-footer-template/index-4b819858.js +2 -0
  35. package/dist/general-footer-template/link-section-list.entry.js +1 -1
  36. package/dist/general-footer-template/ui-image_2.entry.js +1 -1
  37. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/stencil.config.d.ts +2 -0
  38. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/stencil.config.dev.d.ts +2 -0
  39. package/dist/types/components/footer-logo-section/footer-logo.d.ts +16 -0
  40. package/dist/types/components/general-footer-template/general-footer-template.d.ts +4 -0
  41. package/dist/types/components/link-section-list/link-section-list.d.ts +7 -0
  42. package/dist/types/components.d.ts +45 -0
  43. package/dist/types/utils/utils.d.ts +3 -0
  44. package/package.json +1 -1
  45. package/dist/general-footer-template/index-83985f06.js +0 -2
  46. 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
  47. 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
  48. /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
  49. /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/storybook/main.d.ts +0 -0
  50. /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/storybook/preview.d.ts +0 -0
  51. /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/index.d.ts +0 -0
  52. /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +0 -0
  53. /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  54. /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  55. /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -7,10 +7,18 @@ export class LinkSectionList {
7
7
  this.language = undefined;
8
8
  this.navigateViaEvent = false;
9
9
  this.postMessageEvent = '';
10
+ this.dropdownLinks = true;
11
+ this.openCategory = null;
10
12
  }
11
13
  navigateLink(link) {
12
14
  window.postMessage({ type: this.postMessageEvent, path: link.linkUrl, url: link.linkUrl, target: link.target, externalLink: link.externalLink }, window.location.href);
13
15
  }
16
+ toggleCategory(cat) {
17
+ this.openCategory = this.openCategory === cat ? null : cat;
18
+ }
19
+ createHrefLink(link) {
20
+ return link.externalLink ? link.linkUrl : `${this.baseUrl}/${this.language}${link.linkUrl}`;
21
+ }
14
22
  render() {
15
23
  var _a, _b;
16
24
  const linkSections = (_b = (_a = this.repeaterContent) === null || _a === void 0 ? void 0 : _a.content) === null || _b === void 0 ? void 0 : _b.reduce((obj, elem) => {
@@ -40,13 +48,19 @@ export class LinkSectionList {
40
48
  }
41
49
  return obj;
42
50
  }, []);
43
- 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("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" })), h("span", { class: '' }, link.linkName, " "))) :
51
+ return h("div", { class: "LinkSectionListContainer" }, h("div", { class: "LinkSectionListWrapper" }, this.repeaterContent.categoryTitle && h("h2", { class: "LinkSectionListTitle" }, this.repeaterContent.categoryTitle), linkSections.map(category => this.dropdownLinks ? (h("div", { class: "LinkSectionListDropdown" }, h("button", { type: 'button', class: `LinkSectionListDropdownHeader ${this.openCategory === category.categoryTitle ? 'IsOpen' : ''}`, onClick: () => this.toggleCategory(category.categoryTitle) }, category.categoryTitle, h("span", { class: this.openCategory === category.categoryTitle ? 'TriangleActive' : 'TriangleInactive' }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "6.835", viewBox: "0 0 14 6.835" }, h("path", { id: "arrow", d: "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z", transform: "translate(-274.511 -441.088)" })))), h("ul", { class: { 'LinkSectionListDropdownList': true, open: this.openCategory === 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("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" })), h("span", { class: '' }, link.linkName, " "))) :
52
+ link.linkName ?
53
+ h("span", { class: "LinkSectionListLinkText", onClick: () => this.navigateLink(link) }, h("span", null, link.linkName, " "))
54
+ :
55
+ h("span", { class: "LinkSectionListLinkText", onClick: () => this.navigateLink(link) }, h("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" }))))) : (h("a", { class: "LinkSectionListLink", href: this.createHrefLink(link), target: link.target || '_blank' }, link.linkName && link.icon ? (h("span", { class: "LinkSectionListLinkText" }, h("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" })), h("span", null, link.linkName))) :
56
+ link.linkName ? (h("span", { class: "LinkSectionListLinkText" }, h("span", null, link.linkName))) :
57
+ h("span", { class: "LinkSectionListLinkText" }, h("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" })))))))))) : (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("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" })), h("span", { class: '' }, link.linkName, " "))) :
44
58
  link.linkName ?
45
59
  h("span", { class: "LinkSectionListLinkText", onClick: () => this.navigateLink(link) }, h("span", null, link.linkName, " "))
46
60
  :
47
- h("span", { class: "LinkSectionListLinkText", onClick: () => this.navigateLink(link) }, h("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" }))))) : (h("a", { class: "LinkSectionListLink", href: link.externalLink ? link.linkUrl : `${this.baseUrl}/${this.language}${link.linkUrl}`, target: link.target || '_blank' }, link.linkName && link.icon ? (h("span", { class: "LinkSectionListLinkText" }, h("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" })), h("span", null, link.linkName))) :
61
+ h("span", { class: "LinkSectionListLinkText", onClick: () => this.navigateLink(link) }, h("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" }))))) : (h("a", { class: "LinkSectionListLink", href: this.createHrefLink(link), target: link.target || '_blank' }, link.linkName && link.icon ? (h("span", { class: "LinkSectionListLinkText" }, h("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" })), h("span", null, link.linkName))) :
48
62
  link.linkName ? (h("span", { class: "LinkSectionListLinkText" }, h("span", null, link.linkName))) :
49
- h("span", { class: "LinkSectionListLinkText" }, h("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" })))))))))));
63
+ h("span", { class: "LinkSectionListLinkText" }, h("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" }))))))))))));
50
64
  }
51
65
  static get is() { return "link-section-list"; }
52
66
  static get originalStyleUrls() {
@@ -147,7 +161,30 @@ export class LinkSectionList {
147
161
  "attribute": "post-message-event",
148
162
  "reflect": true,
149
163
  "defaultValue": "''"
164
+ },
165
+ "dropdownLinks": {
166
+ "type": "boolean",
167
+ "mutable": false,
168
+ "complexType": {
169
+ "original": "boolean",
170
+ "resolved": "boolean",
171
+ "references": {}
172
+ },
173
+ "required": false,
174
+ "optional": false,
175
+ "docs": {
176
+ "tags": [],
177
+ "text": "If is true then this component will look like a dropdown"
178
+ },
179
+ "attribute": "dropdown-links",
180
+ "reflect": true,
181
+ "defaultValue": "true"
150
182
  }
151
183
  };
152
184
  }
185
+ static get states() {
186
+ return {
187
+ "openCategory": {}
188
+ };
189
+ }
153
190
  }
@@ -72,6 +72,9 @@ export const componentRules = {
72
72
  "clock": {
73
73
  component: 'custom-clock',
74
74
  },
75
+ "logo": {
76
+ component: 'footer-logo'
77
+ }
75
78
  };
76
79
  // This method takes repeater content and changes it to fit an uniform standard for property names in order to be treated in a general case by the footer
77
80
  // ex. if helpLinks repeaters use "helpImage" and socialLinks repeaters use "socialImage", both will use "image" after the normalization
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-83985f06.js';
1
+ import { r as registerInstance, h } from './index-4b819858.js';
2
2
  import { c as commonjsGlobal } from './_commonjsHelpers-1c8beb5f.js';
3
3
 
4
4
  const DEFAULT_LANGUAGE = 'en';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-83985f06.js';
1
+ import { r as registerInstance, h } from './index-4b819858.js';
2
2
  import { c as commonjsGlobal } from './_commonjsHelpers-1c8beb5f.js';
3
3
 
4
4
  var purify = {exports: {}};
@@ -0,0 +1,57 @@
1
+ import { r as registerInstance, h } from './index-4b819858.js';
2
+
3
+ const footerLogoCss = ".HeaderBranding.sc-footer-logo{text-align:center;width:100%;display:flex;justify-content:center;align-items:center}img.sc-footer-logo{width:10rem;height:auto}";
4
+ const FooterLogoStyle0 = footerLogoCss;
5
+
6
+ const FooterLogo = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.isLogoFromCMS = false;
10
+ this.endpoint = undefined;
11
+ this.language = 'en';
12
+ this.logoContent = null;
13
+ }
14
+ onConfigChange(newValue, oldValue) {
15
+ if (newValue !== oldValue && this.endpoint && this.language) {
16
+ this.getLogo();
17
+ }
18
+ }
19
+ getLogo() {
20
+ const logoURL = new URL(`${this.endpoint}/${this.language.toLowerCase()}/op-options/style`);
21
+ return fetch(logoURL)
22
+ .then((res) => res.json())
23
+ .then((data) => {
24
+ if (data.logoUrl.length > 0 && (data.logoUrl != "null" || data.logoUrl != "false")) {
25
+ this.isLogoFromCMS = true;
26
+ return data.logoUrl;
27
+ }
28
+ else {
29
+ this.isLogoFromCMS = false;
30
+ console.error("Invalid logo URL:", data);
31
+ return null;
32
+ }
33
+ })
34
+ .catch((error) => {
35
+ console.error("Error fetching logo:", error);
36
+ return null;
37
+ });
38
+ }
39
+ async connectedCallback() {
40
+ if (this.endpoint && this.language) {
41
+ const logo = await this.getLogo();
42
+ if (this.isLogoFromCMS && logo) {
43
+ this.logoContent = logo;
44
+ }
45
+ }
46
+ }
47
+ render() {
48
+ return (this.logoContent ? (h("div", { class: "HeaderBranding" }, h("img", { src: this.logoContent, alt: "Logo" }))) : null);
49
+ }
50
+ static get watchers() { return {
51
+ "endpoint": ["onConfigChange"],
52
+ "language": ["onConfigChange"]
53
+ }; }
54
+ };
55
+ FooterLogo.style = FooterLogoStyle0;
56
+
57
+ export { FooterLogo as footer_logo };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-83985f06.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-4b819858.js';
2
2
 
3
3
  /**
4
4
  * custom rules for component types
@@ -67,6 +67,9 @@ const componentRules = {
67
67
  "clock": {
68
68
  component: 'custom-clock',
69
69
  },
70
+ "logo": {
71
+ component: 'footer-logo'
72
+ }
70
73
  };
71
74
  // This method takes repeater content and changes it to fit an uniform standard for property names in order to be treated in a general case by the footer
72
75
  // ex. if helpLinks repeaters use "helpImage" and socialLinks repeaters use "socialImage", both will use "image" after the normalization
@@ -299,6 +302,7 @@ const GeneralFooterTemplate = class {
299
302
  this.clockFormat = 'HH:MM:ss';
300
303
  this.timeZone = '';
301
304
  this.mbSource = undefined;
305
+ this.dropdownLinks = false;
302
306
  this.hasErrors = false;
303
307
  this.footerContent = undefined;
304
308
  }
@@ -362,7 +366,7 @@ const GeneralFooterTemplate = class {
362
366
  const FooterElement = componentRules[section].component;
363
367
  const elementIsRepeater = this.footerContent.repeaters.hasOwnProperty(section);
364
368
  const elementIsCustom = this.footerContent.wysiwyg.hasOwnProperty(section);
365
- return 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 });
369
+ return h(FooterElement, { class: `${section} FooterSectionContainer FooterSectionContainer${i + 1}`, userid: this.userid, session: this.session, "base-url": this.baseUrl, endpoint: this.endpoint, 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, "dropdown-links": this.dropdownLinks });
366
370
  });
367
371
  return (h("footer", { class: "FooterContainer", ref: el => this.stylingContainer = el }, h("div", { class: "FooterGrid customStyle" }, footerSections)));
368
372
  }
@@ -1,5 +1,5 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-83985f06.js';
2
- export { s as setNonce } from './index-83985f06.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-4b819858.js';
2
+ export { s as setNonce } from './index-4b819858.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
@@ -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"]}]]],["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"]}]]],["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"],"customCss":[513,"custom-css"],"translationUrl":[513,"translation-url"],"clockFormat":[513,"clock-format"],"timeZone":[513,"time-zone"],"mbSource":[513,"mb-source"],"hasErrors":[32],"footerContent":[32]},null,{"language":["watchLanguage"]}]]],["ui-image_2",[[0,"ui-image",{"src":[1],"width":[1],"height":[1],"alt":[1],"styles":[8],"detectDistance":[1,"detect-distance"],"loading":[1],"imgLoaded":[32]},null,{"src":["onSrcChange"],"loading":["onLoadingChange"]}],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]],["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"]}]]],["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"],"dropdownLinks":[516,"dropdown-links"],"openCategory":[32]}]]],["custom-clock",[[2,"custom-clock",{"clockFormat":[513,"clock-format"],"timeZone":[513,"time-zone"],"translationUrl":[513,"translation-url"],"language":[513],"timeString":[32]},null,{"translationUrl":["handleNewTranslations"]}]]],["footer-logo",[[2,"footer-logo",{"endpoint":[513],"language":[513],"logoContent":[32]},null,{"endpoint":["onConfigChange"],"language":["onConfigChange"]}]]],["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"],"customCss":[513,"custom-css"],"translationUrl":[513,"translation-url"],"clockFormat":[513,"clock-format"],"timeZone":[513,"time-zone"],"mbSource":[513,"mb-source"],"dropdownLinks":[516,"dropdown-links"],"hasErrors":[32],"footerContent":[32]},null,{"language":["watchLanguage"]}]]],["ui-image_2",[[0,"ui-image",{"src":[1],"width":[1],"height":[1],"alt":[1],"styles":[8],"detectDistance":[1,"detect-distance"],"loading":[1],"imgLoaded":[32]},null,{"src":["onSrcChange"],"loading":["onLoadingChange"]}],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]],["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-83985f06.js';
1
+ import { r as registerInstance, h } from './index-4b819858.js';
2
2
 
3
3
  const imageListCss = ".sc-image-list-h {\n display: block;\n margin: 0;\n padding: 0;\n}\n\n.ContainerImage.sc-image-list {\n position: relative;\n display: inline-block;\n width: 100%;\n}\n\n.SkeletonWrapper.sc-image-list {\n background-color: #f0f0f0;\n width: 50px;\n height: 40px;\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;
@@ -1,5 +1,5 @@
1
1
  const NAMESPACE = 'general-footer-template';
2
- const BUILD = /* general-footer-template */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
2
+ const BUILD = /* general-footer-template */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
3
3
 
4
4
  /*
5
5
  Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
@@ -61,6 +61,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
61
61
  return import(
62
62
  /* webpackMode: "lazy" */
63
63
  './custom-content-section.entry.js').then(processMod, consoleError);
64
+ case 'footer-logo':
65
+ return import(
66
+ /* webpackMode: "lazy" */
67
+ './footer-logo.entry.js').then(processMod, consoleError);
64
68
  case 'link-section-list':
65
69
  return import(
66
70
  /* webpackMode: "lazy" */
@@ -151,6 +155,8 @@ var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
151
155
 
152
156
  // src/utils/constants.ts
153
157
  var EMPTY_OBJ = {};
158
+ var SVG_NS = "http://www.w3.org/2000/svg";
159
+ var HTML_NS = "http://www.w3.org/1999/xhtml";
154
160
 
155
161
  // src/utils/helpers.ts
156
162
  var isDef = (v) => v != null;
@@ -547,9 +553,16 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
547
553
  if (newVNode2.$text$ !== null) {
548
554
  elm = newVNode2.$elm$ = doc.createTextNode(newVNode2.$text$);
549
555
  } else {
550
- elm = newVNode2.$elm$ = doc.createElement(
556
+ if (!isSvgMode) {
557
+ isSvgMode = newVNode2.$tag$ === "svg";
558
+ }
559
+ elm = newVNode2.$elm$ = doc.createElementNS(
560
+ isSvgMode ? SVG_NS : HTML_NS,
551
561
  !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
552
- );
562
+ ) ;
563
+ if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
564
+ isSvgMode = false;
565
+ }
553
566
  {
554
567
  updateElement(null, newVNode2, isSvgMode);
555
568
  }
@@ -567,6 +580,13 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
567
580
  }
568
581
  }
569
582
  }
583
+ {
584
+ if (newVNode2.$tag$ === "svg") {
585
+ isSvgMode = false;
586
+ } else if (elm.tagName === "foreignObject") {
587
+ isSvgMode = true;
588
+ }
589
+ }
570
590
  }
571
591
  elm["s-hn"] = hostTagName;
572
592
  return elm;
@@ -696,8 +716,12 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
696
716
  const elm = newVNode2.$elm$ = oldVNode.$elm$;
697
717
  const oldChildren = oldVNode.$children$;
698
718
  const newChildren = newVNode2.$children$;
719
+ const tag = newVNode2.$tag$;
699
720
  const text = newVNode2.$text$;
700
721
  if (text === null) {
722
+ {
723
+ isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
724
+ }
701
725
  {
702
726
  {
703
727
  updateElement(oldVNode, newVNode2, isSvgMode);
@@ -713,6 +737,9 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
713
737
  } else if (oldChildren !== null) {
714
738
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
715
739
  }
740
+ if (isSvgMode && tag === "svg") {
741
+ isSvgMode = false;
742
+ }
716
743
  } else if (oldVNode.$text$ !== text) {
717
744
  elm.data = text;
718
745
  }
@@ -1083,6 +1110,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1083
1110
  hostRef.$flags$ |= 128 /* isWatchReady */;
1084
1111
  }
1085
1112
  endNewInstance();
1113
+ fireConnectedCallback(hostRef.$lazyInstance$);
1086
1114
  } else {
1087
1115
  Cstr = elm.constructor;
1088
1116
  const cmpTag = elm.localName;
@@ -1110,6 +1138,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1110
1138
  }
1111
1139
  };
1112
1140
  var fireConnectedCallback = (instance) => {
1141
+ {
1142
+ safeCall(instance, "connectedCallback");
1143
+ }
1113
1144
  };
1114
1145
 
1115
1146
  // src/runtime/connected-callback.ts
@@ -1142,8 +1173,10 @@ var connectedCallback = (elm) => {
1142
1173
  initializeComponent(elm, hostRef, cmpMeta);
1143
1174
  }
1144
1175
  } else {
1145
- if (hostRef == null ? void 0 : hostRef.$lazyInstance$) ; else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1146
- hostRef.$onReadyPromise$.then(() => fireConnectedCallback());
1176
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1177
+ fireConnectedCallback(hostRef.$lazyInstance$);
1178
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1179
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));
1147
1180
  }
1148
1181
  }
1149
1182
  endConnected();
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h } from './index-83985f06.js';
1
+ import { r as registerInstance, h } from './index-4b819858.js';
2
2
 
3
- const linkSectionListCss = ":host {\n display: block;\n margin: 0;\n padding: 0;\n}\n\n.SkeletonWrapper {\n width: 25px;\n height: 25px;\n}\n\n.LinkSectionListContainer {\n display: block;\n container-type: inline-size;\n}\n.LinkSectionListWrapper {\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n grid-template-columns: 1fr;\n}\n.LinkSectionListTitle {\n font-weight: var(--emw--font-weight-semibold, 500);\n text-transform: uppercase;\n}\n.LinkSectionListLink {\n font-weight: var(--emw--font-weight-light, 300);\n}\n\nul {\n width: fit-content;\n margin: 0;\n display: flex;\n flex-direction: column;\n gap: var(--emw--spacing-medium, 16px);\n padding-left: var(--emw--spacing-small-minus, 10px);\n font-size: var(--emw--font-size-small, 16px);\n text-transform: uppercase;\n}\nul li {\n list-style: disc;\n display: flex;\n align-items: center;\n position: relative;\n}\nul li .LinkSectionListLinkText {\n display: flex;\n gap: 5px;\n flex-direction: row;\n align-items: center;\n}\nul li .LinkSectionListLinkText span {\n text-align: center;\n cursor: pointer;\n}\nul li .LinkSectionListLinkText img.LinkSectionIcon {\n position: relative;\n height: 25px;\n}\n\na {\n color: inherit;\n}\n\n@container (min-width: 280px) {\n .LinkSectionListWrapper {\n grid-template-columns: repeat(2, 1fr);\n }\n}\n@container (min-width: 650px) {\n .LinkSectionListWrapper {\n grid-gap: 2rem;\n grid-template-columns: repeat(4, 1fr);\n grid-template-rows: 1fr;\n }\n}";
3
+ const linkSectionListCss = ":host {\n display: block;\n margin: 0;\n padding: 0;\n}\n\n.SkeletonWrapper {\n width: 25px;\n height: 25px;\n}\n\n.LinkSectionListContainer {\n display: block;\n container-type: inline-size;\n}\n.LinkSectionListWrapper {\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n grid-template-columns: 1fr;\n}\n.LinkSectionListTitle {\n font-weight: var(--emw--font-weight-semibold, 500);\n text-transform: uppercase;\n}\n.LinkSectionListDropdownHeader {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n background: var(--emw--color-primary, #184026);\n color: var(--emw--color-typography, #FFFFFF);\n text-align: left;\n padding: 10px;\n border: none;\n border-radius: var(--emw--button-border-radius, 4px);\n margin-bottom: 3px;\n cursor: pointer;\n font-size: 1rem;\n}\n.LinkSectionListDropdownHeader:hover {\n color: var(--emw--color-secondary, #52d004);\n}\n.LinkSectionListDropdownHeader:hover svg {\n fill: var(--emw--color-secondary, #52d004);\n}\n.LinkSectionListDropdownHeader.IsOpen {\n color: var(--emw--color-secondary, #52d004);\n}\n.LinkSectionListDropdownHeader.IsOpen svg {\n fill: var(--emw--color-secondary, #52d004);\n}\n.LinkSectionListDropdownHeader .TriangleActive {\n transform: rotate(90deg);\n -webkit-transform: rotate(90deg);\n}\n.LinkSectionListDropdownHeader svg {\n fill: var(--emw--color-typography, #FFFFFF);\n margin-left: 8px;\n width: 16px;\n transform: rotate(-90deg);\n -webkit-transform: rotate(-90deg);\n}\n.LinkSectionListDropdownList {\n list-style: none;\n display: none;\n}\n.LinkSectionListDropdownList.open {\n display: flex;\n margin: 5px 0;\n}\n.LinkSectionListLink {\n font-weight: var(--emw--font-weight-light, 300);\n}\n\nul {\n width: fit-content;\n margin: 0;\n display: flex;\n flex-direction: column;\n gap: var(--emw--spacing-medium, 16px);\n padding-left: var(--emw--spacing-small-minus, 10px);\n font-size: var(--emw--font-size-small, 16px);\n text-transform: uppercase;\n}\nul li {\n list-style: disc;\n display: flex;\n align-items: center;\n position: relative;\n}\nul li .LinkSectionListLinkText {\n display: flex;\n gap: 5px;\n flex-direction: row;\n align-items: center;\n}\nul li .LinkSectionListLinkText span {\n text-align: center;\n cursor: pointer;\n}\nul li .LinkSectionListLinkText img.LinkSectionIcon {\n position: relative;\n height: 25px;\n}\n\na {\n color: inherit;\n}\n\n@container (min-width: 280px) {\n .LinkSectionListWrapper {\n grid-template-columns: repeat(2, 1fr);\n }\n}\n@container (min-width: 650px) {\n .LinkSectionListWrapper {\n grid-gap: 2rem;\n grid-template-columns: repeat(4, 1fr);\n grid-template-rows: 1fr;\n }\n}";
4
4
  const LinkSectionListStyle0 = linkSectionListCss;
5
5
 
6
6
  const LinkSectionList = class {
@@ -11,10 +11,18 @@ const LinkSectionList = class {
11
11
  this.language = undefined;
12
12
  this.navigateViaEvent = false;
13
13
  this.postMessageEvent = '';
14
+ this.dropdownLinks = true;
15
+ this.openCategory = null;
14
16
  }
15
17
  navigateLink(link) {
16
18
  window.postMessage({ type: this.postMessageEvent, path: link.linkUrl, url: link.linkUrl, target: link.target, externalLink: link.externalLink }, window.location.href);
17
19
  }
20
+ toggleCategory(cat) {
21
+ this.openCategory = this.openCategory === cat ? null : cat;
22
+ }
23
+ createHrefLink(link) {
24
+ return link.externalLink ? link.linkUrl : `${this.baseUrl}/${this.language}${link.linkUrl}`;
25
+ }
18
26
  render() {
19
27
  var _a, _b;
20
28
  const linkSections = (_b = (_a = this.repeaterContent) === null || _a === void 0 ? void 0 : _a.content) === null || _b === void 0 ? void 0 : _b.reduce((obj, elem) => {
@@ -44,13 +52,19 @@ const LinkSectionList = class {
44
52
  }
45
53
  return obj;
46
54
  }, []);
47
- 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("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" })), h("span", { class: '' }, link.linkName, " "))) :
55
+ return h("div", { class: "LinkSectionListContainer" }, h("div", { class: "LinkSectionListWrapper" }, this.repeaterContent.categoryTitle && h("h2", { class: "LinkSectionListTitle" }, this.repeaterContent.categoryTitle), linkSections.map(category => this.dropdownLinks ? (h("div", { class: "LinkSectionListDropdown" }, h("button", { type: 'button', class: `LinkSectionListDropdownHeader ${this.openCategory === category.categoryTitle ? 'IsOpen' : ''}`, onClick: () => this.toggleCategory(category.categoryTitle) }, category.categoryTitle, h("span", { class: this.openCategory === category.categoryTitle ? 'TriangleActive' : 'TriangleInactive' }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "6.835", viewBox: "0 0 14 6.835" }, h("path", { id: "arrow", d: "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z", transform: "translate(-274.511 -441.088)" })))), h("ul", { class: { 'LinkSectionListDropdownList': true, open: this.openCategory === 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("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" })), h("span", { class: '' }, link.linkName, " "))) :
56
+ link.linkName ?
57
+ h("span", { class: "LinkSectionListLinkText", onClick: () => this.navigateLink(link) }, h("span", null, link.linkName, " "))
58
+ :
59
+ h("span", { class: "LinkSectionListLinkText", onClick: () => this.navigateLink(link) }, h("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" }))))) : (h("a", { class: "LinkSectionListLink", href: this.createHrefLink(link), target: link.target || '_blank' }, link.linkName && link.icon ? (h("span", { class: "LinkSectionListLinkText" }, h("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" })), h("span", null, link.linkName))) :
60
+ link.linkName ? (h("span", { class: "LinkSectionListLinkText" }, h("span", null, link.linkName))) :
61
+ h("span", { class: "LinkSectionListLinkText" }, h("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" })))))))))) : (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("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" })), h("span", { class: '' }, link.linkName, " "))) :
48
62
  link.linkName ?
49
63
  h("span", { class: "LinkSectionListLinkText", onClick: () => this.navigateLink(link) }, h("span", null, link.linkName, " "))
50
64
  :
51
- h("span", { class: "LinkSectionListLinkText", onClick: () => this.navigateLink(link) }, h("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" }))))) : (h("a", { class: "LinkSectionListLink", href: link.externalLink ? link.linkUrl : `${this.baseUrl}/${this.language}${link.linkUrl}`, target: link.target || '_blank' }, link.linkName && link.icon ? (h("span", { class: "LinkSectionListLinkText" }, h("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" })), h("span", null, link.linkName))) :
65
+ h("span", { class: "LinkSectionListLinkText", onClick: () => this.navigateLink(link) }, h("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" }))))) : (h("a", { class: "LinkSectionListLink", href: this.createHrefLink(link), target: link.target || '_blank' }, link.linkName && link.icon ? (h("span", { class: "LinkSectionListLinkText" }, h("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" })), h("span", null, link.linkName))) :
52
66
  link.linkName ? (h("span", { class: "LinkSectionListLinkText" }, h("span", null, link.linkName))) :
53
- h("span", { class: "LinkSectionListLinkText" }, h("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" })))))))))));
67
+ h("span", { class: "LinkSectionListLinkText" }, h("div", { class: "ContainerImage" }, h("ui-image", { class: "LinkSectionIcon", src: link.icon, alt: "icon" }))))))))))));
54
68
  }
55
69
  };
56
70
  LinkSectionList.style = LinkSectionListStyle0;
@@ -1,11 +1,11 @@
1
- import { b as bootstrapLazy } from './index-83985f06.js';
2
- export { s as setNonce } from './index-83985f06.js';
1
+ import { b as bootstrapLazy } from './index-4b819858.js';
2
+ export { s as setNonce } from './index-4b819858.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await globalScripts();
8
- 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"]}]]],["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"]}]]],["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"],"customCss":[513,"custom-css"],"translationUrl":[513,"translation-url"],"clockFormat":[513,"clock-format"],"timeZone":[513,"time-zone"],"mbSource":[513,"mb-source"],"hasErrors":[32],"footerContent":[32]},null,{"language":["watchLanguage"]}]]],["ui-image_2",[[0,"ui-image",{"src":[1],"width":[1],"height":[1],"alt":[1],"styles":[8],"detectDistance":[1,"detect-distance"],"loading":[1],"imgLoaded":[32]},null,{"src":["onSrcChange"],"loading":["onLoadingChange"]}],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]],["image-list",[[2,"image-list",{"repeaterContent":[8,"repeater-content"],"navigateViaEvent":[4,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]]], options);
8
+ 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"]}]]],["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"],"dropdownLinks":[516,"dropdown-links"],"openCategory":[32]}]]],["custom-clock",[[2,"custom-clock",{"clockFormat":[513,"clock-format"],"timeZone":[513,"time-zone"],"translationUrl":[513,"translation-url"],"language":[513],"timeString":[32]},null,{"translationUrl":["handleNewTranslations"]}]]],["footer-logo",[[2,"footer-logo",{"endpoint":[513],"language":[513],"logoContent":[32]},null,{"endpoint":["onConfigChange"],"language":["onConfigChange"]}]]],["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"],"customCss":[513,"custom-css"],"translationUrl":[513,"translation-url"],"clockFormat":[513,"clock-format"],"timeZone":[513,"time-zone"],"mbSource":[513,"mb-source"],"dropdownLinks":[516,"dropdown-links"],"hasErrors":[32],"footerContent":[32]},null,{"language":["watchLanguage"]}]]],["ui-image_2",[[0,"ui-image",{"src":[1],"width":[1],"height":[1],"alt":[1],"styles":[8],"detectDistance":[1,"detect-distance"],"loading":[1],"imgLoaded":[32]},null,{"src":["onSrcChange"],"loading":["onLoadingChange"]}],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]],["image-list",[[2,"image-list",{"repeaterContent":[8,"repeater-content"],"navigateViaEvent":[4,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]]], options);
9
9
  };
10
10
 
11
11
  export { defineCustomElements };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-83985f06.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-4b819858.js';
2
2
 
3
3
  const uiImageCss = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}";
4
4
  const UiImageStyle0 = uiImageCss;
@@ -1 +1 @@
1
- import{r as t,h as r}from"./index-83985f06.js";import{c as n}from"./_commonjsHelpers-1c8beb5f.js";const e={en:{currentTime:"Current Time"},hu:{currentTime:"Jelenlegi idő"},ro:{currentTime:"Ora curentă"},fr:{currentTime:"Heure actuelle"},ar:{currentTime:"الوقت الحالي"},hr:{currentTime:"Trenutno vrijeme"}},i=t=>new Promise((r=>{fetch(t).then((t=>t.json())).then((t=>{Object.keys(t).forEach((r=>{e[r]||(e[r]={});for(let n in t[r])e[r][n]=t[r][n]})),r(!0)}))}));var s={exports:{}};s.exports=function(){var t=6e4,r=36e5,n="millisecond",e="second",i="minute",s="hour",u="day",a="week",c="month",h="quarter",o="year",f="date",v="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,l=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var r=["th","st","nd","rd"],n=t%100;return"["+t+(r[(n-20)%10]||r[n]||r[0])+"]"}},M=function(t,r,n){var e=String(t);return!e||e.length>=r?t:""+Array(r+1-e.length).join(n)+t},D={s:M,z:function(t){var r=-t.utcOffset(),n=Math.abs(r),e=Math.floor(n/60),i=n%60;return(r<=0?"+":"-")+M(e,2,"0")+":"+M(i,2,"0")},m:function t(r,n){if(r.date()<n.date())return-t(n,r);var e=12*(n.year()-r.year())+(n.month()-r.month()),i=r.clone().add(e,c),s=n-i<0,u=r.clone().add(e+(s?-1:1),c);return+(-(e+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:o,w:a,d:u,D:f,h:s,m:i,s:e,ms:n,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",S={};S[y]=m;var b="$isDayjsObject",g=function(t){return t instanceof p||!(!t||!t[b])},w=function t(r,n,e){var i;if(!r)return y;if("string"==typeof r){var s=r.toLowerCase();S[s]&&(i=s),n&&(S[s]=n,i=s);var u=r.split("-");if(!i&&u.length>1)return t(u[0])}else{var a=r.name;S[a]=r,i=a}return!e&&i&&(y=i),i||!e&&y},Y=function(t,r){if(g(t))return t.clone();var n="object"==typeof r?r:{};return n.date=t,n.args=arguments,new p(n)},k=D;k.l=w,k.i=g,k.w=function(t,r){return Y(t,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var p=function(){function m(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[b]=!0}var M=m.prototype;return M.parse=function(t){this.$d=function(t){var r=t.date,n=t.utc;if(null===r)return new Date(NaN);if(k.u(r))return new Date;if(r instanceof Date)return new Date(r);if("string"==typeof r&&!/Z$/i.test(r)){var e=r.match(d);if(e){var i=e[2]-1||0,s=(e[7]||"0").substring(0,3);return n?new Date(Date.UTC(e[1],i,e[3]||1,e[4]||0,e[5]||0,e[6]||0,s)):new Date(e[1],i,e[3]||1,e[4]||0,e[5]||0,e[6]||0,s)}}return new Date(r)}(t),this.init()},M.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},M.$utils=function(){return k},M.isValid=function(){return!(this.$d.toString()===v)},M.isSame=function(t,r){var n=Y(t);return this.startOf(r)<=n&&n<=this.endOf(r)},M.isAfter=function(t,r){return Y(t)<this.startOf(r)},M.isBefore=function(t,r){return this.endOf(r)<Y(t)},M.$g=function(t,r,n){return k.u(t)?this[r]:this.set(n,t)},M.unix=function(){return Math.floor(this.valueOf()/1e3)},M.valueOf=function(){return this.$d.getTime()},M.startOf=function(t,r){var n=this,h=!!k.u(r)||r,v=k.p(t),d=function(t,r){var e=k.w(n.$u?Date.UTC(n.$y,r,t):new Date(n.$y,r,t),n);return h?e:e.endOf(u)},l=function(t,r){return k.w(n.toDate()[t].apply(n.toDate("s"),(h?[0,0,0,0]:[23,59,59,999]).slice(r)),n)},m=this.$W,M=this.$M,D=this.$D,y="set"+(this.$u?"UTC":"");switch(v){case o:return h?d(1,0):d(31,11);case c:return h?d(1,M):d(0,M+1);case a:var S=this.$locale().weekStart||0,b=(m<S?m+7:m)-S;return d(h?D-b:D+(6-b),M);case u:case f:return l(y+"Hours",0);case s:return l(y+"Minutes",1);case i:return l(y+"Seconds",2);case e:return l(y+"Milliseconds",3);default:return this.clone()}},M.endOf=function(t){return this.startOf(t,!1)},M.$set=function(t,r){var a,h=k.p(t),v="set"+(this.$u?"UTC":""),d=(a={},a[u]=v+"Date",a[f]=v+"Date",a[c]=v+"Month",a[o]=v+"FullYear",a[s]=v+"Hours",a[i]=v+"Minutes",a[e]=v+"Seconds",a[n]=v+"Milliseconds",a)[h],l=h===u?this.$D+(r-this.$W):r;if(h===c||h===o){var m=this.clone().set(f,1);m.$d[d](l),m.init(),this.$d=m.set(f,Math.min(this.$D,m.daysInMonth())).$d}else d&&this.$d[d](l);return this.init(),this},M.set=function(t,r){return this.clone().$set(t,r)},M.get=function(t){return this[k.p(t)]()},M.add=function(n,h){var f,v=this;n=Number(n);var d=k.p(h),l=function(t){var r=Y(v);return k.w(r.date(r.date()+Math.round(t*n)),v)};if(d===c)return this.set(c,this.$M+n);if(d===o)return this.set(o,this.$y+n);if(d===u)return l(1);if(d===a)return l(7);var m=(f={},f[i]=t,f[s]=r,f[e]=1e3,f)[d]||1,M=this.$d.getTime()+n*m;return k.w(M,this)},M.subtract=function(t,r){return this.add(-1*t,r)},M.format=function(t){var r=this,n=this.$locale();if(!this.isValid())return n.invalidDate||v;var e=t||"YYYY-MM-DDTHH:mm:ssZ",i=k.z(this),s=this.$H,u=this.$m,a=this.$M,c=n.weekdays,h=n.months,o=function(t,n,i,s){return t&&(t[n]||t(r,e))||i[n].slice(0,s)},f=function(t){return k.s(s%12||12,t,"0")},d=n.meridiem||function(t,r,n){var e=t<12?"AM":"PM";return n?e.toLowerCase():e};return e.replace(l,(function(t,e){return e||function(t){switch(t){case"YY":return String(r.$y).slice(-2);case"YYYY":return k.s(r.$y,4,"0");case"M":return a+1;case"MM":return k.s(a+1,2,"0");case"MMM":return o(n.monthsShort,a,h,3);case"MMMM":return o(h,a);case"D":return r.$D;case"DD":return k.s(r.$D,2,"0");case"d":return String(r.$W);case"dd":return o(n.weekdaysMin,r.$W,c,2);case"ddd":return o(n.weekdaysShort,r.$W,c,3);case"dddd":return c[r.$W];case"H":return String(s);case"HH":return k.s(s,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return d(s,u,!0);case"A":return d(s,u,!1);case"m":return String(u);case"mm":return k.s(u,2,"0");case"s":return String(r.$s);case"ss":return k.s(r.$s,2,"0");case"SSS":return k.s(r.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},M.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},M.diff=function(n,f,v){var d,l=this,m=k.p(f),M=Y(n),D=(M.utcOffset()-this.utcOffset())*t,y=this-M,S=function(){return k.m(l,M)};switch(m){case o:d=S()/12;break;case c:d=S();break;case h:d=S()/3;break;case a:d=(y-D)/6048e5;break;case u:d=(y-D)/864e5;break;case s:d=y/r;break;case i:d=y/t;break;case e:d=y/1e3;break;default:d=y}return v?d:k.a(d)},M.daysInMonth=function(){return this.endOf(c).$D},M.$locale=function(){return S[this.$L]},M.locale=function(t,r){if(!t)return this.$L;var n=this.clone(),e=w(t,r,!0);return e&&(n.$L=e),n},M.clone=function(){return k.w(this.$d,this)},M.toDate=function(){return new Date(this.valueOf())},M.toJSON=function(){return this.isValid()?this.toISOString():null},M.toISOString=function(){return this.$d.toISOString()},M.toString=function(){return this.$d.toUTCString()},m}(),_=p.prototype;return Y.prototype=_,[["$ms",n],["$s",e],["$m",i],["$H",s],["$W",u],["$M",c],["$y",o],["$D",f]].forEach((function(t){_[t[1]]=function(r){return this.$g(r,t[0],t[1])}})),Y.extend=function(t,r){return t.$i||(t(r,p,Y),t.$i=!0),Y},Y.locale=w,Y.isDayjs=g,Y.unix=function(t){return Y(1e3*t)},Y.en=S[y],Y.Ls=S,Y.p={},Y}();const u=s.exports;var a,c,h,o={exports:{}};o.exports=(a="minute",c=/[+-]\d\d(?::?\d\d)?/g,h=/([+-]|\d\d)/g,function(t,r,n){var e=r.prototype;n.utc=function(t){return new r({date:t,utc:!0,args:arguments})},e.utc=function(t){var r=n(this.toDate(),{locale:this.$L,utc:!0});return t?r.add(this.utcOffset(),a):r},e.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var i=e.parse;e.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),i.call(this,t)};var s=e.init;e.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else s.call(this)};var u=e.utcOffset;e.utcOffset=function(t,r){var n=this.$utils().u;if(n(t))return this.$u?0:n(this.$offset)?u.call(this):this.$offset;if("string"==typeof t&&(t=function(t){void 0===t&&(t="");var r=t.match(c);if(!r)return null;var n=(""+r[0]).match(h)||["-",0,0],e=60*+n[1]+ +n[2];return 0===e?0:"+"===n[0]?e:-e}(t),null===t))return this;var e=Math.abs(t)<=16?60*t:t,i=this;if(r)return i.$offset=e,i.$u=0===t,i;if(0!==t){var s=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(i=this.local().add(e+s,a)).$offset=e,i.$x.$localOffset=s}else i=this.utc();return i};var o=e.format;e.format=function(t){return o.call(this,t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":""))},e.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},e.isUTC=function(){return!!this.$u},e.toISOString=function(){return this.toDate().toISOString()},e.toString=function(){return this.toDate().toUTCString()};var f=e.toDate;e.toDate=function(t){return"s"===t&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var v=e.diff;e.diff=function(t,r,e){if(t&&this.$u===t.$u)return v.call(this,t,r,e);var i=this.local(),s=n(t).local();return v.call(i,s,r,e)}});const f=o.exports;var v={exports:{}};v.exports=function(){var t={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(n,e,i){var s,u=function(t,n,e){void 0===e&&(e={});var i=new Date(t),s=function(t,n){void 0===n&&(n={});var e=n.timeZoneName||"short",i=t+"|"+e,s=r[i];return s||(s=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:e}),r[i]=s),s}(n,e);return s.formatToParts(i)},a=function(r,n){for(var e=u(r,n),s=[],a=0;a<e.length;a+=1){var c=e[a],h=t[c.type];h>=0&&(s[h]=parseInt(c.value,10))}var o=s[3],f=+r;return(i.utc(s[0]+"-"+s[1]+"-"+s[2]+" "+(24===o?0:o)+":"+s[4]+":"+s[5]+":000").valueOf()-(f-=f%1e3))/6e4},c=e.prototype;c.tz=function(t,r){void 0===t&&(t=s);var n=this.utcOffset(),e=this.toDate(),u=e.toLocaleString("en-US",{timeZone:t}),a=Math.round((e-new Date(u))/1e3/60),c=i(u,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(e.getTimezoneOffset()/15)-a,!0);if(r){var h=c.utcOffset();c=c.add(n-h,"minute")}return c.$x.$timezone=t,c},c.offsetName=function(t){var r=this.$x.$timezone||i.tz.guess(),n=u(this.valueOf(),r,{timeZoneName:t}).find((function(t){return"timezonename"===t.type.toLowerCase()}));return n&&n.value};var h=c.startOf;c.startOf=function(t,r){if(!this.$x||!this.$x.$timezone)return h.call(this,t,r);var n=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return h.call(n,t,r).tz(this.$x.$timezone,!0)},i.tz=function(t,r,n){var e=n&&r,u=n||r||s,c=a(+i(),u);if("string"!=typeof t)return i(t).tz(u);var h=function(t,r,n){var e=t-60*r*1e3,i=a(e,n);if(r===i)return[e,r];var s=a(e-=60*(i-r)*1e3,n);return i===s?[e,i]:[t-60*Math.min(i,s)*1e3,Math.max(i,s)]}(i.utc(t,e).valueOf(),c,u),o=h[1],f=i(h[0]).utcOffset(o);return f.$x.$timezone=u,f},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(t){s=t}}}();const d=v.exports,l=class{constructor(r){t(this,r),this.startClock=()=>{this.intervalId=setInterval((()=>{this.timeZone.length>0?(u.extend(f),u.extend(d),this.timeString=u().tz(this.timeZone).format(this.clockFormat)):this.timeString=u().format(this.clockFormat)}),1e3)},this.clockFormat="HH:mm:ss",this.timeZone="",this.translationUrl="",this.language="en",this.timeString=""}handleNewTranslations(){i(this.translationUrl)}async componentWillLoad(){this.translationUrl.length>2&&await i(this.translationUrl)}componentDidLoad(){this.startClock()}disconnectedCallback(){clearInterval(this.intervalId)}render(){return r("div",{key:"a5f785406272352dfe1797105d524c042ff03b41",class:"CustomClockContainer"},r("p",{key:"8e9ebfae2f06a4297af2f39210e8687bc6c141b4"},e[void 0!==(t=this.language)&&t in e?t:"en"].currentTime,": ",this.timeString));var t}static get watchers(){return{translationUrl:["handleNewTranslations"]}}};l.style=".CustomClockContainer.sc-custom-clock.sc-custom-clock{display:flex;justify-content:center;align-items:center}.CustomClockContainer.sc-custom-clock.sc-custom-clock p.sc-custom-clock{font-size:16px}";export{l as custom_clock}
1
+ import{r as t,h as r}from"./index-4b819858.js";import{c as n}from"./_commonjsHelpers-1c8beb5f.js";const e={en:{currentTime:"Current Time"},hu:{currentTime:"Jelenlegi idő"},ro:{currentTime:"Ora curentă"},fr:{currentTime:"Heure actuelle"},ar:{currentTime:"الوقت الحالي"},hr:{currentTime:"Trenutno vrijeme"}},i=t=>new Promise((r=>{fetch(t).then((t=>t.json())).then((t=>{Object.keys(t).forEach((r=>{e[r]||(e[r]={});for(let n in t[r])e[r][n]=t[r][n]})),r(!0)}))}));var s={exports:{}};s.exports=function(){var t=6e4,r=36e5,n="millisecond",e="second",i="minute",s="hour",u="day",a="week",c="month",h="quarter",o="year",f="date",v="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,l=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var r=["th","st","nd","rd"],n=t%100;return"["+t+(r[(n-20)%10]||r[n]||r[0])+"]"}},M=function(t,r,n){var e=String(t);return!e||e.length>=r?t:""+Array(r+1-e.length).join(n)+t},D={s:M,z:function(t){var r=-t.utcOffset(),n=Math.abs(r),e=Math.floor(n/60),i=n%60;return(r<=0?"+":"-")+M(e,2,"0")+":"+M(i,2,"0")},m:function t(r,n){if(r.date()<n.date())return-t(n,r);var e=12*(n.year()-r.year())+(n.month()-r.month()),i=r.clone().add(e,c),s=n-i<0,u=r.clone().add(e+(s?-1:1),c);return+(-(e+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:o,w:a,d:u,D:f,h:s,m:i,s:e,ms:n,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",S={};S[y]=m;var b="$isDayjsObject",g=function(t){return t instanceof p||!(!t||!t[b])},w=function t(r,n,e){var i;if(!r)return y;if("string"==typeof r){var s=r.toLowerCase();S[s]&&(i=s),n&&(S[s]=n,i=s);var u=r.split("-");if(!i&&u.length>1)return t(u[0])}else{var a=r.name;S[a]=r,i=a}return!e&&i&&(y=i),i||!e&&y},Y=function(t,r){if(g(t))return t.clone();var n="object"==typeof r?r:{};return n.date=t,n.args=arguments,new p(n)},k=D;k.l=w,k.i=g,k.w=function(t,r){return Y(t,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var p=function(){function m(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[b]=!0}var M=m.prototype;return M.parse=function(t){this.$d=function(t){var r=t.date,n=t.utc;if(null===r)return new Date(NaN);if(k.u(r))return new Date;if(r instanceof Date)return new Date(r);if("string"==typeof r&&!/Z$/i.test(r)){var e=r.match(d);if(e){var i=e[2]-1||0,s=(e[7]||"0").substring(0,3);return n?new Date(Date.UTC(e[1],i,e[3]||1,e[4]||0,e[5]||0,e[6]||0,s)):new Date(e[1],i,e[3]||1,e[4]||0,e[5]||0,e[6]||0,s)}}return new Date(r)}(t),this.init()},M.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},M.$utils=function(){return k},M.isValid=function(){return!(this.$d.toString()===v)},M.isSame=function(t,r){var n=Y(t);return this.startOf(r)<=n&&n<=this.endOf(r)},M.isAfter=function(t,r){return Y(t)<this.startOf(r)},M.isBefore=function(t,r){return this.endOf(r)<Y(t)},M.$g=function(t,r,n){return k.u(t)?this[r]:this.set(n,t)},M.unix=function(){return Math.floor(this.valueOf()/1e3)},M.valueOf=function(){return this.$d.getTime()},M.startOf=function(t,r){var n=this,h=!!k.u(r)||r,v=k.p(t),d=function(t,r){var e=k.w(n.$u?Date.UTC(n.$y,r,t):new Date(n.$y,r,t),n);return h?e:e.endOf(u)},l=function(t,r){return k.w(n.toDate()[t].apply(n.toDate("s"),(h?[0,0,0,0]:[23,59,59,999]).slice(r)),n)},m=this.$W,M=this.$M,D=this.$D,y="set"+(this.$u?"UTC":"");switch(v){case o:return h?d(1,0):d(31,11);case c:return h?d(1,M):d(0,M+1);case a:var S=this.$locale().weekStart||0,b=(m<S?m+7:m)-S;return d(h?D-b:D+(6-b),M);case u:case f:return l(y+"Hours",0);case s:return l(y+"Minutes",1);case i:return l(y+"Seconds",2);case e:return l(y+"Milliseconds",3);default:return this.clone()}},M.endOf=function(t){return this.startOf(t,!1)},M.$set=function(t,r){var a,h=k.p(t),v="set"+(this.$u?"UTC":""),d=(a={},a[u]=v+"Date",a[f]=v+"Date",a[c]=v+"Month",a[o]=v+"FullYear",a[s]=v+"Hours",a[i]=v+"Minutes",a[e]=v+"Seconds",a[n]=v+"Milliseconds",a)[h],l=h===u?this.$D+(r-this.$W):r;if(h===c||h===o){var m=this.clone().set(f,1);m.$d[d](l),m.init(),this.$d=m.set(f,Math.min(this.$D,m.daysInMonth())).$d}else d&&this.$d[d](l);return this.init(),this},M.set=function(t,r){return this.clone().$set(t,r)},M.get=function(t){return this[k.p(t)]()},M.add=function(n,h){var f,v=this;n=Number(n);var d=k.p(h),l=function(t){var r=Y(v);return k.w(r.date(r.date()+Math.round(t*n)),v)};if(d===c)return this.set(c,this.$M+n);if(d===o)return this.set(o,this.$y+n);if(d===u)return l(1);if(d===a)return l(7);var m=(f={},f[i]=t,f[s]=r,f[e]=1e3,f)[d]||1,M=this.$d.getTime()+n*m;return k.w(M,this)},M.subtract=function(t,r){return this.add(-1*t,r)},M.format=function(t){var r=this,n=this.$locale();if(!this.isValid())return n.invalidDate||v;var e=t||"YYYY-MM-DDTHH:mm:ssZ",i=k.z(this),s=this.$H,u=this.$m,a=this.$M,c=n.weekdays,h=n.months,o=function(t,n,i,s){return t&&(t[n]||t(r,e))||i[n].slice(0,s)},f=function(t){return k.s(s%12||12,t,"0")},d=n.meridiem||function(t,r,n){var e=t<12?"AM":"PM";return n?e.toLowerCase():e};return e.replace(l,(function(t,e){return e||function(t){switch(t){case"YY":return String(r.$y).slice(-2);case"YYYY":return k.s(r.$y,4,"0");case"M":return a+1;case"MM":return k.s(a+1,2,"0");case"MMM":return o(n.monthsShort,a,h,3);case"MMMM":return o(h,a);case"D":return r.$D;case"DD":return k.s(r.$D,2,"0");case"d":return String(r.$W);case"dd":return o(n.weekdaysMin,r.$W,c,2);case"ddd":return o(n.weekdaysShort,r.$W,c,3);case"dddd":return c[r.$W];case"H":return String(s);case"HH":return k.s(s,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return d(s,u,!0);case"A":return d(s,u,!1);case"m":return String(u);case"mm":return k.s(u,2,"0");case"s":return String(r.$s);case"ss":return k.s(r.$s,2,"0");case"SSS":return k.s(r.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},M.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},M.diff=function(n,f,v){var d,l=this,m=k.p(f),M=Y(n),D=(M.utcOffset()-this.utcOffset())*t,y=this-M,S=function(){return k.m(l,M)};switch(m){case o:d=S()/12;break;case c:d=S();break;case h:d=S()/3;break;case a:d=(y-D)/6048e5;break;case u:d=(y-D)/864e5;break;case s:d=y/r;break;case i:d=y/t;break;case e:d=y/1e3;break;default:d=y}return v?d:k.a(d)},M.daysInMonth=function(){return this.endOf(c).$D},M.$locale=function(){return S[this.$L]},M.locale=function(t,r){if(!t)return this.$L;var n=this.clone(),e=w(t,r,!0);return e&&(n.$L=e),n},M.clone=function(){return k.w(this.$d,this)},M.toDate=function(){return new Date(this.valueOf())},M.toJSON=function(){return this.isValid()?this.toISOString():null},M.toISOString=function(){return this.$d.toISOString()},M.toString=function(){return this.$d.toUTCString()},m}(),_=p.prototype;return Y.prototype=_,[["$ms",n],["$s",e],["$m",i],["$H",s],["$W",u],["$M",c],["$y",o],["$D",f]].forEach((function(t){_[t[1]]=function(r){return this.$g(r,t[0],t[1])}})),Y.extend=function(t,r){return t.$i||(t(r,p,Y),t.$i=!0),Y},Y.locale=w,Y.isDayjs=g,Y.unix=function(t){return Y(1e3*t)},Y.en=S[y],Y.Ls=S,Y.p={},Y}();const u=s.exports;var a,c,h,o={exports:{}};o.exports=(a="minute",c=/[+-]\d\d(?::?\d\d)?/g,h=/([+-]|\d\d)/g,function(t,r,n){var e=r.prototype;n.utc=function(t){return new r({date:t,utc:!0,args:arguments})},e.utc=function(t){var r=n(this.toDate(),{locale:this.$L,utc:!0});return t?r.add(this.utcOffset(),a):r},e.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var i=e.parse;e.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),i.call(this,t)};var s=e.init;e.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else s.call(this)};var u=e.utcOffset;e.utcOffset=function(t,r){var n=this.$utils().u;if(n(t))return this.$u?0:n(this.$offset)?u.call(this):this.$offset;if("string"==typeof t&&(t=function(t){void 0===t&&(t="");var r=t.match(c);if(!r)return null;var n=(""+r[0]).match(h)||["-",0,0],e=60*+n[1]+ +n[2];return 0===e?0:"+"===n[0]?e:-e}(t),null===t))return this;var e=Math.abs(t)<=16?60*t:t,i=this;if(r)return i.$offset=e,i.$u=0===t,i;if(0!==t){var s=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(i=this.local().add(e+s,a)).$offset=e,i.$x.$localOffset=s}else i=this.utc();return i};var o=e.format;e.format=function(t){return o.call(this,t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":""))},e.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},e.isUTC=function(){return!!this.$u},e.toISOString=function(){return this.toDate().toISOString()},e.toString=function(){return this.toDate().toUTCString()};var f=e.toDate;e.toDate=function(t){return"s"===t&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var v=e.diff;e.diff=function(t,r,e){if(t&&this.$u===t.$u)return v.call(this,t,r,e);var i=this.local(),s=n(t).local();return v.call(i,s,r,e)}});const f=o.exports;var v={exports:{}};v.exports=function(){var t={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(n,e,i){var s,u=function(t,n,e){void 0===e&&(e={});var i=new Date(t),s=function(t,n){void 0===n&&(n={});var e=n.timeZoneName||"short",i=t+"|"+e,s=r[i];return s||(s=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:e}),r[i]=s),s}(n,e);return s.formatToParts(i)},a=function(r,n){for(var e=u(r,n),s=[],a=0;a<e.length;a+=1){var c=e[a],h=t[c.type];h>=0&&(s[h]=parseInt(c.value,10))}var o=s[3],f=+r;return(i.utc(s[0]+"-"+s[1]+"-"+s[2]+" "+(24===o?0:o)+":"+s[4]+":"+s[5]+":000").valueOf()-(f-=f%1e3))/6e4},c=e.prototype;c.tz=function(t,r){void 0===t&&(t=s);var n=this.utcOffset(),e=this.toDate(),u=e.toLocaleString("en-US",{timeZone:t}),a=Math.round((e-new Date(u))/1e3/60),c=i(u,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(e.getTimezoneOffset()/15)-a,!0);if(r){var h=c.utcOffset();c=c.add(n-h,"minute")}return c.$x.$timezone=t,c},c.offsetName=function(t){var r=this.$x.$timezone||i.tz.guess(),n=u(this.valueOf(),r,{timeZoneName:t}).find((function(t){return"timezonename"===t.type.toLowerCase()}));return n&&n.value};var h=c.startOf;c.startOf=function(t,r){if(!this.$x||!this.$x.$timezone)return h.call(this,t,r);var n=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return h.call(n,t,r).tz(this.$x.$timezone,!0)},i.tz=function(t,r,n){var e=n&&r,u=n||r||s,c=a(+i(),u);if("string"!=typeof t)return i(t).tz(u);var h=function(t,r,n){var e=t-60*r*1e3,i=a(e,n);if(r===i)return[e,r];var s=a(e-=60*(i-r)*1e3,n);return i===s?[e,i]:[t-60*Math.min(i,s)*1e3,Math.max(i,s)]}(i.utc(t,e).valueOf(),c,u),o=h[1],f=i(h[0]).utcOffset(o);return f.$x.$timezone=u,f},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(t){s=t}}}();const d=v.exports,l=class{constructor(r){t(this,r),this.startClock=()=>{this.intervalId=setInterval((()=>{this.timeZone.length>0?(u.extend(f),u.extend(d),this.timeString=u().tz(this.timeZone).format(this.clockFormat)):this.timeString=u().format(this.clockFormat)}),1e3)},this.clockFormat="HH:mm:ss",this.timeZone="",this.translationUrl="",this.language="en",this.timeString=""}handleNewTranslations(){i(this.translationUrl)}async componentWillLoad(){this.translationUrl.length>2&&await i(this.translationUrl)}componentDidLoad(){this.startClock()}disconnectedCallback(){clearInterval(this.intervalId)}render(){return r("div",{key:"a5f785406272352dfe1797105d524c042ff03b41",class:"CustomClockContainer"},r("p",{key:"8e9ebfae2f06a4297af2f39210e8687bc6c141b4"},e[void 0!==(t=this.language)&&t in e?t:"en"].currentTime,": ",this.timeString));var t}static get watchers(){return{translationUrl:["handleNewTranslations"]}}};l.style=".CustomClockContainer.sc-custom-clock.sc-custom-clock{display:flex;justify-content:center;align-items:center}.CustomClockContainer.sc-custom-clock.sc-custom-clock p.sc-custom-clock{font-size:16px}";export{l as custom_clock}
@@ -1,2 +1,2 @@
1
- import{r as t,h as e}from"./index-83985f06.js";import{c as n}from"./_commonjsHelpers-1c8beb5f.js";var o={exports:{}};
1
+ import{r as t,h as e}from"./index-4b819858.js";import{c as n}from"./_commonjsHelpers-1c8beb5f.js";var o={exports:{}};
2
2
  /*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */o.exports=function(){const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:i}=Object;let{freeze:r,seal:a,create:l}=Object,{apply:s,construct:c}="undefined"!=typeof Reflect&&Reflect;r||(r=function(t){return t}),a||(a=function(t){return t}),s||(s=function(t,e,n){return t.apply(e,n)}),c||(c=function(t,e){return new t(...e)});const u=k(Array.prototype.forEach),f=k(Array.prototype.pop),m=k(Array.prototype.push),p=k(String.prototype.toLowerCase),d=k(String.prototype.toString),h=k(String.prototype.match),g=k(String.prototype.replace),y=k(String.prototype.indexOf),b=k(String.prototype.trim),v=k(Object.prototype.hasOwnProperty),w=k(RegExp.prototype.test),x=(T=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return c(T,e)});var T;function k(t){return function(e){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return s(t,e,o)}}function A(t,o){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p;e&&e(t,null);let r=o.length;for(;r--;){let e=o[r];if("string"==typeof e){const t=i(e);t!==e&&(n(o)||(o[r]=t),e=t)}t[e]=!0}return t}function S(t){for(let e=0;e<t.length;e++)v(t,e)||(t[e]=null);return t}function E(e){const n=l(null);for(const[o,i]of t(e))v(e,o)&&(n[o]=Array.isArray(i)?S(i):i&&"object"==typeof i&&i.constructor===Object?E(i):i);return n}function _(t,e){for(;null!==t;){const n=i(t,e);if(n){if(n.get)return k(n.get);if("function"==typeof n.value)return k(n.value)}t=o(t)}return function(){return null}}const R=r(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),O=r(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),L=r(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),D=r(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),C=r(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),z=r(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=r(["#text"]),I=r(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),N=r(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=r(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F=r(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),j=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),U=a(/<%[\w\W]*|[\w\W]*%>/gm),W=a(/\${[\w\W]*}/gm),B=a(/^data-[\-\w.\u00B7-\uFFFF]/),H=a(/^aria-[\-\w]+$/),q=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y=a(/^(?:\w+script|data):/i),X=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G=a(/^html$/i),$=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var K=Object.freeze({__proto__:null,MUSTACHE_EXPR:j,ERB_EXPR:U,TMPLIT_EXPR:W,DATA_ATTR:B,ARIA_ATTR:H,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:Y,ATTR_WHITESPACE:X,DOCTYPE_NAME:G,CUSTOM_ELEMENT:$});const V=1,J=3,Q=7,Z=8,tt=9,et=function(){return"undefined"==typeof window?null:window};var nt=function e(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:et();const o=t=>e(t);if(o.version="3.1.6",o.removed=[],!n||!n.document||n.document.nodeType!==tt)return o.isSupported=!1,o;let{document:i}=n;const a=i,s=a.currentScript,{DocumentFragment:c,HTMLTemplateElement:T,Node:k,Element:S,NodeFilter:j,NamedNodeMap:U=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:W,DOMParser:B,trustedTypes:H}=n,Y=S.prototype,X=_(Y,"cloneNode"),$=_(Y,"remove"),nt=_(Y,"nextSibling"),ot=_(Y,"childNodes"),it=_(Y,"parentNode");if("function"==typeof T){const t=i.createElement("template");t.content&&t.content.ownerDocument&&(i=t.content.ownerDocument)}let rt,at="";const{implementation:lt,createNodeIterator:st,createDocumentFragment:ct,getElementsByTagName:ut}=i,{importNode:ft}=a;let mt={};o.isSupported="function"==typeof t&&"function"==typeof it&&lt&&void 0!==lt.createHTMLDocument;const{MUSTACHE_EXPR:pt,ERB_EXPR:dt,TMPLIT_EXPR:ht,DATA_ATTR:gt,ARIA_ATTR:yt,IS_SCRIPT_OR_DATA:bt,ATTR_WHITESPACE:vt,CUSTOM_ELEMENT:wt}=K;let{IS_ALLOWED_URI:xt}=K,Tt=null;const kt=A({},[...R,...O,...L,...C,...M]);let At=null;const St=A({},[...I,...N,...P,...F]);let Et=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),_t=null,Rt=null,Ot=!0,Lt=!0,Dt=!1,Ct=!0,zt=!1,Mt=!0,It=!1,Nt=!1,Pt=!1,Ft=!1,jt=!1,Ut=!1,Wt=!0,Bt=!1,Ht=!0,qt=!1,Yt={},Xt=null;const Gt=A({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let $t=null;const Kt=A({},["audio","video","img","source","image","track"]);let Vt=null;const Jt=A({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qt="http://www.w3.org/1998/Math/MathML",Zt="http://www.w3.org/2000/svg",te="http://www.w3.org/1999/xhtml";let ee=te,ne=!1,oe=null;const ie=A({},[Qt,Zt,te],d);let re=null;const ae=["application/xhtml+xml","text/html"];let le=null,se=null;const ce=i.createElement("form"),ue=function(t){return t instanceof RegExp||t instanceof Function},fe=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!se||se!==t){if(t&&"object"==typeof t||(t={}),t=E(t),re=-1===ae.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,le="application/xhtml+xml"===re?d:p,Tt=v(t,"ALLOWED_TAGS")?A({},t.ALLOWED_TAGS,le):kt,At=v(t,"ALLOWED_ATTR")?A({},t.ALLOWED_ATTR,le):St,oe=v(t,"ALLOWED_NAMESPACES")?A({},t.ALLOWED_NAMESPACES,d):ie,Vt=v(t,"ADD_URI_SAFE_ATTR")?A(E(Jt),t.ADD_URI_SAFE_ATTR,le):Jt,$t=v(t,"ADD_DATA_URI_TAGS")?A(E(Kt),t.ADD_DATA_URI_TAGS,le):Kt,Xt=v(t,"FORBID_CONTENTS")?A({},t.FORBID_CONTENTS,le):Gt,_t=v(t,"FORBID_TAGS")?A({},t.FORBID_TAGS,le):{},Rt=v(t,"FORBID_ATTR")?A({},t.FORBID_ATTR,le):{},Yt=!!v(t,"USE_PROFILES")&&t.USE_PROFILES,Ot=!1!==t.ALLOW_ARIA_ATTR,Lt=!1!==t.ALLOW_DATA_ATTR,Dt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ct=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,zt=t.SAFE_FOR_TEMPLATES||!1,Mt=!1!==t.SAFE_FOR_XML,It=t.WHOLE_DOCUMENT||!1,Ft=t.RETURN_DOM||!1,jt=t.RETURN_DOM_FRAGMENT||!1,Ut=t.RETURN_TRUSTED_TYPE||!1,Pt=t.FORCE_BODY||!1,Wt=!1!==t.SANITIZE_DOM,Bt=t.SANITIZE_NAMED_PROPS||!1,Ht=!1!==t.KEEP_CONTENT,qt=t.IN_PLACE||!1,xt=t.ALLOWED_URI_REGEXP||q,ee=t.NAMESPACE||te,Et=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ue(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Et.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ue(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Et.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Et.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),zt&&(Lt=!1),jt&&(Ft=!0),Yt&&(Tt=A({},M),At=[],!0===Yt.html&&(A(Tt,R),A(At,I)),!0===Yt.svg&&(A(Tt,O),A(At,N),A(At,F)),!0===Yt.svgFilters&&(A(Tt,L),A(At,N),A(At,F)),!0===Yt.mathMl&&(A(Tt,C),A(At,P),A(At,F))),t.ADD_TAGS&&(Tt===kt&&(Tt=E(Tt)),A(Tt,t.ADD_TAGS,le)),t.ADD_ATTR&&(At===St&&(At=E(At)),A(At,t.ADD_ATTR,le)),t.ADD_URI_SAFE_ATTR&&A(Vt,t.ADD_URI_SAFE_ATTR,le),t.FORBID_CONTENTS&&(Xt===Gt&&(Xt=E(Xt)),A(Xt,t.FORBID_CONTENTS,le)),Ht&&(Tt["#text"]=!0),It&&A(Tt,["html","head","body"]),Tt.table&&(A(Tt,["tbody"]),delete _t.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');rt=t.TRUSTED_TYPES_POLICY,at=rt.createHTML("")}else void 0===rt&&(rt=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";e&&e.hasAttribute(o)&&(n=e.getAttribute(o));const i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(H,s)),null!==rt&&"string"==typeof at&&(at=rt.createHTML(""));r&&r(t),se=t}},me=A({},["mi","mo","mn","ms","mtext"]),pe=A({},["foreignobject","annotation-xml"]),de=A({},["title","style","font","a","script"]),he=A({},[...O,...L,...D]),ge=A({},[...C,...z]),ye=function(t){m(o.removed,{element:t});try{it(t).removeChild(t)}catch(e){$(t)}},be=function(t,e){try{m(o.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){m(o.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!At[t])if(Ft||jt)try{ye(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},ve=function(t){let e=null,n=null;if(Pt)t="<remove></remove>"+t;else{const e=h(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===re&&ee===te&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const o=rt?rt.createHTML(t):t;if(ee===te)try{e=(new B).parseFromString(o,re)}catch(t){}if(!e||!e.documentElement){e=lt.createDocument(ee,"template",null);try{e.documentElement.innerHTML=ne?at:o}catch(t){}}const r=e.body||e.documentElement;return t&&n&&r.insertBefore(i.createTextNode(n),r.childNodes[0]||null),ee===te?ut.call(e,It?"html":"body")[0]:It?e.documentElement:r},we=function(t){return st.call(t.ownerDocument||t,t,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT|j.SHOW_PROCESSING_INSTRUCTION|j.SHOW_CDATA_SECTION,null)},xe=function(t){return t instanceof W&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof U)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},Te=function(t){return"function"==typeof k&&t instanceof k},ke=function(t,e,n){mt[t]&&u(mt[t],(t=>{t.call(o,e,n,se)}))},Ae=function(t){let e=null;if(ke("beforeSanitizeElements",t,null),xe(t))return ye(t),!0;const n=le(t.nodeName);if(ke("uponSanitizeElement",t,{tagName:n,allowedTags:Tt}),t.hasChildNodes()&&!Te(t.firstElementChild)&&w(/<[/\w]/g,t.innerHTML)&&w(/<[/\w]/g,t.textContent))return ye(t),!0;if(t.nodeType===Q)return ye(t),!0;if(Mt&&t.nodeType===Z&&w(/<[/\w]/g,t.data))return ye(t),!0;if(!Tt[n]||_t[n]){if(!_t[n]&&Ee(n)){if(Et.tagNameCheck instanceof RegExp&&w(Et.tagNameCheck,n))return!1;if(Et.tagNameCheck instanceof Function&&Et.tagNameCheck(n))return!1}if(Ht&&!Xt[n]){const e=it(t)||t.parentNode,n=ot(t)||t.childNodes;if(n&&e)for(let o=n.length-1;o>=0;--o){const i=X(n[o],!0);i.__removalCount=(t.__removalCount||0)+1,e.insertBefore(i,nt(t))}}return ye(t),!0}return t instanceof S&&!function(t){let e=it(t);e&&e.tagName||(e={namespaceURI:ee,tagName:"template"});const n=p(t.tagName),o=p(e.tagName);return!!oe[t.namespaceURI]&&(t.namespaceURI===Zt?e.namespaceURI===te?"svg"===n:e.namespaceURI===Qt?"svg"===n&&("annotation-xml"===o||me[o]):Boolean(he[n]):t.namespaceURI===Qt?e.namespaceURI===te?"math"===n:e.namespaceURI===Zt?"math"===n&&pe[o]:Boolean(ge[n]):t.namespaceURI===te?!(e.namespaceURI===Zt&&!pe[o])&&!(e.namespaceURI===Qt&&!me[o])&&!ge[n]&&(de[n]||!he[n]):!("application/xhtml+xml"!==re||!oe[t.namespaceURI]))}(t)?(ye(t),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!w(/<\/no(script|embed|frames)/i,t.innerHTML)?(zt&&t.nodeType===J&&(e=t.textContent,u([pt,dt,ht],(t=>{e=g(e,t," ")})),t.textContent!==e&&(m(o.removed,{element:t.cloneNode()}),t.textContent=e)),ke("afterSanitizeElements",t,null),!1):(ye(t),!0)},Se=function(t,e,n){if(Wt&&("id"===e||"name"===e)&&(n in i||n in ce))return!1;if(Lt&&!Rt[e]&&w(gt,e));else if(Ot&&w(yt,e));else if(!At[e]||Rt[e]){if(!(Ee(t)&&(Et.tagNameCheck instanceof RegExp&&w(Et.tagNameCheck,t)||Et.tagNameCheck instanceof Function&&Et.tagNameCheck(t))&&(Et.attributeNameCheck instanceof RegExp&&w(Et.attributeNameCheck,e)||Et.attributeNameCheck instanceof Function&&Et.attributeNameCheck(e))||"is"===e&&Et.allowCustomizedBuiltInElements&&(Et.tagNameCheck instanceof RegExp&&w(Et.tagNameCheck,n)||Et.tagNameCheck instanceof Function&&Et.tagNameCheck(n))))return!1}else if(Vt[e]);else if(w(xt,g(n,vt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==y(n,"data:")||!$t[t])if(Dt&&!w(bt,g(n,vt,"")));else if(n)return!1;return!0},Ee=function(t){return"annotation-xml"!==t&&h(t,wt)},_e=function(t){ke("beforeSanitizeAttributes",t,null);const{attributes:e}=t;if(!e)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:At};let i=e.length;for(;i--;){const r=e[i],{name:a,namespaceURI:l,value:s}=r,c=le(a);let m="value"===a?s:b(s);if(n.attrName=c,n.attrValue=m,n.keepAttr=!0,n.forceKeepAttr=void 0,ke("uponSanitizeAttribute",t,n),m=n.attrValue,Mt&&w(/((--!?|])>)|<\/(style|title)/i,m)){be(a,t);continue}if(n.forceKeepAttr)continue;if(be(a,t),!n.keepAttr)continue;if(!Ct&&w(/\/>/i,m)){be(a,t);continue}zt&&u([pt,dt,ht],(t=>{m=g(m,t," ")}));const p=le(t.nodeName);if(Se(p,c,m)){if(!Bt||"id"!==c&&"name"!==c||(be(a,t),m="user-content-"+m),rt&&"object"==typeof H&&"function"==typeof H.getAttributeType)if(l);else switch(H.getAttributeType(p,c)){case"TrustedHTML":m=rt.createHTML(m);break;case"TrustedScriptURL":m=rt.createScriptURL(m)}try{l?t.setAttributeNS(l,a,m):t.setAttribute(a,m),xe(t)?ye(t):f(o.removed)}catch(t){}}}ke("afterSanitizeAttributes",t,null)},Re=function t(e){let n=null;const o=we(e);for(ke("beforeSanitizeShadowDOM",e,null);n=o.nextNode();)ke("uponSanitizeShadowNode",n,null),Ae(n)||(n.content instanceof c&&t(n.content),_e(n));ke("afterSanitizeShadowDOM",e,null)};return o.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,i=null,r=null,l=null;if(ne=!t,ne&&(t="\x3c!--\x3e"),"string"!=typeof t&&!Te(t)){if("function"!=typeof t.toString)throw x("toString is not a function");if("string"!=typeof(t=t.toString()))throw x("dirty is not a string, aborting")}if(!o.isSupported)return t;if(Nt||fe(e),o.removed=[],"string"==typeof t&&(qt=!1),qt){if(t.nodeName){const e=le(t.nodeName);if(!Tt[e]||_t[e])throw x("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof k)n=ve("\x3c!----\x3e"),i=n.ownerDocument.importNode(t,!0),i.nodeType===V&&"BODY"===i.nodeName||"HTML"===i.nodeName?n=i:n.appendChild(i);else{if(!Ft&&!zt&&!It&&-1===t.indexOf("<"))return rt&&Ut?rt.createHTML(t):t;if(n=ve(t),!n)return Ft?null:Ut?at:""}n&&Pt&&ye(n.firstChild);const s=we(qt?t:n);for(;r=s.nextNode();)Ae(r)||(r.content instanceof c&&Re(r.content),_e(r));if(qt)return t;if(Ft){if(jt)for(l=ct.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(At.shadowroot||At.shadowrootmode)&&(l=ft.call(a,l,!0)),l}let f=It?n.outerHTML:n.innerHTML;return It&&Tt["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&w(G,n.ownerDocument.doctype.name)&&(f="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+f),zt&&u([pt,dt,ht],(t=>{f=g(f,t," ")})),rt&&Ut?rt.createHTML(f):f},o.setConfig=function(){fe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Nt=!0},o.clearConfig=function(){se=null,Nt=!1},o.isValidAttribute=function(t,e,n){se||fe({});const o=le(t),i=le(e);return Se(o,i,n)},o.addHook=function(t,e){"function"==typeof e&&(mt[t]=mt[t]||[],m(mt[t],e))},o.removeHook=function(t){if(mt[t])return f(mt[t])},o.removeHooks=function(t){mt[t]&&(mt[t]=[])},o.removeAllHooks=function(){mt={}},o}();return nt}();const i=o.exports,r=class{constructor(e){t(this,e),this.customContent=void 0,this.repeaterContent=void 0,this.navigateViaEvent=!1,this.postMessageEvent=""}render(){const t=i.sanitize(this.customContent,{ALLOW_UNKNOWN_PROTOCOLS:!0,ADD_ATTR:["target"]});return e("div",{key:"f57e52b273a4a0bd0f8a89a43fb115e581024ab9",class:"CustomContentSectionContainer"},e("div",{key:"b9f38e71ca3db8a09ec97b34d96d6d4541c10b7b",class:"CustomContentSectionWrapper"},e("div",{key:"f4191fdc5ded6a3d7a29bf3d268cc2060f39036c",class:"CustomContentSectionContent",innerHTML:t}),this.repeaterContent?e("image-list",{style:{width:"100%"},repeaterContent:this.repeaterContent?this.repeaterContent:null,"navigate-via-event":this.navigateViaEvent,"post-message-event":this.postMessageEvent}):""))}};r.style=".sc-custom-content-section-h{display:block}*.sc-custom-content-section{margin:0}.CustomContentSectionWrapper.sc-custom-content-section{box-sizing:border-box;height:100%;align-items:center}";export{r as custom_content_section}
@@ -0,0 +1 @@
1
+ import{r as t,h as n}from"./index-4b819858.js";const o=class{constructor(n){t(this,n),this.isLogoFromCMS=!1,this.endpoint=void 0,this.language="en",this.logoContent=null}onConfigChange(t,n){t!==n&&this.endpoint&&this.language&&this.getLogo()}getLogo(){const t=new URL(`${this.endpoint}/${this.language.toLowerCase()}/op-options/style`);return fetch(t).then((t=>t.json())).then((t=>t.logoUrl.length>0&&("null"!=t.logoUrl||"false"!=t.logoUrl)?(this.isLogoFromCMS=!0,t.logoUrl):(this.isLogoFromCMS=!1,console.error("Invalid logo URL:",t),null))).catch((t=>(console.error("Error fetching logo:",t),null)))}async connectedCallback(){if(this.endpoint&&this.language){const t=await this.getLogo();this.isLogoFromCMS&&t&&(this.logoContent=t)}}render(){return this.logoContent?n("div",{class:"HeaderBranding"},n("img",{src:this.logoContent,alt:"Logo"})):null}static get watchers(){return{endpoint:["onConfigChange"],language:["onConfigChange"]}}};o.style=".HeaderBranding.sc-footer-logo{text-align:center;width:100%;display:flex;justify-content:center;align-items:center}img.sc-footer-logo{width:10rem;height:auto}";export{o as footer_logo}