@content-blocks/js 0.7.3 → 0.7.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 (29) hide show
  1. package/dist/cjs/content-accordion_11.cjs.entry.js +8 -3
  2. package/dist/cjs/content-accordion_11.cjs.entry.js.map +1 -1
  3. package/dist/cjs/content-navigation-block.cjs.entry.js +15 -9
  4. package/dist/cjs/content-navigation-block.cjs.entry.js.map +1 -1
  5. package/dist/collection/components/content-navigation-block/content-navigation-block.js +15 -9
  6. package/dist/collection/components/content-navigation-block/content-navigation-block.js.map +1 -1
  7. package/dist/collection/components/content-overlay/content-overlay.js +1 -1
  8. package/dist/collection/components/content-overlay/content-overlay.js.map +1 -1
  9. package/dist/collection/elements/content-button/content-button.js +7 -2
  10. package/dist/collection/elements/content-button/content-button.js.map +1 -1
  11. package/dist/components/content-button.js +7 -2
  12. package/dist/components/content-button.js.map +1 -1
  13. package/dist/components/content-navigation-block.js +15 -9
  14. package/dist/components/content-navigation-block.js.map +1 -1
  15. package/dist/components/content-overlay.js +1 -1
  16. package/dist/components/content-overlay.js.map +1 -1
  17. package/dist/content-blocks/content-blocks.esm.js +1 -1
  18. package/dist/content-blocks/{p-39788531.entry.js → p-1c7435ea.entry.js} +2 -2
  19. package/dist/content-blocks/p-1c7435ea.entry.js.map +1 -0
  20. package/dist/content-blocks/p-d9e20abf.entry.js +2 -0
  21. package/dist/content-blocks/p-d9e20abf.entry.js.map +1 -0
  22. package/dist/esm/content-accordion_11.entry.js +8 -3
  23. package/dist/esm/content-accordion_11.entry.js.map +1 -1
  24. package/dist/esm/content-navigation-block.entry.js +15 -9
  25. package/dist/esm/content-navigation-block.entry.js.map +1 -1
  26. package/package.json +1 -1
  27. package/dist/content-blocks/p-0131bfdf.entry.js +0 -2
  28. package/dist/content-blocks/p-0131bfdf.entry.js.map +0 -1
  29. package/dist/content-blocks/p-39788531.entry.js.map +0 -1
@@ -22,6 +22,8 @@ const ContentNavigationBlock = class {
22
22
  this.contentSlot = undefined;
23
23
  }
24
24
  componentWillLoad() {
25
+ this.hasOpenButton = !!this.hostElement.querySelector('[slot="openButton"]');
26
+ this.hasCloseButton = !!this.hostElement.querySelector('[slot="closeButton"]');
25
27
  WindowResizeService.registerProp(this.hamburger).subscribe(newValue => {
26
28
  this.hamburger = newValue;
27
29
  this.bodyToggle = this.hamburger === 'fixed';
@@ -32,8 +34,6 @@ const ContentNavigationBlock = class {
32
34
  });
33
35
  }
34
36
  componentDidLoad() {
35
- this.hasOpenButton = !!this.hostElement.querySelector('[slot="openButton"]');
36
- this.hasCloseButton = !!this.hostElement.querySelector('content-navigation-block-close');
37
37
  this.openButton.onclick = () => {
38
38
  this.openMenu();
39
39
  };
@@ -50,25 +50,31 @@ const ContentNavigationBlock = class {
50
50
  document.body.classList.add('content-navigation-block-open');
51
51
  }
52
52
  this.focusTrap = createFocusTrap(this.contentSlot.parentElement, {
53
+ initialFocus: this.contentSlot,
53
54
  fallbackFocus: this.hostElement,
54
55
  clickOutsideDeactivates: true,
55
56
  onDeactivate: () => {
56
57
  this.closeMenu();
58
+ this.focusTrap = null;
59
+ this.ariaExpanded = 'false';
60
+ document.body.classList.remove('content-navigation-block-open');
61
+ setTimeout(() => this.openButton.focus(), 1);
57
62
  },
58
63
  });
59
- setTimeout(() => this.closeButton.focus(), 1);
64
+ this.focusTrap.activate();
60
65
  }
61
66
  closeMenu() {
62
67
  if (this.focusTrap) {
63
- this.focusTrap.deactivate();
64
- this.focusTrap = null;
68
+ try {
69
+ this.focusTrap.deactivate();
70
+ }
71
+ catch (e) {
72
+ console.log(e);
73
+ }
65
74
  }
66
- this.ariaExpanded = 'false';
67
- document.body.classList.remove('content-navigation-block-open');
68
- setTimeout(() => this.openButton.focus(), 1);
69
75
  }
70
76
  render() {
71
- return (h(Host, { class: this.classString, "aria-expanded": this.ariaExpanded }, h("div", { class: "content-navigation-block__skip-content" }, h("slot", { name: "skipContent" })), h("div", { ref: el => (this.openButton = el), class: "content-navigation__open" }, !this.hasOpenButton && (h("button", null, h("svg", { class: "default-icon", xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5" })))), h("slot", { name: "openButton" })), h("div", { class: "content-navigation__content-wrapper" }, h("div", { ref: el => (this.closeButton = el), class: "content-navigation__close" }, !this.hasCloseButton && (h("button", null, h("svg", { class: "default-icon", xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M6 18 18 6M6 6l12 12" }))))), h("div", { class: "content-navigation__content", ref: el => (this.contentSlot = el) }, h("slot", { name: "closeButton" }), h("slot", { name: "content" }), h("slot", null)))));
77
+ return (h(Host, { class: this.classString, "aria-expanded": this.ariaExpanded }, h("div", { class: "content-navigation-block__skip-content" }, h("slot", { name: "skipContent" })), h("div", { ref: el => (this.openButton = el), class: "content-navigation__open" }, !this.hasOpenButton && (h("button", null, h("svg", { class: "default-icon", xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5" })))), h("slot", { name: "openButton" })), h("div", { class: "content-navigation__content-wrapper" }, h("div", { ref: el => (this.closeButton = el), class: "content-navigation__close" }, !this.hasCloseButton && (h("button", null, h("svg", { class: "default-icon", xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M6 18 18 6M6 6l12 12" })))), h("slot", { name: "closeButton" })), h("div", { class: "content-navigation__content", ref: el => (this.contentSlot = el) }, h("slot", { name: "content" }), h("slot", null)))));
72
78
  }
73
79
  get hostElement() { return getElement(this); }
74
80
  };
