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AAkB,sDCAlBD,EAAAC,OAAA,EAAkB,kGCAlBD,EAAAC,OAAA,EAAkB,4OCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./public/images/common/plus.svg","webpack://_N_E/./src/components/balances/AssetsHeader/index.tsx","webpack://_N_E/./src/hooks/useToken.ts","webpack://_N_E/./src/components/common/NumberInput/index.tsx","webpack://_N_E/./src/hooks/useCollectible.ts","webpack://_N_E/./src/components/common/AddTokenOrCollectible/index.tsx","webpack://_N_E/./src/components/common/NavTabs/index.tsx","webpack://_N_E/./src/components/common/PageHeader/index.tsx","webpack://_N_E/./src/components/tx/ErrorMessage/index.tsx","webpack://_N_E/./src/hooks/useRemoveTokenOrCollectible.ts","webpack://_N_E/./src/components/common/AddTokenOrCollectible/styles.module.css","webpack://_N_E/./src/components/common/NavTabs/styles.module.css","webpack://_N_E/./src/components/common/PageHeader/styles.module.css","webpack://_N_E/./src/components/tx/ErrorMessage/styles.module.css","webpack://_N_E/"],"sourcesContent":["var _path, _path2, _path3;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }\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; }\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; }\nimport * as React from \"react\";\nvar SvgPlus = function SvgPlus(_ref) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 16,\n height: 16,\n viewBox: \"0 0 16 16\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M7.8421 2C8.27812 2 8.63158 2.35346 8.63158 2.78947L8.63158 13.2105C8.63158 13.6465 8.27812 14 7.8421 14C7.40609 14 7.05263 13.6465 7.05263 13.2105V2.78947C7.05263 2.35346 7.40609 2 7.8421 2Z\",\n fill: \"currentColor\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M14 7.8421C14 8.27812 13.6465 8.63158 13.2105 8.63158L2.78947 8.63158C2.35346 8.63158 2 8.27812 2 7.8421C2 7.40609 2.35346 7.05263 2.78947 7.05263L13.2105 7.05263C13.6465 7.05263 14 7.40609 14 7.8421Z\",\n fill: \"currentColor\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M7.84859 2C8.40287 2 8.8522 2.44933 8.8522 3.0036V6.84499L12.9964 6.84499C13.5507 6.84499 14 7.29432 14 7.84859C14 8.40287 13.5507 8.8522 12.9964 8.8522H8.8522V12.9964C8.8522 13.5507 8.40287 14 7.84859 14C7.29432 14 6.84499 13.5507 6.84499 12.9964V8.8522H3.0036C2.44933 8.8522 2 8.40287 2 7.84859C2 7.29432 2.44933 6.84499 3.0036 6.84499L6.84499 6.84499V3.0036C6.84499 2.44933 7.29432 2 7.84859 2ZM7.09156 7.09156L3.0036 7.09156C2.58551 7.09156 2.24658 7.4305 2.24658 7.84859C2.24658 8.26669 2.58551 8.60562 3.0036 8.60562H7.09156V12.9964C7.09156 13.4145 7.4305 13.7534 7.84859 13.7534C8.26669 13.7534 8.60562 13.4145 8.60562 12.9964V8.60562L12.9964 8.60562C13.4145 8.60562 13.7534 8.26669 13.7534 7.84859C13.7534 7.4305 13.4145 7.09156 12.9964 7.09156L8.60562 7.09156L8.60562 3.0036C8.60562 2.58551 8.26669 2.24658 7.84859 2.24658C7.4305 2.24658 7.09156 2.58551 7.09156 3.0036V7.09156Z\",\n fill: \"currentColor\"\n })));\n};\nexport default SvgPlus;","import type { ReactElement, ReactNode } from 'react'\n\nimport NavTabs from '@/components/common/NavTabs'\nimport PageHeader from '@/components/common/PageHeader'\nimport { balancesNavItems } from '@/components/sidebar/SidebarNavigation/config'\n\nimport css from '@/components/common/PageHeader/styles.module.css'\n\nconst AssetsHeader = ({ children }: { children?: ReactNode }): ReactElement => {\n return (\n \n
\n \n
\n {children &&
{children}
}\n \n }\n />\n )\n}\n\nexport default AssetsHeader\n","import { useEffect } from 'react'\nimport { getERC20TokenInfoOnChain } from '@/utils/tokens'\nimport { Errors, logError } from '@/services/exceptions'\nimport useAsync, { type AsyncResult } from '@/hooks/useAsync'\nimport type { TokenInfo } from '@safe-global/safe-gateway-typescript-sdk'\nimport useSafeInfo from '@/hooks/useSafeInfo'\n\nexport function useToken(token: string): AsyncResult> {\n const { safe } = useSafeInfo()\n const chainId = safe.chainId\n\n const [data, error, loading] = useAsync | undefined>(\n async () => {\n if (!token || !chainId) return\n\n return await getERC20TokenInfoOnChain(token)\n },\n [chainId, token],\n true,\n )\n\n // Log errors\n useEffect(() => {\n if (error) {\n logError(Errors._601, error.message)\n }\n }, [error])\n\n return [data, error, loading]\n}\n","import type { TextFieldProps } from '@mui/material'\nimport { TextField } from '@mui/material'\nimport get from 'lodash/get'\nimport { type FieldError, type Validate, useFormContext } from 'react-hook-form'\nimport inputCss from '@/styles/inputs.module.css'\n\nconst NumberInput = ({\n name,\n validate,\n required = false,\n ...props\n}: Omit & {\n name: string\n validate?: Validate\n required?: boolean\n}) => {\n const { register, formState } = useFormContext() || {}\n // the name can be a path\n const fieldError = get(formState.errors, name) as FieldError | undefined\n\n return (\n {fieldError?.type === 'maxLength' ? 'Maximum 5 symbols' : fieldError?.message || props.label}}\n error={Boolean(fieldError)}\n fullWidth\n required={required}\n className={inputCss.input}\n {...register(name, { maxLength: 5, required, valueAsNumber: true })}\n />\n )\n}\n\nexport default NumberInput\n","import { useEffect } from 'react'\nimport { getERC721TokenInfoOnChain, isERC721Token } from '@/utils/tokens'\nimport { Errors, logError } from '@/services/exceptions'\nimport useAsync, { type AsyncResult } from '@/hooks/useAsync'\nimport { type TokenInfo, TokenType } from '@safe-global/safe-gateway-typescript-sdk'\nimport useSafeInfo from '@/hooks/useSafeInfo'\nimport { isAddress } from 'ethers/lib/utils'\n\nexport function useCollectible(token: string): AsyncResult> {\n const { safe } = useSafeInfo()\n const chainId = safe.chainId\n\n const [data, error, loading] = useAsync | undefined>(\n async () => {\n if (!token || !isAddress(token) || !chainId) return\n\n if (!(await isERC721Token(token))) throw new Error('The address you have provided is not an ERC721 token.')\n\n try {\n return await getERC721TokenInfoOnChain(token)\n } catch (e) {\n // Not all ERC721 tokens have metadata\n return {\n address: token,\n symbol: '',\n name: '',\n type: TokenType.ERC721,\n }\n }\n },\n [chainId, token],\n true,\n )\n\n // Log errors\n useEffect(() => {\n if (error) {\n logError(Errors._604, error.message)\n }\n }, [error])\n\n return [data, error, loading]\n}\n","import { type BaseSyntheticEvent, type ReactElement, useEffect } from 'react'\nimport React, { useState } from 'react'\nimport Box from '@mui/material/Box'\nimport PlusIcon from '@/public/images/common/plus.svg'\n\nimport css from './styles.module.css'\nimport {\n Button,\n CircularProgress,\n Collapse,\n DialogActions,\n DialogContent,\n Grid,\n InputAdornment,\n SvgIcon,\n Typography,\n} from '@mui/material'\nimport AddressInput from '@/components/common/AddressInput'\nimport { FormProvider, useForm } from 'react-hook-form'\nimport { useToken } from '@/hooks/useToken'\nimport NameInput from '@/components/common/NameInput'\nimport NumberInput from '@/components/common/NumberInput'\nimport { useAppDispatch } from '@/store'\nimport { add as addToken } from '@/store/customTokensSlice'\nimport { add as addCollectible } from '@/store/customCollectiblesSlice'\nimport { TokenType } from '@safe-global/safe-apps-sdk'\nimport { useCurrentChain } from '@/hooks/useChains'\nimport { getAddress } from 'ethers/lib/utils'\nimport ErrorMessage from '@/components/tx/ErrorMessage'\nimport { useCollectible } from '@/hooks/useCollectible'\nimport { isERC20Data, isERC721Data } from '@/utils/tokens'\n\nexport type TokenEntry = {\n address: string\n name: string\n symbol: string\n decimals: number | undefined\n}\n\nexport type CollectibleEntry = {\n address: string\n name: string\n symbol: string\n}\n\nfunction capitalizeFirstLetter(text: string) {\n return text.charAt(0).toUpperCase() + text.slice(1)\n}\n\nconst AddTokenOrCollectible = ({\n variant = 'token',\n defaultValues = {\n address: '',\n name: '',\n symbol: '',\n decimals: undefined,\n },\n}: {\n variant?: 'token' | 'collectible'\n defaultValues?: TokenEntry\n}): ReactElement => {\n const dispatch = useAppDispatch()\n const chain = useCurrentChain()\n\n const [showAddToken, setShowAddToken] = useState(false)\n const [addTokenError, setAddTokenError] = useState()\n\n const handleClickAddToken = () => {\n setShowAddToken(!showAddToken)\n }\n\n const methods = useForm({\n defaultValues,\n mode: 'onChange',\n })\n\n const { handleSubmit, formState, watch, reset, setValue } = methods\n\n const submitCallback = handleSubmit((inputData: TokenEntry) => {\n try {\n if (!chain) throw new Error('No chain selected')\n\n if (variant === 'collectible' && isERC721Data(data)) {\n const collectible = {\n address: getAddress(inputData.address),\n name: inputData.name || '',\n symbol: inputData.symbol || '',\n }\n dispatch(addCollectible([chain.chainId, collectible]))\n } else if (isERC20Data(data)) {\n const token = {\n chainId: parseInt(chain.chainId),\n address: getAddress(inputData.address),\n name: inputData.name || data?.name || '',\n symbol: inputData.symbol || data?.symbol || '',\n decimals: inputData.decimals || data?.decimals || 18,\n logoUri: '',\n type: TokenType.ERC20,\n }\n dispatch(addToken([chain.chainId, token]))\n }\n\n reset()\n setShowAddToken(false)\n } catch (error) {\n if (error instanceof Error) {\n setAddTokenError(error)\n } else {\n setAddTokenError(new Error(`Unknown error when adding ${variant}.`))\n }\n }\n })\n\n const onSubmit = (e: BaseSyntheticEvent) => {\n e.stopPropagation()\n submitCallback(e)\n }\n\n const useTokenOrCollectible: typeof useCollectible | typeof useToken =\n variant === 'collectible' ? useCollectible : useToken\n\n const [data, error, loading] = useTokenOrCollectible(watch('address'))\n\n useEffect(() => {\n if (data) {\n setValue('name', data.name, { shouldValidate: true })\n setValue('symbol', data.symbol, { shouldValidate: true })\n if (isERC20Data(data) && variant === 'token') setValue('decimals', data.decimals, { shouldValidate: true })\n }\n }, [data, setValue, variant])\n\n const variantCapitalized = capitalizeFirstLetter(variant)\n\n return (\n <>\n
\n \n\n Add {variantCapitalized}\n
\n \n \n
\n \n \n \n \n \n\n \n \n \n \n \n \n \n ) : null,\n }}\n />\n \n\n \n \n \n \n ) : null,\n }}\n />\n \n {variant === 'token' && isERC20Data(data) && (\n \n \n \n \n ) : null,\n }}\n />\n \n )}\n \n \n \n\n \n \n {error && (\n \n Error loading {variant} information, please double check the address.\n \n )}\n {addTokenError && {addTokenError.message}}\n \n \n\n \n \n \n
\n
\n
\n \n )\n}\n\nexport default AddTokenOrCollectible\n","import React, { forwardRef } from 'react'\nimport NextLink, { type LinkProps as NextLinkProps } from 'next/link'\nimport { Tab, Tabs, Typography, type TabProps } from '@mui/material'\nimport { useRouter } from 'next/router'\nimport type { NavItem } from '@/components/sidebar/SidebarNavigation/config'\nimport css from './styles.module.css'\n\ntype Props = TabProps & NextLinkProps\n\n// This is needed in order for the tabs to work properly with Next Link e.g. tabbing with the keyboard\n// Based on https://github.com/mui/material-ui/blob/master/examples/nextjs-with-typescript/src/Link.tsx\nconst NextLinkComposed = forwardRef(function NextComposedLink(props: Props, ref) {\n const { href, as, replace, scroll, shallow, prefetch, legacyBehavior = true, locale, ...other } = props\n\n return (\n \n {/* @ts-ignore */}\n \n \n )\n})\n\nconst NavTabs = ({ tabs }: { tabs: NavItem[] }) => {\n const router = useRouter()\n const activeTab = Math.max(0, tabs.map((tab) => tab.href).indexOf(router.pathname))\n const query = router.query.safe ? { safe: router.query.safe } : undefined\n\n return (\n \n {tabs.map((tab, idx) => (\n \n {tab.label}\n \n }\n />\n ))}\n \n )\n}\n\nexport default NavTabs\n","import { Box, Typography } from '@mui/material'\nimport classNames from 'classnames'\n\nimport type { ReactElement } from 'react'\n\nimport css from './styles.module.css'\n\nconst PageHeader = ({\n title,\n action,\n noBorder,\n}: {\n title: string\n action?: ReactElement\n noBorder?: boolean\n}): ReactElement => {\n return (\n \n \n {title}\n \n {action}\n \n )\n}\n\nexport default PageHeader\n","import { type ReactElement, type ReactNode, type SyntheticEvent, useState } from 'react'\nimport { Link, Typography, SvgIcon } from '@mui/material'\nimport classNames from 'classnames'\nimport WarningIcon from '@/public/images/notifications/warning.svg'\nimport InfoIcon from '@/public/images/notifications/info.svg'\nimport css from './styles.module.css'\n\nconst ErrorMessage = ({\n children,\n error,\n className,\n level = 'error',\n}: {\n children: ReactNode\n error?: Error & { reason?: string }\n className?: string\n level?: 'error' | 'warning' | 'info'\n}): ReactElement => {\n const [showDetails, setShowDetails] = useState(false)\n\n const onDetailsToggle = (e: SyntheticEvent) => {\n e.preventDefault()\n setShowDetails((prev) => !prev)\n }\n\n return (\n
\n
\n `${palette[level].main} !important` }}\n />\n\n
\n \n {children}\n\n {error && (\n \n Details\n \n )}\n \n\n {error && showDetails && (\n \n {error.reason || error.message.slice(0, 300)}\n \n )}\n
\n
\n
\n )\n}\n\nexport default ErrorMessage\n","import useChainId from '@/hooks/useChainId'\nimport { useAppDispatch } from '@/store'\nimport { remove as removeToken } from '@/store/customTokensSlice'\nimport { remove as removeCollectible } from '@/store/customCollectiblesSlice'\nimport { useCallback, useState } from 'react'\n\n// This is the default for MUI Collapse\nexport const COLLAPSE_TIMEOUT_MS = 300\n\nexport const useRemoveToken = () => useRemoveTokenOrCollectible('token')\n\nexport const useRemoveCollectible = () => useRemoveTokenOrCollectible('collectible')\n\nexport const useRemoveTokenOrCollectible = (variant: 'token' | 'collectible') => {\n const dispatch = useAppDispatch()\n const chainId = useChainId()\n\n const [removing, setRemoving] = useState()\n\n const remove = useCallback(\n (address: string) => {\n const removeFunction = variant === 'token' ? removeToken : removeCollectible\n setRemoving(address)\n setTimeout(() => {\n dispatch(removeFunction([chainId, address]))\n setRemoving(undefined)\n }, COLLAPSE_TIMEOUT_MS)\n },\n [chainId, dispatch, variant],\n )\n\n return {\n remove,\n removing,\n }\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"addToken\":\"styles_addToken__ISmr5\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tabs\":\"styles_tabs__8AoqD\",\"tab\":\"styles_tab__WjqMe\",\"label\":\"styles_label__D53iN\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__sGid8\",\"title\":\"styles_title___s0jt\",\"border\":\"styles_border__BkX1U\",\"pageHeader\":\"styles_pageHeader__fRL7d\",\"actionsWrapper\":\"styles_actionsWrapper__g_Tq2\",\"navWrapper\":\"styles_navWrapper__XNqgs\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__dNnqe\",\"error\":\"styles_error__s_zwE\",\"warning\":\"styles_warning__YdPx6\",\"info\":\"styles_info__tDwUU\",\"message\":\"styles_message__jVdC3\",\"details\":\"styles_details__CenK1\"};"],"names":["_path","_path2","_path3","_excluded","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","__webpack_exports__","Z","_ref","title","titleId","props","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","sourceKeys","keys","indexOf","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","react__WEBPACK_IMPORTED_MODULE_0__","createElement","width","height","viewBox","fill","xmlns","id","fillRule","clipRule","d","children","param","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","PageHeader","action","jsxs","div","className","css","NavTabs","tabs","balancesNavItems","useToken","token","safe","useSafeInfo","chainId","data","error","loading","useAsync","getERC20TokenInfoOnChain","useEffect","logError","Errors","_601","message","common_NumberInput","name","validate","required","register","formState","useFormContext","fieldError","get","errors","jsx_runtime","TextField","autoComplete","variant","type","label","Fragment","Boolean","fullWidth","inputCss","maxLength","valueAsNumber","useCollectible","isAddress","isERC721Token","getERC721TokenInfoOnChain","e","address","symbol","TokenType","ERC721","_604","common_AddTokenOrCollectible","defaultValues","decimals","undefined","dispatch","useAppDispatch","chain","useCurrentChain","showAddToken","setShowAddToken","useState","addTokenError","setAddTokenError","methods","useForm","mode","handleSubmit","watch","reset","setValue","submitCallback","isERC721Data","collectible","getAddress","inputData","addCollectible","isERC20Data","parseInt","logoUri","ERC20","addToken","Error","concat","useTokenOrCollectible","shouldValidate","variantCapitalized","text","charAt","toUpperCase","slice","onClick","SvgIcon","component","PlusIcon","inheritViewBox","fontSize","sx","ml","Typography","Collapse","in","FormProvider","form","onSubmit","stopPropagation","DialogContent","Box","AddressInput","autoFocus","Grid","container","spacing","alignItems","marginBottom","flexWrap","item","xs","NameInput","InputLabelProps","shrink","placeholder","InputProps","endAdornment","InputAdornment","position","CircularProgress","size","NumberInput","ErrorMessage","DialogActions","Button","disabled","isValid","disableElevation","NextLinkComposed","forwardRef","ref","href","as","replace","scroll","shallow","prefetch","legacyBehavior","locale","other","NextLink","passHref","a","router","useRouter","activeTab","Math","max","map","tab","pathname","query","Tabs","value","allowScrollButtonsMobile","idx","Tab","fontWeight","color","noBorder","classNames","level","showDetails","setShowDetails","InfoIcon","WarningIcon","palette","main","Link","preventDefault","prev","display","reason","useRemoveToken","useRemoveTokenOrCollectible","useRemoveCollectible","useChainId","removing","setRemoving","remove","useCallback","removeFunction","removeToken","removeCollectible","setTimeout","module","exports"],"sourceRoot":""}