browserstack-node-sdk 1.34.23 → 1.34.25

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 (129) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/central-scanner/constants.js +1 -1
  101. package/src/helpers/central-scanner/helpers.js +1 -1
  102. package/src/helpers/globals.js +1 -1
  103. package/src/helpers/helper.js +1 -1
  104. package/src/helpers/logger.js +1 -1
  105. package/src/helpers/patchHelper.js +1 -1
  106. package/src/helpers/patchHelpers.js +1 -1
  107. package/src/helpers/percy/Percy.js +1 -1
  108. package/src/helpers/percy/PercyBinary.js +1 -1
  109. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  110. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  111. package/src/helpers/percy/PercySDK.js +1 -1
  112. package/src/helpers/percy/index.js +1 -1
  113. package/src/helpers/percy/utils.js +1 -1
  114. package/src/helpers/performance-tester.js +1 -1
  115. package/src/helpers/request-spy.js +1 -1
  116. package/src/helpers/setKeepAlive.js +1 -1
  117. package/src/helpers/test-observability/constants.js +1 -1
  118. package/src/helpers/test-observability/error-handler.js +1 -1
  119. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  120. package/src/helpers/test-observability/sessionHandler.js +1 -1
  121. package/src/helpers/test-observability/utils.js +1 -1
  122. package/src/helpers/testhub/constants.js +1 -1
  123. package/src/helpers/testhub/testhubHandler.js +1 -1
  124. package/src/helpers/testhub/utils.js +1 -1
  125. package/src/helpers/timeoutPromise.js +1 -1
  126. package/src/helpers/utilities.js +1 -1
  127. package/src/helpers/w3cMapping.js +1 -1
  128. package/src/hubAllocationMethods.js +1 -1
  129. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a29_0x1a9bc7=a29_0x2ab6;(function(_0x40de6f,_0x221abe){const _0x309c60=a29_0x2ab6,_0x150e49=_0x40de6f();while(!![]){try{const _0x4cf3a6=-parseInt(_0x309c60(0x70))/0x1+-parseInt(_0x309c60(0x79))/0x2+-parseInt(_0x309c60(0xdb))/0x3+-parseInt(_0x309c60(0x67))/0x4*(-parseInt(_0x309c60(0x9b))/0x5)+parseInt(_0x309c60(0xd2))/0x6+parseInt(_0x309c60(0x94))/0x7*(-parseInt(_0x309c60(0xd3))/0x8)+-parseInt(_0x309c60(0xdc))/0x9*(-parseInt(_0x309c60(0x92))/0xa);if(_0x4cf3a6===_0x221abe)break;else _0x150e49['push'](_0x150e49['shift']());}catch(_0x251d69){_0x150e49['push'](_0x150e49['shift']());}}}(a29_0x1cbe,0x3b1ca));function a29_0x2ab6(_0xf8d6a4,_0x31b11a){const _0x1cbe8d=a29_0x1cbe();return a29_0x2ab6=function(_0x2ab610,_0x4a9886){_0x2ab610=_0x2ab610-0x65;let _0x2ef9b8=_0x1cbe8d[_0x2ab610];return _0x2ef9b8;},a29_0x2ab6(_0xf8d6a4,_0x31b11a);}function a29_0x1cbe(){const _0x581348=['setGlobal','ooxej','__drivers','241071fwwKOi','3715317IOjFyR','error','UBHsK','../../../helpers/accessibility-automation/helper','split','4780JsorXS','get','goog:chromeOptions','object','edgeOptions','session_','exports','send','DNmvA','261024oDHSyA','getAccessibilityResultsSummary','2|5|0|1|4|3','logLevel','New\x20hub\x20url\x20set\x20to\x20','iGqRz','options_','isUndefined','overrideGet','869462LMqRzV','rppTN','FkXrO','getGlobal','getHttpAgent','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','edgeOptions_','PfXmC','capability','build','uGLkL','updateHubUrl','ARJmR','push','yPAGm','isPacProxy','chromeOptions_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','browserStackLogLevel','Hub\x20url\x20set\x20to\x20','JwlHT','optimalHubUrl','ngRNX','debug','CAPABILITY_KEY','20Lgoovy','Setting\x20Browserstack\x20capabilities','8834LblVgH','ieOptions_','set','GrgNd','uTqcA','Riiys','RCTMK','290JvBrQa','./helpers/patchHelper','requireSeleniumWebdriver','TcMCK','HttpClient','chromeOptions','storeOptimalHubUrl','../../../helpers/patchHelpers','fpmLR','mergeDeep','isBrowserstackInfra','__driversArray','vFTXw','caps_','Proxy\x20set\x20to\x20','fuVrv','global','setServer','wDyrB','__setBrowserOptions','se:ieOptions','forEach','proxySettings','proxy_','../../../helpers/globals','getAccessibilityResults','then','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','https://','/session','rNdlo','setLogLevel','JhxML','originalBuilder','requireHttpClient','amGrO','url_','MvmGz','ZTGwn','LHoEV','setCapabilities','isAccessibilityPlatform','safariOptions_','getRequestOptions','../../../hubAllocationMethods','rMmGw','browserstackAgentObservability','Builder','firefoxOptions_','YHoKY','HpbmP','../../../bin/utils/constants','../../../helpers/logger','capabilities_','newHubUrl','785220pWFCmj','48ACMGsd','ZwYcA','proxyUrl','../../../helpers/helper','getHubUrl'];a29_0x1cbe=function(){return _0x581348;};return a29_0x1cbe();}const logger=require(a29_0x1a9bc7(0xcf))['winstonLogger'],helper=require(a29_0x1a9bc7(0xd6)),constants=require(a29_0x1a9bc7(0xce)),hubAllocator=require(a29_0x1a9bc7(0xc7)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x1a9bc7(0xa2)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x1a9bc7(0x65)),globals=require(a29_0x1a9bc7(0xb3)),{overrideExecute}=require(a29_0x1a9bc7(0x9c)),modify=(_0x26fd52,_0x4d87ad=null,_0x45dc85=![])=>{const _0xfc20de=a29_0x1a9bc7,_0x34e162={'ARJmR':function(_0xc94ba5,_0x4c47ef){return _0xc94ba5!==_0x4c47ef;},'rppTN':_0xfc20de(0xb8),'Riiys':function(_0x3fd166,_0x1f1074){return _0x3fd166+_0x1f1074;},'RCTMK':function(_0xeba37,_0x371595){return _0xeba37+_0x371595;},'vFTXw':_0xfc20de(0xb7),'uKEra':'/wd/hub','LHoEV':_0xfc20de(0x69),'gZJQI':_0xfc20de(0xa0),'amGrO':'ms:edgeOptions','iGqRz':_0xfc20de(0x6b),'JhxML':'moz:firefoxOptions','ZwYcA':'firefoxOptions','uGLkL':'safari.options','ywTaK':_0xfc20de(0xaf),'gsFdy':'ieOptions','Fvvgw':function(_0x355001,_0x23281a){return _0x355001===_0x23281a;},'rMmGw':_0xfc20de(0x6a),'fuVrv':_0xfc20de(0x93),'ngRNX':function(_0x437010,_0x406ee9,_0x4a9c86){return _0x437010(_0x406ee9,_0x4a9c86);},'DNmvA':function(_0x49313a,_0xf9bb04){return _0x49313a(_0xf9bb04);},'UBHsK':_0xfc20de(0x8e),'rNdlo':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','wDyrB':function(_0x18de80,_0x4364e8,_0x2879be){return _0x18de80(_0x4364e8,_0x2879be);},'ZTGwn':_0xfc20de(0x72),'PfXmC':function(_0x2edb93){return _0x2edb93();},'JwlHT':_0xfc20de(0xb6),'ooxej':_0xfc20de(0xc4),'tsiMK':function(_0x3f14cd,_0x44df2b){return _0x3f14cd(_0x44df2b);},'TcMCK':function(_0x8acd6e,_0x1cb375){return _0x8acd6e(_0x1cb375);},'MvmGz':function(_0x104f83,_0x152f3a,_0xbd7092){return _0x104f83(_0x152f3a,_0xbd7092);},'fpmLR':function(_0x18b3f0,_0x586f8f){return _0x18b3f0!==_0x586f8f;},'HpbmP':function(_0x69ea12,_0x17c9fa){return _0x69ea12!==_0x17c9fa;},'AMsbA':_0xfc20de(0x8a),'YwXYs':'Modifying\x20webdriver\x20builder'},_0x2d7bef=helper[_0xfc20de(0xbd)]();let _0x5f4ea2;try{_0x5f4ea2=helper[_0xfc20de(0x9d)](),_0x5f4ea2[_0xfc20de(0xbc)]&&(_0x5f4ea2[_0xfc20de(0xca)]=_0x5f4ea2[_0xfc20de(0xbc)]);}catch(_0x2360ec){return;}if(helper['isBrowserstackInfra']()){const _0x45c4c9={};_0x45c4c9[_0xfc20de(0x73)]=_0x26fd52[_0xfc20de(0x8b)],helper[_0xfc20de(0xba)](_0x45c4c9,new Map(),new Map()),logger['info'](_0x34e162['AMsbA']),logger[_0xfc20de(0x90)](_0x34e162['YwXYs']);}class _0x2973d4 extends _0x2d7bef[_0xfc20de(0x9f)]{['send'](_0x464406){const _0x2594b6=_0xfc20de;if(_0x34e162['ARJmR'](_0x464406['path'],_0x34e162[_0x2594b6(0x7a)])&&_0x34e162[_0x2594b6(0x85)](global[_0x2594b6(0xd1)],''))try{global[_0x2594b6(0xd1)]=_0x34e162[_0x2594b6(0x99)](_0x34e162[_0x2594b6(0x9a)](_0x34e162[_0x2594b6(0xa7)],global[_0x2594b6(0xd1)]),_0x34e162['uKEra']),this[_0x2594b6(0x76)]=hubAllocator[_0x2594b6(0xc6)](global[_0x2594b6(0xd1)]),logger[_0x2594b6(0x90)](_0x2594b6(0x74)+global[_0x2594b6(0xd1)]),global[_0x2594b6(0xd1)]='';}catch(_0x29af22){logger[_0x2594b6(0xdd)](_0x29af22);}return super[_0x2594b6(0x6e)](_0x464406);}}class _0x27577c extends _0x5f4ea2[_0xfc20de(0xca)]{[_0xfc20de(0xac)](){const _0xc3234f=_0xfc20de;return this['url_']=helper[_0xc3234f(0xd7)](_0x26fd52),logger[_0xc3234f(0x90)](_0xc3234f(0x8c)+this[_0xc3234f(0xbf)]),this;}[_0xfc20de(0xae)](_0x2bf251){const _0x4c00b3=_0xfc20de;let _0x1a3428={};for(const _0x425919 in _0x2bf251){switch(_0x425919){case _0x34e162[_0x4c00b3(0xc2)]:case _0x34e162['gZJQI']:this['chromeOptions_']&&(_0x1a3428=this[_0x4c00b3(0x89)][_0x4c00b3(0x68)](this['chromeOptions_'][_0x4c00b3(0x91)])||{},this[_0x4c00b3(0x89)][_0x4c00b3(0x96)](this['chromeOptions_'][_0x4c00b3(0x91)],helper[_0x4c00b3(0xa4)](_0x1a3428,_0x2bf251[_0x425919])));break;case _0x34e162[_0x4c00b3(0xbe)]:case _0x34e162[_0x4c00b3(0x75)]:this[_0x4c00b3(0x7f)]&&(_0x1a3428=this[_0x4c00b3(0x7f)]['get'](this['edgeOptions_'][_0x4c00b3(0x91)])||{},this[_0x4c00b3(0x7f)][_0x4c00b3(0x96)](this[_0x4c00b3(0x7f)][_0x4c00b3(0x91)],helper[_0x4c00b3(0xa4)](_0x1a3428,_0x2bf251[_0x425919])));break;case _0x34e162[_0x4c00b3(0xbb)]:case _0x34e162[_0x4c00b3(0xd4)]:this['firefoxOptions_']&&(_0x1a3428=this[_0x4c00b3(0xcb)][_0x4c00b3(0x68)](this['firefoxOptions_'][_0x4c00b3(0x91)])||{},this[_0x4c00b3(0xcb)][_0x4c00b3(0x96)](this[_0x4c00b3(0xcb)]['CAPABILITY_KEY'],helper[_0x4c00b3(0xa4)](_0x1a3428,_0x2bf251[_0x425919])));break;case _0x34e162[_0x4c00b3(0x83)]:this[_0x4c00b3(0xc5)]&&(_0x1a3428=this['safariOptions_'][_0x4c00b3(0x68)](this['safariOptions_'][_0x4c00b3(0x91)])||{},this[_0x4c00b3(0xc5)][_0x4c00b3(0x96)](this[_0x4c00b3(0xc5)]['CAPABILITY_KEY'],helper[_0x4c00b3(0xa4)](_0x1a3428,_0x2bf251[_0x425919])));break;case _0x34e162['ywTaK']:case _0x34e162['gsFdy']:this[_0x4c00b3(0x95)]&&(_0x1a3428=this['ieOptions_'][_0x4c00b3(0x68)](this[_0x4c00b3(0x95)][_0x4c00b3(0x91)])||{},this[_0x4c00b3(0x95)][_0x4c00b3(0x96)](this['ieOptions_'][_0x4c00b3(0x91)],helper['mergeDeep'](_0x1a3428,_0x2bf251[_0x425919])));break;}}}['setCapabilities'](){const _0x352f96=_0xfc20de;return logger['debug'](_0x34e162[_0x352f96(0xaa)]),this[_0x352f96(0xae)](_0x26fd52[_0x352f96(0x81)]),Object['keys'](_0x26fd52[_0x352f96(0x81)])[_0x352f96(0xb0)](_0x163680=>{const _0x3e935b=_0x352f96,_0x86f455=this[_0x3e935b(0xd0)]['get'](_0x163680);_0x34e162['Fvvgw'](typeof _0x86f455,_0x34e162[_0x3e935b(0xc8)])?this[_0x3e935b(0xd0)]['set'](_0x163680,helper['mergeDeep'](_0x86f455,_0x26fd52['capability'][_0x163680])):this[_0x3e935b(0xd0)][_0x3e935b(0x96)](_0x163680,_0x26fd52[_0x3e935b(0x81)][_0x163680]);}),this;}[_0xfc20de(0x82)](){const _0xe3e225=_0xfc20de,_0x14e5bf={'GrgNd':_0x34e162[_0xe3e225(0xde)],'yPAGm':_0x34e162[_0xe3e225(0xb9)],'FkXrO':function(_0x110a37,_0x57a2b4,_0x29c9b7){const _0x3aebdd=_0xe3e225;return _0x34e162[_0x3aebdd(0xad)](_0x110a37,_0x57a2b4,_0x29c9b7);},'uTqcA':function(_0x4f6b53,_0x2276fc,_0x3813e4){return _0x34e162['wDyrB'](_0x4f6b53,_0x2276fc,_0x3813e4);}};if(helper[_0xe3e225(0xa5)]()){const _0x1effce=_0x34e162[_0xe3e225(0xc1)][_0xe3e225(0x66)]('|');let _0x489c91=0x0;while(!![]){switch(_0x1effce[_0x489c91++]){case'0':this[_0xe3e225(0xc3)]();continue;case'1':if(helper[_0xe3e225(0x88)](_0x26fd52[_0xe3e225(0xb1)]['proxyUrl']))this['agent_']=helper[_0xe3e225(0x7d)](_0x26fd52[_0xe3e225(0xb1)][_0xe3e225(0xd5)]);else _0x26fd52[_0xe3e225(0xb1)][_0xe3e225(0xd5)]&&(this[_0xe3e225(0xb2)]=_0x26fd52[_0xe3e225(0xb1)][_0xe3e225(0xd5)],logger[_0xe3e225(0x90)](_0xe3e225(0xa9)+this['proxy_']));continue;case'2':_0x34e162[_0xe3e225(0x80)](isAccessibilityAutomationSession)&&_0x34e162['DNmvA'](setAccessibilityCapabilities,_0x26fd52);continue;case'3':logger['debug'](_0x34e162[_0xe3e225(0x8d)]);continue;case'4':globals[_0xe3e225(0x7c)](_0x34e162[_0xe3e225(0xd9)])&&(!_0x34e162[_0xe3e225(0xad)](setExtension,this,_0x26fd52)&&globals[_0xe3e225(0xd8)](_0x34e162[_0xe3e225(0xd9)],![]));continue;case'5':this['setServer']();continue;}break;}}const _0x492c62=super[_0xe3e225(0x82)]();return _0x492c62[_0xe3e225(0x6c)][_0xe3e225(0xb5)](_0x299707=>{const _0x2bdfbe=_0xe3e225;try{const _0xfe3cca=_0x299707[_0x2bdfbe(0xa8)]['get'](_0x14e5bf[_0x2bdfbe(0x97)]);_0xfe3cca?(logger[_0x2bdfbe(0x90)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0xfe3cca),hubAllocator[_0x2bdfbe(0x84)](_0xfe3cca),helper[_0x2bdfbe(0xa1)](_0xfe3cca)):logger[_0x2bdfbe(0x90)](_0x14e5bf[_0x2bdfbe(0x87)]);}catch(_0x5db48){logger[_0x2bdfbe(0x90)](_0x2bdfbe(0x7e)+_0x5db48);}}),_0x492c62['quitCount_']=0x0,_0x492c62[_0xe3e225(0xb5)]&&_0x492c62[_0xe3e225(0xb5)](_0x16f505=>{const _0x64cf26=_0xe3e225,_0x5251f7={'YHoKY':function(_0x131fa5,_0x254792,_0x31e707){const _0x264a3c=a29_0x2ab6;return _0x34e162[_0x264a3c(0x8f)](_0x131fa5,_0x254792,_0x31e707);}};_0x34e162['ngRNX'](overrideQuit,_0x16f505,_0x492c62),_0x34e162[_0x64cf26(0x6f)](overrideTakeScreenshot,_0x16f505),helper[_0x64cf26(0x78)](_0x16f505,_0x26fd52),_0x34e162['ngRNX'](overrideExecute,_0x16f505,_0x26fd52),_0x16f505[_0x64cf26(0x71)]=async()=>{const _0x5e7273=_0x64cf26;return await _0x14e5bf[_0x5e7273(0x7b)](getAccessibilityResultsSummary,_0x16f505,global);},_0x16f505[_0x64cf26(0xb4)]=async()=>{const _0x2e2a80=_0x64cf26;return await _0x5251f7[_0x2e2a80(0xcc)](getAccessibilityResults,_0x16f505,global);};}),_0x492c62['getAccessibilityResultsSummary']=async()=>{const _0x192c48=_0xe3e225;return await _0x14e5bf[_0x192c48(0x7b)](getAccessibilityResultsSummary,_0x492c62,global);},_0x492c62[_0xe3e225(0xb4)]=async()=>{const _0x41648e=_0xe3e225;return await _0x14e5bf[_0x41648e(0x98)](getAccessibilityResults,_0x492c62,global);},_0x34e162['tsiMK'](overrideTakeScreenshot,_0x492c62),_0x34e162[_0xe3e225(0x9e)](overrideQuit,_0x492c62),helper[_0xe3e225(0x78)](_0x492c62,_0x26fd52),_0x34e162[_0xe3e225(0xc0)](overrideExecute,_0x492c62,_0x26fd52),helper[_0xe3e225(0x77)](global[_0xe3e225(0xa6)])&&(global['__driversArray']=[]),helper[_0xe3e225(0x77)](global['__drivers'])&&(global[_0xe3e225(0xda)]=[]),global[_0xe3e225(0xa6)][_0xe3e225(0x86)](_0x492c62),global['__driver']=_0x492c62,_0x34e162[_0xe3e225(0xa3)](global['__drivers'],undefined)&&global[_0xe3e225(0xda)][_0xe3e225(0x86)](_0x492c62),_0x4d87ad&&helper[_0xe3e225(0x77)](_0x4d87ad['global'][_0xe3e225(0xa6)])&&(_0x4d87ad['global'][_0xe3e225(0xa6)]=[]),_0x4d87ad&&_0x34e162[_0xe3e225(0xcd)](_0x4d87ad[_0xe3e225(0xab)]['__drivers'],undefined)&&(_0x4d87ad[_0xe3e225(0xab)]['__drivers'][_0xe3e225(0x86)](_0x492c62),_0x4d87ad[_0xe3e225(0xab)][_0xe3e225(0xa6)][_0xe3e225(0x86)](_0x492c62)),_0x492c62;}}return _0x5f4ea2[_0xfc20de(0xbc)]=_0x5f4ea2[_0xfc20de(0xca)],_0x5f4ea2[_0xfc20de(0xca)]=_0x27577c,_0x2d7bef['HttpClient']=_0x2973d4,_0x5f4ea2;};module[a29_0x1a9bc7(0x6d)][a29_0x1a9bc7(0xc9)]=modify;
1
+ const a29_0x1566bc=a29_0x3683;(function(_0x18d157,_0x7c19a9){const _0x27d4e7=a29_0x3683,_0x138990=_0x18d157();while(!![]){try{const _0x5111f7=-parseInt(_0x27d4e7(0x10e))/0x1+-parseInt(_0x27d4e7(0xde))/0x2+-parseInt(_0x27d4e7(0x102))/0x3+parseInt(_0x27d4e7(0xbd))/0x4+-parseInt(_0x27d4e7(0xf9))/0x5*(-parseInt(_0x27d4e7(0xbc))/0x6)+parseInt(_0x27d4e7(0xff))/0x7+parseInt(_0x27d4e7(0xab))/0x8;if(_0x5111f7===_0x7c19a9)break;else _0x138990['push'](_0x138990['shift']());}catch(_0x3c3402){_0x138990['push'](_0x138990['shift']());}}}(a29_0x363f,0x7b420));const logger=require(a29_0x1566bc(0xfe))[a29_0x1566bc(0xd1)],helper=require(a29_0x1566bc(0x109)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a29_0x1566bc(0xd0)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x1566bc(0xda)),{setAccessibilityCapabilities,setExtension}=require(a29_0x1566bc(0xf1)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a29_0x1566bc(0xaa)),{overrideExecute}=require(a29_0x1566bc(0xc1)),modify=(_0x531d28,_0x4ccf46=null,_0x505ef7=![])=>{const _0x1e82c2=a29_0x1566bc,_0x4e4eea={'qVRcO':function(_0x350770,_0xf7d4f4){return _0x350770!==_0xf7d4f4;},'olbCz':_0x1e82c2(0xf7),'osFYA':function(_0x4323b6,_0xf1d909){return _0x4323b6!==_0xf1d909;},'cJSvD':function(_0xbdc817,_0x4c4e10){return _0xbdc817+_0x4c4e10;},'AoFPA':function(_0x322227,_0x1ff0b8){return _0x322227+_0x1ff0b8;},'JpncJ':_0x1e82c2(0xed),'wKhxq':_0x1e82c2(0xf0),'lslVF':_0x1e82c2(0xf5),'oMoMf':_0x1e82c2(0xcb),'IWdJs':_0x1e82c2(0xca),'IdsWg':_0x1e82c2(0xb1),'aOjNR':'moz:firefoxOptions','lHoSB':_0x1e82c2(0x107),'OAMOF':_0x1e82c2(0x97),'xgGxH':_0x1e82c2(0xec),'wfHcD':_0x1e82c2(0xd6),'cGxlD':function(_0x1ec4e3,_0x1acd44){return _0x1ec4e3===_0x1acd44;},'HXTxN':_0x1e82c2(0xe6),'KTNHO':'Setting\x20Browserstack\x20capabilities','aRBgV':_0x1e82c2(0x106),'arJIo':_0x1e82c2(0xf2),'IkbsV':'3|0|1|5|2|4','dlzPV':function(_0x587e6c,_0x11341c){return _0x587e6c(_0x11341c);},'YKnYJ':function(_0x334a52,_0x21b8dc,_0x377675){return _0x334a52(_0x21b8dc,_0x377675);},'nkLGW':function(_0x39d5e2,_0x1cd1b1,_0xfe2fc3){return _0x39d5e2(_0x1cd1b1,_0xfe2fc3);},'kOlpB':function(_0x42fb42,_0x19e21f,_0x34f3ee){return _0x42fb42(_0x19e21f,_0x34f3ee);},'uhcXg':'3|4|2|5|1|0','UCTMx':_0x1e82c2(0xb4),'EQVXs':_0x1e82c2(0xe7),'zhTEx':function(_0x2d02d4,_0x178b33,_0x1afd7c){return _0x2d02d4(_0x178b33,_0x1afd7c);},'eKski':function(_0x48beee){return _0x48beee();},'LvThE':function(_0x292514,_0x4fd771){return _0x292514(_0x4fd771);},'rIoxP':function(_0x99b9bc,_0x4414f0){return _0x99b9bc!==_0x4414f0;},'mpqKM':_0x1e82c2(0xc0),'HhIdz':'Modifying\x20webdriver\x20builder'},_0x4a595b=helper[_0x1e82c2(0xb3)]();let _0x4122ba;try{_0x4122ba=helper['requireSeleniumWebdriver'](),_0x4122ba[_0x1e82c2(0xcc)]&&(_0x4122ba[_0x1e82c2(0xdf)]=_0x4122ba[_0x1e82c2(0xcc)]);}catch(_0x48bde6){return;}if(helper['isBrowserstackInfra']()){const _0x5724c8={};_0x5724c8[_0x1e82c2(0xfd)]=_0x531d28[_0x1e82c2(0xc7)],helper['setLogLevel'](_0x5724c8,new Map(),new Map()),logger[_0x1e82c2(0xe1)](_0x4e4eea[_0x1e82c2(0xc9)]),logger['debug'](_0x4e4eea[_0x1e82c2(0xe5)]);}class _0x557018 extends _0x4a595b[_0x1e82c2(0xa7)]{['send'](_0x451ee5){const _0x42dfef=_0x1e82c2;if(_0x4e4eea['qVRcO'](_0x451ee5['path'],_0x4e4eea[_0x42dfef(0xc4)])&&_0x4e4eea[_0x42dfef(0xb7)](global[_0x42dfef(0xa4)],''))try{global[_0x42dfef(0xa4)]=_0x4e4eea[_0x42dfef(0x9e)](_0x4e4eea[_0x42dfef(0xc2)](_0x4e4eea[_0x42dfef(0xef)],global[_0x42dfef(0xa4)]),_0x4e4eea[_0x42dfef(0xbb)]),this['options_']=hubAllocator['getRequestOptions'](global[_0x42dfef(0xa4)]),logger[_0x42dfef(0x9c)](_0x42dfef(0xc6)+global[_0x42dfef(0xa4)]),global['newHubUrl']='';}catch(_0x221c44){logger[_0x42dfef(0x104)](_0x221c44);}return super[_0x42dfef(0xb5)](_0x451ee5);}}class _0x2cf686 extends _0x4122ba[_0x1e82c2(0xdf)]{[_0x1e82c2(0xe4)](){const _0x5b139c=_0x1e82c2;return this[_0x5b139c(0x100)]=helper[_0x5b139c(0xce)](_0x531d28),logger[_0x5b139c(0x9c)](_0x5b139c(0xa1)+this[_0x5b139c(0x100)]),this;}[_0x1e82c2(0xe3)](_0x2e4005){const _0x40bb83=_0x1e82c2;let _0x9caacc={};for(const _0x421b4f in _0x2e4005){switch(_0x421b4f){case _0x4e4eea[_0x40bb83(0xd5)]:case _0x4e4eea[_0x40bb83(0x105)]:this[_0x40bb83(0xc8)]&&(_0x9caacc=this['chromeOptions_'][_0x40bb83(0xd7)](this[_0x40bb83(0xc8)][_0x40bb83(0xaf)])||{},this[_0x40bb83(0xc8)][_0x40bb83(0xf3)](this[_0x40bb83(0xc8)][_0x40bb83(0xaf)],helper[_0x40bb83(0x9f)](_0x9caacc,_0x2e4005[_0x421b4f])));break;case _0x4e4eea[_0x40bb83(0xd4)]:case _0x4e4eea[_0x40bb83(0xc5)]:this[_0x40bb83(0xa2)]&&(_0x9caacc=this[_0x40bb83(0xa2)][_0x40bb83(0xd7)](this[_0x40bb83(0xa2)][_0x40bb83(0xaf)])||{},this[_0x40bb83(0xa2)][_0x40bb83(0xf3)](this[_0x40bb83(0xa2)][_0x40bb83(0xaf)],helper[_0x40bb83(0x9f)](_0x9caacc,_0x2e4005[_0x421b4f])));break;case _0x4e4eea['aOjNR']:case _0x4e4eea[_0x40bb83(0xdc)]:this['firefoxOptions_']&&(_0x9caacc=this['firefoxOptions_'][_0x40bb83(0xd7)](this[_0x40bb83(0xb9)][_0x40bb83(0xaf)])||{},this['firefoxOptions_'][_0x40bb83(0xf3)](this[_0x40bb83(0xb9)][_0x40bb83(0xaf)],helper['mergeDeep'](_0x9caacc,_0x2e4005[_0x421b4f])));break;case _0x4e4eea['OAMOF']:this[_0x40bb83(0x95)]&&(_0x9caacc=this['safariOptions_'][_0x40bb83(0xd7)](this['safariOptions_']['CAPABILITY_KEY'])||{},this[_0x40bb83(0x95)][_0x40bb83(0xf3)](this[_0x40bb83(0x95)][_0x40bb83(0xaf)],helper[_0x40bb83(0x9f)](_0x9caacc,_0x2e4005[_0x421b4f])));break;case _0x4e4eea[_0x40bb83(0xc3)]:case _0x4e4eea[_0x40bb83(0xa9)]:this[_0x40bb83(0xfb)]&&(_0x9caacc=this[_0x40bb83(0xfb)][_0x40bb83(0xd7)](this[_0x40bb83(0xfb)][_0x40bb83(0xaf)])||{},this[_0x40bb83(0xfb)]['set'](this[_0x40bb83(0xfb)][_0x40bb83(0xaf)],helper[_0x40bb83(0x9f)](_0x9caacc,_0x2e4005[_0x421b4f])));break;}}}[_0x1e82c2(0xbe)](){const _0x3251b6=_0x1e82c2,_0x5ebafc={'ulOGu':function(_0x2e611b,_0x3d2cd0){const _0x14401b=a29_0x3683;return _0x4e4eea[_0x14401b(0x9b)](_0x2e611b,_0x3d2cd0);},'SkBjD':_0x4e4eea[_0x3251b6(0xee)]};return logger[_0x3251b6(0x9c)](_0x4e4eea[_0x3251b6(0xac)]),this[_0x3251b6(0xe3)](_0x531d28[_0x3251b6(0xdd)]),Object[_0x3251b6(0x10c)](_0x531d28[_0x3251b6(0xdd)])[_0x3251b6(0xfa)](_0x472ed8=>{const _0x39f894=_0x3251b6,_0x3c1515=this[_0x39f894(0xa3)][_0x39f894(0xd7)](_0x472ed8);_0x5ebafc[_0x39f894(0x94)](typeof _0x3c1515,_0x5ebafc[_0x39f894(0xad)])?this[_0x39f894(0xa3)][_0x39f894(0xf3)](_0x472ed8,helper[_0x39f894(0x9f)](_0x3c1515,_0x531d28[_0x39f894(0xdd)][_0x472ed8])):this[_0x39f894(0xa3)][_0x39f894(0xf3)](_0x472ed8,_0x531d28[_0x39f894(0xdd)][_0x472ed8]);}),this;}[_0x1e82c2(0x93)](){const _0x452e6b=_0x1e82c2,_0x272f4b={'fncVu':function(_0xb538e,_0x143946,_0xcd3844){const _0x358b1f=a29_0x3683;return _0x4e4eea[_0x358b1f(0xe9)](_0xb538e,_0x143946,_0xcd3844);}};if(helper['isBrowserstackInfra']()){const _0x4e6eb3=_0x4e4eea[_0x452e6b(0xba)][_0x452e6b(0x92)]('|');let _0x2b9e4f=0x0;while(!![]){switch(_0x4e6eb3[_0x2b9e4f++]){case'0':logger[_0x452e6b(0x9c)](_0x4e4eea[_0x452e6b(0xa0)]);continue;case'1':globals[_0x452e6b(0xf4)](_0x4e4eea['EQVXs'])&&(!_0x4e4eea[_0x452e6b(0xe2)](setExtension,this,_0x531d28)&&globals[_0x452e6b(0xa8)](_0x4e4eea[_0x452e6b(0x10d)],![]));continue;case'2':this[_0x452e6b(0xbe)]();continue;case'3':_0x4e4eea[_0x452e6b(0x10a)](isAccessibilityAutomationSession)&&_0x4e4eea[_0x452e6b(0xb2)](setAccessibilityCapabilities,_0x531d28);continue;case'4':this[_0x452e6b(0xe4)]();continue;case'5':if(helper[_0x452e6b(0xfc)](_0x531d28['proxySettings'][_0x452e6b(0xd9)]))this[_0x452e6b(0xbf)]=helper[_0x452e6b(0xd2)](_0x531d28[_0x452e6b(0xf6)]['proxyUrl']);else _0x531d28[_0x452e6b(0xf6)][_0x452e6b(0xd9)]&&(this['proxy_']=_0x531d28[_0x452e6b(0xf6)][_0x452e6b(0xd9)],logger['debug']('Proxy\x20set\x20to\x20'+this[_0x452e6b(0x96)]));continue;}break;}}const _0x39ec9e=super[_0x452e6b(0x93)]();return _0x39ec9e[_0x452e6b(0xb0)][_0x452e6b(0xf8)](_0x263f4b=>{const _0x39b0ea=_0x452e6b;try{const _0x4ef3fb=_0x263f4b[_0x39b0ea(0xae)][_0x39b0ea(0xd7)](_0x4e4eea['aRBgV']);_0x4ef3fb?(logger['debug'](_0x39b0ea(0xcf)+_0x4ef3fb),hubAllocator[_0x39b0ea(0x108)](_0x4ef3fb),helper[_0x39b0ea(0xe0)](_0x4ef3fb)):logger[_0x39b0ea(0x9c)](_0x4e4eea[_0x39b0ea(0x10b)]);}catch(_0x47f4db){logger[_0x39b0ea(0x9c)](_0x39b0ea(0xe8)+_0x47f4db);}}),_0x39ec9e['quitCount_']=0x0,_0x39ec9e[_0x452e6b(0xf8)]&&_0x39ec9e[_0x452e6b(0xf8)](_0x5e616a=>{const _0x168be4=_0x452e6b,_0x53a36b=_0x4e4eea[_0x168be4(0x9a)]['split']('|');let _0x360f92=0x0;while(!![]){switch(_0x53a36b[_0x360f92++]){case'0':_0x4e4eea[_0x168be4(0x9d)](overrideTakeScreenshot,_0x5e616a);continue;case'1':helper[_0x168be4(0x91)](_0x5e616a,_0x531d28);continue;case'2':_0x5e616a[_0x168be4(0xd8)]=async()=>{return await _0x272f4b['fncVu'](getAccessibilityResultsSummary,_0x5e616a,global);};continue;case'3':_0x4e4eea[_0x168be4(0x103)](overrideQuit,_0x5e616a,_0x39ec9e);continue;case'4':_0x5e616a['getAccessibilityResults']=async()=>{const _0x2dcd4e=_0x168be4;return await _0x272f4b[_0x2dcd4e(0xb6)](getAccessibilityResults,_0x5e616a,global);};continue;case'5':_0x4e4eea[_0x168be4(0x103)](overrideExecute,_0x5e616a,_0x531d28);continue;}break;}}),_0x39ec9e[_0x452e6b(0xd8)]=async()=>{const _0x19bb60=_0x452e6b;return await _0x4e4eea[_0x19bb60(0xea)](getAccessibilityResultsSummary,_0x39ec9e,global);},_0x39ec9e[_0x452e6b(0xd3)]=async()=>{return await _0x272f4b['fncVu'](getAccessibilityResults,_0x39ec9e,global);},_0x4e4eea[_0x452e6b(0x9d)](overrideTakeScreenshot,_0x39ec9e),_0x4e4eea['dlzPV'](overrideQuit,_0x39ec9e),helper[_0x452e6b(0x91)](_0x39ec9e,_0x531d28),_0x4e4eea[_0x452e6b(0xe2)](overrideExecute,_0x39ec9e,_0x531d28),helper[_0x452e6b(0x101)](global[_0x452e6b(0xeb)])&&(global[_0x452e6b(0xeb)]=[]),helper['isUndefined'](global[_0x452e6b(0x98)])&&(global['__drivers']=[]),global['__driversArray']['push'](_0x39ec9e),global[_0x452e6b(0xdb)]=_0x39ec9e,_0x4e4eea[_0x452e6b(0xb8)](global[_0x452e6b(0x98)],undefined)&&global['__drivers'][_0x452e6b(0xcd)](_0x39ec9e),_0x4ccf46&&helper[_0x452e6b(0x101)](_0x4ccf46[_0x452e6b(0x99)]['__driversArray'])&&(_0x4ccf46['global'][_0x452e6b(0xeb)]=[]),_0x4ccf46&&_0x4e4eea[_0x452e6b(0xa6)](_0x4ccf46[_0x452e6b(0x99)][_0x452e6b(0x98)],undefined)&&(_0x4ccf46['global'][_0x452e6b(0x98)]['push'](_0x39ec9e),_0x4ccf46['global'][_0x452e6b(0xeb)][_0x452e6b(0xcd)](_0x39ec9e)),_0x39ec9e;}}return _0x4122ba[_0x1e82c2(0xcc)]=_0x4122ba[_0x1e82c2(0xdf)],_0x4122ba[_0x1e82c2(0xdf)]=_0x2cf686,_0x4a595b['HttpClient']=_0x557018,_0x4122ba;};function a29_0x3683(_0x5449cb,_0x167476){const _0x363ff0=a29_0x363f();return a29_0x3683=function(_0x368310,_0xdd7576){_0x368310=_0x368310-0x91;let _0x54d67a=_0x363ff0[_0x368310];return _0x54d67a;},a29_0x3683(_0x5449cb,_0x167476);}module['exports'][a29_0x1566bc(0xa5)]=modify;function a29_0x363f(){const _0x392619=['chromeOptions','originalBuilder','push','getHubUrl','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','../../../hubAllocationMethods','winstonLogger','getHttpAgent','getAccessibilityResults','IWdJs','lslVF','ieOptions','get','getAccessibilityResultsSummary','proxyUrl','../../../helpers/patchHelpers','__driver','lHoSB','capability','969640nafSMf','Builder','storeOptimalHubUrl','info','zhTEx','__setBrowserOptions','setServer','HhIdz','object','isAccessibilityPlatform','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','kOlpB','nkLGW','__driversArray','se:ieOptions','https://','HXTxN','JpncJ','/wd/hub','../accessibility-automation/helper','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','set','getGlobal','goog:chromeOptions','proxySettings','/session','then','5WkdZmF','forEach','ieOptions_','isPacProxy','logLevel','../../../helpers/logger','1435224fqiHeH','url_','isUndefined','2965770hjVKYx','YKnYJ','error','oMoMf','optimalHubUrl','firefoxOptions','updateHubUrl','../../../helpers/helper','eKski','arJIo','keys','EQVXs','369050uyecnr','overrideGet','split','build','ulOGu','safariOptions_','proxy_','safari.options','__drivers','global','IkbsV','cGxlD','debug','dlzPV','cJSvD','mergeDeep','UCTMx','Hub\x20url\x20set\x20to\x20','edgeOptions_','capabilities_','newHubUrl','browserstackAgentObservability','rIoxP','HttpClient','setGlobal','wfHcD','../../../helpers/globals','9862600QYLebv','KTNHO','SkBjD','caps_','CAPABILITY_KEY','session_','edgeOptions','LvThE','requireHttpClient','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','send','fncVu','osFYA','qVRcO','firefoxOptions_','uhcXg','wKhxq','1435542BmcWas','2680840WyKKCV','setCapabilities','agent_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','./helpers/patchHelper','AoFPA','xgGxH','olbCz','IdsWg','New\x20hub\x20url\x20set\x20to\x20','browserStackLogLevel','chromeOptions_','mpqKM','ms:edgeOptions'];a29_0x363f=function(){return _0x392619;};return a29_0x363f();}
@@ -1 +1 @@
1
- const a30_0x56f89b=a30_0x43b3;(function(_0x128854,_0x480d03){const _0x308855=a30_0x43b3,_0x140eac=_0x128854();while(!![]){try{const _0x201179=-parseInt(_0x308855(0x14c))/0x1*(parseInt(_0x308855(0x152))/0x2)+parseInt(_0x308855(0x150))/0x3+parseInt(_0x308855(0x153))/0x4+-parseInt(_0x308855(0x149))/0x5+-parseInt(_0x308855(0x14f))/0x6+parseInt(_0x308855(0x148))/0x7+parseInt(_0x308855(0x154))/0x8;if(_0x201179===_0x480d03)break;else _0x140eac['push'](_0x140eac['shift']());}catch(_0x1ec303){_0x140eac['push'](_0x140eac['shift']());}}}(a30_0x407a,0x5bd6d));function a30_0x43b3(_0x26d21d,_0x39f4cd){const _0x407a69=a30_0x407a();return a30_0x43b3=function(_0x43b3ff,_0x2fa9ec){_0x43b3ff=_0x43b3ff-0x148;let _0x325cca=_0x407a69[_0x43b3ff];return _0x325cca;},a30_0x43b3(_0x26d21d,_0x39f4cd);}const requestSpy=require(a30_0x56f89b(0x14d)),constants=require(a30_0x56f89b(0x155)),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports[a30_0x56f89b(0x14b)]={'beforeAll'(){const _0x4029b7=a30_0x56f89b,_0x8946f8={'egaxp':function(_0x143731){return _0x143731();}},_0x2644c6='browserstack internal helper hook';_0x8946f8[_0x4029b7(0x151)](addRequestSpy);},'afterAll'(){const _0x3bdac1=a30_0x56f89b,_0x4e5a46='browserstack internal helper hook';this[_0x3bdac1(0x14a)](0xea60),requestSpy[_0x3bdac1(0x14e)]();}};function a30_0x407a(){const _0x5569a0=['../../../bin/utils/constants','4289194ekvxYb','3571585oXNFeV','timeout','mochaHooks','1AZcCLD','../../../helpers/request-spy','restore','4095954jXXOEi','1612668BJyADA','egaxp','959128crafbP','2167244zWMabc','4484832WtEMZZ'];a30_0x407a=function(){return _0x5569a0;};return a30_0x407a();}
1
+ function a30_0x4594(){const _0x37c416=['1143pOLnAa','okxGY','770080sAQEUS','2487705BmWcKr','280295FqUNEN','402801UqUlmU','16waTQQs','16904dWpNtt','timeout','1027897oguycl','10hMevHD','6WLAnbP','10190939nBsGnC','../../../helpers/test-observability/utils','mochaHooks','restore'];a30_0x4594=function(){return _0x37c416;};return a30_0x4594();}const a30_0x34c9bb=a30_0x2bf3;(function(_0x42fbcc,_0xf24cc2){const _0x509baf=a30_0x2bf3,_0x37d68e=_0x42fbcc();while(!![]){try{const _0x389d4e=parseInt(_0x509baf(0x1e9))/0x1+-parseInt(_0x509baf(0x1f2))/0x2+parseInt(_0x509baf(0x1f3))/0x3+-parseInt(_0x509baf(0x1e6))/0x4*(parseInt(_0x509baf(0x1f4))/0x5)+parseInt(_0x509baf(0x1eb))/0x6*(-parseInt(_0x509baf(0x1e5))/0x7)+-parseInt(_0x509baf(0x1e7))/0x8*(-parseInt(_0x509baf(0x1f0))/0x9)+parseInt(_0x509baf(0x1ea))/0xa*(-parseInt(_0x509baf(0x1ec))/0xb);if(_0x389d4e===_0xf24cc2)break;else _0x37d68e['push'](_0x37d68e['shift']());}catch(_0x54212a){_0x37d68e['push'](_0x37d68e['shift']());}}}(a30_0x4594,0x81ef7));function a30_0x2bf3(_0x2b36bc,_0x10569c){const _0x45946a=a30_0x4594();return a30_0x2bf3=function(_0x2bf3b8,_0x4764d7){_0x2bf3b8=_0x2bf3b8-0x1e5;let _0x147522=_0x45946a[_0x2bf3b8];return _0x147522;},a30_0x2bf3(_0x2b36bc,_0x10569c);}const requestSpy=require('../../../helpers/request-spy'),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a30_0x34c9bb(0x1ed));exports[a30_0x34c9bb(0x1ee)]={'beforeAll'(){const _0x238317=a30_0x34c9bb,_0x209af4={'okxGY':function(_0x2248fc){return _0x2248fc();}},_0x21dd44='browserstack internal helper hook';_0x209af4[_0x238317(0x1f1)](addRequestSpy);},'afterAll'(){const _0x53e39f=a30_0x34c9bb,_0x55b40a='browserstack internal helper hook';this[_0x53e39f(0x1e8)](0xea60),requestSpy[_0x53e39f(0x1ef)]();}};
@@ -1 +1 @@
1
- function a31_0xf598(){const _0xdf308f=['TEST_PLATFORM','hYzRj','_afterEach','nMjGf','state','VQaCp','split','rGoIM','ZgYvB','emit','DSjnu','../../../helpers/test-observability/constants','hookAnalyticsId','__cloud_provider___','slice','JVxKF','IIWoz','mapTestHooks','forEach','QogoX','getHooksForTest','DkRFp','PQIPF','markedStatus','pid','1086393DGwMCM','getHookDetails','2005KhbyuO','passed','keys','uMKZS','15186420iYJkvp','parent','fromEntries','RCEhT','nnOyk','9xpSOrb','../../../helpers/testhub/utils','OuRph','GmgBy','GDTwF','getBrowserName','FuymI','getHookSkippedTests','1770RstIwk','PyPjS','hook','RgnqC','ZENxL','2823944NUSbay','ezypK','yBuiT','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','bs:addPlatformDetails:','ZhPtm','pending','suites','getBrowserVersion','1592126vpoFfp','reduce','_beforeEach','3424448GhHUpE','concat','browserstack','sendPlatformDetails','indexOf','HxhSu','../../../helpers/helper','436590ppVOko','getPlatform','tests','_afterAll','uuid','_beforeAll','1BwznXP','unknown_grid','OvKTK','dNpnf','../../utils/logPatcher','type'];a31_0xf598=function(){return _0xdf308f;};return a31_0xf598();}const a31_0x23de33=a31_0x13e7;(function(_0x5df771,_0x1fb549){const _0x4651ca=a31_0x13e7,_0x1950d6=_0x5df771();while(!![]){try{const _0x51323f=-parseInt(_0x4651ca(0x192))/0x1*(-parseInt(_0x4651ca(0x182))/0x2)+parseInt(_0x4651ca(0x1b1))/0x3+parseInt(_0x4651ca(0x179))/0x4+-parseInt(_0x4651ca(0x1b3))/0x5*(parseInt(_0x4651ca(0x1c4))/0x6)+parseInt(_0x4651ca(0x18c))/0x7+-parseInt(_0x4651ca(0x185))/0x8*(-parseInt(_0x4651ca(0x1bc))/0x9)+-parseInt(_0x4651ca(0x1b7))/0xa;if(_0x51323f===_0x1fb549)break;else _0x1950d6['push'](_0x1950d6['shift']());}catch(_0x3ed1b8){_0x1950d6['push'](_0x1950d6['shift']());}}}(a31_0xf598,0xaf365));const {v4:uuidv4}=require(a31_0x23de33(0x190)),{name,version}=require('../../../../package.json'),logPatcher=require(a31_0x23de33(0x196)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a31_0x23de33(0x1a3)),{getPlatformVersion}=require(a31_0x23de33(0x18b)),{shouldProcessEventForTesthub}=require(a31_0x23de33(0x1bd));function a31_0x13e7(_0x57e575,_0x5afca9){const _0xf598d1=a31_0xf598();return a31_0x13e7=function(_0x13e766,_0x51fbd4){_0x13e766=_0x13e766-0x178;let _0x1c2df7=_0xf598d1[_0x13e766];return _0x1c2df7;},a31_0x13e7(_0x57e575,_0x5afca9);}console={},Object[a31_0x23de33(0x1b5)](consoleHolder)[a31_0x23de33(0x1aa)](_0x4c4550=>{console[_0x4c4550]=(..._0x5a002f)=>{BSTestOpsPatcher[_0x4c4550](..._0x5a002f);};}),exports['getTestEnv']=()=>{const _0x2d9ea3=a31_0x23de33,_0x2f210f={'VQaCp':'generic','DkRFp':function(_0x1224c9){return _0x1224c9();}};return{'ci':_0x2f210f[_0x2d9ea3(0x19d)],'key':_0x2f210f[_0x2d9ea3(0x1ad)](uuidv4),'version':version,'collector':'js-'+name};},exports[a31_0x23de33(0x1b2)]=_0x2a6fc4=>{const _0x57db98=a31_0x23de33,_0x1eafde={};_0x1eafde[_0x57db98(0x1bb)]=function(_0x5c1062,_0x8afd8b){return _0x5c1062!==_0x8afd8b;},_0x1eafde[_0x57db98(0x1be)]='string',_0x1eafde[_0x57db98(0x17a)]='hook:',_0x1eafde[_0x57db98(0x1c5)]=function(_0x395208,_0x2e20cf){return _0x395208!==_0x2e20cf;},_0x1eafde[_0x57db98(0x1ae)]=_0x57db98(0x1c6);const _0x3eeac0=_0x1eafde;if(!_0x2a6fc4||_0x3eeac0['nnOyk'](typeof _0x2a6fc4,_0x3eeac0[_0x57db98(0x1be)]))return[null,null];if(_0x3eeac0[_0x57db98(0x1bb)](_0x2a6fc4[_0x57db98(0x189)](_0x3eeac0[_0x57db98(0x17a)]),-0x1)){const _0x2827aa=_0x2a6fc4[_0x57db98(0x19e)](_0x3eeac0[_0x57db98(0x17a)]);return[_0x2827aa[0x0][_0x57db98(0x1a6)](0x0,-0x1)[_0x57db98(0x19e)]('\x22')[0x1],_0x2827aa[0x1]['substring'](0x1)];}else{if(_0x3eeac0['PyPjS'](_0x2a6fc4[_0x57db98(0x189)](_0x3eeac0['PQIPF']),-0x1)){const _0x59ae58=_0x2a6fc4[_0x57db98(0x19e)](_0x3eeac0[_0x57db98(0x1ae)]);return[_0x59ae58[0x0][_0x57db98(0x1a6)](0x0,-0x1)[_0x57db98(0x19e)]('\x22')[0x1],_0x2a6fc4];}}return[null,null];},exports[a31_0x23de33(0x1ac)]=_0xf00039=>{const _0x2dff3d=a31_0x23de33,_0x1127e8={'IIWoz':function(_0x51542a,_0x440195){return _0x51542a(_0x440195);},'yYeal':_0x2dff3d(0x191),'RgnqC':_0x2dff3d(0x18f),'anKBQ':_0x2dff3d(0x184),'OvKTK':_0x2dff3d(0x19a)};if(!_0xf00039||!_0xf00039[_0x2dff3d(0x1b8)])return[];const _0x3d63bd=[];return[_0x1127e8['yYeal'],_0x1127e8[_0x2dff3d(0x1c7)],_0x1127e8['anKBQ'],_0x1127e8[_0x2dff3d(0x194)]][_0x2dff3d(0x1aa)](_0x2025ab=>{const _0x2a4fb6=_0x2dff3d,_0x4fd2bb={'FuymI':function(_0x575044,_0x540912){const _0x2b2207=a31_0x13e7;return _0x1127e8[_0x2b2207(0x1a8)](_0x575044,_0x540912);}},_0x5c3af8=_0xf00039[_0x2a4fb6(0x1b8)][_0x2025ab]||[];_0x5c3af8[_0x2a4fb6(0x1aa)](_0x3f9d52=>{const _0x44682b=_0x2a4fb6;_0x3f9d52[_0x44682b(0x1a4)]&&!_0x4fd2bb[_0x44682b(0x1c2)](isInternalHook,_0x3f9d52['fn'])&&_0x3d63bd['push'](_0x3f9d52['hookAnalyticsId']);});}),[..._0x3d63bd,...exports[_0x2dff3d(0x1ac)](_0xf00039[_0x2dff3d(0x1b8)])];},exports[a31_0x23de33(0x1a9)]=_0x5175e0=>{const _0x32082f=a31_0x23de33,_0x568903={'HxhSu':function(_0x51c812){return _0x51c812();},'QogoX':function(_0x3670a6,_0x4e5a2c){return _0x3670a6===_0x4e5a2c;},'DSjnu':_0x32082f(0x19a),'rGoIM':'_beforeAll','bvqBE':'_afterAll','hYzRj':_0x32082f(0x184)};if(!_0x5175e0||!_0x5175e0[_0x32082f(0x1b8)])return;[_0x568903[_0x32082f(0x19f)],_0x568903['bvqBE'],_0x568903[_0x32082f(0x199)],_0x568903[_0x32082f(0x1a2)]]['forEach'](_0xdaa03d=>{const _0x285a27=_0x32082f,_0x8abcb1=_0x5175e0['parent'][_0xdaa03d]||[];_0x8abcb1[_0x285a27(0x1aa)](_0x299dde=>{const _0x569e53=_0x285a27;if(!_0x299dde[_0x569e53(0x1a4)])_0x299dde[_0x569e53(0x1a4)]=_0x568903[_0x569e53(0x18a)](uuidv4);else _0x299dde[_0x569e53(0x1af)]&&_0x568903[_0x569e53(0x1ab)](_0xdaa03d,_0x568903[_0x569e53(0x1a2)])&&(_0x299dde['hookAnalyticsId']=_0x568903[_0x569e53(0x18a)](uuidv4),delete _0x299dde[_0x569e53(0x1af)]);});}),exports[_0x32082f(0x1a9)](_0x5175e0['parent']);},exports[a31_0x23de33(0x188)]=async(_0x1e931d,_0x184305)=>{const _0x33f0d4=a31_0x23de33,_0x4e2b4a={'ufWfp':function(_0x37d214){return _0x37d214();},'ucYkm':function(_0x91182,_0xd12b8e){return _0x91182(_0xd12b8e);},'GmgBy':function(_0x289c4e,_0x557629){return _0x289c4e(_0x557629);},'ZgYvB':function(_0x417c58,_0x1a655e){return _0x417c58===_0x1a655e;},'RCEhT':_0x33f0d4(0x187),'GDTwF':_0x33f0d4(0x193),'ZENxL':_0x33f0d4(0x198)};try{if(!_0x4e2b4a['ufWfp'](shouldProcessEventForTesthub))return;const _0x4cad6f=await _0x1e931d['getCapabilities'](),_0x2f87bd=await _0x1e931d['getSession'](),_0x49999e={},_0x250c05=Object[_0x33f0d4(0x1b9)](_0x2f87bd['getCapabilities']()['map_']),_0x593702={'product':_0x4e2b4a['ucYkm'](getObservabilityLinkedProductName,_0x250c05),'capabilities':_0x250c05,'platform':_0x4cad6f[_0x33f0d4(0x18d)](),'platform_version':_0x4e2b4a[_0x33f0d4(0x1bf)](getPlatformVersion,_0x4e2b4a[_0x33f0d4(0x1a0)](global[_0x33f0d4(0x1a5)],_0x4e2b4a[_0x33f0d4(0x1ba)])),'browser':_0x4cad6f[_0x33f0d4(0x1c1)](),'browser_version':_0x4cad6f[_0x33f0d4(0x181)](),'session_id':_0x2f87bd['toJSON']()};global[_0x33f0d4(0x1a5)]?_0x49999e[global[_0x33f0d4(0x1a5)]]=_0x593702:_0x49999e[_0x4e2b4a[_0x33f0d4(0x1c0)]]=_0x593702,process[_0x33f0d4(0x1a1)](_0x33f0d4(0x17d)+process[_0x33f0d4(0x1b0)],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x4e2b4a[_0x33f0d4(0x178)],'http_response':_0x49999e,'uuid':_0x184305});}catch(_0x142e8b){_0x4e2b4a[_0x33f0d4(0x1bf)](debug,_0x33f0d4(0x17c)+_0x142e8b);}},exports[a31_0x23de33(0x1c3)]=_0x446a38=>{const _0x50b776=a31_0x23de33,_0x3ccc00={};_0x3ccc00[_0x50b776(0x1b6)]=function(_0x17bdb4,_0x2fe23e){return _0x17bdb4!==_0x2fe23e;},_0x3ccc00[_0x50b776(0x1a7)]='hook',_0x3ccc00['dNpnf']=function(_0x18241c,_0x5e3142){return _0x18241c!==_0x5e3142;},_0x3ccc00[_0x50b776(0x19b)]=_0x50b776(0x1b4),_0x3ccc00[_0x50b776(0x17b)]=function(_0x5f1a54,_0x1fa9c4){return _0x5f1a54!==_0x1fa9c4;},_0x3ccc00[_0x50b776(0x17e)]='failed';const _0x578104=_0x3ccc00,_0x29aa0c=_0x446a38[_0x50b776(0x180)][_0x50b776(0x183)]((_0x27102b,_0x24b7a9)=>{const _0x53fd7c=_0x50b776,_0x15ace9=exports[_0x53fd7c(0x1c3)](_0x24b7a9);return _0x15ace9&&(_0x27102b=_0x27102b['concat'](_0x15ace9)),_0x27102b;},[]),_0x2ff8ef=_0x446a38[_0x50b776(0x18e)]['filter'](_0x32dfac=>{const _0x5517a6=_0x50b776,_0x55ea1d=_0x578104[_0x5517a6(0x1b6)](_0x32dfac[_0x5517a6(0x197)],_0x578104['JVxKF'])&&!_0x32dfac[_0x5517a6(0x1af)]&&_0x578104[_0x5517a6(0x195)](_0x32dfac[_0x5517a6(0x19c)],_0x578104[_0x5517a6(0x19b)])&&_0x578104[_0x5517a6(0x17b)](_0x32dfac['state'],_0x578104[_0x5517a6(0x17e)])&&!_0x32dfac[_0x5517a6(0x17f)];return _0x55ea1d;});return _0x2ff8ef[_0x50b776(0x186)](_0x29aa0c);};
1
+ function a31_0x1aae(_0x3cf28f,_0x596bc8){const _0x35cf49=a31_0x35cf();return a31_0x1aae=function(_0x1aaec9,_0x5ac556){_0x1aaec9=_0x1aaec9-0x96;let _0x285df4=_0x35cf49[_0x1aaec9];return _0x285df4;},a31_0x1aae(_0x3cf28f,_0x596bc8);}const a31_0x11e00d=a31_0x1aae;function a31_0x35cf(){const _0x2e893c=['_beforeAll','eydhD','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','getCapabilities','tests','4btWOvJ','substring','reduce','DLqtJ','markedStatus','_beforeEach','concat','getBrowserVersion','pending','passed','vNhTL','nFFiS','toISOString','bs:addPlatformDetails:','string','_afterEach','getBrowserName','3240402qHNPQs','split','RYJrf','gmAmb','cOkYT','filter','fromEntries','slice','SurOD','indexOf','oeMeX','urtic','8181859ARyobV','lodash','getSession','dqMJC','state','../../../helpers/testhub/utils','Mkehn','js-','__cloud_provider___','114861XopsCM','vTBEf','NUoJK','failed','getTestEnv','forEach','browserstack','TEST_PLATFORM','IeTID','../../../helpers/helper','JIVrv','TLYJN','suites','WXeuZ','vfZXv','BSHql','734070uvXPFV','5434230JsWRbw','23636232nwlynq','map_','mapTestHooks','getHooksForTest','_afterAll','hook','KtsWC','../../../helpers/test-observability/utils','../../../helpers/test-observability/constants','toJSON','../../utils/logPatcher','hookAnalyticsId','SGSej','parent','Wdbwf','getHookDetails','type','4847724cSweNI','lpwsF'];a31_0x35cf=function(){return _0x2e893c;};return a31_0x35cf();}(function(_0x57d524,_0x503b36){const _0x21f713=a31_0x1aae,_0xb9e3a1=_0x57d524();while(!![]){try{const _0x5c19f8=parseInt(_0x21f713(0xa0))/0x1*(-parseInt(_0x21f713(0xca))/0x2)+-parseInt(_0x21f713(0xdb))/0x3+-parseInt(_0x21f713(0xc3))/0x4+-parseInt(_0x21f713(0xb1))/0x5+parseInt(_0x21f713(0xb0))/0x6+parseInt(_0x21f713(0x97))/0x7+parseInt(_0x21f713(0xb2))/0x8;if(_0x5c19f8===_0x503b36)break;else _0xb9e3a1['push'](_0xb9e3a1['shift']());}catch(_0x4e9b3a){_0xb9e3a1['push'](_0xb9e3a1['shift']());}}}(a31_0x35cf,0x9b896));const {v4:uuidv4}=require('uuid'),{name,version}=require('../../../../package.json'),logPatcher=require(a31_0x11e00d(0xbc)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a31_0x11e00d(0xba)),{getPlatformVersion}=require(a31_0x11e00d(0xa9)),{shouldProcessEventForTesthub}=require(a31_0x11e00d(0x9c)),{isFunction}=require(a31_0x11e00d(0x98)),{patchConsoleLogger}=require(a31_0x11e00d(0xb9));patchConsoleLogger(),exports[a31_0x11e00d(0xa4)]=()=>{const _0x571076=a31_0x11e00d,_0x168834={'NUoJK':'generic','ZJnkj':function(_0x430059){return _0x430059();}};return{'ci':_0x168834[_0x571076(0xa2)],'key':_0x168834['ZJnkj'](uuidv4),'version':version,'collector':_0x571076(0x9e)+name};},exports[a31_0x11e00d(0xc1)]=_0x1f33ec=>{const _0x3f831f=a31_0x11e00d,_0x4b34b7={};_0x4b34b7['RYJrf']=function(_0x1a7534,_0x47fbce){return _0x1a7534!==_0x47fbce;},_0x4b34b7[_0x3f831f(0xad)]=_0x3f831f(0xd8),_0x4b34b7[_0x3f831f(0xaf)]='hook:',_0x4b34b7['lpwsF']=_0x3f831f(0xb7);const _0x3b0a8d=_0x4b34b7;if(!_0x1f33ec||_0x3b0a8d[_0x3f831f(0xdd)](typeof _0x1f33ec,_0x3b0a8d[_0x3f831f(0xad)]))return[null,null];if(_0x3b0a8d[_0x3f831f(0xdd)](_0x1f33ec['indexOf'](_0x3b0a8d[_0x3f831f(0xaf)]),-0x1)){const _0x395e78=_0x1f33ec[_0x3f831f(0xdc)](_0x3b0a8d[_0x3f831f(0xaf)]);return[_0x395e78[0x0][_0x3f831f(0xe2)](0x0,-0x1)['split']('\x22')[0x1],_0x395e78[0x1][_0x3f831f(0xcb)](0x1)];}else{if(_0x3b0a8d[_0x3f831f(0xdd)](_0x1f33ec[_0x3f831f(0xe4)](_0x3b0a8d[_0x3f831f(0xc4)]),-0x1)){const _0x558f06=_0x1f33ec[_0x3f831f(0xdc)](_0x3b0a8d[_0x3f831f(0xc4)]);return[_0x558f06[0x0][_0x3f831f(0xe2)](0x0,-0x1)[_0x3f831f(0xdc)]('\x22')[0x1],_0x1f33ec];}}return[null,null];},exports['getHooksForTest']=_0xe57bc7=>{const _0x5992cc=a31_0x11e00d,_0x182c50={'eydhD':function(_0x1f86c6,_0x5b4f61){return _0x1f86c6(_0x5b4f61);},'XnTtZ':_0x5992cc(0xc5),'BQWWA':_0x5992cc(0xb6),'KtsWC':_0x5992cc(0xcf),'Mkehn':_0x5992cc(0xd9)};if(!_0xe57bc7||!_0xe57bc7['parent'])return[];const _0xc8313d=[];return[_0x182c50['XnTtZ'],_0x182c50['BQWWA'],_0x182c50[_0x5992cc(0xb8)],_0x182c50[_0x5992cc(0x9d)]][_0x5992cc(0xa5)](_0x41d0db=>{const _0x34be46=_0xe57bc7['parent'][_0x41d0db]||[];_0x34be46['forEach'](_0x204d5b=>{const _0x587cdc=a31_0x1aae;_0x204d5b['hookAnalyticsId']&&!_0x182c50[_0x587cdc(0xc6)](isInternalHook,_0x204d5b['fn'])&&_0xc8313d['push'](_0x204d5b[_0x587cdc(0xbd)]);});}),[..._0xc8313d,...exports[_0x5992cc(0xb5)](_0xe57bc7['parent'])];},exports[a31_0x11e00d(0xb4)]=_0x2d43e8=>{const _0x2b9749=a31_0x11e00d,_0x16a4bc={'DLqtJ':function(_0x516671){return _0x516671();},'ppuRe':function(_0x2aa444,_0x454d79){return _0x2aa444===_0x454d79;},'urtic':_0x2b9749(0xd9),'SGSej':function(_0x1b0ec4){return _0x1b0ec4();},'gmAmb':_0x2b9749(0xc5),'JIVrv':'_afterAll','SurOD':_0x2b9749(0xcf)};if(!_0x2d43e8||!_0x2d43e8[_0x2b9749(0xbf)])return;[_0x16a4bc[_0x2b9749(0xde)],_0x16a4bc[_0x2b9749(0xaa)],_0x16a4bc[_0x2b9749(0xe3)],_0x16a4bc[_0x2b9749(0x96)]][_0x2b9749(0xa5)](_0x3cd478=>{const _0x437c5d=_0x2b9749,_0xc476eb=_0x2d43e8[_0x437c5d(0xbf)][_0x3cd478]||[];_0xc476eb['forEach'](_0x3ac45f=>{const _0x58016e=_0x437c5d;if(!_0x3ac45f[_0x58016e(0xbd)])_0x3ac45f[_0x58016e(0xbd)]=_0x16a4bc[_0x58016e(0xcd)](uuidv4);else _0x3ac45f['markedStatus']&&_0x16a4bc['ppuRe'](_0x3cd478,_0x16a4bc[_0x58016e(0x96)])&&(_0x3ac45f['hookAnalyticsId']=_0x16a4bc[_0x58016e(0xbe)](uuidv4),delete _0x3ac45f[_0x58016e(0xce)]);});}),exports['mapTestHooks'](_0x2d43e8[_0x2b9749(0xbf)]);},exports['sendPlatformDetails']=async(_0x21276b,_0x22b439)=>{const _0x5088c1=a31_0x11e00d,_0x4a4e7d={'vNhTL':function(_0x53309c){return _0x53309c();},'dqMJC':function(_0x113477,_0x3395cc){return _0x113477(_0x3395cc);},'rsgPX':function(_0xadf8fc,_0x5087c7){return _0xadf8fc===_0x5087c7;},'TLYJN':_0x5088c1(0xa6),'oeMeX':'unknown_grid','cOkYT':_0x5088c1(0xa7),'dlydB':function(_0x444778,_0x5bab65){return _0x444778(_0x5bab65);}};try{if(!_0x4a4e7d[_0x5088c1(0xd4)](shouldProcessEventForTesthub))return;const _0x3ba2a7=await _0x21276b[_0x5088c1(0xc8)](),_0x368ace=await _0x21276b[_0x5088c1(0x99)](),_0x243fc6={},_0x113eb3=Object[_0x5088c1(0xe1)](_0x368ace[_0x5088c1(0xc8)]()[_0x5088c1(0xb3)]),_0x9da418={'product':_0x4a4e7d[_0x5088c1(0x9a)](getObservabilityLinkedProductName,_0x113eb3),'capabilities':_0x113eb3,'platform':_0x3ba2a7['getPlatform'](),'platform_version':_0x4a4e7d[_0x5088c1(0x9a)](getPlatformVersion,_0x4a4e7d['rsgPX'](global[_0x5088c1(0x9f)],_0x4a4e7d[_0x5088c1(0xab)])),'browser':_0x3ba2a7[_0x5088c1(0xda)](),'browser_version':_0x3ba2a7[_0x5088c1(0xd1)](),'session_id':_0x368ace[_0x5088c1(0xbb)]()};global[_0x5088c1(0x9f)]?_0x243fc6[global[_0x5088c1(0x9f)]]=_0x9da418:_0x243fc6[_0x4a4e7d[_0x5088c1(0xe5)]]=_0x9da418,process['emit'](_0x5088c1(0xd7)+process['pid'],{'timestamp':new Date()[_0x5088c1(0xd6)](),'level':null,'message':null,'kind':_0x4a4e7d[_0x5088c1(0xdf)],'http_response':_0x243fc6,'uuid':_0x22b439});}catch(_0x1fe852){_0x4a4e7d['dlydB'](debug,_0x5088c1(0xc7)+_0x1fe852);}},exports['getHookSkippedTests']=_0x531218=>{const _0x48c907=a31_0x11e00d,_0x4cb3c5={};_0x4cb3c5['nFFiS']=function(_0x46789f,_0x4b63b3){return _0x46789f!==_0x4b63b3;},_0x4cb3c5[_0x48c907(0xc0)]=_0x48c907(0xb7),_0x4cb3c5['IeTID']=_0x48c907(0xd3),_0x4cb3c5['vTBEf']=function(_0x3cdd10,_0x43e585){return _0x3cdd10!==_0x43e585;},_0x4cb3c5[_0x48c907(0xae)]=_0x48c907(0xa3);const _0x342f1c=_0x4cb3c5,_0x251285=_0x531218[_0x48c907(0xac)][_0x48c907(0xcc)]((_0x22bbfc,_0x34879f)=>{const _0x54bb83=exports['getHookSkippedTests'](_0x34879f);return _0x54bb83&&(_0x22bbfc=_0x22bbfc['concat'](_0x54bb83)),_0x22bbfc;},[]),_0x4f7ee5=_0x531218[_0x48c907(0xc9)][_0x48c907(0xe0)](_0xaef721=>{const _0x7415b=_0x48c907,_0x448fb2=_0x342f1c['nFFiS'](_0xaef721[_0x7415b(0xc2)],_0x342f1c[_0x7415b(0xc0)])&&!_0xaef721['markedStatus']&&_0x342f1c[_0x7415b(0xd5)](_0xaef721[_0x7415b(0x9b)],_0x342f1c[_0x7415b(0xa8)])&&_0x342f1c[_0x7415b(0xa1)](_0xaef721[_0x7415b(0x9b)],_0x342f1c[_0x7415b(0xae)])&&!_0xaef721[_0x7415b(0xd2)];return _0x448fb2;});return _0x4f7ee5[_0x48c907(0xd0)](_0x251285);};
@@ -1 +1 @@
1
- const a32_0x72062f=a32_0x1e59;(function(_0x3965c1,_0x555c02){const _0xd037ae=a32_0x1e59,_0x535ff6=_0x3965c1();while(!![]){try{const _0x4728b2=parseInt(_0xd037ae(0x106))/0x1+parseInt(_0xd037ae(0xcb))/0x2+-parseInt(_0xd037ae(0xc6))/0x3+parseInt(_0xd037ae(0xea))/0x4+-parseInt(_0xd037ae(0xf8))/0x5+-parseInt(_0xd037ae(0xb6))/0x6+-parseInt(_0xd037ae(0xf7))/0x7*(-parseInt(_0xd037ae(0xd2))/0x8);if(_0x4728b2===_0x555c02)break;else _0x535ff6['push'](_0x535ff6['shift']());}catch(_0x4214f){_0x535ff6['push'](_0x535ff6['shift']());}}}(a32_0x14bf,0x62294));function a32_0x1e59(_0x22aec8,_0xa94d0e){const _0x14bf97=a32_0x14bf();return a32_0x1e59=function(_0x1e59b8,_0x2787d9){_0x1e59b8=_0x1e59b8-0xa5;let _0x3dc7d7=_0x14bf97[_0x1e59b8];return _0x3dc7d7;},a32_0x1e59(_0x22aec8,_0xa94d0e);}function a32_0x14bf(){const _0x5f5a32=['../../helpers/testhub/utils','shift','thTestRunUuid','length','startMonitoring','../../helpers/accessibility-automation/helper','isArray','JXQqO','__skipSessionName','Passed','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','YXtFJ','https:','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','saveTestResults','getCurrentUrl','mochaHooks','1920120KyVoIK','executeScript','setGlobal','percyCaptureMode','../../helpers/logger','stringify','Performing\x20scan\x20before\x20saving\x20results','timeout','VFJri','fqlvJ','\x20-\x20','pIlHM','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','env','olWaz','accessibilityScanStarted','752799vkfzBs','join','MQjAi','SCnOQ','testAnalyticsId','735964UcliTr','__sessionFailed','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','sessionNameSet__','UuKKW','TERpA',',\x22level\x22:\x20\x22','1640iDoMoe','thBuildUuid','titlePath','Automate\x20test\x20case\x20execution\x20has\x20started.','../../helpers/globals','BROWSERSTACK_TESTHUB_UUID','../../helpers/helper','KaDfS','ObservabilitySync:','QlAxr','bstackA11yShouldScan','currentTest','passed','debug','Failed:\x20','driverCleanup','EiqPi','ENV_VAR','err','then','protocol','failed','XrdEr','thJwtToken','2455436XNnxbw','stopMonitoring','now','testcase','../../helpers/accessibility-automation/scripts','zFaSo','util','app','\x22}}','isAccessibilityPlatform','winstonLogger','QNdKh','executeAsyncScript','16093hsjlwL','3177720yAYotb','hWmuI','message','CHaOH','hXMqM','capabilities','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','error','session_','http:','YSUPs','EcDSH','shouldScanTestForAccessibility','../../helpers/performance-tester','155429MZfNvA','quitCount_','../../helpers/percy/utils','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','CFOFB','ZIJwJ','browserstackSessionName','__drivers','info','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','.\x20Error\x20:','\x20|\x20','percy','format','state','getGlobal','bxrUv','__error_messages__'];a32_0x14bf=function(){return _0x5f5a32;};return a32_0x14bf();}const util=require(a32_0x72062f(0xf0)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x72062f(0xaa)),{percyAutoCapture}=require(a32_0x72062f(0x108)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require(a32_0x72062f(0xd8)),PerformanceTester=require(a32_0x72062f(0x105)),scripts=require(a32_0x72062f(0xee)),globals=require(a32_0x72062f(0xd6)),logger=require(a32_0x72062f(0xba))[a32_0x72062f(0xf4)],{shouldProcessEventForTesthub}=require(a32_0x72062f(0xa5)),testHubConstants=require('../../helpers/testhub/constants');exports[a32_0x72062f(0xb5)]={'beforeAll'(){const _0x454744=a32_0x72062f,_0x51d9e1={'JXQqO':function(_0x69f964,_0x2116f3,_0x3d0541,_0x4daa3e){return _0x69f964(_0x2116f3,_0x3d0541,_0x4daa3e);},'UuKKW':_0x454744(0xe7),'VFJri':_0x454744(0x111),'ZIJwJ':function(_0x26dfc3,_0x12585e,_0x2c4b7b){return _0x26dfc3(_0x12585e,_0x2c4b7b);},'CHaOH':_0x454744(0xde),'CFOFB':function(_0x4a81fb){return _0x4a81fb();},'WGZfz':function(_0x5adcab,_0x485564,_0x19c9fe){return _0x5adcab(_0x485564,_0x19c9fe);}};PerformanceTester[_0x454744(0xa9)]();const _0x1bbb49='browserstack internal helper hook';global['__error_messages__']=[],global[_0x454744(0xcc)]=![],global[_0x454744(0xe1)]=async()=>{const _0x52dfdc=_0x454744;let _0x5bfd2b=![];try{await global[_0x52dfdc(0x10d)][0x0][_0x52dfdc(0x100)],_0x5bfd2b=!![],global['__sessionFailed']?await _0x51d9e1[_0x52dfdc(0xac)](markSessionStatus,global[_0x52dfdc(0x10d)][0x0],_0x51d9e1[_0x52dfdc(0xcf)],global[_0x52dfdc(0x117)][_0x52dfdc(0xc7)](_0x51d9e1[_0x52dfdc(0xbe)])):await _0x51d9e1[_0x52dfdc(0x10b)](markSessionStatus,global[_0x52dfdc(0x10d)][0x0],_0x51d9e1[_0x52dfdc(0xfb)]);}catch(_0x3b14e1){}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x5bfd2b)try{try{_0x51d9e1[_0x52dfdc(0x10a)](shouldProcessEventForTesthub)&&(global[_0x52dfdc(0x10d)][0x0]&&await _0x51d9e1['WGZfz'](sendPlatformDetails,global[_0x52dfdc(0x10d)][0x0],this[_0x52dfdc(0xdd)]?this[_0x52dfdc(0xdd)][_0x52dfdc(0xca)]:null));}catch{}await global[_0x52dfdc(0x10d)][0x0]['initQuit']();}catch(_0x5385fb){}};},'beforeEach'(_0x2ce961){const _0x513432=a32_0x72062f,_0x3772c7={'olWaz':function(_0x35bff6,_0xb08b1d){return _0x35bff6>_0xb08b1d;},'hXMqM':_0x513432(0xc0),'pDNsq':function(_0xf128ba,_0x370ce8,_0x43b004){return _0xf128ba(_0x370ce8,_0x43b004);},'QPftx':_0x513432(0xdc),'YSUPs':function(_0x2c988f){return _0x2c988f();},'TERpA':_0x513432(0xf3),'QNdKh':function(_0x2a9f06,_0x250f69){return _0x2a9f06===_0x250f69;},'kbMGc':_0x513432(0x101),'GgMap':_0x513432(0xb1),'fqlvJ':_0x513432(0xaf),'XrdEr':_0x513432(0xd5),'DETeP':function(_0x5181be){return _0x5181be();}};new Promise(async _0x2a766c=>{const _0x96baef=_0x513432,_0x368ea1='browserstack internal helper hook';let _0xc88da7=!![];try{_0x3772c7['olWaz'](global['__drivers']['length'],0x1)&&(await global[_0x96baef(0xe1)](),global['__drivers'][_0x96baef(0xa6)]()),_0x3772c7[_0x96baef(0xc4)](global['__drivers'][0x0][_0x96baef(0x107)],0x0)&&(_0xc88da7=![],await global[_0x96baef(0xe1)]());}catch{}try{Array[_0x96baef(0xab)](global[_0x96baef(0x10d)])&&global['__drivers'][0x0]&&(global['__drivers'][0x0][_0x96baef(0x10c)]=this[_0x96baef(0xdd)][_0x96baef(0xd4)]()[_0x96baef(0xc7)](_0x3772c7[_0x96baef(0xfc)])),global[_0x96baef(0x10c)]=this[_0x96baef(0xdd)]['titlePath']()[_0x96baef(0xc7)](_0x3772c7[_0x96baef(0xfc)]);}catch(_0x1bc939){logger[_0x96baef(0xdf)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x1bc939);}this['currentTest'][_0x96baef(0x104)]=_0x3772c7['pDNsq'](shouldScanTestForAccessibility,this['currentTest']['titlePath'](),!![]),globals[_0x96baef(0xb8)](_0x3772c7['QPftx'],this[_0x96baef(0xdd)]['shouldScanTestForAccessibility']),this[_0x96baef(0xdd)]['accessibilityScanStarted']=!![];if(_0x3772c7[_0x96baef(0x102)](isAccessibilityAutomationSession)&&_0xc88da7&&Array[_0x96baef(0xab)](global[_0x96baef(0x10d)])&&_0x3772c7['olWaz'](global[_0x96baef(0x10d)]['length'],0x0)&&globals[_0x96baef(0x115)](_0x3772c7[_0x96baef(0xd0)]))try{const _0x42af4d=await global['__drivers'][0x0]['session_'];if(_0x42af4d){let _0x605e0b=!![];const _0x5f2606=await global[_0x96baef(0x10d)][0x0][_0x96baef(0xb4)]();let _0xa0fb3e;try{_0xa0fb3e=new URL(_0x5f2606);}catch(_0x1f731e){_0x605e0b=![];}_0x605e0b=_0x3772c7[_0x96baef(0xf5)](_0xa0fb3e[_0x96baef(0xe6)],_0x3772c7['kbMGc'])||_0x3772c7[_0x96baef(0xf5)](_0xa0fb3e[_0x96baef(0xe6)],_0x3772c7['GgMap']),_0x605e0b&&(this[_0x96baef(0xdd)][_0x96baef(0x104)]&&logger[_0x96baef(0x10e)](_0x3772c7[_0x96baef(0xbf)])),this[_0x96baef(0xdd)][_0x96baef(0xc5)]=this[_0x96baef(0xdd)]['shouldScanTestForAccessibility'],this[_0x96baef(0xdd)]['shouldScanTestForAccessibility']&&logger[_0x96baef(0x10e)](_0x3772c7[_0x96baef(0xe8)]);}}catch(_0x5964aa){logger[_0x96baef(0xff)](_0x96baef(0xb2)+util[_0x96baef(0x113)](_0x5964aa));}_0x3772c7['DETeP'](_0x2a766c);})[_0x513432(0xe5)](_0x2ce961);},'afterEach'(_0x739742){const _0x25c8b0=a32_0x72062f,_0x4d2669={'pIlHM':function(_0x3b1441,_0x492dd7){return _0x3b1441>_0x492dd7;},'smowp':function(_0x5a726f,_0x2653c7){return _0x5a726f===_0x2653c7;},'hWmuI':_0x25c8b0(0xed),'WgaXi':function(_0x81ee08,_0x37fc75){return _0x81ee08>_0x37fc75;},'YXtFJ':'appium:app','zFaSo':function(_0x268a53,_0x48f59a,_0x47adf7,_0x446d4f){return _0x268a53(_0x48f59a,_0x47adf7,_0x446d4f);},'LoCPP':_0x25c8b0(0xc0),'PiuZK':function(_0x365238,_0x56f65d){return _0x365238!==_0x56f65d;},'GPlca':_0x25c8b0(0xde),'EcDSH':function(_0x482d39,_0xc214c1,_0x2fff28){return _0x482d39(_0xc214c1,_0x2fff28);},'WlgUV':function(_0x4aba37,_0x5d4624){return _0x4aba37+_0x5d4624;},'KaDfS':_0x25c8b0(0xe0),'kLpOs':'error','yrFFO':_0x25c8b0(0xae),'mtyxB':_0x25c8b0(0x10e),'MQjAi':_0x25c8b0(0xf3),'TLKCy':_0x25c8b0(0xdc),'QlAxr':_0x25c8b0(0x109),'aXgnL':_0x25c8b0(0xbc),'TAMhp':_0x25c8b0(0xfe),'bxrUv':function(_0x52feef){return _0x52feef();},'SCnOQ':'debug','CrwVv':function(_0x519e0a,_0x5a7c5c){return _0x519e0a>_0x5a7c5c;}},_0x14b6ee='browserstack internal helper hook';this[_0x25c8b0(0xbd)](0xfde8);const _0x5288ba=async(_0x1f64a5,_0x1fa81a)=>{const _0xd5650e=_0x25c8b0;await global[_0xd5650e(0x10d)][0x0][_0xd5650e(0xb7)](_0xd5650e(0xcd)+_0x1f64a5+_0xd5650e(0xd1)+_0x1fa81a+_0xd5650e(0xf2));};new Promise(async _0x541864=>{const _0x228618=_0x25c8b0;try{_0x4d2669[_0x228618(0xc1)](global[_0x228618(0x10d)][_0x228618(0xa8)],0x1)&&(await global[_0x228618(0xe1)](),global[_0x228618(0x10d)]['shift'](),global[_0x228618(0x117)]=[],global[_0x228618(0xcc)]=![]);try{if(global[_0x228618(0x112)]&&_0x4d2669['smowp'](global[_0x228618(0xb9)],_0x4d2669[_0x228618(0xf9)])&&global[_0x228618(0x10d)][0x0]){const _0x5d088e=_0x4d2669['WgaXi'](global[_0x228618(0xfd)][_0x228618(0xa8)],0x0)?!!global[_0x228618(0xfd)][0x0][_0x228618(0xf1)]||!!global[_0x228618(0xfd)][0x0][_0x4d2669[_0x228618(0xb0)]]:![],_0x1322f5={};_0x1322f5[_0x228618(0xf1)]=_0x5d088e,await _0x4d2669[_0x228618(0xef)](percyAutoCapture,global[_0x228618(0x10d)][0x0],_0x4d2669['hWmuI'],_0x1322f5);}}catch(_0x219083){}!global[_0x228618(0xad)]&&(await global[_0x228618(0x10d)][0x0]['executeScript'](_0x228618(0xc2)+JSON[_0x228618(0xbb)](this[_0x228618(0xdd)]['titlePath']()[_0x228618(0xc7)](_0x4d2669['LoCPP']))+'}}'),global[_0x228618(0x10d)][0x0][_0x228618(0xce)]=!![]);const _0x4b2da6=_0x4d2669['PiuZK'](this[_0x228618(0xdd)][_0x228618(0x114)],_0x4d2669['GPlca']);_0x4b2da6?(global[_0x228618(0xcc)]=!![],global[_0x228618(0x117)]['push'](this['currentTest'][_0x228618(0xe4)][_0x228618(0xfa)]),await _0x4d2669[_0x228618(0x103)](_0x5288ba,JSON[_0x228618(0xbb)](_0x4d2669['WlgUV'](_0x4d2669[_0x228618(0xd9)],this[_0x228618(0xdd)]['err'][_0x228618(0xfa)])),_0x4d2669['kLpOs'])):await _0x4d2669[_0x228618(0x103)](_0x5288ba,JSON[_0x228618(0xbb)](_0x4d2669['yrFFO']),_0x4d2669['mtyxB']);}catch(_0x2d211a){}try{if(this['currentTest'][_0x228618(0xc5)]&&globals['getGlobal'](_0x4d2669[_0x228618(0xc8)])&&globals['getGlobal'](_0x4d2669['TLKCy'])){logger[_0x228618(0x10e)](_0x4d2669[_0x228618(0xdb)]);const _0x3e43f5={};_0x3e43f5[_0x228618(0xa7)]=this[_0x228618(0xdd)][_0x228618(0xca)],_0x3e43f5[_0x228618(0xd3)]=process[_0x228618(0xc3)][testHubConstants['ENV_VAR'][_0x228618(0xd7)]],_0x3e43f5[_0x228618(0xe9)]=process[_0x228618(0xc3)][testHubConstants[_0x228618(0xe3)]['BROWSERSTACK_TESTHUB_JWT']];const _0x213555=_0x3e43f5;logger[_0x228618(0xdf)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x228618(0xbb)](_0x213555)),logger[_0x228618(0xdf)](_0x4d2669['aXgnL']),logger[_0x228618(0xdf)](util[_0x228618(0x113)](await global[_0x228618(0x10d)][0x0][_0x228618(0xf6)](scripts['performScan'],{'method':global[_0x228618(0x10c)]}))),await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x228618(0xb3)],_0x213555),logger[_0x228618(0x10e)](_0x4d2669['TAMhp']);}}catch(_0x446900){logger[_0x228618(0xff)](_0x228618(0x10f)+this[_0x228618(0xdd)]['titlePath']()+_0x228618(0x110),_0x446900);}try{try{if(_0x4d2669[_0x228618(0x116)](shouldProcessEventForTesthub)){global[_0x228618(0x10d)][0x0]&&await _0x4d2669[_0x228618(0x103)](sendPlatformDetails,global[_0x228618(0x10d)][0x0],this['currentTest']?this['currentTest'][_0x228618(0xca)]:null);if(_0x4d2669[_0x228618(0x116)](isBrowserstackInfra)){const _0x3d7260=_0x228618(0xda)+Date[_0x228618(0xec)]();await _0x4d2669['EcDSH'](_0x5288ba,JSON[_0x228618(0xbb)](_0x3d7260),_0x4d2669[_0x228618(0xc9)]);}}}catch{}_0x4d2669['CrwVv'](global['__drivers'][0x0][_0x228618(0x107)],0x0)&&await global['driverCleanup']();}catch(_0x197134){}_0x4d2669['bxrUv'](_0x541864);})[_0x25c8b0(0xe5)](()=>_0x739742());},'afterAll'(_0x9d57f9){const _0x459ac4=a32_0x72062f,_0x20883f={'EiqPi':function(_0x5651ad){return _0x5651ad();}},_0x199593='browserstack internal helper hook';this[_0x459ac4(0xbd)](0xfde8),new Promise(async _0x5db866=>{const _0x585b6f=_0x459ac4;PerformanceTester[_0x585b6f(0xeb)](),await global[_0x585b6f(0xe1)](),_0x20883f[_0x585b6f(0xe2)](_0x5db866);})['then'](()=>_0x9d57f9());}};
1
+ const a32_0x1145f1=a32_0x4962;function a32_0x4962(_0x127226,_0x4d7c26){const _0x4c7b67=a32_0x4c7b();return a32_0x4962=function(_0x49627a,_0x33f002){_0x49627a=_0x49627a-0x19f;let _0x1978eb=_0x4c7b67[_0x49627a];return _0x1978eb;},a32_0x4962(_0x127226,_0x4d7c26);}(function(_0x232ce2,_0x1bc094){const _0x37c7b6=a32_0x4962,_0x59dec3=_0x232ce2();while(!![]){try{const _0x500fce=-parseInt(_0x37c7b6(0x208))/0x1*(parseInt(_0x37c7b6(0x201))/0x2)+parseInt(_0x37c7b6(0x1ae))/0x3*(-parseInt(_0x37c7b6(0x1d3))/0x4)+parseInt(_0x37c7b6(0x1de))/0x5+parseInt(_0x37c7b6(0x1c7))/0x6+parseInt(_0x37c7b6(0x206))/0x7+-parseInt(_0x37c7b6(0x1c5))/0x8*(parseInt(_0x37c7b6(0x1f9))/0x9)+parseInt(_0x37c7b6(0x1ad))/0xa*(parseInt(_0x37c7b6(0x1b4))/0xb);if(_0x500fce===_0x1bc094)break;else _0x59dec3['push'](_0x59dec3['shift']());}catch(_0x219867){_0x59dec3['push'](_0x59dec3['shift']());}}}(a32_0x4c7b,0x9f61a));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0x1145f1(0x1b6)),{sendPlatformDetails}=require(a32_0x1145f1(0x203)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x1145f1(0x1cd)),PerformanceTester=require(a32_0x1145f1(0x1fb)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a32_0x1145f1(0x1f6)),logger=require('../../helpers/logger')[a32_0x1145f1(0x218)],{shouldProcessEventForTesthub}=require(a32_0x1145f1(0x1a3)),testHubConstants=require(a32_0x1145f1(0x1b3));function a32_0x4c7b(){const _0x9de3d7=['Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Cdihp','shift','dcRVZ','bfyhO','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','shouldScanTestForAccessibility','Automate\x20test\x20case\x20execution\x20has\x20started.','IgenJ','info','LWwBg','TUFAA','ddFMt','YHvJU',',\x22level\x22:\x20\x22','thBuildUuid','WmtIF','https:','timeout','capabilities','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','QVPhb','../../helpers/globals','HMwmD','appium:app','189OfNrCX','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../../helpers/performance-tester','getGlobal','NyTro','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','sessionNameSet__','__error_messages__','41618DsEyBc','accessibilityScanStarted','./test-observability/mochaUtils','state','isArray','422562hnnTpI','EDZfn','1CcVKvO','join','stringify','thTestRunUuid','executeAsyncScript','\x22}}','YEbym','thJwtToken','bPDGu','ObservabilitySync:','error','titlePath','isAccessibilityPlatform','QSqkI','AnqDP','\x20|\x20','winstonLogger','pwgZh','debug','quitCount_','http:','ENV_VAR','../../helpers/testhub/utils','startMonitoring','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','.\x20Error\x20:','qjoQh','PdoWo','KactA','Failed\x20to\x20store\x20session\x20name:\x20','XlxHs','testAnalyticsId','518120PgiGAq','2360409FurqCx','__drivers','BROWSERSTACK_TESTHUB_UUID','performScan','Nfntq','../../helpers/testhub/constants','132jYvwOn','Failed:\x20','../../helpers/percy/utils','Uuajv','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','__sessionFailed','app','cxGnT','OnhQx','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','XxYOB','OCmnp','YMJUO','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','Performing\x20scan\x20before\x20saving\x20results','format','mWVpK','61368hhrkQT','currentTest','4855794BmIUdj','Passed','YhSxR','then','GIAYM','env','../../helpers/helper','passed','push','\x20-\x20','mochaHooks','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','4QegjDh','percyCaptureMode','message','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','AiKSR','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','length','driverCleanup','percy','err','executeScript','650600jHRoBm'];a32_0x4c7b=function(){return _0x9de3d7;};return a32_0x4c7b();}exports[a32_0x1145f1(0x1d1)]={'beforeAll'(){const _0x438ddf=a32_0x1145f1,_0xaee44e={'TUFAA':function(_0x4a1c34,_0x14d4f2,_0x5db1a4,_0x4b35be){return _0x4a1c34(_0x14d4f2,_0x5db1a4,_0x4b35be);},'eRjkM':'failed','YMJUO':_0x438ddf(0x217),'PdoWo':function(_0x523e8b,_0x14eeec,_0x30e918){return _0x523e8b(_0x14eeec,_0x30e918);},'NBGhH':_0x438ddf(0x1ce),'ZIjOB':function(_0x251d02){return _0x251d02();},'CZDtj':function(_0x57fde3,_0xcd41,_0x34a4b8){return _0x57fde3(_0xcd41,_0x34a4b8);}};PerformanceTester[_0x438ddf(0x1a4)]();const _0x32801d='browserstack internal helper hook';global[_0x438ddf(0x200)]=[],global[_0x438ddf(0x1b9)]=![],global['driverCleanup']=async()=>{const _0xeacc1c=_0x438ddf;let _0x25d64b=![];try{await global[_0xeacc1c(0x1af)][0x0]['session_'],_0x25d64b=!![],global[_0xeacc1c(0x1b9)]?await _0xaee44e[_0xeacc1c(0x1eb)](markSessionStatus,global[_0xeacc1c(0x1af)][0x0],_0xaee44e['eRjkM'],global[_0xeacc1c(0x200)][_0xeacc1c(0x209)](_0xaee44e[_0xeacc1c(0x1c0)])):await _0xaee44e[_0xeacc1c(0x1a8)](markSessionStatus,global[_0xeacc1c(0x1af)][0x0],_0xaee44e['NBGhH']);}catch(_0x2f2d1d){logger[_0xeacc1c(0x19f)](_0xeacc1c(0x1b8)+_0x2f2d1d);}global[_0xeacc1c(0x200)]=[],global['__sessionFailed']=![];if(_0x25d64b)try{try{_0xaee44e['ZIjOB'](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0xaee44e['CZDtj'](sendPlatformDetails,global['__drivers'][0x0],this[_0xeacc1c(0x1c6)]?this['currentTest'][_0xeacc1c(0x1ac)]:null));}catch(_0x2ab09d){logger['debug'](_0xeacc1c(0x1a5)+_0x2ab09d);}await global[_0xeacc1c(0x1af)][0x0]['initQuit']();}catch(_0x37996d){logger[_0xeacc1c(0x19f)](_0xeacc1c(0x1fe)+_0x37996d);}};},'beforeEach'(_0x219fb2){const _0x2b48a6=a32_0x1145f1,_0x50bac1={'Uuajv':function(_0x441892,_0x35d030){return _0x441892>_0x35d030;},'cxGnT':function(_0x733483,_0x212c64){return _0x733483>_0x212c64;},'AnqDP':_0x2b48a6(0x1d0),'OCmnp':function(_0x2b1f10,_0x4816aa,_0x22c554){return _0x2b1f10(_0x4816aa,_0x22c554);},'Nfntq':'bstackA11yShouldScan','pwgZh':function(_0x52bcba){return _0x52bcba();},'EDZfn':_0x2b48a6(0x214),'Cdihp':function(_0x269847,_0x55d481){return _0x269847===_0x55d481;},'qjoQh':_0x2b48a6(0x1a1),'LWwBg':function(_0x25b1c5,_0x3b343e){return _0x25b1c5===_0x3b343e;},'mVOoP':_0x2b48a6(0x1f1),'mJReT':_0x2b48a6(0x1e5),'QSqkI':_0x2b48a6(0x1e7)};new Promise(async _0x4d867b=>{const _0x597c45=_0x2b48a6,_0x8a63ee='browserstack internal helper hook';let _0x385749=!![];try{_0x50bac1[_0x597c45(0x1b7)](global[_0x597c45(0x1af)][_0x597c45(0x1d9)],0x1)&&(await global[_0x597c45(0x1da)](),global['__drivers'][_0x597c45(0x1e2)]()),_0x50bac1[_0x597c45(0x1bb)](global['__drivers'][0x0][_0x597c45(0x1a0)],0x0)&&(_0x385749=![],await global[_0x597c45(0x1da)]());}catch(_0x485109){logger[_0x597c45(0x19f)](_0x597c45(0x1fe)+_0x485109);}try{Array[_0x597c45(0x205)](global[_0x597c45(0x1af)])&&global['__drivers'][0x0]&&(global[_0x597c45(0x1af)][0x0]['browserstackSessionName']=this[_0x597c45(0x1c6)]['titlePath']()[_0x597c45(0x209)](_0x50bac1['AnqDP'])),global['browserstackSessionName']=this[_0x597c45(0x1c6)]['titlePath']()[_0x597c45(0x209)](_0x50bac1[_0x597c45(0x216)]);}catch(_0x5f15f4){logger[_0x597c45(0x19f)](_0x597c45(0x1aa)+_0x5f15f4);}this[_0x597c45(0x1c6)][_0x597c45(0x1e6)]=_0x50bac1[_0x597c45(0x1bf)](shouldScanTestForAccessibility,this[_0x597c45(0x1c6)]['titlePath'](),!![]),globals['setGlobal'](_0x50bac1[_0x597c45(0x1b2)],this['currentTest']['shouldScanTestForAccessibility']),this[_0x597c45(0x1c6)][_0x597c45(0x202)]=!![];if(_0x50bac1[_0x597c45(0x219)](isAccessibilityAutomationSession)&&_0x385749&&Array['isArray'](global[_0x597c45(0x1af)])&&_0x50bac1[_0x597c45(0x1bb)](global['__drivers'][_0x597c45(0x1d9)],0x0)&&globals[_0x597c45(0x1fc)](_0x50bac1[_0x597c45(0x207)]))try{const _0x4628d7=await global[_0x597c45(0x1af)][0x0]['session_'];if(_0x4628d7){let _0x3047b1=!![];const _0x3ef50b=await global[_0x597c45(0x1af)][0x0]['getCurrentUrl']();let _0x3db415;try{_0x3db415=new URL(_0x3ef50b);}catch(_0x3f4f79){_0x3047b1=![];}_0x3047b1=_0x50bac1[_0x597c45(0x1e1)](_0x3db415['protocol'],_0x50bac1[_0x597c45(0x1a7)])||_0x50bac1[_0x597c45(0x1ea)](_0x3db415['protocol'],_0x50bac1['mVOoP']),_0x3047b1&&(this['currentTest'][_0x597c45(0x1e6)]&&logger[_0x597c45(0x1e9)](_0x50bac1['mJReT'])),this[_0x597c45(0x1c6)][_0x597c45(0x202)]=this['currentTest'][_0x597c45(0x1e6)],this[_0x597c45(0x1c6)][_0x597c45(0x1e6)]&&logger[_0x597c45(0x1e9)](_0x50bac1[_0x597c45(0x215)]);}}catch(_0x49da0a){logger[_0x597c45(0x212)](_0x597c45(0x1df)+util[_0x597c45(0x1c3)](_0x49da0a));}_0x50bac1[_0x597c45(0x219)](_0x4d867b);})['then'](_0x219fb2);},'afterEach'(_0x498f25){const _0x36223b=a32_0x1145f1,_0xbef991={'AiKSR':function(_0x15b4ad,_0x595f09){return _0x15b4ad>_0x595f09;},'XxYOB':function(_0x5928a3,_0x4bfb20){return _0x5928a3===_0x4bfb20;},'OnhQx':'testcase','KactA':function(_0x42c3d0,_0x35e57e){return _0x42c3d0>_0x35e57e;},'rThqp':_0x36223b(0x1f8),'WmtIF':function(_0x4e05b9,_0x35ecd6,_0x53824d,_0x1265a8){return _0x4e05b9(_0x35ecd6,_0x53824d,_0x1265a8);},'ddFMt':'\x20-\x20','AhQyn':function(_0x480400,_0x128c66){return _0x480400!==_0x128c66;},'NyTro':_0x36223b(0x1ce),'QVPhb':function(_0x580551,_0xa9c07c,_0x52f156){return _0x580551(_0xa9c07c,_0x52f156);},'XlxHs':function(_0x5d4011,_0x58a5e1){return _0x5d4011+_0x58a5e1;},'GIAYM':_0x36223b(0x1b5),'YEbym':_0x36223b(0x212),'dcRVZ':function(_0x1264fc,_0x471201,_0x2562fe){return _0x1264fc(_0x471201,_0x2562fe);},'DvxgW':_0x36223b(0x1c8),'LrDRm':_0x36223b(0x1e9),'RvmFY':_0x36223b(0x214),'bfyhO':'bstackA11yShouldScan','IgenJ':_0x36223b(0x1f4),'YHvJU':_0x36223b(0x1c2),'HMwmD':_0x36223b(0x1e0),'mWVpK':function(_0x3466b3){return _0x3466b3();},'xrOXo':function(_0x27d008){return _0x27d008();},'YhSxR':_0x36223b(0x19f),'bPDGu':function(_0x304f5c){return _0x304f5c();}},_0x9f42cd='browserstack internal helper hook';this['timeout'](0xfde8);const _0x5d14a3=async(_0x3616cf,_0x160161)=>{const _0x393414=_0x36223b;await global[_0x393414(0x1af)][0x0][_0x393414(0x1dd)](_0x393414(0x1fa)+_0x3616cf+_0x393414(0x1ee)+_0x160161+_0x393414(0x20d));};new Promise(async _0x24263c=>{const _0x428916=_0x36223b;try{_0xbef991[_0x428916(0x1d7)](global[_0x428916(0x1af)]['length'],0x1)&&(await global[_0x428916(0x1da)](),global['__drivers']['shift'](),global[_0x428916(0x200)]=[],global[_0x428916(0x1b9)]=![]);try{if(global[_0x428916(0x1db)]&&_0xbef991[_0x428916(0x1be)](global[_0x428916(0x1d4)],_0xbef991['OnhQx'])&&global['__drivers'][0x0]){const _0x160a40=_0xbef991['KactA'](global['capabilities'][_0x428916(0x1d9)],0x0)?!!global['capabilities'][0x0][_0x428916(0x1ba)]||!!global[_0x428916(0x1f3)][0x0][_0xbef991['rThqp']]:![],_0x1684f4={};_0x1684f4[_0x428916(0x1ba)]=_0x160a40,await _0xbef991[_0x428916(0x1f0)](percyAutoCapture,global[_0x428916(0x1af)][0x0],_0xbef991[_0x428916(0x1bc)],_0x1684f4);}}catch(_0xb42682){logger[_0x428916(0x19f)](_0x428916(0x1bd)+_0xb42682);}!global['__skipSessionName']&&(await global['__drivers'][0x0][_0x428916(0x1dd)](_0x428916(0x1d8)+JSON['stringify'](this[_0x428916(0x1c6)][_0x428916(0x213)]()[_0x428916(0x209)](_0xbef991[_0x428916(0x1ec)]))+'}}'),global[_0x428916(0x1af)][0x0][_0x428916(0x1ff)]=!![]);const _0x26af4b=_0xbef991['AhQyn'](this[_0x428916(0x1c6)][_0x428916(0x204)],_0xbef991[_0x428916(0x1fd)]);_0x26af4b?(global[_0x428916(0x1b9)]=!![],global[_0x428916(0x200)][_0x428916(0x1cf)](this[_0x428916(0x1c6)]['err'][_0x428916(0x1d5)]),await _0xbef991['QVPhb'](_0x5d14a3,JSON[_0x428916(0x20a)](_0xbef991[_0x428916(0x1ab)](_0xbef991[_0x428916(0x1cb)],this[_0x428916(0x1c6)][_0x428916(0x1dc)]['message'])),_0xbef991[_0x428916(0x20e)])):await _0xbef991['dcRVZ'](_0x5d14a3,JSON[_0x428916(0x20a)](_0xbef991['DvxgW']),_0xbef991['LrDRm']);}catch(_0x6bc911){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x6bc911);}try{if(this[_0x428916(0x1c6)][_0x428916(0x202)]&&globals[_0x428916(0x1fc)](_0xbef991['RvmFY'])&&globals[_0x428916(0x1fc)](_0xbef991[_0x428916(0x1e4)])){logger[_0x428916(0x1e9)](_0xbef991[_0x428916(0x1e8)]);const _0x5c4802={};_0x5c4802[_0x428916(0x20b)]=this['currentTest'][_0x428916(0x1ac)],_0x5c4802[_0x428916(0x1ef)]=process['env'][testHubConstants[_0x428916(0x1a2)][_0x428916(0x1b0)]],_0x5c4802[_0x428916(0x20f)]=process[_0x428916(0x1cc)][testHubConstants[_0x428916(0x1a2)]['BROWSERSTACK_TESTHUB_JWT']];const _0x4a64a8=_0x5c4802;logger[_0x428916(0x19f)](_0x428916(0x1d2)+JSON[_0x428916(0x20a)](_0x4a64a8)),logger[_0x428916(0x19f)](_0xbef991[_0x428916(0x1ed)]),logger[_0x428916(0x19f)](util[_0x428916(0x1c3)](await global[_0x428916(0x1af)][0x0][_0x428916(0x20c)](scripts[_0x428916(0x1b1)],{'method':global['browserstackSessionName']}))),await global[_0x428916(0x1af)][0x0][_0x428916(0x20c)](scripts['saveTestResults'],_0x4a64a8),logger[_0x428916(0x1e9)](_0xbef991[_0x428916(0x1f7)]);}}catch(_0x527a98){logger[_0x428916(0x212)](_0x428916(0x1c1)+this[_0x428916(0x1c6)][_0x428916(0x213)]()+_0x428916(0x1a6),_0x527a98);}try{try{if(_0xbef991[_0x428916(0x1c4)](shouldProcessEventForTesthub)){global[_0x428916(0x1af)][0x0]&&await _0xbef991[_0x428916(0x1f5)](sendPlatformDetails,global[_0x428916(0x1af)][0x0],this[_0x428916(0x1c6)]?this['currentTest'][_0x428916(0x1ac)]:null);if(_0xbef991['xrOXo'](isBrowserstackInfra)){const _0x5c2ea4=_0x428916(0x211)+Date['now']();await _0xbef991[_0x428916(0x1e3)](_0x5d14a3,JSON[_0x428916(0x20a)](_0x5c2ea4),_0xbef991[_0x428916(0x1c9)]);}}}catch(_0x3d1cae){logger[_0x428916(0x19f)](_0x428916(0x1d6)+_0x3d1cae);}_0xbef991[_0x428916(0x1a9)](global[_0x428916(0x1af)][0x0]['quitCount_'],0x0)&&await global['driverCleanup']();}catch(_0x203d5f){logger[_0x428916(0x19f)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x203d5f);}_0xbef991[_0x428916(0x210)](_0x24263c);})[_0x36223b(0x1ca)](()=>_0x498f25());},'afterAll'(_0x13d21f){const _0x1c706d=a32_0x1145f1,_0x21c999={'LyBME':function(_0x279667){return _0x279667();}},_0xb5f78c='browserstack internal helper hook';this[_0x1c706d(0x1f2)](0xfde8),new Promise(async _0x19288a=>{const _0x98f411=_0x1c706d;PerformanceTester['stopMonitoring'](),await global[_0x98f411(0x1da)](),_0x21c999['LyBME'](_0x19288a);})[_0x1c706d(0x1ca)](()=>_0x13d21f());}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x5d7adb=a33_0x545e;(function(_0x4bee1f,_0x6108f7){const _0x46075d=a33_0x545e,_0x101012=_0x4bee1f();while(!![]){try{const _0x2a5676=parseInt(_0x46075d(0x1f5))/0x1*(parseInt(_0x46075d(0x219))/0x2)+-parseInt(_0x46075d(0x1fc))/0x3+parseInt(_0x46075d(0x212))/0x4*(-parseInt(_0x46075d(0x22b))/0x5)+parseInt(_0x46075d(0x20a))/0x6+-parseInt(_0x46075d(0x1ef))/0x7+-parseInt(_0x46075d(0x222))/0x8+-parseInt(_0x46075d(0x1fa))/0x9*(-parseInt(_0x46075d(0x21d))/0xa);if(_0x2a5676===_0x6108f7)break;else _0x101012['push'](_0x101012['shift']());}catch(_0x14372f){_0x101012['push'](_0x101012['shift']());}}}(a33_0x5723,0x3e6cd));function a33_0x545e(_0x1fecd8,_0x2e4c6){const _0x57237d=a33_0x5723();return a33_0x545e=function(_0x545e35,_0x583a38){_0x545e35=_0x545e35-0x1e3;let _0x5203a2=_0x57237d[_0x545e35];return _0x5203a2;},a33_0x545e(_0x1fecd8,_0x2e4c6);}const fs=require('fs'),path=require(a33_0x5d7adb(0x213)),{spawn}=require(a33_0x5d7adb(0x1f9)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a33_0x5d7adb(0x1e5)),helper=require(a33_0x5d7adb(0x21e)),constants=require(a33_0x5d7adb(0x1eb)),getUserNightwatchConfigs=(_0x5cbb85,_0x1df698)=>{const _0x2302ef=a33_0x5d7adb,_0x291926={'QWjbR':_0x2302ef(0x206),'hFcQm':_0x2302ef(0x1e6),'gBJAL':function(_0x5be9ec,_0x4d55f3){return _0x5be9ec(_0x4d55f3);},'ziEWx':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x38bfcb=null,_0x5614d0={};const _0x7fff6d=_0x1df698['findIndex'](_0x41f857=>_0x41f857===_0x2302ef(0x21b));if(!helper[_0x2302ef(0x218)](_0x5cbb85[_0x2302ef(0x1e9)])&&fs[_0x2302ef(0x1f3)](path[_0x2302ef(0x21c)](process['cwd'](),_0x5cbb85[_0x2302ef(0x1e9)])))_0x38bfcb=path[_0x2302ef(0x21c)](process[_0x2302ef(0x210)](),_0x5cbb85[_0x2302ef(0x1e9)]),_0x1df698['splice'](_0x7fff6d,0x2);else{if(fs['existsSync'](path['join'](process[_0x2302ef(0x210)](),_0x291926[_0x2302ef(0x1f7)])))_0x38bfcb=path[_0x2302ef(0x21c)](process[_0x2302ef(0x210)](),_0x291926[_0x2302ef(0x1f7)]);else fs['existsSync'](path[_0x2302ef(0x21c)](process[_0x2302ef(0x210)](),_0x291926[_0x2302ef(0x203)]))&&(_0x38bfcb=path[_0x2302ef(0x21c)](process[_0x2302ef(0x210)](),_0x291926[_0x2302ef(0x203)]));}return _0x38bfcb?(logger[_0x2302ef(0x1f4)](_0x2302ef(0x223)+_0x38bfcb),_0x5614d0=_0x291926[_0x2302ef(0x202)](require,_0x38bfcb)):logger[_0x2302ef(0x1f4)](_0x291926[_0x2302ef(0x20e)]),_0x5614d0;},removeExistingEnvs=_0x5e8f77=>{const _0x577d85=a33_0x5d7adb,_0xd770f0={};_0xd770f0['SYdny']=function(_0x4ed0aa,_0x210cc9){return _0x4ed0aa>_0x210cc9;};const _0x4837be=_0xd770f0;let _0x183f7c=_0x5e8f77[_0x577d85(0x1ec)](_0x44caee=>_0x44caee===_0x577d85(0x227));_0x4837be[_0x577d85(0x21a)](_0x183f7c,-0x1)&&_0x5e8f77[_0x577d85(0x1ed)](_0x183f7c,0x2),_0x183f7c=_0x5e8f77[_0x577d85(0x1ec)](_0x18f32b=>_0x18f32b==='-e'),_0x4837be[_0x577d85(0x21a)](_0x183f7c,-0x1)&&_0x5e8f77[_0x577d85(0x1ed)](_0x183f7c,0x2);};function a33_0x5723(){const _0x21279b=['VfKit','nightwatch','webdriver','gBJAL','hFcQm','trim','YdQcD','nightwatch.conf.js','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','map','feOrg','586368UXOwQJ','test','filter','inherit','ziEWx','forEach','cwd','selenium','317140OzqEIK','path','lizoh','host','nightwatch.cmd','start_process','isUndefined','65206VzNUNk','SYdny','--config','join','6721810SnfYVa','../../helpers/helper','zBees','useW3C','stringify','2318192gtavqB','Getting\x20your\x20nightwatch\x20configs\x20from\x20','unlinkSync','now','split','--env','hub.browserstack.com','platforms','push','25rOnxhs','writeFileSync','uqiSe','../../helpers/BrowserStackSetup','nightwatch.json','platform','NSfOb','config','close','../utils/constants','findIndex','splice','exports','664314JCvfsl','port','nightwatch-browserstack.json','test_settings','existsSync','info','3LfAzvJ','vfhuw','QWjbR','XFpQI','child_process','18hAjqwv','env','1509315hmZLpQ','length','desiredCapabilities'];a33_0x5723=function(){return _0x21279b;};return a33_0x5723();}function run(_0x279d17,_0x2ca9ed){const _0x545ee7=a33_0x5d7adb,_0x51be9e={'zBees':_0x545ee7(0x200),'uqiSe':function(_0x197b1f,_0xaad6c2){return _0x197b1f+_0xaad6c2;},'XFpQI':_0x545ee7(0x1f2),'RDpuo':function(_0xc54fbd,_0x208de1,_0x424cd4){return _0xc54fbd(_0x208de1,_0x424cd4);},'VfKit':_0x545ee7(0x228),'WGmKW':_0x545ee7(0x207),'NSfOb':function(_0x4bd333,_0xfbc359){return _0x4bd333===_0xfbc359;},'cFBbk':_0x545ee7(0x1f1),'feOrg':function(_0x5dbad9,_0x56e234){return _0x5dbad9(_0x56e234);},'YdQcD':function(_0x286e26,_0x2ffa81,_0x107737,_0x231868){return _0x286e26(_0x2ffa81,_0x107737,_0x231868);},'lizoh':_0x545ee7(0x216),'QxnhQ':'--config','vfhuw':_0x545ee7(0x227),'OkCrT':_0x545ee7(0x20d),'aWqaz':_0x545ee7(0x1ea)},_0x546534=new BrowserStackSetup(_0x279d17);if(!_0x546534[_0x545ee7(0x1e9)])return;const _0x5189e7=_0x51be9e['RDpuo'](getUserNightwatchConfigs,_0x279d17,_0x2ca9ed),_0x5e450c={};_0x5e450c[_0x545ee7(0x217)]=![];const _0x35ad03={};_0x35ad03[_0x545ee7(0x215)]=_0x51be9e[_0x545ee7(0x1ff)],_0x35ad03[_0x545ee7(0x1f0)]=0x1bb;const _0x562b31={};_0x562b31[_0x545ee7(0x201)]=_0x5e450c,_0x562b31[_0x545ee7(0x211)]=_0x35ad03;const _0x182cc5=_0x562b31;logger['info'](_0x51be9e['WGmKW']);const _0x42aea7={..._0x5189e7},_0x191c23=_0x42aea7,_0x4b4c0e=helper[_0x545ee7(0x220)](_0x546534['config']),_0x2cba50=[];_0x546534['config'][_0x545ee7(0x229)][_0x545ee7(0x20f)]((_0x2253ed,_0x28c9d2)=>{const _0x5a26a7=_0x545ee7;_0x4b4c0e?_0x2cba50[_0x5a26a7(0x22a)](helper['modifyBrowserStackW3CCaps'](_0x546534[_0x5a26a7(0x1e9)],_0x51be9e[_0x5a26a7(0x21f)],_0x28c9d2)):_0x2cba50[_0x5a26a7(0x22a)](helper['modifyBrowserStackCaps'](_0x546534[_0x5a26a7(0x1e9)],_0x51be9e['zBees'],_0x28c9d2));});const _0x54eb54={},_0x3194eb=[];_0x279d17['env']=_0x279d17['env']||_0x279d17['e'];const _0x50b18a=_0x279d17[_0x545ee7(0x1fb)]?_0x279d17['env'][_0x545ee7(0x204)]()[_0x545ee7(0x226)](',')[_0x545ee7(0x208)](_0x3c7ce3=>_0x3c7ce3['trim']())[_0x545ee7(0x20c)](_0x57b1e6=>_0x57b1e6!==''):[''];_0x51be9e[_0x545ee7(0x1e8)](_0x50b18a[_0x545ee7(0x1fd)],0x0)&&_0x50b18a[_0x545ee7(0x22a)]('');_0x50b18a[_0x545ee7(0x20f)](_0x25d685=>{const _0x29ba75=_0x545ee7;_0x2cba50[_0x29ba75(0x20f)](_0x287216=>{const _0x363c7c=_0x29ba75;let _0x1a8025=_0x51be9e[_0x363c7c(0x1e4)](helper['getPlatformName'](_0x287216,'_'),'_'+Date[_0x363c7c(0x225)]());_0x25d685&&(_0x1a8025+='_'+_0x25d685);if(_0x25d685&&(!_0x5189e7[_0x51be9e[_0x363c7c(0x1f8)]]||!_0x5189e7[_0x51be9e['XFpQI']][_0x25d685]))return;const _0x37177c={..._0x182cc5};_0x37177c[_0x363c7c(0x1fe)]=_0x287216;const _0x472a7a=_0x37177c;_0x54eb54[_0x1a8025]=_0x25d685?helper['mergeDeep'](_0x5189e7[_0x51be9e[_0x363c7c(0x1f8)]][_0x25d685],_0x472a7a):_0x472a7a,_0x3194eb[_0x363c7c(0x22a)](_0x1a8025);});});!_0x191c23[_0x545ee7(0x1f2)]&&(_0x191c23[_0x545ee7(0x1f2)]={});_0x191c23['test_settings']={..._0x191c23[_0x545ee7(0x1f2)],..._0x54eb54};const _0x429cbc=path[_0x545ee7(0x21c)](__dirname,_0x51be9e['cFBbk']);fs[_0x545ee7(0x1e3)](_0x429cbc,JSON[_0x545ee7(0x221)](_0x191c23)),_0x51be9e[_0x545ee7(0x209)](removeExistingEnvs,_0x2ca9ed);const _0x52602a=_0x51be9e[_0x545ee7(0x205)](spawn,/^win/[_0x545ee7(0x20b)](process[_0x545ee7(0x1e7)])?_0x51be9e[_0x545ee7(0x214)]:_0x51be9e[_0x545ee7(0x21f)],[_0x51be9e['QxnhQ'],_0x429cbc,..._0x2ca9ed['slice'](0x1),_0x51be9e[_0x545ee7(0x1f6)],_0x3194eb['join'](',')],{'stdio':_0x51be9e['OkCrT']});_0x52602a['on'](_0x51be9e['aWqaz'],async _0x30c830=>{const _0x42408d=_0x545ee7;logger['debug']('child\x20process\x20exited\x20with\x20code\x20'+_0x30c830),logger[_0x42408d(0x1f4)]('Deleting\x20'+_0x429cbc),fs[_0x42408d(0x224)](_0x429cbc);});}module[a33_0x5d7adb(0x1ee)]=run;
2
+ 'use strict';const a33_0x230a84=a33_0x2bd4;(function(_0x980f82,_0x5b6ba3){const _0x18e776=a33_0x2bd4,_0x3e4f08=_0x980f82();while(!![]){try{const _0x3c1a5a=-parseInt(_0x18e776(0x20a))/0x1*(parseInt(_0x18e776(0x1ca))/0x2)+parseInt(_0x18e776(0x1fc))/0x3+-parseInt(_0x18e776(0x1f6))/0x4+-parseInt(_0x18e776(0x1ea))/0x5*(parseInt(_0x18e776(0x1df))/0x6)+parseInt(_0x18e776(0x1e5))/0x7*(parseInt(_0x18e776(0x1da))/0x8)+-parseInt(_0x18e776(0x1cc))/0x9+parseInt(_0x18e776(0x1f8))/0xa;if(_0x3c1a5a===_0x5b6ba3)break;else _0x3e4f08['push'](_0x3e4f08['shift']());}catch(_0x420f7f){_0x3e4f08['push'](_0x3e4f08['shift']());}}}(a33_0x6050,0xbf811));function a33_0x6050(){const _0x459255=['cDJuK','5549308fTVIhV','nightwatch-browserstack.json','13967430mXICyJ','vZsav','../utils/constants','useW3C','4249848zqqQcY','avfai','mergeDeep','nightwatch.json','cwd','yAOcm','trim','UHfUa','host','forEach','child\x20process\x20exited\x20with\x20code\x20','../../helpers/BrowserStackSetup','WyZvS','desiredCapabilities','1WOEyGM','isUndefined','mBWzG','nbGAv','existsSync','lXCua','../../helpers/helper','exports','modifyBrowserStackW3CCaps','env','1368778ujSTun','child_process','7985448iEmGse','path','cOxMc','dwqXo','hub.browserstack.com','BaTiV','qPmTz','platform','platforms','QGxew','stringify','gIqTy','config','--config','1320imgDrF','kwuXg','inherit','debug','../../helpers/logger','126wPQJae','modifyBrowserStackCaps','info','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','RuCLI','--env','65947FOhZeC','join','test_settings','Deleting\x20','test','148675JtcYwY','push','winstonLogger','nightwatch.conf.js','start_process','writeFileSync','now','port','rHvxx','splice','nightwatch'];a33_0x6050=function(){return _0x459255;};return a33_0x6050();}const fs=require('fs'),path=require(a33_0x230a84(0x1cd)),{spawn}=require(a33_0x230a84(0x1cb)),logger=require(a33_0x230a84(0x1de))[a33_0x230a84(0x1ec)],{default:BrowserStackSetup}=require(a33_0x230a84(0x207)),helper=require(a33_0x230a84(0x1c6)),constants=require(a33_0x230a84(0x1fa)),getUserNightwatchConfigs=(_0x459d73,_0x392340)=>{const _0x1bd328=a33_0x230a84,_0x4d13f4={'QGxew':_0x1bd328(0x1ed),'cDJuK':_0x1bd328(0x1ff),'rHvxx':function(_0x59606e,_0x32b8a9){return _0x59606e(_0x32b8a9);},'UHfUa':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x44c44e=null,_0x2c9212={};const _0xf16e86=_0x392340['findIndex'](_0x5bfe27=>_0x5bfe27===_0x1bd328(0x1d9));if(!helper[_0x1bd328(0x20b)](_0x459d73['config'])&&fs[_0x1bd328(0x1c4)](path[_0x1bd328(0x1e6)](process[_0x1bd328(0x200)](),_0x459d73[_0x1bd328(0x1d8)])))_0x44c44e=path[_0x1bd328(0x1e6)](process[_0x1bd328(0x200)](),_0x459d73[_0x1bd328(0x1d8)]),_0x392340[_0x1bd328(0x1f3)](_0xf16e86,0x2);else{if(fs[_0x1bd328(0x1c4)](path[_0x1bd328(0x1e6)](process[_0x1bd328(0x200)](),_0x4d13f4[_0x1bd328(0x1d5)])))_0x44c44e=path[_0x1bd328(0x1e6)](process['cwd'](),_0x4d13f4[_0x1bd328(0x1d5)]);else fs['existsSync'](path[_0x1bd328(0x1e6)](process[_0x1bd328(0x200)](),_0x4d13f4[_0x1bd328(0x1f5)]))&&(_0x44c44e=path[_0x1bd328(0x1e6)](process[_0x1bd328(0x200)](),_0x4d13f4[_0x1bd328(0x1f5)]));}return _0x44c44e?(logger['info']('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x44c44e),_0x2c9212=_0x4d13f4[_0x1bd328(0x1f2)](require,_0x44c44e)):logger[_0x1bd328(0x1e1)](_0x4d13f4[_0x1bd328(0x203)]),_0x2c9212;},removeExistingEnvs=_0x33709a=>{const _0x4d15ee=a33_0x230a84,_0x55e6f8={};_0x55e6f8[_0x4d15ee(0x1ce)]=function(_0x3c2d96,_0x1e08ba){return _0x3c2d96>_0x1e08ba;};const _0x14117b=_0x55e6f8;let _0x408e2d=_0x33709a['findIndex'](_0x2d4926=>_0x2d4926===_0x4d15ee(0x1e4));_0x14117b[_0x4d15ee(0x1ce)](_0x408e2d,-0x1)&&_0x33709a[_0x4d15ee(0x1f3)](_0x408e2d,0x2),_0x408e2d=_0x33709a['findIndex'](_0x558972=>_0x558972==='-e'),_0x14117b['cOxMc'](_0x408e2d,-0x1)&&_0x33709a['splice'](_0x408e2d,0x2);};function a33_0x2bd4(_0x3fb367,_0x128200){const _0x6050cf=a33_0x6050();return a33_0x2bd4=function(_0x2bd462,_0x4b820e){_0x2bd462=_0x2bd462-0x1c2;let _0x26e1e9=_0x6050cf[_0x2bd462];return _0x26e1e9;},a33_0x2bd4(_0x3fb367,_0x128200);}function run(_0x5c9af2,_0x2d3eca){const _0x329fc4=a33_0x230a84,_0xa1135={'qPmTz':_0x329fc4(0x1f4),'gIqTy':function(_0x56a217,_0xa3aed2){return _0x56a217+_0xa3aed2;},'BaTiV':'test_settings','bIyVC':function(_0x264111,_0x2a476c,_0x47d34b){return _0x264111(_0x2a476c,_0x47d34b);},'XNdVG':_0x329fc4(0x1d0),'mBWzG':_0x329fc4(0x1e2),'vZsav':function(_0x2b915a,_0x50fb4f){return _0x2b915a===_0x50fb4f;},'RuCLI':_0x329fc4(0x1f7),'kwuXg':function(_0x4709c4,_0x43abc6){return _0x4709c4(_0x43abc6);},'nbGAv':function(_0x1bb492,_0x8daf29,_0x13af12,_0x823584){return _0x1bb492(_0x8daf29,_0x13af12,_0x823584);},'lXCua':'nightwatch.cmd','avfai':'--config','WyZvS':_0x329fc4(0x1e4),'yAOcm':_0x329fc4(0x1dc),'dwqXo':'close'},_0x401ead=new BrowserStackSetup(_0x5c9af2);if(!_0x401ead['config'])return;const _0x2e6a3d=_0xa1135['bIyVC'](getUserNightwatchConfigs,_0x5c9af2,_0x2d3eca),_0x5e8a37={};_0x5e8a37[_0x329fc4(0x1ee)]=![];const _0x1d9c6c={};_0x1d9c6c[_0x329fc4(0x204)]=_0xa1135['XNdVG'],_0x1d9c6c[_0x329fc4(0x1f1)]=0x1bb;const _0x1db845={};_0x1db845['webdriver']=_0x5e8a37,_0x1db845['selenium']=_0x1d9c6c;const _0x290f9a=_0x1db845;logger[_0x329fc4(0x1e1)](_0xa1135[_0x329fc4(0x1c2)]);const _0x6e73dc={..._0x2e6a3d},_0xdf00a2=_0x6e73dc,_0x14ff34=helper[_0x329fc4(0x1fb)](_0x401ead[_0x329fc4(0x1d8)]),_0x3e9bfc=[];_0x401ead[_0x329fc4(0x1d8)][_0x329fc4(0x1d4)][_0x329fc4(0x205)]((_0x4c6b05,_0x2e24b7)=>{const _0x1d6c2d=_0x329fc4;_0x14ff34?_0x3e9bfc[_0x1d6c2d(0x1eb)](helper[_0x1d6c2d(0x1c8)](_0x401ead[_0x1d6c2d(0x1d8)],_0xa1135[_0x1d6c2d(0x1d2)],_0x2e24b7)):_0x3e9bfc[_0x1d6c2d(0x1eb)](helper[_0x1d6c2d(0x1e0)](_0x401ead['config'],_0xa1135[_0x1d6c2d(0x1d2)],_0x2e24b7));});const _0x2b6fe8={},_0xf0f247=[];_0x5c9af2[_0x329fc4(0x1c9)]=_0x5c9af2[_0x329fc4(0x1c9)]||_0x5c9af2['e'];const _0x2292fa=_0x5c9af2['env']?_0x5c9af2['env'][_0x329fc4(0x202)]()['split'](',')['map'](_0x3b1553=>_0x3b1553[_0x329fc4(0x202)]())['filter'](_0x29d29b=>_0x29d29b!==''):[''];_0xa1135[_0x329fc4(0x1f9)](_0x2292fa['length'],0x0)&&_0x2292fa['push']('');_0x2292fa[_0x329fc4(0x205)](_0x258293=>{const _0x4a0a54=_0x329fc4;_0x3e9bfc[_0x4a0a54(0x205)](_0x3446e5=>{const _0xf8ff26=_0x4a0a54;let _0x3d2dfb=_0xa1135[_0xf8ff26(0x1d7)](helper['getPlatformName'](_0x3446e5,'_'),'_'+Date[_0xf8ff26(0x1f0)]());_0x258293&&(_0x3d2dfb+='_'+_0x258293);if(_0x258293&&(!_0x2e6a3d[_0xa1135['BaTiV']]||!_0x2e6a3d[_0xa1135['BaTiV']][_0x258293]))return;const _0x2094a9={..._0x290f9a};_0x2094a9[_0xf8ff26(0x209)]=_0x3446e5;const _0x16153f=_0x2094a9;_0x2b6fe8[_0x3d2dfb]=_0x258293?helper[_0xf8ff26(0x1fe)](_0x2e6a3d[_0xa1135[_0xf8ff26(0x1d1)]][_0x258293],_0x16153f):_0x16153f,_0xf0f247['push'](_0x3d2dfb);});});!_0xdf00a2['test_settings']&&(_0xdf00a2[_0x329fc4(0x1e7)]={});_0xdf00a2[_0x329fc4(0x1e7)]={..._0xdf00a2[_0x329fc4(0x1e7)],..._0x2b6fe8};const _0x46e256=path['join'](__dirname,_0xa1135[_0x329fc4(0x1e3)]);fs[_0x329fc4(0x1ef)](_0x46e256,JSON[_0x329fc4(0x1d6)](_0xdf00a2)),_0xa1135[_0x329fc4(0x1db)](removeExistingEnvs,_0x2d3eca);const _0xf475b=_0xa1135[_0x329fc4(0x1c3)](spawn,/^win/[_0x329fc4(0x1e9)](process[_0x329fc4(0x1d3)])?_0xa1135[_0x329fc4(0x1c5)]:_0xa1135[_0x329fc4(0x1d2)],[_0xa1135[_0x329fc4(0x1fd)],_0x46e256,..._0x2d3eca['slice'](0x1),_0xa1135[_0x329fc4(0x208)],_0xf0f247['join'](',')],{'stdio':_0xa1135[_0x329fc4(0x201)]});_0xf475b['on'](_0xa1135[_0x329fc4(0x1cf)],async _0xf20f3a=>{const _0x34c8de=_0x329fc4;logger[_0x34c8de(0x1dd)](_0x34c8de(0x206)+_0xf20f3a),logger[_0x34c8de(0x1e1)](_0x34c8de(0x1e8)+_0x46e256),fs['unlinkSync'](_0x46e256);});}module[a33_0x230a84(0x1c7)]=run;
@@ -1 +1 @@
1
- function a34_0x448a(){const _0x55d158=['../../helpers/logger','platformValidation','goQpa','bstackSdkArgs','workerInfo','vEKSk','testInfo','MUjmf','getAccessibilityResultsSummary','602236meoxyC','KDtUf','5624122qhPCmg','accessibilityPlatform','2424kGARTN','Playwright','BS_A11Y_JWT','nWMXZ','project','EqWiP','debug','gXfGn','381392AJJtwS','EHQLq','executeScript','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','accessibilityOptions.includeIssueType.needsReview','dlbLN','browser','269400yxCQdx','jdYiR','nCEZD','No\x20accessibility\x20results\x20were\x20found.','ubgtk','setAccessibilityCapabilities','biXVM','constructor','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','tJSOe','stringify','QEhIi','CboTg','processAccessibilityCaps','zAaSR','146706GsxMmx','vJfuq','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','onJQd','uDIQc','error','deviceName','nFfLj','format','24BzaULV','currentTest','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','warn','scannerVersion','aolZZ','accessibilityOptions','1377320MMVjWA','45sZQqkN','THhWr','jVliz','browserStackEvaluate','env','browserName','name','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','TzcyS','VQaTv','connectOptions','playwright-chromium','../../helpers/accessibility-automation/helper','latest','OvWbx','JfvFl','srANJ','browserStackExecuteDriver','8307hhrZHp','(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','BQBxH','scannerProcessingTimeout','ZLycW','../../helpers/accessibility-automation/scripts','accessibilityOptions.wcagVersion','replace','wcagVersion','chrome','util','use','needsReview','performScan','browser_version','includeIssueType','rCvSy','wsEndpoint','pdcvh','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','../../helpers/helper','WebDriver','accessibilityOptions.scannerVersion','method'];a34_0x448a=function(){return _0x55d158;};return a34_0x448a();}function a34_0x5013(_0x1fb4ce,_0x4d4c97){const _0x448a42=a34_0x448a();return a34_0x5013=function(_0x501365,_0x3027cf){_0x501365=_0x501365-0x119;let _0x3ec7a4=_0x448a42[_0x501365];return _0x3ec7a4;},a34_0x5013(_0x1fb4ce,_0x4d4c97);}const a34_0x5dedd1=a34_0x5013;(function(_0x492d72,_0x1dfa2c){const _0x8a447f=a34_0x5013,_0x3b0f79=_0x492d72();while(!![]){try{const _0x59bbb4=parseInt(_0x8a447f(0x144))/0x1+-parseInt(_0x8a447f(0x11e))/0x2+-parseInt(_0x8a447f(0x13d))/0x3*(parseInt(_0x8a447f(0x179))/0x4)+-parseInt(_0x8a447f(0x145))/0x5*(parseInt(_0x8a447f(0x134))/0x6)+parseInt(_0x8a447f(0x17b))/0x7+parseInt(_0x8a447f(0x17d))/0x8*(parseInt(_0x8a447f(0x157))/0x9)+-parseInt(_0x8a447f(0x125))/0xa;if(_0x59bbb4===_0x1dfa2c)break;else _0x3b0f79['push'](_0x3b0f79['shift']());}catch(_0x3548df){_0x3b0f79['push'](_0x3b0f79['shift']());}}}(a34_0x448a,0xc7c5c));const util=require(a34_0x5dedd1(0x161)),logger=require(a34_0x5dedd1(0x170))['winstonLogger'],{isAccessibilityAutomationSession}=require(a34_0x5dedd1(0x151)),{isUndefined}=require(a34_0x5dedd1(0x16c)),scripts=require(a34_0x5dedd1(0x15c));exports[a34_0x5dedd1(0x148)]=async(_0x1cca7d,_0x170331,_0x48f340={})=>{const _0x72a52e=a34_0x5dedd1,_0x61e4d7={};_0x61e4d7['pdcvh']=_0x72a52e(0x173);const _0x5b54c0=_0x61e4d7;return await _0x1cca7d['evaluate']('(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'+_0x170331[_0x72a52e(0x15e)](/arguments/g,_0x5b54c0[_0x72a52e(0x169)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x72a52e(0x12f)](_0x48f340)+')');},exports[a34_0x5dedd1(0x156)]=async(_0x14acd8,_0x2ba394,_0x2ad891={})=>{const _0x47f12c=a34_0x5dedd1,_0x469dbb={};_0x469dbb['SYlXF']=function(_0x2b875e,_0x532b19){return _0x2b875e===_0x532b19;},_0x469dbb[_0x47f12c(0x129)]=_0x47f12c(0x16d),_0x469dbb[_0x47f12c(0x135)]=function(_0x1d6aab,_0x3ef8c5){return _0x1d6aab===_0x3ef8c5;},_0x469dbb['nCEZD']=_0x47f12c(0x17e),_0x469dbb[_0x47f12c(0x17a)]=_0x47f12c(0x173);const _0x5ea37c=_0x469dbb;if(_0x5ea37c['SYlXF'](_0x14acd8[_0x47f12c(0x12c)][_0x47f12c(0x14b)],_0x5ea37c[_0x47f12c(0x129)]))return await _0x14acd8['executeAsyncScript'](_0x2ba394,_0x2ad891);else{if(_0x5ea37c[_0x47f12c(0x135)](_0x14acd8[_0x47f12c(0x12c)][_0x47f12c(0x14b)],_0x5ea37c[_0x47f12c(0x127)]))return await _0x14acd8[_0x47f12c(0x120)](_0x47f12c(0x158)+_0x2ba394[_0x47f12c(0x15e)](/arguments/g,_0x5ea37c[_0x47f12c(0x17a)])+_0x47f12c(0x14c)+JSON[_0x47f12c(0x12f)](_0x2ad891)+')');}},exports[a34_0x5dedd1(0x12a)]=async _0x3870a4=>{const _0x51df4b=a34_0x5dedd1,_0x2cf798={};_0x2cf798[_0x51df4b(0x130)]=_0x51df4b(0x15d),_0x2cf798[_0x51df4b(0x126)]='accessibilityOptions.scannerProcessingTimeout',_0x2cf798[_0x51df4b(0x177)]='accessibilityOptions.includeIssueType.bestPractice',_0x2cf798['ClQOE']=_0x51df4b(0x122),_0x2cf798[_0x51df4b(0x175)]='accessibilityOptions.authToken',_0x2cf798[_0x51df4b(0x11f)]=_0x51df4b(0x16e);const _0x38084f=_0x2cf798;_0x3870a4[_0x51df4b(0x143)]&&(_0x3870a4['accessibilityOptions'][_0x51df4b(0x15f)]&&(_0x3870a4[_0x38084f[_0x51df4b(0x130)]]=_0x3870a4[_0x51df4b(0x143)][_0x51df4b(0x15f)]),_0x3870a4[_0x51df4b(0x143)][_0x51df4b(0x15a)]&&(_0x3870a4[_0x38084f[_0x51df4b(0x126)]]=_0x3870a4[_0x51df4b(0x143)][_0x51df4b(0x15a)]),_0x3870a4['accessibilityOptions'][_0x51df4b(0x166)]&&(_0x3870a4[_0x38084f[_0x51df4b(0x177)]]=_0x3870a4['accessibilityOptions'][_0x51df4b(0x166)]['bestPractice'],_0x3870a4[_0x38084f['ClQOE']]=_0x3870a4[_0x51df4b(0x143)]['includeIssueType'][_0x51df4b(0x163)]));const _0x4c3d20=JSON['parse'](process[_0x51df4b(0x149)][_0x51df4b(0x13f)])[_0x51df4b(0x141)];_0x3870a4[_0x38084f['vEKSk']]=process['env'][_0x51df4b(0x17f)],_0x3870a4[_0x38084f['EHQLq']]=_0x4c3d20,delete _0x3870a4[_0x51df4b(0x143)];},exports['getAccessibilityResults']=async _0x58081e=>{const _0x139143=a34_0x5dedd1,_0xe89a84={};_0xe89a84['dlbLN']=_0x139143(0x128),_0xe89a84[_0x139143(0x119)]=_0x139143(0x16a);const _0x42e8e5=_0xe89a84;if(global[_0x139143(0x17c)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x58081e,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x58081e,scripts.getResults);return res;}catch{return logger[_0x139143(0x139)](_0x42e8e5[_0x139143(0x123)]),[];}else return logger['warn'](_0x42e8e5[_0x139143(0x119)]),[];},exports[a34_0x5dedd1(0x164)]=async(_0xf408d6,_0x526248='')=>{const _0xa5fde0=a34_0x5dedd1;if(global[_0xa5fde0(0x17c)]){const _0x5400af={};return _0x5400af[_0xa5fde0(0x16f)]=_0x526248,await exports['browserStackEvaluate'](_0xf408d6,scripts[_0xa5fde0(0x164)],_0x5400af);}},exports[a34_0x5dedd1(0x178)]=async _0x4fb10d=>{const _0x308ca2=a34_0x5dedd1,_0x2b8bc8={};_0x2b8bc8[_0x308ca2(0x12b)]='No\x20summaryResults\x20found.',_0x2b8bc8[_0x308ca2(0x131)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x4d013d=_0x2b8bc8;if(global[_0x308ca2(0x17c)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x4fb10d,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x4fb10d,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x308ca2(0x11c)](_0x4d013d[_0x308ca2(0x12b)]),{};}else return logger[_0x308ca2(0x140)](_0x4d013d[_0x308ca2(0x131)]),{};},exports[a34_0x5dedd1(0x171)]=async _0x5244a4=>{const _0x59fb11=a34_0x5dedd1,_0x1008fa={'NXAzU':function(_0x30727d,_0x153793){return _0x30727d!==_0x153793;},'BQBxH':_0x59fb11(0x136),'oIKiN':function(_0x593594,_0x8e29f5){return _0x593594===_0x8e29f5;},'jeWmM':_0x59fb11(0x160),'ZLycW':function(_0x559cb0,_0x2dc448){return _0x559cb0===_0x2dc448;},'BYNcA':_0x59fb11(0x150),'TzcyS':_0x59fb11(0x121),'gXfGn':function(_0x25113a,_0x2b6ae2){return _0x25113a(_0x2b6ae2);},'goQpa':function(_0x33e308,_0x4b8cf5){return _0x33e308===_0x4b8cf5;},'jVliz':'latest','lOfgB':function(_0x31a0b2,_0x2ddbba){return _0x31a0b2>_0x2ddbba;},'JfvFl':_0x59fb11(0x12d)};try{if(!_0x1008fa['NXAzU'](_0x5244a4['deviceName'],''))return logger[_0x59fb11(0x140)](_0x1008fa[_0x59fb11(0x159)]),![];const _0x4991a4=_0x5244a4[_0x59fb11(0x124)];if(!(_0x1008fa['oIKiN'](_0x4991a4,_0x1008fa['jeWmM'])||_0x1008fa[_0x59fb11(0x15b)](_0x4991a4,_0x1008fa['BYNcA'])))return logger[_0x59fb11(0x140)](_0x1008fa[_0x59fb11(0x14d)]),![];const _0xdb8cfd=_0x1008fa[_0x59fb11(0x11d)](parseInt,_0x5244a4[_0x59fb11(0x165)]);if(!(_0x1008fa[_0x59fb11(0x172)](_0xdb8cfd,_0x1008fa[_0x59fb11(0x147)])||_0x1008fa['lOfgB'](_0xdb8cfd,0x5e)))return logger['warn'](_0x1008fa[_0x59fb11(0x154)]),![];}catch(_0x37dc8c){logger[_0x59fb11(0x11c)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x59fb11(0x13c)](_0x37dc8c));}return!![];},exports[a34_0x5dedd1(0x132)]=(_0x25e650,_0x2c2788,_0x37d66d)=>{const _0x426e6b=a34_0x5dedd1,_0x5b431d={'onJQd':function(_0x5c5090){return _0x5c5090();},'rCvSy':'browserstack.accessibility','OvWbx':function(_0x3b5e67,_0x4db5b5){return _0x3b5e67===_0x4db5b5;},'tJSOe':_0x426e6b(0x160),'THhWr':_0x426e6b(0x150),'uDIQc':_0x426e6b(0x121),'SyPsY':function(_0x19044e,_0x4bb062){return _0x19044e===_0x4bb062;},'UgRBY':_0x426e6b(0x152),'srANJ':function(_0x1dd9e7,_0x5c4da0){return _0x1dd9e7>_0x5c4da0;},'nFfLj':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','aolZZ':function(_0x4446c9,_0x554d2f){return _0x4446c9(_0x554d2f);},'EqWiP':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','VQaTv':function(_0xef5400,_0x5654ac){return _0xef5400+_0x5654ac;},'zAaSR':function(_0x33506c,_0x3da939){return _0x33506c(_0x3da939);}};try{if(_0x5b431d[_0x426e6b(0x137)](isAccessibilityAutomationSession)){global[_0x426e6b(0x17c)]=!![];!_0x25e650[_0x5b431d[_0x426e6b(0x167)]]&&(global[_0x426e6b(0x17c)]=![]);!(_0x5b431d[_0x426e6b(0x153)](_0x25e650['browserName'],_0x5b431d[_0x426e6b(0x12e)])||_0x5b431d[_0x426e6b(0x153)](_0x25e650[_0x426e6b(0x14a)],_0x5b431d[_0x426e6b(0x146)]))&&(logger['warn'](_0x5b431d[_0x426e6b(0x138)]),global[_0x426e6b(0x17c)]=![]);!(_0x5b431d['SyPsY'](_0x25e650[_0x426e6b(0x165)],_0x5b431d['UgRBY'])||_0x5b431d[_0x426e6b(0x155)](_0x25e650['browser_version'],0x5e))&&(logger['warn'](_0x5b431d[_0x426e6b(0x13b)]),global['accessibilityPlatform']=![]);!_0x5b431d[_0x426e6b(0x142)](isUndefined,_0x25e650[_0x426e6b(0x13a)])&&(logger[_0x426e6b(0x140)](_0x5b431d[_0x426e6b(0x11b)]),global[_0x426e6b(0x17c)]=![]);if(!global[_0x426e6b(0x17c)]){_0x25e650[_0x5b431d[_0x426e6b(0x167)]]=![];const _0x538d64=_0x5b431d[_0x426e6b(0x14e)](_0x2c2788,_0x5b431d[_0x426e6b(0x133)](encodeURIComponent,JSON['stringify'](_0x25e650)));_0x37d66d&&(_0x37d66d[_0x426e6b(0x13e)][_0x426e6b(0x176)][_0x426e6b(0x11a)][_0x426e6b(0x162)][_0x426e6b(0x14f)]['wsEndpoint']=_0x538d64,_0x37d66d[_0x426e6b(0x174)][_0x426e6b(0x11a)][_0x426e6b(0x162)][_0x426e6b(0x14f)][_0x426e6b(0x168)]=_0x538d64);}}}catch(_0x51e88c){logger[_0x426e6b(0x11c)](_0x426e6b(0x16b)+util['format'](_0x51e88c));}};
1
+ const a34_0x4d7a24=a34_0x48ed;(function(_0x47d145,_0x20a744){const _0x4763f3=a34_0x48ed,_0x2c962a=_0x47d145();while(!![]){try{const _0x523886=parseInt(_0x4763f3(0x19f))/0x1+parseInt(_0x4763f3(0x17f))/0x2+-parseInt(_0x4763f3(0x14a))/0x3+parseInt(_0x4763f3(0x1a8))/0x4+-parseInt(_0x4763f3(0x165))/0x5+parseInt(_0x4763f3(0x155))/0x6*(parseInt(_0x4763f3(0x153))/0x7)+-parseInt(_0x4763f3(0x172))/0x8;if(_0x523886===_0x20a744)break;else _0x2c962a['push'](_0x2c962a['shift']());}catch(_0x5998f2){_0x2c962a['push'](_0x2c962a['shift']());}}}(a34_0x4498,0xbd17d));function a34_0x4498(){const _0x25c410=['JUUIg','currentTest','No\x20summaryResults\x20found.','replace','uGThi','Rcslg','debug','accessibilityOptions.includeIssueType.needsReview','deviceName','testInfo','project','accessibilityOptions.authToken','Playwright','iLEve','../../helpers/accessibility-automation/helper','PdbbB','WebDriver','UinOR','IIUKI','latest','1457860XAZFhr','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','bstackSdkArgs','playwright-chromium','BdThs','fMWqd','method','BS_A11Y_JWT','getAccessibilityResultsSummary','1704248npkqsP','browserStackExecuteDriver','wcagVersion','performScan','VIWJB','connectOptions','No\x20accessibility\x20results\x20were\x20found.','chrome','QrmWy','WefQR','HaGan','pSZKy','1215687doyIbZ','GjAXs','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','use','bestPractice','browser_version','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','mkFGQ','bDIZt','224omAnFJ','processAccessibilityCaps','228384LEPldY','qqAiz','mPlJr','scannerProcessingTimeout','env','accessibilityOptions','../../helpers/logger','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','parse','XNzkh','browserstack.accessibility','kejzN','getAccessibilityResults','evaluate','accessibilityOptions.wcagVersion','browser','697215ymwlvP','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','accessibilityOptions.scannerProcessingTimeout','(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','browserName','util','yScRN','scannerVersion','executeAsyncScript','BFsbT','hwgvd','dgkJq','YWYmJ','15473496bpPSDf','RdUIR','warn','uMLFr','name','ovHIL','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','includeIssueType','eEodx','accessibilityPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','format','302828AbIJNO','browserStackEvaluate','lmSGQ','rDCMj','constructor','(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','wsEndpoint','dblJt','hCBlq','accessibilityOptions.scannerVersion','VCBeX','bzcTk'];a34_0x4498=function(){return _0x25c410;};return a34_0x4498();}function a34_0x48ed(_0x4ed093,_0x2992d2){const _0x449842=a34_0x4498();return a34_0x48ed=function(_0x48ed5b,_0x420ef8){_0x48ed5b=_0x48ed5b-0x148;let _0x1ed19d=_0x449842[_0x48ed5b];return _0x1ed19d;},a34_0x48ed(_0x4ed093,_0x2992d2);}const util=require(a34_0x4d7a24(0x16a)),logger=require(a34_0x4d7a24(0x15b))['winstonLogger'],{isAccessibilityAutomationSession}=require(a34_0x4d7a24(0x199)),{isUndefined}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts');exports[a34_0x4d7a24(0x180)]=async(_0x4bf0d5,_0x55e40d,_0x165c03={})=>{const _0x5dc1f6=a34_0x4d7a24,_0x4dff38={};_0x4dff38[_0x5dc1f6(0x18f)]=_0x5dc1f6(0x1a1);const _0x80ae9a=_0x4dff38;return await _0x4bf0d5[_0x5dc1f6(0x162)](_0x5dc1f6(0x184)+_0x55e40d[_0x5dc1f6(0x18e)](/arguments/g,_0x80ae9a['uGThi'])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON['stringify'](_0x165c03)+')');},exports[a34_0x4d7a24(0x1a9)]=async(_0x28c832,_0x29985f,_0x19251c={})=>{const _0x36421f=a34_0x4d7a24,_0x11f419={};_0x11f419[_0x36421f(0x152)]=function(_0x41949b,_0x1b7847){return _0x41949b===_0x1b7847;},_0x11f419[_0x36421f(0x16e)]=_0x36421f(0x19b),_0x11f419['piNKe']=_0x36421f(0x197),_0x11f419[_0x36421f(0x1b0)]=_0x36421f(0x1a1);const _0x2eaeea=_0x11f419;if(_0x2eaeea[_0x36421f(0x152)](_0x28c832['constructor'][_0x36421f(0x176)],_0x2eaeea[_0x36421f(0x16e)]))return await _0x28c832[_0x36421f(0x16d)](_0x29985f,_0x19251c);else{if(_0x2eaeea[_0x36421f(0x152)](_0x28c832[_0x36421f(0x183)][_0x36421f(0x176)],_0x2eaeea['piNKe']))return await _0x28c832['executeScript'](_0x36421f(0x168)+_0x29985f[_0x36421f(0x18e)](/arguments/g,_0x2eaeea['QrmWy'])+_0x36421f(0x166)+JSON['stringify'](_0x19251c)+')');}},exports['setAccessibilityCapabilities']=async _0xb383be=>{const _0x127f01=a34_0x4d7a24,_0x4425de={};_0x4425de[_0x127f01(0x173)]=_0x127f01(0x163),_0x4425de[_0x127f01(0x18a)]=_0x127f01(0x167),_0x4425de[_0x127f01(0x19d)]='accessibilityOptions.includeIssueType.bestPractice',_0x4425de['mkFGQ']=_0x127f01(0x192),_0x4425de[_0x127f01(0x1b1)]=_0x127f01(0x196),_0x4425de[_0x127f01(0x16b)]=_0x127f01(0x188);const _0x157a50=_0x4425de;_0xb383be[_0x127f01(0x15a)]&&(_0xb383be['accessibilityOptions'][_0x127f01(0x1aa)]&&(_0xb383be[_0x157a50[_0x127f01(0x173)]]=_0xb383be['accessibilityOptions'][_0x127f01(0x1aa)]),_0xb383be[_0x127f01(0x15a)][_0x127f01(0x158)]&&(_0xb383be[_0x157a50[_0x127f01(0x18a)]]=_0xb383be['accessibilityOptions'][_0x127f01(0x158)]),_0xb383be['accessibilityOptions'][_0x127f01(0x179)]&&(_0xb383be[_0x157a50[_0x127f01(0x19d)]]=_0xb383be[_0x127f01(0x15a)]['includeIssueType'][_0x127f01(0x14e)],_0xb383be[_0x157a50[_0x127f01(0x151)]]=_0xb383be[_0x127f01(0x15a)][_0x127f01(0x179)]['needsReview']));const _0x45afe7=JSON[_0x127f01(0x15d)](process[_0x127f01(0x159)][_0x127f01(0x150)])[_0x127f01(0x16c)];_0xb383be[_0x157a50[_0x127f01(0x1b1)]]=process[_0x127f01(0x159)][_0x127f01(0x1a6)],_0xb383be[_0x157a50[_0x127f01(0x16b)]]=_0x45afe7,delete _0xb383be[_0x127f01(0x15a)];},exports[a34_0x4d7a24(0x161)]=async _0x39d3fd=>{const _0x255796=a34_0x4d7a24,_0x5bd861={};_0x5bd861[_0x255796(0x189)]=_0x255796(0x1ae),_0x5bd861[_0x255796(0x177)]=_0x255796(0x17d);const _0x5964d3=_0x5bd861;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x39d3fd,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x39d3fd,scripts.getResults);return res;}catch{return logger['error'](_0x5964d3[_0x255796(0x189)]),[];}else return logger[_0x255796(0x174)](_0x5964d3[_0x255796(0x177)]),[];},exports[a34_0x4d7a24(0x1ab)]=async(_0x17aba1,_0x3453d3='')=>{const _0x2b3cb1=a34_0x4d7a24;if(global[_0x2b3cb1(0x17b)]){const _0x1fc95a={};return _0x1fc95a[_0x2b3cb1(0x1a5)]=_0x3453d3,await exports[_0x2b3cb1(0x180)](_0x17aba1,scripts[_0x2b3cb1(0x1ab)],_0x1fc95a);}},exports[a34_0x4d7a24(0x1a7)]=async _0x24ede3=>{const _0x5dc430=a34_0x4d7a24,_0xd8b4c7={};_0xd8b4c7['dgkJq']=_0x5dc430(0x18d),_0xd8b4c7[_0x5dc430(0x182)]=_0x5dc430(0x1a0);const _0x167804=_0xd8b4c7;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x24ede3,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x24ede3,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x5dc430(0x191)](_0x167804[_0x5dc430(0x170)]),{};}else return logger[_0x5dc430(0x174)](_0x167804['rDCMj']),{};},exports['platformValidation']=async _0x39cc8a=>{const _0x10e92=a34_0x4d7a24,_0x35c3d2={'UinOR':function(_0x39187e,_0x383fc6){return _0x39187e!==_0x383fc6;},'VIWJB':_0x10e92(0x17c),'eEodx':function(_0x42b933,_0x244229){return _0x42b933===_0x244229;},'uMLFr':_0x10e92(0x1af),'hCBlq':function(_0x19bf5c,_0x2cedf0){return _0x19bf5c===_0x2cedf0;},'wLtNl':_0x10e92(0x1a2),'pURnx':_0x10e92(0x178),'BdThs':function(_0x54f94c,_0x5841bf){return _0x54f94c(_0x5841bf);},'iLEve':function(_0x6058bd,_0x4a0d70){return _0x6058bd===_0x4a0d70;},'XNzkh':_0x10e92(0x19e),'mPlJr':function(_0x36062d,_0x1caa39){return _0x36062d>_0x1caa39;},'pSZKy':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x35c3d2[_0x10e92(0x19c)](_0x39cc8a['deviceName'],''))return logger['warn'](_0x35c3d2[_0x10e92(0x1ac)]),![];const _0x5f3e40=_0x39cc8a[_0x10e92(0x164)];if(!(_0x35c3d2[_0x10e92(0x17a)](_0x5f3e40,_0x35c3d2[_0x10e92(0x175)])||_0x35c3d2[_0x10e92(0x187)](_0x5f3e40,_0x35c3d2['wLtNl'])))return logger[_0x10e92(0x174)](_0x35c3d2['pURnx']),![];const _0x41d5b=_0x35c3d2[_0x10e92(0x1a3)](parseInt,_0x39cc8a[_0x10e92(0x14f)]);if(!(_0x35c3d2[_0x10e92(0x198)](_0x41d5b,_0x35c3d2[_0x10e92(0x15e)])||_0x35c3d2[_0x10e92(0x157)](_0x41d5b,0x5e)))return logger[_0x10e92(0x174)](_0x35c3d2[_0x10e92(0x149)]),![];}catch(_0x2ae535){logger[_0x10e92(0x191)](_0x10e92(0x14c)+util[_0x10e92(0x17e)](_0x2ae535));}return!![];},exports[a34_0x4d7a24(0x154)]=(_0x529d3a,_0x56bc7a,_0x15884d)=>{const _0x146656=a34_0x4d7a24,_0x3b6a19={'HaGan':function(_0x1a7dbf){return _0x1a7dbf();},'Rkokh':_0x146656(0x15f),'qqAiz':function(_0x3acf66,_0x13eba6){return _0x3acf66===_0x13eba6;},'hwgvd':'chrome','xPbwm':function(_0x2acefe,_0x465923){return _0x2acefe===_0x465923;},'JUUIg':_0x146656(0x1a2),'lmSGQ':_0x146656(0x178),'ADPnG':function(_0x17cb2c,_0x24f3b3){return _0x17cb2c===_0x24f3b3;},'Rcslg':_0x146656(0x19e),'YWYmJ':function(_0x172016,_0x25f586){return _0x172016>_0x25f586;},'fMWqd':_0x146656(0x15c),'GjAXs':function(_0x19802d,_0x1153a3){return _0x19802d(_0x1153a3);},'kejzN':_0x146656(0x17c),'dblJt':function(_0x44f52e,_0x1c3202){return _0x44f52e+_0x1c3202;},'PdbbB':function(_0x400dde,_0x7b90fa){return _0x400dde(_0x7b90fa);}};try{if(_0x3b6a19[_0x146656(0x148)](isAccessibilityAutomationSession)){global[_0x146656(0x17b)]=!![];!_0x529d3a[_0x3b6a19['Rkokh']]&&(global[_0x146656(0x17b)]=![]);!(_0x3b6a19[_0x146656(0x156)](_0x529d3a['browserName'],_0x3b6a19[_0x146656(0x16f)])||_0x3b6a19['xPbwm'](_0x529d3a[_0x146656(0x169)],_0x3b6a19[_0x146656(0x18b)]))&&(logger['warn'](_0x3b6a19[_0x146656(0x181)]),global[_0x146656(0x17b)]=![]);!(_0x3b6a19['ADPnG'](_0x529d3a[_0x146656(0x14f)],_0x3b6a19[_0x146656(0x190)])||_0x3b6a19[_0x146656(0x171)](_0x529d3a[_0x146656(0x14f)],0x5e))&&(logger[_0x146656(0x174)](_0x3b6a19[_0x146656(0x1a4)]),global[_0x146656(0x17b)]=![]);!_0x3b6a19[_0x146656(0x14b)](isUndefined,_0x529d3a[_0x146656(0x193)])&&(logger[_0x146656(0x174)](_0x3b6a19[_0x146656(0x160)]),global[_0x146656(0x17b)]=![]);if(!global['accessibilityPlatform']){_0x529d3a[_0x3b6a19['Rkokh']]=![];const _0x257b2a=_0x3b6a19[_0x146656(0x186)](_0x56bc7a,_0x3b6a19[_0x146656(0x19a)](encodeURIComponent,JSON['stringify'](_0x529d3a)));_0x15884d&&(_0x15884d[_0x146656(0x18c)][_0x146656(0x194)][_0x146656(0x195)]['use'][_0x146656(0x1ad)][_0x146656(0x185)]=_0x257b2a,_0x15884d['workerInfo']['project'][_0x146656(0x14d)][_0x146656(0x1ad)][_0x146656(0x185)]=_0x257b2a);}}}catch(_0x2cd565){logger[_0x146656(0x191)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util['format'](_0x2cd565));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a35_0x13b51e=a35_0x40c0;(function(_0x1c1e56,_0x51813e){const _0x5099bf=a35_0x40c0,_0xf097c1=_0x1c1e56();while(!![]){try{const _0x3740d6=-parseInt(_0x5099bf(0x1c7))/0x1+-parseInt(_0x5099bf(0x1ca))/0x2*(parseInt(_0x5099bf(0x1e3))/0x3)+-parseInt(_0x5099bf(0x212))/0x4*(-parseInt(_0x5099bf(0x1f6))/0x5)+parseInt(_0x5099bf(0x1f8))/0x6+parseInt(_0x5099bf(0x204))/0x7+-parseInt(_0x5099bf(0x211))/0x8*(-parseInt(_0x5099bf(0x210))/0x9)+-parseInt(_0x5099bf(0x1d1))/0xa;if(_0x3740d6===_0x51813e)break;else _0xf097c1['push'](_0xf097c1['shift']());}catch(_0x16d906){_0xf097c1['push'](_0xf097c1['shift']());}}}(a35_0x2d58,0x2fd30));const fs=require('fs'),path=require(a35_0x13b51e(0x1fc)),{spawn}=require(a35_0x13b51e(0x1ee)),{format}=require(a35_0x13b51e(0x18a)),logger=require(a35_0x13b51e(0x201))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a35_0x13b51e(0x1ec)),utilities=require(a35_0x13b51e(0x193)),constants=require(a35_0x13b51e(0x200)),{FRAMEWORKS}=require(a35_0x13b51e(0x1c3)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x13b51e(0x1fd)),{CrashReporter}=require(a35_0x13b51e(0x20a)),{getFrameworkVersion}=require('../../helpers/test-observability/utils'),{checkAccessibilityPlatformConfig}=require(a35_0x13b51e(0x19d)),{setAccessibilityCapabilities}=require(a35_0x13b51e(0x1f4)),TestHubHandler=require(a35_0x13b51e(0x1e5)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),getUserPlaywrightConfig=async(_0x1bd7cd,_0x31fe27)=>{const _0x2bc945=a35_0x13b51e,_0x4f36d1={'mqIMr':function(_0x585747){return _0x585747();},'PdjXM':function(_0x9cc41d,_0xc424e4){return _0x9cc41d(_0xc424e4);},'eiLRW':_0x2bc945(0x1a2),'xfLAy':_0x2bc945(0x1c4)},_0x2ab988=!helper['isUndefined'](_0x1bd7cd['config']),_0x278bde=_0x2ab988?path['resolve'](process[_0x2bc945(0x1d0)](),_0x1bd7cd[_0x2bc945(0x197)]):process[_0x2bc945(0x1d0)](),{resolveConfigFile:_0xbc44e9,resolveConfigLocation:_0x304aea}=helper['requirePWModule'][_0x2bc945(0x202)](null,_0x4f36d1[_0x2bc945(0x1b8)](getConfigLoaderPath)),_0x76ef8e=_0xbc44e9?_0x4f36d1[_0x2bc945(0x1a7)](_0xbc44e9,_0x278bde):helper[_0x2bc945(0x1ad)](_0x4f36d1[_0x2bc945(0x1a7)](_0x304aea,_0x278bde),[_0x4f36d1['eiLRW']]),_0x16fc91={};if(_0x2ab988){const _0x2e3e94=_0x31fe27[_0x2bc945(0x1d6)](_0x10c940=>_0x10c940===_0x2bc945(0x1c2)||_0x10c940==='-c'||_0x10c940[_0x2bc945(0x1b2)](_0x2bc945(0x1c4)));_0x31fe27[_0x2bc945(0x1e4)](_0x2e3e94,_0x31fe27[_0x2e3e94]['startsWith'](_0x4f36d1[_0x2bc945(0x1a5)])?0x1:0x2);}const _0x393809={};return _0x393809['path']=_0x76ef8e,_0x393809[_0x2bc945(0x197)]=_0x16fc91,_0x393809;},handleO11yRerun=_0x31eea4=>{const _0x397814=a35_0x13b51e,_0xa75367={};_0xa75367[_0x397814(0x1b1)]=function(_0x3fa846,_0x1fa770){return _0x3fa846!==_0x1fa770;},_0xa75367[_0x397814(0x1b5)]=_0x397814(0x1c5),_0xa75367[_0x397814(0x1f2)]=_0x397814(0x217);const _0x4a574f=_0xa75367,_0x1e7545=helper[_0x397814(0x1a3)](process[_0x397814(0x18f)]['BROWSERSTACK_RERUN']);if(_0x1e7545){const _0x21054f=process[_0x397814(0x18f)]['BROWSERSTACK_RERUN_TESTS'],_0x381718=[];if(_0x4a574f[_0x397814(0x1b1)](_0x21054f,_0x4a574f[_0x397814(0x1b5)])&&!helper[_0x397814(0x1bc)](_0x21054f)){_0x21054f['split'](',')['map'](_0x14fe3e=>{const _0x1adf18=_0x397814;_0x381718[_0x1adf18(0x1b7)]('('+_0x14fe3e[_0x1adf18(0x1e7)]()+')');});const _0x1affee='^'+_0x381718['join']('|')+'$';_0x31eea4[_0x397814(0x1b7)](_0x4a574f['LySUX'],_0x1affee);}}},spawnOriginalProcess=_0x23a402=>{const _0x3265f1=a35_0x13b51e,_0x3c573b={'tcaZf':function(_0x5e2db9,_0x3351bb,_0x4cbbe8,_0x268145){return _0x5e2db9(_0x3351bb,_0x4cbbe8,_0x268145);},'ZtjyD':_0x3265f1(0x18e),'ZaOYk':_0x3265f1(0x1bd),'GeJVB':function(_0xef4875,_0x5b6d3d){return _0xef4875===_0x5b6d3d;},'SXgbW':'win32','lAHNo':'inherit'};_0x3c573b[_0x3265f1(0x20c)](spawn,_0x3c573b['ZtjyD'],[_0x3c573b[_0x3265f1(0x1a1)],..._0x23a402[_0x3265f1(0x1a0)](0x1)],{'shell':_0x3c573b[_0x3265f1(0x1d3)](process['platform'],_0x3c573b[_0x3265f1(0x19e)]),'stdio':_0x3c573b[_0x3265f1(0x194)],'cwd':process[_0x3265f1(0x1d0)]()});},isTestCommand=(_0x3cba25,_0x455167)=>{const _0x124e3f=a35_0x13b51e,_0x512a48={};_0x512a48[_0x124e3f(0x185)]=function(_0x2bf0c0,_0x5eb017){return _0x2bf0c0>_0x5eb017;},_0x512a48[_0x124e3f(0x218)]=function(_0x206cb9,_0x21079f){return _0x206cb9===_0x21079f;},_0x512a48['eZGGR']=_0x124e3f(0x1cf);const _0x4573e8=_0x512a48;if(_0x4573e8[_0x124e3f(0x185)](_0x455167[_0x124e3f(0x1de)],0x1)&&_0x4573e8[_0x124e3f(0x218)](_0x455167[0x1],_0x4573e8['eZGGR']))return!![];return![];};async function run(_0x13ae2a,_0x8fadf){const _0x1c4cd4=a35_0x13b51e,_0x20058f={'GrBii':_0x1c4cd4(0x206),'clNiF':_0x1c4cd4(0x1cd),'NisHW':function(_0x215960,_0x2ca65e){return _0x215960+_0x2ca65e;},'vCSow':_0x1c4cd4(0x188),'grObA':_0x1c4cd4(0x215),'YFopr':function(_0x421bea){return _0x421bea();},'TaPKo':function(_0x34749f,_0x5de045){return _0x34749f+_0x5de045;},'gJzWD':_0x1c4cd4(0x183),'hoshq':_0x1c4cd4(0x1ef),'lkkHl':_0x1c4cd4(0x1f7),'HQMpl':_0x1c4cd4(0x187),'RVpPm':function(_0x1471c2,_0x2d147f){return _0x1471c2>=_0x2d147f;},'kcsgx':_0x1c4cd4(0x1e8),'NRUTY':function(_0x461507,_0x489a0a,_0xbe9f60){return _0x461507(_0x489a0a,_0xbe9f60);},'pLfff':function(_0x1d27df,_0x27eb4b){return _0x1d27df(_0x27eb4b);},'KkMKi':'BrowserStack\x20config\x20file\x20not\x20found.','DwFHO':_0x1c4cd4(0x21b),'bmqEn':function(_0x283702,_0x4d574b){return _0x283702!=_0x4d574b;},'VhcZv':function(_0x549c87,_0x893d4e){return _0x549c87(_0x893d4e);},'HNbWe':function(_0x51b051,_0x388aad){return _0x51b051(_0x388aad);},'nMavV':function(_0x135b65,_0x58bdbb){return _0x135b65===_0x58bdbb;},'lwmZM':_0x1c4cd4(0x1f9),'mveMZ':function(_0x127499,_0x4c513b){return _0x127499(_0x4c513b);},'FxTjh':'browserstackSetupConfig.json','DtLYg':function(_0x190f99,_0x2b8409){return _0x190f99===_0x2b8409;},'beiYT':_0x1c4cd4(0x17f),'vETUq':_0x1c4cd4(0x190),'jUbTn':function(_0x1be16d,_0x224569){return _0x1be16d-_0x224569;},'gleLP':function(_0x15c5f8,_0x26eabd){return _0x15c5f8+_0x26eabd;},'TYpzC':_0x1c4cd4(0x1f5),'sNuJy':function(_0x1dc9f1,_0x392e16){return _0x1dc9f1>_0x392e16;},'ocXTK':function(_0x5e07a4,_0x5b36e0){return _0x5e07a4+_0x5b36e0;},'Acyzv':function(_0x455c98,_0x110b4c,_0x4b8a15,_0x29b7ed){return _0x455c98(_0x110b4c,_0x4b8a15,_0x29b7ed);},'CQPbg':_0x1c4cd4(0x18e),'KTMkE':'playwright','oEyqf':_0x1c4cd4(0x1cf),'OPXnK':'--config','KClKa':'win32','WARkM':_0x1c4cd4(0x1e2),'meQfL':_0x1c4cd4(0x18b)};!helper['isFalse'](process[_0x1c4cd4(0x18f)][_0x1c4cd4(0x1c0)])&&(process[_0x1c4cd4(0x18f)][_0x1c4cd4(0x1c0)]=!![]);process[_0x1c4cd4(0x182)][_0x1c4cd4(0x18c)](_0x20058f['hoshq'])&&(process[_0x1c4cd4(0x18f)]['BROWSERSTACK_AUTOMATION']=_0x20058f[_0x1c4cd4(0x1dd)],_0x8fadf=_0x8fadf['filter'](_0xa71e4c=>_0xa71e4c!==_0x1c4cd4(0x1ef)));const _0x315b46=_0x8fadf[_0x1c4cd4(0x1fa)](_0x20058f[_0x1c4cd4(0x1e1)]);_0x20058f['RVpPm'](_0x315b46,0x0)&&(process['env'][_0x1c4cd4(0x203)]=_0x20058f[_0x1c4cd4(0x1dd)],_0x8fadf=_0x8fadf[_0x1c4cd4(0x1da)](_0x249c0a=>_0x249c0a!==_0x1c4cd4(0x187)));try{const _0x58e0e0=path[_0x1c4cd4(0x205)](helper[_0x1c4cd4(0x1ae)](),_0x20058f['GrBii'],_0x20058f[_0x1c4cd4(0x1d7)]);fs[_0x1c4cd4(0x1ab)](_0x58e0e0)&&fs[_0x1c4cd4(0x1a9)](_0x58e0e0);}catch(_0xac6125){logger[_0x1c4cd4(0x1b9)](_0x20058f[_0x1c4cd4(0x214)](_0x20058f[_0x1c4cd4(0x1ac)],_0xac6125));}if(!_0x20058f[_0x1c4cd4(0x1e9)](isTestCommand,_0x13ae2a,_0x8fadf)){_0x20058f[_0x1c4cd4(0x1a8)](spawnOriginalProcess,_0x8fadf);return;}const _0x44579c=new BrowserStackSetup(_0x13ae2a,FRAMEWORKS[_0x1c4cd4(0x1ed)]);if(!_0x44579c[_0x1c4cd4(0x197)]){logger[_0x1c4cd4(0x186)](_0x20058f[_0x1c4cd4(0x1a4)]);return;}await _0x44579c['initialize']();!helper[_0x1c4cd4(0x1bc)](_0x44579c['cliConfig'])&&_0x44579c[_0x1c4cd4(0x1a6)][_0x1c4cd4(0x21a)](_0x20058f[_0x1c4cd4(0x1df)])&&(process['env'][_0x1c4cd4(0x1c0)]=_0x44579c[_0x1c4cd4(0x1a6)][_0x1c4cd4(0x207)](_0x20058f[_0x1c4cd4(0x1df)])||!![]);_0x20058f[_0x1c4cd4(0x1d8)](_0x44579c[_0x1c4cd4(0x197)][_0x1c4cd4(0x1fe)],null)&&!helper['isTrue'](process[_0x1c4cd4(0x18f)][_0x1c4cd4(0x203)])&&(process[_0x1c4cd4(0x18f)][_0x1c4cd4(0x203)]=process[_0x1c4cd4(0x18f)][_0x1c4cd4(0x203)]||_0x44579c[_0x1c4cd4(0x197)][_0x1c4cd4(0x1fe)]);const _0x4c4909=!helper[_0x1c4cd4(0x1d4)](process[_0x1c4cd4(0x18f)][_0x1c4cd4(0x203)]);let _0x3006b3=![];_0x44579c[_0x1c4cd4(0x197)][_0x1c4cd4(0x1af)]&&(_0x3006b3=!![],process[_0x1c4cd4(0x18f)][_0x1c4cd4(0x181)]=_0x44579c[_0x1c4cd4(0x197)]['accessibility']);_0x44579c[_0x1c4cd4(0x197)]['accessibilityOptions']&&(process[_0x1c4cd4(0x18f)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1c4cd4(0x1e6)](_0x44579c[_0x1c4cd4(0x197)][_0x1c4cd4(0x21c)]));const _0x27c138=_0x8fadf['concat'](),_0x1d3c61=await _0x20058f[_0x1c4cd4(0x1e9)](getUserPlaywrightConfig,_0x13ae2a,_0x8fadf);if(helper[_0x1c4cd4(0x1bc)](_0x1d3c61)){_0x20058f[_0x1c4cd4(0x20e)](spawnOriginalProcess,_0x27c138);return;}const _0x277e89=_0x1d3c61[_0x1c4cd4(0x1fc)]?path[_0x1c4cd4(0x195)](_0x1d3c61[_0x1c4cd4(0x1fc)]):process[_0x1c4cd4(0x1d0)]();process[_0x1c4cd4(0x18f)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x277e89,await TestHubHandler[_0x1c4cd4(0x19b)](FRAMEWORKS['PLAYWRIGHT'],_0x44579c);_0x4c4909&&_0x20058f['HNbWe'](handleO11yRerun,_0x8fadf);let _0xe177f0=_0x20058f['nMavV'](process[_0x1c4cd4(0x18f)][_0x1c4cd4(0x181)],_0x20058f[_0x1c4cd4(0x209)]);_0xe177f0=_0xe177f0||_0x20058f[_0x1c4cd4(0x1e0)](checkAccessibilityPlatformConfig,_0x44579c[_0x1c4cd4(0x197)]),process[_0x1c4cd4(0x18f)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0xe177f0;_0xe177f0&&_0x20058f[_0x1c4cd4(0x192)](setAccessibilityCapabilities,_0x44579c[_0x1c4cd4(0x197)]);const _0x350571=path[_0x1c4cd4(0x205)](_0x1d3c61['path']?path['dirname'](_0x1d3c61['path']):process[_0x1c4cd4(0x1d0)](),_0x20058f['FxTjh']);fs[_0x1c4cd4(0x196)](_0x350571,helper[_0x1c4cd4(0x1ce)](_0x44579c[_0x1c4cd4(0x197)])),process['env'][_0x1c4cd4(0x191)]=_0x350571,helper['clearTempPWConfig']();let _0x2fd82a='';_0x20058f[_0x1c4cd4(0x1aa)](helper[_0x1c4cd4(0x1ff)](),constants[_0x1c4cd4(0x20b)]['MODULE'])?_0x2fd82a=_0x20058f[_0x1c4cd4(0x1ba)]:_0x2fd82a=_0x20058f[_0x1c4cd4(0x21d)];let _0x478e40='';if(helper[_0x1c4cd4(0x19a)](_0x1d3c61[_0x1c4cd4(0x1fc)])){_0x478e40=_0x1c4cd4(0x1b4);const _0xf93eb4=_0x2fd82a[_0x1c4cd4(0x1ea)]('.');_0xf93eb4[_0x20058f['jUbTn'](_0xf93eb4[_0x1c4cd4(0x1de)],0x1)]='ts',_0x2fd82a=_0xf93eb4[_0x1c4cd4(0x205)]('.'),logger[_0x1c4cd4(0x1b9)](_0x20058f[_0x1c4cd4(0x213)](_0x20058f[_0x1c4cd4(0x1bf)],_0x2fd82a));}else _0x478e40=_0x1c4cd4(0x1c1);const _0x409fc1=path[_0x1c4cd4(0x205)](_0x1d3c61['path']?path['dirname'](_0x1d3c61['path']):process['cwd'](),_0x2fd82a);let _0x275193=_0x1d3c61[_0x1c4cd4(0x1fc)]?_0x1d3c61[_0x1c4cd4(0x1fc)]:'';_0x275193=_0x20058f[_0x1c4cd4(0x1cb)](_0x275193['length'],0x0)?path['resolve'](_0x275193):'',process['env'][_0x1c4cd4(0x1d9)]=_0x275193;const _0x446d1e=helper[_0x1c4cd4(0x18d)](_0x44579c[_0x1c4cd4(0x197)]);_0x446d1e&&(_0x478e40=_0x20058f[_0x1c4cd4(0x189)](_0x1c4cd4(0x180)+_0x446d1e+_0x1c4cd4(0x19f),_0x478e40));helper[_0x1c4cd4(0x1c6)]({},_0x8fadf),fs[_0x1c4cd4(0x196)](_0x409fc1,_0x478e40),helper[_0x1c4cd4(0x1d5)]();const _0x527af2=_0x20058f[_0x1c4cd4(0x1b3)](spawn,_0x20058f['CQPbg'],[_0x20058f[_0x1c4cd4(0x1cc)],_0x20058f[_0x1c4cd4(0x1d2)],_0x20058f[_0x1c4cd4(0x198)],_0x409fc1,..._0x8fadf['slice'](0x2)],{'shell':_0x20058f[_0x1c4cd4(0x1eb)](process['platform'],_0x20058f[_0x1c4cd4(0x20f)]),'stdio':_0x20058f['WARkM'],'cwd':process[_0x1c4cd4(0x1d0)](),'env':Object[_0x1c4cd4(0x199)]({},process[_0x1c4cd4(0x18f)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x13ae2a),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x44579c[_0x1c4cd4(0x197)][_0x1c4cd4(0x19c)][_0x1c4cd4(0x184)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x44579c['config'][_0x1c4cd4(0x19c)][_0x1c4cd4(0x1c8)],'BROWSERSTACK_LOG_LEVEL':_0x44579c[_0x1c4cd4(0x197)][_0x1c4cd4(0x1be)]})}),_0x325c3=()=>{const _0x462a0d=_0x1c4cd4;try{const _0x71376a=path[_0x462a0d(0x205)](helper[_0x462a0d(0x1ae)](),_0x20058f[_0x462a0d(0x1c9)],_0x20058f[_0x462a0d(0x1d7)]);if(fs[_0x462a0d(0x1ab)](_0x71376a)){let _0x22b9b9=fs[_0x462a0d(0x1b6)](_0x71376a);_0x22b9b9=JSON[_0x462a0d(0x219)](_0x22b9b9),_0x44579c['errorMessage']=_0x22b9b9,fs['unlinkSync'](_0x71376a);}}catch(_0x5a321a){logger[_0x462a0d(0x1b9)](_0x20058f[_0x462a0d(0x214)](_0x20058f[_0x462a0d(0x1f0)],_0x5a321a));}};_0x527af2['on'](_0x20058f[_0x1c4cd4(0x20d)],async _0x7de0db=>{const _0xa972bf=_0x1c4cd4;try{const _0x250b87=_0x20058f['grObA'][_0xa972bf(0x1ea)]('|');let _0x4b01b0=0x0;while(!![]){switch(_0x250b87[_0x4b01b0++]){case'0':logger[_0xa972bf(0x1b9)](_0xa972bf(0x208)+_0x7de0db);continue;case'1':await TestHubHandler[_0xa972bf(0x1b0)]();continue;case'2':logger[_0xa972bf(0x1b9)]('Deleting\x20'+_0x350571);continue;case'3':await utilities[_0xa972bf(0x1bb)](_0x44579c);continue;case'4':_0x20058f[_0xa972bf(0x1fb)](_0x325c3);continue;case'5':logger[_0xa972bf(0x216)](_0xa972bf(0x1dc)+_0x409fc1);continue;case'6':process['exitCode']=_0x7de0db;continue;case'7':fs['unlinkSync'](_0x409fc1);continue;case'8':fs['unlinkSync'](_0x350571);continue;}break;}}catch(_0x30e3e4){logger[_0xa972bf(0x1b9)](_0x20058f[_0xa972bf(0x1db)](_0x20058f[_0xa972bf(0x1f1)],_0x30e3e4));}});}function a35_0x2d58(){const _0x3694ab=['VhcZv','KClKa','1129599FJlUTq','8EhHGoz','4IkAwSk','gleLP','NisHW','4|1|3|6|0|5|7|2|8','info','--grep','Eipka','parse','has','automation','accessibilityOptions','vETUq','playwright-browserstack-sdk.config.cjs','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','BROWSERSTACK_TEST_ACCESSIBILITY_YML','argv','Error\x20in\x20closing\x20playwright','skipSessionStatus','fFBLR','error','--disable-test-observability','Error\x20in\x20getting\x20funnel\x20data\x20results','ocXTK','util','close','includes','getProxyUrl','npx','env','playwright-browserstack-sdk.config.js','BROWSERSTACK_SETUP_CONFIG_PATH','mveMZ','../../helpers/utilities','lAHNo','dirname','writeFileSync','config','OPXnK','assign','isTypescriptProject','launchBuild','testContextOptions','../../helpers/accessibility-automation/helper','SXgbW','\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();','slice','ZaOYk','resolvedConfigFile','isTrue','KkMKi','xfLAy','cliConfig','PdjXM','pLfff','unlinkSync','DtLYg','existsSync','kcsgx','nestedKeyValue','homedir','accessibility','stop','PUPcY','startsWith','Acyzv','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','dsOsP','readFileSync','push','mqIMr','debug','beiYT','finalExecution','isUndefined','playwright','logLevel','TYpzC','BROWSERSTACK_AUTOMATION','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','--config','../../helpers/test-observability/constants','--config=','null','filterBrowserstackArgs','155591phDyRX','skipSessionName','GrBii','73198gYSZCm','sNuJy','KTMkE','pw_result.json','serializeToYamlString','test','cwd','3094820jwnRba','oEyqf','GeJVB','isFalse','markSDKSetupComplete','findIndex','clNiF','bmqEn','USER_CONFIG_DETAILS_PATH','filter','TaPKo','Deleting\x20','lkkHl','length','DwFHO','HNbWe','HQMpl','inherit','3CyTsep','splice','../../helpers/testhub/testhubHandler','stringify','trim','Error\x20in\x20deleting\x20playwright\x20results','NRUTY','split','nMavV','../../helpers/helper','PLAYWRIGHT','child_process','--disable-browserstack-automation','vCSow','gJzWD','LySUX','exports','./accessibility-helper','Updated\x20config\x20file\x20name\x20to\x20-\x20','1697040QUGogG','false','934932wDFMQG','true','indexOf','YFopr','path','./reporter/pwUtils','testObservability','getPackageType','../utils/constants','../../helpers/logger','apply','BROWSERSTACK_TEST_OBSERVABILITY','537733tLXvul','join','.browserstack','get','Playwright\x20process\x20exited\x20with\x20code\x20','lwmZM','../../helpers/test-observability/error-handler','PACKAGE_TYPE','tcaZf','meQfL'];a35_0x2d58=function(){return _0x3694ab;};return a35_0x2d58();}function a35_0x40c0(_0x59f07e,_0x335220){const _0x2d58e3=a35_0x2d58();return a35_0x40c0=function(_0x40c0ed,_0x2dc226){_0x40c0ed=_0x40c0ed-0x17f;let _0x480e98=_0x2d58e3[_0x40c0ed];return _0x480e98;},a35_0x40c0(_0x59f07e,_0x335220);}module[a35_0x13b51e(0x1f3)]=run;
2
+ 'use strict';const a35_0x1cdbd7=a35_0xd4dc;(function(_0x1fb349,_0x59166f){const _0x41c5f3=a35_0xd4dc,_0x505624=_0x1fb349();while(!![]){try{const _0x160c89=parseInt(_0x41c5f3(0x24f))/0x1*(parseInt(_0x41c5f3(0x249))/0x2)+-parseInt(_0x41c5f3(0x20b))/0x3+parseInt(_0x41c5f3(0x1d7))/0x4+parseInt(_0x41c5f3(0x204))/0x5+parseInt(_0x41c5f3(0x1b6))/0x6+-parseInt(_0x41c5f3(0x1dc))/0x7+-parseInt(_0x41c5f3(0x25c))/0x8;if(_0x160c89===_0x59166f)break;else _0x505624['push'](_0x505624['shift']());}catch(_0x4bb54c){_0x505624['push'](_0x505624['shift']());}}}(a35_0x49fc,0x6f174));function a35_0xd4dc(_0x37b2c4,_0x579a75){const _0x49fc0d=a35_0x49fc();return a35_0xd4dc=function(_0xd4dcd9,_0x58e4f3){_0xd4dcd9=_0xd4dcd9-0x1b6;let _0x26c91b=_0x49fc0d[_0xd4dcd9];return _0x26c91b;},a35_0xd4dc(_0x37b2c4,_0x579a75);}function a35_0x49fc(){const _0x4b5cf2=['nrURh','pw_result.json','--config','testObservability','false','isQeV','concat','npx','../../helpers/test-observability/constants','--disable-browserstack-automation','findIndex','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','../../helpers/BrowserStackSetup','VNFUY','vrEeC','filterBrowserstackArgs','../utils/constants','OFlom','resolvedConfigFile','SCeNI','config','join','get','QgsDB','serializeToYamlString','child_process','initialize','2607925mRCBog','.browserstack','isTypescriptProject','stringify','push','MjDKO','../../helpers/test-observability/error-handler','692889czFiKr','GfweL','homedir','./reporter/pwUtils','requirePWModule','finalExecution','JagJR','parse','clearTempPWConfig','--config=','inherit','EcREW','playwright-browserstack-sdk.config.js','pXNdY','BROWSERSTACK_RERUN_TESTS','getPackageType','HzVdM','Deleting\x20','BrowserStack\x20config\x20file\x20not\x20found.','../../helpers/logger','getConfigPath','EmYIv','winstonLogger','ntqtU','existsSync','startsWith','playwright-browserstack-sdk.config.cjs','testContextOptions','--disable-test-observability','platform','assign','ZJzNx','launchBuild','readFileSync','UiFbG','nestedKeyValue','filter','true','has','./accessibility-helper','DhrqA','slice','isTrue','TTvkw','includes','dirname','stop','isFalse','FGGCq','USER_CONFIG_DETAILS_PATH','4|3|5|7|8|2|0|1|6','--grep','unlinkSync','RXRvx','info','gUAXY','EMYWN','HpAFs','split','win32','TiMSJ','MHXMV','58uhlaKD','NqhOq','PpOKP','QyjMv','BROWSERSTACK_AUTOMATION','test','23398NmDCQv','null','Playwright\x20process\x20exited\x20with\x20code\x20','accessibilityOptions','oxGpt','bHgQu','browserstackSetupConfig.json','Error\x20in\x20deleting\x20playwright\x20results','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BROWSERSTACK_SETUP_CONFIG_PATH','cliConfig','map','PydaN','12970736NYPNvR','4595940jzarFZ','cwd','MmDua','writeFileSync','YQaNc','skipSessionName','accessibility','path','debug','JAAKJ','../../helpers/accessibility-automation/helper','skipSessionStatus','playwright','resolve','OwBao','../../helpers/utilities','NsqFr','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','WYrSq','hJOCr','PLAYWRIGHT','Error\x20in\x20closing\x20playwright','automation','argv','PACKAGE_TYPE','../../helpers/testhub/utils','Sjxoo','JivFV','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../helpers/helper','indexOf','length','Updated\x20config\x20file\x20name\x20to\x20-\x20','2600324OBvIGA','env','RXeGD','RljFP','isUndefined','2162055tmvNBh','ISWDX','Error\x20in\x20getting\x20funnel\x20data\x20results','MStTc','close','exports','BROWSERSTACK_TEST_OBSERVABILITY','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','apply','bIpjD','markSDKSetupComplete','hKGUa','errorMessage'];a35_0x49fc=function(){return _0x4b5cf2;};return a35_0x49fc();}const fs=require('fs'),path=require(a35_0x1cdbd7(0x1bd)),{spawn}=require(a35_0x1cdbd7(0x202)),{format}=require('util'),logger=require(a35_0x1cdbd7(0x21e))[a35_0x1cdbd7(0x221)],{default:BrowserStackSetup}=require(a35_0x1cdbd7(0x1f5)),helper=require(a35_0x1cdbd7(0x1d3)),utilities=require(a35_0x1cdbd7(0x1c5)),constants=require(a35_0x1cdbd7(0x1f9)),{FRAMEWORKS}=require(a35_0x1cdbd7(0x1f1)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x1cdbd7(0x20e)),{CrashReporter}=require(a35_0x1cdbd7(0x20a)),{getFrameworkVersion}=require('../../helpers/test-observability/utils'),{checkAccessibilityPlatformConfig}=require(a35_0x1cdbd7(0x1c0)),{setAccessibilityCapabilities}=require(a35_0x1cdbd7(0x232)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),{shouldProcessEventForTesthub}=require(a35_0x1cdbd7(0x1cf)),getUserPlaywrightConfig=async(_0x388b4d,_0xe56b03)=>{const _0x43fa5a=a35_0x1cdbd7,_0x22b0e0={'UiFbG':function(_0x3a8929){return _0x3a8929();},'TiMSJ':function(_0x353db7,_0x376e14){return _0x353db7(_0x376e14);},'ONeOI':_0x43fa5a(0x1fb),'MmDua':_0x43fa5a(0x214)},_0x3c698c=!helper['isUndefined'](_0x388b4d[_0x43fa5a(0x1fd)]),_0x58d0d3=_0x3c698c?path[_0x43fa5a(0x1c3)](process['cwd'](),_0x388b4d[_0x43fa5a(0x1fd)]):process[_0x43fa5a(0x1b7)](),{resolveConfigFile:_0x3531cf,resolveConfigLocation:_0x592d48}=helper[_0x43fa5a(0x20f)][_0x43fa5a(0x1e4)](null,_0x22b0e0[_0x43fa5a(0x22d)](getConfigLoaderPath)),_0x126207=_0x3531cf?_0x22b0e0[_0x43fa5a(0x247)](_0x3531cf,_0x58d0d3):helper[_0x43fa5a(0x22e)](_0x22b0e0[_0x43fa5a(0x247)](_0x592d48,_0x58d0d3),[_0x22b0e0['ONeOI']]),_0x586b69={};if(_0x3c698c){const _0x409e9d=_0xe56b03[_0x43fa5a(0x1f3)](_0x1925f5=>_0x1925f5===_0x43fa5a(0x1eb)||_0x1925f5==='-c'||_0x1925f5[_0x43fa5a(0x224)](_0x43fa5a(0x214)));_0xe56b03['splice'](_0x409e9d,_0xe56b03[_0x409e9d][_0x43fa5a(0x224)](_0x22b0e0[_0x43fa5a(0x1b8)])?0x1:0x2);}const _0x22e85b={};return _0x22e85b[_0x43fa5a(0x1bd)]=_0x126207,_0x22e85b[_0x43fa5a(0x1fd)]=_0x586b69,_0x22e85b;},handleO11yRerun=_0x47fde8=>{const _0x30e02a=a35_0x1cdbd7,_0x15e2cc={};_0x15e2cc['wctto']=function(_0x22b718,_0xd82096){return _0x22b718!==_0xd82096;},_0x15e2cc[_0x30e02a(0x222)]=_0x30e02a(0x250),_0x15e2cc[_0x30e02a(0x220)]=_0x30e02a(0x23e);const _0x395203=_0x15e2cc,_0x3d3a7a=helper[_0x30e02a(0x235)](process[_0x30e02a(0x1d8)]['BROWSERSTACK_RERUN']);if(_0x3d3a7a){const _0x32bc10=process[_0x30e02a(0x1d8)][_0x30e02a(0x219)],_0x38135c=[];if(_0x395203['wctto'](_0x32bc10,_0x395203[_0x30e02a(0x222)])&&!helper[_0x30e02a(0x1db)](_0x32bc10)){_0x32bc10[_0x30e02a(0x245)](',')[_0x30e02a(0x25a)](_0x5f0f6a=>{const _0x224ca3=_0x30e02a;_0x38135c[_0x224ca3(0x208)]('('+_0x5f0f6a['trim']()+')');});const _0xc8ebab='^'+_0x38135c[_0x30e02a(0x1fe)]('|')+'$';_0x47fde8['push'](_0x395203['EmYIv'],_0xc8ebab);}}},spawnOriginalProcess=_0x3a420a=>{const _0x4ece28=a35_0x1cdbd7,_0x196eb2={'JAAKJ':function(_0x3571bc,_0x593965,_0x28a258,_0x4f8e82){return _0x3571bc(_0x593965,_0x28a258,_0x4f8e82);},'QgsDB':'npx','bHgQu':_0x4ece28(0x1c2),'ZJzNx':function(_0x3f0074,_0x5ad32a){return _0x3f0074===_0x5ad32a;},'pXNdY':'win32','hOnLh':_0x4ece28(0x215)};_0x196eb2[_0x4ece28(0x1bf)](spawn,_0x196eb2[_0x4ece28(0x200)],[_0x196eb2[_0x4ece28(0x254)],..._0x3a420a[_0x4ece28(0x234)](0x1)],{'shell':_0x196eb2[_0x4ece28(0x22a)](process[_0x4ece28(0x228)],_0x196eb2[_0x4ece28(0x218)]),'stdio':_0x196eb2['hOnLh'],'cwd':process[_0x4ece28(0x1b7)]()});},isTestCommand=(_0x2fb2f7,_0x4eef8e)=>{const _0x1f2baf=a35_0x1cdbd7,_0x56a142={};_0x56a142[_0x1f2baf(0x1f7)]=function(_0x3272e4,_0x4ffd21){return _0x3272e4>_0x4ffd21;},_0x56a142[_0x1f2baf(0x236)]=function(_0x52cc9d,_0x13c929){return _0x52cc9d===_0x13c929;},_0x56a142[_0x1f2baf(0x233)]=_0x1f2baf(0x24e);const _0xdf4dc9=_0x56a142;if(_0xdf4dc9[_0x1f2baf(0x1f7)](_0x4eef8e['length'],0x1)&&_0xdf4dc9[_0x1f2baf(0x236)](_0x4eef8e[0x1],_0xdf4dc9['DhrqA']))return!![];return![];};async function run(_0x1b4422,_0x2b8688){const _0x407053=a35_0x1cdbd7,_0x1db360={'gUAXY':_0x407053(0x205),'PpOKP':_0x407053(0x1ea),'wZvNH':function(_0x2459b3,_0x1c3b8a){return _0x2459b3+_0x1c3b8a;},'hKGUa':_0x407053(0x1de),'YQaNc':_0x407053(0x23d),'QaXIx':function(_0x31c1e4){return _0x31c1e4();},'NsqFr':function(_0x1104b7,_0x3af544){return _0x1104b7+_0x3af544;},'bIpjD':_0x407053(0x1cb),'PTgHl':_0x407053(0x1f2),'OwBao':_0x407053(0x1ed),'JivFV':_0x407053(0x227),'PydaN':function(_0x5408bf,_0x268e26){return _0x5408bf>=_0x268e26;},'WYrSq':_0x407053(0x256),'EMYWN':function(_0x5c4ea2,_0xfdcab6,_0x1dfeed){return _0x5c4ea2(_0xfdcab6,_0x1dfeed);},'hJOCr':function(_0x1b9443,_0x35fb62){return _0x1b9443(_0x35fb62);},'EcREW':_0x407053(0x21d),'Sjxoo':_0x407053(0x1cc),'RXRvx':function(_0x5094a7,_0x18e633){return _0x5094a7!=_0x18e633;},'MHXMV':function(_0xe18fcc,_0x302ddd,_0x422777){return _0xe18fcc(_0x302ddd,_0x422777);},'JagJR':function(_0x3f1045,_0x15cae8){return _0x3f1045(_0x15cae8);},'MStTc':function(_0x3d329f,_0xfc00b6){return _0x3d329f===_0xfc00b6;},'NqhOq':_0x407053(0x230),'isQeV':function(_0xd478b2,_0x30fc32){return _0xd478b2(_0x30fc32);},'nrURh':function(_0x7a99fd,_0x436bc3){return _0x7a99fd(_0x436bc3);},'QyjMv':_0x407053(0x255),'HpAFs':_0x407053(0x225),'HzVdM':_0x407053(0x217),'RljFP':function(_0x570324,_0x3bdf25){return _0x570324-_0x3bdf25;},'FGGCq':function(_0xd63281,_0x3c4e80){return _0xd63281+_0x3c4e80;},'SCeNI':_0x407053(0x1d6),'HlGfA':function(_0x59b371,_0x3ba683){return _0x59b371>_0x3ba683;},'RXeGD':function(_0xb2e893,_0x256802){return _0xb2e893+_0x256802;},'MjDKO':function(_0xcda377,_0x35e1ed,_0x106c2c,_0x57345e){return _0xcda377(_0x35e1ed,_0x106c2c,_0x57345e);},'VNFUY':_0x407053(0x1f0),'OGzgh':'playwright','qRNrM':_0x407053(0x24e),'GfweL':'--config','oxGpt':_0x407053(0x246),'ISWDX':'inherit','OFlom':_0x407053(0x1e0)};!helper[_0x407053(0x23a)](process[_0x407053(0x1d8)][_0x407053(0x24d)])&&(process[_0x407053(0x1d8)][_0x407053(0x24d)]=!![]);process[_0x407053(0x1cd)][_0x407053(0x237)](_0x1db360['PTgHl'])&&(process[_0x407053(0x1d8)][_0x407053(0x24d)]=_0x1db360[_0x407053(0x1c4)],_0x2b8688=_0x2b8688[_0x407053(0x22f)](_0x14e487=>_0x14e487!==_0x407053(0x1f2)));const _0x391d19=_0x2b8688[_0x407053(0x1d4)](_0x1db360[_0x407053(0x1d1)]);_0x1db360[_0x407053(0x25b)](_0x391d19,0x0)&&(process[_0x407053(0x1d8)][_0x407053(0x1e2)]=_0x1db360[_0x407053(0x1c4)],_0x2b8688=_0x2b8688[_0x407053(0x22f)](_0x90e98a=>_0x90e98a!==_0x407053(0x227)));try{const _0x307da5=path[_0x407053(0x1fe)](helper[_0x407053(0x20d)](),_0x1db360['gUAXY'],_0x1db360[_0x407053(0x24b)]);fs[_0x407053(0x223)](_0x307da5)&&fs['unlinkSync'](_0x307da5);}catch(_0xa25184){logger[_0x407053(0x1be)](_0x1db360[_0x407053(0x1c6)](_0x1db360[_0x407053(0x1c8)],_0xa25184));}if(!_0x1db360[_0x407053(0x243)](isTestCommand,_0x1b4422,_0x2b8688)){_0x1db360[_0x407053(0x1c9)](spawnOriginalProcess,_0x2b8688);return;}const _0x477bec=new BrowserStackSetup(_0x1b4422,FRAMEWORKS[_0x407053(0x1ca)]);if(!_0x477bec[_0x407053(0x1fd)]){logger['error'](_0x1db360[_0x407053(0x216)]);return;}await _0x477bec[_0x407053(0x203)]();!helper[_0x407053(0x1db)](_0x477bec[_0x407053(0x259)])&&_0x477bec['cliConfig'][_0x407053(0x231)](_0x1db360['Sjxoo'])&&(process['env'][_0x407053(0x24d)]=_0x477bec[_0x407053(0x259)][_0x407053(0x1ff)](_0x1db360[_0x407053(0x1d0)])||!![]);_0x1db360[_0x407053(0x240)](_0x477bec[_0x407053(0x1fd)]['testObservability'],null)&&!helper[_0x407053(0x235)](process[_0x407053(0x1d8)][_0x407053(0x1e2)])&&(process[_0x407053(0x1d8)]['BROWSERSTACK_TEST_OBSERVABILITY']=process['env']['BROWSERSTACK_TEST_OBSERVABILITY']||_0x477bec[_0x407053(0x1fd)][_0x407053(0x1ec)]);const _0x1e3701=!helper[_0x407053(0x23a)](process['env'][_0x407053(0x1e2)]);let _0x5617d2=![];_0x477bec[_0x407053(0x1fd)][_0x407053(0x1bc)]&&(_0x5617d2=!![],process[_0x407053(0x1d8)][_0x407053(0x1d2)]=_0x477bec[_0x407053(0x1fd)][_0x407053(0x1bc)]);_0x477bec[_0x407053(0x1fd)][_0x407053(0x252)]&&(process['env'][_0x407053(0x257)]=JSON[_0x407053(0x207)](_0x477bec[_0x407053(0x1fd)]['accessibilityOptions']));const _0x455ed3=_0x2b8688[_0x407053(0x1ef)](),_0x3bd7c6=await _0x1db360[_0x407053(0x248)](getUserPlaywrightConfig,_0x1b4422,_0x2b8688);if(helper[_0x407053(0x1db)](_0x3bd7c6)){_0x1db360['JagJR'](spawnOriginalProcess,_0x455ed3);return;}const _0xaf3a6d=_0x3bd7c6[_0x407053(0x1bd)]?path[_0x407053(0x238)](_0x3bd7c6['path']):process[_0x407053(0x1b7)]();process[_0x407053(0x1d8)]['BROWSERSTACK_PW_CONFIG_DIR']=_0xaf3a6d,await TestHubHandler[_0x407053(0x22b)](FRAMEWORKS[_0x407053(0x1ca)],_0x477bec);_0x1e3701&&_0x1db360[_0x407053(0x211)](handleO11yRerun,_0x2b8688);let _0x35b81c=_0x1db360['MStTc'](process[_0x407053(0x1d8)][_0x407053(0x1d2)],_0x1db360[_0x407053(0x24a)]);_0x35b81c=_0x35b81c||_0x1db360[_0x407053(0x1ee)](checkAccessibilityPlatformConfig,_0x477bec['config']),process['env'][_0x407053(0x1d2)]=_0x35b81c;_0x35b81c&&_0x1db360[_0x407053(0x1e9)](setAccessibilityCapabilities,_0x477bec[_0x407053(0x1fd)]);const _0x13533c=path['join'](_0x3bd7c6['path']?path[_0x407053(0x238)](_0x3bd7c6[_0x407053(0x1bd)]):process[_0x407053(0x1b7)](),_0x1db360[_0x407053(0x24c)]);fs[_0x407053(0x1b9)](_0x13533c,helper[_0x407053(0x201)](_0x477bec[_0x407053(0x1fd)])),process[_0x407053(0x1d8)][_0x407053(0x258)]=_0x13533c,helper[_0x407053(0x213)]();let _0x14969a='';_0x1db360[_0x407053(0x1df)](helper[_0x407053(0x21a)](),constants[_0x407053(0x1ce)]['MODULE'])?_0x14969a=_0x1db360[_0x407053(0x244)]:_0x14969a=_0x1db360[_0x407053(0x21b)];let _0x41181a='';if(helper[_0x407053(0x206)](_0x3bd7c6[_0x407053(0x1bd)])){_0x41181a=_0x407053(0x1e3);const _0x582866=_0x14969a[_0x407053(0x245)]('.');_0x582866[_0x1db360[_0x407053(0x1da)](_0x582866[_0x407053(0x1d5)],0x1)]='ts',_0x14969a=_0x582866[_0x407053(0x1fe)]('.'),logger[_0x407053(0x1be)](_0x1db360[_0x407053(0x23b)](_0x1db360[_0x407053(0x1fc)],_0x14969a));}else _0x41181a=_0x407053(0x1c7);const _0x3350f0=path[_0x407053(0x1fe)](_0x3bd7c6[_0x407053(0x1bd)]?path[_0x407053(0x238)](_0x3bd7c6[_0x407053(0x1bd)]):process[_0x407053(0x1b7)](),_0x14969a);let _0x467275=_0x3bd7c6['path']?_0x3bd7c6[_0x407053(0x1bd)]:'';_0x467275=_0x1db360['HlGfA'](_0x467275[_0x407053(0x1d5)],0x0)?path[_0x407053(0x1c3)](_0x467275):'',process[_0x407053(0x1d8)][_0x407053(0x23c)]=_0x467275;const _0x3eacfa=helper['getProxyUrl'](_0x477bec[_0x407053(0x1fd)]);_0x3eacfa&&(_0x41181a=_0x1db360[_0x407053(0x1d9)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x3eacfa+_0x407053(0x1f4),_0x41181a));helper[_0x407053(0x1f8)]({},_0x2b8688),fs[_0x407053(0x1b9)](_0x3350f0,_0x41181a),helper[_0x407053(0x1e6)]();const _0xfffa3b=_0x1db360[_0x407053(0x209)](spawn,_0x1db360[_0x407053(0x1f6)],[_0x1db360['OGzgh'],_0x1db360['qRNrM'],_0x1db360[_0x407053(0x20c)],_0x3350f0,..._0x2b8688[_0x407053(0x234)](0x2)],{'shell':_0x1db360[_0x407053(0x1df)](process[_0x407053(0x228)],_0x1db360[_0x407053(0x253)]),'stdio':_0x1db360[_0x407053(0x1dd)],'cwd':process[_0x407053(0x1b7)](),'env':Object[_0x407053(0x229)]({},process[_0x407053(0x1d8)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x407053(0x21f)](_0x1b4422),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x477bec['config']['testContextOptions'][_0x407053(0x1c1)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x477bec[_0x407053(0x1fd)][_0x407053(0x226)][_0x407053(0x1bb)],'BROWSERSTACK_LOG_LEVEL':_0x477bec['config']['logLevel']})}),_0x4e7e6b=()=>{const _0x4f7a61=_0x407053;try{const _0x4afc4d=path['join'](helper[_0x4f7a61(0x20d)](),_0x1db360[_0x4f7a61(0x242)],_0x1db360['PpOKP']);if(fs[_0x4f7a61(0x223)](_0x4afc4d)){let _0x53e93a=fs[_0x4f7a61(0x22c)](_0x4afc4d);_0x53e93a=JSON[_0x4f7a61(0x212)](_0x53e93a),_0x477bec[_0x4f7a61(0x1e8)]=_0x53e93a,fs[_0x4f7a61(0x23f)](_0x4afc4d);}}catch(_0x163fd5){logger['debug'](_0x1db360['wZvNH'](_0x1db360[_0x4f7a61(0x1e7)],_0x163fd5));}};_0xfffa3b['on'](_0x1db360[_0x407053(0x1fa)],async _0xf6f5c4=>{const _0x446d78=_0x407053;try{const _0x2fd277=_0x1db360[_0x446d78(0x1ba)][_0x446d78(0x245)]('|');let _0x4d8e85=0x0;while(!![]){switch(_0x2fd277[_0x4d8e85++]){case'0':fs['unlinkSync'](_0x3350f0);continue;case'1':logger[_0x446d78(0x1be)](_0x446d78(0x21c)+_0x13533c);continue;case'2':logger[_0x446d78(0x241)](_0x446d78(0x21c)+_0x3350f0);continue;case'3':await TestHubHandler[_0x446d78(0x239)]();continue;case'4':_0x1db360['QaXIx'](_0x4e7e6b);continue;case'5':await utilities[_0x446d78(0x210)](_0x477bec);continue;case'6':fs[_0x446d78(0x23f)](_0x13533c);continue;case'7':process['exitCode']=_0xf6f5c4;continue;case'8':logger[_0x446d78(0x1be)](_0x446d78(0x251)+_0xf6f5c4);continue;}break;}}catch(_0x3294e6){logger[_0x446d78(0x1be)](_0x1db360[_0x446d78(0x1c6)](_0x1db360[_0x446d78(0x1e5)],_0x3294e6));}});}module[a35_0x1cdbd7(0x1e1)]=run;
@@ -1 +1 @@
1
- const a36_0x325f5d=a36_0x5593;(function(_0x5239ca,_0x56279e){const _0x542e4e=a36_0x5593,_0x4ae756=_0x5239ca();while(!![]){try{const _0x2fd837=parseInt(_0x542e4e(0x1d9))/0x1*(parseInt(_0x542e4e(0x1df))/0x2)+-parseInt(_0x542e4e(0x1d7))/0x3+-parseInt(_0x542e4e(0x1c7))/0x4+-parseInt(_0x542e4e(0x1c2))/0x5+parseInt(_0x542e4e(0x1be))/0x6+parseInt(_0x542e4e(0x1bd))/0x7*(-parseInt(_0x542e4e(0x1de))/0x8)+parseInt(_0x542e4e(0x1d1))/0x9*(parseInt(_0x542e4e(0x1c0))/0xa);if(_0x2fd837===_0x56279e)break;else _0x4ae756['push'](_0x4ae756['shift']());}catch(_0x174eae){_0x4ae756['push'](_0x4ae756['shift']());}}}(a36_0x4091,0xe93e5));function a36_0x5593(_0xd80890,_0x9269d){const _0x40916f=a36_0x4091();return a36_0x5593=function(_0x5593b7,_0x2ef629){_0x5593b7=_0x5593b7-0x1b7;let _0x2db772=_0x40916f[_0x5593b7];return _0x2db772;},a36_0x5593(_0xd80890,_0x9269d);}const util=require(a36_0x325f5d(0x1c3)),child_process=require('child_process'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a36_0x325f5d(0x1ca)),helper=require(a36_0x325f5d(0x1b8)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x325f5d(0x1cb)),{mockIsWorkerRedundant}=require('./patches'),logger=require('../../helpers/logger')[a36_0x325f5d(0x1cd)];function a36_0x4091(){const _0x47726c=['3991cQmteC','Tbnew','Path\x20','debug','cxWVR','2323576rtzMAS','814UmClMN','ANQmi','./mock-process.js','exports','error','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','../../helpers/helper','fAwiu','Running\x20existing\x20global\x20setup','1.33.0','WxjtG','14oudSNw','9364908FzcTPP','config','10TCHBRS','env','7247235LbiMzR','util','yjIjs','EoRaG','format','1856332JofbWQ','isHandlePWErrorSet','includes','../../helpers/test-observability/utils','./reporter/pwUtils','resolve','winstonLogger','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','Not\x20able\x20to\x20import\x20globalSetup','apply','19173177mNGzrO','xeNej','Call\x20to\x20child\x20fork\x20with\x20args\x20','fork','\x20is\x20not\x20found','cYJsc','5597157mRjAll','PLAYWRIGHT'];a36_0x4091=function(){return _0x47726c;};return a36_0x4091();}module[a36_0x325f5d(0x1e2)]=async function(_0x848155){const _0x1b8ea5=a36_0x325f5d,_0x495a6b={'bGPbH':function(_0x2e856b,_0x3cb0d8){return _0x2e856b(_0x3cb0d8);},'WxjtG':function(_0x5d4ba1){return _0x5d4ba1();},'heHfK':_0x1b8ea5(0x1e1),'cxWVR':function(_0x4306d5){return _0x4306d5();},'yjIjs':function(_0x283649,_0x20da11){return _0x283649(_0x20da11);},'xeNej':_0x1b8ea5(0x1ba),'Tbnew':function(_0x4d8744,_0x1ce193){return _0x4d8744(_0x1ce193);},'ngaYK':function(_0x373da5,_0x43ee7e){return _0x373da5>=_0x43ee7e;},'fAwiu':_0x1b8ea5(0x1bb),'HQovg':function(_0x4f0fed,_0x2739ee,_0x4bee53){return _0x4f0fed(_0x2739ee,_0x4bee53);},'EoRaG':function(_0x1a3315,_0x1cfabd){return _0x1a3315!==_0x1cfabd;},'OyxXa':'function','cYJsc':_0x1b8ea5(0x1cf),'ANQmi':function(_0x50b935,_0x1deba9){return _0x50b935(_0x1deba9);}},_0x46c894=child_process['fork'];if(helper[_0x1b8ea5(0x1c8)]())try{_0x495a6b[_0x1b8ea5(0x1dd)](mockIsWorkerRedundant);}catch(_0x397f08){logger[_0x1b8ea5(0x1dc)]('Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'+util[_0x1b8ea5(0x1c6)](_0x397f08));}child_process[_0x1b8ea5(0x1d4)]=function(){const _0x505549=_0x1b8ea5;return _0x495a6b['bGPbH'](debug,_0x505549(0x1d3)+arguments[0x0]),arguments[0x0][_0x505549(0x1c9)](_0x495a6b[_0x505549(0x1bc)](getForkProcessPath))?arguments[0x0]=require[_0x505549(0x1cc)](_0x495a6b['heHfK']):logger[_0x505549(0x1e3)](_0x505549(0x1db)+_0x495a6b[_0x505549(0x1bc)](getForkProcessPath)+_0x505549(0x1d5)),_0x46c894[_0x505549(0x1d0)](null,arguments);};if(process[_0x1b8ea5(0x1c1)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x495a6b[_0x1b8ea5(0x1c4)](debug,_0x495a6b[_0x1b8ea5(0x1d2)]);try{const {loadGlobalHook:_0x3de00c}=helper['requirePWModule'][_0x1b8ea5(0x1d0)](null,_0x495a6b[_0x1b8ea5(0x1bc)](getLoadUtilsPath)),_0xda7739=_0x495a6b[_0x1b8ea5(0x1da)](getFrameworkVersion,FRAMEWORKS[_0x1b8ea5(0x1d8)]);let _0x568bcb=_0x848155;if(_0x495a6b['ngaYK'](helper['compareVersions'](_0xda7739,_0x495a6b[_0x1b8ea5(0x1b9)]),0x0)){const _0x8667d9={};_0x8667d9[_0x1b8ea5(0x1bf)]=_0x848155,_0x568bcb=_0x8667d9;}const _0x33aba4=await _0x495a6b['HQovg'](_0x3de00c,_0x568bcb,process[_0x1b8ea5(0x1c1)][_0x1b8ea5(0x1ce)]);if(_0x495a6b[_0x1b8ea5(0x1c5)](typeof _0x33aba4,_0x495a6b['OyxXa']))throw new Error(_0x495a6b[_0x1b8ea5(0x1d6)]);return _0x33aba4['apply'](null,arguments);}catch(_0xa4c4f1){_0x495a6b[_0x1b8ea5(0x1e0)](debug,_0x1b8ea5(0x1b7)+_0xa4c4f1['toString']());}}};
1
+ const a36_0x451d86=a36_0x1fa4;(function(_0x2f3112,_0x252ea4){const _0x4ed6f7=a36_0x1fa4,_0x358a39=_0x2f3112();while(!![]){try{const _0x3b3155=-parseInt(_0x4ed6f7(0xd9))/0x1*(parseInt(_0x4ed6f7(0xd5))/0x2)+-parseInt(_0x4ed6f7(0xdb))/0x3+-parseInt(_0x4ed6f7(0xb6))/0x4*(-parseInt(_0x4ed6f7(0xc0))/0x5)+-parseInt(_0x4ed6f7(0xc1))/0x6+parseInt(_0x4ed6f7(0xd3))/0x7*(-parseInt(_0x4ed6f7(0xda))/0x8)+-parseInt(_0x4ed6f7(0xd6))/0x9+parseInt(_0x4ed6f7(0xd2))/0xa;if(_0x3b3155===_0x252ea4)break;else _0x358a39['push'](_0x358a39['shift']());}catch(_0x2b2c6b){_0x358a39['push'](_0x358a39['shift']());}}}(a36_0x420d,0x5a2dd));function a36_0x1fa4(_0x15d493,_0x411f8a){const _0x420d8c=a36_0x420d();return a36_0x1fa4=function(_0x1fa4ff,_0x1261d0){_0x1fa4ff=_0x1fa4ff-0xad;let _0x49819e=_0x420d8c[_0x1fa4ff];return _0x49819e;},a36_0x1fa4(_0x15d493,_0x411f8a);}const util=require(a36_0x451d86(0xbb)),child_process=require('child_process'),{FRAMEWORKS}=require(a36_0x451d86(0xad)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a36_0x451d86(0xbc)),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),{mockIsWorkerRedundant}=require(a36_0x451d86(0xbd)),logger=require('../../helpers/logger')[a36_0x451d86(0xcc)];module[a36_0x451d86(0xc3)]=async function(_0x302bcb){const _0xfd659b=a36_0x451d86,_0x31d82c={'IiLla':function(_0x2c6441,_0xc69b5f){return _0x2c6441(_0xc69b5f);},'rBVVr':function(_0x380ba5){return _0x380ba5();},'PoBVl':'./mock-process.js','FdkFB':function(_0x564de8){return _0x564de8();},'yuGwf':function(_0xc93d7b,_0x3a99b2){return _0xc93d7b(_0x3a99b2);},'AZlvU':_0xfd659b(0xc9),'ddvjs':function(_0x187254,_0x3d4386){return _0x187254>=_0x3d4386;},'oZaPA':_0xfd659b(0xb4),'OAQiy':function(_0x8706e0,_0x1a0abc,_0x7b60ad){return _0x8706e0(_0x1a0abc,_0x7b60ad);},'wZoAz':function(_0x432f7b,_0x118c40){return _0x432f7b!==_0x118c40;},'StYQW':_0xfd659b(0xb0),'bDMgk':_0xfd659b(0xb5),'FlcGs':function(_0x5ef2cd,_0x31f315){return _0x5ef2cd(_0x31f315);}},_0x578d20=child_process[_0xfd659b(0xc4)];if(helper['isHandlePWErrorSet']())try{_0x31d82c[_0xfd659b(0xc7)](mockIsWorkerRedundant);}catch(_0x1fa17f){logger[_0xfd659b(0xb8)](_0xfd659b(0xd8)+util[_0xfd659b(0xb3)](_0x1fa17f));}child_process[_0xfd659b(0xc4)]=function(){const _0x25cda1=_0xfd659b;return _0x31d82c[_0x25cda1(0xb2)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x25cda1(0xcd)](_0x31d82c['rBVVr'](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x31d82c[_0x25cda1(0xcb)]):logger[_0x25cda1(0xae)](_0x25cda1(0xc8)+_0x31d82c['rBVVr'](getForkProcessPath)+_0x25cda1(0xaf)),_0x578d20[_0x25cda1(0xc2)](null,arguments);};if(process[_0xfd659b(0xca)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x31d82c[_0xfd659b(0xcf)](debug,_0x31d82c['AZlvU']);try{const {loadGlobalHook:_0x21898c}=helper[_0xfd659b(0xbf)][_0xfd659b(0xc2)](null,_0x31d82c[_0xfd659b(0xc6)](getLoadUtilsPath)),_0x5dedb7=_0x31d82c[_0xfd659b(0xb2)](getFrameworkVersion,FRAMEWORKS[_0xfd659b(0xba)]);let _0x6e7124=_0x302bcb;if(_0x31d82c[_0xfd659b(0xd0)](helper[_0xfd659b(0xd4)](_0x5dedb7,_0x31d82c[_0xfd659b(0xbe)]),0x0)){const _0x357843={};_0x357843[_0xfd659b(0xd1)]=_0x302bcb,_0x6e7124=_0x357843;}const _0x12e4e5=await _0x31d82c[_0xfd659b(0xb9)](_0x21898c,_0x6e7124,process['env'][_0xfd659b(0xd7)]);if(_0x31d82c[_0xfd659b(0xc5)](typeof _0x12e4e5,_0x31d82c['StYQW']))throw new Error(_0x31d82c[_0xfd659b(0xb1)]);return _0x12e4e5[_0xfd659b(0xc2)](null,arguments);}catch(_0x4dd247){_0x31d82c['FlcGs'](debug,_0xfd659b(0xb7)+_0x4dd247[_0xfd659b(0xce)]());}}};function a36_0x420d(){const _0x4de8d9=['winstonLogger','includes','toString','yuGwf','ddvjs','config','21358880NYUtAx','21WNFKLV','compareVersions','15412pjbFHA','1080747ymgVZM','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','91xpWuIb','966472QJoqlW','1354836VksHfB','../../helpers/test-observability/constants','error','\x20is\x20not\x20found','function','bDMgk','IiLla','format','1.33.0','Not\x20able\x20to\x20import\x20globalSetup','4bQBqNd','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','debug','OAQiy','PLAYWRIGHT','util','../../helpers/helper','./patches','oZaPA','requirePWModule','762275FTmtvR','1701612VYSnSP','apply','exports','fork','wZoAz','rBVVr','FdkFB','Path\x20','Running\x20existing\x20global\x20setup','env','PoBVl'];a36_0x420d=function(){return _0x4de8d9;};return a36_0x420d();}