browserstack-node-sdk 1.34.34 → 1.34.35

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 (131) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/central-scanner/constants.js +1 -1
  101. package/src/helpers/central-scanner/helpers.js +1 -1
  102. package/src/helpers/globals.js +1 -1
  103. package/src/helpers/helper.js +1 -1
  104. package/src/helpers/logger.js +1 -1
  105. package/src/helpers/patchHelper.js +1 -1
  106. package/src/helpers/patchHelpers.js +1 -1
  107. package/src/helpers/percy/Percy.js +1 -1
  108. package/src/helpers/percy/PercyBinary.js +1 -1
  109. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  110. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  111. package/src/helpers/percy/PercySDK.js +1 -1
  112. package/src/helpers/percy/index.js +1 -1
  113. package/src/helpers/percy/utils.js +1 -1
  114. package/src/helpers/performance/constants.js +1 -1
  115. package/src/helpers/performance/performance-tester.js +1 -1
  116. package/src/helpers/processHelper.js +1 -1
  117. package/src/helpers/request-spy.js +1 -1
  118. package/src/helpers/setKeepAlive.js +1 -1
  119. package/src/helpers/test-observability/constants.js +1 -1
  120. package/src/helpers/test-observability/error-handler.js +1 -1
  121. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  122. package/src/helpers/test-observability/sessionHandler.js +1 -1
  123. package/src/helpers/test-observability/utils.js +1 -1
  124. package/src/helpers/testhub/constants.js +1 -1
  125. package/src/helpers/testhub/testhubHandler.js +1 -1
  126. package/src/helpers/testhub/utils.js +1 -1
  127. package/src/helpers/timeoutPromise.js +1 -1
  128. package/src/helpers/utilities.js +1 -1
  129. package/src/helpers/w3cMapping.js +1 -1
  130. package/src/hubAllocationMethods.js +1 -1
  131. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a29_0xe88bd3=a29_0x2487;(function(_0x2b1255,_0x1fee90){const _0x353252=a29_0x2487,_0x304807=_0x2b1255();while(!![]){try{const _0x2721de=-parseInt(_0x353252(0x1f7))/0x1+-parseInt(_0x353252(0x1a9))/0x2+-parseInt(_0x353252(0x1f2))/0x3*(parseInt(_0x353252(0x18e))/0x4)+parseInt(_0x353252(0x1b5))/0x5*(-parseInt(_0x353252(0x1ac))/0x6)+-parseInt(_0x353252(0x196))/0x7+parseInt(_0x353252(0x18f))/0x8+parseInt(_0x353252(0x1de))/0x9*(parseInt(_0x353252(0x1bf))/0xa);if(_0x2721de===_0x1fee90)break;else _0x304807['push'](_0x304807['shift']());}catch(_0x53bc62){_0x304807['push'](_0x304807['shift']());}}}(a29_0x3209,0x3461c));function a29_0x2487(_0x49ebac,_0x5bc95f){const _0x3209ea=a29_0x3209();return a29_0x2487=function(_0x248734,_0x1ab8e8){_0x248734=_0x248734-0x185;let _0x54c3ac=_0x3209ea[_0x248734];return _0x54c3ac;},a29_0x2487(_0x49ebac,_0x5bc95f);}const logger=require(a29_0xe88bd3(0x1d6))['winstonLogger'],helper=require(a29_0xe88bd3(0x1c2)),constants=require('../../../bin/utils/constants'),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0xe88bd3(0x1bb)),{setAccessibilityCapabilities,setExtension}=require(a29_0xe88bd3(0x1af)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a29_0xe88bd3(0x1d9)),{overrideExecute}=require(a29_0xe88bd3(0x1dc)),modify=(_0x568075,_0x107cc2=null,_0x464402=![])=>{const _0x951d26=a29_0xe88bd3,_0x3507ee={'CxIHZ':function(_0x575c3b,_0xe7257f){return _0x575c3b!==_0xe7257f;},'WOPpB':'/session','psqtU':function(_0x1d8443,_0x3580ed){return _0x1d8443!==_0x3580ed;},'lmlfL':function(_0x1d68ba,_0x56c7ff){return _0x1d68ba+_0x56c7ff;},'giYvS':function(_0x129073,_0x25f11a){return _0x129073+_0x25f11a;},'HWjPM':_0x951d26(0x192),'HfAng':_0x951d26(0x1b9),'ByHcD':_0x951d26(0x1ec),'HPrXS':'chromeOptions','RZYrW':_0x951d26(0x1a8),'BTcPJ':'edgeOptions','TJgFt':_0x951d26(0x1f0),'XtLDH':_0x951d26(0x1a3),'YHIFi':_0x951d26(0x1c5),'qlgCv':'se:ieOptions','FKwra':_0x951d26(0x19b),'SyxgK':function(_0x501d67,_0x124931){return _0x501d67===_0x124931;},'sMbKI':'object','ObMfN':_0x951d26(0x1e9),'BvEeX':_0x951d26(0x1b8),'zDcrU':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','revwv':function(_0x13d24e,_0x244734,_0x379f73){return _0x13d24e(_0x244734,_0x379f73);},'kRRRn':_0x951d26(0x1bd),'rMTuy':function(_0x38b6b2,_0x12b240){return _0x38b6b2(_0x12b240);},'lffAg':_0x951d26(0x1c0),'eBRbD':_0x951d26(0x1d4),'XZipL':function(_0x2627cc){return _0x2627cc();},'meaWa':function(_0x113a85,_0x57506a){return _0x113a85(_0x57506a);},'fwIJo':_0x951d26(0x1aa),'fbdLq':function(_0x492d0f,_0x45dbda){return _0x492d0f!==_0x45dbda;},'gKlvg':function(_0x28de06,_0x26c54d){return _0x28de06!==_0x26c54d;},'wvIBi':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','gViKv':_0x951d26(0x1a1)},_0x106234=helper[_0x951d26(0x18d)]();let _0x4616df;try{_0x4616df=helper[_0x951d26(0x199)](),_0x4616df['originalBuilder']&&(_0x4616df[_0x951d26(0x1f3)]=_0x4616df[_0x951d26(0x1c8)]);}catch(_0x7dfcdb){return;}if(helper[_0x951d26(0x1ce)]()){const _0x5666b2={};_0x5666b2['logLevel']=_0x568075[_0x951d26(0x1cb)],helper[_0x951d26(0x190)](_0x5666b2,new Map(),new Map()),logger[_0x951d26(0x19d)](_0x3507ee[_0x951d26(0x1c3)]),logger[_0x951d26(0x1df)](_0x3507ee['gViKv']);}class _0x131966 extends _0x106234[_0x951d26(0x1b0)]{[_0x951d26(0x1e7)](_0xf3a4c7){const _0x872a64=_0x951d26;if(_0x3507ee[_0x872a64(0x1d5)](_0xf3a4c7[_0x872a64(0x19a)],_0x3507ee[_0x872a64(0x1ed)])&&_0x3507ee[_0x872a64(0x1ae)](global[_0x872a64(0x1e3)],''))try{global[_0x872a64(0x1e3)]=_0x3507ee['lmlfL'](_0x3507ee[_0x872a64(0x19e)](_0x3507ee[_0x872a64(0x1b3)],global['newHubUrl']),_0x3507ee[_0x872a64(0x1ad)]),this[_0x872a64(0x1b2)]=hubAllocator[_0x872a64(0x1ab)](global[_0x872a64(0x1e3)]),logger[_0x872a64(0x1df)](_0x872a64(0x1bc)+global[_0x872a64(0x1e3)]),global[_0x872a64(0x1e3)]='';}catch(_0x5061fd){logger['error'](_0x5061fd);}return super[_0x872a64(0x1e7)](_0xf3a4c7);}}class _0x287fac extends _0x4616df[_0x951d26(0x1f3)]{[_0x951d26(0x195)](){const _0x251bcf=_0x951d26;return this[_0x251bcf(0x1f1)]=helper['getHubUrl'](_0x568075),logger[_0x251bcf(0x1df)](_0x251bcf(0x1f6)+this['url_']),this;}[_0x951d26(0x1a2)](_0x58ec83){const _0x549aaa=_0x951d26;let _0x3e806f={};for(const _0x4159c1 in _0x58ec83){switch(_0x4159c1){case _0x3507ee[_0x549aaa(0x1db)]:case _0x3507ee['HPrXS']:this[_0x549aaa(0x1eb)]&&(_0x3e806f=this['chromeOptions_']['get'](this['chromeOptions_'][_0x549aaa(0x1c7)])||{},this[_0x549aaa(0x1eb)][_0x549aaa(0x1a4)](this['chromeOptions_'][_0x549aaa(0x1c7)],helper[_0x549aaa(0x18c)](_0x3e806f,_0x58ec83[_0x4159c1])));break;case _0x3507ee[_0x549aaa(0x1e6)]:case _0x3507ee[_0x549aaa(0x1da)]:this[_0x549aaa(0x1d8)]&&(_0x3e806f=this['edgeOptions_'][_0x549aaa(0x186)](this[_0x549aaa(0x1d8)][_0x549aaa(0x1c7)])||{},this['edgeOptions_'][_0x549aaa(0x1a4)](this[_0x549aaa(0x1d8)][_0x549aaa(0x1c7)],helper[_0x549aaa(0x18c)](_0x3e806f,_0x58ec83[_0x4159c1])));break;case _0x3507ee[_0x549aaa(0x1c9)]:case _0x3507ee[_0x549aaa(0x18a)]:this[_0x549aaa(0x1f4)]&&(_0x3e806f=this[_0x549aaa(0x1f4)][_0x549aaa(0x186)](this['firefoxOptions_']['CAPABILITY_KEY'])||{},this[_0x549aaa(0x1f4)][_0x549aaa(0x1a4)](this[_0x549aaa(0x1f4)]['CAPABILITY_KEY'],helper[_0x549aaa(0x18c)](_0x3e806f,_0x58ec83[_0x4159c1])));break;case _0x3507ee[_0x549aaa(0x1d3)]:this[_0x549aaa(0x1fa)]&&(_0x3e806f=this[_0x549aaa(0x1fa)][_0x549aaa(0x186)](this['safariOptions_'][_0x549aaa(0x1c7)])||{},this[_0x549aaa(0x1fa)]['set'](this[_0x549aaa(0x1fa)][_0x549aaa(0x1c7)],helper[_0x549aaa(0x18c)](_0x3e806f,_0x58ec83[_0x4159c1])));break;case _0x3507ee[_0x549aaa(0x1a7)]:case _0x3507ee[_0x549aaa(0x194)]:this[_0x549aaa(0x1e2)]&&(_0x3e806f=this[_0x549aaa(0x1e2)]['get'](this[_0x549aaa(0x1e2)][_0x549aaa(0x1c7)])||{},this[_0x549aaa(0x1e2)][_0x549aaa(0x1a4)](this[_0x549aaa(0x1e2)]['CAPABILITY_KEY'],helper[_0x549aaa(0x18c)](_0x3e806f,_0x58ec83[_0x4159c1])));break;}}}[_0x951d26(0x1fc)](){const _0x4b827f=_0x951d26,_0x29f0dc={'jRHvP':function(_0x1b88b4,_0x419070){return _0x3507ee['SyxgK'](_0x1b88b4,_0x419070);},'grUiF':_0x3507ee[_0x4b827f(0x188)]};return logger['debug'](_0x3507ee[_0x4b827f(0x1cf)]),this[_0x4b827f(0x1a2)](_0x568075[_0x4b827f(0x1f8)]),Object[_0x4b827f(0x1b1)](_0x568075[_0x4b827f(0x1f8)])[_0x4b827f(0x1d0)](_0x50c26e=>{const _0x224f70=_0x4b827f,_0x572854=this['capabilities_'][_0x224f70(0x186)](_0x50c26e);_0x29f0dc[_0x224f70(0x191)](typeof _0x572854,_0x29f0dc[_0x224f70(0x1fb)])?this[_0x224f70(0x1f5)][_0x224f70(0x1a4)](_0x50c26e,helper[_0x224f70(0x18c)](_0x572854,_0x568075[_0x224f70(0x1f8)][_0x50c26e])):this[_0x224f70(0x1f5)][_0x224f70(0x1a4)](_0x50c26e,_0x568075[_0x224f70(0x1f8)][_0x50c26e]);}),this;}['build'](){const _0x38765e=_0x951d26,_0x593819={'ToisQ':function(_0x230a42,_0x5f4022,_0x3e3760){const _0xc5b430=a29_0x2487;return _0x3507ee[_0xc5b430(0x1ca)](_0x230a42,_0x5f4022,_0x3e3760);},'DkWlP':_0x3507ee[_0x38765e(0x1e1)],'tNsIZ':function(_0x3e499a,_0x2f06a0){const _0x21f4de=_0x38765e;return _0x3507ee[_0x21f4de(0x1c6)](_0x3e499a,_0x2f06a0);},'xGaBV':function(_0x4df020,_0x5d4033,_0x576226){return _0x3507ee['revwv'](_0x4df020,_0x5d4033,_0x576226);}};if(helper[_0x38765e(0x1ce)]()){const _0x52bb21=_0x3507ee[_0x38765e(0x1e0)][_0x38765e(0x1a0)]('|');let _0xa6e8dd=0x0;while(!![]){switch(_0x52bb21[_0xa6e8dd++]){case'0':globals['getGlobal'](_0x3507ee['eBRbD'])&&(!_0x3507ee[_0x38765e(0x1ca)](setExtension,this,_0x568075)&&globals['setGlobal'](_0x3507ee[_0x38765e(0x1d2)],![]));continue;case'1':_0x3507ee[_0x38765e(0x1ba)](isAccessibilityAutomationSession)&&_0x3507ee['meaWa'](setAccessibilityCapabilities,_0x568075);continue;case'2':if(helper[_0x38765e(0x1a6)](_0x568075[_0x38765e(0x197)][_0x38765e(0x189)]))this['agent_']=helper['getHttpAgent'](_0x568075[_0x38765e(0x197)]['proxyUrl']);else _0x568075['proxySettings'][_0x38765e(0x189)]&&(this[_0x38765e(0x1b4)]=_0x568075[_0x38765e(0x197)][_0x38765e(0x189)],logger[_0x38765e(0x1df)]('Proxy\x20set\x20to\x20'+this['proxy_']));continue;case'3':this['setServer']();continue;case'4':logger[_0x38765e(0x1df)](_0x3507ee['fwIJo']);continue;case'5':this[_0x38765e(0x1fc)]();continue;}break;}}const _0x281180=super[_0x38765e(0x19c)]();return _0x281180[_0x38765e(0x1c4)][_0x38765e(0x1e8)](_0x348d5a=>{const _0x111903=_0x38765e;try{const _0x1fe38c=_0x348d5a[_0x111903(0x18b)][_0x111903(0x186)](_0x3507ee[_0x111903(0x185)]);_0x1fe38c?(logger[_0x111903(0x1df)](_0x111903(0x198)+_0x1fe38c),hubAllocator[_0x111903(0x1dd)](_0x1fe38c),helper[_0x111903(0x193)](_0x1fe38c)):logger[_0x111903(0x1df)](_0x3507ee['zDcrU']);}catch(_0x32e045){logger[_0x111903(0x1df)](_0x111903(0x1d7)+_0x32e045);}}),_0x281180[_0x38765e(0x1c1)]=0x0,_0x281180[_0x38765e(0x1e8)]&&_0x281180['then'](_0x194586=>{const _0x5e5e1c=_0x38765e,_0x2527c8=_0x593819['DkWlP'][_0x5e5e1c(0x1a0)]('|');let _0x574137=0x0;while(!![]){switch(_0x2527c8[_0x574137++]){case'0':_0x194586['getAccessibilityResults']=async()=>{return await _0x593819['ToisQ'](getAccessibilityResults,_0x194586,global);};continue;case'1':helper[_0x5e5e1c(0x1d1)](_0x194586,_0x568075);continue;case'2':_0x593819[_0x5e5e1c(0x19f)](overrideExecute,_0x194586,_0x568075);continue;case'3':_0x194586[_0x5e5e1c(0x1a5)]=async()=>{const _0x5cb9ff=_0x5e5e1c;return await _0x593819[_0x5cb9ff(0x19f)](getAccessibilityResultsSummary,_0x194586,global);};continue;case'4':_0x593819['ToisQ'](overrideQuit,_0x194586,_0x281180);continue;case'5':_0x593819[_0x5e5e1c(0x1cc)](overrideTakeScreenshot,_0x194586);continue;}break;}}),_0x281180['getAccessibilityResultsSummary']=async()=>{return await _0x593819['ToisQ'](getAccessibilityResultsSummary,_0x281180,global);},_0x281180[_0x38765e(0x187)]=async()=>{const _0x3acb40=_0x38765e;return await _0x593819[_0x3acb40(0x1ee)](getAccessibilityResults,_0x281180,global);},_0x3507ee[_0x38765e(0x1b7)](overrideTakeScreenshot,_0x281180),_0x3507ee['rMTuy'](overrideQuit,_0x281180),helper[_0x38765e(0x1d1)](_0x281180,_0x568075),_0x3507ee[_0x38765e(0x1ca)](overrideExecute,_0x281180,_0x568075),helper[_0x38765e(0x1be)](global['__driversArray'])&&(global[_0x38765e(0x1cd)]=[]),helper[_0x38765e(0x1be)](global['__drivers'])&&(global[_0x38765e(0x1ef)]=[]),global[_0x38765e(0x1cd)][_0x38765e(0x1b6)](_0x281180),global[_0x38765e(0x1ea)]=_0x281180,_0x3507ee['fbdLq'](global[_0x38765e(0x1ef)],undefined)&&global[_0x38765e(0x1ef)][_0x38765e(0x1b6)](_0x281180),_0x107cc2&&helper['isUndefined'](_0x107cc2[_0x38765e(0x1f9)][_0x38765e(0x1cd)])&&(_0x107cc2[_0x38765e(0x1f9)][_0x38765e(0x1cd)]=[]),_0x107cc2&&_0x3507ee[_0x38765e(0x1e5)](_0x107cc2['global'][_0x38765e(0x1ef)],undefined)&&(_0x107cc2['global']['__drivers'][_0x38765e(0x1b6)](_0x281180),_0x107cc2['global'][_0x38765e(0x1cd)][_0x38765e(0x1b6)](_0x281180)),_0x281180;}}return _0x4616df[_0x951d26(0x1c8)]=_0x4616df[_0x951d26(0x1f3)],_0x4616df['Builder']=_0x287fac,_0x106234[_0x951d26(0x1b0)]=_0x131966,_0x4616df;};function a29_0x3209(){const _0xcc4869=['YHIFi','isAccessibilityPlatform','CxIHZ','../../../helpers/logger','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','edgeOptions_','../../../helpers/globals','BTcPJ','ByHcD','./helpers/patchHelper','updateHubUrl','7455303niwDxt','debug','lffAg','kRRRn','ieOptions_','newHubUrl','exports','gKlvg','RZYrW','send','then','Setting\x20Browserstack\x20capabilities','__driver','chromeOptions_','goog:chromeOptions','WOPpB','xGaBV','__drivers','moz:firefoxOptions','url_','8958JRPvyT','Builder','firefoxOptions_','capabilities_','Hub\x20url\x20set\x20to\x20','420042gdTEAp','capability','global','safariOptions_','grUiF','setCapabilities','BvEeX','get','getAccessibilityResults','sMbKI','proxyUrl','XtLDH','caps_','mergeDeep','requireHttpClient','552AgkEMW','1272496vTCBjq','setLogLevel','jRHvP','https://','storeOptimalHubUrl','FKwra','setServer','2164155vfancD','proxySettings','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','requireSeleniumWebdriver','path','ieOptions','build','info','giYvS','ToisQ','split','Modifying\x20webdriver\x20builder','__setBrowserOptions','firefoxOptions','set','getAccessibilityResultsSummary','isPacProxy','qlgCv','ms:edgeOptions','768588gurdvD','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','getRequestOptions','14646CBAUKp','HfAng','psqtU','../accessibility-automation/helper','HttpClient','keys','options_','HWjPM','proxy_','155iKGeEG','push','meaWa','optimalHubUrl','/wd/hub','XZipL','../../../helpers/patchHelpers','New\x20hub\x20url\x20set\x20to\x20','4|5|1|2|3|0','isUndefined','20adDwbK','1|3|5|2|0|4','quitCount_','../../../helpers/helper','wvIBi','session_','safari.options','rMTuy','CAPABILITY_KEY','originalBuilder','TJgFt','revwv','browserStackLogLevel','tNsIZ','__driversArray','isBrowserstackInfra','ObMfN','forEach','overrideGet','eBRbD'];a29_0x3209=function(){return _0xcc4869;};return a29_0x3209();}module[a29_0xe88bd3(0x1e4)]['browserstackAgentObservability']=modify;
