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Aye,CAAA,mDAAAze,CAAA,CAAAA,CAAA,CAAA6D,CAAA,QAAA6a,IAAA,CAAA1e,CAAA","sources":["webpack://_N_E/./node_modules/jwt-decode/build/jwt-decode.esm.js","webpack://_N_E/?0412","webpack://_N_E/./lib/types/regCodeType.ts","webpack://_N_E/./pages/account/SharedStyles.ts","webpack://_N_E/./validations/schemas/PasswordSchema.ts","webpack://_N_E/./pages/account/components/CreatePassword/Form.tsx","webpack://_N_E/./pages/account/components/CreatePassword/index.tsx","webpack://_N_E/./validations/schemas/EmailSchema.ts","webpack://_N_E/./pages/account/components/SignInForm/index.tsx","webpack://_N_E/./pages/account/components/Socials/Apple/index.tsx","webpack://_N_E/./pages/account/components/Socials/Google/index.tsx","webpack://_N_E/./pages/account/components/Socials/Facebook/index.tsx","webpack://_N_E/./pages/account/components/Socials/index.tsx","webpack://_N_E/./pages/account/components/ForgotPassword/index.tsx","webpack://_N_E/./validations/schemas/EmailAndPasswordSchema.ts","webpack://_N_E/./pages/account/components/EmailPasswordForm/Form.tsx","webpack://_N_E/./pages/account/components/EmailPasswordForm/index.tsx","webpack://_N_E/./pages/account/components/Success/index.tsx","webpack://_N_E/./pages/account/components/index.tsx","webpack://_N_E/./pages/account/index.page.tsx","webpack://_N_E/./node_modules/react-apple-signin-auth/dist/AppleSigninButton/AppleSigninButton.js","webpack://_N_E/./node_modules/react-apple-signin-auth/dist/appleAuthHelpers/index.js","webpack://_N_E/./node_modules/react-apple-signin-auth/dist/hooks/useScript.js","webpack://_N_E/./node_modules/react-apple-signin-auth/dist/index.js","webpack://_N_E/./node_modules/react-apple-signin-auth/dist/utils/waitForVar.js","webpack://_N_E/"],"sourcesContent":["function e(e){this.message=e}e.prototype=new Error,e.prototype.name=\"InvalidCharacterError\";var r=\"undefined\"!=typeof window&&window.atob&&window.atob.bind(window)||function(r){var t=String(r).replace(/=+$/,\"\");if(t.length%4==1)throw new e(\"'atob' failed: The string to be decoded is not correctly encoded.\");for(var n,o,a=0,i=0,c=\"\";o=t.charAt(i++);~o&&(n=a%4?64*n+o:o,a++%4)?c+=String.fromCharCode(255&n>>(-2*a&6)):0)o=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\".indexOf(o);return c};function t(e){var t=e.replace(/-/g,\"+\").replace(/_/g,\"/\");switch(t.length%4){case 0:break;case 2:t+=\"==\";break;case 3:t+=\"=\";break;default:throw\"Illegal base64url string!\"}try{return function(e){return decodeURIComponent(r(e).replace(/(.)/g,(function(e,r){var t=r.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t=\"0\"+t),\"%\"+t})))}(t)}catch(e){return r(t)}}function n(e){this.message=e}function o(e,r){if(\"string\"!=typeof e)throw new n(\"Invalid token specified\");var o=!0===(r=r||{}).header?0:1;try{return JSON.parse(t(e.split(\".\")[o]))}catch(e){throw new n(\"Invalid token specified: \"+e.message)}}n.prototype=new Error,n.prototype.name=\"InvalidTokenError\";export default o;export{n as InvalidTokenError};\n//# sourceMappingURL=jwt-decode.esm.js.map\n","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/account\",\n function () {\n return require(\"private-next-pages/account/index.page.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/account\"])\n });\n }\n ","export interface RegCodeOptions {\n deviceId: string;\n isRegister?: boolean;\n isMVPD?: boolean;\n selectedMvpdId?: string;\n}\n\nexport interface ValidateRegCodeData {\n regCode: string;\n additionalHeaders?: Record;\n}\n\nexport interface RegCodeStatusData {\n regCode: string;\n firstScreenVersion: string;\n secondScreenVersion: string;\n status?: CodeStatus;\n additionalHeaders?: Record;\n}\n\nexport interface CodeStatus {\n loginType: LoginType;\n state: CodeStatusState;\n}\n\nexport enum LoginType {\n fox = 'FOX',\n mvpd = 'MVPD',\n}\n\nexport enum CodeStatusState {\n ok = 'OK',\n aborted = 'ABORTED',\n failed = 'FAILED',\n}\n\nexport interface ErrorResponse {\n errorType: string;\n errorMessage: string;\n}\n","import styled from 'styled-components';\nimport { respondTo } from 'styles/helper';\nimport color from 'styles/colors';\nimport { fadein } from 'styles/animations';\n\ntype TitleType = {\n show?: boolean;\n};\n\nconst Title = styled.h1`\n ${fadein};\n display: ${(props) => (props.show ? 'block' : 'none')};\n width: 100%;\n font: inherit;\n font-size: 1.125rem;\n font-weight: 500;\n font-style: normal;\n font-stretch: normal;\n text-align: center;\n color: ${color.white};\n letter-spacing: normal;\n margin: 2rem auto;\n ${respondTo.bp_767`\n font-size: 40px;\n letter-spacing: -0.5px;\n `}\n`;\nconst PasswordLabel = styled.label`\n display: flex;\n margin: 0 auto;\n cursor: pointer;\n position: absolute;\n right: 5px;\n top: 14px;\n span {\n width: 1.5rem;\n height: 1.5rem;\n border: solid 1px ${color.white};\n border-radius: 75% 5%;\n position: relative;\n transform: rotate(45deg);\n opacity: 0.25;\n margin: auto 0.75rem auto 0.5rem;\n &:after {\n content: '';\n display: block;\n position: absolute;\n width: 0.5rem;\n height: 0.5rem;\n border: solid 1px ${color.white};\n border-radius: 50%;\n left: 0.45rem;\n top: 0.45rem;\n }\n }\n input {\n opacity: 0;\n position: absolute;\n cursor: pointer;\n &:checked ~ span {\n background-color: ${color.white};\n opacity: 1;\n }\n &:checked ~ span:after {\n background-color: ${color.black};\n width: 0.75rem;\n height: 0.75rem;\n left: 0.34rem;\n top: 0.34rem;\n opacity: 1;\n }\n }\n svg {\n fill: ${color.white50};\n }\n`;\nconst Error = styled.span`\n display: block;\n margin: 0.5rem 0;\n font-size: 11px;\n color: ${color.errorRed};\n line-height: 1.125rem;\n letter-spacing: 0.000625rem;\n`;\n\nexport { Title, PasswordLabel, Error };\n","// eslint-disable-next-line @typescript-eslint/no-var-requires\nconst { yupResolver } = require('@hookform/resolvers/yup');\nimport { FieldValues, ResolverOptions, ResolverResult, UnpackNestedValue } from 'react-hook-form';\nimport * as yup from 'yup';\n\nconst PasswordSchema = (\n language_strings_en_US: Record,\n): ((\n values: UnpackNestedValue,\n context: TContext | undefined,\n options: ResolverOptions,\n) => Promise>) =>\n yupResolver(\n yup\n .object()\n .shape({\n password: yup\n .string()\n .required('You must provide a valid password')\n .min(6, language_strings_en_US?.profile_passwordRequirementsInfo),\n })\n .required(),\n );\n\nexport default PasswordSchema;\n","import styled from 'styled-components';\nimport { respondTo } from 'styles/helper';\nimport color from 'styles/colors';\nimport { fadein } from 'styles/animations';\nimport { AccountInputCss } from 'components/common';\n\nexport const Form = styled.form`\n ${fadein};\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n ${respondTo.bp_1099`\n max-width: 38.125rem;\n `}\n\n .message {\n max-width: 574px;\n margin-top: 0;\n padding-bottom: 20px;\n color: #9b9b9b;\n font-size: 18px;\n font-weight: 400;\n letter-spacing: -0.29px;\n line-height: 23px;\n text-align: center;\n }\n\n input {\n ${AccountInputCss}\n &:disabled {\n cursor: initial;\n opacity: 0.5;\n }\n }\n\n .signupFormInputContainer {\n ${respondTo.bp_1099`\n max-width: 38.125rem;\n width: 610px;\n padding: 0 5rem;\n `}\n }\n\n .signInPasswordContainer {\n position: relative;\n display: flex;\n width: 100%;\n flex-direction: column;\n border-radius: 6px;\n ${respondTo.bp_768`\n max-width: 340px;\n `}\n }\n\n .termsText {\n color: ${color.white25};\n font-size: 0.75rem;\n font-weight: normal;\n letter-spacing: 0.000625rem;\n line-height: 1.25;\n ${respondTo.bp_1099`\n font-size: 0.875rem;\n `}\n }\n\n .termsLink {\n color: ${color.white50};\n cursor: pointer;\n font-weight: 500;\n text-decoration: none;\n }\n\n .disclosure {\n display: inline-flex;\n width: 100%;\n max-width: 340px;\n margin: 1rem auto 20px;\n color: ${color.altoLight};\n font-family: 'Graphik', sans-serif;\n font-size: 12px;\n font-weight: normal;\n letter-spacing: -0.15px;\n line-height: 19px;\n text-align: left;\n\n a {\n display: contents;\n font-weight: bold;\n }\n }\n\n .wrap {\n position: relative;\n display: flex;\n flex-direction: column;\n margin: 0 auto;\n width: 100%;\n max-width: 340px;\n border-radius: 6px;\n }\n\n .invalidEmail {\n color: ${color.white50};\n cursor: default;\n }\n\n .linkToExisting {\n color: #ffffff80;\n cursor: pointer;\n font-size: 14px;\n background: none;\n border: none;\n margin-bottom: 10px;\n letter-spacing: 0.000625rem;\n }\n`;\n","import React, { useContext, useEffect } from 'react';\nimport { SubmitHandler, useForm } from 'react-hook-form';\nimport { useRouter } from 'next/router';\nimport { useBoolean, useFlowManager, useLanguageStrings } from 'lib/hooks';\nimport { helper, messageConverter, setUpdatedProfile } from 'lib/utils';\nimport PasswordSchema from 'validations/schemas/PasswordSchema';\nimport { AppContext } from 'context/GlobalContextProvider';\nimport { FlowStage } from 'context/state/state';\nimport { setError, setFlowStage, setIsRegister, setLoading } from 'context/state/reducer';\nimport { LINKS, ROUTE_MVPD } from 'constants/index';\nimport { Button, Input, Loader } from 'components/common';\nimport Link from 'components/common/Link';\nimport { Error, PasswordLabel, Title } from '../../SharedStyles';\nimport { AccountProps } from '../../index.page';\nimport { Form } from './Form';\n\nconst CreatePassword = ({\n profile,\n email = '',\n setEmail = () => null,\n}: AccountProps): JSX.Element => {\n const {\n state,\n dispatch,\n state: {\n account,\n isLoading,\n isSocialAuth: {\n data: {\n email: appleEmail,\n authorization: { id_token },\n },\n },\n },\n } = useContext(AppContext);\n const { language_strings_en_US: string } = useLanguageStrings();\n const { value: passwordShown, toggle } = useBoolean(false);\n const { code } = useFlowManager();\n const router = useRouter();\n\n type IFormInputs = {\n password: string;\n };\n\n const {\n register,\n handleSubmit,\n reset,\n formState: { errors, isSubmitting, isValid },\n } = useForm({\n mode: 'onChange',\n reValidateMode: 'onSubmit',\n resolver: PasswordSchema(string),\n defaultValues: {\n password: '',\n },\n });\n\n const onSubmit: SubmitHandler = async (data: IFormInputs) => {\n dispatch(setLoading(true));\n try {\n const appleResponse = await profile.appleRegister({\n email: appleEmail,\n password: data?.password,\n appleToken: id_token,\n });\n helper.setAccountCookie(appleResponse);\n const updatedProfile = await setUpdatedProfile(appleResponse?.accessToken as string);\n const res = await updatedProfile.userLoggedInOrRegistered({\n regCode: code,\n isRegister: true,\n });\n const shouldRedirectToSuccess = !!(res?.mvpdId && res?.apiKey);\n if (shouldRedirectToSuccess) {\n dispatch(setFlowStage(FlowStage.SUCCESS));\n dispatch(setLoading(false));\n } else {\n dispatch(setIsRegister(true, res));\n dispatch(setFlowStage(''));\n router?.push(ROUTE_MVPD);\n }\n } catch (e) {\n dispatch(setError(e));\n }\n };\n\n useEffect(() => {\n reset();\n dispatch(setLoading(false));\n setEmail(email);\n }, [reset, dispatch, setEmail, email]);\n\n if (isSubmitting || isLoading) return ;\n\n return (\n
\n Create Password\n <>\n

\n If you have an existing account, sign in and we'll link your Apple ID so you can\n access your watchlist and other account perks.\n

