browserstack-node-sdk 1.34.48 → 1.34.49

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 (139) 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/permissions/AWS.json +85 -0
  27. package/ats/src/permissions/AZURE.json +33 -0
  28. package/ats/src/permissions/GCP.json +19 -0
  29. package/ats/src/utils/AWSUtils.js +1 -1
  30. package/ats/src/utils/createAutoscalerStack.js +1 -1
  31. package/ats/src/utils/createClusterStack.js +1 -1
  32. package/ats/src/utils/createHubHaStack.js +1 -1
  33. package/ats/src/utils/createk8sClient.js +1 -1
  34. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  35. package/ats/src/utils/deleteStack.js +1 -1
  36. package/ats/src/utils/describeStack.js +1 -1
  37. package/ats/src/utils/gridComponents.js +1 -1
  38. package/ats/src/utils/hstUtils.js +1 -1
  39. package/ats/src/utils/instrumentationUtils.js +1 -1
  40. package/ats/src/utils/userInput.js +1 -1
  41. package/ats/src/utils/utilityMethods.js +1 -1
  42. package/ats/src/utils/webSocketUtils.js +1 -1
  43. package/package.json +1 -1
  44. package/src/ai-sdk-node/bundle.js +1 -1
  45. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  46. package/src/bin/codeceptjs/command.js +1 -1
  47. package/src/bin/codeceptjs/helper.js +1 -1
  48. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  49. package/src/bin/cucumber-js/command.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  51. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  52. package/src/bin/cucumber-js/test-observability.js +1 -1
  53. package/src/bin/cucumber-js/test.setup.js +1 -1
  54. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  55. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  56. package/src/bin/integrations/command.js +1 -1
  57. package/src/bin/integrations/constants.js +1 -1
  58. package/src/bin/jest/command.js +1 -1
  59. package/src/bin/jest/customImplements/customCircus.js +1 -1
  60. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  61. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test_before.setup.js +1 -1
  69. package/src/bin/launcher/launcher.js +1 -1
  70. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  71. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  72. package/src/bin/mocha/command.js +1 -1
  73. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  74. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  75. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  76. package/src/bin/mocha/test.setup.js +1 -1
  77. package/src/bin/nightwatch/command.js +1 -1
  78. package/src/bin/playwright/accessibility-helper.js +1 -1
  79. package/src/bin/playwright/command.js +1 -1
  80. package/src/bin/playwright/globalSetup.js +1 -1
  81. package/src/bin/playwright/mock-process.js +1 -1
  82. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  83. package/src/bin/playwright/patches.js +1 -1
  84. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  85. package/src/bin/playwright/reporter/reporter.js +1 -1
  86. package/src/bin/playwright/reporter/test-details.js +1 -1
  87. package/src/bin/playwright/sessionDetails.js +1 -1
  88. package/src/bin/runner.js +1 -1
  89. package/src/bin/setup.js +1 -1
  90. package/src/bin/test-runner/index.js +1 -1
  91. package/src/bin/test-runner/runTest.js +1 -1
  92. package/src/bin/test-runner/testWorker.js +1 -1
  93. package/src/bin/utils/constants.js +1 -1
  94. package/src/bin/utils/log4jsAppender.js +1 -1
  95. package/src/bin/utils/logPatcher.js +1 -1
  96. package/src/bin/utils/logReportingAPI.js +1 -1
  97. package/src/bin/vanilla-js/command.js +1 -1
  98. package/src/browserStackSdk.js +1 -1
  99. package/src/helpers/BrowserStackSetup.js +1 -1
  100. package/src/helpers/accessibility-automation/constants.js +1 -1
  101. package/src/helpers/accessibility-automation/helper.js +1 -1
  102. package/src/helpers/accessibility-automation/scripts.js +1 -1
  103. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  104. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  105. package/src/helpers/ats/constants.js +1 -1
  106. package/src/helpers/ats/helper.js +1 -1
  107. package/src/helpers/capsMapping.js +1 -1
  108. package/src/helpers/central-scanner/constants.js +1 -1
  109. package/src/helpers/central-scanner/helpers.js +1 -1
  110. package/src/helpers/globals.js +1 -1
  111. package/src/helpers/helper.js +1 -1
  112. package/src/helpers/logger.js +1 -1
  113. package/src/helpers/patchHelper.js +1 -1
  114. package/src/helpers/patchHelpers.js +1 -1
  115. package/src/helpers/percy/Percy.js +1 -1
  116. package/src/helpers/percy/PercyBinary.js +1 -1
  117. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  118. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  119. package/src/helpers/percy/PercySDK.js +1 -1
  120. package/src/helpers/percy/index.js +1 -1
  121. package/src/helpers/percy/utils.js +1 -1
  122. package/src/helpers/performance/constants.js +1 -1
  123. package/src/helpers/performance/performance-tester.js +1 -1
  124. package/src/helpers/processHelper.js +1 -1
  125. package/src/helpers/request-spy.js +1 -1
  126. package/src/helpers/setKeepAlive.js +1 -1
  127. package/src/helpers/test-observability/constants.js +1 -1
  128. package/src/helpers/test-observability/error-handler.js +1 -1
  129. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  130. package/src/helpers/test-observability/sessionHandler.js +1 -1
  131. package/src/helpers/test-observability/utils.js +1 -1
  132. package/src/helpers/testhub/constants.js +1 -1
  133. package/src/helpers/testhub/testhubHandler.js +1 -1
  134. package/src/helpers/testhub/utils.js +1 -1
  135. package/src/helpers/timeoutPromise.js +1 -1
  136. package/src/helpers/utilities.js +1 -1
  137. package/src/helpers/w3cMapping.js +1 -1
  138. package/src/hubAllocationMethods.js +1 -1
  139. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a79_0x18eb8c=a79_0x2c47;function a79_0x2c47(_0x45f8f1,_0x32f302){const _0x572df6=a79_0x572d();return a79_0x2c47=function(_0x2c4755,_0x4e27f6){_0x2c4755=_0x2c4755-0xa5;let _0x1cc4d7=_0x572df6[_0x2c4755];return _0x1cc4d7;},a79_0x2c47(_0x45f8f1,_0x32f302);}(function(_0x153fa9,_0x9d17de){const _0x5c6989=a79_0x2c47,_0x1514a3=_0x153fa9();while(!![]){try{const _0x28bea8=-parseInt(_0x5c6989(0x134))/0x1*(-parseInt(_0x5c6989(0x143))/0x2)+parseInt(_0x5c6989(0xd6))/0x3*(-parseInt(_0x5c6989(0x122))/0x4)+-parseInt(_0x5c6989(0xf5))/0x5+-parseInt(_0x5c6989(0xad))/0x6*(-parseInt(_0x5c6989(0xbc))/0x7)+-parseInt(_0x5c6989(0x110))/0x8*(-parseInt(_0x5c6989(0xdf))/0x9)+parseInt(_0x5c6989(0x108))/0xa+parseInt(_0x5c6989(0xcb))/0xb*(-parseInt(_0x5c6989(0xeb))/0xc);if(_0x28bea8===_0x9d17de)break;else _0x1514a3['push'](_0x1514a3['shift']());}catch(_0x234892){_0x1514a3['push'](_0x1514a3['shift']());}}}(a79_0x572d,0x2c06e));const fs=require('fs'),fsPromise=require(a79_0x18eb8c(0xc2)),{performance,PerformanceObserver}=require(a79_0x18eb8c(0xe1)),path=require(a79_0x18eb8c(0xde)),util=require(a79_0x18eb8c(0x107)),logger=require('../logger')[a79_0x18eb8c(0x10d)],{getProcessId,sleep,debug,getTestName}=require(a79_0x18eb8c(0xd1));class PerformanceTester{static [a79_0x18eb8c(0x140)];static ['_events']=[];static ['_measureEvents']=[];static [a79_0x18eb8c(0x12b)]=[];static [a79_0x18eb8c(0x12d)]=![];static [a79_0x18eb8c(0x100)]=a79_0x18eb8c(0x11a);static [a79_0x18eb8c(0x144)]=process[a79_0x18eb8c(0xda)]['browserStackCwd']?path['join'](process[a79_0x18eb8c(0xda)][a79_0x18eb8c(0xb3)],this[a79_0x18eb8c(0x100)]):path[a79_0x18eb8c(0x11d)](process[a79_0x18eb8c(0x12e)](),a79_0x18eb8c(0x125),this['jsonReportDirName']);static ['errorReportDirName']=process[a79_0x18eb8c(0xda)]['browserStackCwd']?path[a79_0x18eb8c(0x11d)](process['env'][a79_0x18eb8c(0xb3)],'error-report'):path['join'](process[a79_0x18eb8c(0x12e)](),a79_0x18eb8c(0xf6));static ['jsonReportFileName']=this[a79_0x18eb8c(0x144)]+a79_0x18eb8c(0x12c)+getProcessId()+a79_0x18eb8c(0x145);static [a79_0x18eb8c(0xbe)]=this[a79_0x18eb8c(0xa7)]+a79_0x18eb8c(0xe5)+getProcessId()+'.json';static [a79_0x18eb8c(0x133)]={};static [a79_0x18eb8c(0xc0)]={};static[a79_0x18eb8c(0x126)](_0x2c5ed1=this['jsonReportDirPath']+a79_0x18eb8c(0x12c)+getProcessId()+a79_0x18eb8c(0x145),_0x40ef04=this[a79_0x18eb8c(0xa7)]+'/error-report-'+getProcessId()+a79_0x18eb8c(0x145)){const _0x4f830b=a79_0x18eb8c,_0x403651={};_0x403651[_0x4f830b(0x118)]=function(_0x60bcd1,_0x597da6){return _0x60bcd1===_0x597da6;},_0x403651[_0x4f830b(0xee)]=_0x4f830b(0xf9),_0x403651[_0x4f830b(0x10f)]=function(_0x27f6f6,_0xa1c985){return _0x27f6f6+_0xa1c985;},_0x403651[_0x4f830b(0xab)]=_0x4f830b(0xdb),_0x403651[_0x4f830b(0x141)]=_0x4f830b(0xc8);const _0x12ec9b=_0x403651;try{!fs[_0x4f830b(0xfa)](this[_0x4f830b(0x144)])&&fs[_0x4f830b(0xd3)](this[_0x4f830b(0x144)]);}catch(_0xc00024){logger[_0x4f830b(0xb7)](_0x12ec9b['ozBrP'](_0x12ec9b[_0x4f830b(0xab)],_0xc00024));}if(this[_0x4f830b(0x12d)]||!this[_0x4f830b(0xd2)]())return;this[_0x4f830b(0x140)]=new PerformanceObserver(_0x35976c=>{const _0x29db7c=_0x4f830b;_0x35976c[_0x29db7c(0xfb)]()[_0x29db7c(0xaa)](_0x2eb9d0=>{const _0x46d763=_0x29db7c;if(_0x12ec9b[_0x46d763(0x118)](_0x2eb9d0[_0x46d763(0xa6)],_0x12ec9b['JVlsr'])){let _0x2fb746={};if(_0x2eb9d0['toJSON'])_0x2fb746=_0x2eb9d0[_0x46d763(0xc1)]();else for(const _0x2498ce in _0x2eb9d0){_0x2fb746[_0x2498ce]=_0x2eb9d0[_0x2498ce];}this[_0x46d763(0x133)][_0x2eb9d0[_0x46d763(0xd8)]]&&(_0x2fb746=Object['assign'](_0x2fb746,this['details'][_0x2eb9d0[_0x46d763(0xd8)]])),delete this['details'][_0x2eb9d0['name']],this[_0x46d763(0xcd)][_0x46d763(0xd9)](_0x2fb746);}else this['_events'][_0x46d763(0xd9)](_0x2eb9d0);});});const _0x421ab6={};_0x421ab6[_0x4f830b(0xd5)]=!![],_0x421ab6[_0x4f830b(0x121)]=[_0x12ec9b[_0x4f830b(0x141)],_0x12ec9b[_0x4f830b(0xee)]],this[_0x4f830b(0x140)][_0x4f830b(0x103)](_0x421ab6),this[_0x4f830b(0x12d)]=!![],this[_0x4f830b(0xe2)]=_0x2c5ed1,this[_0x4f830b(0xbe)]=_0x40ef04;}static[a79_0x18eb8c(0xf2)](){return performance;}static[a79_0x18eb8c(0xbf)](_0xdca4f9,_0x1e59a3){const _0x794e0e=a79_0x18eb8c,_0xacb32={};_0xacb32[_0x794e0e(0x127)]=function(_0x2d94ce,_0x46b9d5){return _0x2d94ce+_0x46b9d5;},_0xacb32[_0x794e0e(0x105)]=function(_0xaf7f4b,_0xc2a17c){return _0xaf7f4b||_0xc2a17c;},_0xacb32[_0x794e0e(0xfd)]=function(_0x4c5100,_0xd2a3ee){return _0x4c5100===_0xd2a3ee;};const _0xb100b3=_0xacb32,_0x443d32={};if(!_0xdca4f9||_0xb100b3[_0x794e0e(0xfd)](_0xdca4f9[_0x794e0e(0x120)],0x0))return;_0xdca4f9[_0x794e0e(0xe8)](_0x276c68=>{const _0x29113d=_0x794e0e;!_0x443d32[_0x276c68['name']]&&(_0x443d32[_0x276c68[_0x29113d(0xd8)]]=0x0),_0x443d32[_0x276c68[_0x29113d(0xd8)]]+=_0x276c68['duration'];});const _0x434efd=_0x1e59a3[_0x794e0e(0x106)]((_0x2a380f,_0x139ed3)=>{const _0x5eafa5=_0x794e0e;return _0xb100b3['TaKOr'](_0x443d32[_0x139ed3],_0xb100b3[_0x5eafa5(0x105)](_0x2a380f,0x0));},0x0);return _0x434efd;}static async['calculateTimesFromMultipleFiles'](_0x4914b4,_0x2e4501){const _0x58cf24=a79_0x18eb8c,_0x34105e={'lhcHZ':function(_0x4a8335,_0x18c913){return _0x4a8335+_0x18c913;},'SAUDS':function(_0x32c4ab,_0x451263){return _0x32c4ab||_0x451263;},'oFNMr':function(_0x2cb90a,_0x4a6cfa){return _0x2cb90a===_0x4a6cfa;},'QIleQ':function(_0x19dfc2,_0x9ccdba){return _0x19dfc2(_0x9ccdba);},'hURVw':function(_0x1bb559,_0x5523ab){return _0x1bb559(_0x5523ab);}};if(!_0x4914b4||_0x34105e[_0x58cf24(0x137)](_0x4914b4[_0x58cf24(0x120)],0x0))return 0x0;const _0x820ed=[];for(const _0x1443bd of _0x4914b4){const _0x19a75d=path[_0x58cf24(0x11d)]('.',_0x1443bd);try{const _0xa59d62=this[_0x58cf24(0xf7)](_0x19a75d);_0xa59d62[_0x58cf24(0xe8)](_0x13fa8a=>{const _0x1d1b3a=_0x58cf24;!_0x820ed[_0x13fa8a['name']]&&(_0x820ed[_0x13fa8a[_0x1d1b3a(0xd8)]]=0x0),_0x820ed[_0x13fa8a[_0x1d1b3a(0xd8)]]+=_0x13fa8a[_0x1d1b3a(0xf0)];});}catch(_0x1f40a6){_0x34105e[_0x58cf24(0x138)](debug,_0x58cf24(0xef)+_0x1f40a6[_0x58cf24(0xb8)]());}}const _0x511515=_0x2e4501[_0x58cf24(0x106)]((_0x522a43,_0x1b9f94)=>{const _0x2ebf36=_0x58cf24;return _0x34105e[_0x2ebf36(0x135)](_0x820ed[_0x1b9f94],_0x34105e[_0x2ebf36(0x13b)](_0x522a43,0x0));},0x0);return _0x34105e[_0x58cf24(0xed)](debug,'Time\x20for\x20'+_0x2e4501+_0x58cf24(0xb2)+_0x511515),_0x511515;}static[a79_0x18eb8c(0xf7)](_0x1ce650){const _0x4f9c19=a79_0x18eb8c;if(!fs[_0x4f9c19(0xfa)](_0x1ce650))return[];return JSON['parse'](fs[_0x4f9c19(0xca)](_0x1ce650)['toString']());}static async[a79_0x18eb8c(0xac)](_0x3ec90d=a79_0x18eb8c(0xa9),_0x420f88=null){const _0x2e0e8b=a79_0x18eb8c,_0x14024f={'Znlzr':function(_0x317485,_0x280599){return _0x317485(_0x280599);},'VDFus':function(_0x3ec022,_0xbcae11){return _0x3ec022(_0xbcae11);}};if(!this['started'])return;await _0x14024f[_0x2e0e8b(0xc4)](sleep,0x1e),this[_0x2e0e8b(0x140)]['disconnect'](),this[_0x2e0e8b(0x12d)]=![],this[_0x2e0e8b(0xcf)](this[_0x2e0e8b(0x11e)]);const _0x5b0b1d=this[_0x2e0e8b(0x101)](this[_0x2e0e8b(0x11e)]),_0x3d60fa=path['join'](process['cwd'](),_0x3ec90d);fs[_0x2e0e8b(0x13a)](_0x3d60fa,_0x5b0b1d,_0x35db4d=>{const _0x24c768=_0x2e0e8b;if(_0x35db4d){_0x14024f[_0x24c768(0x116)](debug,_0x24c768(0x124)+_0x35db4d[_0x24c768(0xb8)]());return;}_0x14024f[_0x24c768(0x116)](debug,_0x24c768(0xbd)+_0x3d60fa);});if(_0x420f88)return this[_0x2e0e8b(0xbf)](this['_events'],_0x420f88);}static[a79_0x18eb8c(0x101)](_0x395877){const _0x3b9710=a79_0x18eb8c,_0x1b0f9d={};_0x1b0f9d['sPOYI']=_0x3b9710(0x117),_0x1b0f9d[_0x3b9710(0x13c)]='<h1>Performance\x20Report</h1>',_0x1b0f9d['rUcBM']='<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>',_0x1b0f9d['pnclF']=_0x3b9710(0xd4);const _0x9bf64a=_0x1b0f9d;let _0x310d53=_0x9bf64a['sPOYI'];return _0x310d53+=_0x9bf64a[_0x3b9710(0x13c)],_0x310d53+=_0x9bf64a['rUcBM'],_0x395877[_0x3b9710(0xaa)](_0x35f891=>{const _0x52d715=_0x3b9710;_0x310d53+=_0x52d715(0x109)+_0x35f891['name']+_0x52d715(0xae)+_0x35f891[_0x52d715(0xf0)]+'</td></tr>';}),_0x310d53+=_0x9bf64a['pnclF'],_0x310d53;}static[a79_0x18eb8c(0xcf)](_0x313537){const _0x16fdde=a79_0x18eb8c;if(!this[_0x16fdde(0xe2)])return;const _0xf95e34={};_0x313537[_0x16fdde(0xe8)](_0x432ecd=>{const _0x1c3852=_0x16fdde;!_0xf95e34[_0x432ecd[_0x1c3852(0xd8)]]&&(_0xf95e34[_0x432ecd[_0x1c3852(0xd8)]]=0x0),_0xf95e34[_0x432ecd[_0x1c3852(0xd8)]]+=_0x432ecd['duration'];});const _0x416e3c=Object[_0x16fdde(0x123)](_0xf95e34)['map'](([_0x38c03b,_0x29b3ee])=>{const _0x239faa=_0x16fdde,_0x29d17e={};return _0x29d17e[_0x239faa(0xd8)]=_0x38c03b,_0x29d17e['duration']=_0x29b3ee,_0x29d17e;});fs['writeFileSync'](this[_0x16fdde(0xe2)],JSON[_0x16fdde(0x11b)](_0x416e3c));}static[a79_0x18eb8c(0xd2)](){const _0x3897f6=a79_0x18eb8c,_0x5e3282={};_0x5e3282[_0x3897f6(0xb1)]=function(_0x47db12,_0x31af43){return _0x47db12===_0x31af43;},_0x5e3282[_0x3897f6(0xf1)]='false';const _0x47e2dc=_0x5e3282;return!_0x47e2dc[_0x3897f6(0xb1)](process[_0x3897f6(0xda)]['BROWSERSTACK_SDK_INSTRUMENTATION'],_0x47e2dc[_0x3897f6(0xf1)]);}static[a79_0x18eb8c(0xf9)](_0x337300,_0x52ee6b,_0x55adfc=null,_0x1cd767={},_0x5001f0=null){const _0x3fc07b=a79_0x18eb8c,_0x33f23a={'vkLXu':function(_0x11f80d,_0x58b435){return _0x11f80d(_0x58b435);},'ujOyu':function(_0x156cbb,_0x21f3fb){return _0x156cbb instanceof _0x21f3fb;}};try{if(this[_0x3fc07b(0x12d)]&&this[_0x3fc07b(0xd2)]()){let _0x3679b0=_0x337300;_0x55adfc&&(_0x3679b0=_0x337300+'['+JSON[_0x3fc07b(0x11b)](_0x55adfc)+']');PerformanceTester['start'](_0x3679b0),this[_0x3fc07b(0x133)]&&(this['details'][_0x3679b0]=_0x1cd767);try{const _0xffc177=_0x52ee6b[_0x3fc07b(0xba)](null,_0x5001f0);if(_0x33f23a['ujOyu'](_0xffc177,Promise))return new Promise((_0x1d4e7c,_0x1a3846)=>{const _0x410c92=_0x3fc07b;_0xffc177[_0x410c92(0x114)](_0x221e6d=>{const _0x4428c7=_0x410c92;PerformanceTester[_0x4428c7(0x13f)](_0x3679b0),_0x33f23a['vkLXu'](_0x1d4e7c,_0x221e6d);})[_0x410c92(0x136)](_0x51e589=>{const _0x37aa54=_0x410c92;PerformanceTester[_0x37aa54(0x13f)](_0x3679b0,![],util[_0x37aa54(0xe3)](_0x51e589)),_0x33f23a[_0x37aa54(0x13e)](_0x1a3846,_0x51e589);});});;return PerformanceTester['end'](_0x3679b0),_0xffc177;}catch(_0x5d4a7f){PerformanceTester[_0x3fc07b(0x13f)](_0x3679b0,![],util['format'](_0x5d4a7f));throw _0x5d4a7f;}};return _0x52ee6b[_0x3fc07b(0xba)](null,_0x5001f0);}catch(_0x228d58){return _0x52ee6b['apply'](null,_0x5001f0);}}static[a79_0x18eb8c(0xb6)](_0x23a61b,_0x51d38e,_0x242d7b={}){const _0xabf618=a79_0x18eb8c,_0x48e2b9={'IMdBG':function(_0x3e9789){return _0x3e9789();}},_0xfc6394=this;return _0x242d7b[_0xabf618(0xc9)]=_0x48e2b9[_0xabf618(0xc5)](getProcessId),_0x242d7b[_0xabf618(0xf8)]=_0x48e2b9[_0xabf618(0xc5)](getTestName),_0x242d7b['platform']=global[_0xabf618(0x10e)]&&global[_0xabf618(0x10e)][_0xabf618(0x10a)],function(){const _0x471516=_0xabf618,_0x5e44cc=[_0x23a61b,_0x51d38e,null,_0x242d7b][_0x471516(0x11c)](arguments);return _0xfc6394[_0x471516(0xf9)][_0x471516(0xba)](_0xfc6394,_0x5e44cc);};}static[a79_0x18eb8c(0x104)](){const _0xcd5c9d=a79_0x18eb8c,_0x2d716c=/(^.*)\[(.*)\]$/,_0xd26f39={},_0x321d58={},_0x108027=[],_0x318aec=this[_0xcd5c9d(0xcd)][_0xcd5c9d(0xfe)](0x0,this[_0xcd5c9d(0xcd)][_0xcd5c9d(0x120)]);for(const _0x1b6950 of _0x318aec){const _0x4e1524=_0x1b6950[_0xcd5c9d(0xd8)][_0xcd5c9d(0xf4)](_0x2d716c),_0x516843=Object[_0xcd5c9d(0x129)]({},_0x1b6950);_0x4e1524&&(_0x516843[_0xcd5c9d(0xd8)]=_0x4e1524[0x1],_0x516843[_0xcd5c9d(0x128)]=JSON[_0xcd5c9d(0xec)](_0x4e1524[0x2])),_0x108027['push'](_0x516843);}return _0x108027;}static[a79_0x18eb8c(0xdd)](){const _0x2ff13c=a79_0x18eb8c,_0x4b546d={};_0x4b546d[_0x2ff13c(0x10b)]=function(_0x1acebe,_0x2b7e0e){return _0x1acebe+_0x2b7e0e;},_0x4b546d['lVNJs']='Error\x20while\x20removing\x20files:\x20',_0x4b546d[_0x2ff13c(0xdc)]=function(_0x5f0cff,_0x2684d7){return _0x5f0cff===_0x2684d7;};const _0x20f903=_0x4b546d;try{if(fs['existsSync'](this['jsonReportDirPath'])){const _0x3e907c=fs[_0x2ff13c(0xe9)](this[_0x2ff13c(0x144)]);for(const _0x3a8d29 of _0x3e907c){fs['unlinkSync'](path[_0x2ff13c(0x11d)](this[_0x2ff13c(0x144)],_0x3a8d29));}}}catch(_0x31c185){logger[_0x2ff13c(0xb7)](_0x20f903[_0x2ff13c(0x10b)](_0x20f903[_0x2ff13c(0x11f)],_0x31c185));}if(_0x20f903[_0x2ff13c(0xdc)](this[_0x2ff13c(0xcd)]['length'],0x0))return;const _0x1951e3=this[_0x2ff13c(0x104)](),_0x2fdfbb=JSON[_0x2ff13c(0x11b)](_0x1951e3),_0x53e70f=_0x20f903[_0x2ff13c(0x10b)](_0x2fdfbb[_0x2ff13c(0xb5)](0x1,-0x1),',');fs[_0x2ff13c(0xc7)](this['jsonReportFileName'],_0x53e70f);}static async[a79_0x18eb8c(0xea)](){const _0x2e1675=a79_0x18eb8c,_0x448747={};_0x448747[_0x2e1675(0x112)]=function(_0x3ebded,_0x329648){return _0x3ebded===_0x329648;},_0x448747['Hgoqj']=function(_0x3e442a,_0xe31c1c){return _0x3e442a>_0xe31c1c;};const _0x47934d=_0x448747;if(!this[_0x2e1675(0x12d)]||_0x47934d[_0x2e1675(0x112)](this[_0x2e1675(0xcd)][_0x2e1675(0x120)],0x0))return[];if(!fs[_0x2e1675(0xfa)](this['jsonReportDirPath']))return this[_0x2e1675(0xcd)];const _0x2ea7bd=(await fsPromise[_0x2e1675(0x132)](this['jsonReportDirPath']))['map'](_0x20f04c=>path[_0x2e1675(0x130)](this[_0x2e1675(0x144)],_0x20f04c));let _0x3656c7=(await Promise['all'](_0x2ea7bd['map'](_0x2fb19e=>fsPromise[_0x2e1675(0x12a)](_0x2fb19e,'utf-8'))))[_0x2e1675(0xe8)](_0x438138=>'['+_0x438138[_0x2e1675(0xb5)](0x0,-0x1)+']')[_0x2e1675(0xe8)](_0x32d097=>JSON[_0x2e1675(0xec)](_0x32d097))['flat']();return _0x47934d['Hgoqj'](this[_0x2e1675(0xcd)][_0x2e1675(0x120)],0x0)&&(_0x3656c7=_0x3656c7[_0x2e1675(0x11c)](this[_0x2e1675(0x104)]())),this['_observer'][_0x2e1675(0x115)](),_0x3656c7;}static[a79_0x18eb8c(0x13d)](){const _0x1fa1e2=a79_0x18eb8c,_0x2ee54e={};_0x2ee54e[_0x1fa1e2(0xb4)]=function(_0x20c64f,_0x3914e0){return _0x20c64f===_0x3914e0;},_0x2ee54e[_0x1fa1e2(0xa5)]=function(_0x47aa7d,_0x207a25){return _0x47aa7d+_0x207a25;};const _0x221ef5=_0x2ee54e;if(_0x221ef5[_0x1fa1e2(0xb4)](this[_0x1fa1e2(0x12b)]['length'],0x0))return;const _0x1a669f=JSON[_0x1fa1e2(0x11b)](this[_0x1fa1e2(0x12b)]),_0x364eed=_0x221ef5[_0x1fa1e2(0xa5)](_0x1a669f[_0x1fa1e2(0xb5)](0x1,-0x1),',');fs['appendFileSync'](this[_0x1fa1e2(0xbb)],_0x364eed);}static['finalizeErrors'](){const _0x30dccc=a79_0x18eb8c,_0x26a02b={};_0x26a02b[_0x30dccc(0xa8)]=function(_0x5af83c,_0x5dea02){return _0x5af83c>_0x5dea02;};const _0x31a4f1=_0x26a02b;if(!fs[_0x30dccc(0xfa)](this[_0x30dccc(0xbe)]))return this[_0x30dccc(0x12b)];let _0x5ae5fe=fs['readFileSync'](this[_0x30dccc(0xbe)])[_0x30dccc(0xb8)]();_0x5ae5fe='['+_0x5ae5fe[_0x30dccc(0xb5)](0x0,-0x1)+']';let _0x514115=JSON[_0x30dccc(0xec)](_0x5ae5fe);return _0x31a4f1[_0x30dccc(0xa8)](this[_0x30dccc(0x12b)][_0x30dccc(0x120)],0x0)&&(_0x514115=_0x514115[_0x30dccc(0x11c)](this['_errorEvents'])),fs[_0x30dccc(0x139)](this[_0x30dccc(0xbe)]),_0x514115;}static[a79_0x18eb8c(0xce)](_0x57402e){const _0x3a99d4=a79_0x18eb8c;if(!this[_0x3a99d4(0xd2)]())return;this[_0x3a99d4(0x12b)][_0x3a99d4(0xd9)]({'message':_0x57402e['message'],'trace':_0x57402e[_0x3a99d4(0xff)],'code':_0x57402e[_0x3a99d4(0xd0)]||null,'time':new Date()});}static[a79_0x18eb8c(0x102)](){const _0x583f80=a79_0x18eb8c;try{if(!this[_0x583f80(0xd2)]())return;this[_0x583f80(0x140)][_0x583f80(0x115)](),this[_0x583f80(0xdd)](),this[_0x583f80(0x13d)]();}catch(_0x5b4c4f){logger[_0x583f80(0xb7)](_0x583f80(0xd7)+util[_0x583f80(0xe3)](_0x5b4c4f));}}static async[a79_0x18eb8c(0xaf)](){const _0x28324c=a79_0x18eb8c,_0x35f28c={'qOeQr':function(_0x214321,_0x3c6580){return _0x214321(_0x3c6580);}};await _0x35f28c[_0x28324c(0xe4)](sleep,0x1e);const _0x5ac077=await this[_0x28324c(0xea)](),_0x4cbaf5=this[_0x28324c(0xc6)]();if(!this[_0x28324c(0xd2)]()){const _0x47403c={};return _0x47403c[_0x28324c(0x142)]=[],_0x47403c[_0x28324c(0x111)]=[],_0x47403c;}const _0x5c0ec2={};return _0x5c0ec2['measures']=_0x5ac077,_0x5c0ec2[_0x28324c(0x111)]=_0x4cbaf5,_0x5c0ec2;}static[a79_0x18eb8c(0xc3)](_0xba8477){const _0x490715=a79_0x18eb8c,_0x47fa1a={};_0x47fa1a[_0x490715(0xb9)]=function(_0xc5add1,_0x50809e){return _0xc5add1+_0x50809e;},_0x47fa1a[_0x490715(0x113)]='-start';const _0x2b6309=_0x47fa1a,_0x239e6e=_0x2b6309[_0x490715(0xb9)](_0xba8477,_0x2b6309[_0x490715(0x113)]);if(this[_0x490715(0xc0)][_0x239e6e])return;performance[_0x490715(0xf3)](_0x239e6e),this[_0x490715(0xc0)][_0x239e6e]=0x1;}static[a79_0x18eb8c(0x13f)](_0x35c8a2,_0x37b29e=!![],_0x960d79=null,_0x398fd3={}){const _0x27bbf8=a79_0x18eb8c,_0x229b3={'vRhPz':function(_0xfe7d81,_0x283ef0){return _0xfe7d81+_0x283ef0;},'HagUn':_0x27bbf8(0xe7),'pILES':'-start','BHgse':function(_0x53aaeb,_0x5e7f7f){return _0x53aaeb+_0x5e7f7f;},'qODGs':function(_0x277998){return _0x277998();},'UOUEP':function(_0xcafa95){return _0xcafa95();}};performance[_0x27bbf8(0xf3)](_0x229b3[_0x27bbf8(0x131)](_0x35c8a2,_0x229b3['HagUn'])),performance[_0x27bbf8(0xf9)](_0x35c8a2,_0x229b3[_0x27bbf8(0x131)](_0x35c8a2,_0x229b3[_0x27bbf8(0x119)]),_0x229b3[_0x27bbf8(0xcc)](_0x35c8a2,_0x229b3[_0x27bbf8(0xb0)]));const _0x599fed={};_0x599fed[_0x27bbf8(0x12f)]=_0x37b29e,_0x599fed[_0x27bbf8(0xfc)]=_0x960d79,this[_0x27bbf8(0x133)][_0x35c8a2]=Object['assign'](_0x599fed,Object[_0x27bbf8(0x129)](Object[_0x27bbf8(0x129)]({'worker':_0x229b3[_0x27bbf8(0xe0)](getProcessId),'platform':global[_0x27bbf8(0x10e)]&&global[_0x27bbf8(0x10e)]['index'],'testName':_0x229b3[_0x27bbf8(0x10c)](getTestName)},_0x398fd3),this[_0x27bbf8(0x133)][_0x35c8a2]||{}));}}function a79_0x572d(){const _0x579bd1=['IMdBG','finalizeErrors','appendFileSync','function','worker','readFileSync','44iOBPBq','BHgse','_measureEvents','captureError','generateJSON','code','../processHelper','isEnabled','mkdirSync','</tbody></table></body></html>','buffered','591unoogt','Error\x20stopping\x20monitoring\x20','name','push','env','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','LYGbN','pushPerfMeasures','path','9rCJqXx','qODGs','perf_hooks','jsonReportFileName','format','qOeQr','/error-report-','exports','-end','map','readdirSync','finalizePerfMeasures','1986636QKfePc','parse','hURVw','JVlsr','Error\x20in\x20doing\x20csv\x20operations:\x20','duration','vktEG','getPerformance','mark','match','559255fgOjny','error-report','getEventsFromJSON','testName','measure','existsSync','getEntries','failure','MvcHN','splice','stack','jsonReportDirName','generateHTMLReport','stopMonitoring','observe','getCleanedPerfEvents','RecEk','reduce','util','3011870nqITGA','<tr><td>','index','Gxikq','UOUEP','winstonLogger','__platformCaps','ozBrP','2744968XcvCqF','errors','Rmutb','BDVbU','then','disconnect','Znlzr','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','kKMDl','pILES','performance-report','stringify','concat','join','_events','lVNJs','length','entryTypes','1516SYoLOS','entries','Error\x20in\x20writing\x20html\x20','log','startMonitoring','TaKOr','meta','assign','readFile','_errorEvents','/performance-report-','started','cwd','success','resolve','vRhPz','readdir','details','30232gWqPhV','lhcHZ','catch','oFNMr','QIleQ','unlinkSync','writeFile','SAUDS','DgUTG','pushErrors','vkLXu','end','_observer','yTOZG','measures','10fVvTXR','jsonReportDirPath','.json','XkETC','entryType','errorReportDirName','IIapj','performance-own.html','forEach','ARiam','stopAndGenerate','72YHilyc','</td><td>','finalize','HagUn','YZTDu','\x20for\x20all\x20processes\x20is\x20','browserStackCwd','QwQtw','slice','measureWrapper','debug','toString','nlmpn','apply','errorFile','136262MwgYup','Performance\x20report\x20is\x20at\x20','errorReportFileName','calculateTimeFromEvents','eventsMap','toJSON','fs/promises','start','VDFus'];a79_0x572d=function(){return _0x579bd1;};return a79_0x572d();}module[a79_0x18eb8c(0xe6)]=PerformanceTester;
