browserstack-node-sdk 1.34.54 → 1.34.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  60. package/src/bin/jest/jest.setup.js +1 -1
  61. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  62. package/src/bin/jest/test-observability/helper.js +1 -1
  63. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  64. package/src/bin/jest/test-observability/test-details.js +1 -1
  65. package/src/bin/jest/test_before.setup.js +1 -1
  66. package/src/bin/launcher/launcher.js +1 -1
  67. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  68. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  69. package/src/bin/mocha/command.js +1 -1
  70. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  71. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  72. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  73. package/src/bin/mocha/test.setup.js +1 -1
  74. package/src/bin/nightwatch/command.js +1 -1
  75. package/src/bin/playwright/accessibility-helper.js +1 -1
  76. package/src/bin/playwright/command.js +1 -1
  77. package/src/bin/playwright/globalSetup.js +1 -1
  78. package/src/bin/playwright/mock-process.js +1 -1
  79. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  80. package/src/bin/playwright/patches.js +1 -1
  81. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  82. package/src/bin/playwright/reporter/reporter.js +1 -1
  83. package/src/bin/playwright/reporter/test-details.js +1 -1
  84. package/src/bin/playwright/sessionDetails.js +1 -1
  85. package/src/bin/runner.js +1 -1
  86. package/src/bin/setup.js +1 -1
  87. package/src/bin/test-runner/index.js +1 -1
  88. package/src/bin/test-runner/runTest.js +1 -1
  89. package/src/bin/test-runner/testWorker.js +1 -1
  90. package/src/bin/utils/constants.js +1 -1
  91. package/src/bin/utils/log4jsAppender.js +1 -1
  92. package/src/bin/utils/logPatcher.js +1 -1
  93. package/src/bin/utils/logReportingAPI.js +1 -1
  94. package/src/bin/vanilla-js/command.js +1 -1
  95. package/src/browserStackSdk.js +1 -1
  96. package/src/helpers/BrowserStackSetup.js +1 -1
  97. package/src/helpers/accessibility-automation/constants.js +1 -1
  98. package/src/helpers/accessibility-automation/helper.js +1 -1
  99. package/src/helpers/accessibility-automation/scripts.js +1 -1
  100. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  101. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  102. package/src/helpers/ats/constants.js +1 -1
  103. package/src/helpers/ats/helper.js +1 -1
  104. package/src/helpers/capsMapping.js +1 -1
  105. package/src/helpers/central-scanner/constants.js +1 -1
  106. package/src/helpers/central-scanner/helpers.js +1 -1
  107. package/src/helpers/globals.js +1 -1
  108. package/src/helpers/helper.js +1 -1
  109. package/src/helpers/logger.js +1 -1
  110. package/src/helpers/metadata.js +1 -1
  111. package/src/helpers/patchHelper.js +1 -1
  112. package/src/helpers/patchHelpers.js +1 -1
  113. package/src/helpers/percy/Percy.js +1 -1
  114. package/src/helpers/percy/PercyBinary.js +1 -1
  115. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  116. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  117. package/src/helpers/percy/PercySDK.js +1 -1
  118. package/src/helpers/percy/index.js +1 -1
  119. package/src/helpers/percy/utils.js +1 -1
  120. package/src/helpers/performance/constants.js +1 -1
  121. package/src/helpers/performance/performance-tester.js +1 -1
  122. package/src/helpers/processHelper.js +1 -1
  123. package/src/helpers/request-spy.js +1 -1
  124. package/src/helpers/setKeepAlive.js +1 -1
  125. package/src/helpers/test-observability/constants.js +1 -1
  126. package/src/helpers/test-observability/error-handler.js +1 -1
  127. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  128. package/src/helpers/test-observability/sessionHandler.js +1 -1
  129. package/src/helpers/test-observability/utils.js +1 -1
  130. package/src/helpers/testhub/constants.js +1 -1
  131. package/src/helpers/testhub/testhubHandler.js +1 -1
  132. package/src/helpers/testhub/utils.js +1 -1
  133. package/src/helpers/timeoutPromise.js +1 -1
  134. package/src/helpers/utilities.js +1 -1
  135. package/src/helpers/w3cMapping.js +1 -1
  136. package/src/hubAllocationMethods.js +1 -1
  137. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a80_0x51eb27=a80_0x2ecb;(function(_0x187341,_0x259b7a){const _0x502cbb=a80_0x2ecb,_0x904e6a=_0x187341();while(!![]){try{const _0x37cc4f=parseInt(_0x502cbb(0x11c))/0x1+parseInt(_0x502cbb(0x101))/0x2+-parseInt(_0x502cbb(0x122))/0x3*(parseInt(_0x502cbb(0x12d))/0x4)+-parseInt(_0x502cbb(0xa8))/0x5+parseInt(_0x502cbb(0xca))/0x6*(-parseInt(_0x502cbb(0xbf))/0x7)+-parseInt(_0x502cbb(0x10c))/0x8*(parseInt(_0x502cbb(0xbc))/0x9)+parseInt(_0x502cbb(0xf5))/0xa;if(_0x37cc4f===_0x259b7a)break;else _0x904e6a['push'](_0x904e6a['shift']());}catch(_0x3249cb){_0x904e6a['push'](_0x904e6a['shift']());}}}(a80_0x7880,0x3d9a6));const fs=require('fs'),fsPromise=require('fs/promises'),{performance,PerformanceObserver}=require(a80_0x51eb27(0xff)),path=require(a80_0x51eb27(0xcc)),util=require(a80_0x51eb27(0xc4)),logger=require(a80_0x51eb27(0xa3))[a80_0x51eb27(0xc0)],{getProcessId,sleep,debug,getTestName}=require(a80_0x51eb27(0x139));function a80_0x7880(){const _0x4172bc=['code','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','measureWrapper','2295325NAZrKO','RVHZw','forEach','jsonReportFileName','match','jsonReportDirName','/performance-report-','IKBqt','calculateTimesFromMultipleFiles','env','xZFKP','toString','GUzNk','getCleanedPerfEvents','concat','generateJSON','worker','bjCBg','hAfcd','IiFAT','3087UhCbSt','function','readFileSync','342629OPjzqw','winstonLogger','jsonReportDirPath','performance-own.html','resolve','util','Error\x20in\x20writing\x20html\x20','-end','measures','disconnect','slice','42eCtKtF','measure','path','testName','Performance\x20report\x20is\x20at\x20','Error\x20while\x20removing\x20files:\x20','_observer','_measureEvents','browserStackCwd','utf-8','meta','BROWSERSTACK_SDK_INSTRUMENTATION','join','NXoqm','start','mStxD','length','message','IiVOC','pushErrors','reduce','uGNel','YyvdS','readdir','name','assign','dNaNq','qRlfO','zJaVu','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','Prwhf','toJSON','flat','apply','nSZuH','Error\x20in\x20doing\x20csv\x20operations:\x20','</td><td>','ItRgh','stack','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','readdirSync','<tr><td>','writeFileSync','9998510FHSmPY','error-report','/error-report-','uwlyv','pushPerfMeasures','started','MWQVL','getPerformance','duration','nHGRx','perf_hooks','finalizeErrors','819360zYVxQJ','KaDaa','.json','parse','errorReportDirName','NEAkZ','appendFileSync','ZwOGq','VRQaj','map','APNdR','2408zhDfMA','writeFile','-start','stringify','CDKwq','cwd','details','__platformCaps','generateHTMLReport','startMonitoring','success','unlinkSync','calculateTimeFromEvents','</td></tr>','oOkrA','format','11230HuQDDl','entryType','finalizePerfMeasures','_events','isEnabled','_errorEvents','3MUfMTr','existsSync','stopMonitoring','stopAndGenerate','finalize','readFile','eKtTX','<h1>Performance\x20Report</h1>','ztbIo','index','cAZld','1053992WOfuLj','</tbody></table></body></html>','push','JTCAF','buffered','getEntries','end','CKnzY','errorFile','eventsMap','errorReportFileName','Time\x20for\x20','../processHelper','HflLV','getEventsFromJSON','debug','mark','platform','all','dsTBo','../logger','log'];a80_0x7880=function(){return _0x4172bc;};return a80_0x7880();}class PerformanceTester{static [a80_0x51eb27(0xd0)];static ['_events']=[];static ['_measureEvents']=[];static [a80_0x51eb27(0x121)]=[];static [a80_0x51eb27(0xfa)]=![];static [a80_0x51eb27(0xad)]='performance-report';static ['jsonReportDirPath']=process[a80_0x51eb27(0xb1)][a80_0x51eb27(0xd2)]?path['join'](process[a80_0x51eb27(0xb1)][a80_0x51eb27(0xd2)],this[a80_0x51eb27(0xad)]):path['join'](process[a80_0x51eb27(0x111)](),a80_0x51eb27(0xa4),this[a80_0x51eb27(0xad)]);static [a80_0x51eb27(0x105)]=process[a80_0x51eb27(0xb1)][a80_0x51eb27(0xd2)]?path[a80_0x51eb27(0xd6)](process[a80_0x51eb27(0xb1)]['browserStackCwd'],a80_0x51eb27(0xf6)):path[a80_0x51eb27(0xd6)](process[a80_0x51eb27(0x111)](),a80_0x51eb27(0xf6));static [a80_0x51eb27(0xab)]=this['jsonReportDirPath']+a80_0x51eb27(0xae)+getProcessId()+a80_0x51eb27(0x103);static [a80_0x51eb27(0x137)]=this[a80_0x51eb27(0x105)]+'/error-report-'+getProcessId()+a80_0x51eb27(0x103);static [a80_0x51eb27(0x112)]={};static ['eventsMap']={};static[a80_0x51eb27(0x115)](_0x32904d=this[a80_0x51eb27(0xc1)]+a80_0x51eb27(0xae)+getProcessId()+a80_0x51eb27(0x103),_0x43edce=this[a80_0x51eb27(0x105)]+a80_0x51eb27(0xf7)+getProcessId()+a80_0x51eb27(0x103)){const _0x35b85d=a80_0x51eb27,_0x2c54ca={};_0x2c54ca['bjCBg']=function(_0x1005bd,_0x2bdeb2){return _0x1005bd===_0x2bdeb2;},_0x2c54ca[_0x35b85d(0xa2)]=_0x35b85d(0xcb),_0x2c54ca[_0x35b85d(0xa9)]=function(_0x2b1e84,_0x361693){return _0x2b1e84+_0x361693;},_0x2c54ca['GUzNk']=_0x35b85d(0xf1),_0x2c54ca[_0x35b85d(0xe5)]=_0x35b85d(0xbd);const _0x4644b2=_0x2c54ca;try{!fs[_0x35b85d(0x123)](this[_0x35b85d(0xc1)])&&fs['mkdirSync'](this[_0x35b85d(0xc1)]);}catch(_0x14d11c){logger['debug'](_0x4644b2[_0x35b85d(0xa9)](_0x4644b2[_0x35b85d(0xb4)],_0x14d11c));}if(this[_0x35b85d(0xfa)]||!this['isEnabled']())return;this['_observer']=new PerformanceObserver(_0x2b1641=>{const _0x1a7205=_0x35b85d;_0x2b1641[_0x1a7205(0x132)]()[_0x1a7205(0xaa)](_0xaadadb=>{const _0x56d1d0=_0x1a7205;if(_0x4644b2[_0x56d1d0(0xb9)](_0xaadadb[_0x56d1d0(0x11d)],_0x4644b2[_0x56d1d0(0xa2)])){let _0x56ff39={};if(_0xaadadb[_0x56d1d0(0xe9)])_0x56ff39=_0xaadadb['toJSON']();else for(const _0x3e22be in _0xaadadb){_0x56ff39[_0x3e22be]=_0xaadadb[_0x3e22be];}this[_0x56d1d0(0x112)][_0xaadadb[_0x56d1d0(0xe2)]]&&(_0x56ff39=Object[_0x56d1d0(0xe3)](_0x56ff39,this['details'][_0xaadadb[_0x56d1d0(0xe2)]])),delete this[_0x56d1d0(0x112)][_0xaadadb['name']],this[_0x56d1d0(0xd1)][_0x56d1d0(0x12f)](_0x56ff39);}else this[_0x56d1d0(0x11f)][_0x56d1d0(0x12f)](_0xaadadb);});});const _0xb4d13f={};_0xb4d13f[_0x35b85d(0x131)]=!![],_0xb4d13f['entryTypes']=[_0x4644b2[_0x35b85d(0xe5)],_0x4644b2[_0x35b85d(0xa2)]],this[_0x35b85d(0xd0)]['observe'](_0xb4d13f),this['started']=!![],this[_0x35b85d(0xab)]=_0x32904d,this[_0x35b85d(0x137)]=_0x43edce;}static[a80_0x51eb27(0xfc)](){return performance;}static['calculateTimeFromEvents'](_0x388385,_0x4bacf7){const _0x3a3815=a80_0x51eb27,_0x4a5ada={};_0x4a5ada[_0x3a3815(0x108)]=function(_0x4c6fd0,_0x11821f){return _0x4c6fd0+_0x11821f;},_0x4a5ada['opYdm']=function(_0x34aa1f,_0x169ee9){return _0x34aa1f||_0x169ee9;},_0x4a5ada[_0x3a3815(0x13a)]=function(_0x1c5197,_0x533ae0){return _0x1c5197===_0x533ae0;};const _0x4bcb19=_0x4a5ada,_0x60dc2b={};if(!_0x388385||_0x4bcb19['HflLV'](_0x388385[_0x3a3815(0xda)],0x0))return;_0x388385[_0x3a3815(0x10a)](_0x52ad4d=>{const _0x3ff436=_0x3a3815;!_0x60dc2b[_0x52ad4d[_0x3ff436(0xe2)]]&&(_0x60dc2b[_0x52ad4d[_0x3ff436(0xe2)]]=0x0),_0x60dc2b[_0x52ad4d['name']]+=_0x52ad4d['duration'];});const _0x529a0c=_0x4bacf7[_0x3a3815(0xde)]((_0x5c57be,_0x272986)=>{const _0x177c17=_0x3a3815;return _0x4bcb19[_0x177c17(0x108)](_0x60dc2b[_0x272986],_0x4bcb19['opYdm'](_0x5c57be,0x0));},0x0);return _0x529a0c;}static async[a80_0x51eb27(0xb0)](_0x2785d1,_0x31ee32){const _0x437223=a80_0x51eb27,_0x29ce41={'YyvdS':function(_0x467b76,_0x4483c4){return _0x467b76+_0x4483c4;},'CKnzY':function(_0x5c74b2,_0x595e41){return _0x5c74b2||_0x595e41;},'oOkrA':function(_0x2419df,_0x4b289c){return _0x2419df===_0x4b289c;},'APNdR':function(_0x2474b1,_0x40985f){return _0x2474b1(_0x40985f);},'zJaVu':function(_0x23672d,_0x41bfc8){return _0x23672d(_0x41bfc8);}};if(!_0x2785d1||_0x29ce41[_0x437223(0x11a)](_0x2785d1[_0x437223(0xda)],0x0))return 0x0;const _0x2c7042=[];for(const _0x391c1a of _0x2785d1){const _0x413ebb=path['join']('.',_0x391c1a);try{const _0x228692=this[_0x437223(0x9d)](_0x413ebb);_0x228692['map'](_0x323203=>{const _0x151c9a=_0x437223;!_0x2c7042[_0x323203[_0x151c9a(0xe2)]]&&(_0x2c7042[_0x323203['name']]=0x0),_0x2c7042[_0x323203['name']]+=_0x323203[_0x151c9a(0xfd)];});}catch(_0x49d100){_0x29ce41[_0x437223(0x10b)](debug,_0x437223(0xed)+_0x49d100[_0x437223(0xb3)]());}}const _0x382f01=_0x31ee32['reduce']((_0x11a332,_0x5f21b0)=>{const _0x3bb13c=_0x437223;return _0x29ce41[_0x3bb13c(0xe0)](_0x2c7042[_0x5f21b0],_0x29ce41[_0x3bb13c(0x134)](_0x11a332,0x0));},0x0);return _0x29ce41[_0x437223(0xe6)](debug,_0x437223(0x138)+_0x31ee32+'\x20for\x20all\x20processes\x20is\x20'+_0x382f01),_0x382f01;}static[a80_0x51eb27(0x9d)](_0x2feb40){const _0x548471=a80_0x51eb27;if(_0x2feb40){if(!fs['existsSync'](_0x2feb40))return[];return JSON[_0x548471(0x104)](fs[_0x548471(0xbe)](_0x2feb40)[_0x548471(0xb3)]());}}static async[a80_0x51eb27(0x125)](_0x55f613=a80_0x51eb27(0xc2),_0x5b493e=null){const _0x304d8e=a80_0x51eb27,_0x2cb933={'EuNHL':function(_0x36a1a9,_0x554180){return _0x36a1a9(_0x554180);},'VRQaj':function(_0x3c8d6d,_0x43733f){return _0x3c8d6d(_0x43733f);}};if(!this[_0x304d8e(0xfa)])return;await _0x2cb933[_0x304d8e(0x109)](sleep,0x1e),this['_observer']['disconnect'](),this[_0x304d8e(0xfa)]=![],this['generateJSON'](this[_0x304d8e(0x11f)]);const _0x2cc2c8=this[_0x304d8e(0x114)](this['_events']),_0x426d65=path[_0x304d8e(0xd6)](process[_0x304d8e(0x111)](),_0x55f613);fs[_0x304d8e(0x10d)](_0x426d65,_0x2cc2c8,_0x4bf0ff=>{const _0x239f27=_0x304d8e;if(_0x4bf0ff){_0x2cb933['EuNHL'](debug,_0x239f27(0xc5)+_0x4bf0ff[_0x239f27(0xb3)]());return;}_0x2cb933['EuNHL'](debug,_0x239f27(0xce)+_0x426d65);});if(_0x5b493e)return this[_0x304d8e(0x118)](this[_0x304d8e(0x11f)],_0x5b493e);}static[a80_0x51eb27(0x114)](_0x13fc95){const _0x40108b=a80_0x51eb27,_0x3bdb32={};_0x3bdb32['cAZld']=_0x40108b(0xa6),_0x3bdb32[_0x40108b(0x110)]=_0x40108b(0x129),_0x3bdb32[_0x40108b(0xe4)]=_0x40108b(0xe7),_0x3bdb32[_0x40108b(0xba)]=_0x40108b(0x12e);const _0x55e4b9=_0x3bdb32;let _0x3c248d=_0x55e4b9[_0x40108b(0x12c)];return _0x3c248d+=_0x55e4b9[_0x40108b(0x110)],_0x3c248d+=_0x55e4b9['dNaNq'],_0x13fc95[_0x40108b(0xaa)](_0x1e7c79=>{const _0x2c8621=_0x40108b;_0x3c248d+=_0x2c8621(0xf3)+_0x1e7c79[_0x2c8621(0xe2)]+_0x2c8621(0xee)+_0x1e7c79['duration']+_0x2c8621(0x119);}),_0x3c248d+=_0x55e4b9[_0x40108b(0xba)],_0x3c248d;}static[a80_0x51eb27(0xb7)](_0x2d25d9){const _0x1b5d46=a80_0x51eb27;if(!this[_0x1b5d46(0xab)])return;const _0x11e943={};_0x2d25d9[_0x1b5d46(0x10a)](_0x412d01=>{const _0x30bceb=_0x1b5d46;!_0x11e943[_0x412d01['name']]&&(_0x11e943[_0x412d01[_0x30bceb(0xe2)]]=0x0),_0x11e943[_0x412d01[_0x30bceb(0xe2)]]+=_0x412d01[_0x30bceb(0xfd)];});const _0x64420f=Object['entries'](_0x11e943)['map'](([_0x37b7c9,_0x5890ec])=>{const _0x6157ab=_0x1b5d46,_0x542695={};return _0x542695[_0x6157ab(0xe2)]=_0x37b7c9,_0x542695[_0x6157ab(0xfd)]=_0x5890ec,_0x542695;});fs[_0x1b5d46(0xf4)](this[_0x1b5d46(0xab)],JSON[_0x1b5d46(0x10f)](_0x64420f));}static[a80_0x51eb27(0x120)](){const _0x20d9b3=a80_0x51eb27,_0x16271d={};_0x16271d[_0x20d9b3(0xd7)]=function(_0x58c29b,_0x2f3661){return _0x58c29b===_0x2f3661;},_0x16271d['nHGRx']='false';const _0x46e720=_0x16271d;return!_0x46e720[_0x20d9b3(0xd7)](process[_0x20d9b3(0xb1)][_0x20d9b3(0xd5)],_0x46e720[_0x20d9b3(0xfe)]);}static['measure'](_0x130c60,_0x3b5eb4,_0x1f20b0=null,_0x2b84f1={},_0x1a9c0c=null){const _0x298aaa=a80_0x51eb27,_0x1c9db3={'JTCAF':function(_0x29b431,_0x254010){return _0x29b431(_0x254010);},'ebvQA':function(_0x269e03,_0x133ae2){return _0x269e03 instanceof _0x133ae2;}};try{if(this[_0x298aaa(0xfa)]&&this[_0x298aaa(0x120)]()){let _0x68dd9c=_0x130c60;_0x1f20b0&&(_0x68dd9c=_0x130c60+'['+JSON[_0x298aaa(0x10f)](_0x1f20b0)+']');PerformanceTester[_0x298aaa(0xd8)](_0x68dd9c),this[_0x298aaa(0x112)]&&(this[_0x298aaa(0x112)][_0x68dd9c]=_0x2b84f1);try{const _0x1cbf35=_0x3b5eb4[_0x298aaa(0xeb)](null,_0x1a9c0c);if(_0x1c9db3['ebvQA'](_0x1cbf35,Promise))return new Promise((_0x5393b9,_0x3bfb48)=>{const _0x19f8fa={'eKtTX':function(_0x6bf216,_0x53488e){const _0x1c4ef4=a80_0x2ecb;return _0x1c9db3[_0x1c4ef4(0x130)](_0x6bf216,_0x53488e);}};_0x1cbf35['then'](_0x4bec4e=>{const _0x3a281f=a80_0x2ecb;PerformanceTester[_0x3a281f(0x133)](_0x68dd9c),_0x19f8fa[_0x3a281f(0x128)](_0x5393b9,_0x4bec4e);})['catch'](_0x487ade=>{const _0x291b0e=a80_0x2ecb;PerformanceTester['end'](_0x68dd9c,![],util['format'](_0x487ade)),_0x19f8fa[_0x291b0e(0x128)](_0x3bfb48,_0x487ade);});});;return PerformanceTester[_0x298aaa(0x133)](_0x68dd9c),_0x1cbf35;}catch(_0x1ca0b9){PerformanceTester[_0x298aaa(0x133)](_0x68dd9c,![],util[_0x298aaa(0x11b)](_0x1ca0b9));throw _0x1ca0b9;}};return _0x3b5eb4['apply'](null,_0x1a9c0c);}catch(_0x2a1a13){return _0x3b5eb4['apply'](null,_0x1a9c0c);}}static[a80_0x51eb27(0xa7)](_0x1b194d,_0xe20ed9,_0x4c8828={}){const _0x5a27aa=a80_0x51eb27,_0xd644bf={'ztbIo':function(_0x55cef1){return _0x55cef1();},'EQMkd':function(_0x5010ca){return _0x5010ca();}},_0x4bf741=this;return _0x4c8828[_0x5a27aa(0xb8)]=_0xd644bf[_0x5a27aa(0x12a)](getProcessId),_0x4c8828[_0x5a27aa(0xcd)]=_0xd644bf['EQMkd'](getTestName),_0x4c8828[_0x5a27aa(0xa0)]=global['__platformCaps']&&global[_0x5a27aa(0x113)][_0x5a27aa(0x12b)],function(){const _0x5d0bbc=_0x5a27aa,_0x57d4b4=[_0x1b194d,_0xe20ed9,null,_0x4c8828]['concat'](arguments);return _0x4bf741['measure'][_0x5d0bbc(0xeb)](_0x4bf741,_0x57d4b4);};}static['getCleanedPerfEvents'](){const _0x3fd6da=a80_0x51eb27,_0x260ef0=/(^.*)\[(.*)\]$/,_0x32b520={},_0x48943f={},_0xa6ce13=[],_0x25679f=this[_0x3fd6da(0xd1)]['splice'](0x0,this[_0x3fd6da(0xd1)]['length']);for(const _0x2481f6 of _0x25679f){const _0x563997=_0x2481f6[_0x3fd6da(0xe2)][_0x3fd6da(0xac)](_0x260ef0),_0x418b35=Object[_0x3fd6da(0xe3)]({},_0x2481f6);_0x563997&&(_0x418b35[_0x3fd6da(0xe2)]=_0x563997[0x1],_0x418b35[_0x3fd6da(0xd4)]=JSON[_0x3fd6da(0x104)](_0x563997[0x2])),_0xa6ce13[_0x3fd6da(0x12f)](_0x418b35);}return _0xa6ce13;}static[a80_0x51eb27(0xf9)](){const _0x44dacc=a80_0x51eb27,_0x4c9b72={};_0x4c9b72[_0x44dacc(0xfb)]=function(_0x53f466,_0x1afc21){return _0x53f466+_0x1afc21;},_0x4c9b72['KaDaa']=_0x44dacc(0xcf),_0x4c9b72[_0x44dacc(0xe8)]=function(_0x524910,_0x7ab716){return _0x524910===_0x7ab716;},_0x4c9b72['Zhhum']=function(_0x212f08,_0x17a503){return _0x212f08+_0x17a503;};const _0x41fc6f=_0x4c9b72;try{if(fs[_0x44dacc(0x123)](this[_0x44dacc(0xc1)])){const _0x275445=fs[_0x44dacc(0xf2)](this[_0x44dacc(0xc1)]);for(const _0x20aec2 of _0x275445){fs[_0x44dacc(0x117)](path[_0x44dacc(0xd6)](this[_0x44dacc(0xc1)],_0x20aec2));}}}catch(_0x37ea80){logger[_0x44dacc(0x9e)](_0x41fc6f[_0x44dacc(0xfb)](_0x41fc6f[_0x44dacc(0x102)],_0x37ea80));}if(_0x41fc6f[_0x44dacc(0xe8)](this['_measureEvents'][_0x44dacc(0xda)],0x0))return;const _0x1675bb=this[_0x44dacc(0xb5)](),_0x5c6e80=JSON[_0x44dacc(0x10f)](_0x1675bb),_0x50a603=_0x41fc6f['Zhhum'](_0x5c6e80[_0x44dacc(0xc9)](0x1,-0x1),',');fs[_0x44dacc(0x107)](this[_0x44dacc(0xab)],_0x50a603);}static async[a80_0x51eb27(0x11e)](){const _0x4b030d=a80_0x51eb27,_0x2e4983={};_0x2e4983[_0x4b030d(0xd9)]=function(_0x262a6e,_0x38419b){return _0x262a6e===_0x38419b;},_0x2e4983['oBIpE']=function(_0x1979a6,_0x50bd47){return _0x1979a6>_0x50bd47;};const _0x29dbde=_0x2e4983;if(!this['started']||_0x29dbde[_0x4b030d(0xd9)](this[_0x4b030d(0xd1)][_0x4b030d(0xda)],0x0))return[];if(!fs[_0x4b030d(0x123)](this[_0x4b030d(0xc1)]))return this[_0x4b030d(0xd1)];const _0x21c984=(await fsPromise[_0x4b030d(0xe1)](this[_0x4b030d(0xc1)]))['map'](_0x127d0=>path[_0x4b030d(0xc3)](this[_0x4b030d(0xc1)],_0x127d0));let _0x4d6a23=(await Promise[_0x4b030d(0xa1)](_0x21c984[_0x4b030d(0x10a)](_0x366c0e=>fsPromise[_0x4b030d(0x127)](_0x366c0e,_0x4b030d(0xd3)))))[_0x4b030d(0x10a)](_0xec18ad=>'['+_0xec18ad[_0x4b030d(0xc9)](0x0,-0x1)+']')[_0x4b030d(0x10a)](_0x4561cf=>JSON[_0x4b030d(0x104)](_0x4561cf))[_0x4b030d(0xea)]();return _0x29dbde['oBIpE'](this[_0x4b030d(0xd1)][_0x4b030d(0xda)],0x0)&&(_0x4d6a23=_0x4d6a23[_0x4b030d(0xb6)](this[_0x4b030d(0xb5)]())),this['_observer'][_0x4b030d(0xc8)](),_0x4d6a23;}static[a80_0x51eb27(0xdd)](){const _0x64ba08=a80_0x51eb27,_0x547fba={};_0x547fba[_0x64ba08(0x106)]=function(_0x4d4ab0,_0x4ce8fb){return _0x4d4ab0===_0x4ce8fb;},_0x547fba['uwlyv']=function(_0x4f92f9,_0x2f1a77){return _0x4f92f9+_0x2f1a77;};const _0x187f78=_0x547fba;if(_0x187f78[_0x64ba08(0x106)](this[_0x64ba08(0x121)][_0x64ba08(0xda)],0x0))return;const _0x563d85=JSON[_0x64ba08(0x10f)](this[_0x64ba08(0x121)]),_0x35804e=_0x187f78[_0x64ba08(0xf8)](_0x563d85[_0x64ba08(0xc9)](0x1,-0x1),',');fs[_0x64ba08(0x107)](this[_0x64ba08(0x135)],_0x35804e);}static[a80_0x51eb27(0x100)](){const _0x2fb281=a80_0x51eb27,_0x4765dd={};_0x4765dd['Wjbtu']=function(_0x1ccea9,_0x5f4e67){return _0x1ccea9>_0x5f4e67;};const _0x537f2d=_0x4765dd;if(this[_0x2fb281(0x137)]){if(!fs[_0x2fb281(0x123)](this[_0x2fb281(0x137)]))return this[_0x2fb281(0x121)];let _0x5aed15=fs[_0x2fb281(0xbe)](this['errorReportFileName'])['toString']();_0x5aed15='['+_0x5aed15[_0x2fb281(0xc9)](0x0,-0x1)+']';let _0x448a6e=JSON[_0x2fb281(0x104)](_0x5aed15);return _0x537f2d['Wjbtu'](this['_errorEvents']['length'],0x0)&&(_0x448a6e=_0x448a6e['concat'](this[_0x2fb281(0x121)])),fs[_0x2fb281(0x117)](this[_0x2fb281(0x137)]),_0x448a6e;}}static['captureError'](_0x2ec5aa){const _0x1833f3=a80_0x51eb27;if(!this[_0x1833f3(0x120)]())return;this[_0x1833f3(0x121)][_0x1833f3(0x12f)]({'message':_0x2ec5aa[_0x1833f3(0xdb)],'trace':_0x2ec5aa[_0x1833f3(0xf0)],'code':_0x2ec5aa[_0x1833f3(0xa5)]||null,'time':new Date()});}static[a80_0x51eb27(0x124)](){const _0x4fe1f5=a80_0x51eb27;try{if(!this[_0x4fe1f5(0x120)]())return;this['_observer'][_0x4fe1f5(0xc8)](),this[_0x4fe1f5(0xf9)](),this['pushErrors']();}catch(_0x200f76){logger[_0x4fe1f5(0x9e)]('Error\x20stopping\x20monitoring\x20'+util[_0x4fe1f5(0x11b)](_0x200f76));}}static async[a80_0x51eb27(0x126)](){const _0x443f95=a80_0x51eb27,_0x556473={'WDQvY':function(_0x112729,_0x222d18){return _0x112729(_0x222d18);}};await _0x556473['WDQvY'](sleep,0x1e);const _0x3a73db=await this['finalizePerfMeasures'](),_0x312ef9=this['finalizeErrors']();if(!this[_0x443f95(0x120)]()){const _0x3eea11={};return _0x3eea11[_0x443f95(0xc7)]=[],_0x3eea11['errors']=[],_0x3eea11;}const _0x4eb10b={};return _0x4eb10b[_0x443f95(0xc7)]=_0x3a73db,_0x4eb10b['errors']=_0x312ef9,_0x4eb10b;}static[a80_0x51eb27(0xd8)](_0x55ad18){const _0x583c95=a80_0x51eb27,_0x39306d={};_0x39306d[_0x583c95(0xbb)]=function(_0x1d6bc6,_0xd2ca66){return _0x1d6bc6+_0xd2ca66;},_0x39306d[_0x583c95(0xdc)]='-start';const _0x7da2e2=_0x39306d,_0x5350e9=_0x7da2e2[_0x583c95(0xbb)](_0x55ad18,_0x7da2e2[_0x583c95(0xdc)]);if(this[_0x583c95(0x136)][_0x5350e9])return;performance[_0x583c95(0x9f)](_0x5350e9),this[_0x583c95(0x136)][_0x5350e9]=0x1;}static[a80_0x51eb27(0x133)](_0x84fb33,_0x54ec8a=!![],_0x2aef61=null,_0x263861={}){const _0x30e51e=a80_0x51eb27,_0x270ebc={'ItRgh':function(_0x5a08f5,_0x3c830b){return _0x5a08f5+_0x3c830b;},'xZFKP':_0x30e51e(0xc6),'IKBqt':function(_0x54502f,_0x1d7962){return _0x54502f+_0x1d7962;},'UlEUb':_0x30e51e(0x10e),'nSZuH':function(_0x2183ad,_0x32a517){return _0x2183ad+_0x32a517;},'uGNel':function(_0x5c9992){return _0x5c9992();}};performance['mark'](_0x270ebc[_0x30e51e(0xef)](_0x84fb33,_0x270ebc[_0x30e51e(0xb2)])),performance[_0x30e51e(0xcb)](_0x84fb33,_0x270ebc[_0x30e51e(0xaf)](_0x84fb33,_0x270ebc['UlEUb']),_0x270ebc[_0x30e51e(0xec)](_0x84fb33,_0x270ebc[_0x30e51e(0xb2)]));const _0x31184b={};_0x31184b[_0x30e51e(0x116)]=_0x54ec8a,_0x31184b['failure']=_0x2aef61,this['details'][_0x84fb33]=Object[_0x30e51e(0xe3)](_0x31184b,Object[_0x30e51e(0xe3)](Object[_0x30e51e(0xe3)]({'worker':_0x270ebc[_0x30e51e(0xdf)](getProcessId),'platform':global[_0x30e51e(0x113)]&&global[_0x30e51e(0x113)][_0x30e51e(0x12b)],'testName':_0x270ebc['uGNel'](getTestName)},_0x263861),this[_0x30e51e(0x112)][_0x84fb33]||{}));}}function a80_0x2ecb(_0x65f42d,_0x8ab599){const _0x78806e=a80_0x7880();return a80_0x2ecb=function(_0x2ecbaf,_0x551410){_0x2ecbaf=_0x2ecbaf-0x9d;let _0x306ab0=_0x78806e[_0x2ecbaf];return _0x306ab0;},a80_0x2ecb(_0x65f42d,_0x8ab599);}module['exports']=PerformanceTester;
