browserstack-node-sdk 1.34.13 → 1.34.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) 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/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelper.js +1 -0
  104. package/src/helpers/patchHelpers.js +1 -1
  105. package/src/helpers/percy/Percy.js +1 -1
  106. package/src/helpers/percy/PercyBinary.js +1 -1
  107. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  108. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  109. package/src/helpers/percy/PercySDK.js +1 -1
  110. package/src/helpers/percy/index.js +1 -1
  111. package/src/helpers/percy/utils.js +1 -1
  112. package/src/helpers/performance-tester.js +1 -1
  113. package/src/helpers/request-spy.js +1 -1
  114. package/src/helpers/setKeepAlive.js +1 -1
  115. package/src/helpers/test-observability/constants.js +1 -1
  116. package/src/helpers/test-observability/error-handler.js +1 -1
  117. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  118. package/src/helpers/test-observability/sessionHandler.js +1 -1
  119. package/src/helpers/test-observability/utils.js +1 -1
  120. package/src/helpers/testhub/constants.js +1 -1
  121. package/src/helpers/testhub/testhubHandler.js +1 -1
  122. package/src/helpers/testhub/utils.js +1 -1
  123. package/src/helpers/timeoutPromise.js +1 -1
  124. package/src/helpers/utilities.js +1 -1
  125. package/src/helpers/w3cMapping.js +1 -1
  126. package/src/hubAllocationMethods.js +1 -1
  127. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a29_0x30d60f=a29_0x2320;(function(_0x246e8d,_0x43d666){const _0x53fd44=a29_0x2320,_0x5bbacc=_0x246e8d();while(!![]){try{const _0x4cc779=parseInt(_0x53fd44(0xe7))/0x1+parseInt(_0x53fd44(0xa8))/0x2*(parseInt(_0x53fd44(0xc4))/0x3)+-parseInt(_0x53fd44(0x8c))/0x4+parseInt(_0x53fd44(0x9b))/0x5+-parseInt(_0x53fd44(0x100))/0x6*(parseInt(_0x53fd44(0x8f))/0x7)+parseInt(_0x53fd44(0xff))/0x8+-parseInt(_0x53fd44(0x95))/0x9;if(_0x4cc779===_0x43d666)break;else _0x5bbacc['push'](_0x5bbacc['shift']());}catch(_0x4a3e0e){_0x5bbacc['push'](_0x5bbacc['shift']());}}}(a29_0x2d3e,0x562d4));const logger=require(a29_0x30d60f(0xa0))[a29_0x30d60f(0xf9)],helper=require(a29_0x30d60f(0xcd)),constants=require(a29_0x30d60f(0x101)),hubAllocator=require(a29_0x30d60f(0xad)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x30d60f(0xa1)),{setAccessibilityCapabilities,setExtension}=require(a29_0x30d60f(0xf3)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x30d60f(0xb4)),globals=require(a29_0x30d60f(0x94)),modify=(_0x283ef3,_0x3a5982=null,_0x1b56b6=![])=>{const _0x577a74=a29_0x30d60f,_0x415f8b={'MalBE':function(_0x4ba014,_0x1b9fff){return _0x4ba014!==_0x1b9fff;},'TZyfJ':_0x577a74(0x105),'lRJvZ':function(_0x4560d7,_0x3e869b){return _0x4560d7+_0x3e869b;},'aZPez':'https://','PIwhR':_0x577a74(0x107),'eltbr':'goog:chromeOptions','AMkdL':_0x577a74(0xf1),'lIXmb':_0x577a74(0xc8),'jPqFi':_0x577a74(0x90),'AFYeR':_0x577a74(0x104),'pvZMF':_0x577a74(0xe5),'aCThp':'safari.options','eEZJY':_0x577a74(0xd0),'nYDWw':_0x577a74(0xc9),'MqUJR':function(_0xb1d2cc,_0x4d0996){return _0xb1d2cc===_0x4d0996;},'hTwoa':_0x577a74(0xae),'pzpwQ':_0x577a74(0xd7),'SFRfa':function(_0xd0523c,_0x35142a,_0x39afe4){return _0xd0523c(_0x35142a,_0x39afe4);},'TOLBF':function(_0x4728e5,_0x5485da,_0x3587d8){return _0x4728e5(_0x5485da,_0x3587d8);},'nDLGm':function(_0x55c4e9,_0x658ec7){return _0x55c4e9(_0x658ec7);},'hDbnM':function(_0xb7457f,_0x18aed0,_0x4cad10){return _0xb7457f(_0x18aed0,_0x4cad10);},'bDIXn':_0x577a74(0xb5),'cTffQ':_0x577a74(0xcf),'iRAYP':function(_0x473701,_0x15e85f,_0x54b2cb){return _0x473701(_0x15e85f,_0x54b2cb);},'kDgpQ':function(_0x517c2e,_0x3eea62,_0x4d9670){return _0x517c2e(_0x3eea62,_0x4d9670);},'cVVON':_0x577a74(0xc3),'uhbyC':function(_0xb3b677){return _0xb3b677();},'VzGzw':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','hbnQv':_0x577a74(0xac),'bZYDs':function(_0x4b4e11,_0x43f95d){return _0x4b4e11(_0x43f95d);},'PJFGE':function(_0x432e51,_0x51bc10){return _0x432e51!==_0x51bc10;},'znzCP':_0x577a74(0xfc),'NFEmv':_0x577a74(0xb3)},_0x5a045b=helper[_0x577a74(0xe9)]();let _0x3215d1;try{_0x3215d1=helper['requireSeleniumWebdriver'](),_0x3215d1['originalBuilder']&&(_0x3215d1[_0x577a74(0xe1)]=_0x3215d1[_0x577a74(0xbe)]);}catch(_0x10fa59){return;}if(helper[_0x577a74(0xa6)]()){const _0x4ba8da={};_0x4ba8da[_0x577a74(0xbc)]=_0x283ef3[_0x577a74(0xef)],helper[_0x577a74(0xce)](_0x4ba8da,new Map(),new Map()),logger['info'](_0x415f8b['znzCP']),logger['debug'](_0x415f8b[_0x577a74(0xdb)]);}class _0x4b51e2 extends _0x5a045b[_0x577a74(0xfa)]{[_0x577a74(0xed)](_0x4f77f9){const _0x54da60=_0x577a74;if(_0x415f8b[_0x54da60(0xa5)](_0x4f77f9['path'],_0x415f8b[_0x54da60(0x9d)])&&_0x415f8b[_0x54da60(0xa5)](global[_0x54da60(0xee)],''))try{global[_0x54da60(0xee)]=_0x415f8b[_0x54da60(0xcb)](_0x415f8b['lRJvZ'](_0x415f8b['aZPez'],global[_0x54da60(0xee)]),_0x415f8b[_0x54da60(0xc7)]),this[_0x54da60(0xca)]=hubAllocator[_0x54da60(0x9c)](global[_0x54da60(0xee)]),logger[_0x54da60(0xde)](_0x54da60(0xba)+global[_0x54da60(0xee)]),global[_0x54da60(0xee)]='';}catch(_0x35a5ef){logger['error'](_0x35a5ef);}return super[_0x54da60(0xed)](_0x4f77f9);}}class _0x567409 extends _0x3215d1['Builder']{['setServer'](){const _0x318406=_0x577a74;return this[_0x318406(0xb1)]=helper[_0x318406(0xd2)](_0x283ef3),logger[_0x318406(0xde)](_0x318406(0x91)+this['url_']),this;}[_0x577a74(0x9a)](_0x41634f){const _0x2ea27a=_0x577a74;let _0x4c5f05={};for(const _0x5b6b00 in _0x41634f){switch(_0x5b6b00){case _0x415f8b[_0x2ea27a(0xdf)]:case _0x415f8b['AMkdL']:this['chromeOptions_']&&(_0x4c5f05=this[_0x2ea27a(0xd8)][_0x2ea27a(0xd9)](this['chromeOptions_'][_0x2ea27a(0x98)])||{},this[_0x2ea27a(0xd8)][_0x2ea27a(0x99)](this[_0x2ea27a(0xd8)][_0x2ea27a(0x98)],helper['mergeDeep'](_0x4c5f05,_0x41634f[_0x5b6b00])));break;case _0x415f8b[_0x2ea27a(0xb8)]:case _0x415f8b[_0x2ea27a(0xda)]:this['edgeOptions_']&&(_0x4c5f05=this[_0x2ea27a(0xd4)][_0x2ea27a(0xd9)](this[_0x2ea27a(0xd4)]['CAPABILITY_KEY'])||{},this[_0x2ea27a(0xd4)][_0x2ea27a(0x99)](this['edgeOptions_'][_0x2ea27a(0x98)],helper[_0x2ea27a(0xa2)](_0x4c5f05,_0x41634f[_0x5b6b00])));break;case _0x415f8b[_0x2ea27a(0xf8)]:case _0x415f8b[_0x2ea27a(0xb7)]:this[_0x2ea27a(0xa7)]&&(_0x4c5f05=this[_0x2ea27a(0xa7)][_0x2ea27a(0xd9)](this[_0x2ea27a(0xa7)][_0x2ea27a(0x98)])||{},this['firefoxOptions_'][_0x2ea27a(0x99)](this[_0x2ea27a(0xa7)][_0x2ea27a(0x98)],helper[_0x2ea27a(0xa2)](_0x4c5f05,_0x41634f[_0x5b6b00])));break;case _0x415f8b[_0x2ea27a(0xe4)]:this[_0x2ea27a(0xbb)]&&(_0x4c5f05=this[_0x2ea27a(0xbb)][_0x2ea27a(0xd9)](this[_0x2ea27a(0xbb)][_0x2ea27a(0x98)])||{},this[_0x2ea27a(0xbb)][_0x2ea27a(0x99)](this[_0x2ea27a(0xbb)][_0x2ea27a(0x98)],helper[_0x2ea27a(0xa2)](_0x4c5f05,_0x41634f[_0x5b6b00])));break;case _0x415f8b[_0x2ea27a(0xe6)]:case _0x415f8b[_0x2ea27a(0x8d)]:this[_0x2ea27a(0xfb)]&&(_0x4c5f05=this[_0x2ea27a(0xfb)][_0x2ea27a(0xd9)](this[_0x2ea27a(0xfb)][_0x2ea27a(0x98)])||{},this[_0x2ea27a(0xfb)][_0x2ea27a(0x99)](this[_0x2ea27a(0xfb)]['CAPABILITY_KEY'],helper[_0x2ea27a(0xa2)](_0x4c5f05,_0x41634f[_0x5b6b00])));break;}}}['setCapabilities'](){const _0x309a8d=_0x577a74;return logger[_0x309a8d(0xde)](_0x415f8b['pzpwQ']),this[_0x309a8d(0x9a)](_0x283ef3['capability']),Object[_0x309a8d(0xf5)](_0x283ef3[_0x309a8d(0x103)])[_0x309a8d(0xfd)](_0x14bc8c=>{const _0x40ebae=_0x309a8d,_0x7f83c7=this[_0x40ebae(0xd5)]['get'](_0x14bc8c);_0x415f8b[_0x40ebae(0xe2)](typeof _0x7f83c7,_0x415f8b[_0x40ebae(0xb6)])?this['capabilities_'][_0x40ebae(0x99)](_0x14bc8c,helper[_0x40ebae(0xa2)](_0x7f83c7,_0x283ef3[_0x40ebae(0x103)][_0x14bc8c])):this[_0x40ebae(0xd5)][_0x40ebae(0x99)](_0x14bc8c,_0x283ef3[_0x40ebae(0x103)][_0x14bc8c]);}),this;}[_0x577a74(0xeb)](){const _0x4cdd1a=_0x577a74,_0x42c648={'rsrZZ':_0x415f8b[_0x4cdd1a(0x102)],'sDsvQ':_0x415f8b[_0x4cdd1a(0xcc)],'syWsG':function(_0x444e43,_0x247de5,_0x1a9a23){const _0xd28722=_0x4cdd1a;return _0x415f8b[_0xd28722(0xc6)](_0x444e43,_0x247de5,_0x1a9a23);},'ORyHr':function(_0xe23fbe,_0x5f2d20,_0x3b9e4a){const _0x24150b=_0x4cdd1a;return _0x415f8b[_0x24150b(0xd6)](_0xe23fbe,_0x5f2d20,_0x3b9e4a);}};if(helper['isBrowserstackInfra']()){const _0x37801d=_0x415f8b[_0x4cdd1a(0xe3)][_0x4cdd1a(0xaf)]('|');let _0x3de73f=0x0;while(!![]){switch(_0x37801d[_0x3de73f++]){case'0':this[_0x4cdd1a(0xd3)]();continue;case'1':this['setServer']();continue;case'2':_0x415f8b['uhbyC'](isAccessibilityAutomationSession)&&_0x415f8b[_0x4cdd1a(0xf4)](setAccessibilityCapabilities,_0x283ef3);continue;case'3':logger[_0x4cdd1a(0xde)](_0x415f8b[_0x4cdd1a(0xaa)]);continue;case'4':globals[_0x4cdd1a(0xa3)](_0x415f8b[_0x4cdd1a(0xea)])&&(!_0x415f8b[_0x4cdd1a(0xa9)](setExtension,this,_0x283ef3)&&globals[_0x4cdd1a(0xd1)](_0x415f8b['hbnQv'],![]));continue;case'5':if(helper[_0x4cdd1a(0xec)](_0x283ef3['proxySettings'][_0x4cdd1a(0x106)]))this[_0x4cdd1a(0x93)]=helper[_0x4cdd1a(0xc2)](_0x283ef3[_0x4cdd1a(0x96)][_0x4cdd1a(0x106)]);else _0x283ef3['proxySettings'][_0x4cdd1a(0x106)]&&(this[_0x4cdd1a(0xb9)]=_0x283ef3[_0x4cdd1a(0x96)]['proxyUrl'],logger[_0x4cdd1a(0xde)](_0x4cdd1a(0xab)+this['proxy_']));continue;}break;}}const _0x16825b=super[_0x4cdd1a(0xeb)]();return _0x16825b[_0x4cdd1a(0x9f)][_0x4cdd1a(0xc1)](_0x326c45=>{const _0x56dabf=_0x4cdd1a;try{const _0x1e9cff=_0x326c45['caps_'][_0x56dabf(0xd9)](_0x42c648[_0x56dabf(0xbf)]);_0x1e9cff?(logger[_0x56dabf(0xde)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x1e9cff),hubAllocator['updateHubUrl'](_0x1e9cff),helper[_0x56dabf(0xc0)](_0x1e9cff)):logger[_0x56dabf(0xde)](_0x42c648['sDsvQ']);}catch(_0x165aa3){logger['debug'](_0x56dabf(0xf0)+_0x165aa3);}}),_0x16825b[_0x4cdd1a(0xf6)]=0x0,_0x16825b['then']&&_0x16825b[_0x4cdd1a(0xc1)](_0x47dd6b=>{const _0x1f59a7=_0x4cdd1a,_0x31c7cd={'HRXxP':function(_0x3107df,_0x12b751,_0x7bcce2){const _0x2612ac=a29_0x2320;return _0x415f8b[_0x2612ac(0xdd)](_0x3107df,_0x12b751,_0x7bcce2);}};_0x415f8b[_0x1f59a7(0xbd)](overrideQuit,_0x47dd6b,_0x16825b),_0x415f8b['nDLGm'](overrideTakeScreenshot,_0x47dd6b),helper[_0x1f59a7(0xe8)](_0x47dd6b,_0x283ef3),helper[_0x1f59a7(0xfe)](_0x47dd6b,_0x283ef3),_0x47dd6b[_0x1f59a7(0xb2)]=async()=>{return await _0x31c7cd['HRXxP'](getAccessibilityResultsSummary,_0x47dd6b,global);},_0x47dd6b[_0x1f59a7(0x92)]=async()=>{const _0x52845b=_0x1f59a7;return await _0x42c648[_0x52845b(0xf7)](getAccessibilityResults,_0x47dd6b,global);};}),_0x16825b[_0x4cdd1a(0xb2)]=async()=>{const _0x53f823=_0x4cdd1a;return await _0x42c648[_0x53f823(0xa4)](getAccessibilityResultsSummary,_0x16825b,global);},_0x16825b[_0x4cdd1a(0x92)]=async()=>{const _0x31aeda=_0x4cdd1a;return await _0x415f8b[_0x31aeda(0xa9)](getAccessibilityResults,_0x16825b,global);},_0x415f8b['bZYDs'](overrideTakeScreenshot,_0x16825b),_0x415f8b[_0x4cdd1a(0x97)](overrideQuit,_0x16825b),helper[_0x4cdd1a(0xe8)](_0x16825b,_0x283ef3),helper[_0x4cdd1a(0xfe)](_0x16825b,_0x283ef3),helper[_0x4cdd1a(0x9e)](global[_0x4cdd1a(0xf2)])&&(global[_0x4cdd1a(0xf2)]=[]),helper[_0x4cdd1a(0x9e)](global[_0x4cdd1a(0xb0)])&&(global[_0x4cdd1a(0xb0)]=[]),global[_0x4cdd1a(0xf2)][_0x4cdd1a(0xc5)](_0x16825b),global[_0x4cdd1a(0x8e)]=_0x16825b,_0x415f8b[_0x4cdd1a(0xa5)](global[_0x4cdd1a(0xb0)],undefined)&&global[_0x4cdd1a(0xb0)][_0x4cdd1a(0xc5)](_0x16825b),_0x3a5982&&helper[_0x4cdd1a(0x9e)](_0x3a5982['global'][_0x4cdd1a(0xf2)])&&(_0x3a5982['global']['__driversArray']=[]),_0x3a5982&&_0x415f8b[_0x4cdd1a(0xe0)](_0x3a5982[_0x4cdd1a(0xdc)][_0x4cdd1a(0xb0)],undefined)&&(_0x3a5982[_0x4cdd1a(0xdc)][_0x4cdd1a(0xb0)][_0x4cdd1a(0xc5)](_0x16825b),_0x3a5982[_0x4cdd1a(0xdc)][_0x4cdd1a(0xf2)][_0x4cdd1a(0xc5)](_0x16825b)),_0x16825b;}}return _0x3215d1[_0x577a74(0xbe)]=_0x3215d1['Builder'],_0x3215d1[_0x577a74(0xe1)]=_0x567409,_0x5a045b['HttpClient']=_0x4b51e2,_0x3215d1;};function a29_0x2d3e(){const _0x5db2b9=['get','jPqFi','NFEmv','global','SFRfa','debug','eltbr','PJFGE','Builder','MqUJR','cVVON','aCThp','firefoxOptions','eEZJY','475707DAKmlc','overrideGet','requireHttpClient','hbnQv','build','isPacProxy','send','newHubUrl','browserStackLogLevel','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','chromeOptions','__driversArray','../accessibility-automation/helper','nDLGm','keys','quitCount_','syWsG','AFYeR','winstonLogger','HttpClient','ieOptions_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','forEach','overrideExecute','2546384oFBrMT','6eYteiv','../../../bin/utils/constants','bDIXn','capability','moz:firefoxOptions','/session','proxyUrl','/wd/hub','339316ZNTzsn','nYDWw','__driver','1820259nuXUOK','edgeOptions','Hub\x20url\x20set\x20to\x20','getAccessibilityResults','agent_','../../../helpers/globals','6283530jGBswH','proxySettings','bZYDs','CAPABILITY_KEY','set','__setBrowserOptions','1635670MDPqPT','getRequestOptions','TZyfJ','isUndefined','session_','../../../helpers/logger','../../../helpers/patchHelpers','mergeDeep','getGlobal','ORyHr','MalBE','isBrowserstackInfra','firefoxOptions_','549754XVpZqO','hDbnM','VzGzw','Proxy\x20set\x20to\x20','isAccessibilityPlatform','../../../hubAllocationMethods','object','split','__drivers','url_','getAccessibilityResultsSummary','Modifying\x20webdriver\x20builder','../../../helpers/accessibility-automation/helper','optimalHubUrl','hTwoa','pvZMF','lIXmb','proxy_','New\x20hub\x20url\x20set\x20to\x20','safariOptions_','logLevel','TOLBF','originalBuilder','rsrZZ','storeOptimalHubUrl','then','getHttpAgent','2|1|0|5|4|3','3pWUOyA','push','iRAYP','PIwhR','ms:edgeOptions','ieOptions','options_','lRJvZ','cTffQ','../../../helpers/helper','setLogLevel','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','se:ieOptions','setGlobal','getHubUrl','setCapabilities','edgeOptions_','capabilities_','kDgpQ','Setting\x20Browserstack\x20capabilities','chromeOptions_'];a29_0x2d3e=function(){return _0x5db2b9;};return a29_0x2d3e();}function a29_0x2320(_0x34dc26,_0x1f41ca){const _0x2d3e70=a29_0x2d3e();return a29_0x2320=function(_0x232088,_0x28fffc){_0x232088=_0x232088-0x8c;let _0x13ebda=_0x2d3e70[_0x232088];return _0x13ebda;},a29_0x2320(_0x34dc26,_0x1f41ca);}module['exports']['browserstackAgentObservability']=modify;
1
+ function a29_0x4198(_0x168832,_0x88e5e5){const _0xfdf6b4=a29_0xfdf6();return a29_0x4198=function(_0x4198c7,_0x1a419b){_0x4198c7=_0x4198c7-0x110;let _0x54532c=_0xfdf6b4[_0x4198c7];return _0x54532c;},a29_0x4198(_0x168832,_0x88e5e5);}const a29_0x54736c=a29_0x4198;function a29_0xfdf6(){const _0x19dce9=['MkPfE','getAccessibilityResultsSummary','4viMqKd','__drivers','proxyUrl','../../../helpers/globals','error','send','ZnFvd','isUndefined','176aQAhWp','OATAc','capabilities_','Builder','se:ieOptions','./helpers/patchHelper','TyDhk','/session','keys','getHttpAgent','debug','isBrowserstackInfra','RqWKj','path','__setBrowserOptions','Modifying\x20webdriver\x20builder','NjhIP','newHubUrl','caps_','mergeDeep','hNejJ','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','getAccessibilityResults','build','AUJNy','session_','push','isAccessibilityPlatform','proxy_','onwUy','global','../../../helpers/logger','GcgpY','../../../helpers/patchHelpers','KGows','browserStackLogLevel','530851hsnHwQ','50528HiCKKY','../../../bin/utils/constants','exports','getRequestOptions','browserstackAgentObservability','EMdgW','firefoxOptions_','storeOptimalHubUrl','HttpClient','forEach','JaWMg','../../../hubAllocationMethods','setServer','72FMWkPn','setGlobal','../accessibility-automation/helper','CAPABILITY_KEY','210UEbQEs','url_','Hhumr','chromeOptions','capability','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','yZtyN','split','quitCount_','edgeOptions_','setLogLevel','kRKzc','overrideGet','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','Setting\x20Browserstack\x20capabilities','Hub\x20url\x20set\x20to\x20','ieOptions_','proxySettings','safari.options','chromeOptions_','getGlobal','4|2|0|5|1|3','get','aPSdH','options_','ZdbfT','/wd/hub','1058676XjSyMk','__driver','safariOptions_','2997756VFGVUR','setCapabilities','fdmZV','yOQXC','requireHttpClient','isPacProxy','70ahOqfG','Atldm','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','then','uCrrf','updateHubUrl','120816iruxjd','__driversArray','ms:edgeOptions','moz:firefoxOptions','SyCHT','nNCEC','getHubUrl','RZFMc','set','LEtgw','originalBuilder','TqXBn','1288255komRiL','577768CYkQvb'];a29_0xfdf6=function(){return _0x19dce9;};return a29_0xfdf6();}(function(_0x58f78f,_0x58ae07){const _0x35759f=a29_0x4198,_0x3e7837=_0x58f78f();while(!![]){try{const _0x42c80d=parseInt(_0x35759f(0x15e))/0x1+-parseInt(_0x35759f(0x15f))/0x2*(-parseInt(_0x35759f(0x16c))/0x3)+parseInt(_0x35759f(0x132))/0x4*(-parseInt(_0x35759f(0x12e))/0x5)+parseInt(_0x35759f(0x116))/0x6+parseInt(_0x35759f(0x11c))/0x7*(parseInt(_0x35759f(0x12f))/0x8)+-parseInt(_0x35759f(0x122))/0x9*(parseInt(_0x35759f(0x170))/0xa)+parseInt(_0x35759f(0x13a))/0xb*(-parseInt(_0x35759f(0x113))/0xc);if(_0x42c80d===_0x58ae07)break;else _0x3e7837['push'](_0x3e7837['shift']());}catch(_0x1ddfb7){_0x3e7837['push'](_0x3e7837['shift']());}}}(a29_0xfdf6,0x6395c));const logger=require(a29_0x54736c(0x159))['winstonLogger'],helper=require('../../../helpers/helper'),constants=require(a29_0x54736c(0x160)),hubAllocator=require(a29_0x54736c(0x16a)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x54736c(0x15b)),{setAccessibilityCapabilities,setExtension}=require(a29_0x54736c(0x16e)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a29_0x54736c(0x135)),{overrideExecute}=require(a29_0x54736c(0x13f)),modify=(_0x67ca6e,_0x4f56ae=null,_0x4e9bf8=![])=>{const _0xab2728=a29_0x54736c,_0x105196={'MOpVX':function(_0x1a3b07,_0xcb50cb){return _0x1a3b07!==_0xcb50cb;},'mLRkG':_0xab2728(0x141),'yOQXC':function(_0x4a5593,_0x1c0d22){return _0x4a5593!==_0x1c0d22;},'LEtgw':function(_0x56ff5d,_0x883f53){return _0x56ff5d+_0x883f53;},'yZtyN':function(_0x59fdc5,_0x8a4cdb){return _0x59fdc5+_0x8a4cdb;},'kRKzc':'https://','nqNCs':_0xab2728(0x112),'TUmZK':'goog:chromeOptions','qxvKG':_0xab2728(0x173),'FWtkW':_0xab2728(0x124),'SyCHT':'edgeOptions','aPSdH':_0xab2728(0x125),'ZdbfT':'firefoxOptions','ScJCT':_0xab2728(0x182),'WIiRV':_0xab2728(0x13e),'AUJNy':'ieOptions','dGQLq':function(_0x4d4f9e,_0x3f9d9c){return _0x4d4f9e===_0x3f9d9c;},'MkPfE':'object','uCrrf':_0xab2728(0x17e),'MUYdn':'optimalHubUrl','RZFMc':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','RqWKj':function(_0x1eeef0,_0x1e6b79,_0x140de6){return _0x1eeef0(_0x1e6b79,_0x140de6);},'TqXBn':function(_0x2034aa,_0x447975){return _0x2034aa(_0x447975);},'NjhIP':function(_0x466e9b,_0x729976,_0xd1890b){return _0x466e9b(_0x729976,_0xd1890b);},'nNCEC':_0xab2728(0x185),'onwUy':_0xab2728(0x155),'QYiNv':function(_0x4f5fee,_0xcc619a,_0x106099){return _0x4f5fee(_0xcc619a,_0x106099);},'TyDhk':_0xab2728(0x175),'ZnFvd':function(_0x1f122c){return _0x1f122c();},'EMdgW':function(_0x29d952,_0x49443a){return _0x29d952(_0x49443a);},'hNejJ':function(_0x54226c,_0x2fbc5b){return _0x54226c(_0x2fbc5b);},'Atldm':function(_0x3c614f,_0x2e1505){return _0x3c614f(_0x2e1505);},'fdmZV':function(_0x1aa690,_0x1c2ae7,_0x3bea13){return _0x1aa690(_0x1c2ae7,_0x3bea13);},'qOMHw':function(_0x5a8eac,_0x2e51a1){return _0x5a8eac!==_0x2e51a1;},'bKhYw':_0xab2728(0x14f),'JaWMg':_0xab2728(0x149)},_0x383be9=helper[_0xab2728(0x11a)]();let _0x508e6c;try{_0x508e6c=helper['requireSeleniumWebdriver'](),_0x508e6c['originalBuilder']&&(_0x508e6c[_0xab2728(0x13d)]=_0x508e6c[_0xab2728(0x12c)]);}catch(_0x565f14){return;}if(helper[_0xab2728(0x145)]()){const _0x35e5a7={};_0x35e5a7['logLevel']=_0x67ca6e[_0xab2728(0x15d)],helper[_0xab2728(0x17a)](_0x35e5a7,new Map(),new Map()),logger['info'](_0x105196['bKhYw']),logger[_0xab2728(0x144)](_0x105196[_0xab2728(0x169)]);}class _0x1a55e0 extends _0x383be9['HttpClient']{[_0xab2728(0x137)](_0x12d80f){const _0x1b4aa0=_0xab2728;if(_0x105196['MOpVX'](_0x12d80f[_0x1b4aa0(0x147)],_0x105196['mLRkG'])&&_0x105196[_0x1b4aa0(0x119)](global[_0x1b4aa0(0x14b)],''))try{global[_0x1b4aa0(0x14b)]=_0x105196[_0x1b4aa0(0x12b)](_0x105196[_0x1b4aa0(0x176)](_0x105196[_0x1b4aa0(0x17b)],global[_0x1b4aa0(0x14b)]),_0x105196['nqNCs']),this[_0x1b4aa0(0x110)]=hubAllocator[_0x1b4aa0(0x162)](global[_0x1b4aa0(0x14b)]),logger[_0x1b4aa0(0x144)]('New\x20hub\x20url\x20set\x20to\x20'+global['newHubUrl']),global[_0x1b4aa0(0x14b)]='';}catch(_0x35fd83){logger[_0x1b4aa0(0x136)](_0x35fd83);}return super[_0x1b4aa0(0x137)](_0x12d80f);}}class _0x2c4e76 extends _0x508e6c[_0xab2728(0x13d)]{['setServer'](){const _0x77903d=_0xab2728;return this[_0x77903d(0x171)]=helper[_0x77903d(0x128)](_0x67ca6e),logger[_0x77903d(0x144)](_0x77903d(0x17f)+this[_0x77903d(0x171)]),this;}[_0xab2728(0x148)](_0x3fa865){const _0x45086d=_0xab2728;let _0xdbcae3={};for(const _0x4d7ff7 in _0x3fa865){switch(_0x4d7ff7){case _0x105196['TUmZK']:case _0x105196['qxvKG']:this[_0x45086d(0x183)]&&(_0xdbcae3=this[_0x45086d(0x183)][_0x45086d(0x186)](this[_0x45086d(0x183)][_0x45086d(0x16f)])||{},this[_0x45086d(0x183)][_0x45086d(0x12a)](this['chromeOptions_']['CAPABILITY_KEY'],helper[_0x45086d(0x14d)](_0xdbcae3,_0x3fa865[_0x4d7ff7])));break;case _0x105196['FWtkW']:case _0x105196[_0x45086d(0x126)]:this['edgeOptions_']&&(_0xdbcae3=this['edgeOptions_'][_0x45086d(0x186)](this['edgeOptions_'][_0x45086d(0x16f)])||{},this['edgeOptions_'][_0x45086d(0x12a)](this[_0x45086d(0x179)][_0x45086d(0x16f)],helper[_0x45086d(0x14d)](_0xdbcae3,_0x3fa865[_0x4d7ff7])));break;case _0x105196[_0x45086d(0x187)]:case _0x105196[_0x45086d(0x111)]:this[_0x45086d(0x165)]&&(_0xdbcae3=this['firefoxOptions_']['get'](this[_0x45086d(0x165)][_0x45086d(0x16f)])||{},this[_0x45086d(0x165)][_0x45086d(0x12a)](this['firefoxOptions_'][_0x45086d(0x16f)],helper[_0x45086d(0x14d)](_0xdbcae3,_0x3fa865[_0x4d7ff7])));break;case _0x105196['ScJCT']:this[_0x45086d(0x115)]&&(_0xdbcae3=this[_0x45086d(0x115)]['get'](this[_0x45086d(0x115)]['CAPABILITY_KEY'])||{},this['safariOptions_']['set'](this[_0x45086d(0x115)]['CAPABILITY_KEY'],helper[_0x45086d(0x14d)](_0xdbcae3,_0x3fa865[_0x4d7ff7])));break;case _0x105196['WIiRV']:case _0x105196[_0x45086d(0x152)]:this[_0x45086d(0x180)]&&(_0xdbcae3=this[_0x45086d(0x180)][_0x45086d(0x186)](this[_0x45086d(0x180)]['CAPABILITY_KEY'])||{},this[_0x45086d(0x180)]['set'](this[_0x45086d(0x180)]['CAPABILITY_KEY'],helper[_0x45086d(0x14d)](_0xdbcae3,_0x3fa865[_0x4d7ff7])));break;}}}['setCapabilities'](){const _0xf2c756=_0xab2728;return logger[_0xf2c756(0x144)](_0x105196[_0xf2c756(0x120)]),this[_0xf2c756(0x148)](_0x67ca6e[_0xf2c756(0x174)]),Object[_0xf2c756(0x142)](_0x67ca6e['capability'])[_0xf2c756(0x168)](_0x16392a=>{const _0x3c1120=_0xf2c756,_0x254062=this[_0x3c1120(0x13c)][_0x3c1120(0x186)](_0x16392a);_0x105196['dGQLq'](typeof _0x254062,_0x105196[_0x3c1120(0x130)])?this['capabilities_'][_0x3c1120(0x12a)](_0x16392a,helper['mergeDeep'](_0x254062,_0x67ca6e[_0x3c1120(0x174)][_0x16392a])):this[_0x3c1120(0x13c)][_0x3c1120(0x12a)](_0x16392a,_0x67ca6e[_0x3c1120(0x174)][_0x16392a]);}),this;}[_0xab2728(0x151)](){const _0x2267f1=_0xab2728,_0x35f7fe={'GcgpY':function(_0x1ec6a4,_0x1f2cb2,_0x239da9){const _0x2b5717=a29_0x4198;return _0x105196[_0x2b5717(0x146)](_0x1ec6a4,_0x1f2cb2,_0x239da9);},'KGows':function(_0x1a7f0e,_0x1aa942){const _0x3f326b=a29_0x4198;return _0x105196[_0x3f326b(0x12d)](_0x1a7f0e,_0x1aa942);},'Apsvu':function(_0x5b31ee,_0x7cd017,_0x1cb692){const _0x2d8d07=a29_0x4198;return _0x105196[_0x2d8d07(0x14a)](_0x5b31ee,_0x7cd017,_0x1cb692);},'OATAc':function(_0x18791c,_0x1d1fc1,_0x3c186e){const _0x3bbffe=a29_0x4198;return _0x105196[_0x3bbffe(0x146)](_0x18791c,_0x1d1fc1,_0x3c186e);}};if(helper['isBrowserstackInfra']()){const _0x4652c4=_0x105196[_0x2267f1(0x127)][_0x2267f1(0x177)]('|');let _0x5b55e6=0x0;while(!![]){switch(_0x4652c4[_0x5b55e6++]){case'0':this[_0x2267f1(0x117)]();continue;case'1':globals[_0x2267f1(0x184)](_0x105196[_0x2267f1(0x157)])&&(!_0x105196['QYiNv'](setExtension,this,_0x67ca6e)&&globals[_0x2267f1(0x16d)](_0x105196[_0x2267f1(0x157)],![]));continue;case'2':this[_0x2267f1(0x16b)]();continue;case'3':logger['debug'](_0x105196[_0x2267f1(0x140)]);continue;case'4':_0x105196[_0x2267f1(0x138)](isAccessibilityAutomationSession)&&_0x105196[_0x2267f1(0x164)](setAccessibilityCapabilities,_0x67ca6e);continue;case'5':if(helper[_0x2267f1(0x11b)](_0x67ca6e[_0x2267f1(0x181)][_0x2267f1(0x134)]))this['agent_']=helper[_0x2267f1(0x143)](_0x67ca6e[_0x2267f1(0x181)]['proxyUrl']);else _0x67ca6e[_0x2267f1(0x181)][_0x2267f1(0x134)]&&(this['proxy_']=_0x67ca6e[_0x2267f1(0x181)][_0x2267f1(0x134)],logger[_0x2267f1(0x144)]('Proxy\x20set\x20to\x20'+this[_0x2267f1(0x156)]));continue;}break;}}const _0x19427b=super[_0x2267f1(0x151)]();return _0x19427b[_0x2267f1(0x153)][_0x2267f1(0x11f)](_0x2cdf4f=>{const _0x2e15c2=_0x2267f1;try{const _0x219934=_0x2cdf4f[_0x2e15c2(0x14c)][_0x2e15c2(0x186)](_0x105196['MUYdn']);_0x219934?(logger[_0x2e15c2(0x144)](_0x2e15c2(0x11e)+_0x219934),hubAllocator[_0x2e15c2(0x121)](_0x219934),helper[_0x2e15c2(0x166)](_0x219934)):logger['debug'](_0x105196[_0x2e15c2(0x129)]);}catch(_0x5bbcd7){logger[_0x2e15c2(0x144)](_0x2e15c2(0x17d)+_0x5bbcd7);}}),_0x19427b[_0x2267f1(0x178)]=0x0,_0x19427b[_0x2267f1(0x11f)]&&_0x19427b[_0x2267f1(0x11f)](_0xfb434c=>{const _0xc9d458=_0x2267f1,_0x28a688={'Hhumr':function(_0x413941,_0x30a9ff,_0x56c70a){const _0x423be4=a29_0x4198;return _0x35f7fe[_0x423be4(0x15a)](_0x413941,_0x30a9ff,_0x56c70a);}};_0x35f7fe[_0xc9d458(0x15a)](overrideQuit,_0xfb434c,_0x19427b),_0x35f7fe[_0xc9d458(0x15c)](overrideTakeScreenshot,_0xfb434c),helper[_0xc9d458(0x17c)](_0xfb434c,_0x67ca6e),_0x35f7fe['Apsvu'](overrideExecute,_0xfb434c,_0x67ca6e),_0xfb434c['getAccessibilityResultsSummary']=async()=>{const _0x344f34=_0xc9d458;return await _0x28a688[_0x344f34(0x172)](getAccessibilityResultsSummary,_0xfb434c,global);},_0xfb434c[_0xc9d458(0x150)]=async()=>{return await _0x35f7fe['GcgpY'](getAccessibilityResults,_0xfb434c,global);};}),_0x19427b[_0x2267f1(0x131)]=async()=>{const _0x3db06d=_0x2267f1;return await _0x35f7fe[_0x3db06d(0x13b)](getAccessibilityResultsSummary,_0x19427b,global);},_0x19427b[_0x2267f1(0x150)]=async()=>{const _0x23038d=_0x2267f1;return await _0x105196[_0x23038d(0x146)](getAccessibilityResults,_0x19427b,global);},_0x105196[_0x2267f1(0x14e)](overrideTakeScreenshot,_0x19427b),_0x105196[_0x2267f1(0x11d)](overrideQuit,_0x19427b),helper[_0x2267f1(0x17c)](_0x19427b,_0x67ca6e),_0x105196[_0x2267f1(0x118)](overrideExecute,_0x19427b,_0x67ca6e),helper[_0x2267f1(0x139)](global['__driversArray'])&&(global[_0x2267f1(0x123)]=[]),helper['isUndefined'](global[_0x2267f1(0x133)])&&(global[_0x2267f1(0x133)]=[]),global[_0x2267f1(0x123)][_0x2267f1(0x154)](_0x19427b),global[_0x2267f1(0x114)]=_0x19427b,_0x105196[_0x2267f1(0x119)](global[_0x2267f1(0x133)],undefined)&&global[_0x2267f1(0x133)][_0x2267f1(0x154)](_0x19427b),_0x4f56ae&&helper['isUndefined'](_0x4f56ae[_0x2267f1(0x158)][_0x2267f1(0x123)])&&(_0x4f56ae[_0x2267f1(0x158)]['__driversArray']=[]),_0x4f56ae&&_0x105196['qOMHw'](_0x4f56ae[_0x2267f1(0x158)][_0x2267f1(0x133)],undefined)&&(_0x4f56ae[_0x2267f1(0x158)]['__drivers'][_0x2267f1(0x154)](_0x19427b),_0x4f56ae['global'][_0x2267f1(0x123)][_0x2267f1(0x154)](_0x19427b)),_0x19427b;}}return _0x508e6c[_0xab2728(0x12c)]=_0x508e6c[_0xab2728(0x13d)],_0x508e6c[_0xab2728(0x13d)]=_0x2c4e76,_0x383be9[_0xab2728(0x167)]=_0x1a55e0,_0x508e6c;};module[a29_0x54736c(0x161)][a29_0x54736c(0x163)]=modify;
@@ -1 +1 @@
1
- function a30_0x4ee9(_0x23cb01,_0x7d4ad3){const _0xd8def4=a30_0xd8de();return a30_0x4ee9=function(_0x4ee951,_0x2995e5){_0x4ee951=_0x4ee951-0xfb;let _0x3c416a=_0xd8def4[_0x4ee951];return _0x3c416a;},a30_0x4ee9(_0x23cb01,_0x7d4ad3);}const a30_0x189019=a30_0x4ee9;(function(_0x263aa6,_0x1389c6){const _0x424081=a30_0x4ee9,_0x981b5b=_0x263aa6();while(!![]){try{const _0x2dc987=-parseInt(_0x424081(0x101))/0x1+parseInt(_0x424081(0xfe))/0x2*(-parseInt(_0x424081(0x102))/0x3)+parseInt(_0x424081(0x108))/0x4*(-parseInt(_0x424081(0xfd))/0x5)+-parseInt(_0x424081(0x100))/0x6*(parseInt(_0x424081(0x10a))/0x7)+parseInt(_0x424081(0x103))/0x8+-parseInt(_0x424081(0x105))/0x9+parseInt(_0x424081(0x10b))/0xa*(parseInt(_0x424081(0xfb))/0xb);if(_0x2dc987===_0x1389c6)break;else _0x981b5b['push'](_0x981b5b['shift']());}catch(_0x4b918e){_0x981b5b['push'](_0x981b5b['shift']());}}}(a30_0xd8de,0x4aa83));function a30_0xd8de(){const _0x3ad3c1=['2972iycQXs','restore','7KaJtJw','2890LNyauQ','45496gKhxKU','../../../bin/utils/constants','3265lJvUIR','2evFfiC','../../../helpers/request-spy','1124238meoDIv','77081kMRfNh','612345jfnkBP','1768872qUtewi','mochaHooks','1411830wxMqAM','../../../helpers/test-observability/utils','jtqWJ'];a30_0xd8de=function(){return _0x3ad3c1;};return a30_0xd8de();}const requestSpy=require(a30_0x189019(0xff)),constants=require(a30_0x189019(0xfc)),{addRequestSpy}=require(a30_0x189019(0x106));exports[a30_0x189019(0x104)]={'beforeAll'(){const _0x1a2bdc=a30_0x189019,_0x3e49d1={'jtqWJ':function(_0x42633e){return _0x42633e();}},_0x2cf5db='browserstack internal helper hook';_0x3e49d1[_0x1a2bdc(0x107)](addRequestSpy);},'afterAll'(){const _0x58021a=a30_0x189019,_0x3b41ac='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x58021a(0x109)]();}};
1
+ function a30_0x3338(_0x20bf08,_0x71f8c6){const _0x35b15e=a30_0x35b1();return a30_0x3338=function(_0x3338dc,_0x50a4de){_0x3338dc=_0x3338dc-0xee;let _0xdbd956=_0x35b15e[_0x3338dc];return _0xdbd956;},a30_0x3338(_0x20bf08,_0x71f8c6);}const a30_0x27f33f=a30_0x3338;(function(_0x195a3b,_0x246baa){const _0x15c819=a30_0x3338,_0x4cae89=_0x195a3b();while(!![]){try{const _0x3751e9=-parseInt(_0x15c819(0xf0))/0x1*(-parseInt(_0x15c819(0xf9))/0x2)+parseInt(_0x15c819(0xfd))/0x3*(parseInt(_0x15c819(0xef))/0x4)+-parseInt(_0x15c819(0xf4))/0x5+-parseInt(_0x15c819(0xfa))/0x6+-parseInt(_0x15c819(0xf3))/0x7*(parseInt(_0x15c819(0xf5))/0x8)+-parseInt(_0x15c819(0xff))/0x9*(parseInt(_0x15c819(0xf6))/0xa)+-parseInt(_0x15c819(0xfc))/0xb*(-parseInt(_0x15c819(0xf7))/0xc);if(_0x3751e9===_0x246baa)break;else _0x4cae89['push'](_0x4cae89['shift']());}catch(_0x766dcc){_0x4cae89['push'](_0x4cae89['shift']());}}}(a30_0x35b1,0x5e4f0));function a30_0x35b1(){const _0x9ca8a3=['restore','20ddGetg','213415lZjlaV','timeout','../../../helpers/request-spy','2105257QRLgss','1798555XVbWxq','8xUwMzw','1011720UsztUK','12OxEuQE','../../../bin/utils/constants','2lqaCZM','2594898MhxdKR','Krssy','17465965mhDiMW','171021VIYLxR','mochaHooks','54MAwHTU'];a30_0x35b1=function(){return _0x9ca8a3;};return a30_0x35b1();}const requestSpy=require(a30_0x27f33f(0xf2)),constants=require(a30_0x27f33f(0xf8)),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports[a30_0x27f33f(0xfe)]={'beforeAll'(){const _0x9f5b86=a30_0x27f33f,_0xfa7cb9={'Krssy':function(_0x473031){return _0x473031();}},_0x485ea1='browserstack internal helper hook';_0xfa7cb9[_0x9f5b86(0xfb)](addRequestSpy);},'afterAll'(){const _0x583a42=a30_0x27f33f,_0x358a63='browserstack internal helper hook';this[_0x583a42(0xf1)](0xea60),requestSpy[_0x583a42(0xee)]();}};
@@ -1 +1 @@
1
- function a31_0x5883(){const _0x3133cb=['4798ztiDyf','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','ZMYBQ','uuid','passed','split','_beforeAll','230czFzct','moKyk','failed','nnQSe','lqwWj','../../../helpers/helper','indexOf','getHookDetails','fQixg','getBrowserVersion','getPlatform','HMaAB','Wsalo','ucmZK','suites','mlFdi','toISOString','5SHmDxJ','kNhfi','toJSON','hook','ZyZVx','vyATZ','xbbwa','concat','forEach','SjXys','_afterEach','468402lDjOIy','_beforeEach','1922152baPLMn','state','markedStatus','js-','tests','pending','getCapabilities','_afterAll','YsVfa','unknown_grid','getHooksForTest','XCukQ','uUSmt','__cloud_provider___','push','KJjRl','getHookSkippedTests','slice','getSession','bs:addPlatformDetails:','map_','150hhDquv','bWXrk','getBrowserName','6437772OOsYeh','reduce','string','parent','hook:','GvMec','pid','SAANr','emit','../../../helpers/test-observability/constants','IkdjX','qmMcE','VWFBd','JGtzf','247049VfVbQF','filter','TEST_PLATFORM','browserstack','../../utils/logPatcher','157808rTvCAA','914336ABPzdK','sendPlatformDetails','keys','substring','KIXSE','mapTestHooks','ZMLmB','hookAnalyticsId','63MuDDRq','../../../helpers/testhub/utils','Oygih'];a31_0x5883=function(){return _0x3133cb;};return a31_0x5883();}const a31_0x57515b=a31_0x164f;(function(_0x2c66aa,_0x326086){const _0x144541=a31_0x164f,_0x52870f=_0x2c66aa();while(!![]){try{const _0x34ff9d=-parseInt(_0x144541(0x148))/0x1*(parseInt(_0x144541(0x14b))/0x2)+-parseInt(_0x144541(0x16e))/0x3+-parseInt(_0x144541(0x170))/0x4*(-parseInt(_0x144541(0x163))/0x5)+parseInt(_0x144541(0x185))/0x6*(parseInt(_0x144541(0x13f))/0x7)+-parseInt(_0x144541(0x140))/0x8+-parseInt(_0x144541(0x12c))/0x9+-parseInt(_0x144541(0x152))/0xa*(-parseInt(_0x144541(0x13a))/0xb);if(_0x34ff9d===_0x326086)break;else _0x52870f['push'](_0x52870f['shift']());}catch(_0x60fcc1){_0x52870f['push'](_0x52870f['shift']());}}}(a31_0x5883,0x67790));function a31_0x164f(_0x16bf6c,_0x320f15){const _0x58833f=a31_0x5883();return a31_0x164f=function(_0x164f36,_0x5e6e7){_0x164f36=_0x164f36-0x12a;let _0x28b3ee=_0x58833f[_0x164f36];return _0x28b3ee;},a31_0x164f(_0x16bf6c,_0x320f15);}const {v4:uuidv4}=require(a31_0x57515b(0x14e)),{name,version}=require('../../../../package.json'),logPatcher=require(a31_0x57515b(0x13e)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a31_0x57515b(0x135)),{getPlatformVersion}=require(a31_0x57515b(0x157)),{shouldProcessEventForTesthub}=require(a31_0x57515b(0x149));console={},Object[a31_0x57515b(0x142)](consoleHolder)[a31_0x57515b(0x16b)](_0x33f970=>{console[_0x33f970]=(..._0x891438)=>{BSTestOpsPatcher[_0x33f970](..._0x891438);};}),exports['getTestEnv']=()=>{const _0x4731bf=a31_0x57515b,_0x1ef0fa={'ZMLmB':'generic','ucmZK':function(_0x33ef5b){return _0x33ef5b();}};return{'ci':_0x1ef0fa[_0x4731bf(0x146)],'key':_0x1ef0fa[_0x4731bf(0x15f)](uuidv4),'version':version,'collector':_0x4731bf(0x173)+name};},exports[a31_0x57515b(0x159)]=_0x555773=>{const _0x4f1fb6=a31_0x57515b,_0x5b058e={};_0x5b058e[_0x4f1fb6(0x139)]=function(_0x1be4e1,_0x4f0d88){return _0x1be4e1!==_0x4f0d88;},_0x5b058e['Oygih']=_0x4f1fb6(0x12e),_0x5b058e[_0x4f1fb6(0x17c)]=function(_0x5df7d8,_0x1574f4){return _0x5df7d8!==_0x1574f4;},_0x5b058e['GvMec']=_0x4f1fb6(0x130),_0x5b058e[_0x4f1fb6(0x15e)]=function(_0x2a63ae,_0x3f0347){return _0x2a63ae!==_0x3f0347;},_0x5b058e[_0x4f1fb6(0x167)]='hook';const _0x34f4e6=_0x5b058e;if(!_0x555773||_0x34f4e6['JGtzf'](typeof _0x555773,_0x34f4e6[_0x4f1fb6(0x14a)]))return[null,null];if(_0x34f4e6[_0x4f1fb6(0x17c)](_0x555773[_0x4f1fb6(0x158)](_0x34f4e6[_0x4f1fb6(0x131)]),-0x1)){const _0x4391de=_0x555773[_0x4f1fb6(0x150)](_0x34f4e6[_0x4f1fb6(0x131)]);return[_0x4391de[0x0][_0x4f1fb6(0x181)](0x0,-0x1)[_0x4f1fb6(0x150)]('\x22')[0x1],_0x4391de[0x1][_0x4f1fb6(0x143)](0x1)];}else{if(_0x34f4e6[_0x4f1fb6(0x15e)](_0x555773[_0x4f1fb6(0x158)](_0x34f4e6[_0x4f1fb6(0x167)]),-0x1)){const _0x28c821=_0x555773[_0x4f1fb6(0x150)](_0x34f4e6[_0x4f1fb6(0x167)]);return[_0x28c821[0x0][_0x4f1fb6(0x181)](0x0,-0x1)[_0x4f1fb6(0x150)]('\x22')[0x1],_0x555773];}}return[null,null];},exports[a31_0x57515b(0x17a)]=_0x5bc520=>{const _0x464abf=a31_0x57515b,_0x371c33={'KIXSE':function(_0x51ab7c,_0x42626d){return _0x51ab7c(_0x42626d);},'xbbwa':'_beforeAll','HMaAB':_0x464abf(0x177),'kNhfi':_0x464abf(0x16f),'nnQSe':_0x464abf(0x16d)};if(!_0x5bc520||!_0x5bc520[_0x464abf(0x12f)])return[];const _0x24985e=[];return[_0x371c33[_0x464abf(0x169)],_0x371c33[_0x464abf(0x15d)],_0x371c33[_0x464abf(0x164)],_0x371c33[_0x464abf(0x155)]][_0x464abf(0x16b)](_0xdf154c=>{const _0x16dd75=_0x464abf,_0x3e6581=_0x5bc520[_0x16dd75(0x12f)][_0xdf154c]||[];_0x3e6581[_0x16dd75(0x16b)](_0x4e6a23=>{const _0x1f618b=_0x16dd75;_0x4e6a23[_0x1f618b(0x147)]&&!_0x371c33[_0x1f618b(0x144)](isInternalHook,_0x4e6a23['fn'])&&_0x24985e[_0x1f618b(0x17e)](_0x4e6a23[_0x1f618b(0x147)]);});}),[..._0x24985e,...exports[_0x464abf(0x17a)](_0x5bc520['parent'])];},exports[a31_0x57515b(0x145)]=_0x30f421=>{const _0x5a0948=a31_0x57515b,_0x2c2341={'YsVfa':function(_0x3307e4){return _0x3307e4();},'buApJ':function(_0x300870,_0x551784){return _0x300870===_0x551784;},'KJjRl':_0x5a0948(0x16d),'SAANr':_0x5a0948(0x151),'mlFdi':_0x5a0948(0x177),'VWFBd':'_beforeEach'};if(!_0x30f421||!_0x30f421['parent'])return;[_0x2c2341[_0x5a0948(0x133)],_0x2c2341[_0x5a0948(0x161)],_0x2c2341[_0x5a0948(0x138)],_0x2c2341[_0x5a0948(0x17f)]][_0x5a0948(0x16b)](_0x3f0f66=>{const _0x4d4acd=_0x5a0948,_0x5ceb1d={'lqwWj':function(_0x48b1dc){const _0x1c3e43=a31_0x164f;return _0x2c2341[_0x1c3e43(0x178)](_0x48b1dc);},'IkdjX':function(_0x2ab545,_0x183eb1){return _0x2c2341['buApJ'](_0x2ab545,_0x183eb1);},'FcUGn':_0x2c2341[_0x4d4acd(0x17f)]},_0x420edc=_0x30f421['parent'][_0x3f0f66]||[];_0x420edc['forEach'](_0x116d85=>{const _0x5b1fd2=_0x4d4acd;if(!_0x116d85['hookAnalyticsId'])_0x116d85['hookAnalyticsId']=_0x5ceb1d[_0x5b1fd2(0x156)](uuidv4);else _0x116d85[_0x5b1fd2(0x172)]&&_0x5ceb1d[_0x5b1fd2(0x136)](_0x3f0f66,_0x5ceb1d['FcUGn'])&&(_0x116d85[_0x5b1fd2(0x147)]=_0x5ceb1d[_0x5b1fd2(0x156)](uuidv4),delete _0x116d85[_0x5b1fd2(0x172)]);});}),exports[_0x5a0948(0x145)](_0x30f421['parent']);},exports[a31_0x57515b(0x141)]=async(_0x2f3e13,_0x47200b)=>{const _0x1f39ff=a31_0x57515b,_0x339e91={'ZMYBQ':function(_0x4c3b0a){return _0x4c3b0a();},'SjXys':function(_0x40d3ce,_0x5e0f28){return _0x40d3ce(_0x5e0f28);},'lbUHg':function(_0x3d0e62,_0x3608d5){return _0x3d0e62(_0x3608d5);},'vyATZ':function(_0x2feebd,_0x1860fd){return _0x2feebd===_0x1860fd;},'mGZuB':_0x1f39ff(0x13d),'qmMcE':_0x1f39ff(0x179),'FtlNV':_0x1f39ff(0x13c),'FCUQX':function(_0x2e96c0,_0x3734df){return _0x2e96c0(_0x3734df);}};try{if(!_0x339e91[_0x1f39ff(0x14d)](shouldProcessEventForTesthub))return;const _0x597732=await _0x2f3e13[_0x1f39ff(0x176)](),_0x2e0c7d=await _0x2f3e13[_0x1f39ff(0x182)](),_0x3d0393={},_0x423f89=Object['fromEntries'](_0x2e0c7d[_0x1f39ff(0x176)]()[_0x1f39ff(0x184)]),_0x3f3aeb={'product':_0x339e91[_0x1f39ff(0x16c)](getObservabilityLinkedProductName,_0x423f89),'capabilities':_0x423f89,'platform':_0x597732[_0x1f39ff(0x15c)](),'platform_version':_0x339e91['lbUHg'](getPlatformVersion,_0x339e91[_0x1f39ff(0x168)](global['__cloud_provider___'],_0x339e91['mGZuB'])),'browser':_0x597732[_0x1f39ff(0x12b)](),'browser_version':_0x597732[_0x1f39ff(0x15b)](),'session_id':_0x2e0c7d[_0x1f39ff(0x165)]()};global[_0x1f39ff(0x17d)]?_0x3d0393[global[_0x1f39ff(0x17d)]]=_0x3f3aeb:_0x3d0393[_0x339e91[_0x1f39ff(0x137)]]=_0x3f3aeb,process[_0x1f39ff(0x134)](_0x1f39ff(0x183)+process[_0x1f39ff(0x132)],{'timestamp':new Date()[_0x1f39ff(0x162)](),'level':null,'message':null,'kind':_0x339e91['FtlNV'],'http_response':_0x3d0393,'uuid':_0x47200b});}catch(_0x5dc0c9){_0x339e91['FCUQX'](debug,_0x1f39ff(0x14c)+_0x5dc0c9);}},exports['getHookSkippedTests']=_0x3cbc63=>{const _0x499cd7=a31_0x57515b,_0xf003ea={};_0xf003ea[_0x499cd7(0x15a)]=function(_0x323866,_0x2bf2d3){return _0x323866!==_0x2bf2d3;},_0xf003ea[_0x499cd7(0x17b)]=_0x499cd7(0x166),_0xf003ea[_0x499cd7(0x12a)]=_0x499cd7(0x14f),_0xf003ea['moKyk']=_0x499cd7(0x154);const _0x5a1555=_0xf003ea,_0x356667=_0x3cbc63[_0x499cd7(0x160)][_0x499cd7(0x12d)]((_0x54bb4a,_0x566d9d)=>{const _0x321a19=_0x499cd7,_0x8a9c78=exports[_0x321a19(0x180)](_0x566d9d);return _0x8a9c78&&(_0x54bb4a=_0x54bb4a[_0x321a19(0x16a)](_0x8a9c78)),_0x54bb4a;},[]),_0x4c1ca1=_0x3cbc63[_0x499cd7(0x174)][_0x499cd7(0x13b)](_0x2c17c5=>{const _0xaea96e=_0x499cd7,_0x45ff3a=_0x5a1555[_0xaea96e(0x15a)](_0x2c17c5['type'],_0x5a1555['XCukQ'])&&!_0x2c17c5[_0xaea96e(0x172)]&&_0x5a1555[_0xaea96e(0x15a)](_0x2c17c5['state'],_0x5a1555[_0xaea96e(0x12a)])&&_0x5a1555['fQixg'](_0x2c17c5[_0xaea96e(0x171)],_0x5a1555[_0xaea96e(0x153)])&&!_0x2c17c5[_0xaea96e(0x175)];return _0x45ff3a;});return _0x4c1ca1[_0x499cd7(0x16a)](_0x356667);};
1
+ function a31_0x1f32(_0x22d56b,_0x2f3ece){const _0x278042=a31_0x2780();return a31_0x1f32=function(_0x1f32d6,_0x226957){_0x1f32d6=_0x1f32d6-0xc6;let _0x1517ea=_0x278042[_0x1f32d6];return _0x1517ea;},a31_0x1f32(_0x22d56b,_0x2f3ece);}const a31_0x584906=a31_0x1f32;function a31_0x2780(){const _0xe9749b=['_beforeEach','getPlatform','WBibY','svsOv','pid','concat','hook:','7779516BvyShM','xEAde','getHookSkippedTests','qvJzE','hook','bs:addPlatformDetails:','gaZFd','abkLS','ttVqF','siAeP','state','getBrowserName','substring','PAyiy','suites','getHookDetails','getCapabilities','7609131ZllPvT','950IyHrlF','_beforeAll','pending','slice','8PFAorb','../../../helpers/helper','_afterEach','xuPmj','TEST_PLATFORM','lgUyL','emit','type','browserstack','1730200cFTtRO','../../utils/logPatcher','671576BIuSAu','211222VxzTma','parent','WEBnp','forEach','split','../../../../package.json','toISOString','pQHxP','JHgTZ','tests','288332aGkQMt','__cloud_provider___','getBrowserVersion','toJSON','../../../helpers/test-observability/utils','XXaRL','wuBHJ','mapTestHooks','956714QsTYDZ','tOdmZ','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','3uhtbyD','uobvN','ACcgr','filter','hookAnalyticsId','OBhac','keys','xaAHm','_afterAll','hVIIy','indexOf','7ypXyRh','passed','markedStatus'];a31_0x2780=function(){return _0xe9749b;};return a31_0x2780();}(function(_0xf47446,_0x31a107){const _0x55beb5=a31_0x1f32,_0x2f6bb1=_0xf47446();while(!![]){try{const _0x552895=parseInt(_0x55beb5(0xec))/0x1+parseInt(_0x55beb5(0xfe))/0x2+parseInt(_0x55beb5(0x101))/0x3*(parseInt(_0x55beb5(0xeb))/0x4)+parseInt(_0x55beb5(0xe9))/0x5+-parseInt(_0x55beb5(0xca))/0x6*(-parseInt(_0x55beb5(0x10c))/0x7)+parseInt(_0x55beb5(0xe0))/0x8*(parseInt(_0x55beb5(0xdb))/0x9)+-parseInt(_0x55beb5(0xdc))/0xa*(parseInt(_0x55beb5(0xf6))/0xb);if(_0x552895===_0x31a107)break;else _0x2f6bb1['push'](_0x2f6bb1['shift']());}catch(_0x55815f){_0x2f6bb1['push'](_0x2f6bb1['shift']());}}}(a31_0x2780,0xd0d7a));const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x584906(0xf1)),logPatcher=require(a31_0x584906(0xea)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x584906(0xfa)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a31_0x584906(0xe1)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils');console={},Object[a31_0x584906(0x107)](consoleHolder)[a31_0x584906(0xef)](_0x4e1464=>{console[_0x4e1464]=(..._0x5d622c)=>{BSTestOpsPatcher[_0x4e1464](..._0x5d622c);};}),exports['getTestEnv']=()=>{const _0x4005f8=a31_0x584906,_0x493121={'lgUyL':'generic','ttVqF':function(_0x54138e){return _0x54138e();}};return{'ci':_0x493121[_0x4005f8(0xe5)],'key':_0x493121[_0x4005f8(0xd2)](uuidv4),'version':version,'collector':'js-'+name};},exports[a31_0x584906(0xd9)]=_0x57fe00=>{const _0x203b7f=a31_0x584906,_0x4550b9={};_0x4550b9['siAeP']=function(_0x26e457,_0x5e5a47){return _0x26e457!==_0x5e5a47;},_0x4550b9['xuPmj']='string',_0x4550b9[_0x203b7f(0xd7)]=_0x203b7f(0xc9),_0x4550b9[_0x203b7f(0x111)]=_0x203b7f(0xce);const _0x2bef80=_0x4550b9;if(!_0x57fe00||_0x2bef80['siAeP'](typeof _0x57fe00,_0x2bef80[_0x203b7f(0xe3)]))return[null,null];if(_0x2bef80['siAeP'](_0x57fe00[_0x203b7f(0x10b)](_0x2bef80[_0x203b7f(0xd7)]),-0x1)){const _0x188747=_0x57fe00[_0x203b7f(0xf0)](_0x2bef80['PAyiy']);return[_0x188747[0x0][_0x203b7f(0xdf)](0x0,-0x1)['split']('\x22')[0x1],_0x188747[0x1][_0x203b7f(0xd6)](0x1)];}else{if(_0x2bef80[_0x203b7f(0xd3)](_0x57fe00['indexOf'](_0x2bef80[_0x203b7f(0x111)]),-0x1)){const _0x5eb1d2=_0x57fe00[_0x203b7f(0xf0)](_0x2bef80[_0x203b7f(0x111)]);return[_0x5eb1d2[0x0][_0x203b7f(0xdf)](0x0,-0x1)[_0x203b7f(0xf0)]('\x22')[0x1],_0x57fe00];}}return[null,null];},exports['getHooksForTest']=_0x300814=>{const _0x43c899=a31_0x584906,_0x54d6ea={'sTkuS':function(_0x1ecd5e,_0x577ccc){return _0x1ecd5e(_0x577ccc);},'ewJOq':_0x43c899(0xdd),'JHgTZ':'_afterAll','uobvN':_0x43c899(0x10f),'gaZFd':_0x43c899(0xe2)};if(!_0x300814||!_0x300814['parent'])return[];const _0x21e698=[];return[_0x54d6ea['ewJOq'],_0x54d6ea[_0x43c899(0xf4)],_0x54d6ea[_0x43c899(0x102)],_0x54d6ea[_0x43c899(0xd0)]][_0x43c899(0xef)](_0x2f5fad=>{const _0x287eb5=_0x300814['parent'][_0x2f5fad]||[];_0x287eb5['forEach'](_0x1239aa=>{const _0x34a478=a31_0x1f32;_0x1239aa[_0x34a478(0x105)]&&!_0x54d6ea['sTkuS'](isInternalHook,_0x1239aa['fn'])&&_0x21e698['push'](_0x1239aa[_0x34a478(0x105)]);});}),[..._0x21e698,...exports['getHooksForTest'](_0x300814[_0x43c899(0xed)])];},exports[a31_0x584906(0xfd)]=_0x114e74=>{const _0x51ff47=a31_0x584906,_0x38111d={'wuBHJ':function(_0xf58824){return _0xf58824();},'ycfdl':function(_0x49daab,_0x4484ef){return _0x49daab===_0x4484ef;},'svsOv':'_afterEach','iQvUT':_0x51ff47(0xdd),'xaAHm':_0x51ff47(0x109),'tOdmZ':_0x51ff47(0x10f)};if(!_0x114e74||!_0x114e74['parent'])return;[_0x38111d['iQvUT'],_0x38111d[_0x51ff47(0x108)],_0x38111d[_0x51ff47(0xff)],_0x38111d[_0x51ff47(0xc6)]][_0x51ff47(0xef)](_0x299607=>{const _0x700210=_0x51ff47,_0x3a853a=_0x114e74[_0x700210(0xed)][_0x299607]||[];_0x3a853a[_0x700210(0xef)](_0x32eaec=>{const _0x3cb902=_0x700210;if(!_0x32eaec[_0x3cb902(0x105)])_0x32eaec[_0x3cb902(0x105)]=_0x38111d[_0x3cb902(0xfc)](uuidv4);else _0x32eaec['markedStatus']&&_0x38111d['ycfdl'](_0x299607,_0x38111d[_0x3cb902(0xc6)])&&(_0x32eaec[_0x3cb902(0x105)]=_0x38111d[_0x3cb902(0xfc)](uuidv4),delete _0x32eaec[_0x3cb902(0x10e)]);});}),exports[_0x51ff47(0xfd)](_0x114e74[_0x51ff47(0xed)]);},exports['sendPlatformDetails']=async(_0x2d90e1,_0x45f4e4)=>{const _0x403b23=a31_0x584906,_0x3ede39={'WEBnp':function(_0x3c7f7a){return _0x3c7f7a();},'ACcgr':function(_0x2a3dbb,_0x20dc28){return _0x2a3dbb(_0x20dc28);},'sGGBy':function(_0x47b34c,_0x3ebd6a){return _0x47b34c(_0x3ebd6a);},'pTqlP':function(_0x510b67,_0x198c38){return _0x510b67===_0x198c38;},'xEAde':_0x403b23(0xe8),'OBhac':'unknown_grid','qvJzE':_0x403b23(0xe4)};try{if(!_0x3ede39[_0x403b23(0xee)](shouldProcessEventForTesthub))return;const _0x259912=await _0x2d90e1['getCapabilities'](),_0x49cc00=await _0x2d90e1['getSession'](),_0xf9cbe3={},_0x2fd2f0=Object['fromEntries'](_0x49cc00[_0x403b23(0xda)]()['map_']),_0x533616={'product':_0x3ede39[_0x403b23(0x103)](getObservabilityLinkedProductName,_0x2fd2f0),'capabilities':_0x2fd2f0,'platform':_0x259912[_0x403b23(0x110)](),'platform_version':_0x3ede39['sGGBy'](getPlatformVersion,_0x3ede39['pTqlP'](global[_0x403b23(0xf7)],_0x3ede39[_0x403b23(0xcb)])),'browser':_0x259912[_0x403b23(0xd5)](),'browser_version':_0x259912[_0x403b23(0xf8)](),'session_id':_0x49cc00[_0x403b23(0xf9)]()};global[_0x403b23(0xf7)]?_0xf9cbe3[global['__cloud_provider___']]=_0x533616:_0xf9cbe3[_0x3ede39[_0x403b23(0x106)]]=_0x533616,process[_0x403b23(0xe6)](_0x403b23(0xcf)+process[_0x403b23(0xc7)],{'timestamp':new Date()[_0x403b23(0xf2)](),'level':null,'message':null,'kind':_0x3ede39[_0x403b23(0xcd)],'http_response':_0xf9cbe3,'uuid':_0x45f4e4});}catch(_0x47ba49){_0x3ede39[_0x403b23(0x103)](debug,_0x403b23(0x100)+_0x47ba49);}},exports[a31_0x584906(0xcc)]=_0xf4dac2=>{const _0x15acc1=a31_0x584906,_0x2ceebe={};_0x2ceebe['XXaRL']=function(_0x5037e0,_0x4ed780){return _0x5037e0!==_0x4ed780;},_0x2ceebe[_0x15acc1(0xd1)]=_0x15acc1(0xce),_0x2ceebe['pQHxP']=_0x15acc1(0x10d),_0x2ceebe[_0x15acc1(0x10a)]='failed';const _0x1b3dd6=_0x2ceebe,_0x5ab5d3=_0xf4dac2[_0x15acc1(0xd8)]['reduce']((_0x4d051c,_0xa13a45)=>{const _0x53e6e7=_0x15acc1,_0x3e27b8=exports['getHookSkippedTests'](_0xa13a45);return _0x3e27b8&&(_0x4d051c=_0x4d051c[_0x53e6e7(0xc8)](_0x3e27b8)),_0x4d051c;},[]),_0x419f0e=_0xf4dac2[_0x15acc1(0xf5)][_0x15acc1(0x104)](_0x3733f3=>{const _0x2b106c=_0x15acc1,_0x5109fa=_0x1b3dd6[_0x2b106c(0xfb)](_0x3733f3[_0x2b106c(0xe7)],_0x1b3dd6[_0x2b106c(0xd1)])&&!_0x3733f3['markedStatus']&&_0x1b3dd6[_0x2b106c(0xfb)](_0x3733f3['state'],_0x1b3dd6[_0x2b106c(0xf3)])&&_0x1b3dd6['XXaRL'](_0x3733f3[_0x2b106c(0xd4)],_0x1b3dd6[_0x2b106c(0x10a)])&&!_0x3733f3[_0x2b106c(0xde)];return _0x5109fa;});return _0x419f0e[_0x15acc1(0xc8)](_0x5ab5d3);};
@@ -1 +1 @@
1
- const a32_0x47175e=a32_0x3d8e;function a32_0x3d8e(_0x4c815c,_0x4e7489){const _0x3cdae0=a32_0x3cda();return a32_0x3d8e=function(_0x3d8eb1,_0x128192){_0x3d8eb1=_0x3d8eb1-0x78;let _0x19914f=_0x3cdae0[_0x3d8eb1];return _0x19914f;},a32_0x3d8e(_0x4c815c,_0x4e7489);}(function(_0xc6b8bd,_0x9114ca){const _0x1addc3=a32_0x3d8e,_0xdfded2=_0xc6b8bd();while(!![]){try{const _0x1deb3c=-parseInt(_0x1addc3(0xa5))/0x1+-parseInt(_0x1addc3(0xe2))/0x2+parseInt(_0x1addc3(0xb0))/0x3+parseInt(_0x1addc3(0xe0))/0x4*(parseInt(_0x1addc3(0xf2))/0x5)+-parseInt(_0x1addc3(0xe5))/0x6*(parseInt(_0x1addc3(0x8d))/0x7)+-parseInt(_0x1addc3(0xab))/0x8+parseInt(_0x1addc3(0x80))/0x9;if(_0x1deb3c===_0x9114ca)break;else _0xdfded2['push'](_0xdfded2['shift']());}catch(_0x5a5e72){_0xdfded2['push'](_0xdfded2['shift']());}}}(a32_0x3cda,0x3f4aa));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x47175e(0xac)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x47175e(0xed)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x47175e(0xa6)),PerformanceTester=require(a32_0x47175e(0xf3)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a32_0x47175e(0xcc)),logger=require(a32_0x47175e(0xa7))[a32_0x47175e(0x78)],{shouldProcessEventForTesthub}=require(a32_0x47175e(0xbc)),testHubConstants=require(a32_0x47175e(0xbf));function a32_0x3cda(){const _0x3fa2c1=['HoLBp','./test-observability/mochaUtils','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','JIUFQ','lwPdk','performScan','470090VLMpDR','../../helpers/performance-tester','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','vcREb','\x22}}','winstonLogger','saveTestResults','ywrgn','iRjwI','thJwtToken','.\x20Error\x20:','hqwun','ASgsw','13369032dMGqZy','stringify','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','setGlobal','shouldScanTestForAccessibility','appium:app','QdUkk','browserstackSessionName','session_','capabilities','stopMonitoring','pLTGP','getCurrentUrl','49FEancY','__error_messages__','quitCount_','eqfdn','then','EWeqb','Passed','DMSpx','fKewn','KwnkH','push','__drivers','azdxB','bPDXn','VCaPW','mochaHooks','ObservabilitySync:','GfoHu','executeScript','app','debug','PHaZa','err','eAiwo','169522CnPCBL','../../helpers/helper','../../helpers/logger','protocol','error','failed','1844312fpsdGs','../../helpers/accessibility-automation/helper','ShMvB','timeout','testAnalyticsId','48384CivxtV','cBuNB','join','uZjRT',',\x22level\x22:\x20\x22','driverCleanup','sessionNameSet__','titlePath','http:','passed','nGTBw','Automate\x20test\x20case\x20execution\x20has\x20started.','../../helpers/testhub/utils','percy','ZuQkl','../../helpers/testhub/constants','UEVbG','env','shift','executeAsyncScript','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','\x20-\x20','Performing\x20scan\x20before\x20saving\x20results','accessibilityScanStarted','uqwSW','KHUHN','__sessionFailed','thBuildUuid','../../helpers/globals','initQuit','testcase','okIJw','startMonitoring','bstackA11yShouldScan','BROWSERSTACK_TESTHUB_JWT','getGlobal','length','RvBFe','thTestRunUuid','nbysV','BROWSERSTACK_TESTHUB_UUID','pEiXJ','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','isAccessibilityPlatform','ENV_VAR','currentTest','McCvt','info','8uyIKvS','message','1036560XIPUhU','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','438882iyzrqF','state','__skipSessionName','\x20|\x20','fQOXJ','format','pXMgf'];a32_0x3cda=function(){return _0x3fa2c1;};return a32_0x3cda();}exports[a32_0x47175e(0x9c)]={'beforeAll'(){const _0x3f10e2=a32_0x47175e,_0x4010a1={'eqfdn':function(_0x297a89,_0x5a77f6,_0x169d25,_0x5946ae){return _0x297a89(_0x5a77f6,_0x169d25,_0x5946ae);},'ASgsw':_0x3f10e2(0xaa),'kCXaJ':_0x3f10e2(0xe8),'HoLBp':function(_0x2a74e9,_0xe2dd2f,_0x531fac){return _0x2a74e9(_0xe2dd2f,_0x531fac);},'pEiXJ':'passed','bPDXn':function(_0x177ecb){return _0x177ecb();}};PerformanceTester[_0x3f10e2(0xd0)]();const _0xbf4d8b='browserstack internal helper hook';global['__error_messages__']=[],global[_0x3f10e2(0xca)]=![],global[_0x3f10e2(0xb5)]=async()=>{const _0x40b1e7=_0x3f10e2;let _0x36e612=![];try{await global[_0x40b1e7(0x98)][0x0]['session_'],_0x36e612=!![],global[_0x40b1e7(0xca)]?await _0x4010a1[_0x40b1e7(0x90)](markSessionStatus,global[_0x40b1e7(0x98)][0x0],_0x4010a1[_0x40b1e7(0x7f)],global['__error_messages__']['join'](_0x4010a1['kCXaJ'])):await _0x4010a1[_0x40b1e7(0xec)](markSessionStatus,global['__drivers'][0x0],_0x4010a1[_0x40b1e7(0xd9)]);}catch(_0x24a10e){}global[_0x40b1e7(0x8e)]=[],global[_0x40b1e7(0xca)]=![];if(_0x36e612)try{try{_0x4010a1[_0x40b1e7(0x9a)](shouldProcessEventForTesthub)&&(global[_0x40b1e7(0x98)][0x0]&&await _0x4010a1[_0x40b1e7(0xec)](sendPlatformDetails,global[_0x40b1e7(0x98)][0x0],this[_0x40b1e7(0xdd)]?this[_0x40b1e7(0xdd)][_0x40b1e7(0xaf)]:null));}catch{}await global[_0x40b1e7(0x98)][0x0][_0x40b1e7(0xcd)]();}catch(_0x31cdbd){}};},'beforeEach'(_0x315195){const _0x42181e=a32_0x47175e,_0x52f239={'GfoHu':function(_0x2390fd,_0x542fb6){return _0x2390fd>_0x542fb6;},'VCaPW':function(_0x528668,_0x2dda8d){return _0x528668>_0x2dda8d;},'lwPdk':'\x20-\x20','azdxB':function(_0x1a9f64,_0x4093f9,_0x4826af){return _0x1a9f64(_0x4093f9,_0x4826af);},'DMSpx':_0x42181e(0xd1),'uZjRT':function(_0x5a27c7){return _0x5a27c7();},'EWeqb':function(_0x50454b,_0x1fcca9){return _0x50454b>_0x1fcca9;},'ywrgn':_0x42181e(0xdb),'ShMvB':function(_0x2c5577,_0x10a2da){return _0x2c5577===_0x10a2da;},'pLTGP':_0x42181e(0xb8),'PHaZa':function(_0x5212e3,_0x1e790c){return _0x5212e3===_0x1e790c;},'nPCQB':'https:','QdUkk':_0x42181e(0x82),'hqwun':_0x42181e(0xbb)};new Promise(async _0x2a42fd=>{const _0x18f3b7=_0x42181e,_0x7530e2='browserstack internal helper hook';let _0x2ac050=!![];try{_0x52f239[_0x18f3b7(0x9e)](global[_0x18f3b7(0x98)][_0x18f3b7(0xd4)],0x1)&&(await global[_0x18f3b7(0xb5)](),global[_0x18f3b7(0x98)][_0x18f3b7(0xc2)]()),_0x52f239[_0x18f3b7(0x9b)](global[_0x18f3b7(0x98)][0x0][_0x18f3b7(0x8f)],0x0)&&(_0x2ac050=![],await global[_0x18f3b7(0xb5)]());}catch{}try{Array['isArray'](global[_0x18f3b7(0x98)])&&global[_0x18f3b7(0x98)][0x0]&&(global[_0x18f3b7(0x98)][0x0][_0x18f3b7(0x87)]=this[_0x18f3b7(0xdd)][_0x18f3b7(0xb7)]()['join'](_0x52f239[_0x18f3b7(0xf0)])),global[_0x18f3b7(0x87)]=this['currentTest']['titlePath']()[_0x18f3b7(0xb2)](_0x52f239[_0x18f3b7(0xf0)]);}catch(_0x2081a8){logger['debug']('Failed\x20to\x20store\x20session\x20name:\x20'+_0x2081a8);}this[_0x18f3b7(0xdd)][_0x18f3b7(0x84)]=_0x52f239[_0x18f3b7(0x99)](shouldScanTestForAccessibility,this[_0x18f3b7(0xdd)][_0x18f3b7(0xb7)](),!![]),globals[_0x18f3b7(0x83)](_0x52f239[_0x18f3b7(0x94)],this[_0x18f3b7(0xdd)]['shouldScanTestForAccessibility']),this[_0x18f3b7(0xdd)][_0x18f3b7(0xc7)]=!![];if(_0x52f239['uZjRT'](isAccessibilityAutomationSession)&&_0x2ac050&&Array['isArray'](global['__drivers'])&&_0x52f239[_0x18f3b7(0x92)](global[_0x18f3b7(0x98)][_0x18f3b7(0xd4)],0x0)&&globals[_0x18f3b7(0xd3)](_0x52f239[_0x18f3b7(0x7a)]))try{const _0x2a8d52=await global[_0x18f3b7(0x98)][0x0][_0x18f3b7(0x88)];if(_0x2a8d52){let _0x11f1e0=!![];const _0x58a2ca=await global['__drivers'][0x0][_0x18f3b7(0x8c)]();let _0x368bb4;try{_0x368bb4=new URL(_0x58a2ca);}catch(_0x4494bd){_0x11f1e0=![];}_0x11f1e0=_0x52f239[_0x18f3b7(0xad)](_0x368bb4[_0x18f3b7(0xa8)],_0x52f239[_0x18f3b7(0x8b)])||_0x52f239[_0x18f3b7(0xa2)](_0x368bb4[_0x18f3b7(0xa8)],_0x52f239['nPCQB']),_0x11f1e0&&(this[_0x18f3b7(0xdd)][_0x18f3b7(0x84)]&&logger[_0x18f3b7(0xdf)](_0x52f239[_0x18f3b7(0x86)])),this[_0x18f3b7(0xdd)][_0x18f3b7(0xc7)]=this[_0x18f3b7(0xdd)][_0x18f3b7(0x84)],this['currentTest'][_0x18f3b7(0x84)]&&logger[_0x18f3b7(0xdf)](_0x52f239[_0x18f3b7(0x7e)]);}}catch(_0x2ecff6){logger[_0x18f3b7(0xa9)](_0x18f3b7(0xe3)+util[_0x18f3b7(0xea)](_0x2ecff6));}_0x52f239[_0x18f3b7(0xb3)](_0x2a42fd);})['then'](_0x315195);},'afterEach'(_0x1414bb){const _0x2f0020=a32_0x47175e,_0x32b8ce={'iRjwI':function(_0x1da610,_0x518204){return _0x1da610>_0x518204;},'vcREb':function(_0x529d94,_0x5dc6ce){return _0x529d94===_0x5dc6ce;},'RvBFe':_0x2f0020(0xce),'oleiP':_0x2f0020(0x85),'hSpDF':function(_0x534860,_0x5302dd,_0x376f1a,_0x2a04e5){return _0x534860(_0x5302dd,_0x376f1a,_0x2a04e5);},'cbMDq':_0x2f0020(0xc5),'dKKsX':function(_0x486638,_0x96b92){return _0x486638!==_0x96b92;},'KHUHN':_0x2f0020(0xb9),'ZczFU':function(_0x5526e4,_0x45e9db,_0x359817){return _0x5526e4(_0x45e9db,_0x359817);},'pXMgf':function(_0x2aaacb,_0x25b218){return _0x2aaacb+_0x25b218;},'cBuNB':'Failed:\x20','JIUFQ':_0x2f0020(0xa9),'fQOXJ':function(_0x1fed19,_0x699b66,_0xd12cbb){return _0x1fed19(_0x699b66,_0xd12cbb);},'nbysV':_0x2f0020(0x93),'fKewn':_0x2f0020(0xdf),'uqwSW':_0x2f0020(0xdb),'fjuZX':'bstackA11yShouldScan','UEVbG':_0x2f0020(0xc4),'KwnkH':_0x2f0020(0xc6),'eAiwo':_0x2f0020(0xee),'ZuQkl':function(_0x2bbb97){return _0x2bbb97();},'dPPSW':function(_0x331c15,_0x1a5973,_0x3077db){return _0x331c15(_0x1a5973,_0x3077db);},'okIJw':function(_0x364908){return _0x364908();},'McCvt':'debug'},_0x362207='browserstack internal helper hook';this[_0x2f0020(0xae)](0xfde8);const _0x4cb727=async(_0x7de85e,_0x1bcb77)=>{const _0x179778=_0x2f0020;await global[_0x179778(0x98)][0x0][_0x179778(0x9f)](_0x179778(0xf4)+_0x7de85e+_0x179778(0xb4)+_0x1bcb77+_0x179778(0xf6));};new Promise(async _0x244330=>{const _0x47d8e7=_0x2f0020;try{_0x32b8ce[_0x47d8e7(0x7b)](global['__drivers']['length'],0x1)&&(await global[_0x47d8e7(0xb5)](),global['__drivers'][_0x47d8e7(0xc2)](),global[_0x47d8e7(0x8e)]=[],global['__sessionFailed']=![]);try{if(global[_0x47d8e7(0xbd)]&&_0x32b8ce[_0x47d8e7(0xf5)](global['percyCaptureMode'],_0x32b8ce[_0x47d8e7(0xd5)])&&global[_0x47d8e7(0x98)][0x0]){const _0x2af6b7=_0x32b8ce[_0x47d8e7(0x7b)](global[_0x47d8e7(0x89)][_0x47d8e7(0xd4)],0x0)?!!global[_0x47d8e7(0x89)][0x0]['app']||!!global[_0x47d8e7(0x89)][0x0][_0x32b8ce['oleiP']]:![],_0x40791f={};_0x40791f[_0x47d8e7(0xa0)]=_0x2af6b7,await _0x32b8ce['hSpDF'](percyAutoCapture,global[_0x47d8e7(0x98)][0x0],_0x32b8ce[_0x47d8e7(0xd5)],_0x40791f);}}catch(_0x5362f5){}!global[_0x47d8e7(0xe7)]&&(await global[_0x47d8e7(0x98)][0x0][_0x47d8e7(0x9f)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON['stringify'](this[_0x47d8e7(0xdd)][_0x47d8e7(0xb7)]()[_0x47d8e7(0xb2)](_0x32b8ce['cbMDq']))+'}}'),global[_0x47d8e7(0x98)][0x0][_0x47d8e7(0xb6)]=!![]);const _0x2655dd=_0x32b8ce['dKKsX'](this[_0x47d8e7(0xdd)][_0x47d8e7(0xe6)],_0x32b8ce[_0x47d8e7(0xc9)]);_0x2655dd?(global['__sessionFailed']=!![],global['__error_messages__'][_0x47d8e7(0x97)](this[_0x47d8e7(0xdd)][_0x47d8e7(0xa3)][_0x47d8e7(0xe1)]),await _0x32b8ce['ZczFU'](_0x4cb727,JSON[_0x47d8e7(0x81)](_0x32b8ce[_0x47d8e7(0xeb)](_0x32b8ce[_0x47d8e7(0xb1)],this[_0x47d8e7(0xdd)]['err'][_0x47d8e7(0xe1)])),_0x32b8ce[_0x47d8e7(0xef)])):await _0x32b8ce[_0x47d8e7(0xe9)](_0x4cb727,JSON[_0x47d8e7(0x81)](_0x32b8ce[_0x47d8e7(0xd7)]),_0x32b8ce[_0x47d8e7(0x95)]);}catch(_0x55c39d){}try{if(this[_0x47d8e7(0xdd)]['accessibilityScanStarted']&&globals['getGlobal'](_0x32b8ce[_0x47d8e7(0xc8)])&&globals[_0x47d8e7(0xd3)](_0x32b8ce['fjuZX'])){logger['info'](_0x32b8ce[_0x47d8e7(0xc0)]);const _0x5a68bd={};_0x5a68bd[_0x47d8e7(0xd6)]=this[_0x47d8e7(0xdd)][_0x47d8e7(0xaf)],_0x5a68bd[_0x47d8e7(0xcb)]=process[_0x47d8e7(0xc1)][testHubConstants[_0x47d8e7(0xdc)][_0x47d8e7(0xd8)]],_0x5a68bd[_0x47d8e7(0x7c)]=process[_0x47d8e7(0xc1)][testHubConstants[_0x47d8e7(0xdc)][_0x47d8e7(0xd2)]];const _0x36f109=_0x5a68bd;logger[_0x47d8e7(0xa1)](_0x47d8e7(0xe4)+JSON['stringify'](_0x36f109)),logger[_0x47d8e7(0xa1)](_0x32b8ce[_0x47d8e7(0x96)]),logger[_0x47d8e7(0xa1)](util['format'](await global[_0x47d8e7(0x98)][0x0][_0x47d8e7(0xc3)](scripts[_0x47d8e7(0xf1)],{'method':global['browserstackSessionName']}))),await global[_0x47d8e7(0x98)][0x0][_0x47d8e7(0xc3)](scripts[_0x47d8e7(0x79)],_0x36f109),logger['info'](_0x32b8ce[_0x47d8e7(0xa4)]);}}catch(_0x122f4b){logger['error'](_0x47d8e7(0xda)+this[_0x47d8e7(0xdd)][_0x47d8e7(0xb7)]()+_0x47d8e7(0x7d),_0x122f4b);}try{try{if(_0x32b8ce[_0x47d8e7(0xbe)](shouldProcessEventForTesthub)){global[_0x47d8e7(0x98)][0x0]&&await _0x32b8ce['dPPSW'](sendPlatformDetails,global[_0x47d8e7(0x98)][0x0],this['currentTest']?this[_0x47d8e7(0xdd)][_0x47d8e7(0xaf)]:null);if(_0x32b8ce[_0x47d8e7(0xcf)](isBrowserstackInfra)){const _0x46c74e=_0x47d8e7(0x9d)+Date['now']();await _0x32b8ce['fQOXJ'](_0x4cb727,JSON[_0x47d8e7(0x81)](_0x46c74e),_0x32b8ce[_0x47d8e7(0xde)]);}}}catch{}_0x32b8ce[_0x47d8e7(0x7b)](global[_0x47d8e7(0x98)][0x0][_0x47d8e7(0x8f)],0x0)&&await global[_0x47d8e7(0xb5)]();}catch(_0x324325){}_0x32b8ce[_0x47d8e7(0xcf)](_0x244330);})[_0x2f0020(0x91)](()=>_0x1414bb());},'afterAll'(_0x4dde2e){const _0x13f862=a32_0x47175e,_0x2ae11a={'nGTBw':function(_0x373916){return _0x373916();}},_0x3360a0='browserstack internal helper hook';this[_0x13f862(0xae)](0xfde8),new Promise(async _0x4bb307=>{const _0xeb48d2=_0x13f862;PerformanceTester[_0xeb48d2(0x8a)](),await global[_0xeb48d2(0xb5)](),_0x2ae11a[_0xeb48d2(0xba)](_0x4bb307);})['then'](()=>_0x4dde2e());}};
1
+ function a32_0x1d51(_0x3667ed,_0x481579){const _0x56fa04=a32_0x56fa();return a32_0x1d51=function(_0x1d516b,_0x2ff9cb){_0x1d516b=_0x1d516b-0x12c;let _0x2cfdde=_0x56fa04[_0x1d516b];return _0x2cfdde;},a32_0x1d51(_0x3667ed,_0x481579);}const a32_0x5b8f03=a32_0x1d51;function a32_0x56fa(){const _0x8054fe=['cEJwp','../../helpers/accessibility-automation/scripts','initQuit','thBuildUuid','browserstackSessionName','executeScript','6958377jQFXVQ','50ZIWJJc','titlePath','78105jBfjnc','../../helpers/globals','http:','\x20|\x20','wiACY','iqhmy','qKreZ','accessibilityScanStarted','iQFgo','Passed','thTestRunUuid','isAccessibilityPlatform','dtbHP','error','join','Aphkw','rgPDV','failed','gpNlm','length','2528lcyPRg','app','timeout','pRYQp','5124610XiWHRs','aAoWR','capabilities','JRwNF','iuvSB','startMonitoring','Qabwi','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','AqHUS','session_','info','QagNC','stringify','appium:app','anejY','shift','HVFbn','__error_messages__','MFHpx','\x22}}','protocol','KqfqS','kPCIn','Failed:\x20','driverCleanup','IbxlF','format','Pnrqu','util','495030PACDTw','push','quitCount_','debug','then','\x20-\x20','13174RjUWLN','__skipSessionName','passed','MeloV','BClzz','state','../../helpers/testhub/utils','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','BROWSERSTACK_TESTHUB_UUID','executeAsyncScript','ENV_VAR','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','err','performScan','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','DpleO','stopMonitoring','./test-observability/mochaUtils','bstackA11yShouldScan','__drivers','XwCeb','testAnalyticsId','percyCaptureMode','392192psYplS','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','ObservabilitySync:','ycQlp','oFNXe','currentTest','../../helpers/testhub/constants','shouldScanTestForAccessibility','BpDXW','aEege','thJwtToken','WNhPi','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','5sILfrn','oFvIv','akadV','jVHpe','saveTestResults','.\x20Error\x20:','env','../../helpers/accessibility-automation/helper','796249bDOGbM','__sessionFailed','EJFrQ','https:','Failed\x20to\x20store\x20session\x20name:\x20','percy','../../helpers/logger'];a32_0x56fa=function(){return _0x8054fe;};return a32_0x56fa();}(function(_0x1f36bf,_0x46ead7){const _0x2167b4=a32_0x1d51,_0x35019a=_0x1f36bf();while(!![]){try{const _0x55eaa7=-parseInt(_0x2167b4(0x12f))/0x1+-parseInt(_0x2167b4(0x13d))/0x2*(parseInt(_0x2167b4(0x13f))/0x3)+parseInt(_0x2167b4(0x191))/0x4*(-parseInt(_0x2167b4(0x19e))/0x5)+parseInt(_0x2167b4(0x174))/0x6+-parseInt(_0x2167b4(0x17a))/0x7*(-parseInt(_0x2167b4(0x153))/0x8)+parseInt(_0x2167b4(0x13c))/0x9+parseInt(_0x2167b4(0x157))/0xa;if(_0x55eaa7===_0x46ead7)break;else _0x35019a['push'](_0x35019a['shift']());}catch(_0x5e65fe){_0x35019a['push'](_0x35019a['shift']());}}}(a32_0x56fa,0x65f7b));const util=require(a32_0x5b8f03(0x173)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x5b8f03(0x12e)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x5b8f03(0x18b)),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance-tester'),scripts=require(a32_0x5b8f03(0x137)),globals=require(a32_0x5b8f03(0x140)),logger=require(a32_0x5b8f03(0x135))['winstonLogger'],{shouldProcessEventForTesthub}=require(a32_0x5b8f03(0x180)),testHubConstants=require(a32_0x5b8f03(0x197));exports['mochaHooks']={'beforeAll'(){const _0xc0e5d6=a32_0x5b8f03,_0x3d2d51={'aEege':function(_0x224973,_0x1eacad,_0x1199c5,_0x1435e1){return _0x224973(_0x1eacad,_0x1199c5,_0x1435e1);},'XwCeb':_0xc0e5d6(0x150),'oFNXe':_0xc0e5d6(0x142),'iQFgo':function(_0x46a75a,_0x512a31,_0x5adb6c){return _0x46a75a(_0x512a31,_0x5adb6c);},'GHRst':_0xc0e5d6(0x17c),'dtbHP':function(_0x2ad621){return _0x2ad621();}};PerformanceTester[_0xc0e5d6(0x15c)]();const _0x53106a='browserstack internal helper hook';global[_0xc0e5d6(0x168)]=[],global[_0xc0e5d6(0x130)]=![],global[_0xc0e5d6(0x16f)]=async()=>{const _0x45a7bb=_0xc0e5d6;let _0x2a4e59=![];try{await global[_0x45a7bb(0x18d)][0x0][_0x45a7bb(0x160)],_0x2a4e59=!![],global[_0x45a7bb(0x130)]?await _0x3d2d51[_0x45a7bb(0x19a)](markSessionStatus,global[_0x45a7bb(0x18d)][0x0],_0x3d2d51[_0x45a7bb(0x18e)],global[_0x45a7bb(0x168)]['join'](_0x3d2d51[_0x45a7bb(0x195)])):await _0x3d2d51[_0x45a7bb(0x147)](markSessionStatus,global[_0x45a7bb(0x18d)][0x0],_0x3d2d51['GHRst']);}catch(_0x52845b){}global[_0x45a7bb(0x168)]=[],global['__sessionFailed']=![];if(_0x2a4e59)try{try{_0x3d2d51[_0x45a7bb(0x14b)](shouldProcessEventForTesthub)&&(global[_0x45a7bb(0x18d)][0x0]&&await _0x3d2d51[_0x45a7bb(0x147)](sendPlatformDetails,global['__drivers'][0x0],this[_0x45a7bb(0x196)]?this[_0x45a7bb(0x196)]['testAnalyticsId']:null));}catch{}await global['__drivers'][0x0][_0x45a7bb(0x138)]();}catch(_0x129165){}};},'beforeEach'(_0x4dabc5){const _0x569b44=a32_0x5b8f03,_0x5d5a2b={'MFHpx':function(_0x2ec24a,_0x5457df){return _0x2ec24a>_0x5457df;},'BpDXW':_0x569b44(0x179),'gpNlm':function(_0x341960,_0x13a53b,_0x59a74b){return _0x341960(_0x13a53b,_0x59a74b);},'iuvSB':_0x569b44(0x18c),'QagNC':function(_0x3e62b6){return _0x3e62b6();},'Qabwi':_0x569b44(0x14a),'rgPDV':function(_0x585e04,_0xf95c53){return _0x585e04===_0xf95c53;},'YyFIS':_0x569b44(0x141),'anejY':_0x569b44(0x132),'aXQsP':_0x569b44(0x181),'WNhPi':'Automate\x20test\x20case\x20execution\x20has\x20started.','wZiSL':function(_0x45698c){return _0x45698c();}};new Promise(async _0x4efafd=>{const _0x57bb4a=_0x569b44,_0x1acb34='browserstack internal helper hook';let _0x332bf1=!![];try{_0x5d5a2b[_0x57bb4a(0x169)](global[_0x57bb4a(0x18d)][_0x57bb4a(0x152)],0x1)&&(await global[_0x57bb4a(0x16f)](),global[_0x57bb4a(0x18d)][_0x57bb4a(0x166)]()),_0x5d5a2b[_0x57bb4a(0x169)](global[_0x57bb4a(0x18d)][0x0][_0x57bb4a(0x176)],0x0)&&(_0x332bf1=![],await global[_0x57bb4a(0x16f)]());}catch{}try{Array['isArray'](global[_0x57bb4a(0x18d)])&&global[_0x57bb4a(0x18d)][0x0]&&(global[_0x57bb4a(0x18d)][0x0][_0x57bb4a(0x13a)]=this[_0x57bb4a(0x196)]['titlePath']()['join'](_0x5d5a2b['BpDXW'])),global[_0x57bb4a(0x13a)]=this[_0x57bb4a(0x196)][_0x57bb4a(0x13e)]()[_0x57bb4a(0x14d)](_0x5d5a2b[_0x57bb4a(0x199)]);}catch(_0x4351f1){logger[_0x57bb4a(0x177)](_0x57bb4a(0x133)+_0x4351f1);}this[_0x57bb4a(0x196)][_0x57bb4a(0x198)]=_0x5d5a2b[_0x57bb4a(0x151)](shouldScanTestForAccessibility,this[_0x57bb4a(0x196)][_0x57bb4a(0x13e)](),!![]),globals['setGlobal'](_0x5d5a2b[_0x57bb4a(0x15b)],this['currentTest']['shouldScanTestForAccessibility']),this[_0x57bb4a(0x196)][_0x57bb4a(0x146)]=!![];if(_0x5d5a2b[_0x57bb4a(0x162)](isAccessibilityAutomationSession)&&_0x332bf1&&Array['isArray'](global[_0x57bb4a(0x18d)])&&_0x5d5a2b['MFHpx'](global[_0x57bb4a(0x18d)][_0x57bb4a(0x152)],0x0)&&globals['getGlobal'](_0x5d5a2b[_0x57bb4a(0x15d)]))try{const _0x1061fe=await global['__drivers'][0x0][_0x57bb4a(0x160)];if(_0x1061fe){let _0x14160d=!![];const _0x4dfe71=await global['__drivers'][0x0]['getCurrentUrl']();let _0x523388;try{_0x523388=new URL(_0x4dfe71);}catch(_0x4b5e32){_0x14160d=![];}_0x14160d=_0x5d5a2b[_0x57bb4a(0x14f)](_0x523388[_0x57bb4a(0x16b)],_0x5d5a2b['YyFIS'])||_0x5d5a2b[_0x57bb4a(0x14f)](_0x523388[_0x57bb4a(0x16b)],_0x5d5a2b[_0x57bb4a(0x165)]),_0x14160d&&(this[_0x57bb4a(0x196)][_0x57bb4a(0x198)]&&logger[_0x57bb4a(0x161)](_0x5d5a2b['aXQsP'])),this[_0x57bb4a(0x196)][_0x57bb4a(0x146)]=this['currentTest'][_0x57bb4a(0x198)],this[_0x57bb4a(0x196)][_0x57bb4a(0x198)]&&logger[_0x57bb4a(0x161)](_0x5d5a2b[_0x57bb4a(0x19c)]);}}catch(_0x5143c5){logger[_0x57bb4a(0x14c)](_0x57bb4a(0x19d)+util[_0x57bb4a(0x171)](_0x5143c5));}_0x5d5a2b['wZiSL'](_0x4efafd);})['then'](_0x4dabc5);},'afterEach'(_0x154dd9){const _0x5482f3=a32_0x5b8f03,_0x5e76c0={'IbxlF':function(_0x12d213,_0x2b9937){return _0x12d213>_0x2b9937;},'wiACY':function(_0x4266c2,_0x3f854c){return _0x4266c2===_0x3f854c;},'HVFbn':'testcase','qKreZ':_0x5482f3(0x164),'Aphkw':function(_0x348797,_0x5b080c,_0x27d60a,_0x281386){return _0x348797(_0x5b080c,_0x27d60a,_0x281386);},'ycQlp':_0x5482f3(0x179),'JRwNF':function(_0x37e953,_0x205084){return _0x37e953!==_0x205084;},'RpeYl':'passed','EJFrQ':function(_0x11b531,_0x131084,_0x3984a1){return _0x11b531(_0x131084,_0x3984a1);},'kPCIn':function(_0x116a63,_0x140e5a){return _0x116a63+_0x140e5a;},'eVuHD':_0x5482f3(0x16e),'cEJwp':_0x5482f3(0x14c),'iqhmy':function(_0x19751d,_0x371fbd,_0x21046e){return _0x19751d(_0x371fbd,_0x21046e);},'MeloV':_0x5482f3(0x148),'AqHUS':_0x5482f3(0x161),'oFvIv':_0x5482f3(0x14a),'jVHpe':_0x5482f3(0x18c),'PCTPO':_0x5482f3(0x185),'BClzz':'Performing\x20scan\x20before\x20saving\x20results','HkHxA':_0x5482f3(0x192),'DpleO':function(_0x514cdf){return _0x514cdf();},'KqfqS':function(_0x14da18,_0x33f50c,_0x6e7e3){return _0x14da18(_0x33f50c,_0x6e7e3);},'pRYQp':function(_0x14c547,_0x514969,_0x4580f1){return _0x14c547(_0x514969,_0x4580f1);},'aAoWR':_0x5482f3(0x177),'BFfcU':function(_0x6f5cfd,_0x4a4981){return _0x6f5cfd>_0x4a4981;},'akadV':function(_0x260050){return _0x260050();}},_0xc220f4='browserstack internal helper hook';this[_0x5482f3(0x155)](0xfde8);const _0x46e9ba=async(_0x34ee43,_0x516b79)=>{const _0x1ab77d=_0x5482f3;await global[_0x1ab77d(0x18d)][0x0][_0x1ab77d(0x13b)](_0x1ab77d(0x188)+_0x34ee43+',\x22level\x22:\x20\x22'+_0x516b79+_0x1ab77d(0x16a));};new Promise(async _0x38f26a=>{const _0x1a5d75=_0x5482f3;try{_0x5e76c0[_0x1a5d75(0x170)](global[_0x1a5d75(0x18d)][_0x1a5d75(0x152)],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x1a5d75(0x166)](),global[_0x1a5d75(0x168)]=[],global[_0x1a5d75(0x130)]=![]);try{if(global[_0x1a5d75(0x134)]&&_0x5e76c0[_0x1a5d75(0x143)](global[_0x1a5d75(0x190)],_0x5e76c0[_0x1a5d75(0x167)])&&global[_0x1a5d75(0x18d)][0x0]){const _0x5ee16b=_0x5e76c0[_0x1a5d75(0x170)](global[_0x1a5d75(0x159)][_0x1a5d75(0x152)],0x0)?!!global[_0x1a5d75(0x159)][0x0][_0x1a5d75(0x154)]||!!global[_0x1a5d75(0x159)][0x0][_0x5e76c0[_0x1a5d75(0x145)]]:![],_0x460f33={};_0x460f33[_0x1a5d75(0x154)]=_0x5ee16b,await _0x5e76c0[_0x1a5d75(0x14e)](percyAutoCapture,global[_0x1a5d75(0x18d)][0x0],_0x5e76c0[_0x1a5d75(0x167)],_0x460f33);}}catch(_0x3aad22){}!global[_0x1a5d75(0x17b)]&&(await global['__drivers'][0x0][_0x1a5d75(0x13b)](_0x1a5d75(0x15e)+JSON['stringify'](this[_0x1a5d75(0x196)][_0x1a5d75(0x13e)]()[_0x1a5d75(0x14d)](_0x5e76c0[_0x1a5d75(0x194)]))+'}}'),global[_0x1a5d75(0x18d)][0x0]['sessionNameSet__']=!![]);const _0x3f8e75=_0x5e76c0[_0x1a5d75(0x15a)](this[_0x1a5d75(0x196)][_0x1a5d75(0x17f)],_0x5e76c0['RpeYl']);_0x3f8e75?(global[_0x1a5d75(0x130)]=!![],global['__error_messages__'][_0x1a5d75(0x175)](this['currentTest'][_0x1a5d75(0x186)]['message']),await _0x5e76c0[_0x1a5d75(0x131)](_0x46e9ba,JSON['stringify'](_0x5e76c0[_0x1a5d75(0x16d)](_0x5e76c0['eVuHD'],this[_0x1a5d75(0x196)][_0x1a5d75(0x186)]['message'])),_0x5e76c0[_0x1a5d75(0x136)])):await _0x5e76c0[_0x1a5d75(0x144)](_0x46e9ba,JSON[_0x1a5d75(0x163)](_0x5e76c0[_0x1a5d75(0x17d)]),_0x5e76c0[_0x1a5d75(0x15f)]);}catch(_0x33a913){}try{if(this['currentTest'][_0x1a5d75(0x146)]&&globals['getGlobal'](_0x5e76c0[_0x1a5d75(0x19f)])&&globals['getGlobal'](_0x5e76c0[_0x1a5d75(0x1a1)])){logger[_0x1a5d75(0x161)](_0x5e76c0['PCTPO']);const _0x559262={};_0x559262[_0x1a5d75(0x149)]=this['currentTest']['testAnalyticsId'],_0x559262[_0x1a5d75(0x139)]=process['env'][testHubConstants['ENV_VAR'][_0x1a5d75(0x182)]],_0x559262[_0x1a5d75(0x19b)]=process[_0x1a5d75(0x12d)][testHubConstants[_0x1a5d75(0x184)]['BROWSERSTACK_TESTHUB_JWT']];const _0x10e210=_0x559262;logger[_0x1a5d75(0x177)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x1a5d75(0x163)](_0x10e210)),logger[_0x1a5d75(0x177)](_0x5e76c0[_0x1a5d75(0x17e)]),logger[_0x1a5d75(0x177)](util[_0x1a5d75(0x171)](await global[_0x1a5d75(0x18d)][0x0][_0x1a5d75(0x183)](scripts[_0x1a5d75(0x187)],{'method':global[_0x1a5d75(0x13a)]}))),await global[_0x1a5d75(0x18d)][0x0][_0x1a5d75(0x183)](scripts[_0x1a5d75(0x1a2)],_0x10e210),logger[_0x1a5d75(0x161)](_0x5e76c0['HkHxA']);}}catch(_0x35c9d2){logger[_0x1a5d75(0x14c)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x1a5d75(0x196)]['titlePath']()+_0x1a5d75(0x12c),_0x35c9d2);}try{try{if(_0x5e76c0[_0x1a5d75(0x189)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x5e76c0[_0x1a5d75(0x16c)](sendPlatformDetails,global[_0x1a5d75(0x18d)][0x0],this[_0x1a5d75(0x196)]?this[_0x1a5d75(0x196)][_0x1a5d75(0x18f)]:null);if(_0x5e76c0['DpleO'](isBrowserstackInfra)){const _0x356afa=_0x1a5d75(0x193)+Date['now']();await _0x5e76c0[_0x1a5d75(0x156)](_0x46e9ba,JSON[_0x1a5d75(0x163)](_0x356afa),_0x5e76c0[_0x1a5d75(0x158)]);}}}catch{}_0x5e76c0['BFfcU'](global[_0x1a5d75(0x18d)][0x0][_0x1a5d75(0x176)],0x0)&&await global['driverCleanup']();}catch(_0xc90ef6){}_0x5e76c0[_0x1a5d75(0x1a0)](_0x38f26a);})[_0x5482f3(0x178)](()=>_0x154dd9());},'afterAll'(_0x9d3375){const _0x11c31b=a32_0x5b8f03,_0xde34f1={'Pnrqu':function(_0x3211dd){return _0x3211dd();}},_0x16a83f='browserstack internal helper hook';this[_0x11c31b(0x155)](0xfde8),new Promise(async _0x163156=>{const _0xb5b699=_0x11c31b;PerformanceTester[_0xb5b699(0x18a)](),await global[_0xb5b699(0x16f)](),_0xde34f1[_0xb5b699(0x172)](_0x163156);})[_0x11c31b(0x178)](()=>_0x9d3375());}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a33_0x3c62(_0x553263,_0x7b3b2a){const _0x29d9c8=a33_0x29d9();return a33_0x3c62=function(_0x3c62d6,_0x1a5bc8){_0x3c62d6=_0x3c62d6-0x120;let _0x22843f=_0x29d9c8[_0x3c62d6];return _0x22843f;},a33_0x3c62(_0x553263,_0x7b3b2a);}function a33_0x29d9(){const _0x504961=['biPuP','171568SzjXov','path','split','existsSync','llhqf','join','1205559ddRYVx','389406yPavkT','Deleting\x20','EAtLS','port','findIndex','splice','close','debug','modifyBrowserStackW3CCaps','platforms','start_process','zwNqj','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','writeFileSync','inherit','exports','nightwatch.cmd','XTKAu','../utils/constants','1043240wzkWPW','test','mergeDeep','info','--config','--env','EaNQj','XlelJ','2468730HsfpAc','filter','126qJBstH','nightwatch-browserstack.json','bTdCk','forEach','useW3C','RFUcP','AxgRo','UxBui','../../helpers/logger','MhfRI','modifyBrowserStackCaps','unlinkSync','webdriver','cwd','getPlatformName','6jEMHSo','odymB','../../helpers/BrowserStackSetup','FEZuN','gESep','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','50wifNXd','nightwatch.json','config','child_process','map','push','2LeoIqa','iWeMc','486675nRjbcs','winstonLogger','env','test_settings','nightwatch.conf.js','isUndefined','trim','desiredCapabilities','623102AIxPwB'];a33_0x29d9=function(){return _0x504961;};return a33_0x29d9();}const a33_0x5d10a1=a33_0x3c62;(function(_0x5d3239,_0x1578d9){const _0x1dbfe6=a33_0x3c62,_0x22af56=_0x5d3239();while(!![]){try{const _0x2d58d6=parseInt(_0x1dbfe6(0x14d))/0x1*(parseInt(_0x1dbfe6(0x157))/0x2)+parseInt(_0x1dbfe6(0x160))/0x3+parseInt(_0x1dbfe6(0x128))/0x4+parseInt(_0x1dbfe6(0x14f))/0x5*(-parseInt(_0x1dbfe6(0x141))/0x6)+-parseInt(_0x1dbfe6(0x132))/0x7*(-parseInt(_0x1dbfe6(0x159))/0x8)+parseInt(_0x1dbfe6(0x15f))/0x9*(-parseInt(_0x1dbfe6(0x147))/0xa)+-parseInt(_0x1dbfe6(0x130))/0xb;if(_0x2d58d6===_0x1578d9)break;else _0x22af56['push'](_0x22af56['shift']());}catch(_0x58c769){_0x22af56['push'](_0x22af56['shift']());}}}(a33_0x29d9,0x63a9e));const fs=require('fs'),path=require(a33_0x5d10a1(0x15a)),{spawn}=require(a33_0x5d10a1(0x14a)),logger=require(a33_0x5d10a1(0x13a))[a33_0x5d10a1(0x150)],{default:BrowserStackSetup}=require(a33_0x5d10a1(0x143)),helper=require('../../helpers/helper'),constants=require(a33_0x5d10a1(0x127)),getUserNightwatchConfigs=(_0x41c7a3,_0x7a1e0e)=>{const _0x11005c=a33_0x5d10a1,_0x26b5fa={'bTdCk':_0x11005c(0x153),'UxBui':_0x11005c(0x148),'iWeMc':function(_0x53af84,_0xa99142){return _0x53af84(_0xa99142);},'XLcEG':_0x11005c(0x121)};let _0x3ed4d0=null,_0xfc2c0b={};const _0x4e5bc7=_0x7a1e0e[_0x11005c(0x164)](_0x4af6c3=>_0x4af6c3===_0x11005c(0x12c));if(!helper[_0x11005c(0x154)](_0x41c7a3[_0x11005c(0x149)])&&fs[_0x11005c(0x15c)](path['join'](process['cwd'](),_0x41c7a3['config'])))_0x3ed4d0=path['join'](process[_0x11005c(0x13f)](),_0x41c7a3[_0x11005c(0x149)]),_0x7a1e0e[_0x11005c(0x165)](_0x4e5bc7,0x2);else{if(fs['existsSync'](path['join'](process[_0x11005c(0x13f)](),_0x26b5fa[_0x11005c(0x134)])))_0x3ed4d0=path[_0x11005c(0x15e)](process[_0x11005c(0x13f)](),_0x26b5fa['bTdCk']);else fs[_0x11005c(0x15c)](path[_0x11005c(0x15e)](process[_0x11005c(0x13f)](),_0x26b5fa[_0x11005c(0x139)]))&&(_0x3ed4d0=path[_0x11005c(0x15e)](process[_0x11005c(0x13f)](),_0x26b5fa[_0x11005c(0x139)]));}return _0x3ed4d0?(logger[_0x11005c(0x12b)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x3ed4d0),_0xfc2c0b=_0x26b5fa[_0x11005c(0x14e)](require,_0x3ed4d0)):logger[_0x11005c(0x12b)](_0x26b5fa['XLcEG']),_0xfc2c0b;},removeExistingEnvs=_0x141a08=>{const _0x4ba6b4=a33_0x5d10a1,_0x35fafc={};_0x35fafc['llhqf']=function(_0x1e3b70,_0x756bf4){return _0x1e3b70>_0x756bf4;};const _0x258785=_0x35fafc;let _0x570986=_0x141a08[_0x4ba6b4(0x164)](_0x338046=>_0x338046===_0x4ba6b4(0x12d));_0x258785[_0x4ba6b4(0x15d)](_0x570986,-0x1)&&_0x141a08['splice'](_0x570986,0x2),_0x570986=_0x141a08[_0x4ba6b4(0x164)](_0x35186e=>_0x35186e==='-e'),_0x258785[_0x4ba6b4(0x15d)](_0x570986,-0x1)&&_0x141a08[_0x4ba6b4(0x165)](_0x570986,0x2);};function run(_0x108fa5,_0x13e27c){const _0x54e198=a33_0x5d10a1,_0x3acda4={'biPuP':'nightwatch','FEZuN':function(_0x1ad292,_0x135f86){return _0x1ad292+_0x135f86;},'hwojv':_0x54e198(0x152),'odymB':function(_0x51d5b9,_0x364637,_0x2ce27a){return _0x51d5b9(_0x364637,_0x2ce27a);},'nOlul':'hub.browserstack.com','gESep':_0x54e198(0x146),'EAtLS':function(_0x51098d,_0x4cd30a){return _0x51098d===_0x4cd30a;},'XlelJ':_0x54e198(0x133),'AxgRo':function(_0x2befe8,_0x2b97cd){return _0x2befe8(_0x2b97cd);},'EaNQj':function(_0x2940f5,_0xb84917,_0x517ea3,_0x1b4fd1){return _0x2940f5(_0xb84917,_0x517ea3,_0x1b4fd1);},'MhfRI':_0x54e198(0x125),'mkvTU':'--config','KJDQp':'--env','iuoPd':_0x54e198(0x123),'XTKAu':_0x54e198(0x166)},_0x30bcdc=new BrowserStackSetup(_0x108fa5);if(!_0x30bcdc[_0x54e198(0x149)])return;const _0x4cca46=_0x3acda4[_0x54e198(0x142)](getUserNightwatchConfigs,_0x108fa5,_0x13e27c),_0x2eaf5b={};_0x2eaf5b[_0x54e198(0x16a)]=![];const _0xa71831={};_0xa71831['host']=_0x3acda4['nOlul'],_0xa71831[_0x54e198(0x163)]=0x1bb;const _0x14759d={};_0x14759d[_0x54e198(0x13e)]=_0x2eaf5b,_0x14759d['selenium']=_0xa71831;const _0x4cbbf6=_0x14759d;logger[_0x54e198(0x12b)](_0x3acda4[_0x54e198(0x145)]);const _0x4663af={..._0x4cca46},_0x3277bb=_0x4663af,_0x1b294f=helper[_0x54e198(0x136)](_0x30bcdc[_0x54e198(0x149)]),_0x99a8a8=[];_0x30bcdc[_0x54e198(0x149)][_0x54e198(0x169)][_0x54e198(0x135)]((_0x316647,_0x3de0f4)=>{const _0x3e1465=_0x54e198;_0x1b294f?_0x99a8a8[_0x3e1465(0x14c)](helper[_0x3e1465(0x168)](_0x30bcdc['config'],_0x3acda4[_0x3e1465(0x158)],_0x3de0f4)):_0x99a8a8[_0x3e1465(0x14c)](helper[_0x3e1465(0x13c)](_0x30bcdc[_0x3e1465(0x149)],_0x3acda4[_0x3e1465(0x158)],_0x3de0f4));});const _0x457fad={},_0xe8c4a6=[];_0x108fa5[_0x54e198(0x151)]=_0x108fa5[_0x54e198(0x151)]||_0x108fa5['e'];const _0x36e47a=_0x108fa5[_0x54e198(0x151)]?_0x108fa5[_0x54e198(0x151)][_0x54e198(0x155)]()[_0x54e198(0x15b)](',')[_0x54e198(0x14b)](_0x58b162=>_0x58b162[_0x54e198(0x155)]())[_0x54e198(0x131)](_0x5032fb=>_0x5032fb!==''):[''];_0x3acda4[_0x54e198(0x162)](_0x36e47a['length'],0x0)&&_0x36e47a[_0x54e198(0x14c)]('');_0x36e47a['forEach'](_0x20ff71=>{const _0x2edd46=_0x54e198,_0x59dce1={'RFUcP':function(_0x40ffd1,_0x1bd6dd){const _0x8e8cd5=a33_0x3c62;return _0x3acda4[_0x8e8cd5(0x144)](_0x40ffd1,_0x1bd6dd);},'zwNqj':_0x3acda4['hwojv']};_0x99a8a8[_0x2edd46(0x135)](_0x55c76f=>{const _0x3f8ad2=_0x2edd46;let _0x1403b7=_0x59dce1[_0x3f8ad2(0x137)](helper[_0x3f8ad2(0x140)](_0x55c76f,'_'),'_'+Date['now']());_0x20ff71&&(_0x1403b7+='_'+_0x20ff71);if(_0x20ff71&&(!_0x4cca46[_0x59dce1[_0x3f8ad2(0x120)]]||!_0x4cca46[_0x59dce1[_0x3f8ad2(0x120)]][_0x20ff71]))return;const _0x508cd6={..._0x4cbbf6};_0x508cd6[_0x3f8ad2(0x156)]=_0x55c76f;const _0x485f9d=_0x508cd6;_0x457fad[_0x1403b7]=_0x20ff71?helper[_0x3f8ad2(0x12a)](_0x4cca46[_0x59dce1['zwNqj']][_0x20ff71],_0x485f9d):_0x485f9d,_0xe8c4a6[_0x3f8ad2(0x14c)](_0x1403b7);});});!_0x3277bb['test_settings']&&(_0x3277bb[_0x54e198(0x152)]={});_0x3277bb[_0x54e198(0x152)]={..._0x3277bb['test_settings'],..._0x457fad};const _0xbb708b=path[_0x54e198(0x15e)](__dirname,_0x3acda4[_0x54e198(0x12f)]);fs[_0x54e198(0x122)](_0xbb708b,JSON['stringify'](_0x3277bb)),_0x3acda4[_0x54e198(0x138)](removeExistingEnvs,_0x13e27c);const _0x58cc03=_0x3acda4[_0x54e198(0x12e)](spawn,/^win/[_0x54e198(0x129)](process['platform'])?_0x3acda4[_0x54e198(0x13b)]:_0x3acda4[_0x54e198(0x158)],[_0x3acda4['mkvTU'],_0xbb708b,..._0x13e27c['slice'](0x1),_0x3acda4['KJDQp'],_0xe8c4a6[_0x54e198(0x15e)](',')],{'stdio':_0x3acda4['iuoPd']});_0x58cc03['on'](_0x3acda4[_0x54e198(0x126)],async _0x4ecdc2=>{const _0x329de2=_0x54e198;logger[_0x329de2(0x167)]('child\x20process\x20exited\x20with\x20code\x20'+_0x4ecdc2),logger['info'](_0x329de2(0x161)+_0xbb708b),fs[_0x329de2(0x13d)](_0xbb708b);});}module[a33_0x5d10a1(0x124)]=run;
2
+ 'use strict';const a33_0x5cbca4=a33_0x1224;function a33_0x1224(_0xe084bb,_0x548a6f){const _0x53576d=a33_0x5357();return a33_0x1224=function(_0x12244f,_0x4b362c){_0x12244f=_0x12244f-0x13c;let _0xc2f413=_0x53576d[_0x12244f];return _0xc2f413;},a33_0x1224(_0xe084bb,_0x548a6f);}(function(_0x3be163,_0x4e952d){const _0x2de3a3=a33_0x1224,_0x5732af=_0x3be163();while(!![]){try{const _0x11b501=-parseInt(_0x2de3a3(0x14c))/0x1*(-parseInt(_0x2de3a3(0x152))/0x2)+parseInt(_0x2de3a3(0x171))/0x3+parseInt(_0x2de3a3(0x14d))/0x4+parseInt(_0x2de3a3(0x16f))/0x5+parseInt(_0x2de3a3(0x13e))/0x6+parseInt(_0x2de3a3(0x14b))/0x7+-parseInt(_0x2de3a3(0x17b))/0x8;if(_0x11b501===_0x4e952d)break;else _0x5732af['push'](_0x5732af['shift']());}catch(_0x9b8842){_0x5732af['push'](_0x5732af['shift']());}}}(a33_0x5357,0xaf846));function a33_0x5357(){const _0x488bd2=['33538944qqZZxq','ZfdML','split','winstonLogger','hub.browserstack.com','UIEdv','platforms','host','aNFoe','kbYPA','553272EkUxEw','--config','cNWme','useW3C','Getting\x20your\x20nightwatch\x20configs\x20from\x20','cwd','eOagm','../../helpers/helper','unlinkSync','env','nightwatch.json','map','../../helpers/logger','2323531VIwhTN','880886tzJhtl','5333544dMyVaa','selenium','qHyFx','VJAvl','trim','2CwzsVp','platform','config','exports','port','../../helpers/BrowserStackSetup','length','qkfjU','findIndex','test_settings','test','--env','info','webdriver','UZUjr','forEach','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','nightwatch.cmd','join','wcqsR','now','mergeDeep','pFTbj','desiredCapabilities','splice','existsSync','SzTPt','YhykB','writeFileSync','6990235ZRZkaT','child\x20process\x20exited\x20with\x20code\x20','2624466NZWWOD','slice','tfbEV','ipptl','OOyBC','gaDzp','push','child_process','isUndefined','stringify'];a33_0x5357=function(){return _0x488bd2;};return a33_0x5357();}const fs=require('fs'),path=require('path'),{spawn}=require(a33_0x5cbca4(0x178)),logger=require(a33_0x5cbca4(0x14a))[a33_0x5cbca4(0x17e)],{default:BrowserStackSetup}=require(a33_0x5cbca4(0x157)),helper=require(a33_0x5cbca4(0x145)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x39d2e7,_0xf168b6)=>{const _0x3eca1d=a33_0x5cbca4,_0x121150={'eOagm':'nightwatch.conf.js','SzTPt':_0x3eca1d(0x148),'gaDzp':function(_0xd60a37,_0xb1961f){return _0xd60a37(_0xb1961f);},'aNFoe':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x19ab9a=null,_0x3926d8={};const _0x109c24=_0xf168b6[_0x3eca1d(0x15a)](_0x47d446=>_0x47d446==='--config');if(!helper[_0x3eca1d(0x179)](_0x39d2e7[_0x3eca1d(0x154)])&&fs['existsSync'](path[_0x3eca1d(0x164)](process['cwd'](),_0x39d2e7[_0x3eca1d(0x154)])))_0x19ab9a=path[_0x3eca1d(0x164)](process[_0x3eca1d(0x143)](),_0x39d2e7['config']),_0xf168b6['splice'](_0x109c24,0x2);else{if(fs[_0x3eca1d(0x16b)](path[_0x3eca1d(0x164)](process[_0x3eca1d(0x143)](),_0x121150[_0x3eca1d(0x144)])))_0x19ab9a=path['join'](process[_0x3eca1d(0x143)](),_0x121150['eOagm']);else fs[_0x3eca1d(0x16b)](path[_0x3eca1d(0x164)](process[_0x3eca1d(0x143)](),_0x121150[_0x3eca1d(0x16c)]))&&(_0x19ab9a=path[_0x3eca1d(0x164)](process[_0x3eca1d(0x143)](),_0x121150[_0x3eca1d(0x16c)]));}return _0x19ab9a?(logger['info'](_0x3eca1d(0x142)+_0x19ab9a),_0x3926d8=_0x121150[_0x3eca1d(0x176)](require,_0x19ab9a)):logger[_0x3eca1d(0x15e)](_0x121150[_0x3eca1d(0x13c)]),_0x3926d8;},removeExistingEnvs=_0x414b6a=>{const _0x24af14=a33_0x5cbca4,_0x37d5b0={};_0x37d5b0[_0x24af14(0x174)]=function(_0x3759cf,_0x288e85){return _0x3759cf>_0x288e85;};const _0x5897d7=_0x37d5b0;let _0x1bb063=_0x414b6a[_0x24af14(0x15a)](_0x4a6040=>_0x4a6040===_0x24af14(0x15d));_0x5897d7[_0x24af14(0x174)](_0x1bb063,-0x1)&&_0x414b6a['splice'](_0x1bb063,0x2),_0x1bb063=_0x414b6a[_0x24af14(0x15a)](_0x2768fa=>_0x2768fa==='-e'),_0x5897d7[_0x24af14(0x174)](_0x1bb063,-0x1)&&_0x414b6a[_0x24af14(0x16a)](_0x1bb063,0x2);};function run(_0x5078be,_0x1dc1d5){const _0x614859=a33_0x5cbca4,_0x4ebfd1={'pFTbj':'nightwatch','qkfjU':function(_0x3bd91e,_0xd6a37a){return _0x3bd91e+_0xd6a37a;},'cNWme':_0x614859(0x15b),'VJAvl':function(_0x153cbc,_0x255361,_0x32d528){return _0x153cbc(_0x255361,_0x32d528);},'OOyBC':_0x614859(0x17f),'mHEJv':_0x614859(0x162),'UIEdv':function(_0x33681f,_0x4fb843){return _0x33681f===_0x4fb843;},'ZfdML':'nightwatch-browserstack.json','qHyFx':function(_0x219eb3,_0x48a588){return _0x219eb3(_0x48a588);},'wcqsR':function(_0x1be782,_0x454981,_0x13694e,_0x4d68f6){return _0x1be782(_0x454981,_0x13694e,_0x4d68f6);},'tfbEV':_0x614859(0x163),'LbHDa':_0x614859(0x13f),'UZUjr':_0x614859(0x15d),'kbYPA':'inherit','YhykB':'close'},_0x3b5a33=new BrowserStackSetup(_0x5078be);if(!_0x3b5a33[_0x614859(0x154)])return;const _0x3fe13b=_0x4ebfd1[_0x614859(0x150)](getUserNightwatchConfigs,_0x5078be,_0x1dc1d5),_0x354b64={};_0x354b64['start_process']=![];const _0x5b114e={};_0x5b114e[_0x614859(0x182)]=_0x4ebfd1[_0x614859(0x175)],_0x5b114e[_0x614859(0x156)]=0x1bb;const _0x54519b={};_0x54519b[_0x614859(0x15f)]=_0x354b64,_0x54519b[_0x614859(0x14e)]=_0x5b114e;const _0x48a11b=_0x54519b;logger[_0x614859(0x15e)](_0x4ebfd1['mHEJv']);const _0x820075={..._0x3fe13b},_0x497421=_0x820075,_0x20fa04=helper[_0x614859(0x141)](_0x3b5a33[_0x614859(0x154)]),_0x254b00=[];_0x3b5a33[_0x614859(0x154)][_0x614859(0x181)]['forEach']((_0xeb2de8,_0x1d36cb)=>{const _0x2a3774=_0x614859;_0x20fa04?_0x254b00[_0x2a3774(0x177)](helper['modifyBrowserStackW3CCaps'](_0x3b5a33[_0x2a3774(0x154)],_0x4ebfd1[_0x2a3774(0x168)],_0x1d36cb)):_0x254b00[_0x2a3774(0x177)](helper['modifyBrowserStackCaps'](_0x3b5a33['config'],_0x4ebfd1[_0x2a3774(0x168)],_0x1d36cb));});const _0x41e0eb={},_0x5724e4=[];_0x5078be[_0x614859(0x147)]=_0x5078be[_0x614859(0x147)]||_0x5078be['e'];const _0x5959a1=_0x5078be[_0x614859(0x147)]?_0x5078be[_0x614859(0x147)]['trim']()[_0x614859(0x17d)](',')[_0x614859(0x149)](_0x149776=>_0x149776[_0x614859(0x151)]())['filter'](_0x39076f=>_0x39076f!==''):[''];_0x4ebfd1[_0x614859(0x180)](_0x5959a1[_0x614859(0x158)],0x0)&&_0x5959a1[_0x614859(0x177)]('');_0x5959a1[_0x614859(0x161)](_0x2ce945=>{_0x254b00['forEach'](_0x317c05=>{const _0x526fc6=a33_0x1224;let _0x11faf9=_0x4ebfd1[_0x526fc6(0x159)](helper['getPlatformName'](_0x317c05,'_'),'_'+Date[_0x526fc6(0x166)]());_0x2ce945&&(_0x11faf9+='_'+_0x2ce945);if(_0x2ce945&&(!_0x3fe13b[_0x4ebfd1[_0x526fc6(0x140)]]||!_0x3fe13b[_0x4ebfd1[_0x526fc6(0x140)]][_0x2ce945]))return;const _0x365865={..._0x48a11b};_0x365865[_0x526fc6(0x169)]=_0x317c05;const _0x47f5ec=_0x365865;_0x41e0eb[_0x11faf9]=_0x2ce945?helper[_0x526fc6(0x167)](_0x3fe13b[_0x4ebfd1[_0x526fc6(0x140)]][_0x2ce945],_0x47f5ec):_0x47f5ec,_0x5724e4['push'](_0x11faf9);});});!_0x497421[_0x614859(0x15b)]&&(_0x497421[_0x614859(0x15b)]={});_0x497421[_0x614859(0x15b)]={..._0x497421[_0x614859(0x15b)],..._0x41e0eb};const _0x302f29=path[_0x614859(0x164)](__dirname,_0x4ebfd1[_0x614859(0x17c)]);fs[_0x614859(0x16e)](_0x302f29,JSON[_0x614859(0x17a)](_0x497421)),_0x4ebfd1[_0x614859(0x14f)](removeExistingEnvs,_0x1dc1d5);const _0x4c3e91=_0x4ebfd1[_0x614859(0x165)](spawn,/^win/[_0x614859(0x15c)](process[_0x614859(0x153)])?_0x4ebfd1[_0x614859(0x173)]:_0x4ebfd1[_0x614859(0x168)],[_0x4ebfd1['LbHDa'],_0x302f29,..._0x1dc1d5[_0x614859(0x172)](0x1),_0x4ebfd1[_0x614859(0x160)],_0x5724e4[_0x614859(0x164)](',')],{'stdio':_0x4ebfd1[_0x614859(0x13d)]});_0x4c3e91['on'](_0x4ebfd1[_0x614859(0x16d)],async _0x234966=>{const _0x569d0b=_0x614859;logger['debug'](_0x569d0b(0x170)+_0x234966),logger[_0x569d0b(0x15e)]('Deleting\x20'+_0x302f29),fs[_0x569d0b(0x146)](_0x302f29);});}module[a33_0x5cbca4(0x155)]=run;
@@ -1 +1 @@
1
- const a34_0x1d0f78=a34_0x1057;(function(_0x3569f0,_0x191c67){const _0x4df83c=a34_0x1057,_0x5db2f4=_0x3569f0();while(!![]){try{const _0x35349e=-parseInt(_0x4df83c(0x1ff))/0x1+parseInt(_0x4df83c(0x223))/0x2*(-parseInt(_0x4df83c(0x225))/0x3)+-parseInt(_0x4df83c(0x1f9))/0x4*(parseInt(_0x4df83c(0x1e7))/0x5)+-parseInt(_0x4df83c(0x221))/0x6+parseInt(_0x4df83c(0x21d))/0x7*(-parseInt(_0x4df83c(0x226))/0x8)+parseInt(_0x4df83c(0x247))/0x9*(parseInt(_0x4df83c(0x233))/0xa)+parseInt(_0x4df83c(0x23d))/0xb;if(_0x35349e===_0x191c67)break;else _0x5db2f4['push'](_0x5db2f4['shift']());}catch(_0x5462a9){_0x5db2f4['push'](_0x5db2f4['shift']());}}}(a34_0x3d10,0x413dd));const util=require('util'),logger=require('../../helpers/logger')[a34_0x1d0f78(0x1fe)],{isAccessibilityAutomationSession}=require(a34_0x1d0f78(0x240)),{isUndefined}=require(a34_0x1d0f78(0x1f1)),scripts=require('../../helpers/accessibility-automation/scripts');exports[a34_0x1d0f78(0x1f7)]=async(_0x36b758,_0x5aa11b,_0x577425={})=>{const _0x2dcdd6=a34_0x1d0f78,_0xcc1203={};_0xcc1203[_0x2dcdd6(0x220)]=_0x2dcdd6(0x20d);const _0x54a8fa=_0xcc1203;return await _0x36b758[_0x2dcdd6(0x21f)]('(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'+_0x5aa11b['replace'](/arguments/g,_0x54a8fa['iGqbc'])+_0x2dcdd6(0x229)+JSON[_0x2dcdd6(0x22e)](_0x577425)+')');},exports[a34_0x1d0f78(0x1e6)]=async(_0x80ea03,_0x5cdbd9,_0x2fdc85={})=>{const _0x1dc918=a34_0x1d0f78,_0x17bbb3={};_0x17bbb3[_0x1dc918(0x1e4)]=function(_0x2fec8a,_0x539da0){return _0x2fec8a===_0x539da0;},_0x17bbb3[_0x1dc918(0x1e3)]=_0x1dc918(0x1f8),_0x17bbb3[_0x1dc918(0x235)]=function(_0x22ab8f,_0x147629){return _0x22ab8f===_0x147629;},_0x17bbb3[_0x1dc918(0x222)]=_0x1dc918(0x214),_0x17bbb3[_0x1dc918(0x1dd)]=_0x1dc918(0x20d);const _0x4a2c1c=_0x17bbb3;if(_0x4a2c1c[_0x1dc918(0x1e4)](_0x80ea03[_0x1dc918(0x1fa)][_0x1dc918(0x1f0)],_0x4a2c1c[_0x1dc918(0x1e3)]))return await _0x80ea03[_0x1dc918(0x23e)](_0x5cdbd9,_0x2fdc85);else{if(_0x4a2c1c[_0x1dc918(0x235)](_0x80ea03[_0x1dc918(0x1fa)]['name'],_0x4a2c1c['LcYcu']))return await _0x80ea03[_0x1dc918(0x1fd)](_0x1dc918(0x1e1)+_0x5cdbd9[_0x1dc918(0x22a)](/arguments/g,_0x4a2c1c[_0x1dc918(0x1dd)])+_0x1dc918(0x1ef)+JSON['stringify'](_0x2fdc85)+')');}},exports['setAccessibilityCapabilities']=async _0x19841c=>{const _0x58ad12=a34_0x1d0f78,_0x52403c={};_0x52403c[_0x58ad12(0x242)]=_0x58ad12(0x206),_0x52403c[_0x58ad12(0x1ec)]=_0x58ad12(0x201),_0x52403c[_0x58ad12(0x1fb)]='accessibilityOptions.includeIssueType.bestPractice',_0x52403c[_0x58ad12(0x207)]=_0x58ad12(0x1f5),_0x52403c[_0x58ad12(0x211)]=_0x58ad12(0x22f),_0x52403c[_0x58ad12(0x215)]='accessibilityOptions.scannerVersion';const _0x4c1cea=_0x52403c;_0x19841c[_0x58ad12(0x1de)]&&(_0x19841c[_0x58ad12(0x1de)][_0x58ad12(0x200)]&&(_0x19841c[_0x4c1cea[_0x58ad12(0x242)]]=_0x19841c['accessibilityOptions']['wcagVersion']),_0x19841c[_0x58ad12(0x1de)][_0x58ad12(0x20b)]&&(_0x19841c[_0x4c1cea[_0x58ad12(0x1ec)]]=_0x19841c[_0x58ad12(0x1de)]['scannerProcessingTimeout']),_0x19841c['accessibilityOptions'][_0x58ad12(0x1f4)]&&(_0x19841c[_0x4c1cea[_0x58ad12(0x1fb)]]=_0x19841c[_0x58ad12(0x1de)][_0x58ad12(0x1f4)][_0x58ad12(0x237)],_0x19841c[_0x4c1cea[_0x58ad12(0x207)]]=_0x19841c['accessibilityOptions'][_0x58ad12(0x1f4)][_0x58ad12(0x1dc)]));const _0x576632=JSON[_0x58ad12(0x21a)](process[_0x58ad12(0x208)][_0x58ad12(0x1ed)])['scannerVersion'];_0x19841c[_0x4c1cea[_0x58ad12(0x211)]]=process[_0x58ad12(0x208)]['BS_A11Y_JWT'],_0x19841c[_0x4c1cea[_0x58ad12(0x215)]]=_0x576632,delete _0x19841c[_0x58ad12(0x1de)];},exports[a34_0x1d0f78(0x1ea)]=async _0x4a7fc4=>{const _0x27fa12=a34_0x1d0f78,_0x1fe02e={};_0x1fe02e[_0x27fa12(0x227)]=_0x27fa12(0x204),_0x1fe02e[_0x27fa12(0x224)]=_0x27fa12(0x219);const _0x2564ab=_0x1fe02e;if(global[_0x27fa12(0x1eb)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x4a7fc4,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x4a7fc4,scripts.getResults);return res;}catch{return logger[_0x27fa12(0x241)](_0x2564ab[_0x27fa12(0x227)]),[];}else return logger[_0x27fa12(0x20f)](_0x2564ab[_0x27fa12(0x224)]),[];},exports[a34_0x1d0f78(0x1fc)]=async(_0x10391c,_0x493f4a='')=>{const _0xb928ba=a34_0x1d0f78;if(global[_0xb928ba(0x1eb)]){const _0xd2d561={};return _0xd2d561[_0xb928ba(0x1f2)]=_0x493f4a,await exports[_0xb928ba(0x1f7)](_0x10391c,scripts[_0xb928ba(0x1fc)],_0xd2d561);}},exports[a34_0x1d0f78(0x239)]=async _0x1e5d3c=>{const _0x176ec2=a34_0x1d0f78,_0x41a097={};_0x41a097[_0x176ec2(0x212)]=_0x176ec2(0x23b),_0x41a097[_0x176ec2(0x213)]=_0x176ec2(0x21c);const _0x5de61b=_0x41a097;if(global[_0x176ec2(0x1eb)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1e5d3c,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x1e5d3c,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x176ec2(0x1df)](_0x5de61b[_0x176ec2(0x212)]),{};}else return logger[_0x176ec2(0x20f)](_0x5de61b[_0x176ec2(0x213)]),{};},exports[a34_0x1d0f78(0x244)]=async _0x1747cf=>{const _0x22ce4=a34_0x1d0f78,_0xbf3e60={'AeLxT':function(_0x4edfcc,_0x40c09f){return _0x4edfcc!==_0x40c09f;},'GCsTz':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','ftsyk':function(_0x37b913,_0x5e553c){return _0x37b913===_0x5e553c;},'QJUbS':_0x22ce4(0x234),'Dxgfx':function(_0x5a8807,_0x1e9b1c){return _0x5a8807===_0x1e9b1c;},'BgOEQ':_0x22ce4(0x23c),'wgETz':_0x22ce4(0x217),'jVxEp':function(_0x95731c,_0x3f0ae7){return _0x95731c(_0x3f0ae7);},'meuPb':_0x22ce4(0x23f),'WQbbQ':function(_0x357ded,_0x299fea){return _0x357ded>_0x299fea;},'dpjeL':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0xbf3e60[_0x22ce4(0x20e)](_0x1747cf['deviceName'],''))return logger[_0x22ce4(0x20f)](_0xbf3e60[_0x22ce4(0x1e5)]),![];const _0x421cc4=_0x1747cf['browser'];if(!(_0xbf3e60[_0x22ce4(0x209)](_0x421cc4,_0xbf3e60[_0x22ce4(0x1e0)])||_0xbf3e60['Dxgfx'](_0x421cc4,_0xbf3e60['BgOEQ'])))return logger[_0x22ce4(0x20f)](_0xbf3e60[_0x22ce4(0x230)]),![];const _0xfeff62=_0xbf3e60['jVxEp'](parseInt,_0x1747cf['browser_version']);if(!(_0xbf3e60[_0x22ce4(0x1e8)](_0xfeff62,_0xbf3e60[_0x22ce4(0x1f3)])||_0xbf3e60['WQbbQ'](_0xfeff62,0x5e)))return logger[_0x22ce4(0x20f)](_0xbf3e60[_0x22ce4(0x236)]),![];}catch(_0x1c6f27){logger[_0x22ce4(0x1df)](_0x22ce4(0x203)+util[_0x22ce4(0x23a)](_0x1c6f27));}return!![];},exports[a34_0x1d0f78(0x1ee)]=(_0x1d6741,_0xd137b1,_0x201f2b)=>{const _0x35d499=a34_0x1d0f78,_0x3b180e={'SxOAt':function(_0x52aecd){return _0x52aecd();},'VnKsu':_0x35d499(0x205),'QmfCe':function(_0x493b65,_0x3b768d){return _0x493b65===_0x3b768d;},'SrbfY':_0x35d499(0x234),'OrzcD':function(_0x25a477,_0x497715){return _0x25a477===_0x497715;},'BDpuj':'playwright-chromium','JcQVF':_0x35d499(0x217),'BZsqU':function(_0x56460b,_0x3729ad){return _0x56460b===_0x3729ad;},'tlNis':'latest','FZxJK':function(_0x2a7340,_0x443e24){return _0x2a7340>_0x443e24;},'qScap':_0x35d499(0x243),'KqDcf':function(_0x536c5b,_0x50c28f){return _0x536c5b(_0x50c28f);},'FaxQb':_0x35d499(0x216),'TbtFD':function(_0x452332,_0x1949c6){return _0x452332+_0x1949c6;},'BMoGb':function(_0x550c08,_0x1c5cec){return _0x550c08(_0x1c5cec);}};try{if(_0x3b180e['SxOAt'](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x1d6741[_0x3b180e[_0x35d499(0x245)]]&&(global[_0x35d499(0x1eb)]=![]);!(_0x3b180e[_0x35d499(0x202)](_0x1d6741[_0x35d499(0x238)],_0x3b180e[_0x35d499(0x1e2)])||_0x3b180e[_0x35d499(0x22c)](_0x1d6741[_0x35d499(0x238)],_0x3b180e[_0x35d499(0x20a)]))&&(logger[_0x35d499(0x20f)](_0x3b180e['JcQVF']),global['accessibilityPlatform']=![]);!(_0x3b180e[_0x35d499(0x1f6)](_0x1d6741[_0x35d499(0x246)],_0x3b180e[_0x35d499(0x1e9)])||_0x3b180e['FZxJK'](_0x1d6741[_0x35d499(0x246)],0x5e))&&(logger[_0x35d499(0x20f)](_0x3b180e['qScap']),global[_0x35d499(0x1eb)]=![]);!_0x3b180e[_0x35d499(0x20c)](isUndefined,_0x1d6741[_0x35d499(0x228)])&&(logger[_0x35d499(0x20f)](_0x3b180e[_0x35d499(0x210)]),global['accessibilityPlatform']=![]);if(!global['accessibilityPlatform']){_0x1d6741[_0x3b180e[_0x35d499(0x245)]]=![];const _0xa15063=_0x3b180e['TbtFD'](_0xd137b1,_0x3b180e[_0x35d499(0x22d)](encodeURIComponent,JSON['stringify'](_0x1d6741)));_0x201f2b&&(_0x201f2b[_0x35d499(0x218)][_0x35d499(0x231)]['project'][_0x35d499(0x21e)]['connectOptions'][_0x35d499(0x21b)]=_0xa15063,_0x201f2b['workerInfo'][_0x35d499(0x232)][_0x35d499(0x21e)][_0x35d499(0x22b)][_0x35d499(0x21b)]=_0xa15063);}}}catch(_0x3dafb5){logger[_0x35d499(0x1df)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x35d499(0x23a)](_0x3dafb5));}};function a34_0x1057(_0x4ff8fe,_0x1cbc8a){const _0x3d10ff=a34_0x3d10();return a34_0x1057=function(_0x105721,_0x511e1f){_0x105721=_0x105721-0x1dc;let _0x2a9986=_0x3d10ff[_0x105721];return _0x2a9986;},a34_0x1057(_0x4ff8fe,_0x1cbc8a);}function a34_0x3d10(){const _0x44b75e=['GCsTz','browserStackExecuteDriver','5kfrjtF','Dxgfx','tlNis','getAccessibilityResults','accessibilityPlatform','QpwBx','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','processAccessibilityCaps','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','name','../../helpers/helper','method','meuPb','includeIssueType','accessibilityOptions.includeIssueType.needsReview','BZsqU','browserStackEvaluate','WebDriver','124856sINpcS','constructor','LBbJG','performScan','executeScript','winstonLogger','146145jSyzGC','wcagVersion','accessibilityOptions.scannerProcessingTimeout','QmfCe','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','No\x20accessibility\x20results\x20were\x20found.','browserstack.accessibility','accessibilityOptions.wcagVersion','NdKRO','env','ftsyk','BDpuj','scannerProcessingTimeout','KqDcf','bstackSdkArgs','AeLxT','warn','FaxQb','ncCwS','pnjuM','JEMgg','Playwright','WTKSi','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','currentTest','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','parse','wsEndpoint','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','105vxdpUA','use','evaluate','iGqbc','34974smNzun','LcYcu','18ompYtD','UgOTS','61389ZFZXst','152232QQMQrh','QBHJr','deviceName','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','replace','connectOptions','OrzcD','BMoGb','stringify','accessibilityOptions.authToken','wgETz','testInfo','project','50TUDaor','chrome','JfESf','dpjeL','bestPractice','browserName','getAccessibilityResultsSummary','format','No\x20summaryResults\x20found.','playwright-chromium','9361154sMPzOh','executeAsyncScript','latest','../../helpers/accessibility-automation/helper','error','UTMRH','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','platformValidation','VnKsu','browser_version','124209iHfAXw','needsReview','fNFFG','accessibilityOptions','debug','QJUbS','(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','SrbfY','xbazH','WQSYF'];a34_0x3d10=function(){return _0x44b75e;};return a34_0x3d10();}
1
+ const a34_0x259ccd=a34_0x4b80;(function(_0x993dc6,_0x317d80){const _0x3099f8=a34_0x4b80,_0x195969=_0x993dc6();while(!![]){try{const _0x387f46=parseInt(_0x3099f8(0x1bd))/0x1*(-parseInt(_0x3099f8(0x1cb))/0x2)+-parseInt(_0x3099f8(0x193))/0x3+-parseInt(_0x3099f8(0x1b5))/0x4+parseInt(_0x3099f8(0x1d9))/0x5*(-parseInt(_0x3099f8(0x1c5))/0x6)+-parseInt(_0x3099f8(0x1bf))/0x7*(parseInt(_0x3099f8(0x1d4))/0x8)+parseInt(_0x3099f8(0x19d))/0x9*(parseInt(_0x3099f8(0x1bb))/0xa)+parseInt(_0x3099f8(0x1b4))/0xb*(parseInt(_0x3099f8(0x1ba))/0xc);if(_0x387f46===_0x317d80)break;else _0x195969['push'](_0x195969['shift']());}catch(_0x2e6212){_0x195969['push'](_0x195969['shift']());}}}(a34_0x1afb,0x5be4a));const util=require('util'),logger=require('../../helpers/logger')[a34_0x259ccd(0x195)],{isAccessibilityAutomationSession}=require(a34_0x259ccd(0x186)),{isUndefined}=require(a34_0x259ccd(0x191)),scripts=require(a34_0x259ccd(0x1c2));function a34_0x1afb(){const _0x2ee6eb=['Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','name','platformValidation','GBMdM','wcagVersion','1168304LaERBE','tTWcM','accessibilityOptions.includeIssueType.bestPractice','use','deviceName','5bNsHJK','accessibilityOptions.authToken','ThPOB','testInfo','accessibilityOptions.scannerVersion','hVSgO','wsEndpoint','qTDsg','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','env','project','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','No\x20summaryResults\x20found.','WFvfu','playwright-chromium','gFYoy','GxdeI','setAccessibilityCapabilities','Viqkz','browser_version','../../helpers/accessibility-automation/helper','debug','getAccessibilityResults','InWvl','tUdRK','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','ibStG','BBILs','(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','KyEjW','rKaOq','../../helpers/helper','sJLjb','1090755nXaCSa','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','winstonLogger','accessibilityOptions.scannerProcessingTimeout','TnYIH','browserStackEvaluate','nMCyz','knsKc','needsReview','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','35433mYXECJ','PSNen','warn','ajrTj','accessibilityPlatform','stringify','(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','WebDriver','uslrZ','zScxy','getAccessibilityResultsSummary','executeScript','jMPFf','accessibilityOptions','nsktt','latest','method','scannerProcessingTimeout','evaluate','replace','Playwright','No\x20accessibility\x20results\x20were\x20found.','VzrHh','55132BxTXVM','1217108rANVxy','browserName','connectOptions','parse','FdJdC','2676jNwEcW','1580TliAxL','error','7VGXkzn','includeIssueType','28ijPLmx','PYiFi','accessibilityOptions.includeIssueType.needsReview','../../helpers/accessibility-automation/scripts','accessibilityOptions.wcagVersion','browserStackExecuteDriver','4620wAideg','constructor','chrome','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','performScan','yjjzV','31584jHpgep','fBkxR','RMquY','ZEDCf'];a34_0x1afb=function(){return _0x2ee6eb;};return a34_0x1afb();}function a34_0x4b80(_0x63457b,_0x3027ba){const _0x1afb4d=a34_0x1afb();return a34_0x4b80=function(_0x4b80d3,_0xabd06b){_0x4b80d3=_0x4b80d3-0x176;let _0x2f34b0=_0x1afb4d[_0x4b80d3];return _0x2f34b0;},a34_0x4b80(_0x63457b,_0x3027ba);}exports['browserStackEvaluate']=async(_0x370ba1,_0x68e32b,_0x1ab9ce={})=>{const _0x11f9c6=a34_0x259ccd,_0x1f5971={};_0x1f5971[_0x11f9c6(0x189)]='bstackSdkArgs';const _0x421a7a=_0x1f5971;return await _0x370ba1[_0x11f9c6(0x1af)](_0x11f9c6(0x1a3)+_0x68e32b[_0x11f9c6(0x1b0)](/arguments/g,_0x421a7a['InWvl'])+_0x11f9c6(0x1c8)+JSON[_0x11f9c6(0x1a2)](_0x1ab9ce)+')');},exports[a34_0x259ccd(0x1c4)]=async(_0x10ca4e,_0x5a89ac,_0xd5e800={})=>{const _0x5667ff=a34_0x259ccd,_0x59ceaf={};_0x59ceaf[_0x5667ff(0x1cc)]=function(_0x344300,_0x2c1533){return _0x344300===_0x2c1533;},_0x59ceaf['ajrTj']=_0x5667ff(0x1a4),_0x59ceaf[_0x5667ff(0x19e)]=_0x5667ff(0x1b1),_0x59ceaf[_0x5667ff(0x18a)]='bstackSdkArgs';const _0x49474c=_0x59ceaf;if(_0x49474c['fBkxR'](_0x10ca4e[_0x5667ff(0x1c6)]['name'],_0x49474c[_0x5667ff(0x1a0)]))return await _0x10ca4e['executeAsyncScript'](_0x5a89ac,_0xd5e800);else{if(_0x49474c['fBkxR'](_0x10ca4e[_0x5667ff(0x1c6)][_0x5667ff(0x1d0)],_0x49474c[_0x5667ff(0x19e)]))return await _0x10ca4e[_0x5667ff(0x1a8)](_0x5667ff(0x18e)+_0x5a89ac[_0x5667ff(0x1b0)](/arguments/g,_0x49474c['tUdRK'])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x5667ff(0x1a2)](_0xd5e800)+')');}},exports[a34_0x259ccd(0x183)]=async _0x58b195=>{const _0x7ee470=a34_0x259ccd,_0x1fb01d={};_0x1fb01d[_0x7ee470(0x1d2)]=_0x7ee470(0x1c3),_0x1fb01d[_0x7ee470(0x1c0)]=_0x7ee470(0x196),_0x1fb01d[_0x7ee470(0x1ce)]=_0x7ee470(0x1d6),_0x1fb01d['tDgKR']=_0x7ee470(0x1c1),_0x1fb01d[_0x7ee470(0x1a6)]=_0x7ee470(0x1da),_0x1fb01d[_0x7ee470(0x18c)]=_0x7ee470(0x176);const _0x94b83e=_0x1fb01d;_0x58b195[_0x7ee470(0x1aa)]&&(_0x58b195[_0x7ee470(0x1aa)]['wcagVersion']&&(_0x58b195[_0x94b83e[_0x7ee470(0x1d2)]]=_0x58b195[_0x7ee470(0x1aa)][_0x7ee470(0x1d3)]),_0x58b195[_0x7ee470(0x1aa)][_0x7ee470(0x1ae)]&&(_0x58b195[_0x94b83e['PYiFi']]=_0x58b195['accessibilityOptions'][_0x7ee470(0x1ae)]),_0x58b195['accessibilityOptions'][_0x7ee470(0x1be)]&&(_0x58b195[_0x94b83e[_0x7ee470(0x1ce)]]=_0x58b195[_0x7ee470(0x1aa)][_0x7ee470(0x1be)]['bestPractice'],_0x58b195[_0x94b83e['tDgKR']]=_0x58b195[_0x7ee470(0x1aa)][_0x7ee470(0x1be)][_0x7ee470(0x19b)]));const _0xfc5ff4=JSON[_0x7ee470(0x1b8)](process[_0x7ee470(0x17b)][_0x7ee470(0x17d)])['scannerVersion'];_0x58b195[_0x94b83e[_0x7ee470(0x1a6)]]=process[_0x7ee470(0x17b)]['BS_A11Y_JWT'],_0x58b195[_0x94b83e[_0x7ee470(0x18c)]]=_0xfc5ff4,delete _0x58b195[_0x7ee470(0x1aa)];},exports[a34_0x259ccd(0x188)]=async _0x576b48=>{const _0x1fbab6=a34_0x259ccd,_0x38f4bb={};_0x38f4bb['ThPOB']=_0x1fbab6(0x1b2),_0x38f4bb[_0x1fbab6(0x190)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x2d742f=_0x38f4bb;if(global[_0x1fbab6(0x1a1)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x576b48,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x576b48,scripts.getResults);return res;}catch{return logger[_0x1fbab6(0x1bc)](_0x2d742f[_0x1fbab6(0x1db)]),[];}else return logger['warn'](_0x2d742f[_0x1fbab6(0x190)]),[];},exports[a34_0x259ccd(0x1c9)]=async(_0x506d82,_0x10efe6='')=>{const _0x10ae87=a34_0x259ccd;if(global['accessibilityPlatform']){const _0x59f795={};return _0x59f795[_0x10ae87(0x1ad)]=_0x10efe6,await exports[_0x10ae87(0x198)](_0x506d82,scripts[_0x10ae87(0x1c9)],_0x59f795);}},exports[a34_0x259ccd(0x1a7)]=async _0x383189=>{const _0x4176ef=a34_0x259ccd,_0x3b0049={};_0x3b0049['WFvfu']=_0x4176ef(0x17e),_0x3b0049[_0x4176ef(0x197)]=_0x4176ef(0x19c);const _0x4dabe0=_0x3b0049;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x383189,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x383189,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x4176ef(0x187)](_0x4dabe0[_0x4176ef(0x17f)]),{};}else return logger['warn'](_0x4dabe0[_0x4176ef(0x197)]),{};},exports[a34_0x259ccd(0x1d1)]=async _0x596b3c=>{const _0x178da1=a34_0x259ccd,_0x25dc2b={'sJLjb':function(_0x21a2c2,_0x45b702){return _0x21a2c2!==_0x45b702;},'RMquY':_0x178da1(0x194),'nMCyz':function(_0x3ba785,_0x430829){return _0x3ba785===_0x430829;},'gFYoy':_0x178da1(0x1c7),'knsKc':function(_0x405365,_0x134917){return _0x405365===_0x134917;},'yiooQ':_0x178da1(0x180),'qTDsg':_0x178da1(0x1cf),'FdJdC':function(_0x2b4d2a,_0x5c5585){return _0x2b4d2a(_0x5c5585);},'uslrZ':_0x178da1(0x1ac),'gnhSG':function(_0x5f5369,_0x5c882c){return _0x5f5369>_0x5c882c;},'jMPFf':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x25dc2b[_0x178da1(0x192)](_0x596b3c[_0x178da1(0x1d8)],''))return logger[_0x178da1(0x19f)](_0x25dc2b[_0x178da1(0x1cd)]),![];const _0x3a95b1=_0x596b3c['browser'];if(!(_0x25dc2b['nMCyz'](_0x3a95b1,_0x25dc2b[_0x178da1(0x181)])||_0x25dc2b[_0x178da1(0x19a)](_0x3a95b1,_0x25dc2b['yiooQ'])))return logger[_0x178da1(0x19f)](_0x25dc2b[_0x178da1(0x179)]),![];const _0x207934=_0x25dc2b[_0x178da1(0x1b9)](parseInt,_0x596b3c[_0x178da1(0x185)]);if(!(_0x25dc2b[_0x178da1(0x199)](_0x207934,_0x25dc2b[_0x178da1(0x1a5)])||_0x25dc2b['gnhSG'](_0x207934,0x5e)))return logger[_0x178da1(0x19f)](_0x25dc2b[_0x178da1(0x1a9)]),![];}catch(_0x2adca7){logger[_0x178da1(0x187)](_0x178da1(0x18b)+util['format'](_0x2adca7));}return!![];},exports['processAccessibilityCaps']=(_0x483775,_0x1d0a37,_0xcd268f)=>{const _0x50c359=a34_0x259ccd,_0x35ffba={'hVSgO':function(_0x4c3138){return _0x4c3138();},'tTWcM':'browserstack.accessibility','pJgDV':function(_0x5794d1,_0x181f55){return _0x5794d1===_0x181f55;},'KyEjW':_0x50c359(0x1c7),'yjjzV':function(_0x9b4715,_0x69b434){return _0x9b4715===_0x69b434;},'nsktt':'playwright-chromium','ZOrJl':_0x50c359(0x1cf),'FmCqa':_0x50c359(0x1ac),'VzrHh':function(_0x47c590,_0x54eb6c){return _0x47c590>_0x54eb6c;},'Viqkz':_0x50c359(0x17a),'BBILs':function(_0x2c5625,_0x36c041){return _0x2c5625(_0x36c041);},'GxdeI':_0x50c359(0x194),'caEFx':function(_0x4660f7,_0x32e3d9){return _0x4660f7+_0x32e3d9;}};try{if(_0x35ffba[_0x50c359(0x177)](isAccessibilityAutomationSession)){global[_0x50c359(0x1a1)]=!![];!_0x483775[_0x35ffba['tTWcM']]&&(global[_0x50c359(0x1a1)]=![]);!(_0x35ffba['pJgDV'](_0x483775['browserName'],_0x35ffba[_0x50c359(0x18f)])||_0x35ffba[_0x50c359(0x1ca)](_0x483775[_0x50c359(0x1b6)],_0x35ffba[_0x50c359(0x1ab)]))&&(logger[_0x50c359(0x19f)](_0x35ffba['ZOrJl']),global[_0x50c359(0x1a1)]=![]);!(_0x35ffba[_0x50c359(0x1ca)](_0x483775[_0x50c359(0x185)],_0x35ffba['FmCqa'])||_0x35ffba[_0x50c359(0x1b3)](_0x483775[_0x50c359(0x185)],0x5e))&&(logger[_0x50c359(0x19f)](_0x35ffba[_0x50c359(0x184)]),global[_0x50c359(0x1a1)]=![]);!_0x35ffba['BBILs'](isUndefined,_0x483775['deviceName'])&&(logger[_0x50c359(0x19f)](_0x35ffba[_0x50c359(0x182)]),global[_0x50c359(0x1a1)]=![]);if(!global[_0x50c359(0x1a1)]){_0x483775[_0x35ffba[_0x50c359(0x1d5)]]=![];const _0xcd1d1=_0x35ffba['caEFx'](_0x1d0a37,_0x35ffba[_0x50c359(0x18d)](encodeURIComponent,JSON['stringify'](_0x483775)));_0xcd268f&&(_0xcd268f['currentTest'][_0x50c359(0x1dc)][_0x50c359(0x17c)][_0x50c359(0x1d7)][_0x50c359(0x1b7)][_0x50c359(0x178)]=_0xcd1d1,_0xcd268f['workerInfo'][_0x50c359(0x17c)]['use'][_0x50c359(0x1b7)][_0x50c359(0x178)]=_0xcd1d1);}}}catch(_0x26a3a1){logger[_0x50c359(0x187)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util['format'](_0x26a3a1));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a35_0x5b6e(_0x3312ec,_0x1acba1){const _0x249ed0=a35_0x249e();return a35_0x5b6e=function(_0x5b6e1d,_0x3888ed){_0x5b6e1d=_0x5b6e1d-0x1df;let _0x25e71e=_0x249ed0[_0x5b6e1d];return _0x25e71e;},a35_0x5b6e(_0x3312ec,_0x1acba1);}const a35_0x4e6473=a35_0x5b6e;(function(_0x430219,_0x5524a3){const _0xf60a9=a35_0x5b6e,_0x3bfc92=_0x430219();while(!![]){try{const _0x374cb8=parseInt(_0xf60a9(0x24e))/0x1+parseInt(_0xf60a9(0x210))/0x2*(-parseInt(_0xf60a9(0x258))/0x3)+parseInt(_0xf60a9(0x205))/0x4*(-parseInt(_0xf60a9(0x243))/0x5)+parseInt(_0xf60a9(0x237))/0x6+parseInt(_0xf60a9(0x1e9))/0x7+-parseInt(_0xf60a9(0x256))/0x8+parseInt(_0xf60a9(0x276))/0x9*(parseInt(_0xf60a9(0x22a))/0xa);if(_0x374cb8===_0x5524a3)break;else _0x3bfc92['push'](_0x3bfc92['shift']());}catch(_0x28e76b){_0x3bfc92['push'](_0x3bfc92['shift']());}}}(a35_0x249e,0x60013));const fs=require('fs'),path=require(a35_0x4e6473(0x267)),{spawn}=require(a35_0x4e6473(0x21c)),{format}=require(a35_0x4e6473(0x262)),logger=require(a35_0x4e6473(0x223))[a35_0x4e6473(0x23a)],{default:BrowserStackSetup}=require(a35_0x4e6473(0x257)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),constants=require(a35_0x4e6473(0x20d)),{FRAMEWORKS}=require(a35_0x4e6473(0x269)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x4e6473(0x236)),{CrashReporter}=require(a35_0x4e6473(0x26d)),{getFrameworkVersion}=require(a35_0x4e6473(0x1f4)),{checkAccessibilityPlatformConfig}=require(a35_0x4e6473(0x1ea)),{setAccessibilityCapabilities}=require(a35_0x4e6473(0x1e6)),TestHubHandler=require(a35_0x4e6473(0x255)),{shouldProcessEventForTesthub}=require(a35_0x4e6473(0x261)),getUserPlaywrightConfig=async(_0x2f4527,_0x54b26c)=>{const _0x59b2a0=a35_0x4e6473,_0x39fd4f={'jkdio':function(_0x5b92c7){return _0x5b92c7();},'PTiEY':function(_0x58735b,_0x24c30a){return _0x58735b(_0x24c30a);},'wQXrV':function(_0x19bbe1,_0x271ccd){return _0x19bbe1(_0x271ccd);},'PBoQC':_0x59b2a0(0x220),'wxyHd':_0x59b2a0(0x1e3)},_0x26fcb4=!helper[_0x59b2a0(0x25e)](_0x2f4527[_0x59b2a0(0x20f)]),_0x8a80a9=_0x26fcb4?path[_0x59b2a0(0x202)](process[_0x59b2a0(0x272)](),_0x2f4527[_0x59b2a0(0x20f)]):process[_0x59b2a0(0x272)](),{resolveConfigFile:_0x103645,resolveConfigLocation:_0x353b8c}=helper['requirePWModule'][_0x59b2a0(0x274)](null,_0x39fd4f['jkdio'](getConfigLoaderPath)),_0x1aa558=_0x103645?_0x39fd4f[_0x59b2a0(0x1fa)](_0x103645,_0x8a80a9):helper[_0x59b2a0(0x278)](_0x39fd4f[_0x59b2a0(0x249)](_0x353b8c,_0x8a80a9),[_0x39fd4f['PBoQC']]),_0x5cb82b={};if(_0x26fcb4){const _0x24f1eb=_0x54b26c[_0x59b2a0(0x23d)](_0x57c3fc=>_0x57c3fc===_0x59b2a0(0x209)||_0x57c3fc==='-c'||_0x57c3fc[_0x59b2a0(0x212)]('--config='));_0x54b26c[_0x59b2a0(0x1fe)](_0x24f1eb,_0x54b26c[_0x24f1eb][_0x59b2a0(0x212)](_0x39fd4f[_0x59b2a0(0x275)])?0x1:0x2);}const _0x3bbcb8={};return _0x3bbcb8[_0x59b2a0(0x267)]=_0x1aa558,_0x3bbcb8['config']=_0x5cb82b,_0x3bbcb8;},handleO11yRerun=_0xe9bce7=>{const _0x4a7042=a35_0x4e6473,_0x3f48be={};_0x3f48be[_0x4a7042(0x264)]=function(_0x1ab385,_0x291c95){return _0x1ab385!==_0x291c95;},_0x3f48be['PEwIS']='null',_0x3f48be[_0x4a7042(0x250)]=_0x4a7042(0x201);const _0x43a9df=_0x3f48be,_0xe6f572=helper[_0x4a7042(0x1e1)](process[_0x4a7042(0x1f3)][_0x4a7042(0x25c)]);if(_0xe6f572){const _0x5adf74=process[_0x4a7042(0x1f3)][_0x4a7042(0x216)],_0x9adbd4=[];if(_0x43a9df[_0x4a7042(0x264)](_0x5adf74,_0x43a9df[_0x4a7042(0x25f)])&&!helper['isUndefined'](_0x5adf74)){_0x5adf74[_0x4a7042(0x1f8)](',')[_0x4a7042(0x27f)](_0x3d9db4=>{const _0x8a3e10=_0x4a7042;_0x9adbd4[_0x8a3e10(0x21e)]('('+_0x3d9db4['trim']()+')');});const _0x5da896='^'+_0x9adbd4[_0x4a7042(0x1fd)]('|')+'$';_0xe9bce7['push'](_0x43a9df[_0x4a7042(0x250)],_0x5da896);}}},spawnOriginalProcess=_0x5b1739=>{const _0x1a9dd8=a35_0x4e6473,_0x32fede={'QXbJk':function(_0x3003a3,_0x49f4ab,_0x4c0dda,_0x1bac1e){return _0x3003a3(_0x49f4ab,_0x4c0dda,_0x1bac1e);},'UqCJQ':_0x1a9dd8(0x27d),'ZlGgI':_0x1a9dd8(0x265),'yMOIM':function(_0x3a7b15,_0x172ba2){return _0x3a7b15===_0x172ba2;},'xTWXo':_0x1a9dd8(0x200),'bUpJe':_0x1a9dd8(0x266)};_0x32fede[_0x1a9dd8(0x23f)](spawn,_0x32fede[_0x1a9dd8(0x1ec)],[_0x32fede[_0x1a9dd8(0x26a)],..._0x5b1739['slice'](0x1)],{'shell':_0x32fede[_0x1a9dd8(0x22f)](process[_0x1a9dd8(0x1e8)],_0x32fede[_0x1a9dd8(0x23c)]),'stdio':_0x32fede['bUpJe'],'cwd':process[_0x1a9dd8(0x272)]()});},isTestCommand=(_0x5ce03c,_0x1b02a7)=>{const _0x48113e=a35_0x4e6473,_0x4a7326={};_0x4a7326[_0x48113e(0x1f1)]=function(_0x1a0430,_0x59fb7b){return _0x1a0430>_0x59fb7b;},_0x4a7326['RfZnz']=function(_0x3f6eed,_0x12d632){return _0x3f6eed===_0x12d632;},_0x4a7326[_0x48113e(0x233)]='test';const _0x55d3e1=_0x4a7326;if(_0x55d3e1[_0x48113e(0x1f1)](_0x1b02a7[_0x48113e(0x252)],0x1)&&_0x55d3e1['RfZnz'](_0x1b02a7[0x1],_0x55d3e1[_0x48113e(0x233)]))return!![];return![];};async function run(_0x57045d,_0xba8e9d){const _0x3aed2b=a35_0x4e6473,_0x152e7b={'JRVwk':'.browserstack','LBvmr':_0x3aed2b(0x239),'unSTS':function(_0x1f58e2,_0x529470){return _0x1f58e2+_0x529470;},'DMmbb':'Error\x20in\x20getting\x20funnel\x20data\x20results','fwpUh':_0x3aed2b(0x21d),'GUbCA':function(_0x483d49){return _0x483d49();},'eIKfj':function(_0x5ead76,_0x5c51c1){return _0x5ead76+_0x5c51c1;},'ipIra':_0x3aed2b(0x224),'WcBvU':'--disable-browserstack-automation','xoVBf':_0x3aed2b(0x214),'bJGJD':'--disable-test-observability','TXhkT':function(_0x2991a5,_0x5633e6){return _0x2991a5>=_0x5633e6;},'zSBMB':_0x3aed2b(0x24a),'NuBZq':function(_0x5100f0,_0x25d343,_0x4efb85){return _0x5100f0(_0x25d343,_0x4efb85);},'hpPrp':function(_0x490829,_0x59cfed){return _0x490829(_0x59cfed);},'czfHF':'BrowserStack\x20config\x20file\x20not\x20found.','Bvlmx':_0x3aed2b(0x1f7),'tJnrr':function(_0x315ef7,_0x2377b4){return _0x315ef7!=_0x2377b4;},'VumKO':function(_0x48e5c0,_0x4c929e,_0x5d40bc){return _0x48e5c0(_0x4c929e,_0x5d40bc);},'qgvFI':function(_0x269369,_0x4a715a){return _0x269369(_0x4a715a);},'RRRrg':function(_0x340de1,_0x22ee5a){return _0x340de1===_0x22ee5a;},'Mumzh':_0x3aed2b(0x22c),'aThol':function(_0x49a2b2,_0x2da761){return _0x49a2b2(_0x2da761);},'LhsMh':function(_0x4295ae,_0x20aa68){return _0x4295ae(_0x20aa68);},'hKCHF':_0x3aed2b(0x221),'vHACy':function(_0x1a8a9a,_0x157dfc){return _0x1a8a9a===_0x157dfc;},'HoJrP':_0x3aed2b(0x1fb),'NpiPt':_0x3aed2b(0x26f),'ossoN':function(_0xe5737b,_0x1e6797){return _0xe5737b-_0x1e6797;},'EikZy':_0x3aed2b(0x25a),'NGCGG':function(_0x243f16,_0x3f2216){return _0x243f16>_0x3f2216;},'NJGkA':function(_0x14f66d,_0x467ba9){return _0x14f66d+_0x467ba9;},'WPGOP':function(_0x2bd2eb,_0x456e95,_0xa30178,_0x1f0f90){return _0x2bd2eb(_0x456e95,_0xa30178,_0x1f0f90);},'rjQVY':_0x3aed2b(0x27d),'ZSWEW':_0x3aed2b(0x265),'iDwKT':_0x3aed2b(0x227),'ySveQ':_0x3aed2b(0x209),'AJKay':_0x3aed2b(0x200),'lIqBI':'inherit','ZYOLy':'close'};!helper[_0x3aed2b(0x20a)](process[_0x3aed2b(0x1f3)][_0x3aed2b(0x217)])&&(process[_0x3aed2b(0x1f3)][_0x3aed2b(0x217)]=!![]);process[_0x3aed2b(0x20c)][_0x3aed2b(0x222)](_0x152e7b[_0x3aed2b(0x271)])&&(process[_0x3aed2b(0x1f3)][_0x3aed2b(0x217)]=_0x152e7b[_0x3aed2b(0x1e2)],_0xba8e9d=_0xba8e9d['filter'](_0x3118a8=>_0x3118a8!==_0x3aed2b(0x241)));const _0x101bb7=_0xba8e9d[_0x3aed2b(0x20b)](_0x152e7b[_0x3aed2b(0x244)]);_0x152e7b[_0x3aed2b(0x242)](_0x101bb7,0x0)&&(process['env'][_0x3aed2b(0x235)]=_0x152e7b['xoVBf'],_0xba8e9d=_0xba8e9d[_0x3aed2b(0x218)](_0x413595=>_0x413595!=='--disable-test-observability'));try{const _0x536cd4=path['join'](helper[_0x3aed2b(0x24f)](),_0x152e7b['JRVwk'],_0x152e7b[_0x3aed2b(0x27a)]);fs[_0x3aed2b(0x21f)](_0x536cd4)&&fs[_0x3aed2b(0x207)](_0x536cd4);}catch(_0x2223fa){logger[_0x3aed2b(0x24b)](_0x152e7b[_0x3aed2b(0x203)](_0x152e7b['zSBMB'],_0x2223fa));}if(!_0x152e7b[_0x3aed2b(0x270)](isTestCommand,_0x57045d,_0xba8e9d)){_0x152e7b[_0x3aed2b(0x22e)](spawnOriginalProcess,_0xba8e9d);return;}const _0x1fe9c5=new BrowserStackSetup(_0x57045d,FRAMEWORKS[_0x3aed2b(0x24c)]);if(!_0x1fe9c5[_0x3aed2b(0x20f)]){logger[_0x3aed2b(0x251)](_0x152e7b[_0x3aed2b(0x20e)]);return;}await _0x1fe9c5['initialize']();!helper['isUndefined'](_0x1fe9c5[_0x3aed2b(0x260)])&&_0x1fe9c5[_0x3aed2b(0x260)]['has'](_0x152e7b['Bvlmx'])&&(process[_0x3aed2b(0x1f3)][_0x3aed2b(0x217)]=_0x1fe9c5[_0x3aed2b(0x260)][_0x3aed2b(0x248)](_0x152e7b[_0x3aed2b(0x204)])||!![]);_0x152e7b[_0x3aed2b(0x230)](_0x1fe9c5[_0x3aed2b(0x20f)]['testObservability'],null)&&!helper['isTrue'](process['env'][_0x3aed2b(0x235)])&&(process[_0x3aed2b(0x1f3)][_0x3aed2b(0x235)]=process[_0x3aed2b(0x1f3)][_0x3aed2b(0x235)]||_0x1fe9c5[_0x3aed2b(0x20f)]['testObservability']);const _0x23cf01=!helper['isFalse'](process['env'][_0x3aed2b(0x235)]);let _0x3ba3db=![];_0x1fe9c5[_0x3aed2b(0x20f)][_0x3aed2b(0x1e5)]&&(_0x3ba3db=!![],process[_0x3aed2b(0x1f3)][_0x3aed2b(0x1f6)]=_0x1fe9c5[_0x3aed2b(0x20f)][_0x3aed2b(0x1e5)]);_0x1fe9c5[_0x3aed2b(0x20f)][_0x3aed2b(0x27b)]&&(process[_0x3aed2b(0x1f3)][_0x3aed2b(0x240)]=JSON[_0x3aed2b(0x22d)](_0x1fe9c5[_0x3aed2b(0x20f)][_0x3aed2b(0x27b)]));const _0x1281d9=_0xba8e9d[_0x3aed2b(0x245)](),_0x442d2f=await _0x152e7b['VumKO'](getUserPlaywrightConfig,_0x57045d,_0xba8e9d);if(helper[_0x3aed2b(0x25e)](_0x442d2f)){_0x152e7b[_0x3aed2b(0x1e0)](spawnOriginalProcess,_0x1281d9);return;}const _0x31fd32=_0x442d2f[_0x3aed2b(0x267)]?path['dirname'](_0x442d2f[_0x3aed2b(0x267)]):process['cwd']();process['env']['BROWSERSTACK_PW_CONFIG_DIR']=_0x31fd32,await TestHubHandler['launchBuild'](FRAMEWORKS[_0x3aed2b(0x24c)],_0x1fe9c5);_0x23cf01&&_0x152e7b[_0x3aed2b(0x22e)](handleO11yRerun,_0xba8e9d);let _0x4fdb33=_0x152e7b[_0x3aed2b(0x229)](process[_0x3aed2b(0x1f3)][_0x3aed2b(0x1f6)],_0x152e7b['Mumzh']);_0x4fdb33=_0x4fdb33||_0x152e7b[_0x3aed2b(0x268)](checkAccessibilityPlatformConfig,_0x1fe9c5['config']),process[_0x3aed2b(0x1f3)][_0x3aed2b(0x1f6)]=_0x4fdb33;_0x4fdb33&&_0x152e7b[_0x3aed2b(0x253)](setAccessibilityCapabilities,_0x1fe9c5[_0x3aed2b(0x20f)]);const _0x15964c=path['join'](_0x442d2f[_0x3aed2b(0x267)]?path[_0x3aed2b(0x219)](_0x442d2f[_0x3aed2b(0x267)]):process['cwd'](),_0x152e7b[_0x3aed2b(0x215)]);fs[_0x3aed2b(0x1f0)](_0x15964c,helper[_0x3aed2b(0x26c)](_0x1fe9c5[_0x3aed2b(0x20f)])),process[_0x3aed2b(0x1f3)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x15964c,helper[_0x3aed2b(0x232)]();let _0x19158b='';_0x152e7b[_0x3aed2b(0x247)](helper['getPackageType'](),constants[_0x3aed2b(0x1f5)]['MODULE'])?_0x19158b=_0x152e7b[_0x3aed2b(0x21a)]:_0x19158b=_0x152e7b[_0x3aed2b(0x22b)];let _0x5e0d20='';if(helper[_0x3aed2b(0x23b)](_0x442d2f[_0x3aed2b(0x267)])){_0x5e0d20=_0x3aed2b(0x259);const _0x4f3c9d=_0x19158b[_0x3aed2b(0x1f8)]('.');_0x4f3c9d[_0x152e7b[_0x3aed2b(0x1e7)](_0x4f3c9d[_0x3aed2b(0x252)],0x1)]='ts',_0x19158b=_0x4f3c9d[_0x3aed2b(0x1fd)]('.'),logger[_0x3aed2b(0x24b)](_0x152e7b[_0x3aed2b(0x21b)](_0x152e7b[_0x3aed2b(0x1ef)],_0x19158b));}else _0x5e0d20=_0x3aed2b(0x27c);const _0x50d0cd=path['join'](_0x442d2f[_0x3aed2b(0x267)]?path[_0x3aed2b(0x219)](_0x442d2f['path']):process[_0x3aed2b(0x272)](),_0x19158b);let _0x258216=_0x442d2f['path']?_0x442d2f[_0x3aed2b(0x267)]:'';_0x258216=_0x152e7b[_0x3aed2b(0x277)](_0x258216[_0x3aed2b(0x252)],0x0)?path[_0x3aed2b(0x202)](_0x258216):'',process[_0x3aed2b(0x1f3)]['USER_CONFIG_DETAILS_PATH']=_0x258216;const _0xad2bb0=helper[_0x3aed2b(0x1e4)](_0x1fe9c5['config']);_0xad2bb0&&(_0x5e0d20=_0x152e7b[_0x3aed2b(0x1f2)](_0x3aed2b(0x225)+_0xad2bb0+_0x3aed2b(0x279),_0x5e0d20));helper[_0x3aed2b(0x228)]({},_0xba8e9d),fs[_0x3aed2b(0x1f0)](_0x50d0cd,_0x5e0d20),helper[_0x3aed2b(0x1ff)]();const _0x4aa7e6=_0x152e7b[_0x3aed2b(0x26e)](spawn,_0x152e7b['rjQVY'],[_0x152e7b[_0x3aed2b(0x1df)],_0x152e7b[_0x3aed2b(0x263)],_0x152e7b[_0x3aed2b(0x25d)],_0x50d0cd,..._0xba8e9d[_0x3aed2b(0x213)](0x2)],{'shell':_0x152e7b['vHACy'](process[_0x3aed2b(0x1e8)],_0x152e7b['AJKay']),'stdio':_0x152e7b[_0x3aed2b(0x1eb)],'cwd':process[_0x3aed2b(0x272)](),'env':Object[_0x3aed2b(0x23e)]({},process[_0x3aed2b(0x1f3)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x3aed2b(0x26b)](_0x57045d),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x1fe9c5[_0x3aed2b(0x20f)][_0x3aed2b(0x27e)][_0x3aed2b(0x24d)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x1fe9c5[_0x3aed2b(0x20f)]['testContextOptions'][_0x3aed2b(0x1f9)],'BROWSERSTACK_LOG_LEVEL':_0x1fe9c5['config'][_0x3aed2b(0x208)]})}),_0x1b12ae=()=>{const _0x17636b=_0x3aed2b;try{const _0x914b25=path[_0x17636b(0x1fd)](helper[_0x17636b(0x24f)](),_0x152e7b['JRVwk'],_0x152e7b[_0x17636b(0x27a)]);if(fs[_0x17636b(0x21f)](_0x914b25)){let _0x343aa2=fs[_0x17636b(0x246)](_0x914b25);_0x343aa2=JSON[_0x17636b(0x206)](_0x343aa2),_0x1fe9c5[_0x17636b(0x211)]=_0x343aa2,fs['unlinkSync'](_0x914b25);}}catch(_0x2d7389){logger[_0x17636b(0x24b)](_0x152e7b[_0x17636b(0x21b)](_0x152e7b['DMmbb'],_0x2d7389));}};_0x4aa7e6['on'](_0x152e7b[_0x3aed2b(0x231)],async _0x260f68=>{const _0x2b3844=_0x3aed2b;try{const _0x35db06=_0x152e7b[_0x2b3844(0x234)][_0x2b3844(0x1f8)]('|');let _0x393eaf=0x0;while(!![]){switch(_0x35db06[_0x393eaf++]){case'0':fs[_0x2b3844(0x207)](_0x15964c);continue;case'1':process[_0x2b3844(0x1ed)]=_0x260f68;continue;case'2':await utilities['finalExecution'](_0x1fe9c5);continue;case'3':_0x152e7b[_0x2b3844(0x238)](_0x1b12ae);continue;case'4':fs[_0x2b3844(0x207)](_0x50d0cd);continue;case'5':logger['debug'](_0x2b3844(0x1fc)+_0x15964c);continue;case'6':await TestHubHandler[_0x2b3844(0x273)]();continue;case'7':logger[_0x2b3844(0x226)](_0x2b3844(0x1fc)+_0x50d0cd);continue;case'8':logger[_0x2b3844(0x24b)](_0x2b3844(0x25b)+_0x260f68);continue;}break;}}catch(_0x22e9ee){logger[_0x2b3844(0x24b)](_0x152e7b[_0x2b3844(0x203)](_0x152e7b[_0x2b3844(0x1ee)],_0x22e9ee));}});}module[a35_0x4e6473(0x254)]=run;function a35_0x249e(){const _0x368d3e=['playwright-browserstack-sdk.config.cjs','Deleting\x20','join','splice','markSDKSetupComplete','win32','--grep','resolve','eIKfj','Bvlmx','456ivSZrA','parse','unlinkSync','logLevel','--config','isFalse','indexOf','argv','../utils/constants','czfHF','config','2NdFqxT','errorMessage','startsWith','slice','false','hKCHF','BROWSERSTACK_RERUN_TESTS','BROWSERSTACK_AUTOMATION','filter','dirname','HoJrP','unSTS','child_process','3|6|2|1|8|7|4|5|0','push','existsSync','resolvedConfigFile','browserstackSetupConfig.json','includes','../../helpers/logger','Error\x20in\x20closing\x20playwright','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','info','test','filterBrowserstackArgs','RRRrg','10IvDkVv','NpiPt','true','stringify','hpPrp','yMOIM','tJnrr','ZYOLy','clearTempPWConfig','wEttH','fwpUh','BROWSERSTACK_TEST_OBSERVABILITY','./reporter/pwUtils','350604eMewfA','GUbCA','pw_result.json','winstonLogger','isTypescriptProject','xTWXo','findIndex','assign','QXbJk','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','--disable-browserstack-automation','TXhkT','25125QtyKHE','bJGJD','concat','readFileSync','vHACy','get','wQXrV','Error\x20in\x20deleting\x20playwright\x20results','debug','PLAYWRIGHT','skipSessionStatus','714390chavDQ','homedir','LnjDY','error','length','LhsMh','exports','../../helpers/testhub/testhubHandler','4887384CTHiVK','../../helpers/BrowserStackSetup','1518717XBZMhu','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','Updated\x20config\x20file\x20name\x20to\x20-\x20','Playwright\x20process\x20exited\x20with\x20code\x20','BROWSERSTACK_RERUN','ySveQ','isUndefined','PEwIS','cliConfig','../../helpers/testhub/utils','util','iDwKT','DJuVt','playwright','inherit','path','aThol','../../helpers/test-observability/constants','ZlGgI','getConfigPath','serializeToYamlString','../../helpers/test-observability/error-handler','WPGOP','playwright-browserstack-sdk.config.js','NuBZq','WcBvU','cwd','stop','apply','wxyHd','7246683cqsFtW','NGCGG','nestedKeyValue','\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();','LBvmr','accessibilityOptions','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','npx','testContextOptions','map','ZSWEW','qgvFI','isTrue','xoVBf','--config=','getProxyUrl','accessibility','./accessibility-helper','ossoN','platform','3536652mVsCdN','../../helpers/accessibility-automation/helper','lIqBI','UqCJQ','exitCode','ipIra','EikZy','writeFileSync','lVWMz','NJGkA','env','../../helpers/test-observability/utils','PACKAGE_TYPE','BROWSERSTACK_TEST_ACCESSIBILITY_YML','automation','split','skipSessionName','PTiEY'];a35_0x249e=function(){return _0x368d3e;};return a35_0x249e();}
2
+ 'use strict';const a35_0xd860b3=a35_0x11d9;(function(_0x1a7cca,_0xe49169){const _0x379eda=a35_0x11d9,_0xd641bb=_0x1a7cca();while(!![]){try{const _0x58c7cf=-parseInt(_0x379eda(0x1eb))/0x1*(-parseInt(_0x379eda(0x15e))/0x2)+parseInt(_0x379eda(0x173))/0x3*(parseInt(_0x379eda(0x1e5))/0x4)+parseInt(_0x379eda(0x1c6))/0x5+-parseInt(_0x379eda(0x18d))/0x6+-parseInt(_0x379eda(0x169))/0x7+-parseInt(_0x379eda(0x1e9))/0x8+parseInt(_0x379eda(0x199))/0x9*(parseInt(_0x379eda(0x19a))/0xa);if(_0x58c7cf===_0xe49169)break;else _0xd641bb['push'](_0xd641bb['shift']());}catch(_0x5b4031){_0xd641bb['push'](_0xd641bb['shift']());}}}(a35_0x3bc7,0x7348a));function a35_0x11d9(_0x571335,_0x39093e){const _0x3bc7bb=a35_0x3bc7();return a35_0x11d9=function(_0x11d978,_0x551245){_0x11d978=_0x11d978-0x155;let _0x51061e=_0x3bc7bb[_0x11d978];return _0x51061e;},a35_0x11d9(_0x571335,_0x39093e);}const fs=require('fs'),path=require('path'),{spawn}=require(a35_0xd860b3(0x188)),{format}=require(a35_0xd860b3(0x1aa)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a35_0xd860b3(0x155)),utilities=require(a35_0xd860b3(0x15d)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a35_0xd860b3(0x17a)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0xd860b3(0x1b4)),{CrashReporter}=require(a35_0xd860b3(0x1a0)),{getFrameworkVersion}=require(a35_0xd860b3(0x1b5)),{checkAccessibilityPlatformConfig}=require(a35_0xd860b3(0x19b)),{setAccessibilityCapabilities}=require(a35_0xd860b3(0x193)),TestHubHandler=require(a35_0xd860b3(0x182)),{shouldProcessEventForTesthub}=require(a35_0xd860b3(0x1b3)),getUserPlaywrightConfig=async(_0x363e39,_0xc1023)=>{const _0x31650a=a35_0xd860b3,_0x38fe08={'aWAzT':function(_0x4ea9b6){return _0x4ea9b6();},'AWLJh':function(_0x21c3d5,_0x40ef9c){return _0x21c3d5(_0x40ef9c);},'pbpZJ':function(_0x3424ab,_0x55982a){return _0x3424ab(_0x55982a);},'kfVVQ':_0x31650a(0x159),'GgmfV':_0x31650a(0x1bb)},_0x13f944=!helper[_0x31650a(0x172)](_0x363e39['config']),_0x483cca=_0x13f944?path[_0x31650a(0x18e)](process['cwd'](),_0x363e39[_0x31650a(0x1a4)]):process[_0x31650a(0x1dc)](),{resolveConfigFile:_0x2098f2,resolveConfigLocation:_0x565390}=helper[_0x31650a(0x1ed)][_0x31650a(0x1e8)](null,_0x38fe08[_0x31650a(0x1f2)](getConfigLoaderPath)),_0xf2d95c=_0x2098f2?_0x38fe08[_0x31650a(0x198)](_0x2098f2,_0x483cca):helper[_0x31650a(0x162)](_0x38fe08['pbpZJ'](_0x565390,_0x483cca),[_0x38fe08[_0x31650a(0x18b)]]),_0x28daed={};if(_0x13f944){const _0x569f42=_0xc1023[_0x31650a(0x16a)](_0x214965=>_0x214965===_0x31650a(0x1b6)||_0x214965==='-c'||_0x214965[_0x31650a(0x195)](_0x31650a(0x1bb)));_0xc1023[_0x31650a(0x1a1)](_0x569f42,_0xc1023[_0x569f42]['startsWith'](_0x38fe08[_0x31650a(0x18f)])?0x1:0x2);}const _0x5a9d9a={};return _0x5a9d9a[_0x31650a(0x1ac)]=_0xf2d95c,_0x5a9d9a[_0x31650a(0x1a4)]=_0x28daed,_0x5a9d9a;},handleO11yRerun=_0x49b1aa=>{const _0x3ae5de=a35_0xd860b3,_0x45ff2d={};_0x45ff2d[_0x3ae5de(0x196)]=function(_0x41a0c6,_0x443b5c){return _0x41a0c6!==_0x443b5c;},_0x45ff2d[_0x3ae5de(0x1bf)]=_0x3ae5de(0x1b7),_0x45ff2d[_0x3ae5de(0x1c5)]=_0x3ae5de(0x165);const _0x4ed297=_0x45ff2d,_0x51c1a9=helper[_0x3ae5de(0x175)](process[_0x3ae5de(0x1bc)][_0x3ae5de(0x186)]);if(_0x51c1a9){const _0x51b07a=process[_0x3ae5de(0x1bc)][_0x3ae5de(0x1db)],_0x5d5c40=[];if(_0x4ed297[_0x3ae5de(0x196)](_0x51b07a,_0x4ed297['iWfSy'])&&!helper[_0x3ae5de(0x172)](_0x51b07a)){_0x51b07a['split'](',')[_0x3ae5de(0x15c)](_0x44baec=>{const _0x493aca=_0x3ae5de;_0x5d5c40[_0x493aca(0x1be)]('('+_0x44baec[_0x493aca(0x1a3)]()+')');});const _0x5c65af='^'+_0x5d5c40[_0x3ae5de(0x15a)]('|')+'$';_0x49b1aa[_0x3ae5de(0x1be)](_0x4ed297[_0x3ae5de(0x1c5)],_0x5c65af);}}},spawnOriginalProcess=_0x254c49=>{const _0x2ec6dc=a35_0xd860b3,_0x16de07={'vjvPX':function(_0x49cbc4,_0xdb22d1,_0x585966,_0x2270b9){return _0x49cbc4(_0xdb22d1,_0x585966,_0x2270b9);},'guILT':_0x2ec6dc(0x197),'BuYdM':_0x2ec6dc(0x1e1),'VXgWQ':function(_0x486519,_0x560076){return _0x486519===_0x560076;},'Cpwtm':_0x2ec6dc(0x1a6),'nkniA':_0x2ec6dc(0x181)};_0x16de07[_0x2ec6dc(0x1dd)](spawn,_0x16de07[_0x2ec6dc(0x1d5)],[_0x16de07[_0x2ec6dc(0x1f3)],..._0x254c49[_0x2ec6dc(0x19e)](0x1)],{'shell':_0x16de07[_0x2ec6dc(0x194)](process[_0x2ec6dc(0x1d0)],_0x16de07[_0x2ec6dc(0x1c8)]),'stdio':_0x16de07[_0x2ec6dc(0x191)],'cwd':process[_0x2ec6dc(0x1dc)]()});},isTestCommand=(_0x11f37d,_0x236344)=>{const _0x3a99f7=a35_0xd860b3,_0x65b467={};_0x65b467[_0x3a99f7(0x16f)]=function(_0x21715c,_0x120f28){return _0x21715c>_0x120f28;},_0x65b467[_0x3a99f7(0x189)]=function(_0x50d2e6,_0x16e180){return _0x50d2e6===_0x16e180;},_0x65b467[_0x3a99f7(0x187)]=_0x3a99f7(0x156);const _0x11958b=_0x65b467;if(_0x11958b[_0x3a99f7(0x16f)](_0x236344[_0x3a99f7(0x163)],0x1)&&_0x11958b[_0x3a99f7(0x189)](_0x236344[0x1],_0x11958b[_0x3a99f7(0x187)]))return!![];return![];};async function run(_0x27543a,_0x779bd5){const _0x44936f=a35_0xd860b3,_0x4be4a7={'SrUqD':_0x44936f(0x16c),'AfvJd':_0x44936f(0x192),'EUMrt':function(_0x12392a,_0x5520d6){return _0x12392a+_0x5520d6;},'QgGoY':_0x44936f(0x1ce),'oQJhN':'8|1|2|4|7|5|0|6|3','UMXWD':function(_0x85cc5a){return _0x85cc5a();},'awmmI':_0x44936f(0x183),'kWnmq':_0x44936f(0x1de),'yyqTv':_0x44936f(0x1a8),'qsowu':_0x44936f(0x1ba),'JwWVY':function(_0x18aafd,_0xf998bf){return _0x18aafd>=_0xf998bf;},'YRhQE':_0x44936f(0x1a9),'mOQnX':function(_0x4f6507,_0x47a7ee,_0x24daa9){return _0x4f6507(_0x47a7ee,_0x24daa9);},'DlHqn':function(_0xd7c44,_0x4cdae3){return _0xd7c44(_0x4cdae3);},'ZPVlu':_0x44936f(0x1b8),'tDzRA':_0x44936f(0x1d2),'rcOmj':function(_0xcd5d12,_0x22a052){return _0xcd5d12!=_0x22a052;},'IIQQz':function(_0x1e4777,_0x19e3db){return _0x1e4777===_0x19e3db;},'PpdsW':'true','Rwyks':function(_0xac8f65,_0x45489d){return _0xac8f65(_0x45489d);},'zrSur':function(_0x21dcb6,_0x465c86){return _0x21dcb6(_0x465c86);},'fiHuz':_0x44936f(0x164),'PZYbm':_0x44936f(0x171),'nojcj':_0x44936f(0x1f5),'lLgmG':function(_0x161a9d,_0x4bee9d){return _0x161a9d-_0x4bee9d;},'euCOV':_0x44936f(0x16e),'vEyHM':function(_0x2284c2,_0x1afc9b){return _0x2284c2>_0x1afc9b;},'FSvBf':function(_0x57dfea,_0x448941){return _0x57dfea+_0x448941;},'ktECE':function(_0x5041a0,_0x51675f,_0x3451bb,_0x5930d5){return _0x5041a0(_0x51675f,_0x3451bb,_0x5930d5);},'rlbPI':'npx','kTcMI':_0x44936f(0x1e1),'MTCef':'test','OtErN':_0x44936f(0x1b6),'KQqWq':function(_0x4a52ed,_0x1965f6){return _0x4a52ed===_0x1965f6;},'TxFCL':_0x44936f(0x1a6),'XHLzI':_0x44936f(0x181),'BTLyH':_0x44936f(0x1d1)};!helper[_0x44936f(0x166)](process[_0x44936f(0x1bc)][_0x44936f(0x185)])&&(process[_0x44936f(0x1bc)]['BROWSERSTACK_AUTOMATION']=!![]);process[_0x44936f(0x190)][_0x44936f(0x1a7)](_0x4be4a7[_0x44936f(0x1e0)])&&(process['env'][_0x44936f(0x185)]=_0x4be4a7[_0x44936f(0x1f4)],_0x779bd5=_0x779bd5[_0x44936f(0x16b)](_0x161601=>_0x161601!==_0x44936f(0x1de)));const _0x4df3e3=_0x779bd5[_0x44936f(0x1ab)](_0x4be4a7['qsowu']);_0x4be4a7[_0x44936f(0x1ea)](_0x4df3e3,0x0)&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=_0x4be4a7[_0x44936f(0x1f4)],_0x779bd5=_0x779bd5[_0x44936f(0x16b)](_0x52af0d=>_0x52af0d!=='--disable-test-observability'));try{const _0x1d0696=path['join'](helper[_0x44936f(0x1a5)](),_0x4be4a7[_0x44936f(0x1c0)],_0x4be4a7[_0x44936f(0x1c7)]);fs[_0x44936f(0x1d6)](_0x1d0696)&&fs[_0x44936f(0x174)](_0x1d0696);}catch(_0x5287f1){logger[_0x44936f(0x1d4)](_0x4be4a7[_0x44936f(0x15f)](_0x4be4a7['YRhQE'],_0x5287f1));}if(!_0x4be4a7[_0x44936f(0x19c)](isTestCommand,_0x27543a,_0x779bd5)){_0x4be4a7[_0x44936f(0x1d8)](spawnOriginalProcess,_0x779bd5);return;}const _0x44d2c1=new BrowserStackSetup(_0x27543a,FRAMEWORKS['PLAYWRIGHT']);if(!_0x44d2c1[_0x44936f(0x1a4)]){logger['error'](_0x4be4a7[_0x44936f(0x15b)]);return;}await _0x44d2c1[_0x44936f(0x18c)]();!helper[_0x44936f(0x172)](_0x44d2c1['cliConfig'])&&_0x44d2c1['cliConfig'][_0x44936f(0x1cd)](_0x4be4a7[_0x44936f(0x1b1)])&&(process[_0x44936f(0x1bc)]['BROWSERSTACK_AUTOMATION']=_0x44d2c1[_0x44936f(0x161)][_0x44936f(0x1c9)](_0x4be4a7[_0x44936f(0x1b1)])||!![]);_0x4be4a7[_0x44936f(0x1b2)](_0x44d2c1[_0x44936f(0x1a4)]['testObservability'],null)&&!helper[_0x44936f(0x175)](process[_0x44936f(0x1bc)][_0x44936f(0x170)])&&(process['env'][_0x44936f(0x170)]=process[_0x44936f(0x1bc)][_0x44936f(0x170)]||_0x44d2c1[_0x44936f(0x1a4)][_0x44936f(0x1cb)]);const _0xb9d316=!helper['isFalse'](process['env']['BROWSERSTACK_TEST_OBSERVABILITY']);let _0x2a65ea=![];_0x44d2c1['config']['accessibility']&&(_0x2a65ea=!![],process[_0x44936f(0x1bc)][_0x44936f(0x17c)]=_0x44d2c1['config'][_0x44936f(0x180)]);_0x44d2c1[_0x44936f(0x1a4)]['accessibilityOptions']&&(process[_0x44936f(0x1bc)][_0x44936f(0x1c1)]=JSON['stringify'](_0x44d2c1[_0x44936f(0x1a4)][_0x44936f(0x17f)]));const _0x40ddaf=_0x779bd5[_0x44936f(0x167)](),_0x28b791=await _0x4be4a7[_0x44936f(0x19c)](getUserPlaywrightConfig,_0x27543a,_0x779bd5);if(helper['isUndefined'](_0x28b791)){_0x4be4a7[_0x44936f(0x1d8)](spawnOriginalProcess,_0x40ddaf);return;}const _0x4f3f83=_0x28b791[_0x44936f(0x1ac)]?path[_0x44936f(0x1af)](_0x28b791[_0x44936f(0x1ac)]):process[_0x44936f(0x1dc)]();process['env'][_0x44936f(0x1c2)]=_0x4f3f83,await TestHubHandler[_0x44936f(0x1bd)](FRAMEWORKS['PLAYWRIGHT'],_0x44d2c1);_0xb9d316&&_0x4be4a7['DlHqn'](handleO11yRerun,_0x779bd5);let _0x514396=_0x4be4a7[_0x44936f(0x160)](process['env'][_0x44936f(0x17c)],_0x4be4a7['PpdsW']);_0x514396=_0x514396||_0x4be4a7['Rwyks'](checkAccessibilityPlatformConfig,_0x44d2c1[_0x44936f(0x1a4)]),process['env'][_0x44936f(0x17c)]=_0x514396;_0x514396&&_0x4be4a7[_0x44936f(0x1c4)](setAccessibilityCapabilities,_0x44d2c1[_0x44936f(0x1a4)]);const _0x18addc=path['join'](_0x28b791[_0x44936f(0x1ac)]?path[_0x44936f(0x1af)](_0x28b791['path']):process['cwd'](),_0x4be4a7[_0x44936f(0x1a2)]);fs['writeFileSync'](_0x18addc,helper[_0x44936f(0x184)](_0x44d2c1[_0x44936f(0x1a4)])),process[_0x44936f(0x1bc)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x18addc,helper[_0x44936f(0x1ca)]();let _0x2e182c='';_0x4be4a7[_0x44936f(0x160)](helper[_0x44936f(0x1f1)](),constants['PACKAGE_TYPE'][_0x44936f(0x158)])?_0x2e182c=_0x4be4a7[_0x44936f(0x1cc)]:_0x2e182c=_0x4be4a7[_0x44936f(0x17e)];let _0x226f65='';if(helper['isTypescriptProject'](_0x28b791[_0x44936f(0x1ac)])){_0x226f65=_0x44936f(0x1e6);const _0xf5ce1c=_0x2e182c[_0x44936f(0x1ec)]('.');_0xf5ce1c[_0x4be4a7[_0x44936f(0x19d)](_0xf5ce1c[_0x44936f(0x163)],0x1)]='ts',_0x2e182c=_0xf5ce1c[_0x44936f(0x15a)]('.'),logger[_0x44936f(0x1d4)](_0x4be4a7['EUMrt'](_0x4be4a7['euCOV'],_0x2e182c));}else _0x226f65=_0x44936f(0x19f);const _0x50abbc=path['join'](_0x28b791[_0x44936f(0x1ac)]?path[_0x44936f(0x1af)](_0x28b791[_0x44936f(0x1ac)]):process[_0x44936f(0x1dc)](),_0x2e182c);let _0x2accd8=_0x28b791['path']?_0x28b791['path']:'';_0x2accd8=_0x4be4a7[_0x44936f(0x16d)](_0x2accd8[_0x44936f(0x163)],0x0)?path[_0x44936f(0x18e)](_0x2accd8):'',process[_0x44936f(0x1bc)]['USER_CONFIG_DETAILS_PATH']=_0x2accd8;const _0x3816ae=helper['getProxyUrl'](_0x44d2c1['config']);_0x3816ae&&(_0x226f65=_0x4be4a7[_0x44936f(0x1e4)](_0x44936f(0x17b)+_0x3816ae+_0x44936f(0x1df),_0x226f65));helper[_0x44936f(0x1da)]({},_0x779bd5),fs[_0x44936f(0x178)](_0x50abbc,_0x226f65),helper[_0x44936f(0x1ef)]();const _0x3b6fd5=_0x4be4a7[_0x44936f(0x1d9)](spawn,_0x4be4a7[_0x44936f(0x1cf)],[_0x4be4a7[_0x44936f(0x1b0)],_0x4be4a7['MTCef'],_0x4be4a7['OtErN'],_0x50abbc,..._0x779bd5[_0x44936f(0x19e)](0x2)],{'shell':_0x4be4a7[_0x44936f(0x177)](process[_0x44936f(0x1d0)],_0x4be4a7[_0x44936f(0x1b9)]),'stdio':_0x4be4a7['XHLzI'],'cwd':process['cwd'](),'env':Object['assign']({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x44936f(0x18a)](_0x27543a),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x44d2c1['config'][_0x44936f(0x1e3)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x44d2c1[_0x44936f(0x1a4)]['testContextOptions'][_0x44936f(0x1f0)],'BROWSERSTACK_LOG_LEVEL':_0x44d2c1[_0x44936f(0x1a4)][_0x44936f(0x1ae)]})}),_0x29f30d=()=>{const _0x2e6e28=_0x44936f;try{const _0x38a5d0=path[_0x2e6e28(0x15a)](helper['homedir'](),_0x4be4a7[_0x2e6e28(0x1c0)],_0x4be4a7[_0x2e6e28(0x1c7)]);if(fs[_0x2e6e28(0x1d6)](_0x38a5d0)){let _0x42b900=fs[_0x2e6e28(0x1ee)](_0x38a5d0);_0x42b900=JSON['parse'](_0x42b900),_0x44d2c1[_0x2e6e28(0x1d7)]=_0x42b900,fs[_0x2e6e28(0x174)](_0x38a5d0);}}catch(_0x1fa6d2){logger[_0x2e6e28(0x1d4)](_0x4be4a7[_0x2e6e28(0x15f)](_0x4be4a7[_0x2e6e28(0x1c3)],_0x1fa6d2));}};_0x3b6fd5['on'](_0x4be4a7[_0x44936f(0x17d)],async _0x28559e=>{const _0x54f84e=_0x44936f;try{const _0x48ac21=_0x4be4a7[_0x54f84e(0x1ad)][_0x54f84e(0x1ec)]('|');let _0xf5529b=0x0;while(!![]){switch(_0x48ac21[_0xf5529b++]){case'0':fs[_0x54f84e(0x174)](_0x50abbc);continue;case'1':await TestHubHandler[_0x54f84e(0x1e7)]();continue;case'2':await utilities['finalExecution'](_0x44d2c1);continue;case'3':fs[_0x54f84e(0x174)](_0x18addc);continue;case'4':process[_0x54f84e(0x168)]=_0x28559e;continue;case'5':logger[_0x54f84e(0x1e2)]('Deleting\x20'+_0x50abbc);continue;case'6':logger[_0x54f84e(0x1d4)](_0x54f84e(0x176)+_0x18addc);continue;case'7':logger['debug'](_0x54f84e(0x157)+_0x28559e);continue;case'8':_0x4be4a7[_0x54f84e(0x179)](_0x29f30d);continue;}break;}}catch(_0x10d5e3){logger[_0x54f84e(0x1d4)](_0x4be4a7[_0x54f84e(0x15f)](_0x4be4a7[_0x54f84e(0x1d3)],_0x10d5e3));}});}module['exports']=run;function a35_0x3bc7(){const _0x1e8909=['GgmfV','argv','nkniA','pw_result.json','./accessibility-helper','VXgWQ','startsWith','LYqjf','npx','AWLJh','27PRULqW','2498370jVnYsU','../../helpers/accessibility-automation/helper','mOQnX','lLgmG','slice','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','../../helpers/test-observability/error-handler','splice','fiHuz','trim','config','homedir','win32','includes','false','Error\x20in\x20deleting\x20playwright\x20results','util','indexOf','path','oQJhN','logLevel','dirname','kTcMI','tDzRA','rcOmj','../../helpers/testhub/utils','./reporter/pwUtils','../../helpers/test-observability/utils','--config','null','BrowserStack\x20config\x20file\x20not\x20found.','TxFCL','--disable-test-observability','--config=','env','launchBuild','push','iWfSy','SrUqD','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BROWSERSTACK_PW_CONFIG_DIR','QgGoY','zrSur','cLYMI','1970745DpOGgA','AfvJd','Cpwtm','get','clearTempPWConfig','testObservability','PZYbm','has','Error\x20in\x20getting\x20funnel\x20data\x20results','rlbPI','platform','close','automation','awmmI','debug','guILT','existsSync','errorMessage','DlHqn','ktECE','filterBrowserstackArgs','BROWSERSTACK_RERUN_TESTS','cwd','vjvPX','--disable-browserstack-automation','\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();','kWnmq','playwright','info','testContextOptions','FSvBf','197728TaVATv','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','stop','apply','831576dhHdZT','JwWVY','3jWetTl','split','requirePWModule','readFileSync','markSDKSetupComplete','skipSessionName','getPackageType','aWAzT','BuYdM','yyqTv','playwright-browserstack-sdk.config.js','../../helpers/helper','test','Playwright\x20process\x20exited\x20with\x20code\x20','MODULE','resolvedConfigFile','join','ZPVlu','map','../../helpers/utilities','201808XvEuhQ','EUMrt','IIQQz','cliConfig','nestedKeyValue','length','browserstackSetupConfig.json','--grep','isFalse','concat','exitCode','5722682VfWcjV','findIndex','filter','.browserstack','vEyHM','Updated\x20config\x20file\x20name\x20to\x20-\x20','PAzhz','BROWSERSTACK_TEST_OBSERVABILITY','playwright-browserstack-sdk.config.cjs','isUndefined','54aFsnGb','unlinkSync','isTrue','Deleting\x20','KQqWq','writeFileSync','UMXWD','../../helpers/test-observability/constants','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','BROWSERSTACK_TEST_ACCESSIBILITY_YML','BTLyH','nojcj','accessibilityOptions','accessibility','inherit','../../helpers/testhub/testhubHandler','Error\x20in\x20closing\x20playwright','serializeToYamlString','BROWSERSTACK_AUTOMATION','BROWSERSTACK_RERUN','zSman','child_process','QoVgy','getConfigPath','kfVVQ','initialize','5654838UzVSCj','resolve'];a35_0x3bc7=function(){return _0x1e8909;};return a35_0x3bc7();}
@@ -1 +1 @@
1
- const a36_0x27bd8f=a36_0x1499;function a36_0x1fbe(){const _0x41fdda=['46556azgAGB','child_process','../../helpers/helper','./patches','Running\x20existing\x20global\x20setup','4012400PcoNLZ','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','env','277365qUltLK','format','xpupz','apply','toString','UXUcV','Call\x20to\x20child\x20fork\x20with\x20args\x20','Path\x20','./mock-process.js','requirePWModule','resolve','2048550LeHZgv','42456ziPVhd','../../helpers/test-observability/constants','41OWUcxJ','./reporter/pwUtils','110AEAxZr','pJbEw','rarmu','fork','config','error','includes','219ToUxZC','Not\x20able\x20to\x20import\x20globalSetup','util','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','SIVUr','NvqPv','566658sgOwVX','../../helpers/logger','rZdqF','\x20is\x20not\x20found','debug','ezuRu','pzaly','exports','104wnhIpW','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','2773074hiJLhj'];a36_0x1fbe=function(){return _0x41fdda;};return a36_0x1fbe();}(function(_0x4eb8d3,_0x3081a6){const _0x367b0b=a36_0x1499,_0x15424e=_0x4eb8d3();while(!![]){try{const _0x1d9352=parseInt(_0x367b0b(0xda))/0x1*(parseInt(_0x367b0b(0xf4))/0x2)+parseInt(_0x367b0b(0xe3))/0x3*(parseInt(_0x367b0b(0xd8))/0x4)+parseInt(_0x367b0b(0xd7))/0x5+-parseInt(_0x367b0b(0xf3))/0x6+-parseInt(_0x367b0b(0xf9))/0x7+parseInt(_0x367b0b(0xf1))/0x8*(-parseInt(_0x367b0b(0xe9))/0x9)+parseInt(_0x367b0b(0xdc))/0xa*(parseInt(_0x367b0b(0xcc))/0xb);if(_0x1d9352===_0x3081a6)break;else _0x15424e['push'](_0x15424e['shift']());}catch(_0x38bac5){_0x15424e['push'](_0x15424e['shift']());}}}(a36_0x1fbe,0x894ea));const util=require(a36_0x27bd8f(0xe5)),child_process=require(a36_0x27bd8f(0xf5)),{FRAMEWORKS}=require(a36_0x27bd8f(0xd9)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a36_0x27bd8f(0xf6)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x27bd8f(0xdb)),{mockIsWorkerRedundant}=require(a36_0x27bd8f(0xf7)),logger=require(a36_0x27bd8f(0xea))['winstonLogger'];function a36_0x1499(_0x48a7b0,_0x5a0a93){const _0x1fbe37=a36_0x1fbe();return a36_0x1499=function(_0x149942,_0x1393c1){_0x149942=_0x149942-0xcb;let _0x25fd4e=_0x1fbe37[_0x149942];return _0x25fd4e;},a36_0x1499(_0x48a7b0,_0x5a0a93);}module[a36_0x27bd8f(0xf0)]=async function(_0xd0f57c){const _0x32c959=a36_0x27bd8f,_0x1e6f9b={'pzaly':function(_0x364809,_0x1d83a0){return _0x364809(_0x1d83a0);},'rarmu':function(_0x5708d7){return _0x5708d7();},'pJbEw':_0x32c959(0xd4),'cnzGW':function(_0xd20800){return _0xd20800();},'xpupz':function(_0x36990f){return _0x36990f();},'fgItF':_0x32c959(0xf8),'ezuRu':function(_0x1ec17b){return _0x1ec17b();},'nREgu':function(_0x54eb4e,_0x11a7f7){return _0x54eb4e(_0x11a7f7);},'SIVUr':function(_0xbb5b97,_0x221961){return _0xbb5b97>=_0x221961;},'NvqPv':'1.33.0','cIoMa':function(_0x55ea17,_0xcc38bd,_0x1778b9){return _0x55ea17(_0xcc38bd,_0x1778b9);},'rZdqF':function(_0x4e8710,_0x186a42){return _0x4e8710!==_0x186a42;},'AfMpB':'function','UXUcV':_0x32c959(0xe4)},_0x4392e0=child_process[_0x32c959(0xdf)];if(helper['isHandlePWErrorSet']())try{_0x1e6f9b[_0x32c959(0xce)](mockIsWorkerRedundant);}catch(_0x41b996){logger[_0x32c959(0xed)](_0x32c959(0xfa)+util[_0x32c959(0xcd)](_0x41b996));}child_process[_0x32c959(0xdf)]=function(){const _0x2f81e3=_0x32c959;return _0x1e6f9b[_0x2f81e3(0xef)](debug,_0x2f81e3(0xd2)+arguments[0x0]),arguments[0x0][_0x2f81e3(0xe2)](_0x1e6f9b[_0x2f81e3(0xde)](getForkProcessPath))?arguments[0x0]=require[_0x2f81e3(0xd6)](_0x1e6f9b[_0x2f81e3(0xdd)]):logger[_0x2f81e3(0xe1)](_0x2f81e3(0xd3)+_0x1e6f9b['cnzGW'](getForkProcessPath)+_0x2f81e3(0xec)),_0x4392e0[_0x2f81e3(0xcf)](null,arguments);};if(process['env'][_0x32c959(0xf2)]){_0x1e6f9b[_0x32c959(0xef)](debug,_0x1e6f9b['fgItF']);try{const {loadGlobalHook:_0x5b8a10}=helper[_0x32c959(0xd5)][_0x32c959(0xcf)](null,_0x1e6f9b[_0x32c959(0xee)](getLoadUtilsPath)),_0x3a0230=_0x1e6f9b['nREgu'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);let _0x90841b=_0xd0f57c;if(_0x1e6f9b[_0x32c959(0xe7)](helper['compareVersions'](_0x3a0230,_0x1e6f9b[_0x32c959(0xe8)]),0x0)){const _0x41a877={};_0x41a877[_0x32c959(0xe0)]=_0xd0f57c,_0x90841b=_0x41a877;}const _0x63fc98=await _0x1e6f9b['cIoMa'](_0x5b8a10,_0x90841b,process[_0x32c959(0xcb)][_0x32c959(0xf2)]);if(_0x1e6f9b[_0x32c959(0xeb)](typeof _0x63fc98,_0x1e6f9b['AfMpB']))throw new Error(_0x1e6f9b[_0x32c959(0xd1)]);return _0x63fc98['apply'](null,arguments);}catch(_0x74e870){_0x1e6f9b[_0x32c959(0xef)](debug,_0x32c959(0xe6)+_0x74e870[_0x32c959(0xd0)]());}}};
1
+ const a36_0x49d56b=a36_0x3e62;function a36_0x3e62(_0x461366,_0xad0d14){const _0x412dbe=a36_0x412d();return a36_0x3e62=function(_0x3e62b2,_0x28c1f8){_0x3e62b2=_0x3e62b2-0x1db;let _0x11efd0=_0x412dbe[_0x3e62b2];return _0x11efd0;},a36_0x3e62(_0x461366,_0xad0d14);}(function(_0x254f65,_0x3cd665){const _0x4ee672=a36_0x3e62,_0x16fcd4=_0x254f65();while(!![]){try{const _0x27e4c7=parseInt(_0x4ee672(0x205))/0x1*(-parseInt(_0x4ee672(0x1f9))/0x2)+-parseInt(_0x4ee672(0x1dc))/0x3*(-parseInt(_0x4ee672(0x1de))/0x4)+parseInt(_0x4ee672(0x1e5))/0x5+-parseInt(_0x4ee672(0x1e6))/0x6+parseInt(_0x4ee672(0x1fb))/0x7+-parseInt(_0x4ee672(0x1ec))/0x8*(parseInt(_0x4ee672(0x1fc))/0x9)+parseInt(_0x4ee672(0x1e7))/0xa*(-parseInt(_0x4ee672(0x202))/0xb);if(_0x27e4c7===_0x3cd665)break;else _0x16fcd4['push'](_0x16fcd4['shift']());}catch(_0x2eafb8){_0x16fcd4['push'](_0x16fcd4['shift']());}}}(a36_0x412d,0x73637));function a36_0x412d(){const _0x10c3ea=['bCIds','Path\x20','dgMfT','Xuohm','debug','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','834tQOEMd','PLAYWRIGHT','9368sdcXuB','function','Vpcke','child_process','etLYs','config','gkkgQ','4311795Kbcnfb','4027458VSBEra','10dfCOxE','exports','isHandlePWErrorSet','Wqgpq','Call\x20to\x20child\x20fork\x20with\x20args\x20','1470856kpvLjK','apply','UKXht','\x20is\x20not\x20found','compareVersions','util','Xqnmg','env','./mock-process.js','./patches','PGcpv','includes','./reporter/pwUtils','617242dhWtBX','requirePWModule','5628042lzrVPR','36WwbfKw','winstonLogger','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','fork','Running\x20existing\x20global\x20setup','../../helpers/logger','1424698cpailv','hKFAj','../../helpers/test-observability/constants','1FLSzbQ'];a36_0x412d=function(){return _0x10c3ea;};return a36_0x412d();}const util=require(a36_0x49d56b(0x1f1)),child_process=require(a36_0x49d56b(0x1e1)),{FRAMEWORKS}=require(a36_0x49d56b(0x204)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x49d56b(0x1f8)),{mockIsWorkerRedundant}=require(a36_0x49d56b(0x1f5)),logger=require(a36_0x49d56b(0x201))[a36_0x49d56b(0x1fd)];module[a36_0x49d56b(0x1e8)]=async function(_0x29860e){const _0xf22e31=a36_0x49d56b,_0x5abcf4={'dgMfT':function(_0x443638,_0x2f3120){return _0x443638(_0x2f3120);},'bCIds':function(_0x219d69){return _0x219d69();},'tVnpJ':_0xf22e31(0x1f4),'gkkgQ':function(_0x2f8e18){return _0x2f8e18();},'Wqgpq':_0xf22e31(0x200),'PGcpv':function(_0x1294c3,_0x586a8f){return _0x1294c3>=_0x586a8f;},'Vpcke':'1.33.0','etLYs':function(_0x34adf7,_0x28b821,_0x1799da){return _0x34adf7(_0x28b821,_0x1799da);},'Xqnmg':function(_0x14f679,_0x3ff60c){return _0x14f679!==_0x3ff60c;},'hKFAj':_0xf22e31(0x1df),'Xuohm':'Not\x20able\x20to\x20import\x20globalSetup','UKXht':function(_0x56f7e5,_0x197052){return _0x56f7e5(_0x197052);}},_0xeb352f=child_process[_0xf22e31(0x1ff)];if(helper[_0xf22e31(0x1e9)]())try{_0x5abcf4[_0xf22e31(0x206)](mockIsWorkerRedundant);}catch(_0x5ebdb9){logger[_0xf22e31(0x20a)](_0xf22e31(0x1db)+util['format'](_0x5ebdb9));}child_process[_0xf22e31(0x1ff)]=function(){const _0x114107=_0xf22e31;return _0x5abcf4[_0x114107(0x208)](debug,_0x114107(0x1eb)+arguments[0x0]),arguments[0x0][_0x114107(0x1f7)](_0x5abcf4[_0x114107(0x206)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x5abcf4['tVnpJ']):logger['error'](_0x114107(0x207)+_0x5abcf4[_0x114107(0x1e4)](getForkProcessPath)+_0x114107(0x1ef)),_0xeb352f[_0x114107(0x1ed)](null,arguments);};if(process['env'][_0xf22e31(0x1fe)]){_0x5abcf4[_0xf22e31(0x208)](debug,_0x5abcf4[_0xf22e31(0x1ea)]);try{const {loadGlobalHook:_0xd54963}=helper[_0xf22e31(0x1fa)][_0xf22e31(0x1ed)](null,_0x5abcf4['gkkgQ'](getLoadUtilsPath)),_0x5509e3=_0x5abcf4[_0xf22e31(0x208)](getFrameworkVersion,FRAMEWORKS[_0xf22e31(0x1dd)]);let _0x3318b7=_0x29860e;if(_0x5abcf4[_0xf22e31(0x1f6)](helper[_0xf22e31(0x1f0)](_0x5509e3,_0x5abcf4[_0xf22e31(0x1e0)]),0x0)){const _0xf28d40={};_0xf28d40[_0xf22e31(0x1e3)]=_0x29860e,_0x3318b7=_0xf28d40;}const _0x41389d=await _0x5abcf4[_0xf22e31(0x1e2)](_0xd54963,_0x3318b7,process[_0xf22e31(0x1f3)][_0xf22e31(0x1fe)]);if(_0x5abcf4[_0xf22e31(0x1f2)](typeof _0x41389d,_0x5abcf4[_0xf22e31(0x203)]))throw new Error(_0x5abcf4[_0xf22e31(0x209)]);return _0x41389d[_0xf22e31(0x1ed)](null,arguments);}catch(_0x4b927e){_0x5abcf4[_0xf22e31(0x1ee)](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x4b927e['toString']());}}};