1
+ const a79_0x372456=a79_0x489c;(function(_0x14645a,_0x2d262f){const _0x3ae21a=a79_0x489c,_0x4ec94f=_0x14645a();while(!![]){try{const _0x59d339=-parseInt(_0x3ae21a(0x208))/0x1*(parseInt(_0x3ae21a(0x1db))/0x2)+-parseInt(_0x3ae21a(0x1c5))/0x3+-parseInt(_0x3ae21a(0x200))/0x4+parseInt(_0x3ae21a(0x196))/0x5*(parseInt(_0x3ae21a(0x1ec))/0x6)+-parseInt(_0x3ae21a(0x19f))/0x7*(parseInt(_0x3ae21a(0x22a))/0x8)+parseInt(_0x3ae21a(0x207))/0x9*(-parseInt(_0x3ae21a(0x1c9))/0xa)+-parseInt(_0x3ae21a(0x193))/0xb*(-parseInt(_0x3ae21a(0x1e4))/0xc);if(_0x59d339===_0x2d262f)break;else _0x4ec94f['push'](_0x4ec94f['shift']());}catch(_0x5e6573){_0x4ec94f['push'](_0x4ec94f['shift']());}}}(a79_0xfc0e,0xc00f1));function a79_0x489c(_0x10eb3f,_0x3dfee6){const _0xfc0e04=a79_0xfc0e();return a79_0x489c=function(_0x489c53,_0x38feda){_0x489c53=_0x489c53-0x193;let _0x312944=_0xfc0e04[_0x489c53];return _0x312944;},a79_0x489c(_0x10eb3f,_0x3dfee6);}const fs=require('fs'),fsPromise=require('fs/promises'),{performance,PerformanceObserver}=require(a79_0x372456(0x197)),path=require(a79_0x372456(0x203)),util=require(a79_0x372456(0x21a)),logger=require(a79_0x372456(0x209))[a79_0x372456(0x1d3)],{getProcessId,sleep,debug,getTestName}=require(a79_0x372456(0x1b8));class PerformanceTester{static [a79_0x372456(0x1f9)];static [a79_0x372456(0x21d)]=[];static [a79_0x372456(0x1b0)]=[];static ['_errorEvents']=[];static [a79_0x372456(0x20e)]=![];static [a79_0x372456(0x202)]=a79_0x372456(0x220);static ['jsonReportDirPath']=process['env'][a79_0x372456(0x206)]?path[a79_0x372456(0x1ad)](process[a79_0x372456(0x1a1)][a79_0x372456(0x206)],this[a79_0x372456(0x202)]):path[a79_0x372456(0x1ad)](process['cwd'](),'log',this['jsonReportDirName']);static [a79_0x372456(0x1c6)]=process[a79_0x372456(0x1a1)][a79_0x372456(0x206)]?path[a79_0x372456(0x1ad)](process[a79_0x372456(0x1a1)][a79_0x372456(0x206)],a79_0x372456(0x1ac)):path[a79_0x372456(0x1ad)](process[a79_0x372456(0x194)](),a79_0x372456(0x1ac));static ['jsonReportFileName']=this['jsonReportDirPath']+'/performance-report-'+getProcessId()+a79_0x372456(0x1b9);static ['errorReportFileName']=this[a79_0x372456(0x1c6)]+a79_0x372456(0x1d0)+getProcessId()+a79_0x372456(0x1b9);static [a79_0x372456(0x1e7)]={};static ['eventsMap']={};static['startMonitoring'](_0xc7a934=this[a79_0x372456(0x1d4)]+a79_0x372456(0x1ed)+getProcessId()+'.json',_0x330005=this['errorReportDirName']+a79_0x372456(0x1d0)+getProcessId()+a79_0x372456(0x1b9)){const _0xc3d10c=a79_0x372456,_0x740464={};_0x740464['Auaxc']=function(_0x57e1ee,_0x130f10){return _0x57e1ee===_0x130f10;},_0x740464['JcWQA']='measure',_0x740464[_0xc3d10c(0x210)]=function(_0x52706a,_0x1ff67b){return _0x52706a+_0x1ff67b;},_0x740464['SaOWy']='Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20',_0x740464[_0xc3d10c(0x21f)]='function';const _0x38683f=_0x740464;try{!fs[_0xc3d10c(0x1a9)](this[_0xc3d10c(0x1d4)])&&fs[_0xc3d10c(0x1e0)](this['jsonReportDirPath']);}catch(_0x1b486c){logger[_0xc3d10c(0x1bb)](_0x38683f[_0xc3d10c(0x210)](_0x38683f[_0xc3d10c(0x1de)],_0x1b486c));}if(this[_0xc3d10c(0x20e)]||!this[_0xc3d10c(0x22b)]())return;this[_0xc3d10c(0x1f9)]=new PerformanceObserver(_0x1f0bdc=>{const _0x522130=_0xc3d10c;_0x1f0bdc['getEntries']()[_0x522130(0x223)](_0x5e82a6=>{const _0x1bca0b=_0x522130;if(_0x38683f[_0x1bca0b(0x1d5)](_0x5e82a6['entryType'],_0x38683f[_0x1bca0b(0x225)])){let _0x472fbf={};if(_0x5e82a6[_0x1bca0b(0x21c)])_0x472fbf=_0x5e82a6['toJSON']();else for(const _0xa08e58 in _0x5e82a6){_0x472fbf[_0xa08e58]=_0x5e82a6[_0xa08e58];}this[_0x1bca0b(0x1e7)][_0x5e82a6[_0x1bca0b(0x228)]]&&(_0x472fbf=Object[_0x1bca0b(0x1ba)](_0x472fbf,this[_0x1bca0b(0x1e7)][_0x5e82a6[_0x1bca0b(0x228)]])),delete this[_0x1bca0b(0x1e7)][_0x5e82a6[_0x1bca0b(0x228)]],this[_0x1bca0b(0x1b0)]['push'](_0x472fbf);}else this['_events'][_0x1bca0b(0x22d)](_0x5e82a6);});});const _0x76786d={};_0x76786d['buffered']=!![],_0x76786d[_0xc3d10c(0x1dd)]=[_0x38683f[_0xc3d10c(0x21f)],_0x38683f[_0xc3d10c(0x225)]],this[_0xc3d10c(0x1f9)][_0xc3d10c(0x1a7)](_0x76786d),this['started']=!![],this['jsonReportFileName']=_0xc7a934,this[_0xc3d10c(0x1bd)]=_0x330005;}static[a79_0x372456(0x1cd)](){return performance;}static[a79_0x372456(0x1c0)](_0x542112,_0x28652f){const _0x32ede9=a79_0x372456,_0x12505a={};_0x12505a[_0x32ede9(0x1b6)]=function(_0x39d398,_0x2d1414){return _0x39d398+_0x2d1414;},_0x12505a[_0x32ede9(0x1aa)]=function(_0x36de90,_0x3eac77){return _0x36de90||_0x3eac77;},_0x12505a['tAOOF']=function(_0x42eacf,_0x17dbcc){return _0x42eacf===_0x17dbcc;};const _0x2183be=_0x12505a,_0xb0d9c1={};if(!_0x542112||_0x2183be[_0x32ede9(0x1fd)](_0x542112[_0x32ede9(0x1ff)],0x0))return;_0x542112[_0x32ede9(0x1bf)](_0x4041a4=>{const _0x542139=_0x32ede9;!_0xb0d9c1[_0x4041a4[_0x542139(0x228)]]&&(_0xb0d9c1[_0x4041a4['name']]=0x0),_0xb0d9c1[_0x4041a4[_0x542139(0x228)]]+=_0x4041a4[_0x542139(0x1b2)];});const _0xf865e3=_0x28652f[_0x32ede9(0x21e)]((_0x489e44,_0x18370e)=>{const _0x2a5592=_0x32ede9;return _0x2183be[_0x2a5592(0x1b6)](_0xb0d9c1[_0x18370e],_0x2183be[_0x2a5592(0x1aa)](_0x489e44,0x0));},0x0);return _0xf865e3;}static async['calculateTimesFromMultipleFiles'](_0xdf7524,_0x459e8b){const _0x165298=a79_0x372456,_0x3cd0ac={'ScYKy':function(_0x2d3d8b,_0x438ea6){return _0x2d3d8b+_0x438ea6;},'rqDUQ':function(_0x3c6826,_0xb1b30f){return _0x3c6826||_0xb1b30f;},'kGDfL':function(_0x57d98d,_0x5c665e){return _0x57d98d===_0x5c665e;},'uClgp':function(_0x275101,_0x2467ca){return _0x275101(_0x2467ca);},'MJRNb':function(_0x823571,_0x390fc4){return _0x823571(_0x390fc4);}};if(!_0xdf7524||_0x3cd0ac['kGDfL'](_0xdf7524[_0x165298(0x1ff)],0x0))return 0x0;const _0x38d5a1=[];for(const _0x26c657 of _0xdf7524){const _0x4c0bff=path['join']('.',_0x26c657);try{const _0x1d0a97=this['getEventsFromJSON'](_0x4c0bff);_0x1d0a97[_0x165298(0x1bf)](_0x1990dd=>{const _0x43ee82=_0x165298;!_0x38d5a1[_0x1990dd[_0x43ee82(0x228)]]&&(_0x38d5a1[_0x1990dd['name']]=0x0),_0x38d5a1[_0x1990dd[_0x43ee82(0x228)]]+=_0x1990dd['duration'];});}catch(_0x1f8dcc){_0x3cd0ac['uClgp'](debug,'Error\x20in\x20doing\x20csv\x20operations:\x20'+_0x1f8dcc[_0x165298(0x1cc)]());}}const _0x187ea7=_0x459e8b[_0x165298(0x21e)]((_0x30cd9d,_0x403f83)=>{return _0x3cd0ac['ScYKy'](_0x38d5a1[_0x403f83],_0x3cd0ac['rqDUQ'](_0x30cd9d,0x0));},0x0);return _0x3cd0ac[_0x165298(0x1ca)](debug,'Time\x20for\x20'+_0x459e8b+'\x20for\x20all\x20processes\x20is\x20'+_0x187ea7),_0x187ea7;}static[a79_0x372456(0x1fe)](_0x3781d2){const _0x262102=a79_0x372456;if(!fs['existsSync'](_0x3781d2))return[];return JSON[_0x262102(0x1e1)](fs[_0x262102(0x1b3)](_0x3781d2)[_0x262102(0x1cc)]());}static async['stopAndGenerate'](_0x34d3ee=a79_0x372456(0x212),_0x2e18e5=null){const _0x48785a=a79_0x372456,_0x2f6dbf={'SzBzU':function(_0xac9053,_0x5a3706){return _0xac9053(_0x5a3706);},'ooboS':function(_0x557f78,_0xedf89a){return _0x557f78(_0xedf89a);}};if(!this[_0x48785a(0x20e)])return;await _0x2f6dbf['ooboS'](sleep,0x1e),this[_0x48785a(0x1f9)][_0x48785a(0x216)](),this[_0x48785a(0x20e)]=![],this[_0x48785a(0x1f3)](this[_0x48785a(0x21d)]);const _0x19d19a=this[_0x48785a(0x1a5)](this[_0x48785a(0x21d)]),_0x217513=path[_0x48785a(0x1ad)](process[_0x48785a(0x194)](),_0x34d3ee);fs[_0x48785a(0x1fc)](_0x217513,_0x19d19a,_0x3e8094=>{const _0x9ad15=_0x48785a;if(_0x3e8094){_0x2f6dbf['SzBzU'](debug,'Error\x20in\x20writing\x20html\x20'+_0x3e8094[_0x9ad15(0x1cc)]());return;}_0x2f6dbf['SzBzU'](debug,'Performance\x20report\x20is\x20at\x20'+_0x217513);});if(_0x2e18e5)return this['calculateTimeFromEvents'](this[_0x48785a(0x21d)],_0x2e18e5);}static['generateHTMLReport'](_0x10195f){const _0x5a756e=a79_0x372456,_0x4f8fa2={};_0x4f8fa2['QsQEL']=_0x5a756e(0x20f),_0x4f8fa2[_0x5a756e(0x20a)]='<h1>Performance\x20Report</h1>',_0x4f8fa2['FQROB']=_0x5a756e(0x1b7),_0x4f8fa2['SqXmM']=_0x5a756e(0x1bc);const _0x1bb27e=_0x4f8fa2;let _0x5828e6=_0x1bb27e[_0x5a756e(0x1f0)];return _0x5828e6+=_0x1bb27e[_0x5a756e(0x20a)],_0x5828e6+=_0x1bb27e[_0x5a756e(0x198)],_0x10195f[_0x5a756e(0x223)](_0x41ffad=>{const _0x5117de=_0x5a756e;_0x5828e6+=_0x5117de(0x1df)+_0x41ffad[_0x5117de(0x228)]+_0x5117de(0x1a4)+_0x41ffad[_0x5117de(0x1b2)]+_0x5117de(0x1e9);}),_0x5828e6+=_0x1bb27e[_0x5a756e(0x1e3)],_0x5828e6;}static['generateJSON'](_0xaee9e4){const _0x3fc071=a79_0x372456;if(!this[_0x3fc071(0x1ee)])return;const _0x348426={};_0xaee9e4['map'](_0x42bc7a=>{const _0x474527=_0x3fc071;!_0x348426[_0x42bc7a[_0x474527(0x228)]]&&(_0x348426[_0x42bc7a[_0x474527(0x228)]]=0x0),_0x348426[_0x42bc7a['name']]+=_0x42bc7a[_0x474527(0x1b2)];});const _0x4311d4=Object[_0x3fc071(0x1a8)](_0x348426)[_0x3fc071(0x1bf)](([_0x2a5ed3,_0x528e57])=>{const _0x1cd510=_0x3fc071,_0x219726={};return _0x219726['name']=_0x2a5ed3,_0x219726[_0x1cd510(0x1b2)]=_0x528e57,_0x219726;});fs['writeFileSync'](this[_0x3fc071(0x1ee)],JSON[_0x3fc071(0x19e)](_0x4311d4));}static['isEnabled'](){const _0x50eb5a=a79_0x372456,_0xd46bd8={};_0xd46bd8['vlaFe']=function(_0x5a83ec,_0x510794){return _0x5a83ec===_0x510794;},_0xd46bd8[_0x50eb5a(0x1a2)]=_0x50eb5a(0x1c2);const _0x13fa06=_0xd46bd8;return!_0x13fa06['vlaFe'](process['env'][_0x50eb5a(0x1f7)],_0x13fa06['kdLCE']);}static['measure'](_0x3609bb,_0x3e456a,_0x22a984=null,_0x59fe96={},_0x59802e=null){const _0xb8229=a79_0x372456,_0x3d5677={'RniPS':function(_0x3c1cd9,_0x555ab5){return _0x3c1cd9(_0x555ab5);},'jcBuM':function(_0x109d04,_0x29cf98){return _0x109d04(_0x29cf98);},'fUOXl':function(_0x3181e8,_0x2af8f9){return _0x3181e8 instanceof _0x2af8f9;}};try{if(this[_0xb8229(0x20e)]&&this[_0xb8229(0x22b)]()){let _0x408e1a=_0x3609bb;_0x22a984&&(_0x408e1a=_0x3609bb+'['+JSON[_0xb8229(0x19e)](_0x22a984)+']');PerformanceTester[_0xb8229(0x1c7)](_0x408e1a),this[_0xb8229(0x1e7)]&&(this[_0xb8229(0x1e7)][_0x408e1a]=_0x59fe96);try{const _0x16170b=_0x3e456a[_0xb8229(0x1af)](null,_0x59802e);if(_0x3d5677[_0xb8229(0x1a3)](_0x16170b,Promise))return new Promise((_0x1d8e1c,_0x241aaa)=>{const _0x3f57ba=_0xb8229,_0x27bb1f={'dOliR':function(_0x3fbe50,_0x13e886){const _0x3d1bf6=a79_0x489c;return _0x3d5677[_0x3d1bf6(0x19b)](_0x3fbe50,_0x13e886);},'HUFVz':function(_0x8e4a88,_0x11c9a4){return _0x3d5677['jcBuM'](_0x8e4a88,_0x11c9a4);}};_0x16170b['then'](_0x4dbfd9=>{const _0x287072=a79_0x489c;PerformanceTester[_0x287072(0x224)](_0x408e1a),_0x27bb1f[_0x287072(0x1f1)](_0x1d8e1c,_0x4dbfd9);})[_0x3f57ba(0x1eb)](_0x2de43b=>{const _0x210938=_0x3f57ba;PerformanceTester[_0x210938(0x224)](_0x408e1a,![],util[_0x210938(0x1e5)](_0x2de43b)),_0x27bb1f[_0x210938(0x201)](_0x241aaa,_0x2de43b);});});;return PerformanceTester[_0xb8229(0x224)](_0x408e1a),_0x16170b;}catch(_0x2ce782){PerformanceTester[_0xb8229(0x224)](_0x408e1a,![],util['format'](_0x2ce782));throw _0x2ce782;}};return _0x3e456a[_0xb8229(0x1af)](null,_0x59802e);}catch(_0x5ed81e){return _0x3e456a[_0xb8229(0x1af)](null,_0x59802e);}}static[a79_0x372456(0x1ce)](_0x1fff7a,_0xe22d85,_0x5eb01e={}){const _0x433220=a79_0x372456,_0x6910e7={'FGckn':function(_0xc6774b){return _0xc6774b();},'TyWTA':function(_0x3f7cc5){return _0x3f7cc5();}},_0xc956df=this;return _0x5eb01e['worker']=_0x6910e7[_0x433220(0x214)](getProcessId),_0x5eb01e[_0x433220(0x1d7)]=_0x6910e7[_0x433220(0x1da)](getTestName),_0x5eb01e[_0x433220(0x1d9)]=global[_0x433220(0x1c4)]&&global[_0x433220(0x1c4)][_0x433220(0x1a6)],function(){const _0x3c7865=_0x433220,_0x562cf9=[_0x1fff7a,_0xe22d85,null,_0x5eb01e][_0x3c7865(0x217)](arguments);return _0xc956df[_0x3c7865(0x227)][_0x3c7865(0x1af)](_0xc956df,_0x562cf9);};}static[a79_0x372456(0x19d)](){const _0x5bbcc9=a79_0x372456,_0xae8f1a=/(^.*)\[(.*)\]$/,_0x246f5c={},_0x4c87ac={},_0x5574eb=[],_0x569d44=this[_0x5bbcc9(0x1b0)]['splice'](0x0,this[_0x5bbcc9(0x1b0)][_0x5bbcc9(0x1ff)]);for(const _0x149ad5 of _0x569d44){const _0x245802=_0x149ad5[_0x5bbcc9(0x228)][_0x5bbcc9(0x1c3)](_0xae8f1a),_0x162ed6=Object[_0x5bbcc9(0x1ba)]({},_0x149ad5);_0x245802&&(_0x162ed6[_0x5bbcc9(0x228)]=_0x245802[0x1],_0x162ed6[_0x5bbcc9(0x1e6)]=JSON[_0x5bbcc9(0x1e1)](_0x245802[0x2])),_0x5574eb[_0x5bbcc9(0x22d)](_0x162ed6);}return _0x5574eb;}static[a79_0x372456(0x20c)](){const _0x29e58f=a79_0x372456,_0x3af95a={};_0x3af95a['vQdVn']=function(_0x15d468,_0x1c978f){return _0x15d468+_0x1c978f;},_0x3af95a[_0x29e58f(0x1c1)]=_0x29e58f(0x1ef),_0x3af95a[_0x29e58f(0x21b)]=function(_0x25130,_0x4ff726){return _0x25130===_0x4ff726;},_0x3af95a[_0x29e58f(0x229)]=function(_0x2cfeff,_0x4d7d5d){return _0x2cfeff+_0x4d7d5d;};const _0x1b6716=_0x3af95a;try{if(fs['existsSync'](this[_0x29e58f(0x1d4)])){const _0x1f525c=fs[_0x29e58f(0x22c)](this[_0x29e58f(0x1d4)]);for(const _0xb4551c of _0x1f525c){fs[_0x29e58f(0x213)](path[_0x29e58f(0x1ad)](this[_0x29e58f(0x1d4)],_0xb4551c));}}}catch(_0x3eab96){logger['debug'](_0x1b6716[_0x29e58f(0x204)](_0x1b6716[_0x29e58f(0x1c1)],_0x3eab96));}if(_0x1b6716['UlCLc'](this[_0x29e58f(0x1b0)][_0x29e58f(0x1ff)],0x0))return;const _0x4aa8f9=this['getCleanedPerfEvents'](),_0x54c56e=JSON['stringify'](_0x4aa8f9),_0x4f2fb0=_0x1b6716['FQfVK'](_0x54c56e[_0x29e58f(0x1f5)](0x1,-0x1),',');fs[_0x29e58f(0x1ae)](this['jsonReportFileName'],_0x4f2fb0);}static async[a79_0x372456(0x1f4)](){const _0x203665=a79_0x372456,_0x5e863f={};_0x5e863f[_0x203665(0x1e8)]=function(_0xa623a1,_0x176880){return _0xa623a1===_0x176880;},_0x5e863f['erRWl']=function(_0x22bde0,_0x349427){return _0x22bde0>_0x349427;};const _0x5913d4=_0x5e863f;if(!this[_0x203665(0x20e)]||_0x5913d4['PNLPr'](this['_measureEvents']['length'],0x0))return[];if(!fs[_0x203665(0x1a9)](this[_0x203665(0x1d4)]))return this[_0x203665(0x1b0)];const _0x12cd4f=(await fsPromise['readdir'](this[_0x203665(0x1d4)]))[_0x203665(0x1bf)](_0x471f60=>path[_0x203665(0x1cf)](this['jsonReportDirPath'],_0x471f60));let _0x2ff27c=(await Promise[_0x203665(0x1fa)](_0x12cd4f[_0x203665(0x1bf)](_0x3c486c=>fsPromise['readFile'](_0x3c486c,_0x203665(0x1ea)))))[_0x203665(0x1bf)](_0x30b851=>'['+_0x30b851[_0x203665(0x1f5)](0x0,-0x1)+']')[_0x203665(0x1bf)](_0x1f23b7=>JSON[_0x203665(0x1e1)](_0x1f23b7))[_0x203665(0x1d6)]();return _0x5913d4[_0x203665(0x20d)](this[_0x203665(0x1b0)][_0x203665(0x1ff)],0x0)&&(_0x2ff27c=_0x2ff27c[_0x203665(0x217)](this['getCleanedPerfEvents']())),this[_0x203665(0x1f9)][_0x203665(0x216)](),_0x2ff27c;}static['pushErrors'](){const _0x3fd165=a79_0x372456,_0x3e99cd={};_0x3e99cd[_0x3fd165(0x218)]=function(_0x53decc,_0xb4c6da){return _0x53decc===_0xb4c6da;},_0x3e99cd[_0x3fd165(0x1d2)]=function(_0x432d91,_0x581a92){return _0x432d91+_0x581a92;};const _0xd3e597=_0x3e99cd;if(_0xd3e597[_0x3fd165(0x218)](this[_0x3fd165(0x1b1)]['length'],0x0))return;const _0x21e16c=JSON[_0x3fd165(0x19e)](this[_0x3fd165(0x1b1)]),_0x2b4d6f=_0xd3e597[_0x3fd165(0x1d2)](_0x21e16c[_0x3fd165(0x1f5)](0x1,-0x1),',');fs[_0x3fd165(0x1ae)](this[_0x3fd165(0x195)],_0x2b4d6f);}static[a79_0x372456(0x1d8)](){const _0x48eb46=a79_0x372456,_0x4717d5={};_0x4717d5[_0x48eb46(0x215)]=function(_0x493fd3,_0x1ae0fd){return _0x493fd3>_0x1ae0fd;};const _0x252bf6=_0x4717d5;if(!fs['existsSync'](this[_0x48eb46(0x1bd)]))return this[_0x48eb46(0x1b1)];let _0x170f1a=fs[_0x48eb46(0x1b3)](this[_0x48eb46(0x1bd)])[_0x48eb46(0x1cc)]();_0x170f1a='['+_0x170f1a[_0x48eb46(0x1f5)](0x0,-0x1)+']';let _0x5c9c4c=JSON[_0x48eb46(0x1e1)](_0x170f1a);return _0x252bf6['bGfBb'](this[_0x48eb46(0x1b1)][_0x48eb46(0x1ff)],0x0)&&(_0x5c9c4c=_0x5c9c4c['concat'](this[_0x48eb46(0x1b1)])),fs[_0x48eb46(0x213)](this[_0x48eb46(0x1bd)]),_0x5c9c4c;}static[a79_0x372456(0x1a0)](_0x278693){const _0x360db6=a79_0x372456;if(!this[_0x360db6(0x22b)]())return;this['_errorEvents'][_0x360db6(0x22d)]({'message':_0x278693[_0x360db6(0x1dc)],'trace':_0x278693[_0x360db6(0x1fb)],'code':_0x278693['code']||null,'time':new Date()});}static[a79_0x372456(0x1f2)](){const _0x4dc752=a79_0x372456;try{if(!this['isEnabled']())return;this['_observer'][_0x4dc752(0x216)](),this[_0x4dc752(0x20c)](),this[_0x4dc752(0x1f6)]();}catch(_0x251646){logger[_0x4dc752(0x1bb)](_0x4dc752(0x205)+util[_0x4dc752(0x1e5)](_0x251646));}}static async[a79_0x372456(0x1f8)](){const _0x1ed822=a79_0x372456,_0x2efa9c={'fWwVX':function(_0x30678f,_0x4f53be){return _0x30678f(_0x4f53be);}};await _0x2efa9c[_0x1ed822(0x19a)](sleep,0x1e);const _0x1b9642=await this['finalizePerfMeasures'](),_0x544a08=this[_0x1ed822(0x1d8)]();if(!this[_0x1ed822(0x22b)]()){const _0x5dbf03={};return _0x5dbf03['measures']=[],_0x5dbf03[_0x1ed822(0x1cb)]=[],_0x5dbf03;}const _0x51e234={};return _0x51e234[_0x1ed822(0x20b)]=_0x1b9642,_0x51e234[_0x1ed822(0x1cb)]=_0x544a08,_0x51e234;}static[a79_0x372456(0x1c7)](_0x339d12){const _0x421a62=a79_0x372456,_0x3be066={};_0x3be066['Ogtio']=function(_0x3721a3,_0x4c3241){return _0x3721a3+_0x4c3241;},_0x3be066[_0x421a62(0x1d1)]='-start';const _0x2017aa=_0x3be066,_0x31d910=_0x2017aa[_0x421a62(0x1b4)](_0x339d12,_0x2017aa[_0x421a62(0x1d1)]);if(this[_0x421a62(0x1e2)][_0x31d910])return;performance[_0x421a62(0x226)](_0x31d910),this[_0x421a62(0x1e2)][_0x31d910]=0x1;}static[a79_0x372456(0x224)](_0x545100,_0x1613c6=!![],_0x5e7e1e=null,_0x28bcbd={}){const _0x1717ae=a79_0x372456,_0x1b1978={'KTMhq':function(_0x24bed7,_0x2d0949){return _0x24bed7+_0x2d0949;},'lVqoB':_0x1717ae(0x221),'KDOGL':function(_0x378826,_0x18d30c){return _0x378826+_0x18d30c;},'seJwo':_0x1717ae(0x1c8),'ypeVy':function(_0x5742bd){return _0x5742bd();},'vRnSl':function(_0x2bcd9e){return _0x2bcd9e();}};performance[_0x1717ae(0x226)](_0x1b1978['KTMhq'](_0x545100,_0x1b1978[_0x1717ae(0x219)])),performance[_0x1717ae(0x227)](_0x545100,_0x1b1978[_0x1717ae(0x19c)](_0x545100,_0x1b1978[_0x1717ae(0x211)]),_0x1b1978[_0x1717ae(0x19c)](_0x545100,_0x1b1978[_0x1717ae(0x219)]));const _0xdfe9e0={};_0xdfe9e0[_0x1717ae(0x1be)]=_0x1613c6,_0xdfe9e0[_0x1717ae(0x1ab)]=_0x5e7e1e,this['details'][_0x545100]=Object['assign'](_0xdfe9e0,Object[_0x1717ae(0x1ba)](Object['assign']({'worker':_0x1b1978[_0x1717ae(0x1b5)](getProcessId),'platform':global[_0x1717ae(0x1c4)]&&global[_0x1717ae(0x1c4)][_0x1717ae(0x1a6)],'testName':_0x1b1978[_0x1717ae(0x199)](getTestName)},_0x28bcbd),this[_0x1717ae(0x1e7)][_0x545100]||{}));}}module[a79_0x372456(0x222)]=PerformanceTester;function a79_0xfc0e(){const _0x53fe13=['-start','1615430NRibbr','MJRNb','errors','toString','getPerformance','measureWrapper','resolve','/error-report-','FwWER','EXaro','winstonLogger','jsonReportDirPath','Auaxc','flat','testName','finalizeErrors','platform','TyWTA','4UdtZZS','message','entryTypes','SaOWy','<tr><td>','mkdirSync','parse','eventsMap','SqXmM','24asKRpN','format','meta','details','PNLPr','</td></tr>','utf-8','catch','341844iBoPHL','/performance-report-','jsonReportFileName','Error\x20while\x20removing\x20files:\x20','QsQEL','dOliR','stopMonitoring','generateJSON','finalizePerfMeasures','slice','pushErrors','BROWSERSTACK_SDK_INSTRUMENTATION','finalize','_observer','all','stack','writeFile','tAOOF','getEventsFromJSON','length','47988YLqxNE','HUFVz','jsonReportDirName','path','vQdVn','Error\x20stopping\x20monitoring\x20','browserStackCwd','63oADHLM','644673ngxMhm','../logger','mWVVi','measures','pushPerfMeasures','erRWl','started','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','zKQUd','seJwo','performance-own.html','unlinkSync','FGckn','bGfBb','disconnect','concat','KFmHH','lVqoB','util','UlCLc','toJSON','_events','reduce','EKrZc','performance-report','-end','exports','forEach','end','JcWQA','mark','measure','name','FQfVK','236496bcKGzF','isEnabled','readdirSync','push','24083455QQytCM','cwd','errorFile','50Uzcwms','perf_hooks','FQROB','vRnSl','fWwVX','RniPS','KDOGL','getCleanedPerfEvents','stringify','350Ejhkax','captureError','env','kdLCE','fUOXl','</td><td>','generateHTMLReport','index','observe','entries','existsSync','OzokK','failure','error-report','join','appendFileSync','apply','_measureEvents','_errorEvents','duration','readFileSync','Ogtio','ypeVy','apSUq','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','../processHelper','.json','assign','debug','</tbody></table></body></html>','errorReportFileName','success','map','calculateTimeFromEvents','sKCQn','false','match','__platformCaps','754899PXHbzs','errorReportDirName','start'];a79_0xfc0e=function(){return _0x53fe13;};return a79_0xfc0e();}
@@ -1 +1 @@
1
- const a80_0x49f173=a80_0x3267;function a80_0x3267(_0xc2547f,_0x2a0fb2){const _0x1386cd=a80_0x1386();return a80_0x3267=function(_0x32678d,_0x23e307){_0x32678d=_0x32678d-0x1e0;let _0x4a42c3=_0x1386cd[_0x32678d];return _0x4a42c3;},a80_0x3267(_0xc2547f,_0x2a0fb2);}function a80_0x1386(){const _0x4e2e80=['getProcessId','262191sCwvvB','./test-observability/constants','4943480zdcTDm','2372262jgGoIr','][\x20OBSERVABILITY\x20]\x20','./logger','getGlobal','./globals','2137712bSOJYJ','threadId','7qPInMW','2kpneYq','25viVoVG','browserstackTestName','MvbjP','debug','pid','true','478023UsTjVX','MZhmq','372472ZQAJqT','aRHVu','getTestName','log','env','toISOString','3471606XdJTCl'];a80_0x1386=function(){return _0x4e2e80;};return a80_0x1386();}(function(_0x46595f,_0x1dc7b2){const _0x2aecad=a80_0x3267,_0x344ae3=_0x46595f();while(!![]){try{const _0x5b5d89=-parseInt(_0x2aecad(0x1e9))/0x1*(parseInt(_0x2aecad(0x1f4))/0x2)+-parseInt(_0x2aecad(0x1fb))/0x3+parseInt(_0x2aecad(0x1e1))/0x4*(parseInt(_0x2aecad(0x1f5))/0x5)+-parseInt(_0x2aecad(0x1ec))/0x6*(parseInt(_0x2aecad(0x1f3))/0x7)+-parseInt(_0x2aecad(0x1f1))/0x8+parseInt(_0x2aecad(0x1e7))/0x9+parseInt(_0x2aecad(0x1eb))/0xa;if(_0x5b5d89===_0x1dc7b2)break;else _0x344ae3['push'](_0x344ae3['shift']());}catch(_0x44c337){_0x344ae3['push'](_0x344ae3['shift']());}}}(a80_0x1386,0x3fdad));const worker=require('worker_threads'),{fileLogger}=require(a80_0x49f173(0x1ee)),{consoleHolder}=require(a80_0x49f173(0x1ea)),globals=require(a80_0x49f173(0x1f0));exports[a80_0x49f173(0x1e8)]=()=>{const _0xf09704=a80_0x49f173;return process[_0xf09704(0x1f9)]+'-'+worker[_0xf09704(0x1f2)];},exports[a80_0x49f173(0x1e3)]=()=>{const _0x2106ca=a80_0x49f173,_0x344280={};_0x344280['aRHVu']=_0x2106ca(0x1f6);const _0x2da1ad=_0x344280;return globals[_0x2106ca(0x1ef)](_0x2da1ad[_0x2106ca(0x1e2)]);},exports['sleep']=(_0x58dcda=0x64)=>new Promise(_0xecc7b1=>setTimeout(_0xecc7b1,_0x58dcda)),exports[a80_0x49f173(0x1f8)]=_0x58c197=>{const _0x6cf844=a80_0x49f173,_0x585f42={};_0x585f42[_0x6cf844(0x1f7)]=function(_0x410c1f,_0x18dad4){return _0x410c1f===_0x18dad4;},_0x585f42['MZhmq']=_0x6cf844(0x1fa);const _0x110ed6=_0x585f42;fileLogger['debug']('['+new Date()[_0x6cf844(0x1e6)]()+_0x6cf844(0x1ed)+_0x58c197),(_0x110ed6[_0x6cf844(0x1f7)](process['env']['BROWSERSTACK_OBSERVABILITY_DEBUG'],_0x110ed6[_0x6cf844(0x1e0)])||_0x110ed6[_0x6cf844(0x1f7)](process[_0x6cf844(0x1e5)]['BROWSERSTACK_OBSERVABILITY_DEBUG'],'1'))&&consoleHolder[_0x6cf844(0x1e4)]('\x0a['+new Date()[_0x6cf844(0x1e6)]()+'][\x20OBSERVABILITY\x20]\x20'+_0x58c197+'\x0a');};
1
+ const a80_0x848d=a80_0x2c6d;function a80_0x2c6d(_0x1bdfab,_0x20ce00){const _0x2c26b7=a80_0x2c26();return a80_0x2c6d=function(_0x2c6d32,_0x5a5ac7){_0x2c6d32=_0x2c6d32-0x19e;let _0x4cd58b=_0x2c26b7[_0x2c6d32];return _0x4cd58b;},a80_0x2c6d(_0x1bdfab,_0x20ce00);}(function(_0x540da6,_0x23fdd6){const _0x539e6d=a80_0x2c6d,_0xf9dbe5=_0x540da6();while(!![]){try{const _0x454788=parseInt(_0x539e6d(0x1a2))/0x1*(parseInt(_0x539e6d(0x1ba))/0x2)+-parseInt(_0x539e6d(0x1aa))/0x3*(parseInt(_0x539e6d(0x1b8))/0x4)+parseInt(_0x539e6d(0x1ad))/0x5*(parseInt(_0x539e6d(0x1ae))/0x6)+parseInt(_0x539e6d(0x1b7))/0x7+parseInt(_0x539e6d(0x1a4))/0x8+parseInt(_0x539e6d(0x1a0))/0x9+parseInt(_0x539e6d(0x1b3))/0xa*(-parseInt(_0x539e6d(0x1a3))/0xb);if(_0x454788===_0x23fdd6)break;else _0xf9dbe5['push'](_0xf9dbe5['shift']());}catch(_0x9b6487){_0xf9dbe5['push'](_0xf9dbe5['shift']());}}}(a80_0x2c26,0x4f55d));const worker=require(a80_0x848d(0x1b0)),{fileLogger}=require(a80_0x848d(0x1b2)),{consoleHolder}=require('./test-observability/constants'),globals=require(a80_0x848d(0x1a6));exports['getProcessId']=()=>{const _0x245063=a80_0x848d;return process[_0x245063(0x1b5)]+'-'+worker[_0x245063(0x1a9)];},exports['getTestName']=()=>{const _0x188915=a80_0x848d,_0x271f83={};_0x271f83[_0x188915(0x1ac)]=_0x188915(0x1a8);const _0x3275a5=_0x271f83;return globals[_0x188915(0x1af)](_0x3275a5['NSvno']);},exports[a80_0x848d(0x1b1)]=(_0x273a5d=0x64)=>new Promise(_0x15727a=>setTimeout(_0x15727a,_0x273a5d)),exports[a80_0x848d(0x1b6)]=_0x57f719=>{const _0x57628d=a80_0x848d,_0x19d4cd={};_0x19d4cd[_0x57628d(0x1b9)]=function(_0x8d9a10,_0x30b8c0){return _0x8d9a10===_0x30b8c0;},_0x19d4cd[_0x57628d(0x19e)]=_0x57628d(0x1a1);const _0x22779e=_0x19d4cd;fileLogger['debug']('['+new Date()[_0x57628d(0x1a5)]()+'][\x20OBSERVABILITY\x20]\x20'+_0x57f719),(_0x22779e[_0x57628d(0x1b9)](process[_0x57628d(0x19f)]['BROWSERSTACK_OBSERVABILITY_DEBUG'],_0x22779e[_0x57628d(0x19e)])||_0x22779e[_0x57628d(0x1b9)](process[_0x57628d(0x19f)][_0x57628d(0x1ab)],'1'))&&consoleHolder[_0x57628d(0x1a7)]('\x0a['+new Date()[_0x57628d(0x1a5)]()+_0x57628d(0x1b4)+_0x57f719+'\x0a');};function a80_0x2c26(){const _0x2466a0=['][\x20OBSERVABILITY\x20]\x20','pid','debug','1351714ECzgZJ','7256jsLpQZ','haAwW','326984gvxlqT','ZIfOg','env','3700008JUcDRo','true','1yLNBlO','143oiQtfF','757584aLODWZ','toISOString','./globals','log','browserstackTestName','threadId','498dcfSsR','BROWSERSTACK_OBSERVABILITY_DEBUG','NSvno','240kLdRPV','4830Tikdfp','getGlobal','worker_threads','sleep','./logger','211510IZzgLK'];a80_0x2c26=function(){return _0x2466a0;};return a80_0x2c26();}
@@ -1 +1 @@
1
- const a81_0x21b595=a81_0xc2a2;(function(_0x4850e9,_0x6de9d4){const _0x172dc4=a81_0xc2a2,_0x741826=_0x4850e9();while(!![]){try{const _0xec1e42=-parseInt(_0x172dc4(0xd2))/0x1+parseInt(_0x172dc4(0xc4))/0x2+parseInt(_0x172dc4(0xd3))/0x3+-parseInt(_0x172dc4(0xe7))/0x4+-parseInt(_0x172dc4(0xcd))/0x5*(parseInt(_0x172dc4(0xcc))/0x6)+-parseInt(_0x172dc4(0xdb))/0x7*(-parseInt(_0x172dc4(0xef))/0x8)+parseInt(_0x172dc4(0xc9))/0x9;if(_0xec1e42===_0x6de9d4)break;else _0x741826['push'](_0x741826['shift']());}catch(_0x5c551a){_0x741826['push'](_0x741826['shift']());}}}(a81_0x9758,0xe8822));const http=require(a81_0x21b595(0xe4)),https=require('https'),monkeypatch=require('monkeypatch');function spy(_0x4c9245){const _0x5b7421=a81_0x21b595,_0x9dd7da={'fZsRN':function(_0x26c3fa,_0x39e9e2,_0x3d5fa1){return _0x26c3fa(_0x39e9e2,_0x3d5fa1);},'htrUn':function(_0x4e5f03,..._0x627598){return _0x4e5f03(..._0x627598);},'oXcBo':function(_0x4accfe,_0x371829){return _0x4accfe instanceof _0x371829;},'EfHaE':function(_0x13b3ae,_0x1c7bc0){return _0x13b3ae===_0x1c7bc0;},'AiAYT':'object','AJtkJ':function(_0xa8359b,_0x34d486){return _0xa8359b-_0x34d486;},'RcKbJ':'error','YFpsH':_0x5b7421(0xeb),'WlUIe':'socket','TnNnY':function(_0x2008f9,_0x3c6530,_0x5e49ae,_0x34c93d){return _0x2008f9(_0x3c6530,_0x5e49ae,_0x34c93d);},'TzOjh':_0x5b7421(0xd6),'ZXAGZ':'request','iUKEb':function(_0x1a74e8,_0x15fcc8,_0x3906fe,_0x12e913){return _0x1a74e8(_0x15fcc8,_0x3906fe,_0x12e913);}},_0x106a69=function(){const _0xc12e52=_0x5b7421,_0x2ed47f={'Mtjbc':function(_0x507172,_0x35ed4d){const _0xa8519f=a81_0xc2a2;return _0x9dd7da[_0xa8519f(0xe8)](_0x507172,_0x35ed4d);},'BebzZ':function(_0x177e68,_0x55c08e){const _0x1a3382=a81_0xc2a2;return _0x9dd7da[_0x1a3382(0xc6)](_0x177e68,_0x55c08e);},'OmEtV':_0x9dd7da[_0xc12e52(0xe5)],'jUYZA':function(_0x4b67d6,_0x5d936f){const _0x5d23a8=_0xc12e52;return _0x9dd7da[_0x5d23a8(0xd9)](_0x4b67d6,_0x5d936f);},'YarAb':function(_0x2d1ee7,_0xd62af0,_0x3b708a){const _0xc526ab=_0xc12e52;return _0x9dd7da[_0xc526ab(0xea)](_0x2d1ee7,_0xd62af0,_0x3b708a);},'NXqex':_0x9dd7da[_0xc12e52(0xda)]},_0x3539b8=arguments[0x0],_0x1ec9bb=Array[_0xc12e52(0xcf)][_0xc12e52(0xe3)][_0xc12e52(0xc5)](arguments,0x1),_0x1b39b7=_0x3539b8[_0xc12e52(0xd0)](this,_0x1ec9bb);let _0x3c1e68=Date[_0xc12e52(0xe1)](),_0x1b3d8d;const _0xe013b5={};_0x1ec9bb['forEach'](_0x1e5b27=>{const _0x20a803=_0xc12e52;if(_0x2ed47f[_0x20a803(0xce)](_0x1e5b27,URL)){const _0x1cd71d={};_0x1cd71d[_0x20a803(0xc3)]=_0x1e5b27,Object[_0x20a803(0xc7)](_0xe013b5,_0x1cd71d);}else _0x2ed47f[_0x20a803(0xe6)](typeof _0x1e5b27,_0x2ed47f['OmEtV'])&&Object[_0x20a803(0xc7)](_0xe013b5,_0x1e5b27);});const _0x171170=_0x30631f=>{const _0x1599ef=_0xc12e52,_0x22ed32={};_0x22ed32[_0x1599ef(0xe0)]=_0xe013b5[_0x1599ef(0xe0)]||_0xe013b5[_0x1599ef(0xc2)]||_0xe013b5[_0x1599ef(0xc3)]&&(_0xe013b5[_0x1599ef(0xc3)][_0x1599ef(0xe0)]||_0xe013b5[_0x1599ef(0xc3)][_0x1599ef(0xc2)]),_0x22ed32['path']=_0xe013b5['path']||_0xe013b5[_0x1599ef(0xc3)]&&_0xe013b5[_0x1599ef(0xc3)][_0x1599ef(0xec)],_0x22ed32[_0x1599ef(0xed)]=_0xe013b5[_0x1599ef(0xed)],_0x22ed32[_0x1599ef(0xf1)]=_0xe013b5['headers'],_0x9dd7da[_0x1599ef(0xea)](_0x4c9245,_0x30631f,_0x22ed32);};return _0x1b39b7['once'](_0x9dd7da['YFpsH'],_0x1a4943=>{const _0x5d4dc4=_0xc12e52,_0x4bc37d=_0x2ed47f[_0x5d4dc4(0xd5)](Date[_0x5d4dc4(0xe1)](),_0x3c1e68),_0x4d5e9f={};_0x4d5e9f['hostname']=_0xe013b5[_0x5d4dc4(0xe0)]||_0xe013b5[_0x5d4dc4(0xc2)]||_0xe013b5[_0x5d4dc4(0xc3)]&&(_0xe013b5[_0x5d4dc4(0xc3)]['host']||_0xe013b5[_0x5d4dc4(0xc3)][_0x5d4dc4(0xc2)]),_0x4d5e9f['path']=_0xe013b5[_0x5d4dc4(0xc1)]||_0xe013b5['url']&&_0xe013b5[_0x5d4dc4(0xc3)][_0x5d4dc4(0xec)],_0x4d5e9f['method']=_0xe013b5['method'],_0x4d5e9f[_0x5d4dc4(0xf1)]=_0xe013b5[_0x5d4dc4(0xf1)],_0x4d5e9f[_0x5d4dc4(0xde)]=_0x1a4943[_0x5d4dc4(0xe9)],_0x4d5e9f[_0x5d4dc4(0xdd)]=_0x4bc37d,_0x2ed47f[_0x5d4dc4(0xe2)](_0x4c9245,null,_0x4d5e9f),_0x1b3d8d[_0x5d4dc4(0xd1)](_0x2ed47f[_0x5d4dc4(0xee)],_0x171170);}),_0x1b39b7['on'](_0x9dd7da[_0xc12e52(0xd7)],_0x2e6e7d=>{const _0x1c8b09=_0xc12e52;_0x1b3d8d=_0x2e6e7d,_0x2e6e7d[_0x1c8b09(0xdc)](_0x2ed47f[_0x1c8b09(0xee)],_0x171170);}),_0x9dd7da['TnNnY'](monkeypatch,_0x1b39b7,_0x9dd7da[_0xc12e52(0xf0)],(_0x4e292f,..._0x5c6153)=>{const _0x3dcbbf=_0xc12e52;_0x3c1e68=Date[_0x3dcbbf(0xe1)](),_0x9dd7da['htrUn'](_0x4e292f,..._0x5c6153);}),_0x1b39b7;};_0x9dd7da[_0x5b7421(0xdf)](monkeypatch,http,_0x9dd7da[_0x5b7421(0xca)],_0x106a69),_0x9dd7da['iUKEb'](monkeypatch,https,_0x9dd7da[_0x5b7421(0xca)],_0x106a69);}function restore(){const _0x435953=a81_0x21b595;http['request'][_0x435953(0xd8)](),https['request'][_0x435953(0xd8)]();}const a81_0x23c1a5={};function a81_0xc2a2(_0x2254ae,_0x464cf7){const _0x9758f=a81_0x9758();return a81_0xc2a2=function(_0xc2a29b,_0x5b8327){_0xc2a29b=_0xc2a29b-0xc1;let _0x5d36e5=_0x9758f[_0xc2a29b];return _0x5d36e5;},a81_0xc2a2(_0x2254ae,_0x464cf7);}a81_0x23c1a5[a81_0x21b595(0xcb)]=spy,a81_0x23c1a5[a81_0x21b595(0xc8)]=restore,module[a81_0x21b595(0xd4)]=a81_0x23c1a5;function a81_0x9758(){const _0x393726=['6708880iUtTFY','oXcBo','statusCode','fZsRN','response','pathname','method','NXqex','50552JNiJYA','TzOjh','headers','path','hostname','url','2255684aEtNRO','call','EfHaE','assign','restore','18903051YQKJfV','ZXAGZ','spy','6rWOCyT','3071235RmuOGV','Mtjbc','prototype','apply','removeListener','1785884KxRMCc','2523108ODayQg','exports','jUYZA','end','WlUIe','unpatch','AJtkJ','RcKbJ','1064HeuhCi','once','duration_ms','status_code','TnNnY','host','now','YarAb','slice','http','AiAYT','BebzZ'];a81_0x9758=function(){return _0x393726;};return a81_0x9758();}
1
+ const a81_0x4b6d7f=a81_0x41f2;(function(_0x515065,_0x2e6bd6){const _0x2fe698=a81_0x41f2,_0x497e31=_0x515065();while(!![]){try{const _0x155b97=parseInt(_0x2fe698(0x137))/0x1*(-parseInt(_0x2fe698(0x121))/0x2)+parseInt(_0x2fe698(0x11b))/0x3*(parseInt(_0x2fe698(0x105))/0x4)+-parseInt(_0x2fe698(0x106))/0x5+-parseInt(_0x2fe698(0x139))/0x6*(parseInt(_0x2fe698(0x138))/0x7)+-parseInt(_0x2fe698(0x11f))/0x8*(parseInt(_0x2fe698(0x130))/0x9)+parseInt(_0x2fe698(0x13a))/0xa+parseInt(_0x2fe698(0x108))/0xb;if(_0x155b97===_0x2e6bd6)break;else _0x497e31['push'](_0x497e31['shift']());}catch(_0x2ffb34){_0x497e31['push'](_0x497e31['shift']());}}}(a81_0x35e0,0x47c6e));const http=require(a81_0x4b6d7f(0x11a)),https=require(a81_0x4b6d7f(0x10f)),monkeypatch=require(a81_0x4b6d7f(0x134));function a81_0x35e0(){const _0x24907e=['4Imxuin','forEach','fnbfI','once','KCIzB','request','WlZjM','pppVa','exports','fRLgl','TNFip','path','rIzJd','method','ORwcU','4221495IDjorq','host','hostname','NgZXK','monkeypatch','apply','response','282795BokDRX','102683yNiGfG','54BJyZKQ','5598580BzzmpY','unpatch','XkCaF','1044TvwHMx','641620oFCoNW','vKNEo','10042835wcFzDr','status_code','dpLIG','now','statusCode','object','pathname','https','restore','url','spy','duration_ms','Ocfmc','assign','yHZma','gwTRB','error','call','http','1335GEEoRk','slice','prototype','headers','8uFrmFr','BVLVU'];a81_0x35e0=function(){return _0x24907e;};return a81_0x35e0();}function spy(_0x51503d){const _0x160dd2=a81_0x4b6d7f,_0x40cfc0={'rIzJd':function(_0xc363c4,_0x58439a){return _0xc363c4-_0x58439a;},'TNFip':function(_0x16c13f,_0x2f28d4,_0x4d9c76){return _0x16c13f(_0x2f28d4,_0x4d9c76);},'WlZjM':_0x160dd2(0x118),'Ocfmc':function(_0x1954c5,..._0x5952e8){return _0x1954c5(..._0x5952e8);},'pppVa':function(_0x533ba1,_0x324b9e){return _0x533ba1 instanceof _0x324b9e;},'BVLVU':function(_0x4c471d,_0x3ded9c){return _0x4c471d===_0x3ded9c;},'fRLgl':_0x160dd2(0x10d),'IvIle':_0x160dd2(0x136),'NgZXK':'socket','fnbfI':function(_0x44dd53,_0xd2c914,_0x36ae0b,_0x565fd8){return _0x44dd53(_0xd2c914,_0x36ae0b,_0x565fd8);},'ORwcU':'end','yHZma':function(_0x5991c9,_0x47ea72,_0x96ab76,_0x16ed26){return _0x5991c9(_0x47ea72,_0x96ab76,_0x16ed26);},'dpLIG':'request'},_0x3b6266=function(){const _0x120d8c=_0x160dd2,_0x449b3b={'KCIzB':function(_0x55a316,_0x4ebccb){const _0x4e2066=a81_0x41f2;return _0x40cfc0[_0x4e2066(0x128)](_0x55a316,_0x4ebccb);},'vKNEo':function(_0x412fac,_0x352414){const _0x145ab9=a81_0x41f2;return _0x40cfc0[_0x145ab9(0x120)](_0x412fac,_0x352414);},'QIKiF':_0x40cfc0[_0x120d8c(0x12a)],'XkCaF':function(_0x20bf9b,_0x15152b,_0x243511){return _0x40cfc0['TNFip'](_0x20bf9b,_0x15152b,_0x243511);},'gwTRB':_0x40cfc0[_0x120d8c(0x127)]},_0x4ba2df=arguments[0x0],_0x34b76a=Array[_0x120d8c(0x11d)][_0x120d8c(0x11c)][_0x120d8c(0x119)](arguments,0x1),_0x22112c=_0x4ba2df[_0x120d8c(0x135)](this,_0x34b76a);let _0x25ca2a=Date[_0x120d8c(0x10b)](),_0x384a09;const _0x1dd674={};_0x34b76a[_0x120d8c(0x122)](_0x4d4649=>{const _0x32b59=_0x120d8c;if(_0x449b3b[_0x32b59(0x125)](_0x4d4649,URL)){const _0x549e89={};_0x549e89[_0x32b59(0x111)]=_0x4d4649,Object[_0x32b59(0x115)](_0x1dd674,_0x549e89);}else _0x449b3b[_0x32b59(0x107)](typeof _0x4d4649,_0x449b3b['QIKiF'])&&Object[_0x32b59(0x115)](_0x1dd674,_0x4d4649);});const _0x2b247b=_0x5f0130=>{const _0x1dc29c=_0x120d8c,_0x338139={};_0x338139['host']=_0x1dd674[_0x1dc29c(0x131)]||_0x1dd674[_0x1dc29c(0x132)]||_0x1dd674['url']&&(_0x1dd674[_0x1dc29c(0x111)][_0x1dc29c(0x131)]||_0x1dd674[_0x1dc29c(0x111)][_0x1dc29c(0x132)]),_0x338139[_0x1dc29c(0x12c)]=_0x1dd674['path']||_0x1dd674[_0x1dc29c(0x111)]&&_0x1dd674['url']['pathname'],_0x338139[_0x1dc29c(0x12e)]=_0x1dd674[_0x1dc29c(0x12e)],_0x338139['headers']=_0x1dd674[_0x1dc29c(0x11e)],_0x449b3b[_0x1dc29c(0x104)](_0x51503d,_0x5f0130,_0x338139);};return _0x22112c[_0x120d8c(0x124)](_0x40cfc0['IvIle'],_0x3dbe52=>{const _0x1a6391=_0x120d8c,_0x462526=_0x40cfc0[_0x1a6391(0x12d)](Date[_0x1a6391(0x10b)](),_0x25ca2a),_0x2d0786={};_0x2d0786[_0x1a6391(0x132)]=_0x1dd674[_0x1a6391(0x131)]||_0x1dd674[_0x1a6391(0x132)]||_0x1dd674[_0x1a6391(0x111)]&&(_0x1dd674[_0x1a6391(0x111)][_0x1a6391(0x131)]||_0x1dd674[_0x1a6391(0x111)]['hostname']),_0x2d0786[_0x1a6391(0x12c)]=_0x1dd674[_0x1a6391(0x12c)]||_0x1dd674[_0x1a6391(0x111)]&&_0x1dd674[_0x1a6391(0x111)][_0x1a6391(0x10e)],_0x2d0786[_0x1a6391(0x12e)]=_0x1dd674[_0x1a6391(0x12e)],_0x2d0786[_0x1a6391(0x11e)]=_0x1dd674[_0x1a6391(0x11e)],_0x2d0786[_0x1a6391(0x109)]=_0x3dbe52[_0x1a6391(0x10c)],_0x2d0786[_0x1a6391(0x113)]=_0x462526,_0x40cfc0[_0x1a6391(0x12b)](_0x51503d,null,_0x2d0786),_0x384a09['removeListener'](_0x40cfc0[_0x1a6391(0x127)],_0x2b247b);}),_0x22112c['on'](_0x40cfc0[_0x120d8c(0x133)],_0x11fcd9=>{const _0x47ec84=_0x120d8c;_0x384a09=_0x11fcd9,_0x11fcd9[_0x47ec84(0x124)](_0x449b3b[_0x47ec84(0x117)],_0x2b247b);}),_0x40cfc0[_0x120d8c(0x123)](monkeypatch,_0x22112c,_0x40cfc0[_0x120d8c(0x12f)],(_0x190977,..._0x34f73b)=>{const _0x3ed8d6=_0x120d8c;_0x25ca2a=Date[_0x3ed8d6(0x10b)](),_0x40cfc0[_0x3ed8d6(0x114)](_0x190977,..._0x34f73b);}),_0x22112c;};_0x40cfc0[_0x160dd2(0x116)](monkeypatch,http,_0x40cfc0['dpLIG'],_0x3b6266),_0x40cfc0['fnbfI'](monkeypatch,https,_0x40cfc0[_0x160dd2(0x10a)],_0x3b6266);}function restore(){const _0x2bccaa=a81_0x4b6d7f;http[_0x2bccaa(0x126)][_0x2bccaa(0x103)](),https['request']['unpatch']();}const a81_0x46526a={};function a81_0x41f2(_0xdf969d,_0x3bed0f){const _0x35e01e=a81_0x35e0();return a81_0x41f2=function(_0x41f2be,_0x229307){_0x41f2be=_0x41f2be-0x103;let _0x468291=_0x35e01e[_0x41f2be];return _0x468291;},a81_0x41f2(_0xdf969d,_0x3bed0f);}a81_0x46526a[a81_0x4b6d7f(0x112)]=spy,a81_0x46526a[a81_0x4b6d7f(0x110)]=restore,module[a81_0x4b6d7f(0x129)]=a81_0x46526a;
@@ -1 +1 @@
1
- function a82_0x158b(){const _0x2d6e57=['fQSoJ','1107114rusbdj','hasOwnProperty','153914tblrVr','LGfGk','./performance/constants','keepAliveMsecs','https','exports','1626708aYDLzU','keepAlive','http','globalAgent','agent','HGfAq','3171051RdzUOR','KocsN','yOMAR','call','234792IBTgoL','5BmdjNx','2233301AfXvSD','request','protocol','2BwGZaw','Agent','1413555XgBdJh','measureWrapper','KEEP_ALIVE','https:'];a82_0x158b=function(){return _0x2d6e57;};return a82_0x158b();}const a82_0x28af1d=a82_0xb31f;function a82_0xb31f(_0x4ec7ce,_0x2f33d9){const _0x158b59=a82_0x158b();return a82_0xb31f=function(_0xb31fa9,_0x20ec21){_0xb31fa9=_0xb31fa9-0x150;let _0x7606fc=_0x158b59[_0xb31fa9];return _0x7606fc;},a82_0xb31f(_0x4ec7ce,_0x2f33d9);}(function(_0x26ce95,_0x3d3108){const _0x14a825=a82_0xb31f,_0xc03963=_0x26ce95();while(!![]){try{const _0xe12c2e=-parseInt(_0x14a825(0x15a))/0x1*(parseInt(_0x14a825(0x151))/0x2)+parseInt(_0x14a825(0x153))/0x3+-parseInt(_0x14a825(0x160))/0x4*(-parseInt(_0x14a825(0x16b))/0x5)+parseInt(_0x14a825(0x158))/0x6+-parseInt(_0x14a825(0x16c))/0x7+parseInt(_0x14a825(0x16a))/0x8+-parseInt(_0x14a825(0x166))/0x9;if(_0xe12c2e===_0x3d3108)break;else _0xc03963['push'](_0xc03963['shift']());}catch(_0x1eb5fa){_0xc03963['push'](_0xc03963['shift']());}}}(a82_0x158b,0x410c2));const PerformanceTester=require('./performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceEvents}=require(a82_0x28af1d(0x15c));module[a82_0x28af1d(0x15f)]=PerformanceTester[a82_0x28af1d(0x154)](PerformanceEvents[a82_0x28af1d(0x155)],function(){const _0xc218c0=a82_0x28af1d,_0x2179c7={'KocsN':function(_0x2ca36f,_0x188692){return _0x2ca36f===_0x188692;},'yOMAR':_0xc218c0(0x156),'ChYsD':_0xc218c0(0x164),'HGfAq':function(_0x200643,_0x3edac5,_0x3baa2e){return _0x200643(_0x3edac5,_0x3baa2e);},'IwbQz':function(_0x473a93,_0x51f7d2){return _0x473a93(_0x51f7d2);},'PvTTZ':_0xc218c0(0x162),'LGfGk':_0xc218c0(0x15e),'XREFq':function(_0x5c8402,_0xb28976){return _0x5c8402*_0xb28976;},'fQSoJ':_0xc218c0(0x161)},_0x98ace7=_0x2179c7['IwbQz'](require,_0x2179c7['PvTTZ']),_0x390a7d=_0x2179c7['IwbQz'](require,_0x2179c7[_0xc218c0(0x15b)]),_0x4878fa=_0x2179c7['XREFq'](0x1e,0x3e8);if(_0x98ace7['globalAgent']&&Object['prototype'][_0xc218c0(0x159)][_0xc218c0(0x169)](_0x98ace7[_0xc218c0(0x163)],_0x2179c7[_0xc218c0(0x157)]))_0x98ace7[_0xc218c0(0x163)]['keepAlive']=!![],_0x390a7d['globalAgent'][_0xc218c0(0x161)]=!![],_0x98ace7[_0xc218c0(0x163)][_0xc218c0(0x15d)]=_0x4878fa,_0x390a7d[_0xc218c0(0x163)][_0xc218c0(0x15d)]=_0x4878fa;else{const _0xfd697a={};_0xfd697a[_0xc218c0(0x161)]=!![],_0xfd697a[_0xc218c0(0x15d)]=_0x4878fa;const _0xe98196=new _0x98ace7[(_0xc218c0(0x152))](_0xfd697a),_0x3af838={};_0x3af838['keepAlive']=!![],_0x3af838['keepAliveMsecs']=_0x4878fa;const _0x1eb564=new _0x390a7d['Agent'](_0x3af838),_0x4ad28f=_0x98ace7['request'],_0x3aa51a=_0x390a7d[_0xc218c0(0x16d)];_0x98ace7['request']=function(_0x4ea291,_0x4de630){const _0x562d5f=_0xc218c0;if(_0x2179c7[_0x562d5f(0x167)](_0x4ea291[_0x562d5f(0x150)],_0x2179c7[_0x562d5f(0x168)]))return _0x4ea291[_0x2179c7['ChYsD']]=_0x1eb564,_0x2179c7[_0x562d5f(0x165)](_0x3aa51a,_0x4ea291,_0x4de630);return _0x4ea291[_0x2179c7['ChYsD']]=_0xe98196,_0x2179c7[_0x562d5f(0x165)](_0x4ad28f,_0x4ea291,_0x4de630);};}});
1
+ function a82_0x6bec(){const _0x5134fc=['23418BnwDys','call','3018hIPvFV','1056WRIdyw','keepAlive','Agent','112ocbAxa','50270kAWnld','ORuYt','globalAgent','132457ieumEl','2815vdIGnv','OGyYR','KPsgH','2YpvYSg','DQbgK','heZUW','1219144bpUSJU','KEEP_ALIVE','xFToM','2252789haOAkM','kNoEW','AVIYr','exports','https:','./performance/constants','https','GvKmM','prototype','hasOwnProperty','ANVfO','725136XmfNOG','./performance/performance-tester','http','keepAliveMsecs','request','measureWrapper','agent'];a82_0x6bec=function(){return _0x5134fc;};return a82_0x6bec();}const a82_0xd5d8b8=a82_0xac4e;(function(_0x598aee,_0x24dc0a){const _0x2b7305=a82_0xac4e,_0xe0b14c=_0x598aee();while(!![]){try{const _0x1db66e=parseInt(_0x2b7305(0xa6))/0x1*(parseInt(_0x2b7305(0xaa))/0x2)+parseInt(_0x2b7305(0xbb))/0x3+-parseInt(_0x2b7305(0xad))/0x4+-parseInt(_0x2b7305(0xa7))/0x5*(-parseInt(_0x2b7305(0xc4))/0x6)+parseInt(_0x2b7305(0xb0))/0x7+-parseInt(_0x2b7305(0xa2))/0x8*(-parseInt(_0x2b7305(0xc2))/0x9)+parseInt(_0x2b7305(0xa3))/0xa*(-parseInt(_0x2b7305(0xc5))/0xb);if(_0x1db66e===_0x24dc0a)break;else _0xe0b14c['push'](_0xe0b14c['shift']());}catch(_0x2931ec){_0xe0b14c['push'](_0xe0b14c['shift']());}}}(a82_0x6bec,0x37b8b));const PerformanceTester=require(a82_0xd5d8b8(0xbc)),{AUTOMATE_EVENTS:PerformanceEvents}=require(a82_0xd5d8b8(0xb5));function a82_0xac4e(_0x6a04fb,_0x3b9f6f){const _0x6bece1=a82_0x6bec();return a82_0xac4e=function(_0xac4ee3,_0x1287cc){_0xac4ee3=_0xac4ee3-0xa0;let _0x35ebf=_0x6bece1[_0xac4ee3];return _0x35ebf;},a82_0xac4e(_0x6a04fb,_0x3b9f6f);}module[a82_0xd5d8b8(0xb3)]=PerformanceTester[a82_0xd5d8b8(0xc0)](PerformanceEvents[a82_0xd5d8b8(0xae)],function(){const _0x45264b=a82_0xd5d8b8,_0x27c8b0={'kNoEW':function(_0x5d3c0b,_0x3c24b4){return _0x5d3c0b===_0x3c24b4;},'KPsgH':_0x45264b(0xb4),'heZUW':_0x45264b(0xc1),'ORuYt':function(_0x30b6cd,_0x1e2f73,_0x5be867){return _0x30b6cd(_0x1e2f73,_0x5be867);},'DQbgK':function(_0x2ec154,_0x2a240e,_0x52c217){return _0x2ec154(_0x2a240e,_0x52c217);},'xFToM':function(_0x12ad21,_0x1e2fd2){return _0x12ad21(_0x1e2fd2);},'OGyYR':_0x45264b(0xbd),'GvKmM':_0x45264b(0xb6),'AVIYr':function(_0x12c7a2,_0x321e60){return _0x12c7a2*_0x321e60;},'ANVfO':_0x45264b(0xa0)},_0x4051d4=_0x27c8b0[_0x45264b(0xaf)](require,_0x27c8b0[_0x45264b(0xa8)]),_0x3d271a=_0x27c8b0['xFToM'](require,_0x27c8b0[_0x45264b(0xb7)]),_0x5dc169=_0x27c8b0[_0x45264b(0xb2)](0x1e,0x3e8);if(_0x4051d4[_0x45264b(0xa5)]&&Object[_0x45264b(0xb8)][_0x45264b(0xb9)][_0x45264b(0xc3)](_0x4051d4[_0x45264b(0xa5)],_0x27c8b0[_0x45264b(0xba)]))_0x4051d4[_0x45264b(0xa5)][_0x45264b(0xa0)]=!![],_0x3d271a[_0x45264b(0xa5)][_0x45264b(0xa0)]=!![],_0x4051d4['globalAgent'][_0x45264b(0xbe)]=_0x5dc169,_0x3d271a[_0x45264b(0xa5)][_0x45264b(0xbe)]=_0x5dc169;else{const _0x58486e={};_0x58486e[_0x45264b(0xa0)]=!![],_0x58486e[_0x45264b(0xbe)]=_0x5dc169;const _0x3bb3a7=new _0x4051d4[(_0x45264b(0xa1))](_0x58486e),_0x595146={};_0x595146[_0x45264b(0xa0)]=!![],_0x595146['keepAliveMsecs']=_0x5dc169;const _0x16ce3d=new _0x3d271a['Agent'](_0x595146),_0x4e75d0=_0x4051d4['request'],_0x3fdfcd=_0x3d271a[_0x45264b(0xbf)];_0x4051d4[_0x45264b(0xbf)]=function(_0x59f592,_0x8bf266){const _0x3e919c=_0x45264b;if(_0x27c8b0[_0x3e919c(0xb1)](_0x59f592['protocol'],_0x27c8b0[_0x3e919c(0xa9)]))return _0x59f592[_0x27c8b0[_0x3e919c(0xac)]]=_0x16ce3d,_0x27c8b0[_0x3e919c(0xa4)](_0x3fdfcd,_0x59f592,_0x8bf266);return _0x59f592[_0x27c8b0[_0x3e919c(0xac)]]=_0x3bb3a7,_0x27c8b0[_0x3e919c(0xab)](_0x4e75d0,_0x59f592,_0x8bf266);};}});
@@ -1 +1 @@
1
- function a83_0xcfad(){var _0x17d4e0=['jest','12gdMyjB','3757090FpJCuD','449505eWEwys','CODECEPT','2IFclac','MOCHA','assign','exports','api/v1/event','1459733XjogCR','PLAYWRIGHT','Playwright','321420FbSsRI','8Haxrpe','1621575gplBhC','CUCUMBER','api/v1/screenshots','api/v1/batch','https://upload-observability.browserstack.com','12EcLmGQ','codeceptjs','233365YxWodn','JEST','https://collector-observability.browserstack.com','110752XNIxOu','18SWHlIQ'];a83_0xcfad=function(){return _0x17d4e0;};return a83_0xcfad();}var a83_0x330a94=a83_0x54d3;function a83_0x54d3(_0x248ac3,_0x51f793){var _0xcfad67=a83_0xcfad();return a83_0x54d3=function(_0x54d344,_0x4f2cf3){_0x54d344=_0x54d344-0xb5;var _0x479b19=_0xcfad67[_0x54d344];return _0x479b19;},a83_0x54d3(_0x248ac3,_0x51f793);}(function(_0x54c812,_0x23325e){var _0x195d2b=a83_0x54d3,_0x32cade=_0x54c812();while(!![]){try{var _0x15b2e9=parseInt(_0x195d2b(0xcd))/0x1*(parseInt(_0x195d2b(0xc6))/0x2)+-parseInt(_0x195d2b(0xba))/0x3+parseInt(_0x195d2b(0xc9))/0x4*(parseInt(_0x195d2b(0xc3))/0x5)+parseInt(_0x195d2b(0xc7))/0x6*(-parseInt(_0x195d2b(0xcb))/0x7)+-parseInt(_0x195d2b(0xbb))/0x8*(parseInt(_0x195d2b(0xbc))/0x9)+parseInt(_0x195d2b(0xca))/0xa+-parseInt(_0x195d2b(0xb7))/0xb*(-parseInt(_0x195d2b(0xc1))/0xc);if(_0x15b2e9===_0x23325e)break;else _0x32cade['push'](_0x32cade['shift']());}catch(_0x58da88){_0x32cade['push'](_0x32cade['shift']());}}}(a83_0xcfad,0x442b7));var a83_0x1c04e7={};a83_0x1c04e7[a83_0x330a94(0xb8)]=a83_0x330a94(0xb9),a83_0x1c04e7[a83_0x330a94(0xce)]='mocha',a83_0x1c04e7[a83_0x330a94(0xcc)]=a83_0x330a94(0xc2),a83_0x1c04e7[a83_0x330a94(0xc4)]=a83_0x330a94(0xc8),a83_0x1c04e7[a83_0x330a94(0xbd)]='cucumber',module[a83_0x330a94(0xb5)]={'consoleHolder':Object[a83_0x330a94(0xcf)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a83_0x330a94(0xc5),'OBSERVABILITY_UPLOAD_API_URL':a83_0x330a94(0xc0),'EVENT_ENDPOINT':a83_0x330a94(0xb6),'BATCH_ENDPOINT':a83_0x330a94(0xbf),'SCREENSHOT_ENDPOINT':a83_0x330a94(0xbe),'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':'.obs_test_details','FRAMEWORKS':a83_0x1c04e7};
1
+ function a83_0x5582(_0x1ea6a8,_0x42e8ad){var _0x32b3a4=a83_0x32b3();return a83_0x5582=function(_0x5582f3,_0x29c8b8){_0x5582f3=_0x5582f3-0xe5;var _0x269c8d=_0x32b3a4[_0x5582f3];return _0x269c8d;},a83_0x5582(_0x1ea6a8,_0x42e8ad);}function a83_0x32b3(){var _0xf744e3=['11003970usvyEg','https://upload-observability.browserstack.com','1898127NNYkJy','CUCUMBER','api/v1/event','exports','309327xxcjLc','45nAOraA','https://collector-observability.browserstack.com','281940Iatujs','PLAYWRIGHT','10MVrIAl','504464fxQQCo','MOCHA','.obs_test_details','1149840KHRmDD','assign','jest','9yFCqAz','Playwright','api/v1/batch','3066344Hmvzzp','codeceptjs'];a83_0x32b3=function(){return _0xf744e3;};return a83_0x32b3();}var a83_0x2d4dcb=a83_0x5582;(function(_0x56450a,_0x10c934){var _0xd8f58e=a83_0x5582,_0xf884e3=_0x56450a();while(!![]){try{var _0x4dc393=-parseInt(_0xd8f58e(0xe6))/0x1+parseInt(_0xd8f58e(0xe5))/0x2*(parseInt(_0xd8f58e(0xf7))/0x3)+parseInt(_0xd8f58e(0xe9))/0x4+-parseInt(_0xd8f58e(0xf8))/0x5*(parseInt(_0xd8f58e(0xfa))/0x6)+-parseInt(_0xd8f58e(0xf3))/0x7+-parseInt(_0xd8f58e(0xef))/0x8+-parseInt(_0xd8f58e(0xec))/0x9*(-parseInt(_0xd8f58e(0xf1))/0xa);if(_0x4dc393===_0x10c934)break;else _0xf884e3['push'](_0xf884e3['shift']());}catch(_0x3b8034){_0xf884e3['push'](_0xf884e3['shift']());}}}(a83_0x32b3,0x4e826));var a83_0x213965={};a83_0x213965[a83_0x2d4dcb(0xfb)]=a83_0x2d4dcb(0xed),a83_0x213965[a83_0x2d4dcb(0xe7)]='mocha',a83_0x213965['CODECEPT']=a83_0x2d4dcb(0xf0),a83_0x213965['JEST']=a83_0x2d4dcb(0xeb),a83_0x213965[a83_0x2d4dcb(0xf4)]='cucumber',module[a83_0x2d4dcb(0xf6)]={'consoleHolder':Object[a83_0x2d4dcb(0xea)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a83_0x2d4dcb(0xf9),'OBSERVABILITY_UPLOAD_API_URL':a83_0x2d4dcb(0xf2),'EVENT_ENDPOINT':a83_0x2d4dcb(0xf5),'BATCH_ENDPOINT':a83_0x2d4dcb(0xee),'SCREENSHOT_ENDPOINT':'api/v1/screenshots','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':a83_0x2d4dcb(0xe8),'FRAMEWORKS':a83_0x213965};
@@ -1 +1 @@
1
- function a84_0x3f68(_0x3f063b,_0x202237){const _0x49a62a=a84_0x49a6();return a84_0x3f68=function(_0x3f68df,_0x4ea3dc){_0x3f68df=_0x3f68df-0x85;let _0x2b8d46=_0x49a62a[_0x3f68df];return _0x2b8d46;},a84_0x3f68(_0x3f063b,_0x202237);}const a84_0x177ec7=a84_0x3f68;(function(_0x3c5180,_0x5a1675){const _0x56a28b=a84_0x3f68,_0x23a06c=_0x3c5180();while(!![]){try{const _0x82ee17=parseInt(_0x56a28b(0x8c))/0x1+-parseInt(_0x56a28b(0xc3))/0x2*(-parseInt(_0x56a28b(0xba))/0x3)+parseInt(_0x56a28b(0xd6))/0x4*(-parseInt(_0x56a28b(0xd5))/0x5)+-parseInt(_0x56a28b(0xbe))/0x6+-parseInt(_0x56a28b(0xd9))/0x7*(parseInt(_0x56a28b(0xf1))/0x8)+parseInt(_0x56a28b(0xd4))/0x9*(-parseInt(_0x56a28b(0x96))/0xa)+-parseInt(_0x56a28b(0xd7))/0xb*(-parseInt(_0x56a28b(0xa9))/0xc);if(_0x82ee17===_0x5a1675)break;else _0x23a06c['push'](_0x23a06c['shift']());}catch(_0x417a71){_0x23a06c['push'](_0x23a06c['shift']());}}}(a84_0x49a6,0x87f56));const util=require('util'),PerformanceTester=require(a84_0x177ec7(0x9f)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require('./utils'),{getAgentVersion,nestedKeyValue}=require(a84_0x177ec7(0xa4)),o11yErrorHandler=(_0x173a7c,_0x37031c='',_0x284828=[''],_0x4d77d6=![])=>{const _0x273c97={'FqRDN':function(_0x332a01,_0x12c145){return _0x332a01(_0x12c145);},'GJcbi':function(_0x110098,_0x1e0152,_0x43c3a0){return _0x110098(_0x1e0152,_0x43c3a0);},'MmrDw':function(_0x39b2e2,_0x5dbf71){return _0x39b2e2 instanceof _0x5dbf71;},'dCvVV':function(_0x4e00fb,_0x4f4295,_0x4a9ccd,_0x2544d6,_0x275a9c){return _0x4e00fb(_0x4f4295,_0x4a9ccd,_0x2544d6,_0x275a9c);}};return function(..._0x4d149f){const _0x53b600=a84_0x3f68;try{let _0xb559cd=_0x173a7c;process[_0x53b600(0xb4)][_0x53b600(0xbf)]&&(_0xb559cd=PerformanceTester['getPerformance']()['timerify'](_0xb559cd));_0x4d77d6&&_0x273c97[_0x53b600(0xad)](trace,_0x53b600(0xe2)+_0x37031c+_0x53b600(0xa6)+process[_0x53b600(0xe6)]+_0x53b600(0x95)+_0x273c97[_0x53b600(0xe5)](nestedKeyValue,arguments[0x0],_0x284828));const _0x2cb4ab=_0xb559cd[_0x53b600(0x89)](null,arguments);_0x4d77d6&&_0x273c97[_0x53b600(0xad)](trace,_0x53b600(0x92)+_0x37031c+_0x53b600(0xa6)+process[_0x53b600(0xe6)]+_0x53b600(0x95)+_0x273c97[_0x53b600(0xe5)](nestedKeyValue,arguments[0x0],_0x284828));if(_0x273c97['MmrDw'](_0x2cb4ab,Promise))return _0x2cb4ab[_0x53b600(0xbc)](_0x4df313=>processError(_0x4df313,_0x173a7c,_0x4d149f,_0x37031c));return _0x2cb4ab;}catch(_0x5ab76d){_0x273c97['dCvVV'](processError,_0x5ab76d,_0x173a7c,_0x4d149f,_0x37031c);}};},o11yClassErrorHandler=(_0x1c321c,_0x12ad6f,_0x3e4e1e='')=>{const _0x4cceb5=a84_0x177ec7,_0x3b7367={'fdHZd':function(_0xb5e9a2,_0x505de3){return _0xb5e9a2 instanceof _0x505de3;},'QRtXL':function(_0x1d1019,_0xc7e0ae,_0x12a18e,_0x166a92,_0x5677cc){return _0x1d1019(_0xc7e0ae,_0x12a18e,_0x166a92,_0x5677cc);},'iyukt':function(_0x550670,_0x223897){return _0x550670===_0x223897;},'uFINM':'function','xytPb':function(_0x1ed71b,_0x2a4338){return _0x1ed71b!==_0x2a4338;},'bmITz':'constructor','inxmc':function(_0x365156,_0x3f99db){return _0x365156<_0x3f99db;}},_0x3235e3=_0x1c321c[_0x4cceb5(0xde)];if(_0x3b7367[_0x4cceb5(0xd3)](Object[_0x4cceb5(0xa3)](_0x3235e3)[_0x4cceb5(0xa2)],0x2))return _0x1c321c;return Object[_0x4cceb5(0xa3)](_0x3235e3)[_0x4cceb5(0xd0)](_0x4d1b7e=>{const _0x928bd5=_0x4cceb5,_0x4e14cb={'kiyre':function(_0x381ae6,_0x4f8564){const _0x285c11=a84_0x3f68;return _0x3b7367[_0x285c11(0x9d)](_0x381ae6,_0x4f8564);},'UEKkL':function(_0x58a015,_0x2184dd,_0x3cb285,_0xaa734d,_0x46a163){const _0x48c396=a84_0x3f68;return _0x3b7367[_0x48c396(0xd8)](_0x58a015,_0x2184dd,_0x3cb285,_0xaa734d,_0x46a163);}};if(!(_0x12ad6f&&_0x12ad6f[_0x928bd5(0x8f)](_0x4d1b7e)))return;const _0xbdb3c7=_0x3235e3[_0x4d1b7e];_0x3b7367['iyukt'](typeof _0xbdb3c7,_0x3b7367['uFINM'])&&_0x3b7367['xytPb'](_0x4d1b7e,_0x3b7367[_0x928bd5(0xb5)])&&Object['defineProperty'](_0x3235e3,_0x4d1b7e,{'writable':!![],'value':function(..._0x51c304){const _0x4bc588=_0x928bd5;try{const _0x3adb9b=(process[_0x4bc588(0xb4)][_0x4bc588(0xbf)]?PerformanceTester[_0x4bc588(0xb0)]()[_0x4bc588(0xeb)](_0xbdb3c7):_0xbdb3c7)['call'](this,..._0x51c304);if(_0x4e14cb[_0x4bc588(0xe7)](_0x3adb9b,Promise))return _0x3adb9b[_0x4bc588(0xbc)](_0x567fb4=>processError(_0x567fb4,_0xbdb3c7,_0x51c304,_0x3e4e1e));return _0x3adb9b;}catch(_0x2311cc){_0x4e14cb[_0x4bc588(0xb7)](processError,_0x2311cc,_0xbdb3c7,_0x51c304,_0x3e4e1e);}}});}),_0x1c321c;};function processError(_0x222418,_0x14e12f,_0x284584,_0x2600c6){const _0x55a8da=a84_0x177ec7,_0x2324c7={'ZekPK':function(_0x594f22,_0x29c378){return _0x594f22(_0x29c378);}};_0x2324c7[_0x55a8da(0xdb)](debug,_0x55a8da(0xda)+_0x14e12f[_0x55a8da(0xdc)]+_0x55a8da(0x98)+_0x2600c6+_0x55a8da(0xbb)+_0x222418+_0x55a8da(0x94)+_0x284584+'.'),PerformanceTester['captureError'](_0x222418);let _0x23d9ba;try{_0x23d9ba=JSON[_0x55a8da(0xed)](_0x284584);}catch(_0x3b7ede){const _0x3da62c={};_0x3da62c['depth']=0x2,_0x23d9ba=util[_0x55a8da(0x8b)](_0x284584,_0x3da62c);}CrashReporter[_0x55a8da(0xcf)](_0x55a8da(0xda)+_0x14e12f[_0x55a8da(0xdc)]+_0x55a8da(0x98)+_0x2600c6+'.\x20Error\x20-\x20'+_0x222418+_0x55a8da(0x94)+_0x23d9ba+'.',_0x222418&&_0x222418['stack']);}class CrashReporter{static ['userConfig']={};static [a84_0x177ec7(0xb2)];static ['frameworkDetails']={};static[a84_0x177ec7(0xe1)](_0x22510e,_0x3723c6,_0x4ed78d=null){const _0x12e559=a84_0x177ec7,_0x5ab584={'PTORh':function(_0x365a61,_0x2fed8f){return _0x365a61(_0x2fed8f);},'uWVZS':function(_0xbb2f58,_0x4d7867){return _0xbb2f58(_0x4d7867);}},_0x5bcccb=_0x22510e[_0x12e559(0xc7)],_0x29f7c6=_0x22510e['frameworkVersion'];!_0x4ed78d&&(_0x4ed78d=_0x5ab584[_0x12e559(0xcb)](getBrowserStackConfig,_0x5bcccb));!_0x29f7c6&&_0x5ab584[_0x12e559(0xb6)](getFrameworkVersion,_0x5bcccb);const _0xa0beed={};_0xa0beed[_0x12e559(0xc7)]=_0x5bcccb,_0xa0beed[_0x12e559(0x97)]=_0x29f7c6,this['setAllDetails'](_0xa0beed,_0x3723c6,_0x5ab584[_0x12e559(0xcb)](getUserCredentials,_0x4ed78d));}static[a84_0x177ec7(0x91)](_0x4454d8,_0x57464d){const _0x24fbb6=a84_0x177ec7,_0x20c412={};_0x20c412['username']=_0x4454d8,_0x20c412['accessKey']=_0x57464d,this[_0x24fbb6(0xb2)]=_0x20c412,process[_0x24fbb6(0xb4)][_0x24fbb6(0xcd)]=JSON[_0x24fbb6(0xed)](this[_0x24fbb6(0xb2)]);}static[a84_0x177ec7(0x8e)](){const _0xc042df=a84_0x177ec7,_0x91ccb7={'zpYUf':function(_0x47659b,_0x25848e){return _0x47659b(_0x25848e);}};if(!this[_0xc042df(0xb2)]&&process[_0xc042df(0xb4)][_0xc042df(0xcd)])try{this[_0xc042df(0xb2)]=JSON[_0xc042df(0xd2)](process[_0xc042df(0xb4)]['CREDENTIALS_FOR_CRASH_REPORTING']);}catch(_0x5346f5){_0x91ccb7['zpYUf'](debug,_0xc042df(0xc6)+_0x5346f5[_0xc042df(0x8a)]());}return this[_0xc042df(0xb2)];}static[a84_0x177ec7(0xd1)](_0xacb448){const _0x23d6a0=a84_0x177ec7;this['userConfig']=this[_0x23d6a0(0xdd)](_0xacb448),process[_0x23d6a0(0xb4)][_0x23d6a0(0xc4)]=JSON['stringify'](this['userConfig']);}static[a84_0x177ec7(0xc2)](){const _0x10cb0f=a84_0x177ec7,_0x5bba93={'AqJoP':function(_0x77669f,_0x3ba61e){return _0x77669f===_0x3ba61e;},'SaVJn':function(_0x8c37f1,_0x462f42){return _0x8c37f1(_0x462f42);}};if(_0x5bba93['AqJoP'](Object['keys'](this[_0x10cb0f(0xca)])[_0x10cb0f(0xa2)],0x0)&&process[_0x10cb0f(0xb4)][_0x10cb0f(0xc4)])try{this[_0x10cb0f(0xca)]=JSON[_0x10cb0f(0xd2)](process[_0x10cb0f(0xb4)]['USER_CONFIG_FOR_REPORTING']);}catch(_0x140eb7){_0x5bba93[_0x10cb0f(0xce)](debug,_0x10cb0f(0xc9)+_0x140eb7['toString']()),this[_0x10cb0f(0xca)]={};}return this[_0x10cb0f(0xca)];}static['setFrameworkDetails'](_0x51979b){const _0x265d75=a84_0x177ec7;this['frameworkDetails']=_0x51979b,process['env'][_0x265d75(0x9e)]=JSON[_0x265d75(0xed)](this[_0x265d75(0xae)]);}static['getFramework'](){const _0x4c727e=a84_0x177ec7,_0xb41ed7={'rbHEs':function(_0x4f365c,_0x46d5f1){return _0x4f365c===_0x46d5f1;},'dwDJP':function(_0x4faa09,_0x5505cd){return _0x4faa09(_0x5505cd);}};if(_0xb41ed7[_0x4c727e(0x87)](Object['keys'](this['frameworkDetails'])[_0x4c727e(0xa2)],0x0)&&process[_0x4c727e(0xb4)][_0x4c727e(0x9e)])try{this[_0x4c727e(0xae)]=JSON['parse'](process[_0x4c727e(0xb4)][_0x4c727e(0x9e)]);}catch(_0x267339){_0xb41ed7[_0x4c727e(0xa7)](debug,_0x4c727e(0xc6)+_0x267339['toString']());}return this[_0x4c727e(0xae)];}static[a84_0x177ec7(0xef)](_0x1d179b,_0x211a49,_0x45bccc){const _0x399f5b=a84_0x177ec7;_0x1d179b&&this[_0x399f5b(0x93)](_0x1d179b),_0x211a49&&this[_0x399f5b(0xd1)](_0x211a49),_0x45bccc&&this[_0x399f5b(0x91)](_0x45bccc[_0x399f5b(0x86)],_0x45bccc['accessKey']);}static async[a84_0x177ec7(0xcf)](_0x50e024,_0x41f346){const _0x420b3d=a84_0x177ec7,_0x525b68={'UFtwV':function(_0x48e160,_0x546777){return _0x48e160(_0x546777);},'XqsSj':function(_0x42575c,_0x39e8da){return _0x42575c(_0x39e8da);},'noyyg':'[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','XpDEl':function(_0x5913cc){return _0x5913cc();},'NlXJU':_0x420b3d(0xe3),'sztXe':_0x420b3d(0xf0),'FppFM':_0x420b3d(0xea),'EGgla':function(_0x4406c2,_0x9e5753,_0x19dfe3,_0x28c944,_0x425e0b,_0x54fd6c){return _0x4406c2(_0x9e5753,_0x19dfe3,_0x28c944,_0x425e0b,_0x54fd6c);},'olsvk':_0x420b3d(0xb9)};this[_0x420b3d(0x8e)]();if(!this[_0x420b3d(0xb2)])return _0x525b68[_0x420b3d(0xb3)](debug,_0x525b68['noyyg']);this['getConfig'](),this[_0x420b3d(0xa1)]();const _0x1ba764={'hashed_id':process[_0x420b3d(0xb4)][_0x420b3d(0xe9)],'observability_version':{'sdkVersion':_0x525b68[_0x420b3d(0x90)](getAgentVersion),'frameworkName':this[_0x420b3d(0xae)][_0x420b3d(0xc7)],'frameworkVersion':this['frameworkDetails'][_0x420b3d(0x97)]},'exception':{'error':_0x50e024[_0x420b3d(0x8a)](),'stackTrace':_0x41f346},'config':this['userConfig']},_0x18f9f3=_0x525b68[_0x420b3d(0xaa)],_0x5afc75={};_0x5afc75[_0x420b3d(0x86)]=this[_0x420b3d(0xb2)][_0x420b3d(0x86)],_0x5afc75[_0x420b3d(0x88)]=this[_0x420b3d(0xb2)][_0x420b3d(0xcc)];const _0x48dda9={};_0x48dda9[_0x420b3d(0xc1)]=_0x525b68['sztXe'],_0x48dda9[_0x420b3d(0xb1)]=_0x525b68['FppFM'];const _0x7e7298={};_0x7e7298['auth']=_0x5afc75,_0x7e7298[_0x420b3d(0xbd)]=_0x48dda9;const _0x3c52b3=_0x7e7298;_0x525b68[_0x420b3d(0xee)](nodeRequest,_0x525b68[_0x420b3d(0xec)],_0x18f9f3,_0x1ba764,_0x3c52b3,![])[_0x420b3d(0xa5)](_0x315068=>{const _0x2f6812=_0x420b3d;_0x525b68['UFtwV'](debug,_0x2f6812(0x99)+JSON[_0x2f6812(0xed)](_0x315068));})[_0x420b3d(0xbc)](_0x3a7315=>{const _0x3f22f7=_0x420b3d;_0x525b68[_0x3f22f7(0xc8)](debug,_0x3f22f7(0x9c)+util[_0x3f22f7(0xaf)](_0x3a7315));});}static[a84_0x177ec7(0xa8)](_0x5cea1e){const _0x180873=a84_0x177ec7,_0x35cacc={};_0x35cacc['GCXNp']=_0x180873(0xe8),_0x35cacc[_0x180873(0x9a)]=_0x180873(0x86),_0x35cacc['Dnqlu']=_0x180873(0xe4),_0x35cacc[_0x180873(0xe0)]=_0x180873(0xcc),_0x35cacc[_0x180873(0xc0)]=_0x180873(0x88),_0x35cacc[_0x180873(0x9b)]=function(_0x2200e1,_0x3279b4){return _0x2200e1===_0x3279b4;},_0x35cacc[_0x180873(0x85)]=_0x180873(0xac);const _0x2f2e42=_0x35cacc;if(!_0x5cea1e)return;const _0x50b878=[_0x2f2e42['GCXNp'],_0x2f2e42[_0x180873(0x9a)],_0x2f2e42[_0x180873(0xdf)],_0x2f2e42[_0x180873(0xe0)],_0x2f2e42[_0x180873(0xc0)]];for(const _0x1faed8 in _0x5cea1e){if(_0x50b878['includes'](_0x1faed8[_0x180873(0xb8)]()))delete _0x5cea1e[_0x1faed8];else _0x2f2e42[_0x180873(0x9b)](typeof _0x5cea1e[_0x1faed8],_0x2f2e42[_0x180873(0x85)])&&this[_0x180873(0xa8)](_0x5cea1e[_0x1faed8]);}}static[a84_0x177ec7(0xdd)](_0x3687f2){const _0x1129bf=a84_0x177ec7,_0x1e8477=JSON[_0x1129bf(0xd2)](JSON[_0x1129bf(0xed)](_0x3687f2));return this['recursivelyDeletePIIKeysFromObject'](_0x1e8477),_0x1e8477;}}function a84_0x49a6(){const _0x3192cb=['setAllDetails','application/json','335656EaqULQ','nqugU','username','rbHEs','password','apply','toString','inspect','959473gheyBc','exports','getCredentials','includes','XpDEl','setCredentials','Finished\x20::\x20','setFrameworkDetails','.\x20Args\x20-\x20',',\x20Argument\x20-\x20','3290lQrJAY','frameworkVersion','\x20--\x20','[Crash_Report_Upload]\x20Success\x20response:\x20','ejOnl','gZwqr','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','fdHZd','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','../performance/performance-tester','o11yClassErrorHandler','getFramework','length','getOwnPropertyNames','../helper','then',',\x20PID\x20-\x20','dwDJP','recursivelyDeletePIIKeysFromObject','15305220sDTwQi','NlXJU','CrashReporter','object','FqRDN','frameworkDetails','format','getPerformance','X-BSTACK-TESTOPS','credentials','XqsSj','env','bmITz','uWVZS','UEKkL','toLowerCase','POST','572853bCpYii','.\x20Error\x20-\x20','catch','headers','1515210uPUDxA','BROWSERSTACK_O11Y_PERF_MEASUREMENT','GxikS','Content-Type','getConfig','6ZWzztL','USER_CONFIG_FOR_REPORTING','o11yErrorHandler','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','frameworkName','UFtwV','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','userConfig','PTORh','accessKey','CREDENTIALS_FOR_CRASH_REPORTING','SaVJn','uploadCrashReport','forEach','setConfigDetails','parse','inxmc','18261KzbrMW','10oqGZMG','1738544CsCaZZ','11tVQswe','QRtXL','77XsDcMW','Error\x20in\x20executing\x20','ZekPK','name','filterPII','prototype','Dnqlu','KEeDg','initialize','Started\x20::\x20','/api/v1/analytics','key','GJcbi','pid','kiyre','user','BS_TESTOPS_BUILD_HASHED_ID','true','timerify','olsvk','stringify','EGgla'];a84_0x49a6=function(){return _0x3192cb;};return a84_0x49a6();}const a84_0xd83f00={};a84_0xd83f00[a84_0x177ec7(0xc5)]=o11yErrorHandler,a84_0xd83f00[a84_0x177ec7(0xa0)]=o11yClassErrorHandler,a84_0xd83f00[a84_0x177ec7(0xab)]=CrashReporter,module[a84_0x177ec7(0x8d)]=a84_0xd83f00;
1
+ const a84_0x26ccb7=a84_0x1c85;function a84_0x1c85(_0x1dc968,_0x4908c3){const _0x185299=a84_0x1852();return a84_0x1c85=function(_0x1c8538,_0x3feabe){_0x1c8538=_0x1c8538-0x158;let _0x37be64=_0x185299[_0x1c8538];return _0x37be64;},a84_0x1c85(_0x1dc968,_0x4908c3);}(function(_0x1f286e,_0x2da84d){const _0x10f330=a84_0x1c85,_0x44ef36=_0x1f286e();while(!![]){try{const _0x407df3=parseInt(_0x10f330(0x158))/0x1*(-parseInt(_0x10f330(0x1b9))/0x2)+-parseInt(_0x10f330(0x180))/0x3+-parseInt(_0x10f330(0x171))/0x4*(-parseInt(_0x10f330(0x182))/0x5)+parseInt(_0x10f330(0x1bc))/0x6*(parseInt(_0x10f330(0x173))/0x7)+parseInt(_0x10f330(0x16e))/0x8+parseInt(_0x10f330(0x196))/0x9+-parseInt(_0x10f330(0x19d))/0xa*(-parseInt(_0x10f330(0x1ae))/0xb);if(_0x407df3===_0x2da84d)break;else _0x44ef36['push'](_0x44ef36['shift']());}catch(_0x2b2c5b){_0x44ef36['push'](_0x44ef36['shift']());}}}(a84_0x1852,0x8567c));const util=require(a84_0x26ccb7(0x185)),PerformanceTester=require(a84_0x26ccb7(0x1a7)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a84_0x26ccb7(0x17d)),{getAgentVersion,nestedKeyValue}=require('../helper'),o11yErrorHandler=(_0xd08840,_0x4d4179='',_0x297a01=[''],_0x4b6713=![])=>{const _0x3efbad={'esaic':function(_0x2c7dfe,_0x50fc60){return _0x2c7dfe(_0x50fc60);},'wYxRW':function(_0xeaa2a5,_0x386b1b,_0x9f0d49){return _0xeaa2a5(_0x386b1b,_0x9f0d49);},'lwaJG':function(_0x2d1109,_0x276eea){return _0x2d1109(_0x276eea);},'UARUs':function(_0x4bcce9,_0x5262a2,_0x1d68f1){return _0x4bcce9(_0x5262a2,_0x1d68f1);},'JBDIt':function(_0x5641f9,_0x15149c){return _0x5641f9 instanceof _0x15149c;},'EgCTK':function(_0x5342be,_0x295adc,_0x1b5ec8,_0x181ec3,_0x2d5055){return _0x5342be(_0x295adc,_0x1b5ec8,_0x181ec3,_0x2d5055);}};return function(..._0x58c26c){const _0x702b77=a84_0x1c85;try{let _0x485da7=_0xd08840;process[_0x702b77(0x198)][_0x702b77(0x186)]&&(_0x485da7=PerformanceTester[_0x702b77(0x187)]()[_0x702b77(0x1a9)](_0x485da7));_0x4b6713&&_0x3efbad[_0x702b77(0x18d)](trace,'Started\x20::\x20'+_0x4d4179+',\x20PID\x20-\x20'+process[_0x702b77(0x170)]+_0x702b77(0x1be)+_0x3efbad[_0x702b77(0x1a8)](nestedKeyValue,arguments[0x0],_0x297a01));const _0x4ebc47=_0x485da7[_0x702b77(0x19c)](null,arguments);_0x4b6713&&_0x3efbad[_0x702b77(0x1b1)](trace,'Finished\x20::\x20'+_0x4d4179+_0x702b77(0x19a)+process[_0x702b77(0x170)]+_0x702b77(0x1be)+_0x3efbad['UARUs'](nestedKeyValue,arguments[0x0],_0x297a01));if(_0x3efbad[_0x702b77(0x1b4)](_0x4ebc47,Promise))return _0x4ebc47[_0x702b77(0x199)](_0x83218e=>processError(_0x83218e,_0xd08840,_0x58c26c,_0x4d4179));return _0x4ebc47;}catch(_0xc0af3c){_0x3efbad[_0x702b77(0x169)](processError,_0xc0af3c,_0xd08840,_0x58c26c,_0x4d4179);}};},o11yClassErrorHandler=(_0x4e7185,_0x2c0769,_0x51929d='')=>{const _0x4dbb81=a84_0x26ccb7,_0x3194f8={'wrZFH':function(_0x22bae2,_0x1653a4){return _0x22bae2 instanceof _0x1653a4;},'zLlXz':function(_0xa3a8b9,_0x4bc00d,_0x1827d2,_0x459e82,_0x3e06af){return _0xa3a8b9(_0x4bc00d,_0x1827d2,_0x459e82,_0x3e06af);},'ilDyU':function(_0xcc8438,_0x25d0fd){return _0xcc8438===_0x25d0fd;},'rlGEb':_0x4dbb81(0x17c),'cykNs':function(_0x5adbf2,_0x85327){return _0x5adbf2!==_0x85327;},'arorT':_0x4dbb81(0x1b6),'CvgCO':function(_0x1ac7d9,_0x35b41e){return _0x1ac7d9<_0x35b41e;}},_0xfb1806=_0x4e7185[_0x4dbb81(0x17b)];if(_0x3194f8[_0x4dbb81(0x17f)](Object[_0x4dbb81(0x18f)](_0xfb1806)[_0x4dbb81(0x16d)],0x2))return _0x4e7185;return Object[_0x4dbb81(0x18f)](_0xfb1806)[_0x4dbb81(0x194)](_0x5a17e0=>{const _0x541657=_0x4dbb81,_0x1f6688={'rjKxZ':function(_0x534b7c,_0x511b68){return _0x3194f8['wrZFH'](_0x534b7c,_0x511b68);},'cXpce':function(_0x32903b,_0x5643e5,_0x29d994,_0x551a91,_0x4e539f){const _0x177af1=a84_0x1c85;return _0x3194f8[_0x177af1(0x195)](_0x32903b,_0x5643e5,_0x29d994,_0x551a91,_0x4e539f);}};if(!(_0x2c0769&&_0x2c0769[_0x541657(0x184)](_0x5a17e0)))return;const _0x440e59=_0xfb1806[_0x5a17e0];_0x3194f8[_0x541657(0x19e)](typeof _0x440e59,_0x3194f8['rlGEb'])&&_0x3194f8[_0x541657(0x192)](_0x5a17e0,_0x3194f8[_0x541657(0x15f)])&&Object['defineProperty'](_0xfb1806,_0x5a17e0,{'writable':!![],'value':function(..._0x579a6f){const _0xe07732=_0x541657;try{const _0x19f4ce=(process[_0xe07732(0x198)][_0xe07732(0x186)]?PerformanceTester['getPerformance']()['timerify'](_0x440e59):_0x440e59)['call'](this,..._0x579a6f);if(_0x1f6688[_0xe07732(0x176)](_0x19f4ce,Promise))return _0x19f4ce[_0xe07732(0x199)](_0x1123e7=>processError(_0x1123e7,_0x440e59,_0x579a6f,_0x51929d));return _0x19f4ce;}catch(_0xd4151d){_0x1f6688['cXpce'](processError,_0xd4151d,_0x440e59,_0x579a6f,_0x51929d);}}});}),_0x4e7185;};function a84_0x1852(){const _0x4d1e65=['Error\x20in\x20executing\x20','forEach','zLlXz','1624932vMyaYg','alvNP','env','catch',',\x20PID\x20-\x20','rqXMB','apply','210bVAmlT','ilDyU','toLowerCase','IAnAg','tJTRm','frameworkDetails','recursivelyDeletePIIKeysFromObject','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','password','../performance/performance-tester','wYxRW','timerify','frameworkName','getFramework','headers','setConfigDetails','84810FZiuQm','accessKey','SMEVW','lwaJG','userConfig','name','JBDIt','oQOcs','constructor','parse','uploadCrashReport','1195642khSNCL','POST','stack','78THBTHs','NaezO',',\x20Argument\x20-\x20','credentials','XynjC','setAllDetails','1cHosHA','mGTre','stringify','key','setFrameworkDetails','JDPRD','frameworkVersion','arorT','ruOGh','setCredentials','Content-Type','object','captureError','CrashReporter','USER_CONFIG_FOR_REPORTING','gxkCu','qhVBq','EgCTK','application/json','filterPII','Pjgmc','length','2216472RJrMfo','pJkVv','pid','668YWydJV','exports','479983MdcSzT','username','jOyhL','rjKxZ','user','toString','CREDENTIALS_FOR_CRASH_REPORTING','initialize','prototype','function','./utils','.\x20Args\x20-\x20','CvgCO','1473240OAQMpW','lFKUT','3725lVHQsw','X-BSTACK-TESTOPS','includes','util','BROWSERSTACK_O11Y_PERF_MEASUREMENT','getPerformance','pzRuG','getConfig','VdbSA','format','getCredentials','esaic','\x20--\x20','getOwnPropertyNames','[Crash_Report_Upload]\x20Success\x20response:\x20','.\x20Error\x20-\x20','cykNs'];a84_0x1852=function(){return _0x4d1e65;};return a84_0x1852();}function processError(_0x406614,_0x31aeda,_0xb0f601,_0x4f43e6){const _0x3063c6=a84_0x26ccb7,_0x31790b={'alvNP':function(_0x3c5eb5,_0x15a24a){return _0x3c5eb5(_0x15a24a);}};_0x31790b[_0x3063c6(0x197)](debug,_0x3063c6(0x193)+_0x31aeda[_0x3063c6(0x1b3)]+_0x3063c6(0x18e)+_0x4f43e6+'.\x20Error\x20-\x20'+_0x406614+_0x3063c6(0x17e)+_0xb0f601+'.'),PerformanceTester[_0x3063c6(0x164)](_0x406614);let _0x48f48f;try{_0x48f48f=JSON['stringify'](_0xb0f601);}catch(_0x44802d){const _0x52d6f2={};_0x52d6f2['depth']=0x2,_0x48f48f=util['inspect'](_0xb0f601,_0x52d6f2);}CrashReporter[_0x3063c6(0x1b8)](_0x3063c6(0x193)+_0x31aeda[_0x3063c6(0x1b3)]+'\x20--\x20'+_0x4f43e6+_0x3063c6(0x191)+_0x406614+_0x3063c6(0x17e)+_0x48f48f+'.',_0x406614&&_0x406614[_0x3063c6(0x1bb)]);}class CrashReporter{static ['userConfig']={};static [a84_0x26ccb7(0x1bf)];static [a84_0x26ccb7(0x1a2)]={};static[a84_0x26ccb7(0x17a)](_0xff3e66,_0x4d300e,_0x283cd0=null){const _0xffa176=a84_0x26ccb7,_0x403f91={'fiQIW':function(_0x2d1cd1,_0x358fc4){return _0x2d1cd1(_0x358fc4);},'XynjC':function(_0x4932df,_0x4be0e6){return _0x4932df(_0x4be0e6);},'lFKUT':function(_0x50c0c3,_0x4b0ab7){return _0x50c0c3(_0x4b0ab7);}},_0xf93447=_0xff3e66['frameworkName'],_0x22a7fa=_0xff3e66['frameworkVersion'];!_0x283cd0&&(_0x283cd0=_0x403f91['fiQIW'](getBrowserStackConfig,_0xf93447));!_0x22a7fa&&_0x403f91[_0xffa176(0x1c0)](getFrameworkVersion,_0xf93447);const _0x418685={};_0x418685['frameworkName']=_0xf93447,_0x418685[_0xffa176(0x15e)]=_0x22a7fa,this[_0xffa176(0x1c1)](_0x418685,_0x4d300e,_0x403f91[_0xffa176(0x181)](getUserCredentials,_0x283cd0));}static[a84_0x26ccb7(0x161)](_0x3f513c,_0x15b2be){const _0x449a9a=a84_0x26ccb7,_0x2458d4={};_0x2458d4['username']=_0x3f513c,_0x2458d4[_0x449a9a(0x1af)]=_0x15b2be,this[_0x449a9a(0x1bf)]=_0x2458d4,process['env'][_0x449a9a(0x179)]=JSON['stringify'](this['credentials']);}static[a84_0x26ccb7(0x18c)](){const _0x516bd4=a84_0x26ccb7,_0x834742={'tJlVA':function(_0x326c3d,_0xb9b789){return _0x326c3d(_0xb9b789);}};if(!this['credentials']&&process[_0x516bd4(0x198)][_0x516bd4(0x179)])try{this[_0x516bd4(0x1bf)]=JSON['parse'](process['env']['CREDENTIALS_FOR_CRASH_REPORTING']);}catch(_0x1abbf6){_0x834742['tJlVA'](debug,_0x516bd4(0x1a4)+_0x1abbf6[_0x516bd4(0x178)]());}return this[_0x516bd4(0x1bf)];}static[a84_0x26ccb7(0x1ad)](_0x23f2cd){const _0x950aa0=a84_0x26ccb7;this['userConfig']=this[_0x950aa0(0x16b)](_0x23f2cd),process[_0x950aa0(0x198)][_0x950aa0(0x166)]=JSON[_0x950aa0(0x15a)](this[_0x950aa0(0x1b2)]);}static[a84_0x26ccb7(0x189)](){const _0xfc1467=a84_0x26ccb7,_0x74bd1a={'ruOGh':function(_0xae9d08,_0x31aaed){return _0xae9d08===_0x31aaed;},'HgvhX':function(_0x4251af,_0x17fa51){return _0x4251af(_0x17fa51);}};if(_0x74bd1a[_0xfc1467(0x160)](Object['keys'](this[_0xfc1467(0x1b2)])[_0xfc1467(0x16d)],0x0)&&process[_0xfc1467(0x198)][_0xfc1467(0x166)])try{this[_0xfc1467(0x1b2)]=JSON[_0xfc1467(0x1b7)](process['env'][_0xfc1467(0x166)]);}catch(_0x3f6b36){_0x74bd1a['HgvhX'](debug,'Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20'+_0x3f6b36[_0xfc1467(0x178)]()),this[_0xfc1467(0x1b2)]={};}return this[_0xfc1467(0x1b2)];}static[a84_0x26ccb7(0x15c)](_0x2233d7){const _0x14da1a=a84_0x26ccb7;this[_0x14da1a(0x1a2)]=_0x2233d7,process[_0x14da1a(0x198)][_0x14da1a(0x1a5)]=JSON[_0x14da1a(0x15a)](this[_0x14da1a(0x1a2)]);}static[a84_0x26ccb7(0x1ab)](){const _0x489fbb=a84_0x26ccb7,_0x5bcefb={'SMEVW':function(_0x362a5e,_0x23f301){return _0x362a5e===_0x23f301;},'VdbSA':function(_0x3cf3d4,_0x1ae1cf){return _0x3cf3d4(_0x1ae1cf);}};if(_0x5bcefb[_0x489fbb(0x1b0)](Object['keys'](this[_0x489fbb(0x1a2)])[_0x489fbb(0x16d)],0x0)&&process[_0x489fbb(0x198)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS'])try{this[_0x489fbb(0x1a2)]=JSON[_0x489fbb(0x1b7)](process[_0x489fbb(0x198)][_0x489fbb(0x1a5)]);}catch(_0x9cbe69){_0x5bcefb[_0x489fbb(0x18a)](debug,'Error\x20in\x20parsing\x20credentials\x20from\x20env\x20'+_0x9cbe69[_0x489fbb(0x178)]());}return this[_0x489fbb(0x1a2)];}static[a84_0x26ccb7(0x1c1)](_0x28baf5,_0x833175,_0x8e292b){const _0x51d4bd=a84_0x26ccb7;_0x28baf5&&this['setFrameworkDetails'](_0x28baf5),_0x833175&&this[_0x51d4bd(0x1ad)](_0x833175),_0x8e292b&&this[_0x51d4bd(0x161)](_0x8e292b[_0x51d4bd(0x174)],_0x8e292b[_0x51d4bd(0x1af)]);}static async[a84_0x26ccb7(0x1b8)](_0x46baf4,_0x4fe098){const _0x2b05fd=a84_0x26ccb7,_0x38808b={'tJTRm':function(_0x43c6cb,_0x355bb4){return _0x43c6cb(_0x355bb4);},'eKQhh':'[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','pzRuG':function(_0x32766f){return _0x32766f();},'SzWKX':'/api/v1/analytics','gxkCu':_0x2b05fd(0x16a),'pJkVv':'true','jOyhL':function(_0x16d290,_0xbcf7b9,_0x3af9e1,_0x41474c,_0x33909c,_0xda4477){return _0x16d290(_0xbcf7b9,_0x3af9e1,_0x41474c,_0x33909c,_0xda4477);},'JDPRD':_0x2b05fd(0x1ba)};this[_0x2b05fd(0x18c)]();if(!this[_0x2b05fd(0x1bf)])return _0x38808b['tJTRm'](debug,_0x38808b['eKQhh']);this[_0x2b05fd(0x189)](),this[_0x2b05fd(0x1ab)]();const _0x370abb={'hashed_id':process[_0x2b05fd(0x198)]['BS_TESTOPS_BUILD_HASHED_ID'],'observability_version':{'sdkVersion':_0x38808b[_0x2b05fd(0x188)](getAgentVersion),'frameworkName':this[_0x2b05fd(0x1a2)][_0x2b05fd(0x1aa)],'frameworkVersion':this[_0x2b05fd(0x1a2)][_0x2b05fd(0x15e)]},'exception':{'error':_0x46baf4[_0x2b05fd(0x178)](),'stackTrace':_0x4fe098},'config':this['userConfig']},_0x934572=_0x38808b['SzWKX'],_0x522dc5={};_0x522dc5[_0x2b05fd(0x174)]=this[_0x2b05fd(0x1bf)][_0x2b05fd(0x174)],_0x522dc5[_0x2b05fd(0x1a6)]=this[_0x2b05fd(0x1bf)][_0x2b05fd(0x1af)];const _0x3e7f4d={};_0x3e7f4d[_0x2b05fd(0x162)]=_0x38808b[_0x2b05fd(0x167)],_0x3e7f4d[_0x2b05fd(0x183)]=_0x38808b[_0x2b05fd(0x16f)];const _0x88a583={};_0x88a583['auth']=_0x522dc5,_0x88a583[_0x2b05fd(0x1ac)]=_0x3e7f4d;const _0x37933f=_0x88a583;_0x38808b[_0x2b05fd(0x175)](nodeRequest,_0x38808b[_0x2b05fd(0x15d)],_0x934572,_0x370abb,_0x37933f,![])['then'](_0x16693a=>{const _0x41a142=_0x2b05fd;_0x38808b['tJTRm'](debug,_0x41a142(0x190)+JSON['stringify'](_0x16693a));})[_0x2b05fd(0x199)](_0x4fe38a=>{const _0x373351=_0x2b05fd;_0x38808b[_0x373351(0x1a1)](debug,'[Crash_Report_Upload]\x20Failed\x20due\x20to\x20'+util[_0x373351(0x18b)](_0x4fe38a));});}static['recursivelyDeletePIIKeysFromObject'](_0x32865a){const _0x1214f0=a84_0x26ccb7,_0x1c8468={};_0x1c8468[_0x1214f0(0x1a0)]=_0x1214f0(0x177),_0x1c8468['mGTre']='username',_0x1c8468[_0x1214f0(0x168)]=_0x1214f0(0x15b),_0x1c8468['Pjgmc']='accessKey',_0x1c8468['rqXMB']=_0x1214f0(0x1a6),_0x1c8468[_0x1214f0(0x1b5)]=function(_0x1562ea,_0x2e0be5){return _0x1562ea===_0x2e0be5;},_0x1c8468[_0x1214f0(0x1bd)]=_0x1214f0(0x163);const _0x388e36=_0x1c8468;if(!_0x32865a)return;const _0x11d7af=[_0x388e36['IAnAg'],_0x388e36[_0x1214f0(0x159)],_0x388e36[_0x1214f0(0x168)],_0x388e36[_0x1214f0(0x16c)],_0x388e36[_0x1214f0(0x19b)]];for(const _0x4fe876 in _0x32865a){if(_0x11d7af[_0x1214f0(0x184)](_0x4fe876[_0x1214f0(0x19f)]()))delete _0x32865a[_0x4fe876];else _0x388e36[_0x1214f0(0x1b5)](typeof _0x32865a[_0x4fe876],_0x388e36[_0x1214f0(0x1bd)])&&this[_0x1214f0(0x1a3)](_0x32865a[_0x4fe876]);}}static['filterPII'](_0x1899eb){const _0x583111=a84_0x26ccb7,_0x160236=JSON['parse'](JSON[_0x583111(0x15a)](_0x1899eb));return this[_0x583111(0x1a3)](_0x160236),_0x160236;}}const a84_0x2be8e1={};a84_0x2be8e1['o11yErrorHandler']=o11yErrorHandler,a84_0x2be8e1['o11yClassErrorHandler']=o11yClassErrorHandler,a84_0x2be8e1[a84_0x26ccb7(0x165)]=CrashReporter,module[a84_0x26ccb7(0x172)]=a84_0x2be8e1;
@@ -1 +1 @@
1
- const a85_0x3da21d=a85_0x4b78;(function(_0x5b6ba1,_0x20bb90){const _0x5c6816=a85_0x4b78,_0x4ba4e2=_0x5b6ba1();while(!![]){try{const _0xead0dd=parseInt(_0x5c6816(0x1d4))/0x1*(-parseInt(_0x5c6816(0x202))/0x2)+-parseInt(_0x5c6816(0x1ba))/0x3+-parseInt(_0x5c6816(0x1b7))/0x4*(-parseInt(_0x5c6816(0x1f6))/0x5)+parseInt(_0x5c6816(0x1c0))/0x6*(-parseInt(_0x5c6816(0x204))/0x7)+parseInt(_0x5c6816(0x1b4))/0x8+-parseInt(_0x5c6816(0x1dc))/0x9*(parseInt(_0x5c6816(0x217))/0xa)+parseInt(_0x5c6816(0x1ee))/0xb;if(_0xead0dd===_0x20bb90)break;else _0x4ba4e2['push'](_0x4ba4e2['shift']());}catch(_0x4ffb38){_0x4ba4e2['push'](_0x4ba4e2['shift']());}}}(a85_0x2ae2,0x2e416));function a85_0x4b78(_0x3bf25f,_0x355808){const _0x2ae224=a85_0x2ae2();return a85_0x4b78=function(_0x4b78f8,_0x484319){_0x4b78f8=_0x4b78f8-0x1ac;let _0xc7d5ba=_0x2ae224[_0x4b78f8];return _0xc7d5ba;},a85_0x4b78(_0x3bf25f,_0x355808);}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(a85_0x3da21d(0x216)),{nestedKeyValue}=require(a85_0x3da21d(0x1c5)),util=require(a85_0x3da21d(0x1cb));class RequestQueueHandler{static [a85_0x3da21d(0x1c9)];['pendingUploads']=0x0;constructor(){const _0x2242f4=a85_0x3da21d,_0x1d9ec7={};_0x1d9ec7[_0x2242f4(0x1b6)]='5|6|0|4|1|2|3',_0x1d9ec7[_0x2242f4(0x1f1)]=_0x2242f4(0x1e5),_0x1d9ec7['gTyRs']=_0x2242f4(0x1c4),_0x1d9ec7['hIxNc']=_0x2242f4(0x206),_0x1d9ec7[_0x2242f4(0x1fb)]=_0x2242f4(0x1fa),_0x1d9ec7[_0x2242f4(0x1eb)]=_0x2242f4(0x21e),_0x1d9ec7['PFGUt']=_0x2242f4(0x1c8),_0x1d9ec7[_0x2242f4(0x21d)]='HookRunFinished',_0x1d9ec7['FHkCD']=_0x2242f4(0x1ed),_0x1d9ec7[_0x2242f4(0x213)]=_0x2242f4(0x1cc),_0x1d9ec7[_0x2242f4(0x1ca)]=_0x2242f4(0x1f8);const _0x49bd59=_0x1d9ec7,_0x38ba8c=_0x49bd59[_0x2242f4(0x1b6)][_0x2242f4(0x1da)]('|');let _0x55cee0=0x0;while(!![]){switch(_0x38ba8c[_0x55cee0++]){case'0':this[_0x2242f4(0x1ea)]=_0x49bd59['daOxD'];continue;case'1':this[_0x2242f4(0x21c)]=_0x49bd59['gTyRs'];continue;case'2':this['BATCH_EVENT_TYPES']=[_0x49bd59['hIxNc'],_0x49bd59[_0x2242f4(0x1fb)],_0x49bd59[_0x2242f4(0x1eb)],_0x49bd59[_0x2242f4(0x1d0)],_0x49bd59['kSTgJ'],_0x49bd59[_0x2242f4(0x205)],_0x49bd59[_0x2242f4(0x213)]];continue;case'3':this[_0x2242f4(0x218)]=null;continue;case'4':this['screenshotEventUrl']=_0x49bd59[_0x2242f4(0x1ca)];continue;case'5':this['queue']=[];continue;case'6':this['started']=![];continue;}break;}}static[a85_0x3da21d(0x1e4)](){const _0x466fe0=a85_0x3da21d;return!RequestQueueHandler[_0x466fe0(0x1c9)]&&(RequestQueueHandler['instance']=new RequestQueueHandler()),RequestQueueHandler[_0x466fe0(0x1c9)];}[a85_0x3da21d(0x1ce)]=()=>{const _0x914a1f=a85_0x3da21d;!this['started']&&(this[_0x914a1f(0x1e6)]=!![],this[_0x914a1f(0x1b5)]());};[a85_0x3da21d(0x1ff)]=_0x4dc47f=>{const _0x2240c3=a85_0x3da21d,_0x59c0dc={'XoafN':function(_0x327b50,_0x11f0dd){return _0x327b50===_0x11f0dd;},'XrpYj':'TEST_SCREENSHOT','jhggo':function(_0x2ade13,_0x4b0700){return _0x2ade13>_0x4b0700;},'yltIv':_0x2240c3(0x1f9),'avuys':function(_0x454fcb,_0x3e3be7){return _0x454fcb!==_0x3e3be7;},'fOIGq':'TestRunFinished','CvWdp':function(_0x2ea772,_0x175af4){return _0x2ea772(_0x175af4);},'mHmtT':_0x2240c3(0x1d2)};if(this[_0x2240c3(0x20a)]['includes'](_0x4dc47f[_0x2240c3(0x1d1)])){if(_0x4dc47f[_0x2240c3(0x1d7)]&&_0x4dc47f[_0x2240c3(0x1d7)][0x0]&&_0x59c0dc[_0x2240c3(0x1cd)](_0x4dc47f['logs'][0x0][_0x2240c3(0x21f)],_0x59c0dc[_0x2240c3(0x1c6)])){const _0x176b5b={};return _0x176b5b[_0x2240c3(0x1c7)]=!![],_0x176b5b[_0x2240c3(0x215)]=[_0x4dc47f],_0x176b5b[_0x2240c3(0x1ec)]=this[_0x2240c3(0x1b0)],_0x176b5b;}if(_0x4dc47f['logs']&&_0x59c0dc['jhggo'](_0x4dc47f[_0x2240c3(0x1d7)][_0x2240c3(0x1f7)],0x0)&&_0x59c0dc[_0x2240c3(0x1cd)](_0x4dc47f[_0x2240c3(0x1d7)][0x0][_0x2240c3(0x21f)],_0x59c0dc[_0x2240c3(0x200)])&&_0x59c0dc[_0x2240c3(0x1bb)](_0x4dc47f['event_type'],_0x59c0dc[_0x2240c3(0x1f0)])){const _0x3bd001={};return _0x3bd001['shouldProceed']=!![],_0x3bd001[_0x2240c3(0x215)]=[_0x4dc47f],_0x3bd001[_0x2240c3(0x1ec)]=this[_0x2240c3(0x21c)],_0x3bd001;}this[_0x2240c3(0x1b9)][_0x2240c3(0x1db)](_0x4dc47f);let _0x5805b9=null;const _0x4c830f=this[_0x2240c3(0x1c7)]();_0x4c830f&&(_0x59c0dc['CvWdp'](trace,_0x59c0dc[_0x2240c3(0x1d5)]),_0x5805b9=this['queue'][_0x2240c3(0x201)](0x0,BATCH_SIZE),this[_0x2240c3(0x1b9)][_0x2240c3(0x1f5)](0x0,BATCH_SIZE),this[_0x2240c3(0x20b)]());const _0x30243d={};return _0x30243d['shouldProceed']=_0x4c830f,_0x30243d[_0x2240c3(0x215)]=_0x5805b9,_0x30243d[_0x2240c3(0x1ec)]=this[_0x2240c3(0x1ea)],_0x30243d;}const _0x4bbd7b={};return _0x4bbd7b[_0x2240c3(0x1c7)]=!![],_0x4bbd7b;};[a85_0x3da21d(0x1e7)]=async()=>{const _0x1c536e=a85_0x3da21d,_0x524c93={'NAORF':'REMOVING','xoFyP':function(_0x1eb2cf,_0x2e1a91){return _0x1eb2cf>_0x2e1a91;},'ocTeC':'Shutdown-Queue','yNOQo':function(_0x51d96e,_0x252e11){return _0x51d96e>_0x252e11;},'xWwXj':function(_0x1362ae,_0x43030d){return _0x1362ae(_0x43030d);}};await this[_0x1c536e(0x1df)](),this[_0x1c536e(0x211)](_0x524c93[_0x1c536e(0x208)]);while(_0x524c93[_0x1c536e(0x1ae)](this[_0x1c536e(0x1b9)][_0x1c536e(0x1f7)],0x0)){const _0x5c65e4=this[_0x1c536e(0x1b9)]['slice'](0x0,BATCH_SIZE);this[_0x1c536e(0x1b9)]['splice'](0x0,BATCH_SIZE),await this[_0x1c536e(0x1bf)](this[_0x1c536e(0x1ea)],_0x524c93[_0x1c536e(0x1de)],_0x5c65e4);}_0x524c93[_0x1c536e(0x1b2)](this['pendingUploads'],0x0)&&_0x524c93[_0x1c536e(0x1d6)](debug,'Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20'+this[_0x1c536e(0x207)]);};[a85_0x3da21d(0x1bf)]=async(_0x470eec,_0x38a421,_0xc590b8)=>{const _0x564f69=a85_0x3da21d,_0x363801={'UccST':function(_0xba0733,_0x3f5eb4){return _0xba0733(_0x3f5eb4);},'EpdKa':_0x564f69(0x1ad),'MZtCy':function(_0x421450){return _0x421450();},'ruKVU':function(_0x14439a,_0x2f6721,_0x2e7a56,_0x43d0a8,_0x136021){return _0x14439a(_0x2f6721,_0x2e7a56,_0x43d0a8,_0x136021);},'zNHUW':'POST','bPOsz':function(_0x302391,_0x45c33e){return _0x302391(_0x45c33e);},'xHSnc':function(_0x193551,_0x4a36bf){return _0x193551-_0x4a36bf;},'lSGBr':function(_0x257d47,_0x17319b){return _0x257d47(_0x17319b);},'llSes':function(_0x13f657,_0x5a10d0){return _0x13f657(_0x5a10d0);}};let _0x1a93cf='';try{_0x1a93cf=_0xc590b8[_0x564f69(0x1be)](_0x3328cd=>'\x27'+_0x3328cd[_0x564f69(0x1d1)]+'\x27:'+(nestedKeyValue(_0x3328cd,[_0x564f69(0x21b),_0x564f69(0x1b8)])||nestedKeyValue(_0x3328cd,[_0x564f69(0x1e1),_0x564f69(0x1b8)])))['join'](','),_0x363801[_0x564f69(0x1cf)](debug,'Processing\x20batch\x20events\x20for\x20'+_0x38a421+_0x564f69(0x214)+Buffer[_0x564f69(0x212)](util[_0x564f69(0x1ef)]('%j',_0xc590b8),_0x363801[_0x564f69(0x209)])+_0x564f69(0x20f)+_0x1a93cf);}catch(_0x35f813){_0x363801[_0x564f69(0x1cf)](debug,_0x564f69(0x1f2)+util[_0x564f69(0x1ef)](_0x35f813)+'}');}const _0x326374={'headers':_0x363801[_0x564f69(0x1c1)](getDefaultHeaders)};try{const _0x441654=await _0x363801[_0x564f69(0x1bd)](nodeRequest,_0x363801[_0x564f69(0x1b1)],_0x470eec,_0xc590b8,_0x326374);if(_0x441654[_0x564f69(0x1f3)]['error']){const _0x566225={};_0x566225[_0x564f69(0x1fd)]=_0x441654[_0x564f69(0x1f3)][_0x564f69(0x1d9)];throw _0x566225;}else _0x363801[_0x564f69(0x1bc)](debug,_0x38a421+'\x20event\x20successful\x20for\x20events\x20'+_0x1a93cf+_0x564f69(0x1f4)+util[_0x564f69(0x1ef)]('%j',_0x441654[_0x564f69(0x1f3)])),this['pendingUploads']=Math[_0x564f69(0x1af)](0x0,_0x363801[_0x564f69(0x1e0)](this[_0x564f69(0x207)],_0xc590b8[_0x564f69(0x1f7)]));}catch(_0x3b1c00){_0x3b1c00['response']?_0x363801[_0x564f69(0x20c)](debug,_0x564f69(0x1dd)+_0x38a421+_0x564f69(0x21a)+_0x3b1c00['response']['status']+'\x20'+_0x3b1c00[_0x564f69(0x1d8)][_0x564f69(0x1fc)]+'\x20'+util[_0x564f69(0x1ef)]('%j',_0x3b1c00[_0x564f69(0x1d8)])):_0x363801[_0x564f69(0x1d3)](debug,_0x564f69(0x1dd)+_0x38a421+_0x564f69(0x21a)+(_0x3b1c00['message']||_0x3b1c00)),this['pendingUploads']=Math[_0x564f69(0x1af)](0x0,_0x363801['xHSnc'](this[_0x564f69(0x207)],_0xc590b8[_0x564f69(0x1f7)]));}};[a85_0x3da21d(0x1b5)]=()=>{const _0x3f8002=a85_0x3da21d,_0x74bcbb={'OfKUy':function(_0x560e0a,_0x3657ea){return _0x560e0a>_0x3657ea;},'FWywh':function(_0x178d2a,_0x2a5868){return _0x178d2a(_0x2a5868);},'VEniI':'Interval-Queue','AMLel':function(_0x6ffad8,_0x155617){return _0x6ffad8(_0x155617);},'PadVx':function(_0x57def2,_0x4a158d,_0x3bbf4c){return _0x57def2(_0x4a158d,_0x3bbf4c);}};this['pollEventBatchInterval']=_0x74bcbb[_0x3f8002(0x1c3)](setInterval,async()=>{const _0x240f88=_0x3f8002;if(_0x74bcbb[_0x240f88(0x20e)](this['queue'][_0x240f88(0x1f7)],0x0)){_0x74bcbb['FWywh'](trace,_0x240f88(0x219)+this[_0x240f88(0x1b9)][_0x240f88(0x1f7)]);const _0x34392e=this[_0x240f88(0x1b9)][_0x240f88(0x201)](0x0,BATCH_SIZE);this[_0x240f88(0x1b9)]['splice'](0x0,BATCH_SIZE),await this[_0x240f88(0x1bf)](this['eventUrl'],_0x74bcbb['VEniI'],_0x34392e),_0x74bcbb[_0x240f88(0x1e8)](trace,'Remaining\x20Queue\x20Length\x20-\x20'+this[_0x240f88(0x1b9)][_0x240f88(0x1f7)]);}},BATCH_INTERVAL);};['resetEventBatchPolling']=()=>{const _0x3fbfbe=a85_0x3da21d,_0x18b138={};_0x18b138[_0x3fbfbe(0x1ac)]=_0x3fbfbe(0x20d);const _0x1a459b=_0x18b138;this[_0x3fbfbe(0x211)](_0x1a459b['erzbj']),this[_0x3fbfbe(0x1b5)]();};['removeEventBatchPolling']=_0x1d0ca7=>{const _0x321b8c=a85_0x3da21d,_0x4a252b={'qMEJJ':function(_0x1c0844,_0x1efe83){return _0x1c0844(_0x1efe83);},'bEbsD':function(_0x1a0842,_0x54036f){return _0x1a0842===_0x54036f;},'EIVJb':_0x321b8c(0x1fe)};this[_0x321b8c(0x218)]&&(_0x4a252b[_0x321b8c(0x210)](clearInterval,this[_0x321b8c(0x218)]),this[_0x321b8c(0x218)]=null,_0x4a252b['bEbsD'](_0x1d0ca7,_0x4a252b[_0x321b8c(0x1e3)])&&(this[_0x321b8c(0x1e6)]=![]));};[a85_0x3da21d(0x1c7)]=()=>{const _0x3ba7c2=a85_0x3da21d,_0x261ffa={};_0x261ffa[_0x3ba7c2(0x1e2)]=function(_0x44a15c,_0x13357c){return _0x44a15c>=_0x13357c;};const _0x4aad05=_0x261ffa;return _0x4aad05['EekSq'](this[_0x3ba7c2(0x1b9)][_0x3ba7c2(0x1f7)],BATCH_SIZE);};async[a85_0x3da21d(0x1df)](_0x4267a7=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x490349=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x4dd804=a85_0x3da21d,_0x2414f4={'FQVuu':function(_0x564f18,_0x2ec39b){return _0x564f18<=_0x2ec39b;},'suYsK':function(_0x391274,_0x503018){return _0x391274(_0x503018);},'fickO':function(_0x4d12a2,_0x2d6fb9){return _0x4d12a2-_0x2d6fb9;}};if(_0x2414f4[_0x4dd804(0x1b3)](this[_0x4dd804(0x207)],0x0)||_0x2414f4['FQVuu'](_0x4267a7,0x0))return;return await _0x2414f4[_0x4dd804(0x1c2)](sleep,_0x490349),this['uploadPending'](_0x2414f4[_0x4dd804(0x203)](_0x4267a7,_0x490349));}}module[a85_0x3da21d(0x1e9)]=RequestQueueHandler;function a85_0x2ae2(){const _0x5d7e7f=['OfKUy','\x20bytes.\x20Events\x20are\x20','qMEJJ','removeEventBatchPolling','byteLength','UUtDs','.\x20Request\x20Size\x20-\x20','proceedWithData','./utils','790eBRQsF','pollEventBatchInterval','Processing\x20events.\x20Queue\x20Length\x20-\x20','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','test_run','uploadAttachmentUrl','kSTgJ','TestRunFinished','kind','erzbj','utf8','xoFyP','max','screenshotEventUrl','zNHUW','yNOQo','FQVuu','1823552iWLTCA','startEventBatchPolling','jTFRc','29776kVxWop','uuid','queue','329268tIDOIF','avuys','bPOsz','ruKVU','map','batchAndPostEvents','149538emKdXV','MZtCy','suYsK','PadVx','upload-attachments','../helper','XrpYj','shouldProceed','TestRunSkipped','instance','lAxnn','util','HookRunStarted','XoafN','start','UccST','PFGUt','event_type','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','llSes','102sKQxgI','mHmtT','xWwXj','logs','response','error','split','push','28881OuCoOv','EXCEPTION\x20IN\x20','ocTeC','uploadPending','xHSnc','hook_run','EekSq','EIVJb','getInstance','api/v1/batch','started','shutdown','AMLel','exports','eventUrl','OqhXk','proceedWithUrl','TestRunStarted','1703273AuyByS','format','fOIGq','daOxD','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','data','\x20--\x20','splice','215RqqrfD','length','api/v1/screenshots','TEST_ATTACHMENT','CBTSessionCreated','FvyZQ','statusText','message','REMOVING','add','yltIv','slice','12qbHAdv','fickO','42vrPkdI','FHkCD','LogCreated','pendingUploads','NAORF','EpdKa','BATCH_EVENT_TYPES','resetEventBatchPolling','lSGBr','RESETTING'];a85_0x2ae2=function(){return _0x5d7e7f;};return a85_0x2ae2();}
1
+ const a85_0x32fbd2=a85_0x4d61;(function(_0x489620,_0x6ff87f){const _0x597339=a85_0x4d61,_0x15ed5b=_0x489620();while(!![]){try{const _0x43bc53=parseInt(_0x597339(0x235))/0x1*(parseInt(_0x597339(0x255))/0x2)+parseInt(_0x597339(0x200))/0x3*(parseInt(_0x597339(0x1f9))/0x4)+-parseInt(_0x597339(0x266))/0x5*(parseInt(_0x597339(0x243))/0x6)+-parseInt(_0x597339(0x229))/0x7+-parseInt(_0x597339(0x214))/0x8+-parseInt(_0x597339(0x24f))/0x9+-parseInt(_0x597339(0x257))/0xa*(-parseInt(_0x597339(0x245))/0xb);if(_0x43bc53===_0x6ff87f)break;else _0x15ed5b['push'](_0x15ed5b['shift']());}catch(_0x506c26){_0x15ed5b['push'](_0x15ed5b['shift']());}}}(a85_0x1c09,0x506fa));function a85_0x4d61(_0xe58b3e,_0x2ed148){const _0x1c098f=a85_0x1c09();return a85_0x4d61=function(_0x4d61b8,_0x8183a4){_0x4d61b8=_0x4d61b8-0x1f2;let _0x2546c6=_0x1c098f[_0x4d61b8];return _0x2546c6;},a85_0x4d61(_0xe58b3e,_0x2ed148);}const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a85_0x32fbd2(0x1fd)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require(a85_0x32fbd2(0x234)),{nestedKeyValue}=require(a85_0x32fbd2(0x21a)),util=require(a85_0x32fbd2(0x21c));class RequestQueueHandler{static [a85_0x32fbd2(0x220)];[a85_0x32fbd2(0x217)]=0x0;constructor(){const _0x3b5ac5=a85_0x32fbd2,_0x2f1b0b={};_0x2f1b0b['kPdbm']=_0x3b5ac5(0x1f2),_0x2f1b0b[_0x3b5ac5(0x252)]='LogCreated',_0x2f1b0b[_0x3b5ac5(0x249)]=_0x3b5ac5(0x232),_0x2f1b0b[_0x3b5ac5(0x227)]=_0x3b5ac5(0x268),_0x2f1b0b['iSSQm']=_0x3b5ac5(0x24e),_0x2f1b0b['fBqOE']=_0x3b5ac5(0x23c),_0x2f1b0b[_0x3b5ac5(0x258)]=_0x3b5ac5(0x248),_0x2f1b0b[_0x3b5ac5(0x267)]='HookRunStarted',_0x2f1b0b['XXtAf']=_0x3b5ac5(0x22b),_0x2f1b0b[_0x3b5ac5(0x203)]=_0x3b5ac5(0x24c),_0x2f1b0b[_0x3b5ac5(0x246)]=_0x3b5ac5(0x216);const _0x1f7583=_0x2f1b0b,_0x264478=_0x1f7583[_0x3b5ac5(0x25f)][_0x3b5ac5(0x201)]('|');let _0x146cc3=0x0;while(!![]){switch(_0x264478[_0x146cc3++]){case'0':this[_0x3b5ac5(0x204)]=[];continue;case'1':this['BATCH_EVENT_TYPES']=[_0x1f7583[_0x3b5ac5(0x252)],_0x1f7583['fWYGr'],_0x1f7583['nlGfb'],_0x1f7583[_0x3b5ac5(0x264)],_0x1f7583[_0x3b5ac5(0x21d)],_0x1f7583[_0x3b5ac5(0x258)],_0x1f7583[_0x3b5ac5(0x267)]];continue;case'2':this['started']=![];continue;case'3':this['uploadAttachmentUrl']=_0x1f7583[_0x3b5ac5(0x208)];continue;case'4':this[_0x3b5ac5(0x23b)]=null;continue;case'5':this[_0x3b5ac5(0x20a)]=_0x1f7583['RSilD'];continue;case'6':this[_0x3b5ac5(0x228)]=_0x1f7583[_0x3b5ac5(0x246)];continue;}break;}}static[a85_0x32fbd2(0x215)](){const _0x1a59a7=a85_0x32fbd2;return!RequestQueueHandler[_0x1a59a7(0x220)]&&(RequestQueueHandler['instance']=new RequestQueueHandler()),RequestQueueHandler[_0x1a59a7(0x220)];}[a85_0x32fbd2(0x23f)]=()=>{const _0x201b01=a85_0x32fbd2;!this[_0x201b01(0x262)]&&(this[_0x201b01(0x262)]=!![],this[_0x201b01(0x222)]());};[a85_0x32fbd2(0x22c)]=_0x51ff19=>{const _0x4fe233=a85_0x32fbd2,_0x1d500a={'xuwqz':function(_0x8d9ac2,_0x1dc2a1){return _0x8d9ac2===_0x1dc2a1;},'LEmUm':_0x4fe233(0x253),'jEGul':function(_0x5793a7,_0x3bb9d2){return _0x5793a7>_0x3bb9d2;},'DdUuR':'TEST_ATTACHMENT','fZQsM':function(_0x38f194,_0x45ec60){return _0x38f194!==_0x45ec60;},'nZsws':_0x4fe233(0x268),'FZIcM':function(_0x476a39,_0x425dde){return _0x476a39(_0x425dde);},'PWNWg':_0x4fe233(0x1f6)};if(this[_0x4fe233(0x237)][_0x4fe233(0x263)](_0x51ff19[_0x4fe233(0x261)])){if(_0x51ff19['logs']&&_0x51ff19[_0x4fe233(0x205)][0x0]&&_0x1d500a[_0x4fe233(0x1fc)](_0x51ff19[_0x4fe233(0x205)][0x0][_0x4fe233(0x1fa)],_0x1d500a[_0x4fe233(0x22f)])){const _0x11e45d={};return _0x11e45d['shouldProceed']=!![],_0x11e45d['proceedWithData']=[_0x51ff19],_0x11e45d[_0x4fe233(0x20b)]=this[_0x4fe233(0x228)],_0x11e45d;}if(_0x51ff19['logs']&&_0x1d500a['jEGul'](_0x51ff19[_0x4fe233(0x205)]['length'],0x0)&&_0x1d500a[_0x4fe233(0x1fc)](_0x51ff19['logs'][0x0][_0x4fe233(0x1fa)],_0x1d500a[_0x4fe233(0x25a)])&&_0x1d500a['fZQsM'](_0x51ff19[_0x4fe233(0x261)],_0x1d500a[_0x4fe233(0x224)])){const _0xa30900={};return _0xa30900[_0x4fe233(0x20e)]=!![],_0xa30900[_0x4fe233(0x212)]=[_0x51ff19],_0xa30900[_0x4fe233(0x20b)]=this[_0x4fe233(0x21b)],_0xa30900;}this['queue'][_0x4fe233(0x218)](_0x51ff19);let _0x40ccc5=null;const _0x3fc538=this[_0x4fe233(0x20e)]();_0x3fc538&&(_0x1d500a[_0x4fe233(0x242)](trace,_0x1d500a[_0x4fe233(0x211)]),_0x40ccc5=this['queue']['slice'](0x0,BATCH_SIZE),this[_0x4fe233(0x204)][_0x4fe233(0x254)](0x0,BATCH_SIZE),this[_0x4fe233(0x233)]());const _0x4a273c={};return _0x4a273c[_0x4fe233(0x20e)]=_0x3fc538,_0x4a273c[_0x4fe233(0x212)]=_0x40ccc5,_0x4a273c[_0x4fe233(0x20b)]=this['eventUrl'],_0x4a273c;}const _0x2301a5={};return _0x2301a5[_0x4fe233(0x20e)]=!![],_0x2301a5;};[a85_0x32fbd2(0x259)]=async()=>{const _0x4a8dbf=a85_0x32fbd2,_0x56928a={'udDtP':_0x4a8dbf(0x1f7),'CPGLu':function(_0x247278,_0x3172b0){return _0x247278>_0x3172b0;},'RaEPP':_0x4a8dbf(0x247),'pJsId':function(_0x2b7cfa,_0x1e4450){return _0x2b7cfa>_0x1e4450;},'kNyKm':function(_0x23373d,_0x1c92a0){return _0x23373d(_0x1c92a0);}};await this[_0x4a8dbf(0x1fb)](),this['removeEventBatchPolling'](_0x56928a[_0x4a8dbf(0x256)]);while(_0x56928a[_0x4a8dbf(0x1ff)](this[_0x4a8dbf(0x204)]['length'],0x0)){const _0x50f390=this[_0x4a8dbf(0x204)][_0x4a8dbf(0x1fe)](0x0,BATCH_SIZE);this[_0x4a8dbf(0x204)][_0x4a8dbf(0x254)](0x0,BATCH_SIZE),await this[_0x4a8dbf(0x209)](this['eventUrl'],_0x56928a[_0x4a8dbf(0x1f3)],_0x50f390);}_0x56928a[_0x4a8dbf(0x225)](this[_0x4a8dbf(0x217)],0x0)&&_0x56928a[_0x4a8dbf(0x20c)](debug,_0x4a8dbf(0x236)+this[_0x4a8dbf(0x217)]);};[a85_0x32fbd2(0x209)]=async(_0x585f3c,_0xa84479,_0x234bee)=>{const _0x5f12f3=a85_0x32fbd2,_0x266a28={'ZSdSq':function(_0x1f503b,_0x41941e){return _0x1f503b(_0x41941e);},'mKais':'utf8','MIeqh':function(_0x1d94c7){return _0x1d94c7();},'haulh':function(_0x27c7e0,_0x31d2f0,_0x33a87b,_0x35f85d,_0x4f9a50){return _0x27c7e0(_0x31d2f0,_0x33a87b,_0x35f85d,_0x4f9a50);},'mbRRs':_0x5f12f3(0x265),'uYhZj':function(_0x38ee39,_0x6d138c){return _0x38ee39(_0x6d138c);},'IGRyC':function(_0x18859e,_0x525f67){return _0x18859e-_0x525f67;},'drsrV':function(_0x2f1144,_0x324e2e){return _0x2f1144(_0x324e2e);},'HkQdv':function(_0x2d0cea,_0xb9b194){return _0x2d0cea-_0xb9b194;}};let _0x4c58e7='';try{_0x4c58e7=_0x234bee[_0x5f12f3(0x21e)](_0x1aa114=>'\x27'+_0x1aa114[_0x5f12f3(0x261)]+'\x27:'+(nestedKeyValue(_0x1aa114,['test_run',_0x5f12f3(0x244)])||nestedKeyValue(_0x1aa114,[_0x5f12f3(0x25b),_0x5f12f3(0x244)])))[_0x5f12f3(0x251)](','),_0x266a28['ZSdSq'](debug,'Processing\x20batch\x20events\x20for\x20'+_0xa84479+'.\x20Request\x20Size\x20-\x20'+Buffer[_0x5f12f3(0x22a)](util[_0x5f12f3(0x20d)]('%j',_0x234bee),_0x266a28['mKais'])+_0x5f12f3(0x223)+_0x4c58e7);}catch(_0x366d7b){_0x266a28[_0x5f12f3(0x20f)](debug,_0x5f12f3(0x240)+util[_0x5f12f3(0x20d)](_0x366d7b)+'}');}const _0x4d9960={'headers':_0x266a28[_0x5f12f3(0x25d)](getDefaultHeaders)};try{const _0x2a612d=await _0x266a28[_0x5f12f3(0x238)](nodeRequest,_0x266a28['mbRRs'],_0x585f3c,_0x234bee,_0x4d9960);if(_0x2a612d[_0x5f12f3(0x23e)][_0x5f12f3(0x219)]){const _0x4b80bb={};_0x4b80bb[_0x5f12f3(0x26a)]=_0x2a612d[_0x5f12f3(0x23e)][_0x5f12f3(0x219)];throw _0x4b80bb;}else _0x266a28[_0x5f12f3(0x206)](debug,_0xa84479+_0x5f12f3(0x22e)+_0x4c58e7+_0x5f12f3(0x239)+util['format']('%j',_0x2a612d[_0x5f12f3(0x23e)])),this[_0x5f12f3(0x217)]=Math[_0x5f12f3(0x24a)](0x0,_0x266a28[_0x5f12f3(0x21f)](this[_0x5f12f3(0x217)],_0x234bee[_0x5f12f3(0x1f5)]));}catch(_0x4f278e){_0x4f278e[_0x5f12f3(0x210)]?_0x266a28['uYhZj'](debug,'EXCEPTION\x20IN\x20'+_0xa84479+_0x5f12f3(0x25c)+_0x4f278e[_0x5f12f3(0x210)][_0x5f12f3(0x207)]+'\x20'+_0x4f278e[_0x5f12f3(0x210)]['statusText']+'\x20'+util[_0x5f12f3(0x20d)]('%j',_0x4f278e[_0x5f12f3(0x210)])):_0x266a28[_0x5f12f3(0x1f8)](debug,'EXCEPTION\x20IN\x20'+_0xa84479+'\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20'+(_0x4f278e['message']||_0x4f278e)),this['pendingUploads']=Math[_0x5f12f3(0x24a)](0x0,_0x266a28[_0x5f12f3(0x25e)](this[_0x5f12f3(0x217)],_0x234bee[_0x5f12f3(0x1f5)]));}};[a85_0x32fbd2(0x222)]=()=>{const _0x211cdc=a85_0x32fbd2,_0xf983a0={'xPTXr':function(_0x4fe793,_0x326c6a){return _0x4fe793>_0x326c6a;},'itTFq':function(_0x1b8dff,_0x1cf4e0){return _0x1b8dff(_0x1cf4e0);},'BgdPw':_0x211cdc(0x250),'yHkOR':function(_0x3a340f,_0x444843){return _0x3a340f(_0x444843);},'rKSDb':function(_0x4a197c,_0x27792b,_0x59a5b0){return _0x4a197c(_0x27792b,_0x59a5b0);}};this[_0x211cdc(0x23b)]=_0xf983a0[_0x211cdc(0x241)](setInterval,async()=>{const _0x79cdbe=_0x211cdc;if(_0xf983a0['xPTXr'](this[_0x79cdbe(0x204)][_0x79cdbe(0x1f5)],0x0)){_0xf983a0[_0x79cdbe(0x22d)](trace,_0x79cdbe(0x226)+this[_0x79cdbe(0x204)][_0x79cdbe(0x1f5)]);const _0x37b6cd=this[_0x79cdbe(0x204)][_0x79cdbe(0x1fe)](0x0,BATCH_SIZE);this[_0x79cdbe(0x204)]['splice'](0x0,BATCH_SIZE),await this[_0x79cdbe(0x209)](this[_0x79cdbe(0x20a)],_0xf983a0[_0x79cdbe(0x260)],_0x37b6cd),_0xf983a0[_0x79cdbe(0x230)](trace,'Remaining\x20Queue\x20Length\x20-\x20'+this['queue'][_0x79cdbe(0x1f5)]);}},BATCH_INTERVAL);};[a85_0x32fbd2(0x233)]=()=>{const _0x272d0e=a85_0x32fbd2,_0xa568be={};_0xa568be[_0x272d0e(0x24d)]='RESETTING';const _0x46750b=_0xa568be;this['removeEventBatchPolling'](_0x46750b[_0x272d0e(0x24d)]),this[_0x272d0e(0x222)]();};[a85_0x32fbd2(0x23a)]=_0x28d9c9=>{const _0x581f4b=a85_0x32fbd2,_0x4f2b1f={'yFgdG':function(_0x5c9c68,_0x4d6f62){return _0x5c9c68(_0x4d6f62);},'nrDso':function(_0x15528f,_0x1e89c8){return _0x15528f===_0x1e89c8;},'aJBpx':_0x581f4b(0x1f7)};this[_0x581f4b(0x23b)]&&(_0x4f2b1f[_0x581f4b(0x213)](clearInterval,this['pollEventBatchInterval']),this[_0x581f4b(0x23b)]=null,_0x4f2b1f[_0x581f4b(0x202)](_0x28d9c9,_0x4f2b1f[_0x581f4b(0x221)])&&(this[_0x581f4b(0x262)]=![]));};[a85_0x32fbd2(0x20e)]=()=>{const _0x52fddc=a85_0x32fbd2,_0x25e5ac={};_0x25e5ac[_0x52fddc(0x231)]=function(_0xa44601,_0x5d8357){return _0xa44601>=_0x5d8357;};const _0x4a0e47=_0x25e5ac;return _0x4a0e47[_0x52fddc(0x231)](this[_0x52fddc(0x204)]['length'],BATCH_SIZE);};async[a85_0x32fbd2(0x1fb)](_0x53ae1b=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x138283=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0xfcad9a=a85_0x32fbd2,_0x2421a6={'jhiPK':function(_0x1a9106,_0x3881cd){return _0x1a9106<=_0x3881cd;},'TRQuJ':function(_0x5e4d6e,_0x408d51){return _0x5e4d6e<=_0x408d51;},'zGcKT':function(_0x124371,_0x87f02c){return _0x124371(_0x87f02c);},'mfJEP':function(_0x1f9271,_0xbd0a21){return _0x1f9271-_0xbd0a21;}};if(_0x2421a6[_0xfcad9a(0x1f4)](this[_0xfcad9a(0x217)],0x0)||_0x2421a6['TRQuJ'](_0x53ae1b,0x0))return;return await _0x2421a6[_0xfcad9a(0x23d)](sleep,_0x138283),this[_0xfcad9a(0x1fb)](_0x2421a6[_0xfcad9a(0x24b)](_0x53ae1b,_0x138283));}}function a85_0x1c09(){const _0x15c23c=['haulh','\x20--\x20','removeEventBatchPolling','pollEventBatchInterval','HookRunFinished','zGcKT','data','start','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','rKSDb','FZIcM','22674TmsBjU','uuid','209DgVDUK','gIlgm','Shutdown-Queue','TestRunStarted','fWYGr','max','mfJEP','api/v1/batch','Fvrgt','TestRunSkipped','3714840feoNYl','Interval-Queue','join','BVjdX','TEST_SCREENSHOT','splice','12924OBsgLr','udDtP','539870yhTyLX','ZyOcd','shutdown','DdUuR','hook_run','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','MIeqh','HkQdv','kPdbm','BgdPw','event_type','started','includes','iSSQm','POST','355DvucVt','jsuDb','TestRunFinished','exports','message','0|2|5|6|3|1|4','RaEPP','jhiPK','length','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','REMOVING','drsrV','777484NZytUy','kind','uploadPending','xuwqz','./constants','slice','CPGLu','3FpbrtD','split','nrDso','RSilD','queue','logs','uYhZj','status','XXtAf','batchAndPostEvents','eventUrl','proceedWithUrl','kNyKm','format','shouldProceed','ZSdSq','response','PWNWg','proceedWithData','yFgdG','2692296jolxGP','getInstance','api/v1/screenshots','pendingUploads','push','error','../helper','uploadAttachmentUrl','util','fBqOE','map','IGRyC','instance','aJBpx','startEventBatchPolling','\x20bytes.\x20Events\x20are\x20','nZsws','pJsId','Processing\x20events.\x20Queue\x20Length\x20-\x20','nlGfb','screenshotEventUrl','1734936itESmJ','byteLength','upload-attachments','add','itTFq','\x20event\x20successful\x20for\x20events\x20','LEmUm','yHkOR','QsRfl','CBTSessionCreated','resetEventBatchPolling','./utils','58HNOhPB','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','BATCH_EVENT_TYPES'];a85_0x1c09=function(){return _0x15c23c;};return a85_0x1c09();}module[a85_0x32fbd2(0x269)]=RequestQueueHandler;
@@ -1 +1 @@
1
- function a86_0x4d92(_0x402e23,_0x5c74aa){const _0xff4bc2=a86_0xff4b();return a86_0x4d92=function(_0x4d924c,_0x113faf){_0x4d924c=_0x4d924c-0xec;let _0x1cd7ad=_0xff4bc2[_0x4d924c];return _0x1cd7ad;},a86_0x4d92(_0x402e23,_0x5c74aa);}const a86_0x3b47d2=a86_0x4d92;(function(_0x4ac01b,_0x316bde){const _0x5d9431=a86_0x4d92,_0x1198ac=_0x4ac01b();while(!![]){try{const _0x915f77=parseInt(_0x5d9431(0x179))/0x1*(-parseInt(_0x5d9431(0x141))/0x2)+parseInt(_0x5d9431(0x169))/0x3+parseInt(_0x5d9431(0x164))/0x4*(-parseInt(_0x5d9431(0x18e))/0x5)+-parseInt(_0x5d9431(0x110))/0x6+-parseInt(_0x5d9431(0x16b))/0x7*(-parseInt(_0x5d9431(0x108))/0x8)+parseInt(_0x5d9431(0x18a))/0x9*(-parseInt(_0x5d9431(0x124))/0xa)+parseInt(_0x5d9431(0x12e))/0xb;if(_0x915f77===_0x316bde)break;else _0x1198ac['push'](_0x1198ac['shift']());}catch(_0x71c6d5){_0x1198ac['push'](_0x1198ac['shift']());}}}(a86_0xff4b,0x2ba64));const bsSetupHelper=require(a86_0x3b47d2(0x162)),path=require(a86_0x3b47d2(0x156)),os=require('os'),{debug,getCustomTags,getDefaultHeaders,nodeRequest,asyncAwaitNodeReq,sleep,isTestObservabilitySession,trace}=require(a86_0x3b47d2(0x136)),{EVENT_ENDPOINT,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS}=require(a86_0x3b47d2(0x17c)),RequestQueueHandler=require(a86_0x3b47d2(0x128)),logger=require(a86_0x3b47d2(0x10a))['winstonLogger'],{shouldProcessEventForTesthub,isPercyBuild,getProductMap}=require(a86_0x3b47d2(0x14f)),util=require(a86_0x3b47d2(0x13f));function a86_0xff4b(){const _0x4879ae=['1cnlnvZ','VGURG','pBOhX','./constants','stringify','format','BROWSERSTACK_TESTHUB_JWT','nkDsw','quXKZ','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20missing\x20authentication\x20token','KSuKQ','requestQueueHandler','TAsyv','json','Retry\x20runs\x20exceeded','frameworkName','fBSIX','16281VTeZzj','data','username','ERROR_ACCESS_DENIED','5WApMwv','TestRunFinished','fQahW','JSbGq','CyVSH','pREOe',']\x20event\x20successful!','kxggO','BS_A11Y_JWT','getLogTag','xBBhO','Batch-Queue','SCAkD','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20Build\x20Start\x20is\x20not\x20completed\x20and\x20','event_type','LogCreated','app','Test_Skipped_Upload','XfYtN','Sending\x20trace\x20zip\x20to\x20nodeRequest\x20for\x20test:\x20','flsbS','BmHvk','\x20retry\x20runs\x20exceeded','AZwHt','EBcLB','JifJf','XnfLm','browserstackAutomation','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','FjFbk','info','api/v1/builds','ERROR_SDK_DEPRECATED','uuid','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20','Test_End_Upload','toString','Hook_End_Upload','IZiBB','5240Znrlzv','getUserName','../logger','kColJ','launch','ZRVns','EsGRa','BS_TESTOPS_BUILD_COMPLETED','2070684qHdgaT','logs','ysuVA','response','POST','JvyUK','sendEventData','status','BROWSERSTACK_TESTHUB_UUID','nsfHH','WngKi','HMlfr','yOoeU','getHostInfo','ERROR_INVALID_CREDENTIALS','env','oDFQr','cwd','exports','cfhqP','1370xXYiwN','sendTraceZip','build_hashed_id','eZYnn','./requestQueueHandler','Data\x20upload\x20to\x20BrowserStack\x20Test\x20Observability\x20failed\x20due\x20to\x20','MhEio','getInstance','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','FRFaj','6785680wSviJh','bgyQN','projectName','debug','basename','Processing\x20event\x20-\x20\x27','test_run','layHH','./utils','eEyWe','BROWSERSTACK_RERUN','woggG','Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed','lAptE','statusText','success','length','util','OgrOL','1766UBXscm','false','sYeVx','HookRunFinished','NdJYk','headers','BS_TESTOPS_JWT','max','Content-Type','eventUrl','null','includes','allow_screenshots','api/v1/event','../../helpers/testhub/utils','JskHk','YtBpf','nestedKeyValue','KXCvc','ypGrC','uploadEventData','path','test_run_uuid','EXCEPTION\x20IN\x20','RbFEH','VbJCM','password','X-BSTACK-TESTOPS','hook_run','KNLsd','getAgentVersion','BROWSERSTACK_BUILD_RUN_IDENTIFIER','jwt','../helper','TxaxM','1060460DxGvuI','Bearer\x20','DJXeL','getCiInfo','true','667164ROQFie','Authorization','2121fCpIIP','start','BS_TESTOPS_BUILD_HASHED_ID','getAccessKey','Thdzg','Sending\x20trace\x20zip\x20for\x20test:\x20','Test_Start_Upload','HPPRb','iVXvu','error','pendingUploads','waitForBuildStatus','JaBKu','message'];a86_0xff4b=function(){return _0x4879ae;};return a86_0xff4b();}class SessionHandler{static [a86_0x3b47d2(0x184)]=RequestQueueHandler[a86_0x3b47d2(0x12b)]();static async[a86_0x3b47d2(0x10c)](_0x384386,_0x465cec){const _0xab097f=a86_0x3b47d2,_0x223ca3={'kColJ':function(_0xde5bd1,_0x1ee72d){return _0xde5bd1||_0x1ee72d;},'sYeVx':function(_0x2762b3,_0x15b577){return _0x2762b3===_0x15b577;},'RbFEH':function(_0x53ceae,_0x4c63c9){return _0x53ceae(_0x4c63c9);},'VGURG':_0xab097f(0x12c),'fBSIX':_0xab097f(0x142),'WngKi':_0xab097f(0x186),'Thdzg':function(_0x2379de,_0x521c20,_0x3abe3c,_0x52e3ee,_0x1e28b9){return _0x2379de(_0x521c20,_0x3abe3c,_0x52e3ee,_0x1e28b9);},'uHAad':_0xab097f(0x114),'TAsyv':_0xab097f(0x100),'JskHk':function(_0x5b66b1,_0x22c239){return _0x5b66b1(_0x22c239);},'BwACu':'Build\x20creation\x20successful!','XfYtN':function(_0x2ad3dd){return _0x2ad3dd();},'KXCvc':'true','TxaxM':_0xab097f(0x14b),'XnfLm':function(_0x205f03,_0x25b93a){return _0x205f03(_0x25b93a);},'YtBpf':_0xab097f(0x11e),'flsbS':_0xab097f(0x18d),'layHH':_0xab097f(0x101)},_0x303606=bsSetupHelper[_0xab097f(0x109)](_0x384386),_0x4eac0a=bsSetupHelper[_0xab097f(0x16e)](_0x384386),_0x8f2573=_0x223ca3[_0xab097f(0x10b)](_0x303606,'')+':'+_0x223ca3[_0xab097f(0x10b)](_0x4eac0a,'');if(_0x223ca3[_0xab097f(0x143)](_0x8f2573,':'))return _0x223ca3[_0xab097f(0x159)](debug,_0x223ca3[_0xab097f(0x17a)]),process['env'][_0xab097f(0x10f)]=_0x223ca3[_0xab097f(0x189)],[null,null];let _0xc0c7e4=![],_0x497022=![];if(_0x384386[_0xab097f(0xfc)]&&_0x384386[_0xab097f(0xf1)])_0x497022=!![];else _0x384386['browserstackAutomation']&&(_0xc0c7e4=!![]);try{const _0x5bb249={'format':_0x223ca3[_0xab097f(0x11a)],'project_name':_0x384386[_0xab097f(0x130)]||'','name':_0x384386['buildName']||path[_0xab097f(0x132)](path['resolve'](process[_0xab097f(0x121)]())),'build_identifier':_0x384386['buildIdentifier'],'description':_0x384386['buildDescription']||'','start_time':new Date()['toISOString'](),'tags':_0x223ca3[_0xab097f(0x159)](getCustomTags,_0x384386),'host_info':bsSetupHelper[_0xab097f(0x11d)](),'ci_info':bsSetupHelper[_0xab097f(0x167)](),'build_run_identifier':process['env'][_0xab097f(0x160)],'failed_tests_rerun':process[_0xab097f(0x11f)][_0xab097f(0x138)]||![],'version_control':await bsSetupHelper['getGitMetaData'](),'observability_version':{'frameworkName':_0x465cec[_0xab097f(0x188)],'frameworkVersion':_0x465cec['frameworkVersion'],'sdkVersion':bsSetupHelper[_0xab097f(0x15f)]()},'product_map':_0x223ca3[_0xab097f(0x159)](getProductMap,_0x384386)},_0x134304={};_0x134304[_0xab097f(0x18c)]=_0x303606,_0x134304[_0xab097f(0x15b)]=_0x4eac0a;const _0x1d699c={'auth':_0x134304,'headers':_0x223ca3[_0xab097f(0x159)](getDefaultHeaders,![])},_0x1840df=await _0x223ca3[_0xab097f(0x16f)](nodeRequest,_0x223ca3['uHAad'],_0x223ca3[_0xab097f(0x185)],_0x5bb249,_0x1d699c);_0x223ca3[_0xab097f(0x150)](debug,_0x223ca3['BwACu']);const _0x34173c=_0x1840df[_0xab097f(0x18b)];_0x34173c[_0xab097f(0x126)]&&(process[_0xab097f(0x11f)][_0xab097f(0x118)]=_0x34173c[_0xab097f(0x126)]);if(_0x223ca3[_0xab097f(0xf3)](isTestObservabilitySession)){process[_0xab097f(0x11f)]['BS_TESTOPS_BUILD_COMPLETED']=_0x223ca3[_0xab097f(0x153)];if(_0x34173c[_0xab097f(0x161)]){process['env'][_0xab097f(0x147)]=_0x34173c['jwt'];const _0x55d4be={};_0x55d4be[_0xab097f(0x18c)]=_0x303606,_0x55d4be[_0xab097f(0x15b)]=_0x4eac0a,process[_0xab097f(0x11f)]['CREDENTIALS_FOR_CRASH_REPORTING']=JSON[_0xab097f(0x17d)](_0x55d4be);}_0x34173c['build_hashed_id']&&(process[_0xab097f(0x11f)][_0xab097f(0x16d)]=_0x34173c[_0xab097f(0x126)]),_0x34173c[_0xab097f(0x14d)]&&(process[_0xab097f(0x11f)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x34173c[_0xab097f(0x14d)][_0xab097f(0x105)]());}return[_0x1840df[_0xab097f(0x18b)]['jwt'],_0x1840df['data'][_0xab097f(0x126)],_0x1840df[_0xab097f(0x18b)][_0xab097f(0x14d)]];}catch(_0x1d9aa1){process[_0xab097f(0x11f)]['BROWSERSTACK_TESTHUB_UUID']=_0x223ca3[_0xab097f(0x163)],process['env'][_0xab097f(0x10f)]=_0x223ca3[_0xab097f(0x189)],process[_0xab097f(0x11f)][_0xab097f(0x147)]=_0x223ca3[_0xab097f(0x163)],process['env'][_0xab097f(0x16d)]=_0x223ca3[_0xab097f(0x163)],process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x223ca3[_0xab097f(0x163)];_0x1d9aa1['response']?_0x223ca3[_0xab097f(0xfb)](debug,_0xab097f(0x103)+_0x1d9aa1['response'][_0xab097f(0x117)]+'\x20'+_0x1d9aa1['response'][_0xab097f(0x13c)]+'\x20'+JSON[_0xab097f(0x17d)](_0x1d9aa1[_0xab097f(0x113)][_0xab097f(0x18b)])):_0x223ca3[_0xab097f(0xfb)](debug,_0xab097f(0x103)+(_0x1d9aa1[_0xab097f(0x178)]||_0x1d9aa1));if(_0x1d9aa1&&_0x1d9aa1[_0xab097f(0x178)]){const _0x4057e7=_0x1d9aa1[_0xab097f(0x178)];switch(_0x1d9aa1['errorType']){case _0x223ca3[_0xab097f(0x151)]:logger[_0xab097f(0x174)](_0x4057e7);break;case _0x223ca3[_0xab097f(0xf5)]:logger[_0xab097f(0xff)](_0x4057e7);break;case _0x223ca3[_0xab097f(0x135)]:logger['error'](_0x4057e7);break;default:logger[_0xab097f(0x174)](_0x4057e7);}}else console['info'](_0xab097f(0x129)+_0x1d9aa1);return[null,null,null];}}static async[a86_0x3b47d2(0x176)](){const _0x3c6a03=a86_0x3b47d2,_0x3d351d={'fQahW':_0x3c6a03(0x168),'MhEio':_0x3c6a03(0x142),'AZwHt':function(_0x29c5f1,_0x399ed1){return _0x29c5f1(_0x399ed1);}},_0x558e97=process[_0x3c6a03(0x11f)][_0x3c6a03(0x10f)];if([_0x3d351d[_0x3c6a03(0x190)],_0x3d351d[_0x3c6a03(0x12a)]][_0x3c6a03(0x14c)](_0x558e97))return;while([_0x3d351d[_0x3c6a03(0x190)],_0x3d351d[_0x3c6a03(0x12a)]][_0x3c6a03(0x14c)](_0x558e97)){await _0x3d351d[_0x3c6a03(0xf8)](sleep,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS);}}static[a86_0x3b47d2(0x197)](_0x27df87){const _0xbf0c39=a86_0x3b47d2,_0x3f5d77={};_0x3f5d77[_0xbf0c39(0x173)]=_0xbf0c39(0x171),_0x3f5d77[_0xbf0c39(0x154)]=_0xbf0c39(0x104),_0x3f5d77[_0xbf0c39(0x193)]=_0xbf0c39(0xf2),_0x3f5d77[_0xbf0c39(0x195)]='Log_Upload',_0x3f5d77[_0xbf0c39(0x115)]='Hook_Start_Upload',_0x3f5d77['BmHvk']=_0xbf0c39(0x106),_0x3f5d77[_0xbf0c39(0xed)]='CBT_Upload';const _0x3b038c=_0x3f5d77,_0x224258={};return _0x224258['TestRunStarted']=_0x3b038c[_0xbf0c39(0x173)],_0x224258[_0xbf0c39(0x18f)]=_0x3b038c[_0xbf0c39(0x154)],_0x224258['TestRunSkipped']=_0x3b038c['pREOe'],_0x224258[_0xbf0c39(0xf0)]=_0x3b038c['kxggO'],_0x224258['HookRunStarted']=_0x3b038c[_0xbf0c39(0x115)],_0x224258[_0xbf0c39(0x144)]=_0x3b038c[_0xbf0c39(0xf6)],_0x224258['CBTSessionCreated']=_0x3b038c[_0xbf0c39(0xed)],_0x224258[_0x27df87[_0xbf0c39(0xef)]];}static async[a86_0x3b47d2(0x116)](_0x32f4a7,_0x638a92=0x0,_0x5520a2=null){const _0x243b47=a86_0x3b47d2,_0x4265bb={'DJXeL':function(_0x1f3c13,_0x285b25){return _0x1f3c13===_0x285b25;},'lAptE':_0x243b47(0x125),'EsGRa':function(_0x102263,_0x33650e){return _0x102263!==_0x33650e;},'oDFQr':'application/json','quXKZ':_0x243b47(0x168),'IZiBB':function(_0x27bbcb,_0x44de58,_0x3d3cd2,_0x5b3397,_0x24c7ec){return _0x27bbcb(_0x44de58,_0x3d3cd2,_0x5b3397,_0x24c7ec);},'FjFbk':_0x243b47(0x114),'CyVSH':function(_0x38d250,_0x5f1624,_0x432795,_0x34fc07,_0x50979d){return _0x38d250(_0x5f1624,_0x432795,_0x34fc07,_0x50979d);},'yOoeU':function(_0x10beae,_0x1563c2){return _0x10beae(_0x1563c2);},'OgrOL':function(_0x8606fa,_0x3602bd){return _0x8606fa!==_0x3602bd;},'woggG':_0x243b47(0xec),'HPPRb':function(_0x31a9fe,_0x414c9c){return _0x31a9fe-_0x414c9c;},'qXTcE':function(_0x41f458,_0x2a84b7){return _0x41f458===_0x2a84b7;},'JifJf':_0x243b47(0x14e),'JSbGq':_0x243b47(0x13d),'EBcLB':function(_0x4440b6,_0x4d8d0f){return _0x4440b6(_0x4d8d0f);},'jSwMv':function(_0x2efe59,_0x12e4c9){return _0x2efe59!==_0x12e4c9;},'FRFaj':_0x243b47(0x174)};_0x4265bb[_0x243b47(0x166)](_0x5520a2,_0x4265bb['lAptE'])&&logger[_0x243b47(0x131)](_0x243b47(0x170)+_0x32f4a7[_0x243b47(0x111)][0x0][_0x243b47(0x157)]);const _0xdf8708=await this['getLogTag'](_0x32f4a7);let _0x53d73f=_0x32f4a7,_0x127b92=EVENT_ENDPOINT;_0x4265bb[_0x243b47(0x10e)](_0x5520a2,_0x4265bb[_0x243b47(0x13b)])&&this[_0x243b47(0x184)][_0x243b47(0x16c)]();const {shouldProceed:_0x4ea418,proceedWithData:_0x1bc86d,proceedWithUrl:_0x419a39}=this[_0x243b47(0x184)]['add'](_0x32f4a7);if(!_0x4ea418)return;else _0x1bc86d&&(_0x53d73f=_0x1bc86d,_0x127b92=_0x419a39);const _0x63e84a={};_0x63e84a[_0x243b47(0x16a)]=_0x243b47(0x165)+process[_0x243b47(0x11f)]['BROWSERSTACK_TESTHUB_JWT'],_0x63e84a[_0x243b47(0x149)]=_0x4265bb[_0x243b47(0x120)],_0x63e84a[_0x243b47(0x15c)]=_0x4265bb[_0x243b47(0x181)];const _0x499f35={};_0x499f35[_0x243b47(0x146)]=_0x63e84a;const _0x55b2e9=_0x499f35;let _0x30c498;try{_0x4265bb[_0x243b47(0x166)](_0x5520a2,_0x4265bb[_0x243b47(0x13b)])?(logger[_0x243b47(0x131)](_0x243b47(0xf4)+_0x32f4a7?.['logs'][0x0]?.[_0x243b47(0x157)]),_0x30c498=await _0x4265bb[_0x243b47(0x107)](asyncAwaitNodeReq,_0x4265bb[_0x243b47(0xfe)],_0x127b92,_0x53d73f,_0x55b2e9),logger[_0x243b47(0x131)]('Trace\x20zip\x20sent\x20to\x20nodeRequest\x20for\x20test:\x20'+_0x32f4a7?.['logs'][0x0]?.[_0x243b47(0x157)])):_0x30c498=await _0x4265bb[_0x243b47(0x192)](nodeRequest,_0x4265bb[_0x243b47(0xfe)],_0x127b92,_0x53d73f,_0x55b2e9);if(_0x30c498[_0x243b47(0x18b)][_0x243b47(0x174)]){const _0xd31a61={};_0xd31a61[_0x243b47(0x178)]=_0x30c498['data'][_0x243b47(0x174)];throw _0xd31a61;}else{_0x4265bb[_0x243b47(0x11c)](debug,(_0x4265bb[_0x243b47(0x140)](_0x127b92,this[_0x243b47(0x184)][_0x243b47(0x14a)])?_0xdf8708:_0x4265bb['woggG'])+'['+_0x638a92+_0x243b47(0x194)),this['requestQueueHandler'][_0x243b47(0x175)]=Math[_0x243b47(0x148)](0x0,_0x4265bb[_0x243b47(0x172)](this[_0x243b47(0x184)][_0x243b47(0x175)],_0x4265bb['qXTcE'](_0x127b92,_0x4265bb[_0x243b47(0xfa)])?0x1:_0x53d73f[_0x243b47(0x13e)]));const _0x58946c={};return _0x58946c['status']=_0x4265bb[_0x243b47(0x191)],_0x58946c['message']='',_0x58946c;}}catch(_0x4f20c9){_0x4f20c9['response']?_0x4265bb[_0x243b47(0xf9)](debug,'EXCEPTION\x20IN\x20'+(_0x4265bb[_0x243b47(0x140)](_0x127b92,this[_0x243b47(0x184)][_0x243b47(0x14a)])?_0xdf8708:_0x4265bb[_0x243b47(0x139)])+_0x243b47(0xfd)+_0x4f20c9[_0x243b47(0x113)][_0x243b47(0x117)]+'\x20'+_0x4f20c9[_0x243b47(0x113)][_0x243b47(0x13c)]+'\x20'+util['format'](_0x4f20c9[_0x243b47(0x113)][_0x243b47(0x18b)])):_0x4265bb[_0x243b47(0x11c)](debug,'EXCEPTION\x20IN\x20'+(_0x4265bb['jSwMv'](_0x127b92,this[_0x243b47(0x184)][_0x243b47(0x14a)])?_0xdf8708:_0x4265bb[_0x243b47(0x139)])+_0x243b47(0xfd)+util[_0x243b47(0x17e)](_0x4f20c9));this[_0x243b47(0x184)][_0x243b47(0x175)]=Math[_0x243b47(0x148)](0x0,_0x4265bb[_0x243b47(0x172)](this['requestQueueHandler']['pendingUploads'],_0x4265bb['DJXeL'](_0x127b92,_0x4265bb[_0x243b47(0xfa)])?0x1:_0x53d73f[_0x243b47(0x13e)]));const _0x5bf17c={};return _0x5bf17c[_0x243b47(0x117)]=_0x4265bb[_0x243b47(0x12d)],_0x5bf17c['message']=_0x4f20c9[_0x243b47(0x178)]||(_0x4f20c9['response']?_0x4f20c9[_0x243b47(0x113)]['status']+':'+_0x4f20c9[_0x243b47(0x113)][_0x243b47(0x13c)]:_0x4f20c9),_0x5bf17c;}}static async[a86_0x3b47d2(0x155)](_0x9b4248,_0x4a319c=0x0){const _0x2d68b1=a86_0x3b47d2,_0x3be8d5={'eEyWe':function(_0x421ba7,_0x5a3cd3){return _0x421ba7+_0x5a3cd3;},'vWgpy':function(_0x412b72,_0x9478d){return _0x412b72(_0x9478d);},'KSuKQ':_0x2d68b1(0x134),'cfhqP':_0x2d68b1(0x102),'iLqfx':_0x2d68b1(0x15d),'VbJCM':function(_0x3af44b,_0x5f5187,_0x4cb126){return _0x3af44b(_0x5f5187,_0x4cb126);},'pBOhX':'uploadEventData','nkDsw':function(_0x5387ac,_0x2d9123){return _0x5387ac===_0x2d9123;},'xBBhO':function(_0xb3754a,_0x10362c){return _0xb3754a!==_0x10362c;},'HMlfr':'null','zWWFe':_0x2d68b1(0x168),'NdJYk':function(_0x3feaf5){return _0x3feaf5();},'bgyQN':function(_0x58bc13,_0x49466d){return _0x58bc13-_0x49466d;},'nsfHH':_0x2d68b1(0x174),'KNLsd':_0x2d68b1(0x13a),'ysuVA':function(_0x58fd7d,_0x2810e4){return _0x58fd7d>=_0x2810e4;},'JaBKu':function(_0x2668a1,_0x68221c){return _0x2668a1(_0x68221c);},'eZYnn':_0x2d68b1(0x187),'ZRVns':_0x2d68b1(0x142)},_0x3ec842=this[_0x2d68b1(0x197)](_0x9b4248);_0x3be8d5['vWgpy'](trace,_0x2d68b1(0x133)+_0x9b4248['event_type']+'\x27\x20'+(bsSetupHelper[_0x2d68b1(0x152)](_0x9b4248,[_0x3be8d5[_0x2d68b1(0x183)],_0x3be8d5[_0x2d68b1(0x123)]])||bsSetupHelper[_0x2d68b1(0x152)](_0x9b4248,[_0x3be8d5['iLqfx'],_0x3be8d5[_0x2d68b1(0x123)]])));if(!_0x3be8d5[_0x2d68b1(0x15a)](shouldProcessEventForTesthub,_0x9b4248[_0x2d68b1(0xef)],_0x3be8d5[_0x2d68b1(0x17b)]))return;_0x3be8d5[_0x2d68b1(0x180)](_0x4a319c,0x0)&&process['env']['BROWSERSTACK_TESTHUB_JWT']&&_0x3be8d5[_0x2d68b1(0x198)](process[_0x2d68b1(0x11f)][_0x2d68b1(0x17f)],_0x3be8d5[_0x2d68b1(0x11b)])&&(this[_0x2d68b1(0x184)][_0x2d68b1(0x175)]+=0x1);if(_0x3be8d5[_0x2d68b1(0x180)](process[_0x2d68b1(0x11f)][_0x2d68b1(0x10f)],_0x3be8d5['zWWFe'])||process[_0x2d68b1(0x11f)][_0x2d68b1(0x196)]||_0x3be8d5[_0x2d68b1(0x145)](isPercyBuild)){if(_0x3be8d5[_0x2d68b1(0x180)](process['env']['BROWSERSTACK_TESTHUB_JWT'],_0x3be8d5[_0x2d68b1(0x11b)])){_0x3be8d5['vWgpy'](debug,_0x2d68b1(0x158)+_0x3ec842+_0x2d68b1(0x182)),this['requestQueueHandler'][_0x2d68b1(0x175)]=Math[_0x2d68b1(0x148)](0x0,_0x3be8d5[_0x2d68b1(0x12f)](this['requestQueueHandler'][_0x2d68b1(0x175)],0x1));const _0x35e06e={};return _0x35e06e['status']=_0x3be8d5['nsfHH'],_0x35e06e[_0x2d68b1(0x178)]=_0x3be8d5[_0x2d68b1(0x15e)],_0x35e06e;}return await this['sendEventData'](_0x9b4248,_0x4a319c);}else{if(_0x3be8d5[_0x2d68b1(0x112)](_0x4a319c,0x5)){_0x3be8d5[_0x2d68b1(0x177)](debug,_0x2d68b1(0x158)+_0x3ec842+_0x2d68b1(0xee)+_0x3ec842+_0x2d68b1(0xf7));_0x3be8d5[_0x2d68b1(0x198)](process[_0x2d68b1(0x11f)][_0x2d68b1(0x17f)],_0x3be8d5[_0x2d68b1(0x11b)])&&(this[_0x2d68b1(0x184)][_0x2d68b1(0x175)]=Math[_0x2d68b1(0x148)](0x0,_0x3be8d5[_0x2d68b1(0x12f)](this[_0x2d68b1(0x184)]['pendingUploads'],0x1)));const _0x351639={};return _0x351639['status']=_0x3be8d5[_0x2d68b1(0x119)],_0x351639[_0x2d68b1(0x178)]=_0x3be8d5[_0x2d68b1(0x127)],_0x351639;}else _0x3be8d5[_0x2d68b1(0x198)](process[_0x2d68b1(0x11f)]['BS_TESTOPS_BUILD_COMPLETED'],_0x3be8d5[_0x2d68b1(0x10d)])&&_0x3be8d5[_0x2d68b1(0x15a)](setTimeout,()=>{const _0x1bcddf=_0x2d68b1;this['uploadEventData'](_0x9b4248,_0x3be8d5[_0x1bcddf(0x137)](_0x4a319c,0x1));},0x3e8);}}}module[a86_0x3b47d2(0x122)]=SessionHandler;
1
+ const a86_0x332420=a86_0x5a57;(function(_0x240e18,_0x31becd){const _0x1b2d0b=a86_0x5a57,_0x2d5aeb=_0x240e18();while(!![]){try{const _0x1e3046=parseInt(_0x1b2d0b(0xea))/0x1+parseInt(_0x1b2d0b(0x106))/0x2*(-parseInt(_0x1b2d0b(0x12f))/0x3)+-parseInt(_0x1b2d0b(0xf9))/0x4*(-parseInt(_0x1b2d0b(0x118))/0x5)+parseInt(_0x1b2d0b(0x13b))/0x6*(parseInt(_0x1b2d0b(0x136))/0x7)+parseInt(_0x1b2d0b(0x103))/0x8+-parseInt(_0x1b2d0b(0x102))/0x9*(parseInt(_0x1b2d0b(0xe4))/0xa)+-parseInt(_0x1b2d0b(0xd4))/0xb;if(_0x1e3046===_0x31becd)break;else _0x2d5aeb['push'](_0x2d5aeb['shift']());}catch(_0x532a31){_0x2d5aeb['push'](_0x2d5aeb['shift']());}}}(a86_0x3253,0xd2c9b));const bsSetupHelper=require(a86_0x332420(0x11f)),path=require(a86_0x332420(0xc5)),os=require('os'),{debug,getCustomTags,getDefaultHeaders,nodeRequest,asyncAwaitNodeReq,sleep,isTestObservabilitySession,trace}=require('./utils'),{EVENT_ENDPOINT,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS}=require('./constants'),RequestQueueHandler=require(a86_0x332420(0xf3)),logger=require(a86_0x332420(0x141))[a86_0x332420(0xe2)],{shouldProcessEventForTesthub,isPercyBuild,getProductMap}=require(a86_0x332420(0x143)),util=require(a86_0x332420(0xf4));function a86_0x5a57(_0x27b2f4,_0x3262f8){const _0x325306=a86_0x3253();return a86_0x5a57=function(_0x5a5796,_0x11c555){_0x5a5796=_0x5a5796-0xa1;let _0x34ca84=_0x325306[_0x5a5796];return _0x34ca84;},a86_0x5a57(_0x27b2f4,_0x3262f8);}class SessionHandler{static ['requestQueueHandler']=RequestQueueHandler[a86_0x332420(0x132)]();static async[a86_0x332420(0x113)](_0x507bc7,_0x16f6ee){const _0x33d37e=a86_0x332420,_0x36e225={'ZpYqw':function(_0x467444,_0x3ded9b){return _0x467444||_0x3ded9b;},'rwbiH':function(_0x458b59,_0x4825de){return _0x458b59||_0x4825de;},'bJirP':function(_0x59f77c,_0xc14eea){return _0x59f77c===_0xc14eea;},'szgQz':function(_0x79e8b9,_0x4111bc){return _0x79e8b9(_0x4111bc);},'TeVJM':_0x33d37e(0xd5),'ExZNY':_0x33d37e(0xbf),'vknGE':_0x33d37e(0x130),'uLCSC':function(_0x53b8e6,_0x1a7bdd){return _0x53b8e6(_0x1a7bdd);},'MRaJI':function(_0x3a2265,_0x36c37c,_0x564016,_0x75dde1,_0x208c07){return _0x3a2265(_0x36c37c,_0x564016,_0x75dde1,_0x208c07);},'Mxmxh':_0x33d37e(0xd9),'nviNN':_0x33d37e(0xc0),'wGSyy':_0x33d37e(0xa7),'rUjQK':function(_0x965c2e){return _0x965c2e();},'fdEsZ':_0x33d37e(0xbd),'FjddQ':_0x33d37e(0xa1),'YumuM':function(_0x3f92dc,_0x4b0986){return _0x3f92dc(_0x4b0986);},'EwHXv':_0x33d37e(0xab),'qmcgX':'ERROR_ACCESS_DENIED','uAXSn':_0x33d37e(0x11b)},_0x28dc7a=bsSetupHelper[_0x33d37e(0xd1)](_0x507bc7),_0x597634=bsSetupHelper[_0x33d37e(0x11a)](_0x507bc7),_0x2d16df=_0x36e225['ZpYqw'](_0x28dc7a,'')+':'+_0x36e225[_0x33d37e(0xa6)](_0x597634,'');if(_0x36e225[_0x33d37e(0x100)](_0x2d16df,':'))return _0x36e225[_0x33d37e(0xaa)](debug,_0x36e225[_0x33d37e(0xf6)]),process['env'][_0x33d37e(0xce)]=_0x36e225['ExZNY'],[null,null];let _0x201728=![],_0x308a4d=![];if(_0x507bc7[_0x33d37e(0x101)]&&_0x507bc7[_0x33d37e(0xc1)])_0x308a4d=!![];else _0x507bc7[_0x33d37e(0x101)]&&(_0x201728=!![]);try{const _0x3bce55={'format':_0x36e225[_0x33d37e(0xcf)],'project_name':_0x507bc7[_0x33d37e(0x117)]||'','name':_0x507bc7['buildName']||path[_0x33d37e(0x10c)](path[_0x33d37e(0x10e)](process['cwd']())),'build_identifier':_0x507bc7[_0x33d37e(0xb7)],'description':_0x507bc7[_0x33d37e(0xa9)]||'','start_time':new Date()[_0x33d37e(0xb3)](),'tags':_0x36e225[_0x33d37e(0xaa)](getCustomTags,_0x507bc7),'host_info':bsSetupHelper[_0x33d37e(0x10f)](),'ci_info':bsSetupHelper[_0x33d37e(0x13e)](),'build_run_identifier':process[_0x33d37e(0xda)]['BROWSERSTACK_BUILD_RUN_IDENTIFIER'],'failed_tests_rerun':process['env'][_0x33d37e(0xa5)]||![],'version_control':await bsSetupHelper['getGitMetaData'](),'observability_version':{'frameworkName':_0x16f6ee[_0x33d37e(0x10b)],'frameworkVersion':_0x16f6ee[_0x33d37e(0xb5)],'sdkVersion':bsSetupHelper[_0x33d37e(0x13a)]()},'product_map':_0x36e225[_0x33d37e(0xaa)](getProductMap,_0x507bc7)},_0x3774c1={};_0x3774c1[_0x33d37e(0x10d)]=_0x28dc7a,_0x3774c1['password']=_0x597634;const _0x5b7332={'auth':_0x3774c1,'headers':_0x36e225[_0x33d37e(0xc4)](getDefaultHeaders,![])},_0x231a00=await _0x36e225[_0x33d37e(0x138)](nodeRequest,_0x36e225[_0x33d37e(0xd7)],_0x36e225[_0x33d37e(0xd3)],_0x3bce55,_0x5b7332);_0x36e225[_0x33d37e(0xaa)](debug,_0x36e225['wGSyy']);const _0x3c8aa4=_0x231a00[_0x33d37e(0xc6)];_0x3c8aa4[_0x33d37e(0x149)]&&(process[_0x33d37e(0xda)][_0x33d37e(0x14d)]=_0x3c8aa4['build_hashed_id']);if(_0x36e225['rUjQK'](isTestObservabilitySession)){process['env'][_0x33d37e(0xce)]=_0x36e225[_0x33d37e(0x12c)];if(_0x3c8aa4[_0x33d37e(0x10a)]){process[_0x33d37e(0xda)][_0x33d37e(0x14c)]=_0x3c8aa4[_0x33d37e(0x10a)];const _0x2255ce={};_0x2255ce[_0x33d37e(0x10d)]=_0x28dc7a,_0x2255ce[_0x33d37e(0x14f)]=_0x597634,process[_0x33d37e(0xda)][_0x33d37e(0x115)]=JSON['stringify'](_0x2255ce);}_0x3c8aa4[_0x33d37e(0x149)]&&(process['env'][_0x33d37e(0x135)]=_0x3c8aa4[_0x33d37e(0x149)]),_0x3c8aa4[_0x33d37e(0xe0)]&&(process[_0x33d37e(0xda)][_0x33d37e(0x137)]=_0x3c8aa4[_0x33d37e(0xe0)][_0x33d37e(0xde)]());}return[_0x231a00[_0x33d37e(0xc6)]['jwt'],_0x231a00['data'][_0x33d37e(0x149)],_0x231a00[_0x33d37e(0xc6)]['allow_screenshots']];}catch(_0x3cdf0b){process[_0x33d37e(0xda)][_0x33d37e(0x14d)]=_0x36e225[_0x33d37e(0x134)],process['env'][_0x33d37e(0xce)]=_0x36e225[_0x33d37e(0x13d)],process['env'][_0x33d37e(0x14c)]=_0x36e225[_0x33d37e(0x134)],process[_0x33d37e(0xda)][_0x33d37e(0x135)]=_0x36e225[_0x33d37e(0x134)],process[_0x33d37e(0xda)][_0x33d37e(0x137)]=_0x36e225[_0x33d37e(0x134)];_0x3cdf0b['response']?_0x36e225['YumuM'](debug,_0x33d37e(0x12b)+_0x3cdf0b['response'][_0x33d37e(0xfd)]+'\x20'+_0x3cdf0b[_0x33d37e(0x133)]['statusText']+'\x20'+JSON[_0x33d37e(0x104)](_0x3cdf0b[_0x33d37e(0x133)][_0x33d37e(0xc6)])):_0x36e225[_0x33d37e(0xc4)](debug,_0x33d37e(0x12b)+(_0x3cdf0b['message']||_0x3cdf0b));if(_0x3cdf0b&&_0x3cdf0b[_0x33d37e(0x12a)]){const _0x4d2c91=_0x3cdf0b[_0x33d37e(0x12a)];switch(_0x3cdf0b[_0x33d37e(0x11d)]){case _0x36e225['EwHXv']:logger[_0x33d37e(0x122)](_0x4d2c91);break;case _0x36e225[_0x33d37e(0xdd)]:logger['info'](_0x4d2c91);break;case _0x36e225[_0x33d37e(0xe7)]:logger['error'](_0x4d2c91);break;default:logger[_0x33d37e(0x122)](_0x4d2c91);}}else console['info'](_0x33d37e(0xa4)+_0x3cdf0b);return[null,null,null];}}static async[a86_0x332420(0x109)](){const _0x136360=a86_0x332420,_0x3ed8c9={'hhWtW':_0x136360(0xbd),'aUgxR':_0x136360(0xbf),'UFdZK':function(_0x5ab215,_0x1fb3da){return _0x5ab215(_0x1fb3da);}},_0x33c012=process[_0x136360(0xda)]['BS_TESTOPS_BUILD_COMPLETED'];if([_0x3ed8c9[_0x136360(0x114)],_0x3ed8c9[_0x136360(0xe1)]][_0x136360(0xbb)](_0x33c012))return;while([_0x3ed8c9[_0x136360(0x114)],_0x3ed8c9[_0x136360(0xe1)]]['includes'](_0x33c012)){await _0x3ed8c9[_0x136360(0xf0)](sleep,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS);}}static[a86_0x332420(0xb6)](_0x540dab){const _0x9c4536=a86_0x332420,_0x52cb5d={};_0x52cb5d[_0x9c4536(0xaf)]=_0x9c4536(0xc9),_0x52cb5d[_0x9c4536(0xc8)]=_0x9c4536(0xd6),_0x52cb5d['ufouU']=_0x9c4536(0x142),_0x52cb5d[_0x9c4536(0xf7)]=_0x9c4536(0x145),_0x52cb5d['cLwhv']=_0x9c4536(0x144),_0x52cb5d[_0x9c4536(0xb2)]='Hook_End_Upload',_0x52cb5d[_0x9c4536(0x146)]=_0x9c4536(0xc7);const _0x1173d0=_0x52cb5d,_0x7d1a7={};return _0x7d1a7[_0x9c4536(0x14a)]=_0x1173d0[_0x9c4536(0xaf)],_0x7d1a7[_0x9c4536(0xfa)]=_0x1173d0[_0x9c4536(0xc8)],_0x7d1a7[_0x9c4536(0xcd)]=_0x1173d0['ufouU'],_0x7d1a7[_0x9c4536(0xe8)]=_0x1173d0[_0x9c4536(0xf7)],_0x7d1a7['HookRunStarted']=_0x1173d0[_0x9c4536(0xb9)],_0x7d1a7['HookRunFinished']=_0x1173d0[_0x9c4536(0xb2)],_0x7d1a7[_0x9c4536(0xff)]=_0x1173d0[_0x9c4536(0x146)],_0x7d1a7[_0x540dab[_0x9c4536(0xed)]];}static async[a86_0x332420(0xfe)](_0x3b35f1,_0x1605b2=0x0,_0x2bf0d1=null){const _0xfd29bc=a86_0x332420,_0xb624e2={'cFUpo':function(_0x1d17b8,_0x121875){return _0x1d17b8===_0x121875;},'lovTL':_0xfd29bc(0xe6),'WNptF':function(_0x4ac34f,_0x381490){return _0x4ac34f!==_0x381490;},'Ofocn':'application/json','aqJHZ':_0xfd29bc(0xbd),'wbxhT':function(_0x5d1b9c,_0x31a4ae){return _0x5d1b9c===_0x31a4ae;},'VHLCc':function(_0x38e60f,_0x545e87,_0x3e494d,_0x442fe0,_0x1bdbb6){return _0x38e60f(_0x545e87,_0x3e494d,_0x442fe0,_0x1bdbb6);},'klUQy':'POST','lJMwl':function(_0x330002,_0xc1022){return _0x330002(_0xc1022);},'MEOgP':_0xfd29bc(0x121),'qvjee':function(_0x5c28a8,_0xb93a70){return _0x5c28a8-_0xb93a70;},'PfByq':_0xfd29bc(0xfb),'ZRZlm':_0xfd29bc(0x139),'jcCIA':function(_0x36d228,_0x270cdf){return _0x36d228(_0x270cdf);},'DBIOY':function(_0x71d06e,_0xc09aee){return _0x71d06e-_0xc09aee;},'lMCxe':function(_0x24217d,_0x20e4dd){return _0x24217d===_0x20e4dd;},'lzTpW':_0xfd29bc(0x122)};_0xb624e2[_0xfd29bc(0x151)](_0x2bf0d1,_0xb624e2[_0xfd29bc(0xcb)])&&logger[_0xfd29bc(0xa8)](_0xfd29bc(0xc2)+_0x3b35f1[_0xfd29bc(0x123)][0x0]['test_run_uuid']);const _0x1e8173=await this[_0xfd29bc(0xb6)](_0x3b35f1);let _0x598b55=_0x3b35f1,_0x6f0ebe=EVENT_ENDPOINT;_0xb624e2[_0xfd29bc(0x12e)](_0x2bf0d1,_0xb624e2[_0xfd29bc(0xcb)])&&this['requestQueueHandler'][_0xfd29bc(0x150)]();const {shouldProceed:_0x5486e7,proceedWithData:_0x49cf04,proceedWithUrl:_0x282143}=this[_0xfd29bc(0xd0)][_0xfd29bc(0xb4)](_0x3b35f1);if(!_0x5486e7)return;else _0x49cf04&&(_0x598b55=_0x49cf04,_0x6f0ebe=_0x282143);const _0x5e3948={};_0x5e3948[_0xfd29bc(0xe5)]=_0xfd29bc(0xcc)+process[_0xfd29bc(0xda)][_0xfd29bc(0xbe)],_0x5e3948[_0xfd29bc(0xdc)]=_0xb624e2[_0xfd29bc(0x128)],_0x5e3948[_0xfd29bc(0x11c)]=_0xb624e2['aqJHZ'];const _0x4f7195={};_0x4f7195[_0xfd29bc(0xac)]=_0x5e3948;const _0x3c63a3=_0x4f7195;let _0x1b4449;try{_0xb624e2['wbxhT'](_0x2bf0d1,_0xb624e2[_0xfd29bc(0xcb)])?(logger[_0xfd29bc(0xa8)](_0xfd29bc(0xfc)+_0x3b35f1?.['logs'][0x0]?.[_0xfd29bc(0x11e)]),_0x1b4449=await _0xb624e2['VHLCc'](asyncAwaitNodeReq,_0xb624e2['klUQy'],_0x6f0ebe,_0x598b55,_0x3c63a3),logger[_0xfd29bc(0xa8)](_0xfd29bc(0x12d)+_0x3b35f1?.[_0xfd29bc(0x123)][0x0]?.['test_run_uuid'])):_0x1b4449=await _0xb624e2[_0xfd29bc(0x105)](nodeRequest,_0xb624e2['klUQy'],_0x6f0ebe,_0x598b55,_0x3c63a3);if(_0x1b4449[_0xfd29bc(0xc6)][_0xfd29bc(0x122)]){const _0x2ee890={};_0x2ee890['message']=_0x1b4449[_0xfd29bc(0xc6)][_0xfd29bc(0x122)];throw _0x2ee890;}else{_0xb624e2[_0xfd29bc(0x116)](debug,(_0xb624e2[_0xfd29bc(0x12e)](_0x6f0ebe,this[_0xfd29bc(0xd0)][_0xfd29bc(0xa3)])?_0x1e8173:_0xb624e2['MEOgP'])+'['+_0x1605b2+_0xfd29bc(0x120)),this[_0xfd29bc(0xd0)][_0xfd29bc(0x14b)]=Math[_0xfd29bc(0x148)](0x0,_0xb624e2[_0xfd29bc(0x131)](this[_0xfd29bc(0xd0)][_0xfd29bc(0x14b)],_0xb624e2[_0xfd29bc(0x151)](_0x6f0ebe,_0xb624e2[_0xfd29bc(0xf8)])?0x1:_0x598b55['length']));const _0xa15f70={};return _0xa15f70[_0xfd29bc(0xfd)]=_0xb624e2[_0xfd29bc(0xeb)],_0xa15f70[_0xfd29bc(0x12a)]='',_0xa15f70;}}catch(_0x2a7a1d){_0x2a7a1d['response']?_0xb624e2['lJMwl'](debug,'EXCEPTION\x20IN\x20'+(_0xb624e2[_0xfd29bc(0x12e)](_0x6f0ebe,this[_0xfd29bc(0xd0)]['eventUrl'])?_0x1e8173:_0xb624e2[_0xfd29bc(0x14e)])+_0xfd29bc(0x129)+_0x2a7a1d[_0xfd29bc(0x133)][_0xfd29bc(0xfd)]+'\x20'+_0x2a7a1d[_0xfd29bc(0x133)][_0xfd29bc(0x110)]+'\x20'+util[_0xfd29bc(0xd8)](_0x2a7a1d[_0xfd29bc(0x133)][_0xfd29bc(0xc6)])):_0xb624e2['jcCIA'](debug,_0xfd29bc(0x140)+(_0xb624e2[_0xfd29bc(0x12e)](_0x6f0ebe,this[_0xfd29bc(0xd0)][_0xfd29bc(0xa3)])?_0x1e8173:_0xb624e2['MEOgP'])+_0xfd29bc(0x129)+util[_0xfd29bc(0xd8)](_0x2a7a1d));this['requestQueueHandler']['pendingUploads']=Math['max'](0x0,_0xb624e2[_0xfd29bc(0x108)](this[_0xfd29bc(0xd0)][_0xfd29bc(0x14b)],_0xb624e2['lMCxe'](_0x6f0ebe,_0xb624e2[_0xfd29bc(0xf8)])?0x1:_0x598b55[_0xfd29bc(0xef)]));const _0x4d9fb5={};return _0x4d9fb5[_0xfd29bc(0xfd)]=_0xb624e2[_0xfd29bc(0xd2)],_0x4d9fb5[_0xfd29bc(0x12a)]=_0x2a7a1d[_0xfd29bc(0x12a)]||(_0x2a7a1d[_0xfd29bc(0x133)]?_0x2a7a1d[_0xfd29bc(0x133)][_0xfd29bc(0xfd)]+':'+_0x2a7a1d[_0xfd29bc(0x133)][_0xfd29bc(0x110)]:_0x2a7a1d),_0x4d9fb5;}}static async[a86_0x332420(0xb0)](_0x4c3f94,_0x1c26de=0x0){const _0x20a915=a86_0x332420,_0x45efe2={'mWfUQ':function(_0x351624,_0x507536){return _0x351624+_0x507536;},'aFwYN':function(_0x5dc588,_0x2794e3){return _0x5dc588(_0x2794e3);},'AwGwT':'test_run','bZcNW':_0x20a915(0xbc),'RkxRH':_0x20a915(0xb1),'gyDZb':function(_0x53e19e,_0x58e49b,_0xadc6c5){return _0x53e19e(_0x58e49b,_0xadc6c5);},'TPnVA':_0x20a915(0xb0),'qhoVr':function(_0xc6e63d,_0x46dc94){return _0xc6e63d===_0x46dc94;},'xqOEh':function(_0x11e443,_0x155f14){return _0x11e443!==_0x155f14;},'UyOOv':_0x20a915(0xa1),'bYKHR':function(_0x30d1a1,_0x40f184){return _0x30d1a1===_0x40f184;},'HpOvT':'true','XZMBf':function(_0xb69382){return _0xb69382();},'bFVzi':function(_0x1222cf,_0x13be21){return _0x1222cf-_0x13be21;},'nZaso':_0x20a915(0x122),'gHTdQ':_0x20a915(0x13c),'LfiWL':function(_0x4da490,_0x4b55e9){return _0x4da490>=_0x4b55e9;},'ghUVn':function(_0x1212ce,_0x1b3c30){return _0x1212ce(_0x1b3c30);},'olRAe':_0x20a915(0x147),'NNfCd':function(_0x1f675f,_0x549080){return _0x1f675f!==_0x549080;},'PKpXO':_0x20a915(0xbf)},_0x25a267=this[_0x20a915(0xb6)](_0x4c3f94);_0x45efe2['aFwYN'](trace,_0x20a915(0x124)+_0x4c3f94[_0x20a915(0xed)]+'\x27\x20'+(bsSetupHelper[_0x20a915(0x111)](_0x4c3f94,[_0x45efe2['AwGwT'],_0x45efe2[_0x20a915(0x13f)]])||bsSetupHelper[_0x20a915(0x111)](_0x4c3f94,[_0x45efe2[_0x20a915(0xdb)],_0x45efe2[_0x20a915(0x13f)]])));if(!_0x45efe2['gyDZb'](shouldProcessEventForTesthub,_0x4c3f94[_0x20a915(0xed)],_0x45efe2[_0x20a915(0xa2)]))return;_0x45efe2[_0x20a915(0xf5)](_0x1c26de,0x0)&&process['env'][_0x20a915(0xbe)]&&_0x45efe2[_0x20a915(0x126)](process[_0x20a915(0xda)][_0x20a915(0xbe)],_0x45efe2['UyOOv'])&&(this['requestQueueHandler']['pendingUploads']+=0x1);if(_0x45efe2[_0x20a915(0xca)](process[_0x20a915(0xda)][_0x20a915(0xce)],_0x45efe2[_0x20a915(0xe9)])||process['env'][_0x20a915(0xc3)]||_0x45efe2[_0x20a915(0xee)](isPercyBuild)){if(_0x45efe2[_0x20a915(0xca)](process[_0x20a915(0xda)][_0x20a915(0xbe)],_0x45efe2['UyOOv'])){_0x45efe2[_0x20a915(0xba)](debug,'EXCEPTION\x20IN\x20'+_0x25a267+'\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20missing\x20authentication\x20token'),this[_0x20a915(0xd0)][_0x20a915(0x14b)]=Math[_0x20a915(0x148)](0x0,_0x45efe2[_0x20a915(0xec)](this[_0x20a915(0xd0)][_0x20a915(0x14b)],0x1));const _0x5aa9d2={};return _0x5aa9d2[_0x20a915(0xfd)]=_0x45efe2[_0x20a915(0xf2)],_0x5aa9d2[_0x20a915(0x12a)]=_0x45efe2[_0x20a915(0xe3)],_0x5aa9d2;}return await this['sendEventData'](_0x4c3f94,_0x1c26de);}else{if(_0x45efe2[_0x20a915(0x127)](_0x1c26de,0x5)){_0x45efe2[_0x20a915(0xb8)](debug,_0x20a915(0x140)+_0x25a267+_0x20a915(0xae)+_0x25a267+_0x20a915(0x119));_0x45efe2[_0x20a915(0x126)](process[_0x20a915(0xda)]['BROWSERSTACK_TESTHUB_JWT'],_0x45efe2[_0x20a915(0xad)])&&(this[_0x20a915(0xd0)][_0x20a915(0x14b)]=Math[_0x20a915(0x148)](0x0,_0x45efe2['bFVzi'](this['requestQueueHandler'][_0x20a915(0x14b)],0x1)));const _0x53ea3f={};return _0x53ea3f[_0x20a915(0xfd)]=_0x45efe2['nZaso'],_0x53ea3f['message']=_0x45efe2[_0x20a915(0x112)],_0x53ea3f;}else _0x45efe2[_0x20a915(0x125)](process['env'][_0x20a915(0xce)],_0x45efe2['PKpXO'])&&_0x45efe2[_0x20a915(0xdf)](setTimeout,()=>{const _0x5d805c=_0x20a915;this[_0x5d805c(0xb0)](_0x4c3f94,_0x45efe2[_0x5d805c(0x107)](_0x1c26de,0x1));},0x3e8);}}}module[a86_0x332420(0xf1)]=SessionHandler;function a86_0x3253(){const _0x10a1ad=['\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20Build\x20Start\x20is\x20not\x20completed\x20and\x20','puwzv','uploadEventData','hook_run','hhexj','toISOString','add','frameworkVersion','getLogTag','buildIdentifier','ghUVn','cLwhv','aFwYN','includes','uuid','true','BROWSERSTACK_TESTHUB_JWT','false','api/v1/builds','app','Sending\x20trace\x20zip\x20for\x20test:\x20','BS_A11Y_JWT','uLCSC','path','data','CBT_Upload','CZOpG','Test_Start_Upload','bYKHR','lovTL','Bearer\x20','TestRunSkipped','BS_TESTOPS_BUILD_COMPLETED','vknGE','requestQueueHandler','getUserName','lzTpW','nviNN','42415373qUiJvS','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','Test_End_Upload','Mxmxh','format','POST','env','RkxRH','Content-Type','qmcgX','toString','gyDZb','allow_screenshots','aUgxR','winstonLogger','gHTdQ','70510UWETJK','Authorization','sendTraceZip','uAXSn','LogCreated','HpOvT','1308656tQrBKW','ZRZlm','bFVzi','event_type','XZMBf','length','UFdZK','exports','nZaso','./requestQueueHandler','util','qhoVr','TeVJM','YjCWV','PfByq','121928eatlbW','TestRunFinished','api/v1/event','Sending\x20trace\x20zip\x20to\x20nodeRequest\x20for\x20test:\x20','status','sendEventData','CBTSessionCreated','bJirP','browserstackAutomation','117BKVcVL','12332224GjiSWZ','stringify','VHLCc','46PCoqGk','mWfUQ','DBIOY','waitForBuildStatus','jwt','frameworkName','basename','username','resolve','getHostInfo','statusText','nestedKeyValue','olRAe','launch','hhWtW','CREDENTIALS_FOR_CRASH_REPORTING','lJMwl','projectName','235uRjwfz','\x20retry\x20runs\x20exceeded','getAccessKey','ERROR_SDK_DEPRECATED','X-BSTACK-TESTOPS','errorType','test_run_uuid','../helper',']\x20event\x20successful!','Batch-Queue','error','logs','Processing\x20event\x20-\x20\x27','NNfCd','xqOEh','LfiWL','Ofocn','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','message','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20','fdEsZ','Trace\x20zip\x20sent\x20to\x20nodeRequest\x20for\x20test:\x20','WNptF','104649XUcJBE','json','qvjee','getInstance','response','FjddQ','BS_TESTOPS_BUILD_HASHED_ID','4656624KLaOWU','BS_TESTOPS_ALLOW_SCREENSHOTS','MRaJI','success','getAgentVersion','12pdKvqN','Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed','ExZNY','getCiInfo','bZcNW','EXCEPTION\x20IN\x20','../logger','Test_Skipped_Upload','../../helpers/testhub/utils','Hook_Start_Upload','Log_Upload','LtAAs','Retry\x20runs\x20exceeded','max','build_hashed_id','TestRunStarted','pendingUploads','BS_TESTOPS_JWT','BROWSERSTACK_TESTHUB_UUID','MEOgP','password','start','cFUpo','null','TPnVA','eventUrl','Data\x20upload\x20to\x20BrowserStack\x20Test\x20Observability\x20failed\x20due\x20to\x20','BROWSERSTACK_RERUN','rwbiH','Build\x20creation\x20successful!','debug','buildDescription','szgQz','ERROR_INVALID_CREDENTIALS','headers','UyOOv'];a86_0x3253=function(){return _0x10a1ad;};return a86_0x3253();}