browserstack-node-sdk 1.34.53 → 1.34.54

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 (138) 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/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/templates/hubharesources/turboscale-uploader.yaml +10 -0
  27. package/ats/src/utils/AWSUtils.js +1 -1
  28. package/ats/src/utils/createAutoscalerStack.js +1 -1
  29. package/ats/src/utils/createClusterStack.js +1 -1
  30. package/ats/src/utils/createHubHaStack.js +1 -1
  31. package/ats/src/utils/createk8sClient.js +1 -1
  32. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  33. package/ats/src/utils/deleteStack.js +1 -1
  34. package/ats/src/utils/describeStack.js +1 -1
  35. package/ats/src/utils/gridComponents.js +1 -1
  36. package/ats/src/utils/hstUtils.js +1 -1
  37. package/ats/src/utils/instrumentationUtils.js +1 -1
  38. package/ats/src/utils/userInput.js +1 -1
  39. package/ats/src/utils/utilityMethods.js +1 -1
  40. package/ats/src/utils/webSocketUtils.js +1 -1
  41. package/package.json +1 -1
  42. package/src/ai-sdk-node/bundle.js +1 -1
  43. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  44. package/src/bin/codeceptjs/command.js +1 -1
  45. package/src/bin/codeceptjs/helper.js +1 -1
  46. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  47. package/src/bin/cucumber-js/command.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/test-observability.js +1 -1
  51. package/src/bin/cucumber-js/test.setup.js +1 -1
  52. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  53. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  54. package/src/bin/integrations/command.js +1 -1
  55. package/src/bin/integrations/constants.js +1 -1
  56. package/src/bin/jest/command.js +1 -1
  57. package/src/bin/jest/customImplements/customCircus.js +1 -1
  58. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  59. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test_before.setup.js +1 -1
  67. package/src/bin/launcher/launcher.js +1 -1
  68. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  69. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  70. package/src/bin/mocha/command.js +1 -1
  71. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  72. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  73. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  74. package/src/bin/mocha/test.setup.js +1 -1
  75. package/src/bin/nightwatch/command.js +1 -1
  76. package/src/bin/playwright/accessibility-helper.js +1 -1
  77. package/src/bin/playwright/command.js +1 -1
  78. package/src/bin/playwright/globalSetup.js +1 -1
  79. package/src/bin/playwright/mock-process.js +1 -1
  80. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  81. package/src/bin/playwright/patches.js +1 -1
  82. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  83. package/src/bin/playwright/reporter/reporter.js +1 -1
  84. package/src/bin/playwright/reporter/test-details.js +1 -1
  85. package/src/bin/playwright/sessionDetails.js +1 -1
  86. package/src/bin/runner.js +1 -1
  87. package/src/bin/setup.js +1 -1
  88. package/src/bin/test-runner/index.js +1 -1
  89. package/src/bin/test-runner/runTest.js +1 -1
  90. package/src/bin/test-runner/testWorker.js +1 -1
  91. package/src/bin/utils/constants.js +1 -1
  92. package/src/bin/utils/log4jsAppender.js +1 -1
  93. package/src/bin/utils/logPatcher.js +1 -1
  94. package/src/bin/utils/logReportingAPI.js +1 -1
  95. package/src/bin/vanilla-js/command.js +1 -1
  96. package/src/browserStackSdk.js +1 -1
  97. package/src/helpers/BrowserStackSetup.js +1 -1
  98. package/src/helpers/accessibility-automation/constants.js +1 -1
  99. package/src/helpers/accessibility-automation/helper.js +1 -1
  100. package/src/helpers/accessibility-automation/scripts.js +1 -1
  101. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  102. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  103. package/src/helpers/ats/constants.js +1 -1
  104. package/src/helpers/ats/helper.js +1 -1
  105. package/src/helpers/capsMapping.js +1 -1
  106. package/src/helpers/central-scanner/constants.js +1 -1
  107. package/src/helpers/central-scanner/helpers.js +1 -1
  108. package/src/helpers/globals.js +1 -1
  109. package/src/helpers/helper.js +1 -1
  110. package/src/helpers/logger.js +1 -1
  111. package/src/helpers/metadata.js +1 -1
  112. package/src/helpers/patchHelper.js +1 -1
  113. package/src/helpers/patchHelpers.js +1 -1
  114. package/src/helpers/percy/Percy.js +1 -1
  115. package/src/helpers/percy/PercyBinary.js +1 -1
  116. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  117. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  118. package/src/helpers/percy/PercySDK.js +1 -1
  119. package/src/helpers/percy/index.js +1 -1
  120. package/src/helpers/percy/utils.js +1 -1
  121. package/src/helpers/performance/constants.js +1 -1
  122. package/src/helpers/performance/performance-tester.js +1 -1
  123. package/src/helpers/processHelper.js +1 -1
  124. package/src/helpers/request-spy.js +1 -1
  125. package/src/helpers/setKeepAlive.js +1 -1
  126. package/src/helpers/test-observability/constants.js +1 -1
  127. package/src/helpers/test-observability/error-handler.js +1 -1
  128. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  129. package/src/helpers/test-observability/sessionHandler.js +1 -1
  130. package/src/helpers/test-observability/utils.js +1 -1
  131. package/src/helpers/testhub/constants.js +1 -1
  132. package/src/helpers/testhub/testhubHandler.js +1 -1
  133. package/src/helpers/testhub/utils.js +1 -1
  134. package/src/helpers/timeoutPromise.js +1 -1
  135. package/src/helpers/utilities.js +1 -1
  136. package/src/helpers/w3cMapping.js +1 -1
  137. package/src/hubAllocationMethods.js +1 -1
  138. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a29_0x65fa62=a29_0x2fb7;(function(_0xbe646f,_0x11b8b5){const _0x2caf0c=a29_0x2fb7,_0x5408ef=_0xbe646f();while(!![]){try{const _0x5a8fda=parseInt(_0x2caf0c(0x1f7))/0x1*(-parseInt(_0x2caf0c(0x248))/0x2)+parseInt(_0x2caf0c(0x1f3))/0x3+parseInt(_0x2caf0c(0x209))/0x4+-parseInt(_0x2caf0c(0x233))/0x5+parseInt(_0x2caf0c(0x214))/0x6+parseInt(_0x2caf0c(0x23a))/0x7*(parseInt(_0x2caf0c(0x254))/0x8)+parseInt(_0x2caf0c(0x1f9))/0x9*(-parseInt(_0x2caf0c(0x205))/0xa);if(_0x5a8fda===_0x11b8b5)break;else _0x5408ef['push'](_0x5408ef['shift']());}catch(_0x53da31){_0x5408ef['push'](_0x5408ef['shift']());}}}(a29_0x15c5,0x1d3d2));const logger=require('../../../helpers/logger')[a29_0x65fa62(0x23d)],helper=require(a29_0x65fa62(0x1ed)),constants=require(a29_0x65fa62(0x230)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x65fa62(0x247)),{setAccessibilityCapabilities,setExtension}=require(a29_0x65fa62(0x224)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a29_0x65fa62(0x1fc)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x45eed3,_0x3b216d=null,_0xf1c385=![])=>{const _0x17352b=a29_0x65fa62,_0xa969ac={'jrlwC':function(_0x5b6d2c,_0x202311){return _0x5b6d2c!==_0x202311;},'aMZuK':_0x17352b(0x1f8),'mCAHq':function(_0x56bbd5,_0x3cf64a){return _0x56bbd5!==_0x3cf64a;},'nXnjD':function(_0x2d9491,_0x4b4672){return _0x2d9491+_0x4b4672;},'srGbg':function(_0x3e5839,_0x737bf){return _0x3e5839+_0x737bf;},'kopEL':_0x17352b(0x212),'hAXJk':_0x17352b(0x251),'wsVkd':_0x17352b(0x22d),'cezsY':_0x17352b(0x229),'OFNtb':_0x17352b(0x218),'GmZmR':_0x17352b(0x22f),'zBNsE':_0x17352b(0x1ef),'RYxDS':'firefoxOptions','mgEDY':_0x17352b(0x255),'BROpf':'se:ieOptions','TIepe':_0x17352b(0x221),'cEdbl':function(_0x21b443,_0x47ef7f){return _0x21b443===_0x47ef7f;},'ectZc':'object','QKXUj':_0x17352b(0x200),'gKJtn':function(_0x2f7eba,_0x5de283,_0x1021ad){return _0x2f7eba(_0x5de283,_0x1021ad);},'WjLlN':_0x17352b(0x206),'JkSrB':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','PfZKA':function(_0x3a7afe,_0x5aca2f){return _0x3a7afe(_0x5aca2f);},'LtRDa':function(_0x5d49ef,_0x35aff3,_0xbfc7fc){return _0x5d49ef(_0x35aff3,_0xbfc7fc);},'YSxzH':_0x17352b(0x242),'sUtPs':_0x17352b(0x21e),'eBNvV':function(_0x472134){return _0x472134();},'jadyp':function(_0x31504a,_0x10098a){return _0x31504a(_0x10098a);},'OcKtQ':_0x17352b(0x234),'QmfDy':function(_0xe36bac,_0x456a11){return _0xe36bac(_0x456a11);},'wphMf':function(_0x37f76c,_0x1c1a3d,_0xa8d92){return _0x37f76c(_0x1c1a3d,_0xa8d92);},'lLrND':function(_0x4a8f31,_0x468d6b){return _0x4a8f31!==_0x468d6b;},'QVOed':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','JhJiC':_0x17352b(0x243)},_0x228665=helper[_0x17352b(0x226)]();let _0x574525;try{_0x574525=helper['requireSeleniumWebdriver'](),_0x574525['originalBuilder']&&(_0x574525[_0x17352b(0x21c)]=_0x574525['originalBuilder']);}catch(_0x5e37bf){return;}if(helper['isBrowserstackInfra']()){const _0x466e19={};_0x466e19['logLevel']=_0x45eed3[_0x17352b(0x1ee)],helper['setLogLevel'](_0x466e19,new Map(),new Map()),logger[_0x17352b(0x225)](_0xa969ac[_0x17352b(0x244)]),logger[_0x17352b(0x1f6)](_0xa969ac['JhJiC']);}class _0x5172b3 extends _0x228665['HttpClient']{[_0x17352b(0x23b)](_0x4edaa3){const _0xa1b327=_0x17352b;if(_0xa969ac[_0xa1b327(0x203)](_0x4edaa3['path'],_0xa969ac[_0xa1b327(0x237)])&&_0xa969ac[_0xa1b327(0x1fb)](global[_0xa1b327(0x23f)],''))try{global[_0xa1b327(0x23f)]=_0xa969ac[_0xa1b327(0x232)](_0xa969ac[_0xa1b327(0x1eb)](_0xa969ac[_0xa1b327(0x23c)],global['newHubUrl']),_0xa969ac[_0xa1b327(0x1fe)]),this[_0xa1b327(0x231)]=hubAllocator[_0xa1b327(0x204)](global[_0xa1b327(0x23f)]),logger[_0xa1b327(0x1f6)]('New\x20hub\x20url\x20set\x20to\x20'+global['newHubUrl']),global[_0xa1b327(0x23f)]='';}catch(_0x4ff830){logger[_0xa1b327(0x208)](_0x4ff830);}return super['send'](_0x4edaa3);}}class _0x4db256 extends _0x574525[_0x17352b(0x21c)]{[_0x17352b(0x220)](){const _0x19fdab=_0x17352b;return this[_0x19fdab(0x1fa)]=helper['getHubUrl'](_0x45eed3),logger[_0x19fdab(0x1f6)](_0x19fdab(0x21f)+this[_0x19fdab(0x1fa)]),this;}[_0x17352b(0x227)](_0x1b4278){const _0x8e6d03=_0x17352b;let _0x4ef3be={};for(const _0x2a1cb1 in _0x1b4278){switch(_0x2a1cb1){case _0xa969ac[_0x8e6d03(0x21b)]:case _0xa969ac[_0x8e6d03(0x1e5)]:this[_0x8e6d03(0x1e9)]&&(_0x4ef3be=this[_0x8e6d03(0x1e9)][_0x8e6d03(0x20f)](this[_0x8e6d03(0x1e9)]['CAPABILITY_KEY'])||{},this[_0x8e6d03(0x1e9)][_0x8e6d03(0x252)](this[_0x8e6d03(0x1e9)][_0x8e6d03(0x213)],helper[_0x8e6d03(0x223)](_0x4ef3be,_0x1b4278[_0x2a1cb1])));break;case _0xa969ac[_0x8e6d03(0x22e)]:case _0xa969ac[_0x8e6d03(0x20b)]:this[_0x8e6d03(0x1e3)]&&(_0x4ef3be=this[_0x8e6d03(0x1e3)][_0x8e6d03(0x20f)](this[_0x8e6d03(0x1e3)]['CAPABILITY_KEY'])||{},this[_0x8e6d03(0x1e3)]['set'](this['edgeOptions_'][_0x8e6d03(0x213)],helper[_0x8e6d03(0x223)](_0x4ef3be,_0x1b4278[_0x2a1cb1])));break;case _0xa969ac['zBNsE']:case _0xa969ac[_0x8e6d03(0x1f4)]:this[_0x8e6d03(0x219)]&&(_0x4ef3be=this[_0x8e6d03(0x219)][_0x8e6d03(0x20f)](this[_0x8e6d03(0x219)]['CAPABILITY_KEY'])||{},this['firefoxOptions_'][_0x8e6d03(0x252)](this[_0x8e6d03(0x219)][_0x8e6d03(0x213)],helper[_0x8e6d03(0x223)](_0x4ef3be,_0x1b4278[_0x2a1cb1])));break;case _0xa969ac['mgEDY']:this[_0x8e6d03(0x256)]&&(_0x4ef3be=this[_0x8e6d03(0x256)][_0x8e6d03(0x20f)](this[_0x8e6d03(0x256)][_0x8e6d03(0x213)])||{},this[_0x8e6d03(0x256)]['set'](this[_0x8e6d03(0x256)][_0x8e6d03(0x213)],helper['mergeDeep'](_0x4ef3be,_0x1b4278[_0x2a1cb1])));break;case _0xa969ac[_0x8e6d03(0x1e2)]:case _0xa969ac[_0x8e6d03(0x20a)]:this[_0x8e6d03(0x21a)]&&(_0x4ef3be=this[_0x8e6d03(0x21a)]['get'](this['ieOptions_'][_0x8e6d03(0x213)])||{},this[_0x8e6d03(0x21a)][_0x8e6d03(0x252)](this[_0x8e6d03(0x21a)]['CAPABILITY_KEY'],helper[_0x8e6d03(0x223)](_0x4ef3be,_0x1b4278[_0x2a1cb1])));break;}}}[_0x17352b(0x222)](){const _0x112bbc=_0x17352b;return logger['debug'](_0xa969ac[_0x112bbc(0x235)]),this[_0x112bbc(0x227)](_0x45eed3[_0x112bbc(0x1fd)]),Object[_0x112bbc(0x236)](_0x45eed3[_0x112bbc(0x1fd)])['forEach'](_0x4db03d=>{const _0x3d6713=_0x112bbc,_0x44ab1e=this['capabilities_'][_0x3d6713(0x20f)](_0x4db03d);_0xa969ac[_0x3d6713(0x258)](typeof _0x44ab1e,_0xa969ac[_0x3d6713(0x1f5)])?this[_0x3d6713(0x1ec)][_0x3d6713(0x252)](_0x4db03d,helper[_0x3d6713(0x223)](_0x44ab1e,_0x45eed3[_0x3d6713(0x1fd)][_0x4db03d])):this[_0x3d6713(0x1ec)][_0x3d6713(0x252)](_0x4db03d,_0x45eed3[_0x3d6713(0x1fd)][_0x4db03d]);}),this;}['build'](){const _0x372c18=_0x17352b,_0x545b97={'LQffe':_0xa969ac[_0x372c18(0x228)],'cMxsR':_0xa969ac[_0x372c18(0x24e)],'VFDhE':function(_0x2328e4,_0x2c9db2,_0x4b5820){const _0x3469b7=_0x372c18;return _0xa969ac[_0x3469b7(0x257)](_0x2328e4,_0x2c9db2,_0x4b5820);},'EhTVJ':function(_0x40b0c9,_0x5aea48,_0x55719b){const _0x269a35=_0x372c18;return _0xa969ac[_0x269a35(0x257)](_0x40b0c9,_0x5aea48,_0x55719b);},'pTXUM':function(_0x41d6f6,_0x240df2,_0x32251c){return _0xa969ac['gKJtn'](_0x41d6f6,_0x240df2,_0x32251c);},'dAKra':function(_0x33e122,_0x1b26bd){return _0xa969ac['PfZKA'](_0x33e122,_0x1b26bd);},'BsrVQ':function(_0x2649cd,_0xe3f386,_0x9ce700){const _0xc636cd=_0x372c18;return _0xa969ac[_0xc636cd(0x240)](_0x2649cd,_0xe3f386,_0x9ce700);}};if(helper[_0x372c18(0x211)]()){const _0x580316=_0xa969ac['YSxzH'][_0x372c18(0x246)]('|');let _0x100c7c=0x0;while(!![]){switch(_0x580316[_0x100c7c++]){case'0':this[_0x372c18(0x220)]();continue;case'1':logger[_0x372c18(0x1f6)](_0xa969ac[_0x372c18(0x22b)]);continue;case'2':if(helper[_0x372c18(0x238)](_0x45eed3[_0x372c18(0x1e7)][_0x372c18(0x1f2)]))this['agent_']=helper[_0x372c18(0x253)](_0x45eed3[_0x372c18(0x1e7)][_0x372c18(0x1f2)]);else _0x45eed3['proxySettings'][_0x372c18(0x1f2)]&&(this[_0x372c18(0x21d)]=_0x45eed3[_0x372c18(0x1e7)][_0x372c18(0x1f2)],logger[_0x372c18(0x1f6)]('Proxy\x20set\x20to\x20'+this[_0x372c18(0x21d)]));continue;case'3':_0xa969ac['eBNvV'](isAccessibilityAutomationSession)&&_0xa969ac['jadyp'](setAccessibilityCapabilities,_0x45eed3);continue;case'4':globals[_0x372c18(0x22a)](_0xa969ac[_0x372c18(0x250)])&&(!_0xa969ac['LtRDa'](setExtension,this,_0x45eed3)&&globals[_0x372c18(0x202)](_0xa969ac[_0x372c18(0x250)],![]));continue;case'5':this[_0x372c18(0x222)]();continue;}break;}}const _0x19a564=super['build']();return _0x19a564[_0x372c18(0x207)]['then'](_0xd225aa=>{const _0x1f74dc=_0x372c18;try{const _0xf9d234=_0xd225aa['caps_'][_0x1f74dc(0x20f)](_0x545b97[_0x1f74dc(0x1e6)]);_0xf9d234?(logger[_0x1f74dc(0x1f6)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0xf9d234),hubAllocator['updateHubUrl'](_0xf9d234),helper[_0x1f74dc(0x1ff)](_0xf9d234)):logger[_0x1f74dc(0x1f6)](_0x545b97[_0x1f74dc(0x1e4)]);}catch(_0x51fb60){logger[_0x1f74dc(0x1f6)](_0x1f74dc(0x215)+_0x51fb60);}}),_0x19a564[_0x372c18(0x24d)]=0x0,_0x19a564[_0x372c18(0x24f)]&&_0x19a564[_0x372c18(0x24f)](_0x2ba8f5=>{const _0x59035b=_0x372c18,_0x1fb4c7={'EMnCn':function(_0x1a9861,_0x4e7ee2,_0x185af9){return _0x545b97['EhTVJ'](_0x1a9861,_0x4e7ee2,_0x185af9);}};_0x545b97['pTXUM'](overrideQuit,_0x2ba8f5,_0x19a564),_0x545b97[_0x59035b(0x1ea)](overrideTakeScreenshot,_0x2ba8f5),helper['overrideGet'](_0x2ba8f5,_0x45eed3),_0x545b97[_0x59035b(0x22c)](overrideExecute,_0x2ba8f5,_0x45eed3),_0x2ba8f5[_0x59035b(0x20d)]=async()=>{const _0xebe3d=_0x59035b;return await _0x545b97[_0xebe3d(0x249)](getAccessibilityResultsSummary,_0x2ba8f5,global);},_0x2ba8f5[_0x59035b(0x20e)]=async()=>{const _0x2703c5=_0x59035b;return await _0x1fb4c7[_0x2703c5(0x217)](getAccessibilityResults,_0x2ba8f5,global);};}),_0x19a564[_0x372c18(0x20d)]=async()=>{const _0x3bb150=_0x372c18;return await _0x545b97[_0x3bb150(0x1f1)](getAccessibilityResultsSummary,_0x19a564,global);},_0x19a564[_0x372c18(0x20e)]=async()=>{const _0x394ae1=_0x372c18;return await _0xa969ac[_0x394ae1(0x257)](getAccessibilityResults,_0x19a564,global);},_0xa969ac[_0x372c18(0x210)](overrideTakeScreenshot,_0x19a564),_0xa969ac[_0x372c18(0x20c)](overrideQuit,_0x19a564),helper['overrideGet'](_0x19a564,_0x45eed3),_0xa969ac[_0x372c18(0x216)](overrideExecute,_0x19a564,_0x45eed3),helper[_0x372c18(0x24a)](global[_0x372c18(0x23e)])&&(global[_0x372c18(0x23e)]=[]),helper['isUndefined'](global[_0x372c18(0x241)])&&(global['__drivers']=[]),global[_0x372c18(0x23e)][_0x372c18(0x201)](_0x19a564),global['__driver']=_0x19a564,_0xa969ac[_0x372c18(0x1fb)](global['__drivers'],undefined)&&global['__drivers'][_0x372c18(0x201)](_0x19a564),_0x3b216d&&helper[_0x372c18(0x24a)](_0x3b216d[_0x372c18(0x24b)]['__driversArray'])&&(_0x3b216d['global'][_0x372c18(0x23e)]=[]),_0x3b216d&&_0xa969ac[_0x372c18(0x245)](_0x3b216d[_0x372c18(0x24b)][_0x372c18(0x241)],undefined)&&(_0x3b216d[_0x372c18(0x24b)][_0x372c18(0x241)]['push'](_0x19a564),_0x3b216d[_0x372c18(0x24b)][_0x372c18(0x23e)]['push'](_0x19a564)),_0x19a564;}}return _0x574525[_0x17352b(0x24c)]=_0x574525[_0x17352b(0x21c)],_0x574525[_0x17352b(0x21c)]=_0x4db256,_0x228665[_0x17352b(0x1e8)]=_0x5172b3,_0x574525;};module[a29_0x65fa62(0x239)][a29_0x65fa62(0x1f0)]=modify;function a29_0x2fb7(_0xbc6969,_0x198048){const _0x15c504=a29_0x15c5();return a29_0x2fb7=function(_0x2fb78c,_0x20f9b8){_0x2fb78c=_0x2fb78c-0x1e2;let _0x573d14=_0x15c504[_0x2fb78c];return _0x573d14;},a29_0x2fb7(_0xbc6969,_0x198048);}function a29_0x15c5(){const _0x582d3c=['hAXJk','storeOptimalHubUrl','Setting\x20Browserstack\x20capabilities','push','setGlobal','jrlwC','getRequestOptions','15490QOtQnv','optimalHubUrl','session_','error','348556movyxV','TIepe','GmZmR','jadyp','getAccessibilityResultsSummary','getAccessibilityResults','get','QmfDy','isBrowserstackInfra','https://','CAPABILITY_KEY','484230KwEkaB','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','wphMf','EMnCn','ms:edgeOptions','firefoxOptions_','ieOptions_','wsVkd','Builder','proxy_','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','Hub\x20url\x20set\x20to\x20','setServer','ieOptions','setCapabilities','mergeDeep','../accessibility-automation/helper','info','requireHttpClient','__setBrowserOptions','WjLlN','chromeOptions','getGlobal','sUtPs','BsrVQ','goog:chromeOptions','OFNtb','edgeOptions','../../../bin/utils/constants','options_','nXnjD','6115dDUcpN','isAccessibilityPlatform','QKXUj','keys','aMZuK','isPacProxy','exports','42QRaCAb','send','kopEL','winstonLogger','__driversArray','newHubUrl','LtRDa','__drivers','3|0|5|2|4|1','Modifying\x20webdriver\x20builder','QVOed','lLrND','split','../../../helpers/patchHelpers','2EtJZKq','VFDhE','isUndefined','global','originalBuilder','quitCount_','JkSrB','then','OcKtQ','/wd/hub','set','getHttpAgent','107648IjKlzR','safari.options','safariOptions_','gKJtn','cEdbl','BROpf','edgeOptions_','cMxsR','cezsY','LQffe','proxySettings','HttpClient','chromeOptions_','dAKra','srGbg','capabilities_','../../../helpers/helper','browserStackLogLevel','moz:firefoxOptions','browserstackAgentObservability','EhTVJ','proxyUrl','47244PkNiFX','RYxDS','ectZc','debug','50403jkRXKI','/session','540gFJLeS','url_','mCAHq','../../../helpers/globals','capability'];a29_0x15c5=function(){return _0x582d3c;};return a29_0x15c5();}
