2026-07-29 08:29:29 +00:00
// Module ID: 1162
// Function ID: 1163
// Name: fetchNativeFrames
// Dependencies: [1001, 1163, 817, 1122]
// Module 1162 (fetchNativeFrames)
const require = arg1 ;
const dependencyMap = arg6 ;
function fetchNativeFrames ( ) {
return new Promise ( ( arg0 , arg1 ) => {
const callback = arg0 ;
const table = arg1 ;
2026-08-24 06:08:38 +00:00
c2 = false ;
2026-07-29 08:29:29 +00:00
const timeout = setTimeout ( ( ) => {
if ( ! c2 ) {
c2 = true ;
callback2 ( "Fetching native frames took too long. Dropping frames." ) ;
}
} , 2000 ) ;
const NATIVE = callback ( table [ 0 ] ) . NATIVE ;
const nativeFrames = NATIVE . fetchNativeFrames ( ) ;
nativeFrames . then ( ( arg0 ) => {
if ( ! c2 ) {
const _clearTimeout = clearTimeout ;
clearTimeout ( closure _3 ) ;
c2 = true ;
if ( arg0 ) {
callback ( arg0 ) ;
} else {
callback2 ( "Native frames response is null." ) ;
}
}
} ) . then ( undefined , ( arg0 ) => {
if ( ! c2 ) {
const _clearTimeout = clearTimeout ;
clearTimeout ( closure _3 ) ;
c2 = true ;
callback2 ( arg0 ) ;
}
} ) ;
} ) ;
}
function isClose ( arg0 , arg1 ) {
return Math . abs ( arg0 - arg1 ) < 0.05 ;
}
let fn = this ;
if ( this ) {
fn = this . _ _awaiter ;
}
if ( ! fn ) {
fn = ( arg0 , arg1 , arg2 , arg3 ) => {
2026-08-24 06:08:38 +00:00
closure _0 = arg0 ;
closure _1 = arg1 ;
2026-07-29 08:29:29 +00:00
let _Promise = arg2 ;
2026-08-24 06:08:38 +00:00
closure _3 = arg3 ;
2026-07-29 08:29:29 +00:00
if ( ! arg2 ) {
_Promise = Promise ;
}
_Promise = new _Promise ( ( arg0 , arg1 ) => {
2026-08-24 06:08:38 +00:00
closure _0 = arg0 ;
closure _1 = arg1 ;
2026-07-29 08:29:29 +00:00
function fulfilled ( arg0 ) {
try {
step ( iter . next ( arg0 ) ) ;
} catch ( tmp5 ) {
callback2 ( tmp5 ) ;
}
}
function rejected ( arg0 ) {
try {
step ( iter . throw ( arg0 ) ) ;
} catch ( tmp5 ) {
callback2 ( tmp5 ) ;
}
}
let iter = rejected ;
function step ( done ) {
if ( done . done ) {
callback ( done . value ) ;
} else {
let tmp = done . value ;
callback = tmp ;
if ( ! ( tmp instanceof fulfilled ) ) {
tmp = new tmp ( ( arg0 ) => {
arg0 ( closure _0 ) ;
} ) ;
}
tmp . then ( fulfilled , iter ) ;
}
}
let items = closure _1 ;
if ( ! closure _1 ) {
items = [ ] ;
}
iter = iter . apply ( closure _0 , items ) ;
const iter2 = iter . next ( ) ;
const value = iter2 . value ;
if ( iter2 . done ) {
arg0 ( value ) ;
} else {
closure _0 = value ;
let tmp3 = value ;
if ( ! ( value instanceof fulfilled ) ) {
tmp3 = new tmp3 ( ( arg0 ) => {
arg0 ( closure _0 ) ;
} ) ;
}
tmp3 . then ( fulfilled , rejected ) ;
}
} ) ;
return _Promise ;
} ;
}
const NativeFrames = "NativeFrames" ;
function nativeFramesIntegration ( ) {
const _require = null ;
asyncExpiringMap = new _require ( asyncExpiringMap [ 1 ] ) . AsyncExpiringMap ( { ttl : 60000 } ) ;
const asyncExpiringMap1 = new _require ( asyncExpiringMap [ 1 ] ) . AsyncExpiringMap ( { ttl : 2000 } ) ;
function fetchStartFramesForSpan ( spanContext ) {
const spanId = spanContext . spanContext ( ) . spanId ;
let str = "child" ;
if ( obj . isRootSpan ( spanContext ) ) {
str = "root" ;
}
let debug = _null ( asyncExpiringMap [ 2 ] ) . debug ;
debug . log ( "[" + fetchStartFramesForSpan + "] Fetching frames for " + str + " span start (" + spanId + ")." ) ;
obj = _null ( asyncExpiringMap [ 3 ] ) ;
const tmp = _null ;
const tmp2 = asyncExpiringMap ;
const result = asyncExpiringMap . set ( spanId , new Promise ( ( arg0 ) => {
2026-08-24 06:08:38 +00:00
closure _0 = arg0 ;
2026-07-29 08:29:29 +00:00
const promise = new Promise ( ( arg0 , arg1 ) => {
const callback = arg0 ;
const table = arg1 ;
2026-08-24 06:08:38 +00:00
c2 = false ;
2026-07-29 08:29:29 +00:00
const timeout = setTimeout ( ( ) => {
if ( ! c2 ) {
c2 = true ;
callback2 ( "Fetching native frames took too long. Dropping frames." ) ;
}
} , 2000 ) ;
const NATIVE = callback ( table [ 0 ] ) . NATIVE ;
const nativeFrames = NATIVE . fetchNativeFrames ( ) ;
nativeFrames . then ( ( arg0 ) => {
if ( ! c2 ) {
const _clearTimeout = clearTimeout ;
clearTimeout ( closure _3 ) ;
c2 = true ;
if ( arg0 ) {
callback ( arg0 ) ;
} else {
callback2 ( "Native frames response is null." ) ;
}
}
} ) . then ( undefined , ( arg0 ) => {
if ( ! c2 ) {
const _clearTimeout = clearTimeout ;
clearTimeout ( closure _3 ) ;
c2 = true ;
callback2 ( arg0 ) ;
}
} ) ;
} ) ;
new Promise ( ( arg0 , arg1 ) => {
const callback = arg0 ;
const table = arg1 ;
2026-08-24 06:08:38 +00:00
c2 = false ;
2026-07-29 08:29:29 +00:00
const timeout = setTimeout ( ( ) => {
if ( ! c2 ) {
c2 = true ;
callback2 ( "Fetching native frames took too long. Dropping frames." ) ;
}
} , 2000 ) ;
const NATIVE = callback ( table [ 0 ] ) . NATIVE ;
const nativeFrames = NATIVE . fetchNativeFrames ( ) ;
nativeFrames . then ( ( arg0 ) => {
if ( ! c2 ) {
const _clearTimeout = clearTimeout ;
clearTimeout ( closure _3 ) ;
c2 = true ;
if ( arg0 ) {
callback ( arg0 ) ;
} else {
callback2 ( "Native frames response is null." ) ;
}
}
} ) . then ( undefined , ( arg0 ) => {
if ( ! c2 ) {
const _clearTimeout = clearTimeout ;
clearTimeout ( closure _3 ) ;
c2 = true ;
callback2 ( arg0 ) ;
}
} ) ;
} ) . then ( ( arg0 ) => callback ( arg0 ) ) . then ( undefined , ( arg0 ) => {
2026-08-24 06:08:38 +00:00
const debug = callback ( closure _1 _1 [ 2 ] ) . debug ;
debug . log ( "[" + closure _1 _3 + "] Error while fetching native frames." , arg0 ) ;
2026-07-29 08:29:29 +00:00
callback ( null ) ;
} ) ;
} ) ) ;
}
function fetchEndFramesForSpan ( arg0 ) {
2026-08-24 06:08:38 +00:00
closure _0 = arg0 ;
2026-07-29 08:29:29 +00:00
return asyncExpiringMap1 ( undefined , undefined , undefined , function * ( ) {
if ( c5 === 2 ) {
c5 = 3 ;
HermesBuiltin . throwTypeError ( ) ;
} else if ( tmp6 === 3 ) {
if ( arg0 === 1 ) {
throw arg1 ;
} else if ( arg0 === 2 ) {
let obj = { value : null , done : true } ;
obj [ 0 ] = arg1 ;
return obj ;
} else {
2026-08-24 06:08:38 +00:00
return { value : "HermesInternal" , done : null } ;
2026-07-29 08:29:29 +00:00
}
} else {
try {
c5 = 2 ;
if ( 0 === c4 ) {
if ( arg0 === 1 ) {
c5 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
c5 = 3 ;
obj = { value : null , done : true } ;
obj [ 0 ] = arg1 ;
return obj ;
} else {
let spanId = tmp3 ;
2026-08-24 06:08:38 +00:00
let obj5 = tmp7 ;
obj5 = undefined ;
2026-07-29 08:29:29 +00:00
spanId = undefined ;
2026-08-24 06:08:38 +00:00
c2 = undefined ;
c3 = undefined ;
2026-07-29 08:29:29 +00:00
c4 = undefined ;
c5 = undefined ;
2026-08-24 06:08:38 +00:00
closure _6 = undefined ;
obj5 = obj5 ( closure _2 _1 [ 2 ] ) . timestampInSeconds ( ) ;
spanId = obj5 . spanContext ( ) . spanId ;
if ( closure _1 _1 . has ( spanId ) ) {
let obj6 = obj5 ( closure _2 _1 [ 3 ] ) ;
if ( obj6 . isRootSpan ( obj5 ) ) {
const debug4 = obj5 ( closure _2 _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
const _HermesInternal4 = HermesInternal ;
2026-08-24 06:08:38 +00:00
debug4 . log ( "[" + closure _2 _3 + "] Fetch frames for root span end (" + spanId + ")." ) ;
2026-07-29 08:29:29 +00:00
let promise = new Promise ( ( arg0 ) => {
2026-08-24 06:08:38 +00:00
closure _0 = arg0 ;
2026-07-29 08:29:29 +00:00
const promise = new Promise ( ( arg0 , arg1 ) => {
const callback = arg0 ;
const table = arg1 ;
2026-08-24 06:08:38 +00:00
c2 = false ;
2026-07-29 08:29:29 +00:00
const timeout = setTimeout ( ( ) => { ... } , 2000 ) ;
const NATIVE = callback ( table [ 0 ] ) . NATIVE ;
const nativeFrames = NATIVE . fetchNativeFrames ( ) ;
nativeFrames . then ( ( ) => { ... } ) . then ( undefined , ( ) => { ... } ) ;
} ) ;
new Promise ( ( arg0 , arg1 ) => {
const callback = arg0 ;
const table = arg1 ;
2026-08-24 06:08:38 +00:00
c2 = false ;
2026-07-29 08:29:29 +00:00
const timeout = setTimeout ( ( ) => { ... } , 2000 ) ;
const NATIVE = callback ( table [ 0 ] ) . NATIVE ;
const nativeFrames = NATIVE . fetchNativeFrames ( ) ;
nativeFrames . then ( ( ) => { ... } ) . then ( undefined , ( ) => { ... } ) ;
} ) . then ( ( nativeFrames ) => {
callback ( { timestamp : callback , nativeFrames } ) ;
} ) . then ( undefined , ( arg0 ) => {
const debug = callback ( spanId [ 2 ] ) . debug ;
debug . log ( "[" + c3 + "] Error while fetching native frames." , arg0 ) ;
callback ( null ) ;
} ) ;
} ) ;
2026-08-24 06:08:38 +00:00
const result = closure _1 _2 . set ( spanId , promise ) ;
2026-07-29 08:29:29 +00:00
}
c3 = 1 ;
c4 = 2 ;
c5 = 1 ;
2026-08-24 06:08:38 +00:00
obj1 = { value : null , done : false } ;
2026-07-29 08:29:29 +00:00
obj1 [ 0 ] = obj12 . get ( spanId ) ;
return obj1 ;
}
2026-08-24 06:08:38 +00:00
const obj11 = obj5 ( closure _2 _1 [ 2 ] ) ;
obj12 = closure _1 _1 ;
2026-07-29 08:29:29 +00:00
}
} else {
if ( 1 === tmp7 ) {
c3 = 0 ;
2026-08-24 06:08:38 +00:00
closure _7 = c2 ;
const debug3 = obj5 ( closure _2 _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
const _HermesInternal3 = HermesInternal ;
2026-08-24 06:08:38 +00:00
debug3 . log ( "[" + closure _2 _3 + "] Error while capturing end frames for span " + closure _2 _1 + "." , closure _7 ) ;
2026-07-29 08:29:29 +00:00
} else if ( 2 === tmp7 ) {
if ( arg0 === 1 ) {
c5 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
c3 = 0 ;
c5 = 3 ;
const obj2 = { value : null , done : true } ;
obj2 [ 0 ] = arg1 ;
return obj2 ;
} else {
2026-08-24 06:08:38 +00:00
closure _2 = arg1 ;
if ( closure _2 ) {
2026-07-29 08:29:29 +00:00
c4 = 3 ;
c5 = 1 ;
const obj3 = { value : null , done : false } ;
2026-08-24 06:08:38 +00:00
obj3 [ 0 ] = closure _2 _5 ( ) ;
2026-07-29 08:29:29 +00:00
return obj3 ;
} else {
2026-08-24 06:08:38 +00:00
const debug2 = obj5 ( closure _2 _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
const _HermesInternal2 = HermesInternal ;
2026-08-24 06:08:38 +00:00
debug2 . log ( "[" + closure _2 _3 + "] No start frames found for span " + closure _2 _1 + ", skipping frame data." ) ;
2026-07-29 08:29:29 +00:00
c3 = 0 ;
c5 = 3 ;
const obj4 = { value : null , done : true } ;
obj4 [ 0 ] = undefined ;
return obj4 ;
}
}
} else if ( arg0 === 1 ) {
c5 = 3 ;
throw arg1 ;
} else if ( arg0 !== 2 ) {
c3 = arg1 ;
c4 = c3 . totalFrames - c2 . totalFrames ;
c5 = c3 . slowFrames - c2 . slowFrames ;
closure _6 = c3 . frozenFrames - c2 . frozenFrames ;
let tmp10 = c4 > 0 ;
if ( ! tmp10 ) {
tmp10 = c5 > 0 ;
}
if ( ! tmp10 ) {
tmp10 = closure _6 > 0 ;
}
if ( tmp10 ) {
2026-08-24 06:08:38 +00:00
const attr = obj5 . setAttribute ( "frames.total" , c4 ) ;
const attr1 = obj5 . setAttribute ( "frames.slow" , c5 ) ;
const attr2 = obj5 . setAttribute ( "frames.frozen" , closure _6 ) ;
let debug = obj5 ( closure _2 _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
const _HermesInternal = HermesInternal ;
2026-08-24 06:08:38 +00:00
debug . log ( "[" + closure _2 _3 + "] Attached frame data to span " + spanId + ": total=" + c4 + ", slow=" + c5 + ", frozen=" + closure _6 ) ;
2026-07-29 08:29:29 +00:00
}
2026-08-24 06:08:38 +00:00
obj = obj5 ( closure _2 _1 [ 3 ] ) ;
if ( ! obj . isRootSpan ( obj5 ) ) {
obj5 = { timestamp : null , nativeFrames : null } ;
obj5 [ 0 ] = obj5 ;
2026-07-29 08:29:29 +00:00
obj5 [ 1 ] = c3 ;
}
c3 = 0 ;
}
c3 = 0 ;
c5 = 3 ;
obj6 = { value : null , done : true } ;
obj6 [ 0 ] = arg1 ;
return obj6 ;
}
c5 = 3 ;
} catch ( tmp70 ) {
c2 = tmp70 ;
if ( tmp4 === c3 ) {
c5 = tmp2 ;
throw tmp70 ;
} else {
c4 = tmp ;
}
}
}
} ) ;
}
return {
name : fetchStartFramesForSpan ,
setup ( on ) {
if ( _null ( asyncExpiringMap [ 0 ] ) . NATIVE . enableNative ) {
const NATIVE = tmp ( tmp2 [ 0 ] ) . NATIVE ;
const result = NATIVE . enableNativeFramesTracking ( ) ;
on . on ( "spanStart" , fetchStartFramesForSpan ) ;
on . on ( "spanEnd" , fetchEndFramesForSpan ) ;
} else {
const debug = tmp ( tmp2 [ 2 ] ) . debug ;
const _HermesInternal = HermesInternal ;
debug . warn ( "[" + fetchStartFramesForSpan + "] This is not available on the Web, Expo Go and other platforms without native modules." ) ;
}
} ,
processEvent ( arg0 ) {
2026-08-24 06:08:38 +00:00
let measurements = arg0 ;
2026-07-29 08:29:29 +00:00
return asyncExpiringMap1 ( undefined , undefined , undefined , function * ( ) {
if ( c3 === 2 ) {
c3 = 3 ;
let throwTypeErrorResult = HermesBuiltin . throwTypeError ( ) ;
} else {
throwTypeErrorResult = arg1 ;
throwTypeErrorResult = arg0 ;
throwTypeErrorResult = tmp2 ;
if ( tmp3 === 3 ) {
if ( arg0 === 1 ) {
throw arg1 ;
} else if ( arg0 === 2 ) {
let obj = { value : null , done : true } ;
obj [ 0 ] = arg1 ;
return obj ;
} else {
2026-08-24 06:08:38 +00:00
return { value : "HermesInternal" , done : null } ;
2026-07-29 08:29:29 +00:00
}
} else {
try {
c3 = 2 ;
if ( 0 === arr ) {
if ( arg0 === 1 ) {
c3 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
c3 = 3 ;
obj = { value : null , done : true } ;
obj [ 0 ] = arg1 ;
return obj ;
} else {
let op = tmp4 ;
2026-08-24 06:08:38 +00:00
c0 = 0 ;
c0 = undefined ;
2026-07-29 08:29:29 +00:00
op = undefined ;
arr = undefined ;
c3 = undefined ;
2026-08-24 06:08:38 +00:00
c4 = undefined ;
2026-07-29 08:29:29 +00:00
let timestamp ;
2026-08-24 06:08:38 +00:00
c6 = undefined ;
throwTypeErrorResult = closure _1 _0 ;
if ( "transaction" === closure _1 _0 . type ) {
if ( closure _1 _0 . transaction ) {
if ( closure _1 _0 . contexts ) {
if ( closure _1 _0 . contexts . trace ) {
if ( closure _1 _0 . timestamp ) {
if ( closure _1 _0 . contexts . trace . span _id ) {
throwTypeErrorResult = closure _1 _0 ;
op = closure _1 _0 . contexts . trace . op ;
throwTypeErrorResult = closure _1 _0 ;
const span _id = closure _1 _0 . contexts . trace . span _id ;
2026-07-29 08:29:29 +00:00
arr = span _id ;
2026-08-24 06:08:38 +00:00
throwTypeErrorResult = closure _1 _1 ;
2026-07-29 08:29:29 +00:00
arr = 1 ;
c3 = 1 ;
2026-08-24 06:08:38 +00:00
obj1 = { value : null , done : false } ;
obj1 [ 0 ] = closure _1 _1 . pop ( span _id ) ;
2026-07-29 08:29:29 +00:00
return obj1 ;
}
}
}
}
}
}
c3 = 3 ;
const obj2 = { value : null , done : true } ;
2026-08-24 06:08:38 +00:00
obj2 [ 0 ] = closure _1 _0 ;
2026-07-29 08:29:29 +00:00
return obj2 ;
}
} else if ( 1 === tmp4 ) {
if ( arg0 === 1 ) {
c3 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
c3 = 3 ;
const obj3 = { value : null , done : true } ;
obj3 [ 0 ] = arg1 ;
return obj3 ;
} else {
2026-08-24 06:08:38 +00:00
throwTypeErrorResult = c0 ;
closure _3 = arg1 ;
throwTypeErrorResult = closure _3 ;
2026-07-29 08:29:29 +00:00
throwTypeErrorResult = op ;
2026-08-24 06:08:38 +00:00
if ( closure _3 ) {
2026-07-29 08:29:29 +00:00
arr = 2 ;
c3 = 1 ;
const obj4 = { value : null , done : false } ;
2026-08-24 06:08:38 +00:00
obj4 [ 0 ] = arr . pop ( closure _2 _2 ) ;
2026-07-29 08:29:29 +00:00
return obj4 ;
} else {
2026-08-24 06:08:38 +00:00
const debug6 = measurements ( closure _2 _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
const _HermesInternal6 = HermesInternal ;
2026-08-24 06:08:38 +00:00
debug6 . warn ( "[" + closure _3 + "] Start frames of transaction " + c0 . transaction + " (eventId, " + c0 . event _id + ") are missing, but the transaction already ended." ) ;
2026-07-29 08:29:29 +00:00
c3 = 3 ;
const obj5 = { value : null , done : true } ;
2026-08-24 06:08:38 +00:00
obj5 [ 0 ] = c0 ;
2026-07-29 08:29:29 +00:00
return obj5 ;
}
}
} else if ( arg0 === 1 ) {
c3 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
c3 = 3 ;
const obj6 = { value : null , done : true } ;
obj6 [ 0 ] = arg1 ;
return obj6 ;
} else {
2026-08-24 06:08:38 +00:00
throwTypeErrorResult = c0 ;
2026-07-29 08:29:29 +00:00
timestamp = arg1 ;
throwTypeErrorResult = timestamp ;
if ( timestamp ) {
2026-08-24 06:08:38 +00:00
if ( obj7 ( timestamp . timestamp , c0 . timestamp ) ) {
const debug3 = measurements ( closure _2 _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
const _HermesInternal3 = HermesInternal ;
2026-08-24 06:08:38 +00:00
debug3 . log ( "[" + closure _3 + "] Using frames from root span end (spanId, " + arr + ")." ) ;
let nativeFrames = closure _1 _5 . nativeFrames ;
2026-07-29 08:29:29 +00:00
}
2026-08-24 06:08:38 +00:00
obj7 = { frames _total : null , frames _frozen : null , frames _slow : null } ;
2026-07-29 08:29:29 +00:00
const obj8 = { value : null , unit : "none" } ;
2026-08-24 06:08:38 +00:00
obj8 [ 0 ] = closure _2 _4 . totalFrames - closure _3 . totalFrames ;
2026-07-29 08:29:29 +00:00
obj7 [ 0 ] = obj8 ;
const obj9 = { value : null , unit : "none" } ;
2026-08-24 06:08:38 +00:00
obj9 [ 0 ] = closure _2 _4 . frozenFrames - closure _3 . frozenFrames ;
2026-07-29 08:29:29 +00:00
obj7 [ 1 ] = obj9 ;
const obj10 = { value : null , unit : "none" } ;
2026-08-24 06:08:38 +00:00
obj10 [ 0 ] = closure _2 _4 . slowFrames - closure _3 . slowFrames ;
2026-07-29 08:29:29 +00:00
obj7 [ 2 ] = obj10 ;
2026-08-24 06:08:38 +00:00
if ( obj7 . frames _frozen . value <= 0 ) {
if ( obj7 . frames _slow . value <= 0 ) {
2026-07-29 08:29:29 +00:00
c3 = 3 ;
}
2026-08-24 06:08:38 +00:00
const debug5 = measurements ( closure _2 _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
const _HermesInternal5 = HermesInternal ;
2026-08-24 06:08:38 +00:00
debug5 . warn ( "[" + closure _3 + "] Detected zero slow or frozen frames. Not adding measurements to spanId (" + closure _2 _2 + ")." ) ;
2026-07-29 08:29:29 +00:00
}
2026-08-24 06:08:38 +00:00
const debug4 = measurements ( closure _2 _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
const _JSON = JSON ;
const _HermesInternal4 = HermesInternal ;
2026-08-24 06:08:38 +00:00
debug4 . log ( "[" + closure _3 + "] Adding measurements to " + closure _2 _1 + " transaction " + c0 . transaction + ": " + JSON . stringify ( obj7 , undefined , 2 ) ) ;
measurements = c0 . measurements ;
2026-07-29 08:29:29 +00:00
if ( null !== measurements ) {
2026-08-24 06:08:38 +00:00
if ( undefined !== measurements ) {
let obj11 = measurements ;
2026-07-29 08:29:29 +00:00
}
tmp64 . measurements = tmp66 ( tmp68 ( { } , obj11 ) , c6 ) ;
}
obj11 = { } ;
}
2026-08-24 06:08:38 +00:00
if ( closure _1 _0 ) {
if ( obj7 ( closure _1 _0 . timestamp , c0 . timestamp ) ) {
const debug2 = measurements ( closure _2 _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
const _HermesInternal2 = HermesInternal ;
2026-08-24 06:08:38 +00:00
debug2 . log ( "[" + closure _3 + "] Using native frames from last child span end (spanId, " + arr + ")." ) ;
nativeFrames = closure _1 _0 . nativeFrames ;
2026-07-29 08:29:29 +00:00
}
}
2026-08-24 06:08:38 +00:00
const debug = measurements ( closure _2 _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
const _HermesInternal = HermesInternal ;
2026-08-24 06:08:38 +00:00
debug . warn ( "[" + closure _3 + "] Frames were collected within larger than margin of error delay for spanId (" + arr + "). Dropping the inaccurate values." ) ;
2026-07-29 08:29:29 +00:00
c3 = 3 ;
obj = { value : null , done : true } ;
2026-08-24 06:08:38 +00:00
obj [ 0 ] = c0 ;
2026-07-29 08:29:29 +00:00
return obj ;
}
} catch ( throwTypeErrorResult ) {
c3 = throwTypeErrorResult ;
throw throwTypeErrorResult ;
}
}
}
} ) ;
}
} ;
}
arg5 . createNativeFramesIntegrations = ( arg0 ) => {
if ( ! arg0 ) {
if ( _require ( asyncExpiringMap [ 0 ] ) . NATIVE . enableNative ) {
let NATIVE = tmp ( tmp2 [ 0 ] ) . NATIVE ;
let result = NATIVE . disableNativeFramesTracking ( ) ;
}
tmp = _require ;
tmp2 = asyncExpiringMap ;
}
2026-08-04 21:03:28 +00:00
if ( typeof fetchEndFramesForSpan !== "function" ) {
2026-07-29 08:29:29 +00:00
HermesBuiltin . throwTypeError ( ) ;
}
_require = null ;
asyncExpiringMap = new _require ( asyncExpiringMap [ 1 ] ) . AsyncExpiringMap ( { ttl : 60000 } ) ;
const asyncExpiringMap1 = new _require ( asyncExpiringMap [ 1 ] ) . AsyncExpiringMap ( { ttl : 2000 } ) ;
function fetchStartFramesForSpan ( spanContext ) {
const spanId = spanContext . spanContext ( ) . spanId ;
let str = "child" ;
if ( obj . isRootSpan ( spanContext ) ) {
str = "root" ;
}
let debug = _null ( asyncExpiringMap [ 2 ] ) . debug ;
debug . log ( "[" + fetchStartFramesForSpan + "] Fetching frames for " + str + " span start (" + spanId + ")." ) ;
obj = _null ( asyncExpiringMap [ 3 ] ) ;
const tmp = _null ;
const tmp2 = asyncExpiringMap ;
const result = asyncExpiringMap . set ( spanId , new Promise ( ( arg0 ) => {
2026-08-24 06:08:38 +00:00
closure _0 = arg0 ;
2026-07-29 08:29:29 +00:00
const promise = new Promise ( ( arg0 , arg1 ) => {
const callback = arg0 ;
const table = arg1 ;
2026-08-24 06:08:38 +00:00
c2 = false ;
2026-07-29 08:29:29 +00:00
const timeout = setTimeout ( ( ) => {
if ( ! c2 ) {
c2 = true ;
callback2 ( "Fetching native frames took too long. Dropping frames." ) ;
}
} , 2000 ) ;
const NATIVE = callback ( table [ 0 ] ) . NATIVE ;
const nativeFrames = NATIVE . fetchNativeFrames ( ) ;
nativeFrames . then ( ( arg0 ) => {
if ( ! c2 ) {
const _clearTimeout = clearTimeout ;
clearTimeout ( closure _3 ) ;
c2 = true ;
if ( arg0 ) {
callback ( arg0 ) ;
} else {
callback2 ( "Native frames response is null." ) ;
}
}
} ) . then ( undefined , ( arg0 ) => {
if ( ! c2 ) {
const _clearTimeout = clearTimeout ;
clearTimeout ( closure _3 ) ;
c2 = true ;
callback2 ( arg0 ) ;
}
} ) ;
} ) ;
new Promise ( ( arg0 , arg1 ) => {
const callback = arg0 ;
const table = arg1 ;
2026-08-24 06:08:38 +00:00
c2 = false ;
2026-07-29 08:29:29 +00:00
const timeout = setTimeout ( ( ) => {
if ( ! c2 ) {
c2 = true ;
callback2 ( "Fetching native frames took too long. Dropping frames." ) ;
}
} , 2000 ) ;
const NATIVE = callback ( table [ 0 ] ) . NATIVE ;
const nativeFrames = NATIVE . fetchNativeFrames ( ) ;
nativeFrames . then ( ( arg0 ) => {
if ( ! c2 ) {
const _clearTimeout = clearTimeout ;
clearTimeout ( closure _3 ) ;
c2 = true ;
if ( arg0 ) {
callback ( arg0 ) ;
} else {
callback2 ( "Native frames response is null." ) ;
}
}
} ) . then ( undefined , ( arg0 ) => {
if ( ! c2 ) {
const _clearTimeout = clearTimeout ;
clearTimeout ( closure _3 ) ;
c2 = true ;
callback2 ( arg0 ) ;
}
} ) ;
} ) . then ( ( arg0 ) => callback ( arg0 ) ) . then ( undefined , ( arg0 ) => {
2026-08-24 06:08:38 +00:00
const debug = callback ( closure _1 _1 [ 2 ] ) . debug ;
debug . log ( "[" + closure _1 _3 + "] Error while fetching native frames." , arg0 ) ;
2026-07-29 08:29:29 +00:00
callback ( null ) ;
} ) ;
} ) ) ;
}
fetchEndFramesForSpan = function fetchEndFramesForSpan ( arg0 ) {
2026-08-24 06:08:38 +00:00
closure _0 = arg0 ;
2026-07-29 08:29:29 +00:00
return asyncExpiringMap1 ( undefined , undefined , undefined , function * ( ) {
if ( c5 === 2 ) {
c5 = 3 ;
HermesBuiltin . throwTypeError ( ) ;
} else if ( tmp6 === 3 ) {
if ( arg0 === 1 ) {
throw arg1 ;
} else if ( arg0 === 2 ) {
let obj = { value : null , done : true } ;
obj [ 0 ] = arg1 ;
return obj ;
} else {
2026-08-24 06:08:38 +00:00
return { value : "HermesInternal" , done : null } ;
2026-07-29 08:29:29 +00:00
}
} else {
try {
c5 = 2 ;
if ( 0 === c4 ) {
if ( arg0 === 1 ) {
c5 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
c5 = 3 ;
obj = { value : null , done : true } ;
obj [ 0 ] = arg1 ;
return obj ;
} else {
let spanId = tmp3 ;
2026-08-24 06:08:38 +00:00
let obj5 = tmp7 ;
obj5 = undefined ;
2026-07-29 08:29:29 +00:00
spanId = undefined ;
2026-08-24 06:08:38 +00:00
c2 = undefined ;
c3 = undefined ;
2026-07-29 08:29:29 +00:00
c4 = undefined ;
c5 = undefined ;
2026-08-24 06:08:38 +00:00
closure _6 = undefined ;
obj5 = obj5 ( closure _2 _1 [ 2 ] ) . timestampInSeconds ( ) ;
spanId = obj5 . spanContext ( ) . spanId ;
if ( closure _1 _1 . has ( spanId ) ) {
let obj6 = obj5 ( closure _2 _1 [ 3 ] ) ;
if ( obj6 . isRootSpan ( obj5 ) ) {
const debug4 = obj5 ( closure _2 _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
const _HermesInternal4 = HermesInternal ;
2026-08-24 06:08:38 +00:00
debug4 . log ( "[" + closure _2 _3 + "] Fetch frames for root span end (" + spanId + ")." ) ;
2026-07-29 08:29:29 +00:00
let promise = new Promise ( ( arg0 ) => {
2026-08-24 06:08:38 +00:00
closure _0 = arg0 ;
2026-07-29 08:29:29 +00:00
const promise = new Promise ( ( arg0 , arg1 ) => {
const callback = arg0 ;
const table = arg1 ;
2026-08-24 06:08:38 +00:00
c2 = false ;
2026-07-29 08:29:29 +00:00
const timeout = setTimeout ( ( ) => { ... } , 2000 ) ;
const NATIVE = callback ( table [ 0 ] ) . NATIVE ;
const nativeFrames = NATIVE . fetchNativeFrames ( ) ;
nativeFrames . then ( ( ) => { ... } ) . then ( undefined , ( ) => { ... } ) ;
} ) ;
new Promise ( ( arg0 , arg1 ) => {
const callback = arg0 ;
const table = arg1 ;
2026-08-24 06:08:38 +00:00
c2 = false ;
2026-07-29 08:29:29 +00:00
const timeout = setTimeout ( ( ) => { ... } , 2000 ) ;
const NATIVE = callback ( table [ 0 ] ) . NATIVE ;
const nativeFrames = NATIVE . fetchNativeFrames ( ) ;
nativeFrames . then ( ( ) => { ... } ) . then ( undefined , ( ) => { ... } ) ;
} ) . then ( ( nativeFrames ) => {
callback ( { timestamp : callback , nativeFrames } ) ;
} ) . then ( undefined , ( arg0 ) => {
const debug = callback ( spanId [ 2 ] ) . debug ;
debug . log ( "[" + c3 + "] Error while fetching native frames." , arg0 ) ;
callback ( null ) ;
} ) ;
} ) ;
2026-08-24 06:08:38 +00:00
const result = closure _1 _2 . set ( spanId , promise ) ;
2026-07-29 08:29:29 +00:00
}
c3 = 1 ;
c4 = 2 ;
c5 = 1 ;
2026-08-24 06:08:38 +00:00
obj1 = { value : null , done : false } ;
2026-07-29 08:29:29 +00:00
obj1 [ 0 ] = obj12 . get ( spanId ) ;
return obj1 ;
}
2026-08-24 06:08:38 +00:00
const obj11 = obj5 ( closure _2 _1 [ 2 ] ) ;
obj12 = closure _1 _1 ;
2026-07-29 08:29:29 +00:00
}
} else {
if ( 1 === tmp7 ) {
c3 = 0 ;
2026-08-24 06:08:38 +00:00
closure _7 = c2 ;
const debug3 = obj5 ( closure _2 _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
const _HermesInternal3 = HermesInternal ;
2026-08-24 06:08:38 +00:00
debug3 . log ( "[" + closure _2 _3 + "] Error while capturing end frames for span " + closure _2 _1 + "." , closure _7 ) ;
2026-07-29 08:29:29 +00:00
} else if ( 2 === tmp7 ) {
if ( arg0 === 1 ) {
c5 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
c3 = 0 ;
c5 = 3 ;
const obj2 = { value : null , done : true } ;
obj2 [ 0 ] = arg1 ;
return obj2 ;
} else {
2026-08-24 06:08:38 +00:00
closure _2 = arg1 ;
if ( closure _2 ) {
2026-07-29 08:29:29 +00:00
c4 = 3 ;
c5 = 1 ;
const obj3 = { value : null , done : false } ;
2026-08-24 06:08:38 +00:00
obj3 [ 0 ] = closure _2 _5 ( ) ;
2026-07-29 08:29:29 +00:00
return obj3 ;
} else {
2026-08-24 06:08:38 +00:00
const debug2 = obj5 ( closure _2 _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
const _HermesInternal2 = HermesInternal ;
2026-08-24 06:08:38 +00:00
debug2 . log ( "[" + closure _2 _3 + "] No start frames found for span " + closure _2 _1 + ", skipping frame data." ) ;
2026-07-29 08:29:29 +00:00
c3 = 0 ;
c5 = 3 ;
const obj4 = { value : null , done : true } ;
obj4 [ 0 ] = undefined ;
return obj4 ;
}
}
} else if ( arg0 === 1 ) {
c5 = 3 ;
throw arg1 ;
} else if ( arg0 !== 2 ) {
c3 = arg1 ;
c4 = c3 . totalFrames - c2 . totalFrames ;
c5 = c3 . slowFrames - c2 . slowFrames ;
closure _6 = c3 . frozenFrames - c2 . frozenFrames ;
let tmp10 = c4 > 0 ;
if ( ! tmp10 ) {
tmp10 = c5 > 0 ;
}
if ( ! tmp10 ) {
tmp10 = closure _6 > 0 ;
}
if ( tmp10 ) {
2026-08-24 06:08:38 +00:00
const attr = obj5 . setAttribute ( "frames.total" , c4 ) ;
const attr1 = obj5 . setAttribute ( "frames.slow" , c5 ) ;
const attr2 = obj5 . setAttribute ( "frames.frozen" , closure _6 ) ;
let debug = obj5 ( closure _2 _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
const _HermesInternal = HermesInternal ;
2026-08-24 06:08:38 +00:00
debug . log ( "[" + closure _2 _3 + "] Attached frame data to span " + spanId + ": total=" + c4 + ", slow=" + c5 + ", frozen=" + closure _6 ) ;
2026-07-29 08:29:29 +00:00
}
2026-08-24 06:08:38 +00:00
obj = obj5 ( closure _2 _1 [ 3 ] ) ;
if ( ! obj . isRootSpan ( obj5 ) ) {
obj5 = { timestamp : null , nativeFrames : null } ;
obj5 [ 0 ] = obj5 ;
2026-07-29 08:29:29 +00:00
obj5 [ 1 ] = c3 ;
}
c3 = 0 ;
}
c3 = 0 ;
c5 = 3 ;
obj6 = { value : null , done : true } ;
obj6 [ 0 ] = arg1 ;
return obj6 ;
}
c5 = 3 ;
} catch ( tmp70 ) {
c2 = tmp70 ;
if ( tmp4 === c3 ) {
c5 = tmp2 ;
throw tmp70 ;
} else {
c4 = tmp ;
}
}
}
} ) ;
} ;
return {
name : fetchStartFramesForSpan ,
setup ( on ) {
if ( _null ( asyncExpiringMap [ 0 ] ) . NATIVE . enableNative ) {
const NATIVE = tmp ( tmp2 [ 0 ] ) . NATIVE ;
const result = NATIVE . enableNativeFramesTracking ( ) ;
on . on ( "spanStart" , fetchStartFramesForSpan ) ;
on . on ( "spanEnd" , fetchEndFramesForSpan ) ;
} else {
const debug = tmp ( tmp2 [ 2 ] ) . debug ;
const _HermesInternal = HermesInternal ;
debug . warn ( "[" + fetchStartFramesForSpan + "] This is not available on the Web, Expo Go and other platforms without native modules." ) ;
}
} ,
processEvent ( arg0 ) {
2026-08-24 06:08:38 +00:00
let measurements = arg0 ;
2026-07-29 08:29:29 +00:00
return asyncExpiringMap1 ( undefined , undefined , undefined , function * ( ) {
if ( c3 === 2 ) {
c3 = 3 ;
let throwTypeErrorResult = HermesBuiltin . throwTypeError ( ) ;
} else {
throwTypeErrorResult = arg1 ;
throwTypeErrorResult = arg0 ;
throwTypeErrorResult = tmp2 ;
if ( tmp3 === 3 ) {
if ( arg0 === 1 ) {
throw arg1 ;
} else if ( arg0 === 2 ) {
let obj = { value : null , done : true } ;
obj [ 0 ] = arg1 ;
return obj ;
} else {
2026-08-24 06:08:38 +00:00
return { value : "HermesInternal" , done : null } ;
2026-07-29 08:29:29 +00:00
}
} else {
try {
c3 = 2 ;
if ( 0 === arr ) {
if ( arg0 === 1 ) {
c3 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
c3 = 3 ;
obj = { value : null , done : true } ;
obj [ 0 ] = arg1 ;
return obj ;
} else {
let op = tmp4 ;
2026-08-24 06:08:38 +00:00
c0 = 0 ;
c0 = undefined ;
2026-07-29 08:29:29 +00:00
op = undefined ;
arr = undefined ;
c3 = undefined ;
2026-08-24 06:08:38 +00:00
c4 = undefined ;
2026-07-29 08:29:29 +00:00
let timestamp ;
2026-08-24 06:08:38 +00:00
c6 = undefined ;
throwTypeErrorResult = closure _1 _0 ;
if ( "transaction" === closure _1 _0 . type ) {
if ( closure _1 _0 . transaction ) {
if ( closure _1 _0 . contexts ) {
if ( closure _1 _0 . contexts . trace ) {
if ( closure _1 _0 . timestamp ) {
if ( closure _1 _0 . contexts . trace . span _id ) {
throwTypeErrorResult = closure _1 _0 ;
op = closure _1 _0 . contexts . trace . op ;
throwTypeErrorResult = closure _1 _0 ;
const span _id = closure _1 _0 . contexts . trace . span _id ;
2026-07-29 08:29:29 +00:00
arr = span _id ;
2026-08-24 06:08:38 +00:00
throwTypeErrorResult = closure _1 _1 ;
2026-07-29 08:29:29 +00:00
arr = 1 ;
c3 = 1 ;
2026-08-24 06:08:38 +00:00
obj1 = { value : null , done : false } ;
obj1 [ 0 ] = closure _1 _1 . pop ( span _id ) ;
2026-07-29 08:29:29 +00:00
return obj1 ;
}
}
}
}
}
}
c3 = 3 ;
const obj2 = { value : null , done : true } ;
2026-08-24 06:08:38 +00:00
obj2 [ 0 ] = closure _1 _0 ;
2026-07-29 08:29:29 +00:00
return obj2 ;
}
} else if ( 1 === tmp4 ) {
if ( arg0 === 1 ) {
c3 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
c3 = 3 ;
const obj3 = { value : null , done : true } ;
obj3 [ 0 ] = arg1 ;
return obj3 ;
} else {
2026-08-24 06:08:38 +00:00
throwTypeErrorResult = c0 ;
closure _3 = arg1 ;
throwTypeErrorResult = closure _3 ;
2026-07-29 08:29:29 +00:00
throwTypeErrorResult = op ;
2026-08-24 06:08:38 +00:00
if ( closure _3 ) {
2026-07-29 08:29:29 +00:00
arr = 2 ;
c3 = 1 ;
const obj4 = { value : null , done : false } ;
2026-08-24 06:08:38 +00:00
obj4 [ 0 ] = arr . pop ( closure _2 _2 ) ;
2026-07-29 08:29:29 +00:00
return obj4 ;
} else {
2026-08-24 06:08:38 +00:00
const debug6 = measurements ( closure _2 _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
const _HermesInternal6 = HermesInternal ;
2026-08-24 06:08:38 +00:00
debug6 . warn ( "[" + closure _3 + "] Start frames of transaction " + c0 . transaction + " (eventId, " + c0 . event _id + ") are missing, but the transaction already ended." ) ;
2026-07-29 08:29:29 +00:00
c3 = 3 ;
const obj5 = { value : null , done : true } ;
2026-08-24 06:08:38 +00:00
obj5 [ 0 ] = c0 ;
2026-07-29 08:29:29 +00:00
return obj5 ;
}
}
} else if ( arg0 === 1 ) {
c3 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
c3 = 3 ;
const obj6 = { value : null , done : true } ;
obj6 [ 0 ] = arg1 ;
return obj6 ;
} else {
2026-08-24 06:08:38 +00:00
throwTypeErrorResult = c0 ;
2026-07-29 08:29:29 +00:00
timestamp = arg1 ;
throwTypeErrorResult = timestamp ;
if ( timestamp ) {
2026-08-24 06:08:38 +00:00
if ( obj7 ( timestamp . timestamp , c0 . timestamp ) ) {
const debug3 = measurements ( closure _2 _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
const _HermesInternal3 = HermesInternal ;
2026-08-24 06:08:38 +00:00
debug3 . log ( "[" + closure _3 + "] Using frames from root span end (spanId, " + arr + ")." ) ;
let nativeFrames = closure _1 _5 . nativeFrames ;
2026-07-29 08:29:29 +00:00
}
2026-08-24 06:08:38 +00:00
obj7 = { frames _total : null , frames _frozen : null , frames _slow : null } ;
2026-07-29 08:29:29 +00:00
const obj8 = { value : null , unit : "none" } ;
2026-08-24 06:08:38 +00:00
obj8 [ 0 ] = closure _2 _4 . totalFrames - closure _3 . totalFrames ;
2026-07-29 08:29:29 +00:00
obj7 [ 0 ] = obj8 ;
const obj9 = { value : null , unit : "none" } ;
2026-08-24 06:08:38 +00:00
obj9 [ 0 ] = closure _2 _4 . frozenFrames - closure _3 . frozenFrames ;
2026-07-29 08:29:29 +00:00
obj7 [ 1 ] = obj9 ;
const obj10 = { value : null , unit : "none" } ;
2026-08-24 06:08:38 +00:00
obj10 [ 0 ] = closure _2 _4 . slowFrames - closure _3 . slowFrames ;
2026-07-29 08:29:29 +00:00
obj7 [ 2 ] = obj10 ;
2026-08-24 06:08:38 +00:00
if ( obj7 . frames _frozen . value <= 0 ) {
if ( obj7 . frames _slow . value <= 0 ) {
2026-07-29 08:29:29 +00:00
c3 = 3 ;
}
2026-08-24 06:08:38 +00:00
const debug5 = measurements ( closure _2 _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
const _HermesInternal5 = HermesInternal ;
2026-08-24 06:08:38 +00:00
debug5 . warn ( "[" + closure _3 + "] Detected zero slow or frozen frames. Not adding measurements to spanId (" + closure _2 _2 + ")." ) ;
2026-07-29 08:29:29 +00:00
}
2026-08-24 06:08:38 +00:00
const debug4 = measurements ( closure _2 _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
const _JSON = JSON ;
const _HermesInternal4 = HermesInternal ;
2026-08-24 06:08:38 +00:00
debug4 . log ( "[" + closure _3 + "] Adding measurements to " + closure _2 _1 + " transaction " + c0 . transaction + ": " + JSON . stringify ( obj7 , undefined , 2 ) ) ;
measurements = c0 . measurements ;
2026-07-29 08:29:29 +00:00
if ( null !== measurements ) {
2026-08-24 06:08:38 +00:00
if ( undefined !== measurements ) {
let obj11 = measurements ;
2026-07-29 08:29:29 +00:00
}
tmp64 . measurements = tmp66 ( tmp68 ( { } , obj11 ) , c6 ) ;
}
obj11 = { } ;
}
2026-08-24 06:08:38 +00:00
if ( closure _1 _0 ) {
if ( obj7 ( closure _1 _0 . timestamp , c0 . timestamp ) ) {
const debug2 = measurements ( closure _2 _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
const _HermesInternal2 = HermesInternal ;
2026-08-24 06:08:38 +00:00
debug2 . log ( "[" + closure _3 + "] Using native frames from last child span end (spanId, " + arr + ")." ) ;
nativeFrames = closure _1 _0 . nativeFrames ;
2026-07-29 08:29:29 +00:00
}
}
2026-08-24 06:08:38 +00:00
const debug = measurements ( closure _2 _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
const _HermesInternal = HermesInternal ;
2026-08-24 06:08:38 +00:00
debug . warn ( "[" + closure _3 + "] Frames were collected within larger than margin of error delay for spanId (" + arr + "). Dropping the inaccurate values." ) ;
2026-07-29 08:29:29 +00:00
c3 = 3 ;
obj = { value : null , done : true } ;
2026-08-24 06:08:38 +00:00
obj [ 0 ] = c0 ;
2026-07-29 08:29:29 +00:00
return obj ;
}
} catch ( throwTypeErrorResult ) {
c3 = throwTypeErrorResult ;
throw throwTypeErrorResult ;
}
}
}
} ) ;
}
} ;
} ;
arg5 . nativeFramesIntegration = nativeFramesIntegration ;