browserstack-node-sdk 1.53.6 → 1.54.0

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 (193) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +4 -3
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a32_0x3dd1f4=a32_0x2490;(function(_0x224b78,_0x54e11c){const _0x287d04=a32_0x2490,_0x851d51=_0x224b78();while(!![]){try{const _0x116fb4=-parseInt(_0x287d04(0x165))/0x1+parseInt(_0x287d04(0x219))/0x2*(parseInt(_0x287d04(0x1b6))/0x3)+parseInt(_0x287d04(0x244))/0x4+parseInt(_0x287d04(0x1f3))/0x5+-parseInt(_0x287d04(0x196))/0x6*(-parseInt(_0x287d04(0x1c6))/0x7)+-parseInt(_0x287d04(0x1bb))/0x8*(parseInt(_0x287d04(0x1e9))/0x9)+parseInt(_0x287d04(0x235))/0xa*(-parseInt(_0x287d04(0x16d))/0xb);if(_0x116fb4===_0x54e11c)break;else _0x851d51['push'](_0x851d51['shift']());}catch(_0x55ef9c){_0x851d51['push'](_0x851d51['shift']());}}}(a32_0x1757,0x2f969));const chalk=require(a32_0x3dd1f4(0x18f)),logger=require(a32_0x3dd1f4(0x25c))[a32_0x3dd1f4(0x20e)],helper=require(a32_0x3dd1f4(0x195)),utilities=require(a32_0x3dd1f4(0x1fe)),testOpsHelper=require(a32_0x3dd1f4(0x22a)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a32_0x3dd1f4(0x1bd)),{requireModule,nestedKeyValue}=require(a32_0x3dd1f4(0x195)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule('mocha/lib/reporters/base.js','mocha'),collectFiles=requireModule('mocha/lib/cli/collect-files.js','mocha'),constants=require(a32_0x3dd1f4(0x1f7)),PerformanceTester=require(a32_0x3dd1f4(0x1c9)),PerformanceEvents=require(a32_0x3dd1f4(0x156))[a32_0x3dd1f4(0x214)],centralScannerConstants=require(a32_0x3dd1f4(0x152)),{FRAMEWORKS}=require(a32_0x3dd1f4(0x1cb)),TestHubHandler=require(a32_0x3dd1f4(0x237)),ClientTroubleShootingService=require(a32_0x3dd1f4(0x23e));function tag(_0x47c804,_0x595751,_0x2f3d73,_0xd294e8){const _0x392df2=a32_0x3dd1f4,_0x1479d7={'fCTps':function(_0x3189f8,_0x37528a){return _0x3189f8+_0x37528a;},'aWFFA':function(_0x6e6185,_0xf0fdca){return _0x6e6185+_0xf0fdca;},'BMOQb':function(_0x2bd887,_0x4016a8){return _0x2bd887+_0x4016a8;},'BviTr':function(_0x22a4e9,_0x3313bf){return _0x22a4e9(_0x3313bf);},'ngNDH':function(_0x5d3675,_0x1d43e5){return _0x5d3675+_0x1d43e5;},'ANUuM':function(_0xf9cc88,_0x1353c4){return _0xf9cc88+_0x1353c4;},'wIdZf':function(_0x34ff54,_0x5687a1){return _0x34ff54+_0x5687a1;}},_0x359891=_0x2f3d73?'/>':'>',_0x35ced2=[];let _0x3830e5;for(const _0x4d8a39 in _0x595751){Object[_0x392df2(0x1d0)][_0x392df2(0x150)][_0x392df2(0x202)](_0x595751,_0x4d8a39)&&_0x35ced2[_0x392df2(0x232)](_0x1479d7[_0x392df2(0x1d9)](_0x1479d7[_0x392df2(0x1b1)](_0x1479d7[_0x392df2(0x23c)](_0x4d8a39,'=\x22'),_0x1479d7[_0x392df2(0x211)](escape,_0x595751[_0x4d8a39])),'\x22'));}return _0x3830e5=_0x1479d7[_0x392df2(0x1c2)](_0x1479d7[_0x392df2(0x190)](_0x1479d7[_0x392df2(0x190)]('<',_0x47c804),_0x35ced2[_0x392df2(0x21e)]?_0x1479d7[_0x392df2(0x23c)]('\x20',_0x35ced2[_0x392df2(0x250)]('\x20')):''),_0x359891),_0xd294e8&&(_0x3830e5+=_0x1479d7[_0x392df2(0x222)](_0x1479d7['ANUuM'](_0x1479d7['aWFFA'](_0xd294e8,'</'),_0x47c804),_0x359891)),_0x3830e5;}let xunitContent='';function xunitWrite(_0x223978){xunitContent+=_0x223978;}function xunitTest(_0x303bb5,_0x19644b){const _0x416c12=a32_0x3dd1f4,_0x54ed19={'jGtij':function(_0x5790e1,_0x43fb62){return _0x5790e1/_0x43fb62;},'LSdqu':function(_0x38c307,_0x2378e2){return _0x38c307===_0x2378e2;},'MNwrs':_0x416c12(0x176),'qTtfd':function(_0x5272d2,_0x550afc){return _0x5272d2+_0x550afc;},'Rosij':function(_0x5f15d7,_0x3702db){return _0x5f15d7(_0x3702db);},'DnAAq':function(_0x5aab6a,_0x207508,_0x4ba914,_0x360acb,_0x1da971){return _0x5aab6a(_0x207508,_0x4ba914,_0x360acb,_0x1da971);},'AVCHY':_0x416c12(0x174),'gSIDn':'failure','BWBJs':function(_0x2b0729,_0x3de492){return _0x2b0729+_0x3de492;},'WjoLX':function(_0x336ed2,_0x12554d){return _0x336ed2(_0x12554d);},'MzjNs':function(_0x55b60e,_0x3f9718,_0x257159,_0x2992fb){return _0x55b60e(_0x3f9718,_0x257159,_0x2992fb);},'xKEzS':_0x416c12(0x18c),'xMgjh':function(_0x480a0c,_0x422825,_0x291499,_0x1c16fe){return _0x480a0c(_0x422825,_0x291499,_0x1c16fe);}};Base['useColors']=![];var _0x310052={'classname':_0x303bb5[_0x416c12(0x1f2)],'name':_0x303bb5[_0x416c12(0x22b)],'time':_0x54ed19[_0x416c12(0x238)](_0x303bb5[_0x416c12(0x259)],0x3e8)||0x0,'platform':_0x19644b};if(_0x54ed19[_0x416c12(0x1c8)](_0x303bb5['state'],_0x54ed19[_0x416c12(0x1b2)])){var _0x86eb2e=_0x303bb5['err'],_0x5a065f=!Base[_0x416c12(0x22d)]&&Base[_0x416c12(0x15b)](_0x86eb2e)?_0x54ed19[_0x416c12(0x22f)]('\x0a',Base[_0x416c12(0x17b)](_0x86eb2e[_0x416c12(0x1dd)],_0x86eb2e['expected'])):'';_0x54ed19[_0x416c12(0x24e)](xunitWrite,_0x54ed19[_0x416c12(0x16b)](tag,_0x54ed19['AVCHY'],_0x310052,![],_0x54ed19[_0x416c12(0x16b)](tag,_0x54ed19[_0x416c12(0x247)],{},![],_0x54ed19[_0x416c12(0x22f)](_0x54ed19[_0x416c12(0x1af)](_0x54ed19['qTtfd'](_0x54ed19[_0x416c12(0x24e)](escape,_0x86eb2e[_0x416c12(0x179)]),_0x54ed19['WjoLX'](escape,_0x5a065f)),'\x0a'),_0x54ed19[_0x416c12(0x24e)](escape,_0x86eb2e[_0x416c12(0x243)])))));}else _0x303bb5[_0x416c12(0x24c)]?_0x54ed19['WjoLX'](xunitWrite,_0x54ed19[_0x416c12(0x16b)](tag,_0x54ed19[_0x416c12(0x23b)],_0x310052,![],_0x54ed19[_0x416c12(0x19d)](tag,_0x54ed19['xKEzS'],{},!![]))):_0x54ed19[_0x416c12(0x1a7)](xunitWrite,_0x54ed19[_0x416c12(0x1ca)](tag,_0x54ed19[_0x416c12(0x23b)],_0x310052,!![]));};function a32_0x1757(){const _0xae4488=['fhWAK','xunit','finally','prepareCapabilities','mjs','useW3C','mocha','48751QRaaCw','isEmpty','exports','YHXkT','proxySettings','shouldReRunObservabilityTests','DnAAq','keys','7332171qGOACX','ncgtY','platforms','output','cfyek','testsuite','suite','testcase','JtmgQ','failed','OeQDQ','parseFileNames','message','launchBuild','generateDiff','XyhKr','kfcyR','CXoTq','UbRmc','xFtFm','jZmXI','nlgxr','isTestObservabilitySession','wLIKb','wkRga','bgBlueBright','MOCHA','ZnpnA','state','notifyUpdate','red','skipped','nkzQX','logLevel','chalk','ANUuM','files','guauI','maxRetries','Running\x20your\x20mocha\x20tests','../../helpers/helper','18wuZEtY','FRAMEWORKS','\x0a\x0a\x0a','\x20total','LFtJc','Writing\x20json\x20result\x20to\x20file','totalTests','MzjNs','toUTCString','reporterOptions','LdABU','passes','Setting\x20non\x20exit\x20code\x20for\x20failures','get','mFQPS','Now,\x20showing\x20logs\x20from\x20mocha','ZOVaY','WjoLX','Total\x20Suites:\x20','bstack:options','okWvy','\x20skipped','Printing\x20stats\x20of\x20tests','Mocha\x20Tests','getOwnPropertyNames','BWBJs','log','aWFFA','MNwrs','wmiGq','IuarS','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','117OsLZvo','sort','jFHBa','SDK_CLEANUP','framework','8azlrDO','currentRetry','../test-runner','HCulK','stringify','sdIfU','accessibility','ngNDH','spec','Couldn\x27t\x20write\x20json\x20result\x20to','reporter','355866cjObwa','ZbExp','LSdqu','../../helpers/performance/performance-tester','xMgjh','../../helpers/test-observability/constants','vUnqR','setUserConfigPath','RvueS','hDCsu','prototype','BROWSERSTACK_TEST_ACCESSIBILITY_YML','rfFTo','writeFileSync','cJkrI','SDKTestSuccessful','Gwnqb','excludeTagsInTestingScope','retries','fCTps','results','setupTCGAuth','recursive','actual','platform','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','validPlatformsPresent','includeTagsInTestingScope','ykWsT','isNotUndefined','errorMessage','pending','OyLhY','err','Tests:\x20\x20\x20\x20\x20\x20\x20','23904hSIAKI','TMiEJ','rerunTests','cliConfig','initialize','zpfxE','testsPassed','bgRedBright','assign','fullTitle','1057000qfBAkf','YQxSQ','BROWSERSTACK_TEST_OBSERVABILITY_YML','rootHooks','../utils/constants','\x20failed','configuration','Total\x20Platforms:\x20','aHaNN','size','titlePathV','../../helpers/utilities','start','printBuildLink','ePPvx','call','titlePath','bXFbV','PGmRJ','isUndefined','rmdirSync','OFfmQ','speed','****\x20FAILURES\x20****','IJoUZ','\x20passed','parallelsPerPlatform','winstonLogger','SlaiW','Mtubb','BviTr','extension','EhxhO','EVENTS','passed','error','then','indexOf','19300MrZnsr','retryTestsOnFailure','forEach','djWXP','BROWSERSTACK_RERUN_TESTS','length','ERGzn','</testsuite>','tEkyh','wIdZf','Listing\x20all\x20the\x20failures','hUZiC','XufbG','Writing\x20xunit\x20result\x20to\x20file','testsPending','getErrorMessageFromResults','list','../../helpers/test-observability/utils','title','info','hideDiff','testSuites','qTtfd','env','suiteName','push','QFULb','yZJct','10cJrMhr','bold','../../helpers/testhub/testhubHandler','jGtij','SwVpK','json','AVCHY','BMOQb','HleGF','../utils/clientTroubleshootingService','map','lMFwh','ccJmL','ZYKEo','stack','690500AhcqTN','doc','failures','gSIDn','QOINd','fireFunnelTestEvent','Couldn\x27t\x20write\x20xunit\x20result\x20to','config','isPending','isBrowserstackInfra','Rosij','getTCGConfigFilePaths','join','sDtNw','VxXgr','handleApp','gYmEN','testObservability','RrOcO','unlinkSync','AbQgu','duration','Running\x20your\x20mocha\x20tests\x20across\x20','finalExecution','../../helpers/logger','green','hasOwnProperty','error\x20removing\x20tcg\x20config\x20file','../../helpers/central-scanner/constants','includeEncodedExtension','LWIQD','BRTbv','../../helpers/performance/constants','exitCode','accessibilityOptions','lMVmM','testsFailed','showDiff','getUserWorkerCount','debug'];a32_0x1757=function(){return _0xae4488;};return a32_0x1757();}function getStats(_0x2cffff){const _0x2bbb26=a32_0x3dd1f4,_0x7741ed={};_0x7741ed[_0x2bbb26(0x1be)]=_0x2bbb26(0x173),_0x7741ed[_0x2bbb26(0x252)]=_0x2bbb26(0x215),_0x7741ed['tEkyh']=_0x2bbb26(0x176),_0x7741ed[_0x2bbb26(0x251)]=_0x2bbb26(0x1da);const _0x37a6b6=_0x7741ed,_0x2528c3=Object[_0x2bbb26(0x16c)](_0x2cffff);let _0x288caa=0x0,_0x2def9b=0x0,_0x371f3f=0x0,_0x195a43=0x0;const _0x2f8c8a=new Set();_0x2528c3['forEach'](_0x5b7373=>{_0x2cffff[_0x5b7373][_0x37a6b6['sDtNw']]['forEach'](_0x357196=>{const _0x32c38a=a32_0x2490;_0x2f8c8a['add'](_0x357196[_0x37a6b6[_0x32c38a(0x1be)]]),_0x288caa++;switch(_0x357196[_0x32c38a(0x189)]){case _0x37a6b6[_0x32c38a(0x252)]:_0x371f3f++;break;case _0x37a6b6[_0x32c38a(0x221)]:_0x2def9b++;break;default:_0x195a43++;}});});const _0x159367={};return _0x159367[_0x2bbb26(0x22e)]=_0x2f8c8a[_0x2bbb26(0x1fc)],_0x159367[_0x2bbb26(0x16f)]=_0x2528c3,_0x159367[_0x2bbb26(0x19c)]=_0x288caa,_0x159367[_0x2bbb26(0x15a)]=_0x2def9b,_0x159367[_0x2bbb26(0x1ef)]=_0x371f3f,_0x159367[_0x2bbb26(0x227)]=_0x195a43,_0x159367;}function errorJSON(_0xc519c3){const _0x15f5c0=a32_0x3dd1f4;var _0x507ee6={};return Object[_0x15f5c0(0x1ae)](_0xc519c3)[_0x15f5c0(0x21b)](function(_0x423e01){_0x507ee6[_0x423e01]=_0xc519c3[_0x423e01];},_0xc519c3),_0x507ee6;}function a32_0x2490(_0x48ee00,_0x1140e7){const _0x1757cc=a32_0x1757();return a32_0x2490=function(_0x2490fc,_0x190824){_0x2490fc=_0x2490fc-0x150;let _0x56d538=_0x1757cc[_0x2490fc];return _0x56d538;},a32_0x2490(_0x48ee00,_0x1140e7);}function cleanCycles(_0x55c367){const _0x3ad5ba=a32_0x3dd1f4,_0xb4ab41={};_0xb4ab41[_0x3ad5ba(0x17e)]=function(_0x47d91e,_0x254c3d){return _0x47d91e===_0x254c3d;},_0xb4ab41[_0x3ad5ba(0x1b3)]='object',_0xb4ab41['Ffsxy']=function(_0x5b73ae,_0xc90594){return _0x5b73ae!==_0xc90594;},_0xb4ab41[_0x3ad5ba(0x171)]=function(_0x4fa750,_0x58aa3a){return _0x4fa750!==_0x58aa3a;},_0xb4ab41[_0x3ad5ba(0x1ee)]=function(_0x5e4d33,_0x6f153d){return _0x5e4d33+_0x6f153d;};const _0x156767=_0xb4ab41;var _0x4969ce=[];return JSON['parse'](JSON['stringify'](_0x55c367,function(_0x4175c1,_0x8fc35){const _0x88921e=_0x3ad5ba;if(_0x156767[_0x88921e(0x17e)](typeof _0x8fc35,_0x156767['wmiGq'])&&_0x156767['Ffsxy'](_0x8fc35,null)){if(_0x156767[_0x88921e(0x171)](_0x4969ce[_0x88921e(0x218)](_0x8fc35),-0x1))return _0x156767[_0x88921e(0x1ee)]('',_0x8fc35);_0x4969ce[_0x88921e(0x232)](_0x8fc35);}return _0x8fc35;}));}function clean(_0x116c94){const _0x7397d1=a32_0x3dd1f4,_0x1fc403={'ZYKEo':function(_0xbfe8af,_0x46557c){return _0xbfe8af instanceof _0x46557c;},'SwVpK':function(_0x175ff5,_0x342ca2){return _0x175ff5(_0x342ca2);}};var _0xc149f3=_0x116c94[_0x7397d1(0x1e7)]||{};return _0x1fc403[_0x7397d1(0x242)](_0xc149f3,Error)&&(_0xc149f3=_0x1fc403['SwVpK'](errorJSON,_0xc149f3)),{'title':_0x116c94[_0x7397d1(0x22b)],'fullTitle':_0x116c94['fullTitle'],'file':_0x116c94['file'],'duration':_0x116c94[_0x7397d1(0x259)],'currentRetry':_0x116c94[_0x7397d1(0x1bc)],'speed':_0x116c94[_0x7397d1(0x209)],'err':_0x1fc403[_0x7397d1(0x239)](cleanCycles,_0xc149f3)};}function printStats(_0x4f5c61,_0x253499='spec',_0x4b9d6e={}){const _0x4de650=a32_0x3dd1f4,_0x20780e={'bjIOK':function(_0x1f7576,_0x35999f){return _0x1f7576(_0x35999f);},'vUnqR':function(_0x3b5350,_0x4c2147){return _0x3b5350===_0x4c2147;},'lMVmM':'passed','GgVOR':_0x4de650(0x1a1),'lMFwh':function(_0x5c7020,_0x348a65){return _0x5c7020(_0x348a65);},'ePPvx':function(_0xeddef1,_0x1a0dcf){return _0xeddef1===_0x1a0dcf;},'YHXkT':_0x4de650(0x176),'dbByN':_0x4de650(0x246),'uwQxS':function(_0x9883af,_0x1238ae){return _0x9883af(_0x1238ae);},'YQxSQ':_0x4de650(0x1e5),'ncgtY':function(_0x3fd42a,_0x4417b2){return _0x3fd42a(_0x4417b2);},'TMiEJ':'results','hUZiC':function(_0x18d164,_0x3daa74){return _0x18d164===_0x3daa74;},'QFULb':function(_0x22cf2f,_0x4aca9a){return _0x22cf2f*_0x4aca9a;},'QOINd':function(_0x4515c7,_0x29c755,_0x523e73){return _0x4515c7(_0x29c755,_0x523e73);},'sdIfU':function(_0x43f6b4,_0x32ca11){return _0x43f6b4>_0x32ca11;},'PISQI':function(_0x203a6d){return _0x203a6d();},'PGmRJ':function(_0x326c44,_0xdfdf90){return _0x326c44===_0xdfdf90;},'iOrYi':_0x4de650(0x245),'YiDVa':function(_0x496ea7,_0x3617e7){return _0x496ea7(_0x3617e7);},'HQjJn':_0x4de650(0x1a2),'kfcyR':_0x4de650(0x1ac),'cJkrI':function(_0x275156,_0x4347c8){return _0x275156+_0x4347c8;},'ZnpnA':_0x4de650(0x1fa),'hxzqI':_0x4de650(0x1a8),'zVRfc':function(_0x3e9dfe,_0x334fdb){return _0x3e9dfe+_0x334fdb;},'Gwnqb':function(_0x1a8472,_0xbeb6be){return _0x1a8472+_0xbeb6be;},'fhWAK':_0x4de650(0x1e8),'wkRga':function(_0x197d15,_0x28f724){return _0x197d15>_0x28f724;},'okWvy':function(_0x3201e0,_0x4fbbfb){return _0x3201e0+_0x4fbbfb;},'UbRmc':function(_0x1d149d,_0x16198b){return _0x1d149d+_0x16198b;},'gmoDa':function(_0x460f8e,_0x13442a){return _0x460f8e+_0x13442a;},'rfFTo':function(_0x20336e,_0x1585e0){return _0x20336e+_0x1585e0;},'nkzQX':function(_0x541054,_0x22e699){return _0x541054+_0x22e699;},'Mtubb':_0x4de650(0x198),'xFtFm':function(_0x49975e,_0x1f0f23){return _0x49975e===_0x1f0f23;},'ERGzn':_0x4de650(0x23a),'OeQDQ':_0x4de650(0x19b),'IJoUZ':_0x4de650(0x1c4),'IhjJr':_0x4de650(0x1df),'uSaLf':_0x4de650(0x15f),'zrlXo':_0x4de650(0x1ad),'BElrv':function(_0x2f34f1,_0x54c59c){return _0x2f34f1||_0x54c59c;},'LWIQD':function(_0x4e191f,_0xe782b8){return _0x4e191f(_0xe782b8);},'yZJct':function(_0x58b3ed,_0x4027c7,_0x4dd464,_0x27e746){return _0x58b3ed(_0x4027c7,_0x4dd464,_0x27e746);},'gYmEN':_0x4de650(0x172),'jFHBa':function(_0x2cb8b0,_0x21dbf4){return _0x2cb8b0-_0x21dbf4;},'uMOLz':function(_0x31da58,_0x2d7b80){return _0x31da58/_0x2d7b80;},'OyLhY':function(_0x282fee,_0x1eb367){return _0x282fee(_0x1eb367);},'EhxhO':_0x4de650(0x220),'RvueS':_0x4de650(0x226),'ZbExp':_0x4de650(0x24a),'ZOVaY':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','tjkiZ':function(_0x59b504,_0x270d35){return _0x59b504===_0x270d35;},'aHaNN':_0x4de650(0x223),'yFyib':_0x4de650(0x20a)};if(_0x20780e[_0x4de650(0x205)](_0x253499,_0x20780e['iOrYi']))return;const _0x35f2ca=0x0,_0x1cb9ae=()=>{const _0x503a41=_0x4de650;return _0x20780e['bjIOK'](Array,_0x35f2ca)[_0x503a41(0x250)]('\x20\x20');},{testSuites:_0x2210d6,platforms:_0x47a7a7,totalTests:_0x450cf6,testsFailed:_0x2b05d8,testsPassed:_0x2e333f,testsPending:_0x524db4}=_0x20780e['YiDVa'](getStats,_0x4f5c61);_0x20780e[_0x4de650(0x1c0)](_0x2b05d8,0x0)&&(logger[_0x4de650(0x15d)](_0x20780e['HQjJn']),process[_0x4de650(0x157)]=Math['min'](_0x2b05d8,0xff));logger[_0x4de650(0x15d)](_0x20780e[_0x4de650(0x17d)]);const _0x4f40c1=''+_0x20780e['cJkrI'](chalk['bold'](_0x20780e[_0x4de650(0x188)]),_0x47a7a7['length']),_0x37242b=''+_0x20780e['cJkrI'](chalk[_0x4de650(0x236)](_0x20780e['hxzqI']),_0x2210d6),_0x316693=''+_0x20780e['zVRfc'](_0x20780e[_0x4de650(0x1d4)](_0x20780e[_0x4de650(0x1d6)](chalk['bold'](_0x20780e[_0x4de650(0x15e)]),_0x20780e['sdIfU'](_0x2b05d8,0x0)?chalk[_0x4de650(0x236)][_0x4de650(0x18b)](_0x2b05d8+_0x4de650(0x1f8))+',\x20':''),_0x20780e[_0x4de650(0x1c0)](_0x524db4,0x0)?chalk[_0x4de650(0x236)]['yellow'](_0x524db4+_0x4de650(0x1ab))+',\x20':''),_0x20780e[_0x4de650(0x185)](_0x2e333f,0x0)?chalk[_0x4de650(0x236)][_0x4de650(0x25d)](_0x2e333f+_0x4de650(0x20c))+',\x20':'')+_0x450cf6+_0x4de650(0x199);console[_0x4de650(0x1b0)](_0x20780e[_0x4de650(0x1aa)](_0x20780e[_0x4de650(0x17f)](_0x20780e['gmoDa'](_0x20780e[_0x4de650(0x1d2)](_0x20780e[_0x4de650(0x18d)](_0x20780e[_0x4de650(0x210)],_0x4f40c1),'\x0a'),_0x37242b),'\x0a'),_0x316693));if(_0x20780e[_0x4de650(0x180)](_0x253499,_0x20780e[_0x4de650(0x21f)])){const _0x4da4b3={},_0x3538e9={};_0x3538e9['testSuites']=_0x2210d6,_0x3538e9[_0x4de650(0x16f)]=_0x47a7a7,_0x3538e9['testsFailed']=_0x2b05d8,_0x3538e9[_0x4de650(0x1ef)]=_0x2e333f,_0x3538e9[_0x4de650(0x227)]=_0x524db4,_0x4da4b3['stats']=_0x3538e9,_0x47a7a7[_0x4de650(0x21b)](_0x25ac87=>{const _0x18a4c8=_0x4de650;_0x4da4b3[_0x25ac87]={'pending':[],'failures':[],'passes':[],'tests':_0x4f5c61[_0x25ac87][_0x20780e['TMiEJ']][_0x18a4c8(0x23f)](clean)},_0x4f5c61[_0x25ac87][_0x20780e[_0x18a4c8(0x1ea)]][_0x18a4c8(0x21b)](_0x211f05=>{const _0x4c0e32=_0x18a4c8;if(_0x20780e[_0x4c0e32(0x1cc)](_0x211f05[_0x4c0e32(0x189)],_0x20780e['lMVmM']))_0x4da4b3[_0x25ac87][_0x20780e['GgVOR']][_0x4c0e32(0x232)](_0x20780e[_0x4c0e32(0x240)](clean,_0x211f05));else _0x20780e[_0x4c0e32(0x201)](_0x211f05[_0x4c0e32(0x189)],_0x20780e['YHXkT'])?_0x4da4b3[_0x25ac87][_0x20780e['dbByN']][_0x4c0e32(0x232)](_0x20780e['uwQxS'](clean,_0x211f05)):_0x4da4b3[_0x25ac87][_0x20780e[_0x4c0e32(0x1f4)]][_0x4c0e32(0x232)](_0x20780e[_0x4c0e32(0x16e)](clean,_0x211f05));});});if(_0x4b9d6e[_0x4de650(0x170)])try{logger[_0x4de650(0x15d)](_0x20780e[_0x4de650(0x177)],_0x4b9d6e[_0x4de650(0x170)]),fs[_0x4de650(0x1d3)](_0x4b9d6e[_0x4de650(0x170)],JSON[_0x4de650(0x1bf)](_0x4da4b3,null,0x3));}catch(_0x3ca9e9){logger['error'](_0x20780e[_0x4de650(0x20b)],_0x4b9d6e[_0x4de650(0x170)]),logger[_0x4de650(0x15d)](_0x3ca9e9);}else logger[_0x4de650(0x15d)](_0x20780e['IhjJr']),console[_0x4de650(0x1b0)](JSON[_0x4de650(0x1bf)](_0x4da4b3,null,0x3));}else{if(_0x20780e[_0x4de650(0x201)](_0x253499,_0x20780e['uSaLf'])){let _0x2bfad0;const _0x231331=_0x20780e['zrlXo'];_0x4b9d6e&&(_0x2bfad0=_0x4b9d6e[_0x4de650(0x231)]);_0x2bfad0=_0x20780e['BElrv'](_0x2bfad0,_0x231331);let _0x50246d=0x0,_0x56cc0b=0x0,_0x4b4ce3=0x0,_0x43ca3d=0x0;_0x47a7a7['forEach'](_0x5a6c1c=>{const _0x2ba39e=_0x4de650,_0x5d1ff4={'jZmXI':function(_0x49fe5b,_0x485567){const _0x49dfb5=a32_0x2490;return _0x20780e[_0x49dfb5(0x224)](_0x49fe5b,_0x485567);},'WgJsO':_0x20780e[_0x2ba39e(0x159)],'LdABU':_0x20780e[_0x2ba39e(0x168)],'AbQgu':function(_0x310bdd,_0x3faa19){const _0x3f014f=_0x2ba39e;return _0x20780e[_0x3f014f(0x233)](_0x310bdd,_0x3faa19);}};_0x4f5c61[_0x5a6c1c][_0x20780e[_0x2ba39e(0x1ea)]][_0x2ba39e(0x21b)](_0x31da0b=>{const _0x3101b1=_0x2ba39e;if(_0x5d1ff4[_0x3101b1(0x181)](_0x31da0b[_0x3101b1(0x189)],_0x5d1ff4['WgJsO']))_0x50246d++;else _0x5d1ff4[_0x3101b1(0x181)](_0x31da0b['state'],_0x5d1ff4[_0x3101b1(0x1a0)])&&_0x56cc0b++;_0x4b4ce3++,_0x43ca3d+=_0x5d1ff4[_0x3101b1(0x258)](_0x31da0b['duration'],0x1);});}),_0x20780e[_0x4de650(0x154)](xunitWrite,_0x20780e[_0x4de650(0x234)](tag,_0x20780e[_0x4de650(0x254)],{'name':_0x2bfad0,'tests':_0x4b4ce3,'failures':0x0,'errors':_0x56cc0b,'skipped':_0x20780e['jFHBa'](_0x20780e[_0x4de650(0x1b8)](_0x4b4ce3,_0x56cc0b),_0x50246d),'timestamp':new Date()[_0x4de650(0x19e)](),'time':_0x20780e['uMOLz'](_0x43ca3d,0x3e8)||0x0},![])),_0x47a7a7[_0x4de650(0x21b)](_0x15b4f7=>{const _0x25d782=_0x4de650,_0x10fbb4={'wLIKb':function(_0x18e072,_0x3d1dde,_0x89e232){const _0x19c705=a32_0x2490;return _0x20780e[_0x19c705(0x248)](_0x18e072,_0x3d1dde,_0x89e232);}};_0x4f5c61[_0x15b4f7][_0x20780e[_0x25d782(0x1ea)]][_0x25d782(0x21b)](_0x416e2b=>{const _0x4d38d4=_0x25d782;_0x10fbb4[_0x4d38d4(0x184)](xunitTest,_0x416e2b,_0x15b4f7);});}),_0x20780e[_0x4de650(0x1e6)](xunitWrite,_0x20780e[_0x4de650(0x213)]);if(_0x4b9d6e[_0x4de650(0x170)])try{logger[_0x4de650(0x15d)](_0x20780e[_0x4de650(0x1ce)],_0x4b9d6e[_0x4de650(0x170)]),fs['writeFileSync'](_0x4b9d6e[_0x4de650(0x170)],xunitContent);}catch(_0x12036f){logger[_0x4de650(0x216)](_0x20780e[_0x4de650(0x1c7)],_0x4b9d6e[_0x4de650(0x170)]),logger[_0x4de650(0x15d)](_0x12036f);}else logger['debug'](_0x20780e[_0x4de650(0x1a6)]),console[_0x4de650(0x1b0)](xunitContent);}else{if(_0x20780e['tjkiZ'](_0x2b05d8,0x0))return;console[_0x4de650(0x1b0)](),logger[_0x4de650(0x15d)](_0x20780e[_0x4de650(0x1fb)]),console['log'](chalk[_0x4de650(0x236)][_0x4de650(0x1f0)](_0x20780e['yFyib'])),_0x47a7a7[_0x4de650(0x21b)](_0x31a974=>{const _0x128670=_0x4de650,_0x36c23e=[];_0x4f5c61[_0x31a974][_0x20780e[_0x128670(0x1ea)]]['forEach'](_0x59caa1=>{const _0x53c9b3=_0x128670;_0x20780e['ePPvx'](_0x59caa1[_0x53c9b3(0x189)],_0x20780e[_0x53c9b3(0x168)])&&(_0x59caa1[_0x53c9b3(0x203)]=()=>_0x59caa1[_0x53c9b3(0x1fd)],_0x36c23e['push'](_0x59caa1));}),_0x20780e[_0x128670(0x1c0)](_0x36c23e[_0x128670(0x21e)],0x0)&&(Base['consoleLog'](),Base['consoleLog'](_0x20780e['PISQI'](_0x1cb9ae),chalk[_0x128670(0x236)][_0x128670(0x186)](_0x31a974)),Base[_0x128670(0x229)](_0x36c23e));});}}}async function run(_0x3b69be,_0x598d3d,_0x2e5f9d){const _0xf206f4=a32_0x3dd1f4,_0x290c37={'guauI':function(_0x11f0ed,_0x3f1b8f,_0x454cbb,_0x87cbd4){return _0x11f0ed(_0x3f1b8f,_0x454cbb,_0x87cbd4);},'XyhKr':'reporter-option','mFQPS':_0xf206f4(0x151),'ccJmL':_0xf206f4(0x1d5),'nmyQW':function(_0x214f34,_0x16af69,_0x1fac0b,_0x32ac97){return _0x214f34(_0x16af69,_0x1fac0b,_0x32ac97);},'toeXo':_0xf206f4(0x164),'bXFbV':function(_0x330b4a,_0xc3a210){return _0x330b4a!=_0xc3a210;},'BRTbv':'cjs','SlaiW':_0xf206f4(0x162),'BWwjj':'test','JtmgQ':_0xf206f4(0x1eb),'OFfmQ':function(_0x458488,_0x3c3b79){return _0x458488(_0x3c3b79);},'IuarS':function(_0x598693,_0xc4f180,_0x485d24){return _0x598693(_0xc4f180,_0x485d24);},'LFtJc':_0xf206f4(0x191),'xOzUJ':function(_0x1eb744,_0x325a3e){return _0x1eb744!=_0x325a3e;},'ykWsT':_0xf206f4(0x1e1),'hDCsu':_0xf206f4(0x1d7),'RrOcO':_0xf206f4(0x153),'HleGF':_0xf206f4(0x194),'XufbG':_0xf206f4(0x1a5),'nlgxr':function(_0xf38000,_0x31edb9){return _0xf38000*_0x31edb9;},'djWXP':function(_0x115a91,_0x37ba59){return _0x115a91(_0x37ba59);},'kAMTW':function(_0x15299d,_0x420775){return _0x15299d!==_0x420775;}};helper[_0xf206f4(0x1cd)](_0x2e5f9d[_0xf206f4(0x1ba)],_0x3b69be),await _0x2e5f9d[_0xf206f4(0x1ed)](_0x3b69be);helper[_0xf206f4(0x24d)]()?await helper[_0xf206f4(0x253)](_0x2e5f9d[_0xf206f4(0x24b)]):await _0x2e5f9d[_0xf206f4(0x1db)]();const _0x5b060d=[];let _0x3dcdf8=[];if(!_0x2e5f9d[_0xf206f4(0x24b)])return;!helper['isUndefined'](_0x2e5f9d[_0xf206f4(0x24b)][_0xf206f4(0x158)])&&(process['env'][_0xf206f4(0x1b5)]=JSON[_0xf206f4(0x1bf)](_0x2e5f9d['config'][_0xf206f4(0x158)]));const _0x3abb46=await TestHubHandler[_0xf206f4(0x17a)](FRAMEWORKS[_0xf206f4(0x187)],_0x2e5f9d);_0x290c37[_0xf206f4(0x204)](_0x2e5f9d['config'][_0xf206f4(0x255)],null)&&(process[_0xf206f4(0x230)][_0xf206f4(0x1f5)]=_0x2e5f9d['config'][_0xf206f4(0x255)]);!helper[_0xf206f4(0x206)](_0x2e5f9d['config'][_0xf206f4(0x1c1)])&&(process['env'][_0xf206f4(0x1d1)]=_0x2e5f9d['config'][_0xf206f4(0x1c1)]);const {extension:extension=['js',_0x290c37[_0xf206f4(0x155)],_0x290c37[_0xf206f4(0x20f)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x290c37['BWwjj']]}=_0x3b69be,_0x40f8ca={..._0x3b69be};_0x40f8ca[_0xf206f4(0x1f6)]=null;const _0x4d9f0c=_0x40f8ca;let _0x4bef3f;if(testOpsHelper[_0xf206f4(0x183)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x4d61a0=process[_0xf206f4(0x230)][_0xf206f4(0x21d)];!helper[_0xf206f4(0x206)](_0x2e5f9d[_0xf206f4(0x1ec)])&&_0x2e5f9d['cliConfig']['has'](_0x290c37[_0xf206f4(0x175)])&&(_0x4d61a0=_0x2e5f9d['cliConfig'][_0xf206f4(0x1a3)](_0x290c37[_0xf206f4(0x175)])),_0x4bef3f=testOpsHelper[_0xf206f4(0x178)](_0x4d61a0);}if(helper[_0xf206f4(0x206)](_0x4bef3f)){const _0x2656af={};_0x2656af['ignore']=ignore,_0x2656af[_0xf206f4(0x212)]=extension,_0x2656af['file']=file,_0x2656af[_0xf206f4(0x1dc)]=recursive,_0x2656af[_0xf206f4(0x1b7)]=sort,_0x2656af[_0xf206f4(0x1c3)]=spec,_0x4bef3f=_0x290c37[_0xf206f4(0x208)](collectFiles,_0x2656af),_0x290c37[_0xf206f4(0x1b4)](nestedKeyValue,_0x4bef3f,[_0x290c37[_0xf206f4(0x19a)]])&&(_0x4bef3f=_0x4bef3f[_0xf206f4(0x191)]);}const _0xdb14fb=helper['parseTestOrchestrationOptions'](_0x2e5f9d[_0xf206f4(0x24b)]);!helper[_0xf206f4(0x166)](_0xdb14fb)&&helper[_0xf206f4(0x1e3)](_0xdb14fb[_0xf206f4(0x21a)])&&(_0x4d9f0c[_0xf206f4(0x1d8)]=_0xdb14fb[_0xf206f4(0x21a)][_0xf206f4(0x193)]);if(!helper['isBrowserstackInfra']()){const _0x3003a6=0x1,_0x1748ea={..._0x4d9f0c};_0x1748ea[_0xf206f4(0x1c3)]=[..._0x4bef3f],_0x5b060d[_0xf206f4(0x232)]({'mochaOpts':_0x1748ea,'configuration':{'platform':os[_0xf206f4(0x1de)]()}});if(_0x2e5f9d[_0xf206f4(0x24b)][_0xf206f4(0x1c1)]){const _0x5c97ea={};_0x5c97ea[_0xf206f4(0x1c1)]=!![];const _0x1339e7=_0x5c97ea;_0x290c37['xOzUJ'](_0x2e5f9d[_0xf206f4(0x24b)][_0xf206f4(0x158)],null)&&(_0x1339e7[_0xf206f4(0x158)]=_0x2e5f9d[_0xf206f4(0x24b)][_0xf206f4(0x158)],delete _0x1339e7[_0xf206f4(0x158)][_0x290c37[_0xf206f4(0x1e2)]],delete _0x1339e7['accessibilityOptions'][_0x290c37[_0xf206f4(0x1cf)]],delete _0x1339e7['accessibilityOptions'][_0x290c37[_0xf206f4(0x256)]]);const _0x579d02={};_0x579d02[_0xf206f4(0x1a9)]=_0x1339e7,_0x5b060d[0x0][_0xf206f4(0x1f9)]['capability']=_0x579d02;}logger[_0xf206f4(0x22c)](_0x290c37[_0xf206f4(0x23d)]),logger[_0xf206f4(0x22c)](_0x290c37[_0xf206f4(0x225)]),_0x290c37[_0xf206f4(0x192)](parallelTestRun,_0x5b060d,_0x3003a6,_0x2e5f9d)[_0xf206f4(0x217)](_0x4768a7=>{const _0x433e5b=_0xf206f4;PerformanceTester['start'](PerformanceEvents[_0x433e5b(0x1b9)]),_0x290c37['guauI'](printStats,_0x4768a7,_0x3b69be[_0x433e5b(0x1c5)],_0x3b69be[_0x433e5b(0x19f)]||_0x3b69be[_0x290c37[_0x433e5b(0x17c)]]);})[_0xf206f4(0x160)](()=>{const _0x432809=_0xf206f4;PerformanceTester[_0x432809(0x1ff)](PerformanceEvents[_0x432809(0x1b9)]);try{const {browserstackFolderPath:_0x5b3b67,tcgConfigPath:_0x3862ce}=helper[_0x432809(0x24f)]();fs[_0x432809(0x257)](_0x3862ce),fs[_0x432809(0x207)](_0x5b3b67);}catch(_0x2dc7d3){logger['debug'](_0x290c37[_0x432809(0x1a4)],_0x2dc7d3);}try{utilities[_0x432809(0x249)](_0x290c37[_0x432809(0x241)],{},_0x2e5f9d[_0x432809(0x24b)],_0x2e5f9d[_0x432809(0x1ba)]);}catch(_0x21291d){logger[_0x432809(0x15d)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x21291d[_0x432809(0x243)]);}try{helper[_0x432809(0x18a)]();}catch(_0x1d33fe){logger['debug']('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x1d33fe);}testOpsHelper[_0x432809(0x200)]();});}else{const _0x22ea9a=helper[_0xf206f4(0x163)](_0x2e5f9d[_0xf206f4(0x24b)]);let _0x1b6c34=helper['getHubUrl'](_0x2e5f9d[_0xf206f4(0x24b)]);_0x3dcdf8=helper[_0xf206f4(0x161)](_0x2e5f9d[_0xf206f4(0x24b)],_0x22ea9a,constants[_0xf206f4(0x197)][_0xf206f4(0x187)]);helper['getCentralUser']()['central_scanner']&&(_0x1b6c34=centralScannerConstants['BROWSERSTACK_GRR_US_HUB_URL']);let _0x2d0016;const _0x5e9af4=_0x2e5f9d[_0xf206f4(0x24b)][_0xf206f4(0x20d)]||helper[_0xf206f4(0x15c)](_0x3b69be,_0x598d3d,_0x2e5f9d[_0xf206f4(0x24b)],constants['FRAMEWORKS'][_0xf206f4(0x187)])||0x1;helper[_0xf206f4(0x1e0)](_0x2e5f9d[_0xf206f4(0x24b)])?_0x2d0016=_0x290c37[_0xf206f4(0x182)](_0x2e5f9d[_0xf206f4(0x24b)][_0xf206f4(0x16f)][_0xf206f4(0x21e)],_0x5e9af4):_0x2d0016=_0x5e9af4;const _0x4ceee1=_0x290c37[_0xf206f4(0x21c)](getPercyOptions,_0x2e5f9d[_0xf206f4(0x24b)]);if(_0x290c37['kAMTW'](_0x2e5f9d[_0xf206f4(0x24b)][_0xf206f4(0x20d)],0x1))_0x4bef3f[_0xf206f4(0x21b)](_0x6daeb5=>{const _0x2f8389=_0xf206f4,_0x3edfee=[];_0x3dcdf8[_0x2f8389(0x21b)]((_0x282534,_0x813e38)=>{const _0x51db5b=_0x2f8389,_0x2de23c={};_0x2de23c['spec']=[_0x6daeb5],_0x3edfee[_0x51db5b(0x232)]({'mochaOpts':Object[_0x51db5b(0x1f1)]({},_0x4d9f0c,_0x2de23c),'configuration':{'server':_0x1b6c34,'capability':_0x282534,'proxySettings':_0x2e5f9d[_0x51db5b(0x24b)]['proxySettings'],'platform':helper['getPlatformName'](_0x282534),'browserStackLogLevel':_0x2e5f9d[_0x51db5b(0x24b)][_0x51db5b(0x18e)],'platformIndex':_0x813e38,'browserStackPercyOptions':_0x4ceee1,'platformCaps':Object[_0x51db5b(0x1f1)]({'index':_0x813e38},_0x2e5f9d['config'][_0x51db5b(0x16f)][_0x813e38])}});}),_0x5b060d[_0x2f8389(0x232)](..._0x3edfee);});else{const _0x29eedb=[];_0x3dcdf8[_0xf206f4(0x21b)]((_0x31803f,_0xacf1c7)=>{const _0x31dc92=_0xf206f4;let _0x216b4d=Object['assign']({},_0x4d9f0c);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x31dc92(0x16a)]()&&(_0x216b4d={..._0x216b4d,'spec':[..._0x4bef3f]}),_0x29eedb['push']({'mochaOpts':_0x216b4d,'configuration':{'server':_0x1b6c34,'capability':_0x31803f,'proxySettings':_0x2e5f9d['config'][_0x31dc92(0x169)],'platform':helper['getPlatformName'](_0x31803f),'browserStackLogLevel':_0x2e5f9d['config'][_0x31dc92(0x18e)],'platformIndex':_0xacf1c7,'browserStackPercyOptions':_0x4ceee1,'platformCaps':Object[_0x31dc92(0x1f1)]({'index':_0xacf1c7},_0x2e5f9d[_0x31dc92(0x24b)][_0x31dc92(0x16f)][_0xacf1c7])}});}),_0x5b060d[_0xf206f4(0x232)](..._0x29eedb);}logger[_0xf206f4(0x22c)](_0xf206f4(0x25a)+_0x2e5f9d[_0xf206f4(0x24b)][_0xf206f4(0x16f)][_0xf206f4(0x21e)]+'\x20platforms'),logger[_0xf206f4(0x22c)](_0x290c37[_0xf206f4(0x225)]);let _0x2951c8;_0x290c37[_0xf206f4(0x192)](parallelTestRun,_0x5b060d,_0x2d0016,_0x2e5f9d)[_0xf206f4(0x217)](_0x1b62a4=>{const _0x280389=_0xf206f4;PerformanceTester[_0x280389(0x1ff)](PerformanceEvents[_0x280389(0x1b9)]),_0x2951c8=_0x1b62a4,_0x290c37['nmyQW'](printStats,_0x1b62a4,_0x3b69be[_0x280389(0x1c5)],_0x3b69be[_0x280389(0x19f)]||_0x3b69be[_0x290c37[_0x280389(0x17c)]]);})[_0xf206f4(0x160)](async()=>{const _0x398e17=_0xf206f4;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x2e5f9d[_0x398e17(0x1e4)]=helper[_0x398e17(0x228)](_0x2951c8,_0x290c37['toeXo']),await utilities[_0x398e17(0x25b)](_0x2e5f9d),testOpsHelper[_0x398e17(0x200)]();});}}module[a32_0x3dd1f4(0x167)]=run;
2
+ 'use strict';const a32_0x5dade7=a32_0x24b4;(function(_0x275045,_0x961169){const _0x373a62=a32_0x24b4,_0x59fa77=_0x275045();while(!![]){try{const _0x4018bc=-parseInt(_0x373a62(0x1ca))/0x1*(parseInt(_0x373a62(0x1c3))/0x2)+parseInt(_0x373a62(0x1f2))/0x3*(-parseInt(_0x373a62(0x25d))/0x4)+parseInt(_0x373a62(0x23d))/0x5+parseInt(_0x373a62(0x2a4))/0x6*(-parseInt(_0x373a62(0x201))/0x7)+parseInt(_0x373a62(0x1b0))/0x8*(parseInt(_0x373a62(0x215))/0x9)+-parseInt(_0x373a62(0x265))/0xa+parseInt(_0x373a62(0x251))/0xb*(parseInt(_0x373a62(0x27b))/0xc);if(_0x4018bc===_0x961169)break;else _0x59fa77['push'](_0x59fa77['shift']());}catch(_0x25832e){_0x59fa77['push'](_0x59fa77['shift']());}}}(a32_0x3167,0x684bd));const chalk=require('chalk'),logger=require(a32_0x5dade7(0x1b3))[a32_0x5dade7(0x1df)],helper=require(a32_0x5dade7(0x280)),utilities=require('../../helpers/utilities'),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a32_0x5dade7(0x2b8)),{requireModule,nestedKeyValue}=require(a32_0x5dade7(0x280)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule('mocha/lib/reporters/base.js',a32_0x5dade7(0x23c)),collectFiles=requireModule(a32_0x5dade7(0x291),a32_0x5dade7(0x23c)),constants=require('../utils/constants'),PerformanceTester=require(a32_0x5dade7(0x1f0)),PerformanceEvents=require(a32_0x5dade7(0x2b6))[a32_0x5dade7(0x220)],centralScannerConstants=require('../../helpers/central-scanner/constants'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),TestHubHandler=require(a32_0x5dade7(0x22d)),ClientTroubleShootingService=require(a32_0x5dade7(0x1ff));function tag(_0x1d2c85,_0x4c93e4,_0xf8b182,_0x5e1536){const _0x57b811=a32_0x5dade7,_0xb2d8dd={'RTDTk':function(_0x45b61c,_0x32b4e8){return _0x45b61c+_0x32b4e8;},'hENCy':function(_0x161824,_0x37795d){return _0x161824(_0x37795d);},'iNldB':function(_0x1b9445,_0x58de41){return _0x1b9445+_0x58de41;},'yAOGi':function(_0x425ddd,_0x122bd9){return _0x425ddd+_0x122bd9;},'dHAVu':function(_0x5c3f18,_0x312167){return _0x5c3f18+_0x312167;},'XTLfP':function(_0x5ad913,_0x4953e5){return _0x5ad913+_0x4953e5;}},_0x51843c=_0xf8b182?'/>':'>',_0x18ecd9=[];let _0x4faa61;for(const _0x1837d9 in _0x4c93e4){Object[_0x57b811(0x260)]['hasOwnProperty'][_0x57b811(0x1b1)](_0x4c93e4,_0x1837d9)&&_0x18ecd9[_0x57b811(0x2a2)](_0xb2d8dd['RTDTk'](_0xb2d8dd[_0x57b811(0x246)](_0xb2d8dd[_0x57b811(0x246)](_0x1837d9,'=\x22'),_0xb2d8dd[_0x57b811(0x20c)](escape,_0x4c93e4[_0x1837d9])),'\x22'));}return _0x4faa61=_0xb2d8dd[_0x57b811(0x1f8)](_0xb2d8dd[_0x57b811(0x28a)](_0xb2d8dd[_0x57b811(0x28a)]('<',_0x1d2c85),_0x18ecd9[_0x57b811(0x297)]?_0xb2d8dd['dHAVu']('\x20',_0x18ecd9[_0x57b811(0x24e)]('\x20')):''),_0x51843c),_0x5e1536&&(_0x4faa61+=_0xb2d8dd[_0x57b811(0x28a)](_0xb2d8dd[_0x57b811(0x20f)](_0xb2d8dd[_0x57b811(0x1d9)](_0x5e1536,'</'),_0x1d2c85),_0x51843c)),_0x4faa61;}let xunitContent='';function xunitWrite(_0x142138){xunitContent+=_0x142138;}function a32_0x24b4(_0x23c4e1,_0x49879d){const _0x3167f7=a32_0x3167();return a32_0x24b4=function(_0x24b453,_0x29da77){_0x24b453=_0x24b453-0x1ae;let _0x548281=_0x3167f7[_0x24b453];return _0x548281;},a32_0x24b4(_0x23c4e1,_0x49879d);}function xunitTest(_0x356fe6,_0x4dc91f){const _0x23d4b5=a32_0x5dade7,_0x1c74d0={'hVMxg':function(_0x3841bf,_0x165209){return _0x3841bf/_0x165209;},'yIDDU':function(_0x108f2e,_0x2afa21){return _0x108f2e===_0x2afa21;},'uvPSE':_0x23d4b5(0x1f6),'iSqQx':function(_0x34c1bb,_0x245853){return _0x34c1bb+_0x245853;},'fZTnr':function(_0x1e43d6,_0xfabe4a){return _0x1e43d6(_0xfabe4a);},'ibnnz':function(_0x5be245,_0x5427ec,_0xea920e,_0x43afeb,_0x47fb5e){return _0x5be245(_0x5427ec,_0xea920e,_0x43afeb,_0x47fb5e);},'jVKtJ':_0x23d4b5(0x1c6),'jgawp':_0x23d4b5(0x2b1),'pffvp':function(_0x2a85d6,_0x5574dc){return _0x2a85d6+_0x5574dc;},'JMQED':function(_0x2111b6,_0x40b2b5){return _0x2111b6+_0x40b2b5;},'VkULy':function(_0x46147b,_0x2bba3a){return _0x46147b(_0x2bba3a);},'CokVn':function(_0x5082e8,_0x5ace2e,_0x5ca023,_0x28645b){return _0x5082e8(_0x5ace2e,_0x5ca023,_0x28645b);},'FXlIX':'skipped'};Base[_0x23d4b5(0x27a)]=![];var _0x3e110a={'classname':_0x356fe6[_0x23d4b5(0x22a)],'name':_0x356fe6['title'],'time':_0x1c74d0['hVMxg'](_0x356fe6[_0x23d4b5(0x24b)],0x3e8)||0x0,'platform':_0x4dc91f};if(_0x1c74d0[_0x23d4b5(0x1ec)](_0x356fe6[_0x23d4b5(0x211)],_0x1c74d0[_0x23d4b5(0x1d4)])){var _0x1fd0a9=_0x356fe6[_0x23d4b5(0x2a6)],_0x341678=!Base['hideDiff']&&Base[_0x23d4b5(0x241)](_0x1fd0a9)?_0x1c74d0[_0x23d4b5(0x23b)]('\x0a',Base['generateDiff'](_0x1fd0a9[_0x23d4b5(0x261)],_0x1fd0a9[_0x23d4b5(0x21a)])):'';_0x1c74d0[_0x23d4b5(0x222)](xunitWrite,_0x1c74d0[_0x23d4b5(0x24d)](tag,_0x1c74d0[_0x23d4b5(0x288)],_0x3e110a,![],_0x1c74d0[_0x23d4b5(0x24d)](tag,_0x1c74d0[_0x23d4b5(0x20d)],{},![],_0x1c74d0[_0x23d4b5(0x23b)](_0x1c74d0['pffvp'](_0x1c74d0[_0x23d4b5(0x29a)](_0x1c74d0['fZTnr'](escape,_0x1fd0a9[_0x23d4b5(0x28e)]),_0x1c74d0[_0x23d4b5(0x235)](escape,_0x341678)),'\x0a'),_0x1c74d0[_0x23d4b5(0x235)](escape,_0x1fd0a9['stack'])))));}else _0x356fe6['isPending']?_0x1c74d0[_0x23d4b5(0x222)](xunitWrite,_0x1c74d0[_0x23d4b5(0x24d)](tag,_0x1c74d0[_0x23d4b5(0x288)],_0x3e110a,![],_0x1c74d0[_0x23d4b5(0x285)](tag,_0x1c74d0[_0x23d4b5(0x26a)],{},!![]))):_0x1c74d0['VkULy'](xunitWrite,_0x1c74d0['CokVn'](tag,_0x1c74d0[_0x23d4b5(0x288)],_0x3e110a,!![]));};function getStats(_0xabc5d4){const _0x25cd1b=a32_0x5dade7,_0x16f43b={};_0x16f43b[_0x25cd1b(0x2b0)]='suite',_0x16f43b[_0x25cd1b(0x293)]=_0x25cd1b(0x1ee),_0x16f43b['teUkV']='failed',_0x16f43b[_0x25cd1b(0x1e4)]=_0x25cd1b(0x275);const _0x4a4408=_0x16f43b,_0x22011f=Object['keys'](_0xabc5d4);let _0x5e017f=0x0,_0x467de3=0x0,_0x39bfa5=0x0,_0x295047=0x0;const _0x3484ff=new Set();_0x22011f['forEach'](_0x4e393d=>{const _0x3e54a4=_0x25cd1b,_0x1b3805={};_0x1b3805[_0x3e54a4(0x29e)]=_0x4a4408[_0x3e54a4(0x2b0)],_0x1b3805[_0x3e54a4(0x205)]=_0x4a4408[_0x3e54a4(0x293)],_0x1b3805[_0x3e54a4(0x1b8)]=_0x4a4408[_0x3e54a4(0x1d0)];const _0x4d61a7=_0x1b3805;_0xabc5d4[_0x4e393d][_0x4a4408[_0x3e54a4(0x1e4)]][_0x3e54a4(0x21c)](_0x2eaa0f=>{const _0x2c6638=_0x3e54a4;_0x3484ff['add'](_0x2eaa0f[_0x4d61a7[_0x2c6638(0x29e)]]),_0x5e017f++;switch(_0x2eaa0f[_0x2c6638(0x211)]){case _0x4d61a7[_0x2c6638(0x205)]:_0x39bfa5++;break;case _0x4d61a7[_0x2c6638(0x1b8)]:_0x467de3++;break;default:_0x295047++;}});});const _0x417650={};return _0x417650[_0x25cd1b(0x1d6)]=_0x3484ff[_0x25cd1b(0x281)],_0x417650[_0x25cd1b(0x262)]=_0x22011f,_0x417650[_0x25cd1b(0x27f)]=_0x5e017f,_0x417650[_0x25cd1b(0x271)]=_0x467de3,_0x417650['testsPassed']=_0x39bfa5,_0x417650['testsPending']=_0x295047,_0x417650;}function errorJSON(_0x4560af){const _0x4ec47b=a32_0x5dade7;var _0x337a39={};return Object['getOwnPropertyNames'](_0x4560af)[_0x4ec47b(0x21c)](function(_0x1125ef){_0x337a39[_0x1125ef]=_0x4560af[_0x1125ef];},_0x4560af),_0x337a39;}function cleanCycles(_0x3def43){const _0x59f939=a32_0x5dade7,_0x35a5dc={};_0x35a5dc[_0x59f939(0x239)]=function(_0x14736a,_0x29d84c){return _0x14736a===_0x29d84c;},_0x35a5dc[_0x59f939(0x2a3)]='object',_0x35a5dc[_0x59f939(0x1f5)]=function(_0x1e2481,_0x7d082b){return _0x1e2481!==_0x7d082b;},_0x35a5dc[_0x59f939(0x248)]=function(_0x296fa1,_0x165568){return _0x296fa1!==_0x165568;},_0x35a5dc[_0x59f939(0x264)]=function(_0x96b89e,_0xb6d4b1){return _0x96b89e+_0xb6d4b1;};const _0xa8cdc6=_0x35a5dc;var _0x46094e=[];return JSON[_0x59f939(0x290)](JSON[_0x59f939(0x2a5)](_0x3def43,function(_0x19986e,_0x3f44c1){const _0x3975b8=_0x59f939;if(_0xa8cdc6['JwQHl'](typeof _0x3f44c1,_0xa8cdc6[_0x3975b8(0x2a3)])&&_0xa8cdc6[_0x3975b8(0x1f5)](_0x3f44c1,null)){if(_0xa8cdc6[_0x3975b8(0x248)](_0x46094e['indexOf'](_0x3f44c1),-0x1))return _0xa8cdc6[_0x3975b8(0x264)]('',_0x3f44c1);_0x46094e[_0x3975b8(0x2a2)](_0x3f44c1);}return _0x3f44c1;}));}function clean(_0x11b4e3){const _0xdd4bbc=a32_0x5dade7,_0x4d963f={'qwsaT':function(_0x31c55c,_0xeca328){return _0x31c55c instanceof _0xeca328;},'xTyIm':function(_0x6119e0,_0x591a20){return _0x6119e0(_0x591a20);},'bQQRD':function(_0x4f7efa,_0xeb7200){return _0x4f7efa(_0xeb7200);}};var _0x48c14a=_0x11b4e3['err']||{};return _0x4d963f['qwsaT'](_0x48c14a,Error)&&(_0x48c14a=_0x4d963f[_0xdd4bbc(0x1af)](errorJSON,_0x48c14a)),{'title':_0x11b4e3[_0xdd4bbc(0x1fb)],'fullTitle':_0x11b4e3[_0xdd4bbc(0x22a)],'file':_0x11b4e3['file'],'duration':_0x11b4e3[_0xdd4bbc(0x24b)],'currentRetry':_0x11b4e3[_0xdd4bbc(0x213)],'speed':_0x11b4e3['speed'],'err':_0x4d963f[_0xdd4bbc(0x22b)](cleanCycles,_0x48c14a)};}function printStats(_0x27bca1,_0x3666cc='spec',_0x47431a={}){const _0x520830=a32_0x5dade7,_0xbca18a={'FuvgD':function(_0x231d75,_0x4dc10a){return _0x231d75(_0x4dc10a);},'HWfJC':function(_0x56e0e6,_0x55399c){return _0x56e0e6===_0x55399c;},'yMqZW':_0x520830(0x1ee),'fMTxj':_0x520830(0x1c8),'oLRCC':_0x520830(0x1f6),'RxRrv':_0x520830(0x1bf),'yfqdm':function(_0x2c9391,_0xeff5d6){return _0x2c9391(_0xeff5d6);},'JANOT':'pending','VSCKr':function(_0x5cb796,_0x1b4004){return _0x5cb796(_0x1b4004);},'rTUFg':_0x520830(0x275),'VNyIG':function(_0x3f13e3,_0x17dd22){return _0x3f13e3===_0x17dd22;},'NvRdM':function(_0x5f2dc9,_0x70e0ed){return _0x5f2dc9===_0x70e0ed;},'Axhzb':function(_0x1935d3,_0x18ae87){return _0x1935d3*_0x18ae87;},'waflO':function(_0x4df6c4,_0xa2509f,_0x42d1ff){return _0x4df6c4(_0xa2509f,_0x42d1ff);},'GAsmP':function(_0x3c1f80,_0x30f6db){return _0x3c1f80===_0x30f6db;},'PVogA':function(_0x248e31,_0x4fb06b){return _0x248e31>_0x4fb06b;},'xIQPT':function(_0x2f9c1d){return _0x2f9c1d();},'HRcEB':_0x520830(0x206),'PCAHC':function(_0x10dcb6,_0x4e73ef){return _0x10dcb6(_0x4e73ef);},'OvrGg':_0x520830(0x1cb),'cuxiH':_0x520830(0x1f7),'yXmbg':function(_0x11f614,_0x56cf8d){return _0x11f614+_0x56cf8d;},'PyPwA':_0x520830(0x245),'nFgGh':function(_0x1f54a0,_0x25870f){return _0x1f54a0+_0x25870f;},'ATUWG':_0x520830(0x29f),'efLBl':function(_0x7ecc31,_0x21212d){return _0x7ecc31+_0x21212d;},'UYGoH':function(_0x55a2e6,_0x28a8f4){return _0x55a2e6+_0x28a8f4;},'GprwJ':'Tests:\x20\x20\x20\x20\x20\x20\x20','AZxKW':function(_0x5d699f,_0x4cc8f4){return _0x5d699f>_0x4cc8f4;},'ZAjjS':function(_0x13e08c,_0x5bd91e){return _0x13e08c+_0x5bd91e;},'TRrEF':function(_0x2a6587,_0x4f22ca){return _0x2a6587+_0x4f22ca;},'voPnJ':function(_0x251c52,_0x4ca8af){return _0x251c52+_0x4ca8af;},'FeSJh':_0x520830(0x210),'iQAcx':_0x520830(0x1b2),'acDQh':'Writing\x20json\x20result\x20to\x20file','lKiKr':_0x520830(0x1bb),'toCXJ':_0x520830(0x1fc),'aQjLe':function(_0x379ea0,_0x1ab7d0){return _0x379ea0===_0x1ab7d0;},'kArdO':'xunit','fWicf':'Mocha\x20Tests','LlePE':function(_0x25e511,_0x58d68c){return _0x25e511||_0x58d68c;},'nrUyK':function(_0x39c482,_0x394fc7,_0x207870,_0x5a1796){return _0x39c482(_0x394fc7,_0x207870,_0x5a1796);},'xmWnk':_0x520830(0x22e),'NGIkM':function(_0x54a739,_0xb8bc2e){return _0x54a739-_0xb8bc2e;},'Yjcfc':function(_0x4b06e5,_0x58e4f9){return _0x4b06e5-_0x58e4f9;},'IqDtd':function(_0x48e3c0,_0x332bd8){return _0x48e3c0/_0x332bd8;},'StByO':function(_0x4695bd,_0x4603ba){return _0x4695bd(_0x4603ba);},'ARfbn':_0x520830(0x1e0),'MOyho':'Writing\x20xunit\x20result\x20to\x20file','rktcq':'Couldn\x27t\x20write\x20xunit\x20result\x20to','mkITY':_0x520830(0x27d),'VEpEZ':function(_0x24b752,_0x41c466){return _0x24b752===_0x41c466;},'ePvRw':_0x520830(0x29c),'PLPHc':'****\x20FAILURES\x20****'};if(_0xbca18a[_0x520830(0x1cf)](_0x3666cc,_0xbca18a[_0x520830(0x28c)]))return;const _0xb09abe=0x0,_0x3e2a7f=()=>{const _0x211c85=_0x520830;return _0xbca18a['FuvgD'](Array,_0xb09abe)[_0x211c85(0x24e)]('\x20\x20');},{testSuites:_0x4c050e,platforms:_0x43c8dc,totalTests:_0x1b21ab,testsFailed:_0x31de77,testsPassed:_0x551524,testsPending:_0x5da9b1}=_0xbca18a[_0x520830(0x1ed)](getStats,_0x27bca1);_0xbca18a['PVogA'](_0x31de77,0x0)&&(logger[_0x520830(0x23f)](_0xbca18a[_0x520830(0x1db)]),process[_0x520830(0x25c)]=Math['min'](_0x31de77,0xff));logger[_0x520830(0x23f)](_0xbca18a[_0x520830(0x1e5)]);const _0x562d51=''+_0xbca18a[_0x520830(0x1e6)](chalk['bold'](_0xbca18a[_0x520830(0x1ef)]),_0x43c8dc[_0x520830(0x297)]),_0x48028b=''+_0xbca18a['nFgGh'](chalk[_0x520830(0x1f1)](_0xbca18a[_0x520830(0x1bd)]),_0x4c050e),_0x95b46a=''+_0xbca18a[_0x520830(0x278)](_0xbca18a[_0x520830(0x278)](_0xbca18a[_0x520830(0x276)](chalk[_0x520830(0x1f1)](_0xbca18a[_0x520830(0x263)]),_0xbca18a['PVogA'](_0x31de77,0x0)?chalk[_0x520830(0x1f1)][_0x520830(0x2b4)](_0x31de77+_0x520830(0x286))+',\x20':''),_0xbca18a[_0x520830(0x1e1)](_0x5da9b1,0x0)?chalk[_0x520830(0x1f1)]['yellow'](_0x5da9b1+_0x520830(0x283))+',\x20':''),_0xbca18a[_0x520830(0x1b6)](_0x551524,0x0)?chalk[_0x520830(0x1f1)][_0x520830(0x277)](_0x551524+_0x520830(0x203))+',\x20':'')+_0x1b21ab+'\x20total';console[_0x520830(0x1b7)](_0xbca18a['ZAjjS'](_0xbca18a[_0x520830(0x244)](_0xbca18a[_0x520830(0x244)](_0xbca18a['efLBl'](_0xbca18a[_0x520830(0x234)](_0xbca18a[_0x520830(0x25b)],_0x562d51),'\x0a'),_0x48028b),'\x0a'),_0x95b46a));if(_0xbca18a[_0x520830(0x1cf)](_0x3666cc,_0xbca18a[_0x520830(0x231)])){const _0x46b5e8={},_0x19277d={};_0x19277d[_0x520830(0x1d6)]=_0x4c050e,_0x19277d[_0x520830(0x262)]=_0x43c8dc,_0x19277d[_0x520830(0x271)]=_0x31de77,_0x19277d[_0x520830(0x27e)]=_0x551524,_0x19277d[_0x520830(0x1dc)]=_0x5da9b1,_0x46b5e8[_0x520830(0x1c2)]=_0x19277d,_0x43c8dc['forEach'](_0xecece8=>{const _0xeaf246=_0x520830;_0x46b5e8[_0xecece8]={'pending':[],'failures':[],'passes':[],'tests':_0x27bca1[_0xecece8][_0xbca18a[_0xeaf246(0x247)]][_0xeaf246(0x299)](clean)},_0x27bca1[_0xecece8][_0xbca18a[_0xeaf246(0x247)]][_0xeaf246(0x21c)](_0x4ea6de=>{const _0xdc2fef=_0xeaf246;if(_0xbca18a[_0xdc2fef(0x230)](_0x4ea6de[_0xdc2fef(0x211)],_0xbca18a[_0xdc2fef(0x23e)]))_0x46b5e8[_0xecece8][_0xbca18a[_0xdc2fef(0x254)]][_0xdc2fef(0x2a2)](_0xbca18a[_0xdc2fef(0x226)](clean,_0x4ea6de));else _0xbca18a[_0xdc2fef(0x230)](_0x4ea6de[_0xdc2fef(0x211)],_0xbca18a[_0xdc2fef(0x27c)])?_0x46b5e8[_0xecece8][_0xbca18a['RxRrv']][_0xdc2fef(0x2a2)](_0xbca18a[_0xdc2fef(0x1cd)](clean,_0x4ea6de)):_0x46b5e8[_0xecece8][_0xbca18a[_0xdc2fef(0x214)]][_0xdc2fef(0x2a2)](_0xbca18a['VSCKr'](clean,_0x4ea6de));});});if(_0x47431a['output'])try{logger['debug'](_0xbca18a[_0x520830(0x22f)],_0x47431a[_0x520830(0x259)]),fs[_0x520830(0x217)](_0x47431a[_0x520830(0x259)],JSON[_0x520830(0x2a5)](_0x46b5e8,null,0x3));}catch(_0xdb2aca){logger[_0x520830(0x238)](_0xbca18a[_0x520830(0x282)],_0x47431a[_0x520830(0x259)]),logger[_0x520830(0x23f)](_0xdb2aca);}else logger[_0x520830(0x23f)](_0xbca18a[_0x520830(0x1b9)]),console[_0x520830(0x1b7)](JSON['stringify'](_0x46b5e8,null,0x3));}else{if(_0xbca18a[_0x520830(0x2b2)](_0x3666cc,_0xbca18a['kArdO'])){let _0x53e034;const _0x7cda39=_0xbca18a[_0x520830(0x266)];_0x47431a&&(_0x53e034=_0x47431a['suiteName']);_0x53e034=_0xbca18a[_0x520830(0x295)](_0x53e034,_0x7cda39);let _0x25cd5a=0x0,_0x10a9e7=0x0,_0x7b2132=0x0,_0x532738=0x0;_0x43c8dc[_0x520830(0x21c)](_0x1cd00f=>{const _0x48199d=_0x520830,_0x49c642={'indOT':function(_0x2a7c83,_0x32fbde){const _0x142019=a32_0x24b4;return _0xbca18a[_0x142019(0x1cf)](_0x2a7c83,_0x32fbde);},'SpIEE':_0xbca18a['yMqZW'],'hSJqp':function(_0x193359,_0x3f4db0){return _0xbca18a['NvRdM'](_0x193359,_0x3f4db0);},'eAOAu':_0xbca18a[_0x48199d(0x27c)],'kfHQs':function(_0x4577bd,_0x4b5cde){const _0x2e0e08=_0x48199d;return _0xbca18a[_0x2e0e08(0x1c5)](_0x4577bd,_0x4b5cde);}};_0x27bca1[_0x1cd00f][_0xbca18a[_0x48199d(0x247)]][_0x48199d(0x21c)](_0x596d5e=>{const _0x352240=_0x48199d;if(_0x49c642[_0x352240(0x2ae)](_0x596d5e[_0x352240(0x211)],_0x49c642[_0x352240(0x296)]))_0x25cd5a++;else _0x49c642['hSJqp'](_0x596d5e[_0x352240(0x211)],_0x49c642[_0x352240(0x1be)])&&_0x10a9e7++;_0x7b2132++,_0x532738+=_0x49c642[_0x352240(0x279)](_0x596d5e[_0x352240(0x24b)],0x1);});}),_0xbca18a[_0x520830(0x292)](xunitWrite,_0xbca18a[_0x520830(0x224)](tag,_0xbca18a[_0x520830(0x2b5)],{'name':_0x53e034,'tests':_0x7b2132,'failures':0x0,'errors':_0x10a9e7,'skipped':_0xbca18a[_0x520830(0x223)](_0xbca18a['Yjcfc'](_0x7b2132,_0x10a9e7),_0x25cd5a),'timestamp':new Date()[_0x520830(0x22c)](),'time':_0xbca18a[_0x520830(0x270)](_0x532738,0x3e8)||0x0},![])),_0x43c8dc[_0x520830(0x21c)](_0x235e7b=>{const _0x33eb73=_0x520830,_0x773258={'fwSWF':function(_0x106760,_0x1d8525,_0x3e3725){return _0xbca18a['waflO'](_0x106760,_0x1d8525,_0x3e3725);}};_0x27bca1[_0x235e7b][_0xbca18a[_0x33eb73(0x247)]][_0x33eb73(0x21c)](_0x2c93d8=>{const _0xf6f784=_0x33eb73;_0x773258[_0xf6f784(0x26b)](xunitTest,_0x2c93d8,_0x235e7b);});}),_0xbca18a[_0x520830(0x21d)](xunitWrite,_0xbca18a[_0x520830(0x233)]);if(_0x47431a[_0x520830(0x259)])try{logger[_0x520830(0x23f)](_0xbca18a[_0x520830(0x273)],_0x47431a[_0x520830(0x259)]),fs[_0x520830(0x217)](_0x47431a[_0x520830(0x259)],xunitContent);}catch(_0x2d54df){logger['error'](_0xbca18a['rktcq'],_0x47431a[_0x520830(0x259)]),logger[_0x520830(0x23f)](_0x2d54df);}else logger[_0x520830(0x23f)](_0xbca18a['mkITY']),console[_0x520830(0x1b7)](xunitContent);}else{if(_0xbca18a[_0x520830(0x268)](_0x31de77,0x0))return;console[_0x520830(0x1b7)](),logger['debug'](_0xbca18a[_0x520830(0x250)]),console[_0x520830(0x1b7)](chalk[_0x520830(0x1f1)][_0x520830(0x28d)](_0xbca18a[_0x520830(0x240)])),_0x43c8dc[_0x520830(0x21c)](_0x3fd706=>{const _0xa25738=_0x520830,_0x4adfff={'IwdzE':function(_0x1392f9,_0x1e1708){const _0x2d6b12=a32_0x24b4;return _0xbca18a[_0x2d6b12(0x208)](_0x1392f9,_0x1e1708);},'xtqhr':_0xbca18a[_0xa25738(0x27c)]},_0x284de5=[];_0x27bca1[_0x3fd706][_0xbca18a[_0xa25738(0x247)]]['forEach'](_0x1765fd=>{const _0x919646=_0xa25738;_0x4adfff['IwdzE'](_0x1765fd[_0x919646(0x211)],_0x4adfff[_0x919646(0x225)])&&(_0x1765fd[_0x919646(0x2ac)]=()=>_0x1765fd[_0x919646(0x20e)],_0x284de5[_0x919646(0x2a2)](_0x1765fd));}),_0xbca18a[_0xa25738(0x1e1)](_0x284de5[_0xa25738(0x297)],0x0)&&(Base[_0xa25738(0x29b)](),Base['consoleLog'](_0xbca18a[_0xa25738(0x228)](_0x3e2a7f),chalk[_0xa25738(0x1f1)][_0xa25738(0x24a)](_0x3fd706)),Base[_0xa25738(0x298)](_0x284de5));});}}}async function run(_0x16f3e5,_0xa1ce09,_0x15694a){const _0x3af6db=a32_0x5dade7,_0x2b0797={'dTDAE':function(_0x4ca7e5,_0x2dcde8,_0x184850,_0x479a40){return _0x4ca7e5(_0x2dcde8,_0x184850,_0x479a40);},'zpEUr':_0x3af6db(0x1b5),'oHqVb':_0x3af6db(0x1fa),'LhZsV':_0x3af6db(0x29d),'NbfSJ':function(_0xe3e39e,_0xb2b8a1,_0x4f40b5,_0x4becc8){return _0xe3e39e(_0xb2b8a1,_0x4f40b5,_0x4becc8);},'wMKhH':_0x3af6db(0x23c),'VpGrJ':function(_0x1f17ad,_0x186a58){return _0x1f17ad!=_0x186a58;},'ycqTV':_0x3af6db(0x1e8),'JxmIn':_0x3af6db(0x1f3),'ZuEUa':_0x3af6db(0x287),'rXRuT':_0x3af6db(0x28b),'TmJRi':function(_0x3aa97f,_0x22860e){return _0x3aa97f(_0x22860e);},'VtxjV':function(_0x5b90e1,_0x3758d9,_0x35f11d){return _0x5b90e1(_0x3758d9,_0x35f11d);},'LXOgV':'files','mEJDp':function(_0x56c7aa,_0x27f6bf){return _0x56c7aa!=_0x27f6bf;},'EjIBY':_0x3af6db(0x26e),'rSFNy':_0x3af6db(0x2a0),'ewJkZ':_0x3af6db(0x1e3),'fgAdY':'Running\x20your\x20mocha\x20tests','pPatw':_0x3af6db(0x269),'ptmXq':function(_0x2feadb,_0x7a9ef0,_0x523925,_0x3a147a){return _0x2feadb(_0x7a9ef0,_0x523925,_0x3a147a);},'qKGql':function(_0x5c9508,_0x5c5b88){return _0x5c9508*_0x5c5b88;},'XkGnW':function(_0x5c7029,_0x54716f){return _0x5c7029(_0x54716f);},'XYulZ':function(_0x406844,_0x2a382c){return _0x406844!==_0x2a382c;}};helper[_0x3af6db(0x1ce)](_0x15694a[_0x3af6db(0x1da)],_0x16f3e5),await _0x15694a['initialize'](_0x16f3e5);helper[_0x3af6db(0x255)]()?await helper[_0x3af6db(0x2b7)](_0x15694a[_0x3af6db(0x253)]):await _0x15694a[_0x3af6db(0x1cc)]();const _0x2d1abe=[];let _0x34ff25=[];if(!_0x15694a[_0x3af6db(0x253)])return;!helper[_0x3af6db(0x26c)](_0x15694a[_0x3af6db(0x253)]['accessibilityOptions'])&&(process[_0x3af6db(0x1bc)][_0x3af6db(0x237)]=JSON['stringify'](_0x15694a[_0x3af6db(0x253)][_0x3af6db(0x20b)]));const _0x3a087c=await TestHubHandler[_0x3af6db(0x21f)](FRAMEWORKS['MOCHA'],_0x15694a);_0x2b0797['VpGrJ'](_0x15694a[_0x3af6db(0x253)][_0x3af6db(0x1de)],null)&&(process[_0x3af6db(0x1bc)][_0x3af6db(0x2a1)]=_0x15694a[_0x3af6db(0x253)][_0x3af6db(0x1de)]);!helper[_0x3af6db(0x26c)](_0x15694a['config'][_0x3af6db(0x25a)])&&(process['env'][_0x3af6db(0x2a8)]=_0x15694a[_0x3af6db(0x253)][_0x3af6db(0x25a)]);const {extension:extension=['js',_0x2b0797['ycqTV'],_0x2b0797[_0x3af6db(0x2b3)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x2b0797['ZuEUa']]}=_0x16f3e5,_0x24f0f1={..._0x16f3e5};_0x24f0f1[_0x3af6db(0x257)]=null;const _0x58a776=_0x24f0f1;let _0x7c2048;if(testOpsHelper[_0x3af6db(0x1b4)]()&&testOpsHelper[_0x3af6db(0x1e7)]()){let _0x5753b4=process[_0x3af6db(0x1bc)][_0x3af6db(0x256)];!helper[_0x3af6db(0x26c)](_0x15694a['cliConfig'])&&_0x15694a[_0x3af6db(0x2a9)][_0x3af6db(0x1d7)](_0x2b0797[_0x3af6db(0x267)])&&(_0x5753b4=_0x15694a[_0x3af6db(0x2a9)]['get'](_0x2b0797['rXRuT'])),_0x7c2048=testOpsHelper[_0x3af6db(0x289)](_0x5753b4);}if(helper[_0x3af6db(0x26c)](_0x7c2048)){const _0x12b3a8={};_0x12b3a8[_0x3af6db(0x2af)]=ignore,_0x12b3a8['extension']=extension,_0x12b3a8[_0x3af6db(0x26d)]=file,_0x12b3a8[_0x3af6db(0x1d1)]=recursive,_0x12b3a8[_0x3af6db(0x209)]=sort,_0x12b3a8[_0x3af6db(0x1f9)]=spec,_0x7c2048=_0x2b0797[_0x3af6db(0x1e9)](collectFiles,_0x12b3a8),_0x2b0797[_0x3af6db(0x24f)](nestedKeyValue,_0x7c2048,[_0x2b0797[_0x3af6db(0x2b9)]])&&(_0x7c2048=_0x7c2048[_0x3af6db(0x1c7)]);}const _0x86a0dc=helper[_0x3af6db(0x24c)](_0x15694a[_0x3af6db(0x253)]);!helper[_0x3af6db(0x23a)](_0x86a0dc)&&helper[_0x3af6db(0x26f)](_0x86a0dc['retryTestsOnFailure'])&&(_0x58a776[_0x3af6db(0x243)]=_0x86a0dc[_0x3af6db(0x1e2)]['maxRetries']);if(!helper[_0x3af6db(0x255)]()){const _0x3be4ef=0x1,_0x5f34ea={..._0x58a776};_0x5f34ea[_0x3af6db(0x1f9)]=[..._0x7c2048],_0x2d1abe['push']({'mochaOpts':_0x5f34ea,'configuration':{'platform':os[_0x3af6db(0x284)]()}});if(_0x15694a['config'][_0x3af6db(0x25a)]){const _0x5c2c84={};_0x5c2c84[_0x3af6db(0x25a)]=!![];const _0x46f5b6=_0x5c2c84;_0x2b0797[_0x3af6db(0x221)](_0x15694a[_0x3af6db(0x253)][_0x3af6db(0x20b)],null)&&(_0x46f5b6['accessibilityOptions']=_0x15694a[_0x3af6db(0x253)][_0x3af6db(0x20b)],delete _0x46f5b6[_0x3af6db(0x20b)][_0x2b0797['EjIBY']],delete _0x46f5b6[_0x3af6db(0x20b)][_0x2b0797[_0x3af6db(0x202)]],delete _0x46f5b6[_0x3af6db(0x20b)][_0x2b0797[_0x3af6db(0x216)]]);const _0x67a79c={};_0x67a79c[_0x3af6db(0x200)]=_0x46f5b6,_0x2d1abe[0x0][_0x3af6db(0x219)][_0x3af6db(0x252)]=_0x67a79c;}logger[_0x3af6db(0x258)](_0x2b0797[_0x3af6db(0x1c4)]),logger['info'](_0x2b0797[_0x3af6db(0x1c9)]),_0x2b0797['ptmXq'](parallelTestRun,_0x2d1abe,_0x3be4ef,_0x15694a)[_0x3af6db(0x2ad)](_0x5595e0=>{const _0x393b08=_0x3af6db;PerformanceTester[_0x393b08(0x25e)](PerformanceEvents['SDK_CLEANUP']),_0x2b0797[_0x393b08(0x25f)](printStats,_0x5595e0,_0x16f3e5['reporter'],_0x16f3e5[_0x393b08(0x232)]||_0x16f3e5[_0x2b0797[_0x393b08(0x2aa)]]);})[_0x3af6db(0x1c0)](()=>{const _0x3b4d60=_0x3af6db;PerformanceTester['start'](PerformanceEvents[_0x3b4d60(0x1d2)]);try{const {browserstackFolderPath:_0x52f663,tcgConfigPath:_0x49c6e2}=helper[_0x3b4d60(0x1c1)]();fs[_0x3b4d60(0x236)](_0x49c6e2),fs[_0x3b4d60(0x274)](_0x52f663);}catch(_0x2c38e0){logger[_0x3b4d60(0x23f)](_0x2b0797['oHqVb'],_0x2c38e0);}try{utilities[_0x3b4d60(0x2a7)](_0x2b0797['LhZsV'],{},_0x15694a[_0x3b4d60(0x253)],_0x15694a[_0x3b4d60(0x1da)]);}catch(_0xbc12fe){logger[_0x3b4d60(0x23f)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0xbc12fe[_0x3b4d60(0x28f)]);}try{helper[_0x3b4d60(0x218)]();}catch(_0x5633df){logger[_0x3b4d60(0x23f)](_0x3b4d60(0x2ab)+_0x5633df);}testOpsHelper[_0x3b4d60(0x242)]();});}else{const _0x10e447=helper['useW3C'](_0x15694a[_0x3af6db(0x253)]);let _0x5e7bd5=helper[_0x3af6db(0x212)](_0x15694a[_0x3af6db(0x253)]);_0x34ff25=helper[_0x3af6db(0x272)](_0x15694a['config'],_0x10e447,constants[_0x3af6db(0x1fe)][_0x3af6db(0x1fd)]);helper['getCentralUser']()[_0x3af6db(0x1d3)]&&(_0x5e7bd5=centralScannerConstants[_0x3af6db(0x1ba)]);let _0x1aa2dd;const _0x4a80d2=_0x15694a[_0x3af6db(0x253)][_0x3af6db(0x21e)]||helper[_0x3af6db(0x204)](_0x16f3e5,_0xa1ce09,_0x15694a[_0x3af6db(0x253)],constants[_0x3af6db(0x1fe)][_0x3af6db(0x1fd)])||0x1;helper['validPlatformsPresent'](_0x15694a['config'])?_0x1aa2dd=_0x2b0797[_0x3af6db(0x1dd)](_0x15694a[_0x3af6db(0x253)]['platforms'][_0x3af6db(0x297)],_0x4a80d2):_0x1aa2dd=_0x4a80d2;const _0x365f49=_0x2b0797[_0x3af6db(0x249)](getPercyOptions,_0x15694a[_0x3af6db(0x253)]);if(_0x2b0797[_0x3af6db(0x1ae)](_0x15694a['config'][_0x3af6db(0x21e)],0x1))_0x7c2048[_0x3af6db(0x21c)](_0x3f0db2=>{const _0x3a1265=_0x3af6db,_0x40d43f=[];_0x34ff25['forEach']((_0x1e9d89,_0x43ff0c)=>{const _0x2b3abc=a32_0x24b4,_0x1329dd={};_0x1329dd[_0x2b3abc(0x1f9)]=[_0x3f0db2],_0x40d43f[_0x2b3abc(0x2a2)]({'mochaOpts':Object[_0x2b3abc(0x20a)]({},_0x58a776,_0x1329dd),'configuration':{'server':_0x5e7bd5,'capability':_0x1e9d89,'proxySettings':_0x15694a[_0x2b3abc(0x253)][_0x2b3abc(0x21b)],'platform':helper[_0x2b3abc(0x1f4)](_0x1e9d89),'browserStackLogLevel':_0x15694a['config'][_0x2b3abc(0x1ea)],'platformIndex':_0x43ff0c,'browserStackPercyOptions':_0x365f49,'platformCaps':Object[_0x2b3abc(0x20a)]({'index':_0x43ff0c},_0x15694a['config']['platforms'][_0x43ff0c])}});}),_0x2d1abe[_0x3a1265(0x2a2)](..._0x40d43f);});else{const _0x45d7ea=[];_0x34ff25[_0x3af6db(0x21c)]((_0xef526c,_0x540a31)=>{const _0x114639=_0x3af6db;let _0x1ae0de=Object[_0x114639(0x20a)]({},_0x58a776);testOpsHelper[_0x114639(0x1b4)]()&&testOpsHelper[_0x114639(0x1e7)]()&&(_0x1ae0de={..._0x1ae0de,'spec':[..._0x7c2048]}),_0x45d7ea[_0x114639(0x2a2)]({'mochaOpts':_0x1ae0de,'configuration':{'server':_0x5e7bd5,'capability':_0xef526c,'proxySettings':_0x15694a[_0x114639(0x253)]['proxySettings'],'platform':helper[_0x114639(0x1f4)](_0xef526c),'browserStackLogLevel':_0x15694a[_0x114639(0x253)][_0x114639(0x1ea)],'platformIndex':_0x540a31,'browserStackPercyOptions':_0x365f49,'platformCaps':Object[_0x114639(0x20a)]({'index':_0x540a31},_0x15694a[_0x114639(0x253)]['platforms'][_0x540a31])}});}),_0x2d1abe[_0x3af6db(0x2a2)](..._0x45d7ea);}logger[_0x3af6db(0x258)](_0x3af6db(0x207)+_0x15694a[_0x3af6db(0x253)][_0x3af6db(0x262)][_0x3af6db(0x297)]+_0x3af6db(0x227)),logger[_0x3af6db(0x258)](_0x2b0797['pPatw']);let _0x16242a;_0x2b0797[_0x3af6db(0x294)](parallelTestRun,_0x2d1abe,_0x1aa2dd,_0x15694a)[_0x3af6db(0x2ad)](_0x1bed59=>{const _0x57067c=_0x3af6db;PerformanceTester[_0x57067c(0x25e)](PerformanceEvents[_0x57067c(0x1d2)]),_0x16242a=_0x1bed59,_0x2b0797[_0x57067c(0x294)](printStats,_0x1bed59,_0x16f3e5['reporter'],_0x16f3e5[_0x57067c(0x232)]||_0x16f3e5[_0x2b0797['zpEUr']]);})[_0x3af6db(0x1c0)](async()=>{const _0x38e6ff=_0x3af6db;PerformanceTester[_0x38e6ff(0x25e)](PerformanceEvents[_0x38e6ff(0x1d2)]),_0x15694a[_0x38e6ff(0x229)]=helper[_0x38e6ff(0x1eb)](_0x16242a,_0x2b0797[_0x38e6ff(0x1d8)]),await utilities['finalExecution'](_0x15694a),testOpsHelper[_0x38e6ff(0x242)]();});}}module[a32_0x5dade7(0x1d5)]=run;function a32_0x3167(){const _0x12322b=['TRrEF','Total\x20Platforms:\x20','RTDTk','rTUFg','vykQq','XkGnW','bgBlueBright','duration','parseTestOrchestrationOptions','ibnnz','join','VtxjV','ePvRw','11yUnJJf','capability','config','fMTxj','isBrowserstackInfra','BROWSERSTACK_RERUN_TESTS','rootHooks','info','output','accessibility','FeSJh','exitCode','4PVqOYP','start','dTDAE','prototype','actual','platforms','GprwJ','JpoSu','1231100sYsNDl','fWicf','rXRuT','VEpEZ','Now,\x20showing\x20logs\x20from\x20mocha','FXlIX','fwSWF','isUndefined','file','includeTagsInTestingScope','isNotUndefined','IqDtd','testsFailed','prepareCapabilities','MOyho','rmdirSync','results','UYGoH','green','efLBl','kfHQs','useColors','10950336SKxIUN','oLRCC','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','testsPassed','totalTests','../../helpers/helper','size','lKiKr','\x20skipped','platform','CokVn','\x20failed','test','jVKtJ','parseFileNames','yAOGi','rerunTests','HRcEB','bgRedBright','message','stack','parse','mocha/lib/cli/collect-files.js','VSCKr','gNsdL','NbfSJ','LlePE','SpIEE','length','list','map','JMQED','consoleLog','Listing\x20all\x20the\x20failures','SDKTestSuccessful','djhXm','Total\x20Suites:\x20','excludeTagsInTestingScope','BROWSERSTACK_TEST_OBSERVABILITY_YML','push','oszFp','6nbHTLH','stringify','err','fireFunnelTestEvent','BROWSERSTACK_TEST_ACCESSIBILITY_YML','cliConfig','zpEUr','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','titlePath','then','indOT','ignore','YnsVA','failure','aQjLe','JxmIn','red','xmWnk','../../helpers/performance/constants','handleApp','../test-runner','LXOgV','XYulZ','xTyIm','136lumNar','call','json','../../helpers/logger','isTestObservabilitySession','reporter-option','AZxKW','log','IeOjQ','toCXJ','BROWSERSTACK_GRR_US_HUB_URL','Couldn\x27t\x20write\x20json\x20result\x20to','env','ATUWG','eAOAu','failures','finally','getTCGConfigFilePaths','stats','22BTpBOn','fgAdY','Axhzb','testcase','files','passes','pPatw','72049SDOumN','Setting\x20non\x20exit\x20code\x20for\x20failures','setupTCGAuth','yfqdm','setUserConfigPath','VNyIG','teUkV','recursive','SDK_CLEANUP','central_scanner','uvPSE','exports','testSuites','has','wMKhH','dHAVu','framework','OvrGg','testsPending','qKGql','testObservability','winstonLogger','</testsuite>','PVogA','retryTestsOnFailure','includeEncodedExtension','mWJOL','cuxiH','yXmbg','shouldReRunObservabilityTests','cjs','TmJRi','logLevel','getErrorMessageFromResults','yIDDU','PCAHC','passed','PyPwA','../../helpers/performance/performance-tester','bold','838878zajsvT','mjs','getPlatformName','HXaaL','failed','Printing\x20stats\x20of\x20tests','iNldB','spec','error\x20removing\x20tcg\x20config\x20file','title','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','MOCHA','FRAMEWORKS','../utils/clientTroubleshootingService','bstack:options','2379153RxNgCX','rSFNy','\x20passed','getUserWorkerCount','xSWfc','doc','Running\x20your\x20mocha\x20tests\x20across\x20','GAsmP','sort','assign','accessibilityOptions','hENCy','jgawp','titlePathV','XTLfP','\x0a\x0a\x0a','state','getHubUrl','currentRetry','JANOT','391293ZmpUcT','ewJkZ','writeFileSync','notifyUpdate','configuration','expected','proxySettings','forEach','StByO','parallelsPerPlatform','launchBuild','EVENTS','mEJDp','fZTnr','NGIkM','nrUyK','xtqhr','FuvgD','\x20platforms','xIQPT','errorMessage','fullTitle','bQQRD','toUTCString','../../helpers/testhub/testhubHandler','testsuite','acDQh','HWfJC','iQAcx','reporterOptions','ARfbn','voPnJ','VkULy','unlinkSync','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','error','JwQHl','isEmpty','iSqQx','mocha','1553570UCTplh','yMqZW','debug','PLPHc','showDiff','printBuildLink','retries'];a32_0x3167=function(){return _0x12322b;};return a32_0x3167();}
@@ -1 +1 @@
1
- const a33_0x5b7e8c=a33_0x5501;function a33_0x5501(_0x1ab843,_0x245495){const _0x37560d=a33_0x3756();return a33_0x5501=function(_0x55019a,_0x3d455a){_0x55019a=_0x55019a-0x1e4;let _0x7197f1=_0x37560d[_0x55019a];return _0x7197f1;},a33_0x5501(_0x1ab843,_0x245495);}function a33_0x3756(){const _0x48f09f=['3074358wVOiRB','setCapabilities','gNEIH','debug','wjXsp','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','path','split','getAccessibilityResultsSummary','options_','setServer','eIVMu','eYhRK','chromeOptions','Modifying\x20webdriver\x20builder','then','capability','OvNje','getHubUrl','quitCount_','moz:firefoxOptions','HttpClient','set','nYlPZ','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','exports','requireSeleniumWebdriver','2414460TldcsN','safariOptions_','goog:chromeOptions','agent_','qRzfc','JiOwe','safari.options','winstonLogger','3ezmsXu','Jamkp','Builder','__setBrowserOptions','firefoxOptions_','updateHubUrl','../../../helpers/patchHelpers','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','/wd/hub','Hub\x20url\x20set\x20to\x20','New\x20hub\x20url\x20set\x20to\x20','168672yNTcxH','kIgLv','mergeDeep','doCzT','chromeOptions_','ebKcI','CAPABILITY_KEY','proxy_','session_','build','JySyj','isBrowserstackInfra','vLZKF','push','getRequestOptions','url_','0|2|4|1|5|3','2684856srLExZ','./helpers/patchHelper','ODKCy','ieOptions','107739rYeaHd','wWOpw','get','nVMZn','newHubUrl','firefoxOptions','iauGH','fwYXE','aKzNu','ZFGwu','../../../helpers/helper','2326341HoMuzA','EiYfJ','RkFmU','11246efNHvJ','__drivers','keys','__driversArray','oKyqN','vSkgv','../../../helpers/accessibility-automation/helper','originalBuilder','isPacProxy','DvIUV','se:ieOptions','setGlobal','Proxy\x20set\x20to\x20','overrideGet','forEach','getAccessibilityResults','isUndefined','KVUrV','Setting\x20Browserstack\x20capabilities','requireHttpClient','logLevel','BSKeE','object','../../../hubAllocationMethods','browserStackLogLevel','NkWkQ','info','isAccessibilityPlatform','send','KnRhC','proxySettings','uXBQF','edgeOptions_','ms:edgeOptions','edgeOptions','../accessibility-automation/helper','proxyUrl','global','/session','wJMlP','https://','368KjMiyR','__driver','capabilities_','ieOptions_'];a33_0x3756=function(){return _0x48f09f;};return a33_0x3756();}(function(_0x5e6842,_0x4e50f4){const _0x5a460f=a33_0x5501,_0x1f2109=_0x5e6842();while(!![]){try{const _0x1e84af=parseInt(_0x5a460f(0x1e6))/0x1*(parseInt(_0x5a460f(0x215))/0x2)+-parseInt(_0x5a460f(0x212))/0x3+parseInt(_0x5a460f(0x203))/0x4+parseInt(_0x5a460f(0x25d))/0x5+-parseInt(_0x5a460f(0x242))/0x6+-parseInt(_0x5a460f(0x1f2))/0x7+-parseInt(_0x5a460f(0x23e))/0x8*(-parseInt(_0x5a460f(0x207))/0x9);if(_0x1e84af===_0x4e50f4)break;else _0x1f2109['push'](_0x1f2109['shift']());}catch(_0x12f808){_0x1f2109['push'](_0x1f2109['shift']());}}}(a33_0x3756,0x64069));const logger=require('../../../helpers/logger')[a33_0x5b7e8c(0x1e5)],helper=require(a33_0x5b7e8c(0x211)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a33_0x5b7e8c(0x22c)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x5b7e8c(0x1ec)),{setAccessibilityCapabilities,setExtension}=require(a33_0x5b7e8c(0x238)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x5b7e8c(0x21b)),globals=require('../../../helpers/globals'),{overrideExecute}=require(a33_0x5b7e8c(0x204)),modify=(_0x5b11d7,_0x3f4f53=null,_0x1531c4=![])=>{const _0x474eee=a33_0x5b7e8c,_0x1b13e0={'duSfN':function(_0x31561c,_0x564d16){return _0x31561c!==_0x564d16;},'HnguL':_0x474eee(0x23b),'nVMZn':function(_0x2ec846,_0xa8620e){return _0x2ec846!==_0xa8620e;},'ebKcI':function(_0x50dd5b,_0x2646af){return _0x50dd5b+_0x2646af;},'vLZKF':function(_0x497b4f,_0x13ce82){return _0x497b4f+_0x13ce82;},'aKzNu':_0x474eee(0x23d),'hFsym':_0x474eee(0x1ef),'XcIPu':_0x474eee(0x25f),'IXHOw':_0x474eee(0x24f),'uXBQF':_0x474eee(0x236),'OvNje':_0x474eee(0x237),'MWaxW':_0x474eee(0x256),'DvIUV':_0x474eee(0x20c),'cqabR':_0x474eee(0x1e4),'EiYfJ':_0x474eee(0x21f),'BSKeE':_0x474eee(0x206),'NkWkQ':function(_0x5ac020,_0x3be5a8){return _0x5ac020===_0x3be5a8;},'wjXsp':_0x474eee(0x22b),'qRzfc':_0x474eee(0x227),'KVUrV':'optimalHubUrl','BXDce':_0x474eee(0x247),'Jamkp':function(_0x5b3146,_0x157310,_0x5ec269){return _0x5b3146(_0x157310,_0x5ec269);},'gNEIH':function(_0x59d271,_0xbbba9f){return _0x59d271(_0xbbba9f);},'JiOwe':function(_0x5c1ba7,_0x44866f,_0x3013a0){return _0x5c1ba7(_0x44866f,_0x3013a0);},'eIVMu':_0x474eee(0x202),'fwYXE':function(_0xa06a35){return _0xa06a35();},'vSkgv':_0x474eee(0x25a),'eYhRK':_0x474eee(0x230),'YYFfP':function(_0x23ec2a,_0x49fbf2,_0x787379){return _0x23ec2a(_0x49fbf2,_0x787379);},'KnRhC':function(_0x1adcbf,_0x61bdda){return _0x1adcbf(_0x61bdda);},'qkfEe':function(_0x132c5f,_0x33c39a){return _0x132c5f(_0x33c39a);},'ODKCy':function(_0x1bbdb1,_0x14877e,_0x3dfdf3){return _0x1bbdb1(_0x14877e,_0x3dfdf3);},'oKyqN':function(_0x42259d,_0x88149d){return _0x42259d!==_0x88149d;},'JySyj':_0x474eee(0x1ed),'ZFGwu':_0x474eee(0x250)},_0x4a9f76=helper[_0x474eee(0x228)]();let _0x338638;try{_0x338638=helper[_0x474eee(0x25c)](),_0x338638[_0x474eee(0x21c)]&&(_0x338638[_0x474eee(0x1e8)]=_0x338638[_0x474eee(0x21c)]);}catch(_0x5051d8){return;}if(helper[_0x474eee(0x1fd)]()){const _0x5015b9={};_0x5015b9[_0x474eee(0x229)]=_0x5b11d7[_0x474eee(0x22d)],helper['setLogLevel'](_0x5015b9,new Map(),new Map()),logger[_0x474eee(0x22f)](_0x1b13e0[_0x474eee(0x1fc)]),logger[_0x474eee(0x245)](_0x1b13e0[_0x474eee(0x210)]);}class _0x170639 extends _0x4a9f76[_0x474eee(0x257)]{[_0x474eee(0x231)](_0x3ace1e){const _0x5e4862=_0x474eee;if(_0x1b13e0['duSfN'](_0x3ace1e[_0x5e4862(0x248)],_0x1b13e0['HnguL'])&&_0x1b13e0['nVMZn'](global['newHubUrl'],''))try{global[_0x5e4862(0x20b)]=_0x1b13e0[_0x5e4862(0x1f7)](_0x1b13e0[_0x5e4862(0x1fe)](_0x1b13e0[_0x5e4862(0x20f)],global['newHubUrl']),_0x1b13e0['hFsym']),this[_0x5e4862(0x24b)]=hubAllocator[_0x5e4862(0x200)](global['newHubUrl']),logger[_0x5e4862(0x245)](_0x5e4862(0x1f1)+global['newHubUrl']),global[_0x5e4862(0x20b)]='';}catch(_0x42bfd6){logger['error'](_0x42bfd6);}return super[_0x5e4862(0x231)](_0x3ace1e);}}class _0xc29327 extends _0x338638[_0x474eee(0x1e8)]{[_0x474eee(0x24c)](){const _0x51b519=_0x474eee;return this[_0x51b519(0x201)]=helper[_0x51b519(0x254)](_0x5b11d7),logger[_0x51b519(0x245)](_0x51b519(0x1f0)+this['url_']),this;}[_0x474eee(0x1e9)](_0x434035){const _0x46c062=_0x474eee;let _0x490310={};for(const _0x129ebc in _0x434035){switch(_0x129ebc){case _0x1b13e0['XcIPu']:case _0x1b13e0['IXHOw']:this[_0x46c062(0x1f6)]&&(_0x490310=this[_0x46c062(0x1f6)][_0x46c062(0x209)](this[_0x46c062(0x1f6)][_0x46c062(0x1f8)])||{},this['chromeOptions_'][_0x46c062(0x258)](this[_0x46c062(0x1f6)][_0x46c062(0x1f8)],helper[_0x46c062(0x1f4)](_0x490310,_0x434035[_0x129ebc])));break;case _0x1b13e0[_0x46c062(0x234)]:case _0x1b13e0[_0x46c062(0x253)]:this[_0x46c062(0x235)]&&(_0x490310=this['edgeOptions_'][_0x46c062(0x209)](this['edgeOptions_'][_0x46c062(0x1f8)])||{},this[_0x46c062(0x235)][_0x46c062(0x258)](this['edgeOptions_']['CAPABILITY_KEY'],helper[_0x46c062(0x1f4)](_0x490310,_0x434035[_0x129ebc])));break;case _0x1b13e0['MWaxW']:case _0x1b13e0[_0x46c062(0x21e)]:this[_0x46c062(0x1ea)]&&(_0x490310=this[_0x46c062(0x1ea)][_0x46c062(0x209)](this['firefoxOptions_']['CAPABILITY_KEY'])||{},this[_0x46c062(0x1ea)]['set'](this[_0x46c062(0x1ea)][_0x46c062(0x1f8)],helper['mergeDeep'](_0x490310,_0x434035[_0x129ebc])));break;case _0x1b13e0['cqabR']:this[_0x46c062(0x25e)]&&(_0x490310=this[_0x46c062(0x25e)]['get'](this['safariOptions_'][_0x46c062(0x1f8)])||{},this['safariOptions_'][_0x46c062(0x258)](this[_0x46c062(0x25e)][_0x46c062(0x1f8)],helper[_0x46c062(0x1f4)](_0x490310,_0x434035[_0x129ebc])));break;case _0x1b13e0[_0x46c062(0x213)]:case _0x1b13e0[_0x46c062(0x22a)]:this['ieOptions_']&&(_0x490310=this['ieOptions_'][_0x46c062(0x209)](this[_0x46c062(0x241)][_0x46c062(0x1f8)])||{},this[_0x46c062(0x241)]['set'](this[_0x46c062(0x241)][_0x46c062(0x1f8)],helper[_0x46c062(0x1f4)](_0x490310,_0x434035[_0x129ebc])));break;}}}[_0x474eee(0x243)](){const _0x51d169=_0x474eee,_0x36f317={'nYlPZ':function(_0x44e447,_0x5c7fbb){const _0x41e0ff=a33_0x5501;return _0x1b13e0[_0x41e0ff(0x22e)](_0x44e447,_0x5c7fbb);},'wWOpw':_0x1b13e0[_0x51d169(0x246)]};return logger['debug'](_0x1b13e0[_0x51d169(0x261)]),this[_0x51d169(0x1e9)](_0x5b11d7[_0x51d169(0x252)]),Object[_0x51d169(0x217)](_0x5b11d7[_0x51d169(0x252)])[_0x51d169(0x223)](_0x4e07af=>{const _0x3da80f=_0x51d169,_0x49a26b=this[_0x3da80f(0x240)][_0x3da80f(0x209)](_0x4e07af);_0x36f317[_0x3da80f(0x259)](typeof _0x49a26b,_0x36f317[_0x3da80f(0x208)])?this[_0x3da80f(0x240)]['set'](_0x4e07af,helper['mergeDeep'](_0x49a26b,_0x5b11d7[_0x3da80f(0x252)][_0x4e07af])):this[_0x3da80f(0x240)][_0x3da80f(0x258)](_0x4e07af,_0x5b11d7[_0x3da80f(0x252)][_0x4e07af]);}),this;}['build'](){const _0x31df4c=_0x474eee,_0x1443a9={'iauGH':function(_0x25e03e,_0x3bdd57,_0xcd141f){const _0x4310ae=a33_0x5501;return _0x1b13e0[_0x4310ae(0x1e7)](_0x25e03e,_0x3bdd57,_0xcd141f);},'RkFmU':function(_0x13cb65,_0xc1cb3b,_0x3fa87e){const _0x5e20a5=a33_0x5501;return _0x1b13e0[_0x5e20a5(0x1e7)](_0x13cb65,_0xc1cb3b,_0x3fa87e);},'kIgLv':function(_0x2de220,_0xb4c18f){const _0xfef75f=a33_0x5501;return _0x1b13e0[_0xfef75f(0x244)](_0x2de220,_0xb4c18f);},'wJMlP':function(_0x36fac6,_0x55a733,_0x38c277){const _0x4075b4=a33_0x5501;return _0x1b13e0[_0x4075b4(0x262)](_0x36fac6,_0x55a733,_0x38c277);},'YyklW':function(_0x26ba25,_0x5f01b3,_0x1cb15b){const _0x275f83=a33_0x5501;return _0x1b13e0[_0x275f83(0x1e7)](_0x26ba25,_0x5f01b3,_0x1cb15b);},'ABhhS':function(_0x2fb9ac,_0x47e667,_0x12a5dd){const _0x133446=a33_0x5501;return _0x1b13e0[_0x133446(0x1e7)](_0x2fb9ac,_0x47e667,_0x12a5dd);}};if(helper['isBrowserstackInfra']()){const _0xf3ee2c=_0x1b13e0[_0x31df4c(0x24d)][_0x31df4c(0x249)]('|');let _0x1ad92d=0x0;while(!![]){switch(_0xf3ee2c[_0x1ad92d++]){case'0':_0x1b13e0[_0x31df4c(0x20e)](isAccessibilityAutomationSession)&&_0x1b13e0['gNEIH'](setAccessibilityCapabilities,_0x5b11d7);continue;case'1':if(helper[_0x31df4c(0x21d)](_0x5b11d7['proxySettings'][_0x31df4c(0x239)]))this[_0x31df4c(0x260)]=helper['getHttpAgent'](_0x5b11d7[_0x31df4c(0x233)]['proxyUrl']);else _0x5b11d7['proxySettings']['proxyUrl']&&(this[_0x31df4c(0x1f9)]=_0x5b11d7[_0x31df4c(0x233)][_0x31df4c(0x239)],logger[_0x31df4c(0x245)](_0x31df4c(0x221)+this[_0x31df4c(0x1f9)]));continue;case'2':this[_0x31df4c(0x24c)]();continue;case'3':logger[_0x31df4c(0x245)](_0x1b13e0[_0x31df4c(0x21a)]);continue;case'4':this[_0x31df4c(0x243)]();continue;case'5':globals['getGlobal'](_0x1b13e0[_0x31df4c(0x24e)])&&(!_0x1b13e0['YYFfP'](setExtension,this,_0x5b11d7)&&globals[_0x31df4c(0x220)](_0x1b13e0[_0x31df4c(0x24e)],![]));continue;}break;}}const _0x4a231a=super[_0x31df4c(0x1fb)]();return _0x4a231a[_0x31df4c(0x1fa)][_0x31df4c(0x251)](_0x1eaaf2=>{const _0x123137=_0x31df4c;try{const _0x5f3f61=_0x1eaaf2['caps_']['get'](_0x1b13e0[_0x123137(0x226)]);_0x5f3f61?(logger[_0x123137(0x245)](_0x123137(0x1ee)+_0x5f3f61),hubAllocator[_0x123137(0x1eb)](_0x5f3f61),helper['storeOptimalHubUrl'](_0x5f3f61)):logger[_0x123137(0x245)](_0x1b13e0['BXDce']);}catch(_0xb4cedc){logger[_0x123137(0x245)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0xb4cedc);}}),_0x4a231a[_0x31df4c(0x255)]=0x0,_0x4a231a[_0x31df4c(0x251)]&&_0x4a231a[_0x31df4c(0x251)](_0x5f36d0=>{const _0x23c410=_0x31df4c,_0x104b72={'doCzT':function(_0x1b28a0,_0x3ba3dd,_0x3bb1e4){const _0x2bf724=a33_0x5501;return _0x1443a9[_0x2bf724(0x20d)](_0x1b28a0,_0x3ba3dd,_0x3bb1e4);}};_0x1443a9[_0x23c410(0x214)](overrideQuit,_0x5f36d0,_0x4a231a),_0x1443a9[_0x23c410(0x1f3)](overrideTakeScreenshot,_0x5f36d0),helper['overrideGet'](_0x5f36d0,_0x5b11d7),_0x1443a9[_0x23c410(0x23c)](overrideExecute,_0x5f36d0,_0x5b11d7),_0x5f36d0[_0x23c410(0x24a)]=async()=>{const _0x2b5e3b=_0x23c410;return await _0x104b72[_0x2b5e3b(0x1f5)](getAccessibilityResultsSummary,_0x5f36d0,global);},_0x5f36d0[_0x23c410(0x224)]=async()=>{return await _0x104b72['doCzT'](getAccessibilityResults,_0x5f36d0,global);};}),_0x4a231a[_0x31df4c(0x24a)]=async()=>{return await _0x1443a9['YyklW'](getAccessibilityResultsSummary,_0x4a231a,global);},_0x4a231a[_0x31df4c(0x224)]=async()=>{return await _0x1443a9['ABhhS'](getAccessibilityResults,_0x4a231a,global);},_0x1b13e0[_0x31df4c(0x232)](overrideTakeScreenshot,_0x4a231a),_0x1b13e0['qkfEe'](overrideQuit,_0x4a231a),helper[_0x31df4c(0x222)](_0x4a231a,_0x5b11d7),_0x1b13e0[_0x31df4c(0x205)](overrideExecute,_0x4a231a,_0x5b11d7),helper[_0x31df4c(0x225)](global[_0x31df4c(0x218)])&&(global['__driversArray']=[]),helper['isUndefined'](global[_0x31df4c(0x216)])&&(global[_0x31df4c(0x216)]=[]),global[_0x31df4c(0x218)][_0x31df4c(0x1ff)](_0x4a231a),global[_0x31df4c(0x23f)]=_0x4a231a,_0x1b13e0[_0x31df4c(0x20a)](global[_0x31df4c(0x216)],undefined)&&global[_0x31df4c(0x216)][_0x31df4c(0x1ff)](_0x4a231a),_0x3f4f53&&helper['isUndefined'](_0x3f4f53[_0x31df4c(0x23a)][_0x31df4c(0x218)])&&(_0x3f4f53[_0x31df4c(0x23a)][_0x31df4c(0x218)]=[]),_0x3f4f53&&_0x1b13e0[_0x31df4c(0x219)](_0x3f4f53[_0x31df4c(0x23a)][_0x31df4c(0x216)],undefined)&&(_0x3f4f53[_0x31df4c(0x23a)][_0x31df4c(0x216)][_0x31df4c(0x1ff)](_0x4a231a),_0x3f4f53[_0x31df4c(0x23a)][_0x31df4c(0x218)]['push'](_0x4a231a)),_0x4a231a;}}return _0x338638[_0x474eee(0x21c)]=_0x338638[_0x474eee(0x1e8)],_0x338638[_0x474eee(0x1e8)]=_0xc29327,_0x4a9f76[_0x474eee(0x257)]=_0x170639,_0x338638;};module[a33_0x5b7e8c(0x25b)]['browserstackAgentObservability']=modify;
1
+ function a33_0x36b7(_0x13e299,_0x236d94){const _0x39bf8d=a33_0x39bf();return a33_0x36b7=function(_0x36b769,_0x3fc8c0){_0x36b769=_0x36b769-0x1b9;let _0x577095=_0x39bf8d[_0x36b769];return _0x577095;},a33_0x36b7(_0x13e299,_0x236d94);}const a33_0x2284b8=a33_0x36b7;function a33_0x39bf(){const _0x54252d=['uwXzs','CAPABILITY_KEY','winstonLogger','../../../helpers/patchHelpers','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','info','Builder','ms:edgeOptions','964573yvyHrM','capability','se:ieOptions','ieOptions','getAccessibilityResultsSummary','newHubUrl','RDeCl','setLogLevel','ITuRh','requireHttpClient','options_','firefoxOptions_','152DCkpxO','error','edgeOptions','EKywt','agent_','jzImR','logLevel','/wd/hub','set','ezNAo','Proxy\x20set\x20to\x20','url_','moz:firefoxOptions','./helpers/patchHelper','MOmCY','goog:chromeOptions','../../../helpers/logger','quitCount_','session_','chromeOptions_','lzOfj','feulZ','getGlobal','isUndefined','exports','../../../helpers/globals','setGlobal','xLgSf','oBQPI','mergeDeep','Nzsep','edgeOptions_','fRauP','optimalHubUrl','AfaOf','mZYPZ','build','object','New\x20hub\x20url\x20set\x20to\x20','../../../bin/utils/constants','2|4|5|1|0|3','browserStackLogLevel','ieOptions_','../../../helpers/helper','setCapabilities','getAccessibilityResults','send','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','3320520hnJQcB','keys','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','isBrowserstackInfra','capabilities_','__driversArray','HttpClient','getHttpAgent','proxy_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','__setBrowserOptions','safariOptions_','ArCRS','get','safari.options','forEach','firefoxOptions','aYEOv','../../../hubAllocationMethods','push','__driver','rnPGT','then','XphVD','hDMvd','nwxWv','Hub\x20url\x20set\x20to\x20','Modifying\x20webdriver\x20builder','chromeOptions','global','174996DjTJqD','JACqj','758832aCFgfp','jnvUO','../../../helpers/accessibility-automation/helper','3108818EyqToJ','updateHubUrl','6947206fPdoGL','debug','proxyUrl','Jimbd','setServer','SyAxN','originalBuilder','HcRJR','/session','2086827hKTVtC','6cwpeJQ','proxySettings','__drivers','UzfFh'];a33_0x39bf=function(){return _0x54252d;};return a33_0x39bf();}(function(_0x2eba7c,_0x47f51e){const _0x509978=a33_0x36b7,_0x2917f9=_0x2eba7c();while(!![]){try{const _0x2ae559=-parseInt(_0x509978(0x1e7))/0x1+parseInt(_0x509978(0x1cf))/0x2+-parseInt(_0x509978(0x1da))/0x3+-parseInt(_0x509978(0x1cc))/0x4+parseInt(_0x509978(0x223))/0x5+parseInt(_0x509978(0x1db))/0x6*(parseInt(_0x509978(0x1d1))/0x7)+parseInt(_0x509978(0x1f3))/0x8*(-parseInt(_0x509978(0x1ca))/0x9);if(_0x2ae559===_0x47f51e)break;else _0x2917f9['push'](_0x2917f9['shift']());}catch(_0x581da3){_0x2917f9['push'](_0x2917f9['shift']());}}}(a33_0x39bf,0xf219d));const logger=require(a33_0x2284b8(0x203))[a33_0x2284b8(0x1e1)],helper=require(a33_0x2284b8(0x21e)),constants=require(a33_0x2284b8(0x21a)),hubAllocator=require(a33_0x2284b8(0x1be)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x2284b8(0x1e2)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x2284b8(0x1ce)),globals=require(a33_0x2284b8(0x20c)),{overrideExecute}=require(a33_0x2284b8(0x200)),modify=(_0x163c2a,_0x1b165d=null,_0x320a62=![])=>{const _0x2fb4f1=a33_0x2284b8,_0x531bd7={'HcRJR':function(_0x5bb900,_0x1dcf48){return _0x5bb900!==_0x1dcf48;},'RDeCl':_0x2fb4f1(0x1d9),'lzOfj':function(_0x7575a4,_0x52eab6){return _0x7575a4+_0x52eab6;},'Jimbd':'https://','hDMvd':_0x2fb4f1(0x1fa),'FcrRw':_0x2fb4f1(0x202),'CxgxM':_0x2fb4f1(0x1c8),'Odbmw':_0x2fb4f1(0x1e6),'FlcMQ':_0x2fb4f1(0x1f5),'JACqj':_0x2fb4f1(0x1ff),'oBQPI':_0x2fb4f1(0x1bc),'gUmcs':_0x2fb4f1(0x1ba),'AfaOf':_0x2fb4f1(0x1e9),'jnvUO':_0x2fb4f1(0x1ea),'ezNAo':function(_0x2d5528,_0x466566){return _0x2d5528===_0x466566;},'XphVD':_0x2fb4f1(0x218),'ITuRh':'Setting\x20Browserstack\x20capabilities','Nzsep':_0x2fb4f1(0x214),'YqOlp':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','uwXzs':function(_0x18f7a5,_0x27ae46,_0x23d435){return _0x18f7a5(_0x27ae46,_0x23d435);},'jzImR':function(_0x14514d,_0x1cf105){return _0x14514d(_0x1cf105);},'ArCRS':_0x2fb4f1(0x21b),'aYEOv':'isAccessibilityPlatform','EKywt':function(_0x3f1ef0,_0x4db8cb,_0x331a9c){return _0x3f1ef0(_0x4db8cb,_0x331a9c);},'MOmCY':function(_0x57cc55){return _0x57cc55();},'xLgSf':function(_0x4ec2a1,_0x470f76){return _0x4ec2a1(_0x470f76);},'bgETt':_0x2fb4f1(0x225),'yqgpt':function(_0x23f4f7,_0x2b8082){return _0x23f4f7(_0x2b8082);},'fRauP':function(_0x49a787,_0x430368){return _0x49a787(_0x430368);},'rnPGT':function(_0x3a2dc9,_0x3054a0,_0x50c0a2){return _0x3a2dc9(_0x3054a0,_0x50c0a2);},'nwxWv':function(_0x27a15b,_0x5ef82e){return _0x27a15b!==_0x5ef82e;},'feulZ':function(_0x271a8f,_0x4df505){return _0x271a8f!==_0x4df505;},'KvUWk':_0x2fb4f1(0x22c),'UzfFh':_0x2fb4f1(0x1c7)},_0x17caf0=helper[_0x2fb4f1(0x1f0)]();let _0x2fbb2b;try{_0x2fbb2b=helper['requireSeleniumWebdriver'](),_0x2fbb2b['originalBuilder']&&(_0x2fbb2b[_0x2fb4f1(0x1e5)]=_0x2fbb2b[_0x2fb4f1(0x1d7)]);}catch(_0x16b794){return;}if(helper[_0x2fb4f1(0x226)]()){const _0x281a3b={};_0x281a3b[_0x2fb4f1(0x1f9)]=_0x163c2a[_0x2fb4f1(0x21c)],helper[_0x2fb4f1(0x1ee)](_0x281a3b,new Map(),new Map()),logger[_0x2fb4f1(0x1e4)](_0x531bd7['KvUWk']),logger[_0x2fb4f1(0x1d2)](_0x531bd7[_0x2fb4f1(0x1de)]);}class _0x25cc30 extends _0x17caf0[_0x2fb4f1(0x229)]{[_0x2fb4f1(0x221)](_0x6e3e1f){const _0x2d3f2f=_0x2fb4f1;if(_0x531bd7[_0x2d3f2f(0x1d8)](_0x6e3e1f['path'],_0x531bd7[_0x2d3f2f(0x1ed)])&&_0x531bd7[_0x2d3f2f(0x1d8)](global['newHubUrl'],''))try{global['newHubUrl']=_0x531bd7[_0x2d3f2f(0x207)](_0x531bd7[_0x2d3f2f(0x207)](_0x531bd7[_0x2d3f2f(0x1d4)],global[_0x2d3f2f(0x1ec)]),_0x531bd7[_0x2d3f2f(0x1c4)]),this[_0x2d3f2f(0x1f1)]=hubAllocator['getRequestOptions'](global[_0x2d3f2f(0x1ec)]),logger[_0x2d3f2f(0x1d2)](_0x2d3f2f(0x219)+global[_0x2d3f2f(0x1ec)]),global[_0x2d3f2f(0x1ec)]='';}catch(_0x2ef669){logger[_0x2d3f2f(0x1f4)](_0x2ef669);}return super['send'](_0x6e3e1f);}}class _0x53aeef extends _0x2fbb2b[_0x2fb4f1(0x1e5)]{[_0x2fb4f1(0x1d5)](){const _0x18871a=_0x2fb4f1;return this[_0x18871a(0x1fe)]=helper['getHubUrl'](_0x163c2a),logger['debug'](_0x18871a(0x1c6)+this[_0x18871a(0x1fe)]),this;}[_0x2fb4f1(0x22d)](_0x322041){const _0x566902=_0x2fb4f1;let _0x3ddc5a={};for(const _0x528030 in _0x322041){switch(_0x528030){case _0x531bd7['FcrRw']:case _0x531bd7['CxgxM']:this[_0x566902(0x206)]&&(_0x3ddc5a=this[_0x566902(0x206)]['get'](this[_0x566902(0x206)][_0x566902(0x1e0)])||{},this[_0x566902(0x206)][_0x566902(0x1fb)](this['chromeOptions_']['CAPABILITY_KEY'],helper[_0x566902(0x210)](_0x3ddc5a,_0x322041[_0x528030])));break;case _0x531bd7['Odbmw']:case _0x531bd7['FlcMQ']:this['edgeOptions_']&&(_0x3ddc5a=this[_0x566902(0x212)][_0x566902(0x1b9)](this['edgeOptions_'][_0x566902(0x1e0)])||{},this[_0x566902(0x212)]['set'](this[_0x566902(0x212)]['CAPABILITY_KEY'],helper[_0x566902(0x210)](_0x3ddc5a,_0x322041[_0x528030])));break;case _0x531bd7[_0x566902(0x1cb)]:case _0x531bd7[_0x566902(0x20f)]:this['firefoxOptions_']&&(_0x3ddc5a=this[_0x566902(0x1f2)][_0x566902(0x1b9)](this[_0x566902(0x1f2)][_0x566902(0x1e0)])||{},this[_0x566902(0x1f2)][_0x566902(0x1fb)](this[_0x566902(0x1f2)][_0x566902(0x1e0)],helper['mergeDeep'](_0x3ddc5a,_0x322041[_0x528030])));break;case _0x531bd7['gUmcs']:this[_0x566902(0x22e)]&&(_0x3ddc5a=this[_0x566902(0x22e)][_0x566902(0x1b9)](this[_0x566902(0x22e)][_0x566902(0x1e0)])||{},this['safariOptions_'][_0x566902(0x1fb)](this[_0x566902(0x22e)][_0x566902(0x1e0)],helper[_0x566902(0x210)](_0x3ddc5a,_0x322041[_0x528030])));break;case _0x531bd7[_0x566902(0x215)]:case _0x531bd7[_0x566902(0x1cd)]:this[_0x566902(0x21d)]&&(_0x3ddc5a=this[_0x566902(0x21d)][_0x566902(0x1b9)](this[_0x566902(0x21d)][_0x566902(0x1e0)])||{},this[_0x566902(0x21d)][_0x566902(0x1fb)](this[_0x566902(0x21d)]['CAPABILITY_KEY'],helper[_0x566902(0x210)](_0x3ddc5a,_0x322041[_0x528030])));break;}}}['setCapabilities'](){const _0x411ef7=_0x2fb4f1;return logger[_0x411ef7(0x1d2)](_0x531bd7[_0x411ef7(0x1ef)]),this[_0x411ef7(0x22d)](_0x163c2a[_0x411ef7(0x1e8)]),Object[_0x411ef7(0x224)](_0x163c2a[_0x411ef7(0x1e8)])[_0x411ef7(0x1bb)](_0x551426=>{const _0x3bbf9e=_0x411ef7,_0x1f1c27=this[_0x3bbf9e(0x227)][_0x3bbf9e(0x1b9)](_0x551426);_0x531bd7[_0x3bbf9e(0x1fc)](typeof _0x1f1c27,_0x531bd7[_0x3bbf9e(0x1c3)])?this[_0x3bbf9e(0x227)]['set'](_0x551426,helper[_0x3bbf9e(0x210)](_0x1f1c27,_0x163c2a[_0x3bbf9e(0x1e8)][_0x551426])):this[_0x3bbf9e(0x227)][_0x3bbf9e(0x1fb)](_0x551426,_0x163c2a[_0x3bbf9e(0x1e8)][_0x551426]);}),this;}['build'](){const _0x49bb10=_0x2fb4f1,_0x55f5f8={'SyAxN':function(_0x323d7d,_0x2c3968,_0x42c03e){const _0x32d8b7=a33_0x36b7;return _0x531bd7[_0x32d8b7(0x1df)](_0x323d7d,_0x2c3968,_0x42c03e);},'MeTxQ':function(_0xb8a79d,_0x2e5c3a,_0x316f12){const _0x4f2792=a33_0x36b7;return _0x531bd7[_0x4f2792(0x1df)](_0xb8a79d,_0x2e5c3a,_0x316f12);}};if(helper['isBrowserstackInfra']()){const _0x316a3a=_0x531bd7[_0x49bb10(0x22f)]['split']('|');let _0x31172b=0x0;while(!![]){switch(_0x316a3a[_0x31172b++]){case'0':globals[_0x49bb10(0x209)](_0x531bd7[_0x49bb10(0x1bd)])&&(!_0x531bd7[_0x49bb10(0x1f6)](setExtension,this,_0x163c2a)&&globals[_0x49bb10(0x20d)](_0x531bd7[_0x49bb10(0x1bd)],![]));continue;case'1':if(helper['isPacProxy'](_0x163c2a[_0x49bb10(0x1dc)]['proxyUrl']))this[_0x49bb10(0x1f7)]=helper[_0x49bb10(0x22a)](_0x163c2a[_0x49bb10(0x1dc)][_0x49bb10(0x1d3)]);else _0x163c2a[_0x49bb10(0x1dc)][_0x49bb10(0x1d3)]&&(this['proxy_']=_0x163c2a[_0x49bb10(0x1dc)][_0x49bb10(0x1d3)],logger[_0x49bb10(0x1d2)](_0x49bb10(0x1fd)+this[_0x49bb10(0x22b)]));continue;case'2':_0x531bd7[_0x49bb10(0x201)](isAccessibilityAutomationSession)&&_0x531bd7[_0x49bb10(0x20e)](setAccessibilityCapabilities,_0x163c2a);continue;case'3':logger[_0x49bb10(0x1d2)](_0x531bd7['bgETt']);continue;case'4':this[_0x49bb10(0x1d5)]();continue;case'5':this[_0x49bb10(0x21f)]();continue;}break;}}const _0x102100=super[_0x49bb10(0x217)]();return _0x102100[_0x49bb10(0x205)]['then'](_0x1b42ae=>{const _0xa36b1=_0x49bb10;try{const _0x20eaa0=_0x1b42ae['caps_']['get'](_0x531bd7[_0xa36b1(0x211)]);_0x20eaa0?(logger[_0xa36b1(0x1d2)](_0xa36b1(0x222)+_0x20eaa0),hubAllocator[_0xa36b1(0x1d0)](_0x20eaa0),helper['storeOptimalHubUrl'](_0x20eaa0)):logger['debug'](_0x531bd7['YqOlp']);}catch(_0x1ff320){logger[_0xa36b1(0x1d2)](_0xa36b1(0x1e3)+_0x1ff320);}}),_0x102100[_0x49bb10(0x204)]=0x0,_0x102100[_0x49bb10(0x1c2)]&&_0x102100[_0x49bb10(0x1c2)](_0x2e77a5=>{const _0x57e8bb=_0x49bb10,_0x51d0cb={'mZYPZ':function(_0x3ab88d,_0x176724,_0x5f79cb){const _0x17661f=a33_0x36b7;return _0x531bd7[_0x17661f(0x1df)](_0x3ab88d,_0x176724,_0x5f79cb);}};_0x531bd7[_0x57e8bb(0x1df)](overrideQuit,_0x2e77a5,_0x102100),_0x531bd7[_0x57e8bb(0x1f8)](overrideTakeScreenshot,_0x2e77a5),helper['overrideGet'](_0x2e77a5,_0x163c2a),_0x531bd7['uwXzs'](overrideExecute,_0x2e77a5,_0x163c2a),_0x2e77a5[_0x57e8bb(0x1eb)]=async()=>{const _0x453f6d=_0x57e8bb;return await _0x51d0cb[_0x453f6d(0x216)](getAccessibilityResultsSummary,_0x2e77a5,global);},_0x2e77a5[_0x57e8bb(0x220)]=async()=>{return await _0x55f5f8['SyAxN'](getAccessibilityResults,_0x2e77a5,global);};}),_0x102100[_0x49bb10(0x1eb)]=async()=>{const _0x2bcf8b=_0x49bb10;return await _0x55f5f8[_0x2bcf8b(0x1d6)](getAccessibilityResultsSummary,_0x102100,global);},_0x102100[_0x49bb10(0x220)]=async()=>{return await _0x55f5f8['MeTxQ'](getAccessibilityResults,_0x102100,global);},_0x531bd7['yqgpt'](overrideTakeScreenshot,_0x102100),_0x531bd7[_0x49bb10(0x213)](overrideQuit,_0x102100),helper['overrideGet'](_0x102100,_0x163c2a),_0x531bd7[_0x49bb10(0x1c1)](overrideExecute,_0x102100,_0x163c2a),helper[_0x49bb10(0x20a)](global[_0x49bb10(0x228)])&&(global['__driversArray']=[]),helper['isUndefined'](global[_0x49bb10(0x1dd)])&&(global[_0x49bb10(0x1dd)]=[]),global[_0x49bb10(0x228)][_0x49bb10(0x1bf)](_0x102100),global[_0x49bb10(0x1c0)]=_0x102100,_0x531bd7[_0x49bb10(0x1c5)](global[_0x49bb10(0x1dd)],undefined)&&global[_0x49bb10(0x1dd)][_0x49bb10(0x1bf)](_0x102100),_0x1b165d&&helper[_0x49bb10(0x20a)](_0x1b165d[_0x49bb10(0x1c9)]['__driversArray'])&&(_0x1b165d[_0x49bb10(0x1c9)]['__driversArray']=[]),_0x1b165d&&_0x531bd7[_0x49bb10(0x208)](_0x1b165d[_0x49bb10(0x1c9)][_0x49bb10(0x1dd)],undefined)&&(_0x1b165d['global'][_0x49bb10(0x1dd)][_0x49bb10(0x1bf)](_0x102100),_0x1b165d[_0x49bb10(0x1c9)][_0x49bb10(0x228)][_0x49bb10(0x1bf)](_0x102100)),_0x102100;}}return _0x2fbb2b['originalBuilder']=_0x2fbb2b['Builder'],_0x2fbb2b[_0x2fb4f1(0x1e5)]=_0x53aeef,_0x17caf0[_0x2fb4f1(0x229)]=_0x25cc30,_0x2fbb2b;};module[a33_0x2284b8(0x20b)]['browserstackAgentObservability']=modify;
@@ -1 +1 @@
1
- const a34_0x4c7073=a34_0x29d5;function a34_0x3aba(){const _0x1c1a22=['3289aFbVfd','restore','173200VkPYZE','764622aWZIOa','576900hoTdOD','1124OLKTOM','timeout','ScZwA','../../../helpers/test-observability/utils','738630jNosgQ','../../../helpers/request-spy','mochaHooks','14319xPPsDE','11QBweub','56dsUnUq','76ANACcs','../../../bin/utils/constants','5710SPxoCj'];a34_0x3aba=function(){return _0x1c1a22;};return a34_0x3aba();}(function(_0x375830,_0x5abc9a){const _0x151a2e=a34_0x29d5,_0x53adab=_0x375830();while(!![]){try{const _0x30b072=parseInt(_0x151a2e(0xa7))/0x1*(-parseInt(_0x151a2e(0x9f))/0x2)+parseInt(_0x151a2e(0xa6))/0x3*(parseInt(_0x151a2e(0xa9))/0x4)+-parseInt(_0x151a2e(0xa3))/0x5+parseInt(_0x151a2e(0x9e))/0x6+-parseInt(_0x151a2e(0xa8))/0x7*(parseInt(_0x151a2e(0x9c))/0x8)+parseInt(_0x151a2e(0x9d))/0x9+parseInt(_0x151a2e(0xab))/0xa*(parseInt(_0x151a2e(0xac))/0xb);if(_0x30b072===_0x5abc9a)break;else _0x53adab['push'](_0x53adab['shift']());}catch(_0x28f6bd){_0x53adab['push'](_0x53adab['shift']());}}}(a34_0x3aba,0x1c2d8));const requestSpy=require(a34_0x4c7073(0xa4)),constants=require(a34_0x4c7073(0xaa)),{addRequestSpy}=require(a34_0x4c7073(0xa2));function a34_0x29d5(_0x47e4b1,_0xf7b5b2){const _0x3abaac=a34_0x3aba();return a34_0x29d5=function(_0x29d5d0,_0x341813){_0x29d5d0=_0x29d5d0-0x9b;let _0x4d1196=_0x3abaac[_0x29d5d0];return _0x4d1196;},a34_0x29d5(_0x47e4b1,_0xf7b5b2);}exports[a34_0x4c7073(0xa5)]={'beforeAll'(){const _0x11bd26=a34_0x4c7073,_0x10b26b={'ScZwA':function(_0x930021){return _0x930021();}},_0x4ae64b='browserstack internal helper hook';_0x10b26b[_0x11bd26(0xa1)](addRequestSpy);},'afterAll'(){const _0x197fc4=a34_0x4c7073,_0xeea591='browserstack internal helper hook';this[_0x197fc4(0xa0)](0xea60),requestSpy[_0x197fc4(0x9b)]();}};
1
+ function a34_0x8cd5(_0x3cc4aa,_0x5922a7){const _0x1772d8=a34_0x1772();return a34_0x8cd5=function(_0x8cd576,_0x142a14){_0x8cd576=_0x8cd576-0x194;let _0x3d41e3=_0x1772d8[_0x8cd576];return _0x3d41e3;},a34_0x8cd5(_0x3cc4aa,_0x5922a7);}const a34_0x58908a=a34_0x8cd5;function a34_0x1772(){const _0x5ed09e=['381768QNthIt','381402lSeuCu','rTKSi','1249064bKOVpk','198umYtls','2jOYWYV','8umjVwI','restore','6236461bCYPUL','6kGLwBS','944655bDAEhC','64490JNAoMf','../../../bin/utils/constants','2087442XZkXLY','timeout','../../../helpers/request-spy'];a34_0x1772=function(){return _0x5ed09e;};return a34_0x1772();}(function(_0x25b0d,_0x2ef57b){const _0x4f4f37=a34_0x8cd5,_0x4343fd=_0x25b0d();while(!![]){try{const _0x396843=-parseInt(_0x4f4f37(0x194))/0x1*(-parseInt(_0x4f4f37(0x198))/0x2)+-parseInt(_0x4f4f37(0x1a3))/0x3*(-parseInt(_0x4f4f37(0x199))/0x4)+-parseInt(_0x4f4f37(0x19d))/0x5*(parseInt(_0x4f4f37(0x19c))/0x6)+parseInt(_0x4f4f37(0x1a0))/0x7+parseInt(_0x4f4f37(0x196))/0x8+-parseInt(_0x4f4f37(0x197))/0x9*(parseInt(_0x4f4f37(0x19e))/0xa)+-parseInt(_0x4f4f37(0x19b))/0xb;if(_0x396843===_0x2ef57b)break;else _0x4343fd['push'](_0x4343fd['shift']());}catch(_0x2e050d){_0x4343fd['push'](_0x4343fd['shift']());}}}(a34_0x1772,0x2efed));const requestSpy=require(a34_0x58908a(0x1a2)),constants=require(a34_0x58908a(0x19f)),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports['mochaHooks']={'beforeAll'(){const _0x1c8329=a34_0x58908a,_0x5a9a9a={'rTKSi':function(_0x25dfbc){return _0x25dfbc();}},_0x21ac20='browserstack internal helper hook';_0x5a9a9a[_0x1c8329(0x195)](addRequestSpy);},'afterAll'(){const _0x475eae=a34_0x58908a,_0x40c506='browserstack internal helper hook';this[_0x475eae(0x1a1)](0xea60),requestSpy[_0x475eae(0x19a)]();}};
@@ -1 +1 @@
1
- const a35_0x2f2cb9=a35_0x59ba;(function(_0xeb74c9,_0x3af4a6){const _0x869595=a35_0x59ba,_0x4d96f3=_0xeb74c9();while(!![]){try{const _0x27c39e=-parseInt(_0x869595(0x1d5))/0x1*(parseInt(_0x869595(0x1e4))/0x2)+-parseInt(_0x869595(0x213))/0x3+parseInt(_0x869595(0x1d4))/0x4*(-parseInt(_0x869595(0x1e9))/0x5)+parseInt(_0x869595(0x214))/0x6+parseInt(_0x869595(0x21a))/0x7+parseInt(_0x869595(0x207))/0x8+-parseInt(_0x869595(0x1ff))/0x9*(parseInt(_0x869595(0x1ed))/0xa);if(_0x27c39e===_0x3af4a6)break;else _0x4d96f3['push'](_0x4d96f3['shift']());}catch(_0x2c6b54){_0x4d96f3['push'](_0x4d96f3['shift']());}}}(a35_0x1e1e,0xf26c9));function a35_0x59ba(_0x484dde,_0x52fb16){const _0x1e1e6c=a35_0x1e1e();return a35_0x59ba=function(_0x59ba3a,_0x540378){_0x59ba3a=_0x59ba3a-0x1cb;let _0x2b4197=_0x1e1e6c[_0x59ba3a];return _0x2b4197;},a35_0x59ba(_0x484dde,_0x52fb16);}function a35_0x1e1e(){const _0x4a720b=['generic','XAzPA','pid','fromEntries','../../utils/logPatcher','reduce','hook','map_','ikZfO','sendPlatformDetails','zzcrJ','IjnxR','getBrowserName','mvUwF','yYCSQ','js-','failed','1107gLPUKv','../../../helpers/test-observability/constants','../../../../package.json','substring','getCapabilities','concat','toISOString','tkgbW','15147312oSYbBB','JoaXV','indexOf','CHcXl','iMDmu','getTestEnv','suites','hookAnalyticsId','getHookDetails','emit','string','__cloud_provider___','1577205RqRLLC','4710906zEqXKF','kMBJv','lodash','Yzhko','type','forEach','1879388FcKOyl','platformVersion','NeHUR','wfcmd','tests','slice','NXGWH','Jhbtd','RaByX','_afterAll','SivnP','pending','getBrowserVersion','uuid','mfzVw','RFdtF','UIQZh','split','eFuor','148cXJzPP','15733HaDKez','getSession','passed','NcVuD','browserstack','unknown_grid','DiDNs','parent','getHookSkippedTests','_beforeAll','markedStatus','../../../helpers/test-observability/utils','ijIkf','state','getHooksForTest','22zdOdta','filter','../../../helpers/helper','get','bs:addPlatformDetails:','8885CcmsmW','mapTestHooks','_afterEach','ldRiW','96710PZBmgj'];a35_0x1e1e=function(){return _0x4a720b;};return a35_0x1e1e();}const {v4:uuidv4}=require(a35_0x2f2cb9(0x1ce)),{name,version}=require(a35_0x2f2cb9(0x201)),logPatcher=require(a35_0x2f2cb9(0x1f2)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x2f2cb9(0x1e0)),{consoleHolder}=require(a35_0x2f2cb9(0x200)),{getPlatformVersion}=require(a35_0x2f2cb9(0x1e6)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require(a35_0x2f2cb9(0x216)),{patchConsoleLogger}=require(a35_0x2f2cb9(0x1e0));patchConsoleLogger(),exports[a35_0x2f2cb9(0x20c)]=()=>{const _0x1b7b0a=a35_0x2f2cb9,_0x43ce38={'wfcmd':_0x1b7b0a(0x1ee),'tkgbW':function(_0x14a8d9){return _0x14a8d9();}};return{'ci':_0x43ce38[_0x1b7b0a(0x21d)],'key':_0x43ce38[_0x1b7b0a(0x206)](uuidv4),'version':version,'collector':_0x1b7b0a(0x1fd)+name};},exports[a35_0x2f2cb9(0x20f)]=_0x44634a=>{const _0x53d290=a35_0x2f2cb9,_0x383f3f={};_0x383f3f[_0x53d290(0x1cf)]=function(_0x2b1d3b,_0xf1f605){return _0x2b1d3b!==_0xf1f605;},_0x383f3f[_0x53d290(0x1e1)]=_0x53d290(0x211),_0x383f3f[_0x53d290(0x217)]='hook:',_0x383f3f[_0x53d290(0x1d1)]='hook';const _0x104411=_0x383f3f;if(!_0x44634a||_0x104411[_0x53d290(0x1cf)](typeof _0x44634a,_0x104411[_0x53d290(0x1e1)]))return[null,null];if(_0x104411['mfzVw'](_0x44634a['indexOf'](_0x104411[_0x53d290(0x217)]),-0x1)){const _0x4d6541=_0x44634a[_0x53d290(0x1d2)](_0x104411['Yzhko']);return[_0x4d6541[0x0][_0x53d290(0x21f)](0x0,-0x1)[_0x53d290(0x1d2)]('\x22')[0x1],_0x4d6541[0x1][_0x53d290(0x202)](0x1)];}else{if(_0x104411[_0x53d290(0x1cf)](_0x44634a[_0x53d290(0x209)](_0x104411['UIQZh']),-0x1)){const _0x29f9b8=_0x44634a[_0x53d290(0x1d2)](_0x104411[_0x53d290(0x1d1)]);return[_0x29f9b8[0x0][_0x53d290(0x21f)](0x0,-0x1)['split']('\x22')[0x1],_0x44634a];}}return[null,null];},exports[a35_0x2f2cb9(0x1e3)]=_0x4c91fb=>{const _0x2bb348=a35_0x2f2cb9,_0x18e6cc={'yYCSQ':function(_0x769211,_0x549ea6){return _0x769211(_0x549ea6);},'eFuor':'_beforeAll','jjXIY':_0x2bb348(0x223),'NXGWH':'_beforeEach','XAzPA':_0x2bb348(0x1eb)};if(!_0x4c91fb||!_0x4c91fb['parent'])return[];const _0x48503c=[];return[_0x18e6cc[_0x2bb348(0x1d3)],_0x18e6cc['jjXIY'],_0x18e6cc[_0x2bb348(0x220)],_0x18e6cc[_0x2bb348(0x1ef)]][_0x2bb348(0x219)](_0x4bbb51=>{const _0x19ee27=_0x2bb348,_0x57a966={'yHXaT':function(_0x201f59,_0x38907b){const _0x92da4b=a35_0x59ba;return _0x18e6cc[_0x92da4b(0x1fc)](_0x201f59,_0x38907b);}},_0x5f3f7d=_0x4c91fb[_0x19ee27(0x1dc)][_0x4bbb51]||[];_0x5f3f7d['forEach'](_0x48756d=>{const _0x378df5=_0x19ee27;_0x48756d[_0x378df5(0x20e)]&&!_0x57a966['yHXaT'](isInternalHook,_0x48756d['fn'])&&_0x48503c['push'](_0x48756d[_0x378df5(0x20e)]);});}),[..._0x48503c,...exports[_0x2bb348(0x1e3)](_0x4c91fb['parent'])];},exports[a35_0x2f2cb9(0x1ea)]=_0x5e2b5d=>{const _0x11ac9f=a35_0x2f2cb9,_0x56ee18={'NcVuD':function(_0x5a13bd){return _0x5a13bd();},'QhmTg':function(_0x1f406d,_0x70d650){return _0x1f406d===_0x70d650;},'NeHUR':'_afterEach','IjnxR':_0x11ac9f(0x1de),'mvUwF':_0x11ac9f(0x223),'ikZfO':'_beforeEach'};if(!_0x5e2b5d||!_0x5e2b5d[_0x11ac9f(0x1dc)])return;[_0x56ee18[_0x11ac9f(0x1f9)],_0x56ee18[_0x11ac9f(0x1fb)],_0x56ee18[_0x11ac9f(0x1f6)],_0x56ee18[_0x11ac9f(0x21c)]][_0x11ac9f(0x219)](_0x38dfe6=>{const _0x146bb9=_0x11ac9f,_0x2c70af=_0x5e2b5d[_0x146bb9(0x1dc)][_0x38dfe6]||[];_0x2c70af[_0x146bb9(0x219)](_0x32280d=>{const _0x4f8c6e=_0x146bb9;if(!_0x32280d['hookAnalyticsId'])_0x32280d[_0x4f8c6e(0x20e)]=_0x56ee18[_0x4f8c6e(0x1d8)](uuidv4);else _0x32280d[_0x4f8c6e(0x1df)]&&_0x56ee18['QhmTg'](_0x38dfe6,_0x56ee18[_0x4f8c6e(0x21c)])&&(_0x32280d[_0x4f8c6e(0x20e)]=_0x56ee18[_0x4f8c6e(0x1d8)](uuidv4),delete _0x32280d[_0x4f8c6e(0x1df)]);});}),exports[_0x11ac9f(0x1ea)](_0x5e2b5d['parent']);},exports[a35_0x2f2cb9(0x1f7)]=async(_0x14e8a2,_0xe44f4d)=>{const _0x15f4e7=a35_0x2f2cb9,_0x14fffd={'Biuup':function(_0x3e93ac){return _0x3e93ac();},'Jhbtd':function(_0x5d7ae6,_0x565792){return _0x5d7ae6(_0x565792);},'CHcXl':_0x15f4e7(0x21b),'SivnP':function(_0x5aa924,_0x1f9c2f){return _0x5aa924(_0x1f9c2f);},'SgfLr':function(_0xfc56d6,_0x1c3012){return _0xfc56d6===_0x1c3012;},'JoaXV':_0x15f4e7(0x1d9),'kMBJv':_0x15f4e7(0x1da),'iMDmu':'TEST_PLATFORM','IwKTN':function(_0x13f259,_0x5ebd2e){return _0x13f259(_0x5ebd2e);}};try{if(!_0x14fffd['Biuup'](shouldProcessEventForTesthub))return;const _0x2527f4=await _0x14e8a2[_0x15f4e7(0x203)](),_0x5779cc=await _0x14e8a2[_0x15f4e7(0x1d6)](),_0x586338={},_0x57c097=Object[_0x15f4e7(0x1f1)](_0x5779cc['getCapabilities']()[_0x15f4e7(0x1f5)]),_0x8892c4={'product':_0x14fffd[_0x15f4e7(0x221)](getObservabilityLinkedProductName,_0x57c097),'capabilities':_0x57c097,'platform':_0x2527f4['getPlatform'](),'platform_version':_0x2527f4[_0x15f4e7(0x1e7)](_0x14fffd[_0x15f4e7(0x20a)])?_0x2527f4[_0x15f4e7(0x1e7)](_0x14fffd['CHcXl']):_0x14fffd[_0x15f4e7(0x1cb)](getPlatformVersion,_0x14fffd['SgfLr'](global[_0x15f4e7(0x212)],_0x14fffd[_0x15f4e7(0x208)])),'browser':_0x2527f4[_0x15f4e7(0x1fa)](),'browser_version':_0x2527f4[_0x15f4e7(0x1cd)](),'session_id':_0x5779cc['toJSON']()};global[_0x15f4e7(0x212)]?_0x586338[global[_0x15f4e7(0x212)]]=_0x8892c4:_0x586338[_0x14fffd[_0x15f4e7(0x215)]]=_0x8892c4,process[_0x15f4e7(0x210)](_0x15f4e7(0x1e8)+process[_0x15f4e7(0x1f0)],{'timestamp':new Date()[_0x15f4e7(0x205)](),'level':null,'message':null,'kind':_0x14fffd[_0x15f4e7(0x20b)],'http_response':_0x586338,'uuid':_0xe44f4d});}catch(_0x9dbacc){_0x14fffd['IwKTN'](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x9dbacc);}},exports[a35_0x2f2cb9(0x1dd)]=_0x296867=>{const _0xd7c057=a35_0x2f2cb9,_0x7e8a7c={};_0x7e8a7c['ldRiW']=function(_0x173ef5,_0x5ad9aa){return _0x173ef5!==_0x5ad9aa;},_0x7e8a7c[_0xd7c057(0x1db)]=_0xd7c057(0x1f4),_0x7e8a7c['zzcrJ']=function(_0x50e8cc,_0x460e78){return _0x50e8cc!==_0x460e78;},_0x7e8a7c[_0xd7c057(0x222)]=_0xd7c057(0x1d7),_0x7e8a7c[_0xd7c057(0x1d0)]=_0xd7c057(0x1fe);const _0x35a8c5=_0x7e8a7c,_0x46bb42=_0x296867[_0xd7c057(0x20d)][_0xd7c057(0x1f3)]((_0x9a08d9,_0x333bd6)=>{const _0x5939d2=_0xd7c057,_0x53de37=exports['getHookSkippedTests'](_0x333bd6);return _0x53de37&&(_0x9a08d9=_0x9a08d9[_0x5939d2(0x204)](_0x53de37)),_0x9a08d9;},[]),_0x46b0fe=_0x296867[_0xd7c057(0x21e)][_0xd7c057(0x1e5)](_0xcbfc74=>{const _0x544fe0=_0xd7c057,_0x27f29c=_0x35a8c5[_0x544fe0(0x1ec)](_0xcbfc74[_0x544fe0(0x218)],_0x35a8c5['DiDNs'])&&!_0xcbfc74[_0x544fe0(0x1df)]&&_0x35a8c5[_0x544fe0(0x1f8)](_0xcbfc74[_0x544fe0(0x1e2)],_0x35a8c5[_0x544fe0(0x222)])&&_0x35a8c5['ldRiW'](_0xcbfc74[_0x544fe0(0x1e2)],_0x35a8c5[_0x544fe0(0x1d0)])&&!_0xcbfc74[_0x544fe0(0x1cc)];return _0x27f29c;});return _0x46b0fe['concat'](_0x46bb42);};
1
+ function a35_0x38ad(_0x14d342,_0x376300){const _0x4d10ab=a35_0x4d10();return a35_0x38ad=function(_0x38add3,_0x1c4bfd){_0x38add3=_0x38add3-0xd5;let _0x450f0a=_0x4d10ab[_0x38add3];return _0x450f0a;},a35_0x38ad(_0x14d342,_0x376300);}const a35_0x54d2cd=a35_0x38ad;(function(_0x2a8ff1,_0x2f4b37){const _0x4aa2f0=a35_0x38ad,_0x3c5f10=_0x2a8ff1();while(!![]){try{const _0x1f0978=-parseInt(_0x4aa2f0(0xdc))/0x1+parseInt(_0x4aa2f0(0x101))/0x2*(parseInt(_0x4aa2f0(0x12a))/0x3)+-parseInt(_0x4aa2f0(0x106))/0x4*(-parseInt(_0x4aa2f0(0x12b))/0x5)+parseInt(_0x4aa2f0(0xd8))/0x6*(parseInt(_0x4aa2f0(0x124))/0x7)+parseInt(_0x4aa2f0(0x12d))/0x8*(parseInt(_0x4aa2f0(0xf8))/0x9)+-parseInt(_0x4aa2f0(0xee))/0xa+-parseInt(_0x4aa2f0(0x116))/0xb;if(_0x1f0978===_0x2f4b37)break;else _0x3c5f10['push'](_0x3c5f10['shift']());}catch(_0x4c4e2a){_0x3c5f10['push'](_0x3c5f10['shift']());}}}(a35_0x4d10,0x4547b));const {v4:uuidv4}=require(a35_0x54d2cd(0x107)),{name,version}=require(a35_0x54d2cd(0xe1)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x54d2cd(0x10a)),{consoleHolder}=require(a35_0x54d2cd(0x10d)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a35_0x54d2cd(0x123)),{isFunction}=require(a35_0x54d2cd(0x11b)),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');function a35_0x4d10(){const _0x1adb11=['../../../helpers/test-observability/utils','nxpXv','vjcGj','../../../helpers/test-observability/constants','getBrowserName','state','parent','_afterAll','indexOf','unknown_grid','getBrowserVersion','fnSwT','3184797bjdirF','hook','sendPlatformDetails','getCapabilities','bs:addPlatformDetails:','lodash','get','getHooksForTest','suites','fromEntries','Jsxok','getPlatform','TEST_PLATFORM','../../../helpers/testhub/utils','37989hhmxAr','string','AyuHe','qsmgm','failed','map_','1698xLtfnF','5kDlxVy','gAXqP','176IPIjSp','_afterEach','NsCyN','toISOString','402cwasse','split','markedStatus','platformVersion','112517VExLlQ','zjXAp','Wdbrn','js-','filter','../../../../package.json','generic','passed','emit','getHookSkippedTests','HBJTQ','__cloud_provider___','MuEeL','push','getSession','VSVBZ','KfyIF','browserstack','4602250SJJKFR','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','_beforeAll','hookAnalyticsId','xVWZL','forEach','WTzvQ','JKvIV','wAadj','ZQdpn','166707XAOlqx','jLpSo','Aiznq','substring','NhKvo','slice','mapTestHooks','type','sBbCk','236SIvZMp','LRLyL','hgckm','RtPkG','concat','1232548uPHzSU','uuid','hook:','_beforeEach'];a35_0x4d10=function(){return _0x1adb11;};return a35_0x4d10();}patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x47a392=a35_0x54d2cd,_0x13756a={'Jsxok':_0x47a392(0xe2),'SzRlF':function(_0x4dfdfe){return _0x4dfdfe();}};return{'ci':_0x13756a[_0x47a392(0x120)],'key':_0x13756a['SzRlF'](uuidv4),'version':version,'collector':_0x47a392(0xdf)+name};},exports['getHookDetails']=_0x1cb820=>{const _0x5d1258=a35_0x54d2cd,_0x18363e={};_0x18363e[_0x5d1258(0xf9)]=function(_0x2d7176,_0x27f4fd){return _0x2d7176!==_0x27f4fd;},_0x18363e['EAQLe']=_0x5d1258(0x125),_0x18363e[_0x5d1258(0x10c)]=function(_0x395515,_0x4da6e5){return _0x395515!==_0x4da6e5;},_0x18363e[_0x5d1258(0xf6)]=_0x5d1258(0x108),_0x18363e[_0x5d1258(0x100)]=_0x5d1258(0x117);const _0x4f0882=_0x18363e;if(!_0x1cb820||_0x4f0882['jLpSo'](typeof _0x1cb820,_0x4f0882['EAQLe']))return[null,null];if(_0x4f0882[_0x5d1258(0x10c)](_0x1cb820[_0x5d1258(0x112)](_0x4f0882[_0x5d1258(0xf6)]),-0x1)){const _0x24f38b=_0x1cb820[_0x5d1258(0xd9)](_0x4f0882[_0x5d1258(0xf6)]);return[_0x24f38b[0x0][_0x5d1258(0xfd)](0x0,-0x1)[_0x5d1258(0xd9)]('\x22')[0x1],_0x24f38b[0x1][_0x5d1258(0xfb)](0x1)];}else{if(_0x4f0882[_0x5d1258(0x10c)](_0x1cb820['indexOf'](_0x4f0882['sBbCk']),-0x1)){const _0x3a1c07=_0x1cb820['split'](_0x4f0882[_0x5d1258(0x100)]);return[_0x3a1c07[0x0][_0x5d1258(0xfd)](0x0,-0x1)[_0x5d1258(0xd9)]('\x22')[0x1],_0x1cb820];}}return[null,null];},exports[a35_0x54d2cd(0x11d)]=_0x3fd4e2=>{const _0x1ddb15=a35_0x54d2cd,_0x4fde29={'HBJTQ':function(_0x38f7ab,_0x3992de){return _0x38f7ab(_0x3992de);},'qsmgm':'_beforeAll','KfyIF':_0x1ddb15(0x111),'Aiznq':_0x1ddb15(0x109),'NsCyN':_0x1ddb15(0xd5)};if(!_0x3fd4e2||!_0x3fd4e2[_0x1ddb15(0x110)])return[];const _0x47838c=[];return[_0x4fde29[_0x1ddb15(0x127)],_0x4fde29[_0x1ddb15(0xec)],_0x4fde29[_0x1ddb15(0xfa)],_0x4fde29[_0x1ddb15(0xd6)]]['forEach'](_0x3aaacf=>{const _0x1a02d3=_0x1ddb15,_0x10a726=_0x3fd4e2[_0x1a02d3(0x110)][_0x3aaacf]||[];_0x10a726[_0x1a02d3(0xf3)](_0x9565e1=>{const _0x2bcf2d=_0x1a02d3;_0x9565e1[_0x2bcf2d(0xf1)]&&!_0x4fde29[_0x2bcf2d(0xe6)](isInternalHook,_0x9565e1['fn'])&&_0x47838c[_0x2bcf2d(0xe9)](_0x9565e1['hookAnalyticsId']);});}),[..._0x47838c,...exports[_0x1ddb15(0x11d)](_0x3fd4e2['parent'])];},exports['mapTestHooks']=_0x24931c=>{const _0x39f454=a35_0x54d2cd,_0x265c53={'VSVBZ':function(_0x5384d4){return _0x5384d4();},'JKvIV':function(_0xf0ace1,_0x2c8dcc){return _0xf0ace1===_0x2c8dcc;},'WTzvQ':'_afterEach','nxpXv':_0x39f454(0xf0),'gAXqP':'_afterAll','RtPkG':_0x39f454(0x109)};if(!_0x24931c||!_0x24931c[_0x39f454(0x110)])return;[_0x265c53[_0x39f454(0x10b)],_0x265c53[_0x39f454(0x12c)],_0x265c53[_0x39f454(0x104)],_0x265c53['WTzvQ']][_0x39f454(0xf3)](_0x42478f=>{const _0x205ac5=_0x24931c['parent'][_0x42478f]||[];_0x205ac5['forEach'](_0x3e700d=>{const _0x10eab9=a35_0x38ad;if(!_0x3e700d[_0x10eab9(0xf1)])_0x3e700d['hookAnalyticsId']=_0x265c53['VSVBZ'](uuidv4);else _0x3e700d[_0x10eab9(0xda)]&&_0x265c53[_0x10eab9(0xf5)](_0x42478f,_0x265c53[_0x10eab9(0xf4)])&&(_0x3e700d['hookAnalyticsId']=_0x265c53[_0x10eab9(0xeb)](uuidv4),delete _0x3e700d['markedStatus']);});}),exports[_0x39f454(0xfe)](_0x24931c['parent']);},exports[a35_0x54d2cd(0x118)]=async(_0x2eb87a,_0x574c69)=>{const _0x540250=a35_0x54d2cd,_0x82c769={'xVWZL':function(_0x29ad60){return _0x29ad60();},'zjXAp':function(_0x474ea3,_0xe35900){return _0x474ea3(_0xe35900);},'LRLyL':_0x540250(0xdb),'oMUQe':function(_0x1b6d00,_0x38b2d3){return _0x1b6d00(_0x38b2d3);},'NhKvo':function(_0x336886,_0x50697e){return _0x336886===_0x50697e;},'fnSwT':_0x540250(0xed),'Wdbrn':_0x540250(0x113),'Lltsc':_0x540250(0x122)};try{if(!_0x82c769[_0x540250(0xf2)](shouldProcessEventForTesthub))return;const _0x135f18=await _0x2eb87a['getCapabilities'](),_0x5da2df=await _0x2eb87a[_0x540250(0xea)](),_0x27506d={},_0x48cad0=Object[_0x540250(0x11f)](_0x5da2df[_0x540250(0x119)]()[_0x540250(0x129)]),_0x2bdad5={'product':_0x82c769[_0x540250(0xdd)](getObservabilityLinkedProductName,_0x48cad0),'capabilities':_0x48cad0,'platform':_0x135f18[_0x540250(0x121)](),'platform_version':_0x135f18[_0x540250(0x11c)](_0x82c769[_0x540250(0x102)])?_0x135f18['get'](_0x82c769['LRLyL']):_0x82c769['oMUQe'](getPlatformVersion,_0x82c769[_0x540250(0xfc)](global[_0x540250(0xe7)],_0x82c769[_0x540250(0x115)])),'browser':_0x135f18[_0x540250(0x10e)](),'browser_version':_0x135f18[_0x540250(0x114)](),'session_id':_0x5da2df['toJSON']()};global[_0x540250(0xe7)]?_0x27506d[global[_0x540250(0xe7)]]=_0x2bdad5:_0x27506d[_0x82c769[_0x540250(0xde)]]=_0x2bdad5,process[_0x540250(0xe4)](_0x540250(0x11a)+process['pid'],{'timestamp':new Date()[_0x540250(0xd7)](),'level':null,'message':null,'kind':_0x82c769['Lltsc'],'http_response':_0x27506d,'uuid':_0x574c69});}catch(_0x40d4f1){_0x82c769['oMUQe'](debug,_0x540250(0xef)+_0x40d4f1);}},exports[a35_0x54d2cd(0xe5)]=_0x5a8b50=>{const _0x5e4b84=a35_0x54d2cd,_0x4ec588={};_0x4ec588[_0x5e4b84(0x103)]=function(_0x3d4ead,_0x24c52d){return _0x3d4ead!==_0x24c52d;},_0x4ec588[_0x5e4b84(0xe8)]=_0x5e4b84(0x117),_0x4ec588[_0x5e4b84(0xf7)]=_0x5e4b84(0xe3),_0x4ec588[_0x5e4b84(0x126)]=_0x5e4b84(0x128);const _0x1f0a58=_0x4ec588,_0x233a13=_0x5a8b50[_0x5e4b84(0x11e)]['reduce']((_0x86b34b,_0x323b88)=>{const _0x50314e=_0x5e4b84,_0x46a605=exports['getHookSkippedTests'](_0x323b88);return _0x46a605&&(_0x86b34b=_0x86b34b[_0x50314e(0x105)](_0x46a605)),_0x86b34b;},[]),_0x35ccc5=_0x5a8b50['tests'][_0x5e4b84(0xe0)](_0x6110b1=>{const _0x5c21c6=_0x5e4b84,_0x484c6a=_0x1f0a58[_0x5c21c6(0x103)](_0x6110b1[_0x5c21c6(0xff)],_0x1f0a58[_0x5c21c6(0xe8)])&&!_0x6110b1[_0x5c21c6(0xda)]&&_0x1f0a58[_0x5c21c6(0x103)](_0x6110b1['state'],_0x1f0a58[_0x5c21c6(0xf7)])&&_0x1f0a58['hgckm'](_0x6110b1[_0x5c21c6(0x10f)],_0x1f0a58[_0x5c21c6(0x126)])&&!_0x6110b1['pending'];return _0x484c6a;});return _0x35ccc5['concat'](_0x233a13);};
@@ -1 +1 @@
1
- const a36_0x536482=a36_0x4fe5;(function(_0x139483,_0x252268){const _0x43e9a7=a36_0x4fe5,_0x1f7f99=_0x139483();while(!![]){try{const _0x301aca=-parseInt(_0x43e9a7(0x1ce))/0x1+parseInt(_0x43e9a7(0x1fc))/0x2+-parseInt(_0x43e9a7(0x1a6))/0x3+parseInt(_0x43e9a7(0x18d))/0x4*(parseInt(_0x43e9a7(0x18b))/0x5)+-parseInt(_0x43e9a7(0x1db))/0x6*(parseInt(_0x43e9a7(0x1b0))/0x7)+-parseInt(_0x43e9a7(0x1a9))/0x8+parseInt(_0x43e9a7(0x1fe))/0x9;if(_0x301aca===_0x252268)break;else _0x1f7f99['push'](_0x1f7f99['shift']());}catch(_0x1e6896){_0x1f7f99['push'](_0x1f7f99['shift']());}}}(a36_0x3c17,0x4b330));const util=require(a36_0x536482(0x1e7)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x536482(0x19b)),accessibilityRetryHelper=require(a36_0x536482(0x20b)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x536482(0x1ef)),{percyAutoCapture}=require(a36_0x536482(0x236)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x536482(0x209)),PerformanceTester=require(a36_0x536482(0x1a5)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x536482(0x1c1)),globals=require(a36_0x536482(0x1f8)),logger=require(a36_0x536482(0x1af))[a36_0x536482(0x18c)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a36_0x536482(0x1a7));function a36_0x4fe5(_0x264c6c,_0xd3ee90){const _0x3c177e=a36_0x3c17();return a36_0x4fe5=function(_0x4fe506,_0x2bcde4){_0x4fe506=_0x4fe506-0x187;let _0x2090f1=_0x3c177e[_0x4fe506];return _0x2090f1;},a36_0x4fe5(_0x264c6c,_0xd3ee90);}function a36_0x3c17(){const _0x58477f=['FqglV','failed','app','beforeEach','../../helpers/logger','3962756soMSvQ','wKLds','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','HVwaX','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','isAccessibilityPlatform','afterTest','browserstackSessionName','SDK_HOOK','Kfier','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','DmbqA','YaXsA','percy','SESSION_STATUS','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','then','../../helpers/performance/constants','command','AiZwD','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','SYNC','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','BROWSERSTACK_TESTHUB_JWT','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','.\x20Error\x20:','getGlobal','SYAbv','currentTest','__skipSessionName','271331cYdVow','protocol','jfphy','debug','appium:app','WVSbr','SsLvZ','cPNWy','Mocha','uzXPN','finally','thBuildUuid','now','6kippFa','Accessibility\x20results\x20saved\x20successfully','hrJft','WeIqt','format','ibxTt','UEDIQ','CANyX','PlnOH','sessionName','afterAll','bQUOd','util','startMonitoring','SAVE_RESULTS','tRMNo','passed','mochaHooks','length','faBgK','../utils/constants','shift','hdoqx','Automate\x20test\x20case\x20execution\x20has\x20started.','browserstackTestName','TLUeB','HXYZr','Vrqxg','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','../../helpers/globals','accessibilityScanStarted','state','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','1221116vmdYDA','PERFORM_SCAN','9920664PMFfGf','jYQzr','MEHoU','err','testAnalyticsId','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','TErxU','timeout','MYcEg','__drivers','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','../../helpers/helper','parse','../../helpers/accessibility-automation/accessibilityRetryHelper','join','uIohx','grBUu','http:','icvvL','VVcfX','driverCleanup','BVfao','ILkmT','bstackA11yScanOptions','PTMgB','\x20-\x20','LifHZ','QZFTV','MnTKE','aXPCe','IrrKi','autoScanning','PVGjI','WykHd','WPhTk','iXQso','EEuQO','executeScript','env','UBPvP','testcase','session_','percyCaptureMode','__sessionFailed','end','fDsTG','FnoNX','performScanWithRetry','shouldScanTestForAccessibility','setGlobal','bstackA11yShouldScan','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','sessionNameSet__','ECkOS','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','XOKrV','../../helpers/percy/utils','titlePath','mTkXl','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','warn','initQuit','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','Failed\x20to\x20store\x20session\x20name:\x20','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','Accessibility\x20scan\x20completed\x20successfully','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','HcxGR','86270qgtkCM','winstonLogger','72NkKTgW','NiyYd','wpxQE','stringify','beforeAll','vrrMp','IQjOZ','ENV_VAR','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','index','__platformCaps','\x22}}','info','__error_messages__','../../helpers/accessibility-automation/helper','saveAccessibilityResultsWithRetry','measureWrapper','tFGya','quitCount_','ObservabilitySync:','https:','error','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','capabilities','../../helpers/performance/performance-tester','1302516RxivdR','../../helpers/testhub/constants','VJbhN','3550392jqkzZq','message'];a36_0x3c17=function(){return _0x58477f;};return a36_0x3c17();}exports[a36_0x536482(0x1ec)]={'beforeAll'(){const _0x576d94=a36_0x536482,_0xd65706={'IQjOZ':function(_0x5e811f,_0x198d12,_0xd278fc,_0x3cef1a){return _0x5e811f(_0x198d12,_0xd278fc,_0x3cef1a);},'aXPCe':_0x576d94(0x1ac),'jYQzr':'\x20|\x20','YaXsA':function(_0x4cd635,_0x5e3046,_0x1202d0){return _0x4cd635(_0x5e3046,_0x1202d0);},'TLUeB':_0x576d94(0x1eb),'wpxQE':function(_0x3d8b77){return _0x3d8b77();},'cPNWy':function(_0x437ad6,_0x3b1532,_0xe5103c){return _0x437ad6(_0x3b1532,_0xe5103c);},'QZFTV':_0x576d94(0x196),'ryBFK':_0x576d94(0x191)};PerformanceTester[_0x576d94(0x1e8)]();const _0x4f6096='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x10f816=_0x576d94;global['__error_messages__']=[],global[_0x10f816(0x229)]=![],global[_0x10f816(0x212)]=async()=>{const _0x2f79f6=_0x10f816;let _0x2478b7=![];try{await global[_0x2f79f6(0x207)][0x0][_0x2f79f6(0x227)],_0x2478b7=!![],global[_0x2f79f6(0x229)]?await _0xd65706[_0x2f79f6(0x193)](markSessionStatus,global[_0x2f79f6(0x207)][0x0],_0xd65706[_0x2f79f6(0x21b)],global[_0x2f79f6(0x19a)][_0x2f79f6(0x20c)](_0xd65706[_0x2f79f6(0x1ff)])):await _0xd65706[_0x2f79f6(0x1bc)](markSessionStatus,global['__drivers'][0x0],_0xd65706[_0x2f79f6(0x1f4)]);}catch(_0x26192b){logger[_0x2f79f6(0x1d1)](_0x2f79f6(0x203)+_0x26192b);}global[_0x2f79f6(0x19a)]=[],global[_0x2f79f6(0x229)]=![];if(_0x2478b7)try{try{_0xd65706[_0x2f79f6(0x18f)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0xd65706[_0x2f79f6(0x1d5)](sendPlatformDetails,global[_0x2f79f6(0x207)][0x0],this[_0x2f79f6(0x1cc)]?this[_0x2f79f6(0x1cc)][_0x2f79f6(0x202)]:null));}catch(_0x545924){logger[_0x2f79f6(0x1d1)](_0x2f79f6(0x1fb)+_0x545924);}await global[_0x2f79f6(0x207)][0x0][_0x2f79f6(0x23b)]();}catch(_0x2573ae){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x2573ae);}};},{'platform':_0xd65706[_0x576d94(0x1bc)](nestedKeyValue,global['__platformCaps'],[_0xd65706[_0x576d94(0x219)]]),'hookType':_0xd65706['ryBFK']})();},'beforeEach'(_0x4dffee){const _0x37c7fa=a36_0x536482,_0x191a6a={'rtZIC':function(_0xe30073,_0xd49174){return _0xe30073>_0xd49174;},'jfphy':function(_0x12b983,_0x7e1a92){return _0x12b983>_0x7e1a92;},'MYcEg':'\x20-\x20','VVcfX':function(_0xbcb59a,_0x2c4264,_0x11ca10){return _0xbcb59a(_0x2c4264,_0x11ca10);},'AhTiu':function(_0x4091c6,_0x20db70){return _0x4091c6===_0x20db70;},'iXQso':_0x37c7fa(0x230),'fwOqH':_0x37c7fa(0x215),'grBUu':function(_0x4a9633){return _0x4a9633();},'PVGjI':function(_0x48e977,_0x24a59d){return _0x48e977>_0x24a59d;},'dVfJK':_0x37c7fa(0x1b5),'ILkmT':_0x37c7fa(0x20f),'BVfao':function(_0x5793ee,_0x2e998d){return _0x5793ee===_0x2e998d;},'JQRJE':_0x37c7fa(0x1a1),'vojwI':_0x37c7fa(0x1bf),'Vrqxg':_0x37c7fa(0x1f2),'fDsTG':function(_0x33294d){return _0x33294d();},'VJbhN':_0x37c7fa(0x1f3),'MEHoU':_0x37c7fa(0x196),'IrrKi':_0x37c7fa(0x1ae)};globals[_0x37c7fa(0x22f)](_0x191a6a[_0x37c7fa(0x1a8)],this['currentTest']['titlePath']()[_0x37c7fa(0x20c)](_0x191a6a['MYcEg'])),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x3c5a86=_0x37c7fa,_0x21cd60={'tFGya':function(_0x263ad9){const _0x56880a=a36_0x4fe5;return _0x191a6a[_0x56880a(0x20e)](_0x263ad9);}},_0x5d61cc='browserstack internal helper hook';new Promise(async _0x267f02=>{const _0x183120=a36_0x4fe5;let _0x7716b7=!![];try{_0x191a6a['rtZIC'](global[_0x183120(0x207)][_0x183120(0x1ed)],0x1)&&(await global[_0x183120(0x212)](),global[_0x183120(0x207)][_0x183120(0x1f0)]()),_0x191a6a[_0x183120(0x1d0)](global['__drivers'][0x0][_0x183120(0x19f)],0x0)&&(_0x7716b7=![],await global[_0x183120(0x212)]());}catch(_0xd746bd){logger[_0x183120(0x1d1)](_0x183120(0x208)+_0xd746bd);}try{Array['isArray'](global[_0x183120(0x207)])&&global['__drivers'][0x0]&&(global[_0x183120(0x207)][0x0][_0x183120(0x1b7)]=this[_0x183120(0x1cc)][_0x183120(0x237)]()['join'](_0x191a6a[_0x183120(0x206)])),global['browserstackSessionName']=this[_0x183120(0x1cc)]['titlePath']()['join'](_0x191a6a[_0x183120(0x206)]);}catch(_0x1f41d3){logger[_0x183120(0x1d1)](_0x183120(0x23d)+_0x1f41d3);}this['currentTest'][_0x183120(0x22e)]=_0x191a6a['VVcfX'](shouldScanTestForAccessibility,this[_0x183120(0x1cc)][_0x183120(0x237)](),!![]);let _0xd941e0=!![];try{const _0x5c727d=JSON[_0x183120(0x20a)](process[_0x183120(0x224)][_0x183120(0x195)]||'{}');_0x191a6a['AhTiu'](_0x5c727d[_0x183120(0x21d)],![])&&(_0xd941e0=![]);}catch(_0x1242bb){logger[_0x183120(0x1d1)](_0x183120(0x1c6)+_0x1242bb[_0x183120(0x1aa)]);}const _0xc5a31b=_0xd941e0&&this[_0x183120(0x1cc)][_0x183120(0x22e)];globals[_0x183120(0x22f)](_0x191a6a[_0x183120(0x221)],_0xc5a31b),globals[_0x183120(0x22f)](_0x191a6a['fwOqH'],null),this['currentTest'][_0x183120(0x1f9)]=this[_0x183120(0x1cc)][_0x183120(0x22e)];if(_0x191a6a[_0x183120(0x20e)](isAccessibilityAutomationSession)&&_0x7716b7&&Array['isArray'](global[_0x183120(0x207)])&&_0x191a6a[_0x183120(0x21e)](global[_0x183120(0x207)][_0x183120(0x1ed)],0x0)&&globals[_0x183120(0x1ca)](_0x191a6a['dVfJK']))try{const _0x4b9ae6=await global['__drivers'][0x0][_0x183120(0x227)];if(_0x4b9ae6){let _0x34591d=!![];const _0x1b633f=await global[_0x183120(0x207)][0x0]['getCurrentUrl']();let _0xe83d4c;try{_0xe83d4c=new URL(_0x1b633f),_0x34591d=_0x191a6a['AhTiu'](_0xe83d4c['protocol'],_0x191a6a[_0x183120(0x214)])||_0x191a6a[_0x183120(0x213)](_0xe83d4c[_0x183120(0x1cf)],_0x191a6a['JQRJE']);}catch(_0x4230a4){_0x34591d=![];}_0x34591d&&(this[_0x183120(0x1cc)]['shouldScanTestForAccessibility']&&logger[_0x183120(0x199)](_0x191a6a['vojwI'])),this[_0x183120(0x1cc)][_0x183120(0x1f9)]=this[_0x183120(0x1cc)][_0x183120(0x22e)],_0xc5a31b&&logger[_0x183120(0x199)](_0x191a6a[_0x183120(0x1f6)]);}}catch(_0x13f554){logger[_0x183120(0x1a2)](_0x183120(0x1c8)+util[_0x183120(0x1df)](_0x13f554));}_0x191a6a[_0x183120(0x22b)](_0x267f02);})[_0x3c5a86(0x1c0)](()=>{const _0x52b01e=_0x3c5a86;_0x21cd60[_0x52b01e(0x19e)](_0x4dffee);});},{'platform':_0x191a6a[_0x37c7fa(0x211)](nestedKeyValue,global[_0x37c7fa(0x197)],[_0x191a6a[_0x37c7fa(0x200)]]),'hookType':_0x191a6a[_0x37c7fa(0x21c)]})();},'afterEach'(_0x23a6ce){const _0x316e99=a36_0x536482,_0x4eb9db={'XOKrV':function(_0x46749f,_0x53fc62){return _0x46749f!==_0x53fc62;},'IeeXr':_0x316e99(0x1eb),'UEDIQ':function(_0x443d66,_0x185bb0,_0x499748){return _0x443d66(_0x185bb0,_0x499748);},'mTkXl':function(_0x33c4fe,_0xc3811e){return _0x33c4fe+_0xc3811e;},'duKOX':'Failed:\x20','MnTKE':_0x316e99(0x1a2),'HcxGR':'Passed','FqglV':_0x316e99(0x199),'uIohx':function(_0xd69ca4,_0x3fc9b0){return _0xd69ca4>_0x3fc9b0;},'SYAbv':function(_0x267c03,_0x3021d2){return _0x267c03===_0x3021d2;},'AiZwD':_0x316e99(0x226),'icvvL':_0x316e99(0x1d2),'hrJft':function(_0x170f3a,_0x4fb61c,_0x37b5dd,_0x8e31e7){return _0x170f3a(_0x4fb61c,_0x37b5dd,_0x8e31e7);},'faBgK':_0x316e99(0x1b5),'SsLvZ':_0x316e99(0x1ba),'bQUOd':_0x316e99(0x230),'DmbqA':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','WeIqt':_0x316e99(0x1b6),'HVwaX':_0x316e99(0x188),'wKLds':_0x316e99(0x187),'WPhTk':_0x316e99(0x239),'HXYZr':_0x316e99(0x1dc),'PTMgB':_0x316e99(0x1a3),'FAApp':_0x316e99(0x1f7),'TErxU':function(_0x4e47a7){return _0x4e47a7();},'LifHZ':function(_0x46cbaf){return _0x46cbaf();},'HVEhR':_0x316e99(0x1d1),'FnoNX':_0x316e99(0x217),'uzXPN':function(_0x277a34){return _0x277a34();},'hdoqx':_0x316e99(0x1d6),'hqvxJ':_0x316e99(0x196),'uoLRx':'afterEach'},_0x376ad8='browserstack internal helper hook';this[_0x316e99(0x205)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4eb9db[_0x316e99(0x1f1)]]),global[_0x316e99(0x1e4)]=this[_0x316e99(0x1cc)][_0x316e99(0x237)]()[_0x316e99(0x20c)](_0x4eb9db[_0x316e99(0x22c)]),PerformanceTester[_0x316e99(0x19d)](PerformanceSdkEvents[_0x316e99(0x1b8)],()=>{const _0x466e55=_0x316e99,_0x3b6cc4={'tRMNo':_0x4eb9db[_0x466e55(0x22c)],'RtiqP':function(_0x409ce7){const _0x7dda8a=_0x466e55;return _0x4eb9db[_0x7dda8a(0x1d7)](_0x409ce7);}},_0x3956a6=async(_0xb06f9,_0x271574)=>{const _0x2cf967=_0x466e55;await global[_0x2cf967(0x207)][0x0][_0x2cf967(0x223)](_0x2cf967(0x1b2)+_0xb06f9+',\x22level\x22:\x20\x22'+_0x271574+_0x2cf967(0x198));};new Promise(async _0x5f380a=>{const _0x5692c9=_0x466e55,_0x2810a5={'WVSbr':function(_0x71e6b5,_0x14a73c){const _0x390f08=a36_0x4fe5;return _0x4eb9db[_0x390f08(0x235)](_0x71e6b5,_0x14a73c);},'NiyYd':_0x4eb9db['IeeXr'],'ECkOS':function(_0x5139cb,_0x25fb52,_0x58a94f){const _0x1fa50d=a36_0x4fe5;return _0x4eb9db[_0x1fa50d(0x1e1)](_0x5139cb,_0x25fb52,_0x58a94f);},'Kfier':function(_0x2f3369,_0x17d3c7){const _0x201e1d=a36_0x4fe5;return _0x4eb9db[_0x201e1d(0x238)](_0x2f3369,_0x17d3c7);},'ywYMt':_0x4eb9db['duKOX'],'vrrMp':_0x4eb9db[_0x5692c9(0x21a)],'PlnOH':_0x4eb9db[_0x5692c9(0x18a)],'ibxTt':_0x4eb9db[_0x5692c9(0x1ab)]};try{_0x4eb9db['uIohx'](global['__drivers'][_0x5692c9(0x1ed)],0x1)&&(await global['driverCleanup'](),global[_0x5692c9(0x207)]['shift'](),global[_0x5692c9(0x19a)]=[],global['__sessionFailed']=![]);try{if(global[_0x5692c9(0x1bd)]&&_0x4eb9db[_0x5692c9(0x1cb)](global[_0x5692c9(0x228)],_0x4eb9db[_0x5692c9(0x1c3)])&&global['__drivers'][0x0]){const _0x1d83b6=_0x4eb9db[_0x5692c9(0x20d)](global[_0x5692c9(0x1a4)][_0x5692c9(0x1ed)],0x0)?!!global[_0x5692c9(0x1a4)][0x0][_0x5692c9(0x1ad)]||!!global[_0x5692c9(0x1a4)][0x0][_0x4eb9db[_0x5692c9(0x210)]]:![],_0x4b6bf4={};_0x4b6bf4['app']=_0x1d83b6,await _0x4eb9db[_0x5692c9(0x1dd)](percyAutoCapture,global[_0x5692c9(0x207)][0x0],_0x4eb9db['AiZwD'],_0x4b6bf4);}}catch(_0x153205){logger['debug'](_0x5692c9(0x23c)+_0x153205);}!global[_0x5692c9(0x1cd)]&&(await PerformanceTester[_0x5692c9(0x19d)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x32c6b0=_0x5692c9;await global[_0x32c6b0(0x207)][0x0]['executeScript'](_0x32c6b0(0x1c4)+JSON[_0x32c6b0(0x190)](this[_0x32c6b0(0x1cc)]['titlePath']()[_0x32c6b0(0x20c)](_0x3b6cc4[_0x32c6b0(0x1ea)]))+'}}');})(),global[_0x5692c9(0x207)][0x0][_0x5692c9(0x232)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x5692c9(0x1be)],async()=>{const _0x30767e=_0x5692c9,_0x318541=_0x2810a5[_0x30767e(0x1d3)](this[_0x30767e(0x1cc)][_0x30767e(0x1fa)],_0x2810a5[_0x30767e(0x18e)]);_0x318541?(global[_0x30767e(0x229)]=!![],global[_0x30767e(0x19a)]['push'](this[_0x30767e(0x1cc)][_0x30767e(0x201)][_0x30767e(0x1aa)]),await _0x2810a5[_0x30767e(0x233)](_0x3956a6,JSON['stringify'](_0x2810a5[_0x30767e(0x1b9)](_0x2810a5['ywYMt'],this['currentTest'][_0x30767e(0x201)][_0x30767e(0x1aa)])),_0x2810a5[_0x30767e(0x192)])):await _0x2810a5['ECkOS'](_0x3956a6,JSON[_0x30767e(0x190)](_0x2810a5[_0x30767e(0x1e3)]),_0x2810a5[_0x30767e(0x1e0)]);})();}catch(_0x3e1f4d){logger[_0x5692c9(0x1d1)](_0x5692c9(0x189)+_0x3e1f4d);}try{if(this[_0x5692c9(0x1cc)]['accessibilityScanStarted']&&globals['getGlobal'](_0x4eb9db[_0x5692c9(0x1ee)])){logger['info'](_0x4eb9db[_0x5692c9(0x1d4)]);const _0x3a64e1={};_0x3a64e1['thTestRunUuid']=this[_0x5692c9(0x1cc)][_0x5692c9(0x202)],_0x3a64e1[_0x5692c9(0x1d9)]=process[_0x5692c9(0x224)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x3a64e1['thJwtToken']=process[_0x5692c9(0x224)][testHubConstants[_0x5692c9(0x194)][_0x5692c9(0x1c7)]];const _0x247600=_0x3a64e1;logger[_0x5692c9(0x1d1)](_0x5692c9(0x1b4)+JSON['stringify'](_0x247600));if(globals['getGlobal'](_0x4eb9db[_0x5692c9(0x1e6)])){logger[_0x5692c9(0x1d1)](_0x4eb9db[_0x5692c9(0x1bb)]);const _0x3c9a48={};_0x3c9a48[_0x5692c9(0x1c2)]=_0x4eb9db[_0x5692c9(0x1de)];const _0x3384c0=await PerformanceTester[_0x5692c9(0x19d)](PerformanceA11yEvents[_0x5692c9(0x1fd)],async()=>{const _0x23a7b9=_0x5692c9;return await accessibilityRetryHelper[_0x23a7b9(0x22d)](global[_0x23a7b9(0x207)][0x0],global['browserstackSessionName']);},_0x3c9a48)();_0x3384c0?logger[_0x5692c9(0x1d1)](_0x4eb9db[_0x5692c9(0x1b3)]):logger[_0x5692c9(0x23a)](_0x4eb9db[_0x5692c9(0x1b1)]);}else logger[_0x5692c9(0x1d1)](_0x4eb9db[_0x5692c9(0x220)]);const _0x4a7161=await PerformanceTester[_0x5692c9(0x19d)](PerformanceA11yEvents[_0x5692c9(0x1e9)],async()=>{const _0x41adcb=_0x5692c9;return await accessibilityRetryHelper[_0x41adcb(0x19c)](global[_0x41adcb(0x207)][0x0],_0x247600);})();_0x4a7161?logger[_0x5692c9(0x1d1)](_0x4eb9db[_0x5692c9(0x1f5)]):logger[_0x5692c9(0x23a)](_0x4eb9db[_0x5692c9(0x216)]),logger[_0x5692c9(0x199)](_0x4eb9db['FAApp']);}}catch(_0x400c10){logger[_0x5692c9(0x1a2)](_0x5692c9(0x234)+this['currentTest'][_0x5692c9(0x237)]()+_0x5692c9(0x1c9),_0x400c10);}try{try{if(_0x4eb9db[_0x5692c9(0x204)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x4eb9db[_0x5692c9(0x1e1)](sendPlatformDetails,global[_0x5692c9(0x207)][0x0],this[_0x5692c9(0x1cc)]?this[_0x5692c9(0x1cc)][_0x5692c9(0x202)]:null);if(_0x4eb9db[_0x5692c9(0x218)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x5692c9(0x1c5)]);const _0x2ed8fb=_0x5692c9(0x1a0)+Date[_0x5692c9(0x1da)]();await _0x4eb9db[_0x5692c9(0x1e1)](_0x3956a6,JSON[_0x5692c9(0x190)](_0x2ed8fb),_0x4eb9db['HVEhR']),PerformanceTester['end'](PerformanceO11yEvents[_0x5692c9(0x1c5)]);}}}catch(_0x129a50){logger['debug'](_0x5692c9(0x231)+_0x129a50),PerformanceTester[_0x5692c9(0x22a)](PerformanceO11yEvents[_0x5692c9(0x1c5)],![],_0x129a50);}_0x4eb9db[_0x5692c9(0x20d)](global['__drivers'][0x0][_0x5692c9(0x19f)],0x0)&&await global[_0x5692c9(0x212)]();}catch(_0x53cc36){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x53cc36);}_0x4eb9db[_0x5692c9(0x204)](_0x5f380a);})['then'](()=>{_0x3b6cc4['RtiqP'](_0x23a6ce);});},{'platform':_0x4eb9db[_0x316e99(0x1e1)](nestedKeyValue,global['__platformCaps'],[_0x4eb9db['hqvxJ']]),'hookType':_0x4eb9db['uoLRx']})();},'afterAll'(_0x5f10dc){const _0x22ed25=a36_0x536482,_0x496d83={'WykHd':function(_0x3cd667){return _0x3cd667();},'EEuQO':_0x22ed25(0x1d6),'CANyX':function(_0x2c2b95,_0x40d4f9,_0x3d1c63){return _0x2c2b95(_0x40d4f9,_0x3d1c63);},'UBPvP':'index','FUUFF':_0x22ed25(0x1e5)},_0x395dcc='browserstack internal helper hook';this[_0x22ed25(0x205)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x496d83[_0x22ed25(0x222)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x22ed25(0x1b8)],()=>{const _0x2a645c=_0x22ed25,_0x764c78={'ipegk':function(_0x4b6e27){const _0x3a4ad7=a36_0x4fe5;return _0x496d83[_0x3a4ad7(0x21f)](_0x4b6e27);}};new Promise(async _0x57d878=>{await global['driverCleanup'](),_0x764c78['ipegk'](_0x57d878);})[_0x2a645c(0x1c0)]()[_0x2a645c(0x1d8)](()=>{const _0x22c9e4=_0x2a645c;_0x496d83[_0x22c9e4(0x21f)](_0x5f10dc);});},{'platform':_0x496d83[_0x22ed25(0x1e2)](nestedKeyValue,global['__platformCaps'],[_0x496d83[_0x22ed25(0x225)]]),'hookType':_0x496d83['FUUFF']})();}};
1
+ function a36_0x5d45(_0x30333b,_0x2d1442){const _0x2a96fe=a36_0x2a96();return a36_0x5d45=function(_0x5d45c9,_0x3da0e){_0x5d45c9=_0x5d45c9-0x19a;let _0x57c965=_0x2a96fe[_0x5d45c9];return _0x57c965;},a36_0x5d45(_0x30333b,_0x2d1442);}const a36_0x6ab384=a36_0x5d45;function a36_0x2a96(){const _0x1a14bf=['YVnxY','session_','PosvL','QVfdQ','LIBzI','gGNfK','aTYKf','../../helpers/logger','SYNC','OeqQo','CAJvn','PERFORM_SCAN','3646419nNxuTu','ElDBD','timeout','push','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','JAuDq','saveAccessibilityResultsWithRetry','1131363UnYrCt','sessionName','nfklT','command','SgacO','percyCaptureMode','shouldScanTestForAccessibility','ctdRI','currentTest','http:','winstonLogger','JQyqi','GMaAs','NeLlE','AFaYA','701812cOdoZL','iGinB','thJwtToken','Wcljq','OQLqe','state','kgHhN','dgfRK','ZbILr','https:','__platformCaps','testcase','then','shift','bstackA11yShouldScan','accessibilityScanStarted','ENV_VAR','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','driverCleanup','__sessionFailed','xeMIv','eNZxM','kAOHO','NneQp','AoLsm','beforeEach','FVnct','index','nUlan','../../helpers/performance/performance-tester','error','SESSION_NAME','../utils/constants','gepKi','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','QZOpU','XcIrE','../../helpers/accessibility-automation/accessibilityRetryHelper','length','nyFns','bstackA11yScanOptions','ucwav','IrjDm','BodDF','executeScript','GRkvm','Failed:\x20','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','info','../../helpers/accessibility-automation/helper','browserstackSessionName','__error_messages__','ZIByj','isAccessibilityPlatform','OHTuE','yOYVn','\x20-\x20','117968wCiyJX','6DXiDrX','debug','mochaHooks','../../helpers/performance/constants','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','5903885zPFRmh','GgnRP','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','kkGxc','aqOsZ','BzDal','__skipSessionName','format','LUXaf','isArray','JrwdI','2372824nAKOrk','ZVehz','sxiRp','VKmTn','ZHwlO','Mocha','\x22}}','Automate\x20test\x20case\x20execution\x20has\x20started.','gCyQq','xQhLr','PIYET','join','TpwrT','app','zYOOj','SDK_HOOK','IowEd','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','vlHpG','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','testAnalyticsId','percy','paWbo','thBuildUuid','SAVE_RESULTS','./test-observability/mochaUtils','dCZqs','nVsxW','sCsJN','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','AFCst','IjvuR','env','protocol','3025aCHQHk','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','GUqTE','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','startMonitoring','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','../../helpers/testhub/constants','sessionNameSet__','28370UQAwII','end','549IjPCsU','iOLwQ','parse','MGTQh','finally','ObservabilitySync:','OjkJz','AGkWV','qBEPI','jNPQQ','srPaF','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','ffFSr','ejvwK','dgKFf','capabilities','.\x20Error\x20:','../../helpers/helper','afterAll','autoScanning','SESSION_STATUS','XSnZy','KhRFv','uIHTl','performScanWithRetry','xNPWL','OvhIw','stringify','PWpVC','ubVCW','oKEhX','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','KfiqS','getGlobal','message','HQHGr','6uiolDM','../../helpers/percy/utils','FJtyJ','XhKuS','warn','err','kbGSd','EqZaE','util','OyhBL','CdmOX','Passed','quitCount_','measureWrapper','__drivers','appium:app','setGlobal','keZEo','eosLO','titlePath','YbVmW','beforeAll','\x20|\x20','oAYjk'];a36_0x2a96=function(){return _0x1a14bf;};return a36_0x2a96();}(function(_0x739852,_0x10044c){const _0x2009d3=a36_0x5d45,_0x5aff92=_0x739852();while(!![]){try{const _0x47b7f8=-parseInt(_0x2009d3(0x1a8))/0x1+parseInt(_0x2009d3(0x1e2))/0x2*(parseInt(_0x2009d3(0x26d))/0x3)+-parseInt(_0x2009d3(0x1f2))/0x4+parseInt(_0x2009d3(0x1e7))/0x5+parseInt(_0x2009d3(0x242))/0x6*(-parseInt(_0x2009d3(0x266))/0x7)+parseInt(_0x2009d3(0x1e1))/0x8*(parseInt(_0x2009d3(0x21e))/0x9)+-parseInt(_0x2009d3(0x21c))/0xa*(parseInt(_0x2009d3(0x214))/0xb);if(_0x47b7f8===_0x10044c)break;else _0x5aff92['push'](_0x5aff92['shift']());}catch(_0xd9888){_0x5aff92['push'](_0x5aff92['shift']());}}}(a36_0x2a96,0x96470));const util=require(a36_0x6ab384(0x24a)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x6ab384(0x1d9)),accessibilityRetryHelper=require(a36_0x6ab384(0x1cd)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x6ab384(0x1c8)),{percyAutoCapture}=require(a36_0x6ab384(0x243)),{sendPlatformDetails}=require(a36_0x6ab384(0x20b)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x6ab384(0x22f)),PerformanceTester=require(a36_0x6ab384(0x1c5)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x6ab384(0x1e5)),globals=require('../../helpers/globals'),logger=require(a36_0x6ab384(0x261))[a36_0x6ab384(0x1a3)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a36_0x6ab384(0x21a));exports[a36_0x6ab384(0x1e4)]={'beforeAll'(){const _0x4b3a63=a36_0x6ab384,_0x388290={'kgHhN':function(_0x17986f,_0x3ac783,_0x5eac7c,_0x239364){return _0x17986f(_0x3ac783,_0x5eac7c,_0x239364);},'xQhLr':'failed','OeqQo':_0x4b3a63(0x258),'JQyqi':function(_0x1ec951,_0xbffeff,_0x497c66){return _0x1ec951(_0xbffeff,_0x497c66);},'jNPQQ':'passed','ffFSr':function(_0x49a648){return _0x49a648();},'xeMIv':function(_0x333f23,_0x48e3c5,_0x156b6e){return _0x333f23(_0x48e3c5,_0x156b6e);},'YbVmW':function(_0x4350ba,_0x84a700,_0x59a978){return _0x4350ba(_0x84a700,_0x59a978);},'dCZqs':'index','GgnRP':_0x4b3a63(0x257)};PerformanceTester[_0x4b3a63(0x218)]();const _0x5f2ba9='browserstack internal helper hook';PerformanceTester[_0x4b3a63(0x24f)](PerformanceSdkEvents[_0x4b3a63(0x201)],()=>{const _0x13dbdc=_0x4b3a63;global[_0x13dbdc(0x1db)]=[],global[_0x13dbdc(0x1bb)]=![],global[_0x13dbdc(0x1ba)]=async()=>{const _0x3040d1=_0x13dbdc;let _0x136ee2=![];try{await global[_0x3040d1(0x250)][0x0][_0x3040d1(0x25b)],_0x136ee2=!![],global[_0x3040d1(0x1bb)]?await _0x388290[_0x3040d1(0x1ae)](markSessionStatus,global[_0x3040d1(0x250)][0x0],_0x388290[_0x3040d1(0x1fb)],global['__error_messages__'][_0x3040d1(0x1fd)](_0x388290[_0x3040d1(0x263)])):await _0x388290[_0x3040d1(0x1a4)](markSessionStatus,global['__drivers'][0x0],_0x388290[_0x3040d1(0x227)]);}catch(_0x596487){logger[_0x3040d1(0x1e3)](_0x3040d1(0x219)+_0x596487);}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x136ee2)try{try{_0x388290[_0x3040d1(0x22a)](shouldProcessEventForTesthub)&&(global[_0x3040d1(0x250)][0x0]&&await _0x388290[_0x3040d1(0x1bc)](sendPlatformDetails,global[_0x3040d1(0x250)][0x0],this[_0x3040d1(0x1a1)]?this['currentTest'][_0x3040d1(0x206)]:null));}catch(_0x4a83d6){logger[_0x3040d1(0x1e3)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x4a83d6);}await global[_0x3040d1(0x250)][0x0]['initQuit']();}catch(_0x278936){logger['debug'](_0x3040d1(0x1ca)+_0x278936);}};},{'platform':_0x388290[_0x4b3a63(0x256)](nestedKeyValue,global[_0x4b3a63(0x1b2)],[_0x388290[_0x4b3a63(0x20c)]]),'hookType':_0x388290[_0x4b3a63(0x1e8)]})();},'beforeEach'(_0xc1e335){const _0x589e18=a36_0x6ab384,_0x4a9cf7={'BodDF':function(_0x127583,_0x5f21f3){return _0x127583>_0x5f21f3;},'PWpVC':function(_0x3a8bea,_0x473810){return _0x3a8bea>_0x473810;},'dgfRK':_0x589e18(0x1e0),'paWbo':function(_0x2602d3,_0x4904fb,_0x3b61e9){return _0x2602d3(_0x4904fb,_0x3b61e9);},'AFaYA':function(_0x663db2,_0x1317b8){return _0x663db2===_0x1317b8;},'kbGSd':_0x589e18(0x1b6),'gGNfK':_0x589e18(0x1d0),'GMaAs':function(_0x44bf9d){return _0x44bf9d();},'aqOsZ':function(_0x268c4b,_0x281f6c){return _0x268c4b>_0x281f6c;},'aTYKf':_0x589e18(0x1dd),'YVnxY':_0x589e18(0x1a2),'uIHTl':function(_0x4ab504,_0x4485f3){return _0x4ab504===_0x4485f3;},'ZbILr':_0x589e18(0x1b1),'SgacO':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','zuMDa':_0x589e18(0x1f9),'AoLsm':function(_0x14550c){return _0x14550c();},'IjvuR':'browserstackTestName','eMiXh':function(_0x27f7ae,_0x9e602,_0x249123){return _0x27f7ae(_0x9e602,_0x249123);},'EqZaE':_0x589e18(0x1c3),'vlHpG':_0x589e18(0x1c1)};globals[_0x589e18(0x252)](_0x4a9cf7[_0x589e18(0x211)],this[_0x589e18(0x1a1)][_0x589e18(0x255)]()[_0x589e18(0x1fd)](_0x4a9cf7[_0x589e18(0x1af)])),PerformanceTester[_0x589e18(0x24f)](PerformanceSdkEvents[_0x589e18(0x201)],()=>{const _0x4bd677=_0x589e18,_0x520da0={'oczRI':function(_0x426bee){const _0x56a3fb=a36_0x5d45;return _0x4a9cf7[_0x56a3fb(0x1c0)](_0x426bee);}},_0x1a9e34='browserstack internal helper hook';new Promise(async _0x313f30=>{const _0x1c7e67=a36_0x5d45;let _0x50a6a9=!![];try{_0x4a9cf7[_0x1c7e67(0x1d3)](global[_0x1c7e67(0x250)][_0x1c7e67(0x1ce)],0x1)&&(await global[_0x1c7e67(0x1ba)](),global[_0x1c7e67(0x250)][_0x1c7e67(0x1b5)]()),_0x4a9cf7[_0x1c7e67(0x23a)](global['__drivers'][0x0][_0x1c7e67(0x24e)],0x0)&&(_0x50a6a9=![],await global[_0x1c7e67(0x1ba)]());}catch(_0xde3f9a){logger[_0x1c7e67(0x1e3)](_0x1c7e67(0x1ca)+_0xde3f9a);}try{Array[_0x1c7e67(0x1f0)](global[_0x1c7e67(0x250)])&&global[_0x1c7e67(0x250)][0x0]&&(global[_0x1c7e67(0x250)][0x0][_0x1c7e67(0x1da)]=this[_0x1c7e67(0x1a1)][_0x1c7e67(0x255)]()[_0x1c7e67(0x1fd)](_0x4a9cf7['dgfRK'])),global[_0x1c7e67(0x1da)]=this[_0x1c7e67(0x1a1)]['titlePath']()['join'](_0x4a9cf7['dgfRK']);}catch(_0x23af1a){logger[_0x1c7e67(0x1e3)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x23af1a);}this[_0x1c7e67(0x1a1)][_0x1c7e67(0x19f)]=_0x4a9cf7[_0x1c7e67(0x208)](shouldScanTestForAccessibility,this[_0x1c7e67(0x1a1)][_0x1c7e67(0x255)](),!![]);let _0x4c90f5=!![];try{const _0x452f65=JSON[_0x1c7e67(0x220)](process[_0x1c7e67(0x212)][_0x1c7e67(0x1e9)]||'{}');_0x4a9cf7['AFaYA'](_0x452f65[_0x1c7e67(0x231)],![])&&(_0x4c90f5=![]);}catch(_0x56c2ab){logger[_0x1c7e67(0x1e3)](_0x1c7e67(0x203)+_0x56c2ab[_0x1c7e67(0x240)]);}const _0x16230c=_0x4c90f5&&this[_0x1c7e67(0x1a1)][_0x1c7e67(0x19f)];globals[_0x1c7e67(0x252)](_0x4a9cf7[_0x1c7e67(0x248)],_0x16230c),globals['setGlobal'](_0x4a9cf7[_0x1c7e67(0x25f)],null),this[_0x1c7e67(0x1a1)][_0x1c7e67(0x1b7)]=this[_0x1c7e67(0x1a1)][_0x1c7e67(0x19f)];if(_0x4a9cf7[_0x1c7e67(0x1a5)](isAccessibilityAutomationSession)&&_0x50a6a9&&Array['isArray'](global[_0x1c7e67(0x250)])&&_0x4a9cf7[_0x1c7e67(0x1eb)](global[_0x1c7e67(0x250)]['length'],0x0)&&globals[_0x1c7e67(0x23f)](_0x4a9cf7[_0x1c7e67(0x260)]))try{const _0xb96d9b=await global['__drivers'][0x0][_0x1c7e67(0x25b)];if(_0xb96d9b){let _0x25253e=!![];const _0x33eda4=await global['__drivers'][0x0]['getCurrentUrl']();let _0x547d6b;try{_0x547d6b=new URL(_0x33eda4),_0x25253e=_0x4a9cf7[_0x1c7e67(0x1a7)](_0x547d6b[_0x1c7e67(0x213)],_0x4a9cf7[_0x1c7e67(0x25a)])||_0x4a9cf7[_0x1c7e67(0x235)](_0x547d6b[_0x1c7e67(0x213)],_0x4a9cf7[_0x1c7e67(0x1b0)]);}catch(_0x17c69d){_0x25253e=![];}_0x25253e&&(this['currentTest'][_0x1c7e67(0x19f)]&&logger['info'](_0x4a9cf7[_0x1c7e67(0x19d)])),this['currentTest']['accessibilityScanStarted']=this['currentTest'][_0x1c7e67(0x19f)],_0x16230c&&logger[_0x1c7e67(0x1d8)](_0x4a9cf7['zuMDa']);}}catch(_0x222a9a){logger[_0x1c7e67(0x1c6)](_0x1c7e67(0x1d7)+util[_0x1c7e67(0x1ee)](_0x222a9a));}_0x4a9cf7[_0x1c7e67(0x1a5)](_0x313f30);})[_0x4bd677(0x1b4)](()=>{_0x520da0['oczRI'](_0xc1e335);});},{'platform':_0x4a9cf7['eMiXh'](nestedKeyValue,global[_0x589e18(0x1b2)],[_0x4a9cf7[_0x589e18(0x249)]]),'hookType':_0x4a9cf7[_0x589e18(0x204)]})();},'afterEach'(_0x3b785c){const _0x3cde1b=a36_0x6ab384,_0xd9e85a={'OHTuE':_0x3cde1b(0x1e0),'EiOJG':function(_0xdc2f11,_0x54bb22){return _0xdc2f11!==_0x54bb22;},'XhKuS':'passed','PIYET':function(_0x54a521,_0x4dd137,_0x56a4f6){return _0x54a521(_0x4dd137,_0x56a4f6);},'GRkvm':function(_0x467e7f,_0x4663b5){return _0x467e7f+_0x4663b5;},'ZIByj':_0x3cde1b(0x1d6),'BzDal':'error','HQHGr':function(_0x469940,_0x3dde32,_0x1a4d92){return _0x469940(_0x3dde32,_0x1a4d92);},'otmKn':_0x3cde1b(0x24d),'KhRFv':_0x3cde1b(0x1d8),'NneQp':function(_0x16dbcf,_0xe1d8c4){return _0x16dbcf>_0xe1d8c4;},'AGkWV':function(_0x147170,_0x583aef){return _0x147170===_0x583aef;},'QZOpU':_0x3cde1b(0x1b3),'UoqHc':function(_0x2a5c99,_0x211cbf){return _0x2a5c99>_0x211cbf;},'ysnOC':_0x3cde1b(0x251),'WOmMh':function(_0x153eb9,_0x26dc4e,_0x57e775,_0x67cc67){return _0x153eb9(_0x26dc4e,_0x57e775,_0x67cc67);},'kAOHO':_0x3cde1b(0x1dd),'nfklT':_0x3cde1b(0x205),'ejvwK':_0x3cde1b(0x1b6),'eosLO':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','MGTQh':'afterTest','NtLaU':'Accessibility\x20scan\x20completed\x20successfully','KfiqS':'Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','DGQXw':_0x3cde1b(0x26a),'OvhIw':'Accessibility\x20results\x20saved\x20successfully','aZKEX':_0x3cde1b(0x23d),'kkGxc':_0x3cde1b(0x1b9),'iGinB':function(_0x20c197){return _0x20c197();},'XhcKa':function(_0x2af4a1,_0x1221e7,_0x21c6ef){return _0x2af4a1(_0x1221e7,_0x21c6ef);},'iOLwQ':_0x3cde1b(0x1e3),'ElDBD':function(_0x45bff0){return _0x45bff0();},'ubVCW':function(_0x1cff3f){return _0x1cff3f();},'VKmTn':_0x3cde1b(0x1f7),'CdmOX':function(_0x5b35a6,_0x2d5711,_0x5892c0){return _0x5b35a6(_0x2d5711,_0x5892c0);},'OyhBL':_0x3cde1b(0x1c3),'xNPWL':'afterEach'},_0x5c22ba='browserstack internal helper hook';this[_0x3cde1b(0x268)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0xd9e85a[_0x3cde1b(0x1f5)]]),global[_0x3cde1b(0x19a)]=this[_0x3cde1b(0x1a1)][_0x3cde1b(0x255)]()[_0x3cde1b(0x1fd)](_0xd9e85a[_0x3cde1b(0x1de)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x3cde1b(0x201)],()=>{const _0x4bee80=_0x3cde1b,_0xcec614={'LIBzI':_0xd9e85a[_0x4bee80(0x1de)],'xmCQF':function(_0x4be480,_0x16749b){return _0xd9e85a['EiOJG'](_0x4be480,_0x16749b);},'GUqTE':_0xd9e85a[_0x4bee80(0x245)],'gepKi':function(_0x5a317a,_0xac3125,_0x2e1f11){const _0x3337c6=_0x4bee80;return _0xd9e85a[_0x3337c6(0x1fc)](_0x5a317a,_0xac3125,_0x2e1f11);},'sCsJN':function(_0x3b4a78,_0x1d6637){const _0x416718=_0x4bee80;return _0xd9e85a[_0x416718(0x1d5)](_0x3b4a78,_0x1d6637);},'dgKFf':_0xd9e85a[_0x4bee80(0x1dc)],'RIeRj':_0xd9e85a[_0x4bee80(0x1ec)],'ctdRI':function(_0x3dab79,_0x3cc674,_0x1f9918){const _0x24170c=_0x4bee80;return _0xd9e85a[_0x24170c(0x241)](_0x3dab79,_0x3cc674,_0x1f9918);},'zYOOj':_0xd9e85a['otmKn'],'sxiRp':_0xd9e85a[_0x4bee80(0x234)],'OQLqe':function(_0x4de163,_0x2ff91b){const _0x440eb0=_0x4bee80;return _0xd9e85a[_0x440eb0(0x1bf)](_0x4de163,_0x2ff91b);},'oKEhX':function(_0xb3e87d,_0x3643b1){const _0x2cb20a=_0x4bee80;return _0xd9e85a[_0x2cb20a(0x225)](_0xb3e87d,_0x3643b1);},'FJtyJ':_0xd9e85a[_0x4bee80(0x1cb)],'srPaF':function(_0x3cd557,_0x7420fa){return _0xd9e85a['UoqHc'](_0x3cd557,_0x7420fa);},'ChaED':_0xd9e85a['ysnOC'],'CAJvn':function(_0x2cc0f7,_0x372561,_0x346ed1,_0x3e1455){return _0xd9e85a['WOmMh'](_0x2cc0f7,_0x372561,_0x346ed1,_0x3e1455);},'LUXaf':_0xd9e85a[_0x4bee80(0x1be)],'TpwrT':_0xd9e85a[_0x4bee80(0x19b)],'xbsbO':_0xd9e85a[_0x4bee80(0x22b)],'AFCst':_0xd9e85a[_0x4bee80(0x254)],'XSnZy':_0xd9e85a[_0x4bee80(0x221)],'qBEPI':_0xd9e85a['NtLaU'],'YzDPY':_0xd9e85a[_0x4bee80(0x23e)],'oAYjk':_0xd9e85a['DGQXw'],'gCyQq':_0xd9e85a[_0x4bee80(0x238)],'keZEo':_0xd9e85a['aZKEX'],'JAuDq':_0xd9e85a[_0x4bee80(0x1ea)],'FVnct':function(_0xbb4d68){const _0x4d5783=_0x4bee80;return _0xd9e85a[_0x4d5783(0x1a9)](_0xbb4d68);},'zgLHD':function(_0x4fd9a1,_0x521d99,_0xaa83d8){const _0x2f6492=_0x4bee80;return _0xd9e85a[_0x2f6492(0x241)](_0x4fd9a1,_0x521d99,_0xaa83d8);},'yOYVn':function(_0x3feef5,_0x21c1b7,_0x23f56f){return _0xd9e85a['XhcKa'](_0x3feef5,_0x21c1b7,_0x23f56f);},'IrjDm':_0xd9e85a[_0x4bee80(0x21f)],'XcIrE':function(_0x47aa74){const _0x157c7d=_0x4bee80;return _0xd9e85a[_0x157c7d(0x267)](_0x47aa74);},'NeLlE':function(_0x1e76d0){const _0x3b740a=_0x4bee80;return _0xd9e85a[_0x3b740a(0x23b)](_0x1e76d0);}},_0xe7ca8b=async(_0x71778,_0x50fac2)=>{const _0x1f488f=_0x4bee80;await global[_0x1f488f(0x250)][0x0][_0x1f488f(0x1d4)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x71778+',\x22level\x22:\x20\x22'+_0x50fac2+_0x1f488f(0x1f8));};new Promise(async _0x131548=>{const _0x185cfd=_0x4bee80,_0x145754={'JrwdI':_0xcec614[_0x185cfd(0x25e)],'nVsxW':function(_0xd4427f,_0x3bc1e2){return _0xcec614['xmCQF'](_0xd4427f,_0x3bc1e2);},'OjkJz':_0xcec614[_0x185cfd(0x216)],'QVfdQ':function(_0x323cfe,_0x12f406,_0x140f64){const _0x36313b=_0x185cfd;return _0xcec614[_0x36313b(0x1c9)](_0x323cfe,_0x12f406,_0x140f64);},'DnjCt':function(_0x349aea,_0x317933){const _0x7a833f=_0x185cfd;return _0xcec614[_0x7a833f(0x20e)](_0x349aea,_0x317933);},'IowEd':_0xcec614[_0x185cfd(0x22c)],'PosvL':_0xcec614['RIeRj'],'nUlan':function(_0x143aa6,_0x308dc4,_0x300ae7){const _0x5c749a=_0x185cfd;return _0xcec614[_0x5c749a(0x1a0)](_0x143aa6,_0x308dc4,_0x300ae7);},'eNZxM':_0xcec614[_0x185cfd(0x200)],'nyFns':_0xcec614[_0x185cfd(0x1f4)]};try{_0xcec614[_0x185cfd(0x1ac)](global[_0x185cfd(0x250)][_0x185cfd(0x1ce)],0x1)&&(await global[_0x185cfd(0x1ba)](),global[_0x185cfd(0x250)][_0x185cfd(0x1b5)](),global[_0x185cfd(0x1db)]=[],global[_0x185cfd(0x1bb)]=![]);try{if(global[_0x185cfd(0x207)]&&_0xcec614[_0x185cfd(0x23c)](global[_0x185cfd(0x19e)],_0xcec614[_0x185cfd(0x244)])&&global[_0x185cfd(0x250)][0x0]){const _0x38ca82=_0xcec614[_0x185cfd(0x228)](global[_0x185cfd(0x22d)][_0x185cfd(0x1ce)],0x0)?!!global[_0x185cfd(0x22d)][0x0]['app']||!!global['capabilities'][0x0][_0xcec614['ChaED']]:![],_0x2c3584={};_0x2c3584[_0x185cfd(0x1ff)]=_0x38ca82,await _0xcec614[_0x185cfd(0x264)](percyAutoCapture,global[_0x185cfd(0x250)][0x0],_0xcec614[_0x185cfd(0x244)],_0x2c3584);}}catch(_0xd17c3d){logger[_0x185cfd(0x1e3)](_0x185cfd(0x215)+_0xd17c3d);}!global[_0x185cfd(0x1ed)]&&(await PerformanceTester[_0x185cfd(0x24f)](PerformanceAutEvents[_0x185cfd(0x1c7)],async()=>{const _0x2b4cb5=_0x185cfd;await global[_0x2b4cb5(0x250)][0x0][_0x2b4cb5(0x1d4)](_0x2b4cb5(0x217)+JSON['stringify'](this[_0x2b4cb5(0x1a1)][_0x2b4cb5(0x255)]()[_0x2b4cb5(0x1fd)](_0x145754[_0x2b4cb5(0x1f1)]))+'}}');})(),global[_0x185cfd(0x250)][0x0][_0x185cfd(0x21b)]=!![]),await PerformanceTester[_0x185cfd(0x24f)](PerformanceAutEvents[_0x185cfd(0x232)],async()=>{const _0x5333b3=_0x185cfd,_0x59482d=_0x145754[_0x5333b3(0x20d)](this[_0x5333b3(0x1a1)][_0x5333b3(0x1ad)],_0x145754[_0x5333b3(0x224)]);_0x59482d?(global[_0x5333b3(0x1bb)]=!![],global['__error_messages__'][_0x5333b3(0x269)](this[_0x5333b3(0x1a1)][_0x5333b3(0x247)][_0x5333b3(0x240)]),await _0x145754[_0x5333b3(0x25d)](_0xe7ca8b,JSON[_0x5333b3(0x239)](_0x145754['DnjCt'](_0x145754[_0x5333b3(0x202)],this['currentTest'][_0x5333b3(0x247)][_0x5333b3(0x240)])),_0x145754[_0x5333b3(0x25c)])):await _0x145754[_0x5333b3(0x1c4)](_0xe7ca8b,JSON[_0x5333b3(0x239)](_0x145754[_0x5333b3(0x1bd)]),_0x145754[_0x5333b3(0x1cf)]);})();}catch(_0x36eb26){logger[_0x185cfd(0x1e3)](_0x185cfd(0x1e6)+_0x36eb26);}try{if(this[_0x185cfd(0x1a1)][_0x185cfd(0x1b7)]&&globals[_0x185cfd(0x23f)](_0xcec614[_0x185cfd(0x1ef)])){logger[_0x185cfd(0x1d8)](_0xcec614[_0x185cfd(0x1fe)]);const _0x34d1c4={};_0x34d1c4['thTestRunUuid']=this[_0x185cfd(0x1a1)]['testAnalyticsId'],_0x34d1c4[_0x185cfd(0x209)]=process[_0x185cfd(0x212)][testHubConstants[_0x185cfd(0x1b8)]['BROWSERSTACK_TESTHUB_UUID']],_0x34d1c4[_0x185cfd(0x1aa)]=process['env'][testHubConstants[_0x185cfd(0x1b8)]['BROWSERSTACK_TESTHUB_JWT']];const _0x185fdb=_0x34d1c4;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x185cfd(0x239)](_0x185fdb));if(globals[_0x185cfd(0x23f)](_0xcec614['xbsbO'])){logger[_0x185cfd(0x1e3)](_0xcec614[_0x185cfd(0x210)]);const _0x46fede={};_0x46fede[_0x185cfd(0x19c)]=_0xcec614[_0x185cfd(0x233)];const _0x2dcc34=await PerformanceTester[_0x185cfd(0x24f)](PerformanceA11yEvents[_0x185cfd(0x265)],async()=>{const _0x45e645=_0x185cfd;return await accessibilityRetryHelper[_0x45e645(0x236)](global['__drivers'][0x0],global[_0x45e645(0x1da)]);},_0x46fede)();_0x2dcc34?logger['debug'](_0xcec614[_0x185cfd(0x226)]):logger['warn'](_0xcec614['YzDPY']);}else logger[_0x185cfd(0x1e3)](_0xcec614[_0x185cfd(0x259)]);const _0x4bcd3f=await PerformanceTester[_0x185cfd(0x24f)](PerformanceA11yEvents[_0x185cfd(0x20a)],async()=>{const _0x322386=_0x185cfd;return await accessibilityRetryHelper[_0x322386(0x26c)](global['__drivers'][0x0],_0x185fdb);})();_0x4bcd3f?logger['debug'](_0xcec614[_0x185cfd(0x1fa)]):logger[_0x185cfd(0x246)](_0xcec614[_0x185cfd(0x253)]),logger['info'](_0xcec614[_0x185cfd(0x26b)]);}}catch(_0x4e85c7){logger[_0x185cfd(0x1c6)](_0x185cfd(0x229)+this[_0x185cfd(0x1a1)][_0x185cfd(0x255)]()+_0x185cfd(0x22e),_0x4e85c7);}try{try{if(_0xcec614[_0x185cfd(0x1c2)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0xcec614['zgLHD'](sendPlatformDetails,global[_0x185cfd(0x250)][0x0],this['currentTest']?this[_0x185cfd(0x1a1)][_0x185cfd(0x206)]:null);if(_0xcec614[_0x185cfd(0x1c2)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents['SYNC']);const _0x4405db=_0x185cfd(0x223)+Date['now']();await _0xcec614[_0x185cfd(0x1df)](_0xe7ca8b,JSON[_0x185cfd(0x239)](_0x4405db),_0xcec614[_0x185cfd(0x1d2)]),PerformanceTester[_0x185cfd(0x21d)](PerformanceO11yEvents[_0x185cfd(0x262)]);}}}catch(_0x1556e9){logger[_0x185cfd(0x1e3)](_0x185cfd(0x20f)+_0x1556e9),PerformanceTester[_0x185cfd(0x21d)](PerformanceO11yEvents[_0x185cfd(0x262)],![],_0x1556e9);}_0xcec614[_0x185cfd(0x228)](global['__drivers'][0x0][_0x185cfd(0x24e)],0x0)&&await global[_0x185cfd(0x1ba)]();}catch(_0x49708f){logger[_0x185cfd(0x1e3)](_0x185cfd(0x1ca)+_0x49708f);}_0xcec614[_0x185cfd(0x1cc)](_0x131548);})[_0x4bee80(0x1b4)](()=>{const _0x4533a2=_0x4bee80;_0xcec614[_0x4533a2(0x1a6)](_0x3b785c);});},{'platform':_0xd9e85a[_0x3cde1b(0x24c)](nestedKeyValue,global[_0x3cde1b(0x1b2)],[_0xd9e85a[_0x3cde1b(0x24b)]]),'hookType':_0xd9e85a[_0x3cde1b(0x237)]})();},'afterAll'(_0x55342b){const _0x5385f1=a36_0x6ab384,_0x5947d1={'eWycW':function(_0xc1562f){return _0xc1562f();},'ZVehz':function(_0x45213e){return _0x45213e();},'YduCH':_0x5385f1(0x1f7),'vEKhu':function(_0x512140,_0x140249,_0x4248be){return _0x512140(_0x140249,_0x4248be);},'ucwav':'index','ZHwlO':_0x5385f1(0x230)},_0xaedff8='browserstack internal helper hook';this[_0x5385f1(0x268)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x5947d1['YduCH']]),PerformanceTester[_0x5385f1(0x24f)](PerformanceSdkEvents[_0x5385f1(0x201)],()=>{const _0x223575=_0x5385f1,_0x7bfbb2={'Wcljq':function(_0x1ba524){const _0x2495f3=a36_0x5d45;return _0x5947d1[_0x2495f3(0x1f3)](_0x1ba524);}};new Promise(async _0x4d0990=>{await global['driverCleanup'](),_0x5947d1['eWycW'](_0x4d0990);})[_0x223575(0x1b4)]()[_0x223575(0x222)](()=>{const _0x7004ac=_0x223575;_0x7bfbb2[_0x7004ac(0x1ab)](_0x55342b);});},{'platform':_0x5947d1['vEKhu'](nestedKeyValue,global[_0x5385f1(0x1b2)],[_0x5947d1[_0x5385f1(0x1d1)]]),'hookType':_0x5947d1[_0x5385f1(0x1f6)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a37_0x1012f5=a37_0x18cd;(function(_0xd55766,_0x14d0ba){const _0x3421dc=a37_0x18cd,_0x5e93d0=_0xd55766();while(!![]){try{const _0x581e84=parseInt(_0x3421dc(0x17a))/0x1+-parseInt(_0x3421dc(0x184))/0x2*(parseInt(_0x3421dc(0x1a1))/0x3)+-parseInt(_0x3421dc(0x1ae))/0x4+-parseInt(_0x3421dc(0x17c))/0x5*(-parseInt(_0x3421dc(0x175))/0x6)+-parseInt(_0x3421dc(0x199))/0x7+-parseInt(_0x3421dc(0x173))/0x8*(-parseInt(_0x3421dc(0x1b2))/0x9)+parseInt(_0x3421dc(0x1af))/0xa;if(_0x581e84===_0x14d0ba)break;else _0x5e93d0['push'](_0x5e93d0['shift']());}catch(_0x38f509){_0x5e93d0['push'](_0x5e93d0['shift']());}}}(a37_0xd690,0xc4567));function a37_0xd690(){const _0xd46e42=['2119922sZZRYz','yipOh','xTLJW','now','start_process','qaWkM','dSYVx','hCGyD','825sJAsTv','--env','path','nightwatch-browserstack.json','RnLiS','findIndex','existsSync','forEach','push','../../helpers/BrowserStackSetup','winstonLogger','test','env','3655312cTyPTT','4045850ZtNzDM','child_process','writeFileSync','1136952EEBYOi','wQhHb','debug','inherit','filter','host','test_settings','CrYam','iYYFd','nightwatch','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','puzds','64ZGqTCn','BkRxX','12NLMLyw','cwd','modifyBrowserStackCaps','Getting\x20your\x20nightwatch\x20configs\x20from\x20','jWIEt','1072067QUBxTe','hub.browserstack.com','2406930QAKeOd','modifyBrowserStackW3CCaps','jaqEW','split','mergeDeep','bKvxK','../../helpers/logger','splice','10394eZsIfL','map','isUndefined','KwxOW','IywGZ','platform','exports','IRNqB','nightwatch.json','join','desiredCapabilities','useW3C','whqyt','config','info','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','trim','ftWhy','webdriver','--config','cJnoc'];a37_0xd690=function(){return _0xd46e42;};return a37_0xd690();}const fs=require('fs'),path=require(a37_0x1012f5(0x1a3)),{spawn}=require(a37_0x1012f5(0x1b0)),logger=require(a37_0x1012f5(0x182))[a37_0x1012f5(0x1ab)],{default:BrowserStackSetup}=require(a37_0x1012f5(0x1aa)),helper=require('../../helpers/helper'),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0xacc487,_0x1b5eee)=>{const _0x2221db=a37_0x1012f5,_0x8d23d9={'RnLiS':'nightwatch.conf.js','xTLJW':_0x2221db(0x18c),'wQhHb':function(_0x45dbe8,_0x55c45f){return _0x45dbe8(_0x55c45f);},'qaWkM':_0x2221db(0x193)};let _0x3911c4=null,_0x496885={};const _0x676c1b=_0x1b5eee[_0x2221db(0x1a6)](_0x5847e2=>_0x5847e2===_0x2221db(0x197));if(!helper[_0x2221db(0x186)](_0xacc487[_0x2221db(0x191)])&&fs[_0x2221db(0x1a7)](path[_0x2221db(0x18d)](process[_0x2221db(0x176)](),_0xacc487[_0x2221db(0x191)])))_0x3911c4=path['join'](process['cwd'](),_0xacc487[_0x2221db(0x191)]),_0x1b5eee[_0x2221db(0x183)](_0x676c1b,0x2);else{if(fs['existsSync'](path[_0x2221db(0x18d)](process[_0x2221db(0x176)](),_0x8d23d9[_0x2221db(0x1a5)])))_0x3911c4=path[_0x2221db(0x18d)](process[_0x2221db(0x176)](),_0x8d23d9[_0x2221db(0x1a5)]);else fs[_0x2221db(0x1a7)](path[_0x2221db(0x18d)](process['cwd'](),_0x8d23d9[_0x2221db(0x19b)]))&&(_0x3911c4=path[_0x2221db(0x18d)](process['cwd'](),_0x8d23d9[_0x2221db(0x19b)]));}return _0x3911c4?(logger[_0x2221db(0x192)](_0x2221db(0x178)+_0x3911c4),_0x496885=_0x8d23d9[_0x2221db(0x1b3)](require,_0x3911c4)):logger[_0x2221db(0x192)](_0x8d23d9[_0x2221db(0x19e)]),_0x496885;},removeExistingEnvs=_0x226917=>{const _0xb27b34=a37_0x1012f5,_0x3e6087={};_0x3e6087[_0xb27b34(0x179)]=function(_0x51ed21,_0x376929){return _0x51ed21>_0x376929;};const _0x362b4a=_0x3e6087;let _0x113a8e=_0x226917[_0xb27b34(0x1a6)](_0x5e6131=>_0x5e6131==='--env');_0x362b4a[_0xb27b34(0x179)](_0x113a8e,-0x1)&&_0x226917['splice'](_0x113a8e,0x2),_0x113a8e=_0x226917[_0xb27b34(0x1a6)](_0x5ac8bd=>_0x5ac8bd==='-e'),_0x362b4a[_0xb27b34(0x179)](_0x113a8e,-0x1)&&_0x226917[_0xb27b34(0x183)](_0x113a8e,0x2);};function a37_0x18cd(_0x21662f,_0x367d63){const _0xd690f8=a37_0xd690();return a37_0x18cd=function(_0x18cd19,_0x46028d){_0x18cd19=_0x18cd19-0x16d;let _0x32dbc5=_0xd690f8[_0x18cd19];return _0x32dbc5;},a37_0x18cd(_0x21662f,_0x367d63);}function run(_0x49fa60,_0x59b9ad,_0x2cc282){const _0x4818ed=a37_0x1012f5,_0x410552={'cJnoc':_0x4818ed(0x170),'nUDUe':function(_0x3b045c,_0x2ff197){return _0x3b045c+_0x2ff197;},'IywGZ':_0x4818ed(0x16d),'hCGyD':function(_0x1eedf5,_0x3c9057,_0x3c2bb4){return _0x1eedf5(_0x3c9057,_0x3c2bb4);},'whqyt':_0x4818ed(0x17b),'yipOh':_0x4818ed(0x171),'bKvxK':function(_0x5995cc,_0x3319bc){return _0x5995cc===_0x3319bc;},'IRNqB':_0x4818ed(0x1a4),'iYYFd':function(_0x354832,_0x50cd27){return _0x354832(_0x50cd27);},'BkRxX':function(_0x1af109,_0x2f5bc8,_0x2125f1,_0xb90b96){return _0x1af109(_0x2f5bc8,_0x2125f1,_0xb90b96);},'dSYVx':'nightwatch.cmd','rLqNO':_0x4818ed(0x197),'ftWhy':_0x4818ed(0x1a2),'puzds':_0x4818ed(0x1b5),'jaqEW':'close'};if(!_0x2cc282[_0x4818ed(0x191)])return;const _0x4d4e3c=_0x410552[_0x4818ed(0x1a0)](getUserNightwatchConfigs,_0x49fa60,_0x59b9ad),_0x15e3b0={};_0x15e3b0[_0x4818ed(0x19d)]=![];const _0x5c76e0={};_0x5c76e0[_0x4818ed(0x1b7)]=_0x410552[_0x4818ed(0x190)],_0x5c76e0['port']=0x1bb;const _0x2bfbf6={};_0x2bfbf6[_0x4818ed(0x196)]=_0x15e3b0,_0x2bfbf6['selenium']=_0x5c76e0;const _0x36d989=_0x2bfbf6;logger[_0x4818ed(0x192)](_0x410552[_0x4818ed(0x19a)]);const _0x3f9dc1={..._0x4d4e3c},_0x29f836=_0x3f9dc1,_0x2486c0=helper[_0x4818ed(0x18f)](_0x2cc282[_0x4818ed(0x191)]),_0x13fe73=[];_0x2cc282[_0x4818ed(0x191)]['platforms'][_0x4818ed(0x1a8)]((_0x399b3a,_0x4ebed2)=>{const _0xb14fc4=_0x4818ed;_0x2486c0?_0x13fe73[_0xb14fc4(0x1a9)](helper[_0xb14fc4(0x17d)](_0x2cc282[_0xb14fc4(0x191)],_0x410552[_0xb14fc4(0x198)],_0x4ebed2)):_0x13fe73[_0xb14fc4(0x1a9)](helper[_0xb14fc4(0x177)](_0x2cc282[_0xb14fc4(0x191)],_0x410552[_0xb14fc4(0x198)],_0x4ebed2));});const _0x17758c={},_0x5326b0=[];_0x49fa60[_0x4818ed(0x1ad)]=_0x49fa60[_0x4818ed(0x1ad)]||_0x49fa60['e'];const _0xe52726=_0x49fa60[_0x4818ed(0x1ad)]?_0x49fa60[_0x4818ed(0x1ad)][_0x4818ed(0x194)]()[_0x4818ed(0x17f)](',')[_0x4818ed(0x185)](_0x44b46d=>_0x44b46d[_0x4818ed(0x194)]())[_0x4818ed(0x1b6)](_0x4b4f5c=>_0x4b4f5c!==''):[''];_0x410552[_0x4818ed(0x181)](_0xe52726['length'],0x0)&&_0xe52726[_0x4818ed(0x1a9)]('');_0xe52726['forEach'](_0xa6492=>{const _0x2116e6=_0x4818ed,_0x4034ad={'CrYam':function(_0x14ca15,_0x3dbe9b){return _0x410552['nUDUe'](_0x14ca15,_0x3dbe9b);},'KwxOW':_0x410552[_0x2116e6(0x188)]};_0x13fe73[_0x2116e6(0x1a8)](_0x47c12a=>{const _0x3cd46e=_0x2116e6;let _0x549eb8=_0x4034ad[_0x3cd46e(0x16e)](helper['getPlatformName'](_0x47c12a,'_'),'_'+Date[_0x3cd46e(0x19c)]());_0xa6492&&(_0x549eb8+='_'+_0xa6492);if(_0xa6492&&(!_0x4d4e3c[_0x4034ad[_0x3cd46e(0x187)]]||!_0x4d4e3c[_0x4034ad[_0x3cd46e(0x187)]][_0xa6492]))return;const _0x1761c8={..._0x36d989};_0x1761c8[_0x3cd46e(0x18e)]=_0x47c12a;const _0x19460b=_0x1761c8;_0x17758c[_0x549eb8]=_0xa6492?helper[_0x3cd46e(0x180)](_0x4d4e3c[_0x4034ad[_0x3cd46e(0x187)]][_0xa6492],_0x19460b):_0x19460b,_0x5326b0['push'](_0x549eb8);});});!_0x29f836[_0x4818ed(0x16d)]&&(_0x29f836[_0x4818ed(0x16d)]={});_0x29f836[_0x4818ed(0x16d)]={..._0x29f836['test_settings'],..._0x17758c};const _0x986120=path[_0x4818ed(0x18d)](__dirname,_0x410552[_0x4818ed(0x18b)]);fs[_0x4818ed(0x1b1)](_0x986120,JSON['stringify'](_0x29f836)),_0x410552[_0x4818ed(0x16f)](removeExistingEnvs,_0x59b9ad);const _0x29dcc7=_0x410552[_0x4818ed(0x174)](spawn,/^win/[_0x4818ed(0x1ac)](process[_0x4818ed(0x189)])?_0x410552[_0x4818ed(0x19f)]:_0x410552['cJnoc'],[_0x410552['rLqNO'],_0x986120,..._0x59b9ad['slice'](0x1),_0x410552[_0x4818ed(0x195)],_0x5326b0[_0x4818ed(0x18d)](',')],{'stdio':_0x410552[_0x4818ed(0x172)]});_0x29dcc7['on'](_0x410552[_0x4818ed(0x17e)],async _0x3a27b=>{const _0x5ba759=_0x4818ed;logger[_0x5ba759(0x1b4)]('child\x20process\x20exited\x20with\x20code\x20'+_0x3a27b),logger[_0x5ba759(0x192)]('Deleting\x20'+_0x986120),fs['unlinkSync'](_0x986120);});}module[a37_0x1012f5(0x18a)]=run;
2
+ 'use strict';const a37_0x1882c9=a37_0x2c72;(function(_0x327bff,_0x3462b3){const _0x4dd0b4=a37_0x2c72,_0x33ba8e=_0x327bff();while(!![]){try{const _0xfe7576=-parseInt(_0x4dd0b4(0x171))/0x1+-parseInt(_0x4dd0b4(0x139))/0x2*(-parseInt(_0x4dd0b4(0x137))/0x3)+parseInt(_0x4dd0b4(0x168))/0x4*(-parseInt(_0x4dd0b4(0x15c))/0x5)+parseInt(_0x4dd0b4(0x15a))/0x6*(parseInt(_0x4dd0b4(0x14f))/0x7)+parseInt(_0x4dd0b4(0x165))/0x8+parseInt(_0x4dd0b4(0x13f))/0x9*(parseInt(_0x4dd0b4(0x151))/0xa)+parseInt(_0x4dd0b4(0x13e))/0xb*(-parseInt(_0x4dd0b4(0x131))/0xc);if(_0xfe7576===_0x3462b3)break;else _0x33ba8e['push'](_0x33ba8e['shift']());}catch(_0xe3da60){_0x33ba8e['push'](_0x33ba8e['shift']());}}}(a37_0x39fb,0xba505));function a37_0x2c72(_0x48a1c2,_0x4618fd){const _0x39fb73=a37_0x39fb();return a37_0x2c72=function(_0x2c72d4,_0xf6d61c){_0x2c72d4=_0x2c72d4-0x131;let _0x42d185=_0x39fb73[_0x2c72d4];return _0x42d185;},a37_0x2c72(_0x48a1c2,_0x4618fd);}const fs=require('fs'),path=require(a37_0x1882c9(0x175)),{spawn}=require('child_process'),logger=require(a37_0x1882c9(0x154))[a37_0x1882c9(0x15e)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x2d0e1a,_0x558e35)=>{const _0x104e99=a37_0x1882c9,_0x238aaa={'PjLgQ':_0x104e99(0x178),'FQbPM':_0x104e99(0x17c),'hMPdz':function(_0x457723,_0xf5d018){return _0x457723(_0xf5d018);},'YRdAf':_0x104e99(0x179)};let _0x5a712c=null,_0x5da5e0={};const _0x307676=_0x558e35[_0x104e99(0x13c)](_0x179c57=>_0x179c57===_0x104e99(0x13a));if(!helper[_0x104e99(0x170)](_0x2d0e1a['config'])&&fs[_0x104e99(0x155)](path[_0x104e99(0x141)](process[_0x104e99(0x152)](),_0x2d0e1a[_0x104e99(0x147)])))_0x5a712c=path[_0x104e99(0x141)](process['cwd'](),_0x2d0e1a[_0x104e99(0x147)]),_0x558e35[_0x104e99(0x16a)](_0x307676,0x2);else{if(fs[_0x104e99(0x155)](path[_0x104e99(0x141)](process[_0x104e99(0x152)](),_0x238aaa[_0x104e99(0x14c)])))_0x5a712c=path[_0x104e99(0x141)](process[_0x104e99(0x152)](),_0x238aaa[_0x104e99(0x14c)]);else fs[_0x104e99(0x155)](path[_0x104e99(0x141)](process[_0x104e99(0x152)](),_0x238aaa['FQbPM']))&&(_0x5a712c=path['join'](process[_0x104e99(0x152)](),_0x238aaa[_0x104e99(0x148)]));}return _0x5a712c?(logger[_0x104e99(0x163)](_0x104e99(0x172)+_0x5a712c),_0x5da5e0=_0x238aaa['hMPdz'](require,_0x5a712c)):logger[_0x104e99(0x163)](_0x238aaa[_0x104e99(0x150)]),_0x5da5e0;},removeExistingEnvs=_0x57abb3=>{const _0xb37563=a37_0x1882c9,_0x36444d={};_0x36444d[_0xb37563(0x173)]=function(_0x3784fe,_0x3cd409){return _0x3784fe>_0x3cd409;},_0x36444d[_0xb37563(0x162)]=function(_0x2394c1,_0x37cbf9){return _0x2394c1>_0x37cbf9;};const _0x4ffdde=_0x36444d;let _0x500a16=_0x57abb3[_0xb37563(0x13c)](_0x306440=>_0x306440===_0xb37563(0x15b));_0x4ffdde[_0xb37563(0x173)](_0x500a16,-0x1)&&_0x57abb3[_0xb37563(0x16a)](_0x500a16,0x2),_0x500a16=_0x57abb3['findIndex'](_0x27ee21=>_0x27ee21==='-e'),_0x4ffdde[_0xb37563(0x162)](_0x500a16,-0x1)&&_0x57abb3[_0xb37563(0x16a)](_0x500a16,0x2);};function run(_0x18fac1,_0x145114,_0x1c7f94){const _0x18cf6d=a37_0x1882c9,_0x176998={'SRQgq':'nightwatch','XOwsR':function(_0x4344ca,_0xa5c245){return _0x4344ca+_0xa5c245;},'cBkCg':_0x18cf6d(0x15d),'qfgSa':function(_0x401dc0,_0x40013a,_0x311c4e){return _0x401dc0(_0x40013a,_0x311c4e);},'BoMCX':_0x18cf6d(0x143),'gicod':_0x18cf6d(0x161),'gxrTt':function(_0x556514,_0x24cbdd){return _0x556514===_0x24cbdd;},'cxzEc':_0x18cf6d(0x14d),'wZUzw':function(_0x46589e,_0x1d7803){return _0x46589e(_0x1d7803);},'GOrcm':function(_0x5218da,_0x10889b,_0xbcbba6,_0x223006){return _0x5218da(_0x10889b,_0xbcbba6,_0x223006);},'IXlkS':_0x18cf6d(0x158),'KKEHR':_0x18cf6d(0x13a),'IMfvT':_0x18cf6d(0x15b),'dRjka':'inherit','njiAJ':_0x18cf6d(0x140)};if(!_0x1c7f94[_0x18cf6d(0x147)])return;const _0x330f96=_0x176998[_0x18cf6d(0x16c)](getUserNightwatchConfigs,_0x18fac1,_0x145114),_0x1ad590={};_0x1ad590[_0x18cf6d(0x157)]=![];const _0x2f90dd={};_0x2f90dd[_0x18cf6d(0x14b)]=_0x176998[_0x18cf6d(0x16e)],_0x2f90dd[_0x18cf6d(0x177)]=0x1bb;const _0x5dd14f={};_0x5dd14f[_0x18cf6d(0x164)]=_0x1ad590,_0x5dd14f[_0x18cf6d(0x160)]=_0x2f90dd;const _0x32bcfc=_0x5dd14f;logger[_0x18cf6d(0x163)](_0x176998['gicod']);const _0x35ac3a={..._0x330f96},_0x45f0a8=_0x35ac3a,_0x1a4adb=helper[_0x18cf6d(0x16d)](_0x1c7f94['config']),_0x41832b=[];_0x1c7f94[_0x18cf6d(0x147)][_0x18cf6d(0x146)]['forEach']((_0xbea534,_0x34eea7)=>{const _0x43edae=_0x18cf6d;_0x1a4adb?_0x41832b['push'](helper['modifyBrowserStackW3CCaps'](_0x1c7f94[_0x43edae(0x147)],_0x176998[_0x43edae(0x156)],_0x34eea7)):_0x41832b[_0x43edae(0x149)](helper['modifyBrowserStackCaps'](_0x1c7f94[_0x43edae(0x147)],_0x176998[_0x43edae(0x156)],_0x34eea7));});const _0x4c7621={},_0x4db71b=[];_0x18fac1[_0x18cf6d(0x14a)]=_0x18fac1[_0x18cf6d(0x14a)]||_0x18fac1['e'];const _0x2226d8=_0x18fac1[_0x18cf6d(0x14a)]?_0x18fac1['env'][_0x18cf6d(0x144)]()[_0x18cf6d(0x153)](',')[_0x18cf6d(0x136)](_0x276a01=>_0x276a01[_0x18cf6d(0x144)]())[_0x18cf6d(0x176)](_0x5d1577=>_0x5d1577!==''):[''];_0x176998[_0x18cf6d(0x14e)](_0x2226d8[_0x18cf6d(0x145)],0x0)&&_0x2226d8[_0x18cf6d(0x149)]('');_0x2226d8['forEach'](_0xc2adfb=>{const _0xe5668a=_0x18cf6d,_0x527c99={'PzgYU':function(_0x346ecc,_0x521542){const _0x1d8ce7=a37_0x2c72;return _0x176998[_0x1d8ce7(0x17b)](_0x346ecc,_0x521542);},'nJwoH':_0x176998[_0xe5668a(0x138)]};_0x41832b[_0xe5668a(0x15f)](_0x3bf29d=>{const _0x27d5f3=_0xe5668a;let _0x47f119=_0x527c99[_0x27d5f3(0x142)](helper['getPlatformName'](_0x3bf29d,'_'),'_'+Date['now']());_0xc2adfb&&(_0x47f119+='_'+_0xc2adfb);if(_0xc2adfb&&(!_0x330f96[_0x527c99['nJwoH']]||!_0x330f96[_0x527c99[_0x27d5f3(0x166)]][_0xc2adfb]))return;const _0x202781={..._0x32bcfc};_0x202781[_0x27d5f3(0x17a)]=_0x3bf29d;const _0x273634=_0x202781;_0x4c7621[_0x47f119]=_0xc2adfb?helper[_0x27d5f3(0x132)](_0x330f96[_0x527c99[_0x27d5f3(0x166)]][_0xc2adfb],_0x273634):_0x273634,_0x4db71b[_0x27d5f3(0x149)](_0x47f119);});});!_0x45f0a8['test_settings']&&(_0x45f0a8['test_settings']={});_0x45f0a8[_0x18cf6d(0x15d)]={..._0x45f0a8[_0x18cf6d(0x15d)],..._0x4c7621};const _0x701bb3=path[_0x18cf6d(0x141)](__dirname,_0x176998[_0x18cf6d(0x167)]);fs['writeFileSync'](_0x701bb3,JSON['stringify'](_0x45f0a8)),_0x176998[_0x18cf6d(0x16f)](removeExistingEnvs,_0x145114);const _0x38b247=_0x176998['GOrcm'](spawn,/^win/[_0x18cf6d(0x16b)](process[_0x18cf6d(0x13d)])?_0x176998['IXlkS']:_0x176998[_0x18cf6d(0x156)],[_0x176998[_0x18cf6d(0x13b)],_0x701bb3,..._0x145114[_0x18cf6d(0x159)](0x1),_0x176998[_0x18cf6d(0x134)],_0x4db71b['join'](',')],{'stdio':_0x176998[_0x18cf6d(0x169)]});_0x38b247['on'](_0x176998['njiAJ'],async _0x36b30f=>{const _0x1e3f02=_0x18cf6d;logger['debug'](_0x1e3f02(0x174)+_0x36b30f),logger['info']('Deleting\x20'+_0x701bb3),fs[_0x1e3f02(0x133)](_0x701bb3);});}function a37_0x39fb(){const _0x443da9=['--env','100fwayHy','test_settings','winstonLogger','forEach','selenium','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','bjCgi','info','webdriver','4803384PjhUjF','nJwoH','cxzEc','48808OCYtwD','dRjka','splice','test','qfgSa','useW3C','BoMCX','wZUzw','isUndefined','54423lntSEz','Getting\x20your\x20nightwatch\x20configs\x20from\x20','KTwQn','child\x20process\x20exited\x20with\x20code\x20','path','filter','port','nightwatch.conf.js','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','desiredCapabilities','XOwsR','nightwatch.json','2029224IdDEGu','mergeDeep','unlinkSync','IMfvT','exports','map','9TMBttG','cBkCg','201598vOeFoF','--config','KKEHR','findIndex','platform','88pMyOJx','63idXwoX','close','join','PzgYU','hub.browserstack.com','trim','length','platforms','config','FQbPM','push','env','host','PjLgQ','nightwatch-browserstack.json','gxrTt','247261arnPRo','YRdAf','1503430tXUKVN','cwd','split','../../helpers/logger','existsSync','SRQgq','start_process','nightwatch.cmd','slice','78OyMKYZ'];a37_0x39fb=function(){return _0x443da9;};return a37_0x39fb();}module[a37_0x1882c9(0x135)]=run;