browserstack-node-sdk 1.42.0 → 1.42.1

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 (176) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/cucumber-sessionDetails.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/playwright-patcher.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test_before.setup.js +1 -1
  69. package/src/bin/launcher/launcher.js +1 -1
  70. package/src/bin/load/index.js +1 -1
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/constants.js +1 -1
  128. package/src/helpers/accessibility-automation/helper.js +1 -1
  129. package/src/helpers/accessibility-automation/scripts.js +1 -1
  130. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  131. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  132. package/src/helpers/ats/constants.js +1 -1
  133. package/src/helpers/ats/helper.js +1 -1
  134. package/src/helpers/capsMapping.js +1 -1
  135. package/src/helpers/central-scanner/constants.js +1 -1
  136. package/src/helpers/central-scanner/helpers.js +1 -1
  137. package/src/helpers/classLogger.js +1 -1
  138. package/src/helpers/globals.js +1 -1
  139. package/src/helpers/helper.js +1 -1
  140. package/src/helpers/logger.js +1 -1
  141. package/src/helpers/metadata.js +1 -1
  142. package/src/helpers/patchHelper.js +1 -1
  143. package/src/helpers/patchHelpers.js +1 -1
  144. package/src/helpers/percy/Percy.js +1 -1
  145. package/src/helpers/percy/PercyBinary.js +1 -1
  146. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  147. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  148. package/src/helpers/percy/PercySDK.js +1 -1
  149. package/src/helpers/percy/index.js +1 -1
  150. package/src/helpers/percy/utils.js +1 -1
  151. package/src/helpers/performance/constants.js +1 -1
  152. package/src/helpers/performance/performance-tester.js +1 -1
  153. package/src/helpers/playwright-helper.js +1 -1
  154. package/src/helpers/processHelper.js +1 -1
  155. package/src/helpers/request-spy.js +1 -1
  156. package/src/helpers/setKeepAlive.js +1 -1
  157. package/src/helpers/test-observability/constants.js +1 -1
  158. package/src/helpers/test-observability/error-handler.js +1 -1
  159. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  160. package/src/helpers/test-observability/sessionHandler.js +1 -1
  161. package/src/helpers/test-observability/utils.js +1 -1
  162. package/src/helpers/test-orchestration/constants.js +1 -1
  163. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  164. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  165. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  166. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  167. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  168. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  169. package/src/helpers/testhub/constants.js +1 -1
  170. package/src/helpers/testhub/testhubHandler.js +1 -1
  171. package/src/helpers/testhub/utils.js +1 -1
  172. package/src/helpers/timeoutPromise.js +1 -1
  173. package/src/helpers/utilities.js +1 -1
  174. package/src/helpers/w3cMapping.js +1 -1
  175. package/src/hubAllocationMethods.js +1 -1
  176. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x26695b=a33_0x129a;(function(_0x250bf4,_0x114b2a){const _0x41e466=a33_0x129a,_0x1cb31f=_0x250bf4();while(!![]){try{const _0x1d0bf6=-parseInt(_0x41e466(0x12b))/0x1+-parseInt(_0x41e466(0x138))/0x2*(parseInt(_0x41e466(0x185))/0x3)+-parseInt(_0x41e466(0x1a2))/0x4+parseInt(_0x41e466(0xea))/0x5*(-parseInt(_0x41e466(0xdf))/0x6)+-parseInt(_0x41e466(0xed))/0x7*(-parseInt(_0x41e466(0x15d))/0x8)+-parseInt(_0x41e466(0x1e4))/0x9+-parseInt(_0x41e466(0x1ae))/0xa*(-parseInt(_0x41e466(0x127))/0xb);if(_0x1d0bf6===_0x114b2a)break;else _0x1cb31f['push'](_0x1cb31f['shift']());}catch(_0x5ead3a){_0x1cb31f['push'](_0x1cb31f['shift']());}}}(a33_0x4177,0xa3745));function a33_0x4177(){const _0x4708ff=['bYPyb','mizlC','7135032YnHtHa','exitCode','kHcrK','stats','urYIv','EDjen','../test-runner','isEmpty','assign','neQaM','parse','setUserConfigPath','UHoZV','Running\x20your\x20mocha\x20tests\x20across\x20','iKHFb','ispJU','Setting\x20non\x20exit\x20code\x20for\x20failures','hasOwnProperty','SCQrh','testsuite','tpfsL','writeFileSync','Upxbm','includeEncodedExtension','stringify','OFCxA','\x20skipped','pending','rDJNU','BxuQu','dwKvv','includeTagsInTestingScope','\x20failed','rHLqW','</testsuite>','spec','passes','test','LLrIk','TcduH','64977iqjwEA','Now,\x20showing\x20logs\x20from\x20mocha','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','currentRetry','FOqGj','failed','lnTaS','prepareCapabilities','../../helpers/test-observability/constants','testsPending','PGgWq','RLioM','extension','start','isTestObservabilitySession','SDKTestSuccessful','parseTestOrchestrationOptions','jIbxS','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','object','DxWvp','yjyEJ','QgNjm','failure','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','rootHooks','title','platform','lnjOQ','2684416XqYega','bstack:options','call','chalk','kVhXo','../../helpers/test-observability/utils','TnAGb','initialize','../../helpers/percy/utils','OHSeF','min','BuGms','332790YSCczf','YbKXI','accessibility','hkAey','framework','sort','getUserWorkerCount','accessibilityOptions','files','euxXz','mjs','stack','results','list','exports','BKCqE','bGHIP','../../helpers/central-scanner/constants','size','passed','Running\x20your\x20mocha\x20tests','uIJUe','Couldn\x27t\x20write\x20xunit\x20result\x20to','UANyT','ICWMx','testSuites','dIrkt','../../helpers/performance/constants','xUxOK','log','\x20passed','fETyk','mocha/lib/reporters/base.js','keys','suiteName','kedNW','proxySettings','OWqtn','printBuildLink','hVQqV','state','xTSrB','MlhYP','forEach','eOMRG','debug','../../helpers/logger','xJcQg','titlePathV','getTCGConfigFilePaths','szUBy','VWAyA','json','showDiff','3287160XRkyvN','xbyKY','qJVtG','cIVHx','testcase','mocha/lib/cli/collect-files.js','has','expected','length','KMFxK','ItTZO','excludeTagsInTestingScope','fullTitle','xunit','jWsZP','launchBuild','Tests:\x20\x20\x20\x20\x20\x20\x20','recursive','cdquG','join','diYyo','uvasr','6PbhiHZ','qnfBx','Writing\x20xunit\x20result\x20to\x20file','consoleLog','jDmHD','finalExecution','SDK_CLEANUP','mXgQA','njHIt','mocha','YllgQ','6267565hHUgoj','parallelsPerPlatform','HBUMT','7wPDcyO','cjs','Total\x20Platforms:\x20','finally','dTDZa','KYdXe','BROWSERSTACK_RERUN_TESTS','fvRYy','doc','CYLSH','maxRetries','err','info','testsPassed','isUndefined','juUPx','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','platforms','shouldReRunObservabilityTests','error\x20removing\x20tcg\x20config\x20file','dvlBX','EqGXE','AzYbe','Printing\x20stats\x20of\x20tests','../../helpers/utilities','isBrowserstackInfra','sIjYp','nclIL','cWVfA','Cdvgh','toUTCString','QVMNY','\x0a\x0a\x0a','Mocha\x20Tests','configuration','ASAXF','useColors','\x20platforms','file','ignore','generateDiff','\x20total','dvgGC','EVENTS','vOMbc','fireFunnelTestEvent','nyjar','tovAL','lgZOk','vgDXq','ZAVMr','getCentralUser','../../helpers/helper','cliConfig','testObservability','Couldn\x27t\x20write\x20json\x20result\x20to','MOCHA','RlFFg','990lbNNxl','gXdjo','TBXXQ','ojrno','776010EhTKzx','speed','hideDiff','then','validPlatformsPresent','ytTGh','isNotUndefined','WEQxr','tJJsl','useW3C','cxcsI','sAvxY','retryTestsOnFailure','14ZMfzBp','push','../../helpers/performance/performance-tester','DoJWk','rTZJp','YVPFU','SzYKI','gmCOg','aMSlq','config','HcyMN','ZMsbP','getPlatformName','TaQbK','BROWSERSTACK_TEST_OBSERVABILITY_YML','getOwnPropertyNames','Writing\x20json\x20result\x20to\x20file','skipped','logLevel','testsFailed','indexOf','bold','iPTaq','get','notifyUpdate','error','SoTHR','output','duration','yellow','env','reporterOptions','reporter-option','reporter','message'];a33_0x4177=function(){return _0x4708ff;};return a33_0x4177();}const chalk=require(a33_0x26695b(0x1a5)),logger=require(a33_0x26695b(0x1dc))['winstonLogger'],helper=require(a33_0x26695b(0x121)),utilities=require(a33_0x26695b(0x105)),testOpsHelper=require(a33_0x26695b(0x1a7)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a33_0x26695b(0x163)),{requireModule,nestedKeyValue}=require(a33_0x26695b(0x121)),{getPercyOptions}=require(a33_0x26695b(0x1aa)),Base=requireModule(a33_0x26695b(0x1ce),a33_0x26695b(0xe8)),collectFiles=requireModule(a33_0x26695b(0xce),a33_0x26695b(0xe8)),constants=require('../utils/constants'),PerformanceTester=require(a33_0x26695b(0x13a)),PerformanceEvents=require(a33_0x26695b(0x1c9))[a33_0x26695b(0x118)],centralScannerConstants=require(a33_0x26695b(0x1bf)),{FRAMEWORKS}=require(a33_0x26695b(0x18d)),TestHubHandler=require('../../helpers/testhub/testhubHandler');function tag(_0x3987ac,_0x51d645,_0xf9854f,_0x2b3dca){const _0x28e208=a33_0x26695b,_0x5c4628={'cxcsI':function(_0x139e4e,_0x2b2255){return _0x139e4e+_0x2b2255;},'dvgGC':function(_0x56fb7a,_0x2bc366){return _0x56fb7a+_0x2bc366;},'cWVfA':function(_0x5e99e3,_0x300c79){return _0x5e99e3(_0x300c79);},'FOqGj':function(_0x5491c8,_0xa1cdd8){return _0x5491c8+_0xa1cdd8;},'rDJNU':function(_0x5f3e4c,_0x3e23b4){return _0x5f3e4c+_0x3e23b4;},'TBXXQ':function(_0x201ee3,_0xe370fa){return _0x201ee3+_0xe370fa;},'FOibS':function(_0x30bf9c,_0x48149e){return _0x30bf9c+_0x48149e;},'BKCqE':function(_0x2374b4,_0xb8446e){return _0x2374b4+_0xb8446e;},'HBUMT':function(_0x4ea020,_0x2bd934){return _0x4ea020+_0x2bd934;}},_0x3943bd=_0xf9854f?'/>':'>',_0x2ce9d9=[];let _0x30ec5f;for(const _0x10c56a in _0x51d645){Object['prototype'][_0x28e208(0x16e)][_0x28e208(0x1a4)](_0x51d645,_0x10c56a)&&_0x2ce9d9[_0x28e208(0x139)](_0x5c4628[_0x28e208(0x135)](_0x5c4628[_0x28e208(0x135)](_0x5c4628[_0x28e208(0x117)](_0x10c56a,'=\x22'),_0x5c4628[_0x28e208(0x109)](escape,_0x51d645[_0x10c56a])),'\x22'));}return _0x30ec5f=_0x5c4628[_0x28e208(0x189)](_0x5c4628[_0x28e208(0x179)](_0x5c4628[_0x28e208(0x129)]('<',_0x3987ac),_0x2ce9d9[_0x28e208(0xd1)]?_0x5c4628[_0x28e208(0x189)]('\x20',_0x2ce9d9['join']('\x20')):''),_0x3943bd),_0x2b3dca&&(_0x30ec5f+=_0x5c4628['FOibS'](_0x5c4628[_0x28e208(0x1bd)](_0x5c4628[_0x28e208(0xec)](_0x2b3dca,'</'),_0x3987ac),_0x3943bd)),_0x30ec5f;}let xunitContent='';function xunitWrite(_0xbf86dd){xunitContent+=_0xbf86dd;}function xunitTest(_0xde8c2d,_0x5d8cb8){const _0x5bcd14=a33_0x26695b,_0x2ec505={'LLrIk':function(_0x1a8b18,_0x4ed695){return _0x1a8b18/_0x4ed695;},'qJVtG':function(_0x1aea90,_0x21be5b){return _0x1aea90===_0x21be5b;},'WEQxr':_0x5bcd14(0x18a),'urYIv':function(_0x461283,_0x4be493){return _0x461283+_0x4be493;},'OHSeF':function(_0x23fc6f,_0x2052d8){return _0x23fc6f(_0x2052d8);},'DoJWk':function(_0x25a853,_0x44b45e,_0x1c08ad,_0x5bc140,_0xa4d9b9){return _0x25a853(_0x44b45e,_0x1c08ad,_0x5bc140,_0xa4d9b9);},'nclIL':_0x5bcd14(0xcd),'fvRYy':function(_0x26c7b7,_0x539b72,_0x5c6e2f,_0x14a7cc,_0x3b85de){return _0x26c7b7(_0x539b72,_0x5c6e2f,_0x14a7cc,_0x3b85de);},'eSFDF':_0x5bcd14(0x19c),'mizlC':function(_0x3f5aab,_0x162aef){return _0x3f5aab+_0x162aef;},'AzYbe':function(_0x586924,_0x2c5dc8){return _0x586924(_0x2c5dc8);},'YVPFU':function(_0x10d3ed,_0x41f0ed){return _0x10d3ed(_0x41f0ed);},'bGHIP':function(_0x478ad0,_0x52f7ed){return _0x478ad0(_0x52f7ed);},'UDhMP':function(_0x223dd8,_0x259290,_0x1ee277,_0x445d09,_0x43a35d){return _0x223dd8(_0x259290,_0x1ee277,_0x445d09,_0x43a35d);},'hkAey':function(_0x266fb6,_0x21625c,_0x38b3a7,_0x4d2287){return _0x266fb6(_0x21625c,_0x38b3a7,_0x4d2287);},'xbyKY':_0x5bcd14(0x149)};Base[_0x5bcd14(0x111)]=![];var _0x4060ac={'classname':_0xde8c2d['fullTitle'],'name':_0xde8c2d[_0x5bcd14(0x19f)],'time':_0x2ec505[_0x5bcd14(0x183)](_0xde8c2d[_0x5bcd14(0x154)],0x3e8)||0x0,'platform':_0x5d8cb8};if(_0x2ec505[_0x5bcd14(0x1e6)](_0xde8c2d[_0x5bcd14(0x1d6)],_0x2ec505[_0x5bcd14(0x132)])){var _0x37a0c2=_0xde8c2d[_0x5bcd14(0xf8)],_0x1dc522=!Base[_0x5bcd14(0x12d)]&&Base[_0x5bcd14(0x1e3)](_0x37a0c2)?_0x2ec505['urYIv']('\x0a',Base[_0x5bcd14(0x115)](_0x37a0c2['actual'],_0x37a0c2[_0x5bcd14(0xd0)])):'';_0x2ec505[_0x5bcd14(0x1ab)](xunitWrite,_0x2ec505[_0x5bcd14(0x13b)](tag,_0x2ec505[_0x5bcd14(0x108)],_0x4060ac,![],_0x2ec505[_0x5bcd14(0xf4)](tag,_0x2ec505['eSFDF'],{},![],_0x2ec505[_0x5bcd14(0x161)](_0x2ec505[_0x5bcd14(0x15c)](_0x2ec505[_0x5bcd14(0x161)](_0x2ec505[_0x5bcd14(0x1ab)](escape,_0x37a0c2[_0x5bcd14(0x15a)]),_0x2ec505[_0x5bcd14(0x103)](escape,_0x1dc522)),'\x0a'),_0x2ec505[_0x5bcd14(0x13d)](escape,_0x37a0c2['stack'])))));}else _0xde8c2d['isPending']?_0x2ec505[_0x5bcd14(0x1be)](xunitWrite,_0x2ec505['UDhMP'](tag,_0x2ec505[_0x5bcd14(0x108)],_0x4060ac,![],_0x2ec505[_0x5bcd14(0x1b1)](tag,_0x2ec505[_0x5bcd14(0x1e5)],{},!![]))):_0x2ec505[_0x5bcd14(0x103)](xunitWrite,_0x2ec505[_0x5bcd14(0x1b1)](tag,_0x2ec505[_0x5bcd14(0x108)],_0x4060ac,!![]));};function getStats(_0x19be51){const _0x2c1b8f=a33_0x26695b,_0x4808e7={};_0x4808e7[_0x2c1b8f(0xd7)]='suite',_0x4808e7[_0x2c1b8f(0x13e)]=_0x2c1b8f(0x1c1),_0x4808e7[_0x2c1b8f(0x110)]='failed',_0x4808e7[_0x2c1b8f(0x1cd)]='results';const _0x1c67fb=_0x4808e7,_0x401c92=Object[_0x2c1b8f(0x1cf)](_0x19be51);let _0x50bc0f=0x0,_0x184e42=0x0,_0x47ecb1=0x0,_0x18e953=0x0;const _0x58d2ec=new Set();_0x401c92[_0x2c1b8f(0x1d9)](_0x76f520=>{const _0x5d6651=_0x2c1b8f,_0x234192={};_0x234192[_0x5d6651(0x17a)]=_0x1c67fb['jWsZP'],_0x234192[_0x5d6651(0x18f)]=_0x1c67fb[_0x5d6651(0x13e)],_0x234192[_0x5d6651(0x11c)]=_0x1c67fb['ASAXF'];const _0xb7588f=_0x234192;_0x19be51[_0x76f520][_0x1c67fb[_0x5d6651(0x1cd)]][_0x5d6651(0x1d9)](_0x91508e=>{const _0x3c6196=_0x5d6651;_0x58d2ec['add'](_0x91508e[_0xb7588f['BxuQu']]),_0x50bc0f++;switch(_0x91508e[_0x3c6196(0x1d6)]){case _0xb7588f[_0x3c6196(0x18f)]:_0x47ecb1++;break;case _0xb7588f[_0x3c6196(0x11c)]:_0x184e42++;break;default:_0x18e953++;}});});const _0x297c0a={};return _0x297c0a[_0x2c1b8f(0x1c7)]=_0x58d2ec[_0x2c1b8f(0x1c0)],_0x297c0a[_0x2c1b8f(0xfe)]=_0x401c92,_0x297c0a['totalTests']=_0x50bc0f,_0x297c0a[_0x2c1b8f(0x14b)]=_0x184e42,_0x297c0a[_0x2c1b8f(0xfa)]=_0x47ecb1,_0x297c0a[_0x2c1b8f(0x18e)]=_0x18e953,_0x297c0a;}function errorJSON(_0x3cc0b9){const _0x23ead7=a33_0x26695b;var _0x225892={};return Object[_0x23ead7(0x147)](_0x3cc0b9)[_0x23ead7(0x1d9)](function(_0x55c51e){_0x225892[_0x55c51e]=_0x3cc0b9[_0x55c51e];},_0x3cc0b9),_0x225892;}function cleanCycles(_0x54e578){const _0x303a27=a33_0x26695b,_0x815af5={};_0x815af5['uIJUe']=function(_0x41390f,_0x3a8e68){return _0x41390f===_0x3a8e68;},_0x815af5[_0x303a27(0x15f)]=_0x303a27(0x198),_0x815af5[_0x303a27(0x119)]=function(_0x1574d7,_0x308d31){return _0x1574d7!==_0x308d31;},_0x815af5[_0x303a27(0x176)]=function(_0x309e5c,_0x4338b6){return _0x309e5c!==_0x4338b6;},_0x815af5[_0x303a27(0x1c5)]=function(_0x2b967b,_0x1791b4){return _0x2b967b+_0x1791b4;};const _0x3e073a=_0x815af5;var _0x240053=[];return JSON[_0x303a27(0x167)](JSON[_0x303a27(0x175)](_0x54e578,function(_0xb949cc,_0xefb73f){const _0x372514=_0x303a27;if(_0x3e073a[_0x372514(0x1c3)](typeof _0xefb73f,_0x3e073a[_0x372514(0x15f)])&&_0x3e073a['vOMbc'](_0xefb73f,null)){if(_0x3e073a[_0x372514(0x176)](_0x240053[_0x372514(0x14c)](_0xefb73f),-0x1))return _0x3e073a['UANyT']('',_0xefb73f);_0x240053[_0x372514(0x139)](_0xefb73f);}return _0xefb73f;}));}function a33_0x129a(_0x1e787c,_0x4aaa3e){const _0x4177a6=a33_0x4177();return a33_0x129a=function(_0x129a9f,_0x46a862){_0x129a9f=_0x129a9f-0xcc;let _0x4afcc1=_0x4177a6[_0x129a9f];return _0x4afcc1;},a33_0x129a(_0x1e787c,_0x4aaa3e);}function clean(_0x4cb37e){const _0x1f7450=a33_0x26695b,_0xb3bd73={'ZMsbP':function(_0x4888fa,_0x12ef51){return _0x4888fa instanceof _0x12ef51;},'dwKvv':function(_0x14d2d8,_0x4581f1){return _0x14d2d8(_0x4581f1);}};var _0xf32283=_0x4cb37e[_0x1f7450(0xf8)]||{};return _0xb3bd73[_0x1f7450(0x143)](_0xf32283,Error)&&(_0xf32283=_0xb3bd73['dwKvv'](errorJSON,_0xf32283)),{'title':_0x4cb37e[_0x1f7450(0x19f)],'fullTitle':_0x4cb37e[_0x1f7450(0xd5)],'file':_0x4cb37e[_0x1f7450(0x113)],'duration':_0x4cb37e[_0x1f7450(0x154)],'currentRetry':_0x4cb37e[_0x1f7450(0x188)],'speed':_0x4cb37e[_0x1f7450(0x12c)],'err':_0xb3bd73[_0x1f7450(0x17b)](cleanCycles,_0xf32283)};}function printStats(_0x32acdb,_0x443ecd=a33_0x26695b(0x180),_0x4f2206={}){const _0xf9ff51=a33_0x26695b,_0x2d2f42={'jDmHD':function(_0x18bedf,_0x360efc){return _0x18bedf(_0x360efc);},'jIbxS':function(_0x4a4fa7,_0x3317d3){return _0x4a4fa7===_0x3317d3;},'xTSrB':_0xf9ff51(0x1c1),'sAvxY':_0xf9ff51(0x181),'gckLV':function(_0x4d983b,_0x5f2d60){return _0x4d983b(_0x5f2d60);},'BuGms':_0xf9ff51(0x18a),'neQaM':'failures','eOMRG':_0xf9ff51(0x178),'rHLqW':_0xf9ff51(0x1ba),'lnTaS':function(_0x53aef7,_0x1cfc1e){return _0x53aef7===_0x1cfc1e;},'xJcQg':function(_0x150c77,_0x202129){return _0x150c77===_0x202129;},'jmnJF':function(_0x2b1fcb,_0x342c16){return _0x2b1fcb*_0x342c16;},'CYLSH':function(_0x468956,_0x434b45,_0x221d2b){return _0x468956(_0x434b45,_0x221d2b);},'yjyEJ':function(_0x36a6e9,_0x58523e){return _0x36a6e9>_0x58523e;},'cdquG':function(_0x18cdf3){return _0x18cdf3();},'EqGXE':_0xf9ff51(0xf5),'EDjen':function(_0x11f3de,_0x3cc487){return _0x11f3de(_0x3cc487);},'uvasr':function(_0x24d746,_0x5153f9){return _0x24d746>_0x5153f9;},'QgNjm':_0xf9ff51(0x16d),'HcyMN':_0xf9ff51(0x104),'ispJU':function(_0x20c4a0,_0x2265d1){return _0x20c4a0+_0x2265d1;},'tpfsL':_0xf9ff51(0xef),'juUPx':'Total\x20Suites:\x20','diYyo':function(_0x2bdc30,_0x1b538b){return _0x2bdc30+_0x1b538b;},'vgDXq':_0xf9ff51(0xd9),'hVQqV':function(_0x1dcdf4,_0x49b06e){return _0x1dcdf4>_0x49b06e;},'RLioM':function(_0x36f10f,_0x4ad702){return _0x36f10f>_0x4ad702;},'fuWJh':function(_0x237210,_0x33f3dd){return _0x237210+_0x33f3dd;},'lgZOk':function(_0x3385e0,_0x3f8acb){return _0x3385e0+_0x3f8acb;},'KMFxK':function(_0x13a4db,_0x264e98){return _0x13a4db+_0x264e98;},'SoTHR':function(_0x4e8138,_0x11a772){return _0x4e8138+_0x11a772;},'ItTZO':_0xf9ff51(0x10d),'PNqRk':function(_0x18acc4,_0x51e367){return _0x18acc4===_0x51e367;},'RlFFg':_0xf9ff51(0x1e2),'ytTGh':_0xf9ff51(0x148),'Upxbm':_0xf9ff51(0x124),'aMSlq':_0xf9ff51(0xfd),'TaQbK':function(_0x1ad3d8,_0x9bdb6a){return _0x1ad3d8===_0x9bdb6a;},'TcduH':_0xf9ff51(0xd6),'UHoZV':_0xf9ff51(0x10e),'UQrKy':function(_0x32b83a,_0x379b89){return _0x32b83a||_0x379b89;},'lnjOQ':function(_0x18ad38,_0x59ce65,_0x54a6b7,_0x5bc85d){return _0x18ad38(_0x59ce65,_0x54a6b7,_0x5bc85d);},'MlhYP':_0xf9ff51(0x170),'kVhXo':function(_0x16af75,_0x26428a){return _0x16af75-_0x26428a;},'nwvZv':function(_0x505d29,_0x49a650){return _0x505d29-_0x49a650;},'PvUBV':function(_0x5b1c28,_0x2f4565){return _0x5b1c28/_0x2f4565;},'bYPyb':function(_0x3ef873,_0x128fc7){return _0x3ef873(_0x128fc7);},'eJYYw':_0xf9ff51(0x17f),'rYNcU':_0xf9ff51(0xe1),'iKHFb':_0xf9ff51(0x1c4),'rTZJp':_0xf9ff51(0x19d),'xUxOK':'Listing\x20all\x20the\x20failures','nyjar':'****\x20FAILURES\x20****'};if(_0x2d2f42[_0xf9ff51(0x196)](_0x443ecd,_0x2d2f42[_0xf9ff51(0x102)]))return;const _0x4c4cc0=0x0,_0x563705=()=>{const _0x44fbc8=_0xf9ff51;return _0x2d2f42[_0x44fbc8(0xe3)](Array,_0x4c4cc0)[_0x44fbc8(0xdc)]('\x20\x20');},{testSuites:_0x5f5492,platforms:_0x51b744,totalTests:_0x1225ce,testsFailed:_0x1d48d8,testsPassed:_0x244c33,testsPending:_0x19edd2}=_0x2d2f42[_0xf9ff51(0x162)](getStats,_0x32acdb);_0x2d2f42[_0xf9ff51(0xde)](_0x1d48d8,0x0)&&(logger[_0xf9ff51(0x1db)](_0x2d2f42[_0xf9ff51(0x19b)]),process[_0xf9ff51(0x15e)]=Math[_0xf9ff51(0x1ac)](_0x1d48d8,0xff));logger[_0xf9ff51(0x1db)](_0x2d2f42[_0xf9ff51(0x142)]);const _0x2f0be5=''+_0x2d2f42[_0xf9ff51(0x16c)](chalk[_0xf9ff51(0x14d)](_0x2d2f42[_0xf9ff51(0x171)]),_0x51b744[_0xf9ff51(0xd1)]),_0x2e526e=''+_0x2d2f42[_0xf9ff51(0x16c)](chalk[_0xf9ff51(0x14d)](_0x2d2f42[_0xf9ff51(0xfc)]),_0x5f5492),_0x5df402=''+_0x2d2f42[_0xf9ff51(0x16c)](_0x2d2f42[_0xf9ff51(0xdd)](_0x2d2f42['ispJU'](chalk[_0xf9ff51(0x14d)](_0x2d2f42[_0xf9ff51(0x11e)]),_0x2d2f42['yjyEJ'](_0x1d48d8,0x0)?chalk[_0xf9ff51(0x14d)]['red'](_0x1d48d8+_0xf9ff51(0x17d))+',\x20':''),_0x2d2f42[_0xf9ff51(0x1d5)](_0x19edd2,0x0)?chalk[_0xf9ff51(0x14d)][_0xf9ff51(0x155)](_0x19edd2+_0xf9ff51(0x177))+',\x20':''),_0x2d2f42[_0xf9ff51(0x190)](_0x244c33,0x0)?chalk['bold']['green'](_0x244c33+_0xf9ff51(0x1cc))+',\x20':'')+_0x1225ce+_0xf9ff51(0x116);console[_0xf9ff51(0x1cb)](_0x2d2f42['fuWJh'](_0x2d2f42['ispJU'](_0x2d2f42[_0xf9ff51(0x11d)](_0x2d2f42[_0xf9ff51(0xd2)](_0x2d2f42[_0xf9ff51(0x152)](_0x2d2f42[_0xf9ff51(0xd3)],_0x2f0be5),'\x0a'),_0x2e526e),'\x0a'),_0x5df402));if(_0x2d2f42['PNqRk'](_0x443ecd,_0x2d2f42[_0xf9ff51(0x126)])){const _0x1bce3d={},_0x2711b4={};_0x2711b4[_0xf9ff51(0x1c7)]=_0x5f5492,_0x2711b4[_0xf9ff51(0xfe)]=_0x51b744,_0x2711b4[_0xf9ff51(0x14b)]=_0x1d48d8,_0x2711b4['testsPassed']=_0x244c33,_0x2711b4[_0xf9ff51(0x18e)]=_0x19edd2,_0x1bce3d[_0xf9ff51(0x160)]=_0x2711b4,_0x51b744[_0xf9ff51(0x1d9)](_0x5be169=>{const _0x5df9d0=_0xf9ff51,_0x5907e4={'ojrno':function(_0x416646,_0x576e76){return _0x2d2f42['jIbxS'](_0x416646,_0x576e76);},'zxfwG':_0x2d2f42[_0x5df9d0(0x1d7)],'SCQrh':_0x2d2f42[_0x5df9d0(0x136)],'ZAVMr':function(_0xbf61c4,_0x42c704){return _0x2d2f42['gckLV'](_0xbf61c4,_0x42c704);},'gXdjo':_0x2d2f42['BuGms'],'mXgQA':_0x2d2f42[_0x5df9d0(0x166)],'OWqtn':_0x2d2f42[_0x5df9d0(0x1da)]};_0x1bce3d[_0x5be169]={'pending':[],'failures':[],'passes':[],'tests':_0x32acdb[_0x5be169][_0x2d2f42[_0x5df9d0(0x17e)]]['map'](clean)},_0x32acdb[_0x5be169][_0x2d2f42['rHLqW']]['forEach'](_0x25bf73=>{const _0x16bf3e=_0x5df9d0;if(_0x5907e4[_0x16bf3e(0x12a)](_0x25bf73[_0x16bf3e(0x1d6)],_0x5907e4['zxfwG']))_0x1bce3d[_0x5be169][_0x5907e4[_0x16bf3e(0x16f)]][_0x16bf3e(0x139)](_0x5907e4['ZAVMr'](clean,_0x25bf73));else _0x5907e4[_0x16bf3e(0x12a)](_0x25bf73[_0x16bf3e(0x1d6)],_0x5907e4[_0x16bf3e(0x128)])?_0x1bce3d[_0x5be169][_0x5907e4[_0x16bf3e(0xe6)]][_0x16bf3e(0x139)](_0x5907e4[_0x16bf3e(0x11f)](clean,_0x25bf73)):_0x1bce3d[_0x5be169][_0x5907e4[_0x16bf3e(0x1d3)]][_0x16bf3e(0x139)](_0x5907e4['ZAVMr'](clean,_0x25bf73));});});if(_0x4f2206[_0xf9ff51(0x153)])try{logger['debug'](_0x2d2f42[_0xf9ff51(0x130)],_0x4f2206[_0xf9ff51(0x153)]),fs[_0xf9ff51(0x172)](_0x4f2206[_0xf9ff51(0x153)],JSON[_0xf9ff51(0x175)](_0x1bce3d,null,0x3));}catch(_0x3741e3){logger[_0xf9ff51(0x151)](_0x2d2f42[_0xf9ff51(0x173)],_0x4f2206[_0xf9ff51(0x153)]),logger['debug'](_0x3741e3);}else logger[_0xf9ff51(0x1db)](_0x2d2f42[_0xf9ff51(0x140)]),console[_0xf9ff51(0x1cb)](JSON['stringify'](_0x1bce3d,null,0x3));}else{if(_0x2d2f42['TaQbK'](_0x443ecd,_0x2d2f42[_0xf9ff51(0x184)])){let _0x5b7995;const _0x3f3e1b=_0x2d2f42[_0xf9ff51(0x169)];_0x4f2206&&(_0x5b7995=_0x4f2206[_0xf9ff51(0x1d0)]);_0x5b7995=_0x2d2f42['UQrKy'](_0x5b7995,_0x3f3e1b);let _0xe1bc8=0x0,_0x40765b=0x0,_0xc4e7ac=0x0,_0x5c0553=0x0;_0x51b744[_0xf9ff51(0x1d9)](_0x378b41=>{const _0x2d2df8=_0xf9ff51,_0x43c8eb={'cIVHx':function(_0x230395,_0x11c955){const _0x3470a2=a33_0x129a;return _0x2d2f42[_0x3470a2(0x18b)](_0x230395,_0x11c955);},'njHIt':_0x2d2f42[_0x2d2df8(0x1d7)],'ICWMx':function(_0x1033c5,_0x5109d7){const _0x88ad42=_0x2d2df8;return _0x2d2f42[_0x88ad42(0x1dd)](_0x1033c5,_0x5109d7);},'wsCfJ':_0x2d2f42[_0x2d2df8(0x1ad)],'Cdvgh':function(_0x48a655,_0xb06ed9){return _0x2d2f42['jmnJF'](_0x48a655,_0xb06ed9);}};_0x32acdb[_0x378b41][_0x2d2f42['rHLqW']][_0x2d2df8(0x1d9)](_0x3ecf78=>{const _0x9e5474=_0x2d2df8;if(_0x43c8eb[_0x9e5474(0xcc)](_0x3ecf78[_0x9e5474(0x1d6)],_0x43c8eb[_0x9e5474(0xe7)]))_0xe1bc8++;else _0x43c8eb[_0x9e5474(0x1c6)](_0x3ecf78[_0x9e5474(0x1d6)],_0x43c8eb['wsCfJ'])&&_0x40765b++;_0xc4e7ac++,_0x5c0553+=_0x43c8eb[_0x9e5474(0x10a)](_0x3ecf78[_0x9e5474(0x154)],0x1);});}),_0x2d2f42[_0xf9ff51(0xe3)](xunitWrite,_0x2d2f42[_0xf9ff51(0x1a1)](tag,_0x2d2f42[_0xf9ff51(0x1d8)],{'name':_0x5b7995,'tests':_0xc4e7ac,'failures':0x0,'errors':_0x40765b,'skipped':_0x2d2f42[_0xf9ff51(0x1a6)](_0x2d2f42['nwvZv'](_0xc4e7ac,_0x40765b),_0xe1bc8),'timestamp':new Date()[_0xf9ff51(0x10b)](),'time':_0x2d2f42['PvUBV'](_0x5c0553,0x3e8)||0x0},![])),_0x51b744[_0xf9ff51(0x1d9)](_0x1144c9=>{const _0x5d7351=_0xf9ff51;_0x32acdb[_0x1144c9][_0x2d2f42[_0x5d7351(0x17e)]][_0x5d7351(0x1d9)](_0x23b8f7=>{const _0x3f0a25=_0x5d7351;_0x2d2f42[_0x3f0a25(0xf6)](xunitTest,_0x23b8f7,_0x1144c9);});}),_0x2d2f42[_0xf9ff51(0x15b)](xunitWrite,_0x2d2f42['eJYYw']);if(_0x4f2206[_0xf9ff51(0x153)])try{logger['debug'](_0x2d2f42['rYNcU'],_0x4f2206[_0xf9ff51(0x153)]),fs[_0xf9ff51(0x172)](_0x4f2206['output'],xunitContent);}catch(_0x9fb6d8){logger[_0xf9ff51(0x151)](_0x2d2f42[_0xf9ff51(0x16b)],_0x4f2206['output']),logger[_0xf9ff51(0x1db)](_0x9fb6d8);}else logger[_0xf9ff51(0x1db)](_0x2d2f42[_0xf9ff51(0x13c)]),console[_0xf9ff51(0x1cb)](xunitContent);}else{if(_0x2d2f42[_0xf9ff51(0x145)](_0x1d48d8,0x0))return;console[_0xf9ff51(0x1cb)](),logger[_0xf9ff51(0x1db)](_0x2d2f42[_0xf9ff51(0x1ca)]),console[_0xf9ff51(0x1cb)](chalk['bold']['bgRedBright'](_0x2d2f42[_0xf9ff51(0x11b)])),_0x51b744['forEach'](_0x2b9eab=>{const _0x445ade=_0xf9ff51,_0x4ea881={'tJJsl':function(_0x3a3ae0,_0x523b2d){const _0x43c400=a33_0x129a;return _0x2d2f42[_0x43c400(0x18b)](_0x3a3ae0,_0x523b2d);},'YbKXI':_0x2d2f42['BuGms']},_0x262b68=[];_0x32acdb[_0x2b9eab][_0x2d2f42['rHLqW']][_0x445ade(0x1d9)](_0x546c6c=>{const _0x21aa4a=_0x445ade;_0x4ea881[_0x21aa4a(0x133)](_0x546c6c[_0x21aa4a(0x1d6)],_0x4ea881[_0x21aa4a(0x1af)])&&(_0x546c6c['titlePath']=()=>_0x546c6c[_0x21aa4a(0x1de)],_0x262b68[_0x21aa4a(0x139)](_0x546c6c));}),_0x2d2f42[_0x445ade(0x19a)](_0x262b68['length'],0x0)&&(Base[_0x445ade(0xe2)](),Base[_0x445ade(0xe2)](_0x2d2f42[_0x445ade(0xdb)](_0x563705),chalk[_0x445ade(0x14d)]['bgBlueBright'](_0x2b9eab)),Base[_0x445ade(0x1bb)](_0x262b68));});}}}async function run(_0x786c87,_0x2376aa,_0x303bab){const _0x252980=a33_0x26695b,_0x5620d9={'TnAGb':function(_0x11afb4,_0x579621,_0x447423,_0x2306aa){return _0x11afb4(_0x579621,_0x447423,_0x2306aa);},'dTDZa':_0x252980(0x158),'kedNW':_0x252980(0x100),'XNOLk':_0x252980(0x194),'VWAyA':function(_0x11d478,_0x36a783,_0x35032d,_0x3e20a7){return _0x11d478(_0x36a783,_0x35032d,_0x3e20a7);},'KYdXe':'mocha','sQALp':function(_0xfa1259,_0x4c8bb6){return _0xfa1259!=_0x4c8bb6;},'qnfBx':_0x252980(0xee),'MFkCE':_0x252980(0x1b8),'YllgQ':_0x252980(0x182),'dvlBX':'rerunTests','XKdcH':function(_0x2f638c,_0x3b8091){return _0x2f638c(_0x3b8091);},'QVMNY':function(_0x238078,_0x1447d2,_0x3a6fcf){return _0x238078(_0x1447d2,_0x3a6fcf);},'szUBy':_0x252980(0x1b6),'DxWvp':function(_0x172a6f,_0x173b69){return _0x172a6f!=_0x173b69;},'jamNI':_0x252980(0x17c),'gmCOg':_0x252980(0xd4),'euxXz':_0x252980(0x174),'iPTaq':_0x252980(0x1c2),'cBoAm':_0x252980(0x186),'sIjYp':function(_0x10ce15,_0x11c877){return _0x10ce15*_0x11c877;},'dIrkt':function(_0x48fcb0,_0x33d218){return _0x48fcb0!==_0x33d218;},'hgwnx':function(_0x240be4,_0x56f3ef,_0x4b20b9,_0x1a3b9c){return _0x240be4(_0x56f3ef,_0x4b20b9,_0x1a3b9c);}};helper[_0x252980(0x168)](_0x303bab['framework'],_0x786c87),await _0x303bab[_0x252980(0x1a9)](_0x786c87);helper[_0x252980(0x106)]()?await helper['handleApp'](_0x303bab[_0x252980(0x141)]):await _0x303bab['setupTCGAuth']();const _0x34afe0=[];let _0x1266f9=[];if(!_0x303bab[_0x252980(0x141)])return;!helper[_0x252980(0xfb)](_0x303bab[_0x252980(0x141)][_0x252980(0x1b5)])&&(process[_0x252980(0x156)][_0x252980(0x187)]=JSON[_0x252980(0x175)](_0x303bab[_0x252980(0x141)][_0x252980(0x1b5)]));const _0x4abf1d=await TestHubHandler[_0x252980(0xd8)](FRAMEWORKS[_0x252980(0x125)],_0x303bab);_0x5620d9['sQALp'](_0x303bab[_0x252980(0x141)][_0x252980(0x123)],null)&&(process[_0x252980(0x156)][_0x252980(0x146)]=_0x303bab[_0x252980(0x141)][_0x252980(0x123)]);!helper[_0x252980(0xfb)](_0x303bab[_0x252980(0x141)][_0x252980(0x1b0)])&&(process[_0x252980(0x156)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x303bab[_0x252980(0x141)][_0x252980(0x1b0)]);const {extension:extension=['js',_0x5620d9[_0x252980(0xe0)],_0x5620d9['MFkCE']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x5620d9[_0x252980(0xe9)]]}=_0x786c87,_0x2f8cd3={..._0x786c87};_0x2f8cd3[_0x252980(0x19e)]=null;const _0x637c27=_0x2f8cd3;let _0x4f02e2;if(testOpsHelper[_0x252980(0x193)]()&&testOpsHelper[_0x252980(0xff)]()){let _0x544d74=process['env'][_0x252980(0xf3)];!helper[_0x252980(0xfb)](_0x303bab[_0x252980(0x122)])&&_0x303bab[_0x252980(0x122)][_0x252980(0xcf)](_0x5620d9[_0x252980(0x101)])&&(_0x544d74=_0x303bab[_0x252980(0x122)][_0x252980(0x14f)](_0x5620d9[_0x252980(0x101)])),_0x4f02e2=testOpsHelper['parseFileNames'](_0x544d74);}if(helper[_0x252980(0xfb)](_0x4f02e2)){const _0x17bb88={};_0x17bb88[_0x252980(0x114)]=ignore,_0x17bb88[_0x252980(0x191)]=extension,_0x17bb88[_0x252980(0x113)]=file,_0x17bb88[_0x252980(0xda)]=recursive,_0x17bb88[_0x252980(0x1b3)]=sort,_0x17bb88['spec']=spec,_0x4f02e2=_0x5620d9['XKdcH'](collectFiles,_0x17bb88),_0x5620d9[_0x252980(0x10c)](nestedKeyValue,_0x4f02e2,[_0x5620d9[_0x252980(0x1e0)]])&&(_0x4f02e2=_0x4f02e2['files']);}const _0x17a1ae=helper[_0x252980(0x195)](_0x303bab[_0x252980(0x141)]);!helper[_0x252980(0x164)](_0x17a1ae)&&helper[_0x252980(0x131)](_0x17a1ae[_0x252980(0x137)])&&(_0x637c27['retries']=_0x17a1ae['retryTestsOnFailure'][_0x252980(0xf7)]);if(!helper[_0x252980(0x106)]()){const _0x562bb2=0x1,_0x33f480={..._0x637c27};_0x33f480[_0x252980(0x180)]=[..._0x4f02e2],_0x34afe0[_0x252980(0x139)]({'mochaOpts':_0x33f480,'configuration':{'platform':os[_0x252980(0x1a0)]()}});if(_0x303bab['config']['accessibility']){const _0xf81cb3={};_0xf81cb3[_0x252980(0x1b0)]=!![];const _0x18901d=_0xf81cb3;_0x5620d9[_0x252980(0x199)](_0x303bab[_0x252980(0x141)][_0x252980(0x1b5)],null)&&(_0x18901d[_0x252980(0x1b5)]=_0x303bab[_0x252980(0x141)][_0x252980(0x1b5)],delete _0x18901d[_0x252980(0x1b5)][_0x5620d9['jamNI']],delete _0x18901d[_0x252980(0x1b5)][_0x5620d9[_0x252980(0x13f)]],delete _0x18901d[_0x252980(0x1b5)][_0x5620d9[_0x252980(0x1b7)]]);const _0x167fd5={};_0x167fd5[_0x252980(0x1a3)]=_0x18901d,_0x34afe0[0x0][_0x252980(0x10f)]['capability']=_0x167fd5;}logger[_0x252980(0xf9)](_0x5620d9[_0x252980(0x14e)]),logger[_0x252980(0xf9)](_0x5620d9['cBoAm']),_0x5620d9['TnAGb'](parallelTestRun,_0x34afe0,_0x562bb2,_0x303bab)[_0x252980(0x12e)](_0x923298=>{const _0x5dd2a6=_0x252980;PerformanceTester[_0x5dd2a6(0x192)](PerformanceEvents['SDK_CLEANUP']),_0x5620d9[_0x5dd2a6(0x1a8)](printStats,_0x923298,_0x786c87[_0x5dd2a6(0x159)],_0x786c87[_0x5dd2a6(0x157)]||_0x786c87[_0x5620d9[_0x5dd2a6(0xf1)]]);})['finally'](()=>{const _0xfdba11=_0x252980;PerformanceTester[_0xfdba11(0x192)](PerformanceEvents[_0xfdba11(0xe5)]);try{const {browserstackFolderPath:_0x466d92,tcgConfigPath:_0x4d5fe0}=helper[_0xfdba11(0x1df)]();fs['unlinkSync'](_0x4d5fe0),fs['rmdirSync'](_0x466d92);}catch(_0x25d849){logger[_0xfdba11(0x1db)](_0x5620d9[_0xfdba11(0x1d1)],_0x25d849);}try{utilities[_0xfdba11(0x11a)](_0x5620d9['XNOLk'],{},_0x303bab[_0xfdba11(0x141)],_0x303bab[_0xfdba11(0x1b2)]);}catch(_0x7b5145){logger[_0xfdba11(0x1db)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x7b5145[_0xfdba11(0x1b9)]);}try{helper[_0xfdba11(0x150)]();}catch(_0x5da6cb){logger[_0xfdba11(0x1db)](_0xfdba11(0x197)+_0x5da6cb);}testOpsHelper['printBuildLink']();});}else{const _0x425cce=helper[_0x252980(0x134)](_0x303bab[_0x252980(0x141)]);let _0x12d02e=helper['getHubUrl'](_0x303bab[_0x252980(0x141)]);_0x1266f9=helper[_0x252980(0x18c)](_0x303bab['config'],_0x425cce,constants['FRAMEWORKS'][_0x252980(0x125)]);helper[_0x252980(0x120)]()['central_scanner']&&(_0x12d02e=centralScannerConstants['BROWSERSTACK_GRR_US_HUB_URL']);let _0x1d4e59;const _0x2121b4=_0x303bab['config'][_0x252980(0xeb)]||helper[_0x252980(0x1b4)](_0x786c87,_0x2376aa,_0x303bab[_0x252980(0x141)],constants['FRAMEWORKS'][_0x252980(0x125)])||0x1;helper[_0x252980(0x12f)](_0x303bab[_0x252980(0x141)])?_0x1d4e59=_0x5620d9[_0x252980(0x107)](_0x303bab[_0x252980(0x141)]['platforms'][_0x252980(0xd1)],_0x2121b4):_0x1d4e59=_0x2121b4;const _0x3fcba7=_0x5620d9['XKdcH'](getPercyOptions,_0x303bab[_0x252980(0x141)]);if(_0x5620d9[_0x252980(0x1c8)](_0x303bab['config']['parallelsPerPlatform'],0x1))_0x4f02e2['forEach'](_0x1b0f4d=>{const _0x5ea039=_0x252980,_0x33b723=[];_0x1266f9[_0x5ea039(0x1d9)]((_0x34b655,_0x3e22e1)=>{const _0x583dc1=_0x5ea039,_0x208de1={};_0x208de1['spec']=[_0x1b0f4d],_0x33b723[_0x583dc1(0x139)]({'mochaOpts':Object['assign']({},_0x637c27,_0x208de1),'configuration':{'server':_0x12d02e,'capability':_0x34b655,'proxySettings':_0x303bab[_0x583dc1(0x141)][_0x583dc1(0x1d2)],'platform':helper['getPlatformName'](_0x34b655),'browserStackLogLevel':_0x303bab[_0x583dc1(0x141)][_0x583dc1(0x14a)],'platformIndex':_0x3e22e1,'browserStackPercyOptions':_0x3fcba7,'platformCaps':Object[_0x583dc1(0x165)]({'index':_0x3e22e1},_0x303bab[_0x583dc1(0x141)][_0x583dc1(0xfe)][_0x3e22e1])}});}),_0x34afe0[_0x5ea039(0x139)](..._0x33b723);});else{const _0x7391c3=[];_0x1266f9[_0x252980(0x1d9)]((_0x22d9ca,_0x55ea8f)=>{const _0x415a05=_0x252980;let _0x4e4fa6=Object[_0x415a05(0x165)]({},_0x637c27);testOpsHelper[_0x415a05(0x193)]()&&testOpsHelper[_0x415a05(0xff)]()&&(_0x4e4fa6={..._0x4e4fa6,'spec':[..._0x4f02e2]}),_0x7391c3['push']({'mochaOpts':_0x4e4fa6,'configuration':{'server':_0x12d02e,'capability':_0x22d9ca,'proxySettings':_0x303bab['config'][_0x415a05(0x1d2)],'platform':helper[_0x415a05(0x144)](_0x22d9ca),'browserStackLogLevel':_0x303bab[_0x415a05(0x141)][_0x415a05(0x14a)],'platformIndex':_0x55ea8f,'browserStackPercyOptions':_0x3fcba7,'platformCaps':Object[_0x415a05(0x165)]({'index':_0x55ea8f},_0x303bab[_0x415a05(0x141)][_0x415a05(0xfe)][_0x55ea8f])}});}),_0x34afe0[_0x252980(0x139)](..._0x7391c3);}logger[_0x252980(0xf9)](_0x252980(0x16a)+_0x303bab[_0x252980(0x141)][_0x252980(0xfe)][_0x252980(0xd1)]+_0x252980(0x112)),logger[_0x252980(0xf9)](_0x5620d9['cBoAm']);let _0x427e1d;_0x5620d9['hgwnx'](parallelTestRun,_0x34afe0,_0x1d4e59,_0x303bab)['then'](_0x55775d=>{const _0x5ca4b0=_0x252980;PerformanceTester[_0x5ca4b0(0x192)](PerformanceEvents[_0x5ca4b0(0xe5)]),_0x427e1d=_0x55775d,_0x5620d9[_0x5ca4b0(0x1e1)](printStats,_0x55775d,_0x786c87[_0x5ca4b0(0x159)],_0x786c87[_0x5ca4b0(0x157)]||_0x786c87[_0x5620d9[_0x5ca4b0(0xf1)]]);})[_0x252980(0xf0)](async()=>{const _0x5f2ff2=_0x252980;PerformanceTester[_0x5f2ff2(0x192)](PerformanceEvents[_0x5f2ff2(0xe5)]),_0x303bab['errorMessage']=helper['getErrorMessageFromResults'](_0x427e1d,_0x5620d9[_0x5f2ff2(0xf2)]),await utilities[_0x5f2ff2(0xe4)](_0x303bab),testOpsHelper[_0x5f2ff2(0x1d4)]();});}}module[a33_0x26695b(0x1bc)]=run;
2
+ 'use strict';const a33_0x4fa9dc=a33_0x5d29;(function(_0x567c65,_0x5a5e60){const _0x396e0f=a33_0x5d29,_0x36c5ab=_0x567c65();while(!![]){try{const _0x11283e=-parseInt(_0x396e0f(0x150))/0x1*(-parseInt(_0x396e0f(0xee))/0x2)+parseInt(_0x396e0f(0xdb))/0x3+-parseInt(_0x396e0f(0xf6))/0x4+parseInt(_0x396e0f(0x145))/0x5*(-parseInt(_0x396e0f(0x155))/0x6)+-parseInt(_0x396e0f(0x16a))/0x7*(parseInt(_0x396e0f(0x178))/0x8)+parseInt(_0x396e0f(0xdf))/0x9*(parseInt(_0x396e0f(0xd9))/0xa)+parseInt(_0x396e0f(0xde))/0xb;if(_0x11283e===_0x5a5e60)break;else _0x36c5ab['push'](_0x36c5ab['shift']());}catch(_0x4c6932){_0x36c5ab['push'](_0x36c5ab['shift']());}}}(a33_0x2e26,0x23142));const chalk=require(a33_0x4fa9dc(0xda)),logger=require(a33_0x4fa9dc(0xf5))[a33_0x4fa9dc(0x140)],helper=require(a33_0x4fa9dc(0x158)),utilities=require('../../helpers/utilities'),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a33_0x4fa9dc(0x158)),{getPercyOptions}=require(a33_0x4fa9dc(0x96)),Base=requireModule(a33_0x4fa9dc(0x89),a33_0x4fa9dc(0x172)),collectFiles=requireModule(a33_0x4fa9dc(0x18e),a33_0x4fa9dc(0x172)),constants=require(a33_0x4fa9dc(0xcc)),PerformanceTester=require(a33_0x4fa9dc(0x112)),PerformanceEvents=require(a33_0x4fa9dc(0xbc))[a33_0x4fa9dc(0x114)],centralScannerConstants=require(a33_0x4fa9dc(0x9b)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),TestHubHandler=require(a33_0x4fa9dc(0x12a));function a33_0x2e26(){const _0x37cdc3=['passes','Phozy','testSuites','failure','exitCode','join','513358WpjyrS','LkcuG','isBrowserstackInfra','tGkjh','useColors','excludeTagsInTestingScope','pGUFQ','../../helpers/logger','1123000yJprue','duration','MlgPx','cliConfig','forEach','jiTUQ','eEHxI','finalExecution','HlpVG','JINea','hideDiff','failed','CKyIN','GaITs','reporter-option','state','parse','getPlatformName','passed','LnLKb','mjs','MMlph','BROWSERSTACK_TEST_ACCESSIBILITY_YML','iGOZs','tgBFD','map','FRAMEWORKS','hasOwnProperty','../../helpers/performance/performance-tester','isEmpty','EVENTS','VjXZb','SDKTestSuccessful','Now,\x20showing\x20logs\x20from\x20mocha','iCCOZ','totalTests','pending','gasoY','finally','doc','results','jNMfP','add','foNVR','isNotUndefined','framework','aEwsF','actual','JZufY','oWgJA','KRnco','BDfHs','../../helpers/testhub/testhubHandler','config','yKLuR','lhPBr','goGjY','cAIgh','PcEfN','MOCHA','rSYSP','recursive','rWMwi','error','spec','GWhEZ','xEIhM','cjs','title','keys','speed','AOgOu','proxySettings','object','winstonLogger','DGPRz','setupTCGAuth','accessibilityOptions','wfFFn','1010IfxsUv','stack','IDryL','bXXUG','getUserWorkerCount','Couldn\x27t\x20write\x20json\x20result\x20to','VVEmI','yyGTD','pUUwH','getTCGConfigFilePaths','ocYRx','1HkCBry','IAvAZ','testObservability','SuTJD','wuFPP','6432ciQYBM','jLXdt','isUndefined','../../helpers/helper','bold','testsPending','message','retries','jmawM','UgQhG','amYkR','initialize','Writing\x20xunit\x20result\x20to\x20file','BpsKg','\x20total','writeFileSync','vhdWo','testsuite','prepareCapabilities','SDK_CLEANUP','xunit','896BsxXKN','BioEb','FjQln','XNTvr','BROWSERSTACK_GRR_US_HUB_URL','yellow','BROWSERSTACK_TEST_OBSERVABILITY_YML','error\x20removing\x20tcg\x20config\x20file','mocha','fullTitle','BQPWh','indexOf','parseTestOrchestrationOptions','platform','6184sGdyAM','getOwnPropertyNames','XjlYR','start','hItWF','validPlatformsPresent','bgRedBright','JfRhx','consoleLog','GIDWe','suiteName','retryTestsOnFailure','err','generateDiff','assign','shouldReRunObservabilityTests','stats','stringify','PYGEk','isPending','call','aivrP','mocha/lib/cli/collect-files.js','green','kWICV','env','mocha/lib/reporters/base.js','getHubUrl','rerunTests','uXjZp','fLEcT','has','rmdirSync','SGSrR','\x0a\x0a\x0a','HSbJo','\x20skipped','eOdvB','zjHWo','../../helpers/percy/utils','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','length','useW3C','VYRqc','../../helpers/central-scanner/constants','toUTCString','fsgwJ','testcase','hkEgZ','log','testsFailed','pUrai','hKUQF','accessibility','expected','bstack:options','failures','debug','lpmxn','pMuMR','push','XpwjT','odUCJ','Mocha\x20Tests','</testsuite>','parseFileNames','platforms','notifyUpdate','configuration','rGPqO','info','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','yZZmn','getCentralUser','file','extension','iJhng','../../helpers/performance/constants','txSxe','Running\x20your\x20mocha\x20tests','unlinkSync','HrdSm','TGrwO','reporterOptions','ignore','json','red','Writing\x20json\x20result\x20to\x20file','Total\x20Suites:\x20','errorMessage','includeTagsInTestingScope','****\x20FAILURES\x20****','WgbzG','../utils/constants','DqtoG','files','NewxV','parallelsPerPlatform','VhDfi','launchBuild','Listing\x20all\x20the\x20failures','hRYlN','exports','central_scanner','AKHAP','printBuildLink','1670mjsSYK','chalk','544398uXhKaL','output','tkEwV','3049486bKLXyA','1323KiCRtr','setUserConfigPath','size','Running\x20your\x20mocha\x20tests\x20across\x20','VWift','ZkVJi','EfJjP','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','FjCIJ'];a33_0x2e26=function(){return _0x37cdc3;};return a33_0x2e26();}function tag(_0x28a3f6,_0x4cfb02,_0x596eae,_0x2f24b3){const _0x181022=a33_0x4fa9dc,_0x835da6={'lhPBr':function(_0xe9174c,_0x33b562){return _0xe9174c+_0x33b562;},'LnLKb':function(_0x35e609,_0x59fdd7){return _0x35e609+_0x59fdd7;},'iJhng':function(_0x3def9b,_0x4a9920){return _0x3def9b(_0x4a9920);},'Phozy':function(_0x41b999,_0x1f30df){return _0x41b999+_0x1f30df;},'aEwsF':function(_0x253273,_0x1d6296){return _0x253273+_0x1d6296;},'FjQln':function(_0x373a03,_0x59a6de){return _0x373a03+_0x59a6de;}},_0x27e5f1=_0x596eae?'/>':'>',_0x6e865=[];let _0x169e96;for(const _0x10e075 in _0x4cfb02){Object['prototype'][_0x181022(0x111)][_0x181022(0x18c)](_0x4cfb02,_0x10e075)&&_0x6e865['push'](_0x835da6[_0x181022(0x12d)](_0x835da6['lhPBr'](_0x835da6[_0x181022(0x109)](_0x10e075,'=\x22'),_0x835da6[_0x181022(0xbb)](escape,_0x4cfb02[_0x10e075])),'\x22'));}return _0x169e96=_0x835da6['LnLKb'](_0x835da6[_0x181022(0xe9)](_0x835da6['aEwsF']('<',_0x28a3f6),_0x6e865[_0x181022(0x98)]?_0x835da6[_0x181022(0x124)]('\x20',_0x6e865[_0x181022(0xed)]('\x20')):''),_0x27e5f1),_0x2f24b3&&(_0x169e96+=_0x835da6[_0x181022(0x16c)](_0x835da6[_0x181022(0x12d)](_0x835da6[_0x181022(0x109)](_0x2f24b3,'</'),_0x28a3f6),_0x27e5f1)),_0x169e96;}let xunitContent='';function xunitWrite(_0x4a7056){xunitContent+=_0x4a7056;}function xunitTest(_0x1d01fc,_0x969bf7){const _0x2dc2fa=a33_0x4fa9dc,_0x12ed85={'ipGOF':function(_0x16029c,_0x30656e){return _0x16029c/_0x30656e;},'yKLuR':function(_0x3dd811,_0x364a42){return _0x3dd811===_0x364a42;},'hkEgZ':_0x2dc2fa(0x101),'hKUQF':function(_0x1ac046,_0x218402){return _0x1ac046+_0x218402;},'GWAoO':function(_0x128bea,_0x44667d){return _0x128bea(_0x44667d);},'PYGEk':function(_0xb897d5,_0x236fff,_0x3e6ae5,_0x4ef822,_0x16ad8c){return _0xb897d5(_0x236fff,_0x3e6ae5,_0x4ef822,_0x16ad8c);},'BDfHs':_0x2dc2fa(0x9e),'eOdvB':function(_0x3c6999,_0xc3128f,_0xdc1ad9,_0x38c401,_0xbe2ba1){return _0x3c6999(_0xc3128f,_0xdc1ad9,_0x38c401,_0xbe2ba1);},'WgbzG':_0x2dc2fa(0xeb),'gasoY':function(_0x283bd0,_0x5c3b98){return _0x283bd0(_0x5c3b98);},'hRYlN':function(_0x248791,_0x25a49c){return _0x248791(_0x25a49c);},'diPgZ':function(_0x1b39c6,_0x5b1752,_0x58a6b2,_0x1c3173,_0x3984e8){return _0x1b39c6(_0x5b1752,_0x58a6b2,_0x1c3173,_0x3984e8);},'DGPRz':function(_0x2f641c,_0x477785,_0x3eb5c5,_0x1bc15d){return _0x2f641c(_0x477785,_0x3eb5c5,_0x1bc15d);},'wfFFn':'skipped','jmawM':function(_0x183790,_0x427e19,_0xeadd7c,_0x48a331){return _0x183790(_0x427e19,_0xeadd7c,_0x48a331);}};Base[_0x2dc2fa(0xf2)]=![];var _0x53844e={'classname':_0x1d01fc['fullTitle'],'name':_0x1d01fc[_0x2dc2fa(0x13a)],'time':_0x12ed85['ipGOF'](_0x1d01fc[_0x2dc2fa(0xf7)],0x3e8)||0x0,'platform':_0x969bf7};if(_0x12ed85[_0x2dc2fa(0x12c)](_0x1d01fc[_0x2dc2fa(0x105)],_0x12ed85[_0x2dc2fa(0x9f)])){var _0x4734cc=_0x1d01fc[_0x2dc2fa(0x184)],_0x2c83bb=!Base[_0x2dc2fa(0x100)]&&Base['showDiff'](_0x4734cc)?_0x12ed85[_0x2dc2fa(0xa3)]('\x0a',Base[_0x2dc2fa(0x185)](_0x4734cc[_0x2dc2fa(0x125)],_0x4734cc[_0x2dc2fa(0xa5)])):'';_0x12ed85['GWAoO'](xunitWrite,_0x12ed85[_0x2dc2fa(0x18a)](tag,_0x12ed85[_0x2dc2fa(0x129)],_0x53844e,![],_0x12ed85[_0x2dc2fa(0x94)](tag,_0x12ed85[_0x2dc2fa(0xcb)],{},![],_0x12ed85[_0x2dc2fa(0xa3)](_0x12ed85['hKUQF'](_0x12ed85[_0x2dc2fa(0xa3)](_0x12ed85[_0x2dc2fa(0x11b)](escape,_0x4734cc[_0x2dc2fa(0x15b)]),_0x12ed85[_0x2dc2fa(0xd4)](escape,_0x2c83bb)),'\x0a'),_0x12ed85['GWAoO'](escape,_0x4734cc['stack'])))));}else _0x1d01fc[_0x2dc2fa(0x18b)]?_0x12ed85['hRYlN'](xunitWrite,_0x12ed85['diPgZ'](tag,_0x12ed85[_0x2dc2fa(0x129)],_0x53844e,![],_0x12ed85[_0x2dc2fa(0x141)](tag,_0x12ed85[_0x2dc2fa(0x144)],{},!![]))):_0x12ed85[_0x2dc2fa(0x11b)](xunitWrite,_0x12ed85[_0x2dc2fa(0x15d)](tag,_0x12ed85[_0x2dc2fa(0x129)],_0x53844e,!![]));};function a33_0x5d29(_0x2fd3b4,_0x3e8fe6){const _0x2e26b9=a33_0x2e26();return a33_0x5d29=function(_0x5d29fd,_0x358051){_0x5d29fd=_0x5d29fd-0x88;let _0x44aa94=_0x2e26b9[_0x5d29fd];return _0x44aa94;},a33_0x5d29(_0x2fd3b4,_0x3e8fe6);}function getStats(_0x5004f3){const _0x147c1e=a33_0x4fa9dc,_0x967c31={};_0x967c31['ZkVJi']='suite',_0x967c31[_0x147c1e(0xa9)]=_0x147c1e(0x108),_0x967c31[_0x147c1e(0x16d)]=_0x147c1e(0x101),_0x967c31[_0x147c1e(0xdd)]=_0x147c1e(0x11e);const _0x43a03c=_0x967c31,_0x30ebdf=Object[_0x147c1e(0x13b)](_0x5004f3);let _0x251fc8=0x0,_0xf69d74=0x0,_0x3aefb6=0x0,_0x3c10b0=0x0;const _0x38259f=new Set();_0x30ebdf[_0x147c1e(0xfa)](_0x44f9c0=>{const _0x5e080b=_0x147c1e;_0x5004f3[_0x44f9c0][_0x43a03c[_0x5e080b(0xdd)]][_0x5e080b(0xfa)](_0x3670ac=>{const _0x46cbd0=_0x5e080b;_0x38259f[_0x46cbd0(0x120)](_0x3670ac[_0x43a03c[_0x46cbd0(0xe4)]]),_0x251fc8++;switch(_0x3670ac[_0x46cbd0(0x105)]){case _0x43a03c[_0x46cbd0(0xa9)]:_0x3aefb6++;break;case _0x43a03c['XNTvr']:_0xf69d74++;break;default:_0x3c10b0++;}});});const _0x188ca4={};return _0x188ca4[_0x147c1e(0xea)]=_0x38259f[_0x147c1e(0xe1)],_0x188ca4[_0x147c1e(0xb1)]=_0x30ebdf,_0x188ca4[_0x147c1e(0x119)]=_0x251fc8,_0x188ca4[_0x147c1e(0xa1)]=_0xf69d74,_0x188ca4['testsPassed']=_0x3aefb6,_0x188ca4[_0x147c1e(0x15a)]=_0x3c10b0,_0x188ca4;}function errorJSON(_0x289685){const _0x47983c=a33_0x4fa9dc;var _0xd0bb0d={};return Object[_0x47983c(0x179)](_0x289685)['forEach'](function(_0x2c8bba){_0xd0bb0d[_0x2c8bba]=_0x289685[_0x2c8bba];},_0x289685),_0xd0bb0d;}function cleanCycles(_0x41b9a3){const _0x795389=a33_0x4fa9dc,_0x2cb640={};_0x2cb640[_0x795389(0x13d)]=function(_0x2ab8a3,_0x46b45b){return _0x2ab8a3===_0x46b45b;},_0x2cb640[_0x795389(0x10d)]=_0x795389(0x13f),_0x2cb640['amYkR']=function(_0x5a007a,_0x2dcb0a){return _0x5a007a!==_0x2dcb0a;},_0x2cb640['HSbJo']=function(_0x2312a2,_0x5905f1){return _0x2312a2!==_0x5905f1;},_0x2cb640[_0x795389(0x12f)]=function(_0x3e66b9,_0x2b595a){return _0x3e66b9+_0x2b595a;};const _0xea9c9b=_0x2cb640;var _0x2df08e=[];return JSON[_0x795389(0x106)](JSON[_0x795389(0x189)](_0x41b9a3,function(_0x5d5d7f,_0x4eb789){const _0x5c12d3=_0x795389;if(_0xea9c9b[_0x5c12d3(0x13d)](typeof _0x4eb789,_0xea9c9b[_0x5c12d3(0x10d)])&&_0xea9c9b[_0x5c12d3(0x15f)](_0x4eb789,null)){if(_0xea9c9b[_0x5c12d3(0x92)](_0x2df08e[_0x5c12d3(0x175)](_0x4eb789),-0x1))return _0xea9c9b['cAIgh']('',_0x4eb789);_0x2df08e[_0x5c12d3(0xab)](_0x4eb789);}return _0x4eb789;}));}function clean(_0x5d004e){const _0x542983=a33_0x4fa9dc,_0x192cd3={'Fxoqx':function(_0x2fef75,_0x4f07af){return _0x2fef75 instanceof _0x4f07af;},'HlpVG':function(_0x3b6dc8,_0x59df93){return _0x3b6dc8(_0x59df93);},'txSxe':function(_0x4a036f,_0x1d3cee){return _0x4a036f(_0x1d3cee);}};var _0x5ef92e=_0x5d004e[_0x542983(0x184)]||{};return _0x192cd3['Fxoqx'](_0x5ef92e,Error)&&(_0x5ef92e=_0x192cd3[_0x542983(0xfe)](errorJSON,_0x5ef92e)),{'title':_0x5d004e[_0x542983(0x13a)],'fullTitle':_0x5d004e[_0x542983(0x173)],'file':_0x5d004e[_0x542983(0xb9)],'duration':_0x5d004e[_0x542983(0xf7)],'currentRetry':_0x5d004e['currentRetry'],'speed':_0x5d004e[_0x542983(0x13c)],'err':_0x192cd3[_0x542983(0xbd)](cleanCycles,_0x5ef92e)};}function printStats(_0x2751bd,_0x45ce40=a33_0x4fa9dc(0x136),_0x1d4b98={}){const _0xf679f0=a33_0x4fa9dc,_0xe8ba6d={'VhDfi':function(_0x27427e,_0x5f54fe){return _0x27427e(_0x5f54fe);},'LkcuG':function(_0x5d2807,_0x24a89e){return _0x5d2807===_0x24a89e;},'GIDWe':_0xf679f0(0x108),'hItWF':_0xf679f0(0xe8),'FjCIJ':_0xf679f0(0x101),'ltFVS':_0xf679f0(0xa7),'VWift':_0xf679f0(0x11a),'tgBFD':_0xf679f0(0x11e),'odUCJ':function(_0x393038,_0xcc0f28){return _0x393038===_0xcc0f28;},'TGrwO':function(_0x4b4a22,_0x1dfaf3){return _0x4b4a22*_0x1dfaf3;},'BQPWh':function(_0x135ace,_0x2081a9,_0x567cdc){return _0x135ace(_0x2081a9,_0x567cdc);},'JfRhx':function(_0x252834,_0x5d89e9){return _0x252834>_0x5d89e9;},'GaITs':function(_0x3793e3){return _0x3793e3();},'IDryL':_0xf679f0(0x11d),'bXXUG':function(_0x4f6e3,_0x2220fc){return _0x4f6e3>_0x2220fc;},'yyGTD':'Setting\x20non\x20exit\x20code\x20for\x20failures','KRnco':'Printing\x20stats\x20of\x20tests','pUUwH':function(_0x184a57,_0x76cb54){return _0x184a57+_0x76cb54;},'uKIZA':'Total\x20Platforms:\x20','YFLWI':function(_0x23273e,_0x17e300){return _0x23273e+_0x17e300;},'JZufY':_0xf679f0(0xc7),'MlgPx':function(_0x521460,_0x1c47a1){return _0x521460+_0x1c47a1;},'MMlph':function(_0x163611,_0x36ea5d){return _0x163611+_0x36ea5d;},'yZZmn':function(_0x3041d7,_0x4a7af1){return _0x3041d7+_0x4a7af1;},'vhdWo':'Tests:\x20\x20\x20\x20\x20\x20\x20','pUrai':function(_0x2d7bd6,_0x2e4467){return _0x2d7bd6+_0x2e4467;},'zspzi':function(_0x5a1254,_0x460e15){return _0x5a1254+_0x460e15;},'jiTUQ':function(_0x13d4e3,_0x129f26){return _0x13d4e3+_0x129f26;},'GMbGE':_0xf679f0(0x91),'JINea':function(_0x4ee259,_0x4c3102){return _0x4ee259===_0x4c3102;},'ocYRx':_0xf679f0(0xc4),'Ovxos':_0xf679f0(0xc6),'AKHAP':_0xf679f0(0x14a),'XpwjT':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','fsgwJ':_0xf679f0(0x169),'BioEb':_0xf679f0(0xae),'VjXZb':function(_0x40f017,_0x52aee8){return _0x40f017||_0x52aee8;},'NewxV':function(_0x48677d,_0x5df113,_0x47b3f8,_0x301fd0){return _0x48677d(_0x5df113,_0x47b3f8,_0x301fd0);},'DqtoG':_0xf679f0(0x166),'jLXdt':function(_0x2be761,_0x860bff){return _0x2be761-_0x860bff;},'kWICV':function(_0x4720f8,_0x55eae5){return _0x4720f8/_0x55eae5;},'pGUFQ':_0xf679f0(0xaf),'dBWON':_0xf679f0(0x161),'VVEmI':'Couldn\x27t\x20write\x20xunit\x20result\x20to','rWMwi':_0xf679f0(0x97),'OQdgn':function(_0x12f08a,_0x385acb){return _0x12f08a===_0x385acb;},'IAvAZ':_0xf679f0(0xd3),'eEHxI':_0xf679f0(0xca)};if(_0xe8ba6d[_0xf679f0(0xef)](_0x45ce40,_0xe8ba6d[_0xf679f0(0x147)]))return;const _0x319e92=0x0,_0x7518a4=()=>{const _0x2d56dd=_0xf679f0;return _0xe8ba6d[_0x2d56dd(0xd1)](Array,_0x319e92)[_0x2d56dd(0xed)]('\x20\x20');},{testSuites:_0x25fd28,platforms:_0x1b978a,totalTests:_0x490f89,testsFailed:_0x4e3e8d,testsPassed:_0x1d98c1,testsPending:_0x2aaa35}=_0xe8ba6d[_0xf679f0(0xd1)](getStats,_0x2751bd);_0xe8ba6d[_0xf679f0(0x148)](_0x4e3e8d,0x0)&&(logger[_0xf679f0(0xa8)](_0xe8ba6d[_0xf679f0(0x14c)]),process[_0xf679f0(0xec)]=Math['min'](_0x4e3e8d,0xff));logger[_0xf679f0(0xa8)](_0xe8ba6d[_0xf679f0(0x128)]);const _0x2a1d0c=''+_0xe8ba6d[_0xf679f0(0x14d)](chalk[_0xf679f0(0x159)](_0xe8ba6d['uKIZA']),_0x1b978a[_0xf679f0(0x98)]),_0x54db69=''+_0xe8ba6d['YFLWI'](chalk[_0xf679f0(0x159)](_0xe8ba6d[_0xf679f0(0x126)]),_0x25fd28),_0x235f6c=''+_0xe8ba6d[_0xf679f0(0xf8)](_0xe8ba6d[_0xf679f0(0x10b)](_0xe8ba6d[_0xf679f0(0xb7)](chalk['bold'](_0xe8ba6d[_0xf679f0(0x165)]),_0xe8ba6d[_0xf679f0(0x17f)](_0x4e3e8d,0x0)?chalk[_0xf679f0(0x159)][_0xf679f0(0xc5)](_0x4e3e8d+'\x20failed')+',\x20':''),_0xe8ba6d['bXXUG'](_0x2aaa35,0x0)?chalk[_0xf679f0(0x159)][_0xf679f0(0x16f)](_0x2aaa35+_0xf679f0(0x93))+',\x20':''),_0xe8ba6d[_0xf679f0(0x17f)](_0x1d98c1,0x0)?chalk[_0xf679f0(0x159)][_0xf679f0(0x18f)](_0x1d98c1+'\x20passed')+',\x20':'')+_0x490f89+_0xf679f0(0x163);console[_0xf679f0(0xa0)](_0xe8ba6d['pUrai'](_0xe8ba6d[_0xf679f0(0xb7)](_0xe8ba6d['zspzi'](_0xe8ba6d[_0xf679f0(0xfb)](_0xe8ba6d[_0xf679f0(0xa2)](_0xe8ba6d['GMbGE'],_0x2a1d0c),'\x0a'),_0x54db69),'\x0a'),_0x235f6c));if(_0xe8ba6d[_0xf679f0(0xff)](_0x45ce40,_0xe8ba6d[_0xf679f0(0x14f)])){const _0x1f90a5={},_0x48aa49={};_0x48aa49['testSuites']=_0x25fd28,_0x48aa49[_0xf679f0(0xb1)]=_0x1b978a,_0x48aa49['testsFailed']=_0x4e3e8d,_0x48aa49['testsPassed']=_0x1d98c1,_0x48aa49['testsPending']=_0x2aaa35,_0x1f90a5[_0xf679f0(0x188)]=_0x48aa49,_0x1b978a[_0xf679f0(0xfa)](_0x9352c5=>{const _0x430edf=_0xf679f0,_0x4a1fa0={'DCeSn':function(_0x2b3aa7,_0x150bf6){const _0x52cba9=a33_0x5d29;return _0xe8ba6d[_0x52cba9(0xef)](_0x2b3aa7,_0x150bf6);},'BpsKg':_0xe8ba6d[_0x430edf(0x181)],'SGSrR':_0xe8ba6d[_0x430edf(0x17c)],'IzGXN':function(_0x5d10c2,_0x17728b){return _0xe8ba6d['VhDfi'](_0x5d10c2,_0x17728b);},'oWgJA':function(_0x1a46af,_0x138714){const _0x31bd36=_0x430edf;return _0xe8ba6d[_0x31bd36(0xef)](_0x1a46af,_0x138714);},'wuFPP':_0xe8ba6d[_0x430edf(0xe7)],'EfJjP':_0xe8ba6d['ltFVS'],'QYqWa':function(_0xf8d7c9,_0x3f9e1d){const _0x5bf36e=_0x430edf;return _0xe8ba6d[_0x5bf36e(0xd1)](_0xf8d7c9,_0x3f9e1d);},'zjHWo':_0xe8ba6d[_0x430edf(0xe3)],'tGkjh':function(_0x4409a6,_0x218092){const _0x4befee=_0x430edf;return _0xe8ba6d[_0x4befee(0xd1)](_0x4409a6,_0x218092);}};_0x1f90a5[_0x9352c5]={'pending':[],'failures':[],'passes':[],'tests':_0x2751bd[_0x9352c5][_0xe8ba6d[_0x430edf(0x10e)]][_0x430edf(0x10f)](clean)},_0x2751bd[_0x9352c5][_0xe8ba6d[_0x430edf(0x10e)]]['forEach'](_0x4089d1=>{const _0x1c8986=_0x430edf;if(_0x4a1fa0['DCeSn'](_0x4089d1[_0x1c8986(0x105)],_0x4a1fa0[_0x1c8986(0x162)]))_0x1f90a5[_0x9352c5][_0x4a1fa0[_0x1c8986(0x90)]][_0x1c8986(0xab)](_0x4a1fa0['IzGXN'](clean,_0x4089d1));else _0x4a1fa0[_0x1c8986(0x127)](_0x4089d1['state'],_0x4a1fa0[_0x1c8986(0x154)])?_0x1f90a5[_0x9352c5][_0x4a1fa0[_0x1c8986(0xe5)]]['push'](_0x4a1fa0['QYqWa'](clean,_0x4089d1)):_0x1f90a5[_0x9352c5][_0x4a1fa0[_0x1c8986(0x95)]]['push'](_0x4a1fa0[_0x1c8986(0xf1)](clean,_0x4089d1));});});if(_0x1d4b98[_0xf679f0(0xdc)])try{logger[_0xf679f0(0xa8)](_0xe8ba6d['Ovxos'],_0x1d4b98[_0xf679f0(0xdc)]),fs[_0xf679f0(0x164)](_0x1d4b98[_0xf679f0(0xdc)],JSON[_0xf679f0(0x189)](_0x1f90a5,null,0x3));}catch(_0x45f092){logger[_0xf679f0(0x135)](_0xe8ba6d[_0xf679f0(0xd7)],_0x1d4b98[_0xf679f0(0xdc)]),logger[_0xf679f0(0xa8)](_0x45f092);}else logger[_0xf679f0(0xa8)](_0xe8ba6d[_0xf679f0(0xac)]),console[_0xf679f0(0xa0)](JSON[_0xf679f0(0x189)](_0x1f90a5,null,0x3));}else{if(_0xe8ba6d[_0xf679f0(0xad)](_0x45ce40,_0xe8ba6d[_0xf679f0(0x9d)])){let _0x31393b;const _0x38bca3=_0xe8ba6d[_0xf679f0(0x16b)];_0x1d4b98&&(_0x31393b=_0x1d4b98[_0xf679f0(0x182)]);_0x31393b=_0xe8ba6d[_0xf679f0(0x115)](_0x31393b,_0x38bca3);let _0x1a3713=0x0,_0x39e3aa=0x0,_0x2210df=0x0,_0x483275=0x0;_0x1b978a[_0xf679f0(0xfa)](_0x22abff=>{const _0x517593=_0xf679f0;_0x2751bd[_0x22abff][_0xe8ba6d[_0x517593(0x10e)]]['forEach'](_0xd1ea42=>{const _0x269b49=_0x517593;if(_0xe8ba6d[_0x269b49(0xef)](_0xd1ea42['state'],_0xe8ba6d['GIDWe']))_0x1a3713++;else _0xe8ba6d['odUCJ'](_0xd1ea42[_0x269b49(0x105)],_0xe8ba6d['FjCIJ'])&&_0x39e3aa++;_0x2210df++,_0x483275+=_0xe8ba6d[_0x269b49(0xc1)](_0xd1ea42[_0x269b49(0xf7)],0x1);});}),_0xe8ba6d[_0xf679f0(0xd1)](xunitWrite,_0xe8ba6d[_0xf679f0(0xcf)](tag,_0xe8ba6d[_0xf679f0(0xcd)],{'name':_0x31393b,'tests':_0x2210df,'failures':0x0,'errors':_0x39e3aa,'skipped':_0xe8ba6d['jLXdt'](_0xe8ba6d[_0xf679f0(0x156)](_0x2210df,_0x39e3aa),_0x1a3713),'timestamp':new Date()[_0xf679f0(0x9c)](),'time':_0xe8ba6d[_0xf679f0(0x190)](_0x483275,0x3e8)||0x0},![])),_0x1b978a[_0xf679f0(0xfa)](_0x821b82=>{const _0x101569=_0xf679f0;_0x2751bd[_0x821b82][_0xe8ba6d['tgBFD']][_0x101569(0xfa)](_0x2c6b56=>{const _0x4497e5=_0x101569;_0xe8ba6d[_0x4497e5(0x174)](xunitTest,_0x2c6b56,_0x821b82);});}),_0xe8ba6d[_0xf679f0(0xd1)](xunitWrite,_0xe8ba6d[_0xf679f0(0xf4)]);if(_0x1d4b98[_0xf679f0(0xdc)])try{logger[_0xf679f0(0xa8)](_0xe8ba6d['dBWON'],_0x1d4b98['output']),fs['writeFileSync'](_0x1d4b98['output'],xunitContent);}catch(_0x2754b6){logger['error'](_0xe8ba6d[_0xf679f0(0x14b)],_0x1d4b98[_0xf679f0(0xdc)]),logger[_0xf679f0(0xa8)](_0x2754b6);}else logger[_0xf679f0(0xa8)](_0xe8ba6d[_0xf679f0(0x134)]),console[_0xf679f0(0xa0)](xunitContent);}else{if(_0xe8ba6d['OQdgn'](_0x4e3e8d,0x0))return;console['log'](),logger[_0xf679f0(0xa8)](_0xe8ba6d[_0xf679f0(0x151)]),console[_0xf679f0(0xa0)](chalk[_0xf679f0(0x159)][_0xf679f0(0x17e)](_0xe8ba6d[_0xf679f0(0xfc)])),_0x1b978a[_0xf679f0(0xfa)](_0x275bd1=>{const _0xe5af80=_0xf679f0,_0xfd15f5={'xdFTr':function(_0x213b85,_0x2658e3){return _0xe8ba6d['odUCJ'](_0x213b85,_0x2658e3);},'pMuMR':_0xe8ba6d[_0xe5af80(0xe7)]},_0x4a63b5=[];_0x2751bd[_0x275bd1][_0xe8ba6d[_0xe5af80(0x10e)]][_0xe5af80(0xfa)](_0x271ff4=>{const _0x116b65=_0xe5af80;_0xfd15f5['xdFTr'](_0x271ff4[_0x116b65(0x105)],_0xfd15f5[_0x116b65(0xaa)])&&(_0x271ff4['titlePath']=()=>_0x271ff4['titlePathV'],_0x4a63b5['push'](_0x271ff4));}),_0xe8ba6d[_0xe5af80(0x17f)](_0x4a63b5[_0xe5af80(0x98)],0x0)&&(Base[_0xe5af80(0x180)](),Base['consoleLog'](_0xe8ba6d[_0xe5af80(0x103)](_0x7518a4),chalk[_0xe5af80(0x159)]['bgBlueBright'](_0x275bd1)),Base['list'](_0x4a63b5));});}}}async function run(_0x3ec089,_0x26f5f9,_0x55f7e1){const _0x2b6979=a33_0x4fa9dc,_0x4f9bec={'uXjZp':function(_0x4e8a7a,_0x1cd877,_0x4c014b,_0x5d02a8){return _0x4e8a7a(_0x1cd877,_0x4c014b,_0x5d02a8);},'iCCOZ':_0x2b6979(0x104),'foNVR':_0x2b6979(0x171),'jNMfP':_0x2b6979(0x116),'aivrP':'mocha','SuTJD':function(_0x241c18,_0x4a8520){return _0x241c18!=_0x4a8520;},'UgQhG':_0x2b6979(0x139),'eSvbn':_0x2b6979(0x10a),'goGjY':'test','rGPqO':_0x2b6979(0x8b),'fLEcT':function(_0x2b1b27,_0x306601){return _0x2b1b27(_0x306601);},'rSYSP':function(_0x320196,_0x21ab51,_0x4b06b9){return _0x320196(_0x21ab51,_0x4b06b9);},'utkWw':_0x2b6979(0xce),'PcEfN':_0x2b6979(0xc9),'GWhEZ':_0x2b6979(0xf3),'HrdSm':'includeEncodedExtension','CKyIN':_0x2b6979(0xbe),'XjlYR':_0x2b6979(0x117),'VYRqc':function(_0x49c99d,_0x226898){return _0x49c99d*_0x226898;},'xEIhM':function(_0x57ea5f,_0x272066){return _0x57ea5f!==_0x272066;}};helper[_0x2b6979(0xe0)](_0x55f7e1[_0x2b6979(0x123)],_0x3ec089),await _0x55f7e1[_0x2b6979(0x160)](_0x3ec089);helper[_0x2b6979(0xf0)]()?await helper['handleApp'](_0x55f7e1[_0x2b6979(0x12b)]):await _0x55f7e1[_0x2b6979(0x142)]();const _0x546c2a=[];let _0x29cb10=[];if(!_0x55f7e1[_0x2b6979(0x12b)])return;!helper['isUndefined'](_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0x143)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x2b6979(0x189)](_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0x143)]));const _0x4d2f0f=await TestHubHandler[_0x2b6979(0xd2)](FRAMEWORKS[_0x2b6979(0x131)],_0x55f7e1);_0x4f9bec[_0x2b6979(0x153)](_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0x152)],null)&&(process[_0x2b6979(0x88)][_0x2b6979(0x170)]=_0x55f7e1[_0x2b6979(0x12b)]['testObservability']);!helper[_0x2b6979(0x157)](_0x55f7e1[_0x2b6979(0x12b)]['accessibility'])&&(process[_0x2b6979(0x88)][_0x2b6979(0x10c)]=_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0xa4)]);const {extension:extension=['js',_0x4f9bec[_0x2b6979(0x15e)],_0x4f9bec['eSvbn']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x4f9bec[_0x2b6979(0x12e)]]}=_0x3ec089,_0x255561={..._0x3ec089};_0x255561['rootHooks']=null;const _0x15b910=_0x255561;let _0x166c35;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x22c643=process[_0x2b6979(0x88)]['BROWSERSTACK_RERUN_TESTS'];!helper[_0x2b6979(0x157)](_0x55f7e1[_0x2b6979(0xf9)])&&_0x55f7e1[_0x2b6979(0xf9)][_0x2b6979(0x8e)](_0x4f9bec[_0x2b6979(0xb4)])&&(_0x22c643=_0x55f7e1[_0x2b6979(0xf9)]['get'](_0x4f9bec[_0x2b6979(0xb4)])),_0x166c35=testOpsHelper[_0x2b6979(0xb0)](_0x22c643);}if(helper[_0x2b6979(0x157)](_0x166c35)){const _0x931ddc={};_0x931ddc[_0x2b6979(0xc3)]=ignore,_0x931ddc[_0x2b6979(0xba)]=extension,_0x931ddc[_0x2b6979(0xb9)]=file,_0x931ddc[_0x2b6979(0x133)]=recursive,_0x931ddc['sort']=sort,_0x931ddc['spec']=spec,_0x166c35=_0x4f9bec[_0x2b6979(0x8d)](collectFiles,_0x931ddc),_0x4f9bec[_0x2b6979(0x132)](nestedKeyValue,_0x166c35,[_0x4f9bec['utkWw']])&&(_0x166c35=_0x166c35[_0x2b6979(0xce)]);}const _0x1502c9=helper[_0x2b6979(0x176)](_0x55f7e1[_0x2b6979(0x12b)]);!helper[_0x2b6979(0x113)](_0x1502c9)&&helper[_0x2b6979(0x122)](_0x1502c9[_0x2b6979(0x183)])&&(_0x15b910[_0x2b6979(0x15c)]=_0x1502c9[_0x2b6979(0x183)]['maxRetries']);if(!helper[_0x2b6979(0xf0)]()){const _0x187f6f=0x1,_0x490174={..._0x15b910};_0x490174['spec']=[..._0x166c35],_0x546c2a[_0x2b6979(0xab)]({'mochaOpts':_0x490174,'configuration':{'platform':os[_0x2b6979(0x177)]()}});if(_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0xa4)]){const _0x59964d={};_0x59964d['accessibility']=!![];const _0x437ba0=_0x59964d;_0x4f9bec[_0x2b6979(0x153)](_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0x143)],null)&&(_0x437ba0['accessibilityOptions']=_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0x143)],delete _0x437ba0[_0x2b6979(0x143)][_0x4f9bec[_0x2b6979(0x130)]],delete _0x437ba0[_0x2b6979(0x143)][_0x4f9bec[_0x2b6979(0x137)]],delete _0x437ba0['accessibilityOptions'][_0x4f9bec[_0x2b6979(0xc0)]]);const _0x2abcf9={};_0x2abcf9[_0x2b6979(0xa6)]=_0x437ba0,_0x546c2a[0x0][_0x2b6979(0xb3)]['capability']=_0x2abcf9;}logger[_0x2b6979(0xb5)](_0x4f9bec[_0x2b6979(0x102)]),logger['info'](_0x4f9bec[_0x2b6979(0x17a)]),_0x4f9bec[_0x2b6979(0x8c)](parallelTestRun,_0x546c2a,_0x187f6f,_0x55f7e1)['then'](_0x19ea00=>{const _0x2f2083=_0x2b6979;PerformanceTester['start'](PerformanceEvents[_0x2f2083(0x168)]),_0x4f9bec[_0x2f2083(0x8c)](printStats,_0x19ea00,_0x3ec089['reporter'],_0x3ec089[_0x2f2083(0xc2)]||_0x3ec089[_0x4f9bec[_0x2f2083(0x118)]]);})[_0x2b6979(0x11c)](()=>{const _0x200c3f=_0x2b6979;PerformanceTester[_0x200c3f(0x17b)](PerformanceEvents[_0x200c3f(0x168)]);try{const {browserstackFolderPath:_0x261d56,tcgConfigPath:_0x3f408c}=helper[_0x200c3f(0x14e)]();fs[_0x200c3f(0xbf)](_0x3f408c),fs[_0x200c3f(0x8f)](_0x261d56);}catch(_0x50358b){logger['debug'](_0x4f9bec[_0x200c3f(0x121)],_0x50358b);}try{utilities['fireFunnelTestEvent'](_0x4f9bec[_0x200c3f(0x11f)],{},_0x55f7e1['config'],_0x55f7e1[_0x200c3f(0x123)]);}catch(_0xdef6a4){logger['debug'](_0x200c3f(0xb6)+_0xdef6a4[_0x200c3f(0x146)]);}try{helper[_0x200c3f(0xb2)]();}catch(_0x8f0266){logger[_0x200c3f(0xa8)](_0x200c3f(0xe6)+_0x8f0266);}testOpsHelper[_0x200c3f(0xd8)]();});}else{const _0x4a8c89=helper[_0x2b6979(0x99)](_0x55f7e1[_0x2b6979(0x12b)]);let _0x3836b3=helper[_0x2b6979(0x8a)](_0x55f7e1['config']);_0x29cb10=helper[_0x2b6979(0x167)](_0x55f7e1['config'],_0x4a8c89,constants[_0x2b6979(0x110)][_0x2b6979(0x131)]);helper[_0x2b6979(0xb8)]()[_0x2b6979(0xd6)]&&(_0x3836b3=centralScannerConstants[_0x2b6979(0x16e)]);let _0x56914c;const _0x337e59=_0x55f7e1[_0x2b6979(0x12b)]['parallelsPerPlatform']||helper[_0x2b6979(0x149)](_0x3ec089,_0x26f5f9,_0x55f7e1['config'],constants[_0x2b6979(0x110)][_0x2b6979(0x131)])||0x1;helper[_0x2b6979(0x17d)](_0x55f7e1['config'])?_0x56914c=_0x4f9bec[_0x2b6979(0x9a)](_0x55f7e1['config']['platforms']['length'],_0x337e59):_0x56914c=_0x337e59;const _0x487d98=_0x4f9bec[_0x2b6979(0x8d)](getPercyOptions,_0x55f7e1[_0x2b6979(0x12b)]);if(_0x4f9bec[_0x2b6979(0x138)](_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0xd0)],0x1))_0x166c35[_0x2b6979(0xfa)](_0x2fd523=>{const _0x55fb61=_0x2b6979,_0x409bdc=[];_0x29cb10[_0x55fb61(0xfa)]((_0x20c732,_0x3a0880)=>{const _0x5cfa85=_0x55fb61,_0x353e85={};_0x353e85[_0x5cfa85(0x136)]=[_0x2fd523],_0x409bdc[_0x5cfa85(0xab)]({'mochaOpts':Object[_0x5cfa85(0x186)]({},_0x15b910,_0x353e85),'configuration':{'server':_0x3836b3,'capability':_0x20c732,'proxySettings':_0x55f7e1['config'][_0x5cfa85(0x13e)],'platform':helper[_0x5cfa85(0x107)](_0x20c732),'browserStackLogLevel':_0x55f7e1[_0x5cfa85(0x12b)]['logLevel'],'platformIndex':_0x3a0880,'browserStackPercyOptions':_0x487d98,'platformCaps':Object[_0x5cfa85(0x186)]({'index':_0x3a0880},_0x55f7e1[_0x5cfa85(0x12b)][_0x5cfa85(0xb1)][_0x3a0880])}});}),_0x546c2a[_0x55fb61(0xab)](..._0x409bdc);});else{const _0x42aea2=[];_0x29cb10[_0x2b6979(0xfa)]((_0x128655,_0x4b5a5d)=>{const _0x1b59a0=_0x2b6979;let _0x4169b5=Object[_0x1b59a0(0x186)]({},_0x15b910);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x1b59a0(0x187)]()&&(_0x4169b5={..._0x4169b5,'spec':[..._0x166c35]}),_0x42aea2[_0x1b59a0(0xab)]({'mochaOpts':_0x4169b5,'configuration':{'server':_0x3836b3,'capability':_0x128655,'proxySettings':_0x55f7e1[_0x1b59a0(0x12b)][_0x1b59a0(0x13e)],'platform':helper[_0x1b59a0(0x107)](_0x128655),'browserStackLogLevel':_0x55f7e1[_0x1b59a0(0x12b)]['logLevel'],'platformIndex':_0x4b5a5d,'browserStackPercyOptions':_0x487d98,'platformCaps':Object['assign']({'index':_0x4b5a5d},_0x55f7e1[_0x1b59a0(0x12b)][_0x1b59a0(0xb1)][_0x4b5a5d])}});}),_0x546c2a['push'](..._0x42aea2);}logger[_0x2b6979(0xb5)](_0x2b6979(0xe2)+_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0xb1)][_0x2b6979(0x98)]+'\x20platforms'),logger['info'](_0x4f9bec[_0x2b6979(0x17a)]);let _0x35fed7;_0x4f9bec[_0x2b6979(0x8c)](parallelTestRun,_0x546c2a,_0x56914c,_0x55f7e1)['then'](_0x48c35a=>{const _0x407ee2=_0x2b6979;PerformanceTester[_0x407ee2(0x17b)](PerformanceEvents['SDK_CLEANUP']),_0x35fed7=_0x48c35a,_0x4f9bec['uXjZp'](printStats,_0x48c35a,_0x3ec089['reporter'],_0x3ec089[_0x407ee2(0xc2)]||_0x3ec089[_0x4f9bec[_0x407ee2(0x118)]]);})[_0x2b6979(0x11c)](async()=>{const _0x2be29b=_0x2b6979;PerformanceTester[_0x2be29b(0x17b)](PerformanceEvents[_0x2be29b(0x168)]),_0x55f7e1[_0x2be29b(0xc8)]=helper['getErrorMessageFromResults'](_0x35fed7,_0x4f9bec[_0x2be29b(0x18d)]),await utilities[_0x2be29b(0xfd)](_0x55f7e1),testOpsHelper[_0x2be29b(0xd8)]();});}}module[a33_0x4fa9dc(0xd5)]=run;
@@ -1 +1 @@
1
- function a34_0x2975(_0x3c1857,_0x4e4104){const _0xad13d9=a34_0xad13();return a34_0x2975=function(_0x29751a,_0x4d6bb2){_0x29751a=_0x29751a-0xbd;let _0x7a3cac=_0xad13d9[_0x29751a];return _0x7a3cac;},a34_0x2975(_0x3c1857,_0x4e4104);}const a34_0x38c061=a34_0x2975;(function(_0x349618,_0xb8c5bd){const _0x1818b1=a34_0x2975,_0x815b8=_0x349618();while(!![]){try{const _0x4faa5e=-parseInt(_0x1818b1(0x12c))/0x1*(-parseInt(_0x1818b1(0xfc))/0x2)+parseInt(_0x1818b1(0x124))/0x3*(parseInt(_0x1818b1(0xff))/0x4)+-parseInt(_0x1818b1(0xf9))/0x5+parseInt(_0x1818b1(0xd9))/0x6+-parseInt(_0x1818b1(0x102))/0x7+-parseInt(_0x1818b1(0x125))/0x8*(parseInt(_0x1818b1(0x116))/0x9)+parseInt(_0x1818b1(0xc9))/0xa*(parseInt(_0x1818b1(0x10a))/0xb);if(_0x4faa5e===_0xb8c5bd)break;else _0x815b8['push'](_0x815b8['shift']());}catch(_0x2c2ac1){_0x815b8['push'](_0x815b8['shift']());}}}(a34_0xad13,0x47a19));const logger=require('../../../helpers/logger')[a34_0x38c061(0x10c)],helper=require(a34_0x38c061(0xca)),constants=require(a34_0x38c061(0xc7)),hubAllocator=require(a34_0x38c061(0x12a)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a34_0x38c061(0xe4)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a34_0x38c061(0xd7)),{overrideExecute}=require(a34_0x38c061(0xcc)),modify=(_0x1dc432,_0x27c4a7=null,_0x293fa4=![])=>{const _0x1a66c1=a34_0x38c061,_0x178a81={'nLpPM':function(_0x585b78,_0x307d44){return _0x585b78!==_0x307d44;},'EgeFU':_0x1a66c1(0x107),'mwFat':function(_0x3d724b,_0x1b801c){return _0x3d724b+_0x1b801c;},'lYOWb':function(_0x432e0c,_0x4f5a7b){return _0x432e0c+_0x4f5a7b;},'XOInz':'https://','RrEuG':_0x1a66c1(0xec),'jWHAK':_0x1a66c1(0xde),'SfOGZ':'chromeOptions','HgDmo':'ms:edgeOptions','trDQk':_0x1a66c1(0xbd),'giaWy':_0x1a66c1(0x10e),'ViGMw':_0x1a66c1(0x11f),'qeZNs':_0x1a66c1(0xed),'mbcpQ':_0x1a66c1(0x112),'duPTf':_0x1a66c1(0xd1),'OBhqD':function(_0x13b436,_0x15df62){return _0x13b436===_0x15df62;},'xHBjU':_0x1a66c1(0x12b),'KGOIg':'Setting\x20Browserstack\x20capabilities','xlMJI':'optimalHubUrl','MecdJ':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','OGeeO':function(_0x2f4dff,_0x3ef018,_0x12bdad){return _0x2f4dff(_0x3ef018,_0x12bdad);},'cHIwp':_0x1a66c1(0xfa),'eHfKV':function(_0x5b07de,_0x29452a,_0x1762a2){return _0x5b07de(_0x29452a,_0x1762a2);},'QvqyZ':function(_0xb4a8af,_0x1266a7){return _0xb4a8af(_0x1266a7);},'SenQy':_0x1a66c1(0x120),'ltxtb':_0x1a66c1(0xf3),'RbGQp':'isAccessibilityPlatform','dpGOn':function(_0x712bea){return _0x712bea();},'mSvWi':function(_0x1be010,_0x4b6603){return _0x1be010(_0x4b6603);},'VapCs':function(_0x2ed0c6,_0x289456){return _0x2ed0c6!==_0x289456;},'sEGND':_0x1a66c1(0xe8),'hvDUU':_0x1a66c1(0xd0)},_0x26d2bd=helper['requireHttpClient']();let _0x5c23bf;try{_0x5c23bf=helper[_0x1a66c1(0x126)](),_0x5c23bf[_0x1a66c1(0x11c)]&&(_0x5c23bf['Builder']=_0x5c23bf[_0x1a66c1(0x11c)]);}catch(_0x13462e){return;}if(helper[_0x1a66c1(0x100)]()){const _0x4ceb2a={};_0x4ceb2a[_0x1a66c1(0xe1)]=_0x1dc432[_0x1a66c1(0xf1)],helper[_0x1a66c1(0x106)](_0x4ceb2a,new Map(),new Map()),logger['info'](_0x178a81['sEGND']),logger[_0x1a66c1(0xdc)](_0x178a81[_0x1a66c1(0xc2)]);}class _0x3969ad extends _0x26d2bd[_0x1a66c1(0x11e)]{[_0x1a66c1(0x111)](_0x5e9ce8){const _0x4bbc8c=_0x1a66c1;if(_0x178a81[_0x4bbc8c(0x114)](_0x5e9ce8['path'],_0x178a81['EgeFU'])&&_0x178a81[_0x4bbc8c(0x114)](global[_0x4bbc8c(0xe2)],''))try{global[_0x4bbc8c(0xe2)]=_0x178a81[_0x4bbc8c(0xd4)](_0x178a81['lYOWb'](_0x178a81['XOInz'],global[_0x4bbc8c(0xe2)]),_0x178a81[_0x4bbc8c(0x127)]),this[_0x4bbc8c(0x110)]=hubAllocator[_0x4bbc8c(0x10f)](global['newHubUrl']),logger[_0x4bbc8c(0xdc)](_0x4bbc8c(0xef)+global[_0x4bbc8c(0xe2)]),global[_0x4bbc8c(0xe2)]='';}catch(_0x34b356){logger[_0x4bbc8c(0xf0)](_0x34b356);}return super[_0x4bbc8c(0x111)](_0x5e9ce8);}}class _0x408d0f extends _0x5c23bf[_0x1a66c1(0xc1)]{[_0x1a66c1(0x109)](){const _0x161de6=_0x1a66c1;return this[_0x161de6(0xc6)]=helper[_0x161de6(0x118)](_0x1dc432),logger[_0x161de6(0xdc)](_0x161de6(0x115)+this[_0x161de6(0xc6)]),this;}[_0x1a66c1(0xbe)](_0x3a30fa){const _0x25d0c5=_0x1a66c1;let _0x46a64={};for(const _0x31220c in _0x3a30fa){switch(_0x31220c){case _0x178a81[_0x25d0c5(0xc5)]:case _0x178a81[_0x25d0c5(0xd8)]:this[_0x25d0c5(0x123)]&&(_0x46a64=this[_0x25d0c5(0x123)][_0x25d0c5(0xe0)](this['chromeOptions_'][_0x25d0c5(0xf7)])||{},this[_0x25d0c5(0x123)]['set'](this['chromeOptions_']['CAPABILITY_KEY'],helper[_0x25d0c5(0xf5)](_0x46a64,_0x3a30fa[_0x31220c])));break;case _0x178a81['HgDmo']:case _0x178a81[_0x25d0c5(0xcf)]:this[_0x25d0c5(0xe6)]&&(_0x46a64=this[_0x25d0c5(0xe6)][_0x25d0c5(0xe0)](this[_0x25d0c5(0xe6)]['CAPABILITY_KEY'])||{},this[_0x25d0c5(0xe6)][_0x25d0c5(0xd3)](this[_0x25d0c5(0xe6)][_0x25d0c5(0xf7)],helper[_0x25d0c5(0xf5)](_0x46a64,_0x3a30fa[_0x31220c])));break;case _0x178a81[_0x25d0c5(0x11b)]:case _0x178a81['ViGMw']:this[_0x25d0c5(0xfb)]&&(_0x46a64=this[_0x25d0c5(0xfb)][_0x25d0c5(0xe0)](this['firefoxOptions_'][_0x25d0c5(0xf7)])||{},this['firefoxOptions_'][_0x25d0c5(0xd3)](this[_0x25d0c5(0xfb)][_0x25d0c5(0xf7)],helper[_0x25d0c5(0xf5)](_0x46a64,_0x3a30fa[_0x31220c])));break;case _0x178a81[_0x25d0c5(0x12d)]:this['safariOptions_']&&(_0x46a64=this[_0x25d0c5(0xc8)][_0x25d0c5(0xe0)](this[_0x25d0c5(0xc8)][_0x25d0c5(0xf7)])||{},this[_0x25d0c5(0xc8)][_0x25d0c5(0xd3)](this['safariOptions_'][_0x25d0c5(0xf7)],helper[_0x25d0c5(0xf5)](_0x46a64,_0x3a30fa[_0x31220c])));break;case _0x178a81[_0x25d0c5(0x10d)]:case _0x178a81[_0x25d0c5(0x101)]:this['ieOptions_']&&(_0x46a64=this['ieOptions_'][_0x25d0c5(0xe0)](this[_0x25d0c5(0xfe)][_0x25d0c5(0xf7)])||{},this[_0x25d0c5(0xfe)][_0x25d0c5(0xd3)](this['ieOptions_']['CAPABILITY_KEY'],helper[_0x25d0c5(0xf5)](_0x46a64,_0x3a30fa[_0x31220c])));break;}}}['setCapabilities'](){const _0xb13a4=_0x1a66c1;return logger[_0xb13a4(0xdc)](_0x178a81['KGOIg']),this[_0xb13a4(0xbe)](_0x1dc432['capability']),Object[_0xb13a4(0xe5)](_0x1dc432[_0xb13a4(0xd5)])['forEach'](_0x2b94bb=>{const _0x29a155=_0xb13a4,_0x34d55d=this['capabilities_'][_0x29a155(0xe0)](_0x2b94bb);_0x178a81['OBhqD'](typeof _0x34d55d,_0x178a81[_0x29a155(0x129)])?this[_0x29a155(0xe3)][_0x29a155(0xd3)](_0x2b94bb,helper[_0x29a155(0xf5)](_0x34d55d,_0x1dc432[_0x29a155(0xd5)][_0x2b94bb])):this[_0x29a155(0xe3)][_0x29a155(0xd3)](_0x2b94bb,_0x1dc432[_0x29a155(0xd5)][_0x2b94bb]);}),this;}[_0x1a66c1(0x12e)](){const _0x82b6ac=_0x1a66c1,_0x19cee2={'kFcAW':function(_0x1dc791,_0x3aaa40,_0x231035){const _0x335aa3=a34_0x2975;return _0x178a81[_0x335aa3(0x119)](_0x1dc791,_0x3aaa40,_0x231035);},'Yemgq':_0x178a81[_0x82b6ac(0xce)],'GgwSi':function(_0x2c4d9c,_0x49cb06,_0x49e101){return _0x178a81['OGeeO'](_0x2c4d9c,_0x49cb06,_0x49e101);},'upvFa':function(_0x42a09d,_0x4971b1,_0xfd079){return _0x178a81['eHfKV'](_0x42a09d,_0x4971b1,_0xfd079);},'ozaSH':function(_0x2f36ba,_0x16aba7){return _0x178a81['QvqyZ'](_0x2f36ba,_0x16aba7);}};if(helper['isBrowserstackInfra']()){const _0x18b28c=_0x178a81[_0x82b6ac(0x11d)]['split']('|');let _0x4725ed=0x0;while(!![]){switch(_0x18b28c[_0x4725ed++]){case'0':logger[_0x82b6ac(0xdc)](_0x178a81['ltxtb']);continue;case'1':this[_0x82b6ac(0x109)]();continue;case'2':if(helper['isPacProxy'](_0x1dc432[_0x82b6ac(0xe7)]['proxyUrl']))this[_0x82b6ac(0xf8)]=helper[_0x82b6ac(0x103)](_0x1dc432['proxySettings'][_0x82b6ac(0xeb)]);else _0x1dc432['proxySettings'][_0x82b6ac(0xeb)]&&(this[_0x82b6ac(0xea)]=_0x1dc432[_0x82b6ac(0xe7)][_0x82b6ac(0xeb)],logger[_0x82b6ac(0xdc)]('Proxy\x20set\x20to\x20'+this[_0x82b6ac(0xea)]));continue;case'3':globals[_0x82b6ac(0xd2)](_0x178a81[_0x82b6ac(0xbf)])&&(!_0x178a81[_0x82b6ac(0xdf)](setExtension,this,_0x1dc432)&&globals[_0x82b6ac(0x117)](_0x178a81['RbGQp'],![]));continue;case'4':_0x178a81[_0x82b6ac(0xc3)](isAccessibilityAutomationSession)&&_0x178a81['QvqyZ'](setAccessibilityCapabilities,_0x1dc432);continue;case'5':this[_0x82b6ac(0xee)]();continue;}break;}}const _0x9b0e0a=super[_0x82b6ac(0x12e)]();return _0x9b0e0a['session_'][_0x82b6ac(0xfd)](_0x52dd89=>{const _0x15f90e=_0x82b6ac;try{const _0x535d27=_0x52dd89['caps_'][_0x15f90e(0xe0)](_0x178a81[_0x15f90e(0xc0)]);_0x535d27?(logger[_0x15f90e(0xdc)](_0x15f90e(0x104)+_0x535d27),hubAllocator['updateHubUrl'](_0x535d27),helper[_0x15f90e(0xf6)](_0x535d27)):logger['debug'](_0x178a81['MecdJ']);}catch(_0x3177d2){logger[_0x15f90e(0xdc)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x3177d2);}}),_0x9b0e0a[_0x82b6ac(0xf4)]=0x0,_0x9b0e0a['then']&&_0x9b0e0a[_0x82b6ac(0xfd)](_0x4ba8bc=>{const _0x763d26=_0x82b6ac,_0x3a1016=_0x19cee2['Yemgq']['split']('|');let _0x1c1f34=0x0;while(!![]){switch(_0x3a1016[_0x1c1f34++]){case'0':_0x19cee2[_0x763d26(0xe9)](overrideExecute,_0x4ba8bc,_0x1dc432);continue;case'1':_0x19cee2[_0x763d26(0x128)](overrideQuit,_0x4ba8bc,_0x9b0e0a);continue;case'2':helper[_0x763d26(0xd6)](_0x4ba8bc,_0x1dc432);continue;case'3':_0x19cee2[_0x763d26(0xdd)](overrideTakeScreenshot,_0x4ba8bc);continue;case'4':_0x4ba8bc[_0x763d26(0x108)]=async()=>{const _0x17b809=_0x763d26;return await _0x19cee2[_0x17b809(0xcd)](getAccessibilityResultsSummary,_0x4ba8bc,global);};continue;case'5':_0x4ba8bc[_0x763d26(0x10b)]=async()=>{const _0x1fabfa=_0x763d26;return await _0x19cee2[_0x1fabfa(0xcd)](getAccessibilityResults,_0x4ba8bc,global);};continue;}break;}}),_0x9b0e0a[_0x82b6ac(0x108)]=async()=>{const _0x247148=_0x82b6ac;return await _0x178a81[_0x247148(0x119)](getAccessibilityResultsSummary,_0x9b0e0a,global);},_0x9b0e0a[_0x82b6ac(0x10b)]=async()=>{const _0x32a579=_0x82b6ac;return await _0x19cee2[_0x32a579(0xcd)](getAccessibilityResults,_0x9b0e0a,global);},_0x178a81[_0x82b6ac(0xdb)](overrideTakeScreenshot,_0x9b0e0a),_0x178a81[_0x82b6ac(0xf2)](overrideQuit,_0x9b0e0a),helper[_0x82b6ac(0xd6)](_0x9b0e0a,_0x1dc432),_0x178a81[_0x82b6ac(0x119)](overrideExecute,_0x9b0e0a,_0x1dc432),helper[_0x82b6ac(0x11a)](global['__driversArray'])&&(global[_0x82b6ac(0xc4)]=[]),helper['isUndefined'](global[_0x82b6ac(0xcb)])&&(global[_0x82b6ac(0xcb)]=[]),global[_0x82b6ac(0xc4)][_0x82b6ac(0x121)](_0x9b0e0a),global['__driver']=_0x9b0e0a,_0x178a81[_0x82b6ac(0x122)](global[_0x82b6ac(0xcb)],undefined)&&global[_0x82b6ac(0xcb)][_0x82b6ac(0x121)](_0x9b0e0a),_0x27c4a7&&helper[_0x82b6ac(0x11a)](_0x27c4a7[_0x82b6ac(0x113)][_0x82b6ac(0xc4)])&&(_0x27c4a7[_0x82b6ac(0x113)][_0x82b6ac(0xc4)]=[]),_0x27c4a7&&_0x178a81[_0x82b6ac(0x114)](_0x27c4a7[_0x82b6ac(0x113)][_0x82b6ac(0xcb)],undefined)&&(_0x27c4a7[_0x82b6ac(0x113)][_0x82b6ac(0xcb)][_0x82b6ac(0x121)](_0x9b0e0a),_0x27c4a7[_0x82b6ac(0x113)][_0x82b6ac(0xc4)]['push'](_0x9b0e0a)),_0x9b0e0a;}}return _0x5c23bf[_0x1a66c1(0x11c)]=_0x5c23bf[_0x1a66c1(0xc1)],_0x5c23bf[_0x1a66c1(0xc1)]=_0x408d0f,_0x26d2bd[_0x1a66c1(0x11e)]=_0x3969ad,_0x5c23bf;};module[a34_0x38c061(0x105)][a34_0x38c061(0xda)]=modify;function a34_0xad13(){const _0x4ba00c=['getAccessibilityResultsSummary','setServer','2044790bQywqn','getAccessibilityResults','winstonLogger','mbcpQ','moz:firefoxOptions','getRequestOptions','options_','send','se:ieOptions','global','nLpPM','Hub\x20url\x20set\x20to\x20','9oRkZag','setGlobal','getHubUrl','OGeeO','isUndefined','giaWy','originalBuilder','SenQy','HttpClient','firefoxOptions','4|1|5|2|3|0','push','VapCs','chromeOptions_','84LTWfsT','575424uMhMlN','requireSeleniumWebdriver','RrEuG','upvFa','xHBjU','../../../hubAllocationMethods','object','28297yuhhrB','qeZNs','build','edgeOptions','__setBrowserOptions','RbGQp','xlMJI','Builder','hvDUU','dpGOn','__driversArray','jWHAK','url_','../../../bin/utils/constants','safariOptions_','10ddmfPx','../../../helpers/helper','__drivers','./helpers/patchHelper','kFcAW','cHIwp','trDQk','Modifying\x20webdriver\x20builder','ieOptions','getGlobal','set','mwFat','capability','overrideGet','../../../helpers/globals','SfOGZ','1291686gEYdKe','browserstackAgentObservability','QvqyZ','debug','ozaSH','goog:chromeOptions','eHfKV','get','logLevel','newHubUrl','capabilities_','../accessibility-automation/helper','keys','edgeOptions_','proxySettings','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','GgwSi','proxy_','proxyUrl','/wd/hub','safari.options','setCapabilities','New\x20hub\x20url\x20set\x20to\x20','error','browserStackLogLevel','mSvWi','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','quitCount_','mergeDeep','storeOptimalHubUrl','CAPABILITY_KEY','agent_','1698760qZrxVY','1|3|2|0|4|5','firefoxOptions_','32Kobnns','then','ieOptions_','16412icqyEs','isBrowserstackInfra','duPTf','1846082dvOMhg','getHttpAgent','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','exports','setLogLevel','/session'];a34_0xad13=function(){return _0x4ba00c;};return a34_0xad13();}
1
+ const a34_0x55232e=a34_0x50b4;(function(_0x262634,_0xd0dcd1){const _0x414757=a34_0x50b4,_0x311894=_0x262634();while(!![]){try{const _0xf932c9=parseInt(_0x414757(0x266))/0x1*(-parseInt(_0x414757(0x1fa))/0x2)+-parseInt(_0x414757(0x232))/0x3+-parseInt(_0x414757(0x22c))/0x4+parseInt(_0x414757(0x1fb))/0x5+-parseInt(_0x414757(0x24a))/0x6+parseInt(_0x414757(0x259))/0x7*(-parseInt(_0x414757(0x239))/0x8)+parseInt(_0x414757(0x22b))/0x9;if(_0xf932c9===_0xd0dcd1)break;else _0x311894['push'](_0x311894['shift']());}catch(_0x4d8fdc){_0x311894['push'](_0x311894['shift']());}}}(a34_0x4bbd,0x35dc6));function a34_0x4bbd(){const _0x38f6ed=['BwMiJ','BuWMH','originalBuilder','580131JZfoGK','split','capabilities_','OPBvc','opYex','exports','../../../helpers/patchHelpers','16iVDyNS','__driversArray','isBrowserstackInfra','debug','updateHubUrl','edgeOptions_','set','safari.options','WzlRZ','build','firefoxOptions','CAPABILITY_KEY','push','ieOptions_','__drivers','global','PeYbz','2338266iCdyyS','YnHPD','isUndefined','ZYHRG','plAHT','mEhPq','setCapabilities','se:ieOptions','/wd/hub','bzFOb','options_','AEoKe','keys','HFDwr','overrideGet','1268911oSgxua','chromeOptions_','chromeOptions','../../../bin/utils/constants','5|3|0|4|2|1','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','getAccessibilityResults','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','caps_','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','TyzXh','safariOptions_','requireSeleniumWebdriver','5QZIzcX','proxyUrl','browserstackAgentObservability','mergeDeep','Proxy\x20set\x20to\x20','https://','__driver','New\x20hub\x20url\x20set\x20to\x20','../../../helpers/accessibility-automation/helper','tekAN','requireHttpClient','52674TAbjlc','216470epDltb','wTdlN','QHgns','ztOfF','newHubUrl','proxySettings','sAQir','getHubUrl','LrecN','Modifying\x20webdriver\x20builder','bBaYq','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','goog:chromeOptions','session_','winstonLogger','getGlobal','../../../hubAllocationMethods','get','uvKtM','GUHnu','Setting\x20Browserstack\x20capabilities','getRequestOptions','error','iKXrK','__setBrowserOptions','info','agent_','capability','proxy_','optimalHubUrl','Rvzxb','kFZNP','getAccessibilityResultsSummary','updAx','cJKJK','../accessibility-automation/helper','send','TkGVR','path','CSVev','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','forEach','HttpClient','gqSAw','then','Builder','../../../helpers/helper','url_','14568363ZIsebJ','1456272RmzyaF','firefoxOptions_','mplop'];a34_0x4bbd=function(){return _0x38f6ed;};return a34_0x4bbd();}function a34_0x50b4(_0x37631f,_0x28fa22){const _0x4bbdbe=a34_0x4bbd();return a34_0x50b4=function(_0x50b419,_0x132147){_0x50b419=_0x50b419-0x1f2;let _0x3bf7a6=_0x4bbdbe[_0x50b419];return _0x3bf7a6;},a34_0x50b4(_0x37631f,_0x28fa22);}const logger=require('../../../helpers/logger')[a34_0x55232e(0x209)],helper=require(a34_0x55232e(0x229)),constants=require(a34_0x55232e(0x25c)),hubAllocator=require(a34_0x55232e(0x20b)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a34_0x55232e(0x238)),{setAccessibilityCapabilities,setExtension}=require(a34_0x55232e(0x21e)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a34_0x55232e(0x1f7)),globals=require('../../../helpers/globals'),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x4fa8a7,_0x1d0258=null,_0x2807f2=![])=>{const _0x6f1d8a=a34_0x55232e,_0x269e13={'mplop':function(_0x53a755,_0x385d79){return _0x53a755!==_0x385d79;},'Rvzxb':'/session','GUHnu':function(_0x2463c6,_0x177a86){return _0x2463c6!==_0x177a86;},'AEoKe':function(_0x2ab166,_0x5d4b2c){return _0x2ab166+_0x5d4b2c;},'sAQir':function(_0x5946e7,_0xf25267){return _0x5946e7+_0xf25267;},'YnHPD':_0x6f1d8a(0x1f4),'swmQx':_0x6f1d8a(0x252),'eILga':_0x6f1d8a(0x207),'PeYbz':_0x6f1d8a(0x25b),'MJrIH':'ms:edgeOptions','plAHT':'edgeOptions','wTdlN':'moz:firefoxOptions','mEhPq':_0x6f1d8a(0x243),'bzFOb':_0x6f1d8a(0x240),'CSVev':_0x6f1d8a(0x251),'btAXm':'ieOptions','gqSAw':function(_0x471023,_0x43ac4b){return _0x471023===_0x43ac4b;},'Ukdqd':'object','BwMiJ':_0x6f1d8a(0x20f),'TyzXh':_0x6f1d8a(0x218),'opYex':_0x6f1d8a(0x223),'OPBvc':function(_0x2815fb,_0x1e789a,_0x5a4fa9){return _0x2815fb(_0x1e789a,_0x5a4fa9);},'tekAN':function(_0x1e9af5,_0x305a13,_0x504f49){return _0x1e9af5(_0x305a13,_0x504f49);},'iKXrK':function(_0x1ad4b9,_0xf7df09){return _0x1ad4b9(_0xf7df09);},'zDwEW':function(_0x452987,_0x549d77,_0x19f310){return _0x452987(_0x549d77,_0x19f310);},'TkGVR':function(_0x583813,_0x56a181,_0x1362db){return _0x583813(_0x56a181,_0x1362db);},'QHgns':_0x6f1d8a(0x25d),'cJKJK':_0x6f1d8a(0x260),'kFZNP':'isAccessibilityPlatform','WzlRZ':function(_0x8cb1c0){return _0x8cb1c0();},'HFDwr':function(_0x559b57,_0x2e2e0b){return _0x559b57(_0x2e2e0b);},'ztOfF':function(_0x469ab2,_0x222ed9){return _0x469ab2(_0x222ed9);},'bBaYq':function(_0x46e2be,_0x3b7fd0){return _0x46e2be(_0x3b7fd0);},'LrecN':function(_0x5b2dc4,_0x1a9504){return _0x5b2dc4!==_0x1a9504;},'OBhrF':_0x6f1d8a(0x25e),'BuWMH':_0x6f1d8a(0x204)},_0x54cf21=helper[_0x6f1d8a(0x1f9)]();let _0x29172e;try{_0x29172e=helper[_0x6f1d8a(0x265)](),_0x29172e[_0x6f1d8a(0x231)]&&(_0x29172e[_0x6f1d8a(0x228)]=_0x29172e[_0x6f1d8a(0x231)]);}catch(_0x1d0fa1){return;}if(helper[_0x6f1d8a(0x23b)]()){const _0x47d76d={};_0x47d76d['logLevel']=_0x4fa8a7['browserStackLogLevel'],helper['setLogLevel'](_0x47d76d,new Map(),new Map()),logger[_0x6f1d8a(0x214)](_0x269e13['OBhrF']),logger[_0x6f1d8a(0x23c)](_0x269e13[_0x6f1d8a(0x230)]);}class _0x42e89b extends _0x54cf21[_0x6f1d8a(0x225)]{[_0x6f1d8a(0x21f)](_0x4a377a){const _0x3fca46=_0x6f1d8a;if(_0x269e13[_0x3fca46(0x22e)](_0x4a377a[_0x3fca46(0x221)],_0x269e13[_0x3fca46(0x219)])&&_0x269e13[_0x3fca46(0x20e)](global[_0x3fca46(0x1ff)],''))try{global[_0x3fca46(0x1ff)]=_0x269e13[_0x3fca46(0x255)](_0x269e13[_0x3fca46(0x201)](_0x269e13[_0x3fca46(0x24b)],global['newHubUrl']),_0x269e13['swmQx']),this[_0x3fca46(0x254)]=hubAllocator[_0x3fca46(0x210)](global[_0x3fca46(0x1ff)]),logger[_0x3fca46(0x23c)](_0x3fca46(0x1f6)+global[_0x3fca46(0x1ff)]),global[_0x3fca46(0x1ff)]='';}catch(_0x442669){logger[_0x3fca46(0x211)](_0x442669);}return super[_0x3fca46(0x21f)](_0x4a377a);}}class _0x1053ff extends _0x29172e['Builder']{['setServer'](){const _0x58d311=_0x6f1d8a;return this[_0x58d311(0x22a)]=helper[_0x58d311(0x202)](_0x4fa8a7),logger[_0x58d311(0x23c)]('Hub\x20url\x20set\x20to\x20'+this['url_']),this;}[_0x6f1d8a(0x213)](_0x314a48){const _0x459a24=_0x6f1d8a;let _0x1129fd={};for(const _0x2a9e14 in _0x314a48){switch(_0x2a9e14){case _0x269e13['eILga']:case _0x269e13[_0x459a24(0x249)]:this['chromeOptions_']&&(_0x1129fd=this[_0x459a24(0x25a)][_0x459a24(0x20c)](this[_0x459a24(0x25a)][_0x459a24(0x244)])||{},this[_0x459a24(0x25a)][_0x459a24(0x23f)](this['chromeOptions_'][_0x459a24(0x244)],helper['mergeDeep'](_0x1129fd,_0x314a48[_0x2a9e14])));break;case _0x269e13['MJrIH']:case _0x269e13[_0x459a24(0x24e)]:this[_0x459a24(0x23e)]&&(_0x1129fd=this[_0x459a24(0x23e)][_0x459a24(0x20c)](this['edgeOptions_']['CAPABILITY_KEY'])||{},this['edgeOptions_']['set'](this[_0x459a24(0x23e)][_0x459a24(0x244)],helper[_0x459a24(0x1f2)](_0x1129fd,_0x314a48[_0x2a9e14])));break;case _0x269e13[_0x459a24(0x1fc)]:case _0x269e13[_0x459a24(0x24f)]:this[_0x459a24(0x22d)]&&(_0x1129fd=this['firefoxOptions_'][_0x459a24(0x20c)](this[_0x459a24(0x22d)][_0x459a24(0x244)])||{},this[_0x459a24(0x22d)]['set'](this[_0x459a24(0x22d)]['CAPABILITY_KEY'],helper[_0x459a24(0x1f2)](_0x1129fd,_0x314a48[_0x2a9e14])));break;case _0x269e13[_0x459a24(0x253)]:this[_0x459a24(0x264)]&&(_0x1129fd=this[_0x459a24(0x264)][_0x459a24(0x20c)](this[_0x459a24(0x264)]['CAPABILITY_KEY'])||{},this['safariOptions_']['set'](this[_0x459a24(0x264)]['CAPABILITY_KEY'],helper[_0x459a24(0x1f2)](_0x1129fd,_0x314a48[_0x2a9e14])));break;case _0x269e13[_0x459a24(0x222)]:case _0x269e13['btAXm']:this[_0x459a24(0x246)]&&(_0x1129fd=this[_0x459a24(0x246)][_0x459a24(0x20c)](this[_0x459a24(0x246)][_0x459a24(0x244)])||{},this['ieOptions_'][_0x459a24(0x23f)](this[_0x459a24(0x246)][_0x459a24(0x244)],helper[_0x459a24(0x1f2)](_0x1129fd,_0x314a48[_0x2a9e14])));break;}}}[_0x6f1d8a(0x250)](){const _0x10a028=_0x6f1d8a,_0x34cb12={'bJHYW':function(_0x3b3bd3,_0x31eeab){const _0x548e24=a34_0x50b4;return _0x269e13[_0x548e24(0x226)](_0x3b3bd3,_0x31eeab);},'updAx':_0x269e13['Ukdqd']};return logger[_0x10a028(0x23c)](_0x269e13[_0x10a028(0x22f)]),this[_0x10a028(0x213)](_0x4fa8a7[_0x10a028(0x216)]),Object[_0x10a028(0x256)](_0x4fa8a7[_0x10a028(0x216)])[_0x10a028(0x224)](_0x3e48da=>{const _0x32dc06=_0x10a028,_0x3d85f8=this[_0x32dc06(0x234)]['get'](_0x3e48da);_0x34cb12['bJHYW'](typeof _0x3d85f8,_0x34cb12[_0x32dc06(0x21c)])?this['capabilities_'][_0x32dc06(0x23f)](_0x3e48da,helper[_0x32dc06(0x1f2)](_0x3d85f8,_0x4fa8a7[_0x32dc06(0x216)][_0x3e48da])):this[_0x32dc06(0x234)]['set'](_0x3e48da,_0x4fa8a7['capability'][_0x3e48da]);}),this;}[_0x6f1d8a(0x242)](){const _0x58bf68=_0x6f1d8a,_0x48845e={'ZYHRG':function(_0x16cf6e,_0x5ca231,_0x3bbd75){const _0x5cf7bf=a34_0x50b4;return _0x269e13[_0x5cf7bf(0x220)](_0x16cf6e,_0x5ca231,_0x3bbd75);}};if(helper[_0x58bf68(0x23b)]()){const _0x1f0649=_0x269e13[_0x58bf68(0x1fd)][_0x58bf68(0x233)]('|');let _0x1578c4=0x0;while(!![]){switch(_0x1f0649[_0x1578c4++]){case'0':this['setCapabilities']();continue;case'1':logger[_0x58bf68(0x23c)](_0x269e13[_0x58bf68(0x21d)]);continue;case'2':globals[_0x58bf68(0x20a)](_0x269e13[_0x58bf68(0x21a)])&&(!_0x269e13[_0x58bf68(0x235)](setExtension,this,_0x4fa8a7)&&globals['setGlobal'](_0x269e13[_0x58bf68(0x21a)],![]));continue;case'3':this['setServer']();continue;case'4':if(helper['isPacProxy'](_0x4fa8a7[_0x58bf68(0x200)][_0x58bf68(0x267)]))this[_0x58bf68(0x215)]=helper['getHttpAgent'](_0x4fa8a7[_0x58bf68(0x200)]['proxyUrl']);else _0x4fa8a7[_0x58bf68(0x200)][_0x58bf68(0x267)]&&(this[_0x58bf68(0x217)]=_0x4fa8a7[_0x58bf68(0x200)][_0x58bf68(0x267)],logger[_0x58bf68(0x23c)](_0x58bf68(0x1f3)+this[_0x58bf68(0x217)]));continue;case'5':_0x269e13[_0x58bf68(0x241)](isAccessibilityAutomationSession)&&_0x269e13[_0x58bf68(0x257)](setAccessibilityCapabilities,_0x4fa8a7);continue;}break;}}const _0x5efe4f=super['build']();return _0x5efe4f[_0x58bf68(0x208)][_0x58bf68(0x227)](_0x292342=>{const _0x2603ea=_0x58bf68;try{const _0x59d0a7=_0x292342[_0x2603ea(0x261)][_0x2603ea(0x20c)](_0x269e13[_0x2603ea(0x263)]);_0x59d0a7?(logger['debug'](_0x2603ea(0x206)+_0x59d0a7),hubAllocator[_0x2603ea(0x23d)](_0x59d0a7),helper['storeOptimalHubUrl'](_0x59d0a7)):logger[_0x2603ea(0x23c)](_0x269e13[_0x2603ea(0x236)]);}catch(_0x48c3e0){logger['debug'](_0x2603ea(0x262)+_0x48c3e0);}}),_0x5efe4f['quitCount_']=0x0,_0x5efe4f['then']&&_0x5efe4f[_0x58bf68(0x227)](_0xf21044=>{const _0xfa6ca=_0x58bf68,_0x29e8af={'uvKtM':function(_0x4becda,_0x1629fa,_0x4f8fbb){return _0x269e13['OPBvc'](_0x4becda,_0x1629fa,_0x4f8fbb);}};_0x269e13['tekAN'](overrideQuit,_0xf21044,_0x5efe4f),_0x269e13[_0xfa6ca(0x212)](overrideTakeScreenshot,_0xf21044),helper['overrideGet'](_0xf21044,_0x4fa8a7),_0x269e13[_0xfa6ca(0x1f8)](overrideExecute,_0xf21044,_0x4fa8a7),_0xf21044[_0xfa6ca(0x21b)]=async()=>{const _0x304912=_0xfa6ca;return await _0x29e8af[_0x304912(0x20d)](getAccessibilityResultsSummary,_0xf21044,global);},_0xf21044[_0xfa6ca(0x25f)]=async()=>{const _0x306e64=_0xfa6ca;return await _0x48845e[_0x306e64(0x24d)](getAccessibilityResults,_0xf21044,global);};}),_0x5efe4f['getAccessibilityResultsSummary']=async()=>{const _0xf0ebe=_0x58bf68;return await _0x48845e[_0xf0ebe(0x24d)](getAccessibilityResultsSummary,_0x5efe4f,global);},_0x5efe4f['getAccessibilityResults']=async()=>{return await _0x269e13['zDwEW'](getAccessibilityResults,_0x5efe4f,global);},_0x269e13[_0x58bf68(0x1fe)](overrideTakeScreenshot,_0x5efe4f),_0x269e13[_0x58bf68(0x205)](overrideQuit,_0x5efe4f),helper[_0x58bf68(0x258)](_0x5efe4f,_0x4fa8a7),_0x269e13['TkGVR'](overrideExecute,_0x5efe4f,_0x4fa8a7),helper[_0x58bf68(0x24c)](global[_0x58bf68(0x23a)])&&(global[_0x58bf68(0x23a)]=[]),helper[_0x58bf68(0x24c)](global[_0x58bf68(0x247)])&&(global[_0x58bf68(0x247)]=[]),global[_0x58bf68(0x23a)]['push'](_0x5efe4f),global[_0x58bf68(0x1f5)]=_0x5efe4f,_0x269e13['GUHnu'](global[_0x58bf68(0x247)],undefined)&&global[_0x58bf68(0x247)]['push'](_0x5efe4f),_0x1d0258&&helper['isUndefined'](_0x1d0258[_0x58bf68(0x248)]['__driversArray'])&&(_0x1d0258[_0x58bf68(0x248)]['__driversArray']=[]),_0x1d0258&&_0x269e13[_0x58bf68(0x203)](_0x1d0258[_0x58bf68(0x248)][_0x58bf68(0x247)],undefined)&&(_0x1d0258['global'][_0x58bf68(0x247)][_0x58bf68(0x245)](_0x5efe4f),_0x1d0258['global'][_0x58bf68(0x23a)][_0x58bf68(0x245)](_0x5efe4f)),_0x5efe4f;}}return _0x29172e[_0x6f1d8a(0x231)]=_0x29172e['Builder'],_0x29172e[_0x6f1d8a(0x228)]=_0x1053ff,_0x54cf21[_0x6f1d8a(0x225)]=_0x42e89b,_0x29172e;};module[a34_0x55232e(0x237)][a34_0x55232e(0x268)]=modify;
@@ -1 +1 @@
1
- const a35_0x265e69=a35_0x45c8;(function(_0x2825a5,_0x26e180){const _0x3ac06f=a35_0x45c8,_0x14090e=_0x2825a5();while(!![]){try{const _0x5d1390=parseInt(_0x3ac06f(0xa8))/0x1*(parseInt(_0x3ac06f(0xb1))/0x2)+-parseInt(_0x3ac06f(0xb5))/0x3*(-parseInt(_0x3ac06f(0xb4))/0x4)+-parseInt(_0x3ac06f(0xad))/0x5+-parseInt(_0x3ac06f(0xb0))/0x6*(parseInt(_0x3ac06f(0xa6))/0x7)+-parseInt(_0x3ac06f(0xaa))/0x8+-parseInt(_0x3ac06f(0xb6))/0x9*(-parseInt(_0x3ac06f(0xae))/0xa)+parseInt(_0x3ac06f(0xac))/0xb*(parseInt(_0x3ac06f(0xaf))/0xc);if(_0x5d1390===_0x26e180)break;else _0x14090e['push'](_0x14090e['shift']());}catch(_0x2926c3){_0x14090e['push'](_0x14090e['shift']());}}}(a35_0x9819,0x1dfd7));const requestSpy=require('../../../helpers/request-spy'),constants=require(a35_0x265e69(0xab)),{addRequestSpy}=require(a35_0x265e69(0xb2));function a35_0x45c8(_0x4da4cb,_0x3808d3){const _0x981907=a35_0x9819();return a35_0x45c8=function(_0x45c8e4,_0x5a596e){_0x45c8e4=_0x45c8e4-0xa6;let _0x1edcc0=_0x981907[_0x45c8e4];return _0x1edcc0;},a35_0x45c8(_0x4da4cb,_0x3808d3);}exports[a35_0x265e69(0xa7)]={'beforeAll'(){const _0x376091=a35_0x265e69,_0x563b78={'TmBmR':function(_0x4b20b7){return _0x4b20b7();}},_0x2a9c9='browserstack internal helper hook';_0x563b78[_0x376091(0xa9)](addRequestSpy);},'afterAll'(){const _0x469e59=a35_0x265e69,_0x50df8d='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x469e59(0xb3)]();}};function a35_0x9819(){const _0x226162=['4bOALND','242826RKIdWB','7551ipKrDJ','77hzjeWP','mochaHooks','5298cTmsMn','TmBmR','1337808VmvzlL','../../../bin/utils/constants','429715xpKhxS','1153860FgjTCo','1430ZVZiaZ','36DMLcKW','13686dxjGcI','86sLyhWf','../../../helpers/test-observability/utils','restore'];a35_0x9819=function(){return _0x226162;};return a35_0x9819();}
1
+ const a35_0x301dac=a35_0x149b;function a35_0xbcea(){const _0x13c89f=['1420848vjReVS','230QooHIY','../../../helpers/request-spy','timeout','1740fQoGAf','418wAGFbr','790cXyVYO','283817GPsOzq','1304HszyOT','1040xsQChd','20454FUuTlV','51201GtlTsh','391992VVWyYd','mochaHooks','aeJPq','36840eleDJL'];a35_0xbcea=function(){return _0x13c89f;};return a35_0xbcea();}function a35_0x149b(_0x54f57f,_0x5e9ef6){const _0xbcea3a=a35_0xbcea();return a35_0x149b=function(_0x149b54,_0x1a577a){_0x149b54=_0x149b54-0x1da;let _0xbe9c45=_0xbcea3a[_0x149b54];return _0xbe9c45;},a35_0x149b(_0x54f57f,_0x5e9ef6);}(function(_0x178962,_0x2fd043){const _0x2591e3=a35_0x149b,_0x30114b=_0x178962();while(!![]){try{const _0x48387b=-parseInt(_0x2591e3(0x1e6))/0x1+-parseInt(_0x2591e3(0x1e5))/0x2*(-parseInt(_0x2591e3(0x1e3))/0x3)+-parseInt(_0x2591e3(0x1de))/0x4*(-parseInt(_0x2591e3(0x1e0))/0x5)+-parseInt(_0x2591e3(0x1df))/0x6+parseInt(_0x2591e3(0x1e9))/0x7*(-parseInt(_0x2591e3(0x1e7))/0x8)+-parseInt(_0x2591e3(0x1da))/0x9*(parseInt(_0x2591e3(0x1e8))/0xa)+parseInt(_0x2591e3(0x1e4))/0xb*(parseInt(_0x2591e3(0x1db))/0xc);if(_0x48387b===_0x2fd043)break;else _0x30114b['push'](_0x30114b['shift']());}catch(_0x47164d){_0x30114b['push'](_0x30114b['shift']());}}}(a35_0xbcea,0x4a95d));const requestSpy=require(a35_0x301dac(0x1e1)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports[a35_0x301dac(0x1dc)]={'beforeAll'(){const _0x2e12eb=a35_0x301dac,_0xfa9e2f={'aeJPq':function(_0xc8cee3){return _0xc8cee3();}},_0x31ad04='browserstack internal helper hook';_0xfa9e2f[_0x2e12eb(0x1dd)](addRequestSpy);},'afterAll'(){const _0x5f2695=a35_0x301dac,_0x5e7e25='browserstack internal helper hook';this[_0x5f2695(0x1e2)](0xea60),requestSpy['restore']();}};
@@ -1 +1 @@
1
- const a36_0x14de46=a36_0x5a70;function a36_0x242b(){const _0x39b0ff=['markedStatus','mapTestHooks','1315104XHntdH','filter','../../../helpers/test-observability/utils','WbOBB','tcJaj','bs:addPlatformDetails:','getHooksForTest','474cpjcAe','toJSON','oEzoX','get','platformVersion','ZiKpp','parent','2870bFxRTe','nuwCq','_beforeAll','sendPlatformDetails','pending','type','sKYFG','suites','__cloud_provider___','getHookSkippedTests','getCapabilities','Kcqmy','forEach','getSession','substring','getPlatform','fAdVp','XUpsE','state','718QvHtRy','map_','../../../helpers/testhub/utils','AgCWA','RHhFo','getBrowserName','AmXMy','hookAnalyticsId','_beforeEach','split','rSBlt','indexOf','tjLvC','1561180kLhLrp','fetvB','_afterAll','AnDqI','3FTrzVA','tests','1165402LRqQpB','concat','browserstack','getBrowserVersion','pid','KKIvP','pWLxT','1337420ELyoPc','generic','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','toISOString','failed','string','push','unknown_grid','../../../helpers/test-observability/constants','Lbvqo','NVKdK','WpVIc','hook:','artts','lodash','uuid','fromEntries','slice','TBKbq','3501itqhNo','16foPVXD','fRtBX','310134CwJnnb','../../../../package.json','_afterEach','emit','getTestEnv','GAwwc'];a36_0x242b=function(){return _0x39b0ff;};return a36_0x242b();}(function(_0x55adfe,_0x49dd48){const _0x656bd8=a36_0x5a70,_0xd311d8=_0x55adfe();while(!![]){try{const _0x3a12cc=parseInt(_0x656bd8(0x10f))/0x1*(parseInt(_0x656bd8(0xf5))/0x2)+parseInt(_0x656bd8(0x120))/0x3*(-parseInt(_0x656bd8(0x11c))/0x4)+-parseInt(_0x656bd8(0x129))/0x5+parseInt(_0x656bd8(0xee))/0x6+parseInt(_0x656bd8(0x122))/0x7*(parseInt(_0x656bd8(0x13d))/0x8)+-parseInt(_0x656bd8(0x13c))/0x9*(-parseInt(_0x656bd8(0xfc))/0xa)+parseInt(_0x656bd8(0x13f))/0xb;if(_0x3a12cc===_0x49dd48)break;else _0xd311d8['push'](_0xd311d8['shift']());}catch(_0x12a484){_0xd311d8['push'](_0xd311d8['shift']());}}}(a36_0x242b,0x31e5c));function a36_0x5a70(_0x269e4c,_0x2970e3){const _0x242b54=a36_0x242b();return a36_0x5a70=function(_0x5a7003,_0x432461){_0x5a7003=_0x5a7003-0xe9;let _0x143fe8=_0x242b54[_0x5a7003];return _0x143fe8;},a36_0x5a70(_0x269e4c,_0x2970e3);}const {v4:uuidv4}=require(a36_0x14de46(0x138)),{name,version}=require(a36_0x14de46(0x140)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a36_0x14de46(0x131)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a36_0x14de46(0x111)),{isFunction}=require(a36_0x14de46(0x137)),{patchConsoleLogger}=require(a36_0x14de46(0xf0));patchConsoleLogger(),exports[a36_0x14de46(0xea)]=()=>{const _0x59846b=a36_0x14de46,_0x14e73={'xUhtR':_0x59846b(0x12a),'djSvL':function(_0x1c73f3){return _0x1c73f3();}};return{'ci':_0x14e73['xUhtR'],'key':_0x14e73['djSvL'](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0x43dbec=>{const _0x55c209=a36_0x14de46,_0x11771b={};_0x11771b[_0x55c209(0x11b)]=function(_0x730806,_0x455336){return _0x730806!==_0x455336;},_0x11771b[_0x55c209(0x133)]=_0x55c209(0x12e),_0x11771b[_0x55c209(0xeb)]=function(_0x1c2668,_0x4b1280){return _0x1c2668!==_0x4b1280;},_0x11771b[_0x55c209(0x10c)]=_0x55c209(0x135),_0x11771b[_0x55c209(0xf1)]='hook';const _0x3363e5=_0x11771b;if(!_0x43dbec||_0x3363e5[_0x55c209(0x11b)](typeof _0x43dbec,_0x3363e5['NVKdK']))return[null,null];if(_0x3363e5[_0x55c209(0xeb)](_0x43dbec[_0x55c209(0x11a)](_0x3363e5['fAdVp']),-0x1)){const _0x424faa=_0x43dbec[_0x55c209(0x118)](_0x3363e5['fAdVp']);return[_0x424faa[0x0][_0x55c209(0x13a)](0x0,-0x1)['split']('\x22')[0x1],_0x424faa[0x1][_0x55c209(0x10a)](0x1)];}else{if(_0x3363e5[_0x55c209(0x11b)](_0x43dbec[_0x55c209(0x11a)](_0x3363e5['WbOBB']),-0x1)){const _0x39b55c=_0x43dbec['split'](_0x3363e5[_0x55c209(0xf1)]);return[_0x39b55c[0x0][_0x55c209(0x13a)](0x0,-0x1)[_0x55c209(0x118)]('\x22')[0x1],_0x43dbec];}}return[null,null];},exports['getHooksForTest']=_0x550fad=>{const _0x504b44=a36_0x14de46,_0x4383f4={'TBKbq':function(_0x605e72,_0x20d22b){return _0x605e72(_0x20d22b);},'hlohl':_0x504b44(0xfe),'Kcqmy':'_afterAll','fRtBX':'_beforeEach','oEzoX':_0x504b44(0x141)};if(!_0x550fad||!_0x550fad[_0x504b44(0xfb)])return[];const _0x1bbce1=[];return[_0x4383f4['hlohl'],_0x4383f4[_0x504b44(0x107)],_0x4383f4[_0x504b44(0x13e)],_0x4383f4[_0x504b44(0xf7)]][_0x504b44(0x108)](_0x50630d=>{const _0xf0be8e=_0x504b44,_0x232665=_0x550fad[_0xf0be8e(0xfb)][_0x50630d]||[];_0x232665['forEach'](_0x33f5fe=>{const _0xf37a68=_0xf0be8e;_0x33f5fe['hookAnalyticsId']&&!_0x4383f4[_0xf37a68(0x13b)](isInternalHook,_0x33f5fe['fn'])&&_0x1bbce1[_0xf37a68(0x12f)](_0x33f5fe[_0xf37a68(0x116)]);});}),[..._0x1bbce1,...exports[_0x504b44(0xf4)](_0x550fad['parent'])];},exports['mapTestHooks']=_0x5c64af=>{const _0x19b646=a36_0x14de46,_0x13c168={'KKIvP':function(_0x50887e){return _0x50887e();},'ZiKpp':function(_0x9e56b9,_0x1e0ed7){return _0x9e56b9===_0x1e0ed7;},'AnDqI':_0x19b646(0x141),'tcJaj':_0x19b646(0xfe),'fetvB':_0x19b646(0x11e),'pWLxT':_0x19b646(0x117)};if(!_0x5c64af||!_0x5c64af[_0x19b646(0xfb)])return;[_0x13c168[_0x19b646(0xf2)],_0x13c168[_0x19b646(0x11d)],_0x13c168[_0x19b646(0x128)],_0x13c168[_0x19b646(0x11f)]]['forEach'](_0x13e89e=>{const _0x45bf01=_0x19b646,_0x51fcbd=_0x5c64af[_0x45bf01(0xfb)][_0x13e89e]||[];_0x51fcbd[_0x45bf01(0x108)](_0x586bf0=>{const _0x52420d=_0x45bf01;if(!_0x586bf0[_0x52420d(0x116)])_0x586bf0[_0x52420d(0x116)]=_0x13c168[_0x52420d(0x127)](uuidv4);else _0x586bf0[_0x52420d(0xec)]&&_0x13c168[_0x52420d(0xfa)](_0x13e89e,_0x13c168[_0x52420d(0x11f)])&&(_0x586bf0['hookAnalyticsId']=_0x13c168['KKIvP'](uuidv4),delete _0x586bf0[_0x52420d(0xec)]);});}),exports[_0x19b646(0xed)](_0x5c64af[_0x19b646(0xfb)]);},exports[a36_0x14de46(0xff)]=async(_0xd6589,_0x2f31a9)=>{const _0x1fba32=a36_0x14de46,_0x4dd793={'RHhFo':function(_0x2ba9e6){return _0x2ba9e6();},'ZecTL':function(_0x3aabec,_0xd8c51b){return _0x3aabec(_0xd8c51b);},'Lbvqo':_0x1fba32(0xf9),'GZqvc':function(_0x27ead8,_0x2dcdbe){return _0x27ead8(_0x2dcdbe);},'WpVIc':function(_0x266906,_0x4d621f){return _0x266906===_0x4d621f;},'pWNnV':_0x1fba32(0x124),'hfpKv':_0x1fba32(0x130),'XUpsE':'TEST_PLATFORM','nuwCq':function(_0x203e3c,_0x3cc088){return _0x203e3c(_0x3cc088);}};try{if(!_0x4dd793[_0x1fba32(0x113)](shouldProcessEventForTesthub))return;const _0x5a0a1e=await _0xd6589[_0x1fba32(0x106)](),_0xcb7a47=await _0xd6589[_0x1fba32(0x109)](),_0x312bbe={},_0x4b3987=Object[_0x1fba32(0x139)](_0xcb7a47[_0x1fba32(0x106)]()[_0x1fba32(0x110)]),_0x253c64={'product':_0x4dd793['ZecTL'](getObservabilityLinkedProductName,_0x4b3987),'capabilities':_0x4b3987,'platform':_0x5a0a1e[_0x1fba32(0x10b)](),'platform_version':_0x5a0a1e[_0x1fba32(0xf8)](_0x4dd793[_0x1fba32(0x132)])?_0x5a0a1e['get'](_0x4dd793[_0x1fba32(0x132)]):_0x4dd793['GZqvc'](getPlatformVersion,_0x4dd793[_0x1fba32(0x134)](global['__cloud_provider___'],_0x4dd793['pWNnV'])),'browser':_0x5a0a1e[_0x1fba32(0x114)](),'browser_version':_0x5a0a1e[_0x1fba32(0x125)](),'session_id':_0xcb7a47[_0x1fba32(0xf6)]()};global[_0x1fba32(0x104)]?_0x312bbe[global[_0x1fba32(0x104)]]=_0x253c64:_0x312bbe[_0x4dd793['hfpKv']]=_0x253c64,process[_0x1fba32(0xe9)](_0x1fba32(0xf3)+process[_0x1fba32(0x126)],{'timestamp':new Date()[_0x1fba32(0x12c)](),'level':null,'message':null,'kind':_0x4dd793[_0x1fba32(0x10d)],'http_response':_0x312bbe,'uuid':_0x2f31a9});}catch(_0x1c130c){_0x4dd793[_0x1fba32(0xfd)](debug,_0x1fba32(0x12b)+_0x1c130c);}},exports[a36_0x14de46(0x105)]=_0x2035e0=>{const _0x48b28f=a36_0x14de46,_0xa7b0a4={};_0xa7b0a4[_0x48b28f(0x136)]=function(_0x5bde52,_0x2b36ea){return _0x5bde52!==_0x2b36ea;},_0xa7b0a4[_0x48b28f(0x112)]='hook',_0xa7b0a4[_0x48b28f(0x119)]=function(_0x4f7941,_0x132133){return _0x4f7941!==_0x132133;},_0xa7b0a4[_0x48b28f(0x115)]='passed',_0xa7b0a4['rLPne']=function(_0x13dafc,_0x1bec50){return _0x13dafc!==_0x1bec50;},_0xa7b0a4['sKYFG']=_0x48b28f(0x12d);const _0x2adb16=_0xa7b0a4,_0x739ccd=_0x2035e0[_0x48b28f(0x103)]['reduce']((_0x1d5557,_0x28c734)=>{const _0x341cc6=_0x48b28f,_0x44618d=exports[_0x341cc6(0x105)](_0x28c734);return _0x44618d&&(_0x1d5557=_0x1d5557[_0x341cc6(0x123)](_0x44618d)),_0x1d5557;},[]),_0x55e6eb=_0x2035e0[_0x48b28f(0x121)][_0x48b28f(0xef)](_0x50da90=>{const _0x516cb1=_0x48b28f,_0x4e517c=_0x2adb16['artts'](_0x50da90[_0x516cb1(0x101)],_0x2adb16['AgCWA'])&&!_0x50da90['markedStatus']&&_0x2adb16['rSBlt'](_0x50da90['state'],_0x2adb16[_0x516cb1(0x115)])&&_0x2adb16['rLPne'](_0x50da90[_0x516cb1(0x10e)],_0x2adb16[_0x516cb1(0x102)])&&!_0x50da90[_0x516cb1(0x100)];return _0x4e517c;});return _0x55e6eb[_0x48b28f(0x123)](_0x739ccd);};
1
+ const a36_0x2f2584=a36_0xc2cd;(function(_0x5be742,_0x1f17e1){const _0x1bf4c5=a36_0xc2cd,_0x3feccf=_0x5be742();while(!![]){try{const _0x3bb107=parseInt(_0x1bf4c5(0x142))/0x1*(parseInt(_0x1bf4c5(0x110))/0x2)+parseInt(_0x1bf4c5(0x13b))/0x3*(parseInt(_0x1bf4c5(0x11b))/0x4)+parseInt(_0x1bf4c5(0x163))/0x5*(parseInt(_0x1bf4c5(0x124))/0x6)+-parseInt(_0x1bf4c5(0x12d))/0x7*(-parseInt(_0x1bf4c5(0x147))/0x8)+parseInt(_0x1bf4c5(0x128))/0x9*(parseInt(_0x1bf4c5(0x162))/0xa)+parseInt(_0x1bf4c5(0x14b))/0xb*(-parseInt(_0x1bf4c5(0x144))/0xc)+parseInt(_0x1bf4c5(0x135))/0xd*(-parseInt(_0x1bf4c5(0x122))/0xe);if(_0x3bb107===_0x1f17e1)break;else _0x3feccf['push'](_0x3feccf['shift']());}catch(_0x40af96){_0x3feccf['push'](_0x3feccf['shift']());}}}(a36_0x2569,0xf330f));function a36_0xc2cd(_0x10deb6,_0x5402ef){const _0x25695d=a36_0x2569();return a36_0xc2cd=function(_0xc2cdf3,_0x177396){_0xc2cdf3=_0xc2cdf3-0x10e;let _0x239c42=_0x25695d[_0xc2cdf3];return _0x239c42;},a36_0xc2cd(_0x10deb6,_0x5402ef);}const {v4:uuidv4}=require('uuid'),{name,version}=require('../../../../package.json'),logPatcher=require(a36_0x2f2584(0x116)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a36_0x2f2584(0x141)),{consoleHolder}=require(a36_0x2f2584(0x13f)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a36_0x2f2584(0x153)),{isFunction}=require(a36_0x2f2584(0x15d)),{patchConsoleLogger}=require(a36_0x2f2584(0x141));function a36_0x2569(){const _0x2444bb=['oyDrM','Zmlez','getBrowserName','yXUqv','17348uFwvsh','HHwbT','getHookDetails','__cloud_provider___','ytkPO','get','hookAnalyticsId','7700RDcIBi','QStsy','1580082rJcGNt','push','sKNZk','generic','414CJRxoh','YOstl','getCapabilities','pid','wgScy','275786TRsYKM','_afterEach','UJdNv','filter','_afterAll','substring','uHlNq','toISOString','84604pjAvCK','getSession','suites','toJSON','nhVgj','OPJxM','906Pjqcvj','fSdhu','hook','map_','../../../helpers/test-observability/constants','_beforeAll','../../../helpers/test-observability/utils','17ZsLjrP','getHookSkippedTests','889356QwXTIl','wbSpi','bs:addPlatformDetails:','56beWuww','concat','slice','platformVersion','77JXVhzj','indexOf','rcUEL','forEach','uBtYd','emit','hook:','passed','../../../helpers/testhub/utils','markedStatus','atJhU','peBaC','hwqTe','scZtw','type','unknown_grid','parent','getHooksForTest','lodash','wvDsf','noVuS','BSLHL','string','241210GAOImz','25HPywTr','mapTestHooks','pdCcW','JgrAe','127346rxKVxA','failed','kfVIa','_beforeEach','gBAme','split','../../utils/logPatcher'];a36_0x2569=function(){return _0x2444bb;};return a36_0x2569();}patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x5764fd=a36_0x2f2584,_0x4226f6={'yjCyM':_0x5764fd(0x127),'kfVIa':function(_0x1e1fb5){return _0x1e1fb5();}};return{'ci':_0x4226f6['yjCyM'],'key':_0x4226f6[_0x5764fd(0x112)](uuidv4),'version':version,'collector':'js-'+name};},exports[a36_0x2f2584(0x11d)]=_0x3ba3fd=>{const _0x55c5ef=a36_0x2f2584,_0x50cd97={};_0x50cd97[_0x55c5ef(0x12f)]=function(_0x33016c,_0x21d1c3){return _0x33016c!==_0x21d1c3;},_0x50cd97[_0x55c5ef(0x158)]=_0x55c5ef(0x161),_0x50cd97[_0x55c5ef(0x14d)]=function(_0x3e4d37,_0x389da7){return _0x3e4d37!==_0x389da7;},_0x50cd97[_0x55c5ef(0x11a)]=_0x55c5ef(0x151),_0x50cd97[_0x55c5ef(0x11f)]=function(_0x455795,_0x5998cd){return _0x455795!==_0x5998cd;},_0x50cd97[_0x55c5ef(0x133)]=_0x55c5ef(0x13d);const _0x1a58bd=_0x50cd97;if(!_0x3ba3fd||_0x1a58bd[_0x55c5ef(0x12f)](typeof _0x3ba3fd,_0x1a58bd[_0x55c5ef(0x158)]))return[null,null];if(_0x1a58bd[_0x55c5ef(0x14d)](_0x3ba3fd[_0x55c5ef(0x14c)](_0x1a58bd[_0x55c5ef(0x11a)]),-0x1)){const _0x39563e=_0x3ba3fd[_0x55c5ef(0x115)](_0x1a58bd[_0x55c5ef(0x11a)]);return[_0x39563e[0x0][_0x55c5ef(0x149)](0x0,-0x1)[_0x55c5ef(0x115)]('\x22')[0x1],_0x39563e[0x1][_0x55c5ef(0x132)](0x1)];}else{if(_0x1a58bd[_0x55c5ef(0x11f)](_0x3ba3fd[_0x55c5ef(0x14c)](_0x1a58bd[_0x55c5ef(0x133)]),-0x1)){const _0x397099=_0x3ba3fd['split'](_0x1a58bd[_0x55c5ef(0x133)]);return[_0x397099[0x0][_0x55c5ef(0x149)](0x0,-0x1)['split']('\x22')[0x1],_0x3ba3fd];}}return[null,null];},exports[a36_0x2f2584(0x15c)]=_0x141dec=>{const _0x1cdc01=a36_0x2f2584,_0x371a6d={'atJhU':function(_0x48e9b2,_0x1c5498){return _0x48e9b2(_0x1c5498);},'OPJxM':_0x1cdc01(0x140),'YOstl':_0x1cdc01(0x131),'OmRVY':'_beforeEach','HHwbT':_0x1cdc01(0x12e)};if(!_0x141dec||!_0x141dec['parent'])return[];const _0x1f3d48=[];return[_0x371a6d[_0x1cdc01(0x13a)],_0x371a6d[_0x1cdc01(0x129)],_0x371a6d['OmRVY'],_0x371a6d[_0x1cdc01(0x11c)]][_0x1cdc01(0x14e)](_0x162d3f=>{const _0x140221=_0x1cdc01,_0x4c97b5={'fSdhu':function(_0x57908c,_0x30e979){const _0x3da7f3=a36_0xc2cd;return _0x371a6d[_0x3da7f3(0x155)](_0x57908c,_0x30e979);}},_0x56e5bd=_0x141dec['parent'][_0x162d3f]||[];_0x56e5bd[_0x140221(0x14e)](_0x4b8831=>{const _0x3fb0e5=_0x140221;_0x4b8831[_0x3fb0e5(0x121)]&&!_0x4c97b5[_0x3fb0e5(0x13c)](isInternalHook,_0x4b8831['fn'])&&_0x1f3d48[_0x3fb0e5(0x125)](_0x4b8831[_0x3fb0e5(0x121)]);});}),[..._0x1f3d48,...exports['getHooksForTest'](_0x141dec['parent'])];},exports[a36_0x2f2584(0x164)]=_0x2ae384=>{const _0x48417f=a36_0x2f2584,_0x86d6fc={'BSLHL':function(_0xf57d74){return _0xf57d74();},'pdCcW':function(_0x20b79d,_0x1970b4){return _0x20b79d===_0x1970b4;},'hwqTe':_0x48417f(0x12e),'peBaC':'_beforeAll','PSdcM':'_afterAll','oyDrM':_0x48417f(0x113)};if(!_0x2ae384||!_0x2ae384[_0x48417f(0x15b)])return;[_0x86d6fc[_0x48417f(0x156)],_0x86d6fc['PSdcM'],_0x86d6fc[_0x48417f(0x117)],_0x86d6fc[_0x48417f(0x157)]][_0x48417f(0x14e)](_0x2e9f34=>{const _0x58b571=_0x48417f,_0x435f72={'nhVgj':function(_0x555973){const _0x55fd85=a36_0xc2cd;return _0x86d6fc[_0x55fd85(0x160)](_0x555973);},'wgScy':function(_0x8419b0,_0xe2319f){const _0x4a2c68=a36_0xc2cd;return _0x86d6fc[_0x4a2c68(0x10e)](_0x8419b0,_0xe2319f);},'eacpH':_0x86d6fc[_0x58b571(0x157)]},_0x4b2080=_0x2ae384[_0x58b571(0x15b)][_0x2e9f34]||[];_0x4b2080[_0x58b571(0x14e)](_0x2a58ed=>{const _0x4aa0de=_0x58b571;if(!_0x2a58ed[_0x4aa0de(0x121)])_0x2a58ed[_0x4aa0de(0x121)]=_0x435f72[_0x4aa0de(0x139)](uuidv4);else _0x2a58ed[_0x4aa0de(0x154)]&&_0x435f72[_0x4aa0de(0x12c)](_0x2e9f34,_0x435f72['eacpH'])&&(_0x2a58ed[_0x4aa0de(0x121)]=_0x435f72[_0x4aa0de(0x139)](uuidv4),delete _0x2a58ed[_0x4aa0de(0x154)]);});}),exports[_0x48417f(0x164)](_0x2ae384[_0x48417f(0x15b)]);},exports['sendPlatformDetails']=async(_0x42ad0e,_0x2fe2cf)=>{const _0x440b2e=a36_0x2f2584,_0x183013={'JgrAe':function(_0x186dad){return _0x186dad();},'BhTCf':function(_0x1302d4,_0x2d2eb5){return _0x1302d4(_0x2d2eb5);},'Zmlez':_0x440b2e(0x14a),'uBtYd':function(_0x5e1393,_0x188ece){return _0x5e1393===_0x188ece;},'ScOWc':'browserstack','wvDsf':_0x440b2e(0x15a),'gBAme':'TEST_PLATFORM'};try{if(!_0x183013[_0x440b2e(0x10f)](shouldProcessEventForTesthub))return;const _0x11b404=await _0x42ad0e[_0x440b2e(0x12a)](),_0x4c7b1d=await _0x42ad0e[_0x440b2e(0x136)](),_0x2c2f78={},_0xc695e1=Object['fromEntries'](_0x4c7b1d[_0x440b2e(0x12a)]()[_0x440b2e(0x13e)]),_0x257476={'product':_0x183013['BhTCf'](getObservabilityLinkedProductName,_0xc695e1),'capabilities':_0xc695e1,'platform':_0x11b404['getPlatform'](),'platform_version':_0x11b404['get'](_0x183013['Zmlez'])?_0x11b404[_0x440b2e(0x120)](_0x183013[_0x440b2e(0x118)]):_0x183013['BhTCf'](getPlatformVersion,_0x183013[_0x440b2e(0x14f)](global[_0x440b2e(0x11e)],_0x183013['ScOWc'])),'browser':_0x11b404[_0x440b2e(0x119)](),'browser_version':_0x11b404['getBrowserVersion'](),'session_id':_0x4c7b1d[_0x440b2e(0x138)]()};global['__cloud_provider___']?_0x2c2f78[global[_0x440b2e(0x11e)]]=_0x257476:_0x2c2f78[_0x183013[_0x440b2e(0x15e)]]=_0x257476,process[_0x440b2e(0x150)](_0x440b2e(0x146)+process[_0x440b2e(0x12b)],{'timestamp':new Date()[_0x440b2e(0x134)](),'level':null,'message':null,'kind':_0x183013[_0x440b2e(0x114)],'http_response':_0x2c2f78,'uuid':_0x2fe2cf});}catch(_0x4b6bbc){_0x183013['BhTCf'](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x4b6bbc);}},exports[a36_0x2f2584(0x143)]=_0x29d248=>{const _0x1f0d69=a36_0x2f2584,_0x32a110={};_0x32a110['lBFWa']=function(_0x52d014,_0x37a355){return _0x52d014!==_0x37a355;},_0x32a110['wbSpi']=_0x1f0d69(0x13d),_0x32a110['VIQfn']=function(_0x417619,_0x1f3010){return _0x417619!==_0x1f3010;},_0x32a110[_0x1f0d69(0x123)]=_0x1f0d69(0x152),_0x32a110[_0x1f0d69(0x15f)]=function(_0x1217f0,_0x427d67){return _0x1217f0!==_0x427d67;},_0x32a110['sKNZk']=_0x1f0d69(0x111);const _0xd3e72f=_0x32a110,_0x9340b8=_0x29d248[_0x1f0d69(0x137)]['reduce']((_0x42e708,_0x56da72)=>{const _0x15b7c2=_0x1f0d69,_0x903e3=exports[_0x15b7c2(0x143)](_0x56da72);return _0x903e3&&(_0x42e708=_0x42e708[_0x15b7c2(0x148)](_0x903e3)),_0x42e708;},[]),_0x4bb72d=_0x29d248['tests'][_0x1f0d69(0x130)](_0x57beed=>{const _0x5465af=_0x1f0d69,_0x6003fe=_0xd3e72f['lBFWa'](_0x57beed[_0x5465af(0x159)],_0xd3e72f[_0x5465af(0x145)])&&!_0x57beed[_0x5465af(0x154)]&&_0xd3e72f['VIQfn'](_0x57beed['state'],_0xd3e72f[_0x5465af(0x123)])&&_0xd3e72f[_0x5465af(0x15f)](_0x57beed['state'],_0xd3e72f[_0x5465af(0x126)])&&!_0x57beed['pending'];return _0x6003fe;});return _0x4bb72d[_0x1f0d69(0x148)](_0x9340b8);};
@@ -1 +1 @@
1
- function a37_0x8f0e(_0x6bf2ad,_0x283202){const _0x1965ef=a37_0x1965();return a37_0x8f0e=function(_0x8f0ed1,_0x2c498c){_0x8f0ed1=_0x8f0ed1-0x7d;let _0x218ced=_0x1965ef[_0x8f0ed1];return _0x218ced;},a37_0x8f0e(_0x6bf2ad,_0x283202);}const a37_0x38cb0f=a37_0x8f0e;(function(_0x507820,_0xdcefe9){const _0x2949ea=a37_0x8f0e,_0x38895d=_0x507820();while(!![]){try{const _0x4d639b=-parseInt(_0x2949ea(0xf4))/0x1+-parseInt(_0x2949ea(0x90))/0x2*(-parseInt(_0x2949ea(0x94))/0x3)+parseInt(_0x2949ea(0xd5))/0x4+-parseInt(_0x2949ea(0xe1))/0x5*(parseInt(_0x2949ea(0x112))/0x6)+parseInt(_0x2949ea(0xbb))/0x7+-parseInt(_0x2949ea(0xb4))/0x8*(parseInt(_0x2949ea(0x11d))/0x9)+-parseInt(_0x2949ea(0xbe))/0xa*(-parseInt(_0x2949ea(0x10a))/0xb);if(_0x4d639b===_0xdcefe9)break;else _0x38895d['push'](_0x38895d['shift']());}catch(_0x53aed3){_0x38895d['push'](_0x38895d['shift']());}}}(a37_0x1965,0x1f127));const util=require(a37_0x38cb0f(0x132)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a37_0x38cb0f(0xc5)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a37_0x38cb0f(0xe4)),{percyAutoCapture}=require(a37_0x38cb0f(0x8c)),{sendPlatformDetails}=require(a37_0x38cb0f(0xef)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a37_0x38cb0f(0xc8)),PerformanceTester=require(a37_0x38cb0f(0x86)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a37_0x38cb0f(0xfe)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require('../../helpers/globals'),logger=require(a37_0x38cb0f(0x101))[a37_0x38cb0f(0x102)],{shouldProcessEventForTesthub}=require(a37_0x38cb0f(0xf3)),testHubConstants=require(a37_0x38cb0f(0xaa));exports[a37_0x38cb0f(0xbf)]={'beforeAll'(){const _0x2b2d74=a37_0x38cb0f,_0x203bcb={'aHFiZ':function(_0xfd0fbe,_0x1e3180,_0x586596,_0x2eb7ab){return _0xfd0fbe(_0x1e3180,_0x586596,_0x2eb7ab);},'dskgu':'failed','pbMpp':_0x2b2d74(0x93),'lBDvY':function(_0x133166,_0x387ee4,_0xf02102){return _0x133166(_0x387ee4,_0xf02102);},'bVVYC':_0x2b2d74(0xcb),'ZxeXn':function(_0x502991){return _0x502991();},'xjJuZ':'index','uIUMh':_0x2b2d74(0xc7)};PerformanceTester['startMonitoring']();const _0x138718='browserstack internal helper hook';PerformanceTester[_0x2b2d74(0xae)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x1a4af3=_0x2b2d74;global['__error_messages__']=[],global['__sessionFailed']=![],global[_0x1a4af3(0xa2)]=async()=>{const _0x4c38d3=_0x1a4af3;let _0x50b67b=![];try{await global['__drivers'][0x0]['session_'],_0x50b67b=!![],global[_0x4c38d3(0xea)]?await _0x203bcb['aHFiZ'](markSessionStatus,global['__drivers'][0x0],_0x203bcb[_0x4c38d3(0xb8)],global[_0x4c38d3(0x7e)][_0x4c38d3(0x80)](_0x203bcb[_0x4c38d3(0xe3)])):await _0x203bcb[_0x4c38d3(0xed)](markSessionStatus,global[_0x4c38d3(0xc0)][0x0],_0x203bcb[_0x4c38d3(0x109)]);}catch(_0x52e432){logger[_0x4c38d3(0x9a)](_0x4c38d3(0xf2)+_0x52e432);}global[_0x4c38d3(0x7e)]=[],global[_0x4c38d3(0xea)]=![];if(_0x50b67b)try{try{_0x203bcb[_0x4c38d3(0x125)](shouldProcessEventForTesthub)&&(global[_0x4c38d3(0xc0)][0x0]&&await _0x203bcb[_0x4c38d3(0xed)](sendPlatformDetails,global[_0x4c38d3(0xc0)][0x0],this[_0x4c38d3(0xf9)]?this[_0x4c38d3(0xf9)][_0x4c38d3(0x10b)]:null));}catch(_0x504d81){logger['debug'](_0x4c38d3(0x104)+_0x504d81);}await global[_0x4c38d3(0xc0)][0x0][_0x4c38d3(0x123)]();}catch(_0x45288f){logger[_0x4c38d3(0x9a)](_0x4c38d3(0xe8)+_0x45288f);}};},{'platform':_0x203bcb[_0x2b2d74(0xed)](nestedKeyValue,global['__platformCaps'],[_0x203bcb['xjJuZ']]),'hookType':_0x203bcb[_0x2b2d74(0xd3)]})();},'beforeEach'(_0x5de712){const _0x1846e7=a37_0x38cb0f,_0xa94521={'gUbrG':function(_0x56e7f0){return _0x56e7f0();},'avUgU':function(_0xf5e1db,_0x6967fd){return _0xf5e1db>_0x6967fd;},'dgbRY':'\x20-\x20','UdfaP':function(_0x5e79b6,_0x509dd3,_0x4c78fa){return _0x5e79b6(_0x509dd3,_0x4c78fa);},'VZNMv':'bstackA11yShouldScan','ApReb':function(_0x2244ee){return _0x2244ee();},'JshLN':'isAccessibilityPlatform','HbnIR':function(_0x28e595,_0x465a73){return _0x28e595===_0x465a73;},'lEohW':_0x1846e7(0x11e),'eMTeJ':function(_0x1804d2,_0x393e80){return _0x1804d2===_0x393e80;},'ECaZN':_0x1846e7(0x99),'yYBRR':_0x1846e7(0x12d),'OvpXv':'Automate\x20test\x20case\x20execution\x20has\x20started.','swEfz':_0x1846e7(0xc2),'RlmKB':'index','IGumg':_0x1846e7(0xa4)};globals['setGlobal'](_0xa94521['swEfz'],this[_0x1846e7(0xf9)][_0x1846e7(0xf5)]()['join'](_0xa94521['dgbRY'])),PerformanceTester[_0x1846e7(0xae)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x4a4d33=_0x1846e7,_0x121d1e={'AMKvC':function(_0x4db80d,_0x57d88d){const _0x496fd0=a37_0x8f0e;return _0xa94521[_0x496fd0(0x127)](_0x4db80d,_0x57d88d);},'SoJrC':_0xa94521['dgbRY'],'NKoyY':function(_0x300759,_0x28d56d,_0x284603){return _0xa94521['UdfaP'](_0x300759,_0x28d56d,_0x284603);},'PHKuX':_0xa94521[_0x4a4d33(0x116)],'IpNOH':function(_0x2ca338){const _0x47bb1a=_0x4a4d33;return _0xa94521[_0x47bb1a(0x118)](_0x2ca338);},'SFVAh':function(_0x18aaf2,_0x194f9c){const _0x243af6=_0x4a4d33;return _0xa94521[_0x243af6(0x127)](_0x18aaf2,_0x194f9c);},'qGlHK':_0xa94521[_0x4a4d33(0x119)],'LkCsK':function(_0x3501cf,_0x5110be){const _0x548fab=_0x4a4d33;return _0xa94521[_0x548fab(0xd9)](_0x3501cf,_0x5110be);},'rhmfo':_0xa94521[_0x4a4d33(0xac)],'qpIOq':function(_0x2cd74a,_0x259d5b){const _0x4e699e=_0x4a4d33;return _0xa94521[_0x4e699e(0x9c)](_0x2cd74a,_0x259d5b);},'elksj':_0xa94521['ECaZN'],'fXJJn':_0xa94521[_0x4a4d33(0x11c)],'JHIjx':_0xa94521[_0x4a4d33(0xd0)],'kPWyo':function(_0x575543){return _0xa94521['gUbrG'](_0x575543);}},_0x266fa6='browserstack internal helper hook';new Promise(async _0x5d6e5d=>{const _0x5098a3=_0x4a4d33;let _0x4fa30c=!![];try{_0x121d1e['AMKvC'](global['__drivers']['length'],0x1)&&(await global[_0x5098a3(0xa2)](),global[_0x5098a3(0xc0)]['shift']()),_0x121d1e['AMKvC'](global[_0x5098a3(0xc0)][0x0][_0x5098a3(0xc6)],0x0)&&(_0x4fa30c=![],await global[_0x5098a3(0xa2)]());}catch(_0x1605af){logger[_0x5098a3(0x9a)](_0x5098a3(0xe8)+_0x1605af);}try{Array[_0x5098a3(0x9e)](global[_0x5098a3(0xc0)])&&global[_0x5098a3(0xc0)][0x0]&&(global[_0x5098a3(0xc0)][0x0]['browserstackSessionName']=this[_0x5098a3(0xf9)][_0x5098a3(0xf5)]()[_0x5098a3(0x80)](_0x121d1e[_0x5098a3(0xca)])),global[_0x5098a3(0x129)]=this[_0x5098a3(0xf9)][_0x5098a3(0xf5)]()[_0x5098a3(0x80)](_0x121d1e[_0x5098a3(0xca)]);}catch(_0x2b4fc1){logger[_0x5098a3(0x9a)](_0x5098a3(0x8d)+_0x2b4fc1);}this[_0x5098a3(0xf9)][_0x5098a3(0xb0)]=_0x121d1e[_0x5098a3(0xd2)](shouldScanTestForAccessibility,this['currentTest'][_0x5098a3(0xf5)](),!![]),globals[_0x5098a3(0x12e)](_0x121d1e['PHKuX'],this['currentTest'][_0x5098a3(0xb0)]),this['currentTest'][_0x5098a3(0x12f)]=!![];if(_0x121d1e[_0x5098a3(0x134)](isAccessibilityAutomationSession)&&_0x4fa30c&&Array['isArray'](global[_0x5098a3(0xc0)])&&_0x121d1e[_0x5098a3(0x96)](global['__drivers']['length'],0x0)&&globals[_0x5098a3(0xe2)](_0x121d1e[_0x5098a3(0x108)]))try{const _0x556e1e=await global[_0x5098a3(0xc0)][0x0][_0x5098a3(0xec)];if(_0x556e1e){let _0x4182ca=!![];const _0x6151e3=await global[_0x5098a3(0xc0)][0x0][_0x5098a3(0xf1)]();let _0x295375;try{_0x295375=new URL(_0x6151e3);}catch(_0x181203){_0x4182ca=![];}_0x4182ca=_0x121d1e['LkCsK'](_0x295375['protocol'],_0x121d1e[_0x5098a3(0xfc)])||_0x121d1e[_0x5098a3(0x8f)](_0x295375[_0x5098a3(0x12b)],_0x121d1e['elksj']),_0x4182ca&&(this[_0x5098a3(0xf9)][_0x5098a3(0xb0)]&&logger[_0x5098a3(0xb3)](_0x121d1e['fXJJn'])),this[_0x5098a3(0xf9)][_0x5098a3(0x12f)]=this[_0x5098a3(0xf9)][_0x5098a3(0xb0)],this['currentTest'][_0x5098a3(0xb0)]&&logger[_0x5098a3(0xb3)](_0x121d1e[_0x5098a3(0xd4)]);}}catch(_0x5c4b78){logger[_0x5098a3(0x124)](_0x5098a3(0xa0)+util['format'](_0x5c4b78));}_0x121d1e[_0x5098a3(0x122)](_0x5d6e5d);})[_0x4a4d33(0x115)](()=>{const _0x5ca343=_0x4a4d33;_0xa94521[_0x5ca343(0xd1)](_0x5de712);});},{'platform':_0xa94521['UdfaP'](nestedKeyValue,global[_0x1846e7(0x97)],[_0xa94521[_0x1846e7(0xbc)]]),'hookType':_0xa94521['IGumg']})();},'afterEach'(_0x3479e0){const _0x23ab86=a37_0x38cb0f,_0x1d08b1={'VWrNL':_0x23ab86(0x7d),'QuKiB':function(_0x1ea1c4,_0x503e94){return _0x1ea1c4!==_0x503e94;},'PRbUh':_0x23ab86(0xcb),'txpYc':function(_0x4755f1,_0x376c46,_0x1bd972){return _0x4755f1(_0x376c46,_0x1bd972);},'ZiMHE':function(_0x115b4b,_0x1e8e45){return _0x115b4b+_0x1e8e45;},'vtggN':_0x23ab86(0x111),'mfiHG':_0x23ab86(0x124),'dNHkE':_0x23ab86(0xa3),'ZxXEv':_0x23ab86(0xb3),'lFmBj':function(_0x43dcc4,_0x429e66){return _0x43dcc4>_0x429e66;},'vsSKm':function(_0x45236d,_0x592871){return _0x45236d===_0x592871;},'rdGXE':_0x23ab86(0xfa),'kMvmS':'appium:app','TsRXP':function(_0x411cc3,_0x2e02cb,_0x5e7ae7,_0x381498){return _0x411cc3(_0x2e02cb,_0x5e7ae7,_0x381498);},'OXMsY':_0x23ab86(0xf0),'rVBoQ':_0x23ab86(0xf8),'IAQQf':_0x23ab86(0x9b),'Sgznu':_0x23ab86(0xb2),'owDKK':'afterTest','nhLEJ':_0x23ab86(0x8a),'KDBwa':function(_0xcd31ca){return _0xcd31ca();},'BerRX':_0x23ab86(0x9a),'Aptkm':_0x23ab86(0xb1),'MkcsZ':_0x23ab86(0x92),'sXfSR':_0x23ab86(0xe0)},_0x526592='browserstack internal helper hook';this[_0x23ab86(0xa1)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1d08b1['Aptkm']]),global[_0x23ab86(0xc9)]=this[_0x23ab86(0xf9)][_0x23ab86(0xf5)]()[_0x23ab86(0x80)](_0x1d08b1[_0x23ab86(0xfd)]),PerformanceTester[_0x23ab86(0xae)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x5f28f7=_0x23ab86,_0xe676b4={'aMAvE':_0x1d08b1['VWrNL'],'geLyB':function(_0x4f6ff5,_0x3e07df){const _0x2f70cc=a37_0x8f0e;return _0x1d08b1[_0x2f70cc(0x10d)](_0x4f6ff5,_0x3e07df);},'lakAE':_0x1d08b1[_0x5f28f7(0xde)],'UenoM':function(_0x2481e0,_0x257b4e,_0x1ad6d7){const _0x3c75a8=_0x5f28f7;return _0x1d08b1[_0x3c75a8(0x100)](_0x2481e0,_0x257b4e,_0x1ad6d7);},'YFMXA':function(_0x3dad87,_0x4c6ae9){const _0x482cae=_0x5f28f7;return _0x1d08b1[_0x482cae(0xda)](_0x3dad87,_0x4c6ae9);},'rYpSO':_0x1d08b1['vtggN'],'QkcSQ':_0x1d08b1['mfiHG'],'qnibV':function(_0x530748,_0x3c5bca,_0x132e6c){const _0x4f616e=_0x5f28f7;return _0x1d08b1[_0x4f616e(0x100)](_0x530748,_0x3c5bca,_0x132e6c);},'NHbSI':_0x1d08b1[_0x5f28f7(0xf7)],'Ibtep':_0x1d08b1[_0x5f28f7(0x84)],'sqwol':function(_0x1eebc1,_0x255756){const _0x573593=_0x5f28f7;return _0x1d08b1[_0x573593(0xff)](_0x1eebc1,_0x255756);},'EsnGb':function(_0x583483,_0x1f9719){return _0x1d08b1['vsSKm'](_0x583483,_0x1f9719);},'oIzQb':_0x1d08b1['rdGXE'],'rMMZu':_0x1d08b1[_0x5f28f7(0x83)],'eeqNl':function(_0x27ce55,_0x5e505b,_0x54cd67,_0x540aaf){return _0x1d08b1['TsRXP'](_0x27ce55,_0x5e505b,_0x54cd67,_0x540aaf);},'hwkep':_0x1d08b1['OXMsY'],'FOgfS':_0x1d08b1['rVBoQ'],'UvBhi':_0x1d08b1['IAQQf'],'utIoe':_0x1d08b1['Sgznu'],'hgeQW':_0x1d08b1[_0x5f28f7(0x11a)],'xFbhj':_0x1d08b1[_0x5f28f7(0x117)],'NkEyL':function(_0x54c61f){return _0x1d08b1['KDBwa'](_0x54c61f);},'zkrWG':function(_0x5a38e6,_0x2ea5b4,_0x230785){const _0x1466ea=_0x5f28f7;return _0x1d08b1[_0x1466ea(0x100)](_0x5a38e6,_0x2ea5b4,_0x230785);},'ovrkq':_0x1d08b1['BerRX'],'eQbtf':function(_0x37f855){const _0x29a996=_0x5f28f7;return _0x1d08b1[_0x29a996(0x98)](_0x37f855);}},_0x425a91=async(_0x4e7ee3,_0x400e30)=>{const _0x5b4db3=_0x5f28f7;await global[_0x5b4db3(0xc0)][0x0][_0x5b4db3(0x12c)](_0x5b4db3(0xd6)+_0x4e7ee3+',\x22level\x22:\x20\x22'+_0x400e30+_0x5b4db3(0xfb));};new Promise(async _0x296639=>{const _0x1eb304=_0x5f28f7,_0x23b28f={'hZqDP':_0xe676b4['aMAvE'],'wQWLT':function(_0x53d765,_0xbcb3dd){return _0xe676b4['geLyB'](_0x53d765,_0xbcb3dd);},'yGgkl':_0xe676b4['lakAE'],'WBcNt':function(_0xf32634,_0x40ef4c,_0x25bd0c){return _0xe676b4['UenoM'](_0xf32634,_0x40ef4c,_0x25bd0c);},'pUyJF':function(_0x412c13,_0x8f556a){return _0xe676b4['YFMXA'](_0x412c13,_0x8f556a);},'ZRVDi':_0xe676b4['rYpSO'],'NzyUa':_0xe676b4[_0x1eb304(0xa7)],'MbKBI':function(_0x1e8c22,_0x261b7f,_0x2ffde4){const _0x54651b=_0x1eb304;return _0xe676b4[_0x54651b(0xdd)](_0x1e8c22,_0x261b7f,_0x2ffde4);},'ZQbgH':_0xe676b4[_0x1eb304(0xcc)],'kAHzE':_0xe676b4[_0x1eb304(0xb7)]};try{_0xe676b4['sqwol'](global[_0x1eb304(0xc0)][_0x1eb304(0x7f)],0x1)&&(await global[_0x1eb304(0xa2)](),global['__drivers'][_0x1eb304(0xa5)](),global['__error_messages__']=[],global[_0x1eb304(0xea)]=![]);try{if(global[_0x1eb304(0xb9)]&&_0xe676b4[_0x1eb304(0x82)](global['percyCaptureMode'],_0xe676b4[_0x1eb304(0x120)])&&global[_0x1eb304(0xc0)][0x0]){const _0x47e250=_0xe676b4[_0x1eb304(0x87)](global[_0x1eb304(0xc1)][_0x1eb304(0x7f)],0x0)?!!global[_0x1eb304(0xc1)][0x0]['app']||!!global[_0x1eb304(0xc1)][0x0][_0xe676b4[_0x1eb304(0x85)]]:![],_0x70244f={};_0x70244f[_0x1eb304(0x12a)]=_0x47e250,await _0xe676b4[_0x1eb304(0x131)](percyAutoCapture,global['__drivers'][0x0],_0xe676b4[_0x1eb304(0x120)],_0x70244f);}}catch(_0x4d85d6){logger[_0x1eb304(0x9a)](_0x1eb304(0x113)+_0x4d85d6);}!global[_0x1eb304(0x10f)]&&(await PerformanceTester[_0x1eb304(0xae)](PerformanceAutEvents[_0x1eb304(0xaf)],async()=>{const _0x43ece2=_0x1eb304;await global['__drivers'][0x0][_0x43ece2(0x12c)](_0x43ece2(0xab)+JSON['stringify'](this[_0x43ece2(0xf9)][_0x43ece2(0xf5)]()[_0x43ece2(0x80)](_0x23b28f[_0x43ece2(0x105)]))+'}}');})(),global[_0x1eb304(0xc0)][0x0][_0x1eb304(0x130)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x68b435=_0x1eb304,_0x255ea4=_0x23b28f[_0x68b435(0x89)](this[_0x68b435(0xf9)][_0x68b435(0x88)],_0x23b28f[_0x68b435(0x103)]);_0x255ea4?(global[_0x68b435(0xea)]=!![],global[_0x68b435(0x7e)][_0x68b435(0xd8)](this[_0x68b435(0xf9)]['err'][_0x68b435(0x81)]),await _0x23b28f[_0x68b435(0x110)](_0x425a91,JSON[_0x68b435(0x106)](_0x23b28f[_0x68b435(0xa9)](_0x23b28f[_0x68b435(0xa8)],this[_0x68b435(0xf9)][_0x68b435(0x107)]['message'])),_0x23b28f[_0x68b435(0x11f)])):await _0x23b28f[_0x68b435(0x8e)](_0x425a91,JSON['stringify'](_0x23b28f[_0x68b435(0x95)]),_0x23b28f[_0x68b435(0x8b)]);})();}catch(_0x13a150){logger[_0x1eb304(0x9a)](_0x1eb304(0x133)+_0x13a150);}try{if(this['currentTest'][_0x1eb304(0x12f)]&&globals[_0x1eb304(0xe2)](_0xe676b4[_0x1eb304(0x11b)])&&globals[_0x1eb304(0xe2)](_0xe676b4[_0x1eb304(0xdb)])){logger[_0x1eb304(0xb3)](_0xe676b4['UvBhi']);const _0x194b28={};_0x194b28['thTestRunUuid']=this[_0x1eb304(0xf9)]['testAnalyticsId'],_0x194b28['thBuildUuid']=process[_0x1eb304(0x136)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x194b28['thJwtToken']=process['env'][testHubConstants[_0x1eb304(0x10e)]['BROWSERSTACK_TESTHUB_JWT']];const _0x89234f=_0x194b28;logger['debug'](_0x1eb304(0xc3)+JSON[_0x1eb304(0x106)](_0x89234f)),logger[_0x1eb304(0x9a)](_0xe676b4['utIoe']);const _0xdd0ce8={};_0xdd0ce8[_0x1eb304(0xce)]=_0xe676b4[_0x1eb304(0x128)],await PerformanceTester[_0x1eb304(0xae)](PerformanceA11yEvents[_0x1eb304(0xb5)],async()=>{const _0x40834b=_0x1eb304;logger[_0x40834b(0x9a)](util[_0x40834b(0xba)](await global['__drivers'][0x0][_0x40834b(0xd7)](scripts['performScan'],{'method':global[_0x40834b(0x129)]})));},_0xdd0ce8)(),await PerformanceTester[_0x1eb304(0xae)](PerformanceA11yEvents[_0x1eb304(0x121)],async()=>{const _0x478517=_0x1eb304;await global[_0x478517(0xc0)][0x0]['executeAsyncScript'](scripts[_0x478517(0xe9)],_0x89234f);})(),logger['info'](_0xe676b4[_0x1eb304(0x9f)]);}}catch(_0x11d87f){logger[_0x1eb304(0x124)](_0x1eb304(0xe5)+this[_0x1eb304(0xf9)][_0x1eb304(0xf5)]()+_0x1eb304(0xe7),_0x11d87f);}try{try{if(_0xe676b4[_0x1eb304(0xcf)](shouldProcessEventForTesthub)){global[_0x1eb304(0xc0)][0x0]&&await _0xe676b4['UenoM'](sendPlatformDetails,global[_0x1eb304(0xc0)][0x0],this[_0x1eb304(0xf9)]?this['currentTest']['testAnalyticsId']:null);if(_0xe676b4[_0x1eb304(0xcf)](isBrowserstackInfra)){PerformanceTester[_0x1eb304(0xdc)](PerformanceO11yEvents[_0x1eb304(0xc4)]);const _0x5f5e85=_0x1eb304(0x114)+Date[_0x1eb304(0x9d)]();await _0xe676b4[_0x1eb304(0x91)](_0x425a91,JSON[_0x1eb304(0x106)](_0x5f5e85),_0xe676b4[_0x1eb304(0xb6)]),PerformanceTester[_0x1eb304(0xbd)](PerformanceO11yEvents[_0x1eb304(0xc4)]);}}}catch(_0x45d014){logger[_0x1eb304(0x9a)](_0x1eb304(0xcd)+_0x45d014),PerformanceTester[_0x1eb304(0xbd)](PerformanceO11yEvents[_0x1eb304(0xc4)],![],_0x45d014);}_0xe676b4['sqwol'](global['__drivers'][0x0][_0x1eb304(0xc6)],0x0)&&await global[_0x1eb304(0xa2)]();}catch(_0x3dfe86){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x3dfe86);}_0xe676b4[_0x1eb304(0x126)](_0x296639);})[_0x5f28f7(0x115)](()=>{_0xe676b4['eQbtf'](_0x3479e0);});},{'platform':_0x1d08b1[_0x23ab86(0x100)](nestedKeyValue,global[_0x23ab86(0x97)],[_0x1d08b1[_0x23ab86(0xa6)]]),'hookType':_0x1d08b1[_0x23ab86(0xad)]})();},'afterAll'(_0x2e33ad){const _0x112806=a37_0x38cb0f,_0x281702={'Pwzhq':function(_0x36c72e){return _0x36c72e();},'RpHea':_0x112806(0xb1),'Oldba':function(_0xf0e2e3,_0x58ca36,_0x1466ab){return _0xf0e2e3(_0x58ca36,_0x1466ab);},'LkuMX':'index','jFMEN':'afterAll'},_0x587a01='browserstack internal helper hook';this[_0x112806(0xa1)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x281702[_0x112806(0x10c)]]),PerformanceTester[_0x112806(0xae)](PerformanceSdkEvents[_0x112806(0xf6)],()=>{const _0xc7d1a3={'zcKyR':function(_0x5e7915){const _0x1f4b57=a37_0x8f0e;return _0x281702[_0x1f4b57(0xdf)](_0x5e7915);}};new Promise(async _0x1bcbd7=>{const _0x271611=a37_0x8f0e;await global['driverCleanup'](),_0xc7d1a3[_0x271611(0xeb)](_0x1bcbd7);})['then']()['finally'](()=>{const _0x3e0932=a37_0x8f0e;_0x281702[_0x3e0932(0xdf)](_0x2e33ad);});},{'platform':_0x281702[_0x112806(0x135)](nestedKeyValue,global[_0x112806(0x97)],[_0x281702[_0x112806(0xe6)]]),'hookType':_0x281702[_0x112806(0xee)]})();}};function a37_0x1965(){const _0x5483cc=['FOgfS','start','qnibV','PRbUh','Pwzhq','afterEach','924915pgjVcY','getGlobal','pbMpp','../utils/constants','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','LkuMX','.\x20Error\x20:','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','saveTestResults','__sessionFailed','zcKyR','session_','lBDvY','jFMEN','./test-observability/mochaUtils','isAccessibilityPlatform','getCurrentUrl','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','../../helpers/testhub/utils','35713SIcBMl','titlePath','SDK_HOOK','dNHkE','bstackA11yShouldScan','currentTest','testcase','\x22}}','rhmfo','VWrNL','../../helpers/performance/constants','lFmBj','txpYc','../../helpers/logger','winstonLogger','yGgkl','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','hZqDP','stringify','err','qGlHK','bVVYC','33aMRriA','testAnalyticsId','RpHea','QuKiB','ENV_VAR','__skipSessionName','WBcNt','Failed:\x20','6rnRNZT','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','ObservabilitySync:','then','VZNMv','nhLEJ','ApReb','JshLN','owDKK','hwkep','yYBRR','5328PhANjD','http:','NzyUa','oIzQb','SAVE_RESULTS','kPWyo','initQuit','error','ZxeXn','eQbtf','avUgU','hgeQW','browserstackSessionName','app','protocol','executeScript','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','setGlobal','accessibilityScanStarted','sessionNameSet__','eeqNl','util','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','IpNOH','Oldba','env','\x20-\x20','__error_messages__','length','join','message','EsnGb','kMvmS','ZxXEv','rMMZu','../../helpers/performance/performance-tester','sqwol','state','wQWLT','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','kAHzE','../../helpers/percy/utils','Failed\x20to\x20store\x20session\x20name:\x20','MbKBI','qpIOq','64mAqbqb','zkrWG','index','\x20|\x20','23469XAnJdg','ZQbgH','SFVAh','__platformCaps','KDBwa','https:','debug','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','eMTeJ','now','isArray','xFbhj','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','timeout','driverCleanup','Passed','beforeEach','shift','MkcsZ','QkcSQ','ZRVDi','pUyJF','../../helpers/testhub/constants','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','lEohW','sXfSR','measureWrapper','SESSION_NAME','shouldScanTestForAccessibility','Mocha','Performing\x20scan\x20before\x20saving\x20results','info','2944ZNcudm','PERFORM_SCAN','ovrkq','Ibtep','dskgu','percy','format','589876LqiJyk','RlmKB','end','239340GvYFBU','mochaHooks','__drivers','capabilities','browserstackTestName','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','SYNC','../../helpers/accessibility-automation/helper','quitCount_','beforeAll','../../helpers/helper','sessionName','SoJrC','passed','NHbSI','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','command','NkEyL','OvpXv','gUbrG','NKoyY','uIUMh','JHIjx','637668HhlIIL','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','executeAsyncScript','push','HbnIR','ZiMHE'];a37_0x1965=function(){return _0x5483cc;};return a37_0x1965();}
1
+ function a37_0x2ea0(_0x7b13d5,_0x3f1a33){const _0x4764ef=a37_0x4764();return a37_0x2ea0=function(_0x2ea0d1,_0x197cac){_0x2ea0d1=_0x2ea0d1-0xd4;let _0x5b54cd=_0x4764ef[_0x2ea0d1];return _0x5b54cd;},a37_0x2ea0(_0x7b13d5,_0x3f1a33);}function a37_0x4764(){const _0x29b2eb=['getCurrentUrl','__error_messages__','../../helpers/logger','7555GAiWDa','lWYGH','isAccessibilityPlatform','ogFvR','err','Failed:\x20','60ULnUKh','shouldScanTestForAccessibility','driverCleanup','BROWSERSTACK_TESTHUB_JWT','app','state','../../helpers/helper','finally','OgqPj','shift','../../helpers/testhub/constants','7148730fNlBMH','SeLug','../../helpers/performance/performance-tester','AnwJM','BROWSERSTACK_TESTHUB_UUID','IQSZG','BZZuB','Aoshi','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','OpZkD','fvwAC','index','gGbCa','3728bFFRoo','\x22}}','QEiGO','setGlobal','saveTestResults','executeScript','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','caRgG','Automate\x20test\x20case\x20execution\x20has\x20started.','getGlobal','qwABZ','protocol','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','stringify','TBUNt','__drivers','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','percyCaptureMode','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','QPaeA','afterAll','OAVey','SdoFe','WnRRV','executeAsyncScript','./test-observability/mochaUtils','DcXEv','message','beforeEach','testcase','start','error','3570292GogmmV','length','currentTest','session_','SESSION_STATUS','TWftN','mGSXA','VIKcs','KKPZZ','rNsXD','SYNC','PYPTJ','env','ZZkXi','fYqwK','PcWyX','http:','NNrby','join','../../helpers/performance/constants','287829ovbKoW','ENV_VAR','sjquG','passed','browserstackSessionName','GnuKy','afterEach','1552BFATHB','urqHP','format','__skipSessionName','../utils/constants','../../helpers/accessibility-automation/scripts','ExqUe','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','TZipa','\x20-\x20','ieJLh','539ytOcTC','performScan','gUIzE','7XbbOFe','now','then','FycLr','CVaUP','PERFORM_SCAN','koPHM','debug','yTICg','isArray','afterTest','testAnalyticsId','eYLAv','RqKpJ','IYUwC','initQuit','command','jfKWp','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','2720976eMbrOI','wszmi','ZYtQL','TGbCX','capabilities','info','KnjOl','titlePath','Lvetr','ejtKI','eyQAT','FhBYT','TKOay','end','qHaIc','bstackA11yShouldScan','.\x20Error\x20:','VRyew','1209999uzBbNI','timeout','daeXN','ikUgK','measureWrapper','SESSION_NAME','daDiy','winstonLogger','BCoKU','OOkXh','SDK_HOOK','util','ZrybZ','TNOSo','__platformCaps','LqWjT','ddEad','sessionName','__sessionFailed','appium:app','uCxpN','startMonitoring','xEJJd','Mocha'];a37_0x4764=function(){return _0x29b2eb;};return a37_0x4764();}const a37_0x145fec=a37_0x2ea0;(function(_0x355d87,_0x2430e2){const _0x435207=a37_0x2ea0,_0x5f1670=_0x355d87();while(!![]){try{const _0x3c312d=-parseInt(_0x435207(0x105))/0x1*(-parseInt(_0x435207(0xfa))/0x2)+parseInt(_0x435207(0x12d))/0x3+-parseInt(_0x435207(0x166))/0x4*(parseInt(_0x435207(0x148))/0x5)+parseInt(_0x435207(0x159))/0x6+-parseInt(_0x435207(0x108))/0x7*(parseInt(_0x435207(0x11b))/0x8)+-parseInt(_0x435207(0xf3))/0x9*(-parseInt(_0x435207(0x14e))/0xa)+parseInt(_0x435207(0xdf))/0xb;if(_0x3c312d===_0x2430e2)break;else _0x5f1670['push'](_0x5f1670['shift']());}catch(_0x190a28){_0x5f1670['push'](_0x5f1670['shift']());}}}(a37_0x4764,0xbeb50));const util=require(a37_0x145fec(0x138)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a37_0x145fec(0xfe)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a37_0x145fec(0xd8)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a37_0x145fec(0x154)),PerformanceTester=require(a37_0x145fec(0x15b)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a37_0x145fec(0xf2)),scripts=require(a37_0x145fec(0xff)),globals=require('../../helpers/globals'),logger=require(a37_0x145fec(0x147))[a37_0x145fec(0x134)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a37_0x145fec(0x158));exports['mochaHooks']={'beforeAll'(){const _0xe37d04=a37_0x145fec,_0x21749c={'scDuG':function(_0x134f61,_0x34b310,_0x3734f3,_0x321d9f){return _0x134f61(_0x34b310,_0x3734f3,_0x321d9f);},'FycLr':'failed','ddEad':'\x20|\x20','ikUgK':function(_0x412f09,_0x11188e,_0x16c617){return _0x412f09(_0x11188e,_0x16c617);},'lWYGH':_0xe37d04(0xf6),'mGSXA':function(_0x1ae373){return _0x1ae373();},'GnuKy':_0xe37d04(0x164),'caRgG':'beforeAll'};PerformanceTester[_0xe37d04(0x142)]();const _0x3b1c18='browserstack internal helper hook';PerformanceTester[_0xe37d04(0x131)](PerformanceSdkEvents[_0xe37d04(0x137)],()=>{const _0x516c72=_0xe37d04,_0x46851b={'sjquG':function(_0x19d18a,_0x148453,_0x1bed46,_0x28a66d){return _0x21749c['scDuG'](_0x19d18a,_0x148453,_0x1bed46,_0x28a66d);},'BZZuB':_0x21749c[_0x516c72(0x10b)],'daDiy':_0x21749c[_0x516c72(0x13d)],'TGbCX':function(_0x23cdc5,_0x2e8adc,_0x4b0435){const _0xd56e99=_0x516c72;return _0x21749c[_0xd56e99(0x130)](_0x23cdc5,_0x2e8adc,_0x4b0435);},'CVaUP':_0x21749c[_0x516c72(0x149)],'TZipa':function(_0x94a0d6){const _0x3fd5a5=_0x516c72;return _0x21749c[_0x3fd5a5(0xe5)](_0x94a0d6);}};global[_0x516c72(0x146)]=[],global['__sessionFailed']=![],global[_0x516c72(0x150)]=async()=>{const _0x37a32d=_0x516c72;let _0x222c9c=![];try{await global[_0x37a32d(0x176)][0x0][_0x37a32d(0xe2)],_0x222c9c=!![],global[_0x37a32d(0x13f)]?await _0x46851b[_0x37a32d(0xf5)](markSessionStatus,global['__drivers'][0x0],_0x46851b[_0x37a32d(0x15f)],global[_0x37a32d(0x146)][_0x37a32d(0xf1)](_0x46851b[_0x37a32d(0x133)])):await _0x46851b['TGbCX'](markSessionStatus,global[_0x37a32d(0x176)][0x0],_0x46851b[_0x37a32d(0x10c)]);}catch(_0x114a80){logger['debug'](_0x37a32d(0x173)+_0x114a80);}global[_0x37a32d(0x146)]=[],global['__sessionFailed']=![];if(_0x222c9c)try{try{_0x46851b[_0x37a32d(0x102)](shouldProcessEventForTesthub)&&(global[_0x37a32d(0x176)][0x0]&&await _0x46851b[_0x37a32d(0x11e)](sendPlatformDetails,global[_0x37a32d(0x176)][0x0],this[_0x37a32d(0xe1)]?this[_0x37a32d(0xe1)][_0x37a32d(0x113)]:null));}catch(_0x23008a){logger[_0x37a32d(0x10f)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x23008a);}await global[_0x37a32d(0x176)][0x0][_0x37a32d(0x117)]();}catch(_0x2e5c1b){logger[_0x37a32d(0x10f)](_0x37a32d(0x101)+_0x2e5c1b);}};},{'platform':_0x21749c[_0xe37d04(0x130)](nestedKeyValue,global['__platformCaps'],[_0x21749c[_0xe37d04(0xf8)]]),'hookType':_0x21749c[_0xe37d04(0x16e)]})();},'beforeEach'(_0x1da152){const _0x135b8c=a37_0x145fec,_0x5daa46={'VRyew':function(_0x4f2d48,_0x471410){return _0x4f2d48>_0x471410;},'qwABZ':_0x135b8c(0x103),'QPaeA':function(_0x332163,_0x577a92,_0x5d81c4){return _0x332163(_0x577a92,_0x5d81c4);},'SeAVD':_0x135b8c(0x12a),'wszmi':function(_0x4b2011){return _0x4b2011();},'IQSZG':_0x135b8c(0x14a),'OgqPj':function(_0x1c7562,_0x55b56c){return _0x1c7562===_0x55b56c;},'IYUwC':_0x135b8c(0xef),'ejtKI':function(_0x64068b,_0x3fbf26){return _0x64068b===_0x3fbf26;},'vBPYn':'https:','TsZiF':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','urqHP':_0x135b8c(0x16f),'TWftN':function(_0x4d0991){return _0x4d0991();},'irgzh':function(_0x1a4571){return _0x1a4571();},'PcWyX':'browserstackTestName','qHaIc':_0x135b8c(0x164),'DcXEv':_0x135b8c(0xdb)};globals['setGlobal'](_0x5daa46[_0x135b8c(0xee)],this['currentTest'][_0x135b8c(0x122)]()[_0x135b8c(0xf1)](_0x5daa46[_0x135b8c(0x171)])),PerformanceTester[_0x135b8c(0x131)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x2fa10e=_0x135b8c,_0x2741d2={'Lvetr':function(_0x5612bd){return _0x5daa46['irgzh'](_0x5612bd);}},_0x258714='browserstack internal helper hook';new Promise(async _0x34840e=>{const _0x21fcde=a37_0x2ea0;let _0x4bbf28=!![];try{_0x5daa46[_0x21fcde(0x12c)](global[_0x21fcde(0x176)][_0x21fcde(0xe0)],0x1)&&(await global[_0x21fcde(0x150)](),global[_0x21fcde(0x176)][_0x21fcde(0x157)]()),_0x5daa46[_0x21fcde(0x12c)](global[_0x21fcde(0x176)][0x0]['quitCount_'],0x0)&&(_0x4bbf28=![],await global['driverCleanup']());}catch(_0x1cd501){logger['debug'](_0x21fcde(0x101)+_0x1cd501);}try{Array[_0x21fcde(0x111)](global[_0x21fcde(0x176)])&&global[_0x21fcde(0x176)][0x0]&&(global[_0x21fcde(0x176)][0x0][_0x21fcde(0xf7)]=this['currentTest']['titlePath']()[_0x21fcde(0xf1)](_0x5daa46[_0x21fcde(0x171)])),global[_0x21fcde(0xf7)]=this[_0x21fcde(0xe1)][_0x21fcde(0x122)]()[_0x21fcde(0xf1)](_0x5daa46[_0x21fcde(0x171)]);}catch(_0x143e12){logger[_0x21fcde(0x10f)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x143e12);}this[_0x21fcde(0xe1)]['shouldScanTestForAccessibility']=_0x5daa46[_0x21fcde(0x17b)](shouldScanTestForAccessibility,this['currentTest'][_0x21fcde(0x122)](),!![]),globals[_0x21fcde(0x169)](_0x5daa46['SeAVD'],this[_0x21fcde(0xe1)][_0x21fcde(0x14f)]),this[_0x21fcde(0xe1)]['accessibilityScanStarted']=!![];if(_0x5daa46[_0x21fcde(0x11c)](isAccessibilityAutomationSession)&&_0x4bbf28&&Array[_0x21fcde(0x111)](global[_0x21fcde(0x176)])&&_0x5daa46[_0x21fcde(0x12c)](global[_0x21fcde(0x176)]['length'],0x0)&&globals[_0x21fcde(0x170)](_0x5daa46[_0x21fcde(0x15e)]))try{const _0x245668=await global[_0x21fcde(0x176)][0x0][_0x21fcde(0xe2)];if(_0x245668){let _0x1f06ed=!![];const _0x414860=await global[_0x21fcde(0x176)][0x0][_0x21fcde(0x145)]();let _0x3d52bb;try{_0x3d52bb=new URL(_0x414860);}catch(_0x2baea0){_0x1f06ed=![];}_0x1f06ed=_0x5daa46[_0x21fcde(0x156)](_0x3d52bb[_0x21fcde(0x172)],_0x5daa46[_0x21fcde(0x116)])||_0x5daa46[_0x21fcde(0x124)](_0x3d52bb[_0x21fcde(0x172)],_0x5daa46['vBPYn']),_0x1f06ed&&(this['currentTest']['shouldScanTestForAccessibility']&&logger[_0x21fcde(0x120)](_0x5daa46['TsZiF'])),this[_0x21fcde(0xe1)]['accessibilityScanStarted']=this['currentTest'][_0x21fcde(0x14f)],this[_0x21fcde(0xe1)][_0x21fcde(0x14f)]&&logger[_0x21fcde(0x120)](_0x5daa46[_0x21fcde(0xfb)]);}}catch(_0x419204){logger[_0x21fcde(0xde)](_0x21fcde(0x17a)+util[_0x21fcde(0xfc)](_0x419204));}_0x5daa46[_0x21fcde(0xe4)](_0x34840e);})[_0x2fa10e(0x10a)](()=>{const _0x5995aa=_0x2fa10e;_0x2741d2[_0x5995aa(0x123)](_0x1da152);});},{'platform':_0x5daa46[_0x135b8c(0x17b)](nestedKeyValue,global[_0x135b8c(0x13b)],[_0x5daa46[_0x135b8c(0x129)]]),'hookType':_0x5daa46[_0x135b8c(0xd9)]})();},'afterEach'(_0x1cbe2d){const _0x2d01e4=a37_0x145fec,_0x1ceb9b={'SeLug':function(_0x40703a){return _0x40703a();},'OAVey':function(_0x52e18f,_0x63f5ac){return _0x52e18f!==_0x63f5ac;},'BCoKU':'passed','AnwJM':function(_0x2f7f44,_0x3d3be5,_0x150474){return _0x2f7f44(_0x3d3be5,_0x150474);},'KKPZZ':function(_0x344a66,_0x5c6880){return _0x344a66+_0x5c6880;},'USHEr':_0x2d01e4(0x14d),'bckYQ':'error','xEJJd':'Passed','SdoFe':'info','EsAaL':_0x2d01e4(0x103),'KnjOl':function(_0x3e8c00,_0x26dbf3){return _0x3e8c00>_0x26dbf3;},'gGbCa':function(_0x37778a,_0x395c04){return _0x37778a===_0x395c04;},'YhwGL':_0x2d01e4(0xdc),'yTICg':_0x2d01e4(0x140),'PGSZr':function(_0x3082e2,_0x5a0d63,_0x3cc5f1,_0x3eed1d){return _0x3082e2(_0x5a0d63,_0x3cc5f1,_0x3eed1d);},'pmmLh':'isAccessibilityPlatform','rNsXD':_0x2d01e4(0x12a),'uFHPO':_0x2d01e4(0x177),'WPZHy':'Performing\x20scan\x20before\x20saving\x20results','UrnQa':_0x2d01e4(0x112),'jfKWp':_0x2d01e4(0x161),'koPHM':function(_0x1496c9,_0x3a85c7,_0x17e220){return _0x1496c9(_0x3a85c7,_0x17e220);},'gUIzE':_0x2d01e4(0x10f),'QEiGO':_0x2d01e4(0x144),'UNpMy':'index','NNrby':_0x2d01e4(0xf9)},_0x5ce97e='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1ceb9b[_0x2d01e4(0x168)]]),global[_0x2d01e4(0x13e)]=this[_0x2d01e4(0xe1)]['titlePath']()[_0x2d01e4(0xf1)](_0x1ceb9b['EsAaL']),PerformanceTester[_0x2d01e4(0x131)](PerformanceSdkEvents[_0x2d01e4(0x137)],()=>{const _0x387e21=_0x2d01e4,_0x2d9c16={'daeXN':function(_0x471ba3,_0x394c58){const _0x1cad21=a37_0x2ea0;return _0x1ceb9b[_0x1cad21(0xd4)](_0x471ba3,_0x394c58);},'ieJLh':_0x1ceb9b[_0x387e21(0x135)],'RqKpJ':function(_0x5e455a,_0x3db393,_0x1c9297){const _0x48d1e5=_0x387e21;return _0x1ceb9b[_0x48d1e5(0x15c)](_0x5e455a,_0x3db393,_0x1c9297);},'AJoox':function(_0x2f4566,_0x5e7858){const _0x32a3f2=_0x387e21;return _0x1ceb9b[_0x32a3f2(0xe7)](_0x2f4566,_0x5e7858);},'Aoshi':_0x1ceb9b['USHEr'],'FhBYT':_0x1ceb9b['bckYQ'],'ZZkXi':_0x1ceb9b[_0x387e21(0x143)],'nQIYh':_0x1ceb9b[_0x387e21(0xd5)],'ExqUe':_0x1ceb9b['EsAaL'],'TNOSo':function(_0x156749,_0x3a668a){const _0x5339de=_0x387e21;return _0x1ceb9b[_0x5339de(0x121)](_0x156749,_0x3a668a);},'TKOay':function(_0x345dec,_0x2781a0){const _0x275208=_0x387e21;return _0x1ceb9b[_0x275208(0x165)](_0x345dec,_0x2781a0);},'WnRRV':_0x1ceb9b['YhwGL'],'LqWjT':_0x1ceb9b[_0x387e21(0x110)],'eyQAT':function(_0x4a717a,_0x15c526,_0x5aa334,_0x398567){return _0x1ceb9b['PGSZr'](_0x4a717a,_0x15c526,_0x5aa334,_0x398567);},'ogFvR':_0x1ceb9b['pmmLh'],'OpZkD':_0x1ceb9b[_0x387e21(0xe8)],'FBbSh':_0x1ceb9b['uFHPO'],'MLmPA':_0x1ceb9b['WPZHy'],'ZrybZ':_0x1ceb9b['UrnQa'],'TBUNt':_0x1ceb9b[_0x387e21(0x119)],'eYLAv':function(_0xf1fa0){const _0x1e5110=_0x387e21;return _0x1ceb9b[_0x1e5110(0x15a)](_0xf1fa0);},'uCxpN':function(_0x1c76ab,_0x2f5d7e,_0x1de055){const _0x572ed8=_0x387e21;return _0x1ceb9b[_0x572ed8(0x10e)](_0x1c76ab,_0x2f5d7e,_0x1de055);},'fvwAC':_0x1ceb9b[_0x387e21(0x107)]},_0x3d6e02=async(_0x5d5ed0,_0x1c567f)=>{const _0xcea062=_0x387e21;await global[_0xcea062(0x176)][0x0][_0xcea062(0x16b)](_0xcea062(0x11a)+_0x5d5ed0+',\x22level\x22:\x20\x22'+_0x1c567f+_0xcea062(0x167));};new Promise(async _0x31d7a8=>{const _0x31c0a9=_0x387e21,_0x30df42={};_0x30df42[_0x31c0a9(0xed)]=_0x2d9c16[_0x31c0a9(0x100)];const _0x18e3c9=_0x30df42;try{_0x2d9c16[_0x31c0a9(0x13a)](global['__drivers'][_0x31c0a9(0xe0)],0x1)&&(await global[_0x31c0a9(0x150)](),global['__drivers'][_0x31c0a9(0x157)](),global[_0x31c0a9(0x146)]=[],global[_0x31c0a9(0x13f)]=![]);try{if(global['percy']&&_0x2d9c16[_0x31c0a9(0x127)](global[_0x31c0a9(0x179)],_0x2d9c16[_0x31c0a9(0xd6)])&&global[_0x31c0a9(0x176)][0x0]){const _0x1a7742=_0x2d9c16[_0x31c0a9(0x13a)](global['capabilities']['length'],0x0)?!!global['capabilities'][0x0]['app']||!!global[_0x31c0a9(0x11f)][0x0][_0x2d9c16[_0x31c0a9(0x13c)]]:![],_0x4241f3={};_0x4241f3[_0x31c0a9(0x152)]=_0x1a7742,await _0x2d9c16[_0x31c0a9(0x125)](percyAutoCapture,global[_0x31c0a9(0x176)][0x0],_0x2d9c16['WnRRV'],_0x4241f3);}}catch(_0x2072a9){logger['debug'](_0x31c0a9(0x178)+_0x2072a9);}!global[_0x31c0a9(0xfd)]&&(await PerformanceTester[_0x31c0a9(0x131)](PerformanceAutEvents[_0x31c0a9(0x132)],async()=>{const _0x214029=_0x31c0a9;await global[_0x214029(0x176)][0x0][_0x214029(0x16b)](_0x214029(0x16c)+JSON['stringify'](this[_0x214029(0xe1)][_0x214029(0x122)]()[_0x214029(0xf1)](_0x18e3c9[_0x214029(0xed)]))+'}}');})(),global[_0x31c0a9(0x176)][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x31c0a9(0x131)](PerformanceAutEvents[_0x31c0a9(0xe3)],async()=>{const _0x189d73=_0x31c0a9,_0x3648d0=_0x2d9c16[_0x189d73(0x12f)](this[_0x189d73(0xe1)][_0x189d73(0x153)],_0x2d9c16[_0x189d73(0x104)]);_0x3648d0?(global[_0x189d73(0x13f)]=!![],global[_0x189d73(0x146)]['push'](this[_0x189d73(0xe1)][_0x189d73(0x14c)][_0x189d73(0xda)]),await _0x2d9c16[_0x189d73(0x115)](_0x3d6e02,JSON['stringify'](_0x2d9c16['AJoox'](_0x2d9c16[_0x189d73(0x160)],this[_0x189d73(0xe1)]['err'][_0x189d73(0xda)])),_0x2d9c16[_0x189d73(0x126)])):await _0x2d9c16['RqKpJ'](_0x3d6e02,JSON[_0x189d73(0x174)](_0x2d9c16[_0x189d73(0xec)]),_0x2d9c16['nQIYh']);})();}catch(_0x50e10b){logger['debug'](_0x31c0a9(0x16d)+_0x50e10b);}try{if(this['currentTest']['accessibilityScanStarted']&&globals[_0x31c0a9(0x170)](_0x2d9c16[_0x31c0a9(0x14b)])&&globals[_0x31c0a9(0x170)](_0x2d9c16[_0x31c0a9(0x162)])){logger[_0x31c0a9(0x120)](_0x2d9c16['FBbSh']);const _0x2ced87={};_0x2ced87['thTestRunUuid']=this[_0x31c0a9(0xe1)][_0x31c0a9(0x113)],_0x2ced87['thBuildUuid']=process['env'][testHubConstants[_0x31c0a9(0xf4)][_0x31c0a9(0x15d)]],_0x2ced87['thJwtToken']=process[_0x31c0a9(0xeb)][testHubConstants[_0x31c0a9(0xf4)][_0x31c0a9(0x151)]];const _0x5a346f=_0x2ced87;logger[_0x31c0a9(0x10f)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x5a346f)),logger[_0x31c0a9(0x10f)](_0x2d9c16['MLmPA']);const _0x4d17e9={};_0x4d17e9[_0x31c0a9(0x118)]=_0x2d9c16[_0x31c0a9(0x139)],await PerformanceTester[_0x31c0a9(0x131)](PerformanceA11yEvents[_0x31c0a9(0x10d)],async()=>{const _0x2142e2=_0x31c0a9;logger[_0x2142e2(0x10f)](util[_0x2142e2(0xfc)](await global[_0x2142e2(0x176)][0x0][_0x2142e2(0xd7)](scripts[_0x2142e2(0x106)],{'method':global[_0x2142e2(0xf7)]})));},_0x4d17e9)(),await PerformanceTester[_0x31c0a9(0x131)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x2e97e0=_0x31c0a9;await global[_0x2e97e0(0x176)][0x0]['executeAsyncScript'](scripts[_0x2e97e0(0x16a)],_0x5a346f);})(),logger[_0x31c0a9(0x120)](_0x2d9c16[_0x31c0a9(0x175)]);}}catch(_0x5a9f86){logger[_0x31c0a9(0xde)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x31c0a9(0xe1)][_0x31c0a9(0x122)]()+_0x31c0a9(0x12b),_0x5a9f86);}try{try{if(_0x2d9c16[_0x31c0a9(0x114)](shouldProcessEventForTesthub)){global[_0x31c0a9(0x176)][0x0]&&await _0x2d9c16[_0x31c0a9(0x141)](sendPlatformDetails,global[_0x31c0a9(0x176)][0x0],this[_0x31c0a9(0xe1)]?this['currentTest']['testAnalyticsId']:null);if(_0x2d9c16[_0x31c0a9(0x114)](isBrowserstackInfra)){PerformanceTester[_0x31c0a9(0xdd)](PerformanceO11yEvents[_0x31c0a9(0xe9)]);const _0x41a0dd='ObservabilitySync:'+Date[_0x31c0a9(0x109)]();await _0x2d9c16[_0x31c0a9(0x115)](_0x3d6e02,JSON[_0x31c0a9(0x174)](_0x41a0dd),_0x2d9c16[_0x31c0a9(0x163)]),PerformanceTester[_0x31c0a9(0x128)](PerformanceO11yEvents['SYNC']);}}}catch(_0x519e2d){logger[_0x31c0a9(0x10f)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x519e2d),PerformanceTester[_0x31c0a9(0x128)](PerformanceO11yEvents['SYNC'],![],_0x519e2d);}_0x2d9c16[_0x31c0a9(0x13a)](global[_0x31c0a9(0x176)][0x0]['quitCount_'],0x0)&&await global[_0x31c0a9(0x150)]();}catch(_0xb9e372){logger[_0x31c0a9(0x10f)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0xb9e372);}_0x2d9c16[_0x31c0a9(0x114)](_0x31d7a8);})['then'](()=>{const _0x4ba59e=_0x387e21;_0x1ceb9b[_0x4ba59e(0x15a)](_0x1cbe2d);});},{'platform':_0x1ceb9b[_0x2d01e4(0x15c)](nestedKeyValue,global['__platformCaps'],[_0x1ceb9b['UNpMy']]),'hookType':_0x1ceb9b[_0x2d01e4(0xf0)]})();},'afterAll'(_0x42a5d7){const _0x5d9876=a37_0x145fec,_0xc1d4d9={'OOkXh':function(_0x5ae69d){return _0x5ae69d();},'ZYtQL':_0x5d9876(0x144),'PYPTJ':function(_0x35be71,_0x3d22e5,_0x4dddc3){return _0x35be71(_0x3d22e5,_0x4dddc3);},'zkEby':'index','xPpCI':_0x5d9876(0x17c)},_0x35f570='browserstack internal helper hook';this[_0x5d9876(0x12e)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0xc1d4d9[_0x5d9876(0x11d)]]),PerformanceTester[_0x5d9876(0x131)](PerformanceSdkEvents[_0x5d9876(0x137)],()=>{const _0x6d3668=_0x5d9876,_0x3b814e={'VIKcs':function(_0xbe1361){const _0x2d08fa=a37_0x2ea0;return _0xc1d4d9[_0x2d08fa(0x136)](_0xbe1361);}};new Promise(async _0x1a8a01=>{const _0x5d9479=a37_0x2ea0;await global[_0x5d9479(0x150)](),_0x3b814e[_0x5d9479(0xe6)](_0x1a8a01);})[_0x6d3668(0x10a)]()[_0x6d3668(0x155)](()=>{_0x3b814e['VIKcs'](_0x42a5d7);});},{'platform':_0xc1d4d9[_0x5d9876(0xea)](nestedKeyValue,global[_0x5d9876(0x13b)],[_0xc1d4d9['zkEby']]),'hookType':_0xc1d4d9['xPpCI']})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a38_0x568b21=a38_0x30dc;(function(_0x2a5db0,_0x5c5df5){const _0x5d039b=a38_0x30dc,_0x32e254=_0x2a5db0();while(!![]){try{const _0x6e47da=parseInt(_0x5d039b(0xfa))/0x1*(-parseInt(_0x5d039b(0x11c))/0x2)+-parseInt(_0x5d039b(0xf3))/0x3+parseInt(_0x5d039b(0x105))/0x4+parseInt(_0x5d039b(0x133))/0x5*(-parseInt(_0x5d039b(0x11d))/0x6)+parseInt(_0x5d039b(0xf5))/0x7*(-parseInt(_0x5d039b(0x115))/0x8)+parseInt(_0x5d039b(0xef))/0x9*(-parseInt(_0x5d039b(0x135))/0xa)+parseInt(_0x5d039b(0x122))/0xb*(parseInt(_0x5d039b(0x139))/0xc);if(_0x6e47da===_0x5c5df5)break;else _0x32e254['push'](_0x32e254['shift']());}catch(_0x11b59f){_0x32e254['push'](_0x32e254['shift']());}}}(a38_0x1ec2,0x7eb09));const fs=require('fs'),path=require(a38_0x568b21(0xf6)),{spawn}=require(a38_0x568b21(0x12e)),logger=require(a38_0x568b21(0x111))[a38_0x568b21(0xf4)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a38_0x568b21(0x10b)),constants=require(a38_0x568b21(0x12f)),getUserNightwatchConfigs=(_0x42aa22,_0x1791a3)=>{const _0x42e856=a38_0x568b21,_0x3b37ec={'NYOWb':'nightwatch.conf.js','wokIb':_0x42e856(0x11f),'AzxCa':function(_0x4e1332,_0x24b05e){return _0x4e1332(_0x24b05e);},'sByDA':_0x42e856(0x104)};let _0x58ddd3=null,_0x371900={};const _0xd180f0=_0x1791a3[_0x42e856(0x12d)](_0x3d57b7=>_0x3d57b7===_0x42e856(0x101));if(!helper[_0x42e856(0x131)](_0x42aa22[_0x42e856(0xec)])&&fs[_0x42e856(0x108)](path[_0x42e856(0x103)](process[_0x42e856(0xfd)](),_0x42aa22[_0x42e856(0xec)])))_0x58ddd3=path[_0x42e856(0x103)](process[_0x42e856(0xfd)](),_0x42aa22[_0x42e856(0xec)]),_0x1791a3[_0x42e856(0x114)](_0xd180f0,0x2);else{if(fs[_0x42e856(0x108)](path[_0x42e856(0x103)](process['cwd'](),_0x3b37ec[_0x42e856(0x12b)])))_0x58ddd3=path['join'](process[_0x42e856(0xfd)](),_0x3b37ec['NYOWb']);else fs[_0x42e856(0x108)](path['join'](process[_0x42e856(0xfd)](),_0x3b37ec[_0x42e856(0x113)]))&&(_0x58ddd3=path[_0x42e856(0x103)](process[_0x42e856(0xfd)](),_0x3b37ec[_0x42e856(0x113)]));}return _0x58ddd3?(logger['info'](_0x42e856(0x107)+_0x58ddd3),_0x371900=_0x3b37ec[_0x42e856(0xed)](require,_0x58ddd3)):logger[_0x42e856(0x132)](_0x3b37ec[_0x42e856(0xf7)]),_0x371900;},removeExistingEnvs=_0x5e78e6=>{const _0x131b69=a38_0x568b21,_0x5e6486={};_0x5e6486[_0x131b69(0x106)]=function(_0x37f5e5,_0x1c8964){return _0x37f5e5>_0x1c8964;},_0x5e6486['QtrYN']=function(_0xe23368,_0x20e3aa){return _0xe23368>_0x20e3aa;};const _0x1bfbc9=_0x5e6486;let _0x19c204=_0x5e78e6[_0x131b69(0x12d)](_0x122e51=>_0x122e51===_0x131b69(0x137));_0x1bfbc9[_0x131b69(0x106)](_0x19c204,-0x1)&&_0x5e78e6['splice'](_0x19c204,0x2),_0x19c204=_0x5e78e6[_0x131b69(0x12d)](_0x5c7e09=>_0x5c7e09==='-e'),_0x1bfbc9[_0x131b69(0x138)](_0x19c204,-0x1)&&_0x5e78e6['splice'](_0x19c204,0x2);};function run(_0x3a8f4c,_0x4a3cd4,_0x214e88){const _0x454d43=a38_0x568b21,_0x444a90={'TGDFb':_0x454d43(0xfb),'utbtf':function(_0x42956c,_0x1169e2){return _0x42956c+_0x1169e2;},'oMYWg':_0x454d43(0x136),'saIvm':function(_0x27060e,_0x45a7b2,_0x4ba0f2){return _0x27060e(_0x45a7b2,_0x4ba0f2);},'jfDki':_0x454d43(0x123),'LqFMi':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','KiRuk':function(_0x183906,_0x3368bb){return _0x183906===_0x3368bb;},'Ujxvt':'nightwatch-browserstack.json','lRNEo':function(_0x3588a2,_0x1450c2){return _0x3588a2(_0x1450c2);},'tJqdV':function(_0x17e6f2,_0x1abbc9,_0x4cec77,_0xc12ba){return _0x17e6f2(_0x1abbc9,_0x4cec77,_0xc12ba);},'IUMnl':_0x454d43(0x100),'raETS':_0x454d43(0x101),'aOrEk':'--env','fbxkB':_0x454d43(0x116),'DVont':'close'};if(!_0x214e88[_0x454d43(0xec)])return;const _0x236429=_0x444a90[_0x454d43(0x10e)](getUserNightwatchConfigs,_0x3a8f4c,_0x4a3cd4),_0x21af93={};_0x21af93['start_process']=![];const _0x1373e0={};_0x1373e0[_0x454d43(0x125)]=_0x444a90[_0x454d43(0x118)],_0x1373e0['port']=0x1bb;const _0x43cb58={};_0x43cb58[_0x454d43(0x10c)]=_0x21af93,_0x43cb58[_0x454d43(0x10a)]=_0x1373e0;const _0x274faa=_0x43cb58;logger[_0x454d43(0x132)](_0x444a90[_0x454d43(0x11e)]);const _0xfefe9e={..._0x236429},_0x4cb74e=_0xfefe9e,_0x511118=helper[_0x454d43(0x12a)](_0x214e88[_0x454d43(0xec)]),_0x39e0b4=[];_0x214e88[_0x454d43(0xec)][_0x454d43(0xfc)][_0x454d43(0x109)]((_0x14e669,_0x208606)=>{const _0x15b0a7=_0x454d43;_0x511118?_0x39e0b4[_0x15b0a7(0x134)](helper[_0x15b0a7(0x121)](_0x214e88[_0x15b0a7(0xec)],_0x444a90[_0x15b0a7(0xf0)],_0x208606)):_0x39e0b4[_0x15b0a7(0x134)](helper['modifyBrowserStackCaps'](_0x214e88['config'],_0x444a90[_0x15b0a7(0xf0)],_0x208606));});const _0x25055c={},_0x5403e2=[];_0x3a8f4c[_0x454d43(0x10d)]=_0x3a8f4c['env']||_0x3a8f4c['e'];const _0x567fe8=_0x3a8f4c[_0x454d43(0x10d)]?_0x3a8f4c['env'][_0x454d43(0xea)]()[_0x454d43(0x119)](',')[_0x454d43(0x126)](_0x2d959a=>_0x2d959a[_0x454d43(0xea)]())[_0x454d43(0x110)](_0x3ca6b6=>_0x3ca6b6!==''):[''];_0x444a90[_0x454d43(0x10f)](_0x567fe8['length'],0x0)&&_0x567fe8[_0x454d43(0x134)]('');_0x567fe8['forEach'](_0x1cdddf=>{const _0x2f9c53=_0x454d43;_0x39e0b4[_0x2f9c53(0x109)](_0x1ef8e8=>{const _0x5d0270=_0x2f9c53;let _0x536d0c=_0x444a90[_0x5d0270(0xeb)](helper[_0x5d0270(0xf8)](_0x1ef8e8,'_'),'_'+Date[_0x5d0270(0x112)]());_0x1cdddf&&(_0x536d0c+='_'+_0x1cdddf);if(_0x1cdddf&&(!_0x236429[_0x444a90[_0x5d0270(0x129)]]||!_0x236429[_0x444a90[_0x5d0270(0x129)]][_0x1cdddf]))return;const _0x2873cb={..._0x274faa};_0x2873cb[_0x5d0270(0x117)]=_0x1ef8e8;const _0x5280d4=_0x2873cb;_0x25055c[_0x536d0c]=_0x1cdddf?helper[_0x5d0270(0x11b)](_0x236429[_0x444a90['oMYWg']][_0x1cdddf],_0x5280d4):_0x5280d4,_0x5403e2[_0x5d0270(0x134)](_0x536d0c);});});!_0x4cb74e[_0x454d43(0x136)]&&(_0x4cb74e['test_settings']={});_0x4cb74e[_0x454d43(0x136)]={..._0x4cb74e[_0x454d43(0x136)],..._0x25055c};const _0x28f0b8=path[_0x454d43(0x103)](__dirname,_0x444a90[_0x454d43(0xf1)]);fs['writeFileSync'](_0x28f0b8,JSON[_0x454d43(0xee)](_0x4cb74e)),_0x444a90[_0x454d43(0xfe)](removeExistingEnvs,_0x4a3cd4);const _0x48f508=_0x444a90[_0x454d43(0x130)](spawn,/^win/[_0x454d43(0xff)](process[_0x454d43(0xf2)])?_0x444a90[_0x454d43(0x12c)]:_0x444a90[_0x454d43(0xf0)],[_0x444a90['raETS'],_0x28f0b8,..._0x4a3cd4['slice'](0x1),_0x444a90['aOrEk'],_0x5403e2['join'](',')],{'stdio':_0x444a90[_0x454d43(0x120)]});_0x48f508['on'](_0x444a90[_0x454d43(0x128)],async _0x138ffc=>{const _0x3ceb6e=_0x454d43;logger[_0x3ceb6e(0x102)](_0x3ceb6e(0x127)+_0x138ffc),logger[_0x3ceb6e(0x132)](_0x3ceb6e(0x124)+_0x28f0b8),fs[_0x3ceb6e(0x11a)](_0x28f0b8);});}function a38_0x1ec2(){const _0x1f015e=['test_settings','--env','QtrYN','1164FmfOqo','trim','utbtf','config','AzxCa','stringify','972XzGhKD','TGDFb','Ujxvt','platform','472188TtKsOT','winstonLogger','7gIsCym','path','sByDA','getPlatformName','exports','5TwuydG','nightwatch','platforms','cwd','lRNEo','test','nightwatch.cmd','--config','debug','join','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','3818344HLrEqY','nRZAk','Getting\x20your\x20nightwatch\x20configs\x20from\x20','existsSync','forEach','selenium','../../helpers/helper','webdriver','env','saIvm','KiRuk','filter','../../helpers/logger','now','wokIb','splice','2605792JAWBiZ','inherit','desiredCapabilities','jfDki','split','unlinkSync','mergeDeep','246650XhWwCn','241134ZAILhc','LqFMi','nightwatch.json','fbxkB','modifyBrowserStackW3CCaps','171589bfZiuT','hub.browserstack.com','Deleting\x20','host','map','child\x20process\x20exited\x20with\x20code\x20','DVont','oMYWg','useW3C','NYOWb','IUMnl','findIndex','child_process','../utils/constants','tJqdV','isUndefined','info','55yUxzFF','push','37680PUsFBE'];a38_0x1ec2=function(){return _0x1f015e;};return a38_0x1ec2();}function a38_0x30dc(_0x2b01c7,_0x31b0f1){const _0x1ec20d=a38_0x1ec2();return a38_0x30dc=function(_0x30dc14,_0x4f59ae){_0x30dc14=_0x30dc14-0xea;let _0x5595d8=_0x1ec20d[_0x30dc14];return _0x5595d8;},a38_0x30dc(_0x2b01c7,_0x31b0f1);}module[a38_0x568b21(0xf9)]=run;
2
+ 'use strict';function a38_0x3df9(_0x5a37c4,_0x4a1392){const _0x5e3c38=a38_0x5e3c();return a38_0x3df9=function(_0x3df9eb,_0x25bf07){_0x3df9eb=_0x3df9eb-0x17a;let _0x20c9c9=_0x5e3c38[_0x3df9eb];return _0x20c9c9;},a38_0x3df9(_0x5a37c4,_0x4a1392);}const a38_0x4f275c=a38_0x3df9;(function(_0x4f4d37,_0x437011){const _0x1ddd7c=a38_0x3df9,_0x5ce4a2=_0x4f4d37();while(!![]){try{const _0x2b67b1=parseInt(_0x1ddd7c(0x196))/0x1+-parseInt(_0x1ddd7c(0x180))/0x2+-parseInt(_0x1ddd7c(0x19b))/0x3+-parseInt(_0x1ddd7c(0x18d))/0x4+-parseInt(_0x1ddd7c(0x18e))/0x5+parseInt(_0x1ddd7c(0x1c0))/0x6*(-parseInt(_0x1ddd7c(0x1ad))/0x7)+parseInt(_0x1ddd7c(0x1a7))/0x8;if(_0x2b67b1===_0x437011)break;else _0x5ce4a2['push'](_0x5ce4a2['shift']());}catch(_0x4b9f14){_0x5ce4a2['push'](_0x5ce4a2['shift']());}}}(a38_0x5e3c,0x62b1c));const fs=require('fs'),path=require(a38_0x4f275c(0x19c)),{spawn}=require('child_process'),logger=require(a38_0x4f275c(0x1a0))[a38_0x4f275c(0x192)],{default:BrowserStackSetup}=require(a38_0x4f275c(0x19a)),helper=require('../../helpers/helper'),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x16b9cc,_0x13c35b)=>{const _0x58dd26=a38_0x4f275c,_0x15621c={'LPpeb':_0x58dd26(0x187),'JOpDn':_0x58dd26(0x1a8),'VXmkc':function(_0x2f0b7c,_0x4cd2b6){return _0x2f0b7c(_0x4cd2b6);},'isAWO':_0x58dd26(0x1be)};let _0x3e2e0a=null,_0x10ee6f={};const _0x5e0b50=_0x13c35b[_0x58dd26(0x184)](_0x1443b3=>_0x1443b3===_0x58dd26(0x1aa));if(!helper['isUndefined'](_0x16b9cc[_0x58dd26(0x17b)])&&fs[_0x58dd26(0x193)](path['join'](process[_0x58dd26(0x1b0)](),_0x16b9cc[_0x58dd26(0x17b)])))_0x3e2e0a=path[_0x58dd26(0x198)](process[_0x58dd26(0x1b0)](),_0x16b9cc[_0x58dd26(0x17b)]),_0x13c35b[_0x58dd26(0x191)](_0x5e0b50,0x2);else{if(fs[_0x58dd26(0x193)](path[_0x58dd26(0x198)](process['cwd'](),_0x15621c['LPpeb'])))_0x3e2e0a=path[_0x58dd26(0x198)](process[_0x58dd26(0x1b0)](),_0x15621c[_0x58dd26(0x1bf)]);else fs[_0x58dd26(0x193)](path[_0x58dd26(0x198)](process['cwd'](),_0x15621c[_0x58dd26(0x190)]))&&(_0x3e2e0a=path[_0x58dd26(0x198)](process[_0x58dd26(0x1b0)](),_0x15621c[_0x58dd26(0x190)]));}return _0x3e2e0a?(logger[_0x58dd26(0x194)](_0x58dd26(0x1b8)+_0x3e2e0a),_0x10ee6f=_0x15621c['VXmkc'](require,_0x3e2e0a)):logger['info'](_0x15621c[_0x58dd26(0x1bc)]),_0x10ee6f;},removeExistingEnvs=_0x8fa3e0=>{const _0x3dd1e4=a38_0x4f275c,_0x54e647={};_0x54e647['CpQut']=function(_0x21ea0d,_0x2a50ac){return _0x21ea0d>_0x2a50ac;},_0x54e647[_0x3dd1e4(0x188)]=function(_0x4b1cb6,_0x52e0f6){return _0x4b1cb6>_0x52e0f6;};const _0x12df70=_0x54e647;let _0x24fecc=_0x8fa3e0[_0x3dd1e4(0x184)](_0x45e544=>_0x45e544==='--env');_0x12df70[_0x3dd1e4(0x1ae)](_0x24fecc,-0x1)&&_0x8fa3e0[_0x3dd1e4(0x191)](_0x24fecc,0x2),_0x24fecc=_0x8fa3e0[_0x3dd1e4(0x184)](_0xb20267=>_0xb20267==='-e'),_0x12df70[_0x3dd1e4(0x188)](_0x24fecc,-0x1)&&_0x8fa3e0[_0x3dd1e4(0x191)](_0x24fecc,0x2);};function run(_0x2990cd,_0x5849d0,_0xb784d4){const _0x180b35=a38_0x4f275c,_0x33a049={'JgjKA':'nightwatch','XGehL':function(_0x82db82,_0x5671ae){return _0x82db82+_0x5671ae;},'mstDv':'test_settings','ldRmE':function(_0x3ff0eb,_0x50ee31,_0xc7cd5e){return _0x3ff0eb(_0x50ee31,_0xc7cd5e);},'oxdNN':_0x180b35(0x186),'mVjEP':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','ezgAl':function(_0x460f4b,_0x5065ca){return _0x460f4b===_0x5065ca;},'dhaHS':'nightwatch-browserstack.json','wAhSU':function(_0x50454e,_0x59f249){return _0x50454e(_0x59f249);},'Kwppf':function(_0x135e0d,_0x279955,_0x9fe509,_0x1172a9){return _0x135e0d(_0x279955,_0x9fe509,_0x1172a9);},'GSTap':_0x180b35(0x1b5),'UdgbV':_0x180b35(0x1aa),'zfoPa':_0x180b35(0x17f),'oTLpV':_0x180b35(0x1a6),'fhODl':'close'};if(!_0xb784d4['config'])return;const _0x18d550=_0x33a049[_0x180b35(0x1a4)](getUserNightwatchConfigs,_0x2990cd,_0x5849d0),_0xdda644={};_0xdda644['start_process']=![];const _0x24eac4={};_0x24eac4[_0x180b35(0x199)]=_0x33a049[_0x180b35(0x185)],_0x24eac4[_0x180b35(0x1a5)]=0x1bb;const _0x7bdee8={};_0x7bdee8[_0x180b35(0x189)]=_0xdda644,_0x7bdee8['selenium']=_0x24eac4;const _0x291459=_0x7bdee8;logger[_0x180b35(0x194)](_0x33a049[_0x180b35(0x1b9)]);const _0x155dcd={..._0x18d550},_0x8946a4=_0x155dcd,_0x20d4a7=helper[_0x180b35(0x1ac)](_0xb784d4[_0x180b35(0x17b)]),_0x26a5a2=[];_0xb784d4[_0x180b35(0x17b)]['platforms']['forEach']((_0x4dd570,_0x42be58)=>{const _0x50c070=_0x180b35;_0x20d4a7?_0x26a5a2[_0x50c070(0x1b7)](helper['modifyBrowserStackW3CCaps'](_0xb784d4[_0x50c070(0x17b)],_0x33a049[_0x50c070(0x1b2)],_0x42be58)):_0x26a5a2[_0x50c070(0x1b7)](helper[_0x50c070(0x18f)](_0xb784d4[_0x50c070(0x17b)],_0x33a049['JgjKA'],_0x42be58));});const _0x51262c={},_0x429101=[];_0x2990cd[_0x180b35(0x17c)]=_0x2990cd[_0x180b35(0x17c)]||_0x2990cd['e'];const _0x4d315d=_0x2990cd[_0x180b35(0x17c)]?_0x2990cd[_0x180b35(0x17c)][_0x180b35(0x18b)]()['split'](',')[_0x180b35(0x18a)](_0x1a17c4=>_0x1a17c4[_0x180b35(0x18b)]())[_0x180b35(0x1b3)](_0x547d05=>_0x547d05!==''):[''];_0x33a049['ezgAl'](_0x4d315d[_0x180b35(0x1b1)],0x0)&&_0x4d315d['push']('');_0x4d315d[_0x180b35(0x19d)](_0x42f57e=>{const _0x5e8dcf=_0x180b35;_0x26a5a2[_0x5e8dcf(0x19d)](_0x379e37=>{const _0x305e39=_0x5e8dcf;let _0x28278f=_0x33a049[_0x305e39(0x1af)](helper[_0x305e39(0x195)](_0x379e37,'_'),'_'+Date['now']());_0x42f57e&&(_0x28278f+='_'+_0x42f57e);if(_0x42f57e&&(!_0x18d550[_0x33a049['mstDv']]||!_0x18d550[_0x33a049[_0x305e39(0x19f)]][_0x42f57e]))return;const _0x138b9d={..._0x291459};_0x138b9d[_0x305e39(0x197)]=_0x379e37;const _0x219c7c=_0x138b9d;_0x51262c[_0x28278f]=_0x42f57e?helper[_0x305e39(0x17d)](_0x18d550[_0x33a049[_0x305e39(0x19f)]][_0x42f57e],_0x219c7c):_0x219c7c,_0x429101[_0x305e39(0x1b7)](_0x28278f);});});!_0x8946a4[_0x180b35(0x1a2)]&&(_0x8946a4[_0x180b35(0x1a2)]={});_0x8946a4['test_settings']={..._0x8946a4[_0x180b35(0x1a2)],..._0x51262c};const _0x34ed81=path['join'](__dirname,_0x33a049[_0x180b35(0x1ab)]);fs[_0x180b35(0x182)](_0x34ed81,JSON[_0x180b35(0x1bd)](_0x8946a4)),_0x33a049[_0x180b35(0x183)](removeExistingEnvs,_0x5849d0);const _0x40fad9=_0x33a049[_0x180b35(0x17e)](spawn,/^win/[_0x180b35(0x1ba)](process[_0x180b35(0x1a1)])?_0x33a049[_0x180b35(0x1b4)]:_0x33a049[_0x180b35(0x1b2)],[_0x33a049[_0x180b35(0x19e)],_0x34ed81,..._0x5849d0[_0x180b35(0x181)](0x1),_0x33a049['zfoPa'],_0x429101[_0x180b35(0x198)](',')],{'stdio':_0x33a049[_0x180b35(0x1a9)]});_0x40fad9['on'](_0x33a049[_0x180b35(0x1b6)],async _0x1edc42=>{const _0x5c350b=_0x180b35;logger[_0x5c350b(0x17a)](_0x5c350b(0x18c)+_0x1edc42),logger[_0x5c350b(0x194)](_0x5c350b(0x1a3)+_0x34ed81),fs[_0x5c350b(0x1bb)](_0x34ed81);});}function a38_0x5e3c(){const _0x27fe97=['stringify','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','LPpeb','42qZibym','debug','config','env','mergeDeep','Kwppf','--env','616466YBqFIS','slice','writeFileSync','wAhSU','findIndex','oxdNN','hub.browserstack.com','nightwatch.conf.js','UHgMJ','webdriver','map','trim','child\x20process\x20exited\x20with\x20code\x20','1834016bXlOus','2562170PUPhNz','modifyBrowserStackCaps','JOpDn','splice','winstonLogger','existsSync','info','getPlatformName','684652qyWdpq','desiredCapabilities','join','host','../../helpers/BrowserStackSetup','1602018PNMByI','path','forEach','UdgbV','mstDv','../../helpers/logger','platform','test_settings','Deleting\x20','ldRmE','port','inherit','14396992VpIQJz','nightwatch.json','oTLpV','--config','dhaHS','useW3C','266847XFjOLp','CpQut','XGehL','cwd','length','JgjKA','filter','GSTap','nightwatch.cmd','fhODl','push','Getting\x20your\x20nightwatch\x20configs\x20from\x20','mVjEP','test','unlinkSync','isAWO'];a38_0x5e3c=function(){return _0x27fe97;};return a38_0x5e3c();}module['exports']=run;