\n {

{email || appleEmail || account?.email}

}\n
\n \n \n \n \n \n {(state?.error || errors?.password) && (\n <>\n {state?.error && (\n {messageConverter((state?.error as Error).message, string)}\n )}\n {errors?.password && {errors?.password?.message}}\n \n )}\n
\n {\n

\n By clicking Create Account, you agree to the{' '}\n \n {' '}\n Terms of Use,\n {' '}\n \n {' '}\n Privacy Policy,\n {' '}\n and agree to receive content and promotional communications from FOX.\n

\n }\n {\n console.log('CreatePassword');\n }}\n >\n Link Account\n \n {\n dispatch(setFlowStage(FlowStage.LINK));\n }}\n >\n Link to existing FOX account\n \n \n \n );\n};\n\nexport default CreatePassword;\n","// eslint-disable-next-line @typescript-eslint/no-var-requires\nconst { yupResolver } = require('@hookform/resolvers/yup');\nimport { FieldValues, ResolverOptions, ResolverResult, UnpackNestedValue } from 'react-hook-form';\nimport * as yup from 'yup';\n\nconst EmailSchema = (\n language_strings_en_US: Record,\n): ((\n values: UnpackNestedValue,\n context: TContext | undefined,\n options: ResolverOptions,\n) => Promise>) =>\n yupResolver(\n yup\n .object()\n .shape({\n email: yup\n .string()\n .nullable()\n .required('Your email address is required to create an account or sign in')\n .matches(\n new RegExp(\n /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/,\n ),\n language_strings_en_US?.profile_emailInvalidError,\n ),\n })\n .required(),\n );\n\nexport default EmailSchema;\n","import React, { useContext, useEffect } from 'react';\nimport styled from 'styled-components';\nimport { SubmitHandler, useForm } from 'react-hook-form';\nimport { Events, handleTrackEvent } from 'lib/analytics/trackCalls';\nimport color from 'styles/colors';\nimport { fadein } from 'styles/animations';\nimport { Profile } from 'lib/types/profileType';\nimport { useLanguageStrings } from 'lib/hooks';\nimport { setFlowStage, setIsRegister, setLoading } from 'context/state/reducer';\nimport { AppContext } from 'context/GlobalContextProvider';\nimport { FlowStage } from 'context/state/state';\nimport EmailSchema from 'validations/schemas/EmailSchema';\nimport { Loader, Input, Button, AccountInputCss } from 'components/common';\nimport { Error, Title } from 'pages/account/SharedStyles';\n\nconst copy = {\n createAccountText: 'Create Account or Sign In',\n continueWithEmailText: 'Continue With Email',\n orContinueWithText: 'or continue with',\n};\n\ntype Props = {\n profile: Profile;\n email?: string;\n setEmail?: (email: string) => void;\n setExistingEmail?: (value: boolean) => void;\n};\n\nconst SignInForm = ({\n email,\n setEmail = () => null,\n setExistingEmail = () => null,\n profile,\n}: Props): JSX.Element => {\n const {\n dispatch,\n state: { account, isRegister, isLoading },\n } = useContext(AppContext);\n const { language_strings_en_US } = useLanguageStrings();\n\n type FormData = {\n email: string;\n };\n\n const {\n register,\n handleSubmit,\n reset,\n formState: { errors, isSubmitting, isValid },\n } = useForm({\n mode: 'onChange',\n reValidateMode: 'onBlur',\n resolver: EmailSchema(language_strings_en_US),\n defaultValues: {\n email: email || isRegister?.account?.email || '',\n },\n });\n\n const onSubmit: SubmitHandler = async ({ email }) => {\n dispatch(setLoading(true));\n setEmail(email);\n const res: { found: boolean } = await profile?.status({ email });\n const { found } = res;\n if (found) {\n dispatch(setFlowStage(FlowStage.EXISTING_USER));\n setExistingEmail(true);\n dispatch(setIsRegister(false));\n handleTrackEvent({\n eventName: Events.PROFILE_SIGN_IN_STARTED,\n });\n } else {\n dispatch(setFlowStage(FlowStage.NEW_USER));\n setExistingEmail(false);\n dispatch(setIsRegister(true));\n handleTrackEvent({\n eventName: Events.PROFILE_SIGN_UP_STARTED,\n });\n }\n };\n\n useEffect(() => {\n setEmail('');\n dispatch(setLoading(false));\n reset();\n }, [dispatch, profile, reset, setEmail]);\n\n if (isLoading || isSubmitting) return ;\n\n return (\n <>\n
\n {copy.createAccountText}\n \n {!isValid && errors.email?.message && {errors.email?.message}}\n \n {copy.continueWithEmailText}\n \n \n \n );\n};\n\nexport default SignInForm;\n\nconst Form = styled.form`\n ${fadein};\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n input {\n ${AccountInputCss}\n }\n .invalidEmail {\n color: ${color.white50};\n &:hover {\n background: ${color.bluePrimary};\n color: ${color.white50};\n cursor: default;\n }\n }\n`;\n","import React, { useContext } from 'react';\nimport styled from 'styled-components';\nimport color from 'styles/colors';\nimport { useRouter } from 'next/router';\nimport AppleSignin from 'react-apple-signin-auth';\nimport jwtDecode, { JwtPayload } from 'jwt-decode';\nimport { config, profileConfig, setUpdatedProfile } from 'lib/utils/configs';\nimport { setAccountCookie } from 'lib/utils/helper';\nimport { useFlowManager, useGetProfileSdk } from 'lib/hooks';\nimport {\n setError,\n setFlowStage,\n setIsRegister,\n setIsSocialAuth,\n setLoading,\n} from 'context/state/reducer';\nimport { AppContext } from 'context/GlobalContextProvider';\nimport { FlowStage } from 'context/state/state';\nimport { Icons } from 'components/common';\nimport { ROUTE_MVPD } from 'constants/index';\n\nconst SignInApple = (): JSX.Element => {\n const profile = useGetProfileSdk(profileConfig);\n const { code } = useFlowManager();\n const { dispatch } = useContext(AppContext);\n const router = useRouter();\n\n const handleAppleOnSuccess = async (data: { authorization: { id_token: string } }) => {\n dispatch(setLoading(true));\n const res = jwtDecode(data?.authorization?.id_token);\n dispatch(setIsSocialAuth(true, { ...data, ...res }, 'apple'));\n try {\n setIsRegister(false);\n dispatch(setIsRegister(false, data));\n const appleLoginResponse = await profile.appleLogin({\n appleToken: data?.authorization?.id_token,\n });\n setAccountCookie(appleLoginResponse);\n const updatedProfile = await setUpdatedProfile(appleLoginResponse?.accessToken as string);\n const res = await updatedProfile.userLoggedInOrRegistered({\n regCode: code,\n isRegister: false,\n });\n const shouldRedirectToSuccess = !!(res?.mvpdId && res?.apiKey);\n if (shouldRedirectToSuccess) {\n dispatch(setFlowStage(FlowStage.SUCCESS));\n dispatch(setLoading(false));\n } else {\n dispatch(setFlowStage(''));\n router?.push(ROUTE_MVPD);\n }\n } catch (error) {\n dispatch(setError(error));\n dispatch(setLoading(false));\n dispatch(setIsRegister(true, data));\n dispatch(setFlowStage(FlowStage.LINK));\n }\n };\n\n return (\n dispatch(setError(error))}\n skipScript={false}\n render={(props: any) => (\n \n \n \n )}\n />\n );\n};\n\nexport default SignInApple;\n\nconst SocialButton = styled.button`\n width: 56px;\n height: 56px;\n margin-bottom: 15px;\n border-radius: 50px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: ${color.white};\n cursor: pointer;\n`;\n","import React from 'react';\nimport styled from 'styled-components';\nimport color from 'styles/colors';\nimport { Image } from 'components/common';\n\nexport const GOOGLE_ICON =\n 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNDggNDgiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJNNDQuNSAyMEgyNHY4LjVoMTEuOEMzNC43IDMzLjkgMzAuMSAzNyAyNCAzN2MtNy4yIDAtMTMtNS44LTEzLTEzczUuOC0xMyAxMy0xM2MzLjEgMCA1LjkgMS4xIDguMSAyLjlsNi40LTYuNEMzNC42IDQuMSAyOS42IDIgMjQgMiAxMS44IDIgMiAxMS44IDIgMjRzOS44IDIyIDIyIDIyYzExIDAgMjEtOCAyMS0yMiAwLTEuMy0uMi0yLjctLjUtNHoiLz48L2RlZnM+PGNsaXBQYXRoIGlkPSJiIj48dXNlIHhsaW5rOmhyZWY9IiNhIiBvdmVyZmxvdz0idmlzaWJsZSIvPjwvY2xpcFBhdGg+PHBhdGggY2xpcC1wYXRoPSJ1cmwoI2IpIiBmaWxsPSIjRkJCQzA1IiBkPSJNMCAzN1YxMWwxNyAxM3oiLz48cGF0aCBjbGlwLXBhdGg9InVybCgjYikiIGZpbGw9IiNFQTQzMzUiIGQ9Ik0wIDExbDE3IDEzIDctNi4xTDQ4IDE0VjBIMHoiLz48cGF0aCBjbGlwLXBhdGg9InVybCgjYikiIGZpbGw9IiMzNEE4NTMiIGQ9Ik0wIDM3bDMwLTIzIDcuOSAxTDQ4IDB2NDhIMHoiLz48cGF0aCBjbGlwLXBhdGg9InVybCgjYikiIGZpbGw9IiM0Mjg1RjQiIGQ9Ik00OCA0OEwxNyAyNGwtNC0zIDM1LTEweiIvPjwvc3ZnPgo=';\n\nconst GoogleSignInButton = (): JSX.Element => {\n // const { signIn } = useGetGoogleSignIn();\n const handleOnClick = (e: { preventDefault: () => void }) => {\n e.preventDefault();\n // signIn();\n };\n\n return (\n
\n \n \"Google\n \n
\n );\n};\n\nexport default GoogleSignInButton;\n\nconst SocialButton = styled.button`\n width: 56px;\n height: 56px;\n margin-bottom: 15px;\n border-radius: 50px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: ${color.white};\n cursor: pointer;\n`;\n","import React, { useContext } from 'react';\nimport styled from 'styled-components';\nimport color from 'styles/colors';\nimport { config } from 'lib/utils/configs';\nimport { setError } from 'context/state/reducer';\n\nconst SignInFacebook = (): JSX.Element | null => {\n return null;\n // const profile = useGetProfileSdk(profileConfig);\n // const { code } = useFlowManager();\n // const { dispatch } = useContext(AppContext);\n // const router = useRouter();\n\n // const handleFacebookResponse = async (data: { accessToken: string }) => {\n // dispatch(setLoading(true));\n // dispatch(setIsSocialAuth(true, data, 'facebook'));\n // const { accessToken } = data;\n // try {\n // setIsRegister(false);\n // dispatch(setIsRegister(false, data));\n // const facebookLoginResponse = await profile.facebookLogin({ facebookToken: accessToken });\n // helper.setAccountCookie(facebookLoginResponse);\n // const updatedProfile = await setUpdatedProfile(facebookLoginResponse?.accessToken as string);\n // const res = await updatedProfile.userLoggedInOrRegistered({\n // regCode: code,\n // isRegister: false,\n // });\n // const shouldRedirectToSuccess = !!(res?.mvpdId && res?.apiKey);\n // if (shouldRedirectToSuccess) {\n // dispatch(setFlowStage(FlowStage.SUCCESS));\n // dispatch(setLoading(false));\n // } else {\n // dispatch(setFlowStage(''));\n // router?.push(ROUTE_MVPD);\n // }\n // } catch (error) {\n // dispatch(setError(error));\n // dispatch(setLoading(false));\n // dispatch(setIsRegister(true, data));\n // dispatch(setFlowStage(FlowStage.NEW_USER));\n // }\n // };\n\n return <>;\n};\n\nexport default SignInFacebook;\n\nconst SocialButton = styled.button`\n width: 56px;\n height: 56px;\n margin-bottom: 15px;\n padding: 0;\n border-radius: 50px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: ${color.white};\n cursor: pointer;\n svg {\n width: 30px;\n height: 30px;\n fill: ${color.sanMarino};\n }\n`;\n","import React from 'react';\nimport styled from 'styled-components';\nimport color from 'styles/colors';\nimport AppleSignIn from './Apple';\nimport GoogleSignIn from './Google';\nimport FacebookSignIn from './Facebook';\n\nconst copy = {\n orContinueWithText: 'or continue with',\n};\n\nconst Socials = (): JSX.Element => {\n return (\n \n
{copy.orContinueWithText}
\n
\n
\n \n
Apple
\n
\n
\n \n
Google
\n
\n
\n \n
Facebook
\n
\n
\n
\n );\n};\n\nexport default Socials;\n\nconst ButtonWrap = styled.div`\n color: ${color.white};\n text-align: center;\n width: 100%;\n .signInText {\n margin: 10px auto 20px;\n font-size: 14px;\n letter-spacing: -0.25px;\n text-align: center;\n }\n .socialsContainer {\n display: flex;\n align-items: center;\n justify-content: space-evenly;\n max-width: 256px;\n margin: 0 auto;\n .wrap {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n }\n }\n .iconText {\n font-size: 11px;\n font-weight: 500;\n }\n`;\n","import React, { useContext, useEffect, useState } from 'react';\nimport { SubmitHandler, useForm } from 'react-hook-form';\nimport styled from 'styled-components';\nimport { fadein } from 'styles/animations';\nimport color from 'styles/colors';\nimport { respondTo } from 'styles/helper';\nimport { useLanguageStrings } from 'lib/hooks';\nimport EmailSchema from 'validations/schemas/EmailSchema';\nimport { setError, setFlowStage, setLoading } from 'context/state/reducer';\nimport { AppContext } from 'context/GlobalContextProvider';\nimport { FlowStage } from 'context/state/state';\nimport { AccountInputCss, Button, Input, Loader } from 'components/common';\nimport { Error, Title } from '../../SharedStyles';\nimport { AccountProps } from '../../index.page';\n\nconst ForgotPassword = ({\n profile,\n email = '',\n setEmail = () => null,\n}: AccountProps): JSX.Element => {\n const {\n dispatch,\n state: { account, isLoading, isSocialAuth },\n } = useContext(AppContext);\n const { language_strings_en_US: string } = useLanguageStrings();\n const [resetEmail, setResetEmail] = useState('');\n\n type FormData = {\n email: string;\n };\n\n const {\n reset,\n register,\n handleSubmit,\n formState: { errors, isSubmitting, isValid, isSubmitted },\n } = useForm({\n mode: 'onChange',\n reValidateMode: 'onBlur',\n resolver: EmailSchema(string),\n defaultValues: {\n email: '',\n },\n });\n\n const handleResetPassword = (email: string) => {\n dispatch(setLoading(true));\n if (email) {\n setResetEmail(email);\n try {\n profile?.resetPassword({ email: email, useV2: true });\n } catch (e) {\n dispatch(setError(e));\n } finally {\n dispatch(setLoading(false));\n }\n }\n };\n\n const onSubmit: SubmitHandler = async ({ email }) => {\n handleResetPassword(email);\n };\n\n useEffect(() => {\n dispatch(setLoading(false));\n }, [reset, dispatch, setEmail, email]);\n\n if (isSubmitting || isLoading) return ;\n\n return (\n
\n {isSocialAuth?.value && !isSubmitted && (\n <>\n {email && {email || account?.email}}\n

\n Please enter the email address associated with your account and we’ll send you\n instructions to reset your password.\n

\n \n {!isValid && errors?.email?.message && {errors?.email?.message}}\n \n {string?.profileResetPw_button}\n \n \n )}\n {(!isSocialAuth?.value || isSubmitted) && (\n <>\n {{email || resetEmail || account?.email}}\n

{string?.profileResetPw_emailPromptMessage}

\n {\n dispatch(setFlowStage(FlowStage.LANDING_PAGE));\n dispatch(setLoading(false));\n setEmail('');\n }}\n >\n Back to Sign In\n \n \n )}\n \n );\n};\n\nexport default ForgotPassword;\n\nconst Form = styled.form`\n ${fadein};\n display: flex;\n max-width: 50%;\n width: 100%;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n h1 {\n font-size: 20px;\n ${respondTo.bp_767`\n font-size: 1.5rem; \n `}\n }\n input {\n ${AccountInputCss}\n }\n .invalidEmail {\n color: ${color.white50};\n &:hover {\n background: ${color.bluePrimary};\n color: ${color.white50};\n cursor: default;\n }\n }\n .message {\n font-size: 1.125rem;\n letter-spacing: -0.29px;\n line-height: 20.7px;\n text-align: center;\n }\n`;\n","// eslint-disable-next-line @typescript-eslint/no-var-requires\nconst { yupResolver } = require('@hookform/resolvers/yup');\nimport { FieldValues, ResolverOptions, ResolverResult, UnpackNestedValue } from 'react-hook-form';\nimport * as yup from 'yup';\n\nconst EmailAndPasswordSchema = (\n language_strings_en_US: Record,\n): ((\n values: UnpackNestedValue,\n context: TContext | undefined,\n options: ResolverOptions,\n) => Promise>) =>\n yupResolver(\n yup\n .object()\n .shape({\n email: yup\n .string()\n .nullable()\n .required('Email is required')\n .matches(\n new RegExp(\n /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/,\n ),\n language_strings_en_US?.profile_emailInvalidError,\n ),\n password: yup\n .string()\n .required('You must provide a valid password')\n .min(6, language_strings_en_US?.profile_passwordRequirementsInfo),\n })\n .required(),\n );\n\nexport default EmailAndPasswordSchema;\n","import styled from 'styled-components';\nimport { respondTo } from 'styles/helper';\nimport color from 'styles/colors';\nimport { fadein } from 'styles/animations';\nimport { AccountInputCss } from 'components/common';\n\nexport const Form = styled.form`\n ${fadein};\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n ${respondTo.bp_1099`\n max-width: 38.125rem;\n `}\n\n .message {\n max-width: 574px;\n margin-top: 0;\n padding-bottom: 20px;\n color: #9b9b9b;\n font-size: 18px;\n font-weight: 400;\n letter-spacing: -0.29px;\n line-height: 23px;\n text-align: center;\n }\n\n input {\n ${AccountInputCss}\n &:disabled {\n cursor: initial;\n opacity: 0.5;\n }\n }\n\n .signupFormInputContainer {\n ${respondTo.bp_1099`\n max-width: 38.125rem;\n width: 610px;\n padding: 0 5rem;\n `}\n }\n\n .signInPasswordContainer {\n position: relative;\n display: flex;\n width: 100%;\n flex-direction: column;\n border-radius: 6px;\n ${respondTo.bp_768`\n max-width: 340px;\n `}\n }\n\n .termsText {\n color: ${color.white25};\n font-size: 0.75rem;\n font-weight: normal;\n letter-spacing: 0.000625rem;\n line-height: 1.25;\n ${respondTo.bp_1099`\n font-size: 0.875rem;\n `}\n }\n\n .termsLink {\n color: ${color.white50};\n cursor: pointer;\n font-weight: 500;\n text-decoration: none;\n }\n\n .disclosure {\n display: inline-flex;\n width: 100%;\n max-width: 340px;\n margin: 0 auto 20px;\n color: ${color.altoLight};\n font-family: 'Graphik', sans-serif;\n font-size: 12px;\n font-weight: normal;\n letter-spacing: -0.15px;\n line-height: 19px;\n text-align: left;\n \n a {\n display: contents;\n font-weight: bold;\n }\n }\n\n .wrap {\n position: relative;\n display: flex;\n flex-direction: column;\n margin: 0 auto 20px;\n width: 100%;\n max-width: 340px;\n border-radius: 6px;\n }\n\n .forgotPasswordLink, \n .noProfileCTALink {\n color: #ffffff80;\n cursor: pointer;\n font-size: 14px;\n background: none;\n border: none;\n margin-bottom: 10px;\n letter-spacing: .000625rem;\n }\n\n .invalidEmail,\n .invalidPassword {\n color: ${color.white50};\n cursor: default;\n }\n }\n code {\n font-size: 12px;\n }\n`;\n","import React, { useContext, useEffect } from 'react';\nimport { SubmitHandler, useForm } from 'react-hook-form';\nimport { useRouter } from 'next/router';\nimport { Events, handleTrackEvent } from 'lib/analytics/trackCalls';\nimport { useBoolean, useFlowManager, useLanguageStrings } from 'lib/hooks';\nimport { helper, messageConverter, setUpdatedProfile } from 'lib/utils';\nimport { Profile } from 'lib/types/profileType';\nimport { FlowStage } from 'context/state/state';\nimport { AppContext } from 'context/GlobalContextProvider';\nimport { setError, setFlowStage, setLoading } from 'context/state/reducer';\nimport EmailAndPasswordSchema from 'validations/schemas/EmailAndPasswordSchema';\nimport { Error, PasswordLabel, Title } from 'pages/account/SharedStyles';\nimport { FACEBOOK, GOOGLE, LINKS, ROUTE_HOME, ROUTE_MVPD } from 'constants/index';\nimport { Button, Icons, Input, Link, Loader } from 'components/common';\nimport { Form } from './Form';\nimport { CodeStatusState, LoginType } from 'lib/types/regCodeType';\n\ntype Props = {\n profile: Profile;\n email?: string;\n existingEmail?: boolean;\n setEmail?: (email: string) => void;\n signinShowPassword?: string;\n};\n\nconst EmailPasswordForm = ({ profile, email }: Props): JSX.Element => {\n const {\n state,\n dispatch,\n state: {\n flowStage,\n isRegister,\n isLoading,\n isSocialAuth,\n firstScreenVersion,\n secondScreenVersion,\n },\n } = useContext(AppContext);\n const { code } = useFlowManager();\n const { language_strings_en_US } = useLanguageStrings();\n const { value: passwordShown, toggle } = useBoolean(false);\n const router = useRouter();\n\n type IFormInputs = {\n email: string;\n password: string;\n };\n\n const {\n watch,\n register,\n handleSubmit,\n clearErrors,\n setValue,\n formState: { errors, isSubmitting, dirtyFields },\n } = useForm({\n mode: 'onChange',\n reValidateMode: 'onSubmit',\n resolver: EmailAndPasswordSchema(language_strings_en_US),\n defaultValues: {\n email: '',\n password: '',\n },\n });\n\n const watchEmail = watch('email');\n const userEmail = email || watchEmail || isRegister?.account?.email;\n\n const setUserLoggedInOrRegistered = async (\n accessToken: string | undefined,\n isRegister: boolean | undefined,\n ) => {\n try {\n const updatedProfile = await setUpdatedProfile(accessToken as string);\n const res = await updatedProfile.userLoggedInOrRegistered({\n regCode: code,\n isRegister: isRegister,\n });\n const shouldRedirectToSuccess = !!(res?.mvpdId && res?.apiKey);\n\n if (firstScreenVersion) {\n await updatedProfile.setRegCodeStatus({\n regCode: code,\n firstScreenVersion,\n secondScreenVersion,\n status: {\n loginType: LoginType.fox,\n state: CodeStatusState.ok,\n },\n });\n }\n\n if (shouldRedirectToSuccess) {\n dispatch(setFlowStage(FlowStage.SUCCESS));\n } else {\n router?.push(ROUTE_MVPD);\n }\n } catch (error) {\n dispatch(setError(error));\n router?.push(ROUTE_HOME);\n } finally {\n dispatch(setLoading(false));\n }\n };\n\n const onSubmit: SubmitHandler = async (data: IFormInputs) => {\n if (!profile || !data) return;\n dispatch(setLoading(true));\n try {\n if (flowStage === FlowStage.EXISTING_USER) {\n const loginResponse = await profile.login({ email: userEmail, password: data.password });\n helper.setAccountCookie(loginResponse);\n await setUserLoggedInOrRegistered(loginResponse.accessToken, false);\n handleTrackEvent({\n eventName: Events.PROFILE_SIGN_IN_COMPLETED,\n props: {\n page_profile_type: 'general',\n },\n });\n }\n if (flowStage === FlowStage.NEW_USER) {\n if (state.isRegister.value) {\n // Social reg\n if (isSocialAuth.value) {\n if (isSocialAuth.kind === GOOGLE) {\n try {\n const accountInfo = {\n googleToken: isRegister?.account?.tokenId as string,\n email: userEmail,\n password: data?.password,\n };\n const googleRegisterResponse = await profile?.googleRegister(accountInfo);\n helper.setAccountCookie(googleRegisterResponse);\n await setUserLoggedInOrRegistered(googleRegisterResponse?.accessToken, true);\n } catch (error) {\n dispatch(setError(error));\n }\n }\n if (isSocialAuth.kind === FACEBOOK) {\n try {\n const accountInfo = {\n facebookToken: isSocialAuth?.data?.accessToken as string,\n email: userEmail,\n password: data?.password,\n };\n const facebookRegisterResponse = await profile?.facebookRegister(accountInfo);\n helper.setAccountCookie(facebookRegisterResponse);\n await setUserLoggedInOrRegistered(facebookRegisterResponse?.accessToken, true);\n } catch (error) {\n dispatch(setError(error));\n }\n }\n } else {\n // Profile reg\n const registerResponse = await profile?.register({\n email: userEmail,\n password: data?.password,\n migrateData: true,\n });\n helper.setAccountCookie(registerResponse);\n await setUserLoggedInOrRegistered(registerResponse.accessToken, true);\n }\n handleTrackEvent({\n eventName: Events.PROFILE_SIGN_UP_COMPLETED,\n props: {\n page_profile_type: 'general',\n },\n });\n }\n }\n if (flowStage === FlowStage.LINK) {\n try {\n const appleLinkResponse = await profile?.appleLink({\n appleToken: isSocialAuth?.data?.authorization?.id_token,\n email: userEmail,\n password: data?.password,\n });\n await setUserLoggedInOrRegistered(appleLinkResponse.accessToken, true);\n helper.setAccountCookie(appleLinkResponse);\n } catch (error) {\n dispatch(setError(error));\n }\n }\n } catch (error) {\n dispatch(setError(error));\n dispatch(setLoading(false));\n } finally {\n dispatch(setLoading(false));\n }\n };\n\n const screenProps: Record> = {\n [FlowStage.EXISTING_USER]: {\n buttonText: language_strings_en_US?.global_signInButton,\n headline: 'Welcome Back!',\n forgotPasswordText: language_strings_en_US?.profileSignin_forgotPasswordText,\n },\n [FlowStage.NEW_USER]: {\n buttonText: language_strings_en_US?.profileCreate_createButton,\n message:\n isSocialAuth.kind === FACEBOOK\n ? \"Set a password to enjoy your account perks on any device that doesn't support Facebook login, or if you would like to login without Facebook.\"\n : '',\n headline:\n isSocialAuth.kind === FACEBOOK\n ? language_strings_en_US?.profile_facebookLoginTitle\n : 'Setup your Password',\n disclosure:\n 'By clicking \"Create Account”, you agree to the Terms of Use, Privacy Policy, and agree to receive content and promotional communications from FOX.',\n },\n [FlowStage.LINK]: {\n headline: language_strings_en_US?.profile_createProfileHeader,\n message: language_strings_en_US?.profile_createPasswordInfoSIWA,\n buttonText: language_strings_en_US?.profile_createProfileButton,\n forgotPasswordText: language_strings_en_US?.profileSignin_forgotPasswordText,\n noProfileCTA: language_strings_en_US?.profile_noProfileCTA,\n },\n };\n\n const strings: Record = screenProps[flowStage] as Record;\n\n useEffect(() => {\n clearErrors();\n dispatch(setError(''));\n dispatch(setLoading(false));\n setValue('email', email || isRegister?.account?.email);\n }, [clearErrors, dispatch, email, isRegister?.account?.email, setValue]);\n\n if (isLoading || isSubmitting) return ;\n\n return (\n <>\n
\n {(strings?.headline as string) || ''}\n {strings?.message &&

{(strings?.message as string) || ''}

}\n
\n \n {errors.email && errors.email?.message}\n {flowStage === FlowStage.EXISTING_USER && (\n {\n dispatch(setFlowStage(FlowStage.LANDING_PAGE));\n dispatch(setError(''));\n }}\n >\n \n \n )}\n
\n
\n \n \n \n \n \n {state?.error && (\n \n {messageConverter((state?.error as Error).message, language_strings_en_US)}\n \n )}\n
\n {strings?.disclosure && (\n

\n By clicking Create Account, you agree to the{' '}\n \n {' '}\n Terms of Use,\n {' '}\n \n {' '}\n Privacy Policy,\n {' '}\n and agree to receive content and promotional communications from FOX.\n

\n )}\n \n {strings?.buttonText as string}\n \n {strings?.forgotPasswordText && (\n <>\n {\n try {\n !isSocialAuth?.value && profile?.resetPassword({ email: userEmail, useV2: true });\n dispatch(setFlowStage(FlowStage.FORGOT_PASSWORD));\n } catch (error) {\n dispatch(setError(error));\n }\n }}\n >\n {strings?.forgotPasswordText}\n \n {\n dispatch(setFlowStage(FlowStage.CREATE_PASSWORD));\n }}\n >\n {strings?.noProfileCTA}\n \n \n )}\n \n \n );\n};\n\nexport default EmailPasswordForm;\n","import React, { useContext, useEffect } from 'react';\nimport { useRouter } from 'next/router';\nimport styled from 'styled-components';\nimport color from 'styles/colors';\nimport { Profile } from 'lib/types/profileType';\nimport useSetUserLoggedInOrRegistered from 'lib/utils/useSetUserLoggedInOrRegistered';\nimport { AppContext } from 'context/GlobalContextProvider';\nimport Loader from 'components/common/Loader';\nimport CheckMark from 'components/common/Icons/CheckMark';\nimport { REDIRECT_SECONDS } from 'constants/index';\n\nconst accountCopy = {\n accountSignedIn: \"You're signed in!\",\n accountSignedUp: 'Thanks for Signing Up!',\n};\n\ntype Props = {\n isRegister?: boolean;\n profile: Profile;\n existingEmail?: boolean;\n};\n\nconst Success = ({ profile, existingEmail }: Props): JSX.Element => {\n useSetUserLoggedInOrRegistered({ profile, existingEmail });\n const {\n state: {\n config,\n isRegister: { value: isRegister },\n },\n } = useContext(AppContext);\n const router = useRouter();\n useEffect(() => {\n const redirect = async () => {\n await router.push(process.env.NEXT_PUBLIC_DELTA_SITE_URL || (config?.siteUrl as string));\n };\n const successTimer = setTimeout(redirect, REDIRECT_SECONDS * 1000);\n return () => {\n clearTimeout(successTimer);\n };\n }, [router, config?.siteUrl]);\n\n return (\n \n {}\n

\n {isRegister || !existingEmail ? accountCopy.accountSignedUp : accountCopy.accountSignedIn}\n

\n {}\n
\n );\n};\n\nexport default Success;\n\nconst StyledSuccess = styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n text-align: center;\n margin-top: 15vh;\n svg {\n transform: scale(1.3);\n }\n p {\n padding: 0;\n margin: 15px 0 40px;\n color: ${color.white};\n font-size: 30px;\n font-family: 'Graphik', sans-serif;\n font-weight: 500;\n text-align: center;\n letter-spacing: 0;\n }\n`;\n","import CreatePassword from './CreatePassword';\nimport SignInForm from './SignInForm';\nimport Socials from './Socials';\nimport ForgotPassword from './ForgotPassword';\nimport EmailPasswordForm from './EmailPasswordForm';\nimport Success from './Success';\n\nexport { CreatePassword, SignInForm, Socials, ForgotPassword, EmailPasswordForm, Success };\n","import React, { useContext, useEffect, useState } from 'react';\nimport { useRouter } from 'next/router';\nimport { AppContext } from 'context/GlobalContextProvider';\nimport {\n setFlowStage,\n setIsRegister as setIsRegisterAppState,\n setIsSocialAuth,\n} from 'context/state/reducer';\nimport {\n CreatePassword,\n EmailPasswordForm,\n ForgotPassword,\n SignInForm,\n Success,\n} from './components';\nimport { SEO, Loader } from 'components/common';\nimport { FlowStage } from 'context/state/state';\nimport { Profile } from 'lib/types/profileType';\nimport {\n handleAccountPageEvent,\n setPageAnalyticsData,\n PageNames,\n PageTypes,\n} from 'lib/analytics/trackCalls';\n\nexport type AccountProps = {\n profile: Profile;\n email?: string;\n setEmail?: (email: string) => void;\n setExistingEmail?: (value: boolean) => void;\n};\n\nconst Account = ({ profile }: AccountProps): JSX.Element | null => {\n const [email, setEmail] = useState('');\n const [existingEmail, setExistingEmail] = useState(false);\n const router = useRouter();\n const {\n state: { flowStage },\n dispatch,\n } = useContext(AppContext);\n\n useEffect(() => {\n setPageAnalyticsData({\n pageName: PageNames.PROFILE_PROMPT_LANDING,\n pageType: PageTypes.PROFILE_PROMPT,\n });\n handleAccountPageEvent();\n return () => setPageAnalyticsData({ pageName: '', pageType: '' });\n }, [router]);\n\n useEffect(() => {\n dispatch(setIsSocialAuth(false));\n dispatch(setFlowStage(FlowStage.LANDING_PAGE));\n dispatch(setIsRegisterAppState(undefined, {}));\n }, [dispatch]);\n\n type AccountView = {\n [key: string]: React.ElementType;\n };\n\n const VIEW: AccountView = {\n [FlowStage.LANDING_PAGE]: SignInForm,\n [FlowStage.EXISTING_USER]: EmailPasswordForm,\n [FlowStage.NEW_USER]: EmailPasswordForm,\n [FlowStage.SUCCESS]: Success,\n [FlowStage.FORGOT_PASSWORD]: ForgotPassword,\n [FlowStage.LINK]: EmailPasswordForm,\n [FlowStage.CREATE_PASSWORD]: CreatePassword,\n };\n\n const ViewComponent = VIEW[flowStage] || null;\n\n if (!ViewComponent) return ;\n\n return (\n <>\n \n \n \n );\n};\n\nexport default Account;\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _useScript = _interopRequireDefault(require(\"../hooks/useScript\"));\n\nvar _appleAuthHelpers = _interopRequireDefault(require(\"../appleAuthHelpers\"));\n\nvar _excluded = [\"onSuccess\", \"onError\", \"skipScript\", \"authOptions\", \"iconProps\", \"render\", \"uiType\", \"className\", \"noDefaultStyle\", \"buttonExtraChildren\"];\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/** css styles */\nvar _style = \"\\n.react-apple-signin-auth-btn {\\n background-color: transparent;\\n border: none;\\n padding: 0;\\n cursor: pointer;\\n border-radius: 4px;\\n padding: 0 8px 0 2px;\\n font-size: 14px;\\n font-size: 1em;\\n line-height: 1;\\n border: 1px solid #000;\\n overflow: hidden;\\n display: inline-flex;\\n justify-content: center;\\n align-items: center;\\n}\\n.react-apple-signin-auth-btn-light {\\n background-color: #FFF;\\n color: #000;\\n border-color: #000;\\n}\\n.react-apple-signin-auth-btn-dark {\\n background-color: #000;\\n color: #FFF;\\n border-color: #FFF;\\n}\".replace(/ {2}|\\n/g, '');\n\nvar AppleSigninButton = function AppleSigninButton(_ref) {\n var onSuccess = _ref.onSuccess,\n onError = _ref.onError,\n _ref$skipScript = _ref.skipScript,\n skipScript = _ref$skipScript === void 0 ? false : _ref$skipScript,\n authOptions = _ref.authOptions,\n iconProps = _ref.iconProps,\n render = _ref.render,\n _ref$uiType = _ref.uiType,\n uiType = _ref$uiType === void 0 ? 'dark' : _ref$uiType,\n className = _ref.className,\n _ref$noDefaultStyle = _ref.noDefaultStyle,\n noDefaultStyle = _ref$noDefaultStyle === void 0 ? false : _ref$noDefaultStyle,\n _ref$buttonExtraChild = _ref.buttonExtraChildren,\n buttonExtraChildren = _ref$buttonExtraChild === void 0 ? 'Continue with Apple' : _ref$buttonExtraChild,\n rest = _objectWithoutProperties(_ref, _excluded);\n\n /** load script if neccessary */\n (0, _useScript.default)(skipScript ? null : _appleAuthHelpers.default.APPLE_SCRIPT_SRC);\n /** Button click handler */\n\n var handleClick = function handleClick(e) {\n if (e) {\n e.preventDefault();\n e.stopPropagation();\n }\n\n _appleAuthHelpers.default.signIn({\n authOptions: authOptions,\n onSuccess: onSuccess,\n onError: onError\n });\n };\n /** common props */\n\n\n var props = _objectSpread({\n children: /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(\"svg\", _extends({\n width: \"24px\",\n height: \"44px\",\n viewBox: \"0 0 24 44\"\n }, iconProps), /*#__PURE__*/_react.default.createElement(\"g\", {\n id: \"Left-Black-Logo-Small\",\n stroke: \"none\",\n strokeWidth: \"1\",\n fill: \"none\",\n fillRule: \"evenodd\"\n }, /*#__PURE__*/_react.default.createElement(\"rect\", {\n id: \"Rectangle\",\n fill: uiType === 'light' ? '#FFF' : '#000',\n x: \"0\",\n y: \"0\",\n width: \"24\",\n height: \"44\"\n }), /*#__PURE__*/_react.default.createElement(\"path\", {\n d: \"M12.2337427,16.9879688 C12.8896607,16.9879688 13.7118677,16.5445313 14.2014966,15.9532812 C14.6449341,15.4174609 14.968274,14.6691602 14.968274,13.9208594 C14.968274,13.8192383 14.9590357,13.7176172 14.9405591,13.6344727 C14.2107349,13.6621875 13.3330982,14.1241016 12.8065162,14.7430664 C12.3907935,15.2142188 12.012024,15.9532812 12.012024,16.7108203 C12.012024,16.8216797 12.0305005,16.9325391 12.0397388,16.9694922 C12.0859302,16.9787305 12.1598365,16.9879688 12.2337427,16.9879688 Z M9.92417241,28.1662891 C10.8202857,28.1662891 11.2175318,27.5658008 12.3353638,27.5658008 C13.4716724,27.5658008 13.721106,28.1478125 14.7188404,28.1478125 C15.6980982,28.1478125 16.3540162,27.2424609 16.972981,26.3555859 C17.6658521,25.339375 17.9522388,24.3416406 17.9707154,24.2954492 C17.9060474,24.2769727 16.0306763,23.5101953 16.0306763,21.3576758 C16.0306763,19.491543 17.5088013,18.6508594 17.5919459,18.5861914 C16.612688,17.1819727 15.1253248,17.1450195 14.7188404,17.1450195 C13.6194849,17.1450195 12.7233716,17.8101758 12.1598365,17.8101758 C11.5501099,17.8101758 10.7463794,17.1819727 9.79483648,17.1819727 C7.98413335,17.1819727 6.14571538,18.6785742 6.14571538,21.5054883 C6.14571538,23.2607617 6.8293482,25.1176563 7.67003179,26.3186328 C8.39061773,27.3348438 9.01882085,28.1662891 9.92417241,28.1662891 Z\",\n id: \"\\uF8FF\",\n fill: uiType === 'light' ? '#000' : '#FFF',\n fillRule: \"nonzero\"\n }))), buttonExtraChildren),\n onClick: handleClick\n }, rest);\n /** use render function if passed */\n\n\n if (render) {\n return render(props);\n }\n /** render button */\n\n\n return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(\"button\", _extends({\n className: \"\".concat(noDefaultStyle ? '' : \"react-apple-signin-auth-btn react-apple-signin-auth-btn-\".concat(uiType)).concat(className ? \" \".concat(className) : ''),\n type: \"button\",\n \"aria-label\": \"Signin with apple ID\"\n }, props)), noDefaultStyle ? null : /*#__PURE__*/_react.default.createElement(\"style\", null, _style));\n};\n\nvar _default = AppleSigninButton;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _waitForVar = _interopRequireDefault(require(\"../utils/waitForVar\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar APPLE_SCRIPT_SRC = 'https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js';\n/**\n * Performs an apple ID signIn operation\n */\n\nvar signIn = function signIn(_ref) {\n var authOptions = _ref.authOptions,\n onSuccess = _ref.onSuccess,\n onError = _ref.onError;\n return (\n /** wait for apple sript to load */\n (0, _waitForVar.default)('AppleID').then(function () {\n /** Handle if appleID script was not loaded -- log + throw error to be caught below */\n if (!window.AppleID) {\n console.error(new Error('Error loading apple script'));\n }\n /** Init apple auth */\n\n\n window.AppleID.auth.init(authOptions);\n /** Signin to appleID */\n\n window.AppleID.auth.signIn().then(function (response) {\n /** This is only called in case usePopup is true */\n if (onSuccess) {\n onSuccess(response);\n }\n /** resolve with the reponse */\n\n\n return response;\n });\n }).catch(function (err) {\n if (onError) {\n /** Call onError catching the error */\n onError(err);\n } else {\n /** Log the error to help debug */\n console.error(err);\n }\n\n return null;\n })\n );\n};\n\nvar _default = {\n APPLE_SCRIPT_SRC: APPLE_SCRIPT_SRC,\n signIn: signIn\n};\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = require(\"react\");\n\n/**\n * useScript hook\n *\n * https://usehooks.com/useScript\n */\nfunction useScript(src) {\n (0, _react.useEffect)(function () {\n // Allow falsy src value if waiting on other data needed for\n // constructing the script URL passed to this hook.\n if (!src) {\n return;\n } // Fetch existing script element by src\n // It may have been added by another intance of this hook\n\n\n var script = document.querySelectorAll(\"script[src=\\\"\".concat(src, \"\\\"]\"))[0];\n\n if (!script) {\n // Create script\n script = document.createElement('script');\n script.src = src;\n script.async = true; // Add script to document body\n\n document.body.appendChild(script);\n }\n }, [src] // Only re-run effect if script src changes\n );\n}\n\nvar _default = useScript;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"appleAuthHelpers\", {\n enumerable: true,\n get: function get() {\n return _appleAuthHelpers.default;\n }\n});\nObject.defineProperty(exports, \"useScript\", {\n enumerable: true,\n get: function get() {\n return _useScript.default;\n }\n});\nexports.default = void 0;\n\nvar _AppleSigninButton = _interopRequireDefault(require(\"./AppleSigninButton/AppleSigninButton\"));\n\nvar _appleAuthHelpers = _interopRequireDefault(require(\"./appleAuthHelpers\"));\n\nvar _useScript = _interopRequireDefault(require(\"./hooks/useScript\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar _default = _AppleSigninButton.default;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\n/**\n * Async wait for a variable till it gets defined in a parent\n *\n * • Usage Example: Waiting for async window.FB var to be initialized\n * - eg: `waitForVar('FB').then(FB => FB.test())`\n * - eg: `waitForVar('FB', { pollFrequency: 500, retries: 2, parent: window || global }).then(FB => FB.test())`\n * - eg: `waitForVar('FB', { retries: ({ retries } => retries * 500) }).then(FB => FB.test())`\n */\nvar waitForVar = function waitForVar(name) {\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n pollFrequency: 1000,\n retries: 100,\n parent: window\n },\n _ref$pollFrequency = _ref.pollFrequency,\n pollFrequency = _ref$pollFrequency === void 0 ? 1000 : _ref$pollFrequency,\n _ref$retries = _ref.retries,\n inRetries = _ref$retries === void 0 ? 100 : _ref$retries,\n _ref$parent = _ref.parent,\n parent = _ref$parent === void 0 ? window : _ref$parent;\n\n // eslint-disable-next-line no-prototype-builtins\n if (parent && parent.hasOwnProperty(name)) {\n return Promise.resolve(parent[name]);\n }\n\n if (!inRetries) {\n return Promise.resolve(undefined);\n }\n\n var retries = inRetries - 1;\n return new Promise(function (resolve) {\n return setTimeout(resolve, typeof pollFrequency === 'function' ? pollFrequency({\n retries: retries\n }) : pollFrequency);\n }).then(function () {\n return waitForVar(name, {\n pollFrequency: pollFrequency,\n parent: parent,\n retries: retries\n });\n });\n};\n\nvar _default = waitForVar;\nexports.default = _default;","(self[\"webpackChunk_N_E\"] = self[\"webpackChunk_N_E\"] || []).push([[966],{\n\n/***/ 6245:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"InvalidTokenError\": function() { return /* binding */ n; }\n/* harmony export */ });\nfunction e(e){this.message=e}e.prototype=new Error,e.prototype.name=\"InvalidCharacterError\";var r=\"undefined\"!=typeof window&&window.atob&&window.atob.bind(window)||function(r){var t=String(r).replace(/=+$/,\"\");if(t.length%4==1)throw new e(\"'atob' failed: The string to be decoded is not correctly encoded.\");for(var n,o,a=0,i=0,c=\"\";o=t.charAt(i++);~o&&(n=a%4?64*n+o:o,a++%4)?c+=String.fromCharCode(255&n>>(-2*a&6)):0)o=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\".indexOf(o);return c};function t(e){var t=e.replace(/-/g,\"+\").replace(/_/g,\"/\");switch(t.length%4){case 0:break;case 2:t+=\"==\";break;case 3:t+=\"=\";break;default:throw\"Illegal base64url string!\"}try{return function(e){return decodeURIComponent(r(e).replace(/(.)/g,(function(e,r){var t=r.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t=\"0\"+t),\"%\"+t})))}(t)}catch(e){return r(t)}}function n(e){this.message=e}function o(e,r){if(\"string\"!=typeof e)throw new n(\"Invalid token specified\");var o=!0===(r=r||{}).header?0:1;try{return JSON.parse(t(e.split(\".\")[o]))}catch(e){throw new n(\"Invalid token specified: \"+e.message)}}n.prototype=new Error,n.prototype.name=\"InvalidTokenError\";/* harmony default export */ __webpack_exports__[\"default\"] = (o);\n//# sourceMappingURL=jwt-decode.esm.js.map\n\n\n/***/ }),\n\n/***/ 751:\n/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {\n\n\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/account\",\n function () {\n return __webpack_require__(3968);\n }\n ]);\n if(false) {}\n \n\n/***/ }),\n\n/***/ 8510:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"B\": function() { return /* binding */ LoginType; },\n/* harmony export */ \"G\": function() { return /* binding */ CodeStatusState; }\n/* harmony export */ });\nvar LoginType;\n(function(LoginType) {\n LoginType[\"fox\"] = 'FOX';\n LoginType[\"mvpd\"] = 'MVPD';\n})(LoginType || (LoginType = {}));\nvar CodeStatusState;\n(function(CodeStatusState) {\n CodeStatusState[\"ok\"] = 'OK';\n CodeStatusState[\"aborted\"] = 'ABORTED';\n CodeStatusState[\"failed\"] = 'FAILED';\n})(CodeStatusState || (CodeStatusState = {}));\n\n\n/***/ }),\n\n/***/ 6179:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Dx\": function() { return /* binding */ Title; },\n/* harmony export */ \"ru\": function() { return /* binding */ PasswordLabel; },\n/* harmony export */ \"jj\": function() { return /* binding */ Error; }\n/* harmony export */ });\n/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7379);\n/* harmony import */ var styles_helper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9900);\n/* harmony import */ var styles_colors__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2317);\n/* harmony import */ var styles_animations__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3167);\n\n\n\n\nfunction _taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}\nfunction _templateObject() {\n var data = _taggedTemplateLiteral([\n \"\\n font-size: 40px;\\n letter-spacing: -0.5px;\\n \"\n ]);\n _templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nfunction _templateObject1() {\n var data = _taggedTemplateLiteral([\n \"\\n \",\n \";\\n display: \",\n \";\\n width: 100%;\\n font: inherit;\\n font-size: 1.125rem;\\n font-weight: 500;\\n font-style: normal;\\n font-stretch: normal;\\n text-align: center;\\n color: \",\n \";\\n letter-spacing: normal;\\n margin: 2rem auto;\\n \",\n \"\\n\"\n ]);\n _templateObject1 = function _templateObject1() {\n return data;\n };\n return data;\n}\nfunction _templateObject2() {\n var data = _taggedTemplateLiteral([\n \"\\n display: flex;\\n margin: 0 auto;\\n cursor: pointer;\\n position: absolute;\\n right: 5px;\\n top: 14px;\\n span {\\n width: 1.5rem;\\n height: 1.5rem;\\n border: solid 1px \",\n \";\\n border-radius: 75% 5%;\\n position: relative;\\n transform: rotate(45deg);\\n opacity: 0.25;\\n margin: auto 0.75rem auto 0.5rem;\\n &:after {\\n content: '';\\n display: block;\\n position: absolute;\\n width: 0.5rem;\\n height: 0.5rem;\\n border: solid 1px \",\n \";\\n border-radius: 50%;\\n left: 0.45rem;\\n top: 0.45rem;\\n }\\n }\\n input {\\n opacity: 0;\\n position: absolute;\\n cursor: pointer;\\n &:checked ~ span {\\n background-color: \",\n \";\\n opacity: 1;\\n }\\n &:checked ~ span:after {\\n background-color: \",\n \";\\n width: 0.75rem;\\n height: 0.75rem;\\n left: 0.34rem;\\n top: 0.34rem;\\n opacity: 1;\\n }\\n }\\n svg {\\n fill: \",\n \";\\n }\\n\"\n ]);\n _templateObject2 = function _templateObject2() {\n return data;\n };\n return data;\n}\nfunction _templateObject3() {\n var data = _taggedTemplateLiteral([\n \"\\n display: block;\\n margin: 0.5rem 0;\\n font-size: 11px;\\n color: \",\n \";\\n line-height: 1.125rem;\\n letter-spacing: 0.000625rem;\\n\"\n ]);\n _templateObject3 = function _templateObject3() {\n return data;\n };\n return data;\n}\nvar Title = styled_components__WEBPACK_IMPORTED_MODULE_3__/* [\"default\"].h1.withConfig */ .ZP.h1.withConfig({\n componentId: \"sc-136d3799-0\"\n})(_templateObject1(), styles_animations__WEBPACK_IMPORTED_MODULE_2__/* .fadein */ .jF, function(props) {\n return props.show ? 'block' : 'none';\n}, styles_colors__WEBPACK_IMPORTED_MODULE_1__/* [\"default\"].white */ .Z.white, styles_helper__WEBPACK_IMPORTED_MODULE_0__/* .respondTo.bp_767 */ .s.bp_767(_templateObject()));\nvar PasswordLabel = styled_components__WEBPACK_IMPORTED_MODULE_3__/* [\"default\"].label.withConfig */ .ZP.label.withConfig({\n componentId: \"sc-136d3799-1\"\n})(_templateObject2(), styles_colors__WEBPACK_IMPORTED_MODULE_1__/* [\"default\"].white */ .Z.white, styles_colors__WEBPACK_IMPORTED_MODULE_1__/* [\"default\"].white */ .Z.white, styles_colors__WEBPACK_IMPORTED_MODULE_1__/* [\"default\"].white */ .Z.white, styles_colors__WEBPACK_IMPORTED_MODULE_1__/* [\"default\"].black */ .Z.black, styles_colors__WEBPACK_IMPORTED_MODULE_1__/* [\"default\"].white50 */ .Z.white50);\nvar Error = styled_components__WEBPACK_IMPORTED_MODULE_3__/* [\"default\"].span.withConfig */ .ZP.span.withConfig({\n componentId: \"sc-136d3799-2\"\n})(_templateObject3(), styles_colors__WEBPACK_IMPORTED_MODULE_1__/* [\"default\"].errorRed */ .Z.errorRed);\n\n\n\n/***/ }),\n\n/***/ 3968:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n// ESM COMPAT FLAG\n__webpack_require__.r(__webpack_exports__);\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"default\": function() { return /* binding */ index_page; }\n});\n\n// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js\nvar jsx_runtime = __webpack_require__(5893);\n// EXTERNAL MODULE: ./node_modules/react/index.js\nvar react = __webpack_require__(7294);\n// EXTERNAL MODULE: ./node_modules/next/router.js\nvar next_router = __webpack_require__(1163);\n// EXTERNAL MODULE: ./context/GlobalContextProvider.tsx\nvar GlobalContextProvider = __webpack_require__(1387);\n// EXTERNAL MODULE: ./context/state/reducer.ts + 1 modules\nvar reducer = __webpack_require__(2807);\n// EXTERNAL MODULE: ./node_modules/next/dist/compiled/regenerator-runtime/runtime.js\nvar runtime = __webpack_require__(4051);\nvar runtime_default = /*#__PURE__*/__webpack_require__.n(runtime);\n// EXTERNAL MODULE: ./node_modules/react-hook-form/dist/index.esm.mjs\nvar index_esm = __webpack_require__(7536);\n// EXTERNAL MODULE: ./lib/hooks/index.ts + 6 modules\nvar hooks = __webpack_require__(8113);\n// EXTERNAL MODULE: ./lib/utils/index.ts + 2 modules\nvar utils = __webpack_require__(4038);\n// EXTERNAL MODULE: ./node_modules/yup/es/index.js + 25 modules\nvar es = __webpack_require__(4231);\n;// CONCATENATED MODULE: ./validations/schemas/PasswordSchema.ts\n\n// eslint-disable-next-line @typescript-eslint/no-var-requires\nvar yupResolver = (__webpack_require__(5496)/* .yupResolver */ .X);\nvar PasswordSchema = function(language_strings_en_US) {\n return yupResolver(es/* object */.Ry().shape({\n password: es/* string */.Z_().required('You must provide a valid password').min(6, language_strings_en_US === null || language_strings_en_US === void 0 ? void 0 : language_strings_en_US.profile_passwordRequirementsInfo)\n }).required());\n};\n/* harmony default export */ var schemas_PasswordSchema = (PasswordSchema);\n\n// EXTERNAL MODULE: ./context/state/state.ts\nvar state_state = __webpack_require__(9717);\n// EXTERNAL MODULE: ./constants/index.ts\nvar constants = __webpack_require__(1407);\n// EXTERNAL MODULE: ./components/common/index.tsx + 5 modules\nvar common = __webpack_require__(8761);\n// EXTERNAL MODULE: ./components/common/Link/index.tsx\nvar Link = __webpack_require__(6754);\n// EXTERNAL MODULE: ./pages/account/SharedStyles.ts\nvar SharedStyles = __webpack_require__(6179);\n// EXTERNAL MODULE: ./node_modules/styled-components/dist/styled-components.browser.esm.js + 4 modules\nvar styled_components_browser_esm = __webpack_require__(7379);\n// EXTERNAL MODULE: ./styles/helper.ts + 1 modules\nvar helper = __webpack_require__(9900);\n// EXTERNAL MODULE: ./styles/colors.ts\nvar colors = __webpack_require__(2317);\n// EXTERNAL MODULE: ./styles/animations.ts\nvar animations = __webpack_require__(3167);\n;// CONCATENATED MODULE: ./pages/account/components/CreatePassword/Form.tsx\n\n\n\n\n\nfunction _taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}\nfunction _templateObject() {\n var data = _taggedTemplateLiteral([\n \"\\n max-width: 38.125rem;\\n \"\n ]);\n _templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nfunction _templateObject1() {\n var data = _taggedTemplateLiteral([\n \"\\n max-width: 38.125rem;\\n width: 610px;\\n padding: 0 5rem;\\n \"\n ]);\n _templateObject1 = function _templateObject1() {\n return data;\n };\n return data;\n}\nfunction _templateObject2() {\n var data = _taggedTemplateLiteral([\n \"\\n max-width: 340px;\\n \"\n ]);\n _templateObject2 = function _templateObject2() {\n return data;\n };\n return data;\n}\nfunction _templateObject3() {\n var data = _taggedTemplateLiteral([\n \"\\n font-size: 0.875rem;\\n \"\n ]);\n _templateObject3 = function _templateObject3() {\n return data;\n };\n return data;\n}\nfunction _templateObject4() {\n var data = _taggedTemplateLiteral([\n \"\\n \",\n \";\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n width: 100%;\\n \",\n \"\\n\\n .message {\\n max-width: 574px;\\n margin-top: 0;\\n padding-bottom: 20px;\\n color: #9b9b9b;\\n font-size: 18px;\\n font-weight: 400;\\n letter-spacing: -0.29px;\\n line-height: 23px;\\n text-align: center;\\n }\\n\\n input {\\n \",\n \"\\n &:disabled {\\n cursor: initial;\\n opacity: 0.5;\\n }\\n }\\n\\n .signupFormInputContainer {\\n \",\n \"\\n }\\n\\n .signInPasswordContainer {\\n position: relative;\\n display: flex;\\n width: 100%;\\n flex-direction: column;\\n border-radius: 6px;\\n \",\n \"\\n }\\n\\n .termsText {\\n color: \",\n \";\\n font-size: 0.75rem;\\n font-weight: normal;\\n letter-spacing: 0.000625rem;\\n line-height: 1.25;\\n \",\n \"\\n }\\n\\n .termsLink {\\n color: \",\n \";\\n cursor: pointer;\\n font-weight: 500;\\n text-decoration: none;\\n }\\n\\n .disclosure {\\n display: inline-flex;\\n width: 100%;\\n max-width: 340px;\\n margin: 1rem auto 20px;\\n color: \",\n \";\\n font-family: 'Graphik', sans-serif;\\n font-size: 12px;\\n font-weight: normal;\\n letter-spacing: -0.15px;\\n line-height: 19px;\\n text-align: left;\\n\\n a {\\n display: contents;\\n font-weight: bold;\\n }\\n }\\n\\n .wrap {\\n position: relative;\\n display: flex;\\n flex-direction: column;\\n margin: 0 auto;\\n width: 100%;\\n max-width: 340px;\\n border-radius: 6px;\\n }\\n\\n .invalidEmail {\\n color: \",\n \";\\n cursor: default;\\n }\\n\\n .linkToExisting {\\n color: #ffffff80;\\n cursor: pointer;\\n font-size: 14px;\\n background: none;\\n border: none;\\n margin-bottom: 10px;\\n letter-spacing: 0.000625rem;\\n }\\n\"\n ]);\n _templateObject4 = function _templateObject4() {\n return data;\n };\n return data;\n}\nvar Form = styled_components_browser_esm/* default.form.withConfig */.ZP.form.withConfig({\n componentId: \"sc-94ec9cdd-0\"\n})(_templateObject4(), animations/* fadein */.jF, helper/* respondTo.bp_1099 */.s.bp_1099(_templateObject()), common/* AccountInputCss */.jR, helper/* respondTo.bp_1099 */.s.bp_1099(_templateObject1()), helper/* respondTo.bp_768 */.s.bp_768(_templateObject2()), colors/* default.white25 */.Z.white25, helper/* respondTo.bp_1099 */.s.bp_1099(_templateObject3()), colors/* default.white50 */.Z.white50, colors/* default.altoLight */.Z.altoLight, colors/* default.white50 */.Z.white50);\n\n;// CONCATENATED MODULE: ./pages/account/components/CreatePassword/index.tsx\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nfunction _asyncToGenerator(fn) {\n return function() {\n var self = this, args = arguments;\n return new Promise(function(resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _objectSpread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n _defineProperty(target, key, source[key]);\n });\n }\n return target;\n}\nvar CreatePassword = function(param) {\n var profile = param.profile, _email = param.email, email = _email === void 0 ? '' : _email, _setEmail = param.setEmail, setEmail = _setEmail === void 0 ? function() {\n return null;\n } : _setEmail;\n var ref, ref1;\n var ref2 = (0,react.useContext)(GlobalContextProvider/* AppContext */.I), state = ref2.state, dispatch = ref2.dispatch, _state = ref2.state, account = _state.account, isLoading = _state.isLoading, _isSocialAuth = _state.isSocialAuth, _data = _isSocialAuth.data, appleEmail = _data.email, id_token = _data.authorization.id_token;\n var ref3 = (0,hooks/* useLanguageStrings */.F2)(), string = ref3.language_strings_en_US;\n var ref4 = (0,hooks/* useBoolean */.kt)(false), passwordShown = ref4.value, toggle = ref4.toggle;\n var code = (0,hooks/* useFlowManager */.ix)().code;\n var router = (0,next_router.useRouter)();\n var ref5 = (0,index_esm/* useForm */.cI)({\n mode: 'onChange',\n reValidateMode: 'onSubmit',\n resolver: schemas_PasswordSchema(string),\n defaultValues: {\n password: ''\n }\n }), register = ref5.register, handleSubmit = ref5.handleSubmit, reset = ref5.reset, _formState = ref5.formState, errors = _formState.errors, isSubmitting = _formState.isSubmitting, isValid = _formState.isValid;\n var onSubmit = function() {\n var _ref = _asyncToGenerator(runtime_default().mark(function _callee(data) {\n var appleResponse, updatedProfile, res, shouldRedirectToSuccess;\n return runtime_default().wrap(function _callee$(_ctx) {\n while(1)switch(_ctx.prev = _ctx.next){\n case 0:\n dispatch((0,reducer/* setLoading */.K4)(true));\n _ctx.prev = 1;\n _ctx.next = 4;\n return profile.appleRegister({\n email: appleEmail,\n password: data === null || data === void 0 ? void 0 : data.password,\n appleToken: id_token\n });\n case 4:\n appleResponse = _ctx.sent;\n utils/* helper.setAccountCookie */._y.setAccountCookie(appleResponse);\n _ctx.next = 8;\n return (0,utils/* setUpdatedProfile */.CL)(appleResponse === null || appleResponse === void 0 ? void 0 : appleResponse.accessToken);\n case 8:\n updatedProfile = _ctx.sent;\n _ctx.next = 11;\n return updatedProfile.userLoggedInOrRegistered({\n regCode: code,\n isRegister: true\n });\n case 11:\n res = _ctx.sent;\n shouldRedirectToSuccess = !!((res === null || res === void 0 ? void 0 : res.mvpdId) && (res === null || res === void 0 ? void 0 : res.apiKey));\n if (shouldRedirectToSuccess) {\n dispatch((0,reducer/* setFlowStage */.Kc)(state_state/* FlowStage.SUCCESS */.n.SUCCESS));\n dispatch((0,reducer/* setLoading */.K4)(false));\n } else {\n dispatch((0,reducer/* setIsRegister */.ko)(true, res));\n dispatch((0,reducer/* setFlowStage */.Kc)(''));\n router === null || router === void 0 ? void 0 : router.push(constants/* ROUTE_MVPD */.W3);\n }\n _ctx.next = 19;\n break;\n case 16:\n _ctx.prev = 16;\n _ctx.t0 = _ctx[\"catch\"](1);\n dispatch((0,reducer/* setError */.sT)(_ctx.t0));\n case 19:\n case \"end\":\n return _ctx.stop();\n }\n }, _callee, null, [\n [\n 1,\n 16\n ]\n ]);\n }));\n return function onSubmit(data) {\n return _ref.apply(this, arguments);\n };\n }();\n (0,react.useEffect)(function() {\n reset();\n dispatch((0,reducer/* setLoading */.K4)(false));\n setEmail(email);\n }, [\n reset,\n dispatch,\n setEmail,\n email\n ]);\n if (isSubmitting || isLoading) return(/*#__PURE__*/ (0,jsx_runtime.jsx)(common/* Loader */.aN, {\n abCenter: true\n }));\n return(/*#__PURE__*/ (0,jsx_runtime.jsxs)(Form, {\n onSubmit: handleSubmit(onSubmit),\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(SharedStyles/* Title */.Dx, {\n show: true,\n children: \"Create Password\"\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"p\", {\n className: \"message\",\n children: \"If you have an existing account, sign in and we'll link your Apple ID so you can access your watchlist and other account perks.\"\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"p\", {\n children: email || appleEmail || (account === null || account === void 0 ? void 0 : account.email)\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(\"div\", {\n className: \"wrap\",\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(common/* Input */.II, _objectSpread({\n autoFocus: true,\n placeholder: string === null || string === void 0 ? void 0 : string.profile_createNewPwInputPlaceholder\n }, register('password'), {\n type: passwordShown ? 'text' : 'password'\n })),\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(SharedStyles/* PasswordLabel */.ru, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"input\", {\n type: \"checkbox\",\n value: passwordShown === null || passwordShown === void 0 ? void 0 : passwordShown.toString(),\n name: \"passwordShown\"\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"span\", {\n onClick: toggle\n })\n ]\n }),\n ((state === null || state === void 0 ? void 0 : state.error) || (errors === null || errors === void 0 ? void 0 : errors.password)) && /*#__PURE__*/ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {\n children: [\n (state === null || state === void 0 ? void 0 : state.error) && /*#__PURE__*/ (0,jsx_runtime.jsx)(SharedStyles/* Error */.jj, {\n children: (0,utils/* messageConverter */.z3)((state === null || state === void 0 ? void 0 : state.error).message, string)\n }),\n (errors === null || errors === void 0 ? void 0 : errors.password) && /*#__PURE__*/ (0,jsx_runtime.jsx)(SharedStyles/* Error */.jj, {\n children: errors === null || errors === void 0 ? void 0 : (ref = errors.password) === null || ref === void 0 ? void 0 : ref.message\n })\n ]\n })\n ]\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(\"p\", {\n className: \"disclosure\",\n children: [\n \"By clicking Create Account, you agree to the\",\n ' ',\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(Link/* default */.Z, {\n external: true,\n href: constants/* LINKS.TERMS_LINK */.BA.TERMS_LINK,\n target: constants/* LINKS.target */.BA.target,\n children: [\n ' ',\n \"Terms of Use,\"\n ]\n }),\n ' ',\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(Link/* default */.Z, {\n \"data-testid\": \"link\",\n external: true,\n href: constants/* LINKS.PRIVACY_POLICY */.BA.PRIVACY_POLICY,\n target: constants/* LINKS.target */.BA.target,\n children: [\n ' ',\n \"Privacy Policy,\"\n ]\n }),\n ' ',\n \"and agree to receive content and promotional communications from FOX.\"\n ]\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(common/* Button */.zx, {\n type: \"submit\",\n kind: \"default\",\n disabled: !isValid || Boolean(errors === null || errors === void 0 ? void 0 : (ref1 = errors.password) === null || ref1 === void 0 ? void 0 : ref1.message) || isSubmitting,\n onClick: function() {\n console.log('CreatePassword');\n },\n children: \"Link Account\"\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"button\", {\n className: \"linkToExisting\",\n onClick: function() {\n dispatch((0,reducer/* setFlowStage */.Kc)(state_state/* FlowStage.LINK */.n.LINK));\n },\n children: \"Link to existing FOX account\"\n })\n ]\n })\n ]\n }));\n};\n/* harmony default export */ var components_CreatePassword = (CreatePassword);\n\n// EXTERNAL MODULE: ./lib/analytics/trackCalls.ts + 4 modules\nvar trackCalls = __webpack_require__(2896);\n;// CONCATENATED MODULE: ./validations/schemas/EmailSchema.ts\n\n// eslint-disable-next-line @typescript-eslint/no-var-requires\nvar EmailSchema_yupResolver = (__webpack_require__(5496)/* .yupResolver */ .X);\nvar EmailSchema = function(language_strings_en_US) {\n return EmailSchema_yupResolver(es/* object */.Ry().shape({\n email: es/* string */.Z_().nullable().required('Your email address is required to create an account or sign in').matches(new RegExp(/^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/), language_strings_en_US === null || language_strings_en_US === void 0 ? void 0 : language_strings_en_US.profile_emailInvalidError)\n }).required());\n};\n/* harmony default export */ var schemas_EmailSchema = (EmailSchema);\n\n;// CONCATENATED MODULE: ./pages/account/components/SignInForm/index.tsx\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction SignInForm_asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nfunction SignInForm_asyncToGenerator(fn) {\n return function() {\n var self = this, args = arguments;\n return new Promise(function(resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n SignInForm_asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n SignInForm_asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}\nfunction SignInForm_defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction SignInForm_objectSpread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n SignInForm_defineProperty(target, key, source[key]);\n });\n }\n return target;\n}\nfunction SignInForm_taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}\nfunction SignInForm_templateObject() {\n var data = SignInForm_taggedTemplateLiteral([\n \"\\n \",\n \";\\n width: 100%;\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n justify-content: flex-start;\\n input {\\n \",\n \"\\n }\\n .invalidEmail {\\n color: \",\n \";\\n &:hover {\\n background: \",\n \";\\n color: \",\n \";\\n cursor: default;\\n }\\n }\\n\"\n ]);\n SignInForm_templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nvar copy = {\n createAccountText: 'Create Account or Sign In',\n continueWithEmailText: 'Continue With Email',\n orContinueWithText: 'or continue with'\n};\nvar SignInForm = function(param1) {\n var email1 = param1.email, _setEmail = param1.setEmail, setEmail = _setEmail === void 0 ? function() {\n return null;\n } : _setEmail, _setExistingEmail = param1.setExistingEmail, setExistingEmail = _setExistingEmail === void 0 ? function() {\n return null;\n } : _setExistingEmail, profile = param1.profile;\n var ref, ref1, ref2, ref3;\n var ref4 = (0,react.useContext)(GlobalContextProvider/* AppContext */.I), dispatch = ref4.dispatch, _state = ref4.state, account = _state.account, isRegister = _state.isRegister, isLoading = _state.isLoading;\n var language_strings_en_US = (0,hooks/* useLanguageStrings */.F2)().language_strings_en_US;\n var ref5 = (0,index_esm/* useForm */.cI)({\n mode: 'onChange',\n reValidateMode: 'onBlur',\n resolver: schemas_EmailSchema(language_strings_en_US),\n defaultValues: {\n email: email1 || (isRegister === null || isRegister === void 0 ? void 0 : (ref = isRegister.account) === null || ref === void 0 ? void 0 : ref.email) || ''\n }\n }), register = ref5.register, handleSubmit = ref5.handleSubmit, reset = ref5.reset, _formState = ref5.formState, errors = _formState.errors, isSubmitting = _formState.isSubmitting, isValid = _formState.isValid;\n var onSubmit = function() {\n var _ref = SignInForm_asyncToGenerator(runtime_default().mark(function _callee(param) {\n var email, res, found;\n return runtime_default().wrap(function _callee$(_ctx) {\n while(1)switch(_ctx.prev = _ctx.next){\n case 0:\n email = param.email;\n dispatch((0,reducer/* setLoading */.K4)(true));\n setEmail(email);\n _ctx.next = 5;\n return profile === null || profile === void 0 ? void 0 : profile.status({\n email: email\n });\n case 5:\n res = _ctx.sent;\n found = res.found;\n if (found) {\n dispatch((0,reducer/* setFlowStage */.Kc)(state_state/* FlowStage.EXISTING_USER */.n.EXISTING_USER));\n setExistingEmail(true);\n dispatch((0,reducer/* setIsRegister */.ko)(false));\n (0,trackCalls/* handleTrackEvent */.GV)({\n eventName: trackCalls/* Events.PROFILE_SIGN_IN_STARTED */.zW.PROFILE_SIGN_IN_STARTED\n });\n } else {\n dispatch((0,reducer/* setFlowStage */.Kc)(state_state/* FlowStage.NEW_USER */.n.NEW_USER));\n setExistingEmail(false);\n dispatch((0,reducer/* setIsRegister */.ko)(true));\n (0,trackCalls/* handleTrackEvent */.GV)({\n eventName: trackCalls/* Events.PROFILE_SIGN_UP_STARTED */.zW.PROFILE_SIGN_UP_STARTED\n });\n }\n case 8:\n case \"end\":\n return _ctx.stop();\n }\n }, _callee);\n }));\n return function onSubmit(_) {\n return _ref.apply(this, arguments);\n };\n }();\n (0,react.useEffect)(function() {\n setEmail('');\n dispatch((0,reducer/* setLoading */.K4)(false));\n reset();\n }, [\n dispatch,\n profile,\n reset,\n setEmail\n ]);\n if (isLoading || isSubmitting) return(/*#__PURE__*/ (0,jsx_runtime.jsx)(common/* Loader */.aN, {\n abCenter: true\n }));\n return(/*#__PURE__*/ (0,jsx_runtime.jsx)(jsx_runtime.Fragment, {\n children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(SignInForm_Form, {\n onSubmit: handleSubmit(onSubmit),\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(SharedStyles/* Title */.Dx, {\n show: true,\n children: copy.createAccountText\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(common/* Input */.II, SignInForm_objectSpread({\n placeholder: \"Email\"\n }, register('email'), {\n defaultValue: email1 || (account === null || account === void 0 ? void 0 : account.email) || '',\n type: \"email\"\n })),\n !isValid && ((ref1 = errors.email) === null || ref1 === void 0 ? void 0 : ref1.message) && /*#__PURE__*/ (0,jsx_runtime.jsx)(SharedStyles/* Error */.jj, {\n children: (ref2 = errors.email) === null || ref2 === void 0 ? void 0 : ref2.message\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(common/* Button */.zx, {\n kind: \"default\",\n disabled: !isValid || Boolean((ref3 = errors.email) === null || ref3 === void 0 ? void 0 : ref3.message) || isSubmitting,\n children: copy.continueWithEmailText\n })\n ]\n })\n }));\n};\n/* harmony default export */ var components_SignInForm = (SignInForm);\nvar SignInForm_Form = styled_components_browser_esm/* default.form.withConfig */.ZP.form.withConfig({\n componentId: \"sc-7efd840b-0\"\n})(SignInForm_templateObject(), animations/* fadein */.jF, common/* AccountInputCss */.jR, colors/* default.white50 */.Z.white50, colors/* default.bluePrimary */.Z.bluePrimary, colors/* default.white50 */.Z.white50);\n\n// EXTERNAL MODULE: ./node_modules/react-apple-signin-auth/dist/index.js\nvar dist = __webpack_require__(6701);\n// EXTERNAL MODULE: ./node_modules/jwt-decode/build/jwt-decode.esm.js\nvar jwt_decode_esm = __webpack_require__(6245);\n// EXTERNAL MODULE: ./lib/utils/configs.ts\nvar configs = __webpack_require__(2670);\n// EXTERNAL MODULE: ./lib/utils/helper.ts\nvar utils_helper = __webpack_require__(9981);\n;// CONCATENATED MODULE: ./pages/account/components/Socials/Apple/index.tsx\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction Apple_asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nfunction Apple_asyncToGenerator(fn) {\n return function() {\n var self = this, args = arguments;\n return new Promise(function(resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n Apple_asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n Apple_asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}\nfunction Apple_defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction Apple_objectSpread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n Apple_defineProperty(target, key, source[key]);\n });\n }\n return target;\n}\nfunction Apple_taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}\nfunction Apple_templateObject() {\n var data = Apple_taggedTemplateLiteral([\n \"\\n width: 56px;\\n height: 56px;\\n margin-bottom: 15px;\\n border-radius: 50px;\\n position: relative;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n border: none;\\n background-color: \",\n \";\\n cursor: pointer;\\n\"\n ]);\n Apple_templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nvar SignInApple = function() {\n var ref2;\n var profile = useGetProfileSdk(profileConfig);\n var code = useFlowManager().code;\n var dispatch = useContext(AppContext).dispatch;\n var router = useRouter();\n var handleAppleOnSuccess = function() {\n var _ref = Apple_asyncToGenerator(regeneratorRuntime.mark(function _callee(data) {\n var ref, res, ref1, appleLoginResponse, updatedProfile, res1, shouldRedirectToSuccess;\n return regeneratorRuntime.wrap(function _callee$(_ctx) {\n while(1)switch(_ctx.prev = _ctx.next){\n case 0:\n ;\n dispatch(setLoading(true));\n res = jwtDecode(data === null || data === void 0 ? void 0 : (ref = data.authorization) === null || ref === void 0 ? void 0 : ref.id_token);\n dispatch(setIsSocialAuth(true, Apple_objectSpread({}, data, res), 'apple'));\n _ctx.prev = 4;\n ;\n setIsRegister(false);\n dispatch(setIsRegister(false, data));\n _ctx.next = 10;\n return profile.appleLogin({\n appleToken: data === null || data === void 0 ? void 0 : (ref1 = data.authorization) === null || ref1 === void 0 ? void 0 : ref1.id_token\n });\n case 10:\n appleLoginResponse = _ctx.sent;\n setAccountCookie(appleLoginResponse);\n _ctx.next = 14;\n return setUpdatedProfile(appleLoginResponse === null || appleLoginResponse === void 0 ? void 0 : appleLoginResponse.accessToken);\n case 14:\n updatedProfile = _ctx.sent;\n _ctx.next = 17;\n return updatedProfile.userLoggedInOrRegistered({\n regCode: code,\n isRegister: false\n });\n case 17:\n res1 = _ctx.sent;\n shouldRedirectToSuccess = !!((res1 === null || res1 === void 0 ? void 0 : res1.mvpdId) && (res1 === null || res1 === void 0 ? void 0 : res1.apiKey));\n if (shouldRedirectToSuccess) {\n dispatch(setFlowStage(FlowStage.SUCCESS));\n dispatch(setLoading(false));\n } else {\n dispatch(setFlowStage(''));\n router === null || router === void 0 ? void 0 : router.push(ROUTE_MVPD);\n }\n _ctx.next = 28;\n break;\n case 22:\n _ctx.prev = 22;\n _ctx.t0 = _ctx[\"catch\"](4);\n dispatch(setError(_ctx.t0));\n dispatch(setLoading(false));\n dispatch(setIsRegister(true, data));\n dispatch(setFlowStage(FlowStage.LINK));\n case 28:\n case \"end\":\n return _ctx.stop();\n }\n }, _callee, null, [\n [\n 4,\n 22\n ]\n ]);\n }));\n return function handleAppleOnSuccess(data) {\n return _ref.apply(this, arguments);\n };\n }();\n return(/*#__PURE__*/ _jsx(AppleSignin, {\n authOptions: {\n clientId: config.APPLE_CLIENT_ID,\n scope: 'name email',\n redirectURI: window === null || window === void 0 ? void 0 : (ref2 = window.location) === null || ref2 === void 0 ? void 0 : ref2.origin,\n state: '',\n nonce: 'nonce',\n usePopup: true\n },\n noDefaultStyle: true,\n onSuccess: handleAppleOnSuccess,\n onError: function(error) {\n return dispatch(setError(error));\n },\n skipScript: false,\n render: function(props) {\n /*#__PURE__*/ return _jsx(SocialButton, Apple_objectSpread({}, props, {\n children: /*#__PURE__*/ _jsx(Icons.Apple, {})\n }));\n }\n }));\n};\n/* harmony default export */ var Apple = ((/* unused pure expression or super */ null && (SignInApple)));\nvar SocialButton = styled_components_browser_esm/* default.button.withConfig */.ZP.button.withConfig({\n componentId: \"sc-f69df4ab-0\"\n})(Apple_templateObject(), colors/* default.white */.Z.white);\n\n;// CONCATENATED MODULE: ./pages/account/components/Socials/Google/index.tsx\n\n\n\n\n\nfunction Google_taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}\nfunction Google_templateObject() {\n var data = Google_taggedTemplateLiteral([\n \"\\n width: 56px;\\n height: 56px;\\n margin-bottom: 15px;\\n border-radius: 50px;\\n position: relative;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n border: none;\\n background-color: \",\n \";\\n cursor: pointer;\\n\"\n ]);\n Google_templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nvar GOOGLE_ICON = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNDggNDgiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJNNDQuNSAyMEgyNHY4LjVoMTEuOEMzNC43IDMzLjkgMzAuMSAzNyAyNCAzN2MtNy4yIDAtMTMtNS44LTEzLTEzczUuOC0xMyAxMy0xM2MzLjEgMCA1LjkgMS4xIDguMSAyLjlsNi40LTYuNEMzNC42IDQuMSAyOS42IDIgMjQgMiAxMS44IDIgMiAxMS44IDIgMjRzOS44IDIyIDIyIDIyYzExIDAgMjEtOCAyMS0yMiAwLTEuMy0uMi0yLjctLjUtNHoiLz48L2RlZnM+PGNsaXBQYXRoIGlkPSJiIj48dXNlIHhsaW5rOmhyZWY9IiNhIiBvdmVyZmxvdz0idmlzaWJsZSIvPjwvY2xpcFBhdGg+PHBhdGggY2xpcC1wYXRoPSJ1cmwoI2IpIiBmaWxsPSIjRkJCQzA1IiBkPSJNMCAzN1YxMWwxNyAxM3oiLz48cGF0aCBjbGlwLXBhdGg9InVybCgjYikiIGZpbGw9IiNFQTQzMzUiIGQ9Ik0wIDExbDE3IDEzIDctNi4xTDQ4IDE0VjBIMHoiLz48cGF0aCBjbGlwLXBhdGg9InVybCgjYikiIGZpbGw9IiMzNEE4NTMiIGQ9Ik0wIDM3bDMwLTIzIDcuOSAxTDQ4IDB2NDhIMHoiLz48cGF0aCBjbGlwLXBhdGg9InVybCgjYikiIGZpbGw9IiM0Mjg1RjQiIGQ9Ik00OCA0OEwxNyAyNGwtNC0zIDM1LTEweiIvPjwvc3ZnPgo=';\nvar GoogleSignInButton = function() {\n // const { signIn } = useGetGoogleSignIn();\n var handleOnClick = function(e) {\n e.preventDefault();\n // signIn();\n };\n return(/*#__PURE__*/ _jsx(\"div\", {\n children: /*#__PURE__*/ _jsx(Google_SocialButton, {\n onClick: handleOnClick,\n children: /*#__PURE__*/ _jsx(Image, {\n alt: \"Google Icon\",\n src: GOOGLE_ICON,\n width: 20,\n height: 20\n })\n })\n }));\n};\n/* harmony default export */ var Google = ((/* unused pure expression or super */ null && (GoogleSignInButton)));\nvar Google_SocialButton = styled_components_browser_esm/* default.button.withConfig */.ZP.button.withConfig({\n componentId: \"sc-38468fd2-0\"\n})(Google_templateObject(), colors/* default.white */.Z.white);\n\n;// CONCATENATED MODULE: ./pages/account/components/Socials/Facebook/index.tsx\n\n\n\n\nfunction Facebook_taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}\nfunction Facebook_templateObject() {\n var data = Facebook_taggedTemplateLiteral([\n \"\\n width: 56px;\\n height: 56px;\\n margin-bottom: 15px;\\n padding: 0;\\n border-radius: 50px;\\n position: relative;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n border: none;\\n background-color: \",\n \";\\n cursor: pointer;\\n svg {\\n width: 30px;\\n height: 30px;\\n fill: \",\n \";\\n }\\n\"\n ]);\n Facebook_templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nvar SignInFacebook = function() {\n return null;\n // const profile = useGetProfileSdk(profileConfig);\n // const { code } = useFlowManager();\n // const { dispatch } = useContext(AppContext);\n // const router = useRouter();\n // const handleFacebookResponse = async (data: { accessToken: string }) => {\n // dispatch(setLoading(true));\n // dispatch(setIsSocialAuth(true, data, 'facebook'));\n // const { accessToken } = data;\n // try {\n // setIsRegister(false);\n // dispatch(setIsRegister(false, data));\n // const facebookLoginResponse = await profile.facebookLogin({ facebookToken: accessToken });\n // helper.setAccountCookie(facebookLoginResponse);\n // const updatedProfile = await setUpdatedProfile(facebookLoginResponse?.accessToken as string);\n // const res = await updatedProfile.userLoggedInOrRegistered({\n // regCode: code,\n // isRegister: false,\n // });\n // const shouldRedirectToSuccess = !!(res?.mvpdId && res?.apiKey);\n // if (shouldRedirectToSuccess) {\n // dispatch(setFlowStage(FlowStage.SUCCESS));\n // dispatch(setLoading(false));\n // } else {\n // dispatch(setFlowStage(''));\n // router?.push(ROUTE_MVPD);\n // }\n // } catch (error) {\n // dispatch(setError(error));\n // dispatch(setLoading(false));\n // dispatch(setIsRegister(true, data));\n // dispatch(setFlowStage(FlowStage.NEW_USER));\n // }\n // };\n return(/*#__PURE__*/ _jsx(_Fragment, {}));\n};\n/* harmony default export */ var Facebook = ((/* unused pure expression or super */ null && (SignInFacebook)));\nvar Facebook_SocialButton = styled_components_browser_esm/* default.button.withConfig */.ZP.button.withConfig({\n componentId: \"sc-480deb03-0\"\n})(Facebook_templateObject(), colors/* default.white */.Z.white, colors/* default.sanMarino */.Z.sanMarino);\n\n;// CONCATENATED MODULE: ./pages/account/components/Socials/index.tsx\n\n\n\n\n\n\n\nfunction Socials_taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}\nfunction Socials_templateObject() {\n var data = Socials_taggedTemplateLiteral([\n \"\\n color: \",\n \";\\n text-align: center;\\n width: 100%;\\n .signInText {\\n margin: 10px auto 20px;\\n font-size: 14px;\\n letter-spacing: -0.25px;\\n text-align: center;\\n }\\n .socialsContainer {\\n display: flex;\\n align-items: center;\\n justify-content: space-evenly;\\n max-width: 256px;\\n margin: 0 auto;\\n .wrap {\\n display: flex;\\n flex-direction: column;\\n justify-content: center;\\n align-items: center;\\n }\\n }\\n .iconText {\\n font-size: 11px;\\n font-weight: 500;\\n }\\n\"\n ]);\n Socials_templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nvar Socials_copy = {\n orContinueWithText: 'or continue with'\n};\nvar Socials = function() {\n return(/*#__PURE__*/ _jsxs(ButtonWrap, {\n children: [\n /*#__PURE__*/ _jsx(\"div\", {\n className: \"signInText\",\n children: Socials_copy.orContinueWithText\n }),\n /*#__PURE__*/ _jsxs(\"div\", {\n className: \"socialsContainer\",\n children: [\n /*#__PURE__*/ _jsxs(\"div\", {\n className: \"wrap\",\n children: [\n /*#__PURE__*/ _jsx(AppleSignIn, {}),\n /*#__PURE__*/ _jsx(\"div\", {\n className: \"iconText\",\n children: \"Apple\"\n })\n ]\n }),\n /*#__PURE__*/ _jsxs(\"div\", {\n className: \"wrap\",\n children: [\n /*#__PURE__*/ _jsx(GoogleSignIn, {}),\n /*#__PURE__*/ _jsx(\"div\", {\n className: \"iconText\",\n children: \"Google\"\n })\n ]\n }),\n /*#__PURE__*/ _jsxs(\"div\", {\n className: \"wrap\",\n children: [\n /*#__PURE__*/ _jsx(FacebookSignIn, {}),\n /*#__PURE__*/ _jsx(\"div\", {\n className: \"iconText\",\n children: \"Facebook\"\n })\n ]\n })\n ]\n })\n ]\n }));\n};\n/* harmony default export */ var components_Socials = ((/* unused pure expression or super */ null && (Socials)));\nvar ButtonWrap = styled_components_browser_esm/* default.div.withConfig */.ZP.div.withConfig({\n componentId: \"sc-e25a536-0\"\n})(Socials_templateObject(), colors/* default.white */.Z.white);\n\n;// CONCATENATED MODULE: ./pages/account/components/ForgotPassword/index.tsx\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction ForgotPassword_asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nfunction ForgotPassword_asyncToGenerator(fn) {\n return function() {\n var self = this, args = arguments;\n return new Promise(function(resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n ForgotPassword_asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n ForgotPassword_asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}\nfunction ForgotPassword_defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction ForgotPassword_objectSpread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n ForgotPassword_defineProperty(target, key, source[key]);\n });\n }\n return target;\n}\nfunction ForgotPassword_taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}\nfunction ForgotPassword_templateObject() {\n var data = ForgotPassword_taggedTemplateLiteral([\n \"\\n font-size: 1.5rem; \\n \"\n ]);\n ForgotPassword_templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nfunction ForgotPassword_templateObject1() {\n var data = ForgotPassword_taggedTemplateLiteral([\n \"\\n \",\n \";\\n display: flex;\\n max-width: 50%;\\n width: 100%;\\n flex-direction: column;\\n align-items: center;\\n justify-content: center;\\n h1 {\\n font-size: 20px;\\n \",\n \"\\n }\\n input {\\n \",\n \"\\n }\\n .invalidEmail {\\n color: \",\n \";\\n &:hover {\\n background: \",\n \";\\n color: \",\n \";\\n cursor: default;\\n }\\n }\\n .message {\\n font-size: 1.125rem;\\n letter-spacing: -0.29px;\\n line-height: 20.7px;\\n text-align: center;\\n }\\n\"\n ]);\n ForgotPassword_templateObject1 = function _templateObject1() {\n return data;\n };\n return data;\n}\nvar ForgotPassword = function(param1) {\n var profile = param1.profile, _email = param1.email, email1 = _email === void 0 ? '' : _email, _setEmail = param1.setEmail, setEmail = _setEmail === void 0 ? function() {\n return null;\n } : _setEmail;\n var ref, ref1, ref2;\n var ref3 = (0,react.useContext)(GlobalContextProvider/* AppContext */.I), dispatch = ref3.dispatch, _state = ref3.state, account = _state.account, isLoading = _state.isLoading, isSocialAuth = _state.isSocialAuth;\n var ref4 = (0,hooks/* useLanguageStrings */.F2)(), string = ref4.language_strings_en_US;\n var ref5 = (0,react.useState)(''), resetEmail = ref5[0], setResetEmail = ref5[1];\n var ref6 = (0,index_esm/* useForm */.cI)({\n mode: 'onChange',\n reValidateMode: 'onBlur',\n resolver: schemas_EmailSchema(string),\n defaultValues: {\n email: ''\n }\n }), reset = ref6.reset, register = ref6.register, handleSubmit = ref6.handleSubmit, _formState = ref6.formState, errors = _formState.errors, isSubmitting = _formState.isSubmitting, isValid = _formState.isValid, isSubmitted = _formState.isSubmitted;\n var handleResetPassword = function(email) {\n dispatch((0,reducer/* setLoading */.K4)(true));\n if (email) {\n setResetEmail(email);\n try {\n profile === null || profile === void 0 ? void 0 : profile.resetPassword({\n email: email,\n useV2: true\n });\n } catch (e) {\n dispatch((0,reducer/* setError */.sT)(e));\n } finally{\n dispatch((0,reducer/* setLoading */.K4)(false));\n }\n }\n };\n var onSubmit = function() {\n var _ref = ForgotPassword_asyncToGenerator(runtime_default().mark(function _callee(param) {\n var email;\n return runtime_default().wrap(function _callee$(_ctx) {\n while(1)switch(_ctx.prev = _ctx.next){\n case 0:\n email = param.email;\n handleResetPassword(email);\n case 2:\n case \"end\":\n return _ctx.stop();\n }\n }, _callee);\n }));\n return function onSubmit(_) {\n return _ref.apply(this, arguments);\n };\n }();\n (0,react.useEffect)(function() {\n dispatch((0,reducer/* setLoading */.K4)(false));\n }, [\n reset,\n dispatch,\n setEmail,\n email1\n ]);\n if (isSubmitting || isLoading) return(/*#__PURE__*/ (0,jsx_runtime.jsx)(common/* Loader */.aN, {\n abCenter: true\n }));\n return(/*#__PURE__*/ (0,jsx_runtime.jsxs)(ForgotPassword_Form, {\n onSubmit: handleSubmit(onSubmit),\n children: [\n (isSocialAuth === null || isSocialAuth === void 0 ? void 0 : isSocialAuth.value) && !isSubmitted && /*#__PURE__*/ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {\n children: [\n email1 && /*#__PURE__*/ (0,jsx_runtime.jsx)(SharedStyles/* Title */.Dx, {\n show: true,\n children: email1 || (account === null || account === void 0 ? void 0 : account.email)\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"p\", {\n className: \"message\",\n children: \"Please enter the email address associated with your account and we’ll send you instructions to reset your password.\"\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(common/* Input */.II, ForgotPassword_objectSpread({\n placeholder: \"Email\"\n }, register('email'), {\n defaultValue: email1 || '',\n type: \"email\",\n autoFocus: true\n })),\n !isValid && (errors === null || errors === void 0 ? void 0 : (ref = errors.email) === null || ref === void 0 ? void 0 : ref.message) && /*#__PURE__*/ (0,jsx_runtime.jsx)(SharedStyles/* Error */.jj, {\n children: errors === null || errors === void 0 ? void 0 : (ref1 = errors.email) === null || ref1 === void 0 ? void 0 : ref1.message\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(common/* Button */.zx, {\n type: \"submit\",\n kind: \"default\",\n disabled: !isValid || Boolean(errors === null || errors === void 0 ? void 0 : (ref2 = errors.email) === null || ref2 === void 0 ? void 0 : ref2.message) || isSubmitting,\n children: string === null || string === void 0 ? void 0 : string.profileResetPw_button\n })\n ]\n }),\n (!(isSocialAuth === null || isSocialAuth === void 0 ? void 0 : isSocialAuth.value) || isSubmitted) && /*#__PURE__*/ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(SharedStyles/* Title */.Dx, {\n show: true,\n children: email1 || resetEmail || (account === null || account === void 0 ? void 0 : account.email)\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"p\", {\n className: \"message\",\n children: string === null || string === void 0 ? void 0 : string.profileResetPw_emailPromptMessage\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(common/* Button */.zx, {\n kind: \"default\",\n onClick: function() {\n dispatch((0,reducer/* setFlowStage */.Kc)(state_state/* FlowStage.LANDING_PAGE */.n.LANDING_PAGE));\n dispatch((0,reducer/* setLoading */.K4)(false));\n setEmail('');\n },\n children: \"Back to Sign In\"\n })\n ]\n })\n ]\n }));\n};\n/* harmony default export */ var components_ForgotPassword = (ForgotPassword);\nvar ForgotPassword_Form = styled_components_browser_esm/* default.form.withConfig */.ZP.form.withConfig({\n componentId: \"sc-438e5b86-0\"\n})(ForgotPassword_templateObject1(), animations/* fadein */.jF, helper/* respondTo.bp_767 */.s.bp_767(ForgotPassword_templateObject()), common/* AccountInputCss */.jR, colors/* default.white50 */.Z.white50, colors/* default.bluePrimary */.Z.bluePrimary, colors/* default.white50 */.Z.white50);\n\n;// CONCATENATED MODULE: ./validations/schemas/EmailAndPasswordSchema.ts\n\n// eslint-disable-next-line @typescript-eslint/no-var-requires\nvar EmailAndPasswordSchema_yupResolver = (__webpack_require__(5496)/* .yupResolver */ .X);\nvar EmailAndPasswordSchema = function(language_strings_en_US) {\n return EmailAndPasswordSchema_yupResolver(es/* object */.Ry().shape({\n email: es/* string */.Z_().nullable().required('Email is required').matches(new RegExp(/^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/), language_strings_en_US === null || language_strings_en_US === void 0 ? void 0 : language_strings_en_US.profile_emailInvalidError),\n password: es/* string */.Z_().required('You must provide a valid password').min(6, language_strings_en_US === null || language_strings_en_US === void 0 ? void 0 : language_strings_en_US.profile_passwordRequirementsInfo)\n }).required());\n};\n/* harmony default export */ var schemas_EmailAndPasswordSchema = (EmailAndPasswordSchema);\n\n;// CONCATENATED MODULE: ./pages/account/components/EmailPasswordForm/Form.tsx\n\n\n\n\n\nfunction Form_taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}\nfunction Form_templateObject() {\n var data = Form_taggedTemplateLiteral([\n \"\\n max-width: 38.125rem;\\n \"\n ]);\n Form_templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nfunction Form_templateObject1() {\n var data = Form_taggedTemplateLiteral([\n \"\\n max-width: 38.125rem;\\n width: 610px;\\n padding: 0 5rem;\\n \"\n ]);\n Form_templateObject1 = function _templateObject1() {\n return data;\n };\n return data;\n}\nfunction Form_templateObject2() {\n var data = Form_taggedTemplateLiteral([\n \"\\n max-width: 340px;\\n \"\n ]);\n Form_templateObject2 = function _templateObject2() {\n return data;\n };\n return data;\n}\nfunction Form_templateObject3() {\n var data = Form_taggedTemplateLiteral([\n \"\\n font-size: 0.875rem;\\n \"\n ]);\n Form_templateObject3 = function _templateObject3() {\n return data;\n };\n return data;\n}\nfunction Form_templateObject4() {\n var data = Form_taggedTemplateLiteral([\n \"\\n \",\n \";\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n width: 100%;\\n \",\n \"\\n\\n .message {\\n max-width: 574px;\\n margin-top: 0;\\n padding-bottom: 20px;\\n color: #9b9b9b;\\n font-size: 18px;\\n font-weight: 400;\\n letter-spacing: -0.29px;\\n line-height: 23px;\\n text-align: center;\\n }\\n\\n input {\\n \",\n \"\\n &:disabled {\\n cursor: initial;\\n opacity: 0.5;\\n }\\n }\\n\\n .signupFormInputContainer {\\n \",\n \"\\n }\\n\\n .signInPasswordContainer {\\n position: relative;\\n display: flex;\\n width: 100%;\\n flex-direction: column;\\n border-radius: 6px;\\n \",\n \"\\n }\\n\\n .termsText {\\n color: \",\n \";\\n font-size: 0.75rem;\\n font-weight: normal;\\n letter-spacing: 0.000625rem;\\n line-height: 1.25;\\n \",\n \"\\n }\\n\\n .termsLink {\\n color: \",\n \";\\n cursor: pointer;\\n font-weight: 500;\\n text-decoration: none;\\n }\\n\\n .disclosure {\\n display: inline-flex;\\n width: 100%;\\n max-width: 340px;\\n margin: 0 auto 20px;\\n color: \",\n \";\\n font-family: 'Graphik', sans-serif;\\n font-size: 12px;\\n font-weight: normal;\\n letter-spacing: -0.15px;\\n line-height: 19px;\\n text-align: left;\\n \\n a {\\n display: contents;\\n font-weight: bold;\\n }\\n }\\n\\n .wrap {\\n position: relative;\\n display: flex;\\n flex-direction: column;\\n margin: 0 auto 20px;\\n width: 100%;\\n max-width: 340px;\\n border-radius: 6px;\\n }\\n\\n .forgotPasswordLink, \\n .noProfileCTALink {\\n color: #ffffff80;\\n cursor: pointer;\\n font-size: 14px;\\n background: none;\\n border: none;\\n margin-bottom: 10px;\\n letter-spacing: .000625rem;\\n }\\n\\n .invalidEmail,\\n .invalidPassword {\\n color: \",\n \";\\n cursor: default;\\n }\\n }\\n code {\\n font-size: 12px;\\n }\\n\"\n ]);\n Form_templateObject4 = function _templateObject4() {\n return data;\n };\n return data;\n}\nvar Form_Form = styled_components_browser_esm/* default.form.withConfig */.ZP.form.withConfig({\n componentId: \"sc-b41db863-0\"\n})(Form_templateObject4(), animations/* fadein */.jF, helper/* respondTo.bp_1099 */.s.bp_1099(Form_templateObject()), common/* AccountInputCss */.jR, helper/* respondTo.bp_1099 */.s.bp_1099(Form_templateObject1()), helper/* respondTo.bp_768 */.s.bp_768(Form_templateObject2()), colors/* default.white25 */.Z.white25, helper/* respondTo.bp_1099 */.s.bp_1099(Form_templateObject3()), colors/* default.white50 */.Z.white50, colors/* default.altoLight */.Z.altoLight, colors/* default.white50 */.Z.white50);\n\n// EXTERNAL MODULE: ./lib/types/regCodeType.ts\nvar regCodeType = __webpack_require__(8510);\n;// CONCATENATED MODULE: ./pages/account/components/EmailPasswordForm/index.tsx\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction EmailPasswordForm_asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nfunction EmailPasswordForm_asyncToGenerator(fn) {\n return function() {\n var self = this, args = arguments;\n return new Promise(function(resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n EmailPasswordForm_asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n EmailPasswordForm_asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}\nfunction EmailPasswordForm_defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction EmailPasswordForm_objectSpread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n EmailPasswordForm_defineProperty(target, key, source[key]);\n });\n }\n return target;\n}\nvar EmailPasswordForm = function(param) {\n var profile = param.profile, email = param.email;\n var ref11, ref1, ref2, ref3, ref4;\n var ref5 = (0,react.useContext)(GlobalContextProvider/* AppContext */.I), state = ref5.state, dispatch = ref5.dispatch, _state = ref5.state, flowStage = _state.flowStage, isRegister1 = _state.isRegister, isLoading = _state.isLoading, isSocialAuth = _state.isSocialAuth, firstScreenVersion = _state.firstScreenVersion, secondScreenVersion = _state.secondScreenVersion;\n var code = (0,hooks/* useFlowManager */.ix)().code;\n var language_strings_en_US = (0,hooks/* useLanguageStrings */.F2)().language_strings_en_US;\n var ref6 = (0,hooks/* useBoolean */.kt)(false), passwordShown = ref6.value, toggle = ref6.toggle;\n var router = (0,next_router.useRouter)();\n var ref7 = (0,index_esm/* useForm */.cI)({\n mode: 'onChange',\n reValidateMode: 'onSubmit',\n resolver: schemas_EmailAndPasswordSchema(language_strings_en_US),\n defaultValues: {\n email: '',\n password: ''\n }\n }), watch = ref7.watch, register = ref7.register, handleSubmit = ref7.handleSubmit, clearErrors = ref7.clearErrors, setValue = ref7.setValue, _formState = ref7.formState, errors = _formState.errors, isSubmitting = _formState.isSubmitting, dirtyFields = _formState.dirtyFields;\n var watchEmail = watch('email');\n var userEmail = email || watchEmail || (isRegister1 === null || isRegister1 === void 0 ? void 0 : (ref11 = isRegister1.account) === null || ref11 === void 0 ? void 0 : ref11.email);\n var setUserLoggedInOrRegistered = function() {\n var _ref = EmailPasswordForm_asyncToGenerator(runtime_default().mark(function _callee(accessToken, isRegister) {\n var updatedProfile, res, shouldRedirectToSuccess;\n return runtime_default().wrap(function _callee$(_ctx) {\n while(1)switch(_ctx.prev = _ctx.next){\n case 0:\n _ctx.prev = 0;\n _ctx.next = 3;\n return (0,utils/* setUpdatedProfile */.CL)(accessToken);\n case 3:\n updatedProfile = _ctx.sent;\n _ctx.next = 6;\n return updatedProfile.userLoggedInOrRegistered({\n regCode: code,\n isRegister: isRegister\n });\n case 6:\n res = _ctx.sent;\n shouldRedirectToSuccess = !!((res === null || res === void 0 ? void 0 : res.mvpdId) && (res === null || res === void 0 ? void 0 : res.apiKey));\n if (!firstScreenVersion) {\n _ctx.next = 11;\n break;\n }\n _ctx.next = 11;\n return updatedProfile.setRegCodeStatus({\n regCode: code,\n firstScreenVersion: firstScreenVersion,\n secondScreenVersion: secondScreenVersion,\n status: {\n loginType: regCodeType/* LoginType.fox */.B.fox,\n state: regCodeType/* CodeStatusState.ok */.G.ok\n }\n });\n case 11:\n if (shouldRedirectToSuccess) {\n dispatch((0,reducer/* setFlowStage */.Kc)(state_state/* FlowStage.SUCCESS */.n.SUCCESS));\n } else {\n router === null || router === void 0 ? void 0 : router.push(constants/* ROUTE_MVPD */.W3);\n }\n _ctx.next = 18;\n break;\n case 14:\n _ctx.prev = 14;\n _ctx.t0 = _ctx[\"catch\"](0);\n dispatch((0,reducer/* setError */.sT)(_ctx.t0));\n router === null || router === void 0 ? void 0 : router.push(constants/* ROUTE_HOME */.XX);\n case 18:\n _ctx.prev = 18;\n dispatch((0,reducer/* setLoading */.K4)(false));\n return _ctx.finish(18);\n case 21:\n case \"end\":\n return _ctx.stop();\n }\n }, _callee, null, [\n [\n 0,\n 14,\n 18,\n 21\n ]\n ]);\n }));\n return function setUserLoggedInOrRegistered(accessToken, isRegister) {\n return _ref.apply(this, arguments);\n };\n }();\n var onSubmit = function() {\n var _ref = EmailPasswordForm_asyncToGenerator(runtime_default().mark(function _callee(data) {\n var loginResponse, ref, accountInfo, googleRegisterResponse, ref8, accountInfo1, facebookRegisterResponse, registerResponse, ref9, ref10, appleLinkResponse;\n return runtime_default().wrap(function _callee$(_ctx) {\n while(1)switch(_ctx.prev = _ctx.next){\n case 0:\n if (!(!profile || !data)) {\n _ctx.next = 2;\n break;\n }\n return _ctx.abrupt(\"return\");\n case 2:\n dispatch((0,reducer/* setLoading */.K4)(true));\n _ctx.prev = 3;\n if (!(flowStage === state_state/* FlowStage.EXISTING_USER */.n.EXISTING_USER)) {\n _ctx.next = 12;\n break;\n }\n _ctx.next = 7;\n return profile.login({\n email: userEmail,\n password: data.password\n });\n case 7:\n loginResponse = _ctx.sent;\n utils/* helper.setAccountCookie */._y.setAccountCookie(loginResponse);\n _ctx.next = 11;\n return setUserLoggedInOrRegistered(loginResponse.accessToken, false);\n case 11:\n (0,trackCalls/* handleTrackEvent */.GV)({\n eventName: trackCalls/* Events.PROFILE_SIGN_IN_COMPLETED */.zW.PROFILE_SIGN_IN_COMPLETED,\n props: {\n page_profile_type: 'general'\n }\n });\n case 12:\n if (!(flowStage === state_state/* FlowStage.NEW_USER */.n.NEW_USER)) {\n _ctx.next = 54;\n break;\n }\n if (!state.isRegister.value) {\n _ctx.next = 54;\n break;\n }\n if (!isSocialAuth.value) {\n _ctx.next = 47;\n break;\n }\n if (!(isSocialAuth.kind === constants/* GOOGLE */.Tr)) {\n _ctx.next = 30;\n break;\n }\n _ctx.prev = 16;\n ;\n accountInfo = {\n googleToken: isRegister1 === null || isRegister1 === void 0 ? void 0 : (ref = isRegister1.account) === null || ref === void 0 ? void 0 : ref.tokenId,\n email: userEmail,\n password: data === null || data === void 0 ? void 0 : data.password\n };\n _ctx.next = 21;\n return profile === null || profile === void 0 ? void 0 : profile.googleRegister(accountInfo);\n case 21:\n googleRegisterResponse = _ctx.sent;\n utils/* helper.setAccountCookie */._y.setAccountCookie(googleRegisterResponse);\n _ctx.next = 25;\n return setUserLoggedInOrRegistered(googleRegisterResponse === null || googleRegisterResponse === void 0 ? void 0 : googleRegisterResponse.accessToken, true);\n case 25:\n _ctx.next = 30;\n break;\n case 27:\n _ctx.prev = 27;\n _ctx.t0 = _ctx[\"catch\"](16);\n dispatch((0,reducer/* setError */.sT)(_ctx.t0));\n case 30:\n if (!(isSocialAuth.kind === constants/* FACEBOOK */.vq)) {\n _ctx.next = 45;\n break;\n }\n _ctx.prev = 31;\n ;\n accountInfo1 = {\n facebookToken: isSocialAuth === null || isSocialAuth === void 0 ? void 0 : (ref8 = isSocialAuth.data) === null || ref8 === void 0 ? void 0 : ref8.accessToken,\n email: userEmail,\n password: data === null || data === void 0 ? void 0 : data.password\n };\n _ctx.next = 36;\n return profile === null || profile === void 0 ? void 0 : profile.facebookRegister(accountInfo1);\n case 36:\n facebookRegisterResponse = _ctx.sent;\n utils/* helper.setAccountCookie */._y.setAccountCookie(facebookRegisterResponse);\n _ctx.next = 40;\n return setUserLoggedInOrRegistered(facebookRegisterResponse === null || facebookRegisterResponse === void 0 ? void 0 : facebookRegisterResponse.accessToken, true);\n case 40:\n _ctx.next = 45;\n break;\n case 42:\n _ctx.prev = 42;\n _ctx.t1 = _ctx[\"catch\"](31);\n dispatch((0,reducer/* setError */.sT)(_ctx.t1));\n case 45:\n _ctx.next = 53;\n break;\n case 47:\n _ctx.next = 49;\n return profile === null || profile === void 0 ? void 0 : profile.register({\n email: userEmail,\n password: data === null || data === void 0 ? void 0 : data.password,\n migrateData: true\n });\n case 49:\n registerResponse = _ctx.sent;\n utils/* helper.setAccountCookie */._y.setAccountCookie(registerResponse);\n _ctx.next = 53;\n return setUserLoggedInOrRegistered(registerResponse.accessToken, true);\n case 53:\n (0,trackCalls/* handleTrackEvent */.GV)({\n eventName: trackCalls/* Events.PROFILE_SIGN_UP_COMPLETED */.zW.PROFILE_SIGN_UP_COMPLETED,\n props: {\n page_profile_type: 'general'\n }\n });\n case 54:\n if (!(flowStage === state_state/* FlowStage.LINK */.n.LINK)) {\n _ctx.next = 68;\n break;\n }\n _ctx.prev = 55;\n ;\n _ctx.next = 59;\n return profile === null || profile === void 0 ? void 0 : profile.appleLink({\n appleToken: isSocialAuth === null || isSocialAuth === void 0 ? void 0 : (ref9 = isSocialAuth.data) === null || ref9 === void 0 ? void 0 : (ref10 = ref9.authorization) === null || ref10 === void 0 ? void 0 : ref10.id_token,\n email: userEmail,\n password: data === null || data === void 0 ? void 0 : data.password\n });\n case 59:\n appleLinkResponse = _ctx.sent;\n _ctx.next = 62;\n return setUserLoggedInOrRegistered(appleLinkResponse.accessToken, true);\n case 62:\n utils/* helper.setAccountCookie */._y.setAccountCookie(appleLinkResponse);\n _ctx.next = 68;\n break;\n case 65:\n _ctx.prev = 65;\n _ctx.t2 = _ctx[\"catch\"](55);\n dispatch((0,reducer/* setError */.sT)(_ctx.t2));\n case 68:\n _ctx.next = 74;\n break;\n case 70:\n _ctx.prev = 70;\n _ctx.t3 = _ctx[\"catch\"](3);\n dispatch((0,reducer/* setError */.sT)(_ctx.t3));\n dispatch((0,reducer/* setLoading */.K4)(false));\n case 74:\n _ctx.prev = 74;\n dispatch((0,reducer/* setLoading */.K4)(false));\n return _ctx.finish(74);\n case 77:\n case \"end\":\n return _ctx.stop();\n }\n }, _callee, null, [\n [\n 3,\n 70,\n 74,\n 77\n ],\n [\n 16,\n 27\n ],\n [\n 31,\n 42\n ],\n [\n 55,\n 65\n ]\n ]);\n }));\n return function onSubmit(data) {\n return _ref.apply(this, arguments);\n };\n }();\n var _obj;\n var screenProps = (_obj = {}, EmailPasswordForm_defineProperty(_obj, state_state/* FlowStage.EXISTING_USER */.n.EXISTING_USER, {\n buttonText: language_strings_en_US === null || language_strings_en_US === void 0 ? void 0 : language_strings_en_US.global_signInButton,\n headline: 'Welcome Back!',\n forgotPasswordText: language_strings_en_US === null || language_strings_en_US === void 0 ? void 0 : language_strings_en_US.profileSignin_forgotPasswordText\n }), EmailPasswordForm_defineProperty(_obj, state_state/* FlowStage.NEW_USER */.n.NEW_USER, {\n buttonText: language_strings_en_US === null || language_strings_en_US === void 0 ? void 0 : language_strings_en_US.profileCreate_createButton,\n message: isSocialAuth.kind === constants/* FACEBOOK */.vq ? \"Set a password to enjoy your account perks on any device that doesn't support Facebook login, or if you would like to login without Facebook.\" : '',\n headline: isSocialAuth.kind === constants/* FACEBOOK */.vq ? language_strings_en_US === null || language_strings_en_US === void 0 ? void 0 : language_strings_en_US.profile_facebookLoginTitle : 'Setup your Password',\n disclosure: 'By clicking \"Create Account”, you agree to the Terms of Use, Privacy Policy, and agree to receive content and promotional communications from FOX.'\n }), EmailPasswordForm_defineProperty(_obj, state_state/* FlowStage.LINK */.n.LINK, {\n headline: language_strings_en_US === null || language_strings_en_US === void 0 ? void 0 : language_strings_en_US.profile_createProfileHeader,\n message: language_strings_en_US === null || language_strings_en_US === void 0 ? void 0 : language_strings_en_US.profile_createPasswordInfoSIWA,\n buttonText: language_strings_en_US === null || language_strings_en_US === void 0 ? void 0 : language_strings_en_US.profile_createProfileButton,\n forgotPasswordText: language_strings_en_US === null || language_strings_en_US === void 0 ? void 0 : language_strings_en_US.profileSignin_forgotPasswordText,\n noProfileCTA: language_strings_en_US === null || language_strings_en_US === void 0 ? void 0 : language_strings_en_US.profile_noProfileCTA\n }), _obj);\n var strings = screenProps[flowStage];\n (0,react.useEffect)(function() {\n var ref;\n clearErrors();\n dispatch((0,reducer/* setError */.sT)(''));\n dispatch((0,reducer/* setLoading */.K4)(false));\n setValue('email', email || (isRegister1 === null || isRegister1 === void 0 ? void 0 : (ref = isRegister1.account) === null || ref === void 0 ? void 0 : ref.email));\n }, [\n clearErrors,\n dispatch,\n email,\n isRegister1 === null || isRegister1 === void 0 ? void 0 : (ref1 = isRegister1.account) === null || ref1 === void 0 ? void 0 : ref1.email,\n setValue\n ]);\n if (isLoading || isSubmitting) return(/*#__PURE__*/ (0,jsx_runtime.jsx)(common/* Loader */.aN, {\n abCenter: true\n }));\n return(/*#__PURE__*/ (0,jsx_runtime.jsx)(jsx_runtime.Fragment, {\n children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(Form_Form, {\n onSubmit: handleSubmit(onSubmit),\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(SharedStyles/* Title */.Dx, {\n show: !isLoading,\n children: (strings === null || strings === void 0 ? void 0 : strings.headline) || ''\n }),\n (strings === null || strings === void 0 ? void 0 : strings.message) && /*#__PURE__*/ (0,jsx_runtime.jsx)(\"p\", {\n className: \"message\",\n children: (strings === null || strings === void 0 ? void 0 : strings.message) || ''\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(\"div\", {\n className: \"wrap\",\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(common/* Input */.II, EmailPasswordForm_objectSpread({\n type: \"email\"\n }, register('email'), {\n defaultValue: userEmail,\n placeholder: 'Email',\n disabled: flowStage === state_state/* FlowStage.EXISTING_USER */.n.EXISTING_USER,\n readOnly: flowStage === state_state/* FlowStage.EXISTING_USER */.n.EXISTING_USER\n })),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(SharedStyles/* Error */.jj, {\n children: errors.email && ((ref2 = errors.email) === null || ref2 === void 0 ? void 0 : ref2.message)\n }),\n flowStage === state_state/* FlowStage.EXISTING_USER */.n.EXISTING_USER && /*#__PURE__*/ (0,jsx_runtime.jsx)(SharedStyles/* PasswordLabel */.ru, {\n onClick: function() {\n dispatch((0,reducer/* setFlowStage */.Kc)(state_state/* FlowStage.LANDING_PAGE */.n.LANDING_PAGE));\n dispatch((0,reducer/* setError */.sT)(''));\n },\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(common/* Icons.Edit */.PJ.I8, {})\n })\n ]\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(\"div\", {\n className: \"wrap\",\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(common/* Input */.II, EmailPasswordForm_objectSpread({\n placeholder: language_strings_en_US === null || language_strings_en_US === void 0 ? void 0 : language_strings_en_US.profile_createNewPwInputPlaceholder\n }, register('password'), {\n type: passwordShown ? 'text' : 'password'\n })),\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(SharedStyles/* PasswordLabel */.ru, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"input\", {\n type: \"checkbox\",\n value: passwordShown === null || passwordShown === void 0 ? void 0 : passwordShown.toString(),\n name: \"passwordShown\"\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"span\", {\n onClick: toggle\n })\n ]\n }),\n (state === null || state === void 0 ? void 0 : state.error) && /*#__PURE__*/ (0,jsx_runtime.jsx)(SharedStyles/* Error */.jj, {\n children: (0,utils/* messageConverter */.z3)((state === null || state === void 0 ? void 0 : state.error).message, language_strings_en_US)\n })\n ]\n }),\n (strings === null || strings === void 0 ? void 0 : strings.disclosure) && /*#__PURE__*/ (0,jsx_runtime.jsxs)(\"p\", {\n className: \"disclosure\",\n children: [\n \"By clicking Create Account, you agree to the\",\n ' ',\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(common/* Link */.rU, {\n external: true,\n href: constants/* LINKS.TERMS_LINK */.BA.TERMS_LINK,\n target: constants/* LINKS.target */.BA.target,\n children: [\n ' ',\n \"Terms of Use,\"\n ]\n }),\n ' ',\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(common/* Link */.rU, {\n \"data-testid\": \"link\",\n external: true,\n href: constants/* LINKS.PRIVACY_POLICY */.BA.PRIVACY_POLICY,\n target: constants/* LINKS.target */.BA.target,\n children: [\n ' ',\n \"Privacy Policy,\"\n ]\n }),\n ' ',\n \"and agree to receive content and promotional communications from FOX.\"\n ]\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(common/* Button */.zx, {\n kind: \"default\",\n type: \"submit\",\n className: utils/* helper.ts */._y.ts([\n (!dirtyFields.password || (errors === null || errors === void 0 ? void 0 : (ref3 = errors.password) === null || ref3 === void 0 ? void 0 : ref3.message) || isSubmitting) && 'invalidPassword', \n ]),\n disabled: !dirtyFields.password || !!(errors === null || errors === void 0 ? void 0 : (ref4 = errors.password) === null || ref4 === void 0 ? void 0 : ref4.message) || isSubmitting,\n children: strings === null || strings === void 0 ? void 0 : strings.buttonText\n }),\n (strings === null || strings === void 0 ? void 0 : strings.forgotPasswordText) && /*#__PURE__*/ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"button\", {\n className: \"forgotPasswordLink\",\n onClick: function() {\n try {\n !(isSocialAuth === null || isSocialAuth === void 0 ? void 0 : isSocialAuth.value) && (profile === null || profile === void 0 ? void 0 : profile.resetPassword({\n email: userEmail,\n useV2: true\n }));\n dispatch((0,reducer/* setFlowStage */.Kc)(state_state/* FlowStage.FORGOT_PASSWORD */.n.FORGOT_PASSWORD));\n } catch (error) {\n dispatch((0,reducer/* setError */.sT)(error));\n }\n },\n children: strings === null || strings === void 0 ? void 0 : strings.forgotPasswordText\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"button\", {\n className: \"noProfileCTALink\",\n onClick: function() {\n dispatch((0,reducer/* setFlowStage */.Kc)(state_state/* FlowStage.CREATE_PASSWORD */.n.CREATE_PASSWORD));\n },\n children: strings === null || strings === void 0 ? void 0 : strings.noProfileCTA\n })\n ]\n })\n ]\n })\n }));\n};\n/* harmony default export */ var components_EmailPasswordForm = (EmailPasswordForm);\n\n// EXTERNAL MODULE: ./lib/utils/useSetUserLoggedInOrRegistered.ts\nvar useSetUserLoggedInOrRegistered = __webpack_require__(3860);\n// EXTERNAL MODULE: ./components/common/Loader/index.tsx\nvar Loader = __webpack_require__(2304);\n// EXTERNAL MODULE: ./components/common/Icons/CheckMark.tsx\nvar CheckMark = __webpack_require__(2950);\n;// CONCATENATED MODULE: ./pages/account/components/Success/index.tsx\n/* provided dependency */ var process = __webpack_require__(3454);\n\n\n\n\n\n\n\n\n\n\n\nfunction Success_asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nfunction Success_asyncToGenerator(fn) {\n return function() {\n var self = this, args = arguments;\n return new Promise(function(resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n Success_asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n Success_asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}\nfunction Success_taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}\nfunction Success_templateObject() {\n var data = Success_taggedTemplateLiteral([\n \"\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n justify-content: center;\\n text-align: center;\\n margin-top: 15vh;\\n svg {\\n transform: scale(1.3);\\n }\\n p {\\n padding: 0;\\n margin: 15px 0 40px;\\n color: \",\n \";\\n font-size: 30px;\\n font-family: 'Graphik', sans-serif;\\n font-weight: 500;\\n text-align: center;\\n letter-spacing: 0;\\n }\\n\"\n ]);\n Success_templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nvar accountCopy = {\n accountSignedIn: \"You're signed in!\",\n accountSignedUp: 'Thanks for Signing Up!'\n};\nvar Success = function(param) {\n var profile = param.profile, existingEmail = param.existingEmail;\n (0,useSetUserLoggedInOrRegistered/* default */.Z)({\n profile: profile,\n existingEmail: existingEmail\n });\n var ref = (0,react.useContext)(GlobalContextProvider/* AppContext */.I), _state = ref.state, config = _state.config, _isRegister = _state.isRegister, isRegister = _isRegister.value;\n var router = (0,next_router.useRouter)();\n (0,react.useEffect)(function() {\n var redirect = function() {\n var _ref = Success_asyncToGenerator(runtime_default().mark(function _callee() {\n return runtime_default().wrap(function _callee$(_ctx) {\n while(1)switch(_ctx.prev = _ctx.next){\n case 0:\n _ctx.next = 2;\n return router.push(process.env.NEXT_PUBLIC_DELTA_SITE_URL || (config === null || config === void 0 ? void 0 : config.siteUrl));\n case 2:\n case \"end\":\n return _ctx.stop();\n }\n }, _callee);\n }));\n return function redirect() {\n return _ref.apply(this, arguments);\n };\n }();\n var successTimer = setTimeout(redirect, constants/* REDIRECT_SECONDS */.yk * 1000);\n return function() {\n clearTimeout(successTimer);\n };\n }, [\n router,\n config === null || config === void 0 ? void 0 : config.siteUrl\n ]);\n return(/*#__PURE__*/ (0,jsx_runtime.jsxs)(StyledSuccess, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(CheckMark/* default */.Z, {}),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"p\", {\n children: isRegister || !existingEmail ? accountCopy.accountSignedUp : accountCopy.accountSignedIn\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(Loader/* default */.Z, {})\n ]\n }));\n};\n/* harmony default export */ var components_Success = (Success);\nvar StyledSuccess = styled_components_browser_esm/* default.div.withConfig */.ZP.div.withConfig({\n componentId: \"sc-cb90d549-0\"\n})(Success_templateObject(), colors/* default.white */.Z.white);\n\n;// CONCATENATED MODULE: ./pages/account/components/index.tsx\n\n\n\n\n\n\n\n\n;// CONCATENATED MODULE: ./pages/account/index.page.tsx\n\n\n\n\n\n\n\n\n\nfunction index_page_defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nvar Account = function(param) {\n var profile = param.profile;\n var ref = (0,react.useState)(''), email = ref[0], setEmail = ref[1];\n var ref1 = (0,react.useState)(false), existingEmail = ref1[0], setExistingEmail = ref1[1];\n var router = (0,next_router.useRouter)();\n var ref2 = (0,react.useContext)(GlobalContextProvider/* AppContext */.I), flowStage = ref2.state.flowStage, dispatch = ref2.dispatch;\n (0,react.useEffect)(function() {\n (0,trackCalls/* setPageAnalyticsData */.l9)({\n pageName: trackCalls/* PageNames.PROFILE_PROMPT_LANDING */.sn.PROFILE_PROMPT_LANDING,\n pageType: trackCalls/* PageTypes.PROFILE_PROMPT */.c7.PROFILE_PROMPT\n });\n (0,trackCalls/* handleAccountPageEvent */.Vk)();\n return function() {\n return (0,trackCalls/* setPageAnalyticsData */.l9)({\n pageName: '',\n pageType: ''\n });\n };\n }, [\n router\n ]);\n (0,react.useEffect)(function() {\n dispatch((0,reducer/* setIsSocialAuth */.v4)(false));\n dispatch((0,reducer/* setFlowStage */.Kc)(state_state/* FlowStage.LANDING_PAGE */.n.LANDING_PAGE));\n dispatch((0,reducer/* setIsRegister */.ko)(undefined, {}));\n }, [\n dispatch\n ]);\n var _obj;\n var VIEW = (_obj = {}, index_page_defineProperty(_obj, state_state/* FlowStage.LANDING_PAGE */.n.LANDING_PAGE, components_SignInForm), index_page_defineProperty(_obj, state_state/* FlowStage.EXISTING_USER */.n.EXISTING_USER, components_EmailPasswordForm), index_page_defineProperty(_obj, state_state/* FlowStage.NEW_USER */.n.NEW_USER, components_EmailPasswordForm), index_page_defineProperty(_obj, state_state/* FlowStage.SUCCESS */.n.SUCCESS, components_Success), index_page_defineProperty(_obj, state_state/* FlowStage.FORGOT_PASSWORD */.n.FORGOT_PASSWORD, components_ForgotPassword), index_page_defineProperty(_obj, state_state/* FlowStage.LINK */.n.LINK, components_EmailPasswordForm), index_page_defineProperty(_obj, state_state/* FlowStage.CREATE_PASSWORD */.n.CREATE_PASSWORD, components_CreatePassword), _obj);\n var ViewComponent = VIEW[flowStage] || null;\n if (!ViewComponent) return(/*#__PURE__*/ (0,jsx_runtime.jsx)(common/* Loader */.aN, {\n abCenter: true\n }));\n return(/*#__PURE__*/ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(common/* SEO */.HJ, {\n title: \"Account\"\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(ViewComponent, {\n email: email,\n existingEmail: existingEmail,\n profile: profile,\n setEmail: setEmail,\n setExistingEmail: setExistingEmail\n })\n ]\n }));\n};\n/* harmony default export */ var index_page = (Account);\n\n\n/***/ }),\n\n/***/ 8181:\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"] = void 0;\n\nvar _react = _interopRequireDefault(__webpack_require__(7294));\n\nvar _useScript = _interopRequireDefault(__webpack_require__(5847));\n\nvar _appleAuthHelpers = _interopRequireDefault(__webpack_require__(3059));\n\nvar _excluded = [\"onSuccess\", \"onError\", \"skipScript\", \"authOptions\", \"iconProps\", \"render\", \"uiType\", \"className\", \"noDefaultStyle\", \"buttonExtraChildren\"];\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/** css styles */\nvar _style = \"\\n.react-apple-signin-auth-btn {\\n background-color: transparent;\\n border: none;\\n padding: 0;\\n cursor: pointer;\\n border-radius: 4px;\\n padding: 0 8px 0 2px;\\n font-size: 14px;\\n font-size: 1em;\\n line-height: 1;\\n border: 1px solid #000;\\n overflow: hidden;\\n display: inline-flex;\\n justify-content: center;\\n align-items: center;\\n}\\n.react-apple-signin-auth-btn-light {\\n background-color: #FFF;\\n color: #000;\\n border-color: #000;\\n}\\n.react-apple-signin-auth-btn-dark {\\n background-color: #000;\\n color: #FFF;\\n border-color: #FFF;\\n}\".replace(/ {2}|\\n/g, '');\n\nvar AppleSigninButton = function AppleSigninButton(_ref) {\n var onSuccess = _ref.onSuccess,\n onError = _ref.onError,\n _ref$skipScript = _ref.skipScript,\n skipScript = _ref$skipScript === void 0 ? false : _ref$skipScript,\n authOptions = _ref.authOptions,\n iconProps = _ref.iconProps,\n render = _ref.render,\n _ref$uiType = _ref.uiType,\n uiType = _ref$uiType === void 0 ? 'dark' : _ref$uiType,\n className = _ref.className,\n _ref$noDefaultStyle = _ref.noDefaultStyle,\n noDefaultStyle = _ref$noDefaultStyle === void 0 ? false : _ref$noDefaultStyle,\n _ref$buttonExtraChild = _ref.buttonExtraChildren,\n buttonExtraChildren = _ref$buttonExtraChild === void 0 ? 'Continue with Apple' : _ref$buttonExtraChild,\n rest = _objectWithoutProperties(_ref, _excluded);\n\n /** load script if neccessary */\n (0, _useScript.default)(skipScript ? null : _appleAuthHelpers.default.APPLE_SCRIPT_SRC);\n /** Button click handler */\n\n var handleClick = function handleClick(e) {\n if (e) {\n e.preventDefault();\n e.stopPropagation();\n }\n\n _appleAuthHelpers.default.signIn({\n authOptions: authOptions,\n onSuccess: onSuccess,\n onError: onError\n });\n };\n /** common props */\n\n\n var props = _objectSpread({\n children: /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(\"svg\", _extends({\n width: \"24px\",\n height: \"44px\",\n viewBox: \"0 0 24 44\"\n }, iconProps), /*#__PURE__*/_react.default.createElement(\"g\", {\n id: \"Left-Black-Logo-Small\",\n stroke: \"none\",\n strokeWidth: \"1\",\n fill: \"none\",\n fillRule: \"evenodd\"\n }, /*#__PURE__*/_react.default.createElement(\"rect\", {\n id: \"Rectangle\",\n fill: uiType === 'light' ? '#FFF' : '#000',\n x: \"0\",\n y: \"0\",\n width: \"24\",\n height: \"44\"\n }), /*#__PURE__*/_react.default.createElement(\"path\", {\n d: \"M12.2337427,16.9879688 C12.8896607,16.9879688 13.7118677,16.5445313 14.2014966,15.9532812 C14.6449341,15.4174609 14.968274,14.6691602 14.968274,13.9208594 C14.968274,13.8192383 14.9590357,13.7176172 14.9405591,13.6344727 C14.2107349,13.6621875 13.3330982,14.1241016 12.8065162,14.7430664 C12.3907935,15.2142188 12.012024,15.9532812 12.012024,16.7108203 C12.012024,16.8216797 12.0305005,16.9325391 12.0397388,16.9694922 C12.0859302,16.9787305 12.1598365,16.9879688 12.2337427,16.9879688 Z M9.92417241,28.1662891 C10.8202857,28.1662891 11.2175318,27.5658008 12.3353638,27.5658008 C13.4716724,27.5658008 13.721106,28.1478125 14.7188404,28.1478125 C15.6980982,28.1478125 16.3540162,27.2424609 16.972981,26.3555859 C17.6658521,25.339375 17.9522388,24.3416406 17.9707154,24.2954492 C17.9060474,24.2769727 16.0306763,23.5101953 16.0306763,21.3576758 C16.0306763,19.491543 17.5088013,18.6508594 17.5919459,18.5861914 C16.612688,17.1819727 15.1253248,17.1450195 14.7188404,17.1450195 C13.6194849,17.1450195 12.7233716,17.8101758 12.1598365,17.8101758 C11.5501099,17.8101758 10.7463794,17.1819727 9.79483648,17.1819727 C7.98413335,17.1819727 6.14571538,18.6785742 6.14571538,21.5054883 C6.14571538,23.2607617 6.8293482,25.1176563 7.67003179,26.3186328 C8.39061773,27.3348438 9.01882085,28.1662891 9.92417241,28.1662891 Z\",\n id: \"\\uF8FF\",\n fill: uiType === 'light' ? '#000' : '#FFF',\n fillRule: \"nonzero\"\n }))), buttonExtraChildren),\n onClick: handleClick\n }, rest);\n /** use render function if passed */\n\n\n if (render) {\n return render(props);\n }\n /** render button */\n\n\n return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(\"button\", _extends({\n className: \"\".concat(noDefaultStyle ? '' : \"react-apple-signin-auth-btn react-apple-signin-auth-btn-\".concat(uiType)).concat(className ? \" \".concat(className) : ''),\n type: \"button\",\n \"aria-label\": \"Signin with apple ID\"\n }, props)), noDefaultStyle ? null : /*#__PURE__*/_react.default.createElement(\"style\", null, _style));\n};\n\nvar _default = AppleSigninButton;\nexports[\"default\"] = _default;\n\n/***/ }),\n\n/***/ 3059:\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"] = void 0;\n\nvar _waitForVar = _interopRequireDefault(__webpack_require__(7062));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar APPLE_SCRIPT_SRC = 'https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js';\n/**\n * Performs an apple ID signIn operation\n */\n\nvar signIn = function signIn(_ref) {\n var authOptions = _ref.authOptions,\n onSuccess = _ref.onSuccess,\n onError = _ref.onError;\n return (\n /** wait for apple sript to load */\n (0, _waitForVar.default)('AppleID').then(function () {\n /** Handle if appleID script was not loaded -- log + throw error to be caught below */\n if (!window.AppleID) {\n console.error(new Error('Error loading apple script'));\n }\n /** Init apple auth */\n\n\n window.AppleID.auth.init(authOptions);\n /** Signin to appleID */\n\n window.AppleID.auth.signIn().then(function (response) {\n /** This is only called in case usePopup is true */\n if (onSuccess) {\n onSuccess(response);\n }\n /** resolve with the reponse */\n\n\n return response;\n });\n }).catch(function (err) {\n if (onError) {\n /** Call onError catching the error */\n onError(err);\n } else {\n /** Log the error to help debug */\n console.error(err);\n }\n\n return null;\n })\n );\n};\n\nvar _default = {\n APPLE_SCRIPT_SRC: APPLE_SCRIPT_SRC,\n signIn: signIn\n};\nexports[\"default\"] = _default;\n\n/***/ }),\n\n/***/ 5847:\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"] = void 0;\n\nvar _react = __webpack_require__(7294);\n\n/**\n * useScript hook\n *\n * https://usehooks.com/useScript\n */\nfunction useScript(src) {\n (0, _react.useEffect)(function () {\n // Allow falsy src value if waiting on other data needed for\n // constructing the script URL passed to this hook.\n if (!src) {\n return;\n } // Fetch existing script element by src\n // It may have been added by another intance of this hook\n\n\n var script = document.querySelectorAll(\"script[src=\\\"\".concat(src, \"\\\"]\"))[0];\n\n if (!script) {\n // Create script\n script = document.createElement('script');\n script.src = src;\n script.async = true; // Add script to document body\n\n document.body.appendChild(script);\n }\n }, [src] // Only re-run effect if script src changes\n );\n}\n\nvar _default = useScript;\nexports[\"default\"] = _default;\n\n/***/ }),\n\n/***/ 6701:\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\nvar __webpack_unused_export__;\n\n\n__webpack_unused_export__ = ({\n value: true\n});\n__webpack_unused_export__ = ({\n enumerable: true,\n get: function get() {\n return _appleAuthHelpers.default;\n }\n});\n__webpack_unused_export__ = ({\n enumerable: true,\n get: function get() {\n return _useScript.default;\n }\n});\n__webpack_unused_export__ = void 0;\n\nvar _AppleSigninButton = _interopRequireDefault(__webpack_require__(8181));\n\nvar _appleAuthHelpers = _interopRequireDefault(__webpack_require__(3059));\n\nvar _useScript = _interopRequireDefault(__webpack_require__(5847));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar _default = _AppleSigninButton.default;\n__webpack_unused_export__ = _default;\n\n/***/ }),\n\n/***/ 7062:\n/***/ (function(__unused_webpack_module, exports) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"] = void 0;\n\n/**\n * Async wait for a variable till it gets defined in a parent\n *\n * • Usage Example: Waiting for async window.FB var to be initialized\n * - eg: `waitForVar('FB').then(FB => FB.test())`\n * - eg: `waitForVar('FB', { pollFrequency: 500, retries: 2, parent: window || global }).then(FB => FB.test())`\n * - eg: `waitForVar('FB', { retries: ({ retries } => retries * 500) }).then(FB => FB.test())`\n */\nvar waitForVar = function waitForVar(name) {\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n pollFrequency: 1000,\n retries: 100,\n parent: window\n },\n _ref$pollFrequency = _ref.pollFrequency,\n pollFrequency = _ref$pollFrequency === void 0 ? 1000 : _ref$pollFrequency,\n _ref$retries = _ref.retries,\n inRetries = _ref$retries === void 0 ? 100 : _ref$retries,\n _ref$parent = _ref.parent,\n parent = _ref$parent === void 0 ? window : _ref$parent;\n\n // eslint-disable-next-line no-prototype-builtins\n if (parent && parent.hasOwnProperty(name)) {\n return Promise.resolve(parent[name]);\n }\n\n if (!inRetries) {\n return Promise.resolve(undefined);\n }\n\n var retries = inRetries - 1;\n return new Promise(function (resolve) {\n return setTimeout(resolve, typeof pollFrequency === 'function' ? pollFrequency({\n retries: retries\n }) : pollFrequency);\n }).then(function () {\n return waitForVar(name, {\n pollFrequency: pollFrequency,\n parent: parent,\n retries: retries\n });\n });\n};\n\nvar _default = waitForVar;\nexports[\"default\"] = _default;\n\n/***/ })\n\n},\n/******/ function(__webpack_require__) { // webpackRuntimeModules\n/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }\n/******/ __webpack_require__.O(0, [130,726,782,896,774,888,179], function() { return __webpack_exec__(751); });\n/******/ var __webpack_exports__ = __webpack_require__.O();\n/******/ _N_E = __webpack_exports__;\n/******/ }\n]);"],"names":["self","push","__unused_webpack_module","__webpack_exports__","__webpack_require__","e","message","r","d","n","prototype","Error","name","window","atob","bind","t","String","replace","length","o","a","i","c","charAt","fromCharCode","indexOf","header","JSON","parse","decodeURIComponent","charCodeAt","toString","toUpperCase","split","__unused_webpack_exports","__NEXT_P","LoginType","CodeStatusState","Title","PasswordLabel","styled_components__WEBPACK_IMPORTED_MODULE_3__","styles_helper__WEBPACK_IMPORTED_MODULE_0__","styles_colors__WEBPACK_IMPORTED_MODULE_1__","styles_animations__WEBPACK_IMPORTED_MODULE_2__","_taggedTemplateLiteral","strings","raw","slice","Object","freeze","defineProperties","_templateObject","data","_templateObject1","_templateObject2","_templateObject3","ZP","h1","withConfig","jF","props","show","Z","white","s","bp_767","label","black","white50","span","errorRed","index_page","jsx_runtime","react","next_router","GlobalContextProvider","reducer","runtime","runtime_default","index_esm","hooks","utils","es","yupResolver","X","state_state","constants","common","Link","SharedStyles","styled_components_browser_esm","helper","colors","animations","_templateObject4","Form","form","bp_1099","jR","bp_768","white25","altoLight","asyncGeneratorStep","gen","resolve","reject","_next","_throw","key","arg","info","value","error","done","Promise","then","_defineProperty","obj","defineProperty","enumerable","configurable","writable","components_CreatePassword","param","ref","ref1","language_strings_en_US","fn","_ref","profile","_email","email","_setEmail","setEmail","ref2","useContext","I","state","dispatch","_state","account","isLoading","_isSocialAuth","isSocialAuth","_data","appleEmail","id_token","authorization","ref3","F2","string","ref4","kt","passwordShown","toggle","code","ix","router","useRouter","ref5","cI","reValidateMode","resolver","Ry","shape","Z_","required","min","profile_passwordRequirementsInfo","defaultValues","register","handleSubmit","reset","_formState","formState","errors","isSubmitting","isValid","onSubmit","mark","_callee","appleResponse","updatedProfile","res","shouldRedirectToSuccess","wrap","_ctx","prev","next","K4","appleRegister","password","appleToken","sent","_y","setAccountCookie","CL","accessToken","userLoggedInOrRegistered","isRegister","mvpdId","apiKey","Kc","SUCCESS","ko","W3","t0","sT","stop","args","arguments","apply","err","undefined","useEffect","jsx","aN","jsxs","children","Dx","Fragment","II","target","source","ownKeys","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","forEach","placeholder","profile_createNewPwInputPlaceholder","ru","jj","z3","href","BA","TERMS_LINK","external","PRIVACY_POLICY","zx","kind","disabled","Boolean","onClick","log","LINK","trackCalls","EmailSchema_yupResolver","schemas_EmailSchema","nullable","matches","RegExp","profile_emailInvalidError","SignInForm_asyncGeneratorStep","SignInForm_defineProperty","SignInForm_templateObject","copy","continueWithEmailText","orContinueWithText","components_SignInForm","param1","email1","_setExistingEmail","setExistingEmail","found","status","EXISTING_USER","GV","zW","PROFILE_SIGN_IN_STARTED","NEW_USER","PROFILE_SIGN_UP_STARTED","_","SignInForm_Form","createAccountText","type","bluePrimary","Apple_templateObject","Google_templateObject","Facebook_templateObject","Socials_templateObject","ForgotPassword_asyncGeneratorStep","ForgotPassword_defineProperty","ForgotPassword_taggedTemplateLiteral","ForgotPassword_templateObject","ForgotPassword_templateObject1","button","sanMarino","div","components_ForgotPassword","useState","resetEmail","setResetEmail","ref6","isSubmitted","handleResetPassword","resetPassword","useV2","ForgotPassword_Form","autoFocus","profileResetPw_button","profileResetPw_emailPromptMessage","LANDING_PAGE","EmailAndPasswordSchema_yupResolver","Form_taggedTemplateLiteral","Form_templateObject","Form_templateObject1","Form_templateObject2","Form_templateObject3","Form_templateObject4","Form_Form","regCodeType","EmailPasswordForm_asyncGeneratorStep","EmailPasswordForm_asyncToGenerator","EmailPasswordForm_defineProperty","EmailPasswordForm_objectSpread","components_EmailPasswordForm","ref11","_obj","flowStage","isRegister1","firstScreenVersion","secondScreenVersion","ref7","watch","clearErrors","setValue","dirtyFields","watchEmail","userEmail","setUserLoggedInOrRegistered","setRegCodeStatus","B","fox","G","ok","XX","finish","loginResponse","accountInfo","googleRegisterResponse","ref8","accountInfo1","facebookRegisterResponse","registerResponse","ref9","ref10","appleLinkResponse","abrupt","login","PROFILE_SIGN_IN_COMPLETED","Tr","tokenId","googleRegister","vq","facebookRegister","t1","migrateData","PROFILE_SIGN_UP_COMPLETED","appleLink","t2","t3","screenProps","global_signInButton","headline","forgotPasswordText","profileSignin_forgotPasswordText","profileCreate_createButton","profile_facebookLoginTitle","disclosure","profile_createProfileHeader","profile_createPasswordInfoSIWA","buttonText","profile_createProfileButton","noProfileCTA","profile_noProfileCTA","readOnly","PJ","I8","rU","className","ts","FORGOT_PASSWORD","CREATE_PASSWORD","useSetUserLoggedInOrRegistered","Loader","CheckMark","process","Success_asyncGeneratorStep","Success_templateObject","accountCopy","accountSignedUp","components_Success","existingEmail","config","_isRegister","successTimer","setTimeout","env","NEXT_PUBLIC_DELTA_SITE_URL","siteUrl","yk","StyledSuccess","accountSignedIn","index_page_defineProperty","l9","sn","PROFILE_PROMPT_LANDING","pageType","c7","PROFILE_PROMPT","Vk","v4","VIEW","ViewComponent","HJ","exports","_react","_interopRequireDefault","_useScript","_appleAuthHelpers","_excluded","__esModule","_extends","assign","hasOwnProperty","call","object","enumerableOnly","symbols","_style","onSuccess","onError","_ref$skipScript","skipScript","authOptions","iconProps","render","_ref$uiType","uiType","_ref$noDefaultStyle","noDefaultStyle","_ref$buttonExtraChild","buttonExtraChildren","rest","excluded","sourceKeys","sourceSymbolKeys","propertyIsEnumerable","default","APPLE_SCRIPT_SRC","getOwnPropertyDescriptors","createElement","height","viewBox","stroke","strokeWidth","fill","fillRule","x","y","width","id","preventDefault","stopPropagation","signIn","_waitForVar","AppleID","console","auth","init","response","catch","src","script","document","querySelectorAll","async","body","appendChild","_AppleSigninButton","waitForVar","retries","parent","_ref$pollFrequency","pollFrequency","_ref$retries","inRetries","_ref$parent","O","_N_E"],"sourceRoot":""}