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vD,EAAE,OAIpE,oFC/Ge,SAAS0C,EAAqBX,CAAsB,EACjE,IAAMQ,EAASC,CAAAA,EAAAA,EAAAA,SAAAA,IACT8J,EAAeC,CAAAA,EAAAA,EAAAA,CAAAA,EAAoBhK,EAAOW,KAAK,CAACK,GAAG,EAEzD,GAAI,CAAC+I,EACH,OAAO,EAGT,IAAM7J,EAAWV,EAAKyK,SAAS,CAAC,OAAC,CAAExM,GAAAA,CAAE,CAAEyM,QAAAA,CAAO,CAAE,CAAA9L,SAAKX,IAAOsM,GAAgBG,CAAAA,MAAAA,EAAAA,KAAAA,EAAAA,EAASC,IAAI,CAAC,GAAQ1M,IAAOsM,EAAAA,WAEzG,EAAe,EACN,EAGF7J,CACT","sources":["webpack://_N_E/./stubs/tx.ts","webpack://_N_E/./ui/shared/DataListDisplay.tsx","webpack://_N_E/./icons/empty_search_result.svg","webpack://_N_E/./ui/shared/EmptySearchResult.tsx","webpack://_N_E/./ui/shared/Tabs/RoutedTabs.tsx","webpack://_N_E/./ui/shared/Tabs/TabCounter.tsx","webpack://_N_E/./ui/shared/Tabs/utils.ts","webpack://_N_E/./ui/shared/Tabs/TabsMenu.tsx","webpack://_N_E/./ui/shared/Tabs/useAdaptiveTabs.tsx","webpack://_N_E/./ui/shared/Tabs/useScrollToActiveTab.tsx","webpack://_N_E/./ui/shared/Tabs/AdaptiveTabsList.tsx","webpack://_N_E/./ui/shared/Tabs/TabsWithScroll.tsx","webpack://_N_E/./ui/shared/Tabs/useTabIndexFromQuery.tsx"],"sourcesContent":["import type { RawTracesResponse } from 'types/api/rawTrace';\nimport type { Transaction, TransactionsStats } from 'types/api/transaction';\n\nimport { ADDRESS_PARAMS } from './addressParams';\n\nexport const TX_HASH = '0x3ed9d81e7c1001bdda1caa1dc62c0acbbe3d2c671cdc20dc1e65efdaa4186967';\n\nexport const TX: Transaction = {\n timestamp: '2022-11-11T11:11:11.000000Z',\n fee: {\n type: 'actual',\n value: '2100000000000000',\n },\n gas_limit: '21000',\n block: 9004925,\n status: 'ok',\n method: 'placeholder',\n confirmations: 71,\n type: 0,\n exchange_rate: '1828.71',\n to: ADDRESS_PARAMS,\n tx_burnt_fee: null,\n max_fee_per_gas: null,\n result: 'success',\n hash: '0x2b824349b320cfa72f292ab26bf525adb00083ba9fa097141896c3c8c74567cc',\n gas_price: '100000000000',\n priority_fee: null,\n base_fee_per_gas: '24',\n from: ADDRESS_PARAMS,\n token_transfers: null,\n tx_types: [\n 'coin_transfer',\n ],\n gas_used: '21000',\n created_contract: null,\n position: 0,\n nonce: 295929,\n has_error_in_internal_txs: false,\n actions: [],\n decoded_input: null,\n token_transfers_overflow: false,\n raw_input: '0x',\n value: '42000420000000000000',\n max_priority_fee_per_gas: null,\n revert_reason: null,\n confirmation_duration: [\n 0,\n 14545,\n ],\n tx_tag: null,\n};\n\nexport const TX_ZKEVM_L2: Transaction = {\n ...TX,\n zkevm_batch_number: 12345,\n zkevm_sequence_hash: '0x2b824349b320cfa72f292ab26bf525adb00083ba9fa097141896c3c8c74567cc',\n zkevm_status: 'Confirmed by Sequencer',\n zkevm_verify_hash: '0x2b824349b320cfa72f292ab26bf525adb00083ba9fa097141896c3c8c74567cc',\n};\n\nexport const TX_RAW_TRACE: RawTracesResponse = [];\n\nexport const TXS_STATS: TransactionsStats = {\n pending_transactions_count: '4200',\n transaction_fees_avg_24h: '22342870314428',\n transaction_fees_sum_24h: '22184012506492688277',\n transactions_count_24h: '992890',\n};\n","import { Box, Text, chakra } from '@chakra-ui/react';\nimport React from 'react';\n\nimport EmptySearchResult from 'ui/shared/EmptySearchResult';\n\nimport DataFetchAlert from './DataFetchAlert';\n\ntype FilterProps = {\n hasActiveFilters: boolean;\n emptyFilteredText: string;\n};\n\ntype Props = {\n isError: boolean;\n items?: Array;\n emptyText: React.ReactNode;\n actionBar?: React.ReactNode;\n showActionBarIfEmpty?: boolean;\n content: React.ReactNode;\n className?: string;\n filterProps?: FilterProps;\n}\n\nconst DataListDisplay = (props: Props) => {\n if (props.isError) {\n return ;\n }\n\n if (props.filterProps?.hasActiveFilters && !props.items?.length) {\n return (\n \n { props.actionBar }\n \n \n );\n }\n\n if (!props.items?.length) {\n return (\n <>\n { props.showActionBarIfEmpty && props.actionBar }\n { props.emptyText && { props.emptyText } }\n \n );\n }\n\n return (\n \n { props.actionBar }\n { props.content }\n \n );\n};\n\nexport default chakra(DataListDisplay);\n","var _g, _defs;\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); }\nimport * as React from \"react\";\nvar SvgEmptySearchResult = function SvgEmptySearchResult(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 240 185\",\n fill: \"none\"\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n clipPath: \"url(#a)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M26.307-2.023H6.923A7.2 7.2 0 0 0-.37 5.269v19.385a7.25 7.25 0 0 0 7.293 7.292h19.384a7.25 7.25 0 0 0 7.293-7.292V5.269a7.25 7.25 0 0 0-7.293-7.292Zm-19.384-2.4A9.692 9.692 0 0 0-2.77 5.269v19.385a9.692 9.692 0 0 0 9.693 9.692h19.384A9.692 9.692 0 0 0 36 24.654V5.269a9.693 9.693 0 0 0-9.693-9.692H6.923Zm19.384 54.092H6.923A7.2 7.2 0 0 0-.37 56.962v19.384a7.25 7.25 0 0 0 7.293 7.292h19.384a7.25 7.25 0 0 0 7.293-7.292V56.961a7.25 7.25 0 0 0-7.293-7.292Zm-19.384-2.4a9.693 9.693 0 0 0-9.693 9.693v19.384a9.692 9.692 0 0 0 9.693 9.692h19.384A9.692 9.692 0 0 0 36 76.346V56.961a9.693 9.693 0 0 0-9.693-9.692H6.923Zm0 54.093h19.384a7.249 7.249 0 0 1 7.293 7.292v19.384a7.25 7.25 0 0 1-7.293 7.293H6.923a7.209 7.209 0 0 1-5.184-2.108 7.208 7.208 0 0 1-2.109-5.185v-19.384a7.249 7.249 0 0 1 7.293-7.292Zm-9.693 7.292a9.693 9.693 0 0 1 9.693-9.692h19.384A9.694 9.694 0 0 1 36 108.654v19.384a9.694 9.694 0 0 1-9.693 9.693H6.923a9.691 9.691 0 0 1-9.693-9.693v-19.384Zm29.077 44.4H6.923a7.19 7.19 0 0 0-5.184 2.108 7.208 7.208 0 0 0-2.109 5.184v19.385a7.25 7.25 0 0 0 7.293 7.292h19.384a7.25 7.25 0 0 0 7.293-7.292v-19.385a7.25 7.25 0 0 0-7.293-7.292Zm-19.384-2.4a9.691 9.691 0 0 0-9.693 9.692v19.385a9.691 9.691 0 0 0 9.693 9.692h19.384A9.691 9.691 0 0 0 36 179.731v-19.385a9.691 9.691 0 0 0-9.693-9.692H6.923Zm51.692-126.83H78a7.25 7.25 0 0 1 7.292 7.291V50.5A7.25 7.25 0 0 1 78 57.792H58.615a7.2 7.2 0 0 1-7.292-7.292V31.115a7.249 7.249 0 0 1 7.292-7.292Zm-9.692 7.291a9.692 9.692 0 0 1 9.692-9.692H78a9.692 9.692 0 0 1 9.692 9.692V50.5A9.692 9.692 0 0 1 78 60.192H58.615a9.692 9.692 0 0 1-9.692-9.692V31.115ZM78 75.515H58.615a7.2 7.2 0 0 0-7.292 7.293v19.384a7.25 7.25 0 0 0 7.292 7.293H78a7.25 7.25 0 0 0 7.292-7.293v-2.123c.39 1.933.977 3.819 1.754 5.631A9.689 9.689 0 0 1 78 111.885H58.615a9.695 9.695 0 0 1-9.692-9.693V82.808a9.692 9.692 0 0 1 9.692-9.693H78c4.061 0 7.569 2.493 9.046 6.185-.83 1.754-1.385 3.692-1.846 5.538v-2.03c0-4.062-3.139-7.293-7.2-7.293Zm61.384-12.83V56.96a9.694 9.694 0 0 0-9.692-9.692h-19.385a9.693 9.693 0 0 0-9.692 9.693v5.723l2.4-1.477v-4.246a7.25 7.25 0 0 1 7.292-7.293h19.385a7.249 7.249 0 0 1 7.292 7.293v4.246l2.4 1.477Zm13.57 43.015a9.691 9.691 0 0 0 9.046 6.185h19.384a9.696 9.696 0 0 0 9.693-9.693V82.808a9.695 9.695 0 0 0-9.693-9.693H162a9.69 9.69 0 0 0-9.046 6.185c.83 1.754 1.384 3.692 1.846 5.538v-2.03c0-4.062 3.138-7.293 7.2-7.293h19.384a7.25 7.25 0 0 1 7.293 7.293v19.384a7.25 7.25 0 0 1-7.293 7.293H162a7.188 7.188 0 0 1-5.184-2.109 7.188 7.188 0 0 1-2.109-5.184v-2.123a28.602 28.602 0 0 1-1.753 5.631Zm-52.339 16.615v5.816a9.69 9.69 0 0 0 9.692 9.692h19.385a9.692 9.692 0 0 0 9.692-9.692v-5.723l-2.4 1.384v4.339a7.249 7.249 0 0 1-7.292 7.292h-19.385a7.192 7.192 0 0 1-5.217-2.14 7.199 7.199 0 0 1-2.075-5.245v-4.153l-2.4-1.385v-.185Zm-42 4.893H78a7.249 7.249 0 0 1 7.292 7.292v19.385A7.25 7.25 0 0 1 78 161.177H58.615a7.21 7.21 0 0 1-5.184-2.108 7.209 7.209 0 0 1-2.108-5.184V134.5a7.248 7.248 0 0 1 7.292-7.292Zm-9.692 7.292a9.693 9.693 0 0 1 9.692-9.692H78a9.694 9.694 0 0 1 9.692 9.692v19.385A9.693 9.693 0 0 1 78 163.577H58.615a9.69 9.69 0 0 1-9.692-9.692V134.5ZM129.692-2.023h-19.385a7.198 7.198 0 0 0-7.292 7.292v19.385a7.25 7.25 0 0 0 7.292 7.292h19.385a7.249 7.249 0 0 0 7.292-7.292V5.269a7.249 7.249 0 0 0-7.292-7.292Zm-19.385-2.4a9.693 9.693 0 0 0-9.692 9.692v19.385a9.69 9.69 0 0 0 9.692 9.692h19.385a9.693 9.693 0 0 0 9.692-9.692V5.269a9.694 9.694 0 0 0-9.692-9.692h-19.385Zm-7.292 164.769a7.25 7.25 0 0 1 7.292-7.292h19.385a7.249 7.249 0 0 1 7.292 7.292v19.385a7.249 7.249 0 0 1-7.292 7.292h-19.385a7.207 7.207 0 0 1-5.184-2.108 7.216 7.216 0 0 1-2.108-5.184v-19.385Zm-2.4 0a9.69 9.69 0 0 1 9.692-9.692h19.385a9.692 9.692 0 0 1 9.692 9.692v19.385a9.693 9.693 0 0 1-9.692 9.692h-19.385a9.691 9.691 0 0 1-9.692-9.692v-19.385Zm80.769-136.523H162a7.206 7.206 0 0 0-5.184 2.108 7.195 7.195 0 0 0-2.109 5.184V50.5A7.25 7.25 0 0 0 162 57.792h19.384a7.25 7.25 0 0 0 7.293-7.292V31.115a7.25 7.25 0 0 0-7.293-7.292ZM162 21.423a9.691 9.691 0 0 0-9.693 9.692V50.5A9.695 9.695 0 0 0 162 60.192h19.384a9.693 9.693 0 0 0 9.693-9.692V31.115a9.695 9.695 0 0 0-9.693-9.692H162Zm19.384 105.785H162a7.186 7.186 0 0 0-5.184 2.108 7.193 7.193 0 0 0-2.109 5.184v19.385a7.25 7.25 0 0 0 7.293 7.292h19.384a7.25 7.25 0 0 0 7.293-7.292V134.5a7.249 7.249 0 0 0-7.293-7.292Zm-19.384-2.4a9.695 9.695 0 0 0-9.693 9.692v19.385a9.696 9.696 0 0 0 9.693 9.692h19.384a9.692 9.692 0 0 0 9.693-9.692V134.5a9.695 9.695 0 0 0-9.693-9.692H162ZM213.692-2.023h19.385a7.25 7.25 0 0 1 7.292 7.292v19.385a7.25 7.25 0 0 1-7.292 7.292h-19.385a7.198 7.198 0 0 1-7.292-7.292V5.269a7.249 7.249 0 0 1 7.292-7.292ZM204 5.269a9.691 9.691 0 0 1 9.692-9.692h19.385a9.693 9.693 0 0 1 9.692 9.692v19.385a9.69 9.69 0 0 1-9.692 9.692h-19.385A9.69 9.69 0 0 1 204 24.654V5.269Zm29.077 44.4h-19.385a7.198 7.198 0 0 0-7.292 7.293v19.384a7.249 7.249 0 0 0 7.292 7.292h19.385a7.25 7.25 0 0 0 7.292-7.292V56.961a7.25 7.25 0 0 0-7.292-7.292Zm-19.385-2.4A9.69 9.69 0 0 0 204 56.962v19.384a9.69 9.69 0 0 0 9.692 9.692h19.385a9.693 9.693 0 0 0 9.692-9.692V56.961a9.691 9.691 0 0 0-9.692-9.692h-19.385Zm0 54.093h19.385a7.249 7.249 0 0 1 7.292 7.292v19.384a7.25 7.25 0 0 1-7.292 7.293h-19.385a7.207 7.207 0 0 1-5.184-2.108 7.2 7.2 0 0 1-2.108-5.185v-19.384a7.248 7.248 0 0 1 7.292-7.292ZM204 108.654a9.692 9.692 0 0 1 9.692-9.692h19.385a9.694 9.694 0 0 1 9.692 9.692v19.384a9.692 9.692 0 0 1-9.692 9.693h-19.385a9.692 9.692 0 0 1-9.692-9.693v-19.384Zm29.077 44.4h-19.385a7.189 7.189 0 0 0-5.184 2.108 7.2 7.2 0 0 0-2.108 5.184v19.385a7.249 7.249 0 0 0 7.292 7.292h19.385a7.25 7.25 0 0 0 7.292-7.292v-19.385a7.25 7.25 0 0 0-7.292-7.292Zm-19.385-2.4a9.69 9.69 0 0 0-9.692 9.692v19.385a9.69 9.69 0 0 0 9.692 9.692h19.385a9.691 9.691 0 0 0 9.692-9.692v-19.385a9.69 9.69 0 0 0-9.692-9.692h-19.385Z\",\n fill: \"url(#b)\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M87.231 68.5c1.385-1.846 4.154-.923 4.154 1.477v.37a6.461 6.461 0 0 0 6.462 6.46h44.307a6.461 6.461 0 0 0 6.462-6.46v-.37c0-2.308 2.769-3.416 4.154-1.477.276.37.461.923.461 1.477v.37a11.078 11.078 0 0 1-11.077 11.076H97.847a11.077 11.077 0 0 1-11.078-11.077v-.37c0-.553.185-1.107.462-1.476Zm65.539 48c.276-.369.461-.923.461-1.477v-.369a11.08 11.08 0 0 0-11.077-11.077H97.847a11.078 11.078 0 0 0-11.078 11.077v.369c0 .554.185 1.108.462 1.477 1.385 1.846 4.154.923 4.154-1.477v-.369a6.461 6.461 0 0 1 6.462-6.462h44.307a6.46 6.46 0 0 1 6.462 6.462v.369c0 2.308 2.769 3.415 4.154 1.477Z\",\n fill: \"#A0AEC0\",\n fillOpacity: 0.5\n }), /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M153.231 92.5a33.233 33.233 0 0 1-45.948 30.701 33.237 33.237 0 0 1-17.984-17.984A33.233 33.233 0 0 1 120 59.269 33.232 33.232 0 0 1 153.231 92.5Zm-5.262 33.877a3.963 3.963 0 0 0-4.984-.369 40.618 40.618 0 0 1-54.212-7.54 40.613 40.613 0 0 1 2.52-54.675 40.614 40.614 0 0 1 62.215 51.692c-1.108 1.569-.923 3.692.369 4.984l18.185 18.185a3.693 3.693 0 0 1 0 5.169l-.739.739a3.693 3.693 0 0 1-5.169 0l-18.185-18.185Z\",\n fill: \"#A0AEC0\"\n }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"radialGradient\", {\n id: \"b\",\n cx: 0,\n cy: 0,\n r: 1,\n gradientUnits: \"userSpaceOnUse\",\n gradientTransform: \"matrix(0 96.9231 -119.218 0 116.449 92.5)\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"#CBD5E0\",\n stopOpacity: 0.8\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"#CBD5E0\",\n stopOpacity: 0\n })), /*#__PURE__*/React.createElement(\"clipPath\", {\n id: \"a\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#fff\",\n transform: \"translate(0 .192)\",\n d: \"M0 0h240v184.615H0z\"\n })))));\n};\nexport default SvgEmptySearchResult;","import { Box, Heading, Icon } from '@chakra-ui/react';\nimport React from 'react';\n\n// This icon doesn't work properly when it is in the sprite\n// Probably because of radial gradient\n// eslint-disable-next-line no-restricted-imports\nimport emptySearchResultIcon from 'icons/empty_search_result.svg';\n\ninterface Props {\n text: string | JSX.Element;\n}\n\nconst EmptySearchResult = ({ text }: Props) => {\n return (\n \n \n\n \n No results\n \n\n \n { text }\n \n \n );\n};\n\nexport default EmptySearchResult;\n","import type { ChakraProps, ThemingProps } from '@chakra-ui/react';\nimport { chakra } from '@chakra-ui/react';\nimport _pickBy from 'lodash/pickBy';\nimport { useRouter } from 'next/router';\nimport React, { useEffect, useRef } from 'react';\n\nimport type { RoutedTab } from './types';\n\nimport TabsWithScroll from './TabsWithScroll';\nimport useTabIndexFromQuery from './useTabIndexFromQuery';\n\ninterface Props extends ThemingProps<'Tabs'> {\n tabs: Array;\n tabListProps?: ChakraProps | (({ isSticky, activeTabIndex }: { isSticky: boolean; activeTabIndex: number }) => ChakraProps);\n rightSlot?: React.ReactNode;\n rightSlotProps?: ChakraProps;\n stickyEnabled?: boolean;\n className?: string;\n onTabChange?: (index: number) => void;\n isLoading?: boolean;\n}\n\nconst RoutedTabs = ({ tabs, tabListProps, rightSlot, rightSlotProps, stickyEnabled, className, onTabChange, isLoading, ...themeProps }: Props) => {\n const router = useRouter();\n const tabIndex = useTabIndexFromQuery(tabs);\n const tabsRef = useRef(null);\n\n const handleTabChange = React.useCallback((index: number) => {\n const nextTab = tabs[index];\n\n const queryForPathname = _pickBy(router.query, (value, key) => router.pathname.includes(`[${ key }]`));\n router.push(\n { pathname: router.pathname, query: { ...queryForPathname, tab: nextTab.id } },\n undefined,\n { shallow: true },\n );\n\n onTabChange?.(index);\n }, [ tabs, router, onTabChange ]);\n\n useEffect(() => {\n if (router.query.scroll_to_tabs) {\n tabsRef?.current?.scrollIntoView(true);\n delete router.query.scroll_to_tabs;\n router.push(\n {\n pathname: router.pathname,\n query: router.query,\n },\n undefined,\n { shallow: true },\n );\n }\n // replicate componentDidMount\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n \n );\n};\n\nexport default React.memo(chakra(RoutedTabs));\n","import { chakra, useColorModeValue } from '@chakra-ui/react';\nimport React from 'react';\n\nimport getDefaultTransitionProps from 'theme/utils/getDefaultTransitionProps';\n\nconst COUNTER_OVERLOAD = 50;\n\ntype Props = {\n count?: number | null;\n}\n\nconst TabCounter = ({ count }: Props) => {\n\n const zeroCountColor = useColorModeValue('blackAlpha.400', 'whiteAlpha.400');\n\n if (count === undefined || count === null) {\n return null;\n }\n\n return (\n 0 ? 'text_secondary' : zeroCountColor }\n ml={ 1 }\n { ...getDefaultTransitionProps() }\n >\n { count > COUNTER_OVERLOAD ? `${ COUNTER_OVERLOAD }+` : count }\n \n );\n};\n\nexport default TabCounter;\n","import type { MenuButton } from './types';\n\nimport { middot } from 'lib/html-entities';\n\nexport const menuButton: MenuButton = {\n id: null,\n title: `${ middot }${ middot }${ middot }`,\n component: null,\n};\n","import type {\n ButtonProps } from '@chakra-ui/react';\nimport {\n PopoverTrigger,\n PopoverContent,\n PopoverBody,\n Button,\n useDisclosure,\n} from '@chakra-ui/react';\nimport type { StyleProps } from '@chakra-ui/styled-system';\nimport React from 'react';\n\nimport type { MenuButton, TabItem } from './types';\n\nimport Popover from 'ui/shared/chakra/Popover';\n\nimport TabCounter from './TabCounter';\nimport { menuButton } from './utils';\n\ninterface Props {\n tabs: Array;\n activeTab?: TabItem;\n tabsCut: number;\n isActive: boolean;\n styles?: StyleProps;\n onItemClick: (index: number) => void;\n buttonRef: React.RefObject;\n size: ButtonProps['size'];\n}\n\nconst TabsMenu = ({ tabs, tabsCut, isActive, styles, onItemClick, buttonRef, activeTab, size }: Props) => {\n const { isOpen, onClose, onOpen } = useDisclosure();\n\n const handleItemClick = React.useCallback((event: React.MouseEvent) => {\n onClose();\n const tabIndex = event.currentTarget.getAttribute('data-index');\n if (tabIndex) {\n onItemClick(tabsCut + Number(tabIndex));\n }\n }, [ onClose, onItemClick, tabsCut ]);\n\n return (\n \n \n \n { menuButton.title }\n \n \n \n \n { tabs.slice(tabsCut).map((tab, index) => (\n \n { typeof tab.title === 'function' ? tab.title() : tab.title }\n \n \n )) }\n \n \n \n );\n};\n\nexport default React.memo(TabsMenu);\n","import React from 'react';\n\nimport type { MenuButton, RoutedTab } from './types';\n\nexport default function useAdaptiveTabs(tabs: Array, disabled?: boolean) {\n // to avoid flickering we set initial value to 0\n // so there will be no displayed tabs initially\n const [ tabsCut, setTabsCut ] = React.useState(disabled ? tabs.length : 0);\n const [ tabsRefs, setTabsRefs ] = React.useState>>([]);\n const listRef = React.useRef(null);\n const rightSlotRef = React.useRef(null);\n\n const calculateCut = React.useCallback(() => {\n const listWidth = listRef.current?.getBoundingClientRect().width;\n const rightSlotWidth = rightSlotRef.current?.getBoundingClientRect().width || 0;\n const tabWidths = tabsRefs.map((tab) => tab.current?.getBoundingClientRect().width);\n const menuWidth = tabWidths[tabWidths.length - 1];\n\n if (!listWidth || !menuWidth) {\n return tabs.length;\n }\n\n const { visibleNum } = tabWidths.slice(0, -1).reduce((result, item, index, array) => {\n if (!item) {\n return result;\n }\n\n if (result.visibleNum < index) {\n // means that we haven't increased visibleNum on the previous iteration, so there is no space left\n // we skip now till the end of the loop\n return result;\n }\n\n if (index === array.length - 1) {\n // last element\n if (result.accWidth + item < listWidth - rightSlotWidth) {\n return { visibleNum: result.visibleNum + 1, accWidth: result.accWidth + item };\n }\n } else {\n if (result.accWidth + item + menuWidth < listWidth - rightSlotWidth) {\n return { visibleNum: result.visibleNum + 1, accWidth: result.accWidth + item };\n }\n }\n\n return result;\n }, { visibleNum: 0, accWidth: 0 });\n\n return visibleNum;\n }, [ tabs.length, tabsRefs ]);\n\n React.useEffect(() => {\n setTabsRefs(tabs.map((_, index) => tabsRefs[index] || React.createRef()));\n setTabsCut(disabled ? tabs.length : 0);\n // update refs only when disabled prop changes\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ disabled ]);\n\n React.useEffect(() => {\n if (tabsRefs.length > 0 && !disabled) {\n setTabsCut(calculateCut());\n }\n }, [ calculateCut, disabled, tabsRefs ]);\n\n return React.useMemo(() => {\n return {\n tabsCut,\n tabsRefs,\n listRef,\n rightSlotRef,\n };\n }, [ tabsCut, tabsRefs ]);\n}\n","import React from 'react';\n\ninterface Props {\n activeTabIndex: number;\n tabsRefs: Array>;\n listRef: React.RefObject;\n isMobile?: boolean;\n isLoading?: boolean;\n}\n\nexport default function useScrollToActiveTab({ activeTabIndex, tabsRefs, listRef, isMobile, isLoading }: Props) {\n React.useEffect(() => {\n if (isLoading) {\n return;\n }\n\n if (activeTabIndex < tabsRefs.length && isMobile) {\n window.setTimeout(() => {\n const activeTabRef = tabsRefs[activeTabIndex];\n\n if (activeTabRef.current && listRef.current) {\n const activeTabRect = activeTabRef.current.getBoundingClientRect();\n listRef.current.scrollTo({\n left: activeTabRect.left,\n behavior: 'smooth',\n });\n }\n\n // have to wait until DOM is updated and all styles to tabs is applied\n }, 300);\n }\n // run only when tab index or device type is changed\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ activeTabIndex, isMobile, isLoading ]);\n}\n","import type { StyleProps, ThemingProps } from '@chakra-ui/react';\nimport { Box, Skeleton, Tab, TabList, useColorModeValue } from '@chakra-ui/react';\nimport React from 'react';\n\nimport { useScrollDirection } from 'lib/contexts/scrollDirection';\nimport useIsMobile from 'lib/hooks/useIsMobile';\nimport useIsSticky from 'lib/hooks/useIsSticky';\n\nimport TabCounter from './TabCounter';\nimport TabsMenu from './TabsMenu';\nimport type { Props as TabsProps } from './TabsWithScroll';\nimport useAdaptiveTabs from './useAdaptiveTabs';\nimport useScrollToActiveTab from './useScrollToActiveTab';\nimport { menuButton } from './utils';\n\nconst hiddenItemStyles: StyleProps = {\n position: 'absolute',\n top: '-9999px',\n left: '-9999px',\n visibility: 'hidden',\n};\n\ninterface Props extends TabsProps {\n activeTabIndex: number;\n onItemClick: (index: number) => void;\n themeProps: ThemingProps<'Tabs'>;\n isLoading?: boolean;\n}\n\nconst AdaptiveTabsList = (props: Props) => {\n\n const scrollDirection = useScrollDirection();\n const listBgColor = useColorModeValue('white', 'black');\n const isMobile = useIsMobile();\n\n const tabsList = React.useMemo(() => {\n return [ ...props.tabs, menuButton ];\n }, [ props.tabs ]);\n\n const { tabsCut, tabsRefs, listRef, rightSlotRef } = useAdaptiveTabs(tabsList, isMobile);\n const isSticky = useIsSticky(listRef, 5, props.stickyEnabled);\n useScrollToActiveTab({ activeTabIndex: props.activeTabIndex, listRef, tabsRefs, isMobile, isLoading: props.isLoading });\n\n return (\n \n { tabsList.slice(0, props.isLoading ? 5 : Infinity).map((tab, index) => {\n if (!tab.id) {\n if (props.isLoading) {\n return null;\n }\n\n return (\n = tabsCut }\n styles={ tabsCut < props.tabs.length ?\n // initially our cut is 0 and we don't want to show the menu button too\n // but we want to keep it in the tabs row so it won't collapse\n // that's why we only change opacity but not the position itself\n { opacity: tabsCut === 0 ? 0 : 1 } :\n hiddenItemStyles\n }\n onItemClick={ props.onItemClick }\n buttonRef={ tabsRefs[index] }\n size={ props.themeProps.size || 'md' }\n />\n );\n }\n\n return (\n \n \n { typeof tab.title === 'function' ? tab.title() : tab.title }\n \n \n \n );\n }) }\n {\n props.rightSlot && tabsCut > 0 ?\n { props.rightSlot } :\n null\n }\n \n );\n};\n\nexport default React.memo(AdaptiveTabsList);\n","import type { LazyMode } from '@chakra-ui/lazy-utils';\nimport type { ChakraProps, ThemingProps } from '@chakra-ui/react';\nimport {\n Tabs,\n TabPanel,\n TabPanels,\n chakra,\n} from '@chakra-ui/react';\nimport _debounce from 'lodash/debounce';\nimport React, { useEffect, useRef, useState } from 'react';\n\nimport type { TabItem } from './types';\n\nimport isBrowser from 'lib/isBrowser';\n\nimport AdaptiveTabsList from './AdaptiveTabsList';\nimport { menuButton } from './utils';\n\nexport interface Props extends ThemingProps<'Tabs'> {\n tabs: Array;\n lazyBehavior?: LazyMode;\n tabListProps?: ChakraProps | (({ isSticky, activeTabIndex }: { isSticky: boolean; activeTabIndex: number }) => ChakraProps);\n rightSlot?: React.ReactNode;\n rightSlotProps?: ChakraProps;\n stickyEnabled?: boolean;\n onTabChange?: (index: number) => void;\n defaultTabIndex?: number;\n isLoading?: boolean;\n className?: string;\n}\n\nconst TabsWithScroll = ({\n tabs,\n lazyBehavior,\n tabListProps,\n rightSlot,\n rightSlotProps,\n stickyEnabled,\n onTabChange,\n defaultTabIndex,\n isLoading,\n className,\n ...themeProps\n}: Props) => {\n const [ activeTabIndex, setActiveTabIndex ] = useState(defaultTabIndex || 0);\n const [ screenWidth, setScreenWidth ] = React.useState(isBrowser() ? window.innerWidth : 0);\n\n const tabsRef = useRef(null);\n\n const tabsList = React.useMemo(() => {\n return [ ...tabs, menuButton ];\n }, [ tabs ]);\n\n const handleTabChange = React.useCallback((index: number) => {\n if (isLoading) {\n return;\n }\n onTabChange ? onTabChange(index) : setActiveTabIndex(index);\n }, [ isLoading, onTabChange ]);\n\n useEffect(() => {\n if (defaultTabIndex !== undefined) {\n setActiveTabIndex(defaultTabIndex);\n }\n }, [ defaultTabIndex ]);\n\n React.useEffect(() => {\n const resizeHandler = _debounce(() => {\n setScreenWidth(window.innerWidth);\n }, 100);\n const resizeObserver = new ResizeObserver(resizeHandler);\n\n resizeObserver.observe(document.body);\n return function cleanup() {\n resizeObserver.unobserve(document.body);\n };\n }, []);\n\n if (tabs.length === 1) {\n return
{ tabs[0].component }
;\n }\n\n return (\n \n tab.id).join(':') }\n tabs={ tabs }\n tabListProps={ tabListProps }\n rightSlot={ rightSlot }\n rightSlotProps={ rightSlotProps }\n stickyEnabled={ stickyEnabled }\n activeTabIndex={ activeTabIndex }\n onItemClick={ handleTabChange }\n themeProps={ themeProps }\n isLoading={ isLoading }\n />\n \n { tabsList.map((tab) => { tab.component }) }\n \n \n );\n};\n\nexport default React.memo(chakra(TabsWithScroll));\n","import { useRouter } from 'next/router';\n\nimport type { RoutedTab } from './types';\n\nimport getQueryParamString from 'lib/router/getQueryParamString';\n\nexport default function useTabIndexFromQuery(tabs: Array) {\n const router = useRouter();\n const tabFromQuery = getQueryParamString(router.query.tab);\n\n if (!tabFromQuery) {\n return 0;\n }\n\n const tabIndex = tabs.findIndex(({ id, subTabs }) => id === tabFromQuery || subTabs?.some((id) => id === tabFromQuery));\n\n if (tabIndex < 0) {\n return 0;\n }\n\n return tabIndex;\n}\n"],"names":["TX_HASH","TX","timestamp","fee","type","value","gas_limit","block","status","method","confirmations","exchange_rate","to","ADDRESS_PARAMS","tx_burnt_fee","max_fee_per_gas","result","hash","gas_price","priority_fee","base_fee_per_gas","from","token_transfers","tx_types","gas_used","created_contract","position","nonce","has_error_in_internal_txs","actions","decoded_input","token_transfers_overflow","raw_input","max_priority_fee_per_gas","revert_reason","confirmation_duration","tx_tag","TX_ZKEVM_L2","zkevm_batch_number","zkevm_sequence_hash","zkevm_status","zkevm_verify_hash","TX_RAW_TRACE","TXS_STATS","pending_transactions_count","transaction_fees_avg_24h","transaction_fees_sum_24h","transactions_count_24h","__webpack_exports__","Z","chakra","props","isError","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","DataFetchAlert","className","filterProps","hasActiveFilters","items","length","jsxs","Box","actionBar","EmptySearchResult","text","emptyFilteredText","content","Fragment","showActionBarIfEmpty","emptyText","Text","_g","_defs","_extends","Object","assign","bind","target","i","arguments","source","key","prototype","hasOwnProperty","call","apply","empty_search_result","react","createElement","xmlns","viewBox","fill","clipPath","fillRule","clipRule","d","fillOpacity","id","cx","cy","r","gradientUnits","gradientTransform","stopColor","stopOpacity","offset","transform","shared_EmptySearchResult","param","jsx_runtime","display","flexDirection","alignItems","justifyContent","mt","Icon","as","emptySearchResultIcon","w","base","sm","h","mb","Heading","size","fontSize","textAlign","React","tabs","tabListProps","rightSlot","rightSlotProps","stickyEnabled","onTabChange","isLoading","themeProps","router","useRouter","tabIndex","useTabIndexFromQuery","tabsRef","useRef","handleTabChange","nextTab","index","queryForPathname","_pickBy","query","pathname","includes","concat","push","tab","undefined","shallow","useEffect","scroll_to_tabs","current","scrollIntoView","TabsWithScroll","defaultTabIndex","Tabs_TabCounter","count","zeroCountColor","useColorModeValue","span","color","ml","getDefaultTransitionProps","menuButton","title","middot","component","Tabs_TabsMenu","tabsCut","isActive","styles","onItemClick","buttonRef","activeTab","isOpen","onClose","onOpen","useDisclosure","handleItemClick","event","currentTarget","getAttribute","Number","Popover","isLazy","placement","closeDelay","PopoverTrigger","Button","variant","ref","PopoverContent","PopoverBody","flexDir","slice","map","onClick","data-index","sx","TabCounter","hiddenItemStyles","top","left","visibility","Tabs_AdaptiveTabsList","scrollDirection","useScrollDirection","listBgColor","isMobile","useIsMobile","tabsList","tabsRefs","listRef","rightSlotRef","useAdaptiveTabs","disabled","setTabsCut","setTabsRefs","calculateCut","listWidth","getBoundingClientRect","width","rightSlotWidth","tabWidths","menuWidth","visibleNum","reduce","item","array","accWidth","_","isSticky","useIsSticky","useScrollToActiveTab","activeTabIndex","window","setTimeout","activeTabRef","activeTabRect","scrollTo","behavior","TabList","marginBottom","mx","lg","px","flexWrap","whiteSpace","overflowX","overscrollBehaviorX","css","bgColor","transitionProperty","transitionDuration","transitionTimingFunction","boxShadow","zIndex","Infinity","Tab","scrollSnapAlign","flexShrink","Skeleton","isLoaded","TabsMenu","opacity","Tabs_TabsWithScroll","lazyBehavior","setActiveTabIndex","useState","screenWidth","setScreenWidth","isBrowser","innerWidth","resizeObserver","ResizeObserver","_debounce","observe","document","body","unobserve","div","Tabs","colorScheme","onChange","AdaptiveTabsList","join","TabPanels","TabPanel","padding","tabFromQuery","getQueryParamString","findIndex","subTabs","some"],"sourceRoot":""}