@@ -1 +1 @@
1
- {"file":"content-navigation-block.entry.js","mappings":";;;;;;AAAA,MAAM,yBAAyB,GAAG,+kGAA+kG;;MCiBpmG,sBAAsB;;;yBAcH,YAAY;;;4BAaV,OAAO;0BACR,KAAK;;6BAGF,KAAK;8BACJ,KAAK;;;;;IAMxC,iBAAiB;QACf,mBAAmB,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,QAAQ;YACjE,IAAI,CAAC,SAAS,GAAG,QAAkB,CAAC;YACpC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,SAAS,KAAK,OAAO,CAAC;YAC7C,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,+BAA+B,CAAC,CAAC;SACjE,CAAC,CAAC;QACH,mBAAmB,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ;YAC/D,IAAI,CAAC,WAAW,GAAG,QAAkB,CAAC;SACvC,CAAC,CAAC;KACJ;IAED,gBAAgB;QACd,IAAI,CAAC,aAAa,GAAG,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAAC;QAC7E,IAAI,CAAC,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,gCAAgC,CAAC,CAAC;QACzF,IAAI,CAAC,UAAU,CAAC,OAAO,GAAG;YACxB,IAAI,CAAC,QAAQ,EAAE,CAAC;SACjB,CAAC;QACF,IAAI,CAAC,WAAW,CAAC,OAAO,GAAG;YACzB,IAAI,CAAC,SAAS,EAAE,CAAC;SAClB,CAAC;KACH;IAED,QAAQ;QACN,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY,KAAK,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;QACpE,IAAI,IAAI,CAAC,YAAY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AAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAC,WAAW,kBAAc,KAAK,EAAC,MAAM,EAAC,cAAc,IACnI,8BAAqB,OAAO,qBAAiB,OAAO,EAAC,CAAC,EAAC,8CAA8C,GAAG,CACpG,CACC,CACV,EACD,YAAM,IAAI,EAAC,YAAY,GAAQ,CAC3B,EACN,WAAK,KAAK,EAAC,qCAAqC,IAC9C,WAAK,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC,EAAE,KAAK,EAAC,2BAA2B,IACvE,CAAC,IAAI,CAAC,cAAc,KACnB,kBACE,WAAK,KAAK,EAAC,cAAc,EAAC,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAC,WAAW,kBAAc,KAAK,EAAC,MAAM,EAAC,cAAc,IACnI,8BAAqB,OAAO,qBAAiB,OAAO,EAAC,CAAC,EAAC,sBAAsB,GAAG,CAC5E,CACC,CACV,CACG,EACN,WAAK,KAAK,EAAC,6BAA6B,EAAC,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC,IACzE,YAAM,IAAI,EAAC,aAAa,GAAQ,EAChC,YAAM,IAAI,EAAC,SAAS,GAAQ,EAC5B,eAAa,CACT,CACF,CACD,EACP;KACH;;;;;;;","names":[],"sources":["src/components/content-navigation-block/content-navigation-block.scss?tag=content-navigation-block","src/components/content-navigation-block/content-navigation-block.tsx"],"sourcesContent":["body.content-navigation-block-open {\n overflow: hidden;\n}\ncontent-navigation-block {\n button {\n appearance: none;\n border: none;\n background: transparent;\n cursor: pointer;\n }\n \n .content-navigation-block__skip-content a, .content-navigation-block__skip-content button, .content-navigation-block__skip-content a:visited, .content-navigation-block__skip-content button:visited{\n border: 2px solid rgba(0,0,0, 1);\n border-radius: 2px;\n color: purple;\n cursor: pointer;\n display: inline-block;\n font-size: 14px;\n line-height: 20px;\n margin: 6px 11px;\n min-height: 32px;\n text-decoration: underline;\n text-align: center;\n width: 106px;\n z-index: 1000;\n }\n .content-navigation-block__skip-content:not(:focus-within) {\n position: absolute;\n // z-index: -1;\n\n clip: rect(1px,1px,1px,1px);\n overflow: hidden;\n padding: 0;\n }\n\n svg.default-icon {\n display: inline-block;\n width: 32px;\n }\n &[hamburger=\"fixed\"],\n &[hamburger=\"absolute\"],\n &[hamburger=\"static\"] {\n display: inline-block;\n &[aria-expanded=\"false\"] {\n .content-navigation__close {\n display: none;\n }\n }\n .content-navigation__open,\n .content-navigation__close {\n cursor: pointer;\n }\n \n .content-navigation__content-wrapper {\n display: none;\n &[hidden=\"false\"] {\n display: block;\n }\n }\n }\n\n &[hamburger=\"fixed\"] {\n .content-navigation__content-wrapper {\n position: fixed;\n left: 0;\n top: 0;\n width: 100vw;\n height: 100vh;\n z-index: 100;\n }\n }\n &[hamburger=\"sticky\"] {\n .content-navigation__content-wrapper {\n position: sticky;\n left: 0;\n top: 0;\n width: 100vw;\n height: 100vh;\n z-index: 100;\n }\n }\n &[hamburger=\"absolute\"] {\n .content-navigation__content-wrapper {\n position: absolute;\n z-index: 100;\n }\n }\n &[hamburger=\"static\"] {\n .content-navigation__content-wrapper {\n position: static;\n }\n }\n \n &[hamburger=\"none\"] {\n display: block;\n .content-navigation__open,\n .content-navigation__close {\n display: none;\n }\n }\n\n &[aria-expanded=\"true\"] {\n .content-navigation__content-wrapper {\n display: block;\n }\n }\n}","import { Component, Prop, Host, h, State, Element } from '@stencil/core';\nimport { HTMLStencilElement } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveString } from '../../typings';\nimport { createFocusTrap } from 'focus-trap';\n\n/**\n * @slot openButton - This slot will expand the navigation when clicked.\n * @slot closeButton - This slot will close the navigation when clicked.\n * @slot skipContent - This slot is a keyboard-focus link that lets a screen-reader or keyboard user skip the navigation block and scroll to the end.\n * @slot content - Default slot\n */\n@Component({\n tag: 'content-navigation-block',\n styleUrl: 'content-navigation-block.scss',\n shadow: false,\n})\nexport class ContentNavigationBlock {\n /**\n * @type Select\n * @responsive\n * @options fixed\n * @options absolute\n * @options sticky\n * @options static\n * @options none\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n hamburger: ResponsiveString = 'fixed|none';\n\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n classes: ResponsiveString;\n @State() classString;\n @Element() hostElement: HTMLStencilElement;\n @State() ariaExpanded: string = 'false';\n @State() bodyToggle: boolean = false;\n @State() skipAccessibilityMessage: HTMLElement;\n\n @State() hasOpenButton: boolean = false;\n @State() hasCloseButton: boolean = false;\n\n @State() openButton: HTMLElement;\n @State() closeButton: HTMLElement;\n @State() contentSlot: HTMLElement;\n focusTrap;\n componentWillLoad() {\n WindowResizeService.registerProp(this.hamburger).subscribe(newValue => {\n this.hamburger = newValue as string;\n this.bodyToggle = this.hamburger === 'fixed';\n document.body.classList.remove('content-navigation-block-open');\n });\n WindowResizeService.registerProp(this.classes).subscribe(newValue => {\n this.classString = newValue as string;\n });\n }\n\n componentDidLoad() {\n this.hasOpenButton = !!this.hostElement.querySelector('[slot=\"openButton\"]');\n this.hasCloseButton = !!this.hostElement.querySelector('content-navigation-block-close');\n this.openButton.onclick = () => {\n this.openMenu();\n };\n this.closeButton.onclick = () => {\n this.closeMenu();\n };\n }\n\n openMenu() {\n this.ariaExpanded = this.ariaExpanded === 'true' ? 'false' : 'true';\n if (this.ariaExpanded === 'false') {\n document.body.classList.remove('content-navigation-block-open');\n } else if (this.bodyToggle) {\n document.body.classList.add('content-navigation-block-open');\n }\n this.focusTrap = createFocusTrap(this.contentSlot.parentElement, {\n fallbackFocus: this.hostElement,\n clickOutsideDeactivates: true,\n onDeactivate: () => {\n this.closeMenu();\n },\n });\n\n setTimeout(() => this.closeButton.focus(), 1);\n }\n closeMenu() {\n if (this.focusTrap) {\n this.focusTrap.deactivate();\n this.focusTrap = null;\n }\n this.ariaExpanded = 'false';\n document.body.classList.remove('content-navigation-block-open');\n setTimeout(() => this.openButton.focus(), 1);\n }\n\n render() {\n return (\n <Host class={this.classString} aria-expanded={this.ariaExpanded}>\n <div class=\"content-navigation-block__skip-content\">\n <slot name=\"skipContent\"></slot>\n </div>\n <div ref={el => (this.openButton = el)} class=\"content-navigation__open\">\n {!this.hasOpenButton && (\n <button>\n <svg class=\"default-icon\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5\" />\n </svg>\n </button>\n )}\n <slot name=\"openButton\"></slot>\n </div>\n <div class=\"content-navigation__content-wrapper\">\n <div ref={el => (this.closeButton = el)} class=\"content-navigation__close\">\n {!this.hasCloseButton && (\n <button>\n <svg class=\"default-icon\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M6 18 18 6M6 6l12 12\" />\n </svg>\n </button>\n )}\n </div>\n <div class=\"content-navigation__content\" ref={el => (this.contentSlot = el)}>\n <slot name=\"closeButton\"></slot>\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"content-navigation-block.entry.js","mappings":";;;;;;AAAA,MAAM,yBAAyB,GAAG,+kGAA+kG;;MCiBpmG,sBAAsB;;;yBAcH,YAAY;;;4BAaV,OAAO;0BACR,KAAK;;6BAGF,KAAK;8BACJ,KAAK;;;;;IAMxC,iBAAiB;QACf,IAAI,CAAC,aAAa,GAAG,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAAC;QAC7E,IAAI,CAAC,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,CA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KAAK,EAAC,2BAA2B,IACvE,CAAC,IAAI,CAAC,cAAc,KACnB,kBACE,WAAK,KAAK,EAAC,cAAc,EAAC,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAC,WAAW,kBAAc,KAAK,EAAC,MAAM,EAAC,cAAc,IACnI,8BAAqB,OAAO,qBAAiB,OAAO,EAAC,CAAC,EAAC,sBAAsB,GAAG,CAC5E,CACC,CACV,EACD,YAAM,IAAI,EAAC,aAAa,GAAQ,CAC5B,EACN,WAAK,KAAK,EAAC,6BAA6B,EAAC,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC,IACzE,YAAM,IAAI,EAAC,SAAS,GAAQ,EAC5B,eAAa,CACT,CACF,CACD,EACP;KACH;;;;;;;","names":[],"sources":["src/components/content-navigation-block/content-navigation-block.scss?tag=content-navigation-block","src/components/content-navigation-block/content-navigation-block.tsx"],"sourcesContent":["body.content-navigation-block-open {\n overflow: hidden;\n}\ncontent-navigation-block {\n button {\n appearance: none;\n border: none;\n background: transparent;\n cursor: pointer;\n }\n \n .content-navigation-block__skip-content a, .content-navigation-block__skip-content button, .content-navigation-block__skip-content a:visited, .content-navigation-block__skip-content button:visited{\n border: 2px solid rgba(0,0,0, 1);\n border-radius: 2px;\n color: purple;\n cursor: pointer;\n display: inline-block;\n font-size: 14px;\n line-height: 20px;\n margin: 6px 11px;\n min-height: 32px;\n text-decoration: underline;\n text-align: center;\n width: 106px;\n z-index: 1000;\n }\n .content-navigation-block__skip-content:not(:focus-within) {\n position: absolute;\n // z-index: -1;\n\n clip: rect(1px,1px,1px,1px);\n overflow: hidden;\n padding: 0;\n }\n\n svg.default-icon {\n display: inline-block;\n width: 32px;\n }\n &[hamburger=\"fixed\"],\n &[hamburger=\"absolute\"],\n &[hamburger=\"static\"] {\n display: inline-block;\n &[aria-expanded=\"false\"] {\n .content-navigation__close {\n display: none;\n }\n }\n .content-navigation__open,\n .content-navigation__close {\n cursor: pointer;\n }\n \n .content-navigation__content-wrapper {\n display: none;\n &[hidden=\"false\"] {\n display: block;\n }\n }\n }\n\n &[hamburger=\"fixed\"] {\n .content-navigation__content-wrapper {\n position: fixed;\n left: 0;\n top: 0;\n width: 100vw;\n height: 100vh;\n z-index: 100;\n }\n }\n &[hamburger=\"sticky\"] {\n .content-navigation__content-wrapper {\n position: sticky;\n left: 0;\n top: 0;\n width: 100vw;\n height: 100vh;\n z-index: 100;\n }\n }\n &[hamburger=\"absolute\"] {\n .content-navigation__content-wrapper {\n position: absolute;\n z-index: 100;\n }\n }\n &[hamburger=\"static\"] {\n .content-navigation__content-wrapper {\n position: static;\n }\n }\n \n &[hamburger=\"none\"] {\n display: block;\n .content-navigation__open,\n .content-navigation__close {\n display: none;\n }\n }\n\n &[aria-expanded=\"true\"] {\n .content-navigation__content-wrapper {\n display: block;\n }\n }\n}","import { Component, Prop, Host, h, State, Element } from '@stencil/core';\nimport { HTMLStencilElement } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveString } from '../../typings';\nimport { createFocusTrap } from 'focus-trap';\n\n/**\n * @slot openButton - This slot will expand the navigation when clicked.\n * @slot closeButton - This slot will close the navigation when clicked.\n * @slot skipContent - This slot is a keyboard-focus link that lets a screen-reader or keyboard user skip the navigation block and scroll to the end.\n * @slot content - Default slot\n */\n@Component({\n tag: 'content-navigation-block',\n styleUrl: 'content-navigation-block.scss',\n shadow: false,\n})\nexport class ContentNavigationBlock {\n /**\n * @type Select\n * @responsive\n * @options fixed\n * @options absolute\n * @options sticky\n * @options static\n * @options none\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n hamburger: ResponsiveString = 'fixed|none';\n\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n classes: ResponsiveString;\n @State() classString;\n @Element() hostElement: HTMLStencilElement;\n @State() ariaExpanded: string = 'false';\n @State() bodyToggle: boolean = false;\n @State() skipAccessibilityMessage: HTMLElement;\n\n @State() hasOpenButton: boolean = false;\n @State() hasCloseButton: boolean = false;\n\n @State() openButton: HTMLElement;\n @State() closeButton: HTMLElement;\n @State() contentSlot: HTMLElement;\n focusTrap;\n componentWillLoad() {\n this.hasOpenButton = !!this.hostElement.querySelector('[slot=\"openButton\"]');\n this.hasCloseButton = !!this.hostElement.querySelector('[slot=\"closeButton\"]');\n WindowResizeService.registerProp(this.hamburger).subscribe(newValue => {\n this.hamburger = newValue as string;\n this.bodyToggle = this.hamburger === 'fixed';\n document.body.classList.remove('content-navigation-block-open');\n });\n WindowResizeService.registerProp(this.classes).subscribe(newValue => {\n this.classString = newValue as string;\n });\n }\n\n componentDidLoad() {\n this.openButton.onclick = () => {\n this.openMenu();\n };\n this.closeButton.onclick = () => {\n this.closeMenu();\n };\n }\n\n openMenu() {\n this.ariaExpanded = this.ariaExpanded === 'true' ? 'false' : 'true';\n if (this.ariaExpanded === 'false') {\n document.body.classList.remove('content-navigation-block-open');\n } else if (this.bodyToggle) {\n document.body.classList.add('content-navigation-block-open');\n }\n this.focusTrap = createFocusTrap(this.contentSlot.parentElement, {\n initialFocus: this.contentSlot,\n fallbackFocus: this.hostElement,\n clickOutsideDeactivates: true,\n onDeactivate: () => {\n this.closeMenu();\n this.focusTrap = null;\n this.ariaExpanded = 'false';\n document.body.classList.remove('content-navigation-block-open');\n setTimeout(() => this.openButton.focus(), 1);\n },\n });\n\n this.focusTrap.activate();\n }\n closeMenu() {\n if (this.focusTrap) {\n try {\n this.focusTrap.deactivate();\n } catch (e) {\n console.log(e);\n }\n }\n }\n\n render() {\n return (\n <Host class={this.classString} aria-expanded={this.ariaExpanded}>\n <div class=\"content-navigation-block__skip-content\">\n <slot name=\"skipContent\"></slot>\n </div>\n <div ref={el => (this.openButton = el)} class=\"content-navigation__open\">\n {!this.hasOpenButton && (\n <button>\n <svg class=\"default-icon\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5\" />\n </svg>\n </button>\n )}\n <slot name=\"openButton\"></slot>\n </div>\n <div class=\"content-navigation__content-wrapper\">\n <div ref={el => (this.closeButton = el)} class=\"content-navigation__close\">\n {!this.hasCloseButton && (\n <button>\n <svg class=\"default-icon\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M6 18 18 6M6 6l12 12\" />\n </svg>\n </button>\n )}\n <slot name=\"closeButton\"></slot>\n </div>\n <div class=\"content-navigation__content\" ref={el => (this.contentSlot = el)}>\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@content-blocks/js",
3
- "version": "0.7.3",
3
+ "version": "0.7.5",
4
4
  "description": "https://contentblocksjs.com/",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,2 +0,0 @@
1
- import{r as e,h as t,H as o,g as i,c as s}from"./p-288eace9.js";import{W as n}from"./p-3fe594af.js";import{g as l}from"./p-cc7397cf.js";import{c as r}from"./p-878dc806.js";import"./p-cd552ce2.js";const a="*{box-sizing:border-box}content-accordion{display:block}content-accordion>button{display:block;width:100%;padding:0;border:none;font:inherit;color:inherit;background-color:transparent;cursor:pointer}content-accordion[expanded]>.content-accordion__reveal{display:block}content-accordion>.content-accordion__reveal{display:none}";const v=class{constructor(t){e(this,t);this.revealElement=undefined;this.open="false";this.animationStart="animation-start";this.animationEnd="animation-end";this.animationTime=0;this.isOpen=false;this.randomID="";this.classString=""}handleClickEvent(e){this.animateAccordion(!this.isOpen)}animateAccordion(e,t=this.animationTime){if(this.timeoutHolder){clearTimeout(this.timeoutHolder)}if(e){this.isOpen=true;this.timeoutHolder=setTimeout((()=>{this.hostElement.classList.add(this.animationStart)}),0)}else{this.hostElement.classList.add(this.animationEnd);this.timeoutHolder=setTimeout((()=>{this.hostElement.classList.remove(this.animationStart,this.animationEnd);this.isOpen=false}),t)}}componentWillLoad(){this.revealElement=this.hostElement.querySelector(".js-content-accordion-reveal");if(this.hostElement.id){this.randomID=`${this.hostElement.tagName}_${this.hostElement.id}`}else{this.randomID=`${this.hostElement.tagName}_${Math.floor(Math.random()*document.querySelectorAll(this.hostElement.tagName).length)}`}n.registerProp(this.open).subscribe((e=>{this.isOpen=e==="true";if(this.isOpen){this.animateAccordion(true)}}))}render(){return t(o,{class:this.classString,expanded:this.isOpen},t("button",{onClick:e=>this.handleClickEvent(e),"aria-expanded":this.isOpen,"aria-controls":this.randomID},t("slot",{name:"trigger"})),t("div",{id:this.randomID,class:"js-content-accordion-reveal content-accordion__reveal"},t("slot",{name:"content"}),t("slot",null)))}get hostElement(){return i(this)}};v.style=a;const c="*{box-sizing:border-box}content-button{display:inline-block}content-button>a,content-button>button{display:flex;width:100%;align-items:center;justify-content:center}content-button>button{appearance:none;background:inherit;cursor:pointer}content-button[clickable-block=true]{display:block;width:100%;height:100%}content-button[clickable-block=true]>a,content-button[clickable-block=true]>button{height:100%;width:100%}content-button[clickable-block=true]>a>*,content-button[clickable-block=true]>button>*{display:block;width:100%}content-button[clickable-block=true] .content-button__clickable-content{width:100%;height:100%}";const d=class{constructor(t){e(this,t);this.href=undefined;this.target=undefined;this.classes="";this.classString="";this.clickableBlock=false;this.expanded=undefined;this.controls=undefined;this.linkLabel=undefined;this.linkClass=undefined;this.hasContentToActivate=undefined}componentWillLoad(){this.activatedContent=this.hostElement.querySelector('[slot="activatedContent"]');this.hasContentToActivate=!!this.activatedContent;if(!this.href||this.href==="#"){this.href="javascript:void(0);"}n.registerProp(this.linkClass).subscribe((e=>{this.linkClass=e}));n.registerProp(this.classes).subscribe((e=>{this.classString=e}))}onHandleClickEvent(e){if(this.hasContentToActivate){e.preventDefault();this.activatedContent.dispatchEvent(new CustomEvent("open",{detail:this.activatedContent}));this.activatedContent.scrollIntoView({behavior:"smooth"})}else if(this.href&&this.href.length>1&&this.href.substring(0,1)==="#"){let t=document.getElementById(this.href.substring(1));if(t){e.preventDefault();t.dispatchEvent(new CustomEvent("open",{detail:t}));t.scrollIntoView({behavior:"smooth"})}}}render(){return t(o,{class:this.classString},t("a",{"aria-label":this.linkLabel,class:this.linkClass,role:this.href==="javascript:void(0);"?"button":"",onClick:e=>this.onHandleClickEvent(e),"aria-expanded":this.expanded,"aria-controls":this.controls,href:this.href,target:this.target},!this.clickableBlock?t("span",null,t("slot",{name:"content"}),t("slot",null)):t("div",{class:"content-button__clickable-content"},t("slot",{name:"content"}),t("slot",null))),t("slot",{name:"activatedContent"}))}get hostElement(){return i(this)}};d.style=c;const j="*{box-sizing:border-box}content-grid-formatter{width:100%;overflow:auto;align-items:var(--align-items, flex-start);justify-content:var(--justify-content);grid-template-columns:repeat(var(--columns), 1fr);column-gap:var(--column-gap, 0);row-gap:var(--row-gap, 0)}content-grid-formatter *{box-sizing:border-box}content-grid-formatter[type=grid]{display:grid}content-grid-formatter[type=flex]{display:flex;flex-wrap:wrap}content-grid-formatter[type=flex]>*{overflow:auto;flex:0 0 auto;width:calc(100% / var(--columns))}content-grid-formatter>[flex-shrink=true]{width:auto;flex-shrink:1}content-grid-formatter[flex-shrink=true]>*{flex-shrink:1}content-grid-formatter[flex-grow=true]>*{flex-grow:1}content-grid-formatter>[flex-grow=true]{width:auto;flex-grow:1}";const h=class{constructor(t){e(this,t);this.classes=undefined;this.classString=undefined;this.type="flex";this.flexGrow="false";this.flexShrink="false";this.vertical="space-between";this.horizontal="space-between";this.columns="1";this.columnGap="0";this.rowGap="0";this.activeClassString=undefined;this.inlineStyle={}}componentWillLoad(){return Promise.allSettled([n.registerProp(this.type).subscribe((e=>this.type=e)),n.registerProp(this.vertical).subscribe((e=>{this.vertical=e;this.inlineStyle=Object.assign(Object.assign({},this.inlineStyle),{"--align-items":this.vertical})})),n.registerProp(this.horizontal).subscribe((e=>{this.horizontal=e;this.inlineStyle=Object.assign(Object.assign({},this.inlineStyle),{"--justify-content":this.horizontal})})),n.registerProp(this.flexShrink).subscribe((e=>this.flexShrink=e)),n.registerProp(this.flexGrow).subscribe((e=>this.flexGrow=e)),n.registerProp(this.columns).subscribe((e=>{this.columns=e;this.inlineStyle=Object.assign(Object.assign({},this.inlineStyle),{"--columns":e})})),n.registerProp(this.columnGap).subscribe((e=>{this.columnGap=e;this.inlineStyle=Object.assign(Object.assign({},this.inlineStyle),{"--column-gap":e})})),n.registerProp(this.rowGap).subscribe((e=>{this.rowGap=e;this.inlineStyle=Object.assign(Object.assign({},this.inlineStyle),{"--row-gap":e})})),n.registerProp(this.classes).subscribe((e=>this.classString=e))])}render(){return t(o,{class:this.classString,style:this.inlineStyle},t("slot",null))}get hostElement(){return i(this)}};h.style=j;const u="*{box-sizing:border-box}content-hero-block{position:relative}content-hero-block[content-position=above]{display:grid;grid-template-columns:1fr}content-hero-block[content-position=above] .content-hero-block__background,content-hero-block[content-position=above] .content-hero-block__content{grid-row-start:1;grid-column-start:1}content-hero-block[content-position=above] .content-hero-block__background{height:100%;overflow:hidden}content-hero-block[content-position=above] .content-hero-block__background content-image,content-hero-block[content-position=above] .content-hero-block__background content-image picture,content-hero-block[content-position=above] .content-hero-block__background content-image img,content-hero-block[content-position=above] .content-hero-block__background content-image video{height:100%}content-hero-block[content-position=above] .content-hero-block__content{display:flex;top:0;left:0;width:100%;height:100%;grid-row-start:1;grid-column-start:1}content-hero-block[content-position=above] .content-hero-block__content>*{width:100%}content-hero-block[content-position=above] .content-hero-block__content{position:relative;z-index:1}content-hero-block[content-position=below]{display:block}";const f=class{constructor(t){e(this,t);this.hasBackground=false;this.contentPosition="below|above";this.classes=undefined;this.classString=undefined;this.revealHiddenContent=false}componentWillLoad(){this.hasBackground=!!this.hostElement.querySelector('[slot="background"]');this.hasHiddenContent=!!this.hostElement.querySelector('[slot="activatedContent"]');n.registerProp(this.contentPosition).subscribe((e=>this.contentPosition=e));n.registerProp(this.classes).subscribe((e=>this.classString=e))}contentBlockActivationHandler(e){if(this.hostElement===e.detail){this.hostElement.setAttribute("activated","true")}}render(){return t(o,{class:this.classString},this.hasBackground&&t("div",{class:"content-hero-block__background"},t("slot",{name:"background"})),t("div",{class:"content-hero-block__content"},t("slot",{name:"content"}),t("slot",null)))}get hostElement(){return i(this)}};f.style=u;const m="*{box-sizing:border-box}content-image{display:block;height:auto;transition:opacity 0.3s;position:relative}content-image.content-image-loading{opacity:0}content-image.content-image-loaded{opacity:1}content-image[aspect-ratio] img,content-image[aspect-ratio] picture,content-image[aspect-ratio] video{aspect-ratio:var(--aspect-ratio);object-fit:cover}content-image img,content-image picture,content-image video{display:block;width:100%;height:100%}content-image .content-image__media-content{display:none;position:absolute;width:100%;height:100%;top:0;left:0;align-items:center;justify-content:center;overflow:hidden}content-image .content-image__media-content [slot=mediaContent]{height:100%;width:100%}content-image[content=true] .content-image__media-content{display:flex}";const p=class{constructor(t){e(this,t);this.classes=undefined;this.lazyLoad=true;this.src=undefined;this.activeSrc=undefined;this.alt=undefined;this.width="16";this.height="9";this.aspectRatio=undefined;this.type="image";this.videoType="video/mp4";this.showContent="false|true";this.lazyLoadIsComplete=false;this.showVideoAsGif=false;this.activeLazyLoadClass="";this.classString="";this.inlineStyle={};this.hasMediaContent=false;this.pictureImageSrc=undefined}preloadImage(e){return new Promise((t=>{const o=new Image;o.onload=t;o.onerror=t;o.src=e}))}componentWillLoad(){this.hasMediaContent=!!this.hostElement.querySelector('[slot="mediaContent"]');n.registerProp(this.aspectRatio).subscribe((e=>{this.inlineStyle=Object.assign(Object.assign({},this.inlineStyle),{"--aspect-ratio":`${e}`})}));n.registerProp(this.alt).subscribe((e=>{this.alt=e}));n.registerProp(this.height).subscribe((e=>{this.height=e}));n.registerProp(this.showContent).subscribe((e=>{this.showContent=e}));n.registerProp(this.classes).subscribe((e=>{this.classString=`${e}`}))}componentDidLoad(){let e=new IntersectionObserver((e=>{e.forEach((async e=>{if(e.isIntersecting){this.lazyLoadIsComplete=true;this.pictureImageSrc=l(this.src);this.showVideoAsGif=this.pictureImageSrc.indexOf(".mp4")>=0||l(this.type)==="video"}}))}),{root:null,rootMargin:`${Math.max(100,window.innerHeight*1)}px`,threshold:0});e.observe(this.hostElement)}watchLazyLoadIsComplete(e){if(e===true){this.activeLazyLoadClass="content-image-loaded"}else{if(!this.lazyLoad){this.activeLazyLoadClass="content-image-no-lazyload"}else{this.activeLazyLoadClass="content-image-loading"}}}render(){return t(o,{class:`${this.activeLazyLoadClass} ${this.classString}`,style:this.inlineStyle,content:this.showContent},this.hasMediaContent&&t("div",{class:"content-image__media-content"},t("slot",{name:"mediaContent"})),this.showVideoAsGif&&t("video",{autoplay:true,muted:true,loop:true,preload:"none",playsinline:true,width:this.width,height:this.height},t("source",{src:this.lazyLoadIsComplete?this.pictureImageSrc:null,type:this.videoType})),this.pictureImageSrc&&!this.showVideoAsGif&&t("img",{width:this.width,height:this.height,src:this.pictureImageSrc,alt:this.alt}))}get hostElement(){return i(this)}static get watchers(){return{lazyLoadIsComplete:["watchLazyLoadIsComplete"]}}};p.style=m;const b="*{box-sizing:border-box}content-line{--text-align:default;--inner-max-width:100%;display:block;text-align:var(--text-align);word-break:break-word;white-space:normal}content-line .content-line__inner{display:inline-block;width:auto;max-width:var(--max-width)}";const g=class{constructor(t){e(this,t);this.tag="div";this.textAlign="default";this.classes=undefined;this.classString=undefined;this.maxWidth="100%";this.inlineStyle={}}componentWillLoad(){n.registerProp(this.textAlign).subscribe((e=>{this.inlineStyle=Object.assign(Object.assign({},this.inlineStyle),{"--text-align":e})}));n.registerProp(this.maxWidth).subscribe((e=>{this.inlineStyle=Object.assign(Object.assign({},this.inlineStyle),{"--max-width":isNaN(e)?e:e+"%"})}));n.registerProp(this.classes).subscribe((e=>{this.classString=e}))}render(){const e=`${this.tag}`;return t(o,{class:this.classString,style:this.inlineStyle},t(e,{class:"content-line__inner"},t("slot",{name:"content"}),t("slot",null)))}};g.style=b;var y=y||{};y.Utils=y.Utils||{};y.Utils.matches=function(e,t){return e.matches(t)};y.Utils.remove=function(e){if(e.remove&&typeof e.remove==="function"){return e.remove()}if(e.parentNode&&e.parentNode.removeChild&&typeof e.parentNode.removeChild==="function"){return e.parentNode.removeChild(e)}return false};y.Utils.isFocusable=function(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null){return true}if(e.disabled){return false}switch(e.nodeName){case"A":return!!e.href&&e.rel!="ignore";case"INPUT":return e.type!="hidden"&&e.type!="file";case"BUTTON":case"SELECT":case"TEXTAREA":return true;default:return false}};y.Utils.getAncestorBySelector=function(e,t){if(!y.Utils.matches(e,t+" "+e.tagName)){return null}var o=e;var i=null;while(i===null){if(y.Utils.matches(o.parentNode,t)){i=o.parentNode}else{o=o.parentNode}}return i};y.Utils.hasClass=function(e,t){return new RegExp("(\\s|^)"+t+"(\\s|$)").test(e.className)};y.Utils.addClass=function(e,t){if(!y.Utils.hasClass(e,t)){e.className+=" "+t}};y.Utils.removeClass=function(e,t){var o=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(o," ").trim()};y.Utils.bindMethods=function(e){var t=Array.prototype.slice.call(arguments,1);t.forEach((function(t){e[t]=e[t].bind(e)}))};window.aria=y;var x=x||{};x.Utils=x.Utils||{};x.Utils.matches=function(e,t){return e.matches(t)};x.Utils.remove=function(e){if(e.remove&&typeof e.remove==="function"){return e.remove()}if(e.parentNode&&e.parentNode.removeChild&&typeof e.parentNode.removeChild==="function"){return e.parentNode.removeChild(e)}return false};x.Utils.isFocusable=function(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null){return true}if(e.disabled){return false}switch(e.nodeName){case"A":return!!e.href&&e.rel!="ignore";case"INPUT":return e.type!="hidden"&&e.type!="file";case"BUTTON":case"SELECT":case"TEXTAREA":return true;default:return false}};x.Utils.getAncestorBySelector=function(e,t){if(!x.Utils.matches(e,t+" "+e.tagName)){return null}var o=e;var i=null;while(i===null){if(x.Utils.matches(o.parentNode,t)){i=o.parentNode}else{o=o.parentNode}}return i};x.Utils.hasClass=function(e,t){return new RegExp("(\\s|^)"+t+"(\\s|$)").test(e.className)};x.Utils.addClass=function(e,t){if(!x.Utils.hasClass(e,t)){e.className+=" "+t}};x.Utils.removeClass=function(e,t){var o=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(o," ").trim()};x.Utils.bindMethods=function(e){var t=Array.prototype.slice.call(arguments,1);t.forEach((function(t){e[t]=e[t].bind(e)}))};x.Utils.IgnoreUtilFocusChanges=false;x.Utils.dialogOpenClass="has-dialog";x.Utils.focusFirstDescendant=function(e){for(var t=0;t<e.childNodes.length;t++){var o=e.childNodes[t];if(x.Utils.attemptFocus(o)||x.Utils.focusFirstDescendant(o)){return true}}return false};x.Utils.focusLastDescendant=function(e){for(var t=e.childNodes.length-1;t>=0;t--){var o=e.childNodes[t];if(x.Utils.attemptFocus(o)||x.Utils.focusLastDescendant(o)){return true}}return false};x.Utils.attemptFocus=function(e){if(!x.Utils.isFocusable(e)){return false}x.Utils.IgnoreUtilFocusChanges=true;try{e.focus()}catch(e){}x.Utils.IgnoreUtilFocusChanges=false;return document.activeElement===e};x.OpenDialogList=x.OpenDialogList||new Array(0);x.getCurrentDialog=function(){if(x.OpenDialogList&&x.OpenDialogList.length){return x.OpenDialogList[x.OpenDialogList.length-1]}};x.closeCurrentDialog=function(){var e=x.getCurrentDialog();if(e){e.close();return true}return false};x.handleEscape=function(e){if(e.key==="Escape"&&x.closeCurrentDialog()){e.stopPropagation()}};document.addEventListener("keyup",x.handleEscape);x.Dialog=function(e,t,o,i){this.dialogNode=e;if(this.dialogNode===null){throw new Error("No element found")}var s=["dialog","alertdialog"];var n=(this.dialogNode.getAttribute("role")||"").trim().split(/\s+/g).some((function(e){return s.some((function(t){return e===t}))}));if(!n){throw new Error("Dialog() requires a DOM element with ARIA role of dialog or alertdialog.")}var l="content-overlay-background";if(this.dialogNode.parentNode.classList.contains(l)){this.backdropNode=this.dialogNode.parentNode}else{this.backdropNode=document.createElement("div");this.backdropNode.className=l;this.dialogNode.parentNode.insertBefore(this.backdropNode,this.dialogNode);this.backdropNode.appendChild(this.dialogNode)}this.backdropNode.classList.add("active");setTimeout((()=>{this.backdropNode.classList.add("transition")}),1);this.isFullscreen=i;if(i){document.body.classList.add(x.Utils.dialogOpenClass)}if(typeof t==="string"){this.focusAfterClosed=document.getElementById(t)}else if(typeof t==="object"){this.focusAfterClosed=t}else{throw new Error("the focusAfterClosed parameter is required for the aria.Dialog constructor.")}if(typeof o==="string"){this.focusFirst=document.getElementById(o)}else if(typeof o==="object"){this.focusFirst=o}else{this.focusFirst=null}var r=document.createElement("div");this.preNode=this.dialogNode.parentNode.insertBefore(r,this.dialogNode);this.preNode.tabIndex=0;var a=document.createElement("div");this.postNode=this.dialogNode.parentNode.insertBefore(a,this.dialogNode.nextSibling);this.postNode.tabIndex=0;if(x.OpenDialogList.length>0){x.getCurrentDialog().removeListeners()}if(i){this.addListeners()}x.OpenDialogList.push(this);this.dialogNode.className="content-overlay-dialog";if(this.focusFirst){this.focusFirst.focus()}else{x.Utils.focusFirstDescendant(this.dialogNode)}this.lastFocus=document.activeElement};x.Dialog.prototype.close=function(){x.OpenDialogList.pop();this.removeListeners();x.Utils.remove(this.preNode);x.Utils.remove(this.postNode);this.dialogNode.className="hidden";this.backdropNode.classList.remove("active");this.backdropNode.classList.remove("transition");this.focusAfterClosed.focus();if(x.OpenDialogList.length>0&&x.OpenDialogList.filter((e=>e.isFullscreen===true)).length){x.getCurrentDialog().addListeners()}else{document.body.classList.remove(x.Utils.dialogOpenClass)}this.dialogNode.dispatchEvent(new CustomEvent("ariaDialog.closed",{bubbles:true,detail:{}}))};x.Dialog.prototype.replace=function(e,t,o){x.OpenDialogList.pop();this.removeListeners();x.Utils.remove(this.preNode);x.Utils.remove(this.postNode);this.dialogNode.className="hidden";this.backdropNode.classList.remove("active");this.backdropNode.classList.remove("transition");var i=t||this.focusAfterClosed;new x.Dialog(e,i,o)};x.Dialog.prototype.addListeners=function(){document.addEventListener("focus",this.trapFocus,true)};x.Dialog.prototype.removeListeners=function(){document.removeEventListener("focus",this.trapFocus,true)};x.Dialog.prototype.trapFocus=function(e){if(x.Utils.IgnoreUtilFocusChanges){return}var t=x.getCurrentDialog();if(t.dialogNode.contains(e.target)){t.lastFocus=e.target}else{x.Utils.focusFirstDescendant(t.dialogNode);if(t.lastFocus==document.activeElement){x.Utils.focusLastDescendant(t.dialogNode)}t.lastFocus=document.activeElement}};x.closeDialog=function(e){var t=x.getCurrentDialog();if(t.dialogNode.contains(e)){t.close()}};x.replaceDialog=function(e,t,o){var i=x.getCurrentDialog();if(i.dialogNode.contains(document.activeElement)){i.replace(e,t,o)}};window.aria=x;const k="*{box-sizing:border-box}.content-overlay-open{overflow:hidden}.content-block-overlay-container{position:relative;display:block;width:100%;height:100%}content-overlay{display:none;position:relative;flex:0}content-overlay .content-overlay__content>*[slot=content]{height:100%;overflow:auto}content-overlay.content-overlay-active{display:flex}content-overlay[vertical=left]{align-items:flex-start}content-overlay[vertical=center]{align-items:center}content-overlay[vertical=right]{align-items:flex-end}content-overlay[vertical=top]{justify-content:flex-start;top:0}content-overlay[vertical=center]{justify-content:center}content-overlay[vertical=bottom]{justify-content:flex-end;bottom:0}content-overlay .content-overlay-background{background:rgba(255, 255, 255, 0.6);bottom:0;display:none;top:0;z-index:100000;right:0;left:0;width:100%}content-overlay .content-overlay-background.active{display:block}content-overlay .content-overlay__header{display:flex;align-items:center}content-overlay .content-overlay__close{order:2;margin-left:auto;cursor:pointer;z-index:1;appearance:none;background:none;border:none;min-width:40px}content-overlay[position=fixed] .content-overlay-background{position:fixed}content-overlay[position=absolute]{position:absolute;box-sizing:border-box;z-index:100000;height:100%;width:100%;left:0}content-overlay[position=absolute] .content-overlay-background{position:static}content-overlay[position=absolute] .content-overlay__content,content-overlay[position=fixed] .content-overlay__content{flex:1;overflow:auto}content-overlay [role=dialog]{display:flex;flex-direction:column;height:100%;justify-content:flex-start}content-overlay [role=dialog].hidden{display:none}content-overlay[full-screen=true]{height:100%}content-overlay[full-screen=true] .content-overlay-background{height:100%}body.has-dialog{overflow:hidden}";const w=class{constructor(t){e(this,t);this.contentOverlayActivated=s(this,"contentOverlayActivated",7);this.target=undefined;this.open="false";this.fullScreen="true";this.classes=undefined;this.horizontal="center";this.vertical="center";this.closeTitle="Close Overlay";this.position="fixed";this.isActive=false;this.activeClass="";this.classString="";this.contentSlot=undefined;this.isFullScreen=false;this.hasCloseButton=false;this.originalMarkup=undefined}onContentBlockToggle(e){if(this.hostElement.getAttribute("id")===e.detail.getAttribute("id")){e.preventDefault();if(!this.isActive){this.openOverlay()}else{this.closeOverlay()}}}onContentBlockActivated(e){if(this.hostElement.getAttribute("id")===e.detail.getAttribute("id")){e.preventDefault();this.openOverlay()}}onContentBlockDeactivated(e){if(this.hostElement.getAttribute("id")===e.detail.getAttribute("id")){e.preventDefault();this.closeOverlay()}}async openOverlay(){this.isActive=true;document.body.classList.add("content-overlay-open");document.body.classList.remove("content-overlay-close");if(!this.originalMarkup){this.originalMarkup=this.contentSlot.innerHTML}if(this.target){let e=document.querySelector(this.target);if(e){e.classList.add("content-block-overlay-container");e.appendChild(this.hostElement)}}if(this.originalMarkup){this.contentSlot.innerHTML=this.originalMarkup;if(this.contentSlot.children[0]===this.contentSlot.querySelector('script[slot="content"][type="text/template"]')){this.contentSlot.innerHTML=this.contentSlot.children[0].innerHTML}this.setComputedActiveClass();this.focusTrap=r(this.hostElement,{fallbackFocus:this.hostElement,allowOutsideClick:true,clickOutsideDeactivates:true,onDeactivate:()=>{this.isActive=false;document.body.classList.add("content-overlay-close");document.body.classList.remove("content-overlay-open");this.activeClass="";this.setComputedActiveClass();this.contentSlot.innerHTML=""}})}this.contentOverlayActivated.emit(this.hostElement)}async closeOverlay(){if(this.focusTrap){try{this.focusTrap.deactivate()}catch(e){console.log(e)}}}setComputedActiveClass(){this.activeClass=`content-overlay ${this.isActive?"content-overlay-active":"content-overlay-inactive"} content-overlay--${this.position}`}componentWillLoad(){n.registerProp(this.classes).subscribe((e=>this.classString=`${e}`));n.registerProp(this.position).subscribe((e=>this.position=e));n.registerProp(this.horizontal).subscribe((e=>this.hostElement.setAttribute("horizontal",e)));n.registerProp(this.vertical).subscribe((e=>this.hostElement.setAttribute("vertical",e)));n.registerProp(this.fullScreen).subscribe((e=>{this.fullScreen=e;this.isFullScreen=e==="true"}));n.registerProp(this.open).subscribe((e=>{this.hostElement.setAttribute("open",e)}));this.hasCloseButton=!!this.hostElement.querySelector('[slot="closeButton"]')}closeOverlayButtonClicked(e){e.preventDefault();this.closeOverlay()}render(){return t(o,{class:`${this.activeClass} ${this.classString}`,position:this.position},t("div",{class:"content-block-overlay-container"},t("div",{class:`content-overlay-background ${this.isActive?"active":""}`},t("div",{ref:e=>this.dialogElement=e,role:"dialog","aria-modal":"true",class:this.isActive?"active":"hidden","aria-expanded":this.isActive},t("div",{class:"content-overlay__header"},t("button",{onClick:e=>{this.closeOverlayButtonClicked(e)},class:"content-overlay__close",title:this.closeTitle},!this.hasCloseButton&&t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"})),t("slot",{name:"closeButton"})),t("slot",{name:"header"})),t("div",{class:"content-overlay__content",ref:e=>this.contentSlot=e},t("slot",{name:"content"}),t("slot",null))))))}componentDidRender(){if(this.open==="true"){this.openOverlay()}if(this.isActive&&this.focusTrap&&!this.focusTrap.active){try{this.focusTrap.activate()}catch(e){console.log(e)}}}get hostElement(){return i(this)}};w.style=k;const A="*{box-sizing:border-box}content-spacer{display:block;width:100%;height:auto}content-spacer .content-spacer__content{width:100%}content-spacer[full-height=true]{height:100%}content-spacer[text-align=left]{text-align:left}content-spacer[text-align=center]{text-align:center}content-spacer[text-align=right]{text-align:right}content-spacer[horizontal=left]{margin-left:0;margin-right:auto}content-spacer[horizontal=center]{margin-left:auto;margin-right:auto}content-spacer[horizontal=right]{margin-left:auto;margin-right:0}content-spacer[vertical]{display:flex}content-spacer[vertical=top]{align-items:flex-start}content-spacer[vertical=center]{align-items:center}content-spacer[vertical=bottom]{align-items:flex-end}";const z=class{constructor(t){e(this,t);this.classes=undefined;this.classString=undefined;this.maxWidth="100";this.fullHeight="false";this.textAlign="default";this.horizontal="default";this.vertical="";this.topOffset="0";this.bottomOffset="0";this.leftOffset="0";this.rightOffset="0";this.inlineStyle={}}componentWillLoad(){n.registerProp(this.fullHeight).subscribe((e=>this.fullHeight=e));n.registerProp(this.textAlign).subscribe((e=>this.textAlign=e));n.registerProp(this.horizontal).subscribe((e=>this.horizontal=e));n.registerProp(this.vertical).subscribe((e=>this.vertical=e));n.registerProp(this.maxWidth).subscribe((e=>{this.inlineStyle=Object.assign(Object.assign({},this.inlineStyle),{"max-width":isNaN(e)?e:e+"%"})}));n.registerProp(this.topOffset).subscribe((e=>{this.inlineStyle=Object.assign(Object.assign({},this.inlineStyle),{"padding-top":isNaN(e)?e:e+"%"})}));n.registerProp(this.bottomOffset).subscribe((e=>{this.inlineStyle=Object.assign(Object.assign({},this.inlineStyle),{"padding-bottom":isNaN(e)?e:e+"%"})}));n.registerProp(this.leftOffset).subscribe((e=>{this.inlineStyle=Object.assign(Object.assign({},this.inlineStyle),{"padding-left":isNaN(e)?e:e+"%"})}));n.registerProp(this.rightOffset).subscribe((e=>{this.inlineStyle=Object.assign(Object.assign({},this.inlineStyle),{"padding-right":isNaN(e)?e:e+"%"})}));n.registerProp(this.classes).subscribe((e=>this.classString=e))}render(){return t(o,{class:this.classString,style:this.inlineStyle},t("div",{class:"content-spacer__content"},t("slot",{name:"content"}),t("slot",null)))}};z.style=A;const J="*{box-sizing:border-box}content-text-block{display:block;width:100%;text-align:initial}content-text-block[full-height=true]{height:100%}content-text-block>*[slot=footer]{margin-top:auto;margin-bottom:0;width:100%;padding-top:1rem;height:auto}content-text-block[vertical=bottom]>[slot=footer]{position:static;height:auto}content-text-block[vertical]{display:flex;flex-direction:column}content-text-block[vertical=top]{justify-content:flex-start}content-text-block[vertical=center]{justify-content:center}content-text-block[vertical=center][footer=true] .content-text-block__content{margin-top:auto;margin-bottom:0}content-text-block[vertical=bottom]{justify-content:flex-end}content-text-block[vertical=bottom][footer=true] .content-text-block__content{margin-top:auto;margin-bottom:0}content-text-block[vertical=bottom][footer=true]>[slot=footer]{margin-top:0}content-text-block[text-align=left]{text-align:left}content-text-block[text-align=center]{text-align:center}content-text-block[text-align=right]{text-align:right}";const S=class{constructor(t){e(this,t);this.classes=undefined;this.classString=undefined;this.minHeight=undefined;this.vertical="top";this.fullHeight="false";this.textAlign="default";this.inlineStyle={}}componentWillLoad(){if(!!this.hostElement.querySelector('[slot="footer"]')){this.hostElement.setAttribute("footer","true")}n.registerProp(this.minHeight).subscribe((e=>{this.inlineStyle=Object.assign(Object.assign({},this.inlineStyle),{"min-height":isNaN(e)?e:e+"px"})}));n.registerProp(this.textAlign).subscribe((e=>this.hostElement.setAttribute("text-align",e)));n.registerProp(this.vertical).subscribe((e=>this.hostElement.setAttribute("vertical",e)));n.registerProp(this.fullHeight).subscribe((e=>{this.hostElement.setAttribute("full-height",e)}));n.registerProp(this.classes).subscribe((e=>this.classString=e))}render(){return t(o,{class:this.classString,style:this.inlineStyle},t("div",{class:"content-text-block__content"},t("slot",{name:"content"}),t("slot",null)),t("slot",{name:"footer"}))}get hostElement(){return i(this)}};S.style=J;const V="*{box-sizing:border-box}content-tout-block .content-tout-block__media{position:relative}content-tout-block .content-tout-block__media-content{position:absolute;width:100%;height:100%;top:0;left:0;display:flex;align-items:center;justify-content:center;overflow:hidden}content-tout-block .content-tout-block__media-content [slot=mediaContent]{height:100%;width:100%}content-tout-block[hover=true] .content-tout-block__media-content{transition:opacity 0.3s}@media (hover: hover){content-tout-block[hover=true] .content-tout-block__media-content{opacity:0}content-tout-block[hover=true] .content-tout-block__media-content:hover,content-tout-block[hover=true] .content-tout-block__media-content:focus,content-tout-block[hover=true] .content-tout-block__media-content:focus-within{opacity:1}}";const E=class{constructor(t){e(this,t);this.hover="false|true";this.classes=undefined;this.classString=undefined;this.hasHoverContent=false}componentWillLoad(){this.hasMediaContent=!!this.hostElement.querySelector('[slot="mediaContent"]');n.registerProp(this.hover).subscribe((e=>this.hover=e));n.registerProp(this.classes).subscribe((e=>this.classString=e))}render(){return t(o,{hover:this.hover,class:this.classString},t("div",{class:"content-tout-block__media"},t("slot",{name:"media"}),this.hasMediaContent&&t("div",{class:"content-tout-block__media-content"},t("slot",{name:"mediaContent"}))),t("div",{class:"content-tout-block__content"},t("slot",{name:"content"}),t("slot",null)))}get hostElement(){return i(this)}};E.style=V;const B='.vjs-svg-icon{display:inline-block;background-repeat:no-repeat;background-position:center;fill:currentColor;height:1.8em;width:1.8em}.vjs-svg-icon:before{content:none!important}.vjs-control:focus .vjs-svg-icon,.vjs-svg-icon:hover{filter:drop-shadow(0 0 .25em #fff)}.video-js .vjs-big-play-button .vjs-icon-placeholder:before,.video-js .vjs-modal-dialog,.vjs-button>.vjs-icon-placeholder:before,.vjs-modal-dialog .vjs-modal-dialog-content{position:absolute;top:0;left:0;width:100%;height:100%}.video-js .vjs-big-play-button .vjs-icon-placeholder:before,.vjs-button>.vjs-icon-placeholder:before{text-align:center}@font-face{font-family:VideoJS;src:url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABUgAAsAAAAAItAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAPgAAAFZRiV33Y21hcAAAAYQAAAEJAAAD5p42+VxnbHlmAAACkAAADwwAABdk9R/WHmhlYWQAABGcAAAAKwAAADYn8kSnaGhlYQAAEcgAAAAdAAAAJA+RCL1obXR4AAAR6AAAABMAAAC8Q44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XlT2zAQxf1C4thJAwRajt4HRy8VMwwfSJHXsQZZcnUQ+PYoTtwpM+wf2t9brWZ2n5JBsol58nJcYYAdDDFCijEy5JhgileYYRd72MccBzjEa7zBEY5xglO8xTu8xwd8xCd8xhd8xTec4RwXuMR3/MBP/MJvMPzBFYpk2Cr+OF0fTEgrFI1aHhxN740KDbEmeJpsWZlVj40s+45aLuv9KijlhCXSjLQnu/d/4UH6sWul1mRzFxZeekUuE7z10mg3qMtM1FGQddPSrLQyvJR6OaukItYXDp6pCJrmz0umqkau5pZ2hFmm7m+ImG5W2t0kZoJXUtPhVnYTbbdOBdeCVGqpJe7XKTqSbRK7zbdwXfR0U+SVsStuS3Y76em6+Ic3xYiHUppc04Nn0lMzay3dSxNcp8auDlWlaCi48yetFD7Y9USsx87G45cuop1ZxQUtjLnL4j53FO0a+5X08UXqQ7NQNo92R0XOz7sxWEnxN2TneJI8Acttu4Q=) format("woff");font-weight:400;font-style:normal}.video-js .vjs-big-play-button .vjs-icon-placeholder:before,.video-js .vjs-play-control .vjs-icon-placeholder,.vjs-icon-play{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-big-play-button .vjs-icon-placeholder:before,.video-js .vjs-play-control .vjs-icon-placeholder:before,.vjs-icon-play:before{content:"\\f101"}.vjs-icon-play-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-play-circle:before{content:"\\f102"}.video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder,.vjs-icon-pause{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder:before,.vjs-icon-pause:before{content:"\\f103"}.video-js .vjs-mute-control.vjs-vol-0 .vjs-icon-placeholder,.vjs-icon-volume-mute{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-0 .vjs-icon-placeholder:before,.vjs-icon-volume-mute:before{content:"\\f104"}.video-js .vjs-mute-control.vjs-vol-1 .vjs-icon-placeholder,.vjs-icon-volume-low{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-1 .vjs-icon-placeholder:before,.vjs-icon-volume-low:before{content:"\\f105"}.video-js .vjs-mute-control.vjs-vol-2 .vjs-icon-placeholder,.vjs-icon-volume-mid{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-2 .vjs-icon-placeholder:before,.vjs-icon-volume-mid:before{content:"\\f106"}.video-js .vjs-mute-control .vjs-icon-placeholder,.vjs-icon-volume-high{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control .vjs-icon-placeholder:before,.vjs-icon-volume-high:before{content:"\\f107"}.video-js .vjs-fullscreen-control .vjs-icon-placeholder,.vjs-icon-fullscreen-enter{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-fullscreen-control .vjs-icon-placeholder:before,.vjs-icon-fullscreen-enter:before{content:"\\f108"}.video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder,.vjs-icon-fullscreen-exit{font-family:VideoJS;font-weight:400;font-style:normal}.video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder:before,.vjs-icon-fullscreen-exit:before{content:"\\f109"}.vjs-icon-spinner{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-spinner:before{content:"\\f10a"}.video-js .vjs-subs-caps-button .vjs-icon-placeholder,.video-js .vjs-subtitles-button .vjs-icon-placeholder,.video-js.video-js:lang(en-AU) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js.video-js:lang(en-GB) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js.video-js:lang(en-IE) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js.video-js:lang(en-NZ) .vjs-subs-caps-button .vjs-icon-placeholder,.vjs-icon-subtitles{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js .vjs-subtitles-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-AU) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-GB) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-IE) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-NZ) .vjs-subs-caps-button .vjs-icon-placeholder:before,.vjs-icon-subtitles:before{content:"\\f10b"}.video-js .vjs-captions-button .vjs-icon-placeholder,.video-js:lang(en) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js:lang(fr-CA) .vjs-subs-caps-button .vjs-icon-placeholder,.vjs-icon-captions{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-captions-button .vjs-icon-placeholder:before,.video-js:lang(en) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js:lang(fr-CA) .vjs-subs-caps-button .vjs-icon-placeholder:before,.vjs-icon-captions:before{content:"\\f10c"}.vjs-icon-hd{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-hd:before{content:"\\f10d"}.video-js .vjs-chapters-button .vjs-icon-placeholder,.vjs-icon-chapters{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-chapters-button .vjs-icon-placeholder:before,.vjs-icon-chapters:before{content:"\\f10e"}.vjs-icon-downloading{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-downloading:before{content:"\\f10f"}.vjs-icon-file-download{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-file-download:before{content:"\\f110"}.vjs-icon-file-download-done{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-file-download-done:before{content:"\\f111"}.vjs-icon-file-download-off{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-file-download-off:before{content:"\\f112"}.vjs-icon-share{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-share:before{content:"\\f113"}.vjs-icon-cog{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-cog:before{content:"\\f114"}.vjs-icon-square{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-square:before{content:"\\f115"}.video-js .vjs-play-progress,.video-js .vjs-volume-level,.vjs-icon-circle,.vjs-seek-to-live-control .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-play-progress:before,.video-js .vjs-volume-level:before,.vjs-icon-circle:before,.vjs-seek-to-live-control .vjs-icon-placeholder:before{content:"\\f116"}.vjs-icon-circle-outline{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-outline:before{content:"\\f117"}.vjs-icon-circle-inner-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-inner-circle:before{content:"\\f118"}.video-js .vjs-control.vjs-close-button .vjs-icon-placeholder,.vjs-icon-cancel{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-control.vjs-close-button .vjs-icon-placeholder:before,.vjs-icon-cancel:before{content:"\\f119"}.vjs-icon-repeat{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-repeat:before{content:"\\f11a"}.video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder,.vjs-icon-replay{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder:before,.vjs-icon-replay:before{content:"\\f11b"}.video-js .vjs-skip-backward-5 .vjs-icon-placeholder,.vjs-icon-replay-5{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-skip-backward-5 .vjs-icon-placeholder:before,.vjs-icon-replay-5:before{content:"\\f11c"}.video-js .vjs-skip-backward-10 .vjs-icon-placeholder,.vjs-icon-replay-10{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-skip-backward-10 .vjs-icon-placeholder:before,.vjs-icon-replay-10:before{content:"\\f11d"}.video-js .vjs-skip-backward-30 .vjs-icon-placeholder,.vjs-icon-replay-30{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-skip-backward-30 .vjs-icon-placeholder:before,.vjs-icon-replay-30:before{content:"\\f11e"}.video-js .vjs-skip-forward-5 .vjs-icon-placeholder,.vjs-icon-forward-5{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-skip-forward-5 .vjs-icon-placeholder:before,.vjs-icon-forward-5:before{content:"\\f11f"}.video-js .vjs-skip-forward-10 .vjs-icon-placeholder,.vjs-icon-forward-10{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-skip-forward-10 .vjs-icon-placeholder:before,.vjs-icon-forward-10:before{content:"\\f120"}.video-js .vjs-skip-forward-30 .vjs-icon-placeholder,.vjs-icon-forward-30{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-skip-forward-30 .vjs-icon-placeholder:before,.vjs-icon-forward-30:before{content:"\\f121"}.video-js .vjs-audio-button .vjs-icon-placeholder,.vjs-icon-audio{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-audio-button .vjs-icon-placeholder:before,.vjs-icon-audio:before{content:"\\f122"}.vjs-icon-next-item{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-next-item:before{content:"\\f123"}.vjs-icon-previous-item{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-previous-item:before{content:"\\f124"}.vjs-icon-shuffle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-shuffle:before{content:"\\f125"}.vjs-icon-cast{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-cast:before{content:"\\f126"}.video-js .vjs-picture-in-picture-control .vjs-icon-placeholder,.vjs-icon-picture-in-picture-enter{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-picture-in-picture-control .vjs-icon-placeholder:before,.vjs-icon-picture-in-picture-enter:before{content:"\\f127"}.video-js.vjs-picture-in-picture .vjs-picture-in-picture-control .vjs-icon-placeholder,.vjs-icon-picture-in-picture-exit{font-family:VideoJS;font-weight:400;font-style:normal}.video-js.vjs-picture-in-picture .vjs-picture-in-picture-control .vjs-icon-placeholder:before,.vjs-icon-picture-in-picture-exit:before{content:"\\f128"}.vjs-icon-facebook{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-facebook:before{content:"\\f129"}.vjs-icon-linkedin{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-linkedin:before{content:"\\f12a"}.vjs-icon-twitter{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-twitter:before{content:"\\f12b"}.vjs-icon-tumblr{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-tumblr:before{content:"\\f12c"}.vjs-icon-pinterest{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-pinterest:before{content:"\\f12d"}.video-js .vjs-descriptions-button .vjs-icon-placeholder,.vjs-icon-audio-description{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-descriptions-button .vjs-icon-placeholder:before,.vjs-icon-audio-description:before{content:"\\f12e"}.video-js{display:inline-block;vertical-align:top;box-sizing:border-box;color:#fff;background-color:#000;position:relative;padding:0;font-size:10px;line-height:1;font-weight:400;font-style:normal;font-family:Arial,Helvetica,sans-serif;word-break:initial}.video-js:-moz-full-screen{position:absolute}.video-js:-webkit-full-screen{width:100%!important;height:100%!important}.video-js[tabindex="-1"]{outline:0}.video-js *,.video-js :after,.video-js :before{box-sizing:inherit}.video-js ul{font-family:inherit;font-size:inherit;line-height:inherit;list-style-position:outside;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.video-js.vjs-1-1,.video-js.vjs-16-9,.video-js.vjs-4-3,.video-js.vjs-9-16,.video-js.vjs-fluid{width:100%;max-width:100%}.video-js.vjs-1-1:not(.vjs-audio-only-mode),.video-js.vjs-16-9:not(.vjs-audio-only-mode),.video-js.vjs-4-3:not(.vjs-audio-only-mode),.video-js.vjs-9-16:not(.vjs-audio-only-mode),.video-js.vjs-fluid:not(.vjs-audio-only-mode){height:0}.video-js.vjs-16-9:not(.vjs-audio-only-mode){padding-top:56.25%}.video-js.vjs-4-3:not(.vjs-audio-only-mode){padding-top:75%}.video-js.vjs-9-16:not(.vjs-audio-only-mode){padding-top:177.7777777778%}.video-js.vjs-1-1:not(.vjs-audio-only-mode){padding-top:100%}.video-js.vjs-fill:not(.vjs-audio-only-mode){width:100%;height:100%}.video-js .vjs-tech{position:absolute;top:0;left:0;width:100%;height:100%}.video-js.vjs-audio-only-mode .vjs-tech{display:none}body.vjs-full-window,body.vjs-pip-window{padding:0;margin:0;height:100%}.vjs-full-window .video-js.vjs-fullscreen,body.vjs-pip-window .video-js{position:fixed;overflow:hidden;z-index:1000;left:0;top:0;bottom:0;right:0}.video-js.vjs-fullscreen:not(.vjs-ios-native-fs),body.vjs-pip-window .video-js{width:100%!important;height:100%!important;padding-top:0!important;display:block}.video-js.vjs-fullscreen.vjs-user-inactive{cursor:none}.vjs-pip-container .vjs-pip-text{position:absolute;bottom:10%;font-size:2em;background-color:rgba(0,0,0,.7);padding:.5em;text-align:center;width:100%}.vjs-layout-small.vjs-pip-container .vjs-pip-text,.vjs-layout-tiny.vjs-pip-container .vjs-pip-text,.vjs-layout-x-small.vjs-pip-container .vjs-pip-text{bottom:0;font-size:1.4em}.vjs-hidden{display:none!important}.vjs-disabled{opacity:.5;cursor:default}.video-js .vjs-offscreen{height:1px;left:-9999px;position:absolute;top:0;width:1px}.vjs-lock-showing{display:block!important;opacity:1!important;visibility:visible!important}.vjs-no-js{padding:20px;color:#fff;background-color:#000;font-size:18px;font-family:Arial,Helvetica,sans-serif;text-align:center;width:300px;height:150px;margin:0 auto}.vjs-no-js a,.vjs-no-js a:visited{color:#66a8cc}.video-js .vjs-big-play-button{font-size:3em;line-height:1.5em;height:1.63332em;width:3em;display:block;position:absolute;top:50%;left:50%;padding:0;margin-top:-.81666em;margin-left:-1.5em;cursor:pointer;opacity:1;border:.06666em solid #fff;background-color:#2b333f;background-color:rgba(43,51,63,.7);border-radius:.3em;transition:all .4s}.vjs-big-play-button .vjs-svg-icon{width:1em;height:1em;position:absolute;top:50%;left:50%;line-height:1;transform:translate(-50%,-50%)}.video-js .vjs-big-play-button:focus,.video-js:hover .vjs-big-play-button{border-color:#fff;background-color:#73859f;background-color:rgba(115,133,159,.5);transition:all 0s}.vjs-controls-disabled .vjs-big-play-button,.vjs-error .vjs-big-play-button,.vjs-has-started .vjs-big-play-button,.vjs-using-native-controls .vjs-big-play-button{display:none}.vjs-has-started.vjs-paused.vjs-show-big-play-button-on-pause:not(.vjs-seeking,.vjs-scrubbing,.vjs-error) .vjs-big-play-button{display:block}.video-js button{background:0 0;border:none;color:inherit;display:inline-block;font-size:inherit;line-height:inherit;text-transform:none;text-decoration:none;transition:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.vjs-control .vjs-button{width:100%;height:100%}.video-js .vjs-control.vjs-close-button{cursor:pointer;height:3em;position:absolute;right:0;top:.5em;z-index:2}.video-js .vjs-modal-dialog{background:rgba(0,0,0,.8);background:linear-gradient(180deg,rgba(0,0,0,.8),rgba(255,255,255,0));overflow:auto}.video-js .vjs-modal-dialog>*{box-sizing:border-box}.vjs-modal-dialog .vjs-modal-dialog-content{font-size:1.2em;line-height:1.5;padding:20px 24px;z-index:1}.vjs-menu-button{cursor:pointer}.vjs-menu-button.vjs-disabled{cursor:default}.vjs-workinghover .vjs-menu-button.vjs-disabled:hover .vjs-menu{display:none}.vjs-menu .vjs-menu-content{display:block;padding:0;margin:0;font-family:Arial,Helvetica,sans-serif;overflow:auto}.vjs-menu .vjs-menu-content>*{box-sizing:border-box}.vjs-scrubbing .vjs-control.vjs-menu-button:hover .vjs-menu{display:none}.vjs-menu li{display:flex;justify-content:center;list-style:none;margin:0;padding:.2em 0;line-height:1.4em;font-size:1.2em;text-align:center;text-transform:lowercase}.js-focus-visible .vjs-menu li.vjs-menu-item:hover,.vjs-menu li.vjs-menu-item:focus,.vjs-menu li.vjs-menu-item:hover{background-color:#73859f;background-color:rgba(115,133,159,.5)}.js-focus-visible .vjs-menu li.vjs-selected:hover,.vjs-menu li.vjs-selected,.vjs-menu li.vjs-selected:focus,.vjs-menu li.vjs-selected:hover{background-color:#fff;color:#2b333f}.js-focus-visible .vjs-menu li.vjs-selected:hover .vjs-svg-icon,.vjs-menu li.vjs-selected .vjs-svg-icon,.vjs-menu li.vjs-selected:focus .vjs-svg-icon,.vjs-menu li.vjs-selected:hover .vjs-svg-icon{fill:#000}.js-focus-visible .vjs-menu :not(.vjs-selected):focus:not(.focus-visible),.video-js .vjs-menu :not(.vjs-selected):focus:not(:focus-visible){background:0 0}.vjs-menu li.vjs-menu-title{text-align:center;text-transform:uppercase;font-size:1em;line-height:2em;padding:0;margin:0 0 .3em 0;font-weight:700;cursor:default}.vjs-menu-button-popup .vjs-menu{display:none;position:absolute;bottom:0;width:10em;left:-3em;height:0;margin-bottom:1.5em;border-top-color:rgba(43,51,63,.7)}.vjs-pip-window .vjs-menu-button-popup .vjs-menu{left:unset;right:1em}.vjs-menu-button-popup .vjs-menu .vjs-menu-content{background-color:#2b333f;background-color:rgba(43,51,63,.7);position:absolute;width:100%;bottom:1.5em;max-height:15em}.vjs-layout-tiny .vjs-menu-button-popup .vjs-menu .vjs-menu-content,.vjs-layout-x-small .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:5em}.vjs-layout-small .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:10em}.vjs-layout-medium .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:14em}.vjs-layout-huge .vjs-menu-button-popup .vjs-menu .vjs-menu-content,.vjs-layout-large .vjs-menu-button-popup .vjs-menu .vjs-menu-content,.vjs-layout-x-large .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:25em}.vjs-menu-button-popup .vjs-menu.vjs-lock-showing,.vjs-workinghover .vjs-menu-button-popup.vjs-hover .vjs-menu{display:block}.video-js .vjs-menu-button-inline{transition:all .4s;overflow:hidden}.video-js .vjs-menu-button-inline:before{width:2.222222222em}.video-js .vjs-menu-button-inline.vjs-slider-active,.video-js .vjs-menu-button-inline:focus,.video-js .vjs-menu-button-inline:hover{width:12em}.vjs-menu-button-inline .vjs-menu{opacity:0;height:100%;width:auto;position:absolute;left:4em;top:0;padding:0;margin:0;transition:all .4s}.vjs-menu-button-inline.vjs-slider-active .vjs-menu,.vjs-menu-button-inline:focus .vjs-menu,.vjs-menu-button-inline:hover .vjs-menu{display:block;opacity:1}.vjs-menu-button-inline .vjs-menu-content{width:auto;height:100%;margin:0;overflow:hidden}.video-js .vjs-control-bar{display:none;width:100%;position:absolute;bottom:0;left:0;right:0;height:3em;background-color:#2b333f;background-color:rgba(43,51,63,.7)}.video-js:not(.vjs-controls-disabled,.vjs-using-native-controls,.vjs-error) .vjs-control-bar.vjs-lock-showing{display:flex!important}.vjs-audio-only-mode .vjs-control-bar,.vjs-has-started .vjs-control-bar{display:flex;visibility:visible;opacity:1;transition:visibility .1s,opacity .1s}.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{visibility:visible;opacity:0;pointer-events:none;transition:visibility 1s,opacity 1s}.vjs-controls-disabled .vjs-control-bar,.vjs-error .vjs-control-bar,.vjs-using-native-controls .vjs-control-bar{display:none!important}.vjs-audio-only-mode.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar,.vjs-audio.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:1;visibility:visible;pointer-events:auto}.video-js .vjs-control{position:relative;text-align:center;margin:0;padding:0;height:100%;width:4em;flex:none}.video-js .vjs-control.vjs-visible-text{width:auto;padding-left:1em;padding-right:1em}.vjs-button>.vjs-icon-placeholder:before{font-size:1.8em;line-height:1.67}.vjs-button>.vjs-icon-placeholder{display:block}.vjs-button>.vjs-svg-icon{display:inline-block}.video-js .vjs-control:focus,.video-js .vjs-control:focus:before,.video-js .vjs-control:hover:before{text-shadow:0 0 1em #fff}.video-js :not(.vjs-visible-text)>.vjs-control-text{border:0;clip:rect(0 0 0 0);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.video-js .vjs-custom-control-spacer{display:none}.video-js .vjs-progress-control{cursor:pointer;flex:auto;display:flex;align-items:center;min-width:4em;touch-action:none}.video-js .vjs-progress-control.disabled{cursor:default}.vjs-live .vjs-progress-control{display:none}.vjs-liveui .vjs-progress-control{display:flex;align-items:center}.video-js .vjs-progress-holder{flex:auto;transition:all .2s;height:.3em}.video-js .vjs-progress-control .vjs-progress-holder{margin:0 10px}.video-js .vjs-progress-control:hover .vjs-progress-holder{font-size:1.6666666667em}.video-js .vjs-progress-control:hover .vjs-progress-holder.disabled{font-size:1em}.video-js .vjs-progress-holder .vjs-load-progress,.video-js .vjs-progress-holder .vjs-load-progress div,.video-js .vjs-progress-holder .vjs-play-progress{position:absolute;display:block;height:100%;margin:0;padding:0;width:0}.video-js .vjs-play-progress{background-color:#fff}.video-js .vjs-play-progress:before{font-size:.9em;position:absolute;right:-.5em;line-height:.35em;z-index:1}.vjs-svg-icons-enabled .vjs-play-progress:before{content:none!important}.vjs-play-progress .vjs-svg-icon{position:absolute;top:-.35em;right:-.4em;width:.9em;height:.9em;pointer-events:none;line-height:.15em;z-index:1}.video-js .vjs-load-progress{background:rgba(115,133,159,.5)}.video-js .vjs-load-progress div{background:rgba(115,133,159,.75)}.video-js .vjs-time-tooltip{background-color:#fff;background-color:rgba(255,255,255,.8);border-radius:.3em;color:#000;float:right;font-family:Arial,Helvetica,sans-serif;font-size:1em;padding:6px 8px 8px 8px;pointer-events:none;position:absolute;top:-3.4em;visibility:hidden;z-index:1}.video-js .vjs-progress-holder:focus .vjs-time-tooltip{display:none}.video-js .vjs-progress-control:hover .vjs-progress-holder:focus .vjs-time-tooltip,.video-js .vjs-progress-control:hover .vjs-time-tooltip{display:block;font-size:.6em;visibility:visible}.video-js .vjs-progress-control.disabled:hover .vjs-time-tooltip{font-size:1em}.video-js .vjs-progress-control .vjs-mouse-display{display:none;position:absolute;width:1px;height:100%;background-color:#000;z-index:1}.video-js .vjs-progress-control:hover .vjs-mouse-display{display:block}.video-js.vjs-user-inactive .vjs-progress-control .vjs-mouse-display{visibility:hidden;opacity:0;transition:visibility 1s,opacity 1s}.vjs-mouse-display .vjs-time-tooltip{color:#fff;background-color:#000;background-color:rgba(0,0,0,.8)}.video-js .vjs-slider{position:relative;cursor:pointer;padding:0;margin:0 .45em 0 .45em;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:#73859f;background-color:rgba(115,133,159,.5)}.video-js .vjs-slider.disabled{cursor:default}.video-js .vjs-slider:focus{text-shadow:0 0 1em #fff;box-shadow:0 0 1em #fff}.video-js .vjs-mute-control{cursor:pointer;flex:none}.video-js .vjs-volume-control{cursor:pointer;margin-right:1em;display:flex}.video-js .vjs-volume-control.vjs-volume-horizontal{width:5em}.video-js .vjs-volume-panel .vjs-volume-control{visibility:visible;opacity:0;width:1px;height:1px;margin-left:-1px}.video-js .vjs-volume-panel{transition:width 1s}.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active,.video-js .vjs-volume-panel .vjs-volume-control:active,.video-js .vjs-volume-panel.vjs-hover .vjs-mute-control~.vjs-volume-control,.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control,.video-js .vjs-volume-panel:active .vjs-volume-control,.video-js .vjs-volume-panel:focus .vjs-volume-control{visibility:visible;opacity:1;position:relative;transition:visibility .1s,opacity .1s,height .1s,width .1s,left 0s,top 0s}.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active.vjs-volume-horizontal,.video-js .vjs-volume-panel .vjs-volume-control:active.vjs-volume-horizontal,.video-js .vjs-volume-panel.vjs-hover .vjs-mute-control~.vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel:active .vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-horizontal{width:5em;height:3em;margin-right:0}.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active.vjs-volume-vertical,.video-js .vjs-volume-panel .vjs-volume-control:active.vjs-volume-vertical,.video-js .vjs-volume-panel.vjs-hover .vjs-mute-control~.vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel:active .vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-vertical{left:-3.5em;transition:left 0s}.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js .vjs-volume-panel.vjs-volume-panel-horizontal:active{width:10em;transition:width .1s}.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-mute-toggle-only{width:4em}.video-js .vjs-volume-panel .vjs-volume-control.vjs-volume-vertical{height:8em;width:3em;left:-3000em;transition:visibility 1s,opacity 1s,height 1s 1s,width 1s 1s,left 1s 1s,top 1s 1s}.video-js .vjs-volume-panel .vjs-volume-control.vjs-volume-horizontal{transition:visibility 1s,opacity 1s,height 1s 1s,width 1s,left 1s 1s,top 1s 1s}.video-js .vjs-volume-panel{display:flex}.video-js .vjs-volume-bar{margin:1.35em .45em}.vjs-volume-bar.vjs-slider-horizontal{width:5em;height:.3em}.vjs-volume-bar.vjs-slider-vertical{width:.3em;height:5em;margin:1.35em auto}.video-js .vjs-volume-level{position:absolute;bottom:0;left:0;background-color:#fff}.video-js .vjs-volume-level:before{position:absolute;font-size:.9em;z-index:1}.vjs-slider-vertical .vjs-volume-level{width:.3em}.vjs-slider-vertical .vjs-volume-level:before{top:-.5em;left:-.3em;z-index:1}.vjs-svg-icons-enabled .vjs-volume-level:before{content:none}.vjs-volume-level .vjs-svg-icon{position:absolute;width:.9em;height:.9em;pointer-events:none;z-index:1}.vjs-slider-horizontal .vjs-volume-level{height:.3em}.vjs-slider-horizontal .vjs-volume-level:before{line-height:.35em;right:-.5em}.vjs-slider-horizontal .vjs-volume-level .vjs-svg-icon{right:-.3em;transform:translateY(-50%)}.vjs-slider-vertical .vjs-volume-level .vjs-svg-icon{top:-.55em;transform:translateX(-50%)}.video-js .vjs-volume-panel.vjs-volume-panel-vertical{width:4em}.vjs-volume-bar.vjs-slider-vertical .vjs-volume-level{height:100%}.vjs-volume-bar.vjs-slider-horizontal .vjs-volume-level{width:100%}.video-js .vjs-volume-vertical{width:3em;height:8em;bottom:8em;background-color:#2b333f;background-color:rgba(43,51,63,.7)}.video-js .vjs-volume-horizontal .vjs-menu{left:-2em}.video-js .vjs-volume-tooltip{background-color:#fff;background-color:rgba(255,255,255,.8);border-radius:.3em;color:#000;float:right;font-family:Arial,Helvetica,sans-serif;font-size:1em;padding:6px 8px 8px 8px;pointer-events:none;position:absolute;top:-3.4em;visibility:hidden;z-index:1}.video-js .vjs-volume-control:hover .vjs-progress-holder:focus .vjs-volume-tooltip,.video-js .vjs-volume-control:hover .vjs-volume-tooltip{display:block;font-size:1em;visibility:visible}.video-js .vjs-volume-vertical:hover .vjs-progress-holder:focus .vjs-volume-tooltip,.video-js .vjs-volume-vertical:hover .vjs-volume-tooltip{left:1em;top:-12px}.video-js .vjs-volume-control.disabled:hover .vjs-volume-tooltip{font-size:1em}.video-js .vjs-volume-control .vjs-mouse-display{display:none;position:absolute;width:100%;height:1px;background-color:#000;z-index:1}.video-js .vjs-volume-horizontal .vjs-mouse-display{width:1px;height:100%}.video-js .vjs-volume-control:hover .vjs-mouse-display{display:block}.video-js.vjs-user-inactive .vjs-volume-control .vjs-mouse-display{visibility:hidden;opacity:0;transition:visibility 1s,opacity 1s}.vjs-mouse-display .vjs-volume-tooltip{color:#fff;background-color:#000;background-color:rgba(0,0,0,.8)}.vjs-poster{display:inline-block;vertical-align:middle;cursor:pointer;margin:0;padding:0;position:absolute;top:0;right:0;bottom:0;left:0;height:100%}.vjs-has-started .vjs-poster,.vjs-using-native-controls .vjs-poster{display:none}.vjs-audio.vjs-has-started .vjs-poster,.vjs-has-started.vjs-audio-poster-mode .vjs-poster,.vjs-pip-container.vjs-has-started .vjs-poster{display:block}.vjs-poster img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.video-js .vjs-live-control{display:flex;align-items:flex-start;flex:auto;font-size:1em;line-height:3em}.video-js.vjs-liveui .vjs-live-control,.video-js:not(.vjs-live) .vjs-live-control{display:none}.video-js .vjs-seek-to-live-control{align-items:center;cursor:pointer;flex:none;display:inline-flex;height:100%;padding-left:.5em;padding-right:.5em;font-size:1em;line-height:3em;width:auto;min-width:4em}.video-js.vjs-live:not(.vjs-liveui) .vjs-seek-to-live-control,.video-js:not(.vjs-live) .vjs-seek-to-live-control{display:none}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge{cursor:auto}.vjs-seek-to-live-control .vjs-icon-placeholder{margin-right:.5em;color:#888}.vjs-svg-icons-enabled .vjs-seek-to-live-control{line-height:0}.vjs-seek-to-live-control .vjs-svg-icon{width:1em;height:1em;pointer-events:none;fill:#888}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:red}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-svg-icon{fill:red}.video-js .vjs-time-control{flex:none;font-size:1em;line-height:3em;min-width:2em;width:auto;padding-left:1em;padding-right:1em}.video-js .vjs-current-time,.video-js .vjs-duration,.vjs-live .vjs-time-control,.vjs-live .vjs-time-divider{display:none}.vjs-time-divider{display:none;line-height:3em}.video-js .vjs-play-control{cursor:pointer}.video-js .vjs-play-control .vjs-icon-placeholder{flex:none}.vjs-text-track-display{position:absolute;bottom:3em;left:0;right:0;top:0;pointer-events:none}.vjs-error .vjs-text-track-display{display:none}.video-js.vjs-controls-disabled .vjs-text-track-display,.video-js.vjs-user-inactive.vjs-playing .vjs-text-track-display{bottom:1em}.video-js .vjs-text-track{font-size:1.4em;text-align:center;margin-bottom:.1em}.vjs-subtitles{color:#fff}.vjs-captions{color:#fc6}.vjs-tt-cue{display:block}video::-webkit-media-text-track-display{transform:translateY(-3em)}.video-js.vjs-controls-disabled video::-webkit-media-text-track-display,.video-js.vjs-user-inactive.vjs-playing video::-webkit-media-text-track-display{transform:translateY(-1.5em)}.video-js .vjs-picture-in-picture-control{cursor:pointer;flex:none}.video-js.vjs-audio-only-mode .vjs-picture-in-picture-control,.vjs-pip-window .vjs-picture-in-picture-control{display:none}.video-js .vjs-fullscreen-control{cursor:pointer;flex:none}.video-js.vjs-audio-only-mode .vjs-fullscreen-control,.vjs-pip-window .vjs-fullscreen-control{display:none}.vjs-playback-rate .vjs-playback-rate-value,.vjs-playback-rate>.vjs-menu-button{position:absolute;top:0;left:0;width:100%;height:100%}.vjs-playback-rate .vjs-playback-rate-value{pointer-events:none;font-size:1.5em;line-height:2;text-align:center}.vjs-playback-rate .vjs-menu{width:4em;left:0}.vjs-error .vjs-error-display .vjs-modal-dialog-content{font-size:1.4em;text-align:center}.vjs-error .vjs-error-display:before{color:#fff;content:"X";font-family:Arial,Helvetica,sans-serif;font-size:4em;left:0;line-height:1;margin-top:-.5em;position:absolute;text-shadow:.05em .05em .1em #000;text-align:center;top:50%;vertical-align:middle;width:100%}.vjs-loading-spinner{display:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);opacity:.85;text-align:left;border:.6em solid rgba(43,51,63,.7);box-sizing:border-box;background-clip:padding-box;width:5em;height:5em;border-radius:50%;visibility:hidden}.vjs-seeking .vjs-loading-spinner,.vjs-waiting .vjs-loading-spinner{display:flex;justify-content:center;align-items:center;animation:vjs-spinner-show 0s linear .3s forwards}.vjs-error .vjs-loading-spinner{display:none}.vjs-loading-spinner:after,.vjs-loading-spinner:before{content:"";position:absolute;box-sizing:inherit;width:inherit;height:inherit;border-radius:inherit;opacity:1;border:inherit;border-color:transparent;border-top-color:#fff}.vjs-seeking .vjs-loading-spinner:after,.vjs-seeking .vjs-loading-spinner:before,.vjs-waiting .vjs-loading-spinner:after,.vjs-waiting .vjs-loading-spinner:before{animation:vjs-spinner-spin 1.1s cubic-bezier(.6,.2,0,.8) infinite,vjs-spinner-fade 1.1s linear infinite}.vjs-seeking .vjs-loading-spinner:before,.vjs-waiting .vjs-loading-spinner:before{border-top-color:#fff}.vjs-seeking .vjs-loading-spinner:after,.vjs-waiting .vjs-loading-spinner:after{border-top-color:#fff;animation-delay:.44s}@keyframes vjs-spinner-show{to{visibility:visible}}@keyframes vjs-spinner-spin{100%{transform:rotate(360deg)}}@keyframes vjs-spinner-fade{0%{border-top-color:#73859f}20%{border-top-color:#73859f}35%{border-top-color:#fff}60%{border-top-color:#73859f}100%{border-top-color:#73859f}}.video-js.vjs-audio-only-mode .vjs-captions-button{display:none}.vjs-chapters-button .vjs-menu ul{width:24em}.video-js.vjs-audio-only-mode .vjs-descriptions-button{display:none}.vjs-subs-caps-button+.vjs-menu .vjs-captions-menu-item .vjs-svg-icon{width:1.5em;height:1.5em}.video-js .vjs-subs-caps-button+.vjs-menu .vjs-captions-menu-item .vjs-menu-item-text .vjs-icon-placeholder{vertical-align:middle;display:inline-block;margin-bottom:-.1em}.video-js .vjs-subs-caps-button+.vjs-menu .vjs-captions-menu-item .vjs-menu-item-text .vjs-icon-placeholder:before{font-family:VideoJS;content:"\\f10c";font-size:1.5em;line-height:inherit}.video-js.vjs-audio-only-mode .vjs-subs-caps-button{display:none}.video-js .vjs-audio-button+.vjs-menu .vjs-description-menu-item .vjs-menu-item-text .vjs-icon-placeholder,.video-js .vjs-audio-button+.vjs-menu .vjs-main-desc-menu-item .vjs-menu-item-text .vjs-icon-placeholder{vertical-align:middle;display:inline-block;margin-bottom:-.1em}.video-js .vjs-audio-button+.vjs-menu .vjs-description-menu-item .vjs-menu-item-text .vjs-icon-placeholder:before,.video-js .vjs-audio-button+.vjs-menu .vjs-main-desc-menu-item .vjs-menu-item-text .vjs-icon-placeholder:before{font-family:VideoJS;content:" \\f12e";font-size:1.5em;line-height:inherit}.video-js.vjs-layout-small .vjs-current-time,.video-js.vjs-layout-small .vjs-duration,.video-js.vjs-layout-small .vjs-playback-rate,.video-js.vjs-layout-small .vjs-remaining-time,.video-js.vjs-layout-small .vjs-time-divider,.video-js.vjs-layout-small .vjs-volume-control,.video-js.vjs-layout-tiny .vjs-current-time,.video-js.vjs-layout-tiny .vjs-duration,.video-js.vjs-layout-tiny .vjs-playback-rate,.video-js.vjs-layout-tiny .vjs-remaining-time,.video-js.vjs-layout-tiny .vjs-time-divider,.video-js.vjs-layout-tiny .vjs-volume-control,.video-js.vjs-layout-x-small .vjs-current-time,.video-js.vjs-layout-x-small .vjs-duration,.video-js.vjs-layout-x-small .vjs-playback-rate,.video-js.vjs-layout-x-small .vjs-remaining-time,.video-js.vjs-layout-x-small .vjs-time-divider,.video-js.vjs-layout-x-small .vjs-volume-control{display:none}.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal:hover,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal:hover,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal:hover{width:auto;width:initial}.video-js.vjs-layout-tiny .vjs-progress-control,.video-js.vjs-layout-x-small .vjs-progress-control{display:none}.video-js.vjs-layout-x-small .vjs-custom-control-spacer{flex:auto;display:block}.vjs-modal-dialog.vjs-text-track-settings{background-color:#2b333f;background-color:rgba(43,51,63,.75);color:#fff;height:70%}.vjs-error .vjs-text-track-settings{display:none}.vjs-text-track-settings .vjs-modal-dialog-content{display:table}.vjs-text-track-settings .vjs-track-settings-colors,.vjs-text-track-settings .vjs-track-settings-controls,.vjs-text-track-settings .vjs-track-settings-font{display:table-cell}.vjs-text-track-settings .vjs-track-settings-controls{text-align:right;vertical-align:bottom}@supports (display:grid){.vjs-text-track-settings .vjs-modal-dialog-content{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr;padding:20px 24px 0 24px}.vjs-track-settings-controls .vjs-default-button{margin-bottom:20px}.vjs-text-track-settings .vjs-track-settings-controls{grid-column:1/-1}.vjs-layout-small .vjs-text-track-settings .vjs-modal-dialog-content,.vjs-layout-tiny .vjs-text-track-settings .vjs-modal-dialog-content,.vjs-layout-x-small .vjs-text-track-settings .vjs-modal-dialog-content{grid-template-columns:1fr}}.vjs-text-track-settings select{font-size:inherit}.vjs-track-setting>select{margin-right:1em;margin-bottom:.5em}.vjs-text-track-settings fieldset{margin:10px;border:none}.vjs-text-track-settings fieldset span{display:inline-block;padding:0 .6em .8em}.vjs-text-track-settings fieldset span>select{max-width:7.3em}.vjs-text-track-settings legend{color:#fff;font-weight:700;font-size:1.2em}.vjs-text-track-settings .vjs-label{margin:0 .5em .5em 0}.vjs-track-settings-controls button:active,.vjs-track-settings-controls button:focus{outline-style:solid;outline-width:medium;background-image:linear-gradient(0deg,#fff 88%,#73859f 100%)}.vjs-track-settings-controls button:hover{color:rgba(43,51,63,.75)}.vjs-track-settings-controls button{background-color:#fff;background-image:linear-gradient(-180deg,#fff 88%,#73859f 100%);color:#2b333f;cursor:pointer;border-radius:2px}.vjs-track-settings-controls .vjs-default-button{margin-right:1em}.vjs-title-bar{background:rgba(0,0,0,.9);background:linear-gradient(180deg,rgba(0,0,0,.9) 0,rgba(0,0,0,.7) 60%,rgba(0,0,0,0) 100%);font-size:1.2em;line-height:1.5;transition:opacity .1s;padding:.666em 1.333em 4em;pointer-events:none;position:absolute;top:0;width:100%}.vjs-error .vjs-title-bar{display:none}.vjs-title-bar-description,.vjs-title-bar-title{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vjs-title-bar-title{font-weight:700;margin-bottom:.333em}.vjs-playing.vjs-user-inactive .vjs-title-bar{opacity:0;transition:opacity 1s}.video-js .vjs-skip-forward-5{cursor:pointer}.video-js .vjs-skip-forward-10{cursor:pointer}.video-js .vjs-skip-forward-30{cursor:pointer}.video-js .vjs-skip-backward-5{cursor:pointer}.video-js .vjs-skip-backward-10{cursor:pointer}.video-js .vjs-skip-backward-30{cursor:pointer}@media print{.video-js>:not(.vjs-tech):not(.vjs-poster){visibility:hidden}}.vjs-resize-manager{position:absolute;top:0;left:0;width:100%;height:100%;border:none;z-index:-1000}.js-focus-visible .video-js :focus:not(.focus-visible){outline:0}.video-js :focus:not(:focus-visible){outline:0}*{box-sizing:border-box}content-video{display:block;width:100%;position:relative}content-video.content-video--fit-container .video-js.vjs-fluid{height:100%;padding:0}content-video[fit-container=true]{height:100%}content-video .content-video__content{display:block;width:100%;height:100%}content-video .content-video__poster{position:relative}content-video .content-video__play{display:none}content-video .vjs-content-block-theme.video-js{width:100%;height:100%}content-video .vjs-content-block-theme.video-js video.vjs-tech{position:static}content-video .vjs-content-block-theme.vjs-ended .vjs-loading-spinner,content-video .vjs-content-block-theme.vjs-waiting .vjs-loading-spinner{display:none}content-video .vjs-content-block-theme:hover .vjs-big-play-button,content-video .vjs-content-block-theme:focus .vjs-big-play-button{background-color:transparent}content-video .vjs-content-block-theme .vjs-big-play-button{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);border:none;background:transparent}content-video .vjs-content-block-theme .vjs-big-play-button .vjs-icon-placeholder{display:block;width:100%;height:100%}content-video .vjs-content-block-theme .vjs-big-play-button .vjs-icon-placeholder:before{display:none}content-video .vjs-poster{display:none}';const G=class{constructor(t){e(this,t);this.method="youtube";this.autoplay=false;this.src="";this.width=16;this.height=9;this.type="video/mp4";this.playButtonAriaLabel="Play";this.classes=undefined;this.classString=undefined;this.controls=true;this.preload="metadata";this.fitContainer="false";this.isLoaded=false;this.hasPoster=false;this.isPlayed=false}computedVideoConfig(){let e={};e={fill:l(this.fitContainer)==="true",fluid:l(this.fitContainer)==="false",autoplay:this.autoplay===true?"muted":false,techOrder:["youtube"],src:this.src,sources:[{type:"video/youtube",src:this.src}],youtube:{showinfo:0,rel:0,modestbranding:1}};return e}initVideo(){this.isLoaded=true}componentWillLoad(){n.registerProp(this.classes).subscribe((e=>this.classString=e))}componentDidLoad(){let e=this;let t={root:null,rootMargin:"0px",threshold:.1};let o=new IntersectionObserver((t=>{let o;t.forEach((async t=>{if(t.isIntersecting){if(!o){o=await import("./p-a36d5edd.js").then((function(e){return e.v}));await import("./p-84ee2f47.js").then((function(e){return e.Y}))}this.hasPoster=!!this.hostElement.querySelector('[slot="poster"]');if(this.videoElement&&!this.player){this.player=o.default(this.videoElement,this.computedVideoConfig(),(function t(){e.initVideo();if(e.hasPoster||e.autoplay){e.isPlayed=true;setTimeout((()=>this.play()),1)}}))}}}))}),t);o.observe(this.hostElement)}onClickHandler(e){e.preventDefault();if(!this.isLoaded){return false}this.initVideo();this.isPlayed=true;this.player.play();if(this.method==="html5"){this.videoElement.play()}}render(){let e=!this.autoplay&&(this.hasPoster&&!this.isPlayed||!this.isPlayed);return t(o,{class:this.classString},this.hasPoster&&!this.isLoaded&&t("div",{class:"content-video__poster"},t("slot",{name:"poster"})),e&&t("button",{class:"content-video__play","aria-label":this.playButtonAriaLabel,onClick:e=>this.onClickHandler(e)},t("slot",{name:"playButton"})),t("div",{class:"content-video__content"},(!this.hasPoster||this.isLoaded)&&t("video",{ref:e=>this.videoElement=e,class:"video-js vjs-content-block-theme",controls:this.controls,preload:this.preload,width:this.width,height:this.height,crossorigin:"anonymous","data-setup":this.computedVideoConfig()},t("slot",{name:"no-js-message"}),t("slot",{name:"content"}),t("slot",null))))}get hostElement(){return i(this)}};G.style=B;export{v as content_accordion,d as content_button,h as content_grid_formatter,f as content_hero_block,p as content_image,g as content_line,w as content_overlay,z as content_spacer,S as content_text_block,E as content_tout_block,G as content_video};
2
- //# sourceMappingURL=p-0131bfdf.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["contentAccordionCss","ContentAccordion","handleClickEvent","e","this","animateAccordion","isOpen","open","animationTime","timeoutHolder","clearTimeout","setTimeout","hostElement","classList","add","animationStart","animationEnd","remove","componentWillLoad","revealElement","querySelector","id","randomID","tagName","Math","floor","random","document","querySelectorAll","length","WindowResizeService","registerProp","subscribe","newValue","render","h","Host","class","classString","expanded","onClick","name","contentButtonCss","ContentButton","activatedContent","hasContentToActivate","href","linkClass","classes","onHandleClickEvent","ev","preventDefault","dispatchEvent","CustomEvent","detail","scrollIntoView","behavior","substring","element","getElementById","linkLabel","role","controls","target","clickableBlock","contentGridFormatterCss","ContentGridFormatter","Promise","allSettled","type","vertical","inlineStyle","Object","assign","horizontal","flexShrink","flexGrow","columns","columnGap","rowGap","style","contentHeroBlockCss","ContentHeroBlock","hasBackground","hasHiddenContent","contentPosition","contentBlockActivationHandler","event","setAttribute","contentImageCss","ContentImage","preloadImage","src","r","image","Image","onload","onerror","hasMediaContent","aspectRatio","alt","height","showContent","componentDidLoad","observer","IntersectionObserver","entries","forEach","async","entry","isIntersecting","lazyLoadIsComplete","pictureImageSrc","getCurrentValue","showVideoAsGif","indexOf","root","rootMargin","max","window","innerHeight","threshold","observe","watchLazyLoadIsComplete","activeLazyLoadClass","lazyLoad","content","autoplay","muted","loop","preload","playsinline","width","videoType","contentLineCss","ContentLine","textAlign","maxWidth","isNaN","ElementTagParsed","tag","aria","Utils","matches","selector","item","parentNode","removeChild","isFocusable","tabIndex","getAttribute","disabled","nodeName","rel","getAncestorBySelector","currentNode","ancestor","hasClass","className","RegExp","test","addClass","removeClass","classRegex","replace","trim","bindMethods","object","methodNames","Array","prototype","slice","call","arguments","method","bind","IgnoreUtilFocusChanges","dialogOpenClass","focusFirstDescendant","i","childNodes","child","attemptFocus","focusLastDescendant","focus","activeElement","OpenDialogList","getCurrentDialog","closeCurrentDialog","currentDialog","close","handleEscape","key","stopPropagation","addEventListener","Dialog","dialogNode","focusAfterClosed","focusFirst","isFullScreen","Error","validRoles","isDialog","split","some","token","backdropClass","contains","backdropNode","createElement","insertBefore","appendChild","isFullscreen","body","preDiv","preNode","postDiv","postNode","nextSibling","removeListeners","addListeners","push","lastFocus","pop","filter","dialog","bubbles","newDialogId","newFocusAfterClosed","newFocusFirst","trapFocus","removeEventListener","closeDialog","closeButton","topDialog","replaceDialog","contentOverlayCss","ContentOverlay","onContentBlockToggle","isActive","openOverlay","closeOverlay","onContentBlockActivated","onContentBlockDeactivated","originalMarkup","contentSlot","innerHTML","targetElement","children","setComputedActiveClass","focusTrap","focusTrap.createFocusTrap","fallbackFocus","allowOutsideClick","clickOutsideDeactivates","onDeactivate","activeClass","contentOverlayActivated","emit","deactivate","console","log","position","fullScreen","hasCloseButton","closeOverlayButtonClicked","ref","dialogElement","title","closeTitle","xmlns","fill","viewBox","stroke","d","el","componentDidRender","active","activate","contentSpacerCss","ContentSpacingWrapper","fullHeight","topOffset","bottomOffset","leftOffset","rightOffset","contentTextBlockCss","ContentTextBlock","minHeight","contentToutBlockCss","ContentToutBlock","hover","contentVideoCss","ContentVideo","computedVideoConfig","videoConfig","fitContainer","fluid","techOrder","sources","youtube","showinfo","modestbranding","initVideo","isLoaded","self","options","videojs","import","then","n","v","Y","hasPoster","videoElement","player","default","onPlayerReady","isPlayed","play","onClickHandler","showPlayButton","playButtonAriaLabel","crossorigin"],"sources":["src/components/content-accordion/content-accordion.scss?tag=content-accordion","src/components/content-accordion/content-accordion.tsx","src/elements/content-button/content-button.scss?tag=content-button","src/elements/content-button/content-button.tsx","src/formatters/content-grid-formatter/content-grid-formatter.scss?tag=content-grid-formatter","src/formatters/content-grid-formatter/content-grid-formatter.tsx","src/blocks/content-hero-block/content-hero-block.scss?tag=content-hero-block","src/blocks/content-hero-block/content-hero-block.tsx","src/elements/content-image/content-image.scss?tag=content-image","src/elements/content-image/content-image.tsx","src/elements/content-line/content-line.scss?tag=content-line","src/elements/content-line/content-line.tsx","src/components/content-overlay/libraries/aria-utilities.ts","src/components/content-overlay/libraries/aria-dialog.ts","src/components/content-overlay/content-overlay.scss?tag=content-overlay","src/components/content-overlay/content-overlay.tsx","src/formatters/content-spacer/content-spacer.scss?tag=content-spacer","src/formatters/content-spacer/content-spacer.tsx","src/blocks/content-text-block/content-text-block.scss?tag=content-text-block","src/blocks/content-text-block/content-text-block.tsx","src/blocks/content-tout-block/content-tout-block.scss?tag=content-tout-block","src/blocks/content-tout-block/content-tout-block.tsx","src/elements/content-video/content-video.scss?tag=content-video","src/elements/content-video/content-video.tsx"],"sourcesContent":["content-accordion {\n display: block;\n\n > button {\n display: block;\n width: 100%;\n padding: 0;\n border: none;\n font: inherit;\n color: inherit;\n background-color: transparent;\n cursor: pointer;\n }\n\n &[expanded] > .content-accordion__reveal {\n display: block;\n }\n\n > .content-accordion__reveal {\n display: none;\n }\n}\n","import { Component, h, Host, Element } from '@stencil/core';\nimport { HostElement, Prop, State } from '@stencil/core/internal';\nimport W3DisclosureButton from './libraries/w3_disclosure_button';\nimport { ResponsiveBoolean } from '../../typings';\nimport { WindowResizeService } from '../../services/window-resize-service';\n\n/**\n * @slot content - This slot will usually serve a content button.\n * @slot - Default slot, same as content slot.\n */\n@Component({\n tag: 'content-accordion',\n styleUrl: 'content-accordion.scss',\n shadow: false,\n})\nexport class ContentAccordion {\n @Element() hostElement: HostElement;\n\n @State() revealElement!: HTMLDivElement;\n /**\n *\n * @type Boolean\n * @responsive\n */\n @Prop() open: ResponsiveBoolean = 'false';\n /**\n * The starting animation class in case you want to control content styling.\n * @type String\n */\n @Prop() animationStart = 'animation-start';\n\n /**\n * The ending animation class in case you want to control content styling.\n * @type String\n */\n @Prop() animationEnd = 'animation-end';\n\n /**\n * The amount of time in milliseconds to run the closing animation, before the class is removed\n * @type Number\n */\n @Prop() animationTime = 0;\n\n @State() isOpen = false;\n @State() randomID: string = '';\n @State() classString = '';\n\n timeoutHolder;\n handleClickEvent(e: MouseEvent) {\n this.animateAccordion(!this.isOpen);\n }\n\n animateAccordion(open, animationTime = this.animationTime) {\n if (this.timeoutHolder) {\n clearTimeout(this.timeoutHolder);\n }\n if (open) {\n this.isOpen = true;\n this.timeoutHolder = setTimeout(() => {\n this.hostElement.classList.add(this.animationStart);\n }, 0);\n } else {\n this.hostElement.classList.add(this.animationEnd);\n this.timeoutHolder = setTimeout(() => {\n this.hostElement.classList.remove(this.animationStart, this.animationEnd);\n this.isOpen = false;\n }, animationTime);\n }\n }\n\n componentWillLoad() {\n this.revealElement = this.hostElement.querySelector('.js-content-accordion-reveal');\n if (this.hostElement.id) {\n this.randomID = `${this.hostElement.tagName}_${this.hostElement.id}`;\n } else {\n this.randomID = `${this.hostElement.tagName}_${Math.floor(Math.random() * document.querySelectorAll(this.hostElement.tagName).length)}`;\n }\n WindowResizeService.registerProp(this.open).subscribe(newValue => {\n this.isOpen = newValue === 'true';\n if (this.isOpen) {\n this.animateAccordion(true);\n }\n });\n }\n\n render() {\n return (\n <Host class={this.classString} expanded={this.isOpen}>\n <button onClick={e => this.handleClickEvent(e)} aria-expanded={this.isOpen} aria-controls={this.randomID}>\n <slot name=\"trigger\"></slot>\n </button>\n <div id={this.randomID} class=\"js-content-accordion-reveal content-accordion__reveal\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n","content-button {\n display: inline-block;\n > a, > button {\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n }\n > button {\n appearance: none;\n background: inherit;\n cursor: pointer;\n }\n\n &[clickable-block=\"true\"] {\n display: block;\n width: 100%;\n height: 100%;\n > a,\n > button {\n height: 100%;\n width: 100%;\n > * {\n display: block;\n width: 100%;\n }\n }\n .content-button__clickable-content {\n width: 100%;\n height: 100%;\n }\n }\n\n}","import { Component, h, Host, Prop } from '@stencil/core';\nimport { Element, HostElement, HTMLStencilElement, State } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveString } from '../../typings';\n\n/**\n * @slot content - Inner contents of the button, usually plaintext.\n * @slot - Default slot, same as content slot.\n * @slot activatedContent - If this slot is used, the content in this will be scrolled to and triggered.\n */\n@Component({\n tag: 'content-button',\n styleUrl: 'content-button.scss',\n shadow: false,\n})\nexport class ContentButton {\n @Element() hostElement: HostElement;\n /**\n * @type URL\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n href: string;\n /**\n * @type String\n */\n @Prop() target: string;\n /**\n * The classes for the button.\n * @type String\n * @responsive\n */\n @Prop() classes = '';\n @State() classString = '';\n /**\n * @type Boolean\n */\n @Prop() clickableBlock: boolean = false;\n /**\n * @type Boolean\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n expanded: string;\n /**\n\n /**\n * Aria-controls value\n * @type Target\n */\n @Prop() controls: string;\n\n /**\n * @type String\n * @responsive\n */\n @Prop() linkLabel: ResponsiveString;\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n linkClass: ResponsiveString;\n @State() hasContentToActivate: boolean;\n\n public activatedContent: HTMLDivElement;\n\n componentWillLoad() {\n this.activatedContent = this.hostElement.querySelector('[slot=\"activatedContent\"]');\n this.hasContentToActivate = !!this.activatedContent;\n // If this is a clickable block, forcefully add a # to force an anchor link\n if (!this.href || this.href === '#') {\n this.href = 'javascript:void(0);';\n }\n\n WindowResizeService.registerProp(this.linkClass).subscribe(newValue => {\n this.linkClass = newValue as string;\n });\n\n WindowResizeService.registerProp(this.classes).subscribe(newValue => {\n this.classString = newValue as string;\n });\n }\n\n onHandleClickEvent(ev) {\n if (this.hasContentToActivate) {\n ev.preventDefault();\n // ev.stopPropagation();\n this.activatedContent.dispatchEvent(new CustomEvent('open', { detail: this.activatedContent }));\n this.activatedContent.scrollIntoView({ behavior: 'smooth' });\n } else if (this.href && this.href.length > 1 && this.href.substring(0, 1) === '#') {\n let element = document.getElementById(this.href.substring(1));\n if (element) {\n ev.preventDefault();\n // ev.stopPropagation();\n element.dispatchEvent(new CustomEvent('open', { detail: element }));\n element.scrollIntoView({ behavior: 'smooth' });\n }\n }\n }\n\n render() {\n return (\n <Host class={this.classString}>\n <a\n aria-label={this.linkLabel}\n class={this.linkClass}\n role={this.href === 'javascript:void(0);' ? 'button' : ''}\n onClick={ev => this.onHandleClickEvent(ev)}\n aria-expanded={this.expanded}\n aria-controls={this.controls}\n href={this.href}\n target={this.target}\n >\n {!this.clickableBlock ? (\n <span>\n <slot name=\"content\"></slot>\n <slot></slot>\n </span>\n ) : (\n <div class=\"content-button__clickable-content\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n )}\n </a>\n <slot name=\"activatedContent\"></slot>\n </Host>\n );\n }\n}\n","content-grid-formatter {\n width: 100%;\n overflow: auto;\n align-items: var(--align-items, flex-start);\n justify-content: var(--justify-content);\n grid-template-columns: repeat(var(--columns), 1fr);\n column-gap: var(--column-gap, 0);\n row-gap: var(--row-gap, 0);\n * {\n box-sizing: border-box;\n }\n &[type=\"grid\"] {\n display: grid;\n }\n\n &[type=\"flex\"] {\n display: flex;\n flex-wrap: wrap; \n > * {\n overflow: auto;\n flex: 0 0 auto;\n width: calc(100%/var(--columns));\n }\n }\n > [flex-shrink=\"true\"] {\n width: auto;\n flex-shrink: 1;\n }\n &[flex-shrink=\"true\"] > * {\n flex-shrink: 1;\n }\n &[flex-grow=\"true\"] > * {\n flex-grow: 1;\n }\n > [flex-grow=\"true\"] {\n width: auto;\n flex-grow: 1;\n }\n}","import { Component, h, Host, Prop, State } from '@stencil/core';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { FLEX_JUSTIFY_OPTIONS, GRID_TYPES, ResponsiveBoolean, ResponsiveNumber, ResponsiveString } from '../../typings';\nimport { Element, HTMLStencilElement } from '@stencil/core/internal';\n\n/**\n * @slot media - This slot can either be a video or image component.\n * @slot content - This slot will usually serve a content text block.\n */\n@Component({\n tag: 'content-grid-formatter',\n styleUrl: 'content-grid-formatter.scss',\n shadow: false,\n})\nexport class ContentGridFormatter {\n /**\n * @type String\n * @responsive\n */\n @Prop() classes: ResponsiveString;\n @State() classString;\n /**\n * Flex or grid\n * @type Select\n * @options none\n * @options flex\n * @options grid\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n type: GRID_TYPES | ResponsiveString = 'flex';\n /**\n * Setting this true to will grow all children. Alternatively, add the attribute [flex-grow=\"true\"] to a specific grid child and that child will grow.\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n flexGrow: ResponsiveBoolean = 'false';\n /**\n * Setting this true to will shrink all children. Alternatively, add the attribute [flex-shrink=\"true\"] to a specific grid child and that child will shrink.\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n flexShrink: ResponsiveBoolean = 'false';\n /**\n * Vertical axis alignment\n * @type Select\n * @options flex-start\n * @options space-between\n * @options center\n * @options space-evenly\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n vertical: FLEX_JUSTIFY_OPTIONS = 'space-between';\n\n /**\n * Horizontal axis alignment\n * @type Select\n * @options flex-start\n * @options space-between\n * @options center\n * @options space-evenly\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n horizontal: FLEX_JUSTIFY_OPTIONS = 'space-between';\n /**\n * @type Number\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n columns: ResponsiveNumber = '1';\n\n /**\n * @type Number\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n columnGap: ResponsiveNumber = '0';\n\n /**\n * @type Number\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n rowGap: ResponsiveNumber = '0';\n\n @Element() hostElement: HTMLStencilElement;\n @State() activeClassString: string;\n @State() inlineStyle: { [key: string]: string } = {};\n\n componentWillLoad() {\n return Promise.allSettled([\n WindowResizeService.registerProp(this.type).subscribe(newValue => (this.type = newValue as GRID_TYPES)),\n WindowResizeService.registerProp(this.vertical).subscribe(newValue => {\n this.vertical = newValue as FLEX_JUSTIFY_OPTIONS;\n this.inlineStyle = {\n ...this.inlineStyle,\n '--align-items': this.vertical,\n };\n }),\n WindowResizeService.registerProp(this.horizontal).subscribe(newValue => {\n this.horizontal = newValue as FLEX_JUSTIFY_OPTIONS;\n this.inlineStyle = {\n ...this.inlineStyle,\n '--justify-content': this.horizontal,\n };\n }),\n WindowResizeService.registerProp(this.flexShrink).subscribe(newValue => (this.flexShrink = newValue as string)),\n WindowResizeService.registerProp(this.flexGrow).subscribe(newValue => (this.flexGrow = newValue as string)),\n WindowResizeService.registerProp(this.columns).subscribe(newValue => {\n this.columns = newValue as string;\n this.inlineStyle = {\n ...this.inlineStyle,\n '--columns': newValue as string,\n };\n }),\n WindowResizeService.registerProp(this.columnGap).subscribe(newValue => {\n this.columnGap = newValue as string;\n this.inlineStyle = {\n ...this.inlineStyle,\n '--column-gap': newValue as string,\n };\n }),\n WindowResizeService.registerProp(this.rowGap).subscribe(newValue => {\n this.rowGap = newValue as string;\n this.inlineStyle = {\n ...this.inlineStyle,\n '--row-gap': newValue as string,\n };\n }),\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue as string)),\n ]);\n }\n\n render() {\n return (\n <Host class={this.classString} style={this.inlineStyle}>\n <slot />\n </Host>\n );\n }\n}\n","content-hero-block {\n position: relative;\n &[content-position=\"above\"] {\n display: grid;\n grid-template-columns: 1fr;\n .content-hero-block__background,\n .content-hero-block__content {\n grid-row-start: 1;\n grid-column-start: 1;\n }\n .content-hero-block__background {\n height: 100%;\n overflow: hidden;\n\n content-image,\n content-image picture,\n content-image img,\n content-image video {\n height: 100%;\n }\n }\n .content-hero-block__content {\n display: flex;\n // position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n grid-row-start: 1;\n grid-column-start: 1;\n \n > * {\n // display: block;\n width: 100%;\n }\n \n }\n .content-hero-block__content {\n position: relative;\n z-index: 1;\n }\n }\n &[content-position=\"below\"] {\n display: block;\n }\n}","import { Component, h, Host, Prop } from '@stencil/core';\nimport { Element, HTMLStencilElement, Listen, State } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveString } from '../../typings';\nimport { getHydratedClassString } from '../../utils/utils';\nexport type HeroContentPlacementOptions = 'above' | 'below';\n/**\n * @slot background - This slot is usually either a video or image component.\n * @slot content - This slot will usually serve a text block.\n * @slot - Default slot, same as content slot\n */\n@Component({\n tag: 'content-hero-block',\n styleUrl: 'content-hero-block.scss',\n shadow: false,\n})\nexport class ContentHeroBlock {\n @Element() hostElement: HTMLStencilElement;\n @State() hasBackground: boolean = false;\n /**\n * Pipe separated HeroContentPlacementOptions that will determine whether the content sits below the media slot or overlapped above.\n * @type Select\n * @options below\n * @options above\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n contentPosition: ResponsiveString | HeroContentPlacementOptions = 'below|above';\n\n /**\n * @type String\n * @responsive\n */\n @Prop() classes: ResponsiveString;\n @State() classString;\n @State() revealHiddenContent: boolean = false;\n hasHiddenContent: boolean;\n\n componentWillLoad() {\n this.hasBackground = !!this.hostElement.querySelector('[slot=\"background\"]');\n this.hasHiddenContent = !!this.hostElement.querySelector('[slot=\"activatedContent\"]');\n WindowResizeService.registerProp(this.contentPosition).subscribe(newValue => (this.contentPosition = newValue as string));\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue as string));\n }\n\n @Listen('open', { target: 'window' })\n contentBlockActivationHandler(event: CustomEvent<HTMLElement>) {\n if (this.hostElement === event.detail) {\n this.hostElement.setAttribute('activated', 'true');\n }\n }\n\n render() {\n return (\n <Host class={this.classString}>\n {this.hasBackground && (\n <div class=\"content-hero-block__background\">\n <slot name=\"background\"></slot>\n </div>\n )}\n <div class=\"content-hero-block__content\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n","content-image {\n display: block;\n height: auto;\n transition: opacity .3s;\n position: relative;\n &.content-image-loading {\n opacity: 0;\n }\n &.content-image-loaded {\n opacity: 1;\n }\n\n &[aspect-ratio] {\n img, picture, video {\n aspect-ratio: var(--aspect-ratio);\n object-fit: cover;\n }\n }\n img,\n picture,\n video {\n display: block;\n width: 100%;\n height: 100%;\n }\n\n .content-image__media-content {\n display: none;\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n [slot=\"mediaContent\"] {\n height: 100%;\n width: 100%;\n }\n }\n &[content=\"true\"] .content-image__media-content {\n display: flex;\n }\n}\n","import { Component, h, Host, Element, Prop, State, Watch } from '@stencil/core';\nimport { HostElement } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveBoolean, ResponsiveNumber, ResponsiveString } from '../../typings';\nimport { breakpointValues, getCurrentValue, getValueAtIndex } from '../../utils/utils';\n\n/**\n * @slot mediaContent - Content displayed over media. If you want to reveal content on hover, use a tout block\n */\n@Component({\n tag: 'content-image',\n styleUrl: 'content-image.scss',\n shadow: false,\n})\nexport class ContentImage {\n @Element() hostElement: HostElement;\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n classes: ResponsiveString;\n /**\n * @type Boolean\n */\n @Prop() lazyLoad: boolean = true;\n /**\n * @type Media\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: false,\n })\n src!: ResponsiveString;\n @State() activeSrc;\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n alt: ResponsiveString;\n /**\n * @type Number\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: false,\n })\n width: ResponsiveNumber = '16';\n /**\n * @type Number\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: false,\n })\n height: ResponsiveNumber = '9';\n\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: false,\n })\n aspectRatio: ResponsiveString;\n /**\n * @type Select\n * @options image\n * @options video\n */\n @Prop() type?: 'image' | 'video' = 'image';\n\n /**\n * @type Select\n * @options video/mp4\n */\n @Prop() videoType?: string = 'video/mp4';\n\n /**\n * If true, the content in the mediaContent slot will be visible.\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n showContent: ResponsiveBoolean = 'false|true';\n\n @State() lazyLoadIsComplete: boolean = false;\n @State() showVideoAsGif: boolean = false;\n @State() activeLazyLoadClass = '';\n @State() classString = '';\n @State() inlineStyle?: { [key: string]: string } = {};\n @State() hasMediaContent: boolean = false;\n @State() pictureImageSrc: string;\n preloadImage(src) {\n return new Promise(r => {\n const image = new Image();\n image.onload = r;\n image.onerror = r;\n image.src = src;\n });\n }\n\n componentWillLoad() {\n this.hasMediaContent = !!this.hostElement.querySelector('[slot=\"mediaContent\"]');\n WindowResizeService.registerProp(this.aspectRatio).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, '--aspect-ratio': `${newValue}` };\n });\n WindowResizeService.registerProp(this.alt).subscribe(newValue => {\n this.alt = newValue as string;\n });\n WindowResizeService.registerProp(this.height).subscribe(newValue => {\n this.height = newValue as string;\n });\n WindowResizeService.registerProp(this.showContent).subscribe(newValue => {\n this.showContent = newValue as string;\n });\n WindowResizeService.registerProp(this.classes).subscribe(newValue => {\n this.classString = `${newValue}`;\n });\n }\n\n componentDidLoad() {\n let observer = new IntersectionObserver(\n entries => {\n entries.forEach(async entry => {\n if (entry.isIntersecting) {\n this.lazyLoadIsComplete = true;\n this.pictureImageSrc = getCurrentValue(this.src);\n this.showVideoAsGif = this.pictureImageSrc.indexOf('.mp4') >= 0 || getCurrentValue(this.type) === 'video';\n }\n });\n },\n {\n root: null,\n rootMargin: `${Math.max(100, window.innerHeight * 1)}px`,\n // rootMargin: `0px`,\n threshold: 0,\n },\n );\n observer.observe(this.hostElement);\n }\n\n @Watch('lazyLoadIsComplete')\n watchLazyLoadIsComplete(newValue: boolean) {\n if (newValue === true) {\n this.activeLazyLoadClass = 'content-image-loaded';\n } else {\n if (!this.lazyLoad) {\n this.activeLazyLoadClass = 'content-image-no-lazyload';\n } else {\n this.activeLazyLoadClass = 'content-image-loading';\n }\n }\n }\n\n render() {\n return (\n <Host class={`${this.activeLazyLoadClass} ${this.classString}`} style={this.inlineStyle} content={this.showContent}>\n {this.hasMediaContent && (\n <div class=\"content-image__media-content\">\n <slot name=\"mediaContent\"></slot>\n </div>\n )}\n {this.showVideoAsGif && (\n <video autoplay muted loop preload=\"none\" playsinline width={this.width} height={this.height}>\n <source src={this.lazyLoadIsComplete ? this.pictureImageSrc : null} type={this.videoType} />\n </video>\n )}\n {this.pictureImageSrc && !this.showVideoAsGif && <img width={this.width} height={this.height} src={this.pictureImageSrc} alt={this.alt} />}\n </Host>\n );\n }\n}\n","content-line {\n --text-align: default;\n --inner-max-width: 100%;\n\n display: block;\n text-align: var(--text-align);\n word-break: break-word;\n white-space: normal;\n \n .content-line__inner {\n display: inline-block;\n width: auto;\n max-width: var(--max-width);\n }\n}","import { Component, Prop, h, State, Host } from '@stencil/core';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveNumber, ResponsiveString } from '../../typings';\nexport type ContentLineTagOptions = 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span' | 'section' | 'article';\nexport type ContentLineTextAlignOptions = 'default' | 'left' | 'center' | 'right';\n/**\n * @slot content - Inner contents of the line, usually plaintext.\n * @slot - Default slot, same as content slot.\n */\n@Component({\n tag: 'content-line',\n styleUrl: 'content-line.scss',\n shadow: false,\n})\nexport class ContentLine {\n /**\n * The element tag to use.\n * @type Select\n * @options div\n * @options p\n * @options h1\n * @options h2\n * @options h3\n * @options h4\n * @options h5\n * @options h6\n * @options span\n * @options section\n * @options article\n */\n @Prop() tag: ContentLineTagOptions = 'div';\n\n /**\n * Pipe separated list of ContentLineTextAlignOptions for text alignment.\n * @type Select\n * @options default\n * @options left\n * @options center\n * @options right\n * @responsive\n */\n @Prop() textAlign: ContentLineTextAlignOptions = 'default';\n\n /**\n * The font class for the line.\n * @type String\n * @responsive\n */\n @Prop() classes;\n @State() classString;\n\n /**\n * Pipe separated list of max width numbers. You can also use units such as \"px\" and \"vw\". If no unit is provided, defaults to percentage.\n * @type String\n * @responsive\n */\n @Prop() maxWidth: ResponsiveNumber = '100%';\n @State() inlineStyle: { [key: string]: string } = {};\n\n componentWillLoad() {\n WindowResizeService.registerProp(this.textAlign).subscribe(newValue => {\n this.inlineStyle = {\n ...this.inlineStyle,\n '--text-align': newValue as ContentLineTextAlignOptions,\n };\n });\n WindowResizeService.registerProp(this.maxWidth).subscribe((newValue: string | number) => {\n this.inlineStyle = {\n ...this.inlineStyle,\n '--max-width': isNaN(newValue as number) ? (newValue as string) : newValue + '%',\n };\n });\n WindowResizeService.registerProp(this.classes).subscribe(newValue => {\n this.classString = newValue as string;\n });\n }\n\n render() {\n // The capital case in this JSX variable is important\n const ElementTagParsed = `${this.tag}`;\n return (\n <Host class={this.classString} style={this.inlineStyle}>\n <ElementTagParsed class=\"content-line__inner\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </ElementTagParsed>\n </Host>\n );\n }\n}","/**\n * @namespace aria\n */\n\nvar aria = aria || {};\naria.Utils = aria.Utils || {};\n\n// Polyfill src https://developer.mozilla.org/en-US/docs/Web/API/Element/matches\naria.Utils.matches = function (element, selector) {\n return element.matches(selector);\n};\n\naria.Utils.remove = function (item) {\n if (item.remove && typeof item.remove === 'function') {\n return item.remove();\n }\n if (item.parentNode &&\n item.parentNode.removeChild &&\n typeof item.parentNode.removeChild === 'function') {\n return item.parentNode.removeChild(item);\n }\n return false;\n};\n\naria.Utils.isFocusable = function (element) {\n if (element.tabIndex > 0 || (element.tabIndex === 0 && element.getAttribute('tabIndex') !== null)) {\n return true;\n }\n\n if (element.disabled) {\n return false;\n }\n\n switch (element.nodeName) {\n case 'A':\n return !!element.href && element.rel != 'ignore';\n case 'INPUT':\n return element.type != 'hidden' && element.type != 'file';\n case 'BUTTON':\n case 'SELECT':\n case 'TEXTAREA':\n return true;\n default:\n return false;\n }\n};\n\naria.Utils.getAncestorBySelector = function (element, selector) {\n if (!aria.Utils.matches(element, selector + ' ' + element.tagName)) {\n // Element is not inside an element that matches selector\n return null;\n }\n\n // Move up the DOM tree until a parent matching the selector is found\n var currentNode = element;\n var ancestor = null;\n while (ancestor === null) {\n if (aria.Utils.matches(currentNode.parentNode, selector)) {\n ancestor = currentNode.parentNode;\n }\n else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return ancestor;\n};\n\naria.Utils.hasClass = function (element, className) {\n return (new RegExp('(\\\\s|^)' + className + '(\\\\s|$)')).test(element.className);\n};\n\naria.Utils.addClass = function (element, className) {\n if (!aria.Utils.hasClass(element, className)) {\n element.className += ' ' + className;\n }\n};\n\naria.Utils.removeClass = function (element, className) {\n var classRegex = new RegExp('(\\\\s|^)' + className + '(\\\\s|$)');\n element.className = element.className.replace(classRegex, ' ').trim();\n};\n\naria.Utils.bindMethods = function (object) {\n var methodNames = Array.prototype.slice.call(arguments, 1);\n methodNames.forEach(function (method) {\n object[method] = object[method].bind(object);\n });\n};\n\nwindow.aria = aria;","/*\n* This content is licensed according to the W3C Software License at\n* https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document\n*/\n/**\n * @namespace aria\n */\n\n var aria = aria || {};\n aria.Utils = aria.Utils || {};\n \n // Polyfill src https://developer.mozilla.org/en-US/docs/Web/API/Element/matches\n aria.Utils.matches = function (element, selector) {\n return element.matches(selector);\n };\n \n aria.Utils.remove = function (item) {\n if (item.remove && typeof item.remove === 'function') {\n return item.remove();\n }\n if (item.parentNode &&\n item.parentNode.removeChild &&\n typeof item.parentNode.removeChild === 'function') {\n return item.parentNode.removeChild(item);\n }\n return false;\n };\n \n aria.Utils.isFocusable = function (element) {\n if (element.tabIndex > 0 || (element.tabIndex === 0 && element.getAttribute('tabIndex') !== null)) {\n return true;\n }\n \n if (element.disabled) {\n return false;\n }\n \n switch (element.nodeName) {\n case 'A':\n return !!element.href && element.rel != 'ignore';\n case 'INPUT':\n return element.type != 'hidden' && element.type != 'file';\n case 'BUTTON':\n case 'SELECT':\n case 'TEXTAREA':\n return true;\n default:\n return false;\n }\n };\n \n aria.Utils.getAncestorBySelector = function (element, selector) {\n if (!aria.Utils.matches(element, selector + ' ' + element.tagName)) {\n // Element is not inside an element that matches selector\n return null;\n }\n \n // Move up the DOM tree until a parent matching the selector is found\n var currentNode = element;\n var ancestor = null;\n while (ancestor === null) {\n if (aria.Utils.matches(currentNode.parentNode, selector)) {\n ancestor = currentNode.parentNode;\n }\n else {\n currentNode = currentNode.parentNode;\n }\n }\n \n return ancestor;\n };\n \n aria.Utils.hasClass = function (element, className) {\n return (new RegExp('(\\\\s|^)' + className + '(\\\\s|$)')).test(element.className);\n };\n \n aria.Utils.addClass = function (element, className) {\n if (!aria.Utils.hasClass(element, className)) {\n element.className += ' ' + className;\n }\n };\n \n aria.Utils.removeClass = function (element, className) {\n var classRegex = new RegExp('(\\\\s|^)' + className + '(\\\\s|$)');\n element.className = element.className.replace(classRegex, ' ').trim();\n };\n \n aria.Utils.bindMethods = function (object) {\n var methodNames = Array.prototype.slice.call(arguments, 1);\n methodNames.forEach(function (method) {\n object[method] = object[method].bind(object);\n });\n };\n \n \n /*\n * When util functions move focus around, set this true so the focus listener\n * can ignore the events.\n */\naria.Utils.IgnoreUtilFocusChanges = false;\n\naria.Utils.dialogOpenClass = 'has-dialog';\n\n/**\n * @desc Set focus on descendant nodes until the first focusable element is\n * found.\n * @param element\n * DOM node for which to find the first focusable descendant.\n * @returns\n * true if a focusable element is found and focus is set.\n */\naria.Utils.focusFirstDescendant = function (element) {\n for (var i = 0; i < element.childNodes.length; i++) {\n var child = element.childNodes[i];\n if (aria.Utils.attemptFocus(child) ||\n aria.Utils.focusFirstDescendant(child)) {\n return true;\n }\n }\n return false;\n}; // end focusFirstDescendant\n\n/**\n * @desc Find the last descendant node that is focusable.\n * @param element\n * DOM node for which to find the last focusable descendant.\n * @returns\n * true if a focusable element is found and focus is set.\n */\naria.Utils.focusLastDescendant = function (element) {\n for (var i = element.childNodes.length - 1; i >= 0; i--) {\n var child = element.childNodes[i];\n if (aria.Utils.attemptFocus(child) ||\n aria.Utils.focusLastDescendant(child)) {\n return true;\n }\n }\n return false;\n}; // end focusLastDescendant\n\n/**\n * @desc Set Attempt to set focus on the current node.\n * @param element\n * The node to attempt to focus on.\n * @returns\n * true if element is focused.\n */\naria.Utils.attemptFocus = function (element) {\n if (!aria.Utils.isFocusable(element)) {\n return false;\n }\n \n aria.Utils.IgnoreUtilFocusChanges = true;\n try {\n element.focus();\n }\n catch (e) {\n }\n aria.Utils.IgnoreUtilFocusChanges = false;\n return (document.activeElement === element);\n}; // end attemptFocus\n\n/* Modals can open modals. Keep track of them with this array. */\naria.OpenDialogList = aria.OpenDialogList || new Array(0);\n\n/**\n * @returns the last opened dialog (the current dialog)\n */\naria.getCurrentDialog = function () {\n if (aria.OpenDialogList && aria.OpenDialogList.length) {\n return aria.OpenDialogList[aria.OpenDialogList.length - 1];\n }\n};\n\naria.closeCurrentDialog = function () {\n var currentDialog = aria.getCurrentDialog();\n if (currentDialog) {\n currentDialog.close();\n return true;\n }\n \n return false;\n};\n\n aria.handleEscape = function (event) {\n if (event.key === 'Escape' && aria.closeCurrentDialog()) {\n event.stopPropagation();\n }\n };\n\n document.addEventListener('keyup', aria.handleEscape);\n\n /**\n * @constructor\n * @desc Dialog object providing modal focus management.\n *\n * Assumptions: The element serving as the dialog container is present in the\n * DOM and hidden. The dialog container has role='dialog'.\n *\n * @param dialogNode\n * The element serving as the dialog container.\n * @param focusAfterClosed\n * Either the DOM node or the ID of the DOM node to focus when the\n * dialog closes.\n * @param focusFirst\n * Optional parameter containing either the DOM node or the ID of the\n * DOM node to focus when the dialog opens. If not specified, the\n * first focusable element in the dialog will receive focus.\n */\n aria.Dialog = function (dialogNode, focusAfterClosed, focusFirst, isFullScreen) {\n this.dialogNode = dialogNode;\n if (this.dialogNode === null) {\n throw new Error('No element found');\n }\n\n var validRoles = ['dialog', 'alertdialog'];\n var isDialog = (this.dialogNode.getAttribute('role') || '')\n .trim()\n .split(/\\s+/g)\n .some(function (token) {\n return validRoles.some(function (role) {\n return token === role;\n });\n });\n if (!isDialog) {\n throw new Error(\n 'Dialog() requires a DOM element with ARIA role of dialog or alertdialog.');\n }\n\n // Wrap in an individual backdrop element if one doesn't exist\n // Native <dialog> elements use the ::backdrop pseudo-element, which\n // works similarly.\n var backdropClass = 'content-overlay-background';\n if (this.dialogNode.parentNode.classList.contains(backdropClass)) {\n this.backdropNode = this.dialogNode.parentNode;\n }\n else {\n this.backdropNode = document.createElement('div');\n this.backdropNode.className = backdropClass;\n this.dialogNode.parentNode.insertBefore(this.backdropNode, this.dialogNode);\n this.backdropNode.appendChild(this.dialogNode);\n }\n this.backdropNode.classList.add('active');\n setTimeout(() => {\n this.backdropNode.classList.add('transition');\n }, 1);\n\n // Disable scroll on the body element\n this.isFullscreen = isFullScreen;\n if (isFullScreen) {\n document.body.classList.add(aria.Utils.dialogOpenClass);\n }\n\n if (typeof focusAfterClosed === 'string') {\n this.focusAfterClosed = document.getElementById(focusAfterClosed);\n }\n else if (typeof focusAfterClosed === 'object') {\n this.focusAfterClosed = focusAfterClosed;\n }\n else {\n throw new Error(\n 'the focusAfterClosed parameter is required for the aria.Dialog constructor.');\n }\n\n if (typeof focusFirst === 'string') {\n this.focusFirst = document.getElementById(focusFirst);\n }\n else if (typeof focusFirst === 'object') {\n this.focusFirst = focusFirst;\n }\n else {\n this.focusFirst = null;\n }\n\n // Bracket the dialog node with two invisible, focusable nodes.\n // While this dialog is open, we use these to make sure that focus never\n // leaves the document even if dialogNode is the first or last node.\n var preDiv = document.createElement('div');\n this.preNode = this.dialogNode.parentNode.insertBefore(preDiv,\n this.dialogNode);\n this.preNode.tabIndex = 0;\n var postDiv = document.createElement('div');\n this.postNode = this.dialogNode.parentNode.insertBefore(postDiv,\n this.dialogNode.nextSibling);\n this.postNode.tabIndex = 0;\n\n // If this modal is opening on top of one that is already open,\n // get rid of the document focus listener of the open dialog.\n if (aria.OpenDialogList.length > 0) {\n aria.getCurrentDialog().removeListeners();\n }\n\n if (isFullScreen) {\n this.addListeners();\n }\n aria.OpenDialogList.push(this);\n this.dialogNode.className = 'content-overlay-dialog'; // make visible\n\n if (this.focusFirst) {\n this.focusFirst.focus();\n }\n else {\n aria.Utils.focusFirstDescendant(this.dialogNode);\n }\n\n this.lastFocus = document.activeElement;\n }; // end Dialog constructor\n\n\n /**\n * @desc\n * Hides the current top dialog,\n * removes listeners of the top dialog,\n * restore listeners of a parent dialog if one was open under the one that just closed,\n * and sets focus on the element specified for focusAfterClosed.\n */\n aria.Dialog.prototype.close = function () {\n aria.OpenDialogList.pop();\n this.removeListeners();\n aria.Utils.remove(this.preNode);\n aria.Utils.remove(this.postNode);\n this.dialogNode.className = 'hidden';\n this.backdropNode.classList.remove('active');\n this.backdropNode.classList.remove('transition');\n this.focusAfterClosed.focus();\n\n // If a dialog was open underneath this one, restore its listeners.\n if (aria.OpenDialogList.length > 0 && aria.OpenDialogList.filter(dialog => dialog.isFullscreen === true).length) {\n aria.getCurrentDialog().addListeners();\n }\n else {\n document.body.classList.remove(aria.Utils.dialogOpenClass);\n }\n this.dialogNode.dispatchEvent(new CustomEvent(\"ariaDialog.closed\", {\n bubbles: true,\n \"detail\": {}\n }));\n }; // end close\n\n /**\n * @desc\n * Hides the current dialog and replaces it with another.\n *\n * @param newDialogId\n * ID of the dialog that will replace the currently open top dialog.\n * @param newFocusAfterClosed\n * Optional ID or DOM node specifying where to place focus when the new dialog closes.\n * If not specified, focus will be placed on the element specified by the dialog being replaced.\n * @param newFocusFirst\n * Optional ID or DOM node specifying where to place focus in the new dialog when it opens.\n * If not specified, the first focusable element will receive focus.\n */\n aria.Dialog.prototype.replace = function (newDialogId, newFocusAfterClosed,\n newFocusFirst) {\n // var closedDialog = aria.getCurrentDialog();\n aria.OpenDialogList.pop();\n this.removeListeners();\n aria.Utils.remove(this.preNode);\n aria.Utils.remove(this.postNode);\n this.dialogNode.className = 'hidden';\n this.backdropNode.classList.remove('active');\n this.backdropNode.classList.remove('transition');\n\n var focusAfterClosed = newFocusAfterClosed || this.focusAfterClosed;\n new aria.Dialog(newDialogId, focusAfterClosed, newFocusFirst);\n // var dialog = new aria.Dialog(newDialogId, focusAfterClosed, newFocusFirst);\n }; // end replace\n\n aria.Dialog.prototype.addListeners = function () {\n document.addEventListener('focus', this.trapFocus, true);\n }; // end addListeners\n\n aria.Dialog.prototype.removeListeners = function () {\n document.removeEventListener('focus', this.trapFocus, true);\n }; // end removeListeners\n\n aria.Dialog.prototype.trapFocus = function (event) {\n if (aria.Utils.IgnoreUtilFocusChanges) {\n return;\n }\n var currentDialog = aria.getCurrentDialog();\n if (currentDialog.dialogNode.contains(event.target)) {\n currentDialog.lastFocus = event.target;\n }\n else {\n aria.Utils.focusFirstDescendant(currentDialog.dialogNode);\n if (currentDialog.lastFocus == document.activeElement) {\n aria.Utils.focusLastDescendant(currentDialog.dialogNode);\n }\n currentDialog.lastFocus = document.activeElement;\n }\n }; // end trapFocus\n\n aria.closeDialog = function (closeButton) {\n var topDialog = aria.getCurrentDialog();\n if (topDialog.dialogNode.contains(closeButton)) {\n topDialog.close();\n }\n }; // end closeDialog\n\n aria.replaceDialog = function (newDialogId, newFocusAfterClosed,\n newFocusFirst) {\n var topDialog = aria.getCurrentDialog();\n if (topDialog.dialogNode.contains(document.activeElement)) {\n topDialog.replace(newDialogId, newFocusAfterClosed, newFocusFirst);\n }\n }; // end replaceDialog\n\n window.aria = aria;",".content-overlay-open {\n overflow: hidden;\n}\n.content-block-overlay-container {\n position: relative;\n display: block;\n width: 100%;\n height: 100%;\n}\ncontent-overlay {\n display: none;\n position: relative;\n flex: 0;\n .content-overlay__content>*[slot=\"content\"] {\n height: 100%;\n overflow: auto;\n }\n &.content-overlay-active {\n display: flex;\n }\n &[vertical=\"left\"] {\n align-items: flex-start;\n }\n &[vertical=\"center\"] {\n align-items: center;\n }\n &[vertical=\"right\"] {\n align-items: flex-end;\n }\n \n &[vertical=\"top\"] {\n justify-content: flex-start;\n top: 0;\n }\n &[vertical=\"center\"] {\n justify-content: center;\n }\n &[vertical=\"bottom\"] {\n justify-content: flex-end;\n bottom: 0;\n }\n \n .content-overlay-background {\n background: rgba(255,255,255,.6);\n bottom: 0;\n display: none;\n top: 0;\n z-index: 100000;\n right: 0;\n left: 0;\n width: 100%;\n &.active {\n display: block;\n }\n }\n .content-overlay__header {\n display: flex;\n align-items: center;\n }\n .content-overlay__close {\n order: 2;\n margin-left: auto;\n cursor: pointer;\n z-index: 1;\n appearance: none;\n background: none;\n border: none;\n min-width: 40px;\n // color: white;\n // &:after {\n // content: \"\\00d7\";\n // font-size: 2.5rem;\n // }\n }\n\n &[position=\"fixed\"] {\n .content-overlay-background {\n position: fixed;\n }\n }\n\n &[position=\"absolute\"] {\n position: absolute;\n box-sizing: border-box;\n z-index: 100000;\n height: 100%;\n width: 100%;\n left: 0;\n .content-overlay-background {\n position: static;\n }\n }\n\n &[position=\"absolute\"],\n &[position=\"fixed\"] {\n .content-overlay__content {\n flex: 1;\n overflow: auto;\n }\n }\n\n [role=\"dialog\"] {\n display: flex;\n flex-direction: column;\n height: 100%;\n justify-content: flex-start;\n &.hidden {\n display: none;\n }\n }\n &[full-screen=\"true\"] {\n height: 100%;\n .content-overlay-background { \n height: 100%;\n }\n }\n}\n\n/* this is added to the body when a dialog is open */\nbody.has-dialog {\n overflow: hidden;\n}\n// .content-overlay--no-fullscreen {\n// position: relative;\n// .content-overlay-background {\n// position: static;\n// }\n// [role=\"dialog\"] {\n// top: 0;\n// bottom: 0;\n// left: 0;\n// right: 0;\n// position: absolute;\n// width: 100%;\n// height: 100%;\n// transform: none;\n// }\n// }\n","import { Component, Host, h, Prop, State, Listen, Element } from '@stencil/core';\nimport { Event, EventEmitter, HTMLStencilElement, Method } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ContentLineTextAlignOptions, ContentVerticalAlignments, ResponsiveBoolean, ResponsiveString } from '../../typings';\nimport * as focusTrap from 'focus-trap';\nimport './libraries/aria-utilities';\nimport './libraries/aria-dialog';\n/**\n * @slot closeButton - Contents of the overlay close button.\n * @slot header - This is adjacent to the close button, usually a header or title for the overlay.\n * @slot content - Contents that sit inside the overlay.\n */\n@Component({\n tag: 'content-overlay',\n styleUrl: 'content-overlay.scss',\n shadow: false,\n})\nexport class ContentOverlay {\n @Element() hostElement: HTMLStencilElement;\n /**\n * @type String\n * @responsive\n */\n @Prop() target: string;\n\n /**\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n open: ResponsiveBoolean = 'false';\n /**\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n fullScreen: ResponsiveBoolean = 'true';\n /**\n * @type String\n * @responsive\n */\n @Prop() classes: ResponsiveString;\n /**\n * A pipe delimited setting for horizontal alignment. This only applies when fullscreen mode is activated.\n * @type Select\n * @options default\n * @options left\n * @options center\n * @options right\n * @responsive\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n horizontal: ContentLineTextAlignOptions = 'center';\n /**\n * A pipe delimited setting for vertical alignment. This only applies when fullscreen mode is activated.\n * @type Select\n * @options top\n * @options center\n * @options bottom\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n vertical: ContentVerticalAlignments = 'center';\n\n /**\n * Title attribute value for the close button.\n * @type String\n */\n @Prop() closeTitle: string = 'Close Overlay';\n /**\n * Position of the overlay.\n * @type Select\n * @options absolute\n * @options fixed\n * @options static\n * @options sticky\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n position: ResponsiveString = 'fixed';\n @State() isActive: boolean = false;\n @State() activeClass: string = '';\n @State() classString: string = '';\n @Event({\n bubbles: true,\n })\n contentOverlayActivated: EventEmitter<HTMLElement>;\n\n @State() contentSlot: HTMLElement;\n\n dialogElement: HTMLDivElement;\n contentElement: HTMLDivElement;\n\n @State() isFullScreen: boolean = false;\n @State() hasCloseButton: boolean = false;\n @State() originalMarkup: string;\n ariaDialog;\n focusTrap;\n @Listen('toggle')\n onContentBlockToggle(event: CustomEvent) {\n if (this.hostElement.getAttribute('id') === event.detail.getAttribute('id')) {\n event.preventDefault();\n if (!this.isActive) {\n this.openOverlay();\n } else {\n this.closeOverlay();\n }\n }\n }\n @Listen('open')\n onContentBlockActivated(event: CustomEvent) {\n if (this.hostElement.getAttribute('id') === event.detail.getAttribute('id')) {\n event.preventDefault();\n this.openOverlay();\n }\n }\n @Listen('close')\n onContentBlockDeactivated(event: CustomEvent) {\n if (this.hostElement.getAttribute('id') === event.detail.getAttribute('id')) {\n event.preventDefault();\n this.closeOverlay();\n }\n }\n\n @Method()\n async openOverlay() {\n this.isActive = true;\n document.body.classList.add('content-overlay-open');\n document.body.classList.remove('content-overlay-close');\n if (!this.originalMarkup) {\n this.originalMarkup = this.contentSlot.innerHTML;\n }\n if (this.target) {\n let targetElement = document.querySelector(this.target);\n if (targetElement) {\n targetElement.classList.add('content-block-overlay-container');\n targetElement.appendChild(this.hostElement);\n }\n // } else if (this.isFullScreen) {\n // if (document.querySelectorAll(`#${this.hostElement.getAttribute('id')}`).length === 1) {\n // document.body.appendChild(this.hostElement);\n // }\n }\n\n if (this.originalMarkup) {\n this.contentSlot.innerHTML = this.originalMarkup;\n if (this.contentSlot.children[0] === this.contentSlot.querySelector('script[slot=\"content\"][type=\"text/template\"]')) {\n this.contentSlot.innerHTML = this.contentSlot.children[0].innerHTML;\n }\n this.setComputedActiveClass();\n this.focusTrap = focusTrap.createFocusTrap(this.hostElement, {\n fallbackFocus: this.hostElement,\n allowOutsideClick: true,\n clickOutsideDeactivates: true,\n onDeactivate: () => {\n this.isActive = false;\n document.body.classList.add('content-overlay-close');\n document.body.classList.remove('content-overlay-open');\n this.activeClass = '';\n this.setComputedActiveClass();\n this.contentSlot.innerHTML = '';\n },\n });\n }\n this.contentOverlayActivated.emit(this.hostElement);\n }\n\n @Method()\n async closeOverlay() {\n if (this.focusTrap) {\n try {\n this.focusTrap.deactivate();\n } catch (e) {\n console.log(e);\n }\n }\n }\n\n setComputedActiveClass() {\n this.activeClass = `content-overlay ${this.isActive ? 'content-overlay-active' : 'content-overlay-inactive'} content-overlay--${this.position}`;\n }\n\n componentWillLoad() {\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = `${newValue}`));\n WindowResizeService.registerProp(this.position).subscribe(newValue => (this.position = newValue as string));\n WindowResizeService.registerProp(this.horizontal).subscribe(newValue => this.hostElement.setAttribute('horizontal', newValue as ContentLineTextAlignOptions));\n WindowResizeService.registerProp(this.vertical).subscribe(newValue => this.hostElement.setAttribute('vertical', newValue as ContentVerticalAlignments));\n WindowResizeService.registerProp(this.fullScreen).subscribe(newValue => {\n this.fullScreen = newValue as string;\n this.isFullScreen = (newValue as string) === 'true';\n });\n WindowResizeService.registerProp(this.open).subscribe(newValue => {\n this.hostElement.setAttribute('open', newValue as string);\n });\n this.hasCloseButton = !!this.hostElement.querySelector('[slot=\"closeButton\"]');\n }\n\n closeOverlayButtonClicked(event) {\n event.preventDefault();\n this.closeOverlay();\n }\n\n render() {\n return (\n <Host class={`${this.activeClass} ${this.classString}`} position={this.position}>\n <div class=\"content-block-overlay-container\">\n <div class={`content-overlay-background ${this.isActive ? 'active' : ''}`}>\n <div ref={element => (this.dialogElement = element)} role=\"dialog\" aria-modal=\"true\" class={this.isActive ? 'active' : 'hidden'} aria-expanded={this.isActive}>\n <div class=\"content-overlay__header\">\n <button\n onClick={e => {\n this.closeOverlayButtonClicked(e);\n }}\n class=\"content-overlay__close\"\n title={this.closeTitle}\n >\n {!this.hasCloseButton && (\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M6 18 18 6M6 6l12 12\" />\n </svg>\n )}\n <slot name=\"closeButton\"></slot>\n </button>\n <slot name=\"header\"></slot>\n </div>\n <div class=\"content-overlay__content\" ref={(el: HTMLDivElement) => (this.contentSlot = el)}>\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n\n componentDidRender() {\n if (this.open === 'true') {\n this.openOverlay();\n }\n if (this.isActive && this.focusTrap && !this.focusTrap.active) {\n try {\n this.focusTrap.activate();\n } catch (e) {\n console.log(e);\n }\n }\n }\n}\n","content-spacer {\n display: block;\n width: 100%;\n height: auto;\n .content-spacer__content {\n width: 100%;\n }\n &[full-height=\"true\"] {\n height: 100%;\n }\n &[text-align=\"left\"] {\n text-align: left;\n }\n &[text-align=\"center\"] {\n text-align: center;\n }\n &[text-align=\"right\"] {\n text-align: right;\n }\n &[horizontal=\"left\"] {\n margin-left: 0;\n margin-right: auto;\n }\n &[horizontal=\"center\"] {\n margin-left: auto;\n margin-right: auto;\n }\n &[horizontal=\"right\"] {\n margin-left: auto;\n margin-right: 0;\n }\n\n &[vertical] {\n display: flex;\n // flex-direction: column;\n }\n\n &[vertical=\"top\"] {\n align-items: flex-start;\n }\n &[vertical=\"center\"] {\n align-items: center;\n }\n &[vertical=\"bottom\"] {\n align-items: flex-end;\n }\n}","import { Component, h, Prop, State, Host } from '@stencil/core';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ContentLineTextAlignOptions, ContentVerticalAlignments, ResponsiveBoolean, ResponsiveNumber, ResponsiveString } from '../../typings';\n\n/**\n * @slot content - Inner contents of spacing wrapper, can be anything.\n * @slot - Default slot, same as content slot.\n */\n@Component({\n tag: 'content-spacer',\n styleUrls: ['content-spacer.scss'],\n shadow: false,\n})\nexport class ContentSpacingWrapper {\n /**\n * @type String\n * @responsive\n */\n @Prop() classes: ResponsiveString;\n @State() classString;\n /**\n * Pipe separated list of max width numbers. You can also use units such as \"px\" and \"vw\".\n * @type String\n * @responsive\n */\n @Prop() maxWidth: ResponsiveNumber = '100';\n\n /**\n * Pipe separated boolean values for full height. Typically, this is used if you have a hero block and you want a footer that aligns with the text layer. This is a niche case, but a valid one.\n * @type Boolean\n * @responsive\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n fullHeight: ResponsiveBoolean = 'false';\n\n /**\n * Pipe separated list of ContentLineTextAlignOptions for text alignment.\n * @type Select\n * @options default\n * @options left\n * @options center\n * @options right\n * @responsive\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n textAlign: ContentLineTextAlignOptions = 'default';\n\n /**\n * Pipe separated list of ContentLineTextAlignOptions for where to place text box when a max width is specified.\n * @type Select\n * @options default\n * @options left\n * @options center\n * @options right\n * @responsive\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n horizontal: ContentLineTextAlignOptions = 'default';\n\n /**\n * Pipe separated list of ContentVerticalAlignments for text box placement.\n * @type Select\n * @options top\n * @options center\n * @options bottom\n * @options default\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n vertical: ResponsiveString | ContentVerticalAlignments = '';\n\n /**\n * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.\n * @type Number\n * @string\n * @responsive\n */\n @Prop() topOffset: ResponsiveNumber = '0';\n\n /**\n * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.\n * @type Number\n * @string\n * @responsive\n */\n @Prop() bottomOffset: ResponsiveNumber = '0';\n\n /**\n * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.\n * @type Number\n * @string\n * @responsive\n */\n @Prop() leftOffset: ResponsiveNumber = '0';\n\n /**\n * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.\n * @type Number\n * @string\n * @responsive\n */\n @Prop() rightOffset: ResponsiveNumber = '0';\n\n @State() inlineStyle?: { [key: string]: string } = {};\n\n componentWillLoad() {\n WindowResizeService.registerProp(this.fullHeight).subscribe(newValue => (this.fullHeight = newValue as string));\n WindowResizeService.registerProp(this.textAlign).subscribe(newValue => (this.textAlign = newValue as ContentLineTextAlignOptions));\n WindowResizeService.registerProp(this.horizontal).subscribe(newValue => (this.horizontal = newValue as ContentLineTextAlignOptions));\n WindowResizeService.registerProp(this.vertical).subscribe(newValue => (this.vertical = newValue as ContentVerticalAlignments));\n WindowResizeService.registerProp(this.maxWidth).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'max-width': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.topOffset).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'padding-top': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.bottomOffset).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'padding-bottom': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.leftOffset).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'padding-left': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.rightOffset).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'padding-right': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue as string));\n }\n\n render() {\n return (\n <Host class={this.classString} style={this.inlineStyle}>\n <div class=\"content-spacer__content\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n","content-text-block {\n display: block;\n width: 100%;\n // height: 100%; // for content-block-tout mediaContent button positioning\n text-align: initial;\n // content-hero-block &,\n // content-grid-formatter & {\n // height: auto;\n // &[vertical=\"bottom\"],\n // &[vertical=\"center\"] {\n // height: 100%;\n // }\n // }\n \n &[full-height=\"true\"] {\n height: 100%;\n }\n > *[slot=\"footer\"] {\n margin-top: auto;\n margin-bottom: 0;\n width: 100%;\n padding-top: 1rem;\n height: auto;\n // @media #{$tablet-landscape-up} {\n // margin-top: auto;\n // margin-bottom: 0;\n // width: 100%;\n // }\n }\n &[vertical=\"bottom\"] > [slot=\"footer\"] {\n position: static;\n height: auto;\n }\n &[vertical] {\n display: flex;\n flex-direction: column;\n }\n\n &[vertical=\"top\"] {\n justify-content: flex-start;\n }\n &[vertical=\"center\"] {\n justify-content: center;\n &[footer=\"true\"] {\n .content-text-block__content {\n margin-top: auto;\n margin-bottom: 0;\n }\n }\n }\n &[vertical=\"bottom\"] {\n justify-content: flex-end;\n &[footer=\"true\"] {\n .content-text-block__content {\n margin-top: auto;\n margin-bottom: 0;\n }\n > [slot=\"footer\"] {\n margin-top: 0;\n }\n }\n }\n\n &[text-align=\"left\"] {\n text-align: left;\n }\n &[text-align=\"center\"] {\n text-align: center;\n }\n &[text-align=\"right\"] {\n text-align: right;\n }\n}","import { Component, h, Host, Element, State } from '@stencil/core';\nimport { HTMLStencilElement, Prop } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ContentVerticalAlignments, ResponsiveString, ContentLineTextAlignOptions } from '../../typings';\nimport { objectToCssString } from '../../utils/utils';\n\n/**\n * @slot content - This slot will usually serve a text block.\n * @slot footer - This slot is placed below the content slot\n * @slot - Default slot, same as content slot\n */\n@Component({\n tag: 'content-text-block',\n styleUrl: 'content-text-block.scss',\n shadow: false,\n})\nexport class ContentTextBlock {\n /**\n * This is a pipe separated string representing the style class.\n * @type String\n * @responsive\n */\n @Prop() classes: ResponsiveString;\n @State() classString;\n\n /**\n * This is a pipe separated string representing the minimum height. Units without values default to pixels.\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n minHeight: ResponsiveString;\n\n /**\n * Pipe separated list of ContentVerticalAlignments for text box placement.\n * @type Select\n * @options top\n * @options center\n * @options bottom\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n vertical: ContentVerticalAlignments = 'top';\n\n /**\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n fullHeight: ResponsiveString = 'false';\n\n /**\n * Pipe separated list of ContentLineTextAlignOptions for text alignment.\n * @type Select\n * @options default\n * @options left\n * @options center\n * @options right\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n textAlign: ContentLineTextAlignOptions = 'default';\n @Element() hostElement: HTMLStencilElement;\n @State() inlineStyle?: { [key: string]: string } = {};\n componentWillLoad() {\n if (!!this.hostElement.querySelector('[slot=\"footer\"]')) {\n this.hostElement.setAttribute('footer', 'true');\n }\n WindowResizeService.registerProp(this.minHeight).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'min-height': isNaN(newValue as any) ? (newValue as string) : newValue + 'px' };\n });\n WindowResizeService.registerProp(this.textAlign).subscribe(newValue => this.hostElement.setAttribute('text-align', newValue as ContentLineTextAlignOptions));\n WindowResizeService.registerProp(this.vertical).subscribe(newValue => this.hostElement.setAttribute('vertical', newValue as ContentVerticalAlignments));\n WindowResizeService.registerProp(this.fullHeight).subscribe(newValue => {\n this.hostElement.setAttribute('full-height', newValue as string);\n });\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue as string));\n }\n render() {\n return (\n <Host class={this.classString} style={this.inlineStyle}>\n <div class=\"content-text-block__content\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n <slot name=\"footer\"></slot>\n </Host>\n );\n }\n}\n","content-tout-block {\n .content-tout-block__media {\n position: relative;\n }\n .content-tout-block__media-content {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n [slot=\"mediaContent\"] {\n height: 100%;\n width: 100%;\n }\n }\n\n &[hover=\"true\"] {\n .content-tout-block__media-content {\n transition: opacity .3s;\n @media (hover: hover) {\n opacity: 0;\n &:hover,\n &:focus,\n &:focus-within {\n opacity: 1;\n }\n }\n }\n }\n}","import { Component, h, Host, Element } from '@stencil/core';\nimport { HTMLStencilElement, Prop, State } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveBoolean, ResponsiveString } from '../../typings';\n\n/**\n * @slot media - This slot is usually a video or image component.\n * @slot mediaContent - This is a layer that floats the media layer and is revealed on hover.\n * @slot content - This slot will usually serve a text block.\n * @slot - Default slot, same as content slot.\n */\n@Component({\n tag: 'content-tout-block',\n styleUrl: 'content-tout-block.scss',\n shadow: false,\n})\nexport class ContentToutBlock {\n /**\n * If true, the media content will show only on hover\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n hover: ResponsiveBoolean = 'false|true';\n\n /**\n * @type String\n * @responsive\n */\n @Prop() classes: ResponsiveString;\n @State() classString;\n\n @Element() hostElement: HTMLStencilElement;\n hasMediaContent: boolean;\n\n @State() hasHoverContent: boolean = false;\n\n componentWillLoad() {\n this.hasMediaContent = !!this.hostElement.querySelector('[slot=\"mediaContent\"]');\n WindowResizeService.registerProp(this.hover).subscribe(newValue => (this.hover = newValue as string));\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue as string));\n }\n\n render() {\n return (\n <Host hover={this.hover} class={this.classString}>\n <div class=\"content-tout-block__media\">\n <slot name=\"media\"></slot>\n {this.hasMediaContent && (\n <div class=\"content-tout-block__media-content\">\n <slot name=\"mediaContent\"></slot>\n </div>\n )}\n </div>\n <div class=\"content-tout-block__content\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n","@import \"'~video.js/dist/video-js.min.css\";\ncontent-video {\n display: block;\n width: 100%;\n position: relative;\n // &.hydrated {\n // height: 100%;\n // &.content-video--fit-container {\n // .video-js.vjs-fluid {\n // height: 100%;\n // padding: 0; // remove padding aspect ratio hack\n // }\n // }\n // }\n\n &.content-video--fit-container {\n .video-js.vjs-fluid {\n height: 100%;\n padding: 0; // remove padding aspect ratio hack\n }\n }\n \n &[fit-container='true'] {\n height: 100%;\n }\n\n .content-video__content {\n display: block;\n width: 100%;\n height: 100%;\n }\n\n .content-video__poster {\n position: relative;\n }\n .content-video__play {\n display: none;\n }\n // .content-video__play {\n // cursor: pointer;\n // appearance: none;\n // border: none;\n // background: transparent;\n // position: absolute;\n // top: 0;\n // left: 0;\n // width: 100%;\n // height: 100%;\n // display: flex;\n // align-items: center;\n // justify-content: center;\n // z-index: 1;\n\n // &:before {\n // content: '\\25BA';\n // font-size: 100px;\n // }\n // }\n\n .vjs-content-block-theme {\n &.video-js {\n width: 100%;\n height: 100%;\n\n video.vjs-tech {\n position: static;\n }\n }\n &.vjs-ended,\n &.vjs-waiting {\n .vjs-loading-spinner {\n display: none;\n }\n }\n &:hover,\n &:focus {\n &:not(:focus-visible) {\n // background: transparent;\n }\n .vjs-big-play-button {\n background-color: transparent;\n }\n }\n .vjs-big-play-button {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border: none;\n background: transparent;\n .vjs-icon-placeholder {\n display: block;\n width: 100%;\n height: 100%;\n &:before {\n display: none;\n }\n }\n }\n }\n\n .vjs-poster {\n display: none;\n }\n}\n","import { Component, h, Host } from '@stencil/core';\nimport { Element, HTMLStencilElement, Prop, State } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveString } from '../../typings';\nimport { getCurrentValue, getHydratedClassString } from '../../utils/utils';\nexport type SupportedVideoMethods = 'html5' | 'youtube';\n\n/**\n * @slot poster - Poster shown before video is played.\n * @slot playButton - Play button contents.\n * @slot no-js-message - Contents of no JS message.\n * @slot content - Adjacent to no-js message for video. Usually not needed.\n * @slot - Default slot, same as content slot.\n */\n@Component({\n tag: 'content-video',\n styleUrls: ['content-video.scss'],\n shadow: false,\n})\nexport class ContentVideo {\n public player: any;\n videoElement!: HTMLVideoElement;\n @Element() hostElement: HTMLStencilElement;\n /**\n * @type Select\n * @options youtube\n * @options html5\n */\n @Prop() method: SupportedVideoMethods = 'youtube';\n /**\n * If you're using this inside a content-overlay for example, you may want the video to play immediately on launch.\n * @type Boolean\n */\n @Prop() autoplay: boolean = false;\n /**\n * Supports YouTube and self hosted URLs.\n * @type String\n */\n @Prop() src: string = '';\n /**\n * @type Number\n */\n @Prop() width: number = 16;\n /**\n * @type Number\n */\n @Prop() height: number = 9;\n /**\n * @type String\n */\n @Prop() type: string = 'video/mp4';\n /**\n * @type String\n */\n @Prop() playButtonAriaLabel: string = 'Play';\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n classes: ResponsiveString;\n @State() classString;\n /**\n * @type Boolean\n */\n @Prop() controls: boolean = true;\n /**\n * @type String\n */\n @Prop() preload: string = 'metadata';\n /**\n * Fit the container this video is placed in. When the video is used in an overlay or another place where the video will takeover the existing height, it is recommended to enable this option.\n * @responsive\n * @type String\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n fitContainer: ResponsiveString = 'false';\n @State() isLoaded: boolean = false;\n @State() hasPoster: boolean = false;\n @State() isPlayed: boolean = false;\n\n computedVideoConfig() {\n let videoConfig = {};\n videoConfig = {\n fill: getCurrentValue(this.fitContainer) === 'true',\n fluid: getCurrentValue(this.fitContainer) === 'false',\n autoplay: this.autoplay === true ? 'muted' : false,\n techOrder: ['youtube'],\n src: this.src,\n sources: [\n {\n type: 'video/youtube',\n src: this.src,\n },\n ],\n youtube: {\n showinfo: 0,\n rel: 0,\n modestbranding: 1,\n },\n };\n return videoConfig;\n }\n\n initVideo() {\n this.isLoaded = true;\n }\n\n componentWillLoad() {\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue));\n }\n\n componentDidLoad() {\n let self = this;\n let options = {\n root: null,\n rootMargin: '0px',\n threshold: 0.1,\n };\n\n let observer = new IntersectionObserver(entries => {\n let videojs;\n entries.forEach(async entry => {\n if (entry.isIntersecting) {\n if (!videojs) {\n videojs = await import('video.js');\n await import('videojs-youtube/dist/Youtube.js');\n }\n this.hasPoster = !!this.hostElement.querySelector('[slot=\"poster\"]');\n if (this.videoElement && !this.player) {\n this.player = videojs.default(this.videoElement, this.computedVideoConfig(), function onPlayerReady() {\n self.initVideo();\n if (self.hasPoster || self.autoplay) {\n self.isPlayed = true;\n setTimeout(() => this.play(), 1);\n }\n });\n }\n }\n });\n }, options);\n observer.observe(this.hostElement);\n }\n\n onClickHandler(event: MouseEvent) {\n event.preventDefault();\n if (!this.isLoaded) {\n return false;\n }\n this.initVideo();\n this.isPlayed = true;\n this.player.play();\n if (this.method === 'html5') {\n this.videoElement.play();\n }\n }\n\n render() {\n let showPlayButton = !this.autoplay && ((this.hasPoster && !this.isPlayed) || !this.isPlayed);\n return (\n <Host class={this.classString}>\n {this.hasPoster && !this.isLoaded && (\n <div class=\"content-video__poster\">\n <slot name=\"poster\"></slot>\n </div>\n )}\n {showPlayButton && (\n <button class=\"content-video__play\" aria-label={this.playButtonAriaLabel} onClick={ev => this.onClickHandler(ev)}>\n <slot name=\"playButton\"></slot>\n </button>\n )}\n <div class=\"content-video__content\">\n {(!this.hasPoster || this.isLoaded) && (\n <video\n ref={element => (this.videoElement = element)}\n class=\"video-js vjs-content-block-theme\"\n controls={this.controls}\n preload={this.preload}\n width={this.width}\n height={this.height}\n crossorigin=\"anonymous\"\n data-setup={this.computedVideoConfig()}\n >\n <slot name=\"no-js-message\"></slot>\n <slot name=\"content\"></slot>\n <slot></slot>\n </video>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"oMAAA,MAAMA,EAAsB,yU,MCefC,EAAgB,M,gEASO,Q,oBAKT,kB,kBAMF,gB,mBAMC,E,YAEN,M,cACU,G,iBACL,E,CAGvB,gBAAAC,CAAiBC,GACfC,KAAKC,kBAAkBD,KAAKE,O,CAG9B,gBAAAD,CAAiBE,EAAMC,EAAgBJ,KAAKI,eAC1C,GAAIJ,KAAKK,cAAe,CACtBC,aAAaN,KAAKK,c,CAEpB,GAAIF,EAAM,CACRH,KAAKE,OAAS,KACdF,KAAKK,cAAgBE,YAAW,KAC9BP,KAAKQ,YAAYC,UAAUC,IAAIV,KAAKW,eAAe,GAClD,E,KACE,CACLX,KAAKQ,YAAYC,UAAUC,IAAIV,KAAKY,cACpCZ,KAAKK,cAAgBE,YAAW,KAC9BP,KAAKQ,YAAYC,UAAUI,OAAOb,KAAKW,eAAgBX,KAAKY,cAC5DZ,KAAKE,OAAS,KAAK,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