{
  "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": "sHAIO,SAASA,GAAqB,CACnC,IAAMC,EAAgBC,EAA8BC,EAAS,CAAC,EAE9D,OAAKF,EAKE,KAAK,IAAI,IAAMA,EAAgB,CAAC,EAJ9B,GAKX",
  "names": ["getPollingInterval", "roundDuration", "roundDurationSelectorSelector", "getState"]
}
