Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); const types = require('../../../types.js'); const getNavigationEntry = (checkResponseStart = true) => { const navigationEntry = types.WINDOW.performance?.getEntriesByType?.("navigation")[0]; if ( // sentry-specific change: // We don't want to check for responseStart for our own use of `getNavigationEntry` !checkResponseStart || navigationEntry && navigationEntry.responseStart > 0 && navigationEntry.responseStart < performance.now() ) { return navigationEntry; } }; exports.getNavigationEntry = getNavigationEntry; //# sourceMappingURL=getNavigationEntry.js.map