browserstack-node-sdk 1.32.14 → 1.32.15

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 (117) 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/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  37. package/src/bin/codeceptjs/command.js +1 -1
  38. package/src/bin/codeceptjs/helper.js +1 -1
  39. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  40. package/src/bin/cucumber-js/command.js +1 -1
  41. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  43. package/src/bin/cucumber-js/test.setup.js +1 -1
  44. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  45. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  46. package/src/bin/integrations/command.js +1 -1
  47. package/src/bin/integrations/constants.js +1 -1
  48. package/src/bin/jest/command.js +1 -1
  49. package/src/bin/jest/customImplements/customCircus.js +1 -1
  50. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  51. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  52. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  53. package/src/bin/jest/jest.setup.js +1 -1
  54. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  55. package/src/bin/jest/test-observability/helper.js +1 -1
  56. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  57. package/src/bin/jest/test-observability/test-details.js +1 -1
  58. package/src/bin/jest/test_before.setup.js +1 -1
  59. package/src/bin/launcher/launcher.js +1 -1
  60. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  61. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  62. package/src/bin/mocha/command.js +1 -1
  63. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  64. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  65. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  66. package/src/bin/mocha/test.setup.js +1 -1
  67. package/src/bin/nightwatch/command.js +1 -1
  68. package/src/bin/playwright/accessibility-helper.js +1 -1
  69. package/src/bin/playwright/command.js +1 -1
  70. package/src/bin/playwright/globalSetup.js +1 -1
  71. package/src/bin/playwright/mock-process.js +1 -1
  72. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  73. package/src/bin/playwright/patches.js +1 -1
  74. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  75. package/src/bin/playwright/reporter/reporter.js +1 -1
  76. package/src/bin/playwright/reporter/test-details.js +1 -1
  77. package/src/bin/playwright/sessionDetails.js +1 -1
  78. package/src/bin/runner.js +1 -1
  79. package/src/bin/setup.js +1 -1
  80. package/src/bin/test-runner/index.js +1 -1
  81. package/src/bin/test-runner/runTest.js +1 -1
  82. package/src/bin/test-runner/testWorker.js +1 -1
  83. package/src/bin/utils/constants.js +1 -1
  84. package/src/bin/utils/log4jsAppender.js +1 -1
  85. package/src/bin/utils/logPatcher.js +1 -1
  86. package/src/bin/utils/logReportingAPI.js +1 -1
  87. package/src/bin/vanilla-js/command.js +1 -1
  88. package/src/browserStackSdk.js +1 -1
  89. package/src/helpers/BrowserStackSetup.js +1 -1
  90. package/src/helpers/accessibility-automation/constants.js +1 -1
  91. package/src/helpers/accessibility-automation/helper.js +1 -1
  92. package/src/helpers/accessibility-automation/scripts.js +1 -1
  93. package/src/helpers/ats/constants.js +1 -1
  94. package/src/helpers/ats/helper.js +1 -1
  95. package/src/helpers/capsMapping.js +1 -1
  96. package/src/helpers/globals.js +1 -1
  97. package/src/helpers/helper.js +1 -1
  98. package/src/helpers/logger.js +1 -1
  99. package/src/helpers/patchHelpers.js +1 -1
  100. package/src/helpers/percy/Percy.js +1 -1
  101. package/src/helpers/percy/PercyBinary.js +1 -1
  102. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  103. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  104. package/src/helpers/percy/PercySDK.js +1 -1
  105. package/src/helpers/percy/index.js +1 -1
  106. package/src/helpers/percy/utils.js +1 -1
  107. package/src/helpers/performance-tester.js +1 -1
  108. package/src/helpers/request-spy.js +1 -1
  109. package/src/helpers/setKeepAlive.js +1 -1
  110. package/src/helpers/test-observability/constants.js +1 -1
  111. package/src/helpers/test-observability/error-handler.js +1 -1
  112. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  113. package/src/helpers/test-observability/sessionHandler.js +1 -1
  114. package/src/helpers/test-observability/utils.js +1 -1
  115. package/src/helpers/w3cMapping.js +1 -1
  116. package/src/hubAllocationMethods.js +1 -1
  117. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a27_0x3221(_0x47087d,_0x48162d){const _0x1861bd=a27_0x1861();return a27_0x3221=function(_0x3221a1,_0x455564){_0x3221a1=_0x3221a1-0xd8;let _0x167f8a=_0x1861bd[_0x3221a1];return _0x167f8a;},a27_0x3221(_0x47087d,_0x48162d);}const a27_0x6c0a31=a27_0x3221;function a27_0x1861(){const _0x2c69c1=['browserStackLogLevel','CAPABILITY_KEY','../../../helpers/patchHelpers','info','requireSeleniumWebdriver','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','debug','1135364kuIzbp','isUndefined','FVnGW','object','then','updateHubUrl','segoE','../accessibility-automation/helper','caps_','FFqep','320VSfush','Modifying\x20webdriver\x20builder','proxyUrl','pHgqo','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','aHPIJ','UaQUs','../../../hubAllocationMethods','zKFvH','firefoxOptions_','../../../helpers/globals','EWjgJ','__setBrowserOptions','1878nsdZUg','global','capability','ymtxZ','forEach','hJprH','ieOptions_','ALJEp','isBrowserstackInfra','mergeDeep','mgPEo','QUsLW','1136pAjubo','PkcFS','xWFgA','pkSXU','se:ieOptions','__drivers','3|5|0|2|1|4','kSAxm','overrideGet','safariOptions_','getRequestOptions','logLevel','split','proxySettings','capabilities_','push','2263980MQtiMg','getAccessibilityResultsSummary','Hub\x20url\x20set\x20to\x20','exports','3528GnDuGS','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','qeUxJ','9653230cTyVYc','browserstackAgentObservability','SCZJX','Setting\x20Browserstack\x20capabilities','getHttpAgent','uaDPN','isPacProxy','firefoxOptions','HttpClient','../../../helpers/accessibility-automation/helper','ieOptions','aiHkI','XLjZx','send','setCapabilities','originalBuilder','error','bIGdo','../../../helpers/logger','path','overrideExecute','oUFxE','options_','session_','twflp','goog:chromeOptions','newHubUrl','winstonLogger','VcqLj','../../../bin/utils/constants','setServer','11532TkNhLI','PPobj','storeOptimalHubUrl','chromeOptions','MPiLl','ms:edgeOptions','set','agent_','get','Builder','rDRKU','setGlobal','setLogLevel','safari.options','EShZd','__driversArray','New\x20hub\x20url\x20set\x20to\x20','build','url_','14182JYREOg','getAccessibilityResults','proxy_','edgeOptions','requireHttpClient','XcBbx','ntShm','7293654GBrDRv','__driver','chromeOptions_','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','edgeOptions_'];a27_0x1861=function(){return _0x2c69c1;};return a27_0x1861();}(function(_0x5216fe,_0x39e32b){const _0x3a195b=a27_0x3221,_0x3f4941=_0x5216fe();while(!![]){try{const _0x2308a1=parseInt(_0x3a195b(0xed))/0x1+-parseInt(_0x3a195b(0x120))/0x2+-parseInt(_0x3a195b(0x104))/0x3*(parseInt(_0x3a195b(0x110))/0x4)+-parseInt(_0x3a195b(0xf7))/0x5*(parseInt(_0x3a195b(0x146))/0x6)+-parseInt(_0x3a195b(0xda))/0x7*(parseInt(_0x3a195b(0x124))/0x8)+parseInt(_0x3a195b(0xe1))/0x9+parseInt(_0x3a195b(0x127))/0xa;if(_0x2308a1===_0x39e32b)break;else _0x3f4941['push'](_0x3f4941['shift']());}catch(_0x1761ec){_0x3f4941['push'](_0x3f4941['shift']());}}}(a27_0x1861,0x8ec8d));const logger=require(a27_0x6c0a31(0x139))[a27_0x6c0a31(0x142)],helper=require('../../../helpers/helper'),constants=require(a27_0x6c0a31(0x144)),hubAllocator=require(a27_0x6c0a31(0xfe)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x6c0a31(0xe8)),{setAccessibilityCapabilities,setExtension}=require(a27_0x6c0a31(0xf4)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a27_0x6c0a31(0x130)),globals=require(a27_0x6c0a31(0x101)),modify=(_0x16360f,_0x5d88e9=null,_0x208d68=![])=>{const _0x5ccb15=a27_0x6c0a31,_0xa60551={'XLjZx':function(_0x3aaaef,_0xf542d4){return _0x3aaaef!==_0xf542d4;},'ONhbK':'/session','VcqLj':function(_0x355f90,_0x223ec7){return _0x355f90!==_0x223ec7;},'FVnGW':function(_0x3549a2,_0x1b596f){return _0x3549a2+_0x1b596f;},'FFqep':'https://','qNhus':'/wd/hub','kSAxm':_0x5ccb15(0x140),'xWFgA':_0x5ccb15(0x149),'bIGdo':_0x5ccb15(0x14b),'rDRKU':_0x5ccb15(0xdd),'qeUxJ':'moz:firefoxOptions','ALJEp':_0x5ccb15(0x12e),'zKFvH':_0x5ccb15(0x153),'uaDPN':_0x5ccb15(0x114),'PkcFS':_0x5ccb15(0x131),'bxlsK':function(_0x3a6fdb,_0x102645){return _0x3a6fdb===_0x102645;},'aiHkI':_0x5ccb15(0xf0),'aHPIJ':_0x5ccb15(0x12a),'mgPEo':'optimalHubUrl','XcBbx':_0x5ccb15(0x125),'PPobj':'5|0|1|2|4|3','pkSXU':function(_0x54e688,_0x23a2bb){return _0x54e688(_0x23a2bb);},'UaQUs':function(_0x2b775a,_0x2a4279,_0x2df418){return _0x2b775a(_0x2a4279,_0x2df418);},'SCZJX':function(_0x4d17b8,_0x19cc60,_0x51281a){return _0x4d17b8(_0x19cc60,_0x51281a);},'pHgqo':function(_0x7c023f,_0x2c1774,_0x50fb11){return _0x7c023f(_0x2c1774,_0x50fb11);},'EShZd':_0x5ccb15(0x116),'ntShm':'isAccessibilityPlatform','segoE':function(_0x2e418e){return _0x2e418e();},'EWjgJ':_0x5ccb15(0xe4),'oUFxE':function(_0x45f331,_0x35a2ea){return _0x45f331!==_0x35a2ea;},'MPiLl':function(_0x30c3dc,_0x4c8459){return _0x30c3dc!==_0x4c8459;},'hJprH':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','QUsLW':_0x5ccb15(0xf8)},_0x4adda8=helper[_0x5ccb15(0xde)]();let _0x343039;try{_0x343039=helper[_0x5ccb15(0xea)](),_0x343039[_0x5ccb15(0x136)]&&(_0x343039[_0x5ccb15(0x14f)]=_0x343039[_0x5ccb15(0x136)]);}catch(_0x5e2e8a){return;}if(helper[_0x5ccb15(0x10c)]()){const _0x2e642e={};_0x2e642e[_0x5ccb15(0x11b)]=_0x16360f[_0x5ccb15(0xe6)],helper[_0x5ccb15(0x152)](_0x2e642e,new Map(),new Map()),logger[_0x5ccb15(0xe9)](_0xa60551[_0x5ccb15(0x109)]),logger[_0x5ccb15(0xec)](_0xa60551[_0x5ccb15(0x10f)]);}class _0x3ec5dc extends _0x4adda8[_0x5ccb15(0x12f)]{[_0x5ccb15(0x134)](_0x1ec412){const _0x476da3=_0x5ccb15;if(_0xa60551[_0x476da3(0x133)](_0x1ec412[_0x476da3(0x13a)],_0xa60551['ONhbK'])&&_0xa60551[_0x476da3(0x143)](global[_0x476da3(0x141)],''))try{global['newHubUrl']=_0xa60551[_0x476da3(0xef)](_0xa60551[_0x476da3(0xef)](_0xa60551[_0x476da3(0xf6)],global[_0x476da3(0x141)]),_0xa60551['qNhus']),this[_0x476da3(0x13d)]=hubAllocator[_0x476da3(0x11a)](global[_0x476da3(0x141)]),logger['debug'](_0x476da3(0x156)+global[_0x476da3(0x141)]),global[_0x476da3(0x141)]='';}catch(_0x116882){logger[_0x476da3(0x137)](_0x116882);}return super[_0x476da3(0x134)](_0x1ec412);}}class _0x43c3d5 extends _0x343039['Builder']{[_0x5ccb15(0x145)](){const _0x43b549=_0x5ccb15;return this[_0x43b549(0xd9)]=helper['getHubUrl'](_0x16360f),logger[_0x43b549(0xec)](_0x43b549(0x122)+this[_0x43b549(0xd9)]),this;}[_0x5ccb15(0x103)](_0x3b0804){const _0x1523a3=_0x5ccb15;let _0x191560={};for(const _0x198453 in _0x3b0804){switch(_0x198453){case _0xa60551[_0x1523a3(0x117)]:case _0xa60551[_0x1523a3(0x112)]:this[_0x1523a3(0xe3)]&&(_0x191560=this['chromeOptions_'][_0x1523a3(0x14e)](this[_0x1523a3(0xe3)][_0x1523a3(0xe7)])||{},this[_0x1523a3(0xe3)][_0x1523a3(0x14c)](this['chromeOptions_']['CAPABILITY_KEY'],helper[_0x1523a3(0x10d)](_0x191560,_0x3b0804[_0x198453])));break;case _0xa60551[_0x1523a3(0x138)]:case _0xa60551[_0x1523a3(0x150)]:this[_0x1523a3(0xe5)]&&(_0x191560=this['edgeOptions_'][_0x1523a3(0x14e)](this[_0x1523a3(0xe5)][_0x1523a3(0xe7)])||{},this[_0x1523a3(0xe5)][_0x1523a3(0x14c)](this[_0x1523a3(0xe5)][_0x1523a3(0xe7)],helper[_0x1523a3(0x10d)](_0x191560,_0x3b0804[_0x198453])));break;case _0xa60551[_0x1523a3(0x126)]:case _0xa60551[_0x1523a3(0x10b)]:this[_0x1523a3(0x100)]&&(_0x191560=this[_0x1523a3(0x100)][_0x1523a3(0x14e)](this[_0x1523a3(0x100)][_0x1523a3(0xe7)])||{},this['firefoxOptions_'][_0x1523a3(0x14c)](this['firefoxOptions_']['CAPABILITY_KEY'],helper[_0x1523a3(0x10d)](_0x191560,_0x3b0804[_0x198453])));break;case _0xa60551[_0x1523a3(0xff)]:this[_0x1523a3(0x119)]&&(_0x191560=this[_0x1523a3(0x119)]['get'](this[_0x1523a3(0x119)]['CAPABILITY_KEY'])||{},this['safariOptions_']['set'](this[_0x1523a3(0x119)][_0x1523a3(0xe7)],helper['mergeDeep'](_0x191560,_0x3b0804[_0x198453])));break;case _0xa60551[_0x1523a3(0x12c)]:case _0xa60551[_0x1523a3(0x111)]:this[_0x1523a3(0x10a)]&&(_0x191560=this['ieOptions_'][_0x1523a3(0x14e)](this[_0x1523a3(0x10a)][_0x1523a3(0xe7)])||{},this['ieOptions_'][_0x1523a3(0x14c)](this[_0x1523a3(0x10a)][_0x1523a3(0xe7)],helper[_0x1523a3(0x10d)](_0x191560,_0x3b0804[_0x198453])));break;}}}[_0x5ccb15(0x135)](){const _0x344e98=_0x5ccb15;return logger[_0x344e98(0xec)](_0xa60551[_0x344e98(0xfc)]),this[_0x344e98(0x103)](_0x16360f['capability']),Object['keys'](_0x16360f[_0x344e98(0x106)])[_0x344e98(0x108)](_0x4946c5=>{const _0x5a7f7c=_0x344e98,_0x2f940a=this[_0x5a7f7c(0x11e)][_0x5a7f7c(0x14e)](_0x4946c5);_0xa60551['bxlsK'](typeof _0x2f940a,_0xa60551[_0x5a7f7c(0x132)])?this[_0x5a7f7c(0x11e)][_0x5a7f7c(0x14c)](_0x4946c5,helper[_0x5a7f7c(0x10d)](_0x2f940a,_0x16360f[_0x5a7f7c(0x106)][_0x4946c5])):this[_0x5a7f7c(0x11e)][_0x5a7f7c(0x14c)](_0x4946c5,_0x16360f[_0x5a7f7c(0x106)][_0x4946c5]);}),this;}[_0x5ccb15(0xd8)](){const _0x4af1e2=_0x5ccb15,_0x1fad64={'ymtxZ':function(_0xbc5e55,_0x17debf,_0x2e3d86){const _0x2d58c6=a27_0x3221;return _0xa60551[_0x2d58c6(0x129)](_0xbc5e55,_0x17debf,_0x2e3d86);},'twflp':function(_0x5223ce,_0x4eb270,_0x5c436b){const _0x592ff7=a27_0x3221;return _0xa60551[_0x592ff7(0xfa)](_0x5223ce,_0x4eb270,_0x5c436b);}};if(helper[_0x4af1e2(0x10c)]()){const _0x17ee3c=_0xa60551[_0x4af1e2(0x154)]['split']('|');let _0x32cc0c=0x0;while(!![]){switch(_0x17ee3c[_0x32cc0c++]){case'0':this[_0x4af1e2(0x135)]();continue;case'1':globals['getGlobal'](_0xa60551[_0x4af1e2(0xe0)])&&(!_0xa60551[_0x4af1e2(0xfd)](setExtension,this,_0x16360f)&&globals[_0x4af1e2(0x151)](_0xa60551[_0x4af1e2(0xe0)],![]));continue;case'2':if(helper[_0x4af1e2(0x12d)](_0x16360f[_0x4af1e2(0x11d)][_0x4af1e2(0xf9)]))this[_0x4af1e2(0x14d)]=helper[_0x4af1e2(0x12b)](_0x16360f['proxySettings'][_0x4af1e2(0xf9)]);else _0x16360f['proxySettings']['proxyUrl']&&(this[_0x4af1e2(0xdc)]=_0x16360f['proxySettings'][_0x4af1e2(0xf9)],logger[_0x4af1e2(0xec)]('Proxy\x20set\x20to\x20'+this[_0x4af1e2(0xdc)]));continue;case'3':_0xa60551[_0x4af1e2(0xf3)](isAccessibilityAutomationSession)&&_0xa60551[_0x4af1e2(0x113)](setAccessibilityCapabilities,_0x16360f);continue;case'4':logger['debug'](_0xa60551[_0x4af1e2(0x102)]);continue;case'5':this['setServer']();continue;}break;}}const _0xc44ebc=super[_0x4af1e2(0xd8)]();return _0xc44ebc[_0x4af1e2(0x13e)][_0x4af1e2(0xf1)](_0x1feee0=>{const _0x5d13b0=_0x4af1e2;try{const _0x310643=_0x1feee0[_0x5d13b0(0xf5)]['get'](_0xa60551[_0x5d13b0(0x10e)]);_0x310643?(logger[_0x5d13b0(0xec)](_0x5d13b0(0xfb)+_0x310643),hubAllocator[_0x5d13b0(0xf2)](_0x310643),helper[_0x5d13b0(0x148)](_0x310643)):logger[_0x5d13b0(0xec)](_0xa60551[_0x5d13b0(0xdf)]);}catch(_0x41a0e7){logger[_0x5d13b0(0xec)](_0x5d13b0(0xeb)+_0x41a0e7);}}),_0xc44ebc['quitCount_']=0x0,_0xc44ebc['then']&&_0xc44ebc[_0x4af1e2(0xf1)](_0x45eb93=>{const _0x26d814=_0x4af1e2,_0x17acab=_0xa60551[_0x26d814(0x147)][_0x26d814(0x11c)]('|');let _0x5364cf=0x0;while(!![]){switch(_0x17acab[_0x5364cf++]){case'0':_0xa60551[_0x26d814(0x113)](overrideTakeScreenshot,_0x45eb93);continue;case'1':helper[_0x26d814(0x118)](_0x45eb93,_0x16360f);continue;case'2':helper[_0x26d814(0x13b)](_0x45eb93,_0x16360f);continue;case'3':_0x45eb93[_0x26d814(0xdb)]=async()=>{const _0xf058c=_0x26d814;return await _0x1fad64[_0xf058c(0x13f)](getAccessibilityResults,_0x45eb93,global);};continue;case'4':_0x45eb93[_0x26d814(0x121)]=async()=>{const _0x414878=_0x26d814;return await _0x1fad64[_0x414878(0x107)](getAccessibilityResultsSummary,_0x45eb93,global);};continue;case'5':_0xa60551[_0x26d814(0xfd)](overrideQuit,_0x45eb93,_0xc44ebc);continue;}break;}}),_0xc44ebc[_0x4af1e2(0x121)]=async()=>{const _0x404b54=_0x4af1e2;return await _0x1fad64[_0x404b54(0x13f)](getAccessibilityResultsSummary,_0xc44ebc,global);},_0xc44ebc[_0x4af1e2(0xdb)]=async()=>{return await _0x1fad64['twflp'](getAccessibilityResults,_0xc44ebc,global);},_0xa60551['pkSXU'](overrideTakeScreenshot,_0xc44ebc),_0xa60551[_0x4af1e2(0x113)](overrideQuit,_0xc44ebc),helper['overrideGet'](_0xc44ebc,_0x16360f),helper[_0x4af1e2(0x13b)](_0xc44ebc,_0x16360f),helper['isUndefined'](global['__driversArray'])&&(global['__driversArray']=[]),helper[_0x4af1e2(0xee)](global[_0x4af1e2(0x115)])&&(global[_0x4af1e2(0x115)]=[]),global[_0x4af1e2(0x155)][_0x4af1e2(0x11f)](_0xc44ebc),global[_0x4af1e2(0xe2)]=_0xc44ebc,_0xa60551[_0x4af1e2(0x13c)](global[_0x4af1e2(0x115)],undefined)&&global[_0x4af1e2(0x115)][_0x4af1e2(0x11f)](_0xc44ebc),_0x5d88e9&&helper[_0x4af1e2(0xee)](_0x5d88e9[_0x4af1e2(0x105)]['__driversArray'])&&(_0x5d88e9[_0x4af1e2(0x105)][_0x4af1e2(0x155)]=[]),_0x5d88e9&&_0xa60551[_0x4af1e2(0x14a)](_0x5d88e9[_0x4af1e2(0x105)][_0x4af1e2(0x115)],undefined)&&(_0x5d88e9[_0x4af1e2(0x105)][_0x4af1e2(0x115)][_0x4af1e2(0x11f)](_0xc44ebc),_0x5d88e9[_0x4af1e2(0x105)][_0x4af1e2(0x155)][_0x4af1e2(0x11f)](_0xc44ebc)),_0xc44ebc;}}return _0x343039[_0x5ccb15(0x136)]=_0x343039['Builder'],_0x343039[_0x5ccb15(0x14f)]=_0x43c3d5,_0x4adda8['HttpClient']=_0x3ec5dc,_0x343039;};module[a27_0x6c0a31(0x123)][a27_0x6c0a31(0x128)]=modify;
1
+ const a27_0x33e4ea=a27_0x50b3;function a27_0x50b3(_0x40ecf6,_0x411f7e){const _0x19cbb5=a27_0x19cb();return a27_0x50b3=function(_0x50b3b7,_0x4f67f2){_0x50b3b7=_0x50b3b7-0x11d;let _0x567a7c=_0x19cbb5[_0x50b3b7];return _0x567a7c;},a27_0x50b3(_0x40ecf6,_0x411f7e);}(function(_0x3a6f3d,_0x10e0c8){const _0x3d3f28=a27_0x50b3,_0x1d19eb=_0x3a6f3d();while(!![]){try{const _0x213eda=parseInt(_0x3d3f28(0x129))/0x1+-parseInt(_0x3d3f28(0x177))/0x2*(parseInt(_0x3d3f28(0x15c))/0x3)+-parseInt(_0x3d3f28(0x11e))/0x4+-parseInt(_0x3d3f28(0x155))/0x5+parseInt(_0x3d3f28(0x16a))/0x6*(-parseInt(_0x3d3f28(0x164))/0x7)+parseInt(_0x3d3f28(0x153))/0x8*(-parseInt(_0x3d3f28(0x17f))/0x9)+parseInt(_0x3d3f28(0x154))/0xa*(parseInt(_0x3d3f28(0x11d))/0xb);if(_0x213eda===_0x10e0c8)break;else _0x1d19eb['push'](_0x1d19eb['shift']());}catch(_0x44950e){_0x1d19eb['push'](_0x1d19eb['shift']());}}}(a27_0x19cb,0xdf651));const logger=require(a27_0x33e4ea(0x148))[a27_0x33e4ea(0x156)],helper=require(a27_0x33e4ea(0x18a)),constants=require(a27_0x33e4ea(0x12f)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x33e4ea(0x176)),{setAccessibilityCapabilities,setExtension}=require(a27_0x33e4ea(0x17d)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a27_0x33e4ea(0x188)),globals=require('../../../helpers/globals'),modify=(_0x3778ab,_0x181818=null,_0x4de093=![])=>{const _0x3d4062=a27_0x33e4ea,_0x40ebce={'qYumw':function(_0x5bb4a7,_0x1dee0a){return _0x5bb4a7!==_0x1dee0a;},'eBoBF':_0x3d4062(0x15b),'JOnWe':function(_0x281894,_0x2c3e3c){return _0x281894!==_0x2c3e3c;},'QJlxY':function(_0x27ae27,_0x29b3fb){return _0x27ae27+_0x29b3fb;},'BHJDp':_0x3d4062(0x152),'JzpWo':'/wd/hub','FocVh':_0x3d4062(0x141),'XKTpk':_0x3d4062(0x132),'ijfgA':_0x3d4062(0x17a),'GwZOB':_0x3d4062(0x187),'vmbsJ':_0x3d4062(0x150),'pbNTz':'firefoxOptions','LEkDU':_0x3d4062(0x158),'PXQeF':_0x3d4062(0x151),'XHFPx':_0x3d4062(0x169),'vLyEF':function(_0x4dadc1,_0x500e35){return _0x4dadc1===_0x500e35;},'dgkhu':_0x3d4062(0x181),'ggADD':'Setting\x20Browserstack\x20capabilities','CcIGE':function(_0x53d3fd,_0x2f0289,_0x5b5078){return _0x53d3fd(_0x2f0289,_0x5b5078);},'Oqbkd':function(_0x579aa5,_0x3bf2f1){return _0x579aa5(_0x3bf2f1);},'VLoPn':_0x3d4062(0x16d),'qboHi':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','KUbwH':function(_0x2ebad5,_0x28a6fa,_0x17edd4){return _0x2ebad5(_0x28a6fa,_0x17edd4);},'FozlF':function(_0x15258a,_0x482383,_0x55f0ec){return _0x15258a(_0x482383,_0x55f0ec);},'rdOqX':_0x3d4062(0x13c),'CzkHP':function(_0x3abe07){return _0x3abe07();},'JWIMh':_0x3d4062(0x13a),'Ccolo':_0x3d4062(0x14f),'lBhPf':function(_0x10a349,_0x38739e){return _0x10a349(_0x38739e);},'GuYmg':function(_0x3277f0,_0x474704){return _0x3277f0(_0x474704);},'pypoE':function(_0x4105db,_0x141317){return _0x4105db!==_0x141317;},'JgHcq':function(_0x41a673,_0x3832ac){return _0x41a673!==_0x3832ac;},'oSWfJ':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','EQOsu':_0x3d4062(0x18c)},_0x20e6d1=helper[_0x3d4062(0x14b)]();let _0x46c8cc;try{_0x46c8cc=helper[_0x3d4062(0x121)](),_0x46c8cc['originalBuilder']&&(_0x46c8cc[_0x3d4062(0x128)]=_0x46c8cc[_0x3d4062(0x168)]);}catch(_0x53da6d){return;}if(helper[_0x3d4062(0x186)]()){const _0x3aabed={};_0x3aabed[_0x3d4062(0x175)]=_0x3778ab[_0x3d4062(0x127)],helper[_0x3d4062(0x163)](_0x3aabed,new Map(),new Map()),logger[_0x3d4062(0x144)](_0x40ebce[_0x3d4062(0x174)]),logger[_0x3d4062(0x136)](_0x40ebce['EQOsu']);}class _0x4ebbc0 extends _0x20e6d1[_0x3d4062(0x12a)]{['send'](_0x7e66a2){const _0x1aa317=_0x3d4062;if(_0x40ebce['qYumw'](_0x7e66a2[_0x1aa317(0x135)],_0x40ebce[_0x1aa317(0x14c)])&&_0x40ebce[_0x1aa317(0x120)](global['newHubUrl'],''))try{global['newHubUrl']=_0x40ebce[_0x1aa317(0x126)](_0x40ebce[_0x1aa317(0x126)](_0x40ebce['BHJDp'],global[_0x1aa317(0x137)]),_0x40ebce[_0x1aa317(0x173)]),this['options_']=hubAllocator[_0x1aa317(0x138)](global[_0x1aa317(0x137)]),logger[_0x1aa317(0x136)](_0x1aa317(0x16b)+global[_0x1aa317(0x137)]),global[_0x1aa317(0x137)]='';}catch(_0x249b89){logger['error'](_0x249b89);}return super['send'](_0x7e66a2);}}class _0x34e529 extends _0x46c8cc[_0x3d4062(0x128)]{[_0x3d4062(0x125)](){const _0x429825=_0x3d4062;return this[_0x429825(0x17b)]=helper[_0x429825(0x18d)](_0x3778ab),logger[_0x429825(0x136)]('Hub\x20url\x20set\x20to\x20'+this[_0x429825(0x17b)]),this;}[_0x3d4062(0x143)](_0xcf18ec){const _0x385f8d=_0x3d4062;let _0x571738={};for(const _0x3952bc in _0xcf18ec){switch(_0x3952bc){case _0x40ebce['FocVh']:case _0x40ebce['XKTpk']:this[_0x385f8d(0x16c)]&&(_0x571738=this['chromeOptions_'][_0x385f8d(0x12b)](this[_0x385f8d(0x16c)][_0x385f8d(0x183)])||{},this[_0x385f8d(0x16c)][_0x385f8d(0x149)](this[_0x385f8d(0x16c)]['CAPABILITY_KEY'],helper[_0x385f8d(0x165)](_0x571738,_0xcf18ec[_0x3952bc])));break;case _0x40ebce[_0x385f8d(0x14e)]:case _0x40ebce[_0x385f8d(0x184)]:this[_0x385f8d(0x14a)]&&(_0x571738=this['edgeOptions_'][_0x385f8d(0x12b)](this['edgeOptions_']['CAPABILITY_KEY'])||{},this[_0x385f8d(0x14a)][_0x385f8d(0x149)](this['edgeOptions_'][_0x385f8d(0x183)],helper[_0x385f8d(0x165)](_0x571738,_0xcf18ec[_0x3952bc])));break;case _0x40ebce[_0x385f8d(0x182)]:case _0x40ebce[_0x385f8d(0x159)]:this[_0x385f8d(0x14d)]&&(_0x571738=this[_0x385f8d(0x14d)][_0x385f8d(0x12b)](this[_0x385f8d(0x14d)][_0x385f8d(0x183)])||{},this[_0x385f8d(0x14d)][_0x385f8d(0x149)](this[_0x385f8d(0x14d)][_0x385f8d(0x183)],helper[_0x385f8d(0x165)](_0x571738,_0xcf18ec[_0x3952bc])));break;case _0x40ebce['LEkDU']:this[_0x385f8d(0x161)]&&(_0x571738=this[_0x385f8d(0x161)][_0x385f8d(0x12b)](this[_0x385f8d(0x161)][_0x385f8d(0x183)])||{},this[_0x385f8d(0x161)]['set'](this[_0x385f8d(0x161)][_0x385f8d(0x183)],helper[_0x385f8d(0x165)](_0x571738,_0xcf18ec[_0x3952bc])));break;case _0x40ebce['PXQeF']:case _0x40ebce[_0x385f8d(0x147)]:this[_0x385f8d(0x122)]&&(_0x571738=this['ieOptions_'][_0x385f8d(0x12b)](this['ieOptions_'][_0x385f8d(0x183)])||{},this[_0x385f8d(0x122)][_0x385f8d(0x149)](this[_0x385f8d(0x122)][_0x385f8d(0x183)],helper[_0x385f8d(0x165)](_0x571738,_0xcf18ec[_0x3952bc])));break;}}}[_0x3d4062(0x145)](){const _0x343984=_0x3d4062;return logger[_0x343984(0x136)](_0x40ebce['ggADD']),this[_0x343984(0x143)](_0x3778ab[_0x343984(0x179)]),Object[_0x343984(0x124)](_0x3778ab[_0x343984(0x179)])[_0x343984(0x15f)](_0x28b4fe=>{const _0x418bf8=_0x343984,_0x1818fd=this[_0x418bf8(0x142)][_0x418bf8(0x12b)](_0x28b4fe);_0x40ebce[_0x418bf8(0x185)](typeof _0x1818fd,_0x40ebce[_0x418bf8(0x12d)])?this['capabilities_'][_0x418bf8(0x149)](_0x28b4fe,helper['mergeDeep'](_0x1818fd,_0x3778ab['capability'][_0x28b4fe])):this['capabilities_'][_0x418bf8(0x149)](_0x28b4fe,_0x3778ab[_0x418bf8(0x179)][_0x28b4fe]);}),this;}[_0x3d4062(0x139)](){const _0x2e0d3f=_0x3d4062,_0x49fcf0={'ocKqa':_0x40ebce[_0x2e0d3f(0x15d)],'ljTSu':_0x40ebce['qboHi'],'dslOL':function(_0x678452,_0x1d0e53,_0x3e243a){return _0x40ebce['KUbwH'](_0x678452,_0x1d0e53,_0x3e243a);},'IEbkp':function(_0x5e112d,_0x33b574,_0x3e62f5){const _0x2d3442=_0x2e0d3f;return _0x40ebce[_0x2d3442(0x12e)](_0x5e112d,_0x33b574,_0x3e62f5);}};if(helper['isBrowserstackInfra']()){const _0x4c5b3f=_0x40ebce['rdOqX'][_0x2e0d3f(0x140)]('|');let _0x43c27d=0x0;while(!![]){switch(_0x4c5b3f[_0x43c27d++]){case'0':_0x40ebce[_0x2e0d3f(0x18e)](isAccessibilityAutomationSession)&&_0x40ebce[_0x2e0d3f(0x157)](setAccessibilityCapabilities,_0x3778ab);continue;case'1':this[_0x2e0d3f(0x145)]();continue;case'2':this[_0x2e0d3f(0x125)]();continue;case'3':if(helper['isPacProxy'](_0x3778ab['proxySettings'][_0x2e0d3f(0x189)]))this[_0x2e0d3f(0x12c)]=helper['getHttpAgent'](_0x3778ab[_0x2e0d3f(0x134)][_0x2e0d3f(0x189)]);else _0x3778ab[_0x2e0d3f(0x134)][_0x2e0d3f(0x189)]&&(this['proxy_']=_0x3778ab[_0x2e0d3f(0x134)]['proxyUrl'],logger[_0x2e0d3f(0x136)]('Proxy\x20set\x20to\x20'+this['proxy_']));continue;case'4':globals[_0x2e0d3f(0x18f)](_0x40ebce[_0x2e0d3f(0x11f)])&&(!_0x40ebce['FozlF'](setExtension,this,_0x3778ab)&&globals[_0x2e0d3f(0x18b)](_0x40ebce[_0x2e0d3f(0x11f)],![]));continue;case'5':logger[_0x2e0d3f(0x136)](_0x40ebce['Ccolo']);continue;}break;}}const _0x3af62b=super[_0x2e0d3f(0x139)]();return _0x3af62b[_0x2e0d3f(0x17c)][_0x2e0d3f(0x15e)](_0x253dff=>{const _0x19c6b7=_0x2e0d3f;try{const _0x240729=_0x253dff[_0x19c6b7(0x146)]['get'](_0x49fcf0[_0x19c6b7(0x171)]);_0x240729?(logger[_0x19c6b7(0x136)](_0x19c6b7(0x131)+_0x240729),hubAllocator[_0x19c6b7(0x16f)](_0x240729),helper[_0x19c6b7(0x15a)](_0x240729)):logger[_0x19c6b7(0x136)](_0x49fcf0['ljTSu']);}catch(_0x4fec2e){logger[_0x19c6b7(0x136)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x4fec2e);}}),_0x3af62b['quitCount_']=0x0,_0x3af62b[_0x2e0d3f(0x15e)]&&_0x3af62b[_0x2e0d3f(0x15e)](_0x4e5b5b=>{const _0x1e9455=_0x2e0d3f,_0x3b9c18={'HNYjm':function(_0x1b2adc,_0x4d63bd,_0xc25fa){const _0x3dcc0b=a27_0x50b3;return _0x40ebce[_0x3dcc0b(0x13b)](_0x1b2adc,_0x4d63bd,_0xc25fa);}};_0x40ebce[_0x1e9455(0x13b)](overrideQuit,_0x4e5b5b,_0x3af62b),_0x40ebce[_0x1e9455(0x157)](overrideTakeScreenshot,_0x4e5b5b),helper[_0x1e9455(0x13d)](_0x4e5b5b,_0x3778ab),helper['overrideExecute'](_0x4e5b5b,_0x3778ab),_0x4e5b5b['getAccessibilityResultsSummary']=async()=>{const _0x1898e7=_0x1e9455;return await _0x3b9c18[_0x1898e7(0x160)](getAccessibilityResultsSummary,_0x4e5b5b,global);},_0x4e5b5b[_0x1e9455(0x16e)]=async()=>{const _0x4f0870=_0x1e9455;return await _0x49fcf0[_0x4f0870(0x162)](getAccessibilityResults,_0x4e5b5b,global);};}),_0x3af62b['getAccessibilityResultsSummary']=async()=>{const _0x4b2a45=_0x2e0d3f;return await _0x40ebce[_0x4b2a45(0x13b)](getAccessibilityResultsSummary,_0x3af62b,global);},_0x3af62b['getAccessibilityResults']=async()=>{const _0x1c1f37=_0x2e0d3f;return await _0x49fcf0[_0x1c1f37(0x166)](getAccessibilityResults,_0x3af62b,global);},_0x40ebce['lBhPf'](overrideTakeScreenshot,_0x3af62b),_0x40ebce[_0x2e0d3f(0x170)](overrideQuit,_0x3af62b),helper[_0x2e0d3f(0x13d)](_0x3af62b,_0x3778ab),helper['overrideExecute'](_0x3af62b,_0x3778ab),helper[_0x2e0d3f(0x13f)](global['__driversArray'])&&(global[_0x2e0d3f(0x167)]=[]),helper[_0x2e0d3f(0x13f)](global['__drivers'])&&(global[_0x2e0d3f(0x17e)]=[]),global[_0x2e0d3f(0x167)][_0x2e0d3f(0x178)](_0x3af62b),global[_0x2e0d3f(0x180)]=_0x3af62b,_0x40ebce[_0x2e0d3f(0x133)](global['__drivers'],undefined)&&global[_0x2e0d3f(0x17e)][_0x2e0d3f(0x178)](_0x3af62b),_0x181818&&helper[_0x2e0d3f(0x13f)](_0x181818[_0x2e0d3f(0x13e)][_0x2e0d3f(0x167)])&&(_0x181818['global'][_0x2e0d3f(0x167)]=[]),_0x181818&&_0x40ebce[_0x2e0d3f(0x172)](_0x181818[_0x2e0d3f(0x13e)][_0x2e0d3f(0x17e)],undefined)&&(_0x181818[_0x2e0d3f(0x13e)][_0x2e0d3f(0x17e)][_0x2e0d3f(0x178)](_0x3af62b),_0x181818[_0x2e0d3f(0x13e)][_0x2e0d3f(0x167)][_0x2e0d3f(0x178)](_0x3af62b)),_0x3af62b;}}return _0x46c8cc[_0x3d4062(0x168)]=_0x46c8cc[_0x3d4062(0x128)],_0x46c8cc[_0x3d4062(0x128)]=_0x34e529,_0x20e6d1['HttpClient']=_0x4ebbc0,_0x46c8cc;};module[a27_0x33e4ea(0x130)][a27_0x33e4ea(0x123)]=modify;function a27_0x19cb(){const _0x4bd2f9=['edgeOptions','../../../helpers/accessibility-automation/helper','proxyUrl','../../../helpers/helper','setGlobal','Modifying\x20webdriver\x20builder','getHubUrl','CzkHP','getGlobal','37666717GDEhjU','6479812JOLxDq','JWIMh','JOnWe','requireSeleniumWebdriver','ieOptions_','browserstackAgentObservability','keys','setServer','QJlxY','browserStackLogLevel','Builder','200606LNGocl','HttpClient','get','agent_','dgkhu','FozlF','../../../bin/utils/constants','exports','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','chromeOptions','pypoE','proxySettings','path','debug','newHubUrl','getRequestOptions','build','isAccessibilityPlatform','CcIGE','0|2|1|3|4|5','overrideGet','global','isUndefined','split','goog:chromeOptions','capabilities_','__setBrowserOptions','info','setCapabilities','caps_','XHFPx','../../../helpers/logger','set','edgeOptions_','requireHttpClient','eBoBF','firefoxOptions_','ijfgA','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','moz:firefoxOptions','se:ieOptions','https://','11781920CLMKwK','20XttxEi','3176490HdurQO','winstonLogger','Oqbkd','safari.options','pbNTz','storeOptimalHubUrl','/session','4744662TphyKb','VLoPn','then','forEach','HNYjm','safariOptions_','dslOL','setLogLevel','98asTJle','mergeDeep','IEbkp','__driversArray','originalBuilder','ieOptions','353370NbFOYR','New\x20hub\x20url\x20set\x20to\x20','chromeOptions_','optimalHubUrl','getAccessibilityResults','updateHubUrl','GuYmg','ocKqa','JgHcq','JzpWo','oSWfJ','logLevel','../../../helpers/patchHelpers','2yihuZB','push','capability','ms:edgeOptions','url_','session_','../accessibility-automation/helper','__drivers','9MLEdyG','__driver','object','vmbsJ','CAPABILITY_KEY','GwZOB','vLyEF','isBrowserstackInfra'];a27_0x19cb=function(){return _0x4bd2f9;};return a27_0x19cb();}
@@ -1 +1 @@
1
- function a28_0x5523(){const _0x434abc=['../../../bin/utils/constants','654cYzZBx','restore','1676180mXDvqa','1370LPaagO','72psJgIh','2gIDYmJ','timeout','1218064xbIWLv','1015549jkzUCC','2099283cUtDSr','../../../helpers/request-spy','mochaHooks','10930500TMjYAn','61865rjVhNC','186230zuQBZS','../../../helpers/test-observability/utils','RSRxK'];a28_0x5523=function(){return _0x434abc;};return a28_0x5523();}const a28_0x177fc7=a28_0xd0ed;(function(_0x147b9e,_0x5151a8){const _0x12a7e8=a28_0xd0ed,_0x18bc59=_0x147b9e();while(!![]){try{const _0x5e2390=parseInt(_0x12a7e8(0xa7))/0x1*(parseInt(_0x12a7e8(0xb6))/0x2)+-parseInt(_0x12a7e8(0xa8))/0x3+-parseInt(_0x12a7e8(0xb3))/0x4+-parseInt(_0x12a7e8(0xac))/0x5*(-parseInt(_0x12a7e8(0xb1))/0x6)+-parseInt(_0x12a7e8(0xab))/0x7+-parseInt(_0x12a7e8(0xa6))/0x8*(parseInt(_0x12a7e8(0xb5))/0x9)+-parseInt(_0x12a7e8(0xb4))/0xa*(-parseInt(_0x12a7e8(0xad))/0xb);if(_0x5e2390===_0x5151a8)break;else _0x18bc59['push'](_0x18bc59['shift']());}catch(_0x15b685){_0x18bc59['push'](_0x18bc59['shift']());}}}(a28_0x5523,0xbfb5e));function a28_0xd0ed(_0x5e9a24,_0x5b5ce1){const _0x552327=a28_0x5523();return a28_0xd0ed=function(_0xd0ed2,_0xdbcfcf){_0xd0ed2=_0xd0ed2-0xa6;let _0x591bd7=_0x552327[_0xd0ed2];return _0x591bd7;},a28_0xd0ed(_0x5e9a24,_0x5b5ce1);}const requestSpy=require(a28_0x177fc7(0xa9)),constants=require(a28_0x177fc7(0xb0)),{addRequestSpy}=require(a28_0x177fc7(0xae));exports[a28_0x177fc7(0xaa)]={'beforeAll'(){const _0xe26bf9=a28_0x177fc7,_0x5494b2={'RSRxK':function(_0x4c1fc3){return _0x4c1fc3();}},_0x4dea68='browserstack internal helper hook';_0x5494b2[_0xe26bf9(0xaf)](addRequestSpy);},'afterAll'(){const _0x4eccaf=a28_0x177fc7,_0x50425d='browserstack internal helper hook';this[_0x4eccaf(0xb7)](0xea60),requestSpy[_0x4eccaf(0xb2)]();}};
1
+ function a28_0xeddf(){const _0x5f1b0f=['../../../helpers/test-observability/utils','5cdsyuo','25403oNaxBK','789104TGKsbK','954066eyxyUv','../../../helpers/request-spy','4zXlwtK','timeout','7dEljun','6688989VnWfbx','2554386qFOVCU','restore','10378220TmplVI','mochaHooks','11MnoTCd','5155352UrUObs','../../../bin/utils/constants'];a28_0xeddf=function(){return _0x5f1b0f;};return a28_0xeddf();}const a28_0x11983f=a28_0x196c;function a28_0x196c(_0x2f4a1b,_0x5ea987){const _0xeddf22=a28_0xeddf();return a28_0x196c=function(_0x196c1a,_0x22c178){_0x196c1a=_0x196c1a-0xb1;let _0xdd2e5=_0xeddf22[_0x196c1a];return _0xdd2e5;},a28_0x196c(_0x2f4a1b,_0x5ea987);}(function(_0x2e2b09,_0x137524){const _0x49527a=a28_0x196c,_0x4fb7e6=_0x2e2b09();while(!![]){try{const _0x2d4a59=parseInt(_0x49527a(0xb2))/0x1*(parseInt(_0x49527a(0xb6))/0x2)+parseInt(_0x49527a(0xb4))/0x3+parseInt(_0x49527a(0xb3))/0x4+parseInt(_0x49527a(0xb1))/0x5*(-parseInt(_0x49527a(0xba))/0x6)+parseInt(_0x49527a(0xb8))/0x7*(parseInt(_0x49527a(0xbf))/0x8)+parseInt(_0x49527a(0xb9))/0x9+-parseInt(_0x49527a(0xbc))/0xa*(parseInt(_0x49527a(0xbe))/0xb);if(_0x2d4a59===_0x137524)break;else _0x4fb7e6['push'](_0x4fb7e6['shift']());}catch(_0xeef62f){_0x4fb7e6['push'](_0x4fb7e6['shift']());}}}(a28_0xeddf,0x77acf));const requestSpy=require(a28_0x11983f(0xb5)),constants=require(a28_0x11983f(0xc0)),{addRequestSpy}=require(a28_0x11983f(0xc1));exports[a28_0x11983f(0xbd)]={'beforeAll'(){const _0x4487a7={'LAcmK':function(_0x8cf1){return _0x8cf1();}},_0x42d781='browserstack internal helper hook';_0x4487a7['LAcmK'](addRequestSpy);},'afterAll'(){const _0x17f248=a28_0x11983f,_0x603c68='browserstack internal helper hook';this[_0x17f248(0xb7)](0xea60),requestSpy[_0x17f248(0xbb)]();}};
@@ -1 +1 @@
1
- function a29_0x3d3d(_0x35cb9c,_0x20a2ed){const _0x43eb0a=a29_0x43eb();return a29_0x3d3d=function(_0x3d3d36,_0x1e1e75){_0x3d3d36=_0x3d3d36-0xaf;let _0x5f3234=_0x43eb0a[_0x3d3d36];return _0x5f3234;},a29_0x3d3d(_0x35cb9c,_0x20a2ed);}const a29_0x32a125=a29_0x3d3d;function a29_0x43eb(){const _0x18ebd8=['getHookSkippedTests','3068364DwqmBL','tAkLZ','_afterAll','OFbps','GXhqY','161655zudylV','uuid','flTSB','NxhPw','ESEzl','../../../helpers/test-observability/utils','hook','failed','9610696IVGTKI','getSession','airJf','concat','_beforeAll','GAQGZ','../../utils/logReportingAPI','mapTestHooks','pbcgU','moHXJ','reduce','map_','hookAnalyticsId','hook:','Orznp','../../utils/logPatcher','RnpGh','_afterEach','9ltNGxG','3789816VybgnW','getHookDetails','dGhHn','fromEntries','FNRWf','clCnE','parent','indexOf','TEST_PLATFORM','436fPkwGL','slice','app','nySEj','tests','MOOUu','string','split','getBrowserVersion','jgGqi','getHooksForTest','PQGHc','37385kezxXF','OfyRa','getPlatform','__cloud_provider___','generic','state','../../../helpers/helper','markedStatus','forEach','IZlcc','SQVat','_beforeEach','suites','js-','app-automate','gaHRA','AOLZj','hwSjn','IOzyl','NhCSZ','658851qdSUOD','pid','egnpA','../../../../package.json','toISOString','sendPlatformDetails','automate','filter','emit','passed','getCapabilities','appium:app','dVVlK','JLTDy','toJSON','470988lknlKU'];a29_0x43eb=function(){return _0x18ebd8;};return a29_0x43eb();}(function(_0x31d6c5,_0x551fcd){const _0x2c3bae=a29_0x3d3d,_0x3a4a9c=_0x31d6c5();while(!![]){try{const _0x1e1dfd=parseInt(_0x2c3bae(0xfd))/0x1+parseInt(_0x2c3bae(0xf8))/0x2+parseInt(_0x2c3bae(0xe7))/0x3+parseInt(_0x2c3bae(0xc7))/0x4*(parseInt(_0x2c3bae(0xd3))/0x5)+-parseInt(_0x2c3bae(0xbe))/0x6+-parseInt(_0x2c3bae(0xf6))/0x7+parseInt(_0x2c3bae(0x105))/0x8*(-parseInt(_0x2c3bae(0xbd))/0x9);if(_0x1e1dfd===_0x551fcd)break;else _0x3a4a9c['push'](_0x3a4a9c['shift']());}catch(_0x57807a){_0x3a4a9c['push'](_0x3a4a9c['shift']());}}}(a29_0x43eb,0xcaaee));const {v4:uuidv4}=require(a29_0x32a125(0xfe)),{name,version}=require(a29_0x32a125(0xea)),logPatcher=require(a29_0x32a125(0xba)),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0x32a125(0xb1)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a29_0x32a125(0x102)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a29_0x32a125(0xd9));console={},Object['keys'](consoleHolder)[a29_0x32a125(0xdb)](_0x5b05f3=>{console[_0x5b05f3]=(..._0x43b612)=>{BSTestOpsPatcher[_0x5b05f3](..._0x43b612);};}),exports['getTestEnv']=()=>{const _0x46c55a=a29_0x32a125,_0x4ebed3={'OfyRa':_0x46c55a(0xd7),'flTSB':function(_0x12be55){return _0x12be55();}};return{'ci':_0x4ebed3[_0x46c55a(0xd4)],'key':_0x4ebed3[_0x46c55a(0xff)](uuidv4),'version':version,'collector':_0x46c55a(0xe0)+name};},exports[a29_0x32a125(0xbf)]=_0xb9205e=>{const _0x28d0ce=a29_0x32a125,_0x1f9ab5={};_0x1f9ab5[_0x28d0ce(0xfb)]=function(_0x58ede8,_0x98986f){return _0x58ede8!==_0x98986f;},_0x1f9ab5['pbcgU']=_0x28d0ce(0xcd),_0x1f9ab5[_0x28d0ce(0xd0)]=function(_0x7f96,_0x3b84b0){return _0x7f96!==_0x3b84b0;},_0x1f9ab5['xaPAn']=_0x28d0ce(0xb8),_0x1f9ab5[_0x28d0ce(0x100)]=function(_0x371a3e,_0x3cafd1){return _0x371a3e!==_0x3cafd1;},_0x1f9ab5[_0x28d0ce(0x107)]=_0x28d0ce(0x103);const _0x43ec18=_0x1f9ab5;if(!_0xb9205e||_0x43ec18['OFbps'](typeof _0xb9205e,_0x43ec18[_0x28d0ce(0xb3)]))return[null,null];if(_0x43ec18[_0x28d0ce(0xd0)](_0xb9205e[_0x28d0ce(0xc5)](_0x43ec18['xaPAn']),-0x1)){const _0x17a178=_0xb9205e[_0x28d0ce(0xce)](_0x43ec18['xaPAn']);return[_0x17a178[0x0][_0x28d0ce(0xc8)](0x0,-0x1)[_0x28d0ce(0xce)]('\x22')[0x1],_0x17a178[0x1]['substring'](0x1)];}else{if(_0x43ec18[_0x28d0ce(0x100)](_0xb9205e['indexOf'](_0x43ec18[_0x28d0ce(0x107)]),-0x1)){const _0x369967=_0xb9205e[_0x28d0ce(0xce)](_0x43ec18['airJf']);return[_0x369967[0x0][_0x28d0ce(0xc8)](0x0,-0x1)[_0x28d0ce(0xce)]('\x22')[0x1],_0xb9205e];}}return[null,null];},exports[a29_0x32a125(0xd1)]=_0x43f8cd=>{const _0x1e3d73=a29_0x32a125,_0x58a6d7={'SQVat':function(_0xe10c7,_0x52084a){return _0xe10c7(_0x52084a);},'RoHQj':_0x1e3d73(0xaf),'GAQGZ':_0x1e3d73(0xfa),'NhCSZ':'_beforeEach','GXhqY':'_afterEach'};if(!_0x43f8cd||!_0x43f8cd[_0x1e3d73(0xc4)])return[];const _0x41e9d5=[];return[_0x58a6d7['RoHQj'],_0x58a6d7[_0x1e3d73(0xb0)],_0x58a6d7[_0x1e3d73(0xe6)],_0x58a6d7[_0x1e3d73(0xfc)]][_0x1e3d73(0xdb)](_0xfeaf7=>{const _0x314894=_0x1e3d73,_0x32f139=_0x43f8cd[_0x314894(0xc4)][_0xfeaf7]||[];_0x32f139[_0x314894(0xdb)](_0x10315a=>{const _0x33fd6b=_0x314894;_0x10315a[_0x33fd6b(0xb7)]&&!_0x58a6d7[_0x33fd6b(0xdd)](isInternalHook,_0x10315a['fn'])&&_0x41e9d5['push'](_0x10315a['hookAnalyticsId']);});}),[..._0x41e9d5,...exports[_0x1e3d73(0xd1)](_0x43f8cd[_0x1e3d73(0xc4)])];},exports['mapTestHooks']=_0xb74416=>{const _0x191b6e=a29_0x32a125,_0x21dbbf={'moHXJ':function(_0x2d5c02){return _0x2d5c02();},'RnpGh':function(_0x56dd7d,_0x4d39e1){return _0x56dd7d===_0x4d39e1;},'dVVlK':_0x191b6e(0xbc),'gaHRA':function(_0x544775){return _0x544775();},'egnpA':_0x191b6e(0xaf),'dGhHn':_0x191b6e(0xfa),'PQGHc':_0x191b6e(0xde)};if(!_0xb74416||!_0xb74416[_0x191b6e(0xc4)])return;[_0x21dbbf[_0x191b6e(0xe9)],_0x21dbbf[_0x191b6e(0xc0)],_0x21dbbf[_0x191b6e(0xd2)],_0x21dbbf[_0x191b6e(0xf3)]][_0x191b6e(0xdb)](_0x1b6b07=>{const _0x1e75f1=_0x191b6e,_0x90e1f5=_0xb74416[_0x1e75f1(0xc4)][_0x1b6b07]||[];_0x90e1f5[_0x1e75f1(0xdb)](_0x4d7558=>{const _0x162061=_0x1e75f1;if(!_0x4d7558['hookAnalyticsId'])_0x4d7558[_0x162061(0xb7)]=_0x21dbbf[_0x162061(0xb4)](uuidv4);else _0x4d7558[_0x162061(0xda)]&&_0x21dbbf[_0x162061(0xbb)](_0x1b6b07,_0x21dbbf[_0x162061(0xf3)])&&(_0x4d7558[_0x162061(0xb7)]=_0x21dbbf[_0x162061(0xe2)](uuidv4),delete _0x4d7558[_0x162061(0xda)]);});}),exports[_0x191b6e(0xb2)](_0xb74416['parent']);},exports[a29_0x32a125(0xec)]=async(_0x10aec8,_0x1ad87c)=>{const _0x597d19=a29_0x32a125,_0x518b6f={'ESEzl':function(_0x17514a){return _0x17514a();},'nySEj':function(_0x4471c8,_0x47907e){return _0x4471c8===_0x47907e;},'MOOUu':'browserstack','AOLZj':_0x597d19(0xf2),'URPZT':_0x597d19(0xc9),'pZpzw':_0x597d19(0xe1),'JLTDy':_0x597d19(0xed),'hwSjn':function(_0x5ae87b,_0x5e5da2){return _0x5ae87b(_0x5e5da2);},'Qczpj':'unknown_grid','FNRWf':_0x597d19(0xc6)};try{if(!_0x518b6f[_0x597d19(0x101)](isTestObservabilitySession))return;const _0x4b7130=await _0x10aec8[_0x597d19(0xf1)](),_0x5ce958=await _0x10aec8[_0x597d19(0x106)](),_0x3d22a9={},_0x373486=Object[_0x597d19(0xc1)](_0x5ce958['getCapabilities']()[_0x597d19(0xb6)]),_0x5bde6b={'product':_0x518b6f[_0x597d19(0xca)](global[_0x597d19(0xd6)],_0x518b6f[_0x597d19(0xcc)])?_0x373486[_0x518b6f[_0x597d19(0xe3)]]||_0x373486[_0x518b6f['URPZT']]?_0x518b6f['pZpzw']:_0x518b6f[_0x597d19(0xf4)]:null,'capabilities':_0x373486,'platform':_0x4b7130[_0x597d19(0xd5)](),'platform_version':_0x518b6f[_0x597d19(0xe4)](getPlatformVersion,_0x518b6f[_0x597d19(0xca)](global[_0x597d19(0xd6)],_0x518b6f['MOOUu'])),'browser':_0x4b7130['getBrowserName'](),'browser_version':_0x4b7130[_0x597d19(0xcf)](),'session_id':_0x5ce958[_0x597d19(0xf5)]()};global['__cloud_provider___']?_0x3d22a9[global['__cloud_provider___']]=_0x5bde6b:_0x3d22a9[_0x518b6f['Qczpj']]=_0x5bde6b,process[_0x597d19(0xef)]('bs:addPlatformDetails:'+process[_0x597d19(0xe8)],{'timestamp':new Date()[_0x597d19(0xeb)](),'level':null,'message':null,'kind':_0x518b6f[_0x597d19(0xc2)],'http_response':_0x3d22a9,'uuid':_0x1ad87c});}catch(_0xf72bc3){_0x518b6f[_0x597d19(0xe4)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0xf72bc3);}},exports[a29_0x32a125(0xf7)]=_0x25c3af=>{const _0x4123d2=a29_0x32a125,_0x30e7f6={};_0x30e7f6[_0x4123d2(0xdc)]=function(_0x2e9419,_0x3235da){return _0x2e9419!==_0x3235da;},_0x30e7f6[_0x4123d2(0xe5)]='hook',_0x30e7f6[_0x4123d2(0xc3)]=_0x4123d2(0xf0),_0x30e7f6[_0x4123d2(0xf9)]=function(_0x49f941,_0x55149f){return _0x49f941!==_0x55149f;},_0x30e7f6[_0x4123d2(0xb9)]=_0x4123d2(0x104);const _0x4d63b9=_0x30e7f6,_0x41a5d1=_0x25c3af[_0x4123d2(0xdf)][_0x4123d2(0xb5)]((_0x12bf75,_0x4f7ef5)=>{const _0x351e93=_0x4123d2,_0x271958=exports[_0x351e93(0xf7)](_0x4f7ef5);return _0x271958&&(_0x12bf75=_0x12bf75[_0x351e93(0x108)](_0x271958)),_0x12bf75;},[]),_0x41b6c6=_0x25c3af[_0x4123d2(0xcb)][_0x4123d2(0xee)](_0x4a88f7=>{const _0x21d981=_0x4123d2,_0xb11d67=_0x4d63b9[_0x21d981(0xdc)](_0x4a88f7['type'],_0x4d63b9[_0x21d981(0xe5)])&&!_0x4a88f7[_0x21d981(0xda)]&&_0x4d63b9[_0x21d981(0xdc)](_0x4a88f7['state'],_0x4d63b9[_0x21d981(0xc3)])&&_0x4d63b9[_0x21d981(0xf9)](_0x4a88f7[_0x21d981(0xd8)],_0x4d63b9[_0x21d981(0xb9)])&&!_0x4a88f7['pending'];return _0xb11d67;});return _0x41b6c6[_0x4123d2(0x108)](_0x41a5d1);};
1
+ const a29_0x3dc6d2=a29_0x5d5c;(function(_0x260205,_0x213af8){const _0x198309=a29_0x5d5c,_0x52fa59=_0x260205();while(!![]){try{const _0x3bb955=-parseInt(_0x198309(0x170))/0x1*(parseInt(_0x198309(0x1bf))/0x2)+-parseInt(_0x198309(0x185))/0x3+parseInt(_0x198309(0x196))/0x4*(-parseInt(_0x198309(0x1b9))/0x5)+-parseInt(_0x198309(0x194))/0x6*(parseInt(_0x198309(0x1ac))/0x7)+-parseInt(_0x198309(0x17b))/0x8+-parseInt(_0x198309(0x1a4))/0x9+parseInt(_0x198309(0x1b8))/0xa;if(_0x3bb955===_0x213af8)break;else _0x52fa59['push'](_0x52fa59['shift']());}catch(_0x5ece36){_0x52fa59['push'](_0x52fa59['shift']());}}}(a29_0x22c9,0x3b7a9));function a29_0x5d5c(_0x289325,_0x51826a){const _0x22c924=a29_0x22c9();return a29_0x5d5c=function(_0x5d5cfe,_0x2795b2){_0x5d5cfe=_0x5d5cfe-0x170;let _0x28dc24=_0x22c924[_0x5d5cfe];return _0x28dc24;},a29_0x5d5c(_0x289325,_0x51826a);}const {v4:uuidv4}=require(a29_0x3dc6d2(0x17a)),{name,version}=require(a29_0x3dc6d2(0x1b6)),logPatcher=require(a29_0x3dc6d2(0x1b4)),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0x3dc6d2(0x179)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a29_0x3dc6d2(0x1b2)),{consoleHolder}=require(a29_0x3dc6d2(0x1c7)),{getPlatformVersion}=require(a29_0x3dc6d2(0x1aa));console={},Object['keys'](consoleHolder)[a29_0x3dc6d2(0x1a3)](_0x5f3dca=>{console[_0x5f3dca]=(..._0xacf6e0)=>{BSTestOpsPatcher[_0x5f3dca](..._0xacf6e0);};}),exports[a29_0x3dc6d2(0x18b)]=()=>{const _0x59c7f3=a29_0x3dc6d2,_0x5a9ecd={'syDYX':_0x59c7f3(0x1c8),'fuQYX':function(_0x4b9841){return _0x4b9841();}};return{'ci':_0x5a9ecd['syDYX'],'key':_0x5a9ecd[_0x59c7f3(0x1c2)](uuidv4),'version':version,'collector':_0x59c7f3(0x180)+name};},exports['getHookDetails']=_0x49defb=>{const _0x29d1e5=a29_0x3dc6d2,_0x4c4047={};_0x4c4047[_0x29d1e5(0x1ae)]=function(_0x229764,_0x10b3eb){return _0x229764!==_0x10b3eb;},_0x4c4047[_0x29d1e5(0x171)]='string',_0x4c4047[_0x29d1e5(0x19d)]=function(_0xf455ec,_0x30d1ed){return _0xf455ec!==_0x30d1ed;},_0x4c4047[_0x29d1e5(0x18d)]=_0x29d1e5(0x178),_0x4c4047[_0x29d1e5(0x1a0)]=_0x29d1e5(0x195);const _0xd41025=_0x4c4047;if(!_0x49defb||_0xd41025[_0x29d1e5(0x1ae)](typeof _0x49defb,_0xd41025[_0x29d1e5(0x171)]))return[null,null];if(_0xd41025[_0x29d1e5(0x19d)](_0x49defb[_0x29d1e5(0x18a)](_0xd41025[_0x29d1e5(0x18d)]),-0x1)){const _0xd46cd5=_0x49defb[_0x29d1e5(0x1bd)](_0xd41025[_0x29d1e5(0x18d)]);return[_0xd46cd5[0x0]['slice'](0x0,-0x1)[_0x29d1e5(0x1bd)]('\x22')[0x1],_0xd46cd5[0x1][_0x29d1e5(0x183)](0x1)];}else{if(_0xd41025[_0x29d1e5(0x19d)](_0x49defb[_0x29d1e5(0x18a)](_0xd41025[_0x29d1e5(0x1a0)]),-0x1)){const _0x3c2df3=_0x49defb[_0x29d1e5(0x1bd)](_0xd41025[_0x29d1e5(0x1a0)]);return[_0x3c2df3[0x0]['slice'](0x0,-0x1)[_0x29d1e5(0x1bd)]('\x22')[0x1],_0x49defb];}}return[null,null];},exports[a29_0x3dc6d2(0x181)]=_0x4987d0=>{const _0x5498fc=a29_0x3dc6d2,_0x36ccdc={'cpEJd':function(_0x23d9a,_0x53ef1d){return _0x23d9a(_0x53ef1d);},'cGKdn':_0x5498fc(0x1b1),'nMUHK':'_afterAll','uKtpl':'_beforeEach','Unoqe':_0x5498fc(0x19c)};if(!_0x4987d0||!_0x4987d0[_0x5498fc(0x1bc)])return[];const _0x253b08=[];return[_0x36ccdc['cGKdn'],_0x36ccdc[_0x5498fc(0x187)],_0x36ccdc['uKtpl'],_0x36ccdc[_0x5498fc(0x1c1)]][_0x5498fc(0x1a3)](_0x23970b=>{const _0x4b100b=_0x5498fc,_0x2ccf0a={'ZFlsh':function(_0x2854db,_0x5545b6){const _0x501de1=a29_0x5d5c;return _0x36ccdc[_0x501de1(0x1af)](_0x2854db,_0x5545b6);}},_0x265014=_0x4987d0[_0x4b100b(0x1bc)][_0x23970b]||[];_0x265014[_0x4b100b(0x1a3)](_0x4f87c9=>{const _0x18c6d7=_0x4b100b;_0x4f87c9[_0x18c6d7(0x1c3)]&&!_0x2ccf0a[_0x18c6d7(0x193)](isInternalHook,_0x4f87c9['fn'])&&_0x253b08[_0x18c6d7(0x18f)](_0x4f87c9[_0x18c6d7(0x1c3)]);});}),[..._0x253b08,...exports[_0x5498fc(0x181)](_0x4987d0[_0x5498fc(0x1bc)])];},exports[a29_0x3dc6d2(0x186)]=_0x5ef4ef=>{const _0x48a7b6=a29_0x3dc6d2,_0x43c84c={'IbsCU':function(_0x598e4b){return _0x598e4b();},'gYoJr':function(_0x250b76,_0x2f1c67){return _0x250b76===_0x2f1c67;},'EBusV':_0x48a7b6(0x19c),'SwRit':function(_0x35295c){return _0x35295c();},'vnNxf':_0x48a7b6(0x1b1),'XLlnp':'_afterAll','tEleL':_0x48a7b6(0x19a)};if(!_0x5ef4ef||!_0x5ef4ef[_0x48a7b6(0x1bc)])return;[_0x43c84c[_0x48a7b6(0x17d)],_0x43c84c[_0x48a7b6(0x17f)],_0x43c84c[_0x48a7b6(0x176)],_0x43c84c[_0x48a7b6(0x1b3)]]['forEach'](_0x2a81e1=>{const _0x5580fa=_0x48a7b6,_0x237508={'evjpP':function(_0x1d0cda){const _0xe43a9d=a29_0x5d5c;return _0x43c84c[_0xe43a9d(0x1a5)](_0x1d0cda);},'TAZEt':function(_0x2b9af7,_0x4808e5){return _0x43c84c['gYoJr'](_0x2b9af7,_0x4808e5);},'STBrD':_0x43c84c[_0x5580fa(0x1b3)],'yMEVy':function(_0xd8aa72){return _0x43c84c['SwRit'](_0xd8aa72);}},_0x18b6fc=_0x5ef4ef['parent'][_0x2a81e1]||[];_0x18b6fc[_0x5580fa(0x1a3)](_0x1e48f3=>{const _0x31fd8b=_0x5580fa;if(!_0x1e48f3[_0x31fd8b(0x1c3)])_0x1e48f3[_0x31fd8b(0x1c3)]=_0x237508[_0x31fd8b(0x188)](uuidv4);else _0x1e48f3['markedStatus']&&_0x237508['TAZEt'](_0x2a81e1,_0x237508['STBrD'])&&(_0x1e48f3['hookAnalyticsId']=_0x237508[_0x31fd8b(0x17c)](uuidv4),delete _0x1e48f3[_0x31fd8b(0x1a8)]);});}),exports['mapTestHooks'](_0x5ef4ef[_0x48a7b6(0x1bc)]);},exports[a29_0x3dc6d2(0x1bb)]=async(_0x1cf907,_0xed8efc)=>{const _0x4df766=a29_0x3dc6d2,_0x3ffab6={'QdtAo':function(_0x8833c4){return _0x8833c4();},'EhWoj':function(_0x59659f,_0x49ae2f){return _0x59659f===_0x49ae2f;},'DZGTH':'browserstack','FUuCH':_0x4df766(0x1a7),'JDVHX':_0x4df766(0x1ad),'qTOzN':_0x4df766(0x192),'JXNHc':_0x4df766(0x173),'eByej':function(_0x2ab5df,_0x361690){return _0x2ab5df(_0x361690);},'NwHzW':_0x4df766(0x19b),'mQoxO':_0x4df766(0x199),'uZvpk':function(_0x241531,_0x30e8fa){return _0x241531(_0x30e8fa);}};try{if(!_0x3ffab6['QdtAo'](isTestObservabilitySession))return;const _0x493163=await _0x1cf907[_0x4df766(0x1ab)](),_0x1c3c36=await _0x1cf907[_0x4df766(0x1c4)](),_0x17c510={},_0x54f822=Object[_0x4df766(0x1a9)](_0x1c3c36[_0x4df766(0x1ab)]()[_0x4df766(0x1c0)]),_0x2d8595={'product':_0x3ffab6['EhWoj'](global[_0x4df766(0x190)],_0x3ffab6[_0x4df766(0x198)])?_0x54f822[_0x3ffab6['FUuCH']]||_0x54f822[_0x3ffab6[_0x4df766(0x1a1)]]?_0x3ffab6[_0x4df766(0x19e)]:_0x3ffab6[_0x4df766(0x172)]:null,'capabilities':_0x54f822,'platform':_0x493163[_0x4df766(0x1ba)](),'platform_version':_0x3ffab6[_0x4df766(0x1a6)](getPlatformVersion,_0x3ffab6[_0x4df766(0x1c5)](global['__cloud_provider___'],_0x3ffab6['DZGTH'])),'browser':_0x493163[_0x4df766(0x184)](),'browser_version':_0x493163[_0x4df766(0x1be)](),'session_id':_0x1c3c36['toJSON']()};global[_0x4df766(0x190)]?_0x17c510[global[_0x4df766(0x190)]]=_0x2d8595:_0x17c510[_0x3ffab6[_0x4df766(0x1b0)]]=_0x2d8595,process[_0x4df766(0x189)]('bs:addPlatformDetails:'+process[_0x4df766(0x177)],{'timestamp':new Date()[_0x4df766(0x174)](),'level':null,'message':null,'kind':_0x3ffab6['mQoxO'],'http_response':_0x17c510,'uuid':_0xed8efc});}catch(_0x247fc6){_0x3ffab6[_0x4df766(0x1b7)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x247fc6);}},exports['getHookSkippedTests']=_0xc41656=>{const _0x1e56cb=a29_0x3dc6d2,_0x184e62={};_0x184e62[_0x1e56cb(0x1b5)]=function(_0x4b0a26,_0x1cbaf3){return _0x4b0a26!==_0x1cbaf3;},_0x184e62[_0x1e56cb(0x1c6)]='hook',_0x184e62[_0x1e56cb(0x19f)]='passed',_0x184e62[_0x1e56cb(0x1a2)]='failed';const _0xb39c82=_0x184e62,_0x1aa991=_0xc41656['suites']['reduce']((_0x2992c6,_0x4072e6)=>{const _0x3e74c2=_0x1e56cb,_0x53fb37=exports[_0x3e74c2(0x18e)](_0x4072e6);return _0x53fb37&&(_0x2992c6=_0x2992c6[_0x3e74c2(0x18c)](_0x53fb37)),_0x2992c6;},[]),_0x217f80=_0xc41656[_0x1e56cb(0x17e)][_0x1e56cb(0x175)](_0x34edae=>{const _0x45f345=_0x1e56cb,_0x51de5e=_0xb39c82[_0x45f345(0x1b5)](_0x34edae[_0x45f345(0x197)],_0xb39c82['tRilA'])&&!_0x34edae['markedStatus']&&_0xb39c82['uBmdo'](_0x34edae[_0x45f345(0x191)],_0xb39c82['FtZnd'])&&_0xb39c82[_0x45f345(0x1b5)](_0x34edae[_0x45f345(0x191)],_0xb39c82[_0x45f345(0x1a2)])&&!_0x34edae[_0x45f345(0x182)];return _0x51de5e;});return _0x217f80['concat'](_0x1aa991);};function a29_0x22c9(){const _0x46f54f=['tRilA','../../../helpers/test-observability/constants','generic','49821schOrf','QVjYM','JXNHc','automate','toISOString','filter','tEleL','pid','hook:','../../utils/logReportingAPI','uuid','1424448RoUrfm','yMEVy','vnNxf','tests','XLlnp','js-','getHooksForTest','pending','substring','getBrowserName','837966UapLcc','mapTestHooks','nMUHK','evjpP','emit','indexOf','getTestEnv','concat','kjgXp','getHookSkippedTests','push','__cloud_provider___','state','app-automate','ZFlsh','6GKIyVR','hook','358084jJSmCD','type','DZGTH','TEST_PLATFORM','_beforeEach','unknown_grid','_afterEach','ciymX','qTOzN','FtZnd','OgSvj','JDVHX','ETdfY','forEach','3841821KFpkcW','IbsCU','eByej','appium:app','markedStatus','fromEntries','../../../helpers/helper','getCapabilities','2297421JhGwaC','app','NApXJ','cpEJd','NwHzW','_beforeAll','../../../helpers/test-observability/utils','EBusV','../../utils/logPatcher','uBmdo','../../../../package.json','uZvpk','19838640tnSjDZ','10MNXdaw','getPlatform','sendPlatformDetails','parent','split','getBrowserVersion','14SYdmbo','map_','Unoqe','fuQYX','hookAnalyticsId','getSession','EhWoj'];a29_0x22c9=function(){return _0x46f54f;};return a29_0x22c9();}
@@ -1 +1 @@
1
- const a30_0x1ddfcb=a30_0x31fd;(function(_0x322a8c,_0x353eca){const _0x208ef8=a30_0x31fd,_0x7391d3=_0x322a8c();while(!![]){try{const _0x6d9b6=-parseInt(_0x208ef8(0x13a))/0x1*(parseInt(_0x208ef8(0x11f))/0x2)+parseInt(_0x208ef8(0x11b))/0x3+-parseInt(_0x208ef8(0xef))/0x4+parseInt(_0x208ef8(0x112))/0x5*(parseInt(_0x208ef8(0x10e))/0x6)+-parseInt(_0x208ef8(0x11e))/0x7*(parseInt(_0x208ef8(0x10c))/0x8)+parseInt(_0x208ef8(0x100))/0x9*(-parseInt(_0x208ef8(0x132))/0xa)+parseInt(_0x208ef8(0x102))/0xb;if(_0x6d9b6===_0x353eca)break;else _0x7391d3['push'](_0x7391d3['shift']());}catch(_0x3a1b2f){_0x7391d3['push'](_0x7391d3['shift']());}}}(a30_0x2c9f,0x2a00c));const util=require(a30_0x1ddfcb(0x158)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x1ddfcb(0x11d)),{percyAutoCapture}=require(a30_0x1ddfcb(0x12c)),{sendPlatformDetails}=require(a30_0x1ddfcb(0x127)),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper'),{isTestObservabilitySession}=require(a30_0x1ddfcb(0xf1)),PerformanceTester=require(a30_0x1ddfcb(0x142)),scripts=require(a30_0x1ddfcb(0x143)),globals=require(a30_0x1ddfcb(0x155)),logger=require('../../helpers/logger')['winstonLogger'];exports['mochaHooks']={'beforeAll'(){const _0x944c68=a30_0x1ddfcb,_0x1db917={'LTcSV':function(_0x58bb61,_0x46674a,_0x26f76d,_0x197b77){return _0x58bb61(_0x46674a,_0x26f76d,_0x197b77);},'skRSz':'failed','HJWLj':'\x20|\x20','LgoXD':function(_0x369afc,_0xd51ba0,_0x1c6e33){return _0x369afc(_0xd51ba0,_0x1c6e33);},'MPXtO':_0x944c68(0x153),'iWTpV':function(_0x3a666e){return _0x3a666e();},'rZguK':function(_0xfa21ae,_0x5789ac,_0x575eb1){return _0xfa21ae(_0x5789ac,_0x575eb1);}};PerformanceTester[_0x944c68(0x13c)]();const _0x2c3338='browserstack internal helper hook';global[_0x944c68(0x13b)]=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0x1156a4=_0x944c68;let _0x5cbf76=![];try{await global['__drivers'][0x0][_0x1156a4(0x141)],_0x5cbf76=!![],global['__sessionFailed']?await _0x1db917[_0x1156a4(0x121)](markSessionStatus,global['__drivers'][0x0],_0x1db917[_0x1156a4(0x116)],global['__error_messages__']['join'](_0x1db917[_0x1156a4(0xfb)])):await _0x1db917['LgoXD'](markSessionStatus,global['__drivers'][0x0],_0x1db917[_0x1156a4(0x13e)]);}catch(_0x72c2d0){}global[_0x1156a4(0x13b)]=[],global[_0x1156a4(0xee)]=![];if(_0x5cbf76)try{try{_0x1db917[_0x1156a4(0x14e)](isTestObservabilitySession)&&(global[_0x1156a4(0x113)][0x0]&&await _0x1db917[_0x1156a4(0x133)](sendPlatformDetails,global['__drivers'][0x0],this[_0x1156a4(0x136)]?this['currentTest'][_0x1156a4(0x12f)]:null));}catch{}await global['__drivers'][0x0][_0x1156a4(0x12a)]();}catch(_0x56c875){}};},'beforeEach'(_0x59d422){const _0x3c0a5f=a30_0x1ddfcb,_0x28519f={'RqwXD':function(_0x31204c,_0x250078){return _0x31204c>_0x250078;},'hspfq':_0x3c0a5f(0x156),'plnCv':function(_0x1c4e2c,_0x132ba0,_0x51dd35){return _0x1c4e2c(_0x132ba0,_0x51dd35);},'QvvAr':_0x3c0a5f(0xed),'aIRgT':function(_0x3e7e45){return _0x3e7e45();},'UODyh':_0x3c0a5f(0x157),'tdSkA':function(_0x122bbe,_0x1d66d9){return _0x122bbe===_0x1d66d9;},'FEvMR':_0x3c0a5f(0x14f),'Reewz':function(_0x4e0711,_0x373994){return _0x4e0711===_0x373994;},'pThPj':'https:','EnRgU':_0x3c0a5f(0x110),'YKpuf':'Automate\x20test\x20case\x20execution\x20has\x20started.','AQCyQ':function(_0x288f5f){return _0x288f5f();}};new Promise(async _0x3064c2=>{const _0x4191af=_0x3c0a5f,_0x4a8a5a='browserstack internal helper hook';let _0x47ed8c=!![];try{_0x28519f[_0x4191af(0xea)](global[_0x4191af(0x113)]['length'],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x4191af(0x122)]()),_0x28519f['RqwXD'](global['__drivers'][0x0][_0x4191af(0x14c)],0x0)&&(_0x47ed8c=![],await global[_0x4191af(0x104)]());}catch{}try{Array['isArray'](global['__drivers'])&&global['__drivers'][0x0]&&(global['__drivers'][0x0][_0x4191af(0x13f)]=this['currentTest']['titlePath']()['join'](_0x28519f[_0x4191af(0xff)])),global[_0x4191af(0x13f)]=this[_0x4191af(0x136)][_0x4191af(0x124)]()['join'](_0x28519f[_0x4191af(0xff)]);}catch(_0x115899){logger['debug']('Failed\x20to\x20store\x20session\x20name:\x20'+_0x115899);}this[_0x4191af(0x136)][_0x4191af(0x117)]=_0x28519f[_0x4191af(0xf7)](shouldScanTestForAccessibility,this['currentTest'][_0x4191af(0x124)](),!![]),globals[_0x4191af(0x126)](_0x28519f[_0x4191af(0x11c)],this[_0x4191af(0x136)]['shouldScanTestForAccessibility']),this[_0x4191af(0x136)][_0x4191af(0x14d)]=!![];if(_0x28519f['aIRgT'](isAccessibilityAutomationSession)&&_0x47ed8c&&Array['isArray'](global[_0x4191af(0x113)])&&_0x28519f[_0x4191af(0xea)](global['__drivers'][_0x4191af(0xfe)],0x0)&&globals[_0x4191af(0x10d)](_0x28519f['UODyh']))try{const _0x256592=await global[_0x4191af(0x113)][0x0][_0x4191af(0x141)];if(_0x256592){let _0x1ea28c=!![];const _0x39389a=await global['__drivers'][0x0]['getCurrentUrl']();let _0x3a0882;try{_0x3a0882=new URL(_0x39389a);}catch(_0x1b6e59){_0x1ea28c=![];}_0x1ea28c=_0x28519f[_0x4191af(0x103)](_0x3a0882[_0x4191af(0x114)],_0x28519f['FEvMR'])||_0x28519f[_0x4191af(0x154)](_0x3a0882[_0x4191af(0x114)],_0x28519f[_0x4191af(0xf6)]),_0x1ea28c&&(this['currentTest'][_0x4191af(0x117)]&&logger[_0x4191af(0x10a)](_0x28519f[_0x4191af(0x125)])),this[_0x4191af(0x136)][_0x4191af(0x14d)]=this[_0x4191af(0x136)][_0x4191af(0x117)],this[_0x4191af(0x136)]['shouldScanTestForAccessibility']&&logger['info'](_0x28519f[_0x4191af(0x11a)]);}}catch(_0x5d0a9d){logger[_0x4191af(0xfd)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x4191af(0x147)](_0x5d0a9d));}_0x28519f['AQCyQ'](_0x3064c2);})[_0x3c0a5f(0x14a)](_0x59d422);},'afterEach'(_0x3bf59d){const _0x5392ee=a30_0x1ddfcb,_0xcb0ddc={'bugbA':function(_0x1fd7f2,_0x11c686){return _0x1fd7f2>_0x11c686;},'DXQYc':function(_0x3686bc,_0x2827aa){return _0x3686bc===_0x2827aa;},'XhPLB':'testcase','LaLcw':'appium:app','fooLJ':function(_0x293261,_0x4c5e7a,_0x25e278,_0xb7859e){return _0x293261(_0x4c5e7a,_0x25e278,_0xb7859e);},'fInmW':_0x5392ee(0x156),'otJSj':function(_0x59f231,_0x330a84){return _0x59f231!==_0x330a84;},'QsxNW':_0x5392ee(0x153),'UjSdM':function(_0x192788,_0x34308c,_0x421441){return _0x192788(_0x34308c,_0x421441);},'TzpRg':function(_0x4e0861,_0x15284e){return _0x4e0861+_0x15284e;},'BnhIA':_0x5392ee(0x108),'NSVdV':_0x5392ee(0xfd),'iAlmz':_0x5392ee(0x14b),'xgxqk':'info','DPbKP':_0x5392ee(0x157),'SeZqC':_0x5392ee(0xed),'yqQyu':_0x5392ee(0x13d),'EQIqu':function(_0x45bab5,_0x17df61){return _0x45bab5(_0x17df61);},'PQczU':_0x5392ee(0xfc),'ZaWVZ':_0x5392ee(0x10f),'zqKyO':function(_0x355aaf){return _0x355aaf();},'xnxLH':function(_0x26c31f,_0x187c96,_0x2ff172){return _0x26c31f(_0x187c96,_0x2ff172);},'wGATG':function(_0x4338cf){return _0x4338cf();},'hPJEF':'debug','yAkBk':function(_0x343957,_0x47fa5e){return _0x343957>_0x47fa5e;}},_0x4e3f80='browserstack internal helper hook';this[_0x5392ee(0x106)](0xfde8);const _0x33d32b=async(_0x428afd,_0x1ec310)=>{const _0x1f2b95=_0x5392ee;await global[_0x1f2b95(0x113)][0x0]['executeScript'](_0x1f2b95(0x10b)+_0x428afd+_0x1f2b95(0x151)+_0x1ec310+'\x22}}');};new Promise(async _0x8acd30=>{const _0x451d52=_0x5392ee;try{_0xcb0ddc[_0x451d52(0xf4)](global[_0x451d52(0x113)]['length'],0x1)&&(await global['driverCleanup'](),global['__drivers']['shift'](),global[_0x451d52(0x13b)]=[],global['__sessionFailed']=![]);try{if(global[_0x451d52(0x109)]&&_0xcb0ddc['DXQYc'](global[_0x451d52(0x12b)],_0xcb0ddc[_0x451d52(0x135)])&&global['__drivers'][0x0]){const _0x1e1ad8=_0xcb0ddc[_0x451d52(0xf4)](global['capabilities'][_0x451d52(0xfe)],0x0)?!!global['capabilities'][0x0]['app']||!!global[_0x451d52(0xf2)][0x0][_0xcb0ddc[_0x451d52(0x120)]]:![],_0x404219={};_0x404219['app']=_0x1e1ad8,await _0xcb0ddc[_0x451d52(0x150)](percyAutoCapture,global['__drivers'][0x0],_0xcb0ddc['XhPLB'],_0x404219);}}catch(_0x1aa851){}!global[_0x451d52(0x12d)]&&(await global[_0x451d52(0x113)][0x0]['executeScript'](_0x451d52(0x12e)+JSON[_0x451d52(0xf0)](this['currentTest'][_0x451d52(0x124)]()[_0x451d52(0x111)](_0xcb0ddc[_0x451d52(0x137)]))+'}}'),global['__drivers'][0x0][_0x451d52(0x152)]=!![]);const _0x561094=_0xcb0ddc[_0x451d52(0x123)](this[_0x451d52(0x136)][_0x451d52(0x146)],_0xcb0ddc[_0x451d52(0x140)]);_0x561094?(global['__sessionFailed']=!![],global[_0x451d52(0x13b)][_0x451d52(0xec)](this[_0x451d52(0x136)][_0x451d52(0x130)][_0x451d52(0xeb)]),await _0xcb0ddc['UjSdM'](_0x33d32b,JSON[_0x451d52(0xf0)](_0xcb0ddc[_0x451d52(0x134)](_0xcb0ddc[_0x451d52(0x148)],this[_0x451d52(0x136)][_0x451d52(0x130)][_0x451d52(0xeb)])),_0xcb0ddc[_0x451d52(0x118)])):await _0xcb0ddc['UjSdM'](_0x33d32b,JSON[_0x451d52(0xf0)](_0xcb0ddc['iAlmz']),_0xcb0ddc[_0x451d52(0xf5)]);}catch(_0x27a9f4){}try{if(this['currentTest'][_0x451d52(0x14d)]&&globals[_0x451d52(0x10d)](_0xcb0ddc[_0x451d52(0x138)])&&globals['getGlobal'](_0xcb0ddc['SeZqC'])){logger[_0x451d52(0x10a)](_0xcb0ddc[_0x451d52(0x128)]);const _0x3c91ec={'saveResults':this[_0x451d52(0x136)][_0x451d52(0x117)],'testDetails':{'name':this['currentTest'][_0x451d52(0x105)],'testRunId':process[_0x451d52(0xf3)]['BS_A11Y_TEST_RUN_ID'],'filePath':this['currentTest'][_0x451d52(0x131)],'scopeList':this['currentTest'][_0x451d52(0x124)]()},'platform':await _0xcb0ddc[_0x451d52(0x119)](fetchPlatformDetails,global['__drivers'][0x0])};logger[_0x451d52(0x101)](_0xcb0ddc['PQczU']),logger['debug'](util['format'](await global['__drivers'][0x0][_0x451d52(0x115)](scripts[_0x451d52(0x107)],{'method':global[_0x451d52(0x13f)]}))),await global[_0x451d52(0x113)][0x0][_0x451d52(0x115)](scripts[_0x451d52(0x129)],_0x3c91ec),logger[_0x451d52(0x10a)](_0xcb0ddc['ZaWVZ']);}}catch(_0x57aa71){logger[_0x451d52(0xfd)](_0x451d52(0x139)+this[_0x451d52(0x136)]['titlePath']()+'.\x20Error\x20:',_0x57aa71);}try{try{if(_0xcb0ddc[_0x451d52(0x149)](isTestObservabilitySession)){global[_0x451d52(0x113)][0x0]&&await _0xcb0ddc[_0x451d52(0x144)](sendPlatformDetails,global[_0x451d52(0x113)][0x0],this[_0x451d52(0x136)]?this[_0x451d52(0x136)]['testAnalyticsId']:null);if(_0xcb0ddc[_0x451d52(0xf8)](isBrowserstackInfra)){const _0x31861e='ObservabilitySync:'+Date['now']();await _0xcb0ddc[_0x451d52(0x145)](_0x33d32b,JSON['stringify'](_0x31861e),_0xcb0ddc['hPJEF']);}}}catch{}_0xcb0ddc['yAkBk'](global[_0x451d52(0x113)][0x0][_0x451d52(0x14c)],0x0)&&await global[_0x451d52(0x104)]();}catch(_0x45807f){}_0xcb0ddc[_0x451d52(0x149)](_0x8acd30);})[_0x5392ee(0x14a)](()=>_0x3bf59d());},'afterAll'(_0x102c49){const _0x5c1656=a30_0x1ddfcb,_0x3b58ef={'ErQEF':function(_0x540611){return _0x540611();}},_0x4e1bbc='browserstack internal helper hook';this[_0x5c1656(0x106)](0xfde8),new Promise(async _0x373477=>{const _0x34346e=_0x5c1656;PerformanceTester[_0x34346e(0xf9)](),await global[_0x34346e(0x104)](),_0x3b58ef[_0x34346e(0xfa)](_0x373477);})[_0x5c1656(0x14a)](()=>_0x102c49());}};function a30_0x31fd(_0x1ed5ae,_0x244296){const _0x2c9f50=a30_0x2c9f();return a30_0x31fd=function(_0x31fd35,_0x4f4d4a){_0x31fd35=_0x31fd35-0xea;let _0x55e488=_0x2c9f50[_0x31fd35];return _0x55e488;},a30_0x31fd(_0x1ed5ae,_0x244296);}function a30_0x2c9f(){const _0xffa2b2=['titlePath','EnRgU','setGlobal','./test-observability/mochaUtils','yqQyu','saveTestResults','initQuit','percyCaptureMode','../../helpers/percy/utils','__skipSessionName','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','testAnalyticsId','err','file','17690LdZVrh','rZguK','TzpRg','XhPLB','currentTest','fInmW','DPbKP','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','9543uBAPeI','__error_messages__','startMonitoring','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','MPXtO','browserstackSessionName','QsxNW','session_','../../helpers/performance-tester','../../helpers/accessibility-automation/scripts','xnxLH','UjSdM','state','format','BnhIA','zqKyO','then','Passed','quitCount_','accessibilityScanStarted','iWTpV','http:','fooLJ',',\x22level\x22:\x20\x22','sessionNameSet__','passed','Reewz','../../helpers/globals','\x20-\x20','isAccessibilityPlatform','util','RqwXD','message','push','bstackA11yShouldScan','__sessionFailed','576296GIHwmP','stringify','../../helpers/test-observability/utils','capabilities','env','bugbA','xgxqk','pThPj','plnCv','wGATG','stopMonitoring','ErQEF','HJWLj','Performing\x20scan\x20before\x20saving\x20results','error','length','hspfq','1422RjbItH','debug','11493603aCXpyb','tdSkA','driverCleanup','title','timeout','performScan','Failed:\x20','percy','info','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','8KEuZRb','getGlobal','24OkcSbR','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','join','57845lEgEqL','__drivers','protocol','executeAsyncScript','skRSz','shouldScanTestForAccessibility','NSVdV','EQIqu','YKpuf','179379tWnigQ','QvvAr','../../helpers/accessibility-automation/helper','1816423zjxgVY','62aDdBwd','LaLcw','LTcSV','shift','otJSj'];a30_0x2c9f=function(){return _0xffa2b2;};return a30_0x2c9f();}
1
+ function a30_0x208e(){const _0x535705=['Axaqd','length','1108eSOXdW','cyTNa','yxXIl','then','tklwL','stringify','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','__error_messages__','http:','JsfQa','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','https:','title','tMjMc','__sessionFailed','startMonitoring','getGlobal','4OAVhkN','RVltp','JDmvW','shouldScanTestForAccessibility','./test-observability/mochaUtils','quitCount_','err','VRngO','kaIMo','synkN','jfieZ','message','.\x20Error\x20:','../../helpers/globals','GHXCZ','JXMHa','9616739XMTVJq','\x22}}','Performing\x20scan\x20before\x20saving\x20results','isAccessibilityPlatform','testcase','WcJAy','../../helpers/percy/utils','RpSzG','bstackA11yShouldScan','winstonLogger','currentTest','testAnalyticsId','info','BcTlj','fltdO','browserstackSessionName','kPiqP','519095ZpjroF','9BNBpyX','session_','36LTixtD','driverCleanup','executeScript','accessibilityScanStarted','mLeof','\x20-\x20','../../helpers/test-observability/utils','failed','../../helpers/helper','4455786nMzAUI','OUQNR','passed','shift','FqhZA','titlePath','executeAsyncScript','ybkAg','join','isArray','util','mWqLh','eHwfV','debug','error','setGlobal','OcYQK','mochaHooks','175504XoPQLh','\x20|\x20','__drivers',',\x22level\x22:\x20\x22','app','LnSog','808ZWOdYu','szllE','now','sessionNameSet__','aZiBt','env','stopMonitoring','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','iYZeD','capabilities','ACSYm','ureud','Failed:\x20','percyCaptureMode','getCurrentUrl','Passed','13886760oAhhXc','format','../../helpers/accessibility-automation/scripts','SdHXN','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','../../helpers/performance-tester','FRgwU','JXllN','234BgmMRK','EtUOF','ZwuEN','MGCBV','__skipSessionName','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','protocol','3851744XlbeWT','timeout','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','state','file','wBAZy'];a30_0x208e=function(){return _0x535705;};return a30_0x208e();}const a30_0x10df68=a30_0x4916;(function(_0x24d8a2,_0x107611){const _0x195c45=a30_0x4916,_0x3004ad=_0x24d8a2();while(!![]){try{const _0x452433=parseInt(_0x195c45(0x124))/0x1*(-parseInt(_0x195c45(0xce))/0x2)+-parseInt(_0x195c45(0x10c))/0x3+-parseInt(_0x195c45(0xdf))/0x4*(-parseInt(_0x195c45(0x100))/0x5)+parseInt(_0x195c45(0xbf))/0x6*(parseInt(_0x195c45(0x11e))/0x7)+parseInt(_0x195c45(0xc6))/0x8*(parseInt(_0x195c45(0x101))/0x9)+-parseInt(_0x195c45(0xb7))/0xa+parseInt(_0x195c45(0xef))/0xb*(parseInt(_0x195c45(0x103))/0xc);if(_0x452433===_0x107611)break;else _0x3004ad['push'](_0x3004ad['shift']());}catch(_0x3d49f2){_0x3004ad['push'](_0x3004ad['shift']());}}}(a30_0x208e,0xd3010));const util=require(a30_0x10df68(0x116)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a30_0x10df68(0xf5)),{sendPlatformDetails}=require(a30_0x10df68(0xe3)),{isBrowserstackInfra,markSessionStatus}=require(a30_0x10df68(0x10b)),{isTestObservabilitySession}=require(a30_0x10df68(0x109)),PerformanceTester=require(a30_0x10df68(0xbc)),scripts=require(a30_0x10df68(0xb9)),globals=require(a30_0x10df68(0xec)),logger=require('../../helpers/logger')[a30_0x10df68(0xf8)];function a30_0x4916(_0x2d6e3e,_0x5d0220){const _0x208e5e=a30_0x208e();return a30_0x4916=function(_0x491662,_0x5f5279){_0x491662=_0x491662-0xb4;let _0x5a0b5e=_0x208e5e[_0x491662];return _0x5a0b5e;},a30_0x4916(_0x2d6e3e,_0x5d0220);}exports[a30_0x10df68(0x11d)]={'beforeAll'(){const _0x1ba4c9=a30_0x10df68,_0x145a34={'ybkAg':function(_0x5cc2e9,_0x18748b,_0x244d31,_0xa4b6e0){return _0x5cc2e9(_0x18748b,_0x244d31,_0xa4b6e0);},'LnSog':_0x1ba4c9(0x10a),'aZiBt':_0x1ba4c9(0x11f),'yxXIl':function(_0x13cc98,_0x13e1ab,_0x103722){return _0x13cc98(_0x13e1ab,_0x103722);},'MGCBV':_0x1ba4c9(0x10e),'ACSYm':function(_0x40e1e2){return _0x40e1e2();},'oWZnQ':function(_0x193499,_0x2bc8a4,_0x27fdfa){return _0x193499(_0x2bc8a4,_0x27fdfa);}};PerformanceTester[_0x1ba4c9(0xdd)]();const _0x44bb22='browserstack internal helper hook';global[_0x1ba4c9(0xd5)]=[],global[_0x1ba4c9(0xdc)]=![],global['driverCleanup']=async()=>{const _0x518f44=_0x1ba4c9;let _0x8c1f02=![];try{await global['__drivers'][0x0][_0x518f44(0x102)],_0x8c1f02=!![],global[_0x518f44(0xdc)]?await _0x145a34[_0x518f44(0x113)](markSessionStatus,global[_0x518f44(0x120)][0x0],_0x145a34[_0x518f44(0x123)],global[_0x518f44(0xd5)][_0x518f44(0x114)](_0x145a34[_0x518f44(0x128)])):await _0x145a34[_0x518f44(0xd0)](markSessionStatus,global[_0x518f44(0x120)][0x0],_0x145a34[_0x518f44(0xc2)]);}catch(_0x3a5985){}global[_0x518f44(0xd5)]=[],global[_0x518f44(0xdc)]=![];if(_0x8c1f02)try{try{_0x145a34[_0x518f44(0x12e)](isTestObservabilitySession)&&(global[_0x518f44(0x120)][0x0]&&await _0x145a34['oWZnQ'](sendPlatformDetails,global[_0x518f44(0x120)][0x0],this['currentTest']?this[_0x518f44(0xf9)][_0x518f44(0xfa)]:null));}catch{}await global['__drivers'][0x0]['initQuit']();}catch(_0x2bfb01){}};},'beforeEach'(_0x2a5fce){const _0x12d9e7=a30_0x10df68,_0x888c1={'FqhZA':function(_0x2a17c0,_0xbb9ea5){return _0x2a17c0>_0xbb9ea5;},'cyTNa':'\x20-\x20','FRgwU':function(_0x1d87a3,_0x514763,_0x1197d2){return _0x1d87a3(_0x514763,_0x1197d2);},'SdHXN':'bstackA11yShouldScan','mLeof':function(_0x5360a2){return _0x5360a2();},'RpSzG':_0x12d9e7(0xf2),'RVltp':function(_0x2142da,_0x40a12e){return _0x2142da===_0x40a12e;},'OUQNR':_0x12d9e7(0xd6),'wBAZy':function(_0x19f180,_0x13c56a){return _0x19f180===_0x13c56a;},'HClZD':_0x12d9e7(0xd9),'tMjMc':_0x12d9e7(0xd8),'kaIMo':'Automate\x20test\x20case\x20execution\x20has\x20started.','gMOXU':function(_0x60cbe8){return _0x60cbe8();}};new Promise(async _0x1dbe56=>{const _0x57f5c6=_0x12d9e7,_0x347d53='browserstack internal helper hook';let _0x418eb2=!![];try{_0x888c1['FqhZA'](global[_0x57f5c6(0x120)][_0x57f5c6(0xcd)],0x1)&&(await global[_0x57f5c6(0x104)](),global[_0x57f5c6(0x120)]['shift']()),_0x888c1[_0x57f5c6(0x110)](global['__drivers'][0x0][_0x57f5c6(0xe4)],0x0)&&(_0x418eb2=![],await global[_0x57f5c6(0x104)]());}catch{}try{Array['isArray'](global[_0x57f5c6(0x120)])&&global[_0x57f5c6(0x120)][0x0]&&(global[_0x57f5c6(0x120)][0x0][_0x57f5c6(0xfe)]=this[_0x57f5c6(0xf9)][_0x57f5c6(0x111)]()[_0x57f5c6(0x114)](_0x888c1[_0x57f5c6(0xcf)])),global[_0x57f5c6(0xfe)]=this['currentTest'][_0x57f5c6(0x111)]()['join'](_0x888c1[_0x57f5c6(0xcf)]);}catch(_0x3f3740){logger[_0x57f5c6(0x119)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x3f3740);}this[_0x57f5c6(0xf9)][_0x57f5c6(0xe2)]=_0x888c1[_0x57f5c6(0xbd)](shouldScanTestForAccessibility,this[_0x57f5c6(0xf9)][_0x57f5c6(0x111)](),!![]),globals[_0x57f5c6(0x11b)](_0x888c1[_0x57f5c6(0xba)],this[_0x57f5c6(0xf9)][_0x57f5c6(0xe2)]),this[_0x57f5c6(0xf9)][_0x57f5c6(0x106)]=!![];if(_0x888c1[_0x57f5c6(0x107)](isAccessibilityAutomationSession)&&_0x418eb2&&Array[_0x57f5c6(0x115)](global[_0x57f5c6(0x120)])&&_0x888c1[_0x57f5c6(0x110)](global[_0x57f5c6(0x120)][_0x57f5c6(0xcd)],0x0)&&globals['getGlobal'](_0x888c1[_0x57f5c6(0xf6)]))try{const _0x137dc1=await global[_0x57f5c6(0x120)][0x0][_0x57f5c6(0x102)];if(_0x137dc1){let _0x3b0249=!![];const _0x159a76=await global['__drivers'][0x0][_0x57f5c6(0xb5)]();let _0x5e7d04;try{_0x5e7d04=new URL(_0x159a76);}catch(_0x486582){_0x3b0249=![];}_0x3b0249=_0x888c1[_0x57f5c6(0xe0)](_0x5e7d04[_0x57f5c6(0xc5)],_0x888c1[_0x57f5c6(0x10d)])||_0x888c1[_0x57f5c6(0xcb)](_0x5e7d04['protocol'],_0x888c1['HClZD']),_0x3b0249&&(this[_0x57f5c6(0xf9)]['shouldScanTestForAccessibility']&&logger[_0x57f5c6(0xfb)](_0x888c1[_0x57f5c6(0xdb)])),this['currentTest'][_0x57f5c6(0x106)]=this[_0x57f5c6(0xf9)][_0x57f5c6(0xe2)],this['currentTest'][_0x57f5c6(0xe2)]&&logger[_0x57f5c6(0xfb)](_0x888c1[_0x57f5c6(0xe7)]);}}catch(_0x3d5112){logger[_0x57f5c6(0x11a)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x57f5c6(0xb8)](_0x3d5112));}_0x888c1['gMOXU'](_0x1dbe56);})[_0x12d9e7(0xd1)](_0x2a5fce);},'afterEach'(_0x4f62b3){const _0x14112b=a30_0x10df68,_0x23a45c={'kPiqP':function(_0x2a4ac9,_0x18ff55){return _0x2a4ac9>_0x18ff55;},'xRgju':function(_0x5a6974,_0x3ec775){return _0x5a6974===_0x3ec775;},'Axaqd':_0x14112b(0xf3),'synkN':function(_0x52b5c6,_0x388f6e){return _0x52b5c6>_0x388f6e;},'mWqLh':'appium:app','aToeS':function(_0x3e7fad,_0x5efb93,_0x573b08,_0x3299e8){return _0x3e7fad(_0x5efb93,_0x573b08,_0x3299e8);},'tklwL':_0x14112b(0x108),'GHXCZ':function(_0x508b54,_0x82007e){return _0x508b54!==_0x82007e;},'eHwfV':_0x14112b(0x10e),'szllE':function(_0x34eb27,_0x4be77a,_0x476e14){return _0x34eb27(_0x4be77a,_0x476e14);},'BcTlj':function(_0x138bc7,_0xc2b533){return _0x138bc7+_0xc2b533;},'ureud':_0x14112b(0x130),'bCeJi':'error','jfieZ':function(_0x232aaf,_0x11ac22,_0x1939b6){return _0x232aaf(_0x11ac22,_0x1939b6);},'JsfQa':_0x14112b(0xb6),'OcYQK':_0x14112b(0xfb),'yquCd':_0x14112b(0xf2),'JXMHa':_0x14112b(0xf7),'Dkgpq':_0x14112b(0xc8),'lgSxM':function(_0x2f00a2,_0x489f13){return _0x2f00a2(_0x489f13);},'VRngO':_0x14112b(0xf1),'JDmvW':_0x14112b(0xbb),'fltdO':function(_0x1233d5){return _0x1233d5();},'WcJAy':function(_0x12cb38,_0x5d719c,_0x30da4e){return _0x12cb38(_0x5d719c,_0x30da4e);},'JXllN':function(_0x1a5b85){return _0x1a5b85();},'eqayY':function(_0x106f60,_0x353b1f,_0x38ed8f){return _0x106f60(_0x353b1f,_0x38ed8f);},'ZwuEN':_0x14112b(0x119),'EtUOF':function(_0x357241){return _0x357241();}},_0xf62e3d='browserstack internal helper hook';this[_0x14112b(0xc7)](0xfde8);const _0x46d030=async(_0x295def,_0x44fcc9)=>{const _0x4e6aea=_0x14112b;await global[_0x4e6aea(0x120)][0x0][_0x4e6aea(0x105)](_0x4e6aea(0x12b)+_0x295def+_0x4e6aea(0x121)+_0x44fcc9+_0x4e6aea(0xf0));};new Promise(async _0x31e6c6=>{const _0x2c4a96=_0x14112b;try{_0x23a45c[_0x2c4a96(0xff)](global[_0x2c4a96(0x120)]['length'],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x2c4a96(0x10f)](),global[_0x2c4a96(0xd5)]=[],global[_0x2c4a96(0xdc)]=![]);try{if(global['percy']&&_0x23a45c['xRgju'](global[_0x2c4a96(0xb4)],_0x23a45c[_0x2c4a96(0xcc)])&&global[_0x2c4a96(0x120)][0x0]){const _0x535f11=_0x23a45c[_0x2c4a96(0xe8)](global[_0x2c4a96(0x12d)][_0x2c4a96(0xcd)],0x0)?!!global[_0x2c4a96(0x12d)][0x0][_0x2c4a96(0x122)]||!!global[_0x2c4a96(0x12d)][0x0][_0x23a45c[_0x2c4a96(0x117)]]:![],_0x4c5c68={};_0x4c5c68['app']=_0x535f11,await _0x23a45c['aToeS'](percyAutoCapture,global[_0x2c4a96(0x120)][0x0],_0x23a45c[_0x2c4a96(0xcc)],_0x4c5c68);}}catch(_0x27bc00){}!global[_0x2c4a96(0xc3)]&&(await global[_0x2c4a96(0x120)][0x0]['executeScript'](_0x2c4a96(0xd4)+JSON[_0x2c4a96(0xd3)](this['currentTest'][_0x2c4a96(0x111)]()[_0x2c4a96(0x114)](_0x23a45c[_0x2c4a96(0xd2)]))+'}}'),global[_0x2c4a96(0x120)][0x0][_0x2c4a96(0x127)]=!![]);const _0x216216=_0x23a45c[_0x2c4a96(0xed)](this['currentTest'][_0x2c4a96(0xc9)],_0x23a45c[_0x2c4a96(0x118)]);_0x216216?(global[_0x2c4a96(0xdc)]=!![],global['__error_messages__']['push'](this[_0x2c4a96(0xf9)][_0x2c4a96(0xe5)]['message']),await _0x23a45c[_0x2c4a96(0x125)](_0x46d030,JSON[_0x2c4a96(0xd3)](_0x23a45c[_0x2c4a96(0xfc)](_0x23a45c[_0x2c4a96(0x12f)],this['currentTest']['err'][_0x2c4a96(0xea)])),_0x23a45c['bCeJi'])):await _0x23a45c[_0x2c4a96(0xe9)](_0x46d030,JSON['stringify'](_0x23a45c[_0x2c4a96(0xd7)]),_0x23a45c[_0x2c4a96(0x11c)]);}catch(_0x4c02f9){}try{if(this[_0x2c4a96(0xf9)]['accessibilityScanStarted']&&globals['getGlobal'](_0x23a45c['yquCd'])&&globals[_0x2c4a96(0xde)](_0x23a45c[_0x2c4a96(0xee)])){logger[_0x2c4a96(0xfb)](_0x23a45c['Dkgpq']);const _0x11273a={'saveResults':this[_0x2c4a96(0xf9)][_0x2c4a96(0xe2)],'testDetails':{'name':this['currentTest'][_0x2c4a96(0xda)],'testRunId':process[_0x2c4a96(0x129)]['BS_A11Y_TEST_RUN_ID'],'filePath':this['currentTest'][_0x2c4a96(0xca)],'scopeList':this[_0x2c4a96(0xf9)][_0x2c4a96(0x111)]()},'platform':await _0x23a45c['lgSxM'](fetchPlatformDetails,global[_0x2c4a96(0x120)][0x0])};logger[_0x2c4a96(0x119)](_0x23a45c[_0x2c4a96(0xe6)]),logger[_0x2c4a96(0x119)](util[_0x2c4a96(0xb8)](await global['__drivers'][0x0][_0x2c4a96(0x112)](scripts['performScan'],{'method':global[_0x2c4a96(0xfe)]}))),await global[_0x2c4a96(0x120)][0x0][_0x2c4a96(0x112)](scripts['saveTestResults'],_0x11273a),logger['info'](_0x23a45c[_0x2c4a96(0xe1)]);}}catch(_0x303a09){logger[_0x2c4a96(0x11a)](_0x2c4a96(0xc4)+this[_0x2c4a96(0xf9)][_0x2c4a96(0x111)]()+_0x2c4a96(0xeb),_0x303a09);}try{try{if(_0x23a45c[_0x2c4a96(0xfd)](isTestObservabilitySession)){global[_0x2c4a96(0x120)][0x0]&&await _0x23a45c[_0x2c4a96(0xf4)](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this[_0x2c4a96(0xf9)][_0x2c4a96(0xfa)]:null);if(_0x23a45c[_0x2c4a96(0xbe)](isBrowserstackInfra)){const _0x23c640='ObservabilitySync:'+Date[_0x2c4a96(0x126)]();await _0x23a45c['eqayY'](_0x46d030,JSON['stringify'](_0x23c640),_0x23a45c[_0x2c4a96(0xc1)]);}}}catch{}_0x23a45c[_0x2c4a96(0xff)](global[_0x2c4a96(0x120)][0x0]['quitCount_'],0x0)&&await global[_0x2c4a96(0x104)]();}catch(_0x1cbb4c){}_0x23a45c[_0x2c4a96(0xc0)](_0x31e6c6);})[_0x14112b(0xd1)](()=>_0x4f62b3());},'afterAll'(_0x5b1fd0){const _0x2db78f=a30_0x10df68,_0x4a06dc={'iYZeD':function(_0x57c847){return _0x57c847();}},_0x33a5ee='browserstack internal helper hook';this[_0x2db78f(0xc7)](0xfde8),new Promise(async _0x19ed39=>{const _0x50b932=_0x2db78f;PerformanceTester[_0x50b932(0x12a)](),await global[_0x50b932(0x104)](),_0x4a06dc[_0x50b932(0x12c)](_0x19ed39);})[_0x2db78f(0xd1)](()=>_0x5b1fd0());}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a31_0x10f1(_0x282777,_0x5b9eb2){const _0x1654f4=a31_0x1654();return a31_0x10f1=function(_0x10f147,_0x2d0f49){_0x10f147=_0x10f147-0x135;let _0x42fcb3=_0x1654f4[_0x10f147];return _0x42fcb3;},a31_0x10f1(_0x282777,_0x5b9eb2);}function a31_0x1654(){const _0x109c67=['start_process','nightwatch.json','getPlatformName','38288224gqCXzy','webdriver','--config','mergeDeep','uBkFt','zBglD','DoNPr','join','JCufw','existsSync','path','inherit','push','3495954ZgRKNs','hvrZj','--env','9668722QzAvQh','nightwatch.conf.js','child_process','winstonLogger','splice','../../helpers/logger','debug','wpZmm','filter','XJubD','Getting\x20your\x20nightwatch\x20configs\x20from\x20','config','oVBZe','7915zqGqKb','selenium','now','766488lqzwTA','byuii','env','slice','trim','forEach','nZSQh','modifyBrowserStackW3CCaps','Pcjyk','nightwatch-browserstack.json','platforms','platform','host','lwSxS','lqHco','628200FnJTwx','modifyBrowserStackCaps','Fqsty','cwd','NQmAu','findIndex','../utils/constants','info','AeRWa','../../helpers/helper','map','3504012ixNQFL','SWBIj','child\x20process\x20exited\x20with\x20code\x20','test_settings','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','port','close','Deleting\x20','656ThAnAr','length','hub.browserstack.com','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','test','../../helpers/BrowserStackSetup','split','MMguG'];a31_0x1654=function(){return _0x109c67;};return a31_0x1654();}const a31_0x9644c3=a31_0x10f1;(function(_0x47387b,_0x1780ca){const _0x2b1375=a31_0x10f1,_0x327257=_0x47387b();while(!![]){try{const _0x20fc4f=-parseInt(_0x2b1375(0x16e))/0x1+-parseInt(_0x2b1375(0x14c))/0x2+parseInt(_0x2b1375(0x15f))/0x3+-parseInt(_0x2b1375(0x181))/0x4*(-parseInt(_0x2b1375(0x15c))/0x5)+-parseInt(_0x2b1375(0x179))/0x6+-parseInt(_0x2b1375(0x14f))/0x7+parseInt(_0x2b1375(0x13f))/0x8;if(_0x20fc4f===_0x1780ca)break;else _0x327257['push'](_0x327257['shift']());}catch(_0x369418){_0x327257['push'](_0x327257['shift']());}}}(a31_0x1654,0xea4df));const fs=require('fs'),path=require(a31_0x9644c3(0x149)),{spawn}=require(a31_0x9644c3(0x151)),logger=require(a31_0x9644c3(0x154))[a31_0x9644c3(0x152)],{default:BrowserStackSetup}=require(a31_0x9644c3(0x139)),helper=require(a31_0x9644c3(0x177)),constants=require(a31_0x9644c3(0x174)),getUserNightwatchConfigs=(_0x3b0ca0,_0x28532c)=>{const _0x1359ef=a31_0x9644c3,_0x10c212={'SWBIj':_0x1359ef(0x150),'DoNPr':_0x1359ef(0x13d),'XJubD':function(_0xd481f1,_0x562490){return _0xd481f1(_0x562490);},'uBkFt':_0x1359ef(0x137)};let _0x13dedd=null,_0x14ad3f={};const _0x5d3290=_0x28532c[_0x1359ef(0x173)](_0x4844b7=>_0x4844b7===_0x1359ef(0x141));if(!helper['isUndefined'](_0x3b0ca0['config'])&&fs[_0x1359ef(0x148)](path[_0x1359ef(0x146)](process[_0x1359ef(0x171)](),_0x3b0ca0[_0x1359ef(0x15a)])))_0x13dedd=path[_0x1359ef(0x146)](process[_0x1359ef(0x171)](),_0x3b0ca0[_0x1359ef(0x15a)]),_0x28532c[_0x1359ef(0x153)](_0x5d3290,0x2);else{if(fs[_0x1359ef(0x148)](path[_0x1359ef(0x146)](process[_0x1359ef(0x171)](),_0x10c212[_0x1359ef(0x17a)])))_0x13dedd=path['join'](process[_0x1359ef(0x171)](),_0x10c212[_0x1359ef(0x17a)]);else fs[_0x1359ef(0x148)](path[_0x1359ef(0x146)](process[_0x1359ef(0x171)](),_0x10c212[_0x1359ef(0x145)]))&&(_0x13dedd=path['join'](process[_0x1359ef(0x171)](),_0x10c212['DoNPr']));}return _0x13dedd?(logger[_0x1359ef(0x175)](_0x1359ef(0x159)+_0x13dedd),_0x14ad3f=_0x10c212[_0x1359ef(0x158)](require,_0x13dedd)):logger[_0x1359ef(0x175)](_0x10c212[_0x1359ef(0x143)]),_0x14ad3f;},removeExistingEnvs=_0x68d2b1=>{const _0x18fa7b=a31_0x9644c3,_0x1bb4c3={};_0x1bb4c3[_0x18fa7b(0x13b)]=function(_0x5c1468,_0x345347){return _0x5c1468>_0x345347;},_0x1bb4c3[_0x18fa7b(0x172)]=function(_0x7f5319,_0x3efc9b){return _0x7f5319>_0x3efc9b;};const _0x173ef5=_0x1bb4c3;let _0x2ca4b2=_0x68d2b1[_0x18fa7b(0x173)](_0x50281a=>_0x50281a==='--env');_0x173ef5['MMguG'](_0x2ca4b2,-0x1)&&_0x68d2b1[_0x18fa7b(0x153)](_0x2ca4b2,0x2),_0x2ca4b2=_0x68d2b1[_0x18fa7b(0x173)](_0x54ec51=>_0x54ec51==='-e'),_0x173ef5[_0x18fa7b(0x172)](_0x2ca4b2,-0x1)&&_0x68d2b1['splice'](_0x2ca4b2,0x2);};function run(_0x5b7a62,_0x58c899){const _0x10d906=a31_0x9644c3,_0x467b59={'nZSQh':'nightwatch','zBglD':function(_0x568642,_0x29ce03){return _0x568642+_0x29ce03;},'JCufw':_0x10d906(0x17c),'Pcjyk':function(_0x242691,_0x293797,_0x4eacdf){return _0x242691(_0x293797,_0x4eacdf);},'lqHco':_0x10d906(0x136),'eBoYo':_0x10d906(0x17d),'Fqsty':function(_0x8d38d1,_0x2dc9bc){return _0x8d38d1===_0x2dc9bc;},'oVBZe':_0x10d906(0x168),'lwSxS':function(_0x5e9162,_0x3ac3a9){return _0x5e9162(_0x3ac3a9);},'wpZmm':function(_0x277f22,_0x1c29aa,_0x13d293,_0x2f4fc5){return _0x277f22(_0x1c29aa,_0x13d293,_0x2f4fc5);},'hvrZj':'nightwatch.cmd','mKYWc':_0x10d906(0x141),'byuii':_0x10d906(0x14e),'oGaIq':_0x10d906(0x14a),'AeRWa':_0x10d906(0x17f)},_0x44cda1=new BrowserStackSetup(_0x5b7a62);if(!_0x44cda1[_0x10d906(0x15a)])return;const _0x395358=_0x467b59[_0x10d906(0x167)](getUserNightwatchConfigs,_0x5b7a62,_0x58c899),_0x48d459={};_0x48d459[_0x10d906(0x13c)]=![];const _0xa58be4={};_0xa58be4[_0x10d906(0x16b)]=_0x467b59[_0x10d906(0x16d)],_0xa58be4[_0x10d906(0x17e)]=0x1bb;const _0x4a4857={};_0x4a4857[_0x10d906(0x140)]=_0x48d459,_0x4a4857[_0x10d906(0x15d)]=_0xa58be4;const _0x13082e=_0x4a4857;logger['info'](_0x467b59['eBoYo']);const _0x3bed93={..._0x395358},_0x596685=_0x3bed93,_0xfd8857=helper['useW3C'](_0x44cda1[_0x10d906(0x15a)]),_0x138d4e=[];_0x44cda1[_0x10d906(0x15a)][_0x10d906(0x169)]['forEach']((_0x2cb147,_0x4d5383)=>{const _0x15a4de=_0x10d906;_0xfd8857?_0x138d4e[_0x15a4de(0x14b)](helper[_0x15a4de(0x166)](_0x44cda1[_0x15a4de(0x15a)],_0x467b59[_0x15a4de(0x165)],_0x4d5383)):_0x138d4e['push'](helper[_0x15a4de(0x16f)](_0x44cda1['config'],_0x467b59['nZSQh'],_0x4d5383));});const _0x50b3b0={},_0x2811d4=[];_0x5b7a62['env']=_0x5b7a62[_0x10d906(0x161)]||_0x5b7a62['e'];const _0x2933dd=_0x5b7a62[_0x10d906(0x161)]?_0x5b7a62[_0x10d906(0x161)][_0x10d906(0x163)]()[_0x10d906(0x13a)](',')[_0x10d906(0x178)](_0x4ab06a=>_0x4ab06a[_0x10d906(0x163)]())[_0x10d906(0x157)](_0x390dd3=>_0x390dd3!==''):[''];_0x467b59[_0x10d906(0x170)](_0x2933dd[_0x10d906(0x135)],0x0)&&_0x2933dd['push']('');_0x2933dd[_0x10d906(0x164)](_0x45e138=>{const _0x1b5481=_0x10d906;_0x138d4e[_0x1b5481(0x164)](_0x41d6c3=>{const _0x3822de=_0x1b5481;let _0x10cb83=_0x467b59[_0x3822de(0x144)](helper[_0x3822de(0x13e)](_0x41d6c3,'_'),'_'+Date[_0x3822de(0x15e)]());_0x45e138&&(_0x10cb83+='_'+_0x45e138);if(_0x45e138&&(!_0x395358[_0x467b59[_0x3822de(0x147)]]||!_0x395358[_0x467b59['JCufw']][_0x45e138]))return;const _0x1801d0={..._0x13082e};_0x1801d0['desiredCapabilities']=_0x41d6c3;const _0x12539f=_0x1801d0;_0x50b3b0[_0x10cb83]=_0x45e138?helper[_0x3822de(0x142)](_0x395358[_0x467b59[_0x3822de(0x147)]][_0x45e138],_0x12539f):_0x12539f,_0x2811d4[_0x3822de(0x14b)](_0x10cb83);});});!_0x596685['test_settings']&&(_0x596685['test_settings']={});_0x596685[_0x10d906(0x17c)]={..._0x596685['test_settings'],..._0x50b3b0};const _0x3a78fe=path[_0x10d906(0x146)](__dirname,_0x467b59[_0x10d906(0x15b)]);fs['writeFileSync'](_0x3a78fe,JSON['stringify'](_0x596685)),_0x467b59[_0x10d906(0x16c)](removeExistingEnvs,_0x58c899);const _0x2467d5=_0x467b59[_0x10d906(0x156)](spawn,/^win/[_0x10d906(0x138)](process[_0x10d906(0x16a)])?_0x467b59[_0x10d906(0x14d)]:_0x467b59[_0x10d906(0x165)],[_0x467b59['mKYWc'],_0x3a78fe,..._0x58c899[_0x10d906(0x162)](0x1),_0x467b59[_0x10d906(0x160)],_0x2811d4[_0x10d906(0x146)](',')],{'stdio':_0x467b59['oGaIq']});_0x2467d5['on'](_0x467b59[_0x10d906(0x176)],async _0x3c0793=>{const _0x1516b6=_0x10d906;logger[_0x1516b6(0x155)](_0x1516b6(0x17b)+_0x3c0793),logger[_0x1516b6(0x175)](_0x1516b6(0x180)+_0x3a78fe),fs['unlinkSync'](_0x3a78fe);});}module['exports']=run;
2
+ 'use strict';const a31_0xa2d204=a31_0x20b6;function a31_0x5dd3(){const _0x20096f=['push','trim','config','../../helpers/helper','existsSync','modifyBrowserStackCaps','534545IPoIyi','length','filter','test','VUplM','4973120AhuLSc','map','sDnZb','port','tSFvU','cwd','--env','EMHer','stringify','path','useW3C','nightwatch.conf.js','QnNiM','modifyBrowserStackW3CCaps','QQjKB','desiredCapabilities','nightwatch.cmd','exports','join','child\x20process\x20exited\x20with\x20code\x20','split','../../helpers/logger','nightwatch','host','test_settings','inherit','IbdNa','mergeDeep','52JfsnHT','hub.browserstack.com','Getting\x20your\x20nightwatch\x20configs\x20from\x20','start_process','winstonLogger','URxhA','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','unlinkSync','--config','CgjUL','TpEQi','selenium','873984lEyxhG','AOaFe','env','webdriver','cFnsr','close','forEach','findIndex','qSLGy','platform','writeFileSync','slice','1237812uMpiDW','info','6494484hCJkSa','Uhoof','debug','skjMC','Deleting\x20','eqWQa','OKQux','314056FBIZDT','nightwatch-browserstack.json','3173296GglkqE','child_process','splice','getPlatformName'];a31_0x5dd3=function(){return _0x20096f;};return a31_0x5dd3();}(function(_0x5b1262,_0x5d616f){const _0x22b953=a31_0x20b6,_0x46651e=_0x5b1262();while(!![]){try{const _0x27d1ec=parseInt(_0x22b953(0x1f5))/0x1+-parseInt(_0x22b953(0x23a))/0x2+-parseInt(_0x22b953(0x22e))/0x3+-parseInt(_0x22b953(0x222))/0x4*(-parseInt(_0x22b953(0x201))/0x5)+parseInt(_0x22b953(0x23c))/0x6+-parseInt(_0x22b953(0x1f7))/0x7+-parseInt(_0x22b953(0x206))/0x8;if(_0x27d1ec===_0x5d616f)break;else _0x46651e['push'](_0x46651e['shift']());}catch(_0x47018d){_0x46651e['push'](_0x46651e['shift']());}}}(a31_0x5dd3,0xc393d));function a31_0x20b6(_0x806371,_0x2967fa){const _0x5dd3c8=a31_0x5dd3();return a31_0x20b6=function(_0x20b601,_0x28f43f){_0x20b601=_0x20b601-0x1f3;let _0x521ca1=_0x5dd3c8[_0x20b601];return _0x521ca1;},a31_0x20b6(_0x806371,_0x2967fa);}const fs=require('fs'),path=require(a31_0xa2d204(0x20f)),{spawn}=require(a31_0xa2d204(0x1f8)),logger=require(a31_0xa2d204(0x21b))[a31_0xa2d204(0x226)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a31_0xa2d204(0x1fe)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x463a04,_0x47d0ad)=>{const _0x1e5e95=a31_0xa2d204,_0x50051b={'tSFvU':_0x1e5e95(0x211),'skjMC':'nightwatch.json','URxhA':function(_0x3ba8c4,_0x5afaa2){return _0x3ba8c4(_0x5afaa2);},'LumcJ':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x54f379=null,_0x73399f={};const _0x53559f=_0x47d0ad[_0x1e5e95(0x235)](_0xfcfe48=>_0xfcfe48===_0x1e5e95(0x22a));if(!helper['isUndefined'](_0x463a04['config'])&&fs[_0x1e5e95(0x1ff)](path[_0x1e5e95(0x218)](process['cwd'](),_0x463a04[_0x1e5e95(0x1fd)])))_0x54f379=path['join'](process['cwd'](),_0x463a04[_0x1e5e95(0x1fd)]),_0x47d0ad[_0x1e5e95(0x1f9)](_0x53559f,0x2);else{if(fs[_0x1e5e95(0x1ff)](path[_0x1e5e95(0x218)](process[_0x1e5e95(0x20b)](),_0x50051b[_0x1e5e95(0x20a)])))_0x54f379=path[_0x1e5e95(0x218)](process[_0x1e5e95(0x20b)](),_0x50051b['tSFvU']);else fs[_0x1e5e95(0x1ff)](path[_0x1e5e95(0x218)](process[_0x1e5e95(0x20b)](),_0x50051b[_0x1e5e95(0x23f)]))&&(_0x54f379=path[_0x1e5e95(0x218)](process['cwd'](),_0x50051b[_0x1e5e95(0x23f)]));}return _0x54f379?(logger[_0x1e5e95(0x23b)](_0x1e5e95(0x224)+_0x54f379),_0x73399f=_0x50051b[_0x1e5e95(0x227)](require,_0x54f379)):logger[_0x1e5e95(0x23b)](_0x50051b['LumcJ']),_0x73399f;},removeExistingEnvs=_0x2468ca=>{const _0x19f1ab=a31_0xa2d204,_0x332b1e={};_0x332b1e[_0x19f1ab(0x20d)]=function(_0x5721b7,_0x52fad3){return _0x5721b7>_0x52fad3;},_0x332b1e[_0x19f1ab(0x214)]=function(_0x3d7efb,_0xa277bc){return _0x3d7efb>_0xa277bc;};const _0x15c3ef=_0x332b1e;let _0x3d341f=_0x2468ca[_0x19f1ab(0x235)](_0x4b8c3c=>_0x4b8c3c===_0x19f1ab(0x20c));_0x15c3ef[_0x19f1ab(0x20d)](_0x3d341f,-0x1)&&_0x2468ca[_0x19f1ab(0x1f9)](_0x3d341f,0x2),_0x3d341f=_0x2468ca[_0x19f1ab(0x235)](_0xb02896=>_0xb02896==='-e'),_0x15c3ef['QQjKB'](_0x3d341f,-0x1)&&_0x2468ca['splice'](_0x3d341f,0x2);};function run(_0x31dfad,_0x5b3175){const _0x2ded60=a31_0xa2d204,_0x50cab5={'OKQux':_0x2ded60(0x21c),'Uhoof':function(_0x3e75e0,_0x50e269){return _0x3e75e0+_0x50e269;},'QnNiM':'test_settings','VUplM':function(_0x47026d,_0x3644df,_0x2fbdd0){return _0x47026d(_0x3644df,_0x2fbdd0);},'ZhBtt':_0x2ded60(0x223),'cFnsr':_0x2ded60(0x228),'ZAzGZ':function(_0x3be0c7,_0x4b3326){return _0x3be0c7===_0x4b3326;},'CgjUL':_0x2ded60(0x1f6),'eqWQa':function(_0x2bfda5,_0x23bc77){return _0x2bfda5(_0x23bc77);},'sDnZb':function(_0x59d26a,_0x12d0da,_0x17f8c7,_0x12dfc8){return _0x59d26a(_0x12d0da,_0x17f8c7,_0x12dfc8);},'IbdNa':_0x2ded60(0x216),'QoSvc':_0x2ded60(0x22a),'HQHKP':_0x2ded60(0x20c),'rAwyW':_0x2ded60(0x21f),'AOaFe':_0x2ded60(0x233)},_0xb8e991=new BrowserStackSetup(_0x31dfad);if(!_0xb8e991['config'])return;const _0x1888d2=_0x50cab5[_0x2ded60(0x205)](getUserNightwatchConfigs,_0x31dfad,_0x5b3175),_0x2f76af={};_0x2f76af[_0x2ded60(0x225)]=![];const _0x1515f6={};_0x1515f6[_0x2ded60(0x21d)]=_0x50cab5['ZhBtt'],_0x1515f6[_0x2ded60(0x209)]=0x1bb;const _0x1bee6f={};_0x1bee6f[_0x2ded60(0x231)]=_0x2f76af,_0x1bee6f[_0x2ded60(0x22d)]=_0x1515f6;const _0x4b707a=_0x1bee6f;logger[_0x2ded60(0x23b)](_0x50cab5[_0x2ded60(0x232)]);const _0x266c69={..._0x1888d2},_0x2518af=_0x266c69,_0x4306b5=helper[_0x2ded60(0x210)](_0xb8e991['config']),_0x3ef230=[];_0xb8e991[_0x2ded60(0x1fd)]['platforms'][_0x2ded60(0x234)]((_0x486b13,_0x117f4d)=>{const _0x14cf33=_0x2ded60;_0x4306b5?_0x3ef230[_0x14cf33(0x1fb)](helper[_0x14cf33(0x213)](_0xb8e991[_0x14cf33(0x1fd)],_0x50cab5[_0x14cf33(0x1f4)],_0x117f4d)):_0x3ef230[_0x14cf33(0x1fb)](helper[_0x14cf33(0x200)](_0xb8e991[_0x14cf33(0x1fd)],_0x50cab5[_0x14cf33(0x1f4)],_0x117f4d));});const _0x1e23ea={},_0x4eba13=[];_0x31dfad['env']=_0x31dfad[_0x2ded60(0x230)]||_0x31dfad['e'];const _0xa88288=_0x31dfad[_0x2ded60(0x230)]?_0x31dfad['env'][_0x2ded60(0x1fc)]()[_0x2ded60(0x21a)](',')[_0x2ded60(0x207)](_0x18cbea=>_0x18cbea[_0x2ded60(0x1fc)]())[_0x2ded60(0x203)](_0x3af792=>_0x3af792!==''):[''];_0x50cab5['ZAzGZ'](_0xa88288[_0x2ded60(0x202)],0x0)&&_0xa88288['push']('');_0xa88288[_0x2ded60(0x234)](_0x2929c9=>{const _0x43aeb0=_0x2ded60,_0x472b56={'TpEQi':function(_0x5e6f21,_0x5a3eb0){const _0x824c33=a31_0x20b6;return _0x50cab5[_0x824c33(0x23d)](_0x5e6f21,_0x5a3eb0);},'qSLGy':_0x50cab5[_0x43aeb0(0x212)]};_0x3ef230[_0x43aeb0(0x234)](_0x47e4f3=>{const _0xff296c=_0x43aeb0;let _0x1d75c8=_0x472b56[_0xff296c(0x22c)](helper[_0xff296c(0x1fa)](_0x47e4f3,'_'),'_'+Date['now']());_0x2929c9&&(_0x1d75c8+='_'+_0x2929c9);if(_0x2929c9&&(!_0x1888d2[_0x472b56[_0xff296c(0x236)]]||!_0x1888d2[_0x472b56['qSLGy']][_0x2929c9]))return;const _0x1cfd1e={..._0x4b707a};_0x1cfd1e[_0xff296c(0x215)]=_0x47e4f3;const _0x23ea33=_0x1cfd1e;_0x1e23ea[_0x1d75c8]=_0x2929c9?helper[_0xff296c(0x221)](_0x1888d2[_0x472b56['qSLGy']][_0x2929c9],_0x23ea33):_0x23ea33,_0x4eba13[_0xff296c(0x1fb)](_0x1d75c8);});});!_0x2518af[_0x2ded60(0x21e)]&&(_0x2518af['test_settings']={});_0x2518af[_0x2ded60(0x21e)]={..._0x2518af[_0x2ded60(0x21e)],..._0x1e23ea};const _0x13a1ca=path['join'](__dirname,_0x50cab5[_0x2ded60(0x22b)]);fs[_0x2ded60(0x238)](_0x13a1ca,JSON[_0x2ded60(0x20e)](_0x2518af)),_0x50cab5[_0x2ded60(0x1f3)](removeExistingEnvs,_0x5b3175);const _0x477d25=_0x50cab5[_0x2ded60(0x208)](spawn,/^win/[_0x2ded60(0x204)](process[_0x2ded60(0x237)])?_0x50cab5[_0x2ded60(0x220)]:_0x50cab5['OKQux'],[_0x50cab5['QoSvc'],_0x13a1ca,..._0x5b3175[_0x2ded60(0x239)](0x1),_0x50cab5['HQHKP'],_0x4eba13[_0x2ded60(0x218)](',')],{'stdio':_0x50cab5['rAwyW']});_0x477d25['on'](_0x50cab5[_0x2ded60(0x22f)],async _0x1ee611=>{const _0x53d4c7=_0x2ded60;logger[_0x53d4c7(0x23e)](_0x53d4c7(0x219)+_0x1ee611),logger[_0x53d4c7(0x23b)](_0x53d4c7(0x240)+_0x13a1ca),fs[_0x53d4c7(0x229)](_0x13a1ca);});}module[a31_0xa2d204(0x217)]=run;
@@ -1 +1 @@
1
- const a32_0x58dabd=a32_0x3f56;function a32_0x3f56(_0x26080a,_0x44a146){const _0x49fea2=a32_0x49fe();return a32_0x3f56=function(_0x3f564f,_0x14a771){_0x3f564f=_0x3f564f-0x6f;let _0x25f660=_0x49fea2[_0x3f564f];return _0x25f660;},a32_0x3f56(_0x26080a,_0x44a146);}(function(_0x2ad3e0,_0x314d27){const _0x342db4=a32_0x3f56,_0x17362b=_0x2ad3e0();while(!![]){try{const _0x1dbe97=-parseInt(_0x342db4(0xa7))/0x1*(-parseInt(_0x342db4(0x84))/0x2)+parseInt(_0x342db4(0xab))/0x3+-parseInt(_0x342db4(0x76))/0x4+-parseInt(_0x342db4(0x88))/0x5+-parseInt(_0x342db4(0x8e))/0x6*(parseInt(_0x342db4(0xa4))/0x7)+parseInt(_0x342db4(0x7e))/0x8*(parseInt(_0x342db4(0x79))/0x9)+-parseInt(_0x342db4(0x83))/0xa*(-parseInt(_0x342db4(0xa3))/0xb);if(_0x1dbe97===_0x314d27)break;else _0x17362b['push'](_0x17362b['shift']());}catch(_0xb90c41){_0x17362b['push'](_0x17362b['shift']());}}}(a32_0x49fe,0x936f5));function a32_0x49fe(){const _0x2e05ef=['platformValidation','uySbT','AALBt','ZtwJf','name','fivfF','SVFmm','IevHs','constructor','Gngev','eDEWL','bestPractice','error','vgMvf','Tkmwc','Vrovt','No\x20accessibility\x20results\x20were\x20found.','accessibilityOptions.scannerVersion','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','bstackSdkArgs','BS_A11Y_JWT','debug','tspyb','parse','3979548bVtKDL','getAccessibilityResults','QEwIl','27MGooch','LXUVd','wsEndpoint','use','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','1015912hGKQZf','AFsCY','warn','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','(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','22970EYfKlA','2MicDQi','browserName','project','KgGep','4200640fIXdvX','(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','browser_version','wcagVersion','scannerProcessingTimeout','getAccessibilityResultsSummary','6035622zZbiFh','WfLjg','performScan','currentTest','latest','mHnXi','deviceName','method','KdTES','Scigr','ZPYjl','needsReview','executeScript','Playwright','../../helpers/helper','yczZW','winstonLogger','pnwXm','No\x20summaryResults\x20found.','browserstack.accessibility','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','8833uZgPMA','7Utgyno','connectOptions','dvZVO','775272sliDPq','DMLBq','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','kgfZQ','1332345KWccaF','accessibilityOptions','../../helpers/logger','replace','pubyf','WebDriver','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','ajgXp','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','stringify','accessibilityOptions.authToken','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','DUThk','KRZWa','EXUkw','UolmB','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','env','gPBxw','playwright-chromium','accessibilityPlatform','BcVra'];a32_0x49fe=function(){return _0x2e05ef;};return a32_0x49fe();}const util=require('util'),logger=require(a32_0x58dabd(0xad))[a32_0x58dabd(0x9e)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a32_0x58dabd(0x9c)),scripts=require('../../helpers/accessibility-automation/scripts');exports['browserStackEvaluate']=async(_0x1659c6,_0x55e9b6,_0x11b0cf={})=>{const _0x864fa9=a32_0x58dabd,_0x1a5af2={};_0x1a5af2[_0x864fa9(0xaa)]=_0x864fa9(0x71);const _0x46e736=_0x1a5af2;return await _0x1659c6['evaluate'](_0x864fa9(0x89)+_0x55e9b6[_0x864fa9(0xae)](/arguments/g,_0x46e736['kgfZQ'])+_0x864fa9(0xb6)+JSON[_0x864fa9(0xb4)](_0x11b0cf)+')');},exports['browserStackExecuteDriver']=async(_0x4a0674,_0x2de3f5,_0x141074={})=>{const _0x4b3b27=a32_0x58dabd,_0x5c0a9a={};_0x5c0a9a[_0x4b3b27(0xcb)]=function(_0x1b6b62,_0x248090){return _0x1b6b62===_0x248090;},_0x5c0a9a[_0x4b3b27(0xd0)]=_0x4b3b27(0xb0),_0x5c0a9a[_0x4b3b27(0xa6)]=_0x4b3b27(0x9b),_0x5c0a9a[_0x4b3b27(0xca)]=_0x4b3b27(0x71);const _0x1350db=_0x5c0a9a;if(_0x1350db['eDEWL'](_0x4a0674['constructor']['name'],_0x1350db[_0x4b3b27(0xd0)]))return await _0x4a0674['executeAsyncScript'](_0x2de3f5,_0x141074);else{if(_0x1350db[_0x4b3b27(0xcb)](_0x4a0674[_0x4b3b27(0xc9)][_0x4b3b27(0xc5)],_0x1350db['dvZVO']))return await _0x4a0674[_0x4b3b27(0x9a)](_0x4b3b27(0x82)+_0x2de3f5[_0x4b3b27(0xae)](/arguments/g,_0x1350db['Gngev'])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x4b3b27(0xb4)](_0x141074)+')');}},exports['setAccessibilityCapabilities']=async _0x15f1dc=>{const _0x127dac=a32_0x58dabd,_0x477f71={};_0x477f71[_0x127dac(0x78)]='accessibilityOptions.wcagVersion',_0x477f71[_0x127dac(0xc3)]='accessibilityOptions.scannerProcessingTimeout',_0x477f71[_0x127dac(0x98)]='accessibilityOptions.includeIssueType.bestPractice',_0x477f71[_0x127dac(0x9d)]='accessibilityOptions.includeIssueType.needsReview',_0x477f71[_0x127dac(0x7a)]=_0x127dac(0xb5),_0x477f71[_0x127dac(0xb9)]=_0x127dac(0x6f);const _0xf3bff8=_0x477f71;_0x15f1dc[_0x127dac(0xac)]&&(_0x15f1dc[_0x127dac(0xac)][_0x127dac(0x8b)]&&(_0x15f1dc[_0xf3bff8['QEwIl']]=_0x15f1dc[_0x127dac(0xac)][_0x127dac(0x8b)]),_0x15f1dc['accessibilityOptions']['scannerProcessingTimeout']&&(_0x15f1dc[_0xf3bff8[_0x127dac(0xc3)]]=_0x15f1dc['accessibilityOptions'][_0x127dac(0x8c)]),_0x15f1dc['accessibilityOptions']['includeIssueType']&&(_0x15f1dc[_0xf3bff8[_0x127dac(0x98)]]=_0x15f1dc[_0x127dac(0xac)]['includeIssueType'][_0x127dac(0xcc)],_0x15f1dc[_0xf3bff8['yczZW']]=_0x15f1dc[_0x127dac(0xac)]['includeIssueType'][_0x127dac(0x99)]));const _0x59ab05=JSON[_0x127dac(0x75)](process['env'][_0x127dac(0xa2)])['scannerVersion'];_0x15f1dc[_0xf3bff8[_0x127dac(0x7a)]]=process[_0x127dac(0xbc)][_0x127dac(0x72)],_0x15f1dc[_0xf3bff8[_0x127dac(0xb9)]]=_0x59ab05,delete _0x15f1dc[_0x127dac(0xac)];},exports[a32_0x58dabd(0x77)]=async _0x54de59=>{const _0x53ead6=a32_0x58dabd,_0x15f85f={};_0x15f85f[_0x53ead6(0xb2)]=_0x53ead6(0xd1),_0x15f85f[_0x53ead6(0xbd)]=_0x53ead6(0xb1);const _0x22d3a4=_0x15f85f;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x54de59,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x54de59,scripts.getResults);return res;}catch{return logger[_0x53ead6(0xcd)](_0x22d3a4[_0x53ead6(0xb2)]),[];}else return logger[_0x53ead6(0x80)](_0x22d3a4[_0x53ead6(0xbd)]),[];},exports[a32_0x58dabd(0x90)]=async(_0x63e68c,_0x211bad='')=>{const _0xb44890=a32_0x58dabd;if(global['accessibilityPlatform']){const _0x2a29be={};return _0x2a29be[_0xb44890(0x95)]=_0x211bad,await exports['browserStackEvaluate'](_0x63e68c,scripts['performScan'],_0x2a29be);}},exports[a32_0x58dabd(0x8d)]=async _0x5baa4b=>{const _0x5e20f0=a32_0x58dabd,_0x31e092={};_0x31e092[_0x5e20f0(0xc7)]=_0x5e20f0(0xa0),_0x31e092[_0x5e20f0(0xaf)]=_0x5e20f0(0x7d);const _0x52dbc1=_0x31e092;if(global[_0x5e20f0(0xbf)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x5baa4b,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x5baa4b,scripts.getResultsSummary);return summaryResults;}catch{return logger['debug'](_0x52dbc1[_0x5e20f0(0xc7)]),{};}else return logger[_0x5e20f0(0x80)](_0x52dbc1[_0x5e20f0(0xaf)]),{};},exports[a32_0x58dabd(0xc1)]=async _0x36f2fe=>{const _0x2d71c0=a32_0x58dabd,_0x552cea={'vgMvf':function(_0x348861,_0x30e9ea){return _0x348861!==_0x30e9ea;},'BcVra':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','UolmB':function(_0x2283e0,_0x48059f){return _0x2283e0===_0x48059f;},'Scigr':'chrome','YqsuY':_0x2d71c0(0xbe),'mHnXi':_0x2d71c0(0x70),'IevHs':function(_0x4e8e49,_0x2204c7){return _0x4e8e49(_0x2204c7);},'pWFof':function(_0x1a9c5c,_0x571e0e){return _0x1a9c5c===_0x571e0e;},'DMLBq':_0x2d71c0(0x92),'uySbT':function(_0xc2b3ae,_0x1e97de){return _0xc2b3ae>_0x1e97de;},'dUPrO':_0x2d71c0(0xb3)};try{if(!_0x552cea[_0x2d71c0(0xce)](_0x36f2fe['deviceName'],''))return logger[_0x2d71c0(0x80)](_0x552cea[_0x2d71c0(0xc0)]),![];const _0xeaaad1=_0x36f2fe['browser'];if(!(_0x552cea[_0x2d71c0(0xba)](_0xeaaad1,_0x552cea[_0x2d71c0(0x97)])||_0x552cea[_0x2d71c0(0xba)](_0xeaaad1,_0x552cea['YqsuY'])))return logger['warn'](_0x552cea[_0x2d71c0(0x93)]),![];const _0xf12fe=_0x552cea[_0x2d71c0(0xc8)](parseInt,_0x36f2fe['browser_version']);if(!(_0x552cea['pWFof'](_0xf12fe,_0x552cea[_0x2d71c0(0xa8)])||_0x552cea[_0x2d71c0(0xc2)](_0xf12fe,0x5e)))return logger[_0x2d71c0(0x80)](_0x552cea['dUPrO']),![];}catch(_0x35c4f4){logger[_0x2d71c0(0x73)](_0x2d71c0(0xbb)+util['format'](_0x35c4f4));}return!![];},exports['processAccessibilityCaps']=(_0x18a4b5,_0x40bf17,_0x46bbb9)=>{const _0x4583a8=a32_0x58dabd,_0x4bc5e5={'Tkmwc':function(_0x44600c){return _0x44600c();},'KRZWa':_0x4583a8(0xa1),'pnwXm':function(_0x3cee4e,_0x289d17){return _0x3cee4e===_0x289d17;},'KgGep':'chrome','ZtwJf':function(_0x33ad89,_0x30a00c){return _0x33ad89===_0x30a00c;},'DUThk':'playwright-chromium','fivfF':_0x4583a8(0x70),'joxBF':_0x4583a8(0x92),'WfLjg':function(_0x262b50,_0x4da95c){return _0x262b50>_0x4da95c;},'VGzbG':_0x4583a8(0xb3),'AFsCY':function(_0x12f8bb,_0x2fbc6a){return _0x12f8bb(_0x2fbc6a);},'tspyb':_0x4583a8(0xa9),'KdTES':function(_0x547aaf,_0x2a099a){return _0x547aaf+_0x2a099a;}};try{if(_0x4bc5e5[_0x4583a8(0xcf)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x18a4b5[_0x4bc5e5[_0x4583a8(0xb8)]]&&(global['accessibilityPlatform']=![]);!(_0x4bc5e5[_0x4583a8(0x9f)](_0x18a4b5[_0x4583a8(0x85)],_0x4bc5e5[_0x4583a8(0x87)])||_0x4bc5e5['ZtwJf'](_0x18a4b5['browserName'],_0x4bc5e5[_0x4583a8(0xb7)]))&&(logger[_0x4583a8(0x80)](_0x4bc5e5[_0x4583a8(0xc6)]),global['accessibilityPlatform']=![]);!(_0x4bc5e5[_0x4583a8(0xc4)](_0x18a4b5[_0x4583a8(0x8a)],_0x4bc5e5['joxBF'])||_0x4bc5e5[_0x4583a8(0x8f)](_0x18a4b5[_0x4583a8(0x8a)],0x5e))&&(logger['warn'](_0x4bc5e5['VGzbG']),global[_0x4583a8(0xbf)]=![]);!_0x4bc5e5[_0x4583a8(0x7f)](isUndefined,_0x18a4b5[_0x4583a8(0x94)])&&(logger['warn'](_0x4bc5e5[_0x4583a8(0x74)]),global[_0x4583a8(0xbf)]=![]);if(!global[_0x4583a8(0xbf)]){_0x18a4b5[_0x4bc5e5['KRZWa']]=![];const _0x349a8a=_0x4bc5e5[_0x4583a8(0x96)](_0x40bf17,_0x4bc5e5['AFsCY'](encodeURIComponent,JSON[_0x4583a8(0xb4)](_0x18a4b5)));_0x46bbb9&&(_0x46bbb9[_0x4583a8(0x91)]['testInfo'][_0x4583a8(0x86)][_0x4583a8(0x7c)][_0x4583a8(0xa5)][_0x4583a8(0x7b)]=_0x349a8a);}}}catch(_0x12f5a4){logger[_0x4583a8(0x73)](_0x4583a8(0x81)+util['format'](_0x12f5a4));}};
1
+ const a32_0x32219e=a32_0x23b6;function a32_0x23b6(_0x88c86e,_0x3e8de1){const _0x5c4539=a32_0x5c45();return a32_0x23b6=function(_0x23b64e,_0x35ab1a){_0x23b64e=_0x23b64e-0x1d2;let _0x56b95c=_0x5c4539[_0x23b64e];return _0x56b95c;},a32_0x23b6(_0x88c86e,_0x3e8de1);}(function(_0x2127ae,_0x25af71){const _0x16cd0a=a32_0x23b6,_0x2d7604=_0x2127ae();while(!![]){try{const _0x5a7cd2=-parseInt(_0x16cd0a(0x1df))/0x1*(-parseInt(_0x16cd0a(0x201))/0x2)+-parseInt(_0x16cd0a(0x1fa))/0x3+parseInt(_0x16cd0a(0x207))/0x4*(parseInt(_0x16cd0a(0x1d2))/0x5)+-parseInt(_0x16cd0a(0x202))/0x6+parseInt(_0x16cd0a(0x20d))/0x7*(-parseInt(_0x16cd0a(0x1f3))/0x8)+parseInt(_0x16cd0a(0x1d3))/0x9+-parseInt(_0x16cd0a(0x1fe))/0xa*(parseInt(_0x16cd0a(0x1e2))/0xb);if(_0x5a7cd2===_0x25af71)break;else _0x2d7604['push'](_0x2d7604['shift']());}catch(_0x223749){_0x2d7604['push'](_0x2d7604['shift']());}}}(a32_0x5c45,0xeb1bc));function a32_0x5c45(){const _0x581e75=['tzJnJ','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','browser','No\x20accessibility\x20results\x20were\x20found.','3952VsDEHT','xaKeO','bstackSdkArgs','xpTzP','stringify','includeIssueType','scannerProcessingTimeout','3521553ObFPKa','VbAiq','tURnm','replace','90BtoyHG','ujsxh','accessibilityOptions.scannerVersion','74oDwFjT','410274wHuriV','wsEndpoint','browserStackEvaluate','CjOZM','accessibilityOptions.includeIssueType.bestPractice','88QUkjSO','needsReview','executeAsyncScript','accessibilityPlatform','latest','accessibilityOptions.includeIssueType.needsReview','4473BJQPLD','XOvdv','testInfo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','ItUVb','browser_version','setAccessibilityCapabilities','playwright-chromium','iSkZs','ifRFZ','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','../../helpers/helper','bkbbB','Playwright','MiKIO','performScan','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','env','accessibilityOptions','MDOQs','UUJjk','use','accessibilityOptions.wcagVersion','mBbru','AkAuU','tVVuq','method','deviceName','name','currentTest','SZrDC','format','util','bestPractice','../../helpers/logger','scannerVersion','executeScript','sEvHi','hiqtT','parse','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','warn','otTru','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','395105mjWzgV','4751298htygyi','error','No\x20summaryResults\x20found.','debug','MOzEN','evaluate','winstonLogger','phkjv','WebDriver','browserstack.accessibility','../../helpers/accessibility-automation/helper','qIyXj','15179XsRaRf','RWJnT','rbDzm','375353lhLMFo','lldCs','project','(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','accessibilityOptions.scannerProcessingTimeout','browserName','fCTuA','../../helpers/accessibility-automation/scripts','bLCbv','RTEKb','constructor','sFqWl','wcagVersion'];a32_0x5c45=function(){return _0x581e75;};return a32_0x5c45();}const util=require(a32_0x32219e(0x22e)),logger=require(a32_0x32219e(0x230))[a32_0x32219e(0x1d9)],{isAccessibilityAutomationSession}=require(a32_0x32219e(0x1dd)),{isUndefined}=require(a32_0x32219e(0x219)),scripts=require(a32_0x32219e(0x1e9));exports[a32_0x32219e(0x204)]=async(_0x1f2b74,_0x4cbe8b,_0xa63223={})=>{const _0x4a3aa0=a32_0x32219e,_0x39f618={};_0x39f618[_0x4a3aa0(0x1d7)]=_0x4a3aa0(0x1f5);const _0x354147=_0x39f618;return await _0x1f2b74[_0x4a3aa0(0x1d8)]('(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'+_0x4cbe8b[_0x4a3aa0(0x1fd)](/arguments/g,_0x354147[_0x4a3aa0(0x1d7)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x4a3aa0(0x1f7)](_0xa63223)+')');},exports['browserStackExecuteDriver']=async(_0x45def1,_0x31cfcf,_0xf95647={})=>{const _0x49ab51=a32_0x32219e,_0x2c19c8={};_0x2c19c8[_0x49ab51(0x238)]=function(_0x487fe6,_0x7c6b4a){return _0x487fe6===_0x7c6b4a;},_0x2c19c8[_0x49ab51(0x227)]=_0x49ab51(0x1db),_0x2c19c8[_0x49ab51(0x21a)]=_0x49ab51(0x21b),_0x2c19c8['hiqtT']=_0x49ab51(0x1f5);const _0xb2693c=_0x2c19c8;if(_0xb2693c[_0x49ab51(0x238)](_0x45def1['constructor'][_0x49ab51(0x22a)],_0xb2693c[_0x49ab51(0x227)]))return await _0x45def1[_0x49ab51(0x209)](_0x31cfcf,_0xf95647);else{if(_0xb2693c[_0x49ab51(0x238)](_0x45def1[_0x49ab51(0x1ec)][_0x49ab51(0x22a)],_0xb2693c[_0x49ab51(0x21a)]))return await _0x45def1[_0x49ab51(0x232)](_0x49ab51(0x1e5)+_0x31cfcf['replace'](/arguments/g,_0xb2693c[_0x49ab51(0x234)])+_0x49ab51(0x217)+JSON[_0x49ab51(0x1f7)](_0xf95647)+')');}},exports[a32_0x32219e(0x213)]=async _0x259d09=>{const _0x1f8c05=a32_0x32219e,_0xe6c1a={};_0xe6c1a['sEvHi']=_0x1f8c05(0x224),_0xe6c1a[_0x1f8c05(0x20e)]=_0x1f8c05(0x1e6),_0xe6c1a[_0x1f8c05(0x225)]=_0x1f8c05(0x206),_0xe6c1a[_0x1f8c05(0x1f6)]=_0x1f8c05(0x20c),_0xe6c1a[_0x1f8c05(0x22c)]='accessibilityOptions.authToken',_0xe6c1a['sFqWl']=_0x1f8c05(0x200);const _0x37904e=_0xe6c1a;_0x259d09[_0x1f8c05(0x220)]&&(_0x259d09[_0x1f8c05(0x220)][_0x1f8c05(0x1ee)]&&(_0x259d09[_0x37904e[_0x1f8c05(0x233)]]=_0x259d09[_0x1f8c05(0x220)]['wcagVersion']),_0x259d09[_0x1f8c05(0x220)][_0x1f8c05(0x1f9)]&&(_0x259d09[_0x37904e['XOvdv']]=_0x259d09[_0x1f8c05(0x220)][_0x1f8c05(0x1f9)]),_0x259d09[_0x1f8c05(0x220)][_0x1f8c05(0x1f8)]&&(_0x259d09[_0x37904e['mBbru']]=_0x259d09['accessibilityOptions'][_0x1f8c05(0x1f8)][_0x1f8c05(0x22f)],_0x259d09[_0x37904e['xpTzP']]=_0x259d09['accessibilityOptions']['includeIssueType'][_0x1f8c05(0x208)]));const _0x55e7d6=JSON[_0x1f8c05(0x235)](process[_0x1f8c05(0x21f)][_0x1f8c05(0x21e)])[_0x1f8c05(0x231)];_0x259d09[_0x37904e['SZrDC']]=process[_0x1f8c05(0x21f)]['BS_A11Y_JWT'],_0x259d09[_0x37904e[_0x1f8c05(0x1ed)]]=_0x55e7d6,delete _0x259d09[_0x1f8c05(0x220)];},exports['getAccessibilityResults']=async _0x3cded8=>{const _0x17f1f1=a32_0x32219e,_0x24a9fc={};_0x24a9fc[_0x17f1f1(0x1fc)]=_0x17f1f1(0x1f2),_0x24a9fc['qIyXj']=_0x17f1f1(0x239);const _0x2bf8a5=_0x24a9fc;if(global[_0x17f1f1(0x20a)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x3cded8,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x3cded8,scripts.getResults);return res;}catch{return logger[_0x17f1f1(0x1d4)](_0x2bf8a5[_0x17f1f1(0x1fc)]),[];}else return logger[_0x17f1f1(0x237)](_0x2bf8a5[_0x17f1f1(0x1de)]),[];},exports[a32_0x32219e(0x21d)]=async(_0x1aa705,_0xebefb4='')=>{const _0x5b50a8=a32_0x32219e;if(global['accessibilityPlatform']){const _0x43a0e0={};return _0x43a0e0[_0x5b50a8(0x228)]=_0xebefb4,await exports[_0x5b50a8(0x204)](_0x1aa705,scripts[_0x5b50a8(0x21d)],_0x43a0e0);}},exports['getAccessibilityResultsSummary']=async _0x33b85c=>{const _0x4d4c80=a32_0x32219e,_0x5f2379={};_0x5f2379[_0x4d4c80(0x1ef)]=_0x4d4c80(0x1d5),_0x5f2379[_0x4d4c80(0x221)]=_0x4d4c80(0x1f0);const _0x4d3c3b=_0x5f2379;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x33b85c,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x33b85c,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x4d4c80(0x1d6)](_0x4d3c3b['tzJnJ']),{};}else return logger['warn'](_0x4d3c3b[_0x4d4c80(0x221)]),{};},exports['platformValidation']=async _0x412fa2=>{const _0x29e17e=a32_0x32219e,_0x33b153={'zisXd':function(_0x3b4625,_0x383eac){return _0x3b4625!==_0x383eac;},'phkjv':_0x29e17e(0x210),'CjOZM':function(_0x38f8f7,_0x1d461a){return _0x38f8f7===_0x1d461a;},'ifRFZ':'chrome','fCTuA':_0x29e17e(0x214),'ItUVb':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','UUJjk':function(_0x3db93b,_0x13cd50){return _0x3db93b(_0x13cd50);},'RTEKb':_0x29e17e(0x20b),'QSftH':function(_0x3c1cee,_0x434e23){return _0x3c1cee>_0x434e23;},'OtkFD':_0x29e17e(0x236)};try{if(!_0x33b153['zisXd'](_0x412fa2[_0x29e17e(0x229)],''))return logger[_0x29e17e(0x237)](_0x33b153[_0x29e17e(0x1da)]),![];const _0x5ea47a=_0x412fa2[_0x29e17e(0x1f1)];if(!(_0x33b153[_0x29e17e(0x205)](_0x5ea47a,_0x33b153[_0x29e17e(0x216)])||_0x33b153[_0x29e17e(0x205)](_0x5ea47a,_0x33b153[_0x29e17e(0x1e8)])))return logger[_0x29e17e(0x237)](_0x33b153[_0x29e17e(0x211)]),![];const _0x15c853=_0x33b153[_0x29e17e(0x222)](parseInt,_0x412fa2[_0x29e17e(0x212)]);if(!(_0x33b153[_0x29e17e(0x205)](_0x15c853,_0x33b153[_0x29e17e(0x1eb)])||_0x33b153['QSftH'](_0x15c853,0x5e)))return logger[_0x29e17e(0x237)](_0x33b153['OtkFD']),![];}catch(_0x557936){logger['debug']('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util['format'](_0x557936));}return!![];},exports['processAccessibilityCaps']=(_0x5d1d05,_0x4211c9,_0x3346af)=>{const _0x44f53a=a32_0x32219e,_0x97fa6c={'iSkZs':function(_0x31e2c1){return _0x31e2c1();},'xaKeO':_0x44f53a(0x1dc),'rbDzm':function(_0x276a98,_0x5ae290){return _0x276a98===_0x5ae290;},'RWJnT':'chrome','bLCbv':function(_0x1a28b9,_0x2997f9){return _0x1a28b9===_0x2997f9;},'sLrno':'playwright-chromium','MiKIO':_0x44f53a(0x218),'PoZYc':'latest','VbAiq':function(_0x5300c7,_0x50a09c){return _0x5300c7>_0x50a09c;},'lIBVj':_0x44f53a(0x236),'lldCs':function(_0x582579,_0x4dbc26){return _0x582579(_0x4dbc26);},'ujsxh':_0x44f53a(0x210),'AkAuU':function(_0x3842c5,_0x1b7a0e){return _0x3842c5+_0x1b7a0e;}};try{if(_0x97fa6c[_0x44f53a(0x215)](isAccessibilityAutomationSession)){global[_0x44f53a(0x20a)]=!![];!_0x5d1d05[_0x97fa6c[_0x44f53a(0x1f4)]]&&(global[_0x44f53a(0x20a)]=![]);!(_0x97fa6c[_0x44f53a(0x1e1)](_0x5d1d05['browserName'],_0x97fa6c[_0x44f53a(0x1e0)])||_0x97fa6c[_0x44f53a(0x1ea)](_0x5d1d05[_0x44f53a(0x1e7)],_0x97fa6c['sLrno']))&&(logger[_0x44f53a(0x237)](_0x97fa6c[_0x44f53a(0x21c)]),global[_0x44f53a(0x20a)]=![]);!(_0x97fa6c[_0x44f53a(0x1e1)](_0x5d1d05[_0x44f53a(0x212)],_0x97fa6c['PoZYc'])||_0x97fa6c[_0x44f53a(0x1fb)](_0x5d1d05['browser_version'],0x5e))&&(logger[_0x44f53a(0x237)](_0x97fa6c['lIBVj']),global[_0x44f53a(0x20a)]=![]);!_0x97fa6c[_0x44f53a(0x1e3)](isUndefined,_0x5d1d05['deviceName'])&&(logger['warn'](_0x97fa6c[_0x44f53a(0x1ff)]),global[_0x44f53a(0x20a)]=![]);if(!global[_0x44f53a(0x20a)]){_0x5d1d05[_0x97fa6c[_0x44f53a(0x1f4)]]=![];const _0xeb9f6b=_0x97fa6c[_0x44f53a(0x226)](_0x4211c9,_0x97fa6c['lldCs'](encodeURIComponent,JSON[_0x44f53a(0x1f7)](_0x5d1d05)));_0x3346af&&(_0x3346af[_0x44f53a(0x22b)][_0x44f53a(0x20f)][_0x44f53a(0x1e4)][_0x44f53a(0x223)]['connectOptions'][_0x44f53a(0x203)]=_0xeb9f6b);}}}catch(_0xd490fc){logger[_0x44f53a(0x1d6)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x44f53a(0x22d)](_0xd490fc));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x49954d=a33_0xf1c6;function a33_0x13f6(){const _0x2372c7=['XvZSW','cliConfig','BROWSERSTACK_PW_CONFIG_DIR','HYKic','concat','startsWith','isTrue','KMgaV','Error\x20in\x20getting\x20funnel\x20data\x20results','reporter','exitCode','BROWSERSTACK_AUTOMATION','PzJYK','SUcha','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','2nwKzhi','Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','skipSessionName','testContextOptions','amWFV','UYfJe','GqgKd','respectGitIgnore','Tixiq','GwCGk','--grep','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','skipSessionStatus','cwd','1240058YgvgXL','6777430UQDabV','eGFDn','../../helpers/BrowserStackSetup','kiIIu','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','homedir','Error\x20in\x20closing\x20playwright','slice','filterBrowserstackConfig','RGbqW','fsibL','2|0|4|1|3','npx','oKTzc','launch','./reporter/reporter.js','Deleting\x20','--config=','USER_CONFIG_DETAILS_PATH','6yyYDkx','collectFilesForProject','exports','BhMTV','TkUjZ','xKjYn','debug','clearTempPWConfig','10924501gXeKMv','argv','BROWSERSTACK_SETUP_CONFIG_PATH','hYarr','--disable-browserstack-automation','PLAYWRIGHT','errorMessage','bkPwU','jNVzR','testMatch','accessibility','../../helpers/helper','./globalSetup.js','BS_A11Y_TEST_RUN_ID','OVciw','testIgnore','FWHTO','uOTms','HTcmg','requirePWModule','PZwff','stringify','config','project','util','path','playwright-browserstack-sdk.config.cjs','Tarrq','lVQjU','test','isFalse','default','FfzaT','playwright','bWjNE','split','MODULE','10818999bqPLVa','xZkTv','map','LLPSV','../../helpers/accessibility-automation/helper','apply','unlinkSync','winstonLogger','AfOts','PACKAGE_TYPE','testObservability','playwright-browserstack-sdk.config.js','QgqfV','getProxyUrl','Fmbgw','dTtAd','resolve','browserstackSetupConfig.json','koXYS','finalExecution','join','POGhG','push','isUndefined','OIBby','wVBzF','nxfTP','bajAm','kUEgZ','assign','dirname','cWRFK','xgUDF','initialize','null','DfGQH','lAYva','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','env','MvcZQ','indexOf','logLevel','automation','Getting\x20your\x20playwright\x20config\x20from\x20','findIndex','trim','Playwright\x20process\x20exited\x20with\x20code\x20','win32','PAETk','accessibilityOptions','length','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','writeFileSync','getConfigPath','existsSync','rpMrR','mqufk','10mjWlya','BDUgA','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','filter','false','EATql','6|1|0|8|3|7|5|4|2','../../helpers/test-observability/sessionHandler','../../helpers/logger','testDir','PITHD','--config','platforms','9360680nNystV','_internal','LNSSy','BROWSERSTACK_TEST_ACCESSIBILITY_YML','error','tgOAS','.browserstack','mAiNA','AYHGt','inherit','uSeGX','BROWSERSTACK_TEST_OBSERVABILITY','MYUVB','zKzAc','187564jYATyo','etDRi','../utils/constants','JowbW','bxQQT','hCoxy','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','GqCNQ','info','get','./accessibility-helper','../../helpers/test-observability/error-handler','NVKFk','globalSetup','BS_A11Y_JWT','has','gYhDn','1443930dGwdgU','readFileSync','object','parse','DrXLv','platform','sRjym','../../helpers/test-observability/utils','ERrBX','markSDKSetupComplete','serializeToYamlString','FfyiH'];a33_0x13f6=function(){return _0x2372c7;};return a33_0x13f6();}(function(_0x2e38bf,_0x5ba88b){const _0x1427f9=a33_0xf1c6,_0x3378a5=_0x2e38bf();while(!![]){try{const _0x1932be=parseInt(_0x1427f9(0x215))/0x1*(parseInt(_0x1427f9(0x223))/0x2)+-parseInt(_0x1427f9(0x237))/0x3*(-parseInt(_0x1427f9(0x1e9))/0x4)+parseInt(_0x1427f9(0x29d))/0x5*(parseInt(_0x1427f9(0x1fa))/0x6)+-parseInt(_0x1427f9(0x23f))/0x7+-parseInt(_0x1427f9(0x2aa))/0x8+parseInt(_0x1427f9(0x264))/0x9+parseInt(_0x1427f9(0x224))/0xa;if(_0x1932be===_0x5ba88b)break;else _0x3378a5['push'](_0x3378a5['shift']());}catch(_0x353b57){_0x3378a5['push'](_0x3378a5['shift']());}}}(a33_0x13f6,0xeb6b4));const fs=require('fs'),path=require(a33_0x49954d(0x258)),os=require('os'),{spawn}=require('child_process'),{format}=require(a33_0x49954d(0x257)),logger=require(a33_0x49954d(0x2a5))[a33_0x49954d(0x26b)],{default:BrowserStackSetup}=require(a33_0x49954d(0x226)),helper=require(a33_0x49954d(0x24a)),constants=require(a33_0x49954d(0x1eb)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require('./reporter/pwUtils'),{CrashReporter,o11yErrorHandler}=require(a33_0x49954d(0x1f4)),{getFrameworkVersion}=require(a33_0x49954d(0x201)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a33_0x49954d(0x268)),{setAccessibilityCapabilities}=require(a33_0x49954d(0x1f3)),SessionHandler=require(a33_0x49954d(0x2a4));async function requireOrImportDefaultObject(_0x154455){const _0x487c4a=a33_0x49954d,_0x414e53={'FWHTO':function(_0x5f5a84){return _0x5f5a84();},'UYfJe':function(_0x3d4fca,_0x2717ac){return _0x3d4fca(_0x2717ac);},'tgOAS':function(_0x23d440,_0x475ffb){return _0x23d440===_0x475ffb;},'Tarrq':'object','SIErz':function(_0xb56c7c,_0x25d7b9){return _0xb56c7c in _0x25d7b9;},'hYarr':_0x487c4a(0x25e)},{requireOrImport:_0xbac617}=helper['requirePWModule'][_0x487c4a(0x269)](null,_0x414e53[_0x487c4a(0x24f)](getTransformPath));let _0x2710bc=await _0x414e53[_0x487c4a(0x21a)](_0xbac617,_0x154455);return _0x2710bc&&_0x414e53[_0x487c4a(0x2af)](typeof _0x2710bc,_0x414e53[_0x487c4a(0x25a)])&&_0x414e53['SIErz'](_0x414e53[_0x487c4a(0x242)],_0x2710bc)&&(_0x2710bc=_0x2710bc[_0x414e53['hYarr']]),_0x2710bc;}const getUserPlaywrightConfig=async(_0x514c51,_0x1358cc)=>{const _0x17ccbc=a33_0x49954d,_0x5b37ef={'PITHD':function(_0x1fb783){return _0x1fb783();},'mUeGa':function(_0x2e3846,_0xba0383){return _0x2e3846(_0xba0383);},'fLIlI':function(_0x2a0129,_0x1adf22){return _0x2a0129(_0x1adf22);},'SUcha':'resolvedConfigFile','AFwvW':function(_0x49d3d9,_0x11925d){return _0x49d3d9(_0x11925d);},'MvcZQ':_0x17ccbc(0x216),'DVKfn':_0x17ccbc(0x1ef),'yNnKV':_0x17ccbc(0x235)},_0x5d9795=!helper[_0x17ccbc(0x27b)](_0x514c51[_0x17ccbc(0x255)]),_0x4aea41=_0x5d9795?path[_0x17ccbc(0x274)](process[_0x17ccbc(0x222)](),_0x514c51['config']):process['cwd'](),{resolveConfigFile:_0x2ef8f7,resolveConfigLocation:_0x912247}=helper[_0x17ccbc(0x252)][_0x17ccbc(0x269)](null,_0x5b37ef[_0x17ccbc(0x2a7)](getConfigLoaderPath)),_0x392350=_0x2ef8f7?_0x5b37ef['mUeGa'](_0x2ef8f7,_0x4aea41):helper['nestedKeyValue'](_0x5b37ef['fLIlI'](_0x912247,_0x4aea41),[_0x5b37ef[_0x17ccbc(0x213)]]);let _0x1772d6={};if(_0x392350){logger[_0x17ccbc(0x1f1)](_0x17ccbc(0x28f)+_0x392350);try{_0x1772d6=await _0x5b37ef['AFwvW'](requireOrImportDefaultObject,_0x392350);}catch(_0x124544){return logger[_0x17ccbc(0x2ae)](_0x5b37ef[_0x17ccbc(0x28b)],_0x5b37ef['mUeGa'](format,_0x124544)),null;}}else logger[_0x17ccbc(0x1f1)](_0x5b37ef['DVKfn']);if(_0x5d9795){const _0x590d8b=_0x1358cc[_0x17ccbc(0x290)](_0x392b51=>_0x392b51===_0x17ccbc(0x2a8)||_0x392b51==='-c'||_0x392b51[_0x17ccbc(0x20b)]('--config='));_0x1358cc['splice'](_0x590d8b,_0x1358cc[_0x590d8b][_0x17ccbc(0x20b)](_0x5b37ef['yNnKV'])?0x1:0x2);}const _0x4e9bf8={};return _0x4e9bf8[_0x17ccbc(0x258)]=_0x392350,_0x4e9bf8['config']=_0x1772d6,_0x4e9bf8;},setGlobalSetup=(_0x46a11a,_0x408899)=>{const _0x576cd0=a33_0x49954d,_0x2a32ef={'mAiNA':'globalSetup','JowbW':_0x576cd0(0x214),'DfGQH':function(_0x173e60,_0x47d90e){return _0x173e60+_0x47d90e;},'GqgKd':'Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','xKjYn':function(_0x44da22,_0x397f30){return _0x44da22(_0x397f30);},'FfyiH':_0x576cd0(0x24b)};if(!_0x46a11a)return![];try{if(_0x46a11a[_0x576cd0(0x1f6)]){let _0x3b2138;const _0x12ae6c=path[_0x576cd0(0x274)](_0x408899,_0x46a11a[_0x2a32ef[_0x576cd0(0x1e2)]]);if(fs[_0x576cd0(0x29a)](_0x12ae6c))_0x3b2138=_0x12ae6c;else{const _0x21daca={};_0x21daca['paths']=[_0x408899],_0x3b2138=require[_0x576cd0(0x274)](_0x46a11a[_0x2a32ef[_0x576cd0(0x1e2)]],_0x21daca);}if(!_0x3b2138)throw new Error(_0x2a32ef[_0x576cd0(0x1ec)]);process['env'][_0x576cd0(0x29f)]=_0x3b2138;}}catch(_0x172765){logger[_0x576cd0(0x2ae)](_0x2a32ef[_0x576cd0(0x287)](_0x2a32ef[_0x576cd0(0x21b)],_0x2a32ef[_0x576cd0(0x23c)](format,_0x172765)));}return _0x46a11a['globalSetup']=require['resolve'](_0x2a32ef[_0x576cd0(0x205)]),!![];},addReporter=_0x18633f=>{const _0x34c638=a33_0x49954d,_0x21697d={};_0x21697d[_0x34c638(0x1e7)]=_0x34c638(0x233),_0x21697d['dTtAd']=_0x34c638(0x20f),_0x21697d[_0x34c638(0x27d)]=function(_0x187861,_0x269904){return _0x187861===_0x269904;},_0x21697d['qtOgJ']='string',_0x21697d[_0x34c638(0x1f5)]=function(_0x41971c,_0x224042){return _0x41971c===_0x224042;},_0x21697d[_0x34c638(0x288)]=_0x34c638(0x1fc);const _0x4f3fb5=_0x21697d,_0x324272=path[_0x34c638(0x278)](__dirname,_0x4f3fb5['MYUVB']),_0x3c18db=[_0x324272];if(helper[_0x34c638(0x27b)](_0x18633f[_0x4f3fb5['dTtAd']]))_0x18633f[_0x4f3fb5[_0x34c638(0x273)]]=[_0x3c18db];else{if(_0x4f3fb5[_0x34c638(0x27d)](typeof _0x18633f[_0x4f3fb5['dTtAd']],_0x4f3fb5['qtOgJ']))_0x18633f[_0x4f3fb5[_0x34c638(0x273)]]=[[_0x18633f[_0x4f3fb5['dTtAd']]],_0x3c18db];else _0x4f3fb5[_0x34c638(0x1f5)](typeof _0x18633f[_0x4f3fb5[_0x34c638(0x273)]],_0x4f3fb5[_0x34c638(0x288)])&&_0x18633f[_0x4f3fb5['dTtAd']][_0x34c638(0x27a)](_0x3c18db);}},handleO11yRerun=_0x494ec5=>{const _0xa3778c=a33_0x49954d,_0x250aab={};_0x250aab['PzJYK']=function(_0x21d783,_0x553eef){return _0x21d783!==_0x553eef;},_0x250aab[_0xa3778c(0x284)]=_0xa3778c(0x286),_0x250aab['bEnOU']=_0xa3778c(0x21f);const _0x500c37=_0x250aab,_0x37cda9=helper['isTrue'](process['env']['BROWSERSTACK_RERUN']);if(_0x37cda9){const _0x58cdeb=process[_0xa3778c(0x28a)]['BROWSERSTACK_RERUN_TESTS'],_0x3ec400=[];if(_0x500c37[_0xa3778c(0x212)](_0x58cdeb,_0x500c37[_0xa3778c(0x284)])&&!helper['isUndefined'](_0x58cdeb)){_0x58cdeb[_0xa3778c(0x262)](',')[_0xa3778c(0x266)](_0x44cc9b=>{const _0x3a1304=_0xa3778c;_0x3ec400[_0x3a1304(0x27a)]('('+_0x44cc9b[_0x3a1304(0x291)]()+')');});const _0x355354='^'+_0x3ec400['join']('|')+'$';_0x494ec5[_0xa3778c(0x27a)](_0x500c37['bEnOU'],_0x355354);}}},spawnOriginalProcess=_0x494d16=>{const _0x4cf988=a33_0x49954d,_0x51151f={'XvZSW':function(_0x365617,_0x1d8a5c,_0xa133da,_0x551de7){return _0x365617(_0x1d8a5c,_0xa133da,_0x551de7);},'ZMlsn':_0x4cf988(0x230),'KMgaV':'playwright','wllky':function(_0x121b38,_0x12f3f9){return _0x121b38===_0x12f3f9;},'xcFtO':_0x4cf988(0x293),'LLPSV':_0x4cf988(0x1e4)};_0x51151f[_0x4cf988(0x206)](spawn,_0x51151f['ZMlsn'],[_0x51151f[_0x4cf988(0x20d)],..._0x494d16[_0x4cf988(0x22b)](0x1)],{'shell':_0x51151f['wllky'](process[_0x4cf988(0x1ff)],_0x51151f['xcFtO']),'stdio':_0x51151f[_0x4cf988(0x267)],'cwd':process['cwd']()});},isTestCommand=(_0x70e74f,_0x10d7ff)=>{const _0x3e4164=a33_0x49954d,_0x271014={};_0x271014[_0x3e4164(0x29b)]=function(_0x413375,_0x35c531){return _0x413375>_0x35c531;},_0x271014['bxQQT']=function(_0x145d1a,_0x46e628){return _0x145d1a===_0x46e628;},_0x271014[_0x3e4164(0x1e8)]='test';const _0xac3916=_0x271014;if(_0xac3916[_0x3e4164(0x29b)](_0x10d7ff[_0x3e4164(0x296)],0x1)&&_0xac3916[_0x3e4164(0x1ed)](_0x10d7ff[0x1],_0xac3916['zKzAc']))return!![];return![];},initO11yCrashReporter=(_0x186667,_0xe3f434)=>{const _0x109b1f=a33_0x49954d,_0x3b011e={'QrmBh':function(_0x39025a,_0x5437b6){return _0x39025a(_0x5437b6);}},_0x54027c={'frameworkName':FRAMEWORKS[_0x109b1f(0x244)],'frameworkVersion':_0x3b011e['QrmBh'](getFrameworkVersion,FRAMEWORKS[_0x109b1f(0x244)])};CrashReporter[_0x109b1f(0x285)](_0x54027c,_0x186667,_0xe3f434);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x56da9e){const _0x429759=a33_0x49954d,_0xcb3a81={};_0xcb3a81[_0x429759(0x21d)]=function(_0x22d002,_0x2df224){return _0x22d002>_0x2df224;},_0xcb3a81[_0x429759(0x280)]=function(_0x523d02,_0xc19f4c){return _0x523d02===_0xc19f4c;};const _0x10b229=_0xcb3a81;if(!_0x56da9e||_0x10b229[_0x429759(0x21d)](_0x56da9e[_0x429759(0x296)],0x1)&&_0x10b229[_0x429759(0x280)](_0x56da9e[0x0],null))return process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=![],![];return!![];});function a33_0xf1c6(_0x3c4f22,_0x24ebfc){const _0x13f60e=a33_0x13f6();return a33_0xf1c6=function(_0xf1c6d8,_0x341aaa){_0xf1c6d8=_0xf1c6d8-0x1e2;let _0x5b4fc0=_0x13f60e[_0xf1c6d8];return _0x5b4fc0;},a33_0xf1c6(_0x3c4f22,_0x24ebfc);}async function run(_0x1b2d3d,_0x1ab63f){const _0x2f2740=a33_0x49954d,_0x3ad43e={'xZkTv':_0x2f2740(0x2b0),'ERrBX':'pw_result.json','etDRi':function(_0x9d0233,_0x3c4e2c){return _0x9d0233+_0x3c4e2c;},'tuCCE':_0x2f2740(0x20e),'cWRFK':_0x2f2740(0x2a3),'OIBby':function(_0x250df,_0x5b211c){return _0x250df(_0x5b211c);},'bWjNE':function(_0x3e8af9){return _0x3e8af9();},'OVciw':_0x2f2740(0x22a),'qowSS':_0x2f2740(0x243),'lVQjU':_0x2f2740(0x2a1),'uOTms':'--disable-test-observability','GwCGk':function(_0x1e82e7,_0x4763fe){return _0x1e82e7>=_0x4763fe;},'PAETk':'Error\x20in\x20deleting\x20playwright\x20results','DrXLv':function(_0xf87b5a,_0x154314,_0x33d0d0){return _0xf87b5a(_0x154314,_0x33d0d0);},'hCoxy':function(_0x1b3e2c,_0x3e142f){return _0x1b3e2c(_0x3e142f);},'Fmbgw':'BrowserStack\x20config\x20file\x20not\x20found.','PZwff':_0x2f2740(0x28e),'nxfTP':function(_0x279ca3,_0x296fb0){return _0x279ca3!=_0x296fb0;},'QgqfV':function(_0xb79294,_0x5b6d3b,_0x2601e3){return _0xb79294(_0x5b6d3b,_0x2601e3);},'mqufk':function(_0xfb00ce,_0x3f1871){return _0xfb00ce(_0x3f1871);},'uSeGX':function(_0x235371,_0x534e7f){return _0x235371(_0x534e7f);},'xnWtp':_0x2f2740(0x22f),'fFgYR':_0x2f2740(0x297),'kiIIu':function(_0xb112c1,_0x427bcb){return _0xb112c1(_0x427bcb);},'fsibL':function(_0x4a5f9f,_0x508ce8){return _0x4a5f9f(_0x508ce8);},'TkUjZ':function(_0x29e8d4,_0x25c580){return _0x29e8d4===_0x25c580;},'amWFV':'true','sRjym':function(_0x365cef,_0x35394b){return _0x365cef(_0x35394b);},'jNVzR':function(_0x55832d,_0x1cadee,_0x21e7bf){return _0x55832d(_0x1cadee,_0x21e7bf);},'oKTzc':'@playwright/test','BDUgA':function(_0x5b5c92,_0x25e869){return _0x5b5c92===_0x25e869;},'HYKic':_0x2f2740(0x275),'HTcmg':function(_0xacee60){return _0xacee60();},'AYHGt':_0x2f2740(0x2a6),'POGhG':_0x2f2740(0x248),'eGFDn':_0x2f2740(0x24e),'bajAm':'Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','gfsGz':function(_0x58b2a9,_0x5ee1a1){return _0x58b2a9===_0x5ee1a1;},'GqCNQ':_0x2f2740(0x259),'koXYS':_0x2f2740(0x26f),'Ybave':function(_0x1ee85d,_0xdb72ce){return _0x1ee85d>_0xdb72ce;},'pLEzD':function(_0xcece2c,_0x39684b){return _0xcece2c+_0x39684b;},'LNSSy':function(_0x3af794,_0x4a6796,_0x1f78b9,_0x31c81){return _0x3af794(_0x4a6796,_0x1f78b9,_0x31c81);},'gYhDn':_0x2f2740(0x230),'EATql':_0x2f2740(0x260),'fMkTP':_0x2f2740(0x25c),'RGbqW':'--config','BhMTV':function(_0x107e0b,_0x85f985){return _0x107e0b===_0x85f985;},'bkPwU':_0x2f2740(0x293),'AfOts':_0x2f2740(0x1e4),'FfzaT':'close'};!helper[_0x2f2740(0x25d)](process[_0x2f2740(0x28a)][_0x2f2740(0x211)])&&(process[_0x2f2740(0x28a)][_0x2f2740(0x211)]=!![]);process[_0x2f2740(0x240)]['includes'](_0x3ad43e['qowSS'])&&(process['env'][_0x2f2740(0x211)]=_0x3ad43e[_0x2f2740(0x25b)],_0x1ab63f=_0x1ab63f[_0x2f2740(0x2a0)](_0x91a645=>_0x91a645!==_0x2f2740(0x243)));const _0x518a7b=_0x1ab63f[_0x2f2740(0x28c)](_0x3ad43e[_0x2f2740(0x250)]);_0x3ad43e[_0x2f2740(0x21e)](_0x518a7b,0x0)&&(process[_0x2f2740(0x28a)][_0x2f2740(0x1e6)]=_0x3ad43e['lVQjU'],_0x1ab63f=_0x1ab63f['filter'](_0x110e6e=>_0x110e6e!=='--disable-test-observability'));try{const _0x320265=path[_0x2f2740(0x278)](helper[_0x2f2740(0x229)](),_0x3ad43e[_0x2f2740(0x265)],_0x3ad43e[_0x2f2740(0x202)]);fs['existsSync'](_0x320265)&&fs[_0x2f2740(0x26a)](_0x320265);}catch(_0x72b900){logger[_0x2f2740(0x23d)](_0x3ad43e[_0x2f2740(0x1ea)](_0x3ad43e[_0x2f2740(0x294)],_0x72b900));}if(!_0x3ad43e[_0x2f2740(0x1fe)](isTestCommand,_0x1b2d3d,_0x1ab63f)){_0x3ad43e[_0x2f2740(0x1ee)](spawnOriginalProcess,_0x1ab63f);return;}const _0x125176=new BrowserStackSetup(_0x1b2d3d,FRAMEWORKS['PLAYWRIGHT']);if(!_0x125176[_0x2f2740(0x255)]){logger[_0x2f2740(0x2ae)](_0x3ad43e[_0x2f2740(0x272)]);return;}await _0x125176['initialize']();!helper[_0x2f2740(0x27b)](_0x125176['cliConfig'])&&_0x125176[_0x2f2740(0x207)][_0x2f2740(0x1f8)](_0x3ad43e[_0x2f2740(0x253)])&&(process[_0x2f2740(0x28a)]['BROWSERSTACK_AUTOMATION']=_0x125176['cliConfig'][_0x2f2740(0x1f2)](_0x3ad43e[_0x2f2740(0x253)])||!![]);_0x3ad43e[_0x2f2740(0x27e)](_0x125176['config'][_0x2f2740(0x26e)],null)&&!helper[_0x2f2740(0x20c)](process['env'][_0x2f2740(0x1e6)])&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x2f2740(0x28a)][_0x2f2740(0x1e6)]||_0x125176[_0x2f2740(0x255)][_0x2f2740(0x26e)]);const _0x5444e2=!helper[_0x2f2740(0x25d)](process[_0x2f2740(0x28a)][_0x2f2740(0x1e6)]);let _0x40e6e8=![];_0x125176[_0x2f2740(0x255)][_0x2f2740(0x249)]&&(_0x40e6e8=!![],process[_0x2f2740(0x28a)][_0x2f2740(0x2ad)]=_0x125176['config'][_0x2f2740(0x249)]);_0x125176[_0x2f2740(0x255)][_0x2f2740(0x295)]&&(process[_0x2f2740(0x28a)][_0x2f2740(0x228)]=JSON[_0x2f2740(0x254)](_0x125176[_0x2f2740(0x255)][_0x2f2740(0x295)]));const _0x37beab=_0x1ab63f[_0x2f2740(0x20a)](),_0x4927b5=await _0x3ad43e[_0x2f2740(0x270)](getUserPlaywrightConfig,_0x1b2d3d,_0x1ab63f);if(helper['isUndefined'](_0x4927b5)){_0x3ad43e['mqufk'](spawnOriginalProcess,_0x37beab);return;}const _0x6b3d4e={..._0x4927b5[_0x2f2740(0x255)]},_0x545635=_0x6b3d4e,_0x30f725=_0x4927b5[_0x2f2740(0x258)]?path[_0x2f2740(0x282)](_0x4927b5[_0x2f2740(0x258)]):process[_0x2f2740(0x222)]();process[_0x2f2740(0x28a)][_0x2f2740(0x208)]=_0x30f725;if(!_0x3ad43e['DrXLv'](setGlobalSetup,_0x545635,_0x30f725)){_0x3ad43e[_0x2f2740(0x1ee)](spawnOriginalProcess,_0x37beab);return;}const _0x5e001b=await SessionHandler[_0x2f2740(0x232)](_0x125176['config'],{'frameworkName':FRAMEWORKS[_0x2f2740(0x244)],'frameworkVersion':_0x3ad43e['uSeGX'](getFrameworkVersion,FRAMEWORKS[_0x2f2740(0x244)])});if(_0x5444e2){const _0x1ced69=_0x3ad43e['xnWtp'][_0x2f2740(0x262)]('|');let _0x22b7a9=0x0;while(!![]){switch(_0x1ced69[_0x22b7a9++]){case'0':_0x3ad43e[_0x2f2740(0x270)](initO11yCrashReporter,_0x545635,_0x125176[_0x2f2740(0x255)]);continue;case'1':_0x3ad43e[_0x2f2740(0x29c)](handleO11yRerun,_0x1ab63f);continue;case'2':logger[_0x2f2740(0x1f1)](_0x3ad43e['fFgYR']);continue;case'3':await _0x3ad43e[_0x2f2740(0x227)](launchO11ySession,_0x5e001b);continue;case'4':_0x3ad43e[_0x2f2740(0x22e)](addReporter,_0x545635);continue;}break;}}let _0x441e87=_0x3ad43e[_0x2f2740(0x23b)](process[_0x2f2740(0x28a)][_0x2f2740(0x2ad)],_0x3ad43e[_0x2f2740(0x219)]);_0x441e87=_0x441e87||_0x3ad43e[_0x2f2740(0x200)](checkAccessibilityPlatformConfig,_0x125176['config']),process[_0x2f2740(0x28a)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x441e87;if(_0x441e87){const [_0x40de11,_0x3f9a46]=await _0x3ad43e[_0x2f2740(0x247)](createAccessibilityTestRun,_0x125176['config'],_0x3ad43e[_0x2f2740(0x231)]);logger[_0x2f2740(0x23d)](_0x2f2740(0x220)+_0x3f9a46),process[_0x2f2740(0x28a)][_0x2f2740(0x1f7)]=_0x40de11,process[_0x2f2740(0x28a)][_0x2f2740(0x24c)]=_0x3f9a46,_0x3ad43e['uSeGX'](setAccessibilityCapabilities,_0x125176['config']);}(helper[_0x2f2740(0x27b)](_0x125176[_0x2f2740(0x255)][_0x2f2740(0x2a9)])||_0x3ad43e[_0x2f2740(0x29e)](_0x125176[_0x2f2740(0x255)][_0x2f2740(0x2a9)][_0x2f2740(0x296)],0x0))&&(process['env'][_0x2f2740(0x211)]=![]);const _0x148db4=path[_0x2f2740(0x278)](_0x4927b5[_0x2f2740(0x258)]?path[_0x2f2740(0x282)](_0x4927b5[_0x2f2740(0x258)]):process['cwd'](),_0x3ad43e[_0x2f2740(0x209)]);fs[_0x2f2740(0x298)](_0x148db4,helper[_0x2f2740(0x204)](_0x125176['config'])),process[_0x2f2740(0x28a)][_0x2f2740(0x241)]=_0x148db4,helper[_0x2f2740(0x23e)]();if(helper['isTrue'](process[_0x2f2740(0x28a)][_0x2f2740(0x211)])){let _0xbc179b=[];try{const _0x5d6df3=helper[_0x2f2740(0x252)][_0x2f2740(0x269)](null,_0x3ad43e[_0x2f2740(0x251)](getProjectUtilsPath)),_0x300b0c={};_0x300b0c[_0x2f2740(0x21c)]=!![],_0x300b0c[_0x2f2740(0x2a6)]='',_0x300b0c[_0x2f2740(0x248)]='',_0x300b0c['testIgnore']='';const _0x1d0666={};_0x1d0666[_0x2f2740(0x21c)]=!![];const _0x40b72c={};_0x40b72c[_0x2f2740(0x256)]=_0x300b0c,_0x40b72c[_0x2f2740(0x2ab)]=_0x1d0666;let _0x6e84c0=_0x40b72c;_0x545635[_0x3ad43e[_0x2f2740(0x1e3)]]&&(_0x6e84c0[_0x2f2740(0x256)][_0x3ad43e[_0x2f2740(0x1e3)]]=_0x545635[_0x3ad43e[_0x2f2740(0x1e3)]]),_0x545635[_0x3ad43e[_0x2f2740(0x279)]]&&(_0x6e84c0['project'][_0x3ad43e['POGhG']]=_0x545635[_0x3ad43e[_0x2f2740(0x279)]]),_0x545635[_0x3ad43e[_0x2f2740(0x225)]]&&(_0x6e84c0['project'][_0x3ad43e[_0x2f2740(0x225)]]=_0x545635[_0x3ad43e[_0x2f2740(0x225)]]),_0x6e84c0=Object[_0x2f2740(0x281)](_0x6e84c0,_0x6e84c0['project']),_0xbc179b=await _0x5d6df3[_0x2f2740(0x238)](_0x6e84c0);}catch(_0x5af52a){logger['debug'](_0x3ad43e[_0x2f2740(0x1ea)](_0x3ad43e[_0x2f2740(0x27f)],_0x3ad43e[_0x2f2740(0x1e5)](format,_0x5af52a)));}}let _0xcc3323='';_0x3ad43e['gfsGz'](helper['getPackageType'](),constants[_0x2f2740(0x26d)][_0x2f2740(0x263)])?_0xcc3323=_0x3ad43e[_0x2f2740(0x1f0)]:_0xcc3323=_0x3ad43e[_0x2f2740(0x276)];const _0x22542e=path['join'](_0x4927b5[_0x2f2740(0x258)]?path[_0x2f2740(0x282)](_0x4927b5[_0x2f2740(0x258)]):process[_0x2f2740(0x222)](),_0xcc3323);let _0x4ccd51=_0x4927b5['path']?_0x4927b5[_0x2f2740(0x258)]:'';_0x4ccd51=_0x3ad43e['Ybave'](_0x4ccd51['length'],0x0)?path[_0x2f2740(0x274)](_0x4ccd51):'',process['env'][_0x2f2740(0x236)]=_0x4ccd51;let _0x290ec8='\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a';const _0x4316b2=helper[_0x2f2740(0x271)](_0x125176['config']);_0x4316b2&&(_0x290ec8=_0x3ad43e['pLEzD'](_0x2f2740(0x289)+_0x4316b2+'\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();',_0x290ec8));helper[_0x2f2740(0x22c)]({},_0x1ab63f),fs[_0x2f2740(0x298)](_0x22542e,_0x290ec8),helper[_0x2f2740(0x203)]();const _0x109918=_0x3ad43e[_0x2f2740(0x2ac)](spawn,_0x3ad43e[_0x2f2740(0x1f9)],[_0x3ad43e[_0x2f2740(0x2a2)],_0x3ad43e['fMkTP'],_0x3ad43e[_0x2f2740(0x22d)],_0x22542e,..._0x1ab63f['slice'](0x2)],{'shell':_0x3ad43e[_0x2f2740(0x23a)](process[_0x2f2740(0x1ff)],_0x3ad43e[_0x2f2740(0x246)]),'stdio':_0x3ad43e[_0x2f2740(0x26c)],'cwd':process[_0x2f2740(0x222)](),'env':Object[_0x2f2740(0x281)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x2f2740(0x299)](_0x1b2d3d),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x125176[_0x2f2740(0x255)][_0x2f2740(0x218)][_0x2f2740(0x221)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x125176['config'][_0x2f2740(0x218)][_0x2f2740(0x217)],'BROWSERSTACK_LOG_LEVEL':_0x125176[_0x2f2740(0x255)][_0x2f2740(0x28d)]})}),_0x1d995e=()=>{const _0x479f0c=_0x2f2740;try{const _0x1d5a0b=path['join'](helper['homedir'](),_0x3ad43e['xZkTv'],_0x3ad43e['ERrBX']);if(fs[_0x479f0c(0x29a)](_0x1d5a0b)){let _0xac7556=fs[_0x479f0c(0x1fb)](_0x1d5a0b);_0xac7556=JSON[_0x479f0c(0x1fd)](_0xac7556),_0x125176[_0x479f0c(0x245)]=_0xac7556,fs[_0x479f0c(0x26a)](_0x1d5a0b);}}catch(_0x47eabf){logger['debug'](_0x3ad43e['etDRi'](_0x3ad43e['tuCCE'],_0x47eabf));}};_0x109918['on'](_0x3ad43e[_0x2f2740(0x25f)],async _0x1c6110=>{const _0x3f60c3=_0x2f2740;try{const _0xd31dd1=_0x3ad43e[_0x3f60c3(0x283)][_0x3f60c3(0x262)]('|');let _0x5857e5=0x0;while(!![]){switch(_0xd31dd1[_0x5857e5++]){case'0':await _0x3ad43e[_0x3f60c3(0x27c)](stopAccessibilityTestRun,_0x125176[_0x3f60c3(0x255)]);continue;case'1':await helper[_0x3f60c3(0x277)](_0x125176);continue;case'2':fs[_0x3f60c3(0x26a)](_0x148db4);continue;case'3':logger[_0x3f60c3(0x23d)](_0x3f60c3(0x292)+_0x1c6110);continue;case'4':logger[_0x3f60c3(0x23d)](_0x3f60c3(0x234)+_0x148db4);continue;case'5':fs[_0x3f60c3(0x26a)](_0x22542e);continue;case'6':_0x3ad43e[_0x3f60c3(0x261)](_0x1d995e);continue;case'7':logger[_0x3f60c3(0x1f1)](_0x3f60c3(0x234)+_0x22542e);continue;case'8':process[_0x3f60c3(0x210)]=_0x1c6110;continue;}break;}}catch(_0x52a980){logger['debug'](_0x3ad43e[_0x3f60c3(0x1ea)](_0x3ad43e[_0x3f60c3(0x24d)],_0x52a980));}});}module[a33_0x49954d(0x239)]=run;
2
+ 'use strict';const a33_0x17dc7a=a33_0x59f3;(function(_0x2ecfcc,_0x4ceaa5){const _0x4fa298=a33_0x59f3,_0x4f33be=_0x2ecfcc();while(!![]){try{const _0x4081c9=parseInt(_0x4fa298(0x16e))/0x1*(-parseInt(_0x4fa298(0x1cf))/0x2)+-parseInt(_0x4fa298(0x183))/0x3+parseInt(_0x4fa298(0x173))/0x4+parseInt(_0x4fa298(0x1bf))/0x5*(-parseInt(_0x4fa298(0x1eb))/0x6)+-parseInt(_0x4fa298(0x17e))/0x7+parseInt(_0x4fa298(0x1cb))/0x8*(parseInt(_0x4fa298(0x165))/0x9)+parseInt(_0x4fa298(0x184))/0xa;if(_0x4081c9===_0x4ceaa5)break;else _0x4f33be['push'](_0x4f33be['shift']());}catch(_0x5c7a74){_0x4f33be['push'](_0x4f33be['shift']());}}}(a33_0x1be1,0x615ad));function a33_0x1be1(){const _0x5294a7=['Cjlea','lsTng','info','WlLoF','6465798NkAZZE','../../helpers/helper','getPackageType','string','VrOEL','WXLEb','vqkMx','UBgwV','testMatch','2qIWmYT','aLtEw','markSDKSetupComplete','globalSetup','--grep','326212WBWewV','exports','test','sagam','QjFIr','startsWith','HsNQl','inherit','platforms','BrowserStack\x20config\x20file\x20not\x20found.','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','4643142HOJwQF','Mykcb','serializeToYamlString','hmYUS','path','993543wIGhIY','9172370JrimAn','iPYYR','jWEoB','../../helpers/test-observability/sessionHandler','oQvgI','logLevel','tIRbV','resolve','kolnQ','object','pJaMM','eWfNJ','cliConfig','get','platform','MODULE','trim','--config','child_process','teMVd','BROWSERSTACK_RERUN_TESTS','4|3|2|0|1','config','Deleting\x20','true','lYLBU','browserstackSetupConfig.json','TBUiA','length','PACKAGE_TYPE','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','split','homedir','existsSync','../../helpers/test-observability/constants','env','isFalse','LInHB','stringify','ALEgu','CXNyM','getProxyUrl','cwd','RRdFR','reporter','BROWSERSTACK_RERUN','JniPC','respectGitIgnore','collectFilesForProject','fGvcj','AsWmJ','testObservability','PuZUT','XyuEM','slice','BROWSERSTACK_TEST_ACCESSIBILITY_YML','automation','Ifpec','finalExecution','10jNyyCI','jndgu','isTrue','BROWSERSTACK_TEST_OBSERVABILITY','debug','PLAYWRIGHT','RLbEt','--disable-test-observability','tIkdn','playwright-browserstack-sdk.config.cjs','skipSessionName','BROWSERSTACK_SETUP_CONFIG_PATH','8Hejtlv','accessibilityOptions','push','--config=','188098pqFIhR','RjoBv','Zgwnu','splice','isUndefined','gNLoP','playwright','XuOqJ','win32','dUJsj','LcYve','filter','@playwright/test','apply','FcohS','iSkqq','resolvedConfigFile','bgozl','ywFjZ','hJolb','ItWwg','readFileSync','./accessibility-helper','initialize','dirname','launch','../../helpers/test-observability/utils','PyRkJ','407586amMeEh','xFisf','has','hcHuK','SOULX','FBxoQ','OEsoB','join','./reporter/reporter.js','./reporter/pwUtils','getConfigPath','FllLK','parse','ZgPVr','BS_A11Y_TEST_RUN_ID','_internal','TLYPe','concat','winstonLogger','assign','skipSessionStatus','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','FUGVW','error','playwright-browserstack-sdk.config.js','map','requirePWModule','npx','.browserstack','rmTxT','nUfIu','false','exitCode','null','NAwvi','../utils/constants','filterBrowserstackConfig','bQSYf','XLSXI','BS_A11Y_JWT','YcWtB','unlinkSync','Error\x20in\x20getting\x20funnel\x20data\x20results','--disable-browserstack-automation','YtNAM','argv','USER_CONFIG_DETAILS_PATH','VGgDC','util','../../helpers/logger','JyJfV','testContextOptions','ueqIW','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','CsGHO','LdHOS','testDir','oAsFG','nestedKeyValue','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','fxEQv','pw_result.json','Error\x20in\x20deleting\x20playwright\x20results','accessibility','writeFileSync','JPRYI','BtLiA','WbRYE','rfCJf','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','testIgnore','BROWSERSTACK_AUTOMATION','project','Playwright\x20process\x20exited\x20with\x20code\x20'];a33_0x1be1=function(){return _0x5294a7;};return a33_0x1be1();}const fs=require('fs'),path=require(a33_0x17dc7a(0x182)),os=require('os'),{spawn}=require(a33_0x17dc7a(0x196)),{format}=require(a33_0x17dc7a(0x147)),logger=require(a33_0x17dc7a(0x148))[a33_0x17dc7a(0x129)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a33_0x17dc7a(0x166)),constants=require(a33_0x17dc7a(0x13a)),{FRAMEWORKS}=require(a33_0x17dc7a(0x1a6)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a33_0x17dc7a(0x120)),{CrashReporter,o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{getFrameworkVersion}=require(a33_0x17dc7a(0x1e9)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a33_0x17dc7a(0x1e5)),SessionHandler=require(a33_0x17dc7a(0x187));async function requireOrImportDefaultObject(_0x271582){const _0x227796=a33_0x17dc7a,_0x11c177={'Zgwnu':function(_0x92367f){return _0x92367f();},'Mykcb':function(_0x47adc2,_0x482056){return _0x47adc2(_0x482056);},'fxEQv':function(_0x484155,_0x2b911c){return _0x484155===_0x2b911c;},'ItWwg':_0x227796(0x18d),'Ifpec':function(_0x23e6de,_0x3d5397){return _0x23e6de in _0x3d5397;},'PyRkJ':'default'},{requireOrImport:_0x97bcb1}=helper[_0x227796(0x131)][_0x227796(0x1dc)](null,_0x11c177[_0x227796(0x1d1)](getTransformPath));let _0x5d9ce5=await _0x11c177[_0x227796(0x17f)](_0x97bcb1,_0x271582);return _0x5d9ce5&&_0x11c177[_0x227796(0x153)](typeof _0x5d9ce5,_0x11c177[_0x227796(0x1e3)])&&_0x11c177[_0x227796(0x1bd)](_0x11c177[_0x227796(0x1ea)],_0x5d9ce5)&&(_0x5d9ce5=_0x5d9ce5[_0x11c177['PyRkJ']]),_0x5d9ce5;}const getUserPlaywrightConfig=async(_0x50497d,_0x1e9269)=>{const _0x2b4215=a33_0x17dc7a,_0x536a1b={'CsGHO':function(_0x4f3a65){return _0x4f3a65();},'dUJsj':function(_0x103e3b,_0x439eee){return _0x103e3b(_0x439eee);},'CXNyM':_0x2b4215(0x1df),'XyuEM':'Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','FcohS':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','pJaMM':_0x2b4215(0x1ce)},_0x1540ad=!helper[_0x2b4215(0x1d3)](_0x50497d[_0x2b4215(0x19a)]),_0x44ad88=_0x1540ad?path[_0x2b4215(0x18b)](process[_0x2b4215(0x1ae)](),_0x50497d[_0x2b4215(0x19a)]):process[_0x2b4215(0x1ae)](),{resolveConfigFile:_0x4eaad0,resolveConfigLocation:_0x1021d2}=helper[_0x2b4215(0x131)][_0x2b4215(0x1dc)](null,_0x536a1b[_0x2b4215(0x14d)](getConfigLoaderPath)),_0x5e78d4=_0x4eaad0?_0x536a1b[_0x2b4215(0x1d8)](_0x4eaad0,_0x44ad88):helper[_0x2b4215(0x151)](_0x536a1b[_0x2b4215(0x1d8)](_0x1021d2,_0x44ad88),[_0x536a1b[_0x2b4215(0x1ac)]]);let _0x3042ac={};if(_0x5e78d4){logger['info']('Getting\x20your\x20playwright\x20config\x20from\x20'+_0x5e78d4);try{_0x3042ac=await _0x536a1b[_0x2b4215(0x1d8)](requireOrImportDefaultObject,_0x5e78d4);}catch(_0x168eb2){return logger['error'](_0x536a1b[_0x2b4215(0x1b9)],_0x536a1b[_0x2b4215(0x1d8)](format,_0x168eb2)),null;}}else logger[_0x2b4215(0x163)](_0x536a1b[_0x2b4215(0x1dd)]);if(_0x1540ad){const _0x342a2d=_0x1e9269['findIndex'](_0x294ee9=>_0x294ee9===_0x2b4215(0x195)||_0x294ee9==='-c'||_0x294ee9[_0x2b4215(0x178)]('--config='));_0x1e9269[_0x2b4215(0x1d2)](_0x342a2d,_0x1e9269[_0x342a2d]['startsWith'](_0x536a1b[_0x2b4215(0x18e)])?0x1:0x2);}const _0x2111fb={};return _0x2111fb['path']=_0x5e78d4,_0x2111fb['config']=_0x3042ac,_0x2111fb;},setGlobalSetup=(_0xdd33c3,_0x4700bf)=>{const _0x201963=a33_0x17dc7a,_0x56fb80={'WlLoF':'globalSetup','ujqMl':_0x201963(0x1a2),'fGvcj':function(_0x5d8612,_0x22cd23){return _0x5d8612+_0x22cd23;},'WXLEb':_0x201963(0x15c),'MjUez':function(_0x4ee4ac,_0x3d3196){return _0x4ee4ac(_0x3d3196);},'tIkdn':'./globalSetup.js'};if(!_0xdd33c3)return![];try{if(_0xdd33c3[_0x201963(0x171)]){let _0x4a09c9;const _0x47cb27=path['resolve'](_0x4700bf,_0xdd33c3[_0x56fb80[_0x201963(0x164)]]);if(fs[_0x201963(0x1a5)](_0x47cb27))_0x4a09c9=_0x47cb27;else{const _0x56b231={};_0x56b231['paths']=[_0x4700bf],_0x4a09c9=require[_0x201963(0x18b)](_0xdd33c3[_0x56fb80['WlLoF']],_0x56b231);}if(!_0x4a09c9)throw new Error(_0x56fb80['ujqMl']);process[_0x201963(0x1a7)][_0x201963(0x14c)]=_0x4a09c9;}}catch(_0x5e03a9){logger[_0x201963(0x12e)](_0x56fb80[_0x201963(0x1b5)](_0x56fb80[_0x201963(0x16a)],_0x56fb80['MjUez'](format,_0x5e03a9)));}return _0xdd33c3['globalSetup']=require['resolve'](_0x56fb80[_0x201963(0x1c7)]),!![];},addReporter=_0x396c92=>{const _0x4ca253=a33_0x17dc7a,_0x4dc703={};_0x4dc703[_0x4ca253(0x188)]=_0x4ca253(0x11f),_0x4dc703[_0x4ca253(0x13c)]=_0x4ca253(0x1b0),_0x4dc703[_0x4ca253(0x135)]=function(_0x5252d3,_0x31e228){return _0x5252d3===_0x31e228;},_0x4dc703[_0x4ca253(0x15a)]=_0x4ca253(0x168),_0x4dc703[_0x4ca253(0x1e1)]=_0x4ca253(0x18d);const _0x512380=_0x4dc703,_0x56f789=path[_0x4ca253(0x11e)](__dirname,_0x512380[_0x4ca253(0x188)]),_0x563eb5=[_0x56f789];if(helper[_0x4ca253(0x1d3)](_0x396c92[_0x512380['bQSYf']]))_0x396c92[_0x512380['bQSYf']]=[_0x563eb5];else{if(_0x512380['nUfIu'](typeof _0x396c92[_0x512380['bQSYf']],_0x512380[_0x4ca253(0x15a)]))_0x396c92[_0x512380[_0x4ca253(0x13c)]]=[[_0x396c92[_0x512380[_0x4ca253(0x13c)]]],_0x563eb5];else _0x512380['nUfIu'](typeof _0x396c92[_0x512380[_0x4ca253(0x13c)]],_0x512380[_0x4ca253(0x1e1)])&&_0x396c92[_0x512380['bQSYf']]['push'](_0x563eb5);}},handleO11yRerun=_0x1af970=>{const _0x2c9bc6=a33_0x17dc7a,_0x27a9c4={};_0x27a9c4[_0x2c9bc6(0x134)]=function(_0x352c1e,_0xe607a9){return _0x352c1e!==_0xe607a9;},_0x27a9c4[_0x2c9bc6(0x16f)]=_0x2c9bc6(0x138),_0x27a9c4[_0x2c9bc6(0x1d6)]=_0x2c9bc6(0x172);const _0x427c65=_0x27a9c4,_0x4c1851=helper[_0x2c9bc6(0x1c1)](process[_0x2c9bc6(0x1a7)][_0x2c9bc6(0x1b1)]);if(_0x4c1851){const _0x13a4a5=process['env'][_0x2c9bc6(0x198)],_0x3ef28c=[];if(_0x427c65[_0x2c9bc6(0x134)](_0x13a4a5,_0x427c65[_0x2c9bc6(0x16f)])&&!helper[_0x2c9bc6(0x1d3)](_0x13a4a5)){_0x13a4a5['split'](',')[_0x2c9bc6(0x130)](_0x5302aa=>{const _0x455760=_0x2c9bc6;_0x3ef28c[_0x455760(0x1cd)]('('+_0x5302aa[_0x455760(0x194)]()+')');});const _0x23de7a='^'+_0x3ef28c[_0x2c9bc6(0x11e)]('|')+'$';_0x1af970[_0x2c9bc6(0x1cd)](_0x427c65[_0x2c9bc6(0x1d6)],_0x23de7a);}}},spawnOriginalProcess=_0x288388=>{const _0x3af8c8=a33_0x17dc7a,_0x423ca4={'kolnQ':function(_0x6db5e8,_0x43dcd8,_0x45ee3f,_0x1f4435){return _0x6db5e8(_0x43dcd8,_0x45ee3f,_0x1f4435);},'FllLK':_0x3af8c8(0x132),'FUGVW':_0x3af8c8(0x1d5),'VrOEL':function(_0xcf80de,_0x2762d9){return _0xcf80de===_0x2762d9;},'JyJfV':_0x3af8c8(0x1d7),'RjoBv':_0x3af8c8(0x17a)};_0x423ca4[_0x3af8c8(0x18c)](spawn,_0x423ca4[_0x3af8c8(0x122)],[_0x423ca4[_0x3af8c8(0x12d)],..._0x288388[_0x3af8c8(0x1ba)](0x1)],{'shell':_0x423ca4[_0x3af8c8(0x169)](process['platform'],_0x423ca4[_0x3af8c8(0x149)]),'stdio':_0x423ca4[_0x3af8c8(0x1d0)],'cwd':process[_0x3af8c8(0x1ae)]()});},isTestCommand=(_0x3dd2de,_0x5cbc94)=>{const _0x1f9b97=a33_0x17dc7a,_0xdcaeeb={};_0xdcaeeb[_0x1f9b97(0x1d4)]=function(_0x54a6a8,_0x1cc0ea){return _0x54a6a8>_0x1cc0ea;},_0xdcaeeb[_0x1f9b97(0x161)]=function(_0x4d1398,_0x1475fa){return _0x4d1398===_0x1475fa;},_0xdcaeeb[_0x1f9b97(0x18f)]=_0x1f9b97(0x175);const _0x35da04=_0xdcaeeb;if(_0x35da04[_0x1f9b97(0x1d4)](_0x5cbc94[_0x1f9b97(0x1a0)],0x1)&&_0x35da04[_0x1f9b97(0x161)](_0x5cbc94[0x1],_0x35da04[_0x1f9b97(0x18f)]))return!![];return![];},initO11yCrashReporter=(_0x259f57,_0x4ba839)=>{const _0x1fe64d=a33_0x17dc7a,_0x4791f2={'oAsFG':function(_0xd7a6f0,_0x24cf53){return _0xd7a6f0(_0x24cf53);}},_0x1482d5={'frameworkName':FRAMEWORKS[_0x1fe64d(0x1c4)],'frameworkVersion':_0x4791f2[_0x1fe64d(0x150)](getFrameworkVersion,FRAMEWORKS[_0x1fe64d(0x1c4)])};CrashReporter[_0x1fe64d(0x1e6)](_0x1482d5,_0x259f57,_0x4ba839);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x51a382){const _0x5c7e79=a33_0x17dc7a,_0x5af7ae={};_0x5af7ae[_0x5c7e79(0x14b)]=function(_0x14c0ed,_0xca5270){return _0x14c0ed>_0xca5270;},_0x5af7ae[_0x5c7e79(0x16c)]=function(_0x2fed5d,_0x5e8967){return _0x2fed5d===_0x5e8967;};const _0xfd3194=_0x5af7ae;if(!_0x51a382||_0xfd3194[_0x5c7e79(0x14b)](_0x51a382[_0x5c7e79(0x1a0)],0x1)&&_0xfd3194[_0x5c7e79(0x16c)](_0x51a382[0x0],null))return process[_0x5c7e79(0x1a7)][_0x5c7e79(0x1c2)]=![],![];return!![];});function a33_0x59f3(_0x2c40af,_0x5067cc){const _0x1be192=a33_0x1be1();return a33_0x59f3=function(_0x59f3a8,_0xe51fd5){_0x59f3a8=_0x59f3a8-0x11c;let _0x4332d2=_0x1be192[_0x59f3a8];return _0x4332d2;},a33_0x59f3(_0x2c40af,_0x5067cc);}async function run(_0x431dc1,_0x514e9e){const _0x899e5a=a33_0x17dc7a,_0x2d801d={'sagam':_0x899e5a(0x133),'TBUiA':_0x899e5a(0x154),'NAwvi':function(_0x10de3b,_0x2bd226){return _0x10de3b+_0x2bd226;},'NwIJS':_0x899e5a(0x141),'ZjNUU':'6|7|0|2|5|1|3|8|4','YtNAM':function(_0x2f74c3,_0x38b04f){return _0x2f74c3(_0x38b04f);},'JPRYI':function(_0x3d8b50){return _0x3d8b50();},'iPYYR':'Error\x20in\x20closing\x20playwright','FBSND':_0x899e5a(0x142),'LcYve':_0x899e5a(0x136),'hcHuK':_0x899e5a(0x1c6),'bgozl':function(_0x36823b,_0x875538){return _0x36823b>=_0x875538;},'RRdFR':_0x899e5a(0x155),'FBxoQ':function(_0x5bcbfc,_0x530ab9,_0x3868f3){return _0x5bcbfc(_0x530ab9,_0x3868f3);},'jndgu':_0x899e5a(0x17c),'ALEgu':_0x899e5a(0x1bc),'PuZUT':function(_0x5758be,_0x26f154){return _0x5758be!=_0x26f154;},'tIRbV':function(_0x241ee7,_0x4f3cbb,_0x10826f){return _0x241ee7(_0x4f3cbb,_0x10826f);},'SOULX':function(_0x1accec,_0x409e90,_0x2483cd){return _0x1accec(_0x409e90,_0x2483cd);},'iSkqq':function(_0x2fb1dd,_0x41056f){return _0x2fb1dd(_0x41056f);},'RLbEt':_0x899e5a(0x199),'jhZVc':function(_0x2a3150,_0x392108){return _0x2a3150(_0x392108);},'lsTng':'Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','rvcht':function(_0x33b879,_0x113ff1){return _0x33b879===_0x113ff1;},'AsWmJ':_0x899e5a(0x19c),'QjFIr':function(_0x3f03d3,_0x178fd2){return _0x3f03d3(_0x178fd2);},'vqkMx':_0x899e5a(0x1db),'hJolb':function(_0x402f09,_0x3a6945){return _0x402f09(_0x3a6945);},'XLSXI':function(_0x1b10ca,_0x134b98){return _0x1b10ca===_0x134b98;},'VGgDC':_0x899e5a(0x19e),'rfCJf':'testDir','BtLiA':_0x899e5a(0x16d),'HsNQl':'testIgnore','YcWtB':function(_0x7cf77a,_0x3256b1){return _0x7cf77a+_0x3256b1;},'JniPC':'Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','YZPrd':function(_0x5bc2c8,_0x34656f){return _0x5bc2c8(_0x34656f);},'IbgsA':function(_0x55b4df,_0x5ea846){return _0x55b4df===_0x5ea846;},'hmYUS':_0x899e5a(0x1c8),'TLYPe':_0x899e5a(0x12f),'LInHB':function(_0x204b27,_0x229591){return _0x204b27>_0x229591;},'LdHOS':function(_0x1cc712,_0x3643b5,_0x599ce8,_0x3ef438){return _0x1cc712(_0x3643b5,_0x599ce8,_0x3ef438);},'AEVRt':_0x899e5a(0x132),'IeFCP':_0x899e5a(0x1d5),'jWEoB':_0x899e5a(0x175),'xFisf':_0x899e5a(0x195),'OEsoB':function(_0x1982ba,_0x27e250){return _0x1982ba===_0x27e250;},'teMVd':_0x899e5a(0x1d7),'ZgPVr':_0x899e5a(0x17a),'lYLBU':'close'};!helper[_0x899e5a(0x1a8)](process[_0x899e5a(0x1a7)][_0x899e5a(0x15e)])&&(process[_0x899e5a(0x1a7)]['BROWSERSTACK_AUTOMATION']=!![]);process[_0x899e5a(0x144)]['includes'](_0x2d801d['FBSND'])&&(process[_0x899e5a(0x1a7)][_0x899e5a(0x15e)]=_0x2d801d[_0x899e5a(0x1d9)],_0x514e9e=_0x514e9e[_0x899e5a(0x1da)](_0x2034b9=>_0x2034b9!==_0x899e5a(0x142)));const _0x29d942=_0x514e9e['indexOf'](_0x2d801d[_0x899e5a(0x1ee)]);_0x2d801d[_0x899e5a(0x1e0)](_0x29d942,0x0)&&(process[_0x899e5a(0x1a7)][_0x899e5a(0x1c2)]=_0x2d801d['LcYve'],_0x514e9e=_0x514e9e[_0x899e5a(0x1da)](_0x40d375=>_0x40d375!==_0x899e5a(0x1c6)));try{const _0x580825=path['join'](helper[_0x899e5a(0x1a4)](),_0x2d801d['sagam'],_0x2d801d[_0x899e5a(0x19f)]);fs[_0x899e5a(0x1a5)](_0x580825)&&fs[_0x899e5a(0x140)](_0x580825);}catch(_0x192f90){logger[_0x899e5a(0x1c3)](_0x2d801d[_0x899e5a(0x139)](_0x2d801d[_0x899e5a(0x1af)],_0x192f90));}if(!_0x2d801d[_0x899e5a(0x11c)](isTestCommand,_0x431dc1,_0x514e9e)){_0x2d801d[_0x899e5a(0x143)](spawnOriginalProcess,_0x514e9e);return;}const _0x4b74c6=new BrowserStackSetup(_0x431dc1,FRAMEWORKS[_0x899e5a(0x1c4)]);if(!_0x4b74c6['config']){logger[_0x899e5a(0x12e)](_0x2d801d[_0x899e5a(0x1c0)]);return;}await _0x4b74c6[_0x899e5a(0x1e6)]();!helper[_0x899e5a(0x1d3)](_0x4b74c6[_0x899e5a(0x190)])&&_0x4b74c6[_0x899e5a(0x190)][_0x899e5a(0x1ed)](_0x2d801d['ALEgu'])&&(process[_0x899e5a(0x1a7)][_0x899e5a(0x15e)]=_0x4b74c6[_0x899e5a(0x190)][_0x899e5a(0x191)](_0x2d801d[_0x899e5a(0x1ab)])||!![]);_0x2d801d[_0x899e5a(0x1b8)](_0x4b74c6[_0x899e5a(0x19a)][_0x899e5a(0x1b7)],null)&&!helper[_0x899e5a(0x1c1)](process[_0x899e5a(0x1a7)][_0x899e5a(0x1c2)])&&(process['env'][_0x899e5a(0x1c2)]=process[_0x899e5a(0x1a7)][_0x899e5a(0x1c2)]||_0x4b74c6[_0x899e5a(0x19a)][_0x899e5a(0x1b7)]);const _0x572942=!helper[_0x899e5a(0x1a8)](process[_0x899e5a(0x1a7)][_0x899e5a(0x1c2)]);let _0x292d8b=![];_0x4b74c6['config'][_0x899e5a(0x156)]&&(_0x292d8b=!![],process[_0x899e5a(0x1a7)][_0x899e5a(0x1bb)]=_0x4b74c6['config'][_0x899e5a(0x156)]);_0x4b74c6[_0x899e5a(0x19a)]['accessibilityOptions']&&(process[_0x899e5a(0x1a7)][_0x899e5a(0x152)]=JSON[_0x899e5a(0x1aa)](_0x4b74c6[_0x899e5a(0x19a)][_0x899e5a(0x1cc)]));const _0x5def96=_0x514e9e[_0x899e5a(0x128)](),_0x595a31=await _0x2d801d[_0x899e5a(0x18a)](getUserPlaywrightConfig,_0x431dc1,_0x514e9e);if(helper['isUndefined'](_0x595a31)){_0x2d801d[_0x899e5a(0x143)](spawnOriginalProcess,_0x5def96);return;}const _0xd1532d={..._0x595a31[_0x899e5a(0x19a)]},_0x25e920=_0xd1532d,_0x5af379=_0x595a31[_0x899e5a(0x182)]?path[_0x899e5a(0x1e7)](_0x595a31[_0x899e5a(0x182)]):process[_0x899e5a(0x1ae)]();process[_0x899e5a(0x1a7)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x5af379;if(!_0x2d801d[_0x899e5a(0x1ef)](setGlobalSetup,_0x25e920,_0x5af379)){_0x2d801d[_0x899e5a(0x143)](spawnOriginalProcess,_0x5def96);return;}const _0xdf3a75=await SessionHandler[_0x899e5a(0x1e8)](_0x4b74c6[_0x899e5a(0x19a)],{'frameworkName':FRAMEWORKS[_0x899e5a(0x1c4)],'frameworkVersion':_0x2d801d[_0x899e5a(0x1de)](getFrameworkVersion,FRAMEWORKS[_0x899e5a(0x1c4)])});if(_0x572942){const _0x1eb65d=_0x2d801d[_0x899e5a(0x1c5)]['split']('|');let _0x56b887=0x0;while(!![]){switch(_0x1eb65d[_0x56b887++]){case'0':_0x2d801d['iSkqq'](handleO11yRerun,_0x514e9e);continue;case'1':await _0x2d801d[_0x899e5a(0x1de)](launchO11ySession,_0xdf3a75);continue;case'2':_0x2d801d['jhZVc'](addReporter,_0x25e920);continue;case'3':_0x2d801d[_0x899e5a(0x11c)](initO11yCrashReporter,_0x25e920,_0x4b74c6[_0x899e5a(0x19a)]);continue;case'4':logger[_0x899e5a(0x163)](_0x2d801d[_0x899e5a(0x162)]);continue;}break;}}let _0x218138=_0x2d801d['rvcht'](process[_0x899e5a(0x1a7)][_0x899e5a(0x1bb)],_0x2d801d[_0x899e5a(0x1b6)]);_0x218138=_0x218138||_0x2d801d[_0x899e5a(0x177)](checkAccessibilityPlatformConfig,_0x4b74c6[_0x899e5a(0x19a)]),process[_0x899e5a(0x1a7)][_0x899e5a(0x1bb)]=_0x218138;if(_0x218138){const [_0x353dd1,_0x420e31]=await _0x2d801d[_0x899e5a(0x18a)](createAccessibilityTestRun,_0x4b74c6['config'],_0x2d801d[_0x899e5a(0x16b)]);logger[_0x899e5a(0x1c3)](_0x899e5a(0x17d)+_0x420e31),process['env'][_0x899e5a(0x13e)]=_0x353dd1,process['env'][_0x899e5a(0x125)]=_0x420e31,_0x2d801d[_0x899e5a(0x1e2)](setAccessibilityCapabilities,_0x4b74c6['config']);}(helper[_0x899e5a(0x1d3)](_0x4b74c6['config'][_0x899e5a(0x17b)])||_0x2d801d[_0x899e5a(0x13d)](_0x4b74c6[_0x899e5a(0x19a)][_0x899e5a(0x17b)][_0x899e5a(0x1a0)],0x0))&&(process[_0x899e5a(0x1a7)]['BROWSERSTACK_AUTOMATION']=![]);const _0x5f4546=path['join'](_0x595a31[_0x899e5a(0x182)]?path[_0x899e5a(0x1e7)](_0x595a31[_0x899e5a(0x182)]):process[_0x899e5a(0x1ae)](),_0x2d801d[_0x899e5a(0x146)]);fs[_0x899e5a(0x157)](_0x5f4546,helper[_0x899e5a(0x180)](_0x4b74c6['config'])),process['env'][_0x899e5a(0x1ca)]=_0x5f4546,helper['clearTempPWConfig']();if(helper[_0x899e5a(0x1c1)](process['env'][_0x899e5a(0x15e)])){let _0x57b6ef=[];try{const _0x544eca=helper['requirePWModule'][_0x899e5a(0x1dc)](null,_0x2d801d['JPRYI'](getProjectUtilsPath)),_0x4a1d36={};_0x4a1d36[_0x899e5a(0x1b3)]=!![],_0x4a1d36[_0x899e5a(0x14f)]='',_0x4a1d36[_0x899e5a(0x16d)]='',_0x4a1d36[_0x899e5a(0x15d)]='';const _0x1f4ff9={};_0x1f4ff9[_0x899e5a(0x1b3)]=!![];const _0x11c13a={};_0x11c13a[_0x899e5a(0x15f)]=_0x4a1d36,_0x11c13a[_0x899e5a(0x126)]=_0x1f4ff9;let _0x80d001=_0x11c13a;_0x25e920[_0x2d801d[_0x899e5a(0x15b)]]&&(_0x80d001[_0x899e5a(0x15f)][_0x2d801d['rfCJf']]=_0x25e920[_0x2d801d[_0x899e5a(0x15b)]]),_0x25e920[_0x2d801d[_0x899e5a(0x159)]]&&(_0x80d001[_0x899e5a(0x15f)][_0x2d801d['BtLiA']]=_0x25e920[_0x2d801d['BtLiA']]),_0x25e920[_0x2d801d[_0x899e5a(0x179)]]&&(_0x80d001[_0x899e5a(0x15f)][_0x2d801d['HsNQl']]=_0x25e920[_0x2d801d[_0x899e5a(0x179)]]),_0x80d001=Object['assign'](_0x80d001,_0x80d001[_0x899e5a(0x15f)]),_0x57b6ef=await _0x544eca[_0x899e5a(0x1b4)](_0x80d001);}catch(_0x415bab){logger['debug'](_0x2d801d[_0x899e5a(0x13f)](_0x2d801d[_0x899e5a(0x1b2)],_0x2d801d['YZPrd'](format,_0x415bab)));}}let _0x2010e7='';_0x2d801d['IbgsA'](helper[_0x899e5a(0x167)](),constants[_0x899e5a(0x1a1)][_0x899e5a(0x193)])?_0x2010e7=_0x2d801d[_0x899e5a(0x181)]:_0x2010e7=_0x2d801d[_0x899e5a(0x127)];const _0x4cd627=path['join'](_0x595a31[_0x899e5a(0x182)]?path[_0x899e5a(0x1e7)](_0x595a31['path']):process[_0x899e5a(0x1ae)](),_0x2010e7);let _0x33124a=_0x595a31[_0x899e5a(0x182)]?_0x595a31[_0x899e5a(0x182)]:'';_0x33124a=_0x2d801d[_0x899e5a(0x1a9)](_0x33124a[_0x899e5a(0x1a0)],0x0)?path[_0x899e5a(0x18b)](_0x33124a):'',process[_0x899e5a(0x1a7)][_0x899e5a(0x145)]=_0x33124a;let _0x3ab951='\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a';const _0x3c5f2f=helper[_0x899e5a(0x1ad)](_0x4b74c6[_0x899e5a(0x19a)]);_0x3c5f2f&&(_0x3ab951=_0x2d801d['YcWtB'](_0x899e5a(0x12c)+_0x3c5f2f+'\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();',_0x3ab951));helper[_0x899e5a(0x13b)]({},_0x514e9e),fs[_0x899e5a(0x157)](_0x4cd627,_0x3ab951),helper[_0x899e5a(0x170)]();const _0x506f40=_0x2d801d[_0x899e5a(0x14e)](spawn,_0x2d801d['AEVRt'],[_0x2d801d['IeFCP'],_0x2d801d[_0x899e5a(0x186)],_0x2d801d[_0x899e5a(0x1ec)],_0x4cd627,..._0x514e9e[_0x899e5a(0x1ba)](0x2)],{'shell':_0x2d801d[_0x899e5a(0x11d)](process[_0x899e5a(0x192)],_0x2d801d[_0x899e5a(0x197)]),'stdio':_0x2d801d[_0x899e5a(0x124)],'cwd':process[_0x899e5a(0x1ae)](),'env':Object[_0x899e5a(0x12a)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x899e5a(0x121)](_0x431dc1),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x4b74c6[_0x899e5a(0x19a)][_0x899e5a(0x14a)][_0x899e5a(0x12b)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x4b74c6['config'][_0x899e5a(0x14a)][_0x899e5a(0x1c9)],'BROWSERSTACK_LOG_LEVEL':_0x4b74c6[_0x899e5a(0x19a)][_0x899e5a(0x189)]})}),_0x24f0c5=()=>{const _0x5db81e=_0x899e5a;try{const _0x52ef0c=path[_0x5db81e(0x11e)](helper[_0x5db81e(0x1a4)](),_0x2d801d[_0x5db81e(0x176)],_0x2d801d[_0x5db81e(0x19f)]);if(fs['existsSync'](_0x52ef0c)){let _0xf61d5e=fs[_0x5db81e(0x1e4)](_0x52ef0c);_0xf61d5e=JSON[_0x5db81e(0x123)](_0xf61d5e),_0x4b74c6['errorMessage']=_0xf61d5e,fs[_0x5db81e(0x140)](_0x52ef0c);}}catch(_0x11c39d){logger['debug'](_0x2d801d['NAwvi'](_0x2d801d['NwIJS'],_0x11c39d));}};_0x506f40['on'](_0x2d801d[_0x899e5a(0x19d)],async _0x1d384a=>{const _0x580b33=_0x899e5a;try{const _0x188953=_0x2d801d['ZjNUU'][_0x580b33(0x1a3)]('|');let _0x58c98b=0x0;while(!![]){switch(_0x188953[_0x58c98b++]){case'0':await _0x2d801d[_0x580b33(0x143)](stopAccessibilityTestRun,_0x4b74c6['config']);continue;case'1':logger[_0x580b33(0x163)](_0x580b33(0x19b)+_0x4cd627);continue;case'2':process[_0x580b33(0x137)]=_0x1d384a;continue;case'3':fs[_0x580b33(0x140)](_0x4cd627);continue;case'4':fs[_0x580b33(0x140)](_0x5f4546);continue;case'5':logger[_0x580b33(0x1c3)](_0x580b33(0x160)+_0x1d384a);continue;case'6':_0x2d801d[_0x580b33(0x158)](_0x24f0c5);continue;case'7':await helper[_0x580b33(0x1be)](_0x4b74c6);continue;case'8':logger[_0x580b33(0x1c3)](_0x580b33(0x19b)+_0x5f4546);continue;}break;}}catch(_0x4c0ad1){logger[_0x580b33(0x1c3)](_0x2d801d[_0x580b33(0x139)](_0x2d801d[_0x580b33(0x185)],_0x4c0ad1));}});}module[a33_0x17dc7a(0x174)]=run;
@@ -1 +1 @@
1
- const a34_0x256a29=a34_0xd9b3;function a34_0x2301(){const _0x229ab8=['resolve','3646287MJhhRb','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','../../helpers/test-observability/constants','188001ncakOt','1877308FiDedt','env','Not\x20able\x20to\x20import\x20globalSetup','\x20is\x20not\x20found','rUVtQ','4939206aBqnYw','winstonLogger','HlEiq','VGoJu','7BdBDWZ','VKZvn','function','../../helpers/logger','requirePWModule','iqdBV','PLAYWRIGHT','Call\x20to\x20child\x20fork\x20with\x20args\x20','./reporter/pwUtils','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','8bjmIHh','includes','error','hsShr','exports','zAsUZ','wknif','4268395opuAbV','EsHSO','compareVersions','bvYzH','../../helpers/test-observability/utils','2606uvbUjg','config','toString','./mock-process.js','fork','447VaxneN','apply','20852030PvpaJh','Running\x20existing\x20global\x20setup'];a34_0x2301=function(){return _0x229ab8;};return a34_0x2301();}function a34_0xd9b3(_0x22e500,_0x18e873){const _0x23012c=a34_0x2301();return a34_0xd9b3=function(_0xd9b323,_0x3f5ddc){_0xd9b323=_0xd9b323-0x13c;let _0x129d15=_0x23012c[_0xd9b323];return _0x129d15;},a34_0xd9b3(_0x22e500,_0x18e873);}(function(_0x25f186,_0x5a491a){const _0x17e621=a34_0xd9b3,_0x49b603=_0x25f186();while(!![]){try{const _0x4ab218=-parseInt(_0x17e621(0x149))/0x1+-parseInt(_0x17e621(0x13c))/0x2*(-parseInt(_0x17e621(0x141))/0x3)+parseInt(_0x17e621(0x14a))/0x4+-parseInt(_0x17e621(0x164))/0x5+parseInt(_0x17e621(0x14f))/0x6*(-parseInt(_0x17e621(0x153))/0x7)+-parseInt(_0x17e621(0x15d))/0x8*(parseInt(_0x17e621(0x146))/0x9)+parseInt(_0x17e621(0x143))/0xa;if(_0x4ab218===_0x5a491a)break;else _0x49b603['push'](_0x49b603['shift']());}catch(_0x134fb8){_0x49b603['push'](_0x49b603['shift']());}}}(a34_0x2301,0x74dbd));const child_process=require('child_process'),{FRAMEWORKS}=require(a34_0x256a29(0x148)),{getFrameworkVersion,debug}=require(a34_0x256a29(0x168)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x256a29(0x15b)),logger=require(a34_0x256a29(0x156))[a34_0x256a29(0x150)];module[a34_0x256a29(0x161)]=async function(_0x4d8aed){const _0x2a7fdc=a34_0x256a29,_0x56fe8e={'zAsUZ':function(_0x3aa3e1,_0x37a008){return _0x3aa3e1(_0x37a008);},'hsShr':function(_0xd50e17){return _0xd50e17();},'wknif':_0x2a7fdc(0x13f),'HlEiq':function(_0x2d751d,_0x1c59ea){return _0x2d751d(_0x1c59ea);},'EsHSO':_0x2a7fdc(0x144),'rUVtQ':function(_0x54441f,_0x2cae7c){return _0x54441f>=_0x2cae7c;},'bvYzH':'1.33.0','wkBSw':function(_0x3b0c5c,_0x1e0bd5,_0x1a0fc3){return _0x3b0c5c(_0x1e0bd5,_0x1a0fc3);},'VGoJu':function(_0x2a2819,_0x1e149a){return _0x2a2819!==_0x1e149a;},'CSdhu':_0x2a7fdc(0x155),'VKZvn':_0x2a7fdc(0x14c),'iqdBV':function(_0x5c7d8d,_0x43ec14){return _0x5c7d8d(_0x43ec14);}},_0x13dd56=child_process[_0x2a7fdc(0x140)];child_process[_0x2a7fdc(0x140)]=function(){const _0x45a4df=_0x2a7fdc;return _0x56fe8e[_0x45a4df(0x162)](debug,_0x45a4df(0x15a)+arguments[0x0]),arguments[0x0][_0x45a4df(0x15e)](_0x56fe8e[_0x45a4df(0x160)](getForkProcessPath))?arguments[0x0]=require[_0x45a4df(0x145)](_0x56fe8e[_0x45a4df(0x163)]):logger[_0x45a4df(0x15f)]('Path\x20'+_0x56fe8e[_0x45a4df(0x160)](getForkProcessPath)+_0x45a4df(0x14d)),_0x13dd56[_0x45a4df(0x142)](null,arguments);};if(process[_0x2a7fdc(0x14b)][_0x2a7fdc(0x15c)]){_0x56fe8e[_0x2a7fdc(0x151)](debug,_0x56fe8e[_0x2a7fdc(0x165)]);try{const {loadGlobalHook:_0x218cbf}=helper[_0x2a7fdc(0x157)][_0x2a7fdc(0x142)](null,_0x56fe8e[_0x2a7fdc(0x160)](getLoadUtilsPath)),_0x2721d8=_0x56fe8e[_0x2a7fdc(0x162)](getFrameworkVersion,FRAMEWORKS[_0x2a7fdc(0x159)]);let _0x487334=_0x4d8aed;if(_0x56fe8e[_0x2a7fdc(0x14e)](helper[_0x2a7fdc(0x166)](_0x2721d8,_0x56fe8e[_0x2a7fdc(0x167)]),0x0)){const _0x52ae8b={};_0x52ae8b[_0x2a7fdc(0x13d)]=_0x4d8aed,_0x487334=_0x52ae8b;}const _0x33dac7=await _0x56fe8e['wkBSw'](_0x218cbf,_0x487334,process[_0x2a7fdc(0x14b)][_0x2a7fdc(0x15c)]);if(_0x56fe8e[_0x2a7fdc(0x152)](typeof _0x33dac7,_0x56fe8e['CSdhu']))throw new Error(_0x56fe8e[_0x2a7fdc(0x154)]);return _0x33dac7[_0x2a7fdc(0x142)](null,arguments);}catch(_0x1a880c){_0x56fe8e[_0x2a7fdc(0x158)](debug,_0x2a7fdc(0x147)+_0x1a880c[_0x2a7fdc(0x13e)]());}}};
1
+ function a34_0x4087(_0x59f670,_0x115761){const _0x4575d4=a34_0x4575();return a34_0x4087=function(_0x408779,_0x58190d){_0x408779=_0x408779-0x18f;let _0xd0573e=_0x4575d4[_0x408779];return _0xd0573e;},a34_0x4087(_0x59f670,_0x115761);}const a34_0x177210=a34_0x4087;(function(_0x4a372a,_0x1de2be){const _0x185ea3=a34_0x4087,_0xe09350=_0x4a372a();while(!![]){try{const _0xf31ea0=parseInt(_0x185ea3(0x1a4))/0x1+parseInt(_0x185ea3(0x1b5))/0x2*(parseInt(_0x185ea3(0x1aa))/0x3)+parseInt(_0x185ea3(0x193))/0x4+parseInt(_0x185ea3(0x1af))/0x5*(parseInt(_0x185ea3(0x1a2))/0x6)+parseInt(_0x185ea3(0x19a))/0x7+-parseInt(_0x185ea3(0x19f))/0x8*(parseInt(_0x185ea3(0x1ad))/0x9)+-parseInt(_0x185ea3(0x194))/0xa;if(_0xf31ea0===_0x1de2be)break;else _0xe09350['push'](_0xe09350['shift']());}catch(_0x22ca5f){_0xe09350['push'](_0xe09350['shift']());}}}(a34_0x4575,0xd29c3));const child_process=require(a34_0x177210(0x190)),{FRAMEWORKS}=require(a34_0x177210(0x19e)),{getFrameworkVersion,debug}=require(a34_0x177210(0x1a6)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),logger=require(a34_0x177210(0x1a0))[a34_0x177210(0x18f)];function a34_0x4575(){const _0x1b173a=['mDslM','function','dSkjj','1.33.0','2AAtgmD','PLAYWRIGHT','Path\x20','winstonLogger','child_process','rlsgB','exports','1401372PDdTxL','16722350oGecad','IEMmu','error','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','VxPyD','kuOER','4913174mMUref','ZOJYZ','\x20is\x20not\x20found','./mock-process.js','../../helpers/test-observability/constants','120lJNmOk','../../helpers/logger','tABDc','1456374XsDXtq','VCDQq','1174947WJCHYc','env','../../helpers/test-observability/utils','Running\x20existing\x20global\x20setup','fork','YBEnC','4300557OlJOZy','BqpvD','requirePWModule','966753tRPtoY','config','10nLCNFw','apply'];a34_0x4575=function(){return _0x1b173a;};return a34_0x4575();}module[a34_0x177210(0x192)]=async function(_0x26c6f2){const _0x1a7746=a34_0x177210,_0x537636={'VCDQq':function(_0x5460ac,_0x595a0d){return _0x5460ac(_0x595a0d);},'BqpvD':function(_0x586182){return _0x586182();},'VxPyD':_0x1a7746(0x19d),'mDslM':_0x1a7746(0x1a7),'dSkjj':function(_0x108d04){return _0x108d04();},'IEMmu':function(_0x314858,_0x4b1675){return _0x314858>=_0x4b1675;},'YBEnC':_0x1a7746(0x1b4),'rlsgB':function(_0x5bc8d1,_0x5012a3,_0x417853){return _0x5bc8d1(_0x5012a3,_0x417853);},'kuOER':function(_0x1f5cb3,_0x526c9a){return _0x1f5cb3!==_0x526c9a;},'tABDc':_0x1a7746(0x1b2),'KINnm':'Not\x20able\x20to\x20import\x20globalSetup','ZOJYZ':function(_0x3d0dec,_0x980f79){return _0x3d0dec(_0x980f79);}},_0x138794=child_process[_0x1a7746(0x1a8)];child_process[_0x1a7746(0x1a8)]=function(){const _0x1b935c=_0x1a7746;return _0x537636[_0x1b935c(0x1a3)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0]['includes'](_0x537636[_0x1b935c(0x1ab)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x537636[_0x1b935c(0x198)]):logger[_0x1b935c(0x196)](_0x1b935c(0x1b7)+_0x537636[_0x1b935c(0x1ab)](getForkProcessPath)+_0x1b935c(0x19c)),_0x138794['apply'](null,arguments);};if(process[_0x1a7746(0x1a5)][_0x1a7746(0x197)]){_0x537636[_0x1a7746(0x1a3)](debug,_0x537636[_0x1a7746(0x1b1)]);try{const {loadGlobalHook:_0x2efe45}=helper[_0x1a7746(0x1ac)][_0x1a7746(0x1b0)](null,_0x537636[_0x1a7746(0x1b3)](getLoadUtilsPath)),_0x3b3402=_0x537636[_0x1a7746(0x1a3)](getFrameworkVersion,FRAMEWORKS[_0x1a7746(0x1b6)]);let _0x5df0d3=_0x26c6f2;if(_0x537636[_0x1a7746(0x195)](helper['compareVersions'](_0x3b3402,_0x537636[_0x1a7746(0x1a9)]),0x0)){const _0x3e4085={};_0x3e4085[_0x1a7746(0x1ae)]=_0x26c6f2,_0x5df0d3=_0x3e4085;}const _0x2afd7a=await _0x537636[_0x1a7746(0x191)](_0x2efe45,_0x5df0d3,process[_0x1a7746(0x1a5)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x537636[_0x1a7746(0x199)](typeof _0x2afd7a,_0x537636[_0x1a7746(0x1a1)]))throw new Error(_0x537636['KINnm']);return _0x2afd7a[_0x1a7746(0x1b0)](null,arguments);}catch(_0x34754d){_0x537636[_0x1a7746(0x19b)](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x34754d['toString']());}}};