@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.
- package/dist/cjs/content-accordion_11.cjs.entry.js +8 -3
- package/dist/cjs/content-accordion_11.cjs.entry.js.map +1 -1
- package/dist/cjs/content-navigation-block.cjs.entry.js +15 -9
- package/dist/cjs/content-navigation-block.cjs.entry.js.map +1 -1
- package/dist/collection/components/content-navigation-block/content-navigation-block.js +15 -9
- package/dist/collection/components/content-navigation-block/content-navigation-block.js.map +1 -1
- package/dist/collection/components/content-overlay/content-overlay.js +1 -1
- package/dist/collection/components/content-overlay/content-overlay.js.map +1 -1
- package/dist/collection/elements/content-button/content-button.js +7 -2
- package/dist/collection/elements/content-button/content-button.js.map +1 -1
- package/dist/components/content-button.js +7 -2
- package/dist/components/content-button.js.map +1 -1
- package/dist/components/content-navigation-block.js +15 -9
- package/dist/components/content-navigation-block.js.map +1 -1
- package/dist/components/content-overlay.js +1 -1
- package/dist/components/content-overlay.js.map +1 -1
- package/dist/content-blocks/content-blocks.esm.js +1 -1
- package/dist/content-blocks/{p-39788531.entry.js → p-1c7435ea.entry.js} +2 -2
- package/dist/content-blocks/p-1c7435ea.entry.js.map +1 -0
- package/dist/content-blocks/p-d9e20abf.entry.js +2 -0
- package/dist/content-blocks/p-d9e20abf.entry.js.map +1 -0
- package/dist/esm/content-accordion_11.entry.js +8 -3
- package/dist/esm/content-accordion_11.entry.js.map +1 -1
- package/dist/esm/content-navigation-block.entry.js +15 -9
- package/dist/esm/content-navigation-block.entry.js.map +1 -1
- package/package.json +1 -1
- package/dist/content-blocks/p-0131bfdf.entry.js +0 -2
- package/dist/content-blocks/p-0131bfdf.entry.js.map +0 -1
- package/dist/content-blocks/p-39788531.entry.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"content-overlay.js","mappings":";;;;AAAA;;;AAIA,IAAIA,MAAI,GAAGA,MAAI,IAAI,EAAE,CA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AAc,IAC9G,8BAAqB,OAAO,qBAAiB,OAAO,EAAC,CAAC,EAAC,sBAAsB,GAAG,CAC5E,CACP,EACD,YAAM,IAAI,EAAC,aAAa,GAAQ,CACzB,EACT,YAAM,IAAI,EAAC,QAAQ,GAAQ,CACvB,EACN,WAAK,KAAK,EAAC,0BAA0B,EAAC,GAAG,EAAE,CAAC,EAAkB,MAAM,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC,IACxF,YAAM,IAAI,EAAC,SAAS,GAAQ,EAC5B,eAAa,CACT,CACF,CACF,CACF,CACD,EACP;KACH;IAED,kBAAkB;QAChB,IAAI,IAAI,CAAC,IAAI,KAAK,MAAM,EAAE;YACxB,IAAI,CAAC,WAAW,EAAE,CAAC;SACpB;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE;YAC7D,IAAI;gBACF,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;aAC3B;YAAC,OAAO,CAAC,EAAE;gBACV,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;aAChB;SACF;KACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["aria","ContentOverlay","focusTrap.createFocusTrap"],"sources":["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"],"sourcesContent":["/**\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"],"version":3}
|
|
1
|
+
{"file":"content-overlay.js","mappings":";;;;AAAA;;;AAIA,IAAIA,MAAI,GAAGA,MAAI,IAAI,EAAE,CAAC;AACtBA,MAAI,CAAC,KAAK,GAAGA,MAAI,CAAC,KAAK,IAAI,EAAE,CAAC;AAE9B;AACAA,MAAI,CAAC,KAAK,CAAC,OAAO,GAAG,UAAU,OAAO,EAAE,QAAQ;IAC9C,OAAO,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;AACnC,CAAC,CAAC;AAEFA,MAAI,CAAC,KAAK,CAAC,MAAM,GAAG,UAAU,IAAI;IAChC,IAAI,IAAI,CAAC,MAAM,IAAI,OAAO,IAAI,CAAC,MAAM,KAAK,UAAU,EAAE;QACpD,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;KACtB;IACD,IAAI,IAAI,CAAC,UAAU;QACf,IAAI,CAAC,UAAU,CAAC,WAAW;QAC3B,OAAO,IAAI,CAAC,UAAU,CAAC,WAAW,KAAK,UAAU,EAAE;QACrD,OAAO,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;KAC1C;IACD,OAAO,KAAK,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S,CAAC,MAAM,EAAE;YAC7D,IAAI;gBACF,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;aAC3B;YAAC,OAAO,CAAC,EAAE;gBACV,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;aAChB;SACF;KACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["aria","ContentOverlay","focusTrap.createFocusTrap"],"sources":["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"],"sourcesContent":["/**\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 = this.target === '#' ? this.hostElement.parentElement : 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"],"version":3}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as t,b as e}from"./p-288eace9.js";export{s as setNonce}from"./p-288eace9.js";const n=()=>{const e=import.meta.url;const n={};if(e!==""){n.resourcesUrl=new URL(".",e).href}return t(n)};n().then((t=>e([["p-1b448306",[[4,"content-split-block",{reverse:[1544],columns:[1],classes:[1537],classString:[32]}]]],["p-cbc1dd73",[[4,"content-carousel",{initMethod:[1,"init-method"],swiperOptions:[1,"swiper-options"]},[[0,"setSwiperOptions","setSwiperOptionsCallback"]]]]],["p-
|
|
1
|
+
import{p as t,b as e}from"./p-288eace9.js";export{s as setNonce}from"./p-288eace9.js";const n=()=>{const e=import.meta.url;const n={};if(e!==""){n.resourcesUrl=new URL(".",e).href}return t(n)};n().then((t=>e([["p-1b448306",[[4,"content-split-block",{reverse:[1544],columns:[1],classes:[1537],classString:[32]}]]],["p-cbc1dd73",[[4,"content-carousel",{initMethod:[1,"init-method"],swiperOptions:[1,"swiper-options"]},[[0,"setSwiperOptions","setSwiperOptionsCallback"]]]]],["p-1c7435ea",[[4,"content-navigation-block",{hamburger:[1537],classes:[1537],classString:[32],ariaExpanded:[32],bodyToggle:[32],skipAccessibilityMessage:[32],hasOpenButton:[32],hasCloseButton:[32],openButton:[32],closeButton:[32],contentSlot:[32]}]]],["p-3bd97960",[[4,"content-tabs",{classes:[1537],classString:[32]}]]],["p-d9e20abf",[[4,"content-accordion",{open:[1],animationStart:[1,"animation-start"],animationEnd:[1,"animation-end"],animationTime:[2,"animation-time"],revealElement:[32],isOpen:[32],randomID:[32],classString:[32]}],[4,"content-button",{href:[1537],target:[1],classes:[1],clickableBlock:[4,"clickable-block"],expanded:[1537],controls:[1],linkLabel:[1,"link-label"],linkClass:[1537,"link-class"],classString:[32],hasContentToActivate:[32]}],[4,"content-hero-block",{contentPosition:[1537,"content-position"],classes:[1],hasBackground:[32],classString:[32],revealHiddenContent:[32]},[[8,"open","contentBlockActivationHandler"]]],[4,"content-image",{classes:[1537],lazyLoad:[4,"lazy-load"],src:[1025],alt:[1537],width:[1025],height:[1025],aspectRatio:[1025,"aspect-ratio"],type:[1],videoType:[1,"video-type"],showContent:[1537,"show-content"],activeSrc:[32],lazyLoadIsComplete:[32],showVideoAsGif:[32],activeLazyLoadClass:[32],classString:[32],inlineStyle:[32],hasMediaContent:[32],pictureImageSrc:[32]},null,{lazyLoadIsComplete:["watchLazyLoadIsComplete"]}],[4,"content-line",{tag:[1],textAlign:[1,"text-align"],classes:[8],maxWidth:[1,"max-width"],classString:[32],inlineStyle:[32]}],[4,"content-overlay",{target:[1],open:[1537],fullScreen:[1537,"full-screen"],classes:[1],horizontal:[1537],vertical:[1537],closeTitle:[1,"close-title"],position:[1537],isActive:[32],activeClass:[32],classString:[32],contentSlot:[32],isFullScreen:[32],hasCloseButton:[32],originalMarkup:[32],openOverlay:[64],closeOverlay:[64]},[[0,"toggle","onContentBlockToggle"],[0,"open","onContentBlockActivated"],[0,"close","onContentBlockDeactivated"]]],[4,"content-spacer",{classes:[1],maxWidth:[1,"max-width"],fullHeight:[1537,"full-height"],textAlign:[1537,"text-align"],horizontal:[1537],vertical:[1537],topOffset:[1,"top-offset"],bottomOffset:[1,"bottom-offset"],leftOffset:[1,"left-offset"],rightOffset:[1,"right-offset"],classString:[32],inlineStyle:[32]}],[4,"content-text-block",{classes:[1],minHeight:[1537,"min-height"],vertical:[1537],fullHeight:[1537,"full-height"],textAlign:[1537,"text-align"],classString:[32],inlineStyle:[32]}],[4,"content-tout-block",{hover:[1537],classes:[1],classString:[32],hasHoverContent:[32]}],[4,"content-video",{method:[1],autoplay:[4],src:[1],width:[2],height:[2],type:[1],playButtonAriaLabel:[1,"play-button-aria-label"],classes:[1537],controls:[4],preload:[1],fitContainer:[1537,"fit-container"],classString:[32],isLoaded:[32],hasPoster:[32],isPlayed:[32]}],[4,"content-grid-formatter",{classes:[1],type:[1537],flexGrow:[1537,"flex-grow"],flexShrink:[1537,"flex-shrink"],vertical:[1537],horizontal:[1537],columns:[1537],columnGap:[1537,"column-gap"],rowGap:[1537,"row-gap"],classString:[32],activeClassString:[32],inlineStyle:[32]}]]]],t)));
|
|
2
2
|
//# sourceMappingURL=content-blocks.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as n,h as t,H as o,g as i}from"./p-288eace9.js";import{W as e}from"./p-3fe594af.js";import{c as a}from"./p-878dc806.js";import"./p-cc7397cf.js";import"./p-cd552ce2.js";const c="*{box-sizing:border-box}body.content-navigation-block-open{overflow:hidden}content-navigation-block button{appearance:none;border:none;background:transparent;cursor:pointer}content-navigation-block .content-navigation-block__skip-content a,content-navigation-block .content-navigation-block__skip-content button,content-navigation-block .content-navigation-block__skip-content a:visited,content-navigation-block .content-navigation-block__skip-content button:visited{border:2px solid rgb(0, 0, 0);border-radius:2px;color:purple;cursor:pointer;display:inline-block;font-size:14px;line-height:20px;margin:6px 11px;min-height:32px;text-decoration:underline;text-align:center;width:106px;z-index:1000}content-navigation-block .content-navigation-block__skip-content:not(:focus-within){position:absolute;clip:rect(1px, 1px, 1px, 1px);overflow:hidden;padding:0}content-navigation-block svg.default-icon{display:inline-block;width:32px}content-navigation-block[hamburger=fixed],content-navigation-block[hamburger=absolute],content-navigation-block[hamburger=static]{display:inline-block}content-navigation-block[hamburger=fixed][aria-expanded=false] .content-navigation__close,content-navigation-block[hamburger=absolute][aria-expanded=false] .content-navigation__close,content-navigation-block[hamburger=static][aria-expanded=false] .content-navigation__close{display:none}content-navigation-block[hamburger=fixed] .content-navigation__open,content-navigation-block[hamburger=fixed] .content-navigation__close,content-navigation-block[hamburger=absolute] .content-navigation__open,content-navigation-block[hamburger=absolute] .content-navigation__close,content-navigation-block[hamburger=static] .content-navigation__open,content-navigation-block[hamburger=static] .content-navigation__close{cursor:pointer}content-navigation-block[hamburger=fixed] .content-navigation__content-wrapper,content-navigation-block[hamburger=absolute] .content-navigation__content-wrapper,content-navigation-block[hamburger=static] .content-navigation__content-wrapper{display:none}content-navigation-block[hamburger=fixed] .content-navigation__content-wrapper[hidden=false],content-navigation-block[hamburger=absolute] .content-navigation__content-wrapper[hidden=false],content-navigation-block[hamburger=static] .content-navigation__content-wrapper[hidden=false]{display:block}content-navigation-block[hamburger=fixed] .content-navigation__content-wrapper{position:fixed;left:0;top:0;width:100vw;height:100vh;z-index:100}content-navigation-block[hamburger=sticky] .content-navigation__content-wrapper{position:sticky;left:0;top:0;width:100vw;height:100vh;z-index:100}content-navigation-block[hamburger=absolute] .content-navigation__content-wrapper{position:absolute;z-index:100}content-navigation-block[hamburger=static] .content-navigation__content-wrapper{position:static}content-navigation-block[hamburger=none]{display:block}content-navigation-block[hamburger=none] .content-navigation__open,content-navigation-block[hamburger=none] .content-navigation__close{display:none}content-navigation-block[aria-expanded=true] .content-navigation__content-wrapper{display:block}";const s=class{constructor(t){n(this,t);this.hamburger="fixed|none";this.classes=undefined;this.classString=undefined;this.ariaExpanded="false";this.bodyToggle=false;this.skipAccessibilityMessage=undefined;this.hasOpenButton=false;this.hasCloseButton=false;this.openButton=undefined;this.closeButton=undefined;this.contentSlot=undefined}componentWillLoad(){e.registerProp(this.hamburger).subscribe((n=>{this.hamburger=n;this.bodyToggle=this.hamburger==="fixed";document.body.classList.remove("content-navigation-block-open")}));e.registerProp(this.classes).subscribe((n=>{this.classString=n}))}componentDidLoad(){this.
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as n,h as t,H as o,g as i}from"./p-288eace9.js";import{W as e}from"./p-3fe594af.js";import{c as a}from"./p-878dc806.js";import"./p-cc7397cf.js";import"./p-cd552ce2.js";const c="*{box-sizing:border-box}body.content-navigation-block-open{overflow:hidden}content-navigation-block button{appearance:none;border:none;background:transparent;cursor:pointer}content-navigation-block .content-navigation-block__skip-content a,content-navigation-block .content-navigation-block__skip-content button,content-navigation-block .content-navigation-block__skip-content a:visited,content-navigation-block .content-navigation-block__skip-content button:visited{border:2px solid rgb(0, 0, 0);border-radius:2px;color:purple;cursor:pointer;display:inline-block;font-size:14px;line-height:20px;margin:6px 11px;min-height:32px;text-decoration:underline;text-align:center;width:106px;z-index:1000}content-navigation-block .content-navigation-block__skip-content:not(:focus-within){position:absolute;clip:rect(1px, 1px, 1px, 1px);overflow:hidden;padding:0}content-navigation-block svg.default-icon{display:inline-block;width:32px}content-navigation-block[hamburger=fixed],content-navigation-block[hamburger=absolute],content-navigation-block[hamburger=static]{display:inline-block}content-navigation-block[hamburger=fixed][aria-expanded=false] .content-navigation__close,content-navigation-block[hamburger=absolute][aria-expanded=false] .content-navigation__close,content-navigation-block[hamburger=static][aria-expanded=false] .content-navigation__close{display:none}content-navigation-block[hamburger=fixed] .content-navigation__open,content-navigation-block[hamburger=fixed] .content-navigation__close,content-navigation-block[hamburger=absolute] .content-navigation__open,content-navigation-block[hamburger=absolute] .content-navigation__close,content-navigation-block[hamburger=static] .content-navigation__open,content-navigation-block[hamburger=static] .content-navigation__close{cursor:pointer}content-navigation-block[hamburger=fixed] .content-navigation__content-wrapper,content-navigation-block[hamburger=absolute] .content-navigation__content-wrapper,content-navigation-block[hamburger=static] .content-navigation__content-wrapper{display:none}content-navigation-block[hamburger=fixed] .content-navigation__content-wrapper[hidden=false],content-navigation-block[hamburger=absolute] .content-navigation__content-wrapper[hidden=false],content-navigation-block[hamburger=static] .content-navigation__content-wrapper[hidden=false]{display:block}content-navigation-block[hamburger=fixed] .content-navigation__content-wrapper{position:fixed;left:0;top:0;width:100vw;height:100vh;z-index:100}content-navigation-block[hamburger=sticky] .content-navigation__content-wrapper{position:sticky;left:0;top:0;width:100vw;height:100vh;z-index:100}content-navigation-block[hamburger=absolute] .content-navigation__content-wrapper{position:absolute;z-index:100}content-navigation-block[hamburger=static] .content-navigation__content-wrapper{position:static}content-navigation-block[hamburger=none]{display:block}content-navigation-block[hamburger=none] .content-navigation__open,content-navigation-block[hamburger=none] .content-navigation__close{display:none}content-navigation-block[aria-expanded=true] .content-navigation__content-wrapper{display:block}";const s=class{constructor(t){n(this,t);this.hamburger="fixed|none";this.classes=undefined;this.classString=undefined;this.ariaExpanded="false";this.bodyToggle=false;this.skipAccessibilityMessage=undefined;this.hasOpenButton=false;this.hasCloseButton=false;this.openButton=undefined;this.closeButton=undefined;this.contentSlot=undefined}componentWillLoad(){this.hasOpenButton=!!this.hostElement.querySelector('[slot="openButton"]');this.hasCloseButton=!!this.hostElement.querySelector('[slot="closeButton"]');e.registerProp(this.hamburger).subscribe((n=>{this.hamburger=n;this.bodyToggle=this.hamburger==="fixed";document.body.classList.remove("content-navigation-block-open")}));e.registerProp(this.classes).subscribe((n=>{this.classString=n}))}componentDidLoad(){this.openButton.onclick=()=>{this.openMenu()};this.closeButton.onclick=()=>{this.closeMenu()}}openMenu(){this.ariaExpanded=this.ariaExpanded==="true"?"false":"true";if(this.ariaExpanded==="false"){document.body.classList.remove("content-navigation-block-open")}else if(this.bodyToggle){document.body.classList.add("content-navigation-block-open")}this.focusTrap=a(this.contentSlot.parentElement,{initialFocus:this.contentSlot,fallbackFocus:this.hostElement,clickOutsideDeactivates:true,onDeactivate:()=>{this.closeMenu();this.focusTrap=null;this.ariaExpanded="false";document.body.classList.remove("content-navigation-block-open");setTimeout((()=>this.openButton.focus()),1)}});this.focusTrap.activate()}closeMenu(){if(this.focusTrap){try{this.focusTrap.deactivate()}catch(n){console.log(n)}}}render(){return t(o,{class:this.classString,"aria-expanded":this.ariaExpanded},t("div",{class:"content-navigation-block__skip-content"},t("slot",{name:"skipContent"})),t("div",{ref:n=>this.openButton=n,class:"content-navigation__open"},!this.hasOpenButton&&t("button",null,t("svg",{class:"default-icon",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:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))),t("slot",{name:"openButton"})),t("div",{class:"content-navigation__content-wrapper"},t("div",{ref:n=>this.closeButton=n,class:"content-navigation__close"},!this.hasCloseButton&&t("button",null,t("svg",{class:"default-icon",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("div",{class:"content-navigation__content",ref:n=>this.contentSlot=n},t("slot",{name:"content"}),t("slot",null))))}get hostElement(){return i(this)}};s.style=c;export{s as content_navigation_block};
|
|
2
|
+
//# sourceMappingURL=p-1c7435ea.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["contentNavigationBlockCss","ContentNavigationBlock","componentWillLoad","this","hasOpenButton","hostElement","querySelector","hasCloseButton","WindowResizeService","registerProp","hamburger","subscribe","newValue","bodyToggle","document","body","classList","remove","classes","classString","componentDidLoad","openButton","onclick","openMenu","closeButton","closeMenu","ariaExpanded","add","focusTrap","createFocusTrap","contentSlot","parentElement","initialFocus","fallbackFocus","clickOutsideDeactivates","onDeactivate","setTimeout","focus","activate","deactivate","e","console","log","render","h","Host","class","name","ref","el","xmlns","fill","viewBox","stroke","d"],"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"],"mappings":"iLAAA,MAAMA,EAA4B,glG,MCiBrBC,EAAsB,M,wCAcH,a,oEAaE,Q,gBACD,M,2DAGG,M,oBACC,M,gFAMnC,iBAAAC,GACEC,KAAKC,gBAAkBD,KAAKE,YAAYC,cAAc,uBACtDH,KAAKI,iBAAmBJ,KAAKE,YAAYC,cAAc,wBACvDE,EAAoBC,aAAaN,KAAKO,WAAWC,WAAUC,IACzDT,KAAKO,UAAYE,EACjBT,KAAKU,WAAaV,KAAKO,YAAc,QACrCI,SAASC,KAAKC,UAAUC,OAAO,gCAAgC,IAEjET,EAAoBC,aAAaN,KAAKe,SAASP,WAAUC,IACvDT,KAAKgB,YAAcP,CAAkB,G,CAIzC,gBAAAQ,GACEjB,KAAKkB,WAAWC,QAAU,KACxBnB,KAAKoB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,EAAA,OAAKE,MAAM,eAAeI,MAAM,6BAA6BC,KAAK,OAAOC,QAAQ,YAAW,eAAc,MAAMC,OAAO,gBACrHT,EAAA,yBAAqB,QAAO,kBAAiB,QAAQU,EAAE,2BAI7DV,EAAA,QAAMG,KAAK,iBAEbH,EAAA,OAAKE,MAAM,8BAA8BE,IAAKC,GAAO9C,KAAK2B,YAAcmB,GACtEL,EAAA,QAAMG,KAAK,YACXH,EAAA,e"}
|
|
@@ -0,0 +1,2 @@
|
|
|
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}));setTimeout((()=>{this.activatedContent.scrollIntoView({behavior:"smooth"})}),0)}else if(this.href&&this.href.length>1&&this.href.substring(0,1)==="#"){let t=document.getElementById(this.href.substring(1));e.preventDefault();if(t){e.preventDefault();t.dispatchEvent(new CustomEvent("open",{detail:t}));setTimeout((()=>{t.scrollIntoView({behavior:"smooth"})}),0)}}}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=this.target==="#"?this.hostElement.parentElement: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+RCL1obXR4AAAR6AAAABMAAAC8Q44AAGxvY2EAABH8AAAAYAAAAGB7SIHGbWF4cAAAElwAAAAfAAAAIAFAAI9uYW1lAAASfAAAASUAAAIK1cf1oHBvc3QAABOkAAABfAAAAnXdFqh1eJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGR7xDiBgZWBgaWQ5RkDA8MvCM0cwxDOeI6BgYmBlZkBKwhIc01hcPjI+FGPHcRdyA4RZgQRADbZCycAAHic7dPXbcMwAEXRK1vuvffem749XAbKV3bjBA6fXsaIgMMLEWoQJaAEF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deCVGqpJe7XKTqSbRK7zbdwXfR0U+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-d9e20abf.entry.js.map
|