browserstack-node-sdk 1.34.35 → 1.34.37

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 (147) hide show
  1. package/ats/src/CFTemplates/hub-ha.yaml +81 -0
  2. package/ats/src/cloudproviders/AWS.js +1 -1
  3. package/ats/src/cloudproviders/Azure.js +1 -1
  4. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  6. package/ats/src/cloudproviders/utils.js +1 -1
  7. package/ats/src/commands/configure.js +1 -1
  8. package/ats/src/commands/connect.js +1 -1
  9. package/ats/src/commands/connect_commands/grid.js +1 -1
  10. package/ats/src/commands/create.js +1 -1
  11. package/ats/src/commands/create_commands/grid.js +1 -1
  12. package/ats/src/commands/delete.js +1 -1
  13. package/ats/src/commands/delete_commands/grid.js +1 -1
  14. package/ats/src/commands/init.js +1 -1
  15. package/ats/src/commands/list.js +1 -1
  16. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  17. package/ats/src/commands/list_commands/grids.js +1 -1
  18. package/ats/src/commands/start.js +1 -1
  19. package/ats/src/commands/start_commands/grid.js +1 -1
  20. package/ats/src/commands/stop.js +1 -1
  21. package/ats/src/commands/stop_commands/grid.js +1 -1
  22. package/ats/src/config/constants.js +1 -1
  23. package/ats/src/config/logger.js +1 -1
  24. package/ats/src/index.js +1 -1
  25. package/ats/src/templates/browserstack-secret.yaml +10 -0
  26. package/ats/src/templates/hub-deployment.yaml +25 -3
  27. package/ats/src/templates/hubharesources/bitnami-kafka.yaml +711 -0
  28. package/ats/src/templates/hubharesources/bitnami-redis.yaml +1048 -0
  29. package/ats/src/templates/hubharesources/browserstack-secret.yaml +10 -0
  30. package/ats/src/templates/hubharesources/efs-csi-driver-aws.yaml +401 -0
  31. package/ats/src/templates/hubharesources/federatedidentityuploader.json +50 -0
  32. package/ats/src/templates/hubharesources/storage-class.yaml +12 -0
  33. package/ats/src/templates/hubharesources/turboscale-uploader.yaml +53 -0
  34. package/ats/src/templates/nginx/helper.yaml +1 -0
  35. package/ats/src/templates/nginx/private-pods-and-services.yaml +1 -0
  36. package/ats/src/templates/turboscale-agent.yaml +0 -8
  37. package/ats/src/utils/AWSUtils.js +1 -1
  38. package/ats/src/utils/createAutoscalerStack.js +1 -1
  39. package/ats/src/utils/createClusterStack.js +1 -1
  40. package/ats/src/utils/createHubHaStack.js +1 -0
  41. package/ats/src/utils/createk8sClient.js +1 -1
  42. package/ats/src/utils/deleteEFSMountTargets.js +1 -0
  43. package/ats/src/utils/deleteStack.js +1 -1
  44. package/ats/src/utils/describeStack.js +1 -0
  45. package/ats/src/utils/gridComponents.js +1 -1
  46. package/ats/src/utils/hstUtils.js +1 -1
  47. package/ats/src/utils/instrumentationUtils.js +1 -1
  48. package/ats/src/utils/userInput.js +1 -1
  49. package/ats/src/utils/utilityMethods.js +1 -1
  50. package/ats/src/utils/webSocketUtils.js +1 -1
  51. package/package.json +1 -1
  52. package/src/ai-sdk-node/bundle.js +1 -1
  53. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  54. package/src/bin/codeceptjs/command.js +1 -1
  55. package/src/bin/codeceptjs/helper.js +1 -1
  56. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  57. package/src/bin/cucumber-js/command.js +1 -1
  58. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  59. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  60. package/src/bin/cucumber-js/test-observability.js +1 -1
  61. package/src/bin/cucumber-js/test.setup.js +1 -1
  62. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  63. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  64. package/src/bin/integrations/command.js +1 -1
  65. package/src/bin/integrations/constants.js +1 -1
  66. package/src/bin/jest/command.js +1 -1
  67. package/src/bin/jest/customImplements/customCircus.js +1 -1
  68. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  69. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  70. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  71. package/src/bin/jest/jest.setup.js +1 -1
  72. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  73. package/src/bin/jest/test-observability/helper.js +1 -1
  74. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  75. package/src/bin/jest/test-observability/test-details.js +1 -1
  76. package/src/bin/jest/test_before.setup.js +1 -1
  77. package/src/bin/launcher/launcher.js +1 -1
  78. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  79. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  80. package/src/bin/mocha/command.js +1 -1
  81. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  82. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  83. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  84. package/src/bin/mocha/test.setup.js +1 -1
  85. package/src/bin/nightwatch/command.js +1 -1
  86. package/src/bin/playwright/accessibility-helper.js +1 -1
  87. package/src/bin/playwright/command.js +1 -1
  88. package/src/bin/playwright/globalSetup.js +1 -1
  89. package/src/bin/playwright/mock-process.js +1 -1
  90. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  91. package/src/bin/playwright/patches.js +1 -1
  92. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  93. package/src/bin/playwright/reporter/reporter.js +1 -1
  94. package/src/bin/playwright/reporter/test-details.js +1 -1
  95. package/src/bin/playwright/sessionDetails.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/constants.js +1 -1
  102. package/src/bin/utils/log4jsAppender.js +1 -1
  103. package/src/bin/utils/logPatcher.js +1 -1
  104. package/src/bin/utils/logReportingAPI.js +1 -1
  105. package/src/bin/vanilla-js/command.js +1 -1
  106. package/src/browserStackSdk.js +1 -1
  107. package/src/helpers/BrowserStackSetup.js +1 -1
  108. package/src/helpers/accessibility-automation/constants.js +1 -1
  109. package/src/helpers/accessibility-automation/helper.js +1 -1
  110. package/src/helpers/accessibility-automation/scripts.js +1 -1
  111. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  112. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  113. package/src/helpers/ats/constants.js +1 -1
  114. package/src/helpers/ats/helper.js +1 -1
  115. package/src/helpers/capsMapping.js +1 -1
  116. package/src/helpers/central-scanner/constants.js +1 -1
  117. package/src/helpers/central-scanner/helpers.js +1 -1
  118. package/src/helpers/globals.js +1 -1
  119. package/src/helpers/helper.js +1 -1
  120. package/src/helpers/logger.js +1 -1
  121. package/src/helpers/patchHelper.js +1 -1
  122. package/src/helpers/patchHelpers.js +1 -1
  123. package/src/helpers/percy/Percy.js +1 -1
  124. package/src/helpers/percy/PercyBinary.js +1 -1
  125. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  126. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  127. package/src/helpers/percy/PercySDK.js +1 -1
  128. package/src/helpers/percy/index.js +1 -1
  129. package/src/helpers/percy/utils.js +1 -1
  130. package/src/helpers/performance/constants.js +1 -1
  131. package/src/helpers/performance/performance-tester.js +1 -1
  132. package/src/helpers/processHelper.js +1 -1
  133. package/src/helpers/request-spy.js +1 -1
  134. package/src/helpers/setKeepAlive.js +1 -1
  135. package/src/helpers/test-observability/constants.js +1 -1
  136. package/src/helpers/test-observability/error-handler.js +1 -1
  137. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  138. package/src/helpers/test-observability/sessionHandler.js +1 -1
  139. package/src/helpers/test-observability/utils.js +1 -1
  140. package/src/helpers/testhub/constants.js +1 -1
  141. package/src/helpers/testhub/testhubHandler.js +1 -1
  142. package/src/helpers/testhub/utils.js +1 -1
  143. package/src/helpers/timeoutPromise.js +1 -1
  144. package/src/helpers/utilities.js +1 -1
  145. package/src/helpers/w3cMapping.js +1 -1
  146. package/src/hubAllocationMethods.js +1 -1
  147. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a29_0x5019(_0x18bfd9,_0x1bf120){const _0x55e79d=a29_0x55e7();return a29_0x5019=function(_0x5019e4,_0x32ce74){_0x5019e4=_0x5019e4-0x1e8;let _0x44863a=_0x55e79d[_0x5019e4];return _0x44863a;},a29_0x5019(_0x18bfd9,_0x1bf120);}const a29_0x290d8b=a29_0x5019;function a29_0x55e7(){const _0x3e747e=['keys','ywpWZ','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','ieOptions_','15TGmeFu','1050808pLKcpt','ooPPy','capabilities_','proxySettings','XVmlA','object','getRequestOptions','isAccessibilityPlatform','1|4|3|2|0|5','384490rLJunl','./helpers/patchHelper','session_','../../../bin/utils/constants','getHttpAgent','Hfdbk','1019019nZBwJc','caps_','../../../hubAllocationMethods','CAPABILITY_KEY','5FjoqFP','isPacProxy','updateHubUrl','EnqUM','1016026Qkbtde','564BQKNFx','ieOptions','debug','mOrKU','optimalHubUrl','proxy_','__driver','5292942wnwpNf','Hub\x20url\x20set\x20to\x20','storeOptimalHubUrl','proxyUrl','4092670jSTcMl','capability','split','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','../../../helpers/patchHelpers','setCapabilities','set','Builder','CEZxc','path','ms:edgeOptions','mergeDeep','yvojP','getGlobal','AVZoA','build','1732932RLcJnI','isBrowserstackInfra','goog:chromeOptions','__drivers','WyWry','EDSuM','browserstackAgentObservability','getAccessibilityResultsSummary','nzURL','chromeOptions_','../../../helpers/accessibility-automation/helper','UXsZw','rcpEt','overrideGet','__driversArray','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','../accessibility-automation/helper','winstonLogger','originalBuilder','49QTKYGA','lTdJO','newHubUrl','setServer','QOWaG','firefoxOptions','push','options_','../../../helpers/logger','kXexG','safari.options','9PUVrmz','quitCount_','/session','QdgUD','https://','IUbhq','global','../../../helpers/helper','setGlobal','forEach','../../../helpers/globals','VCIJB','LASlE','kAxmi','atHbQ','url_','info','edgeOptions_','getHubUrl','logLevel','se:ieOptions','requireHttpClient','then','get','firefoxOptions_','MsnAh','isUndefined','HttpClient','WlFah','Proxy\x20set\x20to\x20','safariOptions_','exports','__setBrowserOptions','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','NzKcg'];a29_0x55e7=function(){return _0x3e747e;};return a29_0x55e7();}(function(_0x1962da,_0xf45e19){const _0x62d722=a29_0x5019,_0x1a2a08=_0x1962da();while(!![]){try{const _0x29558f=-parseInt(_0x62d722(0x1fc))/0x1+-parseInt(_0x62d722(0x1f6))/0x2*(parseInt(_0x62d722(0x1ec))/0x3)+-parseInt(_0x62d722(0x220))/0x4+-parseInt(_0x62d722(0x200))/0x5*(parseInt(_0x62d722(0x20c))/0x6)+parseInt(_0x62d722(0x233))/0x7*(-parseInt(_0x62d722(0x1ed))/0x8)+-parseInt(_0x62d722(0x23e))/0x9*(-parseInt(_0x62d722(0x210))/0xa)+-parseInt(_0x62d722(0x204))/0xb*(-parseInt(_0x62d722(0x205))/0xc);if(_0x29558f===_0xf45e19)break;else _0x1a2a08['push'](_0x1a2a08['shift']());}catch(_0x21364e){_0x1a2a08['push'](_0x1a2a08['shift']());}}}(a29_0x55e7,0x82b52));const logger=require(a29_0x290d8b(0x23b))[a29_0x290d8b(0x231)],helper=require(a29_0x290d8b(0x245)),constants=require(a29_0x290d8b(0x1f9)),hubAllocator=require(a29_0x290d8b(0x1fe)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x290d8b(0x214)),{setAccessibilityCapabilities,setExtension}=require(a29_0x290d8b(0x230)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x290d8b(0x22a)),globals=require(a29_0x290d8b(0x248)),{overrideExecute}=require(a29_0x290d8b(0x1f7)),modify=(_0x405d14,_0x5e0ee6=null,_0x221f0e=![])=>{const _0x437cd7=a29_0x290d8b,_0x25cb8c={'WlFah':function(_0x3e16b4,_0x24f106){return _0x3e16b4!==_0x24f106;},'EDSuM':_0x437cd7(0x240),'nzURL':function(_0x16c677,_0x396721){return _0x16c677+_0x396721;},'LASlE':function(_0x3f9996,_0x4c5e66){return _0x3f9996+_0x4c5e66;},'QdgUD':_0x437cd7(0x242),'XVmlA':'/wd/hub','UXsZw':_0x437cd7(0x222),'Hfdbk':'chromeOptions','ooPPy':_0x437cd7(0x21a),'NzKcg':'edgeOptions','EnqUM':'moz:firefoxOptions','vMqRC':_0x437cd7(0x238),'yvojP':_0x437cd7(0x23d),'kXexG':_0x437cd7(0x252),'YXcUF':_0x437cd7(0x206),'ytgUK':function(_0xc37577,_0x1071ad){return _0xc37577===_0x1071ad;},'WyWry':_0x437cd7(0x1f2),'smSaV':'Setting\x20Browserstack\x20capabilities','uXXOM':_0x437cd7(0x209),'IcTFG':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','rcpEt':'5|4|1|2|0|3','QOWaG':function(_0x314711,_0x195288,_0x7c7762){return _0x314711(_0x195288,_0x7c7762);},'mOrKU':function(_0x443aa6,_0x4acf21){return _0x443aa6(_0x4acf21);},'YriNJ':function(_0x3dba7c,_0x3e8e3a,_0x308463){return _0x3dba7c(_0x3e8e3a,_0x308463);},'ywpWZ':function(_0x26847e,_0x201e4b,_0x51851b){return _0x26847e(_0x201e4b,_0x51851b);},'atHbQ':function(_0x45cd40,_0x4f591c,_0x52a7c8){return _0x45cd40(_0x4f591c,_0x52a7c8);},'sOAyo':_0x437cd7(0x1f5),'kAxmi':_0x437cd7(0x1f4),'kDTEu':function(_0x2877c7){return _0x2877c7();},'VCIJB':function(_0x49c8f9,_0x36e949){return _0x49c8f9(_0x36e949);},'uIlUa':_0x437cd7(0x22f),'IUbhq':function(_0x3b36ca,_0x5c62b7){return _0x3b36ca(_0x5c62b7);},'lTdJO':_0x437cd7(0x213),'MsnAh':'Modifying\x20webdriver\x20builder'},_0x5a1020=helper[_0x437cd7(0x253)]();let _0x4f0095;try{_0x4f0095=helper['requireSeleniumWebdriver'](),_0x4f0095[_0x437cd7(0x232)]&&(_0x4f0095[_0x437cd7(0x217)]=_0x4f0095[_0x437cd7(0x232)]);}catch(_0x5410a8){return;}if(helper[_0x437cd7(0x221)]()){const _0x438313={};_0x438313[_0x437cd7(0x251)]=_0x405d14['browserStackLogLevel'],helper['setLogLevel'](_0x438313,new Map(),new Map()),logger[_0x437cd7(0x24e)](_0x25cb8c[_0x437cd7(0x234)]),logger[_0x437cd7(0x207)](_0x25cb8c[_0x437cd7(0x257)]);}class _0x218442 extends _0x5a1020[_0x437cd7(0x259)]{['send'](_0x445732){const _0x3b1a50=_0x437cd7;if(_0x25cb8c[_0x3b1a50(0x25a)](_0x445732[_0x3b1a50(0x219)],_0x25cb8c[_0x3b1a50(0x225)])&&_0x25cb8c[_0x3b1a50(0x25a)](global[_0x3b1a50(0x235)],''))try{global[_0x3b1a50(0x235)]=_0x25cb8c[_0x3b1a50(0x228)](_0x25cb8c[_0x3b1a50(0x24a)](_0x25cb8c[_0x3b1a50(0x241)],global['newHubUrl']),_0x25cb8c[_0x3b1a50(0x1f1)]),this[_0x3b1a50(0x23a)]=hubAllocator[_0x3b1a50(0x1f3)](global['newHubUrl']),logger[_0x3b1a50(0x207)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x3b1a50(0x235)]),global[_0x3b1a50(0x235)]='';}catch(_0x1821e3){logger['error'](_0x1821e3);}return super['send'](_0x445732);}}class _0x5a2b14 extends _0x4f0095[_0x437cd7(0x217)]{[_0x437cd7(0x236)](){const _0xb7fd6a=_0x437cd7;return this['url_']=helper[_0xb7fd6a(0x250)](_0x405d14),logger[_0xb7fd6a(0x207)](_0xb7fd6a(0x20d)+this[_0xb7fd6a(0x24d)]),this;}[_0x437cd7(0x25e)](_0x289239){const _0x326747=_0x437cd7;let _0x344a9c={};for(const _0x334683 in _0x289239){switch(_0x334683){case _0x25cb8c[_0x326747(0x22b)]:case _0x25cb8c[_0x326747(0x1fb)]:this[_0x326747(0x229)]&&(_0x344a9c=this['chromeOptions_'][_0x326747(0x255)](this[_0x326747(0x229)][_0x326747(0x1ff)])||{},this[_0x326747(0x229)]['set'](this[_0x326747(0x229)][_0x326747(0x1ff)],helper['mergeDeep'](_0x344a9c,_0x289239[_0x334683])));break;case _0x25cb8c[_0x326747(0x1ee)]:case _0x25cb8c[_0x326747(0x260)]:this[_0x326747(0x24f)]&&(_0x344a9c=this[_0x326747(0x24f)][_0x326747(0x255)](this[_0x326747(0x24f)]['CAPABILITY_KEY'])||{},this[_0x326747(0x24f)][_0x326747(0x216)](this[_0x326747(0x24f)][_0x326747(0x1ff)],helper[_0x326747(0x21b)](_0x344a9c,_0x289239[_0x334683])));break;case _0x25cb8c[_0x326747(0x203)]:case _0x25cb8c['vMqRC']:this[_0x326747(0x256)]&&(_0x344a9c=this[_0x326747(0x256)][_0x326747(0x255)](this['firefoxOptions_']['CAPABILITY_KEY'])||{},this[_0x326747(0x256)]['set'](this[_0x326747(0x256)][_0x326747(0x1ff)],helper['mergeDeep'](_0x344a9c,_0x289239[_0x334683])));break;case _0x25cb8c[_0x326747(0x21c)]:this[_0x326747(0x25c)]&&(_0x344a9c=this[_0x326747(0x25c)][_0x326747(0x255)](this[_0x326747(0x25c)][_0x326747(0x1ff)])||{},this[_0x326747(0x25c)]['set'](this[_0x326747(0x25c)]['CAPABILITY_KEY'],helper[_0x326747(0x21b)](_0x344a9c,_0x289239[_0x334683])));break;case _0x25cb8c[_0x326747(0x23c)]:case _0x25cb8c['YXcUF']:this[_0x326747(0x1eb)]&&(_0x344a9c=this[_0x326747(0x1eb)][_0x326747(0x255)](this[_0x326747(0x1eb)]['CAPABILITY_KEY'])||{},this['ieOptions_'][_0x326747(0x216)](this[_0x326747(0x1eb)][_0x326747(0x1ff)],helper[_0x326747(0x21b)](_0x344a9c,_0x289239[_0x334683])));break;}}}[_0x437cd7(0x215)](){const _0x25219b=_0x437cd7,_0x1277f3={'AVZoA':function(_0xbc5fdd,_0x2727d6){return _0x25cb8c['ytgUK'](_0xbc5fdd,_0x2727d6);},'qjPjp':_0x25cb8c[_0x25219b(0x224)]};return logger[_0x25219b(0x207)](_0x25cb8c['smSaV']),this[_0x25219b(0x25e)](_0x405d14[_0x25219b(0x211)]),Object[_0x25219b(0x1e8)](_0x405d14['capability'])[_0x25219b(0x247)](_0x10ca17=>{const _0x143b3e=_0x25219b,_0x5acd4f=this[_0x143b3e(0x1ef)][_0x143b3e(0x255)](_0x10ca17);_0x1277f3[_0x143b3e(0x21e)](typeof _0x5acd4f,_0x1277f3['qjPjp'])?this[_0x143b3e(0x1ef)][_0x143b3e(0x216)](_0x10ca17,helper[_0x143b3e(0x21b)](_0x5acd4f,_0x405d14[_0x143b3e(0x211)][_0x10ca17])):this[_0x143b3e(0x1ef)][_0x143b3e(0x216)](_0x10ca17,_0x405d14[_0x143b3e(0x211)][_0x10ca17]);}),this;}[_0x437cd7(0x21f)](){const _0x39952f=_0x437cd7,_0x2b5532={'CEZxc':function(_0x1d988a,_0x215095,_0x386f14){const _0x357812=a29_0x5019;return _0x25cb8c[_0x357812(0x24c)](_0x1d988a,_0x215095,_0x386f14);}};if(helper[_0x39952f(0x221)]()){const _0x1e719a=_0x25cb8c['sOAyo'][_0x39952f(0x212)]('|');let _0x655c4=0x0;while(!![]){switch(_0x1e719a[_0x655c4++]){case'0':globals[_0x39952f(0x21d)](_0x25cb8c[_0x39952f(0x24b)])&&(!_0x25cb8c[_0x39952f(0x24c)](setExtension,this,_0x405d14)&&globals[_0x39952f(0x246)](_0x25cb8c['kAxmi'],![]));continue;case'1':_0x25cb8c['kDTEu'](isAccessibilityAutomationSession)&&_0x25cb8c[_0x39952f(0x249)](setAccessibilityCapabilities,_0x405d14);continue;case'2':if(helper[_0x39952f(0x201)](_0x405d14[_0x39952f(0x1f0)]['proxyUrl']))this['agent_']=helper[_0x39952f(0x1fa)](_0x405d14[_0x39952f(0x1f0)][_0x39952f(0x20f)]);else _0x405d14[_0x39952f(0x1f0)][_0x39952f(0x20f)]&&(this[_0x39952f(0x20a)]=_0x405d14[_0x39952f(0x1f0)][_0x39952f(0x20f)],logger[_0x39952f(0x207)](_0x39952f(0x25b)+this[_0x39952f(0x20a)]));continue;case'3':this[_0x39952f(0x215)]();continue;case'4':this['setServer']();continue;case'5':logger['debug'](_0x25cb8c['uIlUa']);continue;}break;}}const _0x3fcec9=super[_0x39952f(0x21f)]();return _0x3fcec9[_0x39952f(0x1f8)][_0x39952f(0x254)](_0x127885=>{const _0x21252c=_0x39952f;try{const _0x2971eb=_0x127885[_0x21252c(0x1fd)][_0x21252c(0x255)](_0x25cb8c['uXXOM']);_0x2971eb?(logger[_0x21252c(0x207)](_0x21252c(0x25f)+_0x2971eb),hubAllocator[_0x21252c(0x202)](_0x2971eb),helper[_0x21252c(0x20e)](_0x2971eb)):logger[_0x21252c(0x207)](_0x25cb8c['IcTFG']);}catch(_0x375ca0){logger[_0x21252c(0x207)](_0x21252c(0x1ea)+_0x375ca0);}}),_0x3fcec9[_0x39952f(0x23f)]=0x0,_0x3fcec9['then']&&_0x3fcec9[_0x39952f(0x254)](_0x4bc2ea=>{const _0x5be965=_0x39952f,_0x10cac5=_0x25cb8c[_0x5be965(0x22c)][_0x5be965(0x212)]('|');let _0x4baed2=0x0;while(!![]){switch(_0x10cac5[_0x4baed2++]){case'0':_0x4bc2ea['getAccessibilityResultsSummary']=async()=>{const _0x2cd3fb=_0x5be965;return await _0x2b5532[_0x2cd3fb(0x218)](getAccessibilityResultsSummary,_0x4bc2ea,global);};continue;case'1':helper[_0x5be965(0x22d)](_0x4bc2ea,_0x405d14);continue;case'2':_0x25cb8c[_0x5be965(0x237)](overrideExecute,_0x4bc2ea,_0x405d14);continue;case'3':_0x4bc2ea['getAccessibilityResults']=async()=>{const _0x732d37=_0x5be965;return await _0x2b5532[_0x732d37(0x218)](getAccessibilityResults,_0x4bc2ea,global);};continue;case'4':_0x25cb8c[_0x5be965(0x208)](overrideTakeScreenshot,_0x4bc2ea);continue;case'5':_0x25cb8c['YriNJ'](overrideQuit,_0x4bc2ea,_0x3fcec9);continue;}break;}}),_0x3fcec9[_0x39952f(0x227)]=async()=>{const _0xcf633c=_0x39952f;return await _0x2b5532[_0xcf633c(0x218)](getAccessibilityResultsSummary,_0x3fcec9,global);},_0x3fcec9['getAccessibilityResults']=async()=>{const _0x185060=_0x39952f;return await _0x25cb8c[_0x185060(0x1e9)](getAccessibilityResults,_0x3fcec9,global);},_0x25cb8c['VCIJB'](overrideTakeScreenshot,_0x3fcec9),_0x25cb8c[_0x39952f(0x243)](overrideQuit,_0x3fcec9),helper[_0x39952f(0x22d)](_0x3fcec9,_0x405d14),_0x25cb8c['YriNJ'](overrideExecute,_0x3fcec9,_0x405d14),helper['isUndefined'](global[_0x39952f(0x22e)])&&(global[_0x39952f(0x22e)]=[]),helper[_0x39952f(0x258)](global[_0x39952f(0x223)])&&(global[_0x39952f(0x223)]=[]),global[_0x39952f(0x22e)]['push'](_0x3fcec9),global[_0x39952f(0x20b)]=_0x3fcec9,_0x25cb8c['WlFah'](global['__drivers'],undefined)&&global[_0x39952f(0x223)][_0x39952f(0x239)](_0x3fcec9),_0x5e0ee6&&helper[_0x39952f(0x258)](_0x5e0ee6['global'][_0x39952f(0x22e)])&&(_0x5e0ee6[_0x39952f(0x244)][_0x39952f(0x22e)]=[]),_0x5e0ee6&&_0x25cb8c[_0x39952f(0x25a)](_0x5e0ee6[_0x39952f(0x244)][_0x39952f(0x223)],undefined)&&(_0x5e0ee6[_0x39952f(0x244)][_0x39952f(0x223)]['push'](_0x3fcec9),_0x5e0ee6[_0x39952f(0x244)]['__driversArray']['push'](_0x3fcec9)),_0x3fcec9;}}return _0x4f0095[_0x437cd7(0x232)]=_0x4f0095[_0x437cd7(0x217)],_0x4f0095[_0x437cd7(0x217)]=_0x5a2b14,_0x5a1020[_0x437cd7(0x259)]=_0x218442,_0x4f0095;};module[a29_0x290d8b(0x25d)][a29_0x290d8b(0x226)]=modify;
1
+ const a29_0x3d7a5b=a29_0x57a0;function a29_0x323d(){const _0x4e1c34=['then','tyLYK','updateHubUrl','getAccessibilityResults','../../../helpers/globals','ERYPd','../../../bin/utils/constants','mergeDeep','ieOptions_','/session','isAccessibilityPlatform','QOZjs','__driver','getAccessibilityResultsSummary','getHubUrl','New\x20hub\x20url\x20set\x20to\x20','winstonLogger','xrpTb','send','caps_','DJKhK','chromeOptions_','230913dLdlcy','push','FPfRG','moz:firefoxOptions','HfeOp','error','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','isBrowserstackInfra','iXOic','NyGbB','../accessibility-automation/helper','global','requireSeleniumWebdriver','setCapabilities','logLevel','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','30rmBroK','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','goog:chromeOptions','1085070vcJetg','CoVFb','/wd/hub','../../../helpers/accessibility-automation/helper','__driversArray','bONHn','__drivers','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','unUmA','debug','4892720CxCsop','newHubUrl','proxySettings','se:ieOptions','5444766xubeey','__setBrowserOptions','storeOptimalHubUrl','keys','26156JDuykw','ms:edgeOptions','chromeOptions','getGlobal','Pigui','ieOptions','split','setServer','doqie','mNvOd','TJsAU','sqzmH','firefoxOptions_','isUndefined','setGlobal','optimalHubUrl','requireHttpClient','tGmuJ','proxy_','../../../hubAllocationMethods','originalBuilder','build','../../../helpers/logger','overrideGet','safari.options','Modifying\x20webdriver\x20builder','set','CAPABILITY_KEY','url_','hnRzx','2365960rOsYiz','SuqLG','4IDjekP','edgeOptions_','../../../helpers/helper','1243830JQVmgj','Hub\x20url\x20set\x20to\x20','get','capability','capabilities_','proxyUrl','agent_','EGwIo','mMZvW','qmCfp','QIQCg','LUVaE','JFLvj','https://','HttpClient','FIxQr','okYXg','4|2|5|3|1|0','sYbCZ','SoCev','xTHOU','setLogLevel','safariOptions_','./helpers/patchHelper','getHttpAgent','735YyyoVM','info','Proxy\x20set\x20to\x20','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'];a29_0x323d=function(){return _0x4e1c34;};return a29_0x323d();}(function(_0xf28f43,_0x10faa8){const _0x3397dd=a29_0x57a0,_0x53d65f=_0xf28f43();while(!![]){try{const _0x475f1a=parseInt(_0x3397dd(0x23f))/0x1*(parseInt(_0x3397dd(0x209))/0x2)+parseInt(_0x3397dd(0x20c))/0x3+-parseInt(_0x3397dd(0x1e9))/0x4*(parseInt(_0x3397dd(0x225))/0x5)+parseInt(_0x3397dd(0x24f))/0x6*(-parseInt(_0x3397dd(0x252))/0x7)+parseInt(_0x3397dd(0x207))/0x8+parseInt(_0x3397dd(0x1e5))/0x9+parseInt(_0x3397dd(0x25c))/0xa;if(_0x475f1a===_0x10faa8)break;else _0x53d65f['push'](_0x53d65f['shift']());}catch(_0x5cbab3){_0x53d65f['push'](_0x53d65f['shift']());}}}(a29_0x323d,0x816e0));function a29_0x57a0(_0x3fa82a,_0x23be4e){const _0x323d1d=a29_0x323d();return a29_0x57a0=function(_0x57a037,_0x444591){_0x57a037=_0x57a037-0x1e5;let _0x497083=_0x323d1d[_0x57a037];return _0x497083;},a29_0x57a0(_0x3fa82a,_0x23be4e);}const logger=require(a29_0x3d7a5b(0x1ff))[a29_0x3d7a5b(0x239)],helper=require(a29_0x3d7a5b(0x20b)),constants=require(a29_0x3d7a5b(0x22f)),hubAllocator=require(a29_0x3d7a5b(0x1fc)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a29_0x3d7a5b(0x249)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x3d7a5b(0x255)),globals=require(a29_0x3d7a5b(0x22d)),{overrideExecute}=require(a29_0x3d7a5b(0x223)),modify=(_0x5ee828,_0x316742=null,_0x3f33d6=![])=>{const _0x27fd14=a29_0x3d7a5b,_0x23a241={'Wyphi':function(_0x45d3f5,_0xdebcba){return _0x45d3f5!==_0xdebcba;},'tGmuJ':_0x27fd14(0x232),'CoVFb':function(_0x307fe2,_0x1b4512){return _0x307fe2!==_0x1b4512;},'QOZjs':function(_0x230a55,_0x3a2a21){return _0x230a55+_0x3a2a21;},'HfeOp':function(_0x52b190,_0x2334bf){return _0x52b190+_0x2334bf;},'EGwIo':_0x27fd14(0x219),'LUVaE':_0x27fd14(0x254),'dUOLI':_0x27fd14(0x251),'NyGbB':_0x27fd14(0x1eb),'iXOic':_0x27fd14(0x1ea),'aLfMr':'edgeOptions','SoCev':_0x27fd14(0x242),'mNvOd':'firefoxOptions','sYbCZ':_0x27fd14(0x201),'FIxQr':_0x27fd14(0x25f),'sqzmH':_0x27fd14(0x1ee),'tyLYK':function(_0x4fa2e1,_0x2decd2){return _0x4fa2e1===_0x2decd2;},'pBpAp':'object','hnRzx':'Setting\x20Browserstack\x20capabilities','Pigui':_0x27fd14(0x1f8),'bONHn':_0x27fd14(0x259),'xTHOU':function(_0x5238a6,_0x45e4bd,_0x7ffb83){return _0x5238a6(_0x45e4bd,_0x7ffb83);},'JFLvj':function(_0x3c2428,_0x1110bf,_0x31b35f){return _0x3c2428(_0x1110bf,_0x31b35f);},'mMZvW':function(_0x36e726,_0x80424e){return _0x36e726(_0x80424e);},'qmCfp':function(_0x3c96b9,_0x54a81b,_0x10b3e5){return _0x3c96b9(_0x54a81b,_0x10b3e5);},'DJKhK':_0x27fd14(0x21d),'EwtNt':_0x27fd14(0x250),'okYXg':_0x27fd14(0x233),'SuqLG':function(_0xffb32c){return _0xffb32c();},'ERYPd':function(_0x26b3e4,_0x2014aa){return _0x26b3e4(_0x2014aa);},'xrpTb':function(_0x591574,_0x2c95c3){return _0x591574!==_0x2c95c3;},'QIQCg':_0x27fd14(0x24e),'TJsAU':_0x27fd14(0x202)},_0x373555=helper[_0x27fd14(0x1f9)]();let _0x2365b7;try{_0x2365b7=helper[_0x27fd14(0x24b)](),_0x2365b7[_0x27fd14(0x1fd)]&&(_0x2365b7['Builder']=_0x2365b7['originalBuilder']);}catch(_0x1d5055){return;}if(helper[_0x27fd14(0x246)]()){const _0x5cf45b={};_0x5cf45b[_0x27fd14(0x24d)]=_0x5ee828['browserStackLogLevel'],helper[_0x27fd14(0x221)](_0x5cf45b,new Map(),new Map()),logger[_0x27fd14(0x226)](_0x23a241[_0x27fd14(0x216)]),logger[_0x27fd14(0x25b)](_0x23a241[_0x27fd14(0x1f3)]);}class _0x35b1a9 extends _0x373555[_0x27fd14(0x21a)]{[_0x27fd14(0x23b)](_0x4bb83f){const _0x100a85=_0x27fd14;if(_0x23a241['Wyphi'](_0x4bb83f['path'],_0x23a241[_0x100a85(0x1fa)])&&_0x23a241[_0x100a85(0x253)](global[_0x100a85(0x25d)],''))try{global[_0x100a85(0x25d)]=_0x23a241[_0x100a85(0x234)](_0x23a241[_0x100a85(0x243)](_0x23a241[_0x100a85(0x213)],global[_0x100a85(0x25d)]),_0x23a241[_0x100a85(0x217)]),this['options_']=hubAllocator['getRequestOptions'](global[_0x100a85(0x25d)]),logger[_0x100a85(0x25b)](_0x100a85(0x238)+global[_0x100a85(0x25d)]),global[_0x100a85(0x25d)]='';}catch(_0x51f24e){logger[_0x100a85(0x244)](_0x51f24e);}return super[_0x100a85(0x23b)](_0x4bb83f);}}class _0x236f2b extends _0x2365b7['Builder']{[_0x27fd14(0x1f0)](){const _0x5d5389=_0x27fd14;return this['url_']=helper[_0x5d5389(0x237)](_0x5ee828),logger[_0x5d5389(0x25b)](_0x5d5389(0x20d)+this[_0x5d5389(0x205)]),this;}[_0x27fd14(0x1e6)](_0x4447e7){const _0x3517e3=_0x27fd14;let _0x297830={};for(const _0x5ef25d in _0x4447e7){switch(_0x5ef25d){case _0x23a241['dUOLI']:case _0x23a241[_0x3517e3(0x248)]:this[_0x3517e3(0x23e)]&&(_0x297830=this['chromeOptions_'][_0x3517e3(0x20e)](this[_0x3517e3(0x23e)]['CAPABILITY_KEY'])||{},this[_0x3517e3(0x23e)]['set'](this['chromeOptions_'][_0x3517e3(0x204)],helper[_0x3517e3(0x230)](_0x297830,_0x4447e7[_0x5ef25d])));break;case _0x23a241[_0x3517e3(0x247)]:case _0x23a241['aLfMr']:this['edgeOptions_']&&(_0x297830=this[_0x3517e3(0x20a)][_0x3517e3(0x20e)](this[_0x3517e3(0x20a)]['CAPABILITY_KEY'])||{},this[_0x3517e3(0x20a)][_0x3517e3(0x203)](this[_0x3517e3(0x20a)][_0x3517e3(0x204)],helper[_0x3517e3(0x230)](_0x297830,_0x4447e7[_0x5ef25d])));break;case _0x23a241[_0x3517e3(0x21f)]:case _0x23a241[_0x3517e3(0x1f2)]:this[_0x3517e3(0x1f5)]&&(_0x297830=this[_0x3517e3(0x1f5)][_0x3517e3(0x20e)](this[_0x3517e3(0x1f5)][_0x3517e3(0x204)])||{},this[_0x3517e3(0x1f5)][_0x3517e3(0x203)](this[_0x3517e3(0x1f5)]['CAPABILITY_KEY'],helper[_0x3517e3(0x230)](_0x297830,_0x4447e7[_0x5ef25d])));break;case _0x23a241[_0x3517e3(0x21e)]:this[_0x3517e3(0x222)]&&(_0x297830=this[_0x3517e3(0x222)][_0x3517e3(0x20e)](this[_0x3517e3(0x222)]['CAPABILITY_KEY'])||{},this[_0x3517e3(0x222)][_0x3517e3(0x203)](this[_0x3517e3(0x222)]['CAPABILITY_KEY'],helper[_0x3517e3(0x230)](_0x297830,_0x4447e7[_0x5ef25d])));break;case _0x23a241[_0x3517e3(0x21b)]:case _0x23a241[_0x3517e3(0x1f4)]:this['ieOptions_']&&(_0x297830=this[_0x3517e3(0x231)][_0x3517e3(0x20e)](this[_0x3517e3(0x231)][_0x3517e3(0x204)])||{},this[_0x3517e3(0x231)][_0x3517e3(0x203)](this[_0x3517e3(0x231)][_0x3517e3(0x204)],helper['mergeDeep'](_0x297830,_0x4447e7[_0x5ef25d])));break;}}}[_0x27fd14(0x24c)](){const _0x38fb27=_0x27fd14;return logger[_0x38fb27(0x25b)](_0x23a241[_0x38fb27(0x206)]),this[_0x38fb27(0x1e6)](_0x5ee828[_0x38fb27(0x20f)]),Object[_0x38fb27(0x1e8)](_0x5ee828[_0x38fb27(0x20f)])['forEach'](_0x5cf72d=>{const _0x215925=_0x38fb27,_0x34b41f=this['capabilities_']['get'](_0x5cf72d);_0x23a241[_0x215925(0x22a)](typeof _0x34b41f,_0x23a241['pBpAp'])?this[_0x215925(0x210)][_0x215925(0x203)](_0x5cf72d,helper[_0x215925(0x230)](_0x34b41f,_0x5ee828[_0x215925(0x20f)][_0x5cf72d])):this[_0x215925(0x210)][_0x215925(0x203)](_0x5cf72d,_0x5ee828[_0x215925(0x20f)][_0x5cf72d]);}),this;}[_0x27fd14(0x1fe)](){const _0x4442c6=_0x27fd14,_0x2b9006={'unUmA':function(_0x5f54cb,_0x39f12e,_0x328b70){const _0x528f9a=a29_0x57a0;return _0x23a241[_0x528f9a(0x218)](_0x5f54cb,_0x39f12e,_0x328b70);},'FPfRG':function(_0x556e4d,_0x23a2f1,_0x56faec){const _0x411b50=a29_0x57a0;return _0x23a241[_0x411b50(0x220)](_0x556e4d,_0x23a2f1,_0x56faec);}};if(helper[_0x4442c6(0x246)]()){const _0xf35ba5=_0x23a241[_0x4442c6(0x23d)][_0x4442c6(0x1ef)]('|');let _0x19b5d3=0x0;while(!![]){switch(_0xf35ba5[_0x19b5d3++]){case'0':logger['debug'](_0x23a241['EwtNt']);continue;case'1':globals[_0x4442c6(0x1ec)](_0x23a241[_0x4442c6(0x21c)])&&(!_0x23a241['JFLvj'](setExtension,this,_0x5ee828)&&globals[_0x4442c6(0x1f7)](_0x23a241[_0x4442c6(0x21c)],![]));continue;case'2':this[_0x4442c6(0x1f0)]();continue;case'3':if(helper['isPacProxy'](_0x5ee828[_0x4442c6(0x25e)][_0x4442c6(0x211)]))this[_0x4442c6(0x212)]=helper[_0x4442c6(0x224)](_0x5ee828['proxySettings'][_0x4442c6(0x211)]);else _0x5ee828[_0x4442c6(0x25e)]['proxyUrl']&&(this[_0x4442c6(0x1fb)]=_0x5ee828[_0x4442c6(0x25e)][_0x4442c6(0x211)],logger[_0x4442c6(0x25b)](_0x4442c6(0x227)+this[_0x4442c6(0x1fb)]));continue;case'4':_0x23a241[_0x4442c6(0x208)](isAccessibilityAutomationSession)&&_0x23a241[_0x4442c6(0x214)](setAccessibilityCapabilities,_0x5ee828);continue;case'5':this[_0x4442c6(0x24c)]();continue;}break;}}const _0x489196=super[_0x4442c6(0x1fe)]();return _0x489196['session_']['then'](_0x2a09bf=>{const _0x3068c2=_0x4442c6;try{const _0x3d2253=_0x2a09bf[_0x3068c2(0x23c)]['get'](_0x23a241[_0x3068c2(0x1ed)]);_0x3d2253?(logger[_0x3068c2(0x25b)](_0x3068c2(0x245)+_0x3d2253),hubAllocator[_0x3068c2(0x22b)](_0x3d2253),helper[_0x3068c2(0x1e7)](_0x3d2253)):logger[_0x3068c2(0x25b)](_0x23a241[_0x3068c2(0x257)]);}catch(_0x142a2a){logger[_0x3068c2(0x25b)](_0x3068c2(0x228)+_0x142a2a);}}),_0x489196['quitCount_']=0x0,_0x489196['then']&&_0x489196[_0x4442c6(0x229)](_0x2f091d=>{const _0x14d3dc=_0x4442c6,_0xdeefe6={'doqie':function(_0x5e3f99,_0x4ff83,_0x42296a){const _0x566d70=a29_0x57a0;return _0x23a241[_0x566d70(0x220)](_0x5e3f99,_0x4ff83,_0x42296a);}};_0x23a241['JFLvj'](overrideQuit,_0x2f091d,_0x489196),_0x23a241[_0x14d3dc(0x214)](overrideTakeScreenshot,_0x2f091d),helper[_0x14d3dc(0x200)](_0x2f091d,_0x5ee828),_0x23a241[_0x14d3dc(0x215)](overrideExecute,_0x2f091d,_0x5ee828),_0x2f091d[_0x14d3dc(0x236)]=async()=>{const _0x1952a4=_0x14d3dc;return await _0x2b9006[_0x1952a4(0x25a)](getAccessibilityResultsSummary,_0x2f091d,global);},_0x2f091d['getAccessibilityResults']=async()=>{const _0x597db7=_0x14d3dc;return await _0xdeefe6[_0x597db7(0x1f1)](getAccessibilityResults,_0x2f091d,global);};}),_0x489196[_0x4442c6(0x236)]=async()=>{const _0x1ac3b4=_0x4442c6;return await _0x23a241[_0x1ac3b4(0x220)](getAccessibilityResultsSummary,_0x489196,global);},_0x489196[_0x4442c6(0x22c)]=async()=>{const _0x33241b=_0x4442c6;return await _0x2b9006[_0x33241b(0x241)](getAccessibilityResults,_0x489196,global);},_0x23a241[_0x4442c6(0x22e)](overrideTakeScreenshot,_0x489196),_0x23a241[_0x4442c6(0x22e)](overrideQuit,_0x489196),helper['overrideGet'](_0x489196,_0x5ee828),_0x23a241['qmCfp'](overrideExecute,_0x489196,_0x5ee828),helper['isUndefined'](global[_0x4442c6(0x256)])&&(global[_0x4442c6(0x256)]=[]),helper[_0x4442c6(0x1f6)](global[_0x4442c6(0x258)])&&(global[_0x4442c6(0x258)]=[]),global['__driversArray'][_0x4442c6(0x240)](_0x489196),global[_0x4442c6(0x235)]=_0x489196,_0x23a241[_0x4442c6(0x23a)](global['__drivers'],undefined)&&global['__drivers']['push'](_0x489196),_0x316742&&helper[_0x4442c6(0x1f6)](_0x316742[_0x4442c6(0x24a)][_0x4442c6(0x256)])&&(_0x316742[_0x4442c6(0x24a)][_0x4442c6(0x256)]=[]),_0x316742&&_0x23a241[_0x4442c6(0x23a)](_0x316742[_0x4442c6(0x24a)]['__drivers'],undefined)&&(_0x316742[_0x4442c6(0x24a)][_0x4442c6(0x258)][_0x4442c6(0x240)](_0x489196),_0x316742[_0x4442c6(0x24a)]['__driversArray'][_0x4442c6(0x240)](_0x489196)),_0x489196;}}return _0x2365b7[_0x27fd14(0x1fd)]=_0x2365b7['Builder'],_0x2365b7['Builder']=_0x236f2b,_0x373555[_0x27fd14(0x21a)]=_0x35b1a9,_0x2365b7;};module['exports']['browserstackAgentObservability']=modify;
@@ -1 +1 @@
1
- function a30_0x5965(_0x10ba93,_0x54958a){const _0x153124=a30_0x1531();return a30_0x5965=function(_0x5965cf,_0x21842e){_0x5965cf=_0x5965cf-0xf6;let _0x131164=_0x153124[_0x5965cf];return _0x131164;},a30_0x5965(_0x10ba93,_0x54958a);}const a30_0x19e908=a30_0x5965;(function(_0x26960e,_0x28f918){const _0x41b3a5=a30_0x5965,_0xa6dcb=_0x26960e();while(!![]){try{const _0x2f1c94=-parseInt(_0x41b3a5(0xfb))/0x1*(-parseInt(_0x41b3a5(0xfa))/0x2)+-parseInt(_0x41b3a5(0xfd))/0x3+parseInt(_0x41b3a5(0xfe))/0x4+-parseInt(_0x41b3a5(0xf6))/0x5*(-parseInt(_0x41b3a5(0x103))/0x6)+parseInt(_0x41b3a5(0xff))/0x7*(parseInt(_0x41b3a5(0x100))/0x8)+parseInt(_0x41b3a5(0xf9))/0x9+-parseInt(_0x41b3a5(0x101))/0xa;if(_0x2f1c94===_0x28f918)break;else _0xa6dcb['push'](_0xa6dcb['shift']());}catch(_0x203280){_0xa6dcb['push'](_0xa6dcb['shift']());}}}(a30_0x1531,0x4d5d9));const requestSpy=require(a30_0x19e908(0xf8)),constants=require(a30_0x19e908(0xf7)),{addRequestSpy}=require(a30_0x19e908(0xfc));function a30_0x1531(){const _0x12c37a=['4166582mnsQyn','8IPXnjZ','16439780tMffeE','timeout','2388486FuUhyB','5QbnPED','../../../bin/utils/constants','../../../helpers/request-spy','2028222MVgoKQ','5376SBRTaT','178FxOKjm','../../../helpers/test-observability/utils','90711qsMomA','1175900qpDNio'];a30_0x1531=function(){return _0x12c37a;};return a30_0x1531();}exports['mochaHooks']={'beforeAll'(){const _0xe5c7c2={'IEYmH':function(_0x3f4ca3){return _0x3f4ca3();}},_0x1770c8='browserstack internal helper hook';_0xe5c7c2['IEYmH'](addRequestSpy);},'afterAll'(){const _0x2345f4=a30_0x19e908,_0x530ffa='browserstack internal helper hook';this[_0x2345f4(0x102)](0xea60),requestSpy['restore']();}};
1
+ function a30_0xedb1(){const _0x181a96=['8058NgqOfS','121cbJRnO','1110982uTCsxV','../../../bin/utils/constants','609qwhaxN','458970HzFizB','2vndRjW','PFlmo','restore','12884076YSKWth','2492205XHOSSX','timeout','../../../helpers/request-spy','843352MdfcOq','2705bDojAj','46352RrJitl'];a30_0xedb1=function(){return _0x181a96;};return a30_0xedb1();}function a30_0x36cd(_0x1cb0c6,_0x5991e6){const _0xedb10=a30_0xedb1();return a30_0x36cd=function(_0x36cd2c,_0x3cb310){_0x36cd2c=_0x36cd2c-0xbf;let _0x2c878c=_0xedb10[_0x36cd2c];return _0x2c878c;},a30_0x36cd(_0x1cb0c6,_0x5991e6);}const a30_0x4f4ea5=a30_0x36cd;(function(_0x2f4495,_0x35b884){const _0x335e4e=a30_0x36cd,_0x3b4d45=_0x2f4495();while(!![]){try{const _0x41a58c=parseInt(_0x335e4e(0xbf))/0x1+-parseInt(_0x335e4e(0xc3))/0x2*(parseInt(_0x335e4e(0xc7))/0x3)+parseInt(_0x335e4e(0xca))/0x4+parseInt(_0x335e4e(0xcb))/0x5*(parseInt(_0x335e4e(0xcd))/0x6)+-parseInt(_0x335e4e(0xc1))/0x7*(-parseInt(_0x335e4e(0xcc))/0x8)+-parseInt(_0x335e4e(0xc6))/0x9+-parseInt(_0x335e4e(0xc2))/0xa*(-parseInt(_0x335e4e(0xce))/0xb);if(_0x41a58c===_0x35b884)break;else _0x3b4d45['push'](_0x3b4d45['shift']());}catch(_0x16d501){_0x3b4d45['push'](_0x3b4d45['shift']());}}}(a30_0xedb1,0xc2195));const requestSpy=require(a30_0x4f4ea5(0xc9)),constants=require(a30_0x4f4ea5(0xc0)),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports['mochaHooks']={'beforeAll'(){const _0x4b6805=a30_0x4f4ea5,_0x49e01a={'PFlmo':function(_0x2cf9cf){return _0x2cf9cf();}},_0x4f257f='browserstack internal helper hook';_0x49e01a[_0x4b6805(0xc4)](addRequestSpy);},'afterAll'(){const _0xa8bb99=a30_0x4f4ea5,_0x42b6a4='browserstack internal helper hook';this[_0xa8bb99(0xc8)](0xea60),requestSpy[_0xa8bb99(0xc5)]();}};
@@ -1 +1 @@
1
- const a31_0x3e3005=a31_0x2349;(function(_0x36e115,_0x39ce34){const _0xc56a72=a31_0x2349,_0x39c196=_0x36e115();while(!![]){try{const _0x5474d4=parseInt(_0xc56a72(0xfb))/0x1+-parseInt(_0xc56a72(0xd3))/0x2+-parseInt(_0xc56a72(0x112))/0x3*(-parseInt(_0xc56a72(0x108))/0x4)+-parseInt(_0xc56a72(0xf0))/0x5*(parseInt(_0xc56a72(0xe9))/0x6)+-parseInt(_0xc56a72(0xf6))/0x7*(parseInt(_0xc56a72(0xda))/0x8)+-parseInt(_0xc56a72(0xd1))/0x9*(-parseInt(_0xc56a72(0xe3))/0xa)+-parseInt(_0xc56a72(0xeb))/0xb*(-parseInt(_0xc56a72(0xfd))/0xc);if(_0x5474d4===_0x39ce34)break;else _0x39c196['push'](_0x39c196['shift']());}catch(_0x2d8cf8){_0x39c196['push'](_0x39c196['shift']());}}}(a31_0x3534,0x75c2d));function a31_0x2349(_0x3098b2,_0x50a6ca){const _0x353480=a31_0x3534();return a31_0x2349=function(_0x2349e4,_0x26392b){_0x2349e4=_0x2349e4-0xc6;let _0x523796=_0x353480[_0x2349e4];return _0x523796;},a31_0x2349(_0x3098b2,_0x50a6ca);}const {v4:uuidv4}=require(a31_0x3e3005(0xde)),{name,version}=require('../../../../package.json'),logPatcher=require(a31_0x3e3005(0xc8)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x3e3005(0xec)),{consoleHolder}=require(a31_0x3e3005(0xc7)),{getPlatformVersion}=require(a31_0x3e3005(0xd4)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require(a31_0x3e3005(0xe7)),{patchConsoleLogger}=require(a31_0x3e3005(0xec));function a31_0x3534(){const _0x1c8543=['1665592TlXxeC','../../../helpers/helper','fCnFH','fwBlS','slice','kxAuU','state','6733432iAtWxL','getHooksForTest','indexOf','fromEntries','uuid','map_','mapTestHooks','VIdGj','reduce','848830WuRdRi','hookAnalyticsId','unknown_grid','bkFda','lodash','getBrowserVersion','569682FAVmdi','parent','141086DbgASV','../../../helpers/test-observability/utils','KilAU','split','Isvoe','15uANzEZ','sendPlatformDetails','forEach','__cloud_provider___','_beforeAll','qTdDP','7SRGjBb','oJBJV','VOCHA','getCapabilities','toISOString','799122FIncbp','getHookSkippedTests','264AMICXl','getSession','pJXDp','TEST_PLATFORM','eOaNL','ZXkyr','MyWkL','OLzfg','tests','pIjoB','filter','1468TVUMzr','_afterAll','tCTOQ','concat','suites','emit','CdQxA','ttGdf','_afterEach','markedStatus','6957tulNYq','TGtqV','hook:','getPlatform','hook','_beforeEach','../../../helpers/test-observability/constants','../../utils/logPatcher','passed','yrbzx','naQif','pending','IXoRr','BlZLy','bAkHF','getHookDetails','54ivYlEo','string'];a31_0x3534=function(){return _0x1c8543;};return a31_0x3534();}patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x564d9a=a31_0x3e3005,_0x5c0a54={'OLzfg':'generic','kxAuU':function(_0x29319d){return _0x29319d();}};return{'ci':_0x5c0a54[_0x564d9a(0x104)],'key':_0x5c0a54[_0x564d9a(0xd8)](uuidv4),'version':version,'collector':'js-'+name};},exports[a31_0x3e3005(0xd0)]=_0x3cb6cb=>{const _0x3f5db1=a31_0x3e3005,_0x2a8731={};_0x2a8731[_0x3f5db1(0xef)]=function(_0x2551c7,_0x24401f){return _0x2551c7!==_0x24401f;},_0x2a8731[_0x3f5db1(0x106)]=_0x3f5db1(0xd2),_0x2a8731[_0x3f5db1(0xca)]=function(_0x4c0e56,_0x27cb30){return _0x4c0e56!==_0x27cb30;},_0x2a8731[_0x3f5db1(0xd6)]=_0x3f5db1(0x114),_0x2a8731[_0x3f5db1(0x113)]=function(_0x2aae9f,_0x4e2a00){return _0x2aae9f!==_0x4e2a00;},_0x2a8731['VOCHA']=_0x3f5db1(0x116);const _0x1b3227=_0x2a8731;if(!_0x3cb6cb||_0x1b3227['Isvoe'](typeof _0x3cb6cb,_0x1b3227[_0x3f5db1(0x106)]))return[null,null];if(_0x1b3227[_0x3f5db1(0xca)](_0x3cb6cb[_0x3f5db1(0xdc)](_0x1b3227[_0x3f5db1(0xd6)]),-0x1)){const _0x457d05=_0x3cb6cb['split'](_0x1b3227['fwBlS']);return[_0x457d05[0x0]['slice'](0x0,-0x1)[_0x3f5db1(0xee)]('\x22')[0x1],_0x457d05[0x1]['substring'](0x1)];}else{if(_0x1b3227[_0x3f5db1(0x113)](_0x3cb6cb[_0x3f5db1(0xdc)](_0x1b3227[_0x3f5db1(0xf8)]),-0x1)){const _0x4e8cad=_0x3cb6cb[_0x3f5db1(0xee)](_0x1b3227[_0x3f5db1(0xf8)]);return[_0x4e8cad[0x0][_0x3f5db1(0xd7)](0x0,-0x1)[_0x3f5db1(0xee)]('\x22')[0x1],_0x3cb6cb];}}return[null,null];},exports[a31_0x3e3005(0xdb)]=_0x51dd3a=>{const _0xee7417=a31_0x3e3005,_0x4b9a1a={'FpTvv':function(_0x512162,_0x433e97){return _0x512162(_0x433e97);},'CdQxA':'_beforeAll','ZXkyr':_0xee7417(0x109),'qTdDP':_0xee7417(0xc6),'MyWkL':'_afterEach'};if(!_0x51dd3a||!_0x51dd3a['parent'])return[];const _0x54bcf7=[];return[_0x4b9a1a[_0xee7417(0x10e)],_0x4b9a1a[_0xee7417(0x102)],_0x4b9a1a[_0xee7417(0xf5)],_0x4b9a1a[_0xee7417(0x103)]][_0xee7417(0xf2)](_0x518c88=>{const _0x502e68=_0xee7417,_0x2077e9=_0x51dd3a[_0x502e68(0xea)][_0x518c88]||[];_0x2077e9[_0x502e68(0xf2)](_0x14c745=>{_0x14c745['hookAnalyticsId']&&!_0x4b9a1a['FpTvv'](isInternalHook,_0x14c745['fn'])&&_0x54bcf7['push'](_0x14c745['hookAnalyticsId']);});}),[..._0x54bcf7,...exports[_0xee7417(0xdb)](_0x51dd3a['parent'])];},exports[a31_0x3e3005(0xe0)]=_0x1ec763=>{const _0x30684e=a31_0x3e3005,_0x5c0baf={'VIdGj':function(_0x2acdd9){return _0x2acdd9();},'YjNjD':function(_0x32de91,_0x4d818b){return _0x32de91===_0x4d818b;},'BlZLy':_0x30684e(0x110),'naQif':function(_0x1952ed){return _0x1952ed();},'bWyyC':_0x30684e(0xf4),'DnSDo':_0x30684e(0x109),'bkFda':_0x30684e(0xc6)};if(!_0x1ec763||!_0x1ec763[_0x30684e(0xea)])return;[_0x5c0baf['bWyyC'],_0x5c0baf['DnSDo'],_0x5c0baf[_0x30684e(0xe6)],_0x5c0baf['BlZLy']][_0x30684e(0xf2)](_0x232716=>{const _0x2f86d1=_0x30684e,_0x3e838f={'QOyhW':function(_0x47059a){const _0x465b0d=a31_0x2349;return _0x5c0baf[_0x465b0d(0xe1)](_0x47059a);},'bAkHF':function(_0x4c6dc2,_0x38587a){return _0x5c0baf['YjNjD'](_0x4c6dc2,_0x38587a);},'AKjtT':_0x5c0baf[_0x2f86d1(0xce)],'emQAX':function(_0x889d2b){const _0x522d63=_0x2f86d1;return _0x5c0baf[_0x522d63(0xcb)](_0x889d2b);}},_0x4d44b1=_0x1ec763['parent'][_0x232716]||[];_0x4d44b1[_0x2f86d1(0xf2)](_0x469e77=>{const _0x19a791=_0x2f86d1;if(!_0x469e77['hookAnalyticsId'])_0x469e77[_0x19a791(0xe4)]=_0x3e838f['QOyhW'](uuidv4);else _0x469e77[_0x19a791(0x111)]&&_0x3e838f[_0x19a791(0xcf)](_0x232716,_0x3e838f['AKjtT'])&&(_0x469e77[_0x19a791(0xe4)]=_0x3e838f['emQAX'](uuidv4),delete _0x469e77[_0x19a791(0x111)]);});}),exports[_0x30684e(0xe0)](_0x1ec763[_0x30684e(0xea)]);},exports[a31_0x3e3005(0xf1)]=async(_0x3d439d,_0x446ae0)=>{const _0x44e430=a31_0x3e3005,_0x10fbb4={'tCTOQ':function(_0x114a13){return _0x114a13();},'rwEyf':function(_0x40d4b7,_0x3a3fa8){return _0x40d4b7(_0x3a3fa8);},'UFUZF':function(_0x4cf988,_0x6e7899){return _0x4cf988===_0x6e7899;},'IXoRr':'browserstack','qXLkS':_0x44e430(0xe5),'KilAU':_0x44e430(0x100),'pJXDp':function(_0xab0414,_0x22b0c7){return _0xab0414(_0x22b0c7);}};try{if(!_0x10fbb4[_0x44e430(0x10a)](shouldProcessEventForTesthub))return;const _0x4aa81b=await _0x3d439d[_0x44e430(0xf9)](),_0x4995aa=await _0x3d439d[_0x44e430(0xfe)](),_0xb59094={},_0x598cac=Object[_0x44e430(0xdd)](_0x4995aa[_0x44e430(0xf9)]()[_0x44e430(0xdf)]),_0x2b6944={'product':_0x10fbb4['rwEyf'](getObservabilityLinkedProductName,_0x598cac),'capabilities':_0x598cac,'platform':_0x4aa81b[_0x44e430(0x115)](),'platform_version':_0x10fbb4['rwEyf'](getPlatformVersion,_0x10fbb4['UFUZF'](global[_0x44e430(0xf3)],_0x10fbb4[_0x44e430(0xcd)])),'browser':_0x4aa81b['getBrowserName'](),'browser_version':_0x4aa81b[_0x44e430(0xe8)](),'session_id':_0x4995aa['toJSON']()};global[_0x44e430(0xf3)]?_0xb59094[global['__cloud_provider___']]=_0x2b6944:_0xb59094[_0x10fbb4['qXLkS']]=_0x2b6944,process[_0x44e430(0x10d)]('bs:addPlatformDetails:'+process['pid'],{'timestamp':new Date()[_0x44e430(0xfa)](),'level':null,'message':null,'kind':_0x10fbb4[_0x44e430(0xed)],'http_response':_0xb59094,'uuid':_0x446ae0});}catch(_0x258f3c){_0x10fbb4[_0x44e430(0xff)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x258f3c);}},exports[a31_0x3e3005(0xfc)]=_0x129e56=>{const _0x31443f=a31_0x3e3005,_0x2608e8={};_0x2608e8[_0x31443f(0x10f)]=function(_0x2bdb51,_0x2e1f3d){return _0x2bdb51!==_0x2e1f3d;},_0x2608e8[_0x31443f(0x101)]=_0x31443f(0x116),_0x2608e8['fCnFH']=_0x31443f(0xc9),_0x2608e8[_0x31443f(0xf7)]='failed';const _0x14b3b8=_0x2608e8,_0x3063a9=_0x129e56[_0x31443f(0x10c)][_0x31443f(0xe2)]((_0x33f19d,_0x3e6eaa)=>{const _0x1391cc=_0x31443f,_0x1cb1ee=exports[_0x1391cc(0xfc)](_0x3e6eaa);return _0x1cb1ee&&(_0x33f19d=_0x33f19d[_0x1391cc(0x10b)](_0x1cb1ee)),_0x33f19d;},[]),_0x2fcff2=_0x129e56[_0x31443f(0x105)][_0x31443f(0x107)](_0x400eea=>{const _0x2f432a=_0x31443f,_0x2c9796=_0x14b3b8[_0x2f432a(0x10f)](_0x400eea['type'],_0x14b3b8['eOaNL'])&&!_0x400eea[_0x2f432a(0x111)]&&_0x14b3b8['ttGdf'](_0x400eea[_0x2f432a(0xd9)],_0x14b3b8[_0x2f432a(0xd5)])&&_0x14b3b8[_0x2f432a(0x10f)](_0x400eea[_0x2f432a(0xd9)],_0x14b3b8[_0x2f432a(0xf7)])&&!_0x400eea[_0x2f432a(0xcc)];return _0x2c9796;});return _0x2fcff2[_0x31443f(0x10b)](_0x3063a9);};
1
+ const a31_0x3117bb=a31_0x4d74;function a31_0x1d79(){const _0x179978=['getTestEnv','1958160FezxEP','__cloud_provider___','getPlatform','reduce','forEach','hook','split','hflPU','getSession','_afterEach','ufDpO','toISOString','Vyimx','AvIqX','getBrowserName','YvKGP','10GIhTJV','concat','sendPlatformDetails','../../../helpers/helper','dcrTI','iVEDY','62373BlXGOi','mapTestHooks','JOwQI','375384hrQMAV','tAROo','substring','EBosu','jNAFn','RpCCw','indexOf','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','emit','_beforeAll','push','parent','_beforeEach','slice','9kixWJK','zxkxp','10kZRQtV','BVKfp','AhZbF','../../../helpers/test-observability/utils','filter','getCapabilities','dEfPA','drNNh','mEFhv','fromEntries','bs:addPlatformDetails:','ffmEQ','_afterAll','1226230QQrWyJ','getHookSkippedTests','tests','pid','LviHg','map_','suites','getHooksForTest','vOVng','generic','vpAca','failed','TEST_PLATFORM','wakvq','../../../helpers/testhub/utils','string','OMQgd','hookAnalyticsId','KzfcY','type','state','297584zoXfyv','174710ZXVmNn','markedStatus','getBrowserVersion','passed','lodash','../../../helpers/test-observability/constants','CkqIU','dsQNC','../../utils/logPatcher','GWCxs','RczfP','1800526GRoLvl'];a31_0x1d79=function(){return _0x179978;};return a31_0x1d79();}function a31_0x4d74(_0x20b017,_0x4db4ed){const _0x1d793f=a31_0x1d79();return a31_0x4d74=function(_0x4d74c0,_0x4e364c){_0x4d74c0=_0x4d74c0-0xbd;let _0x55c274=_0x1d793f[_0x4d74c0];return _0x55c274;},a31_0x4d74(_0x20b017,_0x4db4ed);}(function(_0x40cf85,_0x50cc16){const _0x5d7761=a31_0x4d74,_0x18802e=_0x40cf85();while(!![]){try{const _0x4e6918=-parseInt(_0x5d7761(0xda))/0x1+-parseInt(_0x5d7761(0xf7))/0x2*(parseInt(_0x5d7761(0xfd))/0x3)+-parseInt(_0x5d7761(0xd9))/0x4*(parseInt(_0x5d7761(0x110))/0x5)+-parseInt(_0x5d7761(0x100))/0x6+parseInt(_0x5d7761(0xe5))/0x7+parseInt(_0x5d7761(0xe7))/0x8*(parseInt(_0x5d7761(0x10e))/0x9)+parseInt(_0x5d7761(0xc4))/0xa;if(_0x4e6918===_0x50cc16)break;else _0x18802e['push'](_0x18802e['shift']());}catch(_0x4b20b6){_0x18802e['push'](_0x18802e['shift']());}}}(a31_0x1d79,0x20dbe));const {v4:uuidv4}=require('uuid'),{name,version}=require('../../../../package.json'),logPatcher=require(a31_0x3117bb(0xe2)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x3117bb(0x113)),{consoleHolder}=require(a31_0x3117bb(0xdf)),{getPlatformVersion}=require(a31_0x3117bb(0xfa)),{shouldProcessEventForTesthub}=require(a31_0x3117bb(0xd2)),{isFunction}=require(a31_0x3117bb(0xde)),{patchConsoleLogger}=require(a31_0x3117bb(0x113));patchConsoleLogger(),exports[a31_0x3117bb(0xe6)]=()=>{const _0x1a5497=a31_0x3117bb,_0x33d367={'JOwQI':_0x1a5497(0xcd),'dsQNC':function(_0x2cf128){return _0x2cf128();}};return{'ci':_0x33d367[_0x1a5497(0xff)],'key':_0x33d367[_0x1a5497(0xe1)](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0xbe6621=>{const _0x1c6b38=a31_0x3117bb,_0x2930c4={};_0x2930c4['CkqIU']=function(_0x167621,_0x21c188){return _0x167621!==_0x21c188;},_0x2930c4['ForJl']=_0x1c6b38(0xd3),_0x2930c4['RczfP']=function(_0x5a5426,_0x3209b0){return _0x5a5426!==_0x3209b0;},_0x2930c4[_0x1c6b38(0xd4)]='hook:',_0x2930c4[_0x1c6b38(0xc8)]=function(_0x1303ef,_0x4b34ab){return _0x1303ef!==_0x4b34ab;},_0x2930c4['hflPU']=_0x1c6b38(0xec);const _0x22f6d7=_0x2930c4;if(!_0xbe6621||_0x22f6d7[_0x1c6b38(0xe0)](typeof _0xbe6621,_0x22f6d7['ForJl']))return[null,null];if(_0x22f6d7[_0x1c6b38(0xe4)](_0xbe6621['indexOf'](_0x22f6d7['OMQgd']),-0x1)){const _0x5f4e1a=_0xbe6621[_0x1c6b38(0xed)](_0x22f6d7[_0x1c6b38(0xd4)]);return[_0x5f4e1a[0x0][_0x1c6b38(0x10d)](0x0,-0x1)['split']('\x22')[0x1],_0x5f4e1a[0x1][_0x1c6b38(0x102)](0x1)];}else{if(_0x22f6d7[_0x1c6b38(0xc8)](_0xbe6621[_0x1c6b38(0x106)](_0x22f6d7[_0x1c6b38(0xee)]),-0x1)){const _0x2d524f=_0xbe6621[_0x1c6b38(0xed)](_0x22f6d7[_0x1c6b38(0xee)]);return[_0x2d524f[0x0][_0x1c6b38(0x10d)](0x0,-0x1)[_0x1c6b38(0xed)]('\x22')[0x1],_0xbe6621];}}return[null,null];},exports[a31_0x3117bb(0xcb)]=_0x252d8c=>{const _0x37331f=a31_0x3117bb,_0x4457d5={'bGwoB':function(_0x1ddcfd,_0x15efac){return _0x1ddcfd(_0x15efac);},'ufDpO':_0x37331f(0x109),'wakvq':'_afterAll','jNAFn':_0x37331f(0x10c),'tAROo':_0x37331f(0xf0)};if(!_0x252d8c||!_0x252d8c[_0x37331f(0x10b)])return[];const _0x50ee89=[];return[_0x4457d5[_0x37331f(0xf1)],_0x4457d5[_0x37331f(0xd1)],_0x4457d5[_0x37331f(0x104)],_0x4457d5[_0x37331f(0x101)]][_0x37331f(0xeb)](_0x5e42d7=>{const _0x10bd11=_0x37331f,_0x5c1056={'vOVng':function(_0x3034de,_0x29870f){return _0x4457d5['bGwoB'](_0x3034de,_0x29870f);}},_0x211d59=_0x252d8c[_0x10bd11(0x10b)][_0x5e42d7]||[];_0x211d59['forEach'](_0x4bafc2=>{const _0x2226ed=_0x10bd11;_0x4bafc2[_0x2226ed(0xd5)]&&!_0x5c1056[_0x2226ed(0xcc)](isInternalHook,_0x4bafc2['fn'])&&_0x50ee89[_0x2226ed(0x10a)](_0x4bafc2[_0x2226ed(0xd5)]);});}),[..._0x50ee89,...exports['getHooksForTest'](_0x252d8c[_0x37331f(0x10b)])];},exports[a31_0x3117bb(0xfe)]=_0x240da6=>{const _0x30eaff=a31_0x3117bb,_0x1d0cdb={'BVKfp':function(_0x54e272){return _0x54e272();},'JTXBf':function(_0x41097b,_0x29c798){return _0x41097b===_0x29c798;},'AhZbF':_0x30eaff(0xf0),'dcrTI':function(_0x1f3737){return _0x1f3737();},'NCqvs':_0x30eaff(0x109),'GWCxs':_0x30eaff(0xc3),'RpCCw':_0x30eaff(0x10c)};if(!_0x240da6||!_0x240da6[_0x30eaff(0x10b)])return;[_0x1d0cdb['NCqvs'],_0x1d0cdb[_0x30eaff(0xe3)],_0x1d0cdb[_0x30eaff(0x105)],_0x1d0cdb['AhZbF']][_0x30eaff(0xeb)](_0x2fafc7=>{const _0x225188=_0x30eaff,_0x567b6a={'dEfPA':function(_0x2d746c){const _0x4972fb=a31_0x4d74;return _0x1d0cdb[_0x4972fb(0x111)](_0x2d746c);},'EBosu':function(_0x52a485,_0x34e058){return _0x1d0cdb['JTXBf'](_0x52a485,_0x34e058);},'ffmEQ':_0x1d0cdb[_0x225188(0x112)],'GTPJk':function(_0x32e45b){const _0x317cca=_0x225188;return _0x1d0cdb[_0x317cca(0xfb)](_0x32e45b);}},_0x549c4f=_0x240da6[_0x225188(0x10b)][_0x2fafc7]||[];_0x549c4f['forEach'](_0x1ce67a=>{const _0x8b75ec=_0x225188;if(!_0x1ce67a[_0x8b75ec(0xd5)])_0x1ce67a[_0x8b75ec(0xd5)]=_0x567b6a[_0x8b75ec(0xbd)](uuidv4);else _0x1ce67a[_0x8b75ec(0xdb)]&&_0x567b6a[_0x8b75ec(0x103)](_0x2fafc7,_0x567b6a[_0x8b75ec(0xc2)])&&(_0x1ce67a[_0x8b75ec(0xd5)]=_0x567b6a['GTPJk'](uuidv4),delete _0x1ce67a[_0x8b75ec(0xdb)]);});}),exports[_0x30eaff(0xfe)](_0x240da6[_0x30eaff(0x10b)]);},exports[a31_0x3117bb(0xf9)]=async(_0x26aeb1,_0x55dfcf)=>{const _0x91d011=a31_0x3117bb,_0x1b5148={'YQMvn':function(_0x400c58){return _0x400c58();},'drNNh':function(_0x557472,_0x3435c8){return _0x557472(_0x3435c8);},'AKDtc':function(_0x4b1c6e,_0xfc05ce){return _0x4b1c6e(_0xfc05ce);},'cKILR':function(_0x485ea0,_0x236216){return _0x485ea0===_0x236216;},'pHmnC':'browserstack','iVEDY':'unknown_grid','vpAca':_0x91d011(0xd0)};try{if(!_0x1b5148['YQMvn'](shouldProcessEventForTesthub))return;const _0x1378b0=await _0x26aeb1[_0x91d011(0x115)](),_0x29d7a6=await _0x26aeb1[_0x91d011(0xef)](),_0x34bb7f={},_0x103fd2=Object[_0x91d011(0xc0)](_0x29d7a6['getCapabilities']()[_0x91d011(0xc9)]),_0xe98d86={'product':_0x1b5148[_0x91d011(0xbe)](getObservabilityLinkedProductName,_0x103fd2),'capabilities':_0x103fd2,'platform':_0x1378b0[_0x91d011(0xe9)](),'platform_version':_0x1b5148['AKDtc'](getPlatformVersion,_0x1b5148['cKILR'](global[_0x91d011(0xe8)],_0x1b5148['pHmnC'])),'browser':_0x1378b0[_0x91d011(0xf5)](),'browser_version':_0x1378b0[_0x91d011(0xdc)](),'session_id':_0x29d7a6['toJSON']()};global[_0x91d011(0xe8)]?_0x34bb7f[global[_0x91d011(0xe8)]]=_0xe98d86:_0x34bb7f[_0x1b5148[_0x91d011(0xfc)]]=_0xe98d86,process[_0x91d011(0x108)](_0x91d011(0xc1)+process[_0x91d011(0xc7)],{'timestamp':new Date()[_0x91d011(0xf2)](),'level':null,'message':null,'kind':_0x1b5148[_0x91d011(0xce)],'http_response':_0x34bb7f,'uuid':_0x55dfcf});}catch(_0x2fbb10){_0x1b5148[_0x91d011(0xbe)](debug,_0x91d011(0x107)+_0x2fbb10);}},exports['getHookSkippedTests']=_0x4bfaef=>{const _0x9fbfd=a31_0x3117bb,_0x4c2b28={};_0x4c2b28[_0x9fbfd(0x10f)]=function(_0x1351a1,_0x2e2a58){return _0x1351a1!==_0x2e2a58;},_0x4c2b28[_0x9fbfd(0xf6)]='hook',_0x4c2b28[_0x9fbfd(0xd6)]=function(_0xa46e56,_0x4e5747){return _0xa46e56!==_0x4e5747;},_0x4c2b28[_0x9fbfd(0xf4)]=_0x9fbfd(0xdd),_0x4c2b28['Vyimx']=function(_0x59bb72,_0x31c64e){return _0x59bb72!==_0x31c64e;},_0x4c2b28['mEFhv']=_0x9fbfd(0xcf);const _0x435a23=_0x4c2b28,_0x1272f6=_0x4bfaef[_0x9fbfd(0xca)][_0x9fbfd(0xea)]((_0x2ecb58,_0x3ab01e)=>{const _0x4685ca=_0x9fbfd,_0x1b94fa=exports[_0x4685ca(0xc5)](_0x3ab01e);return _0x1b94fa&&(_0x2ecb58=_0x2ecb58[_0x4685ca(0xf8)](_0x1b94fa)),_0x2ecb58;},[]),_0x38564c=_0x4bfaef[_0x9fbfd(0xc6)][_0x9fbfd(0x114)](_0x5a9310=>{const _0x48debb=_0x9fbfd,_0x13aa77=_0x435a23['zxkxp'](_0x5a9310[_0x48debb(0xd7)],_0x435a23[_0x48debb(0xf6)])&&!_0x5a9310[_0x48debb(0xdb)]&&_0x435a23['KzfcY'](_0x5a9310[_0x48debb(0xd8)],_0x435a23['AvIqX'])&&_0x435a23[_0x48debb(0xf3)](_0x5a9310[_0x48debb(0xd8)],_0x435a23[_0x48debb(0xbf)])&&!_0x5a9310['pending'];return _0x13aa77;});return _0x38564c[_0x9fbfd(0xf8)](_0x1272f6);};
@@ -1 +1 @@
1
- const a32_0x42eeb6=a32_0x2cfb;function a32_0x2cfb(_0x25bbfb,_0xf24e1d){const _0x174e9e=a32_0x174e();return a32_0x2cfb=function(_0x2cfbf1,_0x5c814d){_0x2cfbf1=_0x2cfbf1-0x95;let _0x3a7d95=_0x174e9e[_0x2cfbf1];return _0x3a7d95;},a32_0x2cfb(_0x25bbfb,_0xf24e1d);}(function(_0x3fffac,_0x1cdbe8){const _0x5708aa=a32_0x2cfb,_0x5e64c4=_0x3fffac();while(!![]){try{const _0x1aa8d1=-parseInt(_0x5708aa(0xbd))/0x1*(-parseInt(_0x5708aa(0xd7))/0x2)+parseInt(_0x5708aa(0xa8))/0x3*(parseInt(_0x5708aa(0x133))/0x4)+parseInt(_0x5708aa(0x136))/0x5+-parseInt(_0x5708aa(0x129))/0x6+parseInt(_0x5708aa(0x134))/0x7+-parseInt(_0x5708aa(0x121))/0x8*(-parseInt(_0x5708aa(0xa4))/0x9)+parseInt(_0x5708aa(0xf5))/0xa*(-parseInt(_0x5708aa(0x12d))/0xb);if(_0x1aa8d1===_0x1cdbe8)break;else _0x5e64c4['push'](_0x5e64c4['shift']());}catch(_0x451a5d){_0x5e64c4['push'](_0x5e64c4['shift']());}}}(a32_0x174e,0x2f68c));const util=require(a32_0x42eeb6(0xe0)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0x42eeb6(0x9e)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a32_0x42eeb6(0x13f)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x42eeb6(0xc4)),scripts=require(a32_0x42eeb6(0x12c)),globals=require(a32_0x42eeb6(0xa6)),logger=require(a32_0x42eeb6(0x113))[a32_0x42eeb6(0x10a)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a32_0x42eeb6(0x97));exports[a32_0x42eeb6(0xd1)]={'beforeAll'(){const _0x5b78a4=a32_0x42eeb6,_0x573af3={'AlpWo':function(_0x36080f,_0x3bcc15,_0x547686,_0x57569d){return _0x36080f(_0x3bcc15,_0x547686,_0x57569d);},'SgMcA':'failed','PBcTq':_0x5b78a4(0xb3),'fuekh':function(_0x2dc5d3,_0x309ded,_0x542fe0){return _0x2dc5d3(_0x309ded,_0x542fe0);},'qpCGQ':_0x5b78a4(0xf9),'AwUjo':function(_0xf657a4){return _0xf657a4();},'ADkaq':function(_0x2b55f3,_0x101d32,_0x592e9d){return _0x2b55f3(_0x101d32,_0x592e9d);},'oslqS':_0x5b78a4(0x9a),'pNtHS':_0x5b78a4(0xb0)};PerformanceTester[_0x5b78a4(0xd9)]();const _0x2489cd='browserstack internal helper hook';PerformanceTester[_0x5b78a4(0x120)](PerformanceSdkEvents[_0x5b78a4(0xfa)],()=>{const _0x2645e2=_0x5b78a4,_0x434b3d={'iiCav':function(_0x28ad1b,_0x8c5fc4,_0x530b19,_0x166c66){const _0x5bf36a=a32_0x2cfb;return _0x573af3[_0x5bf36a(0xf0)](_0x28ad1b,_0x8c5fc4,_0x530b19,_0x166c66);},'DNzzj':_0x573af3[_0x2645e2(0xc6)],'xpRfC':_0x573af3[_0x2645e2(0x135)],'aARTl':function(_0x475c12,_0x5dd724,_0x4a14c5){const _0x413229=_0x2645e2;return _0x573af3[_0x413229(0xe6)](_0x475c12,_0x5dd724,_0x4a14c5);},'asWYR':_0x573af3[_0x2645e2(0xcd)],'wigrF':function(_0x2f2cb0){const _0x25b4ca=_0x2645e2;return _0x573af3[_0x25b4ca(0xe7)](_0x2f2cb0);},'AsAhz':function(_0x4b7416,_0x3d71d8,_0x3884d5){const _0x5059ae=_0x2645e2;return _0x573af3[_0x5059ae(0x128)](_0x4b7416,_0x3d71d8,_0x3884d5);}};global['__error_messages__']=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0xebbb34=_0x2645e2;let _0x38b6d2=![];try{await global[_0xebbb34(0x108)][0x0]['session_'],_0x38b6d2=!![],global['__sessionFailed']?await _0x434b3d['iiCav'](markSessionStatus,global[_0xebbb34(0x108)][0x0],_0x434b3d[_0xebbb34(0xe2)],global[_0xebbb34(0xe4)][_0xebbb34(0xdc)](_0x434b3d['xpRfC'])):await _0x434b3d[_0xebbb34(0x132)](markSessionStatus,global['__drivers'][0x0],_0x434b3d['asWYR']);}catch(_0x32a5e5){logger[_0xebbb34(0x127)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x32a5e5);}global['__error_messages__']=[],global[_0xebbb34(0x11c)]=![];if(_0x38b6d2)try{try{_0x434b3d['wigrF'](shouldProcessEventForTesthub)&&(global[_0xebbb34(0x108)][0x0]&&await _0x434b3d[_0xebbb34(0xec)](sendPlatformDetails,global['__drivers'][0x0],this[_0xebbb34(0xe1)]?this[_0xebbb34(0xe1)][_0xebbb34(0x112)]:null));}catch(_0x2fbde7){logger[_0xebbb34(0x127)](_0xebbb34(0x13a)+_0x2fbde7);}await global[_0xebbb34(0x108)][0x0]['initQuit']();}catch(_0x51db3d){logger[_0xebbb34(0x127)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x51db3d);}};},{'platform':_0x573af3['ADkaq'](nestedKeyValue,global[_0x5b78a4(0xfc)],[_0x573af3[_0x5b78a4(0xcf)]]),'hookType':_0x573af3[_0x5b78a4(0xce)]})();},'beforeEach'(_0x4e4480){const _0x13326b=a32_0x42eeb6,_0x6098c9={'uWBke':function(_0x5a527a,_0x24cb50){return _0x5a527a>_0x24cb50;},'UcVNP':_0x13326b(0xc9),'VuOoI':function(_0x5c003b,_0x3eb13b,_0x3d735c){return _0x5c003b(_0x3eb13b,_0x3d735c);},'HDlez':_0x13326b(0xfb),'qzLTG':function(_0xbefcc0){return _0xbefcc0();},'pncjm':function(_0x3da1dc,_0x3dab3e){return _0x3da1dc>_0x3dab3e;},'cdKUi':_0x13326b(0x111),'JYfYf':function(_0x182d6a,_0x4f7d05){return _0x182d6a===_0x4f7d05;},'zPBFK':_0x13326b(0xf7),'DGVbp':_0x13326b(0xdf),'qQSVx':_0x13326b(0xf6),'GdXhN':_0x13326b(0xf2),'uNOFw':function(_0x1817b9){return _0x1817b9();},'UGQAt':_0x13326b(0x12b),'NniMe':function(_0x3fb236,_0x5d24d7,_0x12257e){return _0x3fb236(_0x5d24d7,_0x12257e);},'fdwop':'index','DJFMY':_0x13326b(0xc7)};globals[_0x13326b(0x10e)](_0x6098c9['UGQAt'],this['currentTest'][_0x13326b(0xa7)]()[_0x13326b(0xdc)](_0x6098c9[_0x13326b(0xd2)])),PerformanceTester[_0x13326b(0x120)](PerformanceSdkEvents[_0x13326b(0xfa)],()=>{const _0x338403='browserstack internal helper hook';new Promise(async _0x57694b=>{const _0x42d89d=a32_0x2cfb;let _0x5a0499=!![];try{_0x6098c9[_0x42d89d(0xdd)](global['__drivers'][_0x42d89d(0x105)],0x1)&&(await global['driverCleanup'](),global[_0x42d89d(0x108)][_0x42d89d(0xb1)]()),_0x6098c9[_0x42d89d(0xdd)](global['__drivers'][0x0][_0x42d89d(0x13c)],0x0)&&(_0x5a0499=![],await global[_0x42d89d(0x138)]());}catch(_0x20c866){logger[_0x42d89d(0x127)](_0x42d89d(0xa3)+_0x20c866);}try{Array['isArray'](global[_0x42d89d(0x108)])&&global[_0x42d89d(0x108)][0x0]&&(global[_0x42d89d(0x108)][0x0][_0x42d89d(0x10c)]=this[_0x42d89d(0xe1)][_0x42d89d(0xa7)]()[_0x42d89d(0xdc)](_0x6098c9['UcVNP'])),global[_0x42d89d(0x10c)]=this[_0x42d89d(0xe1)][_0x42d89d(0xa7)]()['join'](_0x6098c9[_0x42d89d(0xd2)]);}catch(_0x13d57e){logger[_0x42d89d(0x127)](_0x42d89d(0x123)+_0x13d57e);}this['currentTest']['shouldScanTestForAccessibility']=_0x6098c9[_0x42d89d(0x96)](shouldScanTestForAccessibility,this[_0x42d89d(0xe1)][_0x42d89d(0xa7)](),!![]),globals['setGlobal'](_0x6098c9[_0x42d89d(0xbb)],this[_0x42d89d(0xe1)][_0x42d89d(0xe8)]),this[_0x42d89d(0xe1)][_0x42d89d(0xb5)]=!![];if(_0x6098c9[_0x42d89d(0xaa)](isAccessibilityAutomationSession)&&_0x5a0499&&Array[_0x42d89d(0x9c)](global[_0x42d89d(0x108)])&&_0x6098c9[_0x42d89d(0x119)](global['__drivers'][_0x42d89d(0x105)],0x0)&&globals[_0x42d89d(0xa1)](_0x6098c9[_0x42d89d(0xcb)]))try{const _0xa7e545=await global[_0x42d89d(0x108)][0x0][_0x42d89d(0x141)];if(_0xa7e545){let _0x47cda4=!![];const _0x3973fc=await global[_0x42d89d(0x108)][0x0]['getCurrentUrl']();let _0x42e6e7;try{_0x42e6e7=new URL(_0x3973fc);}catch(_0x436410){_0x47cda4=![];}_0x47cda4=_0x6098c9['JYfYf'](_0x42e6e7[_0x42d89d(0x106)],_0x6098c9['zPBFK'])||_0x6098c9[_0x42d89d(0x130)](_0x42e6e7[_0x42d89d(0x106)],_0x6098c9[_0x42d89d(0x11d)]),_0x47cda4&&(this[_0x42d89d(0xe1)][_0x42d89d(0xe8)]&&logger[_0x42d89d(0x9b)](_0x6098c9['qQSVx'])),this[_0x42d89d(0xe1)][_0x42d89d(0xb5)]=this['currentTest'][_0x42d89d(0xe8)],this[_0x42d89d(0xe1)][_0x42d89d(0xe8)]&&logger[_0x42d89d(0x9b)](_0x6098c9[_0x42d89d(0x98)]);}}catch(_0x37a94f){logger['error'](_0x42d89d(0xc1)+util[_0x42d89d(0x10d)](_0x37a94f));}_0x6098c9[_0x42d89d(0xaa)](_0x57694b);})['then'](()=>{_0x6098c9['uNOFw'](_0x4e4480);});},{'platform':_0x6098c9[_0x13326b(0xc0)](nestedKeyValue,global[_0x13326b(0xfc)],[_0x6098c9[_0x13326b(0xea)]]),'hookType':_0x6098c9[_0x13326b(0x10f)]})();},'afterEach'(_0xac0908){const _0x31c29f=a32_0x42eeb6,_0x59d073={'tRJaU':function(_0x454322,_0xb6e981){return _0x454322>_0xb6e981;},'eXLdP':function(_0x9b4217,_0x2ee293){return _0x9b4217===_0x2ee293;},'TYaAs':_0x31c29f(0xca),'HtrQq':function(_0x25e565,_0x3e18cd){return _0x25e565>_0x3e18cd;},'HZSNK':_0x31c29f(0xd3),'GjVdr':function(_0x422219,_0x23ce22,_0x4a7c4c,_0x5db907){return _0x422219(_0x23ce22,_0x4a7c4c,_0x5db907);},'VUWvp':_0x31c29f(0x111),'lLmxI':_0x31c29f(0xfb),'srsHg':_0x31c29f(0x12e),'spbET':_0x31c29f(0xb4),'tnULj':_0x31c29f(0x13d),'Tivwb':_0x31c29f(0x13e),'JCjOc':function(_0x1a445c){return _0x1a445c();},'SJlYh':function(_0x56bdb7,_0x202739,_0x38066f){return _0x56bdb7(_0x202739,_0x38066f);},'MiBRn':function(_0x285a50){return _0x285a50();},'JfpeR':function(_0x172ec5,_0x1aa8dd,_0x27686b){return _0x172ec5(_0x1aa8dd,_0x27686b);},'UYfuH':_0x31c29f(0x127),'zFHkz':function(_0x14f613){return _0x14f613();},'XnMNq':_0x31c29f(0xc9),'AhJwT':function(_0xb945e6,_0x506d9a){return _0xb945e6!==_0x506d9a;},'nSagP':'passed','GaVqG':function(_0x3ddf62,_0x467edf){return _0x3ddf62+_0x467edf;},'RaVZH':'Failed:\x20','iVicw':_0x31c29f(0xee),'JSoHE':_0x31c29f(0xa0),'ugnRE':_0x31c29f(0x9b),'qVtdU':_0x31c29f(0x9a),'vBCAg':'afterEach'},_0x3a45e7='browserstack internal helper hook';this[_0x31c29f(0xff)](0xfde8),global[_0x31c29f(0x9f)]=this[_0x31c29f(0xe1)]['titlePath']()[_0x31c29f(0xdc)](_0x59d073['XnMNq']),PerformanceTester[_0x31c29f(0x120)](PerformanceSdkEvents[_0x31c29f(0xfa)],()=>{const _0x4d5fe4=_0x31c29f,_0x1f620d={'NloNe':_0x59d073[_0x4d5fe4(0xe3)],'TGcOs':function(_0x3fed4d,_0x1cc2c7){const _0x50b403=_0x4d5fe4;return _0x59d073[_0x50b403(0xf3)](_0x3fed4d,_0x1cc2c7);},'TcZFJ':_0x59d073[_0x4d5fe4(0x100)],'XlZtR':function(_0x328343,_0x225fd4,_0xac958f){const _0x34ecc2=_0x4d5fe4;return _0x59d073[_0x34ecc2(0xb2)](_0x328343,_0x225fd4,_0xac958f);},'CQtMg':function(_0x2208e2,_0x3c25b5){const _0x512406=_0x4d5fe4;return _0x59d073[_0x512406(0xf8)](_0x2208e2,_0x3c25b5);},'iJSVK':_0x59d073[_0x4d5fe4(0xb6)],'QppqZ':_0x59d073[_0x4d5fe4(0x114)],'NlZef':function(_0x353200,_0x7def84,_0x2932e9){const _0x3f5796=_0x4d5fe4;return _0x59d073[_0x3f5796(0xb2)](_0x353200,_0x7def84,_0x2932e9);},'sZjpS':_0x59d073[_0x4d5fe4(0x131)],'xdEKS':_0x59d073[_0x4d5fe4(0x9d)]},_0x4edb38=async(_0x237ec6,_0x4fb90c)=>{const _0x1fdce3=_0x4d5fe4;await global[_0x1fdce3(0x108)][0x0][_0x1fdce3(0xd4)](_0x1fdce3(0xd0)+_0x237ec6+_0x1fdce3(0x107)+_0x4fb90c+'\x22}}');};new Promise(async _0x5180af=>{const _0x33fa80=_0x4d5fe4;try{_0x59d073[_0x33fa80(0xbf)](global['__drivers'][_0x33fa80(0x105)],0x1)&&(await global[_0x33fa80(0x138)](),global[_0x33fa80(0x108)][_0x33fa80(0xb1)](),global[_0x33fa80(0xe4)]=[],global[_0x33fa80(0x11c)]=![]);try{if(global[_0x33fa80(0xbe)]&&_0x59d073[_0x33fa80(0x95)](global[_0x33fa80(0xd8)],_0x59d073['TYaAs'])&&global[_0x33fa80(0x108)][0x0]){const _0x55b31d=_0x59d073[_0x33fa80(0x110)](global[_0x33fa80(0xc2)][_0x33fa80(0x105)],0x0)?!!global[_0x33fa80(0xc2)][0x0][_0x33fa80(0x11a)]||!!global['capabilities'][0x0][_0x59d073[_0x33fa80(0xfe)]]:![],_0x42d6cd={};_0x42d6cd[_0x33fa80(0x11a)]=_0x55b31d,await _0x59d073['GjVdr'](percyAutoCapture,global[_0x33fa80(0x108)][0x0],_0x59d073[_0x33fa80(0x12a)],_0x42d6cd);}}catch(_0xbe7bf4){logger[_0x33fa80(0x127)](_0x33fa80(0xa5)+_0xbe7bf4);}!global[_0x33fa80(0xd6)]&&(await PerformanceTester[_0x33fa80(0x120)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0xc6b986=_0x33fa80;await global[_0xc6b986(0x108)][0x0][_0xc6b986(0xd4)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON['stringify'](this[_0xc6b986(0xe1)][_0xc6b986(0xa7)]()[_0xc6b986(0xdc)](_0x1f620d[_0xc6b986(0xef)]))+'}}');})(),global[_0x33fa80(0x108)][0x0][_0x33fa80(0x122)]=!![]),await PerformanceTester[_0x33fa80(0x120)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x3a7941=_0x33fa80,_0x19a1d9=_0x1f620d[_0x3a7941(0x104)](this['currentTest'][_0x3a7941(0xba)],_0x1f620d[_0x3a7941(0xa2)]);_0x19a1d9?(global['__sessionFailed']=!![],global[_0x3a7941(0xe4)]['push'](this['currentTest'][_0x3a7941(0xac)]['message']),await _0x1f620d[_0x3a7941(0xc5)](_0x4edb38,JSON[_0x3a7941(0xeb)](_0x1f620d[_0x3a7941(0xe9)](_0x1f620d[_0x3a7941(0xae)],this['currentTest'][_0x3a7941(0xac)][_0x3a7941(0xb8)])),_0x1f620d[_0x3a7941(0xc8)])):await _0x1f620d[_0x3a7941(0xad)](_0x4edb38,JSON[_0x3a7941(0xeb)](_0x1f620d[_0x3a7941(0x103)]),_0x1f620d[_0x3a7941(0x124)]);})();}catch(_0x363355){logger[_0x33fa80(0x127)](_0x33fa80(0xed)+_0x363355);}try{if(this[_0x33fa80(0xe1)][_0x33fa80(0xb5)]&&globals['getGlobal'](_0x59d073[_0x33fa80(0x139)])&&globals[_0x33fa80(0xa1)](_0x59d073[_0x33fa80(0xcc)])){logger[_0x33fa80(0x9b)](_0x59d073[_0x33fa80(0x118)]);const _0x2debeb={};_0x2debeb[_0x33fa80(0xb7)]=this[_0x33fa80(0xe1)][_0x33fa80(0x112)],_0x2debeb['thBuildUuid']=process[_0x33fa80(0x99)][testHubConstants[_0x33fa80(0x11e)][_0x33fa80(0xde)]],_0x2debeb[_0x33fa80(0x116)]=process['env'][testHubConstants[_0x33fa80(0x11e)][_0x33fa80(0xaf)]];const _0x5c64f3=_0x2debeb;logger[_0x33fa80(0x127)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x33fa80(0xeb)](_0x5c64f3)),logger['debug'](_0x59d073[_0x33fa80(0x109)]);const _0x1ea52c={};_0x1ea52c[_0x33fa80(0xdb)]=_0x59d073[_0x33fa80(0x13b)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x33fa80(0xd5)],async()=>{const _0x2e88bd=_0x33fa80;logger[_0x2e88bd(0x127)](util[_0x2e88bd(0x10d)](await global[_0x2e88bd(0x108)][0x0][_0x2e88bd(0x102)](scripts['performScan'],{'method':global[_0x2e88bd(0x10c)]})));},_0x1ea52c)(),await PerformanceTester[_0x33fa80(0x120)](PerformanceA11yEvents[_0x33fa80(0xab)],async()=>{const _0x12b32d=_0x33fa80;await global[_0x12b32d(0x108)][0x0]['executeAsyncScript'](scripts[_0x12b32d(0x12f)],_0x5c64f3);})(),logger[_0x33fa80(0x9b)](_0x59d073[_0x33fa80(0x10b)]);}}catch(_0x51c1d6){logger[_0x33fa80(0xee)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this['currentTest'][_0x33fa80(0xa7)]()+_0x33fa80(0xa9),_0x51c1d6);}try{try{if(_0x59d073['JCjOc'](shouldProcessEventForTesthub)){global[_0x33fa80(0x108)][0x0]&&await _0x59d073[_0x33fa80(0xf4)](sendPlatformDetails,global[_0x33fa80(0x108)][0x0],this[_0x33fa80(0xe1)]?this['currentTest'][_0x33fa80(0x112)]:null);if(_0x59d073[_0x33fa80(0x115)](isBrowserstackInfra)){PerformanceTester[_0x33fa80(0xe5)](PerformanceO11yEvents[_0x33fa80(0x101)]);const _0x980650=_0x33fa80(0x142)+Date['now']();await _0x59d073[_0x33fa80(0xb2)](_0x4edb38,JSON[_0x33fa80(0xeb)](_0x980650),_0x59d073[_0x33fa80(0x11b)]),PerformanceTester['end'](PerformanceO11yEvents[_0x33fa80(0x101)]);}}}catch(_0x4e992f){logger[_0x33fa80(0x127)](_0x33fa80(0x125)+_0x4e992f),PerformanceTester[_0x33fa80(0xda)](PerformanceO11yEvents['SYNC'],![],_0x4e992f);}_0x59d073[_0x33fa80(0x110)](global[_0x33fa80(0x108)][0x0][_0x33fa80(0x13c)],0x0)&&await global[_0x33fa80(0x138)]();}catch(_0x2fcd3b){logger['debug'](_0x33fa80(0xa3)+_0x2fcd3b);}_0x59d073[_0x33fa80(0x126)](_0x5180af);})[_0x4d5fe4(0xc3)](()=>{const _0x511641=_0x4d5fe4;_0x59d073[_0x511641(0x11f)](_0xac0908);});},{'platform':_0x59d073[_0x31c29f(0xf4)](nestedKeyValue,global[_0x31c29f(0xfc)],[_0x59d073['qVtdU']]),'hookType':_0x59d073[_0x31c29f(0xfd)]})();},'afterAll'(_0xee8474){const _0xff4c7b=a32_0x42eeb6,_0x2697b4={'koBEx':function(_0x110230){return _0x110230();},'QnWnm':function(_0x1bab7e,_0x3c65fa,_0x2e087a){return _0x1bab7e(_0x3c65fa,_0x2e087a);},'iOwVE':_0xff4c7b(0x9a),'vAxLY':_0xff4c7b(0xbc)},_0x422e83='browserstack internal helper hook';this[_0xff4c7b(0xff)](0xfde8),PerformanceTester[_0xff4c7b(0x120)](PerformanceSdkEvents[_0xff4c7b(0xfa)],()=>{const _0xc25a7b=_0xff4c7b,_0x1d79c5={'zCtRl':function(_0x27fa85){return _0x2697b4['koBEx'](_0x27fa85);},'pVzkG':function(_0x193a48){const _0x1254f4=a32_0x2cfb;return _0x2697b4[_0x1254f4(0xf1)](_0x193a48);}};new Promise(async _0x1c589b=>{await global['driverCleanup'](),_0x1d79c5['zCtRl'](_0x1c589b);})[_0xc25a7b(0xc3)]()[_0xc25a7b(0x137)](()=>{const _0x4065da=_0xc25a7b;_0x1d79c5[_0x4065da(0x140)](_0xee8474);});},{'platform':_0x2697b4['QnWnm'](nestedKeyValue,global[_0xff4c7b(0xfc)],[_0x2697b4[_0xff4c7b(0x117)]]),'hookType':_0x2697b4[_0xff4c7b(0xb9)]})();}};function a32_0x174e(){const _0x2fb6c7=['../../helpers/performance/constants','XlZtR','SgMcA','beforeEach','QppqZ','\x20-\x20','testcase','cdKUi','lLmxI','qpCGQ','pNtHS','oslqS','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','mochaHooks','UcVNP','appium:app','executeScript','PERFORM_SCAN','__skipSessionName','230xSRloa','percyCaptureMode','startMonitoring','end','command','join','uWBke','BROWSERSTACK_TESTHUB_UUID','https:','util','currentTest','DNzzj','XnMNq','__error_messages__','start','fuekh','AwUjo','shouldScanTestForAccessibility','CQtMg','fdwop','stringify','AsAhz','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','error','NloNe','AlpWo','koBEx','Automate\x20test\x20case\x20execution\x20has\x20started.','AhJwT','SJlYh','53160KHBOXR','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','http:','GaVqG','passed','SDK_HOOK','bstackA11yShouldScan','__platformCaps','vBCAg','HZSNK','timeout','nSagP','SYNC','executeAsyncScript','sZjpS','TGcOs','length','protocol',',\x22level\x22:\x20\x22','__drivers','spbET','winstonLogger','Tivwb','browserstackSessionName','format','setGlobal','DJFMY','HtrQq','isAccessibilityPlatform','testAnalyticsId','../../helpers/logger','iVicw','MiBRn','thJwtToken','iOwVE','srsHg','pncjm','app','UYfuH','__sessionFailed','DGVbp','ENV_VAR','JCjOc','measureWrapper','109456peamRk','sessionNameSet__','Failed\x20to\x20store\x20session\x20name:\x20','xdEKS','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','zFHkz','debug','ADkaq','1230426BcKvrF','TYaAs','browserstackTestName','../../helpers/accessibility-automation/scripts','1694GFJVYV','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','saveTestResults','JYfYf','JSoHE','aARTl','4996kgiJeZ','2342109YEDsqh','PBcTq','867920dFXlbG','finally','driverCleanup','VUWvp','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','tnULj','quitCount_','afterTest','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','../../helpers/performance/performance-tester','pVzkG','session_','ObservabilitySync:','eXLdP','VuOoI','../../helpers/testhub/constants','GdXhN','env','index','info','isArray','ugnRE','../../helpers/percy/utils','sessionName','Passed','getGlobal','TcZFJ','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','108mGoqwC','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','../../helpers/globals','titlePath','861ZGuCEJ','.\x20Error\x20:','qzLTG','SAVE_RESULTS','err','NlZef','iJSVK','BROWSERSTACK_TESTHUB_JWT','beforeAll','shift','JfpeR','\x20|\x20','Performing\x20scan\x20before\x20saving\x20results','accessibilityScanStarted','RaVZH','thTestRunUuid','message','vAxLY','state','HDlez','afterAll','1627pvBzXn','percy','tRJaU','NniMe','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','capabilities','then'];a32_0x174e=function(){return _0x2fb6c7;};return a32_0x174e();}
1
+ const a32_0xc0b09=a32_0x9baf;(function(_0x5524e7,_0x556973){const _0x3b1b4b=a32_0x9baf,_0x1dac77=_0x5524e7();while(!![]){try{const _0x2d6b79=-parseInt(_0x3b1b4b(0x1cd))/0x1*(-parseInt(_0x3b1b4b(0x1ce))/0x2)+-parseInt(_0x3b1b4b(0x1ca))/0x3+parseInt(_0x3b1b4b(0x1b3))/0x4*(-parseInt(_0x3b1b4b(0x223))/0x5)+-parseInt(_0x3b1b4b(0x202))/0x6*(-parseInt(_0x3b1b4b(0x1e8))/0x7)+parseInt(_0x3b1b4b(0x264))/0x8*(-parseInt(_0x3b1b4b(0x236))/0x9)+parseInt(_0x3b1b4b(0x239))/0xa*(-parseInt(_0x3b1b4b(0x23f))/0xb)+parseInt(_0x3b1b4b(0x24c))/0xc;if(_0x2d6b79===_0x556973)break;else _0x1dac77['push'](_0x1dac77['shift']());}catch(_0x536171){_0x1dac77['push'](_0x1dac77['shift']());}}}(a32_0x4d12,0x64be4));function a32_0x9baf(_0x406e56,_0x39cc68){const _0x4d1204=a32_0x4d12();return a32_0x9baf=function(_0x9baf7a,_0x324cd4){_0x9baf7a=_0x9baf7a-0x1b1;let _0x25050b=_0x4d1204[_0x9baf7a];return _0x25050b;},a32_0x9baf(_0x406e56,_0x39cc68);}const util=require(a32_0xc0b09(0x1d3)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0xc0b09(0x203)),{percyAutoCapture}=require(a32_0xc0b09(0x1e5)),{sendPlatformDetails}=require(a32_0xc0b09(0x1f5)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a32_0xc0b09(0x1c8)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),scripts=require(a32_0xc0b09(0x22e)),globals=require(a32_0xc0b09(0x20b)),logger=require(a32_0xc0b09(0x1e4))[a32_0xc0b09(0x1b8)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a32_0xc0b09(0x1fe));exports[a32_0xc0b09(0x1df)]={'beforeAll'(){const _0x52ce1f=a32_0xc0b09,_0xb66b01={'tpEuZ':function(_0x4ee2a1,_0x360e91,_0x15d55d,_0x4a7bcb){return _0x4ee2a1(_0x360e91,_0x15d55d,_0x4a7bcb);},'CvQSc':'failed','mCFrt':_0x52ce1f(0x1c1),'NwQvW':function(_0x5117dd,_0x1e65c8,_0x16f8bb){return _0x5117dd(_0x1e65c8,_0x16f8bb);},'wcZYs':_0x52ce1f(0x243),'FqzmB':function(_0x432c05){return _0x432c05();},'SUecb':function(_0xec1929,_0x2a7de3,_0x1d1e58){return _0xec1929(_0x2a7de3,_0x1d1e58);},'ylsEZ':_0x52ce1f(0x252),'gtQiv':_0x52ce1f(0x1d6)};PerformanceTester[_0x52ce1f(0x240)]();const _0x1c35e5='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x52ce1f(0x1dc)],()=>{const _0x5a00ac=_0x52ce1f;global['__error_messages__']=[],global[_0x5a00ac(0x1cb)]=![],global[_0x5a00ac(0x25a)]=async()=>{const _0x31f527=_0x5a00ac;let _0x5e7301=![];try{await global['__drivers'][0x0]['session_'],_0x5e7301=!![],global['__sessionFailed']?await _0xb66b01[_0x31f527(0x215)](markSessionStatus,global['__drivers'][0x0],_0xb66b01[_0x31f527(0x1f1)],global[_0x31f527(0x1f6)][_0x31f527(0x1f3)](_0xb66b01[_0x31f527(0x200)])):await _0xb66b01[_0x31f527(0x1f2)](markSessionStatus,global['__drivers'][0x0],_0xb66b01[_0x31f527(0x230)]);}catch(_0x23aad8){logger[_0x31f527(0x1ee)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x23aad8);}global['__error_messages__']=[],global[_0x31f527(0x1cb)]=![];if(_0x5e7301)try{try{_0xb66b01[_0x31f527(0x247)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0xb66b01[_0x31f527(0x25d)](sendPlatformDetails,global[_0x31f527(0x1d2)][0x0],this[_0x31f527(0x261)]?this[_0x31f527(0x261)]['testAnalyticsId']:null));}catch(_0x383ba2){logger['debug'](_0x31f527(0x1c7)+_0x383ba2);}await global['__drivers'][0x0][_0x31f527(0x259)]();}catch(_0x441df0){logger[_0x31f527(0x1ee)](_0x31f527(0x1ea)+_0x441df0);}};},{'platform':_0xb66b01[_0x52ce1f(0x1f2)](nestedKeyValue,global[_0x52ce1f(0x25e)],[_0xb66b01[_0x52ce1f(0x235)]]),'hookType':_0xb66b01[_0x52ce1f(0x1cc)]})();},'beforeEach'(_0x270994){const _0x1ce7d6=a32_0xc0b09,_0x5e79cc={'YzRLp':function(_0x4d1ad0,_0x2da099){return _0x4d1ad0>_0x2da099;},'YFyBo':function(_0x58361f,_0xce8082){return _0x58361f>_0xce8082;},'TRFds':'\x20-\x20','pezWx':function(_0x598e09,_0x5e15c6,_0x1e8e50){return _0x598e09(_0x5e15c6,_0x1e8e50);},'gxkva':_0x1ce7d6(0x1ec),'OXkrO':function(_0x5379d4){return _0x5379d4();},'IAMdP':function(_0x1f930d,_0xdd061d){return _0x1f930d>_0xdd061d;},'zfuDh':_0x1ce7d6(0x20f),'suDjp':function(_0xde205e,_0x37ddd4){return _0xde205e===_0x37ddd4;},'OVWVj':'http:','ourmH':_0x1ce7d6(0x204),'BOHcT':_0x1ce7d6(0x208),'qlljn':_0x1ce7d6(0x221),'YUuRO':function(_0x1328c0){return _0x1328c0();},'OmVlW':function(_0x2dc40b){return _0x2dc40b();},'RBIFo':_0x1ce7d6(0x257),'ykxXl':function(_0x3c25b4,_0x4db313,_0x16f6e0){return _0x3c25b4(_0x4db313,_0x16f6e0);},'fiEKA':_0x1ce7d6(0x252),'jlFYf':_0x1ce7d6(0x1de)};globals[_0x1ce7d6(0x228)](_0x5e79cc['RBIFo'],this[_0x1ce7d6(0x261)]['titlePath']()[_0x1ce7d6(0x1f3)](_0x5e79cc[_0x1ce7d6(0x1bd)])),PerformanceTester[_0x1ce7d6(0x22c)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x454edb={'xmBMn':function(_0xc8e2ae){const _0xb6bfc4=a32_0x9baf;return _0x5e79cc[_0xb6bfc4(0x21c)](_0xc8e2ae);}},_0x288136='browserstack internal helper hook';new Promise(async _0x1c18ae=>{const _0x5b51fc=a32_0x9baf;let _0x143a82=!![];try{_0x5e79cc[_0x5b51fc(0x22a)](global[_0x5b51fc(0x1d2)]['length'],0x1)&&(await global[_0x5b51fc(0x25a)](),global['__drivers'][_0x5b51fc(0x1e3)]()),_0x5e79cc['YFyBo'](global[_0x5b51fc(0x1d2)][0x0][_0x5b51fc(0x1db)],0x0)&&(_0x143a82=![],await global['driverCleanup']());}catch(_0x16075e){logger[_0x5b51fc(0x1ee)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x16075e);}try{Array['isArray'](global[_0x5b51fc(0x1d2)])&&global[_0x5b51fc(0x1d2)][0x0]&&(global[_0x5b51fc(0x1d2)][0x0][_0x5b51fc(0x21d)]=this[_0x5b51fc(0x261)]['titlePath']()['join'](_0x5e79cc[_0x5b51fc(0x1bd)])),global['browserstackSessionName']=this[_0x5b51fc(0x261)][_0x5b51fc(0x207)]()['join'](_0x5e79cc[_0x5b51fc(0x1bd)]);}catch(_0x28809d){logger['debug'](_0x5b51fc(0x24d)+_0x28809d);}this[_0x5b51fc(0x261)][_0x5b51fc(0x254)]=_0x5e79cc[_0x5b51fc(0x25f)](shouldScanTestForAccessibility,this['currentTest'][_0x5b51fc(0x207)](),!![]),globals[_0x5b51fc(0x228)](_0x5e79cc[_0x5b51fc(0x256)],this[_0x5b51fc(0x261)][_0x5b51fc(0x254)]),this[_0x5b51fc(0x261)][_0x5b51fc(0x1d5)]=!![];if(_0x5e79cc[_0x5b51fc(0x1b5)](isAccessibilityAutomationSession)&&_0x143a82&&Array[_0x5b51fc(0x20c)](global['__drivers'])&&_0x5e79cc[_0x5b51fc(0x253)](global[_0x5b51fc(0x1d2)][_0x5b51fc(0x220)],0x0)&&globals['getGlobal'](_0x5e79cc[_0x5b51fc(0x206)]))try{const _0x5310d6=await global[_0x5b51fc(0x1d2)][0x0][_0x5b51fc(0x210)];if(_0x5310d6){let _0x13be70=!![];const _0x330c34=await global['__drivers'][0x0][_0x5b51fc(0x262)]();let _0x436677;try{_0x436677=new URL(_0x330c34);}catch(_0x50c09c){_0x13be70=![];}_0x13be70=_0x5e79cc[_0x5b51fc(0x1fa)](_0x436677[_0x5b51fc(0x1bc)],_0x5e79cc['OVWVj'])||_0x5e79cc[_0x5b51fc(0x1fa)](_0x436677[_0x5b51fc(0x1bc)],_0x5e79cc[_0x5b51fc(0x24f)]),_0x13be70&&(this[_0x5b51fc(0x261)]['shouldScanTestForAccessibility']&&logger[_0x5b51fc(0x217)](_0x5e79cc['BOHcT'])),this[_0x5b51fc(0x261)][_0x5b51fc(0x1d5)]=this[_0x5b51fc(0x261)]['shouldScanTestForAccessibility'],this['currentTest'][_0x5b51fc(0x254)]&&logger['info'](_0x5e79cc['qlljn']);}}catch(_0x1cbc6c){logger[_0x5b51fc(0x212)](_0x5b51fc(0x1e9)+util[_0x5b51fc(0x1b2)](_0x1cbc6c));}_0x5e79cc['YUuRO'](_0x1c18ae);})['then'](()=>{const _0x590c25=a32_0x9baf;_0x454edb[_0x590c25(0x248)](_0x270994);});},{'platform':_0x5e79cc['ykxXl'](nestedKeyValue,global['__platformCaps'],[_0x5e79cc['fiEKA']]),'hookType':_0x5e79cc[_0x1ce7d6(0x1da)]})();},'afterEach'(_0x2399fe){const _0x19d3a8=a32_0xc0b09,_0x4d56c8={'bFFLu':_0x19d3a8(0x1b7),'NmZUX':function(_0x4e218f,_0x38e5a1){return _0x4e218f!==_0x38e5a1;},'PFMtG':'passed','tIpJg':function(_0x13a32d,_0x59064a,_0x528f2c){return _0x13a32d(_0x59064a,_0x528f2c);},'OysiB':function(_0x6a2f1f,_0x10c581){return _0x6a2f1f+_0x10c581;},'acoDZ':'Failed:\x20','ArhJG':'error','Fyghk':_0x19d3a8(0x246),'fTXzh':'info','saiLL':function(_0x2c9b69,_0x2d6b33){return _0x2c9b69>_0x2d6b33;},'LxsTp':function(_0x49feb6,_0x3a0ed8){return _0x49feb6===_0x3a0ed8;},'ZrnhT':_0x19d3a8(0x242),'HMSTD':_0x19d3a8(0x1ba),'RFzxw':function(_0x523907,_0x575121,_0x4a95fc,_0x32aafa){return _0x523907(_0x575121,_0x4a95fc,_0x32aafa);},'RWSpQ':_0x19d3a8(0x20f),'icAQh':'bstackA11yShouldScan','IXpvg':_0x19d3a8(0x1c2),'PcvnV':_0x19d3a8(0x1c3),'SyAUB':_0x19d3a8(0x1d7),'vlDhd':_0x19d3a8(0x1d4),'FWadH':function(_0x4d6bb8){return _0x4d6bb8();},'ideMg':function(_0x483cd1,_0x4ca9ba,_0x386739){return _0x483cd1(_0x4ca9ba,_0x386739);},'fsHHa':function(_0x17a4e8,_0x588e9f,_0x4d74df){return _0x17a4e8(_0x588e9f,_0x4d74df);},'mVVmo':_0x19d3a8(0x1ee),'EOtAr':function(_0x16f104,_0x3936a9,_0x33daa9){return _0x16f104(_0x3936a9,_0x33daa9);},'PeUKQ':_0x19d3a8(0x252),'HmnIf':_0x19d3a8(0x1b9)},_0x45864e='browserstack internal helper hook';this[_0x19d3a8(0x244)](0xfde8),global['sessionName']=this[_0x19d3a8(0x261)][_0x19d3a8(0x207)]()[_0x19d3a8(0x1f3)](_0x4d56c8['bFFLu']),PerformanceTester[_0x19d3a8(0x22c)](PerformanceSdkEvents[_0x19d3a8(0x1dc)],()=>{const _0x2ea911=_0x19d3a8,_0x2132e8={'qwzTN':_0x4d56c8[_0x2ea911(0x205)],'yzYxp':function(_0x188d81,_0x26bcab){return _0x4d56c8['NmZUX'](_0x188d81,_0x26bcab);},'kuBhD':_0x4d56c8[_0x2ea911(0x245)],'TjwNx':function(_0x2d55d4,_0x278b81,_0x477737){const _0x3aec13=_0x2ea911;return _0x4d56c8[_0x3aec13(0x265)](_0x2d55d4,_0x278b81,_0x477737);},'xwhiz':function(_0x4c5be1,_0x565dcc){const _0x565343=_0x2ea911;return _0x4d56c8[_0x565343(0x232)](_0x4c5be1,_0x565dcc);},'bxNQO':_0x4d56c8[_0x2ea911(0x237)],'qMDCu':_0x4d56c8[_0x2ea911(0x1b6)],'SklUK':_0x4d56c8['Fyghk'],'kcRUw':_0x4d56c8[_0x2ea911(0x211)],'NOUMj':function(_0x52f830,_0x44364e){const _0x4e2ad2=_0x2ea911;return _0x4d56c8[_0x4e2ad2(0x1f8)](_0x52f830,_0x44364e);},'dYbPp':function(_0x5a5ca9,_0x329d78){return _0x4d56c8['LxsTp'](_0x5a5ca9,_0x329d78);},'yAbuB':_0x4d56c8[_0x2ea911(0x1c4)],'BDKIw':_0x4d56c8[_0x2ea911(0x23e)],'MQksd':function(_0x3cc3d9,_0x597dc9,_0x3f1558,_0x14e37b){const _0x2cce1b=_0x2ea911;return _0x4d56c8[_0x2cce1b(0x1f9)](_0x3cc3d9,_0x597dc9,_0x3f1558,_0x14e37b);},'hXyOx':_0x4d56c8[_0x2ea911(0x226)],'fHNJU':_0x4d56c8[_0x2ea911(0x20e)],'KSYog':_0x4d56c8['IXpvg'],'IANVF':_0x4d56c8[_0x2ea911(0x250)],'LOtow':_0x4d56c8[_0x2ea911(0x20a)],'jWJLO':_0x4d56c8['vlDhd'],'JrQgz':function(_0x55a8f6){const _0x321996=_0x2ea911;return _0x4d56c8[_0x321996(0x1eb)](_0x55a8f6);},'EcstV':function(_0x596cbc,_0x58aca5,_0xeb172){const _0x2f5d63=_0x2ea911;return _0x4d56c8[_0x2f5d63(0x268)](_0x596cbc,_0x58aca5,_0xeb172);},'ipPiX':function(_0x5de3d3,_0x25d051,_0x41c834){const _0x2b47d3=_0x2ea911;return _0x4d56c8[_0x2b47d3(0x1b1)](_0x5de3d3,_0x25d051,_0x41c834);},'wHoMb':_0x4d56c8[_0x2ea911(0x24e)]},_0x3cb066=async(_0x517781,_0x32ca9f)=>{const _0x7df9e5=_0x2ea911;await global[_0x7df9e5(0x1d2)][0x0][_0x7df9e5(0x21b)](_0x7df9e5(0x1e6)+_0x517781+_0x7df9e5(0x251)+_0x32ca9f+_0x7df9e5(0x234));};new Promise(async _0x59c3c9=>{const _0x502c9b=_0x2ea911,_0x2d4e84={'cYTNs':function(_0x3f6bcd,_0x3d851d){const _0x4c9002=a32_0x9baf;return _0x2132e8[_0x4c9002(0x224)](_0x3f6bcd,_0x3d851d);},'bIZku':_0x2132e8['kuBhD'],'fPUFQ':function(_0x2004ef,_0x4fffe2,_0x365ae0){return _0x2132e8['TjwNx'](_0x2004ef,_0x4fffe2,_0x365ae0);},'ijZzV':function(_0x50a6aa,_0x213f40){const _0x1e6a75=a32_0x9baf;return _0x2132e8[_0x1e6a75(0x1e0)](_0x50a6aa,_0x213f40);},'LrBvB':_0x2132e8['bxNQO'],'tOXEZ':_0x2132e8[_0x502c9b(0x24b)],'LKtrq':function(_0x3e4c77,_0x541935,_0x303f5f){const _0x27ce34=_0x502c9b;return _0x2132e8[_0x27ce34(0x201)](_0x3e4c77,_0x541935,_0x303f5f);},'wGLde':_0x2132e8['SklUK'],'SKqtp':_0x2132e8['kcRUw']};try{_0x2132e8[_0x502c9b(0x266)](global[_0x502c9b(0x1d2)][_0x502c9b(0x220)],0x1)&&(await global[_0x502c9b(0x25a)](),global[_0x502c9b(0x1d2)][_0x502c9b(0x1e3)](),global[_0x502c9b(0x1f6)]=[],global['__sessionFailed']=![]);try{if(global[_0x502c9b(0x1bb)]&&_0x2132e8['dYbPp'](global[_0x502c9b(0x21f)],_0x2132e8[_0x502c9b(0x216)])&&global[_0x502c9b(0x1d2)][0x0]){const _0x34f78d=_0x2132e8[_0x502c9b(0x266)](global[_0x502c9b(0x1fb)][_0x502c9b(0x220)],0x0)?!!global[_0x502c9b(0x1fb)][0x0]['app']||!!global[_0x502c9b(0x1fb)][0x0][_0x2132e8[_0x502c9b(0x227)]]:![],_0x2a969d={};_0x2a969d[_0x502c9b(0x1e2)]=_0x34f78d,await _0x2132e8[_0x502c9b(0x21a)](percyAutoCapture,global[_0x502c9b(0x1d2)][0x0],_0x2132e8[_0x502c9b(0x216)],_0x2a969d);}}catch(_0x54570d){logger[_0x502c9b(0x1ee)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x54570d);}!global[_0x502c9b(0x263)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x502c9b(0x1b4)],async()=>{const _0x460c7f=_0x502c9b;await global[_0x460c7f(0x1d2)][0x0][_0x460c7f(0x21b)](_0x460c7f(0x1c5)+JSON[_0x460c7f(0x1dd)](this[_0x460c7f(0x261)][_0x460c7f(0x207)]()[_0x460c7f(0x1f3)](_0x2132e8[_0x460c7f(0x1f0)]))+'}}');})(),global[_0x502c9b(0x1d2)][0x0]['sessionNameSet__']=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x502c9b(0x23b)],async()=>{const _0x2a1636=_0x502c9b,_0x5bf453=_0x2d4e84[_0x2a1636(0x22b)](this[_0x2a1636(0x261)][_0x2a1636(0x222)],_0x2d4e84[_0x2a1636(0x1c9)]);_0x5bf453?(global[_0x2a1636(0x1cb)]=!![],global[_0x2a1636(0x1f6)][_0x2a1636(0x238)](this[_0x2a1636(0x261)][_0x2a1636(0x214)][_0x2a1636(0x260)]),await _0x2d4e84['fPUFQ'](_0x3cb066,JSON['stringify'](_0x2d4e84[_0x2a1636(0x249)](_0x2d4e84[_0x2a1636(0x1ef)],this[_0x2a1636(0x261)]['err'][_0x2a1636(0x260)])),_0x2d4e84[_0x2a1636(0x1f7)])):await _0x2d4e84[_0x2a1636(0x1be)](_0x3cb066,JSON[_0x2a1636(0x1dd)](_0x2d4e84['wGLde']),_0x2d4e84[_0x2a1636(0x23a)]);})();}catch(_0x4da532){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x4da532);}try{if(this[_0x502c9b(0x261)]['accessibilityScanStarted']&&globals[_0x502c9b(0x229)](_0x2132e8['hXyOx'])&&globals['getGlobal'](_0x2132e8['fHNJU'])){logger['info'](_0x2132e8[_0x502c9b(0x23c)]);const _0x2779c1={};_0x2779c1['thTestRunUuid']=this['currentTest'][_0x502c9b(0x258)],_0x2779c1['thBuildUuid']=process[_0x502c9b(0x255)][testHubConstants[_0x502c9b(0x267)][_0x502c9b(0x1cf)]],_0x2779c1[_0x502c9b(0x1fc)]=process[_0x502c9b(0x255)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x4883bb=_0x2779c1;logger[_0x502c9b(0x1ee)](_0x502c9b(0x1d8)+JSON[_0x502c9b(0x1dd)](_0x4883bb)),logger['debug'](_0x2132e8[_0x502c9b(0x1d9)]);const _0x37e2c8={};_0x37e2c8['command']=_0x2132e8[_0x502c9b(0x213)],await PerformanceTester[_0x502c9b(0x22c)](PerformanceA11yEvents[_0x502c9b(0x1e1)],async()=>{const _0x50e0d5=_0x502c9b;logger['debug'](util[_0x50e0d5(0x1b2)](await global['__drivers'][0x0][_0x50e0d5(0x219)](scripts[_0x50e0d5(0x1e7)],{'method':global[_0x50e0d5(0x21d)]})));},_0x37e2c8)(),await PerformanceTester[_0x502c9b(0x22c)](PerformanceA11yEvents[_0x502c9b(0x21e)],async()=>{const _0x1d65d6=_0x502c9b;await global[_0x1d65d6(0x1d2)][0x0]['executeAsyncScript'](scripts[_0x1d65d6(0x209)],_0x4883bb);})(),logger[_0x502c9b(0x217)](_0x2132e8[_0x502c9b(0x1bf)]);}}catch(_0xfab9f9){logger[_0x502c9b(0x212)](_0x502c9b(0x218)+this[_0x502c9b(0x261)]['titlePath']()+_0x502c9b(0x241),_0xfab9f9);}try{try{if(_0x2132e8[_0x502c9b(0x231)](shouldProcessEventForTesthub)){global[_0x502c9b(0x1d2)][0x0]&&await _0x2132e8[_0x502c9b(0x1f4)](sendPlatformDetails,global[_0x502c9b(0x1d2)][0x0],this[_0x502c9b(0x261)]?this[_0x502c9b(0x261)][_0x502c9b(0x258)]:null);if(_0x2132e8[_0x502c9b(0x231)](isBrowserstackInfra)){PerformanceTester[_0x502c9b(0x269)](PerformanceO11yEvents[_0x502c9b(0x20d)]);const _0x9d30a7=_0x502c9b(0x22f)+Date[_0x502c9b(0x1fd)]();await _0x2132e8[_0x502c9b(0x1c6)](_0x3cb066,JSON['stringify'](_0x9d30a7),_0x2132e8['wHoMb']),PerformanceTester['end'](PerformanceO11yEvents[_0x502c9b(0x20d)]);}}}catch(_0x36c1ae){logger['debug'](_0x502c9b(0x25c)+_0x36c1ae),PerformanceTester[_0x502c9b(0x25b)](PerformanceO11yEvents['SYNC'],![],_0x36c1ae);}_0x2132e8[_0x502c9b(0x266)](global[_0x502c9b(0x1d2)][0x0]['quitCount_'],0x0)&&await global[_0x502c9b(0x25a)]();}catch(_0x3457b6){logger[_0x502c9b(0x1ee)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x3457b6);}_0x2132e8[_0x502c9b(0x231)](_0x59c3c9);})[_0x2ea911(0x1ff)](()=>{const _0x2813c9=_0x2ea911;_0x2132e8[_0x2813c9(0x231)](_0x2399fe);});},{'platform':_0x4d56c8[_0x19d3a8(0x233)](nestedKeyValue,global[_0x19d3a8(0x25e)],[_0x4d56c8['PeUKQ']]),'hookType':_0x4d56c8[_0x19d3a8(0x225)]})();},'afterAll'(_0x30b1b5){const _0x59d9b2=a32_0xc0b09,_0x523763={'XExEs':function(_0x11df5b){return _0x11df5b();},'ElTAr':function(_0x182f33,_0x2665f1,_0xe05ee9){return _0x182f33(_0x2665f1,_0xe05ee9);},'PqSzE':_0x59d9b2(0x252),'AHtVV':_0x59d9b2(0x23d)},_0x344bb4='browserstack internal helper hook';this[_0x59d9b2(0x244)](0xfde8),PerformanceTester[_0x59d9b2(0x22c)](PerformanceSdkEvents[_0x59d9b2(0x1dc)],()=>{const _0x2d021b=_0x59d9b2,_0x40babc={'ShEAh':function(_0x2838c3){const _0x21e877=a32_0x9baf;return _0x523763[_0x21e877(0x1c0)](_0x2838c3);}};new Promise(async _0x24c210=>{const _0xc0776a=a32_0x9baf;await global[_0xc0776a(0x25a)](),_0x40babc[_0xc0776a(0x24a)](_0x24c210);})[_0x2d021b(0x1ff)]()[_0x2d021b(0x22d)](()=>{const _0x1e0e34=_0x2d021b;_0x40babc[_0x1e0e34(0x24a)](_0x30b1b5);});},{'platform':_0x523763[_0x59d9b2(0x1ed)](nestedKeyValue,global['__platformCaps'],[_0x523763[_0x59d9b2(0x1d1)]]),'hookType':_0x523763[_0x59d9b2(0x1d0)]})();}};function a32_0x4d12(){const _0x41699b=['OysiB','EOtAr','\x22}}','ylsEZ','235395ctaRmC','acoDZ','push','1258990oEFRtP','SKqtp','SESSION_STATUS','KSYog','afterAll','HMSTD','22uMmkno','startMonitoring','.\x20Error\x20:','testcase','passed','timeout','PFMtG','Passed','FqzmB','xmBMn','ijZzV','ShEAh','qMDCu','11851380PfBLuI','Failed\x20to\x20store\x20session\x20name:\x20','mVVmo','ourmH','PcvnV',',\x22level\x22:\x20\x22','index','IAMdP','shouldScanTestForAccessibility','env','gxkva','browserstackTestName','testAnalyticsId','initQuit','driverCleanup','end','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','SUecb','__platformCaps','pezWx','message','currentTest','getCurrentUrl','__skipSessionName','80YoZDXN','tIpJg','NOUMj','ENV_VAR','ideMg','start','fsHHa','format','2010280CqKcUK','SESSION_NAME','OXkrO','ArhJG','\x20-\x20','winstonLogger','afterEach','appium:app','percy','protocol','TRFds','LKtrq','jWJLO','XExEs','\x20|\x20','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Performing\x20scan\x20before\x20saving\x20results','ZrnhT','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','ipPiX','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','../../helpers/performance/performance-tester','bIZku','76683JAimiE','__sessionFailed','gtQiv','556hJsXKA','278SgCOBv','BROWSERSTACK_TESTHUB_UUID','AHtVV','PqSzE','__drivers','util','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','accessibilityScanStarted','beforeAll','afterTest','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','IANVF','jlFYf','quitCount_','SDK_HOOK','stringify','beforeEach','mochaHooks','xwhiz','PERFORM_SCAN','app','shift','../../helpers/logger','../../helpers/percy/utils','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','performScan','30961kUnlCo','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','FWadH','bstackA11yShouldScan','ElTAr','debug','LrBvB','qwzTN','CvQSc','NwQvW','join','EcstV','./test-observability/mochaUtils','__error_messages__','tOXEZ','saiLL','RFzxw','suDjp','capabilities','thJwtToken','now','../../helpers/testhub/constants','then','mCFrt','TjwNx','528CqAHPl','../../helpers/accessibility-automation/helper','https:','bFFLu','zfuDh','titlePath','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','saveTestResults','SyAUB','../../helpers/globals','isArray','SYNC','icAQh','isAccessibilityPlatform','session_','fTXzh','error','LOtow','err','tpEuZ','yAbuB','info','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','executeAsyncScript','MQksd','executeScript','OmVlW','browserstackSessionName','SAVE_RESULTS','percyCaptureMode','length','Automate\x20test\x20case\x20execution\x20has\x20started.','state','5aMiGov','yzYxp','HmnIf','RWSpQ','BDKIw','setGlobal','getGlobal','YzRLp','cYTNs','measureWrapper','finally','../../helpers/accessibility-automation/scripts','ObservabilitySync:','wcZYs','JrQgz'];a32_0x4d12=function(){return _0x41699b;};return a32_0x4d12();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x1259e6=a33_0x1c2f;(function(_0x54bb5f,_0x2d5ba6){const _0x42d2f1=a33_0x1c2f,_0xb73272=_0x54bb5f();while(!![]){try{const _0x577110=-parseInt(_0x42d2f1(0x1aa))/0x1+-parseInt(_0x42d2f1(0x175))/0x2+-parseInt(_0x42d2f1(0x1c0))/0x3*(parseInt(_0x42d2f1(0x185))/0x4)+-parseInt(_0x42d2f1(0x198))/0x5*(-parseInt(_0x42d2f1(0x176))/0x6)+-parseInt(_0x42d2f1(0x19a))/0x7+parseInt(_0x42d2f1(0x1ba))/0x8+parseInt(_0x42d2f1(0x1a0))/0x9*(parseInt(_0x42d2f1(0x19b))/0xa);if(_0x577110===_0x2d5ba6)break;else _0xb73272['push'](_0xb73272['shift']());}catch(_0x36a578){_0xb73272['push'](_0xb73272['shift']());}}}(a33_0x15bc,0x97f0a));const fs=require('fs'),path=require(a33_0x1259e6(0x1a2)),{spawn}=require(a33_0x1259e6(0x18e)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a33_0x1259e6(0x17e)),helper=require(a33_0x1259e6(0x1a9)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x452b5a,_0x22c9be)=>{const _0x33c621=a33_0x1259e6,_0x4db398={'XLWqX':_0x33c621(0x180),'LyZQY':_0x33c621(0x1b6),'OvOEx':function(_0x366beb,_0x48b8bd){return _0x366beb(_0x48b8bd);},'CjcrR':_0x33c621(0x190)};let _0x164f86=null,_0x1a43f1={};const _0x35f6ea=_0x22c9be['findIndex'](_0x47160b=>_0x47160b===_0x33c621(0x17c));if(!helper[_0x33c621(0x1a7)](_0x452b5a['config'])&&fs[_0x33c621(0x195)](path[_0x33c621(0x19f)](process[_0x33c621(0x19e)](),_0x452b5a[_0x33c621(0x199)])))_0x164f86=path[_0x33c621(0x19f)](process[_0x33c621(0x19e)](),_0x452b5a[_0x33c621(0x199)]),_0x22c9be['splice'](_0x35f6ea,0x2);else{if(fs[_0x33c621(0x195)](path[_0x33c621(0x19f)](process['cwd'](),_0x4db398['XLWqX'])))_0x164f86=path[_0x33c621(0x19f)](process[_0x33c621(0x19e)](),_0x4db398[_0x33c621(0x172)]);else fs[_0x33c621(0x195)](path[_0x33c621(0x19f)](process[_0x33c621(0x19e)](),_0x4db398[_0x33c621(0x17b)]))&&(_0x164f86=path[_0x33c621(0x19f)](process[_0x33c621(0x19e)](),_0x4db398[_0x33c621(0x17b)]));}return _0x164f86?(logger[_0x33c621(0x1bb)](_0x33c621(0x1b2)+_0x164f86),_0x1a43f1=_0x4db398[_0x33c621(0x194)](require,_0x164f86)):logger[_0x33c621(0x1bb)](_0x4db398[_0x33c621(0x174)]),_0x1a43f1;},removeExistingEnvs=_0x30e528=>{const _0x1b8366=a33_0x1259e6,_0x23d01d={};_0x23d01d[_0x1b8366(0x18a)]=function(_0x3a303e,_0x953bb){return _0x3a303e>_0x953bb;},_0x23d01d['dqQEI']=function(_0x56a400,_0x42fb33){return _0x56a400>_0x42fb33;};const _0x1cd627=_0x23d01d;let _0x1e3af5=_0x30e528[_0x1b8366(0x1b0)](_0x1cde31=>_0x1cde31===_0x1b8366(0x192));_0x1cd627[_0x1b8366(0x18a)](_0x1e3af5,-0x1)&&_0x30e528['splice'](_0x1e3af5,0x2),_0x1e3af5=_0x30e528[_0x1b8366(0x1b0)](_0x1cfd11=>_0x1cfd11==='-e'),_0x1cd627['dqQEI'](_0x1e3af5,-0x1)&&_0x30e528[_0x1b8366(0x1b3)](_0x1e3af5,0x2);};function a33_0x1c2f(_0x4a03ab,_0x4d2da0){const _0x15bc26=a33_0x15bc();return a33_0x1c2f=function(_0x1c2f55,_0x3f7d93){_0x1c2f55=_0x1c2f55-0x171;let _0x4d3ed8=_0x15bc26[_0x1c2f55];return _0x4d3ed8;},a33_0x1c2f(_0x4a03ab,_0x4d2da0);}function a33_0x15bc(){const _0x48e031=['qVXma','../../helpers/helper','525247czdPNh','slice','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','YnJjh','nightwatch.cmd','close','findIndex','LGGbR','Getting\x20your\x20nightwatch\x20configs\x20from\x20','splice','split','hub.browserstack.com','nightwatch.json','host','length','nightwatch','3245824xkWafO','info','platforms','desiredCapabilities','JHuSN','stringify','1970169uIBQFS','mergeDeep','XLWqX','unlinkSync','CjcrR','1898344VzSdhH','6bllYLP','inherit','writeFileSync','forEach','modifyBrowserStackW3CCaps','LyZQY','--config','MPnCE','../../helpers/BrowserStackSetup','aMrht','nightwatch.conf.js','useW3C','hqMKH','kddvX','port','4qVlUwh','eZtFA','Atcld','debug','Deleting\x20','lQeeR','webdriver','test','BpchH','child_process','child\x20process\x20exited\x20with\x20code\x20','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','filter','--env','map','OvOEx','existsSync','selenium','start_process','2179130nxILTD','config','437276NeFyhL','365630vROQkd','trim','exports','cwd','join','486byWuAP','env','path','push','zkaqg','test_settings','now','isUndefined'];a33_0x15bc=function(){return _0x48e031;};return a33_0x15bc();}function run(_0x91e3f7,_0x37b0f9){const _0xe35f86=a33_0x1259e6,_0x3b64d6={'Atcld':_0xe35f86(0x1b9),'apORd':function(_0x21f6bd,_0x5d16b0){return _0x21f6bd+_0x5d16b0;},'eZtFA':'test_settings','hqMKH':function(_0x49bbf1,_0x581349,_0x41f408){return _0x49bbf1(_0x581349,_0x41f408);},'MPnCE':_0xe35f86(0x1b5),'txIaY':_0xe35f86(0x1ac),'qVXma':function(_0x39f6dc,_0x110a1c){return _0x39f6dc===_0x110a1c;},'KgvWr':'nightwatch-browserstack.json','JHuSN':function(_0x5f4213,_0x97de6d){return _0x5f4213(_0x97de6d);},'kddvX':function(_0x41e99a,_0x2a628c,_0xb041ad,_0x4fd960){return _0x41e99a(_0x2a628c,_0xb041ad,_0x4fd960);},'zkaqg':_0xe35f86(0x1ae),'OUbnK':'--config','YnJjh':_0xe35f86(0x192),'BpchH':_0xe35f86(0x177),'mWeot':_0xe35f86(0x1af)},_0x1a95a3=new BrowserStackSetup(_0x91e3f7);if(!_0x1a95a3['config'])return;const _0x46d49a=_0x3b64d6[_0xe35f86(0x182)](getUserNightwatchConfigs,_0x91e3f7,_0x37b0f9),_0x1e0c14={};_0x1e0c14[_0xe35f86(0x197)]=![];const _0x2b2a32={};_0x2b2a32[_0xe35f86(0x1b7)]=_0x3b64d6[_0xe35f86(0x17d)],_0x2b2a32[_0xe35f86(0x184)]=0x1bb;const _0x3c79de={};_0x3c79de[_0xe35f86(0x18b)]=_0x1e0c14,_0x3c79de[_0xe35f86(0x196)]=_0x2b2a32;const _0x40957c=_0x3c79de;logger[_0xe35f86(0x1bb)](_0x3b64d6['txIaY']);const _0x533a93={..._0x46d49a},_0x3ba4e1=_0x533a93,_0x181a93=helper[_0xe35f86(0x181)](_0x1a95a3[_0xe35f86(0x199)]),_0x2ba66e=[];_0x1a95a3['config'][_0xe35f86(0x1bc)][_0xe35f86(0x179)]((_0x3340f0,_0x2e6ce5)=>{const _0x1f6cbd=_0xe35f86;_0x181a93?_0x2ba66e[_0x1f6cbd(0x1a3)](helper[_0x1f6cbd(0x17a)](_0x1a95a3[_0x1f6cbd(0x199)],_0x3b64d6['Atcld'],_0x2e6ce5)):_0x2ba66e[_0x1f6cbd(0x1a3)](helper['modifyBrowserStackCaps'](_0x1a95a3['config'],_0x3b64d6[_0x1f6cbd(0x187)],_0x2e6ce5));});const _0x12f8b5={},_0xb5221d=[];_0x91e3f7['env']=_0x91e3f7[_0xe35f86(0x1a1)]||_0x91e3f7['e'];const _0x18ef16=_0x91e3f7[_0xe35f86(0x1a1)]?_0x91e3f7['env'][_0xe35f86(0x19c)]()[_0xe35f86(0x1b4)](',')[_0xe35f86(0x193)](_0x163c57=>_0x163c57[_0xe35f86(0x19c)]())[_0xe35f86(0x191)](_0x4bfaff=>_0x4bfaff!==''):[''];_0x3b64d6[_0xe35f86(0x1a8)](_0x18ef16[_0xe35f86(0x1b8)],0x0)&&_0x18ef16[_0xe35f86(0x1a3)]('');_0x18ef16[_0xe35f86(0x179)](_0x41583a=>{const _0x43a070=_0xe35f86,_0x39eefd={'aMrht':function(_0x22f209,_0x189a5a){return _0x3b64d6['apORd'](_0x22f209,_0x189a5a);},'LGGbR':_0x3b64d6[_0x43a070(0x186)]};_0x2ba66e[_0x43a070(0x179)](_0x1fc176=>{const _0x1dbc63=_0x43a070;let _0x3aba24=_0x39eefd[_0x1dbc63(0x17f)](helper['getPlatformName'](_0x1fc176,'_'),'_'+Date[_0x1dbc63(0x1a6)]());_0x41583a&&(_0x3aba24+='_'+_0x41583a);if(_0x41583a&&(!_0x46d49a[_0x39eefd['LGGbR']]||!_0x46d49a[_0x39eefd[_0x1dbc63(0x1b1)]][_0x41583a]))return;const _0x4fcbc9={..._0x40957c};_0x4fcbc9[_0x1dbc63(0x1bd)]=_0x1fc176;const _0x1150b8=_0x4fcbc9;_0x12f8b5[_0x3aba24]=_0x41583a?helper[_0x1dbc63(0x171)](_0x46d49a[_0x39eefd[_0x1dbc63(0x1b1)]][_0x41583a],_0x1150b8):_0x1150b8,_0xb5221d[_0x1dbc63(0x1a3)](_0x3aba24);});});!_0x3ba4e1[_0xe35f86(0x1a5)]&&(_0x3ba4e1[_0xe35f86(0x1a5)]={});_0x3ba4e1['test_settings']={..._0x3ba4e1[_0xe35f86(0x1a5)],..._0x12f8b5};const _0x27d937=path[_0xe35f86(0x19f)](__dirname,_0x3b64d6['KgvWr']);fs[_0xe35f86(0x178)](_0x27d937,JSON[_0xe35f86(0x1bf)](_0x3ba4e1)),_0x3b64d6[_0xe35f86(0x1be)](removeExistingEnvs,_0x37b0f9);const _0x50de40=_0x3b64d6[_0xe35f86(0x183)](spawn,/^win/[_0xe35f86(0x18c)](process['platform'])?_0x3b64d6[_0xe35f86(0x1a4)]:_0x3b64d6[_0xe35f86(0x187)],[_0x3b64d6['OUbnK'],_0x27d937,..._0x37b0f9[_0xe35f86(0x1ab)](0x1),_0x3b64d6[_0xe35f86(0x1ad)],_0xb5221d[_0xe35f86(0x19f)](',')],{'stdio':_0x3b64d6[_0xe35f86(0x18d)]});_0x50de40['on'](_0x3b64d6['mWeot'],async _0x2e6256=>{const _0x2d214d=_0xe35f86;logger[_0x2d214d(0x188)](_0x2d214d(0x18f)+_0x2e6256),logger[_0x2d214d(0x1bb)](_0x2d214d(0x189)+_0x27d937),fs[_0x2d214d(0x173)](_0x27d937);});}module[a33_0x1259e6(0x19d)]=run;
2
+ 'use strict';const a33_0x274892=a33_0xc326;function a33_0x4a8e(){const _0x4acf83=['findIndex','port','fPtUw','forEach','host','child\x20process\x20exited\x20with\x20code\x20','config','JRoWm','nightwatch.json','Nxifb','Deleting\x20','exports','trim','16jiFagG','mergeDeep','splice','119894ELrFpO','selenium','CauMt','test','LqJVk','info','length','nightwatch.cmd','195796wPlPdi','modifyBrowserStackW3CCaps','existsSync','cwd','inherit','430fxUJcP','push','../utils/constants','636041xDfJDk','rAHeS','aEZaJ','writeFileSync','platforms','1762551VQQXRU','isUndefined','2JfbErf','mmEGN','--config','useW3C','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','close','2551494WkQpZV','debug','../../helpers/helper','winstonLogger','desiredCapabilities','3682896TgOtYB','AYddr','start_process','12sMpexd','getPlatformName','GzNIs','35kqOUHy','pLSzQ','LdYzz','eEnMp','now','child_process','slice','../../helpers/BrowserStackSetup','map','nightwatch-browserstack.json','nightwatch','uBbij','nZdai','platform','Ogxme','hub.browserstack.com','134262CSLjsi','join','test_settings','WZnxC','env'];a33_0x4a8e=function(){return _0x4acf83;};return a33_0x4a8e();}(function(_0x1c403d,_0x4fc5e9){const _0x43a15c=a33_0xc326,_0xc37f1b=_0x1c403d();while(!![]){try{const _0x159946=-parseInt(_0x43a15c(0x175))/0x1*(parseInt(_0x43a15c(0x18c))/0x2)+parseInt(_0x43a15c(0x18a))/0x3+-parseInt(_0x43a15c(0x17d))/0x4*(-parseInt(_0x43a15c(0x19d))/0x5)+parseInt(_0x43a15c(0x197))/0x6+-parseInt(_0x43a15c(0x185))/0x7*(parseInt(_0x43a15c(0x172))/0x8)+parseInt(_0x43a15c(0x1ad))/0x9*(-parseInt(_0x43a15c(0x182))/0xa)+-parseInt(_0x43a15c(0x192))/0xb*(parseInt(_0x43a15c(0x19a))/0xc);if(_0x159946===_0x4fc5e9)break;else _0xc37f1b['push'](_0xc37f1b['shift']());}catch(_0x33160d){_0xc37f1b['push'](_0xc37f1b['shift']());}}}(a33_0x4a8e,0x5a120));function a33_0xc326(_0x25547f,_0x4b4524){const _0x4a8e9e=a33_0x4a8e();return a33_0xc326=function(_0xc3266f,_0x18e2d8){_0xc3266f=_0xc3266f-0x169;let _0x4f1d7b=_0x4a8e9e[_0xc3266f];return _0x4f1d7b;},a33_0xc326(_0x25547f,_0x4b4524);}const fs=require('fs'),path=require('path'),{spawn}=require(a33_0x274892(0x1a2)),logger=require('../../helpers/logger')[a33_0x274892(0x195)],{default:BrowserStackSetup}=require(a33_0x274892(0x1a4)),helper=require(a33_0x274892(0x194)),constants=require(a33_0x274892(0x184)),getUserNightwatchConfigs=(_0xa51d4,_0x4a2691)=>{const _0x24d89d=a33_0x274892,_0x55381f={'Nxifb':'nightwatch.conf.js','JRoWm':_0x24d89d(0x16d),'fPtUw':function(_0x2e9100,_0xc754e8){return _0x2e9100(_0xc754e8);},'UBzzK':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x2ccbd5=null,_0xbcd391={};const _0x3e7d03=_0x4a2691[_0x24d89d(0x1b2)](_0xa66957=>_0xa66957===_0x24d89d(0x18e));if(!helper[_0x24d89d(0x18b)](_0xa51d4[_0x24d89d(0x16b)])&&fs['existsSync'](path[_0x24d89d(0x1ae)](process[_0x24d89d(0x180)](),_0xa51d4[_0x24d89d(0x16b)])))_0x2ccbd5=path[_0x24d89d(0x1ae)](process[_0x24d89d(0x180)](),_0xa51d4[_0x24d89d(0x16b)]),_0x4a2691[_0x24d89d(0x174)](_0x3e7d03,0x2);else{if(fs['existsSync'](path[_0x24d89d(0x1ae)](process[_0x24d89d(0x180)](),_0x55381f[_0x24d89d(0x16e)])))_0x2ccbd5=path['join'](process['cwd'](),_0x55381f[_0x24d89d(0x16e)]);else fs[_0x24d89d(0x17f)](path['join'](process[_0x24d89d(0x180)](),_0x55381f['JRoWm']))&&(_0x2ccbd5=path['join'](process[_0x24d89d(0x180)](),_0x55381f[_0x24d89d(0x16c)]));}return _0x2ccbd5?(logger[_0x24d89d(0x17a)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x2ccbd5),_0xbcd391=_0x55381f[_0x24d89d(0x1b4)](require,_0x2ccbd5)):logger[_0x24d89d(0x17a)](_0x55381f['UBzzK']),_0xbcd391;},removeExistingEnvs=_0x30f494=>{const _0x1c6b8f=a33_0x274892,_0x368fd3={};_0x368fd3[_0x1c6b8f(0x177)]=function(_0x36916f,_0xb7dfc1){return _0x36916f>_0xb7dfc1;},_0x368fd3[_0x1c6b8f(0x186)]=function(_0x103231,_0x3c3c26){return _0x103231>_0x3c3c26;};const _0x57fea6=_0x368fd3;let _0x5cf78c=_0x30f494[_0x1c6b8f(0x1b2)](_0x425080=>_0x425080==='--env');_0x57fea6['CauMt'](_0x5cf78c,-0x1)&&_0x30f494[_0x1c6b8f(0x174)](_0x5cf78c,0x2),_0x5cf78c=_0x30f494[_0x1c6b8f(0x1b2)](_0x1dc227=>_0x1dc227==='-e'),_0x57fea6[_0x1c6b8f(0x186)](_0x5cf78c,-0x1)&&_0x30f494[_0x1c6b8f(0x174)](_0x5cf78c,0x2);};function run(_0x1bf937,_0xe66086){const _0x3547d7=a33_0x274892,_0x305d1c={'aEZaJ':_0x3547d7(0x1a7),'WZnxC':function(_0x164c09,_0xb18709){return _0x164c09+_0xb18709;},'pLSzQ':_0x3547d7(0x1af),'LdYzz':function(_0x32a75b,_0x4794b0,_0x141f5e){return _0x32a75b(_0x4794b0,_0x141f5e);},'ZEbKv':_0x3547d7(0x1ac),'nZdai':_0x3547d7(0x190),'mmEGN':function(_0x73acfb,_0x1ca849){return _0x73acfb===_0x1ca849;},'LqJVk':_0x3547d7(0x1a6),'NFXZy':function(_0x45b048,_0x5162b5){return _0x45b048(_0x5162b5);},'GzNIs':function(_0x2aa9f9,_0x56df3f,_0x3ac9f9,_0x347bf7){return _0x2aa9f9(_0x56df3f,_0x3ac9f9,_0x347bf7);},'Ogxme':_0x3547d7(0x17c),'AYddr':'--config','eEnMp':'--env','uBbij':_0x3547d7(0x181),'qPEVS':_0x3547d7(0x191)},_0x97ddb5=new BrowserStackSetup(_0x1bf937);if(!_0x97ddb5['config'])return;const _0x3d6f4d=_0x305d1c[_0x3547d7(0x19f)](getUserNightwatchConfigs,_0x1bf937,_0xe66086),_0x49fe3b={};_0x49fe3b[_0x3547d7(0x199)]=![];const _0x2f758f={};_0x2f758f[_0x3547d7(0x169)]=_0x305d1c['ZEbKv'],_0x2f758f[_0x3547d7(0x1b3)]=0x1bb;const _0x1d5748={};_0x1d5748['webdriver']=_0x49fe3b,_0x1d5748[_0x3547d7(0x176)]=_0x2f758f;const _0xb32fef=_0x1d5748;logger[_0x3547d7(0x17a)](_0x305d1c[_0x3547d7(0x1a9)]);const _0x2d5890={..._0x3d6f4d},_0x4f17b7=_0x2d5890,_0x1ff7e1=helper[_0x3547d7(0x18f)](_0x97ddb5[_0x3547d7(0x16b)]),_0x39072f=[];_0x97ddb5['config'][_0x3547d7(0x189)][_0x3547d7(0x1b5)]((_0x17630e,_0x3b5692)=>{const _0x395650=_0x3547d7;_0x1ff7e1?_0x39072f['push'](helper[_0x395650(0x17e)](_0x97ddb5[_0x395650(0x16b)],_0x305d1c[_0x395650(0x187)],_0x3b5692)):_0x39072f[_0x395650(0x183)](helper['modifyBrowserStackCaps'](_0x97ddb5[_0x395650(0x16b)],_0x305d1c[_0x395650(0x187)],_0x3b5692));});const _0x4835f7={},_0x5f54c9=[];_0x1bf937[_0x3547d7(0x1b1)]=_0x1bf937[_0x3547d7(0x1b1)]||_0x1bf937['e'];const _0x4767b3=_0x1bf937[_0x3547d7(0x1b1)]?_0x1bf937[_0x3547d7(0x1b1)][_0x3547d7(0x171)]()['split'](',')[_0x3547d7(0x1a5)](_0xc0e2b=>_0xc0e2b[_0x3547d7(0x171)]())['filter'](_0x522954=>_0x522954!==''):[''];_0x305d1c[_0x3547d7(0x18d)](_0x4767b3[_0x3547d7(0x17b)],0x0)&&_0x4767b3['push']('');_0x4767b3[_0x3547d7(0x1b5)](_0x2fa603=>{const _0x3b7d58=_0x3547d7;_0x39072f[_0x3b7d58(0x1b5)](_0x5cedbc=>{const _0x4a5923=_0x3b7d58;let _0x3c809d=_0x305d1c[_0x4a5923(0x1b0)](helper[_0x4a5923(0x19b)](_0x5cedbc,'_'),'_'+Date[_0x4a5923(0x1a1)]());_0x2fa603&&(_0x3c809d+='_'+_0x2fa603);if(_0x2fa603&&(!_0x3d6f4d[_0x305d1c['pLSzQ']]||!_0x3d6f4d[_0x305d1c['pLSzQ']][_0x2fa603]))return;const _0x401673={..._0xb32fef};_0x401673[_0x4a5923(0x196)]=_0x5cedbc;const _0x465498=_0x401673;_0x4835f7[_0x3c809d]=_0x2fa603?helper[_0x4a5923(0x173)](_0x3d6f4d[_0x305d1c[_0x4a5923(0x19e)]][_0x2fa603],_0x465498):_0x465498,_0x5f54c9[_0x4a5923(0x183)](_0x3c809d);});});!_0x4f17b7[_0x3547d7(0x1af)]&&(_0x4f17b7[_0x3547d7(0x1af)]={});_0x4f17b7[_0x3547d7(0x1af)]={..._0x4f17b7[_0x3547d7(0x1af)],..._0x4835f7};const _0x2a9ec0=path[_0x3547d7(0x1ae)](__dirname,_0x305d1c[_0x3547d7(0x179)]);fs[_0x3547d7(0x188)](_0x2a9ec0,JSON['stringify'](_0x4f17b7)),_0x305d1c['NFXZy'](removeExistingEnvs,_0xe66086);const _0x25994b=_0x305d1c[_0x3547d7(0x19c)](spawn,/^win/[_0x3547d7(0x178)](process[_0x3547d7(0x1aa)])?_0x305d1c[_0x3547d7(0x1ab)]:_0x305d1c['aEZaJ'],[_0x305d1c[_0x3547d7(0x198)],_0x2a9ec0,..._0xe66086[_0x3547d7(0x1a3)](0x1),_0x305d1c[_0x3547d7(0x1a0)],_0x5f54c9[_0x3547d7(0x1ae)](',')],{'stdio':_0x305d1c[_0x3547d7(0x1a8)]});_0x25994b['on'](_0x305d1c['qPEVS'],async _0x4531df=>{const _0x58ca16=_0x3547d7;logger[_0x58ca16(0x193)](_0x58ca16(0x16a)+_0x4531df),logger[_0x58ca16(0x17a)](_0x58ca16(0x16f)+_0x2a9ec0),fs['unlinkSync'](_0x2a9ec0);});}module[a33_0x274892(0x170)]=run;
@@ -1 +1 @@
1
- function a34_0x51c5(){const _0x15103d=['BJPFv','executeScript','bestPractice','parse','getAccessibilityResultsSummary','includeIssueType','VVQAD','use','browser_version','UWFLI','deviceName','660789FMErrO','VVrat','mcbdX','browserName','trqac','WebDriver','PERFORM_SCAN','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','OLbak','CqVpf','pVEyc','playwright-chromium','stringify','anuWH','testInfo','bstackSdkArgs','processAccessibilityCaps','scannerVersion','ehnEh','yLISV','1326563ukbdyy','258197SjKbOH','chrome','WxMZx','connectOptions','BlFgv','PTdsI','evaluate','browser','accessibilityOptions.includeIssueType.needsReview','measureWrapper','../../helpers/performance/constants','accessibilityOptions','accessibilityOptions.wcagVersion','name','BS_A11Y_JWT','../../helpers/logger','No\x20summaryResults\x20found.','ONxoe','rAGwc','MTeLo','No\x20accessibility\x20results\x20were\x20found.','FPixX','format','VhwDA','341888tXDAaA','WzbVx','512298xokMFH','wsEndpoint','getAccessibilityResults','../../helpers/performance/performance-tester','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','../../helpers/accessibility-automation/helper','AKybw','debug','accessibilityPlatform','../../helpers/helper','TnkNj','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','LHfmR','workerInfo','Playwright','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','1561525JXVQCx','env','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','UUqsw','project','OmxkS','warn','browserStackEvaluate','iJOpb','dHuPz','IzFTD','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','XhStL','wcagVersion','38552YzMyIx','command','replace','util','browserstack.accessibility','OVspG','16mBiWxo','latest','browserStackExecuteDriver','rTPJN','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','currentTest','scannerProcessingTimeout','OPKpc','accessibilityOptions.scannerVersion','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','constructor','accessibilityOptions.includeIssueType.bestPractice','setAccessibilityCapabilities'];a34_0x51c5=function(){return _0x15103d;};return a34_0x51c5();}function a34_0x2a75(_0x4caeb3,_0x4a6dce){const _0x51c562=a34_0x51c5();return a34_0x2a75=function(_0x2a755a,_0x58f534){_0x2a755a=_0x2a755a-0x119;let _0x5759cd=_0x51c562[_0x2a755a];return _0x5759cd;},a34_0x2a75(_0x4caeb3,_0x4a6dce);}const a34_0x32afa0=a34_0x2a75;(function(_0xc9cb11,_0x16595c){const _0x4fd390=a34_0x2a75,_0x3fba20=_0xc9cb11();while(!![]){try{const _0x7bc8b9=parseInt(_0x4fd390(0x17c))/0x1+parseInt(_0x4fd390(0x149))/0x2+-parseInt(_0x4fd390(0x167))/0x3+parseInt(_0x4fd390(0x129))/0x4+parseInt(_0x4fd390(0x13b))/0x5+parseInt(_0x4fd390(0x12b))/0x6+parseInt(_0x4fd390(0x17b))/0x7*(-parseInt(_0x4fd390(0x14f))/0x8);if(_0x7bc8b9===_0x16595c)break;else _0x3fba20['push'](_0x3fba20['shift']());}catch(_0x5c39af){_0x3fba20['push'](_0x3fba20['shift']());}}}(a34_0x51c5,0x27648));const util=require(a34_0x32afa0(0x14c)),logger=require(a34_0x32afa0(0x120))['winstonLogger'],{isAccessibilityAutomationSession}=require(a34_0x32afa0(0x130)),{isUndefined}=require(a34_0x32afa0(0x134)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a34_0x32afa0(0x12e)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x32afa0(0x11b));exports[a34_0x32afa0(0x142)]=async(_0x6bec5a,_0x35510d,_0x124a06={})=>{const _0x3c1f56=a34_0x32afa0,_0x59a5a8={};_0x59a5a8[_0x3c1f56(0x152)]=_0x3c1f56(0x176);const _0x5bd050=_0x59a5a8;return await _0x6bec5a[_0x3c1f56(0x182)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x35510d[_0x3c1f56(0x14b)](/arguments/g,_0x5bd050['rTPJN'])+_0x3c1f56(0x158)+JSON['stringify'](_0x124a06)+')');},exports[a34_0x32afa0(0x151)]=async(_0x3e9edf,_0x2da158,_0x53dee7={})=>{const _0x35830f=a34_0x32afa0,_0x13b902={};_0x13b902[_0x35830f(0x13e)]=function(_0x2eb6db,_0x4e04b6){return _0x2eb6db===_0x4e04b6;},_0x13b902[_0x35830f(0x180)]=_0x35830f(0x16c),_0x13b902[_0x35830f(0x143)]=_0x35830f(0x139),_0x13b902[_0x35830f(0x17a)]='bstackSdkArgs';const _0x29fc87=_0x13b902;if(_0x29fc87[_0x35830f(0x13e)](_0x3e9edf[_0x35830f(0x159)][_0x35830f(0x11e)],_0x29fc87[_0x35830f(0x180)]))return await _0x3e9edf['executeAsyncScript'](_0x2da158,_0x53dee7);else{if(_0x29fc87[_0x35830f(0x13e)](_0x3e9edf[_0x35830f(0x159)][_0x35830f(0x11e)],_0x29fc87[_0x35830f(0x143)]))return await _0x3e9edf[_0x35830f(0x15d)](_0x35830f(0x13d)+_0x2da158['replace'](/arguments/g,_0x29fc87['yLISV'])+_0x35830f(0x136)+JSON[_0x35830f(0x173)](_0x53dee7)+')');}},exports[a34_0x32afa0(0x15b)]=async _0x371eaf=>{const _0x1a9bee=a34_0x32afa0,_0x40663b={};_0x40663b['VVQAD']=_0x1a9bee(0x11d),_0x40663b[_0x1a9bee(0x122)]='accessibilityOptions.scannerProcessingTimeout',_0x40663b[_0x1a9bee(0x170)]=_0x1a9bee(0x15a),_0x40663b[_0x1a9bee(0x124)]=_0x1a9bee(0x119),_0x40663b['mcbdX']='accessibilityOptions.authToken',_0x40663b[_0x1a9bee(0x181)]=_0x1a9bee(0x157);const _0x5e6605=_0x40663b;_0x371eaf[_0x1a9bee(0x11c)]&&(_0x371eaf[_0x1a9bee(0x11c)][_0x1a9bee(0x148)]&&(_0x371eaf[_0x5e6605[_0x1a9bee(0x162)]]=_0x371eaf[_0x1a9bee(0x11c)][_0x1a9bee(0x148)]),_0x371eaf[_0x1a9bee(0x11c)][_0x1a9bee(0x155)]&&(_0x371eaf[_0x5e6605['ONxoe']]=_0x371eaf[_0x1a9bee(0x11c)]['scannerProcessingTimeout']),_0x371eaf['accessibilityOptions']['includeIssueType']&&(_0x371eaf[_0x5e6605[_0x1a9bee(0x170)]]=_0x371eaf['accessibilityOptions'][_0x1a9bee(0x161)][_0x1a9bee(0x15e)],_0x371eaf[_0x5e6605[_0x1a9bee(0x124)]]=_0x371eaf[_0x1a9bee(0x11c)]['includeIssueType']['needsReview']));const _0x22e15b=JSON[_0x1a9bee(0x15f)](process[_0x1a9bee(0x13c)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x1a9bee(0x178)];_0x371eaf[_0x5e6605[_0x1a9bee(0x169)]]=process[_0x1a9bee(0x13c)][_0x1a9bee(0x11f)],_0x371eaf[_0x5e6605[_0x1a9bee(0x181)]]=_0x22e15b,delete _0x371eaf['accessibilityOptions'];},exports[a34_0x32afa0(0x12d)]=async _0x5530b1=>{const _0x389ff4=a34_0x32afa0,_0x8f3b03={};_0x8f3b03[_0x389ff4(0x144)]=_0x389ff4(0x125),_0x8f3b03[_0x389ff4(0x137)]=_0x389ff4(0x146);const _0x1a5b1c=_0x8f3b03;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x5530b1,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x5530b1,scripts.getResults);})();return res;}catch{return logger['error'](_0x1a5b1c[_0x389ff4(0x144)]),[];}else return logger[_0x389ff4(0x141)](_0x1a5b1c['LHfmR']),[];},exports['performScan']=async(_0x24c0a8,_0x1297d8='')=>{const _0x532521=a34_0x32afa0;if(global['accessibilityPlatform'])return await PerformanceTester[_0x532521(0x11a)](PerformanceA11yEvents[_0x532521(0x16d)],async()=>{const _0x513265=_0x532521,_0x166a3e={};_0x166a3e[_0x513265(0x14a)]=_0x1297d8,await exports['browserStackEvaluate'](_0x24c0a8,scripts['performScan'],_0x166a3e);},{'command':_0x1297d8})();},exports[a34_0x32afa0(0x160)]=async _0x1e1617=>{const _0x5849a4=a34_0x32afa0,_0x42ab44={};_0x42ab44['WxMZx']=_0x5849a4(0x121),_0x42ab44[_0x5849a4(0x126)]=_0x5849a4(0x13a);const _0x832678=_0x42ab44;if(global[_0x5849a4(0x133)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1e1617,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x1e1617,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x5849a4(0x132)](_0x832678[_0x5849a4(0x17e)]),{};}else return logger['warn'](_0x832678[_0x5849a4(0x126)]),{};},exports['platformValidation']=async _0x554f12=>{const _0x4d99e4=a34_0x32afa0,_0x4b8734={'BJPFv':function(_0x2c350d,_0x199c8d){return _0x2c350d!==_0x199c8d;},'OLbak':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','ehnEh':function(_0x6dfbcf,_0x115d88){return _0x6dfbcf===_0x115d88;},'IqtML':_0x4d99e4(0x17d),'TnkNj':'playwright-chromium','nGePe':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','OVspG':function(_0xf11ac6,_0x12cab4){return _0xf11ac6(_0x12cab4);},'Fswqo':function(_0x28eb67,_0x150c8c){return _0x28eb67===_0x150c8c;},'OPKpc':_0x4d99e4(0x150),'anuWH':function(_0x5a416f,_0x50b711){return _0x5a416f>_0x50b711;},'khOiH':_0x4d99e4(0x12f)};try{if(!_0x4b8734[_0x4d99e4(0x15c)](_0x554f12[_0x4d99e4(0x166)],''))return logger[_0x4d99e4(0x141)](_0x4b8734[_0x4d99e4(0x16f)]),![];const _0x141a22=_0x554f12[_0x4d99e4(0x183)];if(!(_0x4b8734[_0x4d99e4(0x179)](_0x141a22,_0x4b8734['IqtML'])||_0x4b8734[_0x4d99e4(0x179)](_0x141a22,_0x4b8734[_0x4d99e4(0x135)])))return logger['warn'](_0x4b8734['nGePe']),![];const _0x596a80=_0x4b8734[_0x4d99e4(0x14e)](parseInt,_0x554f12[_0x4d99e4(0x164)]);if(!(_0x4b8734['Fswqo'](_0x596a80,_0x4b8734[_0x4d99e4(0x156)])||_0x4b8734[_0x4d99e4(0x174)](_0x596a80,0x5e)))return logger['warn'](_0x4b8734['khOiH']),![];}catch(_0x30e728){logger[_0x4d99e4(0x132)](_0x4d99e4(0x153)+util[_0x4d99e4(0x127)](_0x30e728));}return!![];},exports[a34_0x32afa0(0x177)]=(_0x23b14a,_0x166010,_0x174a34)=>{const _0x318d40=a34_0x32afa0,_0x333fc0={'UWFLI':function(_0x2273fd){return _0x2273fd();},'pVEyc':_0x318d40(0x14d),'LdtOF':function(_0x31e7dd,_0x2ca6a2){return _0x31e7dd===_0x2ca6a2;},'IzFTD':_0x318d40(0x17d),'OmxkS':function(_0x4790f1,_0x4d45ee){return _0x4790f1===_0x4d45ee;},'rAGwc':_0x318d40(0x172),'VVrat':_0x318d40(0x16e),'VhwDA':_0x318d40(0x150),'WzbVx':function(_0x172ddf,_0x12ddf3){return _0x172ddf>_0x12ddf3;},'AKybw':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','CLPtY':function(_0x50c0a3,_0x3e9b5e){return _0x50c0a3(_0x3e9b5e);},'XhStL':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','fMDkT':function(_0x7d402d,_0x4b533b){return _0x7d402d+_0x4b533b;},'trqac':function(_0x2bf6a7,_0x229e65){return _0x2bf6a7(_0x229e65);}};try{if(_0x333fc0[_0x318d40(0x165)](isAccessibilityAutomationSession)){global[_0x318d40(0x133)]=!![];!_0x23b14a[_0x333fc0[_0x318d40(0x171)]]&&(global[_0x318d40(0x133)]=![]);!(_0x333fc0['LdtOF'](_0x23b14a[_0x318d40(0x16a)],_0x333fc0[_0x318d40(0x145)])||_0x333fc0[_0x318d40(0x140)](_0x23b14a['browserName'],_0x333fc0[_0x318d40(0x123)]))&&(logger['warn'](_0x333fc0[_0x318d40(0x168)]),global[_0x318d40(0x133)]=![]);!(_0x333fc0[_0x318d40(0x140)](_0x23b14a['browser_version'],_0x333fc0[_0x318d40(0x128)])||_0x333fc0[_0x318d40(0x12a)](_0x23b14a[_0x318d40(0x164)],0x5e))&&(logger['warn'](_0x333fc0[_0x318d40(0x131)]),global[_0x318d40(0x133)]=![]);!_0x333fc0['CLPtY'](isUndefined,_0x23b14a['deviceName'])&&(logger[_0x318d40(0x141)](_0x333fc0[_0x318d40(0x147)]),global['accessibilityPlatform']=![]);if(!global[_0x318d40(0x133)]){_0x23b14a[_0x333fc0[_0x318d40(0x171)]]=![];const _0x534422=_0x333fc0['fMDkT'](_0x166010,_0x333fc0[_0x318d40(0x16b)](encodeURIComponent,JSON[_0x318d40(0x173)](_0x23b14a)));_0x174a34&&(_0x174a34[_0x318d40(0x154)][_0x318d40(0x175)][_0x318d40(0x13f)][_0x318d40(0x163)][_0x318d40(0x17f)][_0x318d40(0x12c)]=_0x534422,_0x174a34[_0x318d40(0x138)][_0x318d40(0x13f)][_0x318d40(0x163)][_0x318d40(0x17f)]['wsEndpoint']=_0x534422);}}}catch(_0x240d49){logger[_0x318d40(0x132)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util['format'](_0x240d49));}};
1
+ const a34_0x3f88da=a34_0x3a6c;function a34_0x28fa(){const _0x119174=['cRxvI','1704955AwgZic','../../helpers/performance/performance-tester','workerInfo','executeAsyncScript','browserName','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','eqbov','12101040wNqnsr','format','aGOuj','use','44tCCVjn','accessibilityOptions.authToken','accessibilityPlatform','getAccessibilityResults','replace','63wNSfWT','(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','QhMCk','executeScript','accessibilityOptions.includeIssueType.needsReview','stringify','scannerProcessingTimeout','browserstack.accessibility','Playwright','gLngx','bstackSdkArgs','project','eeitL','debug','processAccessibilityCaps','wsEndpoint','bestPractice','mhRaM','connectOptions','GTgIi','1326084hbxQbF','VVIxe','winstonLogger','evaluate','wLYvz','ueKPG','accessibilityOptions','setAccessibilityCapabilities','cyxbU','util','No\x20accessibility\x20results\x20were\x20found.','FQKWg','xUitT','testInfo','PERFORM_SCAN','rHXpr','performScan','browserStackEvaluate','RrmnR','env','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','needsReview','accessibilityOptions.scannerProcessingTimeout','MQElP','EEtSd','deviceName','currentTest','cZyxK','IAktx','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','thoBj','platformValidation','2162192aFjTOd','295758jeAeLh','8rYefta','qczMl','warn','../../helpers/helper','6417828TsNmzW','Xubhe','wcagVersion','latest','BS_A11Y_JWT','hrYZe','browser_version','../../helpers/performance/constants','QJLUf','WebDriver','(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','OlHuv','name','4520QAZNqn','pAnqo','Zwats','zFZSd','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','playwright-chromium','constructor','command','uvQnf','inIQC','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','RtbUB','includeIssueType','chrome','CnXyf','../../helpers/accessibility-automation/helper','measureWrapper','../../helpers/logger','accessibilityOptions.includeIssueType.bestPractice'];a34_0x28fa=function(){return _0x119174;};return a34_0x28fa();}(function(_0x4981c3,_0x2df481){const _0x3cc0b2=a34_0x3a6c,_0x1fb81f=_0x4981c3();while(!![]){try{const _0x40ab9e=parseInt(_0x3cc0b2(0x206))/0x1*(parseInt(_0x3cc0b2(0x1ba))/0x2)+parseInt(_0x3cc0b2(0x1d3))/0x3+-parseInt(_0x3cc0b2(0x1f3))/0x4+parseInt(_0x3cc0b2(0x1af))/0x5+parseInt(_0x3cc0b2(0x1f4))/0x6*(-parseInt(_0x3cc0b2(0x1bf))/0x7)+-parseInt(_0x3cc0b2(0x1f5))/0x8*(parseInt(_0x3cc0b2(0x1f9))/0x9)+parseInt(_0x3cc0b2(0x1b6))/0xa;if(_0x40ab9e===_0x2df481)break;else _0x1fb81f['push'](_0x1fb81f['shift']());}catch(_0x1f9250){_0x1fb81f['push'](_0x1fb81f['shift']());}}}(a34_0x28fa,0x60816));const util=require(a34_0x3f88da(0x1dc)),logger=require(a34_0x3f88da(0x1ac))[a34_0x3f88da(0x1d5)],{isAccessibilityAutomationSession}=require(a34_0x3f88da(0x1aa)),{isUndefined}=require(a34_0x3f88da(0x1f8)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a34_0x3f88da(0x1b0)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x3f88da(0x200));function a34_0x3a6c(_0x544444,_0x305a37){const _0x28fadd=a34_0x28fa();return a34_0x3a6c=function(_0x3a6ccb,_0x540c8e){_0x3a6ccb=_0x3a6ccb-0x19c;let _0x2e1ddf=_0x28fadd[_0x3a6ccb];return _0x2e1ddf;},a34_0x3a6c(_0x544444,_0x305a37);}exports[a34_0x3f88da(0x1e4)]=async(_0x143bc2,_0x154012,_0x78dea={})=>{const _0x1efb46=a34_0x3f88da,_0x57eb19={};_0x57eb19['OlHuv']=_0x1efb46(0x1c9);const _0x4fff69=_0x57eb19;return await _0x143bc2[_0x1efb46(0x1d6)](_0x1efb46(0x1c0)+_0x154012[_0x1efb46(0x1be)](/arguments/g,_0x4fff69[_0x1efb46(0x204)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON['stringify'](_0x78dea)+')');},exports['browserStackExecuteDriver']=async(_0x4b74d1,_0x2cda94,_0x215d5e={})=>{const _0xec384=a34_0x3f88da,_0x5ec034={};_0x5ec034[_0xec384(0x1d7)]=function(_0x26d5ca,_0x12e956){return _0x26d5ca===_0x12e956;},_0x5ec034[_0xec384(0x1d0)]=_0xec384(0x202),_0x5ec034[_0xec384(0x1d8)]=function(_0x17db25,_0x24f6f0){return _0x17db25===_0x24f6f0;},_0x5ec034[_0xec384(0x1df)]=_0xec384(0x1c7),_0x5ec034[_0xec384(0x201)]=_0xec384(0x1c9);const _0x21ff7c=_0x5ec034;if(_0x21ff7c[_0xec384(0x1d7)](_0x4b74d1['constructor']['name'],_0x21ff7c[_0xec384(0x1d0)]))return await _0x4b74d1[_0xec384(0x1b2)](_0x2cda94,_0x215d5e);else{if(_0x21ff7c[_0xec384(0x1d8)](_0x4b74d1[_0xec384(0x1a1)][_0xec384(0x205)],_0x21ff7c[_0xec384(0x1df)]))return await _0x4b74d1[_0xec384(0x1c2)](_0xec384(0x203)+_0x2cda94[_0xec384(0x1be)](/arguments/g,_0x21ff7c['QJLUf'])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0xec384(0x1c4)](_0x215d5e)+')');}},exports[a34_0x3f88da(0x1da)]=async _0x42e6a9=>{const _0x353fb7=a34_0x3f88da,_0x1cdde0={};_0x1cdde0['PjOyU']='accessibilityOptions.wcagVersion',_0x1cdde0[_0x353fb7(0x1ae)]=_0x353fb7(0x1e9),_0x1cdde0[_0x353fb7(0x1cb)]=_0x353fb7(0x1ad),_0x1cdde0[_0x353fb7(0x19e)]=_0x353fb7(0x1c3),_0x1cdde0['cyxbU']=_0x353fb7(0x1bb),_0x1cdde0[_0x353fb7(0x1fe)]='accessibilityOptions.scannerVersion';const _0x221e1f=_0x1cdde0;_0x42e6a9[_0x353fb7(0x1d9)]&&(_0x42e6a9[_0x353fb7(0x1d9)][_0x353fb7(0x1fb)]&&(_0x42e6a9[_0x221e1f['PjOyU']]=_0x42e6a9['accessibilityOptions'][_0x353fb7(0x1fb)]),_0x42e6a9[_0x353fb7(0x1d9)][_0x353fb7(0x1c5)]&&(_0x42e6a9[_0x221e1f[_0x353fb7(0x1ae)]]=_0x42e6a9[_0x353fb7(0x1d9)][_0x353fb7(0x1c5)]),_0x42e6a9['accessibilityOptions'][_0x353fb7(0x1a7)]&&(_0x42e6a9[_0x221e1f['eeitL']]=_0x42e6a9[_0x353fb7(0x1d9)]['includeIssueType'][_0x353fb7(0x1cf)],_0x42e6a9[_0x221e1f['zFZSd']]=_0x42e6a9['accessibilityOptions'][_0x353fb7(0x1a7)][_0x353fb7(0x1e8)]));const _0x13b8f9=JSON['parse'](process[_0x353fb7(0x1e6)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])['scannerVersion'];_0x42e6a9[_0x221e1f[_0x353fb7(0x1db)]]=process[_0x353fb7(0x1e6)][_0x353fb7(0x1fd)],_0x42e6a9[_0x221e1f[_0x353fb7(0x1fe)]]=_0x13b8f9,delete _0x42e6a9[_0x353fb7(0x1d9)];},exports[a34_0x3f88da(0x1bd)]=async _0x409c64=>{const _0x662f13=a34_0x3f88da,_0x32de86={};_0x32de86['CnXyf']=_0x662f13(0x1dd),_0x32de86[_0x662f13(0x19d)]=_0x662f13(0x1b4);const _0xe03589=_0x32de86;if(global[_0x662f13(0x1bc)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x409c64,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x409c64,scripts.getResults);})();return res;}catch{return logger['error'](_0xe03589[_0x662f13(0x1a9)]),[];}else return logger[_0x662f13(0x1f7)](_0xe03589[_0x662f13(0x19d)]),[];},exports[a34_0x3f88da(0x1e3)]=async(_0xf428d3,_0x1c7578='')=>{const _0xf49558=a34_0x3f88da;if(global[_0xf49558(0x1bc)])return await PerformanceTester[_0xf49558(0x1ab)](PerformanceA11yEvents[_0xf49558(0x1e1)],async()=>{const _0x7d3363=_0xf49558,_0x511d18={};_0x511d18[_0x7d3363(0x1a2)]=_0x1c7578,await exports[_0x7d3363(0x1e4)](_0xf428d3,scripts[_0x7d3363(0x1e3)],_0x511d18);},{'command':_0x1c7578})();},exports['getAccessibilityResultsSummary']=async _0xa1413=>{const _0xbbb14a=a34_0x3f88da,_0x2d3e0c={};_0x2d3e0c[_0xbbb14a(0x1f1)]='No\x20summaryResults\x20found.',_0x2d3e0c[_0xbbb14a(0x1c1)]=_0xbbb14a(0x1a5);const _0x8757d5=_0x2d3e0c;if(global['accessibilityPlatform'])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0xa1413,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0xa1413,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0xbbb14a(0x1cc)](_0x8757d5['thoBj']),{};}else return logger[_0xbbb14a(0x1f7)](_0x8757d5[_0xbbb14a(0x1c1)]),{};},exports[a34_0x3f88da(0x1f2)]=async _0x292ded=>{const _0x4be91e=a34_0x3f88da,_0x5b4060={'Xubhe':function(_0x1d72ec,_0x1e689d){return _0x1d72ec!==_0x1e689d;},'OFmwE':_0x4be91e(0x19f),'eqbov':function(_0x486e0d,_0x58cc3a){return _0x486e0d===_0x58cc3a;},'khuiw':_0x4be91e(0x1a8),'gYFtL':_0x4be91e(0x1a0),'GTgIi':_0x4be91e(0x1f0),'gLngx':function(_0x554cf5,_0x289f75){return _0x554cf5(_0x289f75);},'MQElP':function(_0x3e84fa,_0x2a29af){return _0x3e84fa===_0x2a29af;},'rHXpr':_0x4be91e(0x1fc),'nQbXN':function(_0x29146d,_0x17f74c){return _0x29146d>_0x17f74c;},'BkFxG':_0x4be91e(0x1e7)};try{if(!_0x5b4060[_0x4be91e(0x1fa)](_0x292ded[_0x4be91e(0x1ec)],''))return logger[_0x4be91e(0x1f7)](_0x5b4060['OFmwE']),![];const _0x25fac1=_0x292ded['browser'];if(!(_0x5b4060[_0x4be91e(0x1b5)](_0x25fac1,_0x5b4060['khuiw'])||_0x5b4060[_0x4be91e(0x1b5)](_0x25fac1,_0x5b4060['gYFtL'])))return logger[_0x4be91e(0x1f7)](_0x5b4060[_0x4be91e(0x1d2)]),![];const _0x4969dd=_0x5b4060[_0x4be91e(0x1c8)](parseInt,_0x292ded[_0x4be91e(0x1ff)]);if(!(_0x5b4060[_0x4be91e(0x1ea)](_0x4969dd,_0x5b4060[_0x4be91e(0x1e2)])||_0x5b4060['nQbXN'](_0x4969dd,0x5e)))return logger['warn'](_0x5b4060['BkFxG']),![];}catch(_0x59c8c8){logger[_0x4be91e(0x1cc)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util['format'](_0x59c8c8));}return!![];},exports[a34_0x3f88da(0x1cd)]=(_0x25a2f2,_0x1e117c,_0x48a2ac)=>{const _0x5919a7=a34_0x3f88da,_0x287278={'uvQnf':function(_0x21a285){return _0x21a285();},'pAnqo':_0x5919a7(0x1c6),'FQKWg':function(_0x37876b,_0x19b307){return _0x37876b===_0x19b307;},'aGOuj':_0x5919a7(0x1a8),'IAktx':_0x5919a7(0x1a0),'cZyxK':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','RrmnR':function(_0x2bd237,_0xab0bcc){return _0x2bd237===_0xab0bcc;},'RtbUB':_0x5919a7(0x1fc),'inIQC':function(_0x1f48f4,_0x57c90c){return _0x1f48f4>_0x57c90c;},'qczMl':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','VVIxe':function(_0x4d0420,_0x11a5db){return _0x4d0420(_0x11a5db);},'EEtSd':_0x5919a7(0x19f),'IcSer':function(_0x25c60d,_0x1994cc){return _0x25c60d+_0x1994cc;}};try{if(_0x287278[_0x5919a7(0x1a3)](isAccessibilityAutomationSession)){global[_0x5919a7(0x1bc)]=!![];!_0x25a2f2[_0x287278[_0x5919a7(0x19c)]]&&(global[_0x5919a7(0x1bc)]=![]);!(_0x287278['FQKWg'](_0x25a2f2[_0x5919a7(0x1b3)],_0x287278[_0x5919a7(0x1b8)])||_0x287278[_0x5919a7(0x1de)](_0x25a2f2['browserName'],_0x287278[_0x5919a7(0x1ef)]))&&(logger[_0x5919a7(0x1f7)](_0x287278[_0x5919a7(0x1ee)]),global['accessibilityPlatform']=![]);!(_0x287278[_0x5919a7(0x1e5)](_0x25a2f2['browser_version'],_0x287278[_0x5919a7(0x1a6)])||_0x287278[_0x5919a7(0x1a4)](_0x25a2f2[_0x5919a7(0x1ff)],0x5e))&&(logger['warn'](_0x287278[_0x5919a7(0x1f6)]),global['accessibilityPlatform']=![]);!_0x287278[_0x5919a7(0x1d4)](isUndefined,_0x25a2f2[_0x5919a7(0x1ec)])&&(logger[_0x5919a7(0x1f7)](_0x287278[_0x5919a7(0x1eb)]),global[_0x5919a7(0x1bc)]=![]);if(!global[_0x5919a7(0x1bc)]){_0x25a2f2[_0x287278[_0x5919a7(0x19c)]]=![];const _0x3a2c53=_0x287278['IcSer'](_0x1e117c,_0x287278['VVIxe'](encodeURIComponent,JSON[_0x5919a7(0x1c4)](_0x25a2f2)));_0x48a2ac&&(_0x48a2ac[_0x5919a7(0x1ed)][_0x5919a7(0x1e0)][_0x5919a7(0x1ca)][_0x5919a7(0x1b9)][_0x5919a7(0x1d1)][_0x5919a7(0x1ce)]=_0x3a2c53,_0x48a2ac[_0x5919a7(0x1b1)][_0x5919a7(0x1ca)][_0x5919a7(0x1b9)][_0x5919a7(0x1d1)][_0x5919a7(0x1ce)]=_0x3a2c53);}}}catch(_0x4bace0){logger[_0x5919a7(0x1cc)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x5919a7(0x1b7)](_0x4bace0));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a35_0x2f9b(_0x49f437,_0x381fd0){const _0x54e94d=a35_0x54e9();return a35_0x2f9b=function(_0x2f9b15,_0x472020){_0x2f9b15=_0x2f9b15-0xf2;let _0x210118=_0x54e94d[_0x2f9b15];return _0x210118;},a35_0x2f9b(_0x49f437,_0x381fd0);}const a35_0x46adac=a35_0x2f9b;(function(_0xb5cd25,_0x345ad7){const _0x2bbe76=a35_0x2f9b,_0x7c87bf=_0xb5cd25();while(!![]){try{const _0x43d814=parseInt(_0x2bbe76(0x106))/0x1*(-parseInt(_0x2bbe76(0x125))/0x2)+-parseInt(_0x2bbe76(0x17f))/0x3+-parseInt(_0x2bbe76(0x11c))/0x4+parseInt(_0x2bbe76(0x108))/0x5*(-parseInt(_0x2bbe76(0xf2))/0x6)+parseInt(_0x2bbe76(0x13f))/0x7+-parseInt(_0x2bbe76(0x115))/0x8+parseInt(_0x2bbe76(0x189))/0x9;if(_0x43d814===_0x345ad7)break;else _0x7c87bf['push'](_0x7c87bf['shift']());}catch(_0x4aefb6){_0x7c87bf['push'](_0x7c87bf['shift']());}}}(a35_0x54e9,0xf3719));const fs=require('fs'),path=require('path'),{spawn}=require(a35_0x46adac(0x167)),{format}=require(a35_0x46adac(0x17a)),logger=require(a35_0x46adac(0xfd))[a35_0x46adac(0xfc)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a35_0x46adac(0x141)),utilities=require(a35_0x46adac(0x12a)),constants=require(a35_0x46adac(0x131)),{FRAMEWORKS}=require(a35_0x46adac(0x110)),{getConfigLoaderPath}=require(a35_0x46adac(0x10d)),{checkAccessibilityPlatformConfig}=require(a35_0x46adac(0x188)),{setAccessibilityCapabilities}=require(a35_0x46adac(0x15f)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a35_0x46adac(0x11d)),PerformanceEvents=require('../../helpers/performance/constants')[a35_0x46adac(0x146)],getUserPlaywrightConfig=async(_0x7bf9f7,_0xd17cb7)=>{const _0x104464=a35_0x46adac,_0x3d2050={'qkDPw':function(_0xe5955c){return _0xe5955c();},'jMxXE':function(_0x5ddbb2,_0x3b3e56){return _0x5ddbb2(_0x3b3e56);},'xaUBG':_0x104464(0xfb),'yEJXJ':_0x104464(0x169)},_0x28b6d9=!helper['isUndefined'](_0x7bf9f7['config']),_0x280de0=_0x28b6d9?path[_0x104464(0x149)](process[_0x104464(0x164)](),_0x7bf9f7[_0x104464(0x178)]):process[_0x104464(0x164)](),{resolveConfigFile:_0x3834ab,resolveConfigLocation:_0x12cdaa}=helper['requirePWModule'][_0x104464(0x112)](null,_0x3d2050[_0x104464(0xff)](getConfigLoaderPath)),_0x4f73a4=_0x3834ab?_0x3d2050[_0x104464(0x176)](_0x3834ab,_0x280de0):helper[_0x104464(0x17e)](_0x3d2050['jMxXE'](_0x12cdaa,_0x280de0),[_0x3d2050[_0x104464(0x144)]]),_0x1be07c={};if(_0x28b6d9){const _0x4158e9=_0xd17cb7[_0x104464(0x122)](_0x78ba30=>_0x78ba30===_0x104464(0x140)||_0x78ba30==='-c'||_0x78ba30['startsWith'](_0x104464(0x169)));_0xd17cb7['splice'](_0x4158e9,_0xd17cb7[_0x4158e9]['startsWith'](_0x3d2050[_0x104464(0x17b)])?0x1:0x2);}const _0x1ee8c9={};return _0x1ee8c9['path']=_0x4f73a4,_0x1ee8c9[_0x104464(0x178)]=_0x1be07c,_0x1ee8c9;},handleO11yRerun=_0x33833c=>{const _0x238cf=a35_0x46adac,_0x256cf1={};_0x256cf1[_0x238cf(0x101)]=_0x238cf(0x166);const _0x241f9c=_0x256cf1,_0x248033=helper[_0x238cf(0xfe)](process[_0x238cf(0x183)][_0x238cf(0x136)]);if(_0x248033){const _0x2bcca5=process[_0x238cf(0x183)][_0x238cf(0x18a)],_0x2bafce=[];if(helper['validateRerunTestList'](_0x2bcca5)&&!helper[_0x238cf(0x156)](_0x2bcca5)){_0x2bcca5[_0x238cf(0x16b)](',')[_0x238cf(0x148)](_0xebb4b6=>{const _0x125d01=_0x238cf;_0x2bafce['push']('('+_0xebb4b6[_0x125d01(0x17d)]()+')');});const _0x416cbc='^'+_0x2bafce[_0x238cf(0x13e)]('|')+'$';_0x33833c[_0x238cf(0x123)](_0x241f9c[_0x238cf(0x101)],_0x416cbc);}}},spawnOriginalProcess=_0x2ab4e9=>{const _0x1d3651=a35_0x46adac,_0xc811ed={'ivwfT':function(_0x413d43,_0xfbd07,_0x4b9c8d,_0x35605c){return _0x413d43(_0xfbd07,_0x4b9c8d,_0x35605c);},'RGFhB':'npx','ZMDki':_0x1d3651(0x139),'MHKnf':function(_0x479cf8,_0x16d0ea){return _0x479cf8===_0x16d0ea;},'FCwIW':_0x1d3651(0xf7),'qXZNO':'inherit'};_0xc811ed['ivwfT'](spawn,_0xc811ed['RGFhB'],[_0xc811ed[_0x1d3651(0xf3)],..._0x2ab4e9[_0x1d3651(0x103)](0x1)],{'shell':_0xc811ed[_0x1d3651(0x104)](process[_0x1d3651(0x173)],_0xc811ed[_0x1d3651(0x11e)]),'stdio':_0xc811ed[_0x1d3651(0x162)],'cwd':process[_0x1d3651(0x164)]()});},isTestCommand=(_0x1e00e3,_0x628899)=>{const _0x28357e=a35_0x46adac,_0x703082={};_0x703082[_0x28357e(0x10b)]=function(_0x47c5c5,_0x199b47){return _0x47c5c5>_0x199b47;},_0x703082['LGfDM']=function(_0x39d809,_0x461fab){return _0x39d809===_0x461fab;},_0x703082[_0x28357e(0x14d)]=_0x28357e(0x14f);const _0x324d94=_0x703082;if(_0x324d94['mffva'](_0x628899[_0x28357e(0x172)],0x1)&&_0x324d94[_0x28357e(0x13d)](_0x628899[0x1],_0x324d94[_0x28357e(0x14d)]))return!![];return![];};async function run(_0x56ea80,_0x87647e){const _0x4fb854=a35_0x46adac,_0x651b9={'XlMTo':function(_0x31a499,_0xb7626d){return _0x31a499(_0xb7626d);},'kTDch':_0x4fb854(0x16a),'HoMgC':'pw_result.json','ZKpmM':function(_0x23d7db,_0x310e0e){return _0x23d7db+_0x310e0e;},'znvaN':_0x4fb854(0x150),'uMhQM':_0x4fb854(0x16e),'IQVqC':function(_0xab2239){return _0xab2239();},'TcrdH':'Error\x20in\x20closing\x20playwright','TbToP':'BrowserStack\x20config\x20file\x20not\x20found.','lTUoZ':'automation','kxIIa':function(_0x3d9e47,_0x1e10bb){return _0x3d9e47!=_0x1e10bb;},'yfqKo':function(_0x26a730,_0x464fc9,_0x20c00b){return _0x26a730(_0x464fc9,_0x20c00b);},'aDntj':function(_0x4fdd95,_0x20b4af){return _0x4fdd95(_0x20b4af);},'NIuxj':function(_0x5b43a3,_0x35d83b){return _0x5b43a3===_0x35d83b;},'dOlMq':'true','PrnIe':'browserstackSetupConfig.json','Mture':_0x4fb854(0x184),'YHnHO':_0x4fb854(0x182),'pCZeO':function(_0x172cb3,_0x400a98){return _0x172cb3-_0x400a98;},'BYSnk':'Updated\x20config\x20file\x20name\x20to\x20-\x20','OueKx':function(_0xa0cb98,_0x38d862){return _0xa0cb98>_0x38d862;},'Rgrjd':function(_0x191cc6,_0xdf1498,_0x4b8dcf,_0x21b159){return _0x191cc6(_0xdf1498,_0x4b8dcf,_0x21b159);},'fGLfo':_0x4fb854(0x168),'hNrLm':_0x4fb854(0x139),'CYkdO':'test','yFQUP':_0x4fb854(0x140),'jfOsc':function(_0x31f650,_0x1b2df0){return _0x31f650===_0x1b2df0;},'EXjTl':_0x4fb854(0xf7),'njpWF':_0x4fb854(0x135),'RkLOG':_0x4fb854(0x11f),'KLqQT':_0x4fb854(0x127),'ppTjb':'false','IzrdF':'--disable-test-observability','XAxWK':function(_0x234923,_0x1ca664){return _0x234923>=_0x1ca664;},'zokNh':function(_0x1785a0,_0x5cfb69){return _0x1785a0+_0x5cfb69;},'yQMOf':_0x4fb854(0x155),'WBjqQ':function(_0x3daceb,_0x17732c,_0xb4ac6f){return _0x3daceb(_0x17732c,_0xb4ac6f);},'QsNcT':function(_0x5a086c,_0x24a554){return _0x5a086c(_0x24a554);}};!helper[_0x4fb854(0x11a)](process[_0x4fb854(0x183)][_0x4fb854(0x10c)])&&(process[_0x4fb854(0x183)]['BROWSERSTACK_AUTOMATION']=!![]);process['argv'][_0x4fb854(0x170)](_0x651b9[_0x4fb854(0xf6)])&&(process['env'][_0x4fb854(0x10c)]=_0x651b9['ppTjb'],_0x87647e=_0x87647e[_0x4fb854(0x124)](_0x48a1ec=>_0x48a1ec!=='--disable-browserstack-automation'));const _0x5f526a=_0x87647e['indexOf'](_0x651b9[_0x4fb854(0x187)]);_0x651b9['XAxWK'](_0x5f526a,0x0)&&(process[_0x4fb854(0x183)][_0x4fb854(0x147)]=_0x651b9['ppTjb'],_0x87647e=_0x87647e[_0x4fb854(0x124)](_0x302215=>_0x302215!==_0x4fb854(0x116)));try{const _0x52767c=path[_0x4fb854(0x13e)](helper[_0x4fb854(0x132)](),_0x651b9[_0x4fb854(0x180)],_0x651b9['HoMgC']);fs[_0x4fb854(0x151)](_0x52767c)&&fs[_0x4fb854(0xfa)](_0x52767c);}catch(_0x1c065e){logger[_0x4fb854(0xf5)](_0x651b9['zokNh'](_0x651b9['yQMOf'],_0x1c065e));}if(!_0x651b9['WBjqQ'](isTestCommand,_0x56ea80,_0x87647e)){_0x651b9[_0x4fb854(0x13c)](spawnOriginalProcess,_0x87647e);return;}const _0x549c13=new BrowserStackSetup(_0x56ea80,FRAMEWORKS[_0x4fb854(0x10f)]);await PerformanceTester['measureWrapper'](PerformanceEvents[_0x4fb854(0x117)],async()=>{const _0x3d8ae8=_0x4fb854,_0x2144a9={'NwcOR':_0x651b9[_0x3d8ae8(0x180)],'YcpaR':_0x651b9[_0x3d8ae8(0x143)],'QIaPW':function(_0x5b409e,_0x116e9c){const _0xaf3c0a=_0x3d8ae8;return _0x651b9[_0xaf3c0a(0x154)](_0x5b409e,_0x116e9c);},'aFkQx':_0x651b9['znvaN'],'XOwdE':_0x651b9['uMhQM'],'QoTCt':function(_0x4a7904){const _0xef5fb1=_0x3d8ae8;return _0x651b9[_0xef5fb1(0x120)](_0x4a7904);},'BKjus':_0x651b9[_0x3d8ae8(0x10e)]};if(!_0x549c13[_0x3d8ae8(0x178)]){logger[_0x3d8ae8(0x114)](_0x651b9[_0x3d8ae8(0x118)]);return;}await _0x549c13[_0x3d8ae8(0x15e)]();!helper[_0x3d8ae8(0x156)](_0x549c13[_0x3d8ae8(0x161)])&&_0x549c13[_0x3d8ae8(0x161)]['has'](_0x651b9[_0x3d8ae8(0x16f)])&&(process[_0x3d8ae8(0x183)]['BROWSERSTACK_AUTOMATION']=_0x549c13[_0x3d8ae8(0x161)][_0x3d8ae8(0x111)](_0x651b9[_0x3d8ae8(0x16f)])||!![]);_0x651b9[_0x3d8ae8(0x177)](_0x549c13[_0x3d8ae8(0x178)][_0x3d8ae8(0x137)],null)&&!helper[_0x3d8ae8(0xfe)](process['env']['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x3d8ae8(0x183)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x3d8ae8(0x183)][_0x3d8ae8(0x147)]||_0x549c13[_0x3d8ae8(0x178)][_0x3d8ae8(0x137)]);const _0x5df603=!helper[_0x3d8ae8(0x11a)](process[_0x3d8ae8(0x183)][_0x3d8ae8(0x147)]);let _0x176530=![];_0x549c13[_0x3d8ae8(0x178)][_0x3d8ae8(0x157)]&&(_0x176530=!![],process[_0x3d8ae8(0x183)][_0x3d8ae8(0x130)]=_0x549c13[_0x3d8ae8(0x178)]['accessibility']);_0x549c13[_0x3d8ae8(0x178)][_0x3d8ae8(0x138)]&&(process['env'][_0x3d8ae8(0x18b)]=JSON[_0x3d8ae8(0x175)](_0x549c13[_0x3d8ae8(0x178)]['accessibilityOptions']));const _0x3fba42=_0x87647e[_0x3d8ae8(0xf9)](),_0x2620f9=await _0x651b9[_0x3d8ae8(0x15b)](getUserPlaywrightConfig,_0x56ea80,_0x87647e);if(helper[_0x3d8ae8(0x156)](_0x2620f9)){_0x651b9[_0x3d8ae8(0x133)](spawnOriginalProcess,_0x3fba42);return;}const _0x1a9949=_0x2620f9[_0x3d8ae8(0x109)]?path[_0x3d8ae8(0x14e)](_0x2620f9[_0x3d8ae8(0x109)]):process[_0x3d8ae8(0x164)]();process[_0x3d8ae8(0x183)][_0x3d8ae8(0x160)]=_0x1a9949,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x3d8ae8(0x15c)],async()=>{const _0xff7f09=_0x3d8ae8;await TestHubHandler[_0xff7f09(0x163)](FRAMEWORKS[_0xff7f09(0x10f)],_0x549c13),_0x5df603&&_0x651b9['XlMTo'](handleO11yRerun,_0x87647e);})();let _0x3a488c=_0x651b9[_0x3d8ae8(0x126)](process[_0x3d8ae8(0x183)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x651b9[_0x3d8ae8(0x185)]);_0x3a488c=_0x3a488c||_0x651b9[_0x3d8ae8(0x152)](checkAccessibilityPlatformConfig,_0x549c13[_0x3d8ae8(0x178)]),process[_0x3d8ae8(0x183)][_0x3d8ae8(0x130)]=_0x3a488c;_0x3a488c&&_0x651b9[_0x3d8ae8(0x133)](setAccessibilityCapabilities,_0x549c13[_0x3d8ae8(0x178)]);const _0x1b9963=path[_0x3d8ae8(0x13e)](_0x2620f9[_0x3d8ae8(0x109)]?path['dirname'](_0x2620f9['path']):process[_0x3d8ae8(0x164)](),_0x651b9[_0x3d8ae8(0x102)]);fs[_0x3d8ae8(0x107)](_0x1b9963,helper['serializeToYamlString'](_0x549c13['config'])),process['env'][_0x3d8ae8(0x142)]=_0x1b9963,helper[_0x3d8ae8(0x16c)]();let _0x1cfe17='';_0x651b9[_0x3d8ae8(0x126)](helper[_0x3d8ae8(0x12c)](),constants[_0x3d8ae8(0x18e)]['MODULE'])?_0x1cfe17=_0x651b9[_0x3d8ae8(0x119)]:_0x1cfe17=_0x651b9['YHnHO'];let _0x53b990='';if(helper[_0x3d8ae8(0x14a)](_0x2620f9['path'])){_0x53b990='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0xd645a=_0x1cfe17['split']('.');_0xd645a[_0x651b9['pCZeO'](_0xd645a['length'],0x1)]='ts',_0x1cfe17=_0xd645a[_0x3d8ae8(0x13e)]('.'),logger[_0x3d8ae8(0xf5)](_0x651b9['ZKpmM'](_0x651b9[_0x3d8ae8(0x18d)],_0x1cfe17));}else _0x53b990=_0x3d8ae8(0x13a);const _0x2d527f=path['join'](_0x2620f9['path']?path[_0x3d8ae8(0x14e)](_0x2620f9[_0x3d8ae8(0x109)]):process[_0x3d8ae8(0x164)](),_0x1cfe17);let _0x29d951=_0x2620f9[_0x3d8ae8(0x109)]?_0x2620f9[_0x3d8ae8(0x109)]:'';_0x29d951=_0x651b9[_0x3d8ae8(0x134)](_0x29d951[_0x3d8ae8(0x172)],0x0)?path[_0x3d8ae8(0x149)](_0x29d951):'',process[_0x3d8ae8(0x183)]['USER_CONFIG_DETAILS_PATH']=_0x29d951;const _0x5602f2=helper['getProxyUrl'](_0x549c13[_0x3d8ae8(0x178)]);_0x5602f2&&(_0x53b990=_0x651b9['ZKpmM']('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x5602f2+_0x3d8ae8(0x129),_0x53b990));helper[_0x3d8ae8(0x11b)]({},_0x87647e),fs[_0x3d8ae8(0x107)](_0x2d527f,_0x53b990),PerformanceTester[_0x3d8ae8(0x15d)](PerformanceEvents['SDK_SETUP']);const _0x113f90=_0x651b9[_0x3d8ae8(0xf8)](spawn,_0x651b9[_0x3d8ae8(0x186)],[_0x651b9[_0x3d8ae8(0x18c)],_0x651b9[_0x3d8ae8(0x15a)],_0x651b9[_0x3d8ae8(0x121)],_0x2d527f,..._0x87647e[_0x3d8ae8(0x103)](0x2)],{'shell':_0x651b9[_0x3d8ae8(0x181)](process[_0x3d8ae8(0x173)],_0x651b9[_0x3d8ae8(0xf4)]),'stdio':_0x651b9[_0x3d8ae8(0x100)],'cwd':process['cwd'](),'env':Object[_0x3d8ae8(0x14b)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x3d8ae8(0x12d)](_0x56ea80),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x549c13[_0x3d8ae8(0x178)]['testContextOptions'][_0x3d8ae8(0x158)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x549c13[_0x3d8ae8(0x178)][_0x3d8ae8(0x113)][_0x3d8ae8(0x159)],'BROWSERSTACK_LOG_LEVEL':_0x549c13['config']['logLevel']})}),_0x1cd1a7=()=>{const _0x369741=_0x3d8ae8;try{const _0xaa1443=path[_0x369741(0x13e)](helper[_0x369741(0x132)](),_0x2144a9[_0x369741(0x171)],_0x2144a9[_0x369741(0x12f)]);if(fs[_0x369741(0x151)](_0xaa1443)){let _0x6ffef8=fs[_0x369741(0x17c)](_0xaa1443);_0x6ffef8=JSON[_0x369741(0x14c)](_0x6ffef8),_0x549c13[_0x369741(0x174)]=_0x6ffef8,fs[_0x369741(0xfa)](_0xaa1443);}}catch(_0x57d400){logger[_0x369741(0xf5)](_0x2144a9[_0x369741(0x165)](_0x2144a9[_0x369741(0x16d)],_0x57d400));}};_0x113f90['on'](_0x651b9['RkLOG'],async _0x9d1563=>{const _0x2985c3=_0x3d8ae8;try{const _0x5540d5=_0x2144a9[_0x2985c3(0x13b)][_0x2985c3(0x16b)]('|');let _0x4c80a1=0x0;while(!![]){switch(_0x5540d5[_0x4c80a1++]){case'0':PerformanceTester['start'](PerformanceEvents[_0x2985c3(0x145)]);continue;case'1':fs[_0x2985c3(0xfa)](_0x1b9963);continue;case'2':await utilities['finalExecution'](_0x549c13);continue;case'3':await TestHubHandler[_0x2985c3(0x179)]();continue;case'4':logger[_0x2985c3(0xf5)](_0x2985c3(0x12b)+_0x9d1563);continue;case'5':_0x2144a9[_0x2985c3(0x105)](_0x1cd1a7);continue;case'6':logger[_0x2985c3(0xf5)](_0x2985c3(0x12e)+_0x1b9963);continue;case'7':logger[_0x2985c3(0x128)]('Deleting\x20'+_0x2d527f);continue;case'8':process[_0x2985c3(0x10a)]=_0x9d1563;continue;case'9':fs[_0x2985c3(0xfa)](_0x2d527f);continue;}break;}}catch(_0x4bee9e){logger[_0x2985c3(0xf5)](_0x2144a9['QIaPW'](_0x2144a9[_0x2985c3(0x153)],_0x4bee9e));}});})();}function a35_0x54e9(){const _0x3520a5=['./accessibility-helper','BROWSERSTACK_PW_CONFIG_DIR','cliConfig','qXZNO','launchBuild','cwd','QIaPW','--grep','child_process','npx','--config=','.browserstack','split','clearTempPWConfig','aFkQx','0|5|3|2|8|4|7|9|6|1','lTUoZ','includes','NwcOR','length','platform','errorMessage','stringify','jMxXE','kxIIa','config','stop','util','yEJXJ','readFileSync','trim','nestedKeyValue','2738340hsvAgg','kTDch','jfOsc','playwright-browserstack-sdk.config.js','env','playwright-browserstack-sdk.config.cjs','dOlMq','fGLfo','IzrdF','../../helpers/accessibility-automation/helper','53498853YrJdsz','BROWSERSTACK_RERUN_TESTS','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','hNrLm','BYSnk','PACKAGE_TYPE','18vTpidA','ZMDki','EXjTl','debug','KLqQT','win32','Rgrjd','concat','unlinkSync','resolvedConfigFile','winstonLogger','../../helpers/logger','isTrue','qkDPw','njpWF','bHGYq','PrnIe','slice','MHKnf','QoTCt','1365022HkxBbC','writeFileSync','1701995wLsMNo','path','exitCode','mffva','BROWSERSTACK_AUTOMATION','./reporter/pwUtils','TcrdH','PLAYWRIGHT','../../helpers/test-observability/constants','get','apply','testContextOptions','error','12670912XGpuAq','--disable-test-observability','SDK_PRE_INITIALIZE','TbToP','Mture','isFalse','filterBrowserstackArgs','2934448WsZLqP','../../helpers/performance/performance-tester','FCwIW','close','IQVqC','yFQUP','findIndex','push','filter','2TFZLqF','NIuxj','--disable-browserstack-automation','info','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','../../helpers/utilities','Playwright\x20process\x20exited\x20with\x20code\x20','getPackageType','getConfigPath','Deleting\x20','YcpaR','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../utils/constants','homedir','aDntj','OueKx','inherit','BROWSERSTACK_RERUN','testObservability','accessibilityOptions','playwright','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','XOwdE','QsNcT','LGfDM','join','4685121PfOCul','--config','../../helpers/helper','BROWSERSTACK_SETUP_CONFIG_PATH','HoMgC','xaUBG','SDK_CLEANUP','EVENTS','BROWSERSTACK_TEST_OBSERVABILITY','map','resolve','isTypescriptProject','assign','parse','VChGi','dirname','test','Error\x20in\x20getting\x20funnel\x20data\x20results','existsSync','XlMTo','BKjus','ZKpmM','Error\x20in\x20deleting\x20playwright\x20results','isUndefined','accessibility','skipSessionStatus','skipSessionName','CYkdO','yfqKo','SDK_POST_INITIALIZE','end','initialize'];a35_0x54e9=function(){return _0x3520a5;};return a35_0x54e9();}module['exports']=run;
2
+ 'use strict';const a35_0x97f7c4=a35_0x8235;function a35_0x3098(){const _0x460f26=['../utils/constants','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','exports','trim','errorMessage','IyLwV','end','env','win32','FGRYw','bpNJj','LmbXl','../../helpers/performance/performance-tester','exitCode','xmLdJ','isFalse','isUndefined','pVAms','../../helpers/performance/constants','BrowserStack\x20config\x20file\x20not\x20found.','IlOcD','SDK_CLEANUP','.browserstack','npx','Jncsg','KTSQS','clearTempPWConfig','launchBuild','./accessibility-helper','debug','20484edEqmN','7HQORUS','pPbYL','weJEz','SDK_POST_INITIALIZE','start','info','--config','BROWSERSTACK_TEST_OBSERVABILITY','dirname','VHmKu','../../helpers/logger','2030175QkyukE','playwright-browserstack-sdk.config.js','pw_result.json','map','playwright-browserstack-sdk.config.cjs','wxkko','findIndex','sMtlv','0|2|1|6|3|8|4|5|7|9','true','startsWith','cwd','NBJos','esVoG','128ZAgEKK','getPackageType','LPyXQ','split','hoYlC','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','error','resolve','existsSync','--config=','assign','ubmug','measureWrapper','NQYah','\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();','child_process','hSKHg','--disable-test-observability','BROWSERSTACK_RERUN_TESTS','../../helpers/testhub/testhubHandler','70ZEjrol','pwfYp','stringify','accessibility','lHkKW','../../helpers/BrowserStackSetup','filter','HwnVZ','191817ksHncL','1851310HFLeBR','QvzLS','IAYxx','automation','../../helpers/helper','LWBwJ','NkkBm','config','browserstackSetupConfig.json','testObservability','homedir','qmAoH','YvaXc','njKQM','PACKAGE_TYPE','SDK_SETUP','thrYc','apply','../../helpers/accessibility-automation/helper','Deleting\x20','../../helpers/test-observability/constants','hePop','length','kEDYz','tBtNh','RZeCJ','concat','1631512XqpivE','platform','78136maYaUY','UFiYX','Playwright\x20process\x20exited\x20with\x20code\x20','BROWSERSTACK_AUTOMATION','validateRerunTestList','./reporter/pwUtils','lfioV','../../helpers/utilities','QTUlO','1668LlqVge','winstonLogger','6oIQeTG','isTypescriptProject','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','inherit','--disable-browserstack-automation','path','EOaPx','getProxyUrl','testContextOptions','USER_CONFIG_DETAILS_PATH','getConfigPath','FRZJR','slice','isTrue','BROWSERSTACK_SETUP_CONFIG_PATH','Kfqyf','QWqCf','BROWSERSTACK_TEST_ACCESSIBILITY_YML','test','filterBrowserstackArgs','GtUPa','sbOIV','close','requirePWModule','34815IHThUe','resolvedConfigFile','cliConfig','hFDVX','join','push','accessibilityOptions','EbDow','logLevel','playwright','skipSessionName','unlinkSync','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];a35_0x3098=function(){return _0x460f26;};return a35_0x3098();}function a35_0x8235(_0x179093,_0x18e2d8){const _0x30983d=a35_0x3098();return a35_0x8235=function(_0x8235fc,_0x38e2c7){_0x8235fc=_0x8235fc-0x9d;let _0x4d3fa9=_0x30983d[_0x8235fc];return _0x4d3fa9;},a35_0x8235(_0x179093,_0x18e2d8);}(function(_0x1ae19f,_0x2c778c){const _0x530a9d=a35_0x8235,_0x2b1139=_0x1ae19f();while(!![]){try{const _0x450db4=parseInt(_0x530a9d(0xf3))/0x1*(parseInt(_0x530a9d(0xa4))/0x2)+parseInt(_0x530a9d(0xf2))/0x3*(parseInt(_0x530a9d(0x10c))/0x4)+-parseInt(_0x530a9d(0x129))/0x5*(parseInt(_0x530a9d(0xaf))/0x6)+-parseInt(_0x530a9d(0xfe))/0x7+-parseInt(_0x530a9d(0xa2))/0x8+parseInt(_0x530a9d(0x128))/0x9*(parseInt(_0x530a9d(0x120))/0xa)+-parseInt(_0x530a9d(0xc7))/0xb*(-parseInt(_0x530a9d(0xad))/0xc);if(_0x450db4===_0x2c778c)break;else _0x2b1139['push'](_0x2b1139['shift']());}catch(_0x6ba370){_0x2b1139['push'](_0x2b1139['shift']());}}}(a35_0x3098,0x34f28));const fs=require('fs'),path=require(a35_0x97f7c4(0xb4)),{spawn}=require(a35_0x97f7c4(0x11b)),{format}=require('util'),logger=require(a35_0x97f7c4(0xfd))[a35_0x97f7c4(0xae)],{default:BrowserStackSetup}=require(a35_0x97f7c4(0x125)),helper=require(a35_0x97f7c4(0x12d)),utilities=require(a35_0x97f7c4(0xab)),constants=require(a35_0x97f7c4(0xd4)),{FRAMEWORKS}=require(a35_0x97f7c4(0x13d)),{getConfigLoaderPath}=require(a35_0x97f7c4(0xa9)),{checkAccessibilityPlatformConfig}=require(a35_0x97f7c4(0x13b)),{setAccessibilityCapabilities}=require(a35_0x97f7c4(0xf0)),TestHubHandler=require(a35_0x97f7c4(0x11f)),PerformanceTester=require(a35_0x97f7c4(0xe0)),PerformanceEvents=require(a35_0x97f7c4(0xe6))['EVENTS'],getUserPlaywrightConfig=async(_0x51f180,_0x4c5c52)=>{const _0x268033=a35_0x97f7c4,_0x1f5caf={'HEfjE':function(_0x254924){return _0x254924();},'QvzLS':function(_0x3c570f,_0x4d953c){return _0x3c570f(_0x4d953c);},'bpNJj':_0x268033(0xc8),'hePop':_0x268033(0x115)},_0x5d46d4=!helper[_0x268033(0xe4)](_0x51f180['config']),_0x5c5161=_0x5d46d4?path[_0x268033(0x113)](process[_0x268033(0x109)](),_0x51f180['config']):process[_0x268033(0x109)](),{resolveConfigFile:_0x506ada,resolveConfigLocation:_0x257f3b}=helper[_0x268033(0xc6)][_0x268033(0x13a)](null,_0x1f5caf['HEfjE'](getConfigLoaderPath)),_0x5bbb00=_0x506ada?_0x1f5caf['QvzLS'](_0x506ada,_0x5c5161):helper['nestedKeyValue'](_0x1f5caf[_0x268033(0x12a)](_0x257f3b,_0x5c5161),[_0x1f5caf[_0x268033(0xde)]]),_0x4c97d0={};if(_0x5d46d4){const _0x1f48f6=_0x4c5c52[_0x268033(0x104)](_0x4b39f1=>_0x4b39f1===_0x268033(0xf9)||_0x4b39f1==='-c'||_0x4b39f1['startsWith'](_0x268033(0x115)));_0x4c5c52['splice'](_0x1f48f6,_0x4c5c52[_0x1f48f6][_0x268033(0x108)](_0x1f5caf[_0x268033(0x13e)])?0x1:0x2);}const _0x27a4ea={};return _0x27a4ea[_0x268033(0xb4)]=_0x5bbb00,_0x27a4ea[_0x268033(0x130)]=_0x4c97d0,_0x27a4ea;},handleO11yRerun=_0x54651f=>{const _0x541238=a35_0x97f7c4,_0x2f656b={};_0x2f656b['CgPhh']='--grep';const _0xe53100=_0x2f656b,_0xc5495=helper[_0x541238(0xbc)](process[_0x541238(0xdb)]['BROWSERSTACK_RERUN']);if(_0xc5495){const _0x3e7191=process[_0x541238(0xdb)][_0x541238(0x11e)],_0x5a3029=[];if(helper[_0x541238(0xa8)](_0x3e7191)&&!helper['isUndefined'](_0x3e7191)){_0x3e7191['split'](',')[_0x541238(0x101)](_0xc3cda6=>{const _0x588388=_0x541238;_0x5a3029['push']('('+_0xc3cda6[_0x588388(0xd7)]()+')');});const _0xccaa77='^'+_0x5a3029[_0x541238(0xcb)]('|')+'$';_0x54651f[_0x541238(0xcc)](_0xe53100['CgPhh'],_0xccaa77);}}},spawnOriginalProcess=_0x314b2c=>{const _0x4948ed=a35_0x97f7c4,_0x4f5245={'lLWrM':function(_0x3963c8,_0x390bdb,_0x594206,_0x5352a2){return _0x3963c8(_0x390bdb,_0x594206,_0x5352a2);},'QWqCf':_0x4948ed(0xeb),'vzXqL':_0x4948ed(0xd0),'UFiYX':function(_0x316f9b,_0x23f7fd){return _0x316f9b===_0x23f7fd;},'FRZJR':_0x4948ed(0xdc),'kEDYz':'inherit'};_0x4f5245['lLWrM'](spawn,_0x4f5245[_0x4948ed(0xbf)],[_0x4f5245['vzXqL'],..._0x314b2c[_0x4948ed(0xbb)](0x1)],{'shell':_0x4f5245[_0x4948ed(0xa5)](process[_0x4948ed(0xa3)],_0x4f5245[_0x4948ed(0xba)]),'stdio':_0x4f5245[_0x4948ed(0x9e)],'cwd':process[_0x4948ed(0x109)]()});},isTestCommand=(_0x199765,_0x34a957)=>{const _0x499c98=a35_0x97f7c4,_0x57bc81={};_0x57bc81['sMtlv']=function(_0x491d41,_0x30c81e){return _0x491d41>_0x30c81e;},_0x57bc81[_0x499c98(0x9f)]=function(_0x121e5b,_0x41bc8e){return _0x121e5b===_0x41bc8e;},_0x57bc81[_0x499c98(0x103)]=_0x499c98(0xc1);const _0x5cad71=_0x57bc81;if(_0x5cad71[_0x499c98(0x105)](_0x34a957[_0x499c98(0x9d)],0x1)&&_0x5cad71['tBtNh'](_0x34a957[0x1],_0x5cad71[_0x499c98(0x103)]))return!![];return![];};async function run(_0x4514c2,_0x2103e1){const _0x467250=a35_0x97f7c4,_0x2a21ee={'IAYxx':function(_0x8e2ca4,_0x3f9598){return _0x8e2ca4(_0x3f9598);},'NBJos':_0x467250(0xea),'YvaXc':_0x467250(0x100),'FGRYw':function(_0x4e49db,_0x351f61){return _0x4e49db+_0x351f61;},'hoYlC':'Error\x20in\x20getting\x20funnel\x20data\x20results','esVoG':_0x467250(0x106),'qmAoH':function(_0x566f0f){return _0x566f0f();},'LPyXQ':'Error\x20in\x20closing\x20playwright','KTSQS':_0x467250(0xe7),'VHmKu':_0x467250(0x12c),'TagWb':function(_0x3c1ab9,_0x51320b){return _0x3c1ab9!=_0x51320b;},'pVAms':function(_0xb1fb78,_0x57d7ed,_0x19e776){return _0xb1fb78(_0x57d7ed,_0x19e776);},'lHkKW':function(_0x3dfe12,_0x1778fb){return _0x3dfe12===_0x1778fb;},'BKKNV':_0x467250(0x107),'njKQM':function(_0x26d2b7,_0x5df57d){return _0x26d2b7(_0x5df57d);},'hSKHg':function(_0x2c6690,_0xf837ad){return _0x2c6690(_0xf837ad);},'EOaPx':_0x467250(0x131),'feXoS':function(_0x5375b7,_0x2a2b52){return _0x5375b7===_0x2a2b52;},'sbOIV':_0x467250(0x102),'NQYah':_0x467250(0xff),'cZSKP':function(_0x1fe284,_0x2d9258){return _0x1fe284-_0x2d9258;},'pwfYp':function(_0xc50ee8,_0x4faa9c){return _0xc50ee8+_0x4faa9c;},'Jncsg':'Updated\x20config\x20file\x20name\x20to\x20-\x20','ibyap':function(_0x2a480a,_0x226049){return _0x2a480a>_0x226049;},'xmLdJ':function(_0x3648eb,_0x1eb578){return _0x3648eb+_0x1eb578;},'LWBwJ':function(_0x38c573,_0x17f777,_0x25fe35,_0x2a94aa){return _0x38c573(_0x17f777,_0x25fe35,_0x2a94aa);},'NXjun':'npx','LmbXl':_0x467250(0xd0),'RZeCJ':_0x467250(0xc1),'EbDow':_0x467250(0xf9),'WiEXf':_0x467250(0xdc),'lfioV':_0x467250(0xb2),'KvZLB':_0x467250(0xc5),'GtUPa':_0x467250(0xb3),'NkkBm':'false','QTUlO':_0x467250(0x11d),'hFDVX':function(_0x12c281,_0x5055c4){return _0x12c281>=_0x5055c4;},'Kfqyf':function(_0x576c80,_0xf3bdf4){return _0x576c80+_0xf3bdf4;},'aLcTk':'Error\x20in\x20deleting\x20playwright\x20results','HwnVZ':function(_0x3df41d,_0x2b7e01,_0x208413){return _0x3df41d(_0x2b7e01,_0x208413);},'SVjJh':function(_0x36b68d,_0x3033f1){return _0x36b68d(_0x3033f1);}};!helper[_0x467250(0xe3)](process[_0x467250(0xdb)][_0x467250(0xa7)])&&(process[_0x467250(0xdb)][_0x467250(0xa7)]=!![]);process['argv']['includes'](_0x2a21ee[_0x467250(0xc3)])&&(process[_0x467250(0xdb)][_0x467250(0xa7)]=_0x2a21ee[_0x467250(0x12f)],_0x2103e1=_0x2103e1[_0x467250(0x126)](_0x41eeaf=>_0x41eeaf!==_0x467250(0xb3)));const _0x23fbbf=_0x2103e1['indexOf'](_0x2a21ee[_0x467250(0xac)]);_0x2a21ee[_0x467250(0xca)](_0x23fbbf,0x0)&&(process['env'][_0x467250(0xfa)]=_0x2a21ee['NkkBm'],_0x2103e1=_0x2103e1[_0x467250(0x126)](_0x1a0cb4=>_0x1a0cb4!=='--disable-test-observability'));try{const _0x3b49f6=path[_0x467250(0xcb)](helper[_0x467250(0x133)](),_0x2a21ee['NBJos'],_0x2a21ee[_0x467250(0x135)]);fs[_0x467250(0x114)](_0x3b49f6)&&fs['unlinkSync'](_0x3b49f6);}catch(_0x25b593){logger[_0x467250(0xf1)](_0x2a21ee[_0x467250(0xbe)](_0x2a21ee['aLcTk'],_0x25b593));}if(!_0x2a21ee[_0x467250(0x127)](isTestCommand,_0x4514c2,_0x2103e1)){_0x2a21ee['SVjJh'](spawnOriginalProcess,_0x2103e1);return;}const _0x156713=new BrowserStackSetup(_0x4514c2,FRAMEWORKS['PLAYWRIGHT']);await PerformanceTester[_0x467250(0x118)](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x5b42ad=_0x467250,_0x260161={'pPbYL':function(_0x3980cd,_0x2defad){const _0x24eee3=a35_0x8235;return _0x2a21ee[_0x24eee3(0x12b)](_0x3980cd,_0x2defad);},'TLbRD':_0x2a21ee[_0x5b42ad(0x10a)],'weJEz':_0x2a21ee[_0x5b42ad(0x135)],'thrYc':function(_0x3cec8b,_0x3b1451){const _0x23e8ae=_0x5b42ad;return _0x2a21ee[_0x23e8ae(0xdd)](_0x3cec8b,_0x3b1451);},'ubmug':_0x2a21ee[_0x5b42ad(0x110)],'IyLwV':_0x2a21ee[_0x5b42ad(0x10b)],'IlOcD':function(_0xac63f9){const _0x139578=_0x5b42ad;return _0x2a21ee[_0x139578(0x134)](_0xac63f9);},'KoRMs':_0x2a21ee[_0x5b42ad(0x10e)]};if(!_0x156713[_0x5b42ad(0x130)]){logger[_0x5b42ad(0x112)](_0x2a21ee[_0x5b42ad(0xed)]);return;}await _0x156713['initialize']();!helper[_0x5b42ad(0xe4)](_0x156713[_0x5b42ad(0xc9)])&&_0x156713[_0x5b42ad(0xc9)]['has'](_0x2a21ee[_0x5b42ad(0xfc)])&&(process[_0x5b42ad(0xdb)]['BROWSERSTACK_AUTOMATION']=_0x156713[_0x5b42ad(0xc9)]['get'](_0x2a21ee[_0x5b42ad(0xfc)])||!![]);_0x2a21ee['TagWb'](_0x156713[_0x5b42ad(0x130)][_0x5b42ad(0x132)],null)&&!helper['isTrue'](process['env'][_0x5b42ad(0xfa)])&&(process[_0x5b42ad(0xdb)][_0x5b42ad(0xfa)]=process[_0x5b42ad(0xdb)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x156713[_0x5b42ad(0x130)][_0x5b42ad(0x132)]);const _0x2afeb2=!helper['isFalse'](process[_0x5b42ad(0xdb)][_0x5b42ad(0xfa)]);let _0x308695=![];_0x156713[_0x5b42ad(0x130)][_0x5b42ad(0x123)]&&(_0x308695=!![],process[_0x5b42ad(0xdb)][_0x5b42ad(0xc0)]=_0x156713['config'][_0x5b42ad(0x123)]);_0x156713[_0x5b42ad(0x130)]['accessibilityOptions']&&(process[_0x5b42ad(0xdb)][_0x5b42ad(0xd3)]=JSON[_0x5b42ad(0x122)](_0x156713['config'][_0x5b42ad(0xcd)]));const _0x5eab3c=_0x2103e1[_0x5b42ad(0xa1)](),_0xd9cb8b=await _0x2a21ee[_0x5b42ad(0xe5)](getUserPlaywrightConfig,_0x4514c2,_0x2103e1);if(helper[_0x5b42ad(0xe4)](_0xd9cb8b)){_0x2a21ee['IAYxx'](spawnOriginalProcess,_0x5eab3c);return;}const _0x2d2c39=_0xd9cb8b['path']?path[_0x5b42ad(0xfb)](_0xd9cb8b['path']):process[_0x5b42ad(0x109)]();process[_0x5b42ad(0xdb)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x2d2c39,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x5b42ad(0xf6)],async()=>{const _0x56d3c5=_0x5b42ad;await TestHubHandler[_0x56d3c5(0xef)](FRAMEWORKS['PLAYWRIGHT'],_0x156713),_0x2afeb2&&_0x260161[_0x56d3c5(0xf4)](handleO11yRerun,_0x2103e1);})();let _0x1dc233=_0x2a21ee[_0x5b42ad(0x124)](process[_0x5b42ad(0xdb)][_0x5b42ad(0xc0)],_0x2a21ee['BKKNV']);_0x1dc233=_0x1dc233||_0x2a21ee[_0x5b42ad(0x136)](checkAccessibilityPlatformConfig,_0x156713[_0x5b42ad(0x130)]),process[_0x5b42ad(0xdb)][_0x5b42ad(0xc0)]=_0x1dc233;_0x1dc233&&_0x2a21ee[_0x5b42ad(0x11c)](setAccessibilityCapabilities,_0x156713[_0x5b42ad(0x130)]);const _0x21ac20=path[_0x5b42ad(0xcb)](_0xd9cb8b[_0x5b42ad(0xb4)]?path[_0x5b42ad(0xfb)](_0xd9cb8b[_0x5b42ad(0xb4)]):process[_0x5b42ad(0x109)](),_0x2a21ee[_0x5b42ad(0xb5)]);fs['writeFileSync'](_0x21ac20,helper['serializeToYamlString'](_0x156713[_0x5b42ad(0x130)])),process[_0x5b42ad(0xdb)][_0x5b42ad(0xbd)]=_0x21ac20,helper[_0x5b42ad(0xee)]();let _0xd45829='';_0x2a21ee['feXoS'](helper[_0x5b42ad(0x10d)](),constants[_0x5b42ad(0x137)]['MODULE'])?_0xd45829=_0x2a21ee[_0x5b42ad(0xc4)]:_0xd45829=_0x2a21ee[_0x5b42ad(0x119)];let _0xad43b6='';if(helper[_0x5b42ad(0xb0)](_0xd9cb8b[_0x5b42ad(0xb4)])){_0xad43b6=_0x5b42ad(0xb1);const _0x5b8ca2=_0xd45829[_0x5b42ad(0x10f)]('.');_0x5b8ca2[_0x2a21ee['cZSKP'](_0x5b8ca2[_0x5b42ad(0x9d)],0x1)]='ts',_0xd45829=_0x5b8ca2[_0x5b42ad(0xcb)]('.'),logger[_0x5b42ad(0xf1)](_0x2a21ee[_0x5b42ad(0x121)](_0x2a21ee[_0x5b42ad(0xec)],_0xd45829));}else _0xad43b6=_0x5b42ad(0x111);const _0x46e090=path['join'](_0xd9cb8b[_0x5b42ad(0xb4)]?path[_0x5b42ad(0xfb)](_0xd9cb8b[_0x5b42ad(0xb4)]):process[_0x5b42ad(0x109)](),_0xd45829);let _0x206c85=_0xd9cb8b[_0x5b42ad(0xb4)]?_0xd9cb8b['path']:'';_0x206c85=_0x2a21ee['ibyap'](_0x206c85[_0x5b42ad(0x9d)],0x0)?path[_0x5b42ad(0x113)](_0x206c85):'',process[_0x5b42ad(0xdb)][_0x5b42ad(0xb8)]=_0x206c85;const _0x1167b1=helper[_0x5b42ad(0xb6)](_0x156713[_0x5b42ad(0x130)]);_0x1167b1&&(_0xad43b6=_0x2a21ee[_0x5b42ad(0xe2)](_0x5b42ad(0xd5)+_0x1167b1+_0x5b42ad(0x11a),_0xad43b6));helper[_0x5b42ad(0xc2)]({},_0x2103e1),fs['writeFileSync'](_0x46e090,_0xad43b6),PerformanceTester[_0x5b42ad(0xda)](PerformanceEvents[_0x5b42ad(0x138)]);const _0x33b6d2=_0x2a21ee[_0x5b42ad(0x12e)](spawn,_0x2a21ee['NXjun'],[_0x2a21ee[_0x5b42ad(0xdf)],_0x2a21ee[_0x5b42ad(0xa0)],_0x2a21ee[_0x5b42ad(0xce)],_0x46e090,..._0x2103e1['slice'](0x2)],{'shell':_0x2a21ee['feXoS'](process[_0x5b42ad(0xa3)],_0x2a21ee['WiEXf']),'stdio':_0x2a21ee[_0x5b42ad(0xaa)],'cwd':process[_0x5b42ad(0x109)](),'env':Object[_0x5b42ad(0x116)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x5b42ad(0xb9)](_0x4514c2),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x156713[_0x5b42ad(0x130)]['testContextOptions']['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x156713[_0x5b42ad(0x130)][_0x5b42ad(0xb7)][_0x5b42ad(0xd1)],'BROWSERSTACK_LOG_LEVEL':_0x156713[_0x5b42ad(0x130)][_0x5b42ad(0xcf)]})}),_0x926e05=()=>{const _0x2a5677=_0x5b42ad;try{const _0xa64f5b=path['join'](helper[_0x2a5677(0x133)](),_0x260161['TLbRD'],_0x260161[_0x2a5677(0xf5)]);if(fs[_0x2a5677(0x114)](_0xa64f5b)){let _0xfc2c55=fs['readFileSync'](_0xa64f5b);_0xfc2c55=JSON['parse'](_0xfc2c55),_0x156713[_0x2a5677(0xd8)]=_0xfc2c55,fs[_0x2a5677(0xd2)](_0xa64f5b);}}catch(_0x5d7e32){logger[_0x2a5677(0xf1)](_0x260161[_0x2a5677(0x139)](_0x260161[_0x2a5677(0x117)],_0x5d7e32));}};_0x33b6d2['on'](_0x2a21ee['KvZLB'],async _0x3c823d=>{const _0x45c818=_0x5b42ad;try{const _0x1d61e6=_0x260161[_0x45c818(0xd9)][_0x45c818(0x10f)]('|');let _0x45a3d9=0x0;while(!![]){switch(_0x1d61e6[_0x45a3d9++]){case'0':PerformanceTester[_0x45c818(0xf7)](PerformanceEvents[_0x45c818(0xe9)]);continue;case'1':await TestHubHandler['stop']();continue;case'2':_0x260161[_0x45c818(0xe8)](_0x926e05);continue;case'3':process[_0x45c818(0xe1)]=_0x3c823d;continue;case'4':logger[_0x45c818(0xf8)](_0x45c818(0x13c)+_0x46e090);continue;case'5':fs['unlinkSync'](_0x46e090);continue;case'6':await utilities['finalExecution'](_0x156713);continue;case'7':logger[_0x45c818(0xf1)](_0x45c818(0x13c)+_0x21ac20);continue;case'8':logger[_0x45c818(0xf1)](_0x45c818(0xa6)+_0x3c823d);continue;case'9':fs['unlinkSync'](_0x21ac20);continue;}break;}}catch(_0x3e1525){logger[_0x45c818(0xf1)](_0x260161[_0x45c818(0x139)](_0x260161['KoRMs'],_0x3e1525));}});})();}module[a35_0x97f7c4(0xd6)]=run;
@@ -1 +1 @@
1
- const a36_0x311297=a36_0x861b;function a36_0x8d7b(){const _0x32bb4f=['1.33.0','\x20is\x20not\x20found','2843685SkjjgG','1791VkVZUe','wQhTr','requirePWModule','isHandlePWErrorSet','Path\x20','../../helpers/test-observability/constants','ZRkOM','fork','error','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','nbhWh','14035824wvxymR','OoQLu','462838UAZlbN','eqMvh','12EmHMwy','36xsByEg','KNIqY','env','20lnfGJo','WRPBc','455765UgEyye','./mock-process.js','5NEIOMJ','84IxiFhR','tQCzc','PLAYWRIGHT','./reporter/pwUtils','iLnzW','includes','format','tsubE','1316ztWyWb','5438329eqroBO','832008hpoXfO','riwCG','config','RHouF','child_process','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','../../helpers/helper','eOAZh','apply','resolve','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','winstonLogger','debug','Running\x20existing\x20global\x20setup','../../helpers/logger','Call\x20to\x20child\x20fork\x20with\x20args\x20','util'];a36_0x8d7b=function(){return _0x32bb4f;};return a36_0x8d7b();}function a36_0x861b(_0x22002e,_0x19b3a1){const _0x8d7b82=a36_0x8d7b();return a36_0x861b=function(_0x861b3b,_0x4e24d5){_0x861b3b=_0x861b3b-0x188;let _0x5dc6cd=_0x8d7b82[_0x861b3b];return _0x5dc6cd;},a36_0x861b(_0x22002e,_0x19b3a1);}(function(_0x1d0e7f,_0x457d95){const _0x30fb55=a36_0x861b,_0x39aa49=_0x1d0e7f();while(!![]){try{const _0x1d5d2e=-parseInt(_0x30fb55(0x1b8))/0x1*(parseInt(_0x30fb55(0x1ae))/0x2)+-parseInt(_0x30fb55(0x1a1))/0x3*(parseInt(_0x30fb55(0x18b))/0x4)+parseInt(_0x30fb55(0x1b6))/0x5*(parseInt(_0x30fb55(0x1b0))/0x6)+-parseInt(_0x30fb55(0x1b9))/0x7*(-parseInt(_0x30fb55(0x18d))/0x8)+parseInt(_0x30fb55(0x1a0))/0x9*(parseInt(_0x30fb55(0x1b4))/0xa)+parseInt(_0x30fb55(0x1ac))/0xb+parseInt(_0x30fb55(0x1b1))/0xc*(-parseInt(_0x30fb55(0x18c))/0xd);if(_0x1d5d2e===_0x457d95)break;else _0x39aa49['push'](_0x39aa49['shift']());}catch(_0x5145fb){_0x39aa49['push'](_0x39aa49['shift']());}}}(a36_0x8d7b,0xb227d));const util=require(a36_0x311297(0x19d)),child_process=require(a36_0x311297(0x191)),{FRAMEWORKS}=require(a36_0x311297(0x1a6)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a36_0x311297(0x193)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x311297(0x1bc)),{mockIsWorkerRedundant}=require('./patches'),logger=require(a36_0x311297(0x19b))[a36_0x311297(0x198)];module['exports']=async function(_0xab2e90){const _0x25970d=a36_0x311297,_0x1a24d1={'WRPBc':function(_0x504203,_0x3c4c5b){return _0x504203(_0x3c4c5b);},'iLnzW':function(_0x21e3f0){return _0x21e3f0();},'OoQLu':_0x25970d(0x1b7),'oFOQc':function(_0xf1a940){return _0xf1a940();},'KNIqY':function(_0x50db97){return _0x50db97();},'RHouF':_0x25970d(0x19a),'eqMvh':function(_0x47e692){return _0x47e692();},'wQhTr':function(_0x319b24,_0x13f432){return _0x319b24(_0x13f432);},'eOAZh':function(_0x5e6a6b,_0x2ea817){return _0x5e6a6b>=_0x2ea817;},'riwCG':_0x25970d(0x19e),'GTDiD':function(_0x1bda68,_0x5c6e24,_0x52cda7){return _0x1bda68(_0x5c6e24,_0x52cda7);},'tsubE':function(_0x379f9f,_0x1e7b9a){return _0x379f9f!==_0x1e7b9a;},'tQCzc':'function','ZRkOM':'Not\x20able\x20to\x20import\x20globalSetup','nbhWh':function(_0x47d810,_0x3df816){return _0x47d810(_0x3df816);}},_0x5a9dd1=child_process['fork'];if(helper[_0x25970d(0x1a4)]())try{_0x1a24d1[_0x25970d(0x1b2)](mockIsWorkerRedundant);}catch(_0x213772){logger[_0x25970d(0x199)](_0x25970d(0x1aa)+util[_0x25970d(0x189)](_0x213772));}child_process[_0x25970d(0x1a8)]=function(){const _0x59ce1c=_0x25970d;return _0x1a24d1[_0x59ce1c(0x1b5)](debug,_0x59ce1c(0x19c)+arguments[0x0]),arguments[0x0][_0x59ce1c(0x188)](_0x1a24d1[_0x59ce1c(0x1bd)](getForkProcessPath))?arguments[0x0]=require[_0x59ce1c(0x196)](_0x1a24d1[_0x59ce1c(0x1ad)]):logger[_0x59ce1c(0x1a9)](_0x59ce1c(0x1a5)+_0x1a24d1['oFOQc'](getForkProcessPath)+_0x59ce1c(0x19f)),_0x5a9dd1[_0x59ce1c(0x195)](null,arguments);};if(process[_0x25970d(0x1b3)][_0x25970d(0x197)]){_0x1a24d1[_0x25970d(0x1b5)](debug,_0x1a24d1[_0x25970d(0x190)]);try{const {loadGlobalHook:_0x590d63}=helper[_0x25970d(0x1a3)][_0x25970d(0x195)](null,_0x1a24d1[_0x25970d(0x1af)](getLoadUtilsPath)),_0x552a3c=_0x1a24d1[_0x25970d(0x1a2)](getFrameworkVersion,FRAMEWORKS[_0x25970d(0x1bb)]);let _0x267934=_0xab2e90;if(_0x1a24d1[_0x25970d(0x194)](helper['compareVersions'](_0x552a3c,_0x1a24d1[_0x25970d(0x18e)]),0x0)){const _0x47a118={};_0x47a118[_0x25970d(0x18f)]=_0xab2e90,_0x267934=_0x47a118;}const _0x58436e=await _0x1a24d1['GTDiD'](_0x590d63,_0x267934,process['env'][_0x25970d(0x197)]);if(_0x1a24d1[_0x25970d(0x18a)](typeof _0x58436e,_0x1a24d1[_0x25970d(0x1ba)]))throw new Error(_0x1a24d1[_0x25970d(0x1a7)]);return _0x58436e[_0x25970d(0x195)](null,arguments);}catch(_0x500a0d){_0x1a24d1[_0x25970d(0x1ab)](debug,_0x25970d(0x192)+_0x500a0d['toString']());}}};
1
+ const a36_0x1ab35e=a36_0x43b2;(function(_0x222b7d,_0x61659){const _0x8b8038=a36_0x43b2,_0xf78a10=_0x222b7d();while(!![]){try{const _0xda1a94=parseInt(_0x8b8038(0x98))/0x1+parseInt(_0x8b8038(0x7e))/0x2+-parseInt(_0x8b8038(0x83))/0x3*(parseInt(_0x8b8038(0x92))/0x4)+-parseInt(_0x8b8038(0x97))/0x5*(-parseInt(_0x8b8038(0x8a))/0x6)+-parseInt(_0x8b8038(0x9f))/0x7*(parseInt(_0x8b8038(0x8d))/0x8)+parseInt(_0x8b8038(0x85))/0x9+-parseInt(_0x8b8038(0xa6))/0xa;if(_0xda1a94===_0x61659)break;else _0xf78a10['push'](_0xf78a10['shift']());}catch(_0x39adc3){_0xf78a10['push'](_0xf78a10['shift']());}}}(a36_0x1c9d,0xe4a28));function a36_0x1c9d(){const _0x363243=['DPpDV','isHandlePWErrorSet','../../helpers/test-observability/utils','Call\x20to\x20child\x20fork\x20with\x20args\x20','format','28308ZNivkV','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','EMNkn','config','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','../../helpers/helper','IMsKn','9625830xfaSUj','KoXFR','Not\x20able\x20to\x20import\x20globalSetup','TJQNf','exports','PLAYWRIGHT','env','1760834zRmDFI','kgnfM','cLiTF','winstonLogger','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','39QBIqwx','ffMAz','16246125RjyqVI','JRicu','fork','../../helpers/test-observability/constants','Path\x20','30HNkKGw','Running\x20existing\x20global\x20setup','\x20is\x20not\x20found','2056MOyfJE','compareVersions','function','debug','SqkLf','533908VAFxDP','apply','Ymnos','./patches','util','1584095rpsTGu','403943zugkYr','requirePWModule'];a36_0x1c9d=function(){return _0x363243;};return a36_0x1c9d();}const util=require(a36_0x1ab35e(0x96)),child_process=require('child_process'),{FRAMEWORKS}=require(a36_0x1ab35e(0x88)),{getFrameworkVersion,debug}=require(a36_0x1ab35e(0x9c)),helper=require(a36_0x1ab35e(0xa4)),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),{mockIsWorkerRedundant}=require(a36_0x1ab35e(0x95)),logger=require('../../helpers/logger')[a36_0x1ab35e(0x81)];function a36_0x43b2(_0xf2d90,_0x26bc24){const _0x1c9dc0=a36_0x1c9d();return a36_0x43b2=function(_0x43b2e3,_0x4b0c33){_0x43b2e3=_0x43b2e3-0x7b;let _0x50d3bb=_0x1c9dc0[_0x43b2e3];return _0x50d3bb;},a36_0x43b2(_0xf2d90,_0x26bc24);}module[a36_0x1ab35e(0x7b)]=async function(_0x264095){const _0x3d7274=a36_0x1ab35e,_0x156f7e={'KoXFR':function(_0x52605b,_0x451c5c){return _0x52605b(_0x451c5c);},'cLiTF':function(_0x4330cb){return _0x4330cb();},'TJQNf':'./mock-process.js','kgnfM':function(_0x32d8ed){return _0x32d8ed();},'Ymnos':function(_0x452856){return _0x452856();},'IMsKn':_0x3d7274(0x8b),'ukzIu':function(_0x4cfb6f,_0x554cc0){return _0x4cfb6f>=_0x554cc0;},'JRicu':'1.33.0','ffMAz':function(_0x72e18,_0x20bdae,_0x1a0d16){return _0x72e18(_0x20bdae,_0x1a0d16);},'EMNkn':function(_0x5879dc,_0x2d0c45){return _0x5879dc!==_0x2d0c45;},'SqkLf':_0x3d7274(0x8f),'DPpDV':_0x3d7274(0xa8)},_0x18434a=child_process[_0x3d7274(0x87)];if(helper[_0x3d7274(0x9b)]())try{_0x156f7e[_0x3d7274(0x94)](mockIsWorkerRedundant);}catch(_0x42c6de){logger[_0x3d7274(0x90)](_0x3d7274(0xa3)+util[_0x3d7274(0x9e)](_0x42c6de));}child_process[_0x3d7274(0x87)]=function(){const _0x3ea11a=_0x3d7274;return _0x156f7e[_0x3ea11a(0xa7)](debug,_0x3ea11a(0x9d)+arguments[0x0]),arguments[0x0]['includes'](_0x156f7e[_0x3ea11a(0x80)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x156f7e[_0x3ea11a(0xa9)]):logger['error'](_0x3ea11a(0x89)+_0x156f7e[_0x3ea11a(0x7f)](getForkProcessPath)+_0x3ea11a(0x8c)),_0x18434a[_0x3ea11a(0x93)](null,arguments);};if(process['env'][_0x3d7274(0xa0)]){_0x156f7e['KoXFR'](debug,_0x156f7e[_0x3d7274(0xa5)]);try{const {loadGlobalHook:_0x1c11be}=helper[_0x3d7274(0x99)][_0x3d7274(0x93)](null,_0x156f7e['cLiTF'](getLoadUtilsPath)),_0x2a74ea=_0x156f7e['KoXFR'](getFrameworkVersion,FRAMEWORKS[_0x3d7274(0x7c)]);let _0x2ee036=_0x264095;if(_0x156f7e['ukzIu'](helper[_0x3d7274(0x8e)](_0x2a74ea,_0x156f7e[_0x3d7274(0x86)]),0x0)){const _0x96f76b={};_0x96f76b[_0x3d7274(0xa2)]=_0x264095,_0x2ee036=_0x96f76b;}const _0xde4005=await _0x156f7e[_0x3d7274(0x84)](_0x1c11be,_0x2ee036,process[_0x3d7274(0x7d)][_0x3d7274(0xa0)]);if(_0x156f7e[_0x3d7274(0xa1)](typeof _0xde4005,_0x156f7e[_0x3d7274(0x91)]))throw new Error(_0x156f7e[_0x3d7274(0x9a)]);return _0xde4005['apply'](null,arguments);}catch(_0x142fe1){_0x156f7e['KoXFR'](debug,_0x3d7274(0x82)+_0x142fe1['toString']());}}};