{
  "version": 3,
  "sources": ["../../../../src/methods/trackTransactions/helpers/getPollingInterval.ts"],
  "sourcesContent": ["import { TRANSACTIONS_STATUS_POLLING_INTERVAL_MS } from 'constants/transactions.constants';\nimport { roundDurationSelectorSelector } from 'store/selectors/networkSelectors';\nimport { getState } from 'store/store';\n\nexport function getPollingInterval() {\n  const roundDuration = roundDurationSelectorSelector(getState());\n\n  if (!roundDuration) {\n    return TRANSACTIONS_STATUS_POLLING_INTERVAL_MS;\n  }\n\n  // Polling interval should not be less than 1s\n  return Math.max(1000, roundDuration / 2);\n}\n"],
  "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,wBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAwD,4CACxDC,EAA8C,4CAC9CC,EAAyB,uBAElB,SAASJ,GAAqB,CACnC,MAAMK,KAAgB,oCAA8B,YAAS,CAAC,EAE9D,OAAKA,EAKE,KAAK,IAAI,IAAMA,EAAgB,CAAC,EAJ9B,yCAKX",
  "names": ["getPollingInterval_exports", "__export", "getPollingInterval", "__toCommonJS", "import_transactions", "import_networkSelectors", "import_store", "roundDuration"]
}
