AuthPage.def78fff.chunk.js.map 87 KB

1
  1. {"version":3,"sources":["img/qrCode_telegram.png","components/AuthPage/QRCode/index.tsx","img/icons8-telegram-app.svg","../node_modules/@material-ui/core/esm/ListItem/ListItem.js","../node_modules/@material-ui/core/esm/MenuItem/MenuItem.js","../node_modules/@mui/material/FormControlLabel/formControlLabelClasses.js","../node_modules/@mui/material/FormControlLabel/FormControlLabel.js","helpers/countries.tsx","components/AuthPage/Authorization/index.tsx","img/monkey.png","components/AuthPage/SMSCode/index.tsx","../node_modules/@material-ui/core/esm/ListItemIcon/ListItemIcon.js","../node_modules/@material-ui/core/esm/ListItemText/ListItemText.js","components/AuthPage/Registration/UploadAvatar/index.tsx","components/AuthPage/Registration/index.tsx","components/AuthPage/index.tsx"],"names":["useStyles","makeStyles","container","display","alignItems","alignContent","flexDirection","width","margin","paddingTop","paddingBottom","picture","marginBottom","title","textAlign","titleSpan","justifyContent","height","position","left","backgroundColor","borderRadius","color","button","marginTop","QRCode","handleIsQR","classes","className","alt","src","qrCode","Button","onClick","variant","fullWidth","useEnhancedEffect","window","React","ListItem","props","ref","_props$alignItems","_props$autoFocus","autoFocus","_props$button","childrenProp","children","componentProp","component","_props$ContainerCompo","ContainerComponent","_props$ContainerProps","ContainerProps","ContainerClassName","_objectWithoutProperties","_props$dense","dense","_props$disabled","disabled","_props$disableGutters","disableGutters","_props$divider","divider","focusVisibleClassName","_props$selected","selected","other","context","ListContext","childContext","listItemRef","current","focus","toArray","hasSecondaryAction","length","isMuiElement","handleOwnRef","instance","ReactDOM","handleRef","useForkRef","componentProps","_extends","clsx","root","gutters","alignItemsFlexStart","secondaryAction","Component","focusVisible","ButtonBase","Provider","value","pop","withStyles","theme","textDecoration","boxSizing","palette","action","opacity","borderBottom","concat","backgroundClip","paddingLeft","paddingRight","transition","transitions","create","duration","shortest","hover","name","MenuItem","tabIndex","_props$component","ListItemClasses","_props$role","role","tabIndexProp","undefined","typography","body1","_defineProperty","minHeight","overflow","whiteSpace","breakpoints","up","body2","getFormControlLabelUtilityClasses","slot","generateUtilityClass","formControlLabelClasses","generateUtilityClasses","_excluded","FormControlLabelRoot","styled","overridesResolver","styles","ownerState","label","capitalize","labelPlacement","cursor","verticalAlign","WebkitTapHighlightColor","marginLeft","marginRight","text","FormControlLabel","inProps","useThemeProps","componentsProps","control","disabledProp","disableTypography","_objectWithoutPropertiesLoose","muiFormControl","useFormControl","controlProps","forEach","key","fcs","formControlState","states","error","slots","composeClasses","useUtilityClasses","_jsxs","type","Typography","_jsx","countries","titleConfirm","fontWeight","buttonQR","buttonNext","textField","Authorization","handleIsCheck","handleSendCode","number","setNumber","setCountry","country","isChecked","isValidCredentials","handleTextField","e","target","code","find","el","TextField","id","defaultValue","select","onChange","map","Checkbox","checked","inputProps","buttonSubmit","SMSCode","handleIsValidCode","handleResetState","monkeyPng","IconButton","size","aria-label","ListItemIcon","minWidth","active","flexShrink","ListItemText","_props$disableTypogra","_props$inset","inset","primaryProp","primary","primaryTypographyProps","secondaryProp","secondary","secondaryTypographyProps","multiline","flex","dropZone","padding","outline","UploadAvatar","setUpload","useDropzone","accept","acceptedFiles","getRootProps","getInputProps","useEffect","acceptedFileItems","file","path","InputLabel","Registration","useState","setName","lastName","setLastName","upload","dispatch","useDispatch","format","handleUpdateUser","a","asyncCreateUser","required","validName","validLastName","AuthPage","isQR","setIsQR","isCode","setIsCode","setIsChecked","isReg","setIsReg","asyncLogin","authorizeUser","res","isCheckedLC","localStorage","setItem","flag","numberLength","split","join","trim","slice"],"mappings":"mLAAe,MAA0B,4C,kBCGnCA,EAAYC,YAAW,CAC3BC,UAAW,CACTC,QAAS,OACTC,WAAY,SACZC,aAAa,SACbC,cAAe,SACfC,MAAO,IACPC,OAAQ,SACRC,WAAY,GACZC,cAAe,IAEjBC,QAAS,CACPC,aAAc,IAEhBC,MAAO,CACLC,UAAW,SACXF,aAAc,IAEhBG,UAAW,CACTZ,QAAS,OACTa,eAAgB,SAChBX,aAAc,SACdD,WAAY,SACZG,MAAO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,EAAQ8E,GAAQ,kBAAMI,GAAUD,MAFpC,6EAAH,sDAKjBlF,EAAc,uCAAG,4BAAAuE,EAAA,sEACDc,aAAchB,aAAOpE,GAASG,GAD7B,QACbkF,EADa,SAEZN,EAAUM,GAFE,2CAAH,qDA0BpB,OATA9B,qBAAU,WACR,IAAM+B,EAAcC,aAAanF,UAC7BkF,EACFN,EAA6B,SAAhBM,GAEbC,aAAaC,QAAQ,YAAY,UAElC,IAGDP,EAAM,cAAC,GAAD,IACNH,EAAS,cAAC,GAAD,CACPvD,kBAAmBA,EACnBvB,OAAQA,EACRwB,iBApBqB,WACvBuD,EAAU,IACV7E,EAAW,WACXD,EAAU,OAkBR2E,EAAO,cAAC,EAAD,CAAQ3O,WAAYA,IACzB,cAAC,EAAD,CAAeA,WAAYA,EACzB8J,eAAgBA,EAChBD,cA9Bc,SAACS,GACrB,IAAMkF,EAAOlF,EAAEC,OAAOW,QACtB6D,EAAaS,GACbF,aAAanF,UAAYqF,GA4BnBxF,UAAWA,EACXD,OAAQA,EACRG,QAASA,EACTD,WAAYA,EACZE,UAAWA,EACXC,mBAtDmB,WACzB,IAAMqF,EAAe1F,EAAO2F,MAAM,KAAKC,KAAK,IAAIC,OAAO1M,OACtD,QAAIuM,EAAe,IAAMA,EAAe,SACnCvF,GAAuB,YAAZA,KACbH,EAAO8F,MAAM,EAAE,IAAmB","file":"static/js/AuthPage.def78fff.chunk.js","sourcesContent":["export default __webpack_public_path__ + \"static/media/qrCode_telegram.bb0caf3c.png\";","import qrCode from '../../../img/qrCode_telegram.png'\r\nimport { makeStyles, Button, } from '@material-ui/core'\r\n\r\nconst useStyles = makeStyles({\r\n container: {\r\n display: 'flex',\r\n alignItems: 'center',\r\n alignContent:'center',\r\n flexDirection: 'column',\r\n width: 350,\r\n margin: '0 auto',\r\n paddingTop: 64,\r\n paddingBottom: 24,\r\n },\r\n picture: {\r\n marginBottom: 16,\r\n },\r\n title: {\r\n textAlign: 'center',\r\n marginBottom: 16,\r\n },\r\n titleSpan: {\r\n display: 'flex',\r\n justifyContent: 'center',\r\n alignContent: 'center',\r\n alignItems: 'center',\r\n width: 25,\r\n height: 25,\r\n position: 'absolute',\r\n left:780,\r\n backgroundColor: '#5497f0',\r\n borderRadius: '50%',\r\n color: '#ffffff',\r\n },\r\n button: {\r\n marginTop: 20,\r\n height: 50,\r\n color: '#5497f0'\r\n }\r\n})\r\n\r\ninterface IQRCode {\r\n handleIsQR:() => void\r\n}\r\n\r\nconst QRCode = ({ handleIsQR }: IQRCode) => {\r\n\r\n const classes = useStyles()\r\n return (\r\n <div className={classes.container} >\r\n <img className={classes.picture} alt=\"QRCode\" src={qrCode} width='300' height='300' />\r\n <h2 className={classes.title}>Log in to Telegram by QR Code</h2>\r\n <h3 className={classes.title}>\r\n <span className={classes.titleSpan}>1</span>\r\n Open Telegram on your phone\r\n </h3>\r\n <h3 className={classes.title}>\r\n <span className={classes.titleSpan}>2</span>\r\n {`Go to Settings > Devices > Link Desktop Device`}\r\n </h3>\r\n <h3 className={classes.title}>\r\n <span className={classes.titleSpan}>3</span>\r\n Log in to Telegram by QR Code\r\n </h3>\r\n <Button onClick={handleIsQR}\r\n className={classes.button}\r\n variant=\"text\"\r\n color=\"default\"\r\n fullWidth>\r\n LOG IN BY PHONE NUMBER\r\n </Button>\r\n </div>\r\n );\r\n};\r\n\r\nexport default QRCode;","export default __webpack_public_path__ + \"static/media/icons8-telegram-app.be023370.svg\";","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nimport isMuiElement from '../utils/isMuiElement';\nimport useForkRef from '../utils/useForkRef';\nimport ListContext from '../List/ListContext';\nimport * as ReactDOM from 'react-dom';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the (normally root) `component` element. May be wrapped by a `container`. */\n root: {\n display: 'flex',\n justifyContent: 'flex-start',\n alignItems: 'center',\n position: 'relative',\n textDecoration: 'none',\n width: '100%',\n boxSizing: 'border-box',\n textAlign: 'left',\n paddingTop: 8,\n paddingBottom: 8,\n '&$focusVisible': {\n backgroundColor: theme.palette.action.selected\n },\n '&$selected, &$selected:hover': {\n backgroundColor: theme.palette.action.selected\n },\n '&$disabled': {\n opacity: 0.5\n }\n },\n\n /* Styles applied to the `container` element if `children` includes `ListItemSecondaryAction`. */\n container: {\n position: 'relative'\n },\n\n /* Pseudo-class applied to the `component`'s `focusVisibleClassName` prop if `button={true}`. */\n focusVisible: {},\n\n /* Styles applied to the `component` element if dense. */\n dense: {\n paddingTop: 4,\n paddingBottom: 4\n },\n\n /* Styles applied to the `component` element if `alignItems=\"flex-start\"`. */\n alignItemsFlexStart: {\n alignItems: 'flex-start'\n },\n\n /* Pseudo-class applied to the inner `component` element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the inner `component` element if `divider={true}`. */\n divider: {\n borderBottom: \"1px solid \".concat(theme.palette.divider),\n backgroundClip: 'padding-box'\n },\n\n /* Styles applied to the inner `component` element if `disableGutters={false}`. */\n gutters: {\n paddingLeft: 16,\n paddingRight: 16\n },\n\n /* Styles applied to the inner `component` element if `button={true}`. */\n button: {\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shortest\n }),\n '&:hover': {\n textDecoration: 'none',\n backgroundColor: theme.palette.action.hover,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n\n /* Styles applied to the `component` element if `children` includes `ListItemSecondaryAction`. */\n secondaryAction: {\n // Add some space to avoid collision as `ListItemSecondaryAction`\n // is absolutely positioned.\n paddingRight: 48\n },\n\n /* Pseudo-class applied to the root element if `selected={true}`. */\n selected: {}\n };\n};\nvar useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect;\n/**\n * Uses an additional container component if `ListItemSecondaryAction` is the last child.\n */\n\nvar ListItem = /*#__PURE__*/React.forwardRef(function ListItem(props, ref) {\n var _props$alignItems = props.alignItems,\n alignItems = _props$alignItems === void 0 ? 'center' : _props$alignItems,\n _props$autoFocus = props.autoFocus,\n autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus,\n _props$button = props.button,\n button = _props$button === void 0 ? false : _props$button,\n childrenProp = props.children,\n classes = props.classes,\n className = props.className,\n componentProp = props.component,\n _props$ContainerCompo = props.ContainerComponent,\n ContainerComponent = _props$ContainerCompo === void 0 ? 'li' : _props$ContainerCompo,\n _props$ContainerProps = props.ContainerProps;\n _props$ContainerProps = _props$ContainerProps === void 0 ? {} : _props$ContainerProps;\n\n var ContainerClassName = _props$ContainerProps.className,\n ContainerProps = _objectWithoutProperties(_props$ContainerProps, [\"className\"]),\n _props$dense = props.dense,\n dense = _props$dense === void 0 ? false : _props$dense,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$disableGutters = props.disableGutters,\n disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters,\n _props$divider = props.divider,\n divider = _props$divider === void 0 ? false : _props$divider,\n focusVisibleClassName = props.focusVisibleClassName,\n _props$selected = props.selected,\n selected = _props$selected === void 0 ? false : _props$selected,\n other = _objectWithoutProperties(props, [\"alignItems\", \"autoFocus\", \"button\", \"children\", \"classes\", \"className\", \"component\", \"ContainerComponent\", \"ContainerProps\", \"dense\", \"disabled\", \"disableGutters\", \"divider\", \"focusVisibleClassName\", \"selected\"]);\n\n var context = React.useContext(ListContext);\n var childContext = {\n dense: dense || context.dense || false,\n alignItems: alignItems\n };\n var listItemRef = React.useRef(null);\n useEnhancedEffect(function () {\n if (autoFocus) {\n if (listItemRef.current) {\n listItemRef.current.focus();\n } else if (process.env.NODE_ENV !== 'production') {\n console.error('Material-UI: Unable to set focus to a ListItem whose component has not been rendered.');\n }\n }\n }, [autoFocus]);\n var children = React.Children.toArray(childrenProp);\n var hasSecondaryAction = children.length && isMuiElement(children[children.length - 1], ['ListItemSecondaryAction']);\n var handleOwnRef = React.useCallback(function (instance) {\n // #StrictMode ready\n listItemRef.current = ReactDOM.findDOMNode(instance);\n }, []);\n var handleRef = useForkRef(handleOwnRef, ref);\n\n var componentProps = _extends({\n className: clsx(classes.root, className, childContext.dense && classes.dense, !disableGutters && classes.gutters, divider && classes.divider, disabled && classes.disabled, button && classes.button, alignItems !== \"center\" && classes.alignItemsFlexStart, hasSecondaryAction && classes.secondaryAction, selected && classes.selected),\n disabled: disabled\n }, other);\n\n var Component = componentProp || 'li';\n\n if (button) {\n componentProps.component = componentProp || 'div';\n componentProps.focusVisibleClassName = clsx(classes.focusVisible, focusVisibleClassName);\n Component = ButtonBase;\n }\n\n if (hasSecondaryAction) {\n // Use div by default.\n Component = !componentProps.component && !componentProp ? 'div' : Component; // Avoid nesting of li > li.\n\n if (ContainerComponent === 'li') {\n if (Component === 'li') {\n Component = 'div';\n } else if (componentProps.component === 'li') {\n componentProps.component = 'div';\n }\n }\n\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: childContext\n }, /*#__PURE__*/React.createElement(ContainerComponent, _extends({\n className: clsx(classes.container, ContainerClassName),\n ref: handleRef\n }, ContainerProps), /*#__PURE__*/React.createElement(Component, componentProps, children), children.pop()));\n }\n\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: childContext\n }, /*#__PURE__*/React.createElement(Component, _extends({\n ref: handleRef\n }, componentProps), children));\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItem.propTypes = {\n /**\n * Defines the `align-items` style property.\n */\n alignItems: PropTypes.oneOf(['flex-start', 'center']),\n\n /**\n * If `true`, the list item will be focused during the first mount.\n * Focus will also be triggered if the value changes from false to true.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * If `true`, the list item will be a button (using `ButtonBase`). Props intended\n * for `ButtonBase` can then be applied to `ListItem`.\n */\n button: PropTypes.bool,\n\n /**\n * The content of the component. If a `ListItemSecondaryAction` is used it must\n * be the last child.\n */\n children: chainPropTypes(PropTypes.node, function (props) {\n var children = React.Children.toArray(props.children); // React.Children.toArray(props.children).findLastIndex(isListItemSecondaryAction)\n\n var secondaryActionIndex = -1;\n\n for (var i = children.length - 1; i >= 0; i -= 1) {\n var child = children[i];\n\n if (isMuiElement(child, ['ListItemSecondaryAction'])) {\n secondaryActionIndex = i;\n break;\n }\n } // is ListItemSecondaryAction the last child of ListItem\n\n\n if (secondaryActionIndex !== -1 && secondaryActionIndex !== children.length - 1) {\n return new Error('Material-UI: You used an element after ListItemSecondaryAction. ' + 'For ListItem to detect that it has a secondary action ' + 'you must pass it as the last child to ListItem.');\n }\n\n return null;\n }),\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n * By default, it's a `li` when `button` is `false` and a `div` when `button` is `true`.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * The container component used when a `ListItemSecondaryAction` is the last child.\n */\n ContainerComponent: PropTypes.elementType,\n\n /**\n * Props applied to the container component if used.\n */\n ContainerProps: PropTypes.object,\n\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input will be used.\n */\n dense: PropTypes.bool,\n\n /**\n * If `true`, the list item will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the left and right padding is removed.\n */\n disableGutters: PropTypes.bool,\n\n /**\n * If `true`, a 1px light border is added to the bottom of the list item.\n */\n divider: PropTypes.bool,\n\n /**\n * @ignore\n */\n focusVisibleClassName: PropTypes.string,\n\n /**\n * Use to apply selected styling.\n */\n selected: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiListItem'\n})(ListItem);","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport ListItem from '../ListItem';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: _extends({}, theme.typography.body1, _defineProperty({\n minHeight: 48,\n paddingTop: 6,\n paddingBottom: 6,\n boxSizing: 'border-box',\n width: 'auto',\n overflow: 'hidden',\n whiteSpace: 'nowrap'\n }, theme.breakpoints.up('sm'), {\n minHeight: 'auto'\n })),\n // TODO v5: remove\n\n /* Styles applied to the root element if `disableGutters={false}`. */\n gutters: {},\n\n /* Styles applied to the root element if `selected={true}`. */\n selected: {},\n\n /* Styles applied to the root element if dense. */\n dense: _extends({}, theme.typography.body2, {\n minHeight: 'auto'\n })\n };\n};\nvar MenuItem = /*#__PURE__*/React.forwardRef(function MenuItem(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n component = _props$component === void 0 ? 'li' : _props$component,\n _props$disableGutters = props.disableGutters,\n disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters,\n ListItemClasses = props.ListItemClasses,\n _props$role = props.role,\n role = _props$role === void 0 ? 'menuitem' : _props$role,\n selected = props.selected,\n tabIndexProp = props.tabIndex,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\", \"disableGutters\", \"ListItemClasses\", \"role\", \"selected\", \"tabIndex\"]);\n\n var tabIndex;\n\n if (!props.disabled) {\n tabIndex = tabIndexProp !== undefined ? tabIndexProp : -1;\n }\n\n return /*#__PURE__*/React.createElement(ListItem, _extends({\n button: true,\n role: role,\n tabIndex: tabIndex,\n component: component,\n selected: selected,\n disableGutters: disableGutters,\n classes: _extends({\n dense: classes.dense\n }, ListItemClasses),\n className: clsx(classes.root, className, selected && classes.selected, !disableGutters && classes.gutters),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? MenuItem.propTypes = {\n /**\n * Menu item contents.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input will be used.\n */\n dense: PropTypes.bool,\n\n /**\n * @ignore\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the left and right padding is removed.\n */\n disableGutters: PropTypes.bool,\n\n /**\n * `classes` prop applied to the [`ListItem`](/api/list-item/) element.\n */\n ListItemClasses: PropTypes.object,\n\n /**\n * @ignore\n */\n role: PropTypes.string,\n\n /**\n * @ignore\n */\n selected: PropTypes.bool,\n\n /**\n * @ignore\n */\n tabIndex: PropTypes.number\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiMenuItem'\n})(MenuItem);","import { generateUtilityClasses, generateUtilityClass } from '@mui/base';\nexport function getFormControlLabelUtilityClasses(slot) {\n return generateUtilityClass('MuiFormControlLabel', slot);\n}\nconst formControlLabelClasses = generateUtilityClasses('MuiFormControlLabel', ['root', 'labelPlacementStart', 'labelPlacementTop', 'labelPlacementBottom', 'disabled', 'label', 'error']);\nexport default formControlLabelClasses;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"checked\", \"className\", \"componentsProps\", \"control\", \"disabled\", \"disableTypography\", \"inputRef\", \"label\", \"labelPlacement\", \"name\", \"onChange\", \"value\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@mui/utils';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport { useFormControl } from '../FormControl';\nimport Typography from '../Typography';\nimport capitalize from '../utils/capitalize';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport formControlLabelClasses, { getFormControlLabelUtilityClasses } from './formControlLabelClasses';\nimport formControlState from '../FormControl/formControlState';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\n\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disabled,\n labelPlacement,\n error\n } = ownerState;\n const slots = {\n root: ['root', disabled && 'disabled', `labelPlacement${capitalize(labelPlacement)}`, error && 'error'],\n label: ['label', disabled && 'disabled']\n };\n return composeClasses(slots, getFormControlLabelUtilityClasses, classes);\n};\n\nexport const FormControlLabelRoot = styled('label', {\n name: 'MuiFormControlLabel',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [{\n [`& .${formControlLabelClasses.label}`]: styles.label\n }, styles.root, styles[`labelPlacement${capitalize(ownerState.labelPlacement)}`]];\n }\n})(({\n theme,\n ownerState\n}) => _extends({\n display: 'inline-flex',\n alignItems: 'center',\n cursor: 'pointer',\n // For correct alignment with the text.\n verticalAlign: 'middle',\n WebkitTapHighlightColor: 'transparent',\n marginLeft: -11,\n marginRight: 16,\n // used for row presentation of radio/checkbox\n [`&.${formControlLabelClasses.disabled}`]: {\n cursor: 'default'\n }\n}, ownerState.labelPlacement === 'start' && {\n flexDirection: 'row-reverse',\n marginLeft: 16,\n // used for row presentation of radio/checkbox\n marginRight: -11\n}, ownerState.labelPlacement === 'top' && {\n flexDirection: 'column-reverse',\n marginLeft: 16\n}, ownerState.labelPlacement === 'bottom' && {\n flexDirection: 'column',\n marginLeft: 16\n}, {\n [`& .${formControlLabelClasses.label}`]: {\n [`&.${formControlLabelClasses.disabled}`]: {\n color: theme.palette.text.disabled\n }\n }\n}));\n/**\n * Drop-in replacement of the `Radio`, `Switch` and `Checkbox` component.\n * Use this component if you want to display an extra label.\n */\n\nconst FormControlLabel = /*#__PURE__*/React.forwardRef(function FormControlLabel(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiFormControlLabel'\n });\n\n const {\n className,\n componentsProps = {},\n control,\n disabled: disabledProp,\n disableTypography,\n label,\n labelPlacement = 'end'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n const muiFormControl = useFormControl();\n let disabled = disabledProp;\n\n if (typeof disabled === 'undefined' && typeof control.props.disabled !== 'undefined') {\n disabled = control.props.disabled;\n }\n\n if (typeof disabled === 'undefined' && muiFormControl) {\n disabled = muiFormControl.disabled;\n }\n\n const controlProps = {\n disabled\n };\n ['checked', 'name', 'onChange', 'value', 'inputRef'].forEach(key => {\n if (typeof control.props[key] === 'undefined' && typeof props[key] !== 'undefined') {\n controlProps[key] = props[key];\n }\n });\n const fcs = formControlState({\n props,\n muiFormControl,\n states: ['error']\n });\n\n const ownerState = _extends({}, props, {\n disabled,\n label,\n labelPlacement,\n error: fcs.error\n });\n\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(FormControlLabelRoot, _extends({\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref\n }, other, {\n children: [/*#__PURE__*/React.cloneElement(control, controlProps), label.type === Typography || disableTypography ? label : /*#__PURE__*/_jsx(Typography, _extends({\n component: \"span\",\n className: classes.label\n }, componentsProps.typography, {\n children: label\n }))]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? FormControlLabel.propTypes\n/* remove-proptypes */\n= {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * If `true`, the component appears selected.\n */\n checked: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The props used for each slot inside.\n * @default {}\n */\n componentsProps: PropTypes.shape({\n typography: PropTypes.object\n }),\n\n /**\n * A control element. For instance, it can be a `Radio`, a `Switch` or a `Checkbox`.\n */\n control: PropTypes.element.isRequired,\n\n /**\n * If `true`, the control is disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the label is rendered as it is passed without an additional typography node.\n */\n disableTypography: PropTypes.bool,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * A text or an element to be used in an enclosing label element.\n */\n label: PropTypes.oneOfType([PropTypes.element, PropTypes.number, PropTypes.string]).isRequired,\n\n /**\n * The position of the label.\n * @default 'end'\n */\n labelPlacement: PropTypes.oneOf(['bottom', 'end', 'start', 'top']),\n\n /**\n * @ignore\n */\n name: PropTypes.string,\n\n /**\n * Callback fired when the state is changed.\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n\n /**\n * The value of the component.\n */\n value: PropTypes.any\n} : void 0;\nexport default FormControlLabel;","export const countries = [\r\n {\r\n \"code\": \"+7 840\",\r\n \"name\": \"Abkhazia\"\r\n },\r\n {\r\n \"code\": \"+93\",\r\n \"name\": \"Afghanistan\"\r\n },\r\n {\r\n \"code\": \"+355\",\r\n \"name\": \"Albania\"\r\n },\r\n {\r\n \"code\": \"+213\",\r\n \"name\": \"Algeria\"\r\n },\r\n {\r\n \"code\": \"+1 684\",\r\n \"name\": \"American Samoa\"\r\n },\r\n {\r\n \"code\": \"+376\",\r\n \"name\": \"Andorra\"\r\n },\r\n {\r\n \"code\": \"+244\",\r\n \"name\": \"Angola\"\r\n },\r\n {\r\n \"code\": \"+1 264\",\r\n \"name\": \"Anguilla\"\r\n },\r\n {\r\n \"code\": \"+1 268\",\r\n \"name\": \"Antigua and Barbuda\"\r\n },\r\n {\r\n \"code\": \"+54\",\r\n \"name\": \"Argentina\"\r\n },\r\n {\r\n \"code\": \"+374\",\r\n \"name\": \"Armenia\"\r\n },\r\n {\r\n \"code\": \"+297\",\r\n \"name\": \"Aruba\"\r\n },\r\n {\r\n \"code\": \"+247\",\r\n \"name\": \"Ascension\"\r\n },\r\n {\r\n \"code\": \"+61\",\r\n \"name\": \"Australia\"\r\n },\r\n {\r\n \"code\": \"+672\",\r\n \"name\": \"Australian External Territories\"\r\n },\r\n {\r\n \"code\": \"+43\",\r\n \"name\": \"Austria\"\r\n },\r\n {\r\n \"code\": \"+994\",\r\n \"name\": \"Azerbaijan\"\r\n },\r\n {\r\n \"code\": \"+1 242\",\r\n \"name\": \"Bahamas\"\r\n },\r\n {\r\n \"code\": \"+973\",\r\n \"name\": \"Bahrain\"\r\n },\r\n {\r\n \"code\": \"+880\",\r\n \"name\": \"Bangladesh\"\r\n },\r\n {\r\n \"code\": \"+1 246\",\r\n \"name\": \"Barbados\"\r\n },\r\n {\r\n \"code\": \"+1 268\",\r\n \"name\": \"Barbuda\"\r\n },\r\n {\r\n \"code\": \"+375\",\r\n \"name\": \"Belarus\"\r\n },\r\n {\r\n \"code\": \"+32\",\r\n \"name\": \"Belgium\"\r\n },\r\n {\r\n \"code\": \"+501\",\r\n \"name\": \"Belize\"\r\n },\r\n {\r\n \"code\": \"+229\",\r\n \"name\": \"Benin\"\r\n },\r\n {\r\n \"code\": \"+1 441\",\r\n \"name\": \"Bermuda\"\r\n },\r\n {\r\n \"code\": \"+975\",\r\n \"name\": \"Bhutan\"\r\n },\r\n {\r\n \"code\": \"+591\",\r\n \"name\": \"Bolivia\"\r\n },\r\n {\r\n \"code\": \"+387\",\r\n \"name\": \"Bosnia and Herzegovina\"\r\n },\r\n {\r\n \"code\": \"+267\",\r\n \"name\": \"Botswana\"\r\n },\r\n {\r\n \"code\": \"+55\",\r\n \"name\": \"Brazil\"\r\n },\r\n {\r\n \"code\": \"+246\",\r\n \"name\": \"British Indian Ocean Territory\"\r\n },\r\n {\r\n \"code\": \"+1 284\",\r\n \"name\": \"British Virgin Islands\"\r\n },\r\n {\r\n \"code\": \"+673\",\r\n \"name\": \"Brunei\"\r\n },\r\n {\r\n \"code\": \"+359\",\r\n \"name\": \"Bulgaria\"\r\n },\r\n {\r\n \"code\": \"+226\",\r\n \"name\": \"Burkina Faso\"\r\n },\r\n {\r\n \"code\": \"+257\",\r\n \"name\": \"Burundi\"\r\n },\r\n {\r\n \"code\": \"+855\",\r\n \"name\": \"Cambodia\"\r\n },\r\n {\r\n \"code\": \"+237\",\r\n \"name\": \"Cameroon\"\r\n },\r\n {\r\n \"code\": \"+1\",\r\n \"name\": \"Canada\"\r\n },\r\n {\r\n \"code\": \"+238\",\r\n \"name\": \"Cape Verde\"\r\n },\r\n {\r\n \"code\": \"+ 345\",\r\n \"name\": \"Cayman Islands\"\r\n },\r\n {\r\n \"code\": \"+236\",\r\n \"name\": \"Central African Republic\"\r\n },\r\n {\r\n \"code\": \"+235\",\r\n \"name\": \"Chad\"\r\n },\r\n {\r\n \"code\": \"+56\",\r\n \"name\": \"Chile\"\r\n },\r\n {\r\n \"code\": \"+86\",\r\n \"name\": \"China\"\r\n },\r\n {\r\n \"code\": \"+61\",\r\n \"name\": \"Christmas Island\"\r\n },\r\n {\r\n \"code\": \"+61\",\r\n \"name\": \"Cocos-Keeling Islands\"\r\n },\r\n {\r\n \"code\": \"+57\",\r\n \"name\": \"Colombia\"\r\n },\r\n {\r\n \"code\": \"+269\",\r\n \"name\": \"Comoros\"\r\n },\r\n {\r\n \"code\": \"+242\",\r\n \"name\": \"Congo\"\r\n },\r\n {\r\n \"code\": \"+243\",\r\n \"name\": \"Congo, Dem. Rep. of (Zaire)\"\r\n },\r\n {\r\n \"code\": \"+682\",\r\n \"name\": \"Cook Islands\"\r\n },\r\n {\r\n \"code\": \"+506\",\r\n \"name\": \"Costa Rica\"\r\n },\r\n {\r\n \"code\": \"+385\",\r\n \"name\": \"Croatia\"\r\n },\r\n {\r\n \"code\": \"+53\",\r\n \"name\": \"Cuba\"\r\n },\r\n {\r\n \"code\": \"+599\",\r\n \"name\": \"Curacao\"\r\n },\r\n {\r\n \"code\": \"+537\",\r\n \"name\": \"Cyprus\"\r\n },\r\n {\r\n \"code\": \"+420\",\r\n \"name\": \"Czech Republic\"\r\n },\r\n {\r\n \"code\": \"+45\",\r\n \"name\": \"Denmark\"\r\n },\r\n {\r\n \"code\": \"+246\",\r\n \"name\": \"Diego Garcia\"\r\n },\r\n {\r\n \"code\": \"+253\",\r\n \"name\": \"Djibouti\"\r\n },\r\n {\r\n \"code\": \"+1 767\",\r\n \"name\": \"Dominica\"\r\n },\r\n {\r\n \"code\": \"+1 809\",\r\n \"name\": \"Dominican Republic\"\r\n },\r\n {\r\n \"code\": \"+670\",\r\n \"name\": \"East Timor\"\r\n },\r\n {\r\n \"code\": \"+56\",\r\n \"name\": \"Easter Island\"\r\n },\r\n {\r\n \"code\": \"+593\",\r\n \"name\": \"Ecuador\"\r\n },\r\n {\r\n \"code\": \"+20\",\r\n \"name\": \"Egypt\"\r\n },\r\n {\r\n \"code\": \"+503\",\r\n \"name\": \"El Salvador\"\r\n },\r\n {\r\n \"code\": \"+240\",\r\n \"name\": \"Equatorial Guinea\"\r\n },\r\n {\r\n \"code\": \"+291\",\r\n \"name\": \"Eritrea\"\r\n },\r\n {\r\n \"code\": \"+372\",\r\n \"name\": \"Estonia\"\r\n },\r\n {\r\n \"code\": \"+251\",\r\n \"name\": \"Ethiopia\"\r\n },\r\n {\r\n \"code\": \"+500\",\r\n \"name\": \"Falkland Islands\"\r\n },\r\n {\r\n \"code\": \"+298\",\r\n \"name\": \"Faroe Islands\"\r\n },\r\n {\r\n \"code\": \"+679\",\r\n \"name\": \"Fiji\"\r\n },\r\n {\r\n \"code\": \"+358\",\r\n \"name\": \"Finland\"\r\n },\r\n {\r\n \"code\": \"+33\",\r\n \"name\": \"France\"\r\n },\r\n {\r\n \"code\": \"+596\",\r\n \"name\": \"French Antilles\"\r\n },\r\n {\r\n \"code\": \"+594\",\r\n \"name\": \"French Guiana\"\r\n },\r\n {\r\n \"code\": \"+689\",\r\n \"name\": \"French Polynesia\"\r\n },\r\n {\r\n \"code\": \"+241\",\r\n \"name\": \"Gabon\"\r\n },\r\n {\r\n \"code\": \"+220\",\r\n \"name\": \"Gambia\"\r\n },\r\n {\r\n \"code\": \"+995\",\r\n \"name\": \"Georgia\"\r\n },\r\n {\r\n \"code\": \"+49\",\r\n \"name\": \"Germany\"\r\n },\r\n {\r\n \"code\": \"+233\",\r\n \"name\": \"Ghana\"\r\n },\r\n {\r\n \"code\": \"+350\",\r\n \"name\": \"Gibraltar\"\r\n },\r\n {\r\n \"code\": \"+30\",\r\n \"name\": \"Greece\"\r\n },\r\n {\r\n \"code\": \"+299\",\r\n \"name\": \"Greenland\"\r\n },\r\n {\r\n \"code\": \"+1 473\",\r\n \"name\": \"Grenada\"\r\n },\r\n {\r\n \"code\": \"+590\",\r\n \"name\": \"Guadeloupe\"\r\n },\r\n {\r\n \"code\": \"+1 671\",\r\n \"name\": \"Guam\"\r\n },\r\n {\r\n \"code\": \"+502\",\r\n \"name\": \"Guatemala\"\r\n },\r\n {\r\n \"code\": \"+224\",\r\n \"name\": \"Guinea\"\r\n },\r\n {\r\n \"code\": \"+245\",\r\n \"name\": \"Guinea-Bissau\"\r\n },\r\n {\r\n \"code\": \"+595\",\r\n \"name\": \"Guyana\"\r\n },\r\n {\r\n \"code\": \"+509\",\r\n \"name\": \"Haiti\"\r\n },\r\n {\r\n \"code\": \"+504\",\r\n \"name\": \"Honduras\"\r\n },\r\n {\r\n \"code\": \"+852\",\r\n \"name\": \"Hong Kong SAR China\"\r\n },\r\n {\r\n \"code\": \"+36\",\r\n \"name\": \"Hungary\"\r\n },\r\n {\r\n \"code\": \"+354\",\r\n \"name\": \"Iceland\"\r\n },\r\n {\r\n \"code\": \"+91\",\r\n \"name\": \"India\"\r\n },\r\n {\r\n \"code\": \"+62\",\r\n \"name\": \"Indonesia\"\r\n },\r\n {\r\n \"code\": \"+98\",\r\n \"name\": \"Iran\"\r\n },\r\n {\r\n \"code\": \"+964\",\r\n \"name\": \"Iraq\"\r\n },\r\n {\r\n \"code\": \"+353\",\r\n \"name\": \"Ireland\"\r\n },\r\n {\r\n \"code\": \"+972\",\r\n \"name\": \"Israel\"\r\n },\r\n {\r\n \"code\": \"+39\",\r\n \"name\": \"Italy\"\r\n },\r\n {\r\n \"code\": \"+225\",\r\n \"name\": \"Ivory Coast\"\r\n },\r\n {\r\n \"code\": \"+1 876\",\r\n \"name\": \"Jamaica\"\r\n },\r\n {\r\n \"code\": \"+81\",\r\n \"name\": \"Japan\"\r\n },\r\n {\r\n \"code\": \"+962\",\r\n \"name\": \"Jordan\"\r\n },\r\n {\r\n \"code\": \"+7 7\",\r\n \"name\": \"Kazakhstan\"\r\n },\r\n {\r\n \"code\": \"+254\",\r\n \"name\": \"Kenya\"\r\n },\r\n {\r\n \"code\": \"+686\",\r\n \"name\": \"Kiribati\"\r\n },\r\n {\r\n \"code\": \"+965\",\r\n \"name\": \"Kuwait\"\r\n },\r\n {\r\n \"code\": \"+996\",\r\n \"name\": \"Kyrgyzstan\"\r\n },\r\n {\r\n \"code\": \"+856\",\r\n \"name\": \"Laos\"\r\n },\r\n {\r\n \"code\": \"+371\",\r\n \"name\": \"Latvia\"\r\n },\r\n {\r\n \"code\": \"+961\",\r\n \"name\": \"Lebanon\"\r\n },\r\n {\r\n \"code\": \"+266\",\r\n \"name\": \"Lesotho\"\r\n },\r\n {\r\n \"code\": \"+231\",\r\n \"name\": \"Liberia\"\r\n },\r\n {\r\n \"code\": \"+218\",\r\n \"name\": \"Libya\"\r\n },\r\n {\r\n \"code\": \"+423\",\r\n \"name\": \"Liechtenstein\"\r\n },\r\n {\r\n \"code\": \"+370\",\r\n \"name\": \"Lithuania\"\r\n },\r\n {\r\n \"code\": \"+352\",\r\n \"name\": \"Luxembourg\"\r\n },\r\n {\r\n \"code\": \"+853\",\r\n \"name\": \"Macau SAR China\"\r\n },\r\n {\r\n \"code\": \"+389\",\r\n \"name\": \"Macedonia\"\r\n },\r\n {\r\n \"code\": \"+261\",\r\n \"name\": \"Madagascar\"\r\n },\r\n {\r\n \"code\": \"+265\",\r\n \"name\": \"Malawi\"\r\n },\r\n {\r\n \"code\": \"+60\",\r\n \"name\": \"Malaysia\"\r\n },\r\n {\r\n \"code\": \"+960\",\r\n \"name\": \"Maldives\"\r\n },\r\n {\r\n \"code\": \"+223\",\r\n \"name\": \"Mali\"\r\n },\r\n {\r\n \"code\": \"+356\",\r\n \"name\": \"Malta\"\r\n },\r\n {\r\n \"code\": \"+692\",\r\n \"name\": \"Marshall Islands\"\r\n },\r\n {\r\n \"code\": \"+596\",\r\n \"name\": \"Martinique\"\r\n },\r\n {\r\n \"code\": \"+222\",\r\n \"name\": \"Mauritania\"\r\n },\r\n {\r\n \"code\": \"+230\",\r\n \"name\": \"Mauritius\"\r\n },\r\n {\r\n \"code\": \"+262\",\r\n \"name\": \"Mayotte\"\r\n },\r\n {\r\n \"code\": \"+52\",\r\n \"name\": \"Mexico\"\r\n },\r\n {\r\n \"code\": \"+691\",\r\n \"name\": \"Micronesia\"\r\n },\r\n {\r\n \"code\": \"+1 808\",\r\n \"name\": \"Midway Island\"\r\n },\r\n {\r\n \"code\": \"+373\",\r\n \"name\": \"Moldova\"\r\n },\r\n {\r\n \"code\": \"+377\",\r\n \"name\": \"Monaco\"\r\n },\r\n {\r\n \"code\": \"+976\",\r\n \"name\": \"Mongolia\"\r\n },\r\n {\r\n \"code\": \"+382\",\r\n \"name\": \"Montenegro\"\r\n },\r\n {\r\n \"code\": \"+1664\",\r\n \"name\": \"Montserrat\"\r\n },\r\n {\r\n \"code\": \"+212\",\r\n \"name\": \"Morocco\"\r\n },\r\n {\r\n \"code\": \"+95\",\r\n \"name\": \"Myanmar\"\r\n },\r\n {\r\n \"code\": \"+264\",\r\n \"name\": \"Namibia\"\r\n },\r\n {\r\n \"code\": \"+674\",\r\n \"name\": \"Nauru\"\r\n },\r\n {\r\n \"code\": \"+977\",\r\n \"name\": \"Nepal\"\r\n },\r\n {\r\n \"code\": \"+31\",\r\n \"name\": \"Netherlands\"\r\n },\r\n {\r\n \"code\": \"+599\",\r\n \"name\": \"Netherlands Antilles\"\r\n },\r\n {\r\n \"code\": \"+1 869\",\r\n \"name\": \"Nevis\"\r\n },\r\n {\r\n \"code\": \"+687\",\r\n \"name\": \"New Caledonia\"\r\n },\r\n {\r\n \"code\": \"+64\",\r\n \"name\": \"New Zealand\"\r\n },\r\n {\r\n \"code\": \"+505\",\r\n \"name\": \"Nicaragua\"\r\n },\r\n {\r\n \"code\": \"+227\",\r\n \"name\": \"Niger\"\r\n },\r\n {\r\n \"code\": \"+234\",\r\n \"name\": \"Nigeria\"\r\n },\r\n {\r\n \"code\": \"+683\",\r\n \"name\": \"Niue\"\r\n },\r\n {\r\n \"code\": \"+672\",\r\n \"name\": \"Norfolk Island\"\r\n },\r\n {\r\n \"code\": \"+850\",\r\n \"name\": \"North Korea\"\r\n },\r\n {\r\n \"code\": \"+1 670\",\r\n \"name\": \"Northern Mariana Islands\"\r\n },\r\n {\r\n \"code\": \"+47\",\r\n \"name\": \"Norway\"\r\n },\r\n {\r\n \"code\": \"+968\",\r\n \"name\": \"Oman\"\r\n },\r\n {\r\n \"code\": \"+92\",\r\n \"name\": \"Pakistan\"\r\n },\r\n {\r\n \"code\": \"+680\",\r\n \"name\": \"Palau\"\r\n },\r\n {\r\n \"code\": \"+970\",\r\n \"name\": \"Palestinian Territory\"\r\n },\r\n {\r\n \"code\": \"+507\",\r\n \"name\": \"Panama\"\r\n },\r\n {\r\n \"code\": \"+675\",\r\n \"name\": \"Papua New Guinea\"\r\n },\r\n {\r\n \"code\": \"+595\",\r\n \"name\": \"Paraguay\"\r\n },\r\n {\r\n \"code\": \"+51\",\r\n \"name\": \"Peru\"\r\n },\r\n {\r\n \"code\": \"+63\",\r\n \"name\": \"Philippines\"\r\n },\r\n {\r\n \"code\": \"+48\",\r\n \"name\": \"Poland\"\r\n },\r\n {\r\n \"code\": \"+351\",\r\n \"name\": \"Portugal\"\r\n },\r\n {\r\n \"code\": \"+1 787\",\r\n \"name\": \"Puerto Rico\"\r\n },\r\n {\r\n \"code\": \"+974\",\r\n \"name\": \"Qatar\"\r\n },\r\n {\r\n \"code\": \"+262\",\r\n \"name\": \"Reunion\"\r\n },\r\n {\r\n \"code\": \"+40\",\r\n \"name\": \"Romania\"\r\n },\r\n {\r\n \"code\": \"+7\",\r\n \"name\": \"Russia\"\r\n },\r\n {\r\n \"code\": \"+250\",\r\n \"name\": \"Rwanda\"\r\n },\r\n {\r\n \"code\": \"+685\",\r\n \"name\": \"Samoa\"\r\n },\r\n {\r\n \"code\": \"+378\",\r\n \"name\": \"San Marino\"\r\n },\r\n {\r\n \"code\": \"+966\",\r\n \"name\": \"Saudi Arabia\"\r\n },\r\n {\r\n \"code\": \"+221\",\r\n \"name\": \"Senegal\"\r\n },\r\n {\r\n \"code\": \"+381\",\r\n \"name\": \"Serbia\"\r\n },\r\n {\r\n \"code\": \"+248\",\r\n \"name\": \"Seychelles\"\r\n },\r\n {\r\n \"code\": \"+232\",\r\n \"name\": \"Sierra Leone\"\r\n },\r\n {\r\n \"code\": \"+65\",\r\n \"name\": \"Singapore\"\r\n },\r\n {\r\n \"code\": \"+421\",\r\n \"name\": \"Slovakia\"\r\n },\r\n {\r\n \"code\": \"+386\",\r\n \"name\": \"Slovenia\"\r\n },\r\n {\r\n \"code\": \"+677\",\r\n \"name\": \"Solomon Islands\"\r\n },\r\n {\r\n \"code\": \"+27\",\r\n \"name\": \"South Africa\"\r\n },\r\n {\r\n \"code\": \"+500\",\r\n \"name\": \"South Georgia and the South Sandwich Islands\"\r\n },\r\n {\r\n \"code\": \"+82\",\r\n \"name\": \"South Korea\"\r\n },\r\n {\r\n \"code\": \"+34\",\r\n \"name\": \"Spain\"\r\n },\r\n {\r\n \"code\": \"+94\",\r\n \"name\": \"Sri Lanka\"\r\n },\r\n {\r\n \"code\": \"+249\",\r\n \"name\": \"Sudan\"\r\n },\r\n {\r\n \"code\": \"+597\",\r\n \"name\": \"Suriname\"\r\n },\r\n {\r\n \"code\": \"+268\",\r\n \"name\": \"Swaziland\"\r\n },\r\n {\r\n \"code\": \"+46\",\r\n \"name\": \"Sweden\"\r\n },\r\n {\r\n \"code\": \"+41\",\r\n \"name\": \"Switzerland\"\r\n },\r\n {\r\n \"code\": \"+963\",\r\n \"name\": \"Syria\"\r\n },\r\n {\r\n \"code\": \"+886\",\r\n \"name\": \"Taiwan\"\r\n },\r\n {\r\n \"code\": \"+992\",\r\n \"name\": \"Tajikistan\"\r\n },\r\n {\r\n \"code\": \"+255\",\r\n \"name\": \"Tanzania\"\r\n },\r\n {\r\n \"code\": \"+66\",\r\n \"name\": \"Thailand\"\r\n },\r\n {\r\n \"code\": \"+670\",\r\n \"name\": \"Timor Leste\"\r\n },\r\n {\r\n \"code\": \"+228\",\r\n \"name\": \"Togo\"\r\n },\r\n {\r\n \"code\": \"+690\",\r\n \"name\": \"Tokelau\"\r\n },\r\n {\r\n \"code\": \"+676\",\r\n \"name\": \"Tonga\"\r\n },\r\n {\r\n \"code\": \"+1 868\",\r\n \"name\": \"Trinidad and Tobago\"\r\n },\r\n {\r\n \"code\": \"+216\",\r\n \"name\": \"Tunisia\"\r\n },\r\n {\r\n \"code\": \"+90\",\r\n \"name\": \"Turkey\"\r\n },\r\n {\r\n \"code\": \"+993\",\r\n \"name\": \"Turkmenistan\"\r\n },\r\n {\r\n \"code\": \"+1 649\",\r\n \"name\": \"Turks and Caicos Islands\"\r\n },\r\n {\r\n \"code\": \"+688\",\r\n \"name\": \"Tuvalu\"\r\n },\r\n {\r\n \"code\": \"+1 340\",\r\n \"name\": \"U.S. Virgin Islands\"\r\n },\r\n {\r\n \"code\": \"+256\",\r\n \"name\": \"Uganda\"\r\n },\r\n {\r\n \"code\": \"+380\",\r\n \"name\": \"Ukraine\"\r\n },\r\n {\r\n \"code\": \"+971\",\r\n \"name\": \"United Arab Emirates\"\r\n },\r\n {\r\n \"code\": \"+44\",\r\n \"name\": \"United Kingdom\"\r\n },\r\n {\r\n \"code\": \"+1\",\r\n \"name\": \"United States\"\r\n },\r\n {\r\n \"code\": \"+598\",\r\n \"name\": \"Uruguay\"\r\n },\r\n {\r\n \"code\": \"+998\",\r\n \"name\": \"Uzbekistan\"\r\n },\r\n {\r\n \"code\": \"+678\",\r\n \"name\": \"Vanuatu\"\r\n },\r\n {\r\n \"code\": \"+58\",\r\n \"name\": \"Venezuela\"\r\n },\r\n {\r\n \"code\": \"+84\",\r\n \"name\": \"Vietnam\"\r\n },\r\n {\r\n \"code\": \"+1 808\",\r\n \"name\": \"Wake Island\"\r\n },\r\n {\r\n \"code\": \"+681\",\r\n \"name\": \"Wallis and Futuna\"\r\n },\r\n {\r\n \"code\": \"+967\",\r\n \"name\": \"Yemen\"\r\n },\r\n {\r\n \"code\": \"+260\",\r\n \"name\": \"Zambia\"\r\n },\r\n {\r\n \"code\": \"+255\",\r\n \"name\": \"Zanzibar\"\r\n },\r\n {\r\n \"code\": \"+263\",\r\n \"name\": \"Zimbabwe\"\r\n }\r\n]","import qrCode from '../../../img/icons8-telegram-app.svg'\nimport { makeStyles, Button, TextField, MenuItem } from '@material-ui/core'\nimport Checkbox from '@mui/material/Checkbox';\nimport FormControlLabel from '@mui/material/FormControlLabel';\nimport React from 'react';\n\nimport { countries } from '../../../helpers/countries'\n\nconst useStyles = makeStyles({\n container: {\n display: 'flex',\n alignItems: 'center',\n alignContent:'center',\n flexDirection: 'column',\n width: 350,\n margin: '0 auto',\n paddingTop: 64,\n paddingBottom: 24,\n },\n picture: {\n marginBottom: 16,\n paddingLeft: 45\n },\n title: {\n textAlign: 'center',\n marginBottom: 16,\n },\n titleConfirm: {\n color: '#b4b4b4',\n fontWeight:400\n },\n buttonQR: {\n marginTop: 20,\n height: 50,\n color: '#5497f0'\n },\n buttonNext: {\n marginTop: 20,\n height: 50,\n color: '#f8f8f8',\n backgroundColor:'#1d74c5',\n },\n textField: {\n marginBottom:20\n },\n})\n\ninterface IAuthorizationForm {\n handleIsQR: () => void,\n handleIsCheck:(e:React.ChangeEvent<HTMLInputElement>) => void\n handleSendCode: () => Promise<void>,\n number:string,\n setNumber: React.Dispatch<React.SetStateAction<string>>,\n country: string,\n setCountry: React.Dispatch<React.SetStateAction<string>>,\n isChecked: boolean,\n isValidCredentials: () => boolean\n}\n\ninterface ICountry {\n name: string,\n code: string\n}\n\nconst Authorization = ({\n handleIsQR,\n handleIsCheck,\n handleSendCode,\n number,\n setNumber,\n country,\n setCountry,\n isChecked,\n isValidCredentials\n}: IAuthorizationForm) => {\n const classes = useStyles()\n\n const handleTextField = (e: React.ChangeEvent<HTMLInputElement>) => {\n const value = e.target.value\n const name = e.target.name\n switch (name) {\n case 'country':\n setCountry(value)\n const code = countries.find(el => el.name === value)?.code\n code&&setNumber(code)\n break;\n case 'number':\n setNumber(value)\n break;\n default:\n break;\n }\n }\n\n return (\n <div className={classes.container}>\n <img className={classes.picture} alt=\"QRCode\" src={qrCode} width='270' height='270' />\n <h2 className={classes.title}>Telegram</h2>\n <h4 className={classes.title + ' ' + classes.titleConfirm}>\n Please confirm your country code and enter your phone number.\n </h4>\n <TextField\n id=\"country\"\n name='country'\n label=\"Country\"\n fullWidth\n variant='outlined'\n defaultValue=''\n select\n className={classes.textField}\n onChange={handleTextField}\n >\n {countries.map(({name}: ICountry) => (\n <MenuItem value={name} key={name}>\n {name}\n </MenuItem>\n ))}\n </TextField>\n <TextField\n id=\"number\"\n name='number'\n label=\"Your phone number\"\n value={number}\n fullWidth\n variant='outlined'\n onChange={handleTextField}\n />\n <FormControlLabel\n label=\"Keep me signed in\"\n control={<Checkbox\n checked={isChecked}\n onChange={handleIsCheck}\n inputProps={{ 'aria-label': 'controlled' }}\n />}\n />\n {isValidCredentials() &&\n <Button\n onClick={handleSendCode}\n className={classes.buttonNext}\n color='primary'\n variant=\"contained\"\n fullWidth>\n NEXT\n </Button>}\n\n <Button\n onClick={handleIsQR}\n className={classes.buttonQR}\n variant=\"text\"\n color=\"default\"\n fullWidth>\n LOG IN BY QR CODE\n </Button>\n </div>\n );\n};\n\nexport default Authorization;","export default __webpack_public_path__ + \"static/media/monkey.ded8ac2a.png\";","import monkeyPng from '../../../img/monkey.png'\r\nimport { makeStyles, TextField, Typography, IconButton } from '@material-ui/core'\r\nimport ModeEditOutlineOutlinedIcon from '@mui/icons-material/ModeEditOutlineOutlined';\r\nimport React from 'react';\r\n\r\nconst useStyles = makeStyles({\r\n container: {\r\n display: 'flex',\r\n alignItems: 'center',\r\n alignContent:'center',\r\n flexDirection: 'column',\r\n width: 350,\r\n margin: '0 auto',\r\n paddingTop: 64,\r\n paddingBottom: 24,\r\n },\r\n picture: {\r\n marginBottom: 70,\r\n },\r\n titleConfirm: {\r\n color: '#b4b4b4',\r\n fontWeight: 400,\r\n textAlign: 'center',\r\n marginBottom: 20,\r\n },\r\n buttonSubmit: {\r\n marginTop: 20,\r\n height: 50,\r\n color: '#5497f0'\r\n },\r\n textField: {\r\n marginBottom:20\r\n },\r\n})\r\n\r\n\r\ninterface ISMSCode {\r\n handleIsValidCode: (e: React.ChangeEvent<HTMLInputElement>) => void,\r\n number: string,\r\n handleResetState: () => void,\r\n}\r\nconst SMSCode = ({handleIsValidCode,number,handleResetState}:ISMSCode) => {\r\n const classes = useStyles()\r\n\r\n return (\r\n <div className={classes.container} >\r\n <img className={classes.picture} alt=\"QRCode\" src={monkeyPng} width='150' height='150' />\r\n <Typography variant=\"h4\" color=\"initial\">\r\n {number}\r\n <IconButton\r\n size=\"medium\"\r\n aria-label='secondary'\r\n onClick={handleResetState}\r\n >\r\n <ModeEditOutlineOutlinedIcon />\r\n </IconButton> \r\n </Typography>\r\n <h3 className={classes.titleConfirm}>\r\n We've sent the code to the Telegram app on your other device.\r\n </h3>\r\n <TextField\r\n id=\"code\"\r\n name='code'\r\n label=\"Code\"\r\n variant='outlined'\r\n fullWidth\r\n className={classes.textField}\r\n onChange={handleIsValidCode}\r\n />\r\n \r\n </div>\r\n );\r\n};\r\n\r\nexport default SMSCode;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport ListContext from '../List/ListContext';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n minWidth: 56,\n color: theme.palette.action.active,\n flexShrink: 0,\n display: 'inline-flex'\n },\n\n /* Styles applied to the root element when the parent `ListItem` uses `alignItems=\"flex-start\"`. */\n alignItemsFlexStart: {\n marginTop: 8\n }\n };\n};\n/**\n * A simple wrapper to apply `List` styles to an `Icon` or `SvgIcon`.\n */\n\nvar ListItemIcon = /*#__PURE__*/React.forwardRef(function ListItemIcon(props, ref) {\n var classes = props.classes,\n className = props.className,\n other = _objectWithoutProperties(props, [\"classes\", \"className\"]);\n\n var context = React.useContext(ListContext);\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, context.alignItems === 'flex-start' && classes.alignItemsFlexStart),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItemIcon.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component, normally `Icon`, `SvgIcon`,\n * or a `@material-ui/icons` SVG icon element.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiListItemIcon'\n})(ListItemIcon);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Typography from '../Typography';\nimport ListContext from '../List/ListContext';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n flex: '1 1 auto',\n minWidth: 0,\n marginTop: 4,\n marginBottom: 4\n },\n\n /* Styles applied to the `Typography` components if primary and secondary are set. */\n multiline: {\n marginTop: 6,\n marginBottom: 6\n },\n\n /* Styles applied to the `Typography` components if dense. */\n dense: {},\n\n /* Styles applied to the root element if `inset={true}`. */\n inset: {\n paddingLeft: 56\n },\n\n /* Styles applied to the primary `Typography` component. */\n primary: {},\n\n /* Styles applied to the secondary `Typography` component. */\n secondary: {}\n};\nvar ListItemText = /*#__PURE__*/React.forwardRef(function ListItemText(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$disableTypogra = props.disableTypography,\n disableTypography = _props$disableTypogra === void 0 ? false : _props$disableTypogra,\n _props$inset = props.inset,\n inset = _props$inset === void 0 ? false : _props$inset,\n primaryProp = props.primary,\n primaryTypographyProps = props.primaryTypographyProps,\n secondaryProp = props.secondary,\n secondaryTypographyProps = props.secondaryTypographyProps,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"disableTypography\", \"inset\", \"primary\", \"primaryTypographyProps\", \"secondary\", \"secondaryTypographyProps\"]);\n\n var _React$useContext = React.useContext(ListContext),\n dense = _React$useContext.dense;\n\n var primary = primaryProp != null ? primaryProp : children;\n\n if (primary != null && primary.type !== Typography && !disableTypography) {\n primary = /*#__PURE__*/React.createElement(Typography, _extends({\n variant: dense ? 'body2' : 'body1',\n className: classes.primary,\n component: \"span\",\n display: \"block\"\n }, primaryTypographyProps), primary);\n }\n\n var secondary = secondaryProp;\n\n if (secondary != null && secondary.type !== Typography && !disableTypography) {\n secondary = /*#__PURE__*/React.createElement(Typography, _extends({\n variant: \"body2\",\n className: classes.secondary,\n color: \"textSecondary\",\n display: \"block\"\n }, secondaryTypographyProps), secondary);\n }\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, dense && classes.dense, inset && classes.inset, primary && secondary && classes.multiline),\n ref: ref\n }, other), primary, secondary);\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItemText.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Alias for the `primary` prop.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the children won't be wrapped by a Typography component.\n * This can be useful to render an alternative Typography variant by wrapping\n * the `children` (or `primary`) text, and optional `secondary` text\n * with the Typography component.\n */\n disableTypography: PropTypes.bool,\n\n /**\n * If `true`, the children will be indented.\n * This should be used if there is no left avatar or left icon.\n */\n inset: PropTypes.bool,\n\n /**\n * The main content element.\n */\n primary: PropTypes.node,\n\n /**\n * These props will be forwarded to the primary typography component\n * (as long as disableTypography is not `true`).\n */\n primaryTypographyProps: PropTypes.object,\n\n /**\n * The secondary content element.\n */\n secondary: PropTypes.node,\n\n /**\n * These props will be forwarded to the secondary typography component\n * (as long as disableTypography is not `true`).\n */\n secondaryTypographyProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiListItemText'\n})(ListItemText);","import { makeStyles, Typography,InputLabel,ListItem,ListItemText ,ListItemIcon } from '@material-ui/core'\r\nimport FolderIcon from '@mui/icons-material/Folder';\r\nimport { useDropzone } from 'react-dropzone';\r\nimport { useEffect } from 'react';\r\n\r\nconst useStyles = makeStyles({\r\n container: {\r\n width: '100%',\r\n },\r\n dropZone: {\r\n display: 'flex',\r\n flexDirection: 'column',\r\n alignItems: 'center',\r\n alignContent: 'center',\r\n justifyContent: 'center',\r\n width: '100%',\r\n padding: '10px',\r\n borderRadius: 10,\r\n cursor: 'pointer',\r\n marginBottom: 20,\r\n outline: '2px solid #959696',\r\n '&:hover': {\r\n outline: 'dashed #0040b8',\r\n },\r\n },\r\n})\r\n\r\ninterface IUploadAvatar {\r\n setUpload: React.Dispatch<React.SetStateAction<any>>\r\n}\r\nconst UploadAvatar = ({ setUpload }: IUploadAvatar) => {\r\n \r\nconst {\r\n acceptedFiles,\r\n getRootProps,\r\n getInputProps\r\n } = useDropzone({\r\n accept: 'image/*',\r\n });\r\n\r\n useEffect(() => {\r\n setUpload(acceptedFiles[0])\r\n }, [setUpload,acceptedFiles])\r\n\r\n const classes = useStyles()\r\n const acceptedFileItems = acceptedFiles.map((file: any) => (\r\n <ListItem key={file.path}>\r\n <ListItemIcon>\r\n <FolderIcon/>\r\n </ListItemIcon>\r\n <ListItemText\r\n primary=\"Avatar uploaded\"\r\n secondary={`${file.path} -${file.size} bytes`}/>\r\n </ListItem>\r\n ));\r\n\r\n return (\r\n <section className={classes.container} >\r\n <div {...getRootProps({ className: classes.dropZone })}>\r\n <InputLabel>Drag or drop avatar*</InputLabel>\r\n <input {...getInputProps()}/>\r\n <img\r\n alt='drop zone img'\r\n src='https://imagga.com/static/images/upload.svg'\r\n width={88}\r\n height={72}\r\n />\r\n <Typography variant=\"h6\" color=\"initial\">image/*</Typography>\r\n </div>\r\n <aside>\r\n <ul>{acceptedFileItems}</ul>\r\n </aside>\r\n </section>\r\n );\r\n}\r\n\r\nexport default UploadAvatar","import { makeStyles, Button, TextField, Typography } from '@material-ui/core'\r\nimport { useState } from 'react';\r\nimport { useDispatch } from 'react-redux';\r\n\r\nimport UploadAvatar from './UploadAvatar'\r\nimport { asyncCreateUser } from '../../../redux/authorization/operations'\r\nimport { format } from '../../../helpers'\r\n\r\nconst useStyles = makeStyles({\r\n container: {\r\n display: 'flex',\r\n alignItems: 'center',\r\n alignContent:'center',\r\n flexDirection: 'column',\r\n width: 350,\r\n margin: '0 auto',\r\n paddingTop: 64,\r\n paddingBottom: 24,\r\n },\r\n title: {\r\n marginBottom: 20,\r\n textAlign: 'center'\r\n },\r\n buttonNext: {\r\n marginTop: 20,\r\n height: 50,\r\n color: '#f8f8f8',\r\n backgroundColor:'#1d74c5',\r\n },\r\n textField: {\r\n marginBottom:20\r\n }\r\n})\r\n\r\nconst Registration = () => {\r\n const classes = useStyles()\r\n const [name, setName] = useState<string>('')\r\n const [lastName, setLastName] = useState<string>('')\r\n const [upload, setUpload] = useState<any>(null)\r\n const dispatch = useDispatch()\r\n\r\n const isValidCredentials = () => {\r\n const validName = name.length\r\n const validLastName = lastName.length\r\n if (validName < 3 || validName > 30) return false\r\n if (validLastName < 3 || validLastName > 30) return false\r\n if(!upload) return false\r\n return true\r\n }\r\n\r\n const handleTextField = (e: React.ChangeEvent<HTMLInputElement>) => {\r\n const value = format(e.target.value)\r\n const name = e.target.name\r\n switch (name) {\r\n case 'name':\r\n setName(value)\r\n break;\r\n case 'lastName':\r\n setLastName(value)\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n\r\n const handleUpdateUser = async() => dispatch(asyncCreateUser(name,lastName,upload))\r\n\r\n return (\r\n <div className={classes.container} >\r\n <Typography\r\n className={classes.title}\r\n variant=\"h5\"\r\n color=\"initial\">\r\n Please upload avatar and fill credentials*\r\n </Typography> \r\n <UploadAvatar\r\n setUpload={setUpload}\r\n />\r\n <TextField\r\n id=\"name\"\r\n name='name'\r\n label=\"Name\"\r\n value={name}\r\n fullWidth\r\n variant='outlined'\r\n onChange={handleTextField}\r\n className={classes.textField}\r\n required\r\n />\r\n <TextField\r\n id=\"lastName\"\r\n name='lastName'\r\n label=\"LastName\"\r\n value={lastName}\r\n fullWidth\r\n variant='outlined'\r\n onChange={handleTextField}\r\n className={classes.textField}\r\n required\r\n />\r\n {isValidCredentials() &&\r\n <Button\r\n onClick={handleUpdateUser}\r\n className={classes.buttonNext}\r\n color='primary'\r\n variant=\"contained\"\r\n fullWidth\r\n > NEXT\r\n </Button>}\r\n </div>\r\n );\r\n};\r\n\r\nexport default Registration;","import { useState, useEffect } from 'react';\nimport { useDispatch } from 'react-redux';\n\nimport QRCode from './QRCode'\nimport Authorization from './Authorization'\nimport SMSCode from './SMSCode'\nimport Registration from './Registration'\nimport { authorizeUser } from '../../api-data'\nimport { asyncLogin } from '../../redux/authorization/operations'\nimport { format } from '../../helpers'\n\nconst AuthPage = () => {\n const [isQR, setIsQR] = useState<boolean>(false)\n const [isCode, setIsCode] = useState<string>('')\n const [isChecked, setIsChecked] = useState<boolean>(true);\n const [isReg, setIsReg] = useState<boolean>(false);\n const [country, setCountry] = useState<string>('Country')\n const [number, setNumber] = useState<string>('')\n\n const dispatch = useDispatch()\n\n const handleIsQR = (): void => setIsQR(!isQR)\n\n const isValidCredentials = () => {\n const numberLength = number.split(' ').join('').trim().length\n if (numberLength < 13 || numberLength > 13) return false\n if (!country || country === 'Country') return false\n if(number.slice(0,1) === '+') return true\n return true\n }\n\n const handleIsValidCode = async (e: React.ChangeEvent<HTMLInputElement>):Promise<void> => {\n if (isCode && format(e.target.value) === isCode) \n dispatch(await asyncLogin(number, isCode, () => setIsReg(!isReg)))\n } \n\n const handleSendCode = async () => {\n const res = await authorizeUser(format(number), country)\n res && setIsCode(res)\n }\n\n const handleIsCheck = (e: React.ChangeEvent<HTMLInputElement>): void => {\n const flag = e.target.checked\n setIsChecked(flag);\n localStorage.isChecked = flag\n }\n\n const handleResetState = ():void => {\n setIsCode('')\n setCountry('Country')\n setNumber('')\n }\n\n useEffect(() => {\n const isCheckedLC = localStorage.isChecked\n if (isCheckedLC) {\n setIsChecked(isCheckedLC === 'true'?true:false)\n } else {\n localStorage.setItem('isChecked','true')\n }\n }, [])\n \n return (\n isReg?<Registration/>:\n isCode ? <SMSCode\n handleIsValidCode={handleIsValidCode}\n number={number}\n handleResetState={handleResetState}/> :\n isQR ? <QRCode handleIsQR={handleIsQR} /> :\n <Authorization handleIsQR={handleIsQR}\n handleSendCode={handleSendCode}\n handleIsCheck={handleIsCheck}\n setNumber={setNumber}\n number={number}\n country={country}\n setCountry={setCountry}\n isChecked={isChecked}\n isValidCredentials={isValidCredentials}/>\n )\n};\n\nexport default AuthPage;\n"],"sourceRoot":""}