browserstack-node-sdk 1.33.5 → 1.33.7

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 (120) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  37. package/src/bin/codeceptjs/command.js +1 -1
  38. package/src/bin/codeceptjs/helper.js +1 -1
  39. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  40. package/src/bin/cucumber-js/command.js +1 -1
  41. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  43. package/src/bin/cucumber-js/test.setup.js +1 -1
  44. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  45. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  46. package/src/bin/integrations/command.js +1 -1
  47. package/src/bin/integrations/constants.js +1 -1
  48. package/src/bin/jest/command.js +1 -1
  49. package/src/bin/jest/customImplements/customCircus.js +1 -1
  50. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  51. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  52. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  53. package/src/bin/jest/jest.setup.js +1 -1
  54. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  55. package/src/bin/jest/test-observability/helper.js +1 -1
  56. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  57. package/src/bin/jest/test-observability/test-details.js +1 -1
  58. package/src/bin/jest/test_before.setup.js +1 -1
  59. package/src/bin/launcher/launcher.js +1 -1
  60. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  61. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  62. package/src/bin/mocha/command.js +1 -1
  63. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  64. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  65. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  66. package/src/bin/mocha/test.setup.js +1 -1
  67. package/src/bin/nightwatch/command.js +1 -1
  68. package/src/bin/playwright/accessibility-helper.js +1 -1
  69. package/src/bin/playwright/command.js +1 -1
  70. package/src/bin/playwright/globalSetup.js +1 -1
  71. package/src/bin/playwright/mock-process.js +1 -1
  72. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  73. package/src/bin/playwright/patches.js +1 -1
  74. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  75. package/src/bin/playwright/reporter/reporter.js +1 -1
  76. package/src/bin/playwright/reporter/test-details.js +1 -1
  77. package/src/bin/playwright/sessionDetails.js +1 -1
  78. package/src/bin/runner.js +1 -1
  79. package/src/bin/setup.js +1 -1
  80. package/src/bin/test-runner/index.js +1 -1
  81. package/src/bin/test-runner/runTest.js +1 -1
  82. package/src/bin/test-runner/testWorker.js +1 -1
  83. package/src/bin/utils/constants.js +1 -1
  84. package/src/bin/utils/log4jsAppender.js +1 -1
  85. package/src/bin/utils/logPatcher.js +1 -1
  86. package/src/bin/utils/logReportingAPI.js +1 -1
  87. package/src/bin/vanilla-js/command.js +1 -1
  88. package/src/browserStackSdk.js +1 -1
  89. package/src/helpers/BrowserStackSetup.js +1 -1
  90. package/src/helpers/accessibility-automation/constants.js +1 -1
  91. package/src/helpers/accessibility-automation/helper.js +1 -1
  92. package/src/helpers/accessibility-automation/scripts.js +1 -1
  93. package/src/helpers/ats/constants.js +1 -1
  94. package/src/helpers/ats/helper.js +1 -1
  95. package/src/helpers/capsMapping.js +1 -1
  96. package/src/helpers/globals.js +1 -1
  97. package/src/helpers/helper.js +1 -1
  98. package/src/helpers/logger.js +1 -1
  99. package/src/helpers/patchHelpers.js +1 -1
  100. package/src/helpers/percy/Percy.js +1 -1
  101. package/src/helpers/percy/PercyBinary.js +1 -1
  102. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  103. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  104. package/src/helpers/percy/PercySDK.js +1 -1
  105. package/src/helpers/percy/index.js +1 -1
  106. package/src/helpers/percy/utils.js +1 -1
  107. package/src/helpers/performance-tester.js +1 -1
  108. package/src/helpers/request-spy.js +1 -1
  109. package/src/helpers/setKeepAlive.js +1 -1
  110. package/src/helpers/test-observability/constants.js +1 -1
  111. package/src/helpers/test-observability/error-handler.js +1 -1
  112. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  113. package/src/helpers/test-observability/sessionHandler.js +1 -1
  114. package/src/helpers/test-observability/utils.js +1 -1
  115. package/src/helpers/testhub/constants.js +1 -1
  116. package/src/helpers/testhub/testhubHandler.js +1 -1
  117. package/src/helpers/testhub/utils.js +1 -1
  118. package/src/helpers/w3cMapping.js +1 -1
  119. package/src/hubAllocationMethods.js +1 -1
  120. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a27_0x1f69c5=a27_0xcff4;(function(_0x4edb52,_0x35d6a2){const _0x574a82=a27_0xcff4,_0x295da6=_0x4edb52();while(!![]){try{const _0xd70356=-parseInt(_0x574a82(0x1f2))/0x1*(parseInt(_0x574a82(0x1ca))/0x2)+-parseInt(_0x574a82(0x1de))/0x3*(-parseInt(_0x574a82(0x1cd))/0x4)+parseInt(_0x574a82(0x1dc))/0x5*(-parseInt(_0x574a82(0x21a))/0x6)+-parseInt(_0x574a82(0x1cf))/0x7+-parseInt(_0x574a82(0x1bb))/0x8*(-parseInt(_0x574a82(0x1d3))/0x9)+parseInt(_0x574a82(0x20b))/0xa*(parseInt(_0x574a82(0x1b7))/0xb)+parseInt(_0x574a82(0x1f1))/0xc;if(_0xd70356===_0x35d6a2)break;else _0x295da6['push'](_0x295da6['shift']());}catch(_0x2f657f){_0x295da6['push'](_0x295da6['shift']());}}}(a27_0x5b2a,0x194d8));const logger=require(a27_0x1f69c5(0x1fd))[a27_0x1f69c5(0x1b6)],helper=require(a27_0x1f69c5(0x21f)),constants=require('../../../bin/utils/constants'),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x1f69c5(0x1e0)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require('../../../helpers/globals'),modify=(_0x534b30,_0x3804b5=null,_0x1b2f0e=![])=>{const _0x3d663f=a27_0x1f69c5,_0x4de8af={'rZVqw':function(_0x457fb9,_0x415b99){return _0x457fb9!==_0x415b99;},'MMyqH':_0x3d663f(0x207),'yEAhM':function(_0x1f9865,_0x4e4593){return _0x1f9865+_0x4e4593;},'skYaM':function(_0x5e6309,_0x150716){return _0x5e6309+_0x150716;},'Whhpw':'https://','soeXC':_0x3d663f(0x1f7),'PafUT':_0x3d663f(0x1c5),'XQngO':_0x3d663f(0x219),'DqaOH':_0x3d663f(0x1ba),'SXvEM':'edgeOptions','RBUPX':_0x3d663f(0x209),'KImlW':'firefoxOptions','SKcXb':_0x3d663f(0x21e),'UMfcP':_0x3d663f(0x1e8),'tcOgE':_0x3d663f(0x1e9),'gbRRP':function(_0x5a479f,_0x32bd89){return _0x5a479f===_0x32bd89;},'LPKWK':_0x3d663f(0x1db),'ZHtzC':_0x3d663f(0x220),'RkujH':function(_0x54aab1,_0x1602f1,_0x442e16){return _0x54aab1(_0x1602f1,_0x442e16);},'fCYjh':function(_0x2553d5,_0x48afea,_0x556955){return _0x2553d5(_0x48afea,_0x556955);},'UAfjb':function(_0x54a6ce,_0x54e850){return _0x54a6ce(_0x54e850);},'JVnAa':function(_0x84b2df,_0x5b2d64,_0x9ca4ea){return _0x84b2df(_0x5b2d64,_0x9ca4ea);},'YStTb':_0x3d663f(0x1fb),'OQmjh':_0x3d663f(0x1cb),'HQffz':_0x3d663f(0x20d),'xiGSH':function(_0x523f63){return _0x523f63();},'dyuZZ':_0x3d663f(0x1ea),'CiOzg':_0x3d663f(0x1d7),'nhJpZ':function(_0x548bdb,_0x206796){return _0x548bdb(_0x206796);},'MNhCe':function(_0x5e5578,_0x7ea822){return _0x5e5578(_0x7ea822);},'hJDFi':_0x3d663f(0x215),'PRKNE':_0x3d663f(0x202)},_0x57336a=helper['requireHttpClient']();let _0x3cd5a7;try{_0x3cd5a7=helper[_0x3d663f(0x1d5)](),_0x3cd5a7[_0x3d663f(0x1d1)]&&(_0x3cd5a7[_0x3d663f(0x1fc)]=_0x3cd5a7[_0x3d663f(0x1d1)]);}catch(_0x4f8e65){return;}if(helper[_0x3d663f(0x1c0)]()){const _0x2bce42={};_0x2bce42[_0x3d663f(0x1e7)]=_0x534b30[_0x3d663f(0x1f8)],helper[_0x3d663f(0x203)](_0x2bce42,new Map(),new Map()),logger[_0x3d663f(0x1f0)](_0x4de8af[_0x3d663f(0x20e)]),logger[_0x3d663f(0x1d6)](_0x4de8af[_0x3d663f(0x1ef)]);}class _0x558dd4 extends _0x57336a[_0x3d663f(0x1c6)]{['send'](_0x17f511){const _0x3e2480=_0x3d663f;if(_0x4de8af[_0x3e2480(0x208)](_0x17f511[_0x3e2480(0x1bc)],_0x4de8af[_0x3e2480(0x1c1)])&&_0x4de8af[_0x3e2480(0x208)](global[_0x3e2480(0x1eb)],''))try{global[_0x3e2480(0x1eb)]=_0x4de8af['yEAhM'](_0x4de8af[_0x3e2480(0x226)](_0x4de8af['Whhpw'],global['newHubUrl']),_0x4de8af[_0x3e2480(0x1c3)]),this[_0x3e2480(0x1dd)]=hubAllocator[_0x3e2480(0x1d4)](global[_0x3e2480(0x1eb)]),logger['debug']('New\x20hub\x20url\x20set\x20to\x20'+global[_0x3e2480(0x1eb)]),global[_0x3e2480(0x1eb)]='';}catch(_0x48d77b){logger[_0x3e2480(0x205)](_0x48d77b);}return super[_0x3e2480(0x213)](_0x17f511);}}class _0x3f1e9f extends _0x3cd5a7[_0x3d663f(0x1fc)]{[_0x3d663f(0x21b)](){const _0x3b97ff=_0x3d663f;return this['url_']=helper[_0x3b97ff(0x1b5)](_0x534b30),logger[_0x3b97ff(0x1d6)](_0x3b97ff(0x210)+this['url_']),this;}['__setBrowserOptions'](_0x39914a){const _0x49ac06=_0x3d663f;let _0x32b62e={};for(const _0x50c404 in _0x39914a){switch(_0x50c404){case _0x4de8af[_0x49ac06(0x1bd)]:case _0x4de8af['XQngO']:this[_0x49ac06(0x1d0)]&&(_0x32b62e=this[_0x49ac06(0x1d0)][_0x49ac06(0x1ce)](this[_0x49ac06(0x1d0)][_0x49ac06(0x206)])||{},this[_0x49ac06(0x1d0)][_0x49ac06(0x1c8)](this[_0x49ac06(0x1d0)][_0x49ac06(0x206)],helper[_0x49ac06(0x1e2)](_0x32b62e,_0x39914a[_0x50c404])));break;case _0x4de8af[_0x49ac06(0x1ff)]:case _0x4de8af['SXvEM']:this[_0x49ac06(0x1e4)]&&(_0x32b62e=this[_0x49ac06(0x1e4)][_0x49ac06(0x1ce)](this[_0x49ac06(0x1e4)]['CAPABILITY_KEY'])||{},this[_0x49ac06(0x1e4)][_0x49ac06(0x1c8)](this[_0x49ac06(0x1e4)][_0x49ac06(0x206)],helper['mergeDeep'](_0x32b62e,_0x39914a[_0x50c404])));break;case _0x4de8af[_0x49ac06(0x1c2)]:case _0x4de8af[_0x49ac06(0x1f9)]:this[_0x49ac06(0x212)]&&(_0x32b62e=this['firefoxOptions_'][_0x49ac06(0x1ce)](this[_0x49ac06(0x212)][_0x49ac06(0x206)])||{},this[_0x49ac06(0x212)][_0x49ac06(0x1c8)](this[_0x49ac06(0x212)][_0x49ac06(0x206)],helper[_0x49ac06(0x1e2)](_0x32b62e,_0x39914a[_0x50c404])));break;case _0x4de8af[_0x49ac06(0x1f4)]:this['safariOptions_']&&(_0x32b62e=this[_0x49ac06(0x1c9)][_0x49ac06(0x1ce)](this[_0x49ac06(0x1c9)][_0x49ac06(0x206)])||{},this[_0x49ac06(0x1c9)][_0x49ac06(0x1c8)](this[_0x49ac06(0x1c9)][_0x49ac06(0x206)],helper['mergeDeep'](_0x32b62e,_0x39914a[_0x50c404])));break;case _0x4de8af[_0x49ac06(0x20a)]:case _0x4de8af[_0x49ac06(0x1d9)]:this['ieOptions_']&&(_0x32b62e=this['ieOptions_'][_0x49ac06(0x1ce)](this['ieOptions_'][_0x49ac06(0x206)])||{},this[_0x49ac06(0x218)]['set'](this[_0x49ac06(0x218)][_0x49ac06(0x206)],helper[_0x49ac06(0x1e2)](_0x32b62e,_0x39914a[_0x50c404])));break;}}}[_0x3d663f(0x1d8)](){const _0x15de8c=_0x3d663f;return logger[_0x15de8c(0x1d6)](_0x4de8af['ZHtzC']),this[_0x15de8c(0x1b9)](_0x534b30[_0x15de8c(0x1b2)]),Object[_0x15de8c(0x225)](_0x534b30[_0x15de8c(0x1b2)])[_0x15de8c(0x1da)](_0x571131=>{const _0xbda710=_0x15de8c,_0x380dd3=this['capabilities_'][_0xbda710(0x1ce)](_0x571131);_0x4de8af['gbRRP'](typeof _0x380dd3,_0x4de8af[_0xbda710(0x21c)])?this['capabilities_'][_0xbda710(0x1c8)](_0x571131,helper[_0xbda710(0x1e2)](_0x380dd3,_0x534b30[_0xbda710(0x1b2)][_0x571131])):this[_0xbda710(0x1b8)][_0xbda710(0x1c8)](_0x571131,_0x534b30['capability'][_0x571131]);}),this;}['build'](){const _0xbb5bf3=_0x3d663f,_0x2b449d={'ghqIY':_0x4de8af[_0xbb5bf3(0x1d2)],'QyBeC':_0x4de8af[_0xbb5bf3(0x1f5)],'ICLZq':function(_0x281001,_0x29beef,_0x24224e){return _0x4de8af['fCYjh'](_0x281001,_0x29beef,_0x24224e);}};if(helper[_0xbb5bf3(0x1c0)]()){const _0x21c4d1=_0x4de8af[_0xbb5bf3(0x223)]['split']('|');let _0x2b0b97=0x0;while(!![]){switch(_0x21c4d1[_0x2b0b97++]){case'0':_0x4de8af[_0xbb5bf3(0x1ee)](isAccessibilityAutomationSession)&&_0x4de8af[_0xbb5bf3(0x1be)](setAccessibilityCapabilities,_0x534b30);continue;case'1':logger['debug'](_0x4de8af[_0xbb5bf3(0x222)]);continue;case'2':if(helper['isPacProxy'](_0x534b30[_0xbb5bf3(0x1ed)][_0xbb5bf3(0x1e6)]))this[_0xbb5bf3(0x21d)]=helper[_0xbb5bf3(0x228)](_0x534b30[_0xbb5bf3(0x1ed)]['proxyUrl']);else _0x534b30['proxySettings'][_0xbb5bf3(0x1e6)]&&(this[_0xbb5bf3(0x1e5)]=_0x534b30[_0xbb5bf3(0x1ed)][_0xbb5bf3(0x1e6)],logger['debug'](_0xbb5bf3(0x1ec)+this['proxy_']));continue;case'3':this[_0xbb5bf3(0x1d8)]();continue;case'4':this['setServer']();continue;case'5':globals[_0xbb5bf3(0x1c4)](_0x4de8af[_0xbb5bf3(0x1fa)])&&(!_0x4de8af[_0xbb5bf3(0x1fe)](setExtension,this,_0x534b30)&&globals[_0xbb5bf3(0x201)](_0x4de8af['CiOzg'],![]));continue;}break;}}const _0x405cdc=super['build']();return _0x405cdc[_0xbb5bf3(0x1bf)][_0xbb5bf3(0x211)](_0x3dad6d=>{const _0x169082=_0xbb5bf3;try{const _0x1b4e47=_0x3dad6d[_0x169082(0x1df)]['get'](_0x2b449d[_0x169082(0x1c7)]);_0x1b4e47?(logger['debug']('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x1b4e47),hubAllocator[_0x169082(0x1f3)](_0x1b4e47),helper[_0x169082(0x204)](_0x1b4e47)):logger[_0x169082(0x1d6)](_0x2b449d[_0x169082(0x200)]);}catch(_0x4ce326){logger[_0x169082(0x1d6)](_0x169082(0x227)+_0x4ce326);}}),_0x405cdc[_0xbb5bf3(0x1e3)]=0x0,_0x405cdc[_0xbb5bf3(0x211)]&&_0x405cdc[_0xbb5bf3(0x211)](_0x54a839=>{const _0x261ebb=_0xbb5bf3,_0x195003={'FvfYH':function(_0x2c94fe,_0x417d41,_0x565c8e){const _0x1567be=a27_0xcff4;return _0x4de8af[_0x1567be(0x1f6)](_0x2c94fe,_0x417d41,_0x565c8e);}};_0x4de8af[_0x261ebb(0x1b4)](overrideQuit,_0x54a839,_0x405cdc),_0x4de8af[_0x261ebb(0x1be)](overrideTakeScreenshot,_0x54a839),helper[_0x261ebb(0x229)](_0x54a839,_0x534b30),helper['overrideExecute'](_0x54a839,_0x534b30),_0x54a839['getAccessibilityResultsSummary']=async()=>{return await _0x195003['FvfYH'](getAccessibilityResultsSummary,_0x54a839,global);},_0x54a839[_0x261ebb(0x217)]=async()=>{const _0x4f1fbc=_0x261ebb;return await _0x2b449d[_0x4f1fbc(0x1e1)](getAccessibilityResults,_0x54a839,global);};}),_0x405cdc['getAccessibilityResultsSummary']=async()=>{const _0x2558ad=_0xbb5bf3;return await _0x2b449d[_0x2558ad(0x1e1)](getAccessibilityResultsSummary,_0x405cdc,global);},_0x405cdc['getAccessibilityResults']=async()=>{const _0x1f7898=_0xbb5bf3;return await _0x4de8af[_0x1f7898(0x1fe)](getAccessibilityResults,_0x405cdc,global);},_0x4de8af['nhJpZ'](overrideTakeScreenshot,_0x405cdc),_0x4de8af['MNhCe'](overrideQuit,_0x405cdc),helper[_0xbb5bf3(0x229)](_0x405cdc,_0x534b30),helper[_0xbb5bf3(0x224)](_0x405cdc,_0x534b30),helper[_0xbb5bf3(0x221)](global[_0xbb5bf3(0x1b3)])&&(global['__driversArray']=[]),helper[_0xbb5bf3(0x221)](global['__drivers'])&&(global[_0xbb5bf3(0x1cc)]=[]),global['__driversArray']['push'](_0x405cdc),global[_0xbb5bf3(0x20f)]=_0x405cdc,_0x4de8af[_0xbb5bf3(0x208)](global[_0xbb5bf3(0x1cc)],undefined)&&global['__drivers']['push'](_0x405cdc),_0x3804b5&&helper[_0xbb5bf3(0x221)](_0x3804b5[_0xbb5bf3(0x214)]['__driversArray'])&&(_0x3804b5[_0xbb5bf3(0x214)][_0xbb5bf3(0x1b3)]=[]),_0x3804b5&&_0x4de8af[_0xbb5bf3(0x208)](_0x3804b5[_0xbb5bf3(0x214)]['__drivers'],undefined)&&(_0x3804b5[_0xbb5bf3(0x214)]['__drivers'][_0xbb5bf3(0x20c)](_0x405cdc),_0x3804b5[_0xbb5bf3(0x214)][_0xbb5bf3(0x1b3)][_0xbb5bf3(0x20c)](_0x405cdc)),_0x405cdc;}}return _0x3cd5a7[_0x3d663f(0x1d1)]=_0x3cd5a7[_0x3d663f(0x1fc)],_0x3cd5a7['Builder']=_0x3f1e9f,_0x57336a['HttpClient']=_0x558dd4,_0x3cd5a7;};module[a27_0x1f69c5(0x216)]['browserstackAgentObservability']=modify;function a27_0xcff4(_0x471c4f,_0x4d6e87){const _0x5b2adf=a27_0x5b2a();return a27_0xcff4=function(_0xcff457,_0xcc6159){_0xcff457=_0xcff457-0x1b2;let _0x255c05=_0x5b2adf[_0xcff457];return _0x255c05;},a27_0xcff4(_0x471c4f,_0x4d6e87);}function a27_0x5b2a(){const _0x89d5be=['get','556423gJLGEI','chromeOptions_','originalBuilder','YStTb','9pYWwUH','getRequestOptions','requireSeleniumWebdriver','debug','isAccessibilityPlatform','setCapabilities','tcOgE','forEach','object','960385hhyKEp','options_','62247COJYFm','caps_','../../../helpers/patchHelpers','ICLZq','mergeDeep','quitCount_','edgeOptions_','proxy_','proxyUrl','logLevel','se:ieOptions','ieOptions','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','newHubUrl','Proxy\x20set\x20to\x20','proxySettings','xiGSH','PRKNE','info','2539776CVPCNy','467wuassp','updateHubUrl','SKcXb','OQmjh','RkujH','/wd/hub','browserStackLogLevel','KImlW','CiOzg','optimalHubUrl','Builder','../../../helpers/logger','JVnAa','DqaOH','QyBeC','setGlobal','Modifying\x20webdriver\x20builder','setLogLevel','storeOptimalHubUrl','error','CAPABILITY_KEY','/session','rZVqw','moz:firefoxOptions','UMfcP','4790wPoveC','push','0|4|3|2|5|1','hJDFi','__driver','Hub\x20url\x20set\x20to\x20','then','firefoxOptions_','send','global','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','exports','getAccessibilityResults','ieOptions_','chromeOptions','6GYxHsp','setServer','LPKWK','agent_','safari.options','../../../helpers/helper','Setting\x20Browserstack\x20capabilities','isUndefined','dyuZZ','HQffz','overrideExecute','keys','skYaM','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','getHttpAgent','overrideGet','capability','__driversArray','fCYjh','getHubUrl','winstonLogger','2497EjqdoE','capabilities_','__setBrowserOptions','ms:edgeOptions','110872cLpdrF','path','PafUT','UAfjb','session_','isBrowserstackInfra','MMyqH','RBUPX','soeXC','getGlobal','goog:chromeOptions','HttpClient','ghqIY','set','safariOptions_','180sbgjKi','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','__drivers','16WPQWMp'];a27_0x5b2a=function(){return _0x89d5be;};return a27_0x5b2a();}
1
+ const a27_0x31b9f2=a27_0x279d;(function(_0x1f394c,_0x532201){const _0x524c1e=a27_0x279d,_0xebbbb3=_0x1f394c();while(!![]){try{const _0x2c2c3a=parseInt(_0x524c1e(0xe6))/0x1*(parseInt(_0x524c1e(0xa3))/0x2)+-parseInt(_0x524c1e(0xff))/0x3+parseInt(_0x524c1e(0xb3))/0x4*(parseInt(_0x524c1e(0x9c))/0x5)+parseInt(_0x524c1e(0xe5))/0x6*(-parseInt(_0x524c1e(0xae))/0x7)+parseInt(_0x524c1e(0x10a))/0x8*(parseInt(_0x524c1e(0xdd))/0x9)+parseInt(_0x524c1e(0xf4))/0xa*(-parseInt(_0x524c1e(0xea))/0xb)+parseInt(_0x524c1e(0xf2))/0xc*(parseInt(_0x524c1e(0xd1))/0xd);if(_0x2c2c3a===_0x532201)break;else _0xebbbb3['push'](_0xebbbb3['shift']());}catch(_0x26db43){_0xebbbb3['push'](_0xebbbb3['shift']());}}}(a27_0x5b55,0x5130d));const logger=require(a27_0x31b9f2(0x10c))[a27_0x31b9f2(0xc2)],helper=require(a27_0x31b9f2(0xc9)),constants=require(a27_0x31b9f2(0xba)),hubAllocator=require(a27_0x31b9f2(0xd5)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x31b9f2(0xe2)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a27_0x31b9f2(0xd9)),globals=require(a27_0x31b9f2(0xdf)),modify=(_0x1bf90a,_0x114d28=null,_0x19529b=![])=>{const _0x227b58=a27_0x31b9f2,_0x548cae={'GmtGr':function(_0x3e0c49,_0x41df3c){return _0x3e0c49!==_0x41df3c;},'FOerP':_0x227b58(0xa9),'jjkFm':function(_0x510ef7,_0x280da6){return _0x510ef7+_0x280da6;},'mLGhA':function(_0x1855f8,_0x3ee571){return _0x1855f8+_0x3ee571;},'WEoUn':'https://','TNlhC':_0x227b58(0x109),'saIsb':_0x227b58(0xb8),'hPDoI':'chromeOptions','zvZgw':_0x227b58(0xa4),'DkSLJ':_0x227b58(0xd3),'HZqZU':_0x227b58(0x114),'GQqyo':'firefoxOptions','uootX':_0x227b58(0xc7),'yrvOK':_0x227b58(0xe1),'ygjEj':_0x227b58(0xb6),'xItiA':function(_0x3bcebc,_0x176f82){return _0x3bcebc===_0x176f82;},'ZrBPn':_0x227b58(0xbe),'apguO':_0x227b58(0xc6),'DCcrW':function(_0x4a1350,_0x169611,_0x18fa10){return _0x4a1350(_0x169611,_0x18fa10);},'DrQJA':_0x227b58(0x100),'tuDUK':_0x227b58(0xdc),'HSqah':function(_0x250f63,_0x4f19ef,_0x4df613){return _0x250f63(_0x4f19ef,_0x4df613);},'bTCeu':function(_0x526527,_0x56d303){return _0x526527(_0x56d303);},'unoHG':'4|3|1|2|5|0','QFoZz':_0x227b58(0xac),'jADAL':function(_0x32df4c){return _0x32df4c();},'AdyZM':_0x227b58(0xe7),'BKcvk':function(_0x5878cd,_0x52b1e9){return _0x5878cd(_0x52b1e9);},'udbQk':function(_0x105bc2,_0x3ebdfd){return _0x105bc2!==_0x3ebdfd;},'OrRGG':function(_0x16170f,_0x47cd1e){return _0x16170f!==_0x47cd1e;},'AzSHh':_0x227b58(0xa1),'rnBBP':_0x227b58(0x9f)},_0x141de5=helper['requireHttpClient']();let _0x1def82;try{_0x1def82=helper[_0x227b58(0xb1)](),_0x1def82[_0x227b58(0xcf)]&&(_0x1def82[_0x227b58(0xcc)]=_0x1def82[_0x227b58(0xcf)]);}catch(_0x223586){return;}if(helper[_0x227b58(0x119)]()){const _0x226bbc={};_0x226bbc[_0x227b58(0x10b)]=_0x1bf90a[_0x227b58(0xab)],helper['setLogLevel'](_0x226bbc,new Map(),new Map()),logger['info'](_0x548cae['AzSHh']),logger['debug'](_0x548cae[_0x227b58(0xef)]);}class _0x10637b extends _0x141de5[_0x227b58(0xa5)]{[_0x227b58(0xc0)](_0x23a4f2){const _0x5ef765=_0x227b58;if(_0x548cae[_0x5ef765(0xfb)](_0x23a4f2['path'],_0x548cae['FOerP'])&&_0x548cae[_0x5ef765(0xfb)](global['newHubUrl'],''))try{global[_0x5ef765(0xda)]=_0x548cae[_0x5ef765(0x115)](_0x548cae[_0x5ef765(0x117)](_0x548cae[_0x5ef765(0xe8)],global['newHubUrl']),_0x548cae['TNlhC']),this[_0x5ef765(0x104)]=hubAllocator[_0x5ef765(0xde)](global[_0x5ef765(0xda)]),logger[_0x5ef765(0xb7)](_0x5ef765(0xd0)+global[_0x5ef765(0xda)]),global['newHubUrl']='';}catch(_0x3856ff){logger[_0x5ef765(0xa2)](_0x3856ff);}return super[_0x5ef765(0xc0)](_0x23a4f2);}}class _0x7e805 extends _0x1def82[_0x227b58(0xcc)]{[_0x227b58(0xbc)](){const _0x28d5e3=_0x227b58;return this[_0x28d5e3(0xe0)]=helper[_0x28d5e3(0x107)](_0x1bf90a),logger[_0x28d5e3(0xb7)](_0x28d5e3(0xe9)+this[_0x28d5e3(0xe0)]),this;}[_0x227b58(0x10e)](_0x46a4ce){const _0x4196d6=_0x227b58;let _0xc104f9={};for(const _0x1ee1c6 in _0x46a4ce){switch(_0x1ee1c6){case _0x548cae[_0x4196d6(0xe4)]:case _0x548cae['hPDoI']:this[_0x4196d6(0xc8)]&&(_0xc104f9=this[_0x4196d6(0xc8)][_0x4196d6(0xd8)](this[_0x4196d6(0xc8)][_0x4196d6(0x112)])||{},this[_0x4196d6(0xc8)][_0x4196d6(0xb9)](this[_0x4196d6(0xc8)][_0x4196d6(0x112)],helper[_0x4196d6(0xed)](_0xc104f9,_0x46a4ce[_0x1ee1c6])));break;case _0x548cae[_0x4196d6(0xb4)]:case _0x548cae[_0x4196d6(0x111)]:this[_0x4196d6(0x101)]&&(_0xc104f9=this[_0x4196d6(0x101)][_0x4196d6(0xd8)](this[_0x4196d6(0x101)]['CAPABILITY_KEY'])||{},this[_0x4196d6(0x101)]['set'](this['edgeOptions_'][_0x4196d6(0x112)],helper[_0x4196d6(0xed)](_0xc104f9,_0x46a4ce[_0x1ee1c6])));break;case _0x548cae[_0x4196d6(0xf6)]:case _0x548cae[_0x4196d6(0xd6)]:this[_0x4196d6(0xce)]&&(_0xc104f9=this['firefoxOptions_'][_0x4196d6(0xd8)](this[_0x4196d6(0xce)]['CAPABILITY_KEY'])||{},this['firefoxOptions_'][_0x4196d6(0xb9)](this[_0x4196d6(0xce)][_0x4196d6(0x112)],helper['mergeDeep'](_0xc104f9,_0x46a4ce[_0x1ee1c6])));break;case _0x548cae['uootX']:this[_0x4196d6(0xf5)]&&(_0xc104f9=this[_0x4196d6(0xf5)]['get'](this[_0x4196d6(0xf5)][_0x4196d6(0x112)])||{},this[_0x4196d6(0xf5)][_0x4196d6(0xb9)](this['safariOptions_'][_0x4196d6(0x112)],helper[_0x4196d6(0xed)](_0xc104f9,_0x46a4ce[_0x1ee1c6])));break;case _0x548cae[_0x4196d6(0xbb)]:case _0x548cae[_0x4196d6(0x118)]:this[_0x4196d6(0xc5)]&&(_0xc104f9=this[_0x4196d6(0xc5)][_0x4196d6(0xd8)](this['ieOptions_'][_0x4196d6(0x112)])||{},this[_0x4196d6(0xc5)]['set'](this[_0x4196d6(0xc5)][_0x4196d6(0x112)],helper[_0x4196d6(0xed)](_0xc104f9,_0x46a4ce[_0x1ee1c6])));break;}}}[_0x227b58(0xbd)](){const _0x8b5c1e=_0x227b58,_0x21834e={'lFKco':function(_0x39b6e3,_0x4b491a){return _0x548cae['xItiA'](_0x39b6e3,_0x4b491a);},'qNfRV':_0x548cae[_0x8b5c1e(0xc4)]};return logger[_0x8b5c1e(0xb7)](_0x548cae[_0x8b5c1e(0xad)]),this[_0x8b5c1e(0x10e)](_0x1bf90a['capability']),Object[_0x8b5c1e(0xfd)](_0x1bf90a[_0x8b5c1e(0xd7)])[_0x8b5c1e(0xeb)](_0x967725=>{const _0x346087=_0x8b5c1e,_0x70c00a=this[_0x346087(0xf1)][_0x346087(0xd8)](_0x967725);_0x21834e[_0x346087(0xc3)](typeof _0x70c00a,_0x21834e['qNfRV'])?this['capabilities_'][_0x346087(0xb9)](_0x967725,helper[_0x346087(0xed)](_0x70c00a,_0x1bf90a['capability'][_0x967725])):this['capabilities_'][_0x346087(0xb9)](_0x967725,_0x1bf90a[_0x346087(0xd7)][_0x967725]);}),this;}[_0x227b58(0x10d)](){const _0x3be73=_0x227b58,_0x2414c8={'Pmudm':_0x548cae[_0x3be73(0x9d)],'AEVzV':_0x548cae['tuDUK'],'nxpBf':function(_0x4f4032,_0x3b8839,_0x18b707){return _0x548cae['DCcrW'](_0x4f4032,_0x3b8839,_0x18b707);},'PahCo':function(_0x25b07c,_0x36461a,_0x10c195){const _0x50e830=_0x3be73;return _0x548cae[_0x50e830(0xb0)](_0x25b07c,_0x36461a,_0x10c195);},'OVxqt':function(_0x41674f,_0x53e3d3){return _0x548cae['bTCeu'](_0x41674f,_0x53e3d3);}};if(helper['isBrowserstackInfra']()){const _0x4557ed=_0x548cae['unoHG'][_0x3be73(0xbf)]('|');let _0x1de5d7=0x0;while(!![]){switch(_0x4557ed[_0x1de5d7++]){case'0':logger[_0x3be73(0xb7)](_0x548cae[_0x3be73(0x106)]);continue;case'1':this[_0x3be73(0xbd)]();continue;case'2':if(helper[_0x3be73(0xcb)](_0x1bf90a[_0x3be73(0xf9)][_0x3be73(0x10f)]))this[_0x3be73(0x105)]=helper[_0x3be73(0xf7)](_0x1bf90a[_0x3be73(0xf9)]['proxyUrl']);else _0x1bf90a[_0x3be73(0xf9)]['proxyUrl']&&(this['proxy_']=_0x1bf90a[_0x3be73(0xf9)]['proxyUrl'],logger['debug'](_0x3be73(0x108)+this[_0x3be73(0xd2)]));continue;case'3':this['setServer']();continue;case'4':_0x548cae[_0x3be73(0xca)](isAccessibilityAutomationSession)&&_0x548cae[_0x3be73(0x110)](setAccessibilityCapabilities,_0x1bf90a);continue;case'5':globals[_0x3be73(0xfa)](_0x548cae['AdyZM'])&&(!_0x548cae[_0x3be73(0xfe)](setExtension,this,_0x1bf90a)&&globals[_0x3be73(0xa6)](_0x548cae[_0x3be73(0x103)],![]));continue;}break;}}const _0x2bb844=super[_0x3be73(0x10d)]();return _0x2bb844[_0x3be73(0xee)]['then'](_0x482ec1=>{const _0x5c6430=_0x3be73;try{const _0x193fe1=_0x482ec1['caps_'][_0x5c6430(0xd8)](_0x2414c8[_0x5c6430(0xcd)]);_0x193fe1?(logger[_0x5c6430(0xb7)](_0x5c6430(0x113)+_0x193fe1),hubAllocator['updateHubUrl'](_0x193fe1),helper[_0x5c6430(0x9e)](_0x193fe1)):logger[_0x5c6430(0xb7)](_0x2414c8[_0x5c6430(0xb5)]);}catch(_0x43bb1e){logger[_0x5c6430(0xb7)](_0x5c6430(0xa0)+_0x43bb1e);}}),_0x2bb844['quitCount_']=0x0,_0x2bb844['then']&&_0x2bb844[_0x3be73(0xd4)](_0x5da3ae=>{const _0x2e1d59=_0x3be73,_0x42d402={'OaEiE':function(_0x3a14f2,_0x33a428,_0x50b3db){const _0x10e1ff=a27_0x279d;return _0x2414c8[_0x10e1ff(0xaa)](_0x3a14f2,_0x33a428,_0x50b3db);}};_0x2414c8[_0x2e1d59(0xaa)](overrideQuit,_0x5da3ae,_0x2bb844),_0x2414c8['OVxqt'](overrideTakeScreenshot,_0x5da3ae),helper[_0x2e1d59(0x116)](_0x5da3ae,_0x1bf90a),helper[_0x2e1d59(0xb2)](_0x5da3ae,_0x1bf90a),_0x5da3ae[_0x2e1d59(0xa7)]=async()=>{const _0x50c7ce=_0x2e1d59;return await _0x2414c8[_0x50c7ce(0xa8)](getAccessibilityResultsSummary,_0x5da3ae,global);},_0x5da3ae[_0x2e1d59(0xf3)]=async()=>{const _0x11f774=_0x2e1d59;return await _0x42d402[_0x11f774(0xf8)](getAccessibilityResults,_0x5da3ae,global);};}),_0x2bb844[_0x3be73(0xa7)]=async()=>{const _0x44f049=_0x3be73;return await _0x548cae[_0x44f049(0xfe)](getAccessibilityResultsSummary,_0x2bb844,global);},_0x2bb844[_0x3be73(0xf3)]=async()=>{const _0x5ea796=_0x3be73;return await _0x548cae[_0x5ea796(0xfe)](getAccessibilityResults,_0x2bb844,global);},_0x548cae[_0x3be73(0x110)](overrideTakeScreenshot,_0x2bb844),_0x548cae['BKcvk'](overrideQuit,_0x2bb844),helper['overrideGet'](_0x2bb844,_0x1bf90a),helper[_0x3be73(0xb2)](_0x2bb844,_0x1bf90a),helper[_0x3be73(0xdb)](global['__driversArray'])&&(global[_0x3be73(0xf0)]=[]),helper['isUndefined'](global[_0x3be73(0xaf)])&&(global[_0x3be73(0xaf)]=[]),global[_0x3be73(0xf0)][_0x3be73(0xfc)](_0x2bb844),global[_0x3be73(0xec)]=_0x2bb844,_0x548cae['udbQk'](global[_0x3be73(0xaf)],undefined)&&global['__drivers'][_0x3be73(0xfc)](_0x2bb844),_0x114d28&&helper['isUndefined'](_0x114d28[_0x3be73(0xc1)][_0x3be73(0xf0)])&&(_0x114d28[_0x3be73(0xc1)][_0x3be73(0xf0)]=[]),_0x114d28&&_0x548cae['OrRGG'](_0x114d28[_0x3be73(0xc1)][_0x3be73(0xaf)],undefined)&&(_0x114d28[_0x3be73(0xc1)][_0x3be73(0xaf)]['push'](_0x2bb844),_0x114d28[_0x3be73(0xc1)][_0x3be73(0xf0)]['push'](_0x2bb844)),_0x2bb844;}}return _0x1def82[_0x227b58(0xcf)]=_0x1def82[_0x227b58(0xcc)],_0x1def82[_0x227b58(0xcc)]=_0x7e805,_0x141de5[_0x227b58(0xa5)]=_0x10637b,_0x1def82;};function a27_0x279d(_0x402936,_0x4b88b6){const _0x5b55c5=a27_0x5b55();return a27_0x279d=function(_0x279d82,_0x121444){_0x279d82=_0x279d82-0x9c;let _0x9e3641=_0x5b55c5[_0x279d82];return _0x9e3641;},a27_0x279d(_0x402936,_0x4b88b6);}module[a27_0x31b9f2(0x102)][a27_0x31b9f2(0xe3)]=modify;function a27_0x5b55(){const _0x98e458=['rnBBP','__driversArray','capabilities_','12JxrsFT','getAccessibilityResults','10IGGKvu','safariOptions_','HZqZU','getHttpAgent','OaEiE','proxySettings','getGlobal','GmtGr','push','keys','DCcrW','749094aobVWx','optimalHubUrl','edgeOptions_','exports','AdyZM','options_','agent_','QFoZz','getHubUrl','Proxy\x20set\x20to\x20','/wd/hub','15752kgaquC','logLevel','../../../helpers/logger','build','__setBrowserOptions','proxyUrl','bTCeu','DkSLJ','CAPABILITY_KEY','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','moz:firefoxOptions','jjkFm','overrideGet','mLGhA','ygjEj','isBrowserstackInfra','95TbbllD','DrQJA','storeOptimalHubUrl','Modifying\x20webdriver\x20builder','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','error','2kqHkNh','ms:edgeOptions','HttpClient','setGlobal','getAccessibilityResultsSummary','nxpBf','/session','PahCo','browserStackLogLevel','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','apguO','3995789BBwGbZ','__drivers','HSqah','requireSeleniumWebdriver','overrideExecute','44252zQBxJI','zvZgw','AEVzV','ieOptions','debug','goog:chromeOptions','set','../../../bin/utils/constants','yrvOK','setServer','setCapabilities','object','split','send','global','winstonLogger','lFKco','ZrBPn','ieOptions_','Setting\x20Browserstack\x20capabilities','safari.options','chromeOptions_','../../../helpers/helper','jADAL','isPacProxy','Builder','Pmudm','firefoxOptions_','originalBuilder','New\x20hub\x20url\x20set\x20to\x20','6966167nSewHv','proxy_','edgeOptions','then','../../../hubAllocationMethods','GQqyo','capability','get','../../../helpers/accessibility-automation/helper','newHubUrl','isUndefined','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','1395nGJFIb','getRequestOptions','../../../helpers/globals','url_','se:ieOptions','../../../helpers/patchHelpers','browserstackAgentObservability','saIsb','6CvuxNL','507112KmRNLd','isAccessibilityPlatform','WEoUn','Hub\x20url\x20set\x20to\x20','4458091xYNwvv','forEach','__driver','mergeDeep','session_'];a27_0x5b55=function(){return _0x98e458;};return a27_0x5b55();}
@@ -1 +1 @@
1
- function a28_0x423b(_0x44bc0e,_0x462b85){const _0x181d69=a28_0x181d();return a28_0x423b=function(_0x423bd5,_0x4563a2){_0x423bd5=_0x423bd5-0x72;let _0x4e9f45=_0x181d69[_0x423bd5];return _0x4e9f45;},a28_0x423b(_0x44bc0e,_0x462b85);}const a28_0x7c7253=a28_0x423b;(function(_0x45bdd4,_0x1a6719){const _0x282934=a28_0x423b,_0x27a501=_0x45bdd4();while(!![]){try{const _0x37b02f=-parseInt(_0x282934(0x7c))/0x1+-parseInt(_0x282934(0x7b))/0x2*(parseInt(_0x282934(0x7d))/0x3)+parseInt(_0x282934(0x77))/0x4+-parseInt(_0x282934(0x72))/0x5+-parseInt(_0x282934(0x74))/0x6+-parseInt(_0x282934(0x7e))/0x7+-parseInt(_0x282934(0x7a))/0x8*(-parseInt(_0x282934(0x76))/0x9);if(_0x37b02f===_0x1a6719)break;else _0x27a501['push'](_0x27a501['shift']());}catch(_0x19fe42){_0x27a501['push'](_0x27a501['shift']());}}}(a28_0x181d,0x37925));const requestSpy=require('../../../helpers/request-spy'),constants=require(a28_0x7c7253(0x73)),{addRequestSpy}=require(a28_0x7c7253(0x75));function a28_0x181d(){const _0x1086fa=['152lLUkKm','8AmHTvw','195645kdmVxl','237486FciZVc','3146843XAJsaP','946505MRWRkg','../../../bin/utils/constants','1031508JusrfZ','../../../helpers/test-observability/utils','543465UAkTYq','1613468qJbJNg','restore','mochaHooks'];a28_0x181d=function(){return _0x1086fa;};return a28_0x181d();}exports[a28_0x7c7253(0x79)]={'beforeAll'(){const _0x274518={'CvzGt':function(_0x25f640){return _0x25f640();}},_0xdcc74='browserstack internal helper hook';_0x274518['CvzGt'](addRequestSpy);},'afterAll'(){const _0x3ad08c=a28_0x7c7253,_0x38e555='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x3ad08c(0x78)]();}};
1
+ function a28_0x1f1a(){const _0x3a06dc=['bjWfy','timeout','../../../helpers/test-observability/utils','4842108MKDBuT','455085xqmfBB','../../../helpers/request-spy','3651802UsACIQ','5uEgiFw','1496150fElpoQ','mochaHooks','4624182dfPPck','1024712yoiTWa','9447594oozSna','584RnIZcW'];a28_0x1f1a=function(){return _0x3a06dc;};return a28_0x1f1a();}const a28_0x232b84=a28_0x1511;(function(_0x3acaed,_0x3d3e50){const _0x594fee=a28_0x1511,_0x10f014=_0x3acaed();while(!![]){try{const _0x39896d=-parseInt(_0x594fee(0x1ad))/0x1+parseInt(_0x594fee(0x1aa))/0x2+parseInt(_0x594fee(0x1ac))/0x3+parseInt(_0x594fee(0x1b3))/0x4+-parseInt(_0x594fee(0x1a9))/0x5*(-parseInt(_0x594fee(0x1ae))/0x6)+parseInt(_0x594fee(0x1a8))/0x7+-parseInt(_0x594fee(0x1af))/0x8*(parseInt(_0x594fee(0x1b4))/0x9);if(_0x39896d===_0x3d3e50)break;else _0x10f014['push'](_0x10f014['shift']());}catch(_0xc62f48){_0x10f014['push'](_0x10f014['shift']());}}}(a28_0x1f1a,0xd6ec4));const requestSpy=require(a28_0x232b84(0x1b5)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a28_0x232b84(0x1b2));function a28_0x1511(_0x25e400,_0x2bf803){const _0x1f1a54=a28_0x1f1a();return a28_0x1511=function(_0x1511b4,_0x1b6077){_0x1511b4=_0x1511b4-0x1a8;let _0xd30a7d=_0x1f1a54[_0x1511b4];return _0xd30a7d;},a28_0x1511(_0x25e400,_0x2bf803);}exports[a28_0x232b84(0x1ab)]={'beforeAll'(){const _0x155af3=a28_0x232b84,_0x27a020={'bjWfy':function(_0x5910fa){return _0x5910fa();}},_0x29d63c='browserstack internal helper hook';_0x27a020[_0x155af3(0x1b0)](addRequestSpy);},'afterAll'(){const _0x1ffd80=a28_0x232b84,_0x424d6c='browserstack internal helper hook';this[_0x1ffd80(0x1b1)](0xea60),requestSpy['restore']();}};
@@ -1 +1 @@
1
- const a29_0x192270=a29_0x434a;(function(_0x1eb9fb,_0x3719fb){const _0x143df5=a29_0x434a,_0x4714bf=_0x1eb9fb();while(!![]){try{const _0x5864b0=parseInt(_0x143df5(0xc4))/0x1+parseInt(_0x143df5(0xd7))/0x2+-parseInt(_0x143df5(0x91))/0x3+-parseInt(_0x143df5(0x8a))/0x4+-parseInt(_0x143df5(0xbd))/0x5+parseInt(_0x143df5(0xd4))/0x6*(parseInt(_0x143df5(0xa2))/0x7)+parseInt(_0x143df5(0xb7))/0x8;if(_0x5864b0===_0x3719fb)break;else _0x4714bf['push'](_0x4714bf['shift']());}catch(_0x5b8323){_0x4714bf['push'](_0x4714bf['shift']());}}}(a29_0x5828,0xe2c22));function a29_0x5828(){const _0x2e77ba=['markedStatus','ciHBu','zDnar','slice','1804746VkSCUU','bzgwC','appium:app','796932HbKJPg','sendPlatformDetails','rDsVk','jxnAy','_beforeEach','mapTestHooks','UirKN','../../utils/logPatcher','UhBUI','type','zOSfp','qnUDJ','tQTCq','_beforeAll','QmkkZ','getHookSkippedTests','728076lWypjf','vJzKQ','uuid','tests','state','PysqK','JysZW','1390239IHkLpi','fwkSL','../../../helpers/helper','failed','JfieY','TEST_PLATFORM','bs:addPlatformDetails:','jerUT','toISOString','ZLNJA','toJSON','__cloud_provider___','XrXQe','../../../../package.json','getHookDetails','HMWiD','nVCyg','7SFAIaj','getBrowserVersion','indexOf','IHZFi','pending','../../../helpers/testhub/utils','gxHwJ','_afterEach','OrLZa','browserstack','../../utils/logReportingAPI','parent','emit','concat','fromEntries','lhzVC','automate','hook','hookAnalyticsId','suites','cvhVA','15380344qiySAO','app','VxWJf','getBrowserName','pid','_afterAll','8433840WIMNlE','ZMtIJ','substring','dDEXP','generic','string','keys','639202UwCtip','OezEa','../../../helpers/test-observability/utils','getHooksForTest','split','getSession','unknown_grid','getCapabilities','Mpvnr','BbXUp','forEach','aCvVd'];a29_0x5828=function(){return _0x2e77ba;};return a29_0x5828();}function a29_0x434a(_0x564d33,_0x54d2d2){const _0x58285f=a29_0x5828();return a29_0x434a=function(_0x434ae8,_0x1fbb51){_0x434ae8=_0x434ae8-0x81;let _0x471e57=_0x58285f[_0x434ae8];return _0x471e57;},a29_0x434a(_0x564d33,_0x54d2d2);}const {v4:uuidv4}=require(a29_0x192270(0x8c)),{name,version}=require(a29_0x192270(0x9e)),logPatcher=require(a29_0x192270(0x81)),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0x192270(0xac)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a29_0x192270(0xc6)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a29_0x192270(0x93)),{shouldProcessEventForTesthub}=require(a29_0x192270(0xa7));console={},Object[a29_0x192270(0xc3)](consoleHolder)['forEach'](_0x2697cd=>{console[_0x2697cd]=(..._0x47b49c)=>{BSTestOpsPatcher[_0x2697cd](..._0x47b49c);};}),exports['getTestEnv']=()=>{const _0x2c7ee5=a29_0x192270,_0x238ff8={'GQRvc':_0x2c7ee5(0xc1),'JysZW':function(_0x1cbda4){return _0x1cbda4();}};return{'ci':_0x238ff8['GQRvc'],'key':_0x238ff8[_0x2c7ee5(0x90)](uuidv4),'version':version,'collector':'js-'+name};},exports[a29_0x192270(0x9f)]=_0x1e568a=>{const _0x380102=a29_0x192270,_0x2aa878={};_0x2aa878['zDnar']=function(_0x44da52,_0x9932a4){return _0x44da52!==_0x9932a4;},_0x2aa878[_0x380102(0x82)]=_0x380102(0xc2),_0x2aa878['QmkkZ']='hook:',_0x2aa878[_0x380102(0xcc)]=_0x380102(0xb3);const _0x16e6b9=_0x2aa878;if(!_0x1e568a||_0x16e6b9[_0x380102(0xd2)](typeof _0x1e568a,_0x16e6b9[_0x380102(0x82)]))return[null,null];if(_0x16e6b9['zDnar'](_0x1e568a['indexOf'](_0x16e6b9['QmkkZ']),-0x1)){const _0x46f3be=_0x1e568a[_0x380102(0xc8)](_0x16e6b9[_0x380102(0x88)]);return[_0x46f3be[0x0][_0x380102(0xd3)](0x0,-0x1)[_0x380102(0xc8)]('\x22')[0x1],_0x46f3be[0x1][_0x380102(0xbf)](0x1)];}else{if(_0x16e6b9[_0x380102(0xd2)](_0x1e568a[_0x380102(0xa4)](_0x16e6b9[_0x380102(0xcc)]),-0x1)){const _0x3ed1e3=_0x1e568a[_0x380102(0xc8)](_0x16e6b9[_0x380102(0xcc)]);return[_0x3ed1e3[0x0]['slice'](0x0,-0x1)[_0x380102(0xc8)]('\x22')[0x1],_0x1e568a];}}return[null,null];},exports[a29_0x192270(0xc7)]=_0x34828d=>{const _0x354bd1=a29_0x192270,_0x51e423={'OrLZa':function(_0x3cea9c,_0x5454e7){return _0x3cea9c(_0x5454e7);},'aCvVd':'_beforeAll','ciHBu':_0x354bd1(0xbc),'vJzKQ':'_beforeEach','OezEa':_0x354bd1(0xa9)};if(!_0x34828d||!_0x34828d[_0x354bd1(0xad)])return[];const _0x8dac44=[];return[_0x51e423[_0x354bd1(0xcf)],_0x51e423[_0x354bd1(0xd1)],_0x51e423[_0x354bd1(0x8b)],_0x51e423[_0x354bd1(0xc5)]][_0x354bd1(0xce)](_0x5df83e=>{const _0x1719f0=_0x354bd1,_0x110fb4={'shBgX':function(_0x3f3b54,_0x3dc30c){const _0x5d0925=a29_0x434a;return _0x51e423[_0x5d0925(0xaa)](_0x3f3b54,_0x3dc30c);}},_0x178810=_0x34828d['parent'][_0x5df83e]||[];_0x178810[_0x1719f0(0xce)](_0xad1b62=>{const _0x4330ab=_0x1719f0;_0xad1b62[_0x4330ab(0xb4)]&&!_0x110fb4['shBgX'](isInternalHook,_0xad1b62['fn'])&&_0x8dac44['push'](_0xad1b62[_0x4330ab(0xb4)]);});}),[..._0x8dac44,...exports['getHooksForTest'](_0x34828d[_0x354bd1(0xad)])];},exports[a29_0x192270(0xdc)]=_0x1e924e=>{const _0x27c224=a29_0x192270,_0x19d1ce={'tQTCq':function(_0x48117d){return _0x48117d();},'VNNMN':function(_0x508971,_0x129e51){return _0x508971===_0x129e51;},'qnUDJ':_0x27c224(0xa9),'OvBff':function(_0x3e3048){return _0x3e3048();},'PysqK':_0x27c224(0x87),'nVCyg':_0x27c224(0xbc),'rDsVk':_0x27c224(0xdb)};if(!_0x1e924e||!_0x1e924e[_0x27c224(0xad)])return;[_0x19d1ce[_0x27c224(0x8f)],_0x19d1ce[_0x27c224(0xa1)],_0x19d1ce[_0x27c224(0xd9)],_0x19d1ce['qnUDJ']][_0x27c224(0xce)](_0x291251=>{const _0x270b06=_0x27c224,_0x3f42c7={'VxWJf':function(_0x3521cc){const _0x322bcc=a29_0x434a;return _0x19d1ce[_0x322bcc(0x86)](_0x3521cc);},'dDEXP':function(_0x454e5d,_0x2c3d0c){return _0x19d1ce['VNNMN'](_0x454e5d,_0x2c3d0c);},'UirKN':_0x19d1ce[_0x270b06(0x85)],'afkvK':function(_0x425f1c){return _0x19d1ce['OvBff'](_0x425f1c);}},_0x1a4cfa=_0x1e924e['parent'][_0x291251]||[];_0x1a4cfa['forEach'](_0x37f391=>{const _0x1e5467=_0x270b06;if(!_0x37f391[_0x1e5467(0xb4)])_0x37f391[_0x1e5467(0xb4)]=_0x3f42c7[_0x1e5467(0xb9)](uuidv4);else _0x37f391[_0x1e5467(0xd0)]&&_0x3f42c7[_0x1e5467(0xc0)](_0x291251,_0x3f42c7[_0x1e5467(0xdd)])&&(_0x37f391[_0x1e5467(0xb4)]=_0x3f42c7['afkvK'](uuidv4),delete _0x37f391[_0x1e5467(0xd0)]);});}),exports[_0x27c224(0xdc)](_0x1e924e[_0x27c224(0xad)]);},exports[a29_0x192270(0xd8)]=async(_0x3d9607,_0x3bc673)=>{const _0x48c8e5=a29_0x192270,_0x493e60={'bzgwC':function(_0x59e358){return _0x59e358();},'gxHwJ':function(_0x4fe09f,_0x4bcc99){return _0x4fe09f===_0x4bcc99;},'JfieY':_0x48c8e5(0xab),'BbXUp':_0x48c8e5(0xd6),'lhzVC':_0x48c8e5(0xb8),'IHZFi':'app-automate','QjmZX':_0x48c8e5(0xb2),'jxnAy':function(_0xb0f9c8,_0x1af63b){return _0xb0f9c8(_0x1af63b);},'HMWiD':_0x48c8e5(0xca),'ZLNJA':_0x48c8e5(0x96),'XrXQe':function(_0x39d937,_0x1ba12f){return _0x39d937(_0x1ba12f);}};try{if(!_0x493e60[_0x48c8e5(0xd5)](shouldProcessEventForTesthub))return;const _0x4e3529=await _0x3d9607[_0x48c8e5(0xcb)](),_0x3aefc4=await _0x3d9607[_0x48c8e5(0xc9)](),_0x15de00={},_0x191434=Object[_0x48c8e5(0xb0)](_0x3aefc4[_0x48c8e5(0xcb)]()['map_']),_0x5f4b44={'product':_0x493e60[_0x48c8e5(0xa8)](global[_0x48c8e5(0x9c)],_0x493e60[_0x48c8e5(0x95)])?_0x191434[_0x493e60[_0x48c8e5(0xcd)]]||_0x191434[_0x493e60[_0x48c8e5(0xb1)]]?_0x493e60[_0x48c8e5(0xa5)]:_0x493e60['QjmZX']:null,'capabilities':_0x191434,'platform':_0x4e3529['getPlatform'](),'platform_version':_0x493e60[_0x48c8e5(0xda)](getPlatformVersion,_0x493e60['gxHwJ'](global[_0x48c8e5(0x9c)],_0x493e60[_0x48c8e5(0x95)])),'browser':_0x4e3529[_0x48c8e5(0xba)](),'browser_version':_0x4e3529[_0x48c8e5(0xa3)](),'session_id':_0x3aefc4[_0x48c8e5(0x9b)]()};global[_0x48c8e5(0x9c)]?_0x15de00[global[_0x48c8e5(0x9c)]]=_0x5f4b44:_0x15de00[_0x493e60[_0x48c8e5(0xa0)]]=_0x5f4b44,process[_0x48c8e5(0xae)](_0x48c8e5(0x97)+process[_0x48c8e5(0xbb)],{'timestamp':new Date()[_0x48c8e5(0x99)](),'level':null,'message':null,'kind':_0x493e60[_0x48c8e5(0x9a)],'http_response':_0x15de00,'uuid':_0x3bc673});}catch(_0x3aaabb){_0x493e60[_0x48c8e5(0x9d)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x3aaabb);}},exports[a29_0x192270(0x89)]=_0x515a18=>{const _0x2f973f=a29_0x192270,_0x1aab1e={};_0x1aab1e[_0x2f973f(0x92)]=function(_0xc65c8a,_0x32adf7){return _0xc65c8a!==_0x32adf7;},_0x1aab1e['ZMtIJ']=_0x2f973f(0xb3),_0x1aab1e[_0x2f973f(0x98)]='passed',_0x1aab1e[_0x2f973f(0xb6)]=function(_0x37b68f,_0x2602a4){return _0x37b68f!==_0x2602a4;},_0x1aab1e[_0x2f973f(0x84)]=_0x2f973f(0x94);const _0x4d9860=_0x1aab1e,_0x169046=_0x515a18[_0x2f973f(0xb5)]['reduce']((_0x18ec2b,_0x2c07e7)=>{const _0x92a54d=_0x2f973f,_0x11632b=exports[_0x92a54d(0x89)](_0x2c07e7);return _0x11632b&&(_0x18ec2b=_0x18ec2b[_0x92a54d(0xaf)](_0x11632b)),_0x18ec2b;},[]),_0x14bcd2=_0x515a18[_0x2f973f(0x8d)]['filter'](_0x56813c=>{const _0x2dc4b5=_0x2f973f,_0x3b484a=_0x4d9860[_0x2dc4b5(0x92)](_0x56813c[_0x2dc4b5(0x83)],_0x4d9860[_0x2dc4b5(0xbe)])&&!_0x56813c[_0x2dc4b5(0xd0)]&&_0x4d9860[_0x2dc4b5(0x92)](_0x56813c['state'],_0x4d9860[_0x2dc4b5(0x98)])&&_0x4d9860['cvhVA'](_0x56813c[_0x2dc4b5(0x8e)],_0x4d9860[_0x2dc4b5(0x84)])&&!_0x56813c[_0x2dc4b5(0xa6)];return _0x3b484a;});return _0x14bcd2['concat'](_0x169046);};
1
+ function a29_0x436d(_0x18c062,_0x2a0fbb){const _0x3d932e=a29_0x3d93();return a29_0x436d=function(_0x436d09,_0x2efa12){_0x436d09=_0x436d09-0xf1;let _0x160ccc=_0x3d932e[_0x436d09];return _0x160ccc;},a29_0x436d(_0x18c062,_0x2a0fbb);}const a29_0x40d508=a29_0x436d;(function(_0x3c9bea,_0x52f1c5){const _0x4f6dc4=a29_0x436d,_0x195c05=_0x3c9bea();while(!![]){try{const _0x301408=-parseInt(_0x4f6dc4(0xfd))/0x1*(-parseInt(_0x4f6dc4(0x123))/0x2)+parseInt(_0x4f6dc4(0x108))/0x3+-parseInt(_0x4f6dc4(0x10d))/0x4*(-parseInt(_0x4f6dc4(0x109))/0x5)+parseInt(_0x4f6dc4(0x144))/0x6+-parseInt(_0x4f6dc4(0x12e))/0x7+parseInt(_0x4f6dc4(0x121))/0x8*(parseInt(_0x4f6dc4(0x110))/0x9)+-parseInt(_0x4f6dc4(0x151))/0xa*(parseInt(_0x4f6dc4(0x152))/0xb);if(_0x301408===_0x52f1c5)break;else _0x195c05['push'](_0x195c05['shift']());}catch(_0x2386d8){_0x195c05['push'](_0x195c05['shift']());}}}(a29_0x3d93,0xce331));function a29_0x3d93(){const _0x20776b=['Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','JjlwQ','../../utils/logReportingAPI','app-automate','getSession','app','../../../../package.json','../../../helpers/test-observability/utils','wjWNz','2DJCMMH','WnHiQ','reduce','NGBOd','split','vHtfZ','__cloud_provider___','forEach','fromEntries','pending','hookAnalyticsId','997692qtLGfQ','293615HHBlQL','fUDXF','hook:','getBrowserVersion','4pGUCXw','parent','TEST_PLATFORM','301437pidiUP','ZOmTV','browserstack','getHookSkippedTests','getBrowserName','generic','bmLro','RDOqR','VXTav','FqmcA','push','ddPkG','_afterAll','TKmRB','CIOtT','hook','slice','296oYKObP','filter','898998VtbcUk','tests','indexOf','_afterEach','appium:app','getPlatform','automate','getCapabilities','ptqbF','getTestEnv','YJIgg','8882153oSfGTV','mapTestHooks','hwvup','_beforeAll','sendPlatformDetails','../../utils/logPatcher','lFBAt','state','twazL','emit','suites','hTubT','nFzDP','../../../helpers/test-observability/constants','passed','NXBxF','toJSON','substring','getHookDetails','markedStatus','Nddfd','pid','3833268MQcGZh','../../../helpers/helper','MLQdy','UPqjB','UhJfi','bs:addPlatformDetails:','KMRiQ','rkvdG','WfCzf','getHooksForTest','qFJYe','concat','uuid','879110mizZbx','132rUfnUD','js-','_beforeEach','fuIJB'];a29_0x3d93=function(){return _0x20776b;};return a29_0x3d93();}const {v4:uuidv4}=require(a29_0x40d508(0x150)),{name,version}=require(a29_0x40d508(0xfa)),logPatcher=require(a29_0x40d508(0x133)),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0x40d508(0xf6)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a29_0x40d508(0xfb)),{consoleHolder}=require(a29_0x40d508(0x13b)),{getPlatformVersion}=require(a29_0x40d508(0x145)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils');console={},Object['keys'](consoleHolder)[a29_0x40d508(0x104)](_0x57cb2e=>{console[_0x57cb2e]=(..._0x3aecb1)=>{BSTestOpsPatcher[_0x57cb2e](..._0x3aecb1);};}),exports[a29_0x40d508(0x12c)]=()=>{const _0x3532fd=a29_0x40d508,_0x74a809={'FqmcA':_0x3532fd(0x115),'MJBcb':function(_0x25c529){return _0x25c529();}};return{'ci':_0x74a809[_0x3532fd(0x119)],'key':_0x74a809['MJBcb'](uuidv4),'version':version,'collector':_0x3532fd(0xf1)+name};},exports[a29_0x40d508(0x140)]=_0x17f4e7=>{const _0x1fc52d=a29_0x40d508,_0x56ad7d={};_0x56ad7d[_0x1fc52d(0x12d)]=function(_0x369970,_0x4a62af){return _0x369970!==_0x4a62af;},_0x56ad7d[_0x1fc52d(0xf5)]='string',_0x56ad7d[_0x1fc52d(0x11d)]=function(_0x19ca5f,_0x72d780){return _0x19ca5f!==_0x72d780;},_0x56ad7d['qFJYe']=_0x1fc52d(0x10b),_0x56ad7d[_0x1fc52d(0xf3)]=_0x1fc52d(0x11f);const _0x4fa253=_0x56ad7d;if(!_0x17f4e7||_0x4fa253[_0x1fc52d(0x12d)](typeof _0x17f4e7,_0x4fa253['JjlwQ']))return[null,null];if(_0x4fa253['TKmRB'](_0x17f4e7[_0x1fc52d(0x125)](_0x4fa253[_0x1fc52d(0x14e)]),-0x1)){const _0x3d417c=_0x17f4e7['split'](_0x4fa253[_0x1fc52d(0x14e)]);return[_0x3d417c[0x0][_0x1fc52d(0x120)](0x0,-0x1)['split']('\x22')[0x1],_0x3d417c[0x1][_0x1fc52d(0x13f)](0x1)];}else{if(_0x4fa253[_0x1fc52d(0x11d)](_0x17f4e7['indexOf'](_0x4fa253[_0x1fc52d(0xf3)]),-0x1)){const _0x48867e=_0x17f4e7[_0x1fc52d(0x101)](_0x4fa253['fuIJB']);return[_0x48867e[0x0][_0x1fc52d(0x120)](0x0,-0x1)[_0x1fc52d(0x101)]('\x22')[0x1],_0x17f4e7];}}return[null,null];},exports[a29_0x40d508(0x14d)]=_0x554387=>{const _0x22526a=a29_0x40d508,_0x597210={'hwvup':function(_0x5b6c3d,_0x32f61a){return _0x5b6c3d(_0x32f61a);},'EkfBo':_0x22526a(0x131),'fZxAW':'_afterAll','MiLjs':_0x22526a(0xf2),'WnHiQ':_0x22526a(0x126)};if(!_0x554387||!_0x554387['parent'])return[];const _0x49eef2=[];return[_0x597210['EkfBo'],_0x597210['fZxAW'],_0x597210['MiLjs'],_0x597210[_0x22526a(0xfe)]][_0x22526a(0x104)](_0x2e9864=>{const _0x55f0fc=_0x554387['parent'][_0x2e9864]||[];_0x55f0fc['forEach'](_0x44f24f=>{const _0x5847cf=a29_0x436d;_0x44f24f[_0x5847cf(0x107)]&&!_0x597210[_0x5847cf(0x130)](isInternalHook,_0x44f24f['fn'])&&_0x49eef2[_0x5847cf(0x11a)](_0x44f24f[_0x5847cf(0x107)]);});}),[..._0x49eef2,...exports[_0x22526a(0x14d)](_0x554387[_0x22526a(0x10e)])];},exports[a29_0x40d508(0x12f)]=_0x5c85ba=>{const _0x3fdf23=a29_0x40d508,_0x58f17b={'ZOmTV':function(_0x4ba6a2){return _0x4ba6a2();},'fUDXF':function(_0x3ce013,_0x3f22cb){return _0x3ce013===_0x3f22cb;},'ptqbF':'_afterEach','KMRiQ':'_beforeAll','CIOtT':_0x3fdf23(0x11c),'nFzDP':'_beforeEach'};if(!_0x5c85ba||!_0x5c85ba[_0x3fdf23(0x10e)])return;[_0x58f17b[_0x3fdf23(0x14a)],_0x58f17b[_0x3fdf23(0x11e)],_0x58f17b[_0x3fdf23(0x13a)],_0x58f17b['ptqbF']][_0x3fdf23(0x104)](_0x373104=>{const _0x269b26=_0x3fdf23,_0x17abed={'ddPkG':function(_0x337d91){const _0x348ba1=a29_0x436d;return _0x58f17b[_0x348ba1(0x111)](_0x337d91);},'twazL':function(_0x2fb080,_0xa7cc5b){const _0x1d32bc=a29_0x436d;return _0x58f17b[_0x1d32bc(0x10a)](_0x2fb080,_0xa7cc5b);},'iHAUT':_0x58f17b[_0x269b26(0x12b)]},_0x34b4db=_0x5c85ba[_0x269b26(0x10e)][_0x373104]||[];_0x34b4db[_0x269b26(0x104)](_0x18e075=>{const _0x443605=_0x269b26;if(!_0x18e075['hookAnalyticsId'])_0x18e075['hookAnalyticsId']=_0x17abed[_0x443605(0x11b)](uuidv4);else _0x18e075[_0x443605(0x141)]&&_0x17abed[_0x443605(0x136)](_0x373104,_0x17abed['iHAUT'])&&(_0x18e075[_0x443605(0x107)]=_0x17abed[_0x443605(0x11b)](uuidv4),delete _0x18e075[_0x443605(0x141)]);});}),exports[_0x3fdf23(0x12f)](_0x5c85ba[_0x3fdf23(0x10e)]);},exports[a29_0x40d508(0x132)]=async(_0x48794b,_0x408850)=>{const _0x4547e4=a29_0x40d508,_0x1e31b0={'VXTav':function(_0xad6c1f){return _0xad6c1f();},'lFBAt':function(_0x5b0824,_0xe78da1){return _0x5b0824===_0xe78da1;},'hTubT':_0x4547e4(0x112),'HSxpD':_0x4547e4(0x127),'wjWNz':_0x4547e4(0xf9),'NXBxF':_0x4547e4(0xf7),'vHtfZ':_0x4547e4(0x129),'Nddfd':function(_0x189ef3,_0xa8a545){return _0x189ef3(_0xa8a545);},'NGBOd':'unknown_grid','UhJfi':_0x4547e4(0x10f)};try{if(!_0x1e31b0[_0x4547e4(0x118)](shouldProcessEventForTesthub))return;const _0x50e3b0=await _0x48794b[_0x4547e4(0x12a)](),_0x680a2c=await _0x48794b[_0x4547e4(0xf8)](),_0x222a39={},_0x102b70=Object[_0x4547e4(0x105)](_0x680a2c[_0x4547e4(0x12a)]()['map_']),_0x2c1c5a={'product':_0x1e31b0['lFBAt'](global[_0x4547e4(0x103)],_0x1e31b0[_0x4547e4(0x139)])?_0x102b70[_0x1e31b0['HSxpD']]||_0x102b70[_0x1e31b0[_0x4547e4(0xfc)]]?_0x1e31b0[_0x4547e4(0x13d)]:_0x1e31b0[_0x4547e4(0x102)]:null,'capabilities':_0x102b70,'platform':_0x50e3b0[_0x4547e4(0x128)](),'platform_version':_0x1e31b0[_0x4547e4(0x142)](getPlatformVersion,_0x1e31b0[_0x4547e4(0x134)](global[_0x4547e4(0x103)],_0x1e31b0[_0x4547e4(0x139)])),'browser':_0x50e3b0[_0x4547e4(0x114)](),'browser_version':_0x50e3b0[_0x4547e4(0x10c)](),'session_id':_0x680a2c[_0x4547e4(0x13e)]()};global[_0x4547e4(0x103)]?_0x222a39[global['__cloud_provider___']]=_0x2c1c5a:_0x222a39[_0x1e31b0[_0x4547e4(0x100)]]=_0x2c1c5a,process[_0x4547e4(0x137)](_0x4547e4(0x149)+process[_0x4547e4(0x143)],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x1e31b0[_0x4547e4(0x148)],'http_response':_0x222a39,'uuid':_0x408850});}catch(_0x1756be){_0x1e31b0[_0x4547e4(0x142)](debug,_0x4547e4(0xf4)+_0x1756be);}},exports[a29_0x40d508(0x113)]=_0x2a7f6e=>{const _0x3c0cb7=a29_0x40d508,_0x324284={};_0x324284['UPqjB']=function(_0x41a46b,_0x10f5ae){return _0x41a46b!==_0x10f5ae;},_0x324284[_0x3c0cb7(0x14b)]='hook',_0x324284['WfCzf']=function(_0x5f30d8,_0x277853){return _0x5f30d8!==_0x277853;},_0x324284[_0x3c0cb7(0x117)]=_0x3c0cb7(0x13c),_0x324284[_0x3c0cb7(0x146)]=function(_0x4b3a2d,_0x20a71e){return _0x4b3a2d!==_0x20a71e;},_0x324284['bmLro']='failed';const _0x5939cb=_0x324284,_0x207eb9=_0x2a7f6e[_0x3c0cb7(0x138)][_0x3c0cb7(0xff)]((_0x7105e8,_0x596662)=>{const _0x16e340=exports['getHookSkippedTests'](_0x596662);return _0x16e340&&(_0x7105e8=_0x7105e8['concat'](_0x16e340)),_0x7105e8;},[]),_0x430c41=_0x2a7f6e[_0x3c0cb7(0x124)][_0x3c0cb7(0x122)](_0x203ea1=>{const _0x39fad1=_0x3c0cb7,_0x460a29=_0x5939cb[_0x39fad1(0x147)](_0x203ea1['type'],_0x5939cb[_0x39fad1(0x14b)])&&!_0x203ea1[_0x39fad1(0x141)]&&_0x5939cb[_0x39fad1(0x14c)](_0x203ea1[_0x39fad1(0x135)],_0x5939cb[_0x39fad1(0x117)])&&_0x5939cb[_0x39fad1(0x146)](_0x203ea1[_0x39fad1(0x135)],_0x5939cb[_0x39fad1(0x116)])&&!_0x203ea1[_0x39fad1(0x106)];return _0x460a29;});return _0x430c41[_0x3c0cb7(0x14f)](_0x207eb9);};
@@ -1 +1 @@
1
- const a30_0x73700b=a30_0x5d84;(function(_0x4a5436,_0x18a78d){const _0x292ed4=a30_0x5d84,_0x5e9a25=_0x4a5436();while(!![]){try{const _0xb5989d=parseInt(_0x292ed4(0x107))/0x1*(parseInt(_0x292ed4(0x156))/0x2)+-parseInt(_0x292ed4(0x11c))/0x3+parseInt(_0x292ed4(0x135))/0x4*(parseInt(_0x292ed4(0x10c))/0x5)+parseInt(_0x292ed4(0x155))/0x6+-parseInt(_0x292ed4(0x15f))/0x7*(-parseInt(_0x292ed4(0x14c))/0x8)+parseInt(_0x292ed4(0x15a))/0x9*(parseInt(_0x292ed4(0xf1))/0xa)+-parseInt(_0x292ed4(0x128))/0xb;if(_0xb5989d===_0x18a78d)break;else _0x5e9a25['push'](_0x5e9a25['shift']());}catch(_0x5e3c40){_0x5e9a25['push'](_0x5e9a25['shift']());}}}(a30_0x59be,0x4945f));function a30_0x5d84(_0x516f22,_0x3b2245){const _0x59beff=a30_0x59be();return a30_0x5d84=function(_0x5d84c3,_0xbee85a){_0x5d84c3=_0x5d84c3-0xe5;let _0x53ec9e=_0x59beff[_0x5d84c3];return _0x53ec9e;},a30_0x5d84(_0x516f22,_0x3b2245);}const util=require(a30_0x73700b(0x14e)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x73700b(0x13d)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require(a30_0x73700b(0x134)),{isTestObservabilitySession}=require(a30_0x73700b(0x157)),PerformanceTester=require(a30_0x73700b(0x144)),scripts=require(a30_0x73700b(0x153)),globals=require(a30_0x73700b(0xea)),logger=require(a30_0x73700b(0x151))[a30_0x73700b(0x110)],{shouldProcessEventForTesthub}=require(a30_0x73700b(0x127)),testHubConstants=require(a30_0x73700b(0x14d));exports[a30_0x73700b(0x129)]={'beforeAll'(){const _0x3d55a5=a30_0x73700b,_0x2174f6={'RPkAk':function(_0x39d265,_0x523fb6,_0xc4c095,_0x20fd9f){return _0x39d265(_0x523fb6,_0xc4c095,_0x20fd9f);},'pThlB':'failed','cPowR':_0x3d55a5(0x12a),'jYKco':function(_0x15ac46,_0x1b4b01,_0x5c6453){return _0x15ac46(_0x1b4b01,_0x5c6453);},'XfZcG':_0x3d55a5(0xe5),'lRIDm':function(_0x10d4b0){return _0x10d4b0();},'oYhMS':function(_0x2a0ade,_0x303f3d,_0x447d50){return _0x2a0ade(_0x303f3d,_0x447d50);}};PerformanceTester[_0x3d55a5(0x12d)]();const _0x3925a0='browserstack internal helper hook';global['__error_messages__']=[],global[_0x3d55a5(0x149)]=![],global[_0x3d55a5(0x130)]=async()=>{const _0x4ce7b5=_0x3d55a5;let _0x3ef7de=![];try{await global['__drivers'][0x0][_0x4ce7b5(0xeb)],_0x3ef7de=!![],global[_0x4ce7b5(0x149)]?await _0x2174f6[_0x4ce7b5(0x152)](markSessionStatus,global[_0x4ce7b5(0xff)][0x0],_0x2174f6['pThlB'],global[_0x4ce7b5(0x121)][_0x4ce7b5(0xf0)](_0x2174f6['cPowR'])):await _0x2174f6[_0x4ce7b5(0x11d)](markSessionStatus,global[_0x4ce7b5(0xff)][0x0],_0x2174f6[_0x4ce7b5(0x12f)]);}catch(_0x3edd9d){}global[_0x4ce7b5(0x121)]=[],global[_0x4ce7b5(0x149)]=![];if(_0x3ef7de)try{try{_0x2174f6[_0x4ce7b5(0x11f)](shouldProcessEventForTesthub)&&(global[_0x4ce7b5(0xff)][0x0]&&await _0x2174f6['oYhMS'](sendPlatformDetails,global[_0x4ce7b5(0xff)][0x0],this[_0x4ce7b5(0x10a)]?this[_0x4ce7b5(0x10a)]['testAnalyticsId']:null));}catch{}await global[_0x4ce7b5(0xff)][0x0]['initQuit']();}catch(_0x27342c){}};},'beforeEach'(_0x4a9d18){const _0x2b1981=a30_0x73700b,_0x4f74ea={'CYWDi':function(_0x640836,_0x4b4c5a){return _0x640836>_0x4b4c5a;},'emeZz':'\x20-\x20','gdHIq':function(_0x196fea,_0x38ba55,_0x26bd54){return _0x196fea(_0x38ba55,_0x26bd54);},'JCPFi':_0x2b1981(0xfe),'uLCsN':function(_0x52523c){return _0x52523c();},'oRFOz':_0x2b1981(0xef),'nGVIs':function(_0x549b5f,_0x4d8e93){return _0x549b5f===_0x4d8e93;},'YIkKO':_0x2b1981(0x148),'xZZJW':_0x2b1981(0xf5),'ucITk':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','nJtNX':_0x2b1981(0x143)};new Promise(async _0x402b25=>{const _0x5bc214=_0x2b1981,_0xc5594b='browserstack internal helper hook';let _0x4db721=!![];try{_0x4f74ea[_0x5bc214(0x15c)](global['__drivers'][_0x5bc214(0x131)],0x1)&&(await global[_0x5bc214(0x130)](),global['__drivers'][_0x5bc214(0x11b)]()),_0x4f74ea[_0x5bc214(0x15c)](global['__drivers'][0x0][_0x5bc214(0x160)],0x0)&&(_0x4db721=![],await global[_0x5bc214(0x130)]());}catch{}try{Array[_0x5bc214(0x132)](global[_0x5bc214(0xff)])&&global[_0x5bc214(0xff)][0x0]&&(global[_0x5bc214(0xff)][0x0][_0x5bc214(0x139)]=this['currentTest'][_0x5bc214(0xf9)]()[_0x5bc214(0xf0)](_0x4f74ea[_0x5bc214(0x13f)])),global['browserstackSessionName']=this[_0x5bc214(0x10a)]['titlePath']()[_0x5bc214(0xf0)](_0x4f74ea[_0x5bc214(0x13f)]);}catch(_0x3ced1b){logger[_0x5bc214(0x12e)](_0x5bc214(0x119)+_0x3ced1b);}this[_0x5bc214(0x10a)][_0x5bc214(0x11e)]=_0x4f74ea[_0x5bc214(0x10d)](shouldScanTestForAccessibility,this['currentTest'][_0x5bc214(0xf9)](),!![]),globals[_0x5bc214(0x15d)](_0x4f74ea[_0x5bc214(0x120)],this['currentTest'][_0x5bc214(0x11e)]),this[_0x5bc214(0x10a)][_0x5bc214(0x142)]=!![];if(_0x4f74ea['uLCsN'](isAccessibilityAutomationSession)&&_0x4db721&&Array[_0x5bc214(0x132)](global[_0x5bc214(0xff)])&&_0x4f74ea[_0x5bc214(0x15c)](global[_0x5bc214(0xff)][_0x5bc214(0x131)],0x0)&&globals[_0x5bc214(0x13a)](_0x4f74ea[_0x5bc214(0xee)]))try{const _0x8a7d63=await global[_0x5bc214(0xff)][0x0][_0x5bc214(0xeb)];if(_0x8a7d63){let _0x44646d=!![];const _0x57911a=await global['__drivers'][0x0][_0x5bc214(0x108)]();let _0x1626d8;try{_0x1626d8=new URL(_0x57911a);}catch(_0x2f7788){_0x44646d=![];}_0x44646d=_0x4f74ea[_0x5bc214(0x150)](_0x1626d8[_0x5bc214(0x10b)],_0x4f74ea[_0x5bc214(0xf6)])||_0x4f74ea[_0x5bc214(0x150)](_0x1626d8['protocol'],_0x4f74ea['xZZJW']),_0x44646d&&(this[_0x5bc214(0x10a)][_0x5bc214(0x11e)]&&logger[_0x5bc214(0x105)](_0x4f74ea[_0x5bc214(0xf2)])),this[_0x5bc214(0x10a)][_0x5bc214(0x142)]=this[_0x5bc214(0x10a)][_0x5bc214(0x11e)],this[_0x5bc214(0x10a)][_0x5bc214(0x11e)]&&logger[_0x5bc214(0x105)](_0x4f74ea[_0x5bc214(0x117)]);}}catch(_0x32018a){logger[_0x5bc214(0x14f)](_0x5bc214(0x125)+util['format'](_0x32018a));}_0x4f74ea[_0x5bc214(0xfd)](_0x402b25);})[_0x2b1981(0x133)](_0x4a9d18);},'afterEach'(_0x446084){const _0x98e952=a30_0x73700b,_0x36e4bb={'TCcBq':function(_0x3c7a96,_0x4cf4b7){return _0x3c7a96>_0x4cf4b7;},'YEGKG':function(_0x2d5829,_0x23d0f4){return _0x2d5829===_0x23d0f4;},'aQjyO':'testcase','fibQi':function(_0x1eb546,_0x357a71){return _0x1eb546>_0x357a71;},'VwEIR':_0x98e952(0x123),'CPyfw':function(_0x23c258,_0x30d871,_0x82042a,_0x525140){return _0x23c258(_0x30d871,_0x82042a,_0x525140);},'KgdfJ':_0x98e952(0x140),'zvzvv':function(_0x53b3f4,_0x404605){return _0x53b3f4!==_0x404605;},'oxjqh':_0x98e952(0xe5),'bMsGs':function(_0x49eb14,_0x3e04d3,_0x262486){return _0x49eb14(_0x3e04d3,_0x262486);},'bJMFz':function(_0x2df228,_0x1229e2){return _0x2df228+_0x1229e2;},'qtaAp':_0x98e952(0xed),'NAxsa':_0x98e952(0x14f),'oRXaI':function(_0x19d388,_0x1fbfea,_0x3f6790){return _0x19d388(_0x1fbfea,_0x3f6790);},'rIYVd':_0x98e952(0x146),'kjdtK':_0x98e952(0x105),'PMIBr':_0x98e952(0xef),'tdcZs':_0x98e952(0xfe),'dOUTS':_0x98e952(0x154),'lrFvD':_0x98e952(0x13e),'kQxAp':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','ifvCG':function(_0x560a0e){return _0x560a0e();},'mPiOi':function(_0x1dbb63){return _0x1dbb63();},'qouds':function(_0x3dfca1,_0x100aeb,_0x15dbf2){return _0x3dfca1(_0x100aeb,_0x15dbf2);},'NxUNk':_0x98e952(0x12e),'PTTEd':function(_0x1e7415){return _0x1e7415();}},_0x4a78c4='browserstack internal helper hook';this[_0x98e952(0x10f)](0xfde8);const _0x4e157b=async(_0x2dc6b4,_0x5ac337)=>{const _0xc6fa69=_0x98e952;await global[_0xc6fa69(0xff)][0x0][_0xc6fa69(0x147)](_0xc6fa69(0x159)+_0x2dc6b4+',\x22level\x22:\x20\x22'+_0x5ac337+_0xc6fa69(0x101));};new Promise(async _0x3c535e=>{const _0x3cd932=_0x98e952;try{_0x36e4bb[_0x3cd932(0x141)](global['__drivers'][_0x3cd932(0x131)],0x1)&&(await global[_0x3cd932(0x130)](),global['__drivers'][_0x3cd932(0x11b)](),global['__error_messages__']=[],global[_0x3cd932(0x149)]=![]);try{if(global['percy']&&_0x36e4bb[_0x3cd932(0x115)](global['percyCaptureMode'],_0x36e4bb[_0x3cd932(0xf4)])&&global[_0x3cd932(0xff)][0x0]){const _0x141cff=_0x36e4bb[_0x3cd932(0x100)](global[_0x3cd932(0xf3)]['length'],0x0)?!!global['capabilities'][0x0]['app']||!!global['capabilities'][0x0][_0x36e4bb['VwEIR']]:![],_0x3a78d2={};_0x3a78d2[_0x3cd932(0x162)]=_0x141cff,await _0x36e4bb['CPyfw'](percyAutoCapture,global[_0x3cd932(0xff)][0x0],_0x36e4bb[_0x3cd932(0xf4)],_0x3a78d2);}}catch(_0x4718ae){}!global[_0x3cd932(0xf7)]&&(await global[_0x3cd932(0xff)][0x0][_0x3cd932(0x147)](_0x3cd932(0x111)+JSON[_0x3cd932(0xec)](this[_0x3cd932(0x10a)]['titlePath']()[_0x3cd932(0xf0)](_0x36e4bb[_0x3cd932(0x124)]))+'}}'),global[_0x3cd932(0xff)][0x0][_0x3cd932(0x136)]=!![]);const _0x3162c4=_0x36e4bb[_0x3cd932(0x161)](this[_0x3cd932(0x10a)][_0x3cd932(0x158)],_0x36e4bb[_0x3cd932(0x10e)]);_0x3162c4?(global[_0x3cd932(0x149)]=!![],global[_0x3cd932(0x121)][_0x3cd932(0xfb)](this[_0x3cd932(0x10a)]['err'][_0x3cd932(0x14b)]),await _0x36e4bb[_0x3cd932(0x145)](_0x4e157b,JSON[_0x3cd932(0xec)](_0x36e4bb[_0x3cd932(0xfc)](_0x36e4bb[_0x3cd932(0x118)],this[_0x3cd932(0x10a)][_0x3cd932(0x103)][_0x3cd932(0x14b)])),_0x36e4bb[_0x3cd932(0x114)])):await _0x36e4bb['oRXaI'](_0x4e157b,JSON['stringify'](_0x36e4bb[_0x3cd932(0x11a)]),_0x36e4bb[_0x3cd932(0xe9)]);}catch(_0x32a48f){}try{if(this[_0x3cd932(0x10a)][_0x3cd932(0x142)]&&globals[_0x3cd932(0x13a)](_0x36e4bb[_0x3cd932(0x102)])&&globals[_0x3cd932(0x13a)](_0x36e4bb[_0x3cd932(0x109)])){logger[_0x3cd932(0x105)](_0x36e4bb[_0x3cd932(0x122)]);const _0x5a352a={};_0x5a352a[_0x3cd932(0x138)]=this[_0x3cd932(0x10a)][_0x3cd932(0x113)],_0x5a352a['thBuildUuid']=process[_0x3cd932(0x13b)][testHubConstants[_0x3cd932(0x15b)][_0x3cd932(0x116)]],_0x5a352a[_0x3cd932(0x126)]=process[_0x3cd932(0x13b)][testHubConstants[_0x3cd932(0x15b)][_0x3cd932(0x12c)]];const _0x16f800=_0x5a352a;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x16f800)),logger[_0x3cd932(0x12e)](_0x36e4bb[_0x3cd932(0x137)]),logger[_0x3cd932(0x12e)](util[_0x3cd932(0xe8)](await global['__drivers'][0x0][_0x3cd932(0xe7)](scripts[_0x3cd932(0xf8)],{'method':global[_0x3cd932(0x139)]}))),await global[_0x3cd932(0xff)][0x0]['executeAsyncScript'](scripts[_0x3cd932(0x12b)],_0x16f800),logger[_0x3cd932(0x105)](_0x36e4bb[_0x3cd932(0x13c)]);}}catch(_0x3e278b){logger[_0x3cd932(0x14f)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x3cd932(0x10a)][_0x3cd932(0xf9)]()+_0x3cd932(0x14a),_0x3e278b);}try{try{if(_0x36e4bb['ifvCG'](shouldProcessEventForTesthub)){global[_0x3cd932(0xff)][0x0]&&await _0x36e4bb[_0x3cd932(0x15e)](sendPlatformDetails,global['__drivers'][0x0],this[_0x3cd932(0x10a)]?this[_0x3cd932(0x10a)][_0x3cd932(0x113)]:null);if(_0x36e4bb['mPiOi'](isBrowserstackInfra)){const _0x5b08a2='ObservabilitySync:'+Date[_0x3cd932(0x106)]();await _0x36e4bb[_0x3cd932(0x112)](_0x4e157b,JSON['stringify'](_0x5b08a2),_0x36e4bb[_0x3cd932(0xe6)]);}}}catch{}_0x36e4bb[_0x3cd932(0x100)](global['__drivers'][0x0][_0x3cd932(0x160)],0x0)&&await global['driverCleanup']();}catch(_0x2837ac){}_0x36e4bb[_0x3cd932(0xfa)](_0x3c535e);})[_0x98e952(0x133)](()=>_0x446084());},'afterAll'(_0x2704d1){const _0x16855f=a30_0x73700b,_0x4018dd={'rZFJv':function(_0x4f5dcb){return _0x4f5dcb();}},_0x30f8cc='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x4f233c=>{const _0x94b326=a30_0x5d84;PerformanceTester['stopMonitoring'](),await global[_0x94b326(0x130)](),_0x4018dd[_0x94b326(0x104)](_0x4f233c);})[_0x16855f(0x133)](()=>_0x2704d1());}};function a30_0x59be(){const _0x36aac3=['oxjqh','timeout','winstonLogger','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','qouds','testAnalyticsId','NAxsa','YEGKG','BROWSERSTACK_TESTHUB_UUID','nJtNX','qtaAp','Failed\x20to\x20store\x20session\x20name:\x20','rIYVd','shift','1611714xRfhOM','jYKco','shouldScanTestForAccessibility','lRIDm','JCPFi','__error_messages__','dOUTS','appium:app','KgdfJ','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','thJwtToken','../../helpers/testhub/utils','7034467GJKgCc','mochaHooks','\x20|\x20','saveTestResults','BROWSERSTACK_TESTHUB_JWT','startMonitoring','debug','XfZcG','driverCleanup','length','isArray','then','../../helpers/helper','1864aQcpcR','sessionNameSet__','lrFvD','thTestRunUuid','browserstackSessionName','getGlobal','env','kQxAp','../../helpers/accessibility-automation/helper','Performing\x20scan\x20before\x20saving\x20results','emeZz','\x20-\x20','TCcBq','accessibilityScanStarted','Automate\x20test\x20case\x20execution\x20has\x20started.','../../helpers/performance-tester','bMsGs','Passed','executeScript','http:','__sessionFailed','.\x20Error\x20:','message','16TgGcrL','../../helpers/testhub/constants','util','error','nGVIs','../../helpers/logger','RPkAk','../../helpers/accessibility-automation/scripts','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','3088536ArXLla','8AcjzIJ','../../helpers/test-observability/utils','state','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','45IMEPFs','ENV_VAR','CYWDi','setGlobal','oRXaI','912961WQWWBe','quitCount_','zvzvv','app','passed','NxUNk','executeAsyncScript','format','kjdtK','../../helpers/globals','session_','stringify','Failed:\x20','oRFOz','isAccessibilityPlatform','join','61860xiQBnv','ucITk','capabilities','aQjyO','https:','YIkKO','__skipSessionName','performScan','titlePath','PTTEd','push','bJMFz','uLCsN','bstackA11yShouldScan','__drivers','fibQi','\x22}}','PMIBr','err','rZFJv','info','now','122963qCUgPR','getCurrentUrl','tdcZs','currentTest','protocol','1915cXmGpj','gdHIq'];a30_0x59be=function(){return _0x36aac3;};return a30_0x59be();}
1
+ const a30_0x385fb9=a30_0x20a1;(function(_0x160349,_0x499943){const _0x41f920=a30_0x20a1,_0x30b586=_0x160349();while(!![]){try{const _0x5b805d=-parseInt(_0x41f920(0x15d))/0x1*(parseInt(_0x41f920(0x180))/0x2)+parseInt(_0x41f920(0x178))/0x3*(parseInt(_0x41f920(0x13e))/0x4)+parseInt(_0x41f920(0x13d))/0x5+parseInt(_0x41f920(0x153))/0x6+parseInt(_0x41f920(0x192))/0x7+parseInt(_0x41f920(0x19f))/0x8+-parseInt(_0x41f920(0x182))/0x9;if(_0x5b805d===_0x499943)break;else _0x30b586['push'](_0x30b586['shift']());}catch(_0xd3d04d){_0x30b586['push'](_0x30b586['shift']());}}}(a30_0x1449,0x33f69));const util=require('util'),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x385fb9(0x181)),{percyAutoCapture}=require(a30_0x385fb9(0x183)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require(a30_0x385fb9(0x19e)),{isTestObservabilitySession}=require(a30_0x385fb9(0x194)),PerformanceTester=require(a30_0x385fb9(0x197)),scripts=require(a30_0x385fb9(0x157)),globals=require(a30_0x385fb9(0x19c)),logger=require('../../helpers/logger')[a30_0x385fb9(0x18f)],{shouldProcessEventForTesthub}=require(a30_0x385fb9(0x17e)),testHubConstants=require('../../helpers/testhub/constants');exports[a30_0x385fb9(0x16c)]={'beforeAll'(){const _0x4f2cc9=a30_0x385fb9,_0x101aca={'vnNSb':function(_0x469bd8,_0x204f04,_0x578cdd,_0x521c56){return _0x469bd8(_0x204f04,_0x578cdd,_0x521c56);},'cgnRI':_0x4f2cc9(0x1a2),'VIukY':_0x4f2cc9(0x141),'vwdCB':function(_0x47e588,_0x40cd9b,_0x440810){return _0x47e588(_0x40cd9b,_0x440810);},'XSqbi':_0x4f2cc9(0x156),'BhLUI':function(_0x1c6a96){return _0x1c6a96();},'wkMPW':function(_0xb50909,_0xeb0a29,_0x46982f){return _0xb50909(_0xeb0a29,_0x46982f);}};PerformanceTester[_0x4f2cc9(0x138)]();const _0x199906='browserstack internal helper hook';global[_0x4f2cc9(0x177)]=[],global['__sessionFailed']=![],global[_0x4f2cc9(0x162)]=async()=>{const _0x4a2e1c=_0x4f2cc9;let _0x4494a3=![];try{await global[_0x4a2e1c(0x176)][0x0][_0x4a2e1c(0x13c)],_0x4494a3=!![],global[_0x4a2e1c(0x14f)]?await _0x101aca[_0x4a2e1c(0x137)](markSessionStatus,global[_0x4a2e1c(0x176)][0x0],_0x101aca[_0x4a2e1c(0x184)],global[_0x4a2e1c(0x177)][_0x4a2e1c(0x1a8)](_0x101aca['VIukY'])):await _0x101aca[_0x4a2e1c(0x18b)](markSessionStatus,global[_0x4a2e1c(0x176)][0x0],_0x101aca['XSqbi']);}catch(_0x2f3468){}global[_0x4a2e1c(0x177)]=[],global[_0x4a2e1c(0x14f)]=![];if(_0x4494a3)try{try{_0x101aca[_0x4a2e1c(0x158)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x101aca['wkMPW'](sendPlatformDetails,global[_0x4a2e1c(0x176)][0x0],this[_0x4a2e1c(0x17b)]?this[_0x4a2e1c(0x17b)]['testAnalyticsId']:null));}catch{}await global[_0x4a2e1c(0x176)][0x0][_0x4a2e1c(0x185)]();}catch(_0x1f40e2){}};},'beforeEach'(_0x7797d3){const _0x922765=a30_0x385fb9,_0x2a4cb6={'sbhdF':function(_0x50fb8a,_0x4fc33c){return _0x50fb8a>_0x4fc33c;},'mrmfT':_0x922765(0x161),'kAkOw':function(_0x286758,_0x55987b,_0x11e01e){return _0x286758(_0x55987b,_0x11e01e);},'umggA':_0x922765(0x1a1),'egBzj':function(_0x13d3b0){return _0x13d3b0();},'OiFxW':'isAccessibilityPlatform','TnCil':function(_0x4a65a0,_0x235201){return _0x4a65a0===_0x235201;},'Jtrzg':_0x922765(0x159),'uDtAw':_0x922765(0x164),'SaYDX':_0x922765(0x14a),'AYcwp':_0x922765(0x175)};new Promise(async _0x496c1c=>{const _0x254f8c=_0x922765,_0xbee5b8='browserstack internal helper hook';let _0x494ede=!![];try{_0x2a4cb6[_0x254f8c(0x174)](global[_0x254f8c(0x176)][_0x254f8c(0x16e)],0x1)&&(await global['driverCleanup'](),global[_0x254f8c(0x176)][_0x254f8c(0x13b)]()),_0x2a4cb6[_0x254f8c(0x174)](global['__drivers'][0x0]['quitCount_'],0x0)&&(_0x494ede=![],await global['driverCleanup']());}catch{}try{Array['isArray'](global[_0x254f8c(0x176)])&&global[_0x254f8c(0x176)][0x0]&&(global[_0x254f8c(0x176)][0x0]['browserstackSessionName']=this['currentTest'][_0x254f8c(0x149)]()[_0x254f8c(0x1a8)](_0x2a4cb6[_0x254f8c(0x17c)])),global['browserstackSessionName']=this[_0x254f8c(0x17b)]['titlePath']()[_0x254f8c(0x1a8)](_0x2a4cb6['mrmfT']);}catch(_0x19f797){logger[_0x254f8c(0x133)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x19f797);}this[_0x254f8c(0x17b)][_0x254f8c(0x140)]=_0x2a4cb6[_0x254f8c(0x134)](shouldScanTestForAccessibility,this['currentTest'][_0x254f8c(0x149)](),!![]),globals[_0x254f8c(0x13f)](_0x2a4cb6['umggA'],this[_0x254f8c(0x17b)][_0x254f8c(0x140)]),this['currentTest'][_0x254f8c(0x19b)]=!![];if(_0x2a4cb6[_0x254f8c(0x147)](isAccessibilityAutomationSession)&&_0x494ede&&Array[_0x254f8c(0x173)](global[_0x254f8c(0x176)])&&_0x2a4cb6[_0x254f8c(0x174)](global[_0x254f8c(0x176)][_0x254f8c(0x16e)],0x0)&&globals[_0x254f8c(0x160)](_0x2a4cb6[_0x254f8c(0x18a)]))try{const _0xbd30f4=await global[_0x254f8c(0x176)][0x0]['session_'];if(_0xbd30f4){let _0x4fec30=!![];const _0x55b2d5=await global[_0x254f8c(0x176)][0x0][_0x254f8c(0x186)]();let _0x2f733b;try{_0x2f733b=new URL(_0x55b2d5);}catch(_0x19f2ef){_0x4fec30=![];}_0x4fec30=_0x2a4cb6[_0x254f8c(0x196)](_0x2f733b[_0x254f8c(0x19d)],_0x2a4cb6[_0x254f8c(0x17d)])||_0x2a4cb6[_0x254f8c(0x196)](_0x2f733b[_0x254f8c(0x19d)],_0x2a4cb6['uDtAw']),_0x4fec30&&(this[_0x254f8c(0x17b)]['shouldScanTestForAccessibility']&&logger[_0x254f8c(0x1a0)](_0x2a4cb6['SaYDX'])),this[_0x254f8c(0x17b)][_0x254f8c(0x19b)]=this[_0x254f8c(0x17b)][_0x254f8c(0x140)],this[_0x254f8c(0x17b)][_0x254f8c(0x140)]&&logger['info'](_0x2a4cb6[_0x254f8c(0x151)]);}}catch(_0x363f47){logger[_0x254f8c(0x17a)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x254f8c(0x187)](_0x363f47));}_0x2a4cb6[_0x254f8c(0x147)](_0x496c1c);})[_0x922765(0x146)](_0x7797d3);},'afterEach'(_0x19a792){const _0x3e2392=a30_0x385fb9,_0x1c1c23={'PElQg':function(_0x1e35d7,_0x21fdb1){return _0x1e35d7>_0x21fdb1;},'FMhOF':function(_0x30a173,_0x7bd038){return _0x30a173===_0x7bd038;},'MlOXi':_0x3e2392(0x14c),'SdDpH':'appium:app','tjCnK':function(_0x5cd029,_0x2fe55f,_0x44695f,_0x4de4e5){return _0x5cd029(_0x2fe55f,_0x44695f,_0x4de4e5);},'ltnuv':'\x20-\x20','Egvzf':function(_0x40ee0b,_0x1b6613){return _0x40ee0b!==_0x1b6613;},'kgdtg':'passed','WiVVx':function(_0x4eef7d,_0x201384,_0x552d75){return _0x4eef7d(_0x201384,_0x552d75);},'nMdYf':function(_0x39787c,_0x4ac8fb){return _0x39787c+_0x4ac8fb;},'DRrca':_0x3e2392(0x188),'yGoxE':_0x3e2392(0x17a),'NRLsT':_0x3e2392(0x142),'wTbIX':_0x3e2392(0x1a0),'PDAtu':_0x3e2392(0x18e),'zsJVT':_0x3e2392(0x1a1),'Pjmak':_0x3e2392(0x189),'AJdUW':_0x3e2392(0x168),'ttGCm':_0x3e2392(0x199),'nVkPG':function(_0x452ac1){return _0x452ac1();},'pMzxK':function(_0x5cfd0d){return _0x5cfd0d();},'MPLVd':_0x3e2392(0x133),'yWmUC':function(_0x1d77fb,_0x1db630){return _0x1d77fb>_0x1db630;},'yuDRK':function(_0x1e66ec){return _0x1e66ec();}},_0x45d0bd='browserstack internal helper hook';this['timeout'](0xfde8);const _0x134f20=async(_0x28dcd1,_0x27b337)=>{const _0x158ea2=_0x3e2392;await global[_0x158ea2(0x176)][0x0][_0x158ea2(0x18d)](_0x158ea2(0x135)+_0x28dcd1+_0x158ea2(0x16f)+_0x27b337+'\x22}}');};new Promise(async _0x29839b=>{const _0x46fbe6=_0x3e2392;try{_0x1c1c23[_0x46fbe6(0x1a9)](global['__drivers'][_0x46fbe6(0x16e)],0x1)&&(await global[_0x46fbe6(0x162)](),global[_0x46fbe6(0x176)][_0x46fbe6(0x13b)](),global[_0x46fbe6(0x177)]=[],global[_0x46fbe6(0x14f)]=![]);try{if(global[_0x46fbe6(0x15f)]&&_0x1c1c23[_0x46fbe6(0x150)](global[_0x46fbe6(0x166)],_0x1c1c23[_0x46fbe6(0x16b)])&&global[_0x46fbe6(0x176)][0x0]){const _0x2227dd=_0x1c1c23[_0x46fbe6(0x1a9)](global[_0x46fbe6(0x13a)][_0x46fbe6(0x16e)],0x0)?!!global[_0x46fbe6(0x13a)][0x0][_0x46fbe6(0x179)]||!!global[_0x46fbe6(0x13a)][0x0][_0x1c1c23['SdDpH']]:![],_0x2d6c6d={};_0x2d6c6d[_0x46fbe6(0x179)]=_0x2227dd,await _0x1c1c23['tjCnK'](percyAutoCapture,global[_0x46fbe6(0x176)][0x0],_0x1c1c23['MlOXi'],_0x2d6c6d);}}catch(_0x252f88){}!global[_0x46fbe6(0x1a6)]&&(await global[_0x46fbe6(0x176)][0x0][_0x46fbe6(0x18d)](_0x46fbe6(0x198)+JSON[_0x46fbe6(0x19a)](this[_0x46fbe6(0x17b)]['titlePath']()[_0x46fbe6(0x1a8)](_0x1c1c23[_0x46fbe6(0x193)]))+'}}'),global[_0x46fbe6(0x176)][0x0]['sessionNameSet__']=!![]);const _0x1429ee=_0x1c1c23[_0x46fbe6(0x167)](this[_0x46fbe6(0x17b)][_0x46fbe6(0x1a3)],_0x1c1c23[_0x46fbe6(0x139)]);_0x1429ee?(global[_0x46fbe6(0x14f)]=!![],global[_0x46fbe6(0x177)][_0x46fbe6(0x144)](this['currentTest']['err'][_0x46fbe6(0x14e)]),await _0x1c1c23[_0x46fbe6(0x171)](_0x134f20,JSON['stringify'](_0x1c1c23[_0x46fbe6(0x1a4)](_0x1c1c23[_0x46fbe6(0x172)],this[_0x46fbe6(0x17b)][_0x46fbe6(0x165)][_0x46fbe6(0x14e)])),_0x1c1c23['yGoxE'])):await _0x1c1c23['WiVVx'](_0x134f20,JSON['stringify'](_0x1c1c23[_0x46fbe6(0x169)]),_0x1c1c23[_0x46fbe6(0x148)]);}catch(_0x41fc8a){}try{if(this['currentTest'][_0x46fbe6(0x19b)]&&globals[_0x46fbe6(0x160)](_0x1c1c23['PDAtu'])&&globals[_0x46fbe6(0x160)](_0x1c1c23[_0x46fbe6(0x163)])){logger['info'](_0x1c1c23[_0x46fbe6(0x16d)]);const _0x57b7ad={};_0x57b7ad[_0x46fbe6(0x190)]=this[_0x46fbe6(0x17b)][_0x46fbe6(0x17f)],_0x57b7ad['thBuildUuid']=process[_0x46fbe6(0x1a7)][testHubConstants[_0x46fbe6(0x152)]['BROWSERSTACK_TESTHUB_UUID']],_0x57b7ad[_0x46fbe6(0x155)]=process[_0x46fbe6(0x1a7)][testHubConstants[_0x46fbe6(0x152)][_0x46fbe6(0x195)]];const _0x3f8b07=_0x57b7ad;logger[_0x46fbe6(0x133)](_0x46fbe6(0x143)+JSON[_0x46fbe6(0x19a)](_0x3f8b07)),logger[_0x46fbe6(0x133)](_0x1c1c23[_0x46fbe6(0x16a)]),logger[_0x46fbe6(0x133)](util[_0x46fbe6(0x187)](await global[_0x46fbe6(0x176)][0x0][_0x46fbe6(0x15c)](scripts['performScan'],{'method':global[_0x46fbe6(0x18c)]}))),await global[_0x46fbe6(0x176)][0x0]['executeAsyncScript'](scripts['saveTestResults'],_0x3f8b07),logger[_0x46fbe6(0x1a0)](_0x1c1c23[_0x46fbe6(0x15e)]);}}catch(_0x19c60e){logger['error'](_0x46fbe6(0x191)+this[_0x46fbe6(0x17b)][_0x46fbe6(0x149)]()+_0x46fbe6(0x15a),_0x19c60e);}try{try{if(_0x1c1c23[_0x46fbe6(0x14d)](shouldProcessEventForTesthub)){global[_0x46fbe6(0x176)][0x0]&&await _0x1c1c23[_0x46fbe6(0x171)](sendPlatformDetails,global[_0x46fbe6(0x176)][0x0],this[_0x46fbe6(0x17b)]?this[_0x46fbe6(0x17b)][_0x46fbe6(0x17f)]:null);if(_0x1c1c23['pMzxK'](isBrowserstackInfra)){const _0x37228c='ObservabilitySync:'+Date[_0x46fbe6(0x170)]();await _0x1c1c23[_0x46fbe6(0x171)](_0x134f20,JSON[_0x46fbe6(0x19a)](_0x37228c),_0x1c1c23['MPLVd']);}}}catch{}_0x1c1c23[_0x46fbe6(0x14b)](global[_0x46fbe6(0x176)][0x0][_0x46fbe6(0x136)],0x0)&&await global[_0x46fbe6(0x162)]();}catch(_0x134d31){}_0x1c1c23[_0x46fbe6(0x154)](_0x29839b);})[_0x3e2392(0x146)](()=>_0x19a792());},'afterAll'(_0x3e2498){const _0x46dc0d=a30_0x385fb9,_0x3ee7a7={'EGxKM':function(_0x4bfe57){return _0x4bfe57();}},_0x2de900='browserstack internal helper hook';this[_0x46dc0d(0x15b)](0xfde8),new Promise(async _0x854191=>{const _0x3fdb1c=_0x46dc0d;PerformanceTester[_0x3fdb1c(0x1a5)](),await global['driverCleanup'](),_0x3ee7a7[_0x3fdb1c(0x145)](_0x854191);})[_0x46dc0d(0x146)](()=>_0x3e2498());}};function a30_0x20a1(_0x41fb27,_0x3fb192){const _0x14490c=a30_0x1449();return a30_0x20a1=function(_0x20a139,_0x410f0a){_0x20a139=_0x20a139-0x133;let _0x1c5e18=_0x14490c[_0x20a139];return _0x1c5e18;},a30_0x20a1(_0x41fb27,_0x3fb192);}function a30_0x1449(){const _0x3048e3=['419628ISheUV','yuDRK','thJwtToken','passed','../../helpers/accessibility-automation/scripts','BhLUI','http:','.\x20Error\x20:','timeout','executeAsyncScript','330043PRESwU','ttGCm','percy','getGlobal','\x20-\x20','driverCleanup','zsJVT','https:','err','percyCaptureMode','Egvzf','Performing\x20scan\x20before\x20saving\x20results','NRLsT','AJdUW','MlOXi','mochaHooks','Pjmak','length',',\x22level\x22:\x20\x22','now','WiVVx','DRrca','isArray','sbhdF','Automate\x20test\x20case\x20execution\x20has\x20started.','__drivers','__error_messages__','198wyufno','app','error','currentTest','mrmfT','Jtrzg','../../helpers/testhub/utils','testAnalyticsId','2xgOPFP','../../helpers/accessibility-automation/helper','4099923qCgWyA','../../helpers/percy/utils','cgnRI','initQuit','getCurrentUrl','format','Failed:\x20','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','OiFxW','vwdCB','browserstackSessionName','executeScript','isAccessibilityPlatform','winstonLogger','thTestRunUuid','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','2923256noFLwp','ltnuv','../../helpers/test-observability/utils','BROWSERSTACK_TESTHUB_JWT','TnCil','../../helpers/performance-tester','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','stringify','accessibilityScanStarted','../../helpers/globals','protocol','../../helpers/helper','2165008QBWSdz','info','bstackA11yShouldScan','failed','state','nMdYf','stopMonitoring','__skipSessionName','env','join','PElQg','debug','kAkOw','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','quitCount_','vnNSb','startMonitoring','kgdtg','capabilities','shift','session_','808595paXJsa','4760BwkwEd','setGlobal','shouldScanTestForAccessibility','\x20|\x20','Passed','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','push','EGxKM','then','egBzj','wTbIX','titlePath','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','yWmUC','testcase','nVkPG','message','__sessionFailed','FMhOF','AYcwp','ENV_VAR'];a30_0x1449=function(){return _0x3048e3;};return a30_0x1449();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a31_0x2e08cc=a31_0x2c0d;(function(_0x52a4e7,_0x55bb37){const _0x2fe562=a31_0x2c0d,_0x50e988=_0x52a4e7();while(!![]){try{const _0x3fb382=-parseInt(_0x2fe562(0xa4))/0x1+parseInt(_0x2fe562(0x98))/0x2+parseInt(_0x2fe562(0xb3))/0x3+-parseInt(_0x2fe562(0xaa))/0x4*(-parseInt(_0x2fe562(0xa2))/0x5)+-parseInt(_0x2fe562(0xa7))/0x6*(parseInt(_0x2fe562(0xb8))/0x7)+-parseInt(_0x2fe562(0x78))/0x8*(parseInt(_0x2fe562(0x89))/0x9)+-parseInt(_0x2fe562(0x77))/0xa*(-parseInt(_0x2fe562(0x72))/0xb);if(_0x3fb382===_0x55bb37)break;else _0x50e988['push'](_0x50e988['shift']());}catch(_0x358071){_0x50e988['push'](_0x50e988['shift']());}}}(a31_0x16e9,0xb7397));function a31_0x16e9(){const _0xa1ae2c=['host','stringify','DjoLf','winstonLogger','writeFileSync','path','../../helpers/BrowserStackSetup','304025RujMsj','OSPRQ','1012548gPZwVQ','inherit','child_process','210yAwQAh','length','gVGkC','36KCXxSH','IMwWx','hdUal','platform','uxAXc','MvrIE','child\x20process\x20exited\x20with\x20code\x20','cwd','test','1343937MYLLuF','CzXCU','desiredCapabilities','config','test_settings','18242EISwJt','Twvkj','findIndex','trim','close','11AIuNqj','existsSync','../../helpers/helper','nightwatch','isUndefined','6069670lzfgHG','968PhXfRk','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','forEach','exports','splice','port','webdriver','EqGzr','filter','info','join','map','SbHlS','tbGeG','ONuoH','hub.browserstack.com','--config','63387QZhzbk','env','start_process','platforms','slice','unlinkSync','nightwatch.cmd','nightwatch-browserstack.json','bpDAE','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','nightwatch.conf.js','--env','push','VVsmS','wLAUR','2208514AowinN','XsruQ','selenium'];a31_0x16e9=function(){return _0xa1ae2c;};return a31_0x16e9();}function a31_0x2c0d(_0x4b489d,_0x1f438a){const _0x16e94d=a31_0x16e9();return a31_0x2c0d=function(_0x2c0de5,_0x55c016){_0x2c0de5=_0x2c0de5-0x72;let _0x3953dd=_0x16e94d[_0x2c0de5];return _0x3953dd;},a31_0x2c0d(_0x4b489d,_0x1f438a);}const fs=require('fs'),path=require(a31_0x2e08cc(0xa0)),{spawn}=require(a31_0x2e08cc(0xa6)),logger=require('../../helpers/logger')[a31_0x2e08cc(0x9e)],{default:BrowserStackSetup}=require(a31_0x2e08cc(0xa1)),helper=require(a31_0x2e08cc(0x74)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x456fdb,_0x29be06)=>{const _0x259b27=a31_0x2e08cc,_0x40f316={'ONuoH':_0x259b27(0x93),'hdUal':'nightwatch.json','wLAUR':function(_0x1aa25b,_0x5f5d4b){return _0x1aa25b(_0x5f5d4b);},'EqGzr':_0x259b27(0x92)};let _0x4058c1=null,_0x5f3476={};const _0xa8316d=_0x29be06[_0x259b27(0xba)](_0x428bb2=>_0x428bb2===_0x259b27(0x88));if(!helper[_0x259b27(0x76)](_0x456fdb[_0x259b27(0xb6)])&&fs[_0x259b27(0x73)](path['join'](process['cwd'](),_0x456fdb['config'])))_0x4058c1=path[_0x259b27(0x82)](process[_0x259b27(0xb1)](),_0x456fdb['config']),_0x29be06[_0x259b27(0x7c)](_0xa8316d,0x2);else{if(fs['existsSync'](path[_0x259b27(0x82)](process['cwd'](),_0x40f316[_0x259b27(0x86)])))_0x4058c1=path[_0x259b27(0x82)](process[_0x259b27(0xb1)](),_0x40f316['ONuoH']);else fs[_0x259b27(0x73)](path[_0x259b27(0x82)](process[_0x259b27(0xb1)](),_0x40f316['hdUal']))&&(_0x4058c1=path[_0x259b27(0x82)](process[_0x259b27(0xb1)](),_0x40f316[_0x259b27(0xac)]));}return _0x4058c1?(logger[_0x259b27(0x81)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x4058c1),_0x5f3476=_0x40f316[_0x259b27(0x97)](require,_0x4058c1)):logger[_0x259b27(0x81)](_0x40f316[_0x259b27(0x7f)]),_0x5f3476;},removeExistingEnvs=_0x2e74d7=>{const _0xaff5f=a31_0x2e08cc,_0xe89ef6={};_0xe89ef6[_0xaff5f(0x96)]=function(_0x195bd9,_0x2b3a33){return _0x195bd9>_0x2b3a33;};const _0xd3122a=_0xe89ef6;let _0x4da780=_0x2e74d7[_0xaff5f(0xba)](_0x1541fe=>_0x1541fe===_0xaff5f(0x94));_0xd3122a[_0xaff5f(0x96)](_0x4da780,-0x1)&&_0x2e74d7[_0xaff5f(0x7c)](_0x4da780,0x2),_0x4da780=_0x2e74d7[_0xaff5f(0xba)](_0x6c9417=>_0x6c9417==='-e'),_0xd3122a[_0xaff5f(0x96)](_0x4da780,-0x1)&&_0x2e74d7[_0xaff5f(0x7c)](_0x4da780,0x2);};function run(_0x48b4ae,_0x481628){const _0x1998f1=a31_0x2e08cc,_0x35519b={'uxAXc':_0x1998f1(0x75),'tbGeG':function(_0x594353,_0x468da0){return _0x594353+_0x468da0;},'vwybu':'test_settings','bpDAE':function(_0xfb83be,_0x3c2f2d,_0x310738){return _0xfb83be(_0x3c2f2d,_0x310738);},'IMwWx':_0x1998f1(0x87),'CzXCU':_0x1998f1(0x79),'OSPRQ':function(_0x5ec17c,_0x327b5c){return _0x5ec17c===_0x327b5c;},'DjoLf':_0x1998f1(0x90),'Twvkj':function(_0x50adca,_0x19e858){return _0x50adca(_0x19e858);},'SbHlS':function(_0x9cb3bc,_0x2f6ea5,_0x5c3528,_0x19a6a){return _0x9cb3bc(_0x2f6ea5,_0x5c3528,_0x19a6a);},'VzAuS':_0x1998f1(0x8f),'gVGkC':'--config','MvrIE':_0x1998f1(0x94),'XsruQ':_0x1998f1(0xa5),'JIZUL':_0x1998f1(0xbc)},_0x155d95=new BrowserStackSetup(_0x48b4ae);if(!_0x155d95[_0x1998f1(0xb6)])return;const _0x391f1f=_0x35519b[_0x1998f1(0x91)](getUserNightwatchConfigs,_0x48b4ae,_0x481628),_0x4f191b={};_0x4f191b[_0x1998f1(0x8b)]=![];const _0x342f49={};_0x342f49[_0x1998f1(0x9b)]=_0x35519b[_0x1998f1(0xab)],_0x342f49[_0x1998f1(0x7d)]=0x1bb;const _0x3ada67={};_0x3ada67[_0x1998f1(0x7e)]=_0x4f191b,_0x3ada67[_0x1998f1(0x9a)]=_0x342f49;const _0x7caaa1=_0x3ada67;logger[_0x1998f1(0x81)](_0x35519b[_0x1998f1(0xb4)]);const _0x1eeb17={..._0x391f1f},_0x11520d=_0x1eeb17,_0x442b9d=helper['useW3C'](_0x155d95[_0x1998f1(0xb6)]),_0x157496=[];_0x155d95[_0x1998f1(0xb6)][_0x1998f1(0x8c)]['forEach']((_0x18b3c9,_0x279fc4)=>{const _0x323bc6=_0x1998f1;_0x442b9d?_0x157496[_0x323bc6(0x95)](helper['modifyBrowserStackW3CCaps'](_0x155d95[_0x323bc6(0xb6)],_0x35519b[_0x323bc6(0xae)],_0x279fc4)):_0x157496[_0x323bc6(0x95)](helper['modifyBrowserStackCaps'](_0x155d95[_0x323bc6(0xb6)],_0x35519b['uxAXc'],_0x279fc4));});const _0x4fe9da={},_0x2a6c83=[];_0x48b4ae['env']=_0x48b4ae[_0x1998f1(0x8a)]||_0x48b4ae['e'];const _0x519acc=_0x48b4ae[_0x1998f1(0x8a)]?_0x48b4ae['env']['trim']()['split'](',')[_0x1998f1(0x83)](_0x64e1ba=>_0x64e1ba[_0x1998f1(0xbb)]())[_0x1998f1(0x80)](_0x191fa6=>_0x191fa6!==''):[''];_0x35519b[_0x1998f1(0xa3)](_0x519acc[_0x1998f1(0xa8)],0x0)&&_0x519acc[_0x1998f1(0x95)]('');_0x519acc[_0x1998f1(0x7a)](_0x1e9981=>{const _0x5ec948={'YrrYu':function(_0x4d1eee,_0xcec38f){const _0x3902eb=a31_0x2c0d;return _0x35519b[_0x3902eb(0x85)](_0x4d1eee,_0xcec38f);},'GCOjz':_0x35519b['vwybu']};_0x157496['forEach'](_0x109148=>{const _0x3b55b0=a31_0x2c0d;let _0x32a47d=_0x5ec948['YrrYu'](helper['getPlatformName'](_0x109148,'_'),'_'+Date['now']());_0x1e9981&&(_0x32a47d+='_'+_0x1e9981);if(_0x1e9981&&(!_0x391f1f[_0x5ec948['GCOjz']]||!_0x391f1f[_0x5ec948['GCOjz']][_0x1e9981]))return;const _0x1e17b9={..._0x7caaa1};_0x1e17b9[_0x3b55b0(0xb5)]=_0x109148;const _0x356966=_0x1e17b9;_0x4fe9da[_0x32a47d]=_0x1e9981?helper['mergeDeep'](_0x391f1f[_0x5ec948['GCOjz']][_0x1e9981],_0x356966):_0x356966,_0x2a6c83['push'](_0x32a47d);});});!_0x11520d[_0x1998f1(0xb7)]&&(_0x11520d[_0x1998f1(0xb7)]={});_0x11520d[_0x1998f1(0xb7)]={..._0x11520d[_0x1998f1(0xb7)],..._0x4fe9da};const _0x206ac8=path['join'](__dirname,_0x35519b[_0x1998f1(0x9d)]);fs[_0x1998f1(0x9f)](_0x206ac8,JSON[_0x1998f1(0x9c)](_0x11520d)),_0x35519b[_0x1998f1(0xb9)](removeExistingEnvs,_0x481628);const _0x41afb1=_0x35519b[_0x1998f1(0x84)](spawn,/^win/[_0x1998f1(0xb2)](process[_0x1998f1(0xad)])?_0x35519b['VzAuS']:_0x35519b['uxAXc'],[_0x35519b[_0x1998f1(0xa9)],_0x206ac8,..._0x481628[_0x1998f1(0x8d)](0x1),_0x35519b[_0x1998f1(0xaf)],_0x2a6c83[_0x1998f1(0x82)](',')],{'stdio':_0x35519b[_0x1998f1(0x99)]});_0x41afb1['on'](_0x35519b['JIZUL'],async _0x149f8b=>{const _0x20c325=_0x1998f1;logger['debug'](_0x20c325(0xb0)+_0x149f8b),logger[_0x20c325(0x81)]('Deleting\x20'+_0x206ac8),fs[_0x20c325(0x8e)](_0x206ac8);});}module[a31_0x2e08cc(0x7b)]=run;
2
+ 'use strict';function a31_0x5212(_0x5b8f89,_0x3b83a7){const _0x31ab89=a31_0x31ab();return a31_0x5212=function(_0x521222,_0x43f02f){_0x521222=_0x521222-0xe0;let _0x19917c=_0x31ab89[_0x521222];return _0x19917c;},a31_0x5212(_0x5b8f89,_0x3b83a7);}const a31_0x14e253=a31_0x5212;(function(_0x2f572c,_0x2e5571){const _0x1f4c18=a31_0x5212,_0x12e519=_0x2f572c();while(!![]){try{const _0x449c13=-parseInt(_0x1f4c18(0x107))/0x1*(-parseInt(_0x1f4c18(0xea))/0x2)+-parseInt(_0x1f4c18(0xe4))/0x3*(-parseInt(_0x1f4c18(0x123))/0x4)+parseInt(_0x1f4c18(0xed))/0x5+parseInt(_0x1f4c18(0xf4))/0x6*(parseInt(_0x1f4c18(0x108))/0x7)+parseInt(_0x1f4c18(0xff))/0x8+-parseInt(_0x1f4c18(0x10e))/0x9+-parseInt(_0x1f4c18(0xe9))/0xa;if(_0x449c13===_0x2e5571)break;else _0x12e519['push'](_0x12e519['shift']());}catch(_0x27ab27){_0x12e519['push'](_0x12e519['shift']());}}}(a31_0x31ab,0x5f69b));function a31_0x31ab(){const _0x12b0a8=['aFPjg','modifyBrowserStackW3CCaps','Getting\x20your\x20nightwatch\x20configs\x20from\x20','56123ODtpiz','28pkSZkI','xElDa','split','writeFileSync','msvPo','mergeDeep','2194209byycoo','push','port','--config','nightwatch','cwd','winstonLogger','path','--env','MYveB','info','../utils/constants','ZsrRa','KCQBU','ALxgh','test_settings','host','slice','debug','trim','child\x20process\x20exited\x20with\x20code\x20','8iJPWgS','platforms','test','isUndefined','SeRhW','length','../../helpers/logger','XrdXz','forEach','nightwatch.conf.js','nightwatch.json','modifyBrowserStackCaps','filter','nightwatch.cmd','splice','KVzaJ','EGKFx','174444auTRaE','getPlatformName','MVnVZ','hub.browserstack.com','inherit','11312720EaCAdN','22fkyoeK','join','ROzms','1230395LAEklK','useW3C','yZrwT','findIndex','existsSync','webdriver','../../helpers/BrowserStackSetup','153096AKUjFA','GYPPy','vVdhV','fNvGq','platform','Deleting\x20','oCUXd','now','ewaKS','../../helpers/helper','config','5472736FtLuqh','selenium','env','unlinkSync','bEJoD'];a31_0x31ab=function(){return _0x12b0a8;};return a31_0x31ab();}const fs=require('fs'),path=require(a31_0x14e253(0x115)),{spawn}=require('child_process'),logger=require(a31_0x14e253(0x129))[a31_0x14e253(0x114)],{default:BrowserStackSetup}=require(a31_0x14e253(0xf3)),helper=require(a31_0x14e253(0xfd)),constants=require(a31_0x14e253(0x119)),getUserNightwatchConfigs=(_0x45ae60,_0x4487a8)=>{const _0x17a582=a31_0x14e253,_0x3a1b4e={'yZrwT':_0x17a582(0x12c),'KCQBU':_0x17a582(0x12d),'jBmmc':function(_0x4e4b37,_0x44d5d8){return _0x4e4b37(_0x44d5d8);},'fNvGq':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x51e7af=null,_0x211ff0={};const _0x1c8cad=_0x4487a8[_0x17a582(0xf0)](_0x498d32=>_0x498d32===_0x17a582(0x111));if(!helper[_0x17a582(0x126)](_0x45ae60[_0x17a582(0xfe)])&&fs[_0x17a582(0xf1)](path['join'](process['cwd'](),_0x45ae60['config'])))_0x51e7af=path[_0x17a582(0xeb)](process[_0x17a582(0x113)](),_0x45ae60['config']),_0x4487a8[_0x17a582(0xe1)](_0x1c8cad,0x2);else{if(fs[_0x17a582(0xf1)](path[_0x17a582(0xeb)](process['cwd'](),_0x3a1b4e[_0x17a582(0xef)])))_0x51e7af=path[_0x17a582(0xeb)](process[_0x17a582(0x113)](),_0x3a1b4e[_0x17a582(0xef)]);else fs[_0x17a582(0xf1)](path['join'](process['cwd'](),_0x3a1b4e['KCQBU']))&&(_0x51e7af=path['join'](process[_0x17a582(0x113)](),_0x3a1b4e[_0x17a582(0x11b)]));}return _0x51e7af?(logger['info'](_0x17a582(0x106)+_0x51e7af),_0x211ff0=_0x3a1b4e['jBmmc'](require,_0x51e7af)):logger[_0x17a582(0x118)](_0x3a1b4e[_0x17a582(0xf7)]),_0x211ff0;},removeExistingEnvs=_0x4e0612=>{const _0x5bee1a=a31_0x14e253,_0x23d475={};_0x23d475[_0x5bee1a(0xec)]=function(_0x4889b3,_0x1271c7){return _0x4889b3>_0x1271c7;},_0x23d475[_0x5bee1a(0x10c)]=function(_0x17a258,_0x1d1bd4){return _0x17a258>_0x1d1bd4;};const _0x2112f6=_0x23d475;let _0x4586c9=_0x4e0612[_0x5bee1a(0xf0)](_0x2af8bf=>_0x2af8bf==='--env');_0x2112f6[_0x5bee1a(0xec)](_0x4586c9,-0x1)&&_0x4e0612[_0x5bee1a(0xe1)](_0x4586c9,0x2),_0x4586c9=_0x4e0612[_0x5bee1a(0xf0)](_0x349030=>_0x349030==='-e'),_0x2112f6[_0x5bee1a(0x10c)](_0x4586c9,-0x1)&&_0x4e0612['splice'](_0x4586c9,0x2);};function run(_0x53a266,_0x2ea320){const _0x1a2fdc=a31_0x14e253,_0x36615d={'vVdhV':_0x1a2fdc(0x112),'jAZuJ':function(_0xaad12d,_0x25880e){return _0xaad12d+_0x25880e;},'aFPjg':_0x1a2fdc(0x11d),'ZsrRa':function(_0x5c263d,_0x5ddea5,_0x389d5a){return _0x5c263d(_0x5ddea5,_0x389d5a);},'XrdXz':_0x1a2fdc(0xe7),'oCUXd':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','sqfIw':function(_0x554381,_0x4459bb){return _0x554381===_0x4459bb;},'MYveB':'nightwatch-browserstack.json','xElDa':function(_0xf61939,_0x1eec85){return _0xf61939(_0x1eec85);},'KVzaJ':function(_0x2dbc46,_0x5083ac,_0x1a2072,_0x3c4367){return _0x2dbc46(_0x5083ac,_0x1a2072,_0x3c4367);},'SeRhW':_0x1a2fdc(0xe0),'EGKFx':_0x1a2fdc(0x111),'bEJoD':_0x1a2fdc(0x116),'ALxgh':_0x1a2fdc(0xe8),'GYPPy':'close'},_0x5bdd7b=new BrowserStackSetup(_0x53a266);if(!_0x5bdd7b[_0x1a2fdc(0xfe)])return;const _0x120c1f=_0x36615d[_0x1a2fdc(0x11a)](getUserNightwatchConfigs,_0x53a266,_0x2ea320),_0xb37b14={};_0xb37b14['start_process']=![];const _0x110ab8={};_0x110ab8[_0x1a2fdc(0x11e)]=_0x36615d[_0x1a2fdc(0x12a)],_0x110ab8[_0x1a2fdc(0x110)]=0x1bb;const _0x12ef41={};_0x12ef41[_0x1a2fdc(0xf2)]=_0xb37b14,_0x12ef41[_0x1a2fdc(0x100)]=_0x110ab8;const _0xa90b9b=_0x12ef41;logger[_0x1a2fdc(0x118)](_0x36615d[_0x1a2fdc(0xfa)]);const _0x243488={..._0x120c1f},_0xdbd50e=_0x243488,_0x6042a6=helper[_0x1a2fdc(0xee)](_0x5bdd7b[_0x1a2fdc(0xfe)]),_0x4563be=[];_0x5bdd7b[_0x1a2fdc(0xfe)][_0x1a2fdc(0x124)][_0x1a2fdc(0x12b)]((_0x515e13,_0x1d0800)=>{const _0x14354c=_0x1a2fdc;_0x6042a6?_0x4563be[_0x14354c(0x10f)](helper[_0x14354c(0x105)](_0x5bdd7b[_0x14354c(0xfe)],_0x36615d[_0x14354c(0xf6)],_0x1d0800)):_0x4563be['push'](helper[_0x14354c(0x12e)](_0x5bdd7b['config'],_0x36615d[_0x14354c(0xf6)],_0x1d0800));});const _0x4c4bca={},_0x2e8733=[];_0x53a266[_0x1a2fdc(0x101)]=_0x53a266['env']||_0x53a266['e'];const _0x183a19=_0x53a266['env']?_0x53a266[_0x1a2fdc(0x101)][_0x1a2fdc(0x121)]()[_0x1a2fdc(0x10a)](',')['map'](_0x5889ce=>_0x5889ce['trim']())[_0x1a2fdc(0x12f)](_0x3d0fb6=>_0x3d0fb6!==''):[''];_0x36615d['sqfIw'](_0x183a19[_0x1a2fdc(0x128)],0x0)&&_0x183a19['push']('');_0x183a19['forEach'](_0x11177c=>{const _0x4a5b46=_0x1a2fdc,_0x1bb23a={'ewaKS':function(_0x47108e,_0x25f4c8){return _0x36615d['jAZuJ'](_0x47108e,_0x25f4c8);},'MVnVZ':_0x36615d[_0x4a5b46(0x104)]};_0x4563be[_0x4a5b46(0x12b)](_0x29b0dc=>{const _0x485050=_0x4a5b46;let _0x4f3183=_0x1bb23a[_0x485050(0xfc)](helper[_0x485050(0xe5)](_0x29b0dc,'_'),'_'+Date[_0x485050(0xfb)]());_0x11177c&&(_0x4f3183+='_'+_0x11177c);if(_0x11177c&&(!_0x120c1f[_0x1bb23a[_0x485050(0xe6)]]||!_0x120c1f[_0x1bb23a['MVnVZ']][_0x11177c]))return;const _0xceb15a={..._0xa90b9b};_0xceb15a['desiredCapabilities']=_0x29b0dc;const _0x4f73af=_0xceb15a;_0x4c4bca[_0x4f3183]=_0x11177c?helper[_0x485050(0x10d)](_0x120c1f[_0x1bb23a[_0x485050(0xe6)]][_0x11177c],_0x4f73af):_0x4f73af,_0x2e8733['push'](_0x4f3183);});});!_0xdbd50e[_0x1a2fdc(0x11d)]&&(_0xdbd50e[_0x1a2fdc(0x11d)]={});_0xdbd50e[_0x1a2fdc(0x11d)]={..._0xdbd50e[_0x1a2fdc(0x11d)],..._0x4c4bca};const _0x3c1657=path['join'](__dirname,_0x36615d[_0x1a2fdc(0x117)]);fs[_0x1a2fdc(0x10b)](_0x3c1657,JSON['stringify'](_0xdbd50e)),_0x36615d[_0x1a2fdc(0x109)](removeExistingEnvs,_0x2ea320);const _0x4d246f=_0x36615d[_0x1a2fdc(0xe2)](spawn,/^win/[_0x1a2fdc(0x125)](process[_0x1a2fdc(0xf8)])?_0x36615d[_0x1a2fdc(0x127)]:_0x36615d[_0x1a2fdc(0xf6)],[_0x36615d[_0x1a2fdc(0xe3)],_0x3c1657,..._0x2ea320[_0x1a2fdc(0x11f)](0x1),_0x36615d[_0x1a2fdc(0x103)],_0x2e8733['join'](',')],{'stdio':_0x36615d[_0x1a2fdc(0x11c)]});_0x4d246f['on'](_0x36615d[_0x1a2fdc(0xf5)],async _0x586a42=>{const _0x36c7a8=_0x1a2fdc;logger[_0x36c7a8(0x120)](_0x36c7a8(0x122)+_0x586a42),logger[_0x36c7a8(0x118)](_0x36c7a8(0xf9)+_0x3c1657),fs[_0x36c7a8(0x102)](_0x3c1657);});}module['exports']=run;
@@ -1 +1 @@
1
- const a32_0x528607=a32_0x2564;(function(_0x32f196,_0x53a9f8){const _0x2ed80b=a32_0x2564,_0x1d0105=_0x32f196();while(!![]){try{const _0x1dcf54=-parseInt(_0x2ed80b(0x1d0))/0x1+-parseInt(_0x2ed80b(0x213))/0x2+parseInt(_0x2ed80b(0x1d1))/0x3+parseInt(_0x2ed80b(0x1e0))/0x4+-parseInt(_0x2ed80b(0x1fe))/0x5+parseInt(_0x2ed80b(0x21b))/0x6+parseInt(_0x2ed80b(0x1d5))/0x7*(parseInt(_0x2ed80b(0x209))/0x8);if(_0x1dcf54===_0x53a9f8)break;else _0x1d0105['push'](_0x1d0105['shift']());}catch(_0x3e3c77){_0x1d0105['push'](_0x1d0105['shift']());}}}(a32_0x12c2,0x40f48));const util=require(a32_0x528607(0x226)),logger=require(a32_0x528607(0x1f0))['winstonLogger'],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a32_0x528607(0x210)),scripts=require('../../helpers/accessibility-automation/scripts');function a32_0x2564(_0x29c785,_0x24243a){const _0x12c238=a32_0x12c2();return a32_0x2564=function(_0x2564d5,_0x11e1be){_0x2564d5=_0x2564d5-0x1bd;let _0x553978=_0x12c238[_0x2564d5];return _0x553978;},a32_0x2564(_0x29c785,_0x24243a);}exports['browserStackEvaluate']=async(_0x13eda4,_0x1a6147,_0x296d4c={})=>{const _0x3a621f=a32_0x528607,_0x23f7f3={};_0x23f7f3['pGpyb']='bstackSdkArgs';const _0x40cdf7=_0x23f7f3;return await _0x13eda4['evaluate']('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x1a6147[_0x3a621f(0x1da)](/arguments/g,_0x40cdf7[_0x3a621f(0x1be)])+_0x3a621f(0x1e2)+JSON['stringify'](_0x296d4c)+')');},exports[a32_0x528607(0x1fc)]=async(_0x4d5a3c,_0x507289,_0xe56839={})=>{const _0x3f62dc=a32_0x528607,_0x57208d={};_0x57208d['BUdoq']=function(_0xa13fe4,_0x1a231c){return _0xa13fe4===_0x1a231c;},_0x57208d[_0x3f62dc(0x216)]=_0x3f62dc(0x21e),_0x57208d[_0x3f62dc(0x1d8)]=function(_0x5d0f21,_0x567118){return _0x5d0f21===_0x567118;},_0x57208d[_0x3f62dc(0x1d3)]=_0x3f62dc(0x1e4),_0x57208d['cOhTr']=_0x3f62dc(0x20f);const _0x59219a=_0x57208d;if(_0x59219a[_0x3f62dc(0x1c7)](_0x4d5a3c['constructor'][_0x3f62dc(0x204)],_0x59219a[_0x3f62dc(0x216)]))return await _0x4d5a3c['executeAsyncScript'](_0x507289,_0xe56839);else{if(_0x59219a[_0x3f62dc(0x1d8)](_0x4d5a3c['constructor'][_0x3f62dc(0x204)],_0x59219a[_0x3f62dc(0x1d3)]))return await _0x4d5a3c[_0x3f62dc(0x205)](_0x3f62dc(0x1c0)+_0x507289[_0x3f62dc(0x1da)](/arguments/g,_0x59219a[_0x3f62dc(0x20d)])+_0x3f62dc(0x225)+JSON[_0x3f62dc(0x1f9)](_0xe56839)+')');}},exports[a32_0x528607(0x203)]=async _0x12d888=>{const _0x3e158c=a32_0x528607,_0x1145b9={};_0x1145b9[_0x3e158c(0x1e9)]=_0x3e158c(0x1db),_0x1145b9[_0x3e158c(0x1ee)]=_0x3e158c(0x1f5),_0x1145b9[_0x3e158c(0x1f7)]=_0x3e158c(0x221),_0x1145b9[_0x3e158c(0x212)]=_0x3e158c(0x1ed),_0x1145b9[_0x3e158c(0x1c6)]=_0x3e158c(0x201),_0x1145b9[_0x3e158c(0x21c)]=_0x3e158c(0x214);const _0x17e874=_0x1145b9;_0x12d888[_0x3e158c(0x223)]&&(_0x12d888['accessibilityOptions']['wcagVersion']&&(_0x12d888[_0x17e874[_0x3e158c(0x1e9)]]=_0x12d888[_0x3e158c(0x223)]['wcagVersion']),_0x12d888[_0x3e158c(0x223)][_0x3e158c(0x1c9)]&&(_0x12d888[_0x17e874[_0x3e158c(0x1ee)]]=_0x12d888[_0x3e158c(0x223)][_0x3e158c(0x1c9)]),_0x12d888[_0x3e158c(0x223)][_0x3e158c(0x1f1)]&&(_0x12d888[_0x17e874['rblvG']]=_0x12d888[_0x3e158c(0x223)]['includeIssueType'][_0x3e158c(0x20b)],_0x12d888[_0x17e874['ERQPV']]=_0x12d888[_0x3e158c(0x223)][_0x3e158c(0x1f1)]['needsReview']));const _0x6f5e69=JSON[_0x3e158c(0x224)](process[_0x3e158c(0x218)][_0x3e158c(0x1fd)])[_0x3e158c(0x1e8)];_0x12d888[_0x17e874[_0x3e158c(0x1c6)]]=process[_0x3e158c(0x218)][_0x3e158c(0x1f8)],_0x12d888[_0x17e874[_0x3e158c(0x21c)]]=_0x6f5e69,delete _0x12d888[_0x3e158c(0x223)];},exports[a32_0x528607(0x215)]=async _0x34e6df=>{const _0x204d1b=a32_0x528607,_0xb1c17a={};_0xb1c17a['oprej']=_0x204d1b(0x1f4),_0xb1c17a[_0x204d1b(0x1eb)]=_0x204d1b(0x227);const _0x2ce67f=_0xb1c17a;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x34e6df,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x34e6df,scripts.getResults);return res;}catch{return logger[_0x204d1b(0x1c2)](_0x2ce67f[_0x204d1b(0x1d6)]),[];}else return logger[_0x204d1b(0x1c4)](_0x2ce67f['agtkf']),[];},exports[a32_0x528607(0x206)]=async(_0x29daf1,_0x9184b2='')=>{const _0x4cdd91=a32_0x528607;if(global['accessibilityPlatform']){const _0x4dd3af={};return _0x4dd3af[_0x4cdd91(0x1d7)]=_0x9184b2,await exports[_0x4cdd91(0x1ca)](_0x29daf1,scripts['performScan'],_0x4dd3af);}},exports[a32_0x528607(0x21a)]=async _0xc4ac6d=>{const _0x293a06=a32_0x528607,_0x153ee2={};_0x153ee2['mBVUG']=_0x293a06(0x217),_0x153ee2[_0x293a06(0x222)]=_0x293a06(0x1bd);const _0x1dd0ca=_0x153ee2;if(global[_0x293a06(0x1fa)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0xc4ac6d,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0xc4ac6d,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x293a06(0x1e1)](_0x1dd0ca[_0x293a06(0x1c1)]),{};}else return logger[_0x293a06(0x1c4)](_0x1dd0ca[_0x293a06(0x222)]),{};},exports[a32_0x528607(0x1ce)]=async _0x5c8dc6=>{const _0x396acb=a32_0x528607,_0x19a46b={'nEjhm':function(_0x2bb906,_0x491f1e){return _0x2bb906!==_0x491f1e;},'qseLB':_0x396acb(0x1f3),'luuJb':function(_0x2e466f,_0x5c5e00){return _0x2e466f===_0x5c5e00;},'JmTRZ':'chrome','MZxPc':_0x396acb(0x1dc),'tyZwS':_0x396acb(0x207),'mTSNu':function(_0x4e782e,_0x28b2b4){return _0x4e782e(_0x28b2b4);},'TGnTY':_0x396acb(0x1f6),'YiDFL':function(_0x17a101,_0xe2cdb2){return _0x17a101>_0xe2cdb2;},'aWxnj':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x19a46b[_0x396acb(0x1cf)](_0x5c8dc6[_0x396acb(0x208)],''))return logger[_0x396acb(0x1c4)](_0x19a46b[_0x396acb(0x1cb)]),![];const _0x47f7e3=_0x5c8dc6[_0x396acb(0x21f)];if(!(_0x19a46b[_0x396acb(0x1ff)](_0x47f7e3,_0x19a46b[_0x396acb(0x1e3)])||_0x19a46b[_0x396acb(0x1ff)](_0x47f7e3,_0x19a46b[_0x396acb(0x20c)])))return logger[_0x396acb(0x1c4)](_0x19a46b[_0x396acb(0x1f2)]),![];const _0x76c3b4=_0x19a46b[_0x396acb(0x1fb)](parseInt,_0x5c8dc6[_0x396acb(0x1e7)]);if(!(_0x19a46b[_0x396acb(0x1ff)](_0x76c3b4,_0x19a46b[_0x396acb(0x1e6)])||_0x19a46b[_0x396acb(0x1e5)](_0x76c3b4,0x5e)))return logger[_0x396acb(0x1c4)](_0x19a46b[_0x396acb(0x21d)]),![];}catch(_0x56bca3){logger['debug'](_0x396acb(0x1d4)+util[_0x396acb(0x219)](_0x56bca3));}return!![];},exports[a32_0x528607(0x1d2)]=(_0x4e071d,_0x4d1030,_0x2c28e0)=>{const _0x5d9198=a32_0x528607,_0x506cc1={'gQxkh':function(_0x4eb419){return _0x4eb419();},'dyING':_0x5d9198(0x1c3),'pfKQR':function(_0x1617e3,_0xcb975e){return _0x1617e3===_0xcb975e;},'mZxTJ':'chrome','FCKqR':function(_0x4fd4c6,_0x590572){return _0x4fd4c6===_0x590572;},'GCgVR':_0x5d9198(0x1dc),'qreUh':_0x5d9198(0x207),'gzTLq':'latest','MuLLF':function(_0x58e9b9,_0x344fac){return _0x58e9b9>_0x344fac;},'yIDgN':_0x5d9198(0x1ec),'mmrgV':function(_0x3ba640,_0x749912){return _0x3ba640(_0x749912);},'LeAFl':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','OQAXS':function(_0x2f11a8,_0x29b317){return _0x2f11a8+_0x29b317;},'gnYUy':function(_0x1c062e,_0x3e9ae4){return _0x1c062e(_0x3e9ae4);}};try{if(_0x506cc1[_0x5d9198(0x20e)](isAccessibilityAutomationSession)){global[_0x5d9198(0x1fa)]=!![];!_0x4e071d[_0x506cc1[_0x5d9198(0x1cc)]]&&(global[_0x5d9198(0x1fa)]=![]);!(_0x506cc1[_0x5d9198(0x200)](_0x4e071d[_0x5d9198(0x202)],_0x506cc1['mZxTJ'])||_0x506cc1[_0x5d9198(0x1c5)](_0x4e071d['browserName'],_0x506cc1['GCgVR']))&&(logger['warn'](_0x506cc1['qreUh']),global[_0x5d9198(0x1fa)]=![]);!(_0x506cc1[_0x5d9198(0x200)](_0x4e071d[_0x5d9198(0x1e7)],_0x506cc1[_0x5d9198(0x1c8)])||_0x506cc1[_0x5d9198(0x211)](_0x4e071d[_0x5d9198(0x1e7)],0x5e))&&(logger[_0x5d9198(0x1c4)](_0x506cc1[_0x5d9198(0x20a)]),global['accessibilityPlatform']=![]);!_0x506cc1[_0x5d9198(0x1ef)](isUndefined,_0x4e071d[_0x5d9198(0x208)])&&(logger[_0x5d9198(0x1c4)](_0x506cc1[_0x5d9198(0x1de)]),global[_0x5d9198(0x1fa)]=![]);if(!global['accessibilityPlatform']){_0x4e071d[_0x506cc1[_0x5d9198(0x1cc)]]=![];const _0x48dd3e=_0x506cc1[_0x5d9198(0x1cd)](_0x4d1030,_0x506cc1[_0x5d9198(0x1ea)](encodeURIComponent,JSON[_0x5d9198(0x1f9)](_0x4e071d)));_0x2c28e0&&(_0x2c28e0[_0x5d9198(0x1d9)][_0x5d9198(0x1bf)][_0x5d9198(0x1dd)][_0x5d9198(0x1df)]['connectOptions']['wsEndpoint']=_0x48dd3e);}}}catch(_0x266a44){logger['debug'](_0x5d9198(0x220)+util[_0x5d9198(0x219)](_0x266a44));}};function a32_0x12c2(){const _0xdb9405=['deviceName','501136SpYcBW','yIDgN','bestPractice','MZxPc','cOhTr','gQxkh','bstackSdkArgs','../../helpers/helper','MuLLF','ERQPV','83084ALMCBm','accessibilityOptions.scannerVersion','getAccessibilityResults','KXHMd','No\x20summaryResults\x20found.','env','format','getAccessibilityResultsSummary','767268dxlkPo','NGwcL','aWxnj','WebDriver','browser','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','accessibilityOptions.includeIssueType.bestPractice','qZsFt','accessibilityOptions','parse','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','util','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','pGpyb','testInfo','(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','mBVUG','error','browserstack.accessibility','warn','FCKqR','pREhW','BUdoq','gzTLq','scannerProcessingTimeout','browserStackEvaluate','qseLB','dyING','OQAXS','platformValidation','nEjhm','425699dfRtIK','1500867lmzOQe','processAccessibilityCaps','DsjWX','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','42cdCNlN','oprej','method','sMZXX','currentTest','replace','accessibilityOptions.wcagVersion','playwright-chromium','project','LeAFl','use','823396Aklgaf','debug','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','JmTRZ','Playwright','YiDFL','TGnTY','browser_version','scannerVersion','SkJmB','gnYUy','agtkf','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','accessibilityOptions.includeIssueType.needsReview','zWISX','mmrgV','../../helpers/logger','includeIssueType','tyZwS','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','No\x20accessibility\x20results\x20were\x20found.','accessibilityOptions.scannerProcessingTimeout','latest','rblvG','BS_A11Y_JWT','stringify','accessibilityPlatform','mTSNu','browserStackExecuteDriver','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','2382855jcOqiJ','luuJb','pfKQR','accessibilityOptions.authToken','browserName','setAccessibilityCapabilities','name','executeScript','performScan','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.'];a32_0x12c2=function(){return _0xdb9405;};return a32_0x12c2();}
1
+ const a32_0x5834a0=a32_0x13bf;(function(_0x2623d6,_0x342c90){const _0x398008=a32_0x13bf,_0x2f9e7c=_0x2623d6();while(!![]){try{const _0x20ed6d=parseInt(_0x398008(0x1fc))/0x1*(-parseInt(_0x398008(0x24a))/0x2)+-parseInt(_0x398008(0x252))/0x3+-parseInt(_0x398008(0x1f9))/0x4+parseInt(_0x398008(0x1f4))/0x5+parseInt(_0x398008(0x241))/0x6+parseInt(_0x398008(0x245))/0x7+parseInt(_0x398008(0x213))/0x8*(parseInt(_0x398008(0x207))/0x9);if(_0x20ed6d===_0x342c90)break;else _0x2f9e7c['push'](_0x2f9e7c['shift']());}catch(_0x5a4191){_0x2f9e7c['push'](_0x2f9e7c['shift']());}}}(a32_0x238d,0x6f39b));function a32_0x238d(){const _0x5e78c1=['ZNiGk','playwright-chromium','thIiY','error','bprpR','87712ggbNNg','browserStackEvaluate','project','uTsBp','dDNAh','leTvN','executeAsyncScript','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','(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','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','executeScript','tfPTg','hqEUF','setAccessibilityCapabilities','VaSwb','../../helpers/logger','fvnMZ','replace','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','WExqg','rNCGe','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','constructor','bstackSdkArgs','ovvVX','wcagVersion','pAVwO','stringify','dANTC','DfOmG','njDcg','scannerVersion','Playwright','nBdxQ','KDnkI','zhbEQ','accessibilityOptions.wcagVersion','method','chrome','../../helpers/helper','deviceName','../../helpers/accessibility-automation/helper','browserName','evaluate','getAccessibilityResults','2401860gEOSDF','needsReview','bestPractice','warn','1427216lTthla','WebDriver','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','No\x20summaryResults\x20found.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','36364jRQwgT','yrQDH','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','includeIssueType','name','cmEzC','izOyk','YMjhv','232731XlnGvo','accessibilityOptions.scannerProcessingTimeout','parse','LAJOz','use','uPWSR','format','browser','testInfo','connectOptions','browserStackExecuteDriver','1032965yinqIm','gbrpH','VdeKG','scannerProcessingTimeout','wsEndpoint','2816900oaANvH','BS_A11Y_JWT','latest','29pkebyp','accessibilityPlatform','GAIXt','browserstack.accessibility','accessibilityOptions.includeIssueType.needsReview','debug','No\x20accessibility\x20results\x20were\x20found.','env','winstonLogger','accessibilityOptions','jBaxe','783CsbVgh','BBSWM','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','hYVac','ZbGjr','browser_version','getAccessibilityResultsSummary'];a32_0x238d=function(){return _0x5e78c1;};return a32_0x238d();}const util=require('util'),logger=require(a32_0x5834a0(0x223))[a32_0x5834a0(0x204)],{isAccessibilityAutomationSession}=require(a32_0x5834a0(0x23d)),{isUndefined}=require(a32_0x5834a0(0x23b)),scripts=require('../../helpers/accessibility-automation/scripts');function a32_0x13bf(_0xd56386,_0x143b1a){const _0x238d75=a32_0x238d();return a32_0x13bf=function(_0x13bfac,_0x25286f){_0x13bfac=_0x13bfac-0x1ed;let _0x330bc7=_0x238d75[_0x13bfac];return _0x330bc7;},a32_0x13bf(_0xd56386,_0x143b1a);}exports[a32_0x5834a0(0x214)]=async(_0x40dbf1,_0x760564,_0x5cbf85={})=>{const _0x3063d1=a32_0x5834a0,_0x4033d1={};_0x4033d1[_0x3063d1(0x1ee)]=_0x3063d1(0x22b);const _0x3a8b91=_0x4033d1;return await _0x40dbf1[_0x3063d1(0x23f)]('(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'+_0x760564[_0x3063d1(0x225)](/arguments/g,_0x3a8b91[_0x3063d1(0x1ee)])+_0x3063d1(0x247)+JSON['stringify'](_0x5cbf85)+')');},exports[a32_0x5834a0(0x1f3)]=async(_0xd32eb2,_0x3e98bc,_0x45b9b2={})=>{const _0x411fe0=a32_0x5834a0,_0x5207bf={};_0x5207bf[_0x411fe0(0x208)]=function(_0x3b3ea7,_0x411536){return _0x3b3ea7===_0x411536;},_0x5207bf['pAVwO']=_0x411fe0(0x246),_0x5207bf[_0x411fe0(0x206)]=function(_0x111dc3,_0xfe11f){return _0x111dc3===_0xfe11f;},_0x5207bf[_0x411fe0(0x255)]=_0x411fe0(0x234),_0x5207bf[_0x411fe0(0x217)]=_0x411fe0(0x22b);const _0x19be1f=_0x5207bf;if(_0x19be1f[_0x411fe0(0x208)](_0xd32eb2['constructor'][_0x411fe0(0x24e)],_0x19be1f[_0x411fe0(0x22e)]))return await _0xd32eb2[_0x411fe0(0x219)](_0x3e98bc,_0x45b9b2);else{if(_0x19be1f['jBaxe'](_0xd32eb2[_0x411fe0(0x22a)]['name'],_0x19be1f[_0x411fe0(0x255)]))return await _0xd32eb2[_0x411fe0(0x21e)](_0x411fe0(0x21c)+_0x3e98bc[_0x411fe0(0x225)](/arguments/g,_0x19be1f[_0x411fe0(0x217)])+_0x411fe0(0x226)+JSON[_0x411fe0(0x22f)](_0x45b9b2)+')');}},exports[a32_0x5834a0(0x221)]=async _0x1aba8f=>{const _0x5f67c7=a32_0x5834a0,_0x55c80c={};_0x55c80c[_0x5f67c7(0x212)]=_0x5f67c7(0x238),_0x55c80c[_0x5f67c7(0x232)]=_0x5f67c7(0x253),_0x55c80c[_0x5f67c7(0x236)]='accessibilityOptions.includeIssueType.bestPractice',_0x55c80c[_0x5f67c7(0x24b)]=_0x5f67c7(0x200),_0x55c80c[_0x5f67c7(0x20b)]='accessibilityOptions.authToken',_0x55c80c[_0x5f67c7(0x22c)]='accessibilityOptions.scannerVersion';const _0x4864b4=_0x55c80c;_0x1aba8f['accessibilityOptions']&&(_0x1aba8f[_0x5f67c7(0x205)]['wcagVersion']&&(_0x1aba8f[_0x4864b4[_0x5f67c7(0x212)]]=_0x1aba8f[_0x5f67c7(0x205)][_0x5f67c7(0x22d)]),_0x1aba8f[_0x5f67c7(0x205)]['scannerProcessingTimeout']&&(_0x1aba8f[_0x4864b4[_0x5f67c7(0x232)]]=_0x1aba8f['accessibilityOptions'][_0x5f67c7(0x1f7)]),_0x1aba8f[_0x5f67c7(0x205)]['includeIssueType']&&(_0x1aba8f[_0x4864b4[_0x5f67c7(0x236)]]=_0x1aba8f[_0x5f67c7(0x205)][_0x5f67c7(0x24d)][_0x5f67c7(0x243)],_0x1aba8f[_0x4864b4['yrQDH']]=_0x1aba8f[_0x5f67c7(0x205)][_0x5f67c7(0x24d)][_0x5f67c7(0x242)]));const _0x276855=JSON[_0x5f67c7(0x254)](process['env'][_0x5f67c7(0x24c)])[_0x5f67c7(0x233)];_0x1aba8f[_0x4864b4['ZbGjr']]=process[_0x5f67c7(0x203)][_0x5f67c7(0x1fa)],_0x1aba8f[_0x4864b4[_0x5f67c7(0x22c)]]=_0x276855,delete _0x1aba8f['accessibilityOptions'];},exports[a32_0x5834a0(0x240)]=async _0x17c230=>{const _0x250971=a32_0x5834a0,_0x3b459f={};_0x3b459f[_0x250971(0x210)]=_0x250971(0x202),_0x3b459f['DfOmG']=_0x250971(0x21b);const _0x4b669a=_0x3b459f;if(global[_0x250971(0x1fd)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x17c230,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x17c230,scripts.getResults);return res;}catch{return logger[_0x250971(0x211)](_0x4b669a['thIiY']),[];}else return logger[_0x250971(0x244)](_0x4b669a[_0x250971(0x231)]),[];},exports['performScan']=async(_0x4deddd,_0x2b2e57='')=>{const _0x2cb4ec=a32_0x5834a0;if(global[_0x2cb4ec(0x1fd)]){const _0x2e6d4e={};return _0x2e6d4e[_0x2cb4ec(0x239)]=_0x2b2e57,await exports['browserStackEvaluate'](_0x4deddd,scripts['performScan'],_0x2e6d4e);}},exports[a32_0x5834a0(0x20d)]=async _0x53b562=>{const _0x3c2d9f=a32_0x5834a0,_0xd161dc={};_0xd161dc['gbrpH']=_0x3c2d9f(0x248),_0xd161dc['zhbEQ']=_0x3c2d9f(0x229);const _0x3d39ca=_0xd161dc;if(global[_0x3c2d9f(0x1fd)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x53b562,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x53b562,scripts.getResultsSummary);return summaryResults;}catch{return logger['debug'](_0x3d39ca[_0x3c2d9f(0x1f5)]),{};}else return logger['warn'](_0x3d39ca[_0x3c2d9f(0x237)]),{};},exports['platformValidation']=async _0x4ebb1e=>{const _0x153da6=a32_0x5834a0,_0x515d20={'hYVac':function(_0x29b028,_0x123f0c){return _0x29b028!==_0x123f0c;},'VaSwb':_0x153da6(0x21a),'uTsBp':function(_0x2c9604,_0x485f72){return _0x2c9604===_0x485f72;},'leTvN':_0x153da6(0x23a),'VdeKG':_0x153da6(0x20f),'ZNiGk':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','jaCRv':function(_0x39e07f,_0xfedfa5){return _0x39e07f(_0xfedfa5);},'izOyk':function(_0x4e5aa9,_0x1494e8){return _0x4e5aa9===_0x1494e8;},'dANTC':_0x153da6(0x1fb),'vITiX':function(_0xc6bd61,_0x5b8954){return _0xc6bd61>_0x5b8954;},'fvnMZ':_0x153da6(0x21d)};try{if(!_0x515d20[_0x153da6(0x20a)](_0x4ebb1e['deviceName'],''))return logger[_0x153da6(0x244)](_0x515d20[_0x153da6(0x222)]),![];const _0x207730=_0x4ebb1e[_0x153da6(0x1f0)];if(!(_0x515d20[_0x153da6(0x216)](_0x207730,_0x515d20[_0x153da6(0x218)])||_0x515d20[_0x153da6(0x216)](_0x207730,_0x515d20[_0x153da6(0x1f6)])))return logger[_0x153da6(0x244)](_0x515d20[_0x153da6(0x20e)]),![];const _0x2ad93c=_0x515d20['jaCRv'](parseInt,_0x4ebb1e[_0x153da6(0x20c)]);if(!(_0x515d20[_0x153da6(0x250)](_0x2ad93c,_0x515d20[_0x153da6(0x230)])||_0x515d20['vITiX'](_0x2ad93c,0x5e)))return logger[_0x153da6(0x244)](_0x515d20[_0x153da6(0x224)]),![];}catch(_0x16fb23){logger[_0x153da6(0x201)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x153da6(0x1ef)](_0x16fb23));}return!![];},exports['processAccessibilityCaps']=(_0x54c5be,_0x4f97f6,_0x21cf23)=>{const _0x30d3e7=a32_0x5834a0,_0xf7bafc={'YMjhv':function(_0x1f68ee){return _0x1f68ee();},'tfPTg':_0x30d3e7(0x1ff),'WExqg':function(_0x173996,_0x423791){return _0x173996===_0x423791;},'ukDNk':_0x30d3e7(0x23a),'zCSGo':_0x30d3e7(0x20f),'GAIXt':_0x30d3e7(0x249),'laiSY':function(_0x45932b,_0x5580ef){return _0x45932b===_0x5580ef;},'nBdxQ':_0x30d3e7(0x1fb),'EruFd':function(_0x5d650a,_0x3f7a1e){return _0x5d650a>_0x3f7a1e;},'hqEUF':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','rNCGe':function(_0x1d94a5,_0xb3682d){return _0x1d94a5(_0xb3682d);},'cmEzC':_0x30d3e7(0x21a),'MIxHA':function(_0x25823e,_0x195f71){return _0x25823e+_0x195f71;}};try{if(_0xf7bafc[_0x30d3e7(0x251)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x54c5be[_0xf7bafc['tfPTg']]&&(global['accessibilityPlatform']=![]);!(_0xf7bafc[_0x30d3e7(0x227)](_0x54c5be[_0x30d3e7(0x23e)],_0xf7bafc['ukDNk'])||_0xf7bafc['WExqg'](_0x54c5be['browserName'],_0xf7bafc['zCSGo']))&&(logger[_0x30d3e7(0x244)](_0xf7bafc[_0x30d3e7(0x1fe)]),global['accessibilityPlatform']=![]);!(_0xf7bafc['laiSY'](_0x54c5be[_0x30d3e7(0x20c)],_0xf7bafc[_0x30d3e7(0x235)])||_0xf7bafc['EruFd'](_0x54c5be['browser_version'],0x5e))&&(logger[_0x30d3e7(0x244)](_0xf7bafc[_0x30d3e7(0x220)]),global['accessibilityPlatform']=![]);!_0xf7bafc[_0x30d3e7(0x228)](isUndefined,_0x54c5be[_0x30d3e7(0x23c)])&&(logger[_0x30d3e7(0x244)](_0xf7bafc[_0x30d3e7(0x24f)]),global[_0x30d3e7(0x1fd)]=![]);if(!global['accessibilityPlatform']){_0x54c5be[_0xf7bafc[_0x30d3e7(0x21f)]]=![];const _0x1b832c=_0xf7bafc['MIxHA'](_0x4f97f6,_0xf7bafc[_0x30d3e7(0x228)](encodeURIComponent,JSON[_0x30d3e7(0x22f)](_0x54c5be)));_0x21cf23&&(_0x21cf23['currentTest'][_0x30d3e7(0x1f1)][_0x30d3e7(0x215)][_0x30d3e7(0x1ed)][_0x30d3e7(0x1f2)][_0x30d3e7(0x1f8)]=_0x1b832c);}}}catch(_0xc63881){logger[_0x30d3e7(0x201)](_0x30d3e7(0x209)+util[_0x30d3e7(0x1ef)](_0xc63881));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a33_0x1290(_0x199fb8,_0x4be319){const _0x385fb8=a33_0x385f();return a33_0x1290=function(_0x129001,_0x152c38){_0x129001=_0x129001-0xf3;let _0x53cff1=_0x385fb8[_0x129001];return _0x53cff1;},a33_0x1290(_0x199fb8,_0x4be319);}const a33_0x1d2fc2=a33_0x1290;function a33_0x385f(){const _0x534d28=['wMEny','.browserstack','../../helpers/test-observability/constants','info','../../helpers/logger','Taieh','accessibilityOptions','bFpCn','3542046ezzUBW','tXdBw','BROWSERSTACK_SETUP_CONFIG_PATH','lsmGr','logLevel','ZeFyR','yufJt','Updated\x20config\x20file\x20name\x20to\x20-\x20','\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();','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/BrowserStackSetup','../../helpers/testhub/utils','--grep','join','BROWSERSTACK_TEST_ACCESSIBILITY_YML','testContextOptions','../utils/constants','pXyQz','filter','Error\x20in\x20getting\x20funnel\x20data\x20results','getConfigPath','startsWith','debug','BROWSERSTACK_PW_CONFIG_DIR','testObservability','rWRoX','./accessibility-helper','isUndefined','--disable-browserstack-automation','BROWSERSTACK_AUTOMATION','markSDKSetupComplete','pfCpz','isTrue','close','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','playwright-browserstack-sdk.config.js','serializeToYamlString','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','VanpV','../../helpers/helper','dirname','lVmXz','resolve','readFileSync','cwd','getProxyUrl','nestedKeyValue','requirePWModule','XzgPA','accessibility','automation','gAmDc','iaQYM','BJQeA','2822624aGlSEZ','initialize','win32','error','winstonLogger','config','includes','apply','kkpqI','ElCqN','BrowserStack\x20config\x20file\x20not\x20found.','get','--config','6738puvsxn','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','Error\x20in\x20closing\x20playwright','../../helpers/accessibility-automation/helper','length','SVdvE','2910kYBZVA','pw_result.json','Error\x20in\x20deleting\x20playwright\x20results','existsSync','test','filterBrowserstackConfig','parse','aoCgG','homedir','errorMessage','playwright','GaiSB','slice','--config=','Deleting\x20','exports','cliConfig','qmonv','map','../../helpers/test-observability/utils','./reporter/pwUtils','stringify','unlinkSync','skipSessionStatus','JGJnY','gycPE','null','zODfp','util','ShReU','MODULE','env','xMXre','ksQru','npx','exitCode','lzBaP','TsCEG','YVlbo','platform','playwright-browserstack-sdk.config.cjs','cKgCT','split','concat','push','writeFileSync','vBYsN','fYiHl','trim','xssEE','findIndex','path','BROWSERSTACK_RERUN_TESTS','MoWaJ','false','has','728366RgjYjF','1869784UfSlEM','PLAYWRIGHT','934332IwWLef','--disable-test-observability','isTypescriptProject','FShYQ','jfxeL','../../helpers/test-observability/error-handler','USER_CONFIG_DETAILS_PATH','finalExecution','BROWSERSTACK_RERUN','nFSXJ','XYLsa','getPackageType','23141528cdWHxo','inherit','DXpIC'];a33_0x385f=function(){return _0x534d28;};return a33_0x385f();}(function(_0x38d60a,_0x37213d){const _0x48c85e=a33_0x1290,_0x238b48=_0x38d60a();while(!![]){try{const _0x506d44=-parseInt(_0x48c85e(0x133))/0x1+-parseInt(_0x48c85e(0x130))/0x2+-parseInt(_0x48c85e(0x14a))/0x3+parseInt(_0x48c85e(0x131))/0x4+parseInt(_0x48c85e(0xf8))/0x5*(-parseInt(_0x48c85e(0x18d))/0x6)+parseInt(_0x48c85e(0x180))/0x7+parseInt(_0x48c85e(0x13f))/0x8;if(_0x506d44===_0x37213d)break;else _0x238b48['push'](_0x238b48['shift']());}catch(_0x61193){_0x238b48['push'](_0x238b48['shift']());}}}(a33_0x385f,0x99f3a));const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),{format}=require(a33_0x1d2fc2(0x114)),logger=require(a33_0x1d2fc2(0x146))[a33_0x1d2fc2(0x184)],{default:BrowserStackSetup}=require(a33_0x1d2fc2(0x154)),helper=require(a33_0x1d2fc2(0x171)),constants=require(a33_0x1d2fc2(0x15a)),{FRAMEWORKS}=require(a33_0x1d2fc2(0x144)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a33_0x1d2fc2(0x10c)),{CrashReporter}=require(a33_0x1d2fc2(0x138)),{getFrameworkVersion}=require(a33_0x1d2fc2(0x10b)),{checkAccessibilityPlatformConfig}=require(a33_0x1d2fc2(0xf5)),{setAccessibilityCapabilities}=require(a33_0x1d2fc2(0x164)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),{shouldProcessEventForTesthub}=require(a33_0x1d2fc2(0x155)),getUserPlaywrightConfig=async(_0x4a697a,_0x1b8795)=>{const _0x2d5a84=a33_0x1d2fc2,_0x2756ed={'VlTnG':function(_0x3f5969){return _0x3f5969();},'YVlbo':function(_0x4ed823,_0x355701){return _0x4ed823(_0x355701);},'aoCgG':function(_0x554a99,_0x24ed48){return _0x554a99(_0x24ed48);},'fYiHl':'resolvedConfigFile','FShYQ':_0x2d5a84(0x105)},_0xa489e7=!helper['isUndefined'](_0x4a697a[_0x2d5a84(0x185)]),_0x3f6edc=_0xa489e7?path[_0x2d5a84(0x174)](process[_0x2d5a84(0x176)](),_0x4a697a[_0x2d5a84(0x185)]):process[_0x2d5a84(0x176)](),{resolveConfigFile:_0x13cde5,resolveConfigLocation:_0x390738}=helper[_0x2d5a84(0x179)][_0x2d5a84(0x187)](null,_0x2756ed['VlTnG'](getConfigLoaderPath)),_0x8a3b90=_0x13cde5?_0x2756ed[_0x2d5a84(0x11e)](_0x13cde5,_0x3f6edc):helper[_0x2d5a84(0x178)](_0x2756ed[_0x2d5a84(0xff)](_0x390738,_0x3f6edc),[_0x2756ed[_0x2d5a84(0x127)]]);let _0x18ce1c={};if(_0xa489e7){const _0x17edc6=_0x1b8795[_0x2d5a84(0x12a)](_0x32627e=>_0x32627e===_0x2d5a84(0x18c)||_0x32627e==='-c'||_0x32627e[_0x2d5a84(0x15f)](_0x2d5a84(0x105)));_0x1b8795['splice'](_0x17edc6,_0x1b8795[_0x17edc6]['startsWith'](_0x2756ed[_0x2d5a84(0x136)])?0x1:0x2);}const _0x41e73f={};return _0x41e73f[_0x2d5a84(0x12b)]=_0x8a3b90,_0x41e73f[_0x2d5a84(0x185)]=_0x18ce1c,_0x41e73f;},handleO11yRerun=_0x449656=>{const _0x13a47b=a33_0x1d2fc2,_0x51e82b={};_0x51e82b[_0x13a47b(0x13d)]=function(_0x931c61,_0x29acfd){return _0x931c61!==_0x29acfd;},_0x51e82b[_0x13a47b(0x119)]=_0x13a47b(0x112),_0x51e82b['gycPE']=_0x13a47b(0x156);const _0x16d411=_0x51e82b,_0x4af287=helper[_0x13a47b(0x16a)](process['env'][_0x13a47b(0x13b)]);if(_0x4af287){const _0x3c2286=process['env'][_0x13a47b(0x12c)],_0x27e79e=[];if(_0x16d411[_0x13a47b(0x13d)](_0x3c2286,_0x16d411[_0x13a47b(0x119)])&&!helper[_0x13a47b(0x165)](_0x3c2286)){_0x3c2286['split'](',')[_0x13a47b(0x10a)](_0x33a1c0=>{const _0x32d05a=_0x13a47b;_0x27e79e[_0x32d05a(0x124)]('('+_0x33a1c0[_0x32d05a(0x128)]()+')');});const _0x3a7851='^'+_0x27e79e['join']('|')+'$';_0x449656[_0x13a47b(0x124)](_0x16d411[_0x13a47b(0x111)],_0x3a7851);}}},spawnOriginalProcess=_0x57f7b2=>{const _0x4aea09=a33_0x1d2fc2,_0x16ee32={'CUwfF':function(_0x169691,_0xce87e6,_0x1d3385,_0xa81113){return _0x169691(_0xce87e6,_0x1d3385,_0xa81113);},'FuBmt':_0x4aea09(0x11a),'tXdBw':_0x4aea09(0x102),'GaiSB':function(_0x36e300,_0x5e86bc){return _0x36e300===_0x5e86bc;},'MGkwZ':'win32','qmonv':_0x4aea09(0x140)};_0x16ee32['CUwfF'](spawn,_0x16ee32['FuBmt'],[_0x16ee32[_0x4aea09(0x14b)],..._0x57f7b2[_0x4aea09(0x104)](0x1)],{'shell':_0x16ee32[_0x4aea09(0x103)](process[_0x4aea09(0x11f)],_0x16ee32['MGkwZ']),'stdio':_0x16ee32[_0x4aea09(0x109)],'cwd':process[_0x4aea09(0x176)]()});},isTestCommand=(_0x14c8d8,_0x15fe0d)=>{const _0x3677ac=a33_0x1d2fc2,_0x47a64c={};_0x47a64c['ShReU']=function(_0x2be27f,_0x27f5f9){return _0x2be27f>_0x27f5f9;},_0x47a64c[_0x3677ac(0x126)]=function(_0xd9017b,_0x2cfd49){return _0xd9017b===_0x2cfd49;},_0x47a64c['xMXre']=_0x3677ac(0xfc);const _0x206e0f=_0x47a64c;if(_0x206e0f[_0x3677ac(0x115)](_0x15fe0d[_0x3677ac(0xf6)],0x1)&&_0x206e0f[_0x3677ac(0x126)](_0x15fe0d[0x1],_0x206e0f[_0x3677ac(0x118)]))return!![];return![];};async function run(_0x133336,_0x6845c1){const _0xc23aea=a33_0x1d2fc2,_0x57ff6d={'BJQeA':_0xc23aea(0x143),'wMEny':_0xc23aea(0xf9),'HXAah':function(_0x300564,_0x326cac){return _0x300564+_0x326cac;},'xssEE':_0xc23aea(0x15d),'pfCpz':'4|2|3|0|5|1|7|6|8','bFpCn':function(_0x1685b4){return _0x1685b4();},'gAmDc':function(_0x3d4af5,_0x269485){return _0x3d4af5+_0x269485;},'VanpV':_0xc23aea(0xf4),'WInZm':_0xc23aea(0x166),'kkpqI':_0xc23aea(0x12e),'rWRoX':_0xc23aea(0x134),'jfxeL':function(_0x58cd3d,_0x3d8a07){return _0x58cd3d>=_0x3d8a07;},'nFSXJ':_0xc23aea(0xfa),'Taieh':function(_0x3483d2,_0x457bf4,_0x3587a3){return _0x3483d2(_0x457bf4,_0x3587a3);},'iaQYM':function(_0x160e65,_0x4d0fde){return _0x160e65(_0x4d0fde);},'ZeFyR':_0xc23aea(0x18a),'cKgCT':_0xc23aea(0x17c),'fqUHS':function(_0x4c547c,_0x302059){return _0x4c547c!=_0x302059;},'JGJnY':function(_0x1e7f47,_0x2eb3f8,_0x3d403c){return _0x1e7f47(_0x2eb3f8,_0x3d403c);},'yufJt':function(_0x43ee72,_0x37b630){return _0x43ee72===_0x37b630;},'lsmGr':'true','YyiDR':function(_0xf614e,_0x33040e){return _0xf614e(_0x33040e);},'WWlPL':'browserstackSetupConfig.json','lVmXz':_0xc23aea(0x120),'MoWaJ':_0xc23aea(0x16d),'abWmP':function(_0x3847db,_0x189bd6){return _0x3847db-_0x189bd6;},'pXyQz':_0xc23aea(0x151),'lzBaP':function(_0x3358f5,_0x4eed65){return _0x3358f5>_0x4eed65;},'TsCEG':function(_0xb5e841,_0x380766){return _0xb5e841+_0x380766;},'DXpIC':function(_0x1bf571,_0xafdcf,_0x2a4acd,_0x32814e){return _0x1bf571(_0xafdcf,_0x2a4acd,_0x32814e);},'aajpe':'npx','SVdvE':_0xc23aea(0x102),'lUNDk':_0xc23aea(0xfc),'XzgPA':'--config','MDLzK':function(_0x4c3b5b,_0x27c3bd){return _0x4c3b5b===_0x27c3bd;},'ElCqN':_0xc23aea(0x182),'zODfp':_0xc23aea(0x140),'aEklt':_0xc23aea(0x16b)};!helper['isFalse'](process[_0xc23aea(0x117)]['BROWSERSTACK_AUTOMATION'])&&(process['env'][_0xc23aea(0x167)]=!![]);process['argv'][_0xc23aea(0x186)](_0x57ff6d['WInZm'])&&(process['env'][_0xc23aea(0x167)]=_0x57ff6d[_0xc23aea(0x188)],_0x6845c1=_0x6845c1[_0xc23aea(0x15c)](_0x37273d=>_0x37273d!==_0xc23aea(0x166)));const _0x2b5f8f=_0x6845c1['indexOf'](_0x57ff6d[_0xc23aea(0x163)]);_0x57ff6d[_0xc23aea(0x137)](_0x2b5f8f,0x0)&&(process[_0xc23aea(0x117)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x57ff6d['kkpqI'],_0x6845c1=_0x6845c1['filter'](_0x40b1d9=>_0x40b1d9!=='--disable-test-observability'));try{const _0x408fa0=path[_0xc23aea(0x157)](helper[_0xc23aea(0x100)](),_0x57ff6d[_0xc23aea(0x17f)],_0x57ff6d[_0xc23aea(0x142)]);fs[_0xc23aea(0xfb)](_0x408fa0)&&fs[_0xc23aea(0x10e)](_0x408fa0);}catch(_0x50a540){logger['debug'](_0x57ff6d[_0xc23aea(0x17d)](_0x57ff6d[_0xc23aea(0x13c)],_0x50a540));}if(!_0x57ff6d[_0xc23aea(0x147)](isTestCommand,_0x133336,_0x6845c1)){_0x57ff6d[_0xc23aea(0x17e)](spawnOriginalProcess,_0x6845c1);return;}const _0xae0428=new BrowserStackSetup(_0x133336,FRAMEWORKS['PLAYWRIGHT']);if(!_0xae0428[_0xc23aea(0x185)]){logger[_0xc23aea(0x183)](_0x57ff6d[_0xc23aea(0x14f)]);return;}await _0xae0428[_0xc23aea(0x181)]();!helper['isUndefined'](_0xae0428[_0xc23aea(0x108)])&&_0xae0428[_0xc23aea(0x108)][_0xc23aea(0x12f)](_0x57ff6d[_0xc23aea(0x121)])&&(process[_0xc23aea(0x117)][_0xc23aea(0x167)]=_0xae0428['cliConfig'][_0xc23aea(0x18b)](_0x57ff6d['cKgCT'])||!![]);_0x57ff6d['fqUHS'](_0xae0428[_0xc23aea(0x185)][_0xc23aea(0x162)],null)&&!helper[_0xc23aea(0x16a)](process[_0xc23aea(0x117)][_0xc23aea(0x153)])&&(process[_0xc23aea(0x117)][_0xc23aea(0x153)]=process[_0xc23aea(0x117)][_0xc23aea(0x153)]||_0xae0428[_0xc23aea(0x185)][_0xc23aea(0x162)]);const _0x34286c=!helper['isFalse'](process['env'][_0xc23aea(0x153)]);let _0xad8219=![];_0xae0428[_0xc23aea(0x185)][_0xc23aea(0x17b)]&&(_0xad8219=!![],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0xae0428[_0xc23aea(0x185)][_0xc23aea(0x17b)]);_0xae0428[_0xc23aea(0x185)][_0xc23aea(0x148)]&&(process[_0xc23aea(0x117)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0xc23aea(0x10d)](_0xae0428[_0xc23aea(0x185)]['accessibilityOptions']));const _0x1ae8f2=_0x6845c1[_0xc23aea(0x123)](),_0x20e4e3=await _0x57ff6d[_0xc23aea(0x110)](getUserPlaywrightConfig,_0x133336,_0x6845c1);if(helper[_0xc23aea(0x165)](_0x20e4e3)){_0x57ff6d[_0xc23aea(0x17e)](spawnOriginalProcess,_0x1ae8f2);return;}const _0x2259b2=_0x20e4e3[_0xc23aea(0x12b)]?path['dirname'](_0x20e4e3[_0xc23aea(0x12b)]):process[_0xc23aea(0x176)]();process[_0xc23aea(0x117)][_0xc23aea(0x161)]=_0x2259b2,await TestHubHandler['launchBuild'](FRAMEWORKS[_0xc23aea(0x132)],_0xae0428);_0x34286c&&_0x57ff6d[_0xc23aea(0x17e)](handleO11yRerun,_0x6845c1);let _0x21a7aa=_0x57ff6d['yufJt'](process[_0xc23aea(0x117)][_0xc23aea(0x158)],_0x57ff6d[_0xc23aea(0x14d)]);_0x21a7aa=_0x21a7aa||_0x57ff6d['iaQYM'](checkAccessibilityPlatformConfig,_0xae0428[_0xc23aea(0x185)]),process[_0xc23aea(0x117)][_0xc23aea(0x158)]=_0x21a7aa;_0x21a7aa&&_0x57ff6d['YyiDR'](setAccessibilityCapabilities,_0xae0428[_0xc23aea(0x185)]);const _0x1f1de4=path['join'](_0x20e4e3[_0xc23aea(0x12b)]?path[_0xc23aea(0x172)](_0x20e4e3[_0xc23aea(0x12b)]):process[_0xc23aea(0x176)](),_0x57ff6d['WWlPL']);fs['writeFileSync'](_0x1f1de4,helper[_0xc23aea(0x16e)](_0xae0428[_0xc23aea(0x185)])),process[_0xc23aea(0x117)][_0xc23aea(0x14c)]=_0x1f1de4,helper['clearTempPWConfig']();let _0x28b353='';_0x57ff6d[_0xc23aea(0x150)](helper[_0xc23aea(0x13e)](),constants['PACKAGE_TYPE'][_0xc23aea(0x116)])?_0x28b353=_0x57ff6d[_0xc23aea(0x173)]:_0x28b353=_0x57ff6d[_0xc23aea(0x12d)];let _0x47070a='';if(helper[_0xc23aea(0x135)](_0x20e4e3[_0xc23aea(0x12b)])){_0x47070a=_0xc23aea(0x16f);const _0x32ad22=_0x28b353['split']('.');_0x32ad22[_0x57ff6d['abWmP'](_0x32ad22[_0xc23aea(0xf6)],0x1)]='ts',_0x28b353=_0x32ad22[_0xc23aea(0x157)]('.'),logger[_0xc23aea(0x160)](_0x57ff6d[_0xc23aea(0x17d)](_0x57ff6d[_0xc23aea(0x15b)],_0x28b353));}else _0x47070a=_0xc23aea(0x16c);const _0x157962=path['join'](_0x20e4e3[_0xc23aea(0x12b)]?path[_0xc23aea(0x172)](_0x20e4e3[_0xc23aea(0x12b)]):process[_0xc23aea(0x176)](),_0x28b353);let _0x1b3268=_0x20e4e3['path']?_0x20e4e3[_0xc23aea(0x12b)]:'';_0x1b3268=_0x57ff6d[_0xc23aea(0x11c)](_0x1b3268[_0xc23aea(0xf6)],0x0)?path[_0xc23aea(0x174)](_0x1b3268):'',process[_0xc23aea(0x117)][_0xc23aea(0x139)]=_0x1b3268;const _0x1fe359=helper[_0xc23aea(0x177)](_0xae0428[_0xc23aea(0x185)]);_0x1fe359&&(_0x47070a=_0x57ff6d[_0xc23aea(0x11d)](_0xc23aea(0xf3)+_0x1fe359+_0xc23aea(0x152),_0x47070a));helper[_0xc23aea(0xfd)]({},_0x6845c1),fs[_0xc23aea(0x125)](_0x157962,_0x47070a),helper[_0xc23aea(0x168)]();const _0x3f7004=_0x57ff6d[_0xc23aea(0x141)](spawn,_0x57ff6d['aajpe'],[_0x57ff6d[_0xc23aea(0xf7)],_0x57ff6d['lUNDk'],_0x57ff6d[_0xc23aea(0x17a)],_0x157962,..._0x6845c1['slice'](0x2)],{'shell':_0x57ff6d['MDLzK'](process[_0xc23aea(0x11f)],_0x57ff6d[_0xc23aea(0x189)]),'stdio':_0x57ff6d[_0xc23aea(0x113)],'cwd':process[_0xc23aea(0x176)](),'env':Object['assign']({},process[_0xc23aea(0x117)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0xc23aea(0x15e)](_0x133336),'BROWSERSTACK_SKIP_SESSION_STATUS':_0xae0428[_0xc23aea(0x185)]['testContextOptions'][_0xc23aea(0x10f)],'BROWSERSTACK_SKIP_SESSION_NAME':_0xae0428['config'][_0xc23aea(0x159)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0xae0428[_0xc23aea(0x185)][_0xc23aea(0x14e)]})}),_0x597940=()=>{const _0x45d0fe=_0xc23aea;try{const _0x22551a=path[_0x45d0fe(0x157)](helper['homedir'](),_0x57ff6d['BJQeA'],_0x57ff6d['wMEny']);if(fs[_0x45d0fe(0xfb)](_0x22551a)){let _0x1bf10d=fs[_0x45d0fe(0x175)](_0x22551a);_0x1bf10d=JSON[_0x45d0fe(0xfe)](_0x1bf10d),_0xae0428[_0x45d0fe(0x101)]=_0x1bf10d,fs[_0x45d0fe(0x10e)](_0x22551a);}}catch(_0xf9f7c5){logger[_0x45d0fe(0x160)](_0x57ff6d['HXAah'](_0x57ff6d[_0x45d0fe(0x129)],_0xf9f7c5));}};_0x3f7004['on'](_0x57ff6d['aEklt'],async _0xe220ee=>{const _0x28d959=_0xc23aea;try{const _0x19e837=_0x57ff6d[_0x28d959(0x169)][_0x28d959(0x122)]('|');let _0x20fe18=0x0;while(!![]){switch(_0x19e837[_0x20fe18++]){case'0':process[_0x28d959(0x11b)]=_0xe220ee;continue;case'1':logger[_0x28d959(0x145)](_0x28d959(0x106)+_0x157962);continue;case'2':await TestHubHandler['stop']();continue;case'3':await helper[_0x28d959(0x13a)](_0xae0428);continue;case'4':_0x57ff6d[_0x28d959(0x149)](_0x597940);continue;case'5':logger[_0x28d959(0x160)]('Playwright\x20process\x20exited\x20with\x20code\x20'+_0xe220ee);continue;case'6':logger[_0x28d959(0x160)](_0x28d959(0x106)+_0x1f1de4);continue;case'7':fs[_0x28d959(0x10e)](_0x157962);continue;case'8':fs['unlinkSync'](_0x1f1de4);continue;}break;}}catch(_0x413e22){logger[_0x28d959(0x160)](_0x57ff6d[_0x28d959(0x17d)](_0x57ff6d[_0x28d959(0x170)],_0x413e22));}});}module[a33_0x1d2fc2(0x107)]=run;
2
+ 'use strict';function a33_0x12d9(){const _0x2fe7bf=['../../helpers/test-observability/constants','stringify','Error\x20in\x20closing\x20playwright','../../helpers/BrowserStackSetup','jNfli','VsUrE','getConfigPath','length','hKjcY','FeZpw','5|2|6|0|8|4|7|1|3','../../helpers/testhub/testhubHandler','inherit','map','TEsPU','ODEme','epLKQ','KMSEH','cliConfig','isFalse','skipSessionStatus','apply','fiXIj','skipSessionName','accessibilityOptions','qGhYp','../../helpers/helper','errorMessage','exports','../../helpers/test-observability/utils','1461468YJlSMq','Wywyr','concat','cwd','fvIWA','nnOVe','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','12HyDQAa','has','BROWSERSTACK_AUTOMATION','MODULE','PACKAGE_TYPE','--config','17127198aoqyiI','ddktt','YuLYW','--disable-browserstack-automation','accessibility','TnPFa','platform','testObservability','test','pLRrZ','resolve','dirname','playwright-browserstack-sdk.config.cjs','null','1757UgLKIu','dtKwt','./reporter/pwUtils','EgJjA','info','testContextOptions','playwright','../../helpers/testhub/utils','includes','launchBuild','readFileSync','siTlv','LIgGR','nestedKeyValue','join','8240877CJEKti','path','argv','Deleting\x20','stop','pSaKk','npx','startsWith','../../helpers/test-observability/error-handler','LadhH','error','35AeIQnK','171239IRiHhc','BROWSERSTACK_TEST_ACCESSIBILITY_YML','2904kcoGur','--config=','homedir','--disable-test-observability','unlinkSync','qAtYH','split','trim','push','winstonLogger','BROWSERSTACK_TEST_OBSERVABILITY','mBBje','542288cnjkkB','getPackageType','BROWSERSTACK_SETUP_CONFIG_PATH','hsKXy','../utils/constants','debug','2fhOsHP','ZGMfq','util','DASsM','clearTempPWConfig','playwright-browserstack-sdk.config.js','mfGvg','VWTtr','uIonR','./accessibility-helper','writeFileSync','wpudx','PUWOU','pw_result.json','assign','USER_CONFIG_DETAILS_PATH','.browserstack','isUndefined','../../helpers/accessibility-automation/helper','markSDKSetupComplete','BROWSERSTACK_RERUN_TESTS','TpblB','10QfCKDS','env','WHUbG','EByOJ','\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();','existsSync','BROWSERSTACK_PW_CONFIG_DIR','config','UNXIn','Updated\x20config\x20file\x20name\x20to\x20-\x20','GDpfb','false','GPwfo','PLAYWRIGHT','filter','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','finalExecution','resolvedConfigFile','BrowserStack\x20config\x20file\x20not\x20found.','Playwright\x20process\x20exited\x20with\x20code\x20','slice','633840cPspRD','splice','win32','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','oiSju','indexOf','isTrue','serializeToYamlString','jyCsr','NDaBN','isTypescriptProject','get','findIndex'];a33_0x12d9=function(){return _0x2fe7bf;};return a33_0x12d9();}const a33_0x14c3c5=a33_0x2f42;(function(_0x974fcc,_0x12a073){const _0xea8808=a33_0x2f42,_0x5ae566=_0x974fcc();while(!![]){try{const _0x4abc80=-parseInt(_0xea8808(0x26f))/0x1+-parseInt(_0xea8808(0x283))/0x2*(-parseInt(_0xea8808(0x239))/0x3)+parseInt(_0xea8808(0x27d))/0x4*(parseInt(_0xea8808(0x26e))/0x5)+parseInt(_0xea8808(0x20e))/0x6+parseInt(_0xea8808(0x254))/0x7*(parseInt(_0xea8808(0x271))/0x8)+-parseInt(_0xea8808(0x263))/0x9*(-parseInt(_0xea8808(0x1f9))/0xa)+-parseInt(_0xea8808(0x246))/0xb*(parseInt(_0xea8808(0x240))/0xc);if(_0x4abc80===_0x12a073)break;else _0x5ae566['push'](_0x5ae566['shift']());}catch(_0x3aa942){_0x5ae566['push'](_0x5ae566['shift']());}}}(a33_0x12d9,0xc8455));function a33_0x2f42(_0x20563f,_0x208c82){const _0x12d917=a33_0x12d9();return a33_0x2f42=function(_0x2f4279,_0x350fce){_0x2f4279=_0x2f4279-0x1e7;let _0x1b6c0f=_0x12d917[_0x2f4279];return _0x1b6c0f;},a33_0x2f42(_0x20563f,_0x208c82);}const fs=require('fs'),path=require(a33_0x14c3c5(0x264)),{spawn}=require('child_process'),{format}=require(a33_0x14c3c5(0x285)),logger=require('../../helpers/logger')[a33_0x14c3c5(0x27a)],{default:BrowserStackSetup}=require(a33_0x14c3c5(0x21e)),helper=require(a33_0x14c3c5(0x235)),constants=require(a33_0x14c3c5(0x281)),{FRAMEWORKS}=require(a33_0x14c3c5(0x21b)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a33_0x14c3c5(0x256)),{CrashReporter}=require(a33_0x14c3c5(0x26b)),{getFrameworkVersion}=require(a33_0x14c3c5(0x238)),{checkAccessibilityPlatformConfig}=require(a33_0x14c3c5(0x1f5)),{setAccessibilityCapabilities}=require(a33_0x14c3c5(0x1ec)),TestHubHandler=require(a33_0x14c3c5(0x226)),{shouldProcessEventForTesthub}=require(a33_0x14c3c5(0x25b)),getUserPlaywrightConfig=async(_0x2f2aa2,_0x1dede0)=>{const _0x4cb41f=a33_0x14c3c5,_0x1a182e={'EgJjA':function(_0x176be0){return _0x176be0();},'GDpfb':function(_0x40a184,_0x3500a8){return _0x40a184(_0x3500a8);},'jyCsr':_0x4cb41f(0x20a),'zKyCB':'--config='},_0x102f2b=!helper[_0x4cb41f(0x1f4)](_0x2f2aa2[_0x4cb41f(0x200)]),_0x2f665b=_0x102f2b?path['resolve'](process['cwd'](),_0x2f2aa2[_0x4cb41f(0x200)]):process[_0x4cb41f(0x23c)](),{resolveConfigFile:_0x5fa630,resolveConfigLocation:_0x4910a0}=helper['requirePWModule'][_0x4cb41f(0x230)](null,_0x1a182e[_0x4cb41f(0x257)](getConfigLoaderPath)),_0x4b2252=_0x5fa630?_0x1a182e[_0x4cb41f(0x203)](_0x5fa630,_0x2f665b):helper[_0x4cb41f(0x261)](_0x1a182e[_0x4cb41f(0x203)](_0x4910a0,_0x2f665b),[_0x1a182e[_0x4cb41f(0x216)]]);let _0x1bf4ba={};if(_0x102f2b){const _0x1d5eb6=_0x1dede0[_0x4cb41f(0x21a)](_0x18920a=>_0x18920a===_0x4cb41f(0x245)||_0x18920a==='-c'||_0x18920a[_0x4cb41f(0x26a)](_0x4cb41f(0x272)));_0x1dede0[_0x4cb41f(0x20f)](_0x1d5eb6,_0x1dede0[_0x1d5eb6][_0x4cb41f(0x26a)](_0x1a182e['zKyCB'])?0x1:0x2);}const _0x14b7ca={};return _0x14b7ca[_0x4cb41f(0x264)]=_0x4b2252,_0x14b7ca[_0x4cb41f(0x200)]=_0x1bf4ba,_0x14b7ca;},handleO11yRerun=_0x212207=>{const _0x176531=a33_0x14c3c5,_0x46442d={};_0x46442d['uIonR']=function(_0x2c87d7,_0x1fba76){return _0x2c87d7!==_0x1fba76;},_0x46442d['PUWOU']=_0x176531(0x253),_0x46442d[_0x176531(0x23a)]='--grep';const _0x401aaa=_0x46442d,_0x5b613c=helper[_0x176531(0x214)](process[_0x176531(0x1fa)]['BROWSERSTACK_RERUN']);if(_0x5b613c){const _0x41fc00=process[_0x176531(0x1fa)][_0x176531(0x1f7)],_0x16915e=[];if(_0x401aaa[_0x176531(0x1eb)](_0x41fc00,_0x401aaa[_0x176531(0x1ef)])&&!helper[_0x176531(0x1f4)](_0x41fc00)){_0x41fc00[_0x176531(0x277)](',')[_0x176531(0x228)](_0x153e76=>{const _0x32f255=_0x176531;_0x16915e['push']('('+_0x153e76[_0x32f255(0x278)]()+')');});const _0x16fd07='^'+_0x16915e[_0x176531(0x262)]('|')+'$';_0x212207[_0x176531(0x279)](_0x401aaa[_0x176531(0x23a)],_0x16fd07);}}},spawnOriginalProcess=_0x3381f0=>{const _0x3b6cb0=a33_0x14c3c5,_0xa00c98={'AjnDY':function(_0x55406a,_0x5895b7,_0xb1803f,_0x11b69b){return _0x55406a(_0x5895b7,_0xb1803f,_0x11b69b);},'twUdb':_0x3b6cb0(0x269),'kCPrm':_0x3b6cb0(0x25a),'zPRgF':function(_0x2d1e5b,_0x3ad3b4){return _0x2d1e5b===_0x3ad3b4;},'mBBje':_0x3b6cb0(0x210),'dtKwt':_0x3b6cb0(0x227)};_0xa00c98['AjnDY'](spawn,_0xa00c98['twUdb'],[_0xa00c98['kCPrm'],..._0x3381f0[_0x3b6cb0(0x20d)](0x1)],{'shell':_0xa00c98['zPRgF'](process['platform'],_0xa00c98[_0x3b6cb0(0x27c)]),'stdio':_0xa00c98[_0x3b6cb0(0x255)],'cwd':process[_0x3b6cb0(0x23c)]()});},isTestCommand=(_0x381c3c,_0x1bb4b7)=>{const _0x42298b=a33_0x14c3c5,_0x31246c={};_0x31246c[_0x42298b(0x212)]=function(_0x239e3e,_0x3718ce){return _0x239e3e>_0x3718ce;},_0x31246c[_0x42298b(0x220)]=function(_0x271f02,_0x379083){return _0x271f02===_0x379083;},_0x31246c[_0x42298b(0x26c)]=_0x42298b(0x24e);const _0x1c7510=_0x31246c;if(_0x1c7510['oiSju'](_0x1bb4b7[_0x42298b(0x222)],0x1)&&_0x1c7510[_0x42298b(0x220)](_0x1bb4b7[0x1],_0x1c7510[_0x42298b(0x26c)]))return!![];return![];};async function run(_0xeafb78,_0x2547da){const _0xe0f7a9=a33_0x14c3c5,_0x1ffe8d={'UNXIn':_0xe0f7a9(0x1f3),'npsKC':_0xe0f7a9(0x1f0),'ZGMfq':function(_0x1ad28c,_0x59fb7a){return _0x1ad28c+_0x59fb7a;},'KMSEH':'Error\x20in\x20getting\x20funnel\x20data\x20results','TnPFa':_0xe0f7a9(0x225),'siTlv':function(_0x5310d5){return _0x5310d5();},'qGhYp':function(_0x8273c2,_0x1ef15e){return _0x8273c2+_0x1ef15e;},'pLRrZ':_0xe0f7a9(0x21d),'mfGvg':_0xe0f7a9(0x249),'nnOVe':_0xe0f7a9(0x204),'qAtYH':_0xe0f7a9(0x274),'YuLYW':function(_0x225334,_0x2e48f1){return _0x225334>=_0x2e48f1;},'TEsPU':'Error\x20in\x20deleting\x20playwright\x20results','NDaBN':function(_0x5bc190,_0x30cf96,_0x29e3b1){return _0x5bc190(_0x30cf96,_0x29e3b1);},'hsKXy':function(_0x5735eb,_0x32660a){return _0x5735eb(_0x32660a);},'eUFit':_0xe0f7a9(0x20b),'fvIWA':'automation','QAdGp':function(_0x584330,_0x18740b){return _0x584330!=_0x18740b;},'epLKQ':function(_0x58fca3,_0xc77427){return _0x58fca3(_0xc77427);},'EByOJ':function(_0xb89b11,_0x288c89){return _0xb89b11===_0x288c89;},'JhhOD':'true','ddktt':'browserstackSetupConfig.json','GWZKa':function(_0x403800,_0x4f9e5d){return _0x403800===_0x4f9e5d;},'GPwfo':_0xe0f7a9(0x252),'LkMNV':_0xe0f7a9(0x1e8),'mNECu':function(_0x1c2ee2,_0x2df9f7){return _0x1c2ee2-_0x2df9f7;},'VWTtr':function(_0x2d2bf3,_0x3f345d){return _0x2d2bf3+_0x3f345d;},'hKjcY':_0xe0f7a9(0x202),'TpblB':function(_0xbbba18,_0x4ff850){return _0xbbba18>_0x4ff850;},'fiXIj':function(_0x4b3247,_0x17f141,_0x17debb,_0x254851){return _0x4b3247(_0x17f141,_0x17debb,_0x254851);},'ODEme':'npx','WHUbG':_0xe0f7a9(0x25a),'DASsM':'test','FeZpw':'--config','LIgGR':function(_0x2d0b53,_0xe2b538){return _0x2d0b53===_0xe2b538;},'wpudx':_0xe0f7a9(0x210),'pSaKk':_0xe0f7a9(0x227),'jNfli':'close'};!helper[_0xe0f7a9(0x22e)](process[_0xe0f7a9(0x1fa)][_0xe0f7a9(0x242)])&&(process[_0xe0f7a9(0x1fa)]['BROWSERSTACK_AUTOMATION']=!![]);process[_0xe0f7a9(0x265)][_0xe0f7a9(0x25c)](_0x1ffe8d[_0xe0f7a9(0x1e9)])&&(process[_0xe0f7a9(0x1fa)][_0xe0f7a9(0x242)]=_0x1ffe8d[_0xe0f7a9(0x23e)],_0x2547da=_0x2547da[_0xe0f7a9(0x207)](_0x407495=>_0x407495!==_0xe0f7a9(0x249)));const _0x122783=_0x2547da[_0xe0f7a9(0x213)](_0x1ffe8d[_0xe0f7a9(0x276)]);_0x1ffe8d[_0xe0f7a9(0x248)](_0x122783,0x0)&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=_0x1ffe8d[_0xe0f7a9(0x23e)],_0x2547da=_0x2547da['filter'](_0xeaca94=>_0xeaca94!=='--disable-test-observability'));try{const _0x3d3a2e=path[_0xe0f7a9(0x262)](helper[_0xe0f7a9(0x273)](),_0x1ffe8d[_0xe0f7a9(0x201)],_0x1ffe8d['npsKC']);fs[_0xe0f7a9(0x1fe)](_0x3d3a2e)&&fs[_0xe0f7a9(0x275)](_0x3d3a2e);}catch(_0x2cd787){logger[_0xe0f7a9(0x282)](_0x1ffe8d[_0xe0f7a9(0x234)](_0x1ffe8d[_0xe0f7a9(0x229)],_0x2cd787));}if(!_0x1ffe8d['NDaBN'](isTestCommand,_0xeafb78,_0x2547da)){_0x1ffe8d[_0xe0f7a9(0x280)](spawnOriginalProcess,_0x2547da);return;}const _0x182bfc=new BrowserStackSetup(_0xeafb78,FRAMEWORKS[_0xe0f7a9(0x206)]);if(!_0x182bfc['config']){logger[_0xe0f7a9(0x26d)](_0x1ffe8d['eUFit']);return;}await _0x182bfc['initialize']();!helper[_0xe0f7a9(0x1f4)](_0x182bfc[_0xe0f7a9(0x22d)])&&_0x182bfc['cliConfig'][_0xe0f7a9(0x241)](_0x1ffe8d[_0xe0f7a9(0x23d)])&&(process[_0xe0f7a9(0x1fa)]['BROWSERSTACK_AUTOMATION']=_0x182bfc[_0xe0f7a9(0x22d)][_0xe0f7a9(0x219)](_0x1ffe8d[_0xe0f7a9(0x23d)])||!![]);_0x1ffe8d['QAdGp'](_0x182bfc['config'][_0xe0f7a9(0x24d)],null)&&!helper[_0xe0f7a9(0x214)](process['env'][_0xe0f7a9(0x27b)])&&(process[_0xe0f7a9(0x1fa)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0xe0f7a9(0x1fa)][_0xe0f7a9(0x27b)]||_0x182bfc[_0xe0f7a9(0x200)][_0xe0f7a9(0x24d)]);const _0x419f3d=!helper[_0xe0f7a9(0x22e)](process['env'][_0xe0f7a9(0x27b)]);let _0x487ffa=![];_0x182bfc[_0xe0f7a9(0x200)]['accessibility']&&(_0x487ffa=!![],process[_0xe0f7a9(0x1fa)][_0xe0f7a9(0x270)]=_0x182bfc[_0xe0f7a9(0x200)][_0xe0f7a9(0x24a)]);_0x182bfc[_0xe0f7a9(0x200)][_0xe0f7a9(0x233)]&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0xe0f7a9(0x21c)](_0x182bfc[_0xe0f7a9(0x200)]['accessibilityOptions']));const _0x14b408=_0x2547da[_0xe0f7a9(0x23b)](),_0x45fc2f=await _0x1ffe8d[_0xe0f7a9(0x217)](getUserPlaywrightConfig,_0xeafb78,_0x2547da);if(helper['isUndefined'](_0x45fc2f)){_0x1ffe8d['hsKXy'](spawnOriginalProcess,_0x14b408);return;}const _0x42ff0c=_0x45fc2f[_0xe0f7a9(0x264)]?path['dirname'](_0x45fc2f[_0xe0f7a9(0x264)]):process[_0xe0f7a9(0x23c)]();process[_0xe0f7a9(0x1fa)][_0xe0f7a9(0x1ff)]=_0x42ff0c,await TestHubHandler[_0xe0f7a9(0x25d)](FRAMEWORKS[_0xe0f7a9(0x206)],_0x182bfc);_0x419f3d&&_0x1ffe8d[_0xe0f7a9(0x22b)](handleO11yRerun,_0x2547da);let _0x4b6827=_0x1ffe8d[_0xe0f7a9(0x1fc)](process[_0xe0f7a9(0x1fa)][_0xe0f7a9(0x270)],_0x1ffe8d['JhhOD']);_0x4b6827=_0x4b6827||_0x1ffe8d['hsKXy'](checkAccessibilityPlatformConfig,_0x182bfc[_0xe0f7a9(0x200)]),process[_0xe0f7a9(0x1fa)][_0xe0f7a9(0x270)]=_0x4b6827;_0x4b6827&&_0x1ffe8d[_0xe0f7a9(0x22b)](setAccessibilityCapabilities,_0x182bfc[_0xe0f7a9(0x200)]);const _0x97e4ad=path[_0xe0f7a9(0x262)](_0x45fc2f[_0xe0f7a9(0x264)]?path['dirname'](_0x45fc2f[_0xe0f7a9(0x264)]):process[_0xe0f7a9(0x23c)](),_0x1ffe8d[_0xe0f7a9(0x247)]);fs[_0xe0f7a9(0x1ed)](_0x97e4ad,helper[_0xe0f7a9(0x215)](_0x182bfc[_0xe0f7a9(0x200)])),process[_0xe0f7a9(0x1fa)][_0xe0f7a9(0x27f)]=_0x97e4ad,helper[_0xe0f7a9(0x1e7)]();let _0x29e425='';_0x1ffe8d['GWZKa'](helper[_0xe0f7a9(0x27e)](),constants[_0xe0f7a9(0x244)][_0xe0f7a9(0x243)])?_0x29e425=_0x1ffe8d[_0xe0f7a9(0x205)]:_0x29e425=_0x1ffe8d['LkMNV'];let _0x5e7586='';if(helper[_0xe0f7a9(0x218)](_0x45fc2f[_0xe0f7a9(0x264)])){_0x5e7586=_0xe0f7a9(0x211);const _0x97a36c=_0x29e425[_0xe0f7a9(0x277)]('.');_0x97a36c[_0x1ffe8d['mNECu'](_0x97a36c['length'],0x1)]='ts',_0x29e425=_0x97a36c[_0xe0f7a9(0x262)]('.'),logger['debug'](_0x1ffe8d[_0xe0f7a9(0x1ea)](_0x1ffe8d[_0xe0f7a9(0x223)],_0x29e425));}else _0x5e7586=_0xe0f7a9(0x208);const _0x2d33cf=path[_0xe0f7a9(0x262)](_0x45fc2f['path']?path[_0xe0f7a9(0x251)](_0x45fc2f[_0xe0f7a9(0x264)]):process[_0xe0f7a9(0x23c)](),_0x29e425);let _0x9060f6=_0x45fc2f[_0xe0f7a9(0x264)]?_0x45fc2f[_0xe0f7a9(0x264)]:'';_0x9060f6=_0x1ffe8d[_0xe0f7a9(0x1f8)](_0x9060f6[_0xe0f7a9(0x222)],0x0)?path[_0xe0f7a9(0x250)](_0x9060f6):'',process[_0xe0f7a9(0x1fa)][_0xe0f7a9(0x1f2)]=_0x9060f6;const _0x7cce9=helper['getProxyUrl'](_0x182bfc[_0xe0f7a9(0x200)]);_0x7cce9&&(_0x5e7586=_0x1ffe8d['ZGMfq'](_0xe0f7a9(0x23f)+_0x7cce9+_0xe0f7a9(0x1fd),_0x5e7586));helper['filterBrowserstackConfig']({},_0x2547da),fs[_0xe0f7a9(0x1ed)](_0x2d33cf,_0x5e7586),helper[_0xe0f7a9(0x1f6)]();const _0x5b6d42=_0x1ffe8d[_0xe0f7a9(0x231)](spawn,_0x1ffe8d[_0xe0f7a9(0x22a)],[_0x1ffe8d[_0xe0f7a9(0x1fb)],_0x1ffe8d[_0xe0f7a9(0x286)],_0x1ffe8d[_0xe0f7a9(0x224)],_0x2d33cf,..._0x2547da['slice'](0x2)],{'shell':_0x1ffe8d[_0xe0f7a9(0x260)](process[_0xe0f7a9(0x24c)],_0x1ffe8d[_0xe0f7a9(0x1ee)]),'stdio':_0x1ffe8d[_0xe0f7a9(0x268)],'cwd':process['cwd'](),'env':Object[_0xe0f7a9(0x1f1)]({},process[_0xe0f7a9(0x1fa)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0xe0f7a9(0x221)](_0xeafb78),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x182bfc['config'][_0xe0f7a9(0x259)][_0xe0f7a9(0x22f)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x182bfc[_0xe0f7a9(0x200)]['testContextOptions'][_0xe0f7a9(0x232)],'BROWSERSTACK_LOG_LEVEL':_0x182bfc[_0xe0f7a9(0x200)]['logLevel']})}),_0x3a09db=()=>{const _0x4c9a0a=_0xe0f7a9;try{const _0x35c6fc=path['join'](helper[_0x4c9a0a(0x273)](),_0x1ffe8d[_0x4c9a0a(0x201)],_0x1ffe8d['npsKC']);if(fs[_0x4c9a0a(0x1fe)](_0x35c6fc)){let _0x12165f=fs[_0x4c9a0a(0x25e)](_0x35c6fc);_0x12165f=JSON['parse'](_0x12165f),_0x182bfc[_0x4c9a0a(0x236)]=_0x12165f,fs[_0x4c9a0a(0x275)](_0x35c6fc);}}catch(_0x59f39a){logger[_0x4c9a0a(0x282)](_0x1ffe8d[_0x4c9a0a(0x284)](_0x1ffe8d[_0x4c9a0a(0x22c)],_0x59f39a));}};_0x5b6d42['on'](_0x1ffe8d[_0xe0f7a9(0x21f)],async _0x578168=>{const _0x29a8b8=_0xe0f7a9;try{const _0x36609a=_0x1ffe8d[_0x29a8b8(0x24b)][_0x29a8b8(0x277)]('|');let _0x42ba2f=0x0;while(!![]){switch(_0x36609a[_0x42ba2f++]){case'0':process['exitCode']=_0x578168;continue;case'1':logger[_0x29a8b8(0x282)]('Deleting\x20'+_0x97e4ad);continue;case'2':await TestHubHandler[_0x29a8b8(0x267)]();continue;case'3':fs['unlinkSync'](_0x97e4ad);continue;case'4':logger[_0x29a8b8(0x258)](_0x29a8b8(0x266)+_0x2d33cf);continue;case'5':_0x1ffe8d[_0x29a8b8(0x25f)](_0x3a09db);continue;case'6':await helper[_0x29a8b8(0x209)](_0x182bfc);continue;case'7':fs['unlinkSync'](_0x2d33cf);continue;case'8':logger[_0x29a8b8(0x282)](_0x29a8b8(0x20c)+_0x578168);continue;}break;}}catch(_0x3e9ebd){logger[_0x29a8b8(0x282)](_0x1ffe8d['qGhYp'](_0x1ffe8d[_0x29a8b8(0x24f)],_0x3e9ebd));}});}module[a33_0x14c3c5(0x237)]=run;
@@ -1 +1 @@
1
- const a34_0x4a5a25=a34_0x5206;(function(_0x315b33,_0x363387){const _0x351860=a34_0x5206,_0x5b7870=_0x315b33();while(!![]){try{const _0x13afab=parseInt(_0x351860(0x19d))/0x1*(-parseInt(_0x351860(0x1bb))/0x2)+parseInt(_0x351860(0x1a9))/0x3*(parseInt(_0x351860(0x1b7))/0x4)+-parseInt(_0x351860(0x1a8))/0x5*(-parseInt(_0x351860(0x19b))/0x6)+-parseInt(_0x351860(0x1a0))/0x7*(-parseInt(_0x351860(0x19e))/0x8)+-parseInt(_0x351860(0x1ac))/0x9*(-parseInt(_0x351860(0x1b9))/0xa)+parseInt(_0x351860(0x198))/0xb*(parseInt(_0x351860(0x1af))/0xc)+parseInt(_0x351860(0x19a))/0xd*(-parseInt(_0x351860(0x1a2))/0xe);if(_0x13afab===_0x363387)break;else _0x5b7870['push'](_0x5b7870['shift']());}catch(_0x4e546b){_0x5b7870['push'](_0x5b7870['shift']());}}}(a34_0x1448,0xba266));function a34_0x5206(_0x4aaa3c,_0x2ca62a){const _0x144859=a34_0x1448();return a34_0x5206=function(_0x52068b,_0x5e2376){_0x52068b=_0x52068b-0x198;let _0x1a1eb4=_0x144859[_0x52068b];return _0x1a1eb4;},a34_0x5206(_0x4aaa3c,_0x2ca62a);}const child_process=require(a34_0x4a5a25(0x1b3)),{FRAMEWORKS}=require(a34_0x4a5a25(0x1b8)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a34_0x4a5a25(0x1a3)),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x4a5a25(0x19f)),logger=require('../../helpers/logger')[a34_0x4a5a25(0x1aa)];function a34_0x1448(){const _0x49b392=['VudnP','error','compareVersions','OpHHj','66ijLXsv','Call\x20to\x20child\x20fork\x20with\x20args\x20','689RYjHru','1182ShsIiQ','env','277oPBKNX','2584ZueKkN','./reporter/pwUtils','31689vYCdsG','sWMhB','739802TFgyWu','../../helpers/helper','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','requirePWModule','HbKeP','apply','1205aJRCrL','174tbWDhw','winstonLogger','MIdtF','948168tppuGm','Not\x20able\x20to\x20import\x20globalSetup','Running\x20existing\x20global\x20setup','2686188fszTUi','exports','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','\x20is\x20not\x20found','child_process','PLAYWRIGHT','fork','HIaiv','54212uQpepV','../../helpers/test-observability/constants','110WZGhgW','./mock-process.js','8914sQlsvN','function'];a34_0x1448=function(){return _0x49b392;};return a34_0x1448();}module[a34_0x4a5a25(0x1b0)]=async function(_0x25434e){const _0x131a27=a34_0x4a5a25,_0x4924bc={'sWMhB':function(_0x5bc474,_0x550903){return _0x5bc474(_0x550903);},'ecwue':function(_0x1de9dd){return _0x1de9dd();},'HbKeP':_0x131a27(0x1ba),'bzZyH':function(_0x22610e){return _0x22610e();},'Felnt':_0x131a27(0x1ae),'VvgLa':function(_0x4916d3,_0x432f2e){return _0x4916d3>=_0x432f2e;},'VudnP':'1.33.0','MIdtF':function(_0x58dfca,_0x3e6344,_0x4d4531){return _0x58dfca(_0x3e6344,_0x4d4531);},'ZDjPD':function(_0x3c3b4c,_0xd86758){return _0x3c3b4c!==_0xd86758;},'Vvyxa':_0x131a27(0x1bc),'HIaiv':_0x131a27(0x1ad),'OpHHj':function(_0x1c3c81,_0x297fb3){return _0x1c3c81(_0x297fb3);}},_0x1142ab=child_process[_0x131a27(0x1b5)];child_process[_0x131a27(0x1b5)]=function(){const _0x30334e=_0x131a27;return _0x4924bc[_0x30334e(0x1a1)](debug,_0x30334e(0x199)+arguments[0x0]),arguments[0x0]['includes'](_0x4924bc['ecwue'](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x4924bc[_0x30334e(0x1a6)]):logger[_0x30334e(0x1be)]('Path\x20'+_0x4924bc['bzZyH'](getForkProcessPath)+_0x30334e(0x1b2)),_0x1142ab['apply'](null,arguments);};if(process[_0x131a27(0x19c)][_0x131a27(0x1a4)]){_0x4924bc['sWMhB'](debug,_0x4924bc['Felnt']);try{const {loadGlobalHook:_0x555658}=helper[_0x131a27(0x1a5)][_0x131a27(0x1a7)](null,_0x4924bc['bzZyH'](getLoadUtilsPath)),_0x54d34a=_0x4924bc[_0x131a27(0x1a1)](getFrameworkVersion,FRAMEWORKS[_0x131a27(0x1b4)]);let _0x209695=_0x25434e;if(_0x4924bc['VvgLa'](helper[_0x131a27(0x1bf)](_0x54d34a,_0x4924bc[_0x131a27(0x1bd)]),0x0)){const _0x4f5111={};_0x4f5111['config']=_0x25434e,_0x209695=_0x4f5111;}const _0x1745e3=await _0x4924bc[_0x131a27(0x1ab)](_0x555658,_0x209695,process[_0x131a27(0x19c)][_0x131a27(0x1a4)]);if(_0x4924bc['ZDjPD'](typeof _0x1745e3,_0x4924bc['Vvyxa']))throw new Error(_0x4924bc[_0x131a27(0x1b6)]);return _0x1745e3[_0x131a27(0x1a7)](null,arguments);}catch(_0x118ba0){_0x4924bc[_0x131a27(0x1c0)](debug,_0x131a27(0x1b1)+_0x118ba0['toString']());}}};
1
+ function a34_0x47cc(){const _0x364d17=['env','compareVersions','1.33.0','resolve','config','9SesidY','function','fork','Not\x20able\x20to\x20import\x20globalSetup','apply','4548SgrVfZ','child_process','263556RcwEWz','qTrUX','../../helpers/test-observability/constants','Sizlk','3095124CWzLLg','108115mrXaiT','WlJlh','../../helpers/helper','includes','../../helpers/test-observability/utils','268MtSKgi','\x20is\x20not\x20found','requirePWModule','./reporter/pwUtils','error','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','420428whFyJA','nAlCi','20jOObaP','209586qiVDud','1559210LUygaI','PLAYWRIGHT','40khzFTT','../../helpers/logger','winstonLogger','Path\x20','tYeZX','22urMLaq','FmdWC','Running\x20existing\x20global\x20setup','exports','LiDzM'];a34_0x47cc=function(){return _0x364d17;};return a34_0x47cc();}function a34_0x4837(_0x46299c,_0x5d3b67){const _0x47cca1=a34_0x47cc();return a34_0x4837=function(_0x48378f,_0x4387f1){_0x48378f=_0x48378f-0xab;let _0x114013=_0x47cca1[_0x48378f];return _0x114013;},a34_0x4837(_0x46299c,_0x5d3b67);}const a34_0x3ca021=a34_0x4837;(function(_0x1b9730,_0x1d8751){const _0x2cbd5d=a34_0x4837,_0x124def=_0x1b9730();while(!![]){try{const _0x41ddf7=-parseInt(_0x2cbd5d(0xd6))/0x1+parseInt(_0x2cbd5d(0xc6))/0x2+-parseInt(_0x2cbd5d(0xc4))/0x3*(parseInt(_0x2cbd5d(0xd0))/0x4)+-parseInt(_0x2cbd5d(0xac))/0x5*(parseInt(_0x2cbd5d(0xad))/0x6)+-parseInt(_0x2cbd5d(0xcb))/0x7*(-parseInt(_0x2cbd5d(0xb0))/0x8)+parseInt(_0x2cbd5d(0xbf))/0x9*(parseInt(_0x2cbd5d(0xae))/0xa)+-parseInt(_0x2cbd5d(0xb5))/0xb*(-parseInt(_0x2cbd5d(0xca))/0xc);if(_0x41ddf7===_0x1d8751)break;else _0x124def['push'](_0x124def['shift']());}catch(_0x4fab0c){_0x124def['push'](_0x124def['shift']());}}}(a34_0x47cc,0x357ae));const child_process=require(a34_0x3ca021(0xc5)),{FRAMEWORKS}=require(a34_0x3ca021(0xc8)),{getFrameworkVersion,debug}=require(a34_0x3ca021(0xcf)),helper=require(a34_0x3ca021(0xcd)),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x3ca021(0xd3)),logger=require(a34_0x3ca021(0xb1))[a34_0x3ca021(0xb2)];module[a34_0x3ca021(0xb8)]=async function(_0xde0e41){const _0x2f1914=a34_0x3ca021,_0x1f673a={'LiDzM':function(_0x1b0c5c,_0x38703d){return _0x1b0c5c(_0x38703d);},'WlJlh':function(_0x2b756f){return _0x2b756f();},'FmdWC':'./mock-process.js','tYeZX':function(_0x1e6b5a){return _0x1e6b5a();},'NCTDg':function(_0x47c056,_0x1913e0){return _0x47c056(_0x1913e0);},'MQkGr':_0x2f1914(0xb7),'Mjfxr':function(_0x1bfb36,_0x2ba64a){return _0x1bfb36>=_0x2ba64a;},'AZuHe':_0x2f1914(0xbc),'Sizlk':function(_0x9282c3,_0x59e71c,_0x2abe48){return _0x9282c3(_0x59e71c,_0x2abe48);},'qTrUX':function(_0xa8155a,_0x4c79e7){return _0xa8155a!==_0x4c79e7;},'nAlCi':_0x2f1914(0xc0),'TfOQm':_0x2f1914(0xc2)},_0x3630ab=child_process[_0x2f1914(0xc1)];child_process[_0x2f1914(0xc1)]=function(){const _0x4d3bd5=_0x2f1914;return _0x1f673a[_0x4d3bd5(0xb9)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x4d3bd5(0xce)](_0x1f673a[_0x4d3bd5(0xcc)](getForkProcessPath))?arguments[0x0]=require[_0x4d3bd5(0xbd)](_0x1f673a[_0x4d3bd5(0xb6)]):logger[_0x4d3bd5(0xd4)](_0x4d3bd5(0xb3)+_0x1f673a[_0x4d3bd5(0xb4)](getForkProcessPath)+_0x4d3bd5(0xd1)),_0x3630ab[_0x4d3bd5(0xc3)](null,arguments);};if(process[_0x2f1914(0xba)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x1f673a['NCTDg'](debug,_0x1f673a['MQkGr']);try{const {loadGlobalHook:_0x2684c9}=helper[_0x2f1914(0xd2)][_0x2f1914(0xc3)](null,_0x1f673a[_0x2f1914(0xb4)](getLoadUtilsPath)),_0xd874eb=_0x1f673a[_0x2f1914(0xb9)](getFrameworkVersion,FRAMEWORKS[_0x2f1914(0xaf)]);let _0xd2b1c7=_0xde0e41;if(_0x1f673a['Mjfxr'](helper[_0x2f1914(0xbb)](_0xd874eb,_0x1f673a['AZuHe']),0x0)){const _0x38ab1c={};_0x38ab1c[_0x2f1914(0xbe)]=_0xde0e41,_0xd2b1c7=_0x38ab1c;}const _0x1782bf=await _0x1f673a[_0x2f1914(0xc9)](_0x2684c9,_0xd2b1c7,process[_0x2f1914(0xba)][_0x2f1914(0xd5)]);if(_0x1f673a[_0x2f1914(0xc7)](typeof _0x1782bf,_0x1f673a[_0x2f1914(0xab)]))throw new Error(_0x1f673a['TfOQm']);return _0x1782bf[_0x2f1914(0xc3)](null,arguments);}catch(_0x445443){_0x1f673a[_0x2f1914(0xb9)](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x445443['toString']());}}};