{"version":3,"sources":["utils/fonts/wulkandisplay-semibold.woff","utils/fonts/wulkandisplay-bold.woff","utils/fonts/worksans-bold.woff","utils/fonts/worksans-regular.woff","modules/components/ContainerQuery/ContainerQueryProvider.tsx","modules/components/ContainerQuery/useContainerQuery.ts","modules/components/Screen/Screen.tsx","modules/components/EmailAddressInput/EmailAddressInput.tsx","modules/components/EducationInput/EducationInput.tsx","modules/components/LinkedInInput/LinkedInInput.tsx","modules/components/ProfessionInput/ProfessionInput.tsx","utils/api-services.ts","modules/components/LogPageCode/LogPageCode.tsx","modules/views/Landing/LandingSubmissionView/LandingLegal/LandingLegal.tsx","modules/views/Landing/LandingSubmissionView/LandingSubmissionView.tsx","modules/views/Landing/LandingFooter/LandingFooter.tsx","modules/views/Landing/ConfirmationView/ConfirmationView.tsx","modules/views/Landing/Landing.tsx","modules/pages/Stir/Stir.tsx","App.tsx","utils/theme-builder.ts","serviceWorker.ts","index.tsx"],"names":["module","exports","responsiveQuery","mobile","maxWidth","tall","minHeight","short","maxHeight","ContainerQueryContext","React","createContext","ContainerQueryProvider","Component","render","query","params","Provider","value","this","props","children","useContainerQuery","useContext","StyledSection","styled","theme","backgroundColor","fullHeight","zIndex","boxSizing","height","undefined","background","palette","forwardRef","ref","className","FONT_SIZE","constants","FONT_WEIGHT","RADII","SEMANTIC_COLOR_NAME","SPACE","EmailAddressInput","checkEmailAddress","emailAddressOnChange","emailAddressError","emailAddress","inputBoxWrapperMarginBottom","labelBoxWrapperMarginBottom","labelBoxWrapperTextAlign","paddingLeft","XSMALL","TRANSPARENT","marginBottom","textAlign","fontSize","SMALL","fontWeight","SEMIBOLD","LIGHT","borderRadius","ROUND_CORNER_2X","onBlur","e","target","onChange","placeholder","hasError","width","autoComplete","ProfessionInput","API_URL","process","axiosInstance","axios","create","baseURL","PENDING_REQUESTS","interceptors","request","use","config","Promise","resolve","_reject","interval","setInterval","clearInterval","error","reject","response","Math","max","pagePath","qs","window","location","search","toLowerCase","queryParams","URLSearchParams","emailId","get","trackingId","bannerId","emailid","trackingid","bannerid","method","data","Path","url","then","catch","err","console","log","LogPageCode","useLocation","useEffect","loggedPath","pathname","replace","api","StyledAnchor","color","textDecoration","LandingLegal","marginTop","LARGE","NONE","MEDIUM","XXXSMALL","href","LandingSubmissionView","onEmailSubmit","useState","setEmailAddress","setEmailAddressError","emailAddressValid","length","requestBody","displayType","firstName","flowVersion","lastName","pricePoint","profile","education","linkedIn","jobTitle","center","flexDirection","XXLARGE","marginY","emailPattern","RegExp","test","onClick","disabled","size","fullWidth","StyledFooterLinks","LandingFooter","ConfirmationView","XXXXLARGE","BOLD","StyledLandingWrapperBox","Box","isMobile","backgroundPosition","backgroundRepeat","backgroundSize","Landing","confirmationView","setConfirmationView","contentHeight","alignItems","display","justifyContent","overflow","paddingRight","position","submitRequest","apiServices","Stir","App","mavenTheme","Object","assign","themeFantasticLlama","weights","semibold","lineHeights","xxxlarge","space","large","xlarge","xxlarge","fontVariants","family","wulkanDisplaySemiBold","weight","format","wulkanDisplayBold","workSansRegular","workSansBold","font","monospace","body","heading","themeBuilder","borderBox","margins","padding","lists","images","anchors","component","Boolean","hostname","match","ReactDOM","document","getElementById","navigator","serviceWorker","ready","registration","unregister"],"mappings":"qFAAAA,EAAOC,QAAU,IAA0B,qD,oBCA3CD,EAAOC,QAAU,IAA0B,iD,oBCA3CD,EAAOC,QAAU,IAA0B,4C,oBCA3CD,EAAOC,QAAU,IAA0B,+C,yMCG3C,MAAMC,EAAkB,CACtBC,OAAQ,CACNC,SAAU,KAEZC,KAAM,CACJC,UAAW,KAEbC,MAAO,CACLC,UAAW,MAYFC,EAAwBC,IAAMC,cAAc,CACvDR,QAAQ,EACRI,OAAO,EACPF,MAAM,IAGO,MAAMO,UAA+BF,IAAMG,UACxDC,SACE,OACE,kBAAC,iBAAD,CAAgBC,MAAOb,GACnBc,GACA,kBAACP,EAAsBQ,SAAvB,CAAgCC,MAAOF,GACpCG,KAAKC,MAAMC,Y,MChCT,SAASC,IAGtB,OA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5BP,EAAWY,aAAe,IAAM,CAC9B,CACEC,OAAQ,iBACRzF,IAAK0F,IACLC,OAAQ,IACRC,OAAQ,QAEV,CACEH,OAAQ,iBACRzF,IAAK6F,KACLF,OAAQ,IACRC,OAAQ,QAEV,CACEH,OAAQ,YACRzF,IAAK8F,KACLH,OAAQ,SACRC,OAAQ,QAEV,CACEH,OAAQ,YACRzF,IAAK+F,KACLJ,OAAQ,IACRC,OAAQ,SAGZhB,EAAWoB,KAAO,CAChBC,UAAW,iDACXC,KAAM,4CACNC,QAAS,kDAuBJvB,GD3DYwB,GAEnB,OACE,kBAAC,gBAAD,CAAe3L,MAAOmK,GACpB,kBAAC,EAAD,KACE,kBAAC,iBAAD,MACA,kBAAC,iBAAD,CAAgByB,WAAS,EAACC,SAAO,EAACC,SAAO,EAACC,OAAK,EAACC,QAAM,EAACC,SAAO,IAC9D,kBAAC,IAAD,KACE,kBAACpG,EAAD,MACA,kBAAC,IAAD,KACE,kBAAC,IAAD,CAAOqG,UAAWjC,SEPVkC,QACW,cAA7B5H,OAAOC,SAAS4H,UAEe,UAA7B7H,OAAOC,SAAS4H,UAEhB7H,OAAOC,SAAS4H,SAASC,MACvB,2DCTNC,IAASlN,OAAO,kBAAC,GAAD,MAASmN,SAASC,eAAe,SDgI3C,kBAAmBC,WACrBA,UAAUC,cAAcC,MAAMnH,KAAMoH,IAClCA,EAAaC,iB","file":"static/js/main.8a696843.chunk.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/media/wulkandisplay-semibold.7db796f2.woff\";","module.exports = __webpack_public_path__ + \"static/media/wulkandisplay-bold.ef3f5cda.woff\";","module.exports = __webpack_public_path__ + \"static/media/worksans-bold.e0bf8d2d.woff\";","module.exports = __webpack_public_path__ + \"static/media/worksans-regular.3952e365.woff\";","import React from 'react';\nimport { ContainerQuery } from 'react-container-query';\n\nconst responsiveQuery = {\n mobile: {\n maxWidth: 600,\n },\n tall: {\n minHeight: 725,\n },\n short: {\n maxHeight: 600,\n },\n};\n\nexport interface ContainerQueryProps {\n device?: {\n mobile: boolean;\n short: boolean;\n tall: boolean;\n };\n}\n\nexport const ContainerQueryContext = React.createContext({\n mobile: false,\n short: false,\n tall: false,\n});\n\nexport default class ContainerQueryProvider extends React.Component {\n render() {\n return (\n \n {(params) => (\n \n {this.props.children}\n \n )}\n \n );\n }\n}\n","import React from 'react';\nimport { ContainerQueryContext } from './ContainerQueryProvider';\n\nexport default function useContainerQuery() {\n const context = React.useContext(ContainerQueryContext);\n\n return context;\n}\n","import React from 'react';\nimport styled from '@emotion/styled';\n\ninterface ScreenProps {\n backgroundColor?: string;\n children: React.ReactNode | React.ReactNode[];\n className?: string;\n fullHeight?: boolean;\n zIndex?: number;\n}\n\ninterface StyledProps extends ScreenProps {\n theme?: any;\n}\n\nconst StyledSection = styled('section')(\n ({ theme, backgroundColor, fullHeight, zIndex }: StyledProps) => {\n const background = (backgroundColor && theme.palette[backgroundColor]) || null;\n return {\n boxSizing: 'border-box',\n height: fullHeight ? '100vh' : undefined,\n zIndex: zIndex,\n background,\n };\n }\n);\n\nfunction Screen(props: ScreenProps, ref: React.Ref) {\n return (\n \n {props.children}\n \n );\n}\n\nexport default React.forwardRef(Screen);\n","import React from 'react';\nimport { Box, constants, Input, Typography } from '@match/react-component-library';\n\nconst { FONT_SIZE, FONT_WEIGHT, RADII, SEMANTIC_COLOR_NAME, SPACE } = constants;\n\ninterface EmailAddressInputProps {\n checkEmailAddress: (emailAddress: string) => void;\n emailAddressOnChange: (emailAddress: string) => void;\n emailAddressError: boolean;\n emailAddress: string;\n inputBoxWrapperMarginBottom: string;\n labelBoxWrapperMarginBottom: string;\n labelBoxWrapperTextAlign: any;\n}\n\nconst EmailAddressInput = ({checkEmailAddress, emailAddressOnChange, emailAddressError, emailAddress, inputBoxWrapperMarginBottom, labelBoxWrapperMarginBottom, labelBoxWrapperTextAlign} : EmailAddressInputProps ) => {\n return (\n \n \n \n 1. What is your email address?\n \n \n \n \n checkEmailAddress(e.target.value)}\n onChange={(e) => emailAddressOnChange(e.target.value)}\n placeholder=\"Ex: Linda@example.com\"\n hasError={emailAddressError}\n value={emailAddress}\n width={250}\n autoComplete=\"email\"\n />\n \n \n )\n}\n\nexport default EmailAddressInput;","import React from 'react';\nimport { Box, constants, SelectNative, Typography } from '@match/react-component-library';\nimport { EDUCATION } from '../../constants';\n\nconst { FONT_SIZE, FONT_WEIGHT, RADII, SEMANTIC_COLOR_NAME, SPACE } = constants;\n\ninterface EducationInputProps {\n setEducation: (education: string) => void;\n inputBoxWrapperMarginBottom: string;\n labelBoxWrapperTextAlign: any;\n}\n\nconst EducationInput = ({setEducation, inputBoxWrapperMarginBottom, labelBoxWrapperTextAlign} : EducationInputProps ) => {\n return (\n \n \n \n 2. What is your education level?\n \n \n \n setEducation(e.currentTarget.value)}>\n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default EducationInput;","import React from 'react';\nimport { Box, constants, SelectNative, Typography } from '@match/react-component-library';\nimport { SCALE } from '../../constants';\n\nconst { FONT_SIZE, FONT_WEIGHT, RADII, SEMANTIC_COLOR_NAME, SPACE } = constants;\n\ninterface LinkedInInputProps {\n setLinkedIn: (linkedIn: string) => void;\n inputBoxWrapperMarginBottom: string;\n labelBoxWrapperTextAlign: any;\n}\n\nconst LinkedInInput = ({setLinkedIn, inputBoxWrapperMarginBottom, labelBoxWrapperTextAlign} : LinkedInInputProps ) => {\n return (\n \n \n \n 4. How likely are you to share your LinkedIn profile on your dating profile?\n \n \n \n setLinkedIn(e.currentTarget.value)}\n >\n \n \n \n \n \n \n \n \n )\n}\n\nexport default LinkedInInput;","import React from 'react';\nimport { Box, constants, Input, Typography} from '@match/react-component-library';\n\nconst {FONT_SIZE, FONT_WEIGHT, RADII, SEMANTIC_COLOR_NAME, SPACE } = constants;\n\ninterface ProfessionInputProps {\n professionOnChange: (profession: string) => void;\n profession: string;\n inputBoxWrapperMarginBottom: string;\n labelBoxWrapperMarginBottom: string;\n labelBoxWrapperTextAlign: any;\n}\n\nconst ProfessionInput = ({professionOnChange, profession, inputBoxWrapperMarginBottom, labelBoxWrapperMarginBottom, labelBoxWrapperTextAlign} : ProfessionInputProps ) => {\n return (\n \n \n \n 3. What is your profession?\n \n \n \n \n professionOnChange(e.target.value)}\n placeholder=\"Ex: Pharmacist, Manager\"\n value={profession}\n width={250}\n />\n \n \n )\n}\n\nexport default ProfessionInput;","import axios, { AxiosResponse } from 'axios';\nimport { SubmitApplicationRequest } from 'types';\n\nconst API_URL = `${process.env.PUBLIC_URL}/api`;\n\nconst axiosInstance = axios.create({\n baseURL: API_URL,\n});\n\nconst MAX_REQUESTS_COUNT = 1;\nconst INTERVAL_MS = 100;\nlet PENDING_REQUESTS = 0;\n\n// Request middleware\naxiosInstance.interceptors.request.use(\n (config) => {\n // Add something to each request\n return new Promise((resolve, _reject) => {\n const interval = setInterval(() => {\n if (PENDING_REQUESTS < MAX_REQUESTS_COUNT) {\n PENDING_REQUESTS++;\n clearInterval(interval);\n resolve(config);\n }\n }, INTERVAL_MS);\n });\n },\n (error) => {\n // Do something for each request error.\n return Promise.reject(error);\n }\n);\n\n// Targeting criteria response middleware\naxiosInstance.interceptors.response.use(\n (response) => {\n // Do something after each successful response\n PENDING_REQUESTS = Math.max(0, PENDING_REQUESTS - 1);\n return Promise.resolve(response);\n },\n (error) => {\n // Do something for each api error.\n // e.g. redirect 401 responses to login page\n PENDING_REQUESTS = Math.max(0, PENDING_REQUESTS - 1);\n return Promise.reject(error);\n }\n);\n\nconst request = (config = {}) => axiosInstance(config);\n\nexport default {\n getPrice: () => {\n const qs = window.location.search.toLowerCase();\n const queryParams = new URLSearchParams(qs);\n const emailId = queryParams.get('crmid') || queryParams.get('emailid');\n if (emailId) {\n const version = queryParams.get('version');\n let price = 199;\n if (version) {\n switch (version) {\n case '99':\n price = 99;\n break;\n case '149':\n price = 149;\n break;\n case '199':\n price = 199;\n break;\n }\n }\n return Promise.resolve(price);\n } else {\n return request({\n method: 'GET',\n url: '/price',\n })\n .then((res: AxiosResponse) => {\n const price = parseInt(res.data) || 199;\n return price;\n })\n .catch(() => {\n return 199;\n });\n }\n },\n postPageCode: ({ pagePath }: { pagePath: string }) => {\n const qs = window.location.search.toLowerCase();\n const queryParams = new URLSearchParams(qs);\n const emailId = queryParams.get('crmid') || queryParams.get('emailid');\n const trackingId = queryParams.get('trackingid');\n const bannerId = queryParams.get('bannerid');\n return request({\n params: {\n emailid: emailId,\n trackingid: trackingId,\n bannerid: bannerId,\n },\n method: 'POST',\n data: {\n Path: pagePath,\n },\n url: '/trackPageCode',\n })\n .then(() => {\n return;\n })\n .catch((err: Error) => {\n console.log(err);\n return undefined;\n });\n },\n createUser: (data: SubmitApplicationRequest) => {\n return request({\n url: '/user',\n method: 'POST',\n data,\n });\n },\n};\n","import React from 'react';\nimport { useLocation } from 'react-router-dom';\nimport api from 'utils/api-services';\n\nexport default function LogPageCode() {\n const location = useLocation();\n\n React.useEffect(() => {\n const loggedPath = location.pathname.replace('/', '_');\n api.postPageCode({\n pagePath: `activehealthy${loggedPath === '_' ? '_landing' : loggedPath}_viewed`,\n });\n }, [location.pathname]);\n\n return null;\n}\n","import React from 'react';\nimport styled from '@emotion/styled';\nimport { Box, constants, Typography as Text } from '@match/react-component-library';\nimport { useContainerQuery } from 'modules/components';\n\nconst { FONT_SIZE, SPACE } = constants;\n\nconst StyledAnchor = styled('a')({\n color: 'white',\n fontWeight: 'bold',\n textDecoration: 'underline',\n [':active']: { // eslint-disable-line\n color: 'white',\n textDecoration: 'underline',\n },\n [':visited']: { // eslint-disable-line\n color: 'white',\n textDecoration: 'underline',\n },\n});\n\nexport const LandingLegal = () => {\n const { mobile } = useContainerQuery();\n return (\n \n \n By signing up, I agree to receive emails from Match Group, LLC. I understand that I am free to withdraw consent at any time. By tapping “I’m In”, I agree to the {' '}\n \n {'Terms'}\n \n . Learn how we process your data in our {' '}\n \n Privacy Policy\n \n {' '}and{' '}\n \n Cookie Policy\n .\n \n \n );\n};\n","import React, { useState } from 'react';\nimport { Box, Button, constants, Typography as Text } from '@match/react-component-library';\nimport { LandingLegal } from './LandingLegal';\nimport { useContainerQuery, EmailAddressInput } from 'modules/components';\nimport { SubmitApplicationRequest } from 'types';\n\nconst { FONT_SIZE, SPACE } = constants;\n\ninterface LandingSubmissionViewProps {\n onEmailSubmit: (submitRequest: SubmitApplicationRequest) => void;\n}\n\nexport const LandingSubmissionView = ({ onEmailSubmit }: LandingSubmissionViewProps) => {\n const [emailAddress, setEmailAddress] = useState('');\n const { mobile } = useContainerQuery();\n\n const [emailAddressError, setEmailAddressError] = useState(false);\n\n const emailAddressValid = emailAddress.length > 4 && !emailAddressError;\n\n const checkEmailAddress = (emailAddress: string) => {\n if (emailAddress === null || emailAddress === undefined)\n return setEmailAddressError(true);\n\n const emailPattern = new RegExp(\n /^[\\w.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9.-]+$/i\n );\n \n return setEmailAddressError(!emailPattern.test(emailAddress));\n }\n\n const emailAddressOnChange = (emailAddress: string) => {\n setEmailAddressError(false);\n setEmailAddress(emailAddress);\n }\n\n const requestBody: SubmitApplicationRequest = {\n emailAddress: emailAddress,\n displayType: '',\n firstName: '',\n flowVersion: 1,\n lastName: '',\n pricePoint: 1,\n profile: {\n education: '',\n linkedIn: '',\n jobTitle: ''\n },\n };\n\n const inputBoxWrapperMarginBottom = mobile ? SPACE.LARGE : SPACE.LARGE;\n const labelBoxWrapperMarginBottom = mobile ? SPACE.MEDIUM : SPACE.MEDIUM;\n return (\n \n COMING SOON.\n \n A community of singles passionate about an active and healthy lifestyle.\n \n \n Be first on the list.\n \n \n \n \n onEmailSubmit(requestBody)}\n disabled={!emailAddressValid}\n size=\"large\"\n fullWidth\n color=\"core1_100\"\n >\n I'm in\n \n \n \n );\n};\n","import React from 'react';\nimport styled from '@emotion/styled';\n\nconst StyledFooterLinks = styled('a')({\n color: 'white',\n [':active']: { // eslint-disable-line\n color: 'white',\n },\n [':visited']: { // eslint-disable-line\n color: 'white',\n },\n});\n\nexport const LandingFooter = () => {\n return (\n
\n Copyright © 2022 Match Group LLC\n
\n \n Terms of Use\n \n  | \n \n Privacy Policy\n \n  | \n \n Cookie Policy\n \n  | \n \n Safety Tips\n \n
\n
\n );\n};\n","import React from 'react';\nimport { Box, constants, Typography as Text } from '@match/react-component-library';\n\nconst { FONT_SIZE, FONT_WEIGHT, SPACE } = constants;\n\nexport const ConfirmationView = () => {\n return (\n
\n \n You're in!\n \n \n You'll hear from us soon!\n \n
\n );\n};\n","import React from 'react';\nimport styled from '@emotion/styled';\nimport { Box, constants } from '@match/react-component-library';\nimport apiServices from 'utils/api-services';\nimport { LandingSubmissionView } from './LandingSubmissionView';\nimport { LandingFooter } from './LandingFooter';\nimport { ConfirmationView } from './ConfirmationView';\nimport { useContainerQuery } from 'modules/components';\nimport { SubmitApplicationRequest } from 'types';\n\nconst { SEMANTIC_COLOR_NAME, SPACE } = constants;\n\ninterface StyledLandingWrapperBoxProps {\n isMobile: boolean;\n}\n\nconst StyledLandingWrapperBox = styled(Box)(({ isMobile }: StyledLandingWrapperBoxProps) => ({\n background: isMobile ? 'url(\"/images/beach.jpg\")' : 'url(\"/images/landingBackground.jpg\")',\n backgroundPosition: 'center',\n backgroundRepeat: 'no-repeat',\n backgroundSize: 'cover',\n}));\n\nexport const Landing = () => {\n const [confirmationView, setConfirmationView] = React.useState(false);\n const { mobile } = useContainerQuery();\n\n const handleEmailSubmit = (submitRequest: SubmitApplicationRequest) =>\n {\n apiServices\n .createUser(submitRequest)\n .then(() => {\n setConfirmationView(true);\n return;\n })\n .catch((error) => {\n console.error(error);\n });\n }\n\n const contentHeight = mobile ? '90%' : 600;\n\n return (\n \n \n {confirmationView ? (\n \n ) : (\n \n )}\n \n \n \n );\n};\n","import React from 'react';\nimport { Landing } from 'modules/views';\n\nexport const Stir = () => {\n return ;\n};\n","import React from 'react';\nimport { BrowserRouter, Route, Switch } from 'react-router-dom';\n\nimport { ThemeProvider, GlobalFontFace, GlobalCssReset } from '@match/react-component-library';\nimport { ContainerQueryProvider } from 'modules/components';\nimport LogPageCode from 'modules/components/LogPageCode';\nimport { Stir } from 'modules/pages';\nimport { themeBuilder } from 'utils/theme-builder';\n\nconst App: React.FunctionComponent = () => {\n const mavenTheme = themeBuilder();\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default App;\n","import { themeFantasticLlama } from '@match/react-component-library';\nimport wulkanDisplaySemiBold from './fonts/wulkandisplay-semibold.woff';\nimport wulkanDisplayBold from './fonts/wulkandisplay-bold.woff';\nimport workSansBold from './fonts/worksans-bold.woff';\nimport workSansRegular from './fonts/worksans-regular.woff';\n\nexport const themeBuilder = () => {\n const mavenTheme = Object.assign({}, themeFantasticLlama);\n mavenTheme.weights.semibold = 600;\n mavenTheme.lineHeights.xxxlarge = '48px';\n // mavenTheme.palette.ctaPrimary = '#2F2D2B';\n // mavenTheme.palette.functional1Base = '#F6F1EE';\n // mavenTheme.palette.functional1Dark = '#ECE7E4';\n mavenTheme.space.large = 24;\n mavenTheme.space.xlarge = 32;\n mavenTheme.space.xxlarge = 40;\n mavenTheme.space.xxxlarge = 80;\n mavenTheme.fontVariants = () => [\n {\n family: 'Wulkan display',\n url: wulkanDisplaySemiBold,\n weight: 600,\n format: 'woff',\n },\n {\n family: 'Wulkan display',\n url: wulkanDisplayBold,\n weight: 700,\n format: 'woff',\n },\n {\n family: 'Work Sans',\n url: workSansRegular,\n weight: 'normal',\n format: 'woff',\n },\n {\n family: 'Work Sans',\n url: workSansBold,\n weight: 700,\n format: 'woff',\n },\n ];\n mavenTheme.font = {\n monospace: \"'Wulkan display', Helvetica, Arial, sans-serif\",\n body: \"'Work Sans', Helvetica, Arial, sans-serif\",\n heading: \"'Wulkan display', Helvetica, Arial, sans-serif\",\n };\n // mavenTheme.components.button.sizes.xlarge.height = '60px';\n // mavenTheme.components.button = {\n // ...mavenTheme.components.button,\n // defaults: ({ primary }) => ({\n // cursor: 'pointer',\n // border: 'none',\n // position: 'relative',\n // background: primary,\n // fontFamily: 'inherit',\n // fontWeight: 'bold',\n // color: mavenTheme.palette.light,\n // '&:active, :focus': {\n // backgroundColor: '#949595',\n // },\n // }),\n // disabled: () => ({\n // cursor: 'auto',\n // position: 'relative',\n // backgroundColor: '#949595',\n // }),\n // };\n return mavenTheme;\n};\n","/* eslint-disable no-console */\n// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.1/8 is considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\ntype Config = {\n onSuccess?: (registration: ServiceWorkerRegistration) => void;\n onUpdate?: (registration: ServiceWorkerRegistration) => void;\n};\n\nexport function register(config?: Config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(\n (process as { env: { [key: string]: string } }).env.PUBLIC_URL,\n window.location.href\n );\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl: string, config?: Config) {\n navigator.serviceWorker\n .register(swUrl)\n .then((registration) => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch((error) => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl: string, config?: Config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl)\n .then((response) => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then((registration) => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready.then((registration) => {\n registration.unregister();\n });\n }\n}\n","// react-app-polyfill/ie11 provides support to create-react-app for IE11\nimport 'react-app-polyfill/ie11';\nimport 'react-app-polyfill/stable';\n\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\nimport * as serviceWorker from './serviceWorker';\n\nReactDOM.render(, document.getElementById('root'));\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n\nif (module.hot) {\n module.hot.accept('./App', () => {\n ReactDOM.render(\n ,\n document.getElementById('root') as HTMLElement\n );\n });\n}"],"sourceRoot":""}