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9B,GACH,GACC,EACH,EAlDsC3C,EAqDzD,EAAE,EACD,EACH,GAEL1B,GACGmB,CAAAA,EAAAA,EAAAA,IAAAA,EAAClC,EAAM,CAACoC,IAAK,IAAK8B,KAAMtC,MAAAA,EAAO,aAAAN,CAAAA,EAAPM,EAASnB,MAAM,SAAfa,EAAiB6C,IAAK,CAAC1C,UAAW,mCAAmCQ,SAAA,CACxFhB,CAAAA,EAAAA,EAAAA,GAAAA,EAAChB,EAAI,CAACwB,UAAU,2BAA2B4D,YAAad,EAAAA,EAAyB,CAACe,IAAK,CAACzE,KAAM0D,EAAAA,EAAyB,CAACgB,YAAAA,GACxH5D,EAAQ,GACJ,EAEX,EAGd","sources":["webpack://_N_E/./adapters/cloudinary/ImageFactory.js","webpack://_N_E/./adapters/helpers/pagespeedHelper.js","webpack://_N_E/./components/ArticleList/ArticlelistBlock.js"],"sourcesContent":["export function buildContentfullImageUrl(assetUrl, transformations) {\n if (transformations) {\n return 'https:'+ assetUrl + \"?\" + transformations; \n } else {\n return 'https:'+ assetUrl; \n }\n}\n\nexport function buildContentfullImageUrlByHeight(assetUrl, height = 'auto', transformations = 'c_limit', format = 'auto') {\n return 'https:'+ assetUrl + \"?h=\"+ height;\n}\n\nexport function buildContentfullImageUrlByWidth(assetUrl, width = 'auto', transformations = 'c_limit', format = 'auto') {\n return 'https:'+ assetUrl + \"?w=\"+ width; \n}\n\nexport function imageContentfullSrc(assetUrl, transformations) {\n return buildContentfullImageUrl(assetUrl, transformations);\n}\n\nexport function imageContentfullDpr(assetUrl, transformations = '') {\n if (!transformations) {\n return buildContentfullImageUrl(assetUrl);\n }\n\n return buildContentfullImageUrl(assetUrl, transformations)\n}\nexport default {\n buildContentfullImageUrl,\n buildContentfullImageUrlByHeight,\n buildContentfullImageUrlByWidth,\n imageContentfullDpr,\n imageContentfullSrc,\n};\n","export const optimizeImage = (imageUrl, imageFormatValue, imageQualityValue) => {\n let imageFormat = imageFormatValue ? imageFormatValue : 'webp';\n let imageQuality = imageQualityValue ? imageQualityValue : 85;\n if((imageUrl !== undefined) && (imageUrl !== null) && (imageUrl.includes('images.ctfassets.net')) && (imageUrl.includes('fm=webp') == false) && (imageUrl.includes('.svg') == false)) {\n if(imageUrl?.includes('https')) {\n if(imageUrl?.includes('?') ) {\n imageUrl = imageUrl + `&fm=${imageFormat}` + `&q=${imageQuality}`;\n }\n else {\n imageUrl = imageUrl + `?fm=${imageFormat}` + `&q=${imageQuality}`;\n }\n }\n else {\n imageUrl = 'https:' + imageUrl\n if(imageUrl?.includes('?')) {\n imageUrl = imageUrl + `&fm=${imageFormat}` + `&q=${imageQuality}`;\n }\n else {\n imageUrl = imageUrl + `?fm=${imageFormat}` + `&q=${imageQuality}`;\n }\n }\n }\n return imageUrl;\n}","import React, {Suspense} from 'react';\nimport dynamic from 'next/dynamic';\nimport LazyLoad from 'react-lazy-load';\nimport PropTypes from 'prop-types';\nimport { stripHtml } from '../../adapters/helpers/Utils';\nimport ImageFactory from '../../adapters/cloudinary/ImageFactory';\nimport Block from '../../adapters/helpers/Block';\nimport { ComponentFactoryConstants } from '../../adapters/helpers/Constants'\nimport { optimizeImage } from '../../adapters/helpers/pagespeedHelper';\nconst Heading = dynamic(() => import('../Heading/Heading'));\nconst ObLink = dynamic(() => import('../ObLink/ObLink'));\nconst Icon = dynamic(() => import('../Icon/Icon'));\nimport Link from 'next/link';\nimport Image from 'next/image';\nimport Loader from '../../adapters/helpers/Loader';\n\nconst IArticleListProps = {\n contentType: PropTypes.oneOf([ComponentFactoryConstants.ArticleListBlock]),\n classNames: PropTypes.string,\n className: PropTypes.string,\n name: PropTypes.string,\n title: PropTypes.string,\n anchorId: PropTypes.string,\n category: PropTypes.object,\n articles: PropTypes.array,\n articleList: PropTypes.array,\n ctaLabel: PropTypes.string,\n ctaLink: PropTypes.object,\n isCategoryLanding: PropTypes.bool,\n categories: PropTypes.arrayOf(PropTypes.object),\n};\n\nexport default function ArticleListBlock(props) {\n const { extraAttributes } = props;\n\n const block = new Block(props);\n const fields = block.getFields();\n const categoryName = fields?.category?.fields?.name || '';\n\n let articles = [];\n let isCategoryLanding = false;\n\n if (categoryName && extraAttributes?.articles) {\n articles = extraAttributes?.articles[categoryName]\n } else {\n articles = fields?.articleList;\n isCategoryLanding = true;\n }\n\n return (articles && articles.length > 0) ? (\n \n ) : null;\n}\n\nArticleListBlock.propTypes = {\n document: PropTypes.shape({\n fields: PropTypes.exact(IArticleListProps),\n }),\n};\n\nexport function ArticleList(props) {\n const { classNames, className = classNames } = props;\n const { title, anchorId, articles, isCategoryLanding, ctaLabel, ctaLink} = props;\n\n const variationB = (articles.length <= 2);\n\n return (\n }>\n
\n }>\n \n {title}\n \n \n \n
\n
    \n {articles.map((article, i) => {\n const overview = article?.fields?.articleOverview;\n const thumbnail = overview?.fields?.thumbnailImage;\n const contentThumbnail = thumbnail?.fields?.asset?.fields?.file?.url; \n return (\n
  • \n \n
    \n {!!contentThumbnail && (\n \n 767 ? 275 : 124}\n />\n \n }>\n <>\n \n {variationB && (\n \n )}\n\n \n \n\n 767 ? 275 : 124}\n />\n \n \n \n )}\n
    \n\n
    \n
    \n {overview?.fields?.title}\n
    \n\n {!!overview?.fields?.readTime && (\n
    \n {overview.fields.readTime} min read\n
    \n )}\n
    \n \n
  • \n );\n })}\n
