browserstack-node-sdk 1.36.1 → 1.36.2

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 (194) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/generated/sdk-messages-accessibility_grpc_pb.d.ts +1 -0
  41. package/generated/sdk-messages-accessibility_grpc_pb.js +1 -0
  42. package/generated/sdk-messages-accessibility_pb.d.ts +279 -0
  43. package/generated/sdk-messages-accessibility_pb.js +2186 -0
  44. package/generated/sdk-messages-ai_grpc_pb.d.ts +1 -0
  45. package/generated/sdk-messages-ai_grpc_pb.js +1 -0
  46. package/generated/sdk-messages-ai_pb.d.ts +217 -0
  47. package/generated/sdk-messages-ai_pb.js +1650 -0
  48. package/generated/sdk-messages-observability_grpc_pb.d.ts +1 -0
  49. package/generated/sdk-messages-observability_grpc_pb.js +1 -0
  50. package/generated/sdk-messages-observability_pb.d.ts +178 -0
  51. package/generated/sdk-messages-observability_pb.js +1377 -0
  52. package/generated/sdk-messages-percy_grpc_pb.d.ts +1 -0
  53. package/generated/sdk-messages-percy_grpc_pb.js +1 -0
  54. package/generated/sdk-messages-percy_pb.d.ts +37 -0
  55. package/generated/sdk-messages-percy_pb.js +266 -0
  56. package/generated/sdk-messages-testhub_grpc_pb.d.ts +1 -0
  57. package/generated/sdk-messages-testhub_grpc_pb.js +1 -0
  58. package/generated/sdk-messages-testhub_pb.d.ts +39 -0
  59. package/generated/sdk-messages-testhub_pb.js +290 -0
  60. package/generated/sdk-messages_grpc_pb.d.ts +1 -0
  61. package/generated/sdk-messages_grpc_pb.js +1 -0
  62. package/generated/sdk-messages_pb.d.ts +1105 -0
  63. package/generated/sdk-messages_pb.js +8580 -0
  64. package/generated/sdk_grpc_pb.d.ts +113 -0
  65. package/generated/sdk_grpc_pb.js +609 -0
  66. package/generated/sdk_pb.d.ts +9 -0
  67. package/generated/sdk_pb.js +31 -0
  68. package/package.json +7 -1
  69. package/src/ai-sdk-node/bundle.js +1 -1
  70. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  71. package/src/bin/codeceptjs/command.js +1 -1
  72. package/src/bin/codeceptjs/helper.js +1 -1
  73. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  74. package/src/bin/cucumber-js/command.js +1 -1
  75. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  76. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  77. package/src/bin/cucumber-js/test-observability.js +1 -1
  78. package/src/bin/cucumber-js/test.setup.js +1 -1
  79. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  80. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  81. package/src/bin/integrations/command.js +1 -1
  82. package/src/bin/integrations/constants.js +1 -1
  83. package/src/bin/jest/command.js +1 -1
  84. package/src/bin/jest/customImplements/customCircus.js +1 -1
  85. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  86. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  87. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  88. package/src/bin/jest/jest.setup.js +1 -1
  89. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  90. package/src/bin/jest/test-observability/helper.js +1 -1
  91. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  92. package/src/bin/jest/test-observability/test-details.js +1 -1
  93. package/src/bin/jest/test_before.setup.js +1 -1
  94. package/src/bin/launcher/launcher.js +1 -1
  95. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  96. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  97. package/src/bin/mocha/command.js +1 -1
  98. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  99. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  100. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  101. package/src/bin/mocha/test.setup.js +1 -1
  102. package/src/bin/nightwatch/command.js +1 -1
  103. package/src/bin/playwright/accessibility-helper.js +1 -1
  104. package/src/bin/playwright/command.js +1 -1
  105. package/src/bin/playwright/globalSetup.js +1 -1
  106. package/src/bin/playwright/mock-process.js +1 -1
  107. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  108. package/src/bin/playwright/patches.js +1 -1
  109. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  110. package/src/bin/playwright/reporter/reporter.js +1 -1
  111. package/src/bin/playwright/reporter/test-details.js +1 -1
  112. package/src/bin/playwright/sessionDetails.js +1 -1
  113. package/src/bin/runner.js +1 -1
  114. package/src/bin/setup.js +1 -1
  115. package/src/bin/test-runner/index.js +1 -1
  116. package/src/bin/test-runner/runTest.js +1 -1
  117. package/src/bin/test-runner/testWorker.js +1 -1
  118. package/src/bin/utils/constants.js +1 -1
  119. package/src/bin/utils/log4jsAppender.js +1 -1
  120. package/src/bin/utils/logPatcher.js +1 -1
  121. package/src/bin/utils/logReportingAPI.js +1 -1
  122. package/src/bin/v2/TestInfo.js +1 -0
  123. package/src/bin/v2/browserstackCLI.js +1 -0
  124. package/src/bin/v2/cliUtils.js +1 -0
  125. package/src/bin/v2/customTagManager.js +1 -0
  126. package/src/bin/v2/eventDispatcher.js +1 -0
  127. package/src/bin/v2/framework/automationFramework.js +1 -0
  128. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -0
  129. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -0
  130. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -0
  131. package/src/bin/v2/framework/playwrightTestFramework.js +1 -0
  132. package/src/bin/v2/framework/testFramework.js +1 -0
  133. package/src/bin/v2/grpcClient.js +1 -0
  134. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -0
  135. package/src/bin/v2/instances/testFrameworkInstance.js +1 -0
  136. package/src/bin/v2/instances/trackedContext.js +1 -0
  137. package/src/bin/v2/instances/trackedInstance.js +1 -0
  138. package/src/bin/v2/modules/accessibilityModule.js +1 -0
  139. package/src/bin/v2/modules/baseModule.js +1 -0
  140. package/src/bin/v2/modules/observabilityModule.js +1 -0
  141. package/src/bin/v2/modules/playwrightDriverModule.js +1 -0
  142. package/src/bin/v2/modules/testhubModule.js +1 -0
  143. package/src/bin/v2/state/automationFrameworkState.js +1 -0
  144. package/src/bin/v2/state/hookState.js +1 -0
  145. package/src/bin/v2/state/testFrameworkState.js +1 -0
  146. package/src/bin/v2/uploadAttachmentsManager.js +1 -0
  147. package/src/bin/vanilla-js/command.js +1 -1
  148. package/src/browserStackSdk.js +1 -1
  149. package/src/helpers/BrowserStackSetup.js +1 -1
  150. package/src/helpers/accessibility-automation/constants.js +1 -1
  151. package/src/helpers/accessibility-automation/helper.js +1 -1
  152. package/src/helpers/accessibility-automation/scripts.js +1 -1
  153. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  154. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  155. package/src/helpers/ats/constants.js +1 -1
  156. package/src/helpers/ats/helper.js +1 -1
  157. package/src/helpers/capsMapping.js +1 -1
  158. package/src/helpers/central-scanner/constants.js +1 -1
  159. package/src/helpers/central-scanner/helpers.js +1 -1
  160. package/src/helpers/classLogger.js +1 -0
  161. package/src/helpers/globals.js +1 -1
  162. package/src/helpers/helper.js +1 -1
  163. package/src/helpers/logger.js +1 -1
  164. package/src/helpers/metadata.js +1 -1
  165. package/src/helpers/patchHelper.js +1 -1
  166. package/src/helpers/patchHelpers.js +1 -1
  167. package/src/helpers/percy/Percy.js +1 -1
  168. package/src/helpers/percy/PercyBinary.js +1 -1
  169. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  170. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  171. package/src/helpers/percy/PercySDK.js +1 -1
  172. package/src/helpers/percy/index.js +1 -1
  173. package/src/helpers/percy/utils.js +1 -1
  174. package/src/helpers/performance/constants.js +1 -1
  175. package/src/helpers/performance/performance-tester.js +1 -1
  176. package/src/helpers/processHelper.js +1 -1
  177. package/src/helpers/request-spy.js +1 -1
  178. package/src/helpers/setKeepAlive.js +1 -1
  179. package/src/helpers/test-observability/constants.js +1 -1
  180. package/src/helpers/test-observability/error-handler.js +1 -1
  181. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  182. package/src/helpers/test-observability/sessionHandler.js +1 -1
  183. package/src/helpers/test-observability/utils.js +1 -1
  184. package/src/helpers/test-orchestration/fail-fast/fileHelper.js +1 -0
  185. package/src/helpers/test-orchestration/fail-fast/jest.js +1 -0
  186. package/src/helpers/test-orchestration/fail-fast/requestUtils.js +1 -0
  187. package/src/helpers/testhub/constants.js +1 -1
  188. package/src/helpers/testhub/testhubHandler.js +1 -1
  189. package/src/helpers/testhub/utils.js +1 -1
  190. package/src/helpers/timeoutPromise.js +1 -1
  191. package/src/helpers/utilities.js +1 -1
  192. package/src/helpers/w3cMapping.js +1 -1
  193. package/src/hubAllocationMethods.js +1 -1
  194. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a47_0x5dafd6=a47_0x922f;function a47_0x4f18(){const _0x5e02cb=['vanilla','IKBYc','run','2801295GfZuEC','1JsLXiX','2983220CZnsZg','SDK_POST_TEST','5ioHMly','PLteF','99uzbOoF','mocha','../../helpers/performance/constants','formatter','cKNbO','stopMonitoring','14USOYUH','3944413KDpMQT','423600aFLBUT','zuvUH','648066rejYdU','20RnsDYV','runVanillaTest','RzLNi','21606108vSSgTm','startMonitoring','runTest','bJfuO','crYzs','../../helpers/performance/performance-tester','jfBzS','731356wfNPnx','../launcher/launcher','yLiUv'];a47_0x4f18=function(){return _0x5e02cb;};return a47_0x4f18();}function a47_0x922f(_0x25c77b,_0x186d31){const _0x4f1863=a47_0x4f18();return a47_0x922f=function(_0x922f8c,_0x31552d){_0x922f8c=_0x922f8c-0x1ee;let _0x44f756=_0x4f1863[_0x922f8c];return _0x44f756;},a47_0x922f(_0x25c77b,_0x186d31);}(function(_0x23af77,_0xba3f69){const _0x5e214b=a47_0x922f,_0x253be6=_0x23af77();while(!![]){try{const _0x111b3f=parseInt(_0x5e214b(0x1f8))/0x1*(-parseInt(_0x5e214b(0x1f1))/0x2)+parseInt(_0x5e214b(0x1f7))/0x3+parseInt(_0x5e214b(0x1f9))/0x4*(parseInt(_0x5e214b(0x1fb))/0x5)+-parseInt(_0x5e214b(0x207))/0x6*(parseInt(_0x5e214b(0x203))/0x7)+-parseInt(_0x5e214b(0x205))/0x8*(-parseInt(_0x5e214b(0x1fd))/0x9)+parseInt(_0x5e214b(0x208))/0xa*(parseInt(_0x5e214b(0x204))/0xb)+-parseInt(_0x5e214b(0x20b))/0xc;if(_0x111b3f===_0xba3f69)break;else _0x253be6['push'](_0x253be6['shift']());}catch(_0x378e55){_0x253be6['push'](_0x253be6['shift']());}}}(a47_0x4f18,0x91bf1));const PerformanceEvents=require(a47_0x5dafd6(0x1ff))['EVENTS'],PerformanceTester=require(a47_0x5dafd6(0x1ef)),{sleep}=require('../../helpers/test-observability/utils');exports[a47_0x5dafd6(0x20d)]=async(_0x52d987,_0x1b3b98)=>{const _0x306da9=a47_0x5dafd6,_0x576636={'PLteF':function(_0x1b28f9,_0x2b4284){return _0x1b28f9(_0x2b4284);},'cKNbO':'../launcher/launcher','RzLNi':_0x306da9(0x1fe),'jfBzS':function(_0x35d073,_0x5b2c96){return _0x35d073(_0x5b2c96);}};PerformanceTester[_0x306da9(0x20c)]();const _0x54d91f=_0x576636[_0x306da9(0x1fc)](require,_0x576636[_0x306da9(0x201)]),_0x1cc762=new _0x54d91f(_0x576636[_0x306da9(0x20a)],_0x52d987,_0x1b3b98),_0x2db0ac=await _0x1cc762[_0x306da9(0x1f6)]();return PerformanceTester['end'](PerformanceEvents[_0x306da9(0x1fa)]),await _0x576636[_0x306da9(0x1f0)](sleep,0x3e8),PerformanceTester[_0x306da9(0x202)](),_0x2db0ac;},exports['runCucumberTest']=async(_0x503081,_0x4ebe26,_0x3bd6e0,_0x2e90f1,_0x117079)=>{const _0x1c0023=a47_0x5dafd6,_0x243e17={'yLiUv':function(_0x47196b,_0x556e21){return _0x47196b(_0x556e21);},'mJXBS':_0x1c0023(0x1f2),'IKBYc':'cucumber-js'},_0x185385={'capability':_0x503081,..._0x4ebe26},_0x5af9e2={};_0x5af9e2['configuration']=_0x185385,_0x5af9e2[_0x1c0023(0x200)]=_0x117079;const _0x17a0e0=_0x5af9e2,_0x28bd6=_0x243e17[_0x1c0023(0x1f3)](require,_0x243e17['mJXBS']),_0x2b6dae=new _0x28bd6(_0x243e17[_0x1c0023(0x1f5)],_0x17a0e0,_0x3bd6e0,_0x2e90f1);return await _0x2b6dae['run']();},exports[a47_0x5dafd6(0x209)]=async _0x40fbb4=>{const _0x1b5c3d=a47_0x5dafd6,_0x406ea6={'zuvUH':function(_0x5247be,_0x48a7a6){return _0x5247be(_0x48a7a6);},'crYzs':_0x1b5c3d(0x1f2),'bJfuO':_0x1b5c3d(0x1f4)},_0x2c7ff9=_0x406ea6[_0x1b5c3d(0x206)](require,_0x406ea6[_0x1b5c3d(0x1ee)]),_0x1d99c4=new _0x2c7ff9(_0x406ea6[_0x1b5c3d(0x20e)],_0x40fbb4);return await _0x1d99c4['run']();};
