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ACxB,MAAyB,GAAArE,EAAAhG,GAAA,EAAIyK,EAAAC,CAAU,EAAIC,WAAA9O,EAAAyO,IAAAA,EAAAzC,SAAAA,CAAA,EAC3C,CACAuC,EAAAQ,WAAA","sources":["webpack://_N_E/./node_modules/lodash/_isIterateeCall.js","webpack://_N_E/./node_modules/lodash/chunk.js","webpack://_N_E/./node_modules/lodash/toFinite.js","webpack://_N_E/./node_modules/lodash/toInteger.js","webpack://_N_E/./lib/hooks/useGradualIncrement.tsx","webpack://_N_E/./lib/hooks/useNewTxsSocket.tsx","webpack://_N_E/./lib/hooks/useRedirectForInvalidAuthToken.tsx","webpack://_N_E/./lib/networks/getNetworkValidationActionText.ts","webpack://_N_E/./ui/txs/TxsStats.tsx","webpack://_N_E/./ui/txs/TxsWatchlist.tsx","webpack://_N_E/./ui/pages/Transactions.tsx","webpack://_N_E/./ui/shared/Hint.tsx","webpack://_N_E/./ui/shared/TruncatedValue.tsx","webpack://_N_E/./ui/shared/stats/StatsWidget.tsx","webpack://_N_E/./ui/txs/TxsWithFrontendSorting.tsx","webpack://_N_E/./node_modules/@chakra-ui/media-query/dist/chunk-OLSEFBIG.mjs"],"sourcesContent":["var eq = require('./eq'),\n isArrayLike = require('./isArrayLike'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject');\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n","var baseSlice = require('./_baseSlice'),\n isIterateeCall = require('./_isIterateeCall'),\n toInteger = require('./toInteger');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeCeil = Math.ceil,\n nativeMax = Math.max;\n\n/**\n * Creates an array of elements split into groups the length of `size`.\n * If `array` can't be split evenly, the final chunk will be the remaining\n * elements.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to process.\n * @param {number} [size=1] The length of each chunk\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the new array of chunks.\n * @example\n *\n * _.chunk(['a', 'b', 'c', 'd'], 2);\n * // => [['a', 'b'], ['c', 'd']]\n *\n * _.chunk(['a', 'b', 'c', 'd'], 3);\n * // => [['a', 'b', 'c'], ['d']]\n */\nfunction chunk(array, size, guard) {\n if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {\n size = 1;\n } else {\n size = nativeMax(toInteger(size), 0);\n }\n var length = array == null ? 0 : array.length;\n if (!length || size < 1) {\n return [];\n }\n var index = 0,\n resIndex = 0,\n result = Array(nativeCeil(length / size));\n\n while (index < length) {\n result[resIndex++] = baseSlice(array, index, (index += size));\n }\n return result;\n}\n\nmodule.exports = chunk;\n","var toNumber = require('./toNumber');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\nmodule.exports = toFinite;\n","var toFinite = require('./toFinite');\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n","import React from 'react';\n\nconst DURATION = 300;\n\nexport default function useGradualIncrement(initialValue: number): [number, (inc: number) => void] {\n const [ num, setNum ] = React.useState(initialValue);\n const queue = React.useRef(0);\n const timeoutId = React.useRef(0);\n const delay = React.useRef(0);\n\n const incrementDelayed = React.useCallback(() => {\n if (queue.current === 0) {\n return;\n }\n\n queue.current--;\n setNum(prev => prev + 1);\n timeoutId.current = 0;\n }, []);\n\n const increment = React.useCallback((inc: number) => {\n if (inc < 1) {\n return;\n }\n\n queue.current += inc;\n\n if (!timeoutId.current) {\n timeoutId.current = window.setTimeout(incrementDelayed, 0);\n }\n }, [ incrementDelayed ]);\n\n React.useEffect(() => {\n if (queue.current > 0 && !timeoutId.current) {\n if (!delay.current) {\n delay.current = DURATION / queue.current;\n } else if (delay.current > DURATION / queue.current) {\n // in case if queue size is increased since last DOM update\n delay.current = DURATION / queue.current;\n }\n timeoutId.current = window.setTimeout(incrementDelayed, delay.current);\n }\n }, [ incrementDelayed, num ]);\n\n React.useEffect(() => {\n return () => {\n window.clearTimeout(timeoutId.current);\n };\n }, []);\n\n return [ num, increment ];\n}\n","import type { NextRouter } from 'next/router';\nimport { useRouter } from 'next/router';\nimport React from 'react';\n\nimport useGradualIncrement from 'lib/hooks/useGradualIncrement';\nimport useSocketChannel from 'lib/socket/useSocketChannel';\nimport useSocketMessage from 'lib/socket/useSocketMessage';\n\nfunction getSocketParams(router: NextRouter) {\n\n if (\n router.pathname === '/txs' &&\n (router.query.tab === 'validated' || router.query.tab === undefined) &&\n !router.query.block_number &&\n !router.query.page\n ) {\n return { topic: 'transactions:new_transaction' as const, event: 'transaction' as const };\n }\n\n if (router.pathname === '/') {\n return { topic: 'transactions:new_transaction' as const, event: 'transaction' as const };\n }\n\n if (\n router.pathname === '/txs' &&\n router.query.tab === 'pending' &&\n !router.query.block_number &&\n !router.query.page\n ) {\n return { topic: 'transactions:new_pending_transaction' as const, event: 'pending_transaction' as const };\n }\n\n return {};\n}\n\nfunction assertIsNewTxResponse(response: unknown): response is { transaction: number } {\n return typeof response === 'object' && response !== null && 'transaction' in response;\n}\nfunction assertIsNewPendingTxResponse(response: unknown): response is { pending_transaction: number } {\n return typeof response === 'object' && response !== null && 'pending_transaction' in response;\n}\n\nexport default function useNewTxsSocket() {\n const router = useRouter();\n const [ num, setNum ] = useGradualIncrement(0);\n const [ socketAlert, setSocketAlert ] = React.useState('');\n\n const { topic, event } = getSocketParams(router);\n\n const handleNewTxMessage = React.useCallback((response: { transaction: number } | { pending_transaction: number } | unknown) => {\n if (assertIsNewTxResponse(response)) {\n setNum(response.transaction);\n }\n if (assertIsNewPendingTxResponse(response)) {\n setNum(response.pending_transaction);\n }\n }, [ setNum ]);\n\n const handleSocketClose = React.useCallback(() => {\n setSocketAlert('Connection is lost. Please reload the page.');\n }, []);\n\n const handleSocketError = React.useCallback(() => {\n setSocketAlert('An error has occurred while fetching new transactions. Please reload the page.');\n }, []);\n\n const channel = useSocketChannel({\n topic,\n onSocketClose: handleSocketClose,\n onSocketError: handleSocketError,\n isDisabled: !topic,\n });\n\n useSocketMessage({\n channel,\n event,\n handler: handleNewTxMessage,\n });\n\n if (!topic && !event) {\n return {};\n }\n\n return { num, socketAlert };\n}\n","import * as Sentry from '@sentry/react';\nimport { useQueryClient } from '@tanstack/react-query';\nimport React from 'react';\n\nimport { resourceKey } from 'lib/api/resources';\nimport type { ResourceError } from 'lib/api/resources';\nimport * as cookies from 'lib/cookies';\nimport useLoginUrl from 'lib/hooks/useLoginUrl';\n\nexport default function useRedirectForInvalidAuthToken() {\n const queryClient = useQueryClient();\n\n const state = queryClient.getQueryState([ resourceKey('user_info') ]);\n const errorStatus = state?.error?.status;\n const loginUrl = useLoginUrl();\n\n React.useEffect(() => {\n if (errorStatus === 401) {\n const apiToken = cookies.get(cookies.NAMES.API_TOKEN);\n\n if (apiToken && loginUrl) {\n Sentry.captureException(new Error('Invalid API token'), { tags: { source: 'invalid_api_token' } });\n window.location.assign(loginUrl);\n }\n }\n }, [ errorStatus, loginUrl ]);\n}\n","import config from 'configs/app';\n\nexport default function getNetworkValidationActionText() {\n switch (config.chain.verificationType) {\n case 'validation': {\n return 'validated';\n }\n case 'mining': {\n return 'mined';\n }\n case 'posting': {\n return 'posted';\n }\n case 'sequencing': {\n return 'sequenced';\n }\n default: {\n return 'miner';\n }\n }\n}\n","import { Box } from '@chakra-ui/react';\nimport React from 'react';\n\nimport config from 'configs/app';\nimport useApiQuery from 'lib/api/useApiQuery';\nimport getCurrencyValue from 'lib/getCurrencyValue';\nimport { thinsp } from 'lib/html-entities';\nimport { HOMEPAGE_STATS } from 'stubs/stats';\nimport { TXS_STATS } from 'stubs/tx';\nimport StatsWidget from 'ui/shared/stats/StatsWidget';\n\nconst TxsStats = () => {\n const txsStatsQuery = useApiQuery('txs_stats', {\n queryOptions: {\n placeholderData: TXS_STATS,\n },\n });\n\n const statsQuery = useApiQuery('stats', {\n queryOptions: {\n placeholderData: HOMEPAGE_STATS,\n },\n });\n\n if (!txsStatsQuery.data) {\n return null;\n }\n\n const txFeeAvg = getCurrencyValue({\n value: txsStatsQuery.data.transaction_fees_avg_24h,\n exchangeRate: statsQuery.data?.coin_price,\n decimals: String(config.chain.currency.decimals),\n accuracyUsd: 2,\n });\n\n return (\n \n \n \n \n \n \n );\n};\n\nexport default React.memo(TxsStats);\n","import React from 'react';\n\nimport useRedirectForInvalidAuthToken from 'lib/hooks/useRedirectForInvalidAuthToken';\nimport type { QueryWithPagesResult } from 'ui/shared/pagination/useQueryWithPages';\nimport TxsWithFrontendSorting from 'ui/txs/TxsWithFrontendSorting';\n\ntype Props = {\n query: QueryWithPagesResult<'txs_watchlist'>;\n}\n\nconst TxsWatchlist = ({ query }: Props) => {\n useRedirectForInvalidAuthToken();\n return ;\n};\n\nexport default TxsWatchlist;\n","import capitalize from 'lodash/capitalize';\nimport { useRouter } from 'next/router';\nimport React from 'react';\n\nimport type { RoutedTab } from 'ui/shared/Tabs/types';\n\nimport config from 'configs/app';\nimport useHasAccount from 'lib/hooks/useHasAccount';\nimport useIsMobile from 'lib/hooks/useIsMobile';\nimport useNewTxsSocket from 'lib/hooks/useNewTxsSocket';\nimport getNetworkValidationActionText from 'lib/networks/getNetworkValidationActionText';\nimport getQueryParamString from 'lib/router/getQueryParamString';\nimport { TX } from 'stubs/tx';\nimport { generateListStub } from 'stubs/utils';\nimport PageTitle from 'ui/shared/Page/PageTitle';\nimport Pagination from 'ui/shared/pagination/Pagination';\nimport useQueryWithPages from 'ui/shared/pagination/useQueryWithPages';\nimport RoutedTabs from 'ui/shared/Tabs/RoutedTabs';\nimport TxsStats from 'ui/txs/TxsStats';\nimport TxsWatchlist from 'ui/txs/TxsWatchlist';\nimport TxsWithFrontendSorting from 'ui/txs/TxsWithFrontendSorting';\n\nconst TAB_LIST_PROPS = {\n marginBottom: 0,\n pt: 6,\n pb: 6,\n marginTop: -5,\n};\nconst TABS_HEIGHT = 88;\n\nconst Transactions = () => {\n const verifiedTitle = capitalize(getNetworkValidationActionText());\n const router = useRouter();\n const isMobile = useIsMobile();\n const tab = getQueryParamString(router.query.tab);\n\n const txsValidatedQuery = useQueryWithPages({\n resourceName: 'txs_validated',\n filters: { filter: 'validated' },\n options: {\n enabled: !tab || tab === 'validated',\n placeholderData: generateListStub<'txs_validated'>(TX, 50, { next_page_params: {\n block_number: 9005713,\n index: 5,\n items_count: 50,\n filter: 'validated',\n } }),\n },\n });\n\n const txsPendingQuery = useQueryWithPages({\n resourceName: 'txs_pending',\n filters: { filter: 'pending' },\n options: {\n enabled: tab === 'pending',\n placeholderData: generateListStub<'txs_pending'>(TX, 50, { next_page_params: {\n inserted_at: '2024-02-05T07:04:47.749818Z',\n hash: '0x00',\n filter: 'pending',\n } }),\n },\n });\n\n const txsWithBlobsQuery = useQueryWithPages({\n resourceName: 'txs_with_blobs',\n filters: { type: 'blob_transaction' },\n options: {\n enabled: config.features.dataAvailability.isEnabled && tab === 'blob_txs',\n placeholderData: generateListStub<'txs_with_blobs'>(TX, 50, { next_page_params: {\n block_number: 10602877,\n index: 8,\n items_count: 50,\n } }),\n },\n });\n\n const txsWatchlistQuery = useQueryWithPages({\n resourceName: 'txs_watchlist',\n options: {\n enabled: tab === 'watchlist',\n placeholderData: generateListStub<'txs_watchlist'>(TX, 50, { next_page_params: {\n block_number: 9005713,\n index: 5,\n items_count: 50,\n } }),\n },\n });\n\n const { num, socketAlert } = useNewTxsSocket();\n\n const hasAccount = useHasAccount();\n\n const tabs: Array = [\n {\n id: 'validated',\n title: verifiedTitle,\n component:\n },\n {\n id: 'pending',\n title: 'Pending',\n component: (\n \n ),\n },\n config.features.dataAvailability.isEnabled && {\n id: 'blob_txs',\n title: 'Blob txns',\n component: (\n \n ),\n },\n hasAccount ? {\n id: 'watchlist',\n title: 'Watch list',\n component: ,\n } : undefined,\n ].filter(Boolean);\n\n const pagination = (() => {\n switch (tab) {\n case 'pending': return txsPendingQuery.pagination;\n case 'watchlist': return txsWatchlistQuery.pagination;\n case 'blob_txs': return txsWithBlobsQuery.pagination;\n default: return txsValidatedQuery.pagination;\n }\n })();\n\n return (\n <>\n \n \n : null\n ) }\n stickyEnabled={ !isMobile }\n />\n \n );\n};\n\nexport default Transactions;\n","import type { TooltipProps } from '@chakra-ui/react';\nimport { chakra, IconButton, Tooltip, useDisclosure, Skeleton } from '@chakra-ui/react';\nimport React from 'react';\n\nimport IconSvg from 'ui/shared/IconSvg';\n\ninterface Props {\n label: string | React.ReactNode;\n className?: string;\n tooltipProps?: Partial;\n isLoading?: boolean;\n}\n\nconst Hint = ({ label, className, tooltipProps, isLoading }: Props) => {\n // have to implement controlled tooltip because of the issue - https://github.com/chakra-ui/chakra-ui/issues/7107\n const { isOpen, onOpen, onToggle, onClose } = useDisclosure();\n\n const handleClick = React.useCallback((event: React.MouseEvent) => {\n event.stopPropagation();\n onToggle();\n }, [ onToggle ]);\n\n if (isLoading) {\n return ;\n }\n\n return (\n \n }\n boxSize={ 5 }\n variant=\"simple\"\n display=\"inline-block\"\n flexShrink={ 0 }\n className={ className }\n onMouseEnter={ onOpen }\n onMouseLeave={ onClose }\n onClick={ handleClick }\n />\n \n );\n};\n\nexport default React.memo(chakra(Hint));\n","import type { PlacementWithLogical } from '@chakra-ui/react';\nimport { Skeleton, chakra } from '@chakra-ui/react';\nimport React from 'react';\n\nimport TruncatedTextTooltip from 'ui/shared/TruncatedTextTooltip';\n\ninterface Props {\n className?: string;\n isLoading?: boolean;\n value: string;\n tooltipPlacement?: PlacementWithLogical;\n}\n\nconst TruncatedValue = ({ className, isLoading, value, tooltipPlacement }: Props) => {\n return (\n \n \n { value }\n \n \n );\n};\n\nexport default React.memo(chakra(TruncatedValue));\n","import { Box, Flex, Text, Skeleton, useColorModeValue, chakra } from '@chakra-ui/react';\nimport NextLink from 'next/link';\nimport React from 'react';\n\nimport type { Route } from 'nextjs-routes';\n\nimport Hint from 'ui/shared/Hint';\nimport IconSvg, { type IconName } from 'ui/shared/IconSvg';\nimport TruncatedValue from 'ui/shared/TruncatedValue';\n\nexport type Props = {\n className?: string;\n label: string;\n value: string | React.ReactNode;\n valuePrefix?: string;\n valuePostfix?: string;\n hint?: string | React.ReactNode;\n isLoading?: boolean;\n diff?: string | number;\n diffFormatted?: string;\n diffPeriod?: '24h';\n period?: '1h' | '24h';\n href?: Route;\n icon?: IconName;\n}\n\nconst Container = ({ href, children }: { href?: Route; children: JSX.Element }) => {\n if (href) {\n return (\n \n { children }\n \n );\n }\n\n return children;\n};\n\nconst StatsWidget = ({\n className,\n icon,\n label,\n value,\n valuePrefix,\n valuePostfix,\n isLoading,\n hint,\n diff,\n diffPeriod = '24h',\n diffFormatted,\n period,\n href,\n}: Props) => {\n const bgColor = useColorModeValue('gray.50', 'whiteAlpha.100');\n const skeletonBgColor = useColorModeValue('blackAlpha.50', 'whiteAlpha.50');\n const hintColor = useColorModeValue('gray.600', 'gray.400');\n\n return (\n \n \n { icon && (\n \n ) }\n \n \n

