browserstack-node-sdk 1.34.4 → 1.34.5

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 (126) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelpers.js +1 -1
  104. package/src/helpers/percy/Percy.js +1 -1
  105. package/src/helpers/percy/PercyBinary.js +1 -1
  106. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  107. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  108. package/src/helpers/percy/PercySDK.js +1 -1
  109. package/src/helpers/percy/index.js +1 -1
  110. package/src/helpers/percy/utils.js +1 -1
  111. package/src/helpers/performance-tester.js +1 -1
  112. package/src/helpers/request-spy.js +1 -1
  113. package/src/helpers/setKeepAlive.js +1 -1
  114. package/src/helpers/test-observability/constants.js +1 -1
  115. package/src/helpers/test-observability/error-handler.js +1 -1
  116. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  117. package/src/helpers/test-observability/sessionHandler.js +1 -1
  118. package/src/helpers/test-observability/utils.js +1 -1
  119. package/src/helpers/testhub/constants.js +1 -1
  120. package/src/helpers/testhub/testhubHandler.js +1 -1
  121. package/src/helpers/testhub/utils.js +1 -1
  122. package/src/helpers/timeoutPromise.js +1 -1
  123. package/src/helpers/utilities.js +1 -1
  124. package/src/helpers/w3cMapping.js +1 -1
  125. package/src/hubAllocationMethods.js +1 -1
  126. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a29_0x4d8474=a29_0x3351;function a29_0x3351(_0x243e4c,_0x285489){const _0x4331c9=a29_0x4331();return a29_0x3351=function(_0x335108,_0x16b31a){_0x335108=_0x335108-0x1cb;let _0x35ccab=_0x4331c9[_0x335108];return _0x35ccab;},a29_0x3351(_0x243e4c,_0x285489);}(function(_0x237415,_0x2cd15f){const _0x481b61=a29_0x3351,_0x115d1=_0x237415();while(!![]){try{const _0x36a917=-parseInt(_0x481b61(0x1ce))/0x1+-parseInt(_0x481b61(0x205))/0x2+parseInt(_0x481b61(0x232))/0x3*(-parseInt(_0x481b61(0x224))/0x4)+parseInt(_0x481b61(0x1dd))/0x5*(-parseInt(_0x481b61(0x21f))/0x6)+parseInt(_0x481b61(0x1ef))/0x7*(-parseInt(_0x481b61(0x239))/0x8)+parseInt(_0x481b61(0x21d))/0x9+parseInt(_0x481b61(0x1cf))/0xa*(parseInt(_0x481b61(0x1fb))/0xb);if(_0x36a917===_0x2cd15f)break;else _0x115d1['push'](_0x115d1['shift']());}catch(_0x5ba5e5){_0x115d1['push'](_0x115d1['shift']());}}}(a29_0x4331,0x6469b));const logger=require(a29_0x4d8474(0x22c))[a29_0x4d8474(0x1d5)],helper=require(a29_0x4d8474(0x23a)),constants=require(a29_0x4d8474(0x1d0)),hubAllocator=require(a29_0x4d8474(0x204)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x4d8474(0x203)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x4d8474(0x1f0)),globals=require('../../../helpers/globals'),modify=(_0x4ecab1,_0x1bc369=null,_0x1f4b6c=![])=>{const _0x36dbe4=a29_0x4d8474,_0x26fd1f={'hJrtD':function(_0x5ef772,_0x2cdc12){return _0x5ef772!==_0x2cdc12;},'wKime':_0x36dbe4(0x1e3),'bSGCd':function(_0xc47fe6,_0x499245){return _0xc47fe6+_0x499245;},'KHdcP':_0x36dbe4(0x1e2),'jfcIC':_0x36dbe4(0x1f8),'SHybI':'goog:chromeOptions','fyJzR':'chromeOptions','aZNCk':'ms:edgeOptions','IMQdS':_0x36dbe4(0x1eb),'noRhY':'moz:firefoxOptions','CmIpf':'firefoxOptions','MFTdx':_0x36dbe4(0x1e7),'OepaQ':'se:ieOptions','CImTg':_0x36dbe4(0x209),'fblgm':function(_0x4f7128,_0x25b645){return _0x4f7128===_0x25b645;},'Tjebz':'object','UguPT':_0x36dbe4(0x1d1),'Bezza':_0x36dbe4(0x200),'ySxmX':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','SWnjE':'5|4|2|0|1|3','lDfKL':function(_0x207ac9,_0x290cac){return _0x207ac9(_0x290cac);},'xFwTz':function(_0x58e1ea,_0x11ae5f,_0x2ddc13){return _0x58e1ea(_0x11ae5f,_0x2ddc13);},'EMFUe':function(_0x352000,_0x3a04ae,_0x3623e0){return _0x352000(_0x3a04ae,_0x3623e0);},'hppKf':'1|3|0|2|4|5','IDxVP':function(_0x221b96){return _0x221b96();},'lcIcq':function(_0x1aca1b,_0x2a2904){return _0x1aca1b(_0x2a2904);},'SKHMc':'isAccessibilityPlatform','vHNRz':function(_0x5cf82e,_0x2ed0b4,_0x414cb4){return _0x5cf82e(_0x2ed0b4,_0x414cb4);},'iRKGf':_0x36dbe4(0x238),'QCLHF':function(_0x5dce62,_0xb2e654){return _0x5dce62(_0xb2e654);},'OvntK':function(_0x2bf7bc,_0x157472){return _0x2bf7bc!==_0x157472;},'Foynt':function(_0x36e57f,_0x3df47c){return _0x36e57f!==_0x3df47c;},'UqOVa':_0x36dbe4(0x1ec),'oKdRo':'Modifying\x20webdriver\x20builder'},_0x4d3d94=helper['requireHttpClient']();let _0x5763fa;try{_0x5763fa=helper[_0x36dbe4(0x202)](),_0x5763fa['originalBuilder']&&(_0x5763fa[_0x36dbe4(0x1e4)]=_0x5763fa[_0x36dbe4(0x210)]);}catch(_0x367655){return;}if(helper['isBrowserstackInfra']()){const _0x246a26={};_0x246a26[_0x36dbe4(0x234)]=_0x4ecab1[_0x36dbe4(0x1da)],helper[_0x36dbe4(0x1f5)](_0x246a26,new Map(),new Map()),logger[_0x36dbe4(0x1f4)](_0x26fd1f[_0x36dbe4(0x225)]),logger[_0x36dbe4(0x1e8)](_0x26fd1f['oKdRo']);}class _0xe67310 extends _0x4d3d94[_0x36dbe4(0x230)]{['send'](_0x36f9f2){const _0x143255=_0x36dbe4;if(_0x26fd1f[_0x143255(0x235)](_0x36f9f2['path'],_0x26fd1f['wKime'])&&_0x26fd1f[_0x143255(0x235)](global['newHubUrl'],''))try{global[_0x143255(0x206)]=_0x26fd1f[_0x143255(0x1fc)](_0x26fd1f[_0x143255(0x1fc)](_0x26fd1f[_0x143255(0x1db)],global[_0x143255(0x206)]),_0x26fd1f[_0x143255(0x236)]),this[_0x143255(0x1de)]=hubAllocator['getRequestOptions'](global[_0x143255(0x206)]),logger[_0x143255(0x1e8)](_0x143255(0x1e6)+global[_0x143255(0x206)]),global[_0x143255(0x206)]='';}catch(_0x285392){logger['error'](_0x285392);}return super[_0x143255(0x1ee)](_0x36f9f2);}}class _0x54d544 extends _0x5763fa[_0x36dbe4(0x1e4)]{[_0x36dbe4(0x1cb)](){const _0x4a7ad5=_0x36dbe4;return this[_0x4a7ad5(0x1cd)]=helper[_0x4a7ad5(0x20e)](_0x4ecab1),logger[_0x4a7ad5(0x1e8)](_0x4a7ad5(0x221)+this[_0x4a7ad5(0x1cd)]),this;}[_0x36dbe4(0x1fd)](_0x266fe1){const _0x3caa99=_0x36dbe4;let _0x382380={};for(const _0x1e2139 in _0x266fe1){switch(_0x1e2139){case _0x26fd1f[_0x3caa99(0x20b)]:case _0x26fd1f[_0x3caa99(0x1fa)]:this[_0x3caa99(0x1f3)]&&(_0x382380=this[_0x3caa99(0x1f3)]['get'](this[_0x3caa99(0x1f3)]['CAPABILITY_KEY'])||{},this[_0x3caa99(0x1f3)][_0x3caa99(0x22f)](this[_0x3caa99(0x1f3)]['CAPABILITY_KEY'],helper[_0x3caa99(0x20f)](_0x382380,_0x266fe1[_0x1e2139])));break;case _0x26fd1f[_0x3caa99(0x20d)]:case _0x26fd1f['IMQdS']:this[_0x3caa99(0x1ea)]&&(_0x382380=this['edgeOptions_'][_0x3caa99(0x217)](this['edgeOptions_'][_0x3caa99(0x1d9)])||{},this[_0x3caa99(0x1ea)][_0x3caa99(0x22f)](this[_0x3caa99(0x1ea)][_0x3caa99(0x1d9)],helper[_0x3caa99(0x20f)](_0x382380,_0x266fe1[_0x1e2139])));break;case _0x26fd1f[_0x3caa99(0x1ff)]:case _0x26fd1f[_0x3caa99(0x22e)]:this[_0x3caa99(0x219)]&&(_0x382380=this[_0x3caa99(0x219)][_0x3caa99(0x217)](this['firefoxOptions_'][_0x3caa99(0x1d9)])||{},this[_0x3caa99(0x219)][_0x3caa99(0x22f)](this['firefoxOptions_']['CAPABILITY_KEY'],helper[_0x3caa99(0x20f)](_0x382380,_0x266fe1[_0x1e2139])));break;case _0x26fd1f[_0x3caa99(0x214)]:this[_0x3caa99(0x1f9)]&&(_0x382380=this[_0x3caa99(0x1f9)][_0x3caa99(0x217)](this['safariOptions_'][_0x3caa99(0x1d9)])||{},this[_0x3caa99(0x1f9)][_0x3caa99(0x22f)](this[_0x3caa99(0x1f9)][_0x3caa99(0x1d9)],helper[_0x3caa99(0x20f)](_0x382380,_0x266fe1[_0x1e2139])));break;case _0x26fd1f[_0x3caa99(0x1f2)]:case _0x26fd1f['CImTg']:this[_0x3caa99(0x1d8)]&&(_0x382380=this[_0x3caa99(0x1d8)][_0x3caa99(0x217)](this['ieOptions_'][_0x3caa99(0x1d9)])||{},this['ieOptions_'][_0x3caa99(0x22f)](this[_0x3caa99(0x1d8)][_0x3caa99(0x1d9)],helper[_0x3caa99(0x20f)](_0x382380,_0x266fe1[_0x1e2139])));break;}}}[_0x36dbe4(0x201)](){const _0x4a050d=_0x36dbe4,_0x35390b={'yvjwe':function(_0x55b6e4,_0x2f8526){const _0x239ab0=a29_0x3351;return _0x26fd1f[_0x239ab0(0x22d)](_0x55b6e4,_0x2f8526);},'glUeA':_0x26fd1f['Tjebz']};return logger[_0x4a050d(0x1e8)](_0x26fd1f[_0x4a050d(0x21e)]),this[_0x4a050d(0x1fd)](_0x4ecab1['capability']),Object['keys'](_0x4ecab1[_0x4a050d(0x220)])['forEach'](_0x24391c=>{const _0x3514e9=_0x4a050d,_0x4fdde4=this[_0x3514e9(0x22b)][_0x3514e9(0x217)](_0x24391c);_0x35390b[_0x3514e9(0x23c)](typeof _0x4fdde4,_0x35390b[_0x3514e9(0x207)])?this[_0x3514e9(0x22b)][_0x3514e9(0x22f)](_0x24391c,helper[_0x3514e9(0x20f)](_0x4fdde4,_0x4ecab1[_0x3514e9(0x220)][_0x24391c])):this['capabilities_'][_0x3514e9(0x22f)](_0x24391c,_0x4ecab1[_0x3514e9(0x220)][_0x24391c]);}),this;}[_0x36dbe4(0x231)](){const _0x356a89=_0x36dbe4,_0x2a3e3e={'PZSVN':function(_0xd2fd0f,_0x2e67db,_0x1f5be0){const _0x3d4232=a29_0x3351;return _0x26fd1f[_0x3d4232(0x20c)](_0xd2fd0f,_0x2e67db,_0x1f5be0);},'sfXOl':function(_0x275043,_0x54a940,_0x2c04a7){return _0x26fd1f['xFwTz'](_0x275043,_0x54a940,_0x2c04a7);}};if(helper[_0x356a89(0x211)]()){const _0x38abdb=_0x26fd1f['hppKf'][_0x356a89(0x1e5)]('|');let _0x1b6153=0x0;while(!![]){switch(_0x38abdb[_0x1b6153++]){case'0':this[_0x356a89(0x201)]();continue;case'1':_0x26fd1f[_0x356a89(0x226)](isAccessibilityAutomationSession)&&_0x26fd1f[_0x356a89(0x22a)](setAccessibilityCapabilities,_0x4ecab1);continue;case'2':if(helper[_0x356a89(0x21c)](_0x4ecab1[_0x356a89(0x212)][_0x356a89(0x215)]))this['agent_']=helper[_0x356a89(0x1d6)](_0x4ecab1[_0x356a89(0x212)][_0x356a89(0x215)]);else _0x4ecab1[_0x356a89(0x212)][_0x356a89(0x215)]&&(this[_0x356a89(0x21b)]=_0x4ecab1[_0x356a89(0x212)][_0x356a89(0x215)],logger['debug'](_0x356a89(0x237)+this[_0x356a89(0x21b)]));continue;case'3':this[_0x356a89(0x1cb)]();continue;case'4':globals[_0x356a89(0x216)](_0x26fd1f['SKHMc'])&&(!_0x26fd1f[_0x356a89(0x218)](setExtension,this,_0x4ecab1)&&globals['setGlobal'](_0x26fd1f[_0x356a89(0x208)],![]));continue;case'5':logger[_0x356a89(0x1e8)](_0x26fd1f['iRKGf']);continue;}break;}}const _0x3f80e4=super[_0x356a89(0x231)]();return _0x3f80e4[_0x356a89(0x1d3)][_0x356a89(0x227)](_0x45d239=>{const _0x27e8c9=_0x356a89;try{const _0x5e8e6b=_0x45d239[_0x27e8c9(0x1f1)][_0x27e8c9(0x217)](_0x26fd1f['Bezza']);_0x5e8e6b?(logger[_0x27e8c9(0x1e8)](_0x27e8c9(0x1d2)+_0x5e8e6b),hubAllocator[_0x27e8c9(0x1e0)](_0x5e8e6b),helper[_0x27e8c9(0x223)](_0x5e8e6b)):logger[_0x27e8c9(0x1e8)](_0x26fd1f[_0x27e8c9(0x228)]);}catch(_0x44946f){logger[_0x27e8c9(0x1e8)](_0x27e8c9(0x222)+_0x44946f);}}),_0x3f80e4[_0x356a89(0x233)]=0x0,_0x3f80e4[_0x356a89(0x227)]&&_0x3f80e4[_0x356a89(0x227)](_0x2b030d=>{const _0x4fa679=_0x356a89,_0x21c1eb=_0x26fd1f['SWnjE'][_0x4fa679(0x1e5)]('|');let _0x46c9c0=0x0;while(!![]){switch(_0x21c1eb[_0x46c9c0++]){case'0':helper[_0x4fa679(0x1ed)](_0x2b030d,_0x4ecab1);continue;case'1':_0x2b030d[_0x4fa679(0x1df)]=async()=>{const _0x2f7e73=_0x4fa679;return await _0x2a3e3e[_0x2f7e73(0x1f6)](getAccessibilityResultsSummary,_0x2b030d,global);};continue;case'2':helper[_0x4fa679(0x1cc)](_0x2b030d,_0x4ecab1);continue;case'3':_0x2b030d['getAccessibilityResults']=async()=>{const _0x3af86e=_0x4fa679;return await _0x2a3e3e[_0x3af86e(0x213)](getAccessibilityResults,_0x2b030d,global);};continue;case'4':_0x26fd1f[_0x4fa679(0x229)](overrideTakeScreenshot,_0x2b030d);continue;case'5':_0x26fd1f[_0x4fa679(0x20c)](overrideQuit,_0x2b030d,_0x3f80e4);continue;}break;}}),_0x3f80e4['getAccessibilityResultsSummary']=async()=>{const _0x2bb4c0=_0x356a89;return await _0x26fd1f[_0x2bb4c0(0x1d7)](getAccessibilityResultsSummary,_0x3f80e4,global);},_0x3f80e4['getAccessibilityResults']=async()=>{const _0x40d4af=_0x356a89;return await _0x26fd1f[_0x40d4af(0x20c)](getAccessibilityResults,_0x3f80e4,global);},_0x26fd1f[_0x356a89(0x22a)](overrideTakeScreenshot,_0x3f80e4),_0x26fd1f[_0x356a89(0x1dc)](overrideQuit,_0x3f80e4),helper['overrideGet'](_0x3f80e4,_0x4ecab1),helper[_0x356a89(0x1ed)](_0x3f80e4,_0x4ecab1),helper[_0x356a89(0x20a)](global[_0x356a89(0x23b)])&&(global['__driversArray']=[]),helper[_0x356a89(0x20a)](global[_0x356a89(0x1e1)])&&(global[_0x356a89(0x1e1)]=[]),global[_0x356a89(0x23b)]['push'](_0x3f80e4),global[_0x356a89(0x1d4)]=_0x3f80e4,_0x26fd1f['OvntK'](global[_0x356a89(0x1e1)],undefined)&&global[_0x356a89(0x1e1)][_0x356a89(0x1f7)](_0x3f80e4),_0x1bc369&&helper['isUndefined'](_0x1bc369['global'][_0x356a89(0x23b)])&&(_0x1bc369['global'][_0x356a89(0x23b)]=[]),_0x1bc369&&_0x26fd1f['Foynt'](_0x1bc369[_0x356a89(0x1e9)][_0x356a89(0x1e1)],undefined)&&(_0x1bc369[_0x356a89(0x1e9)][_0x356a89(0x1e1)][_0x356a89(0x1f7)](_0x3f80e4),_0x1bc369['global']['__driversArray']['push'](_0x3f80e4)),_0x3f80e4;}}return _0x5763fa[_0x36dbe4(0x210)]=_0x5763fa[_0x36dbe4(0x1e4)],_0x5763fa[_0x36dbe4(0x1e4)]=_0x54d544,_0x4d3d94[_0x36dbe4(0x230)]=_0xe67310,_0x5763fa;};module[a29_0x4d8474(0x1fe)][a29_0x4d8474(0x21a)]=modify;function a29_0x4331(){const _0x5e4ef3=['setLogLevel','PZSVN','push','/wd/hub','safariOptions_','fyJzR','55uNwPUz','bSGCd','__setBrowserOptions','exports','noRhY','optimalHubUrl','setCapabilities','requireSeleniumWebdriver','../../../helpers/patchHelpers','../../../hubAllocationMethods','1156758IuTcdf','newHubUrl','glUeA','SKHMc','ieOptions','isUndefined','SHybI','xFwTz','aZNCk','getHubUrl','mergeDeep','originalBuilder','isBrowserstackInfra','proxySettings','sfXOl','MFTdx','proxyUrl','getGlobal','get','vHNRz','firefoxOptions_','browserstackAgentObservability','proxy_','isPacProxy','6734412DfLLSQ','UguPT','12288ogThak','capability','Hub\x20url\x20set\x20to\x20','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','storeOptimalHubUrl','593828uHXPGA','UqOVa','IDxVP','then','ySxmX','lDfKL','lcIcq','capabilities_','../../../helpers/logger','fblgm','CmIpf','set','HttpClient','build','6Fgwkbr','quitCount_','logLevel','hJrtD','jfcIC','Proxy\x20set\x20to\x20','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','279176LtPTfu','../../../helpers/helper','__driversArray','yvjwe','setServer','overrideGet','url_','676779BzIATv','3405200rMfABL','../../../bin/utils/constants','Setting\x20Browserstack\x20capabilities','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','session_','__driver','winstonLogger','getHttpAgent','EMFUe','ieOptions_','CAPABILITY_KEY','browserStackLogLevel','KHdcP','QCLHF','1105VSrOWx','options_','getAccessibilityResultsSummary','updateHubUrl','__drivers','https://','/session','Builder','split','New\x20hub\x20url\x20set\x20to\x20','safari.options','debug','global','edgeOptions_','edgeOptions','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','overrideExecute','send','7mIsjpb','../../../helpers/accessibility-automation/helper','caps_','OepaQ','chromeOptions_','info'];a29_0x4331=function(){return _0x5e4ef3;};return a29_0x4331();}
1
+ const a29_0x38a042=a29_0x3b9d;(function(_0x4bf1c4,_0xb4c3b2){const _0x5d7973=a29_0x3b9d,_0x368343=_0x4bf1c4();while(!![]){try{const _0x6ae698=-parseInt(_0x5d7973(0x193))/0x1+-parseInt(_0x5d7973(0x1a3))/0x2*(-parseInt(_0x5d7973(0x18c))/0x3)+parseInt(_0x5d7973(0x1c5))/0x4+parseInt(_0x5d7973(0x1c6))/0x5*(parseInt(_0x5d7973(0x198))/0x6)+parseInt(_0x5d7973(0x177))/0x7+parseInt(_0x5d7973(0x184))/0x8*(-parseInt(_0x5d7973(0x1b4))/0x9)+-parseInt(_0x5d7973(0x18e))/0xa;if(_0x6ae698===_0xb4c3b2)break;else _0x368343['push'](_0x368343['shift']());}catch(_0xcad19b){_0x368343['push'](_0x368343['shift']());}}}(a29_0x4b5c,0xa9833));const logger=require(a29_0x38a042(0x16e))[a29_0x38a042(0x170)],helper=require(a29_0x38a042(0x1a1)),constants=require(a29_0x38a042(0x186)),hubAllocator=require(a29_0x38a042(0x1c1)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x38a042(0x161)),{setAccessibilityCapabilities,setExtension}=require(a29_0x38a042(0x157)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require('../../../helpers/globals'),modify=(_0x3ecc0b,_0x251f77=null,_0x89b24d=![])=>{const _0x3863a7=a29_0x38a042,_0x5ad512={'yfPMW':function(_0x2b3190,_0x42f3d1){return _0x2b3190!==_0x42f3d1;},'eENKt':_0x3863a7(0x15e),'nqWYL':function(_0x3f48f6,_0x8c290c){return _0x3f48f6!==_0x8c290c;},'ysDUx':function(_0x48e6c3,_0x2d773f){return _0x48e6c3+_0x2d773f;},'WiPhl':_0x3863a7(0x1a4),'udrMt':_0x3863a7(0x155),'CYQys':_0x3863a7(0x174),'lehbg':_0x3863a7(0x1ad),'wJNrZ':_0x3863a7(0x1aa),'wdSKH':_0x3863a7(0x17a),'ZbXun':_0x3863a7(0x1ae),'bpyBR':_0x3863a7(0x19c),'ymJVv':'safari.options','geAaF':'se:ieOptions','aLmMW':_0x3863a7(0x1c4),'JwEXd':function(_0x406709,_0x294047){return _0x406709===_0x294047;},'sQgpf':'object','qfcad':'Setting\x20Browserstack\x20capabilities','fYIzI':_0x3863a7(0x167),'dkUKu':_0x3863a7(0x1b2),'HTxxb':function(_0x3ca270,_0x567ff3,_0x56a8b7){return _0x3ca270(_0x567ff3,_0x56a8b7);},'zmRsk':function(_0x1a78b1,_0x3e0e67,_0x40027a){return _0x1a78b1(_0x3e0e67,_0x40027a);},'qLROv':function(_0x4d750d,_0x302caa){return _0x4d750d(_0x302caa);},'oKrIY':function(_0x10f9f6,_0x253a08,_0x1058e0){return _0x10f9f6(_0x253a08,_0x1058e0);},'RIEom':'2|4|0|5|3|1','kdrOy':_0x3863a7(0x179),'WPHte':function(_0x372b4c){return _0x372b4c();},'SLDIu':_0x3863a7(0x171),'XuqaL':function(_0x3eb5bf,_0x3c3bd8){return _0x3eb5bf(_0x3c3bd8);},'pZJPX':function(_0x4a1577,_0x36544a){return _0x4a1577(_0x36544a);},'mzbOO':function(_0x2e42c9,_0x34ac22){return _0x2e42c9!==_0x34ac22;},'qmxQc':function(_0x5c5f0c,_0x377975){return _0x5c5f0c!==_0x377975;},'AJkZD':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','rErCS':_0x3863a7(0x156)},_0x27a7c6=helper[_0x3863a7(0x16a)]();let _0x12b626;try{_0x12b626=helper[_0x3863a7(0x187)](),_0x12b626['originalBuilder']&&(_0x12b626[_0x3863a7(0x199)]=_0x12b626[_0x3863a7(0x18b)]);}catch(_0x3f8bfa){return;}if(helper['isBrowserstackInfra']()){const _0x2bddbd={};_0x2bddbd[_0x3863a7(0x197)]=_0x3ecc0b['browserStackLogLevel'],helper[_0x3863a7(0x1b6)](_0x2bddbd,new Map(),new Map()),logger['info'](_0x5ad512['AJkZD']),logger[_0x3863a7(0x1a8)](_0x5ad512[_0x3863a7(0x16f)]);}class _0x32409c extends _0x27a7c6[_0x3863a7(0x190)]{[_0x3863a7(0x17b)](_0x421ccb){const _0x29a1a3=_0x3863a7;if(_0x5ad512[_0x29a1a3(0x19e)](_0x421ccb[_0x29a1a3(0x1b1)],_0x5ad512['eENKt'])&&_0x5ad512[_0x29a1a3(0x1af)](global[_0x29a1a3(0x188)],''))try{global[_0x29a1a3(0x188)]=_0x5ad512['ysDUx'](_0x5ad512[_0x29a1a3(0x191)](_0x5ad512[_0x29a1a3(0x1bb)],global[_0x29a1a3(0x188)]),_0x5ad512[_0x29a1a3(0x158)]),this['options_']=hubAllocator[_0x29a1a3(0x1ac)](global[_0x29a1a3(0x188)]),logger[_0x29a1a3(0x1a8)](_0x29a1a3(0x1b9)+global[_0x29a1a3(0x188)]),global['newHubUrl']='';}catch(_0x412aaf){logger[_0x29a1a3(0x152)](_0x412aaf);}return super[_0x29a1a3(0x17b)](_0x421ccb);}}class _0x2f712b extends _0x12b626[_0x3863a7(0x199)]{[_0x3863a7(0x1bf)](){const _0x5f15d6=_0x3863a7;return this['url_']=helper['getHubUrl'](_0x3ecc0b),logger[_0x5f15d6(0x1a8)](_0x5f15d6(0x164)+this['url_']),this;}[_0x3863a7(0x15b)](_0xaa5973){const _0x476ba6=_0x3863a7;let _0xa45ab2={};for(const _0x3c82d8 in _0xaa5973){switch(_0x3c82d8){case _0x5ad512[_0x476ba6(0x19d)]:case _0x5ad512[_0x476ba6(0x1bc)]:this[_0x476ba6(0x159)]&&(_0xa45ab2=this[_0x476ba6(0x159)][_0x476ba6(0x163)](this[_0x476ba6(0x159)][_0x476ba6(0x18d)])||{},this[_0x476ba6(0x159)][_0x476ba6(0x19f)](this['chromeOptions_'][_0x476ba6(0x18d)],helper[_0x476ba6(0x1b7)](_0xa45ab2,_0xaa5973[_0x3c82d8])));break;case _0x5ad512['wJNrZ']:case _0x5ad512[_0x476ba6(0x194)]:this['edgeOptions_']&&(_0xa45ab2=this[_0x476ba6(0x182)]['get'](this['edgeOptions_'][_0x476ba6(0x18d)])||{},this[_0x476ba6(0x182)]['set'](this['edgeOptions_']['CAPABILITY_KEY'],helper[_0x476ba6(0x1b7)](_0xa45ab2,_0xaa5973[_0x3c82d8])));break;case _0x5ad512[_0x476ba6(0x165)]:case _0x5ad512[_0x476ba6(0x17c)]:this[_0x476ba6(0x185)]&&(_0xa45ab2=this[_0x476ba6(0x185)][_0x476ba6(0x163)](this[_0x476ba6(0x185)]['CAPABILITY_KEY'])||{},this[_0x476ba6(0x185)][_0x476ba6(0x19f)](this[_0x476ba6(0x185)][_0x476ba6(0x18d)],helper[_0x476ba6(0x1b7)](_0xa45ab2,_0xaa5973[_0x3c82d8])));break;case _0x5ad512['ymJVv']:this[_0x476ba6(0x15d)]&&(_0xa45ab2=this[_0x476ba6(0x15d)][_0x476ba6(0x163)](this[_0x476ba6(0x15d)][_0x476ba6(0x18d)])||{},this['safariOptions_'][_0x476ba6(0x19f)](this[_0x476ba6(0x15d)][_0x476ba6(0x18d)],helper[_0x476ba6(0x1b7)](_0xa45ab2,_0xaa5973[_0x3c82d8])));break;case _0x5ad512[_0x476ba6(0x1a0)]:case _0x5ad512[_0x476ba6(0x196)]:this[_0x476ba6(0x151)]&&(_0xa45ab2=this[_0x476ba6(0x151)]['get'](this['ieOptions_'][_0x476ba6(0x18d)])||{},this[_0x476ba6(0x151)][_0x476ba6(0x19f)](this[_0x476ba6(0x151)][_0x476ba6(0x18d)],helper[_0x476ba6(0x1b7)](_0xa45ab2,_0xaa5973[_0x3c82d8])));break;}}}[_0x3863a7(0x18f)](){const _0x79e6fb=_0x3863a7;return logger[_0x79e6fb(0x1a8)](_0x5ad512[_0x79e6fb(0x1b0)]),this[_0x79e6fb(0x15b)](_0x3ecc0b[_0x79e6fb(0x181)]),Object['keys'](_0x3ecc0b['capability'])[_0x79e6fb(0x189)](_0x950261=>{const _0x12e00b=_0x79e6fb,_0x22e501=this['capabilities_']['get'](_0x950261);_0x5ad512[_0x12e00b(0x178)](typeof _0x22e501,_0x5ad512[_0x12e00b(0x192)])?this[_0x12e00b(0x160)][_0x12e00b(0x19f)](_0x950261,helper[_0x12e00b(0x1b7)](_0x22e501,_0x3ecc0b['capability'][_0x950261])):this[_0x12e00b(0x160)][_0x12e00b(0x19f)](_0x950261,_0x3ecc0b[_0x12e00b(0x181)][_0x950261]);}),this;}[_0x3863a7(0x153)](){const _0x292b84=_0x3863a7;if(helper['isBrowserstackInfra']()){const _0x38b087=_0x5ad512[_0x292b84(0x180)][_0x292b84(0x15f)]('|');let _0x3423b9=0x0;while(!![]){switch(_0x38b087[_0x3423b9++]){case'0':this['setCapabilities']();continue;case'1':logger[_0x292b84(0x1a8)](_0x5ad512[_0x292b84(0x17f)]);continue;case'2':_0x5ad512[_0x292b84(0x1ba)](isAccessibilityAutomationSession)&&_0x5ad512[_0x292b84(0x16c)](setAccessibilityCapabilities,_0x3ecc0b);continue;case'3':globals[_0x292b84(0x1c7)](_0x5ad512[_0x292b84(0x169)])&&(!_0x5ad512[_0x292b84(0x173)](setExtension,this,_0x3ecc0b)&&globals['setGlobal'](_0x5ad512[_0x292b84(0x169)],![]));continue;case'4':this[_0x292b84(0x1bf)]();continue;case'5':if(helper['isPacProxy'](_0x3ecc0b['proxySettings'][_0x292b84(0x17d)]))this[_0x292b84(0x1bd)]=helper[_0x292b84(0x1c0)](_0x3ecc0b[_0x292b84(0x19b)][_0x292b84(0x17d)]);else _0x3ecc0b[_0x292b84(0x19b)][_0x292b84(0x17d)]&&(this[_0x292b84(0x1a2)]=_0x3ecc0b[_0x292b84(0x19b)][_0x292b84(0x17d)],logger['debug'](_0x292b84(0x1a7)+this[_0x292b84(0x1a2)]));continue;}break;}}const _0x4ced96=super[_0x292b84(0x153)]();return _0x4ced96['session_'][_0x292b84(0x18a)](_0x198659=>{const _0x2ff2b5=_0x292b84;try{const _0x517c4b=_0x198659[_0x2ff2b5(0x176)][_0x2ff2b5(0x163)](_0x5ad512[_0x2ff2b5(0x1b5)]);_0x517c4b?(logger[_0x2ff2b5(0x1a8)](_0x2ff2b5(0x162)+_0x517c4b),hubAllocator[_0x2ff2b5(0x1a5)](_0x517c4b),helper[_0x2ff2b5(0x195)](_0x517c4b)):logger['debug'](_0x5ad512[_0x2ff2b5(0x17e)]);}catch(_0x2e0336){logger[_0x2ff2b5(0x1a8)](_0x2ff2b5(0x1a9)+_0x2e0336);}}),_0x4ced96[_0x292b84(0x19a)]=0x0,_0x4ced96[_0x292b84(0x18a)]&&_0x4ced96[_0x292b84(0x18a)](_0x596767=>{const _0x42b94b=_0x292b84,_0x381dec={'kNplV':function(_0x13b7ca,_0x2c770f,_0x385061){return _0x5ad512['HTxxb'](_0x13b7ca,_0x2c770f,_0x385061);},'YbmQy':function(_0x4c28e3,_0x2112ac,_0x458a6f){const _0x468589=a29_0x3b9d;return _0x5ad512[_0x468589(0x166)](_0x4c28e3,_0x2112ac,_0x458a6f);}};_0x5ad512['zmRsk'](overrideQuit,_0x596767,_0x4ced96),_0x5ad512[_0x42b94b(0x16c)](overrideTakeScreenshot,_0x596767),helper[_0x42b94b(0x15c)](_0x596767,_0x3ecc0b),helper['overrideExecute'](_0x596767,_0x3ecc0b),_0x596767[_0x42b94b(0x150)]=async()=>{const _0x27c2da=_0x42b94b;return await _0x381dec[_0x27c2da(0x172)](getAccessibilityResultsSummary,_0x596767,global);},_0x596767[_0x42b94b(0x1c2)]=async()=>{const _0x2d3224=_0x42b94b;return await _0x381dec[_0x2d3224(0x1ab)](getAccessibilityResults,_0x596767,global);};}),_0x4ced96[_0x292b84(0x150)]=async()=>{const _0x4c3b97=_0x292b84;return await _0x5ad512[_0x4c3b97(0x173)](getAccessibilityResultsSummary,_0x4ced96,global);},_0x4ced96[_0x292b84(0x1c2)]=async()=>{const _0x5560bd=_0x292b84;return await _0x5ad512[_0x5560bd(0x183)](getAccessibilityResults,_0x4ced96,global);},_0x5ad512[_0x292b84(0x15a)](overrideTakeScreenshot,_0x4ced96),_0x5ad512[_0x292b84(0x16b)](overrideQuit,_0x4ced96),helper[_0x292b84(0x15c)](_0x4ced96,_0x3ecc0b),helper[_0x292b84(0x175)](_0x4ced96,_0x3ecc0b),helper[_0x292b84(0x16d)](global[_0x292b84(0x1c3)])&&(global[_0x292b84(0x1c3)]=[]),helper[_0x292b84(0x16d)](global[_0x292b84(0x1a6)])&&(global[_0x292b84(0x1a6)]=[]),global[_0x292b84(0x1c3)][_0x292b84(0x154)](_0x4ced96),global['__driver']=_0x4ced96,_0x5ad512[_0x292b84(0x1b3)](global[_0x292b84(0x1a6)],undefined)&&global[_0x292b84(0x1a6)][_0x292b84(0x154)](_0x4ced96),_0x251f77&&helper[_0x292b84(0x16d)](_0x251f77[_0x292b84(0x168)][_0x292b84(0x1c3)])&&(_0x251f77[_0x292b84(0x168)]['__driversArray']=[]),_0x251f77&&_0x5ad512[_0x292b84(0x1b8)](_0x251f77[_0x292b84(0x168)][_0x292b84(0x1a6)],undefined)&&(_0x251f77[_0x292b84(0x168)]['__drivers'][_0x292b84(0x154)](_0x4ced96),_0x251f77[_0x292b84(0x168)][_0x292b84(0x1c3)][_0x292b84(0x154)](_0x4ced96)),_0x4ced96;}}return _0x12b626[_0x3863a7(0x18b)]=_0x12b626[_0x3863a7(0x199)],_0x12b626['Builder']=_0x2f712b,_0x27a7c6['HttpClient']=_0x32409c,_0x12b626;};function a29_0x3b9d(_0x211af2,_0x2d601b){const _0x4b5c89=a29_0x4b5c();return a29_0x3b9d=function(_0x3b9d01,_0xd6c68e){_0x3b9d01=_0x3b9d01-0x150;let _0x512cfd=_0x4b5c89[_0x3b9d01];return _0x512cfd;},a29_0x3b9d(_0x211af2,_0x2d601b);}module[a29_0x38a042(0x1be)]['browserstackAgentObservability']=modify;function a29_0x4b5c(){const _0xc94b25=['JwEXd','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','edgeOptions','send','bpyBR','proxyUrl','dkUKu','kdrOy','RIEom','capability','edgeOptions_','oKrIY','1429768fPLBOj','firefoxOptions_','../../../bin/utils/constants','requireSeleniumWebdriver','newHubUrl','forEach','then','originalBuilder','118452hmURwZ','CAPABILITY_KEY','29299240VKYfjS','setCapabilities','HttpClient','ysDUx','sQgpf','105943LDJSJt','wdSKH','storeOptimalHubUrl','aLmMW','logLevel','37032AgjXDQ','Builder','quitCount_','proxySettings','firefoxOptions','CYQys','yfPMW','set','geAaF','../../../helpers/helper','proxy_','26ZqexMb','https://','updateHubUrl','__drivers','Proxy\x20set\x20to\x20','debug','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','ms:edgeOptions','YbmQy','getRequestOptions','chromeOptions','moz:firefoxOptions','nqWYL','qfcad','path','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','mzbOO','9LfYJYn','fYIzI','setLogLevel','mergeDeep','qmxQc','New\x20hub\x20url\x20set\x20to\x20','WPHte','WiPhl','lehbg','agent_','exports','setServer','getHttpAgent','../../../hubAllocationMethods','getAccessibilityResults','__driversArray','ieOptions','4307500KcaAdS','995jaJlfz','getGlobal','getAccessibilityResultsSummary','ieOptions_','error','build','push','/wd/hub','Modifying\x20webdriver\x20builder','../accessibility-automation/helper','udrMt','chromeOptions_','XuqaL','__setBrowserOptions','overrideGet','safariOptions_','/session','split','capabilities_','../../../helpers/patchHelpers','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','get','Hub\x20url\x20set\x20to\x20','ZbXun','HTxxb','optimalHubUrl','global','SLDIu','requireHttpClient','pZJPX','qLROv','isUndefined','../../../helpers/logger','rErCS','winstonLogger','isAccessibilityPlatform','kNplV','zmRsk','goog:chromeOptions','overrideExecute','caps_','7633612lHyRCz'];a29_0x4b5c=function(){return _0xc94b25;};return a29_0x4b5c();}
@@ -1 +1 @@
1
- function a30_0x1f2d(){const _0x121573=['../../../helpers/request-spy','11aTrxNX','2zIamzR','timeout','1395QhQEhu','../../../helpers/test-observability/utils','1757qjzhAO','2979104xCBDMs','642pGdqLM','restore','6235272HtkWzs','2792gdSjGp','673565oJBNEb','1812726EwUFuz','23906190mmOmzF','jSfhi'];a30_0x1f2d=function(){return _0x121573;};return a30_0x1f2d();}const a30_0x3ecc45=a30_0x3929;(function(_0x2e9f1e,_0x240f9f){const _0x1025f5=a30_0x3929,_0x3f1257=_0x2e9f1e();while(!![]){try{const _0x22997c=parseInt(_0x1025f5(0x78))/0x1+-parseInt(_0x1025f5(0x6e))/0x2*(-parseInt(_0x1025f5(0x69))/0x3)+parseInt(_0x1025f5(0x73))/0x4+-parseInt(_0x1025f5(0x70))/0x5*(-parseInt(_0x1025f5(0x74))/0x6)+-parseInt(_0x1025f5(0x72))/0x7*(-parseInt(_0x1025f5(0x77))/0x8)+parseInt(_0x1025f5(0x76))/0x9+parseInt(_0x1025f5(0x6a))/0xa*(-parseInt(_0x1025f5(0x6d))/0xb);if(_0x22997c===_0x240f9f)break;else _0x3f1257['push'](_0x3f1257['shift']());}catch(_0x4140c0){_0x3f1257['push'](_0x3f1257['shift']());}}}(a30_0x1f2d,0x6bf70));const requestSpy=require(a30_0x3ecc45(0x6c)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a30_0x3ecc45(0x71));function a30_0x3929(_0x25b1a3,_0x297279){const _0x1f2da7=a30_0x1f2d();return a30_0x3929=function(_0x392918,_0x9f09f7){_0x392918=_0x392918-0x69;let _0x53d015=_0x1f2da7[_0x392918];return _0x53d015;},a30_0x3929(_0x25b1a3,_0x297279);}exports['mochaHooks']={'beforeAll'(){const _0x5426d3=a30_0x3ecc45,_0x183579={'jSfhi':function(_0xb61e1e){return _0xb61e1e();}},_0x1e9058='browserstack internal helper hook';_0x183579[_0x5426d3(0x6b)](addRequestSpy);},'afterAll'(){const _0x36d90e=a30_0x3ecc45,_0x28ecf2='browserstack internal helper hook';this[_0x36d90e(0x6f)](0xea60),requestSpy[_0x36d90e(0x75)]();}};
1
+ function a30_0x379c(_0x2f5c52,_0x47181f){const _0x2c4f29=a30_0x2c4f();return a30_0x379c=function(_0x379c18,_0x4d55f8){_0x379c18=_0x379c18-0x110;let _0x1c2264=_0x2c4f29[_0x379c18];return _0x1c2264;},a30_0x379c(_0x2f5c52,_0x47181f);}const a30_0x1acf9e=a30_0x379c;(function(_0x2c03bf,_0xc75b5a){const _0x1774c3=a30_0x379c,_0x27e147=_0x2c03bf();while(!![]){try{const _0x28c2bd=-parseInt(_0x1774c3(0x11c))/0x1*(parseInt(_0x1774c3(0x110))/0x2)+-parseInt(_0x1774c3(0x118))/0x3*(-parseInt(_0x1774c3(0x111))/0x4)+parseInt(_0x1774c3(0x115))/0x5*(parseInt(_0x1774c3(0x116))/0x6)+parseInt(_0x1774c3(0x11a))/0x7*(parseInt(_0x1774c3(0x119))/0x8)+parseInt(_0x1774c3(0x11b))/0x9+-parseInt(_0x1774c3(0x11f))/0xa*(-parseInt(_0x1774c3(0x113))/0xb)+parseInt(_0x1774c3(0x11d))/0xc*(-parseInt(_0x1774c3(0x117))/0xd);if(_0x28c2bd===_0xc75b5a)break;else _0x27e147['push'](_0x27e147['shift']());}catch(_0x45417d){_0x27e147['push'](_0x27e147['shift']());}}}(a30_0x2c4f,0xc3227));const requestSpy=require('../../../helpers/request-spy'),constants=require(a30_0x1acf9e(0x120)),{addRequestSpy}=require(a30_0x1acf9e(0x112));exports['mochaHooks']={'beforeAll'(){const _0x1eb0ac=a30_0x1acf9e,_0x4f8808={'AJfZd':function(_0x20f643){return _0x20f643();}},_0x886754='browserstack internal helper hook';_0x4f8808[_0x1eb0ac(0x114)](addRequestSpy);},'afterAll'(){const _0x3b0bcd=a30_0x1acf9e,_0x2732f0='browserstack internal helper hook';this[_0x3b0bcd(0x121)](0xea60),requestSpy[_0x3b0bcd(0x11e)]();}};function a30_0x2c4f(){const _0x1fc26e=['401cipIWH','1352616XjPhFt','restore','10QwxnDw','../../../bin/utils/constants','timeout','3766ELWGmp','429404qCZICE','../../../helpers/test-observability/utils','16537741MsuoDE','AJfZd','274955XVvQtw','96HWgbWY','351NXHzka','39CsQHsA','848Ijoydo','47089YgjOWd','952452DRuLWO'];a30_0x2c4f=function(){return _0x1fc26e;};return a30_0x2c4f();}
@@ -1 +1 @@
1
- const a31_0x205f58=a31_0x472a;(function(_0x5e1669,_0x152de7){const _0x50d6db=a31_0x472a,_0xc0403=_0x5e1669();while(!![]){try{const _0x3edb27=parseInt(_0x50d6db(0xd6))/0x1+parseInt(_0x50d6db(0xf2))/0x2*(-parseInt(_0x50d6db(0xce))/0x3)+parseInt(_0x50d6db(0x113))/0x4+-parseInt(_0x50d6db(0x112))/0x5+parseInt(_0x50d6db(0xde))/0x6*(-parseInt(_0x50d6db(0xe4))/0x7)+parseInt(_0x50d6db(0xc8))/0x8+parseInt(_0x50d6db(0x109))/0x9*(parseInt(_0x50d6db(0xe5))/0xa);if(_0x3edb27===_0x152de7)break;else _0xc0403['push'](_0xc0403['shift']());}catch(_0x27e639){_0xc0403['push'](_0xc0403['shift']());}}}(a31_0x1956,0xc022b));const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x205f58(0x101)),logPatcher=require(a31_0x205f58(0xd9)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook}=require(a31_0x205f58(0x11b)),{consoleHolder}=require(a31_0x205f58(0x114)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a31_0x205f58(0xf1));function a31_0x472a(_0x45dec3,_0x53d80d){const _0x195686=a31_0x1956();return a31_0x472a=function(_0x472a76,_0x42cf06){_0x472a76=_0x472a76-0xc3;let _0x1c604b=_0x195686[_0x472a76];return _0x1c604b;},a31_0x472a(_0x45dec3,_0x53d80d);}console={},Object[a31_0x205f58(0xf3)](consoleHolder)[a31_0x205f58(0xf4)](_0xb7ef86=>{console[_0xb7ef86]=(..._0x809865)=>{BSTestOpsPatcher[_0xb7ef86](..._0x809865);};}),exports[a31_0x205f58(0xf0)]=()=>{const _0x249ee5=a31_0x205f58,_0x17af7f={'IwKQI':_0x249ee5(0xd4),'ZLyNq':function(_0x15bcb8){return _0x15bcb8();}};return{'ci':_0x17af7f['IwKQI'],'key':_0x17af7f[_0x249ee5(0xef)](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0x2ff7bd=>{const _0x2d6aa7=a31_0x205f58,_0x44c206={};_0x44c206[_0x2d6aa7(0x10e)]=function(_0x53b5f1,_0x54d6dc){return _0x53b5f1!==_0x54d6dc;},_0x44c206[_0x2d6aa7(0xe3)]='string',_0x44c206[_0x2d6aa7(0xdb)]=_0x2d6aa7(0xc6),_0x44c206['rKFlh']=function(_0x4ccc3d,_0x449ea1){return _0x4ccc3d!==_0x449ea1;},_0x44c206[_0x2d6aa7(0xcb)]=_0x2d6aa7(0x110);const _0x369be6=_0x44c206;if(!_0x2ff7bd||_0x369be6['HzwXm'](typeof _0x2ff7bd,_0x369be6[_0x2d6aa7(0xe3)]))return[null,null];if(_0x369be6[_0x2d6aa7(0x10e)](_0x2ff7bd['indexOf'](_0x369be6[_0x2d6aa7(0xdb)]),-0x1)){const _0x160d7b=_0x2ff7bd[_0x2d6aa7(0x10c)](_0x369be6['oKTLu']);return[_0x160d7b[0x0][_0x2d6aa7(0x106)](0x0,-0x1)[_0x2d6aa7(0x10c)]('\x22')[0x1],_0x160d7b[0x1]['substring'](0x1)];}else{if(_0x369be6[_0x2d6aa7(0xdf)](_0x2ff7bd['indexOf'](_0x369be6[_0x2d6aa7(0xcb)]),-0x1)){const _0x150ebe=_0x2ff7bd[_0x2d6aa7(0x10c)](_0x369be6[_0x2d6aa7(0xcb)]);return[_0x150ebe[0x0]['slice'](0x0,-0x1)['split']('\x22')[0x1],_0x2ff7bd];}}return[null,null];},exports['getHooksForTest']=_0x232a8c=>{const _0xc70c33=a31_0x205f58,_0xa079ba={'qEieZ':function(_0x39200b,_0x35ddc7){return _0x39200b(_0x35ddc7);},'sVbzV':_0xc70c33(0xfd),'ygnnG':_0xc70c33(0xda),'UZwnx':_0xc70c33(0xe1),'TRqxU':_0xc70c33(0xca)};if(!_0x232a8c||!_0x232a8c['parent'])return[];const _0x2f3603=[];return[_0xa079ba['sVbzV'],_0xa079ba['ygnnG'],_0xa079ba[_0xc70c33(0x10b)],_0xa079ba[_0xc70c33(0x103)]][_0xc70c33(0xf4)](_0x53e102=>{const _0x38672c=_0xc70c33,_0x5599e2={'gnjtB':function(_0x157974,_0x7788a6){return _0xa079ba['qEieZ'](_0x157974,_0x7788a6);}},_0x1de03e=_0x232a8c[_0x38672c(0xd8)][_0x53e102]||[];_0x1de03e[_0x38672c(0xf4)](_0x5f4ff4=>{const _0x1bc582=_0x38672c;_0x5f4ff4[_0x1bc582(0xfe)]&&!_0x5599e2['gnjtB'](isInternalHook,_0x5f4ff4['fn'])&&_0x2f3603[_0x1bc582(0xd7)](_0x5f4ff4[_0x1bc582(0xfe)]);});}),[..._0x2f3603,...exports[_0xc70c33(0x115)](_0x232a8c[_0xc70c33(0xd8)])];},exports[a31_0x205f58(0x117)]=_0x6ae14d=>{const _0x870b9d=a31_0x205f58,_0x47ce46={'XEUeu':function(_0x3483ba){return _0x3483ba();},'RSHTY':function(_0x46531f,_0x17f9f1){return _0x46531f===_0x17f9f1;},'ACnfe':_0x870b9d(0xca),'EvfHz':_0x870b9d(0xfd),'pBJrE':'_afterAll','GGoUr':'_beforeEach'};if(!_0x6ae14d||!_0x6ae14d[_0x870b9d(0xd8)])return;[_0x47ce46[_0x870b9d(0xc5)],_0x47ce46[_0x870b9d(0xfa)],_0x47ce46[_0x870b9d(0x10d)],_0x47ce46[_0x870b9d(0x11c)]][_0x870b9d(0xf4)](_0x1a8233=>{const _0x2b70e6=_0x870b9d,_0x540749={'qPVXh':function(_0x1a5c24){const _0x3bc9da=a31_0x472a;return _0x47ce46[_0x3bc9da(0xe2)](_0x1a5c24);},'mrCWg':function(_0x32e46d,_0xcc8ad5){return _0x47ce46['RSHTY'](_0x32e46d,_0xcc8ad5);},'yuXZb':_0x47ce46['ACnfe']},_0x364b6f=_0x6ae14d[_0x2b70e6(0xd8)][_0x1a8233]||[];_0x364b6f[_0x2b70e6(0xf4)](_0x28f33d=>{const _0x56c6fc=_0x2b70e6;if(!_0x28f33d[_0x56c6fc(0xfe)])_0x28f33d[_0x56c6fc(0xfe)]=_0x540749[_0x56c6fc(0x104)](uuidv4);else _0x28f33d[_0x56c6fc(0xc7)]&&_0x540749[_0x56c6fc(0xee)](_0x1a8233,_0x540749[_0x56c6fc(0x108)])&&(_0x28f33d[_0x56c6fc(0xfe)]=_0x540749[_0x56c6fc(0x104)](uuidv4),delete _0x28f33d[_0x56c6fc(0xc7)]);});}),exports[_0x870b9d(0x117)](_0x6ae14d[_0x870b9d(0xd8)]);},exports[a31_0x205f58(0xe7)]=async(_0x4e2ac3,_0x4b396f)=>{const _0x42df49=a31_0x205f58,_0x459829={'HujGr':function(_0x227e72){return _0x227e72();},'dHBxX':function(_0x3af526,_0x86efef){return _0x3af526===_0x86efef;},'YHErG':'browserstack','HZqXm':'appium:app','CgKSA':_0x42df49(0x10a),'VQwGi':_0x42df49(0x119),'eRDBv':_0x42df49(0xd1),'KgQpY':function(_0x32a1b4,_0x2b29ad){return _0x32a1b4(_0x2b29ad);},'FmHmB':_0x42df49(0xd2),'cnAbZ':'TEST_PLATFORM','bHsgO':function(_0x485186,_0xe65b8b){return _0x485186(_0xe65b8b);}};try{if(!_0x459829[_0x42df49(0xe0)](shouldProcessEventForTesthub))return;const _0xc9f570=await _0x4e2ac3[_0x42df49(0x105)](),_0xb39c8b=await _0x4e2ac3[_0x42df49(0xe8)](),_0x3762c2={},_0x5f2a77=Object[_0x42df49(0xd3)](_0xb39c8b[_0x42df49(0x105)]()[_0x42df49(0xc4)]),_0x579e72={'product':_0x459829[_0x42df49(0x11d)](global[_0x42df49(0x111)],_0x459829[_0x42df49(0xfc)])?_0x5f2a77[_0x459829['HZqXm']]||_0x5f2a77[_0x459829[_0x42df49(0xcf)]]?_0x459829[_0x42df49(0xe9)]:_0x459829[_0x42df49(0xd5)]:null,'capabilities':_0x5f2a77,'platform':_0xc9f570[_0x42df49(0xc9)](),'platform_version':_0x459829[_0x42df49(0xcc)](getPlatformVersion,_0x459829['dHBxX'](global[_0x42df49(0x111)],_0x459829[_0x42df49(0xfc)])),'browser':_0xc9f570['getBrowserName'](),'browser_version':_0xc9f570[_0x42df49(0xcd)](),'session_id':_0xb39c8b[_0x42df49(0xdc)]()};global['__cloud_provider___']?_0x3762c2[global[_0x42df49(0x111)]]=_0x579e72:_0x3762c2[_0x459829[_0x42df49(0xf8)]]=_0x579e72,process['emit'](_0x42df49(0x10f)+process[_0x42df49(0x118)],{'timestamp':new Date()[_0x42df49(0x100)](),'level':null,'message':null,'kind':_0x459829[_0x42df49(0xed)],'http_response':_0x3762c2,'uuid':_0x4b396f});}catch(_0xccaef3){_0x459829[_0x42df49(0xeb)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0xccaef3);}},exports[a31_0x205f58(0xff)]=_0x15e620=>{const _0x5d875a=a31_0x205f58,_0x9ea391={};_0x9ea391[_0x5d875a(0xf7)]=function(_0x1af5dc,_0x5c48f9){return _0x1af5dc!==_0x5c48f9;},_0x9ea391[_0x5d875a(0xfb)]=_0x5d875a(0x110),_0x9ea391['JhAIA']=function(_0x1c605c,_0x5bfdbf){return _0x1c605c!==_0x5bfdbf;},_0x9ea391[_0x5d875a(0xd0)]=_0x5d875a(0x107),_0x9ea391['ChKpt']=function(_0x2fea7f,_0x40b4c1){return _0x2fea7f!==_0x40b4c1;},_0x9ea391['MjuLb']=_0x5d875a(0xea);const _0x41bc55=_0x9ea391,_0x4074f5=_0x15e620['suites'][_0x5d875a(0xec)]((_0x1956b3,_0x2eac7f)=>{const _0x4e6d21=_0x5d875a,_0x64f86=exports[_0x4e6d21(0xff)](_0x2eac7f);return _0x64f86&&(_0x1956b3=_0x1956b3[_0x4e6d21(0xe6)](_0x64f86)),_0x1956b3;},[]),_0x3a8be3=_0x15e620[_0x5d875a(0xdd)][_0x5d875a(0xc3)](_0x6b6229=>{const _0x23f5ae=_0x5d875a,_0x3f296f=_0x41bc55[_0x23f5ae(0xf7)](_0x6b6229[_0x23f5ae(0xf9)],_0x41bc55['qNjcJ'])&&!_0x6b6229[_0x23f5ae(0xc7)]&&_0x41bc55[_0x23f5ae(0x116)](_0x6b6229[_0x23f5ae(0x11a)],_0x41bc55[_0x23f5ae(0xd0)])&&_0x41bc55[_0x23f5ae(0xf6)](_0x6b6229[_0x23f5ae(0x11a)],_0x41bc55[_0x23f5ae(0x102)])&&!_0x6b6229[_0x23f5ae(0xf5)];return _0x3f296f;});return _0x3a8be3['concat'](_0x4074f5);};function a31_0x1956(){const _0x4a18d0=['state','../../../helpers/test-observability/utils','ACnfe','dHBxX','filter','map_','EvfHz','hook:','markedStatus','11179160ZutSEj','getPlatform','_afterEach','uTnSV','KgQpY','getBrowserVersion','2450061dWvFAf','CgKSA','CQVfE','automate','unknown_grid','fromEntries','generic','eRDBv','604111IyiDxQ','push','parent','../../utils/logPatcher','_afterAll','oKTLu','toJSON','tests','4127034mSaCtq','rKFlh','HujGr','_beforeEach','XEUeu','MuESx','14IyTnfS','10qRCHPg','concat','sendPlatformDetails','getSession','VQwGi','failed','bHsgO','reduce','cnAbZ','mrCWg','ZLyNq','getTestEnv','../../../helpers/testhub/utils','2OYUrmG','keys','forEach','pending','ChKpt','pfEpu','FmHmB','type','pBJrE','qNjcJ','YHErG','_beforeAll','hookAnalyticsId','getHookSkippedTests','toISOString','../../../../package.json','MjuLb','TRqxU','qPVXh','getCapabilities','slice','passed','yuXZb','13882815zbucFz','app','UZwnx','split','GGoUr','HzwXm','bs:addPlatformDetails:','hook','__cloud_provider___','3727175etZToQ','722984HelxAA','../../../helpers/test-observability/constants','getHooksForTest','JhAIA','mapTestHooks','pid','app-automate'];a31_0x1956=function(){return _0x4a18d0;};return a31_0x1956();}
1
+ function a31_0x4556(){const _0x33592b=['289390LcFTKE','41529bmiUmy','parent','getBrowserName','BIGiv','CsGdO','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','fromEntries','3088640qCXqjl','_beforeAll','generic','WBZvS','hookAnalyticsId','ZKlfv','Nccaa','js-','hOVBx','4FuJmcO','tests','mFAlc','nNOdY','BsKYI','1490344CVAsnM','browserstack','../../../../package.json','EmRbE','../../../helpers/test-observability/utils','boifd','lpPbA','NMSPe','getPlatform','ZbmKb','automate','getCapabilities','_beforeEach','map_','markedStatus','../../../helpers/helper','hook','6ceFgsP','_afterAll','slice','YKtpL','../../../helpers/test-observability/constants','hcJOP','TEST_PLATFORM','failed','wijOA','state','app-automate','Ecfjv','keys','808845WPPpqA','__cloud_provider___','848205EAfxoJ','indexOf','cZech','getHookDetails','ueCnz','BVEeD','app','cgsqq','qddMO','YpPlG','filter','bs:addPlatformDetails:','pending','tvObJ','LOIJC','passed','_afterEach','mapTestHooks','getHooksForTest','sendPlatformDetails','TZqXD','unknown_grid','toISOString','GkZkw','7XftMXJ','concat','type','hook:','430512mIcJIc','suites','kckmc','lRPoF','DkYrn','getBrowserVersion','PRRWL','BXiws','split','forEach','hvjRc','YlTWm','appium:app','../../../helpers/testhub/utils','toJSON'];a31_0x4556=function(){return _0x33592b;};return a31_0x4556();}const a31_0x742c2c=a31_0x55de;function a31_0x55de(_0x3e6b5c,_0x23211d){const _0x45564e=a31_0x4556();return a31_0x55de=function(_0x55de50,_0x456d66){_0x55de50=_0x55de50-0x168;let _0x46f4a7=_0x45564e[_0x55de50];return _0x46f4a7;},a31_0x55de(_0x3e6b5c,_0x23211d);}(function(_0x262cd9,_0x4eb584){const _0x59606c=a31_0x55de,_0x89c145=_0x262cd9();while(!![]){try{const _0x234e12=parseInt(_0x59606c(0x177))/0x1*(-parseInt(_0x59606c(0x19d))/0x2)+parseInt(_0x59606c(0x1aa))/0x3+parseInt(_0x59606c(0x187))/0x4*(parseInt(_0x59606c(0x176))/0x5)+-parseInt(_0x59606c(0x1c8))/0x6+parseInt(_0x59606c(0x1c4))/0x7*(-parseInt(_0x59606c(0x18c))/0x8)+-parseInt(_0x59606c(0x1ac))/0x9+parseInt(_0x59606c(0x17e))/0xa;if(_0x234e12===_0x4eb584)break;else _0x89c145['push'](_0x89c145['shift']());}catch(_0x537ba4){_0x89c145['push'](_0x89c145['shift']());}}}(a31_0x4556,0x26ef8));const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x742c2c(0x18e)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook}=require(a31_0x742c2c(0x190)),{consoleHolder}=require(a31_0x742c2c(0x1a1)),{getPlatformVersion}=require(a31_0x742c2c(0x19b)),{shouldProcessEventForTesthub}=require(a31_0x742c2c(0x174));console={},Object[a31_0x742c2c(0x1a9)](consoleHolder)[a31_0x742c2c(0x170)](_0x32f4d2=>{console[_0x32f4d2]=(..._0x5decda)=>{BSTestOpsPatcher[_0x32f4d2](..._0x5decda);};}),exports['getTestEnv']=()=>{const _0x326dcc=a31_0x742c2c,_0x2cc732={'EmRbE':_0x326dcc(0x180),'pwmRY':function(_0x23b429){return _0x23b429();}};return{'ci':_0x2cc732[_0x326dcc(0x18f)],'key':_0x2cc732['pwmRY'](uuidv4),'version':version,'collector':_0x326dcc(0x185)+name};},exports[a31_0x742c2c(0x1af)]=_0x24254f=>{const _0x25428e=a31_0x742c2c,_0x4f8477={};_0x4f8477[_0x25428e(0x1c3)]=function(_0x44f265,_0x5ed0a0){return _0x44f265!==_0x5ed0a0;},_0x4f8477[_0x25428e(0x192)]='string',_0x4f8477[_0x25428e(0x1c0)]=function(_0x156f55,_0x5ec7f8){return _0x156f55!==_0x5ec7f8;},_0x4f8477[_0x25428e(0x1ba)]=_0x25428e(0x1c7),_0x4f8477['lRPoF']=function(_0x115d83,_0x3507f3){return _0x115d83!==_0x3507f3;},_0x4f8477['CsGdO']='hook';const _0x145a98=_0x4f8477;if(!_0x24254f||_0x145a98[_0x25428e(0x1c3)](typeof _0x24254f,_0x145a98[_0x25428e(0x192)]))return[null,null];if(_0x145a98[_0x25428e(0x1c0)](_0x24254f[_0x25428e(0x1ad)](_0x145a98['LOIJC']),-0x1)){const _0x59914d=_0x24254f[_0x25428e(0x16f)](_0x145a98[_0x25428e(0x1ba)]);return[_0x59914d[0x0][_0x25428e(0x19f)](0x0,-0x1)['split']('\x22')[0x1],_0x59914d[0x1]['substring'](0x1)];}else{if(_0x145a98[_0x25428e(0x16a)](_0x24254f[_0x25428e(0x1ad)](_0x145a98[_0x25428e(0x17b)]),-0x1)){const _0x34a200=_0x24254f[_0x25428e(0x16f)](_0x145a98['CsGdO']);return[_0x34a200[0x0][_0x25428e(0x19f)](0x0,-0x1)[_0x25428e(0x16f)]('\x22')[0x1],_0x24254f];}}return[null,null];},exports['getHooksForTest']=_0x31ae78=>{const _0xba3f55=a31_0x742c2c,_0x17c365={'PRRWL':function(_0x2fd79c,_0x283eec){return _0x2fd79c(_0x283eec);},'BVEeD':_0xba3f55(0x17f),'mFAlc':_0xba3f55(0x19e),'hOVBx':_0xba3f55(0x198),'tvObJ':_0xba3f55(0x1bc)};if(!_0x31ae78||!_0x31ae78[_0xba3f55(0x178)])return[];const _0x371836=[];return[_0x17c365[_0xba3f55(0x1b1)],_0x17c365[_0xba3f55(0x189)],_0x17c365[_0xba3f55(0x186)],_0x17c365[_0xba3f55(0x1b9)]][_0xba3f55(0x170)](_0x38b3c2=>{const _0x522386=_0xba3f55,_0x4e53b7={'nNOdY':function(_0x3498ed,_0x54612f){const _0x4f8509=a31_0x55de;return _0x17c365[_0x4f8509(0x16d)](_0x3498ed,_0x54612f);}},_0x42f7bc=_0x31ae78[_0x522386(0x178)][_0x38b3c2]||[];_0x42f7bc[_0x522386(0x170)](_0x306220=>{const _0x4fe232=_0x522386;_0x306220[_0x4fe232(0x182)]&&!_0x4e53b7[_0x4fe232(0x18a)](isInternalHook,_0x306220['fn'])&&_0x371836['push'](_0x306220[_0x4fe232(0x182)]);});}),[..._0x371836,...exports[_0xba3f55(0x1be)](_0x31ae78[_0xba3f55(0x178)])];},exports['mapTestHooks']=_0x444646=>{const _0x29f910=a31_0x742c2c,_0x2f550a={'YlTWm':function(_0x432b0e){return _0x432b0e();},'hvjRc':function(_0x1dea38,_0xd3a4fd){return _0x1dea38===_0xd3a4fd;},'ueCnz':_0x29f910(0x1bc),'HKKSp':'_beforeAll','WBvui':_0x29f910(0x19e),'ZtzYf':'_beforeEach'};if(!_0x444646||!_0x444646[_0x29f910(0x178)])return;[_0x2f550a['HKKSp'],_0x2f550a['WBvui'],_0x2f550a['ZtzYf'],_0x2f550a[_0x29f910(0x1b0)]][_0x29f910(0x170)](_0x46c4f9=>{const _0x5baa96={'ZKlfv':function(_0x417f25){const _0x246c45=a31_0x55de;return _0x2f550a[_0x246c45(0x172)](_0x417f25);},'Ecfjv':function(_0x449849,_0x35a318){const _0x4ee4df=a31_0x55de;return _0x2f550a[_0x4ee4df(0x171)](_0x449849,_0x35a318);},'sBKdK':_0x2f550a['ueCnz'],'YKtpL':function(_0x28a233){return _0x2f550a['YlTWm'](_0x28a233);}},_0x466a6a=_0x444646['parent'][_0x46c4f9]||[];_0x466a6a['forEach'](_0x4c9fb5=>{const _0xf82ff5=a31_0x55de;if(!_0x4c9fb5[_0xf82ff5(0x182)])_0x4c9fb5[_0xf82ff5(0x182)]=_0x5baa96[_0xf82ff5(0x183)](uuidv4);else _0x4c9fb5[_0xf82ff5(0x19a)]&&_0x5baa96[_0xf82ff5(0x1a8)](_0x46c4f9,_0x5baa96['sBKdK'])&&(_0x4c9fb5['hookAnalyticsId']=_0x5baa96[_0xf82ff5(0x1a0)](uuidv4),delete _0x4c9fb5[_0xf82ff5(0x19a)]);});}),exports[_0x29f910(0x1bd)](_0x444646[_0x29f910(0x178)]);},exports[a31_0x742c2c(0x1bf)]=async(_0x57dfe2,_0x3ab37c)=>{const _0x3f2dea=a31_0x742c2c,_0x3717d4={'BXiws':function(_0x3ff075){return _0x3ff075();},'Nccaa':function(_0xb13494,_0x4a80cc){return _0xb13494===_0x4a80cc;},'wijOA':_0x3f2dea(0x18d),'kckmc':_0x3f2dea(0x173),'WBZvS':_0x3f2dea(0x1b2),'cZech':_0x3f2dea(0x1a7),'NMSPe':_0x3f2dea(0x196),'DkYrn':function(_0x5cfef9,_0x1bfd93){return _0x5cfef9(_0x1bfd93);},'VCsAj':function(_0x5b9d5c,_0x2824d8){return _0x5b9d5c===_0x2824d8;},'hcJOP':_0x3f2dea(0x1c1),'BIGiv':_0x3f2dea(0x1a3),'qddMO':function(_0x79ddd6,_0x57bf3d){return _0x79ddd6(_0x57bf3d);}};try{if(!_0x3717d4[_0x3f2dea(0x16e)](shouldProcessEventForTesthub))return;const _0x48389a=await _0x57dfe2[_0x3f2dea(0x197)](),_0x19127e=await _0x57dfe2['getSession'](),_0x3c2abf={},_0x5004dc=Object[_0x3f2dea(0x17d)](_0x19127e[_0x3f2dea(0x197)]()[_0x3f2dea(0x199)]),_0xf52d99={'product':_0x3717d4[_0x3f2dea(0x184)](global[_0x3f2dea(0x1ab)],_0x3717d4[_0x3f2dea(0x1a5)])?_0x5004dc[_0x3717d4[_0x3f2dea(0x169)]]||_0x5004dc[_0x3717d4[_0x3f2dea(0x181)]]?_0x3717d4[_0x3f2dea(0x1ae)]:_0x3717d4[_0x3f2dea(0x193)]:null,'capabilities':_0x5004dc,'platform':_0x48389a[_0x3f2dea(0x194)](),'platform_version':_0x3717d4[_0x3f2dea(0x16b)](getPlatformVersion,_0x3717d4['VCsAj'](global[_0x3f2dea(0x1ab)],_0x3717d4[_0x3f2dea(0x1a5)])),'browser':_0x48389a[_0x3f2dea(0x179)](),'browser_version':_0x48389a[_0x3f2dea(0x16c)](),'session_id':_0x19127e[_0x3f2dea(0x175)]()};global['__cloud_provider___']?_0x3c2abf[global[_0x3f2dea(0x1ab)]]=_0xf52d99:_0x3c2abf[_0x3717d4[_0x3f2dea(0x1a2)]]=_0xf52d99,process['emit'](_0x3f2dea(0x1b7)+process['pid'],{'timestamp':new Date()[_0x3f2dea(0x1c2)](),'level':null,'message':null,'kind':_0x3717d4[_0x3f2dea(0x17a)],'http_response':_0x3c2abf,'uuid':_0x3ab37c});}catch(_0x574ed2){_0x3717d4[_0x3f2dea(0x1b4)](debug,_0x3f2dea(0x17c)+_0x574ed2);}},exports['getHookSkippedTests']=_0x36a5a7=>{const _0x21bc68=a31_0x742c2c,_0x4a7f03={};_0x4a7f03[_0x21bc68(0x1b3)]=function(_0x437959,_0x33a997){return _0x437959!==_0x33a997;},_0x4a7f03[_0x21bc68(0x18b)]=_0x21bc68(0x19c),_0x4a7f03['YpPlG']=function(_0x1e6c20,_0x1dd589){return _0x1e6c20!==_0x1dd589;},_0x4a7f03['boifd']=_0x21bc68(0x1bb),_0x4a7f03[_0x21bc68(0x195)]=_0x21bc68(0x1a4);const _0x17877c=_0x4a7f03,_0x51245d=_0x36a5a7[_0x21bc68(0x168)]['reduce']((_0x17c8e3,_0x3cd44c)=>{const _0x44963d=exports['getHookSkippedTests'](_0x3cd44c);return _0x44963d&&(_0x17c8e3=_0x17c8e3['concat'](_0x44963d)),_0x17c8e3;},[]),_0x337fbd=_0x36a5a7[_0x21bc68(0x188)][_0x21bc68(0x1b6)](_0x181d1f=>{const _0x8b155f=_0x21bc68,_0x5861d8=_0x17877c[_0x8b155f(0x1b3)](_0x181d1f[_0x8b155f(0x1c6)],_0x17877c[_0x8b155f(0x18b)])&&!_0x181d1f[_0x8b155f(0x19a)]&&_0x17877c[_0x8b155f(0x1b5)](_0x181d1f[_0x8b155f(0x1a6)],_0x17877c[_0x8b155f(0x191)])&&_0x17877c['YpPlG'](_0x181d1f[_0x8b155f(0x1a6)],_0x17877c[_0x8b155f(0x195)])&&!_0x181d1f[_0x8b155f(0x1b8)];return _0x5861d8;});return _0x337fbd[_0x21bc68(0x1c5)](_0x51245d);};
@@ -1 +1 @@
1
- const a32_0x5ef54e=a32_0x146b;(function(_0x15e828,_0x598480){const _0xc423a3=a32_0x146b,_0x557c59=_0x15e828();while(!![]){try{const _0x582dc6=parseInt(_0xc423a3(0x20f))/0x1+-parseInt(_0xc423a3(0x1dc))/0x2+-parseInt(_0xc423a3(0x21e))/0x3+parseInt(_0xc423a3(0x221))/0x4+parseInt(_0xc423a3(0x1cf))/0x5+-parseInt(_0xc423a3(0x1e9))/0x6+parseInt(_0xc423a3(0x1f3))/0x7*(parseInt(_0xc423a3(0x1d8))/0x8);if(_0x582dc6===_0x598480)break;else _0x557c59['push'](_0x557c59['shift']());}catch(_0x59926e){_0x557c59['push'](_0x557c59['shift']());}}}(a32_0x3a66,0x38cd2));const util=require(a32_0x5ef54e(0x219)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x5ef54e(0x1d5)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x5ef54e(0x1cb)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x5ef54e(0x208)),PerformanceTester=require(a32_0x5ef54e(0x207)),scripts=require(a32_0x5ef54e(0x23f)),globals=require('../../helpers/globals'),logger=require(a32_0x5ef54e(0x22b))[a32_0x5ef54e(0x224)],{shouldProcessEventForTesthub}=require(a32_0x5ef54e(0x21c)),testHubConstants=require(a32_0x5ef54e(0x230));function a32_0x146b(_0x3e8ca9,_0x2fdef7){const _0x3a6623=a32_0x3a66();return a32_0x146b=function(_0x146b3e,_0x14cba9){_0x146b3e=_0x146b3e-0x1ca;let _0x30b57f=_0x3a6623[_0x146b3e];return _0x30b57f;},a32_0x146b(_0x3e8ca9,_0x2fdef7);}exports[a32_0x5ef54e(0x204)]={'beforeAll'(){const _0x5ada1a=a32_0x5ef54e,_0x300712={'vGJpY':function(_0x3d208a,_0x4a6c31,_0x465940,_0x3d04d4){return _0x3d208a(_0x4a6c31,_0x465940,_0x3d04d4);},'CaNsl':_0x5ada1a(0x1e8),'TQjgo':_0x5ada1a(0x1e1),'Vufpc':function(_0x3f1b7c,_0x3b4a83,_0x4845d6){return _0x3f1b7c(_0x3b4a83,_0x4845d6);},'CkjAT':_0x5ada1a(0x20e),'qBCmL':function(_0x17260c){return _0x17260c();},'kPvnG':function(_0x4af5cf,_0x5665c0,_0x16ab81){return _0x4af5cf(_0x5665c0,_0x16ab81);}};PerformanceTester['startMonitoring']();const _0x2bbe68='browserstack internal helper hook';global[_0x5ada1a(0x213)]=[],global[_0x5ada1a(0x24a)]=![],global[_0x5ada1a(0x238)]=async()=>{const _0x39a38c=_0x5ada1a;let _0x269dde=![];try{await global[_0x39a38c(0x21a)][0x0][_0x39a38c(0x205)],_0x269dde=!![],global[_0x39a38c(0x24a)]?await _0x300712[_0x39a38c(0x211)](markSessionStatus,global[_0x39a38c(0x21a)][0x0],_0x300712[_0x39a38c(0x1fc)],global[_0x39a38c(0x213)][_0x39a38c(0x227)](_0x300712[_0x39a38c(0x1e4)])):await _0x300712[_0x39a38c(0x229)](markSessionStatus,global[_0x39a38c(0x21a)][0x0],_0x300712['CkjAT']);}catch(_0x5b383a){}global[_0x39a38c(0x213)]=[],global[_0x39a38c(0x24a)]=![];if(_0x269dde)try{try{_0x300712[_0x39a38c(0x1d4)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x300712[_0x39a38c(0x232)](sendPlatformDetails,global['__drivers'][0x0],this[_0x39a38c(0x1cd)]?this[_0x39a38c(0x1cd)][_0x39a38c(0x23a)]:null));}catch{}await global[_0x39a38c(0x21a)][0x0][_0x39a38c(0x233)]();}catch(_0x33543c){}};},'beforeEach'(_0x46eede){const _0x7ae1cb=a32_0x5ef54e,_0x5aa815={'hbroF':function(_0x42fe63,_0x469b70){return _0x42fe63>_0x469b70;},'oASfZ':_0x7ae1cb(0x1f0),'eFTBZ':function(_0x1d3883,_0x20d90b,_0x3b816c){return _0x1d3883(_0x20d90b,_0x3b816c);},'wUxqH':_0x7ae1cb(0x1e3),'YEHiH':function(_0x1a1455){return _0x1a1455();},'qaWKq':_0x7ae1cb(0x20c),'Huasd':function(_0x14c20f,_0x62e3ea){return _0x14c20f===_0x62e3ea;},'KAIOV':_0x7ae1cb(0x249),'pKJJF':function(_0x18e9fd,_0x5d18e7){return _0x18e9fd===_0x5d18e7;},'LAsbv':'https:','GbunN':_0x7ae1cb(0x246),'iYibb':_0x7ae1cb(0x1ea),'XATDN':function(_0x1348b4){return _0x1348b4();}};new Promise(async _0x443a82=>{const _0x57d940=_0x7ae1cb,_0x1fa1d4='browserstack internal helper hook';let _0x15c022=!![];try{_0x5aa815[_0x57d940(0x235)](global['__drivers']['length'],0x1)&&(await global['driverCleanup'](),global[_0x57d940(0x21a)][_0x57d940(0x237)]()),_0x5aa815[_0x57d940(0x235)](global[_0x57d940(0x21a)][0x0][_0x57d940(0x1d9)],0x0)&&(_0x15c022=![],await global[_0x57d940(0x238)]());}catch{}try{Array[_0x57d940(0x210)](global['__drivers'])&&global[_0x57d940(0x21a)][0x0]&&(global[_0x57d940(0x21a)][0x0][_0x57d940(0x241)]=this[_0x57d940(0x1cd)][_0x57d940(0x1d6)]()[_0x57d940(0x227)](_0x5aa815[_0x57d940(0x248)])),global[_0x57d940(0x241)]=this[_0x57d940(0x1cd)][_0x57d940(0x1d6)]()[_0x57d940(0x227)](_0x5aa815[_0x57d940(0x248)]);}catch(_0xc109ff){logger[_0x57d940(0x1fe)](_0x57d940(0x22c)+_0xc109ff);}this[_0x57d940(0x1cd)][_0x57d940(0x200)]=_0x5aa815[_0x57d940(0x22d)](shouldScanTestForAccessibility,this[_0x57d940(0x1cd)][_0x57d940(0x1d6)](),!![]),globals['setGlobal'](_0x5aa815[_0x57d940(0x1f8)],this[_0x57d940(0x1cd)]['shouldScanTestForAccessibility']),this['currentTest']['accessibilityScanStarted']=!![];if(_0x5aa815[_0x57d940(0x222)](isAccessibilityAutomationSession)&&_0x15c022&&Array[_0x57d940(0x210)](global[_0x57d940(0x21a)])&&_0x5aa815['hbroF'](global[_0x57d940(0x21a)]['length'],0x0)&&globals[_0x57d940(0x1f1)](_0x5aa815[_0x57d940(0x22e)]))try{const _0x4bf9a0=await global['__drivers'][0x0][_0x57d940(0x205)];if(_0x4bf9a0){let _0x30a6a9=!![];const _0x3233c5=await global[_0x57d940(0x21a)][0x0][_0x57d940(0x1f5)]();let _0x46489e;try{_0x46489e=new URL(_0x3233c5);}catch(_0x592454){_0x30a6a9=![];}_0x30a6a9=_0x5aa815[_0x57d940(0x1d1)](_0x46489e[_0x57d940(0x20a)],_0x5aa815[_0x57d940(0x1f9)])||_0x5aa815[_0x57d940(0x1ce)](_0x46489e['protocol'],_0x5aa815[_0x57d940(0x1fb)]),_0x30a6a9&&(this[_0x57d940(0x1cd)][_0x57d940(0x200)]&&logger['info'](_0x5aa815[_0x57d940(0x1fd)])),this[_0x57d940(0x1cd)]['accessibilityScanStarted']=this[_0x57d940(0x1cd)][_0x57d940(0x200)],this['currentTest']['shouldScanTestForAccessibility']&&logger[_0x57d940(0x231)](_0x5aa815[_0x57d940(0x1e6)]);}}catch(_0x326804){logger[_0x57d940(0x22f)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x57d940(0x21f)](_0x326804));}_0x5aa815[_0x57d940(0x1f7)](_0x443a82);})['then'](_0x46eede);},'afterEach'(_0x2304cb){const _0x5839e6=a32_0x5ef54e,_0x4038f2={'eclvp':function(_0x58111e,_0x2e17a3){return _0x58111e>_0x2e17a3;},'tjTvX':function(_0x53b07f,_0x277a96){return _0x53b07f===_0x277a96;},'dtGRo':'testcase','zrsEH':function(_0x310fa3,_0x489f23){return _0x310fa3>_0x489f23;},'NAMYG':_0x5839e6(0x20d),'BIGrg':function(_0x24ebcd,_0x1d9d9d,_0x109e65,_0x4d28e8){return _0x24ebcd(_0x1d9d9d,_0x109e65,_0x4d28e8);},'BGNvl':_0x5839e6(0x1f0),'LZkPx':function(_0x25533b,_0x1b50fd){return _0x25533b!==_0x1b50fd;},'eZfvE':_0x5839e6(0x20e),'RozXu':function(_0x4895b4,_0x4a0b8c,_0x4c0744){return _0x4895b4(_0x4a0b8c,_0x4c0744);},'vPIkI':function(_0x3fa48d,_0x4d164d){return _0x3fa48d+_0x4d164d;},'jZHZR':_0x5839e6(0x1ff),'EWsyp':_0x5839e6(0x22f),'hEzBV':function(_0x20bd39,_0x532907,_0x204dc4){return _0x20bd39(_0x532907,_0x204dc4);},'yXYGh':_0x5839e6(0x209),'GpCAv':'info','OrgqV':_0x5839e6(0x20c),'rvkAe':_0x5839e6(0x1e3),'GaEtA':_0x5839e6(0x1db),'nkSRA':_0x5839e6(0x226),'nwVXX':_0x5839e6(0x23e),'hTffS':function(_0xa69a49){return _0xa69a49();},'waCTL':function(_0x36e31b,_0x3623ee,_0x4ad65b){return _0x36e31b(_0x3623ee,_0x4ad65b);},'keufA':function(_0x41ad78){return _0x41ad78();},'TUPVD':_0x5839e6(0x1fe),'PQoEj':function(_0x702039,_0x513243){return _0x702039>_0x513243;}},_0x42617b='browserstack internal helper hook';this[_0x5839e6(0x240)](0xfde8);const _0x2b6253=async(_0x2c629c,_0x369822)=>{const _0x58c439=_0x5839e6;await global[_0x58c439(0x21a)][0x0][_0x58c439(0x1dd)](_0x58c439(0x202)+_0x2c629c+_0x58c439(0x212)+_0x369822+_0x58c439(0x201));};new Promise(async _0x33e945=>{const _0x231ff0=_0x5839e6;try{_0x4038f2[_0x231ff0(0x1d7)](global['__drivers'][_0x231ff0(0x218)],0x1)&&(await global[_0x231ff0(0x238)](),global[_0x231ff0(0x21a)][_0x231ff0(0x237)](),global[_0x231ff0(0x213)]=[],global[_0x231ff0(0x24a)]=![]);try{if(global[_0x231ff0(0x216)]&&_0x4038f2[_0x231ff0(0x1e0)](global[_0x231ff0(0x1f2)],_0x4038f2['dtGRo'])&&global[_0x231ff0(0x21a)][0x0]){const _0x27bb06=_0x4038f2[_0x231ff0(0x1eb)](global[_0x231ff0(0x24b)][_0x231ff0(0x218)],0x0)?!!global[_0x231ff0(0x24b)][0x0][_0x231ff0(0x244)]||!!global[_0x231ff0(0x24b)][0x0][_0x4038f2[_0x231ff0(0x23b)]]:![],_0x311742={};_0x311742[_0x231ff0(0x244)]=_0x27bb06,await _0x4038f2[_0x231ff0(0x206)](percyAutoCapture,global[_0x231ff0(0x21a)][0x0],_0x4038f2[_0x231ff0(0x228)],_0x311742);}}catch(_0x5eaa8f){}!global['__skipSessionName']&&(await global[_0x231ff0(0x21a)][0x0][_0x231ff0(0x1dd)](_0x231ff0(0x214)+JSON[_0x231ff0(0x1e5)](this[_0x231ff0(0x1cd)]['titlePath']()['join'](_0x4038f2[_0x231ff0(0x24d)]))+'}}'),global[_0x231ff0(0x21a)][0x0]['sessionNameSet__']=!![]);const _0x58b924=_0x4038f2[_0x231ff0(0x236)](this['currentTest']['state'],_0x4038f2[_0x231ff0(0x20b)]);_0x58b924?(global[_0x231ff0(0x24a)]=!![],global['__error_messages__'][_0x231ff0(0x21d)](this[_0x231ff0(0x1cd)]['err'][_0x231ff0(0x1cc)]),await _0x4038f2[_0x231ff0(0x1ee)](_0x2b6253,JSON['stringify'](_0x4038f2[_0x231ff0(0x1d0)](_0x4038f2[_0x231ff0(0x1d3)],this[_0x231ff0(0x1cd)][_0x231ff0(0x1df)][_0x231ff0(0x1cc)])),_0x4038f2[_0x231ff0(0x1e2)])):await _0x4038f2['hEzBV'](_0x2b6253,JSON[_0x231ff0(0x1e5)](_0x4038f2['yXYGh']),_0x4038f2[_0x231ff0(0x215)]);}catch(_0x181168){}try{if(this[_0x231ff0(0x1cd)]['accessibilityScanStarted']&&globals['getGlobal'](_0x4038f2[_0x231ff0(0x203)])&&globals['getGlobal'](_0x4038f2[_0x231ff0(0x247)])){logger[_0x231ff0(0x231)](_0x4038f2[_0x231ff0(0x1ec)]);const _0x199d03={};_0x199d03['thTestRunUuid']=this[_0x231ff0(0x1cd)][_0x231ff0(0x23a)],_0x199d03[_0x231ff0(0x223)]=process[_0x231ff0(0x225)][testHubConstants['ENV_VAR'][_0x231ff0(0x234)]],_0x199d03[_0x231ff0(0x1f6)]=process['env'][testHubConstants[_0x231ff0(0x1de)][_0x231ff0(0x23c)]];const _0x1be865=_0x199d03;logger[_0x231ff0(0x1fe)](_0x231ff0(0x23d)+JSON[_0x231ff0(0x1e5)](_0x1be865)),logger[_0x231ff0(0x1fe)](_0x4038f2[_0x231ff0(0x245)]),logger[_0x231ff0(0x1fe)](util[_0x231ff0(0x21f)](await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x231ff0(0x1fa)],{'method':global[_0x231ff0(0x241)]}))),await global[_0x231ff0(0x21a)][0x0][_0x231ff0(0x1d2)](scripts[_0x231ff0(0x242)],_0x1be865),logger[_0x231ff0(0x231)](_0x4038f2[_0x231ff0(0x1ca)]);}}catch(_0x37ea44){logger[_0x231ff0(0x22f)](_0x231ff0(0x217)+this[_0x231ff0(0x1cd)][_0x231ff0(0x1d6)]()+_0x231ff0(0x243),_0x37ea44);}try{try{if(_0x4038f2[_0x231ff0(0x22a)](shouldProcessEventForTesthub)){global[_0x231ff0(0x21a)][0x0]&&await _0x4038f2['waCTL'](sendPlatformDetails,global[_0x231ff0(0x21a)][0x0],this[_0x231ff0(0x1cd)]?this[_0x231ff0(0x1cd)][_0x231ff0(0x23a)]:null);if(_0x4038f2['keufA'](isBrowserstackInfra)){const _0x37b290=_0x231ff0(0x239)+Date[_0x231ff0(0x24c)]();await _0x4038f2[_0x231ff0(0x1e7)](_0x2b6253,JSON['stringify'](_0x37b290),_0x4038f2[_0x231ff0(0x1f4)]);}}}catch{}_0x4038f2[_0x231ff0(0x220)](global[_0x231ff0(0x21a)][0x0][_0x231ff0(0x1d9)],0x0)&&await global[_0x231ff0(0x238)]();}catch(_0x579824){}_0x4038f2[_0x231ff0(0x1ed)](_0x33e945);})[_0x5839e6(0x1da)](()=>_0x2304cb());},'afterAll'(_0x5ecc9b){const _0x15db40=a32_0x5ef54e,_0x23a6f3={'gFUuA':function(_0x526881){return _0x526881();}},_0xfa93a0='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x23e595=>{const _0x303ddb=a32_0x146b;PerformanceTester[_0x303ddb(0x1ef)](),await global[_0x303ddb(0x238)](),_0x23a6f3[_0x303ddb(0x21b)](_0x23e595);})[_0x15db40(0x1da)](()=>_0x5ecc9b());}};function a32_0x3a66(){const _0x148767=['PQoEj','305760mHwdxA','YEHiH','thBuildUuid','winstonLogger','env','Performing\x20scan\x20before\x20saving\x20results','join','dtGRo','Vufpc','hTffS','../../helpers/logger','Failed\x20to\x20store\x20session\x20name:\x20','eFTBZ','qaWKq','error','../../helpers/testhub/constants','info','kPvnG','initQuit','BROWSERSTACK_TESTHUB_UUID','hbroF','LZkPx','shift','driverCleanup','ObservabilitySync:','testAnalyticsId','NAMYG','BROWSERSTACK_TESTHUB_JWT','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','../../helpers/accessibility-automation/scripts','timeout','browserstackSessionName','saveTestResults','.\x20Error\x20:','app','nkSRA','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','rvkAe','oASfZ','http:','__sessionFailed','capabilities','now','BGNvl','nwVXX','./test-observability/mochaUtils','message','currentTest','pKJJF','33795stnGch','vPIkI','Huasd','executeAsyncScript','jZHZR','qBCmL','../../helpers/accessibility-automation/helper','titlePath','eclvp','21272EmCGfd','quitCount_','then','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','66366wzhOlM','executeScript','ENV_VAR','err','tjTvX','\x20|\x20','EWsyp','bstackA11yShouldScan','TQjgo','stringify','iYibb','waCTL','failed','2646492IEHZfJ','Automate\x20test\x20case\x20execution\x20has\x20started.','zrsEH','GaEtA','keufA','RozXu','stopMonitoring','\x20-\x20','getGlobal','percyCaptureMode','1085HoWWxW','TUPVD','getCurrentUrl','thJwtToken','XATDN','wUxqH','KAIOV','performScan','LAsbv','CaNsl','GbunN','debug','Failed:\x20','shouldScanTestForAccessibility','\x22}}','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','OrgqV','mochaHooks','session_','BIGrg','../../helpers/performance-tester','../../helpers/helper','Passed','protocol','eZfvE','isAccessibilityPlatform','appium:app','passed','435308jwxPhE','isArray','vGJpY',',\x22level\x22:\x20\x22','__error_messages__','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','GpCAv','percy','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','length','util','__drivers','gFUuA','../../helpers/testhub/utils','push','671187LAQBmJ','format'];a32_0x3a66=function(){return _0x148767;};return a32_0x3a66();}
1
+ function a32_0x2597(){const _0x30a37a=['isArray','BROWSERSTACK_TESTHUB_UUID','__skipSessionName','debug','356543pSPrSD','uKwJc','1594179klfNWx','executeAsyncScript','https:','xGYkL','RdRtf','KAMKt','WWoqw','../../helpers/testhub/utils','quitCount_','TPiea','./test-observability/mochaUtils','performScan','zUHhp','Failed\x20to\x20store\x20session\x20name:\x20','VczeL','MNZZX','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','2JbsvHW','stringify','jbAgO','format','175sYzvSW','WYSRm','__error_messages__','timeout','yxwiS','initQuit','capabilities','shouldScanTestForAccessibility','lZPQN','3822008hVCesD','thTestRunUuid','../../helpers/helper','Passed','__sessionFailed','mochaHooks','error','then','join','LYmSd','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','hqKaZ','JnAMl','Performing\x20scan\x20before\x20saving\x20results','66850jRBhAa','protocol','browserstackSessionName','../../helpers/testhub/constants','.\x20Error\x20:','startMonitoring','getGlobal','passed','rQeMe','__drivers','info','now','thJwtToken','sessionNameSet__','bstackA11yShouldScan','ykEUT',',\x22level\x22:\x20\x22','BxajY','push','BGRpY','state','GTdSF','driverCleanup','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','getCurrentUrl','LMyIV','../../helpers/accessibility-automation/scripts','testAnalyticsId','titlePath','lMwZA','executeScript','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','QNgTP','ENV_VAR','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','isAccessibilityPlatform','PtftH','appium:app','EJxDd','thBuildUuid','4ecOspo','waxsr','winstonLogger','currentTest','message','pPwBe','oTrUR','testcase','ObservabilitySync:','TZKRp','2927410ejEtPK','\x20-\x20','env','../../helpers/globals','7884nUNSAe','length','Hphop','zxKdS','\x22}}','1572243Sgoatj','aHQiN','CjRCR','SmueB','accessibilityScanStarted','app','util','shift','session_','err'];a32_0x2597=function(){return _0x30a37a;};return a32_0x2597();}const a32_0x3a2468=a32_0x4a72;(function(_0x1432fe,_0xf91645){const _0x5b5818=a32_0x4a72,_0x4013e0=_0x1432fe();while(!![]){try{const _0x58e6be=parseInt(_0x5b5818(0x10c))/0x1*(parseInt(_0x5b5818(0x11f))/0x2)+-parseInt(_0x5b5818(0x175))/0x3*(-parseInt(_0x5b5818(0x162))/0x4)+parseInt(_0x5b5818(0x13a))/0x5+parseInt(_0x5b5818(0x170))/0x6*(-parseInt(_0x5b5818(0x123))/0x7)+-parseInt(_0x5b5818(0x12c))/0x8+parseInt(_0x5b5818(0x10e))/0x9+-parseInt(_0x5b5818(0x16c))/0xa;if(_0x58e6be===_0xf91645)break;else _0x4013e0['push'](_0x4013e0['shift']());}catch(_0x2600da){_0x4013e0['push'](_0x4013e0['shift']());}}}(a32_0x2597,0x41607));function a32_0x4a72(_0x4962a7,_0xaac7c1){const _0x259753=a32_0x2597();return a32_0x4a72=function(_0x4a72ee,_0x32bbc5){_0x4a72ee=_0x4a72ee-0x10b;let _0x235e4f=_0x259753[_0x4a72ee];return _0x235e4f;},a32_0x4a72(_0x4962a7,_0xaac7c1);}const util=require(a32_0x3a2468(0x17b)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x3a2468(0x118)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x3a2468(0x12e)),PerformanceTester=require('../../helpers/performance-tester'),scripts=require(a32_0x3a2468(0x154)),globals=require(a32_0x3a2468(0x16f)),logger=require('../../helpers/logger')[a32_0x3a2468(0x164)],{shouldProcessEventForTesthub}=require(a32_0x3a2468(0x115)),testHubConstants=require(a32_0x3a2468(0x13d));exports[a32_0x3a2468(0x131)]={'beforeAll'(){const _0xebe989=a32_0x3a2468,_0x2381f5={'jbAgO':function(_0x373d41,_0x5cd852,_0x216a57,_0x5b4e41){return _0x373d41(_0x5cd852,_0x216a57,_0x5b4e41);},'Hphop':'failed','hqKaZ':'\x20|\x20','zxKdS':function(_0x585e07,_0x2af4d1,_0x62975c){return _0x585e07(_0x2af4d1,_0x62975c);},'BGRpY':_0xebe989(0x141),'lZPQN':function(_0x4026b9){return _0x4026b9();},'WWoqw':function(_0x3d60f4,_0x32bfd7,_0x17c81c){return _0x3d60f4(_0x32bfd7,_0x17c81c);}};PerformanceTester[_0xebe989(0x13f)]();const _0x421de9='browserstack internal helper hook';global[_0xebe989(0x125)]=[],global[_0xebe989(0x130)]=![],global[_0xebe989(0x150)]=async()=>{const _0x135538=_0xebe989;let _0x259cf9=![];try{await global[_0x135538(0x143)][0x0]['session_'],_0x259cf9=!![],global[_0x135538(0x130)]?await _0x2381f5[_0x135538(0x121)](markSessionStatus,global[_0x135538(0x143)][0x0],_0x2381f5[_0x135538(0x172)],global[_0x135538(0x125)][_0x135538(0x134)](_0x2381f5[_0x135538(0x137)])):await _0x2381f5[_0x135538(0x173)](markSessionStatus,global[_0x135538(0x143)][0x0],_0x2381f5[_0x135538(0x14d)]);}catch(_0x55b115){}global['__error_messages__']=[],global[_0x135538(0x130)]=![];if(_0x259cf9)try{try{_0x2381f5[_0x135538(0x12b)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x2381f5[_0x135538(0x114)](sendPlatformDetails,global[_0x135538(0x143)][0x0],this[_0x135538(0x165)]?this[_0x135538(0x165)][_0x135538(0x155)]:null));}catch{}await global[_0x135538(0x143)][0x0][_0x135538(0x128)]();}catch(_0x4504da){}};},'beforeEach'(_0x29c3cd){const _0x316954=a32_0x3a2468,_0x53560d={'ZzLjK':function(_0x5a1f64,_0x5ed1da){return _0x5a1f64>_0x5ed1da;},'TPiea':function(_0x19acf6,_0x58a19c){return _0x19acf6>_0x58a19c;},'RdRtf':'\x20-\x20','VczeL':function(_0x55ac8f,_0x46926f,_0x24d1a3){return _0x55ac8f(_0x46926f,_0x24d1a3);},'ykEUT':_0x316954(0x148),'waxsr':function(_0x54bee7){return _0x54bee7();},'cqVGb':function(_0x361c19,_0x25f3c5){return _0x361c19>_0x25f3c5;},'PtftH':_0x316954(0x15d),'yxwiS':function(_0x4ee5d5,_0x3310f2){return _0x4ee5d5===_0x3310f2;},'uKwJc':'http:','aHQiN':function(_0x24a51a,_0x38f73d){return _0x24a51a===_0x38f73d;},'BxajY':_0x316954(0x110),'JUDYW':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','KAMKt':'Automate\x20test\x20case\x20execution\x20has\x20started.'};new Promise(async _0x161134=>{const _0x54bbab=_0x316954,_0x4326c0='browserstack internal helper hook';let _0x106a34=!![];try{_0x53560d['ZzLjK'](global[_0x54bbab(0x143)]['length'],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x54bbab(0x17c)]()),_0x53560d[_0x54bbab(0x117)](global[_0x54bbab(0x143)][0x0][_0x54bbab(0x116)],0x0)&&(_0x106a34=![],await global['driverCleanup']());}catch{}try{Array['isArray'](global['__drivers'])&&global['__drivers'][0x0]&&(global[_0x54bbab(0x143)][0x0][_0x54bbab(0x13c)]=this['currentTest'][_0x54bbab(0x156)]()[_0x54bbab(0x134)](_0x53560d[_0x54bbab(0x112)])),global[_0x54bbab(0x13c)]=this[_0x54bbab(0x165)][_0x54bbab(0x156)]()[_0x54bbab(0x134)](_0x53560d[_0x54bbab(0x112)]);}catch(_0x1be709){logger[_0x54bbab(0x10b)](_0x54bbab(0x11b)+_0x1be709);}this['currentTest'][_0x54bbab(0x12a)]=_0x53560d[_0x54bbab(0x11c)](shouldScanTestForAccessibility,this[_0x54bbab(0x165)][_0x54bbab(0x156)](),!![]),globals['setGlobal'](_0x53560d[_0x54bbab(0x149)],this[_0x54bbab(0x165)][_0x54bbab(0x12a)]),this[_0x54bbab(0x165)][_0x54bbab(0x179)]=!![];if(_0x53560d[_0x54bbab(0x163)](isAccessibilityAutomationSession)&&_0x106a34&&Array[_0x54bbab(0x17f)](global[_0x54bbab(0x143)])&&_0x53560d['cqVGb'](global[_0x54bbab(0x143)]['length'],0x0)&&globals[_0x54bbab(0x140)](_0x53560d[_0x54bbab(0x15e)]))try{const _0x3dadd9=await global[_0x54bbab(0x143)][0x0][_0x54bbab(0x17d)];if(_0x3dadd9){let _0x39f081=!![];const _0x250bd3=await global[_0x54bbab(0x143)][0x0][_0x54bbab(0x152)]();let _0x2e322c;try{_0x2e322c=new URL(_0x250bd3);}catch(_0x4ce75b){_0x39f081=![];}_0x39f081=_0x53560d[_0x54bbab(0x127)](_0x2e322c[_0x54bbab(0x13b)],_0x53560d[_0x54bbab(0x10d)])||_0x53560d[_0x54bbab(0x176)](_0x2e322c[_0x54bbab(0x13b)],_0x53560d[_0x54bbab(0x14b)]),_0x39f081&&(this['currentTest'][_0x54bbab(0x12a)]&&logger[_0x54bbab(0x144)](_0x53560d['JUDYW'])),this[_0x54bbab(0x165)][_0x54bbab(0x179)]=this[_0x54bbab(0x165)][_0x54bbab(0x12a)],this[_0x54bbab(0x165)]['shouldScanTestForAccessibility']&&logger['info'](_0x53560d[_0x54bbab(0x113)]);}}catch(_0x17badd){logger[_0x54bbab(0x132)](_0x54bbab(0x136)+util[_0x54bbab(0x122)](_0x17badd));}_0x53560d[_0x54bbab(0x163)](_0x161134);})[_0x316954(0x133)](_0x29c3cd);},'afterEach'(_0x1345f2){const _0x1e00d2=a32_0x3a2468,_0x3b8498={'LMyIV':function(_0x3f38e1,_0x4f736b){return _0x3f38e1>_0x4f736b;},'MNZZX':function(_0x1f61ea,_0x2e4690){return _0x1f61ea===_0x2e4690;},'xGYkL':_0x1e00d2(0x169),'EJxDd':function(_0x785cb1,_0x48b482){return _0x785cb1>_0x48b482;},'lMwZA':_0x1e00d2(0x15f),'jLabk':function(_0x5d9f35,_0x408dc2,_0x513c10,_0x37485c){return _0x5d9f35(_0x408dc2,_0x513c10,_0x37485c);},'thTIU':_0x1e00d2(0x16d),'hPBus':function(_0x42e90a,_0x4409cc){return _0x42e90a!==_0x4409cc;},'KnGGI':_0x1e00d2(0x141),'WYSRm':function(_0x134191,_0x28c8ee,_0x14c9e4){return _0x134191(_0x28c8ee,_0x14c9e4);},'cNWnS':function(_0xb4be93,_0xbe6049){return _0xb4be93+_0xbe6049;},'TZKRp':'Failed:\x20','WTaIh':'error','oTrUR':_0x1e00d2(0x12f),'LYmSd':_0x1e00d2(0x144),'TrqMb':_0x1e00d2(0x15d),'CjRCR':_0x1e00d2(0x148),'JnAMl':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','SmueB':_0x1e00d2(0x139),'GTdSF':_0x1e00d2(0x15c),'QNgTP':function(_0x1dfb0e){return _0x1dfb0e();},'zUHhp':function(_0x7591d3,_0x1e7c85,_0xbae571){return _0x7591d3(_0x1e7c85,_0xbae571);},'pPwBe':_0x1e00d2(0x10b)},_0x198baa='browserstack internal helper hook';this[_0x1e00d2(0x126)](0xfde8);const _0x4ff486=async(_0x48c628,_0x43312c)=>{const _0x52db4b=_0x1e00d2;await global['__drivers'][0x0][_0x52db4b(0x158)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x48c628+_0x52db4b(0x14a)+_0x43312c+_0x52db4b(0x174));};new Promise(async _0x329121=>{const _0x3983fe=_0x1e00d2;try{_0x3b8498['LMyIV'](global[_0x3983fe(0x143)][_0x3983fe(0x171)],0x1)&&(await global[_0x3983fe(0x150)](),global[_0x3983fe(0x143)][_0x3983fe(0x17c)](),global[_0x3983fe(0x125)]=[],global[_0x3983fe(0x130)]=![]);try{if(global['percy']&&_0x3b8498[_0x3983fe(0x11d)](global['percyCaptureMode'],_0x3b8498['xGYkL'])&&global['__drivers'][0x0]){const _0x591cf2=_0x3b8498[_0x3983fe(0x160)](global['capabilities'][_0x3983fe(0x171)],0x0)?!!global[_0x3983fe(0x129)][0x0][_0x3983fe(0x17a)]||!!global[_0x3983fe(0x129)][0x0][_0x3b8498[_0x3983fe(0x157)]]:![],_0x406667={};_0x406667['app']=_0x591cf2,await _0x3b8498['jLabk'](percyAutoCapture,global[_0x3983fe(0x143)][0x0],_0x3b8498[_0x3983fe(0x111)],_0x406667);}}catch(_0x33efdf){}!global[_0x3983fe(0x181)]&&(await global[_0x3983fe(0x143)][0x0][_0x3983fe(0x158)](_0x3983fe(0x11e)+JSON[_0x3983fe(0x120)](this['currentTest'][_0x3983fe(0x156)]()[_0x3983fe(0x134)](_0x3b8498['thTIU']))+'}}'),global['__drivers'][0x0][_0x3983fe(0x147)]=!![]);const _0x1b2182=_0x3b8498['hPBus'](this[_0x3983fe(0x165)][_0x3983fe(0x14e)],_0x3b8498['KnGGI']);_0x1b2182?(global['__sessionFailed']=!![],global['__error_messages__'][_0x3983fe(0x14c)](this['currentTest'][_0x3983fe(0x17e)][_0x3983fe(0x166)]),await _0x3b8498['WYSRm'](_0x4ff486,JSON[_0x3983fe(0x120)](_0x3b8498['cNWnS'](_0x3b8498[_0x3983fe(0x16b)],this[_0x3983fe(0x165)][_0x3983fe(0x17e)][_0x3983fe(0x166)])),_0x3b8498['WTaIh'])):await _0x3b8498[_0x3983fe(0x124)](_0x4ff486,JSON[_0x3983fe(0x120)](_0x3b8498[_0x3983fe(0x168)]),_0x3b8498[_0x3983fe(0x135)]);}catch(_0x2babaa){}try{if(this[_0x3983fe(0x165)][_0x3983fe(0x179)]&&globals['getGlobal'](_0x3b8498['TrqMb'])&&globals[_0x3983fe(0x140)](_0x3b8498[_0x3983fe(0x177)])){logger[_0x3983fe(0x144)](_0x3b8498[_0x3983fe(0x138)]);const _0x5be826={};_0x5be826[_0x3983fe(0x12d)]=this[_0x3983fe(0x165)][_0x3983fe(0x155)],_0x5be826[_0x3983fe(0x161)]=process[_0x3983fe(0x16e)][testHubConstants[_0x3983fe(0x15b)][_0x3983fe(0x180)]],_0x5be826[_0x3983fe(0x146)]=process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x2b5257=_0x5be826;logger[_0x3983fe(0x10b)](_0x3983fe(0x151)+JSON['stringify'](_0x2b5257)),logger['debug'](_0x3b8498[_0x3983fe(0x178)]),logger[_0x3983fe(0x10b)](util[_0x3983fe(0x122)](await global[_0x3983fe(0x143)][0x0][_0x3983fe(0x10f)](scripts[_0x3983fe(0x119)],{'method':global['browserstackSessionName']}))),await global['__drivers'][0x0][_0x3983fe(0x10f)](scripts['saveTestResults'],_0x2b5257),logger[_0x3983fe(0x144)](_0x3b8498[_0x3983fe(0x14f)]);}}catch(_0x3f8771){logger[_0x3983fe(0x132)](_0x3983fe(0x159)+this[_0x3983fe(0x165)][_0x3983fe(0x156)]()+_0x3983fe(0x13e),_0x3f8771);}try{try{if(_0x3b8498[_0x3983fe(0x15a)](shouldProcessEventForTesthub)){global[_0x3983fe(0x143)][0x0]&&await _0x3b8498[_0x3983fe(0x124)](sendPlatformDetails,global['__drivers'][0x0],this[_0x3983fe(0x165)]?this[_0x3983fe(0x165)]['testAnalyticsId']:null);if(_0x3b8498[_0x3983fe(0x15a)](isBrowserstackInfra)){const _0x433150=_0x3983fe(0x16a)+Date[_0x3983fe(0x145)]();await _0x3b8498[_0x3983fe(0x11a)](_0x4ff486,JSON[_0x3983fe(0x120)](_0x433150),_0x3b8498[_0x3983fe(0x167)]);}}}catch{}_0x3b8498[_0x3983fe(0x153)](global[_0x3983fe(0x143)][0x0][_0x3983fe(0x116)],0x0)&&await global['driverCleanup']();}catch(_0x50939c){}_0x3b8498[_0x3983fe(0x15a)](_0x329121);})[_0x1e00d2(0x133)](()=>_0x1345f2());},'afterAll'(_0x368b23){const _0x1d7ee9=a32_0x3a2468,_0x229113={'rQeMe':function(_0x111b73){return _0x111b73();}},_0x3c1105='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x5b86c3=>{const _0x4c7d77=a32_0x4a72;PerformanceTester['stopMonitoring'](),await global[_0x4c7d77(0x150)](),_0x229113[_0x4c7d77(0x142)](_0x5b86c3);})[_0x1d7ee9(0x133)](()=>_0x368b23());}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a33_0x1762(){const _0x38f024=['modifyBrowserStackCaps','16834332MnGMNy','HjMVm','wuMHX','port','trim','xyPaT','MyzTK','child_process','--env','platforms','inherit','split','slice','test_settings','JbHCT','Jxddh','549178tyiHzQ','push','grMKx','2276547XDDAMO','bIBCk','modifyBrowserStackW3CCaps','unlinkSync','22532LPJdOi','nightwatch.conf.js','bEYFN','795EgsgPA','findIndex','1810xFCvLS','info','nightwatch.json','filter','writeFileSync','nightwatch.cmd','mergeDeep','platform','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','nightwatch','desiredCapabilities','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','wkJrw','stringify','host','nightwatch-browserstack.json','close','2047362Bkoypq','useW3C','VgKmj','map','wOMPE','MfKXW','splice','2439848PKbVle','11axGbRH','existsSync','tsECv','../../helpers/logger','20RHVEXp','2SFKtzZ','IEIxl','child\x20process\x20exited\x20with\x20code\x20','isUndefined','3492pUaYZe','config','Deleting\x20','exports','--config','../utils/constants','uSWso','forEach','BNetX','join','selenium','now','cwd','ZpIRt','tHuIa','env'];a33_0x1762=function(){return _0x38f024;};return a33_0x1762();}function a33_0x209a(_0x4d616a,_0x41a2e4){const _0x17623e=a33_0x1762();return a33_0x209a=function(_0x209a3a,_0xbc891d){_0x209a3a=_0x209a3a-0xd5;let _0x12051a=_0x17623e[_0x209a3a];return _0x12051a;},a33_0x209a(_0x4d616a,_0x41a2e4);}const a33_0x246b89=a33_0x209a;(function(_0x12725a,_0x392a65){const _0x4e8285=a33_0x209a,_0x177085=_0x12725a();while(!![]){try{const _0x201d25=-parseInt(_0x4e8285(0xe9))/0x1*(parseInt(_0x4e8285(0x10e))/0x2)+parseInt(_0x4e8285(0x118))/0x3*(-parseInt(_0x4e8285(0x115))/0x4)+-parseInt(_0x4e8285(0xe8))/0x5*(-parseInt(_0x4e8285(0xdc))/0x6)+parseInt(_0x4e8285(0x111))/0x7+-parseInt(_0x4e8285(0xe3))/0x8+-parseInt(_0x4e8285(0xed))/0x9*(-parseInt(_0x4e8285(0x11a))/0xa)+-parseInt(_0x4e8285(0xe4))/0xb*(-parseInt(_0x4e8285(0xfe))/0xc);if(_0x201d25===_0x392a65)break;else _0x177085['push'](_0x177085['shift']());}catch(_0x186cfb){_0x177085['push'](_0x177085['shift']());}}}(a33_0x1762,0xc74ba));const fs=require('fs'),path=require('path'),{spawn}=require(a33_0x246b89(0x105)),logger=require(a33_0x246b89(0xe7))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),constants=require(a33_0x246b89(0xf2)),getUserNightwatchConfigs=(_0x314a8b,_0x4f4e3a)=>{const _0x401d03=a33_0x246b89,_0x28f430={'ZpIRt':_0x401d03(0x116),'HjMVm':_0x401d03(0x11c),'tsECv':function(_0x5adb70,_0x2c9e04){return _0x5adb70(_0x2c9e04);},'Jxddh':_0x401d03(0x122)};let _0x2eb3ef=null,_0x366d21={};const _0x4a7adb=_0x4f4e3a[_0x401d03(0x119)](_0x1a5edf=>_0x1a5edf==='--config');if(!helper[_0x401d03(0xec)](_0x314a8b['config'])&&fs['existsSync'](path[_0x401d03(0xf6)](process[_0x401d03(0xf9)](),_0x314a8b[_0x401d03(0xee)])))_0x2eb3ef=path[_0x401d03(0xf6)](process[_0x401d03(0xf9)](),_0x314a8b['config']),_0x4f4e3a[_0x401d03(0xe2)](_0x4a7adb,0x2);else{if(fs[_0x401d03(0xe5)](path['join'](process['cwd'](),_0x28f430[_0x401d03(0xfa)])))_0x2eb3ef=path['join'](process[_0x401d03(0xf9)](),_0x28f430['ZpIRt']);else fs['existsSync'](path[_0x401d03(0xf6)](process[_0x401d03(0xf9)](),_0x28f430[_0x401d03(0xff)]))&&(_0x2eb3ef=path[_0x401d03(0xf6)](process[_0x401d03(0xf9)](),_0x28f430[_0x401d03(0xff)]));}return _0x2eb3ef?(logger[_0x401d03(0x11b)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x2eb3ef),_0x366d21=_0x28f430[_0x401d03(0xe6)](require,_0x2eb3ef)):logger[_0x401d03(0x11b)](_0x28f430[_0x401d03(0x10d)]),_0x366d21;},removeExistingEnvs=_0x2c11c9=>{const _0x4005eb=a33_0x246b89,_0x153b2e={};_0x153b2e[_0x4005eb(0x103)]=function(_0x1d5f7b,_0x3fe06a){return _0x1d5f7b>_0x3fe06a;};const _0x2acba6=_0x153b2e;let _0x59c0cf=_0x2c11c9[_0x4005eb(0x119)](_0x234375=>_0x234375===_0x4005eb(0x106));_0x2acba6[_0x4005eb(0x103)](_0x59c0cf,-0x1)&&_0x2c11c9[_0x4005eb(0xe2)](_0x59c0cf,0x2),_0x59c0cf=_0x2c11c9['findIndex'](_0x4c89af=>_0x4c89af==='-e'),_0x2acba6[_0x4005eb(0x103)](_0x59c0cf,-0x1)&&_0x2c11c9[_0x4005eb(0xe2)](_0x59c0cf,0x2);};function run(_0x2d854e,_0xc24fd6){const _0x4bbfd0=a33_0x246b89,_0x563b94={'MfKXW':_0x4bbfd0(0x123),'VgKmj':function(_0x5d4456,_0x31d18d){return _0x5d4456+_0x31d18d;},'BNetX':_0x4bbfd0(0x10b),'JbHCT':function(_0x11a1a3,_0x272acd,_0x47c443){return _0x11a1a3(_0x272acd,_0x47c443);},'bIBCk':'hub.browserstack.com','bEYFN':_0x4bbfd0(0xd6),'IEIxl':function(_0x16d00a,_0x5b756a){return _0x16d00a===_0x5b756a;},'uSWso':_0x4bbfd0(0xda),'grMKx':function(_0x119c91,_0x1faf2a){return _0x119c91(_0x1faf2a);},'tHuIa':function(_0x446bc9,_0x3dced4,_0x51908f,_0x4362b3){return _0x446bc9(_0x3dced4,_0x51908f,_0x4362b3);},'wkJrw':_0x4bbfd0(0x11f),'wOMPE':_0x4bbfd0(0xf1),'wuMHX':_0x4bbfd0(0x106),'hxSfj':_0x4bbfd0(0x108),'MyzTK':_0x4bbfd0(0xdb)},_0x3dbbc4=new BrowserStackSetup(_0x2d854e);if(!_0x3dbbc4[_0x4bbfd0(0xee)])return;const _0x2818bf=_0x563b94[_0x4bbfd0(0x10c)](getUserNightwatchConfigs,_0x2d854e,_0xc24fd6),_0xab76f3={};_0xab76f3['start_process']=![];const _0x3dbaa1={};_0x3dbaa1[_0x4bbfd0(0xd9)]=_0x563b94[_0x4bbfd0(0x112)],_0x3dbaa1[_0x4bbfd0(0x101)]=0x1bb;const _0x44cb8e={};_0x44cb8e['webdriver']=_0xab76f3,_0x44cb8e[_0x4bbfd0(0xf7)]=_0x3dbaa1;const _0x5cfeb4=_0x44cb8e;logger[_0x4bbfd0(0x11b)](_0x563b94[_0x4bbfd0(0x117)]);const _0x31c1ba={..._0x2818bf},_0x719e4a=_0x31c1ba,_0x3737ea=helper[_0x4bbfd0(0xdd)](_0x3dbbc4['config']),_0x2bded9=[];_0x3dbbc4[_0x4bbfd0(0xee)][_0x4bbfd0(0x107)][_0x4bbfd0(0xf4)]((_0x543a24,_0xc3298f)=>{const _0x363605=_0x4bbfd0;_0x3737ea?_0x2bded9[_0x363605(0x10f)](helper[_0x363605(0x113)](_0x3dbbc4[_0x363605(0xee)],_0x563b94[_0x363605(0xe1)],_0xc3298f)):_0x2bded9[_0x363605(0x10f)](helper[_0x363605(0xfd)](_0x3dbbc4[_0x363605(0xee)],_0x563b94['MfKXW'],_0xc3298f));});const _0x39b3f8={},_0x27c33b=[];_0x2d854e[_0x4bbfd0(0xfc)]=_0x2d854e[_0x4bbfd0(0xfc)]||_0x2d854e['e'];const _0x4edb5e=_0x2d854e[_0x4bbfd0(0xfc)]?_0x2d854e[_0x4bbfd0(0xfc)][_0x4bbfd0(0x102)]()[_0x4bbfd0(0x109)](',')[_0x4bbfd0(0xdf)](_0x3083e3=>_0x3083e3[_0x4bbfd0(0x102)]())[_0x4bbfd0(0x11d)](_0x13bc96=>_0x13bc96!==''):[''];_0x563b94[_0x4bbfd0(0xea)](_0x4edb5e['length'],0x0)&&_0x4edb5e['push']('');_0x4edb5e[_0x4bbfd0(0xf4)](_0x501e19=>{const _0x2ef74c=_0x4bbfd0;_0x2bded9[_0x2ef74c(0xf4)](_0x5b0a4f=>{const _0x531e7e=_0x2ef74c;let _0x42834d=_0x563b94[_0x531e7e(0xde)](helper['getPlatformName'](_0x5b0a4f,'_'),'_'+Date[_0x531e7e(0xf8)]());_0x501e19&&(_0x42834d+='_'+_0x501e19);if(_0x501e19&&(!_0x2818bf[_0x563b94[_0x531e7e(0xf5)]]||!_0x2818bf[_0x563b94[_0x531e7e(0xf5)]][_0x501e19]))return;const _0x34888c={..._0x5cfeb4};_0x34888c[_0x531e7e(0xd5)]=_0x5b0a4f;const _0x425e19=_0x34888c;_0x39b3f8[_0x42834d]=_0x501e19?helper[_0x531e7e(0x120)](_0x2818bf[_0x563b94['BNetX']][_0x501e19],_0x425e19):_0x425e19,_0x27c33b[_0x531e7e(0x10f)](_0x42834d);});});!_0x719e4a['test_settings']&&(_0x719e4a[_0x4bbfd0(0x10b)]={});_0x719e4a['test_settings']={..._0x719e4a[_0x4bbfd0(0x10b)],..._0x39b3f8};const _0xa66449=path[_0x4bbfd0(0xf6)](__dirname,_0x563b94[_0x4bbfd0(0xf3)]);fs[_0x4bbfd0(0x11e)](_0xa66449,JSON[_0x4bbfd0(0xd8)](_0x719e4a)),_0x563b94[_0x4bbfd0(0x110)](removeExistingEnvs,_0xc24fd6);const _0x35e760=_0x563b94[_0x4bbfd0(0xfb)](spawn,/^win/['test'](process[_0x4bbfd0(0x121)])?_0x563b94[_0x4bbfd0(0xd7)]:_0x563b94[_0x4bbfd0(0xe1)],[_0x563b94[_0x4bbfd0(0xe0)],_0xa66449,..._0xc24fd6[_0x4bbfd0(0x10a)](0x1),_0x563b94[_0x4bbfd0(0x100)],_0x27c33b[_0x4bbfd0(0xf6)](',')],{'stdio':_0x563b94['hxSfj']});_0x35e760['on'](_0x563b94[_0x4bbfd0(0x104)],async _0x4f0643=>{const _0x1be2e7=_0x4bbfd0;logger['debug'](_0x1be2e7(0xeb)+_0x4f0643),logger[_0x1be2e7(0x11b)](_0x1be2e7(0xef)+_0xa66449),fs[_0x1be2e7(0x114)](_0xa66449);});}module[a33_0x246b89(0xf0)]=run;
2
+ 'use strict';function a33_0x56a4(_0x4a2795,_0x1c5fca){const _0x517e45=a33_0x517e();return a33_0x56a4=function(_0x56a4a1,_0x4f1a38){_0x56a4a1=_0x56a4a1-0xe1;let _0x3b9291=_0x517e45[_0x56a4a1];return _0x3b9291;},a33_0x56a4(_0x4a2795,_0x1c5fca);}const a33_0x38bf49=a33_0x56a4;(function(_0x30b624,_0x37ddb1){const _0x117d7a=a33_0x56a4,_0x31482c=_0x30b624();while(!![]){try{const _0x342cc2=parseInt(_0x117d7a(0x103))/0x1+parseInt(_0x117d7a(0xfc))/0x2+-parseInt(_0x117d7a(0x119))/0x3+-parseInt(_0x117d7a(0x105))/0x4*(-parseInt(_0x117d7a(0x111))/0x5)+-parseInt(_0x117d7a(0xf7))/0x6*(parseInt(_0x117d7a(0x109))/0x7)+parseInt(_0x117d7a(0xe3))/0x8+-parseInt(_0x117d7a(0x107))/0x9;if(_0x342cc2===_0x37ddb1)break;else _0x31482c['push'](_0x31482c['shift']());}catch(_0x38e562){_0x31482c['push'](_0x31482c['shift']());}}}(a33_0x517e,0x4da94));const fs=require('fs'),path=require(a33_0x38bf49(0xea)),{spawn}=require('child_process'),logger=require('../../helpers/logger')[a33_0x38bf49(0xee)],{default:BrowserStackSetup}=require(a33_0x38bf49(0x123)),helper=require(a33_0x38bf49(0xf2)),constants=require(a33_0x38bf49(0x120)),getUserNightwatchConfigs=(_0x14e9e8,_0x36d9e3)=>{const _0x3520c2=a33_0x38bf49,_0xe3677b={'zJhql':_0x3520c2(0x124),'GrAgk':'nightwatch.json','bbhrB':function(_0x236f11,_0x21280e){return _0x236f11(_0x21280e);},'LttEh':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x54462c=null,_0x5245ea={};const _0x466cef=_0x36d9e3['findIndex'](_0x4afec0=>_0x4afec0===_0x3520c2(0x106));if(!helper[_0x3520c2(0xe5)](_0x14e9e8['config'])&&fs[_0x3520c2(0xfb)](path[_0x3520c2(0x11b)](process[_0x3520c2(0x11c)](),_0x14e9e8['config'])))_0x54462c=path[_0x3520c2(0x11b)](process[_0x3520c2(0x11c)](),_0x14e9e8[_0x3520c2(0x118)]),_0x36d9e3[_0x3520c2(0x117)](_0x466cef,0x2);else{if(fs[_0x3520c2(0xfb)](path[_0x3520c2(0x11b)](process[_0x3520c2(0x11c)](),_0xe3677b[_0x3520c2(0x100)])))_0x54462c=path[_0x3520c2(0x11b)](process[_0x3520c2(0x11c)](),_0xe3677b['zJhql']);else fs['existsSync'](path[_0x3520c2(0x11b)](process[_0x3520c2(0x11c)](),_0xe3677b[_0x3520c2(0xf8)]))&&(_0x54462c=path['join'](process[_0x3520c2(0x11c)](),_0xe3677b['GrAgk']));}return _0x54462c?(logger['info'](_0x3520c2(0x10d)+_0x54462c),_0x5245ea=_0xe3677b['bbhrB'](require,_0x54462c)):logger[_0x3520c2(0xfd)](_0xe3677b[_0x3520c2(0x112)]),_0x5245ea;},removeExistingEnvs=_0x74c700=>{const _0x3151df=a33_0x38bf49,_0x56b963={};_0x56b963['QEmNP']=function(_0xad4aca,_0xfc845f){return _0xad4aca>_0xfc845f;};const _0x342b91=_0x56b963;let _0x1a1c00=_0x74c700[_0x3151df(0xef)](_0xe58215=>_0xe58215===_0x3151df(0xff));_0x342b91[_0x3151df(0x10a)](_0x1a1c00,-0x1)&&_0x74c700[_0x3151df(0x117)](_0x1a1c00,0x2),_0x1a1c00=_0x74c700[_0x3151df(0xef)](_0x34336e=>_0x34336e==='-e'),_0x342b91[_0x3151df(0x10a)](_0x1a1c00,-0x1)&&_0x74c700[_0x3151df(0x117)](_0x1a1c00,0x2);};function run(_0x507635,_0x26a9a6){const _0x2caa71=a33_0x38bf49,_0x5481ba={'DPipK':'nightwatch','ZarPz':function(_0x42c446,_0x32c87e){return _0x42c446+_0x32c87e;},'qvtZk':_0x2caa71(0xf3),'KSIBE':function(_0x1d9420,_0x2bd253,_0xbf30d7){return _0x1d9420(_0x2bd253,_0xbf30d7);},'BBpgT':_0x2caa71(0x122),'lYDLi':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','FBAtT':function(_0x560034,_0x3aea38){return _0x560034===_0x3aea38;},'RXygX':_0x2caa71(0xe7),'OULxX':function(_0x2f8eac,_0xd8b6bb){return _0x2f8eac(_0xd8b6bb);},'tJhdy':function(_0x3f4ddd,_0x5aafb5,_0x43954c,_0x5470a8){return _0x3f4ddd(_0x5aafb5,_0x43954c,_0x5470a8);},'UEESe':'nightwatch.cmd','iqGgC':'--config','SbNmg':_0x2caa71(0xff),'FywLB':_0x2caa71(0xe1),'MptGp':_0x2caa71(0x11d)},_0x401e2b=new BrowserStackSetup(_0x507635);if(!_0x401e2b[_0x2caa71(0x118)])return;const _0x1eabb4=_0x5481ba['KSIBE'](getUserNightwatchConfigs,_0x507635,_0x26a9a6),_0xa7d0f6={};_0xa7d0f6[_0x2caa71(0x102)]=![];const _0x5f5b47={};_0x5f5b47[_0x2caa71(0xf5)]=_0x5481ba['BBpgT'],_0x5f5b47[_0x2caa71(0x115)]=0x1bb;const _0x180a23={};_0x180a23['webdriver']=_0xa7d0f6,_0x180a23[_0x2caa71(0x114)]=_0x5f5b47;const _0x115bb8=_0x180a23;logger[_0x2caa71(0xfd)](_0x5481ba['lYDLi']);const _0x24f86f={..._0x1eabb4},_0x1bae47=_0x24f86f,_0x422f1d=helper[_0x2caa71(0x10b)](_0x401e2b[_0x2caa71(0x118)]),_0x3f2865=[];_0x401e2b[_0x2caa71(0x118)]['platforms'][_0x2caa71(0xeb)]((_0x28592f,_0x300011)=>{const _0x2ba650=_0x2caa71;_0x422f1d?_0x3f2865[_0x2ba650(0x127)](helper['modifyBrowserStackW3CCaps'](_0x401e2b[_0x2ba650(0x118)],_0x5481ba[_0x2ba650(0x108)],_0x300011)):_0x3f2865[_0x2ba650(0x127)](helper[_0x2ba650(0xf4)](_0x401e2b[_0x2ba650(0x118)],_0x5481ba[_0x2ba650(0x108)],_0x300011));});const _0x1f22a8={},_0x542350=[];_0x507635[_0x2caa71(0xf9)]=_0x507635[_0x2caa71(0xf9)]||_0x507635['e'];const _0x153def=_0x507635[_0x2caa71(0xf9)]?_0x507635[_0x2caa71(0xf9)][_0x2caa71(0x11a)]()[_0x2caa71(0xe9)](',')[_0x2caa71(0x10f)](_0x3f007e=>_0x3f007e[_0x2caa71(0x11a)]())['filter'](_0x2db39d=>_0x2db39d!==''):[''];_0x5481ba[_0x2caa71(0xfe)](_0x153def[_0x2caa71(0x116)],0x0)&&_0x153def[_0x2caa71(0x127)]('');_0x153def[_0x2caa71(0xeb)](_0x52a645=>{const _0x177524=_0x2caa71;_0x3f2865[_0x177524(0xeb)](_0x1f610a=>{const _0x57ff57=_0x177524;let _0xacc707=_0x5481ba['ZarPz'](helper[_0x57ff57(0xe4)](_0x1f610a,'_'),'_'+Date[_0x57ff57(0xf6)]());_0x52a645&&(_0xacc707+='_'+_0x52a645);if(_0x52a645&&(!_0x1eabb4[_0x5481ba[_0x57ff57(0x104)]]||!_0x1eabb4[_0x5481ba[_0x57ff57(0x104)]][_0x52a645]))return;const _0x2faeee={..._0x115bb8};_0x2faeee[_0x57ff57(0x125)]=_0x1f610a;const _0x438a00=_0x2faeee;_0x1f22a8[_0xacc707]=_0x52a645?helper[_0x57ff57(0x121)](_0x1eabb4[_0x5481ba[_0x57ff57(0x104)]][_0x52a645],_0x438a00):_0x438a00,_0x542350['push'](_0xacc707);});});!_0x1bae47[_0x2caa71(0xf3)]&&(_0x1bae47[_0x2caa71(0xf3)]={});_0x1bae47['test_settings']={..._0x1bae47[_0x2caa71(0xf3)],..._0x1f22a8};const _0x18fa1b=path[_0x2caa71(0x11b)](__dirname,_0x5481ba[_0x2caa71(0xf1)]);fs[_0x2caa71(0xe2)](_0x18fa1b,JSON[_0x2caa71(0x110)](_0x1bae47)),_0x5481ba[_0x2caa71(0xed)](removeExistingEnvs,_0x26a9a6);const _0x379868=_0x5481ba[_0x2caa71(0x11f)](spawn,/^win/[_0x2caa71(0x101)](process[_0x2caa71(0x10c)])?_0x5481ba[_0x2caa71(0xec)]:_0x5481ba['DPipK'],[_0x5481ba[_0x2caa71(0x10e)],_0x18fa1b,..._0x26a9a6[_0x2caa71(0x126)](0x1),_0x5481ba[_0x2caa71(0xe6)],_0x542350[_0x2caa71(0x11b)](',')],{'stdio':_0x5481ba['FywLB']});_0x379868['on'](_0x5481ba['MptGp'],async _0x5b0d72=>{const _0x5eb799=_0x2caa71;logger[_0x5eb799(0xf0)](_0x5eb799(0xfa)+_0x5b0d72),logger[_0x5eb799(0xfd)](_0x5eb799(0x113)+_0x18fa1b),fs[_0x5eb799(0x11e)](_0x18fa1b);});}module[a33_0x38bf49(0xe8)]=run;function a33_0x517e(){const _0x334ce8=['join','cwd','close','unlinkSync','tJhdy','../utils/constants','mergeDeep','hub.browserstack.com','../../helpers/BrowserStackSetup','nightwatch.conf.js','desiredCapabilities','slice','push','inherit','writeFileSync','3254784NhlAlQ','getPlatformName','isUndefined','SbNmg','nightwatch-browserstack.json','exports','split','path','forEach','UEESe','OULxX','winstonLogger','findIndex','debug','RXygX','../../helpers/helper','test_settings','modifyBrowserStackCaps','host','now','186vwxamP','GrAgk','env','child\x20process\x20exited\x20with\x20code\x20','existsSync','55566caNIjJ','info','FBAtT','--env','zJhql','test','start_process','565806dHoDDt','qvtZk','104UazXjg','--config','383976hjccze','DPipK','137039hpgQzi','QEmNP','useW3C','platform','Getting\x20your\x20nightwatch\x20configs\x20from\x20','iqGgC','map','stringify','13285bfrTuq','LttEh','Deleting\x20','selenium','port','length','splice','config','305604UbNwOw','trim'];a33_0x517e=function(){return _0x334ce8;};return a33_0x517e();}
@@ -1 +1 @@
1
- const a34_0x7e201f=a34_0x1ba1;function a34_0x1ba1(_0x3f5e4d,_0x3e418a){const _0x2968b4=a34_0x2968();return a34_0x1ba1=function(_0x1ba1d2,_0xd754ed){_0x1ba1d2=_0x1ba1d2-0xc0;let _0x4a844a=_0x2968b4[_0x1ba1d2];return _0x4a844a;},a34_0x1ba1(_0x3f5e4d,_0x3e418a);}(function(_0x5b0f90,_0xd7fe56){const _0x56baf0=a34_0x1ba1,_0x1e5fbf=_0x5b0f90();while(!![]){try{const _0x34049a=-parseInt(_0x56baf0(0xf9))/0x1+parseInt(_0x56baf0(0x12d))/0x2*(parseInt(_0x56baf0(0x126))/0x3)+-parseInt(_0x56baf0(0x10e))/0x4+parseInt(_0x56baf0(0x12b))/0x5*(parseInt(_0x56baf0(0xc5))/0x6)+-parseInt(_0x56baf0(0x119))/0x7+-parseInt(_0x56baf0(0xe9))/0x8*(parseInt(_0x56baf0(0xcb))/0x9)+parseInt(_0x56baf0(0xea))/0xa;if(_0x34049a===_0xd7fe56)break;else _0x1e5fbf['push'](_0x1e5fbf['shift']());}catch(_0x291522){_0x1e5fbf['push'](_0x1e5fbf['shift']());}}}(a34_0x2968,0xd832d));const util=require('util'),logger=require(a34_0x7e201f(0xf3))['winstonLogger'],{isAccessibilityAutomationSession}=require(a34_0x7e201f(0x12a)),{isUndefined}=require(a34_0x7e201f(0xc3)),scripts=require(a34_0x7e201f(0x10d));function a34_0x2968(){const _0x6c5eda=['getAccessibilityResults','processAccessibilityCaps','cRmJP','gaGcp','platformValidation','latest','executeAsyncScript','accessibilityOptions','CpKQO','dwyaf','YvpJw','executeScript','error','JYoDy','vLQqw','env','8MClYQY','24262440DSJjbO','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','wsEndpoint','BRkpc','cMVko','browserstack.accessibility','parse','debug','accessibilityOptions.includeIssueType.needsReview','../../helpers/logger','Playwright','No\x20accessibility\x20results\x20were\x20found.','bestPractice','bvfsS','accessibilityOptions.scannerProcessingTimeout','758792BQhvXZ','ccQSE','VHibW','connectOptions','accessibilityPlatform','currentTest','(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','testInfo','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','leAaJ','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Mdqhg','accessibilityOptions.authToken','method','tbWWt','name','browserName','accessibilityOptions.includeIssueType.bestPractice','warn','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../../helpers/accessibility-automation/scripts','4565580cGBGjw','includeIssueType','VHxBW','format','BSkGI','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','Dthdx','deviceName','kefZS','PdzkC','No\x20summaryResults\x20found.','9353841omHpvX','pstFq','CnINU','workerInfo','bstackSdkArgs','accessibilityOptions.wcagVersion','IIPlx','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','ITSdJ','wcagVersion','eWrfU','stringify','ocqmf','1260723rGrkaz','wTpRc','xAYJC','project','../../helpers/accessibility-automation/helper','284895DvNyuN','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','4tPVlQO','performScan','yYeRP','scannerProcessingTimeout','../../helpers/helper','use','108mOwaYf','WebDriver','ccDnu','WdNED','replace','needsReview','1533141dBjvyl','browserStackEvaluate','playwright-chromium','IraPm','HlDJT','constructor','gRgfu','accessibilityOptions.scannerVersion','chrome','yRYgm','browser','scannerVersion','browser_version','JaDdY'];a34_0x2968=function(){return _0x6c5eda;};return a34_0x2968();}exports[a34_0x7e201f(0xcc)]=async(_0x228914,_0x3e4903,_0x5473d3={})=>{const _0x5dc7ad=a34_0x7e201f,_0x456c20={};_0x456c20[_0x5dc7ad(0x117)]=_0x5dc7ad(0x11d);const _0x2f8f08=_0x456c20;return await _0x228914['evaluate'](_0x5dc7ad(0xff)+_0x3e4903[_0x5dc7ad(0xc9)](/arguments/g,_0x2f8f08[_0x5dc7ad(0x117)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x5dc7ad(0x124)](_0x5473d3)+')');},exports['browserStackExecuteDriver']=async(_0x4ede17,_0x38611b,_0x570404={})=>{const _0x1a9f52=a34_0x7e201f,_0x1bdfe8={};_0x1bdfe8[_0x1a9f52(0xf7)]=function(_0x1fb81a,_0x587828){return _0x1fb81a===_0x587828;},_0x1bdfe8[_0x1a9f52(0x107)]=_0x1a9f52(0xc6),_0x1bdfe8[_0x1a9f52(0x128)]=function(_0x1af8cd,_0x2f782e){return _0x1af8cd===_0x2f782e;},_0x1bdfe8[_0x1a9f52(0x11b)]=_0x1a9f52(0xf4),_0x1bdfe8['YvpJw']=_0x1a9f52(0x11d);const _0x471caf=_0x1bdfe8;if(_0x471caf[_0x1a9f52(0xf7)](_0x4ede17[_0x1a9f52(0xd0)][_0x1a9f52(0x108)],_0x471caf[_0x1a9f52(0x107)]))return await _0x4ede17[_0x1a9f52(0xdf)](_0x38611b,_0x570404);else{if(_0x471caf[_0x1a9f52(0x128)](_0x4ede17[_0x1a9f52(0xd0)][_0x1a9f52(0x108)],_0x471caf[_0x1a9f52(0x11b)]))return await _0x4ede17[_0x1a9f52(0xe4)]('(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'+_0x38611b['replace'](/arguments/g,_0x471caf[_0x1a9f52(0xe3)])+_0x1a9f52(0xeb)+JSON['stringify'](_0x570404)+')');}},exports['setAccessibilityCapabilities']=async _0x1ece4e=>{const _0x2b22b0=a34_0x7e201f,_0x82451b={};_0x82451b[_0x2b22b0(0x116)]=_0x2b22b0(0x11e),_0x82451b[_0x2b22b0(0xcf)]=_0x2b22b0(0xf8),_0x82451b[_0x2b22b0(0x121)]=_0x2b22b0(0x10a),_0x82451b[_0x2b22b0(0xc8)]=_0x2b22b0(0xf2),_0x82451b[_0x2b22b0(0x102)]=_0x2b22b0(0x105),_0x82451b[_0x2b22b0(0x11a)]=_0x2b22b0(0xd2);const _0x2d6214=_0x82451b;_0x1ece4e[_0x2b22b0(0xe0)]&&(_0x1ece4e[_0x2b22b0(0xe0)]['wcagVersion']&&(_0x1ece4e[_0x2d6214['kefZS']]=_0x1ece4e['accessibilityOptions'][_0x2b22b0(0x122)]),_0x1ece4e[_0x2b22b0(0xe0)][_0x2b22b0(0xc2)]&&(_0x1ece4e[_0x2d6214[_0x2b22b0(0xcf)]]=_0x1ece4e['accessibilityOptions']['scannerProcessingTimeout']),_0x1ece4e[_0x2b22b0(0xe0)][_0x2b22b0(0x10f)]&&(_0x1ece4e[_0x2d6214[_0x2b22b0(0x121)]]=_0x1ece4e[_0x2b22b0(0xe0)]['includeIssueType'][_0x2b22b0(0xf6)],_0x1ece4e[_0x2d6214[_0x2b22b0(0xc8)]]=_0x1ece4e['accessibilityOptions'][_0x2b22b0(0x10f)][_0x2b22b0(0xca)]));const _0x5e7a9b=JSON[_0x2b22b0(0xf0)](process[_0x2b22b0(0xe8)][_0x2b22b0(0x10c)])[_0x2b22b0(0xd6)];_0x1ece4e[_0x2d6214[_0x2b22b0(0x102)]]=process[_0x2b22b0(0xe8)]['BS_A11Y_JWT'],_0x1ece4e[_0x2d6214[_0x2b22b0(0x11a)]]=_0x5e7a9b,delete _0x1ece4e[_0x2b22b0(0xe0)];},exports[a34_0x7e201f(0xd9)]=async _0x309f66=>{const _0x2f0fae=a34_0x7e201f,_0xfe6ae3={};_0xfe6ae3[_0x2f0fae(0xfb)]=_0x2f0fae(0xf5),_0xfe6ae3[_0x2f0fae(0xe7)]=_0x2f0fae(0x101);const _0x1b6a4b=_0xfe6ae3;if(global[_0x2f0fae(0xfd)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x309f66,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x309f66,scripts.getResults);return res;}catch{return logger[_0x2f0fae(0xe5)](_0x1b6a4b['VHibW']),[];}else return logger[_0x2f0fae(0x10b)](_0x1b6a4b[_0x2f0fae(0xe7)]),[];},exports[a34_0x7e201f(0xc0)]=async(_0x3bfaf3,_0x4ea3b1='')=>{const _0x3019e2=a34_0x7e201f;if(global[_0x3019e2(0xfd)]){const _0x547112={};return _0x547112[_0x3019e2(0x106)]=_0x4ea3b1,await exports[_0x3019e2(0xcc)](_0x3bfaf3,scripts[_0x3019e2(0xc0)],_0x547112);}},exports['getAccessibilityResultsSummary']=async _0x589313=>{const _0x5d007c=a34_0x7e201f,_0x25cbde={};_0x25cbde[_0x5d007c(0xe6)]=_0x5d007c(0x118),_0x25cbde[_0x5d007c(0x110)]=_0x5d007c(0x120);const _0x383c5e=_0x25cbde;if(global[_0x5d007c(0xfd)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x589313,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x589313,scripts.getResultsSummary);return summaryResults;}catch{return logger['debug'](_0x383c5e[_0x5d007c(0xe6)]),{};}else return logger[_0x5d007c(0x10b)](_0x383c5e[_0x5d007c(0x110)]),{};},exports[a34_0x7e201f(0xdd)]=async _0x4eb69b=>{const _0x57c7dd=a34_0x7e201f,_0x35ca41={'cRmJP':function(_0x1472e7,_0x37e64b){return _0x1472e7!==_0x37e64b;},'RDYlj':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','IIPlx':function(_0x39267c,_0x4d1130){return _0x39267c===_0x4d1130;},'gRgfu':_0x57c7dd(0xd3),'yYeRP':'playwright-chromium','dwyaf':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','ccQSE':function(_0xd9d3f7,_0x1596c1){return _0xd9d3f7(_0x1596c1);},'BRkpc':_0x57c7dd(0xde),'ccDnu':function(_0x560a4f,_0x4b8441){return _0x560a4f>_0x4b8441;},'wTpRc':_0x57c7dd(0x103)};try{if(!_0x35ca41[_0x57c7dd(0xdb)](_0x4eb69b[_0x57c7dd(0x115)],''))return logger[_0x57c7dd(0x10b)](_0x35ca41['RDYlj']),![];const _0x463ee3=_0x4eb69b[_0x57c7dd(0xd5)];if(!(_0x35ca41[_0x57c7dd(0x11f)](_0x463ee3,_0x35ca41[_0x57c7dd(0xd1)])||_0x35ca41[_0x57c7dd(0x11f)](_0x463ee3,_0x35ca41[_0x57c7dd(0xc1)])))return logger['warn'](_0x35ca41[_0x57c7dd(0xe2)]),![];const _0x51df5c=_0x35ca41[_0x57c7dd(0xfa)](parseInt,_0x4eb69b[_0x57c7dd(0xd7)]);if(!(_0x35ca41['IIPlx'](_0x51df5c,_0x35ca41[_0x57c7dd(0xed)])||_0x35ca41[_0x57c7dd(0xc7)](_0x51df5c,0x5e)))return logger[_0x57c7dd(0x10b)](_0x35ca41[_0x57c7dd(0x127)]),![];}catch(_0x1703be){logger[_0x57c7dd(0xf1)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x57c7dd(0x111)](_0x1703be));}return!![];},exports[a34_0x7e201f(0xda)]=(_0x22f650,_0x42e11a,_0x5b2dc6)=>{const _0x54ec50=a34_0x7e201f,_0x3d5a64={'gaGcp':function(_0x259ebc){return _0x259ebc();},'CpKQO':_0x54ec50(0xef),'Mdqhg':function(_0x577b39,_0x23ebaa){return _0x577b39===_0x23ebaa;},'yVgRJ':_0x54ec50(0xd3),'eWrfU':_0x54ec50(0xcd),'ocqmf':_0x54ec50(0x12c),'NKqoz':_0x54ec50(0xde),'IraPm':function(_0x45cecc,_0x1991cc){return _0x45cecc>_0x1991cc;},'cMVko':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','BSkGI':function(_0x1bfd4a,_0x124626){return _0x1bfd4a(_0x124626);},'yRYgm':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','JaDdY':function(_0x3fa905,_0x1cc88b){return _0x3fa905+_0x1cc88b;},'Dthdx':function(_0x5e74d8,_0x239e53){return _0x5e74d8(_0x239e53);}};try{if(_0x3d5a64[_0x54ec50(0xdc)](isAccessibilityAutomationSession)){global[_0x54ec50(0xfd)]=!![];!_0x22f650[_0x3d5a64[_0x54ec50(0xe1)]]&&(global[_0x54ec50(0xfd)]=![]);!(_0x3d5a64[_0x54ec50(0x104)](_0x22f650[_0x54ec50(0x109)],_0x3d5a64['yVgRJ'])||_0x3d5a64[_0x54ec50(0x104)](_0x22f650[_0x54ec50(0x109)],_0x3d5a64[_0x54ec50(0x123)]))&&(logger[_0x54ec50(0x10b)](_0x3d5a64[_0x54ec50(0x125)]),global[_0x54ec50(0xfd)]=![]);!(_0x3d5a64[_0x54ec50(0x104)](_0x22f650['browser_version'],_0x3d5a64['NKqoz'])||_0x3d5a64[_0x54ec50(0xce)](_0x22f650[_0x54ec50(0xd7)],0x5e))&&(logger['warn'](_0x3d5a64[_0x54ec50(0xee)]),global['accessibilityPlatform']=![]);!_0x3d5a64[_0x54ec50(0x112)](isUndefined,_0x22f650[_0x54ec50(0x115)])&&(logger['warn'](_0x3d5a64[_0x54ec50(0xd4)]),global[_0x54ec50(0xfd)]=![]);if(!global['accessibilityPlatform']){_0x22f650[_0x3d5a64[_0x54ec50(0xe1)]]=![];const _0x5630da=_0x3d5a64[_0x54ec50(0xd8)](_0x42e11a,_0x3d5a64[_0x54ec50(0x114)](encodeURIComponent,JSON['stringify'](_0x22f650)));_0x5b2dc6&&(_0x5b2dc6[_0x54ec50(0xfe)][_0x54ec50(0x100)][_0x54ec50(0x129)]['use']['connectOptions'][_0x54ec50(0xec)]=_0x5630da,_0x5b2dc6[_0x54ec50(0x11c)][_0x54ec50(0x129)][_0x54ec50(0xc4)][_0x54ec50(0xfc)]['wsEndpoint']=_0x5630da);}}}catch(_0x4d1ee1){logger[_0x54ec50(0xf1)](_0x54ec50(0x113)+util['format'](_0x4d1ee1));}};
1
+ function a34_0x26cd(_0x224693,_0x4796ab){const _0x70d281=a34_0x70d2();return a34_0x26cd=function(_0x26cd01,_0x16ce9b){_0x26cd01=_0x26cd01-0x1b3;let _0xa77ad3=_0x70d281[_0x26cd01];return _0xa77ad3;},a34_0x26cd(_0x224693,_0x4796ab);}const a34_0x4234ee=a34_0x26cd;function a34_0x70d2(){const _0x2e5bbf=['uMnkX','../../helpers/helper','TzuKL','4673907qjVjfo','SrnPp','scannerProcessingTimeout','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','browserStackExecuteDriver','760052syJPCm','accessibilityOptions.scannerProcessingTimeout','VTPKK','kiqpR','wBqQj','Atktq','accessibilityPlatform','Playwright','platformValidation','vugBy','WebDriver','deviceName','browserName','format','14airxXM','currentTest','workerInfo','chrome','../../helpers/accessibility-automation/scripts','qUzzD','warn','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','orflg','NuVbe','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','connectOptions','uBRon','40531sFCpmL','winstonLogger','accessibilityOptions.wcagVersion','browserstack.accessibility','238827FdZZfA','jMcqo','vngzy','cUGvk','latest','No\x20accessibility\x20results\x20were\x20found.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','recff','constructor','FLzwK','IDtUr','replace','kguXs','8WscqHH','xaoae','includeIssueType','../../helpers/accessibility-automation/helper','getAccessibilityResults','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','JxgaY','processAccessibilityCaps','iQbcl','kYGVe','browser_version','method','LEwHy','bestPractice','No\x20summaryResults\x20found.','scannerVersion','executeScript','10lmsyzf','use','reFMr','browserStackEvaluate','kKwtL','needsReview','waGWR','ZaKUI','wsEndpoint','102imsrqW','xXfCR','bstackSdkArgs','(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','reTUT','accessibilityOptions.scannerVersion','46715wlJpmJ','playwright-chromium','DObQF','moAHg','btyYh','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','stringify','34657VLPowG','BS_A11Y_JWT','XPJYU','wcagVersion','name','parse','9860257LFFCFI','accessibilityOptions.includeIssueType.bestPractice','MuoRP','Vcrci','accessibilityOptions.includeIssueType.needsReview','getAccessibilityResultsSummary','accessibilityOptions','debug','env','evaluate','PDzJh','setAccessibilityCapabilities'];a34_0x70d2=function(){return _0x2e5bbf;};return a34_0x70d2();}(function(_0x20771a,_0x4d5440){const _0x316bca=a34_0x26cd,_0x1dfa7b=_0x20771a();while(!![]){try{const _0x382636=parseInt(_0x316bca(0x212))/0x1+-parseInt(_0x316bca(0x205))/0x2*(-parseInt(_0x316bca(0x216))/0x3)+-parseInt(_0x316bca(0x1f7))/0x4+parseInt(_0x316bca(0x1d6))/0x5*(-parseInt(_0x316bca(0x1d0))/0x6)+-parseInt(_0x316bca(0x1dd))/0x7*(-parseInt(_0x316bca(0x1b6))/0x8)+parseInt(_0x316bca(0x1f2))/0x9*(-parseInt(_0x316bca(0x1c7))/0xa)+parseInt(_0x316bca(0x1e3))/0xb;if(_0x382636===_0x4d5440)break;else _0x1dfa7b['push'](_0x1dfa7b['shift']());}catch(_0x574f65){_0x1dfa7b['push'](_0x1dfa7b['shift']());}}}(a34_0x70d2,0x9a0b5));const util=require('util'),logger=require('../../helpers/logger')[a34_0x4234ee(0x213)],{isAccessibilityAutomationSession}=require(a34_0x4234ee(0x1b9)),{isUndefined}=require(a34_0x4234ee(0x1f0)),scripts=require(a34_0x4234ee(0x209));exports[a34_0x4234ee(0x1ca)]=async(_0x5a5b64,_0x381701,_0x155126={})=>{const _0x5d837f=a34_0x4234ee,_0x47e95c={};_0x47e95c[_0x5d837f(0x1ed)]=_0x5d837f(0x1d2);const _0x3b8c6d=_0x47e95c;return await _0x5a5b64[_0x5d837f(0x1ec)]('(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'+_0x381701['replace'](/arguments/g,_0x3b8c6d['PDzJh'])+_0x5d837f(0x1bb)+JSON['stringify'](_0x155126)+')');},exports[a34_0x4234ee(0x1f6)]=async(_0x4ff08c,_0x1de1e0,_0x3ed7f9={})=>{const _0x55dbde=a34_0x4234ee,_0x206f2d={};_0x206f2d[_0x55dbde(0x1c2)]=function(_0x3ae1dc,_0xd9854d){return _0x3ae1dc===_0xd9854d;},_0x206f2d[_0x55dbde(0x1cd)]=_0x55dbde(0x201),_0x206f2d[_0x55dbde(0x20d)]=function(_0x5c9ece,_0x8e7303){return _0x5c9ece===_0x8e7303;},_0x206f2d[_0x55dbde(0x21f)]=_0x55dbde(0x1fe),_0x206f2d[_0x55dbde(0x1fc)]=_0x55dbde(0x1d2);const _0x1a3536=_0x206f2d;if(_0x1a3536['LEwHy'](_0x4ff08c[_0x55dbde(0x21e)]['name'],_0x1a3536[_0x55dbde(0x1cd)]))return await _0x4ff08c['executeAsyncScript'](_0x1de1e0,_0x3ed7f9);else{if(_0x1a3536[_0x55dbde(0x20d)](_0x4ff08c[_0x55dbde(0x21e)][_0x55dbde(0x1e1)],_0x1a3536[_0x55dbde(0x21f)]))return await _0x4ff08c[_0x55dbde(0x1c6)](_0x55dbde(0x1d3)+_0x1de1e0[_0x55dbde(0x1b4)](/arguments/g,_0x1a3536[_0x55dbde(0x1fc)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON['stringify'](_0x3ed7f9)+')');}},exports[a34_0x4234ee(0x1ee)]=async _0x5829ae=>{const _0x3a5898=a34_0x4234ee,_0x106208={};_0x106208[_0x3a5898(0x1d4)]=_0x3a5898(0x214),_0x106208[_0x3a5898(0x1c9)]=_0x3a5898(0x1f8),_0x106208[_0x3a5898(0x1d9)]=_0x3a5898(0x1e4),_0x106208[_0x3a5898(0x1be)]=_0x3a5898(0x1e7),_0x106208[_0x3a5898(0x1bf)]='accessibilityOptions.authToken',_0x106208['vngzy']=_0x3a5898(0x1d5);const _0x4d0d88=_0x106208;_0x5829ae[_0x3a5898(0x1e9)]&&(_0x5829ae['accessibilityOptions'][_0x3a5898(0x1e0)]&&(_0x5829ae[_0x4d0d88[_0x3a5898(0x1d4)]]=_0x5829ae['accessibilityOptions'][_0x3a5898(0x1e0)]),_0x5829ae[_0x3a5898(0x1e9)][_0x3a5898(0x1f4)]&&(_0x5829ae[_0x4d0d88[_0x3a5898(0x1c9)]]=_0x5829ae['accessibilityOptions'][_0x3a5898(0x1f4)]),_0x5829ae[_0x3a5898(0x1e9)]['includeIssueType']&&(_0x5829ae[_0x4d0d88[_0x3a5898(0x1d9)]]=_0x5829ae['accessibilityOptions'][_0x3a5898(0x1b8)][_0x3a5898(0x1c3)],_0x5829ae[_0x4d0d88[_0x3a5898(0x1be)]]=_0x5829ae[_0x3a5898(0x1e9)][_0x3a5898(0x1b8)][_0x3a5898(0x1cc)]));const _0x37c406=JSON[_0x3a5898(0x1e2)](process[_0x3a5898(0x1eb)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x3a5898(0x1c5)];_0x5829ae[_0x4d0d88[_0x3a5898(0x1bf)]]=process[_0x3a5898(0x1eb)][_0x3a5898(0x1de)],_0x5829ae[_0x4d0d88[_0x3a5898(0x218)]]=_0x37c406,delete _0x5829ae[_0x3a5898(0x1e9)];},exports[a34_0x4234ee(0x1ba)]=async _0x41ac64=>{const _0x3fb999=a34_0x4234ee,_0x154d01={};_0x154d01[_0x3fb999(0x20e)]=_0x3fb999(0x21b),_0x154d01[_0x3fb999(0x1ef)]=_0x3fb999(0x20c);const _0x116365=_0x154d01;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x41ac64,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x41ac64,scripts.getResults);return res;}catch{return logger['error'](_0x116365[_0x3fb999(0x20e)]),[];}else return logger[_0x3fb999(0x20b)](_0x116365['uMnkX']),[];},exports['performScan']=async(_0x1d2f0d,_0x3c5d73='')=>{const _0x476c84=a34_0x4234ee;if(global[_0x476c84(0x1fd)]){const _0x1868d1={};return _0x1868d1[_0x476c84(0x1c1)]=_0x3c5d73,await exports[_0x476c84(0x1ca)](_0x1d2f0d,scripts['performScan'],_0x1868d1);}},exports[a34_0x4234ee(0x1e8)]=async _0x51cc8d=>{const _0x3790e6=a34_0x4234ee,_0x5b8246={};_0x5b8246[_0x3790e6(0x1bc)]=_0x3790e6(0x1c4),_0x5b8246[_0x3790e6(0x20a)]=_0x3790e6(0x21c);const _0x567567=_0x5b8246;if(global[_0x3790e6(0x1fd)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x51cc8d,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x51cc8d,scripts.getResultsSummary);return summaryResults;}catch{return logger['debug'](_0x567567[_0x3790e6(0x1bc)]),{};}else return logger[_0x3790e6(0x20b)](_0x567567['qUzzD']),{};},exports[a34_0x4234ee(0x1ff)]=async _0x9e8ce3=>{const _0x116b75=a34_0x4234ee,_0xaa86a9={'recff':function(_0x368fcf,_0x1a71ba){return _0x368fcf!==_0x1a71ba;},'kKwtL':_0x116b75(0x1f5),'TzuKL':function(_0x3701b6,_0x36c312){return _0x3701b6===_0x36c312;},'cUGvk':_0x116b75(0x208),'MuoRP':function(_0x32f259,_0x5603a0){return _0x32f259===_0x5603a0;},'btyYh':_0x116b75(0x1d7),'Vcrci':_0x116b75(0x20f),'kguXs':function(_0x13b97d,_0x5ef9e6){return _0x13b97d(_0x5ef9e6);},'QavaZ':_0x116b75(0x21a),'uEQAt':function(_0x4b85ac,_0x25c840){return _0x4b85ac>_0x25c840;},'XPJYU':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0xaa86a9[_0x116b75(0x21d)](_0x9e8ce3['deviceName'],''))return logger[_0x116b75(0x20b)](_0xaa86a9[_0x116b75(0x1cb)]),![];const _0x35d563=_0x9e8ce3['browser'];if(!(_0xaa86a9[_0x116b75(0x1f1)](_0x35d563,_0xaa86a9[_0x116b75(0x219)])||_0xaa86a9[_0x116b75(0x1e5)](_0x35d563,_0xaa86a9[_0x116b75(0x1da)])))return logger[_0x116b75(0x20b)](_0xaa86a9[_0x116b75(0x1e6)]),![];const _0x395691=_0xaa86a9[_0x116b75(0x1b5)](parseInt,_0x9e8ce3['browser_version']);if(!(_0xaa86a9['TzuKL'](_0x395691,_0xaa86a9['QavaZ'])||_0xaa86a9['uEQAt'](_0x395691,0x5e)))return logger[_0x116b75(0x20b)](_0xaa86a9[_0x116b75(0x1df)]),![];}catch(_0x41f70b){logger[_0x116b75(0x1ea)](_0x116b75(0x1db)+util[_0x116b75(0x204)](_0x41f70b));}return!![];},exports[a34_0x4234ee(0x1bd)]=(_0x93618e,_0x40ada2,_0x55c30f)=>{const _0x37779e=a34_0x4234ee,_0xebd9dc={'vugBy':function(_0x30ab1c){return _0x30ab1c();},'SrnPp':_0x37779e(0x215),'uBRon':function(_0x3d7157,_0x196d2c){return _0x3d7157===_0x196d2c;},'jMcqo':_0x37779e(0x208),'ZaKUI':function(_0x4e7a23,_0x196c7e){return _0x4e7a23===_0x196c7e;},'xXfCR':_0x37779e(0x1d7),'VTPKK':_0x37779e(0x20f),'aQADq':'latest','xaoae':function(_0x2d9267,_0x17047e){return _0x2d9267>_0x17047e;},'kiqpR':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','IDtUr':function(_0x3960d0,_0x54a18a){return _0x3960d0(_0x54a18a);},'wBqQj':_0x37779e(0x1f5),'DObQF':function(_0x33d07a,_0x388557){return _0x33d07a+_0x388557;}};try{if(_0xebd9dc[_0x37779e(0x200)](isAccessibilityAutomationSession)){global[_0x37779e(0x1fd)]=!![];!_0x93618e[_0xebd9dc[_0x37779e(0x1f3)]]&&(global[_0x37779e(0x1fd)]=![]);!(_0xebd9dc[_0x37779e(0x211)](_0x93618e[_0x37779e(0x203)],_0xebd9dc[_0x37779e(0x217)])||_0xebd9dc[_0x37779e(0x1ce)](_0x93618e[_0x37779e(0x203)],_0xebd9dc[_0x37779e(0x1d1)]))&&(logger[_0x37779e(0x20b)](_0xebd9dc[_0x37779e(0x1f9)]),global[_0x37779e(0x1fd)]=![]);!(_0xebd9dc['uBRon'](_0x93618e['browser_version'],_0xebd9dc['aQADq'])||_0xebd9dc[_0x37779e(0x1b7)](_0x93618e[_0x37779e(0x1c0)],0x5e))&&(logger['warn'](_0xebd9dc[_0x37779e(0x1fa)]),global[_0x37779e(0x1fd)]=![]);!_0xebd9dc['IDtUr'](isUndefined,_0x93618e[_0x37779e(0x202)])&&(logger[_0x37779e(0x20b)](_0xebd9dc[_0x37779e(0x1fb)]),global[_0x37779e(0x1fd)]=![]);if(!global['accessibilityPlatform']){_0x93618e[_0xebd9dc['SrnPp']]=![];const _0x3dda4a=_0xebd9dc[_0x37779e(0x1d8)](_0x40ada2,_0xebd9dc[_0x37779e(0x1b3)](encodeURIComponent,JSON[_0x37779e(0x1dc)](_0x93618e)));_0x55c30f&&(_0x55c30f[_0x37779e(0x206)]['testInfo']['project'][_0x37779e(0x1c8)][_0x37779e(0x210)]['wsEndpoint']=_0x3dda4a,_0x55c30f[_0x37779e(0x207)]['project'][_0x37779e(0x1c8)]['connectOptions'][_0x37779e(0x1cf)]=_0x3dda4a);}}}catch(_0x1dccaf){logger[_0x37779e(0x1ea)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x37779e(0x204)](_0x1dccaf));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a35_0x5898(_0x4b0939,_0x4c2198){const _0x5b1047=a35_0x5b10();return a35_0x5898=function(_0x5898f0,_0x9e84ab){_0x5898f0=_0x5898f0-0x1d6;let _0x3b137e=_0x5b1047[_0x5898f0];return _0x3b137e;},a35_0x5898(_0x4b0939,_0x4c2198);}const a35_0x3d716f=a35_0x5898;(function(_0x26472a,_0x142cc6){const _0x2b17f3=a35_0x5898,_0x37bc6a=_0x26472a();while(!![]){try{const _0x4bbd21=-parseInt(_0x2b17f3(0x262))/0x1*(parseInt(_0x2b17f3(0x20b))/0x2)+parseInt(_0x2b17f3(0x1da))/0x3*(-parseInt(_0x2b17f3(0x1f7))/0x4)+parseInt(_0x2b17f3(0x264))/0x5*(parseInt(_0x2b17f3(0x1f2))/0x6)+parseInt(_0x2b17f3(0x207))/0x7+-parseInt(_0x2b17f3(0x257))/0x8+parseInt(_0x2b17f3(0x249))/0x9+-parseInt(_0x2b17f3(0x1ef))/0xa;if(_0x4bbd21===_0x142cc6)break;else _0x37bc6a['push'](_0x37bc6a['shift']());}catch(_0x59761f){_0x37bc6a['push'](_0x37bc6a['shift']());}}}(a35_0x5b10,0xc61d4));const fs=require('fs'),path=require(a35_0x3d716f(0x24f)),{spawn}=require(a35_0x3d716f(0x1d7)),{format}=require(a35_0x3d716f(0x1f3)),logger=require(a35_0x3d716f(0x205))[a35_0x3d716f(0x1e2)],{default:BrowserStackSetup}=require(a35_0x3d716f(0x23b)),helper=require(a35_0x3d716f(0x1fb)),utilities=require(a35_0x3d716f(0x25c)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a35_0x3d716f(0x22f)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x3d716f(0x1e5)),{CrashReporter}=require(a35_0x3d716f(0x200)),{getFrameworkVersion}=require(a35_0x3d716f(0x26f)),{checkAccessibilityPlatformConfig}=require(a35_0x3d716f(0x22d)),{setAccessibilityCapabilities}=require(a35_0x3d716f(0x230)),TestHubHandler=require(a35_0x3d716f(0x1f8)),{shouldProcessEventForTesthub}=require(a35_0x3d716f(0x25e)),getUserPlaywrightConfig=async(_0x2d907d,_0x3b1821)=>{const _0x585883=a35_0x3d716f,_0x3e91b1={'NxxfZ':function(_0x8d2a29){return _0x8d2a29();},'zhWik':function(_0x4fd872,_0x263328){return _0x4fd872(_0x263328);},'OBuMa':function(_0x320bc3,_0x93c51d){return _0x320bc3(_0x93c51d);},'CNvzO':'resolvedConfigFile','rgVDg':_0x585883(0x23c)},_0x5a8bdc=!helper['isUndefined'](_0x2d907d[_0x585883(0x1e4)]),_0x1086a5=_0x5a8bdc?path[_0x585883(0x244)](process[_0x585883(0x215)](),_0x2d907d[_0x585883(0x1e4)]):process[_0x585883(0x215)](),{resolveConfigFile:_0x5b2016,resolveConfigLocation:_0x21ff62}=helper[_0x585883(0x26d)][_0x585883(0x1e9)](null,_0x3e91b1[_0x585883(0x271)](getConfigLoaderPath)),_0x3525a3=_0x5b2016?_0x3e91b1[_0x585883(0x206)](_0x5b2016,_0x1086a5):helper[_0x585883(0x1eb)](_0x3e91b1[_0x585883(0x23a)](_0x21ff62,_0x1086a5),[_0x3e91b1['CNvzO']]),_0x5cc8a4={};if(_0x5a8bdc){const _0x3ffaad=_0x3b1821[_0x585883(0x1ed)](_0x436b43=>_0x436b43==='--config'||_0x436b43==='-c'||_0x436b43[_0x585883(0x210)]('--config='));_0x3b1821[_0x585883(0x1ea)](_0x3ffaad,_0x3b1821[_0x3ffaad][_0x585883(0x210)](_0x3e91b1['rgVDg'])?0x1:0x2);}const _0x40e5b1={};return _0x40e5b1['path']=_0x3525a3,_0x40e5b1[_0x585883(0x1e4)]=_0x5cc8a4,_0x40e5b1;},handleO11yRerun=_0x5dd0e7=>{const _0x2a461f=a35_0x3d716f,_0x4c281d={};_0x4c281d['SLxCq']=function(_0x5c5711,_0x108daf){return _0x5c5711!==_0x108daf;},_0x4c281d[_0x2a461f(0x23f)]=_0x2a461f(0x260),_0x4c281d[_0x2a461f(0x251)]=_0x2a461f(0x21a);const _0x3519cb=_0x4c281d,_0x1740c0=helper[_0x2a461f(0x258)](process[_0x2a461f(0x1f1)][_0x2a461f(0x224)]);if(_0x1740c0){const _0x214e1b=process['env'][_0x2a461f(0x216)],_0x48c610=[];if(_0x3519cb['SLxCq'](_0x214e1b,_0x3519cb[_0x2a461f(0x23f)])&&!helper[_0x2a461f(0x1dc)](_0x214e1b)){_0x214e1b[_0x2a461f(0x217)](',')[_0x2a461f(0x203)](_0x413f0c=>{const _0x7f2c0b=_0x2a461f;_0x48c610['push']('('+_0x413f0c[_0x7f2c0b(0x272)]()+')');});const _0x51af2f='^'+_0x48c610[_0x2a461f(0x231)]('|')+'$';_0x5dd0e7[_0x2a461f(0x21c)](_0x3519cb[_0x2a461f(0x251)],_0x51af2f);}}},spawnOriginalProcess=_0x393928=>{const _0x28f6b2=a35_0x3d716f,_0x1b3875={'SRpon':function(_0xfe9fb1,_0x46103d,_0xb0b0c9,_0x28ca41){return _0xfe9fb1(_0x46103d,_0xb0b0c9,_0x28ca41);},'snHLf':_0x28f6b2(0x235),'sHadK':'playwright','Yjgwf':function(_0x210559,_0x12c5df){return _0x210559===_0x12c5df;},'meiGn':_0x28f6b2(0x1d6),'ejjvx':_0x28f6b2(0x233)};_0x1b3875[_0x28f6b2(0x211)](spawn,_0x1b3875['snHLf'],[_0x1b3875[_0x28f6b2(0x246)],..._0x393928['slice'](0x1)],{'shell':_0x1b3875['Yjgwf'](process[_0x28f6b2(0x202)],_0x1b3875[_0x28f6b2(0x252)]),'stdio':_0x1b3875[_0x28f6b2(0x1dd)],'cwd':process['cwd']()});},isTestCommand=(_0x4e05b5,_0x4f38e6)=>{const _0x4deded=a35_0x3d716f,_0x4da7ca={};_0x4da7ca[_0x4deded(0x22e)]=function(_0x1100a7,_0x30178b){return _0x1100a7>_0x30178b;},_0x4da7ca[_0x4deded(0x227)]=function(_0x5db433,_0x3264a1){return _0x5db433===_0x3264a1;},_0x4da7ca[_0x4deded(0x20e)]=_0x4deded(0x1e3);const _0x193b63=_0x4da7ca;if(_0x193b63[_0x4deded(0x22e)](_0x4f38e6[_0x4deded(0x263)],0x1)&&_0x193b63['RXbBK'](_0x4f38e6[0x1],_0x193b63['dCRmU']))return!![];return![];};async function run(_0x530fb1,_0x2835e5){const _0x33dc48=a35_0x3d716f,_0x216b17={'fYrGF':'.browserstack','FpFHA':_0x33dc48(0x237),'Rsspw':function(_0x14159d,_0xe14cb6){return _0x14159d+_0xe14cb6;},'hchcO':_0x33dc48(0x256),'gYgUR':'2|5|4|3|1|6|0|8|7','WGNpe':function(_0x335a87){return _0x335a87();},'Bpbmv':_0x33dc48(0x209),'vMCtr':_0x33dc48(0x218),'oxnvq':_0x33dc48(0x1f6),'Wfkne':'--disable-test-observability','hGgQj':function(_0x2b9e95,_0x43db61){return _0x2b9e95>=_0x43db61;},'UzfXq':function(_0x308e84,_0x561f24){return _0x308e84+_0x561f24;},'AWjse':_0x33dc48(0x259),'qfGlG':function(_0x5c0915,_0x28d98b,_0x4ce1d7){return _0x5c0915(_0x28d98b,_0x4ce1d7);},'GGKTr':function(_0x287f5c,_0x2b3716){return _0x287f5c(_0x2b3716);},'yCfIg':_0x33dc48(0x26e),'RDyES':_0x33dc48(0x1e7),'EKENb':function(_0x32e973,_0x4c1e2f){return _0x32e973!=_0x4c1e2f;},'xJzXb':function(_0x44ad68,_0x1d710f,_0x50e15f){return _0x44ad68(_0x1d710f,_0x50e15f);},'bvGsZ':function(_0xf583ec,_0xb9f4b7){return _0xf583ec(_0xb9f4b7);},'yDpyk':function(_0x33e3f3,_0x36a7ec){return _0x33e3f3===_0x36a7ec;},'PWzpk':_0x33dc48(0x228),'HyAQu':_0x33dc48(0x269),'FFdBg':'playwright-browserstack-sdk.config.cjs','xJqIj':_0x33dc48(0x1ee),'xcGMT':function(_0x1a94af,_0x3e52d5){return _0x1a94af-_0x3e52d5;},'qqBzf':function(_0x4109b1,_0x5df6c3){return _0x4109b1+_0x5df6c3;},'vAZDt':_0x33dc48(0x25f),'IEixu':function(_0x47fa6d,_0x165c9c){return _0x47fa6d>_0x165c9c;},'kOQaf':function(_0x1e9046,_0x30825b){return _0x1e9046+_0x30825b;},'QRBCM':function(_0x5ab6f0,_0x2a5495,_0x47e0c6,_0x27d4c2){return _0x5ab6f0(_0x2a5495,_0x47e0c6,_0x27d4c2);},'btkOA':'npx','AEnCH':_0x33dc48(0x21e),'phyPG':_0x33dc48(0x1e3),'mZlzN':'--config','fVUAr':_0x33dc48(0x1d6),'LPDoV':_0x33dc48(0x233),'ICNmv':_0x33dc48(0x221)};!helper[_0x33dc48(0x1f4)](process[_0x33dc48(0x1f1)][_0x33dc48(0x267)])&&(process[_0x33dc48(0x1f1)][_0x33dc48(0x267)]=!![]);process['argv'][_0x33dc48(0x1d8)](_0x216b17[_0x33dc48(0x204)])&&(process[_0x33dc48(0x1f1)][_0x33dc48(0x267)]=_0x216b17['oxnvq'],_0x2835e5=_0x2835e5['filter'](_0x13e665=>_0x13e665!==_0x33dc48(0x218)));const _0x1f7a04=_0x2835e5[_0x33dc48(0x1e8)](_0x216b17[_0x33dc48(0x241)]);_0x216b17[_0x33dc48(0x24e)](_0x1f7a04,0x0)&&(process[_0x33dc48(0x1f1)][_0x33dc48(0x20f)]=_0x216b17[_0x33dc48(0x20a)],_0x2835e5=_0x2835e5[_0x33dc48(0x1fc)](_0x376de9=>_0x376de9!==_0x33dc48(0x22b)));try{const _0x4fee36=path[_0x33dc48(0x231)](helper['homedir'](),_0x216b17['fYrGF'],_0x216b17[_0x33dc48(0x26c)]);fs['existsSync'](_0x4fee36)&&fs[_0x33dc48(0x21d)](_0x4fee36);}catch(_0x37933d){logger[_0x33dc48(0x24a)](_0x216b17[_0x33dc48(0x245)](_0x216b17['AWjse'],_0x37933d));}if(!_0x216b17[_0x33dc48(0x255)](isTestCommand,_0x530fb1,_0x2835e5)){_0x216b17['GGKTr'](spawnOriginalProcess,_0x2835e5);return;}const _0x492715=new BrowserStackSetup(_0x530fb1,FRAMEWORKS['PLAYWRIGHT']);if(!_0x492715[_0x33dc48(0x1e4)]){logger['error'](_0x216b17['yCfIg']);return;}await _0x492715[_0x33dc48(0x214)]();!helper['isUndefined'](_0x492715[_0x33dc48(0x22c)])&&_0x492715[_0x33dc48(0x22c)]['has'](_0x216b17[_0x33dc48(0x1f9)])&&(process[_0x33dc48(0x1f1)]['BROWSERSTACK_AUTOMATION']=_0x492715[_0x33dc48(0x22c)][_0x33dc48(0x220)](_0x216b17[_0x33dc48(0x1f9)])||!![]);_0x216b17['EKENb'](_0x492715[_0x33dc48(0x1e4)][_0x33dc48(0x240)],null)&&!helper['isTrue'](process[_0x33dc48(0x1f1)][_0x33dc48(0x20f)])&&(process['env'][_0x33dc48(0x20f)]=process[_0x33dc48(0x1f1)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x492715[_0x33dc48(0x1e4)]['testObservability']);const _0x260838=!helper[_0x33dc48(0x1f4)](process[_0x33dc48(0x1f1)][_0x33dc48(0x20f)]);let _0x30a42e=![];_0x492715[_0x33dc48(0x1e4)][_0x33dc48(0x26a)]&&(_0x30a42e=!![],process[_0x33dc48(0x1f1)][_0x33dc48(0x229)]=_0x492715[_0x33dc48(0x1e4)][_0x33dc48(0x26a)]);_0x492715['config'][_0x33dc48(0x239)]&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x33dc48(0x201)](_0x492715[_0x33dc48(0x1e4)]['accessibilityOptions']));const _0x33a265=_0x2835e5[_0x33dc48(0x273)](),_0x151520=await _0x216b17[_0x33dc48(0x21b)](getUserPlaywrightConfig,_0x530fb1,_0x2835e5);if(helper[_0x33dc48(0x1dc)](_0x151520)){_0x216b17['GGKTr'](spawnOriginalProcess,_0x33a265);return;}const _0x35edd7=_0x151520[_0x33dc48(0x24f)]?path[_0x33dc48(0x25b)](_0x151520[_0x33dc48(0x24f)]):process[_0x33dc48(0x215)]();process['env']['BROWSERSTACK_PW_CONFIG_DIR']=_0x35edd7,await TestHubHandler[_0x33dc48(0x26b)](FRAMEWORKS[_0x33dc48(0x248)],_0x492715);_0x260838&&_0x216b17[_0x33dc48(0x247)](handleO11yRerun,_0x2835e5);let _0x138ae7=_0x216b17['yDpyk'](process[_0x33dc48(0x1f1)][_0x33dc48(0x229)],_0x216b17[_0x33dc48(0x24d)]);_0x138ae7=_0x138ae7||_0x216b17['bvGsZ'](checkAccessibilityPlatformConfig,_0x492715[_0x33dc48(0x1e4)]),process[_0x33dc48(0x1f1)][_0x33dc48(0x229)]=_0x138ae7;_0x138ae7&&_0x216b17[_0x33dc48(0x247)](setAccessibilityCapabilities,_0x492715[_0x33dc48(0x1e4)]);const _0x37a31d=path[_0x33dc48(0x231)](_0x151520[_0x33dc48(0x24f)]?path[_0x33dc48(0x25b)](_0x151520['path']):process['cwd'](),_0x216b17[_0x33dc48(0x1d9)]);fs[_0x33dc48(0x1e1)](_0x37a31d,helper[_0x33dc48(0x1fd)](_0x492715['config'])),process[_0x33dc48(0x1f1)][_0x33dc48(0x219)]=_0x37a31d,helper['clearTempPWConfig']();let _0x55c98e='';_0x216b17['yDpyk'](helper[_0x33dc48(0x1fe)](),constants[_0x33dc48(0x254)][_0x33dc48(0x21f)])?_0x55c98e=_0x216b17[_0x33dc48(0x232)]:_0x55c98e=_0x216b17['xJqIj'];let _0x16f462='';if(helper[_0x33dc48(0x208)](_0x151520[_0x33dc48(0x24f)])){_0x16f462=_0x33dc48(0x270);const _0x5d8c3b=_0x55c98e[_0x33dc48(0x217)]('.');_0x5d8c3b[_0x216b17[_0x33dc48(0x250)](_0x5d8c3b[_0x33dc48(0x263)],0x1)]='ts',_0x55c98e=_0x5d8c3b['join']('.'),logger[_0x33dc48(0x24a)](_0x216b17[_0x33dc48(0x25d)](_0x216b17[_0x33dc48(0x1f0)],_0x55c98e));}else _0x16f462='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x41a4ab=path[_0x33dc48(0x231)](_0x151520[_0x33dc48(0x24f)]?path[_0x33dc48(0x25b)](_0x151520[_0x33dc48(0x24f)]):process[_0x33dc48(0x215)](),_0x55c98e);let _0x5efdec=_0x151520[_0x33dc48(0x24f)]?_0x151520[_0x33dc48(0x24f)]:'';_0x5efdec=_0x216b17[_0x33dc48(0x265)](_0x5efdec[_0x33dc48(0x263)],0x0)?path['resolve'](_0x5efdec):'',process[_0x33dc48(0x1f1)][_0x33dc48(0x20c)]=_0x5efdec;const _0x20284d=helper['getProxyUrl'](_0x492715[_0x33dc48(0x1e4)]);_0x20284d&&(_0x16f462=_0x216b17[_0x33dc48(0x1ec)](_0x33dc48(0x223)+_0x20284d+_0x33dc48(0x242),_0x16f462));helper[_0x33dc48(0x23e)]({},_0x2835e5),fs[_0x33dc48(0x1e1)](_0x41a4ab,_0x16f462),helper[_0x33dc48(0x24b)]();const _0x154f19=_0x216b17['QRBCM'](spawn,_0x216b17[_0x33dc48(0x25a)],[_0x216b17[_0x33dc48(0x1e0)],_0x216b17[_0x33dc48(0x266)],_0x216b17[_0x33dc48(0x1de)],_0x41a4ab,..._0x2835e5[_0x33dc48(0x222)](0x2)],{'shell':_0x216b17[_0x33dc48(0x23d)](process[_0x33dc48(0x202)],_0x216b17['fVUAr']),'stdio':_0x216b17['LPDoV'],'cwd':process[_0x33dc48(0x215)](),'env':Object[_0x33dc48(0x226)]({},process[_0x33dc48(0x1f1)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x33dc48(0x22a)](_0x530fb1),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x492715['config'][_0x33dc48(0x24c)][_0x33dc48(0x213)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x492715[_0x33dc48(0x1e4)][_0x33dc48(0x24c)][_0x33dc48(0x1ff)],'BROWSERSTACK_LOG_LEVEL':_0x492715['config']['logLevel']})}),_0x490688=()=>{const _0x5217ce=_0x33dc48;try{const _0x176ef4=path[_0x5217ce(0x231)](helper[_0x5217ce(0x225)](),_0x216b17['fYrGF'],_0x216b17['FpFHA']);if(fs[_0x5217ce(0x20d)](_0x176ef4)){let _0x27c26e=fs[_0x5217ce(0x243)](_0x176ef4);_0x27c26e=JSON[_0x5217ce(0x268)](_0x27c26e),_0x492715['errorMessage']=_0x27c26e,fs[_0x5217ce(0x21d)](_0x176ef4);}}catch(_0x98f2b9){logger['debug'](_0x216b17[_0x5217ce(0x236)](_0x216b17[_0x5217ce(0x238)],_0x98f2b9));}};_0x154f19['on'](_0x216b17[_0x33dc48(0x1e6)],async _0xc907b0=>{const _0x2fb0fd=_0x33dc48;try{const _0x30be3e=_0x216b17[_0x2fb0fd(0x1f5)][_0x2fb0fd(0x217)]('|');let _0x34d146=0x0;while(!![]){switch(_0x30be3e[_0x34d146++]){case'0':fs[_0x2fb0fd(0x21d)](_0x41a4ab);continue;case'1':logger['debug'](_0x2fb0fd(0x261)+_0xc907b0);continue;case'2':_0x216b17[_0x2fb0fd(0x234)](_0x490688);continue;case'3':process['exitCode']=_0xc907b0;continue;case'4':await utilities[_0x2fb0fd(0x253)](_0x492715);continue;case'5':await TestHubHandler[_0x2fb0fd(0x212)]();continue;case'6':logger['info']('Deleting\x20'+_0x41a4ab);continue;case'7':fs[_0x2fb0fd(0x21d)](_0x37a31d);continue;case'8':logger[_0x2fb0fd(0x24a)](_0x2fb0fd(0x1fa)+_0x37a31d);continue;}break;}}catch(_0x4af78b){logger[_0x2fb0fd(0x24a)](_0x216b17['Rsspw'](_0x216b17[_0x2fb0fd(0x1db)],_0x4af78b));}});}function a35_0x5b10(){const _0x738d80=['child_process','includes','HyAQu','15tVxtXG','Bpbmv','isUndefined','ejjvx','mZlzN','exports','AEnCH','writeFileSync','winstonLogger','test','config','./reporter/pwUtils','ICNmv','automation','indexOf','apply','splice','nestedKeyValue','kOQaf','findIndex','playwright-browserstack-sdk.config.js','6941250YZSfWU','vAZDt','env','90582uEWxkB','util','isFalse','gYgUR','false','17164nsGvAB','../../helpers/testhub/testhubHandler','RDyES','Deleting\x20','../../helpers/helper','filter','serializeToYamlString','getPackageType','skipSessionName','../../helpers/test-observability/error-handler','stringify','platform','map','vMCtr','../../helpers/logger','zhWik','1043203VDkFnD','isTypescriptProject','Error\x20in\x20closing\x20playwright','oxnvq','447432UBBDLV','USER_CONFIG_DETAILS_PATH','existsSync','dCRmU','BROWSERSTACK_TEST_OBSERVABILITY','startsWith','SRpon','stop','skipSessionStatus','initialize','cwd','BROWSERSTACK_RERUN_TESTS','split','--disable-browserstack-automation','BROWSERSTACK_SETUP_CONFIG_PATH','--grep','xJzXb','push','unlinkSync','playwright','MODULE','get','close','slice','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','BROWSERSTACK_RERUN','homedir','assign','RXbBK','true','BROWSERSTACK_TEST_ACCESSIBILITY_YML','getConfigPath','--disable-test-observability','cliConfig','../../helpers/accessibility-automation/helper','BsKAv','../../helpers/test-observability/constants','./accessibility-helper','join','FFdBg','inherit','WGNpe','npx','Rsspw','pw_result.json','hchcO','accessibilityOptions','OBuMa','../../helpers/BrowserStackSetup','--config=','yDpyk','filterBrowserstackConfig','BNFOl','testObservability','Wfkne','\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();','readFileSync','resolve','UzfXq','sHadK','bvGsZ','PLAYWRIGHT','14364522pypvgt','debug','markSDKSetupComplete','testContextOptions','PWzpk','hGgQj','path','xcGMT','LyKbo','meiGn','finalExecution','PACKAGE_TYPE','qfGlG','Error\x20in\x20getting\x20funnel\x20data\x20results','3094696QnnoDx','isTrue','Error\x20in\x20deleting\x20playwright\x20results','btkOA','dirname','../../helpers/utilities','qqBzf','../../helpers/testhub/utils','Updated\x20config\x20file\x20name\x20to\x20-\x20','null','Playwright\x20process\x20exited\x20with\x20code\x20','1TxwxTW','length','130vdzxyL','IEixu','phyPG','BROWSERSTACK_AUTOMATION','parse','browserstackSetupConfig.json','accessibility','launchBuild','FpFHA','requirePWModule','BrowserStack\x20config\x20file\x20not\x20found.','../../helpers/test-observability/utils','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','NxxfZ','trim','concat','win32'];a35_0x5b10=function(){return _0x738d80;};return a35_0x5b10();}module[a35_0x3d716f(0x1df)]=run;
2
+ 'use strict';const a35_0x39cc0e=a35_0x1941;(function(_0x4d9a47,_0x2d307e){const _0x5c8fdc=a35_0x1941,_0xf9a4ce=_0x4d9a47();while(!![]){try{const _0x5ad41c=parseInt(_0x5c8fdc(0x168))/0x1*(parseInt(_0x5c8fdc(0x1d9))/0x2)+parseInt(_0x5c8fdc(0x1e2))/0x3*(parseInt(_0x5c8fdc(0x177))/0x4)+-parseInt(_0x5c8fdc(0x1d7))/0x5*(parseInt(_0x5c8fdc(0x17b))/0x6)+parseInt(_0x5c8fdc(0x1c9))/0x7+parseInt(_0x5c8fdc(0x172))/0x8*(-parseInt(_0x5c8fdc(0x1b8))/0x9)+-parseInt(_0x5c8fdc(0x1eb))/0xa*(parseInt(_0x5c8fdc(0x1d0))/0xb)+parseInt(_0x5c8fdc(0x192))/0xc;if(_0x5ad41c===_0x2d307e)break;else _0xf9a4ce['push'](_0xf9a4ce['shift']());}catch(_0x2248f3){_0xf9a4ce['push'](_0xf9a4ce['shift']());}}}(a35_0x3640,0x6e8fe));function a35_0x3640(){const _0x104bd4=['BROWSERSTACK_RERUN','--config','get','ylFaH','skipSessionName','WEZTQ','ujVJq','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/accessibility-automation/helper','BrowserStack\x20config\x20file\x20not\x20found.','clearTempPWConfig','11OBntyW','playwright-browserstack-sdk.config.js','writeFileSync','uhdXw','readFileSync','slice','MODULE','push','KuQxU','YlcsR','2008pZVgPW','isFalse','win32','../../helpers/test-observability/utils','resolvedConfigFile','1546684pjnksn','iVrXg','Wzpra','testContextOptions','350820sdJMhE','3|5|8|4|7|6|2|0|1','testObservability','homedir','USER_CONFIG_DETAILS_PATH','Error\x20in\x20getting\x20funnel\x20data\x20results','CAXAN','concat','zwHyL','dirname','sDtWs','fUmnB','RVLGV','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','filterBrowserstackConfig','parse','join','goGMo','ylYpS','MOnnM','finalExecution','lrAXi','unlinkSync','11981784ZQwEFB','dfKgg','LhTtU','jRIjC','info','Deleting\x20','trim','nestedKeyValue','config','skipSessionStatus','npx','stringify','platform','eZSQL','Eviix','errorMessage','inherit','markSDKSetupComplete','ainho','playwright-browserstack-sdk.config.cjs','playwright','getPackageType','requirePWModule','length','tHLwB','Playwright\x20process\x20exited\x20with\x20code\x20','splice','njOgY','exitCode','../../helpers/testhub/testhubHandler','serializeToYamlString','isTypescriptProject','Error\x20in\x20closing\x20playwright','includes','../../helpers/test-observability/error-handler','cliConfig','../../helpers/logger','HzSIB','31059hpuvmK','cwd','indexOf','true','logLevel','close','null','automation','KtOmS','Updated\x20config\x20file\x20name\x20to\x20-\x20','env','map','path','lVxaB','BROWSERSTACK_AUTOMATION','has','pw_result.json','5839701qtYxmd','./accessibility-helper','launchBuild','BROWSERSTACK_PW_CONFIG_DIR','getProxyUrl','VUzDi','BROWSERSTACK_TEST_ACCESSIBILITY_YML','275chnZTK','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','existsSync','findIndex','--disable-browserstack-automation','error','yAqNI','65RzGfGz','accessibility','114364AQZzTL','../../helpers/helper','.browserstack','../../helpers/BrowserStackSetup','--disable-test-observability','filter','../../helpers/test-observability/constants','XnxIq','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','3OFnQSg','PACKAGE_TYPE','czLYS','./reporter/pwUtils','DaUcz','isUndefined','browserstackSetupConfig.json','util','TpjJp','307690DJBVNs','GODML','jFeJe','resolve','test','iZbgT','YgUzS','accessibilityOptions','\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();','Ptvhe','../utils/constants','mLPIy','zJlHG','isTrue','debug','Error\x20in\x20deleting\x20playwright\x20results','PLAYWRIGHT','cTeaN','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','split','tDBtJ','assign'];a35_0x3640=function(){return _0x104bd4;};return a35_0x3640();}const fs=require('fs'),path=require(a35_0x39cc0e(0x1c4)),{spawn}=require('child_process'),{format}=require(a35_0x39cc0e(0x1e9)),logger=require(a35_0x39cc0e(0x1b6))['winstonLogger'],{default:BrowserStackSetup}=require(a35_0x39cc0e(0x1dc)),helper=require(a35_0x39cc0e(0x1da)),utilities=require('../../helpers/utilities'),constants=require(a35_0x39cc0e(0x1f5)),{FRAMEWORKS}=require(a35_0x39cc0e(0x1df)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x39cc0e(0x1e5)),{CrashReporter}=require(a35_0x39cc0e(0x1b4)),{getFrameworkVersion}=require(a35_0x39cc0e(0x175)),{checkAccessibilityPlatformConfig}=require(a35_0x39cc0e(0x165)),{setAccessibilityCapabilities}=require(a35_0x39cc0e(0x1ca)),TestHubHandler=require(a35_0x39cc0e(0x1af)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),getUserPlaywrightConfig=async(_0x3182e9,_0x10fb56)=>{const _0x50be31=a35_0x39cc0e,_0x4c0493={'yAqNI':function(_0x4e2a2d){return _0x4e2a2d();},'tDBtJ':function(_0x34aaf9,_0x38fb18){return _0x34aaf9(_0x38fb18);},'zJlHG':_0x50be31(0x176),'iVrXg':'--config='},_0x2a5ae9=!helper[_0x50be31(0x1e7)](_0x3182e9['config']),_0x51cd55=_0x2a5ae9?path['resolve'](process[_0x50be31(0x1b9)](),_0x3182e9[_0x50be31(0x19a)]):process[_0x50be31(0x1b9)](),{resolveConfigFile:_0x5dfe4e,resolveConfigLocation:_0x47d763}=helper[_0x50be31(0x1a8)]['apply'](null,_0x4c0493[_0x50be31(0x1d6)](getConfigLoaderPath)),_0xef096d=_0x5dfe4e?_0x4c0493[_0x50be31(0x15b)](_0x5dfe4e,_0x51cd55):helper[_0x50be31(0x199)](_0x4c0493[_0x50be31(0x15b)](_0x47d763,_0x51cd55),[_0x4c0493[_0x50be31(0x1f7)]]),_0x11c681={};if(_0x2a5ae9){const _0x16c78e=_0x10fb56[_0x50be31(0x1d3)](_0x5d652f=>_0x5d652f===_0x50be31(0x15e)||_0x5d652f==='-c'||_0x5d652f['startsWith']('--config='));_0x10fb56[_0x50be31(0x1ac)](_0x16c78e,_0x10fb56[_0x16c78e]['startsWith'](_0x4c0493[_0x50be31(0x178)])?0x1:0x2);}const _0x259c2b={};return _0x259c2b[_0x50be31(0x1c4)]=_0xef096d,_0x259c2b[_0x50be31(0x19a)]=_0x11c681,_0x259c2b;},handleO11yRerun=_0xda3f41=>{const _0x209822=a35_0x39cc0e,_0x308b50={};_0x308b50[_0x209822(0x195)]=function(_0xa4465d,_0x2ea37d){return _0xa4465d!==_0x2ea37d;},_0x308b50[_0x209822(0x194)]=_0x209822(0x1be),_0x308b50['cTeaN']='--grep';const _0x28a3c6=_0x308b50,_0x48ce25=helper[_0x209822(0x1f8)](process[_0x209822(0x1c2)][_0x209822(0x15d)]);if(_0x48ce25){const _0x4b76a1=process[_0x209822(0x1c2)]['BROWSERSTACK_RERUN_TESTS'],_0x5d6a42=[];if(_0x28a3c6['jRIjC'](_0x4b76a1,_0x28a3c6['LhTtU'])&&!helper[_0x209822(0x1e7)](_0x4b76a1)){_0x4b76a1['split'](',')[_0x209822(0x1c3)](_0x4ed994=>{const _0x2811d3=_0x209822;_0x5d6a42[_0x2811d3(0x16f)]('('+_0x4ed994[_0x2811d3(0x198)]()+')');});const _0x45bb39='^'+_0x5d6a42[_0x209822(0x18b)]('|')+'$';_0xda3f41[_0x209822(0x16f)](_0x28a3c6[_0x209822(0x1fc)],_0x45bb39);}}},spawnOriginalProcess=_0x3b434c=>{const _0x3dd3ef=a35_0x39cc0e,_0x1c43ca={'CAXAN':function(_0x3f569a,_0x4c7f07,_0x11c627,_0x7c581f){return _0x3f569a(_0x4c7f07,_0x11c627,_0x7c581f);},'TpjJp':_0x3dd3ef(0x19c),'qIear':_0x3dd3ef(0x1a6),'goGMo':function(_0x17f5b7,_0x471e75){return _0x17f5b7===_0x471e75;},'pCclP':_0x3dd3ef(0x174),'eZSQL':_0x3dd3ef(0x1a2)};_0x1c43ca[_0x3dd3ef(0x181)](spawn,_0x1c43ca[_0x3dd3ef(0x1ea)],[_0x1c43ca['qIear'],..._0x3b434c[_0x3dd3ef(0x16d)](0x1)],{'shell':_0x1c43ca[_0x3dd3ef(0x18c)](process[_0x3dd3ef(0x19e)],_0x1c43ca['pCclP']),'stdio':_0x1c43ca[_0x3dd3ef(0x19f)],'cwd':process['cwd']()});},isTestCommand=(_0x400141,_0x9a110a)=>{const _0x23268e=a35_0x39cc0e,_0x2df048={};_0x2df048[_0x23268e(0x1f0)]=function(_0x3227e5,_0x2ce4ff){return _0x3227e5>_0x2ce4ff;},_0x2df048[_0x23268e(0x18d)]=function(_0x2ff9a0,_0x50592d){return _0x2ff9a0===_0x50592d;},_0x2df048[_0x23268e(0x1a0)]='test';const _0x2d4c86=_0x2df048;if(_0x2d4c86['iZbgT'](_0x9a110a[_0x23268e(0x1a9)],0x1)&&_0x2d4c86[_0x23268e(0x18d)](_0x9a110a[0x1],_0x2d4c86[_0x23268e(0x1a0)]))return!![];return![];};async function run(_0x1ed2c4,_0x385b42){const _0x58bd2f=a35_0x39cc0e,_0x5be10b={'RVLGV':_0x58bd2f(0x1db),'czLYS':_0x58bd2f(0x1c8),'ainho':function(_0x4e919d,_0x18afaa){return _0x4e919d+_0x18afaa;},'dWOtp':_0x58bd2f(0x180),'Yyuxb':_0x58bd2f(0x17c),'zwHyL':function(_0x56be0f){return _0x56be0f();},'fUmnB':_0x58bd2f(0x1b2),'Ptvhe':_0x58bd2f(0x1d4),'jFeJe':'false','MOnnM':_0x58bd2f(0x1dd),'YlcsR':function(_0x332c06,_0x30b6a4){return _0x332c06>=_0x30b6a4;},'YgUzS':_0x58bd2f(0x1fa),'KtOmS':function(_0x36b1f8,_0x1116cb,_0x42b6a8){return _0x36b1f8(_0x1116cb,_0x42b6a8);},'ujVJq':function(_0x1763da,_0x236a3c){return _0x1763da(_0x236a3c);},'WEZTQ':_0x58bd2f(0x166),'DaUcz':_0x58bd2f(0x1bf),'ZYUZx':function(_0x4f82a9,_0x40672e){return _0x4f82a9!=_0x40672e;},'KuQxU':function(_0xa70a3d,_0x8f2fdb,_0x52b5f7){return _0xa70a3d(_0x8f2fdb,_0x52b5f7);},'dfKgg':function(_0x109a38,_0x7a7ff1){return _0x109a38===_0x7a7ff1;},'ylFaH':_0x58bd2f(0x1bb),'rWJhP':_0x58bd2f(0x1e8),'pHiMw':_0x58bd2f(0x1a5),'tHLwB':_0x58bd2f(0x169),'njOgY':function(_0x4a81af,_0x4be415){return _0x4a81af-_0x4be415;},'lVxaB':function(_0x17b1f7,_0x2fff4e){return _0x17b1f7+_0x2fff4e;},'sDtWs':_0x58bd2f(0x1c1),'lrAXi':function(_0x57a67b,_0x3c7e6e){return _0x57a67b>_0x3c7e6e;},'MRUja':function(_0x2a6881,_0x20025e,_0x2f650a,_0x4f349b){return _0x2a6881(_0x20025e,_0x2f650a,_0x4f349b);},'GODML':_0x58bd2f(0x19c),'VUzDi':_0x58bd2f(0x1a6),'mLPIy':_0x58bd2f(0x1ef),'XnxIq':_0x58bd2f(0x15e),'Wzpra':'win32','HzSIB':_0x58bd2f(0x1a2),'uhdXw':_0x58bd2f(0x1bd)};!helper[_0x58bd2f(0x173)](process[_0x58bd2f(0x1c2)][_0x58bd2f(0x1c6)])&&(process[_0x58bd2f(0x1c2)]['BROWSERSTACK_AUTOMATION']=!![]);process['argv'][_0x58bd2f(0x1b3)](_0x5be10b[_0x58bd2f(0x1f4)])&&(process['env'][_0x58bd2f(0x1c6)]=_0x5be10b[_0x58bd2f(0x1ed)],_0x385b42=_0x385b42['filter'](_0x39e876=>_0x39e876!==_0x58bd2f(0x1d4)));const _0x350934=_0x385b42[_0x58bd2f(0x1ba)](_0x5be10b[_0x58bd2f(0x18e)]);_0x5be10b[_0x58bd2f(0x171)](_0x350934,0x0)&&(process['env'][_0x58bd2f(0x164)]=_0x5be10b[_0x58bd2f(0x1ed)],_0x385b42=_0x385b42[_0x58bd2f(0x1de)](_0x5c07a8=>_0x5c07a8!==_0x58bd2f(0x1dd)));try{const _0x3101ff=path[_0x58bd2f(0x18b)](helper['homedir'](),_0x5be10b[_0x58bd2f(0x187)],_0x5be10b[_0x58bd2f(0x1e4)]);fs[_0x58bd2f(0x1d2)](_0x3101ff)&&fs['unlinkSync'](_0x3101ff);}catch(_0x189731){logger[_0x58bd2f(0x1f9)](_0x5be10b['ainho'](_0x5be10b[_0x58bd2f(0x1f1)],_0x189731));}if(!_0x5be10b[_0x58bd2f(0x1c0)](isTestCommand,_0x1ed2c4,_0x385b42)){_0x5be10b[_0x58bd2f(0x163)](spawnOriginalProcess,_0x385b42);return;}const _0x1014d3=new BrowserStackSetup(_0x1ed2c4,FRAMEWORKS['PLAYWRIGHT']);if(!_0x1014d3[_0x58bd2f(0x19a)]){logger[_0x58bd2f(0x1d5)](_0x5be10b[_0x58bd2f(0x162)]);return;}await _0x1014d3['initialize']();!helper['isUndefined'](_0x1014d3[_0x58bd2f(0x1b5)])&&_0x1014d3['cliConfig'][_0x58bd2f(0x1c7)](_0x5be10b[_0x58bd2f(0x1e6)])&&(process[_0x58bd2f(0x1c2)][_0x58bd2f(0x1c6)]=_0x1014d3['cliConfig'][_0x58bd2f(0x15f)](_0x5be10b[_0x58bd2f(0x1e6)])||!![]);_0x5be10b['ZYUZx'](_0x1014d3[_0x58bd2f(0x19a)]['testObservability'],null)&&!helper[_0x58bd2f(0x1f8)](process[_0x58bd2f(0x1c2)][_0x58bd2f(0x164)])&&(process['env'][_0x58bd2f(0x164)]=process['env']['BROWSERSTACK_TEST_OBSERVABILITY']||_0x1014d3[_0x58bd2f(0x19a)][_0x58bd2f(0x17d)]);const _0x5d6fab=!helper['isFalse'](process[_0x58bd2f(0x1c2)]['BROWSERSTACK_TEST_OBSERVABILITY']);let _0x473a51=![];_0x1014d3[_0x58bd2f(0x19a)]['accessibility']&&(_0x473a51=!![],process[_0x58bd2f(0x1c2)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1014d3[_0x58bd2f(0x19a)][_0x58bd2f(0x1d8)]);_0x1014d3[_0x58bd2f(0x19a)][_0x58bd2f(0x1f2)]&&(process['env'][_0x58bd2f(0x1d1)]=JSON[_0x58bd2f(0x19d)](_0x1014d3['config'][_0x58bd2f(0x1f2)]));const _0x2c3454=_0x385b42[_0x58bd2f(0x182)](),_0x1315f3=await _0x5be10b[_0x58bd2f(0x170)](getUserPlaywrightConfig,_0x1ed2c4,_0x385b42);if(helper[_0x58bd2f(0x1e7)](_0x1315f3)){_0x5be10b[_0x58bd2f(0x163)](spawnOriginalProcess,_0x2c3454);return;}const _0x593b6d=_0x1315f3['path']?path[_0x58bd2f(0x184)](_0x1315f3[_0x58bd2f(0x1c4)]):process[_0x58bd2f(0x1b9)]();process['env'][_0x58bd2f(0x1cc)]=_0x593b6d,await TestHubHandler[_0x58bd2f(0x1cb)](FRAMEWORKS[_0x58bd2f(0x1fb)],_0x1014d3);_0x5d6fab&&_0x5be10b[_0x58bd2f(0x163)](handleO11yRerun,_0x385b42);let _0xf2dfe0=_0x5be10b[_0x58bd2f(0x193)](process[_0x58bd2f(0x1c2)][_0x58bd2f(0x1cf)],_0x5be10b[_0x58bd2f(0x160)]);_0xf2dfe0=_0xf2dfe0||_0x5be10b[_0x58bd2f(0x163)](checkAccessibilityPlatformConfig,_0x1014d3[_0x58bd2f(0x19a)]),process[_0x58bd2f(0x1c2)][_0x58bd2f(0x1cf)]=_0xf2dfe0;_0xf2dfe0&&_0x5be10b['ujVJq'](setAccessibilityCapabilities,_0x1014d3[_0x58bd2f(0x19a)]);const _0x470ff4=path[_0x58bd2f(0x18b)](_0x1315f3[_0x58bd2f(0x1c4)]?path[_0x58bd2f(0x184)](_0x1315f3[_0x58bd2f(0x1c4)]):process[_0x58bd2f(0x1b9)](),_0x5be10b['rWJhP']);fs['writeFileSync'](_0x470ff4,helper[_0x58bd2f(0x1b0)](_0x1014d3['config'])),process[_0x58bd2f(0x1c2)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x470ff4,helper[_0x58bd2f(0x167)]();let _0x2e2d7c='';_0x5be10b[_0x58bd2f(0x193)](helper[_0x58bd2f(0x1a7)](),constants[_0x58bd2f(0x1e3)][_0x58bd2f(0x16e)])?_0x2e2d7c=_0x5be10b['pHiMw']:_0x2e2d7c=_0x5be10b[_0x58bd2f(0x1aa)];let _0x4d5ee1='';if(helper[_0x58bd2f(0x1b1)](_0x1315f3[_0x58bd2f(0x1c4)])){_0x4d5ee1=_0x58bd2f(0x188);const _0x141adb=_0x2e2d7c[_0x58bd2f(0x15a)]('.');_0x141adb[_0x5be10b[_0x58bd2f(0x1ad)](_0x141adb[_0x58bd2f(0x1a9)],0x1)]='ts',_0x2e2d7c=_0x141adb[_0x58bd2f(0x18b)]('.'),logger['debug'](_0x5be10b['lVxaB'](_0x5be10b[_0x58bd2f(0x185)],_0x2e2d7c));}else _0x4d5ee1=_0x58bd2f(0x1e1);const _0x521946=path[_0x58bd2f(0x18b)](_0x1315f3[_0x58bd2f(0x1c4)]?path[_0x58bd2f(0x184)](_0x1315f3[_0x58bd2f(0x1c4)]):process[_0x58bd2f(0x1b9)](),_0x2e2d7c);let _0x36cf30=_0x1315f3[_0x58bd2f(0x1c4)]?_0x1315f3[_0x58bd2f(0x1c4)]:'';_0x36cf30=_0x5be10b[_0x58bd2f(0x190)](_0x36cf30[_0x58bd2f(0x1a9)],0x0)?path[_0x58bd2f(0x1ee)](_0x36cf30):'',process['env'][_0x58bd2f(0x17f)]=_0x36cf30;const _0x11d6c4=helper[_0x58bd2f(0x1cd)](_0x1014d3[_0x58bd2f(0x19a)]);_0x11d6c4&&(_0x4d5ee1=_0x5be10b[_0x58bd2f(0x1c5)](_0x58bd2f(0x1fd)+_0x11d6c4+_0x58bd2f(0x1f3),_0x4d5ee1));helper[_0x58bd2f(0x189)]({},_0x385b42),fs[_0x58bd2f(0x16a)](_0x521946,_0x4d5ee1),helper[_0x58bd2f(0x1a3)]();const _0x1c73ab=_0x5be10b['MRUja'](spawn,_0x5be10b[_0x58bd2f(0x1ec)],[_0x5be10b[_0x58bd2f(0x1ce)],_0x5be10b[_0x58bd2f(0x1f6)],_0x5be10b[_0x58bd2f(0x1e0)],_0x521946,..._0x385b42[_0x58bd2f(0x16d)](0x2)],{'shell':_0x5be10b['dfKgg'](process[_0x58bd2f(0x19e)],_0x5be10b[_0x58bd2f(0x179)]),'stdio':_0x5be10b[_0x58bd2f(0x1b7)],'cwd':process[_0x58bd2f(0x1b9)](),'env':Object[_0x58bd2f(0x15c)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x1ed2c4),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x1014d3[_0x58bd2f(0x19a)][_0x58bd2f(0x17a)][_0x58bd2f(0x19b)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x1014d3[_0x58bd2f(0x19a)][_0x58bd2f(0x17a)][_0x58bd2f(0x161)],'BROWSERSTACK_LOG_LEVEL':_0x1014d3['config'][_0x58bd2f(0x1bc)]})}),_0x16bcaa=()=>{const _0x38254a=_0x58bd2f;try{const _0x38f5d6=path[_0x38254a(0x18b)](helper[_0x38254a(0x17e)](),_0x5be10b[_0x38254a(0x187)],_0x5be10b[_0x38254a(0x1e4)]);if(fs[_0x38254a(0x1d2)](_0x38f5d6)){let _0x3432a3=fs[_0x38254a(0x16c)](_0x38f5d6);_0x3432a3=JSON[_0x38254a(0x18a)](_0x3432a3),_0x1014d3[_0x38254a(0x1a1)]=_0x3432a3,fs[_0x38254a(0x191)](_0x38f5d6);}}catch(_0x1a3a12){logger[_0x38254a(0x1f9)](_0x5be10b[_0x38254a(0x1a4)](_0x5be10b['dWOtp'],_0x1a3a12));}};_0x1c73ab['on'](_0x5be10b[_0x58bd2f(0x16b)],async _0x294523=>{const _0x28ffcb=_0x58bd2f;try{const _0xa273af=_0x5be10b['Yyuxb'][_0x28ffcb(0x15a)]('|');let _0x28dabb=0x0;while(!![]){switch(_0xa273af[_0x28dabb++]){case'0':logger[_0x28ffcb(0x1f9)]('Deleting\x20'+_0x470ff4);continue;case'1':fs[_0x28ffcb(0x191)](_0x470ff4);continue;case'2':fs['unlinkSync'](_0x521946);continue;case'3':_0x5be10b[_0x28ffcb(0x183)](_0x16bcaa);continue;case'4':process[_0x28ffcb(0x1ae)]=_0x294523;continue;case'5':await TestHubHandler['stop']();continue;case'6':logger[_0x28ffcb(0x196)](_0x28ffcb(0x197)+_0x521946);continue;case'7':logger['debug'](_0x28ffcb(0x1ab)+_0x294523);continue;case'8':await utilities[_0x28ffcb(0x18f)](_0x1014d3);continue;}break;}}catch(_0x2d0bd2){logger[_0x28ffcb(0x1f9)](_0x5be10b['ainho'](_0x5be10b[_0x28ffcb(0x186)],_0x2d0bd2));}});}function a35_0x1941(_0x1b0956,_0x2f22b0){const _0x364078=a35_0x3640();return a35_0x1941=function(_0x194163,_0x48d012){_0x194163=_0x194163-0x15a;let _0x3852b1=_0x364078[_0x194163];return _0x3852b1;},a35_0x1941(_0x1b0956,_0x2f22b0);}module['exports']=run;
@@ -1 +1 @@
1
- function a36_0x1284(){const _0x3b9b6e=['vrpCK','util','xyqhr','../../helpers/helper','includes','1.33.0','fsAmG','format','Call\x20to\x20child\x20fork\x20with\x20args\x20','winstonLogger','Vsbcu','8Ehkmdc','58122lIVeGz','apply','KiisO','env','compareVersions','error','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','vZPCR','526341wkDyMC','../../helpers/test-observability/utils','RAyLC','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','Path\x20','./patches','config','1815164jtKOvl','WuNgC','55CGdlmQ','../../helpers/test-observability/constants','YhDHs','fork','PLAYWRIGHT','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','2614824gAkzTS','OmoYH','HDGUl','debug','child_process','toString','exports','isHandlePWErrorSet','Not\x20able\x20to\x20import\x20globalSetup','4750zCEeKT','ekFXi','442473ajtbXj','4161297ychhfY','./mock-process.js','FtnSq','528396XIfjxc','Running\x20existing\x20global\x20setup'];a36_0x1284=function(){return _0x3b9b6e;};return a36_0x1284();}function a36_0x9998(_0x1136e6,_0x8c2be8){const _0x128450=a36_0x1284();return a36_0x9998=function(_0x99983c,_0x2185b5){_0x99983c=_0x99983c-0x187;let _0xea05bb=_0x128450[_0x99983c];return _0xea05bb;},a36_0x9998(_0x1136e6,_0x8c2be8);}const a36_0x249ee6=a36_0x9998;(function(_0x137ed9,_0x137cb1){const _0x4c97b3=a36_0x9998,_0x36255f=_0x137ed9();while(!![]){try{const _0x5f06aa=-parseInt(_0x4c97b3(0x188))/0x1+-parseInt(_0x4c97b3(0x199))/0x2*(parseInt(_0x4c97b3(0x1a2))/0x3)+parseInt(_0x4c97b3(0x1a9))/0x4+parseInt(_0x4c97b3(0x1ab))/0x5*(-parseInt(_0x4c97b3(0x18c))/0x6)+-parseInt(_0x4c97b3(0x189))/0x7+-parseInt(_0x4c97b3(0x1b1))/0x8+parseInt(_0x4c97b3(0x19a))/0x9*(parseInt(_0x4c97b3(0x1ba))/0xa);if(_0x5f06aa===_0x137cb1)break;else _0x36255f['push'](_0x36255f['shift']());}catch(_0x2043e6){_0x36255f['push'](_0x36255f['shift']());}}}(a36_0x1284,0x76e76));const util=require(a36_0x249ee6(0x18f)),child_process=require(a36_0x249ee6(0x1b5)),{FRAMEWORKS}=require(a36_0x249ee6(0x1ac)),{getFrameworkVersion,debug}=require(a36_0x249ee6(0x1a3)),helper=require(a36_0x249ee6(0x191)),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),{mockIsWorkerRedundant}=require(a36_0x249ee6(0x1a7)),logger=require('../../helpers/logger')[a36_0x249ee6(0x197)];module[a36_0x249ee6(0x1b7)]=async function(_0x17660){const _0x34ca8f=a36_0x249ee6,_0x46cef3={'vZPCR':function(_0x2dc9e6,_0x202515){return _0x2dc9e6(_0x202515);},'KiisO':function(_0x4e6d00){return _0x4e6d00();},'fsAmG':_0x34ca8f(0x18a),'OmoYH':function(_0x1efa08){return _0x1efa08();},'FtnSq':function(_0x470e33,_0x41e77e){return _0x470e33(_0x41e77e);},'xyqhr':_0x34ca8f(0x18d),'RAyLC':function(_0xec8c5b,_0x199e15){return _0xec8c5b(_0x199e15);},'vrpCK':function(_0x394044,_0x275c60){return _0x394044>=_0x275c60;},'Vsbcu':_0x34ca8f(0x193),'qcFMK':function(_0x457258,_0x29a019,_0x119cdb){return _0x457258(_0x29a019,_0x119cdb);},'HDGUl':function(_0x5e8268,_0x47d982){return _0x5e8268!==_0x47d982;},'ekFXi':'function','WuNgC':_0x34ca8f(0x1b9),'YhDHs':function(_0x2adc83,_0x5a4f3f){return _0x2adc83(_0x5a4f3f);}},_0x2a133c=child_process['fork'];if(helper[_0x34ca8f(0x1b8)]())try{_0x46cef3[_0x34ca8f(0x1b2)](mockIsWorkerRedundant);}catch(_0x3c5882){logger[_0x34ca8f(0x1b4)](_0x34ca8f(0x1b0)+util[_0x34ca8f(0x195)](_0x3c5882));}child_process[_0x34ca8f(0x1ae)]=function(){const _0x435c21=_0x34ca8f;return _0x46cef3[_0x435c21(0x1a1)](debug,_0x435c21(0x196)+arguments[0x0]),arguments[0x0][_0x435c21(0x192)](_0x46cef3['KiisO'](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x46cef3[_0x435c21(0x194)]):logger[_0x435c21(0x19f)](_0x435c21(0x1a6)+_0x46cef3[_0x435c21(0x19c)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x2a133c[_0x435c21(0x19b)](null,arguments);};if(process[_0x34ca8f(0x19d)][_0x34ca8f(0x1a5)]){_0x46cef3[_0x34ca8f(0x18b)](debug,_0x46cef3[_0x34ca8f(0x190)]);try{const {loadGlobalHook:_0x2267eb}=helper['requirePWModule'][_0x34ca8f(0x19b)](null,_0x46cef3[_0x34ca8f(0x1b2)](getLoadUtilsPath)),_0x5528b7=_0x46cef3[_0x34ca8f(0x1a4)](getFrameworkVersion,FRAMEWORKS[_0x34ca8f(0x1af)]);let _0x8936ff=_0x17660;if(_0x46cef3[_0x34ca8f(0x18e)](helper[_0x34ca8f(0x19e)](_0x5528b7,_0x46cef3[_0x34ca8f(0x198)]),0x0)){const _0x35b832={};_0x35b832[_0x34ca8f(0x1a8)]=_0x17660,_0x8936ff=_0x35b832;}const _0x4d0581=await _0x46cef3['qcFMK'](_0x2267eb,_0x8936ff,process[_0x34ca8f(0x19d)][_0x34ca8f(0x1a5)]);if(_0x46cef3[_0x34ca8f(0x1b3)](typeof _0x4d0581,_0x46cef3[_0x34ca8f(0x187)]))throw new Error(_0x46cef3[_0x34ca8f(0x1aa)]);return _0x4d0581[_0x34ca8f(0x19b)](null,arguments);}catch(_0x1fb42f){_0x46cef3[_0x34ca8f(0x1ad)](debug,_0x34ca8f(0x1a0)+_0x1fb42f[_0x34ca8f(0x1b6)]());}}};
1
+ const a36_0x292d9d=a36_0x302d;function a36_0x302d(_0x34e9a7,_0x216ad6){const _0x3d34c7=a36_0x3d34();return a36_0x302d=function(_0x302d06,_0x40a4a7){_0x302d06=_0x302d06-0x15b;let _0x54bd21=_0x3d34c7[_0x302d06];return _0x54bd21;},a36_0x302d(_0x34e9a7,_0x216ad6);}(function(_0x35a7cd,_0x2aac35){const _0x29fc0b=a36_0x302d,_0x5ede7c=_0x35a7cd();while(!![]){try{const _0x390bbb=-parseInt(_0x29fc0b(0x180))/0x1*(parseInt(_0x29fc0b(0x16a))/0x2)+-parseInt(_0x29fc0b(0x173))/0x3+parseInt(_0x29fc0b(0x16f))/0x4*(parseInt(_0x29fc0b(0x185))/0x5)+-parseInt(_0x29fc0b(0x179))/0x6+-parseInt(_0x29fc0b(0x15d))/0x7*(-parseInt(_0x29fc0b(0x183))/0x8)+-parseInt(_0x29fc0b(0x167))/0x9+parseInt(_0x29fc0b(0x186))/0xa*(parseInt(_0x29fc0b(0x172))/0xb);if(_0x390bbb===_0x2aac35)break;else _0x5ede7c['push'](_0x5ede7c['shift']());}catch(_0x580c42){_0x5ede7c['push'](_0x5ede7c['shift']());}}}(a36_0x3d34,0x3b0bf));const util=require('util'),child_process=require(a36_0x292d9d(0x181)),{FRAMEWORKS}=require(a36_0x292d9d(0x17f)),{getFrameworkVersion,debug}=require(a36_0x292d9d(0x164)),helper=require(a36_0x292d9d(0x18a)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x292d9d(0x169)),{mockIsWorkerRedundant}=require(a36_0x292d9d(0x163)),logger=require(a36_0x292d9d(0x15e))[a36_0x292d9d(0x161)];module[a36_0x292d9d(0x17d)]=async function(_0x5199c4){const _0x42da73=a36_0x292d9d,_0x3c94a8={'ewTSb':function(_0x4a5115,_0x387661){return _0x4a5115(_0x387661);},'JdjPl':function(_0x472daf){return _0x472daf();},'POcNr':_0x42da73(0x162),'CPeZc':function(_0x24ebc0){return _0x24ebc0();},'XKaho':_0x42da73(0x189),'THwkL':function(_0xbac5ce,_0xcf96d0){return _0xbac5ce>=_0xcf96d0;},'aFTik':'1.33.0','pWxas':function(_0x3188b9,_0xaf1726,_0x18677d){return _0x3188b9(_0xaf1726,_0x18677d);},'aXawD':function(_0x301b02,_0x56c627){return _0x301b02!==_0x56c627;},'MzHUt':'function','LAWpw':_0x42da73(0x17b)},_0x478542=child_process[_0x42da73(0x15b)];if(helper[_0x42da73(0x17e)]())try{_0x3c94a8['CPeZc'](mockIsWorkerRedundant);}catch(_0x3ef269){logger[_0x42da73(0x188)](_0x42da73(0x160)+util[_0x42da73(0x15f)](_0x3ef269));}child_process[_0x42da73(0x15b)]=function(){const _0x20eedd=_0x42da73;return _0x3c94a8[_0x20eedd(0x16b)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x20eedd(0x18b)](_0x3c94a8[_0x20eedd(0x175)](getForkProcessPath))?arguments[0x0]=require[_0x20eedd(0x168)](_0x3c94a8[_0x20eedd(0x15c)]):logger[_0x20eedd(0x184)](_0x20eedd(0x176)+_0x3c94a8[_0x20eedd(0x175)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x478542[_0x20eedd(0x165)](null,arguments);};if(process[_0x42da73(0x177)][_0x42da73(0x16c)]){_0x3c94a8['ewTSb'](debug,_0x3c94a8[_0x42da73(0x17c)]);try{const {loadGlobalHook:_0x44aac9}=helper['requirePWModule'][_0x42da73(0x165)](null,_0x3c94a8[_0x42da73(0x178)](getLoadUtilsPath)),_0x34214a=_0x3c94a8[_0x42da73(0x16b)](getFrameworkVersion,FRAMEWORKS[_0x42da73(0x187)]);let _0x1b04e1=_0x5199c4;if(_0x3c94a8[_0x42da73(0x16e)](helper[_0x42da73(0x170)](_0x34214a,_0x3c94a8[_0x42da73(0x171)]),0x0)){const _0x26d764={};_0x26d764[_0x42da73(0x16d)]=_0x5199c4,_0x1b04e1=_0x26d764;}const _0x44afd4=await _0x3c94a8[_0x42da73(0x182)](_0x44aac9,_0x1b04e1,process[_0x42da73(0x177)][_0x42da73(0x16c)]);if(_0x3c94a8[_0x42da73(0x166)](typeof _0x44afd4,_0x3c94a8['MzHUt']))throw new Error(_0x3c94a8['LAWpw']);return _0x44afd4[_0x42da73(0x165)](null,arguments);}catch(_0x33d77f){_0x3c94a8['ewTSb'](debug,_0x42da73(0x174)+_0x33d77f[_0x42da73(0x17a)]());}}};function a36_0x3d34(){const _0x2432ce=['toString','Not\x20able\x20to\x20import\x20globalSetup','XKaho','exports','isHandlePWErrorSet','../../helpers/test-observability/constants','1RMaeKF','child_process','pWxas','412992jcXMcq','error','2270AhiNZq','330570mmzcMy','PLAYWRIGHT','debug','Running\x20existing\x20global\x20setup','../../helpers/helper','includes','fork','POcNr','14EcoGya','../../helpers/logger','format','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','winstonLogger','./mock-process.js','./patches','../../helpers/test-observability/utils','apply','aXawD','3907053wZLgBf','resolve','./reporter/pwUtils','828886GQvHSr','ewTSb','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','config','THwkL','4188HQEJnw','compareVersions','aFTik','308uVtnRZ','661824GTfPSt','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','JdjPl','Path\x20','env','CPeZc','1158954GAksop'];a36_0x3d34=function(){return _0x2432ce;};return a36_0x3d34();}