\n
\n
\n {isCategoryLanding &&\n \n \n {ctaLabel}\n \n }\n
\n
\n );\n}\n\nArticleList.propTypes = IArticleListProps;\n"],"names":["buildContentfullImageUrl","assetUrl","transformations","__webpack_exports__","ZP","buildContentfullImageUrlByHeight","height","arguments","length","undefined","buildContentfullImageUrlByWidth","width","imageContentfullDpr","imageContentfullSrc","optimizeImage","imageUrl","imageFormatValue","imageQualityValue","_imageUrl","_imageUrl2","imageFormat","imageQuality","includes","concat","_imageUrl3","Heading","dynamic","__webpack_require__","e","then","bind","loadableGenerated","webpack","ObLink","Icon","ArticleListBlock","props","_fields$category","_fields$category$fiel","extraAttributes","block","Block","fields","getFields","categoryName","category","name","articles","isCategoryLanding","articleList","_jsx","ArticleList","_objectSpread","anchorId","getAnchorId","_ctaLink$fields","classNames","_props$className","className","title","ctaLabel","ctaLink","variationB","Suspense","fallback","Loader","children","_jsxs","id","tag","LazyLoad","offset","map","article","i","_article$fields","_overview$fields","_thumbnail$fields","_thumbnail$fields$ass","_thumbnail$fields$ass2","_thumbnail$fields$ass3","_overview$fields2","_overview$fields3","_overview$fields3$slu","_overview$fields3$slu2","_overview$fields4","_overview$fields5","_overview$fields6","_overview$fields7","overview","articleOverview","thumbnail","thumbnailImage","contentThumbnail","asset","file","url","Link","stripHtml","href","slug","placeholder","Image","alt","ComponentFactoryConstants","articleLink","innerWidth","_Fragment","media","mediaUpper","srcSet","ImageFactory","dprUpper","mediaLower","dprMedium","dprLower","src","readTime","roundedIcon","blue","chevronRight"],"sourceRoot":""}