{"version":3,"file":"dynamicComponents-slpGreenFooter-slpGreenFooter-be11d4a726fcfe7b50d4.js","mappings":"oMA8BA,UAzBuB,SAAH,GAAyB,IAAD,IAAlBA,EAAW,EAAXA,YAClBC,EAAmB,CACvBC,YAAU,OACPC,EAAAA,OAAAA,WAAmB,SAACC,EAAMC,GAAQ,OACjC,gBAAC,YAAgB,KAAEA,EAA4B,EAC/C,GAEJC,WAAY,SAACC,GAAI,OACfA,EAAKC,MAAM,MAAMC,SAAQ,SAACF,EAAMG,GAAC,MAAK,CAACA,EAAI,GAAK,sBAAIC,IAAKD,IAAOH,EAAK,GAAC,GAE1E,OACE,gCACE,gBAAC,WAAe,KACd,gBAAC,QAAY,MACVP,aAAW,EAAXA,EAAaY,kBACZC,EAAAA,EAAAA,GACEC,KAAKC,MAAMf,SAA2B,QAAhB,EAAXA,EAAaY,sBAAc,WAAhB,EAAX,EAA6BI,KACxCf,KAMd,C,+IC1BagB,EAAWC,EAAAA,QAAAA,IAAAA,WAAU,0EAAVA,CAAU,wEAOrBC,EAAQD,EAAAA,QAAAA,IAAAA,WAAU,uEAAVA,CAAU,gHAWlBE,EAAYF,EAAAA,QAAAA,EAAAA,WAAQ,2EAARA,CAAQ,gJ","sources":["webpack://bluewave-energy/./src/dynamicComponents/slpGreenFooter/slpGreenFooter.js","webpack://bluewave-energy/./src/dynamicComponents/slpGreenFooter/slpGreenFooterStyles.js"],"sourcesContent":["import React from 'react';\nimport * as Styled from './slpGreenFooterStyles';\nimport { documentToReactComponents } from '@contentful/rich-text-react-renderer';\nimport { BLOCKS } from '@contentful/rich-text-types';\n\nconst SlpGreenFooter = ({ sectionData }) => {\n const optionsMainStyle = {\n renderNode: {\n [BLOCKS.PARAGRAPH]: (node, children) => (\n {children}\n ),\n },\n renderText: (text) =>\n text.split('\\n').flatMap((text, i) => [i > 0 &&
, text]),\n };\n return (\n <>\n \n \n {sectionData?.contentDetails &&\n documentToReactComponents(\n JSON.parse(sectionData?.contentDetails?.raw),\n optionsMainStyle\n )}\n \n \n >\n );\n};\n\nexport default SlpGreenFooter;\n","import styled from 'styled-components';\n\nexport const TermsBar = styled.div`\n background: rgb(0, 83, 155);\n width: 100%;\n height: auto;\n text-align: center;\n`;\n\nexport const Terms = styled.div`\n padding: 30px;\n width: 880px;\n margin: 0 auto;\n padding-top: 50px;\n @media (max-width: 870px) {\n width: 100%;\n padding: 30px;\n }\n`;\n\nexport const NoteStyle = styled.p`\n font-size: 12px;\n color: #fff;\n font-family: 'Figtree-Light', arial, sans-serif;\n margin: 0 0 20px 0;\n padding: 0;\n font-style: normal;\n letter-spacing: 0.02em;\n`;\n"],"names":["sectionData","optionsMainStyle","renderNode","BLOCKS","node","children","renderText","text","split","flatMap","i","key","contentDetails","documentToReactComponents","JSON","parse","raw","TermsBar","styled","Terms","NoteStyle"],"sourceRoot":""}