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AAkBlR,EAAMI,SACjD,GACA,IAYH,IAAKoK,IAAcxK,IAAUA,EAAMy7B,cACjC,OAAO,KAET,MAAM,kBAAEC,EAAiB,iBAAEC,GAAqB37B,EAAMy7B,cAEhDl6B,EAAUC,IAAW,CACzB,gBAAgB,EAChB,0BAA2BuP,IAG7B,OACE/P,EAAAA,EAAAA,KAAA,OAAKoB,UAAWb,EAAQF,UACtBc,EAAAA,EAAAA,MAAA,OAAKC,UAAU,wBAAuBf,SAAA,EACpCL,EAAAA,EAAAA,KAAA,OACEoB,UAAU,8BACV+E,wBAAyB,CAAEC,OAAQs0B,MAErC16B,EAAAA,EAAAA,KAAA,UACEoB,UAAU,uBACVqG,KAAK,SACL3G,QA9BoBC,IAC1BA,EAAEuN,iBACF4B,EAAAA,GAAqB,kBAAkB,EAAM,KAC7CF,GAAc,GAEdxB,YAAW,KACTwB,GAAc,EAAK,GAClB,KAAK,EAuB0B3P,SAE3Bs6B,QAGD,C","sources":["platformui/Base/Render/root.js","framework/favicons/nkk/mstile-70x70.png","platformui/Topnav/item.js","framework/favicons/nkk/192x192.png","platformui/Base/ServiceWorker/serviceWorker.js","components/logo-vardpersonal/index.js","components/footer-vardpersonal/index.js","components/footer/logo.js","components/globalsearch-vardpersonal/index.js","components/header-vardpersonal/helpers.js","components/header-vardpersonal/burger.js","components/header-vardpersonal/region-logo.js","components/header-tools-vardpersonal/index.js","components/header-vardpersonal/regions.js","components/topnav-vardpersonal/index.js","components/header-vardpersonal/index.js","components/header-vardpersonal/header-container.js","components/header-vardpersonal/regions-container.js","components/information-modal/index.js","components/header/regions.js","components/logo/index.js","components/header/helpers.js","components/header/index.js","components/header/header-container.js","components/header/regions-container.js","platformui/Search/globalsearch.js","components/header/region-logo.js","components/header-tools/index.js","platformui/ScrollToTop/index.js","framework/layouts/layout.js","pages/importPage.js","async.js","components/header-vardpersonal/logotypes/skane.js","components/header-vardpersonal/logotypes/blekinge.js","components/header-vardpersonal/logotypes/dalarna.js","components/header-vardpersonal/logotypes/gotland.js","components/header-vardpersonal/logotypes/gavleborg.js","components/header-vardpersonal/logotypes/halland.js","components/header-vardpersonal/logotypes/jamtland.js","components/header-vardpersonal/logotypes/jonkoping.js","components/header-vardpersonal/logotypes/kalmar.js","components/header-vardpersonal/logotypes/kronoberg.js","components/header-vardpersonal/logotypes/norrbotten.js","components/header-vardpersonal/logotypes/stockholm.js","components/header-vardpersonal/logotypes/sormland.js","components/header-vardpersonal/logotypes/uppsala.js","components/header-vardpersonal/logotypes/varmland.js","components/header-vardpersonal/logotypes/vasterbotten.js","components/header-vardpersonal/logotypes/vasternorrland.js","components/header-vardpersonal/logotypes/vastmanland.js","components/header-vardpersonal/logotypes/vastragotaland.js","components/header-vardpersonal/logotypes/orebro.js","components/header-vardpersonal/logotypes/ostergotland.js","components/header-vardpersonal/region-logotypes.js","app.js","framework/favicons/nkk/apple-touch-icon-72x72.png","platformui/Footer/index.js","platformui/Meganav/index.js","platformui/StatusMessage/index.js","platformui/CollapsiblePanel/panelContext.js","platformui/Topnav/index.js","platformui/Hooks/useMedia.js","platformui/Alert/index.js","platformui/Modal/hover-modal.js","platformui/Base/Scroll/index.js","platformui/Containers/withToolbarButtonList.js","platformui/Header/index.js","platformui/Complimentnav/index.js","platformui/AccessibilityNav/index.js","framework/favicons|sync|/.png$","framework/favicons/nkk/512x512.png","platformui/Search/quicksearch-results.js","platformui/Containers/withKeepTabFocus.js","framework/favicons/nkk/favicon-96x96.png","platformui/Reducers/search.js","framework/favicons/nkk/48x48.png","nkk-manifest.json","framework/favicons/nkk/favicon-16x16.png","platformui/LinkBlock/index.js","framework/favicons/nkk/apple-touch-icon-76x76.png","framework/favicons/nkk/favicon-128x128.png","framework/favicons/nkk/mstile-144x144.png","framework/favicons/nkk/apple-touch-icon-120x120.png","platformui/Context/cookies.js","platformui/Containers/withRelevantDate.js","platformui/Base/Render/staticComponent.js","platformui/Anchor/index.js","platformui/Base/Render/fallback-component.js","platformui/Base/Render/error-boundary.js","framework/favicons/nkk/apple-touch-icon-114x114.png","platformui/IDSBadge/index.js","framework/favicons/nkk/mstile-310x310.png","platformui/Helpers/helpers.js","framework/favicons/nkk/favicon-196x196.png","platformui/Base/Render/pagetype-renderer.js","platformui/Mobilenav/expand-button/index.js","framework/favicons/nkk/mstile-310x150.png","platformui/Base/Render/blocktype-renderer.js","framework/favicons/nkk/apple-touch-icon-152x152.png","platformui/SurveyEntry/index.js","platformui/BuildInfo/index.js","framework/favicons/nkk/apple-touch-icon-57x57.png","platformui/Containers/withAutocomplete.js","framework/favicons/nkk/apple-touch-icon-60x60.png","platformui/Mobilenav/item.js","platformui/Base/Cookies/index.js","platformui/Api/index.js","platformui/CollapsiblePanel/index.js","platformui/Header/burger.js","platformui/AlertList/index.js","platformui/Base/Render/block.js","platformui/Linklist/index.js","framework/favicons/nkk/favicon-32x32.png","framework/favicons/nkk/mstile-150x150.png","platformui/Search/autocomplete-suggestions.js","framework/favicons/nkk/apple-touch-icon-144x144.png","platformui/Base/Render/property.js","platformui/Actions/search.js","platformui/Chapter/semantic-header.js","platformui/Meganav/item.js","platformui/Search/searchfield.js","platformui/Mobilenav/index.js","platformui/CookiePanel/index.js"],"sourcesContent":["import React from 'react';\r\nimport CookieContext from '../../Context/cookies';\r\n\r\nexport default (WrappedComponent) => {\r\n const Root = (props) => {\r\n // let props = null;\r\n\r\n if (typeof window !== 'undefined') {\r\n props = {\r\n ...window.__PRELOADED_STATE__,\r\n ...props,\r\n cookies: document.cookie,\r\n };\r\n } else {\r\n if (typeof props.__PRELOADED_STATE__ !== 'object') {\r\n props = {\r\n ...props,\r\n ...JSON.parse(props.__PRELOADED_STATE__),\r\n cookies: props.cookies,\r\n };\r\n } else {\r\n props = {\r\n ...props,\r\n ...props.__PRELOADED_STATE__,\r\n PageTypeRenderer: props.PageTypeRenderer,\r\n cookies: props.cookies,\r\n };\r\n }\r\n }\r\n\r\n //Set up globals for platform application\r\n global.PWTPlatform = {};\r\n global.PWTPlatform.Translate = props.translate;\r\n global.PWTPlatform.IsEditMode = props.IsEditMode;\r\n global.PWTPlatform.EditAttributes = props.EditAttributes;\r\n\r\n return (\r\n \r\n \r\n \r\n );\r\n };\r\n return Root;\r\n};\r\n","export default __webpack_public_path__ + \"static/favicons/mstile-70x70.png\";","import React from 'react';\r\nimport classNames from 'classnames';\r\n\r\nconst Item = (item) => {\r\n const classes = classNames({\r\n 'c-toppnav__item': true,\r\n 'c-toppnav__item--is-selected': item.isOpened || item.ActivePath,\r\n 'c-toppnav__item--is-opened': item.isOpened,\r\n });\r\n\r\n let attributes = {\r\n href: item.Url,\r\n onClick: (e) => item.handleClick(e, item),\r\n };\r\n\r\n if (item.Children) {\r\n attributes = {\r\n href: item.Url,\r\n onClick: (e) => item.handleClick(e, item),\r\n 'aria-expanded': item.isOpened,\r\n 'aria-controls': `subnav-${item.PageId}`,\r\n 'data-cy': 'ui-top-navigation-expand-link'\r\n };\r\n }\r\n\r\n return (\r\n
  • \r\n \r\n {item.Text}\r\n \r\n {item.children}\r\n
  • \r\n );\r\n};\r\n\r\nexport default Item;\r\n","export default __webpack_public_path__ + \"static/favicons/192x192.png\";","// This optional code is used to register a service worker.\r\n// register() is not called by default.\r\n\r\n// This lets the app load faster on subsequent visits in production, and gives\r\n// it offline capabilities. However, it also means that developers (and users)\r\n// will only see deployed updates on subsequent visits to a page, after all the\r\n// existing tabs open on the page have been closed, since previously cached\r\n// resources are updated in the background.\r\n\r\n// To learn more about the benefits of this model and instructions on how to\r\n// opt-in, read https://bit.ly/CRA-PWA\r\n\r\nconst isLocalhost = typeof window !== 'undefined' && Boolean(\r\n // match [site].local hostname\r\n window.location.hostname.match(/\\.local$/) ||\r\n window.location.hostname === 'localhost' ||\r\n // [::1] is the IPv6 localhost address.\r\n window.location.hostname === '[::1]' ||\r\n // 127.0.0.0/8 are considered localhost for IPv4.\r\n window.location.hostname.match(\r\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\r\n )\r\n);\r\n\r\nexport function register(config) {\r\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\r\n // The URL constructor is available in all browsers that support SW.\r\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\r\n if (publicUrl.origin !== window.location.origin) {\r\n // Our service worker won't work if PUBLIC_URL is on a different origin\r\n // from what our page is served on. This might happen if a CDN is used to\r\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\r\n return;\r\n }\r\n\r\n window.addEventListener('load', () => {\r\n const swUrl = `/${process.env.SITE}-service-worker.js?v=${process.env.BUILD_TIMESTAMP}`;\r\n\r\n if (isLocalhost) {\r\n // This is running on localhost. Let's check if a service worker still exists or not.\r\n checkValidServiceWorker(swUrl, config);\r\n\r\n // Add some additional logging to localhost, pointing developers to the\r\n // service worker/PWA documentation.\r\n navigator.serviceWorker.ready.then(() => {\r\n console.log(\r\n 'This web app is being served cache-first by a service ' +\r\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\r\n );\r\n });\r\n } else {\r\n // Is not localhost. Just register service worker\r\n registerValidSW(swUrl, config);\r\n }\r\n });\r\n }\r\n}\r\n\r\nfunction registerValidSW(swUrl, config) {\r\n navigator.serviceWorker\r\n .register(swUrl)\r\n .then(registration => {\r\n registration.onupdatefound = () => {\r\n const installingWorker = registration.installing;\r\n if (installingWorker == null) {\r\n return;\r\n }\r\n installingWorker.onstatechange = () => {\r\n if (installingWorker.state === 'installed') {\r\n if (navigator.serviceWorker.controller) {\r\n // At this point, the updated precached content has been fetched,\r\n // but the previous service worker will still serve the older\r\n // content until all client tabs are closed.\r\n console.log(\r\n 'New content is available and will be used when all ' +\r\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\r\n );\r\n\r\n // Execute callback\r\n if (config && config.onUpdate) {\r\n config.onUpdate(registration);\r\n }\r\n } else {\r\n // At this point, everything has been precached.\r\n // It's the perfect time to display a\r\n // \"Content is cached for offline use.\" message.\r\n console.log('Content is cached for offline use.');\r\n\r\n // Execute callback\r\n if (config && config.onSuccess) {\r\n config.onSuccess(registration);\r\n }\r\n }\r\n }\r\n };\r\n };\r\n })\r\n .catch(error => {\r\n console.error('Error during service worker registration:', error);\r\n });\r\n}\r\n\r\nfunction checkValidServiceWorker(swUrl, config) {\r\n // Check if the service worker can be found. If it can't reload the page.\r\n fetch(swUrl, {\r\n headers: { 'Service-Worker': 'script' },\r\n })\r\n .then(response => {\r\n // Ensure service worker exists, and that we really are getting a JS file.\r\n const contentType = response.headers.get('content-type');\r\n if (\r\n response.status === 404 ||\r\n (contentType != null && contentType.indexOf('javascript') === -1)\r\n ) {\r\n // No service worker found. Probably a different app. Reload the page.\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister().then(() => {\r\n window.location.reload();\r\n });\r\n });\r\n } else {\r\n // Service worker found. Proceed as normal.\r\n registerValidSW(swUrl, config);\r\n }\r\n })\r\n .catch(() => {\r\n console.log(\r\n 'No internet connection found. App is running in offline mode.'\r\n );\r\n });\r\n}\r\n\r\nexport function unregister() {\r\n if ('serviceWorker' in navigator) {\r\n navigator.serviceWorker.ready\r\n .then(registration => {\r\n registration.unregister();\r\n })\r\n .catch(error => {\r\n console.error(error.message);\r\n });\r\n }\r\n}\r\n","import React from 'react';\r\n\r\nconst Logo = ({ link, logosr, width, height, fill, viewBoxWidth, viewBoxHeight }) => {\r\n const Svg = (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n return link ? (\r\n \r\n {Svg}\r\n \r\n ) : (\r\n <>\r\n \r\n {logosr}\r\n \r\n {Svg}\r\n \r\n );\r\n};\r\n\r\nexport default Logo;\r\n","import classNames from 'classnames';\r\nimport React from 'react';\r\nimport CollapsiblePanel from '../../platformui/CollapsiblePanel';\r\nimport { useSweLang } from '../../platformui/Helpers';\r\nimport Linklist from '../../platformui/Linklist';\r\nimport Logo from '../logo-vardpersonal';\r\n\r\nconst Footer = ({\r\n SiteFooter,\r\n Language,\r\n Modifiers,\r\n Content,\r\n SiteLogoSr,\r\n siteFooterLinkListModifiers,\r\n}) => {\r\n if (!SiteFooter) return false;\r\n\r\n const linkLists = [\r\n SiteFooter.LinkListFirst,\r\n SiteFooter.LinkListSecond,\r\n SiteFooter.LinkListThird,\r\n ].filter((list) => list && list.Links);\r\n\r\n if (SiteFooter.CookieSettingsLinkEnabled && linkLists.length > 0) {\r\n const lastList = linkLists[linkLists.length - 1];\r\n const isCookieSettingsPresent = lastList?.Links?.some(\r\n (link) => link.id === 'ot-container ot-sdk-btn'\r\n );\r\n\r\n if (!isCookieSettingsPresent) {\r\n lastList.Links.push({\r\n Text: 'Inställningar för kakor',\r\n id: 'ot-container ot-sdk-btn',\r\n className: 'ot-sdk-show-settings',\r\n });\r\n }\r\n }\r\n\r\n const columnClasses = classNames({\r\n columns: true,\r\n 'medium-10': true,\r\n 'large-6': linkLists.length < 3,\r\n 'large-4': linkLists.length === 3,\r\n });\r\n\r\n return (\r\n \r\n
    \r\n
    \r\n
    \r\n {linkLists.map((list, index) => (\r\n
    \r\n \r\n
    \r\n ))}\r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n {linkLists.map((list, index) => (\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 {SiteFooter.Heading}\r\n \r\n {SiteFooter.SubHeading && (\r\n \r\n – {SiteFooter.SubHeading}\r\n \r\n )}\r\n \r\n {SiteFooter.SiteInformation && (\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\nexport default Footer;\r\n","import React from 'react';\r\n\r\nconst FooterLogo = (props) => {\r\n return (\r\n <>\r\n {props.logotext && props.link ? (\r\n \r\n {props.logotext}\r\n \r\n ) : (\r\n props.logotext && (\r\n {props.logotext}\r\n )\r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default FooterLogo;\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\nimport SearchField from '../../platformui/Search/searchfield';\r\n\r\nconst GlobalSearch = (props) => {\r\n const globalSearchClasses = classNames({\r\n 'vardpersonal-globalsearch': true,\r\n 'vardpersonal-globalsearch--is-opened': props.activeTool === 'search',\r\n 'vardpersonal-globalsearch--is-mobile': props.isMobile,\r\n 'vardpersonal-globalsearch--is-desktop': !props.isMobile,\r\n });\r\n\r\n const { SearchSettings } = props;\r\n\r\n return (\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n {SearchSettings.SearchPlaceholder &&\r\n SearchSettings.SearchPlaceholder}\r\n \r\n \r\n \r\n \r\n Sök\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default GlobalSearch;\r\n","const isPost = (props) => {\r\n return props.Content && props.Content.IsPost;\r\n};\r\n\r\nconst isSearchBot = (props) => {\r\n return props.IsSearchBot;\r\n};\r\n\r\nconst isDefaultRegion = (props) => {\r\n return (\r\n props.Regionalization.Regions &&\r\n (props.Regionalization.Regions.DefaultOption.Selected ||\r\n props.PageTypeName === 'ErrorPage')\r\n );\r\n};\r\n\r\nexport const hasCurrentRegion = (props) => {\r\n return (\r\n props.Regionalization.Regions &&\r\n props.Regionalization.Regions.Options.find((item) => item.Selected === true)\r\n );\r\n};\r\n\r\nexport const isExpanded = (props) =>\r\n isSearchBot(props)\r\n ? false\r\n : !isPost(props) && !isDefaultRegion(props) && !hasCurrentRegion(props);\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\nconst Burger = (props) => {\r\n const burgerClasses = classNames({\r\n 'lines-button': true,\r\n x: true,\r\n close: props.mobileNavVis,\r\n });\r\n\r\n return (\r\n props.handleHamburgerClick(e)}\r\n type=\"button\"\r\n className={props.burgerBtnClassname}\r\n aria-controls=\"mobile-nav\"\r\n aria-label={\r\n props.Content.Translations && props.Content.Translations.menusr\r\n }\r\n aria-expanded={props.mobileNavVis}\r\n data-cy=\"ui-burger-btn\"\r\n >\r\n {props.text && (\r\n {props.text}\r\n )}\r\n\r\n \r\n \r\n \r\n \r\n {props.Content.Translations && props.Content.Translations.menusr}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default Burger;\r\n","import React, { useState, useEffect } from 'react';\r\nimport classNames from 'classnames';\r\nimport { isExpanded } from './helpers';\r\n\r\nconst RegionLogo = (props) => {\r\n const [expanded, setExpanded] = useState(isExpanded(props));\r\n\r\n useEffect(() => {\r\n if (props.activeTool === 'region-picker') {\r\n setExpanded(!expanded);\r\n }\r\n\r\n if (props.activeTool !== 'region-picker') {\r\n setExpanded(false);\r\n }\r\n }, [props.activeTool]);\r\n\r\n const { CurrentRegionLogo } = props;\r\n\r\n return (\r\n
    \r\n
    \r\n {props.Content.Translations && (\r\n
    \r\n

    {props.Content.Translations.label}

    \r\n
    \r\n )}\r\n props.toggle('region-picker')}\r\n aria-expanded={props.isVisible}\r\n >\r\n {props.currentRegion && (\r\n \r\n Du har valt region {props.currentRegion.Label}.\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n {!props.currentRegion ? (\r\n \r\n Välj region\r\n {props.currentRegion && (\r\n Välj en annan region\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};\r\n\r\nexport default RegionLogo;\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\nimport Burger from '../header-vardpersonal/burger';\r\nimport RegionLogo from '../header-vardpersonal/region-logo';\r\n\r\nconst HeaderTools = (props) => {\r\n\r\n return (\r\n <>\r\n \r\n
    \r\n
      \r\n {props.switchToResidentUrl && props.switchToResidentText && (\r\n
    • \r\n \r\n \r\n \r\n \r\n {props.switchToResidentText}\r\n \r\n {props.Content.Translations.quicklinkssr}\r\n \r\n \r\n
    • \r\n )}\r\n
    • \r\n \r\n
    • \r\n \r\n {!props.checkViewboxIsMobile && (\r\n {\r\n props.toggle('search');\r\n }}\r\n aria-expanded={props.activeTool === 'search'}\r\n >\r\n \r\n \r\n \r\n {props.Content.Translations.search}\r\n \r\n {props.Content.Translations.quicklinkssr}\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\nexport default HeaderTools;\r\n","import React from 'react';\r\nimport { withRouter } from 'react-router';\r\nimport classNames from 'classnames';\r\nimport withKeepTabFocus from '../../platformui/Containers/withKeepTabFocus';\r\n\r\nconst Regions = (props) => {\r\n if (!props.Regionalization || typeof window === 'undefined') return null;\r\n const { Options } = props.Regionalization.Regions;\r\n const { DefaultOption } = props.Regionalization.Regions;\r\n\r\n const regionPicker = classNames({\r\n 'region-picker': true,\r\n 'region-picker--is-expanded': props.isVisible,\r\n });\r\n\r\n const selectedProfession = props.Content?.Switch?.CurrentSelectionCodeParam;\r\n\r\n const uuid = props.Content?.Publication?.currentUuidParam;\r\n\r\n return (\r\n \r\n
    \r\n
    \r\n
    \r\n {props.isVisible ? (\r\n

    \r\n {/* span element with id and tabindex to set focus due to accessibility */}\r\n \r\n {props.Regionalization.Heading}\r\n \r\n

    \r\n ) : (\r\n

    \r\n {props.Regionalization.Heading}\r\n

    \r\n )}\r\n
    \r\n\r\n
    \r\n
    \r\n {Options && (\r\n
      \r\n {Options.map(({ Value, Label, Selected }, index) => (\r\n
    • \r\n \r\n {Label}\r\n \r\n \r\n
    • \r\n ))}\r\n
    \r\n )}\r\n\r\n \r\n {DefaultOption.Label}\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {\r\n document.getElementById('region-picker').focus();\r\n props.toggle('region-picker');\r\n }}\r\n aria-expanded={props.isVisible}\r\n >\r\n Stäng regionsväljaren\r\n Stäng\r\n \r\n
    \r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default withRouter(withKeepTabFocus(Regions));\r\n","import React from 'react';\r\nimport Topnav from '../../platformui/Topnav';\r\n\r\nconst TopnavVardpersonal = ({\r\n Children,\r\n LoadBlocks,\r\n isFullWidth,\r\n meganavHasHeading,\r\n complimentnavHeading,\r\n closeTranslation,\r\n}) => {\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default TopnavVardpersonal;\r\n","import React, { useState, useEffect } from 'react';\r\nimport AlertList from '../../platformui/AlertList';\r\nimport classNames from 'classnames';\r\nimport GlobalSearch from '../globalsearch-vardpersonal';\r\nimport HeaderContainer from './header-container';\r\nimport HeaderTools from '../header-tools-vardpersonal';\r\nimport Logo from '../logo-vardpersonal';\r\nimport Mobile from '../../platformui/Mobilenav';\r\nimport RegionLogo from '../header-vardpersonal/region-logo';\r\nimport Regions from './regions';\r\nimport RegionsContainer from './regions-container';\r\nimport TopnavVardpersonal from '../topnav-vardpersonal';\r\nimport { useSweLang } from '../../platformui/Helpers';\r\n\r\nconst Header = (props) => {\r\n const [mobileNavVisible, setMobileNavVisible] = useState(false);\r\n const [animationStart, setAnimationStart] = useState(false);\r\n const [menuItems, setMenuItems] = useState([]);\r\n\r\n const {\r\n LangSelectorSmall,\r\n isToolsVisible,\r\n BuildInfo,\r\n height,\r\n activeTool,\r\n regionLogo,\r\n currentRegion,\r\n Language,\r\n isFullWidth,\r\n MainNavigation,\r\n LoadBlocks,\r\n complimentnavHeading,\r\n mobileNavHasFooterLinks,\r\n SiteFooter,\r\n PageId,\r\n renderAfterMobileMenu,\r\n isFullOverlayInMobile,\r\n chevronMobile,\r\n SwitchToResidentSettings,\r\n } = props;\r\n\r\n const { NavigateToLinkUrl, SwitchButtonText, SwitchButtonTextMobile } =\r\n SwitchToResidentSettings;\r\n\r\n let timerMobileNav = null;\r\n\r\n const handleClick = (e) => {\r\n e.preventDefault();\r\n setMobileNavVisible(!mobileNavVisible);\r\n clearTimeout(timerMobileNav);\r\n timerMobileNav = setTimeout(() => {\r\n setAnimationStart(!animationStart);\r\n }, 5);\r\n };\r\n\r\n const addNewMenuItem = () => {\r\n if (NavigateToLinkUrl && SwitchButtonTextMobile) {\r\n const switchMenuItemText = (\r\n \r\n \r\n {SwitchButtonTextMobile}\r\n \r\n );\r\n\r\n const newMenuItem = {\r\n Text: switchMenuItemText,\r\n Url: NavigateToLinkUrl?.Uri,\r\n HideChildrenInMobileMenu: false,\r\n IsLeafNode: true,\r\n };\r\n\r\n setMenuItems((prevNavigation) => [...prevNavigation, newMenuItem]);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (props.isFullOverlayInMobile) {\r\n !mobileNavVisible && document.body.removeAttribute('class');\r\n }\r\n });\r\n\r\n useEffect(() => {\r\n if (MainNavigation && MainNavigation.length > 0) {\r\n setMenuItems(MainNavigation);\r\n }\r\n }, [MainNavigation]);\r\n\r\n useEffect(() => {\r\n addNewMenuItem();\r\n }, []);\r\n\r\n const headerClasses = classNames({\r\n 'vardpersonal-header': true,\r\n 'vardpersonal-header--is-tools-visible': isToolsVisible,\r\n 'c-header--is-navigation': mobileNavVisible,\r\n 'c-header--is-animating': animationStart,\r\n 'vardpersonal-header--showbuildinfo': BuildInfo,\r\n });\r\n\r\n const headerNavClasses = classNames({\r\n 'vardpersonal-header__navigation': true,\r\n });\r\n\r\n const checkViewboxIsMobile = () => {\r\n if (typeof window === 'undefined') {\r\n return false;\r\n }\r\n const mq = window.matchMedia('(min-width: 1025px)');\r\n mq.matches ? false : true;\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 \r\n för vårdpersonal\r\n \r\n \r\n \r\n \r\n
    \r\n handleClick(e)}\r\n checkViewboxIsMobile={checkViewboxIsMobile()}\r\n />\r\n
    \r\n {checkViewboxIsMobile && (\r\n {\r\n props.toggle('search');\r\n }}\r\n aria-expanded={activeTool === 'search'}\r\n >\r\n \r\n \r\n {props.Content.Translations.quicklinkssr}\r\n \r\n \r\n )}\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n {renderAfterMobileMenu(mobileNavVisible)}\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n {LangSelectorSmall && (\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\nHeader.defaultProps = {\r\n renderAfterMobileMenu: () => {},\r\n};\r\n\r\nexport default HeaderContainer(RegionsContainer(Header));\r\n","import React, { useState } from 'react';\r\nimport { isExpanded } from './helpers';\r\n\r\nexport default (WrapperComponent) => {\r\n const HeaderContainer = (props) => {\r\n const [activeTool, setActiveTool] = useState(\r\n isExpanded(props) ? 'region-picker' : ''\r\n );\r\n const getRegions = null;\r\n\r\n let timer = null;\r\n\r\n const toggle = (id) => {\r\n setActiveTool(id === activeTool ? '' : id);\r\n setFocus('globalsearch');\r\n };\r\n\r\n const setFocus = (id) => {\r\n clearTimeout(timer);\r\n timer = setTimeout(() => document.getElementById(id).focus(), 420);\r\n };\r\n\r\n return (\r\n toggle(e)}\r\n activeTool={activeTool}\r\n getRegions={getRegions}\r\n />\r\n );\r\n };\r\n return HeaderContainer;\r\n};\r\n","import React, { useState, useEffect } from 'react';\r\nimport { hasCurrentRegion } from './helpers';\r\n\r\nexport default (WrapperComponent) => {\r\n const Container = (props) => {\r\n const [isVisible, setIsVisible] = useState(false);\r\n const currentRegion = hasCurrentRegion(props);\r\n const region = null;\r\n const regionLogo = null;\r\n const getRegions = null;\r\n\r\n let focusTimer = null;\r\n\r\n useEffect(() => {\r\n if (props.activeTool === 'region-picker') {\r\n setIsVisible(!isVisible);\r\n focusElm('region-wrapper-focus');\r\n }\r\n\r\n if (props.activeTool !== 'region-picker') {\r\n setIsVisible(false);\r\n }\r\n }, [props.activeTool]);\r\n\r\n const focusElm = (id) => {\r\n clearTimeout(focusTimer);\r\n focusTimer = setTimeout(() => {\r\n //Wait 350ms for animation to finish\r\n document.getElementById(id) && document.getElementById(id).focus();\r\n }, 450);\r\n };\r\n\r\n return (\r\n \r\n );\r\n };\r\n return Container;\r\n};\r\n","import React, { useState, useEffect } from 'react';\r\nimport * as Cookies from '../../platformui/Base/Cookies';\r\nimport { shape, string, func } from 'prop-types';\r\nimport classNames from 'classnames';\r\n\r\nconst InformationModal = ({ InformationModal, cookies, active }) => {\r\n const { CheckboxText, ButtonText, HeadingText, BodyText } = InformationModal;\r\n\r\n const [isVisible, setIsVisible] = useState(false);\r\n const [isAccepted, setIsAccepted] = useState(false);\r\n\r\n useEffect(() => {\r\n const cookieValue = Cookies.parseCookieData(\r\n 'acceptedInformationModal',\r\n cookies\r\n );\r\n setIsVisible(cookieValue === null || cookieValue === 'false');\r\n setIsAccepted(cookieValue === 'true');\r\n }, [cookies]);\r\n\r\n const isInitialRender = React.useRef(true);\r\n\r\n useEffect(() => {\r\n if (isInitialRender.current) {\r\n isInitialRender.current = false;\r\n return;\r\n }\r\n active(isVisible);\r\n }, [isVisible, active]);\r\n\r\n const closeInformationModal = () => {\r\n setIsVisible(false);\r\n };\r\n\r\n const handleCheckboxChange = () => {\r\n setIsAccepted(!isAccepted);\r\n updateCookie(!isAccepted);\r\n };\r\n\r\n const updateCookie = (value) => {\r\n Cookies.createCookie('acceptedInformationModal', value, 365);\r\n };\r\n\r\n return (\r\n isVisible && (\r\n
    \r\n
    \r\n
    \r\n
    \r\n {HeadingText && (\r\n \r\n )}\r\n {BodyText && (\r\n \r\n )}\r\n {\r\n handleCheckboxChange();\r\n }}\r\n >\r\n \r\n {CheckboxText}\r\n
    \r\n \r\n {ButtonText}\r\n \r\n
    \r\n
    \r\n
    \r\n )\r\n );\r\n};\r\n\r\nInformationModal.propTypes = {\r\n InformationModal: shape({\r\n CheckboxText: string,\r\n ButtonText: string,\r\n TitleText: string,\r\n BodyText: string,\r\n }),\r\n cookies: string,\r\n active: func,\r\n};\r\n\r\nexport default InformationModal;\r\n","import React from 'react';\r\nimport { withRouter } from 'react-router';\r\nimport classNames from 'classnames';\r\nimport withKeepTabFocus from '../../platformui/Containers/withKeepTabFocus';\r\n\r\nconst Regions = (props) => {\r\n if (!props.Regionalization || typeof window === 'undefined') return null;\r\n const { Options } = props.Regionalization.Regions;\r\n const { DefaultOption } = props.Regionalization.Regions;\r\n\r\n const regionPicker = classNames({\r\n 'region-picker': true,\r\n 'region-picker--is-expanded': props.isVisible,\r\n });\r\n\r\n const selectedProfession = props.Content?.Switch?.CurrentSelectionCodeParam;\r\n\r\n const uuid = props.Content?.Publication?.currentUuidParam;\r\n\r\n return (\r\n \r\n
    \r\n
    \r\n
    \r\n {props.isVisible && (\r\n

    \r\n {/* span element with id and tabindex to set focus due to accessibility */}\r\n \r\n {props.Regionalization.Heading}\r\n \r\n

    \r\n )}\r\n {!props.isVisible && (\r\n

    \r\n {props.Regionalization.Heading}\r\n

    \r\n )}\r\n
    \r\n\r\n
    \r\n
    \r\n {Options && (\r\n
      \r\n {Options.map(({ Value, Label, Selected }, index) => (\r\n
    • \r\n \r\n {Label}\r\n \r\n \r\n
    • \r\n ))}\r\n
    \r\n )}\r\n\r\n \r\n {DefaultOption.Label}\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {\r\n document.getElementById('region-picker').focus();\r\n props.toggle('region-picker');\r\n }}\r\n aria-expanded={props.isVisible}\r\n >\r\n Stäng regionsväljaren\r\n Stäng\r\n \r\n
    \r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default withRouter(withKeepTabFocus(Regions));\r\n","import React from 'react';\r\nconst Logo = (props) => {\r\n return (\r\n \r\n \r\n Nationellt kliniskt kunskapsstöd\r\n \r\n {props.logosr}\r\n \r\n );\r\n};\r\n\r\nexport default Logo;\r\n","const isPost = (props) => {\r\n return props.Content && props.Content.IsPost;\r\n};\r\n\r\nconst isSearchBot = (props) => {\r\n return props.IsSearchBot;\r\n};\r\n\r\nconst isDefaultRegion = (props) => {\r\n return (\r\n props.Regionalization.Regions &&\r\n (props.Regionalization.Regions.DefaultOption.Selected ||\r\n props.PageTypeName === 'ErrorPage')\r\n );\r\n};\r\n\r\nexport const hasCurrentRegion = (props) => {\r\n return (\r\n props.Regionalization.Regions &&\r\n props.Regionalization.Regions.Options.find((item) => item.Selected === true)\r\n );\r\n};\r\n\r\nexport const isExpanded = (props) =>\r\n isSearchBot(props)\r\n ? false\r\n : !isPost(props) && !isDefaultRegion(props) && !hasCurrentRegion(props);\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\nimport PlatformHeader from '../../platformui/Header';\r\nimport Regions from './regions';\r\nimport Logo from '../logo';\r\nimport RegionsContainer from './regions-container';\r\nimport HeaderContainer from './header-container';\r\nimport { useSweLang } from '../../platformui/Helpers';\r\n\r\nconst Header = (props) => {\r\n return (\r\n \r\n \r\n\r\n \r\n \r\n );\r\n};\r\n\r\nexport default HeaderContainer(RegionsContainer(Header));\r\n","import React, { useState } from 'react';\r\nimport { isExpanded } from './helpers';\r\n\r\nexport default (WrapperComponent) => {\r\n const HeaderContainer = (props) => {\r\n const [activeTool, setActiveTool] = useState(\r\n isExpanded(props) ? 'region-picker' : ''\r\n );\r\n const getRegions = null;\r\n\r\n let timer = null;\r\n\r\n const toggle = (id) => {\r\n setActiveTool(id === activeTool ? '' : id);\r\n\r\n if (id === 'search') {\r\n if (typeof window === 'undefined') {\r\n setFocus('globalsearch');\r\n return;\r\n }\r\n const mq = window.matchMedia('(min-width: 1025px)');\r\n mq.matches\r\n ? setFocus('globalsearch')\r\n : setFocus('globalsearch--mobile');\r\n }\r\n };\r\n\r\n const setFocus = (id) => {\r\n clearTimeout(timer);\r\n timer = setTimeout(() => document.getElementById(id).focus(), 420);\r\n };\r\n\r\n return (\r\n toggle(e)}\r\n activeTool={activeTool}\r\n getRegions={getRegions}\r\n />\r\n );\r\n };\r\n return HeaderContainer;\r\n};\r\n","import React, { useState, useEffect } from 'react';\r\nimport { hasCurrentRegion } from './helpers';\r\n\r\nexport default (WrapperComponent) => {\r\n const Container = (props) => {\r\n const [isVisible, setIsVisible] = useState(false);\r\n const currentRegion = hasCurrentRegion(props);\r\n const region = null;\r\n const regionLogo = null;\r\n const getRegions = null;\r\n\r\n let focusTimer = null;\r\n\r\n useEffect(() => {\r\n if (props.activeTool === 'region-picker') {\r\n setIsVisible(!isVisible);\r\n focusElm('region-wrapper-focus');\r\n }\r\n\r\n if (props.activeTool !== 'region-picker') {\r\n setIsVisible(false);\r\n }\r\n }, [props.activeTool]);\r\n\r\n const focusElm = (id) => {\r\n clearTimeout(focusTimer);\r\n //document.getElementById(id).blur();\r\n focusTimer = setTimeout(() => {\r\n //Wait 350ms for animation to finish\r\n document.getElementById(id) && document.getElementById(id).focus();\r\n }, 450);\r\n };\r\n\r\n return (\r\n \r\n );\r\n };\r\n return Container;\r\n};\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\nimport SearchField from './searchfield';\r\nimport withToolbarButtonList from '../Containers/withToolbarButtonList';\r\n\r\nconst GlobalSearch = (props) => {\r\n const { ButtonSVG } = props;\r\n const globalSearchClasses = classNames({\r\n 'c-globalsearch': true,\r\n 'c-globalsearch--is-opened': props.isVisible,\r\n });\r\n return (\r\n
    \r\n \r\n
    \r\n
    \r\n {props.HasSearch && (\r\n
    \r\n \r\n
    \r\n \r\n \r\n {props.SearchSettings.SearchPlaceholder}\r\n \r\n \r\n\r\n \r\n\r\n \r\n Sök\r\n \r\n
    \r\n \r\n
    \r\n )}\r\n
    \r\n
    \r\n
    \r\n\r\n {ButtonSVG && (\r\n props.handleVisible(e, 'global-search')}\r\n aria-controls=\"global-search\"\r\n aria-labelledby=\"description-search\"\r\n aria-expanded={props.isVisible}\r\n >\r\n {ButtonSVG}\r\n \r\n {props.Content.Translations && props.Content.Translations.search}\r\n \r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default withToolbarButtonList(GlobalSearch);\r\n","import React, { useState, useEffect } from 'react';\r\nimport classNames from 'classnames';\r\nimport { isExpanded } from './helpers';\r\nimport { isMediumViewport } from '../../platformui/Hooks/useMedia';\r\n\r\nconst RegionLogo = (props) => {\r\n const [expanded, setExpanded] = useState(isExpanded(props));\r\n\r\n useEffect(() => {\r\n if (props.activeTool === 'region-picker') {\r\n setExpanded(!expanded);\r\n }\r\n\r\n if (props.activeTool !== 'region-picker') {\r\n setExpanded(false);\r\n }\r\n }, [props.activeTool]);\r\n\r\n return (\r\n
    \r\n
    \r\n {props.Content.Translations && (\r\n
    \r\n

    {props.Content.Translations.label}

    \r\n
    \r\n )}\r\n props.toggle('region-picker')}\r\n aria-expanded={props.isVisible}\r\n >\r\n {props.ButtonSVG}\r\n {props.currentRegion && !isMediumViewport() && (\r\n <>\r\n Du har valt region\r\n \r\n {props.currentRegion.Label}\r\n \r\n \r\n )}\r\n \r\n {props.currentRegion && (\r\n Välj en annan region\r\n )}{' '}\r\n \r\n \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default RegionLogo;\r\n","import React from 'react';\r\nimport GlobalSearch from '../../platformui/Search/globalsearch';\r\nimport RegionLogo from '../header/region-logo';\r\n\r\nconst HeaderTools = (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
    • \r\n
    \r\n );\r\n};\r\n\r\nexport default HeaderTools;\r\n","import React, { useEffect, useState } from 'react';\r\nimport classNames from 'classnames';\r\nimport T from 'prop-types';\r\nimport scrollIt from '../Base/Scroll';\r\n\r\nconst ScrollToTop = (props) => {\r\n let ticking = false;\r\n const [isOffsetTop, setIsOffestTopState] = useState(false);\r\n const [isFooterInWindow, setIsFooterInWindow] = useState(false);\r\n\r\n function animateScrollToTop(e) {\r\n e.preventDefault();\r\n scrollIt(0, 300, 'easeOutQuad', () => {});\r\n document\r\n .getElementsByClassName('c-header')[0]\r\n ?.getElementsByTagName('a')[0]\r\n ?.focus();\r\n }\r\n\r\n function setIsOffsetTop() {\r\n const footer = document.querySelector('.c-footer');\r\n const windowHeight = window.innerHeight - 25;\r\n\r\n if (\r\n windowHeight >= footer.getBoundingClientRect().top &&\r\n !isFooterInWindow\r\n ) {\r\n setIsFooterInWindow(true);\r\n }\r\n\r\n if (windowHeight < footer.getBoundingClientRect().top && isFooterInWindow) {\r\n setIsFooterInWindow(false);\r\n }\r\n\r\n if (window.pageYOffset >= 200 && !isOffsetTop) {\r\n setIsOffestTopState(true);\r\n }\r\n\r\n if (window.pageYOffset < 200 && isOffsetTop) {\r\n setIsOffestTopState(false);\r\n }\r\n }\r\n\r\n function throttleScroll() {\r\n ticking =\r\n ticking ||\r\n requestAnimationFrame(() => {\r\n ticking = false;\r\n setIsOffsetTop();\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n window.addEventListener('scroll', () => throttleScroll());\r\n }, [isOffsetTop, isFooterInWindow]);\r\n\r\n const { Translations } = props.Content;\r\n\r\n const classes = classNames({\r\n 'c-scroll-to-top': true,\r\n 'c-scroll-to-top--visible': isOffsetTop,\r\n 'c-scroll-to-top--footer-is-visible': isFooterInWindow,\r\n 'c-scroll-to-top--vardpersonal': props.FeatureToggleSettings?.Use1177ProfessionDesign,\r\n });\r\n\r\n return (\r\n {\r\n animateScrollToTop(e);\r\n }}\r\n className={classes}\r\n tabIndex={isOffsetTop ? '0' : '-1'}\r\n >\r\n {Translations && Translations.toplink && (\r\n {Translations.toplink}\r\n )}\r\n \r\n );\r\n};\r\n\r\nScrollToTop.propTypes = {\r\n Content: T.shape({\r\n Translations: T.shape({\r\n toplink: T.string,\r\n }),\r\n }),\r\n};\r\n\r\nexport default ScrollToTop;\r\n","import React, { useState } from 'react';\r\nimport FooterVardpersonal from '../../components/footer-vardpersonal';\r\nimport FooterLogo from '../../components/footer/logo';\r\nimport HeaderVardpersonal from '../../components/header-vardpersonal';\r\nimport InformationModal from './../../components/information-modal';\r\nimport AccessibilityNav from '../../platformui/AccessibilityNav';\r\nimport * as Render from '../../platformui/Base/Render';\r\nimport CookiePanel from '../../platformui/CookiePanel';\r\nimport Footer from '../../platformui/Footer';\r\nimport Header from '../../components/header';\r\nimport HeaderTools from './../../components/header-tools/index';\r\nimport { isMediumViewport } from '../../platformui/Hooks/useMedia';\r\nimport ScrollToTop from '../../platformui/ScrollToTop';\r\nimport SurveyEntry from '../../platformui/SurveyEntry';\r\n\r\nconst AccessibilityShortcuts = (props) => {\r\n return (\r\n \r\n
  • \r\n Till sidans huvudinnehåll\r\n
  • \r\n {props.PageTypeName === 'SearchPage' && (\r\n
  • \r\n Till sökresultatet\r\n
  • \r\n )}\r\n
    \r\n );\r\n};\r\n\r\nconst Layout = (props) => {\r\n const [isModalActive, setIsModalActive] = useState(false);\r\n\r\n const footerProps = {\r\n ...props,\r\n SiteFooter: {\r\n ...props.SiteFooter,\r\n LogoText: props.SiteFooter.Heading,\r\n },\r\n };\r\n\r\n const activeSurvey = props.SurveyEntries?.find((survey) => survey.IsActive);\r\n return (\r\n <>\r\n {props.BuildInfo && }\r\n {props.InformationModal && props.InformationModal.IsEnabled && (\r\n \r\n )}\r\n
    \r\n \r\n {props.FeatureToggleSettings?.Use1177ProfessionDesign ? (\r\n \r\n ) : (\r\n \r\n )}\r\n
    \r\n {activeSurvey && }\r\n \r\n \r\n
    \r\n {props.FeatureToggleSettings?.Use1177ProfessionDesign ? (\r\n \r\n ) : (\r\n \r\n )}\r\n\r\n {!props.CookiePro.Enabled && }\r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default Render.Root(Layout);\r\n","const StartPage = async () =>\r\n await import('./start').then((page) => page.default);\r\nconst ArticlePage = async () =>\r\n await import('./article').then((page) => page.default);\r\nconst SectionStartPage = async () =>\r\n await import('./sectionstart').then((page) => page.default);\r\nconst PublicationPage = async () =>\r\n await import('./publication').then((page) => page.default);\r\nconst PwtPublicationPage = async () =>\r\n await import('./publication/pwt-publication').then((page) => page.default);\r\nconst CollectionPage = async () =>\r\n await import('./collection').then((page) => page.default);\r\nconst SearchPage = async () =>\r\n await import('./search').then((page) => page.default);\r\nconst SubjectGroupPage = async () =>\r\n await import('./subjectgroup').then((page) => page.default);\r\nconst SubjectGroupOverviewPage = async () =>\r\n await import('./subjectgroupoverview').then((page) => page.default);\r\nconst CourseOfCarePage = async () =>\r\n await import('./courseofcare').then((page) => page.default);\r\nconst ErrorPage = async () =>\r\n await import('./error').then((page) => page.default);\r\nconst MessagePage = async () =>\r\n await import('./message').then(\r\n (page) => page.default);\r\n\r\nexport const importPage = (pageTypeName) => {\r\n switch (pageTypeName) {\r\n case 'ArticlePage':\r\n return ArticlePage();\r\n case 'StartPage':\r\n return StartPage();\r\n case 'SectionStartPage':\r\n return SectionStartPage();\r\n case 'PublicationPage':\r\n return PublicationPage();\r\n case 'PwtPublicationPage':\r\n return PwtPublicationPage();\r\n case 'CollectionPage':\r\n return CollectionPage();\r\n case 'SearchPage':\r\n return SearchPage();\r\n case 'SubjectGroupPage':\r\n return SubjectGroupPage();\r\n case 'SubjectGroupOverviewPage':\r\n return SubjectGroupOverviewPage();\r\n case 'CourseOfCarePage':\r\n return CourseOfCarePage();\r\n case 'ErrorPage':\r\n return ErrorPage();\r\n case 'MessagePage':\r\n return MessagePage();\r\n default:\r\n return StartPage();\r\n }\r\n};\r\n","import React from 'react';\r\nimport { importPage } from './pages/importPage';\r\n\r\nexport default class Async extends React.Component {\r\n state = {\r\n Pages: null,\r\n html: document.getElementById('async-pagetypes')\r\n ? document.getElementById('async-pagetypes').innerHTML\r\n : null,\r\n };\r\n\r\n async componentDidMount() {\r\n const pagetype = await importPage(this.props.PageTypeName);\r\n this.setState({ Pages: pagetype });\r\n }\r\n\r\n render() {\r\n if (!this.state.Pages)\r\n return (\r\n \r\n );\r\n\r\n return (\r\n
    \r\n \r\n
    \r\n );\r\n }\r\n}\r\n","import React from 'react';\r\n\r\nexport default () => (\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 \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 \r\n \r\n \r\n \r\n);\r\n","import React from 'react';\r\n\r\nexport default () => (\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 \r\n \r\n);\r\n","import React from 'react';\r\n\r\nexport default () => (\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 \r\n \r\n \r\n);\r\n","import React from 'react';\r\n\r\nexport default () => (\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
    \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 \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n);\r\n","import React from 'react';\r\n\r\nexport default () => (\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 \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n);\r\n","import React from 'react';\r\n\r\nexport default () => (\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 \r\n \r\n \r\n \r\n \r\n);\r\n","import React from 'react';\r\n\r\nexport default () => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n);\r\n","import React from 'react';\r\n\r\nexport default () => (\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 \r\n);\r\n","import React from 'react';\r\n\r\nexport default () => (\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 \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);\r\n","import React from 'react';\r\n\r\nexport default () => (\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 \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 \r\n \r\n \r\n \r\n \r\n);\r\n","import React from 'react';\r\n\r\nexport default () => (\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 \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);\r\n","import React from 'react';\r\n\r\nexport default () => (\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 \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n);\r\n","import React from 'react';\r\n\r\nexport default () => (\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 \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 \r\n \r\n);\r\n","import React from 'react';\r\n\r\nexport default () => (\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 \r\n \r\n);\r\n","import React from 'react';\r\n\r\nexport default () => (\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 \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n);\r\n","import React from 'react';\r\n\r\nexport default () => (\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 \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 \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n);\r\n","import React from 'react';\r\n\r\nexport default () => (\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 \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","import React from 'react';\r\n\r\nexport default () => (\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 \r\n \r\n \r\n);\r\n","import React from 'react';\r\n\r\nexport default () => (\r\n \r\n \r\n \r\n \r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\r\n\r\n \r\n);\r\n","import React from 'react';\r\n\r\nexport default () => (\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 \r\n \r\n \r\n);\r\n","import React from 'react';\r\n\r\nexport default () => (\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 \r\n \r\n \r\n);\r\n","import React from 'react';\r\nimport Skane from './logotypes/skane';\r\nimport Blekinge from './logotypes/blekinge';\r\nimport Dalarna from './logotypes/dalarna';\r\nimport Gotland from './logotypes/gotland';\r\nimport Gavleborg from './logotypes/gavleborg';\r\nimport Halland from './logotypes/halland';\r\nimport Jamtland from './logotypes/jamtland';\r\nimport Jonkoping from './logotypes/jonkoping';\r\nimport Kalmar from './logotypes/kalmar';\r\nimport Kronoberg from './logotypes/kronoberg';\r\nimport Norrbotten from './logotypes/norrbotten';\r\nimport Stockholm from './logotypes/stockholm';\r\nimport Sormland from './logotypes/sormland';\r\nimport Uppsala from './logotypes/uppsala';\r\nimport Varmland from './logotypes/varmland';\r\nimport Vasterbotten from './logotypes/vasterbotten';\r\nimport Vasternorrland from './logotypes/vasternorrland';\r\nimport Vastmanland from './logotypes/vastmanland';\r\nimport Vastragotaland from './logotypes/vastragotaland';\r\nimport Orebro from './logotypes/orebro';\r\nimport Ostergotland from './logotypes/ostergotland';\r\n\r\nconst RegionLogotypes = (props) => {\r\n if (!props.currentRegion) return null;\r\n\r\n switch (props.currentRegion.Value) {\r\n case '14':\r\n return ;\r\n case '01':\r\n return ;\r\n case '19':\r\n return ;\r\n case '03':\r\n return ;\r\n case '12':\r\n return ;\r\n case '18':\r\n return ;\r\n case '23':\r\n return ;\r\n case '24':\r\n return ;\r\n case '22':\r\n return ;\r\n case '17':\r\n return ;\r\n case '04':\r\n return ;\r\n case '05':\r\n return ;\r\n case '25':\r\n return ;\r\n case '21':\r\n return ;\r\n case '07':\r\n return ;\r\n case '08':\r\n return ;\r\n case '06':\r\n return ;\r\n case '13':\r\n return ;\r\n case '09':\r\n return ;\r\n case '10':\r\n return ;\r\n case '20':\r\n return ;\r\n default:\r\n return null;\r\n }\r\n};\r\n\r\nexport default RegionLogotypes;\r\n","import 'react-app-polyfill/ie11';\r\nimport 'react-app-polyfill/stable';\r\nimport 'core-js/stable';\r\n\r\nimport React, { Suspense } from 'react';\r\nimport { hydrate, render } from 'react-dom';\r\nimport { BrowserRouter as Router, Route } from 'react-router-dom';\r\nimport * as serviceWorker from './platformui/Base/ServiceWorker/serviceWorker';\r\nimport * as Render from './platformui/Base/Render';\r\nimport Layout from './framework/layouts/layout';\r\nimport AsyncPageTypes from './async';\r\nimport Logo from './components/logo';\r\nimport BuildInfo from './platformui/BuildInfo';\r\nimport RegionLogotypes from './components/header-vardpersonal/region-logotypes';\r\n\r\nimport './framework/styles/app.scss';\r\n\r\n// We import() just to create the chunks, but must not actually try to load the chunks here, so we\r\n// wrap the import() in a lazy and then just never use it.\r\nReact.lazy(() => import(/* webpackChunkName: \"preload\" */ './preload.js'));\r\nReact.lazy(() => import(/* webpackChunkName: \"editor\" */ './editor.js'));\r\n\r\nconst Preview = React.lazy(() =>\r\n import(/* webpackChunkName: \"preview\" */ './framework/layouts/preview')\r\n);\r\n\r\n// Additional requires that are not implicity loaded into the dependency graph. May require custom loading in webpack.config.js.\r\nrequire.resolve('./nkk-manifest.json');\r\nrequire.context('./framework/favicons/', true, /\\.png$/);\r\n\r\nconst main = () => {\r\n const StaticRegionImgSrc = Render.staticComponent(\r\n RegionLogotypes,\r\n 'regionlogo'\r\n );\r\n const StaticLogo = Render.staticComponent(Logo, 'site-logo');\r\n const StaticBuildInfo = Render.staticComponent(BuildInfo, 'b-info');\r\n\r\n let appNode = document.getElementById('app')?.firstChild;\r\n let previewNode = document.getElementById('preview')?.firstChild;\r\n\r\n let hydrateOrRender = appNode?.firstChild ? hydrate : render; // if
    , SSR is disabled and we render instead of hydrate.\r\n appNode &&\r\n hydrateOrRender(\r\n \r\n (\r\n {\r\n import('./blocks/bundle-meganav-blocks').then((blocks) => {\r\n callback(blocks);\r\n });\r\n }}\r\n CurrentRegionLogo={StaticRegionImgSrc}\r\n />\r\n )}\r\n />\r\n ,\r\n appNode\r\n );\r\n\r\n previewNode &&\r\n render(\r\n \r\n Laddar...}>\r\n }\r\n />\r\n \r\n ,\r\n previewNode\r\n );\r\n};\r\n\r\nserviceWorker.register();\r\nmain();\r\n","export default __webpack_public_path__ + \"static/favicons/apple-touch-icon-72x72.png\";","import React from 'react';\r\nimport CollapsiblePanel from '../CollapsiblePanel';\r\nimport Linklist from '../Linklist';\r\nimport { useSweLang } from '../Helpers/helpers';\r\nimport classNames from 'classnames';\r\n\r\nconst Footer = (props) => {\r\n if (!props.SiteFooter) return false;\r\n\r\n const { SiteFooter, PageTypeName, FooterLogo, ShowLogo, Modifiers } = props;\r\n\r\n let numOfLists = 0;\r\n if (\r\n SiteFooter.LinkListFirst ||\r\n SiteFooter.LinkListSecond ||\r\n SiteFooter.LinkListThird\r\n ) {\r\n const linkLists = new Array(\r\n SiteFooter.LinkListFirst.Links,\r\n SiteFooter.LinkListSecond.Links,\r\n SiteFooter.LinkListThird.Links\r\n );\r\n\r\n linkLists.forEach((list) => {\r\n if (list !== undefined) {\r\n numOfLists++;\r\n }\r\n });\r\n }\r\n const columnClasses = classNames({\r\n columns: true,\r\n 'medium-12': true,\r\n 'large-6': numOfLists < 3,\r\n 'large-4': numOfLists === 3,\r\n });\r\n\r\n return (\r\n
    \r\n {PageTypeName !== 'LanguagePage' && (\r\n
    \r\n
    \r\n
    \r\n \r\n {SiteFooter.Heading}\r\n \r\n {SiteFooter.SubHeading && (\r\n

    \r\n – {SiteFooter.SubHeading}\r\n

    \r\n )}\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n {SiteFooter.LinkListFirst.Links !== undefined && (\r\n
    \r\n \r\n
    \r\n )}\r\n {SiteFooter.LinkListSecond.Links !== undefined && (\r\n
    \r\n \r\n
    \r\n )}\r\n {SiteFooter.LinkListThird.Links !== undefined && (\r\n
    \r\n \r\n
    \r\n )}\r\n
    \r\n
    \r\n
    \r\n
    \r\n )}\r\n {PageTypeName !== 'LanguagePage' && (\r\n
    \r\n {SiteFooter.LinkListFirst && SiteFooter.LinkListFirst.Links && (\r\n \r\n \r\n \r\n )}\r\n\r\n {SiteFooter.LinkListSecond && SiteFooter.LinkListSecond.Links && (\r\n \r\n \r\n \r\n )}\r\n\r\n {SiteFooter.LinkListThird && SiteFooter.LinkListThird.Links && (\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 \r\n Inställningar för kakor\r\n \r\n
    \r\n \r\n )\r\n }\r\n Heading={null}\r\n />\r\n {(!FooterLogo || !ShowLogo) && SiteFooter.SiteInformation && (\r\n
    \r\n
    \r\n
    \r\n
    \r\n )}\r\n {FooterLogo && ShowLogo && (\r\n
    \r\n \r\n {SiteFooter.SiteInformation && (\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\r\nFooter.defaultProps = {\r\n siteFooterLinkListModifiers: {\r\n 'c-linklist--inline': true,\r\n },\r\n};\r\n\r\nexport default Footer;\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\nimport Item from './item';\r\nimport Complimentnav from '../Complimentnav';\r\nimport * as Render from '../Base/Render';\r\n\r\nconst Meganav = (props) => {\r\n if (!props.Children) return false;\r\n\r\n const componentClassName = props.componentClassName\r\n ? props.componentClassName\r\n : 'c-meganav';\r\n\r\n const children = props.Children.map((item, key) => {\r\n return (\r\n \r\n );\r\n });\r\n\r\n const navColumns = classNames({\r\n columns: true,\r\n 'large-8': !props.isWideNav,\r\n 'large-9': props.isWideNav,\r\n 'large-12': props.isFullWidth,\r\n });\r\n\r\n const blockColumns = classNames({\r\n columns: true,\r\n 'large-4': !props.isWideNav,\r\n 'large-3': props.isWideNav,\r\n });\r\n\r\n return (\r\n \r\n {props.isOpened && (\r\n
    \r\n
    \r\n
    \r\n
    \r\n {props.meganavHasHeading && (\r\n \r\n {props.Heading}\r\n \r\n {props.closeTranslation}\r\n \r\n
    \r\n )}\r\n\r\n
      \r\n {children}\r\n
    \r\n
    \r\n
    \r\n
    \r\n {props.Blocks && (\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 \r\n );\r\n};\r\n\r\nexport default Meganav;\r\n","import classNames from 'classnames';\r\nimport React, { useContext, useEffect, useState } from 'react';\r\n\r\nimport { createCookie, readCookie } from '../Base/Cookies';\r\nimport { CookieContext } from '../Context/cookies';\r\nimport Badge from '../IDSBadge';\r\n\r\nconst StatusMessage = (props) => {\r\n const cookieContext = useContext(CookieContext);\r\n\r\n const [isOpen, setIsOpen] = useState(false);\r\n const toggleMessage = () => {\r\n if (cookieContext.isAllowed('StatusMessageCookie')) {\r\n createCookie('statusMessageOpen-' + props.message.MessageId, !isOpen);\r\n }\r\n setIsOpen(!isOpen);\r\n };\r\n\r\n const checkStorage = () => {\r\n const cookieValue = JSON.parse(\r\n readCookie('statusMessageOpen-' + props.message.MessageId)\r\n );\r\n\r\n cookieValue === null && props.isExpanded\r\n ? setIsOpen(true)\r\n : setIsOpen(cookieValue);\r\n };\r\n\r\n useEffect(() => {\r\n checkStorage();\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 {props.message.Title}\r\n \r\n {props.message.RegionLabel &&\r\n (props.useIdsBadgeForRegion ? (\r\n \r\n ) : (\r\n \r\n \r\n . {props.translations.regionlabelshowforscreenreader}\r\n \r\n {props.message.RegionLabel}\r\n \r\n ))}\r\n

    \r\n\r\n \r\n \r\n {isOpen\r\n ? props.translations.hidemessage\r\n : props.translations.showmessage}\r\n \r\n \r\n \r\n\r\n \r\n
    \r\n\r\n {props.message?.RegionalContent?.length > 0 && (\r\n
    \r\n \r\n {props.message.RegionalContent.map((content, index) => (\r\n

    {content}

    \r\n ))}\r\n
    \r\n )}\r\n\r\n {props.message.Author && props.message.StartDate && (\r\n
    \r\n {props.message.Author} , {props.message.StartDate.slice(0, 10)}\r\n
    \r\n )}\r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default StatusMessage;\r\n","import React, { useState } from 'react';\r\n\r\nconst PanelContext = React.createContext('');\r\n\r\nexport const PanelState = (props) => {\r\n const [activePanelId, setActivePanelId] = useState('');\r\n\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n};\r\n\r\nexport default PanelContext;\r\n","import React, { useState, useEffect, useRef } from 'react';\r\nimport Item from './item';\r\nimport Meganav from '../Meganav';\r\n\r\nconst Topnav = (props) => {\r\n const wrapperRef = useRef(null);\r\n const [currentId, setCurrentId] = useState(null);\r\n const [blocks, setBlocks] = useState(null);\r\n\r\n useEffect(() => {\r\n document.addEventListener('click', handleClickOutside);\r\n return () => document.removeEventListener('click', handleClickOutside);\r\n }, []);\r\n\r\n const handleClick = (e, item) => {\r\n if (!item.Children) return true;\r\n\r\n e.preventDefault();\r\n\r\n setCurrentId(currentId === item.PageId ? null : item.PageId);\r\n\r\n //Load blocks\r\n props.LoadBlocks((blocks) => setBlocks(blocks));\r\n };\r\n\r\n const handleClickOutside = (e) => {\r\n if (wrapperRef.current !== null && !wrapperRef.current.contains(e.target)) {\r\n setCurrentId(null);\r\n }\r\n };\r\n\r\n const closeMeganav = () => {\r\n setCurrentId(null);\r\n };\r\n\r\n if (!props.Children) return null;\r\n\r\n const children = props.Children.map((item) => {\r\n return (\r\n handleClick(e, key)}\r\n isOpened={currentId === item.PageId}\r\n >\r\n \r\n \r\n );\r\n });\r\n\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default Topnav;\r\n","import { useState, useEffect } from 'react';\r\n\r\n/**\r\n * This hook makes it possible to utilize media queries in your component logic.\r\n * Will run on component mount and unmount.\r\n *\r\n * {@link https://usehooks.com/useMedia/}\r\n *\r\n */\r\nexport default function useMedia(queries, values, defaultValue) {\r\n if (typeof window === 'undefined') return;\r\n\r\n // Array containing a media query list for each query\r\n const mediaQueryLists = queries.map((q) => window.matchMedia(q));\r\n\r\n // Function that gets value based on matching media query\r\n const getValue = () => {\r\n // Get index of first media query that matches\r\n const index = mediaQueryLists.findIndex((mql) => mql.matches);\r\n // Return related value or defaultValue if none\r\n return typeof values[index] !== 'undefined' ? values[index] : defaultValue;\r\n };\r\n\r\n // State and setter for matched value\r\n const [value, setValue] = useState(getValue);\r\n\r\n useEffect(\r\n () => {\r\n // Event listener callback\r\n // Note: By defining getValue outside of useEffect we ensure that it has ...\r\n // ... current values of hook args (as this hook callback is created once on mount).\r\n const handler = () => setValue(getValue);\r\n // Set a listener for each media query with above handler as callback.\r\n mediaQueryLists.forEach((mql) => mql.addListener(handler));\r\n // Remove listeners on cleanup\r\n return () =>\r\n mediaQueryLists.forEach((mql) => mql.removeListener(handler));\r\n },\r\n [] // Empty array ensures effect is only run on mount and unmount\r\n );\r\n\r\n return value;\r\n}\r\n\r\nexport function isSmallViewport() {\r\n const isSmallViewport = useMedia(['(max-width: 768px)'], [true], false);\r\n return isSmallViewport;\r\n}\r\n\r\nexport function isMediumViewport() {\r\n const isMediumViewport = useMedia(['(max-width: 1025px)'], [true], false);\r\n return isMediumViewport;\r\n}\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\nimport { node, object, oneOf, string } from 'prop-types';\r\n\r\nconst Alert = (props) => {\r\n const classes = classNames(\r\n `c-alert`,\r\n `c-alert--${props.type}`,\r\n props.Modifiers\r\n );\r\n\r\n const alertNoTitle = !props.Title ? 'c-alert__no-title' : '';\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n \r\n {props.Title && (\r\n

    {props.Title}

    \r\n )}\r\n {props.AlertDescription && (\r\n {props.AlertDescription}\r\n )}\r\n
    \r\n {props.children}\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nAlert.propTypes = {\r\n /** What kind of alert is it */\r\n type: oneOf(['success', 'info', 'warning', 'check', 'error', 'error-boundary']),\r\n /** Body of content */\r\n children: node,\r\n /** Valid object for use with classnames */\r\n Modifiers: object,\r\n /** Title for the Alert, if needed */\r\n Title: string,\r\n /** Description of the Alert type, used by screenreaders */\r\n AlertDescription: string,\r\n};\r\n\r\nexport default Alert;\r\n","import React, { useState, useEffect } from 'react';\r\nimport proptypes from 'prop-types';\r\n\r\nconst HoverModal = (props) => {\r\n const [showModal, setShowModal] = useState(false);\r\n\r\n /** How to use\r\n * Add position relative to the main element\r\n * where the hoverbox should be attached to.\r\n * Include the modal and specify element and triggerelement\r\n * Ex: @include HoverModal('hover-modal', 'button');\r\n **/\r\n\r\n useEffect(() => {\r\n const element = document.getElementById(props.ElementId);\r\n\r\n element.onclick = () => {\r\n setShowModal(false);\r\n };\r\n element.onmouseover = () => {\r\n setShowModal(!props.isHidden);\r\n };\r\n element.onmouseout = () => {\r\n setShowModal(false);\r\n };\r\n element.onblur = () => {\r\n setShowModal(false);\r\n };\r\n element.onfocus = () => {\r\n setShowModal(!props.isHidden);\r\n };\r\n }, []);\r\n\r\n const { Heading, Description, Id } = props;\r\n\r\n if (!showModal) return null;\r\n return (\r\n
    \r\n {Heading &&
    }\r\n {Description &&
    }\r\n
    \r\n );\r\n};\r\n\r\nHoverModal.propTypes = {\r\n Heading: proptypes.string,\r\n Description: proptypes.string,\r\n Id: proptypes.string,\r\n};\r\n\r\nexport default HoverModal;\r\n","const scrollIt = (destination, duration = 200, easing = 'linear', callback, horizontalNavOffset = 0) => {\r\n const easings = {\r\n linear(t) {\r\n return t;\r\n },\r\n easeInQuad(t) {\r\n return t * t;\r\n },\r\n easeOutQuad(t) {\r\n return t * (2 - t);\r\n },\r\n easeInOutQuad(t) {\r\n return t < 0.5 ? 2 * t * t : -1 + (4 - 2 * t) * t;\r\n },\r\n easeInCubic(t) {\r\n return t * t * t;\r\n },\r\n easeOutCubic(t) {\r\n return --t * t * t + 1;\r\n },\r\n easeInOutCubic(t) {\r\n return t < 0.5 ? 4 * t * t * t : (t - 1) * (2 * t - 2) * (2 * t - 2) + 1;\r\n },\r\n easeInQuart(t) {\r\n return t * t * t * t;\r\n },\r\n easeOutQuart(t) {\r\n return 1 - --t * t * t * t;\r\n },\r\n easeInOutQuart(t) {\r\n return t < 0.5 ? 8 * t * t * t * t : 1 - 8 * --t * t * t * t;\r\n },\r\n easeInQuint(t) {\r\n return t * t * t * t * t;\r\n },\r\n easeOutQuint(t) {\r\n return 1 + --t * t * t * t * t;\r\n },\r\n easeInOutQuint(t) {\r\n return t < 0.5 ? 16 * t * t * t * t * t : 1 + 16 * --t * t * t * t * t;\r\n },\r\n };\r\n\r\n const start = window.scrollY;\r\n const startTime =\r\n 'now' in window.performance ? performance.now() : new Date().getTime();\r\n const documentHeight = Math.max(\r\n document.body.scrollHeight,\r\n document.body.offsetHeight,\r\n document.documentElement.clientHeight,\r\n document.documentElement.scrollHeight,\r\n document.documentElement.offsetHeight\r\n );\r\n const windowHeight =\r\n window.innerHeight ||\r\n document.documentElement.clientHeight ||\r\n document.getElementsByTagName('body')[0].clientHeight;\r\n const destinationOffset =\r\n typeof destination === 'number'\r\n ? destination\r\n : (destination.getBoundingClientRect().top + window.scrollY) - horizontalNavOffset;\r\n const destinationOffsetToScroll = Math.round(\r\n Math.floor(\r\n documentHeight - destinationOffset < windowHeight\r\n ? documentHeight - windowHeight\r\n : destinationOffset\r\n )\r\n );\r\n\r\n if ('requestAnimationFrame' in window === false) {\r\n window.scroll(0, destinationOffsetToScroll);\r\n if (callback) {\r\n callback();\r\n }\r\n return;\r\n }\r\n\r\n function scroll() {\r\n const now =\r\n 'now' in window.performance ? performance.now() : new Date().getTime();\r\n const time = Math.min(1, (now - startTime) / duration);\r\n const timeFunction = easings[easing](time);\r\n\r\n window.scroll(\r\n 0,\r\n Math.ceil(timeFunction * (destinationOffsetToScroll - start) + start)\r\n );\r\n\r\n if (timeFunction === 1) {\r\n if (callback) {\r\n callback();\r\n }\r\n return;\r\n }\r\n\r\n requestAnimationFrame(scroll);\r\n }\r\n scroll();\r\n};\r\n\r\nexport default scrollIt;\r\n","import React from 'react';\r\n\r\nconst withToolbarButtonList = (WrappedComponent) => {\r\n return class ToolBtn extends React.Component {\r\n state = {\r\n isVisible: false,\r\n };\r\n\r\n handleVisible(e, id) {\r\n if (e) e.preventDefault();\r\n this.props.handleToolsVisibility(\r\n !this.state.isVisible,\r\n document.getElementById(id).offsetHeight\r\n );\r\n\r\n if (id === 'global-search') {\r\n setTimeout(() => {\r\n document.getElementById('globalsearch').focus();\r\n }, 420);\r\n }\r\n\r\n this.setState({\r\n isVisible: !this.state.isVisible,\r\n });\r\n }\r\n\r\n componentDidMount() {\r\n this.props.addToolComponent(this);\r\n }\r\n\r\n render() {\r\n return (\r\n this.handleVisible(e, id)}\r\n />\r\n );\r\n }\r\n };\r\n};\r\n\r\nexport default withToolbarButtonList;\r\n","import React, { useState, Component, useEffect } from 'react';\r\nimport classNames from 'classnames';\r\nimport Topnav from '../Topnav';\r\nimport Mobile from '../Mobilenav';\r\nimport AlertList from '../AlertList';\r\nimport Burger from './burger';\r\nconst withToggleHeaderTools = (WrappedComponent) => {\r\n return class ToggleHeaderTools extends Component {\r\n state = {\r\n isToolsVisible: false,\r\n };\r\n tools = [];\r\n\r\n addToolComponent(component) {\r\n this.tools.push(component);\r\n }\r\n\r\n handleToolsVisibility(isToolsVisible, height) {\r\n this.tools.forEach((tool) => {\r\n tool.setState({\r\n isVisible: false,\r\n });\r\n });\r\n\r\n this.setState({\r\n isToolsVisible,\r\n height: isToolsVisible ? height : null,\r\n });\r\n }\r\n\r\n render() {\r\n return (\r\n this.addToolComponent(component)}\r\n handleToolsVisibility={(isToolsVisible, height) =>\r\n this.handleToolsVisibility(isToolsVisible, height)\r\n }\r\n />\r\n );\r\n }\r\n };\r\n};\r\n\r\nconst Header = (props) => {\r\n let timerMobileNav = null;\r\n const [mobileNavVis, setMobileNavVis] = useState(false);\r\n const [animationStart, setAnimationStart] = useState(false);\r\n\r\n useEffect(() => {\r\n if (props.isFullOverlayInMobile) {\r\n mobileNavVis && document.body.classList.add('no-scroll');\r\n !mobileNavVis && document.body.removeAttribute('class');\r\n }\r\n });\r\n\r\n const handleClick = (e) => {\r\n e.preventDefault();\r\n setMobileNavVis(!mobileNavVis);\r\n clearTimeout(timerMobileNav);\r\n timerMobileNav = setTimeout(() => {\r\n setAnimationStart(!animationStart);\r\n }, 5);\r\n };\r\n\r\n const {\r\n Logo,\r\n Tools,\r\n ToolsBottom,\r\n LangSelectorSmall,\r\n isWideNav,\r\n isFullWidth,\r\n meganavHasHeading,\r\n } = props;\r\n\r\n const headerClasses = classNames({\r\n 'c-header': true,\r\n 'c-header--is-tools-visible': props.isToolsVisible,\r\n 'c-header--is-navigation': mobileNavVis,\r\n 'c-header--is-animating': animationStart,\r\n 'c-header--showbuildinfo': props.BuildInfo,\r\n });\r\n\r\n const headerNavClasses = classNames({\r\n 'c-header__navigation': true,\r\n 'c-header__navigation--is-full-overlay': props.isFullOverlayInMobile,\r\n });\r\n\r\n const TopNavComponent = (\r\n \r\n );\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n {Logo && }\r\n\r\n {Tools && (\r\n \r\n )}\r\n {(props.MainNavigation || props.SecondaryNavigation) &&\r\n !props.hideHamburgerMenuInHeader && (\r\n handleClick(e)}\r\n mobileNavVis={mobileNavVis}\r\n {...props}\r\n />\r\n )}\r\n {props.topMenuSearch && (\r\n props.toggle('search')}\r\n aria-expanded={props.activeTool === 'search'}\r\n >\r\n \r\n \r\n {props.Content.Translations.search}\r\n \r\n \r\n )}\r\n
    \r\n
    \r\n
    \r\n {ToolsBottom && (\r\n handleClick(e)}\r\n />\r\n )}\r\n\r\n
    \r\n \r\n {mobileNavVis && (\r\n
    \r\n {props.isFullOverlayInMobile && (\r\n
    \r\n

    Meny

    \r\n handleClick(e)}\r\n mobileNavVis={mobileNavVis}\r\n {...props}\r\n />\r\n
    \r\n )}\r\n \r\n
    \r\n )}\r\n {mobileNavVis && props.SecondaryNavigation && (\r\n
    \r\n \r\n
    \r\n )}\r\n {mobileNavVis && props.CareGiverItemSettings?.TopMenuItemEnabled == true && (\r\n
    \r\n \r\n
    \r\n )}\r\n {props.renderAfterMobileMenu(mobileNavVis)}\r\n \r\n {props.noTopNavRow ? (\r\n TopNavComponent\r\n ) : (\r\n
    \r\n
    {TopNavComponent}
    \r\n
    \r\n )}\r\n
    \r\n {LangSelectorSmall && (\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\nHeader.defaultProps = {\r\n renderAfterMobileMenu: () => {},\r\n};\r\n\r\nexport default withToggleHeaderTools(Header);\r\n","import React from 'react';\r\n\r\nconst Complimentnav = (props) => {\r\n if (!props.ManualLinks || props.ManualLinks.length === 0) return null;\r\n\r\n const children = props.ManualLinks.map((item, index) => {\r\n let classColor = 'c-complimentnav__item';\r\n\r\n if (item.Theme && item.Theme !== '') {\r\n classColor = `c-complimentnav__item c-complimentnav__item--${item.Theme}`;\r\n }\r\n\r\n return (\r\n
  • \r\n \r\n \r\n \r\n \r\n \r\n {item.Text}\r\n \r\n \r\n
  • \r\n );\r\n });\r\n\r\n return (\r\n <>\r\n {props.complimentnavHeading && {`Mer om ${props.Text}:`}}\r\n
      \r\n {props.ManualLinksLabel && (\r\n
    • {props.ManualLinksLabel}:
    • \r\n )}\r\n {children}\r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default Complimentnav;\r\n","import React from 'react';\r\nimport { node } from 'prop-types';\r\n\r\nconst AccessibilityNav = (props) => {\r\n return
      {props.children}
    ;\r\n};\r\n\r\nAccessibilityNav.propTypes = {\r\n /** List items (
  • ) to be displayed in the accessability navigation */\r\n children: node.isRequired,\r\n};\r\n\r\nexport default AccessibilityNav;\r\n","var map = {\n\t\"./nkk/192x192.png\": 2328,\n\t\"./nkk/48x48.png\": 27968,\n\t\"./nkk/512x512.png\": 22864,\n\t\"./nkk/apple-touch-icon-114x114.png\": 41553,\n\t\"./nkk/apple-touch-icon-120x120.png\": 34105,\n\t\"./nkk/apple-touch-icon-144x144.png\": 95549,\n\t\"./nkk/apple-touch-icon-152x152.png\": 58933,\n\t\"./nkk/apple-touch-icon-57x57.png\": 62741,\n\t\"./nkk/apple-touch-icon-60x60.png\": 63833,\n\t\"./nkk/apple-touch-icon-72x72.png\": 5427,\n\t\"./nkk/apple-touch-icon-76x76.png\": 32179,\n\t\"./nkk/favicon-128x128.png\": 32719,\n\t\"./nkk/favicon-16x16.png\": 29729,\n\t\"./nkk/favicon-196x196.png\": 47635,\n\t\"./nkk/favicon-32x32.png\": 81537,\n\t\"./nkk/favicon-96x96.png\": 26929,\n\t\"./nkk/mstile-144x144.png\": 33605,\n\t\"./nkk/mstile-150x150.png\": 86734,\n\t\"./nkk/mstile-310x150.png\": 50639,\n\t\"./nkk/mstile-310x310.png\": 45589,\n\t\"./nkk/mstile-70x70.png\": 1535\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 22109;","export default __webpack_public_path__ + \"static/favicons/512x512.png\";","import classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport React from 'react';\r\nimport LinkBlock from '../LinkBlock';\r\n\r\nconst QuickSearchHits = ({\r\n suggestions,\r\n searchUrl,\r\n site,\r\n defaultQuickSearch,\r\n showSearchHitsHeadingSuffix,\r\n}) => {\r\n if (\r\n !Array.isArray(suggestions.Hits?.SearchHits) ||\r\n suggestions.Hits?.SearchHits.length === 0\r\n ) {\r\n return null;\r\n }\r\n\r\n return defaultQuickSearch?.QuickSearchSettingEnabled && site == '1177' ? (\r\n \r\n
    \r\n \r\n {defaultQuickSearch.QuickSearchSettingHeading || ''}{' '}\r\n \r\n \r\n ({suggestions.Hits?.TotalNumberOfHits} sökträffar)\r\n \r\n
    \r\n
      \r\n {suggestions.Hits?.SearchHits.slice(0, 5).map((item, index) => {\r\n return (\r\n
    • \r\n {item.Heading}\r\n
    • \r\n );\r\n })}\r\n
    \r\n \r\n {suggestions.Hits.ButtonText}\r\n \r\n
  • \r\n ) : (\r\n site !== '1177' && (\r\n <>\r\n
    \r\n

    \r\n {suggestions.Hits?.SearchHitsHeading || ''}{' '}\r\n {showSearchHitsHeadingSuffix && suggestions.Hits?.SearchHitsSuffix}\r\n

    \r\n
    \r\n
      \r\n {suggestions.Hits?.SearchHits.map((term, index) => {\r\n const quickSearchClasses = classNames({\r\n 'c-search__quicksearch__search-hits__information-type': true,\r\n 'c-search__quicksearch__search-hits__information-type--1001':\r\n term.InformationType?.Key === '1001',\r\n 'c-search__quicksearch__search-hits__information-type--1002':\r\n term.InformationType?.Key === '1002',\r\n 'c-search__quicksearch__search-hits__information-type--1003':\r\n term.InformationType?.Key === '1003',\r\n 'c-search__quicksearch__search-hits__information-type--1004':\r\n term.InformationType?.Key === '1004',\r\n });\r\n\r\n const linkBlockItem = {\r\n Text: term.Heading,\r\n FriendlyTargetUrl: term.Url,\r\n };\r\n ;\r\n\r\n return (\r\n
    • \r\n \r\n \r\n {term.Heading}\r\n \r\n {term.InformationType?.Key !== 'article' && (\r\n \r\n {term.InformationType?.Value || ''}\r\n \r\n )}\r\n \r\n\r\n {term.SelectionCode &&\r\n term.SelectionCode !== 'none' &&\r\n (term.PrimaryCareUrl || term.SpecializedCareUrl) && (\r\n \r\n {term.PrimaryCareUrl && term.SpecializedCareUrl ? (\r\n <>\r\n \r\n Primärvård\r\n {' '}\r\n \r\n Specialiserad vård\r\n \r\n \r\n ) : term.PrimaryCareUrl ? (\r\n Primärvård\r\n ) : (\r\n Specialiserad vård\r\n )}\r\n \r\n )}\r\n
    • \r\n );\r\n })}\r\n
    \r\n \r\n {suggestions.Hits.ButtonText}\r\n \r\n \r\n )\r\n );\r\n};\r\n\r\nQuickSearchHits.propTypes = {\r\n hits: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n Heading: PropTypes.string,\r\n Url: PropTypes.string,\r\n InformationType: PropTypes.shape({\r\n Key: PropTypes.string,\r\n Value: PropTypes.string,\r\n }),\r\n SelectionCode: PropTypes.string,\r\n PrimaryCareUrl: PropTypes.string,\r\n SpecializedCareUrl: PropTypes.string,\r\n })\r\n ),\r\n};\r\n\r\nexport default QuickSearchHits;\r\n","import React, { useEffect, useRef } from 'react';\r\n\r\nexport default (WrappedComponent) => {\r\n const TABBABLE_ELEMENTS = 'a[href], button';\r\n const KEYCODE_ESC = 27;\r\n const KEYCODE_TAB = 9;\r\n\r\n const Container = (props) => {\r\n const keepTab = useRef();\r\n\r\n // Handle ESC key\r\n useEffect(() => {\r\n const escKeyListener = (event) => {\r\n if ((event.which || event.keyCode) === KEYCODE_ESC) {\r\n props.closeHandler && props.closeHandler();\r\n }\r\n };\r\n\r\n document.addEventListener('keydown', escKeyListener, false);\r\n\r\n return () => {\r\n document.removeEventListener('keydown', escKeyListener, false);\r\n };\r\n }, [props.closeHandler]);\r\n\r\n // Focus-trapping logic\r\n useEffect(() => {\r\n const keyListener = (event) => {\r\n const { keyCode, shiftKey, target } = event;\r\n\r\n if (keyCode === KEYCODE_TAB) {\r\n const tabbableElements = Array.from(\r\n keepTab.current.querySelectorAll(TABBABLE_ELEMENTS)\r\n );\r\n\r\n if (tabbableElements.length === 0) return;\r\n\r\n const firstTabbableElement = tabbableElements[0];\r\n const lastTabbableElement =\r\n tabbableElements[tabbableElements.length - 1];\r\n\r\n // Move focus to first element that can be tabbed if shift isn't used\r\n if (target === lastTabbableElement && !shiftKey) {\r\n event.preventDefault();\r\n firstTabbableElement.focus();\r\n\r\n // Move focus to last element that can be tabbed if shift is used\r\n } else if (target === firstTabbableElement && shiftKey) {\r\n event.preventDefault();\r\n lastTabbableElement.focus();\r\n }\r\n }\r\n };\r\n\r\n if (keepTab.current) {\r\n keepTab.current.addEventListener('keydown', keyListener, false);\r\n }\r\n\r\n return () => {\r\n if (keepTab.current) {\r\n keepTab.current.removeEventListener('keydown', keyListener, false);\r\n }\r\n };\r\n }, []);\r\n\r\n const { className } = props;\r\n\r\n return (\r\n
    \r\n \r\n
    \r\n );\r\n };\r\n\r\n return Container;\r\n};\r\n","export default __webpack_public_path__ + \"static/favicons/favicon-96x96.png\";","const initialState = {};\r\n\r\nconst appendSearchHits = (state, action) => {\r\n //Remove or add SearchHits\r\n if (\r\n (action.payload.NextPage && state.NextPage > action.payload.NextPage) ||\r\n !state.NextPage\r\n ) {\r\n const index = state.SearchHits.length - action.payload.SearchHits.length;\r\n //patch browser\r\n if (index < 1) return [...action.payload.SearchHits];\r\n\r\n state.SearchHits.length = index;\r\n return [...state.SearchHits];\r\n }\r\n\r\n return [...state.SearchHits, ...action.payload.SearchHits];\r\n};\r\n\r\nexport const search = (state = initialState, action = {}) => {\r\n switch (action.type) {\r\n case 'LOADING':\r\n return Object.assign({}, state, {\r\n isLoading: true,\r\n });\r\n\r\n case 'LOAD_MORE':\r\n return Object.assign({}, state, {\r\n ...action.payload,\r\n isLoading: false,\r\n SearchHits: appendSearchHits(state, action),\r\n });\r\n case 'FILTER':\r\n return Object.assign({}, action.payload, {\r\n isLoading: false,\r\n });\r\n case 'AUTOCOMPLETE':\r\n return Object.assign({}, state, {\r\n Hits: action.payload ? action.payload : [],\r\n isVisible: action.payload !== null,\r\n currentIndexObject: action.currentIndexObject,\r\n isLoading: false,\r\n error: false,\r\n });\r\n case 'HIDE_AUTOCOMPLETE':\r\n return Object.assign({}, state, {\r\n isVisible: false,\r\n });\r\n case 'OPTION_INDEX_AUTOCOMPLETE':\r\n return Object.assign({}, state, {\r\n index: action.index,\r\n value: action.selectedValue,\r\n currentIndexObject: action.currentIndexObject,\r\n isVisible: true,\r\n });\r\n case 'OPTION_SELECT_AUTOCOMPLETE':\r\n return Object.assign({}, state, {\r\n value: action.selectedValue,\r\n selectedObject: action.selectedObject,\r\n currentIndexObject: action.currentIndexObject,\r\n isVisible: false,\r\n });\r\n case 'ONCHANGE':\r\n return Object.assign({}, state, {\r\n index: action.index,\r\n value: action.value,\r\n Hits: action.Hits,\r\n selectedObject: action.selectedObject,\r\n });\r\n case 'SEARCH':\r\n return Object.assign({}, action.payload, {\r\n isLoading: false,\r\n });\r\n case 'ERROR':\r\n return Object.assign({}, action.payload, {\r\n isLoading: false,\r\n error: true,\r\n });\r\n default:\r\n return state;\r\n }\r\n};\r\n","export default __webpack_public_path__ + \"static/favicons/48x48.png\";","export default __webpack_public_path__ + \"manifest.json\";","export default __webpack_public_path__ + \"static/favicons/favicon-16x16.png\";","import React from 'react';\r\n\r\nconst LinkBlock = (props) => {\r\n return (\r\n \r\n {props.Text}\r\n \r\n );\r\n};\r\n\r\nexport default LinkBlock;\r\n","export default __webpack_public_path__ + \"static/favicons/apple-touch-icon-76x76.png\";","export default __webpack_public_path__ + \"static/favicons/favicon-128x128.png\";","export default __webpack_public_path__ + \"static/favicons/mstile-144x144.png\";","export default __webpack_public_path__ + \"static/favicons/apple-touch-icon-120x120.png\";","import React, {\r\n useState,\r\n useEffect,\r\n useRef,\r\n useContext,\r\n createContext,\r\n} from 'react';\r\n\r\nimport qs from 'qs';\r\nimport { readCookie } from '../Base/Cookies';\r\nimport { log } from '../Helpers/helpers';\r\n\r\nexport const CookieContext = createContext({});\r\n\r\nexport const onCookieChange = (cookieName, callback) => {\r\n // store prev value in mutable context\r\n const prevContext = useRef(null);\r\n // read from \"global\" cookie context\r\n const context = useContext(CookieContext);\r\n // check if the cookie we want is allowed\r\n const isAllowed = context.isAllowed(cookieName);\r\n // if this is the first time we run - set prev and current to the same\r\n if (prevContext.current === null) {\r\n prevContext.current = isAllowed;\r\n }\r\n // did the value change? isAllowed is updated from context state.\r\n // run a callback if the value has changed\r\n if (prevContext.current !== isAllowed) {\r\n callback({ isAllowed });\r\n }\r\n // and update prev context to current\r\n prevContext.current = isAllowed;\r\n // return if the cookie is allowed\r\n return isAllowed;\r\n};\r\n\r\nconst CookieContextProvider = (props) => {\r\n const [status, setStatus] = useState('DONE');\r\n const retryCount = useRef(0);\r\n const timer = useRef(null);\r\n\r\n log('info')(`status is ${status}.`)\r\n\r\n const checkCpScript = () => {\r\n if (retryCount.current >= 20) {\r\n log('warn')('Did not load CookiePro.');\r\n setStatus('ERROR');\r\n return;\r\n }\r\n\r\n //Set flag if script has been loaded\r\n if ('OneTrust' in window) {\r\n log('info')('CookiePro successfully loaded.');\r\n setStatus('DONE');\r\n return;\r\n }\r\n\r\n log('info')('Resetting timer for check of script status.');\r\n timer.current = setTimeout(checkCpScript, 100 * ++retryCount.current);\r\n };\r\n\r\n useEffect(() => {\r\n if (props.cookiePro === true && status === 'PENDING') {\r\n checkCpScript();\r\n }\r\n }, [status]);\r\n\r\n let initialState = {\r\n C0001: true,\r\n C0002: false,\r\n C0003: false,\r\n C0004: false,\r\n C0005: false,\r\n };\r\n\r\n const handleCookieProParsing = () => {\r\n if (status === 'PENDING') {\r\n log('info')('Waiting for a cookie pro cookie.');\r\n return;\r\n }\r\n\r\n const OptanonConsent = readCookie('OptanonConsent');\r\n if (typeof OptanonConsent === 'undefined') {\r\n log('info')('No OptanonConsent cookie found.');\r\n setStatus('PENDING');\r\n return;\r\n }\r\n\r\n const parsedCookie = qs.parse(OptanonConsent);\r\n if (typeof parsedCookie.groups === 'undefined') {\r\n log('info')('No groups found in OptanonConsent cookie.');\r\n setStatus('PENDING');\r\n return;\r\n }\r\n\r\n parsedCookie.groups\r\n .split(',')\r\n .forEach(function addGroupToInitialState(group) {\r\n let [g, v] = group.split(':');\r\n initialState[g] = Boolean(Number(v));\r\n });\r\n\r\n log('info')('Parsed and updated values for cookie pro cookie.');\r\n };\r\n\r\n const handleLegacyAcceptedCookie = () => {\r\n const acceptedLegacyCookieValue = JSON.parse(readCookie('acceptedCookie'));\r\n initialState = {\r\n C0001: true,\r\n C0002: acceptedLegacyCookieValue,\r\n C0003: acceptedLegacyCookieValue,\r\n C0004: acceptedLegacyCookieValue,\r\n C0005: acceptedLegacyCookieValue,\r\n };\r\n };\r\n\r\n if (props.cookiePro === true) {\r\n handleCookieProParsing();\r\n } else {\r\n handleLegacyAcceptedCookie();\r\n }\r\n\r\n const [C0001, setC0001] = useState(initialState.C0001); // Nödvändiga\r\n const [C0002, setC0002] = useState(initialState.C0002); // Analyskakor\r\n const [C0003, setC0003] = useState(initialState.C0003); // Funktionella\r\n const [C0004, setC0004] = useState(initialState.C0004); // Riktade kakor\r\n const [C0005, setC0005] = useState(initialState.C0005); // Sociala medier kakor\r\n\r\n const Cookies = {\r\n StatusMessageCookie: C0003,\r\n PanicButtonCookie: C0003,\r\n PowerBi: C0003,\r\n ShowSensitiveImagesCookie: C0003,\r\n ReadingAid: C0003,\r\n Survey: C0003,\r\n };\r\n\r\n function isAllowed(cookieName) {\r\n return Cookies[cookieName];\r\n }\r\n\r\n const value = {\r\n isAllowed,\r\n cookies: Cookies,\r\n groups: {\r\n C0001,\r\n C0002,\r\n C0003,\r\n C0004,\r\n C0005,\r\n },\r\n };\r\n\r\n function onConsentChange(event) {\r\n // event.detail holds array with groups that has consent given\r\n // example: [\"C0001\", \"C0002\"]\r\n const consentGiven = event.detail;\r\n log('info')(`Consent was changed to ${consentGiven}`);\r\n setC0001(true);\r\n setC0002(consentGiven.includes('C0002'));\r\n setC0003(consentGiven.includes('C0003'));\r\n setC0004(consentGiven.includes('C0004'));\r\n setC0005(consentGiven.includes('C0005'));\r\n }\r\n\r\n useEffect(() => {\r\n if (typeof window !== 'undefined') {\r\n window.addEventListener('consent.onetrust', onConsentChange);\r\n }\r\n return () => {\r\n window.removeEventListener('consent.onetrust', onConsentChange);\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 CookieContextProvider;\r\n","import React from 'react';\r\n\r\nconst removeNotInDateRange = ({ StartDate, StopDate }) => {\r\n if (!StartDate && !StopDate) return true;\r\n const date = new Date().toISOString();\r\n if (StartDate && !StopDate) {\r\n return StartDate < date;\r\n }\r\n if (StopDate && !StartDate) {\r\n return StopDate > date;\r\n }\r\n return StartDate < date && StopDate > date;\r\n};\r\n\r\nexport function getItemsWithRelevantDate(items) {\r\n if (!items) return [];\r\n return items.filter(removeNotInDateRange);\r\n}\r\n\r\nexport default (WrappedComponent) => {\r\n return (props) => {\r\n const { Messages, PageTypeName } = props;\r\n const messages =\r\n Messages &&\r\n PageTypeName !== 'LanguagePage' &&\r\n getItemsWithRelevantDate(Messages);\r\n return ;\r\n };\r\n};\r\n","import React, { memo } from 'react';\r\n\r\nconst staticComponent = (WrappedComponent, id) => {\r\n const StaticComponent = (props) => {\r\n const html =\r\n typeof window !== 'undefined' && document.getElementById(id)\r\n ? document.getElementById(id).innerHTML\r\n : null;\r\n\r\n if (html) {\r\n return
    ;\r\n }\r\n\r\n if (!WrappedComponent) return null;\r\n\r\n return (\r\n
    \r\n \r\n
    \r\n );\r\n };\r\n\r\n memo(StaticComponent, () => {\r\n return false;\r\n });\r\n\r\n return StaticComponent;\r\n};\r\n\r\nexport default staticComponent;\r\n","import React from 'react';\r\nimport classnames from 'classnames';\r\nimport proptypes from 'prop-types';\r\n\r\n/**\r\n * React wrapper for the native `` element. \r\n * \r\n * Use `NewTab` for links that should open in new tab. (target = _blank)\r\n * \r\n * Will spread all other attributes to element.\r\n * \r\n```javascript\r\n\r\nimport A from '../Anchor';\r\n\r\n\r\n a link text\r\n\r\n\r\n```\r\n\r\nWill output \r\n\r\n```html\r\n\r\n a link text\r\n\r\n```\r\n\r\n */\r\nconst A = (props) => {\r\n const { NewTab, className, children, hasIcon, buttonStyling, ...rest } = props;\r\n\r\n const attr = { ...rest };\r\n\r\n if (NewTab) {\r\n if (!attr.rel) attr.rel = '';\r\n attr.rel += ' noopener ';\r\n attr.target = '_blank';\r\n }\r\n\r\n return (\r\n \r\n {children}\r\n {hasIcon ? : null}\r\n \r\n );\r\n};\r\n\r\nA.defaultProps = {\r\n className: '',\r\n};\r\n\r\nA.propTypes = {\r\n /** Default: `c-anchor` */\r\n className: proptypes.string,\r\n /** If true it will set `target=\"_blank\"` and `rel=\"noopener\"` */\r\n NewTab: proptypes.bool,\r\n /** Link relationship */\r\n rel: proptypes.string,\r\n /** hyper-reference */\r\n href: proptypes.string,\r\n /** Icon to indicate external link */\r\n hasIcon: proptypes.bool,\r\n /** Button styling */\r\n buttonStyling: proptypes.bool,\r\n};\r\n\r\nexport default A;\r\n","import Alert from '../../Alert';\r\nimport React from 'react';\r\nconst FallbackComponent = ({ title, message }) => {\r\n return (\r\n \r\n
    \r\n

    {title}

    \r\n

    {message}

    \r\n
    \r\n
    \r\n );\r\n};\r\nexport default FallbackComponent;\r\n","import React from 'react';\r\nimport T from 'prop-types';\r\nimport FallbackComponent from './fallback-component';\r\n\r\nclass ErrorBoundary extends React.Component {\r\n state = {\r\n hasError: false,\r\n };\r\n\r\n static getDerivedStateFromError() {\r\n return {\r\n hasError: true,\r\n error: { message: '', stack: '' },\r\n info: { componentStack: '' },\r\n };\r\n }\r\n\r\n componentDidCatch(error, info) {\r\n this.setState({\r\n error,\r\n info,\r\n });\r\n\r\n this.log(error, info);\r\n }\r\n\r\n log(error, info) {\r\n console.group('Component error');\r\n console.error(error);\r\n console.error(info);\r\n console.groupEnd();\r\n }\r\n\r\n render() {\r\n if (this.state.hasError) {\r\n if (typeof this.props.renderFallback === 'function') {\r\n return this.props.renderFallback(this.props);\r\n }\r\n return (\r\n \r\n );\r\n }\r\n\r\n return this.props.children;\r\n }\r\n}\r\n\r\nErrorBoundary.defaultProps = {\r\n renderFallback: FallbackComponent,\r\n};\r\n\r\nErrorBoundary.propTypes = {\r\n renderFallback: T.func,\r\n};\r\n\r\nexport default ErrorBoundary;\r\n","export default __webpack_public_path__ + \"static/favicons/apple-touch-icon-114x114.png\";","import classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport React from 'react';\r\n\r\nconst Badge = ({ id, children, icon, type, srText, text }) => {\r\n const typeClasses = classNames({\r\n 'ids-badge': true,\r\n [`ids-badge--${type}`]: type,\r\n });\r\n\r\n const iconClasses = classNames({\r\n 'ids-badge__icon': icon,\r\n [`ids-badge__icon--${type}`]: type,\r\n });\r\n\r\n return (\r\n
    \r\n {icon && }\r\n {children}\r\n\r\n \r\n {srText ?? text}\r\n \r\n\r\n {text}\r\n
    \r\n );\r\n};\r\n\r\nBadge.propTypes = {\r\n id: PropTypes.string,\r\n children: PropTypes.node,\r\n icon: PropTypes.bool,\r\n type: PropTypes.oneOf([\r\n 'primary',\r\n 'secondary',\r\n 'neutral',\r\n 'success',\r\n 'info',\r\n 'attention',\r\n 'error',\r\n ]),\r\n srText: PropTypes.string,\r\n text: PropTypes.string,\r\n};\r\n\r\nexport default Badge;\r\n","export default __webpack_public_path__ + \"static/favicons/mstile-310x310.png\";","export const throttle = (func, limit) => {\r\n let lastFunc;\r\n let lastRan;\r\n return function () {\r\n const context = this;\r\n const args = arguments;\r\n if (!lastRan) {\r\n func.apply(context, args);\r\n lastRan = Date.now();\r\n } else {\r\n clearTimeout(lastFunc);\r\n lastFunc = setTimeout(function () {\r\n if (Date.now() - lastRan >= limit) {\r\n func.apply(context, args);\r\n lastRan = Date.now();\r\n }\r\n }, limit - (Date.now() - lastRan));\r\n }\r\n };\r\n};\r\n\r\nexport const debounce = (fn, delay) => {\r\n let timerId;\r\n return (...args) => {\r\n clearTimeout(timerId);\r\n timerId = setTimeout(() => fn(...args), delay);\r\n };\r\n};\r\n\r\nexport function log(type = 'log', ...msg) {\r\n // Do not log in production.\r\n if (process.env.NODE_ENV === 'production') return () => {};\r\n // Default to log function if we try to send something else\r\n if (typeof console[type] !== 'function') type = 'log';\r\n // if we pass a message log directly (will not give correct file and linenumer in console)\r\n if (msg && msg.length > 0) {\r\n return console[type](...msg);\r\n }\r\n // return console function to be run by caller.\r\n return console[type];\r\n}\r\n\r\nexport function callIfFunction(fn, ...args) {\r\n if (typeof fn === 'function') {\r\n return fn(...args);\r\n }\r\n return;\r\n}\r\n\r\n/**\r\n * Convert object to string and compare them.\r\n * Not recommended but can be useful in certain situations.\r\n */\r\nexport function jsonStringifyIsEqual(obj1, obj2) {\r\n return JSON.stringify(obj1) === JSON.stringify(obj2);\r\n}\r\n\r\n/**\r\n * Check if param is an empty object.\r\n * `isEmptyObject({}) // true`\r\n */\r\nexport function isEmptyObject(v) {\r\n for (var key in v) {\r\n if (Object.prototype.hasOwnProperty.call(v, key)) return false;\r\n }\r\n return true;\r\n}\r\n\r\n/**\r\n * Check if param is an empty string.\r\n * `isEmptyString(\"\") // true`\r\n */\r\nexport function isEmptyString(v) {\r\n if (typeof v === 'string' && v === '') return true;\r\n return false;\r\n}\r\n\r\n/**\r\n * Check if param is an empty array.\r\n * `isEmptyArray([]) // true`\r\n */\r\nexport function isEmptyArray(v) {\r\n if (Array.isArray(v) && v.length === 0) return true;\r\n return false;\r\n}\r\n\r\n/**\r\n * Check if param is falsy or empty array, object or string.\r\n ```js\r\n isFalseOrEmpty(\"\") == true\r\n isFalseOrEmpty([]) == true\r\n isFalseOrEmpty({}) == true\r\n isFalseOrEmpty(null) == true\r\n isFalseOrEmpty(undefined) == true\r\n isFalseOrEmpty(false) == true\r\n isFalseOrEmpty(0) == false\r\n ```\r\n */\r\nexport function isFalseOrEmpty(v) {\r\n if (v === 0) return false;\r\n if (!v) return true;\r\n return isEmptyString(v) || isEmptyArray(v) || isEmptyObject(v);\r\n}\r\n\r\n/**\r\n * Make first char of string uppercase.\r\n */\r\nexport function capitalize(s) {\r\n if (typeof s !== 'string') return '';\r\n return s.charAt(0).toUpperCase() + s.slice(1);\r\n}\r\n\r\nexport function preloadedState() {\r\n if (typeof window === 'undefined') {\r\n return {};\r\n }\r\n if (window.__PRELOADED_STATE__) {\r\n return window.__PRELOADED_STATE__;\r\n }\r\n return {};\r\n}\r\n\r\nexport function useSweLang(lang) {\r\n if (lang == 'sv' || lang == 'sv-SE-x-ll' || lang == 'swl') {\r\n return null;\r\n }\r\n return 'sv';\r\n}\r\n\r\nexport const getCurrentRegion = () => {\r\n const { Regionalization } = preloadedState();\r\n\r\n if (\r\n Regionalization &&\r\n Regionalization.Regions &&\r\n Regionalization.Regions.Options &&\r\n Regionalization.Regions.Options.length > 0\r\n ) {\r\n return Regionalization.Regions.Options.find((opt) => opt.Selected === true);\r\n }\r\n\r\n return null;\r\n};\r\n\r\n/**\r\n * Strips html tags from a string.\r\n */\r\nexport const stripHtml = (text) => {\r\n const doc = new DOMParser().parseFromString(text, 'text/html');\r\n return doc.body.textContent || '';\r\n};\r\n\r\n/**\r\n * Sanitizes a string for use as a URL parameter by:\r\n * - Lowercasing all letters\r\n * - Replacing Swedish characters (å, ä, ö) with their Latin equivalents\r\n * - Converting whitespace to underscores\r\n * - Removing invalid characters\r\n * - Compressing multiple underscores\r\n */\r\nexport const sanitizeUrlParam = (str) => {\r\n return str\r\n .toLowerCase()\r\n .replace(/[åä]/g, 'a')\r\n .replace(/ö/g, 'o')\r\n .replace(/\\s+/g, '_')\r\n .replace(/[^a-z0-9_]/g, '')\r\n .replace(/_{2,}/g, '_');\r\n};\r\n","export default __webpack_public_path__ + \"static/favicons/favicon-196x196.png\";","import React from 'react';\r\nimport T from 'prop-types';\r\nimport ErrorBoundary from './error-boundary';\r\nimport FallbackComponent from './fallback-component';\r\n\r\nconst PageTypeRenderer = (props) => {\r\n //TODO: throw bara i dev\r\n if (!props.PageTypes[props.PageTypeName])\r\n throw new Error(\r\n `There is no pagetype with name ${props.PageTypeName} in React app. Check exported pages.`\r\n );\r\n\r\n const RenderPageType = props.PageTypes[props.PageTypeName];\r\n\r\n const renderFallback = (props) => (\r\n \r\n );\r\n\r\n return (\r\n \r\n {' '}\r\n \r\n );\r\n};\r\n\r\nPageTypeRenderer.propTypes = {\r\n PageTypeName: T.string,\r\n PageTypes: T.object,\r\n};\r\n\r\nexport default PageTypeRenderer;\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\n\r\nconst ExpandBtn = (props) => {\r\n if (props.IsLeafNode) return null;\r\n\r\n const expandBtnClasses = classNames({\r\n 'c-expand-button': true,\r\n [`${props.ComponentClassName}-expand`]: true,\r\n 'c-expand-button--is-open': props.isOpen,\r\n });\r\n\r\n const chevronBtnClasses = classNames({\r\n [`${props.chevronMobile}`]: true,\r\n [`${props.ComponentClassName}-expand`]: true,\r\n [`${props.chevronMobile}--is-open`]: props.isOpen,\r\n });\r\n\r\n const btnClasses = props.chevronMobile ? chevronBtnClasses : expandBtnClasses;\r\n\r\n return (\r\n props.handleClick(e)}\r\n className={btnClasses}\r\n aria-controls={props.Id}\r\n aria-expanded={props.isOpen}\r\n type=\"button\"\r\n data-cy=\"ui-mobilenav-expand-button\"\r\n >\r\n {`${props.ExpandBtnText} ${props.Text}`}\r\n \r\n );\r\n};\r\n\r\nExpandBtn.defaultProps = {\r\n ExpandBtnText: '',\r\n};\r\n\r\nexport default ExpandBtn;\r\n","export default __webpack_public_path__ + \"static/favicons/mstile-310x150.png\";","import React from 'react';\r\nimport T from 'prop-types';\r\nimport ErrorBoundary from './error-boundary';\r\nimport FallbackComponent from './fallback-component';\r\n\r\nconst BlockTypeRenderer = (props) => {\r\n if (!props.Blocks[props.BlockTypeName]) {\r\n throw new Error(\r\n `There is no blocktype with name ${props.BlockTypeName} in React app. Check exported blocks.`\r\n );\r\n }\r\n const RenderBlockType = props.Blocks[props.BlockTypeName];\r\n\r\n return ;\r\n};\r\n\r\nBlockTypeRenderer.propTypes = {\r\n BlockTypeName: T.string,\r\n Blocks: T.object,\r\n};\r\n\r\nconst BlockTypeRendererWithBoundary = (props) => {\r\n const renderFallback = () => (\r\n \r\n );\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default BlockTypeRendererWithBoundary;\r\n","export default __webpack_public_path__ + \"static/favicons/apple-touch-icon-152x152.png\";","import React from 'react';\r\nimport * as Render from '../Base/Render';\r\nimport classNames from 'classnames';\r\nimport T from 'prop-types';\r\n\r\nconst SurveyEntry = (props) => {\r\n return (\r\n
    \r\n
    \r\n {(props.Heading || props.ShowIcon) && (\r\n
    \r\n {props.ShowIcon &&\r\n Render.Property(\r\n ,\r\n 'ShowIcon'\r\n )}\r\n {props.Heading &&\r\n Render.Property(\r\n

    {props.Heading}

    ,\r\n 'Heading'\r\n )}\r\n
    \r\n )}\r\n {props.MainBody && props.LinkUrl && props.LinkText && (\r\n \r\n
    \r\n {Render.PropertyAsHTML(props.MainBody, 'MainBody')}\r\n
    \r\n \r\n {Render.Property(props.LinkText, 'LinkText')}\r\n \r\n
    \r\n )}\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nSurveyEntry.propTypes = {\r\n ShowIcon: T.bool,\r\n Heading: T.string,\r\n MainBody: T.string,\r\n LinkUrl: T.string,\r\n LinkText: T.string,\r\n};\r\n\r\nexport default SurveyEntry;\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\n\r\nconst BuildInfo = (props) => {\r\n if (!props || !props.BuildInfo) return false;\r\n const classes = classNames({\r\n 'c-buildinfo': true,\r\n });\r\n\r\n return (\r\n
    \r\n
      \r\n
    • \r\n Environment: {props.BuildInfo.Environment}\r\n
    • \r\n
    • \r\n Server: {props.BuildInfo.Server}\r\n
    • \r\n
    • \r\n Branch: {props.BuildInfo.Branch}\r\n
    • \r\n
    • \r\n Release: {props.BuildInfo.ReleaseNumber}\r\n
    • \r\n
    • \r\n Built: {props.BuildInfo.Built}\r\n
    • \r\n
    • \r\n Request id:{' '}\r\n {props.BuildInfo.Identifier &&\r\n props.BuildInfo.Identifier.substring(0, 8)}\r\n
    • \r\n
    • \r\n Commit:{' '}\r\n {props.BuildInfo.Commit && props.BuildInfo.Commit.substring(0, 8)}\r\n
    • \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default BuildInfo;\r\n","export default __webpack_public_path__ + \"static/favicons/apple-touch-icon-57x57.png\";","import React, { Component } from 'react';\r\nimport queryString from 'qs';\r\nimport { autoComplete } from '../Actions/search';\r\nimport { search } from '../Reducers/search';\r\n\r\nfunction getDisplayName(WrappedComponent) {\r\n return WrappedComponent.displayName || WrappedComponent.name || 'Component';\r\n}\r\n\r\nexport default (\r\n WrappedComponent,\r\n autoCompletePath = '/api/v2/search/autocomplete',\r\n summaryHits = (hits) => hits,\r\n selectItemValue = (item) => item,\r\n currentIndexItem = (item) => item,\r\n defaultIndex = -1,\r\n queryParamString = '',\r\n minStringLength = 1\r\n) => {\r\n class Container extends Component {\r\n quickSearch =\r\n typeof window !== 'undefined'\r\n ? window.__PRELOADED_STATE__?.SearchSettings?.QuickSearchUrl\r\n : null;\r\n timer = null;\r\n minStringLength = this.handleMinStringLenght(minStringLength);\r\n itemFallback = this.props.suggestionsFallback || [];\r\n autoCompletePath =\r\n this.props.SearchApiAutoCompleteUrl ||\r\n this.quickSearch ||\r\n autoCompletePath;\r\n\r\n //Set initial state\r\n state = search({\r\n isLoading: null,\r\n isVisible: false,\r\n index: defaultIndex,\r\n currentIndexObject: null,\r\n selectedObject: null,\r\n Hits: [],\r\n value: this.props.defaultValue ? this.props.defaultValue : '',\r\n });\r\n\r\n wrappedComponent = React.createRef();\r\n\r\n //TODO: Change to redux\r\n dispatch(action) {\r\n this.setState(search(this.getState(), action));\r\n }\r\n\r\n getState() {\r\n return this.state;\r\n }\r\n\r\n hasHits(hits) {\r\n return summaryHits(hits) && summaryHits(hits).length > 0;\r\n }\r\n\r\n handleKeyboard(e) {\r\n if (\r\n !summaryHits(this.state.Hits) ||\r\n summaryHits(this.state.Hits).length === 0\r\n )\r\n return;\r\n\r\n switch (e.keyCode) {\r\n case 13:\r\n if (this.state.index < 0) return true;\r\n this.dispatch({\r\n type: 'OPTION_SELECT_AUTOCOMPLETE',\r\n selectedValue: selectItemValue(\r\n summaryHits(this.state.Hits)[this.state.index]\r\n ),\r\n selectedObject: summaryHits(this.state.Hits)[this.state.index],\r\n });\r\n return true;\r\n case 38:\r\n e.preventDefault();\r\n\r\n if (this.state.index < 1) {\r\n this.dispatch({\r\n type: 'OPTION_INDEX_AUTOCOMPLETE',\r\n index: summaryHits(this.state.Hits).length - 1,\r\n currentIndexObject: summaryHits(this.state.Hits)[\r\n summaryHits(this.state.Hits).length - 1\r\n ],\r\n selectedValue: currentIndexItem(\r\n summaryHits(this.state.Hits)[\r\n summaryHits(this.state.Hits).length - 1\r\n ]\r\n ),\r\n });\r\n return false;\r\n }\r\n\r\n this.setState(\r\n (state) => {\r\n return { index: state.index - 1 };\r\n },\r\n () => {\r\n this.dispatch({\r\n type: 'OPTION_INDEX_AUTOCOMPLETE',\r\n index: this.state.index,\r\n currentIndexObject: summaryHits(this.state.Hits)[\r\n this.state.index\r\n ],\r\n selectedValue: currentIndexItem(\r\n summaryHits(this.state.Hits)[this.state.index]\r\n ),\r\n });\r\n }\r\n );\r\n\r\n return false;\r\n\r\n case 40:\r\n e.preventDefault();\r\n\r\n if (this.state.index >= summaryHits(this.state.Hits).length - 1) {\r\n this.dispatch({\r\n type: 'OPTION_INDEX_AUTOCOMPLETE',\r\n index: 0,\r\n currentIndexObject: summaryHits(this.state.Hits)[0],\r\n selectedValue: currentIndexItem(summaryHits(this.state.Hits)[0]),\r\n });\r\n\r\n return false;\r\n }\r\n\r\n this.setState(\r\n (state) => {\r\n return { index: state.index + 1 };\r\n },\r\n () => {\r\n this.dispatch({\r\n type: 'OPTION_INDEX_AUTOCOMPLETE',\r\n index: this.state.index,\r\n currentIndexObject: summaryHits(this.state.Hits)[\r\n this.state.index\r\n ],\r\n selectedValue: currentIndexItem(\r\n summaryHits(this.state.Hits)[this.state.index]\r\n ),\r\n });\r\n }\r\n );\r\n\r\n return false;\r\n case 27:\r\n this.dispatch({\r\n type: 'HIDE_AUTOCOMPLETE',\r\n });\r\n }\r\n }\r\n\r\n search() {}\r\n\r\n handleChange(e) {\r\n e.persist();\r\n const value = e.target.value;\r\n\r\n if (value.length >= this.minStringLength) {\r\n clearTimeout(this.timer);\r\n this.timer = setTimeout(() => {\r\n const qs = this.handleQueryParamString();\r\n autoComplete(\r\n `${this.autoCompletePath}?q=${encodeURI(value)}${qs}`,\r\n this.itemFallback\r\n )((action) => {\r\n this.dispatch({\r\n ...action,\r\n currentIndexObject: this.hasHits(action.payload)\r\n ? summaryHits(action.payload)[defaultIndex]\r\n : null,\r\n });\r\n }, this.getState.bind(this));\r\n }, 300);\r\n }\r\n\r\n this.dispatch({\r\n type: 'ONCHANGE',\r\n value: value,\r\n Hits:\r\n value === '' || value.length < this.minStringLength\r\n ? []\r\n : this.state.Hits,\r\n selectedObject: null,\r\n index: defaultIndex,\r\n });\r\n }\r\n\r\n handleKeyDown(e) {\r\n //Handle keycodes\r\n this.handleKeyboard(e);\r\n }\r\n\r\n handleClickOutside(e) {\r\n if (\r\n this.wrappedComponent.current &&\r\n !this.wrappedComponent.current.contains(e.target)\r\n ) {\r\n // Experimentally disable the handling of click events outside of the autocomplete field for the following reasons:\r\n // 1. It does not appear to be needed, the autocomplete is hidden anyway when clicking outside or tabbing out\r\n // 2. It complicates debugging\r\n // 3. I have a theory that the re-rendering of the component causes problems with the modal map becoming detached\r\n // All this is really too complicated... If future testing detects changed behavior, just revert. /Svante Seleborg 2021-05-28\r\n // this.closeAutocomplete();\r\n }\r\n }\r\n\r\n closeAutocomplete() {\r\n this.dispatch({\r\n type: 'HIDE_AUTOCOMPLETE',\r\n });\r\n }\r\n\r\n handleOnSelect(item) {\r\n this.dispatch({\r\n type: 'OPTION_SELECT_AUTOCOMPLETE',\r\n selectedValue: selectItemValue(item),\r\n selectedObject: item,\r\n currentIndexItem: item,\r\n });\r\n }\r\n\r\n clear(value) {\r\n this.dispatch({\r\n type: 'ONCHANGE',\r\n Hits: [],\r\n value: value,\r\n index: defaultIndex,\r\n });\r\n }\r\n\r\n handleBlur(e) {\r\n return e;\r\n }\r\n\r\n handlePropParam(param) {\r\n if (typeof param === 'string') {\r\n return param;\r\n }\r\n if (typeof param === 'function') {\r\n return param(this.props);\r\n }\r\n if (typeof param === 'object') {\r\n return queryString.stringify(param);\r\n }\r\n return param;\r\n }\r\n\r\n handleQueryParamString() {\r\n return this.handlePropParam(queryParamString);\r\n }\r\n\r\n handleMinStringLenght() {\r\n return this.handlePropParam(minStringLength);\r\n }\r\n\r\n handleFocus(e) {\r\n const value = e.target.value;\r\n if (value && value.length > this.minStringLength) {\r\n const qs = this.handleQueryParamString();\r\n autoComplete(\r\n `${this.autoCompletePath}?q=${e.target.value}${qs}`,\r\n this.itemFallback,\r\n this.requestVerificationToken\r\n )((action) => {\r\n this.dispatch({\r\n ...action,\r\n currentIndexObject: this.hasHits(action.payload)\r\n ? summaryHits(action.payload)[defaultIndex]\r\n : null,\r\n });\r\n }, this.getState.bind(this));\r\n\r\n this.clear(value);\r\n }\r\n }\r\n\r\n componentDidMount() {\r\n // only used for the new default quick search\r\n // props needs to be parsed first here to become an readable object\r\n const localProps = this.props;\r\n const defaultQuickSearchUrl =\r\n localProps?.defaultQuickSearch?.QuickSearchUrl;\r\n if (defaultQuickSearchUrl) {\r\n this.autoCompletePath = defaultQuickSearchUrl;\r\n }\r\n\r\n document.addEventListener('click', this.handleClickOutside.bind(this));\r\n document.addEventListener(\r\n 'focus',\r\n this.handleClickOutside.bind(this),\r\n true\r\n );\r\n\r\n if (this.props.searchOnMount) {\r\n this.updateSearchFromUrl(this.props.location.search);\r\n }\r\n }\r\n\r\n componentWillUnmount() {\r\n document.removeEventListener('click', this.handleClickOutside.bind(this));\r\n document.removeEventListener('focus', this.handleClickOutside.bind(this));\r\n }\r\n\r\n isZeroHits() {\r\n return Boolean(\r\n this.props.value &&\r\n this.state.isLoading === false &&\r\n this.state.Hits.length === 0 &&\r\n this.props.value.length > this.minStringLength\r\n );\r\n }\r\n render() {\r\n return (\r\n
    \r\n \r\n
    \r\n );\r\n }\r\n }\r\n Container.displayName = `withAutocomplete(${getDisplayName(\r\n WrappedComponent\r\n )})`;\r\n return Container;\r\n};\r\n","export default __webpack_public_path__ + \"static/favicons/apple-touch-icon-60x60.png\";","import React, { useState } from 'react';\r\nimport classNames from 'classnames';\r\nimport ExpandBtn from './expand-button';\r\nimport Mobile from './index';\r\nimport { getCurrentRegion } from '../Helpers';\r\n\r\nconst Anchor = (props) => {\r\n const linkClasses = classNames({\r\n [`${props.ComponentClassName}__list__item__link`]:\r\n props.Type && props.Type !== '',\r\n [`${props.ComponentClassName}__list__item__link--${props.Type}`]:\r\n props.Type && props.Type !== '',\r\n });\r\n\r\n const handleClickCareGiver = (icon) => () => {\r\n if (icon && window?._paq) {\r\n window._paq.push([\r\n 'trackEvent',\r\n 'Vardpersonal mobile',\r\n 'Click Vardpersonal 1177 mobile',\r\n 'Click Vardpersonal 1177 Link mobile',\r\n ]);\r\n }\r\n };\r\n\r\n if (!props.Url || props.Url === '') return {props.Text};\r\n return (\r\n \r\n {props.Text}\r\n \r\n );\r\n};\r\n\r\nconst Item = (props) => {\r\n const [isOpen, setIsOpen] = useState(props.ActivePath);\r\n const [subMenuData, setSubmenuData] = useState(null);\r\n\r\n const fetchSubMenu = (pageId) => {\r\n const createRegionSlug = (path) => {\r\n const region = getCurrentRegion();\r\n if (!region) return path;\r\n\r\n return `/api/${region.Slug.toLowerCase()}/menuitem/${pageId}`;\r\n };\r\n\r\n const path = createRegionSlug(`/api/menuitem/${pageId}`);\r\n\r\n fetch(path)\r\n .then((response) => {\r\n if (response.ok) {\r\n return response.json();\r\n }\r\n throw response;\r\n })\r\n .then((data) => {\r\n setSubmenuData(data);\r\n })\r\n .catch((error) => {\r\n throw error;\r\n });\r\n };\r\n\r\n const handleClick = (e) => {\r\n e.preventDefault();\r\n setIsOpen(!isOpen);\r\n\r\n if (!props.Children && !isOpen) {\r\n fetchSubMenu(props.PageId);\r\n setSubmenuData(subMenuData);\r\n }\r\n };\r\n\r\n const itemClasses = classNames({\r\n [`${props.ComponentClassName}__list__item`]: true,\r\n [`${props.ComponentClassName}__list__item--has-children`]:\r\n props.Children && props.Children.length > 0,\r\n [`${props.ComponentClassName}__list__item--is-open`]: isOpen,\r\n [`${props.ComponentClassName}--selected-item`]:\r\n props.CurrentPageId === props.PageId, //TODO: BUGG i denna: this.props.ActivePath,\r\n });\r\n\r\n const containerClass =\r\n `${props.ComponentClassName}__list__item__container` +\r\n `${props.Icon ? ' care-giver_container' : ''}`;\r\n return (\r\n
  • \r\n
    \r\n {props.Icon && }\r\n \r\n {!props.HideChildrenInMobileMenu && !props.Icon && (\r\n \r\n )}\r\n
    \r\n {isOpen && !props.HideChildrenInMobileMenu && (\r\n \r\n )}\r\n
  • \r\n );\r\n};\r\n\r\nexport default Item;\r\n","export const createCookie = (name, value, days) => {\r\n var expires;\r\n if (days) {\r\n var date = new Date();\r\n date.setTime(date.getTime() + days * 24 * 60 * 60 * 1000);\r\n expires = '; expires=' + date.toGMTString();\r\n } else expires = '';\r\n document.cookie = name + '=' + value + expires + '; path=/';\r\n};\r\n\r\nexport const parseCookieData = (name, cookieData) => {\r\n if (!cookieData) return null;\r\n if (typeof cookieData.split === 'undefined') return null;\r\n var nameEQ = name + '=';\r\n var ca = cookieData.split(';');\r\n for (var i = 0; i < ca.length; i++) {\r\n var c = ca[i];\r\n while (c.charAt(0) == ' ') c = c.substring(1, c.length);\r\n if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);\r\n }\r\n return null;\r\n};\r\n\r\nexport const readCookie = (name) => {\r\n if(typeof window === 'undefined'){\r\n return null;\r\n } \r\n return parseCookieData(name, document.cookie)};\r\n\r\nexport const eraseCookie = (name) => createCookie(name, '', -1);\r\n","const API_BASE = '';\r\n\r\nconst fetchbyURL = (url) =>\r\n fetch(url)\r\n .then((response) => { return response; })\r\n .catch((error) => { throw error; });\r\n\r\nconst postData = (endPoint, data) =>\r\n fetch(endPoint, {\r\n method: 'POST',\r\n body: data,\r\n })\r\n .then((response) => response)\r\n .catch((error) => console.error('Error:', error));\r\n\r\nexport const search = (query) => fetchbyURL(`${API_BASE}${query}`);\r\nexport const post = (endPoint, data) =>\r\n postData(`${API_BASE}${endPoint}`, data);\r\nexport const autocomplete = (query) => fetchbyURL(`${API_BASE}${query}`);\r\n","import React, { useState, useContext } from 'react';\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport PanelContext from './panelContext';\r\nimport HoverModal from '../Modal/hover-modal';\r\n\r\nconst CollapsiblePanel = (props) => {\r\n const panelContext = useContext(PanelContext);\r\n\r\n const [isCollapsed, setIsCollapsed] = useState(\r\n props.DefaultCollapsed === false ? false : true\r\n );\r\n\r\n const handleClick = () => {\r\n const { setActivePanelId } = panelContext;\r\n const { isAccordion, Id } = props;\r\n\r\n if (isAccordion) {\r\n setActivePanelId(Id);\r\n setIsCollapsed(!setIsOpen());\r\n } else {\r\n setIsCollapsed(!isCollapsed);\r\n }\r\n };\r\n\r\n const setIsOpen = () => {\r\n const { activePanelId } = panelContext;\r\n const { isAccordion, Id } = props;\r\n\r\n if (isAccordion) {\r\n return Boolean(isCollapsed && Id === activePanelId);\r\n }\r\n return !isCollapsed;\r\n };\r\n\r\n if (!props) return null;\r\n\r\n const isOpen = setIsOpen();\r\n\r\n const componentClassname = props.className;\r\n\r\n const componentClasses = classNames({\r\n [componentClassname]: true,\r\n [`${componentClassname}--is-expanded`]: isOpen,\r\n [`${componentClassname}--has-hovereffect`]: props.hasHover,\r\n });\r\n\r\n const buttonAttributes = {\r\n onClick: () => handleClick(),\r\n type: 'button',\r\n 'aria-controls': props.Id,\r\n 'aria-expanded': isOpen,\r\n className: `${componentClassname}__button`,\r\n id: `btn-${props.Id}`,\r\n };\r\n\r\n const panelAttributes = {\r\n id: props.Id,\r\n 'aria-hidden': !isOpen,\r\n 'data-cy': 'collapsible-panel',\r\n };\r\n\r\n const panelClasses = classNames({\r\n [`${componentClassname}__panel`]: true,\r\n [`${componentClassname}__panel--is-expanded`]: isOpen,\r\n });\r\n\r\n return (\r\n
    \r\n \r\n
    \r\n {props.children}\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nCollapsiblePanel.propTypes = {\r\n /** BEM model name (used to pixes cn__button, cn__panel). */\r\n className: PropTypes.string,\r\n DefaultCollapsed: PropTypes.bool,\r\n children: PropTypes.node,\r\n Id: PropTypes.string,\r\n Heading: PropTypes.node,\r\n ExpandBtnText: PropTypes.node,\r\n isAccordion: PropTypes.bool,\r\n hasHover: PropTypes.bool,\r\n Dir: PropTypes.oneOf(['rtl', 'ltr', 'auto']),\r\n};\r\n\r\nexport default CollapsiblePanel;\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\nconst Burger = (props) => {\r\n const burgerClasses = classNames({\r\n 'lines-button': true,\r\n x: true,\r\n close: props.mobileNavVis,\r\n });\r\n\r\n return (\r\n props.handleHamburgerClick(e)}\r\n type=\"button\"\r\n className={props.burgerBtnClassname}\r\n aria-controls=\"mobile-nav\"\r\n aria-label={\r\n props.Content.Translations && props.Content.Translations.menusr\r\n }\r\n aria-expanded={props.mobileNavVis}\r\n data-cy=\"ui-burger-btn\"\r\n >\r\n {props.text && (\r\n {props.text}\r\n )}\r\n\r\n \r\n \r\n \r\n \r\n {props.Content.Translations && props.Content.Translations.menusr}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default Burger;\r\n","import { arrayOf, shape, string } from 'prop-types';\r\nimport React from 'react';\r\nimport withRelevantDate from '../Containers/withRelevantDate';\r\nimport StatusMessage from '../StatusMessage';\r\n\r\nconst AlertMessagesList = (props) => {\r\n if (!props.Messages || props.Messages.length < 1) return null;\r\n\r\n return (\r\n
    \r\n {props.Messages.map((message, index) => (\r\n \r\n ))}\r\n
    \r\n );\r\n};\r\n\r\nAlertMessagesList.propTypes = {\r\n Messages: arrayOf(\r\n shape({\r\n MessageId: string.isRequired,\r\n Author: string,\r\n /** StartDate is set to a string from `withRelevantDate` container */\r\n StartDate: string,\r\n Title: string.isRequired,\r\n Message: string.isRequired,\r\n })\r\n ),\r\n};\r\n\r\nexport default withRelevantDate(AlertMessagesList);\r\n","import React from 'react';\r\nimport T from 'prop-types';\r\n\r\nconst BlockProperty = (props) => {\r\n const editAttributes = {\r\n [global.PWTPlatform.EditAttributes[0]]: props.propertyName,\r\n [global.PWTPlatform.EditAttributes[1]]: true,\r\n 'data-contentgroup': true,\r\n className: 'epi-editContainer',\r\n };\r\n\r\n return
    {props.children}
    ;\r\n};\r\n\r\n/**\r\n * Will render a (list of) Block, will spread all other props to each block.\r\n */\r\nconst Block = ({\r\n blocks,\r\n propertyName,\r\n children,\r\n currentPageProps,\r\n stylePropertyName,\r\n ...props\r\n}) => {\r\n if (!blocks && global.PWTPlatform.IsEditMode)\r\n return ;\r\n\r\n if (!blocks) return null;\r\n\r\n let blockList = [];\r\n if (Object.prototype.toString.call(blocks) === '[object Array]') {\r\n blockList = blocks;\r\n } else {\r\n blockList.push(blocks);\r\n }\r\n\r\n const blockItems = blockList.map((block, index) => {\r\n if (!block) return;\r\n const uniqueBlockId = `${propertyName}${block.BlockId}-${index}`;\r\n if (global.PWTPlatform.IsEditMode) {\r\n return (\r\n \r\n {React.cloneElement(children, {\r\n ...block,\r\n key: index,\r\n index,\r\n UniqueBlockId: uniqueBlockId,\r\n CurrentPageProps: currentPageProps,\r\n PropertyName: stylePropertyName || propertyName,\r\n ...props,\r\n ...children.props,\r\n })}\r\n \r\n );\r\n } else {\r\n return React.cloneElement(children, {\r\n ...block,\r\n key: uniqueBlockId,\r\n index,\r\n UniqueBlockId: uniqueBlockId,\r\n CurrentPageProps: currentPageProps,\r\n PropertyName: stylePropertyName || propertyName,\r\n ...props,\r\n ...children.props,\r\n });\r\n }\r\n });\r\n\r\n if (global.PWTPlatform.IsEditMode) {\r\n return (\r\n {blockItems}\r\n );\r\n } else {\r\n return blockItems;\r\n }\r\n};\r\n\r\nBlock.propTypes = {\r\n blocks: T.any,\r\n propertyName: T.string,\r\n children: T.node,\r\n currentPageProps: T.any,\r\n};\r\n\r\nexport default Block;\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\nimport SemanticHeader from '../Chapter/semantic-header';\r\nimport A from '../Anchor';\r\n\r\nconst Linklist = (props) => {\r\n if (!props.Links) return null;\r\n\r\n const componentClass = props.className ? `${props.className}` : 'c-linklist';\r\n\r\n const listContainerClass = classNames({\r\n [componentClass]: true,\r\n ...props.Modifiers,\r\n });\r\n\r\n const listItems = props.Links.map((item, index) => {\r\n const listItemClass = classNames(item.className, {\r\n [`${componentClass}__link`]: true,\r\n });\r\n\r\n const itemAttr = {\r\n id: item.id,\r\n href: item.Href,\r\n lang: item.Language != 'sv' ? item.Language : null,\r\n className: listItemClass,\r\n NewTab: item.NewTab,\r\n hasIcon: item.NewTab,\r\n };\r\n\r\n const trackingAttributesExists =\r\n item?.TrackAttr !== null && item?.TrackAttr !== undefined ? true : false;\r\n\r\n if (item.Icon) {\r\n itemAttr['data-icon'] = item.Icon;\r\n }\r\n\r\n if (item.onClick) {\r\n itemAttr.onClick = (e) => {\r\n if (item.onClick) item.onClick(e);\r\n };\r\n }\r\n\r\n return (\r\n
  • \r\n \r\n \r\n {item.Text}\r\n \r\n \r\n
  • \r\n );\r\n });\r\n\r\n const dataPrintSidebarTitle =\r\n props.Heading ||\r\n props.CurrentPageProps?.Content?.Translations?.linklistblock ||\r\n '';\r\n const listContainer = 'link-list-container';\r\n\r\n return (\r\n \r\n {props.Heading && (\r\n \r\n {props.Heading}\r\n \r\n )}\r\n
      \r\n {listItems}\r\n {props.ListChildren}\r\n
    \r\n {props.children}\r\n \r\n );\r\n};\r\n\r\nLinklist.defaultProps = {\r\n ListChildren: null,\r\n};\r\n\r\nexport default Linklist;\r\n","export default __webpack_public_path__ + \"static/favicons/favicon-32x32.png\";","export default __webpack_public_path__ + \"static/favicons/mstile-150x150.png\";","import classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport React from 'react';\r\n\r\nconst AutoCompleteSuggestions = ({\r\n suggestions,\r\n label,\r\n searchUrl,\r\n hasQuickSearch,\r\n selectedIndex,\r\n isVisible,\r\n id,\r\n}) => {\r\n if (!Array.isArray(suggestions) || suggestions.length === 0) return null;\r\n\r\n const ulProps = hasQuickSearch\r\n ? { className: 'c-search__quicksearch__autocomplete' }\r\n : {\r\n role: 'listbox',\r\n 'aria-expanded': isVisible,\r\n id: `${id}_listbox`,\r\n className: 'c-search__autocomplete',\r\n };\r\n\r\n return (\r\n
      \r\n {label && (\r\n \r\n {label}\r\n \r\n )}\r\n {suggestions.map((term, index) => {\r\n const itemClass = classNames({\r\n 'c-search__autocomplete__item': !hasQuickSearch,\r\n 'c-search__autocomplete__item--is-selected':\r\n !hasQuickSearch && selectedIndex === index,\r\n 'c-search__quicksearch__autocomplete__item': hasQuickSearch,\r\n 'c-search__quicksearch__autocomplete__item--is-selected':\r\n hasQuickSearch && selectedIndex === index,\r\n });\r\n return (\r\n
    • \r\n {term}\r\n
    • \r\n );\r\n })}\r\n
    \r\n );\r\n};\r\n\r\nAutoCompleteSuggestions.propTypes = {\r\n suggestions: PropTypes.arrayOf(PropTypes.string),\r\n label: PropTypes.string,\r\n searchUrl: PropTypes.string,\r\n hasQuickSearch: PropTypes.bool,\r\n selectedIndex: PropTypes.number,\r\n id: PropTypes.string,\r\n isVisible: PropTypes.bool,\r\n};\r\n\r\nexport default AutoCompleteSuggestions;\r\n","export default __webpack_public_path__ + \"static/favicons/apple-touch-icon-144x144.png\";","import React from 'react';\r\n\r\nconst Property = (property, propertyName) => {\r\n if (!global.PWTPlatform.IsEditMode) return property;\r\n\r\n const editAttributes = {\r\n [global.PWTPlatform.EditAttributes[0]]: propertyName,\r\n [global.PWTPlatform.EditAttributes[1]]: true,\r\n };\r\n\r\n return (\r\n \r\n {property}\r\n \r\n );\r\n};\r\n\r\nconst PropertyAsHTML = (property, propertyName) => {\r\n if (!global.PWTPlatform.IsEditMode && !property) return null;\r\n\r\n if (!global.PWTPlatform.IsEditMode)\r\n return
    ;\r\n\r\n const editAttributes = {\r\n [global.PWTPlatform.EditAttributes[0]]: propertyName,\r\n [global.PWTPlatform.EditAttributes[1]]: true,\r\n };\r\n\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport { Property, PropertyAsHTML };\r\n","import queryString from 'qs';\r\nimport * as Api from '../Api';\r\n\r\nexport const loadMorePages = (query) => (dispatch, getState, callback) => {\r\n dispatch({\r\n type: 'LOADING',\r\n payload: getState(),\r\n });\r\n\r\n Api.search(query)\r\n .then((response) => response.json())\r\n .then((payload) => {\r\n if (typeof callback === 'function') {\r\n callback(payload, query);\r\n }\r\n dispatch({\r\n type: 'LOAD_MORE',\r\n key: query,\r\n payload: payload,\r\n });\r\n });\r\n};\r\n\r\nexport const filterPages = (query) => (dispatch, getState, callback) => {\r\n dispatch({\r\n type: 'LOADING',\r\n payload: getState(),\r\n });\r\n\r\n Api.search(query)\r\n .then((response) => response.json())\r\n .then((payload) => {\r\n if (typeof callback === 'function') {\r\n callback(payload, query);\r\n }\r\n dispatch({\r\n type: 'FILTER',\r\n key: query,\r\n payload: payload,\r\n });\r\n });\r\n};\r\n\r\nexport const autoComplete = (query, fallback) => (dispatch, getState) => {\r\n dispatch({\r\n type: 'LOADING',\r\n payload: getState(),\r\n });\r\n\r\n Api.autocomplete(query)\r\n .then((response) => {\r\n if (!response.ok && response.status !== 200) {\r\n throw new Error(response.status);\r\n }\r\n const qs = queryString.parse(query.substring(query.indexOf('?')), {\r\n ignoreQueryPrefix: true,\r\n });\r\n if (qs.q == getState().value) return response.json();\r\n\r\n return { aborted: true, valueReq: qs.q, valueState: getState().value };\r\n })\r\n .then((payload) => {\r\n //Only dispatch response from the last request\r\n //TODO: When better browsersupport for fetch: abort request instead\r\n\r\n if (payload && payload.aborted) return;\r\n\r\n return dispatch({\r\n type: 'AUTOCOMPLETE',\r\n key: query,\r\n payload: payload,\r\n });\r\n })\r\n .catch((e) => {\r\n const qs = queryString.parse(query.substring(query.indexOf('?')), {\r\n ignoreQueryPrefix: true,\r\n });\r\n if (fallback && fallback.length > 0 && qs.q) {\r\n const result = fallback\r\n .filter((item) => item.toLowerCase().startsWith(qs.q.toLowerCase()))\r\n .slice(0, 8);\r\n\r\n return dispatch({\r\n type: 'AUTOCOMPLETE',\r\n key: query,\r\n payload: result,\r\n });\r\n } else {\r\n console.error('Could not fetch autocomplete data from the server.');\r\n console.error(e.message);\r\n dispatch({\r\n type: 'ERROR',\r\n payload: e,\r\n });\r\n }\r\n });\r\n};\r\n\r\nexport const fetchByQuery = (query) => (dispatch, getState, callback) => {\r\n dispatch({\r\n type: 'LOADING',\r\n payload: getState(),\r\n });\r\n\r\n Api.search(query)\r\n .then((response) => response.json())\r\n .then((payload) => {\r\n if (typeof callback === 'function') {\r\n callback(payload, query);\r\n }\r\n dispatch({\r\n type: 'SEARCH',\r\n key: query,\r\n payload: payload,\r\n });\r\n });\r\n};\r\n\r\nexport const fetchByPost = (endPoint, data) => (dispatch, getState) => {\r\n dispatch({\r\n type: 'LOADING',\r\n payload: getState(),\r\n });\r\n\r\n Api.post(endPoint, data)\r\n .then((response) => response.json())\r\n .then((payload) =>\r\n dispatch({\r\n type: 'SEARCH',\r\n payload: payload,\r\n })\r\n );\r\n};\r\n","import React from 'react';\r\n\r\nconst SemanticHeader = ({ isH3, isH4, children, ...props }) =>\r\n isH3 ? (\r\n

    {children}

    \r\n ) : isH4 ? (\r\n

    {children}

    \r\n ) : (\r\n

    {children}

    \r\n );\r\n\r\nexport default SemanticHeader;\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\n\r\nconst Item = (props) => {\r\n const ItemClassName = props.itemClassName ? props.itemClassName : 'c-meganav';\r\n\r\n const classes = classNames({\r\n [`${ItemClassName}__list__item`]: true,\r\n [`${ItemClassName}__list__item--is-selected`]: props.ActivePath,\r\n });\r\n\r\n return (\r\n
  • \r\n \r\n \r\n {props.Text}\r\n \r\n
  • \r\n );\r\n};\r\n\r\nexport default Item;\r\n","import PropTypes from 'prop-types';\r\nimport React, { useEffect } from 'react';\r\nimport withAutocomplete from '../Containers/withAutocomplete';\r\nimport { isMediumViewport } from '../Hooks/useMedia';\r\nimport AutoCompleteSuggestions from './autocomplete-suggestions';\r\nimport QuickSearchHits from './quicksearch-results';\r\n\r\n/**\r\n * Repo: PWT-PlattformUI\r\n *\r\n * Containers: withAutocomplete\r\n *\r\n * Sites: All PWT\r\n *\r\n * @description Search field used in the global page search.\r\n *\r\n */\r\nconst SearchField = ({\r\n hasNoAutocomplete,\r\n handleKeyDown,\r\n handleChange,\r\n handleBlur,\r\n Suggestions = {},\r\n id,\r\n searchUrl,\r\n className,\r\n defaultValue,\r\n placeholder,\r\n hasQuickSearch,\r\n showSearchHitsHeadingSuffix,\r\n defaultQuickSearch,\r\n site,\r\n}) => {\r\n let selectedTerm = null;\r\n\r\n const isMobileViewport = isMediumViewport();\r\n\r\n useEffect(() => {\r\n document.body.classList.remove('no-scroll');\r\n if (Suggestions.Hits?.SearchHits?.length > 5 && isMobileViewport) {\r\n document.body.classList.add('no-scroll');\r\n }\r\n }, [Suggestions.Hits]);\r\n\r\n if (hasNoAutocomplete && !hasQuickSearch) {\r\n return (\r\n
    \r\n \r\n
    \r\n );\r\n }\r\n\r\n const suggestionsArray = hasQuickSearch\r\n ? Suggestions.Hits.AutoComplete\r\n : Suggestions.Hits;\r\n\r\n return (\r\n \r\n handleKeyDown(e)}\r\n onChange={(e) => handleChange(e)}\r\n onBlur={(e) => handleBlur(e)}\r\n type=\"text\"\r\n id={id}\r\n name=\"q\"\r\n placeholder={placeholder}\r\n className={`${className}__field__query`}\r\n data-cy=\"ui-searchform-input\"\r\n />\r\n\r\n {defaultQuickSearch?.QuickSearchSettingEnabled &&\r\n site === '1177' &&\r\n Suggestions.isVisible &&\r\n Suggestions.Hits?.SearchHits?.length > 0 && (\r\n \r\n )}\r\n\r\n {!defaultQuickSearch?.QuickSearchSettingEnabled &&\r\n site !== '1177' &&\r\n hasQuickSearch &&\r\n Suggestions.isVisible &&\r\n (Suggestions.Hits.AutoComplete?.length > 0 ||\r\n Suggestions.Hits.SearchHits?.length > 0) && (\r\n \r\n {Suggestions.Hits.AutoComplete?.length > 0 && (\r\n \r\n )}\r\n\r\n {Suggestions.Hits.SearchHits?.length > 0 && (\r\n \r\n )}\r\n \r\n )}\r\n\r\n {!hasQuickSearch &&\r\n Suggestions.isVisible &&\r\n Suggestions.Hits.length > 0 && (\r\n \r\n )}\r\n\r\n \r\n {!Suggestions.isLoading &&\r\n suggestionsArray &&\r\n suggestionsArray.length > 0 && (\r\n
    \r\n Det finns {suggestionsArray && suggestionsArray.length}{' '}\r\n sökordsförslag. Använd uppåt och nedåtpil för att navigera i\r\n resultatet.\r\n {selectedTerm}\r\n
    \r\n )}\r\n \r\n \r\n );\r\n};\r\n\r\nSearchField.propTypes = {\r\n handleKeyDown: PropTypes.func,\r\n handleChange: PropTypes.func,\r\n handleBlur: PropTypes.func,\r\n Suggestions: PropTypes.shape({\r\n Hits: PropTypes.oneOfType([PropTypes.array, PropTypes.object]),\r\n index: PropTypes.number,\r\n value: PropTypes.string,\r\n isVisible: PropTypes.bool,\r\n }),\r\n defaultValue: PropTypes.string,\r\n id: PropTypes.string,\r\n searchUrl: PropTypes.string,\r\n className: PropTypes.string,\r\n placeholder: PropTypes.string,\r\n hasNoAutocomplete: PropTypes.bool,\r\n hasQuickSearch: PropTypes.bool,\r\n showSearchHitsHeadingSuffix: PropTypes.bool,\r\n defaultQuickSearch: PropTypes.object,\r\n site: PropTypes.string,\r\n};\r\n\r\nexport const SearchFieldWithoutAutocomplete = (props) => (\r\n \r\n);\r\n\r\nexport default withAutocomplete(SearchField);\r\n","import { Fragment, React } from 'react';\r\nimport Item from './item';\r\n\r\nconst Mobile = (props) => {\r\n const level = typeof props.Level === 'undefined' ? 0 : props.Level + 1;\r\n \r\n //Default component class name is c-mobilenav\r\n const componentClassName = props.ComponentClassName\r\n ? props.ComponentClassName\r\n : 'c-mobilenav';\r\n \r\n let children = [];\r\n\r\n if (props.subMenuData) {\r\n children = props.subMenuData.map((child, index) => (\r\n \r\n ));\r\n }\r\n\r\n \r\n if (props.Children) {\r\n children = props.Children.map((child, index) => (\r\n \r\n ));\r\n }\r\n\r\n let careGiverLink = [];\r\n if (props.Icon) {\r\n careGiverLink=(\r\n \r\n );\r\n }\r\n\r\n let elmAttributes = {\r\n id: props.Id ? props.Id : null,\r\n 'aria-hidden': typeof props.isOpen !== 'undefined' ? !props.isOpen : null,\r\n };\r\n\r\n const FooterLinks = () => {\r\n const { LinkListFirst, LinkListSecond, LinkListThird } =\r\n props.mobileNavHasFooterLinks;\r\n\r\n const concatLinks = (...arrays) =>\r\n [].concat(...arrays.filter(Array.isArray));\r\n\r\n const links = concatLinks(\r\n LinkListFirst.Links,\r\n LinkListSecond.Links,\r\n LinkListThird.Links\r\n );\r\n\r\n return (\r\n
      \r\n {links.map((link, index) => (\r\n
    • \r\n {link.Text}\r\n
    • \r\n ))}\r\n
    \r\n );\r\n };\r\n\r\n return (\r\n \r\n
      \r\n {children}\r\n {careGiverLink}\r\n
    \r\n {props.mobileNavHasFooterLinks && }\r\n
    \r\n );\r\n};\r\n\r\nexport default Mobile;\r\n","import React, { useState, useEffect } from 'react';\r\nimport * as Cookies from '../Base/Cookies';\r\nimport classNames from 'classnames';\r\n\r\nconst CookiePanel = (props) => {\r\n const [isVisible, setIsVisible] = useState();\r\n const [isAccepted, setIsAccepted] = useState();\r\n\r\n useEffect(() => {\r\n setIsVisible(\r\n Cookies.parseCookieData('acceptedCookie', props.cookies) === null\r\n );\r\n }, []);\r\n\r\n const closeCookieHandler = (e) => {\r\n e.preventDefault();\r\n Cookies.createCookie('acceptedCookie', true, 365);\r\n setIsAccepted(true);\r\n\r\n setTimeout(() => {\r\n setIsAccepted(true);\r\n }, 2500);\r\n };\r\n\r\n if (!isVisible || !props || !props.CookieConsent) {\r\n return null;\r\n }\r\n const { CookieConsentText, CookieButtonText } = props.CookieConsent;\r\n\r\n const classes = classNames({\r\n 'cookie-panel': true,\r\n 'cookie-panel--is-closed': isAccepted,\r\n });\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n \r\n {CookieButtonText}\r\n \r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default CookiePanel;\r\n"],"names":["WrappedComponent","props","_props$CookiePro","window","__PRELOADED_STATE__","cookies","document","cookie","JSON","parse","PageTypeRenderer","global","PWTPlatform","Translate","translate","IsEditMode","EditAttributes","_jsx","CookieContext","cookiePro","CookiePro","Enabled","children","item","classes","classNames","isOpened","ActivePath","attributes","href","Url","onClick","e","handleClick","Children","PageId","_jsxs","className","Text","isLocalhost","Boolean","location","hostname","match","registerValidSW","swUrl","config","navigator","serviceWorker","register","then","registration","onupdatefound","installingWorker","installing","onstatechange","state","controller","console","log","onUpdate","onSuccess","catch","error","_ref","link","logosr","width","height","fill","viewBoxWidth","viewBoxHeight","Svg","viewBox","xmlns","d","_Fragment","SiteFooter","Language","Modifiers","Content","SiteLogoSr","siteFooterLinkListModifiers","linkLists","LinkListFirst","LinkListSecond","LinkListThird","filter","list","Links","CookieSettingsLinkEnabled","length","_lastList$Links","lastList","some","id","push","columnClasses","columns","lang","useSweLang","map","index","Linklist","Heading","_Content$Translations","CollapsiblePanel","Id","HeadingLanguage","ExpandBtnText","Translations","expandbuttontext","Logo","LogotypeLinkUrl","SubHeading","trim","dangerouslySetInnerHTML","__html","MainContent","SiteInformation","logotext","globalSearchClasses","activeTool","isMobile","SearchSettings","role","action","SearchUrl","method","autoComplete","htmlFor","SearchPlaceholder","SearchField","searchUrl","placeholder","hasNoAutocomplete","hasQuickSearch","showSearchHitsHeadingSuffix","type","hasCurrentRegion","Regionalization","Regions","Options","find","Selected","isExpanded","IsSearchBot","isSearchBot","IsPost","isPost","DefaultOption","PageTypeName","isDefaultRegion","burgerClasses","x","close","mobileNavVis","handleHamburgerClick","burgerBtnClassname","menusr","text","showHeader","expanded","setExpanded","useState","useEffect","CurrentRegionLogo","label","toggle","isVisible","currentRegion","Label","regionLogo","animationStart","switchToResidentUrl","switchToResidentText","quicklinkssr","RegionLogo","checkViewboxIsMobile","search","Burger","withRouter","withKeepTabFocus","_props$Content","_props$Content$Switch","_props$Content2","_props$Content2$Publi","regionPicker","selectedProfession","Switch","CurrentSelectionCodeParam","uuid","Publication","currentUuidParam","tabIndex","Value","pathname","rel","regions__listitem__icon","regions__listitem__button","getElementById","focus","LoadBlocks","isFullWidth","meganavHasHeading","complimentnavHeading","closeTranslation","Topnav","isWideNav","meganavClassName","Header","mobileNavVisible","setMobileNavVisible","setAnimationStart","menuItems","setMenuItems","LangSelectorSmall","isToolsVisible","BuildInfo","MainNavigation","mobileNavHasFooterLinks","renderAfterMobileMenu","isFullOverlayInMobile","chevronMobile","SwitchToResidentSettings","NavigateToLinkUrl","SwitchButtonText","SwitchButtonTextMobile","timerMobileNav","body","removeAttribute","addNewMenuItem","newMenuItem","Uri","HideChildrenInMobileMenu","IsLeafNode","prevNavigation","headerClasses","headerNavClasses","matchMedia","matches","header","GlobalSearch","style","paddingTop","logoSr","HeaderTools","preventDefault","clearTimeout","setTimeout","Mobile","ComponentClassName","PrefixId","CurrentPageId","TopnavVardpersonal","AlertList","defaultProps","WrapperComponent","setActiveTool","timer","setFocus","getRegions","setIsVisible","focusTimer","focusElm","region","InformationModal","active","CheckboxText","ButtonText","HeadingText","BodyText","isAccepted","setIsAccepted","cookieValue","Cookies","isInitialRender","React","current","updateCookie","value","closeInformationModal","RegionsContainer","PlatformHeader","withToolbarButtonList","ButtonSVG","HasSearch","handleVisible","isMediumViewport","_props$FeatureToggleS","ticking","isOffsetTop","setIsOffestTopState","isFooterInWindow","setIsFooterInWindow","throttleScroll","requestAnimationFrame","footer","querySelector","windowHeight","innerHeight","getBoundingClientRect","top","pageYOffset","setIsOffsetTop","addEventListener","FeatureToggleSettings","Use1177ProfessionDesign","toplink","_document$getElements","_document$getElements2","scrollIt","getElementsByClassName","getElementsByTagName","animateScrollToTop","AccessibilityShortcuts","AccessibilityNav","Render","Root","_props$SurveyEntries","_props$FeatureToggleS2","isModalActive","setIsModalActive","footerProps","LogoText","activeSurvey","SurveyEntries","survey","IsActive","BuildInfoComponent","IsEnabled","inert","HeaderVardpersonal","topMenuSearch","switchToResident","hideHamburgerMenuInHeader","_createElement","key","Tools","SurveyEntry","ScrollToTop","FooterVardpersonal","Footer","ShowLogo","FooterLogo","CookiePanel","StartPage","async","page","default","importPage","pageTypeName","ArticlePage","SectionStartPage","PublicationPage","PwtPublicationPage","CollectionPage","SearchPage","SubjectGroupPage","SubjectGroupOverviewPage","CourseOfCarePage","ErrorPage","MessagePage","Async","constructor","arguments","Pages","html","innerHTML","componentDidMount","pagetype","this","setState","render","preserveAspectRatio","fillRule","transform","xlinkHref","mask","version","points","stroke","strokeWidth","y","Vastragotaland","Stockholm","Vastmanland","Uppsala","Skane","Orebro","Jamtland","Vasterbotten","Vasternorrland","Varmland","Sormland","Ostergotland","Norrbotten","Gavleborg","Kronoberg","Kalmar","Jonkoping","Halland","Gotland","Blekinge","Dalarna","Preview","require","URL","process","origin","fetch","headers","response","contentType","get","status","indexOf","ready","unregister","reload","checkValidServiceWorker","main","_document$getElementB","_document$getElementB2","StaticRegionImgSrc","staticComponent","RegionLogotypes","StaticLogo","StaticBuildInfo","appNode","firstChild","previewNode","hydrateOrRender","hydrate","Router","Route","path","routeProps","Layout","AsyncPageTypes","callback","blocks","Suspense","fallback","numOfLists","Array","forEach","undefined","ListChildren","prefixId","componentClassName","Item","itemClassName","navColumns","blockColumns","closeMeganav","Blocks","TeaserItem","propertyName","Complimentnav","_props$message","_props$message$Region","cookieContext","useContext","isOpen","setIsOpen","checkStorage","readCookie","message","MessageId","Title","RegionLabel","useIdsBadgeForRegion","Badge","translations","regionlabel","regionlabelshowforscreenreader","toggleMessage","isAllowed","createCookie","hidemessage","showmessage","statusmessage__content","Message","RegionalContent","regionalcontentshowforscreenreader","currentRegionName","content","Author","StartDate","slice","PanelContext","wrapperRef","useRef","currentId","setCurrentId","setBlocks","handleClickOutside","removeEventListener","contains","target","Meganav","ref","useMedia","queries","values","defaultValue","mediaQueryLists","q","getValue","findIndex","mql","setValue","handler","addListener","removeListener","isSmallViewport","alertNoTitle","AlertDescription","showModal","setShowModal","element","ElementId","onclick","onmouseover","isHidden","onmouseout","onblur","onfocus","Description","destination","duration","easing","horizontalNavOffset","easings","linear","t","easeInQuad","easeOutQuad","easeInOutQuad","easeInCubic","easeOutCubic","easeInOutCubic","easeInQuart","easeOutQuart","easeInOutQuart","easeInQuint","easeOutQuint","easeInOutQuint","start","scrollY","startTime","performance","now","Date","getTime","documentHeight","Math","max","scrollHeight","offsetHeight","documentElement","clientHeight","destinationOffset","destinationOffsetToScroll","round","floor","scroll","time","min","timeFunction","ceil","handleToolsVisibility","addToolComponent","_props$CareGiverItemS","setMobileNavVis","classList","add","ToolsBottom","TopNavComponent","SecondaryNavigation","CareGiverItemSettings","TopMenuItemEnabled","Icon","TopMenuItemURL","TopMenuItemText","noTopNavRow","Component","tools","component","tool","ManualLinks","classColor","Theme","ManualLinksLabel","webpackContext","req","webpackContextResolve","__webpack_require__","o","Error","code","keys","Object","resolve","module","exports","_suggestions$Hits","_suggestions$Hits2","_suggestions$Hits3","_suggestions$value","_suggestions$Hits4","_suggestions$Hits5","_suggestions$Hits6","_suggestions$Hits7","_suggestions$Hits8","suggestions","site","defaultQuickSearch","isArray","Hits","SearchHits","QuickSearchSettingEnabled","QuickSearchSettingHeading","TotalNumberOfHits","encodeURI","SearchHitsHeading","SearchHitsSuffix","term","_term$InformationType","_term$InformationType2","_term$InformationType3","_term$InformationType4","_term$InformationType5","_term$InformationType6","quickSearchClasses","InformationType","Key","LinkBlock","SelectionCode","PrimaryCareUrl","SpecializedCareUrl","keepTab","escKeyListener","event","which","keyCode","closeHandler","keyListener","shiftKey","tabbableElements","from","querySelectorAll","firstTabbableElement","lastTabbableElement","initialState","appendSearchHits","payload","NextPage","assign","isLoading","currentIndexObject","selectedValue","selectedObject","FriendlyTargetUrl","createContext","onCookieChange","cookieName","prevContext","setStatus","retryCount","checkCpScript","C0001","C0002","C0003","C0004","C0005","handleCookieProParsing","OptanonConsent","parsedCookie","qs","groups","split","group","g","v","Number","handleLegacyAcceptedCookie","acceptedLegacyCookieValue","setC0001","setC0002","setC0003","setC0004","setC0005","StatusMessageCookie","PanicButtonCookie","PowerBi","ShowSensitiveImagesCookie","ReadingAid","Survey","onConsentChange","consentGiven","detail","includes","Provider","removeNotInDateRange","StopDate","date","toISOString","Messages","messages","items","StaticComponent","A","NewTab","hasIcon","buttonStyling","rest","attr","classnames","title","Alert","ErrorBoundary","hasError","getDerivedStateFromError","stack","info","componentStack","componentDidCatch","groupEnd","renderFallback","FallbackComponent","icon","srText","typeClasses","iconClasses","callIfFunction","fn","_len3","args","_key3","getCurrentRegion","opt","stripHtml","DOMParser","parseFromString","textContent","PageTypes","RenderPageType","block","ExpandBtn","expandBtnClasses","chevronBtnClasses","btnClasses","BlockTypeRenderer","BlockTypeName","RenderBlockType","ShowIcon","MainBody","LinkUrl","LinkText","surveyentry__container","Environment","Server","Branch","ReleaseNumber","Built","Identifier","substring","Commit","autoCompletePath","summaryHits","hits","selectItemValue","currentIndexItem","defaultIndex","queryParamString","minStringLength","Container","_window$__PRELOADED_S","_window$__PRELOADED_S2","quickSearch","QuickSearchUrl","handleMinStringLenght","itemFallback","suggestionsFallback","SearchApiAutoCompleteUrl","wrappedComponent","dispatch","getState","hasHits","handleKeyboard","handleChange","persist","handleQueryParamString","bind","handleKeyDown","closeAutocomplete","handleOnSelect","clear","handleBlur","handlePropParam","param","queryString","handleFocus","requestVerificationToken","_localProps$defaultQu","localProps","defaultQuickSearchUrl","searchOnMount","updateSearchFromUrl","componentWillUnmount","isZeroHits","zeroHits","clearAutoCompleter","Suggestions","displayName","name","getDisplayName","Anchor","linkClasses","Type","_window","_paq","subMenuData","setSubmenuData","itemClasses","containerClass","pageId","Slug","toLowerCase","createRegionSlug","ok","json","data","fetchSubMenu","days","expires","setTime","toGMTString","parseCookieData","cookieData","nameEQ","ca","i","c","charAt","eraseCookie","fetchbyURL","url","query","autocomplete","panelContext","isCollapsed","setIsCollapsed","DefaultCollapsed","activePanelId","isAccordion","componentClassname","componentClasses","hasHover","buttonAttributes","setActivePanelId","panelAttributes","panelClasses","dir","Dir","HoverModal","withRelevantDate","_props$currentRegion","StatusMessage","Name","Site","BlockProperty","editAttributes","currentPageProps","stylePropertyName","blockList","prototype","toString","call","blockItems","uniqueBlockId","BlockId","UniqueBlockId","CurrentPageProps","PropertyName","_props$CurrentPagePro","_props$CurrentPagePro2","_props$CurrentPagePro3","componentClass","listContainerClass","listItems","listItemClass","itemAttr","Href","trackingAttributesExists","TrackAttr","dataPrintSidebarTitle","linklistblock","isMemberOfChapterContainer","SemanticHeader","isH3","selectedIndex","ulProps","itemClass","Property","property","display","PropertyAsHTML","loadMorePages","Api","filterPages","ignoreQueryPrefix","aborted","valueReq","valueState","result","startsWith","fetchByQuery","isH4","ItemClassName","_Suggestions$Hits2","_Suggestions$Hits2$Se","_Suggestions$Hits$Aut","_Suggestions$Hits$Sea2","_Suggestions$Hits$Aut2","_Suggestions$Hits$Sea3","isMobileViewport","_Suggestions$Hits","_Suggestions$Hits$Sea","remove","suggestionsArray","AutoComplete","onKeyDown","onChange","onBlur","QuickSearchHits","AutoCompleteSuggestions","AutoCompleteLabel","withAutocomplete","level","Level","child","careGiverLink","elmAttributes","FooterLinks","links","_len","arrays","_key","concat","concatLinks","Fragment","CookieConsent","CookieConsentText","CookieButtonText"],"sourceRoot":""}