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AAe,EACfvD,KAAM,CACJ6H,cAAe,0EACfC,gBAAiB,eACjBpH,aAAc,GACdqH,aAAc,KACdC,WAAY,KACZP,cAAe,KACfvF,cAAc,EACdS,WAAY,KACZsF,gBAAgB,EAChBC,qBAAsB,KACtBC,mBAAoB,KACpBC,kBAAmB,KACnBC,qBAAsB,KACtBC,aAAc,KACdC,yBAA0B,KAC1BC,aAAc,KACdC,WAAY,MAEdtE,QAAQ,EACRlE,IAAK,qEACLyI,YAAY,GAGDC,EAAuB,CAClCC,WAAY,GACZ5F,WAAY,kBACZ6F,gBAAiB,gBACjBC,WAAY,4BACZC,SAAU,gBACVC,UAAU,EACVC,MAAO,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG1H,KAAK2H,GAAKC,EAAAA,EAAA,GAAQhD,GAAsB,IAAEiD,OAAO,GAAGjD,EAAuBpC,SAASmF,QAC3GG,gBAAgB,EAChBpD,cAAe,CACba,SAAU,MACV/C,MAAO,YACP0B,YAAY,G","sources":["webpack://rockworld/./app/components/organisms/BaseCard/BaseCardLink.tsx","webpack://rockworld/./app/components/organisms/BaseCard/BaseCardContentWrapper.tsx","webpack://rockworld/./app/components/organisms/BaseCard/BaseCard.module.scss","webpack://rockworld/./app/components/organisms/BaseCard/BaseCard.tsx","webpack://rockworld/./app/components/organisms/O6-ContentList/ContentList.tsx","webpack://rockworld/./app/components/organisms/O6-ContentList/index.ts"],"sourcesContent":["import React, { useMemo } from 'react';\r\nimport { AnyFile } from 'app/types';\r\nimport { Link } from '@molecules/Link';\r\nimport { FileDownloadLink } from '@molecules/FileDownloadLink';\r\n\r\nexport type BaseCardLink = {\r\n  type: 'heading' | 'body';\r\n  url: string;\r\n  label: string;\r\n  file: AnyFile;\r\n  target: string;\r\n  classNames: { gated: string; nonGated: string; nonFile: string };\r\n  rel?: string;\r\n};\r\n\r\nexport const BaseCardLink = ({ file, url, classNames, label, target, type = 'body' }: BaseCardLink) => {\r\n  const _label = type === 'heading' ? label : '';\r\n\r\n  const relValue = useMemo(() => {\r\n    let value = file?.relAttribute.split('=')[1];\r\n    if (value) {\r\n      value = value.replaceAll('\"', '');\r\n    }\r\n\r\n    return value;\r\n  }, [file]);\r\n\r\n  // dataAttrName -> data-attr-name\r\n  const dataAttributes = useMemo(() => {\r\n    const source = file || {};\r\n    const obj: { [key: string]: string } = {};\r\n\r\n    Object.keys(source)\r\n      .filter((k) => k.startsWith('data'))\r\n      .forEach((k) => {\r\n        const key = k\r\n          .split(/(?=[A-Z])/)\r\n          .map((chunk) => chunk.toLocaleLowerCase())\r\n          .join('-');\r\n        obj[key] = source[k];\r\n      });\r\n\r\n    return obj;\r\n  }, [file]);\r\n\r\n  if (!file) {\r\n    return (\r\n      <Link\r\n        testId=\"BaseCardNormalLink\"\r\n        url={url}\r\n        className={classNames.nonFile}\r\n        label={_label}\r\n        showIcon={false}\r\n        rel={relValue}\r\n      />\r\n    );\r\n  }\r\n\r\n  const { gatedContent } = file;\r\n\r\n  return (\r\n    <FileDownloadLink\r\n      isGated={gatedContent}\r\n      name={_label}\r\n      rel={relValue}\r\n      target={target}\r\n      url={url}\r\n      overrideClassNames\r\n      clasName={gatedContent ? classNames.gated : classNames.nonGated}\r\n      dataObject={dataAttributes['data-object']}\r\n      {...dataAttributes}\r\n    />\r\n  );\r\n};\r\n","import React from 'react';\r\n\r\nexport const BaseCardContentWrapper = ({\r\n  children,\r\n  wrap,\r\n  className,\r\n}: {\r\n  wrap: boolean;\r\n  children: JSX.Element | JSX.Element[];\r\n  className: string;\r\n}) => (wrap ? <div className={className}>{children}</div> : children);\r\n","// extracted by mini-css-extract-plugin\nexport default {\"text-area\":\"text-area__OjZd2\",\"textArea\":\"text-area__OjZd2\",\"btn\":\"btn__I7g9x\",\"image-area\":\"image-area__Qwt2c\",\"imageArea\":\"image-area__Qwt2c\",\"image-area__image\":\"image-area__image__ZZxzZ\",\"imageAreaImage\":\"image-area__image__ZZxzZ\",\"label-list\":\"label-list__bIGVu\",\"labelList\":\"label-list__bIGVu\",\"card-heading\":\"card-heading__CTf_P\",\"cardHeading\":\"card-heading__CTf_P\",\"btn-wrap\":\"btn-wrap__EjpaK\",\"btnWrap\":\"btn-wrap__EjpaK\",\"divider\":\"divider__X6zS4\",\"label\":\"label__akTOu\",\"body-text-2\":\"body-text-2__pbV0w\",\"bodyText2\":\"body-text-2__pbV0w\",\"as-link\":\"as-link__cSeyB\",\"asLink\":\"as-link__cSeyB\",\"card-link\":\"card-link__CbhHM\",\"cardLink\":\"card-link__CbhHM\",\"card-stretched-link\":\"card-stretched-link__QvTxV\",\"cardStretchedLink\":\"card-stretched-link__QvTxV\",\"body\":\"body__kbsrK\"};","import React, { ReactElement } from 'react';\r\nimport Button from '@atoms/Button';\r\nimport { Image } from '@atoms/Image';\r\nimport { AnyFile } from 'app/types';\r\nimport { tidyStr } from '@utils/tidy-str';\r\nimport { screenSizes } from 'app/scripts/core/consts';\r\nimport { BaseCardLink } from './BaseCardLink';\r\nimport { BaseCardContentWrapper } from './BaseCardContentWrapper';\r\n\r\nimport styles from './BaseCard.module.scss';\r\n\r\nexport interface BaseCard {\r\n  imageMaxWidth: string;\r\n  url: string;\r\n  target?: string;\r\n  imageSize?: string;\r\n  extensions: string;\r\n  title: string;\r\n  hasTitle: boolean;\r\n  description: string;\r\n  hasDescription: boolean;\r\n  image: Image;\r\n  hasImage: boolean;\r\n  singleStacked: boolean;\r\n  labels: string[];\r\n  hasLabels: boolean;\r\n  hasOverLay: boolean;\r\n  overlay: 'overlay' | '';\r\n  primaryBtn: Button;\r\n  secondaryBtn: Button;\r\n  brandLabel?: string;\r\n  brandClass?: string;\r\n  hasBrand: boolean;\r\n  altText?: string;\r\n  hideLabels: boolean;\r\n  centerAligned: boolean;\r\n  file?: AnyFile;\r\n  isFullLink: boolean;\r\n  isHiddenFromSearch: boolean;\r\n  unwrap?: boolean;\r\n  events?: string;\r\n  labelDateString?: string;\r\n  innerTextLabel?: string;\r\n  rel?: string;\r\n  figureChildren?: ReactElement;\r\n  displayDate?: boolean;\r\n  customBtnWrapChildren?: ReactElement;\r\n  useBodyLink?: boolean;\r\n}\r\n\r\nexport const BaseCard = ({\r\n  extensions,\r\n  hasImage,\r\n  overlay,\r\n  imageMaxWidth,\r\n  image,\r\n  primaryBtn,\r\n  secondaryBtn,\r\n  centerAligned,\r\n  singleStacked,\r\n  hasLabels,\r\n  hideLabels,\r\n  labels,\r\n  hasDescription,\r\n  description,\r\n  hasTitle,\r\n  title,\r\n  file,\r\n  url,\r\n  target,\r\n  brandClass,\r\n  hasBrand,\r\n  brandLabel,\r\n  unwrap,\r\n  events,\r\n  labelDateString,\r\n  innerTextLabel,\r\n  figureChildren,\r\n  displayDate,\r\n  customBtnWrapChildren,\r\n  useBodyLink = true,\r\n}: BaseCard) => {\r\n  const mobileWidth = 344; // px\r\n  const splittedLabels = labels\r\n    .flatMap((label) => (label ? label.split('|') : []))\r\n    .map((splittedLabel) => splittedLabel.trim());\r\n\r\n  const filteredSplittedLabels = splittedLabels.filter((label) => label !== '');\r\n\r\n  return (\r\n    <div\r\n      className={tidyStr`${unwrap ? 'base-card-unwrapped' : 'base-card'} card ${extensions} js-scroll-reveal`}\r\n      suppressHydrationWarning\r\n    >\r\n      {hasImage && (\r\n        <div className={tidyStr`${styles['image-area']} image-area ${overlay}`}>\r\n          <figure className={`${styles['image-area__image']} image-area__image`}>\r\n            <Image\r\n              {...image}\r\n              sizes={tidyStr`(max-width: ${screenSizes.tablet - 1}px) ${mobileWidth}px, ${imageMaxWidth}px`}\r\n              draggable={false}\r\n            />\r\n            {figureChildren}\r\n          </figure>\r\n        </div>\r\n      )}\r\n      <div className={tidyStr`${styles['text-area']} text-area ${overlay}`}>\r\n        <BaseCardContentWrapper wrap={!centerAligned} className=\"text-area__top-aligner\">\r\n          <BaseCardContentWrapper wrap={singleStacked} className=\"text-area-single-card\">\r\n            {hasLabels && !hideLabels && (\r\n              <div className={`${styles['label-list']} label-list`}>\r\n                {filteredSplittedLabels.map((label) => (\r\n                  <div key={label} className={`${styles.label} label`}>\r\n                    {label}\r\n                  </div>\r\n                ))}\r\n                {displayDate && <div className=\"label\">{labelDateString}</div>}\r\n              </div>\r\n            )}\r\n\r\n            <div className=\"inner-text\">\r\n              {hasTitle && !!title && (\r\n                <h4 className={`${styles['card-heading']} card-heading`}>\r\n                  <BaseCardLink\r\n                    type=\"heading\"\r\n                    file={file}\r\n                    label={title}\r\n                    target={target}\r\n                    url={url}\r\n                    classNames={{\r\n                      gated: `${styles['card-link']} js-download`,\r\n                      nonGated: styles['card-link'],\r\n                      nonFile: `${styles['card-link']} js-download`,\r\n                    }}\r\n                  />\r\n                </h4>\r\n              )}\r\n              {hasDescription && !!description && (\r\n                <p className={`${styles['body-text-2']} body-text-2`}>{description}</p>\r\n              )}\r\n              {innerTextLabel && <div className=\"label is-black\">{innerTextLabel}</div>}\r\n              {events && typeof events === 'string' && (\r\n                <table suppressHydrationWarning dangerouslySetInnerHTML={{ __html: events }} />\r\n              )}\r\n            </div>\r\n          </BaseCardContentWrapper>\r\n        </BaseCardContentWrapper>\r\n\r\n        {(primaryBtn?.hasContent || secondaryBtn?.hasContent || customBtnWrapChildren) && (\r\n          <div className={tidyStr`${styles['btn-wrap']} btn-wrap ${brandClass}`}>\r\n            {primaryBtn?.hasContent && <Button {...primaryBtn} />}\r\n            {secondaryBtn?.hasContent && (\r\n              <>\r\n                <div className={`${styles.divider} divider`} />\r\n                <Button {...secondaryBtn} />\r\n              </>\r\n            )}\r\n            {customBtnWrapChildren}\r\n            {hasBrand && <div className={tidyStr`label brand-label ${brandClass}`}>{brandLabel}</div>}\r\n          </div>\r\n        )}\r\n      </div>\r\n\r\n      {useBodyLink && (\r\n        <BaseCardLink\r\n          type=\"body\"\r\n          file={file}\r\n          label=\"\"\r\n          target={target}\r\n          url={url}\r\n          classNames={{\r\n            gated: `${styles['card-stretched-link']} card-stretched-link js-download`,\r\n            nonGated: `${styles['card-stretched-link']} card-stretched-link`,\r\n            nonFile: `${styles['card-stretched-link']} card-stretched-link`,\r\n          }}\r\n        />\r\n      )}\r\n    </div>\r\n  );\r\n};\r\n","import { BaseCard } from '@organisms/BaseCard';\r\nimport React, { FC } from 'react';\r\nimport { PrimaryButton } from '@molecules/PrimaryButton';\r\nimport { ContentListCommonProps, contentListWrapperHOC } from './ContentListWrapper';\r\n\r\nexport interface ContentList extends ContentListCommonProps {\r\n  cards?: BaseCard[];\r\n  primaryButton: PrimaryButton;\r\n}\r\n\r\nconst ContentListCardWrapper = (card: BaseCard) => (\r\n  <div className=\"base-card card\">\r\n    <BaseCard {...card} />\r\n  </div>\r\n);\r\n\r\nconst ContentListWrapper = contentListWrapperHOC(ContentListCardWrapper);\r\n\r\nconst ContentList: FC<ContentList> = (props) => (\r\n  <ContentListWrapper {...props} button={props.primaryButton} isDynamicSystemCardOrganism={false} />\r\n);\r\n\r\nexport { ContentList };\r\n","import { BaseCard } from '@organisms/BaseCard';\r\n\r\nexport { contentListCarouselWrapper } from './ContentListCarousel';\r\nexport { ContentList } from './ContentList';\r\n\r\nconst sampleBaseCardTestData = {\r\n  componentName: 'BaseCard',\r\n  imageMaxWidth: '288',\r\n  target: '_self',\r\n  imageSize: 'Card',\r\n  extensions: 'box-shadow image-16-9 image',\r\n  title: 'Renovation business case',\r\n  hasTitle: true,\r\n  description:\r\n    'From pricing a typical renovation to exploring available grants, we strip down the costs – and savings – involved in renovation',\r\n  hasDescription: true,\r\n  image: {\r\n    componentName: 'Image',\r\n    name: '20201008 GMC ILLUS 139',\r\n    sources: {\r\n      mobile: null,\r\n      tablet:\r\n       'https://www.zooplus.ch/magazin/wp-content/uploads/2018/08/Australian-Shepherd-Hund-mit-zweifarbigen-Augen.jpg',\r\n      desktop: null,\r\n      desktopLarge: null,\r\n    },\r\n    src:  'https://www.zooplus.ch/magazin/wp-content/uploads/2018/08/Australian-Shepherd-Hund-mit-zweifarbigen-Augen.jpg',\r\n    alt: null,\r\n  },\r\n  hasImage: true,\r\n  singleStacked: false,\r\n  labels: ['Why renovation makes economic sense?'],\r\n  hasLabels: true,\r\n  hasOverLay: false,\r\n  isHiddenFromSearch: false,\r\n  overlay: '',\r\n  primaryBtn: {\r\n    componentName: 'PrimaryButton',\r\n    title: null,\r\n    cssClass: null,\r\n    openThankYouPageInTheSamePage: false,\r\n    link: null,\r\n    openLinkInNewTab: false,\r\n    iconName: null,\r\n    isFileGated: false,\r\n    documentDataObject: null,\r\n    target: null,\r\n    extensions: null,\r\n  },\r\n  secondaryBtn: {\r\n    file: null,\r\n    svg: '<svg xmlns=\"https://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">    <path fill=\"#FFFFFF\" fill-rule=\"nonzero\" d=\"M11.166 8.81l-2.962 3.308 1.118 1 4.55-5.083L9.316 3 8.204 4.007l2.989 3.302H1v1.5h10.166z\"/></svg>',\r\n    documentDataObject: null,\r\n    isFileGated: false,\r\n    isButtonStyleDisabled: false,\r\n    link: '',\r\n    title: 'Download',\r\n    relationship: null,\r\n    target: '_self',\r\n    htmlAttributes: null,\r\n    extensions: null,\r\n    hasContent: true,\r\n    cssClass: 'btn btn--secondary is-small',\r\n    trackingLabel: null,\r\n    iconName: 'arrow-right',\r\n    fileTitle: null,\r\n    useButtonStyle: false,\r\n  },\r\n  brandLabel: '',\r\n  brandClass: '',\r\n  hasBrand: false,\r\n  altText: '20201008 GMC ILLUS 139',\r\n  hideLabels: false,\r\n  centerAligned: false,\r\n  file: {\r\n    hrefAttribute: 'href=/group/advice-and-inspiration/renovation/renovation-business-case/',\r\n    targetAttribute: 'target=_self',\r\n    relAttribute: '',\r\n    noFollowAttr: null,\r\n    attributes: null,\r\n    trackingLabel: null,\r\n    gatedContent: false,\r\n    dataObject: null,\r\n    dataNoDownload: false,\r\n    dataTrackingCategory: null,\r\n    dataTrackingAction: null,\r\n    dataTrackingLabel: null,\r\n    dataTrackingFileType: null,\r\n    dataItemType: null,\r\n    dataTrackingDownloadType: null,\r\n    dataFormName: null,\r\n    dataFormId: null,\r\n  },\r\n  unwrap: true,\r\n  url: '/group/advice-and-inspiration/renovation/renovation-business-case/',\r\n  isFullLink: true,\r\n} as BaseCard;\r\n\r\nexport const contentListTestProps = {\r\n  deepLinkId: '',\r\n  extensions: 'O6-js-load-more',\r\n  backgroundStyle: 'is-light-grey',\r\n  hasAchorId: 'has-view--O6-js-load-more',\r\n  headline: 'Test Headline',\r\n  hasSlide: true,\r\n  cards: [1,2,3,4,5,6,7].map((index)=>({...sampleBaseCardTestData, ttitle:`${sampleBaseCardTestData.title} ${index}`})),\r\n  hasPagesToLoad: true,\r\n  primaryButton: {\r\n    cssClass: 'btn',\r\n    title: 'Load More',\r\n    hasContent: true,\r\n  },\r\n};\r\n"],"names":["BaseCardLink","_ref","file","url","classNames","label","target","type","_label","relValue","useMemo","value","relAttribute","split","replaceAll","dataAttributes","source","obj","Object","keys","filter","k","startsWith","forEach","key","map","chunk","toLocaleLowerCase","join","React","Link","testId","className","nonFile","showIcon","rel","gatedContent","FileDownloadLink","_extends","isGated","name","overrideClassNames","clasName","gated","nonGated","dataObject","BaseCardContentWrapper","children","wrap","BaseCard","extensions","hasImage","overlay","imageMaxWidth","image","primaryBtn","secondaryBtn","centerAligned","singleStacked","hasLabels","hideLabels","labels","hasDescription","description","hasTitle","title","brandClass","hasBrand","brandLabel","unwrap","events","labelDateString","innerTextLabel","figureChildren","displayDate","customBtnWrapChildren","useBodyLink","filteredSplittedLabels","flatMap","splittedLabel","trim","tidyStr","suppressHydrationWarning","styles","Image","sizes","screenSizes","tablet","draggable","dangerouslySetInnerHTML","__html","hasContent","Button","ContentListWrapper","contentListWrapperHOC","card","ContentList","props","button","primaryButton","isDynamicSystemCardOrganism","sampleBaseCardTestData","componentName","imageSize","sources","mobile","desktop","desktopLarge","src","alt","hasOverLay","isHiddenFromSearch","cssClass","openThankYouPageInTheSamePage","link","openLinkInNewTab","iconName","isFileGated","documentDataObject","svg","isButtonStyleDisabled","relationship","htmlAttributes","trackingLabel","fileTitle","useButtonStyle","altText","hrefAttribute","targetAttribute","noFollowAttr","attributes","dataNoDownload","dataTrackingCategory","dataTrackingAction","dataTrackingLabel","dataTrackingFileType","dataItemType","dataTrackingDownloadType","dataFormName","dataFormId","isFullLink","contentListTestProps","deepLinkId","backgroundStyle","hasAchorId","headline","hasSlide","cards","index","_objectSpread","ttitle","hasPagesToLoad"],"sourceRoot":""}