/* Metro module 1064; source: unknown; dependencies: [1054] */ function _fun11146(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#11146, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1191:6, offset: 0x00da229d, size: 122 bytes, params: 8, frame: 17 const env0_0 = require; const Object = global.Object; const defineProperty = Object.defineProperty; const Symbol = global.Symbol; Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]); const updateEstimate = function(a0) { a0.forEach(_fun11148); }; exports.getInteractionCount = getInteractionCount; exports.initInteractionCountPolyfill = initInteractionCountPolyfill; } function updateEstimate(a0) { // fn#11147, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1191:115, offset: 0x00da2317, size: 24 bytes, params: 2, frame: 11 a0.forEach(_fun11148); } function getInteractionCount() { // fn#11149, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1191:287, offset: 0x00da23a5, size: 37 bytes, params: 1, frame: 3 var interactionCount; var r0; if (env0_2) { r0 = env0_3; } else { interactionCount = global.performance.interactionCount; interactionCount = !interactionCount ? 0 : interactionCount; r0 = interactionCount; } return r0; } function initInteractionCountPolyfill() { // fn#11150, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1191:394, offset: 0x00da23ca, size: 92 bytes, params: 1, frame: 16 var moduleValue; if (!('interactionCount' in global.performance || env0_2)) { moduleValue = require(1054) /* metro dependency 1054 */; env0_2 = moduleValue.observe('event', updateEstimate, {'type': 'event', 'buffered': true, 'durationThreshold': 0}); } } function _fun11148(a0) { // fn#11148, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1191:153, offset: 0x00da232f, size: 118 bytes, params: 2, frame: 16 var r0; var Math; var min; var value; var binding; var max; var value2; let interactionId = a0.interactionId; if (interactionId) { Math = global.Math; min = Math.min; value = environment.__proto__; binding = env1_4; interactionId = a0.interactionId; env1_4 = Reflect.apply(min, Math, [binding, interactionId]); Math = global.Math; max = Math.max; binding = env1_5; interactionId = a0.interactionId; value2 = Reflect.apply(max, Math, [binding, interactionId]); env1_5 = value2; r0 = value2 ? (env1_5 - env1_4) / 7 + 1 : 0; } }