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ocks/chapter-block.js","blocks/chapter-container-block.js","platformui/InfoBanner/index.js","platformui/AnchorNavMultiLevel/mobile.js","pages/article/index.js","platformui/Modal/reference-text-modal.js","platformui/AnchorNavMultiLevel/firstlevel.js","blocks/manuel-page-list-block.js","platformui/Containers/withAnchorNavTrigger.js","platformui/ChapterContainer/index.js","blocks/link-list-block.js","platformui/AnchorNavMultiLevel/sublevel.js","platformui/ChapterContainer/view.js"],"sourcesContent":["import React from 'react';\r\nimport * as Render from '../platformui/Base/Render';\r\nimport Chapter from '../platformui/Chapter';\r\nimport withViewport from '../platformui/Base/Sensors/viewport';\r\nimport withAnchorNavTrigger from '../platformui/Containers/withAnchorNavTrigger';\r\n\r\nconst ChapterBlock = (props) => {\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default withViewport(withAnchorNavTrigger(ChapterBlock));\r\n","import React from 'react';\r\nimport ChapterContainer from '../platformui/ChapterContainer';\r\n\r\nconst ChapterContainerBlock = (props) => ;\r\nexport default ChapterContainerBlock;\r\n","import classNames from 'classnames';\r\nimport T from 'prop-types';\r\nimport React, { useEffect, useState } from 'react';\r\nimport AnchorNavMultiLevelMobile from '../AnchorNavMultiLevel/mobile';\r\nimport { isMediumViewport } from '../Hooks/useMedia';\r\nimport ListSelect from '../ListSelect';\r\n\r\nconst InfoBanner = (props) => {\r\n const isMobile = isMediumViewport();\r\n const [activeButton, setActiveButton] = useState(null);\r\n\r\n const classes = classNames({\r\n 'info-banner': true,\r\n 'info-banner--offset': props.IsHidden && props.IsMobile,\r\n [`info-banner__type--${props.InformationType}`]: props.InformationType,\r\n [props.className]: props.className,\r\n });\r\n\r\n const SelectedProfession = props.Switch?.Items?.filter(\r\n (item) => item.Selected\r\n ).map((item) => item.Title);\r\n\r\n const handleButtonClick = (button) => {\r\n setActiveButton((prevActive) => (prevActive !== button ? button : null));\r\n };\r\n\r\n const closeNav = () => {\r\n document.body.removeAttribute('class');\r\n setActiveButton(null);\r\n };\r\n\r\n useEffect(() => {\r\n document.body.removeAttribute('class');\r\n if (activeButton) {\r\n document.body.classList.add('no-scroll');\r\n }\r\n }, [activeButton]);\r\n\r\n const [current, setCurrent] = useState('');\r\n\r\n useEffect(() => {\r\n if (!props.AnchorNavigation && !isMobile) {\r\n return;\r\n }\r\n\r\n const handleScroll = () => {\r\n const scrollPosition = window.scrollY;\r\n const elements = document.querySelectorAll('.anchor-nav-multi-item');\r\n elements.forEach((element) => {\r\n if (element.offsetTop - 80 <= scrollPosition) {\r\n setCurrent(element.getAttribute('id'));\r\n } else {\r\n return;\r\n }\r\n });\r\n };\r\n\r\n window.addEventListener('scroll', handleScroll);\r\n\r\n return () => {\r\n window.removeEventListener('scroll', handleScroll);\r\n };\r\n });\r\n\r\n return (\r\n <>\r\n
\r\n
\r\n {props.Subject && (\r\n
\r\n \r\n \r\n {props.Subject}\r\n \r\n\r\n {props.Title && !isMobile && (\r\n \r\n {props.Title}\r\n \r\n )}\r\n {isMobile && SelectedProfession && (\r\n handleButtonClick('profession')}\r\n aria-controls=\"info-banner-modal\"\r\n aria-expanded={!!activeButton}\r\n >\r\n {SelectedProfession}\r\n \r\n )}\r\n \r\n
\r\n )}\r\n {isMobile && (\r\n
\r\n {props.AnchorHeading && (\r\n handleButtonClick('anchor-nav')}\r\n aria-controls=\"info-banner-modal\"\r\n aria-expanded={!!activeButton}\r\n >\r\n {props.AnchorHeading}\r\n \r\n )}\r\n
\r\n )}\r\n\r\n {props.Switch && !isMobile && (\r\n \r\n )}\r\n
\r\n \r\n {props.Switch &&\r\n isMobile &&\r\n activeButton === 'profession' && }\r\n\r\n {props.AnchorNavigation &&\r\n isMobile &&\r\n activeButton === 'anchor-nav' && (\r\n \r\n )}\r\n
\r\n \r\n \r\n );\r\n};\r\n\r\nInfoBanner.propTypes = {\r\n Title: T.string,\r\n Subject: T.string,\r\n InformationType: T.string,\r\n className: T.string,\r\n};\r\n\r\nexport default InfoBanner;\r\n","import { React, useEffect, useState } from 'react';\r\nimport FirstLevelMenuItem from './firstlevel';\r\n\r\nconst AnchorNavMultiLevelMobile = (props) => {\r\n if (typeof window === 'undefined') {\r\n return null;\r\n }\r\n const [current, setCurrent] = useState('');\r\n\r\n useEffect(() => {\r\n setCurrent(props.CurrentActive);\r\n }, []);\r\n\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default AnchorNavMultiLevelMobile;\r\n","import React from 'react';\r\nimport ArticlePage from '../../platformui/Pages/article';\r\nimport ChapterBlock from '../../blocks/chapter-block';\r\nimport ChapterContainerBlock from '../../blocks/chapter-container-block';\r\nimport ImageBlock from '../../blocks/image-block';\r\nimport ManuelPageListBlock from '../../blocks/manuel-page-list-block';\r\nimport LinkCollectionBlock from '../../blocks/link-list-block';\r\nimport * as Render from '../../platformui/Base/Render';\r\n\r\nconst Blocks = {\r\n ChapterBlock,\r\n ImageBlock,\r\n ChapterContainerBlock,\r\n ManuelPageListBlock,\r\n LinkCollectionBlock,\r\n};\r\n\r\nconst blockTypes = ;\r\n\r\nexport default (props) => (\r\n \r\n);\r\n","import React, { useState, useEffect, createContext } from 'react';\r\nimport classNames from 'classnames';\r\n\r\nconst context = createContext({});\r\n\r\nconst { Provider, Consumer } = context;\r\n\r\nconst OpenModalButton = ({ id, children, className }) => {\r\n return (\r\n \r\n {({ changeModal, activeModalId }) => (\r\n changeModal(id)}\r\n onKeyDown={(e) => e.key === 'Enter' && changeModal(id)}\r\n >\r\n {children}\r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nconst CloseModalButton = ({ children, id }) => (\r\n \r\n {({ closeModal }) => (\r\n closeModal(id)}\r\n onKeyDown={(e) => e.key === 'Enter' && closeModal()}\r\n >\r\n {children}\r\n \r\n )}\r\n \r\n);\r\n\r\nconst ModalPanel = ({ whenActive, children, hideWithCss }) => (\r\n \r\n {({ activeModalId }) =>\r\n activeModalId === whenActive || hideWithCss ? <>{children} : null\r\n }\r\n \r\n);\r\n\r\nconst Modal = (props) => {\r\n if (typeof window === 'undefined') {\r\n return null;\r\n }\r\n\r\n const [activeModalId, setActiveModalId] = useState('');\r\n const tooltipTriggerElement = document.querySelector(\r\n '.reference__modal-open'\r\n );\r\n\r\n const handleTooltipPosition = () => {\r\n const screenPadding = 20;\r\n const tooltip = document.querySelector('.reference__modal-panel');\r\n const tooltipRect = tooltip.getBoundingClientRect();\r\n const tooltipRightX = tooltipRect.x + tooltipRect.width;\r\n const placeholderRightX =\r\n tooltipTriggerElement.x + tooltipTriggerElement.width;\r\n\r\n if (tooltipRect.x < 0) {\r\n tooltip.style.left = '-10px ';\r\n tooltip.style.right = 'auto';\r\n tooltip.style.transform = `translateX(${\r\n -tooltipTriggerElement.x + screenPadding\r\n }px)`;\r\n } else if (tooltipRightX > window.outerWidth) {\r\n tooltip.style.left = 'auto';\r\n tooltip.style.right = '-10px';\r\n tooltip.style.transform = `translateX(${\r\n window.outerWidth - placeholderRightX - screenPadding\r\n }px)`;\r\n }\r\n };\r\n\r\n const changeModal = (newModalId) => {\r\n setActiveModalId(activeModalId === newModalId ? '' : newModalId);\r\n };\r\n\r\n const closeModal = (id) => {\r\n setActiveModalId('');\r\n\r\n //Give focus back to ref-opener\r\n if (document.querySelector(`[data-buttonid='open${id}']`)) {\r\n document.querySelector(`[data-buttonid='open${id}']`).focus();\r\n }\r\n };\r\n\r\n const escCloseHandler = (e) => {\r\n if (activeModalId !== '') {\r\n if (e.keyCode === 27) {\r\n e.preventDefault();\r\n closeModal();\r\n }\r\n }\r\n return null;\r\n };\r\n\r\n const handleClick = (e) => {\r\n //Close modal when clicking on anything that doesn't have this classname or is a link\r\n if (e.target.className.includes('reference__modal-element')) return null;\r\n if (e.target.tagName === 'A') return null;\r\n\r\n closeModal();\r\n };\r\n\r\n useEffect(() => {\r\n document.addEventListener('keydown', (e) => escCloseHandler(e));\r\n document.addEventListener('mousedown', (e) => handleClick(e));\r\n\r\n //Only handle position outside mobile breakpoint\r\n if (\r\n document.querySelector('.reference__modal-panel') &&\r\n window.outerWidth > 640\r\n ) {\r\n handleTooltipPosition();\r\n }\r\n }, [activeModalId]);\r\n\r\n useEffect(() => {\r\n return () => {\r\n document.removeEventListener('keydown', escCloseHandler());\r\n document.removeEventListener('mousedown', handleClick());\r\n };\r\n }, []);\r\n\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n};\r\n\r\nexport default Modal;\r\nexport { OpenModalButton, CloseModalButton, ModalPanel, Consumer };\r\n","import { React, useState, useEffect } from 'react';\r\nimport classNames from 'classnames';\r\nimport SubLevel from './sublevel';\r\n\r\nconst FirstLevel = ({ item, current, CloseNav }) => {\r\n if (typeof window === 'undefined') {\r\n return null;\r\n }\r\n\r\n const [isExpanded, setIsExpanded] = useState(false);\r\n\r\n const node = window.document.querySelector(\r\n `[data-section=${item.SectionLink}]`\r\n );\r\n\r\n const hasCurrent = node && Boolean(node.querySelector('.current'));\r\n const isCurrent = current === item.SectionLink;\r\n const isActive = hasCurrent || isCurrent;\r\n\r\n const active = isCurrent ? 'current' : '';\r\n\r\n const classes = classNames({\r\n 'anchor-nav-multi__navigation__first-level': true,\r\n 'anchor-nav-multi__navigation--is-expanded':\r\n (isExpanded && item?.Children?.length > 0) ||\r\n (isActive && item?.Children?.length > 0),\r\n });\r\n\r\n const buttonAttributes = {\r\n onClick: () => setIsExpanded(!isExpanded),\r\n 'aria-controls': item.SectionLink,\r\n 'aria-expanded': isExpanded,\r\n className: isExpanded\r\n ? 'anchor-nav-multi__navigation__expand-btn anchor-nav-multi__navigation__expand-btn--is-expanded'\r\n : 'anchor-nav-multi__navigation__expand-btn anchor-nav-multi__navigation__expand-btn--is-closed',\r\n id: `btn-${item.SectionLink}`,\r\n };\r\n\r\n const baseClassName =\r\n 'anchor-nav-multi__navigation__first-level__section__items';\r\n const sectionClassName = classNames({\r\n [baseClassName]: true,\r\n [`${baseClassName}--shown`]: hasCurrent,\r\n [`${baseClassName}--opened`]: isExpanded,\r\n });\r\n\r\n useEffect(() => {\r\n const section = window.document.querySelector(\r\n `[data-section=${item.SectionLink}]`\r\n );\r\n isActive || (isExpanded && setIsExpanded(true));\r\n !isActive && !isExpanded && setIsExpanded(false);\r\n\r\n section.hasAttribute('style') && section.removeAttribute('style');\r\n }, [current]);\r\n\r\n return (\r\n \r\n {\r\n CloseNav && CloseNav();\r\n }}\r\n className={active}\r\n data-cy=\"anchor-nav-list-link\"\r\n href={`#${item.SectionLink}`}\r\n >\r\n {item.Name}\r\n \r\n {item?.Children && (\r\n <>\r\n