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,KAAA,MAAIS,MAAO2I,GAAgB,GAAA7I,OAAKmC,EAAAA,EAAKpD,EAAE,oBAAmB,MAAAiB,OAAKkH,IAElEC,IACG1H,EAAAA,EAAAA,KAAA,UAAQS,MAAO4I,EAAUxI,QAASA,IAAM4D,OAAO2B,SAASC,UACnD3D,EAAAA,EAAKpD,EAAE,gBAOrB0I,KAAKsB,MAAM5K,QACtB,EAGJ,MAAMyK,EAAiB,CACnBlM,QAAS,OACTI,OAAQ,OACRQ,QAAS,OACTE,cAAe,SACfD,eAAgB,SAChByL,WAAY,SACZ7I,gBAAiB,2BAEf2I,EAAW,CACbpM,QAAS,WACTJ,aAAc,MACd2M,OAAQ,kBACR9I,gBAAiB,cACjBjD,OAAQ,WAEN2L,EAAkB,CACpBK,UAAW,SACXC,UAAW,c,cChFA,SAASC,EAAwBtL,GAAgB,IAAf,SAAEK,GAAUL,EACzD,OACI2B,EAAAA,EAAAA,KAACoH,EAAgB,MACbpH,EAAAA,EAAAA,KAAC4J,EAAAA,GAAQ,CAACC,MAAOA,EAAAA,IACb7J,EAAAA,EAAAA,KAAC8J,EAAAA,EAAuB,MACpB9J,EAAAA,EAAAA,KAAC+J,EAAAA,GAAgC,MAC7B/J,EAAAA,EAAAA,KAACgK,EAAiB,OAClBhK,EAAAA,EAAAA,KAACiK,EAAa,KAAEvL,MAMxC,CAEA,SAASuL,EAAaC,GAAgB,IAAf,SAAExL,GAAUwL,EAI/B,OCzBW,WACX,MAAM5G,GAAWC,EAAAA,EAAAA,MACX4G,GAAgBC,EAAAA,EAAAA,GAAc,cAAD7J,OAAe8J,EAAAA,GAAYC,GAAE,SAEhE3K,EAAAA,EAAAA,YAAU,KACN2D,GAASiH,EAAAA,EAAAA,IAAoBJ,GAAe,GAE7C,CAACA,GACR,CDcIK,GACApH,EAAkC,UAClCA,EAAkC,SAC3B1E,CACX,C","sources":["client/components/PopupWithWaitingButton.js","client/components/DialogSystemLoading.js","client/hooks/useSpecificIframeEmbedInitPostMsg.js","client/components/DialogSystemError.js","client/components/ErrorBoundaryApp.js","client/components/GeneralClientFlowWrapper.js","client/hooks/useListenSmallScreen.js"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport { makeStyles } from '@material-ui/core/styles';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport Button from 'Mui/Button';\nimport MuiDialog from '@material-ui/core/Dialog';\nimport DialogTitle from '@material-ui/core/DialogTitle';\nimport DialogActions from '@material-ui/core/DialogActions';\nimport DialogContent from '@material-ui/core/DialogContent';\nimport IconButton from '@material-ui/core/IconButton';\nimport CloseIcon from '@material-ui/icons/Close';\nimport Typography from '@material-ui/core/Typography';\nimport { system900 } from 'Mui/styles/color';\nimport { dp08 } from 'Mui/styles/shadow';\nimport { useTranslation } from 'react-i18next';\nimport { css } from '@emotion/core';\n\nconst useStyles = makeStyles({\n dialog: {\n width: '100%',\n maxWidth: '320px',\n borderRadius: '16px',\n boxShadow: dp08.boxShadow\n },\n title: {\n padding: '12px 24px',\n whiteSpace: 'pre-wrap'\n },\n content: {\n '&[class^=\"MuiDialogContent-root\"]': {\n padding: '0'\n }\n },\n closeIcon: {\n width: '24px',\n height: '24px',\n position: 'absolute',\n top: '15px',\n right: '15px',\n cursor: 'pointer',\n color: system900.color,\n 'z-index': 1\n },\n footer: {\n display: 'flex',\n justifyContent: 'center',\n padding: '16px',\n flexDirection: 'column'\n },\n button: {\n borderRadius: '20px',\n minWidth: '125px',\n '&.MuiButtonBase-root': {\n margin: '0'\n },\n '&:not(:first-child)': {\n marginTop: '8px'\n }\n },\n largeButton: {\n minWidth: '182px',\n borderRadius: '24px',\n padding: '12px 8px'\n }\n});\n\nfunction PopupWithWaitingButton({\n isOpen = true,\n showClose,\n maxWidth = 'xs',\n onClose,\n onConfirm,\n children,\n title,\n titleAlign = 'center',\n disableBackdropClick,\n button,\n buttonVariant = 'contained',\n buttonColor = 'primary',\n buttonStyle,\n buttonDisable,\n buttonSize = 'medium',\n className,\n backdropStyle = {},\n waitingTime = 3\n}) {\n const classes = useStyles();\n const { t } = useTranslation();\n const [time, setTime] = useState(waitingTime || 0);\n\n useEffect(() => {\n let timer = null;\n\n if (isOpen && time > 0) {\n timer = setTimeout(() => {\n setTime(c => (c -= 1));\n }, 1000);\n\n return () => clearTimeout(timer);\n }\n }, [isOpen, time]);\n\n useEffect(() => {\n if (isOpen === true) setTime(waitingTime);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isOpen]);\n\n useEffect(() => {\n setTime(waitingTime);\n }, [waitingTime]);\n\n return (\n