{"version":3,"file":"sign_up_flow-hkPqQZTN.js","sources":["../../app/javascript/utils/password_utils.js","../../app/javascript/components/sign_up/sign_up_additional_info.jsx","../../app/javascript/components/sign_up/existing_user/additional_info.jsx","../../app/javascript/components/sign_up/existing_user/reset_password/email.jsx","../../app/javascript/components/sign_up/existing_user/reset_password/sms.tsx","../../app/javascript/components/sign_up/existing_user/reset_password/index.jsx","../../app/javascript/utils/headers.ts","../../app/javascript/components/sign_up/existing_user/sign_in_form.jsx","../../app/javascript/components/sign_up/disambiguate_during_sign_up.jsx","../../app/javascript/components/sign_up/sign_up_flow.jsx","../../app/javascript/entrypoints/react_rails/sign_up/sign_up_flow.tsx"],"sourcesContent":["// check if a password meets the minimum requirements:\n// - 10-30 characters\n// - 1 number\n// - 1 upper case letter\n// - 1 special character\nfunction isValidPassword(password) {\n // password does not meet requirements (10-30 char, 1 num, 1 upper, 1 special)\n const passFormat = /^(?=.*\\d)(?=.*[A-Z])(?=.*[^a-zA-Z0-9])(?!.*\\s).{10,30}$/;\n\n return password.match(passFormat) ? true : false;\n}\n\nexport { isValidPassword };\n","// Third-party imports.\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport styled from \"styled-components\";\nimport { ParagraphSmall } from \"baseui/typography\";\nimport { NewTab } from \"@carbon/icons-react\";\nimport { StyledLink } from \"baseui/link\";\n\nconst Heading = styled(ParagraphSmall)`\n margin-top: ${({ theme }) => theme.sizing.scale400};\n margin-bottom: 0px;\n font-weight: ${({ theme }) => theme.typography.HeadingXSmall.fontWeight};\n`;\n\nconst StyledParagraphSmall = styled(ParagraphSmall)`\n margin-top: ${({ theme }) => theme.sizing.scale800};\n`;\n\nconst StyledLinksContainer = styled(ParagraphSmall)`\n display: inline-grid;\n grid-template-columns: auto auto;\n grid-gap: 5px;\n margin-top: ${({ theme }) => theme.sizing.scale300};\n margin-bottom: 0px;\n color: ${({ theme }) => theme.colors.primary500};\n`;\nclass SignUpAdditionalInfo extends React.Component {\n textContainerRef = React.createRef();\n\n static propTypes = {\n role: PropTypes.string.isRequired, // 'Student' or 'Mentor'\n translator: PropTypes.object.isRequired,\n };\n\n render() {\n return (\n