1
+ function a80_0x221e(_0xbabf0e,_0x2c415e){const _0x43bb51=a80_0x43bb();return a80_0x221e=function(_0x221e52,_0xb32b60){_0x221e52=_0x221e52-0x179;let _0x66f8b5=_0x43bb51[_0x221e52];return _0x66f8b5;},a80_0x221e(_0xbabf0e,_0x2c415e);}const a80_0x425f11=a80_0x221e;(function(_0x417454,_0x13aa63){const _0x2c2595=a80_0x221e,_0x37bac9=_0x417454();while(!![]){try{const _0x425dca=-parseInt(_0x2c2595(0x1fd))/0x1*(parseInt(_0x2c2595(0x1ce))/0x2)+parseInt(_0x2c2595(0x1a5))/0x3+-parseInt(_0x2c2595(0x1ba))/0x4*(-parseInt(_0x2c2595(0x1ff))/0x5)+parseInt(_0x2c2595(0x198))/0x6+parseInt(_0x2c2595(0x1e7))/0x7*(parseInt(_0x2c2595(0x1b0))/0x8)+-parseInt(_0x2c2595(0x1a9))/0x9+parseInt(_0x2c2595(0x18e))/0xa;if(_0x425dca===_0x13aa63)break;else _0x37bac9['push'](_0x37bac9['shift']());}catch(_0x59dcec){_0x37bac9['push'](_0x37bac9['shift']());}}}(a80_0x43bb,0xa2ca5));const fs=require('fs'),fsPromise=require('fs/promises'),{performance,PerformanceObserver}=require(a80_0x425f11(0x20b)),path=require('path'),util=require(a80_0x425f11(0x1d6)),logger=require(a80_0x425f11(0x1ef))[a80_0x425f11(0x20a)],{getProcessId,sleep,debug,getTestName}=require(a80_0x425f11(0x183));class PerformanceTester{static [a80_0x425f11(0x1da)];static [a80_0x425f11(0x1a0)]=[];static [a80_0x425f11(0x193)]=[];static ['_errorEvents']=[];static [a80_0x425f11(0x18b)]=![];static [a80_0x425f11(0x19c)]='performance-report';static [a80_0x425f11(0x180)]=process['env'][a80_0x425f11(0x1ca)]?path[a80_0x425f11(0x1c3)](process[a80_0x425f11(0x17c)][a80_0x425f11(0x1ca)],this['jsonReportDirName']):path[a80_0x425f11(0x1c3)](process[a80_0x425f11(0x1cb)](),a80_0x425f11(0x211),this['jsonReportDirName']);static ['errorReportDirName']=process[a80_0x425f11(0x17c)][a80_0x425f11(0x1ca)]?path[a80_0x425f11(0x1c3)](process[a80_0x425f11(0x17c)]['browserStackCwd'],'error-report'):path[a80_0x425f11(0x1c3)](process[a80_0x425f11(0x1cb)](),a80_0x425f11(0x195));static [a80_0x425f11(0x1fa)]=this[a80_0x425f11(0x180)]+a80_0x425f11(0x1fb)+getProcessId()+a80_0x425f11(0x1dd);static ['errorReportFileName']=this[a80_0x425f11(0x199)]+'/error-report-'+getProcessId()+a80_0x425f11(0x1dd);static [a80_0x425f11(0x190)]={};static [a80_0x425f11(0x19b)]={};static['startMonitoring'](_0x5d3af4=this['jsonReportDirPath']+a80_0x425f11(0x1fb)+getProcessId()+a80_0x425f11(0x1dd),_0x5d26f2=this[a80_0x425f11(0x199)]+a80_0x425f11(0x204)+getProcessId()+a80_0x425f11(0x1dd)){const _0x297c58=a80_0x425f11,_0x482ea2={};_0x482ea2['HVdik']=function(_0x37ff7e,_0x5a9851){return _0x37ff7e===_0x5a9851;},_0x482ea2[_0x297c58(0x188)]=_0x297c58(0x17a),_0x482ea2[_0x297c58(0x197)]=function(_0x396e32,_0x557804){return _0x396e32+_0x557804;},_0x482ea2['HrPZb']=_0x297c58(0x1b8),_0x482ea2[_0x297c58(0x18a)]=_0x297c58(0x1f2);const _0x5b9c7e=_0x482ea2;try{!fs[_0x297c58(0x1c2)](this['jsonReportDirPath'])&&fs[_0x297c58(0x1ec)](this['jsonReportDirPath']);}catch(_0x560bfd){logger['debug'](_0x5b9c7e[_0x297c58(0x197)](_0x5b9c7e['HrPZb'],_0x560bfd));}if(this['started']||!this['isEnabled']())return;this['_observer']=new PerformanceObserver(_0x4c472f=>{const _0x2ef4f5=_0x297c58;_0x4c472f[_0x2ef4f5(0x1f5)]()[_0x2ef4f5(0x210)](_0x4953a7=>{const _0x348c43=_0x2ef4f5;if(_0x5b9c7e[_0x348c43(0x1db)](_0x4953a7['entryType'],_0x5b9c7e[_0x348c43(0x188)])){let _0x143885={};if(_0x4953a7[_0x348c43(0x1e6)])_0x143885=_0x4953a7['toJSON']();else for(const _0x29a1df in _0x4953a7){_0x143885[_0x29a1df]=_0x4953a7[_0x29a1df];}this[_0x348c43(0x190)][_0x4953a7[_0x348c43(0x1a6)]]&&(_0x143885=Object[_0x348c43(0x19a)](_0x143885,this[_0x348c43(0x190)][_0x4953a7[_0x348c43(0x1a6)]])),delete this[_0x348c43(0x190)][_0x4953a7[_0x348c43(0x1a6)]],this[_0x348c43(0x193)][_0x348c43(0x1d0)](_0x143885);}else this[_0x348c43(0x1a0)][_0x348c43(0x1d0)](_0x4953a7);});});const _0xbe1dda={};_0xbe1dda[_0x297c58(0x1bf)]=!![],_0xbe1dda[_0x297c58(0x1a7)]=[_0x5b9c7e[_0x297c58(0x18a)],_0x5b9c7e[_0x297c58(0x188)]],this[_0x297c58(0x1da)][_0x297c58(0x1d4)](_0xbe1dda),this[_0x297c58(0x18b)]=!![],this[_0x297c58(0x1fa)]=_0x5d3af4,this[_0x297c58(0x1c5)]=_0x5d26f2;}static[a80_0x425f11(0x182)](){return performance;}static['calculateTimeFromEvents'](_0x4f4cf0,_0x52a2ae){const _0x289391=a80_0x425f11,_0x1ed2b1={};_0x1ed2b1[_0x289391(0x1c0)]=function(_0x3410c8,_0x454fb6){return _0x3410c8+_0x454fb6;},_0x1ed2b1['uDzrg']=function(_0x31aa94,_0xc62d50){return _0x31aa94||_0xc62d50;},_0x1ed2b1[_0x289391(0x1e9)]=function(_0x444f35,_0x3c955d){return _0x444f35===_0x3c955d;};const _0x933e23=_0x1ed2b1,_0x9d92c0={};if(!_0x4f4cf0||_0x933e23['AgUUu'](_0x4f4cf0['length'],0x0))return;_0x4f4cf0[_0x289391(0x181)](_0x5a6487=>{const _0x1f3896=_0x289391;!_0x9d92c0[_0x5a6487['name']]&&(_0x9d92c0[_0x5a6487[_0x1f3896(0x1a6)]]=0x0),_0x9d92c0[_0x5a6487['name']]+=_0x5a6487[_0x1f3896(0x207)];});const _0x1cfb5c=_0x52a2ae[_0x289391(0x1ea)]((_0x37687d,_0x2db396)=>{const _0x8142b2=_0x289391;return _0x933e23[_0x8142b2(0x1c0)](_0x9d92c0[_0x2db396],_0x933e23[_0x8142b2(0x1b5)](_0x37687d,0x0));},0x0);return _0x1cfb5c;}static async['calculateTimesFromMultipleFiles'](_0x2c412c,_0x807c54){const _0x530688=a80_0x425f11,_0x1ebb0d={'QmJzX':function(_0xb95a0a,_0x5b5f1f){return _0xb95a0a+_0x5b5f1f;},'Vdymj':function(_0x2efa91,_0x59a1d7){return _0x2efa91||_0x59a1d7;},'ujssr':function(_0x2d0c20,_0x28dd37){return _0x2d0c20===_0x28dd37;},'TEvlg':function(_0x132870,_0x25b0bb){return _0x132870(_0x25b0bb);}};if(!_0x2c412c||_0x1ebb0d['ujssr'](_0x2c412c[_0x530688(0x1c1)],0x0))return 0x0;const _0x2b3ab2=[];for(const _0x547169 of _0x2c412c){const _0x5e5544=path[_0x530688(0x1c3)]('.',_0x547169);try{const _0x3453cb=this[_0x530688(0x20d)](_0x5e5544);_0x3453cb['map'](_0x365f79=>{const _0x1eeef4=_0x530688;!_0x2b3ab2[_0x365f79[_0x1eeef4(0x1a6)]]&&(_0x2b3ab2[_0x365f79['name']]=0x0),_0x2b3ab2[_0x365f79[_0x1eeef4(0x1a6)]]+=_0x365f79[_0x1eeef4(0x207)];});}catch(_0x4f7211){_0x1ebb0d[_0x530688(0x1b7)](debug,_0x530688(0x1de)+_0x4f7211[_0x530688(0x200)]());}}const _0x52fb7d=_0x807c54['reduce']((_0xe5e9a2,_0xcc1ba8)=>{return _0x1ebb0d['QmJzX'](_0x2b3ab2[_0xcc1ba8],_0x1ebb0d['Vdymj'](_0xe5e9a2,0x0));},0x0);return _0x1ebb0d[_0x530688(0x1b7)](debug,_0x530688(0x194)+_0x807c54+_0x530688(0x1d9)+_0x52fb7d),_0x52fb7d;}static[a80_0x425f11(0x20d)](_0xc851f1){const _0x9c2b62=a80_0x425f11;if(_0xc851f1){if(!fs['existsSync'](_0xc851f1))return[];return JSON[_0x9c2b62(0x1b3)](fs[_0x9c2b62(0x20e)](_0xc851f1)['toString']());}}static async[a80_0x425f11(0x1ee)](_0x300e6a=a80_0x425f11(0x185),_0x2deb69=null){const _0x49f903=a80_0x425f11,_0x1e66df={'tMTvQ':function(_0x54975f,_0x1023fd){return _0x54975f(_0x1023fd);},'lYKdH':function(_0x3c6685,_0x56b59d){return _0x3c6685(_0x56b59d);},'WHWEK':function(_0x98ba16,_0x53dc00){return _0x98ba16(_0x53dc00);}};if(!this['started'])return;await _0x1e66df[_0x49f903(0x1cc)](sleep,0x1e),this['_observer'][_0x49f903(0x1f7)](),this['started']=![],this['generateJSON'](this[_0x49f903(0x1a0)]);const _0x377790=this['generateHTMLReport'](this[_0x49f903(0x1a0)]),_0x5c291f=path[_0x49f903(0x1c3)](process[_0x49f903(0x1cb)](),_0x300e6a);fs[_0x49f903(0x1c7)](_0x5c291f,_0x377790,_0x5acf62=>{const _0x84019c=_0x49f903;if(_0x5acf62){_0x1e66df[_0x84019c(0x1ed)](debug,_0x84019c(0x179)+_0x5acf62['toString']());return;}_0x1e66df[_0x84019c(0x1a3)](debug,'Performance\x20report\x20is\x20at\x20'+_0x5c291f);});if(_0x2deb69)return this[_0x49f903(0x1dc)](this['_events'],_0x2deb69);}static['generateHTMLReport'](_0x1ea097){const _0x25b307=a80_0x425f11,_0xcb2cbe={};_0xcb2cbe[_0x25b307(0x17e)]=_0x25b307(0x20c),_0xcb2cbe[_0x25b307(0x1ac)]=_0x25b307(0x18c),_0xcb2cbe[_0x25b307(0x192)]=_0x25b307(0x18d),_0xcb2cbe[_0x25b307(0x205)]=_0x25b307(0x1d8);const _0x26ac6d=_0xcb2cbe;let _0x92a99f=_0x26ac6d[_0x25b307(0x17e)];return _0x92a99f+=_0x26ac6d[_0x25b307(0x1ac)],_0x92a99f+=_0x26ac6d[_0x25b307(0x192)],_0x1ea097[_0x25b307(0x210)](_0x544a53=>{const _0x50ca4e=_0x25b307;_0x92a99f+=_0x50ca4e(0x1af)+_0x544a53[_0x50ca4e(0x1a6)]+'</td><td>'+_0x544a53[_0x50ca4e(0x207)]+_0x50ca4e(0x1bc);}),_0x92a99f+=_0x26ac6d[_0x25b307(0x205)],_0x92a99f;}static['generateJSON'](_0x37054f){const _0x53619a=a80_0x425f11;if(!this['jsonReportFileName'])return;const _0x60f828={};_0x37054f[_0x53619a(0x181)](_0xf76d50=>{const _0x57caee=_0x53619a;!_0x60f828[_0xf76d50[_0x57caee(0x1a6)]]&&(_0x60f828[_0xf76d50[_0x57caee(0x1a6)]]=0x0),_0x60f828[_0xf76d50[_0x57caee(0x1a6)]]+=_0xf76d50[_0x57caee(0x207)];});const _0x5e374d=Object['entries'](_0x60f828)[_0x53619a(0x181)](([_0x316235,_0x5cd6ae])=>{const _0x3f01e2=_0x53619a,_0x11cd6={};return _0x11cd6[_0x3f01e2(0x1a6)]=_0x316235,_0x11cd6[_0x3f01e2(0x207)]=_0x5cd6ae,_0x11cd6;});fs['writeFileSync'](this['jsonReportFileName'],JSON['stringify'](_0x5e374d));}static[a80_0x425f11(0x1f8)](){const _0x4ca946=a80_0x425f11,_0x452bc3={};_0x452bc3['gxHhh']=function(_0x5e6d67,_0x300423){return _0x5e6d67===_0x300423;},_0x452bc3['GvmpU']='false';const _0x3d698f=_0x452bc3;return!_0x3d698f[_0x4ca946(0x1e8)](process[_0x4ca946(0x17c)][_0x4ca946(0x1ae)],_0x3d698f[_0x4ca946(0x184)]);}static['measure'](_0x10a30c,_0x4d3a74,_0x4265ae=null,_0xcee3a3={},_0x1bd280=null){const _0x59a246=a80_0x425f11,_0x48edf9={'McCiw':function(_0x5a0edd,_0x122074){return _0x5a0edd(_0x122074);},'JDLlX':function(_0x257722,_0x26b9d9){return _0x257722 instanceof _0x26b9d9;}};try{if(this[_0x59a246(0x18b)]&&this[_0x59a246(0x1f8)]()){let _0x2768fb=_0x10a30c;_0x4265ae&&(_0x2768fb=_0x10a30c+'['+JSON[_0x59a246(0x206)](_0x4265ae)+']');PerformanceTester[_0x59a246(0x1ab)](_0x2768fb),this[_0x59a246(0x190)]&&(this[_0x59a246(0x190)][_0x2768fb]=_0xcee3a3);try{const _0xea123c=_0x4d3a74[_0x59a246(0x1cf)](null,_0x1bd280);if(_0x48edf9[_0x59a246(0x17b)](_0xea123c,Promise))return new Promise((_0x1be25b,_0x463e11)=>{const _0x57ab23=_0x59a246,_0x4a3e6d={'DstLT':function(_0x2ba60e,_0x289b7){return _0x48edf9['McCiw'](_0x2ba60e,_0x289b7);}};_0xea123c[_0x57ab23(0x1e3)](_0x2f685a=>{const _0x26168d=_0x57ab23;PerformanceTester[_0x26168d(0x1c8)](_0x2768fb),_0x4a3e6d[_0x26168d(0x201)](_0x1be25b,_0x2f685a);})['catch'](_0x107a73=>{const _0x46b0fe=_0x57ab23;PerformanceTester['end'](_0x2768fb,![],util[_0x46b0fe(0x1f0)](_0x107a73)),_0x4a3e6d[_0x46b0fe(0x201)](_0x463e11,_0x107a73);});});;return PerformanceTester['end'](_0x2768fb),_0xea123c;}catch(_0x24675a){PerformanceTester[_0x59a246(0x1c8)](_0x2768fb,![],util[_0x59a246(0x1f0)](_0x24675a));throw _0x24675a;}};return _0x4d3a74['apply'](null,_0x1bd280);}catch(_0x574418){return _0x4d3a74[_0x59a246(0x1cf)](null,_0x1bd280);}}static[a80_0x425f11(0x1bd)](_0x5ddec1,_0x1fc4f4,_0x5382c9={}){const _0x5a55d7=a80_0x425f11,_0x65648f={'CmDjf':function(_0x5396f1){return _0x5396f1();},'maVyV':function(_0x39def4){return _0x39def4();}},_0x46e700=this;return _0x5382c9[_0x5a55d7(0x1e1)]=_0x65648f[_0x5a55d7(0x1f3)](getProcessId),_0x5382c9[_0x5a55d7(0x1d3)]=_0x65648f[_0x5a55d7(0x1d7)](getTestName),_0x5382c9[_0x5a55d7(0x1c6)]=global[_0x5a55d7(0x1c9)]&&global['__platformCaps'][_0x5a55d7(0x191)],function(){const _0x590cd4=_0x5a55d7,_0xde1f94=[_0x5ddec1,_0x1fc4f4,null,_0x5382c9][_0x590cd4(0x1e0)](arguments);return _0x46e700[_0x590cd4(0x17a)][_0x590cd4(0x1cf)](_0x46e700,_0xde1f94);};}static['getCleanedPerfEvents'](){const _0x432102=a80_0x425f11,_0x96f9dc=/(^.*)\[(.*)\]$/,_0x2dc7a6={},_0xf02c5a={},_0x68cc43=[],_0x595da8=this[_0x432102(0x193)][_0x432102(0x1e4)](0x0,this[_0x432102(0x193)]['length']);for(const _0x8b2f23 of _0x595da8){const _0x562d2a=_0x8b2f23['name'][_0x432102(0x17d)](_0x96f9dc),_0x1faaf8=Object[_0x432102(0x19a)]({},_0x8b2f23);_0x562d2a&&(_0x1faaf8[_0x432102(0x1a6)]=_0x562d2a[0x1],_0x1faaf8[_0x432102(0x19d)]=JSON[_0x432102(0x1b3)](_0x562d2a[0x2])),_0x68cc43[_0x432102(0x1d0)](_0x1faaf8);}return _0x68cc43;}static[a80_0x425f11(0x1d1)](){const _0x725959=a80_0x425f11,_0x2fc6e4={};_0x2fc6e4[_0x725959(0x208)]=function(_0x2143da,_0x3c7de4){return _0x2143da+_0x3c7de4;},_0x2fc6e4[_0x725959(0x19e)]='Error\x20while\x20removing\x20files:\x20',_0x2fc6e4[_0x725959(0x18f)]=function(_0x43f348,_0x2babc9){return _0x43f348===_0x2babc9;};const _0x4f2174=_0x2fc6e4;try{if(fs['existsSync'](this[_0x725959(0x180)])){const _0x22630a=fs[_0x725959(0x1c4)](this[_0x725959(0x180)]);for(const _0x18da83 of _0x22630a){fs[_0x725959(0x1fc)](path[_0x725959(0x1c3)](this[_0x725959(0x180)],_0x18da83));}}}catch(_0x42a399){logger[_0x725959(0x189)](_0x4f2174[_0x725959(0x208)](_0x4f2174[_0x725959(0x19e)],_0x42a399));}if(_0x4f2174['MqKsY'](this['_measureEvents'][_0x725959(0x1c1)],0x0))return;const _0x4994f6=this['getCleanedPerfEvents'](),_0x458ebd=JSON[_0x725959(0x206)](_0x4994f6),_0x39fb0a=_0x4f2174[_0x725959(0x208)](_0x458ebd['slice'](0x1,-0x1),',');fs[_0x725959(0x1ad)](this['jsonReportFileName'],_0x39fb0a);}static async['finalizePerfMeasures'](){const _0x513430=a80_0x425f11,_0x1af972={};_0x1af972[_0x513430(0x1eb)]=function(_0x1ac4be,_0x454742){return _0x1ac4be===_0x454742;},_0x1af972[_0x513430(0x1a4)]=function(_0x3006e6,_0x10200a){return _0x3006e6>_0x10200a;};const _0x297567=_0x1af972;if(!this[_0x513430(0x18b)]||_0x297567[_0x513430(0x1eb)](this[_0x513430(0x193)][_0x513430(0x1c1)],0x0))return[];if(!fs[_0x513430(0x1c2)](this[_0x513430(0x180)]))return this[_0x513430(0x193)];const _0x1ddb6f=(await fsPromise[_0x513430(0x1b2)](this[_0x513430(0x180)]))[_0x513430(0x181)](_0x8f37c8=>path[_0x513430(0x1bb)](this[_0x513430(0x180)],_0x8f37c8));let _0x46ccdf=(await Promise['all'](_0x1ddb6f[_0x513430(0x181)](_0x1ea207=>fsPromise['readFile'](_0x1ea207,'utf-8'))))[_0x513430(0x181)](_0xcd5aa4=>'['+_0xcd5aa4['slice'](0x0,-0x1)+']')[_0x513430(0x181)](_0x91bf7c=>JSON[_0x513430(0x1b3)](_0x91bf7c))[_0x513430(0x1a2)]();return _0x297567[_0x513430(0x1a4)](this[_0x513430(0x193)][_0x513430(0x1c1)],0x0)&&(_0x46ccdf=_0x46ccdf[_0x513430(0x1e0)](this[_0x513430(0x1a1)]())),this[_0x513430(0x1da)][_0x513430(0x1f7)](),_0x46ccdf;}static[a80_0x425f11(0x20f)](){const _0x5eb2f7=a80_0x425f11,_0x36e966={};_0x36e966['AyIaF']=function(_0x43c77b,_0x323938){return _0x43c77b===_0x323938;},_0x36e966['vgHQe']=function(_0x30e1b6,_0x44b140){return _0x30e1b6+_0x44b140;};const _0x4ddcb5=_0x36e966;if(_0x4ddcb5[_0x5eb2f7(0x1aa)](this[_0x5eb2f7(0x196)]['length'],0x0))return;const _0x4cea1d=JSON[_0x5eb2f7(0x206)](this[_0x5eb2f7(0x196)]),_0x3ae19e=_0x4ddcb5['vgHQe'](_0x4cea1d[_0x5eb2f7(0x1f4)](0x1,-0x1),',');fs['appendFileSync'](this[_0x5eb2f7(0x1e2)],_0x3ae19e);}static['finalizeErrors'](){const _0x40a826=a80_0x425f11,_0x1f2216={};_0x1f2216[_0x40a826(0x1b4)]=function(_0x4393d9,_0x570117){return _0x4393d9>_0x570117;};const _0x1bbf48=_0x1f2216;if(this['errorReportFileName']){if(!fs[_0x40a826(0x1c2)](this['errorReportFileName']))return this['_errorEvents'];let _0x2db7ca=fs[_0x40a826(0x20e)](this[_0x40a826(0x1c5)])[_0x40a826(0x200)]();_0x2db7ca='['+_0x2db7ca['slice'](0x0,-0x1)+']';let _0x233ae6=JSON[_0x40a826(0x1b3)](_0x2db7ca);return _0x1bbf48[_0x40a826(0x1b4)](this['_errorEvents'][_0x40a826(0x1c1)],0x0)&&(_0x233ae6=_0x233ae6[_0x40a826(0x1e0)](this[_0x40a826(0x196)])),fs[_0x40a826(0x1fc)](this['errorReportFileName']),_0x233ae6;}}static[a80_0x425f11(0x187)](_0x56e27b){const _0x1616b6=a80_0x425f11;if(!this[_0x1616b6(0x1f8)]())return;this[_0x1616b6(0x196)][_0x1616b6(0x1d0)]({'message':_0x56e27b[_0x1616b6(0x1b1)],'trace':_0x56e27b['stack'],'code':_0x56e27b[_0x1616b6(0x1a8)]||null,'time':new Date()});}static['stopMonitoring'](){const _0xbafb98=a80_0x425f11;try{if(!this[_0xbafb98(0x1f8)]())return;this[_0xbafb98(0x1da)][_0xbafb98(0x1f7)](),this['pushPerfMeasures'](),this[_0xbafb98(0x20f)]();}catch(_0x1b85eb){logger[_0xbafb98(0x189)](_0xbafb98(0x1d5)+util[_0xbafb98(0x1f0)](_0x1b85eb));}}static async[a80_0x425f11(0x1d2)](){const _0x4f15fb=a80_0x425f11,_0x41bd39={'lvDDs':function(_0x372e9e,_0x5f494a){return _0x372e9e(_0x5f494a);}};await _0x41bd39['lvDDs'](sleep,0x1e);const _0xc89bdc=await this[_0x4f15fb(0x17f)](),_0x27aef6=this[_0x4f15fb(0x1e5)]();if(!this[_0x4f15fb(0x1f8)]()){const _0x415a4c={};return _0x415a4c[_0x4f15fb(0x186)]=[],_0x415a4c[_0x4f15fb(0x209)]=[],_0x415a4c;}const _0x3b4e64={};return _0x3b4e64[_0x4f15fb(0x186)]=_0xc89bdc,_0x3b4e64['errors']=_0x27aef6,_0x3b4e64;}static[a80_0x425f11(0x1ab)](_0x1ab780){const _0x208db6=a80_0x425f11,_0x172df9={};_0x172df9[_0x208db6(0x203)]=function(_0x33a785,_0x8a65a4){return _0x33a785+_0x8a65a4;},_0x172df9[_0x208db6(0x1be)]=_0x208db6(0x1f6);const _0x1aad6f=_0x172df9,_0x58700f=_0x1aad6f['WoqDU'](_0x1ab780,_0x1aad6f['ZDfaF']);if(this['eventsMap'][_0x58700f])return;performance[_0x208db6(0x1df)](_0x58700f),this[_0x208db6(0x19b)][_0x58700f]=0x1;}static[a80_0x425f11(0x1c8)](_0xada10d,_0x3efe28=!![],_0x1dc9ff=null,_0x2c2765={}){const _0x572385=a80_0x425f11,_0x4d28ca={'ydKpI':function(_0x4d66a4,_0x2be929){return _0x4d66a4+_0x2be929;},'fuDdd':_0x572385(0x202),'BWFua':_0x572385(0x1f6),'qdaNE':function(_0x304b60){return _0x304b60();}};performance['mark'](_0x4d28ca['ydKpI'](_0xada10d,_0x4d28ca[_0x572385(0x19f)])),performance[_0x572385(0x17a)](_0xada10d,_0x4d28ca['ydKpI'](_0xada10d,_0x4d28ca[_0x572385(0x1b6)]),_0x4d28ca[_0x572385(0x1f9)](_0xada10d,_0x4d28ca[_0x572385(0x19f)]));const _0x591db3={};_0x591db3[_0x572385(0x1f1)]=_0x3efe28,_0x591db3[_0x572385(0x1b9)]=_0x1dc9ff,this[_0x572385(0x190)][_0xada10d]=Object['assign'](_0x591db3,Object[_0x572385(0x19a)](Object[_0x572385(0x19a)]({'worker':_0x4d28ca['qdaNE'](getProcessId),'platform':global['__platformCaps']&&global['__platformCaps']['index'],'testName':_0x4d28ca[_0x572385(0x1cd)](getTestName)},_0x2c2765),this[_0x572385(0x190)][_0xada10d]||{}));}}module[a80_0x425f11(0x1fe)]=PerformanceTester;function a80_0x43bb(){const _0x4c710e=['forEach','log','Error\x20in\x20writing\x20html\x20','measure','JDLlX','env','match','lIgyo','finalizePerfMeasures','jsonReportDirPath','map','getPerformance','../processHelper','GvmpU','performance-own.html','measures','captureError','oeCKI','debug','xTcXu','started','<h1>Performance\x20Report</h1>','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','20397430uVNlNT','MqKsY','details','index','GzjrV','_measureEvents','Time\x20for\x20','error-report','_errorEvents','outLK','3742230NFFLQJ','errorReportDirName','assign','eventsMap','jsonReportDirName','meta','KXXqu','fuDdd','_events','getCleanedPerfEvents','flat','lYKdH','TxWTA','416853uWdZxi','name','entryTypes','code','8942463VyiVbd','AyIaF','start','SKVhU','appendFileSync','BROWSERSTACK_SDK_INSTRUMENTATION','<tr><td>','187008OJFWAd','message','readdir','parse','xoOUU','uDzrg','BWFua','TEvlg','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','failure','1260owcSxN','resolve','</td></tr>','measureWrapper','ZDfaF','buffered','bMFHc','length','existsSync','join','readdirSync','errorReportFileName','platform','writeFile','end','__platformCaps','browserStackCwd','cwd','WHWEK','qdaNE','956eMkXul','apply','push','pushPerfMeasures','finalize','testName','observe','Error\x20stopping\x20monitoring\x20','util','maVyV','</tbody></table></body></html>','\x20for\x20all\x20processes\x20is\x20','_observer','HVdik','calculateTimeFromEvents','.json','Error\x20in\x20doing\x20csv\x20operations:\x20','mark','concat','worker','errorFile','then','splice','finalizeErrors','toJSON','7PZtGzh','gxHhh','AgUUu','reduce','GPmCX','mkdirSync','tMTvQ','stopAndGenerate','../logger','format','success','function','CmDjf','slice','getEntries','-start','disconnect','isEnabled','ydKpI','jsonReportFileName','/performance-report-','unlinkSync','2498qCktji','exports','455ExxcvV','toString','DstLT','-end','WoqDU','/error-report-','nmXIn','stringify','duration','XgcSu','errors','winstonLogger','perf_hooks','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','getEventsFromJSON','readFileSync','pushErrors'];a80_0x43bb=function(){return _0x4c710e;};return a80_0x43bb();}
@@ -1 +1 @@
1
- const a81_0x3a1e65=a81_0x37e7;(function(_0x19486f,_0x17aa8d){const _0x16262d=a81_0x37e7,_0x16bc6c=_0x19486f();while(!![]){try{const _0x5aca88=parseInt(_0x16262d(0xfd))/0x1+-parseInt(_0x16262d(0xfb))/0x2*(parseInt(_0x16262d(0x105))/0x3)+-parseInt(_0x16262d(0x109))/0x4*(-parseInt(_0x16262d(0xff))/0x5)+parseInt(_0x16262d(0x112))/0x6*(-parseInt(_0x16262d(0x10d))/0x7)+parseInt(_0x16262d(0x106))/0x8+-parseInt(_0x16262d(0xf8))/0x9*(parseInt(_0x16262d(0xf9))/0xa)+parseInt(_0x16262d(0xfc))/0xb*(-parseInt(_0x16262d(0x111))/0xc);if(_0x5aca88===_0x17aa8d)break;else _0x16bc6c['push'](_0x16bc6c['shift']());}catch(_0x2defee){_0x16bc6c['push'](_0x16bc6c['shift']());}}}(a81_0x5dda,0x1a93d));const worker=require(a81_0x3a1e65(0x10c)),{fileLogger}=require(a81_0x3a1e65(0x100)),{consoleHolder}=require('./test-observability/constants'),globals=require(a81_0x3a1e65(0xfe));function a81_0x37e7(_0x434828,_0x248b50){const _0x5dda41=a81_0x5dda();return a81_0x37e7=function(_0x37e795,_0x27be90){_0x37e795=_0x37e795-0xf8;let _0x576bbd=_0x5dda41[_0x37e795];return _0x576bbd;},a81_0x37e7(_0x434828,_0x248b50);}exports['getProcessId']=()=>{const _0x5bcf29=a81_0x3a1e65;return process[_0x5bcf29(0x110)]+'-'+worker['threadId'];},exports['getTestName']=()=>{const _0x252285=a81_0x3a1e65,_0x5832dc={};_0x5832dc[_0x252285(0x113)]=_0x252285(0x10b);const _0x43efd0=_0x5832dc;return globals[_0x252285(0x107)](_0x43efd0[_0x252285(0x113)]);},exports['sleep']=(_0xd5cdea=0x64)=>new Promise(_0x31450e=>setTimeout(_0x31450e,_0xd5cdea)),exports[a81_0x3a1e65(0xfa)]=_0x3a1f75=>{const _0x1fe8d3=a81_0x3a1e65,_0x4ee995={};_0x4ee995['WaYvR']=function(_0x2ff370,_0x162501){return _0x2ff370===_0x162501;},_0x4ee995[_0x1fe8d3(0x101)]=_0x1fe8d3(0x10e);const _0x52f7dd=_0x4ee995;fileLogger[_0x1fe8d3(0xfa)]('['+new Date()[_0x1fe8d3(0x103)]()+_0x1fe8d3(0x104)+_0x3a1f75),(_0x52f7dd[_0x1fe8d3(0x108)](process[_0x1fe8d3(0x102)]['BROWSERSTACK_OBSERVABILITY_DEBUG'],_0x52f7dd[_0x1fe8d3(0x101)])||_0x52f7dd[_0x1fe8d3(0x108)](process[_0x1fe8d3(0x102)][_0x1fe8d3(0x10f)],'1'))&&consoleHolder[_0x1fe8d3(0x10a)]('\x0a['+new Date()[_0x1fe8d3(0x103)]()+_0x1fe8d3(0x104)+_0x3a1f75+'\x0a');};function a81_0x5dda(){const _0x57bb6=['./globals','10000JKHJgA','./logger','BqpoD','env','toISOString','][\x20OBSERVABILITY\x20]\x20','198894UCcBni','1177288lMrgmN','getGlobal','WaYvR','104GoQmGc','log','browserstackTestName','worker_threads','298767oYkHPi','true','BROWSERSTACK_OBSERVABILITY_DEBUG','pid','12IypCSV','6MsWGFU','iKZIm','9qiSFet','1142770gORrCZ','debug','2DlDpHK','360943bvUNFm','165769wLZVES'];a81_0x5dda=function(){return _0x57bb6;};return a81_0x5dda();}
1
+ const a81_0x366e6b=a81_0x5842;(function(_0x22b5d7,_0x11a0fa){const _0x4ecf39=a81_0x5842,_0xfed6c=_0x22b5d7();while(!![]){try{const _0x3f6031=parseInt(_0x4ecf39(0x1a7))/0x1*(-parseInt(_0x4ecf39(0x1a4))/0x2)+parseInt(_0x4ecf39(0x1ae))/0x3+-parseInt(_0x4ecf39(0x1a6))/0x4+parseInt(_0x4ecf39(0x1af))/0x5*(parseInt(_0x4ecf39(0x196))/0x6)+parseInt(_0x4ecf39(0x1b0))/0x7*(parseInt(_0x4ecf39(0x1ad))/0x8)+-parseInt(_0x4ecf39(0x1ab))/0x9+parseInt(_0x4ecf39(0x19b))/0xa*(-parseInt(_0x4ecf39(0x198))/0xb);if(_0x3f6031===_0x11a0fa)break;else _0xfed6c['push'](_0xfed6c['shift']());}catch(_0x23a970){_0xfed6c['push'](_0xfed6c['shift']());}}}(a81_0x37b8,0x50a27));const worker=require(a81_0x366e6b(0x194)),{fileLogger}=require(a81_0x366e6b(0x1ac)),{consoleHolder}=require(a81_0x366e6b(0x19a)),globals=require(a81_0x366e6b(0x19c));function a81_0x5842(_0x1b3694,_0x2d2ad8){const _0x37b8a7=a81_0x37b8();return a81_0x5842=function(_0x584282,_0x2a3c53){_0x584282=_0x584282-0x194;let _0x447e93=_0x37b8a7[_0x584282];return _0x447e93;},a81_0x5842(_0x1b3694,_0x2d2ad8);}function a81_0x37b8(){const _0x48868a=['30EWFUZQ','./globals','debug','AHaDC','true','getTestName','sleep','getProcessId','toISOString','183676ZOYTCf','threadId','379432cWvNjJ','2NoFOxo','env','BROWSERSTACK_OBSERVABILITY_DEBUG','][\x20OBSERVABILITY\x20]\x20','3800520YRNpLu','./logger','302696vlHLkQ','1170795ibBsRL','15FSxhZe','91PiAvqY','worker_threads','log','356928KGyXPS','pid','108229RMIByV','DcihJ','./test-observability/constants'];a81_0x37b8=function(){return _0x48868a;};return a81_0x37b8();}exports[a81_0x366e6b(0x1a2)]=()=>{const _0x48c421=a81_0x366e6b;return process[_0x48c421(0x197)]+'-'+worker[_0x48c421(0x1a5)];},exports[a81_0x366e6b(0x1a0)]=()=>{const _0x4e4271=a81_0x366e6b,_0x54ec4e={};_0x54ec4e[_0x4e4271(0x199)]='browserstackTestName';const _0x4a9e8b=_0x54ec4e;return globals['getGlobal'](_0x4a9e8b[_0x4e4271(0x199)]);},exports[a81_0x366e6b(0x1a1)]=(_0x2bf7cd=0x64)=>new Promise(_0xe5352e=>setTimeout(_0xe5352e,_0x2bf7cd)),exports[a81_0x366e6b(0x19d)]=_0x30564a=>{const _0x2657de=a81_0x366e6b,_0x145dab={};_0x145dab[_0x2657de(0x19e)]=function(_0x37903a,_0x33ce35){return _0x37903a===_0x33ce35;},_0x145dab['LkKtG']=_0x2657de(0x19f);const _0x205d8a=_0x145dab;fileLogger[_0x2657de(0x19d)]('['+new Date()['toISOString']()+_0x2657de(0x1aa)+_0x30564a),(_0x205d8a[_0x2657de(0x19e)](process[_0x2657de(0x1a8)][_0x2657de(0x1a9)],_0x205d8a['LkKtG'])||_0x205d8a['AHaDC'](process['env'][_0x2657de(0x1a9)],'1'))&&consoleHolder[_0x2657de(0x195)]('\x0a['+new Date()[_0x2657de(0x1a3)]()+'][\x20OBSERVABILITY\x20]\x20'+_0x30564a+'\x0a');};
@@ -1 +1 @@
1
- const a82_0x564d51=a82_0x3296;function a82_0x1201(){const _0x36297f=['18FjeVMp','RbpnP','otcuv','dHEHr','unpatch','1986608ZEizdN','QmEif','enLLb','call','socket','eTDLG','100142SrwKnh','path','seszm','removeListener','3472510lBfeKe','BRtdT','28mHjzAh','564318EOYaSu','end','hostname','https','object','LNQxi','method','url','exports','pQzyY','axILa','host','duration_ms','AbnJD','response','headers','9AeZnoW','restore','slice','assign','request','apply','70GhQJho','prototype','JiFsw','Pvfhm','now','1224553MvYRmT','ODtYd','once','spy','status_code','470658CJOaGC','forEach','nSUUu','616944bEGyIN'];a82_0x1201=function(){return _0x36297f;};return a82_0x1201();}(function(_0x29fed5,_0x3f47b1){const _0x4bedb5=a82_0x3296,_0x382b5a=_0x29fed5();while(!![]){try{const _0x2a5224=parseInt(_0x4bedb5(0xbb))/0x1+parseInt(_0x4bedb5(0xb4))/0x2*(-parseInt(_0x4bedb5(0x95))/0x3)+parseInt(_0x4bedb5(0xae))/0x4+parseInt(_0x4bedb5(0xb8))/0x5+-parseInt(_0x4bedb5(0xa5))/0x6*(parseInt(_0x4bedb5(0xba))/0x7)+-parseInt(_0x4bedb5(0xa8))/0x8*(parseInt(_0x4bedb5(0xa9))/0x9)+-parseInt(_0x4bedb5(0x9b))/0xa*(parseInt(_0x4bedb5(0xa0))/0xb);if(_0x2a5224===_0x3f47b1)break;else _0x382b5a['push'](_0x382b5a['shift']());}catch(_0x3c9617){_0x382b5a['push'](_0x382b5a['shift']());}}}(a82_0x1201,0x57666));function a82_0x3296(_0x28ce6a,_0x4326cc){const _0x1201a3=a82_0x1201();return a82_0x3296=function(_0x3296d9,_0x2a1682){_0x3296d9=_0x3296d9-0x8f;let _0x3c5fd5=_0x1201a3[_0x3296d9];return _0x3c5fd5;},a82_0x3296(_0x28ce6a,_0x4326cc);}const http=require('http'),https=require(a82_0x564d51(0xbe)),monkeypatch=require('monkeypatch');function spy(_0x5c1d49){const _0x15c1c6=a82_0x564d51,_0xa11ecf={'Pvfhm':'error','seszm':function(_0x548b1,_0x5bfb0e){return _0x548b1 instanceof _0x5bfb0e;},'enLLb':function(_0x2ce9d0,_0x4f8b62){return _0x2ce9d0===_0x4f8b62;},'dHEHr':_0x15c1c6(0xbf),'JiFsw':function(_0x568626,_0x51fdce,_0x387d9e){return _0x568626(_0x51fdce,_0x387d9e);},'AbnJD':function(_0x4e5f54,_0xb0374a){return _0x4e5f54-_0xb0374a;},'LXWQy':function(_0x2e5281,..._0x436a93){return _0x2e5281(..._0x436a93);},'otcuv':_0x15c1c6(0x93),'BGxZA':_0x15c1c6(0xb2),'eTDLG':function(_0x2bc1d2,_0x53f238,_0x4f6fd6,_0xe91ee6){return _0x2bc1d2(_0x53f238,_0x4f6fd6,_0xe91ee6);},'pQzyY':_0x15c1c6(0xbc),'axILa':function(_0x382c78,_0x1a20df,_0x2c6a04,_0x40edaa){return _0x382c78(_0x1a20df,_0x2c6a04,_0x40edaa);},'RbpnP':_0x15c1c6(0x99),'ccDFT':function(_0x1f344d,_0x40b364,_0x1cfc29,_0x33d13b){return _0x1f344d(_0x40b364,_0x1cfc29,_0x33d13b);}},_0x25f036=function(){const _0xa8f79f=_0x15c1c6,_0x14a72a={'YrvCM':function(_0x206d74,_0x184cb0){const _0x4c0c66=a82_0x3296;return _0xa11ecf[_0x4c0c66(0xb6)](_0x206d74,_0x184cb0);},'LNQxi':function(_0x5b5fa0,_0x971c21){const _0x1a5594=a82_0x3296;return _0xa11ecf[_0x1a5594(0xb0)](_0x5b5fa0,_0x971c21);},'QmEif':_0xa11ecf[_0xa8f79f(0xac)],'BRtdT':function(_0x5053c9,_0x4a3bcd,_0x2f3652){const _0x57a45f=_0xa8f79f;return _0xa11ecf[_0x57a45f(0x9d)](_0x5053c9,_0x4a3bcd,_0x2f3652);},'nSUUu':function(_0x21b2a8,_0x371397){const _0x59315e=_0xa8f79f;return _0xa11ecf[_0x59315e(0x92)](_0x21b2a8,_0x371397);},'ODtYd':_0xa11ecf['Pvfhm'],'qZgfS':function(_0x2542de,..._0x369838){return _0xa11ecf['LXWQy'](_0x2542de,..._0x369838);}},_0x31ee77=arguments[0x0],_0x68a452=Array[_0xa8f79f(0x9c)][_0xa8f79f(0x97)][_0xa8f79f(0xb1)](arguments,0x1),_0x5c1167=_0x31ee77[_0xa8f79f(0x9a)](this,_0x68a452);let _0x375c35=Date[_0xa8f79f(0x9f)](),_0x49af80;const _0x5565f8={};_0x68a452[_0xa8f79f(0xa6)](_0x3e16e6=>{const _0x3569b2=_0xa8f79f;if(_0x14a72a['YrvCM'](_0x3e16e6,URL)){const _0x4fe512={};_0x4fe512['url']=_0x3e16e6,Object[_0x3569b2(0x98)](_0x5565f8,_0x4fe512);}else _0x14a72a[_0x3569b2(0xc0)](typeof _0x3e16e6,_0x14a72a[_0x3569b2(0xaf)])&&Object[_0x3569b2(0x98)](_0x5565f8,_0x3e16e6);});const _0x3890dc=_0x42a52a=>{const _0xaff51d=_0xa8f79f,_0x201dcc={};_0x201dcc[_0xaff51d(0x90)]=_0x5565f8['host']||_0x5565f8[_0xaff51d(0xbd)]||_0x5565f8[_0xaff51d(0xc2)]&&(_0x5565f8[_0xaff51d(0xc2)][_0xaff51d(0x90)]||_0x5565f8[_0xaff51d(0xc2)]['hostname']),_0x201dcc[_0xaff51d(0xb5)]=_0x5565f8[_0xaff51d(0xb5)]||_0x5565f8['url']&&_0x5565f8[_0xaff51d(0xc2)]['pathname'],_0x201dcc[_0xaff51d(0xc1)]=_0x5565f8['method'],_0x201dcc[_0xaff51d(0x94)]=_0x5565f8[_0xaff51d(0x94)],_0x14a72a[_0xaff51d(0xb9)](_0x5c1d49,_0x42a52a,_0x201dcc);};return _0x5c1167[_0xa8f79f(0xa2)](_0xa11ecf[_0xa8f79f(0xab)],_0x13cfb6=>{const _0x142da0=_0xa8f79f,_0x3880e5=_0x14a72a[_0x142da0(0xa7)](Date[_0x142da0(0x9f)](),_0x375c35),_0x350fad={};_0x350fad[_0x142da0(0xbd)]=_0x5565f8[_0x142da0(0x90)]||_0x5565f8['hostname']||_0x5565f8[_0x142da0(0xc2)]&&(_0x5565f8[_0x142da0(0xc2)][_0x142da0(0x90)]||_0x5565f8[_0x142da0(0xc2)]['hostname']),_0x350fad[_0x142da0(0xb5)]=_0x5565f8['path']||_0x5565f8[_0x142da0(0xc2)]&&_0x5565f8[_0x142da0(0xc2)]['pathname'],_0x350fad[_0x142da0(0xc1)]=_0x5565f8['method'],_0x350fad[_0x142da0(0x94)]=_0x5565f8['headers'],_0x350fad[_0x142da0(0xa4)]=_0x13cfb6['statusCode'],_0x350fad[_0x142da0(0x91)]=_0x3880e5,_0x14a72a[_0x142da0(0xb9)](_0x5c1d49,null,_0x350fad),_0x49af80[_0x142da0(0xb7)](_0x14a72a[_0x142da0(0xa1)],_0x3890dc);}),_0x5c1167['on'](_0xa11ecf['BGxZA'],_0x30da55=>{const _0x1cc840=_0xa8f79f;_0x49af80=_0x30da55,_0x30da55[_0x1cc840(0xa2)](_0xa11ecf[_0x1cc840(0x9e)],_0x3890dc);}),_0xa11ecf[_0xa8f79f(0xb3)](monkeypatch,_0x5c1167,_0xa11ecf[_0xa8f79f(0xc4)],(_0xdf5cf7,..._0x1c7083)=>{const _0x12e675=_0xa8f79f;_0x375c35=Date[_0x12e675(0x9f)](),_0x14a72a['qZgfS'](_0xdf5cf7,..._0x1c7083);}),_0x5c1167;};_0xa11ecf[_0x15c1c6(0x8f)](monkeypatch,http,_0xa11ecf[_0x15c1c6(0xaa)],_0x25f036),_0xa11ecf['ccDFT'](monkeypatch,https,_0xa11ecf[_0x15c1c6(0xaa)],_0x25f036);}function restore(){const _0x3ac04d=a82_0x564d51;http[_0x3ac04d(0x99)][_0x3ac04d(0xad)](),https['request'][_0x3ac04d(0xad)]();}const a82_0x3b82ca={};a82_0x3b82ca[a82_0x564d51(0xa3)]=spy,a82_0x3b82ca[a82_0x564d51(0x96)]=restore,module[a82_0x564d51(0xc3)]=a82_0x3b82ca;
1
+ const a82_0x35d2c5=a82_0x3ce1;(function(_0x3f5eee,_0x541856){const _0x469b59=a82_0x3ce1,_0x11d6a0=_0x3f5eee();while(!![]){try{const _0x4b958e=-parseInt(_0x469b59(0x115))/0x1+-parseInt(_0x469b59(0x10d))/0x2*(-parseInt(_0x469b59(0x129))/0x3)+parseInt(_0x469b59(0x118))/0x4+parseInt(_0x469b59(0x122))/0x5*(parseInt(_0x469b59(0x10c))/0x6)+parseInt(_0x469b59(0x127))/0x7+-parseInt(_0x469b59(0x134))/0x8+parseInt(_0x469b59(0x12e))/0x9*(-parseInt(_0x469b59(0x128))/0xa);if(_0x4b958e===_0x541856)break;else _0x11d6a0['push'](_0x11d6a0['shift']());}catch(_0x41dc99){_0x11d6a0['push'](_0x11d6a0['shift']());}}}(a82_0x3d56,0xb67ba));const http=require(a82_0x35d2c5(0x113)),https=require(a82_0x35d2c5(0x11e)),monkeypatch=require(a82_0x35d2c5(0x121));function spy(_0x291748){const _0x2b55ca=a82_0x35d2c5,_0x5f27fa={'uIYrI':function(_0xb687a4,_0x5f1e28){return _0xb687a4-_0x5f1e28;},'YEEFs':function(_0x30542b,_0x1a9769,_0x37a297){return _0x30542b(_0x1a9769,_0x37a297);},'OCcQJ':_0x2b55ca(0x132),'seDui':function(_0x4e1334,_0x7ff6f0){return _0x4e1334 instanceof _0x7ff6f0;},'KPdOj':function(_0x436d75,_0xc943af){return _0x436d75===_0xc943af;},'OEzGa':_0x2b55ca(0x11c),'jdsZE':function(_0x1e7e1d,_0x1bd928,_0x412540){return _0x1e7e1d(_0x1bd928,_0x412540);},'llSpv':function(_0x462f0a,..._0x2ab0f0){return _0x462f0a(..._0x2ab0f0);},'YWNuh':_0x2b55ca(0x138),'arrlu':_0x2b55ca(0x117),'ZqYhB':function(_0x6fb0be,_0x48813d,_0x489bb9,_0x4e0c1c){return _0x6fb0be(_0x48813d,_0x489bb9,_0x4e0c1c);},'Tclhr':'end','rVtVc':_0x2b55ca(0x131),'qqQbd':function(_0x192473,_0x1d6a52,_0x735ba6,_0x1225dd){return _0x192473(_0x1d6a52,_0x735ba6,_0x1225dd);}},_0x18f009=function(){const _0x13d8e6=_0x2b55ca,_0x60c1be={'ttqpP':function(_0x2757e3,_0x593d08){return _0x5f27fa['seDui'](_0x2757e3,_0x593d08);},'zVzxW':function(_0x14dc59,_0x456e59){const _0x414ed0=a82_0x3ce1;return _0x5f27fa[_0x414ed0(0x125)](_0x14dc59,_0x456e59);},'CPtsY':_0x5f27fa[_0x13d8e6(0x13b)],'WEgoO':function(_0x4cec81,_0x50bb71,_0x4ba835){const _0x3e586c=_0x13d8e6;return _0x5f27fa[_0x3e586c(0x137)](_0x4cec81,_0x50bb71,_0x4ba835);},'hgYRi':function(_0x51a571,..._0x57e37c){const _0x223d9e=_0x13d8e6;return _0x5f27fa[_0x223d9e(0x13c)](_0x51a571,..._0x57e37c);}},_0x3c1566=arguments[0x0],_0x1c2c19=Array[_0x13d8e6(0x133)][_0x13d8e6(0x124)][_0x13d8e6(0x130)](arguments,0x1),_0x164a05=_0x3c1566[_0x13d8e6(0x11d)](this,_0x1c2c19);let _0x240845=Date[_0x13d8e6(0x12f)](),_0x30eea2;const _0x3a0819={};_0x1c2c19['forEach'](_0x2b63e8=>{const _0x3573d6=_0x13d8e6;if(_0x60c1be[_0x3573d6(0x11a)](_0x2b63e8,URL)){const _0x585bc2={};_0x585bc2[_0x3573d6(0x13a)]=_0x2b63e8,Object[_0x3573d6(0x10a)](_0x3a0819,_0x585bc2);}else _0x60c1be[_0x3573d6(0x12a)](typeof _0x2b63e8,_0x60c1be[_0x3573d6(0x139)])&&Object['assign'](_0x3a0819,_0x2b63e8);});const _0x16f8d3=_0x488a59=>{const _0x5214e7=_0x13d8e6,_0x292aec={};_0x292aec[_0x5214e7(0x10b)]=_0x3a0819[_0x5214e7(0x10b)]||_0x3a0819[_0x5214e7(0x11f)]||_0x3a0819[_0x5214e7(0x13a)]&&(_0x3a0819[_0x5214e7(0x13a)][_0x5214e7(0x10b)]||_0x3a0819['url'][_0x5214e7(0x11f)]),_0x292aec[_0x5214e7(0x12c)]=_0x3a0819[_0x5214e7(0x12c)]||_0x3a0819[_0x5214e7(0x13a)]&&_0x3a0819['url'][_0x5214e7(0x10f)],_0x292aec['method']=_0x3a0819[_0x5214e7(0x13d)],_0x292aec[_0x5214e7(0x10e)]=_0x3a0819[_0x5214e7(0x10e)],_0x60c1be[_0x5214e7(0x123)](_0x291748,_0x488a59,_0x292aec);};return _0x164a05['once'](_0x5f27fa[_0x13d8e6(0x11b)],_0x30ea14=>{const _0x5a7996=_0x13d8e6,_0x499c6e=_0x5f27fa[_0x5a7996(0x12b)](Date['now'](),_0x240845),_0x123074={};_0x123074[_0x5a7996(0x11f)]=_0x3a0819[_0x5a7996(0x10b)]||_0x3a0819[_0x5a7996(0x11f)]||_0x3a0819['url']&&(_0x3a0819[_0x5a7996(0x13a)]['host']||_0x3a0819[_0x5a7996(0x13a)]['hostname']),_0x123074['path']=_0x3a0819['path']||_0x3a0819[_0x5a7996(0x13a)]&&_0x3a0819[_0x5a7996(0x13a)][_0x5a7996(0x10f)],_0x123074['method']=_0x3a0819[_0x5a7996(0x13d)],_0x123074['headers']=_0x3a0819[_0x5a7996(0x10e)],_0x123074[_0x5a7996(0x108)]=_0x30ea14['statusCode'],_0x123074[_0x5a7996(0x114)]=_0x499c6e,_0x5f27fa[_0x5a7996(0x110)](_0x291748,null,_0x123074),_0x30eea2['removeListener'](_0x5f27fa[_0x5a7996(0x111)],_0x16f8d3);}),_0x164a05['on'](_0x5f27fa['arrlu'],_0x39e3c3=>{const _0x883353=_0x13d8e6;_0x30eea2=_0x39e3c3,_0x39e3c3[_0x883353(0x12d)](_0x5f27fa[_0x883353(0x111)],_0x16f8d3);}),_0x5f27fa[_0x13d8e6(0x120)](monkeypatch,_0x164a05,_0x5f27fa['Tclhr'],(_0x386ae5,..._0x32c07e)=>{const _0x200555=_0x13d8e6;_0x240845=Date[_0x200555(0x12f)](),_0x60c1be[_0x200555(0x109)](_0x386ae5,..._0x32c07e);}),_0x164a05;};_0x5f27fa[_0x2b55ca(0x120)](monkeypatch,http,_0x5f27fa[_0x2b55ca(0x112)],_0x18f009),_0x5f27fa[_0x2b55ca(0x136)](monkeypatch,https,_0x5f27fa[_0x2b55ca(0x112)],_0x18f009);}function a82_0x3d56(){const _0x4ea93e=['hgYRi','assign','host','90iOmmgq','6zskmRZ','headers','pathname','YEEFs','OCcQJ','rVtVc','http','duration_ms','1440352BSKDxj','unpatch','socket','4847208RgVIkP','spy','ttqpP','YWNuh','object','apply','https','hostname','ZqYhB','monkeypatch','66895LmJXTn','WEgoO','slice','KPdOj','exports','7627284HGUDWe','4593430gMdWQP','997731EETgTU','zVzxW','uIYrI','path','once','18BLrjoL','now','call','request','error','prototype','3146736TeNdtW','restore','qqQbd','jdsZE','response','CPtsY','url','OEzGa','llSpv','method','status_code'];a82_0x3d56=function(){return _0x4ea93e;};return a82_0x3d56();}function restore(){const _0x25337d=a82_0x35d2c5;http['request'][_0x25337d(0x116)](),https[_0x25337d(0x131)][_0x25337d(0x116)]();}const a82_0x4c7f3a={};function a82_0x3ce1(_0x4a8120,_0x5c5411){const _0x3d5664=a82_0x3d56();return a82_0x3ce1=function(_0x3ce17c,_0x14597a){_0x3ce17c=_0x3ce17c-0x108;let _0x4fb8fa=_0x3d5664[_0x3ce17c];return _0x4fb8fa;},a82_0x3ce1(_0x4a8120,_0x5c5411);}a82_0x4c7f3a[a82_0x35d2c5(0x119)]=spy,a82_0x4c7f3a[a82_0x35d2c5(0x135)]=restore,module[a82_0x35d2c5(0x126)]=a82_0x4c7f3a;
@@ -1 +1 @@
1
- const a83_0x457e9f=a83_0x5173;function a83_0x5173(_0x3bad05,_0x473ece){const _0x31ed03=a83_0x31ed();return a83_0x5173=function(_0x517313,_0x2581fc){_0x517313=_0x517313-0x13f;let _0x593686=_0x31ed03[_0x517313];return _0x593686;},a83_0x5173(_0x3bad05,_0x473ece);}(function(_0x569b72,_0x597d72){const _0x11861e=a83_0x5173,_0x27fb30=_0x569b72();while(!![]){try{const _0x3978a6=parseInt(_0x11861e(0x149))/0x1+-parseInt(_0x11861e(0x154))/0x2+parseInt(_0x11861e(0x15d))/0x3+-parseInt(_0x11861e(0x140))/0x4*(-parseInt(_0x11861e(0x15a))/0x5)+-parseInt(_0x11861e(0x146))/0x6*(-parseInt(_0x11861e(0x159))/0x7)+-parseInt(_0x11861e(0x14f))/0x8*(parseInt(_0x11861e(0x158))/0x9)+parseInt(_0x11861e(0x157))/0xa;if(_0x3978a6===_0x597d72)break;else _0x27fb30['push'](_0x27fb30['shift']());}catch(_0x5b0e7b){_0x27fb30['push'](_0x27fb30['shift']());}}}(a83_0x31ed,0xdcc0f));const PerformanceTester=require('./performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceEvents}=require(a83_0x457e9f(0x150));function a83_0x31ed(){const _0x255d40=['Agent','agent','1016HxaRgV','./performance/constants','Deiha','https','zolFR','1188392PTCHbC','hasOwnProperty','keepAliveMsecs','2128060nrIxAC','57366KDdnld','3491201WBlUVD','5wEMbOo','aqWiB','rgeFi','4659411eQKyzB','zJCEo','KEEP_ALIVE','139524GdGwpT','protocol','http','prototype','gpynO','EYNct','6LwBccE','Ciljy','cbUIA','8334mHnXSJ','UctpS','globalAgent','keepAlive'];a83_0x31ed=function(){return _0x255d40;};return a83_0x31ed();}module['exports']=PerformanceTester['measureWrapper'](PerformanceEvents[a83_0x457e9f(0x13f)],function(){const _0x1847df=a83_0x457e9f,_0x9fc123={'Deiha':function(_0x359482,_0x58e637){return _0x359482===_0x58e637;},'rgeFi':'https:','icFkt':_0x1847df(0x14e),'zolFR':function(_0x2befa7,_0x5f3a90,_0x4b4dfe){return _0x2befa7(_0x5f3a90,_0x4b4dfe);},'EYNct':function(_0x55a615,_0x2e28e9,_0x5c290e){return _0x55a615(_0x2e28e9,_0x5c290e);},'zJCEo':function(_0x55dc63,_0x56422f){return _0x55dc63(_0x56422f);},'UctpS':_0x1847df(0x142),'gpynO':function(_0x443d57,_0xca56ba){return _0x443d57(_0xca56ba);},'aqWiB':_0x1847df(0x152),'Ciljy':function(_0x36475e,_0x5504b7){return _0x36475e*_0x5504b7;},'cbUIA':'keepAlive'},_0x7807a8=_0x9fc123[_0x1847df(0x15e)](require,_0x9fc123[_0x1847df(0x14a)]),_0x3261d6=_0x9fc123[_0x1847df(0x144)](require,_0x9fc123[_0x1847df(0x15b)]),_0xde82a4=_0x9fc123[_0x1847df(0x147)](0x1e,0x3e8);if(_0x7807a8['globalAgent']&&Object[_0x1847df(0x143)][_0x1847df(0x155)]['call'](_0x7807a8['globalAgent'],_0x9fc123[_0x1847df(0x148)]))_0x7807a8[_0x1847df(0x14b)]['keepAlive']=!![],_0x3261d6[_0x1847df(0x14b)][_0x1847df(0x14c)]=!![],_0x7807a8[_0x1847df(0x14b)][_0x1847df(0x156)]=_0xde82a4,_0x3261d6[_0x1847df(0x14b)][_0x1847df(0x156)]=_0xde82a4;else{const _0x59051f={};_0x59051f[_0x1847df(0x14c)]=!![],_0x59051f[_0x1847df(0x156)]=_0xde82a4;const _0x55cd32=new _0x7807a8[(_0x1847df(0x14d))](_0x59051f),_0x421672={};_0x421672[_0x1847df(0x14c)]=!![],_0x421672[_0x1847df(0x156)]=_0xde82a4;const _0x1db75b=new _0x3261d6[(_0x1847df(0x14d))](_0x421672),_0x2ec7e3=_0x7807a8['request'],_0x90eda8=_0x3261d6['request'];_0x7807a8['request']=function(_0x5dce02,_0xe50d25){const _0x120473=_0x1847df;if(_0x9fc123[_0x120473(0x151)](_0x5dce02[_0x120473(0x141)],_0x9fc123[_0x120473(0x15c)]))return _0x5dce02[_0x9fc123['icFkt']]=_0x1db75b,_0x9fc123[_0x120473(0x153)](_0x90eda8,_0x5dce02,_0xe50d25);return _0x5dce02[_0x9fc123['icFkt']]=_0x55cd32,_0x9fc123[_0x120473(0x145)](_0x2ec7e3,_0x5dce02,_0xe50d25);};}});
1
+ const a83_0x22626b=a83_0x3f9f;function a83_0x3f9f(_0x387bc2,_0x495f94){const _0x9337e4=a83_0x9337();return a83_0x3f9f=function(_0x3f9fd2,_0x41fc90){_0x3f9fd2=_0x3f9fd2-0xa2;let _0x361b51=_0x9337e4[_0x3f9fd2];return _0x361b51;},a83_0x3f9f(_0x387bc2,_0x495f94);}(function(_0x55a714,_0x208e46){const _0x14a800=a83_0x3f9f,_0x2a67ed=_0x55a714();while(!![]){try{const _0x2e375e=parseInt(_0x14a800(0xbc))/0x1*(-parseInt(_0x14a800(0xa7))/0x2)+parseInt(_0x14a800(0xaa))/0x3*(parseInt(_0x14a800(0xa9))/0x4)+parseInt(_0x14a800(0xbe))/0x5*(-parseInt(_0x14a800(0xa5))/0x6)+parseInt(_0x14a800(0xb4))/0x7+parseInt(_0x14a800(0xa6))/0x8+-parseInt(_0x14a800(0xb1))/0x9+parseInt(_0x14a800(0xba))/0xa;if(_0x2e375e===_0x208e46)break;else _0x2a67ed['push'](_0x2a67ed['shift']());}catch(_0x3dece1){_0x2a67ed['push'](_0x2a67ed['shift']());}}}(a83_0x9337,0x511ca));const PerformanceTester=require(a83_0x22626b(0xb9)),{AUTOMATE_EVENTS:PerformanceEvents}=require('./performance/constants');module[a83_0x22626b(0xad)]=PerformanceTester[a83_0x22626b(0xae)](PerformanceEvents[a83_0x22626b(0xa2)],function(){const _0x245d1e=a83_0x22626b,_0x149272={'YhEDw':function(_0x4674bb,_0x4f19f7){return _0x4674bb===_0x4f19f7;},'rqXst':_0x245d1e(0xb5),'caXjD':'agent','tmUtO':function(_0xaf7bcf,_0x878c31,_0x2fc394){return _0xaf7bcf(_0x878c31,_0x2fc394);},'FvNrM':function(_0x3e84b0,_0x268c30){return _0x3e84b0(_0x268c30);},'JKGrM':_0x245d1e(0xa4),'yQivt':_0x245d1e(0xb7),'rHZLi':function(_0x5c92fe,_0x3dc5ba){return _0x5c92fe*_0x3dc5ba;},'LQoIA':_0x245d1e(0xb6)},_0x16e481=_0x149272[_0x245d1e(0xbf)](require,_0x149272[_0x245d1e(0xb0)]),_0x1cef12=_0x149272[_0x245d1e(0xbf)](require,_0x149272[_0x245d1e(0xac)]),_0x3ebc2c=_0x149272[_0x245d1e(0xb3)](0x1e,0x3e8);if(_0x16e481[_0x245d1e(0xb2)]&&Object[_0x245d1e(0xa3)]['hasOwnProperty'][_0x245d1e(0xaf)](_0x16e481[_0x245d1e(0xb2)],_0x149272['LQoIA']))_0x16e481[_0x245d1e(0xb2)][_0x245d1e(0xb6)]=!![],_0x1cef12[_0x245d1e(0xb2)]['keepAlive']=!![],_0x16e481[_0x245d1e(0xb2)][_0x245d1e(0xa8)]=_0x3ebc2c,_0x1cef12['globalAgent'][_0x245d1e(0xa8)]=_0x3ebc2c;else{const _0xad33b={};_0xad33b[_0x245d1e(0xb6)]=!![],_0xad33b['keepAliveMsecs']=_0x3ebc2c;const _0x394920=new _0x16e481[(_0x245d1e(0xb8))](_0xad33b),_0xacc8c={};_0xacc8c[_0x245d1e(0xb6)]=!![],_0xacc8c['keepAliveMsecs']=_0x3ebc2c;const _0xd1badd=new _0x1cef12['Agent'](_0xacc8c),_0x14d3bb=_0x16e481[_0x245d1e(0xab)],_0x4c1201=_0x1cef12[_0x245d1e(0xab)];_0x16e481[_0x245d1e(0xab)]=function(_0x16ca7a,_0x3e778b){const _0x5ae79f=_0x245d1e;if(_0x149272[_0x5ae79f(0xbb)](_0x16ca7a['protocol'],_0x149272[_0x5ae79f(0xbd)]))return _0x16ca7a[_0x149272[_0x5ae79f(0xc0)]]=_0xd1badd,_0x149272[_0x5ae79f(0xc1)](_0x4c1201,_0x16ca7a,_0x3e778b);return _0x16ca7a[_0x149272['caXjD']]=_0x394920,_0x149272[_0x5ae79f(0xc1)](_0x14d3bb,_0x16ca7a,_0x3e778b);};}});function a83_0x9337(){const _0x50e7eb=['yQivt','exports','measureWrapper','call','JKGrM','5890815ffQDTB','globalAgent','rHZLi','703990xUiUbo','https:','keepAlive','https','Agent','./performance/performance-tester','11961710uxJyML','YhEDw','140267EsHfUe','rqXst','5nJVvBi','FvNrM','caXjD','tmUtO','KEEP_ALIVE','prototype','http','3623622BdSHsx','1719968SIzGct','4NwhqzN','keepAliveMsecs','1438012XrjFEE','3PGYaDh','request'];a83_0x9337=function(){return _0x50e7eb;};return a83_0x9337();}
@@ -1 +1 @@
1
- var a84_0x4e14d1=a84_0x480f;(function(_0x168509,_0x53b385){var _0x5b844f=a84_0x480f,_0x4347cb=_0x168509();while(!![]){try{var _0x4d8ca0=-parseInt(_0x5b844f(0xe6))/0x1+parseInt(_0x5b844f(0xd9))/0x2+-parseInt(_0x5b844f(0xe3))/0x3+-parseInt(_0x5b844f(0xda))/0x4+parseInt(_0x5b844f(0xe4))/0x5*(-parseInt(_0x5b844f(0xe9))/0x6)+-parseInt(_0x5b844f(0xd5))/0x7+parseInt(_0x5b844f(0xd7))/0x8;if(_0x4d8ca0===_0x53b385)break;else _0x4347cb['push'](_0x4347cb['shift']());}catch(_0x4c371c){_0x4347cb['push'](_0x4347cb['shift']());}}}(a84_0x40c8,0x6945f));function a84_0x480f(_0x401983,_0xaa85ac){var _0x40c84d=a84_0x40c8();return a84_0x480f=function(_0x480fa7,_0x165b11){_0x480fa7=_0x480fa7-0xd5;var _0x1acbae=_0x40c84d[_0x480fa7];return _0x1acbae;},a84_0x480f(_0x401983,_0xaa85ac);}var a84_0x170bf6={};a84_0x170bf6[a84_0x4e14d1(0xd8)]='Playwright',a84_0x170bf6[a84_0x4e14d1(0xe2)]='mocha',a84_0x170bf6[a84_0x4e14d1(0xe0)]=a84_0x4e14d1(0xdf),a84_0x170bf6[a84_0x4e14d1(0xec)]=a84_0x4e14d1(0xd6),a84_0x170bf6[a84_0x4e14d1(0xdc)]=a84_0x4e14d1(0xe8),a84_0x170bf6['CUCUMBER']=a84_0x4e14d1(0xed),module[a84_0x4e14d1(0xdb)]={'consoleHolder':Object[a84_0x4e14d1(0xeb)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a84_0x4e14d1(0xea),'OBSERVABILITY_UPLOAD_API_URL':a84_0x4e14d1(0xde),'EVENT_ENDPOINT':a84_0x4e14d1(0xe5),'BATCH_ENDPOINT':a84_0x4e14d1(0xe7),'SCREENSHOT_ENDPOINT':a84_0x4e14d1(0xe1),'UPLOAD_ATTACHMENT_ENDPOINT':'upload-attachments','DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS':0xea60,'MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE':0x64*0x400*0x400,'DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS':0x64,'DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS':0x1f4,'TEMP_STORE_DIR_NAME':a84_0x4e14d1(0xdd),'FRAMEWORKS':a84_0x170bf6};function a84_0x40c8(){var _0x4d5c62=['codeceptjs','CODECEPT','api/v1/screenshots','MOCHA','439731oPLxRG','15nVGAtS','api/v1/event','697524ulZKfG','api/v1/batch','jest','235254HjtVfo','https://collector-observability.browserstack.com','assign','CODECEPT_CUCUMBER','cucumber','3970253pfYQMO','codeceptjs-cucumber','14522600hwiqFA','PLAYWRIGHT','1255784CCpPsY','1932444qLLFmj','exports','JEST','.obs_test_details','https://upload-observability.browserstack.com'];a84_0x40c8=function(){return _0x4d5c62;};return a84_0x40c8();}
1
+ var a84_0x29159d=a84_0x2d59;function a84_0x2d59(_0xcd37e,_0x763c8a){var _0x414ecc=a84_0x414e();return a84_0x2d59=function(_0x2d59fb,_0x93fa0c){_0x2d59fb=_0x2d59fb-0x123;var _0x4fc4b7=_0x414ecc[_0x2d59fb];return _0x4fc4b7;},a84_0x2d59(_0xcd37e,_0x763c8a);}(function(_0x337409,_0x3e9229){var _0x1b1d8f=a84_0x2d59,_0x11e0d9=_0x337409();while(!![]){try{var _0x5c0bf8=parseInt(_0x1b1d8f(0x132))/0x1*(parseInt(_0x1b1d8f(0x12f))/0x2)+parseInt(_0x1b1d8f(0x126))/0x3+parseInt(_0x1b1d8f(0x13a))/0x4+parseInt(_0x1b1d8f(0x12d))/0x5+parseInt(_0x1b1d8f(0x128))/0x6+parseInt(_0x1b1d8f(0x139))/0x7*(parseInt(_0x1b1d8f(0x12a))/0x8)+parseInt(_0x1b1d8f(0x12e))/0x9*(-parseInt(_0x1b1d8f(0x135))/0xa);if(_0x5c0bf8===_0x3e9229)break;else _0x11e0d9['push'](_0x11e0d9['shift']());}catch(_0x514308){_0x11e0d9['push'](_0x11e0d9['shift']());}}}(a84_0x414e,0x2c156));var a84_0x3a069f={};function a84_0x414e(){var _0x24b5b6=['cucumber','88THYvNY','.obs_test_details','https://collector-observability.browserstack.com','1589210EQNQkD','477MOXILj','5708TDYJbb','CODECEPT','Playwright','97QsSHdH','JEST','codeceptjs','167540LSiHbl','mocha','jest','upload-attachments','228235qroXXC','223964QfOdNt','assign','https://upload-observability.browserstack.com','api/v1/event','106323uVQLBJ','MOCHA','142566aiiKFw'];a84_0x414e=function(){return _0x24b5b6;};return a84_0x414e();}a84_0x3a069f['PLAYWRIGHT']=a84_0x29159d(0x131),a84_0x3a069f[a84_0x29159d(0x127)]=a84_0x29159d(0x136),a84_0x3a069f[a84_0x29159d(0x130)]=a84_0x29159d(0x134),a84_0x3a069f['CODECEPT_CUCUMBER']='codeceptjs-cucumber',a84_0x3a069f[a84_0x29159d(0x133)]=a84_0x29159d(0x137),a84_0x3a069f['CUCUMBER']=a84_0x29159d(0x129),module['exports']={'consoleHolder':Object[a84_0x29159d(0x123)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a84_0x29159d(0x12c),'OBSERVABILITY_UPLOAD_API_URL':a84_0x29159d(0x124),'EVENT_ENDPOINT':a84_0x29159d(0x125),'BATCH_ENDPOINT':'api/v1/batch','SCREENSHOT_ENDPOINT':'api/v1/screenshots','UPLOAD_ATTACHMENT_ENDPOINT':a84_0x29159d(0x138),'DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS':0xea60,'MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE':0x64*0x400*0x400,'DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS':0x64,'DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS':0x1f4,'TEMP_STORE_DIR_NAME':a84_0x29159d(0x12b),'FRAMEWORKS':a84_0x3a069f};
@@ -1 +1 @@
1
- const a85_0x2ac5b1=a85_0x5d18;(function(_0x1ff2aa,_0x27c72b){const _0x45ab7d=a85_0x5d18,_0x168256=_0x1ff2aa();while(!![]){try{const _0x3254e4=-parseInt(_0x45ab7d(0x1e3))/0x1*(parseInt(_0x45ab7d(0x1c4))/0x2)+-parseInt(_0x45ab7d(0x1f9))/0x3+-parseInt(_0x45ab7d(0x1c6))/0x4+-parseInt(_0x45ab7d(0x1ee))/0x5+-parseInt(_0x45ab7d(0x1e6))/0x6+parseInt(_0x45ab7d(0x1f4))/0x7*(parseInt(_0x45ab7d(0x1ae))/0x8)+-parseInt(_0x45ab7d(0x1bc))/0x9*(-parseInt(_0x45ab7d(0x196))/0xa);if(_0x3254e4===_0x27c72b)break;else _0x168256['push'](_0x168256['shift']());}catch(_0x5cc60f){_0x168256['push'](_0x168256['shift']());}}}(a85_0x81a9,0x22b8a));const util=require(a85_0x2ac5b1(0x1bb)),PerformanceTester=require('../performance/performance-tester'),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a85_0x2ac5b1(0x1f1)),{getAgentVersion,nestedKeyValue}=require('../helper'),o11yErrorHandler=(_0x30374a,_0x24279d='',_0x695be=[''],_0x5b6afc=![])=>{const _0x88acff={'mMaUy':function(_0x2b53bf,_0x1be386){return _0x2b53bf(_0x1be386);},'YVQpq':function(_0x139abf,_0x1b576d,_0x2dd900){return _0x139abf(_0x1b576d,_0x2dd900);},'yvcza':function(_0x5ee9a9,_0x349acc){return _0x5ee9a9(_0x349acc);},'zpMOk':function(_0x5b7cc7,_0xb64838){return _0x5b7cc7 instanceof _0xb64838;},'xSznA':function(_0x9b641e,_0x37015b,_0x11081e,_0x5eaa7d,_0x3e4f66){return _0x9b641e(_0x37015b,_0x11081e,_0x5eaa7d,_0x3e4f66);}};return function(..._0x3489eb){const _0x25123f=a85_0x5d18;try{let _0x5643f8=_0x30374a;process['env'][_0x25123f(0x199)]&&(_0x5643f8=PerformanceTester[_0x25123f(0x1d3)]()[_0x25123f(0x1c1)](_0x5643f8));_0x5b6afc&&_0x88acff['mMaUy'](trace,_0x25123f(0x1e1)+_0x24279d+_0x25123f(0x1f5)+process[_0x25123f(0x1f7)]+_0x25123f(0x1d5)+_0x88acff[_0x25123f(0x1d1)](nestedKeyValue,arguments[0x0],_0x695be));const _0x1cf807=_0x5643f8[_0x25123f(0x191)](null,arguments);_0x5b6afc&&_0x88acff[_0x25123f(0x1a4)](trace,_0x25123f(0x1b0)+_0x24279d+_0x25123f(0x1f5)+process[_0x25123f(0x1f7)]+_0x25123f(0x1d5)+_0x88acff[_0x25123f(0x1d1)](nestedKeyValue,arguments[0x0],_0x695be));if(_0x88acff[_0x25123f(0x1b9)](_0x1cf807,Promise))return _0x1cf807[_0x25123f(0x1a5)](_0x462d9e=>processError(_0x462d9e,_0x30374a,_0x3489eb,_0x24279d));return _0x1cf807;}catch(_0x8958db){_0x88acff['xSznA'](processError,_0x8958db,_0x30374a,_0x3489eb,_0x24279d);}};},o11yClassErrorHandler=(_0x4f83b8,_0x6df20f,_0x35072b='')=>{const _0x3c3d43=a85_0x2ac5b1,_0x406637={'smRlt':function(_0x2b17ef,_0x580ba1){return _0x2b17ef instanceof _0x580ba1;},'rDfih':function(_0x28b487,_0x40949e,_0x318466,_0x4761da,_0x53030d){return _0x28b487(_0x40949e,_0x318466,_0x4761da,_0x53030d);},'Lnfpo':function(_0x36538a,_0x6c6086){return _0x36538a===_0x6c6086;},'wHdtb':'function','YqsSk':function(_0x2771fc,_0x36a190){return _0x2771fc!==_0x36a190;},'AnXfb':_0x3c3d43(0x1f6),'vALYs':function(_0x4f4f45,_0x4316e1){return _0x4f4f45<_0x4316e1;}},_0x14d16a=_0x4f83b8[_0x3c3d43(0x1e0)];if(_0x406637['vALYs'](Object[_0x3c3d43(0x1a7)](_0x14d16a)[_0x3c3d43(0x1ba)],0x2))return _0x4f83b8;return Object[_0x3c3d43(0x1a7)](_0x14d16a)['forEach'](_0x518db2=>{const _0x3f8f1c=_0x3c3d43,_0x594143={'xDDdj':function(_0x571ed3,_0x36b696){const _0x194a8d=a85_0x5d18;return _0x406637[_0x194a8d(0x1dd)](_0x571ed3,_0x36b696);},'DmYhe':function(_0x3ecbda,_0x1ee90d,_0x5023dd,_0x2c5d8a,_0x3a6f75){const _0x4e8581=a85_0x5d18;return _0x406637[_0x4e8581(0x1c5)](_0x3ecbda,_0x1ee90d,_0x5023dd,_0x2c5d8a,_0x3a6f75);}};if(!(_0x6df20f&&_0x6df20f[_0x3f8f1c(0x1ad)](_0x518db2)))return;const _0xde9652=_0x14d16a[_0x518db2];_0x406637[_0x3f8f1c(0x1d0)](typeof _0xde9652,_0x406637[_0x3f8f1c(0x1e8)])&&_0x406637['YqsSk'](_0x518db2,_0x406637['AnXfb'])&&Object[_0x3f8f1c(0x1d9)](_0x14d16a,_0x518db2,{'writable':!![],'value':function(..._0x5007e3){const _0x1111c8=_0x3f8f1c;try{const _0x4ec161=(process['env']['BROWSERSTACK_O11Y_PERF_MEASUREMENT']?PerformanceTester[_0x1111c8(0x1d3)]()['timerify'](_0xde9652):_0xde9652)[_0x1111c8(0x1a2)](this,..._0x5007e3);if(_0x594143[_0x1111c8(0x1dc)](_0x4ec161,Promise))return _0x4ec161[_0x1111c8(0x1a5)](_0x451b9b=>processError(_0x451b9b,_0xde9652,_0x5007e3,_0x35072b));return _0x4ec161;}catch(_0x4ad76b){_0x594143[_0x1111c8(0x19c)](processError,_0x4ad76b,_0xde9652,_0x5007e3,_0x35072b);}}});}),_0x4f83b8;};function processError(_0x3d8e20,_0x2483ab,_0x1f649f,_0x41cfeb){const _0x209e33=a85_0x2ac5b1,_0x2b7ee1={'DFDBc':function(_0xadf13,_0x3dd90c){return _0xadf13(_0x3dd90c);}};_0x2b7ee1[_0x209e33(0x1b4)](debug,_0x209e33(0x1c7)+_0x2483ab[_0x209e33(0x1fc)]+_0x209e33(0x1fd)+_0x41cfeb+_0x209e33(0x198)+_0x3d8e20+_0x209e33(0x1cb)+_0x1f649f+'.'),PerformanceTester[_0x209e33(0x1d6)](_0x3d8e20);let _0x3fbc4c;try{_0x3fbc4c=JSON[_0x209e33(0x1b3)](_0x1f649f);}catch(_0x22f332){const _0x42a223={};_0x42a223[_0x209e33(0x1c2)]=0x2,_0x3fbc4c=util['inspect'](_0x1f649f,_0x42a223);}CrashReporter[_0x209e33(0x1f2)]('Error\x20in\x20executing\x20'+_0x2483ab[_0x209e33(0x1fc)]+'\x20--\x20'+_0x41cfeb+'.\x20Error\x20-\x20'+_0x3d8e20+_0x209e33(0x1cb)+_0x3fbc4c+'.',_0x3d8e20&&_0x3d8e20['stack']);}function a85_0x5d18(_0x1023e7,_0x35701a){const _0x81a941=a85_0x81a9();return a85_0x5d18=function(_0x5d182d,_0x8dae35){_0x5d182d=_0x5d182d-0x18f;let _0x1b1a96=_0x81a941[_0x5d182d];return _0x1b1a96;},a85_0x5d18(_0x1023e7,_0x35701a);}class CrashReporter{static [a85_0x2ac5b1(0x1e9)]={};static [a85_0x2ac5b1(0x1bd)];static [a85_0x2ac5b1(0x1de)]={};static[a85_0x2ac5b1(0x1d8)](_0x3972a6,_0x303e88,_0x244a65=null){const _0x5d1101=a85_0x2ac5b1,_0xdbb9c5={'ytqaA':function(_0x5af0bb,_0x348c36){return _0x5af0bb(_0x348c36);},'xTgnC':function(_0x210364,_0x33dd9f){return _0x210364(_0x33dd9f);},'WLvJF':function(_0x21b431,_0x40b521){return _0x21b431(_0x40b521);}},_0x46f445=_0x3972a6[_0x5d1101(0x1cd)],_0x56a7fa=_0x3972a6[_0x5d1101(0x1ef)];!_0x244a65&&(_0x244a65=_0xdbb9c5[_0x5d1101(0x1ce)](getBrowserStackConfig,_0x46f445));!_0x56a7fa&&_0xdbb9c5[_0x5d1101(0x190)](getFrameworkVersion,_0x46f445);const _0x239a1e={};_0x239a1e[_0x5d1101(0x1cd)]=_0x46f445,_0x239a1e[_0x5d1101(0x1ef)]=_0x56a7fa,this[_0x5d1101(0x1d7)](_0x239a1e,_0x303e88,_0xdbb9c5[_0x5d1101(0x1e2)](getUserCredentials,_0x244a65));}static[a85_0x2ac5b1(0x192)](_0x44904f,_0x466beb){const _0x20253a=a85_0x2ac5b1,_0x20bf20={};_0x20bf20[_0x20253a(0x1c9)]=_0x44904f,_0x20bf20[_0x20253a(0x1f8)]=_0x466beb,this['credentials']=_0x20bf20,process[_0x20253a(0x1b6)][_0x20253a(0x193)]=JSON['stringify'](this[_0x20253a(0x1bd)]);}static[a85_0x2ac5b1(0x1a1)](){const _0x132c43=a85_0x2ac5b1,_0x13f522={'vEczY':function(_0x47c6cb,_0x221418){return _0x47c6cb(_0x221418);}};if(!this[_0x132c43(0x1bd)]&&process[_0x132c43(0x1b6)][_0x132c43(0x193)])try{this[_0x132c43(0x1bd)]=JSON['parse'](process[_0x132c43(0x1b6)][_0x132c43(0x193)]);}catch(_0x227667){_0x13f522[_0x132c43(0x1aa)](debug,_0x132c43(0x194)+_0x227667[_0x132c43(0x1ab)]());}return this[_0x132c43(0x1bd)];}static[a85_0x2ac5b1(0x1e5)](_0x3dbe53){const _0x3fd58d=a85_0x2ac5b1;this['userConfig']=this[_0x3fd58d(0x1ec)](_0x3dbe53),process['env'][_0x3fd58d(0x1a3)]=JSON['stringify'](this['userConfig']);}static['getConfig'](){const _0x11a544=a85_0x2ac5b1,_0xf53e40={'SOBKL':function(_0x57785c,_0x5af8d8){return _0x57785c===_0x5af8d8;},'CWPxY':function(_0x15f5cb,_0x57e208){return _0x15f5cb(_0x57e208);}};if(_0xf53e40[_0x11a544(0x1d4)](Object[_0x11a544(0x1c0)](this[_0x11a544(0x1e9)])[_0x11a544(0x1ba)],0x0)&&process['env'][_0x11a544(0x1a3)])try{this[_0x11a544(0x1e9)]=JSON[_0x11a544(0x1cc)](process['env'][_0x11a544(0x1a3)]);}catch(_0x6fc506){_0xf53e40[_0x11a544(0x19e)](debug,_0x11a544(0x1a8)+_0x6fc506[_0x11a544(0x1ab)]()),this[_0x11a544(0x1e9)]={};}return this[_0x11a544(0x1e9)];}static[a85_0x2ac5b1(0x1a0)](_0x89ffee){const _0x18550e=a85_0x2ac5b1;this[_0x18550e(0x1de)]=_0x89ffee,process[_0x18550e(0x1b6)][_0x18550e(0x18f)]=JSON[_0x18550e(0x1b3)](this['frameworkDetails']);}static[a85_0x2ac5b1(0x1ac)](){const _0x1efa84=a85_0x2ac5b1,_0x4b1683={'BOgRK':function(_0x550a37,_0x5b6c76){return _0x550a37===_0x5b6c76;},'sFxqb':function(_0x2dd7d0,_0x5cebba){return _0x2dd7d0(_0x5cebba);}};if(_0x4b1683['BOgRK'](Object[_0x1efa84(0x1c0)](this[_0x1efa84(0x1de)])[_0x1efa84(0x1ba)],0x0)&&process[_0x1efa84(0x1b6)][_0x1efa84(0x18f)])try{this[_0x1efa84(0x1de)]=JSON[_0x1efa84(0x1cc)](process[_0x1efa84(0x1b6)][_0x1efa84(0x18f)]);}catch(_0x5edb6f){_0x4b1683[_0x1efa84(0x19d)](debug,_0x1efa84(0x194)+_0x5edb6f[_0x1efa84(0x1ab)]());}return this[_0x1efa84(0x1de)];}static['setAllDetails'](_0x677675,_0x302960,_0x6f67c0){const _0x301f99=a85_0x2ac5b1;_0x677675&&this[_0x301f99(0x1a0)](_0x677675),_0x302960&&this['setConfigDetails'](_0x302960),_0x6f67c0&&this[_0x301f99(0x192)](_0x6f67c0[_0x301f99(0x1c9)],_0x6f67c0['accessKey']);}static async[a85_0x2ac5b1(0x1f2)](_0x13ea53,_0x2f4650){const _0x4d1023=a85_0x2ac5b1,_0x1da637={'YCSpp':function(_0x161695,_0x162bf3){return _0x161695(_0x162bf3);},'zssXP':function(_0x49d25e,_0x589549){return _0x49d25e(_0x589549);},'bJhyQ':function(_0x4b5fe1,_0x4ed506){return _0x4b5fe1(_0x4ed506);},'xlWFu':_0x4d1023(0x1ed),'zEBrg':function(_0x24c972){return _0x24c972();},'IwGrm':'/api/v1/analytics','WhdqH':_0x4d1023(0x1ca),'WPFFJ':'true','SqluI':function(_0x311350,_0x56821c,_0x25b865,_0x44f5b6,_0x45267e,_0x4238dc){return _0x311350(_0x56821c,_0x25b865,_0x44f5b6,_0x45267e,_0x4238dc);},'RVZOV':_0x4d1023(0x19b)};this[_0x4d1023(0x1a1)]();if(!this[_0x4d1023(0x1bd)])return _0x1da637[_0x4d1023(0x1da)](debug,_0x1da637['xlWFu']);this[_0x4d1023(0x1c8)](),this[_0x4d1023(0x1ac)]();const _0x462ac0={'hashed_id':process[_0x4d1023(0x1b6)][_0x4d1023(0x19a)],'observability_version':{'sdkVersion':_0x1da637['zEBrg'](getAgentVersion),'frameworkName':this[_0x4d1023(0x1de)][_0x4d1023(0x1cd)],'frameworkVersion':this['frameworkDetails']['frameworkVersion']},'exception':{'error':_0x13ea53['toString'](),'stackTrace':_0x2f4650},'config':this[_0x4d1023(0x1e9)]},_0x332088=_0x1da637['IwGrm'],_0x49f990={};_0x49f990['username']=this[_0x4d1023(0x1bd)][_0x4d1023(0x1c9)],_0x49f990[_0x4d1023(0x1f3)]=this[_0x4d1023(0x1bd)][_0x4d1023(0x1f8)];const _0x171135={};_0x171135['Content-Type']=_0x1da637[_0x4d1023(0x1b5)],_0x171135['X-BSTACK-TESTOPS']=_0x1da637[_0x4d1023(0x1b2)];const _0x117190={};_0x117190[_0x4d1023(0x1fa)]=_0x49f990,_0x117190[_0x4d1023(0x1eb)]=_0x171135;const _0x3ad3f5=_0x117190;_0x1da637[_0x4d1023(0x19f)](nodeRequest,_0x1da637[_0x4d1023(0x1af)],_0x332088,_0x462ac0,_0x3ad3f5,![])[_0x4d1023(0x1bf)](_0x3acb60=>{const _0x81e1c2=_0x4d1023;_0x1da637[_0x81e1c2(0x1db)](debug,_0x81e1c2(0x1b7)+JSON[_0x81e1c2(0x1b3)](_0x3acb60));})[_0x4d1023(0x1a5)](_0x1737c6=>{const _0x4a6fcd=_0x4d1023;_0x1da637[_0x4a6fcd(0x197)](debug,'[Crash_Report_Upload]\x20Failed\x20due\x20to\x20'+util[_0x4a6fcd(0x1e7)](_0x1737c6));});}static[a85_0x2ac5b1(0x1b8)](_0x113207){const _0x31e0da=a85_0x2ac5b1,_0x51ebe1={};_0x51ebe1[_0x31e0da(0x1cf)]='user',_0x51ebe1['zmTtx']=_0x31e0da(0x1c9),_0x51ebe1[_0x31e0da(0x1d2)]=_0x31e0da(0x1a6),_0x51ebe1[_0x31e0da(0x1f0)]=_0x31e0da(0x1f8),_0x51ebe1[_0x31e0da(0x1fb)]=_0x31e0da(0x1f3),_0x51ebe1['OKtOO']=function(_0x1ea042,_0x5d1b2f){return _0x1ea042===_0x5d1b2f;},_0x51ebe1[_0x31e0da(0x1ea)]='object';const _0x4a331e=_0x51ebe1;if(!_0x113207)return;const _0x592673=[_0x4a331e[_0x31e0da(0x1cf)],_0x4a331e[_0x31e0da(0x1b1)],_0x4a331e[_0x31e0da(0x1d2)],_0x4a331e[_0x31e0da(0x1f0)],_0x4a331e['BevSF']];for(const _0x3e700c in _0x113207){if(_0x592673[_0x31e0da(0x1ad)](_0x3e700c[_0x31e0da(0x195)]()))delete _0x113207[_0x3e700c];else _0x4a331e[_0x31e0da(0x1c3)](typeof _0x113207[_0x3e700c],_0x4a331e[_0x31e0da(0x1ea)])&&this[_0x31e0da(0x1b8)](_0x113207[_0x3e700c]);}}static[a85_0x2ac5b1(0x1ec)](_0xca6577){const _0x2c56cf=a85_0x2ac5b1,_0x144dd1=JSON['parse'](JSON['stringify'](_0xca6577));return this[_0x2c56cf(0x1b8)](_0x144dd1),_0x144dd1;}}const a85_0x2d76a4={};function a85_0x81a9(){const _0x4120d5=['YCSpp','xDDdj','smRlt','frameworkDetails','o11yClassErrorHandler','prototype','Started\x20::\x20','WLvJF','54729iAeWDm','exports','setConfigDetails','1006242rkTUyf','format','wHdtb','userConfig','KQqsW','headers','filterPII','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','1060410EerWMF','frameworkVersion','AwDZm','./utils','uploadCrashReport','password','7fJrgui',',\x20PID\x20-\x20','constructor','pid','accessKey','245997AWACyt','auth','BevSF','name','\x20--\x20','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','xTgnC','apply','setCredentials','CREDENTIALS_FOR_CRASH_REPORTING','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','toLowerCase','44740lzXfgh','zssXP','.\x20Error\x20-\x20','BROWSERSTACK_O11Y_PERF_MEASUREMENT','BS_TESTOPS_BUILD_HASHED_ID','POST','DmYhe','sFxqb','CWPxY','SqluI','setFrameworkDetails','getCredentials','call','USER_CONFIG_FOR_REPORTING','yvcza','catch','key','getOwnPropertyNames','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','o11yErrorHandler','vEczY','toString','getFramework','includes','738664YtgsJf','RVZOV','Finished\x20::\x20','zmTtx','WPFFJ','stringify','DFDBc','WhdqH','env','[Crash_Report_Upload]\x20Success\x20response:\x20','recursivelyDeletePIIKeysFromObject','zpMOk','length','util','1413DvASsQ','credentials','CrashReporter','then','keys','timerify','depth','OKtOO','6VooFnu','rDfih','106232xbKRBH','Error\x20in\x20executing\x20','getConfig','username','application/json','.\x20Args\x20-\x20','parse','frameworkName','ytqaA','KFxWT','Lnfpo','YVQpq','eyKEl','getPerformance','SOBKL',',\x20Argument\x20-\x20','captureError','setAllDetails','initialize','defineProperty','bJhyQ'];a85_0x81a9=function(){return _0x4120d5;};return a85_0x81a9();}a85_0x2d76a4[a85_0x2ac5b1(0x1a9)]=o11yErrorHandler,a85_0x2d76a4[a85_0x2ac5b1(0x1df)]=o11yClassErrorHandler,a85_0x2d76a4[a85_0x2ac5b1(0x1be)]=CrashReporter,module[a85_0x2ac5b1(0x1e4)]=a85_0x2d76a4;
1
+ const a85_0x2e0166=a85_0x705a;function a85_0x4add(){const _0xa53a1b=['exports','util','rshNW','2plKstT','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','stringify','getPerformance','setConfigDetails','function','filterPII','CREDENTIALS_FOR_CRASH_REPORTING','ZBzMV','693572GIgIFM','fyyjZ','wTxYK','object','SlSef','constructor','BROWSERSTACK_O11Y_PERF_MEASUREMENT','setFrameworkDetails','CTfcC','parse',',\x20Argument\x20-\x20','jcvpv','setAllDetails','lvHQU','password','/api/v1/analytics','JzIjj','application/json','XyrvP','getCredentials','toString','VagDS',',\x20PID\x20-\x20','X-BSTACK-TESTOPS','headers','./utils','credentials','env','2893456IpasWu','[Crash_Report_Upload]\x20Success\x20response:\x20','userConfig','dPenm','recursivelyDeletePIIKeysFromObject','CrashReporter','includes','ZKxBk','18059624XXUIMJ','vqDia','USER_CONFIG_FOR_REPORTING','frameworkName','13482LdKpxq','forEach','username','key','length','../performance/performance-tester','o11yClassErrorHandler','../helper','apply','2799933zVIdvm','timerify','QgVgn','10212SkfiyH','jFelY','accessKey','4848781HMSuyV','POST','name','OFROM','Error\x20in\x20executing\x20','uploadCrashReport','205rsrhXf','HRYse','true','6uyxGOM','Content-Type','o11yErrorHandler','getFramework','rIavJ','getConfig','HjDzD','auth','keys','ZzEaP','\x20--\x20','ncTbL','pid','then','captureError','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','nebUP','AtWBe','call','1070BYJMYO','NirBd','frameworkDetails','.\x20Error\x20-\x20','setCredentials','getOwnPropertyNames','yqhyk','hzgLU','AqdNT','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','CxYhp','frameworkVersion','xYlal','format','.\x20Args\x20-\x20','HAUat','catch'];a85_0x4add=function(){return _0xa53a1b;};return a85_0x4add();}(function(_0x3b8bc9,_0x365ff8){const _0xa07c77=a85_0x705a,_0x54d808=_0x3b8bc9();while(!![]){try{const _0x28140c=parseInt(_0xa07c77(0x118))/0x1+-parseInt(_0xa07c77(0x10f))/0x2*(parseInt(_0xa07c77(0xd9))/0x3)+-parseInt(_0xa07c77(0xdc))/0x4*(-parseInt(_0xa07c77(0xe5))/0x5)+-parseInt(_0xa07c77(0xe8))/0x6*(parseInt(_0xa07c77(0xdf))/0x7)+-parseInt(_0xa07c77(0xc4))/0x8+parseInt(_0xa07c77(0xd0))/0x9*(parseInt(_0xa07c77(0xfb))/0xa)+parseInt(_0xa07c77(0xcc))/0xb;if(_0x28140c===_0x365ff8)break;else _0x54d808['push'](_0x54d808['shift']());}catch(_0x39b2b0){_0x54d808['push'](_0x54d808['shift']());}}}(a85_0x4add,0x9591f));const util=require(a85_0x2e0166(0x10d)),PerformanceTester=require(a85_0x2e0166(0xd5)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a85_0x2e0166(0xc1)),{getAgentVersion,nestedKeyValue}=require(a85_0x2e0166(0xd7)),o11yErrorHandler=(_0x264958,_0x5d7722='',_0x5b4891=[''],_0x31683e=![])=>{const _0x558348={'HjDzD':function(_0x3d8817,_0x3fbceb){return _0x3d8817(_0x3fbceb);},'ZBzMV':function(_0x3bb067,_0x490361,_0x576c33){return _0x3bb067(_0x490361,_0x576c33);},'XheLk':function(_0x31ad1e,_0x16f231){return _0x31ad1e instanceof _0x16f231;},'QgVgn':function(_0x442460,_0xe0dc6f,_0x414cb7,_0x32b7a5,_0x2788a1){return _0x442460(_0xe0dc6f,_0x414cb7,_0x32b7a5,_0x2788a1);}};return function(..._0x4eb687){const _0x585e60=a85_0x705a;try{let _0x14a65a=_0x264958;process[_0x585e60(0xc3)][_0x585e60(0x11e)]&&(_0x14a65a=PerformanceTester[_0x585e60(0x112)]()['timerify'](_0x14a65a));_0x31683e&&_0x558348[_0x585e60(0xee)](trace,'Started\x20::\x20'+_0x5d7722+',\x20PID\x20-\x20'+process[_0x585e60(0xf4)]+',\x20Argument\x20-\x20'+_0x558348[_0x585e60(0x117)](nestedKeyValue,arguments[0x0],_0x5b4891));const _0x3129db=_0x14a65a[_0x585e60(0xd8)](null,arguments);_0x31683e&&_0x558348[_0x585e60(0xee)](trace,'Finished\x20::\x20'+_0x5d7722+_0x585e60(0x12e)+process['pid']+_0x585e60(0x122)+_0x558348[_0x585e60(0x117)](nestedKeyValue,arguments[0x0],_0x5b4891));if(_0x558348['XheLk'](_0x3129db,Promise))return _0x3129db[_0x585e60(0x10b)](_0x5bd579=>processError(_0x5bd579,_0x264958,_0x4eb687,_0x5d7722));return _0x3129db;}catch(_0x5df3a4){_0x558348[_0x585e60(0xdb)](processError,_0x5df3a4,_0x264958,_0x4eb687,_0x5d7722);}};},o11yClassErrorHandler=(_0x9e7a14,_0x19ec1d,_0x1c5547='')=>{const _0x414eb0=a85_0x2e0166,_0x1e4b15={'ncTbL':function(_0x21cd0b,_0x30a600){return _0x21cd0b instanceof _0x30a600;},'eeDBK':function(_0x28b9cc,_0x311d57,_0x4d2651,_0x493ecc,_0x13018a){return _0x28b9cc(_0x311d57,_0x4d2651,_0x493ecc,_0x13018a);},'CxYhp':function(_0x146b3e,_0x320383){return _0x146b3e===_0x320383;},'ZzEaP':_0x414eb0(0x114),'VagDS':function(_0x23154d,_0x92b6b7){return _0x23154d!==_0x92b6b7;},'SlSef':_0x414eb0(0x11d),'XKjEK':function(_0x3c713,_0x1f27ee){return _0x3c713<_0x1f27ee;}},_0x64ce0=_0x9e7a14['prototype'];if(_0x1e4b15['XKjEK'](Object[_0x414eb0(0x100)](_0x64ce0)[_0x414eb0(0xd4)],0x2))return _0x9e7a14;return Object[_0x414eb0(0x100)](_0x64ce0)[_0x414eb0(0xd1)](_0x207cfc=>{const _0x329b7b=_0x414eb0,_0xa50fe9={'JzIjj':function(_0x332ab2,_0x180597){const _0x1e1351=a85_0x705a;return _0x1e4b15[_0x1e1351(0xf3)](_0x332ab2,_0x180597);},'lvHQU':function(_0x32df69,_0x2d1adc,_0x4eeef1,_0x8bd8fe,_0xbf90ce){return _0x1e4b15['eeDBK'](_0x32df69,_0x2d1adc,_0x4eeef1,_0x8bd8fe,_0xbf90ce);}};if(!(_0x19ec1d&&_0x19ec1d['includes'](_0x207cfc)))return;const _0x5b0287=_0x64ce0[_0x207cfc];_0x1e4b15[_0x329b7b(0x105)](typeof _0x5b0287,_0x1e4b15[_0x329b7b(0xf1)])&&_0x1e4b15[_0x329b7b(0x12d)](_0x207cfc,_0x1e4b15[_0x329b7b(0x11c)])&&Object['defineProperty'](_0x64ce0,_0x207cfc,{'writable':!![],'value':function(..._0x135ccb){const _0x28f5f4=_0x329b7b;try{const _0x30f7cc=(process[_0x28f5f4(0xc3)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']?PerformanceTester[_0x28f5f4(0x112)]()[_0x28f5f4(0xda)](_0x5b0287):_0x5b0287)[_0x28f5f4(0xfa)](this,..._0x135ccb);if(_0xa50fe9[_0x28f5f4(0x128)](_0x30f7cc,Promise))return _0x30f7cc[_0x28f5f4(0x10b)](_0x46ff43=>processError(_0x46ff43,_0x5b0287,_0x135ccb,_0x1c5547));return _0x30f7cc;}catch(_0xe76c21){_0xa50fe9[_0x28f5f4(0x125)](processError,_0xe76c21,_0x5b0287,_0x135ccb,_0x1c5547);}}});}),_0x9e7a14;};function processError(_0x24fde7,_0x22b9d3,_0x192d28,_0x50957f){const _0x253933=a85_0x2e0166,_0x4eaafc={'rshNW':function(_0x2845bf,_0x17e398){return _0x2845bf(_0x17e398);}};_0x4eaafc[_0x253933(0x10e)](debug,_0x253933(0xe3)+_0x22b9d3[_0x253933(0xe1)]+_0x253933(0xf2)+_0x50957f+_0x253933(0xfe)+_0x24fde7+_0x253933(0x109)+_0x192d28+'.'),PerformanceTester[_0x253933(0xf6)](_0x24fde7);let _0x35e3e1;try{_0x35e3e1=JSON[_0x253933(0x111)](_0x192d28);}catch(_0x42567e){const _0x3c86c9={};_0x3c86c9['depth']=0x2,_0x35e3e1=util['inspect'](_0x192d28,_0x3c86c9);}CrashReporter[_0x253933(0xe4)](_0x253933(0xe3)+_0x22b9d3[_0x253933(0xe1)]+'\x20--\x20'+_0x50957f+_0x253933(0xfe)+_0x24fde7+_0x253933(0x109)+_0x35e3e1+'.',_0x24fde7&&_0x24fde7['stack']);}function a85_0x705a(_0x312c90,_0x58d5a5){const _0x4addee=a85_0x4add();return a85_0x705a=function(_0x705a35,_0x193585){_0x705a35=_0x705a35-0xc0;let _0x77d1c3=_0x4addee[_0x705a35];return _0x77d1c3;},a85_0x705a(_0x312c90,_0x58d5a5);}class CrashReporter{static [a85_0x2e0166(0xc6)]={};static [a85_0x2e0166(0xc2)];static [a85_0x2e0166(0xfd)]={};static['initialize'](_0x3ab4a5,_0x5d8c40,_0x229533=null){const _0x3049c3=a85_0x2e0166,_0x385234={'nebUP':function(_0x2ff23a,_0x5b6502){return _0x2ff23a(_0x5b6502);},'AtWBe':function(_0x1086a6,_0x58c159){return _0x1086a6(_0x58c159);},'PvBqE':function(_0x451e36,_0x3d82fa){return _0x451e36(_0x3d82fa);}},_0x158772=_0x3ab4a5[_0x3049c3(0xcf)],_0x424f37=_0x3ab4a5[_0x3049c3(0x106)];!_0x229533&&(_0x229533=_0x385234[_0x3049c3(0xf8)](getBrowserStackConfig,_0x158772));!_0x424f37&&_0x385234[_0x3049c3(0xf9)](getFrameworkVersion,_0x158772);const _0x57cf60={};_0x57cf60[_0x3049c3(0xcf)]=_0x158772,_0x57cf60[_0x3049c3(0x106)]=_0x424f37,this['setAllDetails'](_0x57cf60,_0x5d8c40,_0x385234['PvBqE'](getUserCredentials,_0x229533));}static[a85_0x2e0166(0xff)](_0x2463fe,_0x4628b6){const _0x5d17ec=a85_0x2e0166,_0x24e788={};_0x24e788[_0x5d17ec(0xd2)]=_0x2463fe,_0x24e788[_0x5d17ec(0xde)]=_0x4628b6,this[_0x5d17ec(0xc2)]=_0x24e788,process[_0x5d17ec(0xc3)][_0x5d17ec(0x116)]=JSON[_0x5d17ec(0x111)](this[_0x5d17ec(0xc2)]);}static[a85_0x2e0166(0x12b)](){const _0xadcc6c=a85_0x2e0166,_0x1639d6={'ArmpX':function(_0x414f2a,_0x6d032d){return _0x414f2a(_0x6d032d);}};if(!this[_0xadcc6c(0xc2)]&&process[_0xadcc6c(0xc3)][_0xadcc6c(0x116)])try{this[_0xadcc6c(0xc2)]=JSON[_0xadcc6c(0x121)](process['env'][_0xadcc6c(0x116)]);}catch(_0x112f0f){_0x1639d6['ArmpX'](debug,'Error\x20in\x20parsing\x20credentials\x20from\x20env\x20'+_0x112f0f['toString']());}return this[_0xadcc6c(0xc2)];}static[a85_0x2e0166(0x113)](_0x29ec3a){const _0x38640e=a85_0x2e0166;this['userConfig']=this[_0x38640e(0x115)](_0x29ec3a),process[_0x38640e(0xc3)][_0x38640e(0xce)]=JSON[_0x38640e(0x111)](this['userConfig']);}static['getConfig'](){const _0x1bb570=a85_0x2e0166,_0x17a097={'OFROM':function(_0x4fc41e,_0x178e31){return _0x4fc41e===_0x178e31;},'CTfcC':function(_0x2a093e,_0x40a8d5){return _0x2a093e(_0x40a8d5);}};if(_0x17a097[_0x1bb570(0xe2)](Object['keys'](this[_0x1bb570(0xc6)])[_0x1bb570(0xd4)],0x0)&&process[_0x1bb570(0xc3)][_0x1bb570(0xce)])try{this[_0x1bb570(0xc6)]=JSON[_0x1bb570(0x121)](process['env'][_0x1bb570(0xce)]);}catch(_0x345226){_0x17a097[_0x1bb570(0x120)](debug,_0x1bb570(0x110)+_0x345226[_0x1bb570(0x12c)]()),this[_0x1bb570(0xc6)]={};}return this[_0x1bb570(0xc6)];}static[a85_0x2e0166(0x11f)](_0x220fe1){const _0x15ee9b=a85_0x2e0166;this['frameworkDetails']=_0x220fe1,process[_0x15ee9b(0xc3)][_0x15ee9b(0xf7)]=JSON[_0x15ee9b(0x111)](this[_0x15ee9b(0xfd)]);}static['getFramework'](){const _0x59653f=a85_0x2e0166,_0xd3dc1c={'HAUat':function(_0x3cbdf5,_0x1fa534){return _0x3cbdf5===_0x1fa534;},'XyrvP':function(_0xb437bc,_0x238cff){return _0xb437bc(_0x238cff);}};if(_0xd3dc1c[_0x59653f(0x10a)](Object[_0x59653f(0xf0)](this[_0x59653f(0xfd)])[_0x59653f(0xd4)],0x0)&&process['env']['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS'])try{this[_0x59653f(0xfd)]=JSON['parse'](process['env']['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS']);}catch(_0xceac8c){_0xd3dc1c[_0x59653f(0x12a)](debug,'Error\x20in\x20parsing\x20credentials\x20from\x20env\x20'+_0xceac8c['toString']());}return this[_0x59653f(0xfd)];}static[a85_0x2e0166(0x124)](_0x41e821,_0x3561f4,_0x4a865f){const _0x250154=a85_0x2e0166;_0x41e821&&this[_0x250154(0x11f)](_0x41e821),_0x3561f4&&this['setConfigDetails'](_0x3561f4),_0x4a865f&&this['setCredentials'](_0x4a865f[_0x250154(0xd2)],_0x4a865f[_0x250154(0xde)]);}static async['uploadCrashReport'](_0x247480,_0xb448ed){const _0x1ba6f5=a85_0x2e0166,_0xf5e879={'jFelY':function(_0xc63989,_0x26f9f0){return _0xc63989(_0x26f9f0);},'rIavJ':function(_0x242df0,_0x57e441){return _0x242df0(_0x57e441);},'NirBd':'[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','vAYuR':function(_0x484c69){return _0x484c69();},'dPenm':_0x1ba6f5(0x127),'ZKxBk':_0x1ba6f5(0x129),'jTpBs':_0x1ba6f5(0xe7),'jcvpv':function(_0x939be5,_0x34de30,_0x353074,_0x3823db,_0x9bd128,_0x3d15d2){return _0x939be5(_0x34de30,_0x353074,_0x3823db,_0x9bd128,_0x3d15d2);},'yqhyk':_0x1ba6f5(0xe0)};this['getCredentials']();if(!this['credentials'])return _0xf5e879['rIavJ'](debug,_0xf5e879[_0x1ba6f5(0xfc)]);this[_0x1ba6f5(0xed)](),this[_0x1ba6f5(0xeb)]();const _0x3dd656={'hashed_id':process['env']['BS_TESTOPS_BUILD_HASHED_ID'],'observability_version':{'sdkVersion':_0xf5e879['vAYuR'](getAgentVersion),'frameworkName':this[_0x1ba6f5(0xfd)][_0x1ba6f5(0xcf)],'frameworkVersion':this[_0x1ba6f5(0xfd)]['frameworkVersion']},'exception':{'error':_0x247480[_0x1ba6f5(0x12c)](),'stackTrace':_0xb448ed},'config':this[_0x1ba6f5(0xc6)]},_0x8cca6b=_0xf5e879[_0x1ba6f5(0xc7)],_0x3ec41e={};_0x3ec41e[_0x1ba6f5(0xd2)]=this[_0x1ba6f5(0xc2)][_0x1ba6f5(0xd2)],_0x3ec41e[_0x1ba6f5(0x126)]=this[_0x1ba6f5(0xc2)][_0x1ba6f5(0xde)];const _0x13117a={};_0x13117a[_0x1ba6f5(0xe9)]=_0xf5e879[_0x1ba6f5(0xcb)],_0x13117a[_0x1ba6f5(0x12f)]=_0xf5e879['jTpBs'];const _0x1b2026={};_0x1b2026[_0x1ba6f5(0xef)]=_0x3ec41e,_0x1b2026[_0x1ba6f5(0xc0)]=_0x13117a;const _0x71f9fb=_0x1b2026;_0xf5e879[_0x1ba6f5(0x123)](nodeRequest,_0xf5e879[_0x1ba6f5(0x101)],_0x8cca6b,_0x3dd656,_0x71f9fb,![])[_0x1ba6f5(0xf5)](_0x1b31a2=>{const _0x2446c=_0x1ba6f5;_0xf5e879[_0x2446c(0xdd)](debug,_0x2446c(0xc5)+JSON[_0x2446c(0x111)](_0x1b31a2));})['catch'](_0x289205=>{const _0x42c294=_0x1ba6f5;_0xf5e879[_0x42c294(0xec)](debug,_0x42c294(0x104)+util[_0x42c294(0x108)](_0x289205));});}static['recursivelyDeletePIIKeysFromObject'](_0xa096c4){const _0x4fc26e=a85_0x2e0166,_0x5c1647={};_0x5c1647[_0x4fc26e(0x102)]='user',_0x5c1647['wTxYK']=_0x4fc26e(0xd2),_0x5c1647['xYlal']=_0x4fc26e(0xd3),_0x5c1647[_0x4fc26e(0xe6)]=_0x4fc26e(0xde),_0x5c1647['fyyjZ']='password',_0x5c1647[_0x4fc26e(0xcd)]=function(_0x32c921,_0x1c8fad){return _0x32c921===_0x1c8fad;},_0x5c1647['AqdNT']=_0x4fc26e(0x11b);const _0x2e3c88=_0x5c1647;if(!_0xa096c4)return;const _0x36c6a7=[_0x2e3c88[_0x4fc26e(0x102)],_0x2e3c88[_0x4fc26e(0x11a)],_0x2e3c88[_0x4fc26e(0x107)],_0x2e3c88[_0x4fc26e(0xe6)],_0x2e3c88[_0x4fc26e(0x119)]];for(const _0x1b9b07 in _0xa096c4){if(_0x36c6a7[_0x4fc26e(0xca)](_0x1b9b07['toLowerCase']()))delete _0xa096c4[_0x1b9b07];else _0x2e3c88[_0x4fc26e(0xcd)](typeof _0xa096c4[_0x1b9b07],_0x2e3c88[_0x4fc26e(0x103)])&&this[_0x4fc26e(0xc8)](_0xa096c4[_0x1b9b07]);}}static[a85_0x2e0166(0x115)](_0x145ae9){const _0x135af8=a85_0x2e0166,_0x1d423b=JSON['parse'](JSON[_0x135af8(0x111)](_0x145ae9));return this['recursivelyDeletePIIKeysFromObject'](_0x1d423b),_0x1d423b;}}const a85_0x15b2c0={};a85_0x15b2c0[a85_0x2e0166(0xea)]=o11yErrorHandler,a85_0x15b2c0[a85_0x2e0166(0xd6)]=o11yClassErrorHandler,a85_0x15b2c0[a85_0x2e0166(0xc9)]=CrashReporter,module[a85_0x2e0166(0x10c)]=a85_0x15b2c0;
@@ -1 +1 @@
1
- const a86_0xec94c=a86_0x1f6b;(function(_0x1eb7e7,_0xe1e1a1){const _0x48f465=a86_0x1f6b,_0xc25da3=_0x1eb7e7();while(!![]){try{const _0x22f42d=-parseInt(_0x48f465(0x115))/0x1*(-parseInt(_0x48f465(0x178))/0x2)+parseInt(_0x48f465(0x110))/0x3+-parseInt(_0x48f465(0x14c))/0x4*(parseInt(_0x48f465(0x17c))/0x5)+-parseInt(_0x48f465(0x120))/0x6*(-parseInt(_0x48f465(0x12f))/0x7)+parseInt(_0x48f465(0x114))/0x8*(parseInt(_0x48f465(0x163))/0x9)+parseInt(_0x48f465(0x154))/0xa*(parseInt(_0x48f465(0x170))/0xb)+-parseInt(_0x48f465(0x15d))/0xc;if(_0x22f42d===_0xe1e1a1)break;else _0xc25da3['push'](_0xc25da3['shift']());}catch(_0x10ef12){_0xc25da3['push'](_0xc25da3['shift']());}}}(a86_0x4bbe,0x6483f));function a86_0x1f6b(_0x3ef6b0,_0x470e76){const _0x4bbe8e=a86_0x4bbe();return a86_0x1f6b=function(_0x1f6b75,_0x3c0b2a){_0x1f6b75=_0x1f6b75-0x108;let _0x3cc943=_0x4bbe8e[_0x1f6b75];return _0x3cc943;},a86_0x1f6b(_0x3ef6b0,_0x470e76);}const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a86_0xec94c(0x140)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require('./utils'),{nestedKeyValue}=require(a86_0xec94c(0x172)),util=require(a86_0xec94c(0x134));class RequestQueueHandler{static [a86_0xec94c(0x16e)];[a86_0xec94c(0x175)]=0x0;constructor(){const _0x31bd4a=a86_0xec94c,_0x18afc3={};_0x18afc3[_0x31bd4a(0x150)]='6|1|0|5|2|3|4',_0x18afc3[_0x31bd4a(0x122)]=_0x31bd4a(0x12a),_0x18afc3[_0x31bd4a(0x15f)]=_0x31bd4a(0x15a),_0x18afc3[_0x31bd4a(0x17b)]='LogCreated',_0x18afc3['ADJLQ']='CBTSessionCreated',_0x18afc3[_0x31bd4a(0x176)]='TestRunFinished',_0x18afc3[_0x31bd4a(0x161)]=_0x31bd4a(0x167),_0x18afc3[_0x31bd4a(0x139)]=_0x31bd4a(0x13c),_0x18afc3[_0x31bd4a(0x156)]=_0x31bd4a(0x15e),_0x18afc3['JaMoy']=_0x31bd4a(0x10d),_0x18afc3['jTDah']=_0x31bd4a(0x11a);const _0x4e1e25=_0x18afc3,_0x232ac8=_0x4e1e25['wXYcI']['split']('|');let _0x432147=0x0;while(!![]){switch(_0x232ac8[_0x432147++]){case'0':this[_0x31bd4a(0x11d)]=_0x4e1e25[_0x31bd4a(0x122)];continue;case'1':this[_0x31bd4a(0x14d)]=![];continue;case'2':this[_0x31bd4a(0x12d)]=_0x4e1e25[_0x31bd4a(0x15f)];continue;case'3':this['BATCH_EVENT_TYPES']=[_0x4e1e25[_0x31bd4a(0x17b)],_0x4e1e25['ADJLQ'],_0x4e1e25[_0x31bd4a(0x176)],_0x4e1e25[_0x31bd4a(0x161)],_0x4e1e25[_0x31bd4a(0x139)],_0x4e1e25[_0x31bd4a(0x156)],_0x4e1e25[_0x31bd4a(0x135)]];continue;case'4':this[_0x31bd4a(0x10e)]=null;continue;case'5':this[_0x31bd4a(0x11c)]=_0x4e1e25['jTDah'];continue;case'6':this['queue']=[];continue;}break;}}static[a86_0xec94c(0x123)](){const _0x379d3b=a86_0xec94c;return!RequestQueueHandler['instance']&&(RequestQueueHandler[_0x379d3b(0x16e)]=new RequestQueueHandler()),RequestQueueHandler[_0x379d3b(0x16e)];}[a86_0xec94c(0x11b)]=()=>{const _0x5be5d0=a86_0xec94c;!this['started']&&(this[_0x5be5d0(0x14d)]=!![],this[_0x5be5d0(0x12e)]());};[a86_0xec94c(0x109)]=_0x47a7de=>{const _0x537847=a86_0xec94c,_0x539944={'baEqy':function(_0x5daed7,_0x380a11){return _0x5daed7===_0x380a11;},'NabBk':'TEST_SCREENSHOT','FRblK':function(_0x4adec6,_0x24ec3c){return _0x4adec6>_0x24ec3c;},'mUnaS':function(_0x1a90b5,_0xa29ef8){return _0x1a90b5===_0xa29ef8;},'BxVRD':_0x537847(0x128),'gCeaz':function(_0x2e201f,_0x3e29e9){return _0x2e201f!==_0x3e29e9;},'OxBtd':_0x537847(0x14e),'KfyGu':function(_0x2ef145,_0x52118e){return _0x2ef145(_0x52118e);},'HqUBI':'Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..'};if(this[_0x537847(0x149)][_0x537847(0x16f)](_0x47a7de[_0x537847(0x164)])){if(_0x47a7de['logs']&&_0x47a7de[_0x537847(0x125)][0x0]&&_0x539944[_0x537847(0x138)](_0x47a7de[_0x537847(0x125)][0x0]['kind'],_0x539944['NabBk'])){const _0x126241={};return _0x126241[_0x537847(0x171)]=!![],_0x126241[_0x537847(0x16a)]=[_0x47a7de],_0x126241[_0x537847(0x124)]=this[_0x537847(0x11c)],_0x126241;}if(_0x47a7de[_0x537847(0x125)]&&_0x539944[_0x537847(0x144)](_0x47a7de['logs'][_0x537847(0x160)],0x0)&&_0x539944[_0x537847(0x17a)](_0x47a7de[_0x537847(0x125)][0x0][_0x537847(0x177)],_0x539944[_0x537847(0x13a)])&&_0x539944[_0x537847(0x146)](_0x47a7de['event_type'],_0x539944[_0x537847(0x130)])){const _0x484d53={};return _0x484d53[_0x537847(0x171)]=!![],_0x484d53[_0x537847(0x16a)]=[_0x47a7de],_0x484d53[_0x537847(0x124)]=this[_0x537847(0x12d)],_0x484d53;}this['queue']['push'](_0x47a7de);let _0x265964=null;const _0xb881bd=this[_0x537847(0x171)]();_0xb881bd&&(_0x539944[_0x537847(0x10b)](trace,_0x539944[_0x537847(0x16d)]),_0x265964=this[_0x537847(0x117)][_0x537847(0x133)](0x0,BATCH_SIZE),this['queue'][_0x537847(0x15c)](0x0,BATCH_SIZE),this[_0x537847(0x11e)]());const _0x408b03={};return _0x408b03[_0x537847(0x171)]=_0xb881bd,_0x408b03['proceedWithData']=_0x265964,_0x408b03[_0x537847(0x124)]=this[_0x537847(0x11d)],_0x408b03;}const _0x564cba={};return _0x564cba[_0x537847(0x171)]=!![],_0x564cba;};['shutdown']=async()=>{const _0x546f8f=a86_0xec94c,_0xe28658={'TlHFK':_0x546f8f(0x127),'kJlTH':function(_0xf59afb,_0x45456b){return _0xf59afb>_0x45456b;},'PVDJB':_0x546f8f(0x179),'PshbD':function(_0x1ee601,_0x2e1f36){return _0x1ee601(_0x2e1f36);}};await this['uploadPending'](),this[_0x546f8f(0x14f)](_0xe28658[_0x546f8f(0x112)]);while(_0xe28658[_0x546f8f(0x132)](this[_0x546f8f(0x117)][_0x546f8f(0x160)],0x0)){const _0x13a505=this[_0x546f8f(0x117)][_0x546f8f(0x133)](0x0,BATCH_SIZE);this[_0x546f8f(0x117)][_0x546f8f(0x15c)](0x0,BATCH_SIZE),await this[_0x546f8f(0x16c)](this[_0x546f8f(0x11d)],_0xe28658[_0x546f8f(0x15b)],_0x13a505);}_0xe28658['kJlTH'](this['pendingUploads'],0x0)&&_0xe28658[_0x546f8f(0x145)](debug,_0x546f8f(0x10c)+this['pendingUploads']);};[a86_0xec94c(0x16c)]=async(_0x49e741,_0x2d6d5b,_0x55585b)=>{const _0x2e92cc=a86_0xec94c,_0x16a659={'ciSUZ':function(_0x4fba7b,_0xd13f02){return _0x4fba7b(_0xd13f02);},'ToRjd':_0x2e92cc(0x119),'qOVhD':function(_0x551ce6,_0x4ab8e2){return _0x551ce6(_0x4ab8e2);},'UWOzL':function(_0x2a3172){return _0x2a3172();},'zYvkz':function(_0x4c65af,_0x1a9651,_0xc020da,_0x1245b4,_0x4a08a7){return _0x4c65af(_0x1a9651,_0xc020da,_0x1245b4,_0x4a08a7);},'tciVO':_0x2e92cc(0x158),'ugCnZ':function(_0x6954d0,_0x3e9f13){return _0x6954d0-_0x3e9f13;},'YiDAU':function(_0x29b8bb,_0x304340){return _0x29b8bb(_0x304340);},'PGsvC':function(_0x479aa7,_0x4f9483){return _0x479aa7-_0x4f9483;}};let _0x2d43ff='';try{_0x2d43ff=_0x55585b[_0x2e92cc(0x143)](_0x25744d=>'\x27'+_0x25744d[_0x2e92cc(0x164)]+'\x27:'+(nestedKeyValue(_0x25744d,[_0x2e92cc(0x141),'uuid'])||nestedKeyValue(_0x25744d,[_0x2e92cc(0x152),_0x2e92cc(0x129)])))[_0x2e92cc(0x16b)](','),_0x16a659['ciSUZ'](debug,_0x2e92cc(0x111)+_0x2d6d5b+_0x2e92cc(0x10f)+Buffer[_0x2e92cc(0x159)](util[_0x2e92cc(0x113)]('%j',_0x55585b),_0x16a659[_0x2e92cc(0x10a)])+_0x2e92cc(0x121)+_0x2d43ff);}catch(_0x5b6b59){_0x16a659[_0x2e92cc(0x151)](debug,_0x2e92cc(0x165)+util[_0x2e92cc(0x113)](_0x5b6b59)+'}');}const _0x451108={'headers':_0x16a659[_0x2e92cc(0x118)](getDefaultHeaders)};try{const _0x53157c=await _0x16a659['zYvkz'](nodeRequest,_0x16a659[_0x2e92cc(0x147)],_0x49e741,_0x55585b,_0x451108);if(_0x53157c[_0x2e92cc(0x148)][_0x2e92cc(0x13b)]){const _0x53d958={};_0x53d958[_0x2e92cc(0x173)]=_0x53157c[_0x2e92cc(0x148)]['error'];throw _0x53d958;}else _0x16a659[_0x2e92cc(0x151)](debug,_0x2d6d5b+_0x2e92cc(0x116)+_0x2d43ff+'\x20--\x20'+util['format']('%j',_0x53157c[_0x2e92cc(0x148)])),this[_0x2e92cc(0x175)]=Math[_0x2e92cc(0x11f)](0x0,_0x16a659[_0x2e92cc(0x131)](this[_0x2e92cc(0x175)],_0x55585b[_0x2e92cc(0x160)]));}catch(_0xfe24cc){_0xfe24cc['response']?_0x16a659[_0x2e92cc(0x168)](debug,_0x2e92cc(0x13d)+_0x2d6d5b+_0x2e92cc(0x153)+_0xfe24cc[_0x2e92cc(0x136)][_0x2e92cc(0x14a)]+'\x20'+_0xfe24cc[_0x2e92cc(0x136)][_0x2e92cc(0x108)]+'\x20'+util[_0x2e92cc(0x113)]('%j',_0xfe24cc[_0x2e92cc(0x136)])):_0x16a659[_0x2e92cc(0x14b)](debug,'EXCEPTION\x20IN\x20'+_0x2d6d5b+_0x2e92cc(0x153)+(_0xfe24cc[_0x2e92cc(0x173)]||_0xfe24cc)),this[_0x2e92cc(0x175)]=Math['max'](0x0,_0x16a659[_0x2e92cc(0x162)](this[_0x2e92cc(0x175)],_0x55585b['length']));}};[a86_0xec94c(0x12e)]=()=>{const _0x3ab700=a86_0xec94c,_0x254823={'FjHjD':function(_0x1d64c9,_0x7995ff){return _0x1d64c9>_0x7995ff;},'aDovv':function(_0x122a1e,_0xd7fc38){return _0x122a1e(_0xd7fc38);},'egEBG':'Interval-Queue','XZFwB':function(_0x4fff1e,_0x4371d5,_0x52f09a){return _0x4fff1e(_0x4371d5,_0x52f09a);}};this[_0x3ab700(0x10e)]=_0x254823[_0x3ab700(0x169)](setInterval,async()=>{const _0x453348=_0x3ab700;if(_0x254823[_0x453348(0x137)](this[_0x453348(0x117)][_0x453348(0x160)],0x0)){_0x254823[_0x453348(0x12c)](trace,_0x453348(0x166)+this[_0x453348(0x117)][_0x453348(0x160)]);const _0x1cbecc=this[_0x453348(0x117)][_0x453348(0x133)](0x0,BATCH_SIZE);this['queue'][_0x453348(0x15c)](0x0,BATCH_SIZE),await this[_0x453348(0x16c)](this[_0x453348(0x11d)],_0x254823[_0x453348(0x155)],_0x1cbecc),_0x254823[_0x453348(0x12c)](trace,_0x453348(0x174)+this['queue'][_0x453348(0x160)]);}},BATCH_INTERVAL);};['resetEventBatchPolling']=()=>{const _0x2e6b86=a86_0xec94c,_0x37329f={};_0x37329f[_0x2e6b86(0x126)]='RESETTING';const _0x2a5b76=_0x37329f;this[_0x2e6b86(0x14f)](_0x2a5b76[_0x2e6b86(0x126)]),this[_0x2e6b86(0x12e)]();};[a86_0xec94c(0x14f)]=_0xafc6da=>{const _0x41a864=a86_0xec94c,_0x5aca43={'snrga':function(_0x267f62,_0x2759cb){return _0x267f62(_0x2759cb);},'wWifk':function(_0x450b32,_0x3ffb3a){return _0x450b32===_0x3ffb3a;},'nRpUg':_0x41a864(0x127)};this[_0x41a864(0x10e)]&&(_0x5aca43['snrga'](clearInterval,this[_0x41a864(0x10e)]),this[_0x41a864(0x10e)]=null,_0x5aca43[_0x41a864(0x13e)](_0xafc6da,_0x5aca43['nRpUg'])&&(this['started']=![]));};[a86_0xec94c(0x171)]=()=>{const _0x55b5a0=a86_0xec94c,_0x132c0d={};_0x132c0d['PfHPk']=function(_0x2a606c,_0x415968){return _0x2a606c>=_0x415968;};const _0x2d4433=_0x132c0d;return _0x2d4433['PfHPk'](this[_0x55b5a0(0x117)][_0x55b5a0(0x160)],BATCH_SIZE);};async[a86_0xec94c(0x142)](_0x36a1e7=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x29baf9=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x80cf14=a86_0xec94c,_0x385cdb={'ANvbe':function(_0x1da8de,_0x8fa11){return _0x1da8de<=_0x8fa11;},'IXiFF':function(_0xdaeb2b,_0x16109c){return _0xdaeb2b(_0x16109c);},'MMDCG':function(_0x48336b,_0x53092a){return _0x48336b-_0x53092a;}};if(_0x385cdb[_0x80cf14(0x157)](this[_0x80cf14(0x175)],0x0)||_0x385cdb[_0x80cf14(0x157)](_0x36a1e7,0x0))return;return await _0x385cdb['IXiFF'](sleep,_0x29baf9),this[_0x80cf14(0x142)](_0x385cdb[_0x80cf14(0x13f)](_0x36a1e7,_0x29baf9));}}function a86_0x4bbe(){const _0x11c4ab=['utf8','api/v1/screenshots','start','screenshotEventUrl','eventUrl','resetEventBatchPolling','max','2062824pfnwkz','\x20bytes.\x20Events\x20are\x20','GPLiC','getInstance','proceedWithUrl','logs','YJmRh','REMOVING','TEST_ATTACHMENT','uuid','api/v1/batch','exports','aDovv','uploadAttachmentUrl','startEventBatchPolling','7cNgxPd','OxBtd','ugCnZ','kJlTH','slice','util','JaMoy','response','FjHjD','baEqy','gVxCg','BxVRD','error','HookRunFinished','EXCEPTION\x20IN\x20','wWifk','MMDCG','./constants','test_run','uploadPending','map','FRblK','PshbD','gCeaz','tciVO','data','BATCH_EVENT_TYPES','status','YiDAU','376252YdvhNp','started','TestRunFinished','removeEventBatchPolling','wXYcI','qOVhD','hook_run','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','109590jEHzYu','egEBG','zXlkH','ANvbe','POST','byteLength','upload-attachments','PVDJB','splice','14666628hqWBks','TestRunStarted','SjTfU','length','cdefC','PGsvC','171747ShRSMj','event_type','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','Processing\x20events.\x20Queue\x20Length\x20-\x20','TestRunSkipped','ciSUZ','XZFwB','proceedWithData','join','batchAndPostEvents','HqUBI','instance','includes','517lSPcFJ','shouldProceed','../helper','message','Remaining\x20Queue\x20Length\x20-\x20','pendingUploads','IGuXK','kind','2qPOCMs','Shutdown-Queue','mUnaS','VfAMG','10ofDzsg','statusText','add','ToRjd','KfyGu','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','HookRunStarted','pollEventBatchInterval','.\x20Request\x20Size\x20-\x20','368784UNRQMl','Processing\x20batch\x20events\x20for\x20','TlHFK','format','248bUSDTV','248678RKvkrk','\x20event\x20successful\x20for\x20events\x20','queue','UWOzL'];a86_0x4bbe=function(){return _0x11c4ab;};return a86_0x4bbe();}module[a86_0xec94c(0x12b)]=RequestQueueHandler;
1
+ function a86_0x44bc(){const _0xcaf91=['data','started','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','rLBMn','POST','skLpS','YNNQM','uploadAttachmentUrl','slice','462943qLgPRm','zMlAo','./utils','format','PWSVd','BATCH_EVENT_TYPES','batchAndPostEvents','kind','Interval-Queue','JQbJz','ZFHRF','length','test_run','PDGQI','WBlGc','8388cFMqFl','pollEventBatchInterval','TestRunStarted','removeEventBatchPolling','add','RgKQw','max','map','MOzPw','split','splice','logs','IZgAL','ziAio','TEST_SCREENSHOT','uzwwU','raefS','PDyjF','hook_run','message','eSQRY','TEST_ATTACHMENT','2103661DvClVD','EXCEPTION\x20IN\x20','63430MjANYG','join','AsXgE','HyAen','error','eventUrl','byteLength','tzYCE','kHKcY','Shutdown-Queue','TestRunFinished','kMceY','Processing\x20batch\x20events\x20for\x20','screenshotEventUrl','DwLop','proceedWithData','utf8','LogCreated','Remaining\x20Queue\x20Length\x20-\x20','nVTzT','.\x20Request\x20Size\x20-\x20','queue','vJHfh','getInstance','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','pOgNw','MSRDp','proceedWithUrl','XZRjz','shouldProceed','pendingUploads','push','shutdown','resetEventBatchPolling','OXxMi','includes','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','cJSIR','BQgPh','instance','xUNOx','KPrIv','jbEyS','uuid','TestRunSkipped','yhCZx','response','2820306lgSioX','599064lyRulc','status','ZQART','REMOVING','statusText','\x20--\x20','startEventBatchPolling','uploadPending','pXKCz','204OURlAU','event_type','11938500uZvSTU','dYDeK','136TwylkL','CNbYJ','api/v1/batch','RESETTING','TFbJp','HookRunFinished','ckFoe','util','start','sUrSs','\x20bytes.\x20Events\x20are\x20','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','api/v1/screenshots','9andLnE'];a86_0x44bc=function(){return _0xcaf91;};return a86_0x44bc();}function a86_0x4915(_0x4c1aa3,_0x4e1c70){const _0x44bcb8=a86_0x44bc();return a86_0x4915=function(_0x49154d,_0x1236db){_0x49154d=_0x49154d-0x7d;let _0xf4eb20=_0x44bcb8[_0x49154d];return _0xf4eb20;},a86_0x4915(_0x4c1aa3,_0x4e1c70);}const a86_0x16190e=a86_0x4915;(function(_0x42a46e,_0x2fe2b1){const _0x39d841=a86_0x4915,_0x522959=_0x42a46e();while(!![]){try{const _0x8fc622=parseInt(_0x39d841(0xb6))/0x1+parseInt(_0x39d841(0xc5))/0x2*(-parseInt(_0x39d841(0x9b))/0x3)+-parseInt(_0x39d841(0x9f))/0x4*(parseInt(_0x39d841(0xdd))/0x5)+-parseInt(_0x39d841(0x91))/0x6+-parseInt(_0x39d841(0xdb))/0x7+-parseInt(_0x39d841(0x92))/0x8*(-parseInt(_0x39d841(0xac))/0x9)+parseInt(_0x39d841(0x9d))/0xa;if(_0x8fc622===_0x2fe2b1)break;else _0x522959['push'](_0x522959['shift']());}catch(_0x102dac){_0x522959['push'](_0x522959['shift']());}}}(a86_0x44bc,0x3bb6a));const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require('./constants'),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require(a86_0x16190e(0xb8)),{nestedKeyValue}=require('../helper'),util=require(a86_0x16190e(0xa6));class RequestQueueHandler{static [a86_0x16190e(0x89)];[a86_0x16190e(0x80)]=0x0;constructor(){const _0xc7990c=a86_0x16190e,_0x554273={};_0x554273[_0xc7990c(0x7e)]='0|3|4|1|2|5|6',_0x554273['ziAio']=_0xc7990c(0xab),_0x554273[_0xc7990c(0xa8)]='upload-attachments',_0x554273[_0xc7990c(0xc4)]=_0xc7990c(0xa1),_0x554273['kHKcY']=_0xc7990c(0xee),_0x554273['RgKQw']='CBTSessionCreated',_0x554273['MOzPw']=_0xc7990c(0xe7),_0x554273[_0xc7990c(0x8c)]=_0xc7990c(0x8e),_0x554273[_0xc7990c(0x87)]=_0xc7990c(0xa4),_0x554273[_0xc7990c(0x8f)]=_0xc7990c(0xc7),_0x554273['tzYCE']='HookRunStarted';const _0x2c3854=_0x554273,_0x405d91=_0x2c3854[_0xc7990c(0x7e)][_0xc7990c(0xce)]('|');let _0x2159f6=0x0;while(!![]){switch(_0x405d91[_0x2159f6++]){case'0':this[_0xc7990c(0xf2)]=[];continue;case'1':this[_0xc7990c(0xea)]=_0x2c3854[_0xc7990c(0xd2)];continue;case'2':this[_0xc7990c(0xb4)]=_0x2c3854['sUrSs'];continue;case'3':this[_0xc7990c(0xae)]=![];continue;case'4':this['eventUrl']=_0x2c3854['WBlGc'];continue;case'5':this[_0xc7990c(0xbb)]=[_0x2c3854[_0xc7990c(0xe5)],_0x2c3854[_0xc7990c(0xca)],_0x2c3854[_0xc7990c(0xcd)],_0x2c3854[_0xc7990c(0x8c)],_0x2c3854[_0xc7990c(0x87)],_0x2c3854['yhCZx'],_0x2c3854[_0xc7990c(0xe4)]];continue;case'6':this[_0xc7990c(0xc6)]=null;continue;}break;}}static[a86_0x16190e(0xf4)](){const _0x11a813=a86_0x16190e;return!RequestQueueHandler[_0x11a813(0x89)]&&(RequestQueueHandler[_0x11a813(0x89)]=new RequestQueueHandler()),RequestQueueHandler[_0x11a813(0x89)];}[a86_0x16190e(0xa7)]=()=>{const _0x21a923=a86_0x16190e;!this[_0x21a923(0xae)]&&(this['started']=!![],this['startEventBatchPolling']());};[a86_0x16190e(0xc9)]=_0x52525b=>{const _0x5ee41c=a86_0x16190e,_0x2f458d={'zMlAo':function(_0x390508,_0xd67ece){return _0x390508===_0xd67ece;},'JQbJz':_0x5ee41c(0xd3),'aRipa':function(_0x2b0b53,_0x823e81){return _0x2b0b53>_0x823e81;},'ZQART':function(_0x3be11e,_0x24d913){return _0x3be11e===_0x24d913;},'CNbYJ':_0x5ee41c(0xda),'kMceY':function(_0x2add31,_0x367e6b){return _0x2add31!==_0x367e6b;},'KPrIv':_0x5ee41c(0xe7),'nVTzT':function(_0x10f3d5,_0x392636){return _0x10f3d5(_0x392636);},'YNNQM':_0x5ee41c(0x86)};if(this[_0x5ee41c(0xbb)][_0x5ee41c(0x85)](_0x52525b[_0x5ee41c(0x9c)])){if(_0x52525b[_0x5ee41c(0xd0)]&&_0x52525b['logs'][0x0]&&_0x2f458d[_0x5ee41c(0xb7)](_0x52525b[_0x5ee41c(0xd0)][0x0]['kind'],_0x2f458d[_0x5ee41c(0xbf)])){const _0x3ccb85={};return _0x3ccb85['shouldProceed']=!![],_0x3ccb85[_0x5ee41c(0xec)]=[_0x52525b],_0x3ccb85[_0x5ee41c(0x7d)]=this['screenshotEventUrl'],_0x3ccb85;}if(_0x52525b[_0x5ee41c(0xd0)]&&_0x2f458d['aRipa'](_0x52525b['logs'][_0x5ee41c(0xc1)],0x0)&&_0x2f458d[_0x5ee41c(0x94)](_0x52525b['logs'][0x0][_0x5ee41c(0xbd)],_0x2f458d[_0x5ee41c(0xa0)])&&_0x2f458d[_0x5ee41c(0xe8)](_0x52525b[_0x5ee41c(0x9c)],_0x2f458d[_0x5ee41c(0x8b)])){const _0x4c893a={};return _0x4c893a[_0x5ee41c(0x7f)]=!![],_0x4c893a[_0x5ee41c(0xec)]=[_0x52525b],_0x4c893a[_0x5ee41c(0x7d)]=this['uploadAttachmentUrl'],_0x4c893a;}this[_0x5ee41c(0xf2)][_0x5ee41c(0x81)](_0x52525b);let _0x5f4b66=null;const _0x1006e7=this[_0x5ee41c(0x7f)]();_0x1006e7&&(_0x2f458d[_0x5ee41c(0xf0)](trace,_0x2f458d[_0x5ee41c(0xb3)]),_0x5f4b66=this[_0x5ee41c(0xf2)]['slice'](0x0,BATCH_SIZE),this[_0x5ee41c(0xf2)]['splice'](0x0,BATCH_SIZE),this[_0x5ee41c(0x83)]());const _0x562dae={};return _0x562dae[_0x5ee41c(0x7f)]=_0x1006e7,_0x562dae[_0x5ee41c(0xec)]=_0x5f4b66,_0x562dae[_0x5ee41c(0x7d)]=this[_0x5ee41c(0xe2)],_0x562dae;}const _0x317f3a={};return _0x317f3a[_0x5ee41c(0x7f)]=!![],_0x317f3a;};[a86_0x16190e(0x82)]=async()=>{const _0x5da6d8=a86_0x16190e,_0x44f4ad={'vJHfh':_0x5da6d8(0x95),'MSRDp':function(_0x6f4296,_0x4e853e){return _0x6f4296>_0x4e853e;},'xUNOx':_0x5da6d8(0xe6),'eSQRY':function(_0x5afa7a,_0x49d1a2){return _0x5afa7a>_0x49d1a2;},'ZFHRF':function(_0x163457,_0xa26397){return _0x163457(_0xa26397);}};await this[_0x5da6d8(0x99)](),this[_0x5da6d8(0xc8)](_0x44f4ad[_0x5da6d8(0xf3)]);while(_0x44f4ad[_0x5da6d8(0xf7)](this[_0x5da6d8(0xf2)][_0x5da6d8(0xc1)],0x0)){const _0x46439c=this[_0x5da6d8(0xf2)][_0x5da6d8(0xb5)](0x0,BATCH_SIZE);this[_0x5da6d8(0xf2)][_0x5da6d8(0xcf)](0x0,BATCH_SIZE),await this[_0x5da6d8(0xbc)](this[_0x5da6d8(0xe2)],_0x44f4ad[_0x5da6d8(0x8a)],_0x46439c);}_0x44f4ad[_0x5da6d8(0xd9)](this[_0x5da6d8(0x80)],0x0)&&_0x44f4ad[_0x5da6d8(0xc0)](debug,_0x5da6d8(0xaf)+this[_0x5da6d8(0x80)]);};[a86_0x16190e(0xbc)]=async(_0x68debd,_0x4da14a,_0x297adf)=>{const _0x1e2a63=a86_0x16190e,_0x3c22c3={'OXxMi':function(_0x445426,_0x4a4061){return _0x445426(_0x4a4061);},'dYDeK':_0x1e2a63(0xed),'iPQaA':function(_0x1c8762){return _0x1c8762();},'PDyjF':function(_0x4de5f1,_0x45187d,_0xd1957e,_0x436f9b,_0x36afb5){return _0x4de5f1(_0x45187d,_0xd1957e,_0x436f9b,_0x36afb5);},'DwLop':_0x1e2a63(0xb1),'pXKCz':function(_0x2abd94,_0x555197){return _0x2abd94(_0x555197);},'rLBMn':function(_0xf2685,_0x5d4215){return _0xf2685-_0x5d4215;},'PDGQI':function(_0x401a97,_0x3a767b){return _0x401a97(_0x3a767b);},'pOgNw':function(_0x2f0f6b,_0x58f693){return _0x2f0f6b(_0x58f693);}};let _0x562e46='';try{_0x562e46=_0x297adf[_0x1e2a63(0xcc)](_0x5bd65e=>'\x27'+_0x5bd65e[_0x1e2a63(0x9c)]+'\x27:'+(nestedKeyValue(_0x5bd65e,[_0x1e2a63(0xc2),_0x1e2a63(0x8d)])||nestedKeyValue(_0x5bd65e,[_0x1e2a63(0xd7),'uuid'])))[_0x1e2a63(0xde)](','),_0x3c22c3[_0x1e2a63(0x84)](debug,_0x1e2a63(0xe9)+_0x4da14a+_0x1e2a63(0xf1)+Buffer[_0x1e2a63(0xe3)](util[_0x1e2a63(0xb9)]('%j',_0x297adf),_0x3c22c3[_0x1e2a63(0x9e)])+_0x1e2a63(0xa9)+_0x562e46);}catch(_0x1067ea){_0x3c22c3[_0x1e2a63(0x84)](debug,_0x1e2a63(0xaa)+util['format'](_0x1067ea)+'}');}const _0x1d4cbc={'headers':_0x3c22c3['iPQaA'](getDefaultHeaders)};try{const _0x116cf9=await _0x3c22c3[_0x1e2a63(0xd6)](nodeRequest,_0x3c22c3[_0x1e2a63(0xeb)],_0x68debd,_0x297adf,_0x1d4cbc);if(_0x116cf9['data'][_0x1e2a63(0xe1)]){const _0x31e4d5={};_0x31e4d5['message']=_0x116cf9[_0x1e2a63(0xad)][_0x1e2a63(0xe1)];throw _0x31e4d5;}else _0x3c22c3[_0x1e2a63(0x9a)](debug,_0x4da14a+'\x20event\x20successful\x20for\x20events\x20'+_0x562e46+_0x1e2a63(0x97)+util[_0x1e2a63(0xb9)]('%j',_0x116cf9[_0x1e2a63(0xad)])),this[_0x1e2a63(0x80)]=Math[_0x1e2a63(0xcb)](0x0,_0x3c22c3[_0x1e2a63(0xb0)](this[_0x1e2a63(0x80)],_0x297adf['length']));}catch(_0x14e505){_0x14e505[_0x1e2a63(0x90)]?_0x3c22c3[_0x1e2a63(0xc3)](debug,_0x1e2a63(0xdc)+_0x4da14a+_0x1e2a63(0xf5)+_0x14e505[_0x1e2a63(0x90)][_0x1e2a63(0x93)]+'\x20'+_0x14e505['response'][_0x1e2a63(0x96)]+'\x20'+util[_0x1e2a63(0xb9)]('%j',_0x14e505['response'])):_0x3c22c3[_0x1e2a63(0xf6)](debug,'EXCEPTION\x20IN\x20'+_0x4da14a+'\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20'+(_0x14e505[_0x1e2a63(0xd8)]||_0x14e505)),this[_0x1e2a63(0x80)]=Math['max'](0x0,_0x3c22c3[_0x1e2a63(0xb0)](this[_0x1e2a63(0x80)],_0x297adf[_0x1e2a63(0xc1)]));}};[a86_0x16190e(0x98)]=()=>{const _0x2977b8=a86_0x16190e,_0x582e33={'zmUps':function(_0x514aeb,_0x5c2a3c){return _0x514aeb>_0x5c2a3c;},'IZgAL':function(_0x383aad,_0x2de463){return _0x383aad(_0x2de463);},'mkBUq':_0x2977b8(0xbe),'raefS':function(_0x42344b,_0x3318b9){return _0x42344b(_0x3318b9);},'AsXgE':function(_0x10c4e0,_0x337145,_0x3ea92f){return _0x10c4e0(_0x337145,_0x3ea92f);}};this[_0x2977b8(0xc6)]=_0x582e33[_0x2977b8(0xdf)](setInterval,async()=>{const _0x353616=_0x2977b8;if(_0x582e33['zmUps'](this[_0x353616(0xf2)][_0x353616(0xc1)],0x0)){_0x582e33[_0x353616(0xd1)](trace,'Processing\x20events.\x20Queue\x20Length\x20-\x20'+this[_0x353616(0xf2)][_0x353616(0xc1)]);const _0x2b3bde=this['queue'][_0x353616(0xb5)](0x0,BATCH_SIZE);this['queue'][_0x353616(0xcf)](0x0,BATCH_SIZE),await this[_0x353616(0xbc)](this[_0x353616(0xe2)],_0x582e33['mkBUq'],_0x2b3bde),_0x582e33[_0x353616(0xd5)](trace,_0x353616(0xef)+this['queue']['length']);}},BATCH_INTERVAL);};[a86_0x16190e(0x83)]=()=>{const _0x3560b1=a86_0x16190e,_0xb486ac={};_0xb486ac[_0x3560b1(0xa3)]=_0x3560b1(0xa2);const _0x35bea3=_0xb486ac;this[_0x3560b1(0xc8)](_0x35bea3['TFbJp']),this['startEventBatchPolling']();};[a86_0x16190e(0xc8)]=_0x30de94=>{const _0xb035b4=a86_0x16190e,_0x1dafa4={'ckFoe':function(_0x349d99,_0x37f2c8){return _0x349d99(_0x37f2c8);},'PWSVd':function(_0x4ee9db,_0x17e55e){return _0x4ee9db===_0x17e55e;},'XmDxQ':_0xb035b4(0x95)};this[_0xb035b4(0xc6)]&&(_0x1dafa4[_0xb035b4(0xa5)](clearInterval,this['pollEventBatchInterval']),this[_0xb035b4(0xc6)]=null,_0x1dafa4[_0xb035b4(0xba)](_0x30de94,_0x1dafa4['XmDxQ'])&&(this[_0xb035b4(0xae)]=![]));};[a86_0x16190e(0x7f)]=()=>{const _0x2fc65a=a86_0x16190e,_0x2e9bab={};_0x2e9bab[_0x2fc65a(0xe0)]=function(_0x5c6e5c,_0x42179e){return _0x5c6e5c>=_0x42179e;};const _0x150bbd=_0x2e9bab;return _0x150bbd[_0x2fc65a(0xe0)](this[_0x2fc65a(0xf2)]['length'],BATCH_SIZE);};async[a86_0x16190e(0x99)](_0x259853=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x55a971=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x349533=a86_0x16190e,_0x4db54d={'BQgPh':function(_0x3d230e,_0x5077b6){return _0x3d230e<=_0x5077b6;},'skLpS':function(_0x576f12,_0x11fa92){return _0x576f12(_0x11fa92);},'uzwwU':function(_0x5eae64,_0x46c258){return _0x5eae64-_0x46c258;}};if(_0x4db54d[_0x349533(0x88)](this['pendingUploads'],0x0)||_0x4db54d[_0x349533(0x88)](_0x259853,0x0))return;return await _0x4db54d[_0x349533(0xb2)](sleep,_0x55a971),this[_0x349533(0x99)](_0x4db54d[_0x349533(0xd4)](_0x259853,_0x55a971));}}module['exports']=RequestQueueHandler;
@@ -1 +1 @@
1
- const a87_0x3f5873=a87_0x467a;(function(_0x22f24e,_0x4a7097){const _0x161a45=a87_0x467a,_0x3f145e=_0x22f24e();while(!![]){try{const _0x462276=parseInt(_0x161a45(0x117))/0x1+parseInt(_0x161a45(0x135))/0x2*(-parseInt(_0x161a45(0xf4))/0x3)+-parseInt(_0x161a45(0x10d))/0x4+parseInt(_0x161a45(0x12e))/0x5*(parseInt(_0x161a45(0x126))/0x6)+-parseInt(_0x161a45(0x120))/0x7*(-parseInt(_0x161a45(0x158))/0x8)+parseInt(_0x161a45(0xeb))/0x9*(parseInt(_0x161a45(0x12d))/0xa)+-parseInt(_0x161a45(0xe8))/0xb;if(_0x462276===_0x4a7097)break;else _0x3f145e['push'](_0x3f145e['shift']());}catch(_0x2d5c01){_0x3f145e['push'](_0x3f145e['shift']());}}}(a87_0xea13,0x6c6c8));const bsSetupHelper=require('../helper'),path=require(a87_0x3f5873(0x130)),os=require('os'),{debug,getCustomTags,getDefaultHeaders,nodeRequest,asyncAwaitNodeReq,sleep,isTestObservabilitySession,trace}=require(a87_0x3f5873(0xe0)),{EVENT_ENDPOINT,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS}=require(a87_0x3f5873(0x161)),RequestQueueHandler=require(a87_0x3f5873(0x133)),logger=require('../logger')[a87_0x3f5873(0xfd)],{shouldProcessEventForTesthub,isPercyBuild,getProductMap}=require('../../helpers/testhub/utils'),util=require(a87_0x3f5873(0xf6));class SessionHandler{static ['requestQueueHandler']=RequestQueueHandler[a87_0x3f5873(0x15d)]();static async[a87_0x3f5873(0x125)](_0x239e2e,_0x3e2eb2){const _0x27be9a=a87_0x3f5873,_0x1f012c={'OUUhU':function(_0xb4ce45,_0x34747c){return _0xb4ce45||_0x34747c;},'DfjiR':function(_0x51e56d,_0x486fd3){return _0x51e56d===_0x486fd3;},'xpIpH':function(_0xda6f04,_0x1f2873){return _0xda6f04(_0x1f2873);},'QCZtR':_0x27be9a(0x15e),'rapoD':'false','fltLo':_0x27be9a(0x144),'qwOJT':function(_0x2f0e19,_0x430aa5){return _0x2f0e19(_0x430aa5);},'yVWNt':function(_0x24686c,_0x46d0b){return _0x24686c(_0x46d0b);},'ypsoI':function(_0x5fe27e,_0x2b3e72,_0x25cc96,_0x3ef6c3,_0x57bf45){return _0x5fe27e(_0x2b3e72,_0x25cc96,_0x3ef6c3,_0x57bf45);},'JJvlx':_0x27be9a(0x12a),'IjcbT':_0x27be9a(0xde),'qoSYe':function(_0x4ca680,_0x4b2adc){return _0x4ca680(_0x4b2adc);},'hdLRa':_0x27be9a(0xdf),'UftQr':function(_0x2a1791){return _0x2a1791();},'enBtt':'true','Vhito':_0x27be9a(0xcf),'voNgS':function(_0x6183a8,_0x571aa2){return _0x6183a8(_0x571aa2);},'AyVOr':_0x27be9a(0xed),'gtsCX':_0x27be9a(0xf7),'WrFgk':_0x27be9a(0x169)},_0x254150=bsSetupHelper[_0x27be9a(0xec)](_0x239e2e),_0x3f9f9b=bsSetupHelper[_0x27be9a(0xf9)](_0x239e2e),_0x37d560=_0x1f012c[_0x27be9a(0x16a)](_0x254150,'')+':'+_0x1f012c[_0x27be9a(0x16a)](_0x3f9f9b,'');if(_0x1f012c[_0x27be9a(0xdc)](_0x37d560,':'))return _0x1f012c[_0x27be9a(0x163)](debug,_0x1f012c[_0x27be9a(0x141)]),process['env'][_0x27be9a(0xe9)]=_0x1f012c[_0x27be9a(0x14f)],[null,null];let _0x379e36=![],_0x2bef44=![];if(_0x239e2e[_0x27be9a(0xee)]&&_0x239e2e['app'])_0x2bef44=!![];else _0x239e2e[_0x27be9a(0xee)]&&(_0x379e36=!![]);try{const _0x394d16={'format':_0x1f012c[_0x27be9a(0x159)],'project_name':_0x239e2e[_0x27be9a(0x156)]||'','name':_0x239e2e[_0x27be9a(0x173)]||path[_0x27be9a(0x14d)](path[_0x27be9a(0xd0)](process['cwd']())),'build_identifier':_0x239e2e['buildIdentifier'],'description':_0x239e2e[_0x27be9a(0x13c)]||'','start_time':new Date()[_0x27be9a(0x134)](),'tags':_0x1f012c['qwOJT'](getCustomTags,_0x239e2e),'host_info':bsSetupHelper['getHostInfo'](),'ci_info':bsSetupHelper[_0x27be9a(0x12c)](),'build_run_identifier':process[_0x27be9a(0x122)][_0x27be9a(0x14a)],'failed_tests_rerun':process[_0x27be9a(0x122)][_0x27be9a(0x174)]||![],'version_control':await bsSetupHelper[_0x27be9a(0xe2)](),'observability_version':{'frameworkName':_0x3e2eb2[_0x27be9a(0x138)],'frameworkVersion':_0x3e2eb2[_0x27be9a(0xea)],'sdkVersion':bsSetupHelper['getAgentVersion']()},'product_map':_0x1f012c['qwOJT'](getProductMap,_0x239e2e)},_0x22286d={};_0x22286d[_0x27be9a(0xd8)]=_0x254150,_0x22286d[_0x27be9a(0xdb)]=_0x3f9f9b;const _0x26d396={'auth':_0x22286d,'headers':_0x1f012c['yVWNt'](getDefaultHeaders,![])},_0x43b33a=await _0x1f012c[_0x27be9a(0x160)](nodeRequest,_0x1f012c['JJvlx'],_0x1f012c[_0x27be9a(0x15b)],_0x394d16,_0x26d396);_0x1f012c[_0x27be9a(0x157)](debug,_0x1f012c[_0x27be9a(0x106)]);const _0x28a50e=_0x43b33a[_0x27be9a(0x147)];_0x28a50e[_0x27be9a(0x111)]&&(process['env']['BROWSERSTACK_TESTHUB_UUID']=_0x28a50e[_0x27be9a(0x111)]);if(_0x1f012c[_0x27be9a(0xd1)](isTestObservabilitySession)){process[_0x27be9a(0x122)][_0x27be9a(0xe9)]=_0x1f012c['enBtt'];if(_0x28a50e['jwt']){process[_0x27be9a(0x122)]['BS_TESTOPS_JWT']=_0x28a50e['jwt'];const _0x66eae4={};_0x66eae4[_0x27be9a(0xd8)]=_0x254150,_0x66eae4[_0x27be9a(0xdb)]=_0x3f9f9b,process[_0x27be9a(0x122)]['CREDENTIALS_FOR_CRASH_REPORTING']=JSON[_0x27be9a(0xfc)](_0x66eae4);}_0x28a50e[_0x27be9a(0x111)]&&(process[_0x27be9a(0x122)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x28a50e[_0x27be9a(0x111)]),_0x28a50e['allow_screenshots']&&(process['env'][_0x27be9a(0x153)]=_0x28a50e[_0x27be9a(0xd2)][_0x27be9a(0x148)]());}return[_0x43b33a['data'][_0x27be9a(0x15f)],_0x43b33a['data'][_0x27be9a(0x111)],_0x43b33a[_0x27be9a(0x147)][_0x27be9a(0xd2)]];}catch(_0x54eda0){process[_0x27be9a(0x122)][_0x27be9a(0xe3)]=_0x1f012c[_0x27be9a(0x127)],process[_0x27be9a(0x122)][_0x27be9a(0xe9)]=_0x1f012c[_0x27be9a(0x14f)],process[_0x27be9a(0x122)][_0x27be9a(0x112)]=_0x1f012c['Vhito'],process[_0x27be9a(0x122)][_0x27be9a(0x103)]=_0x1f012c[_0x27be9a(0x127)],process[_0x27be9a(0x122)][_0x27be9a(0x153)]=_0x1f012c[_0x27be9a(0x127)];_0x54eda0[_0x27be9a(0x107)]?_0x1f012c[_0x27be9a(0x16d)](debug,_0x27be9a(0x101)+_0x54eda0[_0x27be9a(0x107)]['status']+'\x20'+_0x54eda0[_0x27be9a(0x107)][_0x27be9a(0xd4)]+'\x20'+JSON[_0x27be9a(0xfc)](_0x54eda0[_0x27be9a(0x107)]['data'])):_0x1f012c[_0x27be9a(0x15a)](debug,_0x27be9a(0x101)+(_0x54eda0[_0x27be9a(0xdd)]||_0x54eda0));if(_0x54eda0&&_0x54eda0['message']){const _0x100e03=_0x54eda0['message'];switch(_0x54eda0[_0x27be9a(0x16e)]){case _0x1f012c[_0x27be9a(0x146)]:logger[_0x27be9a(0x131)](_0x100e03);break;case _0x1f012c[_0x27be9a(0x137)]:logger[_0x27be9a(0xd7)](_0x100e03);break;case _0x1f012c[_0x27be9a(0x13d)]:logger[_0x27be9a(0x131)](_0x100e03);break;default:logger['error'](_0x100e03);}}else console[_0x27be9a(0xd7)](_0x27be9a(0x15c)+_0x54eda0);return[null,null,null];}}static async['waitForBuildStatus'](){const _0x1a3423=a87_0x3f5873,_0x17737e={'SbfyK':_0x1a3423(0x142),'oXCcT':_0x1a3423(0x16f),'JNjkA':function(_0x50918f,_0x43c9a1){return _0x50918f(_0x43c9a1);}},_0x5b95bb=process[_0x1a3423(0x122)][_0x1a3423(0xe9)];if([_0x17737e['SbfyK'],_0x17737e[_0x1a3423(0x16c)]][_0x1a3423(0x11c)](_0x5b95bb))return;while([_0x17737e[_0x1a3423(0x100)],_0x17737e[_0x1a3423(0x16c)]]['includes'](_0x5b95bb)){await _0x17737e['JNjkA'](sleep,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS);}}static[a87_0x3f5873(0x176)](_0x575ad2){const _0x249c75=a87_0x3f5873,_0x367401={};_0x367401['VAntu']=_0x249c75(0x11b),_0x367401['bSTPM']='Test_End_Upload',_0x367401[_0x249c75(0x166)]='Test_Skipped_Upload',_0x367401[_0x249c75(0x123)]='Log_Upload',_0x367401[_0x249c75(0x13e)]=_0x249c75(0x14c),_0x367401[_0x249c75(0x14e)]=_0x249c75(0x171),_0x367401[_0x249c75(0x124)]=_0x249c75(0x14b);const _0x349fa7=_0x367401,_0x589bdf={};return _0x589bdf[_0x249c75(0x109)]=_0x349fa7[_0x249c75(0x177)],_0x589bdf[_0x249c75(0x110)]=_0x349fa7[_0x249c75(0xef)],_0x589bdf[_0x249c75(0x143)]=_0x349fa7[_0x249c75(0x166)],_0x589bdf[_0x249c75(0x13a)]=_0x349fa7[_0x249c75(0x123)],_0x589bdf[_0x249c75(0x13f)]=_0x349fa7[_0x249c75(0x13e)],_0x589bdf['HookRunFinished']=_0x349fa7['gfMtq'],_0x589bdf[_0x249c75(0xf8)]=_0x349fa7[_0x249c75(0x124)],_0x589bdf[_0x575ad2[_0x249c75(0xfe)]];}static async[a87_0x3f5873(0x108)](_0x3222fc,_0x76bdf8=0x0,_0x2c98ba=null){const _0x464bb1=a87_0x3f5873,_0x5e9cff={'QVEOI':function(_0x14ea89,_0x3f22dc){return _0x14ea89===_0x3f22dc;},'WQwAw':_0x464bb1(0xe4),'XFkPa':function(_0x113e04,_0x4f65cd){return _0x113e04!==_0x4f65cd;},'bXORE':'application/json','XpMJl':_0x464bb1(0x142),'ZTEHo':function(_0x4ef5b2,_0x36b847){return _0x4ef5b2===_0x36b847;},'wxTHX':function(_0x1c74e2,_0x4cc724,_0x5cc85b,_0x25213a,_0x3f9335){return _0x1c74e2(_0x4cc724,_0x5cc85b,_0x25213a,_0x3f9335);},'PItYC':_0x464bb1(0x12a),'CUOlT':function(_0x5ca05b,_0x161fd8,_0xc192,_0xaa7fcb,_0x4502de){return _0x5ca05b(_0x161fd8,_0xc192,_0xaa7fcb,_0x4502de);},'kBthS':function(_0x5b60da,_0x193131){return _0x5b60da(_0x193131);},'PPRIY':'Batch-Queue','zmnDC':function(_0x139338,_0x233db9){return _0x139338-_0x233db9;},'GkjEJ':_0x464bb1(0xd9),'usWHt':_0x464bb1(0x10f),'wWGFr':function(_0x240f82,_0x20ce16){return _0x240f82(_0x20ce16);},'IUAkN':function(_0x1c8ee2,_0x2697d6){return _0x1c8ee2!==_0x2697d6;},'vHuBe':function(_0x42b9cc,_0x400d07){return _0x42b9cc!==_0x400d07;},'wvhyg':'error'};_0x5e9cff['QVEOI'](_0x2c98ba,_0x5e9cff[_0x464bb1(0x155)])&&logger['debug'](_0x464bb1(0xcd)+_0x3222fc[_0x464bb1(0x11d)][0x0]['test_run_uuid']);const _0x362585=await this[_0x464bb1(0x176)](_0x3222fc);let _0x59e10a=_0x3222fc,_0x58a6c9=EVENT_ENDPOINT;_0x5e9cff['XFkPa'](_0x2c98ba,_0x5e9cff['WQwAw'])&&this['requestQueueHandler'][_0x464bb1(0xd5)]();const {shouldProceed:_0xedff00,proceedWithData:_0x3194e7,proceedWithUrl:_0x599e35}=this[_0x464bb1(0x132)][_0x464bb1(0x105)](_0x3222fc);if(!_0xedff00)return;else _0x3194e7&&(_0x59e10a=_0x3194e7,_0x58a6c9=_0x599e35);const _0x47e522={};_0x47e522['Authorization']=_0x464bb1(0xe5)+process['env'][_0x464bb1(0x167)],_0x47e522[_0x464bb1(0x113)]=_0x5e9cff[_0x464bb1(0xf2)],_0x47e522[_0x464bb1(0x119)]=_0x5e9cff[_0x464bb1(0x129)];const _0x2d107b={};_0x2d107b[_0x464bb1(0x150)]=_0x47e522;const _0x369451=_0x2d107b;let _0x3dcb2a;try{_0x5e9cff[_0x464bb1(0xfa)](_0x2c98ba,_0x5e9cff[_0x464bb1(0x155)])?(logger['debug'](_0x464bb1(0x102)+_0x3222fc?.[_0x464bb1(0x11d)][0x0]?.[_0x464bb1(0x121)]),_0x3dcb2a=await _0x5e9cff['wxTHX'](asyncAwaitNodeReq,_0x5e9cff['PItYC'],_0x58a6c9,_0x59e10a,_0x369451),logger['debug'](_0x464bb1(0xd3)+_0x3222fc?.[_0x464bb1(0x11d)][0x0]?.['test_run_uuid'])):_0x3dcb2a=await _0x5e9cff[_0x464bb1(0x115)](nodeRequest,_0x5e9cff[_0x464bb1(0x10a)],_0x58a6c9,_0x59e10a,_0x369451);if(_0x3dcb2a['data'][_0x464bb1(0x131)]){const _0x53b4db={};_0x53b4db['message']=_0x3dcb2a[_0x464bb1(0x147)][_0x464bb1(0x131)];throw _0x53b4db;}else{_0x5e9cff[_0x464bb1(0x12f)](debug,(_0x5e9cff['XFkPa'](_0x58a6c9,this[_0x464bb1(0x132)][_0x464bb1(0xfb)])?_0x362585:_0x5e9cff['PPRIY'])+'['+_0x76bdf8+_0x464bb1(0x128)),this['requestQueueHandler'][_0x464bb1(0xe6)]=Math[_0x464bb1(0xff)](0x0,_0x5e9cff['zmnDC'](this[_0x464bb1(0x132)]['pendingUploads'],_0x5e9cff[_0x464bb1(0xfa)](_0x58a6c9,_0x5e9cff['GkjEJ'])?0x1:_0x59e10a[_0x464bb1(0x13b)]));const _0x1e48d1={};return _0x1e48d1['status']=_0x5e9cff['usWHt'],_0x1e48d1[_0x464bb1(0xdd)]='',_0x1e48d1;}}catch(_0x58eae3){_0x58eae3[_0x464bb1(0x107)]?_0x5e9cff[_0x464bb1(0x10b)](debug,_0x464bb1(0x154)+(_0x5e9cff[_0x464bb1(0x10e)](_0x58a6c9,this[_0x464bb1(0x132)]['eventUrl'])?_0x362585:_0x5e9cff[_0x464bb1(0x172)])+_0x464bb1(0x152)+_0x58eae3[_0x464bb1(0x107)]['status']+'\x20'+_0x58eae3['response']['statusText']+'\x20'+util[_0x464bb1(0xf1)](_0x58eae3[_0x464bb1(0x107)]['data'])):_0x5e9cff[_0x464bb1(0x12f)](debug,'EXCEPTION\x20IN\x20'+(_0x5e9cff['vHuBe'](_0x58a6c9,this['requestQueueHandler']['eventUrl'])?_0x362585:_0x5e9cff['PPRIY'])+_0x464bb1(0x152)+util[_0x464bb1(0xf1)](_0x58eae3));this[_0x464bb1(0x132)][_0x464bb1(0xe6)]=Math[_0x464bb1(0xff)](0x0,_0x5e9cff[_0x464bb1(0x136)](this[_0x464bb1(0x132)][_0x464bb1(0xe6)],_0x5e9cff[_0x464bb1(0x11e)](_0x58a6c9,_0x5e9cff[_0x464bb1(0x165)])?0x1:_0x59e10a[_0x464bb1(0x13b)]));const _0x10386b={};return _0x10386b[_0x464bb1(0xd6)]=_0x5e9cff[_0x464bb1(0x139)],_0x10386b['message']=_0x58eae3['message']||(_0x58eae3[_0x464bb1(0x107)]?_0x58eae3['response'][_0x464bb1(0xd6)]+':'+_0x58eae3[_0x464bb1(0x107)][_0x464bb1(0xd4)]:_0x58eae3),_0x10386b;}}static async[a87_0x3f5873(0xe1)](_0x3a4c3c,_0x2393cd=0x0){const _0x9187fa=a87_0x3f5873,_0x488baf={'MyEKs':function(_0x47aa64,_0x145271){return _0x47aa64+_0x145271;},'IceGn':function(_0x38ed0c,_0x1da85d){return _0x38ed0c(_0x1da85d);},'arjYP':_0x9187fa(0x164),'DmpAU':'uuid','hEpdV':_0x9187fa(0x118),'mnVfE':function(_0x2da970,_0x4fe629,_0x499472){return _0x2da970(_0x4fe629,_0x499472);},'nlmno':_0x9187fa(0xe1),'KmFpo':function(_0x13cacd,_0xe31e1b){return _0x13cacd===_0xe31e1b;},'EMypQ':function(_0x4fbbe2,_0x4aaba1){return _0x4fbbe2!==_0x4aaba1;},'jyLFz':_0x9187fa(0xcf),'xOrJD':function(_0x41c8c8,_0x5a903b){return _0x41c8c8===_0x5a903b;},'udEOA':_0x9187fa(0x142),'AOoju':function(_0x1ade6e){return _0x1ade6e();},'jGajI':function(_0x1585ff,_0x240d86){return _0x1585ff===_0x240d86;},'RHaoD':function(_0x56580f,_0x1e91eb){return _0x56580f(_0x1e91eb);},'kqOfj':function(_0x166174,_0x28a6f0){return _0x166174-_0x28a6f0;},'fCdLy':'error','qWbxy':_0x9187fa(0xda),'HmYza':function(_0x1f6734,_0x334976){return _0x1f6734>=_0x334976;},'SOSvH':function(_0x1299cb,_0x1268a1){return _0x1299cb!==_0x1268a1;},'BCsQY':'Retry\x20runs\x20exceeded','hinvK':function(_0x4f2596,_0x84ca38){return _0x4f2596!==_0x84ca38;},'NcCoe':_0x9187fa(0x16f),'XRMbF':function(_0x55bdda,_0x5d53ee,_0x4fa0f){return _0x55bdda(_0x5d53ee,_0x4fa0f);}},_0x4d3676=this[_0x9187fa(0x176)](_0x3a4c3c);_0x488baf[_0x9187fa(0x140)](trace,'Processing\x20event\x20-\x20\x27'+_0x3a4c3c[_0x9187fa(0xfe)]+'\x27\x20'+(bsSetupHelper[_0x9187fa(0x145)](_0x3a4c3c,[_0x488baf['arjYP'],_0x488baf[_0x9187fa(0x116)]])||bsSetupHelper[_0x9187fa(0x145)](_0x3a4c3c,[_0x488baf[_0x9187fa(0x104)],_0x488baf[_0x9187fa(0x116)]])));if(!_0x488baf[_0x9187fa(0x11f)](shouldProcessEventForTesthub,_0x3a4c3c['event_type'],_0x488baf[_0x9187fa(0x10c)]))return;_0x488baf[_0x9187fa(0xf0)](_0x2393cd,0x0)&&process[_0x9187fa(0x122)][_0x9187fa(0x167)]&&_0x488baf['EMypQ'](process[_0x9187fa(0x122)][_0x9187fa(0x167)],_0x488baf[_0x9187fa(0x151)])&&(this[_0x9187fa(0x132)]['pendingUploads']+=0x1);if(_0x488baf['xOrJD'](process[_0x9187fa(0x122)][_0x9187fa(0xe9)],_0x488baf[_0x9187fa(0xe7)])||process['env'][_0x9187fa(0xce)]||_0x488baf['AOoju'](isPercyBuild)){if(_0x488baf[_0x9187fa(0x16b)](process[_0x9187fa(0x122)][_0x9187fa(0x167)],_0x488baf[_0x9187fa(0x151)])){_0x488baf[_0x9187fa(0x114)](debug,_0x9187fa(0x154)+_0x4d3676+_0x9187fa(0x175)),this[_0x9187fa(0x132)][_0x9187fa(0xe6)]=Math[_0x9187fa(0xff)](0x0,_0x488baf['kqOfj'](this[_0x9187fa(0x132)][_0x9187fa(0xe6)],0x1));const _0x5b9371={};return _0x5b9371['status']=_0x488baf[_0x9187fa(0x12b)],_0x5b9371['message']=_0x488baf['qWbxy'],_0x5b9371;}return await this[_0x9187fa(0x108)](_0x3a4c3c,_0x2393cd);}else{if(_0x488baf['HmYza'](_0x2393cd,0x5)){_0x488baf[_0x9187fa(0x114)](debug,_0x9187fa(0x154)+_0x4d3676+_0x9187fa(0x170)+_0x4d3676+_0x9187fa(0x11a));_0x488baf[_0x9187fa(0xf3)](process['env'][_0x9187fa(0x167)],_0x488baf[_0x9187fa(0x151)])&&(this[_0x9187fa(0x132)][_0x9187fa(0xe6)]=Math[_0x9187fa(0xff)](0x0,_0x488baf[_0x9187fa(0x149)](this[_0x9187fa(0x132)][_0x9187fa(0xe6)],0x1)));const _0x1d4743={};return _0x1d4743[_0x9187fa(0xd6)]=_0x488baf[_0x9187fa(0x12b)],_0x1d4743['message']=_0x488baf['BCsQY'],_0x1d4743;}else _0x488baf['hinvK'](process[_0x9187fa(0x122)][_0x9187fa(0xe9)],_0x488baf[_0x9187fa(0x178)])&&_0x488baf[_0x9187fa(0xf5)](setTimeout,()=>{const _0x344864=_0x9187fa;this['uploadEventData'](_0x3a4c3c,_0x488baf[_0x344864(0x168)](_0x2393cd,0x1));},0x3e8);}}}function a87_0xea13(){const _0x370408=['\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20missing\x20authentication\x20token','getLogTag','VAntu','NcCoe','Sending\x20trace\x20zip\x20for\x20test:\x20','BS_A11Y_JWT','null','resolve','UftQr','allow_screenshots','Trace\x20zip\x20sent\x20to\x20nodeRequest\x20for\x20test:\x20','statusText','start','status','info','username','api/v1/event','Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed','password','DfjiR','message','api/v1/builds','Build\x20creation\x20successful!','./utils','uploadEventData','getGitMetaData','BROWSERSTACK_TESTHUB_UUID','sendTraceZip','Bearer\x20','pendingUploads','udEOA','7113414MByjnc','BS_TESTOPS_BUILD_COMPLETED','frameworkVersion','9dnnVUi','getUserName','ERROR_INVALID_CREDENTIALS','browserstackAutomation','bSTPM','KmFpo','format','bXORE','SOSvH','318bQrvOF','XRMbF','util','ERROR_ACCESS_DENIED','CBTSessionCreated','getAccessKey','ZTEHo','eventUrl','stringify','winstonLogger','event_type','max','SbfyK','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20','Sending\x20trace\x20zip\x20to\x20nodeRequest\x20for\x20test:\x20','BS_TESTOPS_BUILD_HASHED_ID','hEpdV','add','hdLRa','response','sendEventData','TestRunStarted','PItYC','wWGFr','nlmno','2543944YqxOSu','IUAkN','success','TestRunFinished','build_hashed_id','BS_TESTOPS_JWT','Content-Type','RHaoD','CUOlT','DmpAU','691202YCZWCx','hook_run','X-BSTACK-TESTOPS','\x20retry\x20runs\x20exceeded','Test_Start_Upload','includes','logs','QVEOI','mnVfE','8792YQLjdi','test_run_uuid','env','NmRLy','RSLAR','launch','30yVKZyR','Vhito',']\x20event\x20successful!','XpMJl','POST','fCdLy','getCiInfo','5506150VqsMbY','362495RpHmMa','kBthS','path','error','requestQueueHandler','./requestQueueHandler','toISOString','2524DNFDli','zmnDC','gtsCX','frameworkName','wvhyg','LogCreated','length','buildDescription','WrFgk','TvniA','HookRunStarted','IceGn','QCZtR','true','TestRunSkipped','json','nestedKeyValue','AyVOr','data','toString','kqOfj','BROWSERSTACK_BUILD_RUN_IDENTIFIER','CBT_Upload','Hook_Start_Upload','basename','gfMtq','rapoD','headers','jyLFz','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','BS_TESTOPS_ALLOW_SCREENSHOTS','EXCEPTION\x20IN\x20','WQwAw','projectName','qoSYe','1632meBGui','fltLo','yVWNt','IjcbT','Data\x20upload\x20to\x20BrowserStack\x20Test\x20Observability\x20failed\x20due\x20to\x20','getInstance','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','jwt','ypsoI','./constants','exports','xpIpH','test_run','GkjEJ','OQoSA','BROWSERSTACK_TESTHUB_JWT','MyEKs','ERROR_SDK_DEPRECATED','OUUhU','jGajI','oXCcT','voNgS','errorType','false','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20Build\x20Start\x20is\x20not\x20completed\x20and\x20','Hook_End_Upload','PPRIY','buildName','BROWSERSTACK_RERUN'];a87_0xea13=function(){return _0x370408;};return a87_0xea13();}function a87_0x467a(_0x2ad2a7,_0x1d0765){const _0xea1337=a87_0xea13();return a87_0x467a=function(_0x467a05,_0x2c3868){_0x467a05=_0x467a05-0xcd;let _0x53ed54=_0xea1337[_0x467a05];return _0x53ed54;},a87_0x467a(_0x2ad2a7,_0x1d0765);}module[a87_0x3f5873(0x162)]=SessionHandler;
1
+ function a87_0x44e9(_0x283d44,_0x2e9928){const _0x165c50=a87_0x165c();return a87_0x44e9=function(_0x44e935,_0x5f4903){_0x44e935=_0x44e935-0x1d4;let _0x22ccfb=_0x165c50[_0x44e935];return _0x22ccfb;},a87_0x44e9(_0x283d44,_0x2e9928);}const a87_0x3d00c3=a87_0x44e9;(function(_0x39ebff,_0x401372){const _0x32bd23=a87_0x44e9,_0x3ae299=_0x39ebff();while(!![]){try{const _0x446b57=parseInt(_0x32bd23(0x27c))/0x1+parseInt(_0x32bd23(0x1fa))/0x2*(parseInt(_0x32bd23(0x247))/0x3)+parseInt(_0x32bd23(0x214))/0x4+parseInt(_0x32bd23(0x1f1))/0x5*(parseInt(_0x32bd23(0x1e5))/0x6)+-parseInt(_0x32bd23(0x27a))/0x7*(-parseInt(_0x32bd23(0x1d9))/0x8)+-parseInt(_0x32bd23(0x20f))/0x9+parseInt(_0x32bd23(0x246))/0xa*(-parseInt(_0x32bd23(0x21d))/0xb);if(_0x446b57===_0x401372)break;else _0x3ae299['push'](_0x3ae299['shift']());}catch(_0xed4246){_0x3ae299['push'](_0x3ae299['shift']());}}}(a87_0x165c,0x4ec28));function a87_0x165c(){const _0x2e2f7f=['Data\x20upload\x20to\x20BrowserStack\x20Test\x20Observability\x20failed\x20due\x20to\x20','POST','message','hHZci','getAccessKey','resolve','pRkgg','kAjWA','exports','hyDpE','debug','winstonLogger','response','uuid','includes','ShGbm','eOzbO','VVGKD','CyJdr','test_run_uuid','FBITE','HookRunFinished','gwDhh','BS_TESTOPS_BUILD_COMPLETED','YjDNa','getCiInfo','21YuRGCr','requestQueueHandler','502111yCGZcP','build_hashed_id','KRuxv','\x20retry\x20runs\x20exceeded','Hook_End_Upload','browserstackAutomation','ERROR_INVALID_CREDENTIALS','Sending\x20trace\x20zip\x20to\x20nodeRequest\x20for\x20test:\x20','format','eventUrl','success','toString','QmlBN','RqBWl','data','FUmYB','qbuSt','1019688jaarNY','json','frameworkName','ykTyQ','bDFWc','ZUYEJ','test_run','klvSZ','HMyqd','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','./utils','jRCKp','12bqEJEG','Retry\x20runs\x20exceeded','CREDENTIALS_FOR_CRASH_REPORTING','nestedKeyValue','sendEventData','X-BSTACK-TESTOPS','BS_TESTOPS_ALLOW_SCREENSHOTS','Build\x20creation\x20successful!','DSaEU','DRCIj','stringify','waitForBuildStatus','1347550hDCslJ','SzxLG','application/json','tYxiG','TestRunFinished','RSMQY','ouiqa','LogCreated','GEzKA','4SCjuMy','IfNuR','sendTraceZip','BS_TESTOPS_BUILD_HASHED_ID','NxHKY','cwd','PPiNg','util','IHjyL','HzcMP','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','event_type','lXKnn','YwFpR','username','Sending\x20trace\x20zip\x20for\x20test:\x20','uploadEventData','ouzLf','BS_TESTOPS_JWT','pendingUploads','getLogTag','4886316wMFYAM','BS_A11Y_JWT','Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed','nxQgG','true','1456592wucVbQ','Test_Start_Upload','Fmxbf','Test_End_Upload',']\x20event\x20successful!','length','false','HyFGT','../logger','12349502ipWhFj','XPMaD','BollT','add','projectName','./requestQueueHandler','dZval','viAwm','EXCEPTION\x20IN\x20','IuyqQ','HookRunStarted','TgrBX','PKdRU','eFBMx','error','api/v1/event','TestRunSkipped','Batch-Queue','allow_screenshots','password','TestRunStarted','errorType','ERROR_SDK_DEPRECATED','Content-Type','info','BROWSERSTACK_TESTHUB_UUID','getInstance','api/v1/builds','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20','UWjMU','SAjDd','env','BROWSERSTACK_TESTHUB_JWT','buildIdentifier','path','statusText','basename','launch','xsPCe','jwt','Authorization','10zDSetN','300816Tjmfcj','Gjffs','app','logs','jHUvX','RiwzM','start','sWUWG','../helper','Processing\x20event\x20-\x20\x27','headers','YgngY','status','RyCAM','frameworkVersion','rGjtl','CBT_Upload','buildName','Msahd','vvVUM','max','toISOString','BfVym','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20missing\x20authentication\x20token','getHostInfo'];a87_0x165c=function(){return _0x2e2f7f;};return a87_0x165c();}const bsSetupHelper=require(a87_0x3d00c3(0x24f)),path=require(a87_0x3d00c3(0x23f)),os=require('os'),{debug,getCustomTags,getDefaultHeaders,nodeRequest,asyncAwaitNodeReq,sleep,isTestObservabilitySession,trace}=require(a87_0x3d00c3(0x1e3)),{EVENT_ENDPOINT,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS}=require('./constants'),RequestQueueHandler=require(a87_0x3d00c3(0x222)),logger=require(a87_0x3d00c3(0x21c))[a87_0x3d00c3(0x26b)],{shouldProcessEventForTesthub,isPercyBuild,getProductMap}=require('../../helpers/testhub/utils'),util=require(a87_0x3d00c3(0x201));class SessionHandler{static [a87_0x3d00c3(0x27b)]=RequestQueueHandler[a87_0x3d00c3(0x237)]();static async[a87_0x3d00c3(0x242)](_0x19f8ea,_0x1fc650){const _0x427cfa=a87_0x3d00c3,_0x4c8141={'tYxiG':function(_0x344ad7,_0x2baf4e){return _0x344ad7||_0x2baf4e;},'jRCKp':function(_0xc89163,_0x515331){return _0xc89163===_0x515331;},'RqBWl':function(_0x229155,_0x119af3){return _0x229155(_0x119af3);},'Fmxbf':_0x427cfa(0x204),'HzcMP':_0x427cfa(0x21a),'BfVym':_0x427cfa(0x1da),'YgngY':function(_0x2f2001,_0xce7460){return _0x2f2001(_0xce7460);},'SAjDd':function(_0x2f6381,_0x24c297,_0x284232,_0x47464f,_0x421ac2){return _0x2f6381(_0x24c297,_0x284232,_0x47464f,_0x421ac2);},'klvSZ':_0x427cfa(0x261),'IHjyL':_0x427cfa(0x238),'GEzKA':function(_0xc740ef,_0x5d227e){return _0xc740ef(_0x5d227e);},'dZval':_0x427cfa(0x1ec),'lXKnn':function(_0x12177e){return _0x12177e();},'WmkZu':_0x427cfa(0x213),'DRCIj':'null','PKdRU':_0x427cfa(0x282),'FUmYB':'ERROR_ACCESS_DENIED','XPMaD':_0x427cfa(0x233)},_0x3c9bc6=bsSetupHelper['getUserName'](_0x19f8ea),_0x3c7902=bsSetupHelper[_0x427cfa(0x264)](_0x19f8ea),_0x26a0b8=_0x4c8141[_0x427cfa(0x1f4)](_0x3c9bc6,'')+':'+_0x4c8141[_0x427cfa(0x1f4)](_0x3c7902,'');if(_0x4c8141[_0x427cfa(0x1e4)](_0x26a0b8,':'))return _0x4c8141['RqBWl'](debug,_0x4c8141[_0x427cfa(0x216)]),process[_0x427cfa(0x23c)][_0x427cfa(0x277)]=_0x4c8141[_0x427cfa(0x203)],[null,null];let _0x27130f=![],_0x50c4aa=![];if(_0x19f8ea[_0x427cfa(0x281)]&&_0x19f8ea[_0x427cfa(0x249)])_0x50c4aa=!![];else _0x19f8ea[_0x427cfa(0x281)]&&(_0x27130f=!![]);try{const _0x48fb52={'format':_0x4c8141[_0x427cfa(0x25d)],'project_name':_0x19f8ea[_0x427cfa(0x221)]||'','name':_0x19f8ea[_0x427cfa(0x258)]||path[_0x427cfa(0x241)](path[_0x427cfa(0x265)](process[_0x427cfa(0x1ff)]())),'build_identifier':_0x19f8ea[_0x427cfa(0x23e)],'description':_0x19f8ea['buildDescription']||'','start_time':new Date()[_0x427cfa(0x25c)](),'tags':_0x4c8141[_0x427cfa(0x252)](getCustomTags,_0x19f8ea),'host_info':bsSetupHelper[_0x427cfa(0x25f)](),'ci_info':bsSetupHelper[_0x427cfa(0x279)](),'build_run_identifier':process['env']['BROWSERSTACK_BUILD_RUN_IDENTIFIER'],'failed_tests_rerun':process[_0x427cfa(0x23c)]['BROWSERSTACK_RERUN']||![],'version_control':await bsSetupHelper['getGitMetaData'](),'observability_version':{'frameworkName':_0x1fc650[_0x427cfa(0x1db)],'frameworkVersion':_0x1fc650[_0x427cfa(0x255)],'sdkVersion':bsSetupHelper['getAgentVersion']()},'product_map':_0x4c8141['RqBWl'](getProductMap,_0x19f8ea)},_0x23d79b={};_0x23d79b[_0x427cfa(0x208)]=_0x3c9bc6,_0x23d79b[_0x427cfa(0x230)]=_0x3c7902;const _0x35a921={'auth':_0x23d79b,'headers':_0x4c8141[_0x427cfa(0x1d5)](getDefaultHeaders,![])},_0x25bf80=await _0x4c8141[_0x427cfa(0x23b)](nodeRequest,_0x4c8141[_0x427cfa(0x1e0)],_0x4c8141[_0x427cfa(0x202)],_0x48fb52,_0x35a921);_0x4c8141[_0x427cfa(0x1f9)](debug,_0x4c8141[_0x427cfa(0x223)]);const _0x2939a2=_0x25bf80[_0x427cfa(0x1d6)];_0x2939a2['build_hashed_id']&&(process['env'][_0x427cfa(0x236)]=_0x2939a2[_0x427cfa(0x27d)]);if(_0x4c8141[_0x427cfa(0x206)](isTestObservabilitySession)){process[_0x427cfa(0x23c)][_0x427cfa(0x277)]=_0x4c8141['WmkZu'];if(_0x2939a2['jwt']){process[_0x427cfa(0x23c)][_0x427cfa(0x20c)]=_0x2939a2[_0x427cfa(0x244)];const _0x3da374={};_0x3da374['username']=_0x3c9bc6,_0x3da374[_0x427cfa(0x230)]=_0x3c7902,process[_0x427cfa(0x23c)][_0x427cfa(0x1e7)]=JSON[_0x427cfa(0x1ef)](_0x3da374);}_0x2939a2[_0x427cfa(0x27d)]&&(process[_0x427cfa(0x23c)][_0x427cfa(0x1fd)]=_0x2939a2[_0x427cfa(0x27d)]),_0x2939a2[_0x427cfa(0x22f)]&&(process[_0x427cfa(0x23c)][_0x427cfa(0x1eb)]=_0x2939a2[_0x427cfa(0x22f)][_0x427cfa(0x287)]());}return[_0x25bf80[_0x427cfa(0x1d6)][_0x427cfa(0x244)],_0x25bf80['data'][_0x427cfa(0x27d)],_0x25bf80['data']['allow_screenshots']];}catch(_0x147104){process[_0x427cfa(0x23c)][_0x427cfa(0x236)]=_0x4c8141[_0x427cfa(0x1ee)],process[_0x427cfa(0x23c)][_0x427cfa(0x277)]=_0x4c8141['HzcMP'],process[_0x427cfa(0x23c)][_0x427cfa(0x20c)]=_0x4c8141[_0x427cfa(0x1ee)],process[_0x427cfa(0x23c)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x4c8141[_0x427cfa(0x1ee)],process[_0x427cfa(0x23c)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x4c8141[_0x427cfa(0x1ee)];_0x147104[_0x427cfa(0x26c)]?_0x4c8141[_0x427cfa(0x1d5)](debug,_0x427cfa(0x239)+_0x147104[_0x427cfa(0x26c)][_0x427cfa(0x253)]+'\x20'+_0x147104[_0x427cfa(0x26c)]['statusText']+'\x20'+JSON[_0x427cfa(0x1ef)](_0x147104[_0x427cfa(0x26c)]['data'])):_0x4c8141[_0x427cfa(0x252)](debug,'EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20'+(_0x147104[_0x427cfa(0x262)]||_0x147104));if(_0x147104&&_0x147104[_0x427cfa(0x262)]){const _0xc18ed5=_0x147104['message'];switch(_0x147104[_0x427cfa(0x232)]){case _0x4c8141[_0x427cfa(0x229)]:logger[_0x427cfa(0x22b)](_0xc18ed5);break;case _0x4c8141[_0x427cfa(0x1d7)]:logger[_0x427cfa(0x235)](_0xc18ed5);break;case _0x4c8141[_0x427cfa(0x21e)]:logger[_0x427cfa(0x22b)](_0xc18ed5);break;default:logger[_0x427cfa(0x22b)](_0xc18ed5);}}else console[_0x427cfa(0x235)](_0x427cfa(0x260)+_0x147104);return[null,null,null];}}static async[a87_0x3d00c3(0x1f0)](){const _0x278826=a87_0x3d00c3,_0x312ca7={'ouzLf':'true','HyFGT':_0x278826(0x21a),'YztLG':function(_0xd1fb8d,_0x479c87){return _0xd1fb8d(_0x479c87);}},_0x4df99d=process[_0x278826(0x23c)][_0x278826(0x277)];if([_0x312ca7[_0x278826(0x20b)],_0x312ca7[_0x278826(0x21b)]][_0x278826(0x26e)](_0x4df99d))return;while([_0x312ca7[_0x278826(0x20b)],_0x312ca7[_0x278826(0x21b)]]['includes'](_0x4df99d)){await _0x312ca7['YztLG'](sleep,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS);}}static[a87_0x3d00c3(0x20e)](_0x2ba39b){const _0x490883=a87_0x3d00c3,_0x127b71={};_0x127b71[_0x490883(0x1de)]=_0x490883(0x215),_0x127b71[_0x490883(0x248)]=_0x490883(0x217),_0x127b71[_0x490883(0x25a)]='Test_Skipped_Upload',_0x127b71[_0x490883(0x1fb)]='Log_Upload',_0x127b71[_0x490883(0x24b)]='Hook_Start_Upload',_0x127b71[_0x490883(0x1f7)]=_0x490883(0x280),_0x127b71['KRuxv']=_0x490883(0x257);const _0x427279=_0x127b71,_0x4b4ef5={};return _0x4b4ef5[_0x490883(0x231)]=_0x427279[_0x490883(0x1de)],_0x4b4ef5[_0x490883(0x1f5)]=_0x427279[_0x490883(0x248)],_0x4b4ef5[_0x490883(0x22d)]=_0x427279[_0x490883(0x25a)],_0x4b4ef5[_0x490883(0x1f8)]=_0x427279['IfNuR'],_0x4b4ef5[_0x490883(0x227)]=_0x427279['jHUvX'],_0x4b4ef5[_0x490883(0x275)]=_0x427279['ouiqa'],_0x4b4ef5['CBTSessionCreated']=_0x427279[_0x490883(0x27e)],_0x4b4ef5[_0x2ba39b['event_type']];}static async[a87_0x3d00c3(0x1e9)](_0x242d90,_0x26ffc3=0x0,_0x5a062b=null){const _0x2cd71c=a87_0x3d00c3,_0x3715c9={'DHUld':function(_0x44629a,_0x96d1c7){return _0x44629a===_0x96d1c7;},'PPiNg':_0x2cd71c(0x1fc),'qbuSt':function(_0x24929c,_0x267147){return _0x24929c!==_0x267147;},'RSMQY':_0x2cd71c(0x1f3),'CyJdr':_0x2cd71c(0x213),'UWjMU':function(_0x264b34,_0x184901){return _0x264b34===_0x184901;},'ShGbm':function(_0x194a40,_0xea7bac,_0x1459c0,_0x3252a5,_0x4b22dd){return _0x194a40(_0xea7bac,_0x1459c0,_0x3252a5,_0x4b22dd);},'nxQgG':_0x2cd71c(0x261),'IuyqQ':function(_0x2e0793,_0x4f6718){return _0x2e0793(_0x4f6718);},'tlEEC':function(_0x405653,_0x2e49de){return _0x405653!==_0x2e49de;},'YwFpR':_0x2cd71c(0x22e),'RiwzM':function(_0x29a4c0,_0x552588){return _0x29a4c0-_0x552588;},'FlrLm':function(_0x2dda9d,_0x45ecfd){return _0x2dda9d===_0x45ecfd;},'FBITE':_0x2cd71c(0x22c),'TgrBX':_0x2cd71c(0x286),'RyCAM':function(_0x115b20,_0x2a22a3){return _0x115b20!==_0x2a22a3;},'MOyRH':function(_0x34c827,_0x6c0e68){return _0x34c827-_0x6c0e68;},'bDFWc':_0x2cd71c(0x22b)};_0x3715c9['DHUld'](_0x5a062b,_0x3715c9[_0x2cd71c(0x200)])&&logger[_0x2cd71c(0x26a)](_0x2cd71c(0x209)+_0x242d90[_0x2cd71c(0x24a)][0x0][_0x2cd71c(0x273)]);const _0x412be6=await this[_0x2cd71c(0x20e)](_0x242d90);let _0x545758=_0x242d90,_0x3303fc=EVENT_ENDPOINT;_0x3715c9[_0x2cd71c(0x1d8)](_0x5a062b,_0x3715c9['PPiNg'])&&this[_0x2cd71c(0x27b)][_0x2cd71c(0x24d)]();const {shouldProceed:_0xa54e58,proceedWithData:_0x4a8228,proceedWithUrl:_0x289b4d}=this['requestQueueHandler'][_0x2cd71c(0x220)](_0x242d90);if(!_0xa54e58)return;else _0x4a8228&&(_0x545758=_0x4a8228,_0x3303fc=_0x289b4d);const _0x5927c8={};_0x5927c8[_0x2cd71c(0x245)]='Bearer\x20'+process[_0x2cd71c(0x23c)]['BROWSERSTACK_TESTHUB_JWT'],_0x5927c8[_0x2cd71c(0x234)]=_0x3715c9[_0x2cd71c(0x1f6)],_0x5927c8[_0x2cd71c(0x1ea)]=_0x3715c9[_0x2cd71c(0x272)];const _0x5bbf93={};_0x5bbf93[_0x2cd71c(0x251)]=_0x5927c8;const _0x4c57de=_0x5bbf93;let _0x95dd3d;try{_0x3715c9[_0x2cd71c(0x23a)](_0x5a062b,_0x3715c9[_0x2cd71c(0x200)])?(logger['debug'](_0x2cd71c(0x283)+_0x242d90?.[_0x2cd71c(0x24a)][0x0]?.[_0x2cd71c(0x273)]),_0x95dd3d=await _0x3715c9[_0x2cd71c(0x26f)](asyncAwaitNodeReq,_0x3715c9[_0x2cd71c(0x212)],_0x3303fc,_0x545758,_0x4c57de),logger['debug']('Trace\x20zip\x20sent\x20to\x20nodeRequest\x20for\x20test:\x20'+_0x242d90?.[_0x2cd71c(0x24a)][0x0]?.['test_run_uuid'])):_0x95dd3d=await _0x3715c9['ShGbm'](nodeRequest,_0x3715c9['nxQgG'],_0x3303fc,_0x545758,_0x4c57de);if(_0x95dd3d[_0x2cd71c(0x1d6)][_0x2cd71c(0x22b)]){const _0x46ae8e={};_0x46ae8e[_0x2cd71c(0x262)]=_0x95dd3d[_0x2cd71c(0x1d6)]['error'];throw _0x46ae8e;}else{_0x3715c9[_0x2cd71c(0x226)](debug,(_0x3715c9['tlEEC'](_0x3303fc,this['requestQueueHandler'][_0x2cd71c(0x285)])?_0x412be6:_0x3715c9[_0x2cd71c(0x207)])+'['+_0x26ffc3+_0x2cd71c(0x218)),this[_0x2cd71c(0x27b)][_0x2cd71c(0x20d)]=Math[_0x2cd71c(0x25b)](0x0,_0x3715c9[_0x2cd71c(0x24c)](this[_0x2cd71c(0x27b)][_0x2cd71c(0x20d)],_0x3715c9['FlrLm'](_0x3303fc,_0x3715c9['FBITE'])?0x1:_0x545758[_0x2cd71c(0x219)]));const _0x5a14f7={};return _0x5a14f7['status']=_0x3715c9[_0x2cd71c(0x228)],_0x5a14f7[_0x2cd71c(0x262)]='',_0x5a14f7;}}catch(_0x59ce17){_0x59ce17['response']?_0x3715c9[_0x2cd71c(0x226)](debug,_0x2cd71c(0x225)+(_0x3715c9[_0x2cd71c(0x254)](_0x3303fc,this[_0x2cd71c(0x27b)][_0x2cd71c(0x285)])?_0x412be6:_0x3715c9['YwFpR'])+_0x2cd71c(0x1e2)+_0x59ce17[_0x2cd71c(0x26c)][_0x2cd71c(0x253)]+'\x20'+_0x59ce17['response'][_0x2cd71c(0x240)]+'\x20'+util['format'](_0x59ce17[_0x2cd71c(0x26c)]['data'])):_0x3715c9[_0x2cd71c(0x226)](debug,_0x2cd71c(0x225)+(_0x3715c9[_0x2cd71c(0x1d8)](_0x3303fc,this['requestQueueHandler']['eventUrl'])?_0x412be6:_0x3715c9['YwFpR'])+_0x2cd71c(0x1e2)+util[_0x2cd71c(0x284)](_0x59ce17));this['requestQueueHandler']['pendingUploads']=Math[_0x2cd71c(0x25b)](0x0,_0x3715c9['MOyRH'](this[_0x2cd71c(0x27b)][_0x2cd71c(0x20d)],_0x3715c9[_0x2cd71c(0x23a)](_0x3303fc,_0x3715c9[_0x2cd71c(0x274)])?0x1:_0x545758[_0x2cd71c(0x219)]));const _0x3a0c53={};return _0x3a0c53[_0x2cd71c(0x253)]=_0x3715c9[_0x2cd71c(0x1dd)],_0x3a0c53[_0x2cd71c(0x262)]=_0x59ce17[_0x2cd71c(0x262)]||(_0x59ce17[_0x2cd71c(0x26c)]?_0x59ce17['response'][_0x2cd71c(0x253)]+':'+_0x59ce17[_0x2cd71c(0x26c)][_0x2cd71c(0x240)]:_0x59ce17),_0x3a0c53;}}static async['uploadEventData'](_0x160685,_0x18533c=0x0){const _0x591472=a87_0x3d00c3,_0x1fb5bf={'VVGKD':function(_0x13097e,_0x1b047f){return _0x13097e+_0x1b047f;},'NxHKY':function(_0x242f4f,_0x5dc6ba){return _0x242f4f(_0x5dc6ba);},'MiscF':_0x591472(0x1df),'hyDpE':_0x591472(0x26d),'sWUWG':'hook_run','SzxLG':function(_0x341e0f,_0x26366f,_0x647a59){return _0x341e0f(_0x26366f,_0x647a59);},'rGjtl':_0x591472(0x20a),'BollT':function(_0x584056,_0x41acc2){return _0x584056===_0x41acc2;},'Msahd':function(_0x5adaca,_0x47ef90){return _0x5adaca!==_0x47ef90;},'hHZci':'null','ykTyQ':function(_0x39b2ce,_0x9652b){return _0x39b2ce===_0x9652b;},'HMyqd':_0x591472(0x213),'eOzbO':function(_0x3abc0d){return _0x3abc0d();},'xsPCe':function(_0x2234b2,_0x375156){return _0x2234b2(_0x375156);},'DSaEU':function(_0x56f6fe,_0x17d05d){return _0x56f6fe-_0x17d05d;},'gwDhh':_0x591472(0x22b),'Hfgzy':_0x591472(0x211),'viAwm':function(_0x36bb80,_0x21af3e){return _0x36bb80>=_0x21af3e;},'YjDNa':function(_0x47f6e4,_0x52f895){return _0x47f6e4(_0x52f895);},'pRkgg':function(_0x4b4104,_0x3634bc){return _0x4b4104!==_0x3634bc;},'QmlBN':function(_0x4873f1,_0x241b1c){return _0x4873f1-_0x241b1c;},'kAjWA':_0x591472(0x1e6),'eFBMx':_0x591472(0x21a)},_0x119edf=this['getLogTag'](_0x160685);_0x1fb5bf[_0x591472(0x1fe)](trace,_0x591472(0x250)+_0x160685[_0x591472(0x205)]+'\x27\x20'+(bsSetupHelper[_0x591472(0x1e8)](_0x160685,[_0x1fb5bf['MiscF'],_0x1fb5bf[_0x591472(0x269)]])||bsSetupHelper[_0x591472(0x1e8)](_0x160685,[_0x1fb5bf[_0x591472(0x24e)],_0x1fb5bf['hyDpE']])));if(!_0x1fb5bf['SzxLG'](shouldProcessEventForTesthub,_0x160685['event_type'],_0x1fb5bf[_0x591472(0x256)]))return;_0x1fb5bf['BollT'](_0x18533c,0x0)&&process['env'][_0x591472(0x23d)]&&_0x1fb5bf[_0x591472(0x259)](process[_0x591472(0x23c)][_0x591472(0x23d)],_0x1fb5bf[_0x591472(0x263)])&&(this['requestQueueHandler'][_0x591472(0x20d)]+=0x1);if(_0x1fb5bf[_0x591472(0x1dc)](process[_0x591472(0x23c)][_0x591472(0x277)],_0x1fb5bf[_0x591472(0x1e1)])||process['env'][_0x591472(0x210)]||_0x1fb5bf[_0x591472(0x270)](isPercyBuild)){if(_0x1fb5bf[_0x591472(0x21f)](process[_0x591472(0x23c)][_0x591472(0x23d)],_0x1fb5bf[_0x591472(0x263)])){_0x1fb5bf[_0x591472(0x243)](debug,'EXCEPTION\x20IN\x20'+_0x119edf+_0x591472(0x25e)),this[_0x591472(0x27b)][_0x591472(0x20d)]=Math['max'](0x0,_0x1fb5bf[_0x591472(0x1ed)](this['requestQueueHandler'][_0x591472(0x20d)],0x1));const _0x255f6f={};return _0x255f6f[_0x591472(0x253)]=_0x1fb5bf[_0x591472(0x276)],_0x255f6f[_0x591472(0x262)]=_0x1fb5bf['Hfgzy'],_0x255f6f;}return await this['sendEventData'](_0x160685,_0x18533c);}else{if(_0x1fb5bf[_0x591472(0x224)](_0x18533c,0x5)){_0x1fb5bf[_0x591472(0x278)](debug,'EXCEPTION\x20IN\x20'+_0x119edf+'\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20Build\x20Start\x20is\x20not\x20completed\x20and\x20'+_0x119edf+_0x591472(0x27f));_0x1fb5bf[_0x591472(0x266)](process['env'][_0x591472(0x23d)],_0x1fb5bf['hHZci'])&&(this[_0x591472(0x27b)]['pendingUploads']=Math['max'](0x0,_0x1fb5bf[_0x591472(0x1d4)](this[_0x591472(0x27b)][_0x591472(0x20d)],0x1)));const _0x528a57={};return _0x528a57[_0x591472(0x253)]=_0x1fb5bf[_0x591472(0x276)],_0x528a57[_0x591472(0x262)]=_0x1fb5bf[_0x591472(0x267)],_0x528a57;}else _0x1fb5bf[_0x591472(0x266)](process[_0x591472(0x23c)][_0x591472(0x277)],_0x1fb5bf[_0x591472(0x22a)])&&_0x1fb5bf[_0x591472(0x1f2)](setTimeout,()=>{const _0x32663e=_0x591472;this[_0x32663e(0x20a)](_0x160685,_0x1fb5bf[_0x32663e(0x271)](_0x18533c,0x1));},0x3e8);}}}module[a87_0x3d00c3(0x268)]=SessionHandler;