1
+ function a47_0x3dc2(){const _0x3ccb7f=['run','SDK_POST_TEST','Xyhqq','runCucumberTest','WahnP','startMonitoring','2942fJrfFT','cucumber-js','runVanillaTest','runTest','6801651eMoWNn','../launcher/launcher','dzGeZ','2157824zRyumt','vEtgX','formatter','pbfTI','3815226AbMtaT','stopMonitoring','1699495BjHnft','YcgPP','1449588KMlIXc','../../helpers/performance/performance-tester','configuration','414hpGEfD','366008dUsUrw','end','7DyKUtB','HMMLX','YOcOQ','mocha'];a47_0x3dc2=function(){return _0x3ccb7f;};return a47_0x3dc2();}const a47_0x48bde6=a47_0x3f14;(function(_0x4eb634,_0x309352){const _0x5ce58b=a47_0x3f14,_0x449217=_0x4eb634();while(!![]){try{const _0x33db74=-parseInt(_0x5ce58b(0x1fd))/0x1*(parseInt(_0x5ce58b(0x1eb))/0x2)+parseInt(_0x5ce58b(0x1fa))/0x3+-parseInt(_0x5ce58b(0x1f2))/0x4+-parseInt(_0x5ce58b(0x1f8))/0x5+-parseInt(_0x5ce58b(0x1f6))/0x6*(-parseInt(_0x5ce58b(0x200))/0x7)+parseInt(_0x5ce58b(0x1fe))/0x8+parseInt(_0x5ce58b(0x1ef))/0x9;if(_0x33db74===_0x309352)break;else _0x449217['push'](_0x449217['shift']());}catch(_0x2a92a6){_0x449217['push'](_0x449217['shift']());}}}(a47_0x3dc2,0x69850));const PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],PerformanceTester=require(a47_0x48bde6(0x1fb)),{sleep}=require('../../helpers/test-observability/utils');function a47_0x3f14(_0x1183fb,_0x5eeeb1){const _0x3dc271=a47_0x3dc2();return a47_0x3f14=function(_0x3f1424,_0x2c7160){_0x3f1424=_0x3f1424-0x1e8;let _0x4f95c6=_0x3dc271[_0x3f1424];return _0x4f95c6;},a47_0x3f14(_0x1183fb,_0x5eeeb1);}exports[a47_0x48bde6(0x1ee)]=async(_0x29cd9d,_0x5b1ac7)=>{const _0x13354c=a47_0x48bde6,_0x20950b={'pbfTI':function(_0x2baeef,_0x24a1d2){return _0x2baeef(_0x24a1d2);},'Xyhqq':_0x13354c(0x1f0),'WahnP':_0x13354c(0x203),'dzGeZ':function(_0x13708d,_0x197850){return _0x13708d(_0x197850);}};PerformanceTester[_0x13354c(0x1ea)]();const _0x573bc8=_0x20950b[_0x13354c(0x1f5)](require,_0x20950b[_0x13354c(0x206)]),_0x52e24b=new _0x573bc8(_0x20950b[_0x13354c(0x1e9)],_0x29cd9d,_0x5b1ac7),_0x363ede=await _0x52e24b[_0x13354c(0x204)]();return PerformanceTester[_0x13354c(0x1ff)](PerformanceEvents[_0x13354c(0x205)]),await _0x20950b[_0x13354c(0x1f1)](sleep,0x3e8),PerformanceTester[_0x13354c(0x1f7)](),_0x363ede;},exports[a47_0x48bde6(0x1e8)]=async(_0x573fb6,_0x242961,_0x4b9f7b,_0x555bc3,_0x1e1600)=>{const _0x1e4267=a47_0x48bde6,_0x1964d8={'HMMLX':function(_0x11adc3,_0x5a699a){return _0x11adc3(_0x5a699a);},'vEtgX':'../launcher/launcher','FYCxa':_0x1e4267(0x1ec)},_0x176614={'capability':_0x573fb6,..._0x242961},_0x38d0f8={};_0x38d0f8[_0x1e4267(0x1fc)]=_0x176614,_0x38d0f8[_0x1e4267(0x1f4)]=_0x1e1600;const _0x493fb1=_0x38d0f8,_0xa42033=_0x1964d8[_0x1e4267(0x201)](require,_0x1964d8[_0x1e4267(0x1f3)]),_0x50898e=new _0xa42033(_0x1964d8['FYCxa'],_0x493fb1,_0x4b9f7b,_0x555bc3);return await _0x50898e['run']();},exports[a47_0x48bde6(0x1ed)]=async _0x2f9997=>{const _0x43a041=a47_0x48bde6,_0x1cc90a={'FmBdE':function(_0x50c9ba,_0x430bba){return _0x50c9ba(_0x430bba);},'YOcOQ':_0x43a041(0x1f0),'YcgPP':'vanilla'},_0x26cdff=_0x1cc90a['FmBdE'](require,_0x1cc90a[_0x43a041(0x202)]),_0x4d8d9a=new _0x26cdff(_0x1cc90a[_0x43a041(0x1f9)],_0x2f9997);return await _0x4d8d9a['run']();};
@@ -1 +1 @@
1
- const a48_0x16a5c4=a48_0x2c7c;function a48_0x2c7c(_0x290fe8,_0x420d29){const _0x70e97=a48_0x70e9();return a48_0x2c7c=function(_0x2c7c5c,_0x4ee4ed){_0x2c7c5c=_0x2c7c5c-0x1cd;let _0x350eb8=_0x70e97[_0x2c7c5c];return _0x350eb8;},a48_0x2c7c(_0x290fe8,_0x420d29);}function a48_0x70e9(){const _0x5d3ab3=['yXdCV','696352HwfKYI','143795radxtX','1346184YjOhPc','worker','48dJRzAt','42562OSKYUV','193653JMOSue','88zMRDJp','572385XUoKVl','11QSnrYA','156saamGR','skwmN','9224890IcVGiA','./runTest'];a48_0x70e9=function(){return _0x5d3ab3;};return a48_0x70e9();}(function(_0x27514c,_0x4264b8){const _0x3245ae=a48_0x2c7c,_0x3e1729=_0x27514c();while(!![]){try{const _0x315358=-parseInt(_0x3245ae(0x1d7))/0x1*(-parseInt(_0x3245ae(0x1d6))/0x2)+parseInt(_0x3245ae(0x1da))/0x3+-parseInt(_0x3245ae(0x1d2))/0x4+-parseInt(_0x3245ae(0x1d3))/0x5*(parseInt(_0x3245ae(0x1cd))/0x6)+-parseInt(_0x3245ae(0x1d4))/0x7+-parseInt(_0x3245ae(0x1d9))/0x8*(parseInt(_0x3245ae(0x1d8))/0x9)+-parseInt(_0x3245ae(0x1cf))/0xa*(-parseInt(_0x3245ae(0x1db))/0xb);if(_0x315358===_0x4264b8)break;else _0x3e1729['push'](_0x3e1729['shift']());}catch(_0x4342bd){_0x3e1729['push'](_0x3e1729['shift']());}}}(a48_0x70e9,0xbf64f));const {runTest,runCucumberTest,runVanillaTest}=require(a48_0x16a5c4(0x1d0));exports[a48_0x16a5c4(0x1d5)]=async(_0x544860,_0x50e202)=>{const _0x403aaa={'HXufl':function(_0x5327f5,_0x56efd9,_0x3d4b02){return _0x5327f5(_0x56efd9,_0x3d4b02);}};return await _0x403aaa['HXufl'](runTest,_0x544860,_0x50e202);},exports['cucumberWorker']=async(_0xc4da93,_0x5df0d6,_0xbd62ed,_0x18809f,_0x226c2d)=>{const _0x32e678=a48_0x16a5c4,_0x5aa82c={'skwmN':function(_0x23aced,_0x498e8e,_0x34ec85,_0xc78afb,_0x1c8089,_0x309a2d){return _0x23aced(_0x498e8e,_0x34ec85,_0xc78afb,_0x1c8089,_0x309a2d);}};return await _0x5aa82c[_0x32e678(0x1ce)](runCucumberTest,_0xc4da93,_0x5df0d6,_0xbd62ed,_0x18809f,_0x226c2d);},exports['vanillaWorker']=async _0xc2dd29=>{const _0x487a58=a48_0x16a5c4,_0x7c749c={'yXdCV':function(_0x2f12d2,_0x6cbc44){return _0x2f12d2(_0x6cbc44);}};return await _0x7c749c[_0x487a58(0x1d1)](runVanillaTest,_0xc2dd29);};
1
+ const a48_0x6e32d2=a48_0x229c;(function(_0x5044ae,_0x159f38){const _0x1e6fca=a48_0x229c,_0x16fbeb=_0x5044ae();while(!![]){try{const _0x47f1e5=-parseInt(_0x1e6fca(0xe2))/0x1+-parseInt(_0x1e6fca(0xd5))/0x2*(parseInt(_0x1e6fca(0xd7))/0x3)+parseInt(_0x1e6fca(0xde))/0x4*(-parseInt(_0x1e6fca(0xda))/0x5)+parseInt(_0x1e6fca(0xdd))/0x6*(parseInt(_0x1e6fca(0xd8))/0x7)+parseInt(_0x1e6fca(0xe3))/0x8*(-parseInt(_0x1e6fca(0xdf))/0x9)+-parseInt(_0x1e6fca(0xd4))/0xa+parseInt(_0x1e6fca(0xd6))/0xb;if(_0x47f1e5===_0x159f38)break;else _0x16fbeb['push'](_0x16fbeb['shift']());}catch(_0x3952af){_0x16fbeb['push'](_0x16fbeb['shift']());}}}(a48_0x5282,0x2a151));const {runTest,runCucumberTest,runVanillaTest}=require(a48_0x6e32d2(0xd9));function a48_0x229c(_0xe4aa9d,_0x49eb2a){const _0x528264=a48_0x5282();return a48_0x229c=function(_0x229c17,_0x485574){_0x229c17=_0x229c17-0xd3;let _0x325591=_0x528264[_0x229c17];return _0x325591;},a48_0x229c(_0xe4aa9d,_0x49eb2a);}function a48_0x5282(){const _0x18996c=['285100zFfpKm','179896wdjcXV','9942174XQgMwT','6sdGDNi','7fKumTu','./runTest','15WMzpLL','vanillaWorker','ZBsuV','1605522AaTcDm','299332QkUOVx','9tgAIjr','KfMwJ','cucumberWorker','301132yXMQnA','2120120ubnvBH','worker'];a48_0x5282=function(){return _0x18996c;};return a48_0x5282();}exports[a48_0x6e32d2(0xd3)]=async(_0x3b1a3f,_0x11eb08)=>{const _0x183f0e=a48_0x6e32d2,_0x59bdcd={'ZBsuV':function(_0x31bfed,_0x298d48,_0x1c50b4){return _0x31bfed(_0x298d48,_0x1c50b4);}};return await _0x59bdcd[_0x183f0e(0xdc)](runTest,_0x3b1a3f,_0x11eb08);},exports[a48_0x6e32d2(0xe1)]=async(_0x33b7f2,_0x393106,_0x4bc30c,_0x5559c2,_0x21b00b)=>{const _0x43c614={'ILEhe':function(_0x2daec6,_0x491adb,_0x2accc9,_0x5f33f7,_0x2d00d4,_0x37747b){return _0x2daec6(_0x491adb,_0x2accc9,_0x5f33f7,_0x2d00d4,_0x37747b);}};return await _0x43c614['ILEhe'](runCucumberTest,_0x33b7f2,_0x393106,_0x4bc30c,_0x5559c2,_0x21b00b);},exports[a48_0x6e32d2(0xdb)]=async _0x426c2e=>{const _0x45a218=a48_0x6e32d2,_0x5ea451={'KfMwJ':function(_0x3af08d,_0x35867d){return _0x3af08d(_0x35867d);}};return await _0x5ea451[_0x45a218(0xe0)](runVanillaTest,_0x426c2e);};
@@ -1 +1 @@
1
- var a49_0x2f00c3=a49_0x8c87;function a49_0x1ee6(){var _0x295b16=['2706474NCyrjE','mocha','vanilla','browserVersion','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','ERR_BLOCKED_BY_CLIENT','testOrchestrationOptions','strictFileInteractability','/usage.log','authToken','ieOptions','localProxyPass','Run\x20js\x20tests\x20on\x20browserstack','app-automate','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','browserstack.accessKey','browserstackLocal','httpsProxy','20XiKxjl','uniqueDependency','422844cSbPLB','Upgrade\x20required','Run\x20playwright\x20tests\x20on\x20Browserstack','VERSION','PACKAGE_TYPE','browserName','httpProxy','CI_ARTIFACTS_PATH','.apk','36684BxYElD','SET_TCG_TOKEN_TIMEOUT','TCG_REGION','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','ERR_ADDRESS_UNREACHABLE','CODECEPTJS','8890TbWwxp','LOG_FILE_NAME','VANILLA','codeceptjs-cucumber','Playwright','AUTOMATE','SDKTestTcgAuthFailure','percyCaptureMode','percy','AI_INIT_FAILURE','./browserstack-artifacts/','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','VALID_APP_EXTENSION','1452122KBPLif','timeouts','module','AUTOMATE_PRODUCTS','accessibility','ERR_CONNECTION_ABORTED','acceptSslCerts','JEST','TCG_AUTH_FAILURE','edgeOptions','SDKTestTcgDownResponse','disableAutoCaptureLogs','ERR_PROXY_CONNECTION_FAILED','ERR_NETWORK_CHANGED','ERR_FAILED','https://upload-observability.browserstack.com','BROWSERSTACK_APP_AUTOMATE_URL','ROOT_CAPS','chromeOptions','hubUrl','8gSNChm','PRIVATE_DOMAIN_OR_IP_REGEX','accessibilityOptions','ERR_CONNECTION_CLOSED','SHAREABLE_ID_REGEX','INTEGRATIONS','Run\x20nightwatch\x20tests\x20on\x20browserstack','SDKTestTcgtInitSuccessful','codeceptjs','exports','INFO','MOCHA','jest','https://eds.browserstack.com','browserStackLocalOptions','UPGRADE_REQUIRED','turboScaleOptions','SDKTestInvalidTcgAuthResponseWithUserImpact','invalidKeys','BSTACK_DELTA','HEALING_FAILURE_TIMEOUT','framework','SDKTestTcgProxyFailure','browserstackAutomation','acceptSslCert','automate','4275836rQRgXq','userName','logLevel','wss://cdp.browserstack.com/playwright?caps=','84uKlPbR','pageLoadStrategy','ERR_SOCKS_CONNECTION_FAILED','testContextOptions','POLL_HEALING_RESULT_TIMEOUT','turboScale','ERR_CONNECTION_FAILED','https://api.browserstack.com','ERR_SOCKET_NOT_CONNECTED','observability','ERR_TUNNEL_CONNECTION_FAILED','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','COMMONJS','HST','OBSERVABILITY_UPLOAD_URL','ERR_CONNECTION_TIMED_OUT','9xwsCzH','rerunTests','testObservability','ERR_NAME_RESOLUTION_FAILED','cucumber','PLAYWRIGHT','localProxyUser','acceptInsecureCerts','parallelsPerPlatform','proxyUser','CUCUMBER','APP_AUTOMATE','NIGHTWATCH','proxyPassword','DEBUG_LOG_FILE_NAME','ATS_HUB_URL_REGEX','/usage-debug.log','1383940qCYvfA','sdk/v1/event','Run\x20mocha\x20tests\x20on\x20browserstack','HUB_URL_REGEX','mandatoryDependency','Run\x20codeceptjs\x20tests\x20on\x20browserstack','MAX_GIT_META_DATA_SIZE_IN_BYTES','browserstack.overridelocalInfo.userAuthToken','APP_AUTOMATE_PRODUCTS','automation','ATS_WSS_URL_REGEX','.ipa','TCG_URL','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','testObservabilityOptions','customVariables','EDS_URL','platforms','INVALID_INIT_RESP_WITH_USER_IMPACT','ERR_TIMED_OUT','CUSTOM_ID_REGEX','use','proxyPass','firefoxOptions','ERR_NAME_NOT_RESOLVED','unhandledPromptBehavior','GIT_META_DATA_TRUNCATED','CODECEPT','979xqrzyn','proxySettings','BROWSERSTACK_AUTOMATE_URL','TCG_AUTH_TIMEOUT','FUNNEL_INSTRUMENTATION_API_URL','root'];a49_0x1ee6=function(){return _0x295b16;};return a49_0x1ee6();}(function(_0x2e1089,_0x4814d6){var _0x298087=a49_0x8c87,_0x11d180=_0x2e1089();while(!![]){try{var _0xabfcb6=-parseInt(_0x298087(0x23a))/0x1*(-parseInt(_0x298087(0x279))/0x2)+-parseInt(_0x298087(0x216))/0x3+parseInt(_0x298087(0x275))/0x4+-parseInt(_0x298087(0x228))/0x5*(-parseInt(_0x298087(0x22a))/0x6)+-parseInt(_0x298087(0x247))/0x7*(-parseInt(_0x298087(0x25b))/0x8)+-parseInt(_0x298087(0x1e3))/0x9*(parseInt(_0x298087(0x1f4))/0xa)+parseInt(_0x298087(0x210))/0xb*(-parseInt(_0x298087(0x233))/0xc);if(_0xabfcb6===_0x4814d6)break;else _0x11d180['push'](_0x11d180['shift']());}catch(_0x786532){_0x11d180['push'](_0x11d180['shift']());}}}(a49_0x1ee6,0x97230));var a49_0x4762e4={};a49_0x4762e4[a49_0x2f00c3(0x265)]='shows\x20version\x20information',a49_0x4762e4['HELP']='Specify\x20--help\x20for\x20available\x20options';var a49_0xb13952={};a49_0xb13952[a49_0x2f00c3(0x265)]='Run\x20jest\x20tests\x20on\x20browserstack';var a49_0x4033f5={};a49_0x4033f5[a49_0x2f00c3(0x265)]=a49_0x2f00c3(0x1f6);var a49_0x239f68={};a49_0x239f68[a49_0x2f00c3(0x265)]='Run\x20cucumber-js\x20tests\x20on\x20browserstack';var a49_0xdcbccb={};function a49_0x8c87(_0x216c15,_0x20fd14){var _0x1ee609=a49_0x1ee6();return a49_0x8c87=function(_0x8c8751,_0x7261a6){_0x8c8751=_0x8c8751-0x1d4;var _0x5c8780=_0x1ee609[_0x8c8751];return _0x5c8780;},a49_0x8c87(_0x216c15,_0x20fd14);}a49_0xdcbccb[a49_0x2f00c3(0x265)]=a49_0x2f00c3(0x222);var a49_0x50d8b0={};a49_0x50d8b0['INFO']=a49_0x2f00c3(0x261);var a49_0x280963={};a49_0x280963['INFO']=a49_0x2f00c3(0x22c);var a49_0x31805e={};a49_0x31805e[a49_0x2f00c3(0x265)]=a49_0x2f00c3(0x1f9);var a49_0x1d4853={};a49_0x1d4853['INFO']=a49_0x2f00c3(0x201);var a49_0x575b90={};a49_0x575b90[a49_0x2f00c3(0x265)]=a49_0x2f00c3(0x1de);var a49_0x7ce8de={};a49_0x7ce8de[a49_0x2f00c3(0x1e8)]=a49_0x2f00c3(0x23e),a49_0x7ce8de['MOCHA']=a49_0x2f00c3(0x217),a49_0x7ce8de[a49_0x2f00c3(0x24e)]=a49_0x2f00c3(0x267),a49_0x7ce8de[a49_0x2f00c3(0x20f)]=a49_0x2f00c3(0x263),a49_0x7ce8de['CODECEPT_CUCUMBER']=a49_0x2f00c3(0x23d),a49_0x7ce8de[a49_0x2f00c3(0x1ed)]=a49_0x2f00c3(0x1e7);var a49_0x111321={};a49_0x111321[a49_0x2f00c3(0x26d)]=a49_0x2f00c3(0x245),a49_0x111321[a49_0x2f00c3(0x229)]=a49_0x2f00c3(0x21a),a49_0x111321[a49_0x2f00c3(0x1f8)]='name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a49_0x111321['invalidTestInputType']=a49_0x2f00c3(0x237);var a49_0x1af0fd={};a49_0x1af0fd[a49_0x2f00c3(0x1df)]='commonjs',a49_0x1af0fd['MODULE']=a49_0x2f00c3(0x249);var a49_0x1775da={};a49_0x1775da[a49_0x2f00c3(0x215)]=[a49_0x2f00c3(0x276),'accessKey',a49_0x2f00c3(0x230),a49_0x2f00c3(0x227),'customVariables','browserstack.userName',a49_0x2f00c3(0x225),a49_0x2f00c3(0x1f0),a49_0x2f00c3(0x21f),'proxyUrl',a49_0x2f00c3(0x1fb)],a49_0x1775da[a49_0x2f00c3(0x269)]=[a49_0x2f00c3(0x1ec),a49_0x2f00c3(0x20a),a49_0x2f00c3(0x1e9),a49_0x2f00c3(0x221)];var a49_0x59d021={};a49_0x59d021[a49_0x2f00c3(0x226)]=a49_0x2f00c3(0x226),a49_0x59d021['browserStackLocalOptions']='browserStackLocalOptions',a49_0x59d021['localOptions']=a49_0x2f00c3(0x269),a49_0x59d021[a49_0x2f00c3(0x1eb)]=a49_0x2f00c3(0x1eb),a49_0x59d021[a49_0x2f00c3(0x205)]=a49_0x2f00c3(0x205),a49_0x59d021['logLevel']=a49_0x2f00c3(0x277),a49_0x59d021[a49_0x2f00c3(0x230)]=a49_0x2f00c3(0x230),a49_0x59d021['httpsProxy']=a49_0x2f00c3(0x227),a49_0x59d021[a49_0x2f00c3(0x270)]=a49_0x2f00c3(0x270),a49_0x59d021[a49_0x2f00c3(0x1d6)]=a49_0x2f00c3(0x1d6),a49_0x59d021[a49_0x2f00c3(0x1e5)]=a49_0x2f00c3(0x1e5),a49_0x59d021['testObservabilityOptions']=a49_0x2f00c3(0x202),a49_0x59d021['customVariables']=a49_0x2f00c3(0x203),a49_0x59d021[a49_0x2f00c3(0x1fd)]=a49_0x2f00c3(0x272),a49_0x59d021[a49_0x2f00c3(0x272)]='browserstackAutomation',a49_0x59d021[a49_0x2f00c3(0x1e4)]=a49_0x2f00c3(0x1e4),a49_0x59d021['percy']=a49_0x2f00c3(0x242),a49_0x59d021['percyOptions']='percyOptions',a49_0x59d021[a49_0x2f00c3(0x241)]=a49_0x2f00c3(0x241),a49_0x59d021[a49_0x2f00c3(0x252)]=a49_0x2f00c3(0x252),a49_0x59d021[a49_0x2f00c3(0x24b)]=a49_0x2f00c3(0x24b),a49_0x59d021[a49_0x2f00c3(0x25d)]='accessibilityOptions',a49_0x59d021['turboScale']=a49_0x2f00c3(0x1d8),a49_0x59d021[a49_0x2f00c3(0x26b)]='turboScaleOptions',a49_0x59d021['proxySettings']=a49_0x2f00c3(0x211),a49_0x59d021[a49_0x2f00c3(0x21c)]=a49_0x2f00c3(0x21c);var a49_0x6300f={};a49_0x6300f[a49_0x2f00c3(0x22d)]=a49_0x4762e4,a49_0x6300f['JEST']=a49_0xb13952,a49_0x6300f[a49_0x2f00c3(0x266)]=a49_0x4033f5,a49_0x6300f[a49_0x2f00c3(0x1ed)]=a49_0x239f68,a49_0x6300f[a49_0x2f00c3(0x23c)]=a49_0xdcbccb,a49_0x6300f[a49_0x2f00c3(0x1ef)]=a49_0x50d8b0,a49_0x6300f['PLAYWRIGHT']=a49_0x280963,a49_0x6300f[a49_0x2f00c3(0x239)]=a49_0x31805e,a49_0x6300f[a49_0x2f00c3(0x1e0)]=a49_0x1d4853,a49_0x6300f[a49_0x2f00c3(0x260)]=a49_0x575b90,a49_0x6300f[a49_0x2f00c3(0x26e)]=0xf*0x3c*0x3e8,a49_0x6300f[a49_0x2f00c3(0x25a)]='https://hub.browserstack.com/wd/hub',a49_0x6300f[a49_0x2f00c3(0x200)]='https://tcg.browserstack.com',a49_0x6300f[a49_0x2f00c3(0x235)]=a49_0x2f00c3(0x209),a49_0x6300f[a49_0x2f00c3(0x1f7)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a49_0x6300f[a49_0x2f00c3(0x1f2)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a49_0x6300f[a49_0x2f00c3(0x1fe)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a49_0x6300f[a49_0x2f00c3(0x258)]=[a49_0x2f00c3(0x1ea),a49_0x2f00c3(0x1d4),a49_0x2f00c3(0x21d),a49_0x2f00c3(0x20d),a49_0x2f00c3(0x248),a49_0x2f00c3(0x22f),a49_0x2f00c3(0x219),a49_0x2f00c3(0x24d),a49_0x2f00c3(0x273),a49_0x2f00c3(0x259),a49_0x2f00c3(0x20b),a49_0x2f00c3(0x250),a49_0x2f00c3(0x220)],a49_0x6300f['ROOT_REGEX']=/^[\w-]+:.*$/,a49_0x6300f[a49_0x2f00c3(0x25c)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a49_0x6300f[a49_0x2f00c3(0x204)]=a49_0x2f00c3(0x268),a49_0x6300f['BROWSERSTACK_API_URL']=a49_0x2f00c3(0x1da),a49_0x6300f['APP_UPLOAD_URL']='https://api-cloud.browserstack.com',a49_0x6300f[a49_0x2f00c3(0x214)]=a49_0x2f00c3(0x1f5),a49_0x6300f[a49_0x2f00c3(0x24a)]=['automate',a49_0x2f00c3(0x1dc)],a49_0x6300f[a49_0x2f00c3(0x1fc)]=[a49_0x2f00c3(0x223),a49_0x2f00c3(0x1dc)],a49_0x6300f['PRODUCT_IF_NOT_BROWSERSTACK_INFRA']=[a49_0x2f00c3(0x1dc)],a49_0x6300f[a49_0x2f00c3(0x1e1)]=a49_0x2f00c3(0x256),a49_0x6300f['OBSERVABILITY_SUPPORTED_FWS']=[a49_0x2f00c3(0x217),a49_0x2f00c3(0x23e)],a49_0x6300f[a49_0x2f00c3(0x23f)]=[a49_0x2f00c3(0x274)],a49_0x6300f[a49_0x2f00c3(0x212)]='https://automate.browserstack.com/dashboard/v2/builds/',a49_0x6300f[a49_0x2f00c3(0x257)]='https://app-automate.browserstack.com/dashboard/v2/builds/',a49_0x6300f[a49_0x2f00c3(0x1ee)]=[a49_0x2f00c3(0x223)],a49_0x6300f['NUDGE_LOCAL_ERRORS']=[a49_0x2f00c3(0x255),a49_0x2f00c3(0x207),a49_0x2f00c3(0x21b),a49_0x2f00c3(0x254),a49_0x2f00c3(0x1db),a49_0x2f00c3(0x25e),'ERR_CONNECTION_RESET','ERR_CONNECTION_REFUSED',a49_0x2f00c3(0x24c),a49_0x2f00c3(0x1d9),a49_0x2f00c3(0x20c),'ERR_ADDRESS_INVALID',a49_0x2f00c3(0x238),a49_0x2f00c3(0x1dd),a49_0x2f00c3(0x1e2),a49_0x2f00c3(0x1d5),'ERR_SOCKS_CONNECTION_HOST_UNREACHABLE',a49_0x2f00c3(0x253),'ERR_NAME_NOT_RESOLVED',a49_0x2f00c3(0x1e6),a49_0x2f00c3(0x224)],a49_0x6300f[a49_0x2f00c3(0x246)]=[a49_0x2f00c3(0x232),'.aab',a49_0x2f00c3(0x1ff)],a49_0x6300f[a49_0x2f00c3(0x208)]='^[a-zA-Z0-9_.-]*$',a49_0x6300f[a49_0x2f00c3(0x25f)]=a49_0x2f00c3(0x236),a49_0x6300f[a49_0x2f00c3(0x231)]=a49_0x2f00c3(0x244),a49_0x6300f['PLAYWRIGHT_HUB_URL']=a49_0x2f00c3(0x278),a49_0x6300f['FRAMEWORKS']=a49_0x7ce8de,a49_0x6300f['PERCY_SUPPORTED_FRAMEWORKS']=[a49_0x2f00c3(0x267),a49_0x2f00c3(0x217)],a49_0x6300f['PLAYWRIGHT_CONFIG_OPTION_ERRORS']=a49_0x111321,a49_0x6300f['AUTOLOGCAPTURE_NOTIFICATION']='Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.',a49_0x6300f[a49_0x2f00c3(0x22e)]=a49_0x1af0fd,a49_0x6300f[a49_0x2f00c3(0x1fa)]=0x40*0x400,a49_0x6300f[a49_0x2f00c3(0x20e)]='...[TRUNCATED]',a49_0x6300f[a49_0x2f00c3(0x26a)]=a49_0x2f00c3(0x22b),a49_0x6300f['TCG_DOWN']=a49_0x2f00c3(0x251),a49_0x6300f[a49_0x2f00c3(0x206)]=a49_0x2f00c3(0x26c),a49_0x6300f[a49_0x2f00c3(0x24f)]=a49_0x2f00c3(0x240),a49_0x6300f['AI_INIT_SUCCESSFUL']=a49_0x2f00c3(0x262),a49_0x6300f[a49_0x2f00c3(0x243)]='SDKTestInitFailedResponse',a49_0x6300f['AI_PROXY_FAILURE']=a49_0x2f00c3(0x271),a49_0x6300f[a49_0x2f00c3(0x213)]=0x1388,a49_0x6300f[a49_0x2f00c3(0x234)]=0x1388,a49_0x6300f['HEALING_LOG_DATA_TIMEOUT']=0x1388,a49_0x6300f[a49_0x2f00c3(0x26f)]=0x1388,a49_0x6300f[a49_0x2f00c3(0x1d7)]=0xc350,a49_0x6300f['REDACTED_KEYS']=a49_0x1775da,a49_0x6300f['AI_ENABLED_FRAMEWORK']=[a49_0x2f00c3(0x218),'codeceptjs'],a49_0x6300f['SDK_INSTRUMENTATION_CONFIG']=a49_0x59d021,a49_0x6300f[a49_0x2f00c3(0x23b)]=a49_0x2f00c3(0x21e),a49_0x6300f[a49_0x2f00c3(0x1f1)]=a49_0x2f00c3(0x1f3),module[a49_0x2f00c3(0x264)]=a49_0x6300f;
1
+ var a49_0xd60485=a49_0x25a5;(function(_0x1afbf7,_0x59e437){var _0x4b93d2=a49_0x25a5,_0x4d3072=_0x1afbf7();while(!![]){try{var _0x47a4df=parseInt(_0x4b93d2(0xf5))/0x1+parseInt(_0x4b93d2(0x123))/0x2*(parseInt(_0x4b93d2(0x103))/0x3)+parseInt(_0x4b93d2(0x13d))/0x4*(-parseInt(_0x4b93d2(0x10a))/0x5)+parseInt(_0x4b93d2(0x169))/0x6+-parseInt(_0x4b93d2(0xe5))/0x7+-parseInt(_0x4b93d2(0x15d))/0x8+parseInt(_0x4b93d2(0x135))/0x9;if(_0x47a4df===_0x59e437)break;else _0x4d3072['push'](_0x4d3072['shift']());}catch(_0x3ad94d){_0x4d3072['push'](_0x4d3072['shift']());}}}(a49_0x55ef,0x34abc));var a49_0x37ed65={};a49_0x37ed65[a49_0xd60485(0x161)]=a49_0xd60485(0xdd),a49_0x37ed65['HELP']=a49_0xd60485(0x172);var a49_0x5adc80={};a49_0x5adc80['INFO']='Run\x20jest\x20tests\x20on\x20browserstack';var a49_0x2a838f={};a49_0x2a838f[a49_0xd60485(0x161)]='Run\x20mocha\x20tests\x20on\x20browserstack';var a49_0x203c58={};a49_0x203c58[a49_0xd60485(0x161)]=a49_0xd60485(0x11a);var a49_0x22e0de={};a49_0x22e0de[a49_0xd60485(0x161)]=a49_0xd60485(0x17c);function a49_0x25a5(_0x1b0384,_0x1ff2fb){var _0x55efd4=a49_0x55ef();return a49_0x25a5=function(_0x25a586,_0x44fdd1){_0x25a586=_0x25a586-0xd3;var _0x55ab81=_0x55efd4[_0x25a586];return _0x55ab81;},a49_0x25a5(_0x1b0384,_0x1ff2fb);}var a49_0x39b95b={};a49_0x39b95b[a49_0xd60485(0x161)]=a49_0xd60485(0xf1);var a49_0x37c8e4={};a49_0x37c8e4[a49_0xd60485(0x161)]=a49_0xd60485(0x163);var a49_0x45a060={};a49_0x45a060[a49_0xd60485(0x161)]='Run\x20codeceptjs\x20tests\x20on\x20browserstack';function a49_0x55ef(){var _0x4a39a1=['localOptions','playwright','NIGHTWATCH','https://app-automate.browserstack.com/dashboard/v2/builds/','SDKTestTcgDownResponse','SDKTestInitFailedResponse','SDKTestTcgProxyFailure','2113160ZVSBqH','browserstackLocal','https://automate.browserstack.com/dashboard/v2/builds/','AUTOMATE','SHAREABLE_ID_REGEX','accessibility','authToken','VALID_APP_EXTENSION','SDKTestInvalidTcgAuthResponseWithUserImpact','proxySettings','ERR_TIMED_OUT','chromeOptions','Run\x20nightwatch\x20tests\x20on\x20browserstack','ERR_TUNNEL_CONNECTION_FAILED','automation','MOCHA','274746TnxNla','https://api.browserstack.com','ERR_ADDRESS_INVALID','hubUrl','proxyPass','HST','turboScaleOptions','./browserstack-artifacts/','browserstackAutomation','disableAutoCaptureLogs','INTEGRATIONS','framework','use','rerunTests','12FWGXMd','ROOT_CAPS','ERR_NAME_RESOLUTION_FAILED','AUTOLOGCAPTURE_NOTIFICATION','JEST','HEALING_FAILURE_TIMEOUT','mandatoryDependency','8935IqlsbD','VANILLA','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','customVariables','ATS_WSS_URL_REGEX','browserstack.accessKey','percyCaptureMode','FUNNEL_INSTRUMENTATION_API_URL','PERCY_SUPPORTED_FRAMEWORKS','ERR_CONNECTION_FAILED','parallelsPerPlatform','ERR_CONNECTION_TIMED_OUT','wss://cdp.browserstack.com/playwright?caps=','root','OBSERVABILITY_UPLOAD_URL','PLAYWRIGHT_TRACE_LOGS','Run\x20cucumber-js\x20tests\x20on\x20browserstack','https://tcg.browserstack.com','AI_INIT_SUCCESSFUL','cucumber','platforms','AI_ENABLED_FRAMEWORK','testObservabilityOptions','ERR_CONNECTION_REFUSED','ERR_BLOCKED_BY_CLIENT','168092DrSseU','testOrchestrationOptions','MODULE','proxyPassword','commonjs','percy','EDS_URL','AI_PROXY_FAILURE','browserVersion','PLAYWRIGHT_CONFIG_OPTION_ERRORS','.ipa','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','proxyUrl','MAX_GIT_META_DATA_SIZE_IN_BYTES','GIT_META_DATA_TRUNCATED','ERR_CONNECTION_ABORTED','https://hub.browserstack.com/wd/hub','acceptInsecureCerts','2087316uArZtS','logLevel','timeouts','ATS_HUB_URL_REGEX','acceptSslCert','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','ERR_ADDRESS_UNREACHABLE','.apk','568hDSAcR','BROWSERSTACK_API_URL','SET_TCG_TOKEN_TIMEOUT','automate','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','vanilla','acceptSslCerts','uniqueDependency','CUCUMBER','exports','ERR_NAME_NOT_RESOLVED','codeceptjs','httpProxy','httpsProxy','CUSTOM_ID_REGEX','...[TRUNCATED]','ERR_SOCKET_NOT_CONNECTED','NUDGE_LOCAL_ERRORS','ieOptions','browserStackLocalOptions','browserstack.overridelocalInfo.userAuthToken','accessibilityOptions','AUTOMATE_PRODUCTS','PRIVATE_DOMAIN_OR_IP_REGEX','ROOT_REGEX','ERR_NETWORK_CHANGED','percyOptions','testContextOptions','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','/usage.log','POLL_HEALING_RESULT_TIMEOUT','https://eds.browserstack.com','1322696ltPCmo','invalidKeys','TCG_URL','CI_ARTIFACTS_PATH','INFO','APP_UPLOAD_URL','Run\x20playwright\x20tests\x20on\x20Browserstack','AI_INIT_FAILURE','browserstack.userName','ERR_SOCKS_CONNECTION_FAILED','observability','https://api-cloud.browserstack.com','563142REScld','INVALID_INIT_RESP_WITH_USER_IMPACT','ERR_FAILED','DEBUG_LOG_FILE_NAME','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','turboScale','TCG_AUTH_TIMEOUT','APP_AUTOMATE_PRODUCTS','CODECEPT','Specify\x20--help\x20for\x20available\x20options','TCG_AUTH_FAILURE','UPGRADE_REQUIRED','SDKTestTcgAuthFailure','^[a-zA-Z0-9_.-]*$','app-automate','https://upload-observability.browserstack.com','HEALING_LOG_DATA_TIMEOUT','ERR_CONNECTION_RESET','Playwright','Run\x20js\x20tests\x20on\x20browserstack','ERR_CONNECTION_CLOSED','CODECEPTJS','SDKTestTcgtInitSuccessful','Upgrade\x20required','TCG_REGION','mocha','localProxyPass','testObservability','BROWSERSTACK_APP_AUTOMATE_URL','jest','sdk/v1/update_cli','PLAYWRIGHT','TCG_DOWN','shows\x20version\x20information'];a49_0x55ef=function(){return _0x4a39a1;};return a49_0x55ef();}var a49_0x44a856={};a49_0x44a856['INFO']=a49_0xd60485(0x12e);var a49_0x1c5f9b={};a49_0x1c5f9b[a49_0xd60485(0x161)]=a49_0xd60485(0x141);var a49_0x46c9c4={};a49_0x46c9c4[a49_0xd60485(0xdb)]=a49_0xd60485(0x17b),a49_0x46c9c4[a49_0xd60485(0xf4)]=a49_0xd60485(0xd5),a49_0x46c9c4['JEST']=a49_0xd60485(0xd9),a49_0x46c9c4[a49_0xd60485(0x171)]='codeceptjs',a49_0x46c9c4['CODECEPT_CUCUMBER']='codeceptjs-cucumber',a49_0x46c9c4[a49_0xd60485(0x145)]=a49_0xd60485(0x11d);var a49_0x5c42af={};a49_0x5c42af[a49_0xd60485(0x15e)]=a49_0xd60485(0x159),a49_0x5c42af[a49_0xd60485(0x144)]='name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a49_0x5c42af[a49_0xd60485(0x109)]=a49_0xd60485(0x13a),a49_0x5c42af['invalidTestInputType']=a49_0xd60485(0x16d);var a49_0x2ec7aa={};a49_0x2ec7aa['COMMONJS']=a49_0xd60485(0x127),a49_0x2ec7aa[a49_0xd60485(0x125)]='module';var a49_0x3c3c25={};a49_0x3c3c25[a49_0xd60485(0x117)]=['userName','accessKey',a49_0xd60485(0x149),'httpsProxy',a49_0xd60485(0x10d),a49_0xd60485(0x165),a49_0xd60485(0x10f),a49_0xd60485(0x126),a49_0xd60485(0xeb),a49_0xd60485(0x12f),a49_0xd60485(0x151)],a49_0x3c3c25[a49_0xd60485(0x150)]=['proxyUser',a49_0xd60485(0xf9),'localProxyUser',a49_0xd60485(0xd6)];var a49_0x3cf836={};a49_0x3cf836['browserstackLocal']=a49_0xd60485(0xe6),a49_0x3cf836['browserStackLocalOptions']='browserStackLocalOptions',a49_0x3cf836[a49_0xd60485(0xde)]=a49_0xd60485(0x150),a49_0x3cf836[a49_0xd60485(0x114)]='parallelsPerPlatform',a49_0x3cf836[a49_0xd60485(0x11e)]=a49_0xd60485(0x11e),a49_0x3cf836['logLevel']=a49_0xd60485(0x136),a49_0x3cf836[a49_0xd60485(0x149)]=a49_0xd60485(0x149),a49_0x3cf836[a49_0xd60485(0x14a)]=a49_0xd60485(0x14a),a49_0x3cf836[a49_0xd60485(0x100)]='framework',a49_0x3cf836[a49_0xd60485(0x158)]=a49_0xd60485(0x158),a49_0x3cf836[a49_0xd60485(0xd7)]=a49_0xd60485(0xd7),a49_0x3cf836[a49_0xd60485(0x120)]=a49_0xd60485(0x120),a49_0x3cf836[a49_0xd60485(0x10d)]='customVariables',a49_0x3cf836[a49_0xd60485(0xf3)]=a49_0xd60485(0xfd),a49_0x3cf836[a49_0xd60485(0xfd)]=a49_0xd60485(0xfd),a49_0x3cf836[a49_0xd60485(0x102)]=a49_0xd60485(0x102),a49_0x3cf836['percy']=a49_0xd60485(0x128),a49_0x3cf836['percyOptions']=a49_0xd60485(0x157),a49_0x3cf836[a49_0xd60485(0x110)]=a49_0xd60485(0x110),a49_0x3cf836[a49_0xd60485(0xfe)]=a49_0xd60485(0xfe),a49_0x3cf836['accessibility']=a49_0xd60485(0xea),a49_0x3cf836[a49_0xd60485(0x152)]=a49_0xd60485(0x152),a49_0x3cf836[a49_0xd60485(0x16e)]=a49_0xd60485(0x16e),a49_0x3cf836[a49_0xd60485(0xfb)]=a49_0xd60485(0xfb),a49_0x3cf836[a49_0xd60485(0xee)]=a49_0xd60485(0xee),a49_0x3cf836['testOrchestrationOptions']=a49_0xd60485(0x124);var a49_0x7c5e93={};a49_0x7c5e93['VERSION']=a49_0x37ed65,a49_0x7c5e93[a49_0xd60485(0x107)]=a49_0x5adc80,a49_0x7c5e93['MOCHA']=a49_0x2a838f,a49_0x7c5e93[a49_0xd60485(0x145)]=a49_0x203c58,a49_0x7c5e93[a49_0xd60485(0x10b)]=a49_0x22e0de,a49_0x7c5e93[a49_0xd60485(0xe0)]=a49_0x39b95b,a49_0x7c5e93[a49_0xd60485(0xdb)]=a49_0x37c8e4,a49_0x7c5e93[a49_0xd60485(0x17e)]=a49_0x45a060,a49_0x7c5e93[a49_0xd60485(0xfa)]=a49_0x44a856,a49_0x7c5e93[a49_0xd60485(0xff)]=a49_0x1c5f9b,a49_0x7c5e93['BSTACK_DELTA']=0xf*0x3c*0x3e8,a49_0x7c5e93[a49_0xd60485(0xf8)]=a49_0xd60485(0x133),a49_0x7c5e93[a49_0xd60485(0x15f)]=a49_0xd60485(0x11b),a49_0x7c5e93[a49_0xd60485(0xd4)]=a49_0xd60485(0x101),a49_0x7c5e93['HUB_URL_REGEX']=/^hub(-[a-z]+)?\.browserstack\.com$/,a49_0x7c5e93[a49_0xd60485(0x138)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a49_0x7c5e93[a49_0xd60485(0x10e)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a49_0x7c5e93[a49_0xd60485(0x104)]=[a49_0xd60485(0x134),'pageLoadStrategy','strictFileInteractability','unhandledPromptBehavior',a49_0xd60485(0x137),'browserName',a49_0xd60485(0x12b),a49_0xd60485(0x143),a49_0xd60485(0x139),a49_0xd60485(0xf0),'firefoxOptions','edgeOptions',a49_0xd60485(0x14f)],a49_0x7c5e93[a49_0xd60485(0x155)]=/^[\w-]+:.*$/,a49_0x7c5e93[a49_0xd60485(0x154)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a49_0x7c5e93[a49_0xd60485(0x129)]=a49_0xd60485(0x15c),a49_0x7c5e93[a49_0xd60485(0x13e)]=a49_0xd60485(0xf6),a49_0x7c5e93[a49_0xd60485(0x162)]=a49_0xd60485(0x168),a49_0x7c5e93['UPDATED_CLI_ENDPOINT']=a49_0xd60485(0xda),a49_0x7c5e93[a49_0xd60485(0x111)]='sdk/v1/event',a49_0x7c5e93[a49_0xd60485(0x153)]=['automate',a49_0xd60485(0x167)],a49_0x7c5e93[a49_0xd60485(0x170)]=['app-automate','observability'],a49_0x7c5e93[a49_0xd60485(0x10c)]=[a49_0xd60485(0x167)],a49_0x7c5e93[a49_0xd60485(0x118)]=a49_0xd60485(0x178),a49_0x7c5e93['OBSERVABILITY_SUPPORTED_FWS']=[a49_0xd60485(0xd5),a49_0xd60485(0x17b)],a49_0x7c5e93[a49_0xd60485(0xe8)]=[a49_0xd60485(0x140)],a49_0x7c5e93['BROWSERSTACK_AUTOMATE_URL']=a49_0xd60485(0xe7),a49_0x7c5e93[a49_0xd60485(0xd8)]=a49_0xd60485(0xe1),a49_0x7c5e93['APP_AUTOMATE']=[a49_0xd60485(0x177)],a49_0x7c5e93[a49_0xd60485(0x14e)]=[a49_0xd60485(0x16b),a49_0xd60485(0xef),a49_0xd60485(0x122),a49_0xd60485(0x156),a49_0xd60485(0x14d),a49_0xd60485(0x17d),a49_0xd60485(0x17a),a49_0xd60485(0x121),a49_0xd60485(0x132),a49_0xd60485(0x113),a49_0xd60485(0x147),a49_0xd60485(0xf7),a49_0xd60485(0x13b),a49_0xd60485(0xf2),a49_0xd60485(0x115),a49_0xd60485(0x166),'ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','ERR_PROXY_CONNECTION_FAILED',a49_0xd60485(0x147),a49_0xd60485(0x105),'ERR_MANDATORY_PROXY_CONFIGURATION_FAILED'],a49_0x7c5e93[a49_0xd60485(0xec)]=[a49_0xd60485(0x13c),'.aab',a49_0xd60485(0x12d)],a49_0x7c5e93[a49_0xd60485(0x14b)]=a49_0xd60485(0x176),a49_0x7c5e93[a49_0xd60485(0xe9)]='^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$',a49_0x7c5e93[a49_0xd60485(0x160)]=a49_0xd60485(0xfc),a49_0x7c5e93['PLAYWRIGHT_HUB_URL']=a49_0xd60485(0x116),a49_0x7c5e93['FRAMEWORKS']=a49_0x46c9c4,a49_0x7c5e93[a49_0xd60485(0x112)]=[a49_0xd60485(0xd9),a49_0xd60485(0xd5)],a49_0x7c5e93[a49_0xd60485(0x12c)]=a49_0x5c42af,a49_0x7c5e93[a49_0xd60485(0x106)]='Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.',a49_0x7c5e93['PACKAGE_TYPE']=a49_0x2ec7aa,a49_0x7c5e93[a49_0xd60485(0x130)]=0x40*0x400,a49_0x7c5e93[a49_0xd60485(0x131)]=a49_0xd60485(0x14c),a49_0x7c5e93[a49_0xd60485(0x174)]=a49_0xd60485(0xd3),a49_0x7c5e93[a49_0xd60485(0xdc)]=a49_0xd60485(0xe2),a49_0x7c5e93[a49_0xd60485(0x16a)]=a49_0xd60485(0xed),a49_0x7c5e93[a49_0xd60485(0x173)]=a49_0xd60485(0x175),a49_0x7c5e93[a49_0xd60485(0x11c)]=a49_0xd60485(0x17f),a49_0x7c5e93[a49_0xd60485(0x164)]=a49_0xd60485(0xe3),a49_0x7c5e93[a49_0xd60485(0x12a)]=a49_0xd60485(0xe4),a49_0x7c5e93[a49_0xd60485(0x16f)]=0x1388,a49_0x7c5e93[a49_0xd60485(0x13f)]=0x1388,a49_0x7c5e93[a49_0xd60485(0x179)]=0x1388,a49_0x7c5e93[a49_0xd60485(0x108)]=0x1388,a49_0x7c5e93[a49_0xd60485(0x15b)]=0xc350,a49_0x7c5e93['REDACTED_KEYS']=a49_0x3c3c25,a49_0x7c5e93[a49_0xd60485(0x11f)]=[a49_0xd60485(0x142),a49_0xd60485(0x148)],a49_0x7c5e93['SDK_INSTRUMENTATION_CONFIG']=a49_0x3cf836,a49_0x7c5e93['LOG_FILE_NAME']=a49_0xd60485(0x15a),a49_0x7c5e93[a49_0xd60485(0x16c)]='/usage-debug.log',a49_0x7c5e93['CLI_SUPPORTED_FRAMEWORKS']=[a49_0xd60485(0xdf)],a49_0x7c5e93['PLAYWRIGHT_TRACE_LOGS']=a49_0xd60485(0x119),module[a49_0xd60485(0x146)]=a49_0x7c5e93;
@@ -1 +1 @@
1
- function a50_0x2c5e(_0x275030,_0x3b6ae5){const _0x320c5a=a50_0x320c();return a50_0x2c5e=function(_0x2c5e80,_0x1bdef1){_0x2c5e80=_0x2c5e80-0x83;let _0x449ac3=_0x320c5a[_0x2c5e80];return _0x449ac3;},a50_0x2c5e(_0x275030,_0x3b6ae5);}(function(_0x517ce1,_0xaef0bc){const _0x58ae2e=a50_0x2c5e,_0x7f1c45=_0x517ce1();while(!![]){try{const _0x3a643a=-parseInt(_0x58ae2e(0x8c))/0x1+parseInt(_0x58ae2e(0x94))/0x2*(-parseInt(_0x58ae2e(0x8e))/0x3)+-parseInt(_0x58ae2e(0x90))/0x4+parseInt(_0x58ae2e(0x84))/0x5+-parseInt(_0x58ae2e(0x8d))/0x6*(-parseInt(_0x58ae2e(0x8f))/0x7)+parseInt(_0x58ae2e(0x8b))/0x8*(-parseInt(_0x58ae2e(0x91))/0x9)+-parseInt(_0x58ae2e(0x86))/0xa*(-parseInt(_0x58ae2e(0x85))/0xb);if(_0x3a643a===_0xaef0bc)break;else _0x7f1c45['push'](_0x7f1c45['shift']());}catch(_0x59ede6){_0x7f1c45['push'](_0x7f1c45['shift']());}}}(a50_0x320c,0x520f4));const logReportingAPI=require('./logReportingAPI'),BSTestOpsLogger=new logReportingAPI({});function a50_0x320c(){const _0xc1e38e=['layout','3135200ajkJTB','231699wDiofG','9354IJGZGv','52257vLkdIt','1638GXkiCK','838692sCdAsn','9fvcxuv','timezoneOffset','data','34ycWAaO','colouredLayout','join','2691865zUzkEN','132lVqFLX','468610yvsIuR','level','gWnmu','type'];a50_0x320c=function(){return _0xc1e38e;};return a50_0x320c();}function BSTestOpsLog4JSAppender(_0x12c86d,_0x5f4326){return _0x189ff9=>{const _0x57a894=a50_0x2c5e;BSTestOpsLogger['log']({'level':_0x189ff9[_0x57a894(0x87)]?_0x189ff9[_0x57a894(0x87)]['levelStr']:null,'message':_0x189ff9[_0x57a894(0x93)]?_0x189ff9[_0x57a894(0x93)][_0x57a894(0x83)]('\x20'):null});};}exports['configure']=(_0x455c18,_0x1204c4)=>{const _0x321a03=a50_0x2c5e,_0x329427={'gWnmu':function(_0x29bcd2,_0x256517,_0x16254c){return _0x29bcd2(_0x256517,_0x16254c);}};let _0x355f95=_0x1204c4[_0x321a03(0x95)];return _0x455c18['layout']&&(_0x355f95=_0x1204c4['layout'](_0x455c18[_0x321a03(0x8a)][_0x321a03(0x89)],_0x455c18[_0x321a03(0x8a)])),_0x329427[_0x321a03(0x88)](BSTestOpsLog4JSAppender,_0x355f95,_0x455c18[_0x321a03(0x92)]);};
1
+ const a50_0x366d75=a50_0x4b38;(function(_0x5ad765,_0x2faae2){const _0x329fef=a50_0x4b38,_0x53a658=_0x5ad765();while(!![]){try{const _0x102ef6=-parseInt(_0x329fef(0xef))/0x1+parseInt(_0x329fef(0xe5))/0x2+parseInt(_0x329fef(0xe8))/0x3+parseInt(_0x329fef(0xea))/0x4*(-parseInt(_0x329fef(0xee))/0x5)+-parseInt(_0x329fef(0xf6))/0x6+parseInt(_0x329fef(0xf7))/0x7*(parseInt(_0x329fef(0xf8))/0x8)+-parseInt(_0x329fef(0xe9))/0x9*(parseInt(_0x329fef(0xf4))/0xa);if(_0x102ef6===_0x2faae2)break;else _0x53a658['push'](_0x53a658['shift']());}catch(_0x403a9b){_0x53a658['push'](_0x53a658['shift']());}}}(a50_0xc0b0,0xa2bcc));function a50_0xc0b0(){const _0x4ee558=['20610jyNrvq','data','1187826yuTtLe','1435VCMMSW','36616IVIuVZ','2045228PSYbbF','type','colouredLayout','3985188DPDnVv','6633bSLyDY','4wcmgGb','./logReportingAPI','log','join','2634010fdjazs','378993bssUtj','levelStr','timezoneOffset','level','layout'];a50_0xc0b0=function(){return _0x4ee558;};return a50_0xc0b0();}const logReportingAPI=require(a50_0x366d75(0xeb)),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0x59769b,_0x25ca39){return _0x560079=>{const _0x3a881f=a50_0x4b38;BSTestOpsLogger[_0x3a881f(0xec)]({'level':_0x560079['level']?_0x560079[_0x3a881f(0xf2)][_0x3a881f(0xf0)]:null,'message':_0x560079[_0x3a881f(0xf5)]?_0x560079[_0x3a881f(0xf5)][_0x3a881f(0xed)]('\x20'):null});};}function a50_0x4b38(_0x508da4,_0x526c21){const _0xc0b0b2=a50_0xc0b0();return a50_0x4b38=function(_0x4b3838,_0x4e3dd1){_0x4b3838=_0x4b3838-0xe5;let _0x196c27=_0xc0b0b2[_0x4b3838];return _0x196c27;},a50_0x4b38(_0x508da4,_0x526c21);}exports['configure']=(_0x5cc705,_0x43e47d)=>{const _0xf06025=a50_0x366d75,_0x12b234={'hRmMr':function(_0x4928fc,_0x5b1d75,_0x22e123){return _0x4928fc(_0x5b1d75,_0x22e123);}};let _0x16aca6=_0x43e47d[_0xf06025(0xe7)];return _0x5cc705[_0xf06025(0xf3)]&&(_0x16aca6=_0x43e47d[_0xf06025(0xf3)](_0x5cc705['layout'][_0xf06025(0xe6)],_0x5cc705[_0xf06025(0xf3)])),_0x12b234['hRmMr'](BSTestOpsLog4JSAppender,_0x16aca6,_0x5cc705[_0xf06025(0xf1)]);};
@@ -1 +1 @@
1
- const a51_0xd4ffe6=a51_0x563c;(function(_0x4831b3,_0x318531){const _0x487861=a51_0x563c,_0x57b7b7=_0x4831b3();while(!![]){try{const _0x5b00de=parseInt(_0x487861(0x134))/0x1*(-parseInt(_0x487861(0x130))/0x2)+parseInt(_0x487861(0x12d))/0x3+parseInt(_0x487861(0x14c))/0x4+parseInt(_0x487861(0x13c))/0x5*(-parseInt(_0x487861(0x140))/0x6)+-parseInt(_0x487861(0x13a))/0x7*(parseInt(_0x487861(0x143))/0x8)+-parseInt(_0x487861(0x145))/0x9*(parseInt(_0x487861(0x131))/0xa)+parseInt(_0x487861(0x136))/0xb*(parseInt(_0x487861(0x149))/0xc);if(_0x5b00de===_0x318531)break;else _0x57b7b7['push'](_0x57b7b7['shift']());}catch(_0x4fce94){_0x57b7b7['push'](_0x57b7b7['shift']());}}}(a51_0x16ca,0xcad83));const Transport=require(a51_0xd4ffe6(0x13e)),{consoleHolder}=require(a51_0xd4ffe6(0x144)),a51_0x3a8474={};function a51_0x563c(_0x1cf1d7,_0x41a892){const _0x16ca2=a51_0x16ca();return a51_0x563c=function(_0x563cdb,_0x2581b6){_0x563cdb=_0x563cdb-0x12c;let _0xe707f8=_0x16ca2[_0x563cdb];return _0xe707f8;},a51_0x563c(_0x1cf1d7,_0x41a892);}a51_0x3a8474['INFO']=a51_0xd4ffe6(0x137),a51_0x3a8474['ERROR']=a51_0xd4ffe6(0x133),a51_0x3a8474[a51_0xd4ffe6(0x139)]=a51_0xd4ffe6(0x139),a51_0x3a8474['TRACE']=a51_0xd4ffe6(0x14d),a51_0x3a8474[a51_0xd4ffe6(0x12f)]=a51_0xd4ffe6(0x12f);const LOG_LEVELS=a51_0x3a8474;class logPatcher extends Transport{constructor(_0x2f9b29){super(_0x2f9b29);}[a51_0xd4ffe6(0x146)]=(_0x28d250=LOG_LEVELS['INFO'],_0x1aed1c=[''])=>{const _0x11d382=a51_0xd4ffe6,_0x3ce806={};_0x3ce806['cJVKe']=_0x11d382(0x12c);const _0x40abba=_0x3ce806;consoleHolder[_0x28d250[_0x11d382(0x135)]()](..._0x1aed1c),process[_0x11d382(0x14b)](_0x11d382(0x13f)+process[_0x11d382(0x12e)],{'timestamp':new Date()[_0x11d382(0x142)](),'level':_0x28d250[_0x11d382(0x138)](),'message':'\x22'+_0x1aed1c[_0x11d382(0x141)](',\x20')+'\x22','kind':_0x40abba[_0x11d382(0x13d)],'http_response':{}});};[a51_0xd4ffe6(0x148)]=(..._0x4efaf0)=>{const _0x42cddc=a51_0xd4ffe6;this[_0x42cddc(0x146)](LOG_LEVELS[_0x42cddc(0x14d)],_0x4efaf0);};['debug']=(..._0x14e000)=>{const _0x1f1f3f=a51_0xd4ffe6;this['logToTestOps'](LOG_LEVELS[_0x1f1f3f(0x139)],_0x14e000);};[a51_0xd4ffe6(0x132)]=(..._0x1e4453)=>{const _0x261b71=a51_0xd4ffe6;this[_0x261b71(0x146)](LOG_LEVELS[_0x261b71(0x137)],_0x1e4453);};['warn']=(..._0x35f61e)=>{const _0x293423=a51_0xd4ffe6;this[_0x293423(0x146)](LOG_LEVELS[_0x293423(0x12f)],_0x35f61e);};[a51_0xd4ffe6(0x147)]=(..._0x47cac8)=>{const _0x355f11=a51_0xd4ffe6;this[_0x355f11(0x146)](LOG_LEVELS['ERROR'],_0x47cac8);};[a51_0xd4ffe6(0x13b)]=(..._0x566ae4)=>{const _0x1b51be=a51_0xd4ffe6;this[_0x1b51be(0x146)](LOG_LEVELS[_0x1b51be(0x137)],_0x566ae4);};};module[a51_0xd4ffe6(0x14a)]=logPatcher;function a51_0x16ca(){const _0x2e4ab2=['INFO','toUpperCase','DEBUG','35UfrVbx','log','201715obZSGl','cJVKe','winston-transport','bs:addLog:','66FOFxiP','join','toISOString','340104ccItKS','../../helpers/test-observability/constants','4914297bEGjYm','logToTestOps','error','trace','252zkWyBM','exports','emit','3474216UwhrIm','TRACE','TEST_LOG','3431187VapseV','pid','WARN','46HlJfLb','30kRZiWs','info','ERROR','11159KivoBi','toLowerCase','717442AhNCKE'];a51_0x16ca=function(){return _0x2e4ab2;};return a51_0x16ca();}
1
+ const a51_0x57e160=a51_0x29e5;(function(_0x3c0c16,_0x404f78){const _0x5e05b6=a51_0x29e5,_0x37c187=_0x3c0c16();while(!![]){try{const _0x26c01d=parseInt(_0x5e05b6(0xa4))/0x1*(parseInt(_0x5e05b6(0xa6))/0x2)+-parseInt(_0x5e05b6(0x8f))/0x3+-parseInt(_0x5e05b6(0x8b))/0x4+-parseInt(_0x5e05b6(0x91))/0x5*(parseInt(_0x5e05b6(0xa7))/0x6)+-parseInt(_0x5e05b6(0x8a))/0x7*(parseInt(_0x5e05b6(0xa5))/0x8)+parseInt(_0x5e05b6(0x99))/0x9*(-parseInt(_0x5e05b6(0xa0))/0xa)+parseInt(_0x5e05b6(0xa3))/0xb;if(_0x26c01d===_0x404f78)break;else _0x37c187['push'](_0x37c187['shift']());}catch(_0x2ab508){_0x37c187['push'](_0x37c187['shift']());}}}(a51_0x5d1a,0x888e4));const Transport=require(a51_0x57e160(0x9c)),{consoleHolder}=require(a51_0x57e160(0x98)),a51_0x5f2abe={};function a51_0x5d1a(){const _0x3e1bfc=['4437672HpznVC','log','join','warn','2491395WahFxf','pid','5naWWqF','ERROR','exports','DEBUG','trace','TEST_LOG','error','../../helpers/test-observability/constants','2479509eSzmjR','WARN','TRACE','winston-transport','toISOString','info','debug','10txRoQs','toUpperCase','emit','41736893HxXwXF','10kiPLRh','72kmjUTl','40276IHzZDv','5524230rLXSOh','toLowerCase','INFO','logToTestOps','233506LbKtwR'];a51_0x5d1a=function(){return _0x3e1bfc;};return a51_0x5d1a();}a51_0x5f2abe['INFO']='INFO',a51_0x5f2abe[a51_0x57e160(0x92)]=a51_0x57e160(0x92),a51_0x5f2abe[a51_0x57e160(0x94)]=a51_0x57e160(0x94),a51_0x5f2abe[a51_0x57e160(0x9b)]=a51_0x57e160(0x9b),a51_0x5f2abe[a51_0x57e160(0x9a)]='WARN';const LOG_LEVELS=a51_0x5f2abe;class logPatcher extends Transport{constructor(_0x59fb8d){super(_0x59fb8d);}[a51_0x57e160(0x89)]=(_0x3611df=LOG_LEVELS[a51_0x57e160(0xa9)],_0x3d36b6=[''])=>{const _0x3ea3eb=a51_0x57e160,_0x5bbca0={};_0x5bbca0['AeQfH']=_0x3ea3eb(0x96);const _0x5f31ee=_0x5bbca0;consoleHolder[_0x3611df[_0x3ea3eb(0xa8)]()](..._0x3d36b6),process[_0x3ea3eb(0xa2)]('bs:addLog:'+process[_0x3ea3eb(0x90)],{'timestamp':new Date()[_0x3ea3eb(0x9d)](),'level':_0x3611df[_0x3ea3eb(0xa1)](),'message':'\x22'+_0x3d36b6[_0x3ea3eb(0x8d)](',\x20')+'\x22','kind':_0x5f31ee['AeQfH'],'http_response':{}});};[a51_0x57e160(0x95)]=(..._0x180409)=>{this['logToTestOps'](LOG_LEVELS['TRACE'],_0x180409);};[a51_0x57e160(0x9f)]=(..._0x37d294)=>{const _0x5cc3bb=a51_0x57e160;this['logToTestOps'](LOG_LEVELS[_0x5cc3bb(0x94)],_0x37d294);};[a51_0x57e160(0x9e)]=(..._0x363b1a)=>{const _0x2d237f=a51_0x57e160;this['logToTestOps'](LOG_LEVELS[_0x2d237f(0xa9)],_0x363b1a);};[a51_0x57e160(0x8e)]=(..._0x319cad)=>{const _0x299561=a51_0x57e160;this[_0x299561(0x89)](LOG_LEVELS['WARN'],_0x319cad);};[a51_0x57e160(0x97)]=(..._0x3cd8b6)=>{const _0x1dc959=a51_0x57e160;this[_0x1dc959(0x89)](LOG_LEVELS[_0x1dc959(0x92)],_0x3cd8b6);};[a51_0x57e160(0x8c)]=(..._0x494d6a)=>{const _0x46e542=a51_0x57e160;this['logToTestOps'](LOG_LEVELS[_0x46e542(0xa9)],_0x494d6a);};}function a51_0x29e5(_0x10b9ca,_0x107f38){const _0x5d1ad1=a51_0x5d1a();return a51_0x29e5=function(_0x29e56b,_0x5cf146){_0x29e56b=_0x29e56b-0x89;let _0x2bb004=_0x5d1ad1[_0x29e56b];return _0x2bb004;},a51_0x29e5(_0x10b9ca,_0x107f38);};module[a51_0x57e160(0x93)]=logPatcher;
@@ -1 +1 @@
1
- const a52_0x328ceb=a52_0x5676;function a52_0x5676(_0x1b61e7,_0x5205e5){const _0x32792a=a52_0x3279();return a52_0x5676=function(_0x5676da,_0x113fe4){_0x5676da=_0x5676da-0xce;let _0x19d352=_0x32792a[_0x5676da];return _0x19d352;},a52_0x5676(_0x1b61e7,_0x5205e5);}(function(_0x1ea630,_0x29fcc4){const _0x5c6ee9=a52_0x5676,_0x5be37a=_0x1ea630();while(!![]){try{const _0x14bb3d=-parseInt(_0x5c6ee9(0xd9))/0x1+parseInt(_0x5c6ee9(0xd4))/0x2*(parseInt(_0x5c6ee9(0xe8))/0x3)+parseInt(_0x5c6ee9(0xf0))/0x4*(-parseInt(_0x5c6ee9(0xd2))/0x5)+-parseInt(_0x5c6ee9(0xda))/0x6*(-parseInt(_0x5c6ee9(0xe4))/0x7)+-parseInt(_0x5c6ee9(0xdc))/0x8+-parseInt(_0x5c6ee9(0xd7))/0x9*(-parseInt(_0x5c6ee9(0xe0))/0xa)+parseInt(_0x5c6ee9(0xea))/0xb;if(_0x14bb3d===_0x29fcc4)break;else _0x5be37a['push'](_0x5be37a['shift']());}catch(_0x1b8eee){_0x5be37a['push'](_0x5be37a['shift']());}}}(a52_0x3279,0xe1d26));function a52_0x3279(){const _0x56a31f=['TRACE','3651575PDtehP','emit','665516kIHUqb','exports','INFO','279MeOauH','TEST_LOG','1067095INhraJ','2689110MqLcTo','jLvyL','4605144HMLkiS','uaEDi','NfRbz','DEBUG','249430BktguK','error','trace','winston-transport','28TnNlWO','debug','pid','xqGoQ','3tPtBEQ','object','12425633iyeDQd','info','message','logged','bs:addLog:','WARN','8LSVdKR','BshZN','logToTestOps','toISOString','ERROR','czbgI'];a52_0x3279=function(){return _0x56a31f;};return a52_0x3279();}const Transport=require(a52_0x328ceb(0xe3)),{consoleHolder}=require('../../helpers/test-observability/constants'),a52_0x38896d={};a52_0x38896d[a52_0x328ceb(0xd6)]='INFO',a52_0x38896d[a52_0x328ceb(0xcf)]=a52_0x328ceb(0xcf),a52_0x38896d['DEBUG']='DEBUG',a52_0x38896d[a52_0x328ceb(0xd1)]=a52_0x328ceb(0xd1),a52_0x38896d[a52_0x328ceb(0xef)]='WARN';const LOG_LEVELS=a52_0x38896d;class logReportingAPI extends Transport{constructor(_0x358f2c){super(_0x358f2c);}['log'](_0x180eba,_0x2d377c){const _0x52ae54=a52_0x328ceb,_0x1647ef={'NfRbz':_0x52ae54(0xed),'czbgI':function(_0x550b36,_0x8ca4d5){return _0x550b36(_0x8ca4d5);},'BshZN':function(_0x2da263,_0x45f81f){return _0x2da263===_0x45f81f;},'uaEDi':_0x52ae54(0xe9),'xqGoQ':function(_0x5e58aa){return _0x5e58aa();}};_0x1647ef[_0x52ae54(0xd0)](setImmediate,()=>{const _0x1bc6a6=_0x52ae54;this[_0x1bc6a6(0xd3)](_0x1647ef[_0x1bc6a6(0xde)],_0x180eba);}),_0x1647ef[_0x52ae54(0xf1)](typeof _0x180eba,_0x1647ef[_0x52ae54(0xdd)])?this[_0x52ae54(0xf2)](_0x180eba['level']||LOG_LEVELS[_0x52ae54(0xd6)],_0x180eba[_0x52ae54(0xec)],![]):this[_0x52ae54(0xf2)](LOG_LEVELS[_0x52ae54(0xd6)],_0x180eba),_0x2d377c&&_0x1647ef[_0x52ae54(0xe7)](_0x2d377c);}['logToTestOps']=(_0x1fc3b7=LOG_LEVELS['INFO'],_0x5a45aa='',_0x2e2d69=!![])=>{const _0x4b1891=a52_0x328ceb,_0x16893d={};_0x16893d['jLvyL']=_0x4b1891(0xd8);const _0x36da61=_0x16893d;_0x2e2d69&&consoleHolder[_0x1fc3b7['toLowerCase']()](_0x5a45aa),process[_0x4b1891(0xd3)](_0x4b1891(0xee)+process[_0x4b1891(0xe6)],{'timestamp':new Date()[_0x4b1891(0xce)](),'level':_0x1fc3b7['toUpperCase'](),'message':_0x5a45aa,'kind':_0x36da61[_0x4b1891(0xdb)],'http_response':{}});};[a52_0x328ceb(0xe2)]=(_0x2d0794,_0x54b37b)=>{const _0x2d3cb4=a52_0x328ceb;this[_0x2d3cb4(0xf2)](LOG_LEVELS['TRACE'],_0x2d0794);};[a52_0x328ceb(0xe5)]=(_0x3a2b12,_0x369846)=>{const _0x4aa097=a52_0x328ceb;this[_0x4aa097(0xf2)](LOG_LEVELS[_0x4aa097(0xdf)],_0x3a2b12);};[a52_0x328ceb(0xeb)]=(_0x137e1e,_0x2e398c)=>{const _0xef4d5e=a52_0x328ceb;this['logToTestOps'](LOG_LEVELS[_0xef4d5e(0xd6)],_0x137e1e);};['warn']=(_0x1fcab0,_0x106f29)=>{const _0x10fd09=a52_0x328ceb;this[_0x10fd09(0xf2)](LOG_LEVELS[_0x10fd09(0xef)],_0x1fcab0);};[a52_0x328ceb(0xe1)]=(_0x7c0fc4,_0x1f83fe)=>{const _0x5840cc=a52_0x328ceb;this[_0x5840cc(0xf2)](LOG_LEVELS[_0x5840cc(0xcf)],_0x7c0fc4);};};module[a52_0x328ceb(0xd5)]=logReportingAPI;
1
+ const a52_0x2d30b3=a52_0x48b9;function a52_0x48b9(_0x3d869e,_0x2822f1){const _0x1a44f2=a52_0x1a44();return a52_0x48b9=function(_0x48b9b8,_0xefb8a4){_0x48b9b8=_0x48b9b8-0x10d;let _0x4ac360=_0x1a44f2[_0x48b9b8];return _0x4ac360;},a52_0x48b9(_0x3d869e,_0x2822f1);}(function(_0x38e1bb,_0x3014b4){const _0x984bc0=a52_0x48b9,_0x3c131a=_0x38e1bb();while(!![]){try{const _0x193875=parseInt(_0x984bc0(0x12c))/0x1+-parseInt(_0x984bc0(0x125))/0x2+parseInt(_0x984bc0(0x116))/0x3+parseInt(_0x984bc0(0x127))/0x4*(parseInt(_0x984bc0(0x124))/0x5)+-parseInt(_0x984bc0(0x126))/0x6+-parseInt(_0x984bc0(0x10d))/0x7*(-parseInt(_0x984bc0(0x112))/0x8)+-parseInt(_0x984bc0(0x118))/0x9*(-parseInt(_0x984bc0(0x11b))/0xa);if(_0x193875===_0x3014b4)break;else _0x3c131a['push'](_0x3c131a['shift']());}catch(_0x3f1e4b){_0x3c131a['push'](_0x3c131a['shift']());}}}(a52_0x1a44,0x8af0c));const Transport=require(a52_0x2d30b3(0x129)),{consoleHolder}=require(a52_0x2d30b3(0x11a)),a52_0xb3f8ae={};a52_0xb3f8ae['INFO']=a52_0x2d30b3(0x119),a52_0xb3f8ae[a52_0x2d30b3(0x110)]='ERROR',a52_0xb3f8ae[a52_0x2d30b3(0x11f)]=a52_0x2d30b3(0x11f),a52_0xb3f8ae['TRACE']=a52_0x2d30b3(0x10e),a52_0xb3f8ae[a52_0x2d30b3(0x122)]=a52_0x2d30b3(0x122);const LOG_LEVELS=a52_0xb3f8ae;function a52_0x1a44(){const _0x240dc5=['iuclC','info','1000960lLUBed','fefwc','logged','182QLqtXZ','TRACE','toLowerCase','ERROR','TEST_LOG','11464nGYkIy','exports','log','trace','344829cYUvgw','eZLLk','819pLfGiu','INFO','../../helpers/test-observability/constants','50210OBRmiU','BoKhG','level','debug','DEBUG','pJZMU','logToTestOps','WARN','toISOString','167290fTeWDk','1835902IRhnwS','5355330nNRqJL','92TOcpVF','emit','winston-transport'];a52_0x1a44=function(){return _0x240dc5;};return a52_0x1a44();}class logReportingAPI extends Transport{constructor(_0x236668){super(_0x236668);}[a52_0x2d30b3(0x114)](_0x372365,_0x26d127){const _0x1fc945=a52_0x2d30b3,_0x5d1d9a={'iuclC':_0x1fc945(0x12e),'BoKhG':function(_0x432966,_0x2a7351){return _0x432966(_0x2a7351);},'eZLLk':function(_0xcf8986,_0x25cf67){return _0xcf8986===_0x25cf67;},'pJZMU':'object','UCtur':function(_0x1df127){return _0x1df127();}};_0x5d1d9a[_0x1fc945(0x11c)](setImmediate,()=>{const _0x5d3e91=_0x1fc945;this[_0x5d3e91(0x128)](_0x5d1d9a[_0x5d3e91(0x12a)],_0x372365);}),_0x5d1d9a[_0x1fc945(0x117)](typeof _0x372365,_0x5d1d9a[_0x1fc945(0x120)])?this['logToTestOps'](_0x372365[_0x1fc945(0x11d)]||LOG_LEVELS[_0x1fc945(0x119)],_0x372365['message'],![]):this[_0x1fc945(0x121)](LOG_LEVELS['INFO'],_0x372365),_0x26d127&&_0x5d1d9a['UCtur'](_0x26d127);}[a52_0x2d30b3(0x121)]=(_0x3a1e67=LOG_LEVELS[a52_0x2d30b3(0x119)],_0x5aad4e='',_0x71dc6c=!![])=>{const _0xd36fe9=a52_0x2d30b3,_0x46528f={};_0x46528f[_0xd36fe9(0x12d)]=_0xd36fe9(0x111);const _0x239630=_0x46528f;_0x71dc6c&&consoleHolder[_0x3a1e67[_0xd36fe9(0x10f)]()](_0x5aad4e),process[_0xd36fe9(0x128)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0xd36fe9(0x123)](),'level':_0x3a1e67['toUpperCase'](),'message':_0x5aad4e,'kind':_0x239630[_0xd36fe9(0x12d)],'http_response':{}});};[a52_0x2d30b3(0x115)]=(_0x57f91c,_0x6d0408)=>{const _0x3fc50c=a52_0x2d30b3;this[_0x3fc50c(0x121)](LOG_LEVELS['TRACE'],_0x57f91c);};[a52_0x2d30b3(0x11e)]=(_0x19c36f,_0x255bd9)=>{const _0x145956=a52_0x2d30b3;this[_0x145956(0x121)](LOG_LEVELS[_0x145956(0x11f)],_0x19c36f);};[a52_0x2d30b3(0x12b)]=(_0x4b8d49,_0x4927a1)=>{const _0x4c48cf=a52_0x2d30b3;this['logToTestOps'](LOG_LEVELS[_0x4c48cf(0x119)],_0x4b8d49);};['warn']=(_0xbd10ca,_0x6283db)=>{const _0x3349f6=a52_0x2d30b3;this[_0x3349f6(0x121)](LOG_LEVELS['WARN'],_0xbd10ca);};['error']=(_0x42e7fc,_0x7b4fb1)=>{const _0x291197=a52_0x2d30b3;this[_0x291197(0x121)](LOG_LEVELS['ERROR'],_0x42e7fc);};};module[a52_0x2d30b3(0x113)]=logReportingAPI;
@@ -0,0 +1 @@
1
+ const a53_0x3e1676=a53_0x2836;(function(_0x3d610a,_0x2b2b2b){const _0x5421c8=a53_0x2836,_0x3ef49d=_0x3d610a();while(!![]){try{const _0x146371=parseInt(_0x5421c8(0xf5))/0x1+parseInt(_0x5421c8(0xf6))/0x2+parseInt(_0x5421c8(0xc5))/0x3*(-parseInt(_0x5421c8(0xd6))/0x4)+-parseInt(_0x5421c8(0xde))/0x5+-parseInt(_0x5421c8(0xd1))/0x6*(parseInt(_0x5421c8(0xe7))/0x7)+-parseInt(_0x5421c8(0x10d))/0x8+-parseInt(_0x5421c8(0xfe))/0x9*(-parseInt(_0x5421c8(0x127))/0xa);if(_0x146371===_0x2b2b2b)break;else _0x3ef49d['push'](_0x3ef49d['shift']());}catch(_0x11d778){_0x3ef49d['push'](_0x3ef49d['shift']());}}}(a53_0x351d,0x3aa8e));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a53_0x3e1676(0x12b)),{TEMP_STORE_DIR_NAME}=require('../../helpers/test-observability/constants'),{nestedKeyValue}=require('../../helpers/helper'),logger=require(a53_0x3e1676(0xd0))[a53_0x3e1676(0x11f)],util=require('util'),helper=require(a53_0x3e1676(0x10e)),{createClassLogger}=require(a53_0x3e1676(0xf0)),lockfile=require(a53_0x3e1676(0xe5));class TestInfo{static ['tests']={};static [a53_0x3e1676(0xda)]=TestInfo[a53_0x3e1676(0x10f)]();static [a53_0x3e1676(0xf7)]=path[a53_0x3e1676(0x125)](TestInfo['dirPath'],a53_0x3e1676(0x114));['logger']=createClassLogger(a53_0x3e1676(0x100));static['setup'](){const _0x1a30d1=a53_0x3e1676,_0x5273c3={};_0x5273c3[_0x1a30d1(0x128)]=_0x1a30d1(0x123),_0x5273c3['OSgwc']=_0x1a30d1(0x114);const _0x1bfd16=_0x5273c3,_0x2273d3=_0x1bfd16[_0x1a30d1(0x128)][_0x1a30d1(0xe4)]('|');let _0x141f25=0x0;while(!![]){switch(_0x2273d3[_0x141f25++]){case'0':logger[_0x1a30d1(0x116)](_0x1a30d1(0xfb)+this[_0x1a30d1(0xda)]);continue;case'1':const _0x76a8e2={};_0x76a8e2[_0x1a30d1(0x115)]=!![],fs[_0x1a30d1(0x110)](this['dirPath'],_0x76a8e2);continue;case'2':const _0x9b7ed2={};_0x9b7ed2[_0x1a30d1(0x115)]=!![],fs['mkdirSync'](this['traceZipDir'],_0x9b7ed2);continue;case'3':this['dirPath']=TestInfo[_0x1a30d1(0x10f)]();continue;case'4':this[_0x1a30d1(0xe3)]();continue;case'5':this[_0x1a30d1(0xf7)]=path[_0x1a30d1(0x125)](this['dirPath'],_0x1bfd16[_0x1a30d1(0xce)]);continue;}break;}}static[a53_0x3e1676(0x10f)](){const _0x17d824=a53_0x3e1676,_0x136410={};_0x136410[_0x17d824(0x107)]=function(_0x501030,_0x369308){return _0x501030+_0x369308;},_0x136410['Siowz']=function(_0x2f853f,_0x3e4a1e){return _0x2f853f+_0x3e4a1e;};const _0x554b56=_0x136410;return _0x554b56['hGavi'](_0x554b56[_0x17d824(0xcd)](TEMP_STORE_DIR_NAME,'-'),process[_0x17d824(0x122)][_0x17d824(0xdc)]);}static[a53_0x3e1676(0xc2)](){const _0xb66210=a53_0x3e1676,_0x45d71a={};_0x45d71a['CwdYv']=function(_0x254b1c,_0x22f5cf){return _0x254b1c+_0x22f5cf;},_0x45d71a[_0xb66210(0x112)]=_0xb66210(0x105);const _0x3b79fb=_0x45d71a;return path['join'](_0x3b79fb['CwdYv'](_0x3b79fb[_0xb66210(0x101)](TEMP_STORE_DIR_NAME,'-'),process[_0xb66210(0x122)][_0xb66210(0xdc)]||_0x3b79fb[_0xb66210(0x112)]));}static['getTraceZipDir'](){const _0x56e757=a53_0x3e1676,_0x29b578={};_0x29b578['qMNUN']=_0x56e757(0x114);const _0x2a251f=_0x29b578;return path[_0x56e757(0x125)](this['getStoreDirPath'](),_0x2a251f[_0x56e757(0xec)]);}static[a53_0x3e1676(0xdd)](_0x2d4b4a){const _0x5b10d9=a53_0x3e1676,_0x5f3b0c={};_0x5f3b0c[_0x5b10d9(0x121)]=function(_0x19025d,_0x5cffab){return _0x19025d+_0x5cffab;},_0x5f3b0c[_0x5b10d9(0xed)]=_0x5b10d9(0xc7);const _0x512047=_0x5f3b0c;return path[_0x5b10d9(0x125)](this[_0x5b10d9(0xda)],_0x512047[_0x5b10d9(0x121)](_0x2d4b4a,_0x512047['pamdM']));}static['getTestRunIdFromTestInfo'](_0x295a8e){const _0x11aa76=a53_0x3e1676,_0x166d89={};_0x166d89[_0x11aa76(0x129)]=function(_0x2077a3,_0x5a5bc8){return _0x2077a3+_0x5a5bc8;},_0x166d89[_0x11aa76(0xd4)]=function(_0x4c13d0,_0x1bba21){return _0x4c13d0+_0x1bba21;};const _0x46dc21=_0x166d89;return _0x46dc21[_0x11aa76(0x129)](_0x46dc21['pADjJ'](_0x46dc21[_0x11aa76(0xd4)](_0x46dc21[_0x11aa76(0xd4)](this[_0x11aa76(0xc9)](_0x295a8e),'-'),this[_0x11aa76(0xc4)](_0x295a8e)),'-'),_0x295a8e['retry']);}static[a53_0x3e1676(0xc9)](_0x26920a){const _0x88d8f6=a53_0x3e1676,_0x41e77f={'bqRmg':function(_0x2f996c,_0x5de57f,_0x3c3d79){return _0x2f996c(_0x5de57f,_0x3c3d79);},'ZQXjG':_0x88d8f6(0xf2),'Lhstx':_0x88d8f6(0xd3),'PoEIA':function(_0x5896b,_0x1fc6fd,_0x4e55e5){return _0x5896b(_0x1fc6fd,_0x4e55e5);},'kfKNx':_0x88d8f6(0xd7),'xsBuh':_0x88d8f6(0x12e)};return _0x41e77f[_0x88d8f6(0xeb)](nestedKeyValue,_0x26920a,[_0x41e77f['ZQXjG'],_0x41e77f['Lhstx']])||_0x41e77f['PoEIA'](nestedKeyValue,_0x26920a,[_0x41e77f[_0x88d8f6(0x133)],_0x41e77f['xsBuh']]);}static[a53_0x3e1676(0xc4)](_0x372bf7){const _0x50c8ea=a53_0x3e1676,_0x3e5d1f={'PEFZF':function(_0x169d1f,_0x31c85b,_0x1ac64d){return _0x169d1f(_0x31c85b,_0x1ac64d);},'kbfHd':_0x50c8ea(0xf2)};return _0x3e5d1f[_0x50c8ea(0x111)](nestedKeyValue,_0x372bf7,[_0x3e5d1f[_0x50c8ea(0xe1)],'id'])||_0x372bf7[_0x50c8ea(0x11d)];}static[a53_0x3e1676(0xc1)](_0x315aa9){const _0x406cbf=a53_0x3e1676,_0x3a4565={'dvUNm':function(_0x233e4c,_0x29331e){return _0x233e4c===_0x29331e;},'dnISH':_0x406cbf(0xfc),'tMacQ':function(_0x12432d){return _0x12432d();}};try{if(this[_0x406cbf(0xdb)][_0x315aa9]&&_0x3a4565['dvUNm'](typeof this[_0x406cbf(0xdb)][_0x315aa9][_0x406cbf(0x12b)],_0x3a4565[_0x406cbf(0x11a)]))return this['tests'][_0x315aa9]['uuid'];const _0x50ce14=this[_0x406cbf(0xdd)](_0x315aa9),_0x4275a2=path[_0x406cbf(0x11e)](_0x50ce14);if(fs[_0x406cbf(0xf1)](_0x4275a2)){const _0x3e92e9=JSON[_0x406cbf(0x108)](fs[_0x406cbf(0x104)](_0x50ce14)[_0x406cbf(0xef)]());return this['tests'][_0x315aa9]=_0x3e92e9,this['tests'][_0x315aa9][_0x406cbf(0x12b)];}return this[_0x406cbf(0xdb)][_0x315aa9]={'uuid':_0x3a4565[_0x406cbf(0xd8)](uuidv4)},fs[_0x406cbf(0x134)](_0x50ce14,JSON[_0x406cbf(0x11c)](this[_0x406cbf(0xdb)][_0x315aa9])),this[_0x406cbf(0xdb)][_0x315aa9][_0x406cbf(0x12b)];}catch(_0x48f7de){return logger[_0x406cbf(0xe6)](_0x406cbf(0xfd)+_0x315aa9+':\x20'+_0x48f7de[_0x406cbf(0xe9)]),null;}}static[a53_0x3e1676(0xee)](_0x2afc21){const _0x271203=a53_0x3e1676,_0x38fabd=path[_0x271203(0x125)](this[_0x271203(0xda)],_0x2afc21+_0x271203(0x12a));if(fs[_0x271203(0xf1)](_0x38fabd))return fs[_0x271203(0x104)](_0x38fabd)[_0x271203(0xef)]();}static[a53_0x3e1676(0x109)](_0x44fcbd,_0x36ea28){const _0x14f791=a53_0x3e1676,_0x44994a=path[_0x14f791(0x125)](this['dirPath'],_0x36ea28+_0x14f791(0x12a));fs[_0x14f791(0x134)](_0x44994a,_0x44fcbd[_0x14f791(0xef)]());}static[a53_0x3e1676(0xe3)](){const _0x4afab2=a53_0x3e1676,_0x393802={};_0x393802[_0x4afab2(0x115)]=!![],_0x393802[_0x4afab2(0xd9)]=!![],fs['rmSync'](this[_0x4afab2(0xda)],_0x393802);}static[a53_0x3e1676(0xd2)](_0x21ad93){const _0x24c7c6=a53_0x3e1676,_0xc396a3={'ICimo':function(_0x4096ee){return _0x4096ee();}},_0x4b21c9=this[_0x24c7c6(0xdd)](_0x21ad93);if(fs[_0x24c7c6(0xf1)](_0x4b21c9))try{const _0xef486f=lockfile[_0x24c7c6(0x12d)](_0x4b21c9),_0x184744=JSON[_0x24c7c6(0x108)](fs[_0x24c7c6(0x104)](_0x4b21c9)[_0x24c7c6(0xef)]());return this[_0x24c7c6(0xdb)][_0x21ad93]=_0x184744,_0xc396a3['ICimo'](_0xef486f),_0x184744;}catch(_0x5b1483){return logger['warn'](_0x24c7c6(0x119)+_0x4b21c9+':\x20'+util[_0x24c7c6(0xf3)](_0x5b1483)+_0x24c7c6(0xcb)),{};}return{};}static[a53_0x3e1676(0xe8)](_0x13d9a1,_0x44ba3a){const _0x2f8aa0=a53_0x3e1676,_0x40c3fa={'HJcMA':_0x2f8aa0(0x126),'ExQfO':function(_0xf5a822){return _0xf5a822();}};logger['debug'](_0x40c3fa[_0x2f8aa0(0xbf)]),logger[_0x2f8aa0(0xc0)](_0x2f8aa0(0x130)+process[_0x2f8aa0(0xc8)]+'\x20Setting\x20\x20test\x20details\x20for\x20'+_0x13d9a1+_0x2f8aa0(0xf8)+JSON[_0x2f8aa0(0x11c)](_0x44ba3a));const _0x4ded88=this['getFilePath'](_0x13d9a1);if(fs[_0x2f8aa0(0xf1)](_0x4ded88))try{const _0x257c0c=lockfile['lockSync'](_0x4ded88),_0x14c9e6=JSON[_0x2f8aa0(0x108)](fs[_0x2f8aa0(0x104)](_0x4ded88)['toString']()),_0x625716={..._0x14c9e6,..._0x44ba3a};this[_0x2f8aa0(0xdb)][_0x13d9a1]=_0x625716,fs['writeFileSync'](_0x4ded88,JSON['stringify'](this['tests'][_0x13d9a1])),_0x40c3fa[_0x2f8aa0(0x117)](_0x257c0c);}catch(_0x59a57c){logger[_0x2f8aa0(0xca)](_0x2f8aa0(0x119)+_0x4ded88+':\x20'+util[_0x2f8aa0(0xf3)](_0x59a57c)+_0x2f8aa0(0xcc));}}static[a53_0x3e1676(0x10c)](_0x3b0350){const _0x26783f=a53_0x3e1676,_0x4ad273={};_0x4ad273['YfDkv']=_0x26783f(0xc6);const _0x98529c=_0x4ad273;try{const _0x49e0a0=process['pid'],_0x290076=path['join'](TestInfo[_0x26783f(0xcf)](),_0x49e0a0+_0x26783f(0x12f));let _0x444575=[];fs[_0x26783f(0xf1)](_0x290076)&&(_0x444575=JSON[_0x26783f(0x108)](fs[_0x26783f(0x104)](_0x290076)[_0x26783f(0xef)]()));if(!_0x444575['some'](_0x497f6f=>_0x497f6f[_0x26783f(0xc3)]===_0x3b0350[_0x26783f(0xc3)])){_0x444575['push'](_0x3b0350);const _0x17edec=path[_0x26783f(0xf4)](_0x290076);if(!fs[_0x26783f(0xf1)](_0x17edec)){const _0x559a78={};_0x559a78[_0x26783f(0x115)]=!![],fs['mkdirSync'](_0x17edec,_0x559a78);}fs['writeFileSync'](_0x290076,JSON[_0x26783f(0x11c)](_0x444575));}}catch(_0x3f83e8){logger[_0x26783f(0xe6)](util[_0x26783f(0xf3)](_0x98529c[_0x26783f(0x124)],_0x3f83e8));}}static[a53_0x3e1676(0x103)](){const _0x2c1be4=a53_0x3e1676,_0x43be1e={};_0x43be1e[_0x2c1be4(0xf9)]=_0x2c1be4(0x12f),_0x43be1e['aFjwj']=_0x2c1be4(0x113);const _0x5e9576=_0x43be1e,_0x433cb7=[];try{const _0x50ee52=TestInfo[_0x2c1be4(0xcf)]();if(!fs[_0x2c1be4(0xf1)](_0x50ee52))return _0x433cb7;const _0x23489b=fs[_0x2c1be4(0x118)](_0x50ee52);_0x23489b[_0x2c1be4(0x12c)](_0x2f770e=>{const _0x24f9f3=_0x2c1be4;if(_0x2f770e[_0x24f9f3(0x131)](_0x5e9576[_0x24f9f3(0xf9)])){const _0x5b0475=JSON['parse'](fs['readFileSync'](path[_0x24f9f3(0x125)](_0x50ee52,_0x2f770e))[_0x24f9f3(0xef)]());_0x433cb7[_0x24f9f3(0x10a)](..._0x5b0475);}});}catch(_0x57ab28){logger[_0x2c1be4(0xe6)](util['format'](_0x5e9576[_0x2c1be4(0xe0)],_0x57ab28));}const _0x205c24={};return _0x433cb7['forEach'](_0x38a889=>{_0x205c24[_0x38a889['filePath']]=_0x38a889;}),Object[_0x2c1be4(0xea)](_0x205c24);}static[a53_0x3e1676(0xfa)](_0x1eb227,_0x2492a7){const _0x3d1cf9=a53_0x3e1676,_0x95ea6={};_0x95ea6[_0x3d1cf9(0x11b)]=_0x3d1cf9(0x102),_0x95ea6[_0x3d1cf9(0x132)]=_0x3d1cf9(0xdf),_0x95ea6[_0x3d1cf9(0xff)]=_0x3d1cf9(0x106);const _0x244dab=_0x95ea6;try{const _0x3c10d6=path['join'](helper[_0x3d1cf9(0x10b)](),_0x244dab[_0x3d1cf9(0x11b)]);if(!fs[_0x3d1cf9(0xf1)](_0x3c10d6)){const _0x4c497e={};_0x4c497e[_0x3d1cf9(0x115)]=!![],fs[_0x3d1cf9(0x110)](_0x3c10d6,_0x4c497e);}fs[_0x3d1cf9(0x120)](path[_0x3d1cf9(0x125)](_0x3c10d6,_0x3d1cf9(0xd5)+_0x2492a7+'.txt'),_0x1eb227+'\x0a',_0x244dab['ydNSn']);}catch(_0xeffd){logger[_0x3d1cf9(0xe6)](util[_0x3d1cf9(0xf3)](_0x244dab[_0x3d1cf9(0xff)],_0xeffd));}}}function a53_0x351d(){const _0x51f9d7=['getTestIdFromTestInfo','969kwkoqV','Error\x20handling\x20trace\x20file\x20paths:\x20%O','.json','pid','getProjectIdFromTestInfo','warn','.\x20Returning\x20empty\x20test\x20details.','.\x20Unable\x20to\x20set\x20test\x20details.','Siowz','OSgwc','getTraceZipDir','../../helpers/logger','5706ecdWBB','getTestDetails','_projectId','sJsoi','trace_','1960jFrjrV','project','tMacQ','force','dirPath','tests','BS_TESTOPS_BUILD_HASHED_ID','getFilePath','751040RQSbVq','utf8','aFjwj','kbfHd','exports','shutdown','split','proper-lockfile','error','1869GJBxAj','setTestDetails','message','values','bqRmg','qMNUN','pamdM','getAccessibilityPlatformValidation','toString','../../helpers/classLogger.js','existsSync','_test','format','dirname','428957WLGAzc','723452bSQAux','traceZipDir','\x20with\x20details:\x20','xDeqo','appendToTracePaths','Setting\x20up\x20TestInfo\x20directory\x20at\x20','string','Error\x20while\x20getting\x20test\x20UUID\x20for\x20','873BeGGjf','TyfzT','TestInfo','CwdYv','.browserstack','getTraceFilePaths','readFileSync','default','Error\x20writing\x20trace\x20file:\x20%O','hGavi','parse','setAccessibilityPlatformValidation','push','homedir','addTraceFilePath','2111864xuyVfS','../../helpers/helper','getStoreDirName','mkdirSync','PEFZF','AbLcU','Error\x20reading\x20trace\x20file\x20paths:\x20%O','traceZipPaths','recursive','info','ExQfO','readdirSync','Failed\x20to\x20acquire\x20lock\x20for\x20','dnISH','TfDwf','stringify','testId','resolve','winstonLogger','appendFileSync','VCseX','env','3|5|4|1|2|0','YfDkv','join','setTestDetails\x20','28450HkUEsm','cFWRN','pADjJ','_platformDetails.json','uuid','forEach','lockSync','__projectId','_traceZipPaths.json','processId:\x20','endsWith','ydNSn','kfKNx','writeFileSync','HJcMA','debug','getTestUUID','getStoreDirPath','filePath'];a53_0x351d=function(){return _0x51f9d7;};return a53_0x351d();}function a53_0x2836(_0x2f66ef,_0x5ccbd1){const _0x351d15=a53_0x351d();return a53_0x2836=function(_0x28367f,_0x119f53){_0x28367f=_0x28367f-0xbf;let _0x264f75=_0x351d15[_0x28367f];return _0x264f75;},a53_0x2836(_0x2f66ef,_0x5ccbd1);}module[a53_0x3e1676(0xe2)]=TestInfo;
@@ -0,0 +1 @@
1
+ const a54_0x35269c=a54_0x9d51;(function(_0x8d5eaf,_0x152f54){const _0x280f18=a54_0x9d51,_0x3c535e=_0x8d5eaf();while(!![]){try{const _0x485340=-parseInt(_0x280f18(0x116))/0x1*(parseInt(_0x280f18(0x125))/0x2)+parseInt(_0x280f18(0xb8))/0x3+parseInt(_0x280f18(0xc6))/0x4+-parseInt(_0x280f18(0xc8))/0x5+parseInt(_0x280f18(0xbe))/0x6*(parseInt(_0x280f18(0xee))/0x7)+parseInt(_0x280f18(0x9a))/0x8+parseInt(_0x280f18(0x132))/0x9*(parseInt(_0x280f18(0x10d))/0xa);if(_0x485340===_0x152f54)break;else _0x3c535e['push'](_0x3c535e['shift']());}catch(_0x402415){_0x3c535e['push'](_0x3c535e['shift']());}}}(a54_0x4d60,0xdce1c));const {spawn}=require(a54_0x35269c(0x118)),GrpcClient=require('./grpcClient.js'),util=require('util'),CLIUtils=require('./cliUtils.js'),PlaywrightAutomationFramework=require(a54_0x35269c(0x147)),PlaywrightTestFramework=require(a54_0x35269c(0xcf)),{createClassLogger}=require(a54_0x35269c(0x9d)),PerformanceTester=require('../../helpers/performance/performance-tester.js'),{EVENTS:PerformanceEvents}=require(a54_0x35269c(0xf4)),AccessibilityModule=require(a54_0x35269c(0x13a)),{CLI_SUPPORTED_FRAMEWORKS,FRAMEWORKS}=require(a54_0x35269c(0x12f)),helper=require(a54_0x35269c(0x14c)),TestFrameworkConstants=require(a54_0x35269c(0xb9)),TestInfo=require('./TestInfo.js');class BrowserstackCLI{static #instance=null;static [a54_0x35269c(0x109)]=null;static [a54_0x35269c(0xfe)]=null;static [a54_0x35269c(0x121)]=null;[a54_0x35269c(0x140)]=null;[a54_0x35269c(0x12a)]=![];['isChildConnected']=![];[a54_0x35269c(0xeb)]=null;['modules']={};['testFramework']=null;[a54_0x35269c(0xfc)]=null;[a54_0x35269c(0x9c)]=createClassLogger(a54_0x35269c(0xe9));constructor(){const _0x34d636=a54_0x35269c;this[_0x34d636(0x149)]=![],this[_0x34d636(0xb4)]={},this['cliArgs']={},this[_0x34d636(0x103)]={};}static['getInstance'](){return!BrowserstackCLI.#instance&&(BrowserstackCLI.#instance=new BrowserstackCLI()),BrowserstackCLI.#instance;}async[a54_0x35269c(0xc2)](){const _0xcea4b0=a54_0x35269c,_0x13f17e={};_0x13f17e[_0xcea4b0(0x101)]=_0xcea4b0(0x13e);const _0x42176f=_0x13f17e;if(helper[_0xcea4b0(0xa6)](process[_0xcea4b0(0xc7)][_0xcea4b0(0xf7)])){this['logger'][_0xcea4b0(0x11d)](_0x42176f[_0xcea4b0(0x101)]);return;}PerformanceTester[_0xcea4b0(0xb1)](PerformanceEvents[_0xcea4b0(0xdf)]);try{const _0x4ec361=process[_0xcea4b0(0xc7)][_0xcea4b0(0x126)]||null;this[_0xcea4b0(0x11c)](),this[_0xcea4b0(0xc0)]();if(_0x4ec361){await this['startChild'](_0x4ec361),PerformanceTester[_0xcea4b0(0xa9)](PerformanceEvents[_0xcea4b0(0xdf)]);return;}await this[_0xcea4b0(0x99)]();}catch(_0x2736ae){this[_0xcea4b0(0x9c)][_0xcea4b0(0x14b)](_0xcea4b0(0x11a)+(_0x2736ae[_0xcea4b0(0x135)]||_0x2736ae)),await this['stop'](),PerformanceTester[_0xcea4b0(0xa9)](PerformanceEvents[_0xcea4b0(0xdf)],![],util[_0xcea4b0(0xce)](_0x2736ae));}}async['startMain'](){const _0x24bdd1=a54_0x35269c,_0x187524={};_0x187524[_0x24bdd1(0xbd)]=_0x24bdd1(0xc1),_0x187524[_0x24bdd1(0x14e)]=_0x24bdd1(0xd2);const _0x236e5c=_0x187524;this['logger'][_0x24bdd1(0x11d)](_0x236e5c[_0x24bdd1(0xbd)]),await this[_0x24bdd1(0xb1)](),this[_0x24bdd1(0x9c)][_0x24bdd1(0x10f)](_0x236e5c[_0x24bdd1(0x14e)]);const _0x3cf8ec=await GrpcClient[_0x24bdd1(0x10b)]()[_0x24bdd1(0xad)]();this[_0x24bdd1(0x12a)]=!![],this[_0x24bdd1(0x10c)](_0x3cf8ec);}[a54_0x35269c(0x10c)](_0x4c784c){const _0x4d3806=a54_0x35269c,_0x42ba83={'SPFJn':function(_0x46da25,_0x1a97c1){return _0x46da25(_0x1a97c1);},'KmjfB':_0x4d3806(0x141),'Ziask':_0x4d3806(0xd4),'OIyyD':'./modules/observabilityModule.js','qzbKH':_0x4d3806(0xc5),'yjhQP':_0x4d3806(0xe8),'pWOBT':_0x4d3806(0xbf),'UdXxY':_0x4d3806(0xc3),'rJfMQ':function(_0x30bcd0,_0x448860){return _0x30bcd0||_0x448860;}},_0x426aec=_0x42ba83['SPFJn'](require,_0x42ba83['KmjfB']),_0x311c2a=_0x42ba83[_0x4d3806(0x105)](require,_0x42ba83[_0x4d3806(0x12e)]),_0x4f39df=_0x42ba83['SPFJn'](require,_0x42ba83[_0x4d3806(0xa5)]);this[_0x4d3806(0x9c)]['info'](_0x42ba83['qzbKH']),this['binSessionId']=_0x4c784c[_0x4d3806(0x136)](),this[_0x4d3806(0x9c)]['info'](_0x4d3806(0x131)+this[_0x4d3806(0xeb)]),this[_0x4d3806(0x117)](_0x4c784c);!this[_0x4d3806(0xe6)]&&this[_0x4d3806(0xa2)](_0x4c784c);const _0x4785da=_0x42ba83[_0x4d3806(0xfa)],_0x41293f=_0x42ba83[_0x4d3806(0x154)],_0x2671dc=_0x42ba83[_0x4d3806(0xda)],_0x3344ee=_0x4c784c[_0x4785da]()&&_0x4c784c[_0x4785da]()[_0x2671dc](),_0x322b47=_0x4c784c[_0x41293f]()&&_0x4c784c[_0x41293f]()[_0x2671dc]();_0x42ba83[_0x4d3806(0x146)](_0x3344ee,_0x322b47)&&(this[_0x4d3806(0x152)][_0x311c2a['MODULE_NAME']]=new _0x311c2a(_0x4c784c[_0x4d3806(0xcb)]())),_0x3344ee&&(this[_0x4d3806(0x152)][_0x4f39df[_0x4d3806(0x158)]]=new _0x4f39df(_0x4c784c[_0x4785da]())),_0x322b47&&(this[_0x4d3806(0x152)][AccessibilityModule[_0x4d3806(0x158)]]=new AccessibilityModule(_0x4c784c[_0x41293f]())),this[_0x4d3806(0x152)][_0x426aec['MODULE_NAME']]=new _0x426aec(),this[_0x4d3806(0x15a)]();}async[a54_0x35269c(0x15a)](){const _0x4caca3=a54_0x35269c;for(const _0xf56713 in this['modules']){const _0xf356ad=this[_0x4caca3(0x152)][_0xf56713];await _0xf356ad[_0x4caca3(0x112)](this['binSessionId'],0x0,GrpcClient[_0x4caca3(0x10b)]()[_0x4caca3(0xe7)],this[_0x4caca3(0xb4)]);}}async[a54_0x35269c(0xb1)](){const _0x202b6d=a54_0x35269c,_0x45ed2d={'OVuHf':function(_0x5590be,_0xa1e0a6){return _0x5590be!==_0xa1e0a6;},'fmByV':_0x202b6d(0xab),'DpCSn':function(_0x3c8bd7){return _0x3c8bd7();},'KCcqV':function(_0x2ffe39,_0x436fa6){return _0x2ffe39(_0x436fa6);},'MqUvy':function(_0x64501e,_0x5c0a73){return _0x64501e!==_0x5c0a73;},'fluqO':function(_0x4c669e,_0xafc054){return _0x4c669e(_0xafc054);},'SxxXI':_0x202b6d(0xfb),'jMhYo':_0x202b6d(0x14b),'bNJnd':_0x202b6d(0xf9),'GmuxD':_0x202b6d(0x119),'wziGC':function(_0x2357be,_0x1c53a1,_0x2d426b,_0x49b9ad){return _0x2357be(_0x1c53a1,_0x2d426b,_0x49b9ad);},'aKrTK':_0x202b6d(0xec)};PerformanceTester[_0x202b6d(0xb1)](PerformanceEvents[_0x202b6d(0xaa)]);if(CLIUtils['isDevelopmentEnv']())return this['loadCliParams'](CLIUtils['getCLIParamsForDevEnv']()),PerformanceTester[_0x202b6d(0xa9)](PerformanceEvents[_0x202b6d(0xaa)]),Promise[_0x202b6d(0xf2)]();if(this['process']&&this['process'][_0x202b6d(0x137)])return PerformanceTester[_0x202b6d(0xa9)](PerformanceEvents[_0x202b6d(0xaa)]),Promise[_0x202b6d(0xf2)]();const _0x2d824b=await this[_0x202b6d(0x9f)](),_0x1efb57=[_0x2d824b,_0x45ed2d[_0x202b6d(0x15b)]];this['logger'][_0x202b6d(0x11d)](_0x202b6d(0x100)+_0x1efb57+'\x27');const _0x3596f6={};_0x3596f6[_0x202b6d(0xc7)]=process['env'],this[_0x202b6d(0x140)]=_0x45ed2d[_0x202b6d(0xd9)](spawn,_0x1efb57[0x0],_0x1efb57[_0x202b6d(0xa0)](0x1),_0x3596f6);if(!this[_0x202b6d(0x140)][_0x202b6d(0xdd)])throw new Error(_0x45ed2d['aKrTK']);return new Promise((_0x1502c1,_0x122ddd)=>{const _0x4c18f3=_0x202b6d,_0x309b18={'tMPAN':function(_0x30d671,_0x19865a){const _0x59ca68=a54_0x9d51;return _0x45ed2d[_0x59ca68(0x114)](_0x30d671,_0x19865a);},'ZryNK':function(_0x4b5a33,_0x48d3b8){const _0x72b2ea=a54_0x9d51;return _0x45ed2d[_0x72b2ea(0xea)](_0x4b5a33,_0x48d3b8);}},_0x4cda72={};this[_0x4c18f3(0x140)][_0x4c18f3(0x145)]['on'](_0x45ed2d[_0x4c18f3(0xcd)],_0x3c170c=>{const _0x9ce531=_0x4c18f3,_0x5c15b4=_0x3c170c[_0x9ce531(0x13b)]()[_0x9ce531(0xb6)]()[_0x9ce531(0x138)]('\x0a');for(const _0x3f48c9 of _0x5c15b4){if(/^(id|listen|port)=.*$/[_0x9ce531(0xb3)](_0x3f48c9)){const [_0x47e02c,_0x459db1]=_0x3f48c9[_0x9ce531(0x138)]('=',0x2);_0x45ed2d[_0x9ce531(0xe2)](_0x459db1,undefined)&&(_0x4cda72[_0x47e02c]=_0x459db1);}if(_0x3f48c9[_0x9ce531(0x104)]()['includes'](_0x45ed2d[_0x9ce531(0xf0)])){this[_0x9ce531(0xf8)](_0x4cda72),PerformanceTester[_0x9ce531(0xa9)](PerformanceEvents[_0x9ce531(0xaa)]),_0x45ed2d[_0x9ce531(0x151)](_0x1502c1);return;}}}),this[_0x4c18f3(0x140)][_0x4c18f3(0x15d)]['on'](_0x45ed2d[_0x4c18f3(0xcd)],_0x5c21a2=>{const _0x486b99=_0x4c18f3;this[_0x486b99(0x9c)][_0x486b99(0x14b)](_0x486b99(0x106)+_0x5c21a2[_0x486b99(0x13b)]()[_0x486b99(0xb6)]());}),this[_0x4c18f3(0x140)]['on'](_0x45ed2d[_0x4c18f3(0x10e)],_0x1d50c9=>{const _0x373d08=_0x4c18f3;_0x4cda72[_0x373d08(0x14b)]=_0x373d08(0x108)+_0x1d50c9['message'],PerformanceTester[_0x373d08(0xa9)](PerformanceEvents[_0x373d08(0xaa)],![],_0x1d50c9),_0x45ed2d[_0x373d08(0x150)](_0x122ddd,new Error(_0x373d08(0xbc)+_0x1d50c9[_0x373d08(0xed)]));}),this[_0x4c18f3(0x140)]['on'](_0x45ed2d['bNJnd'],_0x378760=>{const _0x47b8fb=_0x4c18f3;_0x309b18[_0x47b8fb(0xe1)](_0x378760,0x0)&&_0x309b18[_0x47b8fb(0xf1)](_0x122ddd,new Error(_0x47b8fb(0xd7)+_0x378760));});});}async[a54_0x35269c(0x143)](_0x814265=null){const _0x3cbb34=a54_0x35269c,_0x41bcd4={'XyMyT':_0x3cbb34(0x11e),'FHmcX':_0x3cbb34(0x110),'ODBsh':function(_0x2f9ba8){return _0x2f9ba8();},'xOkfM':_0x3cbb34(0x13c),'bjMka':function(_0x55af4d){return _0x55af4d();},'qVvxp':_0x3cbb34(0xac),'rDtcZ':function(_0x3207bb,_0x1ee0f9,_0x5518a2){return _0x3207bb(_0x1ee0f9,_0x5518a2);},'OLeab':_0x3cbb34(0xba),'AineO':_0x3cbb34(0xb7),'TxLNJ':function(_0x5f433b,_0x2e29e9){return _0x5f433b(_0x2e29e9);},'NSOgD':_0x3cbb34(0xaf),'qiqFh':'stop:\x20channel\x20closed','iIrYX':_0x3cbb34(0x13d),'vmCZO':_0x3cbb34(0xb5)};if(!this[_0x3cbb34(0xef)]()){this[_0x3cbb34(0x9c)]['info'](_0x41bcd4[_0x3cbb34(0x14d)]);return;}PerformanceTester[_0x3cbb34(0xb1)](PerformanceEvents[_0x3cbb34(0xa3)]),this[_0x3cbb34(0x9c)]['info'](_0x41bcd4['AineO']);try{if(this[_0x3cbb34(0x12a)]){const _0x4c7691=_0x41bcd4['TxLNJ'](require,_0x41bcd4[_0x3cbb34(0xf5)]),_0xcd00b4=this['modules'][_0x3cbb34(0x123)]?.[_0x3cbb34(0xc9)]?.[_0x3cbb34(0x12c)]()?.[_0x3cbb34(0xa8)],_0xbd04ab=TestInfo[_0x3cbb34(0x122)](_0xcd00b4),_0x4317d0=_0xbd04ab[TestFrameworkConstants[_0x3cbb34(0xcc)]]||{},_0x21ab5=await GrpcClient[_0x3cbb34(0x10b)]()['stopBinSession'](JSON[_0x3cbb34(0x133)](_0x4317d0),_0x814265);_0x21ab5&&_0x21ab5[_0x3cbb34(0xc3)]()&&_0x21ab5[_0x3cbb34(0xd5)]()&&(BrowserstackCLI[_0x3cbb34(0x109)]=_0x21ab5[_0x3cbb34(0xd5)](),BrowserstackCLI[_0x3cbb34(0xfe)]=_0x21ab5['getHashedId']()),await _0x4c7691[_0x3cbb34(0x102)](),TestInfo[_0x3cbb34(0xa7)](),this[_0x3cbb34(0x9c)][_0x3cbb34(0x11d)](_0x3cbb34(0x9b)+BrowserstackCLI[_0x3cbb34(0x109)]+_0x3cbb34(0x124)+BrowserstackCLI['HashedID']+_0x3cbb34(0x134)+BrowserstackCLI[_0x3cbb34(0x121)]);}await this[_0x3cbb34(0x12b)]();const _0x480ffd=GrpcClient[_0x3cbb34(0x10b)]()[_0x3cbb34(0x130)]();if(_0x480ffd){try{_0x480ffd[_0x3cbb34(0xf9)](),this[_0x3cbb34(0x9c)][_0x3cbb34(0x11d)](_0x41bcd4[_0x3cbb34(0xfd)]);}catch(_0x2b4811){this['logger']['error'](util[_0x3cbb34(0xce)](_0x41bcd4[_0x3cbb34(0xa4)],_0x2b4811));}await new Promise(_0x1134b0=>setTimeout(_0x1134b0,0x1388));}this['process']&&this[_0x3cbb34(0x140)]['pid']&&(this[_0x3cbb34(0x9c)]['info'](_0x41bcd4['vmCZO']),this[_0x3cbb34(0x140)]['kill'](),await new Promise(_0x3a2d31=>{const _0x53fb43=_0x3cbb34,_0x486545={'etoXo':_0x41bcd4[_0x53fb43(0xff)],'kkxau':function(_0x395e3d){return _0x41bcd4['bjMka'](_0x395e3d);}};let _0xd79823=![];this[_0x53fb43(0x140)]['on'](_0x41bcd4[_0x53fb43(0x142)],()=>{const _0x5808d7=_0x53fb43;this[_0x5808d7(0x9c)][_0x5808d7(0x11d)](_0x486545[_0x5808d7(0xb0)]),_0xd79823=!![],PerformanceTester[_0x5808d7(0xa9)](PerformanceEvents['SDK_CLI_ON_STOP']),_0x486545[_0x5808d7(0xe4)](_0x3a2d31);}),_0x41bcd4[_0x53fb43(0xd0)](setTimeout,()=>{const _0x51c1f6=_0x53fb43;!_0xd79823&&(this[_0x51c1f6(0x9c)][_0x51c1f6(0xd3)](_0x41bcd4[_0x51c1f6(0xd1)]),this[_0x51c1f6(0x140)][_0x51c1f6(0x14a)](_0x41bcd4[_0x51c1f6(0xbb)]),PerformanceTester[_0x51c1f6(0xa9)](PerformanceEvents[_0x51c1f6(0xa3)]),_0x41bcd4[_0x51c1f6(0x148)](_0x3a2d31));},0xbb8);}));}catch(_0x221106){PerformanceTester[_0x3cbb34(0xa9)](PerformanceEvents[_0x3cbb34(0xa3)],![],util[_0x3cbb34(0xce)](_0x221106)),this[_0x3cbb34(0x9c)][_0x3cbb34(0x14b)](_0x3cbb34(0x10a)+(_0x221106['stack']||_0x221106));}_0x814265?this[_0x3cbb34(0x140)][_0x3cbb34(0x9e)]=0x1:this[_0x3cbb34(0x140)]['exitCode']=0x0,this['isChildConnected']=![],this[_0x3cbb34(0x12a)]=![],process['env']['BROWSERSTACK_CLI_ENV']=null;}async['unConfigureModules'](){const _0x5e0599=a54_0x35269c,_0x45c76a={};_0x45c76a[_0x5e0599(0x139)]=_0x5e0599(0x15f);const _0x206e06=_0x45c76a;this[_0x5e0599(0x9c)][_0x5e0599(0x11d)](_0x206e06['bHNdU']);}[a54_0x35269c(0xf8)](_0x273447){const _0x1f1c3d=a54_0x35269c;this['logger'][_0x1f1c3d(0x11d)]('CLI\x20params\x20loaded:\x20'+JSON[_0x1f1c3d(0x133)](_0x273447)),this[_0x1f1c3d(0x129)]=_0x273447,GrpcClient[_0x1f1c3d(0x10b)]()[_0x1f1c3d(0x144)](_0x273447);}async['startChild'](_0x26df98){const _0x14ec16=a54_0x35269c,_0xd9582={};_0xd9582[_0x14ec16(0xd6)]='startChild:\x20client\x20and\x20channel\x20already\x20exist,\x20stopping\x20here';const _0x295532=_0xd9582;PerformanceTester['start'](PerformanceEvents[_0x14ec16(0xb2)]);try{this[_0x14ec16(0x9c)][_0x14ec16(0x11d)]('Starting\x20as\x20child\x20process\x20with\x20session\x20ID:\x20'+_0x26df98);const _0x4458a7=GrpcClient[_0x14ec16(0x10b)]();if(_0x4458a7&&_0x4458a7[_0x14ec16(0xdb)]()&&_0x4458a7['getChannel']()){this[_0x14ec16(0x9c)][_0x14ec16(0x11d)](_0x295532[_0x14ec16(0xd6)]);return;}GrpcClient[_0x14ec16(0x10b)]()['connect']();const _0x4f94a2=await GrpcClient[_0x14ec16(0x10b)]()[_0x14ec16(0x14f)]();this[_0x14ec16(0xe6)]=!![],this[_0x14ec16(0x10c)](_0x4f94a2),PerformanceTester[_0x14ec16(0xa9)](PerformanceEvents[_0x14ec16(0xb2)]);}catch(_0x4f73c6){PerformanceTester[_0x14ec16(0xa9)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util['format'](_0x4f73c6)),this['logger'][_0x14ec16(0x14b)](_0x14ec16(0x156)+util[_0x14ec16(0xce)](_0x4f73c6));}}[a54_0x35269c(0xef)](){const _0x18c705=a54_0x35269c,_0x3fda46={};_0x3fda46[_0x18c705(0x12d)]=function(_0x433805,_0x9f59c4){return _0x433805!==_0x9f59c4;},_0x3fda46[_0x18c705(0x11b)]=function(_0x3937f3,_0x3b281c){return _0x3937f3===_0x3b281c;},_0x3fda46[_0x18c705(0xe0)]=function(_0x84ff9b,_0x1d73f6){return _0x84ff9b!==_0x1d73f6;};const _0x48d4e4=_0x3fda46;return CLIUtils[_0x18c705(0x15e)]()||this[_0x18c705(0x12a)]&&_0x48d4e4[_0x18c705(0x12d)](this['process'],null)&&_0x48d4e4[_0x18c705(0x11b)](this[_0x18c705(0x140)][_0x18c705(0x9e)],null)&&_0x48d4e4[_0x18c705(0x12d)](GrpcClient[_0x18c705(0x10b)]()[_0x18c705(0xdb)](),null)&&!GrpcClient[_0x18c705(0x10b)]()[_0x18c705(0x130)]()[_0x18c705(0xc4)]||this[_0x18c705(0xe6)]&&_0x48d4e4[_0x18c705(0xe0)](GrpcClient['getInstance']()[_0x18c705(0x130)](),null)&&!GrpcClient['getInstance']()['getChannel']()[_0x18c705(0xc4)];}[a54_0x35269c(0xe5)](){const _0x1fef2b=a54_0x35269c;return this[_0x1fef2b(0x103)];}[a54_0x35269c(0xae)](_0x5ee693){const _0x21717e=a54_0x35269c,_0x34d6c8={};_0x34d6c8[_0x21717e(0x159)]=function(_0x217e29,_0x10929b){return _0x217e29||_0x10929b;};const _0xb46577=_0x34d6c8;this['browserstackConfig']=_0xb46577[_0x21717e(0x159)](_0x5ee693,{}),process[_0x21717e(0xc7)][_0x21717e(0x115)]=this[_0x21717e(0x103)]?.[_0x21717e(0xde)]||![];const _0x3c8ef4=CLIUtils[_0x21717e(0xf6)]();helper['isTrue'](process['env'][_0x21717e(0x115)])||!CLI_SUPPORTED_FRAMEWORKS[_0x21717e(0x128)](_0x3c8ef4[_0x21717e(0x155)][_0x21717e(0x104)]())?process[_0x21717e(0xc7)][_0x21717e(0xf7)]=![]:process['env'][_0x21717e(0xf7)]=!![];}async[a54_0x35269c(0x9f)](){const _0x12a87c=a54_0x35269c;return!this[_0x12a87c(0x113)]&&(this[_0x12a87c(0x113)]=await CLIUtils[_0x12a87c(0x153)](this[_0x12a87c(0x103)])),this[_0x12a87c(0x113)];}[a54_0x35269c(0xca)](){const _0x3c1a67=a54_0x35269c;return helper['isTrue'](process[_0x3c1a67(0xc7)][_0x3c1a67(0xf7)]);}['getConfig'](){const _0x1000c8=a54_0x35269c;return this[_0x1000c8(0xb4)];}[a54_0x35269c(0x117)](_0x45f44a){const _0x408fa1=a54_0x35269c,_0xff5dad={};_0xff5dad['TCpms']='loading\x20Modules.';const _0x390e3a=_0xff5dad;try{this[_0x408fa1(0xb4)]=JSON['parse'](_0x45f44a[_0x408fa1(0x107)]()),this[_0x408fa1(0x9c)][_0x408fa1(0x11d)](_0x390e3a[_0x408fa1(0xdc)]);}catch(_0x4cadd3){this[_0x408fa1(0x9c)][_0x408fa1(0x14b)](_0x408fa1(0xf3)+util[_0x408fa1(0xce)](_0x4cadd3));}}[a54_0x35269c(0xa2)](_0x3fe0fd){const _0x3f3765=a54_0x35269c;try{this[_0x3f3765(0x13f)]=_0x3fe0fd['getCliArgs']()['split'](','),this[_0x3f3765(0x9c)][_0x3f3765(0x11d)](_0x3f3765(0x127)+JSON['stringify'](this[_0x3f3765(0x13f)]));}catch(_0x313272){this[_0x3f3765(0x9c)]['error']('setCliArgs:\x20error='+util['format'](_0x313272));}}['getCliArgs'](){const _0x1040db=a54_0x35269c;return this[_0x1040db(0x13f)];}[a54_0x35269c(0xc0)](){const _0x2ae681=a54_0x35269c,_0x4301f6={};_0x4301f6[_0x2ae681(0x11f)]=function(_0xd628ec,_0x48d900){return _0xd628ec===_0x48d900;};const _0x436655=_0x4301f6,_0x547df2=CLIUtils[_0x2ae681(0xf6)]();_0x436655[_0x2ae681(0x11f)](_0x547df2[_0x2ae681(0x155)]['toLowerCase'](),FRAMEWORKS['PLAYWRIGHT'][_0x2ae681(0x104)]())&&(this['testFramework']=new PlaywrightTestFramework([_0x547df2[_0x2ae681(0x155)]],_0x547df2[_0x2ae681(0xa1)]));}[a54_0x35269c(0x11c)](){const _0x51e804=a54_0x35269c,_0x2413b9={};_0x2413b9[_0x51e804(0x111)]=function(_0x22402c,_0x31a6d1){return _0x22402c===_0x31a6d1;};const _0x49eda4=_0x2413b9,_0x8eeb46=CLIUtils[_0x51e804(0x157)]();_0x49eda4[_0x51e804(0x111)](_0x8eeb46[_0x51e804(0x155)][_0x51e804(0x104)](),FRAMEWORKS[_0x51e804(0xe3)][_0x51e804(0x104)]())&&(this['automationFramework']=new PlaywrightAutomationFramework(_0x8eeb46[_0x51e804(0x155)],_0x8eeb46[_0x51e804(0xa1)]));}['getTestFramework'](){const _0x679bc=a54_0x35269c;return this[_0x679bc(0x15c)];}[a54_0x35269c(0xd8)](){return this['automationFramework'];}}function a54_0x4d60(){const _0x36ab2c=['connectBinSession','KCcqV','DpCSn','modules','setupCliPath','pWOBT','name','Failed\x20to\x20start\x20as\x20child\x20process:\x20','getAutomationFrameworkDetail','MODULE_NAME','BbPpj','configureModules','GmuxD','testFramework','stderr','isDevelopmentEnv','Unconfiguring\x20modules','startMain','1616376TqqOJY','stop:\x20stopBinSession\x20build_link=','logger','../../helpers/classLogger.js','exitCode','getCliBinPath','slice','version','setCliArgs','SDK_CLI_ON_STOP','iIrYX','OIyyD','isFalse','shutdown','buildHashedId','end','SDK_CLI_START','ready','exit','startBinSession','setBrowserstackConfig','./uploadAttachmentsManager.js','etoXo','start','SDK_CONNECT_BIN_SESSION','test','config','stop:\x20shutting\x20down\x20CLI','trim','stop:\x20CLI\x20stop\x20triggered','480894DENxND','./framework/constants/testFrameworkConstants.js','stop:\x20CLI\x20is\x20not\x20running,\x20skipping\x20stop','FHmcX','Failed\x20to\x20start\x20CLI\x20process:\x20','tsTXR','48cJnoNl','getAccessibility','setupTestFramework','startMain:\x20Starting\x20main\x20process','bootstrap','getSuccess','isClosed','loadModules:\x20Loading\x20modules','1231216afRUyW','env','1341835gxsaKz','testhubConfig','isCliEnabled','getTesthub','KEY_CUSTOM_TAGS','SxxXI','format','./framework/playwrightTestFramework.js','rDtcZ','XyMyT','startMain:\x20main-process\x20started','warn','./modules/testhubModule.js','getAutomateBuildlink','XIfzf','CLI\x20process\x20exited\x20with\x20code\x20','getAutomationFramework','wziGC','UdXxY','getClient','TCpms','pid','turboScale','SDK_CLI_ON_BOOTSTRAP','xmrUW','tMPAN','OVuHf','PLAYWRIGHT','kkxau','getBrowserstackConfig','isChildConnected','client','getObservability','BrowserstackCLI','fluqO','binSessionId','failed\x20to\x20start\x20CLI,\x20no\x20PID\x20found','message','46382DdKjzr','isRunning','fmByV','ZryNK','resolve','setConfig:\x20error=','../../helpers/performance/constants','NSOgD','getTestFrameworkDetail','BROWSERSTACK_CLI_ENABLED','loadCliParams','close','yjhQP','data','automationFramework','qiqFh','HashedID','xOkfM','spawning\x20command=\x27','qhCqy','clearAttachments','browserstackConfig','toLowerCase','SPFJn','CLI\x20stderr:\x20','getConfig','Error\x20in\x20start:\x20','BuildLink','stop:\x20error\x20in\x20stop\x20session\x20exception=','getInstance','loadModules','6896060GTQnSG','jMhYo','debug','SIGKILL','rNfQT','configure','SDK_CLI_BIN_PATH','MqUvy','BROWSERSTACK_TURBOSCALE','17BxtBZY','setConfig','child_process','sdk','bootstrap:\x20failed\x20to\x20bootstrap=','BHbJW','setupAutomationFramework','info','stop:\x20process\x20exit\x20timeout,\x20forcing\x20kill','FuhcD','exports','O11yHashedID','getTestDetails','TestHubModule','\x20hashed_id=','190456UErXRe','BROWSERSTACK_CLI_BIN_SESSION_ID','setCliArgs:\x20cliArgs=','includes','cliParams','isMainConnected','unConfigureModules','toObject','bdJFq','Ziask','../utils/constants.js','getChannel','loadModules:\x20binSessionId=','27WKwALN','stringify','\x20o11y_uuid=','stack','getBinSessionId','connected','split','bHNdU','./modules/accessibilityModule.js','toString','stop:\x20CLI\x20process\x20exited','stop:\x20error\x20in\x20closing\x20channel:\x20%s','Disabling\x20CLI.','cliArgs','process','./modules/playwrightDriverModule.js','qVvxp','stop','init','stdout','rJfMQ','./framework/playwrightAutomationFramework.js','ODBsh','initialized','kill','error','../../helpers/helper.js','OLeab','JFkpg'];a54_0x4d60=function(){return _0x36ab2c;};return a54_0x4d60();}function a54_0x9d51(_0x23362d,_0x458af9){const _0x4d60a7=a54_0x4d60();return a54_0x9d51=function(_0x9d51a8,_0x3e124b){_0x9d51a8=_0x9d51a8-0x99;let _0x2e0d16=_0x4d60a7[_0x9d51a8];return _0x2e0d16;},a54_0x9d51(_0x23362d,_0x458af9);}module[a54_0x35269c(0x120)]=BrowserstackCLI;
@@ -0,0 +1 @@
1
+ function a55_0x337d(){const _0x2bea08=['Unable\x20to\x20provide\x20write\x20permission\x20to\x20','getHookRegistryKey','start','Giving\x20write\x20permission\x20to\x20','SDK_CLI_CHECK_UPDATE','yauzl','getAutomationFrameworkDetail','automationFrameworkDetail','HsKPC','File\x20does\x20not\x20exist:\x20','siFqV','url','once','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request\x20','env','map','info','ymfep','cli','BoxgR','homedir','join','24471JWUekB','length','checkAndUpdateCli','mYJHM','tMPQf','response\x20','lazyEntries','close','0755','RRKcT','JdwCO','\x20version','BROWSERSTACK_BINARY_URL','listen','shouldSkipSessionStatus','data','arch','KcuXQ','format','htFun','follow-redirects','./state/automationFrameworkState.js','existsSync','iBDSB','IUSJe','HIiXB','getSdkLanguage','util','filter','HuhOE','trim','sBjxA','skipSessionStatus','filePath','unix:/tmp/sdk-platform-','SDK_CLI_BIN_PATH','HOOK_REGEX','test','downloadLatestBinary','782060yYPaAS','RzLps','readEntry','cBQqU','QPrRb','skipSessionName','.sock','BROWSERSTACK_TEST_FRAMEWORK_DETAIL','reduce','KAnJZ','../../../package.json','Downloading\x20SDK\x20binary\x20from:\x20','../../helpers/utilities','Shbxq','open','node','exports','getCurrentInstanceName','281545csXeku','version','KzFAO','BROWSERSTACK_CLI_ENV','Shykn','MFOfV','getCliDir','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response\x20%s','191200HcWQVN','matchHookRegex','Using\x20BROWSERSTACK_BINARY_URL\x20from\x20env\x20variable:\x20','25zhOMOl','LoqhD','dPQVI','ArsqD','pupBB','66ODEzDU','downloadFileStream','statSync','./instances/testFrameworkInstance.js','openReadStream','debug','wAmKP','2418850zonNaF','14556429kOTfIX','pbPGw','taIEN','BROWSERSTACK_AUTOMATION_FRAMEWORK_DETAIL','getWritableDir','flHDO','mwIHe','end','VBoul','.browserstack','jqprg','unlink','downloaded_file.zip','KQzbt','Unable\x20to\x20get\x20writable\x20directory,\x20exception\x20','../../helpers/helper','child_process','isFile','nxANN','parse','EdWPh','getExistingCliPath','OXUpb','WTShy','vhTvQ','isDevelopmentEnv','stringify','mtime','XzygV','qXHMx','yRLGS','EGnyR','getSdkVersion','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file\x20%s','fileName','testFrameworkDetail','../../helpers/performance/constants','createWriteStream','SDK_CLI_DOWNLOAD','ZhILD','Failed\x20to\x20download\x20binary,\x20Exception:\x20',',\x20automationFramework=','pipe','startsWith','getTestFrameworkDetail','407190nflOOW','pid','HPTyh','split','PWyMp','../utils/constants','kWaun','./state/hookState.js','basename','Need\x20to\x20update\x20binary,\x20current\x20binary\x20version:\x20','shouldSkipSessionName','requestToUpdateCLI','timeout','error','binary-','Resolved\x20binary\x20path:\x20','XRDdY','platform','yawoE','vKdWV','Failed\x20to\x20delete\x20zip\x20file:\x20','Error\x20in\x20setting\x20up\x20cli\x20path\x20directory,\x20Exception:\x20','./framework/constants/testFrameworkConstants.js','lvCAp','testContextOptions','SHELL_EXECUTE_ERROR','../../helpers/performance/performance-tester.js','cli_version','Current\x20CLI\x20Path\x20Found:\x20','bHAPC','runShellCommand','warn','No\x20writable\x20directory\x20available\x20for\x20the\x20CLI'];a55_0x337d=function(){return _0x2bea08;};return a55_0x337d();}const a55_0x4f37da=a55_0x300b;(function(_0x1f9250,_0x1d310f){const _0x2128d7=a55_0x300b,_0x5b5e35=_0x1f9250();while(!![]){try{const _0x2319c1=-parseInt(_0x2128d7(0x133))/0x1+-parseInt(_0x2128d7(0x143))/0x2*(parseInt(_0x2128d7(0xfa))/0x3)+-parseInt(_0x2128d7(0x121))/0x4+parseInt(_0x2128d7(0x13e))/0x5*(-parseInt(_0x2128d7(0xc3))/0x6)+-parseInt(_0x2128d7(0x14a))/0x7+parseInt(_0x2128d7(0x13b))/0x8+parseInt(_0x2128d7(0x14b))/0x9;if(_0x2319c1===_0x1d310f)break;else _0x5b5e35['push'](_0x5b5e35['shift']());}catch(_0x49149f){_0x5b5e35['push'](_0x5b5e35['shift']());}}}(a55_0x337d,0x334f5));const fs=require('fs'),os=require('os'),url=require('url'),path=require('path'),{exec}=require(a55_0x4f37da(0xa6)),{https}=require(a55_0x4f37da(0x10e)),yauzl=require(a55_0x4f37da(0xe9)),util=require(a55_0x4f37da(0x115)),{getFrameworkVersion}=require('../../helpers/test-observability/utils.js'),{threadId}=require('worker_threads'),PerformanceTester=require(a55_0x4f37da(0xdd)),{EVENTS:PerformanceEvents}=require(a55_0x4f37da(0xba)),{isNullOrEmpty,isWritable,setReadWriteAccess}=require(a55_0x4f37da(0x12d)),{isTrue,createDir,getHostInfo,nodeRequest,nestedKeyValue}=require(a55_0x4f37da(0xa5)),{BROWSERSTACK_API_URL,UPDATED_CLI_ENDPOINT}=require(a55_0x4f37da(0xc8)),{createClassLogger}=require('../../helpers/classLogger.js'),TestFrameworkInstance=require(a55_0x4f37da(0x146)),HookState=require(a55_0x4f37da(0xca)),TestFrameworkState=require('./state/testFrameworkState.js'),AutomationFrameworkState=require(a55_0x4f37da(0x10f)),TestFrameworkConstants=require(a55_0x4f37da(0xd9)),logger=createClassLogger('CLIUtils');class CLIUtils{[a55_0x4f37da(0xeb)]={};[a55_0x4f37da(0xb9)]={};static[a55_0x4f37da(0xaf)](){const _0xee18b0=a55_0x4f37da,_0x1c3a33={};_0x1c3a33[_0xee18b0(0xae)]=function(_0x226c5f,_0x5d85d5){return _0x226c5f===_0x5d85d5;},_0x1c3a33[_0xee18b0(0x140)]='development';const _0x160d16=_0x1c3a33;return _0x160d16[_0xee18b0(0xae)](process[_0xee18b0(0xf2)]['BROWSERSTACK_CLI_ENV'],_0x160d16['dPQVI']);}static['getCLIParamsForDevEnv'](){const _0x4cca77=a55_0x4f37da,_0x215516={};return _0x215516['id']=process[_0x4cca77(0xf2)][_0x4cca77(0x136)],_0x215516[_0x4cca77(0x107)]=_0x4cca77(0x11c)+process['env'][_0x4cca77(0x136)]+_0x4cca77(0x127),_0x215516;}static[a55_0x4f37da(0xb6)](){const _0x4eefe3=a55_0x4f37da,_0x2ae73b={'tMPQf':function(_0x55a851,_0x175d1f){return _0x55a851(_0x175d1f);},'JdwCO':_0x4eefe3(0x12b)};return _0x2ae73b[_0x4eefe3(0xfe)](require,_0x2ae73b[_0x4eefe3(0x104)])[_0x4eefe3(0x134)];}static[a55_0x4f37da(0x114)](){const _0x1aeccc=a55_0x4f37da,_0x10b04f={};_0x10b04f['KAnJZ']=_0x1aeccc(0x130);const _0x156cb5=_0x10b04f;return _0x156cb5[_0x1aeccc(0x12a)];}static async['setupCliPath'](_0x595b72){const _0x5897d7=a55_0x4f37da,_0x3af8bf={'IUSJe':'Configuring\x20Cli\x20path.','MFOfV':function(_0xd5c9b2,_0x127a04){return _0xd5c9b2(_0x127a04);},'flHDO':_0x5897d7(0xe3)};logger[_0x5897d7(0x148)](_0x3af8bf[_0x5897d7(0x112)]);const _0x3cf599=process[_0x5897d7(0xf2)][_0x5897d7(0x11d)];if(!_0x3af8bf[_0x5897d7(0x138)](isNullOrEmpty,_0x3cf599))return logger[_0x5897d7(0x148)]('Development\x20Cli\x20Path:\x20'+_0x3cf599),_0x3cf599;try{const _0x29f5d4=this[_0x5897d7(0x139)]();if(_0x3af8bf[_0x5897d7(0x138)](isNullOrEmpty,_0x29f5d4))throw new Error(_0x3af8bf[_0x5897d7(0x150)]);const _0x4aff68=this[_0x5897d7(0xab)](_0x29f5d4),_0x34af0e=await this[_0x5897d7(0xfc)](_0x4aff68,_0x29f5d4,_0x595b72);return logger['debug'](_0x5897d7(0xd2)+_0x34af0e),_0x34af0e;}catch(_0x51557f){logger[_0x5897d7(0x148)](_0x5897d7(0xd8)+util['format'](_0x51557f));}return null;}static async[a55_0x4f37da(0xfc)](_0x2d45a2,_0x4a880b,_0x46f2fa){const _0x41c307=a55_0x4f37da,_0xe2a2b9={'XzygV':function(_0x34b8da){return _0x34b8da();},'HuhOE':function(_0x503b68,_0x1c5d75){return _0x503b68(_0x1c5d75);},'nxANN':function(_0x26aec3,_0x2ccd5c,_0x415048){return _0x26aec3(_0x2ccd5c,_0x415048);},'ZtAoF':_0x41c307(0x109),'iBDSB':_0x41c307(0xef)};PerformanceTester['start'](PerformanceEvents[_0x41c307(0xe8)]),logger['info'](_0x41c307(0xdf)+_0x2d45a2);const _0x2a380a=_0xe2a2b9[_0x41c307(0xb2)](getHostInfo),_0x569fac={'sdk_version':CLIUtils[_0x41c307(0xb6)](),'os':_0x2a380a[_0x41c307(0xd4)],'os_arch':_0x2a380a[_0x41c307(0x10a)],'cli_version':'0','sdk_language':this[_0x41c307(0x114)]()};!_0xe2a2b9[_0x41c307(0x117)](isNullOrEmpty,_0x2d45a2)&&(_0x569fac[_0x41c307(0xde)]=await this[_0x41c307(0xe1)](_0x2d45a2+_0x41c307(0x105)));const _0x374ebf=await this[_0x41c307(0xce)](_0x569fac,_0x46f2fa);process[_0x41c307(0xf2)][_0x41c307(0x106)]&&(logger[_0x41c307(0xf4)](_0x41c307(0x13d)+process[_0x41c307(0xf2)][_0x41c307(0x106)]),_0x374ebf[_0x41c307(0x109)][_0x41c307(0xef)]=process[_0x41c307(0xf2)]['BROWSERSTACK_BINARY_URL']);if(_0xe2a2b9[_0x41c307(0xa8)](nestedKeyValue,_0x374ebf,[_0xe2a2b9['ZtAoF'],_0xe2a2b9[_0x41c307(0x111)]])){logger['debug'](_0x41c307(0xcc)+_0x569fac[_0x41c307(0xde)]);const _0x3f2704=await this[_0x41c307(0x120)](_0xe2a2b9['nxANN'](nestedKeyValue,_0x374ebf,[_0xe2a2b9['ZtAoF'],_0xe2a2b9[_0x41c307(0x111)]]),_0x4a880b);return PerformanceTester['end'](PerformanceEvents[_0x41c307(0xe8)]),_0x3f2704;}return PerformanceTester[_0x41c307(0x9d)](PerformanceEvents[_0x41c307(0xe8)]),_0x2d45a2;}static[a55_0x4f37da(0x139)](){const _0x336314=a55_0x4f37da,_0x4dee8a={'lvCAp':function(_0x2ebf82,_0x5f1896){return _0x2ebf82(_0x5f1896);},'wIXTf':_0x336314(0xe3),'mYJHM':_0x336314(0xf6)},_0x2b5f71=this[_0x336314(0x14f)]();try{if(_0x4dee8a['lvCAp'](isNullOrEmpty,_0x2b5f71))throw new Error(_0x4dee8a['wIXTf']);const _0x5eb2d6=path[_0x336314(0xf9)](_0x2b5f71,_0x4dee8a[_0x336314(0xfd)]);return!fs[_0x336314(0x110)](_0x5eb2d6)&&_0x4dee8a[_0x336314(0xda)](createDir,_0x5eb2d6),_0x5eb2d6;}catch(_0x537ead){logger[_0x336314(0x148)]('Error\x20in\x20getting\x20writable\x20directory,\x20writableDir='+util[_0x336314(0x10c)](_0x537ead));}}static[a55_0x4f37da(0x14f)](){const _0x39c538=a55_0x4f37da,_0x3cdc1f={'bHAPC':_0x39c538(0x9f),'YilCX':'tmp','BoxgR':function(_0x302e81,_0x28334f){return _0x302e81(_0x28334f);},'uxWvW':function(_0x25e79d,_0xada884){return _0x25e79d(_0xada884);},'UVclN':function(_0x5c0786,_0x564981){return _0x5c0786(_0x564981);},'WFEEw':function(_0x37ff52,_0x4f0b5d){return _0x37ff52(_0x4f0b5d);},'RzLps':function(_0x56a392,_0x23e7ea){return _0x56a392(_0x23e7ea);},'kWaun':function(_0x5df00c,_0x53fafe){return _0x5df00c(_0x53fafe);}},_0xf76a0c=[process[_0x39c538(0xf2)]['BROWSERSTACK_FILES_DIR'],path['join'](os[_0x39c538(0xf8)](),_0x3cdc1f[_0x39c538(0xe0)]),path[_0x39c538(0xf9)](_0x3cdc1f['YilCX'],_0x3cdc1f[_0x39c538(0xe0)])];for(const _0x34c990 of _0xf76a0c){if(_0x3cdc1f[_0x39c538(0xf7)](isNullOrEmpty,_0x34c990))continue;try{if(fs[_0x39c538(0x110)](_0x34c990)){logger[_0x39c538(0x148)]('File\x20'+_0x34c990+'\x20already\x20exist');if(!_0x3cdc1f[_0x39c538(0xf7)](isWritable,_0x34c990)){logger[_0x39c538(0x148)]('Giving\x20write\x20permission\x20to\x20'+_0x34c990);const _0x3e3eb5=_0x3cdc1f['uxWvW'](setReadWriteAccess,_0x34c990);!_0x3cdc1f['UVclN'](isTrue,_0x3e3eb5)&&logger[_0x39c538(0xe2)](_0x39c538(0xe4)+_0x34c990);}}else{logger[_0x39c538(0x148)](_0x39c538(0xed)+_0x34c990),_0x3cdc1f['WFEEw'](createDir,_0x34c990),logger[_0x39c538(0x148)](_0x39c538(0xe7)+_0x34c990);const _0x388609=_0x3cdc1f[_0x39c538(0x122)](setReadWriteAccess,_0x34c990);!_0x3cdc1f[_0x39c538(0xc9)](isTrue,_0x388609)&&logger[_0x39c538(0xe2)]('Unable\x20to\x20provide\x20write\x20permission\x20to\x20'+_0x34c990);}return _0x34c990;}catch(_0x4879cf){logger[_0x39c538(0xd0)](_0x39c538(0xa4)+util['format'](_0x4879cf));}}return null;}static[a55_0x4f37da(0xab)](_0x40e6ba){const _0x777513=a55_0x4f37da,_0x206db2={};_0x206db2[_0x777513(0xd5)]=function(_0x8d376,_0x30b966){return _0x8d376>_0x30b966;},_0x206db2['sBjxA']=function(_0x25977c,_0x4a7aa2){return _0x25977c>_0x4a7aa2;};const _0x3306f3=_0x206db2;try{if(!fs[_0x777513(0x110)](_0x40e6ba)||!fs['statSync'](_0x40e6ba)['isDirectory']())return'';const _0x391677=fs['readdirSync'](_0x40e6ba)[_0x777513(0xf3)](_0x4fb822=>path['join'](_0x40e6ba,_0x4fb822))[_0x777513(0x116)](_0x30ecd3=>fs[_0x777513(0x145)](_0x30ecd3)[_0x777513(0xa7)]()&&path[_0x777513(0xcb)](_0x30ecd3)[_0x777513(0xc1)](_0x777513(0xd1)));if(_0x3306f3[_0x777513(0x119)](_0x391677[_0x777513(0xfb)],0x0)){const _0x25ce52=_0x391677['map'](_0x566e8e=>({'filePath':_0x566e8e,'mtime':fs[_0x777513(0x145)](_0x566e8e)[_0x777513(0xb1)]}))[_0x777513(0x129)]((_0x293c92,_0x4916e6)=>{const _0x39e759=_0x777513;if(!_0x293c92||!_0x293c92[_0x39e759(0xb1)])return _0x4916e6;if(_0x3306f3[_0x39e759(0xd5)](_0x4916e6[_0x39e759(0xb1)],_0x293c92[_0x39e759(0xb1)]))return _0x4916e6;return _0x293c92;},{});return _0x25ce52?_0x25ce52[_0x777513(0x11b)]:'';}return'';}catch(_0x21ad56){return logger['error']('Error\x20while\x20reading\x20CLI\x20path:\x20'+util[_0x777513(0x10c)](_0x21ad56)),'';}}static ['requestToUpdateCLI']=async(_0x41ab99,_0xf2defd)=>{const _0x45aa66=a55_0x4f37da,_0x24b15f={'WlMVy':function(_0xfa262e,_0x23718f,_0x51be06,_0x471bde,_0x33d4b9,_0x39d0a2){return _0xfa262e(_0x23718f,_0x51be06,_0x471bde,_0x33d4b9,_0x39d0a2);},'RRKcT':'GET'},_0x5a8fab={};_0x5a8fab['qs']=_0x41ab99;const _0x3fdd03=await _0x24b15f['WlMVy'](nodeRequest,_0x24b15f[_0x45aa66(0x103)],UPDATED_CLI_ENDPOINT,_0x5a8fab,_0xf2defd,BROWSERSTACK_API_URL);return logger['debug'](_0x45aa66(0xff)+JSON[_0x45aa66(0xb0)](_0x3fdd03)),_0x3fdd03;};static[a55_0x4f37da(0xe1)](_0x2ee594,_0x3732b9=''){const _0x5b9759=a55_0x4f37da,_0x1231f8={'Shykn':function(_0xb6cc8a,_0x547e94){return _0xb6cc8a(_0x547e94);},'ArsqD':_0x5b9759(0xdc),'yUlao':function(_0x233b16,_0x496d9d){return _0x233b16(_0x496d9d);},'yRLGS':function(_0x4e3ef4,_0x151dbb,_0x454c4e,_0x2261fb){return _0x4e3ef4(_0x151dbb,_0x454c4e,_0x2261fb);},'wAmKP':'error'};return new Promise((_0x4b331f,_0x1cadbc)=>{const _0x1408a0=_0x5b9759,_0x649405={'ymfep':function(_0x49a8d6,_0x2d4f58){const _0x1d2d09=a55_0x300b;return _0x1231f8[_0x1d2d09(0x137)](_0x49a8d6,_0x2d4f58);},'siFqV':_0x1231f8[_0x1408a0(0x141)],'vKdWV':function(_0x450310,_0x284a14){return _0x1231f8['yUlao'](_0x450310,_0x284a14);}},_0x5bc403={};_0x5bc403['cwd']=_0x3732b9,_0x5bc403[_0x1408a0(0xcf)]=0x1388;const _0x2ea338=_0x1231f8[_0x1408a0(0xb4)](exec,_0x2ee594,_0x5bc403,(_0x37adc2,_0x5961f3,_0x131c98)=>{const _0x1d2d30=_0x1408a0;_0x37adc2?_0x649405['ymfep'](_0x4b331f,_0x131c98[_0x1d2d30(0x118)]()||_0x649405[_0x1d2d30(0xee)]):_0x649405[_0x1d2d30(0xf5)](_0x4b331f,_0x5961f3[_0x1d2d30(0x118)]());});_0x2ea338['on'](_0x1231f8[_0x1408a0(0x149)],()=>{const _0x26aaf7=_0x1408a0;_0x649405[_0x26aaf7(0xd6)](_0x4b331f,_0x649405[_0x26aaf7(0xee)]);});});}static [a55_0x4f37da(0x120)]=async(_0x4f9622,_0x4b15fa)=>{const _0x4a2c91=a55_0x4f37da,_0x40b50a={'EdWPh':_0x4a2c91(0x13a),'cBQqU':function(_0x1bd983,_0x3661c6){return _0x1bd983(_0x3661c6);},'htFun':_0x4a2c91(0xd0),'KzFAO':_0x4a2c91(0xb7),'KQzbt':function(_0x458905,_0x52e62d){return _0x458905(_0x52e62d);},'WTShy':_0x4a2c91(0xa2)};PerformanceTester[_0x4a2c91(0xe6)](PerformanceEvents[_0x4a2c91(0xbc)]),logger['debug'](_0x4a2c91(0x12c)+_0x4f9622);try{const _0x46f489=url[_0x4a2c91(0xa9)](_0x4f9622),_0xd46380=path[_0x4a2c91(0xf9)](_0x4b15fa,_0x40b50a[_0x4a2c91(0xad)]),_0x5caa48=fs[_0x4a2c91(0xbb)](_0xd46380);return new Promise((_0x4f3528,_0x8c7351)=>{const _0xc6078f=_0x4a2c91,_0x2c2ca0={'PWyMp':_0x40b50a[_0xc6078f(0x135)],'jqprg':function(_0x27779a,_0x5a703b){const _0x253651=_0xc6078f;return _0x40b50a[_0x253651(0xa3)](_0x27779a,_0x5a703b);},'CFplH':function(_0x2c450c,_0x2b3f43){const _0x433cdc=_0xc6078f;return _0x40b50a[_0x433cdc(0xa3)](_0x2c450c,_0x2b3f43);}};https['get'](_0x46f489,function(_0x3c97e2){const _0x4a68ee=_0xc6078f,_0x4ed614={'QPrRb':_0x40b50a[_0x4a68ee(0xaa)],'pupBB':function(_0x534eb7,_0x25e3a5){const _0x5d373c=_0x4a68ee;return _0x40b50a[_0x5d373c(0x124)](_0x534eb7,_0x25e3a5);}},_0x50cb28=null;_0x3c97e2[_0x4a68ee(0xc0)](_0x5caa48),_0x3c97e2['on'](_0x40b50a['htFun'],function(_0x518d36){const _0x5b67d2=_0x4a68ee;logger[_0x5b67d2(0xd0)](util[_0x5b67d2(0x10c)](_0x4ed614[_0x5b67d2(0x125)],_0x518d36)),PerformanceTester[_0x5b67d2(0x9d)](PerformanceEvents[_0x5b67d2(0xbc)],![],util[_0x5b67d2(0x10c)](_0x518d36)),_0x4ed614[_0x5b67d2(0x142)](_0x8c7351,_0x518d36);}),_0x5caa48['on'](_0x40b50a[_0x4a68ee(0x10d)],function(_0x3ddbdb){const _0x370dc8=_0x4a68ee;logger['error'](util['format'](_0x2c2ca0[_0x370dc8(0xc7)],_0x3ddbdb)),PerformanceTester[_0x370dc8(0x9d)](PerformanceEvents[_0x370dc8(0xbc)],![],util[_0x370dc8(0x10c)](_0x3ddbdb)),_0x2c2ca0[_0x370dc8(0xa0)](_0x8c7351,_0x3ddbdb);}),CLIUtils[_0x4a68ee(0x144)](_0x5caa48,_0x50cb28,_0xd46380,_0x4b15fa,_0x4f3528,_0x8c7351),PerformanceTester[_0x4a68ee(0x9d)](PerformanceEvents['SDK_CLI_DOWNLOAD']);})['on'](_0x40b50a['htFun'],function(_0x4c6561){const _0x95bef7=_0xc6078f;logger[_0x95bef7(0xd0)](_0x95bef7(0xf1)+util[_0x95bef7(0x10c)](_0x4c6561)),PerformanceTester[_0x95bef7(0x9d)](PerformanceEvents[_0x95bef7(0xbc)],![],util['format'](_0x4c6561)),_0x2c2ca0['CFplH'](_0x8c7351,_0x4c6561);});});}catch(_0x3ad30b){PerformanceTester[_0x4a2c91(0x9d)](PerformanceEvents[_0x4a2c91(0xbc)],![],util[_0x4a2c91(0x10c)](_0x3ad30b)),logger['debug'](_0x4a2c91(0xbe)+util[_0x4a2c91(0x10c)](_0x3ad30b));}};static[a55_0x4f37da(0x144)](_0x58f6a4,_0x47b7be,_0x4f6366,_0x175c11,_0x12681d,_0x200341){const _0x4f5e9f=a55_0x4f37da,_0x3a7f0d={'VoucO':function(_0xa0bd5,_0xd19800){return _0xa0bd5(_0xd19800);},'EGnyR':_0x4f5e9f(0x9d),'LoqhD':function(_0x807004,_0x287370){return _0x807004===_0x287370;},'ZhILD':function(_0x4abf19,_0x1cff8f){return _0x4abf19(_0x1cff8f);},'VBoul':function(_0x440c75,_0x65e25e){return _0x440c75(_0x65e25e);},'KmsMX':'entry','HPTyh':_0x4f5e9f(0xd0),'pbPGw':function(_0x3d87ae,_0x4c934e){return _0x3d87ae(_0x4c934e);},'XRDdY':_0x4f5e9f(0x102),'taIEN':'close'};_0x58f6a4['on'](_0x3a7f0d[_0x4f5e9f(0x14d)],function(){const _0x4ff459=_0x4f5e9f,_0xd6b94a={'nFtXK':function(_0x363474,_0x5cc1ec){const _0x5500fd=a55_0x300b;return _0x3a7f0d[_0x5500fd(0xbd)](_0x363474,_0x5cc1ec);},'mwIHe':function(_0x2ad190,_0x4cf787){const _0x13ee25=a55_0x300b;return _0x3a7f0d[_0x13ee25(0x14c)](_0x2ad190,_0x4cf787);},'OXUpb':_0x3a7f0d[_0x4ff459(0xd3)]},_0x73086e={};_0x73086e[_0x4ff459(0x100)]=!![],yauzl[_0x4ff459(0x12f)](_0x4f6366,_0x73086e,function(_0x5d6f4f,_0x4eac93){const _0x4c9cc2=_0x4ff459,_0x47b601={'KcuXQ':function(_0x18b66c,_0x660467){return _0x3a7f0d['VoucO'](_0x18b66c,_0x660467);},'gxZOW':_0x3a7f0d[_0x4c9cc2(0xb5)],'HsKPC':function(_0x168017,_0x4a6af2){const _0x541b4c=_0x4c9cc2;return _0x3a7f0d[_0x541b4c(0x13f)](_0x168017,_0x4a6af2);},'Mvfwy':function(_0xdbacc5,_0x5afbbc){const _0x339b9d=_0x4c9cc2;return _0x3a7f0d[_0x339b9d(0xbd)](_0xdbacc5,_0x5afbbc);}};_0x5d6f4f&&_0x3a7f0d[_0x4c9cc2(0x9e)](_0x200341,_0x5d6f4f),_0x4eac93[_0x4c9cc2(0x123)](),_0x4eac93['on'](_0x3a7f0d['KmsMX'],_0x91fc0=>{const _0x386ba7=_0x4c9cc2;!_0x47b7be&&(_0x47b7be=_0x91fc0[_0x386ba7(0xb8)]);if(/\/$/['test'](_0x91fc0[_0x386ba7(0xb8)]))_0x4eac93[_0x386ba7(0x123)]();else{const _0x24ff01=fs[_0x386ba7(0xbb)](path['join'](_0x175c11,_0x91fc0[_0x386ba7(0xb8)]));_0x4eac93[_0x386ba7(0x147)](_0x91fc0,function(_0x3398f0,_0x50e036){const _0x1b0615=_0x386ba7;_0x3398f0&&_0x47b601[_0x1b0615(0x10b)](_0x200341,_0x5d6f4f),_0x50e036['on'](_0x47b601['gxZOW'],function(){const _0xc13ca3=_0x1b0615;_0x24ff01['close'](),_0x4eac93[_0xc13ca3(0x123)]();}),_0x50e036[_0x1b0615(0xc0)](_0x24ff01);}),_0x47b601[_0x386ba7(0xec)](_0x91fc0[_0x386ba7(0xb8)],_0x47b7be)&&_0x4eac93[_0x386ba7(0x101)]();}}),_0x4eac93['on'](_0x3a7f0d[_0x4c9cc2(0xc5)],_0x50f6f9=>{_0x47b601['Mvfwy'](_0x200341,_0x50f6f9);}),_0x4eac93[_0x4c9cc2(0xf0)](_0x3a7f0d['EGnyR'],()=>{const _0x4769f1=_0x4c9cc2,_0x3ff7bd={'qXHMx':function(_0x2bc0ae,_0x137853){return _0xd6b94a['nFtXK'](_0x2bc0ae,_0x137853);},'Shbxq':function(_0x4fb4e2,_0x3a8939){const _0x29a7d1=a55_0x300b;return _0xd6b94a[_0x29a7d1(0x151)](_0x4fb4e2,_0x3a8939);}};fs[_0x4769f1(0xa1)](_0x4f6366,_0x768715=>{const _0x511db7=_0x4769f1;_0x768715&&logger[_0x511db7(0xe2)](_0x511db7(0xd7)+_0x4f6366);}),fs['chmod'](_0x175c11+'/'+_0x47b7be,_0xd6b94a[_0x4769f1(0xac)],function(_0x362122){const _0x3410a7=_0x4769f1;_0x362122&&_0x3ff7bd[_0x3410a7(0xb3)](_0x200341,_0x362122),_0x3ff7bd[_0x3410a7(0x12e)](_0x12681d,_0x175c11+'/'+_0x47b7be);}),_0x4eac93['close']();});});});}static[a55_0x4f37da(0xc2)](){const _0x52ff9f=a55_0x4f37da;if(process['env'][_0x52ff9f(0x128)])return JSON['parse'](process[_0x52ff9f(0xf2)][_0x52ff9f(0x128)]);return this[_0x52ff9f(0xb9)];}static[a55_0x4f37da(0xea)](){const _0x5d239d=a55_0x4f37da;if(process[_0x5d239d(0xf2)][_0x5d239d(0x14e)])return JSON['parse'](process[_0x5d239d(0xf2)][_0x5d239d(0x14e)]);return this[_0x5d239d(0xeb)];}static['setFrameworkDetail'](_0x14c2a2,_0x3ab451){const _0x357cb2=a55_0x4f37da,_0x430156={'xbWmR':'1|4|0|3|2','HIiXB':function(_0x5ae955,_0x116492){return _0x5ae955(_0x116492);},'fbSEr':function(_0x3911a4,_0x291aaf){return _0x3911a4||_0x291aaf;},'srOUB':function(_0x37b3a6,_0x3d9c93){return _0x37b3a6(_0x3d9c93);}},_0x1eec22=_0x430156['xbWmR'][_0x357cb2(0xc6)]('|');let _0x9e1143=0x0;while(!![]){switch(_0x1eec22[_0x9e1143++]){case'0':this[_0x357cb2(0xeb)]={'name':_0x3ab451,'version':_0x430156[_0x357cb2(0x113)](getFrameworkVersion,_0x3ab451)};continue;case'1':_0x430156['fbSEr'](!_0x14c2a2,!_0x3ab451)&&logger[_0x357cb2(0x148)]('Test\x20or\x20Automation\x20framework\x20not\x20provided\x20testFramework='+_0x14c2a2+_0x357cb2(0xbf)+_0x3ab451);continue;case'2':process['env'][_0x357cb2(0x128)]=JSON[_0x357cb2(0xb0)](this[_0x357cb2(0xb9)]);continue;case'3':process['env'][_0x357cb2(0x14e)]=JSON['stringify'](this[_0x357cb2(0xeb)]);continue;case'4':this[_0x357cb2(0xb9)]={'name':_0x14c2a2,'version':{[_0x14c2a2]:_0x430156['srOUB'](getFrameworkVersion,_0x14c2a2)}};continue;}break;}}static[a55_0x4f37da(0xe5)](_0x9240e5,_0x31588a){return _0x9240e5+':'+_0x31588a;}static[a55_0x4f37da(0x132)](){const _0x45a528=a55_0x4f37da;return process[_0x45a528(0xc4)]+':'+threadId;}static[a55_0x4f37da(0xcd)](_0x4ff144){const _0x160415=a55_0x4f37da;if(_0x4ff144[_0x160415(0xdb)]&&_0x4ff144['testContextOptions'][_0x160415(0x126)])return!![];return![];}static[a55_0x4f37da(0x108)](_0x57cf6b){const _0x242709=a55_0x4f37da;if(_0x57cf6b['testContextOptions']&&_0x57cf6b[_0x242709(0xdb)][_0x242709(0x11a)])return!![];return![];}static[a55_0x4f37da(0x13c)](_0x2446af){const _0x5abc57=a55_0x4f37da,_0x42cc75=new RegExp(TestFrameworkConstants[_0x5abc57(0x11e)]);return _0x42cc75[_0x5abc57(0x11f)](_0x2446af);}}function a55_0x300b(_0x55844f,_0x1616ff){const _0x337d32=a55_0x337d();return a55_0x300b=function(_0x300bce,_0x3c631a){_0x300bce=_0x300bce-0x9d;let _0x3465d2=_0x337d32[_0x300bce];return _0x3465d2;},a55_0x300b(_0x55844f,_0x1616ff);}module[a55_0x4f37da(0x131)]=CLIUtils;
@@ -0,0 +1 @@
1
+ 'use strict';const a56_0x3cc86a=a56_0x42d5;(function(_0xe237e,_0x27acab){const _0x3c9d63=a56_0x42d5,_0x568a59=_0xe237e();while(!![]){try{const _0x26e451=parseInt(_0x3c9d63(0x13a))/0x1+parseInt(_0x3c9d63(0x144))/0x2+-parseInt(_0x3c9d63(0x132))/0x3*(-parseInt(_0x3c9d63(0x118))/0x4)+-parseInt(_0x3c9d63(0x13d))/0x5*(-parseInt(_0x3c9d63(0x11a))/0x6)+-parseInt(_0x3c9d63(0x130))/0x7+-parseInt(_0x3c9d63(0x133))/0x8+-parseInt(_0x3c9d63(0x13c))/0x9;if(_0x26e451===_0x27acab)break;else _0x568a59['push'](_0x568a59['shift']());}catch(_0x473315){_0x568a59['push'](_0x568a59['shift']());}}}(a56_0x294d,0x24e19));const BrowserstackCLI=require(a56_0x3cc86a(0x143)),helper=require('../../helpers/helper'),AutomationFramework=require(a56_0x3cc86a(0x128)),TestFrameworkConstants=require(a56_0x3cc86a(0x134)),PlaywrightDriverModule=require(a56_0x3cc86a(0x122)),TestInfo=require(a56_0x3cc86a(0x12b)),TestHubModule=require('./modules/testhubModule');function a56_0x42d5(_0x137cfe,_0x38d441){const _0x294d01=a56_0x294d();return a56_0x42d5=function(_0x42d5b7,_0x1df29a){_0x42d5b7=_0x42d5b7-0x114;let _0x1d1272=_0x294d01[_0x42d5b7];return _0x1d1272;},a56_0x42d5(_0x137cfe,_0x38d441);}class CustomTagManager{static [a56_0x3cc86a(0x141)]={};static [a56_0x3cc86a(0x123)]={};static[a56_0x3cc86a(0x138)](_0x421953,_0x3b3c25,_0x59f707=![]){const _0x336178=a56_0x3cc86a,_0x3241e9={};_0x3241e9[_0x336178(0x114)]=function(_0x8cfb4d,_0x33e730){return _0x8cfb4d!==_0x33e730;},_0x3241e9[_0x336178(0x11e)]=_0x336178(0x120),_0x3241e9[_0x336178(0x13f)]=_0x336178(0x121),_0x3241e9[_0x336178(0x127)]=_0x336178(0x129),_0x3241e9[_0x336178(0x131)]=function(_0x59c000,_0x390e35){return _0x59c000===_0x390e35;},_0x3241e9[_0x336178(0x119)]=_0x336178(0x126),_0x3241e9['tBJAR']='Custom\x20tag\x20value\x20cannot\x20be\x20empty',_0x3241e9[_0x336178(0x140)]=_0x336178(0x117);const _0x223353=_0x3241e9;if(_0x223353[_0x336178(0x114)](typeof _0x421953,_0x223353[_0x336178(0x11e)]))throw new Error(_0x223353[_0x336178(0x13f)]);if(_0x223353[_0x336178(0x114)](typeof _0x3b3c25,_0x223353[_0x336178(0x11e)]))throw new Error(_0x223353[_0x336178(0x127)]);if(_0x223353['yWYAQ'](_0x421953[_0x336178(0x135)](),''))throw new Error(_0x223353[_0x336178(0x119)]);if(_0x223353[_0x336178(0x131)](_0x3b3c25['trim'](),''))throw new Error(_0x223353[_0x336178(0x136)]);const _0x2ad7e4=helper[_0x336178(0x11c)](_0x3b3c25);if(_0x59f707){const _0x3f3d09=BrowserstackCLI[_0x336178(0x11d)]()[_0x336178(0x124)][TestHubModule[_0x336178(0x13b)]];if(_0x3f3d09){const _0x425304=_0x3f3d09?.[_0x336178(0x137)]?.[_0x336178(0x115)]()?.[_0x336178(0x12d)];TestInfo['getTestUUID'](_0x425304);const _0x3224e2=TestInfo['getTestDetails'](_0x425304),_0xd4bed0=_0x3224e2[TestFrameworkConstants[_0x336178(0x125)]]||{};if(!_0xd4bed0[_0x421953]){const _0x3e4be2={};_0x3e4be2[_0x336178(0x12c)]=_0x223353[_0x336178(0x140)],_0x3e4be2[_0x336178(0x11b)]=[..._0x2ad7e4],_0xd4bed0[_0x421953]=_0x3e4be2;}else _0xd4bed0[_0x421953][_0x336178(0x11b)]=[..._0x2ad7e4];_0x3224e2[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0xd4bed0,TestInfo['setTestDetails'](_0x425304,_0x3224e2),!this[_0x336178(0x141)][_0x425304]&&(this[_0x336178(0x141)][_0x425304]={}),this[_0x336178(0x141)][_0x425304][_0x421953]=[..._0x2ad7e4];}}else{const _0x5a9c38=AutomationFramework[_0x336178(0x12f)](),_0x58ec6c=AutomationFramework[_0x336178(0x13e)](_0x5a9c38,PlaywrightDriverModule[_0x336178(0x12a)],''),_0x5d5045=TestInfo[_0x336178(0x139)](_0x58ec6c),_0x353c3e=_0x5d5045[TestFrameworkConstants[_0x336178(0x125)]]||{};if(!_0x353c3e[_0x421953]){const _0x4c61e1={};_0x4c61e1['field_type']=_0x223353[_0x336178(0x140)],_0x4c61e1[_0x336178(0x11b)]=[..._0x2ad7e4],_0x353c3e[_0x421953]=_0x4c61e1;}else _0x353c3e[_0x421953][_0x336178(0x11b)]=[..._0x2ad7e4];_0x5d5045[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x353c3e,TestInfo['setTestDetails'](_0x58ec6c,_0x5d5045),!this['testLevelTags'][_0x58ec6c]&&(this[_0x336178(0x123)][_0x58ec6c]={}),this[_0x336178(0x123)][_0x58ec6c][_0x421953]=[..._0x2ad7e4];}}static[a56_0x3cc86a(0x12e)](){const _0x266f6f=a56_0x3cc86a,_0x96515b={...this[_0x266f6f(0x141)]};return _0x96515b;}static[a56_0x3cc86a(0x11f)](){const _0x2ce9f3=a56_0x3cc86a,_0x3e1cf5={...this[_0x2ce9f3(0x123)]};return _0x3e1cf5;}static[a56_0x3cc86a(0x116)](){const _0x133bfc=a56_0x3cc86a;this[_0x133bfc(0x141)]={},this['testLevelTags']={};}}function a56_0x294d(){const _0x3c780a=['9020zVNVJU','getState','SUJOf','IycWu','buildLevelTags','exports','./browserstackCLI','572930MGxnON','gDAPD','toObject','clearTags','multi_dropdown','8948mgRItW','OpaoS','276BfmlTu','values','parseCommaSeparatedValues','getInstance','hJuaz','getTestLevelTags','string','Custom\x20tag\x20key\x20must\x20be\x20a\x20string','./modules/playwrightDriverModule','testLevelTags','modules','KEY_CUSTOM_TAGS','Custom\x20tag\x20key\x20cannot\x20be\x20empty','XEYJD','./framework/automationFramework','Custom\x20tag\x20value\x20must\x20be\x20a\x20string','KEY_TEST_ID','./TestInfo','field_type','buildHashedId','getBuildLevelTags','getTrackedInstance','673435nDfDNm','yWYAQ','57XJEduS','1882552eCIetu','./framework/constants/testFrameworkConstants','trim','tBJAR','testhubConfig','setCustomTags','getTestDetails','261145bmolgF','MODULE_NAME','1714572LHKccn'];a56_0x294d=function(){return _0x3c780a;};return a56_0x294d();}module[a56_0x3cc86a(0x142)]=CustomTagManager;
@@ -0,0 +1 @@
1
+ const a57_0x256926=a57_0x38be;function a57_0x38be(_0x570755,_0x2a7435){const _0x338a75=a57_0x338a();return a57_0x38be=function(_0x38be35,_0x22a544){_0x38be35=_0x38be35-0x1c0;let _0x3e434a=_0x338a75[_0x38be35];return _0x3e434a;},a57_0x38be(_0x570755,_0x2a7435);}(function(_0x40e942,_0x57a522){const _0x10fc92=a57_0x38be,_0x52d2aa=_0x40e942();while(!![]){try{const _0x3c62e9=-parseInt(_0x10fc92(0x1c2))/0x1*(parseInt(_0x10fc92(0x1d0))/0x2)+-parseInt(_0x10fc92(0x1c8))/0x3*(-parseInt(_0x10fc92(0x1c0))/0x4)+parseInt(_0x10fc92(0x1c5))/0x5*(-parseInt(_0x10fc92(0x1ce))/0x6)+-parseInt(_0x10fc92(0x1cf))/0x7*(parseInt(_0x10fc92(0x1cc))/0x8)+parseInt(_0x10fc92(0x1c7))/0x9+parseInt(_0x10fc92(0x1cb))/0xa*(parseInt(_0x10fc92(0x1d2))/0xb)+-parseInt(_0x10fc92(0x1d1))/0xc*(-parseInt(_0x10fc92(0x1d3))/0xd);if(_0x3c62e9===_0x57a522)break;else _0x52d2aa['push'](_0x52d2aa['shift']());}catch(_0x3dbf1a){_0x52d2aa['push'](_0x52d2aa['shift']());}}}(a57_0x338a,0x397be));const {createClassLogger}=require('../../helpers/classLogger.js');class EventDispatcher{static #instance=null;constructor(){this['observers']={};}static[a57_0x256926(0x1c9)](){return!EventDispatcher.#instance&&(EventDispatcher.#instance=new EventDispatcher()),EventDispatcher.#instance;}[a57_0x256926(0x1c4)](_0x80613c,_0x33e9b0){const _0x2df59e=a57_0x256926;!this[_0x2df59e(0x1d4)][_0x80613c]&&(this['observers'][_0x80613c]=[]),this[_0x2df59e(0x1d4)][_0x80613c][_0x2df59e(0x1c3)](_0x33e9b0);}async[a57_0x256926(0x1cd)](_0x29fde3,_0xaa5f2){const _0x3010af=a57_0x256926,_0xc5468={'WMGwC':function(_0x5aabcd,_0x23c2bc){return _0x5aabcd(_0x23c2bc);}};if(this['observers'][_0x29fde3]){for(const _0x935627 of this[_0x3010af(0x1d4)][_0x29fde3]){await _0xc5468[_0x3010af(0x1ca)](_0x935627,_0xaa5f2);}return;}}}const eventDispatcher=EventDispatcher[a57_0x256926(0x1c9)]();Object[a57_0x256926(0x1c6)](eventDispatcher),module[a57_0x256926(0x1c1)]=eventDispatcher;function a57_0x338a(){const _0x48f192=['8iYZWkp','notifyObserver','2154ayFrHk','2710806rnvvNw','50042TBDTpi','1164KPgaPe','27038yBYWwp','27833IsmkJr','observers','414996yTLIFT','exports','1iQLUhj','push','registerObserver','635qrodCc','freeze','2640708PibQSC','3iWHKnJ','getInstance','WMGwC','360vlOMSA'];a57_0x338a=function(){return _0x48f192;};return a57_0x338a();}
@@ -0,0 +1 @@
1
+ const a58_0xa8d18=a58_0x12e9;function a58_0x12e9(_0x3ec9c5,_0x4c9da9){const _0x3484fb=a58_0x3484();return a58_0x12e9=function(_0x12e968,_0x403d39){_0x12e968=_0x12e968-0x19b;let _0x1cb2e6=_0x3484fb[_0x12e968];return _0x1cb2e6;},a58_0x12e9(_0x3ec9c5,_0x4c9da9);}(function(_0x224ba0,_0x392f72){const _0x350861=a58_0x12e9,_0x1f241a=_0x224ba0();while(!![]){try{const _0x4734a2=-parseInt(_0x350861(0x1b4))/0x1+-parseInt(_0x350861(0x1a1))/0x2+-parseInt(_0x350861(0x1b6))/0x3+-parseInt(_0x350861(0x1b0))/0x4*(-parseInt(_0x350861(0x19e))/0x5)+-parseInt(_0x350861(0x1ae))/0x6*(parseInt(_0x350861(0x1ba))/0x7)+-parseInt(_0x350861(0x1a0))/0x8+parseInt(_0x350861(0x1a8))/0x9*(parseInt(_0x350861(0x1a9))/0xa);if(_0x4734a2===_0x392f72)break;else _0x1f241a['push'](_0x1f241a['shift']());}catch(_0x10b5ae){_0x1f241a['push'](_0x1f241a['shift']());}}}(a58_0x3484,0x42151));function a58_0x3484(){const _0x4ec79d=['createContext','getState','set','debug','trackEvent','65016yVhuab','2050nQjUnz','KEY_AUTOMATION_SESSIONS','notifyObserver','automationFrameworkVersion','getTrackedInstance','6558NBeKLe','automation_sessions','104YVKZLd','exports','getAutomationFrameworkName','getAutomationFrameworkVersion','108087TUICUJ','automationFrameworkName','1297143ksktBf','runHooks','AutomationFramework','setState','1792XITsyh','../instances/trackedInstance.js','registerObserver','\x20hookState=','../cliUtils.js','instances','KEY_NON_BROWSERSTACK_AUTOMATION_SESSIONS','getId','get','46015ghQZtI','../../../helpers/classLogger.js','808712woOAZl','1056320lBjQxU','setTrackedInstance'];a58_0x3484=function(){return _0x4ec79d;};return a58_0x3484();}const {createClassLogger}=require(a58_0xa8d18(0x19f)),util=require('util'),eventDispatcher=require('../eventDispatcher.js'),CLIUtils=require(a58_0xa8d18(0x1be)),TrackedInstance=require(a58_0xa8d18(0x1bb)),logger=createClassLogger(a58_0xa8d18(0x1b8));class AutomationFramework{static [a58_0xa8d18(0x1bf)]=new Map();static [a58_0xa8d18(0x1aa)]=a58_0xa8d18(0x1af);static [a58_0xa8d18(0x19b)]='non_browserstack_automation_sessions';constructor(_0x1e98cb,_0x50c292){const _0x40cdbf=a58_0xa8d18;this[_0x40cdbf(0x1b5)]=_0x1e98cb,this[_0x40cdbf(0x1ac)]=_0x50c292;}[a58_0xa8d18(0x1b2)](){const _0x49b431=a58_0xa8d18;return this[_0x49b431(0x1b5)];}[a58_0xa8d18(0x1b3)](){const _0x35e0be=a58_0xa8d18;return this[_0x35e0be(0x1ac)];}async[a58_0xa8d18(0x1a7)](_0x2022ad,_0x335812,_0x246a26={}){const _0x60d8f1=a58_0xa8d18;logger[_0x60d8f1(0x1a6)]('trackEvent:\x20automationFrameworkState='+_0x2022ad+_0x60d8f1(0x1bd)+_0x335812);}async[a58_0xa8d18(0x1b7)](_0x16c285,_0x13e3ad,_0xd998cb,_0x225f92={}){const _0x5de98c=a58_0xa8d18,_0x36b245=CLIUtils['getHookRegistryKey'](_0x13e3ad,_0xd998cb);_0x16c285&&_0x16c285[_0x5de98c(0x1b9)](_0x13e3ad),await eventDispatcher[_0x5de98c(0x1ab)](_0x36b245,_0x225f92);}static['registerObserver'](_0x457f25,_0x9c239f,_0x3d3ed4){const _0x250509=a58_0xa8d18;eventDispatcher[_0x250509(0x1bc)](CLIUtils['getHookRegistryKey'](_0x457f25,_0x9c239f),_0x3d3ed4);}static[a58_0xa8d18(0x1a2)](_0x501f5e,_0xcc3318){const _0x1f8449=a58_0xa8d18;AutomationFramework[_0x1f8449(0x1bf)][_0x1f8449(0x1a5)](_0x501f5e[_0x1f8449(0x19c)](),_0xcc3318);}static[a58_0xa8d18(0x1ad)](){const _0x113c4b=a58_0xa8d18,_0x352f63=TrackedInstance[_0x113c4b(0x1a3)](CLIUtils['getCurrentInstanceName']());return AutomationFramework[_0x113c4b(0x1bf)][_0x113c4b(0x19d)](_0x352f63[_0x113c4b(0x19c)]());}static[a58_0xa8d18(0x1b9)](_0x4bb5b8,_0x2165c8,_0x4a2c42){const _0x14403e=a58_0xa8d18;_0x4bb5b8['getAllData']()[_0x14403e(0x1a5)](_0x2165c8,_0x4a2c42);}static[a58_0xa8d18(0x1a4)](_0x238a0d,_0x239f79){const _0x37fc50=a58_0xa8d18;return _0x238a0d['getAllData']()[_0x37fc50(0x19d)](_0x239f79);}}module[a58_0xa8d18(0x1b1)]=AutomationFramework;
@@ -0,0 +1 @@
1
+ const a59_0x370183=a59_0x4144;(function(_0x25f446,_0x148c05){const _0xa90b6a=a59_0x4144,_0xd2f22d=_0x25f446();while(!![]){try{const _0x83a331=parseInt(_0xa90b6a(0xcb))/0x1*(parseInt(_0xa90b6a(0xc5))/0x2)+-parseInt(_0xa90b6a(0xd1))/0x3*(parseInt(_0xa90b6a(0xc2))/0x4)+parseInt(_0xa90b6a(0xcc))/0x5+-parseInt(_0xa90b6a(0xdd))/0x6*(parseInt(_0xa90b6a(0xd0))/0x7)+parseInt(_0xa90b6a(0xd2))/0x8+parseInt(_0xa90b6a(0xd4))/0x9+-parseInt(_0xa90b6a(0xc7))/0xa;if(_0x83a331===_0x148c05)break;else _0xd2f22d['push'](_0xd2f22d['shift']());}catch(_0x1ebb47){_0xd2f22d['push'](_0xd2f22d['shift']());}}}(a59_0x3909,0xab9b9));const a59_0x48a8e3={};a59_0x48a8e3[a59_0x370183(0xc8)]='BROWSERSTACK_PLATFORM_INDEX',a59_0x48a8e3['KEY_HUB_URL']='hub_url',a59_0x48a8e3[a59_0x370183(0xd7)]=a59_0x370183(0xc1),a59_0x48a8e3[a59_0x370183(0xdc)]=a59_0x370183(0xd9),a59_0x48a8e3[a59_0x370183(0xcd)]=a59_0x370183(0xd3),a59_0x48a8e3['KEY_IS_BROWSERSTACK_HUB']=a59_0x370183(0xbf),a59_0x48a8e3[a59_0x370183(0xc6)]=a59_0x370183(0xd8),a59_0x48a8e3[a59_0x370183(0xca)]='ended_at',a59_0x48a8e3[a59_0x370183(0xce)]='platform_index',a59_0x48a8e3[a59_0x370183(0xcf)]=a59_0x370183(0xc0),a59_0x48a8e3[a59_0x370183(0xc3)]=a59_0x370183(0xd6),a59_0x48a8e3['COMMAND_SCREENSHOT']='screenshot',a59_0x48a8e3[a59_0x370183(0xd5)]=a59_0x370183(0xc9),a59_0x48a8e3[a59_0x370183(0xda)]='w3cexecutescriptasync',a59_0x48a8e3['COMMAND_QUIT']=a59_0x370183(0xc4);const AutomationFrameworkConstants=a59_0x48a8e3;function a59_0x3909(){const _0xb78be6=['12936650fbrawu','ENV_BROWSERSTACK_PLATFORM_INDEX','w3cexecutescript','KEY_ENDED_AT','534vqzOOA','3729210wgxqmu','KEY_CAPABILITIES','KEY_PLATFORM_INDEX','COMMAND_NEW_SESSION','349209bSUaaO','3gxIAnO','11099744XectXb','capabilities','8794584zyZoLb','COMMAND_W3C_EXECUTE_SCRIPT','get','KEY_FRAMEWORK_SESSION_ID','started_at','input_capabilities','COMMAND_W3C_EXECUTE_SCRIPT_ASYNC','exports','KEY_INPUT_CAPABILITIES','66sfZQIe','is_browserstack_hub','newsession','framework_session_id','3943804HausQS','COMMAND_GET','quit','1576yaLDwr','KEY_STARTED_AT'];a59_0x3909=function(){return _0xb78be6;};return a59_0x3909();}function a59_0x4144(_0x15eb80,_0x3f44c6){const _0x390978=a59_0x3909();return a59_0x4144=function(_0x41444e,_0x21bc14){_0x41444e=_0x41444e-0xbf;let _0x4e6fe6=_0x390978[_0x41444e];return _0x4e6fe6;},a59_0x4144(_0x15eb80,_0x3f44c6);}module[a59_0x370183(0xdb)]=AutomationFrameworkConstants;
@@ -0,0 +1 @@
1
+ const a60_0x8bdd65=a60_0x586b;(function(_0x4155f9,_0x4a88e9){const _0x35314d=a60_0x586b,_0x5329d6=_0x4155f9();while(!![]){try{const _0x374c40=parseInt(_0x35314d(0x201))/0x1+-parseInt(_0x35314d(0x230))/0x2*(parseInt(_0x35314d(0x224))/0x3)+parseInt(_0x35314d(0x1f0))/0x4+parseInt(_0x35314d(0x1fe))/0x5*(parseInt(_0x35314d(0x21e))/0x6)+-parseInt(_0x35314d(0x1fb))/0x7*(parseInt(_0x35314d(0x1ee))/0x8)+parseInt(_0x35314d(0x21c))/0x9+-parseInt(_0x35314d(0x232))/0xa;if(_0x374c40===_0x4a88e9)break;else _0x5329d6['push'](_0x5329d6['shift']());}catch(_0x50faf2){_0x5329d6['push'](_0x5329d6['shift']());}}}(a60_0x55be,0xeeaa1));function a60_0x55be(){const _0x39ad02=['test_hook_last_started','6239694LnQSOK','KEY_TEST_TAGS','file_level','test_failure_reason','hook_name','test_result_at','3937926DlCIJf','KEY_FILE_LEVEL','KEY_CUSTOM_TAGS','file_name','file_size','KEY_FILE_NAME','custom_metadata','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_LOCATION','KEY_AUTOMATE_SESSION_REASON','KEY_TEST_RERUN_NAME','HOOK_REGEX','2JOvITy','test_session_name','20344360yEFDzk','TEST_SCREENSHOT','KIND_LOG','KEY_TEST_FAILURE_REASON','automate_session_reason','test_name','KEY_TEST_ENDED_AT','KEY_HOOK_NAME','KEY_TEST_LOGS','automate_session_status','test_hook_last_finished','test_failure','KEY_AUTOMATE_SESSION_NAME','KEY_TEST_FAILURE_TYPE','exports','KEY_TEST_FILE_PATH','328zgPqDD','KEY_SESSION_NAME','3745032DcgqWD','KEY_TEST_UUID','KEY_EVENT_STARTED_AT','KEY_HOOK_ID','KEY_LOGS','test_file_path','test_code','KEY_HOOK_FAILURE_REASON','pending','^(BEFORE_|AFTER_)','KEY_PLATFORM_INDEX','104846IqTxFS','hook_logs','hook_failure_reason','5DXPVvA','test_ended_at','test_uuid','1133142uByUCj','test_location','event_ended_at','test_started_at','logs','test_result','hook_result','KEY_HOOK_FAILURE','KEY_TEST_META','KEY_HOOK_RESULT','test_scopes','KEY_HOOKS_FINISHED','KEY_TEST_RESULT_AT','platform_index','KEY_HOOK_LAST_FINISHED','KEY_TEST_FRAMEWORK_NAME','DEFAULT_TEST_RESULT','hook_failure_type','hook_failure','test_hooks_finished','KEY_HOOK_LAST_STARTED','test_meta','KEY_AUTOMATE_SESSION_STATUS','KIND_SCREENSHOT','KEY_HOOK_LOGS','KEY_EVENT_ENDED_AT','KEY_FILE_PATH','16464564NUFDlt'];a60_0x55be=function(){return _0x39ad02;};return a60_0x55be();}function a60_0x586b(_0x1d4812,_0x3af29e){const _0x55be19=a60_0x55be();return a60_0x586b=function(_0x586b67,_0x2bcd8a){_0x586b67=_0x586b67-0x1ea;let _0x1e24f4=_0x55be19[_0x586b67];return _0x1e24f4;},a60_0x586b(_0x1d4812,_0x3af29e);}const a60_0x3934d9={};a60_0x3934d9[a60_0x8bdd65(0x1f1)]=a60_0x8bdd65(0x200),a60_0x3934d9['KEY_TEST_ID']='test_id',a60_0x3934d9['KEY_TEST_NAME']=a60_0x8bdd65(0x237),a60_0x3934d9[a60_0x8bdd65(0x1ed)]=a60_0x8bdd65(0x1f5),a60_0x3934d9[a60_0x8bdd65(0x21f)]='test_tags',a60_0x3934d9['KEY_TEST_RESULT']=a60_0x8bdd65(0x206),a60_0x3934d9[a60_0x8bdd65(0x20d)]=a60_0x8bdd65(0x223),a60_0x3934d9['KEY_TEST_STARTED_AT']=a60_0x8bdd65(0x204),a60_0x3934d9[a60_0x8bdd65(0x238)]=a60_0x8bdd65(0x1ff),a60_0x3934d9[a60_0x8bdd65(0x22c)]=a60_0x8bdd65(0x202),a60_0x3934d9['KEY_TEST_SCOPE']='test_scope',a60_0x3934d9['KEY_TEST_SCOPES']=a60_0x8bdd65(0x20b),a60_0x3934d9[a60_0x8bdd65(0x210)]='test_framework_name',a60_0x3934d9[a60_0x8bdd65(0x22b)]='test_framework_version',a60_0x3934d9['KEY_TEST_CODE']=a60_0x8bdd65(0x1f6),a60_0x3934d9[a60_0x8bdd65(0x22e)]='test_rerun_name',a60_0x3934d9[a60_0x8bdd65(0x1fa)]=a60_0x8bdd65(0x20e),a60_0x3934d9['KEY_TEST_FAILURE']=a60_0x8bdd65(0x23d),a60_0x3934d9[a60_0x8bdd65(0x1eb)]='test_failure_type',a60_0x3934d9[a60_0x8bdd65(0x235)]=a60_0x8bdd65(0x221),a60_0x3934d9[a60_0x8bdd65(0x23a)]='test_logs',a60_0x3934d9[a60_0x8bdd65(0x209)]=a60_0x8bdd65(0x216),a60_0x3934d9[a60_0x8bdd65(0x1ef)]=a60_0x8bdd65(0x231),a60_0x3934d9[a60_0x8bdd65(0x1ea)]='automate_session_name',a60_0x3934d9[a60_0x8bdd65(0x217)]=a60_0x8bdd65(0x23b),a60_0x3934d9[a60_0x8bdd65(0x22d)]=a60_0x8bdd65(0x236),a60_0x3934d9[a60_0x8bdd65(0x1f2)]='event_started_at',a60_0x3934d9[a60_0x8bdd65(0x21a)]=a60_0x8bdd65(0x203),a60_0x3934d9[a60_0x8bdd65(0x1f3)]='hook_id',a60_0x3934d9[a60_0x8bdd65(0x20a)]=a60_0x8bdd65(0x207),a60_0x3934d9['KEY_HOOK_FAILURE_TYPE']=a60_0x8bdd65(0x212),a60_0x3934d9[a60_0x8bdd65(0x1f7)]=a60_0x8bdd65(0x1fd),a60_0x3934d9[a60_0x8bdd65(0x208)]=a60_0x8bdd65(0x213),a60_0x3934d9[a60_0x8bdd65(0x219)]=a60_0x8bdd65(0x1fc),a60_0x3934d9[a60_0x8bdd65(0x239)]=a60_0x8bdd65(0x222),a60_0x3934d9[a60_0x8bdd65(0x211)]='pending',a60_0x3934d9['DEFAULT_HOOK_RESULT']=a60_0x8bdd65(0x1f8),a60_0x3934d9[a60_0x8bdd65(0x218)]=a60_0x8bdd65(0x233),a60_0x3934d9[a60_0x8bdd65(0x234)]='TEST_LOG',a60_0x3934d9[a60_0x8bdd65(0x22f)]=a60_0x8bdd65(0x1f9),a60_0x3934d9['KEY_HOOKS_STARTED']='test_hooks_started',a60_0x3934d9[a60_0x8bdd65(0x20c)]=a60_0x8bdd65(0x214),a60_0x3934d9[a60_0x8bdd65(0x215)]=a60_0x8bdd65(0x21d),a60_0x3934d9[a60_0x8bdd65(0x20f)]=a60_0x8bdd65(0x23c),a60_0x3934d9[a60_0x8bdd65(0x1f4)]=a60_0x8bdd65(0x205),a60_0x3934d9[a60_0x8bdd65(0x226)]=a60_0x8bdd65(0x22a),a60_0x3934d9['KEY_TEST_ATTACHMENTS']='test_attachments',a60_0x3934d9['KEY_FILE_SIZE']=a60_0x8bdd65(0x228),a60_0x3934d9[a60_0x8bdd65(0x229)]=a60_0x8bdd65(0x227),a60_0x3934d9[a60_0x8bdd65(0x21b)]='file_path',a60_0x3934d9[a60_0x8bdd65(0x225)]=a60_0x8bdd65(0x220);const TestFrameworkConstants=a60_0x3934d9;module[a60_0x8bdd65(0x1ec)]=TestFrameworkConstants;
@@ -0,0 +1 @@
1
+ const a61_0x18ced0=a61_0x29ed;(function(_0x296c3e,_0x15c9c2){const _0xc36cee=a61_0x29ed,_0x16778c=_0x296c3e();while(!![]){try{const _0x1ee304=parseInt(_0xc36cee(0xfc))/0x1*(parseInt(_0xc36cee(0xf8))/0x2)+parseInt(_0xc36cee(0xe6))/0x3*(-parseInt(_0xc36cee(0xed))/0x4)+parseInt(_0xc36cee(0xec))/0x5*(parseInt(_0xc36cee(0xfa))/0x6)+-parseInt(_0xc36cee(0xe2))/0x7*(-parseInt(_0xc36cee(0xe5))/0x8)+parseInt(_0xc36cee(0xd4))/0x9*(-parseInt(_0xc36cee(0xf4))/0xa)+parseInt(_0xc36cee(0xf3))/0xb*(parseInt(_0xc36cee(0xdb))/0xc)+-parseInt(_0xc36cee(0xd7))/0xd;if(_0x1ee304===_0x15c9c2)break;else _0x16778c['push'](_0x16778c['shift']());}catch(_0x34276a){_0x16778c['push'](_0x16778c['shift']());}}}(a61_0xa7bb,0x8dbce));function a61_0x29ed(_0x39499a,_0x4fb3df){const _0xa7bbe=a61_0xa7bb();return a61_0x29ed=function(_0x29ed4e,_0x437a29){_0x29ed4e=_0x29ed4e-0xd0;let _0x5e7cfb=_0xa7bbe[_0x29ed4e];return _0x5e7cfb;},a61_0x29ed(_0x39499a,_0x4fb3df);}const AutomationFramework=require(a61_0x18ced0(0xd9)),{createClassLogger}=require(a61_0x18ced0(0xe7)),AutomationFrameworkState=require(a61_0x18ced0(0xf6)),CLIUtils=require(a61_0x18ced0(0xe1)),TrackedInstance=require(a61_0x18ced0(0xeb)),AutomationFrameworkInstance=require(a61_0x18ced0(0xe0));class PlaywrightAutomationFramework extends AutomationFramework{[a61_0x18ced0(0xf5)]=createClassLogger(a61_0x18ced0(0xfb));constructor(_0x24375d,_0x4fd880){super(_0x24375d,_0x4fd880);}async[a61_0x18ced0(0xf2)](_0x3be545,_0x3d3f9b,_0x1c9a8b={}){const _0x265e18=a61_0x18ced0,_0x4fe9b0={};_0x4fe9b0[_0x265e18(0xee)]=function(_0x1f6892,_0x22ead6){return _0x1f6892===_0x22ead6;};const _0x5cb400=_0x4fe9b0;this[_0x265e18(0xf5)][_0x265e18(0xd0)]('trackEvent:\x20automationFrameworkState='+_0x3be545+_0x265e18(0xd6)+_0x3d3f9b),await super['trackEvent'](_0x3be545,_0x3d3f9b,_0x1c9a8b);const _0x5de63b=this[_0x265e18(0xef)](_0x3be545,_0x3d3f9b,_0x1c9a8b);if(_0x5cb400[_0x265e18(0xee)](_0x5de63b,null))return;_0x1c9a8b[_0x265e18(0xe9)]=_0x5de63b,await this['runHooks'](_0x5de63b,_0x3be545,_0x3d3f9b,_0x1c9a8b);}[a61_0x18ced0(0xef)](_0x1ebccb,_0x1c7005,_0x3e3ec8={}){const _0x33f87c=a61_0x18ced0,_0x541a41={};_0x541a41[_0x33f87c(0xd2)]=function(_0x59c62e,_0x1f101b){return _0x59c62e===_0x1f101b;};const _0x58f3e3=_0x541a41;let _0xe2858a=null;return(_0x58f3e3[_0x33f87c(0xd2)](_0x1ebccb,AutomationFrameworkState[_0x33f87c(0xe8)])||_0x58f3e3[_0x33f87c(0xd2)](_0x1ebccb,AutomationFrameworkState['PLAYWRIGHT_DISPATCH'])&&(_0x3e3ec8[_0x33f87c(0xf9)]&&_0x3e3ec8['message'][_0x33f87c(0xd3)]&&_0x3e3ec8[_0x33f87c(0xf9)]['params'][_0x33f87c(0xda)])||_0x58f3e3['mSkdK'](_0x1ebccb,AutomationFrameworkState[_0x33f87c(0xdf)]))&&this[_0x33f87c(0xf1)](_0x1ebccb,_0x3e3ec8),_0xe2858a=AutomationFramework['getTrackedInstance'](),_0xe2858a;}[a61_0x18ced0(0xf1)](_0x598aca,_0x2eadce){const _0x5cdf96=a61_0x18ced0,_0x2c5687={};_0x2c5687[_0x5cdf96(0xd8)]=_0x5cdf96(0xd1);const _0x3ca5e4=_0x2c5687;if(AutomationFramework[_0x5cdf96(0xde)]()){this[_0x5cdf96(0xf5)]['info'](_0x3ca5e4[_0x5cdf96(0xd8)]);return;}const _0x5ac669=CLIUtils[_0x5cdf96(0xf0)](),_0x346533=TrackedInstance[_0x5cdf96(0xe3)](_0x5ac669);let _0x4c7763=null;this[_0x5cdf96(0xf5)][_0x5cdf96(0xea)](_0x5cdf96(0xdd)+_0x5ac669+',\x20state='+_0x598aca),_0x4c7763=new AutomationFrameworkInstance(_0x346533,this[_0x5cdf96(0xe4)](),this[_0x5cdf96(0xdc)](),_0x598aca),AutomationFramework[_0x5cdf96(0xfd)](_0x346533,_0x4c7763),this[_0x5cdf96(0xf5)][_0x5cdf96(0xea)](_0x5cdf96(0xf7)+_0x346533['getId']()+'\x20target='+_0x5ac669);}}function a61_0xa7bb(){const _0x292b86=['35IALffp','createContext','getAutomationFrameworkName','763352liBcOW','1896uyFCye','../../../helpers/classLogger.js','CREATE','instance','info','../instances/trackedInstance.js','113885nWTGCA','4260QCPbBh','UchAQ','resolveInstance','getCurrentInstanceName','trackPlaywrightInstance','trackEvent','286jhAgoK','479230IbgzQk','logger','../state/automationFrameworkState.js','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','25706nRdDuM','message','252Jjxpew','PlaywrightAutomationFramework','61DoBSPJ','setTrackedInstance','debug','trackPlaywrightInstance:\x20instance\x20already\x20exists','mSkdK','params','45PhGscG','exports','\x20hookState=','17016857BwgzLR','XaNMC','./automationFramework.js','bsParams','269760wpUlMY','getAutomationFrameworkVersion','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','getTrackedInstance','NONE','../instances/automationFrameworkInstance.js','../cliUtils.js'];a61_0xa7bb=function(){return _0x292b86;};return a61_0xa7bb();}module[a61_0x18ced0(0xd5)]=PlaywrightAutomationFramework;
@@ -0,0 +1 @@
1
+ const a62_0x457abc=a62_0x5ed6;(function(_0x8c9cba,_0x32d53c){const _0xf21a72=a62_0x5ed6,_0x5a3bff=_0x8c9cba();while(!![]){try{const _0x41ba10=-parseInt(_0xf21a72(0x204))/0x1*(parseInt(_0xf21a72(0x254))/0x2)+-parseInt(_0xf21a72(0x1cc))/0x3+parseInt(_0xf21a72(0x271))/0x4+-parseInt(_0xf21a72(0x212))/0x5+-parseInt(_0xf21a72(0x236))/0x6*(-parseInt(_0xf21a72(0x25e))/0x7)+parseInt(_0xf21a72(0x233))/0x8+parseInt(_0xf21a72(0x257))/0x9;if(_0x41ba10===_0x32d53c)break;else _0x5a3bff['push'](_0x5a3bff['shift']());}catch(_0xb7c4fe){_0x5a3bff['push'](_0x5a3bff['shift']());}}}(a62_0x1f7d,0xf20c4));const TestFramework=require(a62_0x457abc(0x211)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a62_0x457abc(0x25d)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a62_0x457abc(0x27c)),CLIUtils=require(a62_0x457abc(0x1c0)),TrackedInstance=require(a62_0x457abc(0x1e3)),TestFrameworkConstants=require(a62_0x457abc(0x25c)),logger=createClassLogger(a62_0x457abc(0x274)),{v4:uuidv4}=require(a62_0x457abc(0x23c)),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require(a62_0x457abc(0x1fb)),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require(a62_0x457abc(0x251)),{getFailureData,getTestTags}=require(a62_0x457abc(0x1f3)),{findNestedKey,sendTraceZip,validateFilePath}=require('../../playwright/reporter/pwUtils'),path=require('path'),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a62_0x457abc(0x26e));function a62_0x1f7d(){const _0x2332a7=['sSspa','1154476SihCFf','KEY_TEST_LOCATION','QYQOM','PlaywrightTestFramework','KEY_TEST_FILE_PATH','trackHookEvent','kfEUC','getCurrentInstanceName','DAHSD','\x20instance=','parsePlaywrightTest','../instances/testFrameworkInstance.js','pop','KEY_HOOKS_STARTED','sendLogCreatedEvent','KZnHM','KEY_HOOK_FAILURE_TYPE','Dstit','split','toString','WDLKf','size','../cliUtils.js','\x20payload=','field_type','TEST','IfliG','eTQmc','failed','getTraceFilePaths','PRE','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','info','KEY_LOGS','3690012lsqxVi','err','testUId',',\x20state=','KEY_HOOK_LAST_STARTED','logCreatedEvent','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','startTime','step','KEY_CUSTOM_TAGS','nUlxx','parsePlaywrightTestResult','map','\x20&\x20hook\x20=\x20','PGNAG','runHooks','setTestDetails','exports','get','roXYp','KEY_TEST_FAILURE','KEY_HOOK_RESULT','KEY_TEST_SCOPES','../instances/trackedInstance.js','TEST_ATTACHMENT','addMultipleEntries','\x20from\x20TestDetails:\x20','file_name','YtkbA','DEFAULT_HOOK_RESULT','figEK','hook','getTestFrameworksVersions','KEY_TEST_FRAMEWORK_NAME','DEFAULT_TEST_RESULT','getTestDetails','Usdln','inspect','MwzVb','../../playwright/reporter/pwUtils','\x20instanceId=','push','sInUI','KEY_HOOKS_FINISHED','iVssk','HAIFK','passed','../TestInfo.js','KEY_TEST_ATTACHMENTS','xORaD','KEY_TEST_TAGS','duration','status','stack','values','No\x20reason\x20provided','3uJsUEm','KkoIo','annotations','parsePlaywrightTestResult:\x20testId=','instance','some','Error\x20processing\x20direct\x20trace\x20file\x20','KEY_HOOK_ID','QyfIv','trackEvent:\x20found\x20instance,\x20testFrameworkState=','errors','BdrKa','NONE','./testFramework','2394220JXYbqm','POST','cyNrJ','KEY_TEST_FAILURE_REASON','KEY_TEST_RESULT','KEY_TEST_ENDED_AT','lvmXp','KEY_TEST_LOGS','KEY_TEST_FRAMEWORK_VERSION','KEY_EVENT_STARTED_AT','resolveInstance','format','wgPku','mIEDj','basename','title','getTime','length','test','result','createContext','forEach','ulAxQ','statSync','message','Error\x20in\x20sendLogCreatedEvent:\x20','SMROF','multi_dropdown','GDhGG','sendLogCreatedEvent\x20for\x20testId:\x20','zReDL','SjhJO','KEY_TEST_ID','5604176XVkpiH','DQQdz','IPhat','12DDbLBQ','toISOString','KEY_TEST_RESULT_AT',',\x20testFrameworkState=','\x20and\x20args\x20=\x20','expectedStatus','uuid','KBXPN','trim','error','LFXqK','bnzpg','\x20testHookState=','BuccV','KEY_HOOK_FAILURE','getTestUUID','EMfDr','QobEU','getRef','trackPlaywrightInstance','wfAVw','KEY_EVENT_ENDED_AT','getInstance','Rndaq','getAllData','KEY_TEST_UUID','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','../../../helpers/test-observability/utils','getId','filePath','253246AZHwhT','Expected\x20to\x20fail,\x20but\x20passed.','trackEvent','1753830wZNzvp','ybwyl','KEY_TEST_NAME','description','RaMzw','./constants/testFrameworkConstants.js','../state/hookState.js','6636469AUlSbw','gvysi','GvpRm','debug','skipped','filter','EgRNy','timedOut','Hook\x20List\x20in\x20Post\x20','matchHookRegex','EvSrC','vwjum','steps','hmFaW','XNNec','setTrackedInstance','../../utils/constants','getTrackedInstance'];a62_0x1f7d=function(){return _0x2332a7;};return a62_0x1f7d();}class PlaywrightTestFramework extends TestFramework{constructor(_0x4a6360,_0x1fbdcf,_0xdbe0a2){super(_0x4a6360,_0x1fbdcf,_0xdbe0a2);}async[a62_0x457abc(0x256)](_0x55aef,_0x4b0575,_0x13d3ed={}){const _0xe0faee=a62_0x457abc,_0xe2ad6d={};_0xe2ad6d[_0xe0faee(0x260)]=function(_0x42e66c,_0x44337e){return _0x42e66c===_0x44337e;},_0xe2ad6d[_0xe0faee(0x22e)]=_0xe0faee(0x224),_0xe2ad6d[_0xe0faee(0x1c4)]='trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s';const _0x44d1c6=_0xe2ad6d;await super[_0xe0faee(0x256)](_0x55aef,_0x4b0575,_0x13d3ed);const _0x2e7eca=this[_0xe0faee(0x21c)](_0x55aef,_0x4b0575,_0x13d3ed);if(!_0x2e7eca)return;logger[_0xe0faee(0x261)](_0xe0faee(0x20d)+_0x55aef+'\x20hookState='+_0x4b0575+_0xe0faee(0x1f4)+_0x2e7eca['getRef']());try{if(_0x44d1c6[_0xe0faee(0x260)](_0x4b0575,HookState[_0xe0faee(0x1c8)])&&_0x44d1c6[_0xe0faee(0x260)](_0x55aef,TestFrameworkState[_0xe0faee(0x1c3)])){const _0x162bf8=_0x13d3ed[_0xe0faee(0x224)];logger['debug']('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x162bf8['id']+'}');const _0x5e0d18=TestInfo[_0xe0faee(0x245)](_0x162bf8['id']);_0x2e7eca[_0xe0faee(0x1e5)](this[_0xe0faee(0x27b)](_0x5e0d18,_0x162bf8)),logger[_0xe0faee(0x261)](_0xe0faee(0x1d2)+_0x162bf8['id']+_0xe0faee(0x239)+_0x55aef+_0xe0faee(0x242)+_0x4b0575+_0xe0faee(0x27a)+_0x2e7eca[_0xe0faee(0x248)]());}if(_0x44d1c6[_0xe0faee(0x260)](_0x4b0575,HookState[_0xe0faee(0x213)])&&_0x44d1c6['GvpRm'](_0x55aef,TestFrameworkState['TEST'])){const _0x4cc997=_0x13d3ed[_0xe0faee(0x224)],_0x2c0e24=_0x13d3ed[_0xe0faee(0x225)];logger[_0xe0faee(0x261)](_0xe0faee(0x250)+_0x4cc997['id']),_0x2e7eca[_0xe0faee(0x1e5)](this['parsePlaywrightTestResult'](_0x4cc997['id'],_0x2c0e24,_0x4cc997)),this[_0xe0faee(0x27f)](_0x2e7eca,_0x55aef,_0x4b0575,_0x44d1c6[_0xe0faee(0x22e)],_0x13d3ed);}if(CLIUtils[_0xe0faee(0x267)](_0x55aef[_0xe0faee(0x1bd)]()[_0xe0faee(0x1bc)]('.')[0x1])){const _0xae502f=await this['trackHookEvent'](_0x2e7eca,_0x55aef,_0x4b0575,_0x13d3ed);_0x2e7eca[_0xe0faee(0x1e5)](_0xae502f);}}catch(_0x42fa8e){logger['error'](util[_0xe0faee(0x21d)](_0x44d1c6['IfliG'],_0x55aef,_0x4b0575,_0x13d3ed[_0xe0faee(0x223)],_0x42fa8e));}_0x13d3ed[_0xe0faee(0x208)]=_0x2e7eca,await this[_0xe0faee(0x1db)](_0x2e7eca,_0x55aef,_0x4b0575,_0x13d3ed);}[a62_0x457abc(0x21c)](_0xa59f20,_0x3ee450,_0x1cc7f5={}){const _0x5cac1c=a62_0x457abc,_0x4b3b6e={};_0x4b3b6e[_0x5cac1c(0x273)]=function(_0x1160b9,_0x499639){return _0x1160b9===_0x499639;},_0x4b3b6e['YtkbA']=function(_0x1b5b75,_0x4d68eb){return _0x1b5b75===_0x4d68eb;};const _0x2970e3=_0x4b3b6e;let _0x368322=null;return(_0x2970e3['QYQOM'](_0xa59f20,TestFrameworkState['INIT_TEST'])||_0x2970e3[_0x5cac1c(0x1e8)](_0xa59f20,TestFrameworkState[_0x5cac1c(0x210)]))&&this[_0x5cac1c(0x249)](_0xa59f20,_0x1cc7f5),_0x368322=TestFramework[_0x5cac1c(0x26f)](),_0x368322;}['trackPlaywrightInstance'](_0x46400e,_0x4f2a65){const _0x360e8d=a62_0x457abc,_0xd159b5=CLIUtils[_0x360e8d(0x278)](),_0x355ecf=TrackedInstance[_0x360e8d(0x226)](_0xd159b5);let _0x4d6875=null;logger[_0x360e8d(0x1ca)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0xd159b5+_0x360e8d(0x1cf)+_0x46400e),_0x4d6875=new TestFrameworkInstance(_0x355ecf,this['getTestFrameworks'](),this[_0x360e8d(0x1ec)](),_0x46400e,HookState[_0x360e8d(0x210)]),TestFramework[_0x360e8d(0x26d)](_0x355ecf,_0x4d6875),logger[_0x360e8d(0x1ca)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x355ecf[_0x360e8d(0x252)]()+'\x20target='+_0xd159b5);}['parsePlaywrightTest'](_0x456117,_0x332221){const _0x10e6a6=a62_0x457abc,_0xc813dd={'roXYp':function(_0x479001,_0x4ce7f3){return _0x479001(_0x4ce7f3);},'SMROF':function(_0x1998c8,_0x484934){return _0x1998c8(_0x484934);},'nUlxx':function(_0x1f5219,_0x12f1bf){return _0x1f5219(_0x12f1bf);},'figEK':function(_0x3a489a,_0xc3849d){return _0x3a489a(_0xc3849d);},'mIEDj':function(_0x12e6c1,_0x1f1623){return _0x12e6c1(_0x1f1623);},'TwrGM':function(_0x461c64,_0x27826b){return _0x461c64(_0x27826b);},'PbnBS':function(_0x169eba,_0x599f40){return _0x169eba(_0x599f40);},'Dstit':function(_0x45fe51,_0x5ca41e){return _0x45fe51(_0x5ca41e);}},_0x312d5a=_0xc813dd['roXYp'](getPlaywrightTestId,_0x332221),_0x3ea202=_0xc813dd[_0x10e6a6(0x22c)](getPlaywrightTestTitle,_0x332221),_0x1e4547=_0xc813dd[_0x10e6a6(0x1d6)](getTestTags,_0x332221),_0x515c6b=_0xc813dd[_0x10e6a6(0x1ea)](getPlaywrightTestCode,_0x332221),_0x409bba=_0xc813dd[_0x10e6a6(0x1df)](getPlaywrightTestFilePath,_0x332221),_0x1b9f0a=_0x409bba+':'+_0xc813dd[_0x10e6a6(0x21f)](getPlaywrightTestLocation,_0x332221),_0x527087=_0xc813dd['TwrGM'](getPlaywrightTestScope,_0x332221),_0x21c690=_0xc813dd['PbnBS'](getPlaywrightTestScopes,_0x332221),_0x122419=_0xc813dd[_0x10e6a6(0x1bb)](getPlaywrightSessionName,_0x332221),_0x5c7d64=this['getTestFrameworks']()[0x0],_0x3e4477={[TestFrameworkConstants[_0x10e6a6(0x1ed)]]:_0x5c7d64,[TestFrameworkConstants[_0x10e6a6(0x21a)]]:this[_0x10e6a6(0x1ec)]()[_0x5c7d64],[TestFrameworkConstants[_0x10e6a6(0x219)]]:[],[TestFrameworkConstants[_0x10e6a6(0x1f7)]]:{},[TestFrameworkConstants[_0x10e6a6(0x27e)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x456117,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x10e6a6(0x1ee)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x122419,[TestFrameworkConstants[_0x10e6a6(0x275)]]:_0x409bba,[TestFrameworkConstants[_0x10e6a6(0x232)]]:_0x312d5a,[TestFrameworkConstants[_0x10e6a6(0x259)]]:_0x3ea202,[TestFrameworkConstants[_0x10e6a6(0x272)]]:_0x1b9f0a,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x515c6b,[TestFrameworkConstants[_0x10e6a6(0x1fe)]]:_0x1e4547,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x332221['results'][0x0][_0x10e6a6(0x1d3)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x527087,[TestFrameworkConstants[_0x10e6a6(0x1e2)]]:_0x21c690,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0xc813dd[_0x10e6a6(0x22c)](getPlaywrightCustomRerunParam,_0x332221)};TestInfo['setTestDetails'](_0x332221['id'],_0x3e4477);const _0x5a57db={};return _0x5a57db[_0x312d5a]=_0x3e4477,_0x5a57db;}[a62_0x457abc(0x1d7)](_0x12a10e,_0x2588fe,_0x472be2){const _0x1da459=a62_0x457abc,_0x14a2c1={'BMcoZ':function(_0x11967c,_0x4025ca){return _0x11967c(_0x4025ca);},'DQQdz':_0x1da459(0x1e4),'IPhat':function(_0x209bc8,_0x151c4b){return _0x209bc8===_0x151c4b;},'DAHSD':function(_0xe1bcc0,_0xd19cb7){return _0xe1bcc0===_0xd19cb7;},'SjhJO':function(_0x3ea7d6,_0x15f9da){return _0x3ea7d6(_0x15f9da);},'zJWLk':_0x1da459(0x203),'iVssk':_0x1da459(0x22d),'XNNec':function(_0x3f5978,_0x167c17){return _0x3f5978+_0x167c17;},'zReDL':function(_0x1b7aa9,_0x1682b1){return _0x1b7aa9===_0x1682b1;},'EMfDr':function(_0xe1a887,_0x3fc106){return _0xe1a887===_0x3fc106;},'gvysi':_0x1da459(0x262),'EgRNy':_0x1da459(0x1fa),'BdrKa':_0x1da459(0x1c6),'MwzVb':function(_0x10b118,_0x24a80c){return _0x10b118===_0x24a80c;},'McAwZ':_0x1da459(0x265),'eTQmc':_0x1da459(0x255),'bnzpg':function(_0x1efebc,_0x3bc87a,_0x2092d8){return _0x1efebc(_0x3bc87a,_0x2092d8);},'sInUI':function(_0x328587,_0xbcd109){return _0x328587||_0xbcd109;},'EvSrC':function(_0x4b7a6f,_0x59c9ae){return _0x4b7a6f(_0x59c9ae);},'QobEU':function(_0x10b901,_0xfd40d3){return _0x10b901(_0xfd40d3);},'OUkFy':'path','kfEUC':function(_0x5b7386,_0x2bd726){return _0x5b7386(_0x2bd726);},'zCSGY':function(_0x5ceb07,_0x314c1e){return _0x5ceb07>_0x314c1e;},'BAUkS':function(_0xee4524,_0x361db1){return _0xee4524>_0x361db1;}};logger[_0x1da459(0x261)](_0x1da459(0x207)+_0x12a10e);const _0xc9e5de=new Date(_0x2588fe[_0x1da459(0x1d3)]),_0x452fa4=_0x2588fe[_0x1da459(0x1ff)],_0x1c0684=new Date(_0x14a2c1[_0x1da459(0x26c)](_0xc9e5de['getTime'](),_0x452fa4)),_0x2aa3f8=_0x2588fe[_0x1da459(0x200)],_0xc78aba=TestInfo[_0x1da459(0x1ef)](_0x12a10e)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x57c209=_0x2aa3f8;if(_0x14a2c1[_0x1da459(0x230)](_0x2588fe[_0x1da459(0x200)],_0x472be2['expectedStatus']))_0x57c209=_0x14a2c1['EMfDr'](_0x2588fe['status'],_0x14a2c1['gvysi'])?_0x14a2c1[_0x1da459(0x25f)]:_0x14a2c1[_0x1da459(0x264)];else{(_0x14a2c1[_0x1da459(0x246)](_0x57c209,_0x14a2c1[_0x1da459(0x264)])||_0x14a2c1[_0x1da459(0x235)](_0x57c209,_0x14a2c1['BdrKa'])||_0x14a2c1[_0x1da459(0x1f2)](_0x57c209,_0x14a2c1['McAwZ']))&&(_0x57c209=_0x14a2c1[_0x1da459(0x20f)]);if(_0x14a2c1[_0x1da459(0x246)](_0x2588fe['status'],_0x14a2c1[_0x1da459(0x264)])&&_0x14a2c1[_0x1da459(0x279)](_0x472be2[_0x1da459(0x23b)],_0x14a2c1[_0x1da459(0x20f)])){const _0x154a13={};_0x154a13[_0x1da459(0x22a)]=_0x14a2c1[_0x1da459(0x1c5)],_0x154a13[_0x1da459(0x201)]=_0x14a2c1[_0x1da459(0x1c5)],_0x2588fe[_0x1da459(0x23f)]=_0x154a13,_0x2588fe[_0x1da459(0x20e)]=[_0x2588fe['error']];}}const {failureData:_0x2aa972,logs:_0x32e014}=_0x14a2c1[_0x1da459(0x241)](getFailureData,_0x2588fe?.['errors'],{}),_0x21a07b={[TestFrameworkConstants[_0x1da459(0x1e0)]]:_0x14a2c1[_0x1da459(0x1f6)](_0x2aa972,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x2588fe?.[_0x1da459(0x23f)]&&_0x14a2c1[_0x1da459(0x268)](getFailureType,_0x2588fe[_0x1da459(0x23f)][_0x1da459(0x22a)]),[TestFrameworkConstants[_0x1da459(0x215)]]:_0x2588fe?.[_0x1da459(0x23f)]&&_0x14a2c1[_0x1da459(0x247)](removeAnsiColors,_0x2588fe[_0x1da459(0x23f)][_0x1da459(0x22a)]),[TestFrameworkConstants[_0x1da459(0x1cb)]]:[],[TestFrameworkConstants[_0x1da459(0x216)]]:_0x2588fe[_0x1da459(0x200)],[TestFrameworkConstants[_0x1da459(0x217)]]:_0x1c0684['toISOString'](),[TestFrameworkConstants[_0x1da459(0x238)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x1da459(0x1d5)]]:_0xc78aba},_0x2b9096={};_0x2b9096['test']=_0x472be2;const _0x21d54e=this[_0x1da459(0x21c)](TestFrameworkState[_0x1da459(0x1c3)],HookState[_0x1da459(0x213)],_0x2b9096),_0x349be3=_0x21d54e[_0x1da459(0x24e)]()['get'](_0x12a10e)[TestFrameworkConstants[_0x1da459(0x24f)]],_0x247b33=[],_0x2e45c6=_0x14a2c1[_0x1da459(0x241)](findNestedKey,_0x2588fe,_0x14a2c1['OUkFy']);if(_0x2e45c6&&_0x14a2c1[_0x1da459(0x277)](validateFilePath,_0x2e45c6))try{_0x247b33[_0x1da459(0x1f5)]({'kind':_0x14a2c1[_0x1da459(0x234)],'timestamp':new Date()[_0x1da459(0x237)](),'test_run_uuid':_0x349be3,'file_name':path[_0x1da459(0x220)](_0x2e45c6),'file_size':fs[_0x1da459(0x229)](_0x2e45c6)[_0x1da459(0x1bf)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5af5d6){logger[_0x1da459(0x23f)](_0x1da459(0x20a)+_0x2e45c6+':\x20'+_0x5af5d6[_0x1da459(0x22a)]);}const _0x46ac65=TestInfo[_0x1da459(0x1c7)](),_0x32f63c=_0x46ac65[_0x1da459(0x263)](_0x13a1e1=>_0x13a1e1[_0x1da459(0x1ce)]===_0x349be3);_0x32f63c['forEach'](_0x148e4b=>{const _0x43c3f6=_0x1da459;if(_0x148e4b[_0x43c3f6(0x253)]&&_0x14a2c1['BMcoZ'](validateFilePath,_0x148e4b[_0x43c3f6(0x253)])&&!_0x247b33[_0x43c3f6(0x209)](_0x1bffd5=>_0x1bffd5[_0x43c3f6(0x1e7)]===path['basename'](_0x148e4b[_0x43c3f6(0x253)])))try{_0x247b33[_0x43c3f6(0x1f5)]({'kind':_0x14a2c1[_0x43c3f6(0x234)],'timestamp':new Date()[_0x43c3f6(0x237)](),'test_run_uuid':_0x349be3,'file_name':path[_0x43c3f6(0x220)](_0x148e4b[_0x43c3f6(0x253)]),'file_size':fs['statSync'](_0x148e4b[_0x43c3f6(0x253)])[_0x43c3f6(0x1bf)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x130a40){logger[_0x43c3f6(0x23f)]('Error\x20processing\x20trace\x20file\x20'+_0x148e4b[_0x43c3f6(0x253)]+_0x43c3f6(0x1e6)+_0x130a40['message']);}});if(_0x14a2c1['zCSGY'](_0x247b33[_0x1da459(0x223)],0x0)){const _0x23c60f=_0x21a07b[TestFrameworkConstants['KEY_LOGS']]||[];_0x21a07b[TestFrameworkConstants[_0x1da459(0x1cb)]]=[..._0x23c60f,..._0x247b33];}const _0x45ad74=TestInfo['getTestDetails'](_0x12a10e)[TestFrameworkConstants[_0x1da459(0x1fc)]]||{},_0x22f1c9=_0x14a2c1[_0x1da459(0x241)](getManualUploadLogs,_0x45ad74,_0x21d54e[_0x1da459(0x24e)]()[_0x1da459(0x1de)](_0x12a10e)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x14a2c1['BAUkS'](_0x22f1c9[_0x1da459(0x223)],0x0)){const _0x496831=_0x21a07b[TestFrameworkConstants[_0x1da459(0x1cb)]]||[];_0x21a07b[TestFrameworkConstants['KEY_LOGS']]=[..._0x496831,..._0x22f1c9];}const _0x3db5dd=_0x472be2[_0x1da459(0x206)]||[],_0x1b702e=_0x21a07b[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x3db5dd[_0x1da459(0x227)](_0x1fe90e=>{const _0x13406b=_0x1da459,{type:_0x5c91be}=_0x1fe90e;let _0x346911=_0x1fe90e[_0x13406b(0x25a)];if(!_0x5c91be)return;(_0x14a2c1[_0x13406b(0x235)](_0x346911,undefined)||_0x14a2c1[_0x13406b(0x279)](_0x346911,null)||_0x14a2c1[_0x13406b(0x279)](_0x14a2c1['SjhJO'](String,_0x346911)['trim'](),''))&&(_0x346911=_0x14a2c1['zJWLk']);if(!_0x1b702e[_0x5c91be]){const _0x1451ba={};_0x1451ba[_0x13406b(0x1c2)]=_0x14a2c1[_0x13406b(0x1f8)],_0x1451ba[_0x13406b(0x202)]=[],_0x1b702e[_0x5c91be]=_0x1451ba;}else!_0x1b702e[_0x5c91be][_0x13406b(0x1c2)]&&(_0x1b702e[_0x5c91be][_0x13406b(0x1c2)]=_0x14a2c1[_0x13406b(0x1f8)]),!Array['isArray'](_0x1b702e[_0x5c91be]['values'])&&(_0x1b702e[_0x5c91be]['values']=[]);const _0x192e0b=_0x14a2c1[_0x13406b(0x231)](String,_0x346911)[_0x13406b(0x1bc)](',')[_0x13406b(0x1d8)](_0x4cf5d1=>_0x4cf5d1[_0x13406b(0x23e)]());_0x1b702e[_0x5c91be][_0x13406b(0x202)]=[...new Set([..._0x1b702e[_0x5c91be][_0x13406b(0x202)],..._0x192e0b])];}),_0x21a07b[TestFrameworkConstants[_0x1da459(0x1d5)]]=_0x1b702e,TestInfo[_0x1da459(0x1dc)](_0x12a10e,_0x21a07b);const _0x51b1dd={};return _0x51b1dd[_0x12a10e]=_0x21a07b,_0x51b1dd;}async[a62_0x457abc(0x276)](_0x28ab19,_0x2a50d8,_0x3bdff4,_0x31664c){const _0x535bf1=a62_0x457abc,_0x184239={'sSspa':function(_0x297e96,_0x5201a4){return _0x297e96 in _0x5201a4;},'Usdln':function(_0x3d92a7,_0x57262e){return _0x3d92a7 in _0x57262e;},'KLywC':function(_0x568a4e,_0x8060a6){return _0x568a4e(_0x8060a6);},'hmFaW':function(_0x23c624,_0x419003){return _0x23c624(_0x419003);},'vwjum':function(_0x2335a5,_0x2fe071){return _0x2335a5===_0x2fe071;},'WDLKf':function(_0x563aa3){return _0x563aa3();},'wfAVw':function(_0x86c964,_0x23b062){return _0x86c964===_0x23b062;},'HAIFK':function(_0x1a18ef,_0x5a0700){return _0x1a18ef>_0x5a0700;},'BuccV':function(_0x3ec548,_0xec8f69,_0x1cbcac){return _0x3ec548(_0xec8f69,_0x1cbcac);},'qEoYw':_0x535bf1(0x1cd),'KkoIo':function(_0x9ce076,_0x2ecea7){return _0x9ce076(_0x2ecea7);},'ybwyl':_0x535bf1(0x1c6),'xORaD':_0x535bf1(0x1fa),'cyNrJ':function(_0x4248a0,_0x536d7a){return _0x4248a0!==_0x536d7a;},'RaMzw':function(_0x43a9ec,_0x399829){return _0x43a9ec+_0x399829;},'PGNAG':_0x535bf1(0x1eb)},_0x122d5d=_0x31664c[_0x535bf1(0x224)],_0x518261=_0x31664c[_0x535bf1(0x1d4)],_0x55784a=_0x31664c[_0x535bf1(0x224)]['id'],_0x14c4d1=_0x2a50d8[_0x535bf1(0x1bd)]()[_0x535bf1(0x1bc)]('.')[0x1];let _0x547411=_0x28ab19['getAllData']()['get'](_0x55784a)[TestFrameworkConstants[_0x535bf1(0x27e)]];!_0x547411&&(_0x547411={});!_0x184239[_0x535bf1(0x270)](_0x14c4d1,_0x547411)&&(_0x547411[_0x14c4d1]=[]);let _0x5be1dd=_0x28ab19[_0x535bf1(0x24e)]()[_0x535bf1(0x1de)](_0x55784a)[TestFrameworkConstants[_0x535bf1(0x1f7)]];!_0x5be1dd&&(_0x5be1dd={});!_0x184239[_0x535bf1(0x1f0)](_0x14c4d1,_0x5be1dd)&&(_0x5be1dd[_0x14c4d1]=[]);const _0x2d9f1d={[TestFrameworkConstants[_0x535bf1(0x27e)]]:_0x547411,[TestFrameworkConstants[_0x535bf1(0x1f7)]]:_0x5be1dd},_0x55fc6f={};_0x55fc6f[_0x55784a]=_0x2d9f1d;const _0x12ca06=_0x55fc6f,_0x3a200f=_0x184239['KLywC'](getPlaywrightTestFilePath,_0x122d5d),_0x2a4edd=_0x3a200f+':'+_0x184239[_0x535bf1(0x26b)](getPlaywrightTestLocation,_0x122d5d),_0x16ee70=TestInfo[_0x535bf1(0x1ef)](_0x55784a)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x184239[_0x535bf1(0x269)](_0x3bdff4,HookState[_0x535bf1(0x1c8)])){const _0x4e491d={'key':_0x14c4d1,[TestFrameworkConstants[_0x535bf1(0x20b)]]:_0x184239[_0x535bf1(0x1be)](uuidv4),[TestFrameworkConstants[_0x535bf1(0x1e1)]]:TestFrameworkConstants[_0x535bf1(0x1e9)],[TestFrameworkConstants[_0x535bf1(0x21b)]]:_0x518261['startTime'],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x518261[_0x535bf1(0x221)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x3a200f,[TestFrameworkConstants[_0x535bf1(0x272)]]:_0x2a4edd,[TestFrameworkConstants[_0x535bf1(0x1d5)]]:_0x16ee70};_0x547411[_0x14c4d1][_0x535bf1(0x1f5)](_0x4e491d),_0x12ca06[_0x55784a][TestFrameworkConstants[_0x535bf1(0x1d0)]]=_0x14c4d1,logger['debug'](_0x535bf1(0x1c9)+_0x14c4d1+_0x535bf1(0x1d9)+_0x4e491d+'\x20\x20and\x20args\x20=\x20'+_0x31664c);}else{if(_0x184239[_0x535bf1(0x24a)](_0x3bdff4,HookState[_0x535bf1(0x213)])){const _0xe00cb5=await _0x31664c[_0x535bf1(0x225)],_0x158abe=_0x547411[_0x14c4d1]||[],_0x1f8784=_0x31664c['step'];logger['debug'](_0x535bf1(0x266)+_0x158abe+_0x535bf1(0x23a)+_0x31664c);if(_0x184239[_0x535bf1(0x1f9)](_0x158abe[_0x535bf1(0x223)],0x0)){const _0x4dd217=_0x158abe[_0x535bf1(0x27d)]();if(_0x1f8784[_0x535bf1(0x23f)]){const _0x40e461=_0x184239[_0x535bf1(0x243)](failureData,_0x1f8784[_0x535bf1(0x23f)],_0x184239['qEoYw']);_0x4dd217[TestFrameworkConstants[_0x535bf1(0x1ba)]]=_0x184239[_0x535bf1(0x26b)](getFailureType,_0x1f8784?.[_0x535bf1(0x23f)][_0x535bf1(0x22a)]),_0x4dd217[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x184239[_0x535bf1(0x205)](removeAnsiColors,_0x1f8784?.['error'][_0x535bf1(0x22a)]),_0x4dd217[TestFrameworkConstants[_0x535bf1(0x1e1)]]=_0x184239[_0x535bf1(0x258)],_0x4dd217[TestFrameworkConstants[_0x535bf1(0x244)]]=_0x40e461;}else _0x4dd217[TestFrameworkConstants[_0x535bf1(0x1e1)]]=_0x184239[_0x535bf1(0x1fd)];_0x184239[_0x535bf1(0x214)](_0xe00cb5,TestFrameworkConstants[_0x535bf1(0x1e9)])&&(_0x4dd217[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x1f8784[_0x535bf1(0x23f)]?_0x184239['xORaD']:_0x184239[_0x535bf1(0x258)]);const _0x5b781e=new Date(_0x1f8784['startTime']),_0x449662=new Date(_0x184239[_0x535bf1(0x25b)](_0x5b781e[_0x535bf1(0x222)](),_0x1f8784[_0x535bf1(0x1ff)]));_0x4dd217[TestFrameworkConstants[_0x535bf1(0x24b)]]=_0x449662[_0x535bf1(0x237)](),_0x4dd217[TestFrameworkConstants[_0x535bf1(0x1d5)]]=_0x16ee70;const _0x4e8151=_0x4dd217[TestFrameworkConstants[_0x535bf1(0x20b)]];await this[_0x535bf1(0x27f)](_0x28ab19,_0x2a50d8,_0x4e8151,_0x184239[_0x535bf1(0x1da)],_0x31664c),!_0x5be1dd[_0x14c4d1]&&(_0x5be1dd[_0x14c4d1]=[]),_0x5be1dd[_0x14c4d1]['push'](_0x4dd217),_0x12ca06[_0x55784a][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x14c4d1;}}}return _0x12ca06;}async[a62_0x457abc(0x27f)](_0x343de2,_0x4f7450,_0x24d266,_0x254ea4,_0x4b2f2b){const _0x3010e6=a62_0x457abc,_0x4d16e9={'ulAxQ':function(_0x165df6,_0xf2f131){return _0x165df6===_0xf2f131;},'lvmXp':_0x3010e6(0x224),'LFXqK':function(_0xb0510c,_0x74336a,_0x54e781){return _0xb0510c(_0x74336a,_0x54e781);},'wgPku':function(_0x347bae,_0x4b9950,_0xb923fc,_0x16b56e){return _0x347bae(_0x4b9950,_0xb923fc,_0x16b56e);},'KBXPN':function(_0x58cead,_0xbf20be,_0x28290d){return _0x58cead(_0xbf20be,_0x28290d);},'oNzRO':function(_0x3c0968,_0x4a434f,_0x48dd40){return _0x3c0968(_0x4a434f,_0x48dd40);},'Rndaq':function(_0x366f9f,_0x18920a,_0x588c29,_0x5c64ff,_0x4a354a){return _0x366f9f(_0x18920a,_0x588c29,_0x5c64ff,_0x4a354a);},'QyfIv':_0x3010e6(0x1eb),'KZnHM':function(_0x45b057,_0x586192,_0x32b2c6,_0x2088d7,_0x2dec21){return _0x45b057(_0x586192,_0x32b2c6,_0x2088d7,_0x2dec21);}};try{if(_0x4d16e9[_0x3010e6(0x228)](_0x254ea4,_0x4d16e9[_0x3010e6(0x218)])){const _0x31ec86=await _0x4b2f2b[_0x3010e6(0x225)],_0x3f562a=_0x4b2f2b[_0x3010e6(0x224)]['id'],_0x18df63=_0x4b2f2b[_0x3010e6(0x224)];logger[_0x3010e6(0x261)]('sendLogCreatedEvent:\x20testId='+_0x3f562a);const _0x2f4fe4=_0x343de2[_0x3010e6(0x24e)]()[_0x3010e6(0x1de)](_0x3f562a)[TestFrameworkConstants[_0x3010e6(0x24f)]];await _0x4d16e9[_0x3010e6(0x240)](sendTraceZip,_0x31ec86,_0x2f4fe4);const {steps:_0x5a8405,logs:_0x129771}=_0x4d16e9[_0x3010e6(0x21e)](getStepsAndLogs,_0x31ec86[_0x3010e6(0x26a)],_0x343de2['getAllData']()['get'](_0x3f562a)[TestFrameworkConstants[_0x3010e6(0x24f)]],_0x4d16e9['lvmXp']),_0x4c9905=_0x4d16e9[_0x3010e6(0x240)](getScreenshots,_0x31ec86,_0x343de2[_0x3010e6(0x24e)]()[_0x3010e6(0x1de)](_0x3f562a)[TestFrameworkConstants[_0x3010e6(0x24f)]]),{_:_0x264ac4,logs:_0x18ff2c}=_0x4d16e9[_0x3010e6(0x23d)](getFailureData,_0x31ec86[_0x3010e6(0x20e)],{'test_run_uuid':_0x343de2[_0x3010e6(0x24e)]()[_0x3010e6(0x1de)](_0x3f562a)[TestFrameworkConstants[_0x3010e6(0x24f)]]}),_0x1d47d7=TestInfo['getTestDetails'](_0x3f562a)[TestFrameworkConstants[_0x3010e6(0x1fc)]]||{},_0x2562ea=_0x4d16e9['oNzRO'](getMediaArtifactsLogs,_0x1d47d7,_0x343de2[_0x3010e6(0x24e)]()[_0x3010e6(0x1de)](_0x3f562a)[TestFrameworkConstants[_0x3010e6(0x24f)]]),_0x3021be=_0x343de2[_0x3010e6(0x24e)]()[_0x3010e6(0x1de)](_0x3f562a),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x150220='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x5135f1=''}=_0x3021be,_0x15e84f={'platformIndex':'0','logs':[..._0x129771||[],..._0x4c9905||[],..._0x18ff2c||[],..._0x2562ea||[]],'testFrameworkName':_0x150220,'testFrameworkVersion':_0x5135f1,'testFrameworkState':_0x4f7450[_0x3010e6(0x1bd)]()[_0x3010e6(0x1bc)]('.')[0x1]};_0x4d16e9[_0x3010e6(0x24d)](updatePayloadForTraceLogs,_0x15e84f,_0x4b2f2b,_0x3f562a,_0x343de2),logger[_0x3010e6(0x261)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x3f562a+_0x3010e6(0x1c1)+util[_0x3010e6(0x1f1)](_0x15e84f));const _0x1106c6=await GrpcClient['getInstance']()[_0x3010e6(0x1d1)](_0x15e84f);}else{const {steps:_0x2a7b86,logs:_0x56b5e2}=_0x4d16e9['wgPku'](getStepsAndLogs,_0x4b2f2b[_0x3010e6(0x1d4)][_0x3010e6(0x26a)],_0x24d266,_0x4d16e9[_0x3010e6(0x20c)]),_0x464084=_0x4b2f2b[_0x3010e6(0x224)]['id'];logger[_0x3010e6(0x261)]('sendLogCreatedEvent:\x20testId='+_0x464084);const _0x29a350=_0x343de2[_0x3010e6(0x24e)]()[_0x3010e6(0x1de)](_0x464084),{[TestFrameworkConstants[_0x3010e6(0x1ed)]]:_0x5001c2='',[TestFrameworkConstants[_0x3010e6(0x21a)]]:_0x472d4f=''}=_0x29a350,_0x4d00ee={'platformIndex':'0','logs':_0x56b5e2,'testFrameworkName':_0x5001c2,'testFrameworkVersion':_0x472d4f,'testFrameworkState':_0x4f7450[_0x3010e6(0x1bd)]()['split']('.')[0x1]};_0x4d16e9[_0x3010e6(0x1b9)](updatePayloadForTraceLogs,_0x4d00ee,_0x4b2f2b,_0x464084,_0x343de2),logger[_0x3010e6(0x261)](_0x3010e6(0x22f)+_0x464084+_0x3010e6(0x1c1)+util[_0x3010e6(0x1f1)](_0x4d00ee));const _0xed8673=await GrpcClient[_0x3010e6(0x24c)]()[_0x3010e6(0x1d1)](_0x4d00ee);}}catch(_0xda10eb){logger[_0x3010e6(0x23f)](_0x3010e6(0x22b)+util[_0x3010e6(0x21d)](_0xda10eb));}}}function a62_0x5ed6(_0x273170,_0x208263){const _0x1f7d1a=a62_0x1f7d();return a62_0x5ed6=function(_0x5ed677,_0x5f09d8){_0x5ed677=_0x5ed677-0x1b9;let _0x3675b3=_0x1f7d1a[_0x5ed677];return _0x3675b3;},a62_0x5ed6(_0x273170,_0x208263);}module[a62_0x457abc(0x1dd)]=PlaywrightTestFramework;
@@ -0,0 +1 @@
1
+ function a63_0x1460(_0x27f735,_0x4af3b4){const _0x16cfdb=a63_0x16cf();return a63_0x1460=function(_0x1460fd,_0x40d6dd){_0x1460fd=_0x1460fd-0x103;let _0x4d5a77=_0x16cfdb[_0x1460fd];return _0x4d5a77;},a63_0x1460(_0x27f735,_0x4af3b4);}const a63_0x16372b=a63_0x1460;(function(_0x21b6f6,_0x596b37){const _0x421e5d=a63_0x1460,_0x168df6=_0x21b6f6();while(!![]){try{const _0x29bb04=parseInt(_0x421e5d(0x110))/0x1*(-parseInt(_0x421e5d(0x105))/0x2)+-parseInt(_0x421e5d(0x12b))/0x3*(parseInt(_0x421e5d(0x126))/0x4)+-parseInt(_0x421e5d(0x10f))/0x5+parseInt(_0x421e5d(0x10a))/0x6*(-parseInt(_0x421e5d(0x10d))/0x7)+parseInt(_0x421e5d(0x12a))/0x8+-parseInt(_0x421e5d(0x124))/0x9+parseInt(_0x421e5d(0x11b))/0xa;if(_0x29bb04===_0x596b37)break;else _0x168df6['push'](_0x168df6['shift']());}catch(_0x527b85){_0x168df6['push'](_0x168df6['shift']());}}}(a63_0x16cf,0x5935f));const CLIUtils=require(a63_0x16372b(0x11f)),eventDispatcher=require(a63_0x16372b(0x108)),TestFrameworkInstance=require('../instances/testFrameworkInstance'),TrackedContext=require(a63_0x16372b(0x118)),TestFrameworkState=require('../state/testFrameworkState'),HookState=require(a63_0x16372b(0x11c)),{createClassLogger}=require(a63_0x16372b(0x10b)),TrackedInstance=require(a63_0x16372b(0x122)),logger=createClassLogger(a63_0x16372b(0x12c));function a63_0x16cf(){const _0x222033=['4048362ijLJzU','getTestFrameworksVersions','28hSpebD',';\x20hookState=','getAllData','setCurrentHookState','2197088NVpjyk','255927VAPamm','TestFramework','registerObserver','get','287234kIqtyG','hasState','trackEvent:\x20testFrameworkState=','../eventDispatcher','getState','258nraSOr','../../../helpers/classLogger','setState','111307etwRkK','setTrackedInstance','3070515aQQhzb','1whkUnq','instances','set','getInstances','exports','getCurrentInstanceName','has','getId','../instances/trackedContext','getTestFrameworks','testFrameworks','25792150CJROKW','../state/hookState','debug','trackEvent','../cliUtils','getTrackedInstance','setCurrentTestState','../instances/trackedInstance','setInstance'];a63_0x16cf=function(){return _0x222033;};return a63_0x16cf();}class TestFramework{static [a63_0x16372b(0x111)]=new Map();[a63_0x16372b(0x11a)]=[];['testFrameworkVersions']={};['binSessionId']=null;constructor(_0x4f5ef4,_0x1a67b3,_0x553fdf){const _0x5b05ca=a63_0x16372b;this[_0x5b05ca(0x11a)]=_0x4f5ef4,this['testFrameworkVersions']=_0x1a67b3,this['binSessionId']=_0x553fdf;}[a63_0x16372b(0x113)](){const _0x5cbb2f=a63_0x16372b;return TestFramework[_0x5cbb2f(0x111)];}[a63_0x16372b(0x123)](_0x2d432b,_0x43e2a1){const _0x562c78=a63_0x16372b;TestFramework[_0x562c78(0x111)][_0x562c78(0x112)](_0x2d432b[_0x562c78(0x117)],_0x43e2a1);}static[a63_0x16372b(0x120)](){const _0x1210ea=a63_0x16372b,_0x168353=TrackedInstance['createContext'](CLIUtils[_0x1210ea(0x115)]());return TestFramework[_0x1210ea(0x111)][_0x1210ea(0x104)](_0x168353[_0x1210ea(0x117)]());}static[a63_0x16372b(0x10e)](_0x34d7fd,_0x61d463){const _0x50a6c5=a63_0x16372b;TestFramework[_0x50a6c5(0x111)][_0x50a6c5(0x112)](_0x34d7fd[_0x50a6c5(0x117)](),_0x61d463);}[a63_0x16372b(0x125)](){return this['testFrameworkVersions'];}[a63_0x16372b(0x119)](){const _0x158466=a63_0x16372b;return this[_0x158466(0x11a)];}[a63_0x16372b(0x11e)](_0x2aa6f2,_0x2176b,_0x379e23={}){const _0x483460=a63_0x16372b;logger[_0x483460(0x11d)](_0x483460(0x107)+_0x2aa6f2+_0x483460(0x127)+_0x2176b);}async['runHooks'](_0x5f2e26,_0x3bffcd,_0x50d1cd,_0x3f6f60={}){const _0x32eefa=a63_0x16372b,_0x247510=CLIUtils['getHookRegistryKey'](_0x3bffcd,_0x50d1cd);_0x5f2e26[_0x32eefa(0x121)](_0x3bffcd),_0x5f2e26[_0x32eefa(0x129)](_0x50d1cd),await eventDispatcher['notifyObserver'](_0x247510,_0x3f6f60);}static[a63_0x16372b(0x103)](_0x6d950c,_0x2c0acd,_0x18e946){eventDispatcher['registerObserver'](CLIUtils['getHookRegistryKey'](_0x6d950c,_0x2c0acd),_0x18e946);}static[a63_0x16372b(0x109)](_0x1a156b,_0x5c5384){const _0x300074=a63_0x16372b;return _0x1a156b[_0x300074(0x128)]()['get'](_0x5c5384);}static[a63_0x16372b(0x10c)](_0x178cc1,_0x3a6f71,_0x1f97be){const _0x5b00bf=a63_0x16372b;_0x178cc1['getAllData']()[_0x5b00bf(0x112)](_0x3a6f71,_0x1f97be);}static[a63_0x16372b(0x106)](_0x7e467c,_0x2777e8){const _0x2e5632=a63_0x16372b;return _0x7e467c[_0x2e5632(0x128)]()[_0x2e5632(0x116)](_0x2777e8);}}module[a63_0x16372b(0x114)]=TestFramework;