browserstack-node-sdk 1.32.7 → 1.32.9

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 (117) 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/templates/autoscaler/deployment.yaml +1 -1
  25. package/ats/src/utils/AWSUtils.js +1 -1
  26. package/ats/src/utils/createAutoscalerStack.js +1 -1
  27. package/ats/src/utils/createClusterStack.js +1 -1
  28. package/ats/src/utils/createk8sClient.js +1 -1
  29. package/ats/src/utils/deleteStack.js +1 -1
  30. package/ats/src/utils/gridComponents.js +1 -1
  31. package/ats/src/utils/hstUtils.js +1 -1
  32. package/ats/src/utils/instrumentationUtils.js +1 -1
  33. package/ats/src/utils/userInput.js +1 -1
  34. package/ats/src/utils/utilityMethods.js +1 -1
  35. package/ats/src/utils/webSocketUtils.js +1 -1
  36. package/package.json +5 -3
  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.setup.js +1 -1
  45. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  46. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  47. package/src/bin/integrations/command.js +2 -0
  48. package/src/bin/integrations/constants.js +1 -0
  49. package/src/bin/jest/command.js +1 -1
  50. package/src/bin/jest/customImplements/customCircus.js +1 -1
  51. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  52. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  53. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  54. package/src/bin/jest/jest.setup.js +1 -1
  55. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  56. package/src/bin/jest/test-observability/helper.js +1 -1
  57. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  58. package/src/bin/jest/test-observability/test-details.js +1 -1
  59. package/src/bin/jest/test_before.setup.js +1 -1
  60. package/src/bin/launcher/launcher.js +1 -1
  61. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  62. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  63. package/src/bin/mocha/command.js +1 -1
  64. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  65. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  66. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  67. package/src/bin/mocha/test.setup.js +1 -1
  68. package/src/bin/nightwatch/command.js +1 -1
  69. package/src/bin/playwright/accessibility-helper.js +1 -1
  70. package/src/bin/playwright/command.js +1 -1
  71. package/src/bin/playwright/globalSetup.js +1 -1
  72. package/src/bin/playwright/mock-process.js +1 -1
  73. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  74. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  75. package/src/bin/playwright/reporter/reporter.js +1 -1
  76. package/src/bin/playwright/reporter/test-details.js +1 -1
  77. package/src/bin/playwright/sessionDetails.js +1 -1
  78. package/src/bin/runner.js +1 -1
  79. package/src/bin/setup.js +1 -1
  80. package/src/bin/test-runner/index.js +1 -1
  81. package/src/bin/test-runner/runTest.js +1 -1
  82. package/src/bin/test-runner/testWorker.js +1 -1
  83. package/src/bin/utils/constants.js +1 -1
  84. package/src/bin/utils/log4jsAppender.js +1 -1
  85. package/src/bin/utils/logPatcher.js +1 -1
  86. package/src/bin/utils/logReportingAPI.js +1 -1
  87. package/src/bin/vanilla-js/command.js +1 -1
  88. package/src/browserStackSdk.js +1 -1
  89. package/src/helpers/BrowserStackSetup.js +1 -1
  90. package/src/helpers/accessibility-automation/constants.js +1 -1
  91. package/src/helpers/accessibility-automation/helper.js +1 -1
  92. package/src/helpers/accessibility-automation/scripts.js +1 -1
  93. package/src/helpers/ats/constants.js +1 -1
  94. package/src/helpers/ats/helper.js +1 -1
  95. package/src/helpers/capsMapping.js +1 -1
  96. package/src/helpers/globals.js +1 -1
  97. package/src/helpers/helper.js +1 -1
  98. package/src/helpers/logger.js +1 -1
  99. package/src/helpers/patchHelpers.js +1 -1
  100. package/src/helpers/percy/Percy.js +1 -1
  101. package/src/helpers/percy/PercyBinary.js +1 -1
  102. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  103. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  104. package/src/helpers/percy/PercySDK.js +1 -1
  105. package/src/helpers/percy/index.js +1 -1
  106. package/src/helpers/percy/utils.js +1 -1
  107. package/src/helpers/performance-tester.js +1 -1
  108. package/src/helpers/request-spy.js +1 -1
  109. package/src/helpers/setKeepAlive.js +1 -1
  110. package/src/helpers/test-observability/constants.js +1 -1
  111. package/src/helpers/test-observability/error-handler.js +1 -1
  112. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  113. package/src/helpers/test-observability/sessionHandler.js +1 -1
  114. package/src/helpers/test-observability/utils.js +1 -1
  115. package/src/helpers/w3cMapping.js +1 -1
  116. package/src/hubAllocationMethods.js +1 -1
  117. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a25_0x706c9d=a25_0x220f;function a25_0x220f(_0x43775e,_0xac4bec){const _0x29e5f9=a25_0x29e5();return a25_0x220f=function(_0x220f5e,_0x58cd31){_0x220f5e=_0x220f5e-0x17d;let _0x16edf1=_0x29e5f9[_0x220f5e];return _0x16edf1;},a25_0x220f(_0x43775e,_0xac4bec);}(function(_0x34d8b5,_0x44e128){const _0x173b11=a25_0x220f,_0x32a128=_0x34d8b5();while(!![]){try{const _0x40463b=-parseInt(_0x173b11(0x1c8))/0x1+parseInt(_0x173b11(0x1df))/0x2+parseInt(_0x173b11(0x1bc))/0x3*(-parseInt(_0x173b11(0x19a))/0x4)+parseInt(_0x173b11(0x181))/0x5*(-parseInt(_0x173b11(0x1cd))/0x6)+-parseInt(_0x173b11(0x1ac))/0x7+-parseInt(_0x173b11(0x1e4))/0x8*(-parseInt(_0x173b11(0x1ae))/0x9)+parseInt(_0x173b11(0x17e))/0xa;if(_0x40463b===_0x44e128)break;else _0x32a128['push'](_0x32a128['shift']());}catch(_0x32ec93){_0x32a128['push'](_0x32a128['shift']());}}}(a25_0x29e5,0x81c46));const logger=require(a25_0x706c9d(0x1f1))[a25_0x706c9d(0x1c6)],helper=require(a25_0x706c9d(0x19c)),constants=require(a25_0x706c9d(0x193)),hubAllocator=require(a25_0x706c9d(0x1c5)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a25_0x706c9d(0x1e2)),{setAccessibilityCapabilities,setExtension}=require(a25_0x706c9d(0x1ca)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a25_0x706c9d(0x1a8)),globals=require(a25_0x706c9d(0x1b0)),modify=(_0x22953c,_0x4bf8d6=null,_0xed9718=![])=>{const _0x3ee24b=a25_0x706c9d,_0xc99d0c={'RGuPn':function(_0x3e6351,_0x30ae17){return _0x3e6351!==_0x30ae17;},'YRXwJ':'/session','pBIpT':function(_0x1d5fa2,_0x6fbfaf){return _0x1d5fa2!==_0x6fbfaf;},'NfXgN':function(_0xe04da2,_0x5205d3){return _0xe04da2+_0x5205d3;},'QIdVR':function(_0x4d0113,_0x137e18){return _0x4d0113+_0x137e18;},'VzWzT':_0x3ee24b(0x19d),'UYhOJ':_0x3ee24b(0x1dd),'HKXYz':_0x3ee24b(0x198),'ZfIrV':_0x3ee24b(0x1f3),'ZIuqp':_0x3ee24b(0x199),'lRvJS':_0x3ee24b(0x1ce),'Mwjue':'moz:firefoxOptions','SRSMp':'firefoxOptions','MaSLQ':'safari.options','jkVfB':_0x3ee24b(0x1ed),'ohkVd':_0x3ee24b(0x17f),'mqdKU':function(_0x2aaf85,_0x55705a){return _0x2aaf85===_0x55705a;},'LPeHf':_0x3ee24b(0x187),'muXWD':_0x3ee24b(0x1d1),'qVYPV':function(_0xccbe1b,_0x3b74c9,_0x3a42e4){return _0xccbe1b(_0x3b74c9,_0x3a42e4);},'gNYuR':_0x3ee24b(0x1d2),'VfcDt':_0x3ee24b(0x180),'IFLno':_0x3ee24b(0x1be),'aRPVp':function(_0x1b6f89,_0x48939b){return _0x1b6f89(_0x48939b);},'NSzow':function(_0x1e86f9,_0x16b832,_0x10fde9){return _0x1e86f9(_0x16b832,_0x10fde9);},'vvbLR':_0x3ee24b(0x1f0),'KXOmo':_0x3ee24b(0x1f7),'Rtlzi':function(_0x4a6a1c){return _0x4a6a1c();},'qViyg':function(_0x2c919d,_0x46ab3f){return _0x2c919d(_0x46ab3f);},'vhlMI':_0x3ee24b(0x18a),'ZLqCA':function(_0x41fb2b,_0x3b5ea0){return _0x41fb2b(_0x3b5ea0);},'zMZyv':function(_0x38773e,_0x3f8cd3){return _0x38773e!==_0x3f8cd3;},'eUNjN':function(_0x28595d,_0x47932d){return _0x28595d!==_0x47932d;},'gyUwq':_0x3ee24b(0x19e),'PMJlZ':'Modifying\x20webdriver\x20builder'},_0x3414fc=helper['requireHttpClient']();let _0x437c46;try{_0x437c46=helper['requireSeleniumWebdriver'](),_0x437c46[_0x3ee24b(0x1e8)]&&(_0x437c46[_0x3ee24b(0x1c9)]=_0x437c46[_0x3ee24b(0x1e8)]);}catch(_0x57f803){return;}if(helper[_0x3ee24b(0x1ee)]()){const _0x3012d0={};_0x3012d0[_0x3ee24b(0x1b2)]=_0x22953c['browserStackLogLevel'],helper[_0x3ee24b(0x19f)](_0x3012d0,new Map(),new Map()),logger[_0x3ee24b(0x184)](_0xc99d0c['gyUwq']),logger['debug'](_0xc99d0c[_0x3ee24b(0x1a4)]);}class _0x5241ee extends _0x3414fc[_0x3ee24b(0x1b8)]{['send'](_0x5502a4){const _0x170275=_0x3ee24b;if(_0xc99d0c['RGuPn'](_0x5502a4['path'],_0xc99d0c[_0x170275(0x1e6)])&&_0xc99d0c['pBIpT'](global['newHubUrl'],''))try{global[_0x170275(0x1ad)]=_0xc99d0c[_0x170275(0x1ec)](_0xc99d0c[_0x170275(0x1a9)](_0xc99d0c[_0x170275(0x1b7)],global[_0x170275(0x1ad)]),_0xc99d0c[_0x170275(0x1da)]),this[_0x170275(0x1b6)]=hubAllocator['getRequestOptions'](global['newHubUrl']),logger['debug'](_0x170275(0x1c3)+global[_0x170275(0x1ad)]),global[_0x170275(0x1ad)]='';}catch(_0x1e7f94){logger[_0x170275(0x1d8)](_0x1e7f94);}return super[_0x170275(0x19b)](_0x5502a4);}}class _0x51feee extends _0x437c46['Builder']{[_0x3ee24b(0x1ab)](){const _0x374592=_0x3ee24b;return this[_0x374592(0x17d)]=helper['getHubUrl'](_0x22953c),logger[_0x374592(0x1bd)](_0x374592(0x190)+this['url_']),this;}[_0x3ee24b(0x1f2)](_0x5620a7){const _0x149864=_0x3ee24b;let _0x253262={};for(const _0x374dfd in _0x5620a7){switch(_0x374dfd){case _0xc99d0c['HKXYz']:case _0xc99d0c[_0x149864(0x196)]:this['chromeOptions_']&&(_0x253262=this[_0x149864(0x1e5)][_0x149864(0x1ef)](this[_0x149864(0x1e5)][_0x149864(0x194)])||{},this[_0x149864(0x1e5)]['set'](this[_0x149864(0x1e5)][_0x149864(0x194)],helper[_0x149864(0x195)](_0x253262,_0x5620a7[_0x374dfd])));break;case _0xc99d0c['ZIuqp']:case _0xc99d0c[_0x149864(0x1cf)]:this['edgeOptions_']&&(_0x253262=this['edgeOptions_'][_0x149864(0x1ef)](this[_0x149864(0x182)][_0x149864(0x194)])||{},this[_0x149864(0x182)][_0x149864(0x1db)](this['edgeOptions_'][_0x149864(0x194)],helper['mergeDeep'](_0x253262,_0x5620a7[_0x374dfd])));break;case _0xc99d0c[_0x149864(0x1b5)]:case _0xc99d0c[_0x149864(0x1e3)]:this[_0x149864(0x1cb)]&&(_0x253262=this[_0x149864(0x1cb)][_0x149864(0x1ef)](this[_0x149864(0x1cb)][_0x149864(0x194)])||{},this[_0x149864(0x1cb)]['set'](this[_0x149864(0x1cb)]['CAPABILITY_KEY'],helper[_0x149864(0x195)](_0x253262,_0x5620a7[_0x374dfd])));break;case _0xc99d0c[_0x149864(0x1c1)]:this['safariOptions_']&&(_0x253262=this[_0x149864(0x1d3)][_0x149864(0x1ef)](this[_0x149864(0x1d3)]['CAPABILITY_KEY'])||{},this['safariOptions_'][_0x149864(0x1db)](this[_0x149864(0x1d3)][_0x149864(0x194)],helper[_0x149864(0x195)](_0x253262,_0x5620a7[_0x374dfd])));break;case _0xc99d0c[_0x149864(0x192)]:case _0xc99d0c[_0x149864(0x1d4)]:this['ieOptions_']&&(_0x253262=this[_0x149864(0x1bf)][_0x149864(0x1ef)](this[_0x149864(0x1bf)][_0x149864(0x194)])||{},this[_0x149864(0x1bf)][_0x149864(0x1db)](this[_0x149864(0x1bf)][_0x149864(0x194)],helper[_0x149864(0x195)](_0x253262,_0x5620a7[_0x374dfd])));break;}}}[_0x3ee24b(0x18d)](){const _0x5b1100=_0x3ee24b;return logger[_0x5b1100(0x1bd)](_0xc99d0c['muXWD']),this[_0x5b1100(0x1f2)](_0x22953c[_0x5b1100(0x1b9)]),Object[_0x5b1100(0x1e9)](_0x22953c[_0x5b1100(0x1b9)])[_0x5b1100(0x1a2)](_0x4333ec=>{const _0x41c8e6=_0x5b1100,_0x2cdad3=this[_0x41c8e6(0x1b1)][_0x41c8e6(0x1ef)](_0x4333ec);_0xc99d0c[_0x41c8e6(0x1dc)](typeof _0x2cdad3,_0xc99d0c['LPeHf'])?this[_0x41c8e6(0x1b1)][_0x41c8e6(0x1db)](_0x4333ec,helper[_0x41c8e6(0x195)](_0x2cdad3,_0x22953c[_0x41c8e6(0x1b9)][_0x4333ec])):this[_0x41c8e6(0x1b1)][_0x41c8e6(0x1db)](_0x4333ec,_0x22953c[_0x41c8e6(0x1b9)][_0x4333ec]);}),this;}['build'](){const _0x48f95e=_0x3ee24b,_0x742cd1={'Ofgtu':_0xc99d0c[_0x48f95e(0x1a6)],'uCjrn':_0xc99d0c[_0x48f95e(0x1e1)],'hhNnE':function(_0x44039c,_0x46c9f5,_0x4301d1){return _0xc99d0c['qVYPV'](_0x44039c,_0x46c9f5,_0x4301d1);},'gbuAy':_0xc99d0c[_0x48f95e(0x1bb)],'efjbn':function(_0x5aa0a6,_0x1894b1){return _0xc99d0c['aRPVp'](_0x5aa0a6,_0x1894b1);},'stLLl':function(_0x3a1d5d,_0x1d4d30,_0x7a8aca){const _0x305475=_0x48f95e;return _0xc99d0c[_0x305475(0x1d9)](_0x3a1d5d,_0x1d4d30,_0x7a8aca);}};if(helper['isBrowserstackInfra']()){const _0x491df5=_0xc99d0c[_0x48f95e(0x188)]['split']('|');let _0x3ff896=0x0;while(!![]){switch(_0x491df5[_0x3ff896++]){case'0':logger[_0x48f95e(0x1bd)](_0xc99d0c[_0x48f95e(0x1b4)]);continue;case'1':if(helper[_0x48f95e(0x189)](_0x22953c[_0x48f95e(0x1ba)][_0x48f95e(0x1d0)]))this[_0x48f95e(0x1f5)]=helper[_0x48f95e(0x1a1)](_0x22953c['proxySettings'][_0x48f95e(0x1d0)]);else _0x22953c[_0x48f95e(0x1ba)][_0x48f95e(0x1d0)]&&(this[_0x48f95e(0x1de)]=_0x22953c[_0x48f95e(0x1ba)][_0x48f95e(0x1d0)],logger[_0x48f95e(0x1bd)](_0x48f95e(0x183)+this[_0x48f95e(0x1de)]));continue;case'2':_0xc99d0c['Rtlzi'](isAccessibilityAutomationSession)&&_0xc99d0c['qViyg'](setAccessibilityCapabilities,_0x22953c);continue;case'3':this[_0x48f95e(0x18d)]();continue;case'4':this[_0x48f95e(0x1ab)]();continue;case'5':globals[_0x48f95e(0x1c2)](_0xc99d0c[_0x48f95e(0x1d6)])&&(!_0xc99d0c['NSzow'](setExtension,this,_0x22953c)&&globals[_0x48f95e(0x1eb)](_0xc99d0c[_0x48f95e(0x1d6)],![]));continue;}break;}}const _0x3f5c22=super['build']();return _0x3f5c22[_0x48f95e(0x1a7)][_0x48f95e(0x197)](_0x32c22c=>{const _0x584dab=_0x48f95e;try{const _0x5bf8b9=_0x32c22c[_0x584dab(0x1f4)][_0x584dab(0x1ef)](_0x742cd1[_0x584dab(0x1a0)]);_0x5bf8b9?(logger[_0x584dab(0x1bd)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x5bf8b9),hubAllocator[_0x584dab(0x186)](_0x5bf8b9),helper['storeOptimalHubUrl'](_0x5bf8b9)):logger[_0x584dab(0x1bd)](_0x742cd1[_0x584dab(0x1ea)]);}catch(_0x5b7595){logger['debug'](_0x584dab(0x1d5)+_0x5b7595);}}),_0x3f5c22[_0x48f95e(0x1af)]=0x0,_0x3f5c22['then']&&_0x3f5c22['then'](_0xc71533=>{const _0x5c1460=_0x48f95e,_0x185033=_0x742cd1[_0x5c1460(0x18e)][_0x5c1460(0x1e0)]('|');let _0x29cc89=0x0;while(!![]){switch(_0x185033[_0x29cc89++]){case'0':_0x742cd1[_0x5c1460(0x1c7)](overrideTakeScreenshot,_0xc71533);continue;case'1':_0x742cd1[_0x5c1460(0x1f6)](overrideQuit,_0xc71533,_0x3f5c22);continue;case'2':_0xc71533[_0x5c1460(0x1cc)]=async()=>{const _0x5678b9=_0x5c1460;return await _0x742cd1[_0x5678b9(0x1e7)](getAccessibilityResults,_0xc71533,global);};continue;case'3':helper[_0x5c1460(0x18c)](_0xc71533,_0x22953c);continue;case'4':helper['overrideGet'](_0xc71533,_0x22953c);continue;case'5':_0xc71533[_0x5c1460(0x1d7)]=async()=>{const _0x36e945=_0x5c1460;return await _0x742cd1[_0x36e945(0x1e7)](getAccessibilityResultsSummary,_0xc71533,global);};continue;}break;}}),_0x3f5c22[_0x48f95e(0x1d7)]=async()=>{return await _0xc99d0c['qVYPV'](getAccessibilityResultsSummary,_0x3f5c22,global);},_0x3f5c22[_0x48f95e(0x1cc)]=async()=>{return await _0x742cd1['stLLl'](getAccessibilityResults,_0x3f5c22,global);},_0xc99d0c[_0x48f95e(0x1b3)](overrideTakeScreenshot,_0x3f5c22),_0xc99d0c[_0x48f95e(0x1a5)](overrideQuit,_0x3f5c22),helper[_0x48f95e(0x18b)](_0x3f5c22,_0x22953c),helper[_0x48f95e(0x18c)](_0x3f5c22,_0x22953c),helper['isUndefined'](global[_0x48f95e(0x1aa)])&&(global[_0x48f95e(0x1aa)]=[]),helper['isUndefined'](global['__drivers'])&&(global[_0x48f95e(0x1a3)]=[]),global[_0x48f95e(0x1aa)]['push'](_0x3f5c22),global[_0x48f95e(0x191)]=_0x3f5c22,_0xc99d0c[_0x48f95e(0x1f8)](global[_0x48f95e(0x1a3)],undefined)&&global['__drivers']['push'](_0x3f5c22),_0x4bf8d6&&helper['isUndefined'](_0x4bf8d6[_0x48f95e(0x18f)]['__driversArray'])&&(_0x4bf8d6[_0x48f95e(0x18f)][_0x48f95e(0x1aa)]=[]),_0x4bf8d6&&_0xc99d0c[_0x48f95e(0x1c4)](_0x4bf8d6[_0x48f95e(0x18f)][_0x48f95e(0x1a3)],undefined)&&(_0x4bf8d6[_0x48f95e(0x18f)][_0x48f95e(0x1a3)][_0x48f95e(0x185)](_0x3f5c22),_0x4bf8d6['global'][_0x48f95e(0x1aa)]['push'](_0x3f5c22)),_0x3f5c22;}}return _0x437c46['originalBuilder']=_0x437c46[_0x3ee24b(0x1c9)],_0x437c46[_0x3ee24b(0x1c9)]=_0x51feee,_0x3414fc[_0x3ee24b(0x1b8)]=_0x5241ee,_0x437c46;};module['exports'][a25_0x706c9d(0x1c0)]=modify;function a25_0x29e5(){const _0x48fb0b=['browserstackAgentObservability','MaSLQ','getGlobal','New\x20hub\x20url\x20set\x20to\x20','eUNjN','../../../hubAllocationMethods','winstonLogger','efjbn','39421yzAjfQ','Builder','../accessibility-automation/helper','firefoxOptions_','getAccessibilityResults','24XceECB','edgeOptions','lRvJS','proxyUrl','Setting\x20Browserstack\x20capabilities','optimalHubUrl','safariOptions_','ohkVd','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','vhlMI','getAccessibilityResultsSummary','error','NSzow','UYhOJ','set','mqdKU','/wd/hub','proxy_','1620360TzdbbJ','split','VfcDt','../../../helpers/patchHelpers','SRSMp','8Kefacr','chromeOptions_','YRXwJ','hhNnE','originalBuilder','keys','uCjrn','setGlobal','NfXgN','se:ieOptions','isBrowserstackInfra','get','2|4|3|1|5|0','../../../helpers/logger','__setBrowserOptions','chromeOptions','caps_','agent_','stLLl','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','zMZyv','url_','18641240PEleQR','ieOptions','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','656070KLfIPo','edgeOptions_','Proxy\x20set\x20to\x20','info','push','updateHubUrl','object','vvbLR','isPacProxy','isAccessibilityPlatform','overrideGet','overrideExecute','setCapabilities','gbuAy','global','Hub\x20url\x20set\x20to\x20','__driver','jkVfB','../../../bin/utils/constants','CAPABILITY_KEY','mergeDeep','ZfIrV','then','goog:chromeOptions','ms:edgeOptions','4856nofapW','send','../../../helpers/helper','https://','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','setLogLevel','Ofgtu','getHttpAgent','forEach','__drivers','PMJlZ','aRPVp','gNYuR','session_','../../../helpers/accessibility-automation/helper','QIdVR','__driversArray','setServer','5545568lydyaR','newHubUrl','47259QPGbyj','quitCount_','../../../helpers/globals','capabilities_','logLevel','ZLqCA','KXOmo','Mwjue','options_','VzWzT','HttpClient','capability','proxySettings','IFLno','1956lSrWYR','debug','1|0|4|3|5|2','ieOptions_'];a25_0x29e5=function(){return _0x48fb0b;};return a25_0x29e5();}
