browserstack-node-sdk 1.34.36 → 1.34.38

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 (131) 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/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/central-scanner/constants.js +1 -1
  101. package/src/helpers/central-scanner/helpers.js +1 -1
  102. package/src/helpers/globals.js +1 -1
  103. package/src/helpers/helper.js +1 -1
  104. package/src/helpers/logger.js +1 -1
  105. package/src/helpers/patchHelper.js +1 -1
  106. package/src/helpers/patchHelpers.js +1 -1
  107. package/src/helpers/percy/Percy.js +1 -1
  108. package/src/helpers/percy/PercyBinary.js +1 -1
  109. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  110. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  111. package/src/helpers/percy/PercySDK.js +1 -1
  112. package/src/helpers/percy/index.js +1 -1
  113. package/src/helpers/percy/utils.js +1 -1
  114. package/src/helpers/performance/constants.js +1 -1
  115. package/src/helpers/performance/performance-tester.js +1 -1
  116. package/src/helpers/processHelper.js +1 -1
  117. package/src/helpers/request-spy.js +1 -1
  118. package/src/helpers/setKeepAlive.js +1 -1
  119. package/src/helpers/test-observability/constants.js +1 -1
  120. package/src/helpers/test-observability/error-handler.js +1 -1
  121. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  122. package/src/helpers/test-observability/sessionHandler.js +1 -1
  123. package/src/helpers/test-observability/utils.js +1 -1
  124. package/src/helpers/testhub/constants.js +1 -1
  125. package/src/helpers/testhub/testhubHandler.js +1 -1
  126. package/src/helpers/testhub/utils.js +1 -1
  127. package/src/helpers/timeoutPromise.js +1 -1
  128. package/src/helpers/utilities.js +1 -1
  129. package/src/helpers/w3cMapping.js +1 -1
  130. package/src/hubAllocationMethods.js +1 -1
  131. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a29_0x488d(){const _0x543350=['updateHubUrl','uNalC','caps_','4966456rmbPUK','CniRY','./helpers/patchHelper','ABfib','quitCount_','owBsh','requireSeleniumWebdriver','getGlobal','ElgFp','517496RijJtH','wJxRu','3cdZwhV','setLogLevel','ahuFH','../../../helpers/helper','238566GlQyZI','newHubUrl','HttpClient','set','ZfjcX','split','https://','KdQIa','../../../bin/utils/constants','then','setServer','storeOptimalHubUrl','requireHttpClient','20gBJrjP','ieOptions_','forEach','proxySettings','XVGVg','/wd/hub','debug','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','proxy_','../accessibility-automation/helper','../../../helpers/logger','capabilities_','../../../helpers/globals','overrideGet','setCapabilities','rSGnQ','XVqXe','__setBrowserOptions','qqWEH','keys','WCXOr','url_','build','isAccessibilityPlatform','olTvl','push','Modifying\x20webdriver\x20builder','New\x20hub\x20url\x20set\x20to\x20','browserStackLogLevel','getAccessibilityResultsSummary','proxyUrl','firefoxOptions_','Proxy\x20set\x20to\x20','winstonLogger','originalBuilder','send','chromeOptions_','edgeOptions_','getAccessibilityResults','CAPABILITY_KEY','XrmpQ','COMAu','uieEE','HkqvI','isBrowserstackInfra','path','__drivers','moz:firefoxOptions','se:ieOptions','Builder','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','AQNUZ','dkfcl','chromeOptions','safari.options','__driversArray','agent_','capability','4605495sTadXO','ms:edgeOptions','error','../../../hubAllocationMethods','92068tolqQu','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','getHubUrl','13550274XHPqmA','14592650yZBEyM','info','cjIXO','6gIqcia','4|0|5|2|1|3','options_','Euwgs','exports','firefoxOptions','/session','get','isUndefined','nNDbn','__driver','jrujL','safariOptions_','../../../helpers/accessibility-automation/helper','FDgsq','../../../helpers/patchHelpers','edgeOptions','mergeDeep','BNZWf','global'];a29_0x488d=function(){return _0x543350;};return a29_0x488d();}const a29_0x7bbb15=a29_0x489b;(function(_0x57bb68,_0x3dbd8d){const _0x36d7e6=a29_0x489b,_0x25d3f8=_0x57bb68();while(!![]){try{const _0x36aa86=-parseInt(_0x36d7e6(0x1d0))/0x1*(parseInt(_0x36d7e6(0x1a7))/0x2)+parseInt(_0x36d7e6(0x1d4))/0x3*(-parseInt(_0x36d7e6(0x1e1))/0x4)+-parseInt(_0x36d7e6(0x1a3))/0x5+-parseInt(_0x36d7e6(0x1ae))/0x6*(parseInt(_0x36d7e6(0x1ce))/0x7)+-parseInt(_0x36d7e6(0x1c5))/0x8+parseInt(_0x36d7e6(0x1aa))/0x9+parseInt(_0x36d7e6(0x1ab))/0xa;if(_0x36aa86===_0x3dbd8d)break;else _0x25d3f8['push'](_0x25d3f8['shift']());}catch(_0x39573c){_0x25d3f8['push'](_0x25d3f8['shift']());}}}(a29_0x488d,0xc68f9));function a29_0x489b(_0x2cf142,_0x4b5461){const _0x488db5=a29_0x488d();return a29_0x489b=function(_0x489b4e,_0x2748ed){_0x489b4e=_0x489b4e-0x17f;let _0x109235=_0x488db5[_0x489b4e];return _0x109235;},a29_0x489b(_0x2cf142,_0x4b5461);}const logger=require(a29_0x7bbb15(0x1eb))[a29_0x7bbb15(0x18a)],helper=require(a29_0x7bbb15(0x1d3)),constants=require(a29_0x7bbb15(0x1dc)),hubAllocator=require(a29_0x7bbb15(0x1a6)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x7bbb15(0x1bd)),{setAccessibilityCapabilities,setExtension}=require(a29_0x7bbb15(0x1ea)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x7bbb15(0x1bb)),globals=require(a29_0x7bbb15(0x1ed)),{overrideExecute}=require(a29_0x7bbb15(0x1c7)),modify=(_0x2a6549,_0x1caac6=null,_0x373b64=![])=>{const _0x47f59c=a29_0x7bbb15,_0x5b0002={'uieEE':function(_0x24a90f,_0x150880){return _0x24a90f!==_0x150880;},'hgsDp':_0x47f59c(0x1b4),'kcXPD':function(_0x2b555b,_0x1806a1){return _0x2b555b+_0x1806a1;},'XxYPe':_0x47f59c(0x1da),'COMAu':_0x47f59c(0x1e6),'Ficgi':'goog:chromeOptions','ahuFH':_0x47f59c(0x19e),'ABfib':_0x47f59c(0x1a4),'XVGVg':_0x47f59c(0x1be),'WCXOr':_0x47f59c(0x198),'fCsuo':_0x47f59c(0x1b3),'exmID':_0x47f59c(0x19f),'ElgFp':_0x47f59c(0x199),'qqWEH':'ieOptions','ZfjcX':function(_0x1eeaaa,_0x589f6b){return _0x1eeaaa===_0x589f6b;},'XrmpQ':'object','PNGmM':'Setting\x20Browserstack\x20capabilities','OCiBi':'optimalHubUrl','olTvl':_0x47f59c(0x19b),'AQNUZ':_0x47f59c(0x1af),'HkqvI':function(_0x2c6139,_0x1567bc){return _0x2c6139(_0x1567bc);},'CniRY':function(_0x414d5b,_0x1fabc9,_0x365656){return _0x414d5b(_0x1fabc9,_0x365656);},'wJxRu':function(_0x15176c,_0x1fd891,_0x358d44){return _0x15176c(_0x1fd891,_0x358d44);},'uNalC':'1|0|3|5|2|4','OmgyT':function(_0xf097dd){return _0xf097dd();},'rSGnQ':_0x47f59c(0x180),'cjIXO':function(_0x508497,_0x5420a4,_0x41523e){return _0x508497(_0x5420a4,_0x41523e);},'Euwgs':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','owBsh':function(_0x4ed7dc,_0x1b3686){return _0x4ed7dc(_0x1b3686);},'jzahR':function(_0x5244e2,_0x296690,_0x59f6a8){return _0x5244e2(_0x296690,_0x59f6a8);},'BNZWf':function(_0x38b822,_0x5e992c){return _0x38b822!==_0x5e992c;},'dkfcl':function(_0x249e2b,_0x2fb9c3){return _0x249e2b!==_0x2fb9c3;},'XVqXe':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','jrujL':_0x47f59c(0x183)},_0x2368ea=helper[_0x47f59c(0x1e0)]();let _0x2e01af;try{_0x2e01af=helper[_0x47f59c(0x1cb)](),_0x2e01af['originalBuilder']&&(_0x2e01af['Builder']=_0x2e01af[_0x47f59c(0x18b)]);}catch(_0x3c72b6){return;}if(helper[_0x47f59c(0x195)]()){const _0x49ee41={};_0x49ee41['logLevel']=_0x2a6549[_0x47f59c(0x185)],helper[_0x47f59c(0x1d1)](_0x49ee41,new Map(),new Map()),logger[_0x47f59c(0x1ac)](_0x5b0002[_0x47f59c(0x1f1)]),logger['debug'](_0x5b0002[_0x47f59c(0x1b9)]);}class _0x1c1dcf extends _0x2368ea[_0x47f59c(0x1d6)]{[_0x47f59c(0x18c)](_0xdb467a){const _0x50aca7=_0x47f59c;if(_0x5b0002[_0x50aca7(0x193)](_0xdb467a[_0x50aca7(0x196)],_0x5b0002['hgsDp'])&&_0x5b0002[_0x50aca7(0x193)](global[_0x50aca7(0x1d5)],''))try{global[_0x50aca7(0x1d5)]=_0x5b0002['kcXPD'](_0x5b0002['kcXPD'](_0x5b0002['XxYPe'],global[_0x50aca7(0x1d5)]),_0x5b0002[_0x50aca7(0x192)]),this[_0x50aca7(0x1b0)]=hubAllocator['getRequestOptions'](global[_0x50aca7(0x1d5)]),logger[_0x50aca7(0x1e7)](_0x50aca7(0x184)+global['newHubUrl']),global[_0x50aca7(0x1d5)]='';}catch(_0xe9bfc2){logger[_0x50aca7(0x1a5)](_0xe9bfc2);}return super['send'](_0xdb467a);}}class _0x9713ea extends _0x2e01af[_0x47f59c(0x19a)]{[_0x47f59c(0x1de)](){const _0x42a593=_0x47f59c;return this[_0x42a593(0x1f6)]=helper[_0x42a593(0x1a9)](_0x2a6549),logger[_0x42a593(0x1e7)]('Hub\x20url\x20set\x20to\x20'+this[_0x42a593(0x1f6)]),this;}[_0x47f59c(0x1f2)](_0x28639e){const _0xf98687=_0x47f59c;let _0x48cf02={};for(const _0x2f9e37 in _0x28639e){switch(_0x2f9e37){case _0x5b0002['Ficgi']:case _0x5b0002[_0xf98687(0x1d2)]:this[_0xf98687(0x18d)]&&(_0x48cf02=this[_0xf98687(0x18d)]['get'](this[_0xf98687(0x18d)][_0xf98687(0x190)])||{},this[_0xf98687(0x18d)][_0xf98687(0x1d7)](this['chromeOptions_'][_0xf98687(0x190)],helper['mergeDeep'](_0x48cf02,_0x28639e[_0x2f9e37])));break;case _0x5b0002[_0xf98687(0x1c8)]:case _0x5b0002[_0xf98687(0x1e5)]:this[_0xf98687(0x18e)]&&(_0x48cf02=this[_0xf98687(0x18e)][_0xf98687(0x1b5)](this[_0xf98687(0x18e)]['CAPABILITY_KEY'])||{},this[_0xf98687(0x18e)][_0xf98687(0x1d7)](this[_0xf98687(0x18e)][_0xf98687(0x190)],helper[_0xf98687(0x1bf)](_0x48cf02,_0x28639e[_0x2f9e37])));break;case _0x5b0002[_0xf98687(0x1f5)]:case _0x5b0002['fCsuo']:this[_0xf98687(0x188)]&&(_0x48cf02=this[_0xf98687(0x188)]['get'](this[_0xf98687(0x188)]['CAPABILITY_KEY'])||{},this[_0xf98687(0x188)][_0xf98687(0x1d7)](this[_0xf98687(0x188)]['CAPABILITY_KEY'],helper[_0xf98687(0x1bf)](_0x48cf02,_0x28639e[_0x2f9e37])));break;case _0x5b0002['exmID']:this[_0xf98687(0x1ba)]&&(_0x48cf02=this[_0xf98687(0x1ba)][_0xf98687(0x1b5)](this['safariOptions_']['CAPABILITY_KEY'])||{},this[_0xf98687(0x1ba)]['set'](this[_0xf98687(0x1ba)][_0xf98687(0x190)],helper['mergeDeep'](_0x48cf02,_0x28639e[_0x2f9e37])));break;case _0x5b0002[_0xf98687(0x1cd)]:case _0x5b0002[_0xf98687(0x1f3)]:this[_0xf98687(0x1e2)]&&(_0x48cf02=this[_0xf98687(0x1e2)]['get'](this[_0xf98687(0x1e2)]['CAPABILITY_KEY'])||{},this['ieOptions_']['set'](this[_0xf98687(0x1e2)][_0xf98687(0x190)],helper[_0xf98687(0x1bf)](_0x48cf02,_0x28639e[_0x2f9e37])));break;}}}[_0x47f59c(0x1ef)](){const _0x10b989=_0x47f59c;return logger['debug'](_0x5b0002['PNGmM']),this[_0x10b989(0x1f2)](_0x2a6549[_0x10b989(0x1a2)]),Object[_0x10b989(0x1f4)](_0x2a6549['capability'])[_0x10b989(0x1e3)](_0x34c6f7=>{const _0x5dd983=_0x10b989,_0x104573=this[_0x5dd983(0x1ec)][_0x5dd983(0x1b5)](_0x34c6f7);_0x5b0002[_0x5dd983(0x1d8)](typeof _0x104573,_0x5b0002[_0x5dd983(0x191)])?this[_0x5dd983(0x1ec)][_0x5dd983(0x1d7)](_0x34c6f7,helper['mergeDeep'](_0x104573,_0x2a6549['capability'][_0x34c6f7])):this[_0x5dd983(0x1ec)][_0x5dd983(0x1d7)](_0x34c6f7,_0x2a6549[_0x5dd983(0x1a2)][_0x34c6f7]);}),this;}[_0x47f59c(0x17f)](){const _0x2e6d15=_0x47f59c,_0x656c5c={'FDgsq':function(_0x18f52f,_0x179082,_0x2e5bf4){const _0x27fb51=a29_0x489b;return _0x5b0002[_0x27fb51(0x1c6)](_0x18f52f,_0x179082,_0x2e5bf4);},'KdQIa':function(_0x173fa8,_0x46dab7,_0x38d429){const _0x3989fe=a29_0x489b;return _0x5b0002[_0x3989fe(0x1c6)](_0x173fa8,_0x46dab7,_0x38d429);},'nNDbn':function(_0x221d68,_0x13711f,_0x51fbeb){const _0xe94a24=a29_0x489b;return _0x5b0002[_0xe94a24(0x1cf)](_0x221d68,_0x13711f,_0x51fbeb);}};if(helper[_0x2e6d15(0x195)]()){const _0x574ee8=_0x5b0002[_0x2e6d15(0x1c3)][_0x2e6d15(0x1d9)]('|');let _0x7db03e=0x0;while(!![]){switch(_0x574ee8[_0x7db03e++]){case'0':this[_0x2e6d15(0x1de)]();continue;case'1':_0x5b0002['OmgyT'](isAccessibilityAutomationSession)&&_0x5b0002[_0x2e6d15(0x194)](setAccessibilityCapabilities,_0x2a6549);continue;case'2':globals[_0x2e6d15(0x1cc)](_0x5b0002[_0x2e6d15(0x1f0)])&&(!_0x5b0002[_0x2e6d15(0x1ad)](setExtension,this,_0x2a6549)&&globals['setGlobal'](_0x5b0002[_0x2e6d15(0x1f0)],![]));continue;case'3':this[_0x2e6d15(0x1ef)]();continue;case'4':logger[_0x2e6d15(0x1e7)](_0x5b0002[_0x2e6d15(0x1b1)]);continue;case'5':if(helper['isPacProxy'](_0x2a6549[_0x2e6d15(0x1e4)][_0x2e6d15(0x187)]))this[_0x2e6d15(0x1a1)]=helper['getHttpAgent'](_0x2a6549[_0x2e6d15(0x1e4)][_0x2e6d15(0x187)]);else _0x2a6549['proxySettings'][_0x2e6d15(0x187)]&&(this[_0x2e6d15(0x1e9)]=_0x2a6549[_0x2e6d15(0x1e4)][_0x2e6d15(0x187)],logger[_0x2e6d15(0x1e7)](_0x2e6d15(0x189)+this[_0x2e6d15(0x1e9)]));continue;}break;}}const _0x525e3e=super[_0x2e6d15(0x17f)]();return _0x525e3e['session_'][_0x2e6d15(0x1dd)](_0x247dcd=>{const _0x53f692=_0x2e6d15;try{const _0x449fdd=_0x247dcd[_0x53f692(0x1c4)][_0x53f692(0x1b5)](_0x5b0002['OCiBi']);_0x449fdd?(logger[_0x53f692(0x1e7)](_0x53f692(0x1e8)+_0x449fdd),hubAllocator[_0x53f692(0x1c2)](_0x449fdd),helper[_0x53f692(0x1df)](_0x449fdd)):logger[_0x53f692(0x1e7)](_0x5b0002[_0x53f692(0x181)]);}catch(_0xaaa015){logger[_0x53f692(0x1e7)](_0x53f692(0x1a8)+_0xaaa015);}}),_0x525e3e[_0x2e6d15(0x1c9)]=0x0,_0x525e3e[_0x2e6d15(0x1dd)]&&_0x525e3e[_0x2e6d15(0x1dd)](_0x201669=>{const _0x22bf09=_0x2e6d15,_0x14cbb7=_0x5b0002[_0x22bf09(0x19c)][_0x22bf09(0x1d9)]('|');let _0x73fe0f=0x0;while(!![]){switch(_0x14cbb7[_0x73fe0f++]){case'0':_0x5b0002[_0x22bf09(0x194)](overrideTakeScreenshot,_0x201669);continue;case'1':_0x201669[_0x22bf09(0x186)]=async()=>{const _0x147a29=_0x22bf09;return await _0x656c5c[_0x147a29(0x1bc)](getAccessibilityResultsSummary,_0x201669,global);};continue;case'2':_0x5b0002[_0x22bf09(0x1c6)](overrideExecute,_0x201669,_0x2a6549);continue;case'3':_0x201669[_0x22bf09(0x18f)]=async()=>{const _0x2613a6=_0x22bf09;return await _0x656c5c[_0x2613a6(0x1db)](getAccessibilityResults,_0x201669,global);};continue;case'4':_0x5b0002[_0x22bf09(0x1c6)](overrideQuit,_0x201669,_0x525e3e);continue;case'5':helper[_0x22bf09(0x1ee)](_0x201669,_0x2a6549);continue;}break;}}),_0x525e3e['getAccessibilityResultsSummary']=async()=>{const _0x572ce1=_0x2e6d15;return await _0x656c5c[_0x572ce1(0x1b7)](getAccessibilityResultsSummary,_0x525e3e,global);},_0x525e3e[_0x2e6d15(0x18f)]=async()=>{return await _0x5b0002['CniRY'](getAccessibilityResults,_0x525e3e,global);},_0x5b0002[_0x2e6d15(0x1ca)](overrideTakeScreenshot,_0x525e3e),_0x5b0002[_0x2e6d15(0x194)](overrideQuit,_0x525e3e),helper[_0x2e6d15(0x1ee)](_0x525e3e,_0x2a6549),_0x5b0002['jzahR'](overrideExecute,_0x525e3e,_0x2a6549),helper[_0x2e6d15(0x1b6)](global[_0x2e6d15(0x1a0)])&&(global[_0x2e6d15(0x1a0)]=[]),helper[_0x2e6d15(0x1b6)](global['__drivers'])&&(global[_0x2e6d15(0x197)]=[]),global[_0x2e6d15(0x1a0)][_0x2e6d15(0x182)](_0x525e3e),global[_0x2e6d15(0x1b8)]=_0x525e3e,_0x5b0002[_0x2e6d15(0x1c0)](global[_0x2e6d15(0x197)],undefined)&&global['__drivers'][_0x2e6d15(0x182)](_0x525e3e),_0x1caac6&&helper[_0x2e6d15(0x1b6)](_0x1caac6[_0x2e6d15(0x1c1)]['__driversArray'])&&(_0x1caac6[_0x2e6d15(0x1c1)]['__driversArray']=[]),_0x1caac6&&_0x5b0002[_0x2e6d15(0x19d)](_0x1caac6[_0x2e6d15(0x1c1)][_0x2e6d15(0x197)],undefined)&&(_0x1caac6[_0x2e6d15(0x1c1)][_0x2e6d15(0x197)][_0x2e6d15(0x182)](_0x525e3e),_0x1caac6[_0x2e6d15(0x1c1)][_0x2e6d15(0x1a0)][_0x2e6d15(0x182)](_0x525e3e)),_0x525e3e;}}return _0x2e01af[_0x47f59c(0x18b)]=_0x2e01af['Builder'],_0x2e01af[_0x47f59c(0x19a)]=_0x9713ea,_0x2368ea[_0x47f59c(0x1d6)]=_0x1c1dcf,_0x2e01af;};module[a29_0x7bbb15(0x1b2)]['browserstackAgentObservability']=modify;