1
+ function a29_0x5019(_0x18bfd9,_0x1bf120){const _0x55e79d=a29_0x55e7();return a29_0x5019=function(_0x5019e4,_0x32ce74){_0x5019e4=_0x5019e4-0x1e8;let _0x44863a=_0x55e79d[_0x5019e4];return _0x44863a;},a29_0x5019(_0x18bfd9,_0x1bf120);}const a29_0x290d8b=a29_0x5019;function a29_0x55e7(){const _0x3e747e=['keys','ywpWZ','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','ieOptions_','15TGmeFu','1050808pLKcpt','ooPPy','capabilities_','proxySettings','XVmlA','object','getRequestOptions','isAccessibilityPlatform','1|4|3|2|0|5','384490rLJunl','./helpers/patchHelper','session_','../../../bin/utils/constants','getHttpAgent','Hfdbk','1019019nZBwJc','caps_','../../../hubAllocationMethods','CAPABILITY_KEY','5FjoqFP','isPacProxy','updateHubUrl','EnqUM','1016026Qkbtde','564BQKNFx','ieOptions','debug','mOrKU','optimalHubUrl','proxy_','__driver','5292942wnwpNf','Hub\x20url\x20set\x20to\x20','storeOptimalHubUrl','proxyUrl','4092670jSTcMl','capability','split','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','../../../helpers/patchHelpers','setCapabilities','set','Builder','CEZxc','path','ms:edgeOptions','mergeDeep','yvojP','getGlobal','AVZoA','build','1732932RLcJnI','isBrowserstackInfra','goog:chromeOptions','__drivers','WyWry','EDSuM','browserstackAgentObservability','getAccessibilityResultsSummary','nzURL','chromeOptions_','../../../helpers/accessibility-automation/helper','UXsZw','rcpEt','overrideGet','__driversArray','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','../accessibility-automation/helper','winstonLogger','originalBuilder','49QTKYGA','lTdJO','newHubUrl','setServer','QOWaG','firefoxOptions','push','options_','../../../helpers/logger','kXexG','safari.options','9PUVrmz','quitCount_','/session','QdgUD','https://','IUbhq','global','../../../helpers/helper','setGlobal','forEach','../../../helpers/globals','VCIJB','LASlE','kAxmi','atHbQ','url_','info','edgeOptions_','getHubUrl','logLevel','se:ieOptions','requireHttpClient','then','get','firefoxOptions_','MsnAh','isUndefined','HttpClient','WlFah','Proxy\x20set\x20to\x20','safariOptions_','exports','__setBrowserOptions','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','NzKcg'];a29_0x55e7=function(){return _0x3e747e;};return a29_0x55e7();}(function(_0x1962da,_0xf45e19){const _0x62d722=a29_0x5019,_0x1a2a08=_0x1962da();while(!![]){try{const _0x29558f=-parseInt(_0x62d722(0x1fc))/0x1+-parseInt(_0x62d722(0x1f6))/0x2*(parseInt(_0x62d722(0x1ec))/0x3)+-parseInt(_0x62d722(0x220))/0x4+-parseInt(_0x62d722(0x200))/0x5*(parseInt(_0x62d722(0x20c))/0x6)+parseInt(_0x62d722(0x233))/0x7*(-parseInt(_0x62d722(0x1ed))/0x8)+-parseInt(_0x62d722(0x23e))/0x9*(-parseInt(_0x62d722(0x210))/0xa)+-parseInt(_0x62d722(0x204))/0xb*(-parseInt(_0x62d722(0x205))/0xc);if(_0x29558f===_0xf45e19)break;else _0x1a2a08['push'](_0x1a2a08['shift']());}catch(_0x21364e){_0x1a2a08['push'](_0x1a2a08['shift']());}}}(a29_0x55e7,0x82b52));const logger=require(a29_0x290d8b(0x23b))[a29_0x290d8b(0x231)],helper=require(a29_0x290d8b(0x245)),constants=require(a29_0x290d8b(0x1f9)),hubAllocator=require(a29_0x290d8b(0x1fe)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x290d8b(0x214)),{setAccessibilityCapabilities,setExtension}=require(a29_0x290d8b(0x230)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x290d8b(0x22a)),globals=require(a29_0x290d8b(0x248)),{overrideExecute}=require(a29_0x290d8b(0x1f7)),modify=(_0x405d14,_0x5e0ee6=null,_0x221f0e=![])=>{const _0x437cd7=a29_0x290d8b,_0x25cb8c={'WlFah':function(_0x3e16b4,_0x24f106){return _0x3e16b4!==_0x24f106;},'EDSuM':_0x437cd7(0x240),'nzURL':function(_0x16c677,_0x396721){return _0x16c677+_0x396721;},'LASlE':function(_0x3f9996,_0x4c5e66){return _0x3f9996+_0x4c5e66;},'QdgUD':_0x437cd7(0x242),'XVmlA':'/wd/hub','UXsZw':_0x437cd7(0x222),'Hfdbk':'chromeOptions','ooPPy':_0x437cd7(0x21a),'NzKcg':'edgeOptions','EnqUM':'moz:firefoxOptions','vMqRC':_0x437cd7(0x238),'yvojP':_0x437cd7(0x23d),'kXexG':_0x437cd7(0x252),'YXcUF':_0x437cd7(0x206),'ytgUK':function(_0xc37577,_0x1071ad){return _0xc37577===_0x1071ad;},'WyWry':_0x437cd7(0x1f2),'smSaV':'Setting\x20Browserstack\x20capabilities','uXXOM':_0x437cd7(0x209),'IcTFG':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','rcpEt':'5|4|1|2|0|3','QOWaG':function(_0x314711,_0x195288,_0x7c7762){return _0x314711(_0x195288,_0x7c7762);},'mOrKU':function(_0x443aa6,_0x4acf21){return _0x443aa6(_0x4acf21);},'YriNJ':function(_0x3dba7c,_0x3e8e3a,_0x308463){return _0x3dba7c(_0x3e8e3a,_0x308463);},'ywpWZ':function(_0x26847e,_0x201e4b,_0x51851b){return _0x26847e(_0x201e4b,_0x51851b);},'atHbQ':function(_0x45cd40,_0x4f591c,_0x52a7c8){return _0x45cd40(_0x4f591c,_0x52a7c8);},'sOAyo':_0x437cd7(0x1f5),'kAxmi':_0x437cd7(0x1f4),'kDTEu':function(_0x2877c7){return _0x2877c7();},'VCIJB':function(_0x49c8f9,_0x36e949){return _0x49c8f9(_0x36e949);},'uIlUa':_0x437cd7(0x22f),'IUbhq':function(_0x3b36ca,_0x5c62b7){return _0x3b36ca(_0x5c62b7);},'lTdJO':_0x437cd7(0x213),'MsnAh':'Modifying\x20webdriver\x20builder'},_0x5a1020=helper[_0x437cd7(0x253)]();let _0x4f0095;try{_0x4f0095=helper['requireSeleniumWebdriver'](),_0x4f0095[_0x437cd7(0x232)]&&(_0x4f0095[_0x437cd7(0x217)]=_0x4f0095[_0x437cd7(0x232)]);}catch(_0x5410a8){return;}if(helper[_0x437cd7(0x221)]()){const _0x438313={};_0x438313[_0x437cd7(0x251)]=_0x405d14['browserStackLogLevel'],helper['setLogLevel'](_0x438313,new Map(),new Map()),logger[_0x437cd7(0x24e)](_0x25cb8c[_0x437cd7(0x234)]),logger[_0x437cd7(0x207)](_0x25cb8c[_0x437cd7(0x257)]);}class _0x218442 extends _0x5a1020[_0x437cd7(0x259)]{['send'](_0x445732){const _0x3b1a50=_0x437cd7;if(_0x25cb8c[_0x3b1a50(0x25a)](_0x445732[_0x3b1a50(0x219)],_0x25cb8c[_0x3b1a50(0x225)])&&_0x25cb8c[_0x3b1a50(0x25a)](global[_0x3b1a50(0x235)],''))try{global[_0x3b1a50(0x235)]=_0x25cb8c[_0x3b1a50(0x228)](_0x25cb8c[_0x3b1a50(0x24a)](_0x25cb8c[_0x3b1a50(0x241)],global['newHubUrl']),_0x25cb8c[_0x3b1a50(0x1f1)]),this[_0x3b1a50(0x23a)]=hubAllocator[_0x3b1a50(0x1f3)](global['newHubUrl']),logger[_0x3b1a50(0x207)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x3b1a50(0x235)]),global[_0x3b1a50(0x235)]='';}catch(_0x1821e3){logger['error'](_0x1821e3);}return super['send'](_0x445732);}}class _0x5a2b14 extends _0x4f0095[_0x437cd7(0x217)]{[_0x437cd7(0x236)](){const _0xb7fd6a=_0x437cd7;return this['url_']=helper[_0xb7fd6a(0x250)](_0x405d14),logger[_0xb7fd6a(0x207)](_0xb7fd6a(0x20d)+this[_0xb7fd6a(0x24d)]),this;}[_0x437cd7(0x25e)](_0x289239){const _0x326747=_0x437cd7;let _0x344a9c={};for(const _0x334683 in _0x289239){switch(_0x334683){case _0x25cb8c[_0x326747(0x22b)]:case _0x25cb8c[_0x326747(0x1fb)]:this[_0x326747(0x229)]&&(_0x344a9c=this['chromeOptions_'][_0x326747(0x255)](this[_0x326747(0x229)][_0x326747(0x1ff)])||{},this[_0x326747(0x229)]['set'](this[_0x326747(0x229)][_0x326747(0x1ff)],helper['mergeDeep'](_0x344a9c,_0x289239[_0x334683])));break;case _0x25cb8c[_0x326747(0x1ee)]:case _0x25cb8c[_0x326747(0x260)]:this[_0x326747(0x24f)]&&(_0x344a9c=this[_0x326747(0x24f)][_0x326747(0x255)](this[_0x326747(0x24f)]['CAPABILITY_KEY'])||{},this[_0x326747(0x24f)][_0x326747(0x216)](this[_0x326747(0x24f)][_0x326747(0x1ff)],helper[_0x326747(0x21b)](_0x344a9c,_0x289239[_0x334683])));break;case _0x25cb8c[_0x326747(0x203)]:case _0x25cb8c['vMqRC']:this[_0x326747(0x256)]&&(_0x344a9c=this[_0x326747(0x256)][_0x326747(0x255)](this['firefoxOptions_']['CAPABILITY_KEY'])||{},this[_0x326747(0x256)]['set'](this[_0x326747(0x256)][_0x326747(0x1ff)],helper['mergeDeep'](_0x344a9c,_0x289239[_0x334683])));break;case _0x25cb8c[_0x326747(0x21c)]:this[_0x326747(0x25c)]&&(_0x344a9c=this[_0x326747(0x25c)][_0x326747(0x255)](this[_0x326747(0x25c)][_0x326747(0x1ff)])||{},this[_0x326747(0x25c)]['set'](this[_0x326747(0x25c)]['CAPABILITY_KEY'],helper[_0x326747(0x21b)](_0x344a9c,_0x289239[_0x334683])));break;case _0x25cb8c[_0x326747(0x23c)]:case _0x25cb8c['YXcUF']:this[_0x326747(0x1eb)]&&(_0x344a9c=this[_0x326747(0x1eb)][_0x326747(0x255)](this[_0x326747(0x1eb)]['CAPABILITY_KEY'])||{},this['ieOptions_'][_0x326747(0x216)](this[_0x326747(0x1eb)][_0x326747(0x1ff)],helper[_0x326747(0x21b)](_0x344a9c,_0x289239[_0x334683])));break;}}}[_0x437cd7(0x215)](){const _0x25219b=_0x437cd7,_0x1277f3={'AVZoA':function(_0xbc5fdd,_0x2727d6){return _0x25cb8c['ytgUK'](_0xbc5fdd,_0x2727d6);},'qjPjp':_0x25cb8c[_0x25219b(0x224)]};return logger[_0x25219b(0x207)](_0x25cb8c['smSaV']),this[_0x25219b(0x25e)](_0x405d14[_0x25219b(0x211)]),Object[_0x25219b(0x1e8)](_0x405d14['capability'])[_0x25219b(0x247)](_0x10ca17=>{const _0x143b3e=_0x25219b,_0x5acd4f=this[_0x143b3e(0x1ef)][_0x143b3e(0x255)](_0x10ca17);_0x1277f3[_0x143b3e(0x21e)](typeof _0x5acd4f,_0x1277f3['qjPjp'])?this[_0x143b3e(0x1ef)][_0x143b3e(0x216)](_0x10ca17,helper[_0x143b3e(0x21b)](_0x5acd4f,_0x405d14[_0x143b3e(0x211)][_0x10ca17])):this[_0x143b3e(0x1ef)][_0x143b3e(0x216)](_0x10ca17,_0x405d14[_0x143b3e(0x211)][_0x10ca17]);}),this;}[_0x437cd7(0x21f)](){const _0x39952f=_0x437cd7,_0x2b5532={'CEZxc':function(_0x1d988a,_0x215095,_0x386f14){const _0x357812=a29_0x5019;return _0x25cb8c[_0x357812(0x24c)](_0x1d988a,_0x215095,_0x386f14);}};if(helper[_0x39952f(0x221)]()){const _0x1e719a=_0x25cb8c['sOAyo'][_0x39952f(0x212)]('|');let _0x655c4=0x0;while(!![]){switch(_0x1e719a[_0x655c4++]){case'0':globals[_0x39952f(0x21d)](_0x25cb8c[_0x39952f(0x24b)])&&(!_0x25cb8c[_0x39952f(0x24c)](setExtension,this,_0x405d14)&&globals[_0x39952f(0x246)](_0x25cb8c['kAxmi'],![]));continue;case'1':_0x25cb8c['kDTEu'](isAccessibilityAutomationSession)&&_0x25cb8c[_0x39952f(0x249)](setAccessibilityCapabilities,_0x405d14);continue;case'2':if(helper[_0x39952f(0x201)](_0x405d14[_0x39952f(0x1f0)]['proxyUrl']))this['agent_']=helper[_0x39952f(0x1fa)](_0x405d14[_0x39952f(0x1f0)][_0x39952f(0x20f)]);else _0x405d14[_0x39952f(0x1f0)][_0x39952f(0x20f)]&&(this[_0x39952f(0x20a)]=_0x405d14[_0x39952f(0x1f0)][_0x39952f(0x20f)],logger[_0x39952f(0x207)](_0x39952f(0x25b)+this[_0x39952f(0x20a)]));continue;case'3':this[_0x39952f(0x215)]();continue;case'4':this['setServer']();continue;case'5':logger['debug'](_0x25cb8c['uIlUa']);continue;}break;}}const _0x3fcec9=super[_0x39952f(0x21f)]();return _0x3fcec9[_0x39952f(0x1f8)][_0x39952f(0x254)](_0x127885=>{const _0x21252c=_0x39952f;try{const _0x2971eb=_0x127885[_0x21252c(0x1fd)][_0x21252c(0x255)](_0x25cb8c['uXXOM']);_0x2971eb?(logger[_0x21252c(0x207)](_0x21252c(0x25f)+_0x2971eb),hubAllocator[_0x21252c(0x202)](_0x2971eb),helper[_0x21252c(0x20e)](_0x2971eb)):logger[_0x21252c(0x207)](_0x25cb8c['IcTFG']);}catch(_0x375ca0){logger[_0x21252c(0x207)](_0x21252c(0x1ea)+_0x375ca0);}}),_0x3fcec9[_0x39952f(0x23f)]=0x0,_0x3fcec9['then']&&_0x3fcec9[_0x39952f(0x254)](_0x4bc2ea=>{const _0x5be965=_0x39952f,_0x10cac5=_0x25cb8c[_0x5be965(0x22c)][_0x5be965(0x212)]('|');let _0x4baed2=0x0;while(!![]){switch(_0x10cac5[_0x4baed2++]){case'0':_0x4bc2ea['getAccessibilityResultsSummary']=async()=>{const _0x2cd3fb=_0x5be965;return await _0x2b5532[_0x2cd3fb(0x218)](getAccessibilityResultsSummary,_0x4bc2ea,global);};continue;case'1':helper[_0x5be965(0x22d)](_0x4bc2ea,_0x405d14);continue;case'2':_0x25cb8c[_0x5be965(0x237)](overrideExecute,_0x4bc2ea,_0x405d14);continue;case'3':_0x4bc2ea['getAccessibilityResults']=async()=>{const _0x732d37=_0x5be965;return await _0x2b5532[_0x732d37(0x218)](getAccessibilityResults,_0x4bc2ea,global);};continue;case'4':_0x25cb8c[_0x5be965(0x208)](overrideTakeScreenshot,_0x4bc2ea);continue;case'5':_0x25cb8c['YriNJ'](overrideQuit,_0x4bc2ea,_0x3fcec9);continue;}break;}}),_0x3fcec9[_0x39952f(0x227)]=async()=>{const _0xcf633c=_0x39952f;return await _0x2b5532[_0xcf633c(0x218)](getAccessibilityResultsSummary,_0x3fcec9,global);},_0x3fcec9['getAccessibilityResults']=async()=>{const _0x185060=_0x39952f;return await _0x25cb8c[_0x185060(0x1e9)](getAccessibilityResults,_0x3fcec9,global);},_0x25cb8c['VCIJB'](overrideTakeScreenshot,_0x3fcec9),_0x25cb8c[_0x39952f(0x243)](overrideQuit,_0x3fcec9),helper[_0x39952f(0x22d)](_0x3fcec9,_0x405d14),_0x25cb8c['YriNJ'](overrideExecute,_0x3fcec9,_0x405d14),helper['isUndefined'](global[_0x39952f(0x22e)])&&(global[_0x39952f(0x22e)]=[]),helper[_0x39952f(0x258)](global[_0x39952f(0x223)])&&(global[_0x39952f(0x223)]=[]),global[_0x39952f(0x22e)]['push'](_0x3fcec9),global[_0x39952f(0x20b)]=_0x3fcec9,_0x25cb8c['WlFah'](global['__drivers'],undefined)&&global[_0x39952f(0x223)][_0x39952f(0x239)](_0x3fcec9),_0x5e0ee6&&helper[_0x39952f(0x258)](_0x5e0ee6['global'][_0x39952f(0x22e)])&&(_0x5e0ee6[_0x39952f(0x244)][_0x39952f(0x22e)]=[]),_0x5e0ee6&&_0x25cb8c[_0x39952f(0x25a)](_0x5e0ee6[_0x39952f(0x244)][_0x39952f(0x223)],undefined)&&(_0x5e0ee6[_0x39952f(0x244)][_0x39952f(0x223)]['push'](_0x3fcec9),_0x5e0ee6[_0x39952f(0x244)]['__driversArray']['push'](_0x3fcec9)),_0x3fcec9;}}return _0x4f0095[_0x437cd7(0x232)]=_0x4f0095[_0x437cd7(0x217)],_0x4f0095[_0x437cd7(0x217)]=_0x5a2b14,_0x5a1020[_0x437cd7(0x259)]=_0x218442,_0x4f0095;};module[a29_0x290d8b(0x25d)][a29_0x290d8b(0x226)]=modify;
@@ -1 +1 @@
1
- const a30_0x5c84aa=a30_0x12c4;(function(_0x4051de,_0x2be04f){const _0x4b5a33=a30_0x12c4,_0x297a5a=_0x4051de();while(!![]){try{const _0x13d9bf=parseInt(_0x4b5a33(0x166))/0x1+parseInt(_0x4b5a33(0x169))/0x2+-parseInt(_0x4b5a33(0x171))/0x3+parseInt(_0x4b5a33(0x170))/0x4+parseInt(_0x4b5a33(0x173))/0x5+-parseInt(_0x4b5a33(0x165))/0x6*(-parseInt(_0x4b5a33(0x16d))/0x7)+-parseInt(_0x4b5a33(0x16a))/0x8;if(_0x13d9bf===_0x2be04f)break;else _0x297a5a['push'](_0x297a5a['shift']());}catch(_0xc073e){_0x297a5a['push'](_0x297a5a['shift']());}}}(a30_0x3974,0x1fee8));function a30_0x12c4(_0x1e01e2,_0x5e879a){const _0x39740e=a30_0x3974();return a30_0x12c4=function(_0x12c4e0,_0xe97e01){_0x12c4e0=_0x12c4e0-0x165;let _0x541abb=_0x39740e[_0x12c4e0];return _0x541abb;},a30_0x12c4(_0x1e01e2,_0x5e879a);}const requestSpy=require(a30_0x5c84aa(0x168)),constants=require(a30_0x5c84aa(0x16c)),{addRequestSpy}=require(a30_0x5c84aa(0x16e));function a30_0x3974(){const _0x419b59=['restore','690708fsFZja','251829uWgpod','mochaHooks','145210KDNmtj','14580JxZJhL','189522qwjgbw','timeout','../../../helpers/request-spy','164952XRSBHl','2421776rguBsD','WKBGF','../../../bin/utils/constants','126hGhjcc','../../../helpers/test-observability/utils'];a30_0x3974=function(){return _0x419b59;};return a30_0x3974();}exports[a30_0x5c84aa(0x172)]={'beforeAll'(){const _0x5b8a01=a30_0x5c84aa,_0x358ea7={'WKBGF':function(_0x370c3e){return _0x370c3e();}},_0x34a2e5='browserstack internal helper hook';_0x358ea7[_0x5b8a01(0x16b)](addRequestSpy);},'afterAll'(){const _0x27de9b=a30_0x5c84aa,_0x449345='browserstack internal helper hook';this[_0x27de9b(0x167)](0xea60),requestSpy[_0x27de9b(0x16f)]();}};
1
+ function a30_0x5965(_0x10ba93,_0x54958a){const _0x153124=a30_0x1531();return a30_0x5965=function(_0x5965cf,_0x21842e){_0x5965cf=_0x5965cf-0xf6;let _0x131164=_0x153124[_0x5965cf];return _0x131164;},a30_0x5965(_0x10ba93,_0x54958a);}const a30_0x19e908=a30_0x5965;(function(_0x26960e,_0x28f918){const _0x41b3a5=a30_0x5965,_0xa6dcb=_0x26960e();while(!![]){try{const _0x2f1c94=-parseInt(_0x41b3a5(0xfb))/0x1*(-parseInt(_0x41b3a5(0xfa))/0x2)+-parseInt(_0x41b3a5(0xfd))/0x3+parseInt(_0x41b3a5(0xfe))/0x4+-parseInt(_0x41b3a5(0xf6))/0x5*(-parseInt(_0x41b3a5(0x103))/0x6)+parseInt(_0x41b3a5(0xff))/0x7*(parseInt(_0x41b3a5(0x100))/0x8)+parseInt(_0x41b3a5(0xf9))/0x9+-parseInt(_0x41b3a5(0x101))/0xa;if(_0x2f1c94===_0x28f918)break;else _0xa6dcb['push'](_0xa6dcb['shift']());}catch(_0x203280){_0xa6dcb['push'](_0xa6dcb['shift']());}}}(a30_0x1531,0x4d5d9));const requestSpy=require(a30_0x19e908(0xf8)),constants=require(a30_0x19e908(0xf7)),{addRequestSpy}=require(a30_0x19e908(0xfc));function a30_0x1531(){const _0x12c37a=['4166582mnsQyn','8IPXnjZ','16439780tMffeE','timeout','2388486FuUhyB','5QbnPED','../../../bin/utils/constants','../../../helpers/request-spy','2028222MVgoKQ','5376SBRTaT','178FxOKjm','../../../helpers/test-observability/utils','90711qsMomA','1175900qpDNio'];a30_0x1531=function(){return _0x12c37a;};return a30_0x1531();}exports['mochaHooks']={'beforeAll'(){const _0xe5c7c2={'IEYmH':function(_0x3f4ca3){return _0x3f4ca3();}},_0x1770c8='browserstack internal helper hook';_0xe5c7c2['IEYmH'](addRequestSpy);},'afterAll'(){const _0x2345f4=a30_0x19e908,_0x530ffa='browserstack internal helper hook';this[_0x2345f4(0x102)](0xea60),requestSpy['restore']();}};
@@ -1 +1 @@
1
- function a31_0x58d2(){const _0x12323e=['mapTestHooks','zGbyU','iiHYf','uFuVM','suites','hZEQe','HeZUg','TEST_PLATFORM','4BVlCqu','4009290gMILjW','KnKiY','baqAJ','passed','toJSON','hook','QYHWO','LsXUa','generic','1438450ylqtQQ','../../../helpers/helper','1644081emSZdD','lwkOY','tests','getBrowserName','string','534632lwOazR','js-','parent','Igeow','split','getBrowserVersion','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','getHooksForTest','concat','uuid','ZlFTe','../../../helpers/testhub/utils','getCapabilities','_beforeEach','browserstack','gQGKk','_afterAll','ecVlV','filter','mUHdX','../../../helpers/test-observability/utils','1434924GlBOlS','markedStatus','TjFPN','indexOf','substring','UwPNm','MFOBd','slice','ZdVUi','toISOString','wrLhP','dZbIy','push','hookAnalyticsId','CjoVj','forEach','__cloud_provider___','HsaRN','sendPlatformDetails','fRVrz','kLeSe','emit','8JhziDp','3915520ksInLH','reduce','lodash','getHookSkippedTests','264304sdmbTe','bs:addPlatformDetails:','getSession','fromEntries','esiVt','xSWpm','sUbZr','_beforeAll','NtxhE','type','getTestEnv','getHookDetails'];a31_0x58d2=function(){return _0x12323e;};return a31_0x58d2();}const a31_0x5b24d2=a31_0x2603;(function(_0x4008ac,_0x5ba73c){const _0x5a1569=a31_0x2603,_0x3605d5=_0x4008ac();while(!![]){try{const _0x3cefb9=-parseInt(_0x5a1569(0x1c7))/0x1+-parseInt(_0x5a1569(0x1a2))/0x2+-parseInt(_0x5a1569(0x1c2))/0x3*(-parseInt(_0x5a1569(0x1b6))/0x4)+parseInt(_0x5a1569(0x1c0))/0x5+parseInt(_0x5a1569(0x1b7))/0x6+-parseInt(_0x5a1569(0x19e))/0x7+parseInt(_0x5a1569(0x19d))/0x8*(parseInt(_0x5a1569(0x187))/0x9);if(_0x3cefb9===_0x5ba73c)break;else _0x3605d5['push'](_0x3605d5['shift']());}catch(_0x24059c){_0x3605d5['push'](_0x3605d5['shift']());}}}(a31_0x58d2,0x6abe8));const {v4:uuidv4}=require(a31_0x5b24d2(0x17b)),{name,version}=require('../../../../package.json'),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x5b24d2(0x186)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a31_0x5b24d2(0x1c1)),{shouldProcessEventForTesthub}=require(a31_0x5b24d2(0x17d)),{isFunction}=require(a31_0x5b24d2(0x1a0)),{patchConsoleLogger}=require(a31_0x5b24d2(0x186));function a31_0x2603(_0xfbe44b,_0x193606){const _0x58d246=a31_0x58d2();return a31_0x2603=function(_0x260328,_0x25cb64){_0x260328=_0x260328-0x176;let _0x4f70da=_0x58d246[_0x260328];return _0x4f70da;},a31_0x2603(_0xfbe44b,_0x193606);}patchConsoleLogger(),exports[a31_0x5b24d2(0x1ac)]=()=>{const _0x45e4e7=a31_0x5b24d2,_0x2976d={'dZbIy':_0x45e4e7(0x1bf),'LsXUa':function(_0xe255b7){return _0xe255b7();}};return{'ci':_0x2976d[_0x45e4e7(0x192)],'key':_0x2976d[_0x45e4e7(0x1be)](uuidv4),'version':version,'collector':_0x45e4e7(0x1c8)+name};},exports[a31_0x5b24d2(0x1ad)]=_0x6c2d8d=>{const _0x585fc3=a31_0x5b24d2,_0x5d8df0={};_0x5d8df0[_0x585fc3(0x1b3)]=function(_0x35d620,_0x3aa6b4){return _0x35d620!==_0x3aa6b4;},_0x5d8df0['zGbyU']=_0x585fc3(0x1c6),_0x5d8df0[_0x585fc3(0x19a)]=function(_0x46aa4c,_0x51ae99){return _0x46aa4c!==_0x51ae99;},_0x5d8df0[_0x585fc3(0x1aa)]='hook:',_0x5d8df0['ecVlV']=function(_0x4c9bd2,_0x1162ec){return _0x4c9bd2!==_0x1162ec;},_0x5d8df0[_0x585fc3(0x1a6)]=_0x585fc3(0x1bc);const _0xac3e12=_0x5d8df0;if(!_0x6c2d8d||_0xac3e12[_0x585fc3(0x1b3)](typeof _0x6c2d8d,_0xac3e12[_0x585fc3(0x1af)]))return[null,null];if(_0xac3e12[_0x585fc3(0x19a)](_0x6c2d8d[_0x585fc3(0x18a)](_0xac3e12['NtxhE']),-0x1)){const _0x49947d=_0x6c2d8d[_0x585fc3(0x176)](_0xac3e12[_0x585fc3(0x1aa)]);return[_0x49947d[0x0][_0x585fc3(0x18e)](0x0,-0x1)[_0x585fc3(0x176)]('\x22')[0x1],_0x49947d[0x1][_0x585fc3(0x18b)](0x1)];}else{if(_0xac3e12[_0x585fc3(0x183)](_0x6c2d8d['indexOf'](_0xac3e12['esiVt']),-0x1)){const _0x39c607=_0x6c2d8d[_0x585fc3(0x176)](_0xac3e12[_0x585fc3(0x1a6)]);return[_0x39c607[0x0][_0x585fc3(0x18e)](0x0,-0x1)[_0x585fc3(0x176)]('\x22')[0x1],_0x6c2d8d];}}return[null,null];},exports[a31_0x5b24d2(0x179)]=_0x24fbd1=>{const _0x4b2d9b=a31_0x5b24d2,_0x4df6f8={'yTqta':function(_0x497f4e,_0x36415c){return _0x497f4e(_0x36415c);},'HsaRN':_0x4b2d9b(0x1a9),'MFOBd':'_afterAll','ZdVUi':_0x4b2d9b(0x17f),'UwPNm':'_afterEach'};if(!_0x24fbd1||!_0x24fbd1['parent'])return[];const _0x42ef40=[];return[_0x4df6f8[_0x4b2d9b(0x198)],_0x4df6f8[_0x4b2d9b(0x18d)],_0x4df6f8[_0x4b2d9b(0x18f)],_0x4df6f8[_0x4b2d9b(0x18c)]]['forEach'](_0x52f416=>{const _0x3f918f=_0x4b2d9b,_0x530140={'hCvWV':function(_0x123e53,_0x42ccb7){return _0x4df6f8['yTqta'](_0x123e53,_0x42ccb7);}},_0x1eb25f=_0x24fbd1['parent'][_0x52f416]||[];_0x1eb25f[_0x3f918f(0x196)](_0x32bff4=>{const _0x2f2fe4=_0x3f918f;_0x32bff4[_0x2f2fe4(0x194)]&&!_0x530140['hCvWV'](isInternalHook,_0x32bff4['fn'])&&_0x42ef40[_0x2f2fe4(0x193)](_0x32bff4[_0x2f2fe4(0x194)]);});}),[..._0x42ef40,...exports[_0x4b2d9b(0x179)](_0x24fbd1[_0x4b2d9b(0x1c9)])];},exports[a31_0x5b24d2(0x1ae)]=_0x5cf9f4=>{const _0x2f53b9=a31_0x5b24d2,_0x5d9f9b={'sUbZr':function(_0x5efd21){return _0x5efd21();},'nUonN':function(_0x37cfa8,_0x47c2b2){return _0x37cfa8===_0x47c2b2;},'uFuVM':'_afterEach','ZlFTe':_0x2f53b9(0x1a9),'lwkOY':_0x2f53b9(0x182),'QYHWO':'_beforeEach'};if(!_0x5cf9f4||!_0x5cf9f4[_0x2f53b9(0x1c9)])return;[_0x5d9f9b[_0x2f53b9(0x17c)],_0x5d9f9b[_0x2f53b9(0x1c3)],_0x5d9f9b[_0x2f53b9(0x1bd)],_0x5d9f9b[_0x2f53b9(0x1b1)]][_0x2f53b9(0x196)](_0x41c9a3=>{const _0x4845fe=_0x2f53b9,_0x568003=_0x5cf9f4[_0x4845fe(0x1c9)][_0x41c9a3]||[];_0x568003[_0x4845fe(0x196)](_0x39068d=>{const _0x4146c0=_0x4845fe;if(!_0x39068d[_0x4146c0(0x194)])_0x39068d[_0x4146c0(0x194)]=_0x5d9f9b[_0x4146c0(0x1a8)](uuidv4);else _0x39068d['markedStatus']&&_0x5d9f9b['nUonN'](_0x41c9a3,_0x5d9f9b['uFuVM'])&&(_0x39068d['hookAnalyticsId']=_0x5d9f9b[_0x4146c0(0x1a8)](uuidv4),delete _0x39068d[_0x4146c0(0x188)]);});}),exports[_0x2f53b9(0x1ae)](_0x5cf9f4[_0x2f53b9(0x1c9)]);},exports[a31_0x5b24d2(0x199)]=async(_0x48a614,_0x4d2aa6)=>{const _0x1346cf=a31_0x5b24d2,_0x4afd30={'KnKiY':function(_0x234ae6){return _0x234ae6();},'gQGKk':function(_0x46cf3b,_0x244f69){return _0x46cf3b(_0x244f69);},'HeZUg':function(_0x2f8df0,_0x159511){return _0x2f8df0(_0x159511);},'iiHYf':function(_0x3b1463,_0x20adf8){return _0x3b1463===_0x20adf8;},'baqAJ':_0x1346cf(0x180),'CjoVj':'unknown_grid','TjFPN':_0x1346cf(0x1b5),'kLeSe':function(_0x2965b8,_0xcbc40e){return _0x2965b8(_0xcbc40e);}};try{if(!_0x4afd30[_0x1346cf(0x1b8)](shouldProcessEventForTesthub))return;const _0x5053fe=await _0x48a614[_0x1346cf(0x17e)](),_0x5efb28=await _0x48a614[_0x1346cf(0x1a4)](),_0x3d697b={},_0x17c0bb=Object[_0x1346cf(0x1a5)](_0x5efb28[_0x1346cf(0x17e)]()['map_']),_0x182fe2={'product':_0x4afd30[_0x1346cf(0x181)](getObservabilityLinkedProductName,_0x17c0bb),'capabilities':_0x17c0bb,'platform':_0x5053fe['getPlatform'](),'platform_version':_0x4afd30[_0x1346cf(0x1b4)](getPlatformVersion,_0x4afd30[_0x1346cf(0x1b0)](global['__cloud_provider___'],_0x4afd30[_0x1346cf(0x1b9)])),'browser':_0x5053fe[_0x1346cf(0x1c5)](),'browser_version':_0x5053fe[_0x1346cf(0x177)](),'session_id':_0x5efb28[_0x1346cf(0x1bb)]()};global[_0x1346cf(0x197)]?_0x3d697b[global[_0x1346cf(0x197)]]=_0x182fe2:_0x3d697b[_0x4afd30[_0x1346cf(0x195)]]=_0x182fe2,process[_0x1346cf(0x19c)](_0x1346cf(0x1a3)+process['pid'],{'timestamp':new Date()[_0x1346cf(0x190)](),'level':null,'message':null,'kind':_0x4afd30[_0x1346cf(0x189)],'http_response':_0x3d697b,'uuid':_0x4d2aa6});}catch(_0x345327){_0x4afd30[_0x1346cf(0x19b)](debug,_0x1346cf(0x178)+_0x345327);}},exports[a31_0x5b24d2(0x1a1)]=_0x9aeea3=>{const _0x498961=a31_0x5b24d2,_0x2c815f={};_0x2c815f[_0x498961(0x185)]=function(_0x23240d,_0x55e952){return _0x23240d!==_0x55e952;},_0x2c815f[_0x498961(0x1a7)]=_0x498961(0x1bc),_0x2c815f[_0x498961(0x191)]=_0x498961(0x1ba),_0x2c815f[_0x498961(0x1ca)]='failed';const _0x1167d1=_0x2c815f,_0x3b36dc=_0x9aeea3[_0x498961(0x1b2)][_0x498961(0x19f)]((_0x1993c2,_0x2d436a)=>{const _0x490ce8=_0x498961,_0xb9b50e=exports[_0x490ce8(0x1a1)](_0x2d436a);return _0xb9b50e&&(_0x1993c2=_0x1993c2[_0x490ce8(0x17a)](_0xb9b50e)),_0x1993c2;},[]),_0x2afa95=_0x9aeea3[_0x498961(0x1c4)][_0x498961(0x184)](_0x4fbc08=>{const _0x26d372=_0x498961,_0x3d8956=_0x1167d1[_0x26d372(0x185)](_0x4fbc08[_0x26d372(0x1ab)],_0x1167d1[_0x26d372(0x1a7)])&&!_0x4fbc08[_0x26d372(0x188)]&&_0x1167d1['mUHdX'](_0x4fbc08['state'],_0x1167d1[_0x26d372(0x191)])&&_0x1167d1[_0x26d372(0x185)](_0x4fbc08['state'],_0x1167d1['Igeow'])&&!_0x4fbc08['pending'];return _0x3d8956;});return _0x2afa95[_0x498961(0x17a)](_0x3b36dc);};
1
+ const a31_0x3e3005=a31_0x2349;(function(_0x36e115,_0x39ce34){const _0xc56a72=a31_0x2349,_0x39c196=_0x36e115();while(!![]){try{const _0x5474d4=parseInt(_0xc56a72(0xfb))/0x1+-parseInt(_0xc56a72(0xd3))/0x2+-parseInt(_0xc56a72(0x112))/0x3*(-parseInt(_0xc56a72(0x108))/0x4)+-parseInt(_0xc56a72(0xf0))/0x5*(parseInt(_0xc56a72(0xe9))/0x6)+-parseInt(_0xc56a72(0xf6))/0x7*(parseInt(_0xc56a72(0xda))/0x8)+-parseInt(_0xc56a72(0xd1))/0x9*(-parseInt(_0xc56a72(0xe3))/0xa)+-parseInt(_0xc56a72(0xeb))/0xb*(-parseInt(_0xc56a72(0xfd))/0xc);if(_0x5474d4===_0x39ce34)break;else _0x39c196['push'](_0x39c196['shift']());}catch(_0x2d8cf8){_0x39c196['push'](_0x39c196['shift']());}}}(a31_0x3534,0x75c2d));function a31_0x2349(_0x3098b2,_0x50a6ca){const _0x353480=a31_0x3534();return a31_0x2349=function(_0x2349e4,_0x26392b){_0x2349e4=_0x2349e4-0xc6;let _0x523796=_0x353480[_0x2349e4];return _0x523796;},a31_0x2349(_0x3098b2,_0x50a6ca);}const {v4:uuidv4}=require(a31_0x3e3005(0xde)),{name,version}=require('../../../../package.json'),logPatcher=require(a31_0x3e3005(0xc8)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x3e3005(0xec)),{consoleHolder}=require(a31_0x3e3005(0xc7)),{getPlatformVersion}=require(a31_0x3e3005(0xd4)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require(a31_0x3e3005(0xe7)),{patchConsoleLogger}=require(a31_0x3e3005(0xec));function a31_0x3534(){const _0x1c8543=['1665592TlXxeC','../../../helpers/helper','fCnFH','fwBlS','slice','kxAuU','state','6733432iAtWxL','getHooksForTest','indexOf','fromEntries','uuid','map_','mapTestHooks','VIdGj','reduce','848830WuRdRi','hookAnalyticsId','unknown_grid','bkFda','lodash','getBrowserVersion','569682FAVmdi','parent','141086DbgASV','../../../helpers/test-observability/utils','KilAU','split','Isvoe','15uANzEZ','sendPlatformDetails','forEach','__cloud_provider___','_beforeAll','qTdDP','7SRGjBb','oJBJV','VOCHA','getCapabilities','toISOString','799122FIncbp','getHookSkippedTests','264AMICXl','getSession','pJXDp','TEST_PLATFORM','eOaNL','ZXkyr','MyWkL','OLzfg','tests','pIjoB','filter','1468TVUMzr','_afterAll','tCTOQ','concat','suites','emit','CdQxA','ttGdf','_afterEach','markedStatus','6957tulNYq','TGtqV','hook:','getPlatform','hook','_beforeEach','../../../helpers/test-observability/constants','../../utils/logPatcher','passed','yrbzx','naQif','pending','IXoRr','BlZLy','bAkHF','getHookDetails','54ivYlEo','string'];a31_0x3534=function(){return _0x1c8543;};return a31_0x3534();}patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x564d9a=a31_0x3e3005,_0x5c0a54={'OLzfg':'generic','kxAuU':function(_0x29319d){return _0x29319d();}};return{'ci':_0x5c0a54[_0x564d9a(0x104)],'key':_0x5c0a54[_0x564d9a(0xd8)](uuidv4),'version':version,'collector':'js-'+name};},exports[a31_0x3e3005(0xd0)]=_0x3cb6cb=>{const _0x3f5db1=a31_0x3e3005,_0x2a8731={};_0x2a8731[_0x3f5db1(0xef)]=function(_0x2551c7,_0x24401f){return _0x2551c7!==_0x24401f;},_0x2a8731[_0x3f5db1(0x106)]=_0x3f5db1(0xd2),_0x2a8731[_0x3f5db1(0xca)]=function(_0x4c0e56,_0x27cb30){return _0x4c0e56!==_0x27cb30;},_0x2a8731[_0x3f5db1(0xd6)]=_0x3f5db1(0x114),_0x2a8731[_0x3f5db1(0x113)]=function(_0x2aae9f,_0x4e2a00){return _0x2aae9f!==_0x4e2a00;},_0x2a8731['VOCHA']=_0x3f5db1(0x116);const _0x1b3227=_0x2a8731;if(!_0x3cb6cb||_0x1b3227['Isvoe'](typeof _0x3cb6cb,_0x1b3227[_0x3f5db1(0x106)]))return[null,null];if(_0x1b3227[_0x3f5db1(0xca)](_0x3cb6cb[_0x3f5db1(0xdc)](_0x1b3227[_0x3f5db1(0xd6)]),-0x1)){const _0x457d05=_0x3cb6cb['split'](_0x1b3227['fwBlS']);return[_0x457d05[0x0]['slice'](0x0,-0x1)[_0x3f5db1(0xee)]('\x22')[0x1],_0x457d05[0x1]['substring'](0x1)];}else{if(_0x1b3227[_0x3f5db1(0x113)](_0x3cb6cb[_0x3f5db1(0xdc)](_0x1b3227[_0x3f5db1(0xf8)]),-0x1)){const _0x4e8cad=_0x3cb6cb[_0x3f5db1(0xee)](_0x1b3227[_0x3f5db1(0xf8)]);return[_0x4e8cad[0x0][_0x3f5db1(0xd7)](0x0,-0x1)[_0x3f5db1(0xee)]('\x22')[0x1],_0x3cb6cb];}}return[null,null];},exports[a31_0x3e3005(0xdb)]=_0x51dd3a=>{const _0xee7417=a31_0x3e3005,_0x4b9a1a={'FpTvv':function(_0x512162,_0x433e97){return _0x512162(_0x433e97);},'CdQxA':'_beforeAll','ZXkyr':_0xee7417(0x109),'qTdDP':_0xee7417(0xc6),'MyWkL':'_afterEach'};if(!_0x51dd3a||!_0x51dd3a['parent'])return[];const _0x54bcf7=[];return[_0x4b9a1a[_0xee7417(0x10e)],_0x4b9a1a[_0xee7417(0x102)],_0x4b9a1a[_0xee7417(0xf5)],_0x4b9a1a[_0xee7417(0x103)]][_0xee7417(0xf2)](_0x518c88=>{const _0x502e68=_0xee7417,_0x2077e9=_0x51dd3a[_0x502e68(0xea)][_0x518c88]||[];_0x2077e9[_0x502e68(0xf2)](_0x14c745=>{_0x14c745['hookAnalyticsId']&&!_0x4b9a1a['FpTvv'](isInternalHook,_0x14c745['fn'])&&_0x54bcf7['push'](_0x14c745['hookAnalyticsId']);});}),[..._0x54bcf7,...exports[_0xee7417(0xdb)](_0x51dd3a['parent'])];},exports[a31_0x3e3005(0xe0)]=_0x1ec763=>{const _0x30684e=a31_0x3e3005,_0x5c0baf={'VIdGj':function(_0x2acdd9){return _0x2acdd9();},'YjNjD':function(_0x32de91,_0x4d818b){return _0x32de91===_0x4d818b;},'BlZLy':_0x30684e(0x110),'naQif':function(_0x1952ed){return _0x1952ed();},'bWyyC':_0x30684e(0xf4),'DnSDo':_0x30684e(0x109),'bkFda':_0x30684e(0xc6)};if(!_0x1ec763||!_0x1ec763[_0x30684e(0xea)])return;[_0x5c0baf['bWyyC'],_0x5c0baf['DnSDo'],_0x5c0baf[_0x30684e(0xe6)],_0x5c0baf['BlZLy']][_0x30684e(0xf2)](_0x232716=>{const _0x2f86d1=_0x30684e,_0x3e838f={'QOyhW':function(_0x47059a){const _0x465b0d=a31_0x2349;return _0x5c0baf[_0x465b0d(0xe1)](_0x47059a);},'bAkHF':function(_0x4c6dc2,_0x38587a){return _0x5c0baf['YjNjD'](_0x4c6dc2,_0x38587a);},'AKjtT':_0x5c0baf[_0x2f86d1(0xce)],'emQAX':function(_0x889d2b){const _0x522d63=_0x2f86d1;return _0x5c0baf[_0x522d63(0xcb)](_0x889d2b);}},_0x4d44b1=_0x1ec763['parent'][_0x232716]||[];_0x4d44b1[_0x2f86d1(0xf2)](_0x469e77=>{const _0x19a791=_0x2f86d1;if(!_0x469e77['hookAnalyticsId'])_0x469e77[_0x19a791(0xe4)]=_0x3e838f['QOyhW'](uuidv4);else _0x469e77[_0x19a791(0x111)]&&_0x3e838f[_0x19a791(0xcf)](_0x232716,_0x3e838f['AKjtT'])&&(_0x469e77[_0x19a791(0xe4)]=_0x3e838f['emQAX'](uuidv4),delete _0x469e77[_0x19a791(0x111)]);});}),exports[_0x30684e(0xe0)](_0x1ec763[_0x30684e(0xea)]);},exports[a31_0x3e3005(0xf1)]=async(_0x3d439d,_0x446ae0)=>{const _0x44e430=a31_0x3e3005,_0x10fbb4={'tCTOQ':function(_0x114a13){return _0x114a13();},'rwEyf':function(_0x40d4b7,_0x3a3fa8){return _0x40d4b7(_0x3a3fa8);},'UFUZF':function(_0x4cf988,_0x6e7899){return _0x4cf988===_0x6e7899;},'IXoRr':'browserstack','qXLkS':_0x44e430(0xe5),'KilAU':_0x44e430(0x100),'pJXDp':function(_0xab0414,_0x22b0c7){return _0xab0414(_0x22b0c7);}};try{if(!_0x10fbb4[_0x44e430(0x10a)](shouldProcessEventForTesthub))return;const _0x4aa81b=await _0x3d439d[_0x44e430(0xf9)](),_0x4995aa=await _0x3d439d[_0x44e430(0xfe)](),_0xb59094={},_0x598cac=Object[_0x44e430(0xdd)](_0x4995aa[_0x44e430(0xf9)]()[_0x44e430(0xdf)]),_0x2b6944={'product':_0x10fbb4['rwEyf'](getObservabilityLinkedProductName,_0x598cac),'capabilities':_0x598cac,'platform':_0x4aa81b[_0x44e430(0x115)](),'platform_version':_0x10fbb4['rwEyf'](getPlatformVersion,_0x10fbb4['UFUZF'](global[_0x44e430(0xf3)],_0x10fbb4[_0x44e430(0xcd)])),'browser':_0x4aa81b['getBrowserName'](),'browser_version':_0x4aa81b[_0x44e430(0xe8)](),'session_id':_0x4995aa['toJSON']()};global[_0x44e430(0xf3)]?_0xb59094[global['__cloud_provider___']]=_0x2b6944:_0xb59094[_0x10fbb4['qXLkS']]=_0x2b6944,process[_0x44e430(0x10d)]('bs:addPlatformDetails:'+process['pid'],{'timestamp':new Date()[_0x44e430(0xfa)](),'level':null,'message':null,'kind':_0x10fbb4[_0x44e430(0xed)],'http_response':_0xb59094,'uuid':_0x446ae0});}catch(_0x258f3c){_0x10fbb4[_0x44e430(0xff)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x258f3c);}},exports[a31_0x3e3005(0xfc)]=_0x129e56=>{const _0x31443f=a31_0x3e3005,_0x2608e8={};_0x2608e8[_0x31443f(0x10f)]=function(_0x2bdb51,_0x2e1f3d){return _0x2bdb51!==_0x2e1f3d;},_0x2608e8[_0x31443f(0x101)]=_0x31443f(0x116),_0x2608e8['fCnFH']=_0x31443f(0xc9),_0x2608e8[_0x31443f(0xf7)]='failed';const _0x14b3b8=_0x2608e8,_0x3063a9=_0x129e56[_0x31443f(0x10c)][_0x31443f(0xe2)]((_0x33f19d,_0x3e6eaa)=>{const _0x1391cc=_0x31443f,_0x1cb1ee=exports[_0x1391cc(0xfc)](_0x3e6eaa);return _0x1cb1ee&&(_0x33f19d=_0x33f19d[_0x1391cc(0x10b)](_0x1cb1ee)),_0x33f19d;},[]),_0x2fcff2=_0x129e56[_0x31443f(0x105)][_0x31443f(0x107)](_0x400eea=>{const _0x2f432a=_0x31443f,_0x2c9796=_0x14b3b8[_0x2f432a(0x10f)](_0x400eea['type'],_0x14b3b8['eOaNL'])&&!_0x400eea[_0x2f432a(0x111)]&&_0x14b3b8['ttGdf'](_0x400eea[_0x2f432a(0xd9)],_0x14b3b8[_0x2f432a(0xd5)])&&_0x14b3b8[_0x2f432a(0x10f)](_0x400eea[_0x2f432a(0xd9)],_0x14b3b8[_0x2f432a(0xf7)])&&!_0x400eea[_0x2f432a(0xcc)];return _0x2c9796;});return _0x2fcff2[_0x31443f(0x10b)](_0x3063a9);};
@@ -1 +1 @@
1
- const a32_0x463842=a32_0xec4e;function a32_0xec4e(_0x54d3ed,_0x57c729){const _0x4a10ef=a32_0x4a10();return a32_0xec4e=function(_0xec4e5e,_0x5e5f05){_0xec4e5e=_0xec4e5e-0x1a9;let _0x1f1cba=_0x4a10ef[_0xec4e5e];return _0x1f1cba;},a32_0xec4e(_0x54d3ed,_0x57c729);}function a32_0x4a10(){const _0x36f5be=['quitCount_','cZTRg','ijqPf','percyCaptureMode','PERFORM_SCAN','protocol','zFyJE','RaQul','thTestRunUuid','timeout','aBssn','auNgH','XpPPJ','6157090mnWKbS','dFhKo','EMrCa','pNuUG','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','thUrX','dRHWy','TEbPp','OBUIf','zcnys','neaXd','http:','percy','hTjmL','length','afterAll','zBeBU','14ycmgwM','OMlGb','BQWNR','currentTest','end','appium:app','failed','iQgqn','state','VaZPy','__sessionFailed','testAnalyticsId','GispA','QSNDN','REfQg','\x22}}','pJCHC','testcase','error','HEzAp','../../helpers/accessibility-automation/helper','beforeEach','isAccessibilityPlatform','fQyCk','\x20|\x20','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','format','BROWSERSTACK_TESTHUB_JWT','QbUYs','getGlobal','command','iRrrP','debug','BWYwW','winstonLogger','__error_messages__','vzsNM','SESSION_NAME','dWLCe','wDkRX','ABydQ','../../helpers/accessibility-automation/scripts','kVpZl','../../helpers/performance/performance-tester','SESSION_STATUS','htfcB','../../helpers/globals','thJwtToken','executeScript','bstackA11yShouldScan','HChaJ','setGlobal','shouldScanTestForAccessibility','then','../../helpers/testhub/constants','stringify','NdDCu','YulkG','executeAsyncScript','CItHp','startMonitoring','initQuit','finally','FqJVy','driverCleanup','Performing\x20scan\x20before\x20saving\x20results','passed','yFgpT','WJcla','saveTestResults','4TLVJDo','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','.\x20Error\x20:','join','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','11545800pcObcj','fPesb','lsgMa','push','qJgsT','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','index','Passed','afterTest','\x20-\x20','VmBqF','app','Failed:\x20','titlePath',',\x22level\x22:\x20\x22','browserstackTestName','54368XpfaMk','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','sessionName','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','../../helpers/logger','mochaHooks','env','Automate\x20test\x20case\x20execution\x20has\x20started.','2809866GmMmeu','GJYOx','__platformCaps','accessibilityScanStarted','Failed\x20to\x20store\x20session\x20name:\x20','isArray','87SZeLqc','65190mUmrLu','ObservabilitySync:','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','YNfCn','sessionNameSet__','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','measureWrapper','info','zLyMC','chpCg','../../helpers/performance/constants','thBuildUuid','Zbhgx','browserstackSessionName','NukqW','wnCdr','message','1632219znEguN','start','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','session_','capabilities','JlxDU','SYNC','nYSYS','__drivers','wsmSF','tBxKO','EMyHH','NbuLo','QCmyA','qawAX','shift','64774325EuEQbJ','711jbTvlK','UPzyk','SDK_HOOK','qOqas','HvewQ','msjvO','err','fItuX'];a32_0x4a10=function(){return _0x36f5be;};return a32_0x4a10();}(function(_0x477b41,_0x3e50b9){const _0x2710b9=a32_0xec4e,_0x560cf8=_0x477b41();while(!![]){try{const _0x4150bc=-parseInt(_0x2710b9(0x24c))/0x1+-parseInt(_0x2710b9(0x22c))/0x2*(-parseInt(_0x2710b9(0x23a))/0x3)+-parseInt(_0x2710b9(0x217))/0x4*(parseInt(_0x2710b9(0x1c0))/0x5)+parseInt(_0x2710b9(0x234))/0x6*(-parseInt(_0x2710b9(0x1d1))/0x7)+-parseInt(_0x2710b9(0x21c))/0x8+-parseInt(_0x2710b9(0x1ab))/0x9*(parseInt(_0x2710b9(0x23b))/0xa)+parseInt(_0x2710b9(0x1aa))/0xb;if(_0x4150bc===_0x3e50b9)break;else _0x560cf8['push'](_0x560cf8['shift']());}catch(_0x200323){_0x560cf8['push'](_0x560cf8['shift']());}}}(a32_0x4a10,0xe039a));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x463842(0x1e5)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a32_0x463842(0x1fc)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x463842(0x245)),scripts=require(a32_0x463842(0x1fa)),globals=require(a32_0x463842(0x1ff)),logger=require(a32_0x463842(0x230))[a32_0x463842(0x1f3)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a32_0x463842(0x207));exports[a32_0x463842(0x231)]={'beforeAll'(){const _0x19ab72=a32_0x463842,_0x1badb5={'htfcB':function(_0x2c1819,_0x550958,_0x2b5ef9,_0x495dd8){return _0x2c1819(_0x550958,_0x2b5ef9,_0x495dd8);},'smXmz':_0x19ab72(0x1d7),'neaXd':_0x19ab72(0x1e9),'thUrX':function(_0x64d347,_0x57389c,_0x1ebc5a){return _0x64d347(_0x57389c,_0x1ebc5a);},'YNfCn':_0x19ab72(0x213),'ijqPf':function(_0x2038b1){return _0x2038b1();},'poFbE':function(_0x48aa57,_0x13cefe,_0x3c210d){return _0x48aa57(_0x13cefe,_0x3c210d);},'IKbCI':'index','BQWNR':'beforeAll'};PerformanceTester[_0x19ab72(0x20d)]();const _0x466c9f='browserstack internal helper hook';PerformanceTester[_0x19ab72(0x241)](PerformanceSdkEvents[_0x19ab72(0x1ad)],()=>{const _0x4e1374=_0x19ab72,_0x3293a5={'QCmyA':function(_0x6ed455,_0x1dde1f,_0x49e8f7,_0x3e0a6e){const _0x26a752=a32_0xec4e;return _0x1badb5[_0x26a752(0x1fe)](_0x6ed455,_0x1dde1f,_0x49e8f7,_0x3e0a6e);},'TEbPp':_0x1badb5['smXmz'],'SlVTM':_0x1badb5[_0x4e1374(0x1ca)],'wsmSF':function(_0x1774be,_0x47e0de,_0x2a2034){const _0x48fa70=_0x4e1374;return _0x1badb5[_0x48fa70(0x1c5)](_0x1774be,_0x47e0de,_0x2a2034);},'xYtrJ':_0x1badb5[_0x4e1374(0x23e)],'JlxDU':function(_0x39366c){const _0x2869d7=_0x4e1374;return _0x1badb5[_0x2869d7(0x1b5)](_0x39366c);},'rQvzK':function(_0x2c5c70,_0x5d0ff0,_0x2d5908){return _0x1badb5['poFbE'](_0x2c5c70,_0x5d0ff0,_0x2d5908);}};global[_0x4e1374(0x1f4)]=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0x288007=_0x4e1374;let _0x461ac6=![];try{await global[_0x288007(0x254)][0x0][_0x288007(0x24f)],_0x461ac6=!![],global[_0x288007(0x1db)]?await _0x3293a5[_0x288007(0x259)](markSessionStatus,global[_0x288007(0x254)][0x0],_0x3293a5[_0x288007(0x1c7)],global[_0x288007(0x1f4)][_0x288007(0x21a)](_0x3293a5['SlVTM'])):await _0x3293a5[_0x288007(0x255)](markSessionStatus,global[_0x288007(0x254)][0x0],_0x3293a5['xYtrJ']);}catch(_0xb45858){logger['debug']('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0xb45858);}global[_0x288007(0x1f4)]=[],global['__sessionFailed']=![];if(_0x461ac6)try{try{_0x3293a5[_0x288007(0x251)](shouldProcessEventForTesthub)&&(global[_0x288007(0x254)][0x0]&&await _0x3293a5['rQvzK'](sendPlatformDetails,global[_0x288007(0x254)][0x0],this[_0x288007(0x1d4)]?this[_0x288007(0x1d4)][_0x288007(0x1dc)]:null));}catch(_0x3903cb){logger[_0x288007(0x1f1)](_0x288007(0x22d)+_0x3903cb);}await global['__drivers'][0x0][_0x288007(0x20e)]();}catch(_0x4224a6){logger['debug'](_0x288007(0x23d)+_0x4224a6);}};},{'platform':_0x1badb5[_0x19ab72(0x1c5)](nestedKeyValue,global[_0x19ab72(0x236)],[_0x1badb5['IKbCI']]),'hookType':_0x1badb5[_0x19ab72(0x1d3)]})();},'beforeEach'(_0x10c70e){const _0x216926=a32_0x463842,_0x2ae855={'zcnys':function(_0x345938){return _0x345938();},'FqJVy':function(_0x59960b,_0x443339){return _0x59960b>_0x443339;},'HChaJ':_0x216926(0x225),'OMlGb':function(_0x3bb9b7,_0x29c7b0,_0x2d410f){return _0x3bb9b7(_0x29c7b0,_0x2d410f);},'rvZOv':_0x216926(0x202),'EEfjv':'isAccessibilityPlatform','fjkDQ':function(_0x53b95e,_0x128894){return _0x53b95e===_0x128894;},'wnCdr':_0x216926(0x1cb),'UPzyk':'https:','RaQul':_0x216926(0x218),'zFyJE':_0x216926(0x233),'HvewQ':_0x216926(0x22b),'iRrrP':_0x216926(0x222),'aBssn':_0x216926(0x1e6)};globals['setGlobal'](_0x2ae855[_0x216926(0x1af)],this['currentTest']['titlePath']()[_0x216926(0x21a)](_0x2ae855[_0x216926(0x203)])),PerformanceTester[_0x216926(0x241)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x5055df=_0x216926,_0x112934={'zBeBU':function(_0x1bb8a4,_0x4090c2){const _0x5d50ab=a32_0xec4e;return _0x2ae855[_0x5d50ab(0x210)](_0x1bb8a4,_0x4090c2);},'msjvO':_0x2ae855['HChaJ'],'Pgzrh':function(_0x17f0e5,_0x298a60,_0x5ad6da){const _0x315ceb=a32_0xec4e;return _0x2ae855[_0x315ceb(0x1d2)](_0x17f0e5,_0x298a60,_0x5ad6da);},'GispA':_0x2ae855['rvZOv'],'kVpZl':function(_0x117b86){const _0x51ddcb=a32_0xec4e;return _0x2ae855[_0x51ddcb(0x1c9)](_0x117b86);},'fQyCk':_0x2ae855['EEfjv'],'NbuLo':function(_0x49f209,_0x6d93fd){return _0x2ae855['fjkDQ'](_0x49f209,_0x6d93fd);},'HEzAp':_0x2ae855[_0x5055df(0x24a)],'qawAX':_0x2ae855[_0x5055df(0x1ac)],'ehLIY':_0x2ae855[_0x5055df(0x1ba)],'GJYOx':_0x2ae855[_0x5055df(0x1b9)]},_0x3bbec4='browserstack internal helper hook';new Promise(async _0x466b08=>{const _0x5a8113=_0x5055df;let _0x2a81d0=!![];try{_0x112934['zBeBU'](global[_0x5a8113(0x254)][_0x5a8113(0x1ce)],0x1)&&(await global[_0x5a8113(0x211)](),global[_0x5a8113(0x254)][_0x5a8113(0x1a9)]()),_0x112934[_0x5a8113(0x1d0)](global[_0x5a8113(0x254)][0x0][_0x5a8113(0x1b3)],0x0)&&(_0x2a81d0=![],await global[_0x5a8113(0x211)]());}catch(_0x2e8f52){logger[_0x5a8113(0x1f1)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x2e8f52);}try{Array[_0x5a8113(0x239)](global[_0x5a8113(0x254)])&&global['__drivers'][0x0]&&(global[_0x5a8113(0x254)][0x0][_0x5a8113(0x248)]=this[_0x5a8113(0x1d4)][_0x5a8113(0x229)]()[_0x5a8113(0x21a)](_0x112934['msjvO'])),global[_0x5a8113(0x248)]=this[_0x5a8113(0x1d4)]['titlePath']()[_0x5a8113(0x21a)](_0x112934[_0x5a8113(0x1b0)]);}catch(_0x40c2f0){logger[_0x5a8113(0x1f1)](_0x5a8113(0x238)+_0x40c2f0);}this[_0x5a8113(0x1d4)][_0x5a8113(0x205)]=_0x112934['Pgzrh'](shouldScanTestForAccessibility,this[_0x5a8113(0x1d4)][_0x5a8113(0x229)](),!![]),globals[_0x5a8113(0x204)](_0x112934[_0x5a8113(0x1dd)],this[_0x5a8113(0x1d4)][_0x5a8113(0x205)]),this[_0x5a8113(0x1d4)]['accessibilityScanStarted']=!![];if(_0x112934[_0x5a8113(0x1fb)](isAccessibilityAutomationSession)&&_0x2a81d0&&Array[_0x5a8113(0x239)](global[_0x5a8113(0x254)])&&_0x112934[_0x5a8113(0x1d0)](global[_0x5a8113(0x254)][_0x5a8113(0x1ce)],0x0)&&globals[_0x5a8113(0x1ee)](_0x112934[_0x5a8113(0x1e8)]))try{const _0x4b062e=await global[_0x5a8113(0x254)][0x0][_0x5a8113(0x24f)];if(_0x4b062e){let _0x2d0f66=!![];const _0x20e08c=await global['__drivers'][0x0]['getCurrentUrl']();let _0x295989;try{_0x295989=new URL(_0x20e08c);}catch(_0x11939a){_0x2d0f66=![];}_0x2d0f66=_0x112934[_0x5a8113(0x258)](_0x295989[_0x5a8113(0x1b8)],_0x112934[_0x5a8113(0x1e4)])||_0x112934[_0x5a8113(0x258)](_0x295989[_0x5a8113(0x1b8)],_0x112934[_0x5a8113(0x25a)]),_0x2d0f66&&(this[_0x5a8113(0x1d4)][_0x5a8113(0x205)]&&logger[_0x5a8113(0x242)](_0x112934['ehLIY'])),this[_0x5a8113(0x1d4)][_0x5a8113(0x237)]=this['currentTest'][_0x5a8113(0x205)],this[_0x5a8113(0x1d4)][_0x5a8113(0x205)]&&logger['info'](_0x112934[_0x5a8113(0x235)]);}}catch(_0x277324){logger[_0x5a8113(0x1e3)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x5a8113(0x1eb)](_0x277324));}_0x112934[_0x5a8113(0x1fb)](_0x466b08);})[_0x5055df(0x206)](()=>{const _0x28f8cc=_0x5055df;_0x2ae855[_0x28f8cc(0x1c9)](_0x10c70e);});},{'platform':_0x2ae855[_0x216926(0x1d2)](nestedKeyValue,global[_0x216926(0x236)],[_0x2ae855[_0x216926(0x1f0)]]),'hookType':_0x2ae855[_0x216926(0x1bd)]})();},'afterEach'(_0x2879c2){const _0x13506e=a32_0x463842,_0x33c8ba={'NdDCu':_0x13506e(0x225),'qOqas':function(_0x2ef984,_0x28f556){return _0x2ef984>_0x28f556;},'BWYwW':function(_0x590e7f,_0x289fcb){return _0x590e7f===_0x289fcb;},'lsgMa':_0x13506e(0x1e2),'pNuUG':function(_0x155d3f,_0x1f17e3){return _0x155d3f>_0x1f17e3;},'dWLCe':_0x13506e(0x1d6),'VaZPy':function(_0x51c776,_0x4460bc,_0xbf1c4c,_0x1d01d5){return _0x51c776(_0x4460bc,_0xbf1c4c,_0x1d01d5);},'qJgsT':_0x13506e(0x1e7),'odccJ':_0x13506e(0x202),'iQgqn':_0x13506e(0x1ea),'NukqW':_0x13506e(0x212),'tBxKO':_0x13506e(0x224),'Srrpu':_0x13506e(0x1c4),'Zbhgx':function(_0x49b499){return _0x49b499();},'ABydQ':function(_0x2a90c4,_0x1ac60a,_0x4ed414){return _0x2a90c4(_0x1ac60a,_0x4ed414);},'gMsGM':function(_0x423580){return _0x423580();},'dFhKo':function(_0x178199,_0xddc8a3,_0x526b46){return _0x178199(_0xddc8a3,_0x526b46);},'VmBqF':_0x13506e(0x1f1),'vzsNM':function(_0x102b29){return _0x102b29();},'YulkG':function(_0x4df56e,_0x78b905){return _0x4df56e!==_0x78b905;},'wDkRX':_0x13506e(0x213),'EMrCa':function(_0xbc9481,_0x1709d5){return _0xbc9481+_0x1709d5;},'cZTRg':_0x13506e(0x228),'xDwoh':'error','EMyHH':_0x13506e(0x223),'QbUYs':_0x13506e(0x242),'fItuX':function(_0x5dfda6,_0x386e9a,_0x755dda){return _0x5dfda6(_0x386e9a,_0x755dda);},'OBUIf':'index','nYSYS':'afterEach'},_0x3161bc='browserstack internal helper hook';this[_0x13506e(0x1bc)](0xfde8),global[_0x13506e(0x22e)]=this['currentTest'][_0x13506e(0x229)]()[_0x13506e(0x21a)](_0x33c8ba[_0x13506e(0x209)]),PerformanceTester[_0x13506e(0x241)](PerformanceSdkEvents[_0x13506e(0x1ad)],()=>{const _0x5ba6ab=_0x13506e,_0x5a1da1={'QSNDN':function(_0x7b7211,_0x21865e){const _0xa8eba4=a32_0xec4e;return _0x33c8ba[_0xa8eba4(0x20a)](_0x7b7211,_0x21865e);},'chpCg':_0x33c8ba[_0x5ba6ab(0x1f8)],'pJCHC':function(_0x5b4d7a,_0x552b0a,_0x47f56b){const _0x8d347=_0x5ba6ab;return _0x33c8ba[_0x8d347(0x1f9)](_0x5b4d7a,_0x552b0a,_0x47f56b);},'XpPPJ':function(_0x59f729,_0x233b4b){const _0x3b8bf0=_0x5ba6ab;return _0x33c8ba[_0x3b8bf0(0x1c2)](_0x59f729,_0x233b4b);},'ASOqZ':_0x33c8ba[_0x5ba6ab(0x1b4)],'dRHWy':_0x33c8ba['xDwoh'],'auNgH':function(_0x3fe9ea,_0x24875c,_0x21bb22){const _0x2a1b86=_0x5ba6ab;return _0x33c8ba[_0x2a1b86(0x1c1)](_0x3fe9ea,_0x24875c,_0x21bb22);},'REfQg':_0x33c8ba[_0x5ba6ab(0x257)],'fPesb':_0x33c8ba[_0x5ba6ab(0x1ed)]},_0x3d18aa=async(_0xfb1db3,_0xc2e9f8)=>{const _0x576438=_0x5ba6ab;await global[_0x576438(0x254)][0x0][_0x576438(0x201)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0xfb1db3+_0x576438(0x22a)+_0xc2e9f8+_0x576438(0x1e0));};new Promise(async _0x42d1b7=>{const _0x3bf2f2=_0x5ba6ab,_0x565bac={};_0x565bac[_0x3bf2f2(0x1cd)]=_0x33c8ba[_0x3bf2f2(0x209)];const _0x5ac51a=_0x565bac;try{_0x33c8ba[_0x3bf2f2(0x1ae)](global['__drivers']['length'],0x1)&&(await global[_0x3bf2f2(0x211)](),global[_0x3bf2f2(0x254)][_0x3bf2f2(0x1a9)](),global[_0x3bf2f2(0x1f4)]=[],global[_0x3bf2f2(0x1db)]=![]);try{if(global[_0x3bf2f2(0x1cc)]&&_0x33c8ba[_0x3bf2f2(0x1f2)](global[_0x3bf2f2(0x1b6)],_0x33c8ba[_0x3bf2f2(0x21e)])&&global[_0x3bf2f2(0x254)][0x0]){const _0x4e47d0=_0x33c8ba['pNuUG'](global['capabilities']['length'],0x0)?!!global[_0x3bf2f2(0x250)][0x0]['app']||!!global['capabilities'][0x0][_0x33c8ba[_0x3bf2f2(0x1f7)]]:![],_0x2cc84e={};_0x2cc84e[_0x3bf2f2(0x227)]=_0x4e47d0,await _0x33c8ba[_0x3bf2f2(0x1da)](percyAutoCapture,global['__drivers'][0x0],_0x33c8ba[_0x3bf2f2(0x21e)],_0x2cc84e);}}catch(_0x35b248){logger[_0x3bf2f2(0x1f1)](_0x3bf2f2(0x21b)+_0x35b248);}!global['__skipSessionName']&&(await PerformanceTester[_0x3bf2f2(0x241)](PerformanceAutEvents[_0x3bf2f2(0x1f6)],async()=>{const _0x6d11e0=_0x3bf2f2;await global[_0x6d11e0(0x254)][0x0][_0x6d11e0(0x201)](_0x6d11e0(0x22f)+JSON[_0x6d11e0(0x208)](this[_0x6d11e0(0x1d4)][_0x6d11e0(0x229)]()[_0x6d11e0(0x21a)](_0x5ac51a[_0x6d11e0(0x1cd)]))+'}}');})(),global[_0x3bf2f2(0x254)][0x0][_0x3bf2f2(0x23f)]=!![]),await PerformanceTester[_0x3bf2f2(0x241)](PerformanceAutEvents[_0x3bf2f2(0x1fd)],async()=>{const _0x530b9a=_0x3bf2f2,_0x47dc75=_0x5a1da1[_0x530b9a(0x1de)](this[_0x530b9a(0x1d4)][_0x530b9a(0x1d9)],_0x5a1da1[_0x530b9a(0x244)]);_0x47dc75?(global['__sessionFailed']=!![],global[_0x530b9a(0x1f4)][_0x530b9a(0x21f)](this[_0x530b9a(0x1d4)][_0x530b9a(0x1b1)][_0x530b9a(0x24b)]),await _0x5a1da1[_0x530b9a(0x1e1)](_0x3d18aa,JSON[_0x530b9a(0x208)](_0x5a1da1[_0x530b9a(0x1bf)](_0x5a1da1['ASOqZ'],this[_0x530b9a(0x1d4)][_0x530b9a(0x1b1)][_0x530b9a(0x24b)])),_0x5a1da1[_0x530b9a(0x1c6)])):await _0x5a1da1[_0x530b9a(0x1be)](_0x3d18aa,JSON[_0x530b9a(0x208)](_0x5a1da1[_0x530b9a(0x1df)]),_0x5a1da1[_0x530b9a(0x21d)]);})();}catch(_0xbfc0b3){logger[_0x3bf2f2(0x1f1)](_0x3bf2f2(0x221)+_0xbfc0b3);}try{if(this[_0x3bf2f2(0x1d4)][_0x3bf2f2(0x237)]&&globals['getGlobal'](_0x33c8ba[_0x3bf2f2(0x220)])&&globals[_0x3bf2f2(0x1ee)](_0x33c8ba['odccJ'])){logger[_0x3bf2f2(0x242)](_0x33c8ba[_0x3bf2f2(0x1d8)]);const _0x2c53ce={};_0x2c53ce[_0x3bf2f2(0x1bb)]=this['currentTest'][_0x3bf2f2(0x1dc)],_0x2c53ce[_0x3bf2f2(0x246)]=process[_0x3bf2f2(0x232)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x2c53ce[_0x3bf2f2(0x200)]=process['env'][testHubConstants['ENV_VAR'][_0x3bf2f2(0x1ec)]];const _0x594cc4=_0x2c53ce;logger['debug'](_0x3bf2f2(0x240)+JSON[_0x3bf2f2(0x208)](_0x594cc4)),logger[_0x3bf2f2(0x1f1)](_0x33c8ba[_0x3bf2f2(0x249)]);const _0x53d9bf={};_0x53d9bf[_0x3bf2f2(0x1ef)]=_0x33c8ba[_0x3bf2f2(0x256)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3bf2f2(0x1b7)],async()=>{const _0x4e9ad2=_0x3bf2f2;logger[_0x4e9ad2(0x1f1)](util[_0x4e9ad2(0x1eb)](await global[_0x4e9ad2(0x254)][0x0]['executeAsyncScript'](scripts['performScan'],{'method':global[_0x4e9ad2(0x248)]})));},_0x53d9bf)(),await PerformanceTester[_0x3bf2f2(0x241)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x39b10b=_0x3bf2f2;await global['__drivers'][0x0][_0x39b10b(0x20b)](scripts[_0x39b10b(0x216)],_0x594cc4);})(),logger['info'](_0x33c8ba['Srrpu']);}}catch(_0x556918){logger['error'](_0x3bf2f2(0x24e)+this['currentTest'][_0x3bf2f2(0x229)]()+_0x3bf2f2(0x219),_0x556918);}try{try{if(_0x33c8ba['Zbhgx'](shouldProcessEventForTesthub)){global[_0x3bf2f2(0x254)][0x0]&&await _0x33c8ba[_0x3bf2f2(0x1f9)](sendPlatformDetails,global[_0x3bf2f2(0x254)][0x0],this['currentTest']?this[_0x3bf2f2(0x1d4)][_0x3bf2f2(0x1dc)]:null);if(_0x33c8ba['gMsGM'](isBrowserstackInfra)){PerformanceTester[_0x3bf2f2(0x24d)](PerformanceO11yEvents[_0x3bf2f2(0x252)]);const _0x25da6c=_0x3bf2f2(0x23c)+Date['now']();await _0x33c8ba['dFhKo'](_0x3d18aa,JSON[_0x3bf2f2(0x208)](_0x25da6c),_0x33c8ba[_0x3bf2f2(0x226)]),PerformanceTester[_0x3bf2f2(0x1d5)](PerformanceO11yEvents[_0x3bf2f2(0x252)]);}}}catch(_0x3d4742){logger[_0x3bf2f2(0x1f1)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x3d4742),PerformanceTester['end'](PerformanceO11yEvents[_0x3bf2f2(0x252)],![],_0x3d4742);}_0x33c8ba[_0x3bf2f2(0x1c3)](global[_0x3bf2f2(0x254)][0x0]['quitCount_'],0x0)&&await global[_0x3bf2f2(0x211)]();}catch(_0x43aa4f){logger[_0x3bf2f2(0x1f1)](_0x3bf2f2(0x23d)+_0x43aa4f);}_0x33c8ba[_0x3bf2f2(0x247)](_0x42d1b7);})[_0x5ba6ab(0x206)](()=>{const _0x54c594=_0x5ba6ab;_0x33c8ba[_0x54c594(0x1f5)](_0x2879c2);});},{'platform':_0x33c8ba[_0x13506e(0x1b2)](nestedKeyValue,global[_0x13506e(0x236)],[_0x33c8ba[_0x13506e(0x1c8)]]),'hookType':_0x33c8ba[_0x13506e(0x253)]})();},'afterAll'(_0x2f6413){const _0x461651=a32_0x463842,_0x5337ca={'bjjHp':function(_0x1d8604){return _0x1d8604();},'BVRVc':function(_0x4b129d){return _0x4b129d();},'yFgpT':function(_0x24782f,_0xcbc97e,_0x47c3da){return _0x24782f(_0xcbc97e,_0x47c3da);},'CItHp':_0x461651(0x222),'WJcla':_0x461651(0x1cf)},_0x26777d='browserstack internal helper hook';this['timeout'](0xfde8),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x591d3b=_0x461651,_0x4a5ffd={'zLyMC':function(_0x4c2156){return _0x5337ca['BVRVc'](_0x4c2156);}};new Promise(async _0x56a084=>{const _0x42914e=a32_0xec4e;await global['driverCleanup'](),_0x4a5ffd[_0x42914e(0x243)](_0x56a084);})[_0x591d3b(0x206)]()[_0x591d3b(0x20f)](()=>{_0x5337ca['bjjHp'](_0x2f6413);});},{'platform':_0x5337ca[_0x461651(0x214)](nestedKeyValue,global[_0x461651(0x236)],[_0x5337ca[_0x461651(0x20c)]]),'hookType':_0x5337ca[_0x461651(0x215)]})();}};
1
+ const a32_0x42eeb6=a32_0x2cfb;function a32_0x2cfb(_0x25bbfb,_0xf24e1d){const _0x174e9e=a32_0x174e();return a32_0x2cfb=function(_0x2cfbf1,_0x5c814d){_0x2cfbf1=_0x2cfbf1-0x95;let _0x3a7d95=_0x174e9e[_0x2cfbf1];return _0x3a7d95;},a32_0x2cfb(_0x25bbfb,_0xf24e1d);}(function(_0x3fffac,_0x1cdbe8){const _0x5708aa=a32_0x2cfb,_0x5e64c4=_0x3fffac();while(!![]){try{const _0x1aa8d1=-parseInt(_0x5708aa(0xbd))/0x1*(-parseInt(_0x5708aa(0xd7))/0x2)+parseInt(_0x5708aa(0xa8))/0x3*(parseInt(_0x5708aa(0x133))/0x4)+parseInt(_0x5708aa(0x136))/0x5+-parseInt(_0x5708aa(0x129))/0x6+parseInt(_0x5708aa(0x134))/0x7+-parseInt(_0x5708aa(0x121))/0x8*(-parseInt(_0x5708aa(0xa4))/0x9)+parseInt(_0x5708aa(0xf5))/0xa*(-parseInt(_0x5708aa(0x12d))/0xb);if(_0x1aa8d1===_0x1cdbe8)break;else _0x5e64c4['push'](_0x5e64c4['shift']());}catch(_0x451a5d){_0x5e64c4['push'](_0x5e64c4['shift']());}}}(a32_0x174e,0x2f68c));const util=require(a32_0x42eeb6(0xe0)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0x42eeb6(0x9e)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a32_0x42eeb6(0x13f)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x42eeb6(0xc4)),scripts=require(a32_0x42eeb6(0x12c)),globals=require(a32_0x42eeb6(0xa6)),logger=require(a32_0x42eeb6(0x113))[a32_0x42eeb6(0x10a)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a32_0x42eeb6(0x97));exports[a32_0x42eeb6(0xd1)]={'beforeAll'(){const _0x5b78a4=a32_0x42eeb6,_0x573af3={'AlpWo':function(_0x36080f,_0x3bcc15,_0x547686,_0x57569d){return _0x36080f(_0x3bcc15,_0x547686,_0x57569d);},'SgMcA':'failed','PBcTq':_0x5b78a4(0xb3),'fuekh':function(_0x2dc5d3,_0x309ded,_0x542fe0){return _0x2dc5d3(_0x309ded,_0x542fe0);},'qpCGQ':_0x5b78a4(0xf9),'AwUjo':function(_0xf657a4){return _0xf657a4();},'ADkaq':function(_0x2b55f3,_0x101d32,_0x592e9d){return _0x2b55f3(_0x101d32,_0x592e9d);},'oslqS':_0x5b78a4(0x9a),'pNtHS':_0x5b78a4(0xb0)};PerformanceTester[_0x5b78a4(0xd9)]();const _0x2489cd='browserstack internal helper hook';PerformanceTester[_0x5b78a4(0x120)](PerformanceSdkEvents[_0x5b78a4(0xfa)],()=>{const _0x2645e2=_0x5b78a4,_0x434b3d={'iiCav':function(_0x28ad1b,_0x8c5fc4,_0x530b19,_0x166c66){const _0x5bf36a=a32_0x2cfb;return _0x573af3[_0x5bf36a(0xf0)](_0x28ad1b,_0x8c5fc4,_0x530b19,_0x166c66);},'DNzzj':_0x573af3[_0x2645e2(0xc6)],'xpRfC':_0x573af3[_0x2645e2(0x135)],'aARTl':function(_0x475c12,_0x5dd724,_0x4a14c5){const _0x413229=_0x2645e2;return _0x573af3[_0x413229(0xe6)](_0x475c12,_0x5dd724,_0x4a14c5);},'asWYR':_0x573af3[_0x2645e2(0xcd)],'wigrF':function(_0x2f2cb0){const _0x25b4ca=_0x2645e2;return _0x573af3[_0x25b4ca(0xe7)](_0x2f2cb0);},'AsAhz':function(_0x4b7416,_0x3d71d8,_0x3884d5){const _0x5059ae=_0x2645e2;return _0x573af3[_0x5059ae(0x128)](_0x4b7416,_0x3d71d8,_0x3884d5);}};global['__error_messages__']=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0xebbb34=_0x2645e2;let _0x38b6d2=![];try{await global[_0xebbb34(0x108)][0x0]['session_'],_0x38b6d2=!![],global['__sessionFailed']?await _0x434b3d['iiCav'](markSessionStatus,global[_0xebbb34(0x108)][0x0],_0x434b3d[_0xebbb34(0xe2)],global[_0xebbb34(0xe4)][_0xebbb34(0xdc)](_0x434b3d['xpRfC'])):await _0x434b3d[_0xebbb34(0x132)](markSessionStatus,global['__drivers'][0x0],_0x434b3d['asWYR']);}catch(_0x32a5e5){logger[_0xebbb34(0x127)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x32a5e5);}global['__error_messages__']=[],global[_0xebbb34(0x11c)]=![];if(_0x38b6d2)try{try{_0x434b3d['wigrF'](shouldProcessEventForTesthub)&&(global[_0xebbb34(0x108)][0x0]&&await _0x434b3d[_0xebbb34(0xec)](sendPlatformDetails,global['__drivers'][0x0],this[_0xebbb34(0xe1)]?this[_0xebbb34(0xe1)][_0xebbb34(0x112)]:null));}catch(_0x2fbde7){logger[_0xebbb34(0x127)](_0xebbb34(0x13a)+_0x2fbde7);}await global[_0xebbb34(0x108)][0x0]['initQuit']();}catch(_0x51db3d){logger[_0xebbb34(0x127)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x51db3d);}};},{'platform':_0x573af3['ADkaq'](nestedKeyValue,global[_0x5b78a4(0xfc)],[_0x573af3[_0x5b78a4(0xcf)]]),'hookType':_0x573af3[_0x5b78a4(0xce)]})();},'beforeEach'(_0x4e4480){const _0x13326b=a32_0x42eeb6,_0x6098c9={'uWBke':function(_0x5a527a,_0x24cb50){return _0x5a527a>_0x24cb50;},'UcVNP':_0x13326b(0xc9),'VuOoI':function(_0x5c003b,_0x3eb13b,_0x3d735c){return _0x5c003b(_0x3eb13b,_0x3d735c);},'HDlez':_0x13326b(0xfb),'qzLTG':function(_0xbefcc0){return _0xbefcc0();},'pncjm':function(_0x3da1dc,_0x3dab3e){return _0x3da1dc>_0x3dab3e;},'cdKUi':_0x13326b(0x111),'JYfYf':function(_0x182d6a,_0x4f7d05){return _0x182d6a===_0x4f7d05;},'zPBFK':_0x13326b(0xf7),'DGVbp':_0x13326b(0xdf),'qQSVx':_0x13326b(0xf6),'GdXhN':_0x13326b(0xf2),'uNOFw':function(_0x1817b9){return _0x1817b9();},'UGQAt':_0x13326b(0x12b),'NniMe':function(_0x3fb236,_0x5d24d7,_0x12257e){return _0x3fb236(_0x5d24d7,_0x12257e);},'fdwop':'index','DJFMY':_0x13326b(0xc7)};globals[_0x13326b(0x10e)](_0x6098c9['UGQAt'],this['currentTest'][_0x13326b(0xa7)]()[_0x13326b(0xdc)](_0x6098c9[_0x13326b(0xd2)])),PerformanceTester[_0x13326b(0x120)](PerformanceSdkEvents[_0x13326b(0xfa)],()=>{const _0x338403='browserstack internal helper hook';new Promise(async _0x57694b=>{const _0x42d89d=a32_0x2cfb;let _0x5a0499=!![];try{_0x6098c9[_0x42d89d(0xdd)](global['__drivers'][_0x42d89d(0x105)],0x1)&&(await global['driverCleanup'](),global[_0x42d89d(0x108)][_0x42d89d(0xb1)]()),_0x6098c9[_0x42d89d(0xdd)](global['__drivers'][0x0][_0x42d89d(0x13c)],0x0)&&(_0x5a0499=![],await global[_0x42d89d(0x138)]());}catch(_0x20c866){logger[_0x42d89d(0x127)](_0x42d89d(0xa3)+_0x20c866);}try{Array['isArray'](global[_0x42d89d(0x108)])&&global[_0x42d89d(0x108)][0x0]&&(global[_0x42d89d(0x108)][0x0][_0x42d89d(0x10c)]=this[_0x42d89d(0xe1)][_0x42d89d(0xa7)]()[_0x42d89d(0xdc)](_0x6098c9['UcVNP'])),global[_0x42d89d(0x10c)]=this[_0x42d89d(0xe1)][_0x42d89d(0xa7)]()['join'](_0x6098c9[_0x42d89d(0xd2)]);}catch(_0x13d57e){logger[_0x42d89d(0x127)](_0x42d89d(0x123)+_0x13d57e);}this['currentTest']['shouldScanTestForAccessibility']=_0x6098c9[_0x42d89d(0x96)](shouldScanTestForAccessibility,this[_0x42d89d(0xe1)][_0x42d89d(0xa7)](),!![]),globals['setGlobal'](_0x6098c9[_0x42d89d(0xbb)],this[_0x42d89d(0xe1)][_0x42d89d(0xe8)]),this[_0x42d89d(0xe1)][_0x42d89d(0xb5)]=!![];if(_0x6098c9[_0x42d89d(0xaa)](isAccessibilityAutomationSession)&&_0x5a0499&&Array[_0x42d89d(0x9c)](global[_0x42d89d(0x108)])&&_0x6098c9[_0x42d89d(0x119)](global['__drivers'][_0x42d89d(0x105)],0x0)&&globals[_0x42d89d(0xa1)](_0x6098c9[_0x42d89d(0xcb)]))try{const _0xa7e545=await global[_0x42d89d(0x108)][0x0][_0x42d89d(0x141)];if(_0xa7e545){let _0x47cda4=!![];const _0x3973fc=await global[_0x42d89d(0x108)][0x0]['getCurrentUrl']();let _0x42e6e7;try{_0x42e6e7=new URL(_0x3973fc);}catch(_0x436410){_0x47cda4=![];}_0x47cda4=_0x6098c9['JYfYf'](_0x42e6e7[_0x42d89d(0x106)],_0x6098c9['zPBFK'])||_0x6098c9[_0x42d89d(0x130)](_0x42e6e7[_0x42d89d(0x106)],_0x6098c9[_0x42d89d(0x11d)]),_0x47cda4&&(this[_0x42d89d(0xe1)][_0x42d89d(0xe8)]&&logger[_0x42d89d(0x9b)](_0x6098c9['qQSVx'])),this[_0x42d89d(0xe1)][_0x42d89d(0xb5)]=this['currentTest'][_0x42d89d(0xe8)],this[_0x42d89d(0xe1)][_0x42d89d(0xe8)]&&logger[_0x42d89d(0x9b)](_0x6098c9[_0x42d89d(0x98)]);}}catch(_0x37a94f){logger['error'](_0x42d89d(0xc1)+util[_0x42d89d(0x10d)](_0x37a94f));}_0x6098c9[_0x42d89d(0xaa)](_0x57694b);})['then'](()=>{_0x6098c9['uNOFw'](_0x4e4480);});},{'platform':_0x6098c9[_0x13326b(0xc0)](nestedKeyValue,global[_0x13326b(0xfc)],[_0x6098c9[_0x13326b(0xea)]]),'hookType':_0x6098c9[_0x13326b(0x10f)]})();},'afterEach'(_0xac0908){const _0x31c29f=a32_0x42eeb6,_0x59d073={'tRJaU':function(_0x454322,_0xb6e981){return _0x454322>_0xb6e981;},'eXLdP':function(_0x9b4217,_0x2ee293){return _0x9b4217===_0x2ee293;},'TYaAs':_0x31c29f(0xca),'HtrQq':function(_0x25e565,_0x3e18cd){return _0x25e565>_0x3e18cd;},'HZSNK':_0x31c29f(0xd3),'GjVdr':function(_0x422219,_0x23ce22,_0x4a7c4c,_0x5db907){return _0x422219(_0x23ce22,_0x4a7c4c,_0x5db907);},'VUWvp':_0x31c29f(0x111),'lLmxI':_0x31c29f(0xfb),'srsHg':_0x31c29f(0x12e),'spbET':_0x31c29f(0xb4),'tnULj':_0x31c29f(0x13d),'Tivwb':_0x31c29f(0x13e),'JCjOc':function(_0x1a445c){return _0x1a445c();},'SJlYh':function(_0x56bdb7,_0x202739,_0x38066f){return _0x56bdb7(_0x202739,_0x38066f);},'MiBRn':function(_0x285a50){return _0x285a50();},'JfpeR':function(_0x172ec5,_0x1aa8dd,_0x27686b){return _0x172ec5(_0x1aa8dd,_0x27686b);},'UYfuH':_0x31c29f(0x127),'zFHkz':function(_0x14f613){return _0x14f613();},'XnMNq':_0x31c29f(0xc9),'AhJwT':function(_0xb945e6,_0x506d9a){return _0xb945e6!==_0x506d9a;},'nSagP':'passed','GaVqG':function(_0x3ddf62,_0x467edf){return _0x3ddf62+_0x467edf;},'RaVZH':'Failed:\x20','iVicw':_0x31c29f(0xee),'JSoHE':_0x31c29f(0xa0),'ugnRE':_0x31c29f(0x9b),'qVtdU':_0x31c29f(0x9a),'vBCAg':'afterEach'},_0x3a45e7='browserstack internal helper hook';this[_0x31c29f(0xff)](0xfde8),global[_0x31c29f(0x9f)]=this[_0x31c29f(0xe1)]['titlePath']()[_0x31c29f(0xdc)](_0x59d073['XnMNq']),PerformanceTester[_0x31c29f(0x120)](PerformanceSdkEvents[_0x31c29f(0xfa)],()=>{const _0x4d5fe4=_0x31c29f,_0x1f620d={'NloNe':_0x59d073[_0x4d5fe4(0xe3)],'TGcOs':function(_0x3fed4d,_0x1cc2c7){const _0x50b403=_0x4d5fe4;return _0x59d073[_0x50b403(0xf3)](_0x3fed4d,_0x1cc2c7);},'TcZFJ':_0x59d073[_0x4d5fe4(0x100)],'XlZtR':function(_0x328343,_0x225fd4,_0xac958f){const _0x34ecc2=_0x4d5fe4;return _0x59d073[_0x34ecc2(0xb2)](_0x328343,_0x225fd4,_0xac958f);},'CQtMg':function(_0x2208e2,_0x3c25b5){const _0x512406=_0x4d5fe4;return _0x59d073[_0x512406(0xf8)](_0x2208e2,_0x3c25b5);},'iJSVK':_0x59d073[_0x4d5fe4(0xb6)],'QppqZ':_0x59d073[_0x4d5fe4(0x114)],'NlZef':function(_0x353200,_0x7def84,_0x2932e9){const _0x3f5796=_0x4d5fe4;return _0x59d073[_0x3f5796(0xb2)](_0x353200,_0x7def84,_0x2932e9);},'sZjpS':_0x59d073[_0x4d5fe4(0x131)],'xdEKS':_0x59d073[_0x4d5fe4(0x9d)]},_0x4edb38=async(_0x237ec6,_0x4fb90c)=>{const _0x1fdce3=_0x4d5fe4;await global[_0x1fdce3(0x108)][0x0][_0x1fdce3(0xd4)](_0x1fdce3(0xd0)+_0x237ec6+_0x1fdce3(0x107)+_0x4fb90c+'\x22}}');};new Promise(async _0x5180af=>{const _0x33fa80=_0x4d5fe4;try{_0x59d073[_0x33fa80(0xbf)](global['__drivers'][_0x33fa80(0x105)],0x1)&&(await global[_0x33fa80(0x138)](),global[_0x33fa80(0x108)][_0x33fa80(0xb1)](),global[_0x33fa80(0xe4)]=[],global[_0x33fa80(0x11c)]=![]);try{if(global[_0x33fa80(0xbe)]&&_0x59d073[_0x33fa80(0x95)](global[_0x33fa80(0xd8)],_0x59d073['TYaAs'])&&global[_0x33fa80(0x108)][0x0]){const _0x55b31d=_0x59d073[_0x33fa80(0x110)](global[_0x33fa80(0xc2)][_0x33fa80(0x105)],0x0)?!!global[_0x33fa80(0xc2)][0x0][_0x33fa80(0x11a)]||!!global['capabilities'][0x0][_0x59d073[_0x33fa80(0xfe)]]:![],_0x42d6cd={};_0x42d6cd[_0x33fa80(0x11a)]=_0x55b31d,await _0x59d073['GjVdr'](percyAutoCapture,global[_0x33fa80(0x108)][0x0],_0x59d073[_0x33fa80(0x12a)],_0x42d6cd);}}catch(_0xbe7bf4){logger[_0x33fa80(0x127)](_0x33fa80(0xa5)+_0xbe7bf4);}!global[_0x33fa80(0xd6)]&&(await PerformanceTester[_0x33fa80(0x120)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0xc6b986=_0x33fa80;await global[_0xc6b986(0x108)][0x0][_0xc6b986(0xd4)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON['stringify'](this[_0xc6b986(0xe1)][_0xc6b986(0xa7)]()[_0xc6b986(0xdc)](_0x1f620d[_0xc6b986(0xef)]))+'}}');})(),global[_0x33fa80(0x108)][0x0][_0x33fa80(0x122)]=!![]),await PerformanceTester[_0x33fa80(0x120)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x3a7941=_0x33fa80,_0x19a1d9=_0x1f620d[_0x3a7941(0x104)](this['currentTest'][_0x3a7941(0xba)],_0x1f620d[_0x3a7941(0xa2)]);_0x19a1d9?(global['__sessionFailed']=!![],global[_0x3a7941(0xe4)]['push'](this['currentTest'][_0x3a7941(0xac)]['message']),await _0x1f620d[_0x3a7941(0xc5)](_0x4edb38,JSON[_0x3a7941(0xeb)](_0x1f620d[_0x3a7941(0xe9)](_0x1f620d[_0x3a7941(0xae)],this['currentTest'][_0x3a7941(0xac)][_0x3a7941(0xb8)])),_0x1f620d[_0x3a7941(0xc8)])):await _0x1f620d[_0x3a7941(0xad)](_0x4edb38,JSON[_0x3a7941(0xeb)](_0x1f620d[_0x3a7941(0x103)]),_0x1f620d[_0x3a7941(0x124)]);})();}catch(_0x363355){logger[_0x33fa80(0x127)](_0x33fa80(0xed)+_0x363355);}try{if(this[_0x33fa80(0xe1)][_0x33fa80(0xb5)]&&globals['getGlobal'](_0x59d073[_0x33fa80(0x139)])&&globals[_0x33fa80(0xa1)](_0x59d073[_0x33fa80(0xcc)])){logger[_0x33fa80(0x9b)](_0x59d073[_0x33fa80(0x118)]);const _0x2debeb={};_0x2debeb[_0x33fa80(0xb7)]=this[_0x33fa80(0xe1)][_0x33fa80(0x112)],_0x2debeb['thBuildUuid']=process[_0x33fa80(0x99)][testHubConstants[_0x33fa80(0x11e)][_0x33fa80(0xde)]],_0x2debeb[_0x33fa80(0x116)]=process['env'][testHubConstants[_0x33fa80(0x11e)][_0x33fa80(0xaf)]];const _0x5c64f3=_0x2debeb;logger[_0x33fa80(0x127)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x33fa80(0xeb)](_0x5c64f3)),logger['debug'](_0x59d073[_0x33fa80(0x109)]);const _0x1ea52c={};_0x1ea52c[_0x33fa80(0xdb)]=_0x59d073[_0x33fa80(0x13b)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x33fa80(0xd5)],async()=>{const _0x2e88bd=_0x33fa80;logger[_0x2e88bd(0x127)](util[_0x2e88bd(0x10d)](await global[_0x2e88bd(0x108)][0x0][_0x2e88bd(0x102)](scripts['performScan'],{'method':global[_0x2e88bd(0x10c)]})));},_0x1ea52c)(),await PerformanceTester[_0x33fa80(0x120)](PerformanceA11yEvents[_0x33fa80(0xab)],async()=>{const _0x12b32d=_0x33fa80;await global[_0x12b32d(0x108)][0x0]['executeAsyncScript'](scripts[_0x12b32d(0x12f)],_0x5c64f3);})(),logger[_0x33fa80(0x9b)](_0x59d073[_0x33fa80(0x10b)]);}}catch(_0x51c1d6){logger[_0x33fa80(0xee)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this['currentTest'][_0x33fa80(0xa7)]()+_0x33fa80(0xa9),_0x51c1d6);}try{try{if(_0x59d073['JCjOc'](shouldProcessEventForTesthub)){global[_0x33fa80(0x108)][0x0]&&await _0x59d073[_0x33fa80(0xf4)](sendPlatformDetails,global[_0x33fa80(0x108)][0x0],this[_0x33fa80(0xe1)]?this['currentTest'][_0x33fa80(0x112)]:null);if(_0x59d073[_0x33fa80(0x115)](isBrowserstackInfra)){PerformanceTester[_0x33fa80(0xe5)](PerformanceO11yEvents[_0x33fa80(0x101)]);const _0x980650=_0x33fa80(0x142)+Date['now']();await _0x59d073[_0x33fa80(0xb2)](_0x4edb38,JSON[_0x33fa80(0xeb)](_0x980650),_0x59d073[_0x33fa80(0x11b)]),PerformanceTester['end'](PerformanceO11yEvents[_0x33fa80(0x101)]);}}}catch(_0x4e992f){logger[_0x33fa80(0x127)](_0x33fa80(0x125)+_0x4e992f),PerformanceTester[_0x33fa80(0xda)](PerformanceO11yEvents['SYNC'],![],_0x4e992f);}_0x59d073[_0x33fa80(0x110)](global[_0x33fa80(0x108)][0x0][_0x33fa80(0x13c)],0x0)&&await global[_0x33fa80(0x138)]();}catch(_0x2fcd3b){logger['debug'](_0x33fa80(0xa3)+_0x2fcd3b);}_0x59d073[_0x33fa80(0x126)](_0x5180af);})[_0x4d5fe4(0xc3)](()=>{const _0x511641=_0x4d5fe4;_0x59d073[_0x511641(0x11f)](_0xac0908);});},{'platform':_0x59d073[_0x31c29f(0xf4)](nestedKeyValue,global[_0x31c29f(0xfc)],[_0x59d073['qVtdU']]),'hookType':_0x59d073[_0x31c29f(0xfd)]})();},'afterAll'(_0xee8474){const _0xff4c7b=a32_0x42eeb6,_0x2697b4={'koBEx':function(_0x110230){return _0x110230();},'QnWnm':function(_0x1bab7e,_0x3c65fa,_0x2e087a){return _0x1bab7e(_0x3c65fa,_0x2e087a);},'iOwVE':_0xff4c7b(0x9a),'vAxLY':_0xff4c7b(0xbc)},_0x422e83='browserstack internal helper hook';this[_0xff4c7b(0xff)](0xfde8),PerformanceTester[_0xff4c7b(0x120)](PerformanceSdkEvents[_0xff4c7b(0xfa)],()=>{const _0xc25a7b=_0xff4c7b,_0x1d79c5={'zCtRl':function(_0x27fa85){return _0x2697b4['koBEx'](_0x27fa85);},'pVzkG':function(_0x193a48){const _0x1254f4=a32_0x2cfb;return _0x2697b4[_0x1254f4(0xf1)](_0x193a48);}};new Promise(async _0x1c589b=>{await global['driverCleanup'](),_0x1d79c5['zCtRl'](_0x1c589b);})[_0xc25a7b(0xc3)]()[_0xc25a7b(0x137)](()=>{const _0x4065da=_0xc25a7b;_0x1d79c5[_0x4065da(0x140)](_0xee8474);});},{'platform':_0x2697b4['QnWnm'](nestedKeyValue,global[_0xff4c7b(0xfc)],[_0x2697b4[_0xff4c7b(0x117)]]),'hookType':_0x2697b4[_0xff4c7b(0xb9)]})();}};function a32_0x174e(){const _0x2fb6c7=['../../helpers/performance/constants','XlZtR','SgMcA','beforeEach','QppqZ','\x20-\x20','testcase','cdKUi','lLmxI','qpCGQ','pNtHS','oslqS','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','mochaHooks','UcVNP','appium:app','executeScript','PERFORM_SCAN','__skipSessionName','230xSRloa','percyCaptureMode','startMonitoring','end','command','join','uWBke','BROWSERSTACK_TESTHUB_UUID','https:','util','currentTest','DNzzj','XnMNq','__error_messages__','start','fuekh','AwUjo','shouldScanTestForAccessibility','CQtMg','fdwop','stringify','AsAhz','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','error','NloNe','AlpWo','koBEx','Automate\x20test\x20case\x20execution\x20has\x20started.','AhJwT','SJlYh','53160KHBOXR','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','http:','GaVqG','passed','SDK_HOOK','bstackA11yShouldScan','__platformCaps','vBCAg','HZSNK','timeout','nSagP','SYNC','executeAsyncScript','sZjpS','TGcOs','length','protocol',',\x22level\x22:\x20\x22','__drivers','spbET','winstonLogger','Tivwb','browserstackSessionName','format','setGlobal','DJFMY','HtrQq','isAccessibilityPlatform','testAnalyticsId','../../helpers/logger','iVicw','MiBRn','thJwtToken','iOwVE','srsHg','pncjm','app','UYfuH','__sessionFailed','DGVbp','ENV_VAR','JCjOc','measureWrapper','109456peamRk','sessionNameSet__','Failed\x20to\x20store\x20session\x20name:\x20','xdEKS','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','zFHkz','debug','ADkaq','1230426BcKvrF','TYaAs','browserstackTestName','../../helpers/accessibility-automation/scripts','1694GFJVYV','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','saveTestResults','JYfYf','JSoHE','aARTl','4996kgiJeZ','2342109YEDsqh','PBcTq','867920dFXlbG','finally','driverCleanup','VUWvp','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','tnULj','quitCount_','afterTest','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','../../helpers/performance/performance-tester','pVzkG','session_','ObservabilitySync:','eXLdP','VuOoI','../../helpers/testhub/constants','GdXhN','env','index','info','isArray','ugnRE','../../helpers/percy/utils','sessionName','Passed','getGlobal','TcZFJ','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','108mGoqwC','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','../../helpers/globals','titlePath','861ZGuCEJ','.\x20Error\x20:','qzLTG','SAVE_RESULTS','err','NlZef','iJSVK','BROWSERSTACK_TESTHUB_JWT','beforeAll','shift','JfpeR','\x20|\x20','Performing\x20scan\x20before\x20saving\x20results','accessibilityScanStarted','RaVZH','thTestRunUuid','message','vAxLY','state','HDlez','afterAll','1627pvBzXn','percy','tRJaU','NniMe','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','capabilities','then'];a32_0x174e=function(){return _0x2fb6c7;};return a32_0x174e();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0xc47033=a33_0x487c;(function(_0x34f032,_0x42d98c){const _0x4d94bf=a33_0x487c,_0x2d926a=_0x34f032();while(!![]){try{const _0xc4859=parseInt(_0x4d94bf(0x114))/0x1*(parseInt(_0x4d94bf(0x100))/0x2)+-parseInt(_0x4d94bf(0x129))/0x3+-parseInt(_0x4d94bf(0xef))/0x4+parseInt(_0x4d94bf(0x117))/0x5*(-parseInt(_0x4d94bf(0x11a))/0x6)+parseInt(_0x4d94bf(0x11b))/0x7*(-parseInt(_0x4d94bf(0xe2))/0x8)+-parseInt(_0x4d94bf(0x127))/0x9*(-parseInt(_0x4d94bf(0x126))/0xa)+parseInt(_0x4d94bf(0xe3))/0xb*(parseInt(_0x4d94bf(0xf1))/0xc);if(_0xc4859===_0x42d98c)break;else _0x2d926a['push'](_0x2d926a['shift']());}catch(_0x259128){_0x2d926a['push'](_0x2d926a['shift']());}}}(a33_0x17c7,0xf30ce));function a33_0x17c7(){const _0x402822=['forEach','join','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','exports','now','QCoDz','271930nmhLVq','333UrurKj','zOUCr','316317epSlKy','eAkbo','env','ooAFf','start_process','../../helpers/helper','test_settings','88djViOq','22MCVMGU','existsSync','gsSRW','CgARe','nightwatch','Deleting\x20','debug','host','WMuIC','../../helpers/logger','getPlatformName','cwd','737300rnkOhI','writeFileSync','10281924zGGbXI','splice','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','config','platform','JtbFV','KjLYJ','--env','length','YNpaL','jOUMu','map','port','modifyBrowserStackCaps','Dnche','1269776OuPriV','child_process','nightwatch-browserstack.json','trim','--config','ZIcPJ','SEzbo','isUndefined','split','jJAZf','inherit','desiredCapabilities','vXElZ','useW3C','test','winstonLogger','push','../../helpers/BrowserStackSetup','Getting\x20your\x20nightwatch\x20configs\x20from\x20','jalWQ','3sdLuxz','OKghe','findIndex','5dLTanv','child\x20process\x20exited\x20with\x20code\x20','selenium','9191760mSFDJF','1150037zuFLnG','kDcvu','mergeDeep','unlinkSync','nightwatch.conf.js'];a33_0x17c7=function(){return _0x402822;};return a33_0x17c7();}function a33_0x487c(_0x1360df,_0x3968ec){const _0x17c75c=a33_0x17c7();return a33_0x487c=function(_0x487c54,_0x3f82ad){_0x487c54=_0x487c54-0xe1;let _0xf7d374=_0x17c75c[_0x487c54];return _0xf7d374;},a33_0x487c(_0x1360df,_0x3968ec);}const fs=require('fs'),path=require('path'),{spawn}=require(a33_0xc47033(0x101)),logger=require(a33_0xc47033(0xec))[a33_0xc47033(0x10f)],{default:BrowserStackSetup}=require(a33_0xc47033(0x111)),helper=require(a33_0xc47033(0x12e)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x3644b3,_0x68fbde)=>{const _0x57f5ba=a33_0xc47033,_0x12659c={'SEzbo':_0x57f5ba(0x11f),'JochZ':'nightwatch.json','KjLYJ':function(_0x110e49,_0x4f57f5){return _0x110e49(_0x4f57f5);},'ZIcPJ':_0x57f5ba(0x122)};let _0x105055=null,_0x34b2b8={};const _0x5ea6dc=_0x68fbde['findIndex'](_0x3b86f1=>_0x3b86f1===_0x57f5ba(0x104));if(!helper[_0x57f5ba(0x107)](_0x3644b3[_0x57f5ba(0xf4)])&&fs[_0x57f5ba(0xe4)](path[_0x57f5ba(0x121)](process[_0x57f5ba(0xee)](),_0x3644b3[_0x57f5ba(0xf4)])))_0x105055=path[_0x57f5ba(0x121)](process[_0x57f5ba(0xee)](),_0x3644b3['config']),_0x68fbde[_0x57f5ba(0xf2)](_0x5ea6dc,0x2);else{if(fs['existsSync'](path['join'](process[_0x57f5ba(0xee)](),_0x12659c[_0x57f5ba(0x106)])))_0x105055=path[_0x57f5ba(0x121)](process[_0x57f5ba(0xee)](),_0x12659c['SEzbo']);else fs[_0x57f5ba(0xe4)](path[_0x57f5ba(0x121)](process['cwd'](),_0x12659c['JochZ']))&&(_0x105055=path['join'](process['cwd'](),_0x12659c['JochZ']));}return _0x105055?(logger['info'](_0x57f5ba(0x112)+_0x105055),_0x34b2b8=_0x12659c[_0x57f5ba(0xf7)](require,_0x105055)):logger['info'](_0x12659c[_0x57f5ba(0x105)]),_0x34b2b8;},removeExistingEnvs=_0xea5e93=>{const _0x3e43fd=a33_0xc47033,_0x4fa836={};_0x4fa836['QCoDz']=function(_0x410212,_0x578fd2){return _0x410212>_0x578fd2;},_0x4fa836[_0x3e43fd(0xff)]=function(_0x51cb9,_0x229fa0){return _0x51cb9>_0x229fa0;};const _0x5f547d=_0x4fa836;let _0x277875=_0xea5e93[_0x3e43fd(0x116)](_0xd4760=>_0xd4760===_0x3e43fd(0xf8));_0x5f547d[_0x3e43fd(0x125)](_0x277875,-0x1)&&_0xea5e93[_0x3e43fd(0xf2)](_0x277875,0x2),_0x277875=_0xea5e93[_0x3e43fd(0x116)](_0x33ebef=>_0x33ebef==='-e'),_0x5f547d[_0x3e43fd(0xff)](_0x277875,-0x1)&&_0xea5e93['splice'](_0x277875,0x2);};function run(_0x226176,_0x171bd8){const _0x1f6cb0=a33_0xc47033,_0x2fcd4b={'gsSRW':_0x1f6cb0(0xe7),'TZSXB':function(_0x25f9a3,_0x42e04e){return _0x25f9a3+_0x42e04e;},'vXElZ':'test_settings','ooAFf':function(_0x997c56,_0x43e350,_0x5b9670){return _0x997c56(_0x43e350,_0x5b9670);},'jalWQ':'hub.browserstack.com','jJAZf':_0x1f6cb0(0xf3),'kDcvu':function(_0x517aaf,_0x56c843){return _0x517aaf===_0x56c843;},'WMuIC':_0x1f6cb0(0x102),'zOUCr':function(_0x387896,_0x5ad7b1){return _0x387896(_0x5ad7b1);},'YNpaL':function(_0x4315c3,_0x11cdd7,_0x3f99f3,_0xa23f64){return _0x4315c3(_0x11cdd7,_0x3f99f3,_0xa23f64);},'jOUMu':'nightwatch.cmd','YzTxm':_0x1f6cb0(0x104),'eAkbo':_0x1f6cb0(0xf8),'JtbFV':_0x1f6cb0(0x10a),'babzM':'close'},_0x234ec8=new BrowserStackSetup(_0x226176);if(!_0x234ec8[_0x1f6cb0(0xf4)])return;const _0x178b04=_0x2fcd4b[_0x1f6cb0(0x12c)](getUserNightwatchConfigs,_0x226176,_0x171bd8),_0x493c1c={};_0x493c1c[_0x1f6cb0(0x12d)]=![];const _0x237684={};_0x237684[_0x1f6cb0(0xea)]=_0x2fcd4b[_0x1f6cb0(0x113)],_0x237684[_0x1f6cb0(0xfd)]=0x1bb;const _0x2db40b={};_0x2db40b['webdriver']=_0x493c1c,_0x2db40b[_0x1f6cb0(0x119)]=_0x237684;const _0x5df7ba=_0x2db40b;logger['info'](_0x2fcd4b[_0x1f6cb0(0x109)]);const _0x31c387={..._0x178b04},_0xbc6ff6=_0x31c387,_0x36d9c5=helper[_0x1f6cb0(0x10d)](_0x234ec8[_0x1f6cb0(0xf4)]),_0x4e3fac=[];_0x234ec8[_0x1f6cb0(0xf4)]['platforms'][_0x1f6cb0(0x120)]((_0x1aafa7,_0x4c2d8d)=>{const _0x33672d=_0x1f6cb0;_0x36d9c5?_0x4e3fac[_0x33672d(0x110)](helper['modifyBrowserStackW3CCaps'](_0x234ec8['config'],_0x2fcd4b[_0x33672d(0xe5)],_0x4c2d8d)):_0x4e3fac[_0x33672d(0x110)](helper[_0x33672d(0xfe)](_0x234ec8['config'],_0x2fcd4b[_0x33672d(0xe5)],_0x4c2d8d));});const _0x43584b={},_0x60655b=[];_0x226176['env']=_0x226176[_0x1f6cb0(0x12b)]||_0x226176['e'];const _0x40c85c=_0x226176[_0x1f6cb0(0x12b)]?_0x226176[_0x1f6cb0(0x12b)][_0x1f6cb0(0x103)]()[_0x1f6cb0(0x108)](',')[_0x1f6cb0(0xfc)](_0x267a09=>_0x267a09['trim']())['filter'](_0x10e258=>_0x10e258!==''):[''];_0x2fcd4b[_0x1f6cb0(0x11c)](_0x40c85c[_0x1f6cb0(0xf9)],0x0)&&_0x40c85c[_0x1f6cb0(0x110)]('');_0x40c85c[_0x1f6cb0(0x120)](_0x44ef99=>{const _0x5777d6=_0x1f6cb0,_0x129b3e={'OKghe':function(_0x4c3ce8,_0x3432fc){return _0x2fcd4b['TZSXB'](_0x4c3ce8,_0x3432fc);},'CgARe':_0x2fcd4b[_0x5777d6(0x10c)]};_0x4e3fac[_0x5777d6(0x120)](_0x50a23b=>{const _0x3bdba4=_0x5777d6;let _0x2f6e06=_0x129b3e[_0x3bdba4(0x115)](helper[_0x3bdba4(0xed)](_0x50a23b,'_'),'_'+Date[_0x3bdba4(0x124)]());_0x44ef99&&(_0x2f6e06+='_'+_0x44ef99);if(_0x44ef99&&(!_0x178b04[_0x129b3e[_0x3bdba4(0xe6)]]||!_0x178b04[_0x129b3e[_0x3bdba4(0xe6)]][_0x44ef99]))return;const _0x8d8282={..._0x5df7ba};_0x8d8282[_0x3bdba4(0x10b)]=_0x50a23b;const _0x5841ad=_0x8d8282;_0x43584b[_0x2f6e06]=_0x44ef99?helper[_0x3bdba4(0x11d)](_0x178b04[_0x129b3e[_0x3bdba4(0xe6)]][_0x44ef99],_0x5841ad):_0x5841ad,_0x60655b['push'](_0x2f6e06);});});!_0xbc6ff6['test_settings']&&(_0xbc6ff6['test_settings']={});_0xbc6ff6[_0x1f6cb0(0xe1)]={..._0xbc6ff6[_0x1f6cb0(0xe1)],..._0x43584b};const _0x25ac07=path[_0x1f6cb0(0x121)](__dirname,_0x2fcd4b[_0x1f6cb0(0xeb)]);fs[_0x1f6cb0(0xf0)](_0x25ac07,JSON['stringify'](_0xbc6ff6)),_0x2fcd4b[_0x1f6cb0(0x128)](removeExistingEnvs,_0x171bd8);const _0x11853b=_0x2fcd4b[_0x1f6cb0(0xfa)](spawn,/^win/[_0x1f6cb0(0x10e)](process[_0x1f6cb0(0xf5)])?_0x2fcd4b[_0x1f6cb0(0xfb)]:_0x2fcd4b[_0x1f6cb0(0xe5)],[_0x2fcd4b['YzTxm'],_0x25ac07,..._0x171bd8['slice'](0x1),_0x2fcd4b[_0x1f6cb0(0x12a)],_0x60655b[_0x1f6cb0(0x121)](',')],{'stdio':_0x2fcd4b[_0x1f6cb0(0xf6)]});_0x11853b['on'](_0x2fcd4b['babzM'],async _0x62aef8=>{const _0x54bee0=_0x1f6cb0;logger[_0x54bee0(0xe9)](_0x54bee0(0x118)+_0x62aef8),logger['info'](_0x54bee0(0xe8)+_0x25ac07),fs[_0x54bee0(0x11e)](_0x25ac07);});}module[a33_0xc47033(0x123)]=run;
2
+ 'use strict';const a33_0x1259e6=a33_0x1c2f;(function(_0x54bb5f,_0x2d5ba6){const _0x42d2f1=a33_0x1c2f,_0xb73272=_0x54bb5f();while(!![]){try{const _0x577110=-parseInt(_0x42d2f1(0x1aa))/0x1+-parseInt(_0x42d2f1(0x175))/0x2+-parseInt(_0x42d2f1(0x1c0))/0x3*(parseInt(_0x42d2f1(0x185))/0x4)+-parseInt(_0x42d2f1(0x198))/0x5*(-parseInt(_0x42d2f1(0x176))/0x6)+-parseInt(_0x42d2f1(0x19a))/0x7+parseInt(_0x42d2f1(0x1ba))/0x8+parseInt(_0x42d2f1(0x1a0))/0x9*(parseInt(_0x42d2f1(0x19b))/0xa);if(_0x577110===_0x2d5ba6)break;else _0xb73272['push'](_0xb73272['shift']());}catch(_0x36a578){_0xb73272['push'](_0xb73272['shift']());}}}(a33_0x15bc,0x97f0a));const fs=require('fs'),path=require(a33_0x1259e6(0x1a2)),{spawn}=require(a33_0x1259e6(0x18e)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a33_0x1259e6(0x17e)),helper=require(a33_0x1259e6(0x1a9)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x452b5a,_0x22c9be)=>{const _0x33c621=a33_0x1259e6,_0x4db398={'XLWqX':_0x33c621(0x180),'LyZQY':_0x33c621(0x1b6),'OvOEx':function(_0x366beb,_0x48b8bd){return _0x366beb(_0x48b8bd);},'CjcrR':_0x33c621(0x190)};let _0x164f86=null,_0x1a43f1={};const _0x35f6ea=_0x22c9be['findIndex'](_0x47160b=>_0x47160b===_0x33c621(0x17c));if(!helper[_0x33c621(0x1a7)](_0x452b5a['config'])&&fs[_0x33c621(0x195)](path[_0x33c621(0x19f)](process[_0x33c621(0x19e)](),_0x452b5a[_0x33c621(0x199)])))_0x164f86=path[_0x33c621(0x19f)](process[_0x33c621(0x19e)](),_0x452b5a[_0x33c621(0x199)]),_0x22c9be['splice'](_0x35f6ea,0x2);else{if(fs[_0x33c621(0x195)](path[_0x33c621(0x19f)](process['cwd'](),_0x4db398['XLWqX'])))_0x164f86=path[_0x33c621(0x19f)](process[_0x33c621(0x19e)](),_0x4db398[_0x33c621(0x172)]);else fs[_0x33c621(0x195)](path[_0x33c621(0x19f)](process[_0x33c621(0x19e)](),_0x4db398[_0x33c621(0x17b)]))&&(_0x164f86=path[_0x33c621(0x19f)](process[_0x33c621(0x19e)](),_0x4db398[_0x33c621(0x17b)]));}return _0x164f86?(logger[_0x33c621(0x1bb)](_0x33c621(0x1b2)+_0x164f86),_0x1a43f1=_0x4db398[_0x33c621(0x194)](require,_0x164f86)):logger[_0x33c621(0x1bb)](_0x4db398[_0x33c621(0x174)]),_0x1a43f1;},removeExistingEnvs=_0x30e528=>{const _0x1b8366=a33_0x1259e6,_0x23d01d={};_0x23d01d[_0x1b8366(0x18a)]=function(_0x3a303e,_0x953bb){return _0x3a303e>_0x953bb;},_0x23d01d['dqQEI']=function(_0x56a400,_0x42fb33){return _0x56a400>_0x42fb33;};const _0x1cd627=_0x23d01d;let _0x1e3af5=_0x30e528[_0x1b8366(0x1b0)](_0x1cde31=>_0x1cde31===_0x1b8366(0x192));_0x1cd627[_0x1b8366(0x18a)](_0x1e3af5,-0x1)&&_0x30e528['splice'](_0x1e3af5,0x2),_0x1e3af5=_0x30e528[_0x1b8366(0x1b0)](_0x1cfd11=>_0x1cfd11==='-e'),_0x1cd627['dqQEI'](_0x1e3af5,-0x1)&&_0x30e528[_0x1b8366(0x1b3)](_0x1e3af5,0x2);};function a33_0x1c2f(_0x4a03ab,_0x4d2da0){const _0x15bc26=a33_0x15bc();return a33_0x1c2f=function(_0x1c2f55,_0x3f7d93){_0x1c2f55=_0x1c2f55-0x171;let _0x4d3ed8=_0x15bc26[_0x1c2f55];return _0x4d3ed8;},a33_0x1c2f(_0x4a03ab,_0x4d2da0);}function a33_0x15bc(){const _0x48e031=['qVXma','../../helpers/helper','525247czdPNh','slice','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','YnJjh','nightwatch.cmd','close','findIndex','LGGbR','Getting\x20your\x20nightwatch\x20configs\x20from\x20','splice','split','hub.browserstack.com','nightwatch.json','host','length','nightwatch','3245824xkWafO','info','platforms','desiredCapabilities','JHuSN','stringify','1970169uIBQFS','mergeDeep','XLWqX','unlinkSync','CjcrR','1898344VzSdhH','6bllYLP','inherit','writeFileSync','forEach','modifyBrowserStackW3CCaps','LyZQY','--config','MPnCE','../../helpers/BrowserStackSetup','aMrht','nightwatch.conf.js','useW3C','hqMKH','kddvX','port','4qVlUwh','eZtFA','Atcld','debug','Deleting\x20','lQeeR','webdriver','test','BpchH','child_process','child\x20process\x20exited\x20with\x20code\x20','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','filter','--env','map','OvOEx','existsSync','selenium','start_process','2179130nxILTD','config','437276NeFyhL','365630vROQkd','trim','exports','cwd','join','486byWuAP','env','path','push','zkaqg','test_settings','now','isUndefined'];a33_0x15bc=function(){return _0x48e031;};return a33_0x15bc();}function run(_0x91e3f7,_0x37b0f9){const _0xe35f86=a33_0x1259e6,_0x3b64d6={'Atcld':_0xe35f86(0x1b9),'apORd':function(_0x21f6bd,_0x5d16b0){return _0x21f6bd+_0x5d16b0;},'eZtFA':'test_settings','hqMKH':function(_0x49bbf1,_0x581349,_0x41f408){return _0x49bbf1(_0x581349,_0x41f408);},'MPnCE':_0xe35f86(0x1b5),'txIaY':_0xe35f86(0x1ac),'qVXma':function(_0x39f6dc,_0x110a1c){return _0x39f6dc===_0x110a1c;},'KgvWr':'nightwatch-browserstack.json','JHuSN':function(_0x5f4213,_0x97de6d){return _0x5f4213(_0x97de6d);},'kddvX':function(_0x41e99a,_0x2a628c,_0xb041ad,_0x4fd960){return _0x41e99a(_0x2a628c,_0xb041ad,_0x4fd960);},'zkaqg':_0xe35f86(0x1ae),'OUbnK':'--config','YnJjh':_0xe35f86(0x192),'BpchH':_0xe35f86(0x177),'mWeot':_0xe35f86(0x1af)},_0x1a95a3=new BrowserStackSetup(_0x91e3f7);if(!_0x1a95a3['config'])return;const _0x46d49a=_0x3b64d6[_0xe35f86(0x182)](getUserNightwatchConfigs,_0x91e3f7,_0x37b0f9),_0x1e0c14={};_0x1e0c14[_0xe35f86(0x197)]=![];const _0x2b2a32={};_0x2b2a32[_0xe35f86(0x1b7)]=_0x3b64d6[_0xe35f86(0x17d)],_0x2b2a32[_0xe35f86(0x184)]=0x1bb;const _0x3c79de={};_0x3c79de[_0xe35f86(0x18b)]=_0x1e0c14,_0x3c79de[_0xe35f86(0x196)]=_0x2b2a32;const _0x40957c=_0x3c79de;logger[_0xe35f86(0x1bb)](_0x3b64d6['txIaY']);const _0x533a93={..._0x46d49a},_0x3ba4e1=_0x533a93,_0x181a93=helper[_0xe35f86(0x181)](_0x1a95a3[_0xe35f86(0x199)]),_0x2ba66e=[];_0x1a95a3['config'][_0xe35f86(0x1bc)][_0xe35f86(0x179)]((_0x3340f0,_0x2e6ce5)=>{const _0x1f6cbd=_0xe35f86;_0x181a93?_0x2ba66e[_0x1f6cbd(0x1a3)](helper[_0x1f6cbd(0x17a)](_0x1a95a3[_0x1f6cbd(0x199)],_0x3b64d6['Atcld'],_0x2e6ce5)):_0x2ba66e[_0x1f6cbd(0x1a3)](helper['modifyBrowserStackCaps'](_0x1a95a3['config'],_0x3b64d6[_0x1f6cbd(0x187)],_0x2e6ce5));});const _0x12f8b5={},_0xb5221d=[];_0x91e3f7['env']=_0x91e3f7[_0xe35f86(0x1a1)]||_0x91e3f7['e'];const _0x18ef16=_0x91e3f7[_0xe35f86(0x1a1)]?_0x91e3f7['env'][_0xe35f86(0x19c)]()[_0xe35f86(0x1b4)](',')[_0xe35f86(0x193)](_0x163c57=>_0x163c57[_0xe35f86(0x19c)]())[_0xe35f86(0x191)](_0x4bfaff=>_0x4bfaff!==''):[''];_0x3b64d6[_0xe35f86(0x1a8)](_0x18ef16[_0xe35f86(0x1b8)],0x0)&&_0x18ef16[_0xe35f86(0x1a3)]('');_0x18ef16[_0xe35f86(0x179)](_0x41583a=>{const _0x43a070=_0xe35f86,_0x39eefd={'aMrht':function(_0x22f209,_0x189a5a){return _0x3b64d6['apORd'](_0x22f209,_0x189a5a);},'LGGbR':_0x3b64d6[_0x43a070(0x186)]};_0x2ba66e[_0x43a070(0x179)](_0x1fc176=>{const _0x1dbc63=_0x43a070;let _0x3aba24=_0x39eefd[_0x1dbc63(0x17f)](helper['getPlatformName'](_0x1fc176,'_'),'_'+Date[_0x1dbc63(0x1a6)]());_0x41583a&&(_0x3aba24+='_'+_0x41583a);if(_0x41583a&&(!_0x46d49a[_0x39eefd['LGGbR']]||!_0x46d49a[_0x39eefd[_0x1dbc63(0x1b1)]][_0x41583a]))return;const _0x4fcbc9={..._0x40957c};_0x4fcbc9[_0x1dbc63(0x1bd)]=_0x1fc176;const _0x1150b8=_0x4fcbc9;_0x12f8b5[_0x3aba24]=_0x41583a?helper[_0x1dbc63(0x171)](_0x46d49a[_0x39eefd[_0x1dbc63(0x1b1)]][_0x41583a],_0x1150b8):_0x1150b8,_0xb5221d[_0x1dbc63(0x1a3)](_0x3aba24);});});!_0x3ba4e1[_0xe35f86(0x1a5)]&&(_0x3ba4e1[_0xe35f86(0x1a5)]={});_0x3ba4e1['test_settings']={..._0x3ba4e1[_0xe35f86(0x1a5)],..._0x12f8b5};const _0x27d937=path[_0xe35f86(0x19f)](__dirname,_0x3b64d6['KgvWr']);fs[_0xe35f86(0x178)](_0x27d937,JSON[_0xe35f86(0x1bf)](_0x3ba4e1)),_0x3b64d6[_0xe35f86(0x1be)](removeExistingEnvs,_0x37b0f9);const _0x50de40=_0x3b64d6[_0xe35f86(0x183)](spawn,/^win/[_0xe35f86(0x18c)](process['platform'])?_0x3b64d6[_0xe35f86(0x1a4)]:_0x3b64d6[_0xe35f86(0x187)],[_0x3b64d6['OUbnK'],_0x27d937,..._0x37b0f9[_0xe35f86(0x1ab)](0x1),_0x3b64d6[_0xe35f86(0x1ad)],_0xb5221d[_0xe35f86(0x19f)](',')],{'stdio':_0x3b64d6[_0xe35f86(0x18d)]});_0x50de40['on'](_0x3b64d6['mWeot'],async _0x2e6256=>{const _0x2d214d=_0xe35f86;logger[_0x2d214d(0x188)](_0x2d214d(0x18f)+_0x2e6256),logger[_0x2d214d(0x1bb)](_0x2d214d(0x189)+_0x27d937),fs[_0x2d214d(0x173)](_0x27d937);});}module[a33_0x1259e6(0x19d)]=run;
@@ -1 +1 @@
1
- const a34_0x2b9bad=a34_0x7c1f;(function(_0x551a85,_0x41c988){const _0x52ffbf=a34_0x7c1f,_0x20b001=_0x551a85();while(!![]){try{const _0x1d453e=-parseInt(_0x52ffbf(0x148))/0x1+-parseInt(_0x52ffbf(0x14c))/0x2+-parseInt(_0x52ffbf(0x185))/0x3*(parseInt(_0x52ffbf(0x158))/0x4)+parseInt(_0x52ffbf(0x151))/0x5+-parseInt(_0x52ffbf(0x194))/0x6+-parseInt(_0x52ffbf(0x191))/0x7+parseInt(_0x52ffbf(0x181))/0x8;if(_0x1d453e===_0x41c988)break;else _0x20b001['push'](_0x20b001['shift']());}catch(_0x51fb04){_0x20b001['push'](_0x20b001['shift']());}}}(a34_0x4bd6,0x9a84a));function a34_0x7c1f(_0x152535,_0x174a3e){const _0x4bd634=a34_0x4bd6();return a34_0x7c1f=function(_0x7c1f52,_0x5e9782){_0x7c1f52=_0x7c1f52-0x129;let _0xec5fa6=_0x4bd634[_0x7c1f52];return _0xec5fa6;},a34_0x7c1f(_0x152535,_0x174a3e);}function a34_0x4bd6(){const _0x1639ba=['format','rQsbf','getAccessibilityResultsSummary','mqMMY','1036562VKNmZz','winstonLogger','wcagVersion','ucCJa','1960828JkwJSL','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','NJptl','browserStackEvaluate','IVTMh','6015565KAZzkh','PERFORM_SCAN','name','../../helpers/performance/constants','rUDGm','accessibilityOptions.authToken','USSgf','56RfeIPG','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','parse','lRTwj','accessibilityOptions.includeIssueType.bestPractice','XAyxJ','warn','replace','iobqv','../../helpers/performance/performance-tester','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','DxsDn','mjsMT','constructor','debug','Knqro','jAQAI','env','browserstack.accessibility','browserStackExecuteDriver','No\x20accessibility\x20results\x20were\x20found.','connectOptions','LOBsW','zyDSp','util','Playwright','evaluate','includeIssueType','project','cdRKV','xkFYv','XWFVB','accessibilityOptions.includeIssueType.needsReview','currentTest','getAccessibilityResults','../../helpers/helper','HwMDB','stringify','latest','platformValidation','AKBpD','30079936hOqcGx','browser','bstackSdkArgs','processAccessibilityCaps','232665brfOqx','PCfIf','hufgW','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','(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','LFIBP','performScan','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','gboZX','No\x20summaryResults\x20found.','bestPractice','Taizq','1734180ILNtzT','setAccessibilityCapabilities','PkMVn','5878278zOQAoA','executeScript','wsEndpoint','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','tYUTv','mddnr','deviceName','playwright-chromium','measureWrapper','sYHpd','browser_version','QonWw','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','WebDriver','accessibilityOptions','mfmXX','Mbqdt','(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','kAIEy','../../helpers/accessibility-automation/scripts','accessibilityPlatform','accessibilityOptions.scannerProcessingTimeout','JxXbg','scannerProcessingTimeout','use','browserName','kVWoO','../../helpers/accessibility-automation/helper'];a34_0x4bd6=function(){return _0x1639ba;};return a34_0x4bd6();}const util=require(a34_0x2b9bad(0x170)),logger=require('../../helpers/logger')[a34_0x2b9bad(0x149)],{isAccessibilityAutomationSession}=require(a34_0x2b9bad(0x143)),{isUndefined}=require(a34_0x2b9bad(0x17b)),scripts=require(a34_0x2b9bad(0x13b)),PerformanceTester=require(a34_0x2b9bad(0x161)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x2b9bad(0x154));exports[a34_0x2b9bad(0x14f)]=async(_0x179315,_0x2a19bf,_0x1b29d2={})=>{const _0x37e73e=a34_0x2b9bad,_0x10849d={};_0x10849d[_0x37e73e(0x17c)]=_0x37e73e(0x183);const _0x988c1=_0x10849d;return await _0x179315[_0x37e73e(0x172)](_0x37e73e(0x189)+_0x2a19bf[_0x37e73e(0x15f)](/arguments/g,_0x988c1[_0x37e73e(0x17c)])+_0x37e73e(0x162)+JSON[_0x37e73e(0x17d)](_0x1b29d2)+')');},exports[a34_0x2b9bad(0x16b)]=async(_0x359f91,_0xf0c1fb,_0x35e000={})=>{const _0x7a5d62=a34_0x2b9bad,_0x227834={};_0x227834[_0x7a5d62(0x18d)]=function(_0x8c05d6,_0x49ce3b){return _0x8c05d6===_0x49ce3b;},_0x227834[_0x7a5d62(0x187)]=_0x7a5d62(0x135),_0x227834[_0x7a5d62(0x176)]=function(_0x226ca8,_0x514903){return _0x226ca8===_0x514903;},_0x227834[_0x7a5d62(0x190)]=_0x7a5d62(0x171),_0x227834[_0x7a5d62(0x138)]=_0x7a5d62(0x183);const _0x2ac5e7=_0x227834;if(_0x2ac5e7[_0x7a5d62(0x18d)](_0x359f91[_0x7a5d62(0x165)][_0x7a5d62(0x153)],_0x2ac5e7[_0x7a5d62(0x187)]))return await _0x359f91['executeAsyncScript'](_0xf0c1fb,_0x35e000);else{if(_0x2ac5e7[_0x7a5d62(0x176)](_0x359f91[_0x7a5d62(0x165)][_0x7a5d62(0x153)],_0x2ac5e7[_0x7a5d62(0x190)]))return await _0x359f91[_0x7a5d62(0x129)](_0x7a5d62(0x139)+_0xf0c1fb[_0x7a5d62(0x15f)](/arguments/g,_0x2ac5e7[_0x7a5d62(0x138)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x7a5d62(0x17d)](_0x35e000)+')');}},exports[a34_0x2b9bad(0x192)]=async _0x213411=>{const _0x17681f=a34_0x2b9bad,_0x59387f={};_0x59387f[_0x17681f(0x186)]='accessibilityOptions.wcagVersion',_0x59387f[_0x17681f(0x175)]=_0x17681f(0x13d),_0x59387f[_0x17681f(0x142)]=_0x17681f(0x15c),_0x59387f[_0x17681f(0x150)]=_0x17681f(0x178),_0x59387f[_0x17681f(0x16f)]=_0x17681f(0x156),_0x59387f[_0x17681f(0x12d)]='accessibilityOptions.scannerVersion';const _0x269e44=_0x59387f;_0x213411[_0x17681f(0x136)]&&(_0x213411['accessibilityOptions']['wcagVersion']&&(_0x213411[_0x269e44[_0x17681f(0x186)]]=_0x213411[_0x17681f(0x136)][_0x17681f(0x14a)]),_0x213411['accessibilityOptions']['scannerProcessingTimeout']&&(_0x213411[_0x269e44[_0x17681f(0x175)]]=_0x213411['accessibilityOptions'][_0x17681f(0x13f)]),_0x213411[_0x17681f(0x136)]['includeIssueType']&&(_0x213411[_0x269e44[_0x17681f(0x142)]]=_0x213411['accessibilityOptions'][_0x17681f(0x173)][_0x17681f(0x18f)],_0x213411[_0x269e44[_0x17681f(0x150)]]=_0x213411[_0x17681f(0x136)]['includeIssueType']['needsReview']));const _0x7732c5=JSON[_0x17681f(0x15a)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])['scannerVersion'];_0x213411[_0x269e44['zyDSp']]=process[_0x17681f(0x169)]['BS_A11Y_JWT'],_0x213411[_0x269e44[_0x17681f(0x12d)]]=_0x7732c5,delete _0x213411['accessibilityOptions'];},exports[a34_0x2b9bad(0x17a)]=async _0x223593=>{const _0x18f722=a34_0x2b9bad,_0x210458={};_0x210458[_0x18f722(0x16e)]=_0x18f722(0x16c),_0x210458[_0x18f722(0x155)]=_0x18f722(0x18c);const _0x369bda=_0x210458;if(global[_0x18f722(0x13c)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x223593,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x223593,scripts.getResults);})();return res;}catch{return logger['error'](_0x369bda['LOBsW']),[];}else return logger['warn'](_0x369bda[_0x18f722(0x155)]),[];},exports['performScan']=async(_0x5c33d0,_0x3a2fad='')=>{const _0x26969=a34_0x2b9bad;if(global[_0x26969(0x13c)])return await PerformanceTester[_0x26969(0x130)](PerformanceA11yEvents[_0x26969(0x152)],async()=>{const _0x371098=_0x26969,_0x334aad={};_0x334aad['command']=_0x3a2fad,await exports[_0x371098(0x14f)](_0x5c33d0,scripts[_0x371098(0x18b)],_0x334aad);},{'command':_0x3a2fad})();},exports[a34_0x2b9bad(0x146)]=async _0x1625d8=>{const _0x266468=a34_0x2b9bad,_0x19eb32={};_0x19eb32[_0x266468(0x167)]=_0x266468(0x18e),_0x19eb32[_0x266468(0x14b)]=_0x266468(0x12b);const _0x4d24b4=_0x19eb32;if(global[_0x266468(0x13c)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1625d8,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x1625d8,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x266468(0x166)](_0x4d24b4['Knqro']),{};}else return logger[_0x266468(0x15e)](_0x4d24b4['ucCJa']),{};},exports[a34_0x2b9bad(0x17f)]=async _0x2fe029=>{const _0x2ae63b=a34_0x2b9bad,_0x4c9362={'iobqv':function(_0x55df10,_0x105f55){return _0x55df10!==_0x105f55;},'JxXbg':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','lRTwj':function(_0x1c5c84,_0x3e7843){return _0x1c5c84===_0x3e7843;},'jAQAI':'chrome','QonWw':_0x2ae63b(0x12f),'tYUTv':_0x2ae63b(0x159),'AKBpD':function(_0x494fe2,_0x4b1f77){return _0x494fe2(_0x4b1f77);},'NJptl':function(_0x3c3618,_0x486d84){return _0x3c3618===_0x486d84;},'CKDbv':_0x2ae63b(0x17e),'sYHpd':function(_0x447e94,_0x55833b){return _0x447e94>_0x55833b;},'mqMMY':_0x2ae63b(0x14d)};try{if(!_0x4c9362[_0x2ae63b(0x160)](_0x2fe029[_0x2ae63b(0x12e)],''))return logger['warn'](_0x4c9362[_0x2ae63b(0x13e)]),![];const _0x373d0b=_0x2fe029[_0x2ae63b(0x182)];if(!(_0x4c9362[_0x2ae63b(0x15b)](_0x373d0b,_0x4c9362[_0x2ae63b(0x168)])||_0x4c9362[_0x2ae63b(0x15b)](_0x373d0b,_0x4c9362[_0x2ae63b(0x133)])))return logger['warn'](_0x4c9362[_0x2ae63b(0x12c)]),![];const _0x12af82=_0x4c9362[_0x2ae63b(0x180)](parseInt,_0x2fe029[_0x2ae63b(0x132)]);if(!(_0x4c9362[_0x2ae63b(0x14e)](_0x12af82,_0x4c9362['CKDbv'])||_0x4c9362[_0x2ae63b(0x131)](_0x12af82,0x5e)))return logger[_0x2ae63b(0x15e)](_0x4c9362[_0x2ae63b(0x147)]),![];}catch(_0x21fc1a){logger[_0x2ae63b(0x166)](_0x2ae63b(0x188)+util['format'](_0x21fc1a));}return!![];},exports[a34_0x2b9bad(0x184)]=(_0x584449,_0x38a0c1,_0x3b1d8c)=>{const _0x5e7d5d=a34_0x2b9bad,_0x5646dc={'mfmXX':function(_0x501fd4){return _0x501fd4();},'XAyxJ':_0x5e7d5d(0x16a),'dPaqH':function(_0x3eaa07,_0x222980){return _0x3eaa07===_0x222980;},'rQsbf':'chrome','LFIBP':function(_0x4222cf,_0x4ac7a8){return _0x4222cf===_0x4ac7a8;},'XWFVB':_0x5e7d5d(0x12f),'USSgf':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','PkMVn':_0x5e7d5d(0x17e),'DxsDn':function(_0x56f340,_0x4ba3b7){return _0x56f340>_0x4ba3b7;},'TDCeG':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','mjsMT':function(_0x154800,_0x5c77d6){return _0x154800(_0x5c77d6);},'gYYiT':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','kAIEy':function(_0x193559,_0x56d882){return _0x193559+_0x56d882;}};try{if(_0x5646dc[_0x5e7d5d(0x137)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x584449[_0x5646dc[_0x5e7d5d(0x15d)]]&&(global[_0x5e7d5d(0x13c)]=![]);!(_0x5646dc['dPaqH'](_0x584449[_0x5e7d5d(0x141)],_0x5646dc[_0x5e7d5d(0x145)])||_0x5646dc[_0x5e7d5d(0x18a)](_0x584449[_0x5e7d5d(0x141)],_0x5646dc[_0x5e7d5d(0x177)]))&&(logger[_0x5e7d5d(0x15e)](_0x5646dc[_0x5e7d5d(0x157)]),global[_0x5e7d5d(0x13c)]=![]);!(_0x5646dc[_0x5e7d5d(0x18a)](_0x584449[_0x5e7d5d(0x132)],_0x5646dc[_0x5e7d5d(0x193)])||_0x5646dc[_0x5e7d5d(0x163)](_0x584449[_0x5e7d5d(0x132)],0x5e))&&(logger[_0x5e7d5d(0x15e)](_0x5646dc['TDCeG']),global[_0x5e7d5d(0x13c)]=![]);!_0x5646dc[_0x5e7d5d(0x164)](isUndefined,_0x584449[_0x5e7d5d(0x12e)])&&(logger[_0x5e7d5d(0x15e)](_0x5646dc['gYYiT']),global[_0x5e7d5d(0x13c)]=![]);if(!global['accessibilityPlatform']){_0x584449[_0x5646dc[_0x5e7d5d(0x15d)]]=![];const _0x3088ae=_0x5646dc[_0x5e7d5d(0x13a)](_0x38a0c1,_0x5646dc[_0x5e7d5d(0x164)](encodeURIComponent,JSON[_0x5e7d5d(0x17d)](_0x584449)));_0x3b1d8c&&(_0x3b1d8c[_0x5e7d5d(0x179)]['testInfo'][_0x5e7d5d(0x174)][_0x5e7d5d(0x140)][_0x5e7d5d(0x16d)][_0x5e7d5d(0x12a)]=_0x3088ae,_0x3b1d8c['workerInfo'][_0x5e7d5d(0x174)]['use'][_0x5e7d5d(0x16d)][_0x5e7d5d(0x12a)]=_0x3088ae);}}}catch(_0x50c7d2){logger[_0x5e7d5d(0x166)](_0x5e7d5d(0x134)+util[_0x5e7d5d(0x144)](_0x50c7d2));}};
1
+ function a34_0x51c5(){const _0x15103d=['BJPFv','executeScript','bestPractice','parse','getAccessibilityResultsSummary','includeIssueType','VVQAD','use','browser_version','UWFLI','deviceName','660789FMErrO','VVrat','mcbdX','browserName','trqac','WebDriver','PERFORM_SCAN','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','OLbak','CqVpf','pVEyc','playwright-chromium','stringify','anuWH','testInfo','bstackSdkArgs','processAccessibilityCaps','scannerVersion','ehnEh','yLISV','1326563ukbdyy','258197SjKbOH','chrome','WxMZx','connectOptions','BlFgv','PTdsI','evaluate','browser','accessibilityOptions.includeIssueType.needsReview','measureWrapper','../../helpers/performance/constants','accessibilityOptions','accessibilityOptions.wcagVersion','name','BS_A11Y_JWT','../../helpers/logger','No\x20summaryResults\x20found.','ONxoe','rAGwc','MTeLo','No\x20accessibility\x20results\x20were\x20found.','FPixX','format','VhwDA','341888tXDAaA','WzbVx','512298xokMFH','wsEndpoint','getAccessibilityResults','../../helpers/performance/performance-tester','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','../../helpers/accessibility-automation/helper','AKybw','debug','accessibilityPlatform','../../helpers/helper','TnkNj','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','LHfmR','workerInfo','Playwright','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','1561525JXVQCx','env','(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','UUqsw','project','OmxkS','warn','browserStackEvaluate','iJOpb','dHuPz','IzFTD','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','XhStL','wcagVersion','38552YzMyIx','command','replace','util','browserstack.accessibility','OVspG','16mBiWxo','latest','browserStackExecuteDriver','rTPJN','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','currentTest','scannerProcessingTimeout','OPKpc','accessibilityOptions.scannerVersion','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','constructor','accessibilityOptions.includeIssueType.bestPractice','setAccessibilityCapabilities'];a34_0x51c5=function(){return _0x15103d;};return a34_0x51c5();}function a34_0x2a75(_0x4caeb3,_0x4a6dce){const _0x51c562=a34_0x51c5();return a34_0x2a75=function(_0x2a755a,_0x58f534){_0x2a755a=_0x2a755a-0x119;let _0x5759cd=_0x51c562[_0x2a755a];return _0x5759cd;},a34_0x2a75(_0x4caeb3,_0x4a6dce);}const a34_0x32afa0=a34_0x2a75;(function(_0xc9cb11,_0x16595c){const _0x4fd390=a34_0x2a75,_0x3fba20=_0xc9cb11();while(!![]){try{const _0x7bc8b9=parseInt(_0x4fd390(0x17c))/0x1+parseInt(_0x4fd390(0x149))/0x2+-parseInt(_0x4fd390(0x167))/0x3+parseInt(_0x4fd390(0x129))/0x4+parseInt(_0x4fd390(0x13b))/0x5+parseInt(_0x4fd390(0x12b))/0x6+parseInt(_0x4fd390(0x17b))/0x7*(-parseInt(_0x4fd390(0x14f))/0x8);if(_0x7bc8b9===_0x16595c)break;else _0x3fba20['push'](_0x3fba20['shift']());}catch(_0x5c39af){_0x3fba20['push'](_0x3fba20['shift']());}}}(a34_0x51c5,0x27648));const util=require(a34_0x32afa0(0x14c)),logger=require(a34_0x32afa0(0x120))['winstonLogger'],{isAccessibilityAutomationSession}=require(a34_0x32afa0(0x130)),{isUndefined}=require(a34_0x32afa0(0x134)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a34_0x32afa0(0x12e)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x32afa0(0x11b));exports[a34_0x32afa0(0x142)]=async(_0x6bec5a,_0x35510d,_0x124a06={})=>{const _0x3c1f56=a34_0x32afa0,_0x59a5a8={};_0x59a5a8[_0x3c1f56(0x152)]=_0x3c1f56(0x176);const _0x5bd050=_0x59a5a8;return await _0x6bec5a[_0x3c1f56(0x182)]('(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'+_0x35510d[_0x3c1f56(0x14b)](/arguments/g,_0x5bd050['rTPJN'])+_0x3c1f56(0x158)+JSON['stringify'](_0x124a06)+')');},exports[a34_0x32afa0(0x151)]=async(_0x3e9edf,_0x2da158,_0x53dee7={})=>{const _0x35830f=a34_0x32afa0,_0x13b902={};_0x13b902[_0x35830f(0x13e)]=function(_0x2eb6db,_0x4e04b6){return _0x2eb6db===_0x4e04b6;},_0x13b902[_0x35830f(0x180)]=_0x35830f(0x16c),_0x13b902[_0x35830f(0x143)]=_0x35830f(0x139),_0x13b902[_0x35830f(0x17a)]='bstackSdkArgs';const _0x29fc87=_0x13b902;if(_0x29fc87[_0x35830f(0x13e)](_0x3e9edf[_0x35830f(0x159)][_0x35830f(0x11e)],_0x29fc87[_0x35830f(0x180)]))return await _0x3e9edf['executeAsyncScript'](_0x2da158,_0x53dee7);else{if(_0x29fc87[_0x35830f(0x13e)](_0x3e9edf[_0x35830f(0x159)][_0x35830f(0x11e)],_0x29fc87[_0x35830f(0x143)]))return await _0x3e9edf[_0x35830f(0x15d)](_0x35830f(0x13d)+_0x2da158['replace'](/arguments/g,_0x29fc87['yLISV'])+_0x35830f(0x136)+JSON[_0x35830f(0x173)](_0x53dee7)+')');}},exports[a34_0x32afa0(0x15b)]=async _0x371eaf=>{const _0x1a9bee=a34_0x32afa0,_0x40663b={};_0x40663b['VVQAD']=_0x1a9bee(0x11d),_0x40663b[_0x1a9bee(0x122)]='accessibilityOptions.scannerProcessingTimeout',_0x40663b[_0x1a9bee(0x170)]=_0x1a9bee(0x15a),_0x40663b[_0x1a9bee(0x124)]=_0x1a9bee(0x119),_0x40663b['mcbdX']='accessibilityOptions.authToken',_0x40663b[_0x1a9bee(0x181)]=_0x1a9bee(0x157);const _0x5e6605=_0x40663b;_0x371eaf[_0x1a9bee(0x11c)]&&(_0x371eaf[_0x1a9bee(0x11c)][_0x1a9bee(0x148)]&&(_0x371eaf[_0x5e6605[_0x1a9bee(0x162)]]=_0x371eaf[_0x1a9bee(0x11c)][_0x1a9bee(0x148)]),_0x371eaf[_0x1a9bee(0x11c)][_0x1a9bee(0x155)]&&(_0x371eaf[_0x5e6605['ONxoe']]=_0x371eaf[_0x1a9bee(0x11c)]['scannerProcessingTimeout']),_0x371eaf['accessibilityOptions']['includeIssueType']&&(_0x371eaf[_0x5e6605[_0x1a9bee(0x170)]]=_0x371eaf['accessibilityOptions'][_0x1a9bee(0x161)][_0x1a9bee(0x15e)],_0x371eaf[_0x5e6605[_0x1a9bee(0x124)]]=_0x371eaf[_0x1a9bee(0x11c)]['includeIssueType']['needsReview']));const _0x22e15b=JSON[_0x1a9bee(0x15f)](process[_0x1a9bee(0x13c)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x1a9bee(0x178)];_0x371eaf[_0x5e6605[_0x1a9bee(0x169)]]=process[_0x1a9bee(0x13c)][_0x1a9bee(0x11f)],_0x371eaf[_0x5e6605[_0x1a9bee(0x181)]]=_0x22e15b,delete _0x371eaf['accessibilityOptions'];},exports[a34_0x32afa0(0x12d)]=async _0x5530b1=>{const _0x389ff4=a34_0x32afa0,_0x8f3b03={};_0x8f3b03[_0x389ff4(0x144)]=_0x389ff4(0x125),_0x8f3b03[_0x389ff4(0x137)]=_0x389ff4(0x146);const _0x1a5b1c=_0x8f3b03;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x5530b1,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x5530b1,scripts.getResults);})();return res;}catch{return logger['error'](_0x1a5b1c[_0x389ff4(0x144)]),[];}else return logger[_0x389ff4(0x141)](_0x1a5b1c['LHfmR']),[];},exports['performScan']=async(_0x24c0a8,_0x1297d8='')=>{const _0x532521=a34_0x32afa0;if(global['accessibilityPlatform'])return await PerformanceTester[_0x532521(0x11a)](PerformanceA11yEvents[_0x532521(0x16d)],async()=>{const _0x513265=_0x532521,_0x166a3e={};_0x166a3e[_0x513265(0x14a)]=_0x1297d8,await exports['browserStackEvaluate'](_0x24c0a8,scripts['performScan'],_0x166a3e);},{'command':_0x1297d8})();},exports[a34_0x32afa0(0x160)]=async _0x1e1617=>{const _0x5849a4=a34_0x32afa0,_0x42ab44={};_0x42ab44['WxMZx']=_0x5849a4(0x121),_0x42ab44[_0x5849a4(0x126)]=_0x5849a4(0x13a);const _0x832678=_0x42ab44;if(global[_0x5849a4(0x133)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1e1617,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x1e1617,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x5849a4(0x132)](_0x832678[_0x5849a4(0x17e)]),{};}else return logger['warn'](_0x832678[_0x5849a4(0x126)]),{};},exports['platformValidation']=async _0x554f12=>{const _0x4d99e4=a34_0x32afa0,_0x4b8734={'BJPFv':function(_0x2c350d,_0x199c8d){return _0x2c350d!==_0x199c8d;},'OLbak':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','ehnEh':function(_0x6dfbcf,_0x115d88){return _0x6dfbcf===_0x115d88;},'IqtML':_0x4d99e4(0x17d),'TnkNj':'playwright-chromium','nGePe':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','OVspG':function(_0xf11ac6,_0x12cab4){return _0xf11ac6(_0x12cab4);},'Fswqo':function(_0x28eb67,_0x150c8c){return _0x28eb67===_0x150c8c;},'OPKpc':_0x4d99e4(0x150),'anuWH':function(_0x5a416f,_0x50b711){return _0x5a416f>_0x50b711;},'khOiH':_0x4d99e4(0x12f)};try{if(!_0x4b8734[_0x4d99e4(0x15c)](_0x554f12[_0x4d99e4(0x166)],''))return logger[_0x4d99e4(0x141)](_0x4b8734[_0x4d99e4(0x16f)]),![];const _0x141a22=_0x554f12[_0x4d99e4(0x183)];if(!(_0x4b8734[_0x4d99e4(0x179)](_0x141a22,_0x4b8734['IqtML'])||_0x4b8734[_0x4d99e4(0x179)](_0x141a22,_0x4b8734[_0x4d99e4(0x135)])))return logger['warn'](_0x4b8734['nGePe']),![];const _0x596a80=_0x4b8734[_0x4d99e4(0x14e)](parseInt,_0x554f12[_0x4d99e4(0x164)]);if(!(_0x4b8734['Fswqo'](_0x596a80,_0x4b8734[_0x4d99e4(0x156)])||_0x4b8734[_0x4d99e4(0x174)](_0x596a80,0x5e)))return logger['warn'](_0x4b8734['khOiH']),![];}catch(_0x30e728){logger[_0x4d99e4(0x132)](_0x4d99e4(0x153)+util[_0x4d99e4(0x127)](_0x30e728));}return!![];},exports[a34_0x32afa0(0x177)]=(_0x23b14a,_0x166010,_0x174a34)=>{const _0x318d40=a34_0x32afa0,_0x333fc0={'UWFLI':function(_0x2273fd){return _0x2273fd();},'pVEyc':_0x318d40(0x14d),'LdtOF':function(_0x31e7dd,_0x2ca6a2){return _0x31e7dd===_0x2ca6a2;},'IzFTD':_0x318d40(0x17d),'OmxkS':function(_0x4790f1,_0x4d45ee){return _0x4790f1===_0x4d45ee;},'rAGwc':_0x318d40(0x172),'VVrat':_0x318d40(0x16e),'VhwDA':_0x318d40(0x150),'WzbVx':function(_0x172ddf,_0x12ddf3){return _0x172ddf>_0x12ddf3;},'AKybw':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','CLPtY':function(_0x50c0a3,_0x3e9b5e){return _0x50c0a3(_0x3e9b5e);},'XhStL':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','fMDkT':function(_0x7d402d,_0x4b533b){return _0x7d402d+_0x4b533b;},'trqac':function(_0x2bf6a7,_0x229e65){return _0x2bf6a7(_0x229e65);}};try{if(_0x333fc0[_0x318d40(0x165)](isAccessibilityAutomationSession)){global[_0x318d40(0x133)]=!![];!_0x23b14a[_0x333fc0[_0x318d40(0x171)]]&&(global[_0x318d40(0x133)]=![]);!(_0x333fc0['LdtOF'](_0x23b14a[_0x318d40(0x16a)],_0x333fc0[_0x318d40(0x145)])||_0x333fc0[_0x318d40(0x140)](_0x23b14a['browserName'],_0x333fc0[_0x318d40(0x123)]))&&(logger['warn'](_0x333fc0[_0x318d40(0x168)]),global[_0x318d40(0x133)]=![]);!(_0x333fc0[_0x318d40(0x140)](_0x23b14a['browser_version'],_0x333fc0[_0x318d40(0x128)])||_0x333fc0[_0x318d40(0x12a)](_0x23b14a[_0x318d40(0x164)],0x5e))&&(logger['warn'](_0x333fc0[_0x318d40(0x131)]),global[_0x318d40(0x133)]=![]);!_0x333fc0['CLPtY'](isUndefined,_0x23b14a['deviceName'])&&(logger[_0x318d40(0x141)](_0x333fc0[_0x318d40(0x147)]),global['accessibilityPlatform']=![]);if(!global[_0x318d40(0x133)]){_0x23b14a[_0x333fc0[_0x318d40(0x171)]]=![];const _0x534422=_0x333fc0['fMDkT'](_0x166010,_0x333fc0[_0x318d40(0x16b)](encodeURIComponent,JSON[_0x318d40(0x173)](_0x23b14a)));_0x174a34&&(_0x174a34[_0x318d40(0x154)][_0x318d40(0x175)][_0x318d40(0x13f)][_0x318d40(0x163)][_0x318d40(0x17f)][_0x318d40(0x12c)]=_0x534422,_0x174a34[_0x318d40(0x138)][_0x318d40(0x13f)][_0x318d40(0x163)][_0x318d40(0x17f)]['wsEndpoint']=_0x534422);}}}catch(_0x240d49){logger[_0x318d40(0x132)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util['format'](_0x240d49));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a35_0x4b31ee=a35_0x3645;(function(_0x222ae3,_0x126773){const _0x1eae85=a35_0x3645,_0x375da6=_0x222ae3();while(!![]){try{const _0x91fe75=parseInt(_0x1eae85(0x17e))/0x1*(-parseInt(_0x1eae85(0x203))/0x2)+-parseInt(_0x1eae85(0x1b4))/0x3*(parseInt(_0x1eae85(0x1d2))/0x4)+parseInt(_0x1eae85(0x17c))/0x5+-parseInt(_0x1eae85(0x1ae))/0x6+-parseInt(_0x1eae85(0x195))/0x7+parseInt(_0x1eae85(0x216))/0x8*(-parseInt(_0x1eae85(0x1a0))/0x9)+parseInt(_0x1eae85(0x1e1))/0xa*(parseInt(_0x1eae85(0x1f4))/0xb);if(_0x91fe75===_0x126773)break;else _0x375da6['push'](_0x375da6['shift']());}catch(_0xa3b88e){_0x375da6['push'](_0x375da6['shift']());}}}(a35_0x3a68,0xc5e99));function a35_0x3a68(){const _0x10eefd=['VjoCg','resolve','ZJyUC','2|1|0|7|4|9|5|6|8|3','jsBjV','sjMnY','QqSfJ','playwright','../../helpers/BrowserStackSetup','3743544wNjBqP','SDK_CLEANUP','serializeToYamlString','ZeSxl','errorMessage','mOUWO','3743589UfMjha','isTrue','debug','cwd','lwSyS','ZZAoo','BDNkI','GlYhG','isUndefined','Updated\x20config\x20file\x20name\x20to\x20-\x20','cdETa','playwright-browserstack-sdk.config.cjs','push','has','BROWSERSTACK_SETUP_CONFIG_PATH','../../helpers/accessibility-automation/helper','SDK_POST_INITIALIZE','filterBrowserstackArgs','gkJFR','skipSessionStatus','env','USER_CONFIG_DETAILS_PATH','concat','SPmqo','lbfeb','dirname','Deleting\x20','playwright-browserstack-sdk.config.js','testObservability','--config','4onuNpI','config','cliConfig','length','oTnxG','testContextOptions','Error\x20in\x20deleting\x20playwright\x20results','measureWrapper','inherit','SDK_PRE_INITIALIZE','map','EVENTS','Shsdt','YSabR','Playwright\x20process\x20exited\x20with\x20code\x20','20pOasCn','readFileSync','platform','BROWSERSTACK_TEST_ACCESSIBILITY_YML','findIndex','ohsUy','PoOlm','getConfigPath','filter','JuZAL','accessibilityOptions','RUnAx','iquke','isFalse','writeFileSync','unlinkSync','trim','pw_result.json','../../helpers/logger','20018900vGNZvE','resolvedConfigFile','ToLxy','QKwxg','npx','../../helpers/test-observability/constants','winstonLogger','XbWaS','WIbpx','../../helpers/testhub/testhubHandler','bjCZR','pzCAm','BROWSERSTACK_AUTOMATION','--config=','skipSessionName','316PGrlWX','nUmAz','join','util','OiaQT','lpvyY','includes','close','splice','oaJga','existsSync','ezuwR','TRfuX','launchBuild','dPUhf','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','LVnIw','automation','child_process','1864RYFTcF','onbdZ','win32','logLevel','kFJHp','split','BROWSERSTACK_TEST_OBSERVABILITY','hGANZ','end','SyZRE','../../helpers/helper','path','PLAYWRIGHT','info','EWdDf','5956455MCLZxi','slice','6026pRXoGi','siQqf','finalExecution','MODULE','BROWSERSTACK_PW_CONFIG_DIR','./reporter/pwUtils','kpntJ','PeAWl','isTypescriptProject','XcqAF','homedir','accessibility','ShYLq','initialize','lMSgs','--disable-browserstack-automation','assign','QEOGu','Error\x20in\x20closing\x20playwright','nestedKeyValue','Error\x20in\x20getting\x20funnel\x20data\x20results','parse','YRMCn','7829444LAJBqx','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','browserstackSetupConfig.json','BROWSERSTACK_RERUN_TESTS','JDwMt','startsWith','apply','BrowserStack\x20config\x20file\x20not\x20found.','true','false','3015UNdAbo','--disable-test-observability','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','argv','svDXG'];a35_0x3a68=function(){return _0x10eefd;};return a35_0x3a68();}function a35_0x3645(_0x21ed0b,_0x29952d){const _0x3a6878=a35_0x3a68();return a35_0x3645=function(_0x364579,_0x257902){_0x364579=_0x364579-0x17a;let _0x54921e=_0x3a6878[_0x364579];return _0x54921e;},a35_0x3645(_0x21ed0b,_0x29952d);}const fs=require('fs'),path=require(a35_0x4b31ee(0x221)),{spawn}=require(a35_0x4b31ee(0x215)),{format}=require(a35_0x4b31ee(0x206)),logger=require(a35_0x4b31ee(0x1f3))[a35_0x4b31ee(0x1fa)],{default:BrowserStackSetup}=require(a35_0x4b31ee(0x1ad)),helper=require(a35_0x4b31ee(0x220)),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),{FRAMEWORKS}=require(a35_0x4b31ee(0x1f9)),{getConfigLoaderPath}=require(a35_0x4b31ee(0x183)),{checkAccessibilityPlatformConfig}=require(a35_0x4b31ee(0x1c3)),{setAccessibilityCapabilities}=require('./accessibility-helper'),TestHubHandler=require(a35_0x4b31ee(0x1fd)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')[a35_0x4b31ee(0x1dd)],getUserPlaywrightConfig=async(_0x1aff85,_0x38372a)=>{const _0x5839e8=a35_0x4b31ee,_0x4fec51={'gkJFR':function(_0x3f31ad){return _0x3f31ad();},'siQqf':function(_0x29eefa,_0x14a087){return _0x29eefa(_0x14a087);},'LVnIw':function(_0x217b08,_0x1a475c){return _0x217b08(_0x1a475c);},'RoCWn':_0x5839e8(0x1f5),'MlNnt':_0x5839e8(0x201)},_0x477f07=!helper['isUndefined'](_0x1aff85[_0x5839e8(0x1d3)]),_0xb1fc66=_0x477f07?path[_0x5839e8(0x1a6)](process[_0x5839e8(0x1b7)](),_0x1aff85['config']):process[_0x5839e8(0x1b7)](),{resolveConfigFile:_0x450ae1,resolveConfigLocation:_0x2ac4aa}=helper['requirePWModule'][_0x5839e8(0x19c)](null,_0x4fec51[_0x5839e8(0x1c6)](getConfigLoaderPath)),_0x43c101=_0x450ae1?_0x4fec51[_0x5839e8(0x17f)](_0x450ae1,_0xb1fc66):helper[_0x5839e8(0x191)](_0x4fec51[_0x5839e8(0x213)](_0x2ac4aa,_0xb1fc66),[_0x4fec51['RoCWn']]),_0x55fbd8={};if(_0x477f07){const _0x3a10df=_0x38372a[_0x5839e8(0x1e5)](_0x1f9043=>_0x1f9043===_0x5839e8(0x1d1)||_0x1f9043==='-c'||_0x1f9043[_0x5839e8(0x19b)](_0x5839e8(0x201)));_0x38372a[_0x5839e8(0x20b)](_0x3a10df,_0x38372a[_0x3a10df][_0x5839e8(0x19b)](_0x4fec51['MlNnt'])?0x1:0x2);}const _0x332aa3={};return _0x332aa3['path']=_0x43c101,_0x332aa3[_0x5839e8(0x1d3)]=_0x55fbd8,_0x332aa3;},handleO11yRerun=_0x194661=>{const _0x300ffa=a35_0x4b31ee,_0x18b1cd={};_0x18b1cd[_0x300ffa(0x1e7)]=function(_0x45f8cc,_0x4edc9d){return _0x45f8cc!==_0x4edc9d;},_0x18b1cd[_0x300ffa(0x21a)]='null',_0x18b1cd['pzCAm']='--grep';const _0x2adab9=_0x18b1cd,_0x19dea9=helper[_0x300ffa(0x1b5)](process['env']['BROWSERSTACK_RERUN']);if(_0x19dea9){const _0x4fd1a8=process['env'][_0x300ffa(0x199)],_0x70c648=[];if(_0x2adab9['PoOlm'](_0x4fd1a8,_0x2adab9[_0x300ffa(0x21a)])&&!helper[_0x300ffa(0x1bc)](_0x4fd1a8)){_0x4fd1a8[_0x300ffa(0x21b)](',')[_0x300ffa(0x1dc)](_0x4950ad=>{const _0x189bb9=_0x300ffa;_0x70c648[_0x189bb9(0x1c0)]('('+_0x4950ad[_0x189bb9(0x1f1)]()+')');});const _0x389085='^'+_0x70c648[_0x300ffa(0x205)]('|')+'$';_0x194661[_0x300ffa(0x1c0)](_0x2adab9[_0x300ffa(0x1ff)],_0x389085);}}},spawnOriginalProcess=_0x4af985=>{const _0x80b03e=a35_0x4b31ee,_0x1274fb={'TRfuX':function(_0x56a108,_0x3498c8,_0x32831a,_0x5cf2e9){return _0x56a108(_0x3498c8,_0x32831a,_0x5cf2e9);},'VjoCg':'npx','cdETa':'playwright','jOUVn':function(_0x5717b9,_0x5566e7){return _0x5717b9===_0x5566e7;},'QEOGu':_0x80b03e(0x218),'lbfeb':_0x80b03e(0x1da)};_0x1274fb[_0x80b03e(0x20f)](spawn,_0x1274fb[_0x80b03e(0x1a5)],[_0x1274fb[_0x80b03e(0x1be)],..._0x4af985[_0x80b03e(0x17d)](0x1)],{'shell':_0x1274fb['jOUVn'](process[_0x80b03e(0x1e3)],_0x1274fb[_0x80b03e(0x18f)]),'stdio':_0x1274fb[_0x80b03e(0x1cc)],'cwd':process[_0x80b03e(0x1b7)]()});},isTestCommand=(_0x1c108a,_0x4b8e51)=>{const _0x4d2211=a35_0x4b31ee,_0xc113ce={};_0xc113ce[_0x4d2211(0x20c)]=function(_0x573821,_0x2b631f){return _0x573821>_0x2b631f;},_0xc113ce[_0x4d2211(0x185)]=function(_0x3a99cf,_0x15844d){return _0x3a99cf===_0x15844d;},_0xc113ce['jcZAx']='test';const _0x2992f7=_0xc113ce;if(_0x2992f7[_0x4d2211(0x20c)](_0x4b8e51[_0x4d2211(0x1d5)],0x1)&&_0x2992f7[_0x4d2211(0x185)](_0x4b8e51[0x1],_0x2992f7['jcZAx']))return!![];return![];};async function run(_0x262184,_0x3874bb){const _0x20a57e=a35_0x4b31ee,_0x8c0bab={'GlYhG':function(_0x22b363,_0xacc11){return _0x22b363(_0xacc11);},'EWdDf':'.browserstack','JDwMt':_0x20a57e(0x1f2),'bjCZR':function(_0xea3043,_0x2aade2){return _0xea3043+_0x2aade2;},'lMSgs':_0x20a57e(0x192),'ToLxy':_0x20a57e(0x1a8),'hdlfn':function(_0x1f14db){return _0x1f14db();},'QqSfJ':_0x20a57e(0x190),'LkaSQ':_0x20a57e(0x19d),'ZJyUC':_0x20a57e(0x214),'YRMCn':function(_0x4d6aec,_0x578b31){return _0x4d6aec!=_0x578b31;},'iquke':function(_0x5a2cee,_0x40af31,_0x2f8a28){return _0x5a2cee(_0x40af31,_0x2f8a28);},'oTnxG':function(_0xd6b55f,_0xfc993d){return _0xd6b55f(_0xfc993d);},'ZZAoo':function(_0x1ce6b3,_0x5cb659){return _0x1ce6b3===_0x5cb659;},'rAADi':_0x20a57e(0x19e),'JuZAL':function(_0xbbb95d,_0x4cbe57){return _0xbbb95d(_0x4cbe57);},'jsBjV':function(_0x16dc37,_0x230608){return _0x16dc37(_0x230608);},'XcqAF':_0x20a57e(0x198),'QKwxg':function(_0x4af677,_0x192ece){return _0x4af677===_0x192ece;},'BDNkI':_0x20a57e(0x1bf),'CUCBm':_0x20a57e(0x1cf),'sjMnY':function(_0x4bf10c,_0x570e21){return _0x4bf10c-_0x570e21;},'ZeSxl':function(_0x221dd7,_0x13f062){return _0x221dd7+_0x13f062;},'LHaws':_0x20a57e(0x1bd),'FoDxR':function(_0x5bed39,_0x40289c){return _0x5bed39>_0x40289c;},'Shsdt':function(_0x19d0c4,_0x4b1b21){return _0x19d0c4+_0x4b1b21;},'nUmAz':function(_0x4b9966,_0x4512ff,_0x4e3ef3,_0x243469){return _0x4b9966(_0x4512ff,_0x4e3ef3,_0x243469);},'lpvyY':_0x20a57e(0x1f8),'OiaQT':_0x20a57e(0x1ac),'ezuwR':'test','lwSyS':'--config','hGANZ':_0x20a57e(0x218),'ShYLq':_0x20a57e(0x1da),'RUnAx':_0x20a57e(0x20a),'xeenF':_0x20a57e(0x18d),'WIbpx':_0x20a57e(0x19f),'kpntJ':_0x20a57e(0x1a1),'SyZRE':function(_0x3b5813,_0x40669f){return _0x3b5813>=_0x40669f;},'mOUWO':_0x20a57e(0x1d8)};!helper[_0x20a57e(0x1ee)](process[_0x20a57e(0x1c8)][_0x20a57e(0x200)])&&(process[_0x20a57e(0x1c8)][_0x20a57e(0x200)]=!![]);process[_0x20a57e(0x1a3)][_0x20a57e(0x209)](_0x8c0bab['xeenF'])&&(process[_0x20a57e(0x1c8)]['BROWSERSTACK_AUTOMATION']=_0x8c0bab[_0x20a57e(0x1fc)],_0x3874bb=_0x3874bb[_0x20a57e(0x1e9)](_0xaa679b=>_0xaa679b!==_0x20a57e(0x18d)));const _0x4837d9=_0x3874bb['indexOf'](_0x8c0bab[_0x20a57e(0x184)]);_0x8c0bab[_0x20a57e(0x21f)](_0x4837d9,0x0)&&(process[_0x20a57e(0x1c8)][_0x20a57e(0x21c)]=_0x8c0bab[_0x20a57e(0x1fc)],_0x3874bb=_0x3874bb[_0x20a57e(0x1e9)](_0x402719=>_0x402719!=='--disable-test-observability'));try{const _0xc1e5db=path[_0x20a57e(0x205)](helper['homedir'](),_0x8c0bab[_0x20a57e(0x17b)],_0x8c0bab[_0x20a57e(0x19a)]);fs['existsSync'](_0xc1e5db)&&fs[_0x20a57e(0x1f0)](_0xc1e5db);}catch(_0x308cd1){logger[_0x20a57e(0x1b6)](_0x8c0bab[_0x20a57e(0x1b1)](_0x8c0bab[_0x20a57e(0x1b3)],_0x308cd1));}if(!_0x8c0bab[_0x20a57e(0x1ed)](isTestCommand,_0x262184,_0x3874bb)){_0x8c0bab[_0x20a57e(0x1a9)](spawnOriginalProcess,_0x3874bb);return;}const _0x5c4684=new BrowserStackSetup(_0x262184,FRAMEWORKS[_0x20a57e(0x222)]);await PerformanceTester[_0x20a57e(0x1d9)](PerformanceEvents[_0x20a57e(0x1db)],async()=>{const _0xfd9fd5=_0x20a57e,_0x46de36={'onbdZ':_0x8c0bab[_0xfd9fd5(0x17b)],'SPmqo':_0x8c0bab[_0xfd9fd5(0x19a)],'svDXG':function(_0x45ef8a,_0x1d1af8){const _0x370d9e=_0xfd9fd5;return _0x8c0bab[_0x370d9e(0x1fe)](_0x45ef8a,_0x1d1af8);},'XbWaS':_0x8c0bab[_0xfd9fd5(0x18c)],'ohsUy':_0x8c0bab[_0xfd9fd5(0x1f6)],'dPUhf':function(_0x181e35){return _0x8c0bab['hdlfn'](_0x181e35);},'YSabR':_0x8c0bab[_0xfd9fd5(0x1ab)]};if(!_0x5c4684[_0xfd9fd5(0x1d3)]){logger['error'](_0x8c0bab['LkaSQ']);return;}await _0x5c4684[_0xfd9fd5(0x18b)]();!helper[_0xfd9fd5(0x1bc)](_0x5c4684[_0xfd9fd5(0x1d4)])&&_0x5c4684[_0xfd9fd5(0x1d4)][_0xfd9fd5(0x1c1)](_0x8c0bab['ZJyUC'])&&(process[_0xfd9fd5(0x1c8)]['BROWSERSTACK_AUTOMATION']=_0x5c4684['cliConfig']['get'](_0x8c0bab[_0xfd9fd5(0x1a7)])||!![]);_0x8c0bab[_0xfd9fd5(0x194)](_0x5c4684[_0xfd9fd5(0x1d3)][_0xfd9fd5(0x1d0)],null)&&!helper[_0xfd9fd5(0x1b5)](process[_0xfd9fd5(0x1c8)][_0xfd9fd5(0x21c)])&&(process[_0xfd9fd5(0x1c8)][_0xfd9fd5(0x21c)]=process[_0xfd9fd5(0x1c8)][_0xfd9fd5(0x21c)]||_0x5c4684[_0xfd9fd5(0x1d3)]['testObservability']);const _0x49ea44=!helper[_0xfd9fd5(0x1ee)](process[_0xfd9fd5(0x1c8)][_0xfd9fd5(0x21c)]);let _0x514e94=![];_0x5c4684[_0xfd9fd5(0x1d3)][_0xfd9fd5(0x189)]&&(_0x514e94=!![],process[_0xfd9fd5(0x1c8)][_0xfd9fd5(0x1e4)]=_0x5c4684['config']['accessibility']);_0x5c4684[_0xfd9fd5(0x1d3)][_0xfd9fd5(0x1eb)]&&(process[_0xfd9fd5(0x1c8)][_0xfd9fd5(0x212)]=JSON['stringify'](_0x5c4684['config'][_0xfd9fd5(0x1eb)]));const _0x36bd26=_0x3874bb[_0xfd9fd5(0x1ca)](),_0xa41989=await _0x8c0bab[_0xfd9fd5(0x1ed)](getUserPlaywrightConfig,_0x262184,_0x3874bb);if(helper[_0xfd9fd5(0x1bc)](_0xa41989)){_0x8c0bab[_0xfd9fd5(0x1d6)](spawnOriginalProcess,_0x36bd26);return;}const _0x195426=_0xa41989[_0xfd9fd5(0x221)]?path[_0xfd9fd5(0x1cd)](_0xa41989[_0xfd9fd5(0x221)]):process[_0xfd9fd5(0x1b7)]();process['env'][_0xfd9fd5(0x182)]=_0x195426,await PerformanceTester[_0xfd9fd5(0x1d9)](PerformanceEvents[_0xfd9fd5(0x1c4)],async()=>{const _0x855811=_0xfd9fd5;await TestHubHandler[_0x855811(0x210)](FRAMEWORKS[_0x855811(0x222)],_0x5c4684),_0x49ea44&&_0x8c0bab[_0x855811(0x1bb)](handleO11yRerun,_0x3874bb);})();let _0x1ec271=_0x8c0bab[_0xfd9fd5(0x1b9)](process['env'][_0xfd9fd5(0x1e4)],_0x8c0bab['rAADi']);_0x1ec271=_0x1ec271||_0x8c0bab[_0xfd9fd5(0x1ea)](checkAccessibilityPlatformConfig,_0x5c4684[_0xfd9fd5(0x1d3)]),process['env'][_0xfd9fd5(0x1e4)]=_0x1ec271;_0x1ec271&&_0x8c0bab[_0xfd9fd5(0x1a9)](setAccessibilityCapabilities,_0x5c4684['config']);const _0x464420=path['join'](_0xa41989[_0xfd9fd5(0x221)]?path['dirname'](_0xa41989[_0xfd9fd5(0x221)]):process[_0xfd9fd5(0x1b7)](),_0x8c0bab[_0xfd9fd5(0x187)]);fs[_0xfd9fd5(0x1ef)](_0x464420,helper[_0xfd9fd5(0x1b0)](_0x5c4684[_0xfd9fd5(0x1d3)])),process[_0xfd9fd5(0x1c8)][_0xfd9fd5(0x1c2)]=_0x464420,helper['clearTempPWConfig']();let _0x4d8fde='';_0x8c0bab[_0xfd9fd5(0x1f7)](helper['getPackageType'](),constants['PACKAGE_TYPE'][_0xfd9fd5(0x181)])?_0x4d8fde=_0x8c0bab[_0xfd9fd5(0x1ba)]:_0x4d8fde=_0x8c0bab['CUCBm'];let _0x2deb1b='';if(helper[_0xfd9fd5(0x186)](_0xa41989['path'])){_0x2deb1b=_0xfd9fd5(0x197);const _0x55724e=_0x4d8fde[_0xfd9fd5(0x21b)]('.');_0x55724e[_0x8c0bab[_0xfd9fd5(0x1aa)](_0x55724e[_0xfd9fd5(0x1d5)],0x1)]='ts',_0x4d8fde=_0x55724e['join']('.'),logger[_0xfd9fd5(0x1b6)](_0x8c0bab[_0xfd9fd5(0x1b1)](_0x8c0bab['LHaws'],_0x4d8fde));}else _0x2deb1b=_0xfd9fd5(0x196);const _0x21b6ee=path[_0xfd9fd5(0x205)](_0xa41989['path']?path[_0xfd9fd5(0x1cd)](_0xa41989[_0xfd9fd5(0x221)]):process[_0xfd9fd5(0x1b7)](),_0x4d8fde);let _0x5a3b0a=_0xa41989[_0xfd9fd5(0x221)]?_0xa41989[_0xfd9fd5(0x221)]:'';_0x5a3b0a=_0x8c0bab['FoDxR'](_0x5a3b0a[_0xfd9fd5(0x1d5)],0x0)?path['resolve'](_0x5a3b0a):'',process[_0xfd9fd5(0x1c8)][_0xfd9fd5(0x1c9)]=_0x5a3b0a;const _0xd25610=helper['getProxyUrl'](_0x5c4684[_0xfd9fd5(0x1d3)]);_0xd25610&&(_0x2deb1b=_0x8c0bab[_0xfd9fd5(0x1de)](_0xfd9fd5(0x1a2)+_0xd25610+'\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();',_0x2deb1b));helper[_0xfd9fd5(0x1c5)]({},_0x3874bb),fs['writeFileSync'](_0x21b6ee,_0x2deb1b),PerformanceTester[_0xfd9fd5(0x21e)](PerformanceEvents['SDK_SETUP']);const _0x553744=_0x8c0bab[_0xfd9fd5(0x204)](spawn,_0x8c0bab[_0xfd9fd5(0x208)],[_0x8c0bab[_0xfd9fd5(0x207)],_0x8c0bab[_0xfd9fd5(0x20e)],_0x8c0bab[_0xfd9fd5(0x1b8)],_0x21b6ee,..._0x3874bb['slice'](0x2)],{'shell':_0x8c0bab[_0xfd9fd5(0x1b9)](process['platform'],_0x8c0bab[_0xfd9fd5(0x21d)]),'stdio':_0x8c0bab[_0xfd9fd5(0x18a)],'cwd':process[_0xfd9fd5(0x1b7)](),'env':Object[_0xfd9fd5(0x18e)]({},process[_0xfd9fd5(0x1c8)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0xfd9fd5(0x1e8)](_0x262184),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5c4684[_0xfd9fd5(0x1d3)]['testContextOptions'][_0xfd9fd5(0x1c7)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5c4684[_0xfd9fd5(0x1d3)][_0xfd9fd5(0x1d7)][_0xfd9fd5(0x202)],'BROWSERSTACK_LOG_LEVEL':_0x5c4684[_0xfd9fd5(0x1d3)][_0xfd9fd5(0x219)]})}),_0x504ecf=()=>{const _0x30a9e8=_0xfd9fd5;try{const _0x23c8b0=path['join'](helper[_0x30a9e8(0x188)](),_0x46de36[_0x30a9e8(0x217)],_0x46de36[_0x30a9e8(0x1cb)]);if(fs[_0x30a9e8(0x20d)](_0x23c8b0)){let _0x521d9d=fs[_0x30a9e8(0x1e2)](_0x23c8b0);_0x521d9d=JSON[_0x30a9e8(0x193)](_0x521d9d),_0x5c4684[_0x30a9e8(0x1b2)]=_0x521d9d,fs['unlinkSync'](_0x23c8b0);}}catch(_0x5657d){logger['debug'](_0x46de36[_0x30a9e8(0x1a4)](_0x46de36[_0x30a9e8(0x1fb)],_0x5657d));}};_0x553744['on'](_0x8c0bab[_0xfd9fd5(0x1ec)],async _0x129551=>{const _0x2baf32=_0xfd9fd5;try{const _0x5bd928=_0x46de36[_0x2baf32(0x1e6)]['split']('|');let _0x598c6f=0x0;while(!![]){switch(_0x5bd928[_0x598c6f++]){case'0':await TestHubHandler['stop']();continue;case'1':_0x46de36[_0x2baf32(0x211)](_0x504ecf);continue;case'2':PerformanceTester['start'](PerformanceEvents[_0x2baf32(0x1af)]);continue;case'3':fs[_0x2baf32(0x1f0)](_0x464420);continue;case'4':process['exitCode']=_0x129551;continue;case'5':logger[_0x2baf32(0x17a)](_0x2baf32(0x1ce)+_0x21b6ee);continue;case'6':fs[_0x2baf32(0x1f0)](_0x21b6ee);continue;case'7':await utilities[_0x2baf32(0x180)](_0x5c4684);continue;case'8':logger[_0x2baf32(0x1b6)](_0x2baf32(0x1ce)+_0x464420);continue;case'9':logger['debug'](_0x2baf32(0x1e0)+_0x129551);continue;}break;}}catch(_0x1c1093){logger['debug'](_0x46de36['svDXG'](_0x46de36[_0x2baf32(0x1df)],_0x1c1093));}});})();}module['exports']=run;
2
+ 'use strict';function a35_0x2f9b(_0x49f437,_0x381fd0){const _0x54e94d=a35_0x54e9();return a35_0x2f9b=function(_0x2f9b15,_0x472020){_0x2f9b15=_0x2f9b15-0xf2;let _0x210118=_0x54e94d[_0x2f9b15];return _0x210118;},a35_0x2f9b(_0x49f437,_0x381fd0);}const a35_0x46adac=a35_0x2f9b;(function(_0xb5cd25,_0x345ad7){const _0x2bbe76=a35_0x2f9b,_0x7c87bf=_0xb5cd25();while(!![]){try{const _0x43d814=parseInt(_0x2bbe76(0x106))/0x1*(-parseInt(_0x2bbe76(0x125))/0x2)+-parseInt(_0x2bbe76(0x17f))/0x3+-parseInt(_0x2bbe76(0x11c))/0x4+parseInt(_0x2bbe76(0x108))/0x5*(-parseInt(_0x2bbe76(0xf2))/0x6)+parseInt(_0x2bbe76(0x13f))/0x7+-parseInt(_0x2bbe76(0x115))/0x8+parseInt(_0x2bbe76(0x189))/0x9;if(_0x43d814===_0x345ad7)break;else _0x7c87bf['push'](_0x7c87bf['shift']());}catch(_0x4aefb6){_0x7c87bf['push'](_0x7c87bf['shift']());}}}(a35_0x54e9,0xf3719));const fs=require('fs'),path=require('path'),{spawn}=require(a35_0x46adac(0x167)),{format}=require(a35_0x46adac(0x17a)),logger=require(a35_0x46adac(0xfd))[a35_0x46adac(0xfc)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a35_0x46adac(0x141)),utilities=require(a35_0x46adac(0x12a)),constants=require(a35_0x46adac(0x131)),{FRAMEWORKS}=require(a35_0x46adac(0x110)),{getConfigLoaderPath}=require(a35_0x46adac(0x10d)),{checkAccessibilityPlatformConfig}=require(a35_0x46adac(0x188)),{setAccessibilityCapabilities}=require(a35_0x46adac(0x15f)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a35_0x46adac(0x11d)),PerformanceEvents=require('../../helpers/performance/constants')[a35_0x46adac(0x146)],getUserPlaywrightConfig=async(_0x7bf9f7,_0xd17cb7)=>{const _0x104464=a35_0x46adac,_0x3d2050={'qkDPw':function(_0xe5955c){return _0xe5955c();},'jMxXE':function(_0x5ddbb2,_0x3b3e56){return _0x5ddbb2(_0x3b3e56);},'xaUBG':_0x104464(0xfb),'yEJXJ':_0x104464(0x169)},_0x28b6d9=!helper['isUndefined'](_0x7bf9f7['config']),_0x280de0=_0x28b6d9?path[_0x104464(0x149)](process[_0x104464(0x164)](),_0x7bf9f7[_0x104464(0x178)]):process[_0x104464(0x164)](),{resolveConfigFile:_0x3834ab,resolveConfigLocation:_0x12cdaa}=helper['requirePWModule'][_0x104464(0x112)](null,_0x3d2050[_0x104464(0xff)](getConfigLoaderPath)),_0x4f73a4=_0x3834ab?_0x3d2050[_0x104464(0x176)](_0x3834ab,_0x280de0):helper[_0x104464(0x17e)](_0x3d2050['jMxXE'](_0x12cdaa,_0x280de0),[_0x3d2050[_0x104464(0x144)]]),_0x1be07c={};if(_0x28b6d9){const _0x4158e9=_0xd17cb7[_0x104464(0x122)](_0x78ba30=>_0x78ba30===_0x104464(0x140)||_0x78ba30==='-c'||_0x78ba30['startsWith'](_0x104464(0x169)));_0xd17cb7['splice'](_0x4158e9,_0xd17cb7[_0x4158e9]['startsWith'](_0x3d2050[_0x104464(0x17b)])?0x1:0x2);}const _0x1ee8c9={};return _0x1ee8c9['path']=_0x4f73a4,_0x1ee8c9[_0x104464(0x178)]=_0x1be07c,_0x1ee8c9;},handleO11yRerun=_0x33833c=>{const _0x238cf=a35_0x46adac,_0x256cf1={};_0x256cf1[_0x238cf(0x101)]=_0x238cf(0x166);const _0x241f9c=_0x256cf1,_0x248033=helper[_0x238cf(0xfe)](process[_0x238cf(0x183)][_0x238cf(0x136)]);if(_0x248033){const _0x2bcca5=process[_0x238cf(0x183)][_0x238cf(0x18a)],_0x2bafce=[];if(helper['validateRerunTestList'](_0x2bcca5)&&!helper[_0x238cf(0x156)](_0x2bcca5)){_0x2bcca5[_0x238cf(0x16b)](',')[_0x238cf(0x148)](_0xebb4b6=>{const _0x125d01=_0x238cf;_0x2bafce['push']('('+_0xebb4b6[_0x125d01(0x17d)]()+')');});const _0x416cbc='^'+_0x2bafce[_0x238cf(0x13e)]('|')+'$';_0x33833c[_0x238cf(0x123)](_0x241f9c[_0x238cf(0x101)],_0x416cbc);}}},spawnOriginalProcess=_0x2ab4e9=>{const _0x1d3651=a35_0x46adac,_0xc811ed={'ivwfT':function(_0x413d43,_0xfbd07,_0x4b9c8d,_0x35605c){return _0x413d43(_0xfbd07,_0x4b9c8d,_0x35605c);},'RGFhB':'npx','ZMDki':_0x1d3651(0x139),'MHKnf':function(_0x479cf8,_0x16d0ea){return _0x479cf8===_0x16d0ea;},'FCwIW':_0x1d3651(0xf7),'qXZNO':'inherit'};_0xc811ed['ivwfT'](spawn,_0xc811ed['RGFhB'],[_0xc811ed[_0x1d3651(0xf3)],..._0x2ab4e9[_0x1d3651(0x103)](0x1)],{'shell':_0xc811ed[_0x1d3651(0x104)](process[_0x1d3651(0x173)],_0xc811ed[_0x1d3651(0x11e)]),'stdio':_0xc811ed[_0x1d3651(0x162)],'cwd':process[_0x1d3651(0x164)]()});},isTestCommand=(_0x1e00e3,_0x628899)=>{const _0x28357e=a35_0x46adac,_0x703082={};_0x703082[_0x28357e(0x10b)]=function(_0x47c5c5,_0x199b47){return _0x47c5c5>_0x199b47;},_0x703082['LGfDM']=function(_0x39d809,_0x461fab){return _0x39d809===_0x461fab;},_0x703082[_0x28357e(0x14d)]=_0x28357e(0x14f);const _0x324d94=_0x703082;if(_0x324d94['mffva'](_0x628899[_0x28357e(0x172)],0x1)&&_0x324d94[_0x28357e(0x13d)](_0x628899[0x1],_0x324d94[_0x28357e(0x14d)]))return!![];return![];};async function run(_0x56ea80,_0x87647e){const _0x4fb854=a35_0x46adac,_0x651b9={'XlMTo':function(_0x31a499,_0xb7626d){return _0x31a499(_0xb7626d);},'kTDch':_0x4fb854(0x16a),'HoMgC':'pw_result.json','ZKpmM':function(_0x23d7db,_0x310e0e){return _0x23d7db+_0x310e0e;},'znvaN':_0x4fb854(0x150),'uMhQM':_0x4fb854(0x16e),'IQVqC':function(_0xab2239){return _0xab2239();},'TcrdH':'Error\x20in\x20closing\x20playwright','TbToP':'BrowserStack\x20config\x20file\x20not\x20found.','lTUoZ':'automation','kxIIa':function(_0x3d9e47,_0x1e10bb){return _0x3d9e47!=_0x1e10bb;},'yfqKo':function(_0x26a730,_0x464fc9,_0x20c00b){return _0x26a730(_0x464fc9,_0x20c00b);},'aDntj':function(_0x4fdd95,_0x20b4af){return _0x4fdd95(_0x20b4af);},'NIuxj':function(_0x5b43a3,_0x35d83b){return _0x5b43a3===_0x35d83b;},'dOlMq':'true','PrnIe':'browserstackSetupConfig.json','Mture':_0x4fb854(0x184),'YHnHO':_0x4fb854(0x182),'pCZeO':function(_0x172cb3,_0x400a98){return _0x172cb3-_0x400a98;},'BYSnk':'Updated\x20config\x20file\x20name\x20to\x20-\x20','OueKx':function(_0xa0cb98,_0x38d862){return _0xa0cb98>_0x38d862;},'Rgrjd':function(_0x191cc6,_0xdf1498,_0x4b8dcf,_0x21b159){return _0x191cc6(_0xdf1498,_0x4b8dcf,_0x21b159);},'fGLfo':_0x4fb854(0x168),'hNrLm':_0x4fb854(0x139),'CYkdO':'test','yFQUP':_0x4fb854(0x140),'jfOsc':function(_0x31f650,_0x1b2df0){return _0x31f650===_0x1b2df0;},'EXjTl':_0x4fb854(0xf7),'njpWF':_0x4fb854(0x135),'RkLOG':_0x4fb854(0x11f),'KLqQT':_0x4fb854(0x127),'ppTjb':'false','IzrdF':'--disable-test-observability','XAxWK':function(_0x234923,_0x1ca664){return _0x234923>=_0x1ca664;},'zokNh':function(_0x1785a0,_0x5cfb69){return _0x1785a0+_0x5cfb69;},'yQMOf':_0x4fb854(0x155),'WBjqQ':function(_0x3daceb,_0x17732c,_0xb4ac6f){return _0x3daceb(_0x17732c,_0xb4ac6f);},'QsNcT':function(_0x5a086c,_0x24a554){return _0x5a086c(_0x24a554);}};!helper[_0x4fb854(0x11a)](process[_0x4fb854(0x183)][_0x4fb854(0x10c)])&&(process[_0x4fb854(0x183)]['BROWSERSTACK_AUTOMATION']=!![]);process['argv'][_0x4fb854(0x170)](_0x651b9[_0x4fb854(0xf6)])&&(process['env'][_0x4fb854(0x10c)]=_0x651b9['ppTjb'],_0x87647e=_0x87647e[_0x4fb854(0x124)](_0x48a1ec=>_0x48a1ec!=='--disable-browserstack-automation'));const _0x5f526a=_0x87647e['indexOf'](_0x651b9[_0x4fb854(0x187)]);_0x651b9['XAxWK'](_0x5f526a,0x0)&&(process[_0x4fb854(0x183)][_0x4fb854(0x147)]=_0x651b9['ppTjb'],_0x87647e=_0x87647e[_0x4fb854(0x124)](_0x302215=>_0x302215!==_0x4fb854(0x116)));try{const _0x52767c=path[_0x4fb854(0x13e)](helper[_0x4fb854(0x132)](),_0x651b9[_0x4fb854(0x180)],_0x651b9['HoMgC']);fs[_0x4fb854(0x151)](_0x52767c)&&fs[_0x4fb854(0xfa)](_0x52767c);}catch(_0x1c065e){logger[_0x4fb854(0xf5)](_0x651b9['zokNh'](_0x651b9['yQMOf'],_0x1c065e));}if(!_0x651b9['WBjqQ'](isTestCommand,_0x56ea80,_0x87647e)){_0x651b9[_0x4fb854(0x13c)](spawnOriginalProcess,_0x87647e);return;}const _0x549c13=new BrowserStackSetup(_0x56ea80,FRAMEWORKS[_0x4fb854(0x10f)]);await PerformanceTester['measureWrapper'](PerformanceEvents[_0x4fb854(0x117)],async()=>{const _0x3d8ae8=_0x4fb854,_0x2144a9={'NwcOR':_0x651b9[_0x3d8ae8(0x180)],'YcpaR':_0x651b9[_0x3d8ae8(0x143)],'QIaPW':function(_0x5b409e,_0x116e9c){const _0xaf3c0a=_0x3d8ae8;return _0x651b9[_0xaf3c0a(0x154)](_0x5b409e,_0x116e9c);},'aFkQx':_0x651b9['znvaN'],'XOwdE':_0x651b9['uMhQM'],'QoTCt':function(_0x4a7904){const _0xef5fb1=_0x3d8ae8;return _0x651b9[_0xef5fb1(0x120)](_0x4a7904);},'BKjus':_0x651b9[_0x3d8ae8(0x10e)]};if(!_0x549c13[_0x3d8ae8(0x178)]){logger[_0x3d8ae8(0x114)](_0x651b9[_0x3d8ae8(0x118)]);return;}await _0x549c13[_0x3d8ae8(0x15e)]();!helper[_0x3d8ae8(0x156)](_0x549c13[_0x3d8ae8(0x161)])&&_0x549c13[_0x3d8ae8(0x161)]['has'](_0x651b9[_0x3d8ae8(0x16f)])&&(process[_0x3d8ae8(0x183)]['BROWSERSTACK_AUTOMATION']=_0x549c13[_0x3d8ae8(0x161)][_0x3d8ae8(0x111)](_0x651b9[_0x3d8ae8(0x16f)])||!![]);_0x651b9[_0x3d8ae8(0x177)](_0x549c13[_0x3d8ae8(0x178)][_0x3d8ae8(0x137)],null)&&!helper[_0x3d8ae8(0xfe)](process['env']['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x3d8ae8(0x183)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x3d8ae8(0x183)][_0x3d8ae8(0x147)]||_0x549c13[_0x3d8ae8(0x178)][_0x3d8ae8(0x137)]);const _0x5df603=!helper[_0x3d8ae8(0x11a)](process[_0x3d8ae8(0x183)][_0x3d8ae8(0x147)]);let _0x176530=![];_0x549c13[_0x3d8ae8(0x178)][_0x3d8ae8(0x157)]&&(_0x176530=!![],process[_0x3d8ae8(0x183)][_0x3d8ae8(0x130)]=_0x549c13[_0x3d8ae8(0x178)]['accessibility']);_0x549c13[_0x3d8ae8(0x178)][_0x3d8ae8(0x138)]&&(process['env'][_0x3d8ae8(0x18b)]=JSON[_0x3d8ae8(0x175)](_0x549c13[_0x3d8ae8(0x178)]['accessibilityOptions']));const _0x3fba42=_0x87647e[_0x3d8ae8(0xf9)](),_0x2620f9=await _0x651b9[_0x3d8ae8(0x15b)](getUserPlaywrightConfig,_0x56ea80,_0x87647e);if(helper[_0x3d8ae8(0x156)](_0x2620f9)){_0x651b9[_0x3d8ae8(0x133)](spawnOriginalProcess,_0x3fba42);return;}const _0x1a9949=_0x2620f9[_0x3d8ae8(0x109)]?path[_0x3d8ae8(0x14e)](_0x2620f9[_0x3d8ae8(0x109)]):process[_0x3d8ae8(0x164)]();process[_0x3d8ae8(0x183)][_0x3d8ae8(0x160)]=_0x1a9949,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x3d8ae8(0x15c)],async()=>{const _0xff7f09=_0x3d8ae8;await TestHubHandler[_0xff7f09(0x163)](FRAMEWORKS[_0xff7f09(0x10f)],_0x549c13),_0x5df603&&_0x651b9['XlMTo'](handleO11yRerun,_0x87647e);})();let _0x3a488c=_0x651b9[_0x3d8ae8(0x126)](process[_0x3d8ae8(0x183)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x651b9[_0x3d8ae8(0x185)]);_0x3a488c=_0x3a488c||_0x651b9[_0x3d8ae8(0x152)](checkAccessibilityPlatformConfig,_0x549c13[_0x3d8ae8(0x178)]),process[_0x3d8ae8(0x183)][_0x3d8ae8(0x130)]=_0x3a488c;_0x3a488c&&_0x651b9[_0x3d8ae8(0x133)](setAccessibilityCapabilities,_0x549c13[_0x3d8ae8(0x178)]);const _0x1b9963=path[_0x3d8ae8(0x13e)](_0x2620f9[_0x3d8ae8(0x109)]?path['dirname'](_0x2620f9['path']):process[_0x3d8ae8(0x164)](),_0x651b9[_0x3d8ae8(0x102)]);fs[_0x3d8ae8(0x107)](_0x1b9963,helper['serializeToYamlString'](_0x549c13['config'])),process['env'][_0x3d8ae8(0x142)]=_0x1b9963,helper[_0x3d8ae8(0x16c)]();let _0x1cfe17='';_0x651b9[_0x3d8ae8(0x126)](helper[_0x3d8ae8(0x12c)](),constants[_0x3d8ae8(0x18e)]['MODULE'])?_0x1cfe17=_0x651b9[_0x3d8ae8(0x119)]:_0x1cfe17=_0x651b9['YHnHO'];let _0x53b990='';if(helper[_0x3d8ae8(0x14a)](_0x2620f9['path'])){_0x53b990='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0xd645a=_0x1cfe17['split']('.');_0xd645a[_0x651b9['pCZeO'](_0xd645a['length'],0x1)]='ts',_0x1cfe17=_0xd645a[_0x3d8ae8(0x13e)]('.'),logger[_0x3d8ae8(0xf5)](_0x651b9['ZKpmM'](_0x651b9[_0x3d8ae8(0x18d)],_0x1cfe17));}else _0x53b990=_0x3d8ae8(0x13a);const _0x2d527f=path['join'](_0x2620f9['path']?path[_0x3d8ae8(0x14e)](_0x2620f9[_0x3d8ae8(0x109)]):process[_0x3d8ae8(0x164)](),_0x1cfe17);let _0x29d951=_0x2620f9[_0x3d8ae8(0x109)]?_0x2620f9[_0x3d8ae8(0x109)]:'';_0x29d951=_0x651b9[_0x3d8ae8(0x134)](_0x29d951[_0x3d8ae8(0x172)],0x0)?path[_0x3d8ae8(0x149)](_0x29d951):'',process[_0x3d8ae8(0x183)]['USER_CONFIG_DETAILS_PATH']=_0x29d951;const _0x5602f2=helper['getProxyUrl'](_0x549c13[_0x3d8ae8(0x178)]);_0x5602f2&&(_0x53b990=_0x651b9['ZKpmM']('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x5602f2+_0x3d8ae8(0x129),_0x53b990));helper[_0x3d8ae8(0x11b)]({},_0x87647e),fs[_0x3d8ae8(0x107)](_0x2d527f,_0x53b990),PerformanceTester[_0x3d8ae8(0x15d)](PerformanceEvents['SDK_SETUP']);const _0x113f90=_0x651b9[_0x3d8ae8(0xf8)](spawn,_0x651b9[_0x3d8ae8(0x186)],[_0x651b9[_0x3d8ae8(0x18c)],_0x651b9[_0x3d8ae8(0x15a)],_0x651b9[_0x3d8ae8(0x121)],_0x2d527f,..._0x87647e[_0x3d8ae8(0x103)](0x2)],{'shell':_0x651b9[_0x3d8ae8(0x181)](process[_0x3d8ae8(0x173)],_0x651b9[_0x3d8ae8(0xf4)]),'stdio':_0x651b9[_0x3d8ae8(0x100)],'cwd':process['cwd'](),'env':Object[_0x3d8ae8(0x14b)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x3d8ae8(0x12d)](_0x56ea80),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x549c13[_0x3d8ae8(0x178)]['testContextOptions'][_0x3d8ae8(0x158)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x549c13[_0x3d8ae8(0x178)][_0x3d8ae8(0x113)][_0x3d8ae8(0x159)],'BROWSERSTACK_LOG_LEVEL':_0x549c13['config']['logLevel']})}),_0x1cd1a7=()=>{const _0x369741=_0x3d8ae8;try{const _0xaa1443=path[_0x369741(0x13e)](helper[_0x369741(0x132)](),_0x2144a9[_0x369741(0x171)],_0x2144a9[_0x369741(0x12f)]);if(fs[_0x369741(0x151)](_0xaa1443)){let _0x6ffef8=fs[_0x369741(0x17c)](_0xaa1443);_0x6ffef8=JSON[_0x369741(0x14c)](_0x6ffef8),_0x549c13[_0x369741(0x174)]=_0x6ffef8,fs[_0x369741(0xfa)](_0xaa1443);}}catch(_0x57d400){logger[_0x369741(0xf5)](_0x2144a9[_0x369741(0x165)](_0x2144a9[_0x369741(0x16d)],_0x57d400));}};_0x113f90['on'](_0x651b9['RkLOG'],async _0x9d1563=>{const _0x2985c3=_0x3d8ae8;try{const _0x5540d5=_0x2144a9[_0x2985c3(0x13b)][_0x2985c3(0x16b)]('|');let _0x4c80a1=0x0;while(!![]){switch(_0x5540d5[_0x4c80a1++]){case'0':PerformanceTester['start'](PerformanceEvents[_0x2985c3(0x145)]);continue;case'1':fs[_0x2985c3(0xfa)](_0x1b9963);continue;case'2':await utilities['finalExecution'](_0x549c13);continue;case'3':await TestHubHandler[_0x2985c3(0x179)]();continue;case'4':logger[_0x2985c3(0xf5)](_0x2985c3(0x12b)+_0x9d1563);continue;case'5':_0x2144a9[_0x2985c3(0x105)](_0x1cd1a7);continue;case'6':logger[_0x2985c3(0xf5)](_0x2985c3(0x12e)+_0x1b9963);continue;case'7':logger[_0x2985c3(0x128)]('Deleting\x20'+_0x2d527f);continue;case'8':process[_0x2985c3(0x10a)]=_0x9d1563;continue;case'9':fs[_0x2985c3(0xfa)](_0x2d527f);continue;}break;}}catch(_0x4bee9e){logger[_0x2985c3(0xf5)](_0x2144a9['QIaPW'](_0x2144a9[_0x2985c3(0x153)],_0x4bee9e));}});})();}function a35_0x54e9(){const _0x3520a5=['./accessibility-helper','BROWSERSTACK_PW_CONFIG_DIR','cliConfig','qXZNO','launchBuild','cwd','QIaPW','--grep','child_process','npx','--config=','.browserstack','split','clearTempPWConfig','aFkQx','0|5|3|2|8|4|7|9|6|1','lTUoZ','includes','NwcOR','length','platform','errorMessage','stringify','jMxXE','kxIIa','config','stop','util','yEJXJ','readFileSync','trim','nestedKeyValue','2738340hsvAgg','kTDch','jfOsc','playwright-browserstack-sdk.config.js','env','playwright-browserstack-sdk.config.cjs','dOlMq','fGLfo','IzrdF','../../helpers/accessibility-automation/helper','53498853YrJdsz','BROWSERSTACK_RERUN_TESTS','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','hNrLm','BYSnk','PACKAGE_TYPE','18vTpidA','ZMDki','EXjTl','debug','KLqQT','win32','Rgrjd','concat','unlinkSync','resolvedConfigFile','winstonLogger','../../helpers/logger','isTrue','qkDPw','njpWF','bHGYq','PrnIe','slice','MHKnf','QoTCt','1365022HkxBbC','writeFileSync','1701995wLsMNo','path','exitCode','mffva','BROWSERSTACK_AUTOMATION','./reporter/pwUtils','TcrdH','PLAYWRIGHT','../../helpers/test-observability/constants','get','apply','testContextOptions','error','12670912XGpuAq','--disable-test-observability','SDK_PRE_INITIALIZE','TbToP','Mture','isFalse','filterBrowserstackArgs','2934448WsZLqP','../../helpers/performance/performance-tester','FCwIW','close','IQVqC','yFQUP','findIndex','push','filter','2TFZLqF','NIuxj','--disable-browserstack-automation','info','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','../../helpers/utilities','Playwright\x20process\x20exited\x20with\x20code\x20','getPackageType','getConfigPath','Deleting\x20','YcpaR','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../utils/constants','homedir','aDntj','OueKx','inherit','BROWSERSTACK_RERUN','testObservability','accessibilityOptions','playwright','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','XOwdE','QsNcT','LGfDM','join','4685121PfOCul','--config','../../helpers/helper','BROWSERSTACK_SETUP_CONFIG_PATH','HoMgC','xaUBG','SDK_CLEANUP','EVENTS','BROWSERSTACK_TEST_OBSERVABILITY','map','resolve','isTypescriptProject','assign','parse','VChGi','dirname','test','Error\x20in\x20getting\x20funnel\x20data\x20results','existsSync','XlMTo','BKjus','ZKpmM','Error\x20in\x20deleting\x20playwright\x20results','isUndefined','accessibility','skipSessionStatus','skipSessionName','CYkdO','yfqKo','SDK_POST_INITIALIZE','end','initialize'];a35_0x54e9=function(){return _0x3520a5;};return a35_0x54e9();}module['exports']=run;
@@ -1 +1 @@
1
- const a36_0x4e6981=a36_0x1b75;(function(_0x3eaf27,_0x542de4){const _0x4beced=a36_0x1b75,_0x10c2a8=_0x3eaf27();while(!![]){try{const _0x4161dd=parseInt(_0x4beced(0x111))/0x1+parseInt(_0x4beced(0xf2))/0x2*(-parseInt(_0x4beced(0x106))/0x3)+-parseInt(_0x4beced(0xfb))/0x4*(parseInt(_0x4beced(0x110))/0x5)+parseInt(_0x4beced(0x108))/0x6*(-parseInt(_0x4beced(0xff))/0x7)+parseInt(_0x4beced(0x114))/0x8+parseInt(_0x4beced(0xf8))/0x9+-parseInt(_0x4beced(0xf6))/0xa*(-parseInt(_0x4beced(0xf3))/0xb);if(_0x4161dd===_0x542de4)break;else _0x10c2a8['push'](_0x10c2a8['shift']());}catch(_0x1a48d3){_0x10c2a8['push'](_0x10c2a8['shift']());}}}(a36_0x277f,0x59da4));function a36_0x1b75(_0x24d72b,_0x282c81){const _0x277ff8=a36_0x277f();return a36_0x1b75=function(_0x1b7517,_0x7003d0){_0x1b7517=_0x1b7517-0xe4;let _0x459399=_0x277ff8[_0x1b7517];return _0x459399;},a36_0x1b75(_0x24d72b,_0x282c81);}const util=require('util'),child_process=require(a36_0x4e6981(0x105)),{FRAMEWORKS}=require(a36_0x4e6981(0x100)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a36_0x4e6981(0x109)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x4e6981(0xf7)),{mockIsWorkerRedundant}=require(a36_0x4e6981(0x10a)),logger=require(a36_0x4e6981(0xee))[a36_0x4e6981(0xfd)];module[a36_0x4e6981(0xf1)]=async function(_0x1e579e){const _0x5554f3=a36_0x4e6981,_0x4a78e2={'LZEpm':function(_0x38678b,_0x36332a){return _0x38678b(_0x36332a);},'sBuGn':function(_0x1fe877){return _0x1fe877();},'yGOZI':_0x5554f3(0xfa),'sSQsi':function(_0x4e307d){return _0x4e307d();},'HKVaP':function(_0x2f96aa,_0x127ec5){return _0x2f96aa(_0x127ec5);},'qiWKD':'Running\x20existing\x20global\x20setup','WXPhI':function(_0x4f4945,_0x4d3e78){return _0x4f4945(_0x4d3e78);},'gBXml':function(_0x43f6bd,_0xbdaff4){return _0x43f6bd>=_0xbdaff4;},'IAzQz':_0x5554f3(0x102),'Bvamd':function(_0x46ed21,_0x41a909,_0xd806a4){return _0x46ed21(_0x41a909,_0xd806a4);},'rnItY':function(_0xd27323,_0x49642d){return _0xd27323!==_0x49642d;},'HuejM':_0x5554f3(0xeb),'xoLVJ':'Not\x20able\x20to\x20import\x20globalSetup','OxWQN':function(_0x5e32f8,_0x1a0543){return _0x5e32f8(_0x1a0543);}},_0x30366f=child_process[_0x5554f3(0xfc)];if(helper[_0x5554f3(0x10f)]())try{_0x4a78e2[_0x5554f3(0xe8)](mockIsWorkerRedundant);}catch(_0xd8ef02){logger['debug'](_0x5554f3(0xe9)+util['format'](_0xd8ef02));}child_process[_0x5554f3(0xfc)]=function(){const _0x337f8f=_0x5554f3;return _0x4a78e2[_0x337f8f(0xe7)](debug,_0x337f8f(0xf9)+arguments[0x0]),arguments[0x0][_0x337f8f(0xef)](_0x4a78e2[_0x337f8f(0xe8)](getForkProcessPath))?arguments[0x0]=require[_0x337f8f(0xec)](_0x4a78e2[_0x337f8f(0xea)]):logger[_0x337f8f(0x113)](_0x337f8f(0xf5)+_0x4a78e2[_0x337f8f(0xe5)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x30366f[_0x337f8f(0x104)](null,arguments);};if(process[_0x5554f3(0x10b)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x4a78e2[_0x5554f3(0x10d)](debug,_0x4a78e2[_0x5554f3(0x101)]);try{const {loadGlobalHook:_0x34f76f}=helper[_0x5554f3(0x115)]['apply'](null,_0x4a78e2[_0x5554f3(0xe5)](getLoadUtilsPath)),_0x28b4bd=_0x4a78e2[_0x5554f3(0x112)](getFrameworkVersion,FRAMEWORKS[_0x5554f3(0x10e)]);let _0x1dfa9f=_0x1e579e;if(_0x4a78e2[_0x5554f3(0xed)](helper[_0x5554f3(0x107)](_0x28b4bd,_0x4a78e2[_0x5554f3(0x103)]),0x0)){const _0x140d6b={};_0x140d6b['config']=_0x1e579e,_0x1dfa9f=_0x140d6b;}const _0x3c3785=await _0x4a78e2['Bvamd'](_0x34f76f,_0x1dfa9f,process[_0x5554f3(0x10b)][_0x5554f3(0xe6)]);if(_0x4a78e2[_0x5554f3(0x10c)](typeof _0x3c3785,_0x4a78e2[_0x5554f3(0xf0)]))throw new Error(_0x4a78e2['xoLVJ']);return _0x3c3785['apply'](null,arguments);}catch(_0x3b2b7f){_0x4a78e2[_0x5554f3(0xe4)](debug,_0x5554f3(0xf4)+_0x3b2b7f[_0x5554f3(0xfe)]());}}};function a36_0x277f(){const _0x4d8de6=['requirePWModule','OxWQN','sSQsi','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','LZEpm','sBuGn','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','yGOZI','function','resolve','gBXml','../../helpers/logger','includes','HuejM','exports','22WosqJv','1678413ybVeab','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','Path\x20','30TPwLXl','./reporter/pwUtils','1462185rnpAzk','Call\x20to\x20child\x20fork\x20with\x20args\x20','./mock-process.js','532lZEFQA','fork','winstonLogger','toString','2755823ORZwUl','../../helpers/test-observability/constants','qiWKD','1.33.0','IAzQz','apply','child_process','26946fYmunH','compareVersions','6pKeAGt','../../helpers/helper','./patches','env','rnItY','HKVaP','PLAYWRIGHT','isHandlePWErrorSet','23605HvidoN','680619CADWcC','WXPhI','error','1500696MIOwvH'];a36_0x277f=function(){return _0x4d8de6;};return a36_0x277f();}
1
+ const a36_0x311297=a36_0x861b;function a36_0x8d7b(){const _0x32bb4f=['1.33.0','\x20is\x20not\x20found','2843685SkjjgG','1791VkVZUe','wQhTr','requirePWModule','isHandlePWErrorSet','Path\x20','../../helpers/test-observability/constants','ZRkOM','fork','error','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','nbhWh','14035824wvxymR','OoQLu','462838UAZlbN','eqMvh','12EmHMwy','36xsByEg','KNIqY','env','20lnfGJo','WRPBc','455765UgEyye','./mock-process.js','5NEIOMJ','84IxiFhR','tQCzc','PLAYWRIGHT','./reporter/pwUtils','iLnzW','includes','format','tsubE','1316ztWyWb','5438329eqroBO','832008hpoXfO','riwCG','config','RHouF','child_process','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','../../helpers/helper','eOAZh','apply','resolve','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','winstonLogger','debug','Running\x20existing\x20global\x20setup','../../helpers/logger','Call\x20to\x20child\x20fork\x20with\x20args\x20','util'];a36_0x8d7b=function(){return _0x32bb4f;};return a36_0x8d7b();}function a36_0x861b(_0x22002e,_0x19b3a1){const _0x8d7b82=a36_0x8d7b();return a36_0x861b=function(_0x861b3b,_0x4e24d5){_0x861b3b=_0x861b3b-0x188;let _0x5dc6cd=_0x8d7b82[_0x861b3b];return _0x5dc6cd;},a36_0x861b(_0x22002e,_0x19b3a1);}(function(_0x1d0e7f,_0x457d95){const _0x30fb55=a36_0x861b,_0x39aa49=_0x1d0e7f();while(!![]){try{const _0x1d5d2e=-parseInt(_0x30fb55(0x1b8))/0x1*(parseInt(_0x30fb55(0x1ae))/0x2)+-parseInt(_0x30fb55(0x1a1))/0x3*(parseInt(_0x30fb55(0x18b))/0x4)+parseInt(_0x30fb55(0x1b6))/0x5*(parseInt(_0x30fb55(0x1b0))/0x6)+-parseInt(_0x30fb55(0x1b9))/0x7*(-parseInt(_0x30fb55(0x18d))/0x8)+parseInt(_0x30fb55(0x1a0))/0x9*(parseInt(_0x30fb55(0x1b4))/0xa)+parseInt(_0x30fb55(0x1ac))/0xb+parseInt(_0x30fb55(0x1b1))/0xc*(-parseInt(_0x30fb55(0x18c))/0xd);if(_0x1d5d2e===_0x457d95)break;else _0x39aa49['push'](_0x39aa49['shift']());}catch(_0x5145fb){_0x39aa49['push'](_0x39aa49['shift']());}}}(a36_0x8d7b,0xb227d));const util=require(a36_0x311297(0x19d)),child_process=require(a36_0x311297(0x191)),{FRAMEWORKS}=require(a36_0x311297(0x1a6)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a36_0x311297(0x193)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x311297(0x1bc)),{mockIsWorkerRedundant}=require('./patches'),logger=require(a36_0x311297(0x19b))[a36_0x311297(0x198)];module['exports']=async function(_0xab2e90){const _0x25970d=a36_0x311297,_0x1a24d1={'WRPBc':function(_0x504203,_0x3c4c5b){return _0x504203(_0x3c4c5b);},'iLnzW':function(_0x21e3f0){return _0x21e3f0();},'OoQLu':_0x25970d(0x1b7),'oFOQc':function(_0xf1a940){return _0xf1a940();},'KNIqY':function(_0x50db97){return _0x50db97();},'RHouF':_0x25970d(0x19a),'eqMvh':function(_0x47e692){return _0x47e692();},'wQhTr':function(_0x319b24,_0x13f432){return _0x319b24(_0x13f432);},'eOAZh':function(_0x5e6a6b,_0x2ea817){return _0x5e6a6b>=_0x2ea817;},'riwCG':_0x25970d(0x19e),'GTDiD':function(_0x1bda68,_0x5c6e24,_0x52cda7){return _0x1bda68(_0x5c6e24,_0x52cda7);},'tsubE':function(_0x379f9f,_0x1e7b9a){return _0x379f9f!==_0x1e7b9a;},'tQCzc':'function','ZRkOM':'Not\x20able\x20to\x20import\x20globalSetup','nbhWh':function(_0x47d810,_0x3df816){return _0x47d810(_0x3df816);}},_0x5a9dd1=child_process['fork'];if(helper[_0x25970d(0x1a4)]())try{_0x1a24d1[_0x25970d(0x1b2)](mockIsWorkerRedundant);}catch(_0x213772){logger[_0x25970d(0x199)](_0x25970d(0x1aa)+util[_0x25970d(0x189)](_0x213772));}child_process[_0x25970d(0x1a8)]=function(){const _0x59ce1c=_0x25970d;return _0x1a24d1[_0x59ce1c(0x1b5)](debug,_0x59ce1c(0x19c)+arguments[0x0]),arguments[0x0][_0x59ce1c(0x188)](_0x1a24d1[_0x59ce1c(0x1bd)](getForkProcessPath))?arguments[0x0]=require[_0x59ce1c(0x196)](_0x1a24d1[_0x59ce1c(0x1ad)]):logger[_0x59ce1c(0x1a9)](_0x59ce1c(0x1a5)+_0x1a24d1['oFOQc'](getForkProcessPath)+_0x59ce1c(0x19f)),_0x5a9dd1[_0x59ce1c(0x195)](null,arguments);};if(process[_0x25970d(0x1b3)][_0x25970d(0x197)]){_0x1a24d1[_0x25970d(0x1b5)](debug,_0x1a24d1[_0x25970d(0x190)]);try{const {loadGlobalHook:_0x590d63}=helper[_0x25970d(0x1a3)][_0x25970d(0x195)](null,_0x1a24d1[_0x25970d(0x1af)](getLoadUtilsPath)),_0x552a3c=_0x1a24d1[_0x25970d(0x1a2)](getFrameworkVersion,FRAMEWORKS[_0x25970d(0x1bb)]);let _0x267934=_0xab2e90;if(_0x1a24d1[_0x25970d(0x194)](helper['compareVersions'](_0x552a3c,_0x1a24d1[_0x25970d(0x18e)]),0x0)){const _0x47a118={};_0x47a118[_0x25970d(0x18f)]=_0xab2e90,_0x267934=_0x47a118;}const _0x58436e=await _0x1a24d1['GTDiD'](_0x590d63,_0x267934,process['env'][_0x25970d(0x197)]);if(_0x1a24d1[_0x25970d(0x18a)](typeof _0x58436e,_0x1a24d1[_0x25970d(0x1ba)]))throw new Error(_0x1a24d1[_0x25970d(0x1a7)]);return _0x58436e[_0x25970d(0x195)](null,arguments);}catch(_0x500a0d){_0x1a24d1[_0x25970d(0x1ab)](debug,_0x25970d(0x192)+_0x500a0d['toString']());}}};