1
+ const a27_0x5a5bdf=a27_0x3dc8;(function(_0x57cdf2,_0x41d539){const _0x53ddac=a27_0x3dc8,_0x1c7a45=_0x57cdf2();while(!![]){try{const _0x439f30=-parseInt(_0x53ddac(0x12e))/0x1*(parseInt(_0x53ddac(0x119))/0x2)+-parseInt(_0x53ddac(0x11d))/0x3+-parseInt(_0x53ddac(0x180))/0x4+parseInt(_0x53ddac(0x137))/0x5+parseInt(_0x53ddac(0x144))/0x6+parseInt(_0x53ddac(0x155))/0x7*(-parseInt(_0x53ddac(0x13b))/0x8)+parseInt(_0x53ddac(0x146))/0x9;if(_0x439f30===_0x41d539)break;else _0x1c7a45['push'](_0x1c7a45['shift']());}catch(_0x3f04e0){_0x1c7a45['push'](_0x1c7a45['shift']());}}}(a27_0x2c87,0x3d72e));const logger=require(a27_0x5a5bdf(0x15c))[a27_0x5a5bdf(0x127)],helper=require(a27_0x5a5bdf(0x10f)),constants=require(a27_0x5a5bdf(0x16d)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x5a5bdf(0x110)),{setAccessibilityCapabilities,setExtension}=require(a27_0x5a5bdf(0x133)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a27_0x5a5bdf(0x15e)),globals=require(a27_0x5a5bdf(0x154)),modify=(_0x33c319,_0x5c88a7=null,_0xae2b72=![])=>{const _0x5caff9=a27_0x5a5bdf,_0x443e60={'Yuyoi':function(_0x43e847,_0x325974){return _0x43e847!==_0x325974;},'DzSdU':_0x5caff9(0x14e),'rsdFP':function(_0x14dff0,_0x5ae997){return _0x14dff0!==_0x5ae997;},'eBlgg':function(_0x3eb05a,_0x346a75){return _0x3eb05a+_0x346a75;},'rPMnX':function(_0x353357,_0x1a483d){return _0x353357+_0x1a483d;},'FRAEX':_0x5caff9(0x152),'UCqVp':_0x5caff9(0x131),'ROiKy':'goog:chromeOptions','jYipM':_0x5caff9(0x141),'prHck':_0x5caff9(0x10e),'roXVN':_0x5caff9(0x177),'xMSYu':_0x5caff9(0x148),'zieDp':_0x5caff9(0x164),'MJeKF':'safari.options','lqeRx':'se:ieOptions','VzaPY':_0x5caff9(0x13e),'bFlHg':function(_0x34d485,_0x40a7d3){return _0x34d485===_0x40a7d3;},'lEJAg':'object','PvkVH':_0x5caff9(0x11e),'iIzZt':_0x5caff9(0x11f),'ASecf':_0x5caff9(0x16a),'uODeD':function(_0xb38400,_0x18d1e5,_0x2466af){return _0xb38400(_0x18d1e5,_0x2466af);},'bPzLm':function(_0x101a6e,_0x1695aa){return _0x101a6e(_0x1695aa);},'GKhvs':function(_0x3f17a7,_0x18a26d,_0x3b452c){return _0x3f17a7(_0x18a26d,_0x3b452c);},'lweUw':function(_0xdb73e3,_0x10aaa3,_0x4634e6){return _0xdb73e3(_0x10aaa3,_0x4634e6);},'LvtPf':_0x5caff9(0x158),'hjYTm':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','PDdes':_0x5caff9(0x113),'tOPfV':function(_0x3c5c4c){return _0x3c5c4c();},'sTrkd':function(_0x371071,_0x4d1a26){return _0x371071(_0x4d1a26);},'xSMed':function(_0x44a923,_0x94ead9){return _0x44a923!==_0x94ead9;},'GDZNm':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','fPZQu':_0x5caff9(0x14d)},_0x421a6f=helper[_0x5caff9(0x11a)]();let _0x39bf3d;try{_0x39bf3d=helper[_0x5caff9(0x15b)](),_0x39bf3d['originalBuilder']&&(_0x39bf3d[_0x5caff9(0x17d)]=_0x39bf3d[_0x5caff9(0x163)]);}catch(_0x14251d){return;}if(helper[_0x5caff9(0x173)]()){const _0xf3abd0={};_0xf3abd0[_0x5caff9(0x13c)]=_0x33c319[_0x5caff9(0x122)],helper[_0x5caff9(0x174)](_0xf3abd0,new Map(),new Map()),logger[_0x5caff9(0x159)](_0x443e60['GDZNm']),logger[_0x5caff9(0x142)](_0x443e60[_0x5caff9(0x169)]);}class _0x935f66 extends _0x421a6f[_0x5caff9(0x15d)]{[_0x5caff9(0x145)](_0x126198){const _0x11133b=_0x5caff9;if(_0x443e60['Yuyoi'](_0x126198[_0x11133b(0x121)],_0x443e60[_0x11133b(0x126)])&&_0x443e60[_0x11133b(0x115)](global['newHubUrl'],''))try{global[_0x11133b(0x13f)]=_0x443e60[_0x11133b(0x156)](_0x443e60['rPMnX'](_0x443e60[_0x11133b(0x166)],global[_0x11133b(0x13f)]),_0x443e60['UCqVp']),this[_0x11133b(0x176)]=hubAllocator[_0x11133b(0x12d)](global[_0x11133b(0x13f)]),logger['debug'](_0x11133b(0x13a)+global[_0x11133b(0x13f)]),global[_0x11133b(0x13f)]='';}catch(_0x4c0d5c){logger[_0x11133b(0x130)](_0x4c0d5c);}return super['send'](_0x126198);}}class _0x4f1b1c extends _0x39bf3d[_0x5caff9(0x17d)]{['setServer'](){const _0x2fe40d=_0x5caff9;return this[_0x2fe40d(0x118)]=helper[_0x2fe40d(0x175)](_0x33c319),logger['debug']('Hub\x20url\x20set\x20to\x20'+this[_0x2fe40d(0x118)]),this;}[_0x5caff9(0x138)](_0x2d047a){const _0x54273a=_0x5caff9;let _0x1f0c38={};for(const _0x1a8770 in _0x2d047a){switch(_0x1a8770){case _0x443e60[_0x54273a(0x188)]:case _0x443e60['jYipM']:this['chromeOptions_']&&(_0x1f0c38=this[_0x54273a(0x157)][_0x54273a(0x15a)](this[_0x54273a(0x157)]['CAPABILITY_KEY'])||{},this['chromeOptions_'][_0x54273a(0x160)](this[_0x54273a(0x157)][_0x54273a(0x112)],helper[_0x54273a(0x178)](_0x1f0c38,_0x2d047a[_0x1a8770])));break;case _0x443e60[_0x54273a(0x17f)]:case _0x443e60[_0x54273a(0x135)]:this['edgeOptions_']&&(_0x1f0c38=this['edgeOptions_'][_0x54273a(0x15a)](this[_0x54273a(0x136)][_0x54273a(0x112)])||{},this[_0x54273a(0x136)][_0x54273a(0x160)](this[_0x54273a(0x136)][_0x54273a(0x112)],helper[_0x54273a(0x178)](_0x1f0c38,_0x2d047a[_0x1a8770])));break;case _0x443e60[_0x54273a(0x183)]:case _0x443e60[_0x54273a(0x143)]:this[_0x54273a(0x15f)]&&(_0x1f0c38=this['firefoxOptions_'][_0x54273a(0x15a)](this[_0x54273a(0x15f)][_0x54273a(0x112)])||{},this[_0x54273a(0x15f)][_0x54273a(0x160)](this[_0x54273a(0x15f)][_0x54273a(0x112)],helper[_0x54273a(0x178)](_0x1f0c38,_0x2d047a[_0x1a8770])));break;case _0x443e60[_0x54273a(0x182)]:this[_0x54273a(0x128)]&&(_0x1f0c38=this['safariOptions_'][_0x54273a(0x15a)](this[_0x54273a(0x128)][_0x54273a(0x112)])||{},this[_0x54273a(0x128)][_0x54273a(0x160)](this[_0x54273a(0x128)]['CAPABILITY_KEY'],helper[_0x54273a(0x178)](_0x1f0c38,_0x2d047a[_0x1a8770])));break;case _0x443e60[_0x54273a(0x12a)]:case _0x443e60[_0x54273a(0x17c)]:this[_0x54273a(0x161)]&&(_0x1f0c38=this[_0x54273a(0x161)][_0x54273a(0x15a)](this[_0x54273a(0x161)][_0x54273a(0x112)])||{},this['ieOptions_'][_0x54273a(0x160)](this[_0x54273a(0x161)][_0x54273a(0x112)],helper[_0x54273a(0x178)](_0x1f0c38,_0x2d047a[_0x1a8770])));break;}}}['setCapabilities'](){const _0x4801bc=_0x5caff9;return logger[_0x4801bc(0x142)](_0x443e60[_0x4801bc(0x140)]),this[_0x4801bc(0x138)](_0x33c319[_0x4801bc(0x14f)]),Object['keys'](_0x33c319[_0x4801bc(0x14f)])[_0x4801bc(0x179)](_0x363d28=>{const _0x2e4b9c=_0x4801bc,_0x33c4cf=this[_0x2e4b9c(0x12f)][_0x2e4b9c(0x15a)](_0x363d28);_0x443e60['bFlHg'](typeof _0x33c4cf,_0x443e60[_0x2e4b9c(0x17a)])?this[_0x2e4b9c(0x12f)]['set'](_0x363d28,helper[_0x2e4b9c(0x178)](_0x33c4cf,_0x33c319['capability'][_0x363d28])):this['capabilities_'][_0x2e4b9c(0x160)](_0x363d28,_0x33c319[_0x2e4b9c(0x14f)][_0x363d28]);}),this;}['build'](){const _0x5c9431=_0x5caff9,_0x8cd36c={'XrexS':function(_0x22e34c,_0x1428e2,_0x2e2e70){const _0x69eb8a=a27_0x3dc8;return _0x443e60[_0x69eb8a(0x12b)](_0x22e34c,_0x1428e2,_0x2e2e70);},'tlmvm':function(_0x328197,_0xd37db1,_0x2bccf3){return _0x443e60['lweUw'](_0x328197,_0xd37db1,_0x2bccf3);}};if(helper[_0x5c9431(0x173)]()){const _0x57026b=_0x443e60[_0x5c9431(0x14a)][_0x5c9431(0x151)]('|');let _0x3a8d0b=0x0;while(!![]){switch(_0x57026b[_0x3a8d0b++]){case'0':logger[_0x5c9431(0x142)](_0x443e60['hjYTm']);continue;case'1':globals[_0x5c9431(0x184)](_0x443e60[_0x5c9431(0x116)])&&(!_0x443e60[_0x5c9431(0x124)](setExtension,this,_0x33c319)&&globals[_0x5c9431(0x111)](_0x443e60[_0x5c9431(0x116)],![]));continue;case'2':this['setServer']();continue;case'3':this[_0x5c9431(0x17b)]();continue;case'4':_0x443e60[_0x5c9431(0x147)](isAccessibilityAutomationSession)&&_0x443e60[_0x5c9431(0x139)](setAccessibilityCapabilities,_0x33c319);continue;case'5':if(helper[_0x5c9431(0x181)](_0x33c319[_0x5c9431(0x165)][_0x5c9431(0x171)]))this[_0x5c9431(0x114)]=helper[_0x5c9431(0x12c)](_0x33c319[_0x5c9431(0x165)][_0x5c9431(0x171)]);else _0x33c319[_0x5c9431(0x165)]['proxyUrl']&&(this['proxy_']=_0x33c319[_0x5c9431(0x165)][_0x5c9431(0x171)],logger[_0x5c9431(0x142)](_0x5c9431(0x162)+this['proxy_']));continue;}break;}}const _0x4fc88d=super[_0x5c9431(0x129)]();return _0x4fc88d[_0x5c9431(0x150)]['then'](_0x36fb4e=>{const _0x1f94aa=_0x5c9431;try{const _0x320c10=_0x36fb4e[_0x1f94aa(0x117)][_0x1f94aa(0x15a)](_0x443e60[_0x1f94aa(0x16b)]);_0x320c10?(logger[_0x1f94aa(0x142)](_0x1f94aa(0x168)+_0x320c10),hubAllocator[_0x1f94aa(0x185)](_0x320c10),helper[_0x1f94aa(0x125)](_0x320c10)):logger[_0x1f94aa(0x142)](_0x443e60[_0x1f94aa(0x11b)]);}catch(_0x310c39){logger[_0x1f94aa(0x142)](_0x1f94aa(0x16e)+_0x310c39);}}),_0x4fc88d[_0x5c9431(0x149)]=0x0,_0x4fc88d['then']&&_0x4fc88d['then'](_0x2a0e90=>{const _0x4dd856=_0x5c9431,_0x42468d={'sEPAS':function(_0x27b45f,_0x4e741b,_0x3330a3){const _0x3c6838=a27_0x3dc8;return _0x443e60[_0x3c6838(0x12b)](_0x27b45f,_0x4e741b,_0x3330a3);}};_0x443e60['uODeD'](overrideQuit,_0x2a0e90,_0x4fc88d),_0x443e60[_0x4dd856(0x139)](overrideTakeScreenshot,_0x2a0e90),helper[_0x4dd856(0x120)](_0x2a0e90,_0x33c319),helper[_0x4dd856(0x17e)](_0x2a0e90,_0x33c319),_0x2a0e90[_0x4dd856(0x172)]=async()=>{const _0x52760d=_0x4dd856;return await _0x8cd36c[_0x52760d(0x14b)](getAccessibilityResultsSummary,_0x2a0e90,global);},_0x2a0e90['getAccessibilityResults']=async()=>{const _0x508966=_0x4dd856;return await _0x42468d[_0x508966(0x16f)](getAccessibilityResults,_0x2a0e90,global);};}),_0x4fc88d[_0x5c9431(0x172)]=async()=>{const _0x191c9b=_0x5c9431;return await _0x8cd36c[_0x191c9b(0x167)](getAccessibilityResultsSummary,_0x4fc88d,global);},_0x4fc88d[_0x5c9431(0x153)]=async()=>{const _0x59d192=_0x5c9431;return await _0x443e60[_0x59d192(0x11c)](getAccessibilityResults,_0x4fc88d,global);},_0x443e60[_0x5c9431(0x139)](overrideTakeScreenshot,_0x4fc88d),_0x443e60['sTrkd'](overrideQuit,_0x4fc88d),helper[_0x5c9431(0x120)](_0x4fc88d,_0x33c319),helper[_0x5c9431(0x17e)](_0x4fc88d,_0x33c319),helper[_0x5c9431(0x132)](global[_0x5c9431(0x16c)])&&(global[_0x5c9431(0x16c)]=[]),helper[_0x5c9431(0x132)](global['__drivers'])&&(global[_0x5c9431(0x186)]=[]),global['__driversArray'][_0x5c9431(0x123)](_0x4fc88d),global[_0x5c9431(0x187)]=_0x4fc88d,_0x443e60[_0x5c9431(0x170)](global[_0x5c9431(0x186)],undefined)&&global[_0x5c9431(0x186)][_0x5c9431(0x123)](_0x4fc88d),_0x5c88a7&&helper['isUndefined'](_0x5c88a7['global'][_0x5c9431(0x16c)])&&(_0x5c88a7[_0x5c9431(0x134)]['__driversArray']=[]),_0x5c88a7&&_0x443e60[_0x5c9431(0x13d)](_0x5c88a7[_0x5c9431(0x134)]['__drivers'],undefined)&&(_0x5c88a7[_0x5c9431(0x134)][_0x5c9431(0x186)][_0x5c9431(0x123)](_0x4fc88d),_0x5c88a7[_0x5c9431(0x134)][_0x5c9431(0x16c)]['push'](_0x4fc88d)),_0x4fc88d;}}return _0x39bf3d['originalBuilder']=_0x39bf3d['Builder'],_0x39bf3d['Builder']=_0x4f1b1c,_0x421a6f[_0x5caff9(0x15d)]=_0x935f66,_0x39bf3d;};function a27_0x3dc8(_0x127050,_0x1226a5){const _0x2c87a7=a27_0x2c87();return a27_0x3dc8=function(_0x3dc85e,_0x2d3bd8){_0x3dc85e=_0x3dc85e-0x10e;let _0x1004d8=_0x2c87a7[_0x3dc85e];return _0x1004d8;},a27_0x3dc8(_0x127050,_0x1226a5);}function a27_0x2c87(){const _0x5b4cc5=['64QnxQoU','logLevel','xSMed','ieOptions','newHubUrl','PvkVH','chromeOptions','debug','zieDp','2121288FdOmBI','send','3962313YcNsXJ','tOPfV','moz:firefoxOptions','quitCount_','LvtPf','XrexS','browserstackAgentObservability','Modifying\x20webdriver\x20builder','/session','capability','session_','split','https://','getAccessibilityResults','../../../helpers/globals','165368BZZJhF','eBlgg','chromeOptions_','4|2|3|5|1|0','info','get','requireSeleniumWebdriver','../../../helpers/logger','HttpClient','../../../helpers/accessibility-automation/helper','firefoxOptions_','set','ieOptions_','Proxy\x20set\x20to\x20','originalBuilder','firefoxOptions','proxySettings','FRAEX','tlmvm','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','fPZQu','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','iIzZt','__driversArray','../../../bin/utils/constants','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','sEPAS','Yuyoi','proxyUrl','getAccessibilityResultsSummary','isBrowserstackInfra','setLogLevel','getHubUrl','options_','edgeOptions','mergeDeep','forEach','lEJAg','setCapabilities','VzaPY','Builder','overrideExecute','prHck','850224zdQxJJ','isPacProxy','MJeKF','xMSYu','getGlobal','updateHubUrl','__drivers','__driver','ROiKy','ms:edgeOptions','../../../helpers/helper','../../../helpers/patchHelpers','setGlobal','CAPABILITY_KEY','isAccessibilityPlatform','agent_','rsdFP','PDdes','caps_','url_','82rttYfz','requireHttpClient','ASecf','GKhvs','164178eIfiTJ','Setting\x20Browserstack\x20capabilities','optimalHubUrl','overrideGet','path','browserStackLogLevel','push','lweUw','storeOptimalHubUrl','DzSdU','winstonLogger','safariOptions_','build','lqeRx','uODeD','getHttpAgent','getRequestOptions','6986JyXvKX','capabilities_','error','/wd/hub','isUndefined','../accessibility-automation/helper','global','roXVN','edgeOptions_','1002945zyAmbo','__setBrowserOptions','bPzLm','New\x20hub\x20url\x20set\x20to\x20'];a27_0x2c87=function(){return _0x5b4cc5;};return a27_0x2c87();}module['exports'][a27_0x5a5bdf(0x14c)]=modify;
@@ -1 +1 @@
1
- const a26_0x4cd268=a26_0x5265;(function(_0x51a67b,_0x4f6719){const _0x2526db=a26_0x5265,_0x3e6f79=_0x51a67b();while(!![]){try{const _0x41910d=-parseInt(_0x2526db(0x153))/0x1+-parseInt(_0x2526db(0x152))/0x2*(-parseInt(_0x2526db(0x15d))/0x3)+parseInt(_0x2526db(0x158))/0x4+parseInt(_0x2526db(0x162))/0x5*(parseInt(_0x2526db(0x155))/0x6)+-parseInt(_0x2526db(0x159))/0x7+parseInt(_0x2526db(0x160))/0x8*(parseInt(_0x2526db(0x15b))/0x9)+parseInt(_0x2526db(0x15a))/0xa*(-parseInt(_0x2526db(0x15f))/0xb);if(_0x41910d===_0x4f6719)break;else _0x3e6f79['push'](_0x3e6f79['shift']());}catch(_0x41a553){_0x3e6f79['push'](_0x3e6f79['shift']());}}}(a26_0x515f,0x67fc9));function a26_0x5265(_0xd44758,_0x5f501f){const _0x515fff=a26_0x515f();return a26_0x5265=function(_0x526566,_0x3e31cc){_0x526566=_0x526566-0x152;let _0x267a58=_0x515fff[_0x526566];return _0x267a58;},a26_0x5265(_0xd44758,_0x5f501f);}const requestSpy=require(a26_0x4cd268(0x15c)),constants=require(a26_0x4cd268(0x154)),{addRequestSpy}=require(a26_0x4cd268(0x157));exports['mochaHooks']={'beforeAll'(){const _0x25eaf=a26_0x4cd268,_0x15f9aa={'wGXYT':function(_0x1d6641){return _0x1d6641();}},_0x4bad8d='browserstack internal helper hook';_0x15f9aa[_0x25eaf(0x161)](addRequestSpy);},'afterAll'(){const _0x53679e=a26_0x4cd268,_0x2fc574='browserstack internal helper hook';this[_0x53679e(0x15e)](0xea60),requestSpy[_0x53679e(0x156)]();}};function a26_0x515f(){const _0x189ae8=['../../../bin/utils/constants','6nlukDu','restore','../../../helpers/test-observability/utils','3351336xMLMHV','5029297RaltbK','221830ATbSrl','2142wGbRMn','../../../helpers/request-spy','3CbJotd','timeout','132MVdFOO','13264VNxFSn','wGXYT','3343435zKpgLH','720542anSjTF','850800aWfmQS'];a26_0x515f=function(){return _0x189ae8;};return a26_0x515f();}
1
+ const a28_0x2e00a4=a28_0x1354;(function(_0x23854b,_0x2aadb8){const _0x5a773d=a28_0x1354,_0x102a28=_0x23854b();while(!![]){try{const _0x1da832=-parseInt(_0x5a773d(0xbe))/0x1+parseInt(_0x5a773d(0xbc))/0x2*(-parseInt(_0x5a773d(0xbd))/0x3)+parseInt(_0x5a773d(0xc4))/0x4+-parseInt(_0x5a773d(0xc7))/0x5*(parseInt(_0x5a773d(0xcb))/0x6)+parseInt(_0x5a773d(0xc2))/0x7+parseInt(_0x5a773d(0xbf))/0x8*(parseInt(_0x5a773d(0xc0))/0x9)+parseInt(_0x5a773d(0xc9))/0xa*(parseInt(_0x5a773d(0xc3))/0xb);if(_0x1da832===_0x2aadb8)break;else _0x102a28['push'](_0x102a28['shift']());}catch(_0x918565){_0x102a28['push'](_0x102a28['shift']());}}}(a28_0x496c,0x25b2a));const requestSpy=require('../../../helpers/request-spy'),constants=require(a28_0x2e00a4(0xc6)),{addRequestSpy}=require(a28_0x2e00a4(0xc8));function a28_0x1354(_0x27119b,_0x44339a){const _0x496c5d=a28_0x496c();return a28_0x1354=function(_0x135401,_0x178d1c){_0x135401=_0x135401-0xbc;let _0x19f6cc=_0x496c5d[_0x135401];return _0x19f6cc;},a28_0x1354(_0x27119b,_0x44339a);}exports[a28_0x2e00a4(0xc1)]={'beforeAll'(){const _0x22284c={'ZPFyW':function(_0x17a02a){return _0x17a02a();}},_0xf06e3e='browserstack internal helper hook';_0x22284c['ZPFyW'](addRequestSpy);},'afterAll'(){const _0x243a8e=a28_0x2e00a4,_0xc9928a='browserstack internal helper hook';this[_0x243a8e(0xca)](0xea60),requestSpy[_0x243a8e(0xc5)]();}};function a28_0x496c(){const _0x202437=['../../../bin/utils/constants','178105UzzMXe','../../../helpers/test-observability/utils','105890esKhoX','timeout','6biwCTL','1160hzzsCm','1434LEMmbk','159365vuYVNe','24qVVbeu','129699DygPIx','mochaHooks','867538XAVwjM','473mFjyLd','16568YaikvU','restore'];a28_0x496c=function(){return _0x202437;};return a28_0x496c();}
@@ -1 +1 @@
1
- function a27_0x155e(_0x4732b4,_0x4e6211){const _0x5d7b6c=a27_0x5d7b();return a27_0x155e=function(_0x155ec8,_0x573b52){_0x155ec8=_0x155ec8-0x1ef;let _0x564b37=_0x5d7b6c[_0x155ec8];return _0x564b37;},a27_0x155e(_0x4732b4,_0x4e6211);}const a27_0x3a110f=a27_0x155e;(function(_0x199d0b,_0x3ee116){const _0x30cb42=a27_0x155e,_0x4f737c=_0x199d0b();while(!![]){try{const _0xb4b2d6=parseInt(_0x30cb42(0x205))/0x1*(-parseInt(_0x30cb42(0x1f9))/0x2)+parseInt(_0x30cb42(0x1fd))/0x3+parseInt(_0x30cb42(0x21e))/0x4*(parseInt(_0x30cb42(0x22d))/0x5)+-parseInt(_0x30cb42(0x202))/0x6*(parseInt(_0x30cb42(0x212))/0x7)+parseInt(_0x30cb42(0x231))/0x8*(parseInt(_0x30cb42(0x1f4))/0x9)+-parseInt(_0x30cb42(0x235))/0xa*(parseInt(_0x30cb42(0x20e))/0xb)+-parseInt(_0x30cb42(0x23f))/0xc*(-parseInt(_0x30cb42(0x1f7))/0xd);if(_0xb4b2d6===_0x3ee116)break;else _0x4f737c['push'](_0x4f737c['shift']());}catch(_0x4f3d25){_0x4f737c['push'](_0x4f737c['shift']());}}}(a27_0x5d7b,0x7da13));const {v4:uuidv4}=require(a27_0x3a110f(0x201)),{name,version}=require(a27_0x3a110f(0x22b)),logPatcher=require(a27_0x3a110f(0x221)),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require('../../utils/logReportingAPI'),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a27_0x3a110f(0x232)),{consoleHolder}=require(a27_0x3a110f(0x1fa)),{getPlatformVersion}=require('../../../helpers/helper');function a27_0x5d7b(){const _0x1262e2=['5222426XZIyQf','concat','automate','nNXaj','2081765gWivAp','fromEntries','sendPlatformDetails','VuYcE','emit','TSHFw','DxraW','appium:app','browserstack','toISOString','unknown_grid','filter','8996LTgAYZ','getCapabilities','TEST_PLATFORM','../../utils/logPatcher','reduce','app-automate','getSession','gZuWK','nytgJ','suites','failed','__cloud_provider___','eaheL','../../../../package.json','tests','1020NQONcu','VZcGg','_beforeAll','SAPFk','5580896VYaMqs','../../../helpers/test-observability/utils','state','OlvaK','10YnKrqt','split','map_','pQEqp','_afterEach','passed','getBrowserVersion','forEach','pid','slice','2163204AkAwDX','generic','BPcVD','vqKsY','cYXcS','Xihwn','parent','getHookDetails','QveDQ','OAkVU','tfSge','push','indexOf','markedStatus','app','SXneS','UkcCy','9xqilDq','wSPba','hookAnalyticsId','13nkjBdS','hook','103654QxpLTJ','../../../helpers/test-observability/constants','ZIFWL','oiyuh','2493372CZFRdi','type','bs:addPlatformDetails:','scsSK','uuid','6JIyRRS','toJSON','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','17sxkBGH','getHooksForTest','getTestEnv','_afterAll','RpPgA','usmhX','mapTestHooks','getBrowserName','piJgo'];a27_0x5d7b=function(){return _0x1262e2;};return a27_0x5d7b();}console={},Object['keys'](consoleHolder)['forEach'](_0x3ca415=>{console[_0x3ca415]=(..._0x2aedf2)=>{BSTestOpsPatcher[_0x3ca415](..._0x2aedf2);};}),exports[a27_0x3a110f(0x207)]=()=>{const _0x3a3207=a27_0x3a110f,_0x1aa1d4={'piJgo':_0x3a3207(0x240),'UkcCy':function(_0x561727){return _0x561727();}};return{'ci':_0x1aa1d4[_0x3a3207(0x20d)],'key':_0x1aa1d4[_0x3a3207(0x1f3)](uuidv4),'version':version,'collector':'js-'+name};},exports[a27_0x3a110f(0x246)]=_0x37d420=>{const _0x1f7120=a27_0x3a110f,_0x3ae9b0={};_0x3ae9b0[_0x1f7120(0x22a)]=function(_0x4669c7,_0x516037){return _0x4669c7!==_0x516037;},_0x3ae9b0[_0x1f7120(0x215)]='string',_0x3ae9b0[_0x1f7120(0x209)]='hook:',_0x3ae9b0['oiyuh']=_0x1f7120(0x1f8);const _0x19ce8d=_0x3ae9b0;if(!_0x37d420||_0x19ce8d['eaheL'](typeof _0x37d420,_0x19ce8d[_0x1f7120(0x215)]))return[null,null];if(_0x19ce8d[_0x1f7120(0x22a)](_0x37d420['indexOf'](_0x19ce8d['RpPgA']),-0x1)){const _0x363ce2=_0x37d420[_0x1f7120(0x236)](_0x19ce8d['RpPgA']);return[_0x363ce2[0x0][_0x1f7120(0x23e)](0x0,-0x1)['split']('\x22')[0x1],_0x363ce2[0x1]['substring'](0x1)];}else{if(_0x19ce8d['eaheL'](_0x37d420[_0x1f7120(0x1ef)](_0x19ce8d[_0x1f7120(0x1fc)]),-0x1)){const _0x3e983f=_0x37d420[_0x1f7120(0x236)](_0x19ce8d['oiyuh']);return[_0x3e983f[0x0][_0x1f7120(0x23e)](0x0,-0x1)[_0x1f7120(0x236)]('\x22')[0x1],_0x37d420];}}return[null,null];},exports[a27_0x3a110f(0x206)]=_0x465962=>{const _0x407117=a27_0x3a110f,_0x32c441={'Xihwn':function(_0xe516e0,_0xb79b5b){return _0xe516e0(_0xb79b5b);},'SXneS':_0x407117(0x22f),'DxraW':_0x407117(0x208),'OlvaK':'_beforeEach','dVKlH':_0x407117(0x239)};if(!_0x465962||!_0x465962[_0x407117(0x245)])return[];const _0x4dcf78=[];return[_0x32c441[_0x407117(0x1f2)],_0x32c441[_0x407117(0x218)],_0x32c441[_0x407117(0x234)],_0x32c441['dVKlH']][_0x407117(0x23c)](_0x1064a0=>{const _0x7e0dea=_0x407117,_0x2f9424={'nNXaj':function(_0x172488,_0x5c372b){const _0x43a67f=a27_0x155e;return _0x32c441[_0x43a67f(0x244)](_0x172488,_0x5c372b);}},_0x4334f1=_0x465962[_0x7e0dea(0x245)][_0x1064a0]||[];_0x4334f1['forEach'](_0x3b1926=>{const _0x3d0ca7=_0x7e0dea;_0x3b1926[_0x3d0ca7(0x1f6)]&&!_0x2f9424[_0x3d0ca7(0x211)](isInternalHook,_0x3b1926['fn'])&&_0x4dcf78[_0x3d0ca7(0x24a)](_0x3b1926[_0x3d0ca7(0x1f6)]);});}),[..._0x4dcf78,...exports['getHooksForTest'](_0x465962[_0x407117(0x245)])];},exports['mapTestHooks']=_0x212130=>{const _0x928da1=a27_0x3a110f,_0x2b14ea={'ZIFWL':function(_0xe1f2b5){return _0xe1f2b5();},'AksCJ':function(_0x213e13,_0x48910d){return _0x213e13===_0x48910d;},'scsSK':'_afterEach','gZuWK':_0x928da1(0x22f),'CBfFb':_0x928da1(0x208),'SAPFk':'_beforeEach'};if(!_0x212130||!_0x212130[_0x928da1(0x245)])return;[_0x2b14ea[_0x928da1(0x225)],_0x2b14ea['CBfFb'],_0x2b14ea[_0x928da1(0x230)],_0x2b14ea[_0x928da1(0x200)]][_0x928da1(0x23c)](_0x4b6a0e=>{const _0x580933=_0x928da1,_0x5092a9={'VZcGg':function(_0x5de110){const _0xbd449e=a27_0x155e;return _0x2b14ea[_0xbd449e(0x1fb)](_0x5de110);},'mucSx':function(_0x4dc2b4,_0x40346c){return _0x2b14ea['AksCJ'](_0x4dc2b4,_0x40346c);},'hrgpp':_0x2b14ea['scsSK']},_0xc31395=_0x212130[_0x580933(0x245)][_0x4b6a0e]||[];_0xc31395['forEach'](_0x4e3e92=>{const _0x5b208c=_0x580933;if(!_0x4e3e92[_0x5b208c(0x1f6)])_0x4e3e92['hookAnalyticsId']=_0x5092a9[_0x5b208c(0x22e)](uuidv4);else _0x4e3e92[_0x5b208c(0x1f0)]&&_0x5092a9['mucSx'](_0x4b6a0e,_0x5092a9['hrgpp'])&&(_0x4e3e92[_0x5b208c(0x1f6)]=_0x5092a9['VZcGg'](uuidv4),delete _0x4e3e92[_0x5b208c(0x1f0)]);});}),exports[_0x928da1(0x20b)](_0x212130['parent']);},exports[a27_0x3a110f(0x214)]=async(_0x17ab67,_0x29217d)=>{const _0x39e7d5=a27_0x3a110f,_0x31d486={'zVWuG':function(_0x38c043){return _0x38c043();},'BQuXB':function(_0x3117c6,_0x352e07){return _0x3117c6===_0x352e07;},'BPcVD':_0x39e7d5(0x21a),'qtyxw':_0x39e7d5(0x219),'vqKsY':_0x39e7d5(0x1f1),'dOOKe':_0x39e7d5(0x223),'wSPba':_0x39e7d5(0x210),'TSHFw':function(_0x37ceb0,_0x248674){return _0x37ceb0(_0x248674);},'nytgJ':function(_0x3303ae,_0x1bace2){return _0x3303ae===_0x1bace2;},'QveDQ':_0x39e7d5(0x21c),'cYXcS':_0x39e7d5(0x220)};try{if(!_0x31d486['zVWuG'](isTestObservabilitySession))return;const _0x5bdd13=await _0x17ab67[_0x39e7d5(0x21f)](),_0xa3fa73=await _0x17ab67[_0x39e7d5(0x224)](),_0x3722bf={},_0x39b349=Object[_0x39e7d5(0x213)](_0xa3fa73[_0x39e7d5(0x21f)]()[_0x39e7d5(0x237)]),_0x17cfea={'product':_0x31d486['BQuXB'](global['__cloud_provider___'],_0x31d486[_0x39e7d5(0x241)])?_0x39b349[_0x31d486['qtyxw']]||_0x39b349[_0x31d486[_0x39e7d5(0x242)]]?_0x31d486['dOOKe']:_0x31d486[_0x39e7d5(0x1f5)]:null,'capabilities':_0x39b349,'platform':_0x5bdd13['getPlatform'](),'platform_version':_0x31d486[_0x39e7d5(0x217)](getPlatformVersion,_0x31d486[_0x39e7d5(0x226)](global[_0x39e7d5(0x229)],_0x31d486[_0x39e7d5(0x241)])),'browser':_0x5bdd13[_0x39e7d5(0x20c)](),'browser_version':_0x5bdd13[_0x39e7d5(0x23b)](),'session_id':_0xa3fa73[_0x39e7d5(0x203)]()};global[_0x39e7d5(0x229)]?_0x3722bf[global['__cloud_provider___']]=_0x17cfea:_0x3722bf[_0x31d486[_0x39e7d5(0x247)]]=_0x17cfea,process[_0x39e7d5(0x216)](_0x39e7d5(0x1ff)+process[_0x39e7d5(0x23d)],{'timestamp':new Date()[_0x39e7d5(0x21b)](),'level':null,'message':null,'kind':_0x31d486[_0x39e7d5(0x243)],'http_response':_0x3722bf,'uuid':_0x29217d});}catch(_0x58cd38){_0x31d486[_0x39e7d5(0x217)](debug,_0x39e7d5(0x204)+_0x58cd38);}},exports['getHookSkippedTests']=_0x19dcdf=>{const _0x51fde6=a27_0x3a110f,_0x2dfac6={};_0x2dfac6[_0x51fde6(0x248)]=function(_0x53ee5d,_0x194764){return _0x53ee5d!==_0x194764;},_0x2dfac6[_0x51fde6(0x20a)]=_0x51fde6(0x1f8),_0x2dfac6[_0x51fde6(0x249)]=_0x51fde6(0x23a),_0x2dfac6[_0x51fde6(0x238)]=_0x51fde6(0x228);const _0x394b7a=_0x2dfac6,_0xfe0a7e=_0x19dcdf[_0x51fde6(0x227)][_0x51fde6(0x222)]((_0x109091,_0x1856c9)=>{const _0x14d98b=_0x51fde6,_0x900a6f=exports['getHookSkippedTests'](_0x1856c9);return _0x900a6f&&(_0x109091=_0x109091[_0x14d98b(0x20f)](_0x900a6f)),_0x109091;},[]),_0x575fe7=_0x19dcdf[_0x51fde6(0x22c)][_0x51fde6(0x21d)](_0x10b76d=>{const _0x1ce28c=_0x51fde6,_0x22b4db=_0x394b7a[_0x1ce28c(0x248)](_0x10b76d[_0x1ce28c(0x1fe)],_0x394b7a[_0x1ce28c(0x20a)])&&!_0x10b76d[_0x1ce28c(0x1f0)]&&_0x394b7a[_0x1ce28c(0x248)](_0x10b76d['state'],_0x394b7a[_0x1ce28c(0x249)])&&_0x394b7a[_0x1ce28c(0x248)](_0x10b76d[_0x1ce28c(0x233)],_0x394b7a[_0x1ce28c(0x238)])&&!_0x10b76d['pending'];return _0x22b4db;});return _0x575fe7['concat'](_0xfe0a7e);};
1
+ const a29_0x5dafac=a29_0x2f8b;function a29_0x2f8b(_0x161626,_0x250aa4){const _0x3d6891=a29_0x3d68();return a29_0x2f8b=function(_0x2f8b39,_0x55523f){_0x2f8b39=_0x2f8b39-0x189;let _0x43aca6=_0x3d6891[_0x2f8b39];return _0x43aca6;},a29_0x2f8b(_0x161626,_0x250aa4);}(function(_0x254bfe,_0x556f6c){const _0x4b8985=a29_0x2f8b,_0x43f2b4=_0x254bfe();while(!![]){try{const _0x53d40e=-parseInt(_0x4b8985(0x1c7))/0x1+-parseInt(_0x4b8985(0x1a6))/0x2*(parseInt(_0x4b8985(0x1ad))/0x3)+-parseInt(_0x4b8985(0x1e6))/0x4+parseInt(_0x4b8985(0x1c6))/0x5+-parseInt(_0x4b8985(0x197))/0x6*(-parseInt(_0x4b8985(0x1c1))/0x7)+parseInt(_0x4b8985(0x1c2))/0x8*(parseInt(_0x4b8985(0x1d9))/0x9)+-parseInt(_0x4b8985(0x198))/0xa*(-parseInt(_0x4b8985(0x1e7))/0xb);if(_0x53d40e===_0x556f6c)break;else _0x43f2b4['push'](_0x43f2b4['shift']());}catch(_0x411747){_0x43f2b4['push'](_0x43f2b4['shift']());}}}(a29_0x3d68,0x3b6e4));const {v4:uuidv4}=require('uuid'),{name,version}=require(a29_0x5dafac(0x193)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0x5dafac(0x1d2)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a29_0x5dafac(0x1d0)),{consoleHolder}=require(a29_0x5dafac(0x192)),{getPlatformVersion}=require(a29_0x5dafac(0x19c));console={},Object['keys'](consoleHolder)[a29_0x5dafac(0x18e)](_0x3b9b7b=>{console[_0x3b9b7b]=(..._0x193d03)=>{BSTestOpsPatcher[_0x3b9b7b](..._0x193d03);};}),exports[a29_0x5dafac(0x1a2)]=()=>{const _0x124d65=a29_0x5dafac,_0x2b790c={'fePaO':_0x124d65(0x1d4),'bVueP':function(_0x106def){return _0x106def();}};return{'ci':_0x2b790c[_0x124d65(0x1e1)],'key':_0x2b790c[_0x124d65(0x190)](uuidv4),'version':version,'collector':_0x124d65(0x1c4)+name};},exports[a29_0x5dafac(0x18a)]=_0xe9b684=>{const _0x4f442c=a29_0x5dafac,_0x12e7f7={};_0x12e7f7[_0x4f442c(0x1c8)]=function(_0x631c90,_0x281ab0){return _0x631c90!==_0x281ab0;},_0x12e7f7[_0x4f442c(0x18c)]=_0x4f442c(0x1d5),_0x12e7f7[_0x4f442c(0x196)]=function(_0x509930,_0x42891f){return _0x509930!==_0x42891f;},_0x12e7f7[_0x4f442c(0x1ac)]=_0x4f442c(0x1dc),_0x12e7f7[_0x4f442c(0x1d1)]='hook';const _0x4f14c3=_0x12e7f7;if(!_0xe9b684||_0x4f14c3[_0x4f442c(0x1c8)](typeof _0xe9b684,_0x4f14c3['YlkPM']))return[null,null];if(_0x4f14c3[_0x4f442c(0x196)](_0xe9b684[_0x4f442c(0x1c0)](_0x4f14c3[_0x4f442c(0x1ac)]),-0x1)){const _0x2f7b5d=_0xe9b684[_0x4f442c(0x1e5)](_0x4f14c3[_0x4f442c(0x1ac)]);return[_0x2f7b5d[0x0]['slice'](0x0,-0x1)[_0x4f442c(0x1e5)]('\x22')[0x1],_0x2f7b5d[0x1]['substring'](0x1)];}else{if(_0x4f14c3[_0x4f442c(0x1c8)](_0xe9b684['indexOf'](_0x4f14c3['eRAVK']),-0x1)){const _0x3e4a48=_0xe9b684['split'](_0x4f14c3['eRAVK']);return[_0x3e4a48[0x0][_0x4f442c(0x1d3)](0x0,-0x1)[_0x4f442c(0x1e5)]('\x22')[0x1],_0xe9b684];}}return[null,null];},exports[a29_0x5dafac(0x1b0)]=_0x2cbc99=>{const _0x4fa900=a29_0x5dafac,_0x2027cc={'Ofkke':function(_0x1cceea,_0x51a980){return _0x1cceea(_0x51a980);},'GJHqm':_0x4fa900(0x194),'qyIeW':'_afterAll','nhbkt':'_beforeEach','ogRLq':_0x4fa900(0x1bd)};if(!_0x2cbc99||!_0x2cbc99[_0x4fa900(0x1b7)])return[];const _0x52450b=[];return[_0x2027cc['GJHqm'],_0x2027cc['qyIeW'],_0x2027cc[_0x4fa900(0x1dd)],_0x2027cc[_0x4fa900(0x1ab)]]['forEach'](_0x36f264=>{const _0x3b341c=_0x4fa900,_0x3a7152={'ahdab':function(_0x599437,_0x1c9104){return _0x2027cc['Ofkke'](_0x599437,_0x1c9104);}},_0x5a0039=_0x2cbc99['parent'][_0x36f264]||[];_0x5a0039[_0x3b341c(0x18e)](_0x53b348=>{const _0x25ed03=_0x3b341c;_0x53b348[_0x25ed03(0x1a8)]&&!_0x3a7152['ahdab'](isInternalHook,_0x53b348['fn'])&&_0x52450b[_0x25ed03(0x1cd)](_0x53b348[_0x25ed03(0x1a8)]);});}),[..._0x52450b,...exports[_0x4fa900(0x1b0)](_0x2cbc99[_0x4fa900(0x1b7)])];},exports['mapTestHooks']=_0x47344f=>{const _0x534bb3=a29_0x5dafac,_0x16194a={'yXQcz':function(_0xe9e345){return _0xe9e345();},'FGClG':function(_0x2af371,_0x661f66){return _0x2af371===_0x661f66;},'ngLQV':_0x534bb3(0x1bd),'thptr':_0x534bb3(0x194),'iLeBX':_0x534bb3(0x1b8),'tGIiB':_0x534bb3(0x1b6)};if(!_0x47344f||!_0x47344f[_0x534bb3(0x1b7)])return;[_0x16194a[_0x534bb3(0x191)],_0x16194a[_0x534bb3(0x1aa)],_0x16194a[_0x534bb3(0x1c9)],_0x16194a[_0x534bb3(0x1a3)]]['forEach'](_0x57f918=>{const _0x2d3bb4=_0x534bb3,_0x131b06={'StLsr':function(_0x40004d){const _0x62b9c7=a29_0x2f8b;return _0x16194a[_0x62b9c7(0x189)](_0x40004d);},'XTatO':function(_0x3e83b7,_0x163053){const _0x5e1cff=a29_0x2f8b;return _0x16194a[_0x5e1cff(0x1af)](_0x3e83b7,_0x163053);},'uEphs':_0x16194a['ngLQV']},_0x83fcdf=_0x47344f[_0x2d3bb4(0x1b7)][_0x57f918]||[];_0x83fcdf[_0x2d3bb4(0x18e)](_0x3bac34=>{const _0x180b9e=_0x2d3bb4;if(!_0x3bac34['hookAnalyticsId'])_0x3bac34[_0x180b9e(0x1a8)]=_0x131b06[_0x180b9e(0x19f)](uuidv4);else _0x3bac34[_0x180b9e(0x18f)]&&_0x131b06[_0x180b9e(0x1ba)](_0x57f918,_0x131b06[_0x180b9e(0x1d7)])&&(_0x3bac34['hookAnalyticsId']=_0x131b06[_0x180b9e(0x19f)](uuidv4),delete _0x3bac34[_0x180b9e(0x18f)]);});}),exports[_0x534bb3(0x1a9)](_0x47344f[_0x534bb3(0x1b7)]);},exports[a29_0x5dafac(0x1b1)]=async(_0xb1ba17,_0x5c90b3)=>{const _0x17193a=a29_0x5dafac,_0x28ae0c={'jabok':function(_0x362429){return _0x362429();},'VukFL':function(_0x3d7522,_0x36d8f9){return _0x3d7522===_0x36d8f9;},'ktHgp':_0x17193a(0x19d),'FxqME':_0x17193a(0x1c5),'tPAkK':_0x17193a(0x1b2),'gcGcM':_0x17193a(0x1da),'blFsD':'automate','ozoDZ':function(_0x443881,_0x118795){return _0x443881(_0x118795);},'Wlzrg':function(_0x1d99bb,_0x519257){return _0x1d99bb===_0x519257;},'LjaXu':_0x17193a(0x1d8),'Frayn':_0x17193a(0x1ea)};try{if(!_0x28ae0c['jabok'](isTestObservabilitySession))return;const _0x38741c=await _0xb1ba17[_0x17193a(0x1e8)](),_0x47b409=await _0xb1ba17[_0x17193a(0x1e2)](),_0x14cd02={},_0x4935ff=Object[_0x17193a(0x1a0)](_0x47b409[_0x17193a(0x1e8)]()[_0x17193a(0x18d)]),_0xaea31f={'product':_0x28ae0c[_0x17193a(0x1e9)](global[_0x17193a(0x1eb)],_0x28ae0c[_0x17193a(0x1a7)])?_0x4935ff[_0x28ae0c[_0x17193a(0x18b)]]||_0x4935ff[_0x28ae0c[_0x17193a(0x1ce)]]?_0x28ae0c['gcGcM']:_0x28ae0c[_0x17193a(0x1b5)]:null,'capabilities':_0x4935ff,'platform':_0x38741c[_0x17193a(0x1cf)](),'platform_version':_0x28ae0c['ozoDZ'](getPlatformVersion,_0x28ae0c[_0x17193a(0x1bf)](global['__cloud_provider___'],_0x28ae0c[_0x17193a(0x1a7)])),'browser':_0x38741c[_0x17193a(0x19b)](),'browser_version':_0x38741c[_0x17193a(0x1bb)](),'session_id':_0x47b409[_0x17193a(0x1ca)]()};global['__cloud_provider___']?_0x14cd02[global[_0x17193a(0x1eb)]]=_0xaea31f:_0x14cd02[_0x28ae0c['LjaXu']]=_0xaea31f,process[_0x17193a(0x1be)](_0x17193a(0x1cc)+process[_0x17193a(0x1a4)],{'timestamp':new Date()[_0x17193a(0x199)](),'level':null,'message':null,'kind':_0x28ae0c[_0x17193a(0x1b3)],'http_response':_0x14cd02,'uuid':_0x5c90b3});}catch(_0x4f48d4){_0x28ae0c[_0x17193a(0x1ae)](debug,_0x17193a(0x19e)+_0x4f48d4);}},exports[a29_0x5dafac(0x1a5)]=_0x5ed6a0=>{const _0x4553d2=a29_0x5dafac,_0x3b1a7d={};_0x3b1a7d[_0x4553d2(0x1df)]=function(_0x4b08f9,_0x3cf001){return _0x4b08f9!==_0x3cf001;},_0x3b1a7d['JJQiW']=_0x4553d2(0x1bc),_0x3b1a7d[_0x4553d2(0x1b4)]=function(_0x16370e,_0x2cd804){return _0x16370e!==_0x2cd804;},_0x3b1a7d[_0x4553d2(0x1de)]=_0x4553d2(0x1db),_0x3b1a7d['UkpFg']=function(_0x4aa365,_0x261ff8){return _0x4aa365!==_0x261ff8;},_0x3b1a7d[_0x4553d2(0x1cb)]='failed';const _0x3d402a=_0x3b1a7d,_0x11df2a=_0x5ed6a0[_0x4553d2(0x1a1)][_0x4553d2(0x1b9)]((_0x258307,_0x5e96b5)=>{const _0x11b90f=_0x4553d2,_0x324c7b=exports[_0x11b90f(0x1a5)](_0x5e96b5);return _0x324c7b&&(_0x258307=_0x258307[_0x11b90f(0x1e4)](_0x324c7b)),_0x258307;},[]),_0x5a369a=_0x5ed6a0[_0x4553d2(0x19a)][_0x4553d2(0x1e3)](_0x38a12a=>{const _0x156926=_0x4553d2,_0x3276dd=_0x3d402a['MSzjg'](_0x38a12a[_0x156926(0x1e0)],_0x3d402a[_0x156926(0x1c3)])&&!_0x38a12a[_0x156926(0x18f)]&&_0x3d402a[_0x156926(0x1b4)](_0x38a12a[_0x156926(0x1d6)],_0x3d402a['IzGfk'])&&_0x3d402a['UkpFg'](_0x38a12a['state'],_0x3d402a[_0x156926(0x1cb)])&&!_0x38a12a[_0x156926(0x195)];return _0x3276dd;});return _0x5a369a[_0x4553d2(0x1e4)](_0x11df2a);};function a29_0x3d68(){const _0xd18e3d=['getSession','filter','concat','split','1442944XmhwWA','11XvTunf','getCapabilities','VukFL','TEST_PLATFORM','__cloud_provider___','yXQcz','getHookDetails','FxqME','YlkPM','map_','forEach','markedStatus','bVueP','thptr','../../../helpers/test-observability/constants','../../../../package.json','_beforeAll','pending','hmLVw','1073616WeXmod','3728390czgYuu','toISOString','tests','getBrowserName','../../../helpers/helper','browserstack','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','StLsr','fromEntries','suites','getTestEnv','ngLQV','pid','getHookSkippedTests','2894uFcYhg','ktHgp','hookAnalyticsId','mapTestHooks','iLeBX','ogRLq','mkdjo','789AxMoYt','ozoDZ','FGClG','getHooksForTest','sendPlatformDetails','app','Frayn','FBjHS','blFsD','_beforeEach','parent','_afterAll','reduce','XTatO','getBrowserVersion','hook','_afterEach','emit','Wlzrg','indexOf','14tYSBBN','7808lCQAGy','JJQiW','js-','appium:app','1673160fczhqQ','316810qgmmBh','SmsVn','tGIiB','toJSON','InNqR','bs:addPlatformDetails:','push','tPAkK','getPlatform','../../../helpers/test-observability/utils','eRAVK','../../utils/logReportingAPI','slice','generic','string','state','uEphs','unknown_grid','2178iUqRCD','app-automate','passed','hook:','nhbkt','IzGfk','MSzjg','type','fePaO'];a29_0x3d68=function(){return _0xd18e3d;};return a29_0x3d68();}
@@ -1 +1 @@
1
- function a28_0x447b(){const _0x25d255=['yTSLQ','tWYIh','cudKj','state','join','.\x20Error\x20:','WUXCh','stopMonitoring','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','nvxhm','818648nSZqtl','YLbiU','uEIIz','342eCAund','testcase','lzPnr','Bvaom','__skipSessionName','csSCM','shift','currentTest','failed','pJeEh','\x22}}','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','TFZEY','Automate\x20test\x20case\x20execution\x20has\x20started.','aTrHj','env','message','DrOVn','driverCleanup','BS_A11Y_TEST_RUN_ID','percyCaptureMode','stringify','__sessionFailed','getGlobal','189940eEgChZ','vZmCK','getCurrentUrl','isAccessibilityPlatform','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','198688poRzwj','../../helpers/accessibility-automation/helper','quitCount_','passed','browserstackSessionName','format','util','http:','protocol','../../helpers/accessibility-automation/scripts','yddms','then','../../helpers/helper','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','bblRw','DlCMP','LmRqN','ZvcTt','IiiVH','info','testAnalyticsId','QWKgg','13684DYThJH','length','lBmNB','sessionNameSet__','isArray','24241YecxrQ','pYUwj','mochaHooks','BnatO','52UXhaxW','../../helpers/performance-tester','__error_messages__','file','jtvpm','dafrm','err','33528FWwgTG','OFsGD','KjEpp','debug','InUgO','jekXL','\x20|\x20','percy','https:','5755902YGRPwJ','brjSF','bstackA11yShouldScan','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','accessibilityScanStarted','session_','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','title','YWPqH','16094880laQbZI','rTQFh','capabilities','FEJJm','85QVkfaO','\x20-\x20','Failed\x20to\x20store\x20session\x20name:\x20','titlePath','__drivers','appium:app','../../helpers/test-observability/utils','push','app','timeout','LXNkO','setGlobal','45MVOiSw','cFVbE','shouldScanTestForAccessibility','executeScript','saveTestResults','error','../../helpers/globals','NinJY','lORGc','Passed','hlLfZ','ogZmZ','qoSwt'];a28_0x447b=function(){return _0x25d255;};return a28_0x447b();}const a28_0xa93da9=a28_0x10d6;function a28_0x10d6(_0x161c50,_0x1db47a){const _0x447b4e=a28_0x447b();return a28_0x10d6=function(_0x10d67b,_0x244d92){_0x10d67b=_0x10d67b-0x87;let _0x1d66a1=_0x447b4e[_0x10d67b];return _0x1d66a1;},a28_0x10d6(_0x161c50,_0x1db47a);}(function(_0xeb076b,_0x51230c){const _0x8488be=a28_0x10d6,_0x3e20d5=_0xeb076b();while(!![]){try{const _0x34713c=parseInt(_0x8488be(0x8d))/0x1*(parseInt(_0x8488be(0x91))/0x2)+parseInt(_0x8488be(0xa1))/0x3+parseInt(_0x8488be(0xed))/0x4*(-parseInt(_0x8488be(0xaf))/0x5)+-parseInt(_0x8488be(0xd5))/0x6*(-parseInt(_0x8488be(0xf2))/0x7)+parseInt(_0x8488be(0xd2))/0x8*(-parseInt(_0x8488be(0xbb))/0x9)+parseInt(_0x8488be(0xab))/0xa+parseInt(_0x8488be(0x88))/0xb*(-parseInt(_0x8488be(0x98))/0xc);if(_0x34713c===_0x51230c)break;else _0x3e20d5['push'](_0x3e20d5['shift']());}catch(_0x438445){_0x3e20d5['push'](_0x3e20d5['shift']());}}}(a28_0x447b,0xefa88));const util=require(a28_0xa93da9(0xf8)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a28_0xa93da9(0xf3)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require(a28_0xa93da9(0xfe)),{isTestObservabilitySession}=require(a28_0xa93da9(0xb5)),PerformanceTester=require(a28_0xa93da9(0x92)),scripts=require(a28_0xa93da9(0xfb)),globals=require(a28_0xa93da9(0xc1)),logger=require('../../helpers/logger')['winstonLogger'];exports[a28_0xa93da9(0x8f)]={'beforeAll'(){const _0x17c6bd=a28_0xa93da9,_0x477b8b={'rTQFh':function(_0x58edb9,_0x4a8da7,_0xc66e60,_0x5f1fba){return _0x58edb9(_0x4a8da7,_0xc66e60,_0x5f1fba);},'yddms':_0x17c6bd(0xdd),'nvxhm':_0x17c6bd(0x9e),'cudKj':function(_0x94dbf9,_0x2c543d,_0x15cc1d){return _0x94dbf9(_0x2c543d,_0x15cc1d);},'vZmCK':'passed','qoSwt':function(_0x4e0386){return _0x4e0386();},'LXNkO':function(_0xcf8710,_0x2822a9,_0x328aff){return _0xcf8710(_0x2822a9,_0x328aff);}};PerformanceTester['startMonitoring']();const _0x16841d='browserstack internal helper hook';global[_0x17c6bd(0x93)]=[],global[_0x17c6bd(0xeb)]=![],global[_0x17c6bd(0xe7)]=async()=>{const _0x8ee441=_0x17c6bd;let _0x30b7e0=![];try{await global[_0x8ee441(0xb3)][0x0][_0x8ee441(0xa7)],_0x30b7e0=!![],global['__sessionFailed']?await _0x477b8b[_0x8ee441(0xac)](markSessionStatus,global[_0x8ee441(0xb3)][0x0],_0x477b8b[_0x8ee441(0xfc)],global['__error_messages__']['join'](_0x477b8b[_0x8ee441(0xd1)])):await _0x477b8b[_0x8ee441(0xca)](markSessionStatus,global[_0x8ee441(0xb3)][0x0],_0x477b8b[_0x8ee441(0xee)]);}catch(_0x33241f){}global[_0x8ee441(0x93)]=[],global[_0x8ee441(0xeb)]=![];if(_0x30b7e0)try{try{_0x477b8b[_0x8ee441(0xc7)](isTestObservabilitySession)&&(global[_0x8ee441(0xb3)][0x0]&&await _0x477b8b[_0x8ee441(0xb9)](sendPlatformDetails,global[_0x8ee441(0xb3)][0x0],this['currentTest']?this['currentTest'][_0x8ee441(0x106)]:null));}catch{}await global['__drivers'][0x0]['initQuit']();}catch(_0x1cd51f){}};},'beforeEach'(_0x3bae69){const _0x49d23b=a28_0xa93da9,_0x3b2763={'BnatO':function(_0x4bcb21,_0x243e20){return _0x4bcb21>_0x243e20;},'jekXL':_0x49d23b(0xb0),'ysSml':function(_0x7bceb0,_0x32ea3d,_0x4c94a4){return _0x7bceb0(_0x32ea3d,_0x4c94a4);},'qeXQZ':_0x49d23b(0xa3),'hccKf':function(_0x40d54d){return _0x40d54d();},'LmRqN':function(_0x1239e7,_0x383b36){return _0x1239e7>_0x383b36;},'NinJY':_0x49d23b(0xf0),'TFZEY':function(_0x3327c1,_0x4e2bd4){return _0x3327c1===_0x4e2bd4;},'lORGc':_0x49d23b(0xf9),'FEJJm':_0x49d23b(0xa0),'csSCM':_0x49d23b(0xd0),'ULwHU':_0x49d23b(0xe2),'lBmNB':function(_0x5ac66e){return _0x5ac66e();}};new Promise(async _0x3bbe3b=>{const _0x39ef41=_0x49d23b,_0x282fe9='browserstack internal helper hook';let _0x564432=!![];try{_0x3b2763[_0x39ef41(0x90)](global[_0x39ef41(0xb3)][_0x39ef41(0x89)],0x1)&&(await global[_0x39ef41(0xe7)](),global[_0x39ef41(0xb3)][_0x39ef41(0xdb)]()),_0x3b2763[_0x39ef41(0x90)](global[_0x39ef41(0xb3)][0x0]['quitCount_'],0x0)&&(_0x564432=![],await global[_0x39ef41(0xe7)]());}catch{}try{Array[_0x39ef41(0x8c)](global[_0x39ef41(0xb3)])&&global[_0x39ef41(0xb3)][0x0]&&(global['__drivers'][0x0][_0x39ef41(0xf6)]=this[_0x39ef41(0xdc)]['titlePath']()[_0x39ef41(0xcc)](_0x3b2763['jekXL'])),global[_0x39ef41(0xf6)]=this[_0x39ef41(0xdc)][_0x39ef41(0xb2)]()['join'](_0x3b2763[_0x39ef41(0x9d)]);}catch(_0x5b55a7){logger['debug'](_0x39ef41(0xb1)+_0x5b55a7);}this['currentTest'][_0x39ef41(0xbd)]=_0x3b2763['ysSml'](shouldScanTestForAccessibility,this[_0x39ef41(0xdc)][_0x39ef41(0xb2)](),!![]),globals[_0x39ef41(0xba)](_0x3b2763['qeXQZ'],this[_0x39ef41(0xdc)]['shouldScanTestForAccessibility']),this[_0x39ef41(0xdc)]['accessibilityScanStarted']=!![];if(_0x3b2763['hccKf'](isAccessibilityAutomationSession)&&_0x564432&&Array['isArray'](global[_0x39ef41(0xb3)])&&_0x3b2763[_0x39ef41(0x102)](global[_0x39ef41(0xb3)][_0x39ef41(0x89)],0x0)&&globals['getGlobal'](_0x3b2763[_0x39ef41(0xc2)]))try{const _0x7823b5=await global[_0x39ef41(0xb3)][0x0][_0x39ef41(0xa7)];if(_0x7823b5){let _0x45cceb=!![];const _0x5d37df=await global['__drivers'][0x0][_0x39ef41(0xef)]();let _0x5bba53;try{_0x5bba53=new URL(_0x5d37df);}catch(_0x32cb54){_0x45cceb=![];}_0x45cceb=_0x3b2763[_0x39ef41(0xe1)](_0x5bba53[_0x39ef41(0xfa)],_0x3b2763[_0x39ef41(0xc3)])||_0x3b2763[_0x39ef41(0xe1)](_0x5bba53[_0x39ef41(0xfa)],_0x3b2763[_0x39ef41(0xae)]),_0x45cceb&&(this[_0x39ef41(0xdc)][_0x39ef41(0xbd)]&&logger['info'](_0x3b2763[_0x39ef41(0xda)])),this[_0x39ef41(0xdc)]['accessibilityScanStarted']=this['currentTest'][_0x39ef41(0xbd)],this[_0x39ef41(0xdc)][_0x39ef41(0xbd)]&&logger[_0x39ef41(0x105)](_0x3b2763['ULwHU']);}}catch(_0x19713d){logger[_0x39ef41(0xc0)](_0x39ef41(0xe0)+util[_0x39ef41(0xf7)](_0x19713d));}_0x3b2763[_0x39ef41(0x8a)](_0x3bbe3b);})[_0x49d23b(0xfd)](_0x3bae69);},'afterEach'(_0x2be1f8){const _0x3c3322=a28_0xa93da9,_0x1bce86={'hlLfZ':function(_0x3e3d85,_0x1b1083){return _0x3e3d85>_0x1b1083;},'anSUY':function(_0x40dfa8,_0x2836fe){return _0x40dfa8===_0x2836fe;},'Bvaom':_0x3c3322(0xd6),'ogZmZ':function(_0x286876,_0x2e4cc7){return _0x286876>_0x2e4cc7;},'brjSF':_0x3c3322(0xb4),'lzPnr':function(_0x49e338,_0x53dc68,_0x281529,_0x5deb62){return _0x49e338(_0x53dc68,_0x281529,_0x5deb62);},'KjEpp':_0x3c3322(0xb0),'YLbiU':function(_0x59a0fc,_0x508be9){return _0x59a0fc!==_0x508be9;},'OFsGD':_0x3c3322(0xf5),'ettJc':function(_0x54accd,_0x3ce14c,_0x4a8fc6){return _0x54accd(_0x3ce14c,_0x4a8fc6);},'uEgIz':function(_0x4d5c4b,_0x2eaa0b){return _0x4d5c4b+_0x2eaa0b;},'pYUwj':'Failed:\x20','uEIIz':_0x3c3322(0xc0),'DlCMP':function(_0x2ae6ee,_0x38c806,_0x57d37f){return _0x2ae6ee(_0x38c806,_0x57d37f);},'aTrHj':_0x3c3322(0xc4),'dafrm':_0x3c3322(0x105),'WUXCh':_0x3c3322(0xf0),'bblRw':_0x3c3322(0xa3),'IiiVH':_0x3c3322(0xa4),'tWYIh':function(_0x2dc9b5,_0x4e74e9){return _0x2dc9b5(_0x4e74e9);},'yTSLQ':'Performing\x20scan\x20before\x20saving\x20results','pJeEh':_0x3c3322(0xa8),'cFVbE':function(_0x9e8c58){return _0x9e8c58();},'DrOVn':function(_0x592d22,_0x1aa764,_0x4860a2){return _0x592d22(_0x1aa764,_0x4860a2);},'InUgO':function(_0x3e131c,_0x4a1852,_0x5e3b91){return _0x3e131c(_0x4a1852,_0x5e3b91);},'ZvcTt':_0x3c3322(0x9b),'YWPqH':function(_0x2d0362,_0x214279){return _0x2d0362>_0x214279;},'QWKgg':function(_0x288a1a){return _0x288a1a();}},_0x6d1d04='browserstack internal helper hook';this[_0x3c3322(0xb8)](0xfde8);const _0xd6cd07=async(_0x3d0f1a,_0x5d07eb)=>{const _0x1ca66c=_0x3c3322;await global[_0x1ca66c(0xb3)][0x0][_0x1ca66c(0xbe)](_0x1ca66c(0xa5)+_0x3d0f1a+',\x22level\x22:\x20\x22'+_0x5d07eb+_0x1ca66c(0xdf));};new Promise(async _0x223fe8=>{const _0x3fe6b3=_0x3c3322;try{_0x1bce86[_0x3fe6b3(0xc5)](global['__drivers']['length'],0x1)&&(await global[_0x3fe6b3(0xe7)](),global[_0x3fe6b3(0xb3)]['shift'](),global[_0x3fe6b3(0x93)]=[],global['__sessionFailed']=![]);try{if(global[_0x3fe6b3(0x9f)]&&_0x1bce86['anSUY'](global[_0x3fe6b3(0xe9)],_0x1bce86[_0x3fe6b3(0xd8)])&&global[_0x3fe6b3(0xb3)][0x0]){const _0x9cb7f8=_0x1bce86[_0x3fe6b3(0xc6)](global[_0x3fe6b3(0xad)]['length'],0x0)?!!global[_0x3fe6b3(0xad)][0x0][_0x3fe6b3(0xb7)]||!!global[_0x3fe6b3(0xad)][0x0][_0x1bce86[_0x3fe6b3(0xa2)]]:![],_0x464a29={};_0x464a29['app']=_0x9cb7f8,await _0x1bce86[_0x3fe6b3(0xd7)](percyAutoCapture,global[_0x3fe6b3(0xb3)][0x0],_0x1bce86[_0x3fe6b3(0xd8)],_0x464a29);}}catch(_0x194307){}!global[_0x3fe6b3(0xd9)]&&(await global[_0x3fe6b3(0xb3)][0x0]['executeScript'](_0x3fe6b3(0xf1)+JSON[_0x3fe6b3(0xea)](this[_0x3fe6b3(0xdc)]['titlePath']()[_0x3fe6b3(0xcc)](_0x1bce86[_0x3fe6b3(0x9a)]))+'}}'),global['__drivers'][0x0][_0x3fe6b3(0x8b)]=!![]);const _0x426173=_0x1bce86[_0x3fe6b3(0xd3)](this[_0x3fe6b3(0xdc)][_0x3fe6b3(0xcb)],_0x1bce86[_0x3fe6b3(0x99)]);_0x426173?(global['__sessionFailed']=!![],global[_0x3fe6b3(0x93)][_0x3fe6b3(0xb6)](this[_0x3fe6b3(0xdc)][_0x3fe6b3(0x97)][_0x3fe6b3(0xe5)]),await _0x1bce86['ettJc'](_0xd6cd07,JSON['stringify'](_0x1bce86['uEgIz'](_0x1bce86[_0x3fe6b3(0x8e)],this['currentTest'][_0x3fe6b3(0x97)][_0x3fe6b3(0xe5)])),_0x1bce86[_0x3fe6b3(0xd4)])):await _0x1bce86[_0x3fe6b3(0x101)](_0xd6cd07,JSON[_0x3fe6b3(0xea)](_0x1bce86[_0x3fe6b3(0xe3)]),_0x1bce86[_0x3fe6b3(0x96)]);}catch(_0x15d2e5){}try{if(this['currentTest'][_0x3fe6b3(0xa6)]&&globals[_0x3fe6b3(0xec)](_0x1bce86[_0x3fe6b3(0xce)])&&globals['getGlobal'](_0x1bce86[_0x3fe6b3(0x100)])){logger['info'](_0x1bce86[_0x3fe6b3(0x104)]);const _0x58439a={'saveResults':this[_0x3fe6b3(0xdc)]['shouldScanTestForAccessibility'],'testDetails':{'name':this['currentTest'][_0x3fe6b3(0xa9)],'testRunId':process[_0x3fe6b3(0xe4)][_0x3fe6b3(0xe8)],'filePath':this[_0x3fe6b3(0xdc)][_0x3fe6b3(0x94)],'scopeList':this['currentTest'][_0x3fe6b3(0xb2)]()},'platform':await _0x1bce86[_0x3fe6b3(0xc9)](fetchPlatformDetails,global[_0x3fe6b3(0xb3)][0x0])};logger[_0x3fe6b3(0x9b)](_0x1bce86[_0x3fe6b3(0xc8)]),logger[_0x3fe6b3(0x9b)](util[_0x3fe6b3(0xf7)](await global[_0x3fe6b3(0xb3)][0x0]['executeAsyncScript'](scripts['performScan'],{'method':global[_0x3fe6b3(0xf6)]}))),await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x3fe6b3(0xbf)],_0x58439a),logger[_0x3fe6b3(0x105)](_0x1bce86[_0x3fe6b3(0xde)]);}}catch(_0x4e5f6c){logger[_0x3fe6b3(0xc0)](_0x3fe6b3(0xff)+this[_0x3fe6b3(0xdc)][_0x3fe6b3(0xb2)]()+_0x3fe6b3(0xcd),_0x4e5f6c);}try{try{if(_0x1bce86[_0x3fe6b3(0xbc)](isTestObservabilitySession)){global[_0x3fe6b3(0xb3)][0x0]&&await _0x1bce86[_0x3fe6b3(0xe6)](sendPlatformDetails,global[_0x3fe6b3(0xb3)][0x0],this[_0x3fe6b3(0xdc)]?this[_0x3fe6b3(0xdc)][_0x3fe6b3(0x106)]:null);if(_0x1bce86[_0x3fe6b3(0xbc)](isBrowserstackInfra)){const _0x574a10='ObservabilitySync:'+Date['now']();await _0x1bce86[_0x3fe6b3(0x9c)](_0xd6cd07,JSON[_0x3fe6b3(0xea)](_0x574a10),_0x1bce86[_0x3fe6b3(0x103)]);}}}catch{}_0x1bce86[_0x3fe6b3(0xaa)](global[_0x3fe6b3(0xb3)][0x0][_0x3fe6b3(0xf4)],0x0)&&await global[_0x3fe6b3(0xe7)]();}catch(_0xae8449){}_0x1bce86[_0x3fe6b3(0x87)](_0x223fe8);})[_0x3c3322(0xfd)](()=>_0x2be1f8());},'afterAll'(_0x3b77c7){const _0x2320ea={'jtvpm':function(_0x4726c1){return _0x4726c1();}},_0x5ad335='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x214ee2=>{const _0x402b89=a28_0x10d6;PerformanceTester[_0x402b89(0xcf)](),await global[_0x402b89(0xe7)](),_0x2320ea[_0x402b89(0x95)](_0x214ee2);})['then'](()=>_0x3b77c7());}};
1
+ const a30_0x1f8019=a30_0x2fec;function a30_0x5ee5(){const _0xcb7aaf=['4647520vQPnRe','BlBAk','MwjDl','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','passed','3682944PjqfQQ','14PQkSFS','performScan','driverCleanup','\x20-\x20','startMonitoring','percy','session_','titlePath','KxfmC','../../helpers/globals','HcnVM','quitCount_','WTpGS','BS_A11Y_TEST_RUN_ID','Failed:\x20','emqAT','app','setGlobal','accessibilityScanStarted','file','ObservabilitySync:','push','3361152fPkbAQ','saveTestResults','shift','browserstackSessionName','../../helpers/accessibility-automation/helper','../../helpers/percy/utils','currentTest','obEEW','info','shouldScanTestForAccessibility','LxlkW','Rirdm','message','eVPmN','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','GOzIU','5371965plrggv','dwznC','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','375812hUrGOc','pbnyY','now','VVpAm','then','UvDQG','fTHUJ','__skipSessionName','state','util','15EMgkTQ','677752aWrUQb',',\x22level\x22:\x20\x22','protocol','../../helpers/performance-tester','bstackA11yShouldScan','error','winstonLogger','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','join','failed','mwVSV','\x22}}','IiSbP','jFPMx','hWQhS','testAnalyticsId','SGVBn','../../helpers/accessibility-automation/scripts','dtrBf','FxkgH','oiMDE','capabilities','__error_messages__','isAccessibilityPlatform','owobA','initQuit','getGlobal','xCgKl','format','../../helpers/test-observability/utils','rGsTn','zXryF','kOYix','rsjbw','XjAef','https:','executeAsyncScript','Automate\x20test\x20case\x20execution\x20has\x20started.','env','ZoAav','timeout','2948432lMdMZH','isArray','Kggcq','stringify','getCurrentUrl','Wnujl','length','NlHpM','percyCaptureMode','../../helpers/logger','__sessionFailed','jbVsz','.\x20Error\x20:','err','executeScript','testcase','ndHMl','\x20|\x20','__drivers','sessionNameSet__','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','debug'];a30_0x5ee5=function(){return _0xcb7aaf;};return a30_0x5ee5();}(function(_0x1ae992,_0x266fd5){const _0x3e8678=a30_0x2fec,_0x4d1ab3=_0x1ae992();while(!![]){try{const _0x323c0d=-parseInt(_0x3e8678(0x20a))/0x1+-parseInt(_0x3e8678(0x1ff))/0x2*(parseInt(_0x3e8678(0x209))/0x3)+parseInt(_0x3e8678(0x1ba))/0x4+parseInt(_0x3e8678(0x1d0))/0x5+-parseInt(_0x3e8678(0x1d5))/0x6+parseInt(_0x3e8678(0x1d6))/0x7*(parseInt(_0x3e8678(0x1ec))/0x8)+parseInt(_0x3e8678(0x1fc))/0x9;if(_0x323c0d===_0x266fd5)break;else _0x4d1ab3['push'](_0x4d1ab3['shift']());}catch(_0x50eafd){_0x4d1ab3['push'](_0x4d1ab3['shift']());}}}(a30_0x5ee5,0xd50e7));function a30_0x2fec(_0x361d28,_0x28ed39){const _0x5ee5db=a30_0x5ee5();return a30_0x2fec=function(_0x2fec92,_0x5ead63){_0x2fec92=_0x2fec92-0x192;let _0x1a9075=_0x5ee5db[_0x2fec92];return _0x1a9075;},a30_0x2fec(_0x361d28,_0x28ed39);}const util=require(a30_0x1f8019(0x208)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x1f8019(0x1f0)),{percyAutoCapture}=require(a30_0x1f8019(0x1f1)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper'),{isTestObservabilitySession}=require(a30_0x1f8019(0x1ae)),PerformanceTester=require(a30_0x1f8019(0x194)),scripts=require(a30_0x1f8019(0x1a2)),globals=require(a30_0x1f8019(0x1df)),logger=require(a30_0x1f8019(0x1c3))[a30_0x1f8019(0x197)];exports['mochaHooks']={'beforeAll'(){const _0x4469b6=a30_0x1f8019,_0x5c901b={'SGVBn':function(_0x31cd98,_0x4e9d23,_0x2caeb9,_0x6b7ebe){return _0x31cd98(_0x4e9d23,_0x2caeb9,_0x6b7ebe);},'KxfmC':_0x4469b6(0x19a),'PenPh':_0x4469b6(0x1cb),'MwjDl':function(_0x245295,_0x1f94f9,_0x135786){return _0x245295(_0x1f94f9,_0x135786);},'rGsTn':_0x4469b6(0x1d4),'ndHMl':function(_0x596897){return _0x596897();}};PerformanceTester[_0x4469b6(0x1da)]();const _0x7c8654='browserstack internal helper hook';global['__error_messages__']=[],global[_0x4469b6(0x1c4)]=![],global[_0x4469b6(0x1d8)]=async()=>{const _0x443d28=_0x4469b6;let _0x2ff16f=![];try{await global[_0x443d28(0x1cc)][0x0][_0x443d28(0x1dc)],_0x2ff16f=!![],global['__sessionFailed']?await _0x5c901b[_0x443d28(0x1a1)](markSessionStatus,global[_0x443d28(0x1cc)][0x0],_0x5c901b[_0x443d28(0x1de)],global[_0x443d28(0x1a7)][_0x443d28(0x199)](_0x5c901b['PenPh'])):await _0x5c901b[_0x443d28(0x1d2)](markSessionStatus,global['__drivers'][0x0],_0x5c901b[_0x443d28(0x1af)]);}catch(_0x381544){}global[_0x443d28(0x1a7)]=[],global[_0x443d28(0x1c4)]=![];if(_0x2ff16f)try{try{_0x5c901b[_0x443d28(0x1ca)](isTestObservabilitySession)&&(global[_0x443d28(0x1cc)][0x0]&&await _0x5c901b['MwjDl'](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this[_0x443d28(0x1f2)]['testAnalyticsId']:null));}catch{}await global[_0x443d28(0x1cc)][0x0][_0x443d28(0x1aa)]();}catch(_0x51f578){}};},'beforeEach'(_0x951200){const _0x5e1f55=a30_0x1f8019,_0x5084c1={'DlRjP':function(_0x3d4bc4,_0x338ba8){return _0x3d4bc4>_0x338ba8;},'UvDQG':function(_0x48a50f,_0x59b4fc){return _0x48a50f>_0x59b4fc;},'Rirdm':_0x5e1f55(0x1d9),'dtrBf':function(_0x420ca9,_0x1ce0e6,_0x1b6916){return _0x420ca9(_0x1ce0e6,_0x1b6916);},'XjAef':_0x5e1f55(0x195),'rsjbw':function(_0x38c20c){return _0x38c20c();},'IiSbP':function(_0x1fbcad,_0x1cc821){return _0x1fbcad>_0x1cc821;},'zXryF':_0x5e1f55(0x1a8),'emqAT':function(_0x4b0952,_0x15fb85){return _0x4b0952===_0x15fb85;},'eVPmN':'http:','aiNTm':_0x5e1f55(0x1b4),'LxlkW':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','VVpAm':_0x5e1f55(0x1b6),'jbVsz':function(_0x3dd113){return _0x3dd113();}};new Promise(async _0x37861b=>{const _0x374d2c=_0x5e1f55,_0x34dd7b='browserstack internal helper hook';let _0x1c961c=!![];try{_0x5084c1['DlRjP'](global[_0x374d2c(0x1cc)]['length'],0x1)&&(await global[_0x374d2c(0x1d8)](),global[_0x374d2c(0x1cc)][_0x374d2c(0x1ee)]()),_0x5084c1[_0x374d2c(0x204)](global[_0x374d2c(0x1cc)][0x0][_0x374d2c(0x1e1)],0x0)&&(_0x1c961c=![],await global[_0x374d2c(0x1d8)]());}catch{}try{Array[_0x374d2c(0x1bb)](global['__drivers'])&&global['__drivers'][0x0]&&(global[_0x374d2c(0x1cc)][0x0]['browserstackSessionName']=this[_0x374d2c(0x1f2)][_0x374d2c(0x1dd)]()[_0x374d2c(0x199)](_0x5084c1[_0x374d2c(0x1f7)])),global[_0x374d2c(0x1ef)]=this[_0x374d2c(0x1f2)][_0x374d2c(0x1dd)]()['join'](_0x5084c1[_0x374d2c(0x1f7)]);}catch(_0x3af64f){logger[_0x374d2c(0x1cf)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x3af64f);}this['currentTest'][_0x374d2c(0x1f5)]=_0x5084c1[_0x374d2c(0x1a3)](shouldScanTestForAccessibility,this[_0x374d2c(0x1f2)][_0x374d2c(0x1dd)](),!![]),globals[_0x374d2c(0x1e7)](_0x5084c1[_0x374d2c(0x1b3)],this[_0x374d2c(0x1f2)][_0x374d2c(0x1f5)]),this['currentTest'][_0x374d2c(0x1e8)]=!![];if(_0x5084c1[_0x374d2c(0x1b2)](isAccessibilityAutomationSession)&&_0x1c961c&&Array[_0x374d2c(0x1bb)](global[_0x374d2c(0x1cc)])&&_0x5084c1[_0x374d2c(0x19d)](global[_0x374d2c(0x1cc)][_0x374d2c(0x1c0)],0x0)&&globals[_0x374d2c(0x1ab)](_0x5084c1[_0x374d2c(0x1b0)]))try{const _0x569451=await global[_0x374d2c(0x1cc)][0x0][_0x374d2c(0x1dc)];if(_0x569451){let _0xe1a796=!![];const _0x3429a0=await global[_0x374d2c(0x1cc)][0x0][_0x374d2c(0x1be)]();let _0x29459d;try{_0x29459d=new URL(_0x3429a0);}catch(_0x215f8a){_0xe1a796=![];}_0xe1a796=_0x5084c1[_0x374d2c(0x1e5)](_0x29459d[_0x374d2c(0x193)],_0x5084c1[_0x374d2c(0x1f9)])||_0x5084c1['emqAT'](_0x29459d['protocol'],_0x5084c1['aiNTm']),_0xe1a796&&(this['currentTest'][_0x374d2c(0x1f5)]&&logger[_0x374d2c(0x1f4)](_0x5084c1[_0x374d2c(0x1f6)])),this[_0x374d2c(0x1f2)]['accessibilityScanStarted']=this[_0x374d2c(0x1f2)][_0x374d2c(0x1f5)],this[_0x374d2c(0x1f2)][_0x374d2c(0x1f5)]&&logger[_0x374d2c(0x1f4)](_0x5084c1[_0x374d2c(0x202)]);}}catch(_0x2d07e2){logger[_0x374d2c(0x196)](_0x374d2c(0x1fa)+util['format'](_0x2d07e2));}_0x5084c1[_0x374d2c(0x1c5)](_0x37861b);})[_0x5e1f55(0x203)](_0x951200);},'afterEach'(_0x1a7bcd){const _0x3fe3e7=a30_0x1f8019,_0x3da5b3={'GOzIU':function(_0x12ec40,_0x245a20){return _0x12ec40>_0x245a20;},'TtPiH':function(_0x37129c,_0x3e193f){return _0x37129c===_0x3e193f;},'Kggcq':_0x3fe3e7(0x1c9),'jFPMx':'appium:app','kOYix':function(_0x5d6594,_0x50bf72,_0x16db6c,_0x8415f3){return _0x5d6594(_0x50bf72,_0x16db6c,_0x8415f3);},'NlHpM':_0x3fe3e7(0x1d9),'Wnujl':function(_0x50516f,_0x39ccfd){return _0x50516f!==_0x39ccfd;},'oiMDE':_0x3fe3e7(0x1d4),'FxkgH':function(_0x5c26ee,_0x177fbd,_0x34c00e){return _0x5c26ee(_0x177fbd,_0x34c00e);},'UTYHy':function(_0xfbc399,_0x3a733f){return _0xfbc399+_0x3a733f;},'ZoAav':_0x3fe3e7(0x1e4),'HcnVM':_0x3fe3e7(0x196),'gkiSH':'Passed','fTHUJ':_0x3fe3e7(0x1f4),'mwVSV':'isAccessibilityPlatform','cydsO':'bstackA11yShouldScan','obEEW':_0x3fe3e7(0x1fe),'owobA':function(_0x1cf7c4,_0xaf590b){return _0x1cf7c4(_0xaf590b);},'hWQhS':'Performing\x20scan\x20before\x20saving\x20results','BlBAk':_0x3fe3e7(0x1d3),'WTpGS':function(_0x25f3ed){return _0x25f3ed();},'xCgKl':function(_0x23edde,_0x542303,_0x8dbd02){return _0x23edde(_0x542303,_0x8dbd02);},'pbnyY':function(_0x4fe90a){return _0x4fe90a();},'JHdOh':_0x3fe3e7(0x1cf)},_0x6544c4='browserstack internal helper hook';this['timeout'](0xfde8);const _0x5f4168=async(_0x2bd903,_0x51ac4b)=>{const _0x484138=_0x3fe3e7;await global[_0x484138(0x1cc)][0x0][_0x484138(0x1c8)](_0x484138(0x1ce)+_0x2bd903+_0x484138(0x192)+_0x51ac4b+_0x484138(0x19c));};new Promise(async _0x18963b=>{const _0x15b9f0=_0x3fe3e7;try{_0x3da5b3[_0x15b9f0(0x1fb)](global['__drivers']['length'],0x1)&&(await global[_0x15b9f0(0x1d8)](),global[_0x15b9f0(0x1cc)][_0x15b9f0(0x1ee)](),global['__error_messages__']=[],global[_0x15b9f0(0x1c4)]=![]);try{if(global[_0x15b9f0(0x1db)]&&_0x3da5b3['TtPiH'](global[_0x15b9f0(0x1c2)],_0x3da5b3[_0x15b9f0(0x1bc)])&&global[_0x15b9f0(0x1cc)][0x0]){const _0x56403d=_0x3da5b3['GOzIU'](global[_0x15b9f0(0x1a6)][_0x15b9f0(0x1c0)],0x0)?!!global['capabilities'][0x0][_0x15b9f0(0x1e6)]||!!global[_0x15b9f0(0x1a6)][0x0][_0x3da5b3[_0x15b9f0(0x19e)]]:![],_0x9f8e5a={};_0x9f8e5a[_0x15b9f0(0x1e6)]=_0x56403d,await _0x3da5b3[_0x15b9f0(0x1b1)](percyAutoCapture,global[_0x15b9f0(0x1cc)][0x0],_0x3da5b3['Kggcq'],_0x9f8e5a);}}catch(_0x3377bd){}!global[_0x15b9f0(0x206)]&&(await global[_0x15b9f0(0x1cc)][0x0][_0x15b9f0(0x1c8)](_0x15b9f0(0x198)+JSON['stringify'](this['currentTest'][_0x15b9f0(0x1dd)]()['join'](_0x3da5b3[_0x15b9f0(0x1c1)]))+'}}'),global[_0x15b9f0(0x1cc)][0x0][_0x15b9f0(0x1cd)]=!![]);const _0xa49434=_0x3da5b3[_0x15b9f0(0x1bf)](this['currentTest'][_0x15b9f0(0x207)],_0x3da5b3[_0x15b9f0(0x1a5)]);_0xa49434?(global[_0x15b9f0(0x1c4)]=!![],global[_0x15b9f0(0x1a7)][_0x15b9f0(0x1eb)](this[_0x15b9f0(0x1f2)][_0x15b9f0(0x1c7)]['message']),await _0x3da5b3[_0x15b9f0(0x1a4)](_0x5f4168,JSON[_0x15b9f0(0x1bd)](_0x3da5b3['UTYHy'](_0x3da5b3[_0x15b9f0(0x1b8)],this['currentTest'][_0x15b9f0(0x1c7)][_0x15b9f0(0x1f8)])),_0x3da5b3[_0x15b9f0(0x1e0)])):await _0x3da5b3[_0x15b9f0(0x1a4)](_0x5f4168,JSON[_0x15b9f0(0x1bd)](_0x3da5b3['gkiSH']),_0x3da5b3[_0x15b9f0(0x205)]);}catch(_0x4a409a){}try{if(this[_0x15b9f0(0x1f2)][_0x15b9f0(0x1e8)]&&globals['getGlobal'](_0x3da5b3[_0x15b9f0(0x19b)])&&globals[_0x15b9f0(0x1ab)](_0x3da5b3['cydsO'])){logger[_0x15b9f0(0x1f4)](_0x3da5b3[_0x15b9f0(0x1f3)]);const _0x16a7d4={'saveResults':this[_0x15b9f0(0x1f2)]['shouldScanTestForAccessibility'],'testDetails':{'name':this[_0x15b9f0(0x1f2)]['title'],'testRunId':process[_0x15b9f0(0x1b7)][_0x15b9f0(0x1e3)],'filePath':this[_0x15b9f0(0x1f2)][_0x15b9f0(0x1e9)],'scopeList':this['currentTest'][_0x15b9f0(0x1dd)]()},'platform':await _0x3da5b3[_0x15b9f0(0x1a9)](fetchPlatformDetails,global['__drivers'][0x0])};logger[_0x15b9f0(0x1cf)](_0x3da5b3[_0x15b9f0(0x19f)]),logger[_0x15b9f0(0x1cf)](util[_0x15b9f0(0x1ad)](await global[_0x15b9f0(0x1cc)][0x0][_0x15b9f0(0x1b5)](scripts[_0x15b9f0(0x1d7)],{'method':global['browserstackSessionName']}))),await global[_0x15b9f0(0x1cc)][0x0]['executeAsyncScript'](scripts[_0x15b9f0(0x1ed)],_0x16a7d4),logger[_0x15b9f0(0x1f4)](_0x3da5b3[_0x15b9f0(0x1d1)]);}}catch(_0x1127ca){logger[_0x15b9f0(0x196)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x15b9f0(0x1f2)]['titlePath']()+_0x15b9f0(0x1c6),_0x1127ca);}try{try{if(_0x3da5b3[_0x15b9f0(0x1e2)](isTestObservabilitySession)){global[_0x15b9f0(0x1cc)][0x0]&&await _0x3da5b3[_0x15b9f0(0x1ac)](sendPlatformDetails,global[_0x15b9f0(0x1cc)][0x0],this[_0x15b9f0(0x1f2)]?this['currentTest'][_0x15b9f0(0x1a0)]:null);if(_0x3da5b3[_0x15b9f0(0x200)](isBrowserstackInfra)){const _0x5e9836=_0x15b9f0(0x1ea)+Date[_0x15b9f0(0x201)]();await _0x3da5b3[_0x15b9f0(0x1ac)](_0x5f4168,JSON[_0x15b9f0(0x1bd)](_0x5e9836),_0x3da5b3['JHdOh']);}}}catch{}_0x3da5b3['GOzIU'](global[_0x15b9f0(0x1cc)][0x0][_0x15b9f0(0x1e1)],0x0)&&await global[_0x15b9f0(0x1d8)]();}catch(_0xaf5197){}_0x3da5b3[_0x15b9f0(0x200)](_0x18963b);})[_0x3fe3e7(0x203)](()=>_0x1a7bcd());},'afterAll'(_0x4504e3){const _0x14e066=a30_0x1f8019,_0x458828={'dwznC':function(_0x4ac91a){return _0x4ac91a();}},_0x29d484='browserstack internal helper hook';this[_0x14e066(0x1b9)](0xfde8),new Promise(async _0x28f20e=>{const _0x540ca6=_0x14e066;PerformanceTester['stopMonitoring'](),await global[_0x540ca6(0x1d8)](),_0x458828[_0x540ca6(0x1fd)](_0x28f20e);})[_0x14e066(0x203)](()=>_0x4504e3());}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a29_0x52aa(_0x2306cc,_0x1c9d5b){const _0x12f609=a29_0x12f6();return a29_0x52aa=function(_0x52aadc,_0x386404){_0x52aadc=_0x52aadc-0x1c1;let _0x43c4a2=_0x12f609[_0x52aadc];return _0x43c4a2;},a29_0x52aa(_0x2306cc,_0x1c9d5b);}const a29_0x1167ec=a29_0x52aa;(function(_0x5789a6,_0x3c1b54){const _0x5e4cc6=a29_0x52aa,_0x5f5db2=_0x5789a6();while(!![]){try{const _0x26f0d6=parseInt(_0x5e4cc6(0x1ea))/0x1*(-parseInt(_0x5e4cc6(0x201))/0x2)+-parseInt(_0x5e4cc6(0x1e9))/0x3*(parseInt(_0x5e4cc6(0x1dc))/0x4)+-parseInt(_0x5e4cc6(0x202))/0x5+parseInt(_0x5e4cc6(0x1da))/0x6*(-parseInt(_0x5e4cc6(0x206))/0x7)+-parseInt(_0x5e4cc6(0x209))/0x8*(-parseInt(_0x5e4cc6(0x20b))/0x9)+-parseInt(_0x5e4cc6(0x1c9))/0xa+parseInt(_0x5e4cc6(0x1e2))/0xb;if(_0x26f0d6===_0x3c1b54)break;else _0x5f5db2['push'](_0x5f5db2['shift']());}catch(_0x5997b0){_0x5f5db2['push'](_0x5f5db2['shift']());}}}(a29_0x12f6,0xce7fc));const fs=require('fs'),path=require(a29_0x1167ec(0x1e0)),{spawn}=require(a29_0x1167ec(0x205)),logger=require(a29_0x1167ec(0x1e7))[a29_0x1167ec(0x1c6)],{default:BrowserStackSetup}=require(a29_0x1167ec(0x20a)),helper=require('../../helpers/helper'),constants=require(a29_0x1167ec(0x1d2)),getUserNightwatchConfigs=(_0x4faaa1,_0x25d143)=>{const _0x3d7842=a29_0x1167ec,_0x267117={'Iajwj':'nightwatch.conf.js','kOSZI':'nightwatch.json','fxUGp':function(_0x3d2209,_0x5cc92c){return _0x3d2209(_0x5cc92c);},'Oywun':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x2c87ce=null,_0x585cbd={};const _0x51a984=_0x25d143[_0x3d7842(0x1f0)](_0x653b83=>_0x653b83===_0x3d7842(0x1f9));if(!helper[_0x3d7842(0x1c3)](_0x4faaa1[_0x3d7842(0x1c5)])&&fs[_0x3d7842(0x1f6)](path['join'](process[_0x3d7842(0x1e8)](),_0x4faaa1[_0x3d7842(0x1c5)])))_0x2c87ce=path[_0x3d7842(0x1d7)](process[_0x3d7842(0x1e8)](),_0x4faaa1[_0x3d7842(0x1c5)]),_0x25d143[_0x3d7842(0x1de)](_0x51a984,0x2);else{if(fs[_0x3d7842(0x1f6)](path['join'](process[_0x3d7842(0x1e8)](),_0x267117[_0x3d7842(0x203)])))_0x2c87ce=path[_0x3d7842(0x1d7)](process[_0x3d7842(0x1e8)](),_0x267117[_0x3d7842(0x203)]);else fs[_0x3d7842(0x1f6)](path[_0x3d7842(0x1d7)](process['cwd'](),_0x267117[_0x3d7842(0x1e6)]))&&(_0x2c87ce=path['join'](process['cwd'](),_0x267117['kOSZI']));}return _0x2c87ce?(logger[_0x3d7842(0x1db)](_0x3d7842(0x1c2)+_0x2c87ce),_0x585cbd=_0x267117[_0x3d7842(0x200)](require,_0x2c87ce)):logger[_0x3d7842(0x1db)](_0x267117[_0x3d7842(0x1c8)]),_0x585cbd;},removeExistingEnvs=_0x30bef1=>{const _0x8c7542=a29_0x1167ec,_0x1248c9={};_0x1248c9[_0x8c7542(0x1e4)]=function(_0x441be6,_0xe78f0){return _0x441be6>_0xe78f0;};const _0x39011e=_0x1248c9;let _0xae0741=_0x30bef1[_0x8c7542(0x1f0)](_0x469e9c=>_0x469e9c==='--env');_0x39011e[_0x8c7542(0x1e4)](_0xae0741,-0x1)&&_0x30bef1[_0x8c7542(0x1de)](_0xae0741,0x2),_0xae0741=_0x30bef1['findIndex'](_0x1afb79=>_0x1afb79==='-e'),_0x39011e[_0x8c7542(0x1e4)](_0xae0741,-0x1)&&_0x30bef1[_0x8c7542(0x1de)](_0xae0741,0x2);};function a29_0x12f6(){const _0x55da6e=['cXocA','blyFn','yURAh','join','platform','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','1752Daqito','info','1252CwnEnV','useW3C','splice','now','path','push','56461284uBVaFc','slice','rNxPc','child\x20process\x20exited\x20with\x20code\x20','kOSZI','../../helpers/logger','cwd','5613EIMnMK','321LnkYpQ','inherit','ARDvY','debug','length','start_process','findIndex','UboQo','trim','nightwatch-browserstack.json','Deleting\x20','test_settings','existsSync','port','--env','--config','webdriver','writeFileSync','desiredCapabilities','modifyBrowserStackCaps','platforms','host','fxUGp','6462KIBzxv','6856570CPsOkT','Iajwj','env','child_process','11221zGuiVf','stringify','exports','21416DjQItv','../../helpers/BrowserStackSetup','819cRfMUa','hub.browserstack.com','NhOBz','Getting\x20your\x20nightwatch\x20configs\x20from\x20','isUndefined','nightwatch','config','winstonLogger','ApagZ','Oywun','10684670fypgTH','kLdkN','CKGEN','forEach','map','unlinkSync','filter','JPRQf','split','../utils/constants','ZcMJQ'];a29_0x12f6=function(){return _0x55da6e;};return a29_0x12f6();}function run(_0x2fc64f,_0x3095d6){const _0x4700a4=a29_0x1167ec,_0x4d974d={'kLdkN':_0x4700a4(0x1c4),'frmGt':function(_0x3e2814,_0x58ed45){return _0x3e2814+_0x58ed45;},'UboQo':'test_settings','dOLhv':function(_0x4986e9,_0x375aae,_0x2cc804){return _0x4986e9(_0x375aae,_0x2cc804);},'CKGEN':_0x4700a4(0x20c),'cXocA':_0x4700a4(0x1d9),'yURAh':function(_0x39ca62,_0x15b10e){return _0x39ca62===_0x15b10e;},'VbvtS':_0x4700a4(0x1f3),'ARDvY':function(_0x14b4f7,_0x16689b){return _0x14b4f7(_0x16689b);},'blyFn':function(_0x21b0ad,_0x17e92e,_0x3cfb89,_0x141b36){return _0x21b0ad(_0x17e92e,_0x3cfb89,_0x141b36);},'NhOBz':'nightwatch.cmd','JPRQf':_0x4700a4(0x1f9),'uofut':_0x4700a4(0x1f8),'ApagZ':_0x4700a4(0x1eb),'ZcMJQ':'close'},_0x33ee58=new BrowserStackSetup(_0x2fc64f);if(!_0x33ee58[_0x4700a4(0x1c5)])return;const _0x1e67d7=_0x4d974d['dOLhv'](getUserNightwatchConfigs,_0x2fc64f,_0x3095d6),_0x13eeef={};_0x13eeef[_0x4700a4(0x1ef)]=![];const _0x961a19={};_0x961a19[_0x4700a4(0x1ff)]=_0x4d974d[_0x4700a4(0x1cb)],_0x961a19[_0x4700a4(0x1f7)]=0x1bb;const _0xf1b6c7={};_0xf1b6c7[_0x4700a4(0x1fa)]=_0x13eeef,_0xf1b6c7['selenium']=_0x961a19;const _0x3bb885=_0xf1b6c7;logger[_0x4700a4(0x1db)](_0x4d974d[_0x4700a4(0x1d4)]);const _0x3eb38c={..._0x1e67d7},_0x5c7d3d=_0x3eb38c,_0xd5ea7e=helper[_0x4700a4(0x1dd)](_0x33ee58[_0x4700a4(0x1c5)]),_0x22ac47=[];_0x33ee58[_0x4700a4(0x1c5)][_0x4700a4(0x1fe)][_0x4700a4(0x1cc)]((_0x325b95,_0x45c283)=>{const _0x38bc50=_0x4700a4;_0xd5ea7e?_0x22ac47['push'](helper['modifyBrowserStackW3CCaps'](_0x33ee58[_0x38bc50(0x1c5)],_0x4d974d[_0x38bc50(0x1ca)],_0x45c283)):_0x22ac47[_0x38bc50(0x1e1)](helper[_0x38bc50(0x1fd)](_0x33ee58['config'],_0x4d974d['kLdkN'],_0x45c283));});const _0x3e60c2={},_0x20f735=[];_0x2fc64f[_0x4700a4(0x204)]=_0x2fc64f[_0x4700a4(0x204)]||_0x2fc64f['e'];const _0x467b2f=_0x2fc64f[_0x4700a4(0x204)]?_0x2fc64f['env'][_0x4700a4(0x1f2)]()[_0x4700a4(0x1d1)](',')[_0x4700a4(0x1cd)](_0x525234=>_0x525234[_0x4700a4(0x1f2)]())[_0x4700a4(0x1cf)](_0x42b83f=>_0x42b83f!==''):[''];_0x4d974d[_0x4700a4(0x1d6)](_0x467b2f[_0x4700a4(0x1ee)],0x0)&&_0x467b2f[_0x4700a4(0x1e1)]('');_0x467b2f[_0x4700a4(0x1cc)](_0x1c7485=>{_0x22ac47['forEach'](_0x2fd66b=>{const _0x420e3c=a29_0x52aa;let _0x9b2df2=_0x4d974d['frmGt'](helper['getPlatformName'](_0x2fd66b,'_'),'_'+Date[_0x420e3c(0x1df)]());_0x1c7485&&(_0x9b2df2+='_'+_0x1c7485);if(_0x1c7485&&(!_0x1e67d7[_0x4d974d[_0x420e3c(0x1f1)]]||!_0x1e67d7[_0x4d974d[_0x420e3c(0x1f1)]][_0x1c7485]))return;const _0xe98655={..._0x3bb885};_0xe98655[_0x420e3c(0x1fc)]=_0x2fd66b;const _0x5d0d4f=_0xe98655;_0x3e60c2[_0x9b2df2]=_0x1c7485?helper['mergeDeep'](_0x1e67d7[_0x4d974d[_0x420e3c(0x1f1)]][_0x1c7485],_0x5d0d4f):_0x5d0d4f,_0x20f735['push'](_0x9b2df2);});});!_0x5c7d3d[_0x4700a4(0x1f5)]&&(_0x5c7d3d[_0x4700a4(0x1f5)]={});_0x5c7d3d[_0x4700a4(0x1f5)]={..._0x5c7d3d[_0x4700a4(0x1f5)],..._0x3e60c2};const _0x4c50f1=path[_0x4700a4(0x1d7)](__dirname,_0x4d974d['VbvtS']);fs[_0x4700a4(0x1fb)](_0x4c50f1,JSON[_0x4700a4(0x207)](_0x5c7d3d)),_0x4d974d[_0x4700a4(0x1ec)](removeExistingEnvs,_0x3095d6);const _0x53445f=_0x4d974d[_0x4700a4(0x1d5)](spawn,/^win/['test'](process[_0x4700a4(0x1d8)])?_0x4d974d[_0x4700a4(0x1c1)]:_0x4d974d[_0x4700a4(0x1ca)],[_0x4d974d[_0x4700a4(0x1d0)],_0x4c50f1,..._0x3095d6[_0x4700a4(0x1e3)](0x1),_0x4d974d['uofut'],_0x20f735[_0x4700a4(0x1d7)](',')],{'stdio':_0x4d974d[_0x4700a4(0x1c7)]});_0x53445f['on'](_0x4d974d[_0x4700a4(0x1d3)],async _0x109f27=>{const _0x4cc392=_0x4700a4;logger[_0x4cc392(0x1ed)](_0x4cc392(0x1e5)+_0x109f27),logger['info'](_0x4cc392(0x1f4)+_0x4c50f1),fs[_0x4cc392(0x1ce)](_0x4c50f1);});}module[a29_0x1167ec(0x208)]=run;
2
+ 'use strict';function a31_0x5363(){const _0x441475=['nightwatch-browserstack.json','writeFileSync','../../helpers/helper','map','length','join','debug','platform','--env','config','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','liNYj','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','sfgTS','hub.browserstack.com','cwd','test_settings','env','exports','7806786vXJzbC','existsSync','selenium','eqGuf','1660IEYCZn','modifyBrowserStackCaps','ezOJQ','child\x20process\x20exited\x20with\x20code\x20','XfiDm','sTRoS','JCMDJ','findIndex','2004KoBWLQ','../../helpers/BrowserStackSetup','slice','--config','2069127NvUpHV','12715829VMaYpl','child_process','../../helpers/logger','SSlZv','getPlatformName','bBcdK','filter','TywNj','webdriver','Deleting\x20','desiredCapabilities','push','test','LRzID','path','platforms','7320436sCNBAb','ZrHOB','port','8miOFLw','mergeDeep','split','uuwsO','UwqXA','../utils/constants','host','dQmTL','nightwatch.json','info','forEach','nightwatch.cmd','IJzjf','isUndefined','cApFO','splice','winstonLogger','ysTNY','inherit','start_process','stringify','2080805eWciaj','now','kuArs','trim','452392lmsJMN','Getting\x20your\x20nightwatch\x20configs\x20from\x20'];a31_0x5363=function(){return _0x441475;};return a31_0x5363();}const a31_0x5224e8=a31_0x43dc;(function(_0xfa9345,_0x33878d){const _0x5ccdf0=a31_0x43dc,_0xebf629=_0xfa9345();while(!![]){try{const _0x27f36e=-parseInt(_0x5ccdf0(0x9e))/0x1+-parseInt(_0x5ccdf0(0xb7))/0x2*(parseInt(_0x5ccdf0(0x6d))/0x3)+parseInt(_0x5ccdf0(0x82))/0x4+parseInt(_0x5ccdf0(0x9a))/0x5+parseInt(_0x5ccdf0(0xb3))/0x6+-parseInt(_0x5ccdf0(0x72))/0x7+parseInt(_0x5ccdf0(0x85))/0x8*(parseInt(_0x5ccdf0(0x71))/0x9);if(_0x27f36e===_0x33878d)break;else _0xebf629['push'](_0xebf629['shift']());}catch(_0x2f1e0f){_0xebf629['push'](_0xebf629['shift']());}}}(a31_0x5363,0xe8e45));const fs=require('fs'),path=require(a31_0x5224e8(0x80)),{spawn}=require(a31_0x5224e8(0x73)),logger=require(a31_0x5224e8(0x74))[a31_0x5224e8(0x95)],{default:BrowserStackSetup}=require(a31_0x5224e8(0x6e)),helper=require(a31_0x5224e8(0xa2)),constants=require(a31_0x5224e8(0x8a)),getUserNightwatchConfigs=(_0x35154d,_0x503b7b)=>{const _0x1d9363=a31_0x5224e8,_0x5023d={'sTRoS':'nightwatch.conf.js','XfiDm':_0x1d9363(0x8d),'dQmTL':function(_0x42ce79,_0x2044e3){return _0x42ce79(_0x2044e3);},'kuArs':_0x1d9363(0xac)};let _0x48e5a9=null,_0x230111={};const _0x17a964=_0x503b7b[_0x1d9363(0x6c)](_0x3519b8=>_0x3519b8==='--config');if(!helper[_0x1d9363(0x92)](_0x35154d[_0x1d9363(0xa9)])&&fs[_0x1d9363(0xb4)](path[_0x1d9363(0xa5)](process[_0x1d9363(0xaf)](),_0x35154d[_0x1d9363(0xa9)])))_0x48e5a9=path['join'](process[_0x1d9363(0xaf)](),_0x35154d[_0x1d9363(0xa9)]),_0x503b7b['splice'](_0x17a964,0x2);else{if(fs['existsSync'](path[_0x1d9363(0xa5)](process['cwd'](),_0x5023d['sTRoS'])))_0x48e5a9=path[_0x1d9363(0xa5)](process[_0x1d9363(0xaf)](),_0x5023d[_0x1d9363(0x6a)]);else fs[_0x1d9363(0xb4)](path[_0x1d9363(0xa5)](process['cwd'](),_0x5023d[_0x1d9363(0xbb)]))&&(_0x48e5a9=path['join'](process[_0x1d9363(0xaf)](),_0x5023d[_0x1d9363(0xbb)]));}return _0x48e5a9?(logger[_0x1d9363(0x8e)](_0x1d9363(0x9f)+_0x48e5a9),_0x230111=_0x5023d[_0x1d9363(0x8c)](require,_0x48e5a9)):logger[_0x1d9363(0x8e)](_0x5023d[_0x1d9363(0x9c)]),_0x230111;},removeExistingEnvs=_0x45c0ea=>{const _0x4db6ec=a31_0x5224e8,_0x3ba992={};_0x3ba992['IJzjf']=function(_0x136b3c,_0x17e19c){return _0x136b3c>_0x17e19c;},_0x3ba992[_0x4db6ec(0x79)]=function(_0x111fa9,_0x4ba656){return _0x111fa9>_0x4ba656;};const _0x32ba91=_0x3ba992;let _0x3d2714=_0x45c0ea[_0x4db6ec(0x6c)](_0x1432b9=>_0x1432b9===_0x4db6ec(0xa8));_0x32ba91[_0x4db6ec(0x91)](_0x3d2714,-0x1)&&_0x45c0ea[_0x4db6ec(0x94)](_0x3d2714,0x2),_0x3d2714=_0x45c0ea[_0x4db6ec(0x6c)](_0x3068fc=>_0x3068fc==='-e'),_0x32ba91[_0x4db6ec(0x79)](_0x3d2714,-0x1)&&_0x45c0ea[_0x4db6ec(0x94)](_0x3d2714,0x2);};function run(_0x1ce54e,_0x100196){const _0x3be248=a31_0x5224e8,_0x16a630={'sfgTS':'nightwatch','bBcdK':function(_0x310797,_0x19c3d6){return _0x310797+_0x19c3d6;},'SSlZv':_0x3be248(0xb0),'HbtJD':function(_0x3c3cb6,_0x4b5d60,_0x500300){return _0x3c3cb6(_0x4b5d60,_0x500300);},'JCMDJ':_0x3be248(0xae),'IlEgZ':_0x3be248(0xaa),'uuwsO':function(_0x5b94cb,_0x575a66){return _0x5b94cb===_0x575a66;},'UwqXA':_0x3be248(0xa0),'liNYj':function(_0x7ee79,_0x315510){return _0x7ee79(_0x315510);},'cApFO':function(_0x3615c7,_0x9a87a3,_0x1bf5b0,_0x50b1d7){return _0x3615c7(_0x9a87a3,_0x1bf5b0,_0x50b1d7);},'ZrHOB':_0x3be248(0x90),'LRzID':_0x3be248(0x70),'ezOJQ':_0x3be248(0xa8),'eqGuf':_0x3be248(0x97),'ysTNY':'close'},_0x24ae6b=new BrowserStackSetup(_0x1ce54e);if(!_0x24ae6b[_0x3be248(0xa9)])return;const _0x3d7485=_0x16a630['HbtJD'](getUserNightwatchConfigs,_0x1ce54e,_0x100196),_0x31f022={};_0x31f022[_0x3be248(0x98)]=![];const _0x3f5e2d={};_0x3f5e2d[_0x3be248(0x8b)]=_0x16a630[_0x3be248(0x6b)],_0x3f5e2d[_0x3be248(0x84)]=0x1bb;const _0x4fe05b={};_0x4fe05b[_0x3be248(0x7a)]=_0x31f022,_0x4fe05b[_0x3be248(0xb5)]=_0x3f5e2d;const _0x4229a9=_0x4fe05b;logger[_0x3be248(0x8e)](_0x16a630['IlEgZ']);const _0x3dec4b={..._0x3d7485},_0x4f40ed=_0x3dec4b,_0x59a88e=helper['useW3C'](_0x24ae6b[_0x3be248(0xa9)]),_0x236422=[];_0x24ae6b[_0x3be248(0xa9)][_0x3be248(0x81)][_0x3be248(0x8f)]((_0x4df9a5,_0x5f49dc)=>{const _0x476e40=_0x3be248;_0x59a88e?_0x236422[_0x476e40(0x7d)](helper['modifyBrowserStackW3CCaps'](_0x24ae6b['config'],_0x16a630[_0x476e40(0xad)],_0x5f49dc)):_0x236422['push'](helper[_0x476e40(0xb8)](_0x24ae6b['config'],_0x16a630[_0x476e40(0xad)],_0x5f49dc));});const _0x479583={},_0x29b607=[];_0x1ce54e[_0x3be248(0xb1)]=_0x1ce54e['env']||_0x1ce54e['e'];const _0x18aec4=_0x1ce54e[_0x3be248(0xb1)]?_0x1ce54e[_0x3be248(0xb1)][_0x3be248(0x9d)]()[_0x3be248(0x87)](',')[_0x3be248(0xa3)](_0x332739=>_0x332739[_0x3be248(0x9d)]())[_0x3be248(0x78)](_0x4f9718=>_0x4f9718!==''):[''];_0x16a630[_0x3be248(0x88)](_0x18aec4[_0x3be248(0xa4)],0x0)&&_0x18aec4[_0x3be248(0x7d)]('');_0x18aec4[_0x3be248(0x8f)](_0x55cc17=>{const _0x32b200=_0x3be248;_0x236422[_0x32b200(0x8f)](_0x5a1373=>{const _0xe0e8d=_0x32b200;let _0x52ec7e=_0x16a630[_0xe0e8d(0x77)](helper[_0xe0e8d(0x76)](_0x5a1373,'_'),'_'+Date[_0xe0e8d(0x9b)]());_0x55cc17&&(_0x52ec7e+='_'+_0x55cc17);if(_0x55cc17&&(!_0x3d7485[_0x16a630[_0xe0e8d(0x75)]]||!_0x3d7485[_0x16a630[_0xe0e8d(0x75)]][_0x55cc17]))return;const _0x10b3b7={..._0x4229a9};_0x10b3b7[_0xe0e8d(0x7c)]=_0x5a1373;const _0x630222=_0x10b3b7;_0x479583[_0x52ec7e]=_0x55cc17?helper[_0xe0e8d(0x86)](_0x3d7485[_0x16a630[_0xe0e8d(0x75)]][_0x55cc17],_0x630222):_0x630222,_0x29b607[_0xe0e8d(0x7d)](_0x52ec7e);});});!_0x4f40ed[_0x3be248(0xb0)]&&(_0x4f40ed[_0x3be248(0xb0)]={});_0x4f40ed['test_settings']={..._0x4f40ed['test_settings'],..._0x479583};const _0xeadd52=path[_0x3be248(0xa5)](__dirname,_0x16a630[_0x3be248(0x89)]);fs[_0x3be248(0xa1)](_0xeadd52,JSON[_0x3be248(0x99)](_0x4f40ed)),_0x16a630[_0x3be248(0xab)](removeExistingEnvs,_0x100196);const _0x513720=_0x16a630[_0x3be248(0x93)](spawn,/^win/[_0x3be248(0x7e)](process[_0x3be248(0xa7)])?_0x16a630[_0x3be248(0x83)]:_0x16a630['sfgTS'],[_0x16a630[_0x3be248(0x7f)],_0xeadd52,..._0x100196[_0x3be248(0x6f)](0x1),_0x16a630[_0x3be248(0xb9)],_0x29b607[_0x3be248(0xa5)](',')],{'stdio':_0x16a630[_0x3be248(0xb6)]});_0x513720['on'](_0x16a630[_0x3be248(0x96)],async _0x5086c9=>{const _0x28d957=_0x3be248;logger[_0x28d957(0xa6)](_0x28d957(0xba)+_0x5086c9),logger[_0x28d957(0x8e)](_0x28d957(0x7b)+_0xeadd52),fs['unlinkSync'](_0xeadd52);});}function a31_0x43dc(_0x410b3e,_0x432222){const _0x5363ef=a31_0x5363();return a31_0x43dc=function(_0x43dced,_0x5e0e43){_0x43dced=_0x43dced-0x6a;let _0x28a45b=_0x5363ef[_0x43dced];return _0x28a45b;},a31_0x43dc(_0x410b3e,_0x432222);}module[a31_0x5224e8(0xb2)]=run;
@@ -1 +1 @@
1
- const a30_0x3d679c=a30_0x1e7d;(function(_0x3b4985,_0xd22bf8){const _0x35df19=a30_0x1e7d,_0x512045=_0x3b4985();while(!![]){try{const _0x260d2c=-parseInt(_0x35df19(0xcd))/0x1*(-parseInt(_0x35df19(0xc1))/0x2)+parseInt(_0x35df19(0xbe))/0x3*(parseInt(_0x35df19(0x8f))/0x4)+-parseInt(_0x35df19(0xb6))/0x5*(parseInt(_0x35df19(0x9a))/0x6)+parseInt(_0x35df19(0xd0))/0x7*(parseInt(_0x35df19(0x9d))/0x8)+-parseInt(_0x35df19(0x76))/0x9*(-parseInt(_0x35df19(0xc0))/0xa)+parseInt(_0x35df19(0xb8))/0xb*(parseInt(_0x35df19(0x78))/0xc)+-parseInt(_0x35df19(0xa1))/0xd;if(_0x260d2c===_0xd22bf8)break;else _0x512045['push'](_0x512045['shift']());}catch(_0x31d827){_0x512045['push'](_0x512045['shift']());}}}(a30_0x583f,0xac5d0));const util=require(a30_0x3d679c(0x7f)),logger=require(a30_0x3d679c(0x9b))[a30_0x3d679c(0xda)],{isAccessibilityAutomationSession}=require(a30_0x3d679c(0x84)),{isUndefined}=require(a30_0x3d679c(0xd8)),scripts=require(a30_0x3d679c(0x9e));exports[a30_0x3d679c(0xbd)]=async(_0x42fbcb,_0x3be383,_0x49851d={})=>{const _0x44554f=a30_0x3d679c,_0x2d0ae4={};_0x2d0ae4[_0x44554f(0xc6)]=_0x44554f(0x91);const _0x15772a=_0x2d0ae4;return await _0x42fbcb[_0x44554f(0x83)](_0x44554f(0x99)+_0x3be383[_0x44554f(0xd6)](/arguments/g,_0x15772a[_0x44554f(0xc6)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x44554f(0xd7)](_0x49851d)+')');},exports[a30_0x3d679c(0xc4)]=async(_0x48719e,_0x596d4f,_0xfe2d0b={})=>{const _0x4f80e2=a30_0x3d679c,_0x1d56b7={};_0x1d56b7[_0x4f80e2(0x86)]=function(_0x28e335,_0x14d460){return _0x28e335===_0x14d460;},_0x1d56b7['oKyut']=_0x4f80e2(0xdc),_0x1d56b7[_0x4f80e2(0xbc)]=_0x4f80e2(0x74),_0x1d56b7[_0x4f80e2(0xb1)]='bstackSdkArgs';const _0x2346e7=_0x1d56b7;if(_0x2346e7[_0x4f80e2(0x86)](_0x48719e[_0x4f80e2(0xdb)][_0x4f80e2(0xb5)],_0x2346e7['oKyut']))return await _0x48719e['executeAsyncScript'](_0x596d4f,_0xfe2d0b);else{if(_0x2346e7[_0x4f80e2(0x86)](_0x48719e[_0x4f80e2(0xdb)][_0x4f80e2(0xb5)],_0x2346e7[_0x4f80e2(0xbc)]))return await _0x48719e[_0x4f80e2(0x9f)](_0x4f80e2(0xa2)+_0x596d4f[_0x4f80e2(0xd6)](/arguments/g,_0x2346e7[_0x4f80e2(0xb1)])+_0x4f80e2(0x88)+JSON['stringify'](_0xfe2d0b)+')');}},exports[a30_0x3d679c(0xb4)]=async _0x58feb2=>{const _0x4b16d0=a30_0x3d679c,_0x4d493d={};_0x4d493d[_0x4b16d0(0x93)]=_0x4b16d0(0xa9),_0x4d493d[_0x4b16d0(0xd3)]=_0x4b16d0(0xc3),_0x4d493d[_0x4b16d0(0x73)]=_0x4b16d0(0xc2),_0x4d493d[_0x4b16d0(0xce)]=_0x4b16d0(0x94),_0x4d493d[_0x4b16d0(0xb0)]='accessibilityOptions.authToken',_0x4d493d['bXasG']=_0x4b16d0(0xaa);const _0x1becae=_0x4d493d;_0x58feb2[_0x4b16d0(0x9c)]&&(_0x58feb2[_0x4b16d0(0x9c)][_0x4b16d0(0xa6)]&&(_0x58feb2[_0x1becae[_0x4b16d0(0x93)]]=_0x58feb2[_0x4b16d0(0x9c)][_0x4b16d0(0xa6)]),_0x58feb2[_0x4b16d0(0x9c)][_0x4b16d0(0x80)]&&(_0x58feb2[_0x1becae[_0x4b16d0(0xd3)]]=_0x58feb2[_0x4b16d0(0x9c)][_0x4b16d0(0x80)]),_0x58feb2[_0x4b16d0(0x9c)]['includeIssueType']&&(_0x58feb2[_0x1becae[_0x4b16d0(0x73)]]=_0x58feb2[_0x4b16d0(0x9c)][_0x4b16d0(0x98)]['bestPractice'],_0x58feb2[_0x1becae[_0x4b16d0(0xce)]]=_0x58feb2[_0x4b16d0(0x9c)][_0x4b16d0(0x98)][_0x4b16d0(0xcf)]));const _0x42b316=JSON[_0x4b16d0(0x82)](process[_0x4b16d0(0xca)][_0x4b16d0(0x85)])[_0x4b16d0(0xbb)];_0x58feb2[_0x1becae[_0x4b16d0(0xb0)]]=process[_0x4b16d0(0xca)][_0x4b16d0(0xba)],_0x58feb2[_0x1becae[_0x4b16d0(0x96)]]=_0x42b316,delete _0x58feb2[_0x4b16d0(0x9c)];},exports[a30_0x3d679c(0xb9)]=async _0x4cd719=>{const _0x29537e=a30_0x3d679c,_0x5c3032={};_0x5c3032[_0x29537e(0x79)]='No\x20accessibility\x20results\x20were\x20found.',_0x5c3032['GkTTu']=_0x29537e(0xdd);const _0x3fe7b6=_0x5c3032;if(global[_0x29537e(0xd4)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x4cd719,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x4cd719,scripts.getResults);return res;}catch{return logger['error'](_0x3fe7b6['WQjRE']),[];}else return logger[_0x29537e(0x97)](_0x3fe7b6[_0x29537e(0xa8)]),[];},exports[a30_0x3d679c(0x75)]=async(_0x3d08ba,_0x15312e='')=>{const _0x721e3b=a30_0x3d679c;if(global[_0x721e3b(0xd4)]){const _0x2fe0a2={};return _0x2fe0a2['method']=_0x15312e,await exports[_0x721e3b(0xbd)](_0x3d08ba,scripts[_0x721e3b(0x75)],_0x2fe0a2);}},exports[a30_0x3d679c(0xab)]=async _0x48f286=>{const _0x8700f3=a30_0x3d679c,_0x1703f5={};_0x1703f5['HyovO']='No\x20summaryResults\x20found.',_0x1703f5[_0x8700f3(0x8e)]=_0x8700f3(0x81);const _0xea5cec=_0x1703f5;if(global[_0x8700f3(0xd4)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x48f286,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x48f286,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x8700f3(0xa7)](_0xea5cec['HyovO']),{};}else return logger[_0x8700f3(0x97)](_0xea5cec['WoZiF']),{};},exports[a30_0x3d679c(0xc5)]=async _0x4ebd85=>{const _0x4f600d=a30_0x3d679c,_0x882323={'eKmlO':function(_0x3decaf,_0x2578ee){return _0x3decaf!==_0x2578ee;},'tZYDM':_0x4f600d(0x8d),'FwiBw':function(_0x16dc31,_0x2c9360){return _0x16dc31===_0x2c9360;},'lksiw':_0x4f600d(0x87),'YAxJO':function(_0x106b00,_0x6dcfa1){return _0x106b00===_0x6dcfa1;},'PfeSR':_0x4f600d(0x8a),'DhiHC':_0x4f600d(0xcb),'tISqo':function(_0x4681e9,_0x5f02ec){return _0x4681e9(_0x5f02ec);},'OiyJC':'latest','apdzj':function(_0x6f4457,_0x23ad3c){return _0x6f4457>_0x23ad3c;},'BUTgM':_0x4f600d(0xaf)};try{if(!_0x882323['eKmlO'](_0x4ebd85[_0x4f600d(0xc9)],''))return logger[_0x4f600d(0x97)](_0x882323[_0x4f600d(0x8c)]),![];const _0x5ed8fe=_0x4ebd85[_0x4f600d(0xa3)];if(!(_0x882323[_0x4f600d(0xd2)](_0x5ed8fe,_0x882323[_0x4f600d(0x7c)])||_0x882323[_0x4f600d(0xc7)](_0x5ed8fe,_0x882323['PfeSR'])))return logger[_0x4f600d(0x97)](_0x882323[_0x4f600d(0x92)]),![];const _0xd47398=_0x882323[_0x4f600d(0x7d)](parseInt,_0x4ebd85[_0x4f600d(0xad)]);if(!(_0x882323['FwiBw'](_0xd47398,_0x882323[_0x4f600d(0x77)])||_0x882323['apdzj'](_0xd47398,0x5e)))return logger[_0x4f600d(0x97)](_0x882323[_0x4f600d(0xa5)]),![];}catch(_0x932d13){logger[_0x4f600d(0xa7)](_0x4f600d(0xb7)+util[_0x4f600d(0x7b)](_0x932d13));}return!![];},exports[a30_0x3d679c(0xcc)]=(_0x272b0a,_0x5f511b,_0x41afe2)=>{const _0x50c4ce=a30_0x3d679c,_0x2b2de9={'OKgSQ':function(_0x38075d){return _0x38075d();},'DVXHo':_0x50c4ce(0xa0),'LpWuV':function(_0x3c9cda,_0x2c969a){return _0x3c9cda===_0x2c969a;},'VrXlk':_0x50c4ce(0x87),'Ovezh':'playwright-chromium','bNRny':_0x50c4ce(0xcb),'AerBj':function(_0x663ecf,_0x41c426){return _0x663ecf===_0x41c426;},'iAkYm':_0x50c4ce(0x95),'NUiGJ':function(_0x229017,_0x434e3b){return _0x229017>_0x434e3b;},'bZeNL':_0x50c4ce(0xaf),'yFtsK':function(_0x1bb854,_0x58ab26){return _0x1bb854(_0x58ab26);},'EwSoR':_0x50c4ce(0x8d),'TKEwb':function(_0x263ef3,_0x2d812d){return _0x263ef3+_0x2d812d;}};try{if(_0x2b2de9[_0x50c4ce(0x90)](isAccessibilityAutomationSession)){global[_0x50c4ce(0xd4)]=!![];!_0x272b0a[_0x2b2de9[_0x50c4ce(0xae)]]&&(global['accessibilityPlatform']=![]);!(_0x2b2de9[_0x50c4ce(0xd9)](_0x272b0a['browserName'],_0x2b2de9['VrXlk'])||_0x2b2de9['LpWuV'](_0x272b0a['browserName'],_0x2b2de9[_0x50c4ce(0xb3)]))&&(logger[_0x50c4ce(0x97)](_0x2b2de9[_0x50c4ce(0x7a)]),global[_0x50c4ce(0xd4)]=![]);!(_0x2b2de9[_0x50c4ce(0x89)](_0x272b0a[_0x50c4ce(0xad)],_0x2b2de9[_0x50c4ce(0xb2)])||_0x2b2de9[_0x50c4ce(0xbf)](_0x272b0a['browser_version'],0x5e))&&(logger['warn'](_0x2b2de9[_0x50c4ce(0xd5)]),global[_0x50c4ce(0xd4)]=![]);!_0x2b2de9[_0x50c4ce(0xd1)](isUndefined,_0x272b0a[_0x50c4ce(0xc9)])&&(logger[_0x50c4ce(0x97)](_0x2b2de9[_0x50c4ce(0x8b)]),global[_0x50c4ce(0xd4)]=![]);if(!global[_0x50c4ce(0xd4)]){_0x272b0a[_0x2b2de9['DVXHo']]=![];const _0x1a7a3f=_0x2b2de9['TKEwb'](_0x5f511b,_0x2b2de9['yFtsK'](encodeURIComponent,JSON[_0x50c4ce(0xd7)](_0x272b0a)));_0x41afe2&&(_0x41afe2[_0x50c4ce(0xa4)]['testInfo'][_0x50c4ce(0x72)][_0x50c4ce(0x7e)][_0x50c4ce(0xac)]['wsEndpoint']=_0x1a7a3f);}}}catch(_0xedecb2){logger[_0x50c4ce(0xa7)](_0x50c4ce(0xc8)+util['format'](_0xedecb2));}};function a30_0x1e7d(_0x1108a9,_0xa048b5){const _0x583f71=a30_0x583f();return a30_0x1e7d=function(_0x1e7d77,_0x85ccf1){_0x1e7d77=_0x1e7d77-0x72;let _0x232f3f=_0x583f71[_0x1e7d77];return _0x232f3f;},a30_0x1e7d(_0x1108a9,_0xa048b5);}function a30_0x583f(){const _0x197c94=['browser_version','DVXHo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','ejyxC','yjEBw','iAkYm','Ovezh','setAccessibilityCapabilities','name','1181855QinhRl','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','198tpaoqS','getAccessibilityResults','BS_A11Y_JWT','scannerVersion','oZUwo','browserStackEvaluate','414ydgiCE','NUiGJ','79760ledfVS','18LlVOEK','accessibilityOptions.includeIssueType.bestPractice','accessibilityOptions.scannerProcessingTimeout','browserStackExecuteDriver','platformValidation','GuzzO','YAxJO','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','deviceName','env','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','processAccessibilityCaps','87387CzkQvS','gLRqP','needsReview','10248syOLWk','yFtsK','FwiBw','iLzOp','accessibilityPlatform','bZeNL','replace','stringify','../../helpers/helper','LpWuV','winstonLogger','constructor','WebDriver','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','project','knTwn','Playwright','performScan','1557WJCFDb','OiyJC','713508ALhyLx','WQjRE','bNRny','format','lksiw','tISqo','use','util','scannerProcessingTimeout','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','parse','evaluate','../../helpers/accessibility-automation/helper','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','vPUNo','chrome','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','AerBj','playwright-chromium','EwSoR','tZYDM','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','WoZiF','8276XOqOiy','OKgSQ','bstackSdkArgs','DhiHC','qsAte','accessibilityOptions.includeIssueType.needsReview','latest','bXasG','warn','includeIssueType','(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','18JnBOnH','../../helpers/logger','accessibilityOptions','2104DfaLax','../../helpers/accessibility-automation/scripts','executeScript','browserstack.accessibility','32396442DkuDxe','(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','browser','currentTest','BUTgM','wcagVersion','debug','GkTTu','accessibilityOptions.wcagVersion','accessibilityOptions.scannerVersion','getAccessibilityResultsSummary','connectOptions'];a30_0x583f=function(){return _0x197c94;};return a30_0x583f();}
1
+ const a32_0x45786d=a32_0x16c3;function a32_0x16c3(_0x4cbbaa,_0x2f660d){const _0x4f38ee=a32_0x4f38();return a32_0x16c3=function(_0x16c30d,_0x5d76dc){_0x16c30d=_0x16c30d-0x7e;let _0x5e3156=_0x4f38ee[_0x16c30d];return _0x5e3156;},a32_0x16c3(_0x4cbbaa,_0x2f660d);}(function(_0x1bc5a4,_0x372d6a){const _0x1b642f=a32_0x16c3,_0xb7747a=_0x1bc5a4();while(!![]){try{const _0x16c69c=-parseInt(_0x1b642f(0xa5))/0x1+-parseInt(_0x1b642f(0x80))/0x2+parseInt(_0x1b642f(0xb0))/0x3+-parseInt(_0x1b642f(0xd5))/0x4*(parseInt(_0x1b642f(0xd0))/0x5)+parseInt(_0x1b642f(0x8f))/0x6*(-parseInt(_0x1b642f(0xa6))/0x7)+parseInt(_0x1b642f(0xac))/0x8*(parseInt(_0x1b642f(0xcc))/0x9)+parseInt(_0x1b642f(0x92))/0xa*(parseInt(_0x1b642f(0x9f))/0xb);if(_0x16c69c===_0x372d6a)break;else _0xb7747a['push'](_0xb7747a['shift']());}catch(_0x609c09){_0xb7747a['push'](_0xb7747a['shift']());}}}(a32_0x4f38,0x92e2f));const util=require(a32_0x45786d(0x96)),logger=require('../../helpers/logger')[a32_0x45786d(0xd8)],{isAccessibilityAutomationSession}=require(a32_0x45786d(0x8b)),{isUndefined}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts');exports[a32_0x45786d(0xde)]=async(_0x48f39d,_0x4728a3,_0x474ad2={})=>{const _0x843c43=a32_0x45786d,_0x48cce4={};_0x48cce4['oqdXT']=_0x843c43(0xc7);const _0x57b040=_0x48cce4;return await _0x48f39d[_0x843c43(0xa9)](_0x843c43(0xcb)+_0x4728a3['replace'](/arguments/g,_0x57b040['oqdXT'])+_0x843c43(0xa7)+JSON['stringify'](_0x474ad2)+')');},exports[a32_0x45786d(0xe0)]=async(_0x32e6fa,_0x5e615e,_0x538dfa={})=>{const _0x3020ea=a32_0x45786d,_0x295189={};_0x295189[_0x3020ea(0xaf)]=function(_0x56d118,_0x1ce827){return _0x56d118===_0x1ce827;},_0x295189['sWJVe']=_0x3020ea(0xc1),_0x295189[_0x3020ea(0x90)]=function(_0x1b8a30,_0x5d2c26){return _0x1b8a30===_0x5d2c26;},_0x295189['tffKe']=_0x3020ea(0xe4),_0x295189[_0x3020ea(0x83)]=_0x3020ea(0xc7);const _0x27464e=_0x295189;if(_0x27464e['YtLuX'](_0x32e6fa['constructor']['name'],_0x27464e[_0x3020ea(0xc4)]))return await _0x32e6fa[_0x3020ea(0xb9)](_0x5e615e,_0x538dfa);else{if(_0x27464e[_0x3020ea(0x90)](_0x32e6fa[_0x3020ea(0xaa)]['name'],_0x27464e[_0x3020ea(0x93)]))return await _0x32e6fa[_0x3020ea(0x99)](_0x3020ea(0x8a)+_0x5e615e[_0x3020ea(0xdc)](/arguments/g,_0x27464e[_0x3020ea(0x83)])+_0x3020ea(0xc5)+JSON[_0x3020ea(0x9e)](_0x538dfa)+')');}},exports[a32_0x45786d(0xb6)]=async _0xf9dea7=>{const _0x69207d=a32_0x45786d,_0x997b81={};_0x997b81[_0x69207d(0xa2)]=_0x69207d(0xb4),_0x997b81[_0x69207d(0xa8)]='accessibilityOptions.scannerProcessingTimeout',_0x997b81[_0x69207d(0xe5)]=_0x69207d(0x85),_0x997b81[_0x69207d(0xa3)]=_0x69207d(0x7e),_0x997b81['quzYO']=_0x69207d(0xd4),_0x997b81[_0x69207d(0xd9)]=_0x69207d(0xa4);const _0x16e31d=_0x997b81;_0xf9dea7[_0x69207d(0x97)]&&(_0xf9dea7['accessibilityOptions'][_0x69207d(0xc3)]&&(_0xf9dea7[_0x16e31d['reClP']]=_0xf9dea7[_0x69207d(0x97)][_0x69207d(0xc3)]),_0xf9dea7[_0x69207d(0x97)][_0x69207d(0x95)]&&(_0xf9dea7[_0x16e31d[_0x69207d(0xa8)]]=_0xf9dea7['accessibilityOptions']['scannerProcessingTimeout']),_0xf9dea7['accessibilityOptions'][_0x69207d(0x88)]&&(_0xf9dea7[_0x16e31d['pJHGG']]=_0xf9dea7[_0x69207d(0x97)][_0x69207d(0x88)][_0x69207d(0xdb)],_0xf9dea7[_0x16e31d[_0x69207d(0xa3)]]=_0xf9dea7[_0x69207d(0x97)][_0x69207d(0x88)][_0x69207d(0xd2)]));const _0x1c3767=JSON['parse'](process[_0x69207d(0xa1)][_0x69207d(0xb7)])[_0x69207d(0xb1)];_0xf9dea7[_0x16e31d[_0x69207d(0xca)]]=process['env']['BS_A11Y_JWT'],_0xf9dea7[_0x16e31d[_0x69207d(0xd9)]]=_0x1c3767,delete _0xf9dea7[_0x69207d(0x97)];},exports[a32_0x45786d(0x9c)]=async _0x30750c=>{const _0x3296b3=a32_0x45786d,_0x5e813b={};_0x5e813b['oCFzB']=_0x3296b3(0x9d),_0x5e813b['ApJNj']=_0x3296b3(0x8e);const _0x162683=_0x5e813b;if(global[_0x3296b3(0xe3)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x30750c,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x30750c,scripts.getResults);return res;}catch{return logger[_0x3296b3(0x91)](_0x162683['oCFzB']),[];}else return logger[_0x3296b3(0x87)](_0x162683['ApJNj']),[];},exports[a32_0x45786d(0xa0)]=async(_0x58e58c,_0x1e7a0f='')=>{const _0x3e9c96=a32_0x45786d;if(global['accessibilityPlatform']){const _0x14ef78={};return _0x14ef78[_0x3e9c96(0xbc)]=_0x1e7a0f,await exports[_0x3e9c96(0xde)](_0x58e58c,scripts[_0x3e9c96(0xa0)],_0x14ef78);}},exports[a32_0x45786d(0xc9)]=async _0x2cb80d=>{const _0x46dbae=a32_0x45786d,_0x373085={};_0x373085[_0x46dbae(0x82)]=_0x46dbae(0xe1),_0x373085['GqBLR']=_0x46dbae(0xc2);const _0x1a0e20=_0x373085;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x2cb80d,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x2cb80d,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x46dbae(0x86)](_0x1a0e20[_0x46dbae(0x82)]),{};}else return logger[_0x46dbae(0x87)](_0x1a0e20[_0x46dbae(0xda)]),{};},exports[a32_0x45786d(0xdd)]=async _0x25374c=>{const _0x5f096a=a32_0x45786d,_0x4ecc5b={'iBJKo':function(_0x7de42,_0xf7c4d2){return _0x7de42!==_0xf7c4d2;},'nFHPw':_0x5f096a(0x81),'lAAuG':function(_0x4029d1,_0x2f7e69){return _0x4029d1===_0x2f7e69;},'BjyDA':_0x5f096a(0xab),'iBvGo':function(_0x683331,_0x5783ac){return _0x683331===_0x5783ac;},'lCxeC':_0x5f096a(0xd3),'LXszY':_0x5f096a(0xcf),'XGqUj':function(_0x5029a3,_0x63c41a){return _0x5029a3(_0x63c41a);},'yNgeC':_0x5f096a(0xba),'zOUxa':function(_0x1c21eb,_0x122f93){return _0x1c21eb>_0x122f93;},'pJKSQ':_0x5f096a(0x94)};try{if(!_0x4ecc5b[_0x5f096a(0x89)](_0x25374c[_0x5f096a(0xcd)],''))return logger[_0x5f096a(0x87)](_0x4ecc5b[_0x5f096a(0xae)]),![];const _0x5ada35=_0x25374c[_0x5f096a(0xb2)];if(!(_0x4ecc5b['lAAuG'](_0x5ada35,_0x4ecc5b[_0x5f096a(0xbf)])||_0x4ecc5b[_0x5f096a(0x8c)](_0x5ada35,_0x4ecc5b[_0x5f096a(0x9a)])))return logger['warn'](_0x4ecc5b[_0x5f096a(0x7f)]),![];const _0x15d89d=_0x4ecc5b[_0x5f096a(0xc0)](parseInt,_0x25374c[_0x5f096a(0x8d)]);if(!(_0x4ecc5b[_0x5f096a(0xc8)](_0x15d89d,_0x4ecc5b[_0x5f096a(0xb5)])||_0x4ecc5b[_0x5f096a(0x98)](_0x15d89d,0x5e)))return logger[_0x5f096a(0x87)](_0x4ecc5b[_0x5f096a(0x84)]),![];}catch(_0x112b20){logger['debug'](_0x5f096a(0xd6)+util['format'](_0x112b20));}return!![];},exports['processAccessibilityCaps']=(_0x25ae26,_0x2acea4,_0x5868d4)=>{const _0x3d2b7f=a32_0x45786d,_0x194b84={'EvABe':function(_0x2284d2){return _0x2284d2();},'cQDwq':'browserstack.accessibility','AIpvA':function(_0x19f5a5,_0x32fa01){return _0x19f5a5===_0x32fa01;},'pBCCQ':_0x3d2b7f(0xab),'NhWSR':'playwright-chromium','gFRej':_0x3d2b7f(0xcf),'yNSge':_0x3d2b7f(0xba),'DhbQe':function(_0x2707a0,_0x343a56){return _0x2707a0>_0x343a56;},'NQBiR':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','FuYab':function(_0x284edd,_0xd810dc){return _0x284edd(_0xd810dc);},'BzFQz':_0x3d2b7f(0x81),'cdTsV':function(_0x4833e2,_0x118be7){return _0x4833e2+_0x118be7;},'TVAlT':function(_0x38ec18,_0x12b222){return _0x38ec18(_0x12b222);}};try{if(_0x194b84[_0x3d2b7f(0xbb)](isAccessibilityAutomationSession)){global[_0x3d2b7f(0xe3)]=!![];!_0x25ae26[_0x194b84['cQDwq']]&&(global['accessibilityPlatform']=![]);!(_0x194b84[_0x3d2b7f(0x9b)](_0x25ae26[_0x3d2b7f(0xd7)],_0x194b84['pBCCQ'])||_0x194b84[_0x3d2b7f(0x9b)](_0x25ae26[_0x3d2b7f(0xd7)],_0x194b84['NhWSR']))&&(logger[_0x3d2b7f(0x87)](_0x194b84[_0x3d2b7f(0xe2)]),global[_0x3d2b7f(0xe3)]=![]);!(_0x194b84[_0x3d2b7f(0x9b)](_0x25ae26[_0x3d2b7f(0x8d)],_0x194b84[_0x3d2b7f(0xdf)])||_0x194b84['DhbQe'](_0x25ae26[_0x3d2b7f(0x8d)],0x5e))&&(logger[_0x3d2b7f(0x87)](_0x194b84['NQBiR']),global[_0x3d2b7f(0xe3)]=![]);!_0x194b84[_0x3d2b7f(0xad)](isUndefined,_0x25ae26[_0x3d2b7f(0xcd)])&&(logger['warn'](_0x194b84['BzFQz']),global[_0x3d2b7f(0xe3)]=![]);if(!global[_0x3d2b7f(0xe3)]){_0x25ae26[_0x194b84[_0x3d2b7f(0xb3)]]=![];const _0x1f7743=_0x194b84[_0x3d2b7f(0xbe)](_0x2acea4,_0x194b84['TVAlT'](encodeURIComponent,JSON[_0x3d2b7f(0x9e)](_0x25ae26)));_0x5868d4&&(_0x5868d4['currentTest'][_0x3d2b7f(0xb8)]['project'][_0x3d2b7f(0xbd)][_0x3d2b7f(0xd1)][_0x3d2b7f(0xc6)]=_0x1f7743);}}}catch(_0x2009bd){logger[_0x3d2b7f(0x86)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x3d2b7f(0xce)](_0x2009bd));}};function a32_0x4f38(){const _0xdc9a=['accessibilityOptions.includeIssueType.needsReview','LXszY','870422vJCrYs','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','vsFkS','RZPPp','pJKSQ','accessibilityOptions.includeIssueType.bestPractice','debug','warn','includeIssueType','iBJKo','(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','../../helpers/accessibility-automation/helper','iBvGo','browser_version','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','21954hhksPj','nfQHu','error','7176880huJwWQ','tffKe','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','scannerProcessingTimeout','util','accessibilityOptions','zOUxa','executeScript','lCxeC','AIpvA','getAccessibilityResults','No\x20accessibility\x20results\x20were\x20found.','stringify','22ewobGS','performScan','env','reClP','TjuPI','accessibilityOptions.scannerVersion','604096xBwHAt','2198oIKCUS','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','uEDEu','evaluate','constructor','chrome','238176zMwZgs','FuYab','nFHPw','YtLuX','1935675PUhfNq','scannerVersion','browser','cQDwq','accessibilityOptions.wcagVersion','yNgeC','setAccessibilityCapabilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','testInfo','executeAsyncScript','latest','EvABe','method','use','cdTsV','BjyDA','XGqUj','WebDriver','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','wcagVersion','sWJVe','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','wsEndpoint','bstackSdkArgs','lAAuG','getAccessibilityResultsSummary','quzYO','(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','306CHuXhf','deviceName','format','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','1514845dvmIhR','connectOptions','needsReview','playwright-chromium','accessibilityOptions.authToken','4UGfrOr','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','browserName','winstonLogger','JnWMO','GqBLR','bestPractice','replace','platformValidation','browserStackEvaluate','yNSge','browserStackExecuteDriver','No\x20summaryResults\x20found.','gFRej','accessibilityPlatform','Playwright','pJHGG'];a32_0x4f38=function(){return _0xdc9a;};return a32_0x4f38();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a31_0x147457=a31_0x5e23;(function(_0x34e220,_0x4abe35){const _0x16815e=a31_0x5e23,_0x4c695b=_0x34e220();while(!![]){try{const _0x1e265a=-parseInt(_0x16815e(0x9a))/0x1+-parseInt(_0x16815e(0x143))/0x2+-parseInt(_0x16815e(0x80))/0x3*(parseInt(_0x16815e(0xc7))/0x4)+-parseInt(_0x16815e(0xf7))/0x5+-parseInt(_0x16815e(0x87))/0x6*(parseInt(_0x16815e(0x13c))/0x7)+-parseInt(_0x16815e(0x135))/0x8*(parseInt(_0x16815e(0xc9))/0x9)+-parseInt(_0x16815e(0x100))/0xa*(-parseInt(_0x16815e(0x8f))/0xb);if(_0x1e265a===_0x4abe35)break;else _0x4c695b['push'](_0x4c695b['shift']());}catch(_0x4fe22c){_0x4c695b['push'](_0x4c695b['shift']());}}}(a31_0x4984,0x396d5));function a31_0x4984(){const _0x3587cb=['./accessibility-helper','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','apply','SIVIN','accessibility','xQgKl','trim','jhxAe','npx','LyrZb','qLBTV','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','true','kTFTW','QJCNW','filter','BFArc','Playwright\x20process\x20exited\x20with\x20code\x20','playwright-browserstack-sdk.config.cjs','WoUOL','UJgiO','rDuYg','lmNnb','assign','BROWSERSTACK_AUTOMATION','Error\x20in\x20getting\x20funnel\x20data\x20results','XJkBY','.browserstack','cthDX','USER_CONFIG_DETAILS_PATH','join','pGxSo','8fELrzn','getProxyUrl','testObservability','startsWith','testDir','vdrVo','./reporter/reporter.js','1428GSdics','isTrue','gQvGH','testContextOptions','browserstackSetupConfig.json','XMwsM','TPAtg','673828UTFjJM','./reporter/pwUtils','MQVZH','filterBrowserstackConfig','stringify','qIbfw','WIhix','BROWSERSTACK_TEST_ACCESSIBILITY_YML','exitCode','child_process','object','../../helpers/test-observability/constants','project','PRNrU','skipSessionStatus','null','4377WoelOG','initialize','Deleting\x20','BROWSERSTACK_RERUN','rqyyB','LDGrY','iDUzv','2790QymVQS','collectFilesForProject','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','FxlTL','1|3|4|2|0','getConfigPath','hFctH','vLRkY','11lkPFtl','JTTrP','HZjtZ','../../helpers/logger','_internal','BROWSERSTACK_PW_CONFIG_DIR','../../helpers/helper','--config=','--disable-test-observability','ceshE','getPackageType','437377ltfcFX','VMTle','PLAYWRIGHT','isFalse','Error\x20in\x20deleting\x20playwright\x20results','YLAvA','../../helpers/test-observability/sessionHandler','debug','iwpFu','BROWSERSTACK_TEST_OBSERVABILITY','dirname','logLevel','BS_A11Y_JWT','YFmVV','biLAq','paths','oESqu','resolve','bWfWe','BS_A11Y_TEST_RUN_ID','BROWSERSTACK_SETUP_CONFIG_PATH','YCsSZ','testIgnore','get','split','AECFj','../../helpers/test-observability/error-handler','push','lNinP','HaTvQ','isUndefined','PNpRp','JtlTx','homedir','IsOyH','testMatch','config','winstonLogger','fMWCR','length','hivlT','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','requirePWModule','nKyIb','inherit','556yoqfjb','parse','1950111HNPBXA','error','vifRW','EDzqS','splice','argv','BROWSERSTACK_RERUN_TESTS','info','\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','win32','path','--grep','TPrRU','zojUo','has','cliConfig','QaFeR','UUCIN','KINxl','EDuMR','unlinkSync','respectGitIgnore','platform','@playwright/test','pw_result.json','KXbpp','xvJwm','--config','HSSTX','--disable-browserstack-automation','default','CeDVX','concat','GQnEP','ZfswA','clearTempPWConfig','globalSetup','OkOFY','playwright','RmGoJ','./globalSetup.js','accessibilityOptions','../../helpers/accessibility-automation/helper','vDvDi','2030160qWTJlm','errorMessage','playwright-browserstack-sdk.config.js','dYtdF','cwd','includes','sIitH','YuZMH','qgmMB','19298840BXakpA','IHslk','env','kfXkN','automation','existsSync','indexOf','test','../../helpers/BrowserStackSetup','\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();','platforms','string','mWIyg','zsobw','QDlpZ','Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','slice','BrowserStack\x20config\x20file\x20not\x20found.','KzevC','map','Getting\x20your\x20playwright\x20config\x20from\x20'];a31_0x4984=function(){return _0x3587cb;};return a31_0x4984();}const fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a31_0x147457(0x79)),{inspect,format}=require('util'),logger=require(a31_0x147457(0x92))[a31_0x147457(0xbf)],{default:BrowserStackSetup}=require(a31_0x147457(0x108)),helper=require(a31_0x147457(0x95)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a31_0x147457(0x7b)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a31_0x147457(0x144)),{CrashReporter,o11yErrorHandler}=require(a31_0x147457(0xb4)),{getFrameworkVersion}=require('../../helpers/test-observability/utils'),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a31_0x147457(0xf5)),{setAccessibilityCapabilities}=require(a31_0x147457(0x115)),SessionHandler=require(a31_0x147457(0xa0));async function requireOrImportDefaultObject(_0x2504e3){const _0x48583c=a31_0x147457,_0xf2910d={'BIZrz':function(_0x424c3a){return _0x424c3a();},'oESqu':function(_0x869d20,_0x48e64d){return _0x869d20(_0x48e64d);},'vifRW':function(_0x1479d,_0x32cec0){return _0x1479d===_0x32cec0;},'MQVZH':'object','qIbfw':function(_0x4b47c0,_0x55d8d0){return _0x4b47c0 in _0x55d8d0;},'WIhix':_0x48583c(0xe9)},{requireOrImport:_0x46ee79}=helper['requirePWModule'][_0x48583c(0x117)](null,_0xf2910d['BIZrz'](getTransformPath));let _0x41ca71=await _0xf2910d[_0x48583c(0xaa)](_0x46ee79,_0x2504e3);return _0x41ca71&&_0xf2910d[_0x48583c(0xcb)](typeof _0x41ca71,_0xf2910d[_0x48583c(0x145)])&&_0xf2910d[_0x48583c(0x148)](_0xf2910d['WIhix'],_0x41ca71)&&(_0x41ca71=_0x41ca71[_0xf2910d[_0x48583c(0x149)]]),_0x41ca71;}const getUserPlaywrightConfig=async(_0x329831,_0x19d46f)=>{const _0x433a49=a31_0x147457,_0xc17fcb={'LDGrY':function(_0x2d8970){return _0x2d8970();},'tfVlk':function(_0x13fe52,_0x828cf8){return _0x13fe52(_0x828cf8);},'pGxSo':function(_0x1ea566,_0x5ca6a4){return _0x1ea566(_0x5ca6a4);},'crQCC':_0x433a49(0x10f),'iRlTl':_0x433a49(0x120),'YuZMH':'--config='},_0x34ef7f=!helper[_0x433a49(0xb8)](_0x329831[_0x433a49(0xbe)]),_0x5573b7=_0x34ef7f?path[_0x433a49(0xab)](process[_0x433a49(0xfb)](),_0x329831[_0x433a49(0xbe)]):process[_0x433a49(0xfb)](),{resolveConfigFile:_0x3c7e19}=helper[_0x433a49(0xc4)]['apply'](null,_0xc17fcb[_0x433a49(0x85)](getConfigLoaderPath)),_0x10858f=_0xc17fcb['tfVlk'](_0x3c7e19,_0x5573b7);let _0x31ff7d={};if(_0x10858f){logger['info'](_0x433a49(0x114)+_0x10858f);try{_0x31ff7d=await _0xc17fcb[_0x433a49(0x134)](requireOrImportDefaultObject,_0x10858f);}catch(_0x32b59a){return logger['error'](_0xc17fcb['crQCC'],_0x32b59a),null;}}else logger[_0x433a49(0xd0)](_0xc17fcb['iRlTl']);if(_0x34ef7f){const _0x48575c=_0x19d46f['findIndex'](_0xc16126=>_0xc16126===_0x433a49(0xe6)||_0xc16126==='-c'||_0xc16126[_0x433a49(0x138)](_0x433a49(0x96)));_0x19d46f[_0x433a49(0xcd)](_0x48575c,_0x19d46f[_0x48575c][_0x433a49(0x138)](_0xc17fcb[_0x433a49(0xfe)])?0x1:0x2);}const _0xe5679e={};return _0xe5679e[_0x433a49(0xd5)]=_0x10858f,_0xe5679e[_0x433a49(0xbe)]=_0x31ff7d,_0xe5679e;},setGlobalSetup=(_0x5d492d,_0x328411)=>{const _0x23b2f=a31_0x147457,_0x347752={'PNpRp':_0x23b2f(0xef),'lmNnb':'Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','lNinP':function(_0x25cb9e,_0x51bc32){return _0x25cb9e+_0x51bc32;},'qgmMB':_0x23b2f(0xd3),'UUCIN':function(_0x363017,_0x128bcb){return _0x363017(_0x128bcb);},'biLAq':_0x23b2f(0xf3)};if(!_0x5d492d)return![];try{if(_0x5d492d[_0x23b2f(0xef)]){let _0x52d85f;const _0x9e2f88=path[_0x23b2f(0xab)](_0x328411,_0x5d492d[_0x347752[_0x23b2f(0xb9)]]);if(fs[_0x23b2f(0x105)](_0x9e2f88))_0x52d85f=_0x9e2f88;else{const _0x454539={};_0x454539[_0x23b2f(0xa9)]=[_0x328411],_0x52d85f=require['resolve'](_0x5d492d[_0x347752[_0x23b2f(0xb9)]],_0x454539);}if(!_0x52d85f)throw new Error(_0x347752[_0x23b2f(0x12b)]);process['env'][_0x23b2f(0x116)]=_0x52d85f;}}catch(_0x4d9b1f){logger[_0x23b2f(0xca)](_0x347752[_0x23b2f(0xb6)](_0x347752[_0x23b2f(0xff)],_0x347752[_0x23b2f(0xdc)](format,_0x4d9b1f)));}return _0x5d492d[_0x23b2f(0xef)]=require['resolve'](_0x347752[_0x23b2f(0xa8)]),!![];},addReporter=_0x309416=>{const _0x1d48d0=a31_0x147457,_0xbf3b40={};_0xbf3b40[_0x1d48d0(0xcc)]=_0x1d48d0(0x13b),_0xbf3b40[_0x1d48d0(0x11a)]='reporter',_0xbf3b40[_0x1d48d0(0xe4)]=function(_0x2aab11,_0x48c62c){return _0x2aab11===_0x48c62c;},_0xbf3b40[_0x1d48d0(0x11f)]=_0x1d48d0(0x10b),_0xbf3b40[_0x1d48d0(0x103)]=_0x1d48d0(0x7a);const _0x5ccdd5=_0xbf3b40,_0x57400e=path[_0x1d48d0(0x133)](__dirname,_0x5ccdd5['EDzqS']),_0x5ee431=[_0x57400e];if(helper['isUndefined'](_0x309416[_0x5ccdd5['xQgKl']]))_0x309416[_0x5ccdd5[_0x1d48d0(0x11a)]]=[_0x5ee431];else{if(_0x5ccdd5[_0x1d48d0(0xe4)](typeof _0x309416[_0x5ccdd5[_0x1d48d0(0x11a)]],_0x5ccdd5[_0x1d48d0(0x11f)]))_0x309416[_0x5ccdd5[_0x1d48d0(0x11a)]]=[[_0x309416[_0x5ccdd5['xQgKl']]],_0x5ee431];else _0x5ccdd5[_0x1d48d0(0xe4)](typeof _0x309416[_0x5ccdd5['xQgKl']],_0x5ccdd5[_0x1d48d0(0x103)])&&_0x309416[_0x5ccdd5['xQgKl']][_0x1d48d0(0xb5)](_0x5ee431);}},handleO11yRerun=_0x1a23c0=>{const _0x3ab7d5=a31_0x147457,_0x8d592e={};_0x8d592e[_0x3ab7d5(0xea)]=function(_0xb7d517,_0x3961c4){return _0xb7d517!==_0x3961c4;},_0x8d592e[_0x3ab7d5(0xa7)]=_0x3ab7d5(0x7f),_0x8d592e[_0x3ab7d5(0x86)]=_0x3ab7d5(0xd6);const _0x4b470a=_0x8d592e,_0x590094=helper[_0x3ab7d5(0x13d)](process[_0x3ab7d5(0x102)][_0x3ab7d5(0x83)]);if(_0x590094){const _0x5471cd=process[_0x3ab7d5(0x102)][_0x3ab7d5(0xcf)],_0x14763e=[];if(_0x4b470a[_0x3ab7d5(0xea)](_0x5471cd,_0x4b470a[_0x3ab7d5(0xa7)])&&!helper[_0x3ab7d5(0xb8)](_0x5471cd)){_0x5471cd[_0x3ab7d5(0xb2)](',')[_0x3ab7d5(0x113)](_0x6f1b83=>{const _0x1c1e6e=_0x3ab7d5;_0x14763e[_0x1c1e6e(0xb5)]('('+_0x6f1b83[_0x1c1e6e(0x11b)]()+')');});const _0x40c7b9='^'+_0x14763e[_0x3ab7d5(0x133)]('|')+'$';_0x1a23c0[_0x3ab7d5(0xb5)](_0x4b470a[_0x3ab7d5(0x86)],_0x40c7b9);}}},spawnOriginalProcess=_0x7e821=>{const _0x73a3d6=a31_0x147457,_0x283169={'rqyyB':function(_0x14260f,_0x316bb2,_0x8422f,_0x102a7c){return _0x14260f(_0x316bb2,_0x8422f,_0x102a7c);},'vrUDo':_0x73a3d6(0x11d),'SIVIN':_0x73a3d6(0xf1),'XJkBY':function(_0x26ebf7,_0x2d1b89){return _0x26ebf7===_0x2d1b89;},'UJgiO':_0x73a3d6(0xd4),'PRNrU':'inherit'};_0x283169[_0x73a3d6(0x84)](spawn,_0x283169['vrUDo'],[_0x283169[_0x73a3d6(0x118)],..._0x7e821['slice'](0x1)],{'shell':_0x283169[_0x73a3d6(0x12f)](process[_0x73a3d6(0xe1)],_0x283169[_0x73a3d6(0x129)]),'stdio':_0x283169[_0x73a3d6(0x7d)],'cwd':process['cwd']()});},isTestCommand=(_0x1b5fd4,_0x3730be)=>{const _0x10b013=a31_0x147457,_0x58bf16={};_0x58bf16[_0x10b013(0xf2)]=function(_0x7c57b0,_0xee5283){return _0x7c57b0>_0xee5283;},_0x58bf16['GQnEP']=function(_0x510816,_0x1a19ce){return _0x510816===_0x1a19ce;},_0x58bf16[_0x10b013(0xf6)]=_0x10b013(0x107);const _0x210bb2=_0x58bf16;if(_0x210bb2['RmGoJ'](_0x3730be['length'],0x1)&&_0x210bb2[_0x10b013(0xec)](_0x3730be[0x1],_0x210bb2[_0x10b013(0xf6)]))return!![];return![];},initO11yCrashReporter=(_0x197a25,_0x363f78)=>{const _0x23b4b2=a31_0x147457,_0x252e69={'XMwsM':function(_0x317566,_0x2a6c8c){return _0x317566(_0x2a6c8c);}},_0x5eab93={'frameworkName':FRAMEWORKS[_0x23b4b2(0x9c)],'frameworkVersion':_0x252e69[_0x23b4b2(0x141)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT'])};CrashReporter[_0x23b4b2(0x81)](_0x5eab93,_0x197a25,_0x363f78);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x2fd392){const _0x16d284=a31_0x147457,_0x3e6aa3={};_0x3e6aa3['TPAtg']=function(_0x5f569f,_0x46832e){return _0x5f569f>_0x46832e;},_0x3e6aa3[_0x16d284(0xfa)]=function(_0x597267,_0x591391){return _0x597267===_0x591391;};const _0x43dcef=_0x3e6aa3;if(!_0x2fd392||_0x43dcef[_0x16d284(0x142)](_0x2fd392[_0x16d284(0xc1)],0x1)&&_0x43dcef[_0x16d284(0xfa)](_0x2fd392[0x0],null))return process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=![],![];return!![];});function a31_0x5e23(_0x3b4749,_0x108ba5){const _0x498464=a31_0x4984();return a31_0x5e23=function(_0x5e23af,_0x23b685){_0x5e23af=_0x5e23af-0x78;let _0x36d8cb=_0x498464[_0x5e23af];return _0x36d8cb;},a31_0x5e23(_0x3b4749,_0x108ba5);}async function run(_0x2d0d1b,_0x4f0178){const _0x5e8450=a31_0x147457,_0x3738e9={'YLAvA':_0x5e8450(0x130),'IsOyH':_0x5e8450(0xe3),'AECFj':function(_0x217bd5,_0x574995){return _0x217bd5+_0x574995;},'sIitH':_0x5e8450(0x12e),'OkOFY':'5|1|8|2|0|7|4|6|3','xvJwm':function(_0x1dde82){return _0x1dde82();},'nKyIb':function(_0x395156,_0x53bfba){return _0x395156(_0x53bfba);},'cthDX':'Error\x20in\x20closing\x20playwright','fMWCR':'--disable-browserstack-automation','KzevC':'false','QaFeR':_0x5e8450(0x97),'rDuYg':function(_0x7e1a20,_0x5521f5){return _0x7e1a20>=_0x5521f5;},'hFctH':function(_0x396c27,_0x110fa4){return _0x396c27+_0x110fa4;},'EDuMR':_0x5e8450(0x9e),'vdrVo':function(_0x544cf3,_0x3642cc,_0x3d275){return _0x544cf3(_0x3642cc,_0x3d275);},'QDlpZ':function(_0x10d7df,_0x5e34bd){return _0x10d7df(_0x5e34bd);},'JtlTx':_0x5e8450(0x111),'LyrZb':_0x5e8450(0x104),'HZjtZ':function(_0x40cd65,_0x57e85f){return _0x40cd65!=_0x57e85f;},'VMTle':function(_0x3fc1de,_0x125c8c){return _0x3fc1de(_0x125c8c);},'FxlTL':function(_0x51a122,_0x3dffe7){return _0x51a122(_0x3dffe7);},'Ppzdi':function(_0x270d62,_0x3d4798){return _0x270d62(_0x3d4798);},'QJCNW':_0x5e8450(0x8b),'YrVGF':function(_0x47c8fa,_0x3caa27){return _0x47c8fa(_0x3caa27);},'ZfswA':'Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','BFArc':function(_0x3dbcd2,_0x5de3fa){return _0x3dbcd2(_0x5de3fa);},'vLRkY':function(_0x5af786,_0x38e2e8,_0x2adc9b){return _0x5af786(_0x38e2e8,_0x2adc9b);},'zsobw':function(_0x182c1d,_0x5c8a73){return _0x182c1d===_0x5c8a73;},'hivlT':_0x5e8450(0x121),'mWIyg':function(_0x1dbf0c,_0x5bc571){return _0x1dbf0c(_0x5bc571);},'jhxAe':_0x5e8450(0xe2),'HQCpi':function(_0x116166,_0x18a996){return _0x116166(_0x18a996);},'LHoNK':_0x5e8450(0x140),'gQvGH':function(_0x138bd1){return _0x138bd1();},'ceshE':'testDir','KINxl':_0x5e8450(0xbd),'TPrRU':_0x5e8450(0xb0),'FuMDF':'Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','GlOrq':function(_0x58d95c,_0x15db37){return _0x58d95c(_0x15db37);},'IHslk':_0x5e8450(0x127),'HSSTX':_0x5e8450(0xf9),'HaTvQ':function(_0xa4bc33,_0x92c3c0){return _0xa4bc33>_0x92c3c0;},'JTTrP':function(_0x4036f0,_0x265a95,_0x54e00d,_0x3ba44b){return _0x4036f0(_0x265a95,_0x54e00d,_0x3ba44b);},'zojUo':'npx','kTFTW':_0x5e8450(0xf1),'EdfcC':_0x5e8450(0x107),'WoUOL':'--config','YCsSZ':_0x5e8450(0xd4),'iwpFu':_0x5e8450(0xc6),'bWfWe':'close'};!helper[_0x5e8450(0x9d)](process[_0x5e8450(0x102)][_0x5e8450(0x12d)])&&(process[_0x5e8450(0x102)][_0x5e8450(0x12d)]=!![]);process[_0x5e8450(0xce)][_0x5e8450(0xfc)](_0x3738e9[_0x5e8450(0xc0)])&&(process['env'][_0x5e8450(0x12d)]=_0x3738e9[_0x5e8450(0x112)],_0x4f0178=_0x4f0178[_0x5e8450(0x124)](_0x4a8d67=>_0x4a8d67!==_0x5e8450(0xe8)));const _0x1f7278=_0x4f0178[_0x5e8450(0x106)](_0x3738e9[_0x5e8450(0xdb)]);_0x3738e9[_0x5e8450(0x12a)](_0x1f7278,0x0)&&(process[_0x5e8450(0x102)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x3738e9[_0x5e8450(0x112)],_0x4f0178=_0x4f0178[_0x5e8450(0x124)](_0x4af939=>_0x4af939!=='--disable-test-observability'));try{const _0x10f9e8=path[_0x5e8450(0x133)](helper[_0x5e8450(0xbb)](),_0x3738e9[_0x5e8450(0x9f)],_0x3738e9[_0x5e8450(0xbc)]);fs['existsSync'](_0x10f9e8)&&fs[_0x5e8450(0xdf)](_0x10f9e8);}catch(_0x4b5fe9){logger['debug'](_0x3738e9[_0x5e8450(0x8d)](_0x3738e9[_0x5e8450(0xde)],_0x4b5fe9));}if(!_0x3738e9[_0x5e8450(0x13a)](isTestCommand,_0x2d0d1b,_0x4f0178)){_0x3738e9[_0x5e8450(0x10e)](spawnOriginalProcess,_0x4f0178);return;}const _0x37cad6=new BrowserStackSetup(_0x2d0d1b,FRAMEWORKS[_0x5e8450(0x9c)]);if(!_0x37cad6[_0x5e8450(0xbe)]){logger['error'](_0x3738e9[_0x5e8450(0xba)]);return;}await _0x37cad6[_0x5e8450(0x81)]();!helper[_0x5e8450(0xb8)](_0x37cad6[_0x5e8450(0xda)])&&_0x37cad6[_0x5e8450(0xda)][_0x5e8450(0xd9)](_0x3738e9[_0x5e8450(0x11e)])&&(process[_0x5e8450(0x102)][_0x5e8450(0x12d)]=_0x37cad6[_0x5e8450(0xda)][_0x5e8450(0xb1)](_0x3738e9[_0x5e8450(0x11e)])||!![]);_0x3738e9[_0x5e8450(0x91)](_0x37cad6[_0x5e8450(0xbe)][_0x5e8450(0x137)],null)&&!helper['isTrue'](process[_0x5e8450(0x102)][_0x5e8450(0xa3)])&&(process[_0x5e8450(0x102)][_0x5e8450(0xa3)]=process['env'][_0x5e8450(0xa3)]||_0x37cad6[_0x5e8450(0xbe)][_0x5e8450(0x137)]);const _0x6a0495=!helper[_0x5e8450(0x9d)](process[_0x5e8450(0x102)][_0x5e8450(0xa3)]);let _0x290e79=![];_0x37cad6[_0x5e8450(0xbe)][_0x5e8450(0x119)]&&(_0x290e79=!![],process[_0x5e8450(0x102)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x37cad6[_0x5e8450(0xbe)][_0x5e8450(0x119)]);_0x37cad6[_0x5e8450(0xbe)][_0x5e8450(0xf4)]&&(process['env'][_0x5e8450(0xc3)]=JSON[_0x5e8450(0x147)](_0x37cad6[_0x5e8450(0xbe)][_0x5e8450(0xf4)]));const _0x2e8a61=_0x4f0178[_0x5e8450(0xeb)](),_0x58ee84=await _0x3738e9[_0x5e8450(0x13a)](getUserPlaywrightConfig,_0x2d0d1b,_0x4f0178);if(helper['isUndefined'](_0x58ee84)){_0x3738e9[_0x5e8450(0x9b)](spawnOriginalProcess,_0x2e8a61);return;}const _0x530079={..._0x58ee84['config']},_0x22c943=_0x530079,_0x1d8b4c=_0x58ee84[_0x5e8450(0xd5)]?path[_0x5e8450(0xa4)](_0x58ee84[_0x5e8450(0xd5)]):process[_0x5e8450(0xfb)]();process[_0x5e8450(0x102)][_0x5e8450(0x94)]=_0x1d8b4c;if(!_0x3738e9[_0x5e8450(0x13a)](setGlobalSetup,_0x22c943,_0x1d8b4c)){_0x3738e9[_0x5e8450(0x8a)](spawnOriginalProcess,_0x2e8a61);return;}const _0x4c901c=await SessionHandler['launch'](_0x37cad6['config'],{'frameworkName':FRAMEWORKS['PLAYWRIGHT'],'frameworkVersion':_0x3738e9['Ppzdi'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT'])});if(_0x6a0495){const _0x3ddd53=_0x3738e9[_0x5e8450(0x123)][_0x5e8450(0xb2)]('|');let _0x21e6c7=0x0;while(!![]){switch(_0x3ddd53[_0x21e6c7++]){case'0':await _0x3738e9['YrVGF'](launchO11ySession,_0x4c901c);continue;case'1':logger[_0x5e8450(0xd0)](_0x3738e9[_0x5e8450(0xed)]);continue;case'2':_0x3738e9[_0x5e8450(0x125)](handleO11yRerun,_0x4f0178);continue;case'3':_0x3738e9[_0x5e8450(0x8e)](initO11yCrashReporter,_0x22c943,_0x37cad6['config']);continue;case'4':_0x3738e9['YrVGF'](addReporter,_0x22c943);continue;}break;}}let _0x32b20b=_0x3738e9[_0x5e8450(0x10d)](process[_0x5e8450(0x102)][_0x5e8450(0x14a)],_0x3738e9[_0x5e8450(0xc2)]);_0x32b20b=_0x32b20b||_0x3738e9[_0x5e8450(0x10c)](checkAccessibilityPlatformConfig,_0x37cad6[_0x5e8450(0xbe)]),process[_0x5e8450(0x102)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x32b20b;if(_0x32b20b){const [_0x3fa88e,_0x4aa5ec]=await _0x3738e9['vLRkY'](createAccessibilityTestRun,_0x37cad6['config'],_0x3738e9[_0x5e8450(0x11c)]);logger[_0x5e8450(0xa1)](_0x5e8450(0x89)+_0x4aa5ec),process[_0x5e8450(0x102)][_0x5e8450(0xa6)]=_0x3fa88e,process[_0x5e8450(0x102)][_0x5e8450(0xad)]=_0x4aa5ec,_0x3738e9['HQCpi'](setAccessibilityCapabilities,_0x37cad6[_0x5e8450(0xbe)]);}(helper['isUndefined'](_0x37cad6['config'][_0x5e8450(0x10a)])||_0x3738e9[_0x5e8450(0x10d)](_0x37cad6[_0x5e8450(0xbe)][_0x5e8450(0x10a)][_0x5e8450(0xc1)],0x0))&&(process[_0x5e8450(0x102)]['BROWSERSTACK_AUTOMATION']=![]);const _0x13c86c=path[_0x5e8450(0x133)](_0x58ee84[_0x5e8450(0xd5)]?path[_0x5e8450(0xa4)](_0x58ee84[_0x5e8450(0xd5)]):process[_0x5e8450(0xfb)](),_0x3738e9['LHoNK']);fs['writeFileSync'](_0x13c86c,JSON[_0x5e8450(0x147)](_0x37cad6[_0x5e8450(0xbe)])),process[_0x5e8450(0x102)][_0x5e8450(0xae)]=_0x13c86c,helper[_0x5e8450(0xee)]();if(helper[_0x5e8450(0x13d)](process[_0x5e8450(0x102)][_0x5e8450(0x12d)])){let _0x1a8715=[];try{const _0x3acf46=helper[_0x5e8450(0xc4)][_0x5e8450(0x117)](null,_0x3738e9[_0x5e8450(0x13e)](getProjectUtilsPath)),_0x36f76e={};_0x36f76e[_0x5e8450(0xe0)]=!![],_0x36f76e[_0x5e8450(0x139)]='',_0x36f76e[_0x5e8450(0xbd)]='',_0x36f76e[_0x5e8450(0xb0)]='';const _0x6986c2={};_0x6986c2[_0x5e8450(0xe0)]=!![];const _0x529e08={};_0x529e08[_0x5e8450(0x7c)]=_0x36f76e,_0x529e08[_0x5e8450(0x93)]=_0x6986c2;let _0x3fa2b1=_0x529e08;_0x22c943[_0x3738e9[_0x5e8450(0x98)]]&&(_0x3fa2b1['project'][_0x3738e9[_0x5e8450(0x98)]]=_0x22c943[_0x3738e9[_0x5e8450(0x98)]]),_0x22c943[_0x3738e9[_0x5e8450(0xdd)]]&&(_0x3fa2b1['project'][_0x3738e9[_0x5e8450(0xdd)]]=_0x22c943[_0x3738e9[_0x5e8450(0xdd)]]),_0x22c943[_0x3738e9['TPrRU']]&&(_0x3fa2b1['project'][_0x3738e9[_0x5e8450(0xd7)]]=_0x22c943[_0x3738e9[_0x5e8450(0xd7)]]),_0x3fa2b1=Object['assign'](_0x3fa2b1,_0x3fa2b1[_0x5e8450(0x7c)]),_0x1a8715=await _0x3acf46[_0x5e8450(0x88)](_0x3fa2b1);}catch(_0x17a441){logger['debug'](_0x3738e9[_0x5e8450(0xb3)](_0x3738e9['FuMDF'],_0x3738e9['GlOrq'](format,_0x17a441)));}}let _0x4cf36d='';_0x3738e9[_0x5e8450(0x10d)](helper[_0x5e8450(0x99)](),constants['PACKAGE_TYPE']['MODULE'])?_0x4cf36d=_0x3738e9[_0x5e8450(0x101)]:_0x4cf36d=_0x3738e9[_0x5e8450(0xe7)];const _0xfa7abc=path[_0x5e8450(0x133)](_0x58ee84[_0x5e8450(0xd5)]?path[_0x5e8450(0xa4)](_0x58ee84[_0x5e8450(0xd5)]):process[_0x5e8450(0xfb)](),_0x4cf36d);let _0x2dbc14=_0x58ee84[_0x5e8450(0xd5)]?_0x58ee84['path']:'';_0x2dbc14=_0x3738e9[_0x5e8450(0xb7)](_0x2dbc14[_0x5e8450(0xc1)],0x0)?path[_0x5e8450(0xab)](_0x2dbc14):'',process[_0x5e8450(0x102)][_0x5e8450(0x132)]=_0x2dbc14;let _0x2bcdae=_0x5e8450(0xd1);const _0x45cd74=helper[_0x5e8450(0x136)](_0x37cad6['config']);_0x45cd74&&(_0x2bcdae=_0x3738e9[_0x5e8450(0x8d)](_0x5e8450(0xd2)+_0x45cd74+_0x5e8450(0x109),_0x2bcdae));helper[_0x5e8450(0x146)]({},_0x4f0178),fs['writeFileSync'](_0xfa7abc,_0x2bcdae),helper['markSDKSetupComplete']();const _0x1af9dd=_0x3738e9[_0x5e8450(0x90)](spawn,_0x3738e9[_0x5e8450(0xd8)],[_0x3738e9[_0x5e8450(0x122)],_0x3738e9['EdfcC'],_0x3738e9[_0x5e8450(0x128)],_0xfa7abc,..._0x4f0178[_0x5e8450(0x110)](0x2)],{'shell':_0x3738e9[_0x5e8450(0x10d)](process['platform'],_0x3738e9[_0x5e8450(0xaf)]),'stdio':_0x3738e9[_0x5e8450(0xa2)],'cwd':process['cwd'](),'env':Object[_0x5e8450(0x12c)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x5e8450(0x8c)](_0x2d0d1b),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x37cad6['config']['testContextOptions'][_0x5e8450(0x7e)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x37cad6[_0x5e8450(0xbe)][_0x5e8450(0x13f)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x37cad6[_0x5e8450(0xbe)][_0x5e8450(0xa5)]})}),_0x3bc0a5=()=>{const _0x198eb5=_0x5e8450;try{const _0x3c26c5=path[_0x198eb5(0x133)](helper['homedir'](),_0x3738e9[_0x198eb5(0x9f)],_0x3738e9[_0x198eb5(0xbc)]);if(fs[_0x198eb5(0x105)](_0x3c26c5)){let _0x1c874a=fs['readFileSync'](_0x3c26c5);_0x1c874a=JSON[_0x198eb5(0xc8)](_0x1c874a),_0x37cad6[_0x198eb5(0xf8)]=_0x1c874a,fs[_0x198eb5(0xdf)](_0x3c26c5);}}catch(_0x12cb53){logger[_0x198eb5(0xa1)](_0x3738e9['AECFj'](_0x3738e9[_0x198eb5(0xfd)],_0x12cb53));}};_0x1af9dd['on'](_0x3738e9[_0x5e8450(0xac)],async _0x5d0804=>{const _0x494470=_0x5e8450;try{const _0x1f6b81=_0x3738e9[_0x494470(0xf0)][_0x494470(0xb2)]('|');let _0x471940=0x0;while(!![]){switch(_0x1f6b81[_0x471940++]){case'0':logger[_0x494470(0xa1)](_0x494470(0x126)+_0x5d0804);continue;case'1':await helper['finalExecution'](_0x37cad6);continue;case'2':process[_0x494470(0x78)]=_0x5d0804;continue;case'3':fs[_0x494470(0xdf)](_0x13c86c);continue;case'4':fs[_0x494470(0xdf)](_0xfa7abc);continue;case'5':_0x3738e9[_0x494470(0xe5)](_0x3bc0a5);continue;case'6':logger['debug'](_0x494470(0x82)+_0x13c86c);continue;case'7':logger[_0x494470(0xd0)](_0x494470(0x82)+_0xfa7abc);continue;case'8':await _0x3738e9[_0x494470(0xc5)](stopAccessibilityTestRun,_0x37cad6[_0x494470(0xbe)]);continue;}break;}}catch(_0x5354af){logger[_0x494470(0xa1)](_0x3738e9[_0x494470(0xb3)](_0x3738e9[_0x494470(0x131)],_0x5354af));}});}module['exports']=run;
2
+ 'use strict';function a33_0x4596(_0x2f303a,_0x569f41){const _0x36add2=a33_0x36ad();return a33_0x4596=function(_0x459603,_0x1d1aea){_0x459603=_0x459603-0x1b8;let _0x1171d6=_0x36add2[_0x459603];return _0x1171d6;},a33_0x4596(_0x2f303a,_0x569f41);}const a33_0x110918=a33_0x4596;(function(_0x4f23cd,_0x1ff7ac){const _0x523575=a33_0x4596,_0x37c938=_0x4f23cd();while(!![]){try{const _0x420413=-parseInt(_0x523575(0x24f))/0x1*(-parseInt(_0x523575(0x1e1))/0x2)+parseInt(_0x523575(0x1f7))/0x3*(parseInt(_0x523575(0x1e4))/0x4)+parseInt(_0x523575(0x25d))/0x5+parseInt(_0x523575(0x1cb))/0x6+-parseInt(_0x523575(0x22a))/0x7+parseInt(_0x523575(0x1c1))/0x8+-parseInt(_0x523575(0x1bf))/0x9;if(_0x420413===_0x1ff7ac)break;else _0x37c938['push'](_0x37c938['shift']());}catch(_0x43f8ac){_0x37c938['push'](_0x37c938['shift']());}}}(a33_0x36ad,0x315f2));const fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a33_0x110918(0x209)),{format}=require(a33_0x110918(0x20d)),logger=require(a33_0x110918(0x1fa))['winstonLogger'],{default:BrowserStackSetup}=require(a33_0x110918(0x1b8)),helper=require(a33_0x110918(0x25a)),constants=require('../utils/constants'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a33_0x110918(0x26e)),{CrashReporter,o11yErrorHandler}=require(a33_0x110918(0x259)),{getFrameworkVersion}=require(a33_0x110918(0x1d9)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a33_0x110918(0x1e9)),{setAccessibilityCapabilities}=require('./accessibility-helper'),SessionHandler=require(a33_0x110918(0x218));async function requireOrImportDefaultObject(_0x53b57b){const _0x352563=a33_0x110918,_0x323220={'vpwsq':function(_0x221245){return _0x221245();},'PQVDG':function(_0x23a6d8,_0x54c5d9){return _0x23a6d8(_0x54c5d9);},'qkBxn':function(_0x56eaca,_0xb1828c){return _0x56eaca===_0xb1828c;},'HIAVK':_0x352563(0x24b),'urerR':function(_0x23fafa,_0x306012){return _0x23fafa in _0x306012;},'YblRe':_0x352563(0x276)},{requireOrImport:_0xba2b3c}=helper[_0x352563(0x23c)]['apply'](null,_0x323220[_0x352563(0x1c2)](getTransformPath));let _0x46f823=await _0x323220[_0x352563(0x1d4)](_0xba2b3c,_0x53b57b);return _0x46f823&&_0x323220[_0x352563(0x226)](typeof _0x46f823,_0x323220['HIAVK'])&&_0x323220[_0x352563(0x264)](_0x323220[_0x352563(0x227)],_0x46f823)&&(_0x46f823=_0x46f823[_0x323220[_0x352563(0x227)]]),_0x46f823;}const getUserPlaywrightConfig=async(_0x164482,_0x452774)=>{const _0x1d60e4=a33_0x110918,_0x1954f5={'IvyOp':function(_0x3755ed){return _0x3755ed();},'UQglL':function(_0x5ac034,_0x381a3f){return _0x5ac034(_0x381a3f);},'saJfI':function(_0x391e55,_0x4cbad1){return _0x391e55(_0x4cbad1);},'VoJgn':'Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','EgpWR':_0x1d60e4(0x1e5),'QICvt':_0x1d60e4(0x228)},_0x437f92=!helper[_0x1d60e4(0x24d)](_0x164482['config']),_0x71e516=_0x437f92?path['resolve'](process[_0x1d60e4(0x23b)](),_0x164482[_0x1d60e4(0x1d6)]):process[_0x1d60e4(0x23b)](),{resolveConfigFile:_0x76b699}=helper[_0x1d60e4(0x23c)][_0x1d60e4(0x230)](null,_0x1954f5[_0x1d60e4(0x213)](getConfigLoaderPath)),_0x2a1439=_0x1954f5[_0x1d60e4(0x25b)](_0x76b699,_0x71e516);let _0x46c6e7={};if(_0x2a1439){logger[_0x1d60e4(0x23f)]('Getting\x20your\x20playwright\x20config\x20from\x20'+_0x2a1439);try{_0x46c6e7=await _0x1954f5[_0x1d60e4(0x22f)](requireOrImportDefaultObject,_0x2a1439);}catch(_0x56692d){return logger[_0x1d60e4(0x235)](_0x1954f5[_0x1d60e4(0x245)],_0x56692d),null;}}else logger[_0x1d60e4(0x23f)](_0x1954f5[_0x1d60e4(0x233)]);if(_0x437f92){const _0x17632c=_0x452774['findIndex'](_0x5581fb=>_0x5581fb===_0x1d60e4(0x217)||_0x5581fb==='-c'||_0x5581fb[_0x1d60e4(0x1ba)](_0x1d60e4(0x228)));_0x452774[_0x1d60e4(0x219)](_0x17632c,_0x452774[_0x17632c][_0x1d60e4(0x1ba)](_0x1954f5[_0x1d60e4(0x1dd)])?0x1:0x2);}const _0x2489ff={};return _0x2489ff[_0x1d60e4(0x20a)]=_0x2a1439,_0x2489ff[_0x1d60e4(0x1d6)]=_0x46c6e7,_0x2489ff;},setGlobalSetup=(_0x4fd653,_0x37e4c6)=>{const _0x45e4d3=a33_0x110918,_0x524057={'aBYTt':_0x45e4d3(0x26a),'NacgG':_0x45e4d3(0x21c),'cgejX':function(_0x481e24,_0x2b0f8c){return _0x481e24+_0x2b0f8c;},'ztvyn':'Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','npcrF':function(_0x34e040,_0x2e1e76){return _0x34e040(_0x2e1e76);},'zekiB':_0x45e4d3(0x280)};if(!_0x4fd653)return![];try{if(_0x4fd653[_0x45e4d3(0x26a)]){let _0x11a39f;const _0x1f1922=path[_0x45e4d3(0x1e3)](_0x37e4c6,_0x4fd653[_0x524057[_0x45e4d3(0x1bc)]]);if(fs[_0x45e4d3(0x1c5)](_0x1f1922))_0x11a39f=_0x1f1922;else{const _0x2d6d20={};_0x2d6d20['paths']=[_0x37e4c6],_0x11a39f=require[_0x45e4d3(0x1e3)](_0x4fd653[_0x524057['aBYTt']],_0x2d6d20);}if(!_0x11a39f)throw new Error(_0x524057[_0x45e4d3(0x246)]);process[_0x45e4d3(0x278)][_0x45e4d3(0x1e2)]=_0x11a39f;}}catch(_0x3a36a9){logger[_0x45e4d3(0x235)](_0x524057[_0x45e4d3(0x1fe)](_0x524057[_0x45e4d3(0x1cd)],_0x524057[_0x45e4d3(0x26f)](format,_0x3a36a9)));}return _0x4fd653['globalSetup']=require[_0x45e4d3(0x1e3)](_0x524057[_0x45e4d3(0x221)]),!![];},addReporter=_0x205148=>{const _0x5b07b9=a33_0x110918,_0x1077ea={};_0x1077ea[_0x5b07b9(0x1df)]='./reporter/reporter.js',_0x1077ea['wafkQ']='reporter',_0x1077ea[_0x5b07b9(0x236)]=function(_0x32f7fc,_0x1d8d4b){return _0x32f7fc===_0x1d8d4b;},_0x1077ea['MHOla']=_0x5b07b9(0x244),_0x1077ea[_0x5b07b9(0x1d5)]=function(_0x15b1f2,_0x4f6a40){return _0x15b1f2===_0x4f6a40;},_0x1077ea[_0x5b07b9(0x1ff)]=_0x5b07b9(0x24b);const _0x4ba571=_0x1077ea,_0x59270b=path[_0x5b07b9(0x1f2)](__dirname,_0x4ba571['XFhZX']),_0x344a1e=[_0x59270b];if(helper[_0x5b07b9(0x24d)](_0x205148[_0x4ba571[_0x5b07b9(0x1ed)]]))_0x205148[_0x4ba571[_0x5b07b9(0x1ed)]]=[_0x344a1e];else{if(_0x4ba571[_0x5b07b9(0x236)](typeof _0x205148[_0x4ba571[_0x5b07b9(0x1ed)]],_0x4ba571[_0x5b07b9(0x1dc)]))_0x205148[_0x4ba571[_0x5b07b9(0x1ed)]]=[[_0x205148[_0x4ba571[_0x5b07b9(0x1ed)]]],_0x344a1e];else _0x4ba571[_0x5b07b9(0x1d5)](typeof _0x205148[_0x4ba571[_0x5b07b9(0x1ed)]],_0x4ba571[_0x5b07b9(0x1ff)])&&_0x205148[_0x4ba571[_0x5b07b9(0x1ed)]][_0x5b07b9(0x241)](_0x344a1e);}},handleO11yRerun=_0x24f479=>{const _0x66f766=a33_0x110918,_0x2f79e1={};_0x2f79e1[_0x66f766(0x207)]=function(_0x2a672f,_0x5ee144){return _0x2a672f!==_0x5ee144;},_0x2f79e1[_0x66f766(0x24a)]=_0x66f766(0x1fd),_0x2f79e1[_0x66f766(0x1da)]=_0x66f766(0x27c);const _0x4219b6=_0x2f79e1,_0x453c70=helper[_0x66f766(0x222)](process[_0x66f766(0x278)][_0x66f766(0x247)]);if(_0x453c70){const _0x4bc3b8=process[_0x66f766(0x278)][_0x66f766(0x269)],_0x411492=[];if(_0x4219b6[_0x66f766(0x207)](_0x4bc3b8,_0x4219b6[_0x66f766(0x24a)])&&!helper[_0x66f766(0x24d)](_0x4bc3b8)){_0x4bc3b8[_0x66f766(0x215)](',')[_0x66f766(0x216)](_0x55a528=>{const _0x163036=_0x66f766;_0x411492['push']('('+_0x55a528[_0x163036(0x202)]()+')');});const _0x5dab3d='^'+_0x411492[_0x66f766(0x1f2)]('|')+'$';_0x24f479[_0x66f766(0x241)](_0x4219b6[_0x66f766(0x1da)],_0x5dab3d);}}},spawnOriginalProcess=_0x43b92a=>{const _0x11691a=a33_0x110918,_0x387933={'rnKYb':function(_0xb9e7,_0x59d0a2,_0x4d251d,_0x211319){return _0xb9e7(_0x59d0a2,_0x4d251d,_0x211319);},'VFoTT':_0x11691a(0x1d8),'qzRXU':_0x11691a(0x21e),'FEbHV':function(_0x508577,_0x16c1a5){return _0x508577===_0x16c1a5;},'xLFQt':_0x11691a(0x23a),'CyHSZ':_0x11691a(0x1b9)};_0x387933[_0x11691a(0x279)](spawn,_0x387933[_0x11691a(0x223)],[_0x387933[_0x11691a(0x287)],..._0x43b92a['slice'](0x1)],{'shell':_0x387933['FEbHV'](process['platform'],_0x387933['xLFQt']),'stdio':_0x387933[_0x11691a(0x275)],'cwd':process[_0x11691a(0x23b)]()});},isTestCommand=(_0x5a824c,_0x2ec1cb)=>{const _0x5dd7a3=a33_0x110918,_0x249340={};_0x249340[_0x5dd7a3(0x1c7)]=function(_0x575511,_0x2e61b7){return _0x575511>_0x2e61b7;},_0x249340[_0x5dd7a3(0x27d)]=function(_0x2af57d,_0x565bc7){return _0x2af57d===_0x565bc7;},_0x249340['IVJKU']='test';const _0x52466f=_0x249340;if(_0x52466f['lWDng'](_0x2ec1cb[_0x5dd7a3(0x27b)],0x1)&&_0x52466f[_0x5dd7a3(0x27d)](_0x2ec1cb[0x1],_0x52466f[_0x5dd7a3(0x203)]))return!![];return![];},initO11yCrashReporter=(_0x569093,_0x1e1648)=>{const _0x3bb0a5=a33_0x110918,_0x1ca045={'DyYWg':function(_0x2f81cd,_0x49770f){return _0x2f81cd(_0x49770f);}},_0x379adb={'frameworkName':FRAMEWORKS[_0x3bb0a5(0x1cc)],'frameworkVersion':_0x1ca045[_0x3bb0a5(0x1d2)](getFrameworkVersion,FRAMEWORKS[_0x3bb0a5(0x1cc)])};CrashReporter['initialize'](_0x379adb,_0x569093,_0x1e1648);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x63bf4e){const _0x389eb9=a33_0x110918,_0x2e9792={};_0x2e9792[_0x389eb9(0x220)]=function(_0x1a6ce0,_0x39b897){return _0x1a6ce0>_0x39b897;},_0x2e9792['Cmyzz']=function(_0x1f33b7,_0x5069e9){return _0x1f33b7===_0x5069e9;};const _0x363cec=_0x2e9792;if(!_0x63bf4e||_0x363cec[_0x389eb9(0x220)](_0x63bf4e[_0x389eb9(0x27b)],0x1)&&_0x363cec[_0x389eb9(0x256)](_0x63bf4e[0x0],null))return process[_0x389eb9(0x278)][_0x389eb9(0x212)]=![],![];return!![];});function a33_0x36ad(){const _0x5975c1=['parse','isUndefined','mUiaY','122MiYEFC','DFFwe','testContextOptions','--disable-test-observability','close','project','RpJkP','Cmyzz','Error\x20in\x20getting\x20funnel\x20data\x20results','logLevel','../../helpers/test-observability/error-handler','../../helpers/helper','UQglL','automation','1744035RdhFvv','concat','accessibilityOptions','testDir','3|0|6|2|5|1|4|8|7','debug','BS_A11Y_TEST_RUN_ID','urerR','wyOXf','PACKAGE_TYPE','TUQOj','MODULE','BROWSERSTACK_RERUN_TESTS','globalSetup','Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','false','Playwright\x20process\x20exited\x20with\x20code\x20','./reporter/pwUtils','npcrF','BROWSERSTACK_TEST_ACCESSIBILITY_YML','sQtiT','pcPbX','NaKjn','dhMZV','CyHSZ','default','collectFilesForProject','env','rnKYb','finalExecution','length','--grep','dqkJJ','rQvBD','eeQby','./globalSetup.js','UTQYI','BS_A11Y_JWT','assign','testIgnore','lsxiR','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','qzRXU','../../helpers/BrowserStackSetup','inherit','startsWith','pFpWF','aBYTt','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','QtHUc','6670512AEyHNR','BROWSERSTACK_SETUP_CONFIG_PATH','2867216qCNqex','vpwsq','cJKdk','zokZl','existsSync','clearTempPWConfig','lWDng','skipSessionName','errorMessage','BROWSERSTACK_AUTOMATION','519834Ytikuc','PLAYWRIGHT','ztvyn','platforms','testMatch','XxMUx','argv','DyYWg','accessibility','PQVDG','xzGvi','config','\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();','npx','../../helpers/test-observability/utils','AScpo','rjlVi','MHOla','QICvt','BmJZo','XFhZX','GntTv','2512KrqFSC','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','resolve','21272qcZTtZ','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','USER_CONFIG_DETAILS_PATH','skipSessionStatus','playwright-browserstack-sdk.config.js','../../helpers/accessibility-automation/helper','get','unlinkSync','playwright-browserstack-sdk.config.cjs','wafkQ','nVCKA','bJGlh','GgQtN','dbAYW','join','KwruR','filter','@playwright/test','serializeToYamlString','213gaonMF','qgSMk','_internal','../../helpers/logger','has','markSDKSetupComplete','null','cgejX','SCPJQ','KvZic','filterBrowserstackConfig','trim','IVJKU','BrowserStack\x20config\x20file\x20not\x20found.','testObservability','indexOf','uDbzU','exports','child_process','path','qMqtC','Deleting\x20','util','--disable-browserstack-automation','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isFalse','RgFpi','BROWSERSTACK_TEST_OBSERVABILITY','IvyOp','enqFV','split','map','--config','../../helpers/test-observability/sessionHandler','splice','utFPJ','UawGi','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','Error\x20in\x20deleting\x20playwright\x20results','playwright','platform','wLytf','zekiB','isTrue','VFoTT','writeFileSync','getProxyUrl','qkBxn','YblRe','--config=','KSIQd','2668848BaCvwo','getPackageType','dirname','nnpmQ','respectGitIgnore','saJfI','apply','cliConfig','homedir','EgpWR','BROWSERSTACK_PW_CONFIG_DIR','error','tFCCP','NvbVM','slice','launch','win32','cwd','requirePWModule','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','readFileSync','info','.browserstack','push','\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a','stringify','string','VoJgn','NacgG','BROWSERSTACK_RERUN','browserstackSetupConfig.json','DJYHh','hRyps','object'];a33_0x36ad=function(){return _0x5975c1;};return a33_0x36ad();}async function run(_0x5e2414,_0x31db4f){const _0x450063=a33_0x110918,_0x42c190={'DFFwe':_0x450063(0x240),'KSIQd':'pw_result.json','TXRtb':function(_0x4bede8,_0x46d051){return _0x4bede8+_0x46d051;},'utFPJ':_0x450063(0x257),'cJKdk':_0x450063(0x261),'KvZic':function(_0x36e2d6){return _0x36e2d6();},'QtHUc':function(_0x50dadf,_0x4f6f8b){return _0x50dadf(_0x4f6f8b);},'qgSMk':function(_0x9b20e2,_0x4105af){return _0x9b20e2+_0x4105af;},'XxMUx':'Error\x20in\x20closing\x20playwright','sQtiT':_0x450063(0x20e),'pcPbX':_0x450063(0x26c),'mUiaY':_0x450063(0x252),'UYjPd':function(_0x4c2684,_0x1d7639){return _0x4c2684>=_0x1d7639;},'pFpWF':_0x450063(0x21d),'NaKjn':function(_0x88dfd5,_0x5e8d94,_0x8cbf21){return _0x88dfd5(_0x5e8d94,_0x8cbf21);},'GgQtN':_0x450063(0x204),'enqFV':_0x450063(0x25c),'RgFpi':function(_0x24d4f5,_0x4d209f){return _0x24d4f5!=_0x4d209f;},'DJYHh':function(_0x5bac6c,_0x365d14){return _0x5bac6c(_0x365d14);},'BmJZo':'0|1|4|3|2','rQvBD':_0x450063(0x1bd),'nVCKA':function(_0x4bd57c,_0x481e50,_0x4a5ca7){return _0x4bd57c(_0x481e50,_0x4a5ca7);},'dbAYW':function(_0x3318c5,_0x40ec0d){return _0x3318c5===_0x40ec0d;},'bJGlh':'true','dhMZV':_0x450063(0x1f5),'qMqtC':function(_0x4e08ad,_0xf64a1e){return _0x4e08ad(_0xf64a1e);},'mYsgI':_0x450063(0x248),'rjlVi':function(_0x2ac701){return _0x2ac701();},'RpJkP':'testDir','wyOXf':_0x450063(0x1cf),'nnpmQ':'testIgnore','nuflE':_0x450063(0x26b),'KwruR':function(_0x2736d3,_0x2b1727){return _0x2736d3===_0x2b1727;},'lsxiR':_0x450063(0x1ec),'NvbVM':_0x450063(0x1e8),'hRiPL':function(_0x54944c,_0x760c9d){return _0x54944c>_0x760c9d;},'GntTv':function(_0x570e02,_0x51571e,_0x4111cb,_0x45c88a){return _0x570e02(_0x51571e,_0x4111cb,_0x45c88a);},'UawGi':_0x450063(0x1d8),'aTRSs':_0x450063(0x21e),'FSXjn':'test','TUQOj':'--config','zokZl':_0x450063(0x23a),'UTQYI':_0x450063(0x1b9),'eeQby':_0x450063(0x253)};!helper[_0x450063(0x210)](process[_0x450063(0x278)][_0x450063(0x1ca)])&&(process[_0x450063(0x278)][_0x450063(0x1ca)]=!![]);process[_0x450063(0x1d1)]['includes'](_0x42c190[_0x450063(0x271)])&&(process[_0x450063(0x278)][_0x450063(0x1ca)]=_0x42c190[_0x450063(0x272)],_0x31db4f=_0x31db4f['filter'](_0x2d232d=>_0x2d232d!==_0x450063(0x20e)));const _0x5d20fb=_0x31db4f[_0x450063(0x206)](_0x42c190[_0x450063(0x24e)]);_0x42c190['UYjPd'](_0x5d20fb,0x0)&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=_0x42c190['pcPbX'],_0x31db4f=_0x31db4f[_0x450063(0x1f4)](_0x2eead4=>_0x2eead4!==_0x450063(0x252)));try{const _0x2edecf=path[_0x450063(0x1f2)](helper[_0x450063(0x232)](),_0x42c190[_0x450063(0x250)],_0x42c190[_0x450063(0x229)]);fs[_0x450063(0x1c5)](_0x2edecf)&&fs[_0x450063(0x1eb)](_0x2edecf);}catch(_0x45b83f){logger['debug'](_0x42c190[_0x450063(0x1f8)](_0x42c190[_0x450063(0x1bb)],_0x45b83f));}if(!_0x42c190[_0x450063(0x273)](isTestCommand,_0x5e2414,_0x31db4f)){_0x42c190[_0x450063(0x1be)](spawnOriginalProcess,_0x31db4f);return;}const _0x348f94=new BrowserStackSetup(_0x5e2414,FRAMEWORKS[_0x450063(0x1cc)]);if(!_0x348f94[_0x450063(0x1d6)]){logger[_0x450063(0x235)](_0x42c190[_0x450063(0x1f0)]);return;}await _0x348f94['initialize']();!helper[_0x450063(0x24d)](_0x348f94[_0x450063(0x231)])&&_0x348f94[_0x450063(0x231)][_0x450063(0x1fb)](_0x42c190[_0x450063(0x214)])&&(process[_0x450063(0x278)][_0x450063(0x1ca)]=_0x348f94['cliConfig'][_0x450063(0x1ea)](_0x42c190[_0x450063(0x214)])||!![]);_0x42c190[_0x450063(0x211)](_0x348f94[_0x450063(0x1d6)][_0x450063(0x205)],null)&&!helper[_0x450063(0x222)](process['env'][_0x450063(0x212)])&&(process[_0x450063(0x278)][_0x450063(0x212)]=process[_0x450063(0x278)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x348f94[_0x450063(0x1d6)][_0x450063(0x205)]);const _0xf9048e=!helper['isFalse'](process['env']['BROWSERSTACK_TEST_OBSERVABILITY']);let _0x59c4a7=![];_0x348f94['config'][_0x450063(0x1d3)]&&(_0x59c4a7=!![],process['env'][_0x450063(0x270)]=_0x348f94[_0x450063(0x1d6)][_0x450063(0x1d3)]);_0x348f94[_0x450063(0x1d6)][_0x450063(0x25f)]&&(process[_0x450063(0x278)][_0x450063(0x20f)]=JSON[_0x450063(0x243)](_0x348f94['config']['accessibilityOptions']));const _0x24d35f=_0x31db4f[_0x450063(0x25e)](),_0x4f8c8c=await _0x42c190[_0x450063(0x273)](getUserPlaywrightConfig,_0x5e2414,_0x31db4f);if(helper[_0x450063(0x24d)](_0x4f8c8c)){_0x42c190[_0x450063(0x249)](spawnOriginalProcess,_0x24d35f);return;}const _0x55e876={..._0x4f8c8c[_0x450063(0x1d6)]},_0x1243c2=_0x55e876,_0x2984c9=_0x4f8c8c[_0x450063(0x20a)]?path[_0x450063(0x22c)](_0x4f8c8c[_0x450063(0x20a)]):process[_0x450063(0x23b)]();process[_0x450063(0x278)][_0x450063(0x234)]=_0x2984c9;if(!_0x42c190[_0x450063(0x273)](setGlobalSetup,_0x1243c2,_0x2984c9)){_0x42c190[_0x450063(0x1be)](spawnOriginalProcess,_0x24d35f);return;}const _0x3e3314=await SessionHandler[_0x450063(0x239)](_0x348f94[_0x450063(0x1d6)],{'frameworkName':FRAMEWORKS['PLAYWRIGHT'],'frameworkVersion':_0x42c190[_0x450063(0x249)](getFrameworkVersion,FRAMEWORKS[_0x450063(0x1cc)])});if(_0xf9048e){const _0x3d9fe4=_0x42c190[_0x450063(0x1de)][_0x450063(0x215)]('|');let _0x31fc45=0x0;while(!![]){switch(_0x3d9fe4[_0x31fc45++]){case'0':logger[_0x450063(0x23f)](_0x42c190[_0x450063(0x27e)]);continue;case'1':_0x42c190[_0x450063(0x1ee)](initO11yCrashReporter,_0x1243c2,_0x348f94['config']);continue;case'2':await _0x42c190['DJYHh'](launchO11ySession,_0x3e3314);continue;case'3':_0x42c190[_0x450063(0x249)](handleO11yRerun,_0x31db4f);continue;case'4':_0x42c190[_0x450063(0x1be)](addReporter,_0x1243c2);continue;}break;}}let _0x33e55e=_0x42c190[_0x450063(0x1f1)](process['env'][_0x450063(0x270)],_0x42c190[_0x450063(0x1ef)]);_0x33e55e=_0x33e55e||_0x42c190[_0x450063(0x249)](checkAccessibilityPlatformConfig,_0x348f94['config']),process[_0x450063(0x278)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x33e55e;if(_0x33e55e){const [_0x15dcd2,_0x1c231f]=await _0x42c190[_0x450063(0x273)](createAccessibilityTestRun,_0x348f94['config'],_0x42c190[_0x450063(0x274)]);logger[_0x450063(0x262)](_0x450063(0x23d)+_0x1c231f),process[_0x450063(0x278)][_0x450063(0x282)]=_0x15dcd2,process[_0x450063(0x278)][_0x450063(0x263)]=_0x1c231f,_0x42c190[_0x450063(0x20b)](setAccessibilityCapabilities,_0x348f94[_0x450063(0x1d6)]);}(helper[_0x450063(0x24d)](_0x348f94[_0x450063(0x1d6)][_0x450063(0x1ce)])||_0x42c190['dbAYW'](_0x348f94[_0x450063(0x1d6)][_0x450063(0x1ce)][_0x450063(0x27b)],0x0))&&(process[_0x450063(0x278)]['BROWSERSTACK_AUTOMATION']=![]);const _0x60464f=path[_0x450063(0x1f2)](_0x4f8c8c['path']?path[_0x450063(0x22c)](_0x4f8c8c['path']):process['cwd'](),_0x42c190['mYsgI']);fs['writeFileSync'](_0x60464f,helper[_0x450063(0x1f6)](_0x348f94['config'])),process[_0x450063(0x278)][_0x450063(0x1c0)]=_0x60464f,helper[_0x450063(0x1c6)]();if(helper[_0x450063(0x222)](process[_0x450063(0x278)][_0x450063(0x1ca)])){let _0x5bcdc4=[];try{const _0x246b70=helper[_0x450063(0x23c)][_0x450063(0x230)](null,_0x42c190[_0x450063(0x1db)](getProjectUtilsPath)),_0x315ed3={};_0x315ed3[_0x450063(0x22e)]=!![],_0x315ed3[_0x450063(0x260)]='',_0x315ed3['testMatch']='',_0x315ed3[_0x450063(0x284)]='';const _0x589e2c={};_0x589e2c[_0x450063(0x22e)]=!![];const _0x35f797={};_0x35f797[_0x450063(0x254)]=_0x315ed3,_0x35f797[_0x450063(0x1f9)]=_0x589e2c;let _0x2d3c65=_0x35f797;_0x1243c2[_0x42c190[_0x450063(0x255)]]&&(_0x2d3c65[_0x450063(0x254)][_0x42c190[_0x450063(0x255)]]=_0x1243c2[_0x42c190[_0x450063(0x255)]]),_0x1243c2[_0x42c190[_0x450063(0x265)]]&&(_0x2d3c65['project'][_0x42c190[_0x450063(0x265)]]=_0x1243c2[_0x42c190[_0x450063(0x265)]]),_0x1243c2[_0x42c190['nnpmQ']]&&(_0x2d3c65[_0x450063(0x254)][_0x42c190['nnpmQ']]=_0x1243c2[_0x42c190[_0x450063(0x22d)]]),_0x2d3c65=Object[_0x450063(0x283)](_0x2d3c65,_0x2d3c65[_0x450063(0x254)]),_0x5bcdc4=await _0x246b70[_0x450063(0x277)](_0x2d3c65);}catch(_0x161281){logger['debug'](_0x42c190['qgSMk'](_0x42c190['nuflE'],_0x42c190[_0x450063(0x20b)](format,_0x161281)));}}let _0x28ecad='';_0x42c190['KwruR'](helper[_0x450063(0x22b)](),constants[_0x450063(0x266)][_0x450063(0x268)])?_0x28ecad=_0x42c190[_0x450063(0x285)]:_0x28ecad=_0x42c190[_0x450063(0x237)];const _0x5072c6=path['join'](_0x4f8c8c[_0x450063(0x20a)]?path['dirname'](_0x4f8c8c[_0x450063(0x20a)]):process[_0x450063(0x23b)](),_0x28ecad);let _0x42db22=_0x4f8c8c[_0x450063(0x20a)]?_0x4f8c8c[_0x450063(0x20a)]:'';_0x42db22=_0x42c190['hRiPL'](_0x42db22[_0x450063(0x27b)],0x0)?path[_0x450063(0x1e3)](_0x42db22):'',process[_0x450063(0x278)][_0x450063(0x1e6)]=_0x42db22;let _0x2c4391=_0x450063(0x242);const _0x4fb943=helper[_0x450063(0x225)](_0x348f94[_0x450063(0x1d6)]);_0x4fb943&&(_0x2c4391=_0x42c190[_0x450063(0x1f8)](_0x450063(0x286)+_0x4fb943+_0x450063(0x1d7),_0x2c4391));helper[_0x450063(0x201)]({},_0x31db4f),fs[_0x450063(0x224)](_0x5072c6,_0x2c4391),helper[_0x450063(0x1fc)]();const _0x5385af=_0x42c190[_0x450063(0x1e0)](spawn,_0x42c190[_0x450063(0x21b)],[_0x42c190['aTRSs'],_0x42c190['FSXjn'],_0x42c190[_0x450063(0x267)],_0x5072c6,..._0x31db4f[_0x450063(0x238)](0x2)],{'shell':_0x42c190[_0x450063(0x1f3)](process[_0x450063(0x21f)],_0x42c190[_0x450063(0x1c4)]),'stdio':_0x42c190[_0x450063(0x281)],'cwd':process[_0x450063(0x23b)](),'env':Object[_0x450063(0x283)]({},process[_0x450063(0x278)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x5e2414),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x348f94[_0x450063(0x1d6)][_0x450063(0x251)][_0x450063(0x1e7)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x348f94['config'][_0x450063(0x251)][_0x450063(0x1c8)],'BROWSERSTACK_LOG_LEVEL':_0x348f94[_0x450063(0x1d6)][_0x450063(0x258)]})}),_0x167183=()=>{const _0x4d6423=_0x450063;try{const _0x17d056=path['join'](helper['homedir'](),_0x42c190['DFFwe'],_0x42c190[_0x4d6423(0x229)]);if(fs['existsSync'](_0x17d056)){let _0x4733e7=fs[_0x4d6423(0x23e)](_0x17d056);_0x4733e7=JSON[_0x4d6423(0x24c)](_0x4733e7),_0x348f94[_0x4d6423(0x1c9)]=_0x4733e7,fs[_0x4d6423(0x1eb)](_0x17d056);}}catch(_0x1d389f){logger[_0x4d6423(0x262)](_0x42c190['TXRtb'](_0x42c190[_0x4d6423(0x21a)],_0x1d389f));}};_0x5385af['on'](_0x42c190[_0x450063(0x27f)],async _0x50b8ba=>{const _0x190d06=_0x450063;try{const _0xd4f161=_0x42c190[_0x190d06(0x1c3)]['split']('|');let _0x5aa9ef=0x0;while(!![]){switch(_0xd4f161[_0x5aa9ef++]){case'0':await helper[_0x190d06(0x27a)](_0x348f94);continue;case'1':logger[_0x190d06(0x23f)](_0x190d06(0x20c)+_0x5072c6);continue;case'2':process['exitCode']=_0x50b8ba;continue;case'3':_0x42c190[_0x190d06(0x200)](_0x167183);continue;case'4':fs[_0x190d06(0x1eb)](_0x5072c6);continue;case'5':logger[_0x190d06(0x262)](_0x190d06(0x26d)+_0x50b8ba);continue;case'6':await _0x42c190['QtHUc'](stopAccessibilityTestRun,_0x348f94['config']);continue;case'7':fs['unlinkSync'](_0x60464f);continue;case'8':logger[_0x190d06(0x262)](_0x190d06(0x20c)+_0x60464f);continue;}break;}}catch(_0x342332){logger[_0x190d06(0x262)](_0x42c190[_0x190d06(0x1f8)](_0x42c190[_0x190d06(0x1d0)],_0x342332));}});}module[a33_0x110918(0x208)]=run;
@@ -1 +1 @@
1
- const a32_0x555573=a32_0x29fa;(function(_0x507c60,_0x127051){const _0x54c1a5=a32_0x29fa,_0x1a1024=_0x507c60();while(!![]){try{const _0x2f50ef=-parseInt(_0x54c1a5(0x1ce))/0x1+parseInt(_0x54c1a5(0x1c4))/0x2+-parseInt(_0x54c1a5(0x1c3))/0x3*(parseInt(_0x54c1a5(0x1cd))/0x4)+parseInt(_0x54c1a5(0x1c8))/0x5+-parseInt(_0x54c1a5(0x1b9))/0x6+parseInt(_0x54c1a5(0x1b0))/0x7*(-parseInt(_0x54c1a5(0x1cc))/0x8)+-parseInt(_0x54c1a5(0x1af))/0x9*(-parseInt(_0x54c1a5(0x1d1))/0xa);if(_0x2f50ef===_0x127051)break;else _0x1a1024['push'](_0x1a1024['shift']());}catch(_0x3cdff8){_0x1a1024['push'](_0x1a1024['shift']());}}}(a32_0xcecd,0xd6a8c));function a32_0x29fa(_0x59f220,_0x445b0a){const _0xcecd7=a32_0xcecd();return a32_0x29fa=function(_0x29fa3c,_0x8dea95){_0x29fa3c=_0x29fa3c-0x1ad;let _0x26883b=_0xcecd7[_0x29fa3c];return _0x26883b;},a32_0x29fa(_0x59f220,_0x445b0a);}const child_process=require('child_process'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a32_0x555573(0x1c2)),logger=require('../../helpers/logger')[a32_0x555573(0x1ca)];function a32_0xcecd(){const _0x2d7ccc=['1987874NNmoDx','function','pMwmo','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','error','aqtnc','./mock-process.js','env','compareVersions','9523338rJpJrS','sgqtx','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','CedpB','fork','\x20is\x20not\x20found','tOetB','1.33.0','Not\x20able\x20to\x20import\x20globalSetup','./reporter/pwUtils','819003jzbzVS','727402FJnhsH','JsZui','TUilR','Call\x20to\x20child\x20fork\x20with\x20args\x20','2540235RBgJRC','eFNYh','winstonLogger','PCmJs','24iXyaDU','24GlFLjT','1408129VOprGu','toString','QULrO','10COMtBL','apply','GvjYB','49435200eZriHu'];a32_0xcecd=function(){return _0x2d7ccc;};return a32_0xcecd();}module['exports']=async function(_0x4bc387){const _0x325b48=a32_0x555573,_0x13834b={'pMwmo':function(_0x368c96,_0x4d7d93){return _0x368c96(_0x4d7d93);},'QULrO':function(_0x3a0ce5){return _0x3a0ce5();},'CedpB':_0x325b48(0x1b6),'sgqtx':function(_0x26f8ab){return _0x26f8ab();},'aqtnc':'Running\x20existing\x20global\x20setup','JsZui':function(_0x15d770,_0x588938){return _0x15d770(_0x588938);},'FCLPx':function(_0x4a5734,_0x41ca1b){return _0x4a5734>=_0x41ca1b;},'tOetB':_0x325b48(0x1c0),'TUilR':function(_0x1f05a5,_0x22c914,_0x280a9e){return _0x1f05a5(_0x22c914,_0x280a9e);},'PCmJs':function(_0x2f5755,_0x14940a){return _0x2f5755!==_0x14940a;},'GvjYB':_0x325b48(0x1b1),'QGOyu':_0x325b48(0x1c1),'eFNYh':function(_0x51f8c9,_0x4b7926){return _0x51f8c9(_0x4b7926);}},_0x4842f2=child_process[_0x325b48(0x1bd)];child_process[_0x325b48(0x1bd)]=function(){const _0x3f60a5=_0x325b48;return _0x13834b[_0x3f60a5(0x1b2)](debug,_0x3f60a5(0x1c7)+arguments[0x0]),arguments[0x0]['includes'](_0x13834b[_0x3f60a5(0x1d0)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x13834b[_0x3f60a5(0x1bc)]):logger[_0x3f60a5(0x1b4)]('Path\x20'+_0x13834b[_0x3f60a5(0x1ba)](getForkProcessPath)+_0x3f60a5(0x1be)),_0x4842f2[_0x3f60a5(0x1ad)](null,arguments);};if(process[_0x325b48(0x1b7)][_0x325b48(0x1b3)]){_0x13834b[_0x325b48(0x1b2)](debug,_0x13834b[_0x325b48(0x1b5)]);try{const {loadGlobalHook:_0x308a57}=helper['requirePWModule'][_0x325b48(0x1ad)](null,_0x13834b[_0x325b48(0x1ba)](getLoadUtilsPath)),_0x6e0f70=_0x13834b[_0x325b48(0x1c5)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);let _0x21e88f=_0x4bc387;if(_0x13834b['FCLPx'](helper[_0x325b48(0x1b8)](_0x6e0f70,_0x13834b[_0x325b48(0x1bf)]),0x0)){const _0xd6b576={};_0xd6b576['config']=_0x4bc387,_0x21e88f=_0xd6b576;}const _0x2fe1a4=await _0x13834b[_0x325b48(0x1c6)](_0x308a57,_0x21e88f,process[_0x325b48(0x1b7)][_0x325b48(0x1b3)]);if(_0x13834b[_0x325b48(0x1cb)](typeof _0x2fe1a4,_0x13834b[_0x325b48(0x1ae)]))throw new Error(_0x13834b['QGOyu']);return _0x2fe1a4[_0x325b48(0x1ad)](null,arguments);}catch(_0x447039){_0x13834b[_0x325b48(0x1c9)](debug,_0x325b48(0x1bb)+_0x447039[_0x325b48(0x1cf)]());}}};
1
+ const a34_0x627fd0=a34_0xbebe;(function(_0x11b19b,_0xfa5975){const _0x40ca28=a34_0xbebe,_0x583550=_0x11b19b();while(!![]){try{const _0x5dd8f1=-parseInt(_0x40ca28(0xae))/0x1+parseInt(_0x40ca28(0xa4))/0x2*(parseInt(_0x40ca28(0xac))/0x3)+parseInt(_0x40ca28(0xab))/0x4+-parseInt(_0x40ca28(0xa6))/0x5+-parseInt(_0x40ca28(0xc3))/0x6*(parseInt(_0x40ca28(0xcb))/0x7)+-parseInt(_0x40ca28(0xad))/0x8+-parseInt(_0x40ca28(0xb7))/0x9*(-parseInt(_0x40ca28(0xa8))/0xa);if(_0x5dd8f1===_0xfa5975)break;else _0x583550['push'](_0x583550['shift']());}catch(_0x36ddfb){_0x583550['push'](_0x583550['shift']());}}}(a34_0x442b,0x1cb03));function a34_0xbebe(_0xa95086,_0x15e379){const _0x442b0d=a34_0x442b();return a34_0xbebe=function(_0xbebe2b,_0x255ffd){_0xbebe2b=_0xbebe2b-0xa3;let _0x409541=_0x442b0d[_0xbebe2b];return _0x409541;},a34_0xbebe(_0xa95086,_0x15e379);}const child_process=require('child_process'),{FRAMEWORKS}=require(a34_0x627fd0(0xaf)),{getFrameworkVersion,debug}=require(a34_0x627fd0(0xcf)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x627fd0(0xb6)),logger=require(a34_0x627fd0(0xb8))[a34_0x627fd0(0xbd)];function a34_0x442b(){const _0x20f41=['oXTRh','1370AaXWku','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','Path\x20','371876ACpzBN','15cmsFCW','1436968lCPSfP','22872olNqcW','../../helpers/test-observability/constants','function','WGyKu','resolve','exports','AVpue','includes','./reporter/pwUtils','26595ZZhuIJ','../../helpers/logger','\x20is\x20not\x20found','GlPIY','PeVSq','env','winstonLogger','./mock-process.js','kEuuN','Call\x20to\x20child\x20fork\x20with\x20args\x20','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','compareVersions','138KOSLgD','PLAYWRIGHT','RtQue','ShNDT','GaGko','toString','OWjyN','hOUET','28889WWxEMt','fork','1.33.0','config','../../helpers/test-observability/utils','VjRDh','53068TETQKk','apply','1077765FqARtV'];a34_0x442b=function(){return _0x20f41;};return a34_0x442b();}module[a34_0x627fd0(0xb3)]=async function(_0x36c1a7){const _0x5f96f=a34_0x627fd0,_0x14f408={'kEuuN':function(_0xc211d0,_0x48ae07){return _0xc211d0(_0x48ae07);},'uOTLE':function(_0x2cd49e){return _0x2cd49e();},'hOUET':_0x5f96f(0xbe),'VjRDh':function(_0x202495){return _0x202495();},'oXTRh':function(_0x394887,_0x1192e7){return _0x394887(_0x1192e7);},'ShNDT':'Running\x20existing\x20global\x20setup','OWjyN':function(_0x440dc4){return _0x440dc4();},'RtQue':function(_0x5cc0cd,_0xaf11ff){return _0x5cc0cd>=_0xaf11ff;},'PeVSq':_0x5f96f(0xcd),'AVpue':function(_0x451d3a,_0x348f04,_0x4768f9){return _0x451d3a(_0x348f04,_0x4768f9);},'WGyKu':function(_0x306b5e,_0x4bdfd9){return _0x306b5e!==_0x4bdfd9;},'GlPIY':_0x5f96f(0xb0),'GaGko':'Not\x20able\x20to\x20import\x20globalSetup'},_0x53ce14=child_process[_0x5f96f(0xcc)];child_process[_0x5f96f(0xcc)]=function(){const _0x2c5c07=_0x5f96f;return _0x14f408[_0x2c5c07(0xbf)](debug,_0x2c5c07(0xc0)+arguments[0x0]),arguments[0x0][_0x2c5c07(0xb5)](_0x14f408['uOTLE'](getForkProcessPath))?arguments[0x0]=require[_0x2c5c07(0xb2)](_0x14f408[_0x2c5c07(0xca)]):logger['error'](_0x2c5c07(0xaa)+_0x14f408[_0x2c5c07(0xa3)](getForkProcessPath)+_0x2c5c07(0xb9)),_0x53ce14['apply'](null,arguments);};if(process[_0x5f96f(0xbc)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x14f408[_0x5f96f(0xa7)](debug,_0x14f408[_0x5f96f(0xc6)]);try{const {loadGlobalHook:_0xb8d03b}=helper['requirePWModule'][_0x5f96f(0xa5)](null,_0x14f408[_0x5f96f(0xc9)](getLoadUtilsPath)),_0x130938=_0x14f408['oXTRh'](getFrameworkVersion,FRAMEWORKS[_0x5f96f(0xc4)]);let _0x199e14=_0x36c1a7;if(_0x14f408[_0x5f96f(0xc5)](helper[_0x5f96f(0xc2)](_0x130938,_0x14f408[_0x5f96f(0xbb)]),0x0)){const _0x1f82a7={};_0x1f82a7[_0x5f96f(0xce)]=_0x36c1a7,_0x199e14=_0x1f82a7;}const _0x95f436=await _0x14f408[_0x5f96f(0xb4)](_0xb8d03b,_0x199e14,process[_0x5f96f(0xbc)][_0x5f96f(0xa9)]);if(_0x14f408[_0x5f96f(0xb1)](typeof _0x95f436,_0x14f408[_0x5f96f(0xba)]))throw new Error(_0x14f408[_0x5f96f(0xc7)]);return _0x95f436['apply'](null,arguments);}catch(_0x301af5){_0x14f408[_0x5f96f(0xa7)](debug,_0x5f96f(0xc1)+_0x301af5[_0x5f96f(0xc8)]());}}};