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A,EAAiB,CAChBC,kBAAkB,EAClBlC,UAAU,iCAEZC,EAAAA,cAACkC,EAAAA,EAAQ,CAACJ,KAAMK,EAAAA,EAAeC,mBAAmB,IAClDpC,EAAAA,cAACqC,EAAAA,EAAO,MACRrC,EAAAA,cAACC,EAAAA,EAAY,O","sources":["webpack://reduct-dot-video/./src/components/Container.js","webpack://reduct-dot-video/./src/components/Subscription/index.js","webpack://reduct-dot-video/./src/pages/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\nconst Container = ({ children, className = '' }) => {\n return
{children}
;\n};\n\nContainer.propTypes = {\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n};\n\nexport default Container;\n","import React, { useState, useContext } from 'react';\nimport { FlagsContext } from '../../context/FlagsContext';\nimport { SignUpModalContext } from '../../context/SignUpModalContext';\nimport ReductVideoSignUpButton from '../ReductVideoSignUpButton';\n\nconst Subscription = () => {\n const [email, setEmail] = useState('');\n const { setModalState, setStartEmail } = useContext(SignUpModalContext);\n const { isFreeTrialCtaDisabled } = useContext(FlagsContext);\n\n const onChange = (e) => {\n setEmail(e.target.value);\n };\n\n const onSubmit = (e) => {\n e.preventDefault();\n setModalState(true);\n setStartEmail(email);\n };\n\n if (isFreeTrialCtaDisabled) {\n return (\n
\n
\n
\n
\n \n
\n
\n
\n
\n );\n }\n\n return (\n
\n
\n
\n \n \n \n Start a free trial →\n \n \n
\n
\n
\n );\n};\n\nexport default Subscription;\n","import React from 'react';\n\nimport Layout from 'components/Layout';\nimport Container from 'components/Container';\nimport CustomerLogoStrip from '../components/CustomerLogoStrip';\nimport HeroSection from 'components/Home/HeroSection';\n\nimport Feature from 'components/Feature';\n\nimport Subscription from 'components/Subscription';\n\nimport featuredImage from '../assets/images/logo-with-bg.png';\nimport { Industry } from '../components/Vs/Rev/Industry';\nimport {\n INDUSTRY_COPY,\n HERO_SECTION_COPY,\n} from '../constants/homepage/constants';\n\nconst IndexPage = () => {\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default IndexPage;\n"],"names":["_ref","children","className","React","Subscription","email","setEmail","useState","setModalState","setStartEmail","useContext","SignUpModalContext","isFreeTrialCtaDisabled","FlagsContext","onSubmit","e","preventDefault","ReductVideoSignUpButton","onChange","target","value","placeholder","onClick","IndexPage","Layout","title","hero","featuredImage","pageName","path","headerClass","Container","HeroSection","copy","HERO_SECTION_COPY","CustomerLogoStrip","onlyCustomerLogo","Industry","INDUSTRY_COPY","gradientSeparator","Feature"],"sourceRoot":""}