1
+ const a29_0x4defd4=a29_0x4f32;function a29_0x381a(){const _0x3b721d=['getAccessibilityResultsSummary','2241385jcQZgs','build','proxySettings','TDNqk','overrideGet','quitCount_','push','chromeOptions','set','jMHRA','capabilities_','proxy_','requireHttpClient','bYMaX','__driver','3814284ZTLFfv','./helpers/patchHelper','winstonLogger','CAPABILITY_KEY','ieOptions_','../../../helpers/helper','newHubUrl','edgeOptions','KAqwR','storeOptimalHubUrl','yGQza','ieOptions','gTDym','mergeDeep','firefoxOptions','ekJfQ','YUEli','uKgaA','browserstackAgentObservability','se:ieOptions','23690259xumGXA','HqNKF','8nnvitJ','safariOptions_','capability','Mxzpc','SSRew','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','GMGtQ','getAccessibilityResults','New\x20hub\x20url\x20set\x20to\x20','../../../helpers/logger','options_','VQCDw','setCapabilities','../accessibility-automation/helper','GzyGp','isPacProxy','__driversArray','get','0|1|4|3|2|5','error','https://','POiwB','pUWge','LFObA','path','send','updateHubUrl','originalBuilder','forEach','global','16GMruLD','edBDF','logLevel','vIaPI','504678aGdbrK','exports','proxyUrl','BMxDV','caps_','keys','VnNDZ','AorPI','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','2146501AIvzUn','KcbTB','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','uEgbs','eITDR','Builder','LUAuy','getGlobal','HGJmE','__setBrowserOptions','TOaqQ','AmYSR','optimalHubUrl','debug','setServer','../../../hubAllocationMethods','242178ABvhMQ','isBrowserstackInfra','ACmBB','then','Proxy\x20set\x20to\x20','ms:edgeOptions','885253evbkWz','isUndefined','rmPmq','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','session_','__drivers','agent_','isAccessibilityPlatform','firefoxOptions_','info','getHubUrl','../../../bin/utils/constants','url_','SGLLS','bVCaF','safari.options','edgeOptions_','setLogLevel','../../../helpers/accessibility-automation/helper','nMVKV','KYXXm','chromeOptions_','/wd/hub','moz:firefoxOptions','HttpClient'];a29_0x381a=function(){return _0x3b721d;};return a29_0x381a();}(function(_0x4eb9d4,_0x392c41){const _0x12a5f9=a29_0x4f32,_0x492a89=_0x4eb9d4();while(!![]){try{const _0x830b8b=-parseInt(_0x12a5f9(0xb3))/0x1+parseInt(_0x12a5f9(0x114))/0x2+-parseInt(_0x12a5f9(0xad))/0x3*(-parseInt(_0x12a5f9(0xf2))/0x4)+-parseInt(_0x12a5f9(0xcd))/0x5+-parseInt(_0x12a5f9(0xdc))/0x6+-parseInt(_0x12a5f9(0x11e))/0x7*(parseInt(_0x12a5f9(0x110))/0x8)+parseInt(_0x12a5f9(0xf0))/0x9;if(_0x830b8b===_0x392c41)break;else _0x492a89['push'](_0x492a89['shift']());}catch(_0x3ad68c){_0x492a89['push'](_0x492a89['shift']());}}}(a29_0x381a,0x71298));const logger=require(a29_0x4defd4(0xfb))[a29_0x4defd4(0xde)],helper=require(a29_0x4defd4(0xe1)),constants=require(a29_0x4defd4(0xbe)),hubAllocator=require(a29_0x4defd4(0xac)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a29_0x4defd4(0xff)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x4defd4(0xc5)),globals=require('../../../helpers/globals'),{overrideExecute}=require(a29_0x4defd4(0xdd)),modify=(_0x308928,_0x5329cd=null,_0x50c3b1=![])=>{const _0x1c9bec=a29_0x4defd4,_0x3b856a={'HGJmE':function(_0x2d322e,_0x375779){return _0x2d322e!==_0x375779;},'edBDF':'/session','LUAuy':function(_0x47cc21,_0x5dffd0){return _0x47cc21+_0x5dffd0;},'uKgaA':_0x1c9bec(0x106),'bYMaX':_0x1c9bec(0xc9),'KcbTB':'goog:chromeOptions','vIaPI':_0x1c9bec(0xd4),'rXPpB':_0x1c9bec(0xb2),'ACmBB':_0x1c9bec(0xe3),'YUEli':_0x1c9bec(0xca),'KYXXm':_0x1c9bec(0xea),'GMGtQ':_0x1c9bec(0xc2),'SSRew':_0x1c9bec(0xef),'uEgbs':_0x1c9bec(0xe7),'pUWge':function(_0x44922f,_0x1c5ef1){return _0x44922f===_0x1c5ef1;},'jMHRA':'object','yGQza':'Setting\x20Browserstack\x20capabilities','BMxDV':_0x1c9bec(0xa9),'AorPI':_0x1c9bec(0x11c),'VQCDw':function(_0x2da37e,_0x3d15f2,_0x4fd9b2){return _0x2da37e(_0x3d15f2,_0x4fd9b2);},'pXXyo':function(_0x4798be,_0x3220d6){return _0x4798be(_0x3220d6);},'LFObA':_0x1c9bec(0x104),'eITDR':function(_0x56cd59){return _0x56cd59();},'TOaqQ':function(_0x3ae6d4,_0x1dc411){return _0x3ae6d4(_0x1dc411);},'POiwB':_0x1c9bec(0xba),'hDDFZ':_0x1c9bec(0xf7),'bVCaF':function(_0x2d9356,_0x2578d6){return _0x2d9356(_0x2578d6);},'Mxzpc':function(_0x363de1,_0x57b9de,_0x1f2245){return _0x363de1(_0x57b9de,_0x1f2245);},'rmPmq':function(_0x449c15,_0x4fe59e){return _0x449c15!==_0x4fe59e;},'gTDym':_0x1c9bec(0xb6),'AmYSR':'Modifying\x20webdriver\x20builder'},_0x3e2893=helper[_0x1c9bec(0xd9)]();let _0xdcf116;try{_0xdcf116=helper['requireSeleniumWebdriver'](),_0xdcf116['originalBuilder']&&(_0xdcf116[_0x1c9bec(0x123)]=_0xdcf116[_0x1c9bec(0x10d)]);}catch(_0x1ef194){return;}if(helper[_0x1c9bec(0xae)]()){const _0x45f71c={};_0x45f71c[_0x1c9bec(0x112)]=_0x308928['browserStackLogLevel'],helper[_0x1c9bec(0xc4)](_0x45f71c,new Map(),new Map()),logger[_0x1c9bec(0xbc)](_0x3b856a[_0x1c9bec(0xe8)]),logger['debug'](_0x3b856a[_0x1c9bec(0xa8)]);}class _0xe50736 extends _0x3e2893[_0x1c9bec(0xcb)]{['send'](_0x50a2f0){const _0xeba32f=_0x1c9bec;if(_0x3b856a[_0xeba32f(0xa5)](_0x50a2f0[_0xeba32f(0x10a)],_0x3b856a[_0xeba32f(0x111)])&&_0x3b856a[_0xeba32f(0xa5)](global[_0xeba32f(0xe2)],''))try{global['newHubUrl']=_0x3b856a[_0xeba32f(0xa3)](_0x3b856a['LUAuy'](_0x3b856a[_0xeba32f(0xed)],global[_0xeba32f(0xe2)]),_0x3b856a[_0xeba32f(0xda)]),this[_0xeba32f(0xfc)]=hubAllocator['getRequestOptions'](global[_0xeba32f(0xe2)]),logger[_0xeba32f(0xaa)](_0xeba32f(0xfa)+global[_0xeba32f(0xe2)]),global[_0xeba32f(0xe2)]='';}catch(_0x2e5bc9){logger[_0xeba32f(0x105)](_0x2e5bc9);}return super[_0xeba32f(0x10b)](_0x50a2f0);}}class _0x25c67d extends _0xdcf116[_0x1c9bec(0x123)]{[_0x1c9bec(0xab)](){const _0x1ddc5a=_0x1c9bec;return this[_0x1ddc5a(0xbf)]=helper[_0x1ddc5a(0xbd)](_0x308928),logger['debug']('Hub\x20url\x20set\x20to\x20'+this[_0x1ddc5a(0xbf)]),this;}[_0x1c9bec(0xa6)](_0x92fd4f){const _0x180c07=_0x1c9bec;let _0x59018e={};for(const _0x47cf92 in _0x92fd4f){switch(_0x47cf92){case _0x3b856a[_0x180c07(0x11f)]:case _0x3b856a[_0x180c07(0x113)]:this['chromeOptions_']&&(_0x59018e=this[_0x180c07(0xc8)][_0x180c07(0x103)](this[_0x180c07(0xc8)][_0x180c07(0xdf)])||{},this[_0x180c07(0xc8)][_0x180c07(0xd5)](this['chromeOptions_'][_0x180c07(0xdf)],helper[_0x180c07(0xe9)](_0x59018e,_0x92fd4f[_0x47cf92])));break;case _0x3b856a['rXPpB']:case _0x3b856a[_0x180c07(0xaf)]:this[_0x180c07(0xc3)]&&(_0x59018e=this[_0x180c07(0xc3)][_0x180c07(0x103)](this[_0x180c07(0xc3)][_0x180c07(0xdf)])||{},this[_0x180c07(0xc3)][_0x180c07(0xd5)](this[_0x180c07(0xc3)]['CAPABILITY_KEY'],helper[_0x180c07(0xe9)](_0x59018e,_0x92fd4f[_0x47cf92])));break;case _0x3b856a[_0x180c07(0xec)]:case _0x3b856a[_0x180c07(0xc7)]:this['firefoxOptions_']&&(_0x59018e=this[_0x180c07(0xbb)]['get'](this[_0x180c07(0xbb)][_0x180c07(0xdf)])||{},this[_0x180c07(0xbb)][_0x180c07(0xd5)](this[_0x180c07(0xbb)][_0x180c07(0xdf)],helper[_0x180c07(0xe9)](_0x59018e,_0x92fd4f[_0x47cf92])));break;case _0x3b856a[_0x180c07(0xf8)]:this[_0x180c07(0xf3)]&&(_0x59018e=this['safariOptions_'][_0x180c07(0x103)](this[_0x180c07(0xf3)][_0x180c07(0xdf)])||{},this['safariOptions_']['set'](this[_0x180c07(0xf3)][_0x180c07(0xdf)],helper[_0x180c07(0xe9)](_0x59018e,_0x92fd4f[_0x47cf92])));break;case _0x3b856a[_0x180c07(0xf6)]:case _0x3b856a[_0x180c07(0x121)]:this[_0x180c07(0xe0)]&&(_0x59018e=this['ieOptions_'][_0x180c07(0x103)](this['ieOptions_']['CAPABILITY_KEY'])||{},this['ieOptions_'][_0x180c07(0xd5)](this[_0x180c07(0xe0)][_0x180c07(0xdf)],helper[_0x180c07(0xe9)](_0x59018e,_0x92fd4f[_0x47cf92])));break;}}}[_0x1c9bec(0xfe)](){const _0xb4ff7d=_0x1c9bec,_0x4eb8a9={'TDNqk':function(_0x161490,_0x155880){const _0x3797c7=a29_0x4f32;return _0x3b856a[_0x3797c7(0x108)](_0x161490,_0x155880);},'nMVKV':_0x3b856a[_0xb4ff7d(0xd6)]};return logger[_0xb4ff7d(0xaa)](_0x3b856a[_0xb4ff7d(0xe6)]),this['__setBrowserOptions'](_0x308928[_0xb4ff7d(0xf4)]),Object[_0xb4ff7d(0x119)](_0x308928[_0xb4ff7d(0xf4)])[_0xb4ff7d(0x10e)](_0x5d482f=>{const _0x1f58df=_0xb4ff7d,_0x4be91d=this[_0x1f58df(0xd7)][_0x1f58df(0x103)](_0x5d482f);_0x4eb8a9[_0x1f58df(0xd0)](typeof _0x4be91d,_0x4eb8a9[_0x1f58df(0xc6)])?this[_0x1f58df(0xd7)][_0x1f58df(0xd5)](_0x5d482f,helper['mergeDeep'](_0x4be91d,_0x308928[_0x1f58df(0xf4)][_0x5d482f])):this['capabilities_'][_0x1f58df(0xd5)](_0x5d482f,_0x308928[_0x1f58df(0xf4)][_0x5d482f]);}),this;}[_0x1c9bec(0xce)](){const _0x5a4109=_0x1c9bec,_0x2c0579={'SGLLS':function(_0x44442a,_0x913fd2,_0x25d1af){const _0x37b152=a29_0x4f32;return _0x3b856a[_0x37b152(0xfd)](_0x44442a,_0x913fd2,_0x25d1af);},'ekJfQ':function(_0x2654bd,_0x2a48fd,_0x40435a){const _0x53f6ad=a29_0x4f32;return _0x3b856a[_0x53f6ad(0xfd)](_0x2654bd,_0x2a48fd,_0x40435a);},'VnNDZ':function(_0x4883f1,_0x1b5ec9,_0x3a34a7){const _0x46dd23=a29_0x4f32;return _0x3b856a[_0x46dd23(0xfd)](_0x4883f1,_0x1b5ec9,_0x3a34a7);},'KAqwR':function(_0x2612bf,_0x9a03eb){return _0x3b856a['pXXyo'](_0x2612bf,_0x9a03eb);},'HqNKF':function(_0x4a2063,_0x37cb7,_0x41f55c){const _0x3bc93d=a29_0x4f32;return _0x3b856a[_0x3bc93d(0xfd)](_0x4a2063,_0x37cb7,_0x41f55c);}};if(helper[_0x5a4109(0xae)]()){const _0x5114de=_0x3b856a[_0x5a4109(0x109)]['split']('|');let _0x3ae21e=0x0;while(!![]){switch(_0x5114de[_0x3ae21e++]){case'0':_0x3b856a[_0x5a4109(0x122)](isAccessibilityAutomationSession)&&_0x3b856a[_0x5a4109(0xa7)](setAccessibilityCapabilities,_0x308928);continue;case'1':this[_0x5a4109(0xab)]();continue;case'2':globals[_0x5a4109(0xa4)](_0x3b856a[_0x5a4109(0x107)])&&(!_0x3b856a[_0x5a4109(0xfd)](setExtension,this,_0x308928)&&globals['setGlobal'](_0x3b856a[_0x5a4109(0x107)],![]));continue;case'3':if(helper[_0x5a4109(0x101)](_0x308928[_0x5a4109(0xcf)][_0x5a4109(0x116)]))this[_0x5a4109(0xb9)]=helper['getHttpAgent'](_0x308928['proxySettings'][_0x5a4109(0x116)]);else _0x308928[_0x5a4109(0xcf)][_0x5a4109(0x116)]&&(this[_0x5a4109(0xd8)]=_0x308928[_0x5a4109(0xcf)][_0x5a4109(0x116)],logger[_0x5a4109(0xaa)](_0x5a4109(0xb1)+this['proxy_']));continue;case'4':this[_0x5a4109(0xfe)]();continue;case'5':logger['debug'](_0x3b856a['hDDFZ']);continue;}break;}}const _0x42066c=super[_0x5a4109(0xce)]();return _0x42066c[_0x5a4109(0xb7)][_0x5a4109(0xb0)](_0x1cb22c=>{const _0x276f29=_0x5a4109;try{const _0x3169cc=_0x1cb22c[_0x276f29(0x118)][_0x276f29(0x103)](_0x3b856a[_0x276f29(0x117)]);_0x3169cc?(logger[_0x276f29(0xaa)](_0x276f29(0x11d)+_0x3169cc),hubAllocator[_0x276f29(0x10c)](_0x3169cc),helper[_0x276f29(0xe5)](_0x3169cc)):logger[_0x276f29(0xaa)](_0x3b856a[_0x276f29(0x11b)]);}catch(_0x32942f){logger['debug'](_0x276f29(0x120)+_0x32942f);}}),_0x42066c[_0x5a4109(0xd2)]=0x0,_0x42066c[_0x5a4109(0xb0)]&&_0x42066c[_0x5a4109(0xb0)](_0x59f11f=>{const _0x42f32b=_0x5a4109,_0x5a6fd8={'GzyGp':function(_0x585973,_0x1d5d93,_0x271bb0){const _0x6a72f3=a29_0x4f32;return _0x2c0579[_0x6a72f3(0xeb)](_0x585973,_0x1d5d93,_0x271bb0);}};_0x2c0579[_0x42f32b(0x11a)](overrideQuit,_0x59f11f,_0x42066c),_0x2c0579[_0x42f32b(0xe4)](overrideTakeScreenshot,_0x59f11f),helper['overrideGet'](_0x59f11f,_0x308928),_0x2c0579[_0x42f32b(0x11a)](overrideExecute,_0x59f11f,_0x308928),_0x59f11f[_0x42f32b(0xcc)]=async()=>{const _0x157790=_0x42f32b;return await _0x5a6fd8[_0x157790(0x100)](getAccessibilityResultsSummary,_0x59f11f,global);},_0x59f11f[_0x42f32b(0xf9)]=async()=>{const _0x5a3d08=_0x42f32b;return await _0x2c0579[_0x5a3d08(0xc0)](getAccessibilityResults,_0x59f11f,global);};}),_0x42066c[_0x5a4109(0xcc)]=async()=>{const _0x227503=_0x5a4109;return await _0x2c0579[_0x227503(0xeb)](getAccessibilityResultsSummary,_0x42066c,global);},_0x42066c[_0x5a4109(0xf9)]=async()=>{const _0x191dbf=_0x5a4109;return await _0x2c0579[_0x191dbf(0xf1)](getAccessibilityResults,_0x42066c,global);},_0x3b856a[_0x5a4109(0xa7)](overrideTakeScreenshot,_0x42066c),_0x3b856a[_0x5a4109(0xc1)](overrideQuit,_0x42066c),helper[_0x5a4109(0xd1)](_0x42066c,_0x308928),_0x3b856a[_0x5a4109(0xf5)](overrideExecute,_0x42066c,_0x308928),helper['isUndefined'](global['__driversArray'])&&(global[_0x5a4109(0x102)]=[]),helper[_0x5a4109(0xb4)](global[_0x5a4109(0xb8)])&&(global[_0x5a4109(0xb8)]=[]),global[_0x5a4109(0x102)][_0x5a4109(0xd3)](_0x42066c),global[_0x5a4109(0xdb)]=_0x42066c,_0x3b856a[_0x5a4109(0xb5)](global[_0x5a4109(0xb8)],undefined)&&global[_0x5a4109(0xb8)][_0x5a4109(0xd3)](_0x42066c),_0x5329cd&&helper['isUndefined'](_0x5329cd['global'][_0x5a4109(0x102)])&&(_0x5329cd[_0x5a4109(0x10f)]['__driversArray']=[]),_0x5329cd&&_0x3b856a[_0x5a4109(0xb5)](_0x5329cd[_0x5a4109(0x10f)]['__drivers'],undefined)&&(_0x5329cd['global'][_0x5a4109(0xb8)][_0x5a4109(0xd3)](_0x42066c),_0x5329cd[_0x5a4109(0x10f)][_0x5a4109(0x102)][_0x5a4109(0xd3)](_0x42066c)),_0x42066c;}}return _0xdcf116['originalBuilder']=_0xdcf116['Builder'],_0xdcf116['Builder']=_0x25c67d,_0x3e2893[_0x1c9bec(0xcb)]=_0xe50736,_0xdcf116;};function a29_0x4f32(_0x17a391,_0x533f1e){const _0x381a92=a29_0x381a();return a29_0x4f32=function(_0x4f3264,_0xa28e30){_0x4f3264=_0x4f3264-0xa3;let _0x668e6e=_0x381a92[_0x4f3264];return _0x668e6e;},a29_0x4f32(_0x17a391,_0x533f1e);}module[a29_0x4defd4(0x115)][a29_0x4defd4(0xee)]=modify;
@@ -1 +1 @@
1
- const a30_0x19893f=a30_0x5f39;(function(_0xcef9c6,_0x4eaf28){const _0x386ddb=a30_0x5f39,_0x3548a4=_0xcef9c6();while(!![]){try{const _0x1da9af=-parseInt(_0x386ddb(0x98))/0x1+parseInt(_0x386ddb(0x8f))/0x2*(parseInt(_0x386ddb(0x9d))/0x3)+-parseInt(_0x386ddb(0x90))/0x4*(-parseInt(_0x386ddb(0x8e))/0x5)+-parseInt(_0x386ddb(0x96))/0x6+-parseInt(_0x386ddb(0x97))/0x7*(-parseInt(_0x386ddb(0x9e))/0x8)+parseInt(_0x386ddb(0x92))/0x9*(-parseInt(_0x386ddb(0x93))/0xa)+parseInt(_0x386ddb(0x94))/0xb;if(_0x1da9af===_0x4eaf28)break;else _0x3548a4['push'](_0x3548a4['shift']());}catch(_0x4af7a8){_0x3548a4['push'](_0x3548a4['shift']());}}}(a30_0x2c6e,0x1ad7d));const requestSpy=require(a30_0x19893f(0x99)),constants=require(a30_0x19893f(0x9c)),{addRequestSpy}=require(a30_0x19893f(0x9b));function a30_0x5f39(_0x3483d2,_0x430942){const _0x2c6eb6=a30_0x2c6e();return a30_0x5f39=function(_0x5f3987,_0x53f732){_0x5f3987=_0x5f3987-0x8e;let _0x4bc67a=_0x2c6eb6[_0x5f3987];return _0x4bc67a;},a30_0x5f39(_0x3483d2,_0x430942);}exports[a30_0x19893f(0x9a)]={'beforeAll'(){const _0x3cfc60=a30_0x19893f,_0x3a0a52={'oZxXF':function(_0x41d581){return _0x41d581();}},_0x4c164c='browserstack internal helper hook';_0x3a0a52[_0x3cfc60(0x91)](addRequestSpy);},'afterAll'(){const _0x3181c8=a30_0x19893f,_0x311ca3='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x3181c8(0x95)]();}};function a30_0x2c6e(){const _0x51bdde=['../../../helpers/test-observability/utils','../../../bin/utils/constants','60903pywWBC','442448MtPRCq','373155xrABuf','14vvYFHx','8vCFHvj','oZxXF','85068ydFJrZ','10vZKaMl','836000qjlmmj','restore','1060200DoeHWn','14Mkhhzx','181880ouryJQ','../../../helpers/request-spy','mochaHooks'];a30_0x2c6e=function(){return _0x51bdde;};return a30_0x2c6e();}
1
+ const a30_0x498b3b=a30_0x3fd0;function a30_0x428b(){const _0xd0f6d9=['mochaHooks','11249OZQSxU','6544MFUjPK','PZDCY','2714305hVwULc','2027919dcMcSn','../../../helpers/test-observability/utils','8lzMPxh','../../../bin/utils/constants','../../../helpers/request-spy','311708cfejuD','3145506IlfpwX','3968972SfxlcS','8079678unGeLf','timeout'];a30_0x428b=function(){return _0xd0f6d9;};return a30_0x428b();}(function(_0x434671,_0x4e8952){const _0x4778d8=a30_0x3fd0,_0x25e069=_0x434671();while(!![]){try{const _0x19fa2a=-parseInt(_0x4778d8(0x1fb))/0x1*(-parseInt(_0x4778d8(0x1f8))/0x2)+parseInt(_0x4778d8(0x1f6))/0x3+parseInt(_0x4778d8(0x1fd))/0x4+parseInt(_0x4778d8(0x1f5))/0x5+-parseInt(_0x4778d8(0x1fc))/0x6+-parseInt(_0x4778d8(0x1f2))/0x7*(parseInt(_0x4778d8(0x1f3))/0x8)+-parseInt(_0x4778d8(0x1fe))/0x9;if(_0x19fa2a===_0x4e8952)break;else _0x25e069['push'](_0x25e069['shift']());}catch(_0x36061d){_0x25e069['push'](_0x25e069['shift']());}}}(a30_0x428b,0xb01ee));const requestSpy=require(a30_0x498b3b(0x1fa)),constants=require(a30_0x498b3b(0x1f9)),{addRequestSpy}=require(a30_0x498b3b(0x1f7));function a30_0x3fd0(_0x454731,_0x339517){const _0x428b7e=a30_0x428b();return a30_0x3fd0=function(_0x3fd04c,_0x5e8b14){_0x3fd04c=_0x3fd04c-0x1f0;let _0x19703e=_0x428b7e[_0x3fd04c];return _0x19703e;},a30_0x3fd0(_0x454731,_0x339517);}exports[a30_0x498b3b(0x1f1)]={'beforeAll'(){const _0x258b21=a30_0x498b3b,_0x37d8d0={'PZDCY':function(_0x360e81){return _0x360e81();}},_0x1f0fcf='browserstack internal helper hook';_0x37d8d0[_0x258b21(0x1f4)](addRequestSpy);},'afterAll'(){const _0x1c3103=a30_0x498b3b,_0x37f33d='browserstack internal helper hook';this[_0x1c3103(0x1f0)](0xea60),requestSpy['restore']();}};
@@ -1 +1 @@
1
- const a31_0x32bea0=a31_0x1aeb;(function(_0x410698,_0x393105){const _0xe08e4f=a31_0x1aeb,_0x42db73=_0x410698();while(!![]){try{const _0x35b518=parseInt(_0xe08e4f(0x1b4))/0x1+parseInt(_0xe08e4f(0x1ba))/0x2+parseInt(_0xe08e4f(0x1cf))/0x3+-parseInt(_0xe08e4f(0x1cc))/0x4+parseInt(_0xe08e4f(0x1e0))/0x5+parseInt(_0xe08e4f(0x1fb))/0x6*(-parseInt(_0xe08e4f(0x200))/0x7)+parseInt(_0xe08e4f(0x1ec))/0x8*(parseInt(_0xe08e4f(0x1e8))/0x9);if(_0x35b518===_0x393105)break;else _0x42db73['push'](_0x42db73['shift']());}catch(_0x4e90a7){_0x42db73['push'](_0x42db73['shift']());}}}(a31_0x44d0,0xcfa73));const {v4:uuidv4}=require(a31_0x32bea0(0x1b7)),{name,version}=require('../../../../package.json'),logPatcher=require(a31_0x32bea0(0x1c5)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x32bea0(0x1c9)),{consoleHolder}=require(a31_0x32bea0(0x1ad)),{getPlatformVersion}=require(a31_0x32bea0(0x1f9)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require(a31_0x32bea0(0x1c8)),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');function a31_0x44d0(){const _0x91b37f=['HyDCV','getHookDetails','7907850ZYmXBm','get','state','getHooksForTest','parent','vvXeC','emit','MYqKH','9iHcAth','cijLj','YupVw','kQiGE','1265608ZFguuw','RmvKb','_beforeAll','_afterEach','ZJMeT','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','string','_beforeEach','hook:','push','ubxix','slice','generic','../../../helpers/helper','getBrowserName','750bNctrm','__cloud_provider___','type','fromEntries','pid','85281ppqhKf','hook','hookAnalyticsId','../../../helpers/test-observability/constants','mzImY','failed','platformVersion','nqqEt','substring','UXXtq','362915zNmjXy','WWPwR','getCapabilities','uuid','_afterAll','RNdAF','2726690Szgoif','toISOString','fBveJ','toJSON','markedStatus','unknown_grid','CgwUK','indexOf','browserstack','filter','RwNKO','../../utils/logPatcher','tests','yImYv','lodash','../../../helpers/test-observability/utils','suites','getSession','4602300IAoPMR','baZLW','iLLeE','173898MSBncN','map_','sendPlatformDetails','TPzOr','TqQkv','JQzhm','mapTestHooks','split','forEach','olfWj','concat','TEST_PLATFORM','UjwUh','reduce','CkNdw'];a31_0x44d0=function(){return _0x91b37f;};return a31_0x44d0();}function a31_0x1aeb(_0xa07fcf,_0x2da7b3){const _0x44d0f6=a31_0x44d0();return a31_0x1aeb=function(_0x1aebca,_0x32764e){_0x1aebca=_0x1aebca-0x1ad;let _0xbb42a2=_0x44d0f6[_0x1aebca];return _0xbb42a2;},a31_0x1aeb(_0xa07fcf,_0x2da7b3);}patchConsoleLogger(),exports['getTestEnv']=()=>{const _0xe5366c=a31_0x32bea0,_0x15341b={'ajCJJ':_0xe5366c(0x1f8),'UXXtq':function(_0x469e56){return _0x469e56();}};return{'ci':_0x15341b['ajCJJ'],'key':_0x15341b[_0xe5366c(0x1b3)](uuidv4),'version':version,'collector':'js-'+name};},exports[a31_0x32bea0(0x1df)]=_0xa9cb48=>{const _0x3788e4=a31_0x32bea0,_0x8894d8={};_0x8894d8[_0x3788e4(0x1e9)]=function(_0x915e0b,_0x3adbd4){return _0x915e0b!==_0x3adbd4;},_0x8894d8[_0x3788e4(0x1db)]=_0x3788e4(0x1f2),_0x8894d8[_0x3788e4(0x1c0)]=_0x3788e4(0x1f4),_0x8894d8['ZJMeT']=function(_0x4a8481,_0x5b95bb){return _0x4a8481!==_0x5b95bb;},_0x8894d8[_0x3788e4(0x1bc)]='hook';const _0x355189=_0x8894d8;if(!_0xa9cb48||_0x355189[_0x3788e4(0x1e9)](typeof _0xa9cb48,_0x355189['UjwUh']))return[null,null];if(_0x355189[_0x3788e4(0x1e9)](_0xa9cb48[_0x3788e4(0x1c1)](_0x355189[_0x3788e4(0x1c0)]),-0x1)){const _0xb6b4ea=_0xa9cb48[_0x3788e4(0x1d6)](_0x355189[_0x3788e4(0x1c0)]);return[_0xb6b4ea[0x0][_0x3788e4(0x1f7)](0x0,-0x1)[_0x3788e4(0x1d6)]('\x22')[0x1],_0xb6b4ea[0x1][_0x3788e4(0x1b2)](0x1)];}else{if(_0x355189[_0x3788e4(0x1f0)](_0xa9cb48[_0x3788e4(0x1c1)](_0x355189[_0x3788e4(0x1bc)]),-0x1)){const _0x267024=_0xa9cb48[_0x3788e4(0x1d6)](_0x355189['fBveJ']);return[_0x267024[0x0][_0x3788e4(0x1f7)](0x0,-0x1)[_0x3788e4(0x1d6)]('\x22')[0x1],_0xa9cb48];}}return[null,null];},exports[a31_0x32bea0(0x1e3)]=_0x4dfa0d=>{const _0x31f5ba=a31_0x32bea0,_0x58cec9={'ubxix':function(_0x261abc,_0x49fab3){return _0x261abc(_0x49fab3);},'CkNdw':_0x31f5ba(0x1ee),'ZIIFF':_0x31f5ba(0x1b8),'aGAWs':_0x31f5ba(0x1f3),'RNdAF':_0x31f5ba(0x1ef)};if(!_0x4dfa0d||!_0x4dfa0d[_0x31f5ba(0x1e4)])return[];const _0x2475b6=[];return[_0x58cec9[_0x31f5ba(0x1dd)],_0x58cec9['ZIIFF'],_0x58cec9['aGAWs'],_0x58cec9[_0x31f5ba(0x1b9)]][_0x31f5ba(0x1d7)](_0x5dc78f=>{const _0x3b41de=_0x31f5ba,_0x6bae44=_0x4dfa0d[_0x3b41de(0x1e4)][_0x5dc78f]||[];_0x6bae44[_0x3b41de(0x1d7)](_0x2097f9=>{const _0x3ae036=_0x3b41de;_0x2097f9[_0x3ae036(0x202)]&&!_0x58cec9[_0x3ae036(0x1f6)](isInternalHook,_0x2097f9['fn'])&&_0x2475b6[_0x3ae036(0x1f5)](_0x2097f9[_0x3ae036(0x202)]);});}),[..._0x2475b6,...exports[_0x31f5ba(0x1e3)](_0x4dfa0d[_0x31f5ba(0x1e4)])];},exports[a31_0x32bea0(0x1d5)]=_0x3caaf5=>{const _0x41346d=a31_0x32bea0,_0x5cbdeb={'MErbJ':function(_0x27611a){return _0x27611a();},'ZjwjZ':function(_0x1e51a9,_0x1b4209){return _0x1e51a9===_0x1b4209;},'TqQkv':_0x41346d(0x1ef),'RwNKO':function(_0x293975){return _0x293975();},'olfWj':'_beforeAll','TPzOr':_0x41346d(0x1b8),'WWPwR':_0x41346d(0x1f3)};if(!_0x3caaf5||!_0x3caaf5['parent'])return;[_0x5cbdeb[_0x41346d(0x1d8)],_0x5cbdeb[_0x41346d(0x1d2)],_0x5cbdeb[_0x41346d(0x1b5)],_0x5cbdeb[_0x41346d(0x1d3)]][_0x41346d(0x1d7)](_0x21bf55=>{const _0x417b09=_0x3caaf5['parent'][_0x21bf55]||[];_0x417b09['forEach'](_0x2f723b=>{const _0x16e446=a31_0x1aeb;if(!_0x2f723b[_0x16e446(0x202)])_0x2f723b[_0x16e446(0x202)]=_0x5cbdeb['MErbJ'](uuidv4);else _0x2f723b[_0x16e446(0x1be)]&&_0x5cbdeb['ZjwjZ'](_0x21bf55,_0x5cbdeb['TqQkv'])&&(_0x2f723b['hookAnalyticsId']=_0x5cbdeb[_0x16e446(0x1c4)](uuidv4),delete _0x2f723b['markedStatus']);});}),exports['mapTestHooks'](_0x3caaf5['parent']);},exports[a31_0x32bea0(0x1d1)]=async(_0x3f0a7c,_0x9ecd2b)=>{const _0x2e8f55=a31_0x32bea0,_0xe2b10d={'MYqKH':function(_0x4f8e9d){return _0x4f8e9d();},'kQiGE':function(_0x517d15,_0x1522bd){return _0x517d15(_0x1522bd);},'YupVw':_0x2e8f55(0x1b0),'QQcnt':function(_0x19c3f4,_0x1d2d38){return _0x19c3f4===_0x1d2d38;},'iLLeE':_0x2e8f55(0x1c2),'JQzhm':_0x2e8f55(0x1bf),'yImYv':_0x2e8f55(0x1da)};try{if(!_0xe2b10d[_0x2e8f55(0x1e7)](shouldProcessEventForTesthub))return;const _0x278854=await _0x3f0a7c[_0x2e8f55(0x1b6)](),_0x522480=await _0x3f0a7c[_0x2e8f55(0x1cb)](),_0x1ae573={},_0x3d939f=Object[_0x2e8f55(0x1fe)](_0x522480[_0x2e8f55(0x1b6)]()[_0x2e8f55(0x1d0)]),_0x4d8c21={'product':_0xe2b10d[_0x2e8f55(0x1eb)](getObservabilityLinkedProductName,_0x3d939f),'capabilities':_0x3d939f,'platform':_0x278854['getPlatform'](),'platform_version':_0x278854[_0x2e8f55(0x1e1)](_0xe2b10d[_0x2e8f55(0x1ea)])?_0x278854['get'](_0xe2b10d[_0x2e8f55(0x1ea)]):_0xe2b10d[_0x2e8f55(0x1eb)](getPlatformVersion,_0xe2b10d['QQcnt'](global[_0x2e8f55(0x1fc)],_0xe2b10d[_0x2e8f55(0x1ce)])),'browser':_0x278854[_0x2e8f55(0x1fa)](),'browser_version':_0x278854['getBrowserVersion'](),'session_id':_0x522480[_0x2e8f55(0x1bd)]()};global['__cloud_provider___']?_0x1ae573[global['__cloud_provider___']]=_0x4d8c21:_0x1ae573[_0xe2b10d[_0x2e8f55(0x1d4)]]=_0x4d8c21,process[_0x2e8f55(0x1e6)]('bs:addPlatformDetails:'+process[_0x2e8f55(0x1ff)],{'timestamp':new Date()[_0x2e8f55(0x1bb)](),'level':null,'message':null,'kind':_0xe2b10d[_0x2e8f55(0x1c7)],'http_response':_0x1ae573,'uuid':_0x9ecd2b});}catch(_0x2dc63f){_0xe2b10d[_0x2e8f55(0x1eb)](debug,_0x2e8f55(0x1f1)+_0x2dc63f);}},exports['getHookSkippedTests']=_0x30271b=>{const _0x31fbb2=a31_0x32bea0,_0x4b520={};_0x4b520[_0x31fbb2(0x1ae)]=function(_0x5cb77f,_0x3cf409){return _0x5cb77f!==_0x3cf409;},_0x4b520[_0x31fbb2(0x1cd)]=_0x31fbb2(0x201),_0x4b520[_0x31fbb2(0x1de)]=function(_0x302722,_0x38f9c9){return _0x302722!==_0x38f9c9;},_0x4b520[_0x31fbb2(0x1b1)]='passed',_0x4b520['vvXeC']=function(_0x1903f8,_0x23718a){return _0x1903f8!==_0x23718a;},_0x4b520['RmvKb']=_0x31fbb2(0x1af);const _0x5c1876=_0x4b520,_0x45587d=_0x30271b[_0x31fbb2(0x1ca)][_0x31fbb2(0x1dc)]((_0x4afa85,_0x13182c)=>{const _0x4ccfe8=_0x31fbb2,_0x2b1e1d=exports['getHookSkippedTests'](_0x13182c);return _0x2b1e1d&&(_0x4afa85=_0x4afa85[_0x4ccfe8(0x1d9)](_0x2b1e1d)),_0x4afa85;},[]),_0xb681c=_0x30271b[_0x31fbb2(0x1c6)][_0x31fbb2(0x1c3)](_0x5b446c=>{const _0x475bbc=_0x31fbb2,_0x23946f=_0x5c1876['mzImY'](_0x5b446c[_0x475bbc(0x1fd)],_0x5c1876[_0x475bbc(0x1cd)])&&!_0x5b446c[_0x475bbc(0x1be)]&&_0x5c1876[_0x475bbc(0x1de)](_0x5b446c[_0x475bbc(0x1e2)],_0x5c1876[_0x475bbc(0x1b1)])&&_0x5c1876[_0x475bbc(0x1e5)](_0x5b446c['state'],_0x5c1876[_0x475bbc(0x1ed)])&&!_0x5b446c['pending'];return _0x23946f;});return _0xb681c['concat'](_0x45587d);};
1
+ function a31_0x2372(_0x2a9c40,_0x281f7d){const _0x439781=a31_0x4397();return a31_0x2372=function(_0x23720b,_0x1c7f0d){_0x23720b=_0x23720b-0x80;let _0x17b696=_0x439781[_0x23720b];return _0x17b696;},a31_0x2372(_0x2a9c40,_0x281f7d);}const a31_0x2ebdb3=a31_0x2372;(function(_0x3f917e,_0xcd9f2e){const _0x49f80d=a31_0x2372,_0x557584=_0x3f917e();while(!![]){try{const _0x2eb7d9=-parseInt(_0x49f80d(0xa4))/0x1+parseInt(_0x49f80d(0x8b))/0x2+-parseInt(_0x49f80d(0xb2))/0x3+-parseInt(_0x49f80d(0x85))/0x4+-parseInt(_0x49f80d(0x8a))/0x5*(-parseInt(_0x49f80d(0x98))/0x6)+-parseInt(_0x49f80d(0xb6))/0x7+parseInt(_0x49f80d(0xd0))/0x8;if(_0x2eb7d9===_0xcd9f2e)break;else _0x557584['push'](_0x557584['shift']());}catch(_0x535b9d){_0x557584['push'](_0x557584['shift']());}}}(a31_0x4397,0x418f1));function a31_0x4397(){const _0x4a5257=['755770OPmWuV','RIbtk','getHooksForTest','rbIQE','_beforeEach','split','ubDyp','hookAnalyticsId','mapTestHooks','VKgnW','getSession','substring','KKUkX','6942yVxtij','hook','jhmIs','../../../helpers/test-observability/utils','_afterEach','failed','quvIE','unknown_grid','../../../../package.json','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','state','js-','33058tiWvma','pending','JUqoU','get','hook:','PCKwS','viCJa','getHookDetails','getBrowserName','toISOString','vLukc','getPlatform','filter','../../../helpers/test-observability/constants','305349gHlnne','iLUks','tests','MZzuK','1135281DpxCKF','__cloud_provider___','PCYux','../../../helpers/testhub/utils','ejTVb','../../../helpers/helper','emit','tRyPq','parent','rbznw','getCapabilities','pid','suites','fHIXz','getTestEnv','concat','fromEntries','indexOf','PAZWJ','ZClYj','forEach','Qtpgy','suble','mVCKt','iEDMu','CJreM','705736llRgEg','passed','markedStatus','map_','type','TEST_PLATFORM','_beforeAll','getHookSkippedTests','uuid','push','WLXYj','slice','fuzmk','browserstack','893408ANVUMF','platformVersion','YZNea','sendPlatformDetails','reduce','1395tWLbda'];a31_0x4397=function(){return _0x4a5257;};return a31_0x4397();}const {v4:uuidv4}=require(a31_0x2ebdb3(0xd8)),{name,version}=require(a31_0x2ebdb3(0xa0)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x2ebdb3(0x9b)),{consoleHolder}=require(a31_0x2ebdb3(0xb1)),{getPlatformVersion}=require(a31_0x2ebdb3(0xbb)),{shouldProcessEventForTesthub}=require(a31_0x2ebdb3(0xb9)),{isFunction}=require('lodash'),{patchConsoleLogger}=require(a31_0x2ebdb3(0x9b));patchConsoleLogger(),exports[a31_0x2ebdb3(0xc4)]=()=>{const _0x3b0a43=a31_0x2ebdb3,_0x1658ef={'rbIQE':'generic','ejTVb':function(_0x23b85a){return _0x23b85a();}};return{'ci':_0x1658ef[_0x3b0a43(0x8e)],'key':_0x1658ef[_0x3b0a43(0xba)](uuidv4),'version':version,'collector':_0x3b0a43(0xa3)+name};},exports[a31_0x2ebdb3(0xab)]=_0x38d85b=>{const _0x592e6e=a31_0x2ebdb3,_0x13d39e={};_0x13d39e['mVCKt']=function(_0x1b6377,_0x466568){return _0x1b6377!==_0x466568;},_0x13d39e[_0x592e6e(0x97)]='string',_0x13d39e['fuzmk']=function(_0x5d2fdd,_0x290774){return _0x5d2fdd!==_0x290774;},_0x13d39e[_0x592e6e(0xc3)]=_0x592e6e(0xa8),_0x13d39e[_0x592e6e(0xcb)]=function(_0x93c5c7,_0x2fad5b){return _0x93c5c7!==_0x2fad5b;},_0x13d39e[_0x592e6e(0x91)]='hook';const _0x5991fd=_0x13d39e;if(!_0x38d85b||_0x5991fd[_0x592e6e(0xcd)](typeof _0x38d85b,_0x5991fd[_0x592e6e(0x97)]))return[null,null];if(_0x5991fd[_0x592e6e(0x83)](_0x38d85b[_0x592e6e(0xc7)](_0x5991fd[_0x592e6e(0xc3)]),-0x1)){const _0x3cb7dc=_0x38d85b[_0x592e6e(0x90)](_0x5991fd[_0x592e6e(0xc3)]);return[_0x3cb7dc[0x0][_0x592e6e(0x82)](0x0,-0x1)[_0x592e6e(0x90)]('\x22')[0x1],_0x3cb7dc[0x1][_0x592e6e(0x96)](0x1)];}else{if(_0x5991fd['Qtpgy'](_0x38d85b[_0x592e6e(0xc7)](_0x5991fd[_0x592e6e(0x91)]),-0x1)){const _0x1e3198=_0x38d85b['split'](_0x5991fd[_0x592e6e(0x91)]);return[_0x1e3198[0x0][_0x592e6e(0x82)](0x0,-0x1)['split']('\x22')[0x1],_0x38d85b];}}return[null,null];},exports[a31_0x2ebdb3(0x8d)]=_0x2bcedb=>{const _0x3b160f=a31_0x2ebdb3,_0x5f49f7={'YZNea':function(_0x81a217,_0x5cc3f3){return _0x81a217(_0x5cc3f3);},'PAZWJ':_0x3b160f(0xd6),'WLXYj':'_afterAll','iEDMu':'_beforeEach','QUieG':_0x3b160f(0x9c)};if(!_0x2bcedb||!_0x2bcedb[_0x3b160f(0xbe)])return[];const _0x2e7dc6=[];return[_0x5f49f7[_0x3b160f(0xc8)],_0x5f49f7[_0x3b160f(0x81)],_0x5f49f7[_0x3b160f(0xce)],_0x5f49f7['QUieG']][_0x3b160f(0xca)](_0x422472=>{const _0x29c5c2=_0x3b160f,_0x13f827=_0x2bcedb['parent'][_0x422472]||[];_0x13f827[_0x29c5c2(0xca)](_0x206df7=>{const _0x269bc8=_0x29c5c2;_0x206df7[_0x269bc8(0x92)]&&!_0x5f49f7[_0x269bc8(0x87)](isInternalHook,_0x206df7['fn'])&&_0x2e7dc6[_0x269bc8(0x80)](_0x206df7[_0x269bc8(0x92)]);});}),[..._0x2e7dc6,...exports['getHooksForTest'](_0x2bcedb[_0x3b160f(0xbe)])];},exports[a31_0x2ebdb3(0x93)]=_0x4637bb=>{const _0x4a2567=a31_0x2ebdb3,_0x48b673={'EvJoZ':function(_0x17bb17){return _0x17bb17();},'VKgnW':function(_0x2a4064,_0x470887){return _0x2a4064===_0x470887;},'Bplqz':_0x4a2567(0x9c),'PCYux':function(_0x3aa581){return _0x3aa581();},'PCKwS':_0x4a2567(0xd6),'tRyPq':'_afterAll','JUqoU':_0x4a2567(0x8f)};if(!_0x4637bb||!_0x4637bb[_0x4a2567(0xbe)])return;[_0x48b673[_0x4a2567(0xa9)],_0x48b673[_0x4a2567(0xbd)],_0x48b673[_0x4a2567(0xa6)],_0x48b673['Bplqz']][_0x4a2567(0xca)](_0x1636ab=>{const _0x9973e=_0x4a2567,_0x32df4d=_0x4637bb[_0x9973e(0xbe)][_0x1636ab]||[];_0x32df4d[_0x9973e(0xca)](_0x5c5baa=>{const _0x5befa3=_0x9973e;if(!_0x5c5baa[_0x5befa3(0x92)])_0x5c5baa[_0x5befa3(0x92)]=_0x48b673['EvJoZ'](uuidv4);else _0x5c5baa[_0x5befa3(0xd2)]&&_0x48b673[_0x5befa3(0x94)](_0x1636ab,_0x48b673['Bplqz'])&&(_0x5c5baa[_0x5befa3(0x92)]=_0x48b673[_0x5befa3(0xb8)](uuidv4),delete _0x5c5baa[_0x5befa3(0xd2)]);});}),exports[_0x4a2567(0x93)](_0x4637bb['parent']);},exports[a31_0x2ebdb3(0x88)]=async(_0xa5f37a,_0x426a20)=>{const _0x44da42=a31_0x2ebdb3,_0x6cc3f8={'rbznw':function(_0x51acd5){return _0x51acd5();},'suble':function(_0x5951b4,_0x3f82b6){return _0x5951b4(_0x3f82b6);},'MZzuK':_0x44da42(0x86),'ZClYj':function(_0x38a02d,_0x5308c2){return _0x38a02d(_0x5308c2);},'viCJa':function(_0x3f8f05,_0x1d6b13){return _0x3f8f05===_0x1d6b13;},'CJreM':_0x44da42(0x84),'vLukc':_0x44da42(0x9f),'cDvEe':_0x44da42(0xd5)};try{if(!_0x6cc3f8[_0x44da42(0xbf)](shouldProcessEventForTesthub))return;const _0x4151d8=await _0xa5f37a[_0x44da42(0xc0)](),_0x4d6b56=await _0xa5f37a[_0x44da42(0x95)](),_0x48e387={},_0x33721e=Object[_0x44da42(0xc6)](_0x4d6b56[_0x44da42(0xc0)]()[_0x44da42(0xd3)]),_0x258d68={'product':_0x6cc3f8[_0x44da42(0xcc)](getObservabilityLinkedProductName,_0x33721e),'capabilities':_0x33721e,'platform':_0x4151d8[_0x44da42(0xaf)](),'platform_version':_0x4151d8[_0x44da42(0xa7)](_0x6cc3f8[_0x44da42(0xb5)])?_0x4151d8[_0x44da42(0xa7)](_0x6cc3f8[_0x44da42(0xb5)]):_0x6cc3f8[_0x44da42(0xc9)](getPlatformVersion,_0x6cc3f8[_0x44da42(0xaa)](global[_0x44da42(0xb7)],_0x6cc3f8[_0x44da42(0xcf)])),'browser':_0x4151d8[_0x44da42(0xac)](),'browser_version':_0x4151d8['getBrowserVersion'](),'session_id':_0x4d6b56['toJSON']()};global['__cloud_provider___']?_0x48e387[global[_0x44da42(0xb7)]]=_0x258d68:_0x48e387[_0x6cc3f8[_0x44da42(0xae)]]=_0x258d68,process[_0x44da42(0xbc)]('bs:addPlatformDetails:'+process[_0x44da42(0xc1)],{'timestamp':new Date()[_0x44da42(0xad)](),'level':null,'message':null,'kind':_0x6cc3f8['cDvEe'],'http_response':_0x48e387,'uuid':_0x426a20});}catch(_0xbafbbc){_0x6cc3f8[_0x44da42(0xcc)](debug,_0x44da42(0xa1)+_0xbafbbc);}},exports[a31_0x2ebdb3(0xd7)]=_0x3bcb83=>{const _0x1a8b54=a31_0x2ebdb3,_0x33411c={};_0x33411c[_0x1a8b54(0x8c)]=function(_0x30ddd6,_0x9772db){return _0x30ddd6!==_0x9772db;},_0x33411c[_0x1a8b54(0x9a)]=_0x1a8b54(0x99),_0x33411c['quvIE']=_0x1a8b54(0xd1),_0x33411c[_0x1a8b54(0xb3)]=_0x1a8b54(0x9d);const _0x5ad77e=_0x33411c,_0x1a0bfe=_0x3bcb83[_0x1a8b54(0xc2)][_0x1a8b54(0x89)]((_0xda6ab6,_0x3f3bad)=>{const _0x1e7b74=_0x1a8b54,_0xa6abe8=exports[_0x1e7b74(0xd7)](_0x3f3bad);return _0xa6abe8&&(_0xda6ab6=_0xda6ab6[_0x1e7b74(0xc5)](_0xa6abe8)),_0xda6ab6;},[]),_0x1bdc32=_0x3bcb83[_0x1a8b54(0xb4)][_0x1a8b54(0xb0)](_0x3ce296=>{const _0xcc6f88=_0x1a8b54,_0x457040=_0x5ad77e[_0xcc6f88(0x8c)](_0x3ce296[_0xcc6f88(0xd4)],_0x5ad77e['jhmIs'])&&!_0x3ce296['markedStatus']&&_0x5ad77e['RIbtk'](_0x3ce296['state'],_0x5ad77e[_0xcc6f88(0x9e)])&&_0x5ad77e[_0xcc6f88(0x8c)](_0x3ce296[_0xcc6f88(0xa2)],_0x5ad77e[_0xcc6f88(0xb3)])&&!_0x3ce296[_0xcc6f88(0xa5)];return _0x457040;});return _0x1bdc32[_0x1a8b54(0xc5)](_0x1a0bfe);};
@@ -1 +1 @@
1
- const a32_0x3fec21=a32_0x4af3;(function(_0xb6577,_0x167b6c){const _0x49ccc7=a32_0x4af3,_0x5ebd58=_0xb6577();while(!![]){try{const _0x1e196a=parseInt(_0x49ccc7(0x217))/0x1+-parseInt(_0x49ccc7(0x204))/0x2*(-parseInt(_0x49ccc7(0x232))/0x3)+-parseInt(_0x49ccc7(0x1ae))/0x4+parseInt(_0x49ccc7(0x245))/0x5*(-parseInt(_0x49ccc7(0x248))/0x6)+-parseInt(_0x49ccc7(0x239))/0x7+-parseInt(_0x49ccc7(0x1fc))/0x8*(-parseInt(_0x49ccc7(0x251))/0x9)+parseInt(_0x49ccc7(0x1e1))/0xa;if(_0x1e196a===_0x167b6c)break;else _0x5ebd58['push'](_0x5ebd58['shift']());}catch(_0x3f1a0a){_0x5ebd58['push'](_0x5ebd58['shift']());}}}(a32_0x143b,0xdd402));const util=require(a32_0x3fec21(0x203)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x3fec21(0x223)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x3fec21(0x225)),PerformanceTester=require(a32_0x3fec21(0x1cc)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),scripts=require(a32_0x3fec21(0x20f)),globals=require(a32_0x3fec21(0x21c)),logger=require('../../helpers/logger')[a32_0x3fec21(0x1b6)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a32_0x3fec21(0x22b));function a32_0x4af3(_0x5bfcb0,_0x4b6898){const _0x143bb6=a32_0x143b();return a32_0x4af3=function(_0x4af3de,_0x154c76){_0x4af3de=_0x4af3de-0x1a5;let _0x4ff1d3=_0x143bb6[_0x4af3de];return _0x4ff1d3;},a32_0x4af3(_0x5bfcb0,_0x4b6898);}function a32_0x143b(){const _0x223cb3=['initQuit','Failed\x20to\x20store\x20session\x20name:\x20','message','PnbWH','driverCleanup','oNwcU','SYNC','nmadD','FXiIG','shift','__sessionFailed','REtGo','command','FFRQb','index','HzaHF','bUxXJ','zhTkC','mlUgs','qbrOb','SrUTG','CUXBG','http:','sessionNameSet__','YIeKB','mochaHooks','266248bdmwZF','debug','length','__drivers','session_','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','QEnEw','util','4rLMBue','appium:app','BPWCH','join','MplEN','mRdeq','Gqqyt','error','jXzqI','getCurrentUrl','currentTest','../../helpers/accessibility-automation/scripts','startMonitoring','axmYq','TzSVJ','state','getGlobal','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','hqhbW','1184757sxhOKP','setGlobal','end','IXtIO','executeAsyncScript','../../helpers/globals','ibUzU','CdrDB','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','BROWSERSTACK_TESTHUB_JWT','format','FsQZU','../../helpers/accessibility-automation/helper','nEUmv','../../helpers/helper','NVNOo','tiqMz','MqyMx','Fzlvl','vFDLo','../../helpers/testhub/constants','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','WEQtF','beforeEach','protocol','SDK_HOOK','nyLwM','112323CkinmD','KfrYy','timeout','MmDTG','percyCaptureMode','xYWgI','ogZUE','3978128qzWSaW','Failed:\x20','PDsZB','urQZu','browserstackTestName','vQFIU','err','fDPiB','testcase','afterTest','UUyIm','titlePath','737755abyhMz','RRvWN','__error_messages__','66pAdqiu','VKvBH','afterAll','RybyI','duEhH','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','MvSsS','SnaDh','135aJDgMd','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','BaARR','measureWrapper','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','jobaV','ZmqNA','quitCount_','stringify','then','env','EgKga','AaMDV','ObservabilitySync:','3360508SYeQyl','cnazs','zShTH',',\x22level\x22:\x20\x22','shouldScanTestForAccessibility','hzjxK','CHgjw','__platformCaps','winstonLogger','beforeAll','info','isArray','eFJwW','BROWSERSTACK_TESTHUB_UUID','browserstackSessionName','executeScript','cOjwR','afterEach','ypyIS','https:','testAnalyticsId','bstackA11yShouldScan','OEfvr','ENV_VAR','passed','finally','oTvwb','capabilities','accessibilityScanStarted','isAccessibilityPlatform','../../helpers/performance/performance-tester','thJwtToken','\x22}}','orUYW','thBuildUuid','rSoxb','sessionName','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','bwSmc','ZAVaN','SMOxJ','app','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','\x20-\x20','MkejZ','hqsya','LLtvm','rsGly','push','WXdia','Vojbb','21788800JuKLjq'];a32_0x143b=function(){return _0x223cb3;};return a32_0x143b();}exports[a32_0x3fec21(0x1fb)]={'beforeAll'(){const _0x146a74=a32_0x3fec21,_0x1ffc3c={'zCavd':function(_0x22277b,_0x31f2d1,_0x9c4782,_0xd738){return _0x22277b(_0x31f2d1,_0x9c4782,_0xd738);},'vrkrq':'failed','oTvwb':'\x20|\x20','OEfvr':function(_0xe5e481,_0x437664,_0x414b6a){return _0xe5e481(_0x437664,_0x414b6a);},'DKWZp':_0x146a74(0x1c6),'BPWCH':function(_0x55083b){return _0x55083b();},'sNAYE':function(_0x10b26c,_0x231e07,_0x3c1da0){return _0x10b26c(_0x231e07,_0x3c1da0);},'tSjWO':function(_0x466e0c,_0x2de577,_0x421dee){return _0x466e0c(_0x2de577,_0x421dee);},'zShTH':_0x146a74(0x1f0),'AaMDV':_0x146a74(0x1b7)};PerformanceTester[_0x146a74(0x210)]();const _0x45e0b6='browserstack internal helper hook';PerformanceTester[_0x146a74(0x254)](PerformanceSdkEvents[_0x146a74(0x230)],()=>{const _0x37fff5=_0x146a74;global[_0x37fff5(0x247)]=[],global['__sessionFailed']=![],global[_0x37fff5(0x1e6)]=async()=>{const _0x5d2cc5=_0x37fff5;let _0x5bb52c=![];try{await global[_0x5d2cc5(0x1ff)][0x0][_0x5d2cc5(0x200)],_0x5bb52c=!![],global[_0x5d2cc5(0x1ec)]?await _0x1ffc3c['zCavd'](markSessionStatus,global[_0x5d2cc5(0x1ff)][0x0],_0x1ffc3c['vrkrq'],global[_0x5d2cc5(0x247)][_0x5d2cc5(0x207)](_0x1ffc3c[_0x5d2cc5(0x1c8)])):await _0x1ffc3c[_0x5d2cc5(0x1c4)](markSessionStatus,global['__drivers'][0x0],_0x1ffc3c['DKWZp']);}catch(_0x1c0dce){logger['debug'](_0x5d2cc5(0x1d3)+_0x1c0dce);}global[_0x5d2cc5(0x247)]=[],global['__sessionFailed']=![];if(_0x5bb52c)try{try{_0x1ffc3c[_0x5d2cc5(0x206)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x1ffc3c['sNAYE'](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this[_0x5d2cc5(0x20e)]['testAnalyticsId']:null));}catch(_0x29c77e){logger[_0x5d2cc5(0x1fd)](_0x5d2cc5(0x22c)+_0x29c77e);}await global[_0x5d2cc5(0x1ff)][0x0][_0x5d2cc5(0x1e2)]();}catch(_0x5c8743){logger[_0x5d2cc5(0x1fd)](_0x5d2cc5(0x252)+_0x5c8743);}};},{'platform':_0x1ffc3c['tSjWO'](nestedKeyValue,global[_0x146a74(0x1b5)],[_0x1ffc3c[_0x146a74(0x1b0)]]),'hookType':_0x1ffc3c[_0x146a74(0x1ac)]})();},'beforeEach'(_0x3acdc1){const _0x490a4e=a32_0x3fec21,_0x242a19={'SnaDh':function(_0x626ec6,_0x374c58){return _0x626ec6>_0x374c58;},'bUxXJ':function(_0x320bd3,_0x15ddf2){return _0x320bd3>_0x15ddf2;},'UUyIm':_0x490a4e(0x1d9),'mlUgs':function(_0x41cc70,_0xbbbb21,_0x17092f){return _0x41cc70(_0xbbbb21,_0x17092f);},'Gqqyt':_0x490a4e(0x1c3),'REtGo':function(_0x1f3396){return _0x1f3396();},'TzSVJ':_0x490a4e(0x1cb),'LDAbc':function(_0x4bbf22,_0x3b8198){return _0x4bbf22===_0x3b8198;},'HzaHF':_0x490a4e(0x1f8),'FsQZU':function(_0x35bf33,_0x534d5d){return _0x35bf33===_0x534d5d;},'hzjxK':_0x490a4e(0x1c1),'CUXBG':_0x490a4e(0x215),'MvSsS':'Automate\x20test\x20case\x20execution\x20has\x20started.','CHgjw':function(_0x6e8eb9){return _0x6e8eb9();},'NVNOo':_0x490a4e(0x23d),'YQhfL':function(_0x2717b0,_0x211f12,_0x5a6a74){return _0x2717b0(_0x211f12,_0x5a6a74);},'CdrDB':_0x490a4e(0x1f0),'SrUTG':_0x490a4e(0x22e)};globals['setGlobal'](_0x242a19[_0x490a4e(0x226)],this['currentTest'][_0x490a4e(0x244)]()[_0x490a4e(0x207)](_0x242a19[_0x490a4e(0x243)])),PerformanceTester[_0x490a4e(0x254)](PerformanceSdkEvents[_0x490a4e(0x230)],()=>{const _0x320291=_0x490a4e,_0x1be39d={'vQFIU':function(_0x3d1714){const _0x38b402=a32_0x4af3;return _0x242a19[_0x38b402(0x1ed)](_0x3d1714);}},_0x18115d='browserstack internal helper hook';new Promise(async _0x325fa3=>{const _0x53d8fd=a32_0x4af3;let _0x4e0dfc=!![];try{_0x242a19[_0x53d8fd(0x250)](global[_0x53d8fd(0x1ff)]['length'],0x1)&&(await global['driverCleanup'](),global[_0x53d8fd(0x1ff)][_0x53d8fd(0x1eb)]()),_0x242a19[_0x53d8fd(0x1f2)](global[_0x53d8fd(0x1ff)][0x0][_0x53d8fd(0x1a7)],0x0)&&(_0x4e0dfc=![],await global[_0x53d8fd(0x1e6)]());}catch(_0x15e119){logger[_0x53d8fd(0x1fd)](_0x53d8fd(0x252)+_0x15e119);}try{Array[_0x53d8fd(0x1b9)](global[_0x53d8fd(0x1ff)])&&global[_0x53d8fd(0x1ff)][0x0]&&(global['__drivers'][0x0][_0x53d8fd(0x1bc)]=this[_0x53d8fd(0x20e)][_0x53d8fd(0x244)]()['join'](_0x242a19['UUyIm'])),global['browserstackSessionName']=this['currentTest'][_0x53d8fd(0x244)]()['join'](_0x242a19[_0x53d8fd(0x243)]);}catch(_0x3ba566){logger[_0x53d8fd(0x1fd)](_0x53d8fd(0x1e3)+_0x3ba566);}this[_0x53d8fd(0x20e)][_0x53d8fd(0x1b2)]=_0x242a19[_0x53d8fd(0x1f4)](shouldScanTestForAccessibility,this[_0x53d8fd(0x20e)]['titlePath'](),!![]),globals[_0x53d8fd(0x218)](_0x242a19[_0x53d8fd(0x20a)],this[_0x53d8fd(0x20e)][_0x53d8fd(0x1b2)]),this[_0x53d8fd(0x20e)][_0x53d8fd(0x1ca)]=!![];if(_0x242a19[_0x53d8fd(0x1ed)](isAccessibilityAutomationSession)&&_0x4e0dfc&&Array['isArray'](global['__drivers'])&&_0x242a19['bUxXJ'](global[_0x53d8fd(0x1ff)][_0x53d8fd(0x1fe)],0x0)&&globals[_0x53d8fd(0x214)](_0x242a19[_0x53d8fd(0x212)]))try{const _0x3a01b1=await global[_0x53d8fd(0x1ff)][0x0][_0x53d8fd(0x200)];if(_0x3a01b1){let _0x3ffc80=!![];const _0x47504a=await global['__drivers'][0x0][_0x53d8fd(0x20d)]();let _0x3895e8;try{_0x3895e8=new URL(_0x47504a);}catch(_0x49edae){_0x3ffc80=![];}_0x3ffc80=_0x242a19['LDAbc'](_0x3895e8['protocol'],_0x242a19[_0x53d8fd(0x1f1)])||_0x242a19[_0x53d8fd(0x222)](_0x3895e8[_0x53d8fd(0x22f)],_0x242a19[_0x53d8fd(0x1b3)]),_0x3ffc80&&(this[_0x53d8fd(0x20e)][_0x53d8fd(0x1b2)]&&logger[_0x53d8fd(0x1b8)](_0x242a19[_0x53d8fd(0x1f7)])),this[_0x53d8fd(0x20e)][_0x53d8fd(0x1ca)]=this[_0x53d8fd(0x20e)][_0x53d8fd(0x1b2)],this[_0x53d8fd(0x20e)][_0x53d8fd(0x1b2)]&&logger[_0x53d8fd(0x1b8)](_0x242a19[_0x53d8fd(0x24f)]);}}catch(_0x41b399){logger[_0x53d8fd(0x20b)](_0x53d8fd(0x1d8)+util[_0x53d8fd(0x221)](_0x41b399));}_0x242a19[_0x53d8fd(0x1b4)](_0x325fa3);})[_0x320291(0x1a9)](()=>{const _0x284f00=_0x320291;_0x1be39d[_0x284f00(0x23e)](_0x3acdc1);});},{'platform':_0x242a19['YQhfL'](nestedKeyValue,global[_0x490a4e(0x1b5)],[_0x242a19[_0x490a4e(0x21e)]]),'hookType':_0x242a19[_0x490a4e(0x1f6)]})();},'afterEach'(_0x4d711e){const _0x379130=a32_0x3fec21,_0x369a97={'RybyI':_0x379130(0x1d9),'gnyDC':function(_0xc474c4,_0x457db1){return _0xc474c4!==_0x457db1;},'FXiIG':'passed','WXdia':function(_0x45cbfb,_0x590c2d,_0x39c756){return _0x45cbfb(_0x590c2d,_0x39c756);},'eFJwW':function(_0x28c097,_0x218d19){return _0x28c097+_0x218d19;},'ogZUE':_0x379130(0x23a),'MmDTG':'error','VKvBH':'Passed','IXtIO':_0x379130(0x1b8),'SMOxJ':function(_0x1f49e6,_0x5b4a31){return _0x1f49e6>_0x5b4a31;},'Grsem':function(_0x43ff20,_0x2a2231){return _0x43ff20===_0x2a2231;},'fDPiB':_0x379130(0x241),'ypyIS':_0x379130(0x205),'duEhH':function(_0x59e957,_0x2eba76,_0x32bfe7,_0x1531a4){return _0x59e957(_0x2eba76,_0x32bfe7,_0x1531a4);},'zhTkC':'isAccessibilityPlatform','mRdeq':_0x379130(0x1c3),'NfZYw':_0x379130(0x255),'FFRQb':'Performing\x20scan\x20before\x20saving\x20results','PDsZB':_0x379130(0x242),'PnbWH':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','vFDLo':function(_0x4e0613){return _0x4e0613();},'ibUzU':'debug','nmadD':function(_0x453ab6){return _0x453ab6();},'jobaV':_0x379130(0x1f0),'iJhxT':_0x379130(0x1bf)},_0x15f830='browserstack internal helper hook';this[_0x379130(0x234)](0xfde8),global[_0x379130(0x1d2)]=this[_0x379130(0x20e)]['titlePath']()[_0x379130(0x207)](_0x369a97['RybyI']),PerformanceTester[_0x379130(0x254)](PerformanceSdkEvents[_0x379130(0x230)],()=>{const _0xec6133=_0x379130,_0x1337d2={'urQZu':_0x369a97[_0xec6133(0x24b)],'LmSLg':function(_0x46716a,_0x5d1c5c){return _0x369a97['gnyDC'](_0x46716a,_0x5d1c5c);},'hqhbW':_0x369a97[_0xec6133(0x1ea)],'nEUmv':function(_0x182f1e,_0x5e37b3,_0x3e237f){return _0x369a97['WXdia'](_0x182f1e,_0x5e37b3,_0x3e237f);},'Fzlvl':function(_0x432310,_0x45f913){const _0x4e15f5=_0xec6133;return _0x369a97[_0x4e15f5(0x1ba)](_0x432310,_0x45f913);},'xYWgI':_0x369a97[_0xec6133(0x238)],'nyLwM':_0x369a97[_0xec6133(0x235)],'cOjwR':_0x369a97[_0xec6133(0x249)],'BaARR':_0x369a97[_0xec6133(0x21a)],'MkejZ':function(_0x5322f0,_0x7f97a3){const _0x2e8d83=_0xec6133;return _0x369a97[_0x2e8d83(0x1d6)](_0x5322f0,_0x7f97a3);},'KfrYy':function(_0x33a243,_0x157e60){return _0x369a97['Grsem'](_0x33a243,_0x157e60);},'MplEN':_0x369a97[_0xec6133(0x240)],'bwSmc':_0x369a97[_0xec6133(0x1c0)],'qbrOb':function(_0x2d68b6,_0x26ebb9,_0x2a6cb2,_0x39c9cb){const _0x562aa6=_0xec6133;return _0x369a97[_0x562aa6(0x24c)](_0x2d68b6,_0x26ebb9,_0x2a6cb2,_0x39c9cb);},'LLtvm':_0x369a97[_0xec6133(0x1f3)],'SxHFd':_0x369a97[_0xec6133(0x209)],'kHSaO':_0x369a97['NfZYw'],'QEnEw':_0x369a97[_0xec6133(0x1ef)],'hCwpW':_0x369a97[_0xec6133(0x23b)],'cnazs':_0x369a97[_0xec6133(0x1e5)],'ZAVaN':function(_0x510866){const _0x2868e2=_0xec6133;return _0x369a97[_0x2868e2(0x22a)](_0x510866);},'EgKga':function(_0x29189e,_0x586d1b,_0x1e3896){const _0x20576e=_0xec6133;return _0x369a97[_0x20576e(0x1df)](_0x29189e,_0x586d1b,_0x1e3896);},'tdeeE':_0x369a97[_0xec6133(0x21d)],'oNwcU':function(_0x329040){const _0x39ed27=_0xec6133;return _0x369a97[_0x39ed27(0x1e9)](_0x329040);}},_0x1b450b=async(_0xce4d0,_0x85a8b9)=>{const _0x54d5f5=_0xec6133;await global[_0x54d5f5(0x1ff)][0x0][_0x54d5f5(0x1bd)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0xce4d0+_0x54d5f5(0x1b1)+_0x85a8b9+_0x54d5f5(0x1ce));};new Promise(async _0x3bc579=>{const _0x1aa815=_0xec6133,_0x375faa={'MqyMx':_0x1337d2[_0x1aa815(0x23c)],'jXzqI':function(_0x50361f,_0x1b0d4f){return _0x1337d2['LmSLg'](_0x50361f,_0x1b0d4f);},'WEQtF':_0x1337d2[_0x1aa815(0x216)],'Vojbb':function(_0x2f5e44,_0x4eb991,_0x407227){const _0x518a8f=_0x1aa815;return _0x1337d2[_0x518a8f(0x224)](_0x2f5e44,_0x4eb991,_0x407227);},'axmYq':function(_0x1cf316,_0x481b6f){const _0x4435b1=_0x1aa815;return _0x1337d2[_0x4435b1(0x229)](_0x1cf316,_0x481b6f);},'orUYW':_0x1337d2[_0x1aa815(0x237)],'rSoxb':_0x1337d2[_0x1aa815(0x231)],'rsGly':_0x1337d2[_0x1aa815(0x1be)],'onIBW':_0x1337d2[_0x1aa815(0x253)]};try{_0x1337d2['MkejZ'](global['__drivers']['length'],0x1)&&(await global[_0x1aa815(0x1e6)](),global[_0x1aa815(0x1ff)][_0x1aa815(0x1eb)](),global['__error_messages__']=[],global[_0x1aa815(0x1ec)]=![]);try{if(global['percy']&&_0x1337d2[_0x1aa815(0x233)](global[_0x1aa815(0x236)],_0x1337d2[_0x1aa815(0x208)])&&global['__drivers'][0x0]){const _0x2acf0b=_0x1337d2[_0x1aa815(0x1da)](global[_0x1aa815(0x1c9)][_0x1aa815(0x1fe)],0x0)?!!global[_0x1aa815(0x1c9)][0x0]['app']||!!global[_0x1aa815(0x1c9)][0x0][_0x1337d2[_0x1aa815(0x1d4)]]:![],_0x1a5e3c={};_0x1a5e3c[_0x1aa815(0x1d7)]=_0x2acf0b,await _0x1337d2[_0x1aa815(0x1f5)](percyAutoCapture,global['__drivers'][0x0],_0x1337d2[_0x1aa815(0x208)],_0x1a5e3c);}}catch(_0x1d724c){logger[_0x1aa815(0x1fd)](_0x1aa815(0x201)+_0x1d724c);}!global['__skipSessionName']&&(await PerformanceTester[_0x1aa815(0x254)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x46d6fd=_0x1aa815;await global[_0x46d6fd(0x1ff)][0x0][_0x46d6fd(0x1bd)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x46d6fd(0x1a8)](this[_0x46d6fd(0x20e)]['titlePath']()[_0x46d6fd(0x207)](_0x375faa[_0x46d6fd(0x228)]))+'}}');})(),global[_0x1aa815(0x1ff)][0x0][_0x1aa815(0x1f9)]=!![]),await PerformanceTester[_0x1aa815(0x254)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x558c4f=_0x1aa815,_0x14d7de=_0x375faa[_0x558c4f(0x20c)](this[_0x558c4f(0x20e)][_0x558c4f(0x213)],_0x375faa[_0x558c4f(0x22d)]);_0x14d7de?(global[_0x558c4f(0x1ec)]=!![],global['__error_messages__'][_0x558c4f(0x1de)](this[_0x558c4f(0x20e)][_0x558c4f(0x23f)][_0x558c4f(0x1e4)]),await _0x375faa[_0x558c4f(0x1e0)](_0x1b450b,JSON[_0x558c4f(0x1a8)](_0x375faa[_0x558c4f(0x211)](_0x375faa[_0x558c4f(0x1cf)],this[_0x558c4f(0x20e)][_0x558c4f(0x23f)][_0x558c4f(0x1e4)])),_0x375faa[_0x558c4f(0x1d1)])):await _0x375faa[_0x558c4f(0x1e0)](_0x1b450b,JSON[_0x558c4f(0x1a8)](_0x375faa[_0x558c4f(0x1dd)]),_0x375faa['onIBW']);})();}catch(_0x4d38dd){logger['debug'](_0x1aa815(0x24e)+_0x4d38dd);}try{if(this[_0x1aa815(0x20e)][_0x1aa815(0x1ca)]&&globals[_0x1aa815(0x214)](_0x1337d2[_0x1aa815(0x1dc)])&&globals[_0x1aa815(0x214)](_0x1337d2['SxHFd'])){logger[_0x1aa815(0x1b8)](_0x1337d2['kHSaO']);const _0x1ba793={};_0x1ba793['thTestRunUuid']=this['currentTest'][_0x1aa815(0x1c2)],_0x1ba793[_0x1aa815(0x1d0)]=process['env'][testHubConstants[_0x1aa815(0x1c5)][_0x1aa815(0x1bb)]],_0x1ba793[_0x1aa815(0x1cd)]=process[_0x1aa815(0x1aa)][testHubConstants['ENV_VAR'][_0x1aa815(0x220)]];const _0x3c5a31=_0x1ba793;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x1aa815(0x1a8)](_0x3c5a31)),logger[_0x1aa815(0x1fd)](_0x1337d2[_0x1aa815(0x202)]);const _0x313877={};_0x313877[_0x1aa815(0x1ee)]=_0x1337d2['hCwpW'],await PerformanceTester[_0x1aa815(0x254)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x112c1c=_0x1aa815;logger[_0x112c1c(0x1fd)](util[_0x112c1c(0x221)](await global['__drivers'][0x0][_0x112c1c(0x21b)](scripts['performScan'],{'method':global['browserstackSessionName']})));},_0x313877)(),await PerformanceTester[_0x1aa815(0x254)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x4cee7a=_0x1aa815;await global['__drivers'][0x0][_0x4cee7a(0x21b)](scripts['saveTestResults'],_0x3c5a31);})(),logger[_0x1aa815(0x1b8)](_0x1337d2[_0x1aa815(0x1af)]);}}catch(_0x4a8b08){logger[_0x1aa815(0x20b)](_0x1aa815(0x21f)+this[_0x1aa815(0x20e)]['titlePath']()+'.\x20Error\x20:',_0x4a8b08);}try{try{if(_0x1337d2[_0x1aa815(0x1d5)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x1337d2[_0x1aa815(0x1ab)](sendPlatformDetails,global[_0x1aa815(0x1ff)][0x0],this[_0x1aa815(0x20e)]?this[_0x1aa815(0x20e)]['testAnalyticsId']:null);if(_0x1337d2['ZAVaN'](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x1aa815(0x1e8)]);const _0x50736e=_0x1aa815(0x1ad)+Date['now']();await _0x1337d2['nEUmv'](_0x1b450b,JSON['stringify'](_0x50736e),_0x1337d2['tdeeE']),PerformanceTester['end'](PerformanceO11yEvents['SYNC']);}}}catch(_0x1b2805){logger[_0x1aa815(0x1fd)](_0x1aa815(0x24d)+_0x1b2805),PerformanceTester[_0x1aa815(0x219)](PerformanceO11yEvents[_0x1aa815(0x1e8)],![],_0x1b2805);}_0x1337d2[_0x1aa815(0x1da)](global[_0x1aa815(0x1ff)][0x0][_0x1aa815(0x1a7)],0x0)&&await global[_0x1aa815(0x1e6)]();}catch(_0x2bc9b5){logger['debug'](_0x1aa815(0x252)+_0x2bc9b5);}_0x1337d2[_0x1aa815(0x1e7)](_0x3bc579);})[_0xec6133(0x1a9)](()=>{_0x1337d2['oNwcU'](_0x4d711e);});},{'platform':_0x369a97[_0x379130(0x1df)](nestedKeyValue,global['__platformCaps'],[_0x369a97[_0x379130(0x1a5)]]),'hookType':_0x369a97['iJhxT']})();},'afterAll'(_0x174caf){const _0x23550f=a32_0x3fec21,_0x3056b5={'QhWix':function(_0x1aa457){return _0x1aa457();},'hqsya':function(_0x127483){return _0x127483();},'RRvWN':function(_0x5198f7,_0x57e8bc,_0x5dac5d){return _0x5198f7(_0x57e8bc,_0x5dac5d);},'kdEql':_0x23550f(0x1f0),'YIeKB':_0x23550f(0x24a)},_0x4ee942='browserstack internal helper hook';this[_0x23550f(0x234)](0xfde8),PerformanceTester[_0x23550f(0x254)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x5837c2=_0x23550f,_0x38d0fa={'tiqMz':function(_0x1b9c38){return _0x3056b5['QhWix'](_0x1b9c38);},'ZmqNA':function(_0x15070e){const _0x55a3c9=a32_0x4af3;return _0x3056b5[_0x55a3c9(0x1db)](_0x15070e);}};new Promise(async _0x4fc5a6=>{const _0x188cc6=a32_0x4af3;await global[_0x188cc6(0x1e6)](),_0x38d0fa[_0x188cc6(0x227)](_0x4fc5a6);})[_0x5837c2(0x1a9)]()[_0x5837c2(0x1c7)](()=>{const _0x2f7a3c=_0x5837c2;_0x38d0fa[_0x2f7a3c(0x1a6)](_0x174caf);});},{'platform':_0x3056b5[_0x23550f(0x246)](nestedKeyValue,global['__platformCaps'],[_0x3056b5['kdEql']]),'hookType':_0x3056b5[_0x23550f(0x1fa)]})();}};
1
+ function a32_0x343c(){const _0x5f3f13=['tBzeJ','fFoqL','eZLBb','NJZtX','427896LdyDHq','state','sessionNameSet__','driverCleanup','./test-observability/mochaUtils','__platformCaps','5aGLCUj','../../helpers/globals','isAccessibilityPlatform','browserstackTestName','oePil','InkSJ','qaRZp','capabilities','OutJN','181640osfSSb','https:','eGdwD','protocol','Wecjz','accessibilityScanStarted','EFXTO','saveTestResults','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','percyCaptureMode','../../helpers/testhub/utils','SyRRp','passed','startMonitoring','HUjHm','testcase','command','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','JUXBZ','message','../../helpers/testhub/constants','ENV_VAR','908280qktiWq','error','zUTia','\x20|\x20','PaJpq','RHaWg','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','ucztV','KWGIe','../../helpers/accessibility-automation/helper','testAnalyticsId','../../helpers/accessibility-automation/scripts','Performing\x20scan\x20before\x20saving\x20results','executeAsyncScript','XHqJn','QmyoW','fGWdN','wWuhR','cdukQ','AjJTz','1089570LcGbxw','ahpwK','thDpg','appium:app','err','UuZcN','DHcSV','join','GTBaQ','ObservabilitySync:','quitCount_','executeScript','failed','BROWSERSTACK_TESTHUB_UUID','winstonLogger','MdnYp','sessionName','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','jUWVR','SAVE_RESULTS','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','CEpTU','push','SDK_HOOK','mwGIf','app','shouldScanTestForAccessibility','TznBm','DJgKG','start','\x20-\x20','fDyGp','../../helpers/performance/performance-tester','EPwNw','rRQfZ','getGlobal','__error_messages__','beforeEach','browserstackSessionName','BROWSERSTACK_TESTHUB_JWT','311563uUklND','env','fxaRZ','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','Failed\x20to\x20store\x20session\x20name:\x20','SESSION_STATUS','bstackA11yShouldScan','thJwtToken','afterEach','getCurrentUrl','../../helpers/performance/constants','SYNC','pOgtB','../../helpers/helper','session_','now','__skipSessionName','inpEw','923847BMdmrf','PERFORM_SCAN','../../helpers/percy/utils','timeout','__drivers','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','IbrEX','SwyHI','__sessionFailed','initQuit','FgCcl','\x22}}','end','Dnhoi','DYphy','format','beforeAll','Xvevl','fVnVf','mochaHooks','mpWpM','then','PFUNc','info','currentTest','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','wKBFc','measureWrapper','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','rzAXJ','neUvu','shift','percy','index','vKsqB','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','WbfOA','VRukz','TONxu','acAqj','CkMwc','.\x20Error\x20:',',\x22level\x22:\x20\x22','mRLvb','titlePath','JNvgn','setGlobal','YaaNK','afterTest','debug','40QInRUW','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','4106637EXPzGR','IBZtx','util','Failed:\x20','stringify'];a32_0x343c=function(){return _0x5f3f13;};return a32_0x343c();}const a32_0x39b74c=a32_0x2336;(function(_0x18dab9,_0x5a24f0){const _0x28ffca=a32_0x2336,_0xf1a78d=_0x18dab9();while(!![]){try{const _0x3cf957=-parseInt(_0x28ffca(0x83))/0x1+parseInt(_0x28ffca(0x92))/0x2+parseInt(_0x28ffca(0xf6))/0x3+parseInt(_0x28ffca(0xa8))/0x4+-parseInt(_0x28ffca(0x89))/0x5*(parseInt(_0x28ffca(0xbc))/0x6)+-parseInt(_0x28ffca(0xe4))/0x7*(parseInt(_0x28ffca(0x78))/0x8)+parseInt(_0x28ffca(0x7a))/0x9;if(_0x3cf957===_0x5a24f0)break;else _0xf1a78d['push'](_0xf1a78d['shift']());}catch(_0x49c396){_0xf1a78d['push'](_0xf1a78d['shift']());}}}(a32_0x343c,0x3d0f0));const util=require(a32_0x39b74c(0x7c)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x39b74c(0xb1)),{percyAutoCapture}=require(a32_0x39b74c(0xf8)),{sendPlatformDetails}=require(a32_0x39b74c(0x87)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x39b74c(0xf1)),PerformanceTester=require(a32_0x39b74c(0xdc)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x39b74c(0xee)),scripts=require(a32_0x39b74c(0xb3)),globals=require(a32_0x39b74c(0x8a)),logger=require('../../helpers/logger')[a32_0x39b74c(0xca)],{shouldProcessEventForTesthub}=require(a32_0x39b74c(0x9c)),testHubConstants=require(a32_0x39b74c(0xa6));function a32_0x2336(_0x131d32,_0x33a001){const _0x343c63=a32_0x343c();return a32_0x2336=function(_0x233631,_0x507ac4){_0x233631=_0x233631-0x6f;let _0x33712d=_0x343c63[_0x233631];return _0x33712d;},a32_0x2336(_0x131d32,_0x33a001);}exports[a32_0x39b74c(0x109)]={'beforeAll'(){const _0x1398a4=a32_0x39b74c,_0x4b10a8={'JUXBZ':function(_0x47373c,_0x4e6bdc,_0x179471,_0xecbaa6){return _0x47373c(_0x4e6bdc,_0x179471,_0xecbaa6);},'Wecjz':_0x1398a4(0xc8),'mwGIf':_0x1398a4(0xab),'oZeJo':function(_0xc8935a,_0x57d43e,_0x3a2421){return _0xc8935a(_0x57d43e,_0x3a2421);},'XHqJn':_0x1398a4(0x9e),'PaJpq':function(_0x4cb211){return _0x4cb211();},'ucztV':function(_0x1508e1,_0x501db0,_0x469ac6){return _0x1508e1(_0x501db0,_0x469ac6);},'AjJTz':_0x1398a4(0x117),'SyRRp':_0x1398a4(0x106)};PerformanceTester[_0x1398a4(0x9f)]();const _0x5c17e0='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x1398a4(0xd3)],()=>{const _0x276521=_0x1398a4;global[_0x276521(0xe0)]=[],global[_0x276521(0xfe)]=![],global['driverCleanup']=async()=>{const _0x483fe0=_0x276521;let _0x271ee4=![];try{await global[_0x483fe0(0xfa)][0x0][_0x483fe0(0xf2)],_0x271ee4=!![],global[_0x483fe0(0xfe)]?await _0x4b10a8[_0x483fe0(0xa4)](markSessionStatus,global[_0x483fe0(0xfa)][0x0],_0x4b10a8[_0x483fe0(0x96)],global['__error_messages__']['join'](_0x4b10a8[_0x483fe0(0xd4)])):await _0x4b10a8['oZeJo'](markSessionStatus,global[_0x483fe0(0xfa)][0x0],_0x4b10a8[_0x483fe0(0xb6)]);}catch(_0x37e5ef){logger[_0x483fe0(0x77)](_0x483fe0(0xd0)+_0x37e5ef);}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x271ee4)try{try{_0x4b10a8[_0x483fe0(0xac)](shouldProcessEventForTesthub)&&(global[_0x483fe0(0xfa)][0x0]&&await _0x4b10a8[_0x483fe0(0xaf)](sendPlatformDetails,global[_0x483fe0(0xfa)][0x0],this[_0x483fe0(0x10e)]?this[_0x483fe0(0x10e)]['testAnalyticsId']:null));}catch(_0x29b41e){logger[_0x483fe0(0x77)](_0x483fe0(0xa3)+_0x29b41e);}await global[_0x483fe0(0xfa)][0x0][_0x483fe0(0xff)]();}catch(_0x4c40f2){logger[_0x483fe0(0x77)](_0x483fe0(0x10f)+_0x4c40f2);}};},{'platform':_0x4b10a8[_0x1398a4(0xaf)](nestedKeyValue,global[_0x1398a4(0x88)],[_0x4b10a8[_0x1398a4(0xbb)]]),'hookType':_0x4b10a8[_0x1398a4(0x9d)]})();},'beforeEach'(_0x332e7c){const _0xba745d=a32_0x39b74c,_0x3a9165={'VYImy':function(_0x10c625,_0x2e8e86){return _0x10c625>_0x2e8e86;},'JIjPH':function(_0x5f1b00,_0x413e64){return _0x5f1b00>_0x413e64;},'MdnYp':_0xba745d(0xda),'fxaRZ':function(_0x528a5d,_0x498492,_0x4da302){return _0x528a5d(_0x498492,_0x4da302);},'InkSJ':_0xba745d(0xea),'oePil':function(_0x561087){return _0x561087();},'mpWpM':function(_0x289ba4,_0x3c3d3f){return _0x289ba4>_0x3c3d3f;},'NJZtX':_0xba745d(0x8b),'EFXTO':function(_0x3b5759,_0x261189){return _0x3b5759===_0x261189;},'HUjHm':'http:','TznBm':_0xba745d(0x93),'Dnhoi':_0xba745d(0x112),'PFUNc':'Automate\x20test\x20case\x20execution\x20has\x20started.','thDpg':_0xba745d(0x8c),'nQEng':_0xba745d(0x117),'JNvgn':_0xba745d(0xe1)};globals[_0xba745d(0x74)](_0x3a9165[_0xba745d(0xbe)],this[_0xba745d(0x10e)][_0xba745d(0x72)]()[_0xba745d(0xc3)](_0x3a9165[_0xba745d(0xcb)])),PerformanceTester[_0xba745d(0x111)](PerformanceSdkEvents[_0xba745d(0xd3)],()=>{const _0x5f4e8a=_0xba745d,_0x42b987={'vKsqB':function(_0x386d44){const _0x41b83e=a32_0x2336;return _0x3a9165[_0x41b83e(0x8d)](_0x386d44);}},_0x2bae5d='browserstack internal helper hook';new Promise(async _0xb73cb0=>{const _0xcf3ac2=a32_0x2336;let _0x42984b=!![];try{_0x3a9165['VYImy'](global['__drivers']['length'],0x1)&&(await global[_0xcf3ac2(0x86)](),global[_0xcf3ac2(0xfa)][_0xcf3ac2(0x115)]()),_0x3a9165['JIjPH'](global[_0xcf3ac2(0xfa)][0x0][_0xcf3ac2(0xc6)],0x0)&&(_0x42984b=![],await global['driverCleanup']());}catch(_0x357a6c){logger[_0xcf3ac2(0x77)](_0xcf3ac2(0x10f)+_0x357a6c);}try{Array['isArray'](global[_0xcf3ac2(0xfa)])&&global[_0xcf3ac2(0xfa)][0x0]&&(global[_0xcf3ac2(0xfa)][0x0][_0xcf3ac2(0xe2)]=this['currentTest'][_0xcf3ac2(0x72)]()['join'](_0x3a9165[_0xcf3ac2(0xcb)])),global[_0xcf3ac2(0xe2)]=this[_0xcf3ac2(0x10e)][_0xcf3ac2(0x72)]()[_0xcf3ac2(0xc3)](_0x3a9165[_0xcf3ac2(0xcb)]);}catch(_0x5c04f7){logger[_0xcf3ac2(0x77)](_0xcf3ac2(0xe8)+_0x5c04f7);}this[_0xcf3ac2(0x10e)][_0xcf3ac2(0xd6)]=_0x3a9165[_0xcf3ac2(0xe6)](shouldScanTestForAccessibility,this[_0xcf3ac2(0x10e)]['titlePath'](),!![]),globals['setGlobal'](_0x3a9165[_0xcf3ac2(0x8e)],this['currentTest']['shouldScanTestForAccessibility']),this[_0xcf3ac2(0x10e)][_0xcf3ac2(0x97)]=!![];if(_0x3a9165[_0xcf3ac2(0x8d)](isAccessibilityAutomationSession)&&_0x42984b&&Array['isArray'](global[_0xcf3ac2(0xfa)])&&_0x3a9165[_0xcf3ac2(0x10a)](global[_0xcf3ac2(0xfa)]['length'],0x0)&&globals[_0xcf3ac2(0xdf)](_0x3a9165[_0xcf3ac2(0x82)]))try{const _0x30d5dc=await global[_0xcf3ac2(0xfa)][0x0][_0xcf3ac2(0xf2)];if(_0x30d5dc){let _0x596a93=!![];const _0x4254f8=await global['__drivers'][0x0][_0xcf3ac2(0xed)]();let _0x5c2720;try{_0x5c2720=new URL(_0x4254f8);}catch(_0x471080){_0x596a93=![];}_0x596a93=_0x3a9165[_0xcf3ac2(0x98)](_0x5c2720[_0xcf3ac2(0x95)],_0x3a9165[_0xcf3ac2(0xa0)])||_0x3a9165[_0xcf3ac2(0x98)](_0x5c2720[_0xcf3ac2(0x95)],_0x3a9165[_0xcf3ac2(0xd7)]),_0x596a93&&(this[_0xcf3ac2(0x10e)][_0xcf3ac2(0xd6)]&&logger[_0xcf3ac2(0x10d)](_0x3a9165[_0xcf3ac2(0x103)])),this['currentTest']['accessibilityScanStarted']=this[_0xcf3ac2(0x10e)]['shouldScanTestForAccessibility'],this[_0xcf3ac2(0x10e)][_0xcf3ac2(0xd6)]&&logger[_0xcf3ac2(0x10d)](_0x3a9165[_0xcf3ac2(0x10c)]);}}catch(_0x5f259b){logger[_0xcf3ac2(0xa9)](_0xcf3ac2(0x9a)+util[_0xcf3ac2(0x105)](_0x5f259b));}_0x3a9165[_0xcf3ac2(0x8d)](_0xb73cb0);})[_0x5f4e8a(0x10b)](()=>{const _0x557bbb=_0x5f4e8a;_0x42b987[_0x557bbb(0x118)](_0x332e7c);});},{'platform':_0x3a9165[_0xba745d(0xe6)](nestedKeyValue,global['__platformCaps'],[_0x3a9165['nQEng']]),'hookType':_0x3a9165[_0xba745d(0x73)]})();},'afterEach'(_0x5b8f24){const _0x3d5dfc=a32_0x39b74c,_0x896451={'SwyHI':function(_0x29dadf){return _0x29dadf();},'ZtfuA':function(_0x5ba670,_0x4abc9e){return _0x5ba670!==_0x4abc9e;},'eGdwD':_0x3d5dfc(0x9e),'DYphy':function(_0x2104bd,_0x5c4f41,_0x43bc1a){return _0x2104bd(_0x5c4f41,_0x43bc1a);},'rzAXJ':function(_0x1cc225,_0x22dadf){return _0x1cc225+_0x22dadf;},'QmyoW':_0x3d5dfc(0x7d),'uoOQv':_0x3d5dfc(0xa9),'RHaWg':'Passed','ZNawy':_0x3d5dfc(0x10d),'joOYY':_0x3d5dfc(0xda),'fGWdN':function(_0x2cce4e,_0x58c29b){return _0x2cce4e>_0x58c29b;},'hsNJw':function(_0x34f3f1,_0x49909b){return _0x34f3f1===_0x49909b;},'DJgKG':_0x3d5dfc(0xa1),'IbrEX':_0x3d5dfc(0xbf),'pOgtB':function(_0x595105,_0x1d0a0d,_0x2f80fa,_0x165b1d){return _0x595105(_0x1d0a0d,_0x2f80fa,_0x165b1d);},'Xvevl':'isAccessibilityPlatform','fFoqL':'bstackA11yShouldScan','eZLBb':_0x3d5dfc(0x79),'EPwNw':_0x3d5dfc(0xb4),'KWGIe':_0x3d5dfc(0x76),'FgCcl':_0x3d5dfc(0xae),'wKBFc':function(_0x329853){return _0x329853();},'jUWVR':_0x3d5dfc(0x77),'fDyGp':function(_0x4c27e9,_0x5e8562,_0x2f3881){return _0x4c27e9(_0x5e8562,_0x2f3881);},'uoSUW':'index','LerNV':_0x3d5dfc(0xec)},_0x5a71d9='browserstack internal helper hook';this[_0x3d5dfc(0xf9)](0xfde8),global[_0x3d5dfc(0xcc)]=this[_0x3d5dfc(0x10e)][_0x3d5dfc(0x72)]()[_0x3d5dfc(0xc3)](_0x896451['joOYY']),PerformanceTester[_0x3d5dfc(0x111)](PerformanceSdkEvents[_0x3d5dfc(0xd3)],()=>{const _0x2fc455=_0x3d5dfc,_0xe31f51={'rRQfZ':function(_0x4b9851,_0x52af8a){return _0x896451['ZtfuA'](_0x4b9851,_0x52af8a);},'WbfOA':_0x896451[_0x2fc455(0x94)],'tBzeJ':function(_0xc12572,_0x337c58,_0x30f407){return _0x896451['DYphy'](_0xc12572,_0x337c58,_0x30f407);},'wQZnf':function(_0x487769,_0x539340){const _0x9178c2=_0x2fc455;return _0x896451[_0x9178c2(0x113)](_0x487769,_0x539340);},'TONxu':_0x896451[_0x2fc455(0xb7)],'ljFWW':_0x896451['uoOQv'],'kQbhr':_0x896451[_0x2fc455(0xad)],'qaRZp':_0x896451['ZNawy'],'YaaNK':_0x896451['joOYY'],'fVnVf':function(_0xaccf0a,_0xa0416a){const _0x25a979=_0x2fc455;return _0x896451[_0x25a979(0xb8)](_0xaccf0a,_0xa0416a);},'neUvu':function(_0x511114,_0x1a6adb){return _0x896451['hsNJw'](_0x511114,_0x1a6adb);},'VRukz':_0x896451[_0x2fc455(0xd8)],'acAqj':_0x896451[_0x2fc455(0xfc)],'CEpTU':function(_0x25c2f2,_0x189a4b,_0x48c831,_0x162965){const _0xd53993=_0x2fc455;return _0x896451[_0xd53993(0xf0)](_0x25c2f2,_0x189a4b,_0x48c831,_0x162965);},'wWuhR':_0x896451[_0x2fc455(0x107)],'ahpwK':_0x896451[_0x2fc455(0x80)],'GEPPK':_0x896451[_0x2fc455(0x81)],'UuZcN':_0x896451[_0x2fc455(0xdd)],'cdukQ':_0x896451[_0x2fc455(0xb0)],'inpEw':_0x896451[_0x2fc455(0x100)],'IBZtx':function(_0xd1b175){const _0x58e06e=_0x2fc455;return _0x896451[_0x58e06e(0x110)](_0xd1b175);},'mRLvb':function(_0x28e60c,_0x389037,_0x3cad8b){const _0xe086d2=_0x2fc455;return _0x896451[_0xe086d2(0x104)](_0x28e60c,_0x389037,_0x3cad8b);},'ddiAF':_0x896451[_0x2fc455(0xce)],'GTBaQ':function(_0xc927d,_0x2fe562){const _0xaa010e=_0x2fc455;return _0x896451[_0xaa010e(0xb8)](_0xc927d,_0x2fe562);}},_0x1d3e24=async(_0x3deae6,_0x3b1856)=>{const _0x23e22f=_0x2fc455;await global['__drivers'][0x0][_0x23e22f(0xc7)](_0x23e22f(0x119)+_0x3deae6+_0x23e22f(0x70)+_0x3b1856+_0x23e22f(0x101));};new Promise(async _0x47f2f5=>{const _0x1495d7=_0x2fc455,_0x59ec7f={};_0x59ec7f[_0x1495d7(0xc2)]=_0xe31f51[_0x1495d7(0x75)];const _0x2e49c1=_0x59ec7f;try{_0xe31f51[_0x1495d7(0x108)](global[_0x1495d7(0xfa)]['length'],0x1)&&(await global['driverCleanup'](),global[_0x1495d7(0xfa)]['shift'](),global[_0x1495d7(0xe0)]=[],global[_0x1495d7(0xfe)]=![]);try{if(global[_0x1495d7(0x116)]&&_0xe31f51[_0x1495d7(0x114)](global[_0x1495d7(0x9b)],_0xe31f51[_0x1495d7(0x11b)])&&global[_0x1495d7(0xfa)][0x0]){const _0x426094=_0xe31f51[_0x1495d7(0x108)](global[_0x1495d7(0x90)]['length'],0x0)?!!global['capabilities'][0x0][_0x1495d7(0xd5)]||!!global[_0x1495d7(0x90)][0x0][_0xe31f51[_0x1495d7(0x11d)]]:![],_0x28570c={};_0x28570c[_0x1495d7(0xd5)]=_0x426094,await _0xe31f51[_0x1495d7(0xd1)](percyAutoCapture,global[_0x1495d7(0xfa)][0x0],_0xe31f51[_0x1495d7(0x11b)],_0x28570c);}}catch(_0x3defa4){logger[_0x1495d7(0x77)](_0x1495d7(0xcd)+_0x3defa4);}!global[_0x1495d7(0xf4)]&&(await PerformanceTester[_0x1495d7(0x111)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0xc66e7b=_0x1495d7;await global['__drivers'][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0xc66e7b(0x7e)](this['currentTest'][_0xc66e7b(0x72)]()['join'](_0x2e49c1[_0xc66e7b(0xc2)]))+'}}');})(),global['__drivers'][0x0][_0x1495d7(0x85)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x1495d7(0xe9)],async()=>{const _0x2f2a5f=_0x1495d7,_0xdd9afe=_0xe31f51[_0x2f2a5f(0xde)](this[_0x2f2a5f(0x10e)][_0x2f2a5f(0x84)],_0xe31f51[_0x2f2a5f(0x11a)]);_0xdd9afe?(global[_0x2f2a5f(0xfe)]=!![],global['__error_messages__'][_0x2f2a5f(0xd2)](this[_0x2f2a5f(0x10e)][_0x2f2a5f(0xc0)][_0x2f2a5f(0xa5)]),await _0xe31f51[_0x2f2a5f(0x7f)](_0x1d3e24,JSON[_0x2f2a5f(0x7e)](_0xe31f51['wQZnf'](_0xe31f51[_0x2f2a5f(0x11c)],this[_0x2f2a5f(0x10e)][_0x2f2a5f(0xc0)][_0x2f2a5f(0xa5)])),_0xe31f51['ljFWW'])):await _0xe31f51[_0x2f2a5f(0x7f)](_0x1d3e24,JSON[_0x2f2a5f(0x7e)](_0xe31f51['kQbhr']),_0xe31f51[_0x2f2a5f(0x8f)]);})();}catch(_0x440ead){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x440ead);}try{if(this['currentTest']['accessibilityScanStarted']&&globals[_0x1495d7(0xdf)](_0xe31f51[_0x1495d7(0xb9)])&&globals[_0x1495d7(0xdf)](_0xe31f51[_0x1495d7(0xbd)])){logger[_0x1495d7(0x10d)](_0xe31f51['GEPPK']);const _0x5b7649={};_0x5b7649['thTestRunUuid']=this['currentTest']['testAnalyticsId'],_0x5b7649['thBuildUuid']=process[_0x1495d7(0xe5)][testHubConstants[_0x1495d7(0xa7)][_0x1495d7(0xc9)]],_0x5b7649[_0x1495d7(0xeb)]=process[_0x1495d7(0xe5)][testHubConstants[_0x1495d7(0xa7)][_0x1495d7(0xe3)]];const _0x44c61d=_0x5b7649;logger[_0x1495d7(0x77)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x1495d7(0x7e)](_0x44c61d)),logger['debug'](_0xe31f51[_0x1495d7(0xc1)]);const _0x4131f4={};_0x4131f4[_0x1495d7(0xa2)]=_0xe31f51[_0x1495d7(0xba)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1495d7(0xf7)],async()=>{const _0x22ca03=_0x1495d7;logger[_0x22ca03(0x77)](util['format'](await global[_0x22ca03(0xfa)][0x0][_0x22ca03(0xb5)](scripts['performScan'],{'method':global[_0x22ca03(0xe2)]})));},_0x4131f4)(),await PerformanceTester[_0x1495d7(0x111)](PerformanceA11yEvents[_0x1495d7(0xcf)],async()=>{const _0x4f71c6=_0x1495d7;await global[_0x4f71c6(0xfa)][0x0][_0x4f71c6(0xb5)](scripts[_0x4f71c6(0x99)],_0x44c61d);})(),logger[_0x1495d7(0x10d)](_0xe31f51[_0x1495d7(0xf5)]);}}catch(_0x2e58c6){logger[_0x1495d7(0xa9)](_0x1495d7(0xfb)+this[_0x1495d7(0x10e)][_0x1495d7(0x72)]()+_0x1495d7(0x6f),_0x2e58c6);}try{try{if(_0xe31f51['IBZtx'](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0xe31f51[_0x1495d7(0x71)](sendPlatformDetails,global[_0x1495d7(0xfa)][0x0],this[_0x1495d7(0x10e)]?this[_0x1495d7(0x10e)][_0x1495d7(0xb2)]:null);if(_0xe31f51['IBZtx'](isBrowserstackInfra)){PerformanceTester[_0x1495d7(0xd9)](PerformanceO11yEvents[_0x1495d7(0xef)]);const _0x4853bc=_0x1495d7(0xc5)+Date[_0x1495d7(0xf3)]();await _0xe31f51['mRLvb'](_0x1d3e24,JSON[_0x1495d7(0x7e)](_0x4853bc),_0xe31f51['ddiAF']),PerformanceTester[_0x1495d7(0x102)](PerformanceO11yEvents[_0x1495d7(0xef)]);}}}catch(_0x51f763){logger[_0x1495d7(0x77)](_0x1495d7(0xe7)+_0x51f763),PerformanceTester[_0x1495d7(0x102)](PerformanceO11yEvents[_0x1495d7(0xef)],![],_0x51f763);}_0xe31f51[_0x1495d7(0xc4)](global[_0x1495d7(0xfa)][0x0][_0x1495d7(0xc6)],0x0)&&await global[_0x1495d7(0x86)]();}catch(_0x51a8a9){logger[_0x1495d7(0x77)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x51a8a9);}_0xe31f51[_0x1495d7(0x7b)](_0x47f2f5);})[_0x2fc455(0x10b)](()=>{const _0x3892ff=_0x2fc455;_0x896451[_0x3892ff(0xfd)](_0x5b8f24);});},{'platform':_0x896451[_0x3d5dfc(0xdb)](nestedKeyValue,global['__platformCaps'],[_0x896451['uoSUW']]),'hookType':_0x896451['LerNV']})();},'afterAll'(_0x3cf887){const _0xff9027=a32_0x39b74c,_0x57244e={'CkMwc':function(_0x248745){return _0x248745();},'JFhby':function(_0xf618ba){return _0xf618ba();},'dgxbM':function(_0x2a7358,_0x31fa75,_0xa06db8){return _0x2a7358(_0x31fa75,_0xa06db8);},'zUTia':'index','OutJN':'afterAll'},_0x1c19f5='browserstack internal helper hook';this[_0xff9027(0xf9)](0xfde8),PerformanceTester[_0xff9027(0x111)](PerformanceSdkEvents[_0xff9027(0xd3)],()=>{const _0x49f37b={'hPlWd':function(_0x3599d4){return _0x57244e['JFhby'](_0x3599d4);}};new Promise(async _0x3a908b=>{const _0xec7ba1=a32_0x2336;await global[_0xec7ba1(0x86)](),_0x49f37b['hPlWd'](_0x3a908b);})['then']()['finally'](()=>{const _0x42bdd3=a32_0x2336;_0x57244e[_0x42bdd3(0x11e)](_0x3cf887);});},{'platform':_0x57244e['dgxbM'](nestedKeyValue,global[_0xff9027(0x88)],[_0x57244e[_0xff9027(0xaa)]]),'hookType':_0x57244e[_0xff9027(0x91)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x57306f=a33_0x46fd;(function(_0x557f87,_0x4a3de3){const _0x51acd8=a33_0x46fd,_0x41c6c1=_0x557f87();while(!![]){try{const _0x1711b4=parseInt(_0x51acd8(0x1c8))/0x1+-parseInt(_0x51acd8(0x1db))/0x2*(-parseInt(_0x51acd8(0x1ea))/0x3)+-parseInt(_0x51acd8(0x204))/0x4*(parseInt(_0x51acd8(0x206))/0x5)+-parseInt(_0x51acd8(0x1d3))/0x6+parseInt(_0x51acd8(0x201))/0x7+-parseInt(_0x51acd8(0x1fa))/0x8*(-parseInt(_0x51acd8(0x202))/0x9)+-parseInt(_0x51acd8(0x1d8))/0xa;if(_0x1711b4===_0x4a3de3)break;else _0x41c6c1['push'](_0x41c6c1['shift']());}catch(_0xd1ed24){_0x41c6c1['push'](_0x41c6c1['shift']());}}}(a33_0x542b,0xc075b));const fs=require('fs'),path=require(a33_0x57306f(0x1d6)),{spawn}=require(a33_0x57306f(0x207)),logger=require('../../helpers/logger')[a33_0x57306f(0x1f5)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a33_0x57306f(0x1e2)),constants=require(a33_0x57306f(0x1f0)),getUserNightwatchConfigs=(_0x2be7a6,_0x3daac8)=>{const _0xed5f7a=a33_0x57306f,_0x3c868f={'pCcLt':_0xed5f7a(0x1fb),'QwvEe':_0xed5f7a(0x205),'fWdbX':function(_0x4b1729,_0x384a77){return _0x4b1729(_0x384a77);},'DsVoW':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x832c9a=null,_0x2830b7={};const _0x5de667=_0x3daac8[_0xed5f7a(0x1f8)](_0x1b9148=>_0x1b9148===_0xed5f7a(0x1cf));if(!helper['isUndefined'](_0x2be7a6[_0xed5f7a(0x200)])&&fs['existsSync'](path[_0xed5f7a(0x1dc)](process['cwd'](),_0x2be7a6[_0xed5f7a(0x200)])))_0x832c9a=path[_0xed5f7a(0x1dc)](process['cwd'](),_0x2be7a6[_0xed5f7a(0x200)]),_0x3daac8['splice'](_0x5de667,0x2);else{if(fs[_0xed5f7a(0x209)](path[_0xed5f7a(0x1dc)](process[_0xed5f7a(0x1e0)](),_0x3c868f['pCcLt'])))_0x832c9a=path[_0xed5f7a(0x1dc)](process['cwd'](),_0x3c868f[_0xed5f7a(0x203)]);else fs[_0xed5f7a(0x209)](path[_0xed5f7a(0x1dc)](process[_0xed5f7a(0x1e0)](),_0x3c868f[_0xed5f7a(0x1e6)]))&&(_0x832c9a=path['join'](process[_0xed5f7a(0x1e0)](),_0x3c868f[_0xed5f7a(0x1e6)]));}return _0x832c9a?(logger[_0xed5f7a(0x1f2)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x832c9a),_0x2830b7=_0x3c868f[_0xed5f7a(0x1f1)](require,_0x832c9a)):logger['info'](_0x3c868f['DsVoW']),_0x2830b7;},removeExistingEnvs=_0x35af70=>{const _0x2a35cb=a33_0x57306f,_0x33e45a={};_0x33e45a[_0x2a35cb(0x1c9)]=function(_0x595484,_0x5096d6){return _0x595484>_0x5096d6;},_0x33e45a[_0x2a35cb(0x1d9)]=function(_0xfc8b5a,_0x28d6e7){return _0xfc8b5a>_0x28d6e7;};const _0x396632=_0x33e45a;let _0x627f26=_0x35af70['findIndex'](_0x27dc53=>_0x27dc53===_0x2a35cb(0x1cc));_0x396632[_0x2a35cb(0x1c9)](_0x627f26,-0x1)&&_0x35af70[_0x2a35cb(0x1f6)](_0x627f26,0x2),_0x627f26=_0x35af70[_0x2a35cb(0x1f8)](_0x34ae91=>_0x34ae91==='-e'),_0x396632['vbypr'](_0x627f26,-0x1)&&_0x35af70['splice'](_0x627f26,0x2);};function run(_0x4fddf5,_0x33ef92){const _0x569016=a33_0x57306f,_0x7be4a1={'wRzPC':_0x569016(0x1eb),'fyWyU':function(_0x5ec36a,_0x28554e){return _0x5ec36a+_0x28554e;},'GpMam':'test_settings','LsvcH':function(_0x4ef2e5,_0x36c502,_0x5a192a){return _0x4ef2e5(_0x36c502,_0x5a192a);},'PPwwG':_0x569016(0x1f3),'CMKXw':_0x569016(0x1f9),'RGVPk':function(_0xc36625,_0x589602){return _0xc36625===_0x589602;},'OrviA':_0x569016(0x1e7),'VVfRa':function(_0x9c5173,_0x23906c){return _0x9c5173(_0x23906c);},'FlQDK':function(_0x2a0373,_0x59bb45,_0x24b6de,_0x149bb0){return _0x2a0373(_0x59bb45,_0x24b6de,_0x149bb0);},'mncUI':_0x569016(0x1dd),'oHdVB':_0x569016(0x1cf),'dgUAG':_0x569016(0x1cc),'CSiAz':'inherit','YULsn':_0x569016(0x1e4)},_0x6ee85f=new BrowserStackSetup(_0x4fddf5);if(!_0x6ee85f[_0x569016(0x200)])return;const _0x3ba3e5=_0x7be4a1[_0x569016(0x1ee)](getUserNightwatchConfigs,_0x4fddf5,_0x33ef92),_0x234fb9={};_0x234fb9[_0x569016(0x1cd)]=![];const _0x3c1d46={};_0x3c1d46['host']=_0x7be4a1[_0x569016(0x1df)],_0x3c1d46[_0x569016(0x1fe)]=0x1bb;const _0x46123b={};_0x46123b[_0x569016(0x20a)]=_0x234fb9,_0x46123b['selenium']=_0x3c1d46;const _0x17092f=_0x46123b;logger[_0x569016(0x1f2)](_0x7be4a1[_0x569016(0x208)]);const _0x161feb={..._0x3ba3e5},_0x82301a=_0x161feb,_0x7babd8=helper[_0x569016(0x1fc)](_0x6ee85f[_0x569016(0x200)]),_0x344ef5=[];_0x6ee85f[_0x569016(0x200)][_0x569016(0x1e5)][_0x569016(0x1d5)]((_0x56bcad,_0x34641a)=>{const _0x1720cd=_0x569016;_0x7babd8?_0x344ef5[_0x1720cd(0x1f4)](helper['modifyBrowserStackW3CCaps'](_0x6ee85f['config'],_0x7be4a1['wRzPC'],_0x34641a)):_0x344ef5[_0x1720cd(0x1f4)](helper[_0x1720cd(0x1fd)](_0x6ee85f[_0x1720cd(0x200)],_0x7be4a1[_0x1720cd(0x1da)],_0x34641a));});const _0x4bcc7f={},_0x38e6b9=[];_0x4fddf5['env']=_0x4fddf5[_0x569016(0x1e1)]||_0x4fddf5['e'];const _0x3ae1ee=_0x4fddf5[_0x569016(0x1e1)]?_0x4fddf5[_0x569016(0x1e1)][_0x569016(0x1f7)]()[_0x569016(0x1de)](',')['map'](_0x5b609e=>_0x5b609e['trim']())['filter'](_0x437dce=>_0x437dce!==''):[''];_0x7be4a1[_0x569016(0x1cb)](_0x3ae1ee['length'],0x0)&&_0x3ae1ee[_0x569016(0x1f4)]('');_0x3ae1ee[_0x569016(0x1d5)](_0x376416=>{const _0x34eb26=_0x569016,_0x5be65c={'CzEhG':function(_0x2731cb,_0x15edde){return _0x7be4a1['fyWyU'](_0x2731cb,_0x15edde);},'QuaGl':_0x7be4a1[_0x34eb26(0x1e9)]};_0x344ef5['forEach'](_0xbb8332=>{const _0x437c5a=_0x34eb26;let _0x543bee=_0x5be65c['CzEhG'](helper[_0x437c5a(0x1d4)](_0xbb8332,'_'),'_'+Date[_0x437c5a(0x1e3)]());_0x376416&&(_0x543bee+='_'+_0x376416);if(_0x376416&&(!_0x3ba3e5[_0x5be65c[_0x437c5a(0x1d1)]]||!_0x3ba3e5[_0x5be65c['QuaGl']][_0x376416]))return;const _0x54a567={..._0x17092f};_0x54a567['desiredCapabilities']=_0xbb8332;const _0xed2c51=_0x54a567;_0x4bcc7f[_0x543bee]=_0x376416?helper[_0x437c5a(0x1ca)](_0x3ba3e5[_0x5be65c[_0x437c5a(0x1d1)]][_0x376416],_0xed2c51):_0xed2c51,_0x38e6b9['push'](_0x543bee);});});!_0x82301a[_0x569016(0x1ed)]&&(_0x82301a['test_settings']={});_0x82301a[_0x569016(0x1ed)]={..._0x82301a[_0x569016(0x1ed)],..._0x4bcc7f};const _0x38b9ae=path[_0x569016(0x1dc)](__dirname,_0x7be4a1[_0x569016(0x1ff)]);fs['writeFileSync'](_0x38b9ae,JSON[_0x569016(0x1d0)](_0x82301a)),_0x7be4a1['VVfRa'](removeExistingEnvs,_0x33ef92);const _0x2e86d6=_0x7be4a1[_0x569016(0x1ec)](spawn,/^win/['test'](process['platform'])?_0x7be4a1['mncUI']:_0x7be4a1[_0x569016(0x1da)],[_0x7be4a1[_0x569016(0x1d2)],_0x38b9ae,..._0x33ef92['slice'](0x1),_0x7be4a1['dgUAG'],_0x38e6b9[_0x569016(0x1dc)](',')],{'stdio':_0x7be4a1['CSiAz']});_0x2e86d6['on'](_0x7be4a1[_0x569016(0x1ce)],async _0x225c41=>{const _0x19fe51=_0x569016;logger['debug'](_0x19fe51(0x1d7)+_0x225c41),logger[_0x19fe51(0x1f2)](_0x19fe51(0x1ef)+_0x38b9ae),fs[_0x19fe51(0x1e8)](_0x38b9ae);});}function a33_0x46fd(_0xf8a65e,_0x5652ec){const _0x542b22=a33_0x542b();return a33_0x46fd=function(_0x46fd87,_0xdf5018){_0x46fd87=_0x46fd87-0x1c8;let _0x11fc5c=_0x542b22[_0x46fd87];return _0x11fc5c;},a33_0x46fd(_0xf8a65e,_0x5652ec);}module['exports']=run;function a33_0x542b(){const _0x11f37b=['nightwatch.cmd','split','PPwwG','cwd','env','../../helpers/helper','now','close','platforms','QwvEe','nightwatch-browserstack.json','unlinkSync','GpMam','18717pFbmTq','nightwatch','FlQDK','test_settings','LsvcH','Deleting\x20','../utils/constants','fWdbX','info','hub.browserstack.com','push','winstonLogger','splice','trim','findIndex','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','2248264bijzuR','nightwatch.conf.js','useW3C','modifyBrowserStackCaps','port','OrviA','config','7471422lcKgHS','18JoHmks','pCcLt','29972Dxvakd','nightwatch.json','580BdJiYO','child_process','CMKXw','existsSync','webdriver','127268EDCjhe','ouTPV','mergeDeep','RGVPk','--env','start_process','YULsn','--config','stringify','QuaGl','oHdVB','1003032yXMhxM','getPlatformName','forEach','path','child\x20process\x20exited\x20with\x20code\x20','14979940WBdNGG','vbypr','wRzPC','502nKcVUG','join'];a33_0x542b=function(){return _0x11f37b;};return a33_0x542b();}
2
+ 'use strict';function a33_0x411a(){const _0x1ae119=['lBqDJ','test_settings','stringify','slice','debug','unlinkSync','110424whXTRv','../utils/constants','isUndefined','writeFileSync','info','../../helpers/BrowserStackSetup','NBIZD','split','DHmdI','SoGbn','koAFv','WzGdj','child_process','18UMGVnz','Getting\x20your\x20nightwatch\x20configs\x20from\x20','start_process','config','splice','platform','78917spCNoA','7pICbJB','filter','DHiIV','1568360dEAsQd','length','mTydn','Ohdjb','CjUNO','nightwatch.json','existsSync','now','close','../../helpers/logger','uLJsV','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','JAlHH','431528rqTNqE','trim','mergeDeep','getPlatformName','modifyBrowserStackW3CCaps','LnKVQ','test','webdriver','jkOum','platforms','modifyBrowserStackCaps','114250zzjVij','3bENCtM','push','useW3C','winstonLogger','child\x20process\x20exited\x20with\x20code\x20','join','cwd','nightwatch.conf.js','1706935VKFQdF','map','NcKWF','zBOvE','nightwatch.cmd','dUwNg','exports','--env','WdYvF','AGbVt','host','inherit','--config','path','fAzSS','hub.browserstack.com','env','findIndex','5608850Fqqfon','selenium','forEach'];a33_0x411a=function(){return _0x1ae119;};return a33_0x411a();}const a33_0x5c426a=a33_0x3dce;(function(_0x5dc534,_0x2b9587){const _0x56f762=a33_0x3dce,_0x25b63f=_0x5dc534();while(!![]){try{const _0x3e94ab=parseInt(_0x56f762(0xbf))/0x1+-parseInt(_0x56f762(0x88))/0x2*(parseInt(_0x56f762(0x89))/0x3)+-parseInt(_0x56f762(0xc3))/0x4+-parseInt(_0x56f762(0x91))/0x5+-parseInt(_0x56f762(0xac))/0x6+-parseInt(_0x56f762(0xc0))/0x7*(parseInt(_0x56f762(0x7d))/0x8)+-parseInt(_0x56f762(0xb9))/0x9*(-parseInt(_0x56f762(0xa3))/0xa);if(_0x3e94ab===_0x2b9587)break;else _0x25b63f['push'](_0x25b63f['shift']());}catch(_0x400e13){_0x25b63f['push'](_0x25b63f['shift']());}}}(a33_0x411a,0x5274c));function a33_0x3dce(_0x234d36,_0x59855b){const _0x411a64=a33_0x411a();return a33_0x3dce=function(_0x3dcebb,_0x226bda){_0x3dcebb=_0x3dcebb-0x7b;let _0x8f5c5a=_0x411a64[_0x3dcebb];return _0x8f5c5a;},a33_0x3dce(_0x234d36,_0x59855b);}const fs=require('fs'),path=require(a33_0x5c426a(0x9e)),{spawn}=require(a33_0x5c426a(0xb8)),logger=require(a33_0x5c426a(0xcc))[a33_0x5c426a(0x8c)],{default:BrowserStackSetup}=require(a33_0x5c426a(0xb1)),helper=require('../../helpers/helper'),constants=require(a33_0x5c426a(0xad)),getUserNightwatchConfigs=(_0x500ffe,_0x5afffd)=>{const _0x1b5303=a33_0x5c426a,_0x34ac2d={'DHiIV':_0x1b5303(0x90),'Ohdjb':_0x1b5303(0xc8),'AGbVt':function(_0xed227b,_0x50cc12){return _0xed227b(_0x50cc12);},'koAFv':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x1e6dca=null,_0x556f83={};const _0x42a78d=_0x5afffd[_0x1b5303(0xa2)](_0x35b3ed=>_0x35b3ed===_0x1b5303(0x9d));if(!helper[_0x1b5303(0xae)](_0x500ffe[_0x1b5303(0xbc)])&&fs[_0x1b5303(0xc9)](path['join'](process[_0x1b5303(0x8f)](),_0x500ffe['config'])))_0x1e6dca=path[_0x1b5303(0x8e)](process[_0x1b5303(0x8f)](),_0x500ffe[_0x1b5303(0xbc)]),_0x5afffd[_0x1b5303(0xbd)](_0x42a78d,0x2);else{if(fs[_0x1b5303(0xc9)](path[_0x1b5303(0x8e)](process[_0x1b5303(0x8f)](),_0x34ac2d['DHiIV'])))_0x1e6dca=path[_0x1b5303(0x8e)](process['cwd'](),_0x34ac2d[_0x1b5303(0xc2)]);else fs[_0x1b5303(0xc9)](path[_0x1b5303(0x8e)](process[_0x1b5303(0x8f)](),_0x34ac2d['Ohdjb']))&&(_0x1e6dca=path['join'](process[_0x1b5303(0x8f)](),_0x34ac2d[_0x1b5303(0xc6)]));}return _0x1e6dca?(logger[_0x1b5303(0xb0)](_0x1b5303(0xba)+_0x1e6dca),_0x556f83=_0x34ac2d[_0x1b5303(0x9a)](require,_0x1e6dca)):logger[_0x1b5303(0xb0)](_0x34ac2d[_0x1b5303(0xb6)]),_0x556f83;},removeExistingEnvs=_0x1572dc=>{const _0x222609=a33_0x5c426a,_0x32051d={};_0x32051d[_0x222609(0xb7)]=function(_0x51d6b4,_0x22b8ea){return _0x51d6b4>_0x22b8ea;},_0x32051d[_0x222609(0x99)]=function(_0x2eb494,_0x305682){return _0x2eb494>_0x305682;};const _0x39fb1f=_0x32051d;let _0x5c3089=_0x1572dc[_0x222609(0xa2)](_0x18a0d5=>_0x18a0d5==='--env');_0x39fb1f[_0x222609(0xb7)](_0x5c3089,-0x1)&&_0x1572dc[_0x222609(0xbd)](_0x5c3089,0x2),_0x5c3089=_0x1572dc['findIndex'](_0x134eb5=>_0x134eb5==='-e'),_0x39fb1f[_0x222609(0x99)](_0x5c3089,-0x1)&&_0x1572dc[_0x222609(0xbd)](_0x5c3089,0x2);};function run(_0x2f2f33,_0x5ef326){const _0x55b310=a33_0x5c426a,_0x1a10f1={'mTydn':'nightwatch','CjUNO':function(_0x4a8311,_0x28122c){return _0x4a8311+_0x28122c;},'zBOvE':_0x55b310(0xa7),'NcKWF':function(_0x4d8144,_0xa86248,_0x14762b){return _0x4d8144(_0xa86248,_0x14762b);},'NBIZD':_0x55b310(0xa0),'vUjfF':_0x55b310(0x7b),'lBqDJ':function(_0x4741f2,_0x30ddb9){return _0x4741f2===_0x30ddb9;},'LnKVQ':'nightwatch-browserstack.json','fAzSS':function(_0x3c9238,_0x484a8f){return _0x3c9238(_0x484a8f);},'uLJsV':function(_0x4fc46f,_0x141376,_0x38c935,_0x5cc91c){return _0x4fc46f(_0x141376,_0x38c935,_0x5cc91c);},'DHmdI':_0x55b310(0x95),'VRaIe':_0x55b310(0x9d),'SoGbn':_0x55b310(0x98),'KeLny':_0x55b310(0x9c),'JAlHH':_0x55b310(0xcb)},_0x4130bd=new BrowserStackSetup(_0x2f2f33);if(!_0x4130bd[_0x55b310(0xbc)])return;const _0xace3ff=_0x1a10f1[_0x55b310(0x93)](getUserNightwatchConfigs,_0x2f2f33,_0x5ef326),_0x3b0c55={};_0x3b0c55[_0x55b310(0xbb)]=![];const _0x3b81b8={};_0x3b81b8[_0x55b310(0x9b)]=_0x1a10f1[_0x55b310(0xb2)],_0x3b81b8['port']=0x1bb;const _0x532858={};_0x532858[_0x55b310(0x84)]=_0x3b0c55,_0x532858[_0x55b310(0xa4)]=_0x3b81b8;const _0x507bf1=_0x532858;logger['info'](_0x1a10f1['vUjfF']);const _0x3d2b47={..._0xace3ff},_0x100ea5=_0x3d2b47,_0x5cd4a4=helper[_0x55b310(0x8b)](_0x4130bd[_0x55b310(0xbc)]),_0xfac1fa=[];_0x4130bd[_0x55b310(0xbc)][_0x55b310(0x86)][_0x55b310(0xa5)]((_0x16560d,_0x55d9e6)=>{const _0x1671fa=_0x55b310;_0x5cd4a4?_0xfac1fa[_0x1671fa(0x8a)](helper[_0x1671fa(0x81)](_0x4130bd['config'],_0x1a10f1['mTydn'],_0x55d9e6)):_0xfac1fa[_0x1671fa(0x8a)](helper[_0x1671fa(0x87)](_0x4130bd[_0x1671fa(0xbc)],_0x1a10f1[_0x1671fa(0xc5)],_0x55d9e6));});const _0x31293e={},_0x328657=[];_0x2f2f33['env']=_0x2f2f33['env']||_0x2f2f33['e'];const _0x518fc8=_0x2f2f33['env']?_0x2f2f33[_0x55b310(0xa1)][_0x55b310(0x7e)]()[_0x55b310(0xb3)](',')[_0x55b310(0x92)](_0x26d398=>_0x26d398[_0x55b310(0x7e)]())[_0x55b310(0xc1)](_0x4b76fb=>_0x4b76fb!==''):[''];_0x1a10f1[_0x55b310(0xa6)](_0x518fc8[_0x55b310(0xc4)],0x0)&&_0x518fc8[_0x55b310(0x8a)]('');_0x518fc8['forEach'](_0x118952=>{const _0x51a284=_0x55b310,_0x2db394={'jkOum':function(_0x1b0d90,_0x26872f){const _0x2f5613=a33_0x3dce;return _0x1a10f1[_0x2f5613(0xc7)](_0x1b0d90,_0x26872f);},'dUwNg':_0x1a10f1[_0x51a284(0x94)]};_0xfac1fa['forEach'](_0x2bcd18=>{const _0x120ccf=_0x51a284;let _0xdecc59=_0x2db394[_0x120ccf(0x85)](helper[_0x120ccf(0x80)](_0x2bcd18,'_'),'_'+Date[_0x120ccf(0xca)]());_0x118952&&(_0xdecc59+='_'+_0x118952);if(_0x118952&&(!_0xace3ff[_0x2db394[_0x120ccf(0x96)]]||!_0xace3ff[_0x2db394[_0x120ccf(0x96)]][_0x118952]))return;const _0x3516cc={..._0x507bf1};_0x3516cc['desiredCapabilities']=_0x2bcd18;const _0x33b27c=_0x3516cc;_0x31293e[_0xdecc59]=_0x118952?helper[_0x120ccf(0x7f)](_0xace3ff[_0x2db394[_0x120ccf(0x96)]][_0x118952],_0x33b27c):_0x33b27c,_0x328657[_0x120ccf(0x8a)](_0xdecc59);});});!_0x100ea5[_0x55b310(0xa7)]&&(_0x100ea5['test_settings']={});_0x100ea5[_0x55b310(0xa7)]={..._0x100ea5[_0x55b310(0xa7)],..._0x31293e};const _0x26d9c3=path[_0x55b310(0x8e)](__dirname,_0x1a10f1[_0x55b310(0x82)]);fs[_0x55b310(0xaf)](_0x26d9c3,JSON[_0x55b310(0xa8)](_0x100ea5)),_0x1a10f1[_0x55b310(0x9f)](removeExistingEnvs,_0x5ef326);const _0x33c6d0=_0x1a10f1[_0x55b310(0xcd)](spawn,/^win/[_0x55b310(0x83)](process[_0x55b310(0xbe)])?_0x1a10f1[_0x55b310(0xb4)]:_0x1a10f1['mTydn'],[_0x1a10f1['VRaIe'],_0x26d9c3,..._0x5ef326[_0x55b310(0xa9)](0x1),_0x1a10f1[_0x55b310(0xb5)],_0x328657[_0x55b310(0x8e)](',')],{'stdio':_0x1a10f1['KeLny']});_0x33c6d0['on'](_0x1a10f1[_0x55b310(0x7c)],async _0x4fb148=>{const _0x4429cb=_0x55b310;logger[_0x4429cb(0xaa)](_0x4429cb(0x8d)+_0x4fb148),logger[_0x4429cb(0xb0)]('Deleting\x20'+_0x26d9c3),fs[_0x4429cb(0xab)](_0x26d9c3);});}module[a33_0x5c426a(0x97)]=run;
@@ -1 +1 @@
1
- const a34_0x1ba913=a34_0x1f8d;function a34_0x1f8d(_0x4043b8,_0xf4ec9a){const _0x12320e=a34_0x1232();return a34_0x1f8d=function(_0x1f8d4d,_0x28bfe5){_0x1f8d4d=_0x1f8d4d-0x18a;let _0x57785e=_0x12320e[_0x1f8d4d];return _0x57785e;},a34_0x1f8d(_0x4043b8,_0xf4ec9a);}(function(_0x441725,_0x42b880){const _0x4a0963=a34_0x1f8d,_0x31304a=_0x441725();while(!![]){try{const _0x2c2700=-parseInt(_0x4a0963(0x1a0))/0x1*(parseInt(_0x4a0963(0x1f4))/0x2)+parseInt(_0x4a0963(0x1d1))/0x3+parseInt(_0x4a0963(0x1ce))/0x4*(-parseInt(_0x4a0963(0x19d))/0x5)+-parseInt(_0x4a0963(0x1e4))/0x6*(parseInt(_0x4a0963(0x197))/0x7)+-parseInt(_0x4a0963(0x1f5))/0x8*(parseInt(_0x4a0963(0x1b5))/0x9)+parseInt(_0x4a0963(0x1b8))/0xa+parseInt(_0x4a0963(0x1a9))/0xb;if(_0x2c2700===_0x42b880)break;else _0x31304a['push'](_0x31304a['shift']());}catch(_0x8b4e50){_0x31304a['push'](_0x31304a['shift']());}}}(a34_0x1232,0x218b8));const util=require('util'),logger=require(a34_0x1ba913(0x1ae))[a34_0x1ba913(0x18a)],{isAccessibilityAutomationSession}=require(a34_0x1ba913(0x1bb)),{isUndefined}=require(a34_0x1ba913(0x1f7)),scripts=require(a34_0x1ba913(0x1d3)),PerformanceTester=require(a34_0x1ba913(0x1bd)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x1ba913(0x1d4));function a34_0x1232(){const _0x1f4156=['browserStackExecuteDriver','lGEpC','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','measureWrapper','2THLNin','1904NPBndl','PERFORM_SCAN','../../helpers/helper','FzaSq','winstonLogger','yMAoI','ECuSh','accessibilityOptions.authToken','performScan','getAccessibilityResultsSummary','testInfo','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','env','EVhXg','stringify','setAccessibilityCapabilities','TGWgV','7iGsZxb','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','browser_version','latest','No\x20accessibility\x20results\x20were\x20found.','command','1274210NQbkNQ','LiDOo','(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','239633WfiFGv','chrome','KMZWE','oLWpi','scannerVersion','replace','yzOiu','getAccessibilityResults','playwright-chromium','7023940LAxbLA','wovyu','WebDriver','QEIgB','wcagVersion','../../helpers/logger','processAccessibilityCaps','QxgYJ','GGUDz','browser','connectOptions','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','1359GcWLYx','jgWKN','BS_A11Y_JWT','2045230NNVVBP','debug','needsReview','../../helpers/accessibility-automation/helper','accessibilityOptions.scannerVersion','../../helpers/performance/performance-tester','accessibilityPlatform','FGLWa','error','kUUtm','use','Nrbck','warn','QFiUA','No\x20summaryResults\x20found.','vTmCz','browserName','JCqEJ','GVMRi','bstackSdkArgs','browserStackEvaluate','deviceName','4BOrOtd','bestPractice','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','213261NVnRLe','parse','../../helpers/accessibility-automation/scripts','../../helpers/performance/constants','accessibilityOptions.scannerProcessingTimeout','executeScript','bxqhl','okUNw','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','aMKEH','constructor','ArakT','accessibilityOptions','WoKIP','thBSk','qRUhC','wsEndpoint','workerInfo','accessibilityOptions.wcagVersion','1478022awilpf','oaXCw','name','includeIssueType','oxKpd','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','format','HYKMf','ysMdp','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','cSESq','ZlWpt'];a34_0x1232=function(){return _0x1f4156;};return a34_0x1232();}exports[a34_0x1ba913(0x1cc)]=async(_0x4dbd1c,_0x513fa1,_0x34d93c={})=>{const _0x59c3d1=a34_0x1ba913,_0x39e0b5={};_0x39e0b5[_0x59c3d1(0x19e)]=_0x59c3d1(0x1cb);const _0x121487=_0x39e0b5;return await _0x4dbd1c['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'+_0x513fa1[_0x59c3d1(0x1a5)](/arguments/g,_0x121487[_0x59c3d1(0x19e)])+_0x59c3d1(0x191)+JSON[_0x59c3d1(0x194)](_0x34d93c)+')');},exports[a34_0x1ba913(0x1f0)]=async(_0x157a57,_0x2cdc4a,_0x713776={})=>{const _0x1372a4=a34_0x1ba913,_0x385744={};_0x385744['lGEpC']=function(_0x11902f,_0xd7b80b){return _0x11902f===_0xd7b80b;},_0x385744[_0x1372a4(0x1d7)]=_0x1372a4(0x1ab),_0x385744[_0x1372a4(0x1b1)]='Playwright',_0x385744['ECuSh']='bstackSdkArgs';const _0xc75800=_0x385744;if(_0xc75800['lGEpC'](_0x157a57[_0x1372a4(0x1db)][_0x1372a4(0x1e6)],_0xc75800['bxqhl']))return await _0x157a57['executeAsyncScript'](_0x2cdc4a,_0x713776);else{if(_0xc75800[_0x1372a4(0x1f1)](_0x157a57[_0x1372a4(0x1db)]['name'],_0xc75800[_0x1372a4(0x1b1)]))return await _0x157a57[_0x1372a4(0x1d6)](_0x1372a4(0x19f)+_0x2cdc4a[_0x1372a4(0x1a5)](/arguments/g,_0xc75800[_0x1372a4(0x18c)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x1372a4(0x194)](_0x713776)+')');}},exports[a34_0x1ba913(0x195)]=async _0x199fdd=>{const _0x5b2b66=a34_0x1ba913,_0x17a64a={};_0x17a64a[_0x5b2b66(0x1bf)]=_0x5b2b66(0x1e3),_0x17a64a[_0x5b2b66(0x1a2)]=_0x5b2b66(0x1d5),_0x17a64a['JCqEJ']='accessibilityOptions.includeIssueType.bestPractice',_0x17a64a[_0x5b2b66(0x1ee)]='accessibilityOptions.includeIssueType.needsReview',_0x17a64a['NSFHP']=_0x5b2b66(0x18d),_0x17a64a[_0x5b2b66(0x1c7)]=_0x5b2b66(0x1bc);const _0x5e8159=_0x17a64a;_0x199fdd[_0x5b2b66(0x1dd)]&&(_0x199fdd[_0x5b2b66(0x1dd)][_0x5b2b66(0x1ad)]&&(_0x199fdd[_0x5e8159[_0x5b2b66(0x1bf)]]=_0x199fdd['accessibilityOptions'][_0x5b2b66(0x1ad)]),_0x199fdd[_0x5b2b66(0x1dd)]['scannerProcessingTimeout']&&(_0x199fdd[_0x5e8159[_0x5b2b66(0x1a2)]]=_0x199fdd[_0x5b2b66(0x1dd)]['scannerProcessingTimeout']),_0x199fdd[_0x5b2b66(0x1dd)][_0x5b2b66(0x1e7)]&&(_0x199fdd[_0x5e8159[_0x5b2b66(0x1c9)]]=_0x199fdd[_0x5b2b66(0x1dd)][_0x5b2b66(0x1e7)][_0x5b2b66(0x1cf)],_0x199fdd[_0x5e8159['cSESq']]=_0x199fdd[_0x5b2b66(0x1dd)][_0x5b2b66(0x1e7)][_0x5b2b66(0x1ba)]));const _0x9b7fbc=JSON[_0x5b2b66(0x1d2)](process[_0x5b2b66(0x192)][_0x5b2b66(0x1d0)])[_0x5b2b66(0x1a4)];_0x199fdd[_0x5e8159['NSFHP']]=process[_0x5b2b66(0x192)][_0x5b2b66(0x1b7)],_0x199fdd[_0x5e8159[_0x5b2b66(0x1c7)]]=_0x9b7fbc,delete _0x199fdd[_0x5b2b66(0x1dd)];},exports[a34_0x1ba913(0x1a7)]=async _0x55bf55=>{const _0x3e20d9=a34_0x1ba913,_0x25c5f8={};_0x25c5f8[_0x3e20d9(0x1e8)]=_0x3e20d9(0x19b),_0x25c5f8['ArakT']=_0x3e20d9(0x1e9);const _0x587005=_0x25c5f8;if(global[_0x3e20d9(0x1be)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x55bf55,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x55bf55,scripts.getResults);})();return res;}catch{return logger[_0x3e20d9(0x1c0)](_0x587005[_0x3e20d9(0x1e8)]),[];}else return logger[_0x3e20d9(0x1c4)](_0x587005[_0x3e20d9(0x1dc)]),[];},exports[a34_0x1ba913(0x18e)]=async(_0x56cc40,_0x4e0d10='')=>{const _0x52f47b=a34_0x1ba913;if(global['accessibilityPlatform'])return await PerformanceTester[_0x52f47b(0x1f3)](PerformanceA11yEvents[_0x52f47b(0x1f6)],async()=>{const _0xb08b74=_0x52f47b,_0x55fa2f={};_0x55fa2f[_0xb08b74(0x19c)]=_0x4e0d10,await exports[_0xb08b74(0x1cc)](_0x56cc40,scripts[_0xb08b74(0x18e)],_0x55fa2f);},{'command':_0x4e0d10})();},exports[a34_0x1ba913(0x18f)]=async _0x1181ec=>{const _0x4dadb6=a34_0x1ba913,_0x4e84b7={};_0x4e84b7[_0x4dadb6(0x18b)]=_0x4dadb6(0x1c6),_0x4e84b7['GVMRi']=_0x4dadb6(0x1f2);const _0x55e510=_0x4e84b7;if(global['accessibilityPlatform'])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1181ec,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x1181ec,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x4dadb6(0x1b9)](_0x55e510[_0x4dadb6(0x18b)]),{};}else return logger['warn'](_0x55e510[_0x4dadb6(0x1ca)]),{};},exports['platformValidation']=async _0x23793a=>{const _0x37a611=a34_0x1ba913,_0x4e6ebc={'oLWpi':function(_0x122a33,_0x527b19){return _0x122a33!==_0x527b19;},'EVhXg':_0x37a611(0x1d9),'HYKMf':function(_0x54f009,_0x26e103){return _0x54f009===_0x26e103;},'kUUtm':_0x37a611(0x1a1),'QxgYJ':_0x37a611(0x1a8),'jgWKN':_0x37a611(0x1b4),'WJjPG':function(_0x4e9e94,_0x40eb7f){return _0x4e9e94(_0x40eb7f);},'aMKEH':_0x37a611(0x19a),'Nrbck':function(_0xb89f4e,_0x3a1a55){return _0xb89f4e>_0x3a1a55;},'wovyu':_0x37a611(0x1ed)};try{if(!_0x4e6ebc[_0x37a611(0x1a3)](_0x23793a[_0x37a611(0x1cd)],''))return logger[_0x37a611(0x1c4)](_0x4e6ebc[_0x37a611(0x193)]),![];const _0xc279fc=_0x23793a[_0x37a611(0x1b2)];if(!(_0x4e6ebc[_0x37a611(0x1eb)](_0xc279fc,_0x4e6ebc[_0x37a611(0x1c1)])||_0x4e6ebc['HYKMf'](_0xc279fc,_0x4e6ebc[_0x37a611(0x1b0)])))return logger['warn'](_0x4e6ebc[_0x37a611(0x1b6)]),![];const _0x2d793c=_0x4e6ebc['WJjPG'](parseInt,_0x23793a[_0x37a611(0x199)]);if(!(_0x4e6ebc[_0x37a611(0x1eb)](_0x2d793c,_0x4e6ebc[_0x37a611(0x1da)])||_0x4e6ebc[_0x37a611(0x1c3)](_0x2d793c,0x5e)))return logger['warn'](_0x4e6ebc[_0x37a611(0x1aa)]),![];}catch(_0x43722e){logger[_0x37a611(0x1b9)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x37a611(0x1ea)](_0x43722e));}return!![];},exports[a34_0x1ba913(0x1af)]=(_0xe66997,_0x1270f8,_0x490891)=>{const _0x1b3af7=a34_0x1ba913,_0x40a856={'ysMdp':function(_0x4a8402){return _0x4a8402();},'WoKIP':'browserstack.accessibility','thBSk':function(_0x4d492c,_0x4fa807){return _0x4d492c===_0x4fa807;},'yzOiu':_0x1b3af7(0x1a1),'oaXCw':function(_0x4076c6,_0x333a3e){return _0x4076c6===_0x333a3e;},'zZubi':_0x1b3af7(0x1a8),'QFiUA':_0x1b3af7(0x1b4),'qRUhC':function(_0x16bbb8,_0x3415f8){return _0x16bbb8===_0x3415f8;},'FzaSq':'latest','bwNIi':function(_0x2057b3,_0x2676e7){return _0x2057b3>_0x2676e7;},'TGWgV':_0x1b3af7(0x1ed),'QEIgB':function(_0x2cd9e7,_0x463483){return _0x2cd9e7(_0x463483);},'IRvJJ':_0x1b3af7(0x1d9),'ZlWpt':function(_0x3134a5,_0x266168){return _0x3134a5+_0x266168;},'okUNw':function(_0x2b086b,_0x2a7868){return _0x2b086b(_0x2a7868);}};try{if(_0x40a856[_0x1b3af7(0x1ec)](isAccessibilityAutomationSession)){global[_0x1b3af7(0x1be)]=!![];!_0xe66997[_0x40a856[_0x1b3af7(0x1de)]]&&(global[_0x1b3af7(0x1be)]=![]);!(_0x40a856[_0x1b3af7(0x1df)](_0xe66997[_0x1b3af7(0x1c8)],_0x40a856[_0x1b3af7(0x1a6)])||_0x40a856[_0x1b3af7(0x1e5)](_0xe66997[_0x1b3af7(0x1c8)],_0x40a856['zZubi']))&&(logger[_0x1b3af7(0x1c4)](_0x40a856[_0x1b3af7(0x1c5)]),global[_0x1b3af7(0x1be)]=![]);!(_0x40a856[_0x1b3af7(0x1e0)](_0xe66997[_0x1b3af7(0x199)],_0x40a856[_0x1b3af7(0x1f8)])||_0x40a856['bwNIi'](_0xe66997[_0x1b3af7(0x199)],0x5e))&&(logger['warn'](_0x40a856[_0x1b3af7(0x196)]),global[_0x1b3af7(0x1be)]=![]);!_0x40a856[_0x1b3af7(0x1ac)](isUndefined,_0xe66997['deviceName'])&&(logger[_0x1b3af7(0x1c4)](_0x40a856['IRvJJ']),global['accessibilityPlatform']=![]);if(!global['accessibilityPlatform']){_0xe66997[_0x40a856[_0x1b3af7(0x1de)]]=![];const _0x1b5eec=_0x40a856[_0x1b3af7(0x1ef)](_0x1270f8,_0x40a856[_0x1b3af7(0x1d8)](encodeURIComponent,JSON[_0x1b3af7(0x194)](_0xe66997)));_0x490891&&(_0x490891['currentTest'][_0x1b3af7(0x190)]['project']['use']['connectOptions'][_0x1b3af7(0x1e1)]=_0x1b5eec,_0x490891[_0x1b3af7(0x1e2)]['project'][_0x1b3af7(0x1c2)][_0x1b3af7(0x1b3)]['wsEndpoint']=_0x1b5eec);}}}catch(_0x2dca85){logger[_0x1b3af7(0x1b9)](_0x1b3af7(0x198)+util[_0x1b3af7(0x1ea)](_0x2dca85));}};
1
+ function a34_0x383d(){const _0xb8819c=['accessibilityOptions.includeIssueType.needsReview','jbSJD','getAccessibilityResultsSummary','replace','accessibilityPlatform','accessibilityOptions','ylsnR','AOaYh','8632344KBIbYQ','dWHtR','processAccessibilityCaps','../../helpers/accessibility-automation/helper','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','testInfo','parse','wcagVersion','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','browser_version','No\x20accessibility\x20results\x20were\x20found.','ZjJgj','wFLip','KGqas','../../helpers/performance/constants','project','getAccessibilityResults','browserstack.accessibility','fSmCT','8mnpBfd','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','scannerProcessingTimeout','RzYxl','zAcdm','DMWjU','stringify','zWVqR','accessibilityOptions.wcagVersion','2631710xSHjrz','QVAjm','5TFaWud','browserStackExecuteDriver','33qzkBFu','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','browserStackEvaluate','No\x20summaryResults\x20found.','env','includeIssueType','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','wiuei','name','Ndcex','../../helpers/logger','tOeXS','platformValidation','wjbjM','PERFORM_SCAN','qusxV','837540lkfkvX','debug','latest','35153240NyBTBL','bestPractice','use','performScan','BS_A11Y_JWT','rKevJ','73971fbzcaL','(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','util','RSUGI','VqOdU','5433386zUglCS','qJTWH','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','../../helpers/helper','accessibilityOptions.includeIssueType.bestPractice','qTuBv','Fskpa','hQJVp','error','browser','warn','accessibilityOptions.authToken','executeScript','constructor','Playwright','MMpvg','browserName','playwright-chromium','command','needsReview','../../helpers/performance/performance-tester','gxpAF','(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','accessibilityOptions.scannerVersion','format','connectOptions','evaluate','kMnPJ','deviceName','wsEndpoint','PcWDG','Vyshb','winstonLogger','563212yJptYU','QDafL','eeNmX','chrome','SElIp','ZMNkP','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','\x0a\x20\x20\x20\x20})\x0a\x20\x20})('];a34_0x383d=function(){return _0xb8819c;};return a34_0x383d();}const a34_0x2c50be=a34_0x5555;(function(_0x566b3d,_0x12c6be){const _0x523742=a34_0x5555,_0x4c1c03=_0x566b3d();while(!![]){try{const _0x183604=parseInt(_0x523742(0x129))/0x1+-parseInt(_0x523742(0x115))/0x2+-parseInt(_0x523742(0x119))/0x3*(parseInt(_0x523742(0x159))/0x4)+-parseInt(_0x523742(0x117))/0x5*(parseInt(_0x523742(0xf9))/0x6)+parseInt(_0x523742(0x137))/0x7*(parseInt(_0x523742(0x10c))/0x8)+-parseInt(_0x523742(0x132))/0x9+parseInt(_0x523742(0x12c))/0xa;if(_0x183604===_0x12c6be)break;else _0x4c1c03['push'](_0x4c1c03['shift']());}catch(_0x1fda58){_0x4c1c03['push'](_0x4c1c03['shift']());}}}(a34_0x383d,0xc7917));function a34_0x5555(_0x5194da,_0xb3198d){const _0x383dec=a34_0x383d();return a34_0x5555=function(_0x555570,_0x3b8fca){_0x555570=_0x555570-0xf7;let _0x168d7a=_0x383dec[_0x555570];return _0x168d7a;},a34_0x5555(_0x5194da,_0xb3198d);}const util=require(a34_0x2c50be(0x134)),logger=require(a34_0x2c50be(0x123))[a34_0x2c50be(0x158)],{isAccessibilityAutomationSession}=require(a34_0x2c50be(0xfc)),{isUndefined}=require(a34_0x2c50be(0x13b)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a34_0x2c50be(0x14c)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x2c50be(0x107));exports[a34_0x2c50be(0x11b)]=async(_0x19f4b5,_0xec7575,_0x2f4d55={})=>{const _0x496d1d=a34_0x2c50be,_0x4c0c7f={};_0x4c0c7f[_0x496d1d(0x116)]='bstackSdkArgs';const _0x2ddd17=_0x4c0c7f;return await _0x19f4b5[_0x496d1d(0x152)](_0x496d1d(0x14e)+_0xec7575[_0x496d1d(0x164)](/arguments/g,_0x2ddd17[_0x496d1d(0x116)])+_0x496d1d(0x160)+JSON[_0x496d1d(0x112)](_0x2f4d55)+')');},exports[a34_0x2c50be(0x118)]=async(_0x326378,_0x58f225,_0x355549={})=>{const _0x1a451d=a34_0x2c50be,_0xeea177={};_0xeea177[_0x1a451d(0x122)]=function(_0x4e3860,_0x3bc14d){return _0x4e3860===_0x3bc14d;},_0xeea177['wjbjM']='WebDriver',_0xeea177[_0x1a451d(0x135)]=function(_0x5650be,_0x316f66){return _0x5650be===_0x316f66;},_0xeea177[_0x1a451d(0xfa)]=_0x1a451d(0x146),_0xeea177[_0x1a451d(0x153)]='bstackSdkArgs';const _0x3e6138=_0xeea177;if(_0x3e6138[_0x1a451d(0x122)](_0x326378[_0x1a451d(0x145)][_0x1a451d(0x121)],_0x3e6138[_0x1a451d(0x126)]))return await _0x326378['executeAsyncScript'](_0x58f225,_0x355549);else{if(_0x3e6138['RSUGI'](_0x326378['constructor'][_0x1a451d(0x121)],_0x3e6138[_0x1a451d(0xfa)]))return await _0x326378[_0x1a451d(0x144)](_0x1a451d(0x133)+_0x58f225[_0x1a451d(0x164)](/arguments/g,_0x3e6138['kMnPJ'])+_0x1a451d(0x11f)+JSON[_0x1a451d(0x112)](_0x355549)+')');}},exports['setAccessibilityCapabilities']=async _0x3d99d7=>{const _0x36f96c=a34_0x2c50be,_0x412d8f={};_0x412d8f[_0x36f96c(0x124)]=_0x36f96c(0x114),_0x412d8f[_0x36f96c(0x14d)]='accessibilityOptions.scannerProcessingTimeout',_0x412d8f[_0x36f96c(0x128)]=_0x36f96c(0x13c),_0x412d8f[_0x36f96c(0x162)]=_0x36f96c(0x161),_0x412d8f['rKevJ']=_0x36f96c(0x143),_0x412d8f[_0x36f96c(0x110)]=_0x36f96c(0x14f);const _0xf54024=_0x412d8f;_0x3d99d7[_0x36f96c(0x166)]&&(_0x3d99d7[_0x36f96c(0x166)][_0x36f96c(0x100)]&&(_0x3d99d7[_0xf54024[_0x36f96c(0x124)]]=_0x3d99d7[_0x36f96c(0x166)][_0x36f96c(0x100)]),_0x3d99d7[_0x36f96c(0x166)][_0x36f96c(0x10e)]&&(_0x3d99d7[_0xf54024[_0x36f96c(0x14d)]]=_0x3d99d7[_0x36f96c(0x166)]['scannerProcessingTimeout']),_0x3d99d7[_0x36f96c(0x166)][_0x36f96c(0x11e)]&&(_0x3d99d7[_0xf54024['qusxV']]=_0x3d99d7[_0x36f96c(0x166)][_0x36f96c(0x11e)][_0x36f96c(0x12d)],_0x3d99d7[_0xf54024[_0x36f96c(0x162)]]=_0x3d99d7[_0x36f96c(0x166)]['includeIssueType'][_0x36f96c(0x14b)]));const _0x3239fa=JSON[_0x36f96c(0xff)](process[_0x36f96c(0x11d)][_0x36f96c(0x101)])['scannerVersion'];_0x3d99d7[_0xf54024[_0x36f96c(0x131)]]=process[_0x36f96c(0x11d)][_0x36f96c(0x130)],_0x3d99d7[_0xf54024[_0x36f96c(0x110)]]=_0x3239fa,delete _0x3d99d7['accessibilityOptions'];},exports[a34_0x2c50be(0x109)]=async _0x5d1ed9=>{const _0x49c201=a34_0x2c50be,_0x51b24c={};_0x51b24c[_0x49c201(0x113)]=_0x49c201(0x103),_0x51b24c['ZMNkP']=_0x49c201(0x15f);const _0x14ee31=_0x51b24c;if(global[_0x49c201(0x165)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x5d1ed9,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x5d1ed9,scripts.getResults);})();return res;}catch{return logger[_0x49c201(0x140)](_0x14ee31['zWVqR']),[];}else return logger[_0x49c201(0x142)](_0x14ee31[_0x49c201(0x15e)]),[];},exports[a34_0x2c50be(0x12f)]=async(_0x465ae7,_0x2acaa8='')=>{const _0x2d44b6=a34_0x2c50be;if(global[_0x2d44b6(0x165)])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2d44b6(0x127)],async()=>{const _0x31e78c=_0x2d44b6,_0x5766d9={};_0x5766d9[_0x31e78c(0x14a)]=_0x2acaa8,await exports[_0x31e78c(0x11b)](_0x465ae7,scripts[_0x31e78c(0x12f)],_0x5766d9);},{'command':_0x2acaa8})();},exports[a34_0x2c50be(0x163)]=async _0xfe0eeb=>{const _0x5c10e7=a34_0x2c50be,_0x258e2d={};_0x258e2d[_0x5c10e7(0x13f)]=_0x5c10e7(0x11c),_0x258e2d[_0x5c10e7(0x15d)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x1a222f=_0x258e2d;if(global['accessibilityPlatform'])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0xfe0eeb,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0xfe0eeb,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x5c10e7(0x12a)](_0x1a222f[_0x5c10e7(0x13f)]),{};}else return logger['warn'](_0x1a222f[_0x5c10e7(0x15d)]),{};},exports[a34_0x2c50be(0x125)]=async _0x427404=>{const _0x4ae59f=a34_0x2c50be,_0x2c45b4={'huXrW':function(_0x4d5c7f,_0x2e503f){return _0x4d5c7f!==_0x2e503f;},'qJTWH':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','VqOdU':function(_0x3d2f70,_0x780b06){return _0x3d2f70===_0x780b06;},'wFLip':_0x4ae59f(0x15c),'ylsnR':_0x4ae59f(0x149),'fSmCT':_0x4ae59f(0xfd),'PYTwU':function(_0x27de27,_0x590f41){return _0x27de27(_0x590f41);},'ZjJgj':function(_0x5cfccf,_0x283885){return _0x5cfccf===_0x283885;},'pQUJk':_0x4ae59f(0x12b),'PcWDG':function(_0x32228f,_0x3ec955){return _0x32228f>_0x3ec955;},'eeNmX':_0x4ae59f(0x10d)};try{if(!_0x2c45b4['huXrW'](_0x427404[_0x4ae59f(0x154)],''))return logger[_0x4ae59f(0x142)](_0x2c45b4[_0x4ae59f(0x138)]),![];const _0x46c5ac=_0x427404[_0x4ae59f(0x141)];if(!(_0x2c45b4[_0x4ae59f(0x136)](_0x46c5ac,_0x2c45b4[_0x4ae59f(0x105)])||_0x2c45b4[_0x4ae59f(0x136)](_0x46c5ac,_0x2c45b4[_0x4ae59f(0xf7)])))return logger[_0x4ae59f(0x142)](_0x2c45b4[_0x4ae59f(0x10b)]),![];const _0x985cdd=_0x2c45b4['PYTwU'](parseInt,_0x427404[_0x4ae59f(0x102)]);if(!(_0x2c45b4[_0x4ae59f(0x104)](_0x985cdd,_0x2c45b4['pQUJk'])||_0x2c45b4[_0x4ae59f(0x156)](_0x985cdd,0x5e)))return logger[_0x4ae59f(0x142)](_0x2c45b4[_0x4ae59f(0x15b)]),![];}catch(_0x49c39f){logger[_0x4ae59f(0x12a)](_0x4ae59f(0x11a)+util[_0x4ae59f(0x150)](_0x49c39f));}return!![];},exports[a34_0x2c50be(0xfb)]=(_0x53e0ab,_0x32b3c0,_0x4be11e)=>{const _0xd33d29=a34_0x2c50be,_0x2f99a1={'qTuBv':function(_0x3cbeb5){return _0x3cbeb5();},'QDafL':_0xd33d29(0x10a),'AOaYh':function(_0x443d6d,_0x39564c){return _0x443d6d===_0x39564c;},'MMpvg':_0xd33d29(0x15c),'Fskpa':_0xd33d29(0x149),'KGqas':_0xd33d29(0xfd),'jztkW':function(_0x1b9ee8,_0x1001ee){return _0x1b9ee8===_0x1001ee;},'MiFGL':_0xd33d29(0x12b),'oIYaj':function(_0x159f1d,_0x480bb1){return _0x159f1d>_0x480bb1;},'wiuei':_0xd33d29(0x10d),'Vyshb':function(_0x1b360b,_0x15372b){return _0x1b360b(_0x15372b);},'DMWjU':_0xd33d29(0x13a),'RzYxl':function(_0x5b4191,_0x1df6e5){return _0x5b4191+_0x1df6e5;}};try{if(_0x2f99a1[_0xd33d29(0x13d)](isAccessibilityAutomationSession)){global[_0xd33d29(0x165)]=!![];!_0x53e0ab[_0x2f99a1[_0xd33d29(0x15a)]]&&(global['accessibilityPlatform']=![]);!(_0x2f99a1[_0xd33d29(0xf8)](_0x53e0ab['browserName'],_0x2f99a1[_0xd33d29(0x147)])||_0x2f99a1[_0xd33d29(0xf8)](_0x53e0ab[_0xd33d29(0x148)],_0x2f99a1[_0xd33d29(0x13e)]))&&(logger[_0xd33d29(0x142)](_0x2f99a1[_0xd33d29(0x106)]),global[_0xd33d29(0x165)]=![]);!(_0x2f99a1['jztkW'](_0x53e0ab[_0xd33d29(0x102)],_0x2f99a1['MiFGL'])||_0x2f99a1['oIYaj'](_0x53e0ab[_0xd33d29(0x102)],0x5e))&&(logger[_0xd33d29(0x142)](_0x2f99a1[_0xd33d29(0x120)]),global[_0xd33d29(0x165)]=![]);!_0x2f99a1[_0xd33d29(0x157)](isUndefined,_0x53e0ab[_0xd33d29(0x154)])&&(logger[_0xd33d29(0x142)](_0x2f99a1[_0xd33d29(0x111)]),global['accessibilityPlatform']=![]);if(!global['accessibilityPlatform']){_0x53e0ab[_0x2f99a1[_0xd33d29(0x15a)]]=![];const _0x26acae=_0x2f99a1[_0xd33d29(0x10f)](_0x32b3c0,_0x2f99a1['Vyshb'](encodeURIComponent,JSON['stringify'](_0x53e0ab)));_0x4be11e&&(_0x4be11e['currentTest'][_0xd33d29(0xfe)][_0xd33d29(0x108)][_0xd33d29(0x12e)][_0xd33d29(0x151)]['wsEndpoint']=_0x26acae,_0x4be11e['workerInfo'][_0xd33d29(0x108)][_0xd33d29(0x12e)][_0xd33d29(0x151)][_0xd33d29(0x155)]=_0x26acae);}}}catch(_0x3eb207){logger[_0xd33d29(0x12a)](_0xd33d29(0x139)+util['format'](_0x3eb207));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a35_0x515ffd=a35_0x85a2;function a35_0x85a2(_0x387488,_0x7de620){const _0x4e707f=a35_0x4e70();return a35_0x85a2=function(_0x85a203,_0x490872){_0x85a203=_0x85a203-0x1eb;let _0x3f0ec9=_0x4e707f[_0x85a203];return _0x3f0ec9;},a35_0x85a2(_0x387488,_0x7de620);}(function(_0x57799b,_0x29c109){const _0x2977fe=a35_0x85a2,_0x26edfc=_0x57799b();while(!![]){try{const _0x47cd65=parseInt(_0x2977fe(0x268))/0x1+-parseInt(_0x2977fe(0x245))/0x2+parseInt(_0x2977fe(0x21f))/0x3*(parseInt(_0x2977fe(0x231))/0x4)+parseInt(_0x2977fe(0x1f6))/0x5*(-parseInt(_0x2977fe(0x222))/0x6)+-parseInt(_0x2977fe(0x23c))/0x7+-parseInt(_0x2977fe(0x27e))/0x8+parseInt(_0x2977fe(0x276))/0x9;if(_0x47cd65===_0x29c109)break;else _0x26edfc['push'](_0x26edfc['shift']());}catch(_0x27e95a){_0x26edfc['push'](_0x26edfc['shift']());}}}(a35_0x4e70,0xe7d3f));const fs=require('fs'),path=require(a35_0x515ffd(0x292)),{spawn}=require(a35_0x515ffd(0x284)),{format}=require(a35_0x515ffd(0x258)),logger=require(a35_0x515ffd(0x22e))[a35_0x515ffd(0x24c)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a35_0x515ffd(0x23d)),utilities=require(a35_0x515ffd(0x23b)),constants=require(a35_0x515ffd(0x24d)),{FRAMEWORKS}=require(a35_0x515ffd(0x281)),{getConfigLoaderPath}=require(a35_0x515ffd(0x240)),{checkAccessibilityPlatformConfig}=require(a35_0x515ffd(0x28b)),{setAccessibilityCapabilities}=require(a35_0x515ffd(0x228)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a35_0x515ffd(0x1f0)),TestHubHandler=require(a35_0x515ffd(0x205)),PerformanceTester=require(a35_0x515ffd(0x218)),PerformanceEvents=require(a35_0x515ffd(0x28d))[a35_0x515ffd(0x288)],getUserPlaywrightConfig=async(_0x49c0a3,_0x13b342)=>{const _0x47d28f=a35_0x515ffd,_0x53709a={'gosEG':function(_0x5c936b){return _0x5c936b();},'kVfhO':function(_0x413553,_0x141477){return _0x413553(_0x141477);},'eVMyZ':_0x47d28f(0x277),'ydUJO':'--config='},_0x61aeef=!helper[_0x47d28f(0x1fe)](_0x49c0a3[_0x47d28f(0x232)]),_0x3aec56=_0x61aeef?path[_0x47d28f(0x293)](process[_0x47d28f(0x280)](),_0x49c0a3[_0x47d28f(0x232)]):process[_0x47d28f(0x280)](),{resolveConfigFile:_0x326153,resolveConfigLocation:_0x324f73}=helper[_0x47d28f(0x20b)]['apply'](null,_0x53709a[_0x47d28f(0x1f2)](getConfigLoaderPath)),_0x493af0=_0x326153?_0x53709a['kVfhO'](_0x326153,_0x3aec56):helper[_0x47d28f(0x28a)](_0x53709a[_0x47d28f(0x23f)](_0x324f73,_0x3aec56),[_0x53709a[_0x47d28f(0x290)]]),_0x6fcc5c={};if(_0x61aeef){const _0x5249ff=_0x13b342['findIndex'](_0x5488dc=>_0x5488dc===_0x47d28f(0x27a)||_0x5488dc==='-c'||_0x5488dc[_0x47d28f(0x243)](_0x47d28f(0x204)));_0x13b342['splice'](_0x5249ff,_0x13b342[_0x5249ff][_0x47d28f(0x243)](_0x53709a[_0x47d28f(0x1f8)])?0x1:0x2);}const _0x1c0e02={};return _0x1c0e02[_0x47d28f(0x292)]=_0x493af0,_0x1c0e02[_0x47d28f(0x232)]=_0x6fcc5c,_0x1c0e02;},handleO11yRerun=_0x5cc0b4=>{const _0x383d0f=a35_0x515ffd,_0xcdc7b0={};_0xcdc7b0[_0x383d0f(0x27b)]='--grep';const _0x5be8cd=_0xcdc7b0,_0x19b6a3=helper[_0x383d0f(0x266)](process[_0x383d0f(0x295)][_0x383d0f(0x239)]);if(_0x19b6a3){const _0x51b645=process[_0x383d0f(0x295)][_0x383d0f(0x221)],_0x40e223=[];if(helper[_0x383d0f(0x255)](_0x51b645)&&!helper[_0x383d0f(0x1fe)](_0x51b645)){_0x51b645[_0x383d0f(0x209)](',')['map'](_0x267b79=>{const _0x238833=_0x383d0f;_0x40e223['push']('('+_0x267b79[_0x238833(0x24b)]()+')');});const _0x1087fd='^'+_0x40e223[_0x383d0f(0x1f5)]('|')+'$';_0x5cc0b4[_0x383d0f(0x252)](_0x5be8cd[_0x383d0f(0x27b)],_0x1087fd);}}},spawnOriginalProcess=_0x449e8c=>{const _0x55f9db=a35_0x515ffd,_0x1ae834={'ZldVP':function(_0x1958da,_0x2a5dfd,_0x240034,_0x5730cf){return _0x1958da(_0x2a5dfd,_0x240034,_0x5730cf);},'oyNyF':'npx','YSixO':_0x55f9db(0x202),'pImSG':function(_0x625f9e,_0xf449ae){return _0x625f9e===_0xf449ae;},'MkjvV':'win32','nhWSX':_0x55f9db(0x233)};_0x1ae834['ZldVP'](spawn,_0x1ae834['oyNyF'],[_0x1ae834[_0x55f9db(0x253)],..._0x449e8c['slice'](0x1)],{'shell':_0x1ae834['pImSG'](process[_0x55f9db(0x242)],_0x1ae834[_0x55f9db(0x200)]),'stdio':_0x1ae834[_0x55f9db(0x21e)],'cwd':process[_0x55f9db(0x280)]()});},isTestCommand=(_0x5f2da1,_0x46e084)=>{const _0xee809e=a35_0x515ffd,_0x3de96a={};_0x3de96a['LErvP']=function(_0x34d65a,_0x362077){return _0x34d65a>_0x362077;},_0x3de96a[_0xee809e(0x203)]=function(_0x16f62d,_0xf034e7){return _0x16f62d===_0xf034e7;},_0x3de96a[_0xee809e(0x296)]=_0xee809e(0x1f3);const _0x526725=_0x3de96a;if(_0x526725[_0xee809e(0x286)](_0x46e084['length'],0x1)&&_0x526725[_0xee809e(0x203)](_0x46e084[0x1],_0x526725[_0xee809e(0x296)]))return!![];return![];};async function run(_0x120c77,_0x1e4cd3){const _0x334a05=a35_0x515ffd,_0x7d2bf3={'JaLDq':function(_0x440aac,_0x10bbe0){return _0x440aac(_0x10bbe0);},'CdwIf':_0x334a05(0x225),'IMsiB':_0x334a05(0x234),'xvIem':function(_0x550120,_0x590786){return _0x550120+_0x590786;},'imYsy':'Error\x20in\x20getting\x20funnel\x20data\x20results','rrVdC':function(_0xfb1432){return _0xfb1432();},'fJjbQ':function(_0x409711,_0x3122d1){return _0x409711+_0x3122d1;},'fTjPs':_0x334a05(0x287),'geurY':_0x334a05(0x219),'rTFlp':_0x334a05(0x20c),'KAwdv':function(_0x33c49f,_0x33b8cb){return _0x33c49f!=_0x33b8cb;},'klKmR':function(_0x2924c0,_0x1631f2,_0xa210f2){return _0x2924c0(_0x1631f2,_0xa210f2);},'qhxeM':function(_0x3e0a27,_0x7ec915){return _0x3e0a27(_0x7ec915);},'zcDKv':function(_0x5541ca,_0xcdf8c4){return _0x5541ca===_0xcdf8c4;},'Ncmen':_0x334a05(0x28e),'nykwh':function(_0xcc5ee1,_0x33b5c6){return _0xcc5ee1(_0x33b5c6);},'RrwTe':_0x334a05(0x224),'OQgBW':_0x334a05(0x1f9),'DBObO':'playwright-browserstack-sdk.config.js','UgWlF':function(_0x261ce0,_0x3ff91a){return _0x261ce0-_0x3ff91a;},'Dmydx':function(_0x1ac159,_0x3d5a5d){return _0x1ac159+_0x3d5a5d;},'HJbRP':'Updated\x20config\x20file\x20name\x20to\x20-\x20','PMunc':function(_0x3a2f3f,_0x2c3758){return _0x3a2f3f>_0x2c3758;},'SPJwH':function(_0x325fc9,_0x1e0026,_0x492081,_0x17f58a){return _0x325fc9(_0x1e0026,_0x492081,_0x17f58a);},'nqrez':_0x334a05(0x24e),'APSrA':'playwright','CrwEU':'test','MNZRs':_0x334a05(0x27a),'YdNsl':function(_0x7cd4b7,_0x27b1fd){return _0x7cd4b7===_0x27b1fd;},'lqlyJ':_0x334a05(0x1ff),'nygJz':_0x334a05(0x233),'DmqYM':_0x334a05(0x26c),'kmYQO':'--disable-browserstack-automation','RgEPp':_0x334a05(0x27f),'OSoPJ':_0x334a05(0x210),'PLChe':function(_0x5d8f76,_0x50ae70){return _0x5d8f76>=_0x50ae70;},'oFyrz':'Error\x20in\x20deleting\x20playwright\x20results','ylfCe':function(_0x1e71b0,_0x58ab73){return _0x1e71b0(_0x58ab73);}};!helper[_0x334a05(0x26d)](process[_0x334a05(0x295)]['BROWSERSTACK_AUTOMATION'])&&(process[_0x334a05(0x295)][_0x334a05(0x1ec)]=!![]);process[_0x334a05(0x1fd)][_0x334a05(0x223)](_0x7d2bf3[_0x334a05(0x265)])&&(process[_0x334a05(0x295)][_0x334a05(0x1ec)]=_0x7d2bf3[_0x334a05(0x273)],_0x1e4cd3=_0x1e4cd3[_0x334a05(0x26e)](_0x31ba67=>_0x31ba67!=='--disable-browserstack-automation'));const _0x46f82d=_0x1e4cd3['indexOf'](_0x7d2bf3['OSoPJ']);_0x7d2bf3[_0x334a05(0x259)](_0x46f82d,0x0)&&(process[_0x334a05(0x295)][_0x334a05(0x294)]=_0x7d2bf3[_0x334a05(0x273)],_0x1e4cd3=_0x1e4cd3['filter'](_0x12e67a=>_0x12e67a!=='--disable-test-observability'));try{const _0x3612a3=path[_0x334a05(0x1f5)](helper[_0x334a05(0x20d)](),_0x7d2bf3[_0x334a05(0x27d)],_0x7d2bf3[_0x334a05(0x1f1)]);fs['existsSync'](_0x3612a3)&&fs[_0x334a05(0x272)](_0x3612a3);}catch(_0x556c6c){logger[_0x334a05(0x247)](_0x7d2bf3['fJjbQ'](_0x7d2bf3[_0x334a05(0x20e)],_0x556c6c));}if(!_0x7d2bf3['klKmR'](isTestCommand,_0x120c77,_0x1e4cd3)){_0x7d2bf3[_0x334a05(0x22b)](spawnOriginalProcess,_0x1e4cd3);return;}const _0x1576b7=new BrowserStackSetup(_0x120c77,FRAMEWORKS['PLAYWRIGHT']);await PerformanceTester[_0x334a05(0x238)](PerformanceEvents[_0x334a05(0x248)],async()=>{const _0x33a670=_0x334a05,_0x1d208c={'ThtRI':function(_0x4afaa3,_0x20ff3e){const _0x348eda=a35_0x85a2;return _0x7d2bf3[_0x348eda(0x226)](_0x4afaa3,_0x20ff3e);},'NWqOo':_0x7d2bf3['CdwIf'],'drRfi':_0x7d2bf3['IMsiB'],'exium':function(_0xf16dee,_0x310c56){const _0x23cb5a=a35_0x85a2;return _0x7d2bf3[_0x23cb5a(0x289)](_0xf16dee,_0x310c56);},'csbDM':_0x7d2bf3[_0x33a670(0x261)],'DzTqh':function(_0x2482a8){const _0x44102c=_0x33a670;return _0x7d2bf3[_0x44102c(0x241)](_0x2482a8);},'RaKzg':function(_0x367665){const _0x52f845=_0x33a670;return _0x7d2bf3[_0x52f845(0x241)](_0x367665);},'lcEXP':function(_0x317d6d,_0x3cf8a4){const _0x124732=_0x33a670;return _0x7d2bf3[_0x124732(0x21a)](_0x317d6d,_0x3cf8a4);},'QYlLN':_0x7d2bf3[_0x33a670(0x271)]};if(!_0x1576b7[_0x33a670(0x232)]){logger[_0x33a670(0x285)](_0x7d2bf3[_0x33a670(0x257)]);return;}await _0x1576b7[_0x33a670(0x25e)]();!helper[_0x33a670(0x1fe)](_0x1576b7[_0x33a670(0x227)])&&_0x1576b7[_0x33a670(0x227)][_0x33a670(0x25a)](_0x7d2bf3[_0x33a670(0x211)])&&(process[_0x33a670(0x295)][_0x33a670(0x1ec)]=_0x1576b7[_0x33a670(0x227)][_0x33a670(0x1eb)](_0x7d2bf3['rTFlp'])||!![]);_0x7d2bf3[_0x33a670(0x1fc)](_0x1576b7[_0x33a670(0x232)][_0x33a670(0x21b)],null)&&!helper['isTrue'](process[_0x33a670(0x295)][_0x33a670(0x294)])&&(process[_0x33a670(0x295)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x33a670(0x295)][_0x33a670(0x294)]||_0x1576b7['config'][_0x33a670(0x21b)]);const _0x3deea2=!helper[_0x33a670(0x26d)](process[_0x33a670(0x295)][_0x33a670(0x294)]);let _0x3204c3=![];_0x1576b7[_0x33a670(0x232)]['accessibility']&&(_0x3204c3=!![],process['env'][_0x33a670(0x215)]=_0x1576b7[_0x33a670(0x232)]['accessibility']);_0x1576b7[_0x33a670(0x232)]['accessibilityOptions']&&(process['env'][_0x33a670(0x28c)]=JSON[_0x33a670(0x1ed)](_0x1576b7[_0x33a670(0x232)]['accessibilityOptions']));const _0x4ce69b=_0x1e4cd3['concat'](),_0x3cf982=await _0x7d2bf3[_0x33a670(0x230)](getUserPlaywrightConfig,_0x120c77,_0x1e4cd3);if(helper[_0x33a670(0x1fe)](_0x3cf982)){_0x7d2bf3[_0x33a670(0x269)](spawnOriginalProcess,_0x4ce69b);return;}const _0xa82440=_0x3cf982[_0x33a670(0x292)]?path[_0x33a670(0x274)](_0x3cf982[_0x33a670(0x292)]):process[_0x33a670(0x280)]();process['env'][_0x33a670(0x22c)]=_0xa82440,await PerformanceTester[_0x33a670(0x238)](PerformanceEvents[_0x33a670(0x260)],async()=>{const _0xec3ad6=_0x33a670;await TestHubHandler[_0xec3ad6(0x206)](FRAMEWORKS[_0xec3ad6(0x283)],_0x1576b7),_0x3deea2&&_0x1d208c['ThtRI'](handleO11yRerun,_0x1e4cd3);})();let _0x3f5daf=_0x7d2bf3[_0x33a670(0x254)](process[_0x33a670(0x295)][_0x33a670(0x215)],_0x7d2bf3['Ncmen']);_0x3f5daf=_0x3f5daf||_0x7d2bf3[_0x33a670(0x282)](checkAccessibilityPlatformConfig,_0x1576b7['config']),process[_0x33a670(0x295)][_0x33a670(0x215)]=_0x3f5daf;_0x3f5daf&&_0x7d2bf3[_0x33a670(0x282)](setAccessibilityCapabilities,_0x1576b7[_0x33a670(0x232)]);const _0x1d7e70=path[_0x33a670(0x1f5)](_0x3cf982[_0x33a670(0x292)]?path[_0x33a670(0x274)](_0x3cf982['path']):process[_0x33a670(0x280)](),_0x7d2bf3[_0x33a670(0x249)]);fs['writeFileSync'](_0x1d7e70,helper[_0x33a670(0x21d)](_0x1576b7[_0x33a670(0x232)])),process[_0x33a670(0x295)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x1d7e70,helper[_0x33a670(0x24a)]();let _0x8aee2e='';_0x7d2bf3[_0x33a670(0x254)](helper[_0x33a670(0x24f)](),constants[_0x33a670(0x26b)][_0x33a670(0x275)])?_0x8aee2e=_0x7d2bf3['OQgBW']:_0x8aee2e=_0x7d2bf3[_0x33a670(0x21c)];let _0xb7dac3='';if(helper[_0x33a670(0x270)](_0x3cf982[_0x33a670(0x292)])){_0xb7dac3=_0x33a670(0x244);const _0xab4d93=_0x8aee2e[_0x33a670(0x209)]('.');_0xab4d93[_0x7d2bf3['UgWlF'](_0xab4d93[_0x33a670(0x26a)],0x1)]='ts',_0x8aee2e=_0xab4d93[_0x33a670(0x1f5)]('.'),logger['debug'](_0x7d2bf3[_0x33a670(0x207)](_0x7d2bf3[_0x33a670(0x20a)],_0x8aee2e));}else _0xb7dac3=_0x33a670(0x213);const _0x2b4d84=path['join'](_0x3cf982[_0x33a670(0x292)]?path[_0x33a670(0x274)](_0x3cf982['path']):process['cwd'](),_0x8aee2e);let _0xdc7420=_0x3cf982[_0x33a670(0x292)]?_0x3cf982[_0x33a670(0x292)]:'';_0xdc7420=_0x7d2bf3[_0x33a670(0x263)](_0xdc7420[_0x33a670(0x26a)],0x0)?path[_0x33a670(0x293)](_0xdc7420):'',process[_0x33a670(0x295)][_0x33a670(0x25b)]=_0xdc7420;const _0x272ebd=helper[_0x33a670(0x1fb)](_0x1576b7[_0x33a670(0x232)]);_0x272ebd&&(_0xb7dac3=_0x7d2bf3[_0x33a670(0x21a)](_0x33a670(0x22a)+_0x272ebd+_0x33a670(0x278),_0xb7dac3));helper[_0x33a670(0x1ef)]({},_0x1e4cd3),fs[_0x33a670(0x20f)](_0x2b4d84,_0xb7dac3),PerformanceTester[_0x33a670(0x291)](PerformanceEvents[_0x33a670(0x246)]);const _0x2d9238=_0x7d2bf3[_0x33a670(0x208)](spawn,_0x7d2bf3[_0x33a670(0x220)],[_0x7d2bf3[_0x33a670(0x201)],_0x7d2bf3[_0x33a670(0x214)],_0x7d2bf3[_0x33a670(0x22d)],_0x2b4d84,..._0x1e4cd3[_0x33a670(0x237)](0x2)],{'shell':_0x7d2bf3[_0x33a670(0x262)](process[_0x33a670(0x242)],_0x7d2bf3['lqlyJ']),'stdio':_0x7d2bf3['nygJz'],'cwd':process[_0x33a670(0x280)](),'env':Object[_0x33a670(0x229)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x33a670(0x1f4)](_0x120c77),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x1576b7[_0x33a670(0x232)][_0x33a670(0x28f)][_0x33a670(0x212)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x1576b7[_0x33a670(0x232)][_0x33a670(0x28f)][_0x33a670(0x235)],'BROWSERSTACK_LOG_LEVEL':_0x1576b7['config'][_0x33a670(0x251)]})}),_0x1ddb27=()=>{const _0x155c4f=_0x33a670;try{const _0x13478c=path[_0x155c4f(0x1f5)](helper[_0x155c4f(0x20d)](),_0x1d208c[_0x155c4f(0x256)],_0x1d208c[_0x155c4f(0x279)]);if(fs[_0x155c4f(0x22f)](_0x13478c)){let _0x4006be=fs[_0x155c4f(0x267)](_0x13478c);_0x4006be=JSON[_0x155c4f(0x236)](_0x4006be),_0x1576b7[_0x155c4f(0x25d)]=_0x4006be,fs['unlinkSync'](_0x13478c);}}catch(_0x585c1d){logger[_0x155c4f(0x247)](_0x1d208c['exium'](_0x1d208c[_0x155c4f(0x1fa)],_0x585c1d));}};_0x2d9238['on'](_0x7d2bf3[_0x33a670(0x25f)],async _0x80aaf4=>{const _0x16eb41=_0x33a670,_0x5db8f8={};_0x5db8f8[_0x16eb41(0x25c)]=_0x1d208c[_0x16eb41(0x256)];const _0x2852fb=_0x5db8f8;try{PerformanceTester[_0x16eb41(0x23e)](PerformanceEvents['SDK_CLEANUP']),_0x1d208c['DzTqh'](_0x1ddb27),await TestHubHandler[_0x16eb41(0x1f7)](),TestDetails[_0x16eb41(0x217)](),_0x1d208c[_0x16eb41(0x264)](printBuildLink),await utilities[_0x16eb41(0x1ee)](_0x1576b7),process['exitCode']=_0x80aaf4,logger[_0x16eb41(0x247)](_0x16eb41(0x23a)+_0x80aaf4),logger[_0x16eb41(0x216)](_0x16eb41(0x27c)+_0x2b4d84),fs['unlinkSync'](_0x2b4d84);fs[_0x16eb41(0x22f)](_0x1d7e70)&&(logger[_0x16eb41(0x247)](_0x16eb41(0x27c)+_0x1d7e70),fs[_0x16eb41(0x272)](_0x1d7e70));const _0x25e2e5=fs[_0x16eb41(0x26f)](path[_0x16eb41(0x1f5)](helper['homedir'](),_0x1d208c[_0x16eb41(0x256)]))['filter'](_0xaff863=>_0xaff863['startsWith']('trace_'));_0x25e2e5[_0x16eb41(0x250)](_0x15792e=>{const _0x53b727=_0x16eb41;fs[_0x53b727(0x272)](path[_0x53b727(0x1f5)](helper[_0x53b727(0x20d)](),_0x2852fb[_0x53b727(0x25c)],_0x15792e));});}catch(_0x2e5630){logger[_0x16eb41(0x247)](_0x1d208c['lcEXP'](_0x1d208c['QYlLN'],_0x2e5630));}});})();}module['exports']=run;function a35_0x4e70(){const _0x20861a=['pw_result.json','skipSessionName','parse','slice','measureWrapper','BROWSERSTACK_RERUN','Playwright\x20process\x20exited\x20with\x20code\x20','../../helpers/utilities','1115996JZzXYN','../../helpers/helper','start','kVfhO','./reporter/pwUtils','rrVdC','platform','startsWith','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','1183162HBqQrh','SDK_SETUP','debug','SDK_PRE_INITIALIZE','RrwTe','clearTempPWConfig','trim','winstonLogger','../utils/constants','npx','getPackageType','forEach','logLevel','push','YSixO','zcDKv','validateRerunTestList','NWqOo','geurY','util','PLChe','has','USER_CONFIG_DETAILS_PATH','hiRSJ','errorMessage','initialize','DmqYM','SDK_POST_INITIALIZE','imYsy','YdNsl','PMunc','RaKzg','kmYQO','isTrue','readFileSync','624384kjhtyK','qhxeM','length','PACKAGE_TYPE','close','isFalse','filter','readdirSync','isTypescriptProject','fTjPs','unlinkSync','RgEPp','dirname','MODULE','15856776YGgetJ','resolvedConfigFile','\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();','drRfi','--config','gBsyn','Deleting\x20','CdwIf','5350760HTFtnD','false','cwd','../../helpers/test-observability/constants','nykwh','PLAYWRIGHT','child_process','error','LErvP','Error\x20in\x20closing\x20playwright','EVENTS','xvIem','nestedKeyValue','../../helpers/accessibility-automation/helper','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../../helpers/performance/constants','true','testContextOptions','eVMyZ','end','path','resolve','BROWSERSTACK_TEST_OBSERVABILITY','env','BGwwo','get','BROWSERSTACK_AUTOMATION','stringify','finalExecution','filterBrowserstackArgs','./reporter/test-details','IMsiB','gosEG','test','getConfigPath','join','445bHMIgf','stop','ydUJO','playwright-browserstack-sdk.config.cjs','csbDM','getProxyUrl','KAwdv','argv','isUndefined','win32','MkjvV','APSrA','playwright','raGSe','--config=','../../helpers/testhub/testhubHandler','launchBuild','Dmydx','SPJwH','split','HJbRP','requirePWModule','automation','homedir','oFyrz','writeFileSync','--disable-test-observability','rTFlp','skipSessionStatus','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','CrwEU','BROWSERSTACK_TEST_ACCESSIBILITY_YML','info','shutdown','../../helpers/performance/performance-tester','BrowserStack\x20config\x20file\x20not\x20found.','fJjbQ','testObservability','DBObO','serializeToYamlString','nhWSX','3QLbMTh','nqrez','BROWSERSTACK_RERUN_TESTS','24216dREgtC','includes','browserstackSetupConfig.json','.browserstack','JaLDq','cliConfig','./accessibility-helper','assign','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','ylfCe','BROWSERSTACK_PW_CONFIG_DIR','MNZRs','../../helpers/logger','existsSync','klKmR','1369508vegiKL','config','inherit'];a35_0x4e70=function(){return _0x20861a;};return a35_0x4e70();}
2
+ 'use strict';const a35_0x23546d=a35_0x11b5;(function(_0x5d8a0d,_0x1717ff){const _0x554aa8=a35_0x11b5,_0x400d85=_0x5d8a0d();while(!![]){try{const _0x384e08=-parseInt(_0x554aa8(0x1b0))/0x1+-parseInt(_0x554aa8(0x14b))/0x2*(-parseInt(_0x554aa8(0x1ba))/0x3)+-parseInt(_0x554aa8(0x1c1))/0x4+parseInt(_0x554aa8(0x1db))/0x5*(-parseInt(_0x554aa8(0x16e))/0x6)+parseInt(_0x554aa8(0x1d2))/0x7*(parseInt(_0x554aa8(0x14e))/0x8)+parseInt(_0x554aa8(0x180))/0x9+parseInt(_0x554aa8(0x1bd))/0xa*(parseInt(_0x554aa8(0x1e7))/0xb);if(_0x384e08===_0x1717ff)break;else _0x400d85['push'](_0x400d85['shift']());}catch(_0x1b79b5){_0x400d85['push'](_0x400d85['shift']());}}}(a35_0x5e87,0xdf47f));const fs=require('fs'),path=require(a35_0x23546d(0x1cd)),{spawn}=require('child_process'),{format}=require(a35_0x23546d(0x172)),logger=require('../../helpers/logger')[a35_0x23546d(0x1f1)],{default:BrowserStackSetup}=require(a35_0x23546d(0x1b1)),helper=require(a35_0x23546d(0x1f2)),utilities=require(a35_0x23546d(0x161)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a35_0x23546d(0x168)),{getConfigLoaderPath}=require(a35_0x23546d(0x198)),{checkAccessibilityPlatformConfig}=require(a35_0x23546d(0x183)),{setAccessibilityCapabilities}=require(a35_0x23546d(0x190)),{printBuildLink}=require(a35_0x23546d(0x15f)),TestDetails=require(a35_0x23546d(0x158)),TestHubHandler=require(a35_0x23546d(0x178)),PerformanceTester=require(a35_0x23546d(0x1ac)),PerformanceEvents=require(a35_0x23546d(0x164))[a35_0x23546d(0x167)],getUserPlaywrightConfig=async(_0x45a24,_0x185297)=>{const _0x51ce76=a35_0x23546d,_0x2c8cfc={'Jyifi':function(_0x1fbf56){return _0x1fbf56();},'fTDbd':function(_0x2608a5,_0x1a61b8){return _0x2608a5(_0x1a61b8);},'QtiIk':function(_0x96620e,_0x49be53){return _0x96620e(_0x49be53);},'PomeY':_0x51ce76(0x18a),'TpQRI':_0x51ce76(0x1d4)},_0x2b96c8=!helper[_0x51ce76(0x169)](_0x45a24['config']),_0x366c28=_0x2b96c8?path['resolve'](process['cwd'](),_0x45a24[_0x51ce76(0x1d5)]):process[_0x51ce76(0x162)](),{resolveConfigFile:_0x44ba2e,resolveConfigLocation:_0x32b7c6}=helper[_0x51ce76(0x1b7)][_0x51ce76(0x1d0)](null,_0x2c8cfc[_0x51ce76(0x1c9)](getConfigLoaderPath)),_0x24a8e6=_0x44ba2e?_0x2c8cfc[_0x51ce76(0x14d)](_0x44ba2e,_0x366c28):helper[_0x51ce76(0x173)](_0x2c8cfc[_0x51ce76(0x1e3)](_0x32b7c6,_0x366c28),[_0x2c8cfc[_0x51ce76(0x197)]]),_0x3016cb={};if(_0x2b96c8){const _0x1f5964=_0x185297['findIndex'](_0x3a7440=>_0x3a7440==='--config'||_0x3a7440==='-c'||_0x3a7440[_0x51ce76(0x14f)]('--config='));_0x185297['splice'](_0x1f5964,_0x185297[_0x1f5964][_0x51ce76(0x14f)](_0x2c8cfc['TpQRI'])?0x1:0x2);}const _0x9bce7b={};return _0x9bce7b[_0x51ce76(0x1cd)]=_0x24a8e6,_0x9bce7b[_0x51ce76(0x1d5)]=_0x3016cb,_0x9bce7b;},handleO11yRerun=_0x54b912=>{const _0x4a3ed0=a35_0x23546d,_0x1144bb={};_0x1144bb[_0x4a3ed0(0x1b5)]=_0x4a3ed0(0x19d);const _0xd19979=_0x1144bb,_0x492bf7=helper[_0x4a3ed0(0x150)](process[_0x4a3ed0(0x16f)][_0x4a3ed0(0x16b)]);if(_0x492bf7){const _0xbc3204=process[_0x4a3ed0(0x16f)][_0x4a3ed0(0x1a6)],_0x1ce0bc=[];if(helper['validateRerunTestList'](_0xbc3204)&&!helper[_0x4a3ed0(0x169)](_0xbc3204)){_0xbc3204[_0x4a3ed0(0x1e2)](',')[_0x4a3ed0(0x1cc)](_0x46a9e1=>{const _0x984b43=_0x4a3ed0;_0x1ce0bc['push']('('+_0x46a9e1[_0x984b43(0x1bc)]()+')');});const _0x34a1ac='^'+_0x1ce0bc['join']('|')+'$';_0x54b912[_0x4a3ed0(0x1d1)](_0xd19979[_0x4a3ed0(0x1b5)],_0x34a1ac);}}},spawnOriginalProcess=_0x210ead=>{const _0x20b5f7=a35_0x23546d,_0x5947a6={'tayIJ':function(_0x15e657,_0x4648f0,_0x4a715a,_0x49a0d7){return _0x15e657(_0x4648f0,_0x4a715a,_0x49a0d7);},'EwAGr':_0x20b5f7(0x195),'fhMTC':_0x20b5f7(0x165),'kopAY':function(_0x3a2414,_0x38f8d0){return _0x3a2414===_0x38f8d0;},'giUkO':_0x20b5f7(0x17e),'NnrzW':_0x20b5f7(0x17d)};_0x5947a6['tayIJ'](spawn,_0x5947a6[_0x20b5f7(0x1b2)],[_0x5947a6[_0x20b5f7(0x1f3)],..._0x210ead[_0x20b5f7(0x163)](0x1)],{'shell':_0x5947a6[_0x20b5f7(0x157)](process['platform'],_0x5947a6[_0x20b5f7(0x1ee)]),'stdio':_0x5947a6[_0x20b5f7(0x1de)],'cwd':process[_0x20b5f7(0x162)]()});},isTestCommand=(_0x2828cb,_0x57c89a)=>{const _0x25f6e4=a35_0x23546d,_0x5c3124={};_0x5c3124[_0x25f6e4(0x14a)]=function(_0x3e3416,_0x915940){return _0x3e3416>_0x915940;},_0x5c3124[_0x25f6e4(0x1ed)]=function(_0x2ef56d,_0x5f449c){return _0x2ef56d===_0x5f449c;},_0x5c3124['aznmX']=_0x25f6e4(0x15d);const _0x7a284d=_0x5c3124;if(_0x7a284d['DMAHX'](_0x57c89a[_0x25f6e4(0x194)],0x1)&&_0x7a284d[_0x25f6e4(0x1ed)](_0x57c89a[0x1],_0x7a284d['aznmX']))return!![];return![];};function a35_0x5e87(){const _0x39da93=['resolvedConfigFile','error','assign','get','concat','info','./accessibility-helper','getConfigPath','exports','TYjrB','length','npx','EjFLG','PomeY','./reporter/pwUtils','BROWSERSTACK_TEST_OBSERVABILITY','suIYF','getProxyUrl','isFalse','--grep','suNnX','jYmtz','PACKAGE_TYPE','MODULE','CbQAF','Deleting\x20','debug','BrowserStack\x20config\x20file\x20not\x20found.','BROWSERSTACK_RERUN_TESTS','true','platform','existsSync','automation','pw_result.json','../../helpers/performance/performance-tester','OKGEG','xPzGQ','writeFileSync','326617DBrHPH','../../helpers/BrowserStackSetup','EwAGr','--config','launchBuild','ZwQGG','accessibility','requirePWModule','fgQBf','ZOZvZ','15GFLYwc','resolve','trim','850igjcds','playwright-browserstack-sdk.config.js','voRJT','--disable-test-observability','1839276TxIopm','BROWSERSTACK_PW_CONFIG_DIR','.browserstack','ZOkuI','LUzSV','exitCode','BROWSERSTACK_TEST_ACCESSIBILITY_YML','stop','Jyifi','fTnGQ','BROWSERSTACK_AUTOMATION','map','path','qCWxO','bzwOj','apply','push','14rdEZam','false','--config=','config','cliConfig','getPackageType','finalExecution','end','ezYld','38145LFKxgl','initialize','filter','NnrzW','Playwright\x20process\x20exited\x20with\x20code\x20','WPkvw','cPfri','split','QtiIk','measureWrapper','Updated\x20config\x20file\x20name\x20to\x20-\x20','readdirSync','206789KSUljv','TCLPt','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','rAeVm','aubjR','htxqZ','fkZuk','giUkO','shutdown','SrYTd','winstonLogger','../../helpers/helper','fhMTC','forEach','homedir','errorMessage','SDK_SETUP','ZMlME','Error\x20in\x20deleting\x20playwright\x20results','FjNWb','SDK_CLEANUP','DMAHX','270342ZuJpcb','testContextOptions','fTDbd','802072qXXxbz','startsWith','isTrue','logLevel','accessibilityOptions','dirname','YZOEB','clearTempPWConfig','argv','kopAY','./reporter/test-details','indexOf','playwright-browserstack-sdk.config.cjs','ueBaY','isTypescriptProject','test','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','../../helpers/test-observability/utils','USER_CONFIG_DETAILS_PATH','../../helpers/utilities','cwd','slice','../../helpers/performance/constants','playwright','unlinkSync','EVENTS','../../helpers/test-observability/constants','isUndefined','PLAYWRIGHT','BROWSERSTACK_RERUN','SDK_POST_INITIALIZE','uwNTu','1182DuNbMO','env','BzyNG','skipSessionStatus','util','nestedKeyValue','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','--disable-browserstack-automation','Error\x20in\x20getting\x20funnel\x20data\x20results','YBpyS','../../helpers/testhub/testhubHandler','vhiGw','UReyu','join','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','inherit','win32','BROWSERSTACK_SETUP_CONFIG_PATH','6566580QNhzRc','cfvzo','testObservability','../../helpers/accessibility-automation/helper','serializeToYamlString','UkmfL','SDK_PRE_INITIALIZE','aeuoZ','oVdPA','AcJVA'];a35_0x5e87=function(){return _0x39da93;};return a35_0x5e87();}function a35_0x11b5(_0x18ccf4,_0x4542ad){const _0x5e8711=a35_0x5e87();return a35_0x11b5=function(_0x11b556,_0x382c82){_0x11b556=_0x11b556-0x14a;let _0x5064c0=_0x5e8711[_0x11b556];return _0x5064c0;},a35_0x11b5(_0x18ccf4,_0x4542ad);}async function run(_0x12c617,_0x5a50ab){const _0x15e964=a35_0x23546d,_0x4d2d28={'CbQAF':function(_0x414a24,_0x13b4a6){return _0x414a24(_0x13b4a6);},'suNnX':_0x15e964(0x1c3),'OKGEG':_0x15e964(0x1ab),'BzyNG':function(_0x1aaa1e,_0x26bcf7){return _0x1aaa1e+_0x26bcf7;},'TCLPt':_0x15e964(0x176),'rAeVm':function(_0x29b437){return _0x29b437();},'oVdPA':function(_0x2e348a){return _0x2e348a();},'LUzSV':function(_0x3a8425,_0x16bd7d){return _0x3a8425+_0x16bd7d;},'uELil':'Error\x20in\x20closing\x20playwright','aubjR':_0x15e964(0x1a5),'qCWxO':_0x15e964(0x1aa),'EjFLG':function(_0x1dd452,_0x56d443){return _0x1dd452!=_0x56d443;},'htxqZ':function(_0x421217,_0x129d5f,_0xea9b7b){return _0x421217(_0x129d5f,_0xea9b7b);},'YZOEB':function(_0x44398f,_0x388a72){return _0x44398f(_0x388a72);},'AcJVA':function(_0x15b563,_0x528a6f){return _0x15b563===_0x528a6f;},'suIYF':_0x15e964(0x1a7),'ZMlME':function(_0x76e2da,_0x4b00b0){return _0x76e2da(_0x4b00b0);},'vhiGw':'browserstackSetupConfig.json','ZOkuI':_0x15e964(0x15a),'ROedP':_0x15e964(0x1be),'dSqBI':function(_0xc44dd5,_0x4d4938){return _0xc44dd5-_0x4d4938;},'FjNWb':_0x15e964(0x1e5),'QOJxD':function(_0x174d67,_0x586b29){return _0x174d67>_0x586b29;},'cPfri':function(_0x494c89,_0x4bcf9e){return _0x494c89+_0x4bcf9e;},'bzwOj':function(_0x5038f5,_0x5f4cb6,_0x526297,_0x10b3dd){return _0x5038f5(_0x5f4cb6,_0x526297,_0x10b3dd);},'aokFJ':_0x15e964(0x195),'ezYld':_0x15e964(0x165),'UkmfL':_0x15e964(0x15d),'jYmtz':_0x15e964(0x1b3),'fgQBf':_0x15e964(0x17e),'BwqDX':_0x15e964(0x17d),'xPzGQ':'close','aeuoZ':_0x15e964(0x175),'voRJT':_0x15e964(0x1d3),'ueBaY':_0x15e964(0x1c0),'uwNTu':function(_0x3dd67f,_0x2eecc2){return _0x3dd67f>=_0x2eecc2;},'YBpyS':_0x15e964(0x1f9),'TYjrB':function(_0x382aad,_0x2a925d,_0x1d3974){return _0x382aad(_0x2a925d,_0x1d3974);}};!helper['isFalse'](process[_0x15e964(0x16f)][_0x15e964(0x1cb)])&&(process[_0x15e964(0x16f)][_0x15e964(0x1cb)]=!![]);process[_0x15e964(0x156)]['includes'](_0x4d2d28[_0x15e964(0x187)])&&(process[_0x15e964(0x16f)][_0x15e964(0x1cb)]=_0x4d2d28['voRJT'],_0x5a50ab=_0x5a50ab[_0x15e964(0x1dd)](_0x13211f=>_0x13211f!==_0x15e964(0x175)));const _0x9e095a=_0x5a50ab[_0x15e964(0x159)](_0x4d2d28[_0x15e964(0x15b)]);_0x4d2d28[_0x15e964(0x16d)](_0x9e095a,0x0)&&(process[_0x15e964(0x16f)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x4d2d28[_0x15e964(0x1bf)],_0x5a50ab=_0x5a50ab['filter'](_0x5ef9d6=>_0x5ef9d6!==_0x15e964(0x1c0)));try{const _0x4f5724=path[_0x15e964(0x17b)](helper[_0x15e964(0x1f5)](),_0x4d2d28[_0x15e964(0x19e)],_0x4d2d28[_0x15e964(0x1ad)]);fs[_0x15e964(0x1a9)](_0x4f5724)&&fs['unlinkSync'](_0x4f5724);}catch(_0x59738e){logger['debug'](_0x4d2d28[_0x15e964(0x1e1)](_0x4d2d28[_0x15e964(0x177)],_0x59738e));}if(!_0x4d2d28[_0x15e964(0x193)](isTestCommand,_0x12c617,_0x5a50ab)){_0x4d2d28[_0x15e964(0x1a2)](spawnOriginalProcess,_0x5a50ab);return;}const _0x171cdb=new BrowserStackSetup(_0x12c617,FRAMEWORKS[_0x15e964(0x16a)]);await PerformanceTester[_0x15e964(0x1e4)](PerformanceEvents[_0x15e964(0x186)],async()=>{const _0x589349=_0x15e964,_0x20c0ab={'sMGmJ':function(_0x5454c9,_0x4423a0){return _0x4d2d28['CbQAF'](_0x5454c9,_0x4423a0);},'ZOZvZ':_0x4d2d28['suNnX'],'UReyu':_0x4d2d28['OKGEG'],'cfvzo':function(_0x2c2930,_0x31bfbf){const _0x2b25d5=a35_0x11b5;return _0x4d2d28[_0x2b25d5(0x170)](_0x2c2930,_0x31bfbf);},'qjxqA':_0x4d2d28[_0x589349(0x1e8)],'fTnGQ':function(_0x2375ab){const _0x3e3ebc=_0x589349;return _0x4d2d28[_0x3e3ebc(0x1ea)](_0x2375ab);},'WPkvw':function(_0x104cd0){const _0x2beb36=_0x589349;return _0x4d2d28[_0x2beb36(0x188)](_0x104cd0);},'SjnqF':function(_0x193796,_0xad487){return _0x4d2d28['LUzSV'](_0x193796,_0xad487);},'SrYTd':_0x4d2d28['uELil']};if(!_0x171cdb[_0x589349(0x1d5)]){logger[_0x589349(0x18b)](_0x4d2d28[_0x589349(0x1eb)]);return;}await _0x171cdb[_0x589349(0x1dc)]();!helper[_0x589349(0x169)](_0x171cdb[_0x589349(0x1d6)])&&_0x171cdb[_0x589349(0x1d6)]['has'](_0x4d2d28[_0x589349(0x1ce)])&&(process[_0x589349(0x16f)][_0x589349(0x1cb)]=_0x171cdb[_0x589349(0x1d6)][_0x589349(0x18d)](_0x4d2d28[_0x589349(0x1ce)])||!![]);_0x4d2d28[_0x589349(0x196)](_0x171cdb[_0x589349(0x1d5)][_0x589349(0x182)],null)&&!helper[_0x589349(0x150)](process[_0x589349(0x16f)][_0x589349(0x199)])&&(process[_0x589349(0x16f)][_0x589349(0x199)]=process[_0x589349(0x16f)][_0x589349(0x199)]||_0x171cdb[_0x589349(0x1d5)][_0x589349(0x182)]);const _0x888dad=!helper[_0x589349(0x19c)](process[_0x589349(0x16f)][_0x589349(0x199)]);let _0x26b3cb=![];_0x171cdb[_0x589349(0x1d5)][_0x589349(0x1b6)]&&(_0x26b3cb=!![],process[_0x589349(0x16f)][_0x589349(0x1c7)]=_0x171cdb[_0x589349(0x1d5)][_0x589349(0x1b6)]);_0x171cdb['config'][_0x589349(0x152)]&&(process[_0x589349(0x16f)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x171cdb['config'][_0x589349(0x152)]));const _0x27f5e8=_0x5a50ab[_0x589349(0x18e)](),_0xff7a0a=await _0x4d2d28[_0x589349(0x1ec)](getUserPlaywrightConfig,_0x12c617,_0x5a50ab);if(helper[_0x589349(0x169)](_0xff7a0a)){_0x4d2d28[_0x589349(0x154)](spawnOriginalProcess,_0x27f5e8);return;}const _0x405dca=_0xff7a0a[_0x589349(0x1cd)]?path[_0x589349(0x153)](_0xff7a0a[_0x589349(0x1cd)]):process[_0x589349(0x162)]();process[_0x589349(0x16f)][_0x589349(0x1c2)]=_0x405dca,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x589349(0x16c)],async()=>{const _0x2cd1b2=_0x589349;await TestHubHandler[_0x2cd1b2(0x1b4)](FRAMEWORKS[_0x2cd1b2(0x16a)],_0x171cdb),_0x888dad&&_0x20c0ab['sMGmJ'](handleO11yRerun,_0x5a50ab);})();let _0x4fd91c=_0x4d2d28['AcJVA'](process['env'][_0x589349(0x1c7)],_0x4d2d28[_0x589349(0x19a)]);_0x4fd91c=_0x4fd91c||_0x4d2d28[_0x589349(0x154)](checkAccessibilityPlatformConfig,_0x171cdb['config']),process[_0x589349(0x16f)][_0x589349(0x1c7)]=_0x4fd91c;_0x4fd91c&&_0x4d2d28[_0x589349(0x1f8)](setAccessibilityCapabilities,_0x171cdb[_0x589349(0x1d5)]);const _0x1d8716=path[_0x589349(0x17b)](_0xff7a0a[_0x589349(0x1cd)]?path[_0x589349(0x153)](_0xff7a0a[_0x589349(0x1cd)]):process['cwd'](),_0x4d2d28[_0x589349(0x179)]);fs['writeFileSync'](_0x1d8716,helper[_0x589349(0x184)](_0x171cdb['config'])),process['env'][_0x589349(0x17f)]=_0x1d8716,helper[_0x589349(0x155)]();let _0x3ea739='';_0x4d2d28[_0x589349(0x189)](helper[_0x589349(0x1d7)](),constants[_0x589349(0x1a0)][_0x589349(0x1a1)])?_0x3ea739=_0x4d2d28[_0x589349(0x1c4)]:_0x3ea739=_0x4d2d28['ROedP'];let _0x5d00ce='';if(helper[_0x589349(0x15c)](_0xff7a0a['path'])){_0x5d00ce=_0x589349(0x17c);const _0x59f72b=_0x3ea739[_0x589349(0x1e2)]('.');_0x59f72b[_0x4d2d28['dSqBI'](_0x59f72b[_0x589349(0x194)],0x1)]='ts',_0x3ea739=_0x59f72b['join']('.'),logger[_0x589349(0x1a4)](_0x4d2d28[_0x589349(0x1c5)](_0x4d2d28[_0x589349(0x1fa)],_0x3ea739));}else _0x5d00ce=_0x589349(0x1e9);const _0x417c09=path[_0x589349(0x17b)](_0xff7a0a[_0x589349(0x1cd)]?path[_0x589349(0x153)](_0xff7a0a[_0x589349(0x1cd)]):process[_0x589349(0x162)](),_0x3ea739);let _0x3a6821=_0xff7a0a[_0x589349(0x1cd)]?_0xff7a0a[_0x589349(0x1cd)]:'';_0x3a6821=_0x4d2d28['QOJxD'](_0x3a6821[_0x589349(0x194)],0x0)?path[_0x589349(0x1bb)](_0x3a6821):'',process[_0x589349(0x16f)][_0x589349(0x160)]=_0x3a6821;const _0x1442a1=helper[_0x589349(0x19b)](_0x171cdb[_0x589349(0x1d5)]);_0x1442a1&&(_0x5d00ce=_0x4d2d28[_0x589349(0x1e1)](_0x589349(0x15e)+_0x1442a1+_0x589349(0x174),_0x5d00ce));helper['filterBrowserstackArgs']({},_0x5a50ab),fs[_0x589349(0x1af)](_0x417c09,_0x5d00ce),PerformanceTester[_0x589349(0x1d9)](PerformanceEvents[_0x589349(0x1f7)]);const _0x1439e1=_0x4d2d28[_0x589349(0x1cf)](spawn,_0x4d2d28['aokFJ'],[_0x4d2d28[_0x589349(0x1da)],_0x4d2d28[_0x589349(0x185)],_0x4d2d28[_0x589349(0x19f)],_0x417c09,..._0x5a50ab[_0x589349(0x163)](0x2)],{'shell':_0x4d2d28[_0x589349(0x189)](process[_0x589349(0x1a8)],_0x4d2d28[_0x589349(0x1b8)]),'stdio':_0x4d2d28['BwqDX'],'cwd':process[_0x589349(0x162)](),'env':Object[_0x589349(0x18c)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x589349(0x191)](_0x12c617),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x171cdb[_0x589349(0x1d5)][_0x589349(0x14c)][_0x589349(0x171)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x171cdb[_0x589349(0x1d5)][_0x589349(0x14c)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x171cdb[_0x589349(0x1d5)][_0x589349(0x151)]})}),_0x46f764=()=>{const _0x58d268=_0x589349;try{const _0x1757be=path['join'](helper[_0x58d268(0x1f5)](),_0x20c0ab['ZOZvZ'],_0x20c0ab[_0x58d268(0x17a)]);if(fs[_0x58d268(0x1a9)](_0x1757be)){let _0x5f56b6=fs['readFileSync'](_0x1757be);_0x5f56b6=JSON['parse'](_0x5f56b6),_0x171cdb[_0x58d268(0x1f6)]=_0x5f56b6,fs['unlinkSync'](_0x1757be);}}catch(_0x577ca0){logger[_0x58d268(0x1a4)](_0x20c0ab[_0x58d268(0x181)](_0x20c0ab['qjxqA'],_0x577ca0));}};_0x1439e1['on'](_0x4d2d28[_0x589349(0x1ae)],async _0x2be599=>{const _0x51db54=_0x589349;try{PerformanceTester['start'](PerformanceEvents[_0x51db54(0x1fb)]),_0x20c0ab[_0x51db54(0x1ca)](_0x46f764),await TestHubHandler[_0x51db54(0x1c8)](),TestDetails[_0x51db54(0x1ef)](),_0x20c0ab[_0x51db54(0x1e0)](printBuildLink),await utilities[_0x51db54(0x1d8)](_0x171cdb),process[_0x51db54(0x1c6)]=_0x2be599,logger['debug'](_0x51db54(0x1df)+_0x2be599),logger[_0x51db54(0x18f)](_0x51db54(0x1a3)+_0x417c09),fs[_0x51db54(0x166)](_0x417c09);fs[_0x51db54(0x1a9)](_0x1d8716)&&(logger[_0x51db54(0x1a4)](_0x51db54(0x1a3)+_0x1d8716),fs[_0x51db54(0x166)](_0x1d8716));const _0xc664eb=fs[_0x51db54(0x1e6)](path[_0x51db54(0x17b)](helper[_0x51db54(0x1f5)](),_0x20c0ab[_0x51db54(0x1b9)]))['filter'](_0x1212ec=>_0x1212ec[_0x51db54(0x14f)]('trace_'));_0xc664eb[_0x51db54(0x1f4)](_0x37e052=>{const _0x3eb934=_0x51db54;fs['unlinkSync'](path[_0x3eb934(0x17b)](helper[_0x3eb934(0x1f5)](),_0x20c0ab[_0x3eb934(0x1b9)],_0x37e052));});}catch(_0x348b52){logger[_0x51db54(0x1a4)](_0x20c0ab['SjnqF'](_0x20c0ab[_0x51db54(0x1f0)],_0x348b52));}});})();}module[a35_0x23546d(0x192)]=run;
@@ -1 +1 @@
1
- function a36_0x4ef3(){const _0x53f828=['poowm','66682GlPiaY','../../helpers/helper','../../helpers/test-observability/utils','format','isHandlePWErrorSet','24YBFjoP','Path\x20','error','XzvkN','PLAYWRIGHT','function','fork','bNoGW','843142wFLVEN','896592UJhsYa','lPwqk','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','resolve','./patches','43839LOawio','2448445rAYylf','BsRzo','util','winstonLogger','env','rCZzn','Call\x20to\x20child\x20fork\x20with\x20args\x20','child_process','4jGuOIO','requirePWModule','vvfio','890FGVAuA','../../helpers/test-observability/constants','xcsPp','./reporter/pwUtils','457702wxtuhg','includes','../../helpers/logger','xCZsf','compareVersions','exports','debug','uZvjw','toString','\x20is\x20not\x20found','config','1525698kiDiyZ','apply','mhHvF','FQjdj','1.33.0','vgess'];a36_0x4ef3=function(){return _0x53f828;};return a36_0x4ef3();}const a36_0x10b40f=a36_0x58df;(function(_0x4a9550,_0x3f3f38){const _0x355701=a36_0x58df,_0x1f2ade=_0x4a9550();while(!![]){try{const _0x14409b=-parseInt(_0x355701(0x1e1))/0x1+parseInt(_0x355701(0x200))/0x2+-parseInt(_0x355701(0x1ec))/0x3+-parseInt(_0x355701(0x20f))/0x4*(-parseInt(_0x355701(0x207))/0x5)+-parseInt(_0x355701(0x201))/0x6+-parseInt(_0x355701(0x1f3))/0x7*(-parseInt(_0x355701(0x1f8))/0x8)+-parseInt(_0x355701(0x206))/0x9*(-parseInt(_0x355701(0x212))/0xa);if(_0x14409b===_0x3f3f38)break;else _0x1f2ade['push'](_0x1f2ade['shift']());}catch(_0x1b0f18){_0x1f2ade['push'](_0x1f2ade['shift']());}}}(a36_0x4ef3,0x3ee79));const util=require(a36_0x10b40f(0x209)),child_process=require(a36_0x10b40f(0x20e)),{FRAMEWORKS}=require(a36_0x10b40f(0x213)),{getFrameworkVersion,debug}=require(a36_0x10b40f(0x1f5)),helper=require(a36_0x10b40f(0x1f4)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x10b40f(0x1e0)),{mockIsWorkerRedundant}=require(a36_0x10b40f(0x205)),logger=require(a36_0x10b40f(0x1e3))[a36_0x10b40f(0x20a)];function a36_0x58df(_0x1977e2,_0x568f7a){const _0x4ef3ad=a36_0x4ef3();return a36_0x58df=function(_0x58dfc8,_0x5af184){_0x58dfc8=_0x58dfc8-0x1e0;let _0x199fb7=_0x4ef3ad[_0x58dfc8];return _0x199fb7;},a36_0x58df(_0x1977e2,_0x568f7a);}module[a36_0x10b40f(0x1e6)]=async function(_0x41b9f3){const _0x11be67=a36_0x10b40f,_0x50c04f={'yXQIS':function(_0x1da443,_0x319a80){return _0x1da443(_0x319a80);},'BsRzo':function(_0x392dca){return _0x392dca();},'poowm':'./mock-process.js','lPwqk':function(_0x3f4d9e){return _0x3f4d9e();},'rCZzn':function(_0x58accf){return _0x58accf();},'uZvjw':function(_0x42a6a6,_0x3bdeea){return _0x42a6a6(_0x3bdeea);},'xCZsf':'Running\x20existing\x20global\x20setup','FQjdj':function(_0x18c9ff,_0x5989be){return _0x18c9ff(_0x5989be);},'vgess':function(_0x5f0eb9,_0x10db4b){return _0x5f0eb9>=_0x10db4b;},'bNoGW':_0x11be67(0x1f0),'mWlYY':function(_0x24dbaf,_0x34fed5,_0x2d7519){return _0x24dbaf(_0x34fed5,_0x2d7519);},'mhHvF':function(_0x5f246e,_0x4bdd32){return _0x5f246e!==_0x4bdd32;},'vvfio':_0x11be67(0x1fd),'xcsPp':'Not\x20able\x20to\x20import\x20globalSetup','XzvkN':function(_0x4954fd,_0x27e0a5){return _0x4954fd(_0x27e0a5);}},_0xd30d0c=child_process[_0x11be67(0x1fe)];if(helper[_0x11be67(0x1f7)]())try{_0x50c04f[_0x11be67(0x20c)](mockIsWorkerRedundant);}catch(_0xafd9ae){logger[_0x11be67(0x1e7)]('Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'+util[_0x11be67(0x1f6)](_0xafd9ae));}child_process[_0x11be67(0x1fe)]=function(){const _0x524ce1=_0x11be67;return _0x50c04f['yXQIS'](debug,_0x524ce1(0x20d)+arguments[0x0]),arguments[0x0][_0x524ce1(0x1e2)](_0x50c04f[_0x524ce1(0x208)](getForkProcessPath))?arguments[0x0]=require[_0x524ce1(0x204)](_0x50c04f[_0x524ce1(0x1f2)]):logger[_0x524ce1(0x1fa)](_0x524ce1(0x1f9)+_0x50c04f[_0x524ce1(0x202)](getForkProcessPath)+_0x524ce1(0x1ea)),_0xd30d0c[_0x524ce1(0x1ed)](null,arguments);};if(process['env'][_0x11be67(0x203)]){_0x50c04f[_0x11be67(0x1e8)](debug,_0x50c04f[_0x11be67(0x1e4)]);try{const {loadGlobalHook:_0x1cbfa5}=helper[_0x11be67(0x210)]['apply'](null,_0x50c04f['BsRzo'](getLoadUtilsPath)),_0x2e818a=_0x50c04f[_0x11be67(0x1ef)](getFrameworkVersion,FRAMEWORKS[_0x11be67(0x1fc)]);let _0x4f9864=_0x41b9f3;if(_0x50c04f[_0x11be67(0x1f1)](helper[_0x11be67(0x1e5)](_0x2e818a,_0x50c04f[_0x11be67(0x1ff)]),0x0)){const _0x247b06={};_0x247b06[_0x11be67(0x1eb)]=_0x41b9f3,_0x4f9864=_0x247b06;}const _0x5c0348=await _0x50c04f['mWlYY'](_0x1cbfa5,_0x4f9864,process[_0x11be67(0x20b)][_0x11be67(0x203)]);if(_0x50c04f[_0x11be67(0x1ee)](typeof _0x5c0348,_0x50c04f[_0x11be67(0x211)]))throw new Error(_0x50c04f[_0x11be67(0x214)]);return _0x5c0348[_0x11be67(0x1ed)](null,arguments);}catch(_0x328760){_0x50c04f[_0x11be67(0x1fb)](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x328760[_0x11be67(0x1e9)]());}}};
1
+ const a36_0x192072=a36_0x5232;function a36_0x59b3(){const _0x1c548d=['env','apply','10SiJWgF','PLAYWRIGHT','acFPO','385596RFyNIH','dPPch','vDmZZ','./mock-process.js','3116274KCbkVK','492529MdCbzR','requirePWModule','LIlCE','../../helpers/test-observability/utils','\x20is\x20not\x20found','../../helpers/test-observability/constants','format','gqGLx','toString','compareVersions','function','debug','1.33.0','child_process','error','570fPJpCF','includes','Path\x20','875416YrDFWf','889206wZXqLh','fork','resolve','FgPov','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','util','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','3enPdPC','259JXmPdw','231wuaVEY','iuCPO','9584AMZWCH','150426OQnGdA','tuhEY','TDhdJ','../../helpers/helper','cetcF'];a36_0x59b3=function(){return _0x1c548d;};return a36_0x59b3();}(function(_0x39eac1,_0x538792){const _0x45ba4d=a36_0x5232,_0x58c166=_0x39eac1();while(!![]){try{const _0x1ff058=-parseInt(_0x45ba4d(0x1b8))/0x1+-parseInt(_0x45ba4d(0x1cb))/0x2+-parseInt(_0x45ba4d(0x1d2))/0x3*(-parseInt(_0x45ba4d(0x1ca))/0x4)+parseInt(_0x45ba4d(0x1b0))/0x5*(parseInt(_0x45ba4d(0x1b7))/0x6)+-parseInt(_0x45ba4d(0x1d3))/0x7*(parseInt(_0x45ba4d(0x1d6))/0x8)+-parseInt(_0x45ba4d(0x1d7))/0x9*(-parseInt(_0x45ba4d(0x1c7))/0xa)+-parseInt(_0x45ba4d(0x1d4))/0xb*(parseInt(_0x45ba4d(0x1b3))/0xc);if(_0x1ff058===_0x538792)break;else _0x58c166['push'](_0x58c166['shift']());}catch(_0x988451){_0x58c166['push'](_0x58c166['shift']());}}}(a36_0x59b3,0x8744b));const util=require(a36_0x192072(0x1d0)),child_process=require(a36_0x192072(0x1c5)),{FRAMEWORKS}=require(a36_0x192072(0x1bd)),{getFrameworkVersion,debug}=require(a36_0x192072(0x1bb)),helper=require(a36_0x192072(0x1da)),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),{mockIsWorkerRedundant}=require('./patches'),logger=require('../../helpers/logger')['winstonLogger'];function a36_0x5232(_0x25657f,_0x31dc3d){const _0x59b324=a36_0x59b3();return a36_0x5232=function(_0x523211,_0x187743){_0x523211=_0x523211-0x1af;let _0x10ebd3=_0x59b324[_0x523211];return _0x10ebd3;},a36_0x5232(_0x25657f,_0x31dc3d);}module['exports']=async function(_0x473106){const _0x3d39fb=a36_0x192072,_0x17f09e={'cetcF':function(_0x1eb840,_0x4ab0de){return _0x1eb840(_0x4ab0de);},'LIlCE':function(_0x33f4e3){return _0x33f4e3();},'uIkXC':_0x3d39fb(0x1b6),'gqGLx':function(_0x375d7b){return _0x375d7b();},'tuhEY':function(_0x36a230,_0x44ea47){return _0x36a230(_0x44ea47);},'TDhdJ':'Running\x20existing\x20global\x20setup','acFPO':function(_0x37654b){return _0x37654b();},'Mpjqg':function(_0x25afdd,_0x5262d9){return _0x25afdd(_0x5262d9);},'FgPov':function(_0x51cd6f,_0x2b5145){return _0x51cd6f>=_0x2b5145;},'iuCPO':_0x3d39fb(0x1c4),'dPPch':function(_0x541fc8,_0x2c948d,_0x30516e){return _0x541fc8(_0x2c948d,_0x30516e);},'mJPxr':function(_0x5e0e3a,_0x1f8fba){return _0x5e0e3a!==_0x1f8fba;},'tsfAB':_0x3d39fb(0x1c2),'vDmZZ':'Not\x20able\x20to\x20import\x20globalSetup'},_0xd0a7=child_process[_0x3d39fb(0x1cc)];if(helper['isHandlePWErrorSet']())try{_0x17f09e[_0x3d39fb(0x1bf)](mockIsWorkerRedundant);}catch(_0x595407){logger[_0x3d39fb(0x1c3)]('Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'+util[_0x3d39fb(0x1be)](_0x595407));}child_process[_0x3d39fb(0x1cc)]=function(){const _0x3ab344=_0x3d39fb;return _0x17f09e[_0x3ab344(0x1db)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x3ab344(0x1c8)](_0x17f09e[_0x3ab344(0x1ba)](getForkProcessPath))?arguments[0x0]=require[_0x3ab344(0x1cd)](_0x17f09e['uIkXC']):logger[_0x3ab344(0x1c6)](_0x3ab344(0x1c9)+_0x17f09e[_0x3ab344(0x1bf)](getForkProcessPath)+_0x3ab344(0x1bc)),_0xd0a7[_0x3ab344(0x1af)](null,arguments);};if(process[_0x3d39fb(0x1dc)][_0x3d39fb(0x1cf)]){_0x17f09e[_0x3d39fb(0x1d8)](debug,_0x17f09e[_0x3d39fb(0x1d9)]);try{const {loadGlobalHook:_0x36b20a}=helper[_0x3d39fb(0x1b9)][_0x3d39fb(0x1af)](null,_0x17f09e[_0x3d39fb(0x1b2)](getLoadUtilsPath)),_0x22f3e0=_0x17f09e['Mpjqg'](getFrameworkVersion,FRAMEWORKS[_0x3d39fb(0x1b1)]);let _0x5cfce0=_0x473106;if(_0x17f09e[_0x3d39fb(0x1ce)](helper[_0x3d39fb(0x1c1)](_0x22f3e0,_0x17f09e[_0x3d39fb(0x1d5)]),0x0)){const _0x17b368={};_0x17b368['config']=_0x473106,_0x5cfce0=_0x17b368;}const _0x81419c=await _0x17f09e[_0x3d39fb(0x1b4)](_0x36b20a,_0x5cfce0,process[_0x3d39fb(0x1dc)][_0x3d39fb(0x1cf)]);if(_0x17f09e['mJPxr'](typeof _0x81419c,_0x17f09e['tsfAB']))throw new Error(_0x17f09e[_0x3d39fb(0x1b5)]);return _0x81419c[_0x3d39fb(0x1af)](null,arguments);}catch(_0x19fb20){_0x17f09e[_0x3d39fb(0x1d8)](debug,_0x3d39fb(0x1d1)+_0x19fb20[_0x3d39fb(0x1c0)]());}}};