{"version":3,"file":"components-slpCRPFooter-slpCRPFooter-2c4bb6c63518e2d89829.js","mappings":"oNAKe,SAASA,EAAYC,GAAmB,IAADC,EAAAC,EAAA,IAAjB,YAAEC,GAAaH,EAClD,MAAMI,EAAyB,CAC7BC,WAAY,CACV,CAACC,EAAAA,OAAOC,WAAY,CAACC,EAAMC,IAAaC,EAAAA,cAAA,SAAID,IAE9CE,WAAaC,GACXA,EAAKC,MAAM,MAAMC,SAAQ,CAACF,EAAMG,IAAM,CAACA,EAAI,GAAKL,EAAAA,cAAA,MAAIM,IAAKD,IAAOH,MAEpE,OACEF,EAAAA,cAACO,EAAAA,cAAoB,KACnBP,EAAAA,cAACO,EAAAA,KAAW,MACTd,SAA2B,QAAhBF,EAAXE,EAAae,sBAAc,IAAAjB,OAAhB,EAAXA,EAA6BkB,OAC5BC,EAAAA,EAAAA,GACEC,KAAKC,MAAMnB,SAA2B,QAAhBD,EAAXC,EAAae,sBAAc,IAAAhB,OAAhB,EAAXA,EAA6BiB,KACxCf,IAKZ,C,wJCtBO,MAAMmB,EAAgBC,EAAAA,QAAOC,IAAGC,WAAA,CAAAC,YAAA,oCAAAC,YAAA,eAAVJ,CAAU,yBAI1BK,EAAoBL,EAAAA,QAAOM,IAAGJ,WAAA,CAAAC,YAAA,wCAAAC,YAAA,eAAVJ,CAAU,oFAQ9BO,EAAOP,EAAAA,QAAOC,IAAGC,WAAA,CAAAC,YAAA,2BAAAC,YAAA,eAAVJ,CAAU,oQ","sources":["webpack://islandpetro/./src/components/slpCRPFooter/slpCRPFooter.js","webpack://islandpetro/./src/components/slpCRPFooter/slpCRPFooterStyles.js"],"sourcesContent":["import React from 'react';\nimport * as Styled from './slpCRPFooterStyles';\nimport { documentToReactComponents } from '@contentful/rich-text-react-renderer';\nimport { BLOCKS } from '@contentful/rich-text-types';\n\nexport default function SlpCRPFooter({ sectionData }) {\n const optionsHeaderMainStyle = {\n renderNode: {\n [BLOCKS.PARAGRAPH]: (node, children) =>

{children}

,\n },\n renderText: (text) =>\n text.split('\\n').flatMap((text, i) => [i > 0 &&
, text]),\n };\n return (\n \n \n {sectionData?.contentDetails?.raw &&\n documentToReactComponents(\n JSON.parse(sectionData?.contentDetails?.raw),\n optionsHeaderMainStyle\n )}\n \n \n );\n}\n","import styled from 'styled-components';\n\nexport const FootContainer = styled.div`\n background: #ededed;\n`;\n\nexport const TitleDesktopImage = styled.img`\n max-width: 540px;\n height: auto;\n @media (max-width: 991px) {\n display: none !important;\n }\n`;\n\nexport const Foot = styled.div`\n width: 600px;\n margin: 0 auto;\n padding: 50px 0 50px 0;\n text-align: center;\n font-family: 'Figtree-Regular', arial, sans-serif;\n font-size: 15px;\n\n p {\n font-size: 12px;\n line-height: 18px;\n color: #9a9a9a;\n margin: 0 0 35px 0;\n padding: 0;\n }\n @media (max-width: 870px) {\n width: 100%;\n padding: 35px;\n }\n`;\n"],"names":["SlpCRPFooter","_ref","_sectionData$contentD","_sectionData$contentD2","sectionData","optionsHeaderMainStyle","renderNode","BLOCKS","PARAGRAPH","node","children","React","renderText","text","split","flatMap","i","key","Styled","contentDetails","raw","documentToReactComponents","JSON","parse","FootContainer","styled","div","withConfig","displayName","componentId","TitleDesktopImage","img","Foot"],"sourceRoot":""}