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,EAIpB,UAAeuC,EAAAA,KAAW9C,E,6DC5F1B,MAAMmC,GAAUY,EAAAA,EAAAA,SAAS,CAADC,SAAA,GAAAC,SAAAA,GAAA,iBAAAC,OAAAA,CAAAC,GAAA,MAAAC,EAAA,KAAAC,QAAAF,GAAA,gBAAAH,SAAAI,MAAAE,EAAAA,EAAAF,EAAA,EAAAG,YACpBA,IACI,gCAAqDC,YAAAA,CAAAL,GAAA,MAAAC,EAAA,KAAAC,QAAAF,GAAA,YAAAH,SAAAI,IAAA,OAAAG,YAAAJ,GAAAM,MAAAT,IAAA,KAAAA,SAAAI,IAAA,EAAAJ,IAAA,EAAAU,WAAAA,CAAAP,GAAA,MAAA9B,EAAA,KAAAgC,QAAAF,GAAA,OAAAQ,EAAAtC,EAAA,EAAAgC,OAAAA,GAAA,gBAEvDO,EAAiBT,IACnB5B,EAAAA,EAAAA,KAACY,EAAO,IAAKgB,IAEjB,K","sources":["components/NewsPageSection/NewsPageSection.styled.ts","components/NewsPageSection/NewsPageSection.tsx","components/Profile/ProfileLoader.tsx"],"sourcesContent":["import { styled, css } from \"styled-components\";\n\nimport TextBlock from \"components/TextBlock\";\nimport {\n styleBodyL,\n styleHeadingL,\n styleLabelS,\n} from \"style/components/Typography\";\nimport { columnGap } from \"style/grid\";\nimport { scrollMarginTopPad } from \"style/headerOffsets\";\nimport { MQ } from \"style/mediaQueries\";\n\nexport const Container = styled.div`\n ${columnGap};\n display: grid;\n grid-auto-rows: auto;\n grid-template-columns: repeat(4, 1fr);\n ${scrollMarginTopPad};\n\n ${MQ.FROM_M} {\n grid-template-columns: repeat(8, 1fr);\n }\n\n ${MQ.FROM_XL} {\n grid-template-columns: repeat(7, 1fr);\n }\n`;\n\nexport const PreHeading = styled.span`\n ${styleLabelS};\n grid-column: 1 / span 4;\n margin-bottom: 0.4375rem;\n\n ${MQ.FROM_M} {\n grid-column: 1 / span 8;\n }\n\n ${MQ.FROM_L} {\n grid-column: 1 / span 6;\n }\n\n ${MQ.FROM_XL} {\n grid-column: 1 / span 5;\n }\n`;\n\nexport const Heading = styled.h2`\n ${styleHeadingL};\n grid-column: 1 / span 4;\n margin-bottom: 0.875rem;\n margin-top: 0;\n\n ${MQ.FROM_M} {\n grid-column: 1 / span 8;\n margin-bottom: 1.3125rem;\n }\n\n ${MQ.FROM_L} {\n grid-column: 1 / span 6;\n }\n\n ${MQ.FROM_XL} {\n grid-column: 1 / span 5;\n margin-bottom: 1.75rem;\n }\n`;\n\nconst introductionStyle = css`\n ${styleBodyL};\n grid-column: 1 / span 4;\n margin-bottom: 0.875rem;\n\n ${MQ.FROM_M} {\n grid-column: 1 / span 8;\n margin-bottom: 1.3125rem;\n }\n\n ${MQ.FROM_L} {\n grid-column: 1 / span 6;\n }\n\n ${MQ.FROM_XL} {\n grid-column: 1 / span 5;\n margin-bottom: 1.75rem;\n }\n`;\n\nexport const Introduction = styled.div`\n ${introductionStyle}\n`;\n\nexport const IntroductionHtml = styled(TextBlock)`\n ${introductionStyle}\n`;\n\nexport const Authors = styled.div`\n display: flex;\n flex-direction: column;\n gap: 1.75rem;\n grid-column: 1 / span 4;\n margin-bottom: 0.875rem;\n\n ${MQ.FROM_M} {\n grid-column: 1 / span 8;\n margin-bottom: 1.3125rem;\n }\n\n ${MQ.FROM_L} {\n grid-column: 1 / span 6;\n }\n\n ${MQ.FROM_XL} {\n grid-column: 1 / span 5;\n margin-bottom: 2.1875rem;\n }\n`;\n\nexport const Content = styled(TextBlock)`\n grid-column: 1 / span 4;\n margin-top: 0.875rem;\n\n ${MQ.FROM_M} {\n grid-column: 1 / span 8;\n margin-top: 0.4375rem;\n }\n\n ${MQ.FROM_L} {\n grid-column: 1 / span 8;\n }\n\n ${MQ.FROM_XL} {\n margin-top: 0.875rem;\n }\n`;\n","import React, { ReactElement } from \"react\";\n\nimport Profile from \"components/Profile\";\nimport { useIsInEditMode } from \"hooks\";\nimport { BodyL } from \"style/components/Typography\";\nimport { addEditAttributes } from \"utils/episerver\";\n\nimport {\n Container,\n Heading,\n PreHeading,\n Introduction,\n Content,\n Authors,\n IntroductionHtml,\n} from \"./NewsPageSection.styled\";\nimport NewsPageSectionProps from \"./NewsPageSectionProps\";\n\nconst NewsPageSection = ({\n preHeading,\n heading,\n introduction,\n introductionHtml,\n mainBody,\n author,\n identifier,\n theme,\n contentTheme,\n actionTheme,\n anchorName,\n l18n,\n}: NewsPageSectionProps): ReactElement => {\n const isInEditMode = useIsInEditMode();\n const authors = (Array.isArray(author) ? author : [author]).filter(Boolean); // Author can be an array or a single object\n return (\n \n {(isInEditMode || preHeading) && (\n \n {preHeading}\n \n )}\n {(isInEditMode || heading) && (\n {heading}\n )}\n {(isInEditMode || (!introductionHtml && introduction)) && (\n \n )}\n {(isInEditMode || introductionHtml) && (\n }\n />\n )}\n {(isInEditMode || (authors && authors.length > 0)) && (\n \n {authors.map((author, index) => (\n <>\n {author && (\n \n )}\n >\n ))}\n \n )}\n {(isInEditMode || mainBody) && (\n \n )}\n \n );\n};\n\nexport default React.memo(NewsPageSection);\n","import loadable, { DefaultComponent } from \"@loadable/component\";\nimport React, { ReactElement } from \"react\";\n\nimport ProfileProps from \"./ProfileProps\";\n\nconst Profile = loadable(\n (): Promise> =>\n import(/* webpackChunkName: \"Profile\" */ \"./Profile\"),\n);\nconst ProfileLoader = (props: ProfileProps): ReactElement => (\n \n);\nexport default ProfileLoader;\n"],"names":["Container","styled","div","withConfig","componentId","columnGap","scrollMarginTopPad","MQ","FROM_M","FROM_XL","PreHeading","span","styleLabelS","FROM_L","Heading","h2","styleHeadingL","introductionStyle","css","styleBodyL","Introduction","IntroductionHtml","TextBlock","Authors","Content","NewsPageSection","preHeading","heading","introduction","introductionHtml","mainBody","author","identifier","theme","contentTheme","actionTheme","anchorName","l18n","isInEditMode","useIsInEditMode","authors","Array","isArray","filter","Boolean","_jsxs","id","children","_jsx","addEditAttributes","dangerouslySetInnerHTML","__html","editPropertyName","content","renderElement","BodyL","length","map","index","_Fragment","Profile","fullName","initials","imageUrl","role","url","businessArea","size","areaName","editorialGrid","lightbox","React","loadable","resolved","chunkName","isReady","props","key","resolve","__webpack_modules__","importAsync","requireAsync","then","requireSync","__webpack_require__","ProfileLoader"],"sourceRoot":""}