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SearchBlock/index.js","platformui/TabMenu/index.js","platformui/Containers/withSearch.js","platformui/Theme/index.js","platformui/Hooks/useWindowLocation.js","platformui/Hooks/useArrowNavigation.js","platformui/Video/index.js","platformui/ArticleHeader/regionlabel.js","platformui/SearchBlock/listitem.js","platformui/KeywordHints/index.js","platformui/SearchBlock/external-search-utils.js","platformui/ArticleHeader/index.js","platformui/RevisedAndPublished/index.js","platformui/SearchBlock/searchheading.js","platformui/Localnav/item.js","platformui/Pagination/index.js","platformui/SearchBlock/tracked-link.js","platformui/Matomo/matomo-track-search.js","platformui/Iframe/index.js","platformui/Facets/index.js","platformui/Localnav/index.js"],"sourcesContent":["import classNames from 'classnames';\r\nimport React, { useEffect, useRef, useState } from 'react';\r\nimport useArrowNavigation from '../Hooks/useArrowNavigation';\r\n\r\nconst CustomSelect = ({\r\n label,\r\n srLabel,\r\n options,\r\n selectedItem,\r\n onChange,\r\n id,\r\n}) => {\r\n const [isOpen, setIsOpen] = useState(false);\r\n const dropdownRef = useRef(null);\r\n\r\n const maxIndex = options.length - 1;\r\n\r\n const { highlightedIndex, setHighlightedIndex, resetIndex, handleKeyDown } =\r\n useArrowNavigation(maxIndex, {\r\n isOpen,\r\n selectionKeys: ['Enter', ' '],\r\n onItemSelect: (item) => {\r\n onChange(item);\r\n setIsOpen(false);\r\n resetIndex();\r\n },\r\n onClose: () => {\r\n setIsOpen(false);\r\n resetIndex();\r\n },\r\n getItemByIndex: (index) => options[index] || 0,\r\n });\r\n\r\n const toggleDropdown = () => setIsOpen(!isOpen);\r\n\r\n useEffect(() => {\r\n isOpen && dropdownRef.current?.focus();\r\n }, [isOpen]);\r\n\r\n const defaultOption = options.find(\r\n (option) => option.key === selectedItem.key\r\n );\r\n\r\n if (!options) return null;\r\n\r\n return (\r\n
\r\n {label && (\r\n \r\n )}\r\n {\r\n e.preventDefault();\r\n toggleDropdown();\r\n }}\r\n onKeyDown={(e) => {\r\n if (isOpen) {\r\n handleKeyDown(e);\r\n } else if (\r\n e.key === 'ArrowDown' ||\r\n e.key === 'Enter' ||\r\n e.key === ' '\r\n ) {\r\n e.preventDefault();\r\n setIsOpen(true);\r\n setHighlightedIndex(0);\r\n }\r\n }}\r\n >\r\n {selectedItem.value || defaultOption.value}\r\n\r\n \r\n \r\n\r\n {isOpen && (\r\n
\r\n {\r\n setIsOpen(false);\r\n }}\r\n >\r\n {options.map((option, index) => (\r\n [\r\n onChange(option),\r\n toggleDropdown(),\r\n resetIndex(),\r\n ]}\r\n >\r\n {option.value}\r\n \r\n ))}\r\n \r\n
\r\n )}\r\n
\r\n );\r\n};\r\n\r\nexport default CustomSelect;\r\n","/**\r\n * Repo: PWT.PlattformUI\r\n * Component: (default exported), (local)\r\n * @description:\r\n * A list that displays search results.\r\n * Can be used with a custom @property SearchListItem component.\r\n * or the default component.\r\n */\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport React from 'react';\r\nimport ListItem from './listitem';\r\n\r\nconst SearchListItemWrapper = ({ CustomSearchListItem, ...props }) => {\r\n const theme = classNames({\r\n 'c-related__item': true,\r\n 'c-related__item--is-search': true,\r\n 'c-related__item--has-image': props.Image,\r\n [`c-related__item--theme-${props.Theme}`]: true,\r\n });\r\n\r\n const lastItem = props.isLast ? (\r\n \r\n ) : null;\r\n\r\n //Shows the revised component if there is a isNew prop\r\n let showRevised;\r\n if (props.IsNew !== undefined && props.IsNew !== null) {\r\n if (props.EventDate) {\r\n showRevised = true;\r\n }\r\n } else {\r\n showRevised = false;\r\n }\r\n const trackingParams = {\r\n HitId: props.HitId,\r\n query: props.query,\r\n TrackId: props.TrackId,\r\n DisableClickTracking: props.DisableClickTracking,\r\n };\r\n return (\r\n
  • \r\n {CustomSearchListItem ? (\r\n \r\n ) : (\r\n \r\n )}\r\n {lastItem}\r\n
  • \r\n );\r\n};\r\n\r\nconst List = ({\r\n SearchHits,\r\n TotalHits,\r\n children,\r\n TrackId,\r\n query,\r\n translations,\r\n revisedAsPublished,\r\n DisableClickTracking,\r\n CustomSearchListItem = null,\r\n vardpersonal1177,\r\n isExternalSearchHit,\r\n regionalizeSearchHits,\r\n availableLanguagesHeader,\r\n}) => {\r\n if (!SearchHits) return null;\r\n const items = SearchHits.map((item, index) => (\r\n \r\n ));\r\n\r\n return (\r\n
    \r\n \r\n {items}\r\n \r\n\r\n
    {children}
    \r\n
    \r\n );\r\n};\r\n\r\nList.propTypes = {\r\n /** (BE) Search block translations */\r\n translations: PropTypes.object,\r\n /** (BE) */\r\n ResultText: PropTypes.string,\r\n /** (BE) */\r\n SearchHits: PropTypes.array,\r\n /** (BE) */\r\n TrackId: PropTypes.string,\r\n /** (BE) */\r\n TotalHits: PropTypes.number,\r\n /** (BE) */\r\n EmptySearchResultText: PropTypes.string,\r\n /** (BE) List of block images */\r\n SuggestionText: PropTypes.shape({\r\n Query: PropTypes.string,\r\n Text: PropTypes.string,\r\n Url: PropTypes.string,\r\n }),\r\n /** (BE) Available languages */\r\n availableLanguagesHeader: PropTypes.string,\r\n /** (BE) */\r\n AvailableLanguages: PropTypes.array,\r\n query: PropTypes.string,\r\n hideSearchHeading: PropTypes.bool,\r\n /** List item component */\r\n CustomSearchListItem: PropTypes.any,\r\n vardpersonal1177: PropTypes.bool,\r\n};\r\n\r\nexport default List;\r\n","import React from 'react';\r\nimport { object, shape, arrayOf, string, node, bool } from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { useSweLang } from '../Helpers';\r\n\r\nconst BreadCrumb = (props) => {\r\n if (!props.Breadcrumbs) return null;\r\n\r\n const componentClasses = classNames({\r\n 'c-breadcrumb': true,\r\n ...props.Modifiers,\r\n });\r\n\r\n return (\r\n \r\n \r\n {props.Label}\r\n \r\n
      \r\n {props.Breadcrumbs.map((breadcrumb, index) => {\r\n return (\r\n
    1. \r\n {!breadcrumb.CurrentPage ? (\r\n {breadcrumb.Text}\r\n ) : (\r\n \r\n {breadcrumb.Text}\r\n \r\n )}\r\n
    2. \r\n );\r\n })}\r\n
    \r\n \r\n );\r\n};\r\n\r\nBreadCrumb.propTypes = {\r\n Breadcrumbs: arrayOf(\r\n shape({\r\n /** Breadcrumb text */\r\n Text: node.isRequired,\r\n /** Should item be rendered as a link */\r\n HasLink: bool,\r\n /** Link - required if HasLink is true */\r\n Url: string,\r\n })\r\n ),\r\n /** First item in the list */\r\n Label: string,\r\n /** Classnames compatible object */\r\n Modifiers: object,\r\n /**Language for screen reader purpose */\r\n Language: string,\r\n};\r\n\r\nexport default BreadCrumb;\r\n","/**\r\n * Repo: PWT.PlattformUI\r\n * Component: \r\n *\r\n * @description\r\n * Complete search page block component\r\n * with form, field and results list.\r\n */\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport queryString from 'qs';\r\nimport React, { Fragment } from 'react';\r\nimport MatomoTrackSearch from '../../platformui/Matomo/matomo-track-search';\r\nimport Alert from '../Alert';\r\nimport CollapsiblePanel from '../CollapsiblePanel';\r\nimport withSearch from '../Containers/withSearch';\r\nimport Facets from '../Facets';\r\nimport KeywordHints from '../KeywordHints';\r\nimport Pagination from '../Pagination';\r\nimport SearchField from '../Search/searchfield';\r\nimport Spinner from '../Spinner';\r\nimport TabMenu from '../TabMenu';\r\nimport { getExternalSiteAdress } from './external-search-utils';\r\nimport List from './list';\r\nimport SearchHeading from './searchheading';\r\n\r\nconst Search = (props) => {\r\n const qs = queryString.parse(props.location.search, {\r\n ignoreQueryPrefix: true,\r\n });\r\n const classes = classNames({\r\n 'is-loading': props.SearchResult.isLoading,\r\n searchblock: true,\r\n });\r\n\r\n const searchToolsClasses = classNames({\r\n 'c-search__tools': true,\r\n 'c-search__tools--has-facets': props?.Facets,\r\n });\r\n\r\n const alertType = props.alertType ? props.alertType : 'warning';\r\n\r\n let activeFilterFacet = '';\r\n\r\n if (props.showFilterResultText) {\r\n props.Facets?.Items?.map((item) => {\r\n item.Facets.some((item) => {\r\n if (item.Id === qs.facet && item.Id !== 'all') {\r\n activeFilterFacet = item.Text;\r\n }\r\n });\r\n });\r\n }\r\n\r\n return (\r\n
    \r\n {\r\n props.onSubmit(e, {\r\n q: document.getElementById('section-search').value,\r\n t: qs.t,\r\n ...(props.useExternalSearch && { site: qs.site }),\r\n });\r\n }}\r\n >\r\n
    \r\n \r\n {props.Placeholder ? (\r\n {props.Placeholder}\r\n ) : null}\r\n \r\n\r\n \r\n \r\n \r\n {props.Translations.searchbutton}\r\n \r\n
    \r\n {props.SearchResult.KeywordMessage && (\r\n \r\n )}\r\n\r\n {props.SearchResult.IsSimpleFallbackSearch && (\r\n \r\n {props.SearchResult.ResultDisclaimer}\r\n \r\n )}\r\n\r\n {props.searchTabs && props.ExternalSearchContent && (\r\n ({\r\n key: tab.SearchApiIndex,\r\n label: tab.TabHeader,\r\n count: tab.SearchResult?.TotalHits || 0,\r\n isActive: tab.SearchApiIndex === props.searchApiIndex,\r\n screenReaderText: `${tab.SearchResult?.TotalHits} ${\r\n tab.SearchResult?.ResultText\r\n } ${getExternalSiteAdress(tab.SearchApiIndex)}`,\r\n }))}\r\n handleTabChange={props.handleTabChange}\r\n showCount\r\n showResponsiveDropdown\r\n srLabel={props?.Translations?.selectsearchsource}\r\n />\r\n )}\r\n\r\n {props.Facets &&\r\n props.CurrentPageProps.hasFilterBar &&\r\n !props.showFilterBarWithFacets && (\r\n \r\n )}\r\n\r\n {qs.q && (\r\n \r\n
    \r\n \r\n {((props.showFilterBarWithFacets && props.Facets) ||\r\n ((props.HideCategoryFacets === false ||\r\n props.HideThemeFacets === false) &&\r\n !props.CurrentPageProps.hasFilterBar)) && (\r\n \r\n \r\n \r\n )}\r\n
    \r\n\r\n {qs.q.length > 0 &&\r\n props.SearchResult.TotalHits === 0 &&\r\n props.SearchResult.EmptySearchResultText && (\r\n \r\n
    \r\n \r\n )}\r\n \r\n )}\r\n \r\n \r\n document.getElementById('search-list-last').focus()}\r\n {...props.SearchResult}\r\n Spinner={}\r\n >\r\n {props.SearchResult.BatchText}\r\n \r\n
    \r\n \r\n \r\n );\r\n};\r\n\r\nSearch.propTypes = {\r\n //**Used when any website wants the revised text to be published text */\r\n revisedAsPublished: PropTypes.bool,\r\n location: PropTypes.object,\r\n /** When we use custom click tracking - disable it with `true`. */\r\n DisableClickTracking: PropTypes.bool,\r\n /** isLoading is used by autocomplete. See search reducers */\r\n showFilterResultText: PropTypes.bool,\r\n SearchResult: PropTypes.shape({\r\n isLoading: PropTypes.bool,\r\n TotalHits: PropTypes.number,\r\n EmptySearchResultText: PropTypes.string,\r\n BatchText: PropTypes.string,\r\n }),\r\n /** From withSearch class */\r\n onSubmit: PropTypes.func.isRequired,\r\n Translations: PropTypes.shape({\r\n searchprevioussr: PropTypes.string,\r\n searchbutton: PropTypes.string,\r\n filtersearchhitsheading: PropTypes.string,\r\n }),\r\n Placeholder: PropTypes.string,\r\n HideCategoryFacets: PropTypes.bool,\r\n HideThemeFacets: PropTypes.bool,\r\n vardpersonal1177: PropTypes.bool,\r\n showFilterBarWithFacets: PropTypes.bool,\r\n useExternalSearch: PropTypes.bool,\r\n showSearchHitsHeadingSuffix: PropTypes.bool,\r\n filterBarDefaultOpen: PropTypes.bool,\r\n searchOnMount: PropTypes.bool,\r\n isExternalSearch: PropTypes.bool,\r\n availableLanguagesHeader: PropTypes.string,\r\n};\r\n\r\nexport default withSearch(Search, 'Search', null, {});\r\n\r\nexport { Search };\r\n","import classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport React from 'react';\r\nimport { isMediumViewport } from '../Hooks/useMedia';\r\nimport useWindowLocationHref from '../Hooks/useWindowLocation';\r\nimport CustomSelect from '../Inputs/custom-select';\r\n\r\nconst TabMenu = ({\r\n tabs,\r\n handleTabChange,\r\n showCount,\r\n showResponsiveDropdown,\r\n srLabel,\r\n}) => {\r\n const handleClick = (key) => {\r\n handleTabChange(key);\r\n };\r\n\r\n const href = useWindowLocationHref();\r\n const isMedium = isMediumViewport();\r\n\r\n if (showResponsiveDropdown && isMedium) {\r\n return (\r\n ({\r\n key: tab.key,\r\n value: tab.label + (showCount && ` (${tab.count})`),\r\n }))}\r\n selectedItem={tabs.find((tab) => tab.isActive)}\r\n onChange={(selectedOption) => {\r\n handleClick(selectedOption.key);\r\n }}\r\n id={'search'}\r\n />\r\n );\r\n }\r\n return (\r\n \r\n );\r\n};\r\n\r\nTabMenu.propTypes = {\r\n tabs: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n key: PropTypes.string.isRequired,\r\n label: PropTypes.string.isRequired,\r\n totalHits: PropTypes.number,\r\n isActive: PropTypes.bool.isRequired,\r\n screenReaderText: PropTypes.string,\r\n })\r\n ).isRequired,\r\n handleTabChange: PropTypes.func.isRequired,\r\n showCount: PropTypes.bool,\r\n};\r\n\r\nexport default TabMenu;\r\n","import queryString from 'qs';\r\nimport React, { Component } from 'react';\r\nimport { withRouter } from 'react-router';\r\nimport { fetchByQuery, filterPages, loadMorePages } from '../Actions/search';\r\nimport { search } from '../Reducers/search';\r\n\r\nexport default (\r\n WrappedComponent,\r\n componentName,\r\n endPoint = '/api/search/search',\r\n callbacks = {\r\n afterFetchByQuery: () => {},\r\n afterLoadMorePages: () => {},\r\n }\r\n) => {\r\n class Container extends Component {\r\n query = queryString.parse(this.props.location.search, {\r\n ignoreQueryPrefix: true,\r\n indices: false,\r\n });\r\n key = this.query.p || 0;\r\n\r\n endPoint = this.props.SearchApiUrl || endPoint;\r\n\r\n //Set initial state\r\n state = search({\r\n isLoading: false,\r\n ...this.props.SearchResult,\r\n });\r\n\r\n getComponentName() {\r\n return componentName;\r\n }\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 fetch(query) {\r\n fetchByQuery(`${this.endPoint}?${query}`)(\r\n this.dispatch.bind(this),\r\n this.getState.bind(this),\r\n callbacks.afterFetchByQuery\r\n );\r\n }\r\n\r\n updateSearchFromUrl(locationSearch) {\r\n const qs = queryString.parse(locationSearch, {\r\n ignoreQueryPrefix: true,\r\n indices: false,\r\n });\r\n\r\n qs.componentname = this.getComponentName();\r\n\r\n if (this.props.Theme) qs.theme = this.props.Theme;\r\n if (this.props.InformationType)\r\n qs.informationtype = this.props.InformationType;\r\n if (this.props.SearchOriginId) qs.so = this.props.SearchOriginId;\r\n if (this.state.BatchSize && !qs.batchsize)\r\n qs.batchsize = this.state.BatchSize;\r\n if (this.state.SortOrder) qs.sortorder = this.state.SortOrder;\r\n if (this.state.HistoryDays) qs.days = this.state.HistoryDays;\r\n if (this.state.RootLink) qs.rootLink = this.state.RootLink;\r\n if (this.state.Categories && this.state.Categories.length > 0) {\r\n qs.category = this.state.Categories;\r\n }\r\n if (this.state.IsArticleSearch) {\r\n qs.isArticleSearch = this.state.IsArticleSearch;\r\n }\r\n\r\n const query = this.props.Categories\r\n ? `${queryString.stringify(qs, {\r\n indices: false,\r\n })}&${queryString.stringify({\r\n category: this.props.Categories,\r\n indices: false,\r\n })}`\r\n : queryString.stringify(qs, { indices: false });\r\n\r\n const isExternalSearch = !!qs.site;\r\n\r\n const endpoint = isExternalSearch\r\n ? this.getExternalEndpoint({\r\n searchApiUrl: this.props.SearchApiUrl,\r\n searchApiIndex: qs.site,\r\n location: this.props.location,\r\n })\r\n : this.endPoint;\r\n\r\n if (qs.p) {\r\n loadMorePages(`${endpoint}?${query}`)(\r\n this.dispatch.bind(this),\r\n this.getState.bind(this),\r\n callbacks.afterLoadMorePages\r\n );\r\n } else {\r\n filterPages(`${endpoint}?${query}`)(\r\n this.dispatch.bind(this),\r\n this.getState.bind(this)\r\n );\r\n }\r\n }\r\n\r\n componentDidMount() {\r\n if (this.props.searchOnMount) {\r\n this.updateSearchFromUrl(this.props.location.search);\r\n }\r\n }\r\n\r\n componentDidUpdate(prevProps) {\r\n if (prevProps.location.search !== this.props.location.search) {\r\n this.updateSearchFromUrl(this.props.location.search);\r\n }\r\n }\r\n\r\n getExternalEndpoint({ searchApiUrl, searchApiIndex, location }) {\r\n const apiEndpoint = searchApiUrl?.endsWith('/')\r\n ? searchApiUrl\r\n : `${searchApiUrl || ''}/`;\r\n\r\n const endpointWithSiteIndex = searchApiIndex\r\n ? `${apiEndpoint}${searchApiIndex}/`\r\n : apiEndpoint;\r\n\r\n const pathnameSegments =\r\n location?.pathname?.split('/').filter(Boolean) || [];\r\n const regionalizedSearch =\r\n pathnameSegments.length > 1 ? pathnameSegments[0] : '';\r\n\r\n return regionalizedSearch\r\n ? `${endpointWithSiteIndex}${regionalizedSearch}/`\r\n : endpointWithSiteIndex;\r\n }\r\n\r\n parseForm(form) {\r\n var obj = {};\r\n var elements = form.querySelectorAll('input, select, textarea');\r\n for (var i = 0; i < elements.length; ++i) {\r\n var element = elements[i];\r\n var name = element.name;\r\n var value = element.value;\r\n\r\n if (name) {\r\n obj[name] = value;\r\n }\r\n }\r\n }\r\n\r\n onSubmit(e, query) {\r\n e.preventDefault();\r\n const pathname = this.props.location.pathname;\r\n const qs = queryString.stringify(query, { indices: false });\r\n location.href = `${pathname}?${qs}`;\r\n }\r\n\r\n render() {\r\n return (\r\n this.fetch(query)}\r\n onSubmit={(e, query) => this.onSubmit(e, query)}\r\n />\r\n );\r\n }\r\n }\r\n\r\n return withRouter(Container);\r\n};\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\n\r\nconst Theme = (props) => {\r\n if (!props.Content) return props.children;\r\n\r\n const theme = classNames({\r\n 'theme--faq':\r\n props.Content.Theme === 'faq' || props.PageTypeName === 'FaqPage',\r\n 'theme--story':\r\n props.Content.Theme === 'story' || props.PageTypeName === 'StoryPage',\r\n 'theme--pod':\r\n props.Content.Theme === 'podcast' || props.PageTypeName === 'PodcastPage',\r\n 'theme--forum':\r\n props.Content.Theme === 'forum' || props.PageTypeName === 'ForumPage',\r\n });\r\n\r\n const themeClass = classNames(\r\n {\r\n 'theme--is-theme': theme.length > 0,\r\n },\r\n theme\r\n );\r\n\r\n return theme.length > 0 ? (\r\n
    \r\n
    \r\n {props.children}\r\n
    \r\n ) : (\r\n props.children\r\n );\r\n};\r\n\r\nexport default Theme;\r\n","import { useEffect, useState } from 'react';\r\nconst useWindowLocationHref = () => {\r\n const [href, setHref] = useState(null);\r\n useEffect(() => {\r\n if (typeof window !== 'undefined') {\r\n setHref(window.location.href);\r\n }\r\n }, []);\r\n return href;\r\n};\r\nexport default useWindowLocationHref;\r\n","import { useState } from 'react';\r\n\r\n/**\r\n * Custom hook to manage arrow key navigation in a list.\r\n * @param {number} maxIndex - The maximum index in the list.\r\n * @param {object} options - Additional options for navigation.\r\n * @returns {object} An object containing the highlighted index and navigation functions.\r\n */\r\nconst useArrowNavigation = (maxIndex, options = {}) => {\r\n const [highlightedIndex, setHighlightedIndex] = useState(-1);\r\n\r\n const {\r\n isOpen = true,\r\n onItemSelect = () => {},\r\n onClose = () => {},\r\n getItemByIndex = () => {},\r\n selectionKeys = ['Enter'],\r\n } = options;\r\n\r\n const incrementIndex = () => {\r\n setHighlightedIndex((prevIndex) =>\r\n prevIndex < maxIndex ? prevIndex + 1 : 0\r\n );\r\n };\r\n\r\n const decrementIndex = () => {\r\n setHighlightedIndex((prevIndex) =>\r\n prevIndex > 0 ? prevIndex - 1 : maxIndex\r\n );\r\n };\r\n\r\n const resetIndex = () => {\r\n setHighlightedIndex(-1);\r\n };\r\n\r\n const handleKeyDown = (e) => {\r\n if (!isOpen) return;\r\n\r\n if (e.key === 'ArrowDown') {\r\n e.preventDefault();\r\n incrementIndex();\r\n } else if (e.key === 'ArrowUp') {\r\n e.preventDefault();\r\n decrementIndex();\r\n } else if (selectionKeys.includes(e.key)) {\r\n e.preventDefault();\r\n if (highlightedIndex >= 0) {\r\n const item = getItemByIndex(highlightedIndex);\r\n onItemSelect(item);\r\n }\r\n } else if (e.key === 'Escape') {\r\n onClose();\r\n resetIndex();\r\n }\r\n };\r\n\r\n return {\r\n highlightedIndex,\r\n setHighlightedIndex,\r\n resetIndex,\r\n handleKeyDown,\r\n };\r\n};\r\n\r\nexport default useArrowNavigation;\r\n","import T from 'prop-types';\r\nimport React, { Fragment } from 'react';\r\nimport Iframe from '../Iframe';\r\n\r\nconst DREAMBROKER_URL = (videoId) => `https://dreambroker.com/${videoId}`;\r\n\r\nconst Video = ({\r\n Heading,\r\n VideoTitle,\r\n VideoId,\r\n VideoText,\r\n IsMediaFlowPro,\r\n IsDreamBroker,\r\n IsQbrick,\r\n isH3,\r\n IsStandingVideo,\r\n hideTitle,\r\n hideCaption,\r\n isGallery,\r\n Link,\r\n InternalLinkName,\r\n LinkText,\r\n CurrentPageProps,\r\n}) => {\r\n if (!VideoId) return null;\r\n\r\n let videoUrl = null;\r\n videoUrl =\r\n (IsDreamBroker && DREAMBROKER_URL(VideoId)) ||\r\n (IsQbrick && VideoId) ||\r\n (IsMediaFlowPro && VideoId);\r\n\r\n const addTimeUpdateParam = (videourl) => {\r\n if (\r\n (/play\\.mediaflowpro\\.com/.test(videourl) ||\r\n /play\\.mediaflow\\.com/.test(videourl)) &&\r\n !/(\\?|&)timeupdate\\b/.test(videourl)\r\n ) {\r\n const separator = videourl.includes('?') ? '&' : '?';\r\n videourl += `${separator}timeupdate`;\r\n }\r\n return videourl;\r\n };\r\n\r\n const dataPrintSidebarTitle =\r\n Heading || CurrentPageProps?.Content?.Translations?.videoblock || 'Film';\r\n\r\n return (\r\n \r\n \r\n \r\n
    \r\n Video: {videoUrl}\r\n

    {VideoText}

    \r\n
    \r\n \r\n
    \r\n );\r\n};\r\n\r\nVideo.propTypes = {\r\n Heading: T.string,\r\n VideoTitle: T.string,\r\n /** Component will return `null` if no VideoId is provided */\r\n VideoId: T.string,\r\n VideoText: T.string,\r\n isH3: T.string,\r\n};\r\n\r\nexport default Video; // killed the radio star\r\n","import { bool, node, shape, string } from 'prop-types';\r\nimport React from 'react';\r\nimport Badge from '../IDSBadge';\r\n\r\nconst RegionLabel = ({ useIdsBadge, ...props }) => {\r\n return useIdsBadge ? (\r\n \r\n ) : (\r\n \r\n {props.Content.Translations.regionlabel} {props.Content.CurrentRegionName}\r\n \r\n );\r\n};\r\n\r\nRegionLabel.propTypes = {\r\n useIdsBadge: bool,\r\n Content: shape({\r\n Translations: shape({\r\n regionlabel: string,\r\n }),\r\n CurrentRegionName: node,\r\n }),\r\n};\r\n\r\nexport default RegionLabel;\r\n","import classNames from 'classnames';\r\nimport PropTypes, {\r\n bool,\r\n number,\r\n oneOfType,\r\n shape,\r\n string,\r\n array,\r\n} from 'prop-types';\r\nimport React from 'react';\r\nimport A from '../Anchor';\r\nimport RevisedAndPublished from '../RevisedAndPublished';\r\nimport { getRegionalizedUrl } from './external-search-utils';\r\nimport TrackedLink from './tracked-link';\r\n\r\nconst ListItem = ({\r\n className,\r\n href,\r\n image,\r\n vignette,\r\n heading,\r\n text,\r\n score,\r\n revisedAsPublished,\r\n isNew,\r\n eventDate,\r\n subjectHeading,\r\n translations,\r\n showRevised,\r\n TrackId,\r\n query,\r\n HitId,\r\n DisableClickTracking,\r\n informationtype,\r\n vardpersonal1177,\r\n selectionCode,\r\n specializedCareUrl,\r\n primaryCareUrl,\r\n isExternalSearchHit,\r\n regionalizeSearchHits,\r\n availableLanguagesHeader,\r\n availableLanguages,\r\n}) => {\r\n function trackClick() {\r\n fetch(\r\n `/api/v2/search/trackclick?hitId=${HitId}&query=${query}&trackId=${TrackId}`\r\n );\r\n }\r\n const itemContainer = classNames({\r\n 'c-related__item__container': true,\r\n 'c-related__empty-container': text?.length === 0,\r\n });\r\n\r\n const trackLinkClick = () =>\r\n !DisableClickTracking && TrackId ? trackClick() : undefined;\r\n const isVardPersonal1177 =\r\n (vardpersonal1177 && selectionCode && primaryCareUrl) || specializedCareUrl;\r\n\r\n const getHref = isVardPersonal1177\r\n ? primaryCareUrl\r\n ? primaryCareUrl\r\n : specializedCareUrl\r\n : regionalizeSearchHits\r\n ? getRegionalizedUrl(href)\r\n : href;\r\n return (\r\n \r\n
    \r\n {image && (\r\n `,\r\n }}\r\n />\r\n )}\r\n {vignette && (\r\n \r\n )}\r\n {(heading && isVardPersonal1177) || availableLanguages?.[0] ? (\r\n {\r\n trackLinkClick();\r\n }}\r\n aria-label={heading}\r\n >\r\n \r\n {availableLanguages?.[0] && text && text.length >= 1 && (\r\n \r\n )}\r\n \r\n ) : (\r\n \r\n )}\r\n {informationtype && informationtype.Key !== 'article' && (\r\n \r\n {informationtype.Value}\r\n
    \r\n )}\r\n {selectionCode &&\r\n selectionCode !== 'none' &&\r\n (primaryCareUrl || specializedCareUrl) && (\r\n
    \r\n {primaryCareUrl && specializedCareUrl ? (\r\n <>\r\n {\r\n trackLinkClick();\r\n }}\r\n >\r\n Primärvård\r\n \r\n {\r\n trackLinkClick();\r\n }}\r\n >\r\n Specialiserad vård\r\n \r\n \r\n ) : (\r\n \r\n {primaryCareUrl ? 'Primärvård' : 'Specialiserad vård'}\r\n \r\n )}\r\n
    \r\n )}\r\n {text && text.length >= 1 && !availableLanguages?.[0] && (\r\n \r\n )}\r\n {availableLanguages?.[0] && (\r\n
    \r\n {availableLanguagesHeader && (\r\n {availableLanguagesHeader}\r\n )}\r\n \r\n {availableLanguages.map((language, i) => (\r\n
  • \r\n trackLinkClick()}\r\n className=\"c-related__item__language-link\"\r\n lang={language.Name}\r\n data-event-category={href || 'novalue'}\r\n data-event-action=\"Språklänk vald från sökresultat\"\r\n data-event-name={\r\n language.Name + ' (' + language.NativeName + ')'\r\n }\r\n >\r\n {language.NativeName}\r\n \r\n
  • \r\n ))}\r\n \r\n
    \r\n )}\r\n {showRevised && (\r\n \r\n )}\r\n\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nListItem.propTypes = {\r\n className: string,\r\n href: string,\r\n searchHitHeading: string,\r\n image: string,\r\n vignette: string,\r\n heading: string,\r\n text: string,\r\n score: oneOfType([string, number]),\r\n revisedAsPublished: bool,\r\n isNew: bool,\r\n eventDate: string,\r\n subjectHeading: string,\r\n translations: shape({\r\n subject: string,\r\n published: string,\r\n revised: string,\r\n }),\r\n showRevised: bool,\r\n HitId: string,\r\n query: string,\r\n TrackId: string,\r\n DisableClickTracking: bool,\r\n informationtype: PropTypes.object,\r\n vardpersonal1177: bool,\r\n availableLanguagesHeader: string,\r\n availableLanguages: array,\r\n};\r\n\r\nexport default ListItem;\r\n","import React from 'react';\r\n\r\nconst KeywordHints = ({ KeywordMessage }) => {\r\n if (!KeywordMessage) return null;\r\n return (\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default KeywordHints;\r\n","import queryString from 'qs';\r\n\r\nconst siteAddressMap = {\r\n 1177: '1177.se',\r\n RHB: 'rikshandboken-bhv.se',\r\n VHB: 'vardhandboken.se',\r\n};\r\n\r\nexport const getExternalSiteAdress = (siteIndex) =>\r\n siteAddressMap[siteIndex] || 'vardpersonal.1177.se';\r\n\r\nexport const getRegionalizedUrl = (href) => {\r\n if (typeof href !== 'string') return;\r\n\r\n const qs = queryString.parse(location, { ignoreQueryPrefix: true });\r\n\r\n const splitPaths = qs.pathname?.split('/').filter(Boolean);\r\n const region = splitPaths?.length > 1 ? splitPaths[0] : null;\r\n\r\n if (!region) return href;\r\n\r\n const url = new URL(href);\r\n\r\n url.pathname = `/${region}${url.pathname}`;\r\n return url.href;\r\n};\r\n","import classNames from 'classnames';\r\nimport { arrayOf, bool, node, object, shape, string } from 'prop-types';\r\nimport React from 'react';\r\nimport { useSweLang } from '../Helpers/helpers';\r\nimport Video from '../Video';\r\nimport RegionLabel from './regionlabel';\r\n\r\nconst ArticleTags = (props) => {\r\n const tags = props.Content.ArticleTags;\r\n return (\r\n
    \r\n {tags.map((item, key) => {\r\n return (\r\n
    \r\n {item}\r\n
    \r\n );\r\n })}\r\n
    \r\n );\r\n};\r\n\r\nconst ArticleVideoWrapper = ({ TopMediaVideo, isAboveTitle }) => {\r\n return (\r\n \r\n {TopMediaVideo &&