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GC,GAEpB,OADIA,EAAIJ,GAAS,GAAGE,EAAIG,KAAKN,EAAMO,MAAMF,EAAGA,EAAIJ,IACzCE,IACN","sources":["webpack://getform/./src/components/shared/rules.js","webpack://getform/./src/components/not-published/cta.js","webpack://getform/./src/pages/not-published.js","webpack://getform/./src/utils/index.js"],"sourcesContent":["import React from 'react'\nimport { css } from '@emotion/react'\n\nexport const Vr = ({ color = '#000', className }) => (\n \n \n \n)\n\nexport const Hr = ({ color = '#000', className }) => (\n \n \n \n)\n","import React from 'react'\nimport styled from '@emotion/styled'\nimport { mediaQueries } from '../../theme'\nimport { withAttrs } from '../../utils'\nimport { getLoginUrl } from '../../utils/auth'\nimport Link from '../shared/link'\nimport BaseButton from '../shared/button'\n\nconst Container = styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n`\n\nconst Title = styled.p`\n margin: 0;\n margin-bottom: ${p => p.theme.space[4]};\n font-size: ${p => p.theme.fontSizes[4]};\n line-height: 1.4;\n font-weight: ${p => p.theme.fontWeights.heading};\n`\n\nconst P = styled.p`\n margin: 0;\n\n ${mediaQueries.lg} {\n font-size: ${p => p.theme.fontSizes[3]};\n line-height: 1.4;\n }\n`\n\nconst Button = styled(withAttrs(BaseButton, { as: Link }))`\n min-width: ${p => p.theme.space[26]};\n margin-top: ${p => p.theme.space[6]};\n`\n\nconst LOGIN_URL = getLoginUrl()\n\nexport const LoginCta = props => (\n \n Your form?\n

Log in to make changes.

\n \n
\n)\n\nexport const SignUpCta = props => (\n \n Not your form?\n

Create your own free form!

\n \n
\n)\n","import React from 'react'\nimport styled from '@emotion/styled'\nimport { H1 } from '../components/shared/type'\nimport Container from '../components/shared/container'\nimport { Hr as BaseHr } from '../components/shared/rules'\nimport { mediaQueries } from '../theme'\nimport PageMetadata from '../components/page-metadata'\nimport Layout from '../components/layout'\nimport { SignUpCta, LoginCta } from '../components/not-published/cta'\n\nconst InnerContainer = styled(Container)`\n ${mediaQueries.lg} {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n }\n`\n\nconst Actions = styled.div`\n display: grid;\n grid-template-columns: 1fr;\n grid-template-rows: 1fr 1fr;\n grid-gap: ${p => p.theme.space[14]} 0;\n\n ${mediaQueries.lg} {\n grid-template-columns: 1fr 1fr;\n grid-template-rows: 1fr;\n grid-gap: 0 ${p => p.theme.space[26]};\n }\n`\n\nconst Title = styled(H1)`\n margin: 0;\n text-align: center;\n line-height: 2.75rem;\n`\n\nconst Hr = styled(BaseHr)`\n margin: ${p => p.theme.space[12]} 0;\n ${mediaQueries.lg} {\n margin: ${p => p.theme.space[15]} 0;\n max-width: 45rem;\n }\n`\n\nconst PageLayout = props => (\n \n)\n\nconst NotPublished = ({ data, location }) => (\n \n \n \n This form isn’t published\n
\n \n \n \n \n
\n
\n)\n\nexport default NotPublished\n","import React from 'react'\n\nexport const slugify = value => value.toLowerCase().replace(/\\s+/g, '-')\n\nexport const withAttrs = (Component, attrs) => props =>\n \n\nexport function isInsideIframe() {\n try {\n return typeof window !== 'undefined' && window.self !== window.top\n } catch (e) {\n return true\n }\n}\n\nconst formatter = new Intl.NumberFormat('en-US', {\n style: 'decimal',\n})\n\nexport function formatNumber(value, sep = ' ') {\n return formatter\n .formatToParts(value)\n .filter(part => part.type === 'integer')\n .map(part => part.value)\n .join(sep)\n}\n\nexport const chunkArray = (array, size) =>\n array.reduce((acc, _, i) => {\n if (i % size === 0) acc.push(array.slice(i, i + size))\n return acc\n }, [])\n"],"names":["Hr","color","className","width","height","css","x1","x2","y1","y2","stroke","strokeWidth","strokeLinecap","strokeDasharray","Container","Title","p","theme","space","fontSizes","fontWeights","heading","P","mediaQueries","Button","withAttrs","BaseButton","as","Link","LOGIN_URL","getLoginUrl","LoginCta","props","to","SignUpCta","InnerContainer","Actions","H1","BaseHr","PageLayout","withNav","withFooter","data","location","title","description","keywords","robots","slugify","value","toLowerCase","replace","Component","attrs","isInsideIframe","window","self","top","e","formatter","Intl","NumberFormat","style","formatNumber","sep","formatToParts","filter","part","type","map","join","chunkArray","array","size","reduce","acc","_","i","push","slice"],"sourceRoot":""}