1
+ const a29_0x9f7474=a29_0x1a62;function a29_0x2ef3(){const _0x27bfd8=['https://','dFHVi','Modifying\x20webdriver\x20builder','setGlobal','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','originalBuilder','error','safari.options','winstonLogger','1820556UoFPwK','global','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','isBrowserstackInfra','gGNlz','2679312djQFVf','zcWBt','ZsHSq','40412mdDPwz','ieOptions_','storeOptimalHubUrl','firefoxOptions_','updateHubUrl','then','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','get','TlRlF','info','optimalHubUrl','84ESWSmF','chromeOptions_','Xbxlb','IoUuD','capability','debug','caps_','oLmTY','safariOptions_','overrideGet','../../../hubAllocationMethods','requireHttpClient','getGlobal','setCapabilities','Lwmcj','forEach','agent_','/session','../../../helpers/accessibility-automation/helper','New\x20hub\x20url\x20set\x20to\x20','pIBBv','__driversArray','isPacProxy','../../../helpers/logger','goog:chromeOptions','CAPABILITY_KEY','../accessibility-automation/helper','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','proxyUrl','1647650zGVkmr','vllNf','../../../bin/utils/constants','chromeOptions','./helpers/patchHelper','keys','WEjmG','jyKut','mergeDeep','ltUER','JEMHU','isUndefined','capabilities_','ms:edgeOptions','jXhEa','__drivers','getAccessibilityResultsSummary','url_','browserstackAgentObservability','390njPuxI','Setting\x20Browserstack\x20capabilities','igLgi','send','dLHgz','/wd/hub','Proxy\x20set\x20to\x20','split','12443277oIbluT','setServer','push','dIUBi','quitCount_','getAccessibilityResults','BAcCJ','__setBrowserOptions','ouWlL','iFIed','edgeOptions','1477323CLhVmZ','browserStackLogLevel','Builder','ejvvX','__driver','435GEyAZg','getHubUrl','../../../helpers/globals','newHubUrl','HttpClient','SfSdI','edgeOptions_','proxySettings','set','path','options_','OQgur','UHcqk','128906tJAVKS','../../../helpers/helper','build'];a29_0x2ef3=function(){return _0x27bfd8;};return a29_0x2ef3();}(function(_0x2ce210,_0xa3b334){const _0x24e8bb=a29_0x1a62,_0x6446f1=_0x2ce210();while(!![]){try{const _0xf7739d=-parseInt(_0x24e8bb(0x1db))/0x1+-parseInt(_0x24e8bb(0x213))/0x2*(parseInt(_0x24e8bb(0x232))/0x3)+-parseInt(_0x24e8bb(0x227))/0x4*(parseInt(_0x24e8bb(0x206))/0x5)+parseInt(_0x24e8bb(0x21f))/0x6+-parseInt(_0x24e8bb(0x1f6))/0x7+parseInt(_0x24e8bb(0x224))/0x8+parseInt(_0x24e8bb(0x201))/0x9*(parseInt(_0x24e8bb(0x1ee))/0xa);if(_0xf7739d===_0xa3b334)break;else _0x6446f1['push'](_0x6446f1['shift']());}catch(_0x59713b){_0x6446f1['push'](_0x6446f1['shift']());}}}(a29_0x2ef3,0xe355f));function a29_0x1a62(_0x4904f9,_0x5d47a3){const _0x2ef3c3=a29_0x2ef3();return a29_0x1a62=function(_0x1a6268,_0x4b7e60){_0x1a6268=_0x1a6268-0x1cd;let _0x4786e7=_0x2ef3c3[_0x1a6268];return _0x4786e7;},a29_0x1a62(_0x4904f9,_0x5d47a3);}const logger=require(a29_0x9f7474(0x1d5))[a29_0x9f7474(0x21e)],helper=require(a29_0x9f7474(0x214)),constants=require(a29_0x9f7474(0x1dd)),hubAllocator=require(a29_0x9f7474(0x23c)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a29_0x9f7474(0x1d8)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x9f7474(0x1d0)),globals=require(a29_0x9f7474(0x208)),{overrideExecute}=require(a29_0x9f7474(0x1df)),modify=(_0x285f90,_0xd444ff=null,_0x4c6126=![])=>{const _0x2d642e=a29_0x9f7474,_0x4ee5e7={'Lwmcj':function(_0x54e39d,_0x299f6c){return _0x54e39d!==_0x299f6c;},'jXhEa':_0x2d642e(0x1cf),'gfEcX':function(_0x51ebbc,_0x7e5eda){return _0x51ebbc+_0x7e5eda;},'zcWBt':function(_0xf70abd,_0x4c7555){return _0xf70abd+_0x4c7555;},'SfSdI':_0x2d642e(0x216),'jyKut':_0x2d642e(0x1f3),'dFHVi':_0x2d642e(0x1d6),'dLHgz':_0x2d642e(0x1de),'UHcqk':_0x2d642e(0x1e8),'SayOe':_0x2d642e(0x200),'hMKgb':'moz:firefoxOptions','gGNlz':'firefoxOptions','ltUER':_0x2d642e(0x21d),'WEjmG':'se:ieOptions','hNhpG':'ieOptions','ouWlL':function(_0x238e57,_0x2dbc6a){return _0x238e57===_0x2dbc6a;},'zkcav':'object','igLgi':_0x2d642e(0x1ef),'DskNL':_0x2d642e(0x231),'blHns':_0x2d642e(0x22d),'BAcCJ':function(_0x1218b9,_0x2b83bf,_0x130159){return _0x1218b9(_0x2b83bf,_0x130159);},'TlRlF':function(_0x3f0ebb,_0x2c6a97){return _0x3f0ebb(_0x2c6a97);},'ZsHSq':function(_0x125f5b,_0x5ea21e,_0x193af5){return _0x125f5b(_0x5ea21e,_0x193af5);},'oLmTY':function(_0x1ab8e4,_0x53bc3b,_0x186a27){return _0x1ab8e4(_0x53bc3b,_0x186a27);},'sPuep':'3|0|2|1|4|5','dIUBi':function(_0x459aab){return _0x459aab();},'iFIed':'isAccessibilityPlatform','IoUuD':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','Xbxlb':function(_0x9e1161,_0x49008b){return _0x9e1161!==_0x49008b;},'OQgur':_0x2d642e(0x21a),'pIBBv':_0x2d642e(0x218)},_0x21998d=helper[_0x2d642e(0x23d)]();let _0x6b0085;try{_0x6b0085=helper['requireSeleniumWebdriver'](),_0x6b0085[_0x2d642e(0x21b)]&&(_0x6b0085[_0x2d642e(0x203)]=_0x6b0085[_0x2d642e(0x21b)]);}catch(_0x4cc857){return;}if(helper[_0x2d642e(0x222)]()){const _0x5a482c={};_0x5a482c['logLevel']=_0x285f90[_0x2d642e(0x202)],helper['setLogLevel'](_0x5a482c,new Map(),new Map()),logger[_0x2d642e(0x230)](_0x4ee5e7[_0x2d642e(0x211)]),logger[_0x2d642e(0x237)](_0x4ee5e7[_0x2d642e(0x1d2)]);}class _0x146b04 extends _0x21998d[_0x2d642e(0x20a)]{[_0x2d642e(0x1f1)](_0x4381b8){const _0x1f173a=_0x2d642e;if(_0x4ee5e7[_0x1f173a(0x240)](_0x4381b8[_0x1f173a(0x20f)],_0x4ee5e7[_0x1f173a(0x1e9)])&&_0x4ee5e7['Lwmcj'](global[_0x1f173a(0x209)],''))try{global[_0x1f173a(0x209)]=_0x4ee5e7['gfEcX'](_0x4ee5e7[_0x1f173a(0x225)](_0x4ee5e7[_0x1f173a(0x20b)],global[_0x1f173a(0x209)]),_0x4ee5e7[_0x1f173a(0x1e2)]),this[_0x1f173a(0x210)]=hubAllocator['getRequestOptions'](global[_0x1f173a(0x209)]),logger['debug'](_0x1f173a(0x1d1)+global[_0x1f173a(0x209)]),global[_0x1f173a(0x209)]='';}catch(_0x4853ca){logger[_0x1f173a(0x21c)](_0x4853ca);}return super[_0x1f173a(0x1f1)](_0x4381b8);}}class _0x3a4d40 extends _0x6b0085[_0x2d642e(0x203)]{[_0x2d642e(0x1f7)](){const _0x4f5c85=_0x2d642e;return this['url_']=helper[_0x4f5c85(0x207)](_0x285f90),logger['debug']('Hub\x20url\x20set\x20to\x20'+this[_0x4f5c85(0x1ec)]),this;}['__setBrowserOptions'](_0x1b1885){const _0x4b162b=_0x2d642e;let _0x2975b1={};for(const _0x6bfe8c in _0x1b1885){switch(_0x6bfe8c){case _0x4ee5e7[_0x4b162b(0x217)]:case _0x4ee5e7[_0x4b162b(0x1f2)]:this['chromeOptions_']&&(_0x2975b1=this[_0x4b162b(0x233)][_0x4b162b(0x22e)](this['chromeOptions_'][_0x4b162b(0x1d7)])||{},this[_0x4b162b(0x233)][_0x4b162b(0x20e)](this['chromeOptions_'][_0x4b162b(0x1d7)],helper[_0x4b162b(0x1e3)](_0x2975b1,_0x1b1885[_0x6bfe8c])));break;case _0x4ee5e7[_0x4b162b(0x212)]:case _0x4ee5e7['SayOe']:this[_0x4b162b(0x20c)]&&(_0x2975b1=this[_0x4b162b(0x20c)][_0x4b162b(0x22e)](this['edgeOptions_'][_0x4b162b(0x1d7)])||{},this['edgeOptions_']['set'](this['edgeOptions_'][_0x4b162b(0x1d7)],helper['mergeDeep'](_0x2975b1,_0x1b1885[_0x6bfe8c])));break;case _0x4ee5e7['hMKgb']:case _0x4ee5e7[_0x4b162b(0x223)]:this[_0x4b162b(0x22a)]&&(_0x2975b1=this[_0x4b162b(0x22a)][_0x4b162b(0x22e)](this[_0x4b162b(0x22a)][_0x4b162b(0x1d7)])||{},this[_0x4b162b(0x22a)][_0x4b162b(0x20e)](this[_0x4b162b(0x22a)][_0x4b162b(0x1d7)],helper[_0x4b162b(0x1e3)](_0x2975b1,_0x1b1885[_0x6bfe8c])));break;case _0x4ee5e7[_0x4b162b(0x1e4)]:this[_0x4b162b(0x23a)]&&(_0x2975b1=this[_0x4b162b(0x23a)][_0x4b162b(0x22e)](this[_0x4b162b(0x23a)]['CAPABILITY_KEY'])||{},this[_0x4b162b(0x23a)][_0x4b162b(0x20e)](this[_0x4b162b(0x23a)][_0x4b162b(0x1d7)],helper[_0x4b162b(0x1e3)](_0x2975b1,_0x1b1885[_0x6bfe8c])));break;case _0x4ee5e7[_0x4b162b(0x1e1)]:case _0x4ee5e7['hNhpG']:this[_0x4b162b(0x228)]&&(_0x2975b1=this[_0x4b162b(0x228)][_0x4b162b(0x22e)](this[_0x4b162b(0x228)][_0x4b162b(0x1d7)])||{},this[_0x4b162b(0x228)][_0x4b162b(0x20e)](this[_0x4b162b(0x228)][_0x4b162b(0x1d7)],helper[_0x4b162b(0x1e3)](_0x2975b1,_0x1b1885[_0x6bfe8c])));break;}}}[_0x2d642e(0x23f)](){const _0x12ec76=_0x2d642e,_0xf68b3={'vllNf':function(_0x6f60b1,_0x3eccac){const _0x3ba395=a29_0x1a62;return _0x4ee5e7[_0x3ba395(0x1fe)](_0x6f60b1,_0x3eccac);},'ejvvX':_0x4ee5e7['zkcav']};return logger[_0x12ec76(0x237)](_0x4ee5e7[_0x12ec76(0x1f0)]),this[_0x12ec76(0x1fd)](_0x285f90[_0x12ec76(0x236)]),Object[_0x12ec76(0x1e0)](_0x285f90['capability'])[_0x12ec76(0x1cd)](_0x5d02a9=>{const _0x121537=_0x12ec76,_0x552f74=this['capabilities_'][_0x121537(0x22e)](_0x5d02a9);_0xf68b3[_0x121537(0x1dc)](typeof _0x552f74,_0xf68b3[_0x121537(0x204)])?this[_0x121537(0x1e7)]['set'](_0x5d02a9,helper[_0x121537(0x1e3)](_0x552f74,_0x285f90[_0x121537(0x236)][_0x5d02a9])):this[_0x121537(0x1e7)][_0x121537(0x20e)](_0x5d02a9,_0x285f90[_0x121537(0x236)][_0x5d02a9]);}),this;}[_0x2d642e(0x215)](){const _0x1ca872=_0x2d642e,_0x13e89a={'JEMHU':function(_0x820810,_0x4086af,_0x5cdf9e){const _0x3e4df6=a29_0x1a62;return _0x4ee5e7[_0x3e4df6(0x239)](_0x820810,_0x4086af,_0x5cdf9e);},'TUfRQ':function(_0x4e4a18,_0xcee76c,_0x28deb5){const _0xdbc2e2=a29_0x1a62;return _0x4ee5e7[_0xdbc2e2(0x239)](_0x4e4a18,_0xcee76c,_0x28deb5);}};if(helper[_0x1ca872(0x222)]()){const _0x3503d9=_0x4ee5e7['sPuep'][_0x1ca872(0x1f5)]('|');let _0x731deb=0x0;while(!![]){switch(_0x3503d9[_0x731deb++]){case'0':this[_0x1ca872(0x1f7)]();continue;case'1':if(helper[_0x1ca872(0x1d4)](_0x285f90[_0x1ca872(0x20d)][_0x1ca872(0x1da)]))this[_0x1ca872(0x1ce)]=helper['getHttpAgent'](_0x285f90[_0x1ca872(0x20d)][_0x1ca872(0x1da)]);else _0x285f90[_0x1ca872(0x20d)][_0x1ca872(0x1da)]&&(this['proxy_']=_0x285f90[_0x1ca872(0x20d)][_0x1ca872(0x1da)],logger[_0x1ca872(0x237)](_0x1ca872(0x1f4)+this['proxy_']));continue;case'2':this['setCapabilities']();continue;case'3':_0x4ee5e7[_0x1ca872(0x1f9)](isAccessibilityAutomationSession)&&_0x4ee5e7[_0x1ca872(0x22f)](setAccessibilityCapabilities,_0x285f90);continue;case'4':globals[_0x1ca872(0x23e)](_0x4ee5e7[_0x1ca872(0x1ff)])&&(!_0x4ee5e7[_0x1ca872(0x239)](setExtension,this,_0x285f90)&&globals[_0x1ca872(0x219)](_0x4ee5e7[_0x1ca872(0x1ff)],![]));continue;case'5':logger[_0x1ca872(0x237)](_0x4ee5e7[_0x1ca872(0x235)]);continue;}break;}}const _0x1db84a=super[_0x1ca872(0x215)]();return _0x1db84a['session_'][_0x1ca872(0x22c)](_0x26021e=>{const _0x5e61d9=_0x1ca872;try{const _0x1d43c0=_0x26021e[_0x5e61d9(0x238)][_0x5e61d9(0x22e)](_0x4ee5e7['DskNL']);_0x1d43c0?(logger['debug'](_0x5e61d9(0x221)+_0x1d43c0),hubAllocator[_0x5e61d9(0x22b)](_0x1d43c0),helper[_0x5e61d9(0x229)](_0x1d43c0)):logger['debug'](_0x4ee5e7['blHns']);}catch(_0x66f76e){logger['debug'](_0x5e61d9(0x1d9)+_0x66f76e);}}),_0x1db84a[_0x1ca872(0x1fa)]=0x0,_0x1db84a['then']&&_0x1db84a['then'](_0x4c5597=>{const _0x414d13=_0x1ca872,_0x3b345b={'sSsyE':function(_0x46ca47,_0xfa4159,_0x120f25){const _0x3b54c3=a29_0x1a62;return _0x4ee5e7[_0x3b54c3(0x1fc)](_0x46ca47,_0xfa4159,_0x120f25);}};_0x4ee5e7[_0x414d13(0x1fc)](overrideQuit,_0x4c5597,_0x1db84a),_0x4ee5e7['TlRlF'](overrideTakeScreenshot,_0x4c5597),helper['overrideGet'](_0x4c5597,_0x285f90),_0x4ee5e7['BAcCJ'](overrideExecute,_0x4c5597,_0x285f90),_0x4c5597[_0x414d13(0x1eb)]=async()=>{return await _0x3b345b['sSsyE'](getAccessibilityResultsSummary,_0x4c5597,global);},_0x4c5597['getAccessibilityResults']=async()=>{const _0x123ca6=_0x414d13;return await _0x13e89a[_0x123ca6(0x1e5)](getAccessibilityResults,_0x4c5597,global);};}),_0x1db84a[_0x1ca872(0x1eb)]=async()=>{return await _0x13e89a['TUfRQ'](getAccessibilityResultsSummary,_0x1db84a,global);},_0x1db84a[_0x1ca872(0x1fb)]=async()=>{const _0x5c51ce=_0x1ca872;return await _0x4ee5e7[_0x5c51ce(0x226)](getAccessibilityResults,_0x1db84a,global);},_0x4ee5e7[_0x1ca872(0x22f)](overrideTakeScreenshot,_0x1db84a),_0x4ee5e7[_0x1ca872(0x22f)](overrideQuit,_0x1db84a),helper[_0x1ca872(0x23b)](_0x1db84a,_0x285f90),_0x4ee5e7['ZsHSq'](overrideExecute,_0x1db84a,_0x285f90),helper['isUndefined'](global[_0x1ca872(0x1d3)])&&(global[_0x1ca872(0x1d3)]=[]),helper['isUndefined'](global[_0x1ca872(0x1ea)])&&(global['__drivers']=[]),global[_0x1ca872(0x1d3)][_0x1ca872(0x1f8)](_0x1db84a),global[_0x1ca872(0x205)]=_0x1db84a,_0x4ee5e7['Lwmcj'](global['__drivers'],undefined)&&global['__drivers']['push'](_0x1db84a),_0xd444ff&&helper[_0x1ca872(0x1e6)](_0xd444ff[_0x1ca872(0x220)][_0x1ca872(0x1d3)])&&(_0xd444ff[_0x1ca872(0x220)][_0x1ca872(0x1d3)]=[]),_0xd444ff&&_0x4ee5e7[_0x1ca872(0x234)](_0xd444ff[_0x1ca872(0x220)][_0x1ca872(0x1ea)],undefined)&&(_0xd444ff[_0x1ca872(0x220)][_0x1ca872(0x1ea)][_0x1ca872(0x1f8)](_0x1db84a),_0xd444ff[_0x1ca872(0x220)]['__driversArray']['push'](_0x1db84a)),_0x1db84a;}}return _0x6b0085[_0x2d642e(0x21b)]=_0x6b0085[_0x2d642e(0x203)],_0x6b0085[_0x2d642e(0x203)]=_0x3a4d40,_0x21998d[_0x2d642e(0x20a)]=_0x146b04,_0x6b0085;};module['exports'][a29_0x9f7474(0x1ed)]=modify;
@@ -1 +1 @@
1
- const a30_0xf5afa=a30_0x3f48;(function(_0x59c814,_0x2e2410){const _0x204fc4=a30_0x3f48,_0x359e44=_0x59c814();while(!![]){try{const _0x592fb4=-parseInt(_0x204fc4(0x1f9))/0x1+parseInt(_0x204fc4(0x1f7))/0x2*(-parseInt(_0x204fc4(0x1ed))/0x3)+-parseInt(_0x204fc4(0x1f6))/0x4*(-parseInt(_0x204fc4(0x1f4))/0x5)+-parseInt(_0x204fc4(0x1ee))/0x6+parseInt(_0x204fc4(0x1f5))/0x7+parseInt(_0x204fc4(0x1ec))/0x8+parseInt(_0x204fc4(0x1f1))/0x9*(parseInt(_0x204fc4(0x1f0))/0xa);if(_0x592fb4===_0x2e2410)break;else _0x359e44['push'](_0x359e44['shift']());}catch(_0x1d56fb){_0x359e44['push'](_0x359e44['shift']());}}}(a30_0x165a,0xaad43));function a30_0x3f48(_0x530bc9,_0x2659cc){const _0x165af2=a30_0x165a();return a30_0x3f48=function(_0x3f48b2,_0x4bb459){_0x3f48b2=_0x3f48b2-0x1ea;let _0xa5f27=_0x165af2[_0x3f48b2];return _0xa5f27;},a30_0x3f48(_0x530bc9,_0x2659cc);}function a30_0x165a(){const _0x5ab5ae=['4827774ZUFCEJ','2864104EVQlVR','636fCJzQx','yeQUu','766094FDTNgX','../../../bin/utils/constants','mochaHooks','1736968GPTznm','273tKfhnb','1357980lEBUPa','../../../helpers/test-observability/utils','10njeLwX','884232mtCBOW','../../../helpers/request-spy','timeout','5WEHaoY'];a30_0x165a=function(){return _0x5ab5ae;};return a30_0x165a();}const requestSpy=require(a30_0xf5afa(0x1f2)),constants=require(a30_0xf5afa(0x1ea)),{addRequestSpy}=require(a30_0xf5afa(0x1ef));exports[a30_0xf5afa(0x1eb)]={'beforeAll'(){const _0x4bd37b=a30_0xf5afa,_0x5153e6={'yeQUu':function(_0x2ae489){return _0x2ae489();}},_0x26c206='browserstack internal helper hook';_0x5153e6[_0x4bd37b(0x1f8)](addRequestSpy);},'afterAll'(){const _0x3e9241=a30_0xf5afa,_0x6e0059='browserstack internal helper hook';this[_0x3e9241(0x1f3)](0xea60),requestSpy['restore']();}};
1
+ function a30_0x5f2b(_0x13ae27,_0x593563){const _0x3f14a9=a30_0x3f14();return a30_0x5f2b=function(_0x5f2bd5,_0x22fc05){_0x5f2bd5=_0x5f2bd5-0x10c;let _0x20f46c=_0x3f14a9[_0x5f2bd5];return _0x20f46c;},a30_0x5f2b(_0x13ae27,_0x593563);}const a30_0x2c2f08=a30_0x5f2b;(function(_0x49b7b9,_0x3e9b66){const _0x297386=a30_0x5f2b,_0x456fb5=_0x49b7b9();while(!![]){try{const _0x35ae74=-parseInt(_0x297386(0x114))/0x1*(parseInt(_0x297386(0x113))/0x2)+parseInt(_0x297386(0x119))/0x3+parseInt(_0x297386(0x117))/0x4+parseInt(_0x297386(0x10d))/0x5+-parseInt(_0x297386(0x118))/0x6*(-parseInt(_0x297386(0x10c))/0x7)+parseInt(_0x297386(0x111))/0x8*(parseInt(_0x297386(0x10e))/0x9)+parseInt(_0x297386(0x115))/0xa*(-parseInt(_0x297386(0x11a))/0xb);if(_0x35ae74===_0x3e9b66)break;else _0x456fb5['push'](_0x456fb5['shift']());}catch(_0x529b71){_0x456fb5['push'](_0x456fb5['shift']());}}}(a30_0x3f14,0x6eec1));const requestSpy=require(a30_0x2c2f08(0x112)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require('../../../helpers/test-observability/utils');function a30_0x3f14(){const _0x4e9205=['3065200jorsiw','3969927qkMZoc','lXEOS','timeout','16CbaTZG','../../../helpers/request-spy','4GPxTtT','55763qOxrmM','24671510geSikC','mochaHooks','748468oPZfzJ','1194CHHmOV','1450824yFafCo','11yxDPqp','30499bcjdvj'];a30_0x3f14=function(){return _0x4e9205;};return a30_0x3f14();}exports[a30_0x2c2f08(0x116)]={'beforeAll'(){const _0xccc58c=a30_0x2c2f08,_0x58e8a1={'lXEOS':function(_0x4ff0cb){return _0x4ff0cb();}},_0x148f8a='browserstack internal helper hook';_0x58e8a1[_0xccc58c(0x10f)](addRequestSpy);},'afterAll'(){const _0x3785b4=a30_0x2c2f08,_0x2b506c='browserstack internal helper hook';this[_0x3785b4(0x110)](0xea60),requestSpy['restore']();}};
@@ -1 +1 @@
1
- const a31_0x144b8d=a31_0x1412;function a31_0x37d8(){const _0x394313=['substring','sendPlatformDetails','../../utils/logPatcher','hook:','passed','YPKGs','MFmjG','getBrowserVersion','getHookSkippedTests','vyFfB','3711120lcRvWM','uuid','TEST_PLATFORM','_afterEach','3dazuZm','getPlatform','../../../helpers/test-observability/constants','IRQre','_afterAll','hook','CyQhL','slice','unknown_grid','9181lJVhlb','TBvKy','52wMgElk','pid','../../../../package.json','fNXny','parent','uYvMY','toJSON','hookAnalyticsId','QXdeU','gvyCV','iWwSB','YjwIj','map_','type','__cloud_provider___','SjdgG','kYuvc','WzjpE','QBnOs','../../../helpers/testhub/utils','662768UJBSoW','string','getHooksForTest','suites','DsWLz','Vybyg','concat','js-','BzXYF','6286422NqcUVe','indexOf','AWSEN','split','getCapabilities','bs:addPlatformDetails:','OGKMf','forEach','generic','eWYpG','LyaVi','33193974LYTZhM','2670tikoeV','fromEntries','UFoxF','xJaqn','lodash','pending','xFOpN','state','toISOString','markedStatus','emit','../../../helpers/helper','mapTestHooks','_beforeEach','reduce','CqDtK','../../../helpers/test-observability/utils','5DdQKpq','getHookDetails','lhJjc','IsuSI','4236024EPPLPh','tests','7587TCVVIa','iVtnu','browserstack','getSession'];a31_0x37d8=function(){return _0x394313;};return a31_0x37d8();}(function(_0x7f33d0,_0x3e3a98){const _0x17f5e3=a31_0x1412,_0x5e9905=_0x7f33d0();while(!![]){try{const _0x27d0c5=-parseInt(_0x17f5e3(0xc8))/0x1*(-parseInt(_0x17f5e3(0xca))/0x2)+parseInt(_0x17f5e3(0x11c))/0x3*(-parseInt(_0x17f5e3(0xde))/0x4)+parseInt(_0x17f5e3(0x104))/0x5*(-parseInt(_0x17f5e3(0xe7))/0x6)+-parseInt(_0x17f5e3(0x118))/0x7+-parseInt(_0x17f5e3(0x108))/0x8+parseInt(_0x17f5e3(0x10a))/0x9*(-parseInt(_0x17f5e3(0xf3))/0xa)+parseInt(_0x17f5e3(0xf2))/0xb;if(_0x27d0c5===_0x3e3a98)break;else _0x5e9905['push'](_0x5e9905['shift']());}catch(_0x196f0a){_0x5e9905['push'](_0x5e9905['shift']());}}}(a31_0x37d8,0xb9197));function a31_0x1412(_0x5cf2d7,_0x4a9b7c){const _0x37d89d=a31_0x37d8();return a31_0x1412=function(_0x1412b8,_0x6e451e){_0x1412b8=_0x1412b8-0xc2;let _0x1b580c=_0x37d89d[_0x1412b8];return _0x1b580c;},a31_0x1412(_0x5cf2d7,_0x4a9b7c);}const {v4:uuidv4}=require(a31_0x144b8d(0x119)),{name,version}=require(a31_0x144b8d(0xcc)),logPatcher=require(a31_0x144b8d(0x110)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x144b8d(0x103)),{consoleHolder}=require(a31_0x144b8d(0x11e)),{getPlatformVersion}=require(a31_0x144b8d(0xfe)),{shouldProcessEventForTesthub}=require(a31_0x144b8d(0xdd)),{isFunction}=require(a31_0x144b8d(0xf7)),{patchConsoleLogger}=require(a31_0x144b8d(0x103));patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x4446a9=a31_0x144b8d,_0x2b2915={'iWwSB':_0x4446a9(0xef),'SjdgG':function(_0x1d7621){return _0x1d7621();}};return{'ci':_0x2b2915[_0x4446a9(0xd4)],'key':_0x2b2915[_0x4446a9(0xd9)](uuidv4),'version':version,'collector':_0x4446a9(0xe5)+name};},exports[a31_0x144b8d(0x105)]=_0x3461e8=>{const _0x589a77=a31_0x144b8d,_0x50e7a0={};_0x50e7a0[_0x589a77(0xf9)]=function(_0x1fd1a5,_0x32f172){return _0x1fd1a5!==_0x32f172;},_0x50e7a0[_0x589a77(0x117)]=_0x589a77(0xdf),_0x50e7a0[_0x589a77(0x107)]=_0x589a77(0x111),_0x50e7a0['CyQhL']=_0x589a77(0xc4);const _0x1516ef=_0x50e7a0;if(!_0x3461e8||_0x1516ef['xFOpN'](typeof _0x3461e8,_0x1516ef['vyFfB']))return[null,null];if(_0x1516ef[_0x589a77(0xf9)](_0x3461e8[_0x589a77(0xe8)](_0x1516ef['IsuSI']),-0x1)){const _0x565e9c=_0x3461e8[_0x589a77(0xea)](_0x1516ef[_0x589a77(0x107)]);return[_0x565e9c[0x0][_0x589a77(0xc6)](0x0,-0x1)[_0x589a77(0xea)]('\x22')[0x1],_0x565e9c[0x1][_0x589a77(0x10e)](0x1)];}else{if(_0x1516ef[_0x589a77(0xf9)](_0x3461e8[_0x589a77(0xe8)](_0x1516ef[_0x589a77(0xc5)]),-0x1)){const _0x2d2d81=_0x3461e8[_0x589a77(0xea)](_0x1516ef[_0x589a77(0xc5)]);return[_0x2d2d81[0x0][_0x589a77(0xc6)](0x0,-0x1)['split']('\x22')[0x1],_0x3461e8];}}return[null,null];},exports[a31_0x144b8d(0xe0)]=_0x43a925=>{const _0x23e395=a31_0x144b8d,_0x23c5b1={'xJaqn':function(_0x4611dd,_0x5d7af6){return _0x4611dd(_0x5d7af6);},'Vybyg':'_beforeAll','YPKGs':_0x23e395(0xc3),'gvyCV':_0x23e395(0x100),'WzjpE':'_afterEach'};if(!_0x43a925||!_0x43a925[_0x23e395(0xce)])return[];const _0x462539=[];return[_0x23c5b1[_0x23e395(0xe3)],_0x23c5b1[_0x23e395(0x113)],_0x23c5b1[_0x23e395(0xd3)],_0x23c5b1[_0x23e395(0xdb)]][_0x23e395(0xee)](_0x1008f2=>{const _0x1a6b7e=_0x23e395,_0x3d1a6d={'jWoFW':function(_0x49d46f,_0x4a731a){const _0x552ce2=a31_0x1412;return _0x23c5b1[_0x552ce2(0xf6)](_0x49d46f,_0x4a731a);}},_0x2150c4=_0x43a925['parent'][_0x1008f2]||[];_0x2150c4[_0x1a6b7e(0xee)](_0x241e56=>{const _0x5d637c=_0x1a6b7e;_0x241e56[_0x5d637c(0xd1)]&&!_0x3d1a6d['jWoFW'](isInternalHook,_0x241e56['fn'])&&_0x462539['push'](_0x241e56[_0x5d637c(0xd1)]);});}),[..._0x462539,...exports[_0x23e395(0xe0)](_0x43a925[_0x23e395(0xce)])];},exports[a31_0x144b8d(0xff)]=_0x71a88=>{const _0x36eeb2=a31_0x144b8d,_0x3a60a5={'DsWLz':function(_0x3184fb){return _0x3184fb();},'MFmjG':function(_0x20f810,_0x52b2b3){return _0x20f810===_0x52b2b3;},'fNXny':_0x36eeb2(0x11b),'AWSEN':'_beforeAll','uYvMY':_0x36eeb2(0xc3),'fdbta':_0x36eeb2(0x100)};if(!_0x71a88||!_0x71a88[_0x36eeb2(0xce)])return;[_0x3a60a5[_0x36eeb2(0xe9)],_0x3a60a5[_0x36eeb2(0xcf)],_0x3a60a5['fdbta'],_0x3a60a5[_0x36eeb2(0xcd)]]['forEach'](_0x3dcb89=>{const _0x2655d4=_0x36eeb2,_0x10f0af={'IRQre':function(_0xc07e20){const _0x2dee08=a31_0x1412;return _0x3a60a5[_0x2dee08(0xe2)](_0xc07e20);},'BzXYF':function(_0x1b9f90,_0x18ea98){const _0x4af961=a31_0x1412;return _0x3a60a5[_0x4af961(0x114)](_0x1b9f90,_0x18ea98);},'eWYpG':_0x3a60a5[_0x2655d4(0xcd)]},_0x569776=_0x71a88[_0x2655d4(0xce)][_0x3dcb89]||[];_0x569776[_0x2655d4(0xee)](_0x428aec=>{const _0x4f9fb1=_0x2655d4;if(!_0x428aec[_0x4f9fb1(0xd1)])_0x428aec[_0x4f9fb1(0xd1)]=_0x10f0af['IRQre'](uuidv4);else _0x428aec['markedStatus']&&_0x10f0af[_0x4f9fb1(0xe6)](_0x3dcb89,_0x10f0af[_0x4f9fb1(0xf0)])&&(_0x428aec[_0x4f9fb1(0xd1)]=_0x10f0af[_0x4f9fb1(0xc2)](uuidv4),delete _0x428aec[_0x4f9fb1(0xfc)]);});}),exports[_0x36eeb2(0xff)](_0x71a88[_0x36eeb2(0xce)]);},exports[a31_0x144b8d(0x10f)]=async(_0xcd03a2,_0x560438)=>{const _0x565eca=a31_0x144b8d,_0x3b1404={'kYuvc':function(_0xf61b5){return _0xf61b5();},'YjwIj':function(_0x3b1e21,_0x5894c6){return _0x3b1e21(_0x5894c6);},'UFoxF':function(_0x426961,_0x9067ff){return _0x426961===_0x9067ff;},'QXdeU':_0x565eca(0x10c),'QBnOs':_0x565eca(0xc7),'iVtnu':_0x565eca(0x11a)};try{if(!_0x3b1404[_0x565eca(0xda)](shouldProcessEventForTesthub))return;const _0x46a8b9=await _0xcd03a2[_0x565eca(0xeb)](),_0x9a50b0=await _0xcd03a2[_0x565eca(0x10d)](),_0x2d4202={},_0x1f2006=Object[_0x565eca(0xf4)](_0x9a50b0[_0x565eca(0xeb)]()[_0x565eca(0xd6)]),_0x2abf42={'product':_0x3b1404[_0x565eca(0xd5)](getObservabilityLinkedProductName,_0x1f2006),'capabilities':_0x1f2006,'platform':_0x46a8b9[_0x565eca(0x11d)](),'platform_version':_0x3b1404[_0x565eca(0xd5)](getPlatformVersion,_0x3b1404[_0x565eca(0xf5)](global[_0x565eca(0xd8)],_0x3b1404[_0x565eca(0xd2)])),'browser':_0x46a8b9['getBrowserName'](),'browser_version':_0x46a8b9[_0x565eca(0x115)](),'session_id':_0x9a50b0[_0x565eca(0xd0)]()};global[_0x565eca(0xd8)]?_0x2d4202[global[_0x565eca(0xd8)]]=_0x2abf42:_0x2d4202[_0x3b1404[_0x565eca(0xdc)]]=_0x2abf42,process[_0x565eca(0xfd)](_0x565eca(0xec)+process[_0x565eca(0xcb)],{'timestamp':new Date()[_0x565eca(0xfb)](),'level':null,'message':null,'kind':_0x3b1404[_0x565eca(0x10b)],'http_response':_0x2d4202,'uuid':_0x560438});}catch(_0x926f9b){_0x3b1404[_0x565eca(0xd5)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x926f9b);}},exports[a31_0x144b8d(0x116)]=_0x2c28da=>{const _0xd8a7a4=a31_0x144b8d,_0x3d2c9c={};_0x3d2c9c[_0xd8a7a4(0x102)]=function(_0xd507af,_0x2cf88d){return _0xd507af!==_0x2cf88d;},_0x3d2c9c[_0xd8a7a4(0xc9)]='hook',_0x3d2c9c[_0xd8a7a4(0x106)]=_0xd8a7a4(0x112),_0x3d2c9c['OGKMf']=function(_0x4d91a0,_0x39376d){return _0x4d91a0!==_0x39376d;},_0x3d2c9c[_0xd8a7a4(0xf1)]='failed';const _0x2c3ce6=_0x3d2c9c,_0x3b0c6d=_0x2c28da[_0xd8a7a4(0xe1)][_0xd8a7a4(0x101)]((_0x47260c,_0x29deb7)=>{const _0x48a429=_0xd8a7a4,_0x3dcec7=exports[_0x48a429(0x116)](_0x29deb7);return _0x3dcec7&&(_0x47260c=_0x47260c[_0x48a429(0xe4)](_0x3dcec7)),_0x47260c;},[]),_0x185dec=_0x2c28da[_0xd8a7a4(0x109)]['filter'](_0x57ea4d=>{const _0x42114d=_0xd8a7a4,_0x482353=_0x2c3ce6[_0x42114d(0x102)](_0x57ea4d[_0x42114d(0xd7)],_0x2c3ce6[_0x42114d(0xc9)])&&!_0x57ea4d[_0x42114d(0xfc)]&&_0x2c3ce6[_0x42114d(0x102)](_0x57ea4d['state'],_0x2c3ce6[_0x42114d(0x106)])&&_0x2c3ce6[_0x42114d(0xed)](_0x57ea4d[_0x42114d(0xfa)],_0x2c3ce6[_0x42114d(0xf1)])&&!_0x57ea4d[_0x42114d(0xf8)];return _0x482353;});return _0x185dec[_0xd8a7a4(0xe4)](_0x3b0c6d);};
1
+ const a31_0x524012=a31_0x14ec;(function(_0x2a74d1,_0x360408){const _0x367cac=a31_0x14ec,_0x26127b=_0x2a74d1();while(!![]){try{const _0x585695=-parseInt(_0x367cac(0x1bb))/0x1*(-parseInt(_0x367cac(0x19e))/0x2)+parseInt(_0x367cac(0x1d7))/0x3*(parseInt(_0x367cac(0x18b))/0x4)+parseInt(_0x367cac(0x1c1))/0x5*(parseInt(_0x367cac(0x19f))/0x6)+-parseInt(_0x367cac(0x1cd))/0x7*(parseInt(_0x367cac(0x1a9))/0x8)+-parseInt(_0x367cac(0x1bd))/0x9+parseInt(_0x367cac(0x1b4))/0xa+parseInt(_0x367cac(0x196))/0xb;if(_0x585695===_0x360408)break;else _0x26127b['push'](_0x26127b['shift']());}catch(_0x2a500d){_0x26127b['push'](_0x26127b['shift']());}}}(a31_0x19e5,0x3406d));const {v4:uuidv4}=require(a31_0x524012(0x19c)),{name,version}=require(a31_0x524012(0x188)),logPatcher=require(a31_0x524012(0x192)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x524012(0x194)),{consoleHolder}=require(a31_0x524012(0x1ac)),{getPlatformVersion}=require(a31_0x524012(0x1cf)),{shouldProcessEventForTesthub}=require(a31_0x524012(0x195)),{isFunction}=require(a31_0x524012(0x1d3)),{patchConsoleLogger}=require(a31_0x524012(0x194));function a31_0x19e5(){const _0x427728=['zVlBu','generic','split','_beforeEach','bPtOw','2880661qHZJce','_afterAll','../../../helpers/helper','FrRly','BoMBK','SlXvg','lodash','js-','bs:addPlatformDetails:','yomRH','12mqhdwy','hook','getCapabilities','FbFaq','push','getSession','state','TEST_PLATFORM','../../../../package.json','getHookSkippedTests','pid','285700GPzskf','XrCyB','SUyEu','toISOString','string','getBrowserVersion','indexOf','../../utils/logPatcher','reduce','../../../helpers/test-observability/utils','../../../helpers/testhub/utils','4195752DRlpXo','sendPlatformDetails','iGVIa','type','mapTestHooks','parent','uuid','fromEntries','4514aaPpUK','105114yVPGwf','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','forEach','uMETD','markedStatus','__cloud_provider___','pending','getHookDetails','substring','CGFxW','8wOHKal','slice','xPQPI','../../../helpers/test-observability/constants','browserstack','Vkcol','toJSON','jNZhj','passed','fqCdv','getTestEnv','2641040SjzWau','aqHoP','concat','hookAnalyticsId','hzJGr','zYNDq','_beforeAll','11JsBHeT','hook:','3140622dAkqIM','dWAHw','lAhxV','HeLWW','5AcnDpN','fPFkO','LrysU','PWoIn','Aysjd','_afterEach','PBCyj'];a31_0x19e5=function(){return _0x427728;};return a31_0x19e5();}function a31_0x14ec(_0x229776,_0xcd0a28){const _0x19e5d1=a31_0x19e5();return a31_0x14ec=function(_0x14ec7b,_0x4d5d37){_0x14ec7b=_0x14ec7b-0x182;let _0xa4e2a6=_0x19e5d1[_0x14ec7b];return _0xa4e2a6;},a31_0x14ec(_0x229776,_0xcd0a28);}patchConsoleLogger(),exports[a31_0x524012(0x1b3)]=()=>{const _0x12528f=a31_0x524012,_0x4e633e={'BoMBK':_0x12528f(0x1c9),'hzJGr':function(_0xfe730b){return _0xfe730b();}};return{'ci':_0x4e633e[_0x12528f(0x1d1)],'key':_0x4e633e[_0x12528f(0x1b8)](uuidv4),'version':version,'collector':_0x12528f(0x1d4)+name};},exports[a31_0x524012(0x1a6)]=_0x33d811=>{const _0x2716c9=a31_0x524012,_0x311d35={};_0x311d35[_0x2716c9(0x1c7)]=function(_0x11cdfc,_0x33704c){return _0x11cdfc!==_0x33704c;},_0x311d35[_0x2716c9(0x1c3)]=_0x2716c9(0x18f),_0x311d35[_0x2716c9(0x1ae)]=_0x2716c9(0x1bc),_0x311d35[_0x2716c9(0x1bf)]=function(_0x48774c,_0x1b0e04){return _0x48774c!==_0x1b0e04;},_0x311d35[_0x2716c9(0x1c5)]=_0x2716c9(0x1d8);const _0x4f6d63=_0x311d35;if(!_0x33d811||_0x4f6d63[_0x2716c9(0x1c7)](typeof _0x33d811,_0x4f6d63[_0x2716c9(0x1c3)]))return[null,null];if(_0x4f6d63[_0x2716c9(0x1c7)](_0x33d811[_0x2716c9(0x191)](_0x4f6d63['Vkcol']),-0x1)){const _0x5af766=_0x33d811[_0x2716c9(0x1ca)](_0x4f6d63['Vkcol']);return[_0x5af766[0x0][_0x2716c9(0x1aa)](0x0,-0x1)['split']('\x22')[0x1],_0x5af766[0x1][_0x2716c9(0x1a7)](0x1)];}else{if(_0x4f6d63[_0x2716c9(0x1bf)](_0x33d811[_0x2716c9(0x191)](_0x4f6d63[_0x2716c9(0x1c5)]),-0x1)){const _0x2f1518=_0x33d811[_0x2716c9(0x1ca)](_0x4f6d63[_0x2716c9(0x1c5)]);return[_0x2f1518[0x0][_0x2716c9(0x1aa)](0x0,-0x1)[_0x2716c9(0x1ca)]('\x22')[0x1],_0x33d811];}}return[null,null];},exports['getHooksForTest']=_0x4b7c3f=>{const _0x2ae326=a31_0x524012,_0x400ec3={'fPFkO':function(_0x1c3b93,_0x2b2554){return _0x1c3b93(_0x2b2554);},'FrRly':_0x2ae326(0x1ba),'lROSX':_0x2ae326(0x1ce),'bPtOw':_0x2ae326(0x1cb),'ASFdq':_0x2ae326(0x1c6)};if(!_0x4b7c3f||!_0x4b7c3f[_0x2ae326(0x19b)])return[];const _0x3d524b=[];return[_0x400ec3[_0x2ae326(0x1d0)],_0x400ec3['lROSX'],_0x400ec3[_0x2ae326(0x1cc)],_0x400ec3['ASFdq']][_0x2ae326(0x1a1)](_0x4df663=>{const _0x34a803=_0x2ae326,_0x52bdd6=_0x4b7c3f['parent'][_0x4df663]||[];_0x52bdd6[_0x34a803(0x1a1)](_0x4993cf=>{const _0x2db102=_0x34a803;_0x4993cf[_0x2db102(0x1b7)]&&!_0x400ec3[_0x2db102(0x1c2)](isInternalHook,_0x4993cf['fn'])&&_0x3d524b[_0x2db102(0x184)](_0x4993cf['hookAnalyticsId']);});}),[..._0x3d524b,...exports['getHooksForTest'](_0x4b7c3f[_0x2ae326(0x19b)])];},exports[a31_0x524012(0x19a)]=_0x1ff302=>{const _0x4f8911=a31_0x524012,_0x4d77f3={'xPQPI':function(_0x556cb9){return _0x556cb9();},'dWAHw':function(_0x3e89ef,_0x35b7fa){return _0x3e89ef===_0x35b7fa;},'aqHoP':_0x4f8911(0x1c6),'SlXvg':'_beforeAll','zYNDq':_0x4f8911(0x1ce),'FZUWK':_0x4f8911(0x1cb)};if(!_0x1ff302||!_0x1ff302[_0x4f8911(0x19b)])return;[_0x4d77f3[_0x4f8911(0x1d2)],_0x4d77f3[_0x4f8911(0x1b9)],_0x4d77f3['FZUWK'],_0x4d77f3[_0x4f8911(0x1b5)]]['forEach'](_0x52cfbc=>{const _0x690502=_0x4f8911,_0x5ba054={'uMETD':function(_0x232088){const _0x42a806=a31_0x14ec;return _0x4d77f3[_0x42a806(0x1ab)](_0x232088);},'CGFxW':function(_0x3bca2b,_0x4f3806){const _0x30641e=a31_0x14ec;return _0x4d77f3[_0x30641e(0x1be)](_0x3bca2b,_0x4f3806);},'SUyEu':_0x4d77f3[_0x690502(0x1b5)]},_0x19205b=_0x1ff302[_0x690502(0x19b)][_0x52cfbc]||[];_0x19205b['forEach'](_0x25f8a7=>{const _0x589625=_0x690502;if(!_0x25f8a7[_0x589625(0x1b7)])_0x25f8a7[_0x589625(0x1b7)]=_0x5ba054[_0x589625(0x1a2)](uuidv4);else _0x25f8a7[_0x589625(0x1a3)]&&_0x5ba054[_0x589625(0x1a8)](_0x52cfbc,_0x5ba054[_0x589625(0x18d)])&&(_0x25f8a7[_0x589625(0x1b7)]=_0x5ba054[_0x589625(0x1a2)](uuidv4),delete _0x25f8a7[_0x589625(0x1a3)]);});}),exports[_0x4f8911(0x19a)](_0x1ff302[_0x4f8911(0x19b)]);},exports[a31_0x524012(0x197)]=async(_0x19e8ed,_0x2a4aca)=>{const _0x208bfd=a31_0x524012,_0xe50d45={'OfKda':function(_0x30275a){return _0x30275a();},'EzTDX':function(_0x1353a7,_0x45df7a){return _0x1353a7(_0x45df7a);},'PWoIn':function(_0x5e13c0,_0x5de39c){return _0x5e13c0===_0x5de39c;},'PpcLY':_0x208bfd(0x1ad),'jNZhj':'unknown_grid','zVlBu':_0x208bfd(0x187),'SjwcN':function(_0x29668b,_0xfebdb){return _0x29668b(_0xfebdb);}};try{if(!_0xe50d45['OfKda'](shouldProcessEventForTesthub))return;const _0x3f0b45=await _0x19e8ed['getCapabilities'](),_0x27be86=await _0x19e8ed[_0x208bfd(0x185)](),_0x1fb2fb={},_0x3c406c=Object[_0x208bfd(0x19d)](_0x27be86[_0x208bfd(0x182)]()['map_']),_0x1d533c={'product':_0xe50d45['EzTDX'](getObservabilityLinkedProductName,_0x3c406c),'capabilities':_0x3c406c,'platform':_0x3f0b45['getPlatform'](),'platform_version':_0xe50d45['EzTDX'](getPlatformVersion,_0xe50d45[_0x208bfd(0x1c4)](global[_0x208bfd(0x1a4)],_0xe50d45['PpcLY'])),'browser':_0x3f0b45['getBrowserName'](),'browser_version':_0x3f0b45[_0x208bfd(0x190)](),'session_id':_0x27be86[_0x208bfd(0x1af)]()};global['__cloud_provider___']?_0x1fb2fb[global['__cloud_provider___']]=_0x1d533c:_0x1fb2fb[_0xe50d45[_0x208bfd(0x1b0)]]=_0x1d533c,process['emit'](_0x208bfd(0x1d5)+process[_0x208bfd(0x18a)],{'timestamp':new Date()[_0x208bfd(0x18e)](),'level':null,'message':null,'kind':_0xe50d45[_0x208bfd(0x1c8)],'http_response':_0x1fb2fb,'uuid':_0x2a4aca});}catch(_0x3c58d0){_0xe50d45['SjwcN'](debug,_0x208bfd(0x1a0)+_0x3c58d0);}},exports['getHookSkippedTests']=_0x5520a3=>{const _0x3b3bf9=a31_0x524012,_0x1a50ef={};_0x1a50ef[_0x3b3bf9(0x1b2)]=function(_0x5eab20,_0x32c2e0){return _0x5eab20!==_0x32c2e0;},_0x1a50ef['HeLWW']=_0x3b3bf9(0x1d8),_0x1a50ef[_0x3b3bf9(0x183)]=function(_0x159d6d,_0x4a3d7c){return _0x159d6d!==_0x4a3d7c;},_0x1a50ef[_0x3b3bf9(0x18c)]=_0x3b3bf9(0x1b1),_0x1a50ef['iGVIa']=function(_0x520ce4,_0x5b913b){return _0x520ce4!==_0x5b913b;},_0x1a50ef[_0x3b3bf9(0x1d6)]='failed';const _0x10d654=_0x1a50ef,_0x14423a=_0x5520a3['suites'][_0x3b3bf9(0x193)]((_0x1f4858,_0x344edf)=>{const _0x508904=_0x3b3bf9,_0x432d39=exports[_0x508904(0x189)](_0x344edf);return _0x432d39&&(_0x1f4858=_0x1f4858[_0x508904(0x1b6)](_0x432d39)),_0x1f4858;},[]),_0x3286c3=_0x5520a3['tests']['filter'](_0x4aa9ae=>{const _0xc50d6e=_0x3b3bf9,_0x422497=_0x10d654[_0xc50d6e(0x1b2)](_0x4aa9ae[_0xc50d6e(0x199)],_0x10d654[_0xc50d6e(0x1c0)])&&!_0x4aa9ae[_0xc50d6e(0x1a3)]&&_0x10d654[_0xc50d6e(0x183)](_0x4aa9ae[_0xc50d6e(0x186)],_0x10d654[_0xc50d6e(0x18c)])&&_0x10d654[_0xc50d6e(0x198)](_0x4aa9ae['state'],_0x10d654['yomRH'])&&!_0x4aa9ae[_0xc50d6e(0x1a5)];return _0x422497;});return _0x3286c3[_0x3b3bf9(0x1b6)](_0x14423a);};
@@ -1 +1 @@
1
- function a32_0x5efe(_0x2762df,_0x10a278){const _0x539b58=a32_0x539b();return a32_0x5efe=function(_0x5efe14,_0x12cbb9){_0x5efe14=_0x5efe14-0xa9;let _0x314a4d=_0x539b58[_0x5efe14];return _0x314a4d;},a32_0x5efe(_0x2762df,_0x10a278);}const a32_0x4def35=a32_0x5efe;(function(_0x7a7c23,_0x14f45c){const _0x40e28f=a32_0x5efe,_0x175c1a=_0x7a7c23();while(!![]){try{const _0x28d9a1=parseInt(_0x40e28f(0xb3))/0x1*(-parseInt(_0x40e28f(0x133))/0x2)+-parseInt(_0x40e28f(0x116))/0x3*(parseInt(_0x40e28f(0xfd))/0x4)+parseInt(_0x40e28f(0xa9))/0x5+parseInt(_0x40e28f(0xd5))/0x6+parseInt(_0x40e28f(0x107))/0x7*(-parseInt(_0x40e28f(0xc0))/0x8)+-parseInt(_0x40e28f(0xf5))/0x9+parseInt(_0x40e28f(0xbf))/0xa;if(_0x28d9a1===_0x14f45c)break;else _0x175c1a['push'](_0x175c1a['shift']());}catch(_0x175f42){_0x175c1a['push'](_0x175c1a['shift']());}}}(a32_0x539b,0xbc668));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x4def35(0xe3)),{percyAutoCapture}=require(a32_0x4def35(0xaf)),{sendPlatformDetails}=require(a32_0x4def35(0xdb)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a32_0x4def35(0x103)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x4def35(0x128)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require('../../helpers/globals'),logger=require(a32_0x4def35(0xcc))[a32_0x4def35(0xe4)],{shouldProcessEventForTesthub}=require(a32_0x4def35(0xf7)),testHubConstants=require(a32_0x4def35(0x135));exports[a32_0x4def35(0x134)]={'beforeAll'(){const _0x245c56=a32_0x4def35,_0xe85fc9={'pFbxd':function(_0x325c8b,_0x133466,_0x246f4c,_0x548ea5){return _0x325c8b(_0x133466,_0x246f4c,_0x548ea5);},'RilQX':_0x245c56(0xc4),'TqKVz':_0x245c56(0xdd),'TPBsN':function(_0x3c5da0,_0x10a739,_0x50d60e){return _0x3c5da0(_0x10a739,_0x50d60e);},'wGHWC':_0x245c56(0x104),'sWgbk':function(_0x51deaa){return _0x51deaa();},'mfdCv':_0x245c56(0xe1),'dnqEg':_0x245c56(0x12c)};PerformanceTester[_0x245c56(0x106)]();const _0x57e963='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x245c56(0xc6)],()=>{const _0x6c3d69=_0x245c56;global[_0x6c3d69(0x109)]=[],global[_0x6c3d69(0x11e)]=![],global[_0x6c3d69(0x119)]=async()=>{const _0x3ec248=_0x6c3d69;let _0xa73f55=![];try{await global['__drivers'][0x0]['session_'],_0xa73f55=!![],global[_0x3ec248(0x11e)]?await _0xe85fc9[_0x3ec248(0xf0)](markSessionStatus,global['__drivers'][0x0],_0xe85fc9['RilQX'],global[_0x3ec248(0x109)]['join'](_0xe85fc9[_0x3ec248(0x11a)])):await _0xe85fc9[_0x3ec248(0xb6)](markSessionStatus,global['__drivers'][0x0],_0xe85fc9['wGHWC']);}catch(_0x1446a7){logger[_0x3ec248(0x114)](_0x3ec248(0x115)+_0x1446a7);}global[_0x3ec248(0x109)]=[],global['__sessionFailed']=![];if(_0xa73f55)try{try{_0xe85fc9['sWgbk'](shouldProcessEventForTesthub)&&(global[_0x3ec248(0xab)][0x0]&&await _0xe85fc9[_0x3ec248(0xb6)](sendPlatformDetails,global[_0x3ec248(0xab)][0x0],this[_0x3ec248(0x10a)]?this['currentTest'][_0x3ec248(0x12d)]:null));}catch(_0x5699ed){logger['debug'](_0x3ec248(0xef)+_0x5699ed);}await global['__drivers'][0x0][_0x3ec248(0xff)]();}catch(_0x162eea){logger[_0x3ec248(0x114)](_0x3ec248(0x132)+_0x162eea);}};},{'platform':_0xe85fc9[_0x245c56(0xb6)](nestedKeyValue,global['__platformCaps'],[_0xe85fc9[_0x245c56(0x10d)]]),'hookType':_0xe85fc9['dnqEg']})();},'beforeEach'(_0x4851a8){const _0x3e5a91=a32_0x4def35,_0x1d07b3={'CDEMc':function(_0x546b52,_0x1408b3){return _0x546b52>_0x1408b3;},'WQiwV':function(_0x44a1aa,_0x25345b){return _0x44a1aa>_0x25345b;},'jCHFX':_0x3e5a91(0xac),'trFef':function(_0x583843,_0x888dc5,_0x5c6a89){return _0x583843(_0x888dc5,_0x5c6a89);},'WorMM':'bstackA11yShouldScan','caKGu':function(_0x57d1f8){return _0x57d1f8();},'QRWSG':'isAccessibilityPlatform','SZUmg':function(_0x520c1d,_0x5a58ec){return _0x520c1d===_0x5a58ec;},'NmlVn':_0x3e5a91(0xf8),'iEDXv':_0x3e5a91(0x117),'JzHdT':_0x3e5a91(0xd9),'GBFWf':'Automate\x20test\x20case\x20execution\x20has\x20started.','yLHSW':'browserstackTestName','sIrIb':'index','yleYj':_0x3e5a91(0xfe)};globals['setGlobal'](_0x1d07b3[_0x3e5a91(0x12a)],this[_0x3e5a91(0x10a)][_0x3e5a91(0xe5)]()[_0x3e5a91(0xe0)](_0x1d07b3[_0x3e5a91(0xf9)])),PerformanceTester[_0x3e5a91(0xd6)](PerformanceSdkEvents[_0x3e5a91(0xc6)],()=>{const _0x58f790=_0x3e5a91,_0x5b89d0={'zIXCt':function(_0x2de578){const _0x5d3014=a32_0x5efe;return _0x1d07b3[_0x5d3014(0xf3)](_0x2de578);}},_0x337141='browserstack internal helper hook';new Promise(async _0x2b1c18=>{const _0x57a1e5=a32_0x5efe;let _0x788650=!![];try{_0x1d07b3[_0x57a1e5(0xec)](global[_0x57a1e5(0xab)][_0x57a1e5(0xfb)],0x1)&&(await global[_0x57a1e5(0x119)](),global[_0x57a1e5(0xab)][_0x57a1e5(0x13b)]()),_0x1d07b3['WQiwV'](global[_0x57a1e5(0xab)][0x0][_0x57a1e5(0xcd)],0x0)&&(_0x788650=![],await global[_0x57a1e5(0x119)]());}catch(_0x2319c7){logger[_0x57a1e5(0x114)](_0x57a1e5(0x132)+_0x2319c7);}try{Array[_0x57a1e5(0x13f)](global['__drivers'])&&global[_0x57a1e5(0xab)][0x0]&&(global[_0x57a1e5(0xab)][0x0][_0x57a1e5(0xdf)]=this[_0x57a1e5(0x10a)][_0x57a1e5(0xe5)]()[_0x57a1e5(0xe0)](_0x1d07b3[_0x57a1e5(0xf9)])),global[_0x57a1e5(0xdf)]=this[_0x57a1e5(0x10a)]['titlePath']()[_0x57a1e5(0xe0)](_0x1d07b3[_0x57a1e5(0xf9)]);}catch(_0x35483e){logger['debug']('Failed\x20to\x20store\x20session\x20name:\x20'+_0x35483e);}this[_0x57a1e5(0x10a)]['shouldScanTestForAccessibility']=_0x1d07b3[_0x57a1e5(0xea)](shouldScanTestForAccessibility,this['currentTest'][_0x57a1e5(0xe5)](),!![]),globals[_0x57a1e5(0x101)](_0x1d07b3[_0x57a1e5(0x127)],this[_0x57a1e5(0x10a)][_0x57a1e5(0xc8)]),this[_0x57a1e5(0x10a)][_0x57a1e5(0x136)]=!![];if(_0x1d07b3['caKGu'](isAccessibilityAutomationSession)&&_0x788650&&Array[_0x57a1e5(0x13f)](global[_0x57a1e5(0xab)])&&_0x1d07b3[_0x57a1e5(0x12e)](global[_0x57a1e5(0xab)][_0x57a1e5(0xfb)],0x0)&&globals['getGlobal'](_0x1d07b3[_0x57a1e5(0xd8)]))try{const _0x41aa57=await global[_0x57a1e5(0xab)][0x0][_0x57a1e5(0xf1)];if(_0x41aa57){let _0x18f20f=!![];const _0x2186ea=await global[_0x57a1e5(0xab)][0x0][_0x57a1e5(0x12b)]();let _0x250e34;try{_0x250e34=new URL(_0x2186ea);}catch(_0x4f2019){_0x18f20f=![];}_0x18f20f=_0x1d07b3['SZUmg'](_0x250e34['protocol'],_0x1d07b3['NmlVn'])||_0x1d07b3[_0x57a1e5(0xb4)](_0x250e34[_0x57a1e5(0x110)],_0x1d07b3['iEDXv']),_0x18f20f&&(this[_0x57a1e5(0x10a)]['shouldScanTestForAccessibility']&&logger[_0x57a1e5(0x131)](_0x1d07b3['JzHdT'])),this[_0x57a1e5(0x10a)]['accessibilityScanStarted']=this[_0x57a1e5(0x10a)][_0x57a1e5(0xc8)],this['currentTest'][_0x57a1e5(0xc8)]&&logger[_0x57a1e5(0x131)](_0x1d07b3[_0x57a1e5(0x130)]);}}catch(_0x2598e9){logger['error'](_0x57a1e5(0xda)+util[_0x57a1e5(0xed)](_0x2598e9));}_0x1d07b3[_0x57a1e5(0xf3)](_0x2b1c18);})[_0x58f790(0x13e)](()=>{_0x5b89d0['zIXCt'](_0x4851a8);});},{'platform':_0x1d07b3[_0x3e5a91(0xea)](nestedKeyValue,global[_0x3e5a91(0xd4)],[_0x1d07b3['sIrIb']]),'hookType':_0x1d07b3[_0x3e5a91(0x10b)]})();},'afterEach'(_0x19d33e){const _0x2ebbef=a32_0x4def35,_0x4c5caf={'JToFw':function(_0x2d6f95,_0x1d5447){return _0x2d6f95>_0x1d5447;},'LwYOc':function(_0x494c98,_0x1cda0b){return _0x494c98===_0x1cda0b;},'sGAjX':_0x2ebbef(0xb1),'gmXsd':_0x2ebbef(0xe9),'JRJGT':function(_0x5d3083,_0x158767,_0x287edf,_0x12ffb2){return _0x5d3083(_0x158767,_0x287edf,_0x12ffb2);},'MlXaa':_0x2ebbef(0xaa),'ifIZK':_0x2ebbef(0xb9),'IFUAb':_0x2ebbef(0xc7),'iJIWS':_0x2ebbef(0xcb),'fxvNW':_0x2ebbef(0xc2),'VkTnk':_0x2ebbef(0xd1),'AfehU':function(_0x2e88b4){return _0x2e88b4();},'CJfxF':function(_0x5e5f50,_0x5de774,_0x2ba0de){return _0x5e5f50(_0x5de774,_0x2ba0de);},'NLGbu':_0x2ebbef(0x114),'OyIKg':_0x2ebbef(0xac),'lWCUD':function(_0x161e8e,_0x5a3dd8){return _0x161e8e!==_0x5a3dd8;},'skPur':_0x2ebbef(0x104),'BCqeV':function(_0x310c95,_0x1700e8){return _0x310c95+_0x1700e8;},'MVHsC':_0x2ebbef(0xb7),'HHFYf':_0x2ebbef(0xb0),'eEbuY':_0x2ebbef(0xca),'ldLeT':_0x2ebbef(0x131),'KKMRf':function(_0x104974,_0x51539c,_0x3fa316){return _0x104974(_0x51539c,_0x3fa316);},'DIsZs':'index','MHxGQ':_0x2ebbef(0xdc)},_0x5135ec='browserstack internal helper hook';this[_0x2ebbef(0x137)](0xfde8),global['sessionName']=this[_0x2ebbef(0x10a)][_0x2ebbef(0xe5)]()[_0x2ebbef(0xe0)](_0x4c5caf['OyIKg']),PerformanceTester[_0x2ebbef(0xd6)](PerformanceSdkEvents[_0x2ebbef(0xc6)],()=>{const _0x3457c3=_0x2ebbef,_0x5a9f28={'tjMaV':_0x4c5caf[_0x3457c3(0x10c)],'OXeWA':function(_0x129c87,_0x4cb611){return _0x4c5caf['lWCUD'](_0x129c87,_0x4cb611);},'AqrYo':_0x4c5caf[_0x3457c3(0x126)],'MrxoU':function(_0x1ccb9d,_0x4fd52e,_0x2632cb){const _0x5f21b0=_0x3457c3;return _0x4c5caf[_0x5f21b0(0x11c)](_0x1ccb9d,_0x4fd52e,_0x2632cb);},'oUckL':function(_0x11ab29,_0x2748f4){return _0x4c5caf['BCqeV'](_0x11ab29,_0x2748f4);},'RhVPr':_0x4c5caf['MVHsC'],'nCQUn':_0x4c5caf[_0x3457c3(0xbc)],'MVgsP':_0x4c5caf[_0x3457c3(0x108)],'qxtbe':_0x4c5caf[_0x3457c3(0xde)]},_0x2eb8a0=async(_0x5a8968,_0x54fc29)=>{const _0x326dfc=_0x3457c3;await global['__drivers'][0x0]['executeScript'](_0x326dfc(0xc3)+_0x5a8968+_0x326dfc(0x13c)+_0x54fc29+'\x22}}');};new Promise(async _0x399076=>{const _0x452574=_0x3457c3;try{_0x4c5caf['JToFw'](global['__drivers'][_0x452574(0xfb)],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x452574(0x13b)](),global[_0x452574(0x109)]=[],global['__sessionFailed']=![]);try{if(global[_0x452574(0x143)]&&_0x4c5caf[_0x452574(0xbe)](global[_0x452574(0xf2)],_0x4c5caf[_0x452574(0x111)])&&global[_0x452574(0xab)][0x0]){const _0x3e456b=_0x4c5caf[_0x452574(0xb5)](global[_0x452574(0x113)][_0x452574(0xfb)],0x0)?!!global[_0x452574(0x113)][0x0][_0x452574(0x129)]||!!global[_0x452574(0x113)][0x0][_0x4c5caf[_0x452574(0xd0)]]:![],_0x5da2a2={};_0x5da2a2['app']=_0x3e456b,await _0x4c5caf[_0x452574(0xae)](percyAutoCapture,global[_0x452574(0xab)][0x0],_0x4c5caf[_0x452574(0x111)],_0x5da2a2);}}catch(_0x123844){logger[_0x452574(0x114)](_0x452574(0x11d)+_0x123844);}!global[_0x452574(0xfa)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x452574(0xf6)],async()=>{const _0xa4f9cb=_0x452574;await global[_0xa4f9cb(0xab)][0x0]['executeScript'](_0xa4f9cb(0x124)+JSON['stringify'](this[_0xa4f9cb(0x10a)][_0xa4f9cb(0xe5)]()[_0xa4f9cb(0xe0)](_0x5a9f28[_0xa4f9cb(0xba)]))+'}}');})(),global[_0x452574(0xab)][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x452574(0xd6)](PerformanceAutEvents[_0x452574(0x13d)],async()=>{const _0x1d30a0=_0x452574,_0x5f2624=_0x5a9f28[_0x1d30a0(0x100)](this[_0x1d30a0(0x10a)][_0x1d30a0(0xd2)],_0x5a9f28['AqrYo']);_0x5f2624?(global['__sessionFailed']=!![],global['__error_messages__'][_0x1d30a0(0xee)](this[_0x1d30a0(0x10a)][_0x1d30a0(0xfc)][_0x1d30a0(0x11b)]),await _0x5a9f28[_0x1d30a0(0x140)](_0x2eb8a0,JSON[_0x1d30a0(0x11f)](_0x5a9f28['oUckL'](_0x5a9f28[_0x1d30a0(0x12f)],this[_0x1d30a0(0x10a)]['err'][_0x1d30a0(0x11b)])),_0x5a9f28[_0x1d30a0(0x13a)])):await _0x5a9f28['MrxoU'](_0x2eb8a0,JSON['stringify'](_0x5a9f28['MVgsP']),_0x5a9f28['qxtbe']);})();}catch(_0x403393){logger['debug'](_0x452574(0x102)+_0x403393);}try{if(this[_0x452574(0x10a)][_0x452574(0x136)]&&globals[_0x452574(0xb8)](_0x4c5caf['MlXaa'])&&globals[_0x452574(0xb8)](_0x4c5caf[_0x452574(0x10f)])){logger[_0x452574(0x131)](_0x4c5caf[_0x452574(0xd3)]);const _0x1f768c={};_0x1f768c[_0x452574(0x142)]=this['currentTest']['testAnalyticsId'],_0x1f768c[_0x452574(0x123)]=process[_0x452574(0xbd)][testHubConstants[_0x452574(0xcf)][_0x452574(0xd7)]],_0x1f768c[_0x452574(0xc1)]=process[_0x452574(0xbd)][testHubConstants[_0x452574(0xcf)]['BROWSERSTACK_TESTHUB_JWT']];const _0xc093a5=_0x1f768c;logger[_0x452574(0x114)](_0x452574(0x145)+JSON[_0x452574(0x11f)](_0xc093a5)),logger[_0x452574(0x114)](_0x4c5caf[_0x452574(0x139)]);const _0xbd3c30={};_0xbd3c30['command']=_0x4c5caf[_0x452574(0xe2)],await PerformanceTester[_0x452574(0xd6)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x1024be=_0x452574;logger[_0x1024be(0x114)](util[_0x1024be(0xed)](await global[_0x1024be(0xab)][0x0][_0x1024be(0xbb)](scripts[_0x1024be(0xc9)],{'method':global[_0x1024be(0xdf)]})));},_0xbd3c30)(),await PerformanceTester[_0x452574(0xd6)](PerformanceA11yEvents[_0x452574(0x112)],async()=>{const _0x56520c=_0x452574;await global[_0x56520c(0xab)][0x0][_0x56520c(0xbb)](scripts[_0x56520c(0x125)],_0xc093a5);})(),logger[_0x452574(0x131)](_0x4c5caf[_0x452574(0xe6)]);}}catch(_0x42e1ff){logger[_0x452574(0xb0)](_0x452574(0xb2)+this['currentTest']['titlePath']()+_0x452574(0xc5),_0x42e1ff);}try{try{if(_0x4c5caf[_0x452574(0xf4)](shouldProcessEventForTesthub)){global[_0x452574(0xab)][0x0]&&await _0x4c5caf['CJfxF'](sendPlatformDetails,global['__drivers'][0x0],this[_0x452574(0x10a)]?this['currentTest'][_0x452574(0x12d)]:null);if(_0x4c5caf[_0x452574(0xf4)](isBrowserstackInfra)){PerformanceTester[_0x452574(0xad)](PerformanceO11yEvents[_0x452574(0x138)]);const _0x430469='ObservabilitySync:'+Date[_0x452574(0x141)]();await _0x4c5caf[_0x452574(0x11c)](_0x2eb8a0,JSON[_0x452574(0x11f)](_0x430469),_0x4c5caf[_0x452574(0x144)]),PerformanceTester[_0x452574(0xce)](PerformanceO11yEvents['SYNC']);}}}catch(_0xed8a8d){logger[_0x452574(0x114)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0xed8a8d),PerformanceTester[_0x452574(0xce)](PerformanceO11yEvents['SYNC'],![],_0xed8a8d);}_0x4c5caf[_0x452574(0xb5)](global[_0x452574(0xab)][0x0][_0x452574(0xcd)],0x0)&&await global[_0x452574(0x119)]();}catch(_0x43fe63){logger[_0x452574(0x114)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x43fe63);}_0x4c5caf[_0x452574(0xf4)](_0x399076);})['then'](()=>{const _0x574c12=_0x3457c3;_0x4c5caf[_0x574c12(0xf4)](_0x19d33e);});},{'platform':_0x4c5caf[_0x2ebbef(0xe8)](nestedKeyValue,global[_0x2ebbef(0xd4)],[_0x4c5caf[_0x2ebbef(0x10e)]]),'hookType':_0x4c5caf['MHxGQ']})();},'afterAll'(_0x1a7ff4){const _0x2c43b3=a32_0x4def35,_0x4fd94a={'FOFyS':function(_0x3da338){return _0x3da338();},'ZoAky':function(_0x19505a){return _0x19505a();},'JUOFa':function(_0x576e02,_0x27aac5,_0x5e02b4){return _0x576e02(_0x27aac5,_0x5e02b4);},'zGVLF':_0x2c43b3(0xe1),'FjDfx':_0x2c43b3(0xeb)},_0x439f4c='browserstack internal helper hook';this[_0x2c43b3(0x137)](0xfde8),PerformanceTester[_0x2c43b3(0xd6)](PerformanceSdkEvents[_0x2c43b3(0xc6)],()=>{const _0x5acc3e=_0x2c43b3,_0x579810={'sbMRi':function(_0x417196){const _0x15a54e=a32_0x5efe;return _0x4fd94a[_0x15a54e(0x105)](_0x417196);}};new Promise(async _0x15697e=>{const _0x51d8e3=a32_0x5efe;await global[_0x51d8e3(0x119)](),_0x4fd94a[_0x51d8e3(0x122)](_0x15697e);})['then']()[_0x5acc3e(0x118)](()=>{const _0x12fcfd=_0x5acc3e;_0x579810[_0x12fcfd(0x121)](_0x1a7ff4);});},{'platform':_0x4fd94a['JUOFa'](nestedKeyValue,global[_0x2c43b3(0xd4)],[_0x4fd94a[_0x2c43b3(0xe7)]]),'hookType':_0x4fd94a[_0x2c43b3(0x120)]})();}};function a32_0x539b(){const _0x2c0164=['skPur','WorMM','../../helpers/performance/constants','app','yLHSW','getCurrentUrl','beforeAll','testAnalyticsId','WQiwV','RhVPr','GBFWf','info','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','599818HLjHio','mochaHooks','../../helpers/testhub/constants','accessibilityScanStarted','timeout','SYNC','iJIWS','nCQUn','shift',',\x22level\x22:\x20\x22','SESSION_STATUS','then','isArray','MrxoU','now','thTestRunUuid','percy','NLGbu','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','4600140AUcoJh','isAccessibilityPlatform','__drivers','\x20-\x20','start','JRJGT','../../helpers/percy/utils','error','testcase','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','2lLlOFI','SZUmg','JToFw','TPBsN','Failed:\x20','getGlobal','bstackA11yShouldScan','tjMaV','executeAsyncScript','HHFYf','env','LwYOc','24581200PnNiym','1122280skTZcd','thJwtToken','afterTest','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','failed','.\x20Error\x20:','SDK_HOOK','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','shouldScanTestForAccessibility','performScan','Passed','Performing\x20scan\x20before\x20saving\x20results','../../helpers/logger','quitCount_','end','ENV_VAR','gmXsd','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','state','IFUAb','__platformCaps','2134266fJWxKX','measureWrapper','BROWSERSTACK_TESTHUB_UUID','QRWSG','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','./test-observability/mochaUtils','afterEach','\x20|\x20','ldLeT','browserstackSessionName','join','index','fxvNW','../../helpers/accessibility-automation/helper','winstonLogger','titlePath','VkTnk','zGVLF','KKMRf','appium:app','trFef','afterAll','CDEMc','format','push','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','pFbxd','session_','percyCaptureMode','caKGu','AfehU','8373465QjLakw','SESSION_NAME','../../helpers/testhub/utils','http:','jCHFX','__skipSessionName','length','err','4sbSJwi','beforeEach','initQuit','OXeWA','setGlobal','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','../../helpers/performance/performance-tester','passed','ZoAky','startMonitoring','63yYEZwE','eEbuY','__error_messages__','currentTest','yleYj','OyIKg','mfdCv','DIsZs','ifIZK','protocol','sGAjX','SAVE_RESULTS','capabilities','debug','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','508209HKZkAu','https:','finally','driverCleanup','TqKVz','message','CJfxF','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','__sessionFailed','stringify','FjDfx','sbMRi','FOFyS','thBuildUuid','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','saveTestResults'];a32_0x539b=function(){return _0x2c0164;};return a32_0x539b();}
1
+ function a32_0x1d75(_0xddc0b1,_0x317ca7){const _0x18077b=a32_0x1807();return a32_0x1d75=function(_0x1d758b,_0x4d489d){_0x1d758b=_0x1d758b-0x8f;let _0x3613af=_0x18077b[_0x1d758b];return _0x3613af;},a32_0x1d75(_0xddc0b1,_0x317ca7);}const a32_0x383505=a32_0x1d75;(function(_0x4c4b58,_0x4a085a){const _0x5c1f7d=a32_0x1d75,_0x338034=_0x4c4b58();while(!![]){try{const _0x5e75ab=parseInt(_0x5c1f7d(0xb4))/0x1*(-parseInt(_0x5c1f7d(0xc9))/0x2)+-parseInt(_0x5c1f7d(0xb2))/0x3*(parseInt(_0x5c1f7d(0xd8))/0x4)+-parseInt(_0x5c1f7d(0x13e))/0x5+parseInt(_0x5c1f7d(0xa1))/0x6+parseInt(_0x5c1f7d(0xbe))/0x7+-parseInt(_0x5c1f7d(0xb0))/0x8*(parseInt(_0x5c1f7d(0xfd))/0x9)+-parseInt(_0x5c1f7d(0xa9))/0xa*(-parseInt(_0x5c1f7d(0x96))/0xb);if(_0x5e75ab===_0x4a085a)break;else _0x338034['push'](_0x338034['shift']());}catch(_0x4e75c0){_0x338034['push'](_0x338034['shift']());}}}(a32_0x1807,0xde670));const util=require(a32_0x383505(0xdf)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x383505(0x13d)),{percyAutoCapture}=require(a32_0x383505(0x102)),{sendPlatformDetails}=require(a32_0x383505(0xdd)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x383505(0x12b)),PerformanceTester=require(a32_0x383505(0xf9)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x383505(0xfa)),scripts=require(a32_0x383505(0x9b)),globals=require(a32_0x383505(0xe8)),logger=require(a32_0x383505(0xc1))[a32_0x383505(0x12e)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a32_0x383505(0x109));exports['mochaHooks']={'beforeAll'(){const _0x51a2ca=a32_0x383505,_0x313c8c={'eFynd':function(_0x2b9fb5,_0x328747,_0xd1c0b9,_0x558e6f){return _0x2b9fb5(_0x328747,_0xd1c0b9,_0x558e6f);},'fndBF':'failed','vLPSG':_0x51a2ca(0xae),'oJRec':function(_0x5de54f,_0x2302c9,_0x961847){return _0x5de54f(_0x2302c9,_0x961847);},'fkAdn':_0x51a2ca(0xed),'ZgUDw':function(_0x306583){return _0x306583();},'UWidd':_0x51a2ca(0xc6),'TJQIH':_0x51a2ca(0xd5)};PerformanceTester[_0x51a2ca(0xe9)]();const _0x1dccbb='browserstack internal helper hook';PerformanceTester[_0x51a2ca(0x131)](PerformanceSdkEvents[_0x51a2ca(0x142)],()=>{const _0x6844d2=_0x51a2ca;global[_0x6844d2(0xde)]=[],global['__sessionFailed']=![],global[_0x6844d2(0xf1)]=async()=>{const _0x5e1205=_0x6844d2;let _0x7bd93f=![];try{await global[_0x5e1205(0xbc)][0x0][_0x5e1205(0xa6)],_0x7bd93f=!![],global[_0x5e1205(0x97)]?await _0x313c8c['eFynd'](markSessionStatus,global[_0x5e1205(0xbc)][0x0],_0x313c8c[_0x5e1205(0x138)],global['__error_messages__'][_0x5e1205(0x9e)](_0x313c8c[_0x5e1205(0x11d)])):await _0x313c8c[_0x5e1205(0xe6)](markSessionStatus,global[_0x5e1205(0xbc)][0x0],_0x313c8c[_0x5e1205(0xd1)]);}catch(_0x37049c){logger[_0x5e1205(0x113)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x37049c);}global[_0x5e1205(0xde)]=[],global[_0x5e1205(0x97)]=![];if(_0x7bd93f)try{try{_0x313c8c[_0x5e1205(0xbd)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x313c8c[_0x5e1205(0xe6)](sendPlatformDetails,global[_0x5e1205(0xbc)][0x0],this[_0x5e1205(0xbb)]?this[_0x5e1205(0xbb)][_0x5e1205(0x130)]:null));}catch(_0x1bdac0){logger[_0x5e1205(0x113)](_0x5e1205(0x132)+_0x1bdac0);}await global[_0x5e1205(0xbc)][0x0][_0x5e1205(0xf2)]();}catch(_0x24c7f9){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x24c7f9);}};},{'platform':_0x313c8c['oJRec'](nestedKeyValue,global[_0x51a2ca(0xf3)],[_0x313c8c['UWidd']]),'hookType':_0x313c8c[_0x51a2ca(0xf4)]})();},'beforeEach'(_0x365504){const _0x43c587=a32_0x383505,_0x36e2e2={'YCgoi':function(_0x4149b8,_0x4addc6){return _0x4149b8>_0x4addc6;},'qiDiN':_0x43c587(0x8f),'wgOEX':function(_0x2af00c,_0x4f226e,_0x316386){return _0x2af00c(_0x4f226e,_0x316386);},'Qwlil':'bstackA11yShouldScan','nAPGN':function(_0x4d96fd){return _0x4d96fd();},'hMQoc':_0x43c587(0x120),'uZgkP':function(_0x357e62,_0x4f50ef){return _0x357e62===_0x4f50ef;},'gvEyl':_0x43c587(0xec),'OZYIu':function(_0x38da5b,_0x1f48c5){return _0x38da5b===_0x1f48c5;},'gfEtP':_0x43c587(0x100),'mqwVE':_0x43c587(0x114),'tVCOG':'Automate\x20test\x20case\x20execution\x20has\x20started.','MTRUO':_0x43c587(0xb1),'gqGFw':function(_0x4cba8f,_0x54e56e,_0xbd9f11){return _0x4cba8f(_0x54e56e,_0xbd9f11);},'STaCM':_0x43c587(0xc6),'YgILr':_0x43c587(0xd6)};globals[_0x43c587(0xf7)](_0x36e2e2['MTRUO'],this[_0x43c587(0xbb)][_0x43c587(0xe3)]()[_0x43c587(0x9e)](_0x36e2e2[_0x43c587(0x90)])),PerformanceTester[_0x43c587(0x131)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x4cbd8b=_0x43c587,_0x17d3bb='browserstack internal helper hook';new Promise(async _0x59ade6=>{const _0x7db423=a32_0x1d75;let _0x22ec7d=!![];try{_0x36e2e2['YCgoi'](global['__drivers'][_0x7db423(0x13f)],0x1)&&(await global[_0x7db423(0xf1)](),global[_0x7db423(0xbc)][_0x7db423(0x9d)]()),_0x36e2e2['YCgoi'](global[_0x7db423(0xbc)][0x0][_0x7db423(0xd0)],0x0)&&(_0x22ec7d=![],await global[_0x7db423(0xf1)]());}catch(_0x13a39e){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x13a39e);}try{Array[_0x7db423(0x118)](global[_0x7db423(0xbc)])&&global[_0x7db423(0xbc)][0x0]&&(global['__drivers'][0x0][_0x7db423(0xe4)]=this['currentTest'][_0x7db423(0xe3)]()[_0x7db423(0x9e)](_0x36e2e2['qiDiN'])),global['browserstackSessionName']=this['currentTest']['titlePath']()[_0x7db423(0x9e)](_0x36e2e2[_0x7db423(0x90)]);}catch(_0x37b621){logger[_0x7db423(0x113)](_0x7db423(0x133)+_0x37b621);}this[_0x7db423(0xbb)][_0x7db423(0x11b)]=_0x36e2e2[_0x7db423(0xc3)](shouldScanTestForAccessibility,this[_0x7db423(0xbb)][_0x7db423(0xe3)](),!![]),globals[_0x7db423(0xf7)](_0x36e2e2[_0x7db423(0xeb)],this['currentTest'][_0x7db423(0x11b)]),this['currentTest'][_0x7db423(0xe0)]=!![];if(_0x36e2e2[_0x7db423(0xcf)](isAccessibilityAutomationSession)&&_0x22ec7d&&Array[_0x7db423(0x118)](global[_0x7db423(0xbc)])&&_0x36e2e2[_0x7db423(0xce)](global[_0x7db423(0xbc)]['length'],0x0)&&globals[_0x7db423(0xff)](_0x36e2e2[_0x7db423(0x137)]))try{const _0x2e2e20=await global['__drivers'][0x0][_0x7db423(0xa6)];if(_0x2e2e20){let _0x1dba68=!![];const _0x1f51c0=await global[_0x7db423(0xbc)][0x0][_0x7db423(0x9f)]();let _0x5c002e;try{_0x5c002e=new URL(_0x1f51c0);}catch(_0x2a9893){_0x1dba68=![];}_0x1dba68=_0x36e2e2[_0x7db423(0xfb)](_0x5c002e['protocol'],_0x36e2e2[_0x7db423(0xf8)])||_0x36e2e2[_0x7db423(0xaf)](_0x5c002e[_0x7db423(0x112)],_0x36e2e2[_0x7db423(0x12a)]),_0x1dba68&&(this[_0x7db423(0xbb)][_0x7db423(0x11b)]&&logger[_0x7db423(0xa4)](_0x36e2e2[_0x7db423(0x10c)])),this[_0x7db423(0xbb)][_0x7db423(0xe0)]=this['currentTest'][_0x7db423(0x11b)],this[_0x7db423(0xbb)]['shouldScanTestForAccessibility']&&logger[_0x7db423(0xa4)](_0x36e2e2[_0x7db423(0xd9)]);}}catch(_0x5febb8){logger[_0x7db423(0x106)](_0x7db423(0xf0)+util[_0x7db423(0xad)](_0x5febb8));}_0x36e2e2[_0x7db423(0xcf)](_0x59ade6);})[_0x4cbd8b(0xb3)](()=>{_0x36e2e2['nAPGN'](_0x365504);});},{'platform':_0x36e2e2[_0x43c587(0xd3)](nestedKeyValue,global[_0x43c587(0xf3)],[_0x36e2e2['STaCM']]),'hookType':_0x36e2e2[_0x43c587(0xe1)]})();},'afterEach'(_0xce1daf){const _0x2744fc=a32_0x383505,_0x5889be={'YoOjx':'\x20-\x20','MAiZj':function(_0x62e7eb,_0x2f37ae){return _0x62e7eb!==_0x2f37ae;},'faKWR':'passed','gubNp':function(_0x5ee315,_0x18966f,_0x3ccad5){return _0x5ee315(_0x18966f,_0x3ccad5);},'RQNaq':function(_0x56a297,_0x30816f){return _0x56a297+_0x30816f;},'MxGOb':'Failed:\x20','Gkioo':_0x2744fc(0x106),'bPpQm':'Passed','ovhZB':'info','OYoFz':function(_0x5df25b,_0xca52fb){return _0x5df25b>_0xca52fb;},'lZVNx':function(_0x5060fc,_0x37ee76){return _0x5060fc===_0x37ee76;},'vqgDe':_0x2744fc(0x13c),'fVsZx':_0x2744fc(0x10a),'iVJsR':function(_0x9f0e07,_0x2966d9,_0x135ee5,_0x28f87c){return _0x9f0e07(_0x2966d9,_0x135ee5,_0x28f87c);},'AVxhb':_0x2744fc(0x120),'GIhTW':_0x2744fc(0x104),'UxnDV':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','gitfX':_0x2744fc(0xe7),'ivFGu':_0x2744fc(0x129),'ljKPl':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','OPzTY':function(_0x4abfbf){return _0x4abfbf();},'ChmCG':function(_0x1e555a){return _0x1e555a();},'tZaBk':function(_0x478b87,_0x1ac24e,_0x5c1e60){return _0x478b87(_0x1ac24e,_0x5c1e60);},'GiNKl':_0x2744fc(0x113),'FINVi':_0x2744fc(0xc6),'TBTOI':_0x2744fc(0xdc)},_0x3e607e='browserstack internal helper hook';this[_0x2744fc(0xcb)](0xfde8),global[_0x2744fc(0x111)]=this[_0x2744fc(0xbb)][_0x2744fc(0xe3)]()[_0x2744fc(0x9e)](_0x5889be[_0x2744fc(0xe2)]),PerformanceTester[_0x2744fc(0x131)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x4288e7=_0x2744fc,_0x5aa99e={'quaAW':_0x5889be[_0x4288e7(0xe2)],'YwWnc':function(_0x3924b0,_0x3ed145){const _0x26c9e1=_0x4288e7;return _0x5889be[_0x26c9e1(0x95)](_0x3924b0,_0x3ed145);},'rEqkE':_0x5889be[_0x4288e7(0x12f)],'lATjF':function(_0x45c466,_0x39850a,_0x5732e3){return _0x5889be['gubNp'](_0x45c466,_0x39850a,_0x5732e3);},'xyREs':function(_0x370ef1,_0x3f0621){const _0x74b441=_0x4288e7;return _0x5889be[_0x74b441(0x10d)](_0x370ef1,_0x3f0621);},'BQryZ':_0x5889be['MxGOb'],'mfnLe':_0x5889be[_0x4288e7(0x119)],'gsUBb':_0x5889be['bPpQm'],'exNUQ':_0x5889be[_0x4288e7(0xcd)],'IsyoI':function(_0x3600b5,_0x10be64){const _0x273837=_0x4288e7;return _0x5889be[_0x273837(0x9c)](_0x3600b5,_0x10be64);},'SflCz':function(_0x4ad771,_0xc64e77){return _0x5889be['lZVNx'](_0x4ad771,_0xc64e77);},'bMhSO':_0x5889be[_0x4288e7(0xee)],'Jyrar':_0x5889be[_0x4288e7(0xa2)],'tLYjR':function(_0x5bd4a6,_0x41f317,_0x468d38,_0x246524){const _0x4d68e9=_0x4288e7;return _0x5889be[_0x4d68e9(0x11c)](_0x5bd4a6,_0x41f317,_0x468d38,_0x246524);},'STTYU':_0x5889be[_0x4288e7(0x116)],'kZIhd':_0x5889be[_0x4288e7(0x135)],'ZaNng':_0x5889be[_0x4288e7(0x12d)],'mGyNE':_0x5889be['gitfX'],'tBrUN':_0x5889be[_0x4288e7(0xef)],'snrwL':_0x5889be[_0x4288e7(0x143)],'XMkIU':function(_0x24f81d){const _0x3a7963=_0x4288e7;return _0x5889be[_0x3a7963(0xaa)](_0x24f81d);},'QWLQu':function(_0x357272){const _0x2c724f=_0x4288e7;return _0x5889be[_0x2c724f(0xac)](_0x357272);},'zFGcJ':function(_0x355af6,_0x17adc6,_0x3c717d){return _0x5889be['tZaBk'](_0x355af6,_0x17adc6,_0x3c717d);},'MYQpF':_0x5889be[_0x4288e7(0xca)]},_0x15336d=async(_0x460c2c,_0x405e81)=>{const _0x4258db=_0x4288e7;await global[_0x4258db(0xbc)][0x0][_0x4258db(0x12c)](_0x4258db(0xc2)+_0x460c2c+',\x22level\x22:\x20\x22'+_0x405e81+_0x4258db(0x98));};new Promise(async _0x5177cb=>{const _0x44346d=_0x4288e7,_0x5ee3ab={'MkQie':function(_0x460195,_0x17a9c7){return _0x5aa99e['YwWnc'](_0x460195,_0x17a9c7);},'WuXAx':_0x5aa99e[_0x44346d(0xba)],'LGuwu':function(_0x42adb0,_0x59a6f3,_0x5ea0d8){return _0x5aa99e['lATjF'](_0x42adb0,_0x59a6f3,_0x5ea0d8);},'PsTWY':function(_0x37cd54,_0x53e2a7){const _0x2a8646=_0x44346d;return _0x5aa99e[_0x2a8646(0x108)](_0x37cd54,_0x53e2a7);},'mmjUV':_0x5aa99e[_0x44346d(0x9a)],'DpCiD':_0x5aa99e[_0x44346d(0xcc)],'xqReR':_0x5aa99e[_0x44346d(0x134)],'ktrHN':_0x5aa99e[_0x44346d(0x139)]};try{_0x5aa99e[_0x44346d(0xab)](global[_0x44346d(0xbc)][_0x44346d(0x13f)],0x1)&&(await global['driverCleanup'](),global[_0x44346d(0xbc)][_0x44346d(0x9d)](),global[_0x44346d(0xde)]=[],global[_0x44346d(0x97)]=![]);try{if(global['percy']&&_0x5aa99e[_0x44346d(0x141)](global['percyCaptureMode'],_0x5aa99e[_0x44346d(0xa3)])&&global[_0x44346d(0xbc)][0x0]){const _0x3f4234=_0x5aa99e[_0x44346d(0xab)](global[_0x44346d(0x13b)][_0x44346d(0x13f)],0x0)?!!global[_0x44346d(0x13b)][0x0][_0x44346d(0x126)]||!!global[_0x44346d(0x13b)][0x0][_0x5aa99e[_0x44346d(0x107)]]:![],_0x20a2f7={};_0x20a2f7[_0x44346d(0x126)]=_0x3f4234,await _0x5aa99e[_0x44346d(0xa8)](percyAutoCapture,global[_0x44346d(0xbc)][0x0],_0x5aa99e['bMhSO'],_0x20a2f7);}}catch(_0x3536d5){logger[_0x44346d(0x113)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x3536d5);}!global['__skipSessionName']&&(await PerformanceTester[_0x44346d(0x131)](PerformanceAutEvents[_0x44346d(0x105)],async()=>{const _0x1c1bff=_0x44346d;await global[_0x1c1bff(0xbc)][0x0][_0x1c1bff(0x12c)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x1c1bff(0xb8)](this['currentTest']['titlePath']()[_0x1c1bff(0x9e)](_0x5aa99e[_0x1c1bff(0x10b)]))+'}}');})(),global[_0x44346d(0xbc)][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x44346d(0x131)](PerformanceAutEvents[_0x44346d(0xc0)],async()=>{const _0x5adb90=_0x44346d,_0x44f876=_0x5ee3ab[_0x5adb90(0xb5)](this[_0x5adb90(0xbb)]['state'],_0x5ee3ab[_0x5adb90(0x117)]);_0x44f876?(global[_0x5adb90(0x97)]=!![],global[_0x5adb90(0xde)][_0x5adb90(0x10f)](this['currentTest'][_0x5adb90(0x94)][_0x5adb90(0xb7)]),await _0x5ee3ab[_0x5adb90(0xa5)](_0x15336d,JSON[_0x5adb90(0xb8)](_0x5ee3ab[_0x5adb90(0x140)](_0x5ee3ab['mmjUV'],this[_0x5adb90(0xbb)][_0x5adb90(0x94)][_0x5adb90(0xb7)])),_0x5ee3ab[_0x5adb90(0xd7)])):await _0x5ee3ab[_0x5adb90(0xa5)](_0x15336d,JSON[_0x5adb90(0xb8)](_0x5ee3ab[_0x5adb90(0x123)]),_0x5ee3ab[_0x5adb90(0x103)]);})();}catch(_0x298ec5){logger[_0x44346d(0x113)](_0x44346d(0x115)+_0x298ec5);}try{if(this['currentTest'][_0x44346d(0xe0)]&&globals[_0x44346d(0xff)](_0x5aa99e[_0x44346d(0xc8)])&&globals['getGlobal'](_0x5aa99e[_0x44346d(0xf5)])){logger['info'](_0x5aa99e[_0x44346d(0x99)]);const _0x4b0f39={};_0x4b0f39[_0x44346d(0x125)]=this[_0x44346d(0xbb)]['testAnalyticsId'],_0x4b0f39['thBuildUuid']=process[_0x44346d(0xc5)][testHubConstants[_0x44346d(0x101)][_0x44346d(0xb6)]],_0x4b0f39['thJwtToken']=process['env'][testHubConstants['ENV_VAR'][_0x44346d(0x13a)]];const _0x28c02d=_0x4b0f39;logger[_0x44346d(0x113)](_0x44346d(0x122)+JSON[_0x44346d(0xb8)](_0x28c02d)),logger[_0x44346d(0x113)](_0x5aa99e[_0x44346d(0x93)]);const _0x387dc1={};_0x387dc1[_0x44346d(0xdb)]=_0x5aa99e[_0x44346d(0xda)],await PerformanceTester[_0x44346d(0x131)](PerformanceA11yEvents[_0x44346d(0xd4)],async()=>{const _0x3bb9b3=_0x44346d;logger[_0x3bb9b3(0x113)](util[_0x3bb9b3(0xad)](await global['__drivers'][0x0][_0x3bb9b3(0x124)](scripts[_0x3bb9b3(0xc4)],{'method':global[_0x3bb9b3(0xe4)]})));},_0x387dc1)(),await PerformanceTester[_0x44346d(0x131)](PerformanceA11yEvents[_0x44346d(0xa7)],async()=>{const _0x198b71=_0x44346d;await global['__drivers'][0x0][_0x198b71(0x124)](scripts[_0x198b71(0xc7)],_0x28c02d);})(),logger['info'](_0x5aa99e[_0x44346d(0xf6)]);}}catch(_0x2fa806){logger[_0x44346d(0x106)](_0x44346d(0x128)+this[_0x44346d(0xbb)][_0x44346d(0xe3)]()+_0x44346d(0xe5),_0x2fa806);}try{try{if(_0x5aa99e['XMkIU'](shouldProcessEventForTesthub)){global[_0x44346d(0xbc)][0x0]&&await _0x5aa99e[_0x44346d(0x91)](sendPlatformDetails,global[_0x44346d(0xbc)][0x0],this[_0x44346d(0xbb)]?this[_0x44346d(0xbb)]['testAnalyticsId']:null);if(_0x5aa99e[_0x44346d(0x136)](isBrowserstackInfra)){PerformanceTester[_0x44346d(0x10e)](PerformanceO11yEvents[_0x44346d(0x121)]);const _0x3acbfb=_0x44346d(0xb9)+Date[_0x44346d(0xfe)]();await _0x5aa99e[_0x44346d(0xbf)](_0x15336d,JSON['stringify'](_0x3acbfb),_0x5aa99e[_0x44346d(0xd2)]),PerformanceTester[_0x44346d(0xfc)](PerformanceO11yEvents[_0x44346d(0x121)]);}}}catch(_0xf8c724){logger[_0x44346d(0x113)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0xf8c724),PerformanceTester['end'](PerformanceO11yEvents[_0x44346d(0x121)],![],_0xf8c724);}_0x5aa99e['IsyoI'](global[_0x44346d(0xbc)][0x0][_0x44346d(0xd0)],0x0)&&await global[_0x44346d(0xf1)]();}catch(_0x5d0b40){logger[_0x44346d(0x113)](_0x44346d(0x11a)+_0x5d0b40);}_0x5aa99e['XMkIU'](_0x5177cb);})['then'](()=>{const _0x556944=_0x4288e7;_0x5aa99e[_0x556944(0x136)](_0xce1daf);});},{'platform':_0x5889be['tZaBk'](nestedKeyValue,global[_0x2744fc(0xf3)],[_0x5889be[_0x2744fc(0x11f)]]),'hookType':_0x5889be[_0x2744fc(0x11e)]})();},'afterAll'(_0x4d930e){const _0x18836d=a32_0x383505,_0x26ab74={'BzbIA':function(_0x5ab946){return _0x5ab946();},'GWljd':function(_0x1a2390){return _0x1a2390();},'AuvFo':function(_0x44d318,_0x173c7d,_0x37e89a){return _0x44d318(_0x173c7d,_0x37e89a);},'BvuCX':'index','eShUo':_0x18836d(0x127)},_0x28e981='browserstack internal helper hook';this[_0x18836d(0xcb)](0xfde8),PerformanceTester[_0x18836d(0x131)](PerformanceSdkEvents[_0x18836d(0x142)],()=>{const _0x1cb64e=_0x18836d,_0x142462={'hMPCl':function(_0x66f445){return _0x26ab74['BzbIA'](_0x66f445);},'PsTzv':function(_0x5574ea){const _0x3e0c60=a32_0x1d75;return _0x26ab74[_0x3e0c60(0xea)](_0x5574ea);}};new Promise(async _0x72f012=>{const _0x1f8eb3=a32_0x1d75;await global[_0x1f8eb3(0xf1)](),_0x142462['hMPCl'](_0x72f012);})[_0x1cb64e(0xb3)]()['finally'](()=>{_0x142462['PsTzv'](_0x4d930e);});},{'platform':_0x26ab74[_0x18836d(0x110)](nestedKeyValue,global[_0x18836d(0xf3)],[_0x26ab74[_0x18836d(0xa0)]]),'hookType':_0x26ab74[_0x18836d(0x92)]})();}};function a32_0x1807(){const _0x4eaed3=['BQryZ','../../helpers/accessibility-automation/scripts','OYoFz','shift','join','getCurrentUrl','BvuCX','1045566VHQqOW','fVsZx','bMhSO','info','LGuwu','session_','SAVE_RESULTS','tLYjR','157770vYLIvi','OPzTY','IsyoI','ChmCG','format','\x20|\x20','OZYIu','17528ZnzGWz','browserstackTestName','3hJeugB','then','1eNbTdz','MkQie','BROWSERSTACK_TESTHUB_UUID','message','stringify','ObservabilitySync:','rEqkE','currentTest','__drivers','ZgUDw','4961684SxhctK','zFGcJ','SESSION_STATUS','../../helpers/logger','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','wgOEX','performScan','env','index','saveTestResults','STTYU','3051164aoCFEd','GiNKl','timeout','mfnLe','ovhZB','YCgoi','nAPGN','quitCount_','fkAdn','MYQpF','gqGFw','PERFORM_SCAN','beforeAll','beforeEach','DpCiD','1761820NSlXUT','tVCOG','tBrUN','command','afterEach','./test-observability/mochaUtils','__error_messages__','util','accessibilityScanStarted','YgILr','YoOjx','titlePath','browserstackSessionName','.\x20Error\x20:','oJRec','Performing\x20scan\x20before\x20saving\x20results','../../helpers/globals','startMonitoring','GWljd','Qwlil','http:','passed','vqgDe','ivFGu','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','driverCleanup','initQuit','__platformCaps','TJQIH','kZIhd','snrwL','setGlobal','gvEyl','../../helpers/performance/performance-tester','../../helpers/performance/constants','uZgkP','end','3681BOeGOT','now','getGlobal','https:','ENV_VAR','../../helpers/percy/utils','ktrHN','bstackA11yShouldScan','SESSION_NAME','error','Jyrar','xyREs','../../helpers/testhub/constants','appium:app','quaAW','mqwVE','RQNaq','start','push','AuvFo','sessionName','protocol','debug','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','AVxhb','WuXAx','isArray','Gkioo','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','shouldScanTestForAccessibility','iVJsR','vLPSG','TBTOI','FINVi','isAccessibilityPlatform','SYNC','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','xqReR','executeAsyncScript','thTestRunUuid','app','afterAll','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','afterTest','gfEtP','../../helpers/helper','executeScript','UxnDV','winstonLogger','faKWR','testAnalyticsId','measureWrapper','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','Failed\x20to\x20store\x20session\x20name:\x20','gsUBb','GIhTW','QWLQu','hMQoc','fndBF','exNUQ','BROWSERSTACK_TESTHUB_JWT','capabilities','testcase','../../helpers/accessibility-automation/helper','7085390NRcTWj','length','PsTWY','SflCz','SDK_HOOK','ljKPl','\x20-\x20','qiDiN','lATjF','eShUo','mGyNE','err','MAiZj','3003CrksUF','__sessionFailed','\x22}}','ZaNng'];a32_0x1807=function(){return _0x4eaed3;};return a32_0x1807();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x47244e=a33_0x329b;function a33_0x329b(_0xf47e71,_0x2ea420){const _0x30245a=a33_0x3024();return a33_0x329b=function(_0x329b98,_0x360e8a){_0x329b98=_0x329b98-0x1e4;let _0x578b27=_0x30245a[_0x329b98];return _0x578b27;},a33_0x329b(_0xf47e71,_0x2ea420);}(function(_0x497e71,_0x5b386b){const _0x10c6de=a33_0x329b,_0x1e1047=_0x497e71();while(!![]){try{const _0x9ff6c5=-parseInt(_0x10c6de(0x202))/0x1+parseInt(_0x10c6de(0x201))/0x2+parseInt(_0x10c6de(0x218))/0x3*(parseInt(_0x10c6de(0x1f7))/0x4)+parseInt(_0x10c6de(0x223))/0x5*(-parseInt(_0x10c6de(0x1ea))/0x6)+-parseInt(_0x10c6de(0x20e))/0x7+parseInt(_0x10c6de(0x203))/0x8+parseInt(_0x10c6de(0x1fb))/0x9;if(_0x9ff6c5===_0x5b386b)break;else _0x1e1047['push'](_0x1e1047['shift']());}catch(_0x317cc7){_0x1e1047['push'](_0x1e1047['shift']());}}}(a33_0x3024,0x3b564));const fs=require('fs'),path=require(a33_0x47244e(0x1ee)),{spawn}=require(a33_0x47244e(0x226)),logger=require(a33_0x47244e(0x1ed))[a33_0x47244e(0x22a)],{default:BrowserStackSetup}=require(a33_0x47244e(0x1ef)),helper=require('../../helpers/helper'),constants=require(a33_0x47244e(0x204)),getUserNightwatchConfigs=(_0x5ca3ca,_0x121247)=>{const _0x295457=a33_0x47244e,_0x20e06a={'XSGQR':_0x295457(0x225),'pCpfl':_0x295457(0x207),'utxmQ':function(_0x311b55,_0x3672b3){return _0x311b55(_0x3672b3);},'mvKpa':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x1ccedd=null,_0x49a785={};const _0x29b19d=_0x121247['findIndex'](_0x4b3b26=>_0x4b3b26===_0x295457(0x1e5));if(!helper[_0x295457(0x212)](_0x5ca3ca[_0x295457(0x20d)])&&fs[_0x295457(0x1fd)](path[_0x295457(0x208)](process['cwd'](),_0x5ca3ca[_0x295457(0x20d)])))_0x1ccedd=path[_0x295457(0x208)](process[_0x295457(0x1fa)](),_0x5ca3ca['config']),_0x121247['splice'](_0x29b19d,0x2);else{if(fs[_0x295457(0x1fd)](path['join'](process[_0x295457(0x1fa)](),_0x20e06a['XSGQR'])))_0x1ccedd=path[_0x295457(0x208)](process[_0x295457(0x1fa)](),_0x20e06a[_0x295457(0x219)]);else fs[_0x295457(0x1fd)](path[_0x295457(0x208)](process['cwd'](),_0x20e06a[_0x295457(0x227)]))&&(_0x1ccedd=path[_0x295457(0x208)](process['cwd'](),_0x20e06a[_0x295457(0x227)]));}return _0x1ccedd?(logger[_0x295457(0x1f9)](_0x295457(0x1e9)+_0x1ccedd),_0x49a785=_0x20e06a[_0x295457(0x1fc)](require,_0x1ccedd)):logger[_0x295457(0x1f9)](_0x20e06a[_0x295457(0x21a)]),_0x49a785;},removeExistingEnvs=_0x17e18a=>{const _0x361ba8=a33_0x47244e,_0x3e9018={};_0x3e9018[_0x361ba8(0x21c)]=function(_0x1a9a1e,_0x4f96e2){return _0x1a9a1e>_0x4f96e2;},_0x3e9018['jMFHt']=function(_0x10745d,_0x18507a){return _0x10745d>_0x18507a;};const _0x406e0d=_0x3e9018;let _0x54f292=_0x17e18a[_0x361ba8(0x22b)](_0x18f5e6=>_0x18f5e6===_0x361ba8(0x217));_0x406e0d[_0x361ba8(0x21c)](_0x54f292,-0x1)&&_0x17e18a[_0x361ba8(0x209)](_0x54f292,0x2),_0x54f292=_0x17e18a['findIndex'](_0x3a4426=>_0x3a4426==='-e'),_0x406e0d[_0x361ba8(0x20c)](_0x54f292,-0x1)&&_0x17e18a[_0x361ba8(0x209)](_0x54f292,0x2);};function run(_0xe5da75,_0x32a046){const _0x1bdd2a=a33_0x47244e,_0x356cbb={'dCCBU':_0x1bdd2a(0x1ff),'JEyLg':function(_0x268fe3,_0x395372){return _0x268fe3+_0x395372;},'iqyNk':_0x1bdd2a(0x214),'QsvSe':function(_0x2dc111,_0x2c067d,_0x15bdaa){return _0x2dc111(_0x2c067d,_0x15bdaa);},'VOwkA':_0x1bdd2a(0x1f5),'gcIlQ':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','GgaaU':function(_0x2627f5,_0x881ee9){return _0x2627f5===_0x881ee9;},'NRoUs':_0x1bdd2a(0x1f1),'ZTNeB':function(_0x5a3016,_0x416f42){return _0x5a3016(_0x416f42);},'fYOVA':function(_0x34d3ee,_0x306c83,_0x1fbe30,_0xe9c9a8){return _0x34d3ee(_0x306c83,_0x1fbe30,_0xe9c9a8);},'ZJczK':_0x1bdd2a(0x22d),'Nssxk':_0x1bdd2a(0x1e5),'LMVMw':'--env','hyxZU':_0x1bdd2a(0x224),'UbOlO':_0x1bdd2a(0x210)},_0x3ab6f0=new BrowserStackSetup(_0xe5da75);if(!_0x3ab6f0[_0x1bdd2a(0x20d)])return;const _0x191ecb=_0x356cbb[_0x1bdd2a(0x1fe)](getUserNightwatchConfigs,_0xe5da75,_0x32a046),_0x36e5a0={};_0x36e5a0[_0x1bdd2a(0x1f8)]=![];const _0x232ebb={};_0x232ebb['host']=_0x356cbb['VOwkA'],_0x232ebb[_0x1bdd2a(0x21f)]=0x1bb;const _0x11f8c3={};_0x11f8c3[_0x1bdd2a(0x1ec)]=_0x36e5a0,_0x11f8c3[_0x1bdd2a(0x215)]=_0x232ebb;const _0x2e0968=_0x11f8c3;logger['info'](_0x356cbb[_0x1bdd2a(0x1f3)]);const _0x4d1fc1={..._0x191ecb},_0x368d6f=_0x4d1fc1,_0x1fb821=helper['useW3C'](_0x3ab6f0[_0x1bdd2a(0x20d)]),_0x291982=[];_0x3ab6f0['config']['platforms'][_0x1bdd2a(0x1f2)]((_0x387660,_0x1af8f4)=>{const _0x43f46f=_0x1bdd2a;_0x1fb821?_0x291982[_0x43f46f(0x22e)](helper[_0x43f46f(0x1f6)](_0x3ab6f0[_0x43f46f(0x20d)],_0x356cbb[_0x43f46f(0x1e4)],_0x1af8f4)):_0x291982[_0x43f46f(0x22e)](helper[_0x43f46f(0x1f0)](_0x3ab6f0[_0x43f46f(0x20d)],_0x356cbb['dCCBU'],_0x1af8f4));});const _0x5e8596={},_0x35daf4=[];_0xe5da75[_0x1bdd2a(0x222)]=_0xe5da75['env']||_0xe5da75['e'];const _0x3af408=_0xe5da75['env']?_0xe5da75[_0x1bdd2a(0x222)]['trim']()[_0x1bdd2a(0x220)](',')[_0x1bdd2a(0x20f)](_0x3345f7=>_0x3345f7['trim']())['filter'](_0x3eb744=>_0x3eb744!==''):[''];_0x356cbb[_0x1bdd2a(0x228)](_0x3af408[_0x1bdd2a(0x205)],0x0)&&_0x3af408[_0x1bdd2a(0x22e)]('');_0x3af408[_0x1bdd2a(0x1f2)](_0x2c6c86=>{const _0x135f19=_0x1bdd2a;_0x291982[_0x135f19(0x1f2)](_0x338408=>{const _0x13b512=_0x135f19;let _0x14595a=_0x356cbb[_0x13b512(0x1e8)](helper['getPlatformName'](_0x338408,'_'),'_'+Date[_0x13b512(0x1e7)]());_0x2c6c86&&(_0x14595a+='_'+_0x2c6c86);if(_0x2c6c86&&(!_0x191ecb[_0x356cbb[_0x13b512(0x1eb)]]||!_0x191ecb[_0x356cbb[_0x13b512(0x1eb)]][_0x2c6c86]))return;const _0x51db77={..._0x2e0968};_0x51db77[_0x13b512(0x206)]=_0x338408;const _0x49ade2=_0x51db77;_0x5e8596[_0x14595a]=_0x2c6c86?helper[_0x13b512(0x221)](_0x191ecb[_0x356cbb[_0x13b512(0x1eb)]][_0x2c6c86],_0x49ade2):_0x49ade2,_0x35daf4[_0x13b512(0x22e)](_0x14595a);});});!_0x368d6f[_0x1bdd2a(0x214)]&&(_0x368d6f[_0x1bdd2a(0x214)]={});_0x368d6f['test_settings']={..._0x368d6f[_0x1bdd2a(0x214)],..._0x5e8596};const _0x556e65=path['join'](__dirname,_0x356cbb[_0x1bdd2a(0x216)]);fs[_0x1bdd2a(0x211)](_0x556e65,JSON['stringify'](_0x368d6f)),_0x356cbb[_0x1bdd2a(0x22c)](removeExistingEnvs,_0x32a046);const _0x4c0ea1=_0x356cbb[_0x1bdd2a(0x20a)](spawn,/^win/[_0x1bdd2a(0x21b)](process[_0x1bdd2a(0x20b)])?_0x356cbb['ZJczK']:_0x356cbb[_0x1bdd2a(0x1e4)],[_0x356cbb['Nssxk'],_0x556e65,..._0x32a046[_0x1bdd2a(0x200)](0x1),_0x356cbb[_0x1bdd2a(0x213)],_0x35daf4[_0x1bdd2a(0x208)](',')],{'stdio':_0x356cbb[_0x1bdd2a(0x21d)]});_0x4c0ea1['on'](_0x356cbb[_0x1bdd2a(0x21e)],async _0x1970b3=>{const _0x2e1aa4=_0x1bdd2a;logger['debug'](_0x2e1aa4(0x1e6)+_0x1970b3),logger[_0x2e1aa4(0x1f9)](_0x2e1aa4(0x1f4)+_0x556e65),fs[_0x2e1aa4(0x229)](_0x556e65);});}module['exports']=run;function a33_0x3024(){const _0x141a56=['split','mergeDeep','env','695juxrwj','inherit','nightwatch.conf.js','child_process','pCpfl','GgaaU','unlinkSync','winstonLogger','findIndex','ZTNeB','nightwatch.cmd','push','dCCBU','--config','child\x20process\x20exited\x20with\x20code\x20','now','JEyLg','Getting\x20your\x20nightwatch\x20configs\x20from\x20','8934rNDHoI','iqyNk','webdriver','../../helpers/logger','path','../../helpers/BrowserStackSetup','modifyBrowserStackCaps','nightwatch-browserstack.json','forEach','gcIlQ','Deleting\x20','hub.browserstack.com','modifyBrowserStackW3CCaps','7036vHlXjJ','start_process','info','cwd','2511513mjRocE','utxmQ','existsSync','QsvSe','nightwatch','slice','716468UOaymg','399672AybYOS','2180360zBULmw','../utils/constants','length','desiredCapabilities','nightwatch.json','join','splice','fYOVA','platform','jMFHt','config','3289972RbWLiO','map','close','writeFileSync','isUndefined','LMVMw','test_settings','selenium','NRoUs','--env','699pRSltf','XSGQR','mvKpa','test','zRREi','hyxZU','UbOlO','port'];a33_0x3024=function(){return _0x141a56;};return a33_0x3024();}
2
+ 'use strict';const a33_0x3938b6=a33_0x19c2;(function(_0x516c4a,_0xf85fc3){const _0x427169=a33_0x19c2,_0x416468=_0x516c4a();while(!![]){try{const _0x591a37=parseInt(_0x427169(0xe9))/0x1+-parseInt(_0x427169(0xfd))/0x2+parseInt(_0x427169(0x101))/0x3+parseInt(_0x427169(0x11d))/0x4+parseInt(_0x427169(0x11b))/0x5+-parseInt(_0x427169(0xe2))/0x6+-parseInt(_0x427169(0x11f))/0x7*(parseInt(_0x427169(0xf4))/0x8);if(_0x591a37===_0xf85fc3)break;else _0x416468['push'](_0x416468['shift']());}catch(_0x26ea4d){_0x416468['push'](_0x416468['shift']());}}}(a33_0x10ac,0x7b0f4));function a33_0x10ac(){const _0x3d9bfd=['Deleting\x20','webdriver','ceoAl','env','CFOjP','path','2072424XnIwNe','mergeDeep','bHXqF','uKknz','length','writeFileSync','zYeRX','371611mKyVLn','selenium','bRLoP','filter','../../helpers/BrowserStackSetup','--config','unlinkSync','info','getPlatformName','existsSync','BKmOd','8xwPMUs','debug','child\x20process\x20exited\x20with\x20code\x20','findIndex','XbKQl','splice','--env','modifyBrowserStackW3CCaps','config','1423312nogPth','nightwatch.conf.js','forEach','qYemQ','1886664uvHzBM','hlaOR','useW3C','join','start_process','split','../../helpers/logger','../../helpers/helper','test','kzDyP','pVPVP','Oozkt','nightwatch-browserstack.json','platform','nightwatch.json','trim','test_settings','nightwatch','push','map','oNDDl','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','winstonLogger','now','YDxUI','cwd','3264990OBnQFh','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','646624kwYqsb','Buvlu','1778287TvWJhh','isUndefined','hub.browserstack.com','stringify'];a33_0x10ac=function(){return _0x3d9bfd;};return a33_0x10ac();}const fs=require('fs'),path=require(a33_0x3938b6(0xe1)),{spawn}=require('child_process'),logger=require(a33_0x3938b6(0x107))[a33_0x3938b6(0x117)],{default:BrowserStackSetup}=require(a33_0x3938b6(0xed)),helper=require(a33_0x3938b6(0x108)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x3176b9,_0x9899c6)=>{const _0x533e37=a33_0x3938b6,_0x37e8a9={'XbKQl':_0x533e37(0xfe),'uKknz':_0x533e37(0x10f),'BJgua':function(_0x4259a8,_0x985276){return _0x4259a8(_0x985276);},'htPDQ':_0x533e37(0x11c)};let _0x5e5a5a=null,_0x9b2305={};const _0x481d17=_0x9899c6[_0x533e37(0xf7)](_0xf7e230=>_0xf7e230==='--config');if(!helper[_0x533e37(0xd9)](_0x3176b9[_0x533e37(0xfc)])&&fs['existsSync'](path[_0x533e37(0x104)](process[_0x533e37(0x11a)](),_0x3176b9['config'])))_0x5e5a5a=path[_0x533e37(0x104)](process['cwd'](),_0x3176b9[_0x533e37(0xfc)]),_0x9899c6[_0x533e37(0xf9)](_0x481d17,0x2);else{if(fs['existsSync'](path['join'](process['cwd'](),_0x37e8a9[_0x533e37(0xf8)])))_0x5e5a5a=path[_0x533e37(0x104)](process[_0x533e37(0x11a)](),_0x37e8a9['XbKQl']);else fs[_0x533e37(0xf2)](path[_0x533e37(0x104)](process[_0x533e37(0x11a)](),_0x37e8a9[_0x533e37(0xe5)]))&&(_0x5e5a5a=path[_0x533e37(0x104)](process[_0x533e37(0x11a)](),_0x37e8a9['uKknz']));}return _0x5e5a5a?(logger[_0x533e37(0xf0)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x5e5a5a),_0x9b2305=_0x37e8a9['BJgua'](require,_0x5e5a5a)):logger[_0x533e37(0xf0)](_0x37e8a9['htPDQ']),_0x9b2305;},removeExistingEnvs=_0x46f690=>{const _0x1cfe79=a33_0x3938b6,_0x1021c4={};_0x1021c4['Buvlu']=function(_0x2356bd,_0x5f08f3){return _0x2356bd>_0x5f08f3;},_0x1021c4['zQmDJ']=function(_0x5ed49d,_0x29f834){return _0x5ed49d>_0x29f834;};const _0x281040=_0x1021c4;let _0x12c593=_0x46f690[_0x1cfe79(0xf7)](_0x55e52e=>_0x55e52e===_0x1cfe79(0xfa));_0x281040[_0x1cfe79(0x11e)](_0x12c593,-0x1)&&_0x46f690[_0x1cfe79(0xf9)](_0x12c593,0x2),_0x12c593=_0x46f690['findIndex'](_0x2b4ee1=>_0x2b4ee1==='-e'),_0x281040['zQmDJ'](_0x12c593,-0x1)&&_0x46f690[_0x1cfe79(0xf9)](_0x12c593,0x2);};function a33_0x19c2(_0x3880cc,_0x10aff2){const _0x10acca=a33_0x10ac();return a33_0x19c2=function(_0x19c27f,_0x15f957){_0x19c27f=_0x19c27f-0xd9;let _0x58a0f=_0x10acca[_0x19c27f];return _0x58a0f;},a33_0x19c2(_0x3880cc,_0x10aff2);}function run(_0x3fd517,_0x54bb52){const _0x521c16=a33_0x3938b6,_0x4e454d={'BKmOd':_0x521c16(0x112),'omgNw':function(_0x59fe3b,_0x4dc069){return _0x59fe3b+_0x4dc069;},'oNDDl':_0x521c16(0x111),'bRLoP':function(_0x535d63,_0x46ad35,_0x558d8b){return _0x535d63(_0x46ad35,_0x558d8b);},'Oozkt':_0x521c16(0xda),'YDxUI':_0x521c16(0x116),'hlaOR':function(_0x504dad,_0x51db82){return _0x504dad===_0x51db82;},'qYemQ':_0x521c16(0x10d),'kzDyP':function(_0x4a6ab6,_0x3ddd92){return _0x4a6ab6(_0x3ddd92);},'CFOjP':function(_0x3b6b73,_0x11673b,_0x572cd9,_0x525d9e){return _0x3b6b73(_0x11673b,_0x572cd9,_0x525d9e);},'ZvDgf':'nightwatch.cmd','pVPVP':_0x521c16(0xee),'bMAyN':'--env','zYeRX':'inherit','ceoAl':'close'},_0x4088d4=new BrowserStackSetup(_0x3fd517);if(!_0x4088d4[_0x521c16(0xfc)])return;const _0x1d854a=_0x4e454d[_0x521c16(0xeb)](getUserNightwatchConfigs,_0x3fd517,_0x54bb52),_0x40adaa={};_0x40adaa[_0x521c16(0x105)]=![];const _0x215b56={};_0x215b56['host']=_0x4e454d[_0x521c16(0x10c)],_0x215b56['port']=0x1bb;const _0x2de30e={};_0x2de30e[_0x521c16(0xdd)]=_0x40adaa,_0x2de30e[_0x521c16(0xea)]=_0x215b56;const _0x1fc5ca=_0x2de30e;logger[_0x521c16(0xf0)](_0x4e454d[_0x521c16(0x119)]);const _0x27d866={..._0x1d854a},_0x2c0434=_0x27d866,_0x57051e=helper[_0x521c16(0x103)](_0x4088d4['config']),_0x462de8=[];_0x4088d4[_0x521c16(0xfc)]['platforms'][_0x521c16(0xff)]((_0x40f96c,_0x17119c)=>{const _0x4cb1fe=_0x521c16;_0x57051e?_0x462de8['push'](helper[_0x4cb1fe(0xfb)](_0x4088d4[_0x4cb1fe(0xfc)],_0x4e454d[_0x4cb1fe(0xf3)],_0x17119c)):_0x462de8['push'](helper['modifyBrowserStackCaps'](_0x4088d4[_0x4cb1fe(0xfc)],_0x4e454d['BKmOd'],_0x17119c));});const _0x2fdaa3={},_0x4af3b7=[];_0x3fd517['env']=_0x3fd517[_0x521c16(0xdf)]||_0x3fd517['e'];const _0x7faadf=_0x3fd517[_0x521c16(0xdf)]?_0x3fd517[_0x521c16(0xdf)][_0x521c16(0x110)]()[_0x521c16(0x106)](',')[_0x521c16(0x114)](_0x381828=>_0x381828[_0x521c16(0x110)]())[_0x521c16(0xec)](_0x227d84=>_0x227d84!==''):[''];_0x4e454d[_0x521c16(0x102)](_0x7faadf[_0x521c16(0xe6)],0x0)&&_0x7faadf[_0x521c16(0x113)]('');_0x7faadf[_0x521c16(0xff)](_0x569a13=>{const _0x468598=_0x521c16,_0x45d43a={'JZhkF':function(_0x523d63,_0x580f3e){return _0x4e454d['omgNw'](_0x523d63,_0x580f3e);},'bHXqF':_0x4e454d[_0x468598(0x115)]};_0x462de8['forEach'](_0x256a97=>{const _0x4e9098=_0x468598;let _0x12d322=_0x45d43a['JZhkF'](helper[_0x4e9098(0xf1)](_0x256a97,'_'),'_'+Date[_0x4e9098(0x118)]());_0x569a13&&(_0x12d322+='_'+_0x569a13);if(_0x569a13&&(!_0x1d854a[_0x45d43a[_0x4e9098(0xe4)]]||!_0x1d854a[_0x45d43a[_0x4e9098(0xe4)]][_0x569a13]))return;const _0x490ae4={..._0x1fc5ca};_0x490ae4['desiredCapabilities']=_0x256a97;const _0x253037=_0x490ae4;_0x2fdaa3[_0x12d322]=_0x569a13?helper[_0x4e9098(0xe3)](_0x1d854a[_0x45d43a[_0x4e9098(0xe4)]][_0x569a13],_0x253037):_0x253037,_0x4af3b7[_0x4e9098(0x113)](_0x12d322);});});!_0x2c0434['test_settings']&&(_0x2c0434[_0x521c16(0x111)]={});_0x2c0434['test_settings']={..._0x2c0434[_0x521c16(0x111)],..._0x2fdaa3};const _0x365268=path[_0x521c16(0x104)](__dirname,_0x4e454d[_0x521c16(0x100)]);fs[_0x521c16(0xe7)](_0x365268,JSON[_0x521c16(0xdb)](_0x2c0434)),_0x4e454d[_0x521c16(0x10a)](removeExistingEnvs,_0x54bb52);const _0x494168=_0x4e454d[_0x521c16(0xe0)](spawn,/^win/[_0x521c16(0x109)](process[_0x521c16(0x10e)])?_0x4e454d['ZvDgf']:_0x4e454d[_0x521c16(0xf3)],[_0x4e454d[_0x521c16(0x10b)],_0x365268,..._0x54bb52['slice'](0x1),_0x4e454d['bMAyN'],_0x4af3b7[_0x521c16(0x104)](',')],{'stdio':_0x4e454d[_0x521c16(0xe8)]});_0x494168['on'](_0x4e454d[_0x521c16(0xde)],async _0x4dbe28=>{const _0x2e1918=_0x521c16;logger[_0x2e1918(0xf5)](_0x2e1918(0xf6)+_0x4dbe28),logger[_0x2e1918(0xf0)](_0x2e1918(0xdc)+_0x365268),fs[_0x2e1918(0xef)](_0x365268);});}module['exports']=run;
@@ -1 +1 @@
1
- const a34_0x5ab80c=a34_0x281b;function a34_0x281b(_0xd331e3,_0x1a5332){const _0x3d5325=a34_0x3d53();return a34_0x281b=function(_0x281be7,_0x23d09c){_0x281be7=_0x281be7-0x11e;let _0x1835e4=_0x3d5325[_0x281be7];return _0x1835e4;},a34_0x281b(_0xd331e3,_0x1a5332);}(function(_0x34435c,_0x2534f6){const _0x82ab4f=a34_0x281b,_0xd3c7b0=_0x34435c();while(!![]){try{const _0x534f2b=-parseInt(_0x82ab4f(0x14a))/0x1*(parseInt(_0x82ab4f(0x12a))/0x2)+-parseInt(_0x82ab4f(0x159))/0x3+-parseInt(_0x82ab4f(0x15f))/0x4+-parseInt(_0x82ab4f(0x155))/0x5*(-parseInt(_0x82ab4f(0x135))/0x6)+-parseInt(_0x82ab4f(0x177))/0x7+-parseInt(_0x82ab4f(0x164))/0x8+parseInt(_0x82ab4f(0x15d))/0x9;if(_0x534f2b===_0x2534f6)break;else _0xd3c7b0['push'](_0xd3c7b0['shift']());}catch(_0x3ee546){_0xd3c7b0['push'](_0xd3c7b0['shift']());}}}(a34_0x3d53,0x50b94));const util=require('util'),logger=require(a34_0x5ab80c(0x16f))['winstonLogger'],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants');exports[a34_0x5ab80c(0x13b)]=async(_0xc852e6,_0x13ae11,_0x5ede7f={})=>{const _0x1c21f5=a34_0x5ab80c,_0x120b4f={};_0x120b4f[_0x1c21f5(0x139)]=_0x1c21f5(0x160);const _0x5a7897=_0x120b4f;return await _0xc852e6[_0x1c21f5(0x12b)]('(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'+_0x13ae11['replace'](/arguments/g,_0x5a7897[_0x1c21f5(0x139)])+_0x1c21f5(0x16c)+JSON['stringify'](_0x5ede7f)+')');},exports[a34_0x5ab80c(0x16d)]=async(_0x4101be,_0x1c0623,_0x4cf025={})=>{const _0x395e5c=a34_0x5ab80c,_0x3796ae={};_0x3796ae[_0x395e5c(0x16e)]=function(_0x1ef3eb,_0x357c2c){return _0x1ef3eb===_0x357c2c;},_0x3796ae['UwKGs']='WebDriver',_0x3796ae['EpiyS']=function(_0x505ca3,_0x2846e5){return _0x505ca3===_0x2846e5;},_0x3796ae[_0x395e5c(0x143)]='Playwright',_0x3796ae[_0x395e5c(0x130)]=_0x395e5c(0x160);const _0x5970c9=_0x3796ae;if(_0x5970c9[_0x395e5c(0x16e)](_0x4101be[_0x395e5c(0x144)]['name'],_0x5970c9['UwKGs']))return await _0x4101be['executeAsyncScript'](_0x1c0623,_0x4cf025);else{if(_0x5970c9['EpiyS'](_0x4101be[_0x395e5c(0x144)]['name'],_0x5970c9['hZZzZ']))return await _0x4101be['executeScript'](_0x395e5c(0x153)+_0x1c0623[_0x395e5c(0x136)](/arguments/g,_0x5970c9[_0x395e5c(0x130)])+_0x395e5c(0x167)+JSON['stringify'](_0x4cf025)+')');}},exports[a34_0x5ab80c(0x133)]=async _0x15f1b8=>{const _0x326fb0=a34_0x5ab80c,_0x5137df={};_0x5137df[_0x326fb0(0x123)]=_0x326fb0(0x141),_0x5137df[_0x326fb0(0x178)]=_0x326fb0(0x181),_0x5137df['jTVBK']=_0x326fb0(0x13e),_0x5137df[_0x326fb0(0x165)]='accessibilityOptions.includeIssueType.needsReview',_0x5137df[_0x326fb0(0x17a)]='accessibilityOptions.authToken',_0x5137df[_0x326fb0(0x16a)]=_0x326fb0(0x180);const _0x1248b6=_0x5137df;_0x15f1b8[_0x326fb0(0x14f)]&&(_0x15f1b8[_0x326fb0(0x14f)][_0x326fb0(0x11f)]&&(_0x15f1b8[_0x1248b6[_0x326fb0(0x123)]]=_0x15f1b8[_0x326fb0(0x14f)]['wcagVersion']),_0x15f1b8[_0x326fb0(0x14f)][_0x326fb0(0x138)]&&(_0x15f1b8[_0x1248b6[_0x326fb0(0x178)]]=_0x15f1b8[_0x326fb0(0x14f)][_0x326fb0(0x138)]),_0x15f1b8[_0x326fb0(0x14f)][_0x326fb0(0x124)]&&(_0x15f1b8[_0x1248b6[_0x326fb0(0x15c)]]=_0x15f1b8[_0x326fb0(0x14f)]['includeIssueType']['bestPractice'],_0x15f1b8[_0x1248b6['OqYDV']]=_0x15f1b8[_0x326fb0(0x14f)][_0x326fb0(0x124)][_0x326fb0(0x120)]));const _0x5505b8=JSON[_0x326fb0(0x14c)](process[_0x326fb0(0x12c)][_0x326fb0(0x140)])[_0x326fb0(0x11e)];_0x15f1b8[_0x1248b6['WzQAm']]=process[_0x326fb0(0x12c)][_0x326fb0(0x122)],_0x15f1b8[_0x1248b6[_0x326fb0(0x16a)]]=_0x5505b8,delete _0x15f1b8[_0x326fb0(0x14f)];},exports[a34_0x5ab80c(0x17f)]=async _0x26ba83=>{const _0x10dddd=a34_0x5ab80c,_0x2f1977={};_0x2f1977[_0x10dddd(0x161)]=_0x10dddd(0x156),_0x2f1977['QFmMm']=_0x10dddd(0x163);const _0x3ed90f=_0x2f1977;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x26ba83,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x26ba83,scripts.getResults);})();return res;}catch{return logger[_0x10dddd(0x157)](_0x3ed90f[_0x10dddd(0x161)]),[];}else return logger['warn'](_0x3ed90f[_0x10dddd(0x170)]),[];},exports['performScan']=async(_0x275deb,_0x5e9114='')=>{const _0x8ed740=a34_0x5ab80c;if(global[_0x8ed740(0x150)])return await PerformanceTester[_0x8ed740(0x162)](PerformanceA11yEvents[_0x8ed740(0x146)],async()=>{const _0x270771=_0x8ed740,_0x3eabf0={};_0x3eabf0[_0x270771(0x172)]=_0x5e9114,await exports['browserStackEvaluate'](_0x275deb,scripts[_0x270771(0x142)],_0x3eabf0);},{'command':_0x5e9114})();},exports[a34_0x5ab80c(0x12d)]=async _0x385fb7=>{const _0x46a6c4=a34_0x5ab80c,_0x40b11c={};_0x40b11c[_0x46a6c4(0x14d)]=_0x46a6c4(0x148),_0x40b11c[_0x46a6c4(0x134)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x614963=_0x40b11c;if(global[_0x46a6c4(0x150)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x385fb7,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x385fb7,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x46a6c4(0x121)](_0x614963['GWGWA']),{};}else return logger[_0x46a6c4(0x126)](_0x614963[_0x46a6c4(0x134)]),{};},exports[a34_0x5ab80c(0x128)]=async _0x4989ec=>{const _0x3ad74c=a34_0x5ab80c,_0x5de84e={'MNkKp':function(_0x8ffd7d,_0x557010){return _0x8ffd7d!==_0x557010;},'apHcE':_0x3ad74c(0x15b),'OijmN':function(_0x3b343e,_0x11106b){return _0x3b343e===_0x11106b;},'hvnAu':_0x3ad74c(0x14b),'UmDbf':function(_0x1a6008,_0x4163ab){return _0x1a6008===_0x4163ab;},'VkraQ':'playwright-chromium','KRMSX':_0x3ad74c(0x169),'jqMUS':function(_0x26f1d6,_0x4b14cc){return _0x26f1d6(_0x4b14cc);},'ZGiLH':function(_0x38be79,_0x38ccac){return _0x38be79===_0x38ccac;},'xwoUJ':_0x3ad74c(0x13c),'srpqv':function(_0x555828,_0x30a60c){return _0x555828>_0x30a60c;},'uEnjq':_0x3ad74c(0x16b)};try{if(!_0x5de84e['MNkKp'](_0x4989ec[_0x3ad74c(0x131)],''))return logger[_0x3ad74c(0x126)](_0x5de84e[_0x3ad74c(0x17d)]),![];const _0x303970=_0x4989ec[_0x3ad74c(0x175)];if(!(_0x5de84e[_0x3ad74c(0x179)](_0x303970,_0x5de84e[_0x3ad74c(0x173)])||_0x5de84e[_0x3ad74c(0x168)](_0x303970,_0x5de84e[_0x3ad74c(0x129)])))return logger['warn'](_0x5de84e[_0x3ad74c(0x166)]),![];const _0x58f4bf=_0x5de84e[_0x3ad74c(0x13a)](parseInt,_0x4989ec[_0x3ad74c(0x17c)]);if(!(_0x5de84e[_0x3ad74c(0x147)](_0x58f4bf,_0x5de84e[_0x3ad74c(0x127)])||_0x5de84e['srpqv'](_0x58f4bf,0x5e)))return logger[_0x3ad74c(0x126)](_0x5de84e[_0x3ad74c(0x13d)]),![];}catch(_0x7248b5){logger[_0x3ad74c(0x121)](_0x3ad74c(0x12e)+util[_0x3ad74c(0x149)](_0x7248b5));}return!![];},exports[a34_0x5ab80c(0x15a)]=(_0x2f9e87,_0x21b103,_0x5803d4)=>{const _0x379338=a34_0x5ab80c,_0x5f2677={'VyxPh':function(_0x4478bb){return _0x4478bb();},'hpQMj':_0x379338(0x174),'KUKCu':function(_0x24c8c8,_0x5e140e){return _0x24c8c8===_0x5e140e;},'asfnC':_0x379338(0x14b),'Xovav':_0x379338(0x158),'WFngT':_0x379338(0x169),'HgXJJ':function(_0x3afc54,_0x513171){return _0x3afc54===_0x513171;},'OsKRN':_0x379338(0x13c),'TSFLE':function(_0x1eb065,_0x53eb9e){return _0x1eb065>_0x53eb9e;},'xQasC':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Nyjbf':function(_0x5cea38,_0x4741d0){return _0x5cea38(_0x4741d0);},'dpSMN':_0x379338(0x15b),'CiduU':function(_0x3e4435,_0x15031c){return _0x3e4435+_0x15031c;},'REmRB':function(_0x512c39,_0x499857){return _0x512c39(_0x499857);}};try{if(_0x5f2677['VyxPh'](isAccessibilityAutomationSession)){global[_0x379338(0x150)]=!![];!_0x2f9e87[_0x5f2677[_0x379338(0x176)]]&&(global[_0x379338(0x150)]=![]);!(_0x5f2677[_0x379338(0x137)](_0x2f9e87['browserName'],_0x5f2677[_0x379338(0x14e)])||_0x5f2677['KUKCu'](_0x2f9e87['browserName'],_0x5f2677[_0x379338(0x152)]))&&(logger[_0x379338(0x126)](_0x5f2677['WFngT']),global[_0x379338(0x150)]=![]);!(_0x5f2677[_0x379338(0x12f)](_0x2f9e87[_0x379338(0x17c)],_0x5f2677['OsKRN'])||_0x5f2677['TSFLE'](_0x2f9e87['browser_version'],0x5e))&&(logger['warn'](_0x5f2677['xQasC']),global[_0x379338(0x150)]=![]);!_0x5f2677[_0x379338(0x17e)](isUndefined,_0x2f9e87[_0x379338(0x131)])&&(logger[_0x379338(0x126)](_0x5f2677[_0x379338(0x145)]),global[_0x379338(0x150)]=![]);if(!global[_0x379338(0x150)]){_0x2f9e87[_0x5f2677[_0x379338(0x176)]]=![];const _0x11f4f7=_0x5f2677[_0x379338(0x13f)](_0x21b103,_0x5f2677['REmRB'](encodeURIComponent,JSON[_0x379338(0x125)](_0x2f9e87)));_0x5803d4&&(_0x5803d4['currentTest'][_0x379338(0x151)]['project'][_0x379338(0x15e)][_0x379338(0x154)][_0x379338(0x17b)]=_0x11f4f7,_0x5803d4['workerInfo'][_0x379338(0x171)]['use'][_0x379338(0x154)][_0x379338(0x17b)]=_0x11f4f7);}}}catch(_0x1c2ec0){logger[_0x379338(0x121)](_0x379338(0x132)+util[_0x379338(0x149)](_0x1c2ec0));}};function a34_0x3d53(){const _0x209b69=['performScan','hZZzZ','constructor','dpSMN','PERFORM_SCAN','ZGiLH','No\x20summaryResults\x20found.','format','397PpRoXQ','chrome','parse','GWGWA','asfnC','accessibilityOptions','accessibilityPlatform','testInfo','Xovav','(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','connectOptions','88905OsrCSK','No\x20accessibility\x20results\x20were\x20found.','error','playwright-chromium','402801HyoWqB','processAccessibilityCaps','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','jTVBK','11751732DXhVgF','use','1403420qBhrIn','bstackSdkArgs','gDlSP','measureWrapper','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','581136lCJoWc','OqYDV','KRMSX','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','UmDbf','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','fPhJU','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','browserStackExecuteDriver','OhMSg','../../helpers/logger','QFmMm','project','command','hvnAu','browserstack.accessibility','browser','hpQMj','2586990hlUXIM','pqUrV','OijmN','WzQAm','wsEndpoint','browser_version','apHcE','Nyjbf','getAccessibilityResults','accessibilityOptions.scannerVersion','accessibilityOptions.scannerProcessingTimeout','scannerVersion','wcagVersion','needsReview','debug','BS_A11Y_JWT','qhNJc','includeIssueType','stringify','warn','xwoUJ','platformValidation','VkraQ','1226ePLOPe','evaluate','env','getAccessibilityResultsSummary','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','HgXJJ','bJqAI','deviceName','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','setAccessibilityCapabilities','VnulE','66lrxzxQ','replace','KUKCu','scannerProcessingTimeout','toodc','jqMUS','browserStackEvaluate','latest','uEnjq','accessibilityOptions.includeIssueType.bestPractice','CiduU','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','accessibilityOptions.wcagVersion'];a34_0x3d53=function(){return _0x209b69;};return a34_0x3d53();}
1
+ function a34_0x4faf(){const _0x2bc659=['Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','measureWrapper','debug','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','wsEndpoint','gTrcq','2421tyKGss','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','accessibilityOptions.includeIssueType.bestPractice','hZAHM','latest','Esdhg','tSnbl','executeScript','4847264rBPpyM','playwright-chromium','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','replace','kpsHz','stringify','chrome','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','../../helpers/accessibility-automation/helper','63xVoCbs','zHRVT','testInfo','performScan','env','workerInfo','MyGoT','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','No\x20accessibility\x20results\x20were\x20found.','format','ugmra','accessibilityPlatform','(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','browser_version','GVqTr','scannerVersion','uEuhj','qxhwf','includeIssueType','bstackSdkArgs','setAccessibilityCapabilities','accessibilityOptions.wcagVersion','yCblW','PERFORM_SCAN','11jEsxot','browserStackExecuteDriver','wcagVersion','(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','ZFhXC','project','KDFGm','hryjB','4821520fIFjrE','21nQXErH','BCtex','BS_A11Y_JWT','gaFoT','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','accessibilityOptions','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','hgkie','browserName','8971614MXzpED','scannerProcessingTimeout','zSOoa','../../helpers/performance/constants','connectOptions','yPHlL','use','browser','WebDriver','2331270ARcmVc','RGHJS','9124gbLbKG','pPstO','dRSLj','../../helpers/logger','44rbptHK','mgCKw','command','RYVVI','browserstack.accessibility','frsLS','FwdPr','bestPractice','warn','xLLDz','accessibilityOptions.scannerProcessingTimeout','../../helpers/performance/performance-tester','accessibilityOptions.scannerVersion','97258272aoHjtv','parse','getAccessibilityResultsSummary','getAccessibilityResults','sRMCE','CYUqF','winstonLogger','browserStackEvaluate','278gtLTIZ','evaluate','executeAsyncScript','accessibilityOptions.includeIssueType.needsReview','deviceName','util','ZOyzx','uFdsY'];a34_0x4faf=function(){return _0x2bc659;};return a34_0x4faf();}const a34_0x4762f4=a34_0x4bbb;function a34_0x4bbb(_0x29f0c3,_0x197786){const _0x4fafc3=a34_0x4faf();return a34_0x4bbb=function(_0x4bbbe2,_0x157904){_0x4bbbe2=_0x4bbbe2-0x1ad;let _0x2e93c0=_0x4fafc3[_0x4bbbe2];return _0x2e93c0;},a34_0x4bbb(_0x29f0c3,_0x197786);}(function(_0x4aaf71,_0x2ab550){const _0x32177a=a34_0x4bbb,_0x49e385=_0x4aaf71();while(!![]){try{const _0x291abb=-parseInt(_0x32177a(0x1cb))/0x1*(parseInt(_0x32177a(0x1b2))/0x2)+parseInt(_0x32177a(0x1d9))/0x3*(-parseInt(_0x32177a(0x1b6))/0x4)+-parseInt(_0x32177a(0x20a))/0x5+-parseInt(_0x32177a(0x214))/0x6+parseInt(_0x32177a(0x20b))/0x7*(-parseInt(_0x32177a(0x1e1))/0x8)+parseInt(_0x32177a(0x1ea))/0x9*(-parseInt(_0x32177a(0x1b0))/0xa)+-parseInt(_0x32177a(0x202))/0xb*(-parseInt(_0x32177a(0x1c3))/0xc);if(_0x291abb===_0x2ab550)break;else _0x49e385['push'](_0x49e385['shift']());}catch(_0x5645cc){_0x49e385['push'](_0x49e385['shift']());}}}(a34_0x4faf,0xe041d));const util=require(a34_0x4762f4(0x1d0)),logger=require(a34_0x4762f4(0x1b5))[a34_0x4762f4(0x1c9)],{isAccessibilityAutomationSession}=require(a34_0x4762f4(0x1e9)),{isUndefined}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a34_0x4762f4(0x1c1)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x4762f4(0x217));exports[a34_0x4762f4(0x1ca)]=async(_0x5ed940,_0x1810a8,_0x2c2a72={})=>{const _0x2c8c98=a34_0x4762f4,_0xaa4d9={};_0xaa4d9['hZAHM']='bstackSdkArgs';const _0x3e591a=_0xaa4d9;return await _0x5ed940[_0x2c8c98(0x1cc)](_0x2c8c98(0x205)+_0x1810a8['replace'](/arguments/g,_0x3e591a[_0x2c8c98(0x1dc)])+_0x2c8c98(0x1d6)+JSON['stringify'](_0x2c2a72)+')');},exports[a34_0x4762f4(0x203)]=async(_0x223ce8,_0x328f18,_0x51a6e0={})=>{const _0x4b64fe=a34_0x4762f4,_0x59fb09={};_0x59fb09[_0x4b64fe(0x1e5)]=function(_0x1e73cf,_0x230bcd){return _0x1e73cf===_0x230bcd;},_0x59fb09[_0x4b64fe(0x20c)]=_0x4b64fe(0x1af),_0x59fb09[_0x4b64fe(0x1c7)]='Playwright',_0x59fb09['dRSLj']=_0x4b64fe(0x1fd);const _0xb733f2=_0x59fb09;if(_0xb733f2[_0x4b64fe(0x1e5)](_0x223ce8['constructor']['name'],_0xb733f2['BCtex']))return await _0x223ce8[_0x4b64fe(0x1cd)](_0x328f18,_0x51a6e0);else{if(_0xb733f2[_0x4b64fe(0x1e5)](_0x223ce8['constructor']['name'],_0xb733f2[_0x4b64fe(0x1c7)]))return await _0x223ce8[_0x4b64fe(0x1e0)](_0x4b64fe(0x1f6)+_0x328f18[_0x4b64fe(0x1e4)](/arguments/g,_0xb733f2[_0x4b64fe(0x1b4)])+_0x4b64fe(0x1da)+JSON[_0x4b64fe(0x1e6)](_0x51a6e0)+')');}},exports[a34_0x4762f4(0x1fe)]=async _0x577b5f=>{const _0x47dfed=a34_0x4762f4,_0x496dcf={};_0x496dcf[_0x47dfed(0x1f8)]=_0x47dfed(0x1ff),_0x496dcf[_0x47dfed(0x1b1)]=_0x47dfed(0x1c0),_0x496dcf[_0x47dfed(0x1b7)]=_0x47dfed(0x1db),_0x496dcf[_0x47dfed(0x1f4)]=_0x47dfed(0x1ce),_0x496dcf[_0x47dfed(0x209)]='accessibilityOptions.authToken',_0x496dcf[_0x47dfed(0x1c8)]=_0x47dfed(0x1c2);const _0x58f0fd=_0x496dcf;_0x577b5f[_0x47dfed(0x210)]&&(_0x577b5f['accessibilityOptions'][_0x47dfed(0x204)]&&(_0x577b5f[_0x58f0fd['GVqTr']]=_0x577b5f[_0x47dfed(0x210)][_0x47dfed(0x204)]),_0x577b5f[_0x47dfed(0x210)][_0x47dfed(0x215)]&&(_0x577b5f[_0x58f0fd[_0x47dfed(0x1b1)]]=_0x577b5f['accessibilityOptions'][_0x47dfed(0x215)]),_0x577b5f[_0x47dfed(0x210)][_0x47dfed(0x1fc)]&&(_0x577b5f[_0x58f0fd[_0x47dfed(0x1b7)]]=_0x577b5f['accessibilityOptions'][_0x47dfed(0x1fc)][_0x47dfed(0x1bd)],_0x577b5f[_0x58f0fd[_0x47dfed(0x1f4)]]=_0x577b5f[_0x47dfed(0x210)]['includeIssueType']['needsReview']));const _0x5b7bfb=JSON[_0x47dfed(0x1c4)](process[_0x47dfed(0x1ee)][_0x47dfed(0x211)])[_0x47dfed(0x1f9)];_0x577b5f[_0x58f0fd[_0x47dfed(0x209)]]=process['env'][_0x47dfed(0x20d)],_0x577b5f[_0x58f0fd[_0x47dfed(0x1c8)]]=_0x5b7bfb,delete _0x577b5f['accessibilityOptions'];},exports[a34_0x4762f4(0x1c6)]=async _0x22889e=>{const _0x1b58b5=a34_0x4762f4,_0x5f2773={};_0x5f2773[_0x1b58b5(0x20e)]=_0x1b58b5(0x1f2),_0x5f2773[_0x1b58b5(0x208)]=_0x1b58b5(0x20f);const _0x30a685=_0x5f2773;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x22889e,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x22889e,scripts.getResults);})();return res;}catch{return logger['error'](_0x30a685[_0x1b58b5(0x20e)]),[];}else return logger[_0x1b58b5(0x1be)](_0x30a685[_0x1b58b5(0x208)]),[];},exports[a34_0x4762f4(0x1ed)]=async(_0x1d6943,_0x5997ac='')=>{const _0x301f80=a34_0x4762f4;if(global[_0x301f80(0x1f5)])return await PerformanceTester[_0x301f80(0x1d4)](PerformanceA11yEvents[_0x301f80(0x201)],async()=>{const _0x5728ea=_0x301f80,_0x141b19={};_0x141b19[_0x5728ea(0x1b8)]=_0x5997ac,await exports[_0x5728ea(0x1ca)](_0x1d6943,scripts['performScan'],_0x141b19);},{'command':_0x5997ac})();},exports[a34_0x4762f4(0x1c5)]=async _0x2b02ae=>{const _0x290863=a34_0x4762f4,_0x479fd0={};_0x479fd0[_0x290863(0x1d8)]='No\x20summaryResults\x20found.',_0x479fd0['qtnOy']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x26aedb=_0x479fd0;if(global[_0x290863(0x1f5)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x2b02ae,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x2b02ae,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0x26aedb[_0x290863(0x1d8)]),{};}else return logger['warn'](_0x26aedb['qtnOy']),{};},exports['platformValidation']=async _0x4e2dc4=>{const _0x2cb900=a34_0x4762f4,_0x4aaa46={'ZOyzx':function(_0x4baff1,_0x14ed41){return _0x4baff1!==_0x14ed41;},'adouC':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','tSnbl':function(_0x27add9,_0x2da618){return _0x27add9===_0x2da618;},'Esdhg':'chrome','frsLS':_0x2cb900(0x1e2),'pPstO':_0x2cb900(0x1e8),'uFdsY':function(_0x453977,_0x4be36d){return _0x453977(_0x4be36d);},'RYVVI':function(_0x326a3c,_0x26fa34){return _0x326a3c===_0x26fa34;},'klzhJ':_0x2cb900(0x1dd),'yCblW':function(_0x44d2c6,_0x56a78f){return _0x44d2c6>_0x56a78f;},'hgkie':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x4aaa46[_0x2cb900(0x1d1)](_0x4e2dc4['deviceName'],''))return logger[_0x2cb900(0x1be)](_0x4aaa46['adouC']),![];const _0x143de8=_0x4e2dc4[_0x2cb900(0x1ae)];if(!(_0x4aaa46[_0x2cb900(0x1df)](_0x143de8,_0x4aaa46[_0x2cb900(0x1de)])||_0x4aaa46['tSnbl'](_0x143de8,_0x4aaa46[_0x2cb900(0x1bb)])))return logger[_0x2cb900(0x1be)](_0x4aaa46[_0x2cb900(0x1b3)]),![];const _0x24cc1a=_0x4aaa46[_0x2cb900(0x1d2)](parseInt,_0x4e2dc4['browser_version']);if(!(_0x4aaa46[_0x2cb900(0x1b9)](_0x24cc1a,_0x4aaa46['klzhJ'])||_0x4aaa46[_0x2cb900(0x200)](_0x24cc1a,0x5e)))return logger[_0x2cb900(0x1be)](_0x4aaa46[_0x2cb900(0x212)]),![];}catch(_0x37eb0f){logger[_0x2cb900(0x1d5)](_0x2cb900(0x1d3)+util[_0x2cb900(0x1f3)](_0x37eb0f));}return!![];},exports['processAccessibilityCaps']=(_0x3e9952,_0x357b7f,_0x99c61f)=>{const _0x4acc76=a34_0x4762f4,_0x18166a={'ZFhXC':function(_0x2a6caa){return _0x2a6caa();},'zSOoa':_0x4acc76(0x1ba),'xLLDz':function(_0x186e1c,_0x4667e3){return _0x186e1c===_0x4667e3;},'qxhwf':_0x4acc76(0x1e7),'yPHlL':function(_0x1c8fc0,_0x12ad25){return _0x1c8fc0===_0x12ad25;},'zHRVT':_0x4acc76(0x1e2),'uEuhj':_0x4acc76(0x1e8),'MyGoT':'latest','VhyTx':function(_0x59f50d,_0x47b235){return _0x59f50d>_0x47b235;},'aBOug':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','FwdPr':function(_0x51316b,_0x230897){return _0x51316b(_0x230897);},'JyGVC':_0x4acc76(0x1f1),'ulQPK':function(_0x4fca77,_0x426163){return _0x4fca77+_0x426163;},'SwTMz':function(_0x286534,_0x4e405d){return _0x286534(_0x4e405d);}};try{if(_0x18166a[_0x4acc76(0x206)](isAccessibilityAutomationSession)){global[_0x4acc76(0x1f5)]=!![];!_0x3e9952[_0x18166a['zSOoa']]&&(global[_0x4acc76(0x1f5)]=![]);!(_0x18166a[_0x4acc76(0x1bf)](_0x3e9952[_0x4acc76(0x213)],_0x18166a[_0x4acc76(0x1fb)])||_0x18166a[_0x4acc76(0x219)](_0x3e9952[_0x4acc76(0x213)],_0x18166a[_0x4acc76(0x1eb)]))&&(logger[_0x4acc76(0x1be)](_0x18166a[_0x4acc76(0x1fa)]),global['accessibilityPlatform']=![]);!(_0x18166a[_0x4acc76(0x219)](_0x3e9952[_0x4acc76(0x1f7)],_0x18166a[_0x4acc76(0x1f0)])||_0x18166a['VhyTx'](_0x3e9952['browser_version'],0x5e))&&(logger[_0x4acc76(0x1be)](_0x18166a['aBOug']),global[_0x4acc76(0x1f5)]=![]);!_0x18166a[_0x4acc76(0x1bc)](isUndefined,_0x3e9952[_0x4acc76(0x1cf)])&&(logger[_0x4acc76(0x1be)](_0x18166a['JyGVC']),global[_0x4acc76(0x1f5)]=![]);if(!global['accessibilityPlatform']){_0x3e9952[_0x18166a[_0x4acc76(0x216)]]=![];const _0x2c58ea=_0x18166a['ulQPK'](_0x357b7f,_0x18166a['SwTMz'](encodeURIComponent,JSON['stringify'](_0x3e9952)));_0x99c61f&&(_0x99c61f['currentTest'][_0x4acc76(0x1ec)]['project'][_0x4acc76(0x1ad)][_0x4acc76(0x218)][_0x4acc76(0x1d7)]=_0x2c58ea,_0x99c61f[_0x4acc76(0x1ef)][_0x4acc76(0x207)]['use'][_0x4acc76(0x218)][_0x4acc76(0x1d7)]=_0x2c58ea);}}}catch(_0x13804d){logger['debug'](_0x4acc76(0x1e3)+util[_0x4acc76(0x1f3)](_0x13804d));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a35_0x3c407d=a35_0x3347;(function(_0x454b2f,_0x5021dc){const _0x6b24c0=a35_0x3347,_0x549c18=_0x454b2f();while(!![]){try{const _0x2dd6ba=parseInt(_0x6b24c0(0x1b3))/0x1*(-parseInt(_0x6b24c0(0x16d))/0x2)+parseInt(_0x6b24c0(0x1e6))/0x3*(-parseInt(_0x6b24c0(0x1f2))/0x4)+parseInt(_0x6b24c0(0x175))/0x5+-parseInt(_0x6b24c0(0x179))/0x6+parseInt(_0x6b24c0(0x1ce))/0x7*(parseInt(_0x6b24c0(0x1ab))/0x8)+parseInt(_0x6b24c0(0x1ea))/0x9+-parseInt(_0x6b24c0(0x1f5))/0xa*(-parseInt(_0x6b24c0(0x1bf))/0xb);if(_0x2dd6ba===_0x5021dc)break;else _0x549c18['push'](_0x549c18['shift']());}catch(_0x3c4871){_0x549c18['push'](_0x549c18['shift']());}}}(a35_0x558c,0xc5b16));function a35_0x3347(_0x362561,_0x555f97){const _0x558c60=a35_0x558c();return a35_0x3347=function(_0x33475b,_0x4b5a2c){_0x33475b=_0x33475b-0x167;let _0x18941a=_0x558c60[_0x33475b];return _0x18941a;},a35_0x3347(_0x362561,_0x555f97);}const fs=require('fs'),path=require(a35_0x3c407d(0x1e5)),{spawn}=require('child_process'),{format}=require(a35_0x3c407d(0x203)),logger=require('../../helpers/logger')[a35_0x3c407d(0x174)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a35_0x3c407d(0x1a5)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a35_0x3c407d(0x19c)),{getConfigLoaderPath}=require(a35_0x3c407d(0x16a)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a35_0x3c407d(0x1a8)),TestHubHandler=require(a35_0x3c407d(0x1bc)),PerformanceTester=require(a35_0x3c407d(0x1f9)),PerformanceEvents=require(a35_0x3c407d(0x186))[a35_0x3c407d(0x1d5)],getUserPlaywrightConfig=async(_0x828d17,_0x34a00d)=>{const _0x153798=a35_0x3c407d,_0x1d2b73={'nnyxl':function(_0x3e3d84){return _0x3e3d84();},'GCBeG':function(_0x192564,_0x42d4bf){return _0x192564(_0x42d4bf);},'jCsWc':function(_0x22c06f,_0x34c47a){return _0x22c06f(_0x34c47a);},'wZZIj':_0x153798(0x182),'OpnLf':_0x153798(0x1e0)},_0x1c0f1d=!helper[_0x153798(0x17a)](_0x828d17['config']),_0xd50ae0=_0x1c0f1d?path[_0x153798(0x206)](process[_0x153798(0x193)](),_0x828d17[_0x153798(0x200)]):process[_0x153798(0x193)](),{resolveConfigFile:_0x3ab7f7,resolveConfigLocation:_0x40437a}=helper[_0x153798(0x18a)][_0x153798(0x205)](null,_0x1d2b73[_0x153798(0x1e4)](getConfigLoaderPath)),_0x579d10=_0x3ab7f7?_0x1d2b73[_0x153798(0x169)](_0x3ab7f7,_0xd50ae0):helper[_0x153798(0x1dd)](_0x1d2b73[_0x153798(0x16c)](_0x40437a,_0xd50ae0),[_0x1d2b73[_0x153798(0x170)]]),_0x5445e4={};if(_0x1c0f1d){const _0x17fb44=_0x34a00d[_0x153798(0x1a9)](_0x29165a=>_0x29165a===_0x153798(0x1c9)||_0x29165a==='-c'||_0x29165a[_0x153798(0x1c7)](_0x153798(0x1e0)));_0x34a00d[_0x153798(0x1d4)](_0x17fb44,_0x34a00d[_0x17fb44][_0x153798(0x1c7)](_0x1d2b73[_0x153798(0x1a1)])?0x1:0x2);}const _0x5c0f39={};return _0x5c0f39[_0x153798(0x1e5)]=_0x579d10,_0x5c0f39[_0x153798(0x200)]=_0x5445e4,_0x5c0f39;},handleO11yRerun=_0x8dfd23=>{const _0x91165a=a35_0x3c407d,_0x509f31={};_0x509f31[_0x91165a(0x197)]=_0x91165a(0x1e8);const _0x1c4c4e=_0x509f31,_0x36a88a=helper[_0x91165a(0x18d)](process[_0x91165a(0x16b)][_0x91165a(0x1d8)]);if(_0x36a88a){const _0x14c2dc=process[_0x91165a(0x16b)]['BROWSERSTACK_RERUN_TESTS'],_0xe161eb=[];if(helper[_0x91165a(0x1ac)](_0x14c2dc)&&!helper['isUndefined'](_0x14c2dc)){_0x14c2dc[_0x91165a(0x1fa)](',')[_0x91165a(0x1ad)](_0x5bd798=>{const _0xb773bb=_0x91165a;_0xe161eb[_0xb773bb(0x1d1)]('('+_0x5bd798[_0xb773bb(0x202)]()+')');});const _0x16b03a='^'+_0xe161eb[_0x91165a(0x1f8)]('|')+'$';_0x8dfd23[_0x91165a(0x1d1)](_0x1c4c4e[_0x91165a(0x197)],_0x16b03a);}}},spawnOriginalProcess=_0x1ae3be=>{const _0x1edc16=a35_0x3c407d,_0x2162c5={'IkZfg':function(_0xaeb89e,_0x4997be,_0x3e7a59,_0x40af70){return _0xaeb89e(_0x4997be,_0x3e7a59,_0x40af70);},'FeRll':_0x1edc16(0x17c),'GXiCf':_0x1edc16(0x171),'TdiRC':function(_0x51f1b9,_0x1aad26){return _0x51f1b9===_0x1aad26;},'DSAwP':_0x1edc16(0x180),'TZDXy':'inherit'};_0x2162c5[_0x1edc16(0x1be)](spawn,_0x2162c5[_0x1edc16(0x19f)],[_0x2162c5['GXiCf'],..._0x1ae3be['slice'](0x1)],{'shell':_0x2162c5[_0x1edc16(0x1ec)](process[_0x1edc16(0x1c6)],_0x2162c5['DSAwP']),'stdio':_0x2162c5[_0x1edc16(0x1bd)],'cwd':process[_0x1edc16(0x193)]()});},isTestCommand=(_0xfb01d3,_0x5168d7)=>{const _0x20bd19=a35_0x3c407d,_0x2227a5={};_0x2227a5['yjutQ']=function(_0x798f99,_0x967794){return _0x798f99>_0x967794;},_0x2227a5[_0x20bd19(0x184)]=function(_0x4e396c,_0x28dc75){return _0x4e396c===_0x28dc75;},_0x2227a5[_0x20bd19(0x181)]=_0x20bd19(0x1f7);const _0x95fab7=_0x2227a5;if(_0x95fab7[_0x20bd19(0x1f0)](_0x5168d7[_0x20bd19(0x1de)],0x1)&&_0x95fab7['BDRZp'](_0x5168d7[0x1],_0x95fab7[_0x20bd19(0x181)]))return!![];return![];};function a35_0x558c(){const _0x476d47=['process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','Deleting\x20','SeXuU','writeFileSync','exports','true','qOTJR','../../helpers/test-observability/constants','Error\x20in\x20deleting\x20playwright\x20results','accessibilityOptions','FeRll','SDK_PRE_INITIALIZE','OpnLf','SDK_POST_INITIALIZE','getProxyUrl','sAOtY','../../helpers/utilities','Nzamu','get','./accessibility-helper','findIndex','TLvWs','8wqnyPG','validateRerunTestList','map','BROWSERSTACK_TEST_OBSERVABILITY','ZHalf','vhunL','clearTempPWConfig','slice','282mbWCJa','NVHOB','USER_CONFIG_DETAILS_PATH','stop','error','testContextOptions','Updated\x20config\x20file\x20name\x20to\x20-\x20','lcAca','Playwright\x20process\x20exited\x20with\x20code\x20','../../helpers/testhub/testhubHandler','TZDXy','IkZfg','2635215CUUyHw','--disable-browserstack-automation','parse','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','NfWzN','hmzue','false','platform','startsWith','UZLBc','--config','measureWrapper','logLevel','isFalse','YeSuP','1206933RayBQI','debug','BROWSERSTACK_AUTOMATION','push','FDGPV','errorMessage','splice','EVENTS','gRyOY','IwtoW','BROWSERSTACK_RERUN','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','fieoQ','PLAYWRIGHT','indexOf','nestedKeyValue','length','accessibility','--config=','xKBUW','start','Error\x20in\x20getting\x20funnel\x20data\x20results','nnyxl','path','690peULce','SDK_SETUP','--grep','isTypescriptProject','10555398qKLTka','tffGr','TdiRC','OxZSF','JbIRM','BrowserStack\x20config\x20file\x20not\x20found.','yjutQ','dirname','15256QRllkP','cliConfig','includes','10cWgfPn','has','test','join','../../helpers/performance/performance-tester','split','BROWSERSTACK_PW_CONFIG_DIR','playwright-browserstack-sdk.config.js','NvYZW','argv','WJUjH','config','end','trim','util','BROWSERSTACK_TEST_ACCESSIBILITY_YML','apply','resolve','Error\x20in\x20closing\x20playwright','PACKAGE_TYPE','BROWSERSTACK_SETUP_CONFIG_PATH','inherit','testObservability','GCBeG','./reporter/pwUtils','env','jCsWc','6338bBYEkz','AYZvT','getPackageType','wZZIj','playwright','assign','finalExecution','winstonLogger','5689255Wcwjub','browserstackSetupConfig.json','tNrJP','--disable-test-observability','852174xyfoQf','isUndefined','\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();','npx','getConfigPath','awSGV','5|7|4|0|6|3|8|1|9|2','win32','bjTMZ','resolvedConfigFile','homedir','BDRZp','automation','../../helpers/performance/constants','skipSessionStatus','HOVEZ','info','requirePWModule','ABngy','concat','isTrue','uXefx','unlinkSync','SDK_CLEANUP','pw_result.json','QAMSg','cwd','.browserstack'];a35_0x558c=function(){return _0x476d47;};return a35_0x558c();}async function run(_0x1f1758,_0x39336e){const _0x1583a9=a35_0x3c407d,_0x5c93f5={'ZHalf':function(_0x1bc50b,_0x134ab6){return _0x1bc50b(_0x134ab6);},'sAOtY':_0x1583a9(0x194),'gRyOY':_0x1583a9(0x191),'TLvWs':function(_0x65654,_0x2acc21){return _0x65654+_0x2acc21;},'Xlrgn':_0x1583a9(0x1e3),'HOVEZ':_0x1583a9(0x17f),'fieoQ':function(_0x318b58){return _0x318b58();},'FDGPV':function(_0x8f9b4f,_0x165963){return _0x8f9b4f+_0x165963;},'NfWzN':_0x1583a9(0x207),'WHFRb':_0x1583a9(0x1ef),'Nzamu':_0x1583a9(0x185),'ABngy':function(_0x127543,_0xbb08e8){return _0x127543!=_0xbb08e8;},'awSGV':function(_0x1ba765,_0x8b56d5,_0x1e8676){return _0x1ba765(_0x8b56d5,_0x1e8676);},'nxdVa':function(_0x1659d9,_0x4779d9){return _0x1659d9===_0x4779d9;},'IwtoW':_0x1583a9(0x19a),'UZLBc':function(_0x3902b3,_0x5b4d2e){return _0x3902b3(_0x5b4d2e);},'JbIRM':_0x1583a9(0x176),'tNrJP':function(_0x2eefa5,_0x21aebf){return _0x2eefa5===_0x21aebf;},'OxZSF':'playwright-browserstack-sdk.config.cjs','xtiyj':_0x1583a9(0x1fc),'uXefx':function(_0x167e7d,_0x19b8e1){return _0x167e7d-_0x19b8e1;},'YeSuP':_0x1583a9(0x1b9),'czRei':function(_0x286d31,_0x274ff7){return _0x286d31>_0x274ff7;},'NvYZW':function(_0x408f44,_0x36a187){return _0x408f44+_0x36a187;},'qTOzd':function(_0x4b96aa,_0x233c8e,_0x207518,_0x408305){return _0x4b96aa(_0x233c8e,_0x207518,_0x408305);},'vhunL':_0x1583a9(0x17c),'VGkmx':_0x1583a9(0x171),'zGpCI':_0x1583a9(0x1f7),'qOTJR':_0x1583a9(0x1c9),'SyiLS':function(_0x396ce0,_0x26aad3){return _0x396ce0===_0x26aad3;},'Wmyag':_0x1583a9(0x180),'ePYMm':_0x1583a9(0x167),'lcAca':'close','NVHOB':'--disable-browserstack-automation','WJUjH':_0x1583a9(0x1c5),'QAMSg':_0x1583a9(0x178),'djViK':function(_0x4f9fdb,_0x1e222f){return _0x4f9fdb>=_0x1e222f;},'DYrLo':function(_0x591f0c,_0x13ceac){return _0x591f0c+_0x13ceac;},'qWPaf':_0x1583a9(0x19d),'mxsYg':function(_0x142d3b,_0x79592d){return _0x142d3b(_0x79592d);}};!helper[_0x1583a9(0x1cc)](process[_0x1583a9(0x16b)]['BROWSERSTACK_AUTOMATION'])&&(process[_0x1583a9(0x16b)][_0x1583a9(0x1d0)]=!![]);process[_0x1583a9(0x1fe)][_0x1583a9(0x1f4)](_0x5c93f5[_0x1583a9(0x1b4)])&&(process[_0x1583a9(0x16b)]['BROWSERSTACK_AUTOMATION']=_0x5c93f5[_0x1583a9(0x1ff)],_0x39336e=_0x39336e['filter'](_0x5aebb9=>_0x5aebb9!==_0x1583a9(0x1c0)));const _0x55750e=_0x39336e[_0x1583a9(0x1dc)](_0x5c93f5[_0x1583a9(0x192)]);_0x5c93f5['djViK'](_0x55750e,0x0)&&(process[_0x1583a9(0x16b)][_0x1583a9(0x1ae)]=_0x5c93f5[_0x1583a9(0x1ff)],_0x39336e=_0x39336e['filter'](_0x5ed531=>_0x5ed531!=='--disable-test-observability'));try{const _0x1858d0=path[_0x1583a9(0x1f8)](helper['homedir'](),_0x5c93f5[_0x1583a9(0x1a4)],_0x5c93f5[_0x1583a9(0x1d6)]);fs['existsSync'](_0x1858d0)&&fs[_0x1583a9(0x18f)](_0x1858d0);}catch(_0x5331a0){logger[_0x1583a9(0x1cf)](_0x5c93f5['DYrLo'](_0x5c93f5['qWPaf'],_0x5331a0));}if(!_0x5c93f5[_0x1583a9(0x17e)](isTestCommand,_0x1f1758,_0x39336e)){_0x5c93f5['mxsYg'](spawnOriginalProcess,_0x39336e);return;}const _0x41db96=new BrowserStackSetup(_0x1f1758,FRAMEWORKS[_0x1583a9(0x1db)]);await PerformanceTester[_0x1583a9(0x1ca)](PerformanceEvents[_0x1583a9(0x1a0)],async()=>{const _0x18a567=_0x1583a9,_0x202aa2={'AYZvT':_0x5c93f5[_0x18a567(0x188)],'hmzue':function(_0x3e79e2){const _0x529054=_0x18a567;return _0x5c93f5[_0x529054(0x1da)](_0x3e79e2);},'tffGr':function(_0x1508f5,_0x27ac86){const _0x4c65d9=_0x18a567;return _0x5c93f5[_0x4c65d9(0x1d2)](_0x1508f5,_0x27ac86);},'xKBUW':_0x5c93f5[_0x18a567(0x1c3)]};if(!_0x41db96[_0x18a567(0x200)]){logger[_0x18a567(0x1b7)](_0x5c93f5['WHFRb']);return;}await _0x41db96['initialize']();!helper['isUndefined'](_0x41db96[_0x18a567(0x1f3)])&&_0x41db96['cliConfig'][_0x18a567(0x1f6)](_0x5c93f5['Nzamu'])&&(process[_0x18a567(0x16b)][_0x18a567(0x1d0)]=_0x41db96['cliConfig'][_0x18a567(0x1a7)](_0x5c93f5[_0x18a567(0x1a6)])||!![]);_0x5c93f5[_0x18a567(0x18b)](_0x41db96['config'][_0x18a567(0x168)],null)&&!helper['isTrue'](process[_0x18a567(0x16b)][_0x18a567(0x1ae)])&&(process[_0x18a567(0x16b)][_0x18a567(0x1ae)]=process[_0x18a567(0x16b)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x41db96[_0x18a567(0x200)][_0x18a567(0x168)]);const _0x301883=!helper[_0x18a567(0x1cc)](process[_0x18a567(0x16b)]['BROWSERSTACK_TEST_OBSERVABILITY']);let _0x479dfa=![];_0x41db96[_0x18a567(0x200)]['accessibility']&&(_0x479dfa=!![],process[_0x18a567(0x16b)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x41db96[_0x18a567(0x200)][_0x18a567(0x1df)]);_0x41db96[_0x18a567(0x200)][_0x18a567(0x19e)]&&(process[_0x18a567(0x16b)][_0x18a567(0x1c2)]=JSON['stringify'](_0x41db96[_0x18a567(0x200)][_0x18a567(0x19e)]));const _0xade48c=_0x39336e[_0x18a567(0x18c)](),_0x41affc=await _0x5c93f5[_0x18a567(0x17e)](getUserPlaywrightConfig,_0x1f1758,_0x39336e);if(helper[_0x18a567(0x17a)](_0x41affc)){_0x5c93f5[_0x18a567(0x1af)](spawnOriginalProcess,_0xade48c);return;}const _0x284ae2=_0x41affc[_0x18a567(0x1e5)]?path[_0x18a567(0x1f1)](_0x41affc[_0x18a567(0x1e5)]):process[_0x18a567(0x193)]();process['env'][_0x18a567(0x1fb)]=_0x284ae2,await PerformanceTester[_0x18a567(0x1ca)](PerformanceEvents[_0x18a567(0x1a2)],async()=>{const _0x51d4b4=_0x18a567;await TestHubHandler['launchBuild'](FRAMEWORKS['PLAYWRIGHT'],_0x41db96),_0x301883&&_0x5c93f5[_0x51d4b4(0x1af)](handleO11yRerun,_0x39336e);})();let _0x1d01dc=_0x5c93f5['nxdVa'](process[_0x18a567(0x16b)][_0x18a567(0x204)],_0x5c93f5[_0x18a567(0x1d7)]);_0x1d01dc=_0x1d01dc||_0x5c93f5[_0x18a567(0x1af)](checkAccessibilityPlatformConfig,_0x41db96[_0x18a567(0x200)]),process['env'][_0x18a567(0x204)]=_0x1d01dc;_0x1d01dc&&_0x5c93f5[_0x18a567(0x1c8)](setAccessibilityCapabilities,_0x41db96[_0x18a567(0x200)]);const _0x432515=path[_0x18a567(0x1f8)](_0x41affc[_0x18a567(0x1e5)]?path[_0x18a567(0x1f1)](_0x41affc[_0x18a567(0x1e5)]):process[_0x18a567(0x193)](),_0x5c93f5[_0x18a567(0x1ee)]);fs[_0x18a567(0x198)](_0x432515,helper['serializeToYamlString'](_0x41db96[_0x18a567(0x200)])),process['env'][_0x18a567(0x209)]=_0x432515,helper[_0x18a567(0x1b1)]();let _0x7f4210='';_0x5c93f5[_0x18a567(0x177)](helper[_0x18a567(0x16f)](),constants[_0x18a567(0x208)]['MODULE'])?_0x7f4210=_0x5c93f5[_0x18a567(0x1ed)]:_0x7f4210=_0x5c93f5['xtiyj'];let _0x357c6a='';if(helper[_0x18a567(0x1e9)](_0x41affc[_0x18a567(0x1e5)])){_0x357c6a=_0x18a567(0x1d9);const _0x37407a=_0x7f4210['split']('.');_0x37407a[_0x5c93f5[_0x18a567(0x18e)](_0x37407a[_0x18a567(0x1de)],0x1)]='ts',_0x7f4210=_0x37407a[_0x18a567(0x1f8)]('.'),logger[_0x18a567(0x1cf)](_0x5c93f5[_0x18a567(0x1aa)](_0x5c93f5[_0x18a567(0x1cd)],_0x7f4210));}else _0x357c6a='\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 _0x5098cd=path[_0x18a567(0x1f8)](_0x41affc[_0x18a567(0x1e5)]?path[_0x18a567(0x1f1)](_0x41affc['path']):process['cwd'](),_0x7f4210);let _0x48a522=_0x41affc[_0x18a567(0x1e5)]?_0x41affc[_0x18a567(0x1e5)]:'';_0x48a522=_0x5c93f5['czRei'](_0x48a522['length'],0x0)?path[_0x18a567(0x206)](_0x48a522):'',process[_0x18a567(0x16b)][_0x18a567(0x1b5)]=_0x48a522;const _0x34d93b=helper[_0x18a567(0x1a3)](_0x41db96[_0x18a567(0x200)]);_0x34d93b&&(_0x357c6a=_0x5c93f5[_0x18a567(0x1fd)](_0x18a567(0x195)+_0x34d93b+_0x18a567(0x17b),_0x357c6a));helper['filterBrowserstackArgs']({},_0x39336e),fs[_0x18a567(0x198)](_0x5098cd,_0x357c6a),PerformanceTester[_0x18a567(0x201)](PerformanceEvents[_0x18a567(0x1e7)]);const _0x10d8ec=_0x5c93f5['qTOzd'](spawn,_0x5c93f5[_0x18a567(0x1b0)],[_0x5c93f5['VGkmx'],_0x5c93f5['zGpCI'],_0x5c93f5[_0x18a567(0x19b)],_0x5098cd,..._0x39336e[_0x18a567(0x1b2)](0x2)],{'shell':_0x5c93f5['SyiLS'](process[_0x18a567(0x1c6)],_0x5c93f5['Wmyag']),'stdio':_0x5c93f5['ePYMm'],'cwd':process[_0x18a567(0x193)](),'env':Object[_0x18a567(0x172)]({},process[_0x18a567(0x16b)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x18a567(0x17d)](_0x1f1758),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x41db96[_0x18a567(0x200)][_0x18a567(0x1b8)][_0x18a567(0x187)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x41db96[_0x18a567(0x200)][_0x18a567(0x1b8)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x41db96['config'][_0x18a567(0x1cb)]})}),_0x19e1c0=()=>{const _0x5c1e81=_0x18a567;try{const _0x3fe6f1=path['join'](helper[_0x5c1e81(0x183)](),_0x5c93f5[_0x5c1e81(0x1a4)],_0x5c93f5[_0x5c1e81(0x1d6)]);if(fs['existsSync'](_0x3fe6f1)){let _0x226cf6=fs['readFileSync'](_0x3fe6f1);_0x226cf6=JSON[_0x5c1e81(0x1c1)](_0x226cf6),_0x41db96[_0x5c1e81(0x1d3)]=_0x226cf6,fs[_0x5c1e81(0x18f)](_0x3fe6f1);}}catch(_0x4e5fbd){logger[_0x5c1e81(0x1cf)](_0x5c93f5[_0x5c1e81(0x1aa)](_0x5c93f5['Xlrgn'],_0x4e5fbd));}};_0x10d8ec['on'](_0x5c93f5[_0x18a567(0x1ba)],async _0x7f11fe=>{const _0x5e9c27=_0x18a567;try{const _0x1aa38=_0x202aa2[_0x5e9c27(0x16e)][_0x5e9c27(0x1fa)]('|');let _0x231e2=0x0;while(!![]){switch(_0x1aa38[_0x231e2++]){case'0':await utilities[_0x5e9c27(0x173)](_0x41db96);continue;case'1':fs[_0x5e9c27(0x18f)](_0x5098cd);continue;case'2':fs[_0x5e9c27(0x18f)](_0x432515);continue;case'3':logger['debug'](_0x5e9c27(0x1bb)+_0x7f11fe);continue;case'4':await TestHubHandler[_0x5e9c27(0x1b6)]();continue;case'5':PerformanceTester[_0x5e9c27(0x1e2)](PerformanceEvents[_0x5e9c27(0x190)]);continue;case'6':process['exitCode']=_0x7f11fe;continue;case'7':_0x202aa2[_0x5e9c27(0x1c4)](_0x19e1c0);continue;case'8':logger[_0x5e9c27(0x189)](_0x5e9c27(0x196)+_0x5098cd);continue;case'9':logger['debug'](_0x5e9c27(0x196)+_0x432515);continue;}break;}}catch(_0xf30ca2){logger[_0x5e9c27(0x1cf)](_0x202aa2[_0x5e9c27(0x1eb)](_0x202aa2[_0x5e9c27(0x1e1)],_0xf30ca2));}});})();}module[a35_0x3c407d(0x199)]=run;
2
+ 'use strict';const a35_0x279114=a35_0x3d99;function a35_0x34d6(){const _0x12a739=['1186sGYynx','gXzNt','nestedKeyValue','Playwright\x20process\x20exited\x20with\x20code\x20','split','Error\x20in\x20closing\x20playwright','XCXVY','argv','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','Updated\x20config\x20file\x20name\x20to\x20-\x20','1097346FQzlGn','isUndefined','WyLxK','start','accessibilityOptions','.browserstack','length','tpyGW','unlinkSync','debug','laUnP','info','validateRerunTestList','NoGGg','3dDJbIx','platform','MODULE','skipSessionName','KnpVi','iTYDB','accessibility','BYFZJ','myiki','join','splice','./accessibility-helper','OiXdg','314615tsVtEM','startsWith','close','ftJkU','WqPyU','isTrue','env','../../helpers/performance/constants','winstonLogger','SFkCu','resolve','concat','stringify','--config=','OVCYD','../../helpers/BrowserStackSetup','path','KtOxh','skipSessionStatus','PLAYWRIGHT','logLevel','49DACfxK','config','3252732ygbBJS','../../helpers/logger','dirname','homedir','BROWSERSTACK_SETUP_CONFIG_PATH','measureWrapper','browserstackSetupConfig.json','finalExecution','hWoad','findIndex','serializeToYamlString','map','Error\x20in\x20getting\x20funnel\x20data\x20results','JMLGH','amiJH','isFalse','rvLJv','testContextOptions','gQUBb','3894237AydheJ','../../helpers/performance/performance-tester','BROWSERSTACK_TEST_OBSERVABILITY','false','filter','../../helpers/accessibility-automation/helper','assign','KwquQ','2081468ojnOtJ','sKHJq','getPackageType','BROWSERSTACK_PW_CONFIG_DIR','GGoKe','cliConfig','win32','SDK_SETUP','getProxyUrl','has','true','EVENTS','wYipl','parse','test','--config','cwd','Deleting\x20','isTypescriptProject','ITJhg','\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();','SudXr','../../helpers/test-observability/constants','errorMessage','tGHvl','7|4|8|9|6|2|3|5|0|1','CuDiR','uMLuq','SDK_POST_INITIALIZE','existsSync','SDK_PRE_INITIALIZE','exports','./reporter/pwUtils','get','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BROWSERSTACK_RERUN','DPkBa','uRXPz','rumCJ','4119328MQRysB','resolvedConfigFile','USER_CONFIG_DETAILS_PATH','../utils/constants','stop','Error\x20in\x20deleting\x20playwright\x20results','--disable-browserstack-automation','BROWSERSTACK_AUTOMATION','ZnJYX','slice','SUMmW','playwright-browserstack-sdk.config.cjs','vHFYx','automation','KSdUC','kGpFF','--grep','../../helpers/helper','jtaKM','HpwfE','BROWSERSTACK_TEST_ACCESSIBILITY_YML','exitCode','BrCSG','initialize','gOmpu','Pulzh','apply','ZMsUX','requirePWModule','playwright','oNUBh','npx','playwright-browserstack-sdk.config.js','testObservability','BROWSERSTACK_RERUN_TESTS','KfrFG','--disable-test-observability','filterBrowserstackArgs','jwGfv','indexOf','inherit','readFileSync'];a35_0x34d6=function(){return _0x12a739;};return a35_0x34d6();}function a35_0x3d99(_0x275cff,_0x2664af){const _0x34d615=a35_0x34d6();return a35_0x3d99=function(_0x3d994d,_0x24edb3){_0x3d994d=_0x3d994d-0x13b;let _0x384376=_0x34d615[_0x3d994d];return _0x384376;},a35_0x3d99(_0x275cff,_0x2664af);}(function(_0x21fb02,_0x1c16fc){const _0x248e5e=a35_0x3d99,_0x2668bf=_0x21fb02();while(!![]){try{const _0x428e12=-parseInt(_0x248e5e(0x1c0))/0x1*(-parseInt(_0x248e5e(0x186))/0x2)+-parseInt(_0x248e5e(0x19e))/0x3*(-parseInt(_0x248e5e(0x1dd))/0x4)+-parseInt(_0x248e5e(0x1ab))/0x5+parseInt(_0x248e5e(0x190))/0x6+-parseInt(_0x248e5e(0x1c2))/0x7+parseInt(_0x248e5e(0x15c))/0x8+-parseInt(_0x248e5e(0x1d5))/0x9;if(_0x428e12===_0x1c16fc)break;else _0x2668bf['push'](_0x2668bf['shift']());}catch(_0x198e20){_0x2668bf['push'](_0x2668bf['shift']());}}}(a35_0x34d6,0x460db));const fs=require('fs'),path=require(a35_0x279114(0x1bb)),{spawn}=require('child_process'),{format}=require('util'),logger=require(a35_0x279114(0x1c3))[a35_0x279114(0x1b3)],{default:BrowserStackSetup}=require(a35_0x279114(0x1ba)),helper=require(a35_0x279114(0x16d)),utilities=require('../../helpers/utilities'),constants=require(a35_0x279114(0x15f)),{FRAMEWORKS}=require(a35_0x279114(0x14b)),{getConfigLoaderPath}=require(a35_0x279114(0x155)),{checkAccessibilityPlatformConfig}=require(a35_0x279114(0x1da)),{setAccessibilityCapabilities}=require(a35_0x279114(0x1a9)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a35_0x279114(0x1d6)),PerformanceEvents=require(a35_0x279114(0x1b2))[a35_0x279114(0x140)],getUserPlaywrightConfig=async(_0x4b1d74,_0x124881)=>{const _0x4125f5=a35_0x279114,_0x3b23ff={'GGoKe':function(_0x28999b){return _0x28999b();},'ftJkU':function(_0x1b0201,_0x1aba63){return _0x1b0201(_0x1aba63);},'uMLuq':function(_0x8e65c9,_0xe851fe){return _0x8e65c9(_0xe851fe);},'Pulzh':_0x4125f5(0x15d),'ZMsUX':_0x4125f5(0x1b8)},_0x231e0d=!helper[_0x4125f5(0x191)](_0x4b1d74[_0x4125f5(0x1c1)]),_0xb1bd19=_0x231e0d?path[_0x4125f5(0x1b5)](process['cwd'](),_0x4b1d74[_0x4125f5(0x1c1)]):process[_0x4125f5(0x145)](),{resolveConfigFile:_0x16167b,resolveConfigLocation:_0x42ebb1}=helper[_0x4125f5(0x178)][_0x4125f5(0x176)](null,_0x3b23ff[_0x4125f5(0x1e1)](getConfigLoaderPath)),_0x54c325=_0x16167b?_0x3b23ff[_0x4125f5(0x1ae)](_0x16167b,_0xb1bd19):helper[_0x4125f5(0x188)](_0x3b23ff[_0x4125f5(0x150)](_0x42ebb1,_0xb1bd19),[_0x3b23ff[_0x4125f5(0x175)]]),_0x3cf07c={};if(_0x231e0d){const _0x4350fa=_0x124881[_0x4125f5(0x1cb)](_0x5d4d8a=>_0x5d4d8a===_0x4125f5(0x144)||_0x5d4d8a==='-c'||_0x5d4d8a[_0x4125f5(0x1ac)](_0x4125f5(0x1b8)));_0x124881[_0x4125f5(0x1a8)](_0x4350fa,_0x124881[_0x4350fa]['startsWith'](_0x3b23ff[_0x4125f5(0x177)])?0x1:0x2);}const _0x379b83={};return _0x379b83[_0x4125f5(0x1bb)]=_0x54c325,_0x379b83[_0x4125f5(0x1c1)]=_0x3cf07c,_0x379b83;},handleO11yRerun=_0x4146fe=>{const _0x5eb46e=a35_0x279114,_0x737c60={};_0x737c60[_0x5eb46e(0x164)]=_0x5eb46e(0x16c);const _0x15501a=_0x737c60,_0x4c6221=helper[_0x5eb46e(0x1b0)](process[_0x5eb46e(0x1b1)][_0x5eb46e(0x158)]);if(_0x4c6221){const _0x23ece5=process[_0x5eb46e(0x1b1)][_0x5eb46e(0x17e)],_0x314737=[];if(helper[_0x5eb46e(0x19c)](_0x23ece5)&&!helper[_0x5eb46e(0x191)](_0x23ece5)){_0x23ece5[_0x5eb46e(0x18a)](',')[_0x5eb46e(0x1cd)](_0x50d32e=>{_0x314737['push']('('+_0x50d32e['trim']()+')');});const _0x5aa4d3='^'+_0x314737[_0x5eb46e(0x1a7)]('|')+'$';_0x4146fe['push'](_0x15501a[_0x5eb46e(0x164)],_0x5aa4d3);}}},spawnOriginalProcess=_0xdd3d2e=>{const _0x12421d=a35_0x279114,_0x20cbeb={'oNUBh':function(_0x28d924,_0x57acb1,_0x12c90c,_0x4d59f1){return _0x28d924(_0x57acb1,_0x12c90c,_0x4d59f1);},'jwGfv':_0x12421d(0x17b),'HpwfE':_0x12421d(0x179),'dvAgb':function(_0x351a16,_0x171830){return _0x351a16===_0x171830;},'PBtrv':_0x12421d(0x13b),'wexIS':_0x12421d(0x184)};_0x20cbeb[_0x12421d(0x17a)](spawn,_0x20cbeb[_0x12421d(0x182)],[_0x20cbeb[_0x12421d(0x16f)],..._0xdd3d2e[_0x12421d(0x165)](0x1)],{'shell':_0x20cbeb['dvAgb'](process[_0x12421d(0x19f)],_0x20cbeb['PBtrv']),'stdio':_0x20cbeb['wexIS'],'cwd':process[_0x12421d(0x145)]()});},isTestCommand=(_0x4762df,_0x1b6f52)=>{const _0x1d29b6=a35_0x279114,_0x27ec82={};_0x27ec82[_0x1d29b6(0x1d2)]=function(_0x5040c6,_0x44ce07){return _0x5040c6>_0x44ce07;},_0x27ec82[_0x1d29b6(0x19d)]=function(_0x234e50,_0x22f0d9){return _0x234e50===_0x22f0d9;},_0x27ec82[_0x1d29b6(0x1bc)]=_0x1d29b6(0x143);const _0x4dd6b3=_0x27ec82;if(_0x4dd6b3[_0x1d29b6(0x1d2)](_0x1b6f52[_0x1d29b6(0x196)],0x1)&&_0x4dd6b3['NoGGg'](_0x1b6f52[0x1],_0x4dd6b3[_0x1d29b6(0x1bc)]))return!![];return![];};async function run(_0x51f664,_0x9f7d99){const _0x4e957f=a35_0x279114,_0xe57cff={'sKHJq':function(_0x54267b,_0x5293b4){return _0x54267b(_0x5293b4);},'rumCJ':_0x4e957f(0x195),'uRXPz':'pw_result.json','WyLxK':function(_0x42859b,_0x298181){return _0x42859b+_0x298181;},'iTYDB':_0x4e957f(0x1ce),'KnpVi':_0x4e957f(0x14e),'tGHvl':function(_0x3f71a7){return _0x3f71a7();},'gXzNt':_0x4e957f(0x18b),'umvdI':'BrowserStack\x20config\x20file\x20not\x20found.','gQUBb':_0x4e957f(0x169),'tpyGW':function(_0x1396b8,_0x2f00a0){return _0x1396b8!=_0x2f00a0;},'vHFYx':function(_0x3986ee,_0x5989f8,_0x5ad62d){return _0x3986ee(_0x5989f8,_0x5ad62d);},'kGpFF':function(_0x477180,_0x4bc5af){return _0x477180(_0x4bc5af);},'BrCSG':function(_0x40c161,_0x2215f7){return _0x40c161===_0x2215f7;},'OiXdg':_0x4e957f(0x13f),'myiki':_0x4e957f(0x1c8),'KSdUC':_0x4e957f(0x167),'lWmTA':_0x4e957f(0x17c),'hWoad':function(_0xbbd091,_0x3612c0){return _0xbbd091-_0x3612c0;},'AKkuP':function(_0x351a0b,_0x4d73a6){return _0x351a0b+_0x4d73a6;},'aajBh':_0x4e957f(0x18f),'SudXr':function(_0x14e551,_0x304cbe){return _0x14e551>_0x304cbe;},'ehkRa':function(_0x40fc42,_0x48fbb7,_0x563f35,_0x23a088){return _0x40fc42(_0x48fbb7,_0x563f35,_0x23a088);},'PBIXT':'npx','WqPyU':'playwright','XCXVY':_0x4e957f(0x143),'amiJH':_0x4e957f(0x144),'KfrFG':function(_0x51ba26,_0x1c8986){return _0x51ba26===_0x1c8986;},'ITJhg':_0x4e957f(0x13b),'laUnP':_0x4e957f(0x184),'gOmpu':_0x4e957f(0x1ad),'CuDiR':_0x4e957f(0x162),'SFkCu':_0x4e957f(0x1d8),'jtaKM':_0x4e957f(0x180),'HnbtR':function(_0x3a07d3,_0x4a235f){return _0x3a07d3>=_0x4a235f;},'vVHkM':_0x4e957f(0x161),'wYipl':function(_0xe6ce2,_0x1a53e0,_0x56f3c9){return _0xe6ce2(_0x1a53e0,_0x56f3c9);}};!helper[_0x4e957f(0x1d1)](process[_0x4e957f(0x1b1)][_0x4e957f(0x163)])&&(process[_0x4e957f(0x1b1)][_0x4e957f(0x163)]=!![]);process[_0x4e957f(0x18d)]['includes'](_0xe57cff[_0x4e957f(0x14f)])&&(process[_0x4e957f(0x1b1)][_0x4e957f(0x163)]=_0xe57cff[_0x4e957f(0x1b4)],_0x9f7d99=_0x9f7d99[_0x4e957f(0x1d9)](_0x32b580=>_0x32b580!==_0x4e957f(0x162)));const _0x117c05=_0x9f7d99[_0x4e957f(0x183)](_0xe57cff[_0x4e957f(0x16e)]);_0xe57cff['HnbtR'](_0x117c05,0x0)&&(process[_0x4e957f(0x1b1)][_0x4e957f(0x1d7)]=_0xe57cff[_0x4e957f(0x1b4)],_0x9f7d99=_0x9f7d99[_0x4e957f(0x1d9)](_0x447323=>_0x447323!==_0x4e957f(0x180)));try{const _0x3f8ac7=path[_0x4e957f(0x1a7)](helper[_0x4e957f(0x1c5)](),_0xe57cff[_0x4e957f(0x15b)],_0xe57cff[_0x4e957f(0x15a)]);fs[_0x4e957f(0x152)](_0x3f8ac7)&&fs[_0x4e957f(0x198)](_0x3f8ac7);}catch(_0x279575){logger[_0x4e957f(0x199)](_0xe57cff['AKkuP'](_0xe57cff['vVHkM'],_0x279575));}if(!_0xe57cff[_0x4e957f(0x141)](isTestCommand,_0x51f664,_0x9f7d99)){_0xe57cff['kGpFF'](spawnOriginalProcess,_0x9f7d99);return;}const _0x49dafe=new BrowserStackSetup(_0x51f664,FRAMEWORKS[_0x4e957f(0x1be)]);await PerformanceTester[_0x4e957f(0x1c7)](PerformanceEvents[_0x4e957f(0x153)],async()=>{const _0x34e9a2=_0x4e957f,_0x31223d={'SUMmW':_0xe57cff[_0x34e9a2(0x15b)],'BYFZJ':_0xe57cff[_0x34e9a2(0x15a)],'KwquQ':function(_0x52da6d,_0x3c0bd3){const _0x5edc8e=_0x34e9a2;return _0xe57cff[_0x5edc8e(0x192)](_0x52da6d,_0x3c0bd3);},'VRqTq':_0xe57cff[_0x34e9a2(0x1a3)],'OVCYD':_0xe57cff[_0x34e9a2(0x1a2)],'JMLGH':function(_0xebf4b1){const _0x2d0c54=_0x34e9a2;return _0xe57cff[_0x2d0c54(0x14d)](_0xebf4b1);},'DPkBa':_0xe57cff[_0x34e9a2(0x187)]};if(!_0x49dafe[_0x34e9a2(0x1c1)]){logger['error'](_0xe57cff['umvdI']);return;}await _0x49dafe[_0x34e9a2(0x173)]();!helper[_0x34e9a2(0x191)](_0x49dafe[_0x34e9a2(0x1e2)])&&_0x49dafe['cliConfig'][_0x34e9a2(0x13e)](_0xe57cff[_0x34e9a2(0x1d4)])&&(process[_0x34e9a2(0x1b1)][_0x34e9a2(0x163)]=_0x49dafe[_0x34e9a2(0x1e2)][_0x34e9a2(0x156)](_0xe57cff[_0x34e9a2(0x1d4)])||!![]);_0xe57cff[_0x34e9a2(0x197)](_0x49dafe[_0x34e9a2(0x1c1)][_0x34e9a2(0x17d)],null)&&!helper[_0x34e9a2(0x1b0)](process[_0x34e9a2(0x1b1)][_0x34e9a2(0x1d7)])&&(process[_0x34e9a2(0x1b1)][_0x34e9a2(0x1d7)]=process[_0x34e9a2(0x1b1)][_0x34e9a2(0x1d7)]||_0x49dafe['config'][_0x34e9a2(0x17d)]);const _0x5d4128=!helper['isFalse'](process[_0x34e9a2(0x1b1)][_0x34e9a2(0x1d7)]);let _0x4c3f36=![];_0x49dafe['config'][_0x34e9a2(0x1a4)]&&(_0x4c3f36=!![],process['env'][_0x34e9a2(0x170)]=_0x49dafe['config'][_0x34e9a2(0x1a4)]);_0x49dafe[_0x34e9a2(0x1c1)][_0x34e9a2(0x194)]&&(process['env'][_0x34e9a2(0x157)]=JSON[_0x34e9a2(0x1b7)](_0x49dafe[_0x34e9a2(0x1c1)][_0x34e9a2(0x194)]));const _0x4581ee=_0x9f7d99[_0x34e9a2(0x1b6)](),_0x2b6012=await _0xe57cff[_0x34e9a2(0x168)](getUserPlaywrightConfig,_0x51f664,_0x9f7d99);if(helper[_0x34e9a2(0x191)](_0x2b6012)){_0xe57cff[_0x34e9a2(0x16b)](spawnOriginalProcess,_0x4581ee);return;}const _0x4f2073=_0x2b6012[_0x34e9a2(0x1bb)]?path[_0x34e9a2(0x1c4)](_0x2b6012[_0x34e9a2(0x1bb)]):process[_0x34e9a2(0x145)]();process['env'][_0x34e9a2(0x1e0)]=_0x4f2073,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x34e9a2(0x151)],async()=>{const _0x36840c=_0x34e9a2;await TestHubHandler['launchBuild'](FRAMEWORKS[_0x36840c(0x1be)],_0x49dafe),_0x5d4128&&_0xe57cff[_0x36840c(0x1de)](handleO11yRerun,_0x9f7d99);})();let _0x5b31aa=_0xe57cff[_0x34e9a2(0x172)](process[_0x34e9a2(0x1b1)][_0x34e9a2(0x170)],_0xe57cff[_0x34e9a2(0x1aa)]);_0x5b31aa=_0x5b31aa||_0xe57cff['kGpFF'](checkAccessibilityPlatformConfig,_0x49dafe['config']),process[_0x34e9a2(0x1b1)][_0x34e9a2(0x170)]=_0x5b31aa;_0x5b31aa&&_0xe57cff['sKHJq'](setAccessibilityCapabilities,_0x49dafe['config']);const _0x4c15f8=path['join'](_0x2b6012['path']?path[_0x34e9a2(0x1c4)](_0x2b6012['path']):process[_0x34e9a2(0x145)](),_0xe57cff[_0x34e9a2(0x1a6)]);fs['writeFileSync'](_0x4c15f8,helper[_0x34e9a2(0x1cc)](_0x49dafe[_0x34e9a2(0x1c1)])),process[_0x34e9a2(0x1b1)][_0x34e9a2(0x1c6)]=_0x4c15f8,helper['clearTempPWConfig']();let _0x412050='';_0xe57cff[_0x34e9a2(0x172)](helper[_0x34e9a2(0x1df)](),constants['PACKAGE_TYPE'][_0x34e9a2(0x1a0)])?_0x412050=_0xe57cff[_0x34e9a2(0x16a)]:_0x412050=_0xe57cff['lWmTA'];let _0x32d7fc='';if(helper[_0x34e9a2(0x147)](_0x2b6012['path'])){_0x32d7fc='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x34f8d2=_0x412050[_0x34e9a2(0x18a)]('.');_0x34f8d2[_0xe57cff[_0x34e9a2(0x1ca)](_0x34f8d2[_0x34e9a2(0x196)],0x1)]='ts',_0x412050=_0x34f8d2[_0x34e9a2(0x1a7)]('.'),logger[_0x34e9a2(0x199)](_0xe57cff['AKkuP'](_0xe57cff['aajBh'],_0x412050));}else _0x32d7fc=_0x34e9a2(0x18e);const _0x46b103=path[_0x34e9a2(0x1a7)](_0x2b6012[_0x34e9a2(0x1bb)]?path['dirname'](_0x2b6012[_0x34e9a2(0x1bb)]):process[_0x34e9a2(0x145)](),_0x412050);let _0x29c418=_0x2b6012[_0x34e9a2(0x1bb)]?_0x2b6012[_0x34e9a2(0x1bb)]:'';_0x29c418=_0xe57cff[_0x34e9a2(0x14a)](_0x29c418[_0x34e9a2(0x196)],0x0)?path[_0x34e9a2(0x1b5)](_0x29c418):'',process[_0x34e9a2(0x1b1)][_0x34e9a2(0x15e)]=_0x29c418;const _0x4bc8bd=helper[_0x34e9a2(0x13d)](_0x49dafe[_0x34e9a2(0x1c1)]);_0x4bc8bd&&(_0x32d7fc=_0xe57cff['AKkuP']('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x4bc8bd+_0x34e9a2(0x149),_0x32d7fc));helper[_0x34e9a2(0x181)]({},_0x9f7d99),fs['writeFileSync'](_0x46b103,_0x32d7fc),PerformanceTester['end'](PerformanceEvents[_0x34e9a2(0x13c)]);const _0x71afeb=_0xe57cff['ehkRa'](spawn,_0xe57cff['PBIXT'],[_0xe57cff[_0x34e9a2(0x1af)],_0xe57cff[_0x34e9a2(0x18c)],_0xe57cff[_0x34e9a2(0x1d0)],_0x46b103,..._0x9f7d99[_0x34e9a2(0x165)](0x2)],{'shell':_0xe57cff[_0x34e9a2(0x17f)](process[_0x34e9a2(0x19f)],_0xe57cff[_0x34e9a2(0x148)]),'stdio':_0xe57cff[_0x34e9a2(0x19a)],'cwd':process[_0x34e9a2(0x145)](),'env':Object[_0x34e9a2(0x1db)]({},process[_0x34e9a2(0x1b1)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x51f664),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x49dafe[_0x34e9a2(0x1c1)][_0x34e9a2(0x1d3)][_0x34e9a2(0x1bd)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x49dafe[_0x34e9a2(0x1c1)][_0x34e9a2(0x1d3)][_0x34e9a2(0x1a1)],'BROWSERSTACK_LOG_LEVEL':_0x49dafe[_0x34e9a2(0x1c1)][_0x34e9a2(0x1bf)]})}),_0x2d00bb=()=>{const _0x324019=_0x34e9a2;try{const _0x41fb99=path[_0x324019(0x1a7)](helper[_0x324019(0x1c5)](),_0x31223d[_0x324019(0x166)],_0x31223d[_0x324019(0x1a5)]);if(fs[_0x324019(0x152)](_0x41fb99)){let _0x3b3ebf=fs[_0x324019(0x185)](_0x41fb99);_0x3b3ebf=JSON[_0x324019(0x142)](_0x3b3ebf),_0x49dafe[_0x324019(0x14c)]=_0x3b3ebf,fs['unlinkSync'](_0x41fb99);}}catch(_0xa50216){logger[_0x324019(0x199)](_0x31223d[_0x324019(0x1dc)](_0x31223d['VRqTq'],_0xa50216));}};_0x71afeb['on'](_0xe57cff[_0x34e9a2(0x174)],async _0x49bd14=>{const _0x211420=_0x34e9a2;try{const _0x3d4d84=_0x31223d[_0x211420(0x1b9)][_0x211420(0x18a)]('|');let _0x295ad7=0x0;while(!![]){switch(_0x3d4d84[_0x295ad7++]){case'0':logger[_0x211420(0x199)](_0x211420(0x146)+_0x4c15f8);continue;case'1':fs[_0x211420(0x198)](_0x4c15f8);continue;case'2':logger[_0x211420(0x199)](_0x211420(0x189)+_0x49bd14);continue;case'3':logger[_0x211420(0x19b)](_0x211420(0x146)+_0x46b103);continue;case'4':_0x31223d[_0x211420(0x1cf)](_0x2d00bb);continue;case'5':fs['unlinkSync'](_0x46b103);continue;case'6':process[_0x211420(0x171)]=_0x49bd14;continue;case'7':PerformanceTester[_0x211420(0x193)](PerformanceEvents['SDK_CLEANUP']);continue;case'8':await TestHubHandler[_0x211420(0x160)]();continue;case'9':await utilities[_0x211420(0x1c9)](_0x49dafe);continue;}break;}}catch(_0x454090){logger[_0x211420(0x199)](_0x31223d[_0x211420(0x1dc)](_0x31223d[_0x211420(0x159)],_0x454090));}});})();}module[a35_0x279114(0x154)]=run;
@@ -1 +1 @@
1
- const a36_0x211239=a36_0x2300;(function(_0x2adb0e,_0x26bdd8){const _0x3e1dab=a36_0x2300,_0xdb8ec8=_0x2adb0e();while(!![]){try{const _0x4002ed=-parseInt(_0x3e1dab(0x183))/0x1+parseInt(_0x3e1dab(0x1a4))/0x2*(-parseInt(_0x3e1dab(0x1a3))/0x3)+parseInt(_0x3e1dab(0x182))/0x4*(parseInt(_0x3e1dab(0x196))/0x5)+-parseInt(_0x3e1dab(0x190))/0x6*(parseInt(_0x3e1dab(0x185))/0x7)+-parseInt(_0x3e1dab(0x194))/0x8*(-parseInt(_0x3e1dab(0x1a6))/0x9)+parseInt(_0x3e1dab(0x1a2))/0xa+parseInt(_0x3e1dab(0x193))/0xb;if(_0x4002ed===_0x26bdd8)break;else _0xdb8ec8['push'](_0xdb8ec8['shift']());}catch(_0x221d13){_0xdb8ec8['push'](_0xdb8ec8['shift']());}}}(a36_0x53ab,0x3f9f4));function a36_0x53ab(){const _0x53f68a=['gnoQc','PiPed','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','ZGZlL','Call\x20to\x20child\x20fork\x20with\x20args\x20','toString','format','includes','Running\x20existing\x20global\x20setup','nAGeQ','ORPDm','1945090dpseXV','182931BQbhbt','4BBVXth','../../helpers/test-observability/utils','27ilmjgK','winstonLogger','error','apply','./patches','LJOgD','util','fork','KQWcn','DTeAo','requirePWModule','2152kvMpEJ','274438LYGKov','dqYZu','1771qCPHox','exports','yNszS','env','resolve','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','function','CdZDr','PLAYWRIGHT','../../helpers/test-observability/constants','Path\x20','3678ZZyLQQ','./mock-process.js','./reporter/pwUtils','1320275NFQUyG','717048zysRCR','Not\x20able\x20to\x20import\x20globalSetup','2125ecLUbB'];a36_0x53ab=function(){return _0x53f68a;};return a36_0x53ab();}function a36_0x2300(_0x5533ac,_0x9ca8b0){const _0x53aba4=a36_0x53ab();return a36_0x2300=function(_0x2300ef,_0x1b029f){_0x2300ef=_0x2300ef-0x17a;let _0x578efe=_0x53aba4[_0x2300ef];return _0x578efe;},a36_0x2300(_0x5533ac,_0x9ca8b0);}const util=require(a36_0x211239(0x17d)),child_process=require('child_process'),{FRAMEWORKS}=require(a36_0x211239(0x18e)),{getFrameworkVersion,debug}=require(a36_0x211239(0x1a5)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x211239(0x192)),{mockIsWorkerRedundant}=require(a36_0x211239(0x17b)),logger=require('../../helpers/logger')[a36_0x211239(0x1a7)];module[a36_0x211239(0x186)]=async function(_0x19c6c2){const _0x316393=a36_0x211239,_0x5aaef0={'PiPed':function(_0x177d82,_0x2e2761){return _0x177d82(_0x2e2761);},'dqYZu':function(_0x294436){return _0x294436();},'KQWcn':_0x316393(0x191),'eEEzQ':function(_0x34f4f7,_0x2a1674){return _0x34f4f7(_0x2a1674);},'gnoQc':_0x316393(0x19f),'aAKME':function(_0x564a8a){return _0x564a8a();},'LJOgD':function(_0x40f3bf,_0x4808a9){return _0x40f3bf(_0x4808a9);},'CdZDr':function(_0x4c9571,_0x3513b0){return _0x4c9571>=_0x3513b0;},'yNszS':'1.33.0','nAGeQ':function(_0x19c1df,_0x9020dc,_0x2e4349){return _0x19c1df(_0x9020dc,_0x2e4349);},'ORPDm':function(_0x41bafc,_0x3c7314){return _0x41bafc!==_0x3c7314;},'DTeAo':_0x316393(0x18b),'ZGZlL':_0x316393(0x195),'PYUHx':function(_0x16175d,_0x490918){return _0x16175d(_0x490918);}},_0x374115=child_process[_0x316393(0x17e)];if(helper['isHandlePWErrorSet']())try{_0x5aaef0[_0x316393(0x184)](mockIsWorkerRedundant);}catch(_0x373441){logger['debug']('Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'+util[_0x316393(0x19d)](_0x373441));}child_process[_0x316393(0x17e)]=function(){const _0x707c26=_0x316393;return _0x5aaef0[_0x707c26(0x198)](debug,_0x707c26(0x19b)+arguments[0x0]),arguments[0x0][_0x707c26(0x19e)](_0x5aaef0[_0x707c26(0x184)](getForkProcessPath))?arguments[0x0]=require[_0x707c26(0x189)](_0x5aaef0[_0x707c26(0x17f)]):logger[_0x707c26(0x1a8)](_0x707c26(0x18f)+_0x5aaef0[_0x707c26(0x184)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x374115[_0x707c26(0x17a)](null,arguments);};if(process['env'][_0x316393(0x18a)]){_0x5aaef0['eEEzQ'](debug,_0x5aaef0[_0x316393(0x197)]);try{const {loadGlobalHook:_0x1aabd7}=helper[_0x316393(0x181)][_0x316393(0x17a)](null,_0x5aaef0['aAKME'](getLoadUtilsPath)),_0x3514f3=_0x5aaef0[_0x316393(0x17c)](getFrameworkVersion,FRAMEWORKS[_0x316393(0x18d)]);let _0x3c4aa1=_0x19c6c2;if(_0x5aaef0[_0x316393(0x18c)](helper['compareVersions'](_0x3514f3,_0x5aaef0[_0x316393(0x187)]),0x0)){const _0x12cebc={};_0x12cebc['config']=_0x19c6c2,_0x3c4aa1=_0x12cebc;}const _0x5ea03d=await _0x5aaef0[_0x316393(0x1a0)](_0x1aabd7,_0x3c4aa1,process[_0x316393(0x188)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x5aaef0[_0x316393(0x1a1)](typeof _0x5ea03d,_0x5aaef0[_0x316393(0x180)]))throw new Error(_0x5aaef0[_0x316393(0x19a)]);return _0x5ea03d[_0x316393(0x17a)](null,arguments);}catch(_0xe7889){_0x5aaef0['PYUHx'](debug,_0x316393(0x199)+_0xe7889[_0x316393(0x19c)]());}}};
1
+ const a36_0x433ddb=a36_0x3269;function a36_0x6394(){const _0x23f9d6=['isHandlePWErrorSet','Call\x20to\x20child\x20fork\x20with\x20args\x20','3108133ZWNJRZ','ZnTkn','1.33.0','2304834VzrpOu','../../helpers/test-observability/utils','1541760vXfoLo','5HHWLgr','error','exports','../../helpers/test-observability/constants','boyyx','16BlJgPe','../../helpers/helper','PLAYWRIGHT','Not\x20able\x20to\x20import\x20globalSetup','406087edEnur','fork','util','requirePWModule','IidPi','debug','wEvLH','980728wHUJbU','function','bOdfF','./patches','4604769lrmZuH','./reporter/pwUtils','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','env','config','QeWED','DfzSr','Running\x20existing\x20global\x20setup','2200868lFyiWW','apply','compareVersions','Path\x20','YcCvH','format','gwINg'];a36_0x6394=function(){return _0x23f9d6;};return a36_0x6394();}(function(_0x7d6a87,_0x5abcf7){const _0x53d565=a36_0x3269,_0x18fce0=_0x7d6a87();while(!![]){try{const _0x4c3cee=-parseInt(_0x53d565(0xeb))/0x1+parseInt(_0x53d565(0xf2))/0x2+-parseInt(_0x53d565(0xe1))/0x3+parseInt(_0x53d565(0xd3))/0x4+parseInt(_0x53d565(0xe2))/0x5*(-parseInt(_0x53d565(0xdf))/0x6)+-parseInt(_0x53d565(0xdc))/0x7+-parseInt(_0x53d565(0xe7))/0x8*(-parseInt(_0x53d565(0xf6))/0x9);if(_0x4c3cee===_0x5abcf7)break;else _0x18fce0['push'](_0x18fce0['shift']());}catch(_0x5442fd){_0x18fce0['push'](_0x18fce0['shift']());}}}(a36_0x6394,0x4d132));function a36_0x3269(_0x354ce7,_0x398c8f){const _0x6394e6=a36_0x6394();return a36_0x3269=function(_0x326972,_0x434458){_0x326972=_0x326972-0xd1;let _0x699112=_0x6394e6[_0x326972];return _0x699112;},a36_0x3269(_0x354ce7,_0x398c8f);}const util=require(a36_0x433ddb(0xed)),child_process=require('child_process'),{FRAMEWORKS}=require(a36_0x433ddb(0xe5)),{getFrameworkVersion,debug}=require(a36_0x433ddb(0xe0)),helper=require(a36_0x433ddb(0xe8)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x433ddb(0xf7)),{mockIsWorkerRedundant}=require(a36_0x433ddb(0xf5)),logger=require('../../helpers/logger')['winstonLogger'];module[a36_0x433ddb(0xe4)]=async function(_0x34774e){const _0xfa691c=a36_0x433ddb,_0x4cd65e={'YcCvH':function(_0x2b07c7,_0x498766){return _0x2b07c7(_0x498766);},'DfzSr':function(_0xe51e54){return _0xe51e54();},'IidPi':'./mock-process.js','AmtBu':_0xfa691c(0xd2),'DvZyd':function(_0x2ca346){return _0x2ca346();},'boyyx':function(_0x1b8846,_0x5665f6){return _0x1b8846>=_0x5665f6;},'gwINg':_0xfa691c(0xde),'PvFAY':function(_0xcfb8fa,_0x112080,_0x23116a){return _0xcfb8fa(_0x112080,_0x23116a);},'ZnTkn':function(_0x3931b5,_0x4df4bc){return _0x3931b5!==_0x4df4bc;},'QeWED':_0xfa691c(0xf3),'bOdfF':_0xfa691c(0xea),'wEvLH':function(_0x3e6a72,_0x285e47){return _0x3e6a72(_0x285e47);}},_0x5dc5e3=child_process[_0xfa691c(0xec)];if(helper[_0xfa691c(0xda)]())try{_0x4cd65e[_0xfa691c(0xd1)](mockIsWorkerRedundant);}catch(_0x337c3c){logger[_0xfa691c(0xf0)]('Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'+util[_0xfa691c(0xd8)](_0x337c3c));}child_process[_0xfa691c(0xec)]=function(){const _0x271a42=_0xfa691c;return _0x4cd65e['YcCvH'](debug,_0x271a42(0xdb)+arguments[0x0]),arguments[0x0]['includes'](_0x4cd65e[_0x271a42(0xd1)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x4cd65e[_0x271a42(0xef)]):logger[_0x271a42(0xe3)](_0x271a42(0xd6)+_0x4cd65e[_0x271a42(0xd1)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x5dc5e3[_0x271a42(0xd4)](null,arguments);};if(process[_0xfa691c(0xfa)][_0xfa691c(0xf8)]){_0x4cd65e[_0xfa691c(0xd7)](debug,_0x4cd65e['AmtBu']);try{const {loadGlobalHook:_0x15cd94}=helper[_0xfa691c(0xee)]['apply'](null,_0x4cd65e['DvZyd'](getLoadUtilsPath)),_0x3de14b=_0x4cd65e[_0xfa691c(0xd7)](getFrameworkVersion,FRAMEWORKS[_0xfa691c(0xe9)]);let _0x2c1436=_0x34774e;if(_0x4cd65e[_0xfa691c(0xe6)](helper[_0xfa691c(0xd5)](_0x3de14b,_0x4cd65e[_0xfa691c(0xd9)]),0x0)){const _0xf4bff6={};_0xf4bff6[_0xfa691c(0xfb)]=_0x34774e,_0x2c1436=_0xf4bff6;}const _0x285cda=await _0x4cd65e['PvFAY'](_0x15cd94,_0x2c1436,process['env']['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x4cd65e[_0xfa691c(0xdd)](typeof _0x285cda,_0x4cd65e[_0xfa691c(0xfc)]))throw new Error(_0x4cd65e[_0xfa691c(0xf4)]);return _0x285cda[_0xfa691c(0xd4)](null,arguments);}catch(_0x45b091){_0x4cd65e[_0xfa691c(0xf1)](debug,_0xfa691c(0xf9)+_0x45b091['toString']());}}};