browserstack-node-sdk 1.41.0 → 1.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 -0
  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 -0
  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 -0
  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 +1 @@
1
- const a34_0x4ed901=a34_0x1265;function a34_0x1265(_0x217a77,_0x3ad101){const _0x2c1096=a34_0x2c10();return a34_0x1265=function(_0x126598,_0xad5e){_0x126598=_0x126598-0x1aa;let _0x413b97=_0x2c1096[_0x126598];return _0x413b97;},a34_0x1265(_0x217a77,_0x3ad101);}function a34_0x2c10(){const _0x19145d=['getBrowserVersion','11VzZHyv','pid','cEFWU','type','HKxeI','Pemjm','4661AJcTgf','forEach','rCnVX','tests','pMhvt','string','getHookSkippedTests','zPaar','substring','../../../helpers/helper','get','12486252VStmmI','../../../helpers/test-observability/constants','vJszS','105VmverP','suites','browserstack','split','43338148JhMpJy','210SxwBXZ','ysJjC','SyhpC','js-','filter','bs:addPlatformDetails:','_beforeAll','143214bHJYkE','passed','../../../helpers/test-observability/utils','fromEntries','getHooksForTest','FToNu','failed','IZqdz','mapTestHooks','platformVersion','indexOf','852207RVQHIJ','DbLmN','toISOString','AmnSW','VGWVk','uuid','MXXTR','parent','299584KbEQCG','state','WIElh','markedStatus','fILuC','unknown_grid','dByqs','lodash','CbTwL','2570810IAmojB','slice','DyJyl','getPlatform','../../utils/logPatcher','reduce','emit','xtQam','TEST_PLATFORM','_afterEach','fHfXQ','14qdrKQO','getBrowserName','NGKjB','__cloud_provider___','ZWoFK','4pKvsZW','13yHFjaz','push','pending','map_','SHCfE','18XLdXpn','concat','generic','yyBfG','ErJvV','jGwTg','_beforeEach','toJSON','hook:','eUybb','hookAnalyticsId','getHookDetails'];a34_0x2c10=function(){return _0x19145d;};return a34_0x2c10();}(function(_0x4cab34,_0x40aa07){const _0x3fa6d5=a34_0x1265,_0x385968=_0x4cab34();while(!![]){try{const _0x26983f=parseInt(_0x3fa6d5(0x1e1))/0x1*(-parseInt(_0x3fa6d5(0x1c3))/0x2)+parseInt(_0x3fa6d5(0x206))/0x3*(-parseInt(_0x3fa6d5(0x1c8))/0x4)+parseInt(_0x3fa6d5(0x1ef))/0x5*(-parseInt(_0x3fa6d5(0x1fb))/0x6)+-parseInt(_0x3fa6d5(0x1f4))/0x7*(parseInt(_0x3fa6d5(0x1af))/0x8)+-parseInt(_0x3fa6d5(0x1ce))/0x9*(-parseInt(_0x3fa6d5(0x1b8))/0xa)+-parseInt(_0x3fa6d5(0x1db))/0xb*(parseInt(_0x3fa6d5(0x1ec))/0xc)+parseInt(_0x3fa6d5(0x1c9))/0xd*(parseInt(_0x3fa6d5(0x1f3))/0xe);if(_0x26983f===_0x40aa07)break;else _0x385968['push'](_0x385968['shift']());}catch(_0x4cbb42){_0x385968['push'](_0x385968['shift']());}}}(a34_0x2c10,0x9947e));const {v4:uuidv4}=require(a34_0x4ed901(0x1ac)),{name,version}=require('../../../../package.json'),logPatcher=require(a34_0x4ed901(0x1bc)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a34_0x4ed901(0x1ed)),{getPlatformVersion}=require(a34_0x4ed901(0x1ea)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require(a34_0x4ed901(0x1b6)),{patchConsoleLogger}=require(a34_0x4ed901(0x1fd));patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x40227c=a34_0x4ed901,_0x2ef741={'aLQXz':_0x40227c(0x1d0),'MXXTR':function(_0x32df56){return _0x32df56();}};return{'ci':_0x2ef741['aLQXz'],'key':_0x2ef741[_0x40227c(0x1ad)](uuidv4),'version':version,'collector':_0x40227c(0x1f7)+name};},exports[a34_0x4ed901(0x1d9)]=_0x27e5fa=>{const _0x204de1=a34_0x4ed901,_0x12350d={};_0x12350d[_0x204de1(0x1aa)]=function(_0x9af974,_0x56e85a){return _0x9af974!==_0x56e85a;},_0x12350d[_0x204de1(0x1bf)]=_0x204de1(0x1e6),_0x12350d['JzVxt']=_0x204de1(0x1d6),_0x12350d[_0x204de1(0x1e5)]=function(_0x3b91a8,_0xfa23b9){return _0x3b91a8!==_0xfa23b9;},_0x12350d[_0x204de1(0x1df)]='hook';const _0x501d32=_0x12350d;if(!_0x27e5fa||_0x501d32[_0x204de1(0x1aa)](typeof _0x27e5fa,_0x501d32[_0x204de1(0x1bf)]))return[null,null];if(_0x501d32[_0x204de1(0x1aa)](_0x27e5fa['indexOf'](_0x501d32['JzVxt']),-0x1)){const _0x3d2065=_0x27e5fa[_0x204de1(0x1f2)](_0x501d32['JzVxt']);return[_0x3d2065[0x0][_0x204de1(0x1b9)](0x0,-0x1)[_0x204de1(0x1f2)]('\x22')[0x1],_0x3d2065[0x1][_0x204de1(0x1e9)](0x1)];}else{if(_0x501d32[_0x204de1(0x1e5)](_0x27e5fa[_0x204de1(0x205)](_0x501d32[_0x204de1(0x1df)]),-0x1)){const _0x42210c=_0x27e5fa[_0x204de1(0x1f2)](_0x501d32[_0x204de1(0x1df)]);return[_0x42210c[0x0][_0x204de1(0x1b9)](0x0,-0x1)[_0x204de1(0x1f2)]('\x22')[0x1],_0x27e5fa];}}return[null,null];},exports[a34_0x4ed901(0x1ff)]=_0x2edb2=>{const _0x12007f=a34_0x4ed901,_0x29c3ef={'rCnVX':function(_0x2eaa7a,_0x72011){return _0x2eaa7a(_0x72011);},'GieEa':_0x12007f(0x1fa),'SHCfE':'_afterAll','eVlnE':_0x12007f(0x1d4),'eUybb':_0x12007f(0x1c1)};if(!_0x2edb2||!_0x2edb2[_0x12007f(0x1ae)])return[];const _0x1b936b=[];return[_0x29c3ef['GieEa'],_0x29c3ef[_0x12007f(0x1cd)],_0x29c3ef['eVlnE'],_0x29c3ef[_0x12007f(0x1d7)]]['forEach'](_0xd3a889=>{const _0x765930=_0x12007f,_0x20ec47={'dByqs':function(_0x49fe8b,_0x470bfd){const _0x12e572=a34_0x1265;return _0x29c3ef[_0x12e572(0x1e3)](_0x49fe8b,_0x470bfd);}},_0x379e5d=_0x2edb2[_0x765930(0x1ae)][_0xd3a889]||[];_0x379e5d[_0x765930(0x1e2)](_0x4298d6=>{const _0x5e79c2=_0x765930;_0x4298d6[_0x5e79c2(0x1d8)]&&!_0x20ec47[_0x5e79c2(0x1b5)](isInternalHook,_0x4298d6['fn'])&&_0x1b936b[_0x5e79c2(0x1ca)](_0x4298d6[_0x5e79c2(0x1d8)]);});}),[..._0x1b936b,...exports['getHooksForTest'](_0x2edb2[_0x12007f(0x1ae)])];},exports[a34_0x4ed901(0x203)]=_0x284140=>{const _0x2f29a8=a34_0x4ed901,_0x4708ea={'zPaar':function(_0x117836){return _0x117836();},'ErJvV':function(_0x6a3bda,_0x3f54b2){return _0x6a3bda===_0x3f54b2;},'SyhpC':_0x2f29a8(0x1c1),'fILuC':_0x2f29a8(0x1fa),'ysJjC':'_afterAll','NGKjB':_0x2f29a8(0x1d4)};if(!_0x284140||!_0x284140[_0x2f29a8(0x1ae)])return;[_0x4708ea[_0x2f29a8(0x1b3)],_0x4708ea[_0x2f29a8(0x1f5)],_0x4708ea[_0x2f29a8(0x1c5)],_0x4708ea['SyhpC']][_0x2f29a8(0x1e2)](_0x56fa59=>{const _0x5cfa13=_0x2f29a8,_0x36acd6={'CbTwL':function(_0x1c578b){const _0x1f0650=a34_0x1265;return _0x4708ea[_0x1f0650(0x1e8)](_0x1c578b);},'cEFWU':function(_0x298a98,_0x1d250a){const _0x11b7ab=a34_0x1265;return _0x4708ea[_0x11b7ab(0x1d2)](_0x298a98,_0x1d250a);},'DtiOY':_0x4708ea[_0x5cfa13(0x1f6)]},_0x705d57=_0x284140[_0x5cfa13(0x1ae)][_0x56fa59]||[];_0x705d57[_0x5cfa13(0x1e2)](_0x75d82a=>{const _0xde1e44=_0x5cfa13;if(!_0x75d82a[_0xde1e44(0x1d8)])_0x75d82a['hookAnalyticsId']=_0x36acd6[_0xde1e44(0x1b7)](uuidv4);else _0x75d82a[_0xde1e44(0x1b2)]&&_0x36acd6[_0xde1e44(0x1dd)](_0x56fa59,_0x36acd6['DtiOY'])&&(_0x75d82a[_0xde1e44(0x1d8)]=_0x36acd6[_0xde1e44(0x1b7)](uuidv4),delete _0x75d82a[_0xde1e44(0x1b2)]);});}),exports['mapTestHooks'](_0x284140[_0x2f29a8(0x1ae)]);},exports['sendPlatformDetails']=async(_0x813c43,_0x272b6a)=>{const _0x139b69=a34_0x4ed901,_0x14c85c={'IZqdz':function(_0x27fe1){return _0x27fe1();},'ZWoFK':function(_0x816713,_0x5ef6ef){return _0x816713(_0x5ef6ef);},'DbLmN':_0x139b69(0x204),'FToNu':function(_0x375669,_0x2456ef){return _0x375669===_0x2456ef;},'vJszS':_0x139b69(0x1f1),'yyBfG':_0x139b69(0x1b4),'yGzqG':_0x139b69(0x1c0),'fHfXQ':function(_0x617bad,_0x1480c2){return _0x617bad(_0x1480c2);}};try{if(!_0x14c85c[_0x139b69(0x202)](shouldProcessEventForTesthub))return;const _0x14171a=await _0x813c43['getCapabilities'](),_0x2fd010=await _0x813c43['getSession'](),_0x51a174={},_0x5de388=Object[_0x139b69(0x1fe)](_0x2fd010['getCapabilities']()[_0x139b69(0x1cc)]),_0x145538={'product':_0x14c85c['ZWoFK'](getObservabilityLinkedProductName,_0x5de388),'capabilities':_0x5de388,'platform':_0x14171a[_0x139b69(0x1bb)](),'platform_version':_0x14171a[_0x139b69(0x1eb)](_0x14c85c[_0x139b69(0x207)])?_0x14171a[_0x139b69(0x1eb)](_0x14c85c[_0x139b69(0x207)]):_0x14c85c[_0x139b69(0x1c7)](getPlatformVersion,_0x14c85c[_0x139b69(0x200)](global[_0x139b69(0x1c6)],_0x14c85c[_0x139b69(0x1ee)])),'browser':_0x14171a[_0x139b69(0x1c4)](),'browser_version':_0x14171a[_0x139b69(0x1da)](),'session_id':_0x2fd010[_0x139b69(0x1d5)]()};global[_0x139b69(0x1c6)]?_0x51a174[global['__cloud_provider___']]=_0x145538:_0x51a174[_0x14c85c[_0x139b69(0x1d1)]]=_0x145538,process[_0x139b69(0x1be)](_0x139b69(0x1f9)+process[_0x139b69(0x1dc)],{'timestamp':new Date()[_0x139b69(0x208)](),'level':null,'message':null,'kind':_0x14c85c['yGzqG'],'http_response':_0x51a174,'uuid':_0x272b6a});}catch(_0x2f86c3){_0x14c85c[_0x139b69(0x1c2)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x2f86c3);}},exports['getHookSkippedTests']=_0x50db98=>{const _0x16b70e=a34_0x4ed901,_0xf3353e={};_0xf3353e[_0x16b70e(0x1b1)]=function(_0x3c2923,_0x2b6dad){return _0x3c2923!==_0x2b6dad;},_0xf3353e[_0x16b70e(0x1ba)]='hook',_0xf3353e[_0x16b70e(0x1e0)]=_0x16b70e(0x1fc),_0xf3353e[_0x16b70e(0x1d3)]=function(_0x3fd6fe,_0x211e6d){return _0x3fd6fe!==_0x211e6d;},_0xf3353e[_0x16b70e(0x1ab)]=_0x16b70e(0x201);const _0x34fdaa=_0xf3353e,_0x32940e=_0x50db98[_0x16b70e(0x1f0)][_0x16b70e(0x1bd)]((_0x1cb4f8,_0x5dc098)=>{const _0x562a43=_0x16b70e,_0xac2aa8=exports[_0x562a43(0x1e7)](_0x5dc098);return _0xac2aa8&&(_0x1cb4f8=_0x1cb4f8[_0x562a43(0x1cf)](_0xac2aa8)),_0x1cb4f8;},[]),_0x3e926c=_0x50db98[_0x16b70e(0x1e4)][_0x16b70e(0x1f8)](_0x4e6fb3=>{const _0x42e083=_0x16b70e,_0x2e9ff8=_0x34fdaa['WIElh'](_0x4e6fb3[_0x42e083(0x1de)],_0x34fdaa[_0x42e083(0x1ba)])&&!_0x4e6fb3[_0x42e083(0x1b2)]&&_0x34fdaa[_0x42e083(0x1b1)](_0x4e6fb3[_0x42e083(0x1b0)],_0x34fdaa[_0x42e083(0x1e0)])&&_0x34fdaa[_0x42e083(0x1d3)](_0x4e6fb3[_0x42e083(0x1b0)],_0x34fdaa[_0x42e083(0x1ab)])&&!_0x4e6fb3[_0x42e083(0x1cb)];return _0x2e9ff8;});return _0x3e926c['concat'](_0x32940e);};
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 +1 @@
1
- const a35_0x3cfb1f=a35_0x5efe;(function(_0x319726,_0x384333){const _0x1431d6=a35_0x5efe,_0x4bb519=_0x319726();while(!![]){try{const _0x26987e=parseInt(_0x1431d6(0x1a1))/0x1*(parseInt(_0x1431d6(0x1c7))/0x2)+parseInt(_0x1431d6(0x1bf))/0x3+-parseInt(_0x1431d6(0x1ea))/0x4+parseInt(_0x1431d6(0x180))/0x5+parseInt(_0x1431d6(0x1a0))/0x6*(parseInt(_0x1431d6(0x1f0))/0x7)+-parseInt(_0x1431d6(0x1eb))/0x8*(-parseInt(_0x1431d6(0x1e5))/0x9)+-parseInt(_0x1431d6(0x1d0))/0xa*(parseInt(_0x1431d6(0x190))/0xb);if(_0x26987e===_0x384333)break;else _0x4bb519['push'](_0x4bb519['shift']());}catch(_0x49968c){_0x4bb519['push'](_0x4bb519['shift']());}}}(a35_0x2cc7,0x9dce5));const util=require(a35_0x3cfb1f(0x1a8)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a35_0x3cfb1f(0x18d)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a35_0x3cfb1f(0x1d6)),{percyAutoCapture}=require(a35_0x3cfb1f(0x185)),{sendPlatformDetails}=require(a35_0x3cfb1f(0x202)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a35_0x3cfb1f(0x1e3)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a35_0x3cfb1f(0x1a3)),scripts=require(a35_0x3cfb1f(0x1fc)),globals=require(a35_0x3cfb1f(0x1bd)),logger=require(a35_0x3cfb1f(0x1af))[a35_0x3cfb1f(0x17d)],{shouldProcessEventForTesthub}=require(a35_0x3cfb1f(0x1db)),testHubConstants=require(a35_0x3cfb1f(0x1d9));exports[a35_0x3cfb1f(0x192)]={'beforeAll'(){const _0x32fa6d=a35_0x3cfb1f,_0x4d1af1={'EQxxF':function(_0x733188,_0x123e73,_0x5ea141,_0x27057a){return _0x733188(_0x123e73,_0x5ea141,_0x27057a);},'tGVAP':_0x32fa6d(0x1b9),'DSKOF':_0x32fa6d(0x1c2),'KjFFk':function(_0x4c2fa1,_0x4f3cc4,_0xfebcf7){return _0x4c2fa1(_0x4f3cc4,_0xfebcf7);},'PhOhj':_0x32fa6d(0x1bb),'vfmlX':function(_0x1efac1){return _0x1efac1();},'alNSF':function(_0x401aa1,_0xa8e534,_0x2b6c3d){return _0x401aa1(_0xa8e534,_0x2b6c3d);},'mnCBy':function(_0x26a689,_0xc354c8,_0x214381){return _0x26a689(_0xc354c8,_0x214381);},'NpNuq':_0x32fa6d(0x1a6),'VYMSn':_0x32fa6d(0x1b5)};PerformanceTester['startMonitoring']();const _0x4a2a35='browserstack internal helper hook';PerformanceTester[_0x32fa6d(0x1ca)](PerformanceSdkEvents[_0x32fa6d(0x18a)],()=>{const _0x21de22=_0x32fa6d;global['__error_messages__']=[],global[_0x21de22(0x1dc)]=![],global[_0x21de22(0x1fb)]=async()=>{const _0x556da9=_0x21de22;let _0xa6af05=![];try{await global[_0x556da9(0x1ba)][0x0][_0x556da9(0x183)],_0xa6af05=!![],global[_0x556da9(0x1dc)]?await _0x4d1af1[_0x556da9(0x16b)](markSessionStatus,global[_0x556da9(0x1ba)][0x0],_0x4d1af1[_0x556da9(0x16d)],global[_0x556da9(0x171)][_0x556da9(0x1d8)](_0x4d1af1['DSKOF'])):await _0x4d1af1[_0x556da9(0x199)](markSessionStatus,global[_0x556da9(0x1ba)][0x0],_0x4d1af1[_0x556da9(0x1df)]);}catch(_0x5ec796){logger[_0x556da9(0x174)](_0x556da9(0x1d4)+_0x5ec796);}global['__error_messages__']=[],global[_0x556da9(0x1dc)]=![];if(_0xa6af05)try{try{_0x4d1af1['vfmlX'](shouldProcessEventForTesthub)&&(global[_0x556da9(0x1ba)][0x0]&&await _0x4d1af1['alNSF'](sendPlatformDetails,global[_0x556da9(0x1ba)][0x0],this['currentTest']?this['currentTest'][_0x556da9(0x1ae)]:null));}catch(_0x31f35f){logger[_0x556da9(0x174)](_0x556da9(0x18f)+_0x31f35f);}await global['__drivers'][0x0]['initQuit']();}catch(_0x4da18b){logger['debug'](_0x556da9(0x184)+_0x4da18b);}};},{'platform':_0x4d1af1[_0x32fa6d(0x1a4)](nestedKeyValue,global['__platformCaps'],[_0x4d1af1['NpNuq']]),'hookType':_0x4d1af1['VYMSn']})();},'beforeEach'(_0x1b8b8a){const _0xa1eef1=a35_0x3cfb1f,_0xd9958b={'ZqJOm':function(_0x526906,_0x4e1211){return _0x526906>_0x4e1211;},'rOJIi':function(_0x2d34b8,_0x508439){return _0x2d34b8>_0x508439;},'fABEk':_0xa1eef1(0x1fe),'stFxv':function(_0x4f3c8b,_0x54abf2,_0x52b954){return _0x4f3c8b(_0x54abf2,_0x52b954);},'tutpg':_0xa1eef1(0x193),'JNCsO':function(_0x24524e){return _0x24524e();},'eqcMX':function(_0x4df70a,_0x4c65aa){return _0x4df70a>_0x4c65aa;},'ucYjW':'isAccessibilityPlatform','nflsz':function(_0x218283,_0x143ed4){return _0x218283===_0x143ed4;},'zDzBo':_0xa1eef1(0x175),'roePX':_0xa1eef1(0x1d7),'PtXHA':_0xa1eef1(0x200),'uYolF':_0xa1eef1(0x1a7),'tTRgQ':function(_0x4be7a9){return _0x4be7a9();},'HYWgB':_0xa1eef1(0x169),'gNDAM':_0xa1eef1(0x1a6),'FimyM':_0xa1eef1(0x19f)};globals[_0xa1eef1(0x186)](_0xd9958b[_0xa1eef1(0x1a9)],this[_0xa1eef1(0x1b8)][_0xa1eef1(0x1d5)]()[_0xa1eef1(0x1d8)](_0xd9958b[_0xa1eef1(0x1e4)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x461095=_0xa1eef1,_0x515629={'rKjWp':function(_0x189aff){const _0x4e69b7=a35_0x5efe;return _0xd9958b[_0x4e69b7(0x1e9)](_0x189aff);}},_0x1b08f8='browserstack internal helper hook';new Promise(async _0x281f17=>{const _0x51c469=a35_0x5efe;let _0x36afcf=!![];try{_0xd9958b[_0x51c469(0x19b)](global['__drivers'][_0x51c469(0x1ef)],0x1)&&(await global[_0x51c469(0x1fb)](),global[_0x51c469(0x1ba)]['shift']()),_0xd9958b[_0x51c469(0x1ed)](global[_0x51c469(0x1ba)][0x0][_0x51c469(0x172)],0x0)&&(_0x36afcf=![],await global[_0x51c469(0x1fb)]());}catch(_0x1241e9){logger[_0x51c469(0x174)](_0x51c469(0x184)+_0x1241e9);}try{Array['isArray'](global[_0x51c469(0x1ba)])&&global[_0x51c469(0x1ba)][0x0]&&(global[_0x51c469(0x1ba)][0x0]['browserstackSessionName']=this['currentTest'][_0x51c469(0x1d5)]()['join'](_0xd9958b[_0x51c469(0x1e4)])),global[_0x51c469(0x176)]=this[_0x51c469(0x1b8)][_0x51c469(0x1d5)]()[_0x51c469(0x1d8)](_0xd9958b['fABEk']);}catch(_0x5c984e){logger[_0x51c469(0x174)](_0x51c469(0x19a)+_0x5c984e);}this['currentTest'][_0x51c469(0x19d)]=_0xd9958b[_0x51c469(0x1c8)](shouldScanTestForAccessibility,this[_0x51c469(0x1b8)][_0x51c469(0x1d5)](),!![]),globals['setGlobal'](_0xd9958b['tutpg'],this[_0x51c469(0x1b8)][_0x51c469(0x19d)]),this['currentTest'][_0x51c469(0x163)]=!![];if(_0xd9958b[_0x51c469(0x188)](isAccessibilityAutomationSession)&&_0x36afcf&&Array['isArray'](global[_0x51c469(0x1ba)])&&_0xd9958b[_0x51c469(0x1e2)](global[_0x51c469(0x1ba)]['length'],0x0)&&globals[_0x51c469(0x167)](_0xd9958b[_0x51c469(0x203)]))try{const _0x1c986b=await global[_0x51c469(0x1ba)][0x0]['session_'];if(_0x1c986b){let _0x2853cc=!![];const _0x55a435=await global['__drivers'][0x0][_0x51c469(0x1c9)]();let _0x1f7321;try{_0x1f7321=new URL(_0x55a435);}catch(_0x3c9afd){_0x2853cc=![];}_0x2853cc=_0xd9958b[_0x51c469(0x1f9)](_0x1f7321['protocol'],_0xd9958b['zDzBo'])||_0xd9958b['nflsz'](_0x1f7321[_0x51c469(0x19c)],_0xd9958b[_0x51c469(0x1cc)]),_0x2853cc&&(this[_0x51c469(0x1b8)]['shouldScanTestForAccessibility']&&logger[_0x51c469(0x178)](_0xd9958b[_0x51c469(0x162)])),this[_0x51c469(0x1b8)]['accessibilityScanStarted']=this[_0x51c469(0x1b8)][_0x51c469(0x19d)],this[_0x51c469(0x1b8)][_0x51c469(0x19d)]&&logger['info'](_0xd9958b['uYolF']);}}catch(_0x2d6596){logger[_0x51c469(0x1c0)](_0x51c469(0x177)+util[_0x51c469(0x1f6)](_0x2d6596));}_0xd9958b[_0x51c469(0x188)](_0x281f17);})[_0x461095(0x1ac)](()=>{const _0x45906e=_0x461095;_0x515629[_0x45906e(0x1c5)](_0x1b8b8a);});},{'platform':_0xd9958b[_0xa1eef1(0x1c8)](nestedKeyValue,global[_0xa1eef1(0x208)],[_0xd9958b[_0xa1eef1(0x182)]]),'hookType':_0xd9958b['FimyM']})();},'afterEach'(_0x214e66){const _0x3b9a75=a35_0x3cfb1f,_0xcc5651={'PaBSZ':function(_0x1fd4ae,_0x33c6b5){return _0x1fd4ae>_0x33c6b5;},'oqqRZ':function(_0x3903b9,_0x17ef9b){return _0x3903b9===_0x17ef9b;},'QRgHH':_0x3b9a75(0x1be),'dcJRr':_0x3b9a75(0x181),'FvACA':function(_0x9ec4b2,_0x4ae5c2,_0x59e7c0,_0x1b1ac3){return _0x9ec4b2(_0x4ae5c2,_0x59e7c0,_0x1b1ac3);},'acSxx':_0x3b9a75(0x1ff),'sqMeN':_0x3b9a75(0x193),'VCzeC':_0x3b9a75(0x19e),'ukpvK':_0x3b9a75(0x1ec),'lqRSS':_0x3b9a75(0x1b1),'kAtyF':_0x3b9a75(0x17f),'oLWcr':function(_0x1dd68f){return _0x1dd68f();},'pYewT':function(_0x1d11e5,_0x2ec430,_0x3ee223){return _0x1d11e5(_0x2ec430,_0x3ee223);},'RBIKq':function(_0x312f55){return _0x312f55();},'CwtJh':_0x3b9a75(0x174),'UhoqT':function(_0xa99bac){return _0xa99bac();},'JEUed':function(_0x565f24){return _0x565f24();},'LkjcS':'\x20-\x20','WuxSS':function(_0x285931,_0x4961ee){return _0x285931!==_0x4961ee;},'ySGJH':_0x3b9a75(0x1bb),'cKeav':function(_0xc142ee,_0x4fbe8e){return _0xc142ee+_0x4fbe8e;},'gLRXV':_0x3b9a75(0x16c),'VszwC':'error','leRTz':_0x3b9a75(0x1c3),'wWMOA':_0x3b9a75(0x178),'hVROn':_0x3b9a75(0x1da),'yOzEE':'index','kmnbe':_0x3b9a75(0x17c)},_0x44223c='browserstack internal helper hook';this[_0x3b9a75(0x17b)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0xcc5651[_0x3b9a75(0x1d2)]]),global['sessionName']=this[_0x3b9a75(0x1b8)]['titlePath']()[_0x3b9a75(0x1d8)](_0xcc5651[_0x3b9a75(0x18e)]),PerformanceTester[_0x3b9a75(0x1ca)](PerformanceSdkEvents[_0x3b9a75(0x18a)],()=>{const _0x24dd15=_0x3b9a75,_0x3878e4={'joBnB':_0xcc5651[_0x24dd15(0x18e)],'UGNyS':function(_0x512291,_0x2296e8){return _0xcc5651['WuxSS'](_0x512291,_0x2296e8);},'PObQV':_0xcc5651[_0x24dd15(0x1f1)],'VTwzX':function(_0x403931,_0x298694,_0x2c7d04){const _0x4db126=_0x24dd15;return _0xcc5651[_0x4db126(0x1de)](_0x403931,_0x298694,_0x2c7d04);},'ygFqB':function(_0x36a2cd,_0x4fb000){const _0x3e52c2=_0x24dd15;return _0xcc5651[_0x3e52c2(0x1fd)](_0x36a2cd,_0x4fb000);},'mFitb':_0xcc5651[_0x24dd15(0x206)],'nHZHX':_0xcc5651[_0x24dd15(0x207)],'Hxczi':_0xcc5651[_0x24dd15(0x1e0)],'aQsBX':_0xcc5651[_0x24dd15(0x1f8)]},_0x137677=async(_0x4c8ffd,_0x4053ea)=>{const _0x1cba6b=_0x24dd15;await global[_0x1cba6b(0x1ba)][0x0][_0x1cba6b(0x1e7)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x4c8ffd+_0x1cba6b(0x18c)+_0x4053ea+'\x22}}');};new Promise(async _0x4e9e67=>{const _0x581963=_0x24dd15;try{_0xcc5651[_0x581963(0x1fa)](global['__drivers']['length'],0x1)&&(await global[_0x581963(0x1fb)](),global['__drivers'][_0x581963(0x179)](),global[_0x581963(0x171)]=[],global[_0x581963(0x1dc)]=![]);try{if(global['percy']&&_0xcc5651['oqqRZ'](global['percyCaptureMode'],_0xcc5651[_0x581963(0x1f4)])&&global[_0x581963(0x1ba)][0x0]){const _0x561c81=_0xcc5651['PaBSZ'](global[_0x581963(0x1f5)]['length'],0x0)?!!global[_0x581963(0x1f5)][0x0][_0x581963(0x1bc)]||!!global[_0x581963(0x1f5)][0x0][_0xcc5651[_0x581963(0x1f2)]]:![],_0x2e6a7e={};_0x2e6a7e[_0x581963(0x1bc)]=_0x561c81,await _0xcc5651[_0x581963(0x164)](percyAutoCapture,global[_0x581963(0x1ba)][0x0],_0xcc5651['QRgHH'],_0x2e6a7e);}}catch(_0x34f51e){logger['debug'](_0x581963(0x1f3)+_0x34f51e);}!global[_0x581963(0x1e6)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x581963(0x1d1)],async()=>{const _0x3f1ee0=_0x581963;await global[_0x3f1ee0(0x1ba)][0x0][_0x3f1ee0(0x1e7)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x3f1ee0(0x198)](this[_0x3f1ee0(0x1b8)][_0x3f1ee0(0x1d5)]()[_0x3f1ee0(0x1d8)](_0x3878e4[_0x3f1ee0(0x170)]))+'}}');})(),global[_0x581963(0x1ba)][0x0][_0x581963(0x16f)]=!![]),await PerformanceTester[_0x581963(0x1ca)](PerformanceAutEvents[_0x581963(0x168)],async()=>{const _0xa5c395=_0x581963,_0x41af80=_0x3878e4[_0xa5c395(0x1b7)](this['currentTest'][_0xa5c395(0x1e8)],_0x3878e4[_0xa5c395(0x173)]);_0x41af80?(global[_0xa5c395(0x1dc)]=!![],global[_0xa5c395(0x171)][_0xa5c395(0x17a)](this[_0xa5c395(0x1b8)]['err']['message']),await _0x3878e4[_0xa5c395(0x189)](_0x137677,JSON[_0xa5c395(0x198)](_0x3878e4['ygFqB'](_0x3878e4[_0xa5c395(0x1ce)],this[_0xa5c395(0x1b8)][_0xa5c395(0x1cb)]['message'])),_0x3878e4[_0xa5c395(0x1ad)])):await _0x3878e4[_0xa5c395(0x189)](_0x137677,JSON['stringify'](_0x3878e4[_0xa5c395(0x165)]),_0x3878e4['aQsBX']);})();}catch(_0x55f158){logger[_0x581963(0x174)](_0x581963(0x1c4)+_0x55f158);}try{if(this[_0x581963(0x1b8)][_0x581963(0x163)]&&globals[_0x581963(0x167)](_0xcc5651[_0x581963(0x1b3)])&&globals[_0x581963(0x167)](_0xcc5651[_0x581963(0x1b0)])){logger[_0x581963(0x178)](_0xcc5651[_0x581963(0x201)]);const _0x5a2ce8={};_0x5a2ce8[_0x581963(0x1e1)]=this[_0x581963(0x1b8)]['testAnalyticsId'],_0x5a2ce8[_0x581963(0x196)]=process['env'][testHubConstants[_0x581963(0x197)][_0x581963(0x1f7)]],_0x5a2ce8[_0x581963(0x191)]=process[_0x581963(0x204)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x4bfa0e=_0x5a2ce8;logger['debug'](_0x581963(0x1ab)+JSON[_0x581963(0x198)](_0x4bfa0e)),logger[_0x581963(0x174)](_0xcc5651['ukpvK']);const _0x4b8f0e={};_0x4b8f0e[_0x581963(0x195)]=_0xcc5651[_0x581963(0x1d3)],await PerformanceTester[_0x581963(0x1ca)](PerformanceA11yEvents[_0x581963(0x1a5)],async()=>{const _0xa48b86=_0x581963;logger[_0xa48b86(0x174)](util[_0xa48b86(0x1f6)](await global[_0xa48b86(0x1ba)][0x0]['executeAsyncScript'](scripts[_0xa48b86(0x1a2)],{'method':global['browserstackSessionName']})));},_0x4b8f0e)(),await PerformanceTester[_0x581963(0x1ca)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x92e8a1=_0x581963;await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x92e8a1(0x1cd)],_0x4bfa0e);})(),logger[_0x581963(0x178)](_0xcc5651[_0x581963(0x1cf)]);}}catch(_0x15d24f){logger[_0x581963(0x1c0)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x581963(0x1b8)][_0x581963(0x1d5)]()+_0x581963(0x205),_0x15d24f);}try{try{if(_0xcc5651[_0x581963(0x1dd)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0xcc5651['pYewT'](sendPlatformDetails,global[_0x581963(0x1ba)][0x0],this[_0x581963(0x1b8)]?this[_0x581963(0x1b8)]['testAnalyticsId']:null);if(_0xcc5651['RBIKq'](isBrowserstackInfra)){PerformanceTester[_0x581963(0x1c1)](PerformanceO11yEvents[_0x581963(0x1aa)]);const _0x7f16a=_0x581963(0x1b2)+Date['now']();await _0xcc5651[_0x581963(0x1de)](_0x137677,JSON[_0x581963(0x198)](_0x7f16a),_0xcc5651[_0x581963(0x1c6)]),PerformanceTester[_0x581963(0x194)](PerformanceO11yEvents[_0x581963(0x1aa)]);}}}catch(_0x4d9af8){logger[_0x581963(0x174)](_0x581963(0x187)+_0x4d9af8),PerformanceTester[_0x581963(0x194)](PerformanceO11yEvents['SYNC'],![],_0x4d9af8);}_0xcc5651[_0x581963(0x1fa)](global['__drivers'][0x0][_0x581963(0x172)],0x0)&&await global[_0x581963(0x1fb)]();}catch(_0x44fc20){logger[_0x581963(0x174)](_0x581963(0x184)+_0x44fc20);}_0xcc5651['UhoqT'](_0x4e9e67);})[_0x24dd15(0x1ac)](()=>{const _0x587d2e=_0x24dd15;_0xcc5651[_0x587d2e(0x16e)](_0x214e66);});},{'platform':_0xcc5651[_0x3b9a75(0x1de)](nestedKeyValue,global[_0x3b9a75(0x208)],[_0xcc5651['yOzEE']]),'hookType':_0xcc5651[_0x3b9a75(0x17e)]})();},'afterAll'(_0x4fa039){const _0x2a7535=a35_0x3cfb1f,_0x5db894={'LJHFl':function(_0x1f1e82){return _0x1f1e82();},'EehEA':function(_0x286d72){return _0x286d72();},'gXMRK':_0x2a7535(0x1da),'UTRKl':function(_0x2c8820,_0x41c055,_0x595350){return _0x2c8820(_0x41c055,_0x595350);},'jdjXT':_0x2a7535(0x1a6),'WZEgY':'afterAll'},_0x208d43='browserstack internal helper hook';this[_0x2a7535(0x17b)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x5db894['gXMRK']]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x2a7535(0x18a)],()=>{const _0x412a59=_0x2a7535,_0x275a79={'dxqWD':function(_0x4b4233){const _0x5771fc=a35_0x5efe;return _0x5db894[_0x5771fc(0x18b)](_0x4b4233);}};new Promise(async _0x446293=>{const _0x4e7d6a=a35_0x5efe;await global[_0x4e7d6a(0x1fb)](),_0x275a79[_0x4e7d6a(0x166)](_0x446293);})['then']()[_0x412a59(0x1b6)](()=>{const _0x27e4e1=_0x412a59;_0x5db894[_0x27e4e1(0x16a)](_0x4fa039);});},{'platform':_0x5db894[_0x2a7535(0x1ee)](nestedKeyValue,global[_0x2a7535(0x208)],[_0x5db894['jdjXT']]),'hookType':_0x5db894[_0x2a7535(0x1b4)]})();}};function a35_0x5efe(_0x1affeb,_0x54b475){const _0x2cc716=a35_0x2cc7();return a35_0x5efe=function(_0x5efe64,_0x43b330){_0x5efe64=_0x5efe64-0x162;let _0x208d27=_0x2cc716[_0x5efe64];return _0x208d27;},a35_0x5efe(_0x1affeb,_0x54b475);}function a35_0x2cc7(){const _0x29a6c1=['SDK_HOOK','EehEA',',\x22level\x22:\x20\x22','../../helpers/accessibility-automation/helper','LkjcS','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','434709WKBgQi','thJwtToken','mochaHooks','bstackA11yShouldScan','end','command','thBuildUuid','ENV_VAR','stringify','KjFFk','Failed\x20to\x20store\x20session\x20name:\x20','ZqJOm','protocol','shouldScanTestForAccessibility','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','beforeEach','10554RrmCmf','24896nQATdo','performScan','../../helpers/performance/constants','mnCBy','PERFORM_SCAN','index','Automate\x20test\x20case\x20execution\x20has\x20started.','util','HYWgB','SYNC','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','then','nHZHX','testAnalyticsId','../../helpers/logger','sqMeN','afterTest','ObservabilitySync:','acSxx','WZEgY','beforeAll','finally','UGNyS','currentTest','failed','__drivers','passed','app','../../helpers/globals','testcase','1464984yoyfug','error','start','\x20|\x20','Passed','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','rKjWp','CwtJh','24HzjuWZ','stFxv','getCurrentUrl','measureWrapper','err','roePX','saveTestResults','mFitb','kAtyF','590HnjHuc','SESSION_NAME','hVROn','lqRSS','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','titlePath','../utils/constants','https:','join','../../helpers/testhub/constants','Mocha','../../helpers/testhub/utils','__sessionFailed','oLWcr','pYewT','PhOhj','leRTz','thTestRunUuid','eqcMX','../../helpers/helper','fABEk','7061589MeDzNP','__skipSessionName','executeScript','state','tTRgQ','262872adqnaL','8FEIIrK','Performing\x20scan\x20before\x20saving\x20results','rOJIi','UTRKl','length','763VGjMvv','ySGJH','dcJRr','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','QRgHH','capabilities','format','BROWSERSTACK_TESTHUB_UUID','wWMOA','nflsz','PaBSZ','driverCleanup','../../helpers/accessibility-automation/scripts','cKeav','\x20-\x20','isAccessibilityPlatform','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','VCzeC','./test-observability/mochaUtils','ucYjW','env','.\x20Error\x20:','gLRXV','VszwC','__platformCaps','PtXHA','accessibilityScanStarted','FvACA','Hxczi','dxqWD','getGlobal','SESSION_STATUS','browserstackTestName','LJHFl','EQxxF','Failed:\x20','tGVAP','JEUed','sessionNameSet__','joBnB','__error_messages__','quitCount_','PObQV','debug','http:','browserstackSessionName','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','info','shift','push','timeout','afterEach','winstonLogger','kmnbe','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','6401400kfjboA','appium:app','gNDAM','session_','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','../../helpers/percy/utils','setGlobal','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','JNCsO','VTwzX'];a35_0x2cc7=function(){return _0x29a6c1;};return a35_0x2cc7();}
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,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a36_0x234e(_0x288f6e,_0x3f6bcb){const _0xadf035=a36_0xadf0();return a36_0x234e=function(_0x234eb8,_0x78a145){_0x234eb8=_0x234eb8-0xd9;let _0x52a091=_0xadf035[_0x234eb8];return _0x52a091;},a36_0x234e(_0x288f6e,_0x3f6bcb);}const a36_0x1115f0=a36_0x234e;(function(_0x33674e,_0x134297){const _0x2f313e=a36_0x234e,_0x13360c=_0x33674e();while(!![]){try{const _0x228725=parseInt(_0x2f313e(0xfa))/0x1*(parseInt(_0x2f313e(0xe9))/0x2)+-parseInt(_0x2f313e(0x10b))/0x3*(parseInt(_0x2f313e(0x102))/0x4)+parseInt(_0x2f313e(0x121))/0x5+-parseInt(_0x2f313e(0x104))/0x6+parseInt(_0x2f313e(0x109))/0x7+parseInt(_0x2f313e(0x11c))/0x8+parseInt(_0x2f313e(0xe3))/0x9;if(_0x228725===_0x134297)break;else _0x13360c['push'](_0x13360c['shift']());}catch(_0x2483ac){_0x13360c['push'](_0x13360c['shift']());}}}(a36_0xadf0,0x312f4));const fs=require('fs'),path=require(a36_0x1115f0(0xff)),{spawn}=require(a36_0x1115f0(0x103)),logger=require(a36_0x1115f0(0xf4))[a36_0x1115f0(0x110)],{default:BrowserStackSetup}=require(a36_0x1115f0(0xf7)),helper=require(a36_0x1115f0(0x11a)),constants=require(a36_0x1115f0(0xde)),getUserNightwatchConfigs=(_0x177801,_0x10b477)=>{const _0x3723d6=a36_0x1115f0,_0x148c9f={'tEnFn':_0x3723d6(0xe2),'RXvFq':_0x3723d6(0x114),'RetwX':function(_0x5b6615,_0x5046b1){return _0x5b6615(_0x5046b1);},'ZZuNl':_0x3723d6(0x100)};let _0x351452=null,_0x3f4bec={};const _0x2ea099=_0x10b477[_0x3723d6(0xe0)](_0x2d73d1=>_0x2d73d1===_0x3723d6(0x11d));if(!helper[_0x3723d6(0xed)](_0x177801['config'])&&fs[_0x3723d6(0xf0)](path[_0x3723d6(0x10e)](process[_0x3723d6(0xef)](),_0x177801[_0x3723d6(0x11b)])))_0x351452=path[_0x3723d6(0x10e)](process['cwd'](),_0x177801['config']),_0x10b477[_0x3723d6(0xee)](_0x2ea099,0x2);else{if(fs['existsSync'](path[_0x3723d6(0x10e)](process[_0x3723d6(0xef)](),_0x148c9f[_0x3723d6(0x116)])))_0x351452=path[_0x3723d6(0x10e)](process[_0x3723d6(0xef)](),_0x148c9f[_0x3723d6(0x116)]);else fs['existsSync'](path[_0x3723d6(0x10e)](process[_0x3723d6(0xef)](),_0x148c9f[_0x3723d6(0xe4)]))&&(_0x351452=path['join'](process[_0x3723d6(0xef)](),_0x148c9f['RXvFq']));}return _0x351452?(logger['info']('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x351452),_0x3f4bec=_0x148c9f['RetwX'](require,_0x351452)):logger[_0x3723d6(0xf2)](_0x148c9f[_0x3723d6(0xfb)]),_0x3f4bec;},removeExistingEnvs=_0x31b95b=>{const _0x45ef8b=a36_0x1115f0,_0x2b6be5={};_0x2b6be5[_0x45ef8b(0x111)]=function(_0x242200,_0x163ca8){return _0x242200>_0x163ca8;};const _0x1623c4=_0x2b6be5;let _0x5ae757=_0x31b95b[_0x45ef8b(0xe0)](_0x4dd357=>_0x4dd357===_0x45ef8b(0xe8));_0x1623c4[_0x45ef8b(0x111)](_0x5ae757,-0x1)&&_0x31b95b[_0x45ef8b(0xee)](_0x5ae757,0x2),_0x5ae757=_0x31b95b[_0x45ef8b(0xe0)](_0x577b47=>_0x577b47==='-e'),_0x1623c4['RNunG'](_0x5ae757,-0x1)&&_0x31b95b['splice'](_0x5ae757,0x2);};function a36_0xadf0(){const _0x506684=['36082VaZNzK','platform','test_settings','split','isUndefined','splice','cwd','existsSync','useW3C','info','trim','../../helpers/logger','now','platforms','../../helpers/BrowserStackSetup','nightwatch','SmwSZ','17Skdyug','ZZuNl','OeJxY','dThgs','getPlatformName','path','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','selenium','76pFbnkh','child_process','1735920pTpOGk','modifyBrowserStackW3CCaps','DtYPV','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','nightwatch.cmd','2138374WWJbmU','tRdoI','58086QmvVOa','length','lAJkl','join','gQFSz','winstonLogger','RNunG','close','webdriver','nightwatch.json','FdMrI','tEnFn','ydalc','forEach','env','../../helpers/helper','config','387648WXTywW','--config','push','unlinkSync','mergeDeep','273310qsGmYZ','OWLRL','start_process','desiredCapabilities','map','host','../utils/constants','oiARf','findIndex','QWIEh','nightwatch.conf.js','1290249kLWGDD','RXvFq','test','writeFileSync','ATfQx','--env'];a36_0xadf0=function(){return _0x506684;};return a36_0xadf0();}function run(_0x27563e,_0x46157a,_0x2a5816){const _0x23fb11=a36_0x1115f0,_0x5407e8={'tRdoI':_0x23fb11(0xf8),'dThgs':function(_0x515283,_0x11ec11){return _0x515283+_0x11ec11;},'zrwJH':'test_settings','ydalc':function(_0x1d8586,_0x471263,_0x246c06){return _0x1d8586(_0x471263,_0x246c06);},'vRSgR':'hub.browserstack.com','SmwSZ':_0x23fb11(0x107),'DtYPV':function(_0x26faad,_0x41ec1c){return _0x26faad===_0x41ec1c;},'gQFSz':'nightwatch-browserstack.json','Yovip':function(_0xb43338,_0x279f65){return _0xb43338(_0x279f65);},'ATfQx':function(_0x284c79,_0xd56498,_0x48f78f,_0x168cad){return _0x284c79(_0xd56498,_0x48f78f,_0x168cad);},'OWLRL':_0x23fb11(0x108),'lAJkl':_0x23fb11(0x11d),'FdMrI':_0x23fb11(0xe8),'OeJxY':'inherit','QWIEh':_0x23fb11(0x112)};if(!_0x2a5816[_0x23fb11(0x11b)])return;const _0x29f094=_0x5407e8[_0x23fb11(0x117)](getUserNightwatchConfigs,_0x27563e,_0x46157a),_0x3e5e74={};_0x3e5e74[_0x23fb11(0xda)]=![];const _0x3af29f={};_0x3af29f[_0x23fb11(0xdd)]=_0x5407e8['vRSgR'],_0x3af29f['port']=0x1bb;const _0x4dc46e={};_0x4dc46e[_0x23fb11(0x113)]=_0x3e5e74,_0x4dc46e[_0x23fb11(0x101)]=_0x3af29f;const _0x88328f=_0x4dc46e;logger[_0x23fb11(0xf2)](_0x5407e8[_0x23fb11(0xf9)]);const _0x1c1e94={..._0x29f094},_0x269ed5=_0x1c1e94,_0x359b2b=helper[_0x23fb11(0xf1)](_0x2a5816[_0x23fb11(0x11b)]),_0x3ba1b3=[];_0x2a5816[_0x23fb11(0x11b)][_0x23fb11(0xf6)][_0x23fb11(0x118)]((_0x493a02,_0xd96db9)=>{const _0xc899d6=_0x23fb11;_0x359b2b?_0x3ba1b3[_0xc899d6(0x11e)](helper[_0xc899d6(0x105)](_0x2a5816[_0xc899d6(0x11b)],_0x5407e8[_0xc899d6(0x10a)],_0xd96db9)):_0x3ba1b3[_0xc899d6(0x11e)](helper['modifyBrowserStackCaps'](_0x2a5816['config'],_0x5407e8[_0xc899d6(0x10a)],_0xd96db9));});const _0x24e7b8={},_0x1a1d63=[];_0x27563e[_0x23fb11(0x119)]=_0x27563e['env']||_0x27563e['e'];const _0x3a7dfd=_0x27563e[_0x23fb11(0x119)]?_0x27563e[_0x23fb11(0x119)]['trim']()[_0x23fb11(0xec)](',')[_0x23fb11(0xdc)](_0x278f72=>_0x278f72[_0x23fb11(0xf3)]())['filter'](_0x27e908=>_0x27e908!==''):[''];_0x5407e8[_0x23fb11(0x106)](_0x3a7dfd[_0x23fb11(0x10c)],0x0)&&_0x3a7dfd[_0x23fb11(0x11e)]('');_0x3a7dfd['forEach'](_0x1e1746=>{const _0x3d2e20={'tnXol':function(_0x2f85c0,_0x1c9e46){const _0x22d5e7=a36_0x234e;return _0x5407e8[_0x22d5e7(0xfd)](_0x2f85c0,_0x1c9e46);},'oiARf':_0x5407e8['zrwJH']};_0x3ba1b3['forEach'](_0x3fb51a=>{const _0x401ebd=a36_0x234e;let _0x31fbd5=_0x3d2e20['tnXol'](helper[_0x401ebd(0xfe)](_0x3fb51a,'_'),'_'+Date[_0x401ebd(0xf5)]());_0x1e1746&&(_0x31fbd5+='_'+_0x1e1746);if(_0x1e1746&&(!_0x29f094[_0x3d2e20['oiARf']]||!_0x29f094[_0x3d2e20[_0x401ebd(0xdf)]][_0x1e1746]))return;const _0x54e3b0={..._0x88328f};_0x54e3b0[_0x401ebd(0xdb)]=_0x3fb51a;const _0x148e25=_0x54e3b0;_0x24e7b8[_0x31fbd5]=_0x1e1746?helper[_0x401ebd(0x120)](_0x29f094[_0x3d2e20[_0x401ebd(0xdf)]][_0x1e1746],_0x148e25):_0x148e25,_0x1a1d63[_0x401ebd(0x11e)](_0x31fbd5);});});!_0x269ed5[_0x23fb11(0xeb)]&&(_0x269ed5[_0x23fb11(0xeb)]={});_0x269ed5[_0x23fb11(0xeb)]={..._0x269ed5[_0x23fb11(0xeb)],..._0x24e7b8};const _0x20b63e=path[_0x23fb11(0x10e)](__dirname,_0x5407e8[_0x23fb11(0x10f)]);fs[_0x23fb11(0xe6)](_0x20b63e,JSON['stringify'](_0x269ed5)),_0x5407e8['Yovip'](removeExistingEnvs,_0x46157a);const _0x2472da=_0x5407e8[_0x23fb11(0xe7)](spawn,/^win/[_0x23fb11(0xe5)](process[_0x23fb11(0xea)])?_0x5407e8[_0x23fb11(0xd9)]:_0x5407e8[_0x23fb11(0x10a)],[_0x5407e8[_0x23fb11(0x10d)],_0x20b63e,..._0x46157a['slice'](0x1),_0x5407e8[_0x23fb11(0x115)],_0x1a1d63[_0x23fb11(0x10e)](',')],{'stdio':_0x5407e8[_0x23fb11(0xfc)]});_0x2472da['on'](_0x5407e8[_0x23fb11(0xe1)],async _0x3bf3be=>{const _0x14cfe9=_0x23fb11;logger['debug']('child\x20process\x20exited\x20with\x20code\x20'+_0x3bf3be),logger[_0x14cfe9(0xf2)]('Deleting\x20'+_0x20b63e),fs[_0x14cfe9(0x11f)](_0x20b63e);});}module['exports']=run;
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;
@@ -1 +1 @@
1
- function a37_0x21fd(){const _0x335a65=['browserName','includeIssueType','../../helpers/helper','browserstack.accessibility','YcSMh','accessibilityPlatform','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','stringify','26279830yUeUPv','kQLpt','playwright-chromium','../../helpers/accessibility-automation/helper','command','No\x20accessibility\x20results\x20were\x20found.','includes','2610492pUsifD','lflcp','11MpAFPT','qcKoW','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','hMHIH','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','149766fBaKvT','name','accessibilityOptions.wcagVersion','util','getAccessibilityResultsSummary','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','HNCzP','browserStackEvaluate','env','bestPractice','../../helpers/performance/performance-tester','../../helpers/accessibility-automation/scripts','latest','performScan','NYFXQ','Performing\x20scan\x20with\x20method:\x20','FtYSE','measureWrapper','SyMXU','deviceName','../../helpers/logger','zvogC','executeScript','WebDriver','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','VHmOl','XwQdS','mQePn','uOaBb','OqfLG','mtaQl','PERFORM_SCAN','BS_A11Y_JWT','format','needsReview','24jkKOfk','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','sEUwX','browser_version','7byZNul','qbbnJ','LxKKv','bstackSdkArgs','isNLO','tZikg','constructor','brNne','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Playwright','debug','workerInfo','\x20page:\x20','wcagVersion','NZXCu','KXGvl','ABPCi','connectOptions','evaluate','dpNZB','PsHDz','browserStackExecuteDriver','8202033EPYcxp','2438265lZPFAV','QlNOP','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','platformValidation','dXmry','FlQsl','warn','wsEndpoint','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','QDajX','error','kRZmL','YmVqo','2303280BuZHOE','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','SJcHh','replace','processAccessibilityCaps','pYItP','hDEEJ','Qndhz','accessibilityOptions.includeIssueType.needsReview','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','scannerProcessingTimeout','project','accessibilityOptions.scannerVersion','scannerVersion','browser','chrome','nWGLw','MgvID','1264555BBErNN','PCNUL','QhpMw','../../helpers/performance/constants','testInfo','accessibilityOptions','4UbNoto','use','getAccessibilityResults','accessibilityOptions.scannerProcessingTimeout'];a37_0x21fd=function(){return _0x335a65;};return a37_0x21fd();}const a37_0x26423d=a37_0x173a;(function(_0xbd82c5,_0x589490){const _0x366a58=a37_0x173a,_0x5399ed=_0xbd82c5();while(!![]){try{const _0x5eb951=-parseInt(_0x366a58(0x23f))/0x1*(parseInt(_0x366a58(0x218))/0x2)+-parseInt(_0x366a58(0x256))/0x3+parseInt(_0x366a58(0x1fd))/0x4*(-parseInt(_0x366a58(0x1f7))/0x5)+-parseInt(_0x366a58(0x211))/0x6+-parseInt(_0x366a58(0x1e5))/0x7*(parseInt(_0x366a58(0x23b))/0x8)+parseInt(_0x366a58(0x255))/0x9+parseInt(_0x366a58(0x20a))/0xa*(parseInt(_0x366a58(0x213))/0xb);if(_0x5eb951===_0x589490)break;else _0x5399ed['push'](_0x5399ed['shift']());}catch(_0x1df917){_0x5399ed['push'](_0x5399ed['shift']());}}}(a37_0x21fd,0x80ba7));const util=require(a37_0x26423d(0x21b)),logger=require(a37_0x26423d(0x22c))['winstonLogger'],{isAccessibilityAutomationSession}=require(a37_0x26423d(0x20d)),{isUndefined,isBrowserstackInfra}=require(a37_0x26423d(0x203)),scripts=require(a37_0x26423d(0x223)),PerformanceTester=require(a37_0x26423d(0x222)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a37_0x26423d(0x1fa));function a37_0x173a(_0x4e9f69,_0x419ee3){const _0x21fd1c=a37_0x21fd();return a37_0x173a=function(_0x173afb,_0x5d2896){_0x173afb=_0x173afb-0x1e4;let _0x2d815e=_0x21fd1c[_0x173afb];return _0x2d815e;},a37_0x173a(_0x4e9f69,_0x419ee3);}exports[a37_0x26423d(0x21f)]=async(_0x546763,_0x3391b7,_0x49dbe7={})=>{const _0x35e3a4=a37_0x26423d,_0x469ba5={};_0x469ba5[_0x35e3a4(0x205)]=_0x35e3a4(0x242);const _0x1879ea=_0x469ba5;return await _0x546763[_0x35e3a4(0x251)](_0x35e3a4(0x25e)+_0x3391b7[_0x35e3a4(0x1e8)](/arguments/g,_0x1879ea['YcSMh'])+_0x35e3a4(0x215)+JSON[_0x35e3a4(0x209)](_0x49dbe7)+')');},exports[a37_0x26423d(0x254)]=async(_0x50b23f,_0x4a7f93,_0x809fa7={})=>{const _0x2f6465=a37_0x26423d,_0x4df14e={};_0x4df14e['QlNOP']=function(_0x337721,_0x22bc41){return _0x337721===_0x22bc41;},_0x4df14e['PsHDz']=_0x2f6465(0x22f),_0x4df14e[_0x2f6465(0x24e)]=function(_0x36471b,_0x372a4d){return _0x36471b===_0x372a4d;},_0x4df14e[_0x2f6465(0x25a)]=_0x2f6465(0x248),_0x4df14e[_0x2f6465(0x1f5)]=_0x2f6465(0x242);const _0x121608=_0x4df14e;if(_0x121608[_0x2f6465(0x257)](_0x50b23f[_0x2f6465(0x245)][_0x2f6465(0x219)],_0x121608[_0x2f6465(0x253)]))return await _0x50b23f['executeAsyncScript'](_0x4a7f93,_0x809fa7);else{if(_0x121608[_0x2f6465(0x24e)](_0x50b23f['constructor'][_0x2f6465(0x219)],_0x121608[_0x2f6465(0x25a)]))return await _0x50b23f[_0x2f6465(0x22e)](_0x2f6465(0x1e6)+_0x4a7f93[_0x2f6465(0x1e8)](/arguments/g,_0x121608[_0x2f6465(0x1f5)])+_0x2f6465(0x230)+JSON[_0x2f6465(0x209)](_0x809fa7)+')');}},exports['setAccessibilityCapabilities']=async _0x53be7b=>{const _0x2734be=a37_0x26423d,_0x4e50f1={};_0x4e50f1[_0x2734be(0x236)]=_0x2734be(0x21a),_0x4e50f1['kQLpt']=_0x2734be(0x200),_0x4e50f1['brNne']='accessibilityOptions.includeIssueType.bestPractice',_0x4e50f1[_0x2734be(0x240)]=_0x2734be(0x1ed),_0x4e50f1[_0x2734be(0x1ec)]='accessibilityOptions.authToken',_0x4e50f1[_0x2734be(0x22a)]=_0x2734be(0x1f1);const _0x789849=_0x4e50f1;_0x53be7b[_0x2734be(0x1fc)]&&(_0x53be7b['accessibilityOptions'][_0x2734be(0x24c)]&&(_0x53be7b[_0x789849['mtaQl']]=_0x53be7b[_0x2734be(0x1fc)][_0x2734be(0x24c)]),_0x53be7b[_0x2734be(0x1fc)][_0x2734be(0x1ef)]&&(_0x53be7b[_0x789849[_0x2734be(0x20b)]]=_0x53be7b[_0x2734be(0x1fc)][_0x2734be(0x1ef)]),_0x53be7b['accessibilityOptions'][_0x2734be(0x202)]&&(_0x53be7b[_0x789849[_0x2734be(0x246)]]=_0x53be7b[_0x2734be(0x1fc)][_0x2734be(0x202)][_0x2734be(0x221)],_0x53be7b[_0x789849[_0x2734be(0x240)]]=_0x53be7b[_0x2734be(0x1fc)][_0x2734be(0x202)][_0x2734be(0x23a)]));const _0x4b9a2a=JSON['parse'](process[_0x2734be(0x220)][_0x2734be(0x258)])[_0x2734be(0x1f2)];_0x53be7b[_0x789849['Qndhz']]=process[_0x2734be(0x220)][_0x2734be(0x238)],_0x53be7b[_0x789849[_0x2734be(0x22a)]]=_0x4b9a2a,delete _0x53be7b[_0x2734be(0x1fc)];},exports[a37_0x26423d(0x1ff)]=async _0x159dc2=>{const _0x2813ba=a37_0x26423d,_0x3abef1={};_0x3abef1[_0x2813ba(0x22d)]=_0x2813ba(0x20f),_0x3abef1['XwQdS']=_0x2813ba(0x23c);const _0x51711d=_0x3abef1;if(global[_0x2813ba(0x206)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x159dc2,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x159dc2,scripts.getResults);})();return res;}catch{return logger[_0x2813ba(0x260)](_0x51711d['zvogC']),[];}else return logger[_0x2813ba(0x25c)](_0x51711d[_0x2813ba(0x232)]),[];},exports[a37_0x26423d(0x225)]=async(_0x206e3f,_0xa1f5dc='')=>{const _0x3800b7=a37_0x26423d;logger[_0x3800b7(0x249)](_0x3800b7(0x227)+_0xa1f5dc+_0x3800b7(0x24b)+_0x206e3f);if(global[_0x3800b7(0x206)])return await PerformanceTester[_0x3800b7(0x229)](PerformanceA11yEvents[_0x3800b7(0x237)],async()=>{const _0x4242ee=_0x3800b7,_0x368322={};_0x368322[_0x4242ee(0x20e)]=_0xa1f5dc,await exports['browserStackEvaluate'](_0x206e3f,scripts['performScan'],_0x368322);},{'command':_0xa1f5dc})();},exports[a37_0x26423d(0x21c)]=async _0x95d837=>{const _0x2976a1=a37_0x26423d,_0x4c0d64={};_0x4c0d64[_0x2976a1(0x233)]='No\x20summaryResults\x20found.',_0x4c0d64[_0x2976a1(0x24d)]=_0x2976a1(0x207);const _0x186480=_0x4c0d64;if(global[_0x2976a1(0x206)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x95d837,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x95d837,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0x186480[_0x2976a1(0x233)]),{};}else return logger[_0x2976a1(0x25c)](_0x186480[_0x2976a1(0x24d)]),{};},exports[a37_0x26423d(0x259)]=async _0x2c1f08=>{const _0x49df68=a37_0x26423d,_0x5a0b38={'QhpMw':function(_0xec830c,_0x2a09fe){return _0xec830c!==_0x2a09fe;},'ABPCi':_0x49df68(0x247),'iAiwB':_0x49df68(0x1f4),'PCNUL':'playwright-chromium','HNCzP':'chromium','qcKoW':_0x49df68(0x217),'LxKKv':function(_0x2ce63f,_0x5c5ee0){return _0x2ce63f(_0x5c5ee0);},'kRZmL':function(_0x14fb94){return _0x14fb94();},'NYFXQ':function(_0x404d91,_0x3d14ce){return _0x404d91<_0x3d14ce;},'VHmOl':_0x49df68(0x208),'FlQsl':function(_0x387b27,_0x3b65be){return _0x387b27===_0x3b65be;},'FtYSE':_0x49df68(0x224),'OqfLG':function(_0x346394,_0x2943ba){return _0x346394>_0x2943ba;},'YmVqo':_0x49df68(0x1ee)};try{if(!_0x5a0b38[_0x49df68(0x1f9)](_0x2c1f08[_0x49df68(0x22b)],''))return logger[_0x49df68(0x25c)](_0x5a0b38[_0x49df68(0x24f)]),![];const _0x3f0fbd=_0x2c1f08[_0x49df68(0x1f3)];if(![_0x5a0b38['iAiwB'],_0x5a0b38[_0x49df68(0x1f8)],_0x5a0b38[_0x49df68(0x21e)]][_0x49df68(0x210)](_0x3f0fbd))return logger['warn'](_0x5a0b38[_0x49df68(0x214)]),![];const _0x121ddc=_0x5a0b38[_0x49df68(0x241)](parseInt,_0x2c1f08['browser_version']);!_0x5a0b38[_0x49df68(0x261)](isBrowserstackInfra)&&(!_0x5a0b38[_0x49df68(0x226)](_0x121ddc,0x64)&&logger[_0x49df68(0x25c)](_0x5a0b38[_0x49df68(0x231)]));if(!(_0x5a0b38[_0x49df68(0x25b)](_0x121ddc,_0x5a0b38[_0x49df68(0x228)])||_0x5a0b38[_0x49df68(0x235)](_0x121ddc,0x5e)))return logger['warn'](_0x5a0b38[_0x49df68(0x1e4)]),![];}catch(_0xd7e6e3){logger[_0x49df68(0x249)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util['format'](_0xd7e6e3));}return!![];},exports[a37_0x26423d(0x1e9)]=(_0x3bedbe,_0x13d654,_0x23ef52)=>{const _0x32998f=a37_0x26423d,_0x27636d={'sEUwX':function(_0x36ac95){return _0x36ac95();},'uOaBb':_0x32998f(0x204),'tZikg':function(_0x1e0359,_0x433ab2){return _0x1e0359===_0x433ab2;},'apZmQ':_0x32998f(0x1f4),'hMHIH':_0x32998f(0x20c),'dpNZB':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','isNLO':function(_0x4081d9,_0x1a8a99){return _0x4081d9>_0x1a8a99;},'lflcp':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','MgvID':_0x32998f(0x224),'wLZPU':function(_0x186f38,_0x13fd9e){return _0x186f38>_0x13fd9e;},'hDEEJ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','SJcHh':function(_0x4c4701,_0x3e8b1d){return _0x4c4701(_0x3e8b1d);},'QDajX':_0x32998f(0x247),'pYItP':function(_0x2e479c,_0x211adc){return _0x2e479c+_0x211adc;}};try{if(_0x27636d[_0x32998f(0x23d)](isAccessibilityAutomationSession)){global[_0x32998f(0x206)]=!![];!_0x3bedbe[_0x27636d[_0x32998f(0x234)]]&&(global['accessibilityPlatform']=![]);!(_0x27636d['tZikg'](_0x3bedbe[_0x32998f(0x201)],_0x27636d['apZmQ'])||_0x27636d[_0x32998f(0x244)](_0x3bedbe[_0x32998f(0x201)],_0x27636d[_0x32998f(0x216)])||_0x27636d['tZikg'](_0x3bedbe[_0x32998f(0x1f3)],_0x27636d['apZmQ'])||_0x27636d['tZikg'](_0x3bedbe['browser'],_0x27636d['hMHIH']))&&(logger[_0x32998f(0x25c)](_0x27636d[_0x32998f(0x252)]),global[_0x32998f(0x206)]=![]);!_0x27636d[_0x32998f(0x23d)](isBrowserstackInfra)&&(!_0x27636d[_0x32998f(0x243)](_0x3bedbe[_0x32998f(0x23e)],0x64)&&logger[_0x32998f(0x25c)](_0x27636d[_0x32998f(0x212)]));!(_0x27636d[_0x32998f(0x244)](_0x3bedbe['browser_version'],_0x27636d[_0x32998f(0x1f6)])||_0x27636d['wLZPU'](_0x3bedbe[_0x32998f(0x23e)],0x5e))&&(logger[_0x32998f(0x25c)](_0x27636d[_0x32998f(0x1eb)]),global[_0x32998f(0x206)]=![]);!_0x27636d['SJcHh'](isUndefined,_0x3bedbe['deviceName'])&&(logger[_0x32998f(0x25c)](_0x27636d[_0x32998f(0x25f)]),global[_0x32998f(0x206)]=![]);if(!global[_0x32998f(0x206)]){_0x3bedbe[_0x27636d[_0x32998f(0x234)]]=![];const _0x5d7668=_0x27636d[_0x32998f(0x1ea)](_0x13d654,_0x27636d[_0x32998f(0x1e7)](encodeURIComponent,JSON[_0x32998f(0x209)](_0x3bedbe)));_0x23ef52&&(_0x23ef52['currentTest'][_0x32998f(0x1fb)][_0x32998f(0x1f0)][_0x32998f(0x1fe)]['connectOptions'][_0x32998f(0x25d)]=_0x5d7668,_0x23ef52[_0x32998f(0x24a)][_0x32998f(0x1f0)][_0x32998f(0x1fe)][_0x32998f(0x250)][_0x32998f(0x25d)]=_0x5d7668);}}else global[_0x32998f(0x206)]=![];}catch(_0x5e33e6){logger[_0x32998f(0x249)](_0x32998f(0x21d)+util[_0x32998f(0x239)](_0x5e33e6));}};
1
+ function a39_0x27c5(_0x4d457a,_0x6b3432){const _0x1fde8d=a39_0x1fde();return a39_0x27c5=function(_0x27c5ab,_0x1292c7){_0x27c5ab=_0x27c5ab-0xd5;let _0x3ea44c=_0x1fde8d[_0x27c5ab];return _0x3ea44c;},a39_0x27c5(_0x4d457a,_0x6b3432);}const a39_0x30272c=a39_0x27c5;(function(_0x45ea82,_0x3dfe27){const _0x59d429=a39_0x27c5,_0x26a2d7=_0x45ea82();while(!![]){try{const _0x5a98e0=-parseInt(_0x59d429(0xd8))/0x1+parseInt(_0x59d429(0x12b))/0x2+parseInt(_0x59d429(0x13c))/0x3*(parseInt(_0x59d429(0x10a))/0x4)+parseInt(_0x59d429(0x11e))/0x5+parseInt(_0x59d429(0x124))/0x6+parseInt(_0x59d429(0x123))/0x7*(parseInt(_0x59d429(0x106))/0x8)+-parseInt(_0x59d429(0x12e))/0x9;if(_0x5a98e0===_0x3dfe27)break;else _0x26a2d7['push'](_0x26a2d7['shift']());}catch(_0x50fba3){_0x26a2d7['push'](_0x26a2d7['shift']());}}}(a39_0x1fde,0x2f747));function a39_0x1fde(){const _0x94e75b=['includeIssueType','accessibilityOptions.authToken','piihW','name','TwRKi','NVSwv','DsuvK','use','platformValidation','error','browser_version','yvRmc','OBqlC','stringify','accessibilityPlatform','WebDriver','needsReview','connectOptions','iDeMr','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','getAccessibilityResultsSummary','VcObW','browserstack.accessibility','playwright-chromium','browserStackExecuteDriver','includes','jPsux','chromium','igTbM','xjucm','project','rgbPs','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','env','32jXaNIR','ksggk','aQLSD','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','127704OtAgqI','EmbiX','egoVZ','browserStackEvaluate','xHwWN','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','Playwright','winstonLogger','executeScript','tCDwE','format','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','replace','constructor','pOHUI','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','rAiJE','chrome','testInfo','currentTest','1084655LfTzPn','scannerVersion','bKERl','HgLoz','yLiNN','426209PuWbbz','1134654ZHpiMR','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','utNQR','deviceName','CPuNs','bEicq','../../helpers/performance/performance-tester','125464fAlkEi','scannerProcessingTimeout','ZtNsU','4324734VOJUVt','performScan','browserName','WlgNX','bstackSdkArgs','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','PERFORM_SCAN','executeAsyncScript','vpGaq','\x20page:\x20','wcagVersion','hDKOZ','No\x20summaryResults\x20found.','accessibilityOptions.wcagVersion','3eYCCkt','YRWpI','ELreO','accessibilityOptions.includeIssueType.bestPractice','latest','nqWoY','processAccessibilityCaps','debug','warn','accessibilityOptions.scannerProcessingTimeout','../../helpers/helper','getAccessibilityResults','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','TMFpv','WHgpj','Performing\x20scan\x20with\x20method:\x20','browser','69345WsZFpM','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','accessibilityOptions.scannerVersion','jJPHi','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','workerInfo','wsEndpoint','TGJdz','accessibilityOptions','QRZtG','KSpNA','KZtGM'];a39_0x1fde=function(){return _0x94e75b;};return a39_0x1fde();}const util=require('util'),logger=require('../../helpers/logger')[a39_0x30272c(0x111)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require(a39_0x30272c(0x146)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a39_0x30272c(0x12a)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants');exports[a39_0x30272c(0x10d)]=async(_0x882fe7,_0x2c673b,_0x52a956={})=>{const _0x5f39e9=a39_0x30272c,_0x2b52c0={};_0x2b52c0[_0x5f39e9(0xe2)]=_0x5f39e9(0x132);const _0x3f1175=_0x2b52c0;return await _0x882fe7['evaluate'](_0x5f39e9(0xf7)+_0x2c673b[_0x5f39e9(0x116)](/arguments/g,_0x3f1175['KSpNA'])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x5f39e9(0xf1)](_0x52a956)+')');},exports[a39_0x30272c(0xfc)]=async(_0x56e7ba,_0x487286,_0x46bec1={})=>{const _0x4519b5=a39_0x30272c,_0x3d3302={};_0x3d3302[_0x4519b5(0xdf)]=function(_0x4f231e,_0x41ac65){return _0x4f231e===_0x41ac65;},_0x3d3302['xjucm']=_0x4519b5(0xf3),_0x3d3302[_0x4519b5(0xe9)]=_0x4519b5(0x110),_0x3d3302[_0x4519b5(0xe8)]=_0x4519b5(0x132);const _0x8b4792=_0x3d3302;if(_0x8b4792[_0x4519b5(0xdf)](_0x56e7ba[_0x4519b5(0x117)]['name'],_0x8b4792[_0x4519b5(0x101)]))return await _0x56e7ba[_0x4519b5(0x135)](_0x487286,_0x46bec1);else{if(_0x8b4792[_0x4519b5(0xdf)](_0x56e7ba[_0x4519b5(0x117)][_0x4519b5(0xe7)],_0x8b4792[_0x4519b5(0xe9)]))return await _0x56e7ba[_0x4519b5(0x112)](_0x4519b5(0x115)+_0x487286[_0x4519b5(0x116)](/arguments/g,_0x8b4792[_0x4519b5(0xe8)])+_0x4519b5(0x10f)+JSON['stringify'](_0x46bec1)+')');}},exports['setAccessibilityCapabilities']=async _0x18a67f=>{const _0x1bee56=a39_0x30272c,_0x4198bc={};_0x4198bc[_0x1bee56(0x11a)]=_0x1bee56(0x13b),_0x4198bc[_0x1bee56(0x139)]=_0x1bee56(0x145),_0x4198bc[_0x1bee56(0x107)]=_0x1bee56(0x13f),_0x4198bc[_0x1bee56(0x10b)]='accessibilityOptions.includeIssueType.needsReview',_0x4198bc['bKERl']=_0x1bee56(0xe5),_0x4198bc[_0x1bee56(0xe6)]=_0x1bee56(0xda);const _0x457b26=_0x4198bc;_0x18a67f['accessibilityOptions']&&(_0x18a67f[_0x1bee56(0xe0)][_0x1bee56(0x138)]&&(_0x18a67f[_0x457b26['rAiJE']]=_0x18a67f[_0x1bee56(0xe0)]['wcagVersion']),_0x18a67f['accessibilityOptions']['scannerProcessingTimeout']&&(_0x18a67f[_0x457b26['hDKOZ']]=_0x18a67f[_0x1bee56(0xe0)][_0x1bee56(0x12c)]),_0x18a67f[_0x1bee56(0xe0)][_0x1bee56(0xe4)]&&(_0x18a67f[_0x457b26[_0x1bee56(0x107)]]=_0x18a67f['accessibilityOptions'][_0x1bee56(0xe4)]['bestPractice'],_0x18a67f[_0x457b26[_0x1bee56(0x10b)]]=_0x18a67f[_0x1bee56(0xe0)][_0x1bee56(0xe4)][_0x1bee56(0xf4)]));const _0x5dd869=JSON['parse'](process[_0x1bee56(0x105)][_0x1bee56(0x148)])[_0x1bee56(0x11f)];_0x18a67f[_0x457b26[_0x1bee56(0x120)]]=process[_0x1bee56(0x105)]['BS_A11Y_JWT'],_0x18a67f[_0x457b26[_0x1bee56(0xe6)]]=_0x5dd869,delete _0x18a67f[_0x1bee56(0xe0)];},exports[a39_0x30272c(0x147)]=async _0x55009a=>{const _0x551ecb=a39_0x30272c,_0x5943e4={};_0x5943e4[_0x551ecb(0x149)]='No\x20accessibility\x20results\x20were\x20found.',_0x5943e4[_0x551ecb(0xef)]=_0x551ecb(0x119);const _0x2bba5f=_0x5943e4;if(global[_0x551ecb(0xf2)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x55009a,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x55009a,scripts.getResults);})();return res;}catch{return logger[_0x551ecb(0xed)](_0x2bba5f[_0x551ecb(0x149)]),[];}else return logger['warn'](_0x2bba5f['yvRmc']),[];},exports[a39_0x30272c(0x12f)]=async(_0x38385e,_0x2b22c1='')=>{const _0x48c5a6=a39_0x30272c;logger[_0x48c5a6(0x143)](_0x48c5a6(0xd6)+_0x2b22c1+_0x48c5a6(0x137)+_0x38385e);if(global[_0x48c5a6(0xf2)])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x48c5a6(0x134)],async()=>{const _0x2fe5ee=_0x48c5a6,_0x279760={};_0x279760['command']=_0x2b22c1,await exports[_0x2fe5ee(0x10d)](_0x38385e,scripts[_0x2fe5ee(0x12f)],_0x279760);},{'command':_0x2b22c1})();},exports[a39_0x30272c(0xf8)]=async _0x2d595a=>{const _0x19f755=a39_0x30272c,_0x1f3230={};_0x1f3230['ZtNsU']=_0x19f755(0x13a),_0x1f3230[_0x19f755(0x126)]=_0x19f755(0xd9);const _0x5350d8=_0x1f3230;if(global[_0x19f755(0xf2)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x2d595a,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x2d595a,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x19f755(0x143)](_0x5350d8[_0x19f755(0x12d)]),{};}else return logger['warn'](_0x5350d8[_0x19f755(0x126)]),{};},exports[a39_0x30272c(0xec)]=async _0x2e4a3b=>{const _0x523d05=a39_0x30272c,_0xf056e3={'igTbM':function(_0x18329f,_0x472cf0){return _0x18329f!==_0x472cf0;},'ELreO':_0x523d05(0x125),'HMVVE':_0x523d05(0x11b),'DsuvK':_0x523d05(0xfb),'HgLoz':_0x523d05(0xff),'bEicq':_0x523d05(0x133),'vpGaq':function(_0x5db56b,_0x311e1e){return _0x5db56b(_0x311e1e);},'CPuNs':function(_0x150a77){return _0x150a77();},'tCDwE':function(_0x9b93de,_0x2a361c){return _0x9b93de<_0x2a361c;},'VcObW':_0x523d05(0xdc),'aQLSD':function(_0x36afeb,_0x37c819){return _0x36afeb===_0x37c819;},'OBqlC':_0x523d05(0x140),'EQspp':function(_0x5739b5,_0x5c6f81){return _0x5739b5>_0x5c6f81;},'iDeMr':_0x523d05(0x104)};try{if(!_0xf056e3[_0x523d05(0x100)](_0x2e4a3b[_0x523d05(0x127)],''))return logger['warn'](_0xf056e3[_0x523d05(0x13e)]),![];const _0x331ddc=_0x2e4a3b[_0x523d05(0xd7)];if(![_0xf056e3['HMVVE'],_0xf056e3[_0x523d05(0xea)],_0xf056e3[_0x523d05(0x121)]][_0x523d05(0xfd)](_0x331ddc))return logger[_0x523d05(0x144)](_0xf056e3[_0x523d05(0x129)]),![];const _0x509871=_0xf056e3[_0x523d05(0x136)](parseInt,_0x2e4a3b[_0x523d05(0xee)]);!_0xf056e3[_0x523d05(0x128)](isBrowserstackInfra)&&(!_0xf056e3[_0x523d05(0x113)](_0x509871,0x64)&&logger['warn'](_0xf056e3[_0x523d05(0xf9)]));if(!(_0xf056e3[_0x523d05(0x108)](_0x509871,_0xf056e3[_0x523d05(0xf0)])||_0xf056e3['EQspp'](_0x509871,0x5e)))return logger['warn'](_0xf056e3[_0x523d05(0xf6)]),![];}catch(_0x4febc8){logger[_0x523d05(0x143)](_0x523d05(0x109)+util[_0x523d05(0x114)](_0x4febc8));}return!![];},exports[a39_0x30272c(0x142)]=(_0x4f5143,_0x3f3e16,_0x5650e3)=>{const _0x4dd5ea=a39_0x30272c,_0x15a5d0={'egoVZ':function(_0x1c536c){return _0x1c536c();},'jJPHi':_0x4dd5ea(0xfa),'KZtGM':function(_0x4c56b4,_0x19307e){return _0x4c56b4===_0x19307e;},'yLiNN':_0x4dd5ea(0x11b),'xHwWN':_0x4dd5ea(0xfb),'SvUbS':_0x4dd5ea(0x133),'iJjpL':function(_0x49e89d){return _0x49e89d();},'rgbPs':function(_0x5c5071,_0x5f2a49){return _0x5c5071>_0x5f2a49;},'pOHUI':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','QRZtG':function(_0x2a4c97,_0x3138fe){return _0x2a4c97===_0x3138fe;},'YRWpI':_0x4dd5ea(0x140),'WHgpj':_0x4dd5ea(0x104),'jPsux':function(_0x31ebb1,_0x53c3b3){return _0x31ebb1(_0x53c3b3);},'NDROM':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','nqWoY':function(_0x43ad0e,_0xf4aabc){return _0x43ad0e+_0xf4aabc;},'WlgNX':function(_0x420cb4,_0x2614d6){return _0x420cb4(_0x2614d6);}};try{if(_0x15a5d0[_0x4dd5ea(0x10c)](isAccessibilityAutomationSession)){global[_0x4dd5ea(0xf2)]=!![];!_0x4f5143[_0x15a5d0[_0x4dd5ea(0xdb)]]&&(global['accessibilityPlatform']=![]);!(_0x15a5d0[_0x4dd5ea(0xe3)](_0x4f5143[_0x4dd5ea(0x130)],_0x15a5d0['yLiNN'])||_0x15a5d0[_0x4dd5ea(0xe3)](_0x4f5143[_0x4dd5ea(0x130)],_0x15a5d0[_0x4dd5ea(0x10e)])||_0x15a5d0['KZtGM'](_0x4f5143['browser'],_0x15a5d0[_0x4dd5ea(0x122)])||_0x15a5d0['KZtGM'](_0x4f5143[_0x4dd5ea(0xd7)],_0x15a5d0['xHwWN']))&&(logger[_0x4dd5ea(0x144)](_0x15a5d0['SvUbS']),global['accessibilityPlatform']=![]);!_0x15a5d0['iJjpL'](isBrowserstackInfra)&&(!_0x15a5d0[_0x4dd5ea(0x103)](_0x4f5143[_0x4dd5ea(0xee)],0x64)&&logger[_0x4dd5ea(0x144)](_0x15a5d0[_0x4dd5ea(0x118)]));!(_0x15a5d0[_0x4dd5ea(0xe1)](_0x4f5143['browser_version'],_0x15a5d0[_0x4dd5ea(0x13d)])||_0x15a5d0['rgbPs'](_0x4f5143[_0x4dd5ea(0xee)],0x5e))&&(logger[_0x4dd5ea(0x144)](_0x15a5d0[_0x4dd5ea(0xd5)]),global['accessibilityPlatform']=![]);!_0x15a5d0[_0x4dd5ea(0xfe)](isUndefined,_0x4f5143['deviceName'])&&(logger['warn'](_0x15a5d0['NDROM']),global[_0x4dd5ea(0xf2)]=![]);if(!global[_0x4dd5ea(0xf2)]){_0x4f5143[_0x15a5d0[_0x4dd5ea(0xdb)]]=![];const _0x37325d=_0x15a5d0[_0x4dd5ea(0x141)](_0x3f3e16,_0x15a5d0[_0x4dd5ea(0x131)](encodeURIComponent,JSON['stringify'](_0x4f5143)));_0x5650e3&&(_0x5650e3[_0x4dd5ea(0x11d)][_0x4dd5ea(0x11c)][_0x4dd5ea(0x102)]['use'][_0x4dd5ea(0xf5)]['wsEndpoint']=_0x37325d,_0x5650e3[_0x4dd5ea(0xdd)][_0x4dd5ea(0x102)][_0x4dd5ea(0xeb)][_0x4dd5ea(0xf5)][_0x4dd5ea(0xde)]=_0x37325d);}}else global['accessibilityPlatform']=![];}catch(_0x47facc){logger[_0x4dd5ea(0x143)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x4dd5ea(0x114)](_0x47facc));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a38_0x4e1bc3=a38_0xf88d;(function(_0x28e896,_0x3f5ce4){const _0x14dcd3=a38_0xf88d,_0x50a06f=_0x28e896();while(!![]){try{const _0x467a4b=-parseInt(_0x14dcd3(0xfe))/0x1+-parseInt(_0x14dcd3(0x158))/0x2+-parseInt(_0x14dcd3(0x13a))/0x3+-parseInt(_0x14dcd3(0x149))/0x4*(parseInt(_0x14dcd3(0x177))/0x5)+parseInt(_0x14dcd3(0x185))/0x6*(-parseInt(_0x14dcd3(0x189))/0x7)+parseInt(_0x14dcd3(0xf9))/0x8*(-parseInt(_0x14dcd3(0x151))/0x9)+parseInt(_0x14dcd3(0x18b))/0xa*(parseInt(_0x14dcd3(0x13e))/0xb);if(_0x467a4b===_0x3f5ce4)break;else _0x50a06f['push'](_0x50a06f['shift']());}catch(_0x4a7209){_0x50a06f['push'](_0x50a06f['shift']());}}}(a38_0x2703,0x9d892));function a38_0xf88d(_0x52e3bc,_0x422c0f){const _0x270312=a38_0x2703();return a38_0xf88d=function(_0xf88d9f,_0x41dc4b){_0xf88d9f=_0xf88d9f-0xe6;let _0x47c03f=_0x270312[_0xf88d9f];return _0x47c03f;},a38_0xf88d(_0x52e3bc,_0x422c0f);}const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),{format}=require(a38_0x4e1bc3(0x14b)),logger=require('../../helpers/logger')[a38_0x4e1bc3(0x13c)],{default:BrowserStackSetup}=require(a38_0x4e1bc3(0x131)),helper=require(a38_0x4e1bc3(0x17a)),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a38_0x4e1bc3(0x13f)),{checkAccessibilityPlatformConfig}=require(a38_0x4e1bc3(0xef)),{setAccessibilityCapabilities}=require('./accessibility-helper'),{printBuildLink}=require(a38_0x4e1bc3(0xf3)),TestDetails=require(a38_0x4e1bc3(0x152)),TestHubHandler=require(a38_0x4e1bc3(0x12b)),PerformanceTester=require('../../helpers/performance/performance-tester'),BrowserstackCLI=require(a38_0x4e1bc3(0x11d)),PerformanceEvents=require(a38_0x4e1bc3(0x17c))[a38_0x4e1bc3(0x19b)],CLIUtils=require(a38_0x4e1bc3(0x169)),TestInfo=require(a38_0x4e1bc3(0x176)),getUserPlaywrightConfig=async(_0x180d2f,_0x42f20a)=>{const _0x1e2757=a38_0x4e1bc3,_0x48b2ec={'YmoAS':function(_0x2b2447){return _0x2b2447();},'mhgWr':function(_0x5ec8b9,_0x53aad2){return _0x5ec8b9(_0x53aad2);},'cItdr':function(_0x5a9217,_0x24367b){return _0x5a9217(_0x24367b);},'exlLk':_0x1e2757(0x17b),'NctQn':_0x1e2757(0x174)},_0x52b711=!helper[_0x1e2757(0x18d)](_0x180d2f[_0x1e2757(0xe7)]),_0x483df5=_0x52b711?path['resolve'](process[_0x1e2757(0x123)](),_0x180d2f[_0x1e2757(0xe7)]):process[_0x1e2757(0x123)](),{resolveConfigFile:_0x1bc062,resolveConfigLocation:_0x16e750}=helper[_0x1e2757(0x110)][_0x1e2757(0x184)](null,_0x48b2ec['YmoAS'](getConfigLoaderPath)),_0x5ad937=_0x1bc062?_0x48b2ec[_0x1e2757(0x17e)](_0x1bc062,_0x483df5):helper['nestedKeyValue'](_0x48b2ec[_0x1e2757(0x195)](_0x16e750,_0x483df5),[_0x48b2ec[_0x1e2757(0x16f)]]),_0x41ef7a={};if(_0x52b711){const _0x483de8=_0x42f20a['findIndex'](_0x1db780=>_0x1db780===_0x1e2757(0x183)||_0x1db780==='-c'||_0x1db780['startsWith']('--config='));_0x42f20a[_0x1e2757(0x15a)](_0x483de8,_0x42f20a[_0x483de8][_0x1e2757(0x10a)](_0x48b2ec[_0x1e2757(0x164)])?0x1:0x2);}const _0x506b19={};return _0x506b19[_0x1e2757(0x156)]=_0x5ad937,_0x506b19['config']=_0x41ef7a,_0x506b19;},handleO11yRerun=_0x2357be=>{const _0x43ded0=a38_0x4e1bc3,_0x27f287={};_0x27f287[_0x43ded0(0x106)]=_0x43ded0(0x133);const _0x135680=_0x27f287,_0x1c995a=helper['isTrue'](process['env'][_0x43ded0(0x196)]);if(_0x1c995a){const _0x437fe6=process['env'][_0x43ded0(0x171)],_0x3715c0=[];if(helper[_0x43ded0(0x10f)](_0x437fe6)&&!helper[_0x43ded0(0x18d)](_0x437fe6)){_0x437fe6[_0x43ded0(0x18a)](',')[_0x43ded0(0x16d)](_0x43f852=>{const _0x170498=_0x43ded0;_0x3715c0[_0x170498(0x128)]('('+_0x43f852[_0x170498(0x140)]()+')');});const _0x2c9190='^'+_0x3715c0[_0x43ded0(0x187)]('|')+'$';_0x2357be['push'](_0x135680[_0x43ded0(0x106)],_0x2c9190);}}},spawnOriginalProcess=_0x5baab8=>{const _0x31a776=a38_0x4e1bc3,_0x29b192={'WbCYf':function(_0x2d3c90,_0x334801,_0x122b9e,_0x57b453){return _0x2d3c90(_0x334801,_0x122b9e,_0x57b453);},'jrQWW':_0x31a776(0x105),'AJPfR':_0x31a776(0xf7),'zSgSQ':function(_0x516c92,_0x1eff82){return _0x516c92===_0x1eff82;},'uOeen':_0x31a776(0x17f),'YCwJa':_0x31a776(0x19a)};_0x29b192[_0x31a776(0x16a)](spawn,_0x29b192[_0x31a776(0x141)],[_0x29b192[_0x31a776(0x148)],..._0x5baab8[_0x31a776(0x153)](0x1)],{'shell':_0x29b192[_0x31a776(0x159)](process[_0x31a776(0x115)],_0x29b192[_0x31a776(0x186)]),'stdio':_0x29b192[_0x31a776(0x199)],'cwd':process[_0x31a776(0x123)]()});},isTestCommand=(_0x256a7f,_0x350d1a)=>{const _0xf72576=a38_0x4e1bc3,_0x33344e={};_0x33344e['hLlZL']=function(_0x3c0dd4,_0x478cc1){return _0x3c0dd4>_0x478cc1;},_0x33344e[_0xf72576(0x192)]=function(_0x3e980a,_0x130462){return _0x3e980a===_0x130462;},_0x33344e[_0xf72576(0x160)]=_0xf72576(0x162);const _0x59df23=_0x33344e;if(_0x59df23[_0xf72576(0x101)](_0x350d1a[_0xf72576(0x175)],0x1)&&_0x59df23['reWPD'](_0x350d1a[0x1],_0x59df23[_0xf72576(0x160)]))return!![];return![];};function a38_0x2703(){const _0x4c57d8=['isTrue','--grep','NuIyo','exitCode','BROWSERSTACK_SETUP_CONFIG_PATH','measureWrapper','UqoEJ','get','2916039Wxbohj','pQuci','winstonLogger','setBrowserstackConfig','11Ikllaq','./reporter/pwUtils','trim','jrQWW','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','false','logLevel','ftWrR','readdirSync','readFileSync','AJPfR','76wPMetT','MODULE','util','XLnzN','BROWSERSTACK_TEST_OBSERVABILITY','skipSessionName','qRybl','accessibility','9nQHMCq','./reporter/test-details','slice','end','clearTempPWConfig','path','exports','706982qqbHDL','zSgSQ','splice','sUuFi','getInstance','Deleting\x20','error','duxxK','jRIhX','env','test','shutdown','NctQn','XAEpq','start','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','filterBrowserstackArgs','../v2/cliUtils','WbCYf','dirname','close','map','skipSessionStatus','exlLk','browserstackAutomation','BROWSERSTACK_RERUN_TESTS','GUmlS','launchBuild','--config=','length','../v2/TestInfo','20730hXSXDX','wgWwz','homedir','../../helpers/helper','resolvedConfigFile','../../helpers/performance/constants','unlinkSync','mhgWr','win32','fLSVU','SDK_POST_INITIALIZE','automation','--config','apply','5733606aZzwgH','uOeen','join','JeOOq','7YnMXVo','split','32176490zQCvVk','setFrameworkDetail','isUndefined','Updated\x20config\x20file\x20name\x20to\x20-\x20','VRnwR','has','concat','reWPD','SBuYf','SDK_SETUP','cItdr','BROWSERSTACK_RERUN','Error\x20in\x20getting\x20funnel\x20data\x20results','accessibilityOptions','YCwJa','inherit','EVENTS','playwright-browserstack-sdk.config.js','config','Error\x20in\x20closing\x20playwright','aemYu','plJhF','testObservability','czScu','parse','bootstrap','../../helpers/accessibility-automation/helper','serializeToYamlString','BROWSERSTACK_AUTOMATION','trace_','../../helpers/test-observability/utils','GKLMB','debug','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','playwright','indexOf','415696JDpxoF','fTegZ','stringify','.browserstack','testContextOptions','160542mqvyoR','USER_CONFIG_DETAILS_PATH','pw_result.json','hLlZL','WgdOY','BrowserStack\x20config\x20file\x20not\x20found.','Error\x20in\x20deleting\x20playwright\x20results','npx','Hkddi','stop','getPackageType','YZoFg','startsWith','writeFileSync','PLAYWRIGHT','IfMqs','cBbSJ','validateRerunTestList','requirePWModule','pcgnp','yzoPc','CkeQR','YXQyz','platform','finalExecution','isRunning','filter','oRSFt','existsSync','Rzlsl','resolve','../v2/browserstackCLI','VGWNc','isFalse','getProxyUrl','true','browserstackSetupConfig.json','cwd','--disable-browserstack-automation','gvyVN','playwright-browserstack-sdk.config.cjs','qfqRs','push','SDK_PRE_INITIALIZE','FYdzn','../../helpers/testhub/testhubHandler','oAVHF','cliConfig','forEach','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Playwright\x20process\x20exited\x20with\x20code\x20','../../helpers/BrowserStackSetup'];a38_0x2703=function(){return _0x4c57d8;};return a38_0x2703();}async function run(_0x3da727,_0xc8ebec,_0x17d92a){const _0x317346=a38_0x4e1bc3,_0x332fc5={'sUuFi':function(_0x57ac44){return _0x57ac44();},'czScu':function(_0x1a7d62){return _0x1a7d62();},'YXQyz':_0x317346(0xfc),'SBuYf':function(_0x3632ea,_0x25aaad){return _0x3632ea+_0x25aaad;},'pcgnp':_0x317346(0xe8),'CkeQR':function(_0x5e238a,_0x1a26a1){return _0x5e238a(_0x1a26a1);},'Rzlsl':_0x317346(0x100),'NuIyo':_0x317346(0x197),'yzoPc':_0x317346(0x103),'ftWrR':function(_0x4f5023,_0x2e4291){return _0x4f5023===_0x2e4291;},'VGWNc':_0x317346(0x143),'FYdzn':'--disable-test-observability','OfUtz':function(_0x4ae4eb,_0x4b410c){return _0x4ae4eb>=_0x4b410c;},'WgdOY':_0x317346(0x182),'SNaha':function(_0x332a45,_0x1a6e0b){return _0x332a45!=_0x1a6e0b;},'qRybl':function(_0x4e4a31,_0x26d3fc,_0x5f5228){return _0x4e4a31(_0x26d3fc,_0x5f5228);},'IfMqs':function(_0x3affb1,_0x481f00){return _0x3affb1===_0x481f00;},'XAEpq':_0x317346(0x121),'oRSFt':_0x317346(0x122),'qfqRs':function(_0x3768b7,_0x1ef975){return _0x3768b7===_0x1ef975;},'XbyPf':_0x317346(0x126),'fTegZ':_0x317346(0xe6),'aemYu':function(_0x335fb5,_0x250575){return _0x335fb5-_0x250575;},'pQuci':function(_0x494412,_0xffa85a){return _0x494412+_0xffa85a;},'POiTN':_0x317346(0x18e),'VRnwR':function(_0xdb71f,_0x3cead1){return _0xdb71f>_0x3cead1;},'plJhF':function(_0x29f111,_0x2eb658){return _0x29f111+_0x2eb658;},'fLSVU':function(_0x30a2c9,_0x5d58d9,_0x1b5ad7,_0x213c15){return _0x30a2c9(_0x5d58d9,_0x1b5ad7,_0x213c15);},'oAVHF':_0x317346(0x105),'GKLMB':_0x317346(0xf7),'XLnzN':'test','anPPd':_0x317346(0x183),'duxxK':_0x317346(0x17f),'JeOOq':_0x317346(0x19a),'gvyVN':_0x317346(0x16c),'cNJEB':_0x317346(0x104)};try{const _0x1790ce=path[_0x317346(0x187)](helper[_0x317346(0x179)](),_0x332fc5[_0x317346(0x114)],_0x332fc5[_0x317346(0x11b)]);fs[_0x317346(0x11a)](_0x1790ce)&&fs[_0x317346(0x17d)](_0x1790ce);}catch(_0x2bc94e){logger[_0x317346(0xf5)](_0x332fc5[_0x317346(0xea)](_0x332fc5['cNJEB'],_0x2bc94e));}if(!_0x332fc5[_0x317346(0x14f)](isTestCommand,_0x3da727,_0xc8ebec)){_0x332fc5['CkeQR'](spawnOriginalProcess,_0xc8ebec);return;}await PerformanceTester[_0x317346(0x137)](PerformanceEvents[_0x317346(0x129)],async()=>{const _0x35ee2f=_0x317346,_0x51f572={'cBbSJ':function(_0x4fd62e,_0x584f8d){return _0x332fc5['CkeQR'](_0x4fd62e,_0x584f8d);},'YZoFg':_0x332fc5['YXQyz'],'GUmlS':_0x332fc5['Rzlsl'],'UqoEJ':function(_0x596dbb,_0x2a736b){const _0x1954fd=a38_0xf88d;return _0x332fc5[_0x1954fd(0x193)](_0x596dbb,_0x2a736b);},'wgWwz':_0x332fc5[_0x35ee2f(0x134)]};if(!_0x17d92a[_0x35ee2f(0xe7)]){logger[_0x35ee2f(0x15e)](_0x332fc5[_0x35ee2f(0x112)]);return;}await _0x17d92a['initialize'](_0x3da727),CLIUtils[_0x35ee2f(0x18c)](FRAMEWORKS[_0x35ee2f(0x10c)],FRAMEWORKS[_0x35ee2f(0x10c)]),BrowserstackCLI[_0x35ee2f(0x15c)]()[_0x35ee2f(0x13d)](_0x17d92a[_0x35ee2f(0xe7)],_0x17d92a[_0x35ee2f(0x12d)]),await BrowserstackCLI[_0x35ee2f(0x15c)]()[_0x35ee2f(0xee)]();const _0x4e1607=BrowserstackCLI[_0x35ee2f(0x15c)]()['getConfig']();!helper[_0x35ee2f(0x11f)](_0x4e1607[_0x35ee2f(0x170)])&&(process[_0x35ee2f(0x161)][_0x35ee2f(0xf1)]=!![]);_0x332fc5['ftWrR'](_0x4e1607[_0x35ee2f(0x170)],![])&&(process[_0x35ee2f(0x161)][_0x35ee2f(0xf1)]=_0x332fc5[_0x35ee2f(0x11e)],_0xc8ebec=_0xc8ebec['filter'](_0x3cae74=>_0x3cae74!==_0x35ee2f(0x124)));const _0x3eab88=_0xc8ebec[_0x35ee2f(0xf8)](_0x332fc5[_0x35ee2f(0x12a)]);(_0x332fc5['OfUtz'](_0x3eab88,0x0)||_0x332fc5[_0x35ee2f(0x145)](_0x4e1607[_0x35ee2f(0xeb)],![]))&&(process[_0x35ee2f(0x161)][_0x35ee2f(0x14d)]=_0x332fc5['VGWNc'],_0xc8ebec=_0xc8ebec['filter'](_0x5ad0cf=>_0x5ad0cf!=='--disable-test-observability'));!helper[_0x35ee2f(0x18d)](_0x17d92a['cliConfig'])&&_0x17d92a[_0x35ee2f(0x12d)][_0x35ee2f(0x190)](_0x332fc5[_0x35ee2f(0x102)])&&(process[_0x35ee2f(0x161)][_0x35ee2f(0xf1)]=_0x17d92a[_0x35ee2f(0x12d)][_0x35ee2f(0x139)](_0x332fc5[_0x35ee2f(0x102)])||!![]);_0x332fc5['SNaha'](_0x17d92a['config'][_0x35ee2f(0xeb)],null)&&!helper[_0x35ee2f(0x132)](process[_0x35ee2f(0x161)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x35ee2f(0x161)][_0x35ee2f(0x14d)]=process[_0x35ee2f(0x161)][_0x35ee2f(0x14d)]||_0x17d92a['config'][_0x35ee2f(0xeb)]);const _0x19e0a9=!helper[_0x35ee2f(0x11f)](process['env'][_0x35ee2f(0x14d)]);_0x17d92a[_0x35ee2f(0xe7)][_0x35ee2f(0x198)]&&(process[_0x35ee2f(0x161)][_0x35ee2f(0xf6)]=JSON[_0x35ee2f(0xfb)](_0x17d92a[_0x35ee2f(0xe7)]['accessibilityOptions']));let _0x1d1450=![];_0x17d92a['config'][_0x35ee2f(0x150)]&&(_0x1d1450=!![],process[_0x35ee2f(0x161)][_0x35ee2f(0x12f)]=_0x17d92a[_0x35ee2f(0xe7)][_0x35ee2f(0x150)]);const _0x225f04=_0xc8ebec[_0x35ee2f(0x191)](),_0x3b7e94=await _0x332fc5[_0x35ee2f(0x14f)](getUserPlaywrightConfig,_0x3da727,_0xc8ebec);if(helper[_0x35ee2f(0x18d)](_0x3b7e94)){_0x332fc5[_0x35ee2f(0x113)](spawnOriginalProcess,_0x225f04);return;}const _0x1f2983=_0x3b7e94['path']?path[_0x35ee2f(0x16b)](_0x3b7e94['path']):process[_0x35ee2f(0x123)]();process[_0x35ee2f(0x161)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x1f2983,await PerformanceTester[_0x35ee2f(0x137)](PerformanceEvents[_0x35ee2f(0x181)],async()=>{const _0x3fb651=_0x35ee2f;!BrowserstackCLI['getInstance']()['isRunning']()&&await TestHubHandler[_0x3fb651(0x173)](FRAMEWORKS[_0x3fb651(0x10c)],_0x17d92a),_0x19e0a9&&_0x51f572[_0x3fb651(0x10e)](handleO11yRerun,_0xc8ebec);})();if(!BrowserstackCLI['getInstance']()[_0x35ee2f(0x117)]()){let _0x3a792d=_0x332fc5[_0x35ee2f(0x10d)](process[_0x35ee2f(0x161)][_0x35ee2f(0x12f)],_0x332fc5[_0x35ee2f(0x165)]);_0x3a792d=_0x3a792d||_0x332fc5[_0x35ee2f(0x113)](checkAccessibilityPlatformConfig,_0x17d92a['config']),process[_0x35ee2f(0x161)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x3a792d,_0x3a792d&&_0x332fc5['CkeQR'](setAccessibilityCapabilities,_0x17d92a[_0x35ee2f(0xe7)]);}const _0xaf5d2b=path[_0x35ee2f(0x187)](_0x3b7e94['path']?path[_0x35ee2f(0x16b)](_0x3b7e94[_0x35ee2f(0x156)]):process['cwd'](),_0x332fc5[_0x35ee2f(0x119)]);fs['writeFileSync'](_0xaf5d2b,helper[_0x35ee2f(0xf0)](_0x17d92a[_0x35ee2f(0xe7)])),process['env'][_0x35ee2f(0x136)]=_0xaf5d2b,helper[_0x35ee2f(0x155)]();let _0x2e7a39='';_0x332fc5[_0x35ee2f(0x127)](helper[_0x35ee2f(0x108)](),constants['PACKAGE_TYPE'][_0x35ee2f(0x14a)])?_0x2e7a39=_0x332fc5['XbyPf']:_0x2e7a39=_0x332fc5[_0x35ee2f(0xfa)];let _0x447e46='';if(helper['isTypescriptProject'](_0x3b7e94['path'])){_0x447e46=_0x35ee2f(0x167);const _0x344902=_0x2e7a39['split']('.');_0x344902[_0x332fc5[_0x35ee2f(0xe9)](_0x344902[_0x35ee2f(0x175)],0x1)]='ts',_0x2e7a39=_0x344902[_0x35ee2f(0x187)]('.'),logger['debug'](_0x332fc5[_0x35ee2f(0x13b)](_0x332fc5['POiTN'],_0x2e7a39));}else _0x447e46='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x56127d=path[_0x35ee2f(0x187)](_0x3b7e94[_0x35ee2f(0x156)]?path[_0x35ee2f(0x16b)](_0x3b7e94[_0x35ee2f(0x156)]):process[_0x35ee2f(0x123)](),_0x2e7a39);let _0x2ff002=_0x3b7e94[_0x35ee2f(0x156)]?_0x3b7e94[_0x35ee2f(0x156)]:'';_0x2ff002=_0x332fc5[_0x35ee2f(0x18f)](_0x2ff002['length'],0x0)?path[_0x35ee2f(0x11c)](_0x2ff002):'',process[_0x35ee2f(0x161)][_0x35ee2f(0xff)]=_0x2ff002;const _0x32d708=helper[_0x35ee2f(0x120)](_0x17d92a[_0x35ee2f(0xe7)]);_0x32d708&&(_0x447e46=_0x332fc5[_0x35ee2f(0xea)](_0x35ee2f(0x142)+_0x32d708+'\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();',_0x447e46));helper[_0x35ee2f(0x168)]({},_0xc8ebec),fs[_0x35ee2f(0x10b)](_0x56127d,_0x447e46),PerformanceTester[_0x35ee2f(0x154)](PerformanceEvents[_0x35ee2f(0x194)]);const _0x19ad5c=_0x332fc5[_0x35ee2f(0x180)](spawn,_0x332fc5[_0x35ee2f(0x12c)],[_0x332fc5[_0x35ee2f(0xf4)],_0x332fc5[_0x35ee2f(0x14c)],_0x332fc5['anPPd'],_0x56127d,..._0xc8ebec[_0x35ee2f(0x153)](0x2)],{'shell':_0x332fc5['qfqRs'](process[_0x35ee2f(0x115)],_0x332fc5[_0x35ee2f(0x15f)]),'stdio':_0x332fc5[_0x35ee2f(0x188)],'cwd':process['cwd'](),'env':Object['assign']({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x3da727),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x17d92a[_0x35ee2f(0xe7)][_0x35ee2f(0xfd)][_0x35ee2f(0x16e)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x17d92a[_0x35ee2f(0xe7)][_0x35ee2f(0xfd)][_0x35ee2f(0x14e)],'BROWSERSTACK_LOG_LEVEL':_0x17d92a[_0x35ee2f(0xe7)][_0x35ee2f(0x144)]})}),_0x2d8af2=()=>{const _0x18b9bd=_0x35ee2f;try{const _0x27d6f1=path[_0x18b9bd(0x187)](helper[_0x18b9bd(0x179)](),_0x51f572[_0x18b9bd(0x109)],_0x51f572[_0x18b9bd(0x172)]);if(fs[_0x18b9bd(0x11a)](_0x27d6f1)){let _0x17ec87=fs[_0x18b9bd(0x147)](_0x27d6f1);_0x17ec87=JSON[_0x18b9bd(0xed)](_0x17ec87),_0x17d92a['errorMessage']=_0x17ec87,fs[_0x18b9bd(0x17d)](_0x27d6f1);}}catch(_0x2557d4){logger[_0x18b9bd(0xf5)](_0x51f572[_0x18b9bd(0x138)](_0x51f572[_0x18b9bd(0x178)],_0x2557d4));}};_0x19ad5c['on'](_0x332fc5[_0x35ee2f(0x125)],async _0x49ebed=>{const _0x4b84f9=_0x35ee2f;try{PerformanceTester[_0x4b84f9(0x166)](PerformanceEvents['SDK_CLEANUP']),_0x332fc5[_0x4b84f9(0x15b)](_0x2d8af2),await TestHubHandler[_0x4b84f9(0x107)](),await BrowserstackCLI[_0x4b84f9(0x15c)]()[_0x4b84f9(0x107)](),TestDetails[_0x4b84f9(0x163)](),_0x332fc5[_0x4b84f9(0xec)](printBuildLink),await utilities[_0x4b84f9(0x116)](_0x17d92a),process[_0x4b84f9(0x135)]=_0x49ebed,logger['debug'](_0x4b84f9(0x130)+_0x49ebed),logger['info'](_0x4b84f9(0x15d)+_0x56127d),fs[_0x4b84f9(0x17d)](_0x56127d);fs['existsSync'](_0xaf5d2b)&&(logger[_0x4b84f9(0xf5)]('Deleting\x20'+_0xaf5d2b),fs['unlinkSync'](_0xaf5d2b));const _0x144abf=fs[_0x4b84f9(0x146)](path[_0x4b84f9(0x187)](helper['homedir'](),_0x332fc5[_0x4b84f9(0x114)]))[_0x4b84f9(0x118)](_0x5e3408=>_0x5e3408[_0x4b84f9(0x10a)](_0x4b84f9(0xf2)));_0x144abf[_0x4b84f9(0x12e)](_0x536926=>{const _0x3909f5=_0x4b84f9;fs[_0x3909f5(0x17d)](path[_0x3909f5(0x187)](helper[_0x3909f5(0x179)](),_0x51f572[_0x3909f5(0x109)],_0x536926));});}catch(_0x3d357b){logger[_0x4b84f9(0xf5)](_0x332fc5[_0x4b84f9(0x193)](_0x332fc5[_0x4b84f9(0x111)],_0x3d357b));}});})();}module[a38_0x4e1bc3(0x157)]=run;
2
+ 'use strict';const a40_0x365d1f=a40_0x8f2e;function a40_0x8f2e(_0x68ca2c,_0xc00044){const _0x18ef7a=a40_0x18ef();return a40_0x8f2e=function(_0x8f2eb,_0x3c0573){_0x8f2eb=_0x8f2eb-0xdd;let _0x190527=_0x18ef7a[_0x8f2eb];return _0x190527;},a40_0x8f2e(_0x68ca2c,_0xc00044);}(function(_0xf3849e,_0x1738b8){const _0x5a5142=a40_0x8f2e,_0xab2ef1=_0xf3849e();while(!![]){try{const _0x5bc01f=-parseInt(_0x5a5142(0x189))/0x1+-parseInt(_0x5a5142(0xf7))/0x2*(parseInt(_0x5a5142(0xfb))/0x3)+-parseInt(_0x5a5142(0x160))/0x4*(-parseInt(_0x5a5142(0x11a))/0x5)+parseInt(_0x5a5142(0x142))/0x6*(-parseInt(_0x5a5142(0x12e))/0x7)+parseInt(_0x5a5142(0x18d))/0x8*(parseInt(_0x5a5142(0xf1))/0x9)+parseInt(_0x5a5142(0x16c))/0xa*(parseInt(_0x5a5142(0x112))/0xb)+-parseInt(_0x5a5142(0xfa))/0xc*(-parseInt(_0x5a5142(0x108))/0xd);if(_0x5bc01f===_0x1738b8)break;else _0xab2ef1['push'](_0xab2ef1['shift']());}catch(_0x32a3c6){_0xab2ef1['push'](_0xab2ef1['shift']());}}}(a40_0x18ef,0xbe36c));function a40_0x18ef(){const _0x5ea779=['trace_','UCbXy','cliConfig','--disable-test-observability','uxLYs','VDNFC','SDK_POST_INITIALIZE','concat','startsWith','6163912jXqLsu','BROWSERSTACK_RERUN_TESTS','PJQcs','parse','clearTempPWConfig','inherit','push','playwright-browserstack-sdk.config.js','requirePWModule','SKKgn','BROWSERSTACK_TEST_OBSERVABILITY','../v2/TestInfo','10QBNGkW','splice','browserstackSetupConfig.json','winstonLogger','../../helpers/test-observability/constants','Vcjfw','PEpwa','existsSync','cowts','mreeZ','BROWSERSTACK_RERUN','BROWSERSTACK_SETUP_CONFIG_PATH','errorMessage','accessibilityOptions','nestedKeyValue','setBrowserstackConfig','SDK_SETUP','child_process','config','npx','lEfat','env','stop','setFrameworkDetail','.browserstack','getInstance','wbVMW','IRjng','PLAYWRIGHT','1056250CUfnAr','forEach','AFFZm','./accessibility-helper','8qEuMTK','Updated\x20config\x20file\x20name\x20to\x20-\x20','msart','length','resolve','ckbsu','findIndex','join','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','--config=','playwright-browserstack-sdk.config.cjs','automation','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','Hlddw','finalExecution','CSIeB','xRXRf','FIATQ','BrowserStack\x20config\x20file\x20not\x20found.','VrUKe','SdgYW','../../helpers/testhub/testhubHandler','Playwright\x20process\x20exited\x20with\x20code\x20','JWBzR','qPXUW','10204281fiDAGq','SDK_CLEANUP','Deleting\x20','pw_result.json','vuIUE','../../helpers/performance/constants','100916BRozdb','WjVCZ','path','2196lHKPzH','45vZtbcE','end','dTvKI','cPQCP','unlinkSync','hIYgc','nFsjg','info','tgTgg','EuAji','win32','xubQR','EVENTS','23179wxOETP','util','slQIk','apply','tzqWY','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','browserstackAutomation','writeFileSync','isTrue','USER_CONFIG_DETAILS_PATH','4098468lwIMgj','getConfig','start','isTypescriptProject','testObservability','bootstrap','split','../../helpers/utilities','5blMaHr','--config','ECrhq','igfpX','close','true','filterBrowserstackArgs','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','readdirSync','../../helpers/performance/performance-tester','bqpJt','Error\x20in\x20deleting\x20playwright\x20results','getProxyUrl','slice','rHaHI','filter','skipSessionName','../../helpers/helper','accessibility','../v2/cliUtils','14ITfDGT','SDK_PRE_INITIALIZE','validateRerunTestList','debug','getPackageType','map','FPaWx','--grep','SIqba','MODULE','../v2/browserstackCLI','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isUndefined','testContextOptions','../../helpers/BrowserStackSetup','readFileSync','cwd','dirname','jmUhE','BROWSERSTACK_AUTOMATION','2344284yTPgGG','false','fiNXM','tjBkD','error','test','skipSessionStatus','../../helpers/test-observability/utils','resolvedConfigFile','assign','isRunning','YeuEo','homedir','PACKAGE_TYPE','initialize','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','../../helpers/accessibility-automation/helper','platform','bSOSt','hoPqz','ztIXN'];a40_0x18ef=function(){return _0x5ea779;};return a40_0x18ef();}const fs=require('fs'),path=require(a40_0x365d1f(0xf9)),{spawn}=require(a40_0x365d1f(0x17d)),{format}=require(a40_0x365d1f(0x109)),logger=require('../../helpers/logger')[a40_0x365d1f(0x16f)],{default:BrowserStackSetup}=require(a40_0x365d1f(0x13c)),helper=require(a40_0x365d1f(0x12b)),utilities=require(a40_0x365d1f(0x119)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a40_0x365d1f(0x170)),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a40_0x365d1f(0x152)),{setAccessibilityCapabilities}=require(a40_0x365d1f(0x18c)),{printBuildLink}=require(a40_0x365d1f(0x149)),TestDetails=require('./reporter/test-details'),TestHubHandler=require(a40_0x365d1f(0xed)),PerformanceTester=require(a40_0x365d1f(0x123)),BrowserstackCLI=require(a40_0x365d1f(0x138)),PerformanceEvents=require(a40_0x365d1f(0xf6))[a40_0x365d1f(0x107)],CLIUtils=require(a40_0x365d1f(0x12d)),TestInfo=require(a40_0x365d1f(0x16b)),getUserPlaywrightConfig=async(_0x4ac52f,_0x1f9429)=>{const _0x2de1fb=a40_0x365d1f,_0x1709b9={'uxLYs':function(_0x2fa265){return _0x2fa265();},'jmUhE':function(_0x316c8d,_0x20d98){return _0x316c8d(_0x20d98);},'AFFZm':_0x2de1fb(0x14a),'qPXUW':'--config='},_0x3ccfe4=!helper['isUndefined'](_0x4ac52f['config']),_0x7a6b6c=_0x3ccfe4?path[_0x2de1fb(0x191)](process[_0x2de1fb(0x13e)](),_0x4ac52f[_0x2de1fb(0x17e)]):process[_0x2de1fb(0x13e)](),{resolveConfigFile:_0x21f28e,resolveConfigLocation:_0x3a4753}=helper[_0x2de1fb(0x168)][_0x2de1fb(0x10b)](null,_0x1709b9[_0x2de1fb(0x15b)](getConfigLoaderPath)),_0x5edafd=_0x21f28e?_0x1709b9[_0x2de1fb(0x140)](_0x21f28e,_0x7a6b6c):helper[_0x2de1fb(0x17a)](_0x1709b9[_0x2de1fb(0x140)](_0x3a4753,_0x7a6b6c),[_0x1709b9[_0x2de1fb(0x18b)]]),_0x591111={};if(_0x3ccfe4){const _0x3b8afe=_0x1f9429[_0x2de1fb(0xde)](_0x51529f=>_0x51529f===_0x2de1fb(0x11b)||_0x51529f==='-c'||_0x51529f['startsWith'](_0x2de1fb(0xe1)));_0x1f9429[_0x2de1fb(0x16d)](_0x3b8afe,_0x1f9429[_0x3b8afe][_0x2de1fb(0x15f)](_0x1709b9[_0x2de1fb(0xf0)])?0x1:0x2);}const _0x7a11cc={};return _0x7a11cc[_0x2de1fb(0xf9)]=_0x5edafd,_0x7a11cc[_0x2de1fb(0x17e)]=_0x591111,_0x7a11cc;},handleO11yRerun=_0x15fcf9=>{const _0x47797b=a40_0x365d1f,_0x3dde7f={};_0x3dde7f[_0x47797b(0x158)]=_0x47797b(0x135);const _0x2bdd69=_0x3dde7f,_0x3dc647=helper[_0x47797b(0x110)](process['env'][_0x47797b(0x176)]);if(_0x3dc647){const _0x2257f5=process[_0x47797b(0x181)][_0x47797b(0x161)],_0x2cb926=[];if(helper[_0x47797b(0x130)](_0x2257f5)&&!helper[_0x47797b(0x13a)](_0x2257f5)){_0x2257f5[_0x47797b(0x118)](',')[_0x47797b(0x133)](_0x2a0d9b=>{_0x2cb926['push']('('+_0x2a0d9b['trim']()+')');});const _0x8ce747='^'+_0x2cb926['join']('|')+'$';_0x15fcf9[_0x47797b(0x166)](_0x2bdd69[_0x47797b(0x158)],_0x8ce747);}}},spawnOriginalProcess=_0x1d1873=>{const _0xb27a5b=a40_0x365d1f,_0x2e70dd={'IRjng':function(_0x389824,_0x1635ca,_0x5d8aa9,_0x23eba6){return _0x389824(_0x1635ca,_0x5d8aa9,_0x23eba6);},'ckbsu':_0xb27a5b(0x17f),'mreeZ':'playwright','tzqWY':function(_0x36151d,_0x352919){return _0x36151d===_0x352919;},'FIATQ':_0xb27a5b(0x105),'wbVMW':_0xb27a5b(0x165)};_0x2e70dd[_0xb27a5b(0x187)](spawn,_0x2e70dd[_0xb27a5b(0xdd)],[_0x2e70dd[_0xb27a5b(0x175)],..._0x1d1873['slice'](0x1)],{'shell':_0x2e70dd[_0xb27a5b(0x10c)](process[_0xb27a5b(0x153)],_0x2e70dd[_0xb27a5b(0xe9)]),'stdio':_0x2e70dd[_0xb27a5b(0x186)],'cwd':process['cwd']()});},isTestCommand=(_0x4b252d,_0x191786)=>{const _0x165770=a40_0x365d1f,_0x39147a={};_0x39147a['cowts']=function(_0x387064,_0x11c6ee){return _0x387064>_0x11c6ee;},_0x39147a[_0x165770(0x14d)]=function(_0x2741a5,_0x3e9718){return _0x2741a5===_0x3e9718;},_0x39147a['tgTgg']=_0x165770(0x147);const _0x2e1f22=_0x39147a;if(_0x2e1f22[_0x165770(0x174)](_0x191786[_0x165770(0x190)],0x1)&&_0x2e1f22['YeuEo'](_0x191786[0x1],_0x2e1f22[_0x165770(0x103)]))return!![];return![];};async function run(_0x37513f,_0x2ac579,_0x24121a){const _0x13deed=a40_0x365d1f,_0x5af675={'tjBkD':function(_0x4c1a11,_0x2ec9ec){return _0x4c1a11(_0x2ec9ec);},'stNoF':_0x13deed(0x184),'lEfat':_0x13deed(0xf4),'VDNFC':function(_0x469d85,_0x485a4e){return _0x469d85+_0x485a4e;},'hIYgc':'Error\x20in\x20getting\x20funnel\x20data\x20results','ztIXN':function(_0x1acecc){return _0x1acecc();},'igfpX':'Error\x20in\x20closing\x20playwright','JWBzR':_0x13deed(0xea),'XmFol':function(_0x44299f,_0x21f4e8){return _0x44299f===_0x21f4e8;},'WjVCZ':_0x13deed(0x143),'FPaWx':_0x13deed(0x15a),'cPQCP':function(_0x175655,_0x2615e5){return _0x175655>=_0x2615e5;},'slQIk':function(_0x36cb29,_0x62708){return _0x36cb29===_0x62708;},'nNLRL':_0x13deed(0xe3),'Hlddw':function(_0x3c0403,_0x4360fb){return _0x3c0403!=_0x4360fb;},'xRXRf':function(_0xdbfb8e,_0x3380a5,_0x26ac28){return _0xdbfb8e(_0x3380a5,_0x26ac28);},'Vcjfw':function(_0x4f9d7a,_0x3b0797){return _0x4f9d7a(_0x3b0797);},'VrUKe':function(_0x59a439,_0x45d0c6){return _0x59a439===_0x45d0c6;},'bqpJt':_0x13deed(0x11f),'vpMaw':function(_0xbb9fe6,_0x5d639a){return _0xbb9fe6(_0x5d639a);},'fiNXM':_0x13deed(0x16e),'SdgYW':_0x13deed(0xe2),'bSOSt':_0x13deed(0x167),'ECrhq':function(_0x2aa3cd,_0x4acaa1){return _0x2aa3cd-_0x4acaa1;},'nFsjg':function(_0x237518,_0x10fd7f){return _0x237518+_0x10fd7f;},'zhTng':_0x13deed(0x18e),'ZukPs':function(_0x464a14,_0x152a64){return _0x464a14>_0x152a64;},'EuAji':function(_0x53543a,_0x17d563){return _0x53543a+_0x17d563;},'CSIeB':function(_0x75c6db,_0x40fbfe,_0x541eb2,_0xf85760){return _0x75c6db(_0x40fbfe,_0x541eb2,_0xf85760);},'dIXer':_0x13deed(0x17f),'vuIUE':'playwright','PEpwa':'test','PJQcs':_0x13deed(0x11b),'dTvKI':function(_0x47fcc6,_0x588778){return _0x47fcc6===_0x588778;},'SIqba':_0x13deed(0x105),'tKJEX':_0x13deed(0x165),'msart':_0x13deed(0x11e),'lDQVb':_0x13deed(0x125),'hoPqz':function(_0x40046f,_0x200940,_0x289b5b){return _0x40046f(_0x200940,_0x289b5b);}};try{const _0x26e484=path[_0x13deed(0xdf)](helper['homedir'](),_0x5af675['stNoF'],_0x5af675['lEfat']);fs[_0x13deed(0x173)](_0x26e484)&&fs[_0x13deed(0xff)](_0x26e484);}catch(_0x551cde){logger['debug'](_0x5af675[_0x13deed(0x101)](_0x5af675['lDQVb'],_0x551cde));}if(!_0x5af675[_0x13deed(0x155)](isTestCommand,_0x37513f,_0x2ac579)){_0x5af675[_0x13deed(0x171)](spawnOriginalProcess,_0x2ac579);return;}await PerformanceTester['measureWrapper'](PerformanceEvents[_0x13deed(0x12f)],async()=>{const _0x5166a2=_0x13deed,_0x66d3fe={'rHaHI':_0x5af675['stNoF'],'SKKgn':_0x5af675[_0x5166a2(0x180)],'xubQR':function(_0x48d96e,_0xb607e9){const _0x4213fd=_0x5166a2;return _0x5af675[_0x4213fd(0x15c)](_0x48d96e,_0xb607e9);},'lowBB':_0x5af675[_0x5166a2(0x100)],'YfTVE':function(_0x509154){const _0x4b83d9=_0x5166a2;return _0x5af675[_0x4b83d9(0x156)](_0x509154);},'fefTq':_0x5af675[_0x5166a2(0x11d)]};if(!_0x24121a[_0x5166a2(0x17e)]){logger[_0x5166a2(0x146)](_0x5af675[_0x5166a2(0xef)]);return;}await _0x24121a[_0x5166a2(0x150)](_0x37513f),CLIUtils[_0x5166a2(0x183)](FRAMEWORKS[_0x5166a2(0x188)],FRAMEWORKS[_0x5166a2(0x188)]),BrowserstackCLI['getInstance']()[_0x5166a2(0x17b)](_0x24121a['config'],_0x24121a[_0x5166a2(0x159)]),await BrowserstackCLI[_0x5166a2(0x185)]()[_0x5166a2(0x117)]();const _0x405fb2=BrowserstackCLI[_0x5166a2(0x185)]()[_0x5166a2(0x113)]();!helper['isFalse'](_0x405fb2[_0x5166a2(0x10e)])&&(process[_0x5166a2(0x181)][_0x5166a2(0x141)]=!![]);_0x5af675['XmFol'](_0x405fb2['browserstackAutomation'],![])&&(process[_0x5166a2(0x181)][_0x5166a2(0x141)]=_0x5af675[_0x5166a2(0xf8)],_0x2ac579=_0x2ac579[_0x5166a2(0x129)](_0x5c5f1e=>_0x5c5f1e!=='--disable-browserstack-automation'));const _0x2dc632=_0x2ac579['indexOf'](_0x5af675[_0x5166a2(0x134)]);(_0x5af675[_0x5166a2(0xfe)](_0x2dc632,0x0)||_0x5af675[_0x5166a2(0x10a)](_0x405fb2[_0x5166a2(0x116)],![]))&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=_0x5af675['WjVCZ'],_0x2ac579=_0x2ac579[_0x5166a2(0x129)](_0x544996=>_0x544996!==_0x5166a2(0x15a)));!helper[_0x5166a2(0x13a)](_0x24121a['cliConfig'])&&_0x24121a[_0x5166a2(0x159)]['has'](_0x5af675['nNLRL'])&&(process[_0x5166a2(0x181)][_0x5166a2(0x141)]=_0x24121a[_0x5166a2(0x159)]['get'](_0x5af675['nNLRL'])||!![]);_0x5af675[_0x5166a2(0xe5)](_0x24121a[_0x5166a2(0x17e)]['testObservability'],null)&&!helper[_0x5166a2(0x110)](process['env'][_0x5166a2(0x16a)])&&(process['env'][_0x5166a2(0x16a)]=process['env'][_0x5166a2(0x16a)]||_0x24121a[_0x5166a2(0x17e)][_0x5166a2(0x116)]);const _0xac08c4=!helper['isFalse'](process[_0x5166a2(0x181)][_0x5166a2(0x16a)]);_0x24121a[_0x5166a2(0x17e)][_0x5166a2(0x179)]&&(process[_0x5166a2(0x181)][_0x5166a2(0xe0)]=JSON['stringify'](_0x24121a[_0x5166a2(0x17e)]['accessibilityOptions']));let _0x3ed470=![];_0x24121a[_0x5166a2(0x17e)][_0x5166a2(0x12c)]&&(_0x3ed470=!![],process['env'][_0x5166a2(0x139)]=_0x24121a[_0x5166a2(0x17e)][_0x5166a2(0x12c)]);const _0x459ab6=_0x2ac579[_0x5166a2(0x15e)](),_0x34bdcd=await _0x5af675[_0x5166a2(0xe8)](getUserPlaywrightConfig,_0x37513f,_0x2ac579);if(helper[_0x5166a2(0x13a)](_0x34bdcd)){_0x5af675['Vcjfw'](spawnOriginalProcess,_0x459ab6);return;}const _0x430f9d=_0x34bdcd[_0x5166a2(0xf9)]?path[_0x5166a2(0x13f)](_0x34bdcd[_0x5166a2(0xf9)]):process[_0x5166a2(0x13e)]();process['env']['BROWSERSTACK_PW_CONFIG_DIR']=_0x430f9d,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x5166a2(0x15d)],async()=>{const _0xad12ed=_0x5166a2;!BrowserstackCLI[_0xad12ed(0x185)]()[_0xad12ed(0x14c)]()&&await TestHubHandler['launchBuild'](FRAMEWORKS[_0xad12ed(0x188)],_0x24121a),_0xac08c4&&_0x5af675[_0xad12ed(0x145)](handleO11yRerun,_0x2ac579);})();if(!BrowserstackCLI['getInstance']()[_0x5166a2(0x14c)]()){let _0x50bbd1=_0x5af675[_0x5166a2(0xeb)](process['env'][_0x5166a2(0x139)],_0x5af675[_0x5166a2(0x124)]);_0x50bbd1=_0x50bbd1||_0x5af675[_0x5166a2(0x171)](checkAccessibilityPlatformConfig,_0x24121a[_0x5166a2(0x17e)]),process[_0x5166a2(0x181)][_0x5166a2(0x139)]=_0x50bbd1,_0x50bbd1&&_0x5af675['vpMaw'](setAccessibilityCapabilities,_0x24121a['config']);}const _0x32b6b6=path[_0x5166a2(0xdf)](_0x34bdcd[_0x5166a2(0xf9)]?path[_0x5166a2(0x13f)](_0x34bdcd[_0x5166a2(0xf9)]):process['cwd'](),_0x5af675[_0x5166a2(0x144)]);fs[_0x5166a2(0x10f)](_0x32b6b6,helper['serializeToYamlString'](_0x24121a[_0x5166a2(0x17e)])),process[_0x5166a2(0x181)][_0x5166a2(0x177)]=_0x32b6b6,helper[_0x5166a2(0x164)]();let _0x327683='';_0x5af675[_0x5166a2(0x10a)](helper[_0x5166a2(0x132)](),constants[_0x5166a2(0x14f)][_0x5166a2(0x137)])?_0x327683=_0x5af675[_0x5166a2(0xec)]:_0x327683=_0x5af675[_0x5166a2(0x154)];let _0x26a35f='';if(helper[_0x5166a2(0x115)](_0x34bdcd[_0x5166a2(0xf9)])){_0x26a35f=_0x5166a2(0x10d);const _0x5111f9=_0x327683[_0x5166a2(0x118)]('.');_0x5111f9[_0x5af675[_0x5166a2(0x11c)](_0x5111f9[_0x5166a2(0x190)],0x1)]='ts',_0x327683=_0x5111f9[_0x5166a2(0xdf)]('.'),logger[_0x5166a2(0x131)](_0x5af675[_0x5166a2(0x101)](_0x5af675['zhTng'],_0x327683));}else _0x26a35f=_0x5166a2(0xe4);const _0x4ea1e7=path[_0x5166a2(0xdf)](_0x34bdcd[_0x5166a2(0xf9)]?path['dirname'](_0x34bdcd[_0x5166a2(0xf9)]):process[_0x5166a2(0x13e)](),_0x327683);let _0x3f48a8=_0x34bdcd['path']?_0x34bdcd['path']:'';_0x3f48a8=_0x5af675['ZukPs'](_0x3f48a8[_0x5166a2(0x190)],0x0)?path[_0x5166a2(0x191)](_0x3f48a8):'',process[_0x5166a2(0x181)][_0x5166a2(0x111)]=_0x3f48a8;const _0x41a636=helper[_0x5166a2(0x126)](_0x24121a['config']);_0x41a636&&(_0x26a35f=_0x5af675[_0x5166a2(0x104)](_0x5166a2(0x151)+_0x41a636+_0x5166a2(0x121),_0x26a35f));helper[_0x5166a2(0x120)]({},_0x2ac579),fs[_0x5166a2(0x10f)](_0x4ea1e7,_0x26a35f),PerformanceTester[_0x5166a2(0xfc)](PerformanceEvents[_0x5166a2(0x17c)]);const _0xf8c21f=_0x5af675[_0x5166a2(0xe7)](spawn,_0x5af675['dIXer'],[_0x5af675[_0x5166a2(0xf5)],_0x5af675[_0x5166a2(0x172)],_0x5af675[_0x5166a2(0x162)],_0x4ea1e7,..._0x2ac579[_0x5166a2(0x127)](0x2)],{'shell':_0x5af675[_0x5166a2(0xfd)](process['platform'],_0x5af675[_0x5166a2(0x136)]),'stdio':_0x5af675['tKJEX'],'cwd':process[_0x5166a2(0x13e)](),'env':Object[_0x5166a2(0x14b)]({},process[_0x5166a2(0x181)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x37513f),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x24121a[_0x5166a2(0x17e)][_0x5166a2(0x13b)][_0x5166a2(0x148)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x24121a[_0x5166a2(0x17e)][_0x5166a2(0x13b)][_0x5166a2(0x12a)],'BROWSERSTACK_LOG_LEVEL':_0x24121a[_0x5166a2(0x17e)]['logLevel']})}),_0x3db8dd=()=>{const _0x582f98=_0x5166a2;try{const _0x1fc4d1=path[_0x582f98(0xdf)](helper['homedir'](),_0x66d3fe[_0x582f98(0x128)],_0x66d3fe[_0x582f98(0x169)]);if(fs[_0x582f98(0x173)](_0x1fc4d1)){let _0x52594a=fs[_0x582f98(0x13d)](_0x1fc4d1);_0x52594a=JSON[_0x582f98(0x163)](_0x52594a),_0x24121a[_0x582f98(0x178)]=_0x52594a,fs[_0x582f98(0xff)](_0x1fc4d1);}}catch(_0x49074d){logger['debug'](_0x66d3fe[_0x582f98(0x106)](_0x66d3fe['lowBB'],_0x49074d));}};_0xf8c21f['on'](_0x5af675[_0x5166a2(0x18f)],async _0x365b89=>{const _0x36520f=_0x5166a2;try{PerformanceTester[_0x36520f(0x114)](PerformanceEvents[_0x36520f(0xf2)]),_0x66d3fe['YfTVE'](_0x3db8dd),await TestHubHandler[_0x36520f(0x182)](),await BrowserstackCLI[_0x36520f(0x185)]()[_0x36520f(0x182)](),TestDetails['shutdown'](),_0x66d3fe['YfTVE'](printBuildLink),await utilities[_0x36520f(0xe6)](_0x24121a),process['exitCode']=_0x365b89,logger[_0x36520f(0x131)](_0x36520f(0xee)+_0x365b89),logger[_0x36520f(0x102)](_0x36520f(0xf3)+_0x4ea1e7),fs[_0x36520f(0xff)](_0x4ea1e7);fs[_0x36520f(0x173)](_0x32b6b6)&&(logger[_0x36520f(0x131)](_0x36520f(0xf3)+_0x32b6b6),fs['unlinkSync'](_0x32b6b6));const _0x57bde8=fs[_0x36520f(0x122)](path[_0x36520f(0xdf)](helper[_0x36520f(0x14e)](),_0x66d3fe['rHaHI']))['filter'](_0x59d575=>_0x59d575[_0x36520f(0x15f)](_0x36520f(0x157)));_0x57bde8[_0x36520f(0x18a)](_0x426436=>{const _0x10de8f=_0x36520f;fs[_0x10de8f(0xff)](path[_0x10de8f(0xdf)](helper['homedir'](),_0x66d3fe[_0x10de8f(0x128)],_0x426436));});}catch(_0x1422a2){logger[_0x36520f(0x131)](_0x66d3fe[_0x36520f(0x106)](_0x66d3fe['fefTq'],_0x1422a2));}});})();}module['exports']=run;
@@ -1 +1 @@
1
- const a39_0x1b4acd=a39_0x5b9b;(function(_0x12660c,_0x2636ba){const _0x1adca6=a39_0x5b9b,_0x2892f1=_0x12660c();while(!![]){try{const _0x402cb9=parseInt(_0x1adca6(0x177))/0x1*(parseInt(_0x1adca6(0x157))/0x2)+parseInt(_0x1adca6(0x166))/0x3*(parseInt(_0x1adca6(0x168))/0x4)+parseInt(_0x1adca6(0x17b))/0x5*(-parseInt(_0x1adca6(0x158))/0x6)+-parseInt(_0x1adca6(0x162))/0x7+parseInt(_0x1adca6(0x16c))/0x8+parseInt(_0x1adca6(0x170))/0x9+-parseInt(_0x1adca6(0x153))/0xa*(parseInt(_0x1adca6(0x16a))/0xb);if(_0x402cb9===_0x2636ba)break;else _0x2892f1['push'](_0x2892f1['shift']());}catch(_0x3489de){_0x2892f1['push'](_0x2892f1['shift']());}}}(a39_0x1e98,0x93b63));const util=require(a39_0x1b4acd(0x172)),child_process=require(a39_0x1b4acd(0x15b)),{FRAMEWORKS}=require(a39_0x1b4acd(0x174)),{getFrameworkVersion,debug}=require(a39_0x1b4acd(0x179)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a39_0x1b4acd(0x15c)),{mockIsWorkerRedundant}=require(a39_0x1b4acd(0x169)),logger=require(a39_0x1b4acd(0x16f))[a39_0x1b4acd(0x17d)];function a39_0x1e98(){const _0x381aea=['function','1384550qViFHG','PLAYWRIGHT','debug','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','2IfnXpH','5985726XpUxJw','isHandlePWErrorSet','tOdUX','child_process','./reporter/pwUtils','env','apply','./mock-process.js','format','Not\x20able\x20to\x20import\x20globalSetup','5912018YSRkLG','compareVersions','VFQeO','exports','2392023WHTZPi','AnnYI','4rFuNyQ','./patches','99zNImyB','gwIKp','7577816rsLdPm','requirePWModule','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','../../helpers/logger','6851952MvqRBK','wHdhV','util','toString','../../helpers/test-observability/constants','1.33.0','upyRP','1187421nvnDvf','fork','../../helpers/test-observability/utils','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','5cRGOxE','XlChf','winstonLogger','includes','UawTH'];a39_0x1e98=function(){return _0x381aea;};return a39_0x1e98();}function a39_0x5b9b(_0x355695,_0x221486){const _0x1e9821=a39_0x1e98();return a39_0x5b9b=function(_0x5b9bdf,_0x564813){_0x5b9bdf=_0x5b9bdf-0x153;let _0x34dc68=_0x1e9821[_0x5b9bdf];return _0x34dc68;},a39_0x5b9b(_0x355695,_0x221486);}module[a39_0x1b4acd(0x165)]=async function(_0x56f070){const _0x2bc78a=a39_0x1b4acd,_0xf4be5d={'UgXSU':function(_0x3dca08,_0x2b9136){return _0x3dca08(_0x2b9136);},'wHdhV':function(_0x10ce3f){return _0x10ce3f();},'VFQeO':_0x2bc78a(0x15f),'mtjlf':function(_0x49365d){return _0x49365d();},'EwONb':function(_0x2b33b4){return _0x2b33b4();},'dDcWK':function(_0x5a158d,_0x40fd73){return _0x5a158d(_0x40fd73);},'gwIKp':'Running\x20existing\x20global\x20setup','YTMbL':function(_0x2e63e9){return _0x2e63e9();},'GZSuT':function(_0x2d7c51,_0x52c52d){return _0x2d7c51>=_0x52c52d;},'XlChf':_0x2bc78a(0x175),'UawTH':function(_0x1d9af0,_0x218b43,_0x435bf1){return _0x1d9af0(_0x218b43,_0x435bf1);},'upyRP':function(_0x3bfda2,_0x3da418){return _0x3bfda2!==_0x3da418;},'AnnYI':_0x2bc78a(0x180),'tOdUX':_0x2bc78a(0x161),'SmCVd':function(_0x50b4cb,_0x2283ac){return _0x50b4cb(_0x2283ac);}},_0x2ab9fc=child_process[_0x2bc78a(0x178)];if(helper[_0x2bc78a(0x159)]())try{_0xf4be5d['EwONb'](mockIsWorkerRedundant);}catch(_0x902135){logger[_0x2bc78a(0x155)](_0x2bc78a(0x16e)+util[_0x2bc78a(0x160)](_0x902135));}child_process[_0x2bc78a(0x178)]=function(){const _0x3fe009=_0x2bc78a;return _0xf4be5d['UgXSU'](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x3fe009(0x17e)](_0xf4be5d[_0x3fe009(0x171)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0xf4be5d[_0x3fe009(0x164)]):logger['error']('Path\x20'+_0xf4be5d['mtjlf'](getForkProcessPath)+'\x20is\x20not\x20found'),_0x2ab9fc['apply'](null,arguments);};if(process['env'][_0x2bc78a(0x17a)]){_0xf4be5d['dDcWK'](debug,_0xf4be5d[_0x2bc78a(0x16b)]);try{const {loadGlobalHook:_0x21eaef}=helper[_0x2bc78a(0x16d)]['apply'](null,_0xf4be5d['YTMbL'](getLoadUtilsPath)),_0x33fe89=_0xf4be5d['dDcWK'](getFrameworkVersion,FRAMEWORKS[_0x2bc78a(0x154)]);let _0x18a2cb=_0x56f070;if(_0xf4be5d['GZSuT'](helper[_0x2bc78a(0x163)](_0x33fe89,_0xf4be5d[_0x2bc78a(0x17c)]),0x0)){const _0x2ddc62={};_0x2ddc62['config']=_0x56f070,_0x18a2cb=_0x2ddc62;}const _0x43539a=await _0xf4be5d[_0x2bc78a(0x17f)](_0x21eaef,_0x18a2cb,process[_0x2bc78a(0x15d)][_0x2bc78a(0x17a)]);if(_0xf4be5d[_0x2bc78a(0x176)](typeof _0x43539a,_0xf4be5d[_0x2bc78a(0x167)]))throw new Error(_0xf4be5d[_0x2bc78a(0x15a)]);return _0x43539a[_0x2bc78a(0x15e)](null,arguments);}catch(_0x313241){_0xf4be5d['SmCVd'](debug,_0x2bc78a(0x156)+_0x313241[_0x2bc78a(0x173)]());}}};
1
+ const a41_0x3582fd=a41_0x5c33;(function(_0x5f0c86,_0x2e67be){const _0x1753b1=a41_0x5c33,_0x33dd26=_0x5f0c86();while(!![]){try{const _0x5cdd4e=parseInt(_0x1753b1(0x114))/0x1+-parseInt(_0x1753b1(0x117))/0x2*(-parseInt(_0x1753b1(0x113))/0x3)+-parseInt(_0x1753b1(0x136))/0x4*(parseInt(_0x1753b1(0x128))/0x5)+-parseInt(_0x1753b1(0x12e))/0x6*(parseInt(_0x1753b1(0x121))/0x7)+parseInt(_0x1753b1(0x12d))/0x8*(-parseInt(_0x1753b1(0x116))/0x9)+-parseInt(_0x1753b1(0x131))/0xa+parseInt(_0x1753b1(0x11b))/0xb*(parseInt(_0x1753b1(0x112))/0xc);if(_0x5cdd4e===_0x2e67be)break;else _0x33dd26['push'](_0x33dd26['shift']());}catch(_0x14c3e0){_0x33dd26['push'](_0x33dd26['shift']());}}}(a41_0x1c18,0xe9cb0));const util=require('util'),child_process=require(a41_0x3582fd(0x11d)),{FRAMEWORKS}=require(a41_0x3582fd(0x13e)),{getFrameworkVersion,debug}=require(a41_0x3582fd(0x115)),helper=require(a41_0x3582fd(0x124)),{getLoadUtilsPath,getForkProcessPath}=require(a41_0x3582fd(0x135)),{mockIsWorkerRedundant}=require('./patches'),logger=require(a41_0x3582fd(0x123))['winstonLogger'];function a41_0x1c18(){const _0x1c7577=['../../helpers/test-observability/constants','exports','isHandlePWErrorSet','VXSAJ','156MACioE','3qcTOTY','959187KYvvlq','../../helpers/test-observability/utils','79938opHPmh','2985110TdbjND','compareVersions','apply','env','2054437OjSYmy','NQaCG','child_process','./mock-process.js','\x20is\x20not\x20found','debug','1442602lELvCm','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','../../helpers/logger','../../helpers/helper','resolve','Not\x20able\x20to\x20import\x20globalSetup','qhWCW','122115MHuoiL','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','function','LSGTB','tiIPM','456vqzmCQ','18BsRNan','Running\x20existing\x20global\x20setup','doPTh','15031460aHFKTy','config','cSZbK','Call\x20to\x20child\x20fork\x20with\x20args\x20','./reporter/pwUtils','212LWrvHR','requirePWModule','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','wXgDY','dFoQb','PLAYWRIGHT','fork','1.33.0'];a41_0x1c18=function(){return _0x1c7577;};return a41_0x1c18();}function a41_0x5c33(_0x4164d8,_0xc16dcd){const _0x1c18ef=a41_0x1c18();return a41_0x5c33=function(_0x5c33dd,_0x45144e){_0x5c33dd=_0x5c33dd-0x110;let _0x243a45=_0x1c18ef[_0x5c33dd];return _0x243a45;},a41_0x5c33(_0x4164d8,_0xc16dcd);}module[a41_0x3582fd(0x13f)]=async function(_0x56c519){const _0x25030a=a41_0x3582fd,_0x285305={'qhWCW':function(_0x47e673,_0x1221aa){return _0x47e673(_0x1221aa);},'VXSAJ':function(_0xc6eef8){return _0xc6eef8();},'dFoQb':_0x25030a(0x11e),'LSGTB':_0x25030a(0x12f),'ghrBH':function(_0x341a95,_0x42eb47){return _0x341a95>=_0x42eb47;},'doPTh':_0x25030a(0x13d),'cSZbK':function(_0x3d2bdf,_0x5a655c,_0x1298d7){return _0x3d2bdf(_0x5a655c,_0x1298d7);},'tiIPM':function(_0xe00883,_0xfe2688){return _0xe00883!==_0xfe2688;},'NQaCG':_0x25030a(0x12a),'wXgDY':_0x25030a(0x126)},_0x465988=child_process[_0x25030a(0x13c)];if(helper[_0x25030a(0x110)]())try{_0x285305['VXSAJ'](mockIsWorkerRedundant);}catch(_0x54cb8b){logger[_0x25030a(0x120)](_0x25030a(0x129)+util['format'](_0x54cb8b));}child_process['fork']=function(){const _0x366eb5=_0x25030a;return _0x285305[_0x366eb5(0x127)](debug,_0x366eb5(0x134)+arguments[0x0]),arguments[0x0]['includes'](_0x285305['VXSAJ'](getForkProcessPath))?arguments[0x0]=require[_0x366eb5(0x125)](_0x285305[_0x366eb5(0x13a)]):logger['error']('Path\x20'+_0x285305[_0x366eb5(0x111)](getForkProcessPath)+_0x366eb5(0x11f)),_0x465988[_0x366eb5(0x119)](null,arguments);};if(process[_0x25030a(0x11a)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x285305['qhWCW'](debug,_0x285305[_0x25030a(0x12b)]);try{const {loadGlobalHook:_0x11f394}=helper[_0x25030a(0x137)][_0x25030a(0x119)](null,_0x285305[_0x25030a(0x111)](getLoadUtilsPath)),_0x21de35=_0x285305[_0x25030a(0x127)](getFrameworkVersion,FRAMEWORKS[_0x25030a(0x13b)]);let _0x38bfcd=_0x56c519;if(_0x285305['ghrBH'](helper[_0x25030a(0x118)](_0x21de35,_0x285305[_0x25030a(0x130)]),0x0)){const _0x16e29f={};_0x16e29f[_0x25030a(0x132)]=_0x56c519,_0x38bfcd=_0x16e29f;}const _0x3f409b=await _0x285305[_0x25030a(0x133)](_0x11f394,_0x38bfcd,process[_0x25030a(0x11a)][_0x25030a(0x122)]);if(_0x285305[_0x25030a(0x12c)](typeof _0x3f409b,_0x285305[_0x25030a(0x11c)]))throw new Error(_0x285305[_0x25030a(0x139)]);return _0x3f409b[_0x25030a(0x119)](null,arguments);}catch(_0x519ce1){_0x285305[_0x25030a(0x127)](debug,_0x25030a(0x138)+_0x519ce1['toString']());}}};