{ label }

\n \n \n { valuePrefix && { valuePrefix } }\n { typeof value === 'string' ? (\n \n ) : (\n value\n ) }\n { valuePostfix && { valuePostfix } }\n { diff && Number(diff) > 0 && (\n <>\n \n +{ diffFormatted || Number(diff).toLocaleString() }\n \n ({ diffPeriod })\n \n ) }\n { period && ({ period }) }\n \n
\n { typeof hint === 'string' ? (\n \n \n \n ) : hint }\n \n
\n );\n};\n\nexport default chakra(StatsWidget);\n","import React from 'react';\n\nimport type { AddressFromToFilter } from 'types/api/address';\n\nimport type { QueryWithPagesResult } from 'ui/shared/pagination/useQueryWithPages';\n\nimport TxsContent from './TxsContent';\nimport useTxsSort from './useTxsSort';\n\ntype Props = {\n // eslint-disable-next-line max-len\n query: QueryWithPagesResult<'txs_validated' | 'txs_pending'> | QueryWithPagesResult<'txs_watchlist'> | QueryWithPagesResult<'block_txs'> | QueryWithPagesResult<'zkevm_l2_txn_batch_txs'>;\n showBlockInfo?: boolean;\n showSocketInfo?: boolean;\n socketInfoAlert?: string;\n socketInfoNum?: number;\n currentAddress?: string;\n filter?: React.ReactNode;\n filterValue?: AddressFromToFilter;\n enableTimeIncrement?: boolean;\n top?: number;\n}\n\nconst TxsWithFrontendSorting = ({\n filter,\n filterValue,\n query,\n showBlockInfo = true,\n showSocketInfo = true,\n socketInfoAlert,\n socketInfoNum,\n currentAddress,\n enableTimeIncrement,\n top,\n}: Props) => {\n const { data, isPlaceholderData, isError, setSortByValue, sorting } = useTxsSort(query);\n\n return (\n \n );\n};\n\nexport default TxsWithFrontendSorting;\n","import {\n Visibility\n} from \"./chunk-DZU5YH7Z.mjs\";\nimport {\n useQuery\n} from \"./chunk-R3K6W4OF.mjs\";\n\n// src/show.tsx\nimport { jsx } from \"react/jsx-runtime\";\nfunction Show(props) {\n const { children, ssr } = props;\n const query = useQuery(props);\n return /* @__PURE__ */ jsx(Visibility, { breakpoint: query, ssr, children });\n}\nShow.displayName = \"Show\";\n\nexport {\n Show\n};\n"],"names":["eq","__webpack_require__","isArrayLike","isIndex","isObject","module","exports","value","index","object","type","length","baseSlice","isIterateeCall","toInteger","nativeCeil","Math","ceil","nativeMax","max","array","size","guard","undefined","resIndex","result","Array","toNumber","INFINITY","sign","toFinite","remainder","useGradualIncrement","initialValue","num","setNum","React","queue","timeoutId","delay","incrementDelayed","current","prev","increment","inc","window","setTimeout","DURATION","clearTimeout","useNewTxsSocket","router","useRouter","socketAlert","setSocketAlert","topic","event","pathname","query","tab","block_number","page","handleNewTxMessage","response","transaction","pending_transaction","handleSocketClose","handleSocketError","channel","useSocketChannel","onSocketClose","onSocketError","isDisabled","useSocketMessage","handler","useRedirectForInvalidAuthToken","state","queryClient","useQueryClient","getQueryState","resourceKey","errorStatus","error","status","loginUrl","useLoginUrl","cookies","API_TOKEN","Sentry","tags","source","location","assign","getNetworkValidationActionText","config","chain","verificationType","txs_TxsStats","statsQuery","txsStatsQuery","useApiQuery","queryOptions","placeholderData","TXS_STATS","HOMEPAGE_STATS","data","txFeeAvg","getCurrencyValue","transaction_fees_avg_24h","exchangeRate","coin_price","decimals","String","currency","accuracyUsd","jsx_runtime","jsxs","Box","display","gridTemplateColumns","base","lg","rowGap","columnGap","mb","jsx","StatsWidget","label","Number","transactions_count_24h","toLocaleString","period","isLoading","isPlaceholderData","href","features","stats","isEnabled","chartId","pending_transactions_count","transaction_fees_sum_24h","maximumFractionDigits","valuePostfix","thinsp","symbol","usd","valueStr","valuePrefix","txs_TxsWatchlist","param","TxsWithFrontendSorting","showSocketInfo","top","TAB_LIST_PROPS","marginBottom","pt","pb","marginTop","pages_Transactions","verifiedTitle","capitalize","isMobile","useIsMobile","getQueryParamString","txsValidatedQuery","useQueryWithPages","resourceName","filters","filter","options","enabled","generateListStub","TX","next_page_params","items_count","txsPendingQuery","inserted_at","hash","txsWithBlobsQuery","dataAvailability","txsWatchlistQuery","hasAccount","useHasAccount","tabs","id","title","component","pagination","socketInfoNum","socketInfoAlert","showBlockInfo","TxsWatchlist","Boolean","Fragment","PageTitle","meta","seo","enhancedDataEnabled","concat","name","withTextAd","TxsStats","RoutedTabs","tabListProps","rightSlot","isVisible","Pagination","my","stickyEnabled","__webpack_exports__","Z","chakra","className","tooltipProps","isOpen","onOpen","onToggle","onClose","useDisclosure","handleClick","stopPropagation","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","Skeleton","boxSize","borderRadius","Tooltip","placement","maxW","IconButton","colorScheme","aria-label","icon","IconSvg","w","h","color","_hover","variant","flexShrink","onMouseEnter","onMouseLeave","onClick","tooltipPlacement","TruncatedTextTooltip","isLoaded","whiteSpace","overflow","textOverflow","height","Container","children","NextLink","passHref","legacyBehavior","hint","diff","diffPeriod","diffFormatted","bgColor","useColorModeValue","skeletonBgColor","hintColor","Flex","alignItems","p","justifyContent","as","fontSize","lineHeight","h2","fontWeight","span","TruncatedValue","Text","ml","mr","alignSelf","Hint","filterValue","currentAddress","enableTimeIncrement","isError","setSortByValue","sorting","useTxsSort","TxsContent","items","setSorting","sort","Show","props","ssr","_chunk_R3K6W4OF_mjs__WEBPACK_IMPORTED_MODULE_1__","a","_chunk_DZU5YH7Z_mjs__WEBPACK_IMPORTED_MODULE_2__","E","breakpoint","displayName"],"sourceRoot":""}