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CAAAzB,UAAA","sources":["webpack://_N_E/?b3f0","webpack://_N_E/./app/not-found.tsx","webpack://_N_E/./components/PhoneNumber.tsx","webpack://_N_E/./styles/styles.ts","webpack://_N_E/"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src1087516992/src/payments-web-app/frontend/app/not-found.tsx\")","\"use client\";\n\n// DEPENDENCIES\nimport React, { type ReactElement } from \"react\";\nimport { useRouter } from \"next/navigation\";\nimport {\n Button,\n IconFa,\n Heading,\n crukTheme,\n} from \"@cruk/cruk-react-components\";\nimport { faChevronLeft } from \"@fortawesome/free-solid-svg-icons\";\n\n// COMPONENTS\nimport { ExtendedBoxWrapper, PageContainer, MaxWidth } from \"../styles/styles\";\nimport GiftAidFormWrapper from \"../components/GiftAidFormWrapper\";\n\n// CONTEXTS\nimport FormNameContext from \"../contexts/FormNameContext\";\nimport PhoneNumber from \"../components/PhoneNumber\";\n\nconst ErrorPage = (): ReactElement => {\n const formPath =\n typeof window !== \"undefined\" ? window.location.pathname.split(\"/\") : \"\";\n const formName = formPath ? formPath[1] : \"support-us\";\n const router = useRouter();\n\n return (\n \n \n \n \n \n

404 - Page not found

\n \n Sorry - the page you are looking for can’t be found\n \n

Please check that you have entered the correct web address.

\n\n Donate to Cancer Research UK\n

\n You can still make a single or monthly donation by calling our\n Supporter Services team on{\" \"}\n 0300 123 1022 (8am-6pm).\n

\n

\n Our work to prevent, diagnose and treat cancer has saved\n millions of lives, but we won’t stop until we’ve\n beaten cancer for good.\n

\n\n Donate to Stand Up To Cancer\n

\n Donate by text: To give £30, £20 or £10 text THIRTY, TWENTY or\n TEN to 70404. See{\" \"}\n \n Stand Up To Cancer terms\n \n .\n

\n

\n Donate by phone: Call 0300 123 4444{\" \"}\n to make a donation.{\" \"}\n

\n

\n 100% of your donation goes to Cancer Research UK in support of\n the Stand Up To Cancer campaign.{\" \"}\n \n Find out more about Stand Up To Cancer\n \n .\n

\n\n \n
\n
\n
\n \n
\n );\n};\n\nexport default ErrorPage;\n","import { type ReactElement } from \"react\";\nimport styled from \"styled-components\";\nimport { type ThemeType } from \"@cruk/cruk-react-components\";\nimport {\n internationalizePhoneNumber,\n removeMiddleSpaces,\n} from \"../helpers/functions\";\n\nconst PhoneNumberMobile = styled.a`\n @media (min-width: ${({ theme }: { theme: ThemeType }) =>\n theme.breakpoint.tablet}) {\n display: none;\n }\n`;\n\nconst PhoneNumberDesktop = styled.span`\n display: none;\n\n @media (min-width: ${({ theme }: { theme: ThemeType }) =>\n theme.breakpoint.tablet}) {\n display: inline;\n }\n`;\n\ntype PhoneNumberProps = {\n countryCallingCode?: string;\n children: string;\n};\n\nconst PhoneNumber = ({\n children,\n countryCallingCode,\n}: PhoneNumberProps): ReactElement => (\n <>\n \n {children}\n \n {children}\n \n);\n\nexport default PhoneNumber;\n","import styled, { css } from \"styled-components\";\nimport { Box, type ThemeType } from \"@cruk/cruk-react-components\";\n\nexport const ButtonLink = styled.button`\n background: none;\n padding: 0;\n margin: -${({ theme }: { theme: ThemeType }) => theme.spacing.xxs} 0\n ${({ theme }: { theme: ThemeType }) => theme.spacing.xs};\n border: 0;\n color: ${({ theme }: { theme: ThemeType }) => theme.colors.primary};\n text-decoration: underline;\n cursor: pointer;\n\n &:hover,\n &:focus {\n text-decoration: none;\n color: ${({ theme }: { theme: ThemeType }) => theme.colors.linkColorHover};\n }\n`;\n\nexport const widthTabletStyles = css`\n @media (min-width: ${({ theme }: { theme: ThemeType }) =>\n theme.breakpoint.tablet}) {\n width: 70%;\n }\n`;\n\nexport const ExtendedBoxWrapper = styled(Box)`\n ${widthTabletStyles};\n`;\n\nexport const InputsLayoutWrapper = styled.div`\n @media (min-width: ${({ theme }: { theme: ThemeType }) =>\n theme.breakpoint.mobile}) {\n width: 70%;\n }\n`;\n\nexport const MaxWidth = styled.div`\n margin: 0 auto;\n max-width: ${({ theme }: { theme: ThemeType }) =>\n theme.utilities.contentMaxWidth};\n`;\n\nexport const PageContainer = styled.div`\n padding: ${({ theme }: { theme: ThemeType }) => theme.spacing.m}\n ${({ theme }: { theme: ThemeType }) => theme.spacing.s};\n`;\n\nexport const SiteContainer = styled.div`\n display: flex;\n min-height: 100vh;\n flex-direction: column;\n`;\n"],"names":["Promise","resolve","then","__webpack_require__","bind","__webpack_exports__","formPath","window","location","pathname","split","formName","router","useRouter","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","FormNameContext","Provider","value","GiftAidFormWrapper","theme","crukTheme","isErrorPage","PageContainer","MaxWidth","jsxs","ExtendedBoxWrapper","marginVertical","marginHorizontal","h1","Heading","h2","p","h3","PhoneNumber","a","href","target","rel","Button","appearance","onClick","back","IconFa","faIcon","faChevronLeft","size","PhoneNumberMobile","styled","withConfig","param","breakpoint","tablet","PhoneNumberDesktop","span","Z","children","countryCallingCode","Fragment","concat","internationalizePhoneNumber","removeMiddleSpaces","ButtonLink","button","spacing","xxs","xs","colors","primary","linkColorHover","widthTabletStyles","css","Box","InputsLayoutWrapper","div","mobile","utilities","contentMaxWidth","m","s"],"sourceRoot":""}