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AWJ,EAAMI,QAAQmW,eAC9BjW,EAAAA,EAAAA,KAACkW,EAAAA,EAAQ,IAAKxW,EAAMyW,YAErBzW,EAAM0W,uBAAyB1W,EAAM0W,sCAQlDpW,EAAAA,EAAAA,KAAC0Q,EAAAA,MAAY,CACX4D,OAAQ5U,EAAMI,QAAQuW,eACtB9B,aAAa,iBACbC,iBAAkB9U,EAAMQ,SAEvBR,EAAMoV,qBAGT9U,EAAAA,EAAAA,KAAC+M,EAAAA,EAAyB,SAE3B,EAIPuE,EAAYgF,aAAe,CACzBjE,gBAAiB,2CACjBC,YAAa,uDAGf,S","sources":["platformui/Reference/reference-tooltip.js","platformui/InformationType/index.js","platformui/DiagnosticPanel/index.js","platformui/CommentForm/index.js","platformui/InfoBannerVardpersonal/index.js","blocks/image-block.js","platformui/Matomo/matomo-track-media-analytics.js","components/image/index.js","platformui/ReferencePanel/index.js","platformui/Pages/article/index.js"],"sourcesContent":["import React from 'react';\r\nimport ReferenceTextModal from '../Modal/reference-text-modal';\r\nimport {\r\n OpenModalButton,\r\n ModalPanel,\r\n CloseModalButton,\r\n} from '../Modal/reference-text-modal';\r\n\r\nconst ReferenceToolTip = (props) => {\r\n if (typeof window === 'undefined') return;\r\n\r\n const translations = window.__PRELOADED_STATE__.Content.Translations;\r\n\r\n return (\r\n \r\n \r\n \r\n {props.label}\r\n \r\n \r\n \r\n \r\n \r\n {translations.close}\r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\nexport default ReferenceToolTip;\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\n\r\nconst InformationType = (props) => {\r\n if (!props.Content.InformationType) return null;\r\n\r\n const typeClass = classNames({\r\n [`information-type--${props.Content.InformationType}`]: props.Content\r\n .InformationType,\r\n });\r\n\r\n return (\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default InformationType;\r\n","import React from 'react';\r\nimport CollapsiblePanel from '../CollapsiblePanel';\r\nimport Modal, {\r\n CloseModalButton,\r\n ModalPanel,\r\n OpenModalButton,\r\n} from '../Modal';\r\n\r\nconst DiagnosticPanel = (props) => {\r\n return (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {props.Translations.close}\r\n \r\n
\r\n

Information

\r\n
\r\n {props.infoBox && props.infoBox}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n

{props.subHeading}

\r\n {props.codeGroups.map((group, i) => {\r\n return (\r\n
\r\n

\r\n {group.heading}\r\n

\r\n
    \r\n {group.codes && group.codes.map((item, key) => (\r\n
  • \r\n
    {item.code}
    \r\n
    {item.description}
    \r\n
  • \r\n ))}\r\n
\r\n
\r\n );\r\n })}\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default DiagnosticPanel;\r\n","import React, { useRef, useState, Fragment, useEffect } from 'react';\r\nimport classNames from 'classnames';\r\nimport { Formik } from 'formik';\r\nimport CollapsibleText from '../CollapsibleText';\r\nimport Spinner from '../Spinner';\r\nimport Alert from '../Alert';\r\nimport Field from '../Forms/field';\r\n\r\nconst CommentForm = (props) => {\r\n //let ctrls = [];\r\n // validate = this.validate.bind(this);\r\n // handleSubmit = this.handleSubmit.bind(this);\r\n\r\n const collapsible = useRef();\r\n const [isOpen, setIsOpen] = useState(false);\r\n //const [isLoading, setIsLoading] = useState(false);\r\n const [success, setSuccess] = useState(null);\r\n const [text, setText] = useState(null);\r\n const [title, setTitle] = useState(null);\r\n const [showSubmitForm, setShowSubmitForm] = useState(false);\r\n\r\n const handleFocus = (name = '') => {\r\n if (!name) return;\r\n\r\n const elmToFocus = document.getElementById(name);\r\n if (elmToFocus) {\r\n elmToFocus.focus();\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (isOpen && success !== true) {\r\n if (collapsible.current) {\r\n collapsible.current.extendsContent();\r\n }\r\n if (props.FeedbackForm.CommentLabel) {\r\n handleFocus('comment');\r\n }\r\n }\r\n }, [isOpen, showSubmitForm]);\r\n\r\n const handleClick = () => {\r\n //Trigger scroll event for anchor navigation\r\n const e = document.createEvent('Event');\r\n e.initEvent('scroll', true, true);\r\n window.dispatchEvent(e);\r\n\r\n setIsOpen(!isOpen);\r\n setSuccess(null);\r\n setText(null);\r\n setTitle(null);\r\n };\r\n\r\n const submitForm = (data) =>\r\n fetch(props.FeedbackForm.Url, {\r\n method: 'POST',\r\n body: data,\r\n }).then((response) => {\r\n if (!response.ok) throw new Error(response.status);\r\n if (response.status !== 200) throw new Error(response.statusText);\r\n return response.json();\r\n });\r\n\r\n const handleSubmit = (values, { setSubmitting }) => {\r\n setSuccess(null);\r\n setText(null);\r\n setTitle(null);\r\n\r\n //setIsLoading(true);\r\n\r\n const data = new FormData();\r\n\r\n Object.entries(values).forEach(([key, value]) => {\r\n data.append(key, value);\r\n });\r\n\r\n submitForm(data)\r\n .then((response) => {\r\n setSubmitting(false);\r\n\r\n setSuccess(response.Success);\r\n setText(response.Text);\r\n setTitle(response.Title);\r\n\r\n //setIsLoading(false);\r\n })\r\n .catch(() => {\r\n setSubmitting(false);\r\n\r\n setSuccess(false);\r\n\r\n setTitle('Error');\r\n\r\n //setIsLoading(false);\r\n });\r\n };\r\n\r\n const showForm = () => {\r\n setShowSubmitForm(true);\r\n };\r\n const hideForm = () => {\r\n setShowSubmitForm(false);\r\n };\r\n\r\n const validate = (values) => {\r\n const { FeedbackForm } = props;\r\n\r\n const errors = {};\r\n // Validate email\r\n\r\n if (\r\n FeedbackForm.EmailLabel &&\r\n values.email &&\r\n !/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,}$/i.test(values.email)\r\n ) {\r\n errors.email = 'email';\r\n }\r\n // Validate subject (is required)\r\n if (!values.subject && FeedbackForm.SubjectLabel) {\r\n errors.subject = 'required';\r\n }\r\n\r\n if (!values.comment && FeedbackForm.CommentLabel) {\r\n errors.comment = 'required';\r\n }\r\n\r\n if (errors) {\r\n const firstError = Object.keys(errors)[0];\r\n handleFocus(firstError);\r\n }\r\n\r\n return errors;\r\n };\r\n\r\n const SubmitForm = () => {\r\n const { FeedbackForm, HsaId, PageUrl } = props;\r\n const initialValues = {\r\n user: '',\r\n url: PageUrl,\r\n hsaid: HsaId || '',\r\n };\r\n if (FeedbackForm.SubjectLabel) initialValues.subject = '';\r\n if (FeedbackForm.EmailLabel) initialValues.email = '';\r\n if (FeedbackForm.CommentLabel) initialValues.comment = '';\r\n\r\n return (\r\n \r\n
\r\n {success && (\r\n \r\n {title &&

{title}

}\r\n
\r\n \r\n )}\r\n
\r\n\r\n {success !== true && (\r\n \r\n {(formik) => (\r\n
\r\n
\r\n {FeedbackForm.Title}\r\n\r\n \r\n\r\n {/*Honeypot for bots*/}\r\n \r\n\r\n \r\n\r\n {FeedbackForm.SubjectLabel && (\r\n \r\n \r\n \r\n \r\n )}\r\n\r\n {FeedbackForm.CommentLabel && (\r\n \r\n \r\n \r\n )}\r\n\r\n {FeedbackForm.EmailLabel && (\r\n \r\n \r\n \r\n \r\n )}\r\n\r\n
\r\n {success === false && (\r\n \r\n
\r\n {title &&

{title}

}\r\n \r\n
\r\n \r\n )}\r\n
\r\n\r\n
\r\n \r\n \r\n {FeedbackForm.SendButtonLabel}\r\n \r\n \r\n \r\n {FeedbackForm.HasLinkList && (\r\n hideForm()}\r\n >\r\n \r\n {FeedbackForm.CancelButtonLabel}\r\n \r\n \r\n )}\r\n
\r\n
\r\n
\r\n )}\r\n \r\n )}\r\n
\r\n );\r\n };\r\n\r\n const ToggleFormButton = () => {\r\n const { FeedbackForm } = props;\r\n\r\n return (\r\n

\r\n handleClick()}\r\n type=\"button\"\r\n data-cy=\"comment-form-toggle-btn\"\r\n >\r\n {FeedbackForm.Title}\r\n \r\n \r\n

\r\n );\r\n };\r\n\r\n const LinkList = () => {\r\n const { FeedbackForm } = props;\r\n\r\n return (\r\n \r\n

\r\n {FeedbackForm.LinkListTitle}\r\n

\r\n
\r\n
    \r\n {FeedbackForm.Links.map((item, i) => {\r\n return (\r\n \r\n {item.IsForm ? (\r\n showForm()}\r\n >\r\n {item.Title}\r\n \r\n ) : (\r\n \r\n {item.Title}\r\n \r\n )}\r\n \r\n );\r\n })}\r\n
\r\n
\r\n
\r\n );\r\n };\r\n\r\n const { FeedbackForm } = props;\r\n\r\n if (!FeedbackForm) return null;\r\n\r\n return (\r\n \r\n {ToggleFormButton()}\r\n \r\n {success !== true && (\r\n \r\n {FeedbackForm.Text && FeedbackForm.Text.length > 400 ? (\r\n \r\n }\r\n className=\"contact-card-comment__content__text\"\r\n >\r\n
\r\n \r\n ) : (\r\n
\r\n )}\r\n \r\n )}\r\n\r\n {showSubmitForm && SubmitForm()}\r\n\r\n {FeedbackForm.HasLinkList ? LinkList() : SubmitForm()}\r\n\r\n
\r\n
\r\n \r\n );\r\n};\r\n\r\nexport default CommentForm;\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 InfoBannerVardpersonal = (props) => {\r\n const isMobile = isMediumViewport();\r\n const [activeButton, setActiveButton] = useState(null);\r\n\r\n const classes = classNames({\r\n 'info-banner-vardpersonal': true,\r\n 'info-banner-vardpersonal--offset': props.IsHidden && props.IsMobile,\r\n [`info-banner-vardpersonal__type--${props.InformationType}`]: props.InformationType,\r\n [props.className]: props.className,\r\n });\r\n\r\n const subjectIndicator = classNames('info-banner-vardpersonal__subject__indicator', `${props.InformationType}-color`);\r\n\r\n const shouldHaveSubjectIndicator = () => {\r\n return props.InformationType !== 'search-page';\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 {shouldHaveSubjectIndicator() && (\r\n \r\n )}\r\n {props.Subject}\r\n \r\n\r\n {props.Title && !isMobile && (\r\n \r\n {props.Title?.length > 50 ? `${props.Title.slice(0, 50)}...` : props.Title}\r\n \r\n )}\r\n {isMobile && SelectedProfession && (\r\n handleButtonClick('profession')}\r\n aria-controls=\"info-banner-vardpersonal-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-vardpersonal-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\nInfoBannerVardpersonal.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 InfoBannerVardpersonal;\r\n","import React from 'react';\r\nimport ImageBlock from '../components/image';\r\nexport default (props) => ;\r\n","import { useEffect } from 'react';\r\n\r\nconst MatomoTrackMediaAnalytics = () => {\r\n useEffect(() => {\r\n if (window?.Matomo?.MediaAnalytics) {\r\n var MA = window.Matomo.MediaAnalytics;\r\n\r\n var MediaflowPlayer = function (element, config) {\r\n if (!element) {\r\n return;\r\n }\r\n\r\n if (!window.addEventListener) {\r\n return;\r\n }\r\n\r\n if (element.playerInstance) {\r\n return;\r\n }\r\n\r\n element.playerInstance = true;\r\n\r\n var mediaResource = MA.element.getMediaResource(element, null);\r\n\r\n var playerInstance = new MA.MediaTracker(\r\n 'mediaflow',\r\n config,\r\n mediaResource\r\n );\r\n\r\n playerInstance.setWidth(element.clientWidth);\r\n playerInstance.setHeight(element.clientHeight);\r\n playerInstance.setFullscreen(MA.element.isFullscreen(element));\r\n\r\n window.addEventListener(\r\n 'resize',\r\n function () {\r\n playerInstance.setWidth(element.clientWidth);\r\n playerInstance.setHeight(element.clientHeight);\r\n playerInstance.setFullscreen(MA.element.isFullscreen(element));\r\n },\r\n false\r\n );\r\n\r\n var title = MA.element.getMediaTitle(element);\r\n\r\n if (title) {\r\n playerInstance.setMediaTitle(title);\r\n }\r\n\r\n playerInstance.trackUpdate();\r\n\r\n var messageHandler = function (event) {\r\n if (\r\n !/play\\.mediaflowpro\\.com/.test(event.origin) &&\r\n !/play\\.mediaflow\\.com/.test(event.origin)\r\n ) {\r\n return false;\r\n }\r\n\r\n if (!event || !event.data) {\r\n return;\r\n }\r\n\r\n if (\r\n element.contentWindow &&\r\n event.source &&\r\n element.contentWindow !== event.source\r\n ) {\r\n return;\r\n }\r\n\r\n var data = event.data;\r\n\r\n if ('string' === typeof data) {\r\n data = JSON.parse(event.data);\r\n }\r\n\r\n if ('event' in data && data.event === 'ready') {\r\n if (origin === '*') {\r\n origin = event.origin;\r\n }\r\n\r\n if (!element.isMediaflowReady) {\r\n element.isMediaflowReady = true;\r\n postMessage('addEventListener', 'play');\r\n postMessage('addEventListener', 'pause');\r\n postMessage('addEventListener', 'ended');\r\n postMessage('addEventListener', 'timeupdate');\r\n }\r\n\r\n return;\r\n }\r\n\r\n if ('event' in data) {\r\n var eventName = data.event;\r\n switch (eventName) {\r\n case 'play':\r\n playerInstance.play();\r\n break;\r\n case 'timeupdate':\r\n playerInstance.setMediaProgressInSeconds(data.value);\r\n playerInstance.update();\r\n break;\r\n case 'pause':\r\n playerInstance.pause();\r\n break;\r\n case 'ended':\r\n playerInstance.finish();\r\n break;\r\n }\r\n }\r\n };\r\n\r\n window.addEventListener('message', messageHandler, true);\r\n\r\n var origin = '*';\r\n\r\n function postMessage(method, value) {\r\n var message = { method: method };\r\n if (value !== undefined) {\r\n message.value = value;\r\n }\r\n\r\n if (element && element.contentWindow) {\r\n if (navigator && navigator.userAgent) {\r\n var ieVersion = parseFloat(\r\n navigator.userAgent\r\n .toLowerCase()\r\n .replace(/^.*msie (\\d+).*$/, '$1')\r\n );\r\n if (ieVersion >= 8 && ieVersion < 10) {\r\n message = JSON.stringify(message);\r\n }\r\n }\r\n element.contentWindow.postMessage(message, origin);\r\n }\r\n }\r\n };\r\n\r\n MediaflowPlayer.scanForMedia = function (container) {\r\n if (!window.addEventListener) {\r\n return;\r\n }\r\n var iframes = container.getElementsByTagName('iframe');\r\n\r\n for (var i = 0; i < iframes.length; i++) {\r\n if (MA.element.isMediaIgnored(iframes[i])) {\r\n continue;\r\n }\r\n\r\n var src = MA.element.getAttribute(iframes[i], 'src');\r\n\r\n if (\r\n src &&\r\n (src.indexOf('play.mediaflowpro.com') > 0 ||\r\n src.indexOf('play.mediaflow.com') > 0)\r\n ) {\r\n new MediaflowPlayer(iframes[i], MA.mediaType.VIDEO);\r\n }\r\n }\r\n iframes = null;\r\n };\r\n\r\n MA.addPlayer('MediaflowPlayer', MediaflowPlayer);\r\n }\r\n }, []);\r\n\r\n return null;\r\n};\r\n\r\nexport default MatomoTrackMediaAnalytics;\r\n","import React from 'react';\r\nimport ImageBlock from '../../platformui/ImageBlock';\r\nimport * as Render from '../../platformui/Base/Render';\r\nimport withSrcSets from '../../platformui/Containers/withSrcSets';\r\nimport withLazyLoad from '../../platformui/Containers/withLazyLoad';\r\nimport ZoomContainer from '../../platformui/ZoomContainer/index';\r\nimport { isSmallViewport } from '../../platformui/Hooks/useMedia';\r\n\r\nconst ImageBlockWithSrcSets = withLazyLoad(withSrcSets(ImageBlock));\r\nexport default (props) =>\r\n isSmallViewport() || !props.UseZoom ? (\r\n \r\n ) : (\r\n \r\n \r\n \r\n );\r\n","import React from 'react';\r\nimport CollapsiblePanel from '../CollapsiblePanel';\r\n\r\nconst ReferencePanel = (props) => {\r\n return (\r\n
\r\n \r\n {props.referenceList?.texts.map((item, key) => (\r\n

\r\n ))}\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default ReferencePanel;\r\n","import classNames from 'classnames';\r\nimport { React, useEffect } from 'react';\r\nimport { render } from 'react-dom';\r\nimport ArticleFooter from '../../ArticleFooter';\r\nimport ArticleHeader from '../../ArticleHeader';\r\nimport * as Render from '../../Base/Render';\r\nimport Breadcrumb from '../../Breadcrumb';\r\nimport CommentForm from '../../CommentForm';\r\nimport withSensitiveImage from '../../Containers/withSensitiveImage';\r\nimport withSrcSets from '../../Containers/withSrcSets';\r\nimport DiagnosticPanel from '../../DiagnosticPanel';\r\nimport ImageBlock from '../../ImageBlock';\r\nimport InfoBanner from '../../InfoBanner';\r\nimport InfoBannerVardpersonal from '../../InfoBannerVardpersonal';\r\nimport InformationType from '../../InformationType';\r\nimport Localnav from '../../Localnav';\r\nimport MatomoTrackMediaAnalytics from '../../Matomo/matomo-track-media-analytics';\r\nimport ReferenceToolTip from '../../Reference/reference-tooltip';\r\nimport ReferencePanel from '../../ReferencePanel';\r\nimport Share from '../../Share';\r\nimport Theme from '../../Theme';\r\n\r\nconst ImageBlockWithSrcSets = withSrcSets(withSensitiveImage(ImageBlock));\r\n\r\nconst ArticlePage = (props) => {\r\n const {\r\n ArticleTools,\r\n FeedbackForm,\r\n PageUrl,\r\n RatingComponent,\r\n MainContentGrid,\r\n SidebarGrid,\r\n contentDirection,\r\n renderReferences,\r\n } = props;\r\n\r\n const isArticlePage = true;\r\n\r\n const InfoBannerSubject =\r\n props?.Content?.Translations &&\r\n props?.Content?.InformationType &&\r\n props.Content.Translations[props.Content.InformationType];\r\n\r\n useEffect(() => {\r\n if (renderReferences) {\r\n if (typeof window === 'undefined') return;\r\n window.document\r\n .querySelectorAll('.reference')\r\n .forEach(\r\n (refNode) =>\r\n refNode.dataset.modalText &&\r\n refNode.dataset.buttonId &&\r\n refNode.dataset.label &&\r\n render(\r\n ,\r\n refNode\r\n )\r\n );\r\n }\r\n }, []);\r\n\r\n const articleMainClasses = classNames({\r\n 'row u-article-main': true,\r\n 'u-article-main--has-info-banner': props?.HasInfoBanner,\r\n });\r\n\r\n const sideBarEnabled = () => {\r\n const { PageTypeName, FeatureToggleSettings } = props;\r\n\r\n return (\r\n FeatureToggleSettings?.UsePrintSidebar && PageTypeName !== 'SelfTestPage'\r\n );\r\n };\r\n\r\n return (\r\n <>\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {props.HasInfoBanner && {\r\n ...(props?.FeatureToggleSettings?.Use1177ProfessionDesign ? (\r\n \r\n ) : (\r\n \r\n )),\r\n }}\r\n
\r\n
\r\n \r\n {props.Content.ShowArticleTools && ArticleTools && (\r\n \r\n )}\r\n \r\n\r\n {props.Content?.CodeSet?.codeGroups?.length > 0 && (\r\n \r\n )}\r\n {props.Content?.TopMediaImage || props.Content?.Image ? (\r\n \r\n \r\n \r\n ) : null}\r\n {!props.RenderMainContent ? (\r\n
\r\n \r\n {props.BlockTypeRenderer}\r\n \r\n
\r\n ) : (\r\n props.RenderMainContent\r\n )}\r\n {RatingComponent}\r\n \r\n {props.Content.referenceList && (\r\n \r\n )}\r\n\r\n {props.Content.ArticleFooter && props.FooterHeading && (\r\n

\r\n {props.FooterHeading}\r\n

\r\n )}\r\n\r\n {props.Content.ArticleFooter && (\r\n <>\r\n {props.NationalHeading && (\r\n \r\n {props.NationalHeading}\r\n
\r\n )}\r\n \r\n \r\n )}\r\n {props.Content.RegionalArticleFooter && (\r\n <>\r\n {props.RegionalHeading && (\r\n \r\n {props.RegionalHeading}\r\n
\r\n )}\r\n\r\n \r\n \r\n )}\r\n {props.Content.HideFeedbackForm !== true && (\r\n \r\n )}\r\n
\r\n\r\n
\r\n
\r\n {props.Content && props.Content.ShowLocalNav && (\r\n \r\n )}\r\n {props.RightColumnComponents && props.RightColumnComponents}\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n\r\n \r\n {props.BlockTypeRenderer}\r\n \r\n\r\n \r\n
\r\n \r\n );\r\n};\r\n\r\nArticlePage.defaultProps = {\r\n MainContentGrid: 'columns medium-offset-2 medium-8 large-6',\r\n SidebarGrid: 'columns medium-2 large-3 show-for-large u-right-col',\r\n};\r\n\r\nexport default ArticlePage;\r\n"],"names":["props","window","translations","__PRELOADED_STATE__","Content","Translations","_jsx","className","children","_jsxs","ReferenceTextModal","OpenModalButton","open","componentId","id","label","ModalPanel","whenActive","tabIndex","dangerouslySetInnerHTML","__html","referenceText","CloseModalButton","close","InformationType","typeClass","classNames","CollapsiblePanel","Id","DefaultCollapsed","collapsed","Heading","panelHeading","Modal","infoBox","subHeading","codeGroups","map","group","i","heading","codes","item","key","code","description","collapsible","useRef","isOpen","setIsOpen","useState","success","setSuccess","text","setText","title","setTitle","showSubmitForm","setShowSubmitForm","handleFocus","name","arguments","length","undefined","elmToFocus","document","getElementById","focus","useEffect","current","extendsContent","FeedbackForm","CommentLabel","handleSubmit","values","_ref","setSubmitting","data","FormData","Object","entries","forEach","_ref2","value","append","fetch","Url","method","body","then","response","ok","Error","status","statusText","json","submitForm","Success","Text","Title","catch","validate","errors","EmailLabel","email","test","subject","SubjectLabel","comment","firstError","keys","SubmitForm","HsaId","PageUrl","initialValues","user","url","hsaid","Fragment","Formik","validateOnChange","validateOnBlur","onSubmit","formik","noValidate","type","defaultValue","htmlFor","Field","component","onBlur","handleBlur","onChange","handleChange","isValid","isTouched","touched","errorType","errorMessages","required","ValidationRequired","autoComplete","ValidationEmailFormat","Alert","Modifiers","disabled","isSubmitting","SendButtonLabel","Spinner","HasLinkList","onClick","CancelButtonLabel","ToggleFormButton","handleClick","e","createEvent","initEvent","dispatchEvent","CollapsibleText","ref","buttonReadMoreText","buttonReadLessText","buttonChildren","LinkList","LinkListTitle","Links","IsForm","href","ExtraText","_props$Switch","_props$Switch$Items","_props$Title","isMobile","isMediumViewport","activeButton","setActiveButton","classes","IsHidden","IsMobile","subjectIndicator","SelectedProfession","Switch","Items","filter","Selected","handleButtonClick","button","prevActive","removeAttribute","classList","add","setCurrent","AnchorNavigation","handleScroll","scrollPosition","scrollY","querySelectorAll","element","offsetTop","getAttribute","addEventListener","removeEventListener","_Fragment","Subject","slice","AnchorHeading","ListSelect","AnchorNavMultiLevelMobile","CurrentActive","CloseNav","closeNav","ImageBlock","ShowPhotoCred","MatomoTrackMediaAnalytics","_window","_window$Matomo","Matomo","MediaAnalytics","MA","MediaflowPlayer","config","playerInstance","mediaResource","getMediaResource","MediaTracker","setWidth","clientWidth","setHeight","clientHeight","setFullscreen","isFullscreen","getMediaTitle","setMediaTitle","trackUpdate","event","origin","contentWindow","source","JSON","parse","isMediaflowReady","postMessage","play","setMediaProgressInSeconds","update","pause","finish","message","navigator","userAgent","ieVersion","parseFloat","toLowerCase","replace","stringify","scanForMedia","container","iframes","getElementsByTagName","isMediaIgnored","src","indexOf","mediaType","VIDEO","addPlayer","ImageBlockWithSrcSets","withLazyLoad","withSrcSets","_props$Translations","isSmallViewport","UseZoom","ImageText","Render","ZoomContainer","BlockId","toString","showCloseModalText","showOpenModalText","OpenZoomButtonText","expandimage","_props$referenceList","referenceList","texts","withSensitiveImage","ArticlePage","_props$Content","_props$Content2","_props$FeatureToggleS","_props$Content3","_props$Content4","_props$Content5","_props$Content6","_props$Content7","_props$Content7$CodeS","_props$Content7$CodeS2","_props$Content8","_props$Content9","ArticleTools","RatingComponent","MainContentGrid","SidebarGrid","contentDirection","renderReferences","InfoBannerSubject","refNode","dataset","modalText","buttonId","render","ReferenceToolTip","articleMainClasses","HasInfoBanner","Breadcrumb","Breadcrumbs","Language","dir","Dir","Theme","FeatureToggleSettings","Use1177ProfessionDesign","InfoBannerVardpersonal","HasTargetGroupSwitch","InfoBanner","ArticleHeader","HeadingTranslation","Preamble","SubjectAboveHeading","ShowArticleTools","CodeSet","DiagnosticPanel","TopMediaImage","Image","blocks","propertyName","currentPageProps","Sizes","sizes","RenderMainContent","MainContent","isArticlePage","BlockTypeRenderer","Share","PrintsideBarEnabled","sideBarEnabled","PageTypeName","UsePrintSidebar","ReferencePanel","ArticleFooter","FooterHeading","NationalHeading","FooterHasCollapsibleRoleGroups","RegionalArticleFooter","RegionalHeading","isRegional","RegionalName","Regionalization","CurrentRegionName","HideFeedbackForm","CommentForm","ShowLocalNav","Localnav","LocalMenu","RightColumnComponents","SectionContent","defaultProps"],"sourceRoot":""}