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,GAAEb,WAAA,CAAAC,YAAA,qCAAAC,YAAA,gBAATJ,CAAS,+QAChBb,GAAWA,SAAAA,EAAO6B,WAAa,OAAS,WAiB5CC,EAAWjB,EAAAA,QAAOkB,GAAEhB,WAAA,CAAAC,YAAA,qCAAAC,YAAA,gBAATJ,CAAS,4RAChBb,GAAUA,EAAM7C,YAkBpB6E,EAAYnB,EAAAA,QAAOoB,GAAElB,WAAA,CAAAC,YAAA,sCAAAC,YAAA,gBAATJ,CAAS,kVAoBrBqB,EAAWrB,EAAAA,QAAOsB,EAACpB,WAAA,CAAAC,YAAA,qCAAAC,YAAA,iBAARJ,CAAQ,+RAuBnBuB,EAAcvB,EAAAA,QAAOwB,GAAEtB,WAAA,CAAAC,YAAA,wCAAAC,YAAA,iBAATJ,CAAS,sFAMvByB,EAAWzB,EAAAA,QAAO0B,GAAExB,WAAA,CAAAC,YAAA,qCAAAC,YAAA,iBAATJ,CAAS,6LAapB2B,EAAY3B,EAAAA,QAAO4B,EAAC1B,WAAA,CAAAC,YAAA,sCAAAC,YAAA,iBAARJ,CAAQ,mEAKpB6B,EAAgB7B,EAAAA,QAAO8B,GAAE5B,WAAA,CAAAC,YAAA,0CAAAC,YAAA,iBAATJ,CAAS,iC","sources":["webpack://islandpetro/./src/components/slpCardSectionList/slpCardSectionList.js","webpack://islandpetro/./src/components/slpCardSectionList/slpCardSectionListStyles.js"],"sourcesContent":["import React from 'react';\nimport { documentToReactComponents } from '@contentful/rich-text-react-renderer';\nimport { BLOCKS, INLINES } from '@contentful/rich-text-types';\nimport { Row } from 'react-bootstrap';\nimport { sectionList } from '../../constants/queryFragments';\nimport loadable from '@loadable/component';\nimport * as Styled from './slpCardSectionListStyles';\nimport { addTrailingSlash, isExternalUrlhref } from '../../utils';\n\nconst SlpSectionList = ({ sectionData }) => {\n const optionsMainStyle = {\n renderNode: {\n [BLOCKS.HEADING_2]: (node, children) => (\n {children}\n ),\n [BLOCKS.HEADING_3]: (node, children) => (\n {children}\n ),\n [BLOCKS.HEADING_4]: (node, children) => (\n {children}\n ),\n [BLOCKS.PARAGRAPH]: (node, children) => (\n {children}\n ),\n [BLOCKS.UL_LIST]: (node, children) => (\n {children}\n ),\n [BLOCKS.LIST_ITEM]: (node, children) => (\n {children}\n ),\n [INLINES.HYPERLINK]: (node, children) => (\n \n {children}\n \n ),\n },\n renderText: (text) =>\n text.split('\\n').flatMap((text, i) => [i > 0 &&
, text]),\n };\n\n return (\n \n \n {sectionData?.header?.trim() && (\n \n {sectionData?.header}\n \n )}\n {sectionData?.subtext?.trim() && (\n \n {sectionData?.subtext}\n \n )}\n {sectionData?.listDetails &&\n documentToReactComponents(\n JSON.parse(sectionData?.listDetails?.raw),\n optionsMainStyle\n )}\n {sectionData && (\n <>\n \n \n {sectionData?.listOfImagesWithPath &&\n sectionData?.listOfImagesWithPath?.map((section, index) => {\n if (section?.type && sectionList?.includes(section?.type)) {\n // const sectionData = sectionData.list[section.type];\n const SectionComponent = loadable(() =>\n import(\n `../../components/${section?.type}/${section?.type}`\n )\n );\n return (\n \n \n \n );\n }\n })}\n \n \n \n )}\n \n \n );\n};\nexport default SlpSectionList;\n","import styled from 'styled-components';\nimport { Col, Row } from 'react-bootstrap';\nexport const SLPMainContainer = styled.div`\n position: relative;\n font-family: 'HelveticaNeue-Light', arial, sans-serif;\n font-size: 20px;\n line-height: 32px;\n margin: 0 auto;\n padding: 0;\n justify-content: center;\n text-align: center;\n background-color: #1a4538;\n color: rgba(0, 0, 0, 0.6);\n @media (max-width: 1399px) {\n font-size: 20px;\n line-height: 32px;\n }\n @media (max-width: 767px) {\n font-size: 16px;\n line-height: 24px;\n }\n`;\n\nexport const Body = styled.div`\n padding-top: 60px;\n @media (max-width: 991px) {\n padding: 10px;\n }\n @media (max-width: 424px) {\n padding: 15px;\n }\n`;\n\nexport const Columns = styled.div`\n :after {\n visibility: hidden;\n display: block;\n font-size: 0;\n content: ' ';\n clear: both;\n height: 0;\n }\n`;\n\nexport const HorizontalBreak = styled.hr`\n height: 1px;\n border: none;\n background: rgba(0, 0, 0, 0.15);\n margin: 60px 0;\n clear: both;\n @media (max-width: 1399px) {\n margin: 50px 0;\n }\n`;\nexport const ColumnThird = styled(Col)`\n position: relative;\n padding-right: 50px !important;\n :last-child {\n padding-right: 0px !important;\n }\n @media (max-width: 991px) {\n width: 100%;\n padding: 0px !important;\n margin-bottom: 30px !important;\n }\n`;\nexport const RowStyle = styled(Row)`\n @media (min-width: 768px) {\n max-width: 845px;\n padding-left: 0rem !important;\n padding-right: 0rem !important;\n margin-left: auto !important;\n margin-right: auto !important;\n width: 100% !important;\n }\n @media (min-width: 1400px) {\n max-width: 1065px;\n }\n @media (max-width: 767px) {\n max-width: 252px;\n margin-left: auto;\n margin-right: auto;\n width: 100%;\n justify-content: center !important;\n padding-top: 10px;\n }\n`;\nexport const ColumnThirdCard = styled(Col)`\n position: relative;\n margin: 0 10px;\n width: calc(33.33% - 20px);\n background: #fbc807;\n border-radius: 50%;\n border: 7px solid #fff;\n min-height: 325px;\n @media (max-width: 1399px) {\n min-height: 252px;\n }\n @media (max-width: 767px) {\n margin: 0 0 20px;\n width: 100%;\n }\n`;\n\nexport const HeaderH2 = styled.h2`\n text-align: ${(props) => (props?.$textAlign ? 'left' : 'center')};\n position: relative;\n margin: 0 0 35px 0;\n font-family: 'MrAlex', sans-serif;\n font-size: 45px;\n line-height: 50px;\n color: #00539d;\n @media (max-width: 1399px) {\n font-size: 40px;\n line-height: 45px;\n margin-bottom: 30px;\n }\n @media (max-width: 767px) {\n font-size: 30px;\n line-height: 35px;\n }\n`;\nexport const HeaderH3 = styled.h3`\n text-align: ${(props) => props.textAlign};\n position: relative;\n margin: 0 0 35px 0;\n font-family: 'HelveticaNeue-Light', sans-serif;\n font-size: 32px;\n line-height: 37px;\n color: #00a6e8;\n @media (max-width: 1399px) {\n font-size: 28px;\n line-height: 32px;\n margin-bottom: 30px;\n }\n @media (max-width: 767px) {\n font-size: 25px;\n line-height: 30px;\n }\n`;\n\nexport const HeadingH4 = styled.h4`\n padding: 0 0 15px 0;\n margin: 0 0 35px 0;\n font-family: 'HelveticaNeue-Light', sans-serif;\n font-size: 24px;\n line-height: 29px;\n color: rgba(0, 0, 0, 0.6);\n border-bottom: 1px solid rgba(0, 0, 0, 0.15);\n font-weight: normal;\n @media (max-width: 1399px) {\n font-size: 22px;\n line-height: 27px;\n margin-bottom: 30px;\n }\n @media (max-width: 767px) {\n font-size: 20px;\n line-height: 25px;\n }\n`;\n\nexport const ParaText = styled.p`\n margin-bottom: 40px;\n @media (max-width: 1399px) {\n margin-bottom: 30px;\n }\n i {\n font-style: italic;\n margin-bottom: 0;\n font-size: 16px;\n line-height: 24px;\n @media (max-width: 1399px) {\n font-size: 15px;\n line-height: 22px;\n }\n @media (max-width: 767px) {\n font-size: 13px;\n line-height: 20px;\n }\n }\n a {\n margin-bottom: 0 !important;\n }\n`;\nexport const OrderedList = styled.ol`\n margin: 0 0 30px 0;\n padding: 0;\n list-style-type: none;\n counter-reset: standard-counter;\n`;\nexport const ListItem = styled.li`\n padding: 0 0 15px 50px;\n\n background-size: 30px auto;\n list-style: none;\n margin: 0;\n @media (max-width: 767px) {\n padding-top: 1px;\n padding-left: 40px;\n background-position: 0 0;\n background-size: 25px auto;\n }\n`;\nexport const LinkStyle = styled.a`\n text-decoration: none;\n color: #00a6e8;\n transition: 0.25s ease-out;\n`;\nexport const UnorderedList = styled.ul`\n margin: 0 0 30px 0;\n padding: 0;\n`;\n"],"names":["SlpSectionList","_ref","_sectionData$header","_sectionData$subtext","_sectionData$listDeta","_sectionData$listOfIm","sectionData","optionsMainStyle","renderNode","BLOCKS","HEADING_2","node","children","React","Styled","textAlign","HEADING_3","HEADING_4","PARAGRAPH","UL_LIST","LIST_ITEM","INLINES","HYPERLINK","_node$data","_node$data2","_node$data3","href","isExternalUrlhref","data","uri","addTrailingSlash","process","renderText","text","split","flatMap","i","key","header","trim","subtext","listDetails","documentToReactComponents","JSON","parse","raw","className","listOfImagesWithPath","map","section","index","type","sectionList","includes","SectionComponent","loadable","resolved","chunkName","replace","isReady","props","resolve","__webpack_modules__","importAsync","requireAsync","then","requireSync","id","__webpack_require__","xs","md","lg","SLPMainContainer","styled","div","withConfig","displayName","componentId","Body","Columns","HorizontalBreak","hr","ColumnThird","Col","RowStyle","Row","ColumnThirdCard","HeaderH2","h2","$textAlign","HeaderH3","h3","HeadingH4","h4","ParaText","p","OrderedList","ol","ListItem","li","LinkStyle","a","UnorderedList","ul"],"sourceRoot":""}