browserstack-node-sdk 1.34.31 → 1.34.33

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 (133) 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/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/templates/nginx/pods-and-services.yaml +6 -0
  25. package/ats/src/utils/AWSUtils.js +1 -1
  26. package/ats/src/utils/createAutoscalerStack.js +1 -1
  27. package/ats/src/utils/createClusterStack.js +1 -1
  28. package/ats/src/utils/createk8sClient.js +1 -1
  29. package/ats/src/utils/deleteStack.js +1 -1
  30. package/ats/src/utils/gridComponents.js +1 -1
  31. package/ats/src/utils/hstUtils.js +1 -1
  32. package/ats/src/utils/instrumentationUtils.js +1 -1
  33. package/ats/src/utils/userInput.js +1 -1
  34. package/ats/src/utils/utilityMethods.js +1 -1
  35. package/ats/src/utils/webSocketUtils.js +1 -1
  36. package/package.json +1 -1
  37. package/src/ai-sdk-node/bundle.js +1 -1
  38. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  39. package/src/bin/codeceptjs/command.js +1 -1
  40. package/src/bin/codeceptjs/helper.js +1 -1
  41. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  42. package/src/bin/cucumber-js/command.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  44. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  45. package/src/bin/cucumber-js/test-observability.js +1 -1
  46. package/src/bin/cucumber-js/test.setup.js +1 -1
  47. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  48. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  49. package/src/bin/integrations/command.js +1 -1
  50. package/src/bin/integrations/constants.js +1 -1
  51. package/src/bin/jest/command.js +1 -1
  52. package/src/bin/jest/customImplements/customCircus.js +1 -1
  53. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  54. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  55. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  56. package/src/bin/jest/jest.setup.js +1 -1
  57. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  58. package/src/bin/jest/test-observability/helper.js +1 -1
  59. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  60. package/src/bin/jest/test-observability/test-details.js +1 -1
  61. package/src/bin/jest/test_before.setup.js +1 -1
  62. package/src/bin/launcher/launcher.js +1 -1
  63. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  64. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  65. package/src/bin/mocha/command.js +1 -1
  66. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  67. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  68. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  69. package/src/bin/mocha/test.setup.js +1 -1
  70. package/src/bin/nightwatch/command.js +1 -1
  71. package/src/bin/playwright/accessibility-helper.js +1 -1
  72. package/src/bin/playwright/command.js +1 -1
  73. package/src/bin/playwright/globalSetup.js +1 -1
  74. package/src/bin/playwright/mock-process.js +1 -1
  75. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  76. package/src/bin/playwright/patches.js +1 -1
  77. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  78. package/src/bin/playwright/reporter/reporter.js +1 -1
  79. package/src/bin/playwright/reporter/test-details.js +1 -1
  80. package/src/bin/playwright/sessionDetails.js +1 -1
  81. package/src/bin/runner.js +1 -1
  82. package/src/bin/setup.js +1 -1
  83. package/src/bin/test-runner/index.js +1 -1
  84. package/src/bin/test-runner/runTest.js +1 -1
  85. package/src/bin/test-runner/testWorker.js +1 -1
  86. package/src/bin/utils/constants.js +1 -1
  87. package/src/bin/utils/log4jsAppender.js +1 -1
  88. package/src/bin/utils/logPatcher.js +1 -1
  89. package/src/bin/utils/logReportingAPI.js +1 -1
  90. package/src/bin/vanilla-js/command.js +1 -1
  91. package/src/browserStackSdk.js +1 -1
  92. package/src/helpers/BrowserStackSetup.js +1 -1
  93. package/src/helpers/accessibility-automation/constants.js +1 -1
  94. package/src/helpers/accessibility-automation/helper.js +1 -1
  95. package/src/helpers/accessibility-automation/scripts.js +1 -1
  96. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  97. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  98. package/src/helpers/ats/constants.js +1 -1
  99. package/src/helpers/ats/helper.js +1 -1
  100. package/src/helpers/capsMapping.js +1 -1
  101. package/src/helpers/central-scanner/constants.js +1 -1
  102. package/src/helpers/central-scanner/helpers.js +1 -1
  103. package/src/helpers/globals.js +1 -1
  104. package/src/helpers/helper.js +1 -1
  105. package/src/helpers/logger.js +1 -1
  106. package/src/helpers/patchHelper.js +1 -1
  107. package/src/helpers/patchHelpers.js +1 -1
  108. package/src/helpers/percy/Percy.js +1 -1
  109. package/src/helpers/percy/PercyBinary.js +1 -1
  110. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  111. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  112. package/src/helpers/percy/PercySDK.js +1 -1
  113. package/src/helpers/percy/index.js +1 -1
  114. package/src/helpers/percy/utils.js +1 -1
  115. package/src/helpers/performance/constants.js +1 -0
  116. package/src/helpers/performance/performance-tester.js +1 -0
  117. package/src/helpers/processHelper.js +1 -0
  118. package/src/helpers/request-spy.js +1 -1
  119. package/src/helpers/setKeepAlive.js +1 -1
  120. package/src/helpers/test-observability/constants.js +1 -1
  121. package/src/helpers/test-observability/error-handler.js +1 -1
  122. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  123. package/src/helpers/test-observability/sessionHandler.js +1 -1
  124. package/src/helpers/test-observability/utils.js +1 -1
  125. package/src/helpers/testhub/constants.js +1 -1
  126. package/src/helpers/testhub/testhubHandler.js +1 -1
  127. package/src/helpers/testhub/utils.js +1 -1
  128. package/src/helpers/timeoutPromise.js +1 -1
  129. package/src/helpers/utilities.js +1 -1
  130. package/src/helpers/w3cMapping.js +1 -1
  131. package/src/hubAllocationMethods.js +1 -1
  132. package/src/index.js +1 -1
  133. package/src/helpers/performance-tester.js +0 -1
@@ -1 +1 @@
1
- const a29_0x2dca33=a29_0x2561;function a29_0x2561(_0x33095c,_0x2fbe3d){const _0x55bd4e=a29_0x55bd();return a29_0x2561=function(_0x256187,_0x3229c2){_0x256187=_0x256187-0x1a6;let _0x41b17d=_0x55bd4e[_0x256187];return _0x41b17d;},a29_0x2561(_0x33095c,_0x2fbe3d);}(function(_0x5eb8c9,_0x4c6a74){const _0x15113f=a29_0x2561,_0x284a37=_0x5eb8c9();while(!![]){try{const _0x37d52e=-parseInt(_0x15113f(0x1ff))/0x1+-parseInt(_0x15113f(0x222))/0x2*(parseInt(_0x15113f(0x220))/0x3)+parseInt(_0x15113f(0x1e4))/0x4*(-parseInt(_0x15113f(0x1d0))/0x5)+parseInt(_0x15113f(0x1dc))/0x6*(-parseInt(_0x15113f(0x212))/0x7)+parseInt(_0x15113f(0x1bb))/0x8+-parseInt(_0x15113f(0x21c))/0x9+-parseInt(_0x15113f(0x1c7))/0xa*(-parseInt(_0x15113f(0x204))/0xb);if(_0x37d52e===_0x4c6a74)break;else _0x284a37['push'](_0x284a37['shift']());}catch(_0x18fbc0){_0x284a37['push'](_0x284a37['shift']());}}}(a29_0x55bd,0xc4923));const logger=require(a29_0x2dca33(0x1e2))[a29_0x2dca33(0x1e0)],helper=require('../../../helpers/helper'),constants=require('../../../bin/utils/constants'),hubAllocator=require(a29_0x2dca33(0x1b7)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x2dca33(0x1a9)),{setAccessibilityCapabilities,setExtension}=require(a29_0x2dca33(0x20f)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a29_0x2dca33(0x1f9)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x417ca2,_0xdd0886=null,_0x55cdf8=![])=>{const _0x4721bb=a29_0x2dca33,_0x53bbbd={'Ztaip':function(_0x58ea00,_0x230c87){return _0x58ea00!==_0x230c87;},'XnZzi':_0x4721bb(0x1be),'ZeHYA':function(_0x1b8978,_0x295e1f){return _0x1b8978+_0x295e1f;},'rffZY':function(_0x44bd8b,_0x135057){return _0x44bd8b+_0x135057;},'SGMFf':_0x4721bb(0x1e3),'aqvqg':_0x4721bb(0x1f5),'EWkfX':'goog:chromeOptions','UlFqO':_0x4721bb(0x1fd),'RCRmK':_0x4721bb(0x1dd),'BIpPL':_0x4721bb(0x1c0),'URHdh':'moz:firefoxOptions','oJwmV':_0x4721bb(0x224),'RgmtA':_0x4721bb(0x1ec),'ljTdg':_0x4721bb(0x1da),'DAMuy':_0x4721bb(0x1ab),'lqqyo':function(_0x461b96,_0x367054){return _0x461b96===_0x367054;},'QsRXE':'object','jLyqk':_0x4721bb(0x1c5),'NYTbQ':function(_0x23ae99,_0x45ea5f,_0x904ba4){return _0x23ae99(_0x45ea5f,_0x904ba4);},'RRSFg':function(_0x503a9a,_0x26a83a,_0x4585c1){return _0x503a9a(_0x26a83a,_0x4585c1);},'hTIXd':function(_0x797a5a,_0x5e8747){return _0x797a5a(_0x5e8747);},'akxyY':function(_0x3b972a,_0x52e8f2,_0x31a6da){return _0x3b972a(_0x52e8f2,_0x31a6da);},'aWHGO':_0x4721bb(0x1e5),'lEkYf':_0x4721bb(0x1c1),'KaTXp':function(_0x2951cd,_0x180f25,_0x58ce27){return _0x2951cd(_0x180f25,_0x58ce27);},'eggae':function(_0xbae2fd,_0x3f5c2e,_0x4533b0){return _0xbae2fd(_0x3f5c2e,_0x4533b0);},'FlXnI':_0x4721bb(0x1db),'tssvC':function(_0x3f2280){return _0x3f2280();},'KCUfd':function(_0x3f2d13,_0x494b8f){return _0x3f2d13(_0x494b8f);},'rCopT':'isAccessibilityPlatform','WnApc':function(_0x2d18c3,_0x3e1617,_0x4fb032){return _0x2d18c3(_0x3e1617,_0x4fb032);},'IiLMY':_0x4721bb(0x1b5),'UOmpS':function(_0x42b798,_0x50bff4){return _0x42b798(_0x50bff4);},'RdJMZ':_0x4721bb(0x206),'yvIQV':_0x4721bb(0x1b9)},_0x4dcfde=helper[_0x4721bb(0x1bc)]();let _0x3162c8;try{_0x3162c8=helper[_0x4721bb(0x21d)](),_0x3162c8[_0x4721bb(0x1f1)]&&(_0x3162c8['Builder']=_0x3162c8['originalBuilder']);}catch(_0x2a7cfc){return;}if(helper[_0x4721bb(0x1d6)]()){const _0x35d3e1={};_0x35d3e1[_0x4721bb(0x1c8)]=_0x417ca2['browserStackLogLevel'],helper[_0x4721bb(0x1f0)](_0x35d3e1,new Map(),new Map()),logger['info'](_0x53bbbd[_0x4721bb(0x1d5)]),logger[_0x4721bb(0x1fe)](_0x53bbbd['yvIQV']);}class _0x1ece84 extends _0x4dcfde[_0x4721bb(0x1e6)]{['send'](_0x16307c){const _0x42faa8=_0x4721bb;if(_0x53bbbd[_0x42faa8(0x20c)](_0x16307c['path'],_0x53bbbd[_0x42faa8(0x1e7)])&&_0x53bbbd[_0x42faa8(0x20c)](global[_0x42faa8(0x1cf)],''))try{global[_0x42faa8(0x1cf)]=_0x53bbbd[_0x42faa8(0x218)](_0x53bbbd[_0x42faa8(0x1c9)](_0x53bbbd[_0x42faa8(0x1bd)],global[_0x42faa8(0x1cf)]),_0x53bbbd['aqvqg']),this[_0x42faa8(0x1f7)]=hubAllocator[_0x42faa8(0x200)](global[_0x42faa8(0x1cf)]),logger[_0x42faa8(0x1fe)](_0x42faa8(0x1b2)+global['newHubUrl']),global[_0x42faa8(0x1cf)]='';}catch(_0x4da687){logger[_0x42faa8(0x1b8)](_0x4da687);}return super[_0x42faa8(0x207)](_0x16307c);}}class _0x1e53ff extends _0x3162c8[_0x4721bb(0x1b4)]{['setServer'](){const _0x5e2446=_0x4721bb;return this[_0x5e2446(0x1fc)]=helper[_0x5e2446(0x1d7)](_0x417ca2),logger['debug'](_0x5e2446(0x1de)+this['url_']),this;}[_0x4721bb(0x1d1)](_0x3c9576){const _0x326ce5=_0x4721bb;let _0x41c084={};for(const _0x1a33ca in _0x3c9576){switch(_0x1a33ca){case _0x53bbbd['EWkfX']:case _0x53bbbd['UlFqO']:this[_0x326ce5(0x1c2)]&&(_0x41c084=this['chromeOptions_'][_0x326ce5(0x1f2)](this['chromeOptions_'][_0x326ce5(0x1e8)])||{},this[_0x326ce5(0x1c2)]['set'](this[_0x326ce5(0x1c2)][_0x326ce5(0x1e8)],helper[_0x326ce5(0x1d2)](_0x41c084,_0x3c9576[_0x1a33ca])));break;case _0x53bbbd['RCRmK']:case _0x53bbbd[_0x326ce5(0x215)]:this[_0x326ce5(0x1df)]&&(_0x41c084=this['edgeOptions_'][_0x326ce5(0x1f2)](this[_0x326ce5(0x1df)]['CAPABILITY_KEY'])||{},this[_0x326ce5(0x1df)][_0x326ce5(0x223)](this[_0x326ce5(0x1df)][_0x326ce5(0x1e8)],helper[_0x326ce5(0x1d2)](_0x41c084,_0x3c9576[_0x1a33ca])));break;case _0x53bbbd[_0x326ce5(0x21e)]:case _0x53bbbd[_0x326ce5(0x1bf)]:this[_0x326ce5(0x1e1)]&&(_0x41c084=this[_0x326ce5(0x1e1)][_0x326ce5(0x1f2)](this[_0x326ce5(0x1e1)][_0x326ce5(0x1e8)])||{},this[_0x326ce5(0x1e1)][_0x326ce5(0x223)](this[_0x326ce5(0x1e1)][_0x326ce5(0x1e8)],helper['mergeDeep'](_0x41c084,_0x3c9576[_0x1a33ca])));break;case _0x53bbbd[_0x326ce5(0x1b0)]:this['safariOptions_']&&(_0x41c084=this[_0x326ce5(0x1ac)][_0x326ce5(0x1f2)](this['safariOptions_'][_0x326ce5(0x1e8)])||{},this[_0x326ce5(0x1ac)]['set'](this['safariOptions_']['CAPABILITY_KEY'],helper[_0x326ce5(0x1d2)](_0x41c084,_0x3c9576[_0x1a33ca])));break;case _0x53bbbd[_0x326ce5(0x21b)]:case _0x53bbbd[_0x326ce5(0x1c3)]:this[_0x326ce5(0x219)]&&(_0x41c084=this[_0x326ce5(0x219)]['get'](this[_0x326ce5(0x219)][_0x326ce5(0x1e8)])||{},this[_0x326ce5(0x219)][_0x326ce5(0x223)](this[_0x326ce5(0x219)][_0x326ce5(0x1e8)],helper[_0x326ce5(0x1d2)](_0x41c084,_0x3c9576[_0x1a33ca])));break;}}}[_0x4721bb(0x211)](){const _0x21490b=_0x4721bb,_0x556af8={'rUOzA':function(_0xadca8f,_0x3692a8){return _0x53bbbd['lqqyo'](_0xadca8f,_0x3692a8);},'SpsFF':_0x53bbbd['QsRXE']};return logger[_0x21490b(0x1fe)](_0x53bbbd[_0x21490b(0x20d)]),this[_0x21490b(0x1d1)](_0x417ca2[_0x21490b(0x1b6)]),Object['keys'](_0x417ca2['capability'])[_0x21490b(0x1fa)](_0x5eb7a6=>{const _0x3d14d4=_0x21490b,_0xe0a0dc=this[_0x3d14d4(0x214)][_0x3d14d4(0x1f2)](_0x5eb7a6);_0x556af8[_0x3d14d4(0x1e9)](typeof _0xe0a0dc,_0x556af8[_0x3d14d4(0x1ca)])?this[_0x3d14d4(0x214)][_0x3d14d4(0x223)](_0x5eb7a6,helper[_0x3d14d4(0x1d2)](_0xe0a0dc,_0x417ca2[_0x3d14d4(0x1b6)][_0x5eb7a6])):this[_0x3d14d4(0x214)][_0x3d14d4(0x223)](_0x5eb7a6,_0x417ca2['capability'][_0x5eb7a6]);}),this;}[_0x4721bb(0x1ee)](){const _0x134f51=_0x4721bb,_0x2edd56={'BjCzQ':_0x53bbbd[_0x134f51(0x208)],'OXMlp':_0x53bbbd[_0x134f51(0x1ad)],'ZLlCs':function(_0x2ad743,_0x5ef9ff,_0x42c1a4){return _0x53bbbd['KaTXp'](_0x2ad743,_0x5ef9ff,_0x42c1a4);},'ZsQWX':function(_0x2f514d,_0x4af62c,_0x9b9607){const _0x259ac7=_0x134f51;return _0x53bbbd[_0x259ac7(0x217)](_0x2f514d,_0x4af62c,_0x9b9607);}};if(helper[_0x134f51(0x1d6)]()){const _0xf1e564=_0x53bbbd[_0x134f51(0x203)][_0x134f51(0x1cc)]('|');let _0x291a88=0x0;while(!![]){switch(_0xf1e564[_0x291a88++]){case'0':_0x53bbbd[_0x134f51(0x21a)](isAccessibilityAutomationSession)&&_0x53bbbd[_0x134f51(0x1a8)](setAccessibilityCapabilities,_0x417ca2);continue;case'1':globals[_0x134f51(0x1a7)](_0x53bbbd[_0x134f51(0x201)])&&(!_0x53bbbd[_0x134f51(0x1aa)](setExtension,this,_0x417ca2)&&globals[_0x134f51(0x21f)](_0x53bbbd[_0x134f51(0x201)],![]));continue;case'2':this[_0x134f51(0x211)]();continue;case'3':if(helper[_0x134f51(0x202)](_0x417ca2[_0x134f51(0x1ea)]['proxyUrl']))this[_0x134f51(0x1f3)]=helper[_0x134f51(0x1f8)](_0x417ca2[_0x134f51(0x1ea)]['proxyUrl']);else _0x417ca2[_0x134f51(0x1ea)][_0x134f51(0x1b1)]&&(this[_0x134f51(0x1ce)]=_0x417ca2[_0x134f51(0x1ea)][_0x134f51(0x1b1)],logger[_0x134f51(0x1fe)](_0x134f51(0x1ed)+this[_0x134f51(0x1ce)]));continue;case'4':logger[_0x134f51(0x1fe)](_0x53bbbd[_0x134f51(0x20a)]);continue;case'5':this[_0x134f51(0x1d3)]();continue;}break;}}const _0x3b66b6=super[_0x134f51(0x1ee)]();return _0x3b66b6['session_']['then'](_0x47c5a6=>{const _0x1ad0ca=_0x134f51;try{const _0x22c206=_0x47c5a6[_0x1ad0ca(0x1d9)][_0x1ad0ca(0x1f2)](_0x2edd56[_0x1ad0ca(0x1d8)]);_0x22c206?(logger['debug'](_0x1ad0ca(0x1eb)+_0x22c206),hubAllocator['updateHubUrl'](_0x22c206),helper[_0x1ad0ca(0x221)](_0x22c206)):logger[_0x1ad0ca(0x1fe)](_0x2edd56[_0x1ad0ca(0x1cd)]);}catch(_0x16db31){logger['debug']('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x16db31);}}),_0x3b66b6['quitCount_']=0x0,_0x3b66b6[_0x134f51(0x1c4)]&&_0x3b66b6[_0x134f51(0x1c4)](_0x56d672=>{const _0x21dbba=_0x134f51,_0x41d23b={'pWUMg':function(_0xb2d222,_0x43f9e9,_0x59648f){const _0x2daafe=a29_0x2561;return _0x53bbbd[_0x2daafe(0x20e)](_0xb2d222,_0x43f9e9,_0x59648f);}};_0x53bbbd[_0x21dbba(0x1ef)](overrideQuit,_0x56d672,_0x3b66b6),_0x53bbbd[_0x21dbba(0x1ba)](overrideTakeScreenshot,_0x56d672),helper['overrideGet'](_0x56d672,_0x417ca2),_0x53bbbd['RRSFg'](overrideExecute,_0x56d672,_0x417ca2),_0x56d672['getAccessibilityResultsSummary']=async()=>{const _0x5eb6ef=_0x21dbba;return await _0x41d23b[_0x5eb6ef(0x1d4)](getAccessibilityResultsSummary,_0x56d672,global);},_0x56d672[_0x21dbba(0x1c6)]=async()=>{const _0x172c6d=_0x21dbba;return await _0x2edd56[_0x172c6d(0x213)](getAccessibilityResults,_0x56d672,global);};}),_0x3b66b6[_0x134f51(0x1b3)]=async()=>{const _0x66be5c=_0x134f51;return await _0x2edd56[_0x66be5c(0x209)](getAccessibilityResultsSummary,_0x3b66b6,global);},_0x3b66b6[_0x134f51(0x1c6)]=async()=>{const _0x23c9db=_0x134f51;return await _0x53bbbd[_0x23c9db(0x1fb)](getAccessibilityResults,_0x3b66b6,global);},_0x53bbbd[_0x134f51(0x205)](overrideTakeScreenshot,_0x3b66b6),_0x53bbbd['UOmpS'](overrideQuit,_0x3b66b6),helper[_0x134f51(0x1cb)](_0x3b66b6,_0x417ca2),_0x53bbbd[_0x134f51(0x20e)](overrideExecute,_0x3b66b6,_0x417ca2),helper['isUndefined'](global['__driversArray'])&&(global[_0x134f51(0x1af)]=[]),helper[_0x134f51(0x1ae)](global['__drivers'])&&(global[_0x134f51(0x20b)]=[]),global[_0x134f51(0x1af)]['push'](_0x3b66b6),global[_0x134f51(0x210)]=_0x3b66b6,_0x53bbbd[_0x134f51(0x20c)](global[_0x134f51(0x20b)],undefined)&&global['__drivers'][_0x134f51(0x1a6)](_0x3b66b6),_0xdd0886&&helper[_0x134f51(0x1ae)](_0xdd0886[_0x134f51(0x1f6)][_0x134f51(0x1af)])&&(_0xdd0886[_0x134f51(0x1f6)][_0x134f51(0x1af)]=[]),_0xdd0886&&_0x53bbbd[_0x134f51(0x20c)](_0xdd0886['global'][_0x134f51(0x20b)],undefined)&&(_0xdd0886[_0x134f51(0x1f6)][_0x134f51(0x20b)][_0x134f51(0x1a6)](_0x3b66b6),_0xdd0886['global'][_0x134f51(0x1af)][_0x134f51(0x1a6)](_0x3b66b6)),_0x3b66b6;}}return _0x3162c8[_0x4721bb(0x1f1)]=_0x3162c8[_0x4721bb(0x1b4)],_0x3162c8[_0x4721bb(0x1b4)]=_0x1e53ff,_0x4dcfde[_0x4721bb(0x1e6)]=_0x1ece84,_0x3162c8;};function a29_0x55bd(){const _0x255d8a=['proxySettings','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','safari.options','Proxy\x20set\x20to\x20','build','RRSFg','setLogLevel','originalBuilder','get','agent_','exports','/wd/hub','global','options_','getHttpAgent','../../../helpers/globals','forEach','akxyY','url_','chromeOptions','debug','200550ndZbPf','getRequestOptions','rCopT','isPacProxy','FlXnI','1368961QINVnG','UOmpS','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','send','aWHGO','ZsQWX','IiLMY','__drivers','Ztaip','jLyqk','NYTbQ','../accessibility-automation/helper','__driver','setCapabilities','7735XyOvNu','ZLlCs','capabilities_','BIpPL','browserstackAgentObservability','eggae','ZeHYA','ieOptions_','tssvC','ljTdg','6344541yvTKKg','requireSeleniumWebdriver','URHdh','setGlobal','3yUVtRo','storeOptimalHubUrl','2959402QMhDRG','set','firefoxOptions','push','getGlobal','KCUfd','../../../helpers/patchHelpers','WnApc','ieOptions','safariOptions_','lEkYf','isUndefined','__driversArray','RgmtA','proxyUrl','New\x20hub\x20url\x20set\x20to\x20','getAccessibilityResultsSummary','Builder','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','capability','../../../hubAllocationMethods','error','Modifying\x20webdriver\x20builder','hTIXd','2293616qwOqCT','requireHttpClient','SGMFf','/session','oJwmV','edgeOptions','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','chromeOptions_','DAMuy','then','Setting\x20Browserstack\x20capabilities','getAccessibilityResults','370bIWcrS','logLevel','rffZY','SpsFF','overrideGet','split','OXMlp','proxy_','newHubUrl','149085zSBboa','__setBrowserOptions','mergeDeep','setServer','pWUMg','RdJMZ','isBrowserstackInfra','getHubUrl','BjCzQ','caps_','se:ieOptions','0|5|2|3|1|4','3246lWaydx','ms:edgeOptions','Hub\x20url\x20set\x20to\x20','edgeOptions_','winstonLogger','firefoxOptions_','../../../helpers/logger','https://','148rwkwWP','optimalHubUrl','HttpClient','XnZzi','CAPABILITY_KEY','rUOzA'];a29_0x55bd=function(){return _0x255d8a;};return a29_0x55bd();}module[a29_0x2dca33(0x1f4)][a29_0x2dca33(0x216)]=modify;
1
+ function a29_0x4382(_0x1ed886,_0x3a520a){const _0x123ed0=a29_0x123e();return a29_0x4382=function(_0x43825a,_0x19e9c6){_0x43825a=_0x43825a-0x1c5;let _0x16ab56=_0x123ed0[_0x43825a];return _0x16ab56;},a29_0x4382(_0x1ed886,_0x3a520a);}const a29_0x336e9a=a29_0x4382;(function(_0x3a4c94,_0x3b3640){const _0x212fbe=a29_0x4382,_0x203575=_0x3a4c94();while(!![]){try{const _0x253aa2=-parseInt(_0x212fbe(0x230))/0x1+-parseInt(_0x212fbe(0x1d1))/0x2*(-parseInt(_0x212fbe(0x204))/0x3)+-parseInt(_0x212fbe(0x20e))/0x4+parseInt(_0x212fbe(0x232))/0x5*(-parseInt(_0x212fbe(0x22e))/0x6)+-parseInt(_0x212fbe(0x1d0))/0x7+-parseInt(_0x212fbe(0x22c))/0x8+parseInt(_0x212fbe(0x217))/0x9*(parseInt(_0x212fbe(0x223))/0xa);if(_0x253aa2===_0x3b3640)break;else _0x203575['push'](_0x203575['shift']());}catch(_0x5d3369){_0x203575['push'](_0x203575['shift']());}}}(a29_0x123e,0xd6572));const logger=require(a29_0x336e9a(0x203))[a29_0x336e9a(0x1cf)],helper=require(a29_0x336e9a(0x226)),constants=require(a29_0x336e9a(0x225)),hubAllocator=require(a29_0x336e9a(0x233)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x336e9a(0x222)),{setAccessibilityCapabilities,setExtension}=require(a29_0x336e9a(0x20b)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x336e9a(0x1fe)),globals=require(a29_0x336e9a(0x212)),{overrideExecute}=require(a29_0x336e9a(0x236)),modify=(_0x453cb8,_0x5da106=null,_0x487e05=![])=>{const _0x4dc8c3=a29_0x336e9a,_0x225d82={'GItGe':function(_0x5ca082,_0x2e4508){return _0x5ca082!==_0x2e4508;},'HGnQo':'/session','vjHCm':function(_0xc558b7,_0x50711d){return _0xc558b7!==_0x50711d;},'OuceA':function(_0x1e5474,_0xf74c30){return _0x1e5474+_0xf74c30;},'suQta':function(_0x3153b7,_0x3d0a54){return _0x3153b7+_0x3d0a54;},'upbLo':_0x4dc8c3(0x1cb),'TxSsp':_0x4dc8c3(0x21f),'QYHYm':_0x4dc8c3(0x1d5),'dhgPE':_0x4dc8c3(0x20c),'mkNIg':_0x4dc8c3(0x1f6),'HtaUC':_0x4dc8c3(0x228),'NMdRS':_0x4dc8c3(0x1de),'VbjOR':_0x4dc8c3(0x1eb),'cHtKB':_0x4dc8c3(0x1f0),'GKKiL':_0x4dc8c3(0x1ee),'bzOsS':_0x4dc8c3(0x1df),'eRkFM':function(_0x18f693,_0x56682e){return _0x18f693===_0x56682e;},'EBOKW':_0x4dc8c3(0x1fc),'ZDCTp':_0x4dc8c3(0x1fa),'vzGMp':'optimalHubUrl','Yvtvb':_0x4dc8c3(0x23f),'KNYzF':function(_0x3762dd,_0x299958,_0x1b696d){return _0x3762dd(_0x299958,_0x1b696d);},'BwPTS':function(_0x380638,_0x557dce,_0x2175f4){return _0x380638(_0x557dce,_0x2175f4);},'TSNkQ':function(_0x162ebc,_0x3a148c){return _0x162ebc(_0x3a148c);},'Swkpc':'3|4|5|0|1|2','HLikt':_0x4dc8c3(0x23c),'MKigU':_0x4dc8c3(0x1e1),'ftdvK':function(_0x52e1d9){return _0x52e1d9();},'eophE':function(_0x288f45,_0x5df2c5){return _0x288f45(_0x5df2c5);},'cFnpw':function(_0x3338b2,_0x1d325a){return _0x3338b2(_0x1d325a);},'DYQWg':function(_0x320a23,_0x139124){return _0x320a23(_0x139124);},'ojvMP':function(_0x4084ba,_0x3860e1,_0x1b257e){return _0x4084ba(_0x3860e1,_0x1b257e);},'VadVN':function(_0x17b6de,_0x35a7b6){return _0x17b6de!==_0x35a7b6;},'pAxMu':_0x4dc8c3(0x1dc),'yViED':_0x4dc8c3(0x216)},_0x30f071=helper[_0x4dc8c3(0x1ed)]();let _0x4f534b;try{_0x4f534b=helper[_0x4dc8c3(0x1c5)](),_0x4f534b[_0x4dc8c3(0x240)]&&(_0x4f534b[_0x4dc8c3(0x205)]=_0x4f534b[_0x4dc8c3(0x240)]);}catch(_0x15216d){return;}if(helper['isBrowserstackInfra']()){const _0x3357fb={};_0x3357fb[_0x4dc8c3(0x1e8)]=_0x453cb8['browserStackLogLevel'],helper[_0x4dc8c3(0x234)](_0x3357fb,new Map(),new Map()),logger[_0x4dc8c3(0x1cd)](_0x225d82[_0x4dc8c3(0x1fd)]),logger[_0x4dc8c3(0x238)](_0x225d82['yViED']);}class _0x585272 extends _0x30f071[_0x4dc8c3(0x1ec)]{[_0x4dc8c3(0x1ea)](_0x14d85d){const _0x1bd44c=_0x4dc8c3;if(_0x225d82[_0x1bd44c(0x20d)](_0x14d85d[_0x1bd44c(0x209)],_0x225d82[_0x1bd44c(0x1cc)])&&_0x225d82[_0x1bd44c(0x218)](global['newHubUrl'],''))try{global['newHubUrl']=_0x225d82[_0x1bd44c(0x200)](_0x225d82[_0x1bd44c(0x1d9)](_0x225d82[_0x1bd44c(0x1e3)],global[_0x1bd44c(0x239)]),_0x225d82['TxSsp']),this[_0x1bd44c(0x21d)]=hubAllocator['getRequestOptions'](global[_0x1bd44c(0x239)]),logger[_0x1bd44c(0x238)](_0x1bd44c(0x1f2)+global[_0x1bd44c(0x239)]),global[_0x1bd44c(0x239)]='';}catch(_0x5876fb){logger[_0x1bd44c(0x1d7)](_0x5876fb);}return super['send'](_0x14d85d);}}class _0x3fc797 extends _0x4f534b[_0x4dc8c3(0x205)]{[_0x4dc8c3(0x1ca)](){const _0x1b09f8=_0x4dc8c3;return this[_0x1b09f8(0x1e5)]=helper[_0x1b09f8(0x1e4)](_0x453cb8),logger['debug'](_0x1b09f8(0x1ce)+this[_0x1b09f8(0x1e5)]),this;}[_0x4dc8c3(0x23a)](_0x55d817){const _0x539d42=_0x4dc8c3;let _0x378371={};for(const _0x29c2f4 in _0x55d817){switch(_0x29c2f4){case _0x225d82[_0x539d42(0x20f)]:case _0x225d82['dhgPE']:this[_0x539d42(0x1e9)]&&(_0x378371=this[_0x539d42(0x1e9)]['get'](this[_0x539d42(0x1e9)][_0x539d42(0x1ef)])||{},this[_0x539d42(0x1e9)][_0x539d42(0x214)](this['chromeOptions_']['CAPABILITY_KEY'],helper['mergeDeep'](_0x378371,_0x55d817[_0x29c2f4])));break;case _0x225d82[_0x539d42(0x1f1)]:case _0x225d82[_0x539d42(0x1c9)]:this[_0x539d42(0x1d8)]&&(_0x378371=this['edgeOptions_'][_0x539d42(0x1d6)](this['edgeOptions_']['CAPABILITY_KEY'])||{},this['edgeOptions_']['set'](this[_0x539d42(0x1d8)][_0x539d42(0x1ef)],helper[_0x539d42(0x213)](_0x378371,_0x55d817[_0x29c2f4])));break;case _0x225d82[_0x539d42(0x201)]:case _0x225d82['VbjOR']:this[_0x539d42(0x1da)]&&(_0x378371=this[_0x539d42(0x1da)]['get'](this[_0x539d42(0x1da)][_0x539d42(0x1ef)])||{},this[_0x539d42(0x1da)][_0x539d42(0x214)](this['firefoxOptions_'][_0x539d42(0x1ef)],helper[_0x539d42(0x213)](_0x378371,_0x55d817[_0x29c2f4])));break;case _0x225d82[_0x539d42(0x1f7)]:this[_0x539d42(0x237)]&&(_0x378371=this[_0x539d42(0x237)][_0x539d42(0x1d6)](this[_0x539d42(0x237)][_0x539d42(0x1ef)])||{},this[_0x539d42(0x237)]['set'](this[_0x539d42(0x237)][_0x539d42(0x1ef)],helper[_0x539d42(0x213)](_0x378371,_0x55d817[_0x29c2f4])));break;case _0x225d82[_0x539d42(0x221)]:case _0x225d82[_0x539d42(0x21b)]:this[_0x539d42(0x21e)]&&(_0x378371=this[_0x539d42(0x21e)][_0x539d42(0x1d6)](this[_0x539d42(0x21e)]['CAPABILITY_KEY'])||{},this[_0x539d42(0x21e)][_0x539d42(0x214)](this['ieOptions_']['CAPABILITY_KEY'],helper[_0x539d42(0x213)](_0x378371,_0x55d817[_0x29c2f4])));break;}}}[_0x4dc8c3(0x202)](){const _0x499c97=_0x4dc8c3,_0x7af46b={'zoTFj':function(_0x14edae,_0x5c9182){const _0x3ccd01=a29_0x4382;return _0x225d82[_0x3ccd01(0x241)](_0x14edae,_0x5c9182);},'bRIgY':_0x225d82[_0x499c97(0x227)]};return logger[_0x499c97(0x238)](_0x225d82['ZDCTp']),this[_0x499c97(0x23a)](_0x453cb8['capability']),Object[_0x499c97(0x1f3)](_0x453cb8[_0x499c97(0x1f8)])['forEach'](_0x7f017f=>{const _0x25fb2b=_0x499c97,_0x5abcd4=this['capabilities_'][_0x25fb2b(0x1d6)](_0x7f017f);_0x7af46b[_0x25fb2b(0x22f)](typeof _0x5abcd4,_0x7af46b[_0x25fb2b(0x21a)])?this[_0x25fb2b(0x22d)][_0x25fb2b(0x214)](_0x7f017f,helper['mergeDeep'](_0x5abcd4,_0x453cb8['capability'][_0x7f017f])):this[_0x25fb2b(0x22d)][_0x25fb2b(0x214)](_0x7f017f,_0x453cb8['capability'][_0x7f017f]);}),this;}[_0x4dc8c3(0x1e7)](){const _0xc85787=_0x4dc8c3,_0x40e3ee={'uQAiH':function(_0x41f2bd,_0x5aa2ec,_0x50b3c1){const _0x43dd0c=a29_0x4382;return _0x225d82[_0x43dd0c(0x23d)](_0x41f2bd,_0x5aa2ec,_0x50b3c1);},'YYmWh':function(_0x2eaa75,_0x2312ae,_0x1e7d7f){const _0x1dd05c=a29_0x4382;return _0x225d82[_0x1dd05c(0x1c8)](_0x2eaa75,_0x2312ae,_0x1e7d7f);},'MIUgY':function(_0x44d0c1,_0x8d87e6){return _0x225d82['TSNkQ'](_0x44d0c1,_0x8d87e6);}};if(helper[_0xc85787(0x211)]()){const _0x1ac7b2=_0x225d82[_0xc85787(0x220)][_0xc85787(0x1db)]('|');let _0x319323=0x0;while(!![]){switch(_0x1ac7b2[_0x319323++]){case'0':if(helper[_0xc85787(0x1e6)](_0x453cb8[_0xc85787(0x1dd)][_0xc85787(0x1d4)]))this[_0xc85787(0x21c)]=helper['getHttpAgent'](_0x453cb8[_0xc85787(0x1dd)][_0xc85787(0x1d4)]);else _0x453cb8[_0xc85787(0x1dd)][_0xc85787(0x1d4)]&&(this['proxy_']=_0x453cb8['proxySettings'][_0xc85787(0x1d4)],logger[_0xc85787(0x238)](_0xc85787(0x1f4)+this[_0xc85787(0x22b)]));continue;case'1':globals['getGlobal'](_0x225d82['HLikt'])&&(!_0x225d82[_0xc85787(0x1c8)](setExtension,this,_0x453cb8)&&globals['setGlobal'](_0x225d82['HLikt'],![]));continue;case'2':logger['debug'](_0x225d82[_0xc85787(0x20a)]);continue;case'3':_0x225d82[_0xc85787(0x210)](isAccessibilityAutomationSession)&&_0x225d82[_0xc85787(0x1f5)](setAccessibilityCapabilities,_0x453cb8);continue;case'4':this['setServer']();continue;case'5':this[_0xc85787(0x202)]();continue;}break;}}const _0x4aacf4=super[_0xc85787(0x1e7)]();return _0x4aacf4[_0xc85787(0x1fb)][_0xc85787(0x219)](_0x179c98=>{const _0x412eb8=_0xc85787;try{const _0xd0cf77=_0x179c98[_0x412eb8(0x23b)][_0x412eb8(0x1d6)](_0x225d82['vzGMp']);_0xd0cf77?(logger[_0x412eb8(0x238)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0xd0cf77),hubAllocator[_0x412eb8(0x231)](_0xd0cf77),helper[_0x412eb8(0x1e2)](_0xd0cf77)):logger[_0x412eb8(0x238)](_0x225d82[_0x412eb8(0x229)]);}catch(_0x4be9de){logger[_0x412eb8(0x238)](_0x412eb8(0x1e0)+_0x4be9de);}}),_0x4aacf4[_0xc85787(0x208)]=0x0,_0x4aacf4[_0xc85787(0x219)]&&_0x4aacf4['then'](_0x5c6134=>{const _0x473a89=_0xc85787,_0x3a9acb={'zfZVP':function(_0x47d90f,_0xb70aae,_0x3e2227){return _0x40e3ee['uQAiH'](_0x47d90f,_0xb70aae,_0x3e2227);}};_0x40e3ee['YYmWh'](overrideQuit,_0x5c6134,_0x4aacf4),_0x40e3ee['MIUgY'](overrideTakeScreenshot,_0x5c6134),helper[_0x473a89(0x1ff)](_0x5c6134,_0x453cb8),_0x40e3ee['uQAiH'](overrideExecute,_0x5c6134,_0x453cb8),_0x5c6134[_0x473a89(0x22a)]=async()=>{const _0x4c09e1=_0x473a89;return await _0x3a9acb[_0x4c09e1(0x206)](getAccessibilityResultsSummary,_0x5c6134,global);},_0x5c6134['getAccessibilityResults']=async()=>{const _0x5090c7=_0x473a89;return await _0x3a9acb[_0x5090c7(0x206)](getAccessibilityResults,_0x5c6134,global);};}),_0x4aacf4[_0xc85787(0x22a)]=async()=>{const _0x572627=_0xc85787;return await _0x225d82[_0x572627(0x1c8)](getAccessibilityResultsSummary,_0x4aacf4,global);},_0x4aacf4[_0xc85787(0x1f9)]=async()=>{return await _0x225d82['KNYzF'](getAccessibilityResults,_0x4aacf4,global);},_0x225d82[_0xc85787(0x23e)](overrideTakeScreenshot,_0x4aacf4),_0x225d82['DYQWg'](overrideQuit,_0x4aacf4),helper[_0xc85787(0x1ff)](_0x4aacf4,_0x453cb8),_0x225d82[_0xc85787(0x1d2)](overrideExecute,_0x4aacf4,_0x453cb8),helper['isUndefined'](global['__driversArray'])&&(global[_0xc85787(0x1c6)]=[]),helper['isUndefined'](global[_0xc85787(0x235)])&&(global[_0xc85787(0x235)]=[]),global[_0xc85787(0x1c6)][_0xc85787(0x224)](_0x4aacf4),global[_0xc85787(0x215)]=_0x4aacf4,_0x225d82['VadVN'](global[_0xc85787(0x235)],undefined)&&global[_0xc85787(0x235)][_0xc85787(0x224)](_0x4aacf4),_0x5da106&&helper[_0xc85787(0x1d3)](_0x5da106[_0xc85787(0x207)][_0xc85787(0x1c6)])&&(_0x5da106[_0xc85787(0x207)][_0xc85787(0x1c6)]=[]),_0x5da106&&_0x225d82['GItGe'](_0x5da106['global'][_0xc85787(0x235)],undefined)&&(_0x5da106[_0xc85787(0x207)][_0xc85787(0x235)][_0xc85787(0x224)](_0x4aacf4),_0x5da106[_0xc85787(0x207)][_0xc85787(0x1c6)][_0xc85787(0x224)](_0x4aacf4)),_0x4aacf4;}}return _0x4f534b[_0x4dc8c3(0x240)]=_0x4f534b[_0x4dc8c3(0x205)],_0x4f534b[_0x4dc8c3(0x205)]=_0x3fc797,_0x30f071[_0x4dc8c3(0x1ec)]=_0x585272,_0x4f534b;};module['exports'][a29_0x336e9a(0x1c7)]=modify;function a29_0x123e(){const _0x2c3dab=['18AqrFZe','vjHCm','then','bRIgY','bzOsS','agent_','options_','ieOptions_','/wd/hub','Swkpc','GKKiL','../../../helpers/patchHelpers','29828730sFEkkK','push','../../../bin/utils/constants','../../../helpers/helper','EBOKW','edgeOptions','Yvtvb','getAccessibilityResultsSummary','proxy_','10774752BsPngw','capabilities_','393180HXJuBh','zoTFj','1630612wrUKuL','updateHubUrl','5rEwYPL','../../../hubAllocationMethods','setLogLevel','__drivers','./helpers/patchHelper','safariOptions_','debug','newHubUrl','__setBrowserOptions','caps_','isAccessibilityPlatform','BwPTS','cFnpw','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','originalBuilder','eRkFM','requireSeleniumWebdriver','__driversArray','browserstackAgentObservability','KNYzF','HtaUC','setServer','https://','HGnQo','info','Hub\x20url\x20set\x20to\x20','winstonLogger','4267095lvSioD','1104gFjwFs','ojvMP','isUndefined','proxyUrl','goog:chromeOptions','get','error','edgeOptions_','suQta','firefoxOptions_','split','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','proxySettings','moz:firefoxOptions','ieOptions','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','storeOptimalHubUrl','upbLo','getHubUrl','url_','isPacProxy','build','logLevel','chromeOptions_','send','firefoxOptions','HttpClient','requireHttpClient','se:ieOptions','CAPABILITY_KEY','safari.options','mkNIg','New\x20hub\x20url\x20set\x20to\x20','keys','Proxy\x20set\x20to\x20','eophE','ms:edgeOptions','cHtKB','capability','getAccessibilityResults','Setting\x20Browserstack\x20capabilities','session_','object','pAxMu','../../../helpers/accessibility-automation/helper','overrideGet','OuceA','NMdRS','setCapabilities','../../../helpers/logger','1542ngPSvm','Builder','zfZVP','global','quitCount_','path','MKigU','../accessibility-automation/helper','chromeOptions','GItGe','6875860CJfLqy','QYHYm','ftdvK','isBrowserstackInfra','../../../helpers/globals','mergeDeep','set','__driver','Modifying\x20webdriver\x20builder'];a29_0x123e=function(){return _0x2c3dab;};return a29_0x123e();}
@@ -1 +1 @@
1
- const a30_0x22698d=a30_0x31f6;(function(_0x27b01e,_0x128eff){const _0x4f0cfb=a30_0x31f6,_0x38fa0b=_0x27b01e();while(!![]){try{const _0x3eafc2=parseInt(_0x4f0cfb(0xb2))/0x1*(parseInt(_0x4f0cfb(0xbb))/0x2)+parseInt(_0x4f0cfb(0xbc))/0x3*(-parseInt(_0x4f0cfb(0xbe))/0x4)+-parseInt(_0x4f0cfb(0xbf))/0x5+-parseInt(_0x4f0cfb(0xbd))/0x6+parseInt(_0x4f0cfb(0xb3))/0x7*(-parseInt(_0x4f0cfb(0xb9))/0x8)+-parseInt(_0x4f0cfb(0xb1))/0x9*(parseInt(_0x4f0cfb(0xba))/0xa)+parseInt(_0x4f0cfb(0xb5))/0xb;if(_0x3eafc2===_0x128eff)break;else _0x38fa0b['push'](_0x38fa0b['shift']());}catch(_0x38a05f){_0x38fa0b['push'](_0x38fa0b['shift']());}}}(a30_0x2724,0x2256d));const requestSpy=require(a30_0x22698d(0xaf)),constants=require(a30_0x22698d(0xb4)),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports[a30_0x22698d(0xb6)]={'beforeAll'(){const _0x1ee7f9=a30_0x22698d,_0x4870f7={'rDRvI':function(_0x547186){return _0x547186();}},_0x5a82ff='browserstack internal helper hook';_0x4870f7[_0x1ee7f9(0xb8)](addRequestSpy);},'afterAll'(){const _0x45f942=a30_0x22698d,_0xf79566='browserstack internal helper hook';this[_0x45f942(0xb7)](0xea60),requestSpy[_0x45f942(0xb0)]();}};function a30_0x31f6(_0x861913,_0x2db47c){const _0x27245b=a30_0x2724();return a30_0x31f6=function(_0x31f6db,_0x2e4ebd){_0x31f6db=_0x31f6db-0xaf;let _0x5bb59c=_0x27245b[_0x31f6db];return _0x5bb59c;},a30_0x31f6(_0x861913,_0x2db47c);}function a30_0x2724(){const _0x548001=['1002825EgwVKN','../../../helpers/request-spy','restore','45bjyXKP','1MWBHbe','594629UKpSZB','../../../bin/utils/constants','9110937mbycok','mochaHooks','timeout','rDRvI','24JgnVeg','126010jLuZSa','304474VgBGhv','44421mwJeJL','596010ODQuVo','60yiJiBI'];a30_0x2724=function(){return _0x548001;};return a30_0x2724();}
1
+ const a30_0x5cfa8e=a30_0x498f;(function(_0x521384,_0x27a642){const _0x4dded1=a30_0x498f,_0x74b0ed=_0x521384();while(!![]){try{const _0x2e6c03=-parseInt(_0x4dded1(0x163))/0x1*(parseInt(_0x4dded1(0x156))/0x2)+parseInt(_0x4dded1(0x153))/0x3+-parseInt(_0x4dded1(0x160))/0x4*(-parseInt(_0x4dded1(0x162))/0x5)+parseInt(_0x4dded1(0x15f))/0x6*(-parseInt(_0x4dded1(0x15b))/0x7)+-parseInt(_0x4dded1(0x15e))/0x8+parseInt(_0x4dded1(0x15a))/0x9*(parseInt(_0x4dded1(0x158))/0xa)+-parseInt(_0x4dded1(0x165))/0xb*(parseInt(_0x4dded1(0x161))/0xc);if(_0x2e6c03===_0x27a642)break;else _0x74b0ed['push'](_0x74b0ed['shift']());}catch(_0x5bf7af){_0x74b0ed['push'](_0x74b0ed['shift']());}}}(a30_0x56e0,0x83911));function a30_0x498f(_0x715376,_0x5a7dfe){const _0x56e0db=a30_0x56e0();return a30_0x498f=function(_0x498faf,_0x6b7d4a){_0x498faf=_0x498faf-0x153;let _0x3c5da2=_0x56e0db[_0x498faf];return _0x3c5da2;},a30_0x498f(_0x715376,_0x5a7dfe);}const requestSpy=require(a30_0x5cfa8e(0x157)),constants=require(a30_0x5cfa8e(0x164)),{addRequestSpy}=require(a30_0x5cfa8e(0x15c));function a30_0x56e0(){const _0x3e0e48=['706593qqSObK','timeout','YvIlP','14132UyQzyx','../../../helpers/request-spy','820RHbqiy','restore','91359uryrMo','7toqRec','../../../helpers/test-observability/utils','mochaHooks','970456iUbWbt','1403076ghkhiv','3713100jMpAGn','84kmYLls','5UWLJNi','66LAOInP','../../../bin/utils/constants','999086SqkoQa'];a30_0x56e0=function(){return _0x3e0e48;};return a30_0x56e0();}exports[a30_0x5cfa8e(0x15d)]={'beforeAll'(){const _0x15d899=a30_0x5cfa8e,_0x29f52c={'YvIlP':function(_0x574cfd){return _0x574cfd();}},_0xd3f221='browserstack internal helper hook';_0x29f52c[_0x15d899(0x155)](addRequestSpy);},'afterAll'(){const _0x440f19=a30_0x5cfa8e,_0x873596='browserstack internal helper hook';this[_0x440f19(0x154)](0xea60),requestSpy[_0x440f19(0x159)]();}};
@@ -1 +1 @@
1
- function a31_0x277f(_0x52fece,_0x1d6238){const _0x433382=a31_0x4333();return a31_0x277f=function(_0x277f45,_0x414468){_0x277f45=_0x277f45-0x181;let _0x42ae82=_0x433382[_0x277f45];return _0x42ae82;},a31_0x277f(_0x52fece,_0x1d6238);}const a31_0x2e7bcf=a31_0x277f;function a31_0x4333(){const _0x3fb42d=['indexOf','__cloud_provider___','getTestEnv','wcCNY','type','toJSON','hook','xCWeg','slice','pXIdG','../../../helpers/test-observability/utils','getHooksForTest','MziCN','gVWiy','../../../../package.json','getCapabilities','11592968hFDJJG','../../utils/logPatcher','_beforeAll','AwaRu','toISOString','lodash','markedStatus','split','Vswnj','3789392UZQnAg','CFUif','generic','HWVLs','mapTestHooks','Beepp','eEner','../../../helpers/test-observability/constants','cphoV','IhxGq','reduce','pid','QuzeN','29262pVfYZE','rLynw','concat','../../../helpers/helper','eAQMl','41794720OAOCRr','HeQcG','map_','1125GrloRE','passed','fMGNo','YYVDo','getHookSkippedTests','_beforeEach','vNsxn','unknown_grid','1310xXvGtN','hAFfl','../../../helpers/testhub/utils','getSession','state','forEach','TpmST','emit','66910EmyGwH','substring','7gTzbbT','hHcXZ','browserstack','tests','YfUYF','WJZiK','hookAnalyticsId','_afterAll','_afterEach','PuBsW','mqrpl','getPlatform','1358367bopvzH','failed','filter','bs:addPlatformDetails:','40KxrwlI','parent','js-','35163VXrAUU','zFtQD','oAgIe','BlBtX','HzIWM'];a31_0x4333=function(){return _0x3fb42d;};return a31_0x4333();}(function(_0x5c1563,_0x30bbfb){const _0x9669c8=a31_0x277f,_0x20cf63=_0x5c1563();while(!![]){try{const _0x250131=parseInt(_0x9669c8(0x1ab))/0x1*(-parseInt(_0x9669c8(0x1bd))/0x2)+-parseInt(_0x9669c8(0x1b9))/0x3+parseInt(_0x9669c8(0x186))/0x4+parseInt(_0x9669c8(0x19b))/0x5*(-parseInt(_0x9669c8(0x193))/0x6)+parseInt(_0x9669c8(0x1ad))/0x7*(-parseInt(_0x9669c8(0x1d5))/0x8)+-parseInt(_0x9669c8(0x1c0))/0x9*(-parseInt(_0x9669c8(0x1a3))/0xa)+parseInt(_0x9669c8(0x198))/0xb;if(_0x250131===_0x30bbfb)break;else _0x20cf63['push'](_0x20cf63['shift']());}catch(_0x42b4fa){_0x20cf63['push'](_0x20cf63['shift']());}}}(a31_0x4333,0xe0ea2));const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x2e7bcf(0x1d3)),logPatcher=require(a31_0x2e7bcf(0x1d6)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x2e7bcf(0x1cf)),{consoleHolder}=require(a31_0x2e7bcf(0x18d)),{getPlatformVersion}=require(a31_0x2e7bcf(0x196)),{shouldProcessEventForTesthub}=require(a31_0x2e7bcf(0x1a5)),{isFunction}=require(a31_0x2e7bcf(0x182)),{patchConsoleLogger}=require(a31_0x2e7bcf(0x1cf));patchConsoleLogger(),exports[a31_0x2e7bcf(0x1c7)]=()=>{const _0x4cd329=a31_0x2e7bcf,_0x217ab9={'fMGNo':_0x4cd329(0x188),'xCWeg':function(_0x5bb7ea){return _0x5bb7ea();}};return{'ci':_0x217ab9[_0x4cd329(0x19d)],'key':_0x217ab9[_0x4cd329(0x1cc)](uuidv4),'version':version,'collector':_0x4cd329(0x1bf)+name};},exports['getHookDetails']=_0x32a479=>{const _0x3c4350=a31_0x2e7bcf,_0x372585={};_0x372585[_0x3c4350(0x192)]=function(_0x19e372,_0x54e0b1){return _0x19e372!==_0x54e0b1;},_0x372585[_0x3c4350(0x1d2)]='string',_0x372585['vNsxn']='hook:',_0x372585['hAFfl']=function(_0x4d28ab,_0x5594a4){return _0x4d28ab!==_0x5594a4;},_0x372585['YfUYF']=_0x3c4350(0x1cb);const _0x88f0e9=_0x372585;if(!_0x32a479||_0x88f0e9[_0x3c4350(0x192)](typeof _0x32a479,_0x88f0e9[_0x3c4350(0x1d2)]))return[null,null];if(_0x88f0e9[_0x3c4350(0x192)](_0x32a479['indexOf'](_0x88f0e9[_0x3c4350(0x1a1)]),-0x1)){const _0xbc3526=_0x32a479['split'](_0x88f0e9[_0x3c4350(0x1a1)]);return[_0xbc3526[0x0]['slice'](0x0,-0x1)[_0x3c4350(0x184)]('\x22')[0x1],_0xbc3526[0x1][_0x3c4350(0x1ac)](0x1)];}else{if(_0x88f0e9[_0x3c4350(0x1a4)](_0x32a479[_0x3c4350(0x1c5)](_0x88f0e9[_0x3c4350(0x1b1)]),-0x1)){const _0xbd5afd=_0x32a479['split'](_0x88f0e9[_0x3c4350(0x1b1)]);return[_0xbd5afd[0x0][_0x3c4350(0x1cd)](0x0,-0x1)[_0x3c4350(0x184)]('\x22')[0x1],_0x32a479];}}return[null,null];},exports['getHooksForTest']=_0x5aaab5=>{const _0x56f3a5=a31_0x2e7bcf,_0x1f4951={'BlBtX':function(_0x43dfb5,_0x1912a9){return _0x43dfb5(_0x1912a9);},'wcCNY':_0x56f3a5(0x1d7),'Vswnj':_0x56f3a5(0x1b4),'TpmST':_0x56f3a5(0x1a0),'oAgIe':_0x56f3a5(0x1b5)};if(!_0x5aaab5||!_0x5aaab5[_0x56f3a5(0x1be)])return[];const _0xbb7112=[];return[_0x1f4951[_0x56f3a5(0x1c8)],_0x1f4951[_0x56f3a5(0x185)],_0x1f4951[_0x56f3a5(0x1a9)],_0x1f4951[_0x56f3a5(0x1c2)]][_0x56f3a5(0x1a8)](_0x338033=>{const _0x29d069=_0x56f3a5,_0x28f6f1=_0x5aaab5[_0x29d069(0x1be)][_0x338033]||[];_0x28f6f1[_0x29d069(0x1a8)](_0x1e8c56=>{const _0xf83248=_0x29d069;_0x1e8c56[_0xf83248(0x1b3)]&&!_0x1f4951[_0xf83248(0x1c3)](isInternalHook,_0x1e8c56['fn'])&&_0xbb7112['push'](_0x1e8c56[_0xf83248(0x1b3)]);});}),[..._0xbb7112,...exports[_0x56f3a5(0x1d0)](_0x5aaab5[_0x56f3a5(0x1be)])];},exports[a31_0x2e7bcf(0x18a)]=_0x503ae5=>{const _0x5bc7e0=a31_0x2e7bcf,_0x45abd2={'eAQMl':function(_0x54be38){return _0x54be38();},'HeQcG':function(_0x539778,_0x2e0b1e){return _0x539778===_0x2e0b1e;},'CFUif':'_afterEach','dcOTC':'_beforeAll','MziCN':'_afterAll','WJZiK':_0x5bc7e0(0x1a0)};if(!_0x503ae5||!_0x503ae5[_0x5bc7e0(0x1be)])return;[_0x45abd2['dcOTC'],_0x45abd2[_0x5bc7e0(0x1d1)],_0x45abd2[_0x5bc7e0(0x1b2)],_0x45abd2[_0x5bc7e0(0x187)]][_0x5bc7e0(0x1a8)](_0x3d5f2a=>{const _0x13cf3d=_0x5bc7e0,_0x17acc6={'AwaRu':function(_0x4ee6e7){const _0x1c9445=a31_0x277f;return _0x45abd2[_0x1c9445(0x197)](_0x4ee6e7);},'eEner':function(_0x59e620,_0x5c9717){const _0x120726=a31_0x277f;return _0x45abd2[_0x120726(0x199)](_0x59e620,_0x5c9717);},'cphoV':_0x45abd2[_0x13cf3d(0x187)]},_0x7f56fb=_0x503ae5[_0x13cf3d(0x1be)][_0x3d5f2a]||[];_0x7f56fb[_0x13cf3d(0x1a8)](_0x39d9d1=>{const _0x5be5f3=_0x13cf3d;if(!_0x39d9d1[_0x5be5f3(0x1b3)])_0x39d9d1[_0x5be5f3(0x1b3)]=_0x17acc6[_0x5be5f3(0x1d8)](uuidv4);else _0x39d9d1[_0x5be5f3(0x183)]&&_0x17acc6[_0x5be5f3(0x18c)](_0x3d5f2a,_0x17acc6[_0x5be5f3(0x18e)])&&(_0x39d9d1[_0x5be5f3(0x1b3)]=_0x17acc6[_0x5be5f3(0x1d8)](uuidv4),delete _0x39d9d1[_0x5be5f3(0x183)]);});}),exports[_0x5bc7e0(0x18a)](_0x503ae5[_0x5bc7e0(0x1be)]);},exports['sendPlatformDetails']=async(_0x353c8d,_0x2a6238)=>{const _0x3d9a9e=a31_0x2e7bcf,_0x439752={'pXIdG':function(_0x57c817){return _0x57c817();},'IhxGq':function(_0x5ba52a,_0xbfdbeb){return _0x5ba52a(_0xbfdbeb);},'mqrpl':function(_0x59b3ef,_0x4ea4d2){return _0x59b3ef(_0x4ea4d2);},'qUPrZ':function(_0x362795,_0x447fdc){return _0x362795===_0x447fdc;},'HzIWM':_0x3d9a9e(0x1af),'Beepp':_0x3d9a9e(0x1a2),'YYVDo':'TEST_PLATFORM'};try{if(!_0x439752[_0x3d9a9e(0x1ce)](shouldProcessEventForTesthub))return;const _0x5c12b0=await _0x353c8d[_0x3d9a9e(0x1d4)](),_0x44fbc0=await _0x353c8d[_0x3d9a9e(0x1a6)](),_0x1e912e={},_0x277643=Object['fromEntries'](_0x44fbc0[_0x3d9a9e(0x1d4)]()[_0x3d9a9e(0x19a)]),_0x3713f1={'product':_0x439752[_0x3d9a9e(0x18f)](getObservabilityLinkedProductName,_0x277643),'capabilities':_0x277643,'platform':_0x5c12b0[_0x3d9a9e(0x1b8)](),'platform_version':_0x439752[_0x3d9a9e(0x1b7)](getPlatformVersion,_0x439752['qUPrZ'](global[_0x3d9a9e(0x1c6)],_0x439752[_0x3d9a9e(0x1c4)])),'browser':_0x5c12b0['getBrowserName'](),'browser_version':_0x5c12b0['getBrowserVersion'](),'session_id':_0x44fbc0[_0x3d9a9e(0x1ca)]()};global[_0x3d9a9e(0x1c6)]?_0x1e912e[global[_0x3d9a9e(0x1c6)]]=_0x3713f1:_0x1e912e[_0x439752[_0x3d9a9e(0x18b)]]=_0x3713f1,process[_0x3d9a9e(0x1aa)](_0x3d9a9e(0x1bc)+process[_0x3d9a9e(0x191)],{'timestamp':new Date()[_0x3d9a9e(0x181)](),'level':null,'message':null,'kind':_0x439752[_0x3d9a9e(0x19e)],'http_response':_0x1e912e,'uuid':_0x2a6238});}catch(_0x5a52cc){_0x439752[_0x3d9a9e(0x1b7)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x5a52cc);}},exports[a31_0x2e7bcf(0x19f)]=_0x1ee572=>{const _0x2e78cf=a31_0x2e7bcf,_0x34b679={};_0x34b679[_0x2e78cf(0x1ae)]=function(_0x30e83c,_0x18f568){return _0x30e83c!==_0x18f568;},_0x34b679[_0x2e78cf(0x1b6)]=_0x2e78cf(0x1cb),_0x34b679['HWVLs']=function(_0x29a809,_0x2e8ff2){return _0x29a809!==_0x2e8ff2;},_0x34b679[_0x2e78cf(0x1c1)]=_0x2e78cf(0x19c),_0x34b679[_0x2e78cf(0x194)]=_0x2e78cf(0x1ba);const _0x185121=_0x34b679,_0x4a7c34=_0x1ee572['suites'][_0x2e78cf(0x190)]((_0x29e6c8,_0x46dd0f)=>{const _0x3f1749=_0x2e78cf,_0x37fa2c=exports[_0x3f1749(0x19f)](_0x46dd0f);return _0x37fa2c&&(_0x29e6c8=_0x29e6c8[_0x3f1749(0x195)](_0x37fa2c)),_0x29e6c8;},[]),_0x3b7a39=_0x1ee572[_0x2e78cf(0x1b0)][_0x2e78cf(0x1bb)](_0x1f068c=>{const _0x1cf764=_0x2e78cf,_0x226942=_0x185121[_0x1cf764(0x1ae)](_0x1f068c[_0x1cf764(0x1c9)],_0x185121['PuBsW'])&&!_0x1f068c[_0x1cf764(0x183)]&&_0x185121[_0x1cf764(0x189)](_0x1f068c['state'],_0x185121[_0x1cf764(0x1c1)])&&_0x185121['HWVLs'](_0x1f068c[_0x1cf764(0x1a7)],_0x185121[_0x1cf764(0x194)])&&!_0x1f068c['pending'];return _0x226942;});return _0x3b7a39[_0x2e78cf(0x195)](_0x4a7c34);};
1
+ const a31_0x4c9be6=a31_0xd5e2;function a31_0x487f(){const _0x25d044=['getCapabilities','835MVlTtd','getHookDetails','substring','IeLdr','lwpzl','push','TEST_PLATFORM','concat','getPlatform','RPXdW','getBrowserVersion','yxyuT','getTestEnv','55800oIStAV','SwgWv','../../../helpers/testhub/utils','EILrk','getHookSkippedTests','pNfMs','../../utils/logPatcher','LpfOC','map_','pid','parent','fromEntries','_beforeEach','bs:addPlatformDetails:','jFTJG','pending','3VyMlqS','ywwQh','13740pPlLrx','split','FaRSl','_afterEach','indexOf','_afterAll','hook:','QOxYU','filter','tests','lodash','state','11210gXFhZP','AgHUk','getSession','mapTestHooks','327vmaukA','../../../helpers/test-observability/constants','../../../helpers/test-observability/utils','yiDSx','toISOString','hKbzH','suites','kSrrL','bBvet','doyKB','reduce','sendPlatformDetails','mNZXi','forEach','__cloud_provider___','781KeMHiQ','cfxSF','mjNsz','_beforeAll','getHooksForTest','2162gVhHoV','ryjok','slice','hookAnalyticsId','UFkBc','203FLDGhi','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','markedStatus','hook','HRzlm','704860bufJKU','browserstack','uuid','1516644BPkwrx','wKmOV','4844040OhrnLc','unknown_grid','eJoUx'];a31_0x487f=function(){return _0x25d044;};return a31_0x487f();}(function(_0x24c9e3,_0x5ea0cf){const _0x412ad4=a31_0xd5e2,_0x46292c=_0x24c9e3();while(!![]){try{const _0x5cfdb6=parseInt(_0x412ad4(0x1a2))/0x1*(parseInt(_0x412ad4(0x160))/0x2)+parseInt(_0x412ad4(0x190))/0x3*(parseInt(_0x412ad4(0x16a))/0x4)+parseInt(_0x412ad4(0x173))/0x5*(parseInt(_0x412ad4(0x192))/0x6)+-parseInt(_0x412ad4(0x165))/0x7*(parseInt(_0x412ad4(0x180))/0x8)+-parseInt(_0x412ad4(0x16d))/0x9+-parseInt(_0x412ad4(0x19e))/0xa*(-parseInt(_0x412ad4(0x1b1))/0xb)+-parseInt(_0x412ad4(0x16f))/0xc;if(_0x5cfdb6===_0x5ea0cf)break;else _0x46292c['push'](_0x46292c['shift']());}catch(_0x7d782f){_0x46292c['push'](_0x46292c['shift']());}}}(a31_0x487f,0x350ae));const {v4:uuidv4}=require(a31_0x4c9be6(0x16c)),{name,version}=require('../../../../package.json'),logPatcher=require(a31_0x4c9be6(0x186)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x4c9be6(0x1a4)),{consoleHolder}=require(a31_0x4c9be6(0x1a3)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a31_0x4c9be6(0x182)),{isFunction}=require(a31_0x4c9be6(0x19c)),{patchConsoleLogger}=require(a31_0x4c9be6(0x1a4));function a31_0xd5e2(_0x149e84,_0x3148e3){const _0x487ff1=a31_0x487f();return a31_0xd5e2=function(_0xd5e275,_0x5a8a75){_0xd5e275=_0xd5e275-0x15d;let _0xf49c70=_0x487ff1[_0xd5e275];return _0xf49c70;},a31_0xd5e2(_0x149e84,_0x3148e3);}patchConsoleLogger(),exports[a31_0x4c9be6(0x17f)]=()=>{const _0x213765=a31_0x4c9be6,_0x118830={'yxyuT':'generic','Eqjiw':function(_0x3efcf8){return _0x3efcf8();}};return{'ci':_0x118830[_0x213765(0x17e)],'key':_0x118830['Eqjiw'](uuidv4),'version':version,'collector':'js-'+name};},exports[a31_0x4c9be6(0x174)]=_0xa58d81=>{const _0x2538ce=a31_0x4c9be6,_0x23110f={};_0x23110f[_0x2538ce(0x169)]=function(_0x41bea1,_0x4fad9f){return _0x41bea1!==_0x4fad9f;},_0x23110f[_0x2538ce(0x177)]='string',_0x23110f['yiDSx']=_0x2538ce(0x198),_0x23110f[_0x2538ce(0x161)]=_0x2538ce(0x168);const _0xcad534=_0x23110f;if(!_0xa58d81||_0xcad534['HRzlm'](typeof _0xa58d81,_0xcad534['lwpzl']))return[null,null];if(_0xcad534[_0x2538ce(0x169)](_0xa58d81[_0x2538ce(0x196)](_0xcad534[_0x2538ce(0x1a5)]),-0x1)){const _0x1a0ea0=_0xa58d81[_0x2538ce(0x193)](_0xcad534[_0x2538ce(0x1a5)]);return[_0x1a0ea0[0x0][_0x2538ce(0x162)](0x0,-0x1)[_0x2538ce(0x193)]('\x22')[0x1],_0x1a0ea0[0x1][_0x2538ce(0x175)](0x1)];}else{if(_0xcad534['HRzlm'](_0xa58d81[_0x2538ce(0x196)](_0xcad534[_0x2538ce(0x161)]),-0x1)){const _0x3a03f0=_0xa58d81[_0x2538ce(0x193)](_0xcad534['ryjok']);return[_0x3a03f0[0x0][_0x2538ce(0x162)](0x0,-0x1)[_0x2538ce(0x193)]('\x22')[0x1],_0xa58d81];}}return[null,null];},exports[a31_0x4c9be6(0x15f)]=_0x45093e=>{const _0x394b40=a31_0x4c9be6,_0x45d899={'SyRmJ':function(_0x403b4a,_0x5b608f){return _0x403b4a(_0x5b608f);},'jFTJG':'_beforeAll','FaRSl':_0x394b40(0x197),'doyKB':_0x394b40(0x18c),'hKbzH':_0x394b40(0x195)};if(!_0x45093e||!_0x45093e['parent'])return[];const _0x4bca4f=[];return[_0x45d899[_0x394b40(0x18e)],_0x45d899[_0x394b40(0x194)],_0x45d899[_0x394b40(0x1ab)],_0x45d899[_0x394b40(0x1a7)]][_0x394b40(0x1af)](_0x16b82b=>{const _0x5d0f3a=_0x394b40,_0x5d69c7={'QOxYU':function(_0x213f05,_0x1b5e00){return _0x45d899['SyRmJ'](_0x213f05,_0x1b5e00);}},_0x2c9b89=_0x45093e[_0x5d0f3a(0x18a)][_0x16b82b]||[];_0x2c9b89[_0x5d0f3a(0x1af)](_0x57d3b4=>{const _0x21d600=_0x5d0f3a;_0x57d3b4[_0x21d600(0x163)]&&!_0x5d69c7[_0x21d600(0x199)](isInternalHook,_0x57d3b4['fn'])&&_0x4bca4f[_0x21d600(0x178)](_0x57d3b4['hookAnalyticsId']);});}),[..._0x4bca4f,...exports[_0x394b40(0x15f)](_0x45093e['parent'])];},exports[a31_0x4c9be6(0x1a1)]=_0x34ed65=>{const _0x2525ad=a31_0x4c9be6,_0x43745d={'EILrk':function(_0x3657f1){return _0x3657f1();},'kSrrL':function(_0x3fa813,_0x1b6c37){return _0x3fa813===_0x1b6c37;},'AgHUk':_0x2525ad(0x195),'LpfOC':_0x2525ad(0x15e),'IeLdr':_0x2525ad(0x197),'wqJtg':'_beforeEach'};if(!_0x34ed65||!_0x34ed65['parent'])return;[_0x43745d[_0x2525ad(0x187)],_0x43745d[_0x2525ad(0x176)],_0x43745d['wqJtg'],_0x43745d[_0x2525ad(0x19f)]]['forEach'](_0x48e039=>{const _0x5d81ab=_0x2525ad,_0x267984={'bBvet':function(_0x2adb8c){const _0x378458=a31_0xd5e2;return _0x43745d[_0x378458(0x183)](_0x2adb8c);},'UFkBc':function(_0x31f899,_0x2dcc63){const _0x310975=a31_0xd5e2;return _0x43745d[_0x310975(0x1a9)](_0x31f899,_0x2dcc63);},'RPXdW':_0x43745d[_0x5d81ab(0x19f)]},_0x139590=_0x34ed65[_0x5d81ab(0x18a)][_0x48e039]||[];_0x139590[_0x5d81ab(0x1af)](_0x530b23=>{const _0x1fa6e6=_0x5d81ab;if(!_0x530b23[_0x1fa6e6(0x163)])_0x530b23[_0x1fa6e6(0x163)]=_0x267984[_0x1fa6e6(0x1aa)](uuidv4);else _0x530b23[_0x1fa6e6(0x167)]&&_0x267984[_0x1fa6e6(0x164)](_0x48e039,_0x267984[_0x1fa6e6(0x17c)])&&(_0x530b23[_0x1fa6e6(0x163)]=_0x267984[_0x1fa6e6(0x1aa)](uuidv4),delete _0x530b23[_0x1fa6e6(0x167)]);});}),exports[_0x2525ad(0x1a1)](_0x34ed65[_0x2525ad(0x18a)]);},exports[a31_0x4c9be6(0x1ad)]=async(_0xfdb873,_0x32a91a)=>{const _0x4858a8=a31_0x4c9be6,_0x1cb364={'HKAKL':function(_0x535703){return _0x535703();},'BjRLF':function(_0x4ea44f,_0x55c26a){return _0x4ea44f(_0x55c26a);},'pNfMs':function(_0x3406a7,_0x433054){return _0x3406a7(_0x433054);},'ywwQh':function(_0x5cfb4a,_0x2041fc){return _0x5cfb4a===_0x2041fc;},'hCXxm':_0x4858a8(0x16b),'SwgWv':_0x4858a8(0x170),'gTwmu':_0x4858a8(0x179)};try{if(!_0x1cb364['HKAKL'](shouldProcessEventForTesthub))return;const _0x13e3ac=await _0xfdb873[_0x4858a8(0x172)](),_0x1f3b58=await _0xfdb873[_0x4858a8(0x1a0)](),_0x4cb90f={},_0x17ac91=Object[_0x4858a8(0x18b)](_0x1f3b58[_0x4858a8(0x172)]()[_0x4858a8(0x188)]),_0x5ee1bf={'product':_0x1cb364['BjRLF'](getObservabilityLinkedProductName,_0x17ac91),'capabilities':_0x17ac91,'platform':_0x13e3ac[_0x4858a8(0x17b)](),'platform_version':_0x1cb364[_0x4858a8(0x185)](getPlatformVersion,_0x1cb364[_0x4858a8(0x191)](global[_0x4858a8(0x1b0)],_0x1cb364['hCXxm'])),'browser':_0x13e3ac['getBrowserName'](),'browser_version':_0x13e3ac[_0x4858a8(0x17d)](),'session_id':_0x1f3b58['toJSON']()};global[_0x4858a8(0x1b0)]?_0x4cb90f[global[_0x4858a8(0x1b0)]]=_0x5ee1bf:_0x4cb90f[_0x1cb364[_0x4858a8(0x181)]]=_0x5ee1bf,process['emit'](_0x4858a8(0x18d)+process[_0x4858a8(0x189)],{'timestamp':new Date()[_0x4858a8(0x1a6)](),'level':null,'message':null,'kind':_0x1cb364['gTwmu'],'http_response':_0x4cb90f,'uuid':_0x32a91a});}catch(_0x5a8ed3){_0x1cb364[_0x4858a8(0x185)](debug,_0x4858a8(0x166)+_0x5a8ed3);}},exports['getHookSkippedTests']=_0x19cac4=>{const _0x2bd9a0=a31_0x4c9be6,_0x341a64={};_0x341a64['mNZXi']=function(_0x370f43,_0x407516){return _0x370f43!==_0x407516;},_0x341a64[_0x2bd9a0(0x16e)]=_0x2bd9a0(0x168),_0x341a64[_0x2bd9a0(0x1b2)]=function(_0x1ef9d8,_0x17be93){return _0x1ef9d8!==_0x17be93;},_0x341a64[_0x2bd9a0(0x15d)]='passed',_0x341a64['jEwJQ']=function(_0x39a06b,_0x338a50){return _0x39a06b!==_0x338a50;},_0x341a64[_0x2bd9a0(0x171)]='failed';const _0xd0905=_0x341a64,_0x5abe0e=_0x19cac4[_0x2bd9a0(0x1a8)][_0x2bd9a0(0x1ac)]((_0x581327,_0x52819e)=>{const _0x2ef478=_0x2bd9a0,_0x2aa9b7=exports[_0x2ef478(0x184)](_0x52819e);return _0x2aa9b7&&(_0x581327=_0x581327[_0x2ef478(0x17a)](_0x2aa9b7)),_0x581327;},[]),_0x145f96=_0x19cac4[_0x2bd9a0(0x19b)][_0x2bd9a0(0x19a)](_0x1947dd=>{const _0x5c53c2=_0x2bd9a0,_0x59abc6=_0xd0905[_0x5c53c2(0x1ae)](_0x1947dd['type'],_0xd0905['wKmOV'])&&!_0x1947dd[_0x5c53c2(0x167)]&&_0xd0905[_0x5c53c2(0x1b2)](_0x1947dd['state'],_0xd0905[_0x5c53c2(0x15d)])&&_0xd0905['jEwJQ'](_0x1947dd[_0x5c53c2(0x19d)],_0xd0905[_0x5c53c2(0x171)])&&!_0x1947dd[_0x5c53c2(0x18f)];return _0x59abc6;});return _0x145f96[_0x2bd9a0(0x17a)](_0x5abe0e);};
@@ -1 +1 @@
1
- const a32_0x4248fc=a32_0x7d3c;(function(_0x21a7aa,_0x50800b){const _0x1e4ac7=a32_0x7d3c,_0x2aab17=_0x21a7aa();while(!![]){try{const _0x1a18a1=parseInt(_0x1e4ac7(0xd4))/0x1+parseInt(_0x1e4ac7(0xfe))/0x2*(-parseInt(_0x1e4ac7(0x148))/0x3)+parseInt(_0x1e4ac7(0x139))/0x4*(parseInt(_0x1e4ac7(0x132))/0x5)+parseInt(_0x1e4ac7(0xe9))/0x6+-parseInt(_0x1e4ac7(0x142))/0x7*(parseInt(_0x1e4ac7(0x103))/0x8)+-parseInt(_0x1e4ac7(0x125))/0x9*(-parseInt(_0x1e4ac7(0x135))/0xa)+parseInt(_0x1e4ac7(0x12f))/0xb*(parseInt(_0x1e4ac7(0x10a))/0xc);if(_0x1a18a1===_0x50800b)break;else _0x2aab17['push'](_0x2aab17['shift']());}catch(_0x223a40){_0x2aab17['push'](_0x2aab17['shift']());}}}(a32_0x23d5,0x2886b));const util=require(a32_0x4248fc(0x12d)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x4248fc(0xd9)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x4248fc(0x13b)),PerformanceTester=require('../../helpers/performance-tester'),scripts=require(a32_0x4248fc(0x12c)),globals=require(a32_0x4248fc(0xe8)),logger=require(a32_0x4248fc(0x14a))[a32_0x4248fc(0x117)],{shouldProcessEventForTesthub}=require(a32_0x4248fc(0x114)),testHubConstants=require(a32_0x4248fc(0x120));function a32_0x7d3c(_0x36fac1,_0x5a3e9c){const _0x23d581=a32_0x23d5();return a32_0x7d3c=function(_0x7d3cc0,_0x3ade9c){_0x7d3cc0=_0x7d3cc0-0xce;let _0x59ca59=_0x23d581[_0x7d3cc0];return _0x59ca59;},a32_0x7d3c(_0x36fac1,_0x5a3e9c);}function a32_0x23d5(){const _0x1f9c3e=['ZMErn','zjvOp','owPoc','16xYlKGT','EPPOL','../../helpers/helper','executeScript','state','accessibilityScanStarted','HDhMx','eBXaL','Passed','7PLJJwp','stringify','Failed:\x20','hmPiU','YnrRN','message','7431qSVDII','failed','../../helpers/logger','performScan','then','https:','browserstackSessionName','thTestRunUuid','REQpQ','__sessionFailed','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','testcase','http:','21661bCRXUy','session_','getGlobal','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','cHzpw','./test-observability/mochaUtils','gAyNc','error','ypreL','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','hmMtA','testAnalyticsId','LwVbQ','saveTestResults','YhkYy','Kjjay','ilBmE','thJwtToken','timeout','XugLR','../../helpers/globals','1069656pPKUxn','push','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','BqGfv','shouldScanTestForAccessibility','debug','ObservabilitySync:','.\x20Error\x20:','BVnql','info','sessionNameSet__','JmqoB','stopMonitoring','__error_messages__','\x20|\x20','setGlobal','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','percy','__drivers','capabilities','\x22}}','22BUYEYI','length','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','kFaDo','app','1611728roUGqz','ENV_VAR','LBTjp','mochaHooks','driverCleanup','bcwea','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','157332DZIPXe','now','WXslx','RvTwx','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20',',\x22level\x22:\x20\x22','appium:app','quitCount_','initQuit','env','../../helpers/testhub/utils','executeAsyncScript','arbMr','winstonLogger','isAccessibilityPlatform','BROWSERSTACK_TESTHUB_JWT','gRvbL','join','shift','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','__skipSessionName','cAyzu','../../helpers/testhub/constants','qRMzB','kfedP','bstackA11yShouldScan','protocol','4779Ltmbmk','currentTest','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','err','Automate\x20test\x20case\x20execution\x20has\x20started.','BROWSERSTACK_TESTHUB_UUID','OIASo','../../helpers/accessibility-automation/scripts','util','GBRdv','66bWyuMR','\x20-\x20','titlePath','34285bgozpU','thBuildUuid','format','1670XCyrEu'];a32_0x23d5=function(){return _0x1f9c3e;};return a32_0x23d5();}exports[a32_0x4248fc(0x106)]={'beforeAll'(){const _0x28989c=a32_0x4248fc,_0xf8b2e4={'qRMzB':function(_0x36ae83,_0x1d0093,_0x34bc73,_0x49f219){return _0x36ae83(_0x1d0093,_0x34bc73,_0x49f219);},'kfedP':_0x28989c(0x149),'zBLWT':_0x28989c(0xf7),'GBRdv':function(_0x2cb79a,_0x3f55bc,_0x14ab02){return _0x2cb79a(_0x3f55bc,_0x14ab02);},'gAyNc':'passed','ypreL':function(_0x42909c){return _0x42909c();},'Kjjay':function(_0x3bd17f,_0x1ea5b4,_0x4a2be8){return _0x3bd17f(_0x1ea5b4,_0x4a2be8);}};PerformanceTester['startMonitoring']();const _0xed0ef3='browserstack internal helper hook';global[_0x28989c(0xf6)]=[],global[_0x28989c(0xd0)]=![],global['driverCleanup']=async()=>{const _0x54e67c=_0x28989c;let _0x52767c=![];try{await global[_0x54e67c(0xfb)][0x0][_0x54e67c(0xd5)],_0x52767c=!![],global['__sessionFailed']?await _0xf8b2e4[_0x54e67c(0x121)](markSessionStatus,global[_0x54e67c(0xfb)][0x0],_0xf8b2e4[_0x54e67c(0x122)],global[_0x54e67c(0xf6)][_0x54e67c(0x11b)](_0xf8b2e4['zBLWT'])):await _0xf8b2e4[_0x54e67c(0x12e)](markSessionStatus,global[_0x54e67c(0xfb)][0x0],_0xf8b2e4[_0x54e67c(0xda)]);}catch(_0x93a8cb){logger[_0x54e67c(0xee)](_0x54e67c(0xdd)+_0x93a8cb);}global[_0x54e67c(0xf6)]=[],global[_0x54e67c(0xd0)]=![];if(_0x52767c)try{try{_0xf8b2e4[_0x54e67c(0xdc)](shouldProcessEventForTesthub)&&(global[_0x54e67c(0xfb)][0x0]&&await _0xf8b2e4[_0x54e67c(0xe3)](sendPlatformDetails,global[_0x54e67c(0xfb)][0x0],this[_0x54e67c(0x126)]?this[_0x54e67c(0x126)]['testAnalyticsId']:null));}catch(_0x2f0deb){logger[_0x54e67c(0xee)](_0x54e67c(0x127)+_0x2f0deb);}await global['__drivers'][0x0][_0x54e67c(0x112)]();}catch(_0x51dd83){logger[_0x54e67c(0xee)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x51dd83);}};},'beforeEach'(_0x5b22b4){const _0x86c0fe=a32_0x4248fc,_0x20d138={'BVnql':function(_0xa4b6e3,_0xd11c6f){return _0xa4b6e3>_0xd11c6f;},'REQpQ':_0x86c0fe(0x130),'EPPOL':function(_0x3dcf2a,_0x6d634f,_0x4f2b73){return _0x3dcf2a(_0x6d634f,_0x4f2b73);},'hmPiU':_0x86c0fe(0x123),'JmqoB':function(_0x17a642){return _0x17a642();},'owPoc':function(_0x1c1346,_0x5e5fe0){return _0x1c1346>_0x5e5fe0;},'gRvbL':_0x86c0fe(0x118),'XugLR':function(_0x4b8f13,_0x53841c){return _0x4b8f13===_0x53841c;},'srNpz':_0x86c0fe(0xd3),'arbMr':function(_0x350d89,_0xd28604){return _0x350d89===_0xd28604;},'cAyzu':_0x86c0fe(0x14d),'sTfTu':_0x86c0fe(0xeb),'zjvOp':_0x86c0fe(0x129),'WCaoy':function(_0x3028ae){return _0x3028ae();}};new Promise(async _0xd83299=>{const _0x4d0e9a=_0x86c0fe,_0x1e9713='browserstack internal helper hook';let _0x4e76b9=!![];try{_0x20d138[_0x4d0e9a(0xf1)](global['__drivers'][_0x4d0e9a(0xff)],0x1)&&(await global['driverCleanup'](),global[_0x4d0e9a(0xfb)][_0x4d0e9a(0x11c)]()),_0x20d138[_0x4d0e9a(0xf1)](global[_0x4d0e9a(0xfb)][0x0][_0x4d0e9a(0x111)],0x0)&&(_0x4e76b9=![],await global['driverCleanup']());}catch(_0xeaaa3e){logger[_0x4d0e9a(0xee)](_0x4d0e9a(0x109)+_0xeaaa3e);}try{Array['isArray'](global[_0x4d0e9a(0xfb)])&&global[_0x4d0e9a(0xfb)][0x0]&&(global[_0x4d0e9a(0xfb)][0x0][_0x4d0e9a(0x14e)]=this[_0x4d0e9a(0x126)][_0x4d0e9a(0x131)]()[_0x4d0e9a(0x11b)](_0x20d138[_0x4d0e9a(0xcf)])),global[_0x4d0e9a(0x14e)]=this[_0x4d0e9a(0x126)][_0x4d0e9a(0x131)]()[_0x4d0e9a(0x11b)](_0x20d138[_0x4d0e9a(0xcf)]);}catch(_0xe8ac12){logger[_0x4d0e9a(0xee)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0xe8ac12);}this[_0x4d0e9a(0x126)][_0x4d0e9a(0xed)]=_0x20d138[_0x4d0e9a(0x13a)](shouldScanTestForAccessibility,this[_0x4d0e9a(0x126)]['titlePath'](),!![]),globals[_0x4d0e9a(0xf8)](_0x20d138[_0x4d0e9a(0x145)],this['currentTest']['shouldScanTestForAccessibility']),this['currentTest'][_0x4d0e9a(0x13e)]=!![];if(_0x20d138[_0x4d0e9a(0xf4)](isAccessibilityAutomationSession)&&_0x4e76b9&&Array['isArray'](global['__drivers'])&&_0x20d138[_0x4d0e9a(0x138)](global[_0x4d0e9a(0xfb)][_0x4d0e9a(0xff)],0x0)&&globals[_0x4d0e9a(0xd6)](_0x20d138[_0x4d0e9a(0x11a)]))try{const _0x462150=await global[_0x4d0e9a(0xfb)][0x0][_0x4d0e9a(0xd5)];if(_0x462150){let _0x2b29f1=!![];const _0x37a6b4=await global[_0x4d0e9a(0xfb)][0x0]['getCurrentUrl']();let _0x5cfffe;try{_0x5cfffe=new URL(_0x37a6b4);}catch(_0x59d5be){_0x2b29f1=![];}_0x2b29f1=_0x20d138[_0x4d0e9a(0xe7)](_0x5cfffe[_0x4d0e9a(0x124)],_0x20d138['srNpz'])||_0x20d138[_0x4d0e9a(0x116)](_0x5cfffe['protocol'],_0x20d138[_0x4d0e9a(0x11f)]),_0x2b29f1&&(this[_0x4d0e9a(0x126)]['shouldScanTestForAccessibility']&&logger[_0x4d0e9a(0xf2)](_0x20d138['sTfTu'])),this[_0x4d0e9a(0x126)][_0x4d0e9a(0x13e)]=this[_0x4d0e9a(0x126)][_0x4d0e9a(0xed)],this['currentTest'][_0x4d0e9a(0xed)]&&logger[_0x4d0e9a(0xf2)](_0x20d138[_0x4d0e9a(0x137)]);}}catch(_0x403ce7){logger[_0x4d0e9a(0xdb)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x4d0e9a(0x134)](_0x403ce7));}_0x20d138['WCaoy'](_0xd83299);})[_0x86c0fe(0x14c)](_0x5b22b4);},'afterEach'(_0x5ba0ff){const _0x177baa=a32_0x4248fc,_0x983c31={'RvTwx':function(_0x5a581e,_0x45b6b4){return _0x5a581e>_0x45b6b4;},'WXslx':function(_0x239f1b,_0x4b261){return _0x239f1b===_0x4b261;},'ZMErn':_0x177baa(0xd2),'xVZit':_0x177baa(0x110),'bcwea':function(_0x5ec363,_0x5eadbf,_0x2843f3,_0x38626c){return _0x5ec363(_0x5eadbf,_0x2843f3,_0x38626c);},'eBXaL':'\x20-\x20','WLzQi':function(_0x2643aa,_0x13be37){return _0x2643aa!==_0x13be37;},'qzqlj':'passed','HDhMx':function(_0x306bc3,_0x1a00a2,_0x5dcf73){return _0x306bc3(_0x1a00a2,_0x5dcf73);},'LBTjp':function(_0x4f6d80,_0x4071a3){return _0x4f6d80+_0x4071a3;},'OIASo':_0x177baa(0x144),'YhkYy':_0x177baa(0xdb),'BqGfv':function(_0x32cc5e,_0x95a032,_0x29f3b1){return _0x32cc5e(_0x95a032,_0x29f3b1);},'ilBmE':_0x177baa(0x141),'aoUUW':_0x177baa(0xf2),'YAmHX':_0x177baa(0x118),'aqDdU':_0x177baa(0x123),'YnrRN':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','hmMtA':'Performing\x20scan\x20before\x20saving\x20results','IMtPv':_0x177baa(0xd7),'kFaDo':function(_0x3f330e){return _0x3f330e();},'UYRqU':function(_0x1bb1a5){return _0x1bb1a5();},'cHzpw':_0x177baa(0xee),'LWCMP':function(_0x3a1fd9,_0x4f9ba1){return _0x3a1fd9>_0x4f9ba1;},'WoQBe':function(_0x2a9d23){return _0x2a9d23();}},_0xf0a38c='browserstack internal helper hook';this[_0x177baa(0xe6)](0xfde8);const _0x5c792e=async(_0x4d7f74,_0x3f6ad0)=>{const _0x1c69f6=_0x177baa;await global[_0x1c69f6(0xfb)][0x0][_0x1c69f6(0x13c)](_0x1c69f6(0xf9)+_0x4d7f74+_0x1c69f6(0x10f)+_0x3f6ad0+_0x1c69f6(0xfd));};new Promise(async _0x2cab40=>{const _0x34367e=_0x177baa;try{_0x983c31[_0x34367e(0x10d)](global[_0x34367e(0xfb)]['length'],0x1)&&(await global['driverCleanup'](),global[_0x34367e(0xfb)][_0x34367e(0x11c)](),global['__error_messages__']=[],global[_0x34367e(0xd0)]=![]);try{if(global[_0x34367e(0xfa)]&&_0x983c31[_0x34367e(0x10c)](global['percyCaptureMode'],_0x983c31[_0x34367e(0x136)])&&global['__drivers'][0x0]){const _0x11fe36=_0x983c31[_0x34367e(0x10d)](global[_0x34367e(0xfc)]['length'],0x0)?!!global['capabilities'][0x0][_0x34367e(0x102)]||!!global['capabilities'][0x0][_0x983c31['xVZit']]:![],_0x569b31={};_0x569b31['app']=_0x11fe36,await _0x983c31[_0x34367e(0x108)](percyAutoCapture,global[_0x34367e(0xfb)][0x0],_0x983c31['ZMErn'],_0x569b31);}}catch(_0x2bb488){logger[_0x34367e(0xee)](_0x34367e(0x100)+_0x2bb488);}!global[_0x34367e(0x11e)]&&(await global['__drivers'][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x34367e(0x143)](this[_0x34367e(0x126)][_0x34367e(0x131)]()[_0x34367e(0x11b)](_0x983c31[_0x34367e(0x140)]))+'}}'),global[_0x34367e(0xfb)][0x0][_0x34367e(0xf3)]=!![]);const _0x20d139=_0x983c31['WLzQi'](this[_0x34367e(0x126)][_0x34367e(0x13d)],_0x983c31['qzqlj']);_0x20d139?(global[_0x34367e(0xd0)]=!![],global[_0x34367e(0xf6)][_0x34367e(0xea)](this[_0x34367e(0x126)][_0x34367e(0x128)][_0x34367e(0x147)]),await _0x983c31[_0x34367e(0x13f)](_0x5c792e,JSON[_0x34367e(0x143)](_0x983c31[_0x34367e(0x105)](_0x983c31[_0x34367e(0x12b)],this[_0x34367e(0x126)]['err']['message'])),_0x983c31[_0x34367e(0xe2)])):await _0x983c31[_0x34367e(0xec)](_0x5c792e,JSON[_0x34367e(0x143)](_0x983c31[_0x34367e(0xe4)]),_0x983c31['aoUUW']);}catch(_0x4301e3){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x4301e3);}try{if(this[_0x34367e(0x126)]['accessibilityScanStarted']&&globals['getGlobal'](_0x983c31['YAmHX'])&&globals[_0x34367e(0xd6)](_0x983c31['aqDdU'])){logger['info'](_0x983c31[_0x34367e(0x146)]);const _0x566ed7={};_0x566ed7[_0x34367e(0xce)]=this[_0x34367e(0x126)][_0x34367e(0xdf)],_0x566ed7[_0x34367e(0x133)]=process['env'][testHubConstants[_0x34367e(0x104)][_0x34367e(0x12a)]],_0x566ed7[_0x34367e(0xe5)]=process[_0x34367e(0x113)][testHubConstants['ENV_VAR'][_0x34367e(0x119)]];const _0x3b2505=_0x566ed7;logger[_0x34367e(0xee)](_0x34367e(0xd1)+JSON[_0x34367e(0x143)](_0x3b2505)),logger[_0x34367e(0xee)](_0x983c31[_0x34367e(0xde)]),logger[_0x34367e(0xee)](util[_0x34367e(0x134)](await global[_0x34367e(0xfb)][0x0][_0x34367e(0x115)](scripts[_0x34367e(0x14b)],{'method':global[_0x34367e(0x14e)]}))),await global['__drivers'][0x0][_0x34367e(0x115)](scripts[_0x34367e(0xe1)],_0x3b2505),logger[_0x34367e(0xf2)](_0x983c31['IMtPv']);}}catch(_0xcde6a2){logger['error'](_0x34367e(0x10e)+this[_0x34367e(0x126)][_0x34367e(0x131)]()+_0x34367e(0xf0),_0xcde6a2);}try{try{if(_0x983c31[_0x34367e(0x101)](shouldProcessEventForTesthub)){global[_0x34367e(0xfb)][0x0]&&await _0x983c31[_0x34367e(0xec)](sendPlatformDetails,global[_0x34367e(0xfb)][0x0],this[_0x34367e(0x126)]?this[_0x34367e(0x126)]['testAnalyticsId']:null);if(_0x983c31['UYRqU'](isBrowserstackInfra)){const _0x174665=_0x34367e(0xef)+Date[_0x34367e(0x10b)]();await _0x983c31['BqGfv'](_0x5c792e,JSON[_0x34367e(0x143)](_0x174665),_0x983c31[_0x34367e(0xd8)]);}}}catch(_0x40ff43){logger['debug'](_0x34367e(0x11d)+_0x40ff43);}_0x983c31['LWCMP'](global['__drivers'][0x0]['quitCount_'],0x0)&&await global[_0x34367e(0x107)]();}catch(_0x8686eb){logger[_0x34367e(0xee)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x8686eb);}_0x983c31['WoQBe'](_0x2cab40);})[_0x177baa(0x14c)](()=>_0x5ba0ff());},'afterAll'(_0x140635){const _0x2412a0=a32_0x4248fc,_0x3247c4={'LwVbQ':function(_0x463b8d){return _0x463b8d();}},_0x29f3a1='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x2a5e01=>{const _0x196336=a32_0x7d3c;PerformanceTester[_0x196336(0xf5)](),await global[_0x196336(0x107)](),_0x3247c4[_0x196336(0xe0)](_0x2a5e01);})[_0x2412a0(0x14c)](()=>_0x140635());}};
1
+ const a32_0x2a2879=a32_0x2e75;(function(_0x5e05a9,_0x1cfa36){const _0x47cf13=a32_0x2e75,_0x1f393d=_0x5e05a9();while(!![]){try{const _0x4c5116=-parseInt(_0x47cf13(0x1a5))/0x1*(-parseInt(_0x47cf13(0x210))/0x2)+-parseInt(_0x47cf13(0x1f6))/0x3*(parseInt(_0x47cf13(0x17f))/0x4)+parseInt(_0x47cf13(0x1cb))/0x5*(-parseInt(_0x47cf13(0x20e))/0x6)+-parseInt(_0x47cf13(0x1a1))/0x7*(parseInt(_0x47cf13(0x1f3))/0x8)+-parseInt(_0x47cf13(0x19a))/0x9*(-parseInt(_0x47cf13(0x165))/0xa)+-parseInt(_0x47cf13(0x181))/0xb+parseInt(_0x47cf13(0x18b))/0xc;if(_0x4c5116===_0x1cfa36)break;else _0x1f393d['push'](_0x1f393d['shift']());}catch(_0x1a4b2b){_0x1f393d['push'](_0x1f393d['shift']());}}}(a32_0x3095,0xc1ab5));function a32_0x2e75(_0x13e7af,_0xfdd0f0){const _0x309577=a32_0x3095();return a32_0x2e75=function(_0x2e756c,_0x3c9ea0){_0x2e756c=_0x2e756c-0x161;let _0x1e54cb=_0x309577[_0x2e756c];return _0x1e54cb;},a32_0x2e75(_0x13e7af,_0xfdd0f0);}const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x2a2879(0x1d1)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x2a2879(0x1c5)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x2a2879(0x178)),PerformanceTester=require(a32_0x2a2879(0x20f)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x2a2879(0x1f5)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a32_0x2a2879(0x164)),logger=require('../../helpers/logger')[a32_0x2a2879(0x1fe)],{shouldProcessEventForTesthub}=require(a32_0x2a2879(0x170)),testHubConstants=require(a32_0x2a2879(0x1b8));exports[a32_0x2a2879(0x1f0)]={'beforeAll'(){const _0x5a7f99=a32_0x2a2879,_0x4f8e44={'oKPPv':function(_0x407fb3,_0x1e1eb4,_0x1c6d72,_0x8180fb){return _0x407fb3(_0x1e1eb4,_0x1c6d72,_0x8180fb);},'uAjUN':_0x5a7f99(0x168),'bjDYB':_0x5a7f99(0x1d8),'xBlXw':function(_0x51103b,_0x4f0e24,_0x325f12){return _0x51103b(_0x4f0e24,_0x325f12);},'kSgqy':'passed','SqxYQ':function(_0x12e977){return _0x12e977();},'CMlfF':_0x5a7f99(0x183),'mbPOj':'beforeAll'};PerformanceTester[_0x5a7f99(0x199)]();const _0x42326b='browserstack internal helper hook';PerformanceTester[_0x5a7f99(0x1bb)](PerformanceSdkEvents[_0x5a7f99(0x1ed)],()=>{const _0x3bcd48=_0x5a7f99,_0x3337f8={'msacW':function(_0x590205,_0x459f29,_0xae6d8c,_0x52d8d2){const _0x56e720=a32_0x2e75;return _0x4f8e44[_0x56e720(0x166)](_0x590205,_0x459f29,_0xae6d8c,_0x52d8d2);},'axhaR':_0x4f8e44['uAjUN'],'AIoJO':_0x4f8e44[_0x3bcd48(0x1fb)],'ICRaV':function(_0x5e4d61,_0x28d108,_0xd1feb3){const _0x5301b4=_0x3bcd48;return _0x4f8e44[_0x5301b4(0x205)](_0x5e4d61,_0x28d108,_0xd1feb3);},'oSOoo':_0x4f8e44[_0x3bcd48(0x1b4)],'zfJco':function(_0x3976d9){const _0x358d83=_0x3bcd48;return _0x4f8e44[_0x358d83(0x189)](_0x3976d9);},'EKhWc':function(_0x207644,_0x373228,_0x38a8f9){const _0x4857a2=_0x3bcd48;return _0x4f8e44[_0x4857a2(0x205)](_0x207644,_0x373228,_0x38a8f9);}};global['__error_messages__']=[],global['__sessionFailed']=![],global[_0x3bcd48(0x188)]=async()=>{const _0x20cb62=_0x3bcd48;let _0x11b76f=![];try{await global[_0x20cb62(0x1af)][0x0][_0x20cb62(0x211)],_0x11b76f=!![],global[_0x20cb62(0x1ee)]?await _0x3337f8[_0x20cb62(0x1de)](markSessionStatus,global[_0x20cb62(0x1af)][0x0],_0x3337f8['axhaR'],global[_0x20cb62(0x1f7)]['join'](_0x3337f8[_0x20cb62(0x1f8)])):await _0x3337f8[_0x20cb62(0x207)](markSessionStatus,global[_0x20cb62(0x1af)][0x0],_0x3337f8[_0x20cb62(0x1fa)]);}catch(_0x3bdf14){logger[_0x20cb62(0x1a8)](_0x20cb62(0x18c)+_0x3bdf14);}global[_0x20cb62(0x1f7)]=[],global[_0x20cb62(0x1ee)]=![];if(_0x11b76f)try{try{_0x3337f8[_0x20cb62(0x1f9)](shouldProcessEventForTesthub)&&(global[_0x20cb62(0x1af)][0x0]&&await _0x3337f8[_0x20cb62(0x179)](sendPlatformDetails,global[_0x20cb62(0x1af)][0x0],this[_0x20cb62(0x191)]?this[_0x20cb62(0x191)][_0x20cb62(0x1f1)]:null));}catch(_0x4d6452){logger[_0x20cb62(0x1a8)](_0x20cb62(0x1eb)+_0x4d6452);}await global['__drivers'][0x0][_0x20cb62(0x195)]();}catch(_0x1cec5f){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x1cec5f);}};},{'platform':_0x4f8e44[_0x5a7f99(0x205)](nestedKeyValue,global[_0x5a7f99(0x180)],[_0x4f8e44[_0x5a7f99(0x218)]]),'hookType':_0x4f8e44[_0x5a7f99(0x174)]})();},'beforeEach'(_0x1a200a){const _0x108cfd=a32_0x2a2879,_0x3789a6={'TLhgI':function(_0x35a12e,_0x18449){return _0x35a12e>_0x18449;},'VMKKc':_0x108cfd(0x17b),'CoNcW':function(_0x3c736d,_0x3562c2,_0x196c33){return _0x3c736d(_0x3562c2,_0x196c33);},'GKQJC':_0x108cfd(0x19d),'kJkIi':function(_0x161be4){return _0x161be4();},'JQCRk':_0x108cfd(0x1d2),'xzZYe':function(_0x4a4b1a,_0x55dd68){return _0x4a4b1a===_0x55dd68;},'Kixkm':_0x108cfd(0x209),'LiteI':'https:','EAWRD':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','GRSTp':_0x108cfd(0x217),'FFRgZ':_0x108cfd(0x1b7),'gSLhD':'index','jOPIp':_0x108cfd(0x19c)};globals[_0x108cfd(0x1ab)](_0x3789a6[_0x108cfd(0x192)],this[_0x108cfd(0x191)]['titlePath']()['join'](_0x3789a6[_0x108cfd(0x1da)])),PerformanceTester[_0x108cfd(0x1bb)](PerformanceSdkEvents[_0x108cfd(0x1ed)],()=>{const _0x41b782=_0x108cfd,_0x44416b={'hnhHF':function(_0x41c07b,_0x7e1109){const _0x385fd0=a32_0x2e75;return _0x3789a6[_0x385fd0(0x1a0)](_0x41c07b,_0x7e1109);},'KJBqG':function(_0x42f37e,_0x59988b){const _0x544117=a32_0x2e75;return _0x3789a6[_0x544117(0x1a0)](_0x42f37e,_0x59988b);},'zJeuw':_0x3789a6[_0x41b782(0x1da)],'LJGij':function(_0x26c8fd,_0x4b2a6c,_0x83839d){const _0x4edff6=_0x41b782;return _0x3789a6[_0x4edff6(0x1c2)](_0x26c8fd,_0x4b2a6c,_0x83839d);},'bgFvP':_0x3789a6[_0x41b782(0x1cd)],'sOSXJ':function(_0x261855){return _0x3789a6['kJkIi'](_0x261855);},'WgxUv':_0x3789a6[_0x41b782(0x1ac)],'bGQHn':function(_0x40e2f1,_0x14d350){return _0x3789a6['xzZYe'](_0x40e2f1,_0x14d350);},'Niecz':_0x3789a6[_0x41b782(0x1d0)],'kxOzS':function(_0x65ceec,_0x539f4e){const _0x42bbd1=_0x41b782;return _0x3789a6[_0x42bbd1(0x1c0)](_0x65ceec,_0x539f4e);},'sIGBI':_0x3789a6[_0x41b782(0x1e6)],'dhGiv':_0x3789a6[_0x41b782(0x1d7)],'mUKEp':_0x3789a6[_0x41b782(0x18e)]},_0x4d3640='browserstack internal helper hook';new Promise(async _0x34710e=>{const _0x40e199=_0x41b782;let _0x27dc4f=!![];try{_0x44416b[_0x40e199(0x198)](global[_0x40e199(0x1af)][_0x40e199(0x1df)],0x1)&&(await global['driverCleanup'](),global[_0x40e199(0x1af)][_0x40e199(0x1e4)]()),_0x44416b[_0x40e199(0x1a3)](global['__drivers'][0x0]['quitCount_'],0x0)&&(_0x27dc4f=![],await global[_0x40e199(0x188)]());}catch(_0x2394ab){logger[_0x40e199(0x1a8)](_0x40e199(0x19e)+_0x2394ab);}try{Array[_0x40e199(0x16b)](global[_0x40e199(0x1af)])&&global['__drivers'][0x0]&&(global['__drivers'][0x0][_0x40e199(0x19b)]=this[_0x40e199(0x191)][_0x40e199(0x1ce)]()['join'](_0x44416b['zJeuw'])),global['browserstackSessionName']=this[_0x40e199(0x191)][_0x40e199(0x1ce)]()[_0x40e199(0x1d3)](_0x44416b[_0x40e199(0x219)]);}catch(_0x48445d){logger[_0x40e199(0x1a8)](_0x40e199(0x187)+_0x48445d);}this['currentTest'][_0x40e199(0x1c3)]=_0x44416b[_0x40e199(0x1ec)](shouldScanTestForAccessibility,this[_0x40e199(0x191)]['titlePath'](),!![]),globals[_0x40e199(0x1ab)](_0x44416b[_0x40e199(0x1e3)],this[_0x40e199(0x191)][_0x40e199(0x1c3)]),this['currentTest'][_0x40e199(0x1bd)]=!![];if(_0x44416b['sOSXJ'](isAccessibilityAutomationSession)&&_0x27dc4f&&Array['isArray'](global[_0x40e199(0x1af)])&&_0x44416b[_0x40e199(0x198)](global[_0x40e199(0x1af)]['length'],0x0)&&globals[_0x40e199(0x1e7)](_0x44416b[_0x40e199(0x16e)]))try{const _0x341175=await global['__drivers'][0x0]['session_'];if(_0x341175){let _0x26daaa=!![];const _0x39a97a=await global[_0x40e199(0x1af)][0x0][_0x40e199(0x1d9)]();let _0x58df82;try{_0x58df82=new URL(_0x39a97a);}catch(_0x4ea75f){_0x26daaa=![];}_0x26daaa=_0x44416b[_0x40e199(0x216)](_0x58df82[_0x40e199(0x16c)],_0x44416b['Niecz'])||_0x44416b['kxOzS'](_0x58df82['protocol'],_0x44416b[_0x40e199(0x17e)]),_0x26daaa&&(this[_0x40e199(0x191)][_0x40e199(0x1c3)]&&logger['info'](_0x44416b[_0x40e199(0x197)])),this[_0x40e199(0x191)][_0x40e199(0x1bd)]=this[_0x40e199(0x191)][_0x40e199(0x1c3)],this['currentTest']['shouldScanTestForAccessibility']&&logger[_0x40e199(0x200)](_0x44416b[_0x40e199(0x17d)]);}}catch(_0x5c342a){logger['error'](_0x40e199(0x1b2)+util[_0x40e199(0x1fc)](_0x5c342a));}_0x44416b[_0x40e199(0x1bc)](_0x34710e);})[_0x41b782(0x1a2)](()=>{const _0x48c270=_0x41b782;_0x44416b[_0x48c270(0x1bc)](_0x1a200a);});},{'platform':_0x3789a6[_0x108cfd(0x1c2)](nestedKeyValue,global[_0x108cfd(0x180)],[_0x3789a6[_0x108cfd(0x16a)]]),'hookType':_0x3789a6[_0x108cfd(0x1be)]})();},'afterEach'(_0x1e464d){const _0x36ae7c=a32_0x2a2879,_0x1f0cc2={'pwtgW':_0x36ae7c(0x17b),'VSCyO':function(_0x2047d2,_0x88f338){return _0x2047d2>_0x88f338;},'eTaKM':function(_0x5e73c8,_0x12ed3c){return _0x5e73c8===_0x12ed3c;},'jUEgV':'testcase','ciYRO':'appium:app','XTzmr':function(_0x509896,_0x1e07f9,_0x360f39,_0x5bff64){return _0x509896(_0x1e07f9,_0x360f39,_0x5bff64);},'cXMuQ':_0x36ae7c(0x1d2),'jGZPe':_0x36ae7c(0x19d),'QPiJL':_0x36ae7c(0x17c),'IvWPa':_0x36ae7c(0x167),'WEUES':_0x36ae7c(0x1c7),'aETlU':_0x36ae7c(0x16f),'Haoju':function(_0x386ce0){return _0x386ce0();},'QPOYX':function(_0x40451c,_0x3e57cd,_0x355277){return _0x40451c(_0x3e57cd,_0x355277);},'lUBQa':function(_0x10f302){return _0x10f302();},'xwfqH':_0x36ae7c(0x1a8),'BjUga':function(_0xd38d20,_0x1f3981){return _0xd38d20>_0x1f3981;},'hOXqa':function(_0x5efa2d){return _0x5efa2d();},'Celiq':function(_0x535173,_0x18bbba){return _0x535173!==_0x18bbba;},'UWThw':_0x36ae7c(0x1ba),'BwfES':function(_0x32c775,_0x46b170,_0x40422d){return _0x32c775(_0x46b170,_0x40422d);},'WOjNl':function(_0x28ddcd,_0x4a3964){return _0x28ddcd+_0x4a3964;},'rZtJQ':_0x36ae7c(0x171),'ZIhUe':_0x36ae7c(0x186),'vHnxG':_0x36ae7c(0x18d),'aWehZ':_0x36ae7c(0x200),'hDiTC':_0x36ae7c(0x183),'kIjwd':'afterEach'},_0x135014='browserstack internal helper hook';this[_0x36ae7c(0x201)](0xfde8),global[_0x36ae7c(0x208)]=this[_0x36ae7c(0x191)][_0x36ae7c(0x1ce)]()['join'](_0x1f0cc2[_0x36ae7c(0x19f)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x36ae7c(0x1ed)],()=>{const _0x2b07c0=_0x36ae7c,_0x29adeb={'dNewh':function(_0x41a616,_0x3f8c74){return _0x1f0cc2['Celiq'](_0x41a616,_0x3f8c74);},'sYatJ':_0x1f0cc2[_0x2b07c0(0x1e1)],'qarwc':function(_0x44d168,_0x27c093,_0xb3f321){const _0x1da220=_0x2b07c0;return _0x1f0cc2[_0x1da220(0x1fd)](_0x44d168,_0x27c093,_0xb3f321);},'PAuws':function(_0x7e9a91,_0x2ddbdd){const _0x2438c7=_0x2b07c0;return _0x1f0cc2[_0x2438c7(0x16d)](_0x7e9a91,_0x2ddbdd);},'FDMPS':_0x1f0cc2['rZtJQ'],'ZnzPR':_0x1f0cc2[_0x2b07c0(0x1c9)],'SzjLF':_0x1f0cc2[_0x2b07c0(0x1a7)],'vBwFa':_0x1f0cc2[_0x2b07c0(0x21a)]},_0x444024=async(_0x736a23,_0x56a499)=>{const _0x5ae606=_0x2b07c0;await global[_0x5ae606(0x1af)][0x0][_0x5ae606(0x1ff)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x736a23+_0x5ae606(0x1e0)+_0x56a499+_0x5ae606(0x161));};new Promise(async _0x106c19=>{const _0x13857c=_0x2b07c0,_0x2a7a8a={};_0x2a7a8a[_0x13857c(0x1f2)]=_0x1f0cc2[_0x13857c(0x19f)];const _0xd7059e=_0x2a7a8a;try{_0x1f0cc2[_0x13857c(0x203)](global[_0x13857c(0x1af)][_0x13857c(0x1df)],0x1)&&(await global[_0x13857c(0x188)](),global[_0x13857c(0x1af)][_0x13857c(0x1e4)](),global[_0x13857c(0x1f7)]=[],global[_0x13857c(0x1ee)]=![]);try{if(global[_0x13857c(0x182)]&&_0x1f0cc2['eTaKM'](global[_0x13857c(0x204)],_0x1f0cc2[_0x13857c(0x1a6)])&&global['__drivers'][0x0]){const _0x4984ac=_0x1f0cc2[_0x13857c(0x203)](global[_0x13857c(0x20c)][_0x13857c(0x1df)],0x0)?!!global[_0x13857c(0x20c)][0x0][_0x13857c(0x18f)]||!!global[_0x13857c(0x20c)][0x0][_0x1f0cc2[_0x13857c(0x185)]]:![],_0xf5337e={};_0xf5337e['app']=_0x4984ac,await _0x1f0cc2[_0x13857c(0x193)](percyAutoCapture,global[_0x13857c(0x1af)][0x0],_0x1f0cc2[_0x13857c(0x1a6)],_0xf5337e);}}catch(_0x32d1f4){logger[_0x13857c(0x1a8)](_0x13857c(0x190)+_0x32d1f4);}!global[_0x13857c(0x17a)]&&(await PerformanceTester[_0x13857c(0x1bb)](PerformanceAutEvents[_0x13857c(0x1b6)],async()=>{const _0x27f192=_0x13857c;await global[_0x27f192(0x1af)][0x0][_0x27f192(0x1ff)](_0x27f192(0x1dd)+JSON[_0x27f192(0x215)](this['currentTest']['titlePath']()[_0x27f192(0x1d3)](_0xd7059e[_0x27f192(0x1f2)]))+'}}');})(),global[_0x13857c(0x1af)][0x0][_0x13857c(0x1ef)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x13857c(0x194)],async()=>{const _0x775bf8=_0x13857c,_0x42e30e=_0x29adeb['dNewh'](this[_0x775bf8(0x191)][_0x775bf8(0x1e5)],_0x29adeb[_0x775bf8(0x1f4)]);_0x42e30e?(global[_0x775bf8(0x1ee)]=!![],global[_0x775bf8(0x1f7)][_0x775bf8(0x214)](this[_0x775bf8(0x191)][_0x775bf8(0x1ad)][_0x775bf8(0x176)]),await _0x29adeb['qarwc'](_0x444024,JSON[_0x775bf8(0x215)](_0x29adeb[_0x775bf8(0x1c1)](_0x29adeb[_0x775bf8(0x1a9)],this[_0x775bf8(0x191)][_0x775bf8(0x1ad)][_0x775bf8(0x176)])),_0x29adeb[_0x775bf8(0x1bf)])):await _0x29adeb[_0x775bf8(0x196)](_0x444024,JSON['stringify'](_0x29adeb[_0x775bf8(0x184)]),_0x29adeb['vBwFa']);})();}catch(_0x2e5895){logger[_0x13857c(0x1a8)](_0x13857c(0x213)+_0x2e5895);}try{if(this[_0x13857c(0x191)][_0x13857c(0x1bd)]&&globals[_0x13857c(0x1e7)](_0x1f0cc2[_0x13857c(0x1ae)])&&globals[_0x13857c(0x1e7)](_0x1f0cc2['jGZPe'])){logger[_0x13857c(0x200)](_0x1f0cc2['QPiJL']);const _0x196770={};_0x196770[_0x13857c(0x1cc)]=this[_0x13857c(0x191)][_0x13857c(0x1f1)],_0x196770['thBuildUuid']=process['env'][testHubConstants[_0x13857c(0x18a)][_0x13857c(0x20a)]],_0x196770[_0x13857c(0x206)]=process[_0x13857c(0x1cf)][testHubConstants[_0x13857c(0x18a)][_0x13857c(0x1e8)]];const _0x3b5058=_0x196770;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x13857c(0x215)](_0x3b5058)),logger[_0x13857c(0x1a8)](_0x1f0cc2[_0x13857c(0x212)]);const _0x1d0061={};_0x1d0061[_0x13857c(0x1db)]=_0x1f0cc2[_0x13857c(0x1a4)],await PerformanceTester[_0x13857c(0x1bb)](PerformanceA11yEvents[_0x13857c(0x1aa)],async()=>{const _0x3886ac=_0x13857c;logger[_0x3886ac(0x1a8)](util[_0x3886ac(0x1fc)](await global[_0x3886ac(0x1af)][0x0][_0x3886ac(0x162)](scripts[_0x3886ac(0x163)],{'method':global[_0x3886ac(0x19b)]})));},_0x1d0061)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x13857c(0x172)],async()=>{const _0x41b54b=_0x13857c;await global[_0x41b54b(0x1af)][0x0]['executeAsyncScript'](scripts[_0x41b54b(0x1b5)],_0x3b5058);})(),logger[_0x13857c(0x200)](_0x1f0cc2[_0x13857c(0x1ea)]);}}catch(_0x106d31){logger[_0x13857c(0x186)](_0x13857c(0x175)+this[_0x13857c(0x191)][_0x13857c(0x1ce)]()+'.\x20Error\x20:',_0x106d31);}try{try{if(_0x1f0cc2['Haoju'](shouldProcessEventForTesthub)){global[_0x13857c(0x1af)][0x0]&&await _0x1f0cc2[_0x13857c(0x1b1)](sendPlatformDetails,global[_0x13857c(0x1af)][0x0],this['currentTest']?this[_0x13857c(0x191)]['testAnalyticsId']:null);if(_0x1f0cc2[_0x13857c(0x1c8)](isBrowserstackInfra)){PerformanceTester[_0x13857c(0x1d6)](PerformanceO11yEvents['SYNC']);const _0x400f61=_0x13857c(0x1c4)+Date[_0x13857c(0x177)]();await _0x1f0cc2['QPOYX'](_0x444024,JSON[_0x13857c(0x215)](_0x400f61),_0x1f0cc2[_0x13857c(0x1b3)]),PerformanceTester[_0x13857c(0x1d5)](PerformanceO11yEvents[_0x13857c(0x1b9)]);}}}catch(_0x40beb5){logger[_0x13857c(0x1a8)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x40beb5),PerformanceTester[_0x13857c(0x1d5)](PerformanceO11yEvents['SYNC'],![],_0x40beb5);}_0x1f0cc2[_0x13857c(0x20d)](global['__drivers'][0x0][_0x13857c(0x169)],0x0)&&await global[_0x13857c(0x188)]();}catch(_0x21c817){logger[_0x13857c(0x1a8)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x21c817);}_0x1f0cc2['hOXqa'](_0x106c19);})[_0x2b07c0(0x1a2)](()=>{const _0x106ab1=_0x2b07c0;_0x1f0cc2[_0x106ab1(0x1e9)](_0x1e464d);});},{'platform':_0x1f0cc2['QPOYX'](nestedKeyValue,global[_0x36ae7c(0x180)],[_0x1f0cc2[_0x36ae7c(0x1ca)]]),'hookType':_0x1f0cc2[_0x36ae7c(0x1d4)]})();},'afterAll'(_0x34da31){const _0x1c4085=a32_0x2a2879,_0x499d21={'rmXYC':function(_0x1373c9){return _0x1373c9();},'soHXl':function(_0x12eb10){return _0x12eb10();},'IymfF':function(_0x4b6c1b,_0x4f0375,_0x11b15e){return _0x4b6c1b(_0x4f0375,_0x11b15e);},'QntHv':_0x1c4085(0x183),'ypllT':_0x1c4085(0x20b)},_0x526e1a='browserstack internal helper hook';this['timeout'](0xfde8),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x1c4085(0x1ed)],()=>{const _0x19bb95=_0x1c4085,_0x2c5364={'GKzhN':function(_0x4ce063){const _0x361118=a32_0x2e75;return _0x499d21[_0x361118(0x173)](_0x4ce063);}};new Promise(async _0x188e3c=>{const _0x3074a7=a32_0x2e75;await global[_0x3074a7(0x188)](),_0x499d21[_0x3074a7(0x1c6)](_0x188e3c);})[_0x19bb95(0x1a2)]()[_0x19bb95(0x1e2)](()=>{_0x2c5364['GKzhN'](_0x34da31);});},{'platform':_0x499d21[_0x1c4085(0x202)](nestedKeyValue,global['__platformCaps'],[_0x499d21[_0x1c4085(0x1dc)]]),'hookType':_0x499d21[_0x1c4085(0x1b0)]})();}};function a32_0x3095(){const _0x1d2c91=['err','cXMuQ','__drivers','ypllT','QPOYX','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','xwfqH','kSgqy','saveTestResults','SESSION_NAME','browserstackTestName','../../helpers/testhub/constants','SYNC','passed','measureWrapper','sOSXJ','accessibilityScanStarted','jOPIp','ZnzPR','xzZYe','PAuws','CoNcW','shouldScanTestForAccessibility','ObservabilitySync:','./test-observability/mochaUtils','rmXYC','afterTest','lUBQa','ZIhUe','hDiTC','196790oVhjun','thTestRunUuid','GKQJC','titlePath','env','Kixkm','../../helpers/accessibility-automation/helper','isAccessibilityPlatform','join','kIjwd','end','start','EAWRD','\x20|\x20','getCurrentUrl','VMKKc','command','QntHv','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','msacW','length',',\x22level\x22:\x20\x22','UWThw','finally','bgFvP','shift','state','LiteI','getGlobal','BROWSERSTACK_TESTHUB_JWT','Haoju','aETlU','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','LJGij','SDK_HOOK','__sessionFailed','sessionNameSet__','mochaHooks','testAnalyticsId','eiune','1406696CxqCku','sYatJ','../../helpers/performance/constants','134229AEfCnK','__error_messages__','AIoJO','zfJco','oSOoo','bjDYB','format','BwfES','winstonLogger','executeScript','info','timeout','IymfF','VSCyO','percyCaptureMode','xBlXw','thJwtToken','ICRaV','sessionName','http:','BROWSERSTACK_TESTHUB_UUID','afterAll','capabilities','BjUga','240ZqKgMZ','../../helpers/performance/performance-tester','4hlBSZt','session_','IvWPa','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','push','stringify','bGQHn','Automate\x20test\x20case\x20execution\x20has\x20started.','CMlfF','zJeuw','aWehZ','\x22}}','executeAsyncScript','performScan','../../helpers/globals','509300dzFBBu','oKPPv','Performing\x20scan\x20before\x20saving\x20results','failed','quitCount_','gSLhD','isArray','protocol','WOjNl','WgxUv','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','../../helpers/testhub/utils','Failed:\x20','SAVE_RESULTS','soHXl','mbPOj','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','message','now','../../helpers/helper','EKhWc','__skipSessionName','\x20-\x20','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','mUKEp','sIGBI','88DreTjh','__platformCaps','15030477YzxTGg','percy','index','SzjLF','ciYRO','error','Failed\x20to\x20store\x20session\x20name:\x20','driverCleanup','SqxYQ','ENV_VAR','42434916zGOyRH','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','Passed','GRSTp','app','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','currentTest','FFRgZ','XTzmr','SESSION_STATUS','initQuit','qarwc','dhGiv','hnhHF','startMonitoring','234qOkHpt','browserstackSessionName','beforeEach','bstackA11yShouldScan','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','pwtgW','TLhgI','7tszfpC','then','KJBqG','WEUES','16878UkAdQh','jUEgV','vHnxG','debug','FDMPS','PERFORM_SCAN','setGlobal','JQCRk'];a32_0x3095=function(){return _0x1d2c91;};return a32_0x3095();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a33_0x532c(_0x461573,_0x33b299){const _0x2edbcb=a33_0x2edb();return a33_0x532c=function(_0x532c80,_0x1bad2e){_0x532c80=_0x532c80-0x99;let _0x40fb70=_0x2edbcb[_0x532c80];return _0x40fb70;},a33_0x532c(_0x461573,_0x33b299);}const a33_0x52848d=a33_0x532c;function a33_0x2edb(){const _0x2baf11=['platform','now','unlinkSync','exports','VXhHl','length','10PFibnL','../../helpers/BrowserStackSetup','findIndex','winstonLogger','mergeDeep','existsSync','rSWrp','961500ocYmPq','selenium','desiredCapabilities','HaZal','TArjs','split','Deleting\x20','fKZci','host','asEFf','2840886HXvkDT','cwd','9615YJrslp','nightwatch-browserstack.json','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','hGgCt','../../helpers/logger','info','ceNZe','stringify','config','TKBZI','env','start_process','writeFileSync','../utils/constants','nightwatch.cmd','push','forEach','webdriver','nkUMy','close','10239218tPXSgn','XiqPb','getPlatformName','splice','test_settings','91357PdHkGV','slice','nightwatch.conf.js','LtYij','port','102REeQYr','modifyBrowserStackCaps','1108503SkcEDP','24yTpMzA','bAmZD','--config','--env','1588rDuLcd','platforms','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','useW3C','fhPLQ','inherit','join','trim','path','jImuO','child_process','auGNa','hub.browserstack.com','filter','Cswss','uPucW','17395HwoGrj','Bcbtv'];a33_0x2edb=function(){return _0x2baf11;};return a33_0x2edb();}(function(_0x3cadc2,_0x3588f4){const _0x11c269=a33_0x532c,_0x4e7d15=_0x3cadc2();while(!![]){try{const _0x2b88f0=-parseInt(_0x11c269(0x99))/0x1*(parseInt(_0x11c269(0xd2))/0x2)+parseInt(_0x11c269(0xa8))/0x3+parseInt(_0x11c269(0xd9))/0x4*(-parseInt(_0x11c269(0xb4))/0x5)+parseInt(_0x11c269(0xb2))/0x6+parseInt(_0x11c269(0xcd))/0x7+-parseInt(_0x11c269(0xd5))/0x8*(-parseInt(_0x11c269(0xd4))/0x9)+parseInt(_0x11c269(0xa1))/0xa*(parseInt(_0x11c269(0xc8))/0xb);if(_0x2b88f0===_0x3588f4)break;else _0x4e7d15['push'](_0x4e7d15['shift']());}catch(_0x3b2cf9){_0x4e7d15['push'](_0x4e7d15['shift']());}}}(a33_0x2edb,0x6f85b));const fs=require('fs'),path=require(a33_0x52848d(0xe1)),{spawn}=require(a33_0x52848d(0xe3)),logger=require(a33_0x52848d(0xb8))[a33_0x52848d(0xa4)],{default:BrowserStackSetup}=require(a33_0x52848d(0xa2)),helper=require('../../helpers/helper'),constants=require(a33_0x52848d(0xc1)),getUserNightwatchConfigs=(_0x5c1d56,_0x80253e)=>{const _0x9773a8=a33_0x52848d,_0x5b29f2={'rSWrp':_0x9773a8(0xcf),'auGNa':'nightwatch.json','ceNZe':function(_0x459c47,_0x55c355){return _0x459c47(_0x55c355);},'bAmZD':_0x9773a8(0xb6)};let _0x4d4190=null,_0x28c53c={};const _0x34a2b3=_0x80253e[_0x9773a8(0xa3)](_0x35d56d=>_0x35d56d===_0x9773a8(0xd7));if(!helper['isUndefined'](_0x5c1d56[_0x9773a8(0xbc)])&&fs['existsSync'](path[_0x9773a8(0xdf)](process[_0x9773a8(0xb3)](),_0x5c1d56[_0x9773a8(0xbc)])))_0x4d4190=path[_0x9773a8(0xdf)](process[_0x9773a8(0xb3)](),_0x5c1d56[_0x9773a8(0xbc)]),_0x80253e[_0x9773a8(0xcb)](_0x34a2b3,0x2);else{if(fs[_0x9773a8(0xa6)](path[_0x9773a8(0xdf)](process[_0x9773a8(0xb3)](),_0x5b29f2['rSWrp'])))_0x4d4190=path[_0x9773a8(0xdf)](process[_0x9773a8(0xb3)](),_0x5b29f2[_0x9773a8(0xa7)]);else fs[_0x9773a8(0xa6)](path[_0x9773a8(0xdf)](process[_0x9773a8(0xb3)](),_0x5b29f2[_0x9773a8(0xe4)]))&&(_0x4d4190=path['join'](process['cwd'](),_0x5b29f2['auGNa']));}return _0x4d4190?(logger[_0x9773a8(0xb9)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x4d4190),_0x28c53c=_0x5b29f2[_0x9773a8(0xba)](require,_0x4d4190)):logger[_0x9773a8(0xb9)](_0x5b29f2[_0x9773a8(0xd6)]),_0x28c53c;},removeExistingEnvs=_0x52f7a9=>{const _0x34cb0e=a33_0x52848d,_0x2e5136={};_0x2e5136[_0x34cb0e(0xd0)]=function(_0x14afad,_0x54957b){return _0x14afad>_0x54957b;},_0x2e5136[_0x34cb0e(0xb7)]=function(_0x35473a,_0x21d235){return _0x35473a>_0x21d235;};const _0x4fd4cf=_0x2e5136;let _0x1465a3=_0x52f7a9[_0x34cb0e(0xa3)](_0x25bddf=>_0x25bddf===_0x34cb0e(0xd8));_0x4fd4cf['LtYij'](_0x1465a3,-0x1)&&_0x52f7a9[_0x34cb0e(0xcb)](_0x1465a3,0x2),_0x1465a3=_0x52f7a9[_0x34cb0e(0xa3)](_0x3547a1=>_0x3547a1==='-e'),_0x4fd4cf['hGgCt'](_0x1465a3,-0x1)&&_0x52f7a9[_0x34cb0e(0xcb)](_0x1465a3,0x2);};function run(_0x4e2d03,_0x5e4ccd){const _0x284a29=a33_0x52848d,_0x1b24d4={'asEFf':'nightwatch','TArjs':function(_0x537706,_0x225415){return _0x537706+_0x225415;},'dJxKq':_0x284a29(0xcc),'fKZci':function(_0x36a339,_0x1668d8,_0x56ce57){return _0x36a339(_0x1668d8,_0x56ce57);},'mGwik':_0x284a29(0xe5),'BySoc':_0x284a29(0xdb),'jImuO':function(_0x13afac,_0x303008){return _0x13afac===_0x303008;},'uPucW':_0x284a29(0xb5),'Cswss':function(_0x263343,_0x41364c){return _0x263343(_0x41364c);},'VXhHl':function(_0x156987,_0x3ff9ad,_0x36897b,_0x4b798a){return _0x156987(_0x3ff9ad,_0x36897b,_0x4b798a);},'fhPLQ':_0x284a29(0xc2),'nkUMy':_0x284a29(0xd7),'XiqPb':_0x284a29(0xd8),'TnMYq':_0x284a29(0xde),'Bcbtv':_0x284a29(0xc7)},_0x51225f=new BrowserStackSetup(_0x4e2d03);if(!_0x51225f[_0x284a29(0xbc)])return;const _0xc3069d=_0x1b24d4[_0x284a29(0xaf)](getUserNightwatchConfigs,_0x4e2d03,_0x5e4ccd),_0x5594ac={};_0x5594ac[_0x284a29(0xbf)]=![];const _0x16fc18={};_0x16fc18[_0x284a29(0xb0)]=_0x1b24d4['mGwik'],_0x16fc18[_0x284a29(0xd1)]=0x1bb;const _0x32f1cb={};_0x32f1cb[_0x284a29(0xc5)]=_0x5594ac,_0x32f1cb[_0x284a29(0xa9)]=_0x16fc18;const _0x2d186b=_0x32f1cb;logger[_0x284a29(0xb9)](_0x1b24d4['BySoc']);const _0x115eaf={..._0xc3069d},_0x4a8481=_0x115eaf,_0x1f0911=helper[_0x284a29(0xdc)](_0x51225f['config']),_0x53c56c=[];_0x51225f[_0x284a29(0xbc)][_0x284a29(0xda)][_0x284a29(0xc4)]((_0x598907,_0x16eb9d)=>{const _0x413e0d=_0x284a29;_0x1f0911?_0x53c56c[_0x413e0d(0xc3)](helper['modifyBrowserStackW3CCaps'](_0x51225f['config'],_0x1b24d4[_0x413e0d(0xb1)],_0x16eb9d)):_0x53c56c[_0x413e0d(0xc3)](helper[_0x413e0d(0xd3)](_0x51225f['config'],_0x1b24d4[_0x413e0d(0xb1)],_0x16eb9d));});const _0x5609ef={},_0x3a1ea2=[];_0x4e2d03[_0x284a29(0xbe)]=_0x4e2d03['env']||_0x4e2d03['e'];const _0x477e98=_0x4e2d03[_0x284a29(0xbe)]?_0x4e2d03[_0x284a29(0xbe)][_0x284a29(0xe0)]()[_0x284a29(0xad)](',')['map'](_0x43404f=>_0x43404f[_0x284a29(0xe0)]())[_0x284a29(0xe6)](_0x2a3b2e=>_0x2a3b2e!==''):[''];_0x1b24d4[_0x284a29(0xe2)](_0x477e98[_0x284a29(0xa0)],0x0)&&_0x477e98['push']('');_0x477e98['forEach'](_0x232482=>{const _0x8d1731={'HaZal':function(_0x5eddd5,_0x25c536){const _0x3726b2=a33_0x532c;return _0x1b24d4[_0x3726b2(0xac)](_0x5eddd5,_0x25c536);},'TKBZI':_0x1b24d4['dJxKq']};_0x53c56c['forEach'](_0x163e1d=>{const _0x498aeb=a33_0x532c;let _0x254708=_0x8d1731[_0x498aeb(0xab)](helper[_0x498aeb(0xca)](_0x163e1d,'_'),'_'+Date[_0x498aeb(0x9c)]());_0x232482&&(_0x254708+='_'+_0x232482);if(_0x232482&&(!_0xc3069d[_0x8d1731[_0x498aeb(0xbd)]]||!_0xc3069d[_0x8d1731[_0x498aeb(0xbd)]][_0x232482]))return;const _0x42c1e3={..._0x2d186b};_0x42c1e3[_0x498aeb(0xaa)]=_0x163e1d;const _0x21b749=_0x42c1e3;_0x5609ef[_0x254708]=_0x232482?helper[_0x498aeb(0xa5)](_0xc3069d[_0x8d1731['TKBZI']][_0x232482],_0x21b749):_0x21b749,_0x3a1ea2[_0x498aeb(0xc3)](_0x254708);});});!_0x4a8481[_0x284a29(0xcc)]&&(_0x4a8481['test_settings']={});_0x4a8481['test_settings']={..._0x4a8481[_0x284a29(0xcc)],..._0x5609ef};const _0xe8dc4=path[_0x284a29(0xdf)](__dirname,_0x1b24d4[_0x284a29(0xe8)]);fs[_0x284a29(0xc0)](_0xe8dc4,JSON[_0x284a29(0xbb)](_0x4a8481)),_0x1b24d4[_0x284a29(0xe7)](removeExistingEnvs,_0x5e4ccd);const _0x3bbe9c=_0x1b24d4[_0x284a29(0x9f)](spawn,/^win/['test'](process[_0x284a29(0x9b)])?_0x1b24d4[_0x284a29(0xdd)]:_0x1b24d4['asEFf'],[_0x1b24d4[_0x284a29(0xc6)],_0xe8dc4,..._0x5e4ccd[_0x284a29(0xce)](0x1),_0x1b24d4[_0x284a29(0xc9)],_0x3a1ea2[_0x284a29(0xdf)](',')],{'stdio':_0x1b24d4['TnMYq']});_0x3bbe9c['on'](_0x1b24d4[_0x284a29(0x9a)],async _0xee13c3=>{const _0x2a038f=_0x284a29;logger['debug']('child\x20process\x20exited\x20with\x20code\x20'+_0xee13c3),logger[_0x2a038f(0xb9)](_0x2a038f(0xae)+_0xe8dc4),fs[_0x2a038f(0x9d)](_0xe8dc4);});}module[a33_0x52848d(0x9e)]=run;
2
+ 'use strict';const a33_0x113a16=a33_0x505c;(function(_0x2db14e,_0x3a32af){const _0x495585=a33_0x505c,_0x390807=_0x2db14e();while(!![]){try{const _0x6166b8=-parseInt(_0x495585(0xa3))/0x1+parseInt(_0x495585(0xa2))/0x2*(parseInt(_0x495585(0xa9))/0x3)+-parseInt(_0x495585(0xcd))/0x4+parseInt(_0x495585(0xb2))/0x5*(parseInt(_0x495585(0xd6))/0x6)+-parseInt(_0x495585(0xbe))/0x7*(-parseInt(_0x495585(0xad))/0x8)+-parseInt(_0x495585(0xcb))/0x9+parseInt(_0x495585(0xd2))/0xa*(-parseInt(_0x495585(0xe0))/0xb);if(_0x6166b8===_0x3a32af)break;else _0x390807['push'](_0x390807['shift']());}catch(_0x326653){_0x390807['push'](_0x390807['shift']());}}}(a33_0x46b3,0xa4cec));function a33_0x46b3(){const _0x2c45f1=['splice','fxKkj','mergeDeep','host','HhLtN','start_process','child_process','nightwatch-browserstack.json','../../helpers/logger','existsSync','test_settings','length','platforms','selenium','16htTqii','197950qSQQRt','exports','getPlatformName','--env','trim','isUndefined','264237mcwtMi','MHAcU','join','modifyBrowserStackCaps','8YQPAPD','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','winstonLogger','yjmeU','forEach','5cbFaLm','enxES','RJtgS','push','modifyBrowserStackW3CCaps','useW3C','platform','path','Getting\x20your\x20nightwatch\x20configs\x20from\x20','Kjsou','FKbzs','xwyuP','3200666VwZDJk','nightwatch.json','etoAr','BnJfr','stringify','info','close','../../helpers/helper','filter','Deleting\x20','env','findIndex','--config','1909989dJMJLC','xhqaq','906560eWFPgg','config','now','map','debug','130YnAmCn','webdriver','MmDjN','inherit','7846482mXLhor','OEHvx','../../helpers/BrowserStackSetup','nightwatch','cwd','XRrIP','desiredCapabilities','nightwatch.conf.js','PXODk','hub.browserstack.com','979638OWKxaw','slice'];a33_0x46b3=function(){return _0x2c45f1;};return a33_0x46b3();}function a33_0x505c(_0x4d649a,_0x1f62a8){const _0x46b36a=a33_0x46b3();return a33_0x505c=function(_0x505c31,_0x1cfce8){_0x505c31=_0x505c31-0xa0;let _0x2e6905=_0x46b36a[_0x505c31];return _0x2e6905;},a33_0x505c(_0x4d649a,_0x1f62a8);}const fs=require('fs'),path=require(a33_0x113a16(0xb9)),{spawn}=require(a33_0x113a16(0xe8)),logger=require(a33_0x113a16(0xea))[a33_0x113a16(0xaf)],{default:BrowserStackSetup}=require(a33_0x113a16(0xd8)),helper=require(a33_0x113a16(0xc5)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0xb5c002,_0x10061a)=>{const _0x1e50a8=a33_0x113a16,_0x1db144={'OEHvx':_0x1e50a8(0xdd),'BnJfr':_0x1e50a8(0xbf),'fxKkj':function(_0x287a04,_0x5a0cd9){return _0x287a04(_0x5a0cd9);},'RJtgS':_0x1e50a8(0xae)};let _0x3f951f=null,_0x4cc5f4={};const _0x55b723=_0x10061a[_0x1e50a8(0xc9)](_0xfc377e=>_0xfc377e===_0x1e50a8(0xca));if(!helper[_0x1e50a8(0xa8)](_0xb5c002[_0x1e50a8(0xce)])&&fs[_0x1e50a8(0xeb)](path[_0x1e50a8(0xab)](process[_0x1e50a8(0xda)](),_0xb5c002[_0x1e50a8(0xce)])))_0x3f951f=path[_0x1e50a8(0xab)](process['cwd'](),_0xb5c002['config']),_0x10061a[_0x1e50a8(0xe2)](_0x55b723,0x2);else{if(fs[_0x1e50a8(0xeb)](path[_0x1e50a8(0xab)](process[_0x1e50a8(0xda)](),_0x1db144['OEHvx'])))_0x3f951f=path[_0x1e50a8(0xab)](process[_0x1e50a8(0xda)](),_0x1db144[_0x1e50a8(0xd7)]);else fs[_0x1e50a8(0xeb)](path[_0x1e50a8(0xab)](process[_0x1e50a8(0xda)](),_0x1db144[_0x1e50a8(0xc1)]))&&(_0x3f951f=path[_0x1e50a8(0xab)](process[_0x1e50a8(0xda)](),_0x1db144[_0x1e50a8(0xc1)]));}return _0x3f951f?(logger['info'](_0x1e50a8(0xba)+_0x3f951f),_0x4cc5f4=_0x1db144[_0x1e50a8(0xe3)](require,_0x3f951f)):logger[_0x1e50a8(0xc3)](_0x1db144[_0x1e50a8(0xb4)]),_0x4cc5f4;},removeExistingEnvs=_0x4eddc6=>{const _0x14d498=a33_0x113a16,_0x1611b9={};_0x1611b9[_0x14d498(0xaa)]=function(_0x3f812c,_0x3d0321){return _0x3f812c>_0x3d0321;},_0x1611b9['MmDjN']=function(_0x16f75f,_0x2d3412){return _0x16f75f>_0x2d3412;};const _0x4dc6e9=_0x1611b9;let _0x56dec9=_0x4eddc6[_0x14d498(0xc9)](_0x296c27=>_0x296c27===_0x14d498(0xa6));_0x4dc6e9[_0x14d498(0xaa)](_0x56dec9,-0x1)&&_0x4eddc6['splice'](_0x56dec9,0x2),_0x56dec9=_0x4eddc6[_0x14d498(0xc9)](_0x2b3cc7=>_0x2b3cc7==='-e'),_0x4dc6e9[_0x14d498(0xd4)](_0x56dec9,-0x1)&&_0x4eddc6[_0x14d498(0xe2)](_0x56dec9,0x2);};function run(_0x234bc1,_0xe66868){const _0x173391=a33_0x113a16,_0x2ccec6={'XRrIP':_0x173391(0xd9),'yjmeU':function(_0x56886e,_0x26ed4d){return _0x56886e+_0x26ed4d;},'xwyuP':_0x173391(0xec),'enxES':function(_0x596442,_0x2ba083,_0x22d89c){return _0x596442(_0x2ba083,_0x22d89c);},'fjEUf':_0x173391(0xdf),'AtWwX':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','Kjsou':function(_0x740b44,_0x52bb03){return _0x740b44===_0x52bb03;},'xhqaq':_0x173391(0xe9),'etoAr':function(_0x79c239,_0x35ee68){return _0x79c239(_0x35ee68);},'YhoeC':function(_0x139b5e,_0x1eb14c,_0x2b7a39,_0x1023b6){return _0x139b5e(_0x1eb14c,_0x2b7a39,_0x1023b6);},'FKbzs':'nightwatch.cmd','HhLtN':_0x173391(0xca),'Gilty':_0x173391(0xa6),'PXODk':_0x173391(0xd5),'qEtch':_0x173391(0xc4)},_0x5bf032=new BrowserStackSetup(_0x234bc1);if(!_0x5bf032['config'])return;const _0xa59f00=_0x2ccec6[_0x173391(0xb3)](getUserNightwatchConfigs,_0x234bc1,_0xe66868),_0x2b63a8={};_0x2b63a8[_0x173391(0xe7)]=![];const _0x19086e={};_0x19086e[_0x173391(0xe5)]=_0x2ccec6['fjEUf'],_0x19086e['port']=0x1bb;const _0x5b7e85={};_0x5b7e85[_0x173391(0xd3)]=_0x2b63a8,_0x5b7e85[_0x173391(0xa1)]=_0x19086e;const _0x528234=_0x5b7e85;logger['info'](_0x2ccec6['AtWwX']);const _0x5c0e4e={..._0xa59f00},_0xc9e8c9=_0x5c0e4e,_0x4e0cfe=helper[_0x173391(0xb7)](_0x5bf032[_0x173391(0xce)]),_0x49fd35=[];_0x5bf032[_0x173391(0xce)][_0x173391(0xa0)]['forEach']((_0xab06a8,_0x5460ba)=>{const _0x3fbb24=_0x173391;_0x4e0cfe?_0x49fd35[_0x3fbb24(0xb5)](helper[_0x3fbb24(0xb6)](_0x5bf032[_0x3fbb24(0xce)],_0x2ccec6[_0x3fbb24(0xdb)],_0x5460ba)):_0x49fd35[_0x3fbb24(0xb5)](helper[_0x3fbb24(0xac)](_0x5bf032['config'],_0x2ccec6['XRrIP'],_0x5460ba));});const _0x239c64={},_0x279758=[];_0x234bc1['env']=_0x234bc1[_0x173391(0xc8)]||_0x234bc1['e'];const _0x120c5f=_0x234bc1[_0x173391(0xc8)]?_0x234bc1['env'][_0x173391(0xa7)]()['split'](',')[_0x173391(0xd0)](_0x326a9f=>_0x326a9f[_0x173391(0xa7)]())[_0x173391(0xc6)](_0x5309a7=>_0x5309a7!==''):[''];_0x2ccec6[_0x173391(0xbb)](_0x120c5f[_0x173391(0xed)],0x0)&&_0x120c5f[_0x173391(0xb5)]('');_0x120c5f[_0x173391(0xb1)](_0x436fd7=>{const _0x433f0f=_0x173391;_0x49fd35[_0x433f0f(0xb1)](_0x48246e=>{const _0x4918c9=_0x433f0f;let _0x20c53c=_0x2ccec6[_0x4918c9(0xb0)](helper[_0x4918c9(0xa5)](_0x48246e,'_'),'_'+Date[_0x4918c9(0xcf)]());_0x436fd7&&(_0x20c53c+='_'+_0x436fd7);if(_0x436fd7&&(!_0xa59f00[_0x2ccec6[_0x4918c9(0xbd)]]||!_0xa59f00[_0x2ccec6[_0x4918c9(0xbd)]][_0x436fd7]))return;const _0x3679c4={..._0x528234};_0x3679c4[_0x4918c9(0xdc)]=_0x48246e;const _0x3c9813=_0x3679c4;_0x239c64[_0x20c53c]=_0x436fd7?helper[_0x4918c9(0xe4)](_0xa59f00[_0x2ccec6[_0x4918c9(0xbd)]][_0x436fd7],_0x3c9813):_0x3c9813,_0x279758[_0x4918c9(0xb5)](_0x20c53c);});});!_0xc9e8c9[_0x173391(0xec)]&&(_0xc9e8c9[_0x173391(0xec)]={});_0xc9e8c9['test_settings']={..._0xc9e8c9[_0x173391(0xec)],..._0x239c64};const _0x10ca5e=path[_0x173391(0xab)](__dirname,_0x2ccec6[_0x173391(0xcc)]);fs['writeFileSync'](_0x10ca5e,JSON[_0x173391(0xc2)](_0xc9e8c9)),_0x2ccec6[_0x173391(0xc0)](removeExistingEnvs,_0xe66868);const _0x127874=_0x2ccec6['YhoeC'](spawn,/^win/['test'](process[_0x173391(0xb8)])?_0x2ccec6[_0x173391(0xbc)]:_0x2ccec6['XRrIP'],[_0x2ccec6[_0x173391(0xe6)],_0x10ca5e,..._0xe66868[_0x173391(0xe1)](0x1),_0x2ccec6['Gilty'],_0x279758['join'](',')],{'stdio':_0x2ccec6[_0x173391(0xde)]});_0x127874['on'](_0x2ccec6['qEtch'],async _0x851611=>{const _0x57190a=_0x173391;logger[_0x57190a(0xd1)]('child\x20process\x20exited\x20with\x20code\x20'+_0x851611),logger[_0x57190a(0xc3)](_0x57190a(0xc7)+_0x10ca5e),fs['unlinkSync'](_0x10ca5e);});}module[a33_0x113a16(0xa4)]=run;
@@ -1 +1 @@
1
- const a34_0x52a4e3=a34_0x44b6;function a34_0x26fd(){const _0x159603=['zpIDJ','use','(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','deviceName','../../helpers/accessibility-automation/helper','browserstack.accessibility','LWqFP','JBDbl','JqEAg','accessibilityOptions','warn','iyLqR','accessibilityOptions.includeIssueType.needsReview','ZuvxW','392180DxRLwR','connectOptions','browser','FViIu','accessibilityPlatform','playwright-chromium','project','vSVrd','../../helpers/logger','scannerVersion','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','../../helpers/accessibility-automation/scripts','228972YIARRW','zANAY','3861558AGNZoe','TFmaS','accessibilityOptions.includeIssueType.bestPractice','browserStackExecuteDriver','wDCZn','constructor','wcagVersion','rCdVG','getAccessibilityResults','3392fXCOEc','2897250AfFQLp','getAccessibilityResultsSummary','needsReview','OQUjl','yCQxc','currentTest','lvAPX','8435ZkXoXM','sjRGS','executeAsyncScript','WebDriver','debug','replace','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','HQKTP','ScVQM','accessibilityOptions.scannerProcessingTimeout','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','TnOkh','ZOplp','includeIssueType','winstonLogger','env','performScan','HIoot','1338CMXICV','parse','bstackSdkArgs','bestPractice','ENsIM','UfZqk','latest','scannerProcessingTimeout','browserStackEvaluate','accessibilityOptions.authToken','accessibilityOptions.scannerVersion','platformValidation','executeScript','XdUsN','util','ENhaA','browserName','SwEdX','chrome','CNNBg','No\x20accessibility\x20results\x20were\x20found.','BS_A11Y_JWT','accessibilityOptions.wcagVersion','browser_version','elYcz','2145265rbptnR','evaluate','stringify','NPYbo','VloBC','format','wsEndpoint','processAccessibilityCaps','398WNVglV','UCUKT','name'];a34_0x26fd=function(){return _0x159603;};return a34_0x26fd();}(function(_0x4fc716,_0x5b0b82){const _0x3c426a=a34_0x44b6,_0x120861=_0x4fc716();while(!![]){try{const _0x185fe0=parseInt(_0x3c426a(0x17e))/0x1+-parseInt(_0x3c426a(0x16d))/0x2*(parseInt(_0x3c426a(0x14c))/0x3)+-parseInt(_0x3c426a(0x18a))/0x4+parseInt(_0x3c426a(0x165))/0x5+-parseInt(_0x3c426a(0x196))/0x6+parseInt(_0x3c426a(0x19d))/0x7*(parseInt(_0x3c426a(0x195))/0x8)+-parseInt(_0x3c426a(0x18c))/0x9;if(_0x185fe0===_0x5b0b82)break;else _0x120861['push'](_0x120861['shift']());}catch(_0x3be303){_0x120861['push'](_0x120861['shift']());}}}(a34_0x26fd,0x42f2b));function a34_0x44b6(_0x3e13d2,_0x3dcb4e){const _0x26fd5c=a34_0x26fd();return a34_0x44b6=function(_0x44b67e,_0x25d17b){_0x44b67e=_0x44b67e-0x145;let _0x54ca38=_0x26fd5c[_0x44b67e];return _0x54ca38;},a34_0x44b6(_0x3e13d2,_0x3dcb4e);}const util=require(a34_0x52a4e3(0x15a)),logger=require(a34_0x52a4e3(0x186))[a34_0x52a4e3(0x148)],{isAccessibilityAutomationSession}=require(a34_0x52a4e3(0x174)),{isUndefined}=require('../../helpers/helper'),scripts=require(a34_0x52a4e3(0x189));exports[a34_0x52a4e3(0x154)]=async(_0x207437,_0x513633,_0xd8086e={})=>{const _0x136a51=a34_0x52a4e3,_0x34cb5a={};_0x34cb5a[_0x136a51(0x18b)]=_0x136a51(0x14e);const _0x29b454=_0x34cb5a;return await _0x207437[_0x136a51(0x166)]('(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'+_0x513633[_0x136a51(0x1a2)](/arguments/g,_0x29b454[_0x136a51(0x18b)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x136a51(0x167)](_0xd8086e)+')');},exports[a34_0x52a4e3(0x18f)]=async(_0x50258f,_0xb37c8,_0x551831={})=>{const _0x3f6589=a34_0x52a4e3,_0x453ff3={};_0x453ff3[_0x3f6589(0x19e)]=function(_0x5d43ce,_0x498edf){return _0x5d43ce===_0x498edf;},_0x453ff3['HIoot']=_0x3f6589(0x1a0),_0x453ff3[_0x3f6589(0x164)]=function(_0x40b032,_0x472798){return _0x40b032===_0x472798;},_0x453ff3[_0x3f6589(0x15b)]='Playwright',_0x453ff3['ENsIM']=_0x3f6589(0x14e);const _0x1a9a9=_0x453ff3;if(_0x1a9a9[_0x3f6589(0x19e)](_0x50258f['constructor'][_0x3f6589(0x16f)],_0x1a9a9[_0x3f6589(0x14b)]))return await _0x50258f[_0x3f6589(0x19f)](_0xb37c8,_0x551831);else{if(_0x1a9a9[_0x3f6589(0x164)](_0x50258f[_0x3f6589(0x191)][_0x3f6589(0x16f)],_0x1a9a9['ENhaA']))return await _0x50258f[_0x3f6589(0x158)](_0x3f6589(0x172)+_0xb37c8[_0x3f6589(0x1a2)](/arguments/g,_0x1a9a9[_0x3f6589(0x150)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x3f6589(0x167)](_0x551831)+')');}},exports['setAccessibilityCapabilities']=async _0x30e482=>{const _0x5ed873=a34_0x52a4e3,_0x91ed04={};_0x91ed04[_0x5ed873(0x1a4)]=_0x5ed873(0x162),_0x91ed04[_0x5ed873(0x15f)]=_0x5ed873(0x1a6),_0x91ed04['UBOtX']=_0x5ed873(0x18e),_0x91ed04[_0x5ed873(0x146)]=_0x5ed873(0x17c),_0x91ed04[_0x5ed873(0x181)]=_0x5ed873(0x155),_0x91ed04['TIyVX']=_0x5ed873(0x156);const _0x26a8ac=_0x91ed04;_0x30e482['accessibilityOptions']&&(_0x30e482[_0x5ed873(0x179)][_0x5ed873(0x192)]&&(_0x30e482[_0x26a8ac[_0x5ed873(0x1a4)]]=_0x30e482['accessibilityOptions'][_0x5ed873(0x192)]),_0x30e482[_0x5ed873(0x179)][_0x5ed873(0x153)]&&(_0x30e482[_0x26a8ac['CNNBg']]=_0x30e482[_0x5ed873(0x179)][_0x5ed873(0x153)]),_0x30e482[_0x5ed873(0x179)]['includeIssueType']&&(_0x30e482[_0x26a8ac['UBOtX']]=_0x30e482['accessibilityOptions'][_0x5ed873(0x147)][_0x5ed873(0x14f)],_0x30e482[_0x26a8ac[_0x5ed873(0x146)]]=_0x30e482[_0x5ed873(0x179)]['includeIssueType'][_0x5ed873(0x198)]));const _0x5437fc=JSON[_0x5ed873(0x14d)](process[_0x5ed873(0x149)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x5ed873(0x187)];_0x30e482[_0x26a8ac[_0x5ed873(0x181)]]=process[_0x5ed873(0x149)][_0x5ed873(0x161)],_0x30e482[_0x26a8ac['TIyVX']]=_0x5437fc,delete _0x30e482[_0x5ed873(0x179)];},exports[a34_0x52a4e3(0x194)]=async _0x59ff74=>{const _0x1c6cfa=a34_0x52a4e3,_0x451497={};_0x451497['wDCZn']=_0x1c6cfa(0x160),_0x451497[_0x1c6cfa(0x19a)]=_0x1c6cfa(0x1a7);const _0x12f1d5=_0x451497;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x59ff74,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x59ff74,scripts.getResults);return res;}catch{return logger['error'](_0x12f1d5[_0x1c6cfa(0x190)]),[];}else return logger['warn'](_0x12f1d5['yCQxc']),[];},exports[a34_0x52a4e3(0x14a)]=async(_0x47a757,_0x3d0e78='')=>{const _0x42c00e=a34_0x52a4e3;if(global[_0x42c00e(0x182)]){const _0x38b891={};return _0x38b891['method']=_0x3d0e78,await exports[_0x42c00e(0x154)](_0x47a757,scripts[_0x42c00e(0x14a)],_0x38b891);}},exports[a34_0x52a4e3(0x197)]=async _0x4e9fac=>{const _0x119c35=a34_0x52a4e3,_0x41fd14={};_0x41fd14[_0x119c35(0x16e)]='No\x20summaryResults\x20found.',_0x41fd14[_0x119c35(0x1a5)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x5a8f48=_0x41fd14;if(global[_0x119c35(0x182)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x4e9fac,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x4e9fac,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x119c35(0x1a1)](_0x5a8f48[_0x119c35(0x16e)]),{};}else return logger[_0x119c35(0x17a)](_0x5a8f48[_0x119c35(0x1a5)]),{};},exports[a34_0x52a4e3(0x157)]=async _0x4dfbec=>{const _0x18fc55=a34_0x52a4e3,_0x55c346={'vSVrd':function(_0x538eba,_0x30d0f4){return _0x538eba!==_0x30d0f4;},'pBXoR':_0x18fc55(0x1a3),'UfZqk':function(_0x3d179d,_0x4b47e3){return _0x3d179d===_0x4b47e3;},'LWqFP':_0x18fc55(0x15e),'PExdN':'playwright-chromium','VloBC':_0x18fc55(0x188),'OQUjl':function(_0x2a407a,_0x29d315){return _0x2a407a(_0x29d315);},'SwEdX':function(_0x90ff04,_0x5aeb20){return _0x90ff04===_0x5aeb20;},'ZuvxW':_0x18fc55(0x152),'TFmaS':function(_0x5e1fd5,_0x551808){return _0x5e1fd5>_0x551808;},'GUPsu':_0x18fc55(0x1a8)};try{if(!_0x55c346[_0x18fc55(0x185)](_0x4dfbec['deviceName'],''))return logger['warn'](_0x55c346['pBXoR']),![];const _0x43a8fa=_0x4dfbec[_0x18fc55(0x180)];if(!(_0x55c346[_0x18fc55(0x151)](_0x43a8fa,_0x55c346[_0x18fc55(0x176)])||_0x55c346[_0x18fc55(0x151)](_0x43a8fa,_0x55c346['PExdN'])))return logger['warn'](_0x55c346[_0x18fc55(0x169)]),![];const _0x2bdd30=_0x55c346[_0x18fc55(0x199)](parseInt,_0x4dfbec[_0x18fc55(0x163)]);if(!(_0x55c346[_0x18fc55(0x15d)](_0x2bdd30,_0x55c346[_0x18fc55(0x17d)])||_0x55c346[_0x18fc55(0x18d)](_0x2bdd30,0x5e)))return logger[_0x18fc55(0x17a)](_0x55c346['GUPsu']),![];}catch(_0x3b9490){logger[_0x18fc55(0x1a1)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x18fc55(0x16a)](_0x3b9490));}return!![];},exports[a34_0x52a4e3(0x16c)]=(_0xe06e7e,_0x3c32e1,_0x2b3677)=>{const _0x22f0f4=a34_0x52a4e3,_0x1f6813={'jkYcj':function(_0x3a70b6){return _0x3a70b6();},'zpIDJ':_0x22f0f4(0x175),'JBDbl':function(_0x48490a,_0x167889){return _0x48490a===_0x167889;},'iyLqR':_0x22f0f4(0x15e),'QWCfw':_0x22f0f4(0x183),'lvAPX':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','TnOkh':function(_0x46dbab,_0x1a68e9){return _0x46dbab===_0x1a68e9;},'rCdVG':_0x22f0f4(0x152),'GAaOD':function(_0x277587,_0x477597){return _0x277587>_0x477597;},'eoeSB':_0x22f0f4(0x1a8),'NPYbo':function(_0x13334a,_0x3371d2){return _0x13334a(_0x3371d2);},'XdUsN':_0x22f0f4(0x1a3),'JqEAg':function(_0x361103,_0x5092bc){return _0x361103+_0x5092bc;}};try{if(_0x1f6813['jkYcj'](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0xe06e7e[_0x1f6813['zpIDJ']]&&(global['accessibilityPlatform']=![]);!(_0x1f6813[_0x22f0f4(0x177)](_0xe06e7e[_0x22f0f4(0x15c)],_0x1f6813[_0x22f0f4(0x17b)])||_0x1f6813[_0x22f0f4(0x177)](_0xe06e7e[_0x22f0f4(0x15c)],_0x1f6813['QWCfw']))&&(logger[_0x22f0f4(0x17a)](_0x1f6813[_0x22f0f4(0x19c)]),global[_0x22f0f4(0x182)]=![]);!(_0x1f6813[_0x22f0f4(0x145)](_0xe06e7e['browser_version'],_0x1f6813[_0x22f0f4(0x193)])||_0x1f6813['GAaOD'](_0xe06e7e['browser_version'],0x5e))&&(logger[_0x22f0f4(0x17a)](_0x1f6813['eoeSB']),global[_0x22f0f4(0x182)]=![]);!_0x1f6813[_0x22f0f4(0x168)](isUndefined,_0xe06e7e[_0x22f0f4(0x173)])&&(logger['warn'](_0x1f6813[_0x22f0f4(0x159)]),global[_0x22f0f4(0x182)]=![]);if(!global['accessibilityPlatform']){_0xe06e7e[_0x1f6813[_0x22f0f4(0x170)]]=![];const _0x4a4a20=_0x1f6813[_0x22f0f4(0x178)](_0x3c32e1,_0x1f6813[_0x22f0f4(0x168)](encodeURIComponent,JSON[_0x22f0f4(0x167)](_0xe06e7e)));_0x2b3677&&(_0x2b3677[_0x22f0f4(0x19b)]['testInfo'][_0x22f0f4(0x184)]['use'][_0x22f0f4(0x17f)][_0x22f0f4(0x16b)]=_0x4a4a20,_0x2b3677['workerInfo']['project'][_0x22f0f4(0x171)][_0x22f0f4(0x17f)][_0x22f0f4(0x16b)]=_0x4a4a20);}}}catch(_0x5ba483){logger[_0x22f0f4(0x1a1)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util['format'](_0x5ba483));}};
1
+ const a34_0x2bf7a3=a34_0xc035;function a34_0x5a16(){const _0x162e66=['workerInfo','tBdzg','playwright-chromium','../../helpers/performance/constants','1344060ZJROpZ','uWWmd','browser_version','format','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','pbfcC','bestPractice','KCwjE','MtJHC','browserName','evFud','needsReview','qsauL','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','setAccessibilityCapabilities','browserStackExecuteDriver','BTdBE','../../helpers/helper','../../helpers/accessibility-automation/helper','wsEndpoint','measureWrapper','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','1260642RHWgTL','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','../../helpers/logger','6844385hvNrlE','VJMEu','parse','1614128NALhzY','accessibilityOptions','gteJW','RgxYb','performScan','project','GyljT','HFwzB','49AgvVIz','currentTest','browserstack.accessibility','vTwpT','BS_A11Y_JWT','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','RyWzn','util','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','prYWP','35199oQJaNf','bxSlZ','bstackSdkArgs','warn','replace','accessibilityPlatform','Yfyjs','platformValidation','uJVWG','latest','deviceName','connectOptions','../../helpers/performance/performance-tester','hmUjD','browser','accessibilityOptions.scannerVersion','200sCiQwM','constructor','mcIFI','No\x20summaryResults\x20found.','includeIssueType','GHELt','sgreF','env','Playwright','hCDJj','stringify','ihKaU','debug','PERFORM_SCAN','testInfo','command','pWngl','accessibilityOptions.includeIssueType.needsReview','1665660QLTBHH','accessibilityOptions.authToken','322yUvjnt','YuOPT','processAccessibilityCaps','accessibilityOptions.scannerProcessingTimeout','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','xmvgg','use','TUhgz','QCAzc','scannerProcessingTimeout','363DGyQCN','error','blAQN','chrome','(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','560079AnjpdN','../../helpers/accessibility-automation/scripts','browserStackEvaluate','ErshX','winstonLogger','No\x20accessibility\x20results\x20were\x20found.','cVspa','evaluate','wcagVersion','executeScript','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','accessibilityOptions.wcagVersion','name'];a34_0x5a16=function(){return _0x162e66;};return a34_0x5a16();}(function(_0x45a0d4,_0x513604){const _0x104ca8=a34_0xc035,_0x179ff7=_0x45a0d4();while(!![]){try{const _0x499cbe=parseInt(_0x104ca8(0xe1))/0x1+parseInt(_0x104ca8(0xe3))/0x2*(parseInt(_0x104ca8(0xbf))/0x3)+parseInt(_0x104ca8(0xac))/0x4+parseInt(_0x104ca8(0x11c))/0x5+parseInt(_0x104ca8(0x119))/0x6*(-parseInt(_0x104ca8(0xb4))/0x7)+parseInt(_0x104ca8(0xcf))/0x8*(parseInt(_0x104ca8(0xf2))/0x9)+parseInt(_0x104ca8(0x103))/0xa*(-parseInt(_0x104ca8(0xed))/0xb);if(_0x499cbe===_0x513604)break;else _0x179ff7['push'](_0x179ff7['shift']());}catch(_0x147f82){_0x179ff7['push'](_0x179ff7['shift']());}}}(a34_0x5a16,0xee746));const util=require(a34_0x2bf7a3(0xbb)),logger=require(a34_0x2bf7a3(0x11b))[a34_0x2bf7a3(0xf6)],{isAccessibilityAutomationSession}=require(a34_0x2bf7a3(0x115)),{isUndefined}=require(a34_0x2bf7a3(0x114)),scripts=require(a34_0x2bf7a3(0xf3)),PerformanceTester=require(a34_0x2bf7a3(0xcb)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x2bf7a3(0x102));function a34_0xc035(_0x148d9f,_0x275dcf){const _0x5a166a=a34_0x5a16();return a34_0xc035=function(_0xc035fb,_0x2e7e35){_0xc035fb=_0xc035fb-0xac;let _0x13c78d=_0x5a166a[_0xc035fb];return _0x13c78d;},a34_0xc035(_0x148d9f,_0x275dcf);}exports[a34_0x2bf7a3(0xf4)]=async(_0x15cc63,_0x4fa3f9,_0x3befb7={})=>{const _0x990080=a34_0x2bf7a3,_0x2403d6={};_0x2403d6[_0x990080(0xef)]='bstackSdkArgs';const _0x5be831=_0x2403d6;return await _0x15cc63[_0x990080(0xf9)](_0x990080(0xf1)+_0x4fa3f9['replace'](/arguments/g,_0x5be831['blAQN'])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x990080(0xd9)](_0x3befb7)+')');},exports[a34_0x2bf7a3(0x112)]=async(_0x2c2081,_0x14bae9,_0x5f4f28={})=>{const _0xf23647=a34_0x2bf7a3,_0x4bcd73={};_0x4bcd73[_0xf23647(0xf5)]=function(_0x5eaac3,_0x5db6e5){return _0x5eaac3===_0x5db6e5;},_0x4bcd73['Nphhh']='WebDriver',_0x4bcd73['sgreF']=function(_0x3d76fb,_0x21b981){return _0x3d76fb===_0x21b981;},_0x4bcd73[_0xf23647(0x10f)]=_0xf23647(0xd7),_0x4bcd73[_0xf23647(0x11d)]=_0xf23647(0xc1);const _0x59e29d=_0x4bcd73;if(_0x59e29d['ErshX'](_0x2c2081[_0xf23647(0xd0)][_0xf23647(0xfe)],_0x59e29d['Nphhh']))return await _0x2c2081['executeAsyncScript'](_0x14bae9,_0x5f4f28);else{if(_0x59e29d[_0xf23647(0xd5)](_0x2c2081['constructor'][_0xf23647(0xfe)],_0x59e29d[_0xf23647(0x10f)]))return await _0x2c2081[_0xf23647(0xfb)]('(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'+_0x14bae9[_0xf23647(0xc3)](/arguments/g,_0x59e29d[_0xf23647(0x11d)])+_0xf23647(0x118)+JSON[_0xf23647(0xd9)](_0x5f4f28)+')');}},exports[a34_0x2bf7a3(0x111)]=async _0x274f18=>{const _0x5b2905=a34_0x2bf7a3,_0x50fdfc={};_0x50fdfc[_0x5b2905(0xeb)]=_0x5b2905(0xfd),_0x50fdfc[_0x5b2905(0x108)]=_0x5b2905(0xe6),_0x50fdfc[_0x5b2905(0xaf)]='accessibilityOptions.includeIssueType.bestPractice',_0x50fdfc[_0x5b2905(0xb7)]=_0x5b2905(0xe0),_0x50fdfc[_0x5b2905(0x10a)]=_0x5b2905(0xe2),_0x50fdfc[_0x5b2905(0xf8)]=_0x5b2905(0xce);const _0x1832e6=_0x50fdfc;_0x274f18[_0x5b2905(0xad)]&&(_0x274f18[_0x5b2905(0xad)][_0x5b2905(0xfa)]&&(_0x274f18[_0x1832e6[_0x5b2905(0xeb)]]=_0x274f18[_0x5b2905(0xad)][_0x5b2905(0xfa)]),_0x274f18[_0x5b2905(0xad)]['scannerProcessingTimeout']&&(_0x274f18[_0x1832e6[_0x5b2905(0x108)]]=_0x274f18[_0x5b2905(0xad)][_0x5b2905(0xec)]),_0x274f18[_0x5b2905(0xad)]['includeIssueType']&&(_0x274f18[_0x1832e6[_0x5b2905(0xaf)]]=_0x274f18['accessibilityOptions'][_0x5b2905(0xd3)][_0x5b2905(0x109)],_0x274f18[_0x1832e6[_0x5b2905(0xb7)]]=_0x274f18[_0x5b2905(0xad)]['includeIssueType'][_0x5b2905(0x10e)]));const _0x1c23b9=JSON[_0x5b2905(0x11e)](process[_0x5b2905(0xd6)][_0x5b2905(0xb9)])['scannerVersion'];_0x274f18[_0x1832e6[_0x5b2905(0x10a)]]=process[_0x5b2905(0xd6)][_0x5b2905(0xb8)],_0x274f18[_0x1832e6[_0x5b2905(0xf8)]]=_0x1c23b9,delete _0x274f18['accessibilityOptions'];},exports['getAccessibilityResults']=async _0x2f1e93=>{const _0x1f0957=a34_0x2bf7a3,_0x12fef7={};_0x12fef7[_0x1f0957(0xbe)]=_0x1f0957(0xf7),_0x12fef7[_0x1f0957(0xb3)]=_0x1f0957(0x110);const _0x10c888=_0x12fef7;if(global[_0x1f0957(0xc4)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x2f1e93,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x2f1e93,scripts.getResults);})();return res;}catch{return logger[_0x1f0957(0xee)](_0x10c888['prYWP']),[];}else return logger[_0x1f0957(0xc2)](_0x10c888[_0x1f0957(0xb3)]),[];},exports[a34_0x2bf7a3(0xb0)]=async(_0x5ce952,_0x557753='')=>{const _0x58fc6e=a34_0x2bf7a3;if(global[_0x58fc6e(0xc4)])return await PerformanceTester[_0x58fc6e(0x117)](PerformanceA11yEvents[_0x58fc6e(0xdc)],async()=>{const _0x1b7c3a=_0x58fc6e,_0x438a68={};_0x438a68[_0x1b7c3a(0xde)]=_0x557753,await exports[_0x1b7c3a(0xf4)](_0x5ce952,scripts[_0x1b7c3a(0xb0)],_0x438a68);},{'command':_0x557753})();},exports['getAccessibilityResultsSummary']=async _0x5796e6=>{const _0x4c51d3=a34_0x2bf7a3,_0x568ae0={};_0x568ae0['ZYQgx']=_0x4c51d3(0xd2),_0x568ae0[_0x4c51d3(0x100)]=_0x4c51d3(0x11a);const _0x56568a=_0x568ae0;if(global[_0x4c51d3(0xc4)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x5796e6,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x5796e6,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x4c51d3(0xdb)](_0x56568a['ZYQgx']),{};}else return logger[_0x4c51d3(0xc2)](_0x56568a[_0x4c51d3(0x100)]),{};},exports[a34_0x2bf7a3(0xc6)]=async _0x450c27=>{const _0x2249e0=a34_0x2bf7a3,_0xa5c2ac={'eJUSR':function(_0x5b7f5d,_0x1b67f4){return _0x5b7f5d!==_0x1b67f4;},'pkYxc':_0x2249e0(0xfc),'uJVWG':function(_0x584aa5,_0xb0be43){return _0x584aa5===_0xb0be43;},'MtJHC':_0x2249e0(0xf0),'BTdBE':function(_0xcc88ea,_0x2f52b2){return _0xcc88ea===_0x2f52b2;},'xmvgg':_0x2249e0(0x101),'YuOPT':_0x2249e0(0xbc),'evFud':function(_0x1d2ada,_0x4a451f){return _0x1d2ada(_0x4a451f);},'GyljT':_0x2249e0(0xc8),'bxSlZ':function(_0x3cbfb3,_0x5d2deb){return _0x3cbfb3>_0x5d2deb;},'TUhgz':_0x2249e0(0xe7)};try{if(!_0xa5c2ac['eJUSR'](_0x450c27[_0x2249e0(0xc9)],''))return logger[_0x2249e0(0xc2)](_0xa5c2ac['pkYxc']),![];const _0x2e349b=_0x450c27[_0x2249e0(0xcd)];if(!(_0xa5c2ac[_0x2249e0(0xc7)](_0x2e349b,_0xa5c2ac[_0x2249e0(0x10b)])||_0xa5c2ac[_0x2249e0(0x113)](_0x2e349b,_0xa5c2ac[_0x2249e0(0xe8)])))return logger[_0x2249e0(0xc2)](_0xa5c2ac[_0x2249e0(0xe4)]),![];const _0xb0e8d9=_0xa5c2ac[_0x2249e0(0x10d)](parseInt,_0x450c27[_0x2249e0(0x105)]);if(!(_0xa5c2ac['uJVWG'](_0xb0e8d9,_0xa5c2ac[_0x2249e0(0xb2)])||_0xa5c2ac[_0x2249e0(0xc0)](_0xb0e8d9,0x5e)))return logger[_0x2249e0(0xc2)](_0xa5c2ac[_0x2249e0(0xea)]),![];}catch(_0x5577e2){logger[_0x2249e0(0xdb)](_0x2249e0(0xbd)+util['format'](_0x5577e2));}return!![];},exports[a34_0x2bf7a3(0xe5)]=(_0x5c41ba,_0x515d3c,_0x126fd0)=>{const _0x3f0a6d=a34_0x2bf7a3,_0x4eb2da={'Yfyjs':function(_0x1a2c4f){return _0x1a2c4f();},'pWngl':_0x3f0a6d(0xb6),'RyWzn':function(_0x460ff6,_0x8cf789){return _0x460ff6===_0x8cf789;},'gteJW':_0x3f0a6d(0xf0),'mcIFI':_0x3f0a6d(0x101),'GHELt':_0x3f0a6d(0xbc),'ATQxO':function(_0x52df7f,_0x2d296b){return _0x52df7f===_0x2d296b;},'hmUjD':_0x3f0a6d(0xc8),'ihKaU':function(_0x244b3b,_0x504b15){return _0x244b3b>_0x504b15;},'hCDJj':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','uWWmd':function(_0x564958,_0x430353){return _0x564958(_0x430353);},'PjarD':_0x3f0a6d(0xfc),'phtoh':function(_0x161c1e,_0x4fba18){return _0x161c1e+_0x4fba18;}};try{if(_0x4eb2da[_0x3f0a6d(0xc5)](isAccessibilityAutomationSession)){global[_0x3f0a6d(0xc4)]=!![];!_0x5c41ba[_0x4eb2da[_0x3f0a6d(0xdf)]]&&(global[_0x3f0a6d(0xc4)]=![]);!(_0x4eb2da[_0x3f0a6d(0xba)](_0x5c41ba[_0x3f0a6d(0x10c)],_0x4eb2da[_0x3f0a6d(0xae)])||_0x4eb2da[_0x3f0a6d(0xba)](_0x5c41ba[_0x3f0a6d(0x10c)],_0x4eb2da[_0x3f0a6d(0xd1)]))&&(logger[_0x3f0a6d(0xc2)](_0x4eb2da[_0x3f0a6d(0xd4)]),global['accessibilityPlatform']=![]);!(_0x4eb2da['ATQxO'](_0x5c41ba[_0x3f0a6d(0x105)],_0x4eb2da[_0x3f0a6d(0xcc)])||_0x4eb2da[_0x3f0a6d(0xda)](_0x5c41ba[_0x3f0a6d(0x105)],0x5e))&&(logger[_0x3f0a6d(0xc2)](_0x4eb2da[_0x3f0a6d(0xd8)]),global[_0x3f0a6d(0xc4)]=![]);!_0x4eb2da['uWWmd'](isUndefined,_0x5c41ba[_0x3f0a6d(0xc9)])&&(logger[_0x3f0a6d(0xc2)](_0x4eb2da['PjarD']),global[_0x3f0a6d(0xc4)]=![]);if(!global[_0x3f0a6d(0xc4)]){_0x5c41ba[_0x4eb2da[_0x3f0a6d(0xdf)]]=![];const _0x2ceabf=_0x4eb2da['phtoh'](_0x515d3c,_0x4eb2da[_0x3f0a6d(0x104)](encodeURIComponent,JSON[_0x3f0a6d(0xd9)](_0x5c41ba)));_0x126fd0&&(_0x126fd0[_0x3f0a6d(0xb5)][_0x3f0a6d(0xdd)][_0x3f0a6d(0xb1)][_0x3f0a6d(0xe9)][_0x3f0a6d(0xca)][_0x3f0a6d(0x116)]=_0x2ceabf,_0x126fd0[_0x3f0a6d(0xff)][_0x3f0a6d(0xb1)][_0x3f0a6d(0xe9)][_0x3f0a6d(0xca)][_0x3f0a6d(0x116)]=_0x2ceabf);}}}catch(_0x57adc9){logger[_0x3f0a6d(0xdb)](_0x3f0a6d(0x107)+util[_0x3f0a6d(0x106)](_0x57adc9));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a35_0xcb56(_0x5e0b73,_0x1be1ce){const _0x287d56=a35_0x287d();return a35_0xcb56=function(_0xcb56b,_0x4085cf){_0xcb56b=_0xcb56b-0xb0;let _0x1bbbe8=_0x287d56[_0xcb56b];return _0x1bbbe8;},a35_0xcb56(_0x5e0b73,_0x1be1ce);}const a35_0x3b8b98=a35_0xcb56;(function(_0x2426bf,_0x1f7b3f){const _0x26b4bf=a35_0xcb56,_0x555fea=_0x2426bf();while(!![]){try{const _0x2ed097=-parseInt(_0x26b4bf(0xf3))/0x1+parseInt(_0x26b4bf(0x106))/0x2+-parseInt(_0x26b4bf(0x10b))/0x3*(-parseInt(_0x26b4bf(0xc4))/0x4)+parseInt(_0x26b4bf(0xc2))/0x5+parseInt(_0x26b4bf(0x122))/0x6+parseInt(_0x26b4bf(0x14e))/0x7*(-parseInt(_0x26b4bf(0xb6))/0x8)+-parseInt(_0x26b4bf(0xbb))/0x9;if(_0x2ed097===_0x1f7b3f)break;else _0x555fea['push'](_0x555fea['shift']());}catch(_0x339c33){_0x555fea['push'](_0x555fea['shift']());}}}(a35_0x287d,0x7b9b5));function a35_0x287d(){const _0xa3dea3=['serializeToYamlString','BROWSERSTACK_TEST_OBSERVABILITY','pRPDT','accessibilityOptions','Playwright\x20process\x20exited\x20with\x20code\x20','filter','mrutg','biSGj','startsWith','NJnez','328765vvRIvj','Error\x20in\x20deleting\x20playwright\x20results','isFalse','liapx','YLTho','split','YMKyv','winstonLogger','.browserstack','CutwY','MSmKf','getPackageType','SEZcN','iAHOa','gSTrl','BROWSERSTACK_SETUP_CONFIG_PATH','get','child_process','util','2024716JwmexZ','logLevel','../../helpers/testhub/utils','unlinkSync','dirname','32262IWXrkt','WPAxb','Umxie','DLWrR','../../helpers/test-observability/utils','oTkiL','env','jBwxw','errorMessage','cwd','Puzmd','BROWSERSTACK_RERUN','--disable-test-observability','Ipdbk','../../helpers/accessibility-automation/helper','homedir','stringify','inherit','IiUjn','../utils/constants','config','filterBrowserstackArgs','USER_CONFIG_DETAILS_PATH','5968668wDWCLV','nOjYU','wvnzZ','platform','push','oklVW','Error\x20in\x20closing\x20playwright','splice','BROWSERSTACK_AUTOMATION','concat','path','initialize','../../helpers/BrowserStackSetup','Kxges','PLAYWRIGHT','../../helpers/test-observability/error-handler','exitCode','pw_result.json','getProxyUrl','WJtAW','debug','win32','slice','true','close','BrowserStack\x20config\x20file\x20not\x20found.','writeFileSync','isUndefined','nestedKeyValue','Error\x20in\x20getting\x20funnel\x20data\x20results','./reporter/pwUtils','automation','argv','--disable-browserstack-automation','skipSessionName','findIndex','testObservability','cIghQ','isTypescriptProject','JBZXQ','MPElc','\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();','../../helpers/test-observability/constants','testContextOptions','6347404AGAQxo','DXPTB','npx','false','playwright-browserstack-sdk.config.cjs','markSDKSetupComplete','oLReY','stop','./accessibility-helper','join','PACKAGE_TYPE','8OGIImk','../../helpers/testhub/testhubHandler','length','--config','Updated\x20config\x20file\x20name\x20to\x20-\x20','15065271cRzFTZ','WYFCx','resolve','KPkqc','AfGOt','assign','oguMo','2795235hlnrag','izYtu','316GUJHva','playwright','unNbo','null','NYyhZ','map','BROWSERSTACK_RERUN_TESTS','UTcAx','GwJAc','TzZSp','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','existsSync','--config=','--grep','../../helpers/helper','parse','HvRBn','Deleting\x20','UDQRK','cliConfig','error','resolvedConfigFile','TXZoy','DnCDV','../../helpers/utilities','WTRQV','getConfigPath','CEGOH','requirePWModule','info','trim','clearTempPWConfig','BROWSERSTACK_PW_CONFIG_DIR','browserstackSetupConfig.json','IifGW','5|6|1|7|0|4|2|8|3'];a35_0x287d=function(){return _0xa3dea3;};return a35_0x287d();}const fs=require('fs'),path=require(a35_0x3b8b98(0x12c)),{spawn}=require(a35_0x3b8b98(0x104)),{format}=require(a35_0x3b8b98(0x105)),logger=require('../../helpers/logger')[a35_0x3b8b98(0xfa)],{default:BrowserStackSetup}=require(a35_0x3b8b98(0x12e)),helper=require(a35_0x3b8b98(0xd3)),utilities=require(a35_0x3b8b98(0xdd)),constants=require(a35_0x3b8b98(0x11e)),{FRAMEWORKS}=require(a35_0x3b8b98(0x14c)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x3b8b98(0x140)),{CrashReporter}=require(a35_0x3b8b98(0x131)),{getFrameworkVersion}=require(a35_0x3b8b98(0x10f)),{checkAccessibilityPlatformConfig}=require(a35_0x3b8b98(0x119)),{setAccessibilityCapabilities}=require(a35_0x3b8b98(0xb3)),TestHubHandler=require(a35_0x3b8b98(0xb7)),{shouldProcessEventForTesthub}=require(a35_0x3b8b98(0x108)),getUserPlaywrightConfig=async(_0x3c22e0,_0x11d4d)=>{const _0x1de3ef=a35_0x3b8b98,_0x259f2e={'cIghQ':function(_0x867f23){return _0x867f23();},'Ipdbk':function(_0x3c05ac,_0x263b6a){return _0x3c05ac(_0x263b6a);},'WYFCx':_0x1de3ef(0xda),'KPkqc':_0x1de3ef(0xd1)},_0x13c6a5=!helper[_0x1de3ef(0x13d)](_0x3c22e0[_0x1de3ef(0x11f)]),_0xf2da1e=_0x13c6a5?path[_0x1de3ef(0xbd)](process[_0x1de3ef(0x114)](),_0x3c22e0[_0x1de3ef(0x11f)]):process[_0x1de3ef(0x114)](),{resolveConfigFile:_0x4d2c7e,resolveConfigLocation:_0x2a7868}=helper[_0x1de3ef(0xe1)]['apply'](null,_0x259f2e[_0x1de3ef(0x147)](getConfigLoaderPath)),_0x4d532b=_0x4d2c7e?_0x259f2e[_0x1de3ef(0x118)](_0x4d2c7e,_0xf2da1e):helper[_0x1de3ef(0x13e)](_0x259f2e[_0x1de3ef(0x118)](_0x2a7868,_0xf2da1e),[_0x259f2e[_0x1de3ef(0xbc)]]),_0x2500c4={};if(_0x13c6a5){const _0x39b5f4=_0x11d4d[_0x1de3ef(0x145)](_0x2a9909=>_0x2a9909==='--config'||_0x2a9909==='-c'||_0x2a9909[_0x1de3ef(0xf1)]('--config='));_0x11d4d[_0x1de3ef(0x129)](_0x39b5f4,_0x11d4d[_0x39b5f4][_0x1de3ef(0xf1)](_0x259f2e[_0x1de3ef(0xbe)])?0x1:0x2);}const _0x56b203={};return _0x56b203['path']=_0x4d532b,_0x56b203[_0x1de3ef(0x11f)]=_0x2500c4,_0x56b203;},handleO11yRerun=_0x21fe14=>{const _0x191596=a35_0x3b8b98,_0x636422={};_0x636422[_0x191596(0x135)]=function(_0x13a600,_0x4db914){return _0x13a600!==_0x4db914;},_0x636422['CutwY']=_0x191596(0xc7),_0x636422[_0x191596(0xf6)]=_0x191596(0xd2);const _0x46d134=_0x636422,_0x1750de=helper['isTrue'](process[_0x191596(0x111)][_0x191596(0x116)]);if(_0x1750de){const _0x22449d=process[_0x191596(0x111)][_0x191596(0xca)],_0x3c20cf=[];if(_0x46d134[_0x191596(0x135)](_0x22449d,_0x46d134[_0x191596(0xfc)])&&!helper[_0x191596(0x13d)](_0x22449d)){_0x22449d[_0x191596(0xf8)](',')[_0x191596(0xc9)](_0x257bcc=>{const _0x155f91=_0x191596;_0x3c20cf['push']('('+_0x257bcc[_0x155f91(0xe3)]()+')');});const _0x34a197='^'+_0x3c20cf['join']('|')+'$';_0x21fe14[_0x191596(0x126)](_0x46d134['liapx'],_0x34a197);}}},spawnOriginalProcess=_0x583dfe=>{const _0x1580ed=a35_0x3b8b98,_0x5ee4e1={'CYkPN':function(_0x1b1570,_0x44de0f,_0x4acd46,_0x3715b3){return _0x1b1570(_0x44de0f,_0x4acd46,_0x3715b3);},'WPAxb':_0x1580ed(0x150),'wvnzZ':_0x1580ed(0xc5),'biSGj':function(_0x5c8137,_0x57825b){return _0x5c8137===_0x57825b;},'pRPDT':'win32','DLWrR':_0x1580ed(0x11c)};_0x5ee4e1['CYkPN'](spawn,_0x5ee4e1[_0x1580ed(0x10c)],[_0x5ee4e1[_0x1580ed(0x124)],..._0x583dfe['slice'](0x1)],{'shell':_0x5ee4e1[_0x1580ed(0xf0)](process['platform'],_0x5ee4e1[_0x1580ed(0xeb)]),'stdio':_0x5ee4e1[_0x1580ed(0x10e)],'cwd':process[_0x1580ed(0x114)]()});},isTestCommand=(_0x4fade6,_0x230809)=>{const _0x5e7210=a35_0x3b8b98,_0x113d6d={};_0x113d6d[_0x5e7210(0x112)]=function(_0x26d312,_0x2ef965){return _0x26d312>_0x2ef965;},_0x113d6d['oLReY']=function(_0xe27b59,_0x3b5f17){return _0xe27b59===_0x3b5f17;},_0x113d6d['gSTrl']='test';const _0x1bec06=_0x113d6d;if(_0x1bec06[_0x5e7210(0x112)](_0x230809[_0x5e7210(0xb8)],0x1)&&_0x1bec06[_0x5e7210(0xb1)](_0x230809[0x1],_0x1bec06[_0x5e7210(0x101)]))return!![];return![];};async function run(_0x3ed214,_0x1bddca){const _0x3e8b42=a35_0x3b8b98,_0xf36c95={'oTkiL':_0x3e8b42(0xfb),'DnCDV':_0x3e8b42(0x133),'iAHOa':function(_0x56696,_0x4404ed){return _0x56696+_0x4404ed;},'oklVW':_0x3e8b42(0x13f),'CEGOH':_0x3e8b42(0xe8),'GwJAc':function(_0x303092){return _0x303092();},'unNbo':function(_0x5197ee,_0x1a0fb2){return _0x5197ee+_0x1a0fb2;},'DXPTB':_0x3e8b42(0x128),'PQhbX':'--disable-browserstack-automation','UTcAx':_0x3e8b42(0x151),'Puzmd':_0x3e8b42(0x117),'JBZXQ':function(_0x3bf4fa,_0x56a8c8){return _0x3bf4fa>=_0x56a8c8;},'MSmKf':function(_0x11460a,_0x2d114e){return _0x11460a+_0x2d114e;},'WTRQV':_0x3e8b42(0xf4),'Umxie':function(_0x57427b,_0x5d5969,_0x4e18a5){return _0x57427b(_0x5d5969,_0x4e18a5);},'YMKyv':function(_0x2b0ba6,_0x44a26a){return _0x2b0ba6(_0x44a26a);},'NJnez':_0x3e8b42(0x13b),'MPElc':_0x3e8b42(0x141),'mmJxD':function(_0x244f14,_0x442037){return _0x244f14!=_0x442037;},'IifGW':function(_0x2ad781,_0x16751b){return _0x2ad781(_0x16751b);},'HvRBn':function(_0x583b69,_0xe994df){return _0x583b69===_0xe994df;},'Kxges':_0x3e8b42(0x139),'NYyhZ':_0x3e8b42(0xe6),'IiUjn':_0x3e8b42(0x152),'IdphS':'playwright-browserstack-sdk.config.js','rktcc':function(_0x2a8c4b,_0x42fd2f){return _0x2a8c4b-_0x42fd2f;},'AfGOt':function(_0x314e51,_0x53a0a7){return _0x314e51+_0x53a0a7;},'TXZoy':_0x3e8b42(0xba),'mrutg':function(_0x4997d8,_0x333455){return _0x4997d8>_0x333455;},'nOjYU':function(_0x306c11,_0x2e3f43,_0x55f3a3,_0x34d816){return _0x306c11(_0x2e3f43,_0x55f3a3,_0x34d816);},'SghaL':_0x3e8b42(0x150),'UDQRK':_0x3e8b42(0xc5),'oguMo':'test','izYtu':_0x3e8b42(0xb9),'YLTho':function(_0x502173,_0x41ba7b){return _0x502173===_0x41ba7b;},'TzZSp':_0x3e8b42(0x137),'oZLxg':'inherit','SEZcN':_0x3e8b42(0x13a)};!helper[_0x3e8b42(0xf5)](process[_0x3e8b42(0x111)][_0x3e8b42(0x12a)])&&(process[_0x3e8b42(0x111)][_0x3e8b42(0x12a)]=!![]);process[_0x3e8b42(0x142)]['includes'](_0xf36c95['PQhbX'])&&(process['env'][_0x3e8b42(0x12a)]=_0xf36c95[_0x3e8b42(0xcb)],_0x1bddca=_0x1bddca[_0x3e8b42(0xee)](_0x7c6e51=>_0x7c6e51!==_0x3e8b42(0x143)));const _0x4baebf=_0x1bddca['indexOf'](_0xf36c95[_0x3e8b42(0x115)]);_0xf36c95[_0x3e8b42(0x149)](_0x4baebf,0x0)&&(process[_0x3e8b42(0x111)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0xf36c95[_0x3e8b42(0xcb)],_0x1bddca=_0x1bddca['filter'](_0x56baa4=>_0x56baa4!==_0x3e8b42(0x117)));try{const _0x1fd91a=path['join'](helper[_0x3e8b42(0x11a)](),_0xf36c95[_0x3e8b42(0x110)],_0xf36c95[_0x3e8b42(0xdc)]);fs[_0x3e8b42(0xd0)](_0x1fd91a)&&fs['unlinkSync'](_0x1fd91a);}catch(_0x54ab9a){logger[_0x3e8b42(0x136)](_0xf36c95[_0x3e8b42(0xfd)](_0xf36c95[_0x3e8b42(0xde)],_0x54ab9a));}if(!_0xf36c95['Umxie'](isTestCommand,_0x3ed214,_0x1bddca)){_0xf36c95['YMKyv'](spawnOriginalProcess,_0x1bddca);return;}const _0x37b9b4=new BrowserStackSetup(_0x3ed214,FRAMEWORKS['PLAYWRIGHT']);if(!_0x37b9b4[_0x3e8b42(0x11f)]){logger[_0x3e8b42(0xd9)](_0xf36c95[_0x3e8b42(0xf2)]);return;}await _0x37b9b4[_0x3e8b42(0x12d)]();!helper[_0x3e8b42(0x13d)](_0x37b9b4[_0x3e8b42(0xd8)])&&_0x37b9b4[_0x3e8b42(0xd8)]['has'](_0xf36c95['MPElc'])&&(process[_0x3e8b42(0x111)][_0x3e8b42(0x12a)]=_0x37b9b4[_0x3e8b42(0xd8)][_0x3e8b42(0x103)](_0xf36c95[_0x3e8b42(0x14a)])||!![]);_0xf36c95['mmJxD'](_0x37b9b4['config'][_0x3e8b42(0x146)],null)&&!helper['isTrue'](process[_0x3e8b42(0x111)][_0x3e8b42(0xea)])&&(process[_0x3e8b42(0x111)][_0x3e8b42(0xea)]=process[_0x3e8b42(0x111)][_0x3e8b42(0xea)]||_0x37b9b4['config'][_0x3e8b42(0x146)]);const _0x561108=!helper[_0x3e8b42(0xf5)](process[_0x3e8b42(0x111)][_0x3e8b42(0xea)]);let _0x2e6ffb=![];_0x37b9b4[_0x3e8b42(0x11f)]['accessibility']&&(_0x2e6ffb=!![],process[_0x3e8b42(0x111)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x37b9b4['config']['accessibility']);_0x37b9b4[_0x3e8b42(0x11f)][_0x3e8b42(0xec)]&&(process[_0x3e8b42(0x111)][_0x3e8b42(0xcf)]=JSON[_0x3e8b42(0x11b)](_0x37b9b4[_0x3e8b42(0x11f)][_0x3e8b42(0xec)]));const _0x2ec73a=_0x1bddca[_0x3e8b42(0x12b)](),_0x5ecda3=await _0xf36c95[_0x3e8b42(0x10d)](getUserPlaywrightConfig,_0x3ed214,_0x1bddca);if(helper['isUndefined'](_0x5ecda3)){_0xf36c95[_0x3e8b42(0xe7)](spawnOriginalProcess,_0x2ec73a);return;}const _0x138918=_0x5ecda3[_0x3e8b42(0x12c)]?path[_0x3e8b42(0x10a)](_0x5ecda3[_0x3e8b42(0x12c)]):process[_0x3e8b42(0x114)]();process[_0x3e8b42(0x111)][_0x3e8b42(0xe5)]=_0x138918,await TestHubHandler['launchBuild'](FRAMEWORKS[_0x3e8b42(0x130)],_0x37b9b4);_0x561108&&_0xf36c95[_0x3e8b42(0xf9)](handleO11yRerun,_0x1bddca);let _0x3514b5=_0xf36c95['HvRBn'](process[_0x3e8b42(0x111)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0xf36c95[_0x3e8b42(0x12f)]);_0x3514b5=_0x3514b5||_0xf36c95['YMKyv'](checkAccessibilityPlatformConfig,_0x37b9b4[_0x3e8b42(0x11f)]),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x3514b5;_0x3514b5&&_0xf36c95[_0x3e8b42(0xe7)](setAccessibilityCapabilities,_0x37b9b4['config']);const _0x27e57b=path['join'](_0x5ecda3['path']?path[_0x3e8b42(0x10a)](_0x5ecda3[_0x3e8b42(0x12c)]):process['cwd'](),_0xf36c95[_0x3e8b42(0xc8)]);fs[_0x3e8b42(0x13c)](_0x27e57b,helper[_0x3e8b42(0xe9)](_0x37b9b4[_0x3e8b42(0x11f)])),process[_0x3e8b42(0x111)][_0x3e8b42(0x102)]=_0x27e57b,helper[_0x3e8b42(0xe4)]();let _0xf8985='';_0xf36c95[_0x3e8b42(0xd5)](helper[_0x3e8b42(0xfe)](),constants[_0x3e8b42(0xb5)]['MODULE'])?_0xf8985=_0xf36c95[_0x3e8b42(0x11d)]:_0xf8985=_0xf36c95['IdphS'];let _0x55c2b6='';if(helper[_0x3e8b42(0x148)](_0x5ecda3[_0x3e8b42(0x12c)])){_0x55c2b6=_0x3e8b42(0xce);const _0x20cbc9=_0xf8985[_0x3e8b42(0xf8)]('.');_0x20cbc9[_0xf36c95['rktcc'](_0x20cbc9[_0x3e8b42(0xb8)],0x1)]='ts',_0xf8985=_0x20cbc9[_0x3e8b42(0xb4)]('.'),logger[_0x3e8b42(0x136)](_0xf36c95[_0x3e8b42(0xbf)](_0xf36c95[_0x3e8b42(0xdb)],_0xf8985));}else _0x55c2b6='\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 _0x3d3311=path[_0x3e8b42(0xb4)](_0x5ecda3[_0x3e8b42(0x12c)]?path[_0x3e8b42(0x10a)](_0x5ecda3[_0x3e8b42(0x12c)]):process['cwd'](),_0xf8985);let _0x4f230a=_0x5ecda3[_0x3e8b42(0x12c)]?_0x5ecda3[_0x3e8b42(0x12c)]:'';_0x4f230a=_0xf36c95[_0x3e8b42(0xef)](_0x4f230a[_0x3e8b42(0xb8)],0x0)?path[_0x3e8b42(0xbd)](_0x4f230a):'',process[_0x3e8b42(0x111)][_0x3e8b42(0x121)]=_0x4f230a;const _0x563cc1=helper[_0x3e8b42(0x134)](_0x37b9b4['config']);_0x563cc1&&(_0x55c2b6=_0xf36c95[_0x3e8b42(0xc6)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x563cc1+_0x3e8b42(0x14b),_0x55c2b6));helper[_0x3e8b42(0x120)]({},_0x1bddca),fs[_0x3e8b42(0x13c)](_0x3d3311,_0x55c2b6),helper[_0x3e8b42(0xb0)]();const _0x1d2cee=_0xf36c95[_0x3e8b42(0x123)](spawn,_0xf36c95['SghaL'],[_0xf36c95[_0x3e8b42(0xd7)],_0xf36c95[_0x3e8b42(0xc1)],_0xf36c95[_0x3e8b42(0xc3)],_0x3d3311,..._0x1bddca[_0x3e8b42(0x138)](0x2)],{'shell':_0xf36c95[_0x3e8b42(0xf7)](process[_0x3e8b42(0x125)],_0xf36c95[_0x3e8b42(0xcd)]),'stdio':_0xf36c95['oZLxg'],'cwd':process['cwd'](),'env':Object[_0x3e8b42(0xc0)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x3e8b42(0xdf)](_0x3ed214),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x37b9b4[_0x3e8b42(0x11f)][_0x3e8b42(0x14d)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x37b9b4['config'][_0x3e8b42(0x14d)][_0x3e8b42(0x144)],'BROWSERSTACK_LOG_LEVEL':_0x37b9b4[_0x3e8b42(0x11f)][_0x3e8b42(0x107)]})}),_0x52ff2=()=>{const _0x3965d1=_0x3e8b42;try{const _0x363f26=path[_0x3965d1(0xb4)](helper['homedir'](),_0xf36c95[_0x3965d1(0x110)],_0xf36c95[_0x3965d1(0xdc)]);if(fs[_0x3965d1(0xd0)](_0x363f26)){let _0xd6abc6=fs['readFileSync'](_0x363f26);_0xd6abc6=JSON[_0x3965d1(0xd4)](_0xd6abc6),_0x37b9b4[_0x3965d1(0x113)]=_0xd6abc6,fs[_0x3965d1(0x109)](_0x363f26);}}catch(_0x219f71){logger[_0x3965d1(0x136)](_0xf36c95[_0x3965d1(0x100)](_0xf36c95[_0x3965d1(0x127)],_0x219f71));}};_0x1d2cee['on'](_0xf36c95[_0x3e8b42(0xff)],async _0x4571ba=>{const _0x5965ac=_0x3e8b42;try{const _0x3fbe66=_0xf36c95[_0x5965ac(0xe0)][_0x5965ac(0xf8)]('|');let _0x3adebd=0x0;while(!![]){switch(_0x3fbe66[_0x3adebd++]){case'0':logger[_0x5965ac(0x136)](_0x5965ac(0xed)+_0x4571ba);continue;case'1':await utilities['finalExecution'](_0x37b9b4);continue;case'2':fs[_0x5965ac(0x109)](_0x3d3311);continue;case'3':fs[_0x5965ac(0x109)](_0x27e57b);continue;case'4':logger[_0x5965ac(0xe2)](_0x5965ac(0xd6)+_0x3d3311);continue;case'5':_0xf36c95[_0x5965ac(0xcc)](_0x52ff2);continue;case'6':await TestHubHandler[_0x5965ac(0xb2)]();continue;case'7':process[_0x5965ac(0x132)]=_0x4571ba;continue;case'8':logger[_0x5965ac(0x136)](_0x5965ac(0xd6)+_0x27e57b);continue;}break;}}catch(_0x43b6a1){logger[_0x5965ac(0x136)](_0xf36c95[_0x5965ac(0xc6)](_0xf36c95[_0x5965ac(0x14f)],_0x43b6a1));}});}module['exports']=run;
2
+ 'use strict';const a35_0x5be83e=a35_0x390e;(function(_0x597b5e,_0xffd613){const _0x2553ce=a35_0x390e,_0x1acc98=_0x597b5e();while(!![]){try{const _0x39ecef=parseInt(_0x2553ce(0x1a0))/0x1+parseInt(_0x2553ce(0x186))/0x2+parseInt(_0x2553ce(0x12e))/0x3*(-parseInt(_0x2553ce(0x117))/0x4)+parseInt(_0x2553ce(0x191))/0x5+-parseInt(_0x2553ce(0x111))/0x6+-parseInt(_0x2553ce(0x1a8))/0x7*(-parseInt(_0x2553ce(0x124))/0x8)+parseInt(_0x2553ce(0x183))/0x9*(-parseInt(_0x2553ce(0x11c))/0xa);if(_0x39ecef===_0xffd613)break;else _0x1acc98['push'](_0x1acc98['shift']());}catch(_0x4d8900){_0x1acc98['push'](_0x1acc98['shift']());}}}(a35_0x1289,0xcf4c0));function a35_0x1289(){const _0x5d182f=['DPXdO','JGjth','--disable-test-observability','cLjNE','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','isTrue','error','rtcBn','eBpoH','path','assign','QwmOq','USER_CONFIG_DETAILS_PATH','win32','SDK_POST_INITIALIZE','slice','gcPsc','nestedKeyValue','UpVzM','Playwright\x20process\x20exited\x20with\x20code\x20','npx','resolve','parse','9lhFNUH','BROWSERSTACK_RERUN','Error\x20in\x20getting\x20funnel\x20data\x20results','1515868ClsdEk','false','has','WzktG','hUiWG','LtTXY','--config','EVENTS','BROWSERSTACK_TEST_ACCESSIBILITY_YML','SDK_PRE_INITIALIZE','iaeac','7178290yUpaAV','env','uOWHe','playwright-browserstack-sdk.config.cjs','inherit','errorMessage','exports','automation','uXugK','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','close','nhHzA','config','DcKVF','PrHcl','1387379AZDIny','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','SDK_CLEANUP','BROWSERSTACK_RERUN_TESTS','serializeToYamlString','VscwE','Nerum','qwBoy','918974MNSaEj','--config=','push','resolvedConfigFile','blesN','getPackageType','cliConfig','lQQFH','XAMqt','accessibility','stringify','winstonLogger','10087692JfISZu','BROWSERSTACK_AUTOMATION','homedir','writeFileSync','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/accessibility-automation/helper','20RJBAnF','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','playwright-browserstack-sdk.config.js','skipSessionName','kFyNx','10386970LbbFqs','Kwzoh','logLevel','../../helpers/test-observability/constants','./reporter/pwUtils','--disable-browserstack-automation','exitCode','includes','24dWaXkh','getConfigPath','isUndefined','testContextOptions','info','child_process','argv','measureWrapper','clearTempPWConfig','RoBFZ','243450MxlCiQ','tSkXm','PLAYWRIGHT','GCJlF','accessibilityOptions','existsSync','wRDOa','concat','Error\x20in\x20deleting\x20playwright\x20results','BROWSERSTACK_PW_CONFIG_DIR','BROWSERSTACK_SETUP_CONFIG_PATH','test','length','PqyPW','../../helpers/logger','BRDqe','dvXcw','findIndex','platform','GCaJm','../../helpers/helper','eJPdx','launchBuild','BrowserStack\x20config\x20file\x20not\x20found.','.browserstack','map','EJDwt','Deleting\x20','dmLoY','startsWith','dDEFS','split','get','DlCsc','ZKecP','aCIHZ','VZwVg','Fgpvn','debug','requirePWModule','../../helpers/utilities','stop','skipSessionStatus','jbrJf','splice','../../helpers/testhub/testhubHandler','getProxyUrl','cwd','EhUBd','browserstackSetupConfig.json','filter','unlinkSync','RPvEH','dirname','playwright','../utils/constants','SDK_SETUP','./accessibility-helper','indexOf','join','true','UyYuV'];a35_0x1289=function(){return _0x5d182f;};return a35_0x1289();}const fs=require('fs'),path=require('path'),{spawn}=require(a35_0x5be83e(0x129)),{format}=require('util'),logger=require(a35_0x5be83e(0x13c))[a35_0x5be83e(0x110)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a35_0x5be83e(0x142)),utilities=require(a35_0x5be83e(0x156)),constants=require(a35_0x5be83e(0x165)),{FRAMEWORKS}=require(a35_0x5be83e(0x11f)),{getConfigLoaderPath}=require(a35_0x5be83e(0x120)),{checkAccessibilityPlatformConfig}=require(a35_0x5be83e(0x116)),{setAccessibilityCapabilities}=require(a35_0x5be83e(0x167)),TestHubHandler=require(a35_0x5be83e(0x15b)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')[a35_0x5be83e(0x18d)],getUserPlaywrightConfig=async(_0x5a86eb,_0x445144)=>{const _0x2168bc=a35_0x5be83e,_0x39881a={'VscwE':function(_0x3a3a2b){return _0x3a3a2b();},'eBpoH':function(_0x38d57b,_0xbfa528){return _0x38d57b(_0xbfa528);},'tSkXm':_0x2168bc(0x108),'WzktG':_0x2168bc(0x1a9)},_0x25e3d3=!helper[_0x2168bc(0x126)](_0x5a86eb[_0x2168bc(0x19d)]),_0x46d4ad=_0x25e3d3?path[_0x2168bc(0x181)](process[_0x2168bc(0x15d)](),_0x5a86eb['config']):process['cwd'](),{resolveConfigFile:_0x1fff6d,resolveConfigLocation:_0x41a3a7}=helper[_0x2168bc(0x155)]['apply'](null,_0x39881a[_0x2168bc(0x1a5)](getConfigLoaderPath)),_0x5d3612=_0x1fff6d?_0x39881a[_0x2168bc(0x174)](_0x1fff6d,_0x46d4ad):helper[_0x2168bc(0x17d)](_0x39881a[_0x2168bc(0x174)](_0x41a3a7,_0x46d4ad),[_0x39881a[_0x2168bc(0x12f)]]),_0xb2b42a={};if(_0x25e3d3){const _0xd0c0fe=_0x445144[_0x2168bc(0x13f)](_0x5b3e55=>_0x5b3e55===_0x2168bc(0x18c)||_0x5b3e55==='-c'||_0x5b3e55['startsWith'](_0x2168bc(0x1a9)));_0x445144[_0x2168bc(0x15a)](_0xd0c0fe,_0x445144[_0xd0c0fe][_0x2168bc(0x14b)](_0x39881a[_0x2168bc(0x189)])?0x1:0x2);}const _0x5a5258={};return _0x5a5258[_0x2168bc(0x175)]=_0x5d3612,_0x5a5258['config']=_0xb2b42a,_0x5a5258;},handleO11yRerun=_0x49878c=>{const _0x36dce1=a35_0x5be83e,_0x595a33={};_0x595a33['hUiWG']=function(_0x59076e,_0x4beeff){return _0x59076e!==_0x4beeff;},_0x595a33[_0x36dce1(0x159)]='null',_0x595a33[_0x36dce1(0x1a6)]='--grep';const _0x1bd06c=_0x595a33,_0x4bdee8=helper[_0x36dce1(0x171)](process[_0x36dce1(0x192)][_0x36dce1(0x184)]);if(_0x4bdee8){const _0x26b0c5=process[_0x36dce1(0x192)][_0x36dce1(0x1a3)],_0x26b74e=[];if(_0x1bd06c[_0x36dce1(0x18a)](_0x26b0c5,_0x1bd06c[_0x36dce1(0x159)])&&!helper[_0x36dce1(0x126)](_0x26b0c5)){_0x26b0c5[_0x36dce1(0x14d)](',')[_0x36dce1(0x147)](_0x41cba6=>{const _0x281660=_0x36dce1;_0x26b74e[_0x281660(0x107)]('('+_0x41cba6['trim']()+')');});const _0x146261='^'+_0x26b74e[_0x36dce1(0x169)]('|')+'$';_0x49878c[_0x36dce1(0x107)](_0x1bd06c[_0x36dce1(0x1a6)],_0x146261);}}},spawnOriginalProcess=_0x509c2e=>{const _0x193030=a35_0x5be83e,_0x3e1d9b={'RoBFZ':function(_0x5489ee,_0x167f5b,_0x45fe00,_0x58b372){return _0x5489ee(_0x167f5b,_0x45fe00,_0x58b372);},'UyYuV':'npx','XMlRU':'playwright','lqMWG':function(_0x352c49,_0x13c511){return _0x352c49===_0x13c511;},'oPekJ':_0x193030(0x179),'kFyNx':_0x193030(0x195)};_0x3e1d9b[_0x193030(0x12d)](spawn,_0x3e1d9b[_0x193030(0x16b)],[_0x3e1d9b['XMlRU'],..._0x509c2e[_0x193030(0x17b)](0x1)],{'shell':_0x3e1d9b['lqMWG'](process['platform'],_0x3e1d9b['oPekJ']),'stdio':_0x3e1d9b[_0x193030(0x11b)],'cwd':process[_0x193030(0x15d)]()});},isTestCommand=(_0x433fe3,_0x18d87a)=>{const _0x41aa19=a35_0x5be83e,_0x264a0a={};_0x264a0a[_0x41aa19(0x17c)]=function(_0x574a36,_0x3d8c35){return _0x574a36>_0x3d8c35;},_0x264a0a['rtcBn']=function(_0x14d058,_0x4ac3ad){return _0x14d058===_0x4ac3ad;},_0x264a0a['UpVzM']='test';const _0x2599b9=_0x264a0a;if(_0x2599b9[_0x41aa19(0x17c)](_0x18d87a['length'],0x1)&&_0x2599b9[_0x41aa19(0x173)](_0x18d87a[0x1],_0x2599b9[_0x41aa19(0x17e)]))return!![];return![];};async function run(_0x1e87a3,_0x5232c1){const _0x22ed5f=a35_0x5be83e,_0x105c36={'QwmOq':_0x22ed5f(0x146),'DcKVF':'pw_result.json','DlCsc':function(_0x5f1c71,_0x282626){return _0x5f1c71+_0x282626;},'LtTXY':_0x22ed5f(0x185),'aCIHZ':'1|6|7|9|2|0|4|8|3|5','JGjth':function(_0x50d915){return _0x50d915();},'dmLoY':function(_0x2fb6f5,_0x1a015d){return _0x2fb6f5+_0x1a015d;},'qwBoy':'Error\x20in\x20closing\x20playwright','nhHzA':function(_0x1aa503,_0x432baf){return _0x1aa503(_0x432baf);},'Kwzoh':_0x22ed5f(0x145),'GCaJm':_0x22ed5f(0x198),'pfsFI':function(_0x3fef7c,_0x171ae6){return _0x3fef7c!=_0x171ae6;},'XAMqt':function(_0x19f1a7,_0x2a930e,_0x4c392d){return _0x19f1a7(_0x2a930e,_0x4c392d);},'Fgpvn':function(_0x1bb4ec,_0x218f1b){return _0x1bb4ec===_0x218f1b;},'cLjNE':_0x22ed5f(0x16a),'ZKecP':function(_0xb6353d,_0x1174ae){return _0xb6353d(_0x1174ae);},'DPXdO':_0x22ed5f(0x15f),'EhUBd':_0x22ed5f(0x194),'ktFsy':_0x22ed5f(0x119),'OPAKd':function(_0x292091,_0xb01c92){return _0x292091-_0xb01c92;},'eJPdx':function(_0x54daf8,_0x1844fb){return _0x54daf8+_0x1844fb;},'wRDOa':'Updated\x20config\x20file\x20name\x20to\x20-\x20','dDEFS':function(_0x2a8b9f,_0x1dffe5){return _0x2a8b9f>_0x1dffe5;},'EJDwt':function(_0x1b07e5,_0x3fd9f0){return _0x1b07e5+_0x3fd9f0;},'blesN':function(_0x290fde,_0x19858a,_0x3ecf47,_0xef39aa){return _0x290fde(_0x19858a,_0x3ecf47,_0xef39aa);},'MLEMn':_0x22ed5f(0x180),'GCJlF':_0x22ed5f(0x164),'ASdts':_0x22ed5f(0x139),'iaeac':_0x22ed5f(0x18c),'VZwVg':function(_0x20ff33,_0x1becf4){return _0x20ff33===_0x1becf4;},'lQQFH':_0x22ed5f(0x179),'RPvEH':_0x22ed5f(0x195),'knAMq':_0x22ed5f(0x19b),'uOWHe':_0x22ed5f(0x121),'FunkN':_0x22ed5f(0x187),'PqyPW':_0x22ed5f(0x16e),'dvXcw':function(_0x363b73,_0x58f429){return _0x363b73>=_0x58f429;},'uXugK':_0x22ed5f(0x136),'PrHcl':function(_0x36e2b5,_0x504cfe){return _0x36e2b5(_0x504cfe);}};!helper['isFalse'](process[_0x22ed5f(0x192)][_0x22ed5f(0x112)])&&(process['env'][_0x22ed5f(0x112)]=!![]);process[_0x22ed5f(0x12a)][_0x22ed5f(0x123)](_0x105c36[_0x22ed5f(0x193)])&&(process[_0x22ed5f(0x192)][_0x22ed5f(0x112)]=_0x105c36['FunkN'],_0x5232c1=_0x5232c1[_0x22ed5f(0x160)](_0x3899da=>_0x3899da!==_0x22ed5f(0x121)));const _0xf393de=_0x5232c1[_0x22ed5f(0x168)](_0x105c36[_0x22ed5f(0x13b)]);_0x105c36[_0x22ed5f(0x13e)](_0xf393de,0x0)&&(process['env'][_0x22ed5f(0x115)]=_0x105c36['FunkN'],_0x5232c1=_0x5232c1['filter'](_0x1beaf1=>_0x1beaf1!=='--disable-test-observability'));try{const _0x4f2254=path['join'](helper[_0x22ed5f(0x113)](),_0x105c36[_0x22ed5f(0x177)],_0x105c36[_0x22ed5f(0x19e)]);fs[_0x22ed5f(0x133)](_0x4f2254)&&fs['unlinkSync'](_0x4f2254);}catch(_0x4ba171){logger[_0x22ed5f(0x154)](_0x105c36[_0x22ed5f(0x14f)](_0x105c36[_0x22ed5f(0x199)],_0x4ba171));}if(!_0x105c36['XAMqt'](isTestCommand,_0x1e87a3,_0x5232c1)){_0x105c36[_0x22ed5f(0x19f)](spawnOriginalProcess,_0x5232c1);return;}const _0x4c07c5=new BrowserStackSetup(_0x1e87a3,FRAMEWORKS[_0x22ed5f(0x130)]);await PerformanceTester[_0x22ed5f(0x12b)](PerformanceEvents[_0x22ed5f(0x18f)],async()=>{const _0x258731=_0x22ed5f,_0x3d8a9b={'BRDqe':function(_0x5f00d7,_0x2efe33){const _0x54243f=a35_0x390e;return _0x105c36[_0x54243f(0x19c)](_0x5f00d7,_0x2efe33);}};if(!_0x4c07c5[_0x258731(0x19d)]){logger[_0x258731(0x172)](_0x105c36[_0x258731(0x11d)]);return;}await _0x4c07c5['initialize']();!helper[_0x258731(0x126)](_0x4c07c5[_0x258731(0x10b)])&&_0x4c07c5['cliConfig'][_0x258731(0x188)](_0x105c36[_0x258731(0x141)])&&(process[_0x258731(0x192)][_0x258731(0x112)]=_0x4c07c5[_0x258731(0x10b)][_0x258731(0x14e)](_0x105c36[_0x258731(0x141)])||!![]);_0x105c36['pfsFI'](_0x4c07c5['config']['testObservability'],null)&&!helper[_0x258731(0x171)](process[_0x258731(0x192)][_0x258731(0x115)])&&(process[_0x258731(0x192)][_0x258731(0x115)]=process[_0x258731(0x192)][_0x258731(0x115)]||_0x4c07c5['config']['testObservability']);const _0xafb504=!helper['isFalse'](process[_0x258731(0x192)][_0x258731(0x115)]);let _0x45d4a7=![];_0x4c07c5['config'][_0x258731(0x10e)]&&(_0x45d4a7=!![],process[_0x258731(0x192)][_0x258731(0x18e)]=_0x4c07c5[_0x258731(0x19d)][_0x258731(0x10e)]);_0x4c07c5[_0x258731(0x19d)][_0x258731(0x132)]&&(process[_0x258731(0x192)][_0x258731(0x1a1)]=JSON[_0x258731(0x10f)](_0x4c07c5[_0x258731(0x19d)]['accessibilityOptions']));const _0x50dcbc=_0x5232c1[_0x258731(0x135)](),_0x135305=await _0x105c36[_0x258731(0x10d)](getUserPlaywrightConfig,_0x1e87a3,_0x5232c1);if(helper[_0x258731(0x126)](_0x135305)){_0x105c36[_0x258731(0x19c)](spawnOriginalProcess,_0x50dcbc);return;}const _0x36310d=_0x135305['path']?path[_0x258731(0x163)](_0x135305['path']):process[_0x258731(0x15d)]();process['env'][_0x258731(0x137)]=_0x36310d,await PerformanceTester[_0x258731(0x12b)](PerformanceEvents[_0x258731(0x17a)],async()=>{const _0x273d9e=_0x258731;await TestHubHandler[_0x273d9e(0x144)](FRAMEWORKS[_0x273d9e(0x130)],_0x4c07c5),_0xafb504&&_0x3d8a9b[_0x273d9e(0x13d)](handleO11yRerun,_0x5232c1);})();let _0x38b05e=_0x105c36[_0x258731(0x153)](process['env'][_0x258731(0x18e)],_0x105c36[_0x258731(0x16f)]);_0x38b05e=_0x38b05e||_0x105c36[_0x258731(0x150)](checkAccessibilityPlatformConfig,_0x4c07c5['config']),process[_0x258731(0x192)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x38b05e;_0x38b05e&&_0x105c36[_0x258731(0x19c)](setAccessibilityCapabilities,_0x4c07c5[_0x258731(0x19d)]);const _0x12592a=path[_0x258731(0x169)](_0x135305[_0x258731(0x175)]?path[_0x258731(0x163)](_0x135305[_0x258731(0x175)]):process[_0x258731(0x15d)](),_0x105c36[_0x258731(0x16c)]);fs['writeFileSync'](_0x12592a,helper[_0x258731(0x1a4)](_0x4c07c5['config'])),process[_0x258731(0x192)][_0x258731(0x138)]=_0x12592a,helper[_0x258731(0x12c)]();let _0x2f413c='';_0x105c36[_0x258731(0x153)](helper[_0x258731(0x10a)](),constants['PACKAGE_TYPE']['MODULE'])?_0x2f413c=_0x105c36[_0x258731(0x15e)]:_0x2f413c=_0x105c36['ktFsy'];let _0x383dd2='';if(helper['isTypescriptProject'](_0x135305[_0x258731(0x175)])){_0x383dd2=_0x258731(0x19a);const _0x594a26=_0x2f413c[_0x258731(0x14d)]('.');_0x594a26[_0x105c36['OPAKd'](_0x594a26['length'],0x1)]='ts',_0x2f413c=_0x594a26[_0x258731(0x169)]('.'),logger['debug'](_0x105c36[_0x258731(0x143)](_0x105c36[_0x258731(0x134)],_0x2f413c));}else _0x383dd2=_0x258731(0x118);const _0x41d5fc=path[_0x258731(0x169)](_0x135305[_0x258731(0x175)]?path['dirname'](_0x135305[_0x258731(0x175)]):process[_0x258731(0x15d)](),_0x2f413c);let _0x175fed=_0x135305['path']?_0x135305[_0x258731(0x175)]:'';_0x175fed=_0x105c36[_0x258731(0x14c)](_0x175fed[_0x258731(0x13a)],0x0)?path[_0x258731(0x181)](_0x175fed):'',process[_0x258731(0x192)][_0x258731(0x178)]=_0x175fed;const _0xf303aa=helper[_0x258731(0x15c)](_0x4c07c5['config']);_0xf303aa&&(_0x383dd2=_0x105c36[_0x258731(0x148)](_0x258731(0x170)+_0xf303aa+'\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();',_0x383dd2));helper['filterBrowserstackArgs']({},_0x5232c1),fs[_0x258731(0x114)](_0x41d5fc,_0x383dd2),PerformanceTester['end'](PerformanceEvents[_0x258731(0x166)]);const _0xa15e37=_0x105c36[_0x258731(0x109)](spawn,_0x105c36['MLEMn'],[_0x105c36[_0x258731(0x131)],_0x105c36['ASdts'],_0x105c36[_0x258731(0x190)],_0x41d5fc,..._0x5232c1[_0x258731(0x17b)](0x2)],{'shell':_0x105c36[_0x258731(0x152)](process[_0x258731(0x140)],_0x105c36[_0x258731(0x10c)]),'stdio':_0x105c36[_0x258731(0x162)],'cwd':process[_0x258731(0x15d)](),'env':Object[_0x258731(0x176)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x258731(0x125)](_0x1e87a3),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x4c07c5[_0x258731(0x19d)][_0x258731(0x127)][_0x258731(0x158)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x4c07c5[_0x258731(0x19d)][_0x258731(0x127)][_0x258731(0x11a)],'BROWSERSTACK_LOG_LEVEL':_0x4c07c5[_0x258731(0x19d)][_0x258731(0x11e)]})}),_0x116829=()=>{const _0x51c73d=_0x258731;try{const _0x2cea25=path[_0x51c73d(0x169)](helper[_0x51c73d(0x113)](),_0x105c36[_0x51c73d(0x177)],_0x105c36[_0x51c73d(0x19e)]);if(fs[_0x51c73d(0x133)](_0x2cea25)){let _0x1a54cc=fs['readFileSync'](_0x2cea25);_0x1a54cc=JSON[_0x51c73d(0x182)](_0x1a54cc),_0x4c07c5[_0x51c73d(0x196)]=_0x1a54cc,fs[_0x51c73d(0x161)](_0x2cea25);}}catch(_0x1e69fe){logger[_0x51c73d(0x154)](_0x105c36['DlCsc'](_0x105c36[_0x51c73d(0x18b)],_0x1e69fe));}};_0xa15e37['on'](_0x105c36['knAMq'],async _0x1bac94=>{const _0x574350=_0x258731;try{const _0x507dd5=_0x105c36[_0x574350(0x151)]['split']('|');let _0x23bbda=0x0;while(!![]){switch(_0x507dd5[_0x23bbda++]){case'0':logger[_0x574350(0x154)](_0x574350(0x17f)+_0x1bac94);continue;case'1':PerformanceTester['start'](PerformanceEvents[_0x574350(0x1a2)]);continue;case'2':process[_0x574350(0x122)]=_0x1bac94;continue;case'3':logger[_0x574350(0x154)](_0x574350(0x149)+_0x12592a);continue;case'4':logger[_0x574350(0x128)](_0x574350(0x149)+_0x41d5fc);continue;case'5':fs[_0x574350(0x161)](_0x12592a);continue;case'6':_0x105c36[_0x574350(0x16d)](_0x116829);continue;case'7':await TestHubHandler[_0x574350(0x157)]();continue;case'8':fs['unlinkSync'](_0x41d5fc);continue;case'9':await utilities['finalExecution'](_0x4c07c5);continue;}break;}}catch(_0x200646){logger[_0x574350(0x154)](_0x105c36[_0x574350(0x14a)](_0x105c36[_0x574350(0x1a7)],_0x200646));}});})();}function a35_0x390e(_0x115176,_0x2b2163){const _0x12896b=a35_0x1289();return a35_0x390e=function(_0x390e11,_0x5177c1){_0x390e11=_0x390e11-0x107;let _0x3255ad=_0x12896b[_0x390e11];return _0x3255ad;},a35_0x390e(_0x115176,_0x2b2163);}module[a35_0x5be83e(0x197)]=run;
@@ -1 +1 @@
1
- const a36_0x485a87=a36_0x3b97;function a36_0x3b97(_0xd6be17,_0x55faf1){const _0x4bd81f=a36_0x4bd8();return a36_0x3b97=function(_0x3b9700,_0x1bf12e){_0x3b9700=_0x3b9700-0xbe;let _0x475f2e=_0x4bd81f[_0x3b9700];return _0x475f2e;},a36_0x3b97(_0xd6be17,_0x55faf1);}(function(_0x1e9ad5,_0x3ae540){const _0x14abf9=a36_0x3b97,_0x13f4e5=_0x1e9ad5();while(!![]){try{const _0x561405=-parseInt(_0x14abf9(0xc0))/0x1+parseInt(_0x14abf9(0xc8))/0x2+-parseInt(_0x14abf9(0xdb))/0x3+parseInt(_0x14abf9(0xe8))/0x4*(parseInt(_0x14abf9(0xcd))/0x5)+parseInt(_0x14abf9(0xe1))/0x6*(parseInt(_0x14abf9(0xd8))/0x7)+parseInt(_0x14abf9(0xc9))/0x8*(-parseInt(_0x14abf9(0xce))/0x9)+parseInt(_0x14abf9(0xd9))/0xa;if(_0x561405===_0x3ae540)break;else _0x13f4e5['push'](_0x13f4e5['shift']());}catch(_0x33ca7c){_0x13f4e5['push'](_0x13f4e5['shift']());}}}(a36_0x4bd8,0x1990b));const util=require('util'),child_process=require('child_process'),{FRAMEWORKS}=require(a36_0x485a87(0xdf)),{getFrameworkVersion,debug}=require(a36_0x485a87(0xe3)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),{mockIsWorkerRedundant}=require('./patches'),logger=require('../../helpers/logger')['winstonLogger'];function a36_0x4bd8(){const _0x2f6212=['../../helpers/test-observability/utils','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','RlmMi','exports','PLAYWRIGHT','396748xFVPzC','hKcXt','fork','toString','208652xAzrKa','zgTpQ','sMIAK','./mock-process.js','MLwRb','qgeds','pFMRx','\x20is\x20not\x20found','266520RmJuRF','8uTZHvM','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','bRrRo','BwRAJ','5SIbCDh','521919Aiqpje','Running\x20existing\x20global\x20setup','hVawN','wKRkc','apply','Path\x20','isHandlePWErrorSet','compareVersions','Call\x20to\x20child\x20fork\x20with\x20args\x20','VOyde','54712oLEvFE','1080350xOnBKZ','debug','94956QwjjhR','error','requirePWModule','env','../../helpers/test-observability/constants','includes','48VPQvRE','dTIpg'];a36_0x4bd8=function(){return _0x2f6212;};return a36_0x4bd8();}module[a36_0x485a87(0xe6)]=async function(_0x5f154d){const _0x4bf900=a36_0x485a87,_0x1650ee={'qgeds':function(_0x352f20,_0x2e9dd6){return _0x352f20(_0x2e9dd6);},'pFMRx':function(_0xe8e9ac){return _0xe8e9ac();},'VOyde':_0x4bf900(0xc3),'HxtmY':function(_0x22d89b){return _0x22d89b();},'zgTpQ':function(_0x1517c8){return _0x1517c8();},'hKcXt':function(_0x3f6481,_0x444b76){return _0x3f6481(_0x444b76);},'dTIpg':_0x4bf900(0xcf),'bRrRo':function(_0xda92d0){return _0xda92d0();},'MRiFi':function(_0x7f6184,_0x2e3bfa){return _0x7f6184>=_0x2e3bfa;},'MLwRb':'1.33.0','hVawN':function(_0x2e638f,_0x55231a,_0x3c3489){return _0x2e638f(_0x55231a,_0x3c3489);},'sMIAK':function(_0x4b7bac,_0x356548){return _0x4b7bac!==_0x356548;},'RlmMi':'function','BwRAJ':'Not\x20able\x20to\x20import\x20globalSetup','wKRkc':function(_0x2f7a13,_0x2d1c34){return _0x2f7a13(_0x2d1c34);}},_0x1e43d8=child_process['fork'];if(helper[_0x4bf900(0xd4)]())try{_0x1650ee[_0x4bf900(0xc1)](mockIsWorkerRedundant);}catch(_0xb23c4a){logger[_0x4bf900(0xda)](_0x4bf900(0xca)+util['format'](_0xb23c4a));}child_process[_0x4bf900(0xbe)]=function(){const _0x57f6ba=_0x4bf900;return _0x1650ee[_0x57f6ba(0xc5)](debug,_0x57f6ba(0xd6)+arguments[0x0]),arguments[0x0][_0x57f6ba(0xe0)](_0x1650ee[_0x57f6ba(0xc6)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x1650ee[_0x57f6ba(0xd7)]):logger[_0x57f6ba(0xdc)](_0x57f6ba(0xd3)+_0x1650ee['HxtmY'](getForkProcessPath)+_0x57f6ba(0xc7)),_0x1e43d8['apply'](null,arguments);};if(process[_0x4bf900(0xde)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x1650ee[_0x4bf900(0xe9)](debug,_0x1650ee[_0x4bf900(0xe2)]);try{const {loadGlobalHook:_0x349063}=helper[_0x4bf900(0xdd)][_0x4bf900(0xd2)](null,_0x1650ee[_0x4bf900(0xcb)](getLoadUtilsPath)),_0x702ca=_0x1650ee['qgeds'](getFrameworkVersion,FRAMEWORKS[_0x4bf900(0xe7)]);let _0x4538c1=_0x5f154d;if(_0x1650ee['MRiFi'](helper[_0x4bf900(0xd5)](_0x702ca,_0x1650ee[_0x4bf900(0xc4)]),0x0)){const _0x568357={};_0x568357['config']=_0x5f154d,_0x4538c1=_0x568357;}const _0x4bdcf9=await _0x1650ee[_0x4bf900(0xd0)](_0x349063,_0x4538c1,process[_0x4bf900(0xde)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x1650ee[_0x4bf900(0xc2)](typeof _0x4bdcf9,_0x1650ee[_0x4bf900(0xe5)]))throw new Error(_0x1650ee[_0x4bf900(0xcc)]);return _0x4bdcf9[_0x4bf900(0xd2)](null,arguments);}catch(_0x3f8009){_0x1650ee[_0x4bf900(0xd1)](debug,_0x4bf900(0xe4)+_0x3f8009[_0x4bf900(0xbf)]());}}};
1
+ function a36_0x27c0(_0x2f453d,_0x5a9f48){const _0x5467ba=a36_0x5467();return a36_0x27c0=function(_0x27c032,_0x1a3a8c){_0x27c032=_0x27c032-0xa5;let _0x5dee32=_0x5467ba[_0x27c032];return _0x5dee32;},a36_0x27c0(_0x2f453d,_0x5a9f48);}const a36_0x4d24fb=a36_0x27c0;function a36_0x5467(){const _0x14bf4d=['222461nLlNfY','isHandlePWErrorSet','resolve','./reporter/pwUtils','includes','459360PFBcBt','env','child_process','./mock-process.js','FNnHT','../../helpers/test-observability/utils','../../helpers/test-observability/constants','560210dOAnEd','exports','gYWtv','WvNBr','EHngG','Not\x20able\x20to\x20import\x20globalSetup','318060rxGfXp','apply','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','function','debug','5267087EFGheG','406664WAKVfO','bYZgu','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','Gfoch','Path\x20','../../helpers/helper','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','ixbOy','compareVersions','fork','pugcj','wbuVA','Call\x20to\x20child\x20fork\x20with\x20args\x20','JLCCN','PLAYWRIGHT','\x20is\x20not\x20found','Running\x20existing\x20global\x20setup','480312XKkYyw','8kIbGhK'];a36_0x5467=function(){return _0x14bf4d;};return a36_0x5467();}(function(_0x5cba28,_0x1bb074){const _0x382e01=a36_0x27c0,_0x39adfb=_0x5cba28();while(!![]){try{const _0x1fd56c=-parseInt(_0x382e01(0xb2))/0x1+-parseInt(_0x382e01(0xca))/0x2+parseInt(_0x382e01(0xc4))/0x3+-parseInt(_0x382e01(0xb7))/0x4+-parseInt(_0x382e01(0xbe))/0x5+-parseInt(_0x382e01(0xb0))/0x6+-parseInt(_0x382e01(0xc9))/0x7*(-parseInt(_0x382e01(0xb1))/0x8);if(_0x1fd56c===_0x1bb074)break;else _0x39adfb['push'](_0x39adfb['shift']());}catch(_0xe4a87f){_0x39adfb['push'](_0x39adfb['shift']());}}}(a36_0x5467,0x1eb26));const util=require('util'),child_process=require(a36_0x4d24fb(0xb9)),{FRAMEWORKS}=require(a36_0x4d24fb(0xbd)),{getFrameworkVersion,debug}=require(a36_0x4d24fb(0xbc)),helper=require(a36_0x4d24fb(0xcf)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x4d24fb(0xb5)),{mockIsWorkerRedundant}=require('./patches'),logger=require('../../helpers/logger')['winstonLogger'];module[a36_0x4d24fb(0xbf)]=async function(_0x470c33){const _0x15da20=a36_0x4d24fb,_0x472bab={'bYZgu':function(_0x52600d,_0x4a48bc){return _0x52600d(_0x4a48bc);},'EHngG':function(_0x508bf7){return _0x508bf7();},'WvNBr':_0x15da20(0xba),'TZNmm':function(_0x14df7d){return _0x14df7d();},'Gfoch':_0x15da20(0xaf),'JLCCN':function(_0x5b3552){return _0x5b3552();},'ixbOy':function(_0x5cca14,_0xbca932){return _0x5cca14>=_0xbca932;},'wbuVA':'1.33.0','FNnHT':function(_0x253fb5,_0x3d67f1,_0x38ea25){return _0x253fb5(_0x3d67f1,_0x38ea25);},'gYWtv':function(_0x131e71,_0x5cc72b){return _0x131e71!==_0x5cc72b;},'pugcj':_0x15da20(0xc7),'aRQRE':_0x15da20(0xc3)},_0x28379c=child_process['fork'];if(helper[_0x15da20(0xb3)]())try{_0x472bab['TZNmm'](mockIsWorkerRedundant);}catch(_0x8aaa7){logger[_0x15da20(0xc8)](_0x15da20(0xc6)+util['format'](_0x8aaa7));}child_process[_0x15da20(0xa8)]=function(){const _0x11e8e4=_0x15da20;return _0x472bab[_0x11e8e4(0xcb)](debug,_0x11e8e4(0xab)+arguments[0x0]),arguments[0x0][_0x11e8e4(0xb6)](_0x472bab[_0x11e8e4(0xc2)](getForkProcessPath))?arguments[0x0]=require[_0x11e8e4(0xb4)](_0x472bab[_0x11e8e4(0xc1)]):logger['error'](_0x11e8e4(0xce)+_0x472bab[_0x11e8e4(0xc2)](getForkProcessPath)+_0x11e8e4(0xae)),_0x28379c['apply'](null,arguments);};if(process[_0x15da20(0xb8)][_0x15da20(0xcc)]){_0x472bab['bYZgu'](debug,_0x472bab[_0x15da20(0xcd)]);try{const {loadGlobalHook:_0x132afa}=helper['requirePWModule'][_0x15da20(0xc5)](null,_0x472bab[_0x15da20(0xac)](getLoadUtilsPath)),_0x391e30=_0x472bab[_0x15da20(0xcb)](getFrameworkVersion,FRAMEWORKS[_0x15da20(0xad)]);let _0x4d5d68=_0x470c33;if(_0x472bab[_0x15da20(0xa6)](helper[_0x15da20(0xa7)](_0x391e30,_0x472bab[_0x15da20(0xaa)]),0x0)){const _0x35d1c3={};_0x35d1c3['config']=_0x470c33,_0x4d5d68=_0x35d1c3;}const _0x1f1cb7=await _0x472bab[_0x15da20(0xbb)](_0x132afa,_0x4d5d68,process[_0x15da20(0xb8)][_0x15da20(0xcc)]);if(_0x472bab[_0x15da20(0xc0)](typeof _0x1f1cb7,_0x472bab[_0x15da20(0xa9)]))throw new Error(_0x472bab['aRQRE']);return _0x1f1cb7[_0x15da20(0xc5)](null,arguments);}catch(_0xd3bff4){_0x472bab[_0x15da20(0xcb)](debug,_0x15da20(0xa5)+_0xd3bff4['toString']());}}};