browserstack-node-sdk 1.36.7 → 1.38.0

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 (174) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -0
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test_before.setup.js +1 -1
  67. package/src/bin/launcher/launcher.js +1 -1
  68. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  69. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  70. package/src/bin/mocha/command.js +1 -1
  71. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  72. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  73. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  74. package/src/bin/mocha/test.setup.js +1 -1
  75. package/src/bin/nightwatch/command.js +1 -1
  76. package/src/bin/playwright/accessibility-helper.js +1 -1
  77. package/src/bin/playwright/command.js +1 -1
  78. package/src/bin/playwright/globalSetup.js +1 -1
  79. package/src/bin/playwright/mock-process.js +1 -1
  80. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  81. package/src/bin/playwright/patches.js +1 -1
  82. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  83. package/src/bin/playwright/reporter/reporter.js +1 -1
  84. package/src/bin/playwright/reporter/test-details.js +1 -1
  85. package/src/bin/playwright/sessionDetails.js +1 -1
  86. package/src/bin/runner.js +1 -1
  87. package/src/bin/setup.js +1 -1
  88. package/src/bin/test-runner/index.js +1 -1
  89. package/src/bin/test-runner/runTest.js +1 -1
  90. package/src/bin/test-runner/testWorker.js +1 -1
  91. package/src/bin/utils/constants.js +1 -1
  92. package/src/bin/utils/log4jsAppender.js +1 -1
  93. package/src/bin/utils/logPatcher.js +1 -1
  94. package/src/bin/utils/logReportingAPI.js +1 -1
  95. package/src/bin/v2/TestInfo.js +1 -1
  96. package/src/bin/v2/browserstackCLI.js +1 -1
  97. package/src/bin/v2/cliUtils.js +1 -1
  98. package/src/bin/v2/customTagManager.js +1 -1
  99. package/src/bin/v2/eventDispatcher.js +1 -1
  100. package/src/bin/v2/framework/automationFramework.js +1 -1
  101. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  102. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  103. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  104. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  105. package/src/bin/v2/framework/testFramework.js +1 -1
  106. package/src/bin/v2/grpcClient.js +1 -1
  107. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  108. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  109. package/src/bin/v2/instances/trackedContext.js +1 -1
  110. package/src/bin/v2/instances/trackedInstance.js +1 -1
  111. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  112. package/src/bin/v2/modules/baseModule.js +1 -1
  113. package/src/bin/v2/modules/observabilityModule.js +1 -1
  114. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  115. package/src/bin/v2/modules/testhubModule.js +1 -1
  116. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  117. package/src/bin/v2/state/hookState.js +1 -1
  118. package/src/bin/v2/state/testFrameworkState.js +1 -1
  119. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  120. package/src/bin/vanilla-js/command.js +1 -1
  121. package/src/browserStackSdk.js +1 -1
  122. package/src/helpers/BrowserStackSetup.js +1 -1
  123. package/src/helpers/accessibility-automation/constants.js +1 -1
  124. package/src/helpers/accessibility-automation/helper.js +1 -1
  125. package/src/helpers/accessibility-automation/scripts.js +1 -1
  126. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  127. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  128. package/src/helpers/ats/constants.js +1 -1
  129. package/src/helpers/ats/helper.js +1 -1
  130. package/src/helpers/capsMapping.js +1 -1
  131. package/src/helpers/central-scanner/constants.js +1 -1
  132. package/src/helpers/central-scanner/helpers.js +1 -1
  133. package/src/helpers/classLogger.js +1 -1
  134. package/src/helpers/globals.js +1 -1
  135. package/src/helpers/helper.js +1 -1
  136. package/src/helpers/logger.js +1 -1
  137. package/src/helpers/metadata.js +1 -1
  138. package/src/helpers/patchHelper.js +1 -1
  139. package/src/helpers/patchHelpers.js +1 -1
  140. package/src/helpers/percy/Percy.js +1 -1
  141. package/src/helpers/percy/PercyBinary.js +1 -1
  142. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  143. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  144. package/src/helpers/percy/PercySDK.js +1 -1
  145. package/src/helpers/percy/index.js +1 -1
  146. package/src/helpers/percy/utils.js +1 -1
  147. package/src/helpers/performance/constants.js +1 -1
  148. package/src/helpers/performance/performance-tester.js +1 -1
  149. package/src/helpers/processHelper.js +1 -1
  150. package/src/helpers/request-spy.js +1 -1
  151. package/src/helpers/setKeepAlive.js +1 -1
  152. package/src/helpers/test-observability/constants.js +1 -1
  153. package/src/helpers/test-observability/error-handler.js +1 -1
  154. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  155. package/src/helpers/test-observability/sessionHandler.js +1 -1
  156. package/src/helpers/test-observability/utils.js +1 -1
  157. package/src/helpers/test-orchestration/constants.js +1 -0
  158. package/src/helpers/test-orchestration/failfastManager.js +1 -0
  159. package/src/helpers/test-orchestration/fileHelper.js +1 -0
  160. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -0
  161. package/src/helpers/test-orchestration/requestUtils.js +1 -0
  162. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -0
  163. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -0
  164. package/src/helpers/testhub/constants.js +1 -1
  165. package/src/helpers/testhub/testhubHandler.js +1 -1
  166. package/src/helpers/testhub/utils.js +1 -1
  167. package/src/helpers/timeoutPromise.js +1 -1
  168. package/src/helpers/utilities.js +1 -1
  169. package/src/helpers/w3cMapping.js +1 -1
  170. package/src/hubAllocationMethods.js +1 -1
  171. package/src/index.js +1 -1
  172. package/src/helpers/test-orchestration/fail-fast/fileHelper.js +0 -1
  173. package/src/helpers/test-orchestration/fail-fast/jest.js +0 -1
  174. package/src/helpers/test-orchestration/fail-fast/requestUtils.js +0 -1
@@ -1 +1 @@
1
- const a43_0x3ac0de=a43_0x5754;(function(_0x4a685a,_0x2016d1){const _0x1942c8=a43_0x5754,_0x53e26d=_0x4a685a();while(!![]){try{const _0x3c17e5=-parseInt(_0x1942c8(0x259))/0x1*(parseInt(_0x1942c8(0x22f))/0x2)+-parseInt(_0x1942c8(0x275))/0x3*(-parseInt(_0x1942c8(0x267))/0x4)+-parseInt(_0x1942c8(0x1e8))/0x5+parseInt(_0x1942c8(0x273))/0x6*(-parseInt(_0x1942c8(0x222))/0x7)+parseInt(_0x1942c8(0x221))/0x8+parseInt(_0x1942c8(0x20e))/0x9+-parseInt(_0x1942c8(0x265))/0xa*(-parseInt(_0x1942c8(0x234))/0xb);if(_0x3c17e5===_0x2016d1)break;else _0x53e26d['push'](_0x53e26d['shift']());}catch(_0x5ce1ad){_0x53e26d['push'](_0x53e26d['shift']());}}}(a43_0x2ad5,0x32de5));const path=require('path'),url=require(a43_0x3ac0de(0x22c)),util=require(a43_0x3ac0de(0x1e5)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a43_0x3ac0de(0x1e1)),{o11yErrorHandler}=require(a43_0x3ac0de(0x1fd)),{debug,getPlatformDetails}=require(a43_0x3ac0de(0x1da)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x3ac0de(0x21e)),logger=require(a43_0x3ac0de(0x244))[a43_0x3ac0de(0x20f)],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require(a43_0x3ac0de(0x220)),constants=require(a43_0x3ac0de(0x24f)),BrowserstackCLI=require(a43_0x3ac0de(0x1f6)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a43_0x3ac0de(0x205)),getBrowserNameFromChannel=_0x411e35=>{const _0x3f412d=a43_0x3ac0de,_0x43d9b3={};_0x43d9b3[_0x3f412d(0x20d)]=_0x3f412d(0x206),_0x43d9b3[_0x3f412d(0x1d8)]=_0x3f412d(0x276),_0x43d9b3[_0x3f412d(0x218)]=_0x3f412d(0x21c),_0x43d9b3[_0x3f412d(0x231)]='safari';const _0x5db43c=_0x43d9b3;if(_0x411e35['includes'](_0x5db43c['EEgtZ']))return _0x5db43c[_0x3f412d(0x20d)];if(_0x411e35['includes'](_0x5db43c[_0x3f412d(0x1d8)]))return _0x5db43c[_0x3f412d(0x1d8)];if(_0x411e35[_0x3f412d(0x1c5)](_0x5db43c[_0x3f412d(0x218)]))return _0x5db43c[_0x3f412d(0x218)];if(_0x411e35[_0x3f412d(0x1c5)](_0x5db43c[_0x3f412d(0x231)]))return _0x5db43c['UtvLH'];},getBrowserFromWSEndpoint=_0x176260=>{const _0x197d25=a43_0x3ac0de,_0x344ce5={'IAzEt':_0x197d25(0x206),'qcggn':function(_0x596d20,_0x2160d5){return _0x596d20(_0x2160d5);}};try{const _0x539238=url[_0x197d25(0x1d2)](_0x176260),_0x4b7339=new URLSearchParams(_0x539238['query']),_0x1e2ad4=Object[_0x197d25(0x217)](_0x4b7339['entries']()),_0x3d9148=JSON[_0x197d25(0x1d2)](_0x1e2ad4[_0x197d25(0x1d9)]);if(_0x3d9148&&(_0x3d9148['browser']||_0x3d9148[_0x197d25(0x254)]))return _0x3d9148[_0x197d25(0x24b)]||_0x3d9148[_0x197d25(0x254)];return _0x344ce5[_0x197d25(0x25d)];}catch(_0x33da7d){_0x344ce5[_0x197d25(0x278)](debug,_0x197d25(0x1f0)+_0x33da7d[_0x197d25(0x268)]());}},getCloudProviderFromWsEndpoint=_0x28b6d8=>{const _0x3b99d8=a43_0x3ac0de,_0x4d789a={};_0x4d789a[_0x3b99d8(0x1d4)]=_0x3b99d8(0x23a),_0x4d789a[_0x3b99d8(0x1d0)]=_0x3b99d8(0x250),_0x4d789a[_0x3b99d8(0x202)]=_0x3b99d8(0x1de),_0x4d789a[_0x3b99d8(0x1be)]=_0x3b99d8(0x269);const _0x4dc2b3=_0x4d789a;if(_0x28b6d8[_0x3b99d8(0x1c5)](_0x4dc2b3[_0x3b99d8(0x1d4)])||_0x28b6d8[_0x3b99d8(0x1c5)](_0x4dc2b3['JnzMM']))return _0x4dc2b3[_0x3b99d8(0x202)];return _0x4dc2b3[_0x3b99d8(0x1be)];},a43_0x5c25a6={};function a43_0x2ad5(){const _0x4f0f1b=['oPBJs','../utils/constants','browserstack-ats.com','version','sendMessageToServer','mgIGC','browserName','connection.js','isRunning','getInstance','qOvVN','24359fQOgLJ','platformVersion','tJuqx','ukiYY','IAzEt','server','BWXZm','format','bStackParams','rhpfF','__workerDetails','message','890buKExH','HbGnV','52vOXawl','toString','unknown_grid','performScan','trackEvent','POST','eWydx','dispatch','xJgkR','__driver','SuLhv','sessionId','2036862eZhaln','bGhrd','48357hAUIaK','edge','patchCRConnection','qcggn','pScPX','TDTgB','VqVAD','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','HIQqD','defineProperty','Setting\x20session\x20id\x20received\x20from\x20BS\x20','lib','includes','ytpik','Error\x20in\x20finding\x20platform\x20details\x20','BROWSERSTACK_TEST_OBSERVABILITY','patchConnection','WlmpB','method','CARFW','params','MGemV','SrVVX','JnzMM','VphoZ','parse','aDgKB','ncYJD','patch','iSGog','use','EeDVG','caps','../../helpers/test-observability/utils','_defaultConnectOptions','crConnection.js','Rmijq','browserstack','Failed\x20to\x20perform\x20scan\x20','SZvDb','../../helpers/helper','platformName','getAutomationFramework','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','util','cloudProvider','GskIY','603975GnPoIy','iSsJT','browser_version','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','pvCkD','qHevY','_name','deviceModel','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','titlePath','QJQuz','ldIBj','tciUv','bstackPerformA11yScan','../v2/browserstackCLI','dwLxv','capabilities','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','uphCO','shouldWrapCommand','Device\x20Model\x20is\x20not\x20available','../../helpers/test-observability/error-handler','WCslr','sessionError','testInfo','vcDxN','YJSCS','env','project','../v2/state/hookState.js','chrome','toLowerCase','model','DKxsL','vkqsZ','bsParams','Page','EEgtZ','2625777UoSDaw','winstonLogger','channel','xDArx','LDddQ','Driver\x20Scan\x20result=','setupBrowserDetails','automate','YNLxg','fromEntries','CRhQi','currentSessionDetails','bsSessionId','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','firefox','Error\x20in\x20importing\x20connection\x20','../../helpers/accessibility-automation/helper','fzhpO','./accessibility-helper','411176lnPxCF','7WplceB','MTRQi','DmDDN','client','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','accessibilityPlatform','KlRKg','ShIxE','product','getDetails','url','turboscale','_onMessage','4TEGeJw','Connection','UtvLH','debug','prototype','20350fdnvvl','NoXIf','DTJok','pwPage','_type','platform_version','browserstack.com','info','currentTest','platform','HLuDM','ATS_WSS_URL_REGEX','playwright-','local_grid','apply','PLAYWRIGHT_DISPATCH','../../helpers/logger','PUecL','_browserType','platformDetails','Performing\x20scan\x20for\x20','gSSeW','KLZte','browser','isRemote','assign'];a43_0x2ad5=function(){return _0x4f0f1b;};return a43_0x2ad5();}a43_0x5c25a6[a43_0x3ac0de(0x1e6)]=undefined,a43_0x5c25a6[a43_0x3ac0de(0x21a)]=undefined,a43_0x5c25a6[a43_0x3ac0de(0x24b)]=undefined,a43_0x5c25a6[a43_0x3ac0de(0x1ea)]=undefined,a43_0x5c25a6['platform']=undefined,a43_0x5c25a6[a43_0x3ac0de(0x239)]=undefined,a43_0x5c25a6[a43_0x3ac0de(0x22a)]=undefined,a43_0x5c25a6[a43_0x3ac0de(0x1f8)]={};class PlaywrightSessionDetails{static ['currentSessionDetails']=a43_0x5c25a6;constructor(){const _0xac48=a43_0x3ac0de,_0x37583d={};_0x37583d[_0xac48(0x1d1)]=_0xac48(0x1eb);const _0x2e9fea=_0x37583d;throw new Error(_0x2e9fea['VphoZ']);}static [a43_0x3ac0de(0x1ff)]=null;static['setupBrowserDetails'](_0x4a4a5f,_0x114971,_0x13e657=null){const _0xf220eb=a43_0x3ac0de,_0x30a254={'uphCO':function(_0x52302b,_0x1e360e){return _0x52302b===_0x1e360e;},'MGemV':'function','ShIxE':_0xf220eb(0x1c0),'oPBJs':_0xf220eb(0x1fc),'QJQuz':_0xf220eb(0x241),'vkqsZ':function(_0x414b3b,_0x84e7ce,_0x4aa3aa){return _0x414b3b(_0x84e7ce,_0x4aa3aa);},'pvCkD':_0xf220eb(0x246),'WlmpB':_0xf220eb(0x1db),'uOTGc':_0xf220eb(0x204),'eWydx':_0xf220eb(0x1d7),'PUecL':'connectOptions','rhpfF':function(_0x5d7adf,_0x50b333){return _0x5d7adf(_0x50b333);},'Rmijq':_0xf220eb(0x1de),'WCslr':_0xf220eb(0x22d),'ukiYY':_0xf220eb(0x215),'SrVVX':function(_0x4f4139,_0x4bae47){return _0x4f4139(_0x4bae47);},'tJuqx':function(_0x109f23,_0x2159c9){return _0x109f23+_0x2159c9;},'HbGnV':_0xf220eb(0x240),'KlRKg':function(_0x6fbdb0){return _0x6fbdb0();},'xkFnc':function(_0xdd5048,_0x5b227e,_0x599455){return _0xdd5048(_0x5b227e,_0x599455);},'tciUv':_0xf220eb(0x214)},_0x1010ff=this;return _0x30a254['xkFnc'](o11yErrorHandler,async function _0x3d1841(_0x5dc0d5,_0x8c5ffb,_0x30b02e=null){const _0x294853=_0xf220eb;let _0x58598e=_0x5dc0d5[_0x294853(0x1ee)],_0x5c8edc=null;_0x5dc0d5&&_0x30a254[_0x294853(0x1fa)](typeof _0x5dc0d5[_0x294853(0x251)],_0x30a254[_0x294853(0x1ce)])?_0x5c8edc=_0x5dc0d5[_0x294853(0x251)]():logger[_0x294853(0x232)](_0x30a254[_0x294853(0x229)]);let _0x339d41=null;_0x5dc0d5&&_0x30a254['uphCO'](typeof _0x5dc0d5['model'],_0x30a254['MGemV'])?_0x339d41=_0x5dc0d5[_0x294853(0x208)]():logger['debug'](_0x30a254[_0x294853(0x24e)]);let _0x9149af=null,_0xf6587b=null,_0x3f9773=null,_0x2872b6=_0x30a254[_0x294853(0x1f2)];if(_0x5dc0d5['_connection'][_0x294853(0x24c)]()||global[_0x294853(0x227)]){let _0x1efab2=null;_0x30a254[_0x294853(0x20a)](nestedKeyValue,_0x5dc0d5,[_0x30a254[_0x294853(0x1ec)],_0x30a254[_0x294853(0x1ca)]])?_0x1efab2=_0x5dc0d5[_0x294853(0x246)]['_defaultConnectOptions']:_0x1efab2=_0x30a254[_0x294853(0x20a)](nestedKeyValue,_0x8c5ffb,[_0x30a254['uOTGc'],_0x30a254[_0x294853(0x26d)],_0x30a254[_0x294853(0x245)]]);const _0x4a6bf1=_0x30b02e||_0x1efab2&&_0x1efab2['wsEndpoint'];_0x4a6bf1&&(_0x2872b6=_0x30a254[_0x294853(0x262)](getCloudProviderFromWsEndpoint,_0x4a6bf1),_0x30a254['uphCO'](_0x2872b6,_0x30a254[_0x294853(0x1dd)])&&(_0x3f9773=constants[_0x294853(0x23f)]['test'](_0x4a6bf1)?_0x30a254[_0x294853(0x1fe)]:_0x30a254[_0x294853(0x25c)],_0x58598e=_0x30a254[_0x294853(0x1cf)](getBrowserFromWSEndpoint,_0x4a6bf1)||_0x58598e,_0x9149af=_0x1010ff[_0x294853(0x219)][_0x294853(0x23d)],_0xf6587b=_0x1010ff[_0x294853(0x219)][_0x294853(0x239)]));}else{_0x8c5ffb&&_0x8c5ffb[_0x294853(0x204)]['use'][_0x294853(0x210)]?_0x58598e=_0x30a254[_0x294853(0x1cf)](getBrowserNameFromChannel,_0x8c5ffb[_0x294853(0x204)][_0x294853(0x1d7)]['channel']):_0x58598e=_0x30a254[_0x294853(0x25b)](_0x30a254[_0x294853(0x266)],_0x58598e[_0x294853(0x207)]());const _0x1f0d21=await _0x30a254[_0x294853(0x228)](getPlatformDetails);_0x9149af=_0x1f0d21[_0x294853(0x1e2)],_0xf6587b=_0x1f0d21[_0x294853(0x25a)];}const _0xb10556={};_0xb10556[_0x294853(0x24b)]=_0x58598e,_0xb10556['browser_version']=_0x5c8edc,_0xb10556[_0x294853(0x1f8)]={},_0xb10556[_0x294853(0x23d)]=_0x9149af,_0xb10556['platform_version']=_0xf6587b,_0xb10556['product']=_0x3f9773;const _0x3e8c9a=_0xb10556;_0x339d41&&(_0x3e8c9a['capabilities'][_0x294853(0x1ef)]=_0x339d41);const _0x5c5217={};_0x5c5217['cloudProvider']=_0x2872b6,_0x1010ff['currentSessionDetails']=Object[_0x294853(0x24d)]({},_0x1010ff[_0x294853(0x219)],_0x5c5217,_0x3e8c9a);},_0x30a254[_0xf220eb(0x1f4)])(_0x4a4a5f,_0x114971,_0x13e657);}static[a43_0x3ac0de(0x1d5)](){const _0x373f13=a43_0x3ac0de;this[_0x373f13(0x1c9)](),this[_0x373f13(0x277)]();}static[a43_0x3ac0de(0x1c9)](){const _0x95c521=a43_0x3ac0de,_0x5a4ee4={'RssSz':function(_0x1911a5,_0x2d9355,_0x36fb45){return _0x1911a5(_0x2d9355,_0x36fb45);},'HIQqD':'currentTest','yGdtM':_0x95c521(0x200),'dwLxv':_0x95c521(0x1f1),'xbbwj':function(_0x2a06fc,_0x1808c0,_0x5765a5){return _0x2a06fc(_0x1808c0,_0x5765a5);},'gSSeW':_0x95c521(0x263),'VqVAD':_0x95c521(0x237),'qOvVN':function(_0x4e7147,_0x1b7c2d){return _0x4e7147===_0x1b7c2d;},'mwwqB':_0x95c521(0x20c),'SuLhv':function(_0x1aa799,_0x25b150,_0x3318dd,_0x4398fb){return _0x1aa799(_0x25b150,_0x3318dd,_0x4398fb);},'YNLxg':function(_0x32678d,_0x38dc36){return _0x32678d(_0x38dc36);},'KLZte':'lib','ytpik':_0x95c521(0x225),'xJgkR':_0x95c521(0x255),'ldIBj':function(_0x113da3,_0x5a6bd1){return _0x113da3(_0x5a6bd1);},'CARFW':'Not\x20able\x20to\x20import\x20Connection','LDddQ':function(_0x179859,_0x3a525e){return _0x179859!=_0x3a525e;},'pScPX':function(_0x265fff){return _0x265fff();},'DKxsL':_0x95c521(0x252),'cVvrq':_0x95c521(0x26e)},_0x2dac28=this;if(!this[_0x95c521(0x230)])try{const _0x727b95=path['join'](_0x5a4ee4[_0x95c521(0x24a)],_0x5a4ee4[_0x95c521(0x1c6)],_0x5a4ee4[_0x95c521(0x26f)]),_0x3ffda7=_0x5a4ee4[_0x95c521(0x1f3)](importFileFromPWCore,_0x727b95);!_0x3ffda7?_0x5a4ee4[_0x95c521(0x216)](debug,_0x5a4ee4[_0x95c521(0x1cc)]):this['Connection']=_0x3ffda7[_0x95c521(0x230)];}catch(_0x1fb3e4){_0x5a4ee4[_0x95c521(0x1f3)](debug,_0x95c521(0x21d)+_0x1fb3e4[_0x95c521(0x268)]());}const _0x42d2aa=this[_0x95c521(0x230)];try{if(_0x5a4ee4[_0x95c521(0x212)](_0x42d2aa,null)){const _0x20b7b3=_0x42d2aa[_0x95c521(0x233)][_0x95c521(0x26e)],_0x1c8508=_0x42d2aa[_0x95c521(0x233)][_0x95c521(0x252)];_0x5a4ee4[_0x95c521(0x279)](isAccessibilityAutomationSession)&&Object[_0x95c521(0x1c2)](_0x42d2aa[_0x95c521(0x233)],_0x5a4ee4[_0x95c521(0x209)],{'get':function(){const _0x1cb0dd=_0x95c521,_0x13e10b={'qHevY':function(_0x1a01b6,_0x5a79eb,_0x2f3050){return _0x5a4ee4['RssSz'](_0x1a01b6,_0x5a79eb,_0x2f3050);},'mTjNc':_0x5a4ee4[_0x1cb0dd(0x1c1)],'DTJok':_0x5a4ee4['yGdtM'],'NGVOT':_0x5a4ee4[_0x1cb0dd(0x1f7)],'cYEmI':function(_0x1eb83e,_0x15e69a,_0x47582d){return _0x5a4ee4['xbbwj'](_0x1eb83e,_0x15e69a,_0x47582d);},'DmDDN':_0x5a4ee4[_0x1cb0dd(0x249)],'fzhpO':_0x5a4ee4[_0x1cb0dd(0x1bf)],'BWXZm':function(_0x5471c1,_0x5c0e88){const _0x39cdb4=_0x1cb0dd;return _0x5a4ee4[_0x39cdb4(0x258)](_0x5471c1,_0x5c0e88);},'tqNXa':_0x5a4ee4['mwwqB'],'MTRQi':function(_0x414c8c,_0x5bc7c5,_0x4fb26f,_0x2e8e19){const _0x3366b5=_0x1cb0dd;return _0x5a4ee4[_0x3366b5(0x271)](_0x414c8c,_0x5bc7c5,_0x4fb26f,_0x2e8e19);}};return async function(){const _0x2bf708=_0x1cb0dd;try{if(!global[_0x2bf708(0x1f5)]&&global[_0x2bf708(0x227)]&&_0x13e10b['qHevY'](nestedKeyValue,global['__workerDetails'],[_0x13e10b['mTjNc'],_0x13e10b[_0x2bf708(0x236)],_0x13e10b['NGVOT']])&&_0x13e10b[_0x2bf708(0x1ed)](shouldScanTestForAccessibility,global[_0x2bf708(0x263)][_0x2bf708(0x23c)]['testInfo']['titlePath'],!![])&&scripts[_0x2bf708(0x1fb)](arguments[0x1])){logger[_0x2bf708(0x232)](_0x2bf708(0x248)+arguments[0x1]),global[_0x2bf708(0x1f5)]=!![];const _0x125e06=_0x13e10b['cYEmI'](nestedKeyValue,global,[_0x13e10b[_0x2bf708(0x224)],_0x13e10b[_0x2bf708(0x21f)]]);if(_0x125e06){const _0x3f1783={};_0x3f1783[_0x2bf708(0x1cb)]=arguments[0x1],logger[_0x2bf708(0x23b)]('Page\x20Scan\x20result='+util[_0x2bf708(0x260)](await AccessibilityHelper[_0x2bf708(0x26a)](_0x125e06,_0x3f1783)));}if(_0x13e10b[_0x2bf708(0x25f)](arguments[0x0][_0x2bf708(0x238)],_0x13e10b['tqNXa'])&&global[_0x2bf708(0x270)]){const _0x2352f0={};_0x2352f0['method']=arguments[0x1],logger['info'](_0x2bf708(0x213)+util[_0x2bf708(0x260)](await _0x13e10b[_0x2bf708(0x223)](browserStackExecuteDriver,global['__driver'],scripts['performScan'],_0x2352f0)));}}}catch(_0x50e2a2){logger[_0x2bf708(0x232)](_0x2bf708(0x1df)+util[_0x2bf708(0x260)](_0x50e2a2));}return global[_0x2bf708(0x1f5)]=![],_0x1c8508['apply'](this,arguments);};}}),!_0x5a4ee4[_0x95c521(0x1f3)](isFalse,process[_0x95c521(0x203)][_0x95c521(0x1c8)])&&Object['defineProperty'](_0x42d2aa['prototype'],_0x5a4ee4['cVvrq'],{'get':function(){return async function _0x2d67fc(_0xe2716){const _0x16ce2f=a43_0x5754;if(BrowserstackCLI[_0x16ce2f(0x257)]()[_0x16ce2f(0x256)]()){const _0x2ecdc1={};_0x2ecdc1[_0x16ce2f(0x264)]=_0xe2716,await BrowserstackCLI[_0x16ce2f(0x257)]()['getAutomationFramework']()['trackEvent'](AutomationFrameworkState[_0x16ce2f(0x243)],HookState[_0x16ce2f(0x26c)],_0x2ecdc1);}else{const _0xadda9c=_0xe2716&&_0xe2716[_0x16ce2f(0x1cd)]&&_0xe2716[_0x16ce2f(0x1cd)][_0x16ce2f(0x20b)];if(_0xadda9c){const _0x1b59a8=_0xadda9c['sessionId'],_0x18772a=_0xadda9c['platformDetails'];_0x18772a&&(_0x5a4ee4[_0x16ce2f(0x216)](debug,_0x16ce2f(0x21b)+_0x18772a[_0x16ce2f(0x268)]()),_0x2dac28[_0x16ce2f(0x219)][_0x16ce2f(0x23d)]=_0x18772a['platformName'],_0x2dac28[_0x16ce2f(0x219)][_0x16ce2f(0x239)]=_0x18772a[_0x16ce2f(0x25a)]),_0x1b59a8&&(_0x5a4ee4[_0x16ce2f(0x216)](debug,_0x16ce2f(0x1c3)+_0x1b59a8),_0x2dac28['currentSessionDetails'][_0x16ce2f(0x21a)]=_0x1b59a8);}}return _0x20b7b3[_0x16ce2f(0x242)](this,arguments);};}});}}catch(_0x23d427){_0x5a4ee4[_0x95c521(0x1f3)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x23d427),_0x2dac28[_0x95c521(0x1ff)]=_0x23d427[_0x95c521(0x268)]();}}static[a43_0x3ac0de(0x277)](){const _0x800b21=a43_0x3ac0de,_0x38dcf5={'mgIGC':function(_0x38c4f4,_0x5a467c){return _0x38c4f4(_0x5a467c);},'HLuDM':function(_0x4a3c88){return _0x4a3c88();},'NoXIf':_0x800b21(0x1c4),'iSGog':_0x800b21(0x25e),'GskIY':'chromium','tGTkk':_0x800b21(0x1dc),'aDgKB':function(_0x5c4fd0,_0xe16fbb){return _0x5c4fd0(_0xe16fbb);},'SZvDb':'Not\x20able\x20to\x20import\x20crConnection','bGhrd':function(_0x464397,_0x23567e){return _0x464397(_0x23567e);},'xDArx':'Error\x20in\x20importing\x20crConnection','GaQoW':function(_0x3c81c5,_0x4a3cb2){return _0x3c81c5!=_0x4a3cb2;},'iSsJT':_0x800b21(0x22e),'XdAdG':function(_0x286d56,_0x3965c5){return _0x286d56(_0x3965c5);}},_0x4443f3=this;if(_0x38dcf5[_0x800b21(0x23e)](isAccessibilityAutomationSession)){let _0x570892=null;try{const _0x5129eb=path['join'](_0x38dcf5[_0x800b21(0x235)],_0x38dcf5[_0x800b21(0x1d6)],_0x38dcf5[_0x800b21(0x1e7)],_0x38dcf5['tGTkk']),_0x4d062e=_0x38dcf5[_0x800b21(0x1d3)](importFileFromPWCore,_0x5129eb);!_0x4d062e?_0x38dcf5['aDgKB'](debug,_0x38dcf5[_0x800b21(0x1e0)]):_0x570892=_0x4d062e['CRConnection'];}catch(_0x27411e){_0x38dcf5[_0x800b21(0x274)](debug,_0x38dcf5[_0x800b21(0x211)]);}try{if(_0x38dcf5['GaQoW'](_0x570892,null)){const _0x154e9f=_0x570892['prototype'][_0x800b21(0x22e)];Object['defineProperty'](_0x570892[_0x800b21(0x233)],_0x38dcf5[_0x800b21(0x1e9)],{'get':function(){const _0x113817={'EHqMB':function(_0x349d3a,_0x51cdc4){const _0x2c1c8e=a43_0x5754;return _0x38dcf5[_0x2c1c8e(0x253)](_0x349d3a,_0x51cdc4);},'vcDxN':function(_0x4c4a8e,_0x40ca42){const _0x30c445=a43_0x5754;return _0x38dcf5[_0x30c445(0x253)](_0x4c4a8e,_0x40ca42);}};return async function _0x313982(_0x5527d2){const _0x5c2be1=a43_0x5754;try{if(BrowserstackCLI[_0x5c2be1(0x257)]()[_0x5c2be1(0x256)]()){const _0x1559a8={};_0x1559a8[_0x5c2be1(0x264)]=_0x5527d2,await BrowserstackCLI[_0x5c2be1(0x257)]()[_0x5c2be1(0x1e3)]()[_0x5c2be1(0x26b)](AutomationFrameworkState[_0x5c2be1(0x243)],HookState[_0x5c2be1(0x26c)],_0x1559a8),delete _0x5527d2[_0x5c2be1(0x261)];}else{const _0x337fb3=_0x5527d2[_0x5c2be1(0x261)];if(_0x337fb3){delete _0x5527d2[_0x5c2be1(0x261)];const _0x1f5a4f=_0x337fb3[_0x5c2be1(0x272)],_0x2c0c04=_0x337fb3[_0x5c2be1(0x247)];_0x2c0c04&&(_0x113817['EHqMB'](debug,_0x5c2be1(0x1e4)+_0x2c0c04[_0x5c2be1(0x268)]()),_0x4443f3[_0x5c2be1(0x219)][_0x5c2be1(0x23d)]=_0x2c0c04[_0x5c2be1(0x1e2)],_0x4443f3['currentSessionDetails'][_0x5c2be1(0x239)]=_0x2c0c04[_0x5c2be1(0x25a)]),_0x1f5a4f&&(_0x113817['EHqMB'](debug,_0x5c2be1(0x226)+_0x1f5a4f),_0x4443f3['currentSessionDetails'][_0x5c2be1(0x21a)]=_0x1f5a4f);}}}catch(_0x19fa76){_0x113817[_0x5c2be1(0x201)](debug,_0x5c2be1(0x1c7)+_0x19fa76['toString']());}return _0x154e9f[_0x5c2be1(0x242)](this,arguments);};}});}}catch(_0x16c64d){_0x38dcf5['XdAdG'](debug,_0x800b21(0x1f9)+_0x16c64d),_0x4443f3['sessionError']=_0x16c64d['toString']();}}}static[a43_0x3ac0de(0x22b)](){return this['currentSessionDetails'];}}function a43_0x5754(_0x5f1c60,_0x452345){const _0x2ad5e5=a43_0x2ad5();return a43_0x5754=function(_0x5754c1,_0x4fcfca){_0x5754c1=_0x5754c1-0x1be;let _0x4667ed=_0x2ad5e5[_0x5754c1];return _0x4667ed;},a43_0x5754(_0x5f1c60,_0x452345);}module['exports']=PlaywrightSessionDetails;
1
+ const a44_0x42a17d=a44_0x47c0;(function(_0xab669f,_0x4dc4c8){const _0x32f680=a44_0x47c0,_0x56ea00=_0xab669f();while(!![]){try{const _0x31150a=parseInt(_0x32f680(0xe3))/0x1+-parseInt(_0x32f680(0xaf))/0x2+parseInt(_0x32f680(0xc4))/0x3+parseInt(_0x32f680(0x108))/0x4*(-parseInt(_0x32f680(0x105))/0x5)+-parseInt(_0x32f680(0x125))/0x6*(-parseInt(_0x32f680(0x146))/0x7)+parseInt(_0x32f680(0x96))/0x8*(-parseInt(_0x32f680(0xc2))/0x9)+parseInt(_0x32f680(0x127))/0xa;if(_0x31150a===_0x4dc4c8)break;else _0x56ea00['push'](_0x56ea00['shift']());}catch(_0x48af27){_0x56ea00['push'](_0x56ea00['shift']());}}}(a44_0x15f8,0xc2fcc));function a44_0x15f8(){const _0x25da9b=['sessionError','assign','browserstack','BmAzH','test','getDetails','1453792DTQCaz','function','gQgAj','env','Performing\x20scan\x20for\x20','testInfo','trackEvent','url','bZQyp','lib','kkMIJ','IDGWT','patchCRConnection','use','_browserType','HOJSI','info','_type','bStackParams','Setting\x20session\x20id\x20received\x20from\x20BS\x20','TgvLV','PLAYWRIGHT_DISPATCH','CRConnection','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','project','turboscale','../../helpers/helper','prototype','Driver\x20Scan\x20result=','WgvLc','../v2/state/automationFrameworkState.js','capabilities','rlkDS','../../helpers/accessibility-automation/scripts','1603670bbDubh','USUNl','chrome','12LCMspz','Connection','MGNBC','platformName','BIONy','getInstance','VQdhd','parse','unknown_grid','_connection','bstackPerformA11yScan','YRmOt','tjPoW','nNpWh','caps','cloudProvider','Not\x20able\x20to\x20import\x20crConnection','isRemote','../v2/browserstackCLI','__driver','PukdM','apply','RLkTH','patchConnection','connection.js','platform_version','RejWw','LaBSp','platformVersion','30jvEldB','dnIYG','1714750bNOJZf','currentSessionDetails','Not\x20able\x20to\x20import\x20Connection','JvynU','sendMessageToServer','model','vBhdU','shouldWrapCommand','YOsMN','performScan','currentTest','fdVXs','mKMyD','rugVJ','bsParams','browser_version','../utils/constants','VvABV','GuSTs','MMtJN','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','_name','eBWrl','Xigwj','zfvrZ','KgpUw','platform','query','../../helpers/test-observability/utils','deviceModel','../../helpers/logger','1438017gbXYTB','isRunning','POST','platformDetails','pwPage','sghAu','nuWxw','setupBrowserDetails','format','AlALR','BSTACK_URL','BJDfs','czBdZ','spske','defineProperty','8mXWwNi','product','accessibilityPlatform','util','xXWUk','params','Error\x20in\x20finding\x20platform\x20details\x20','Error\x20in\x20importing\x20connection\x20','ZhunI','IAHJN','AuqYY','winstonLogger','mhYOi','join','../v2/state/hookState.js','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','dispatch','pgiVL','qdtIr','titlePath','method','toString','wsEndpoint','rgxvO','txbON','1377328LlsoEf','channel','server','VgAod','fromEntries','local_grid','FTHEp','automate','entries','debug','Failed\x20to\x20perform\x20scan\x20','path','__workerDetails','ucucY','_defaultConnectOptions','includes','patch','browser','version','3920355jaESzU','xAopj','698121oJhXow','sessionId','BoTuN','BADRy','BSTACK_ATS_URL','_onMessage','getAutomationFramework','yfgZw','crConnection.js','edge','Page','chromium','rnDQN','PiRQg','wWigv','bsSessionId','Error\x20in\x20importing\x20crConnection','message','AHIzt','twbxS','client','../../helpers/accessibility-automation/helper','ZYDgZ','SXppL','browserName'];a44_0x15f8=function(){return _0x25da9b;};return a44_0x15f8();}const path=require(a44_0x42a17d(0xba)),url=require(a44_0x42a17d(0xea)),util=require(a44_0x42a17d(0x99)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a44_0x42a17d(0xfd)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require(a44_0x42a17d(0x143)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a44_0x42a17d(0xd9)),logger=require(a44_0x42a17d(0x145))[a44_0x42a17d(0xa1)],scripts=require(a44_0x42a17d(0x104)),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require('./accessibility-helper'),constants=require(a44_0x42a17d(0x137)),BrowserstackCLI=require(a44_0x42a17d(0x11a)),AutomationFrameworkState=require(a44_0x42a17d(0x101)),HookState=require(a44_0x42a17d(0xa4)),getBrowserNameFromChannel=_0x44d107=>{const _0x2286e8=a44_0x42a17d,_0x28415f={};_0x28415f[_0x2286e8(0xc6)]='chrome',_0x28415f[_0x2286e8(0xbc)]=_0x2286e8(0xcd),_0x28415f[_0x2286e8(0x13e)]='firefox',_0x28415f[_0x2286e8(0x14c)]='safari';const _0x1caaa9=_0x28415f;if(_0x44d107[_0x2286e8(0xbe)](_0x1caaa9[_0x2286e8(0xc6)]))return _0x1caaa9[_0x2286e8(0xc6)];if(_0x44d107[_0x2286e8(0xbe)](_0x1caaa9['ucucY']))return _0x1caaa9[_0x2286e8(0xbc)];if(_0x44d107[_0x2286e8(0xbe)](_0x1caaa9[_0x2286e8(0x13e)]))return _0x1caaa9[_0x2286e8(0x13e)];if(_0x44d107[_0x2286e8(0xbe)](_0x1caaa9[_0x2286e8(0x14c)]))return _0x1caaa9[_0x2286e8(0x14c)];},getBrowserFromWSEndpoint=_0x5077c7=>{const _0x4488f5=a44_0x42a17d,_0x3b2ae0={'boWkG':_0x4488f5(0x107),'VQdhd':function(_0x3469cf,_0x3783cc){return _0x3469cf(_0x3783cc);}};try{const _0x422590=url['parse'](_0x5077c7),_0x22ddab=new URLSearchParams(_0x422590[_0x4488f5(0x142)]),_0x25b3ad=Object[_0x4488f5(0xb3)](_0x22ddab[_0x4488f5(0xb7)]()),_0x401bca=JSON[_0x4488f5(0x10f)](_0x25b3ad[_0x4488f5(0x116)]);if(_0x401bca&&(_0x401bca[_0x4488f5(0xc0)]||_0x401bca[_0x4488f5(0xdc)]))return _0x401bca[_0x4488f5(0xc0)]||_0x401bca[_0x4488f5(0xdc)];return _0x3b2ae0['boWkG'];}catch(_0x57d455){_0x3b2ae0[_0x4488f5(0x10e)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x57d455[_0x4488f5(0xab)]());}},getCloudProviderFromWsEndpoint=_0x2c7a15=>{const _0x3a7bd5=a44_0x42a17d,_0x21598d={};_0x21598d[_0x3a7bd5(0x9f)]=_0x3a7bd5(0xdf),_0x21598d[_0x3a7bd5(0x133)]=_0x3a7bd5(0x110);const _0x3ea78b=_0x21598d;if(_0x2c7a15[_0x3a7bd5(0xbe)](constants[_0x3a7bd5(0x91)])||_0x2c7a15[_0x3a7bd5(0xbe)](constants[_0x3a7bd5(0xc8)]))return _0x3ea78b[_0x3a7bd5(0x9f)];return _0x3ea78b[_0x3a7bd5(0x133)];},a44_0x428a0c={};a44_0x428a0c[a44_0x42a17d(0x117)]=undefined,a44_0x428a0c[a44_0x42a17d(0xd3)]=undefined,a44_0x428a0c[a44_0x42a17d(0xc0)]=undefined,a44_0x428a0c[a44_0x42a17d(0x136)]=undefined,a44_0x428a0c[a44_0x42a17d(0x141)]=undefined,a44_0x428a0c[a44_0x42a17d(0x121)]=undefined,a44_0x428a0c[a44_0x42a17d(0x97)]=undefined,a44_0x428a0c['capabilities']={};function a44_0x47c0(_0x313fb6,_0x3d4cc7){const _0x15f836=a44_0x15f8();return a44_0x47c0=function(_0x47c0ed,_0x1bea37){_0x47c0ed=_0x47c0ed-0x8e;let _0x5efeef=_0x15f836[_0x47c0ed];return _0x5efeef;},a44_0x47c0(_0x313fb6,_0x3d4cc7);}class PlaywrightSessionDetails{static ['currentSessionDetails']=a44_0x428a0c;constructor(){const _0x54cbf3=a44_0x42a17d,_0x449bc6={};_0x449bc6[_0x54cbf3(0x9a)]=_0x54cbf3(0xfa);const _0x1969d7=_0x449bc6;throw new Error(_0x1969d7[_0x54cbf3(0x9a)]);}static ['sessionError']=null;static[a44_0x42a17d(0x8e)](_0x3c556f,_0x595098,_0x1dd906=null){const _0x2ec5a5=a44_0x42a17d,_0x3ad11d={'qdtIr':function(_0xb8433b,_0xcdb4fc){return _0xb8433b===_0xcdb4fc;},'KgpUw':_0x2ec5a5(0xe4),'AuqYY':'Browser\x20is\x20not\x20defined\x20or\x20not\x20available','sghAu':'Device\x20Model\x20is\x20not\x20available','MGNBC':_0x2ec5a5(0xb4),'tjPoW':function(_0x16e2c4,_0x5a7aae,_0xe4370b){return _0x16e2c4(_0x5a7aae,_0xe4370b);},'vBhdU':'_browserType','mhYOi':_0x2ec5a5(0xbd),'pImpG':_0x2ec5a5(0xfb),'txbON':_0x2ec5a5(0xf0),'FTHEp':'connectOptions','yfgZw':function(_0x454f93,_0x1c32ad){return _0x454f93(_0x1c32ad);},'pgiVL':'browserstack','fbAeH':_0x2ec5a5(0xfc),'xAopj':_0x2ec5a5(0xb6),'kkMIJ':function(_0x2ea218,_0x5412e3){return _0x2ea218(_0x5412e3);},'twbxS':function(_0x54939f,_0x37228e){return _0x54939f+_0x37228e;},'qvlKt':'playwright-','qbTaN':function(_0x3797ac){return _0x3797ac();},'gqTlX':function(_0x28b1aa,_0x3c61a5,_0x57375a){return _0x28b1aa(_0x3c61a5,_0x57375a);},'rnDQN':'setupBrowserDetails'},_0x13cd64=this;return _0x3ad11d['gqTlX'](o11yErrorHandler,async function _0x1d0722(_0x5ac67e,_0x43ab61,_0x17cadb=null){const _0x45af4e=_0x2ec5a5;let _0x59c430=_0x5ac67e[_0x45af4e(0x13c)],_0x320457=null;_0x5ac67e&&_0x3ad11d[_0x45af4e(0xa8)](typeof _0x5ac67e[_0x45af4e(0xc1)],_0x3ad11d['KgpUw'])?_0x320457=_0x5ac67e[_0x45af4e(0xc1)]():logger['debug'](_0x3ad11d[_0x45af4e(0xa0)]);let _0xfce387=null;_0x5ac67e&&_0x3ad11d[_0x45af4e(0xa8)](typeof _0x5ac67e[_0x45af4e(0x12c)],_0x3ad11d[_0x45af4e(0x140)])?_0xfce387=_0x5ac67e[_0x45af4e(0x12c)]():logger[_0x45af4e(0xb8)](_0x3ad11d[_0x45af4e(0x14b)]);let _0xfb01b2=null,_0x494b18=null,_0x1acf14=null,_0x2a433e=_0x3ad11d[_0x45af4e(0x10a)];if(_0x5ac67e[_0x45af4e(0x111)][_0x45af4e(0x119)]()||global[_0x45af4e(0x98)]){let _0x325ec5=null;_0x3ad11d['tjPoW'](nestedKeyValue,_0x5ac67e,[_0x3ad11d[_0x45af4e(0x12d)],_0x3ad11d[_0x45af4e(0xa2)]])?_0x325ec5=_0x5ac67e[_0x45af4e(0xf1)][_0x45af4e(0xbd)]:_0x325ec5=_0x3ad11d[_0x45af4e(0x114)](nestedKeyValue,_0x43ab61,[_0x3ad11d['pImpG'],_0x3ad11d[_0x45af4e(0xae)],_0x3ad11d[_0x45af4e(0xb5)]]);const _0x2fb560=_0x17cadb||_0x325ec5&&_0x325ec5[_0x45af4e(0xac)];_0x2fb560&&(_0x2a433e=_0x3ad11d[_0x45af4e(0xcb)](getCloudProviderFromWsEndpoint,_0x2fb560),_0x3ad11d['qdtIr'](_0x2a433e,_0x3ad11d[_0x45af4e(0xa7)])&&(_0x1acf14=constants['ATS_WSS_URL_REGEX'][_0x45af4e(0xe1)](_0x2fb560)?_0x3ad11d['fbAeH']:_0x3ad11d[_0x45af4e(0xc3)],_0x59c430=_0x3ad11d[_0x45af4e(0xed)](getBrowserFromWSEndpoint,_0x2fb560)||_0x59c430,_0xfb01b2=_0x13cd64[_0x45af4e(0x128)]['platform'],_0x494b18=_0x13cd64['currentSessionDetails']['platform_version']));}else{_0x43ab61&&_0x43ab61['project'][_0x45af4e(0xf0)]['channel']?_0x59c430=_0x3ad11d[_0x45af4e(0xcb)](getBrowserNameFromChannel,_0x43ab61[_0x45af4e(0xfb)][_0x45af4e(0xf0)][_0x45af4e(0xb0)]):_0x59c430=_0x3ad11d[_0x45af4e(0xd7)](_0x3ad11d['qvlKt'],_0x59c430['toLowerCase']());const _0xe75083=await _0x3ad11d['qbTaN'](getPlatformDetails);_0xfb01b2=_0xe75083['platformName'],_0x494b18=_0xe75083[_0x45af4e(0x124)];}const _0x2469cc={};_0x2469cc[_0x45af4e(0xc0)]=_0x59c430,_0x2469cc[_0x45af4e(0x136)]=_0x320457,_0x2469cc[_0x45af4e(0x102)]={},_0x2469cc['platform']=_0xfb01b2,_0x2469cc[_0x45af4e(0x121)]=_0x494b18,_0x2469cc[_0x45af4e(0x97)]=_0x1acf14;const _0x1bd3be=_0x2469cc;_0xfce387&&(_0x1bd3be[_0x45af4e(0x102)][_0x45af4e(0x144)]=_0xfce387);const _0x1d9641={};_0x1d9641[_0x45af4e(0x117)]=_0x2a433e,_0x13cd64[_0x45af4e(0x128)]=Object[_0x45af4e(0xde)]({},_0x13cd64[_0x45af4e(0x128)],_0x1d9641,_0x1bd3be);},_0x3ad11d[_0x2ec5a5(0xd0)])(_0x3c556f,_0x595098,_0x1dd906);}static[a44_0x42a17d(0xbf)](){const _0x512ec5=a44_0x42a17d;this['patchConnection'](),this[_0x512ec5(0xef)]();}static[a44_0x42a17d(0x11f)](){const _0x58818a=a44_0x42a17d,_0xbd50a9={'ylYHi':function(_0x42dc60,_0x17928b,_0x6a74df){return _0x42dc60(_0x17928b,_0x6a74df);},'DNGrF':_0x58818a(0x131),'BmAzH':'testInfo','SGRxn':_0x58818a(0xa9),'HOJSI':_0x58818a(0xbb),'rgxvO':_0x58818a(0x14a),'TgvLV':function(_0x43181b,_0x47709b){return _0x43181b===_0x47709b;},'dnIYG':_0x58818a(0xce),'BJDfs':function(_0x539d83,_0x14d10c,_0x14ccdd,_0x1eb1a7){return _0x539d83(_0x14d10c,_0x14ccdd,_0x1eb1a7);},'gQgAj':function(_0x54e715,_0x2f498b){return _0x54e715(_0x2f498b);},'ZYDgZ':_0x58818a(0xec),'VvABV':_0x58818a(0xd8),'fdVXs':_0x58818a(0x120),'SXppL':function(_0x34e24c,_0x3f48ed){return _0x34e24c(_0x3f48ed);},'JvynU':function(_0x1aa30f,_0x1817cd){return _0x1aa30f(_0x1817cd);},'PukdM':_0x58818a(0x129),'YRmOt':function(_0x88eecc,_0x780b79){return _0x88eecc(_0x780b79);},'BIONy':function(_0x32bd7f,_0x5e320a){return _0x32bd7f!=_0x5e320a;},'ZhunI':function(_0x3b129b){return _0x3b129b();},'rugVJ':_0x58818a(0x12b),'VgAod':function(_0x14f86a,_0x28f25e){return _0x14f86a(_0x28f25e);},'YOsMN':_0x58818a(0xa6)},_0x5e3e07=this;if(!this[_0x58818a(0x109)])try{const _0x13f716=path[_0x58818a(0xa3)](_0xbd50a9[_0x58818a(0xda)],_0xbd50a9[_0x58818a(0x138)],_0xbd50a9[_0x58818a(0x132)]),_0x5bf15f=_0xbd50a9[_0x58818a(0xdb)](importFileFromPWCore,_0x13f716);!_0x5bf15f?_0xbd50a9[_0x58818a(0x12a)](debug,_0xbd50a9[_0x58818a(0x11c)]):this[_0x58818a(0x109)]=_0x5bf15f[_0x58818a(0x109)];}catch(_0x42b804){_0xbd50a9[_0x58818a(0x113)](debug,_0x58818a(0x9d)+_0x42b804[_0x58818a(0xab)]());}const _0x8cbba4=this[_0x58818a(0x109)];try{if(_0xbd50a9[_0x58818a(0x10c)](_0x8cbba4,null)){const _0x5b7d98=_0x8cbba4[_0x58818a(0xfe)][_0x58818a(0xa6)],_0xc6c355=_0x8cbba4[_0x58818a(0xfe)][_0x58818a(0x12b)];_0xbd50a9[_0x58818a(0x9e)](isAccessibilityAutomationSession)&&Object[_0x58818a(0x95)](_0x8cbba4[_0x58818a(0xfe)],_0xbd50a9[_0x58818a(0x134)],{'get':function(){const _0x145ece=_0x58818a,_0x1f0cd0={'zfvrZ':function(_0x46638c,_0x3b2350,_0x3fee5f){return _0xbd50a9['ylYHi'](_0x46638c,_0x3b2350,_0x3fee5f);},'rlkDS':_0xbd50a9['DNGrF'],'RLkTH':_0xbd50a9[_0x145ece(0xe0)],'LaBSp':_0xbd50a9['SGRxn'],'nNpWh':_0xbd50a9[_0x145ece(0xf2)],'AHIzt':_0xbd50a9[_0x145ece(0xad)],'ZRlFu':function(_0x2cffff,_0x2944c3){const _0x249c23=_0x145ece;return _0xbd50a9[_0x249c23(0xf7)](_0x2cffff,_0x2944c3);},'WgvLc':_0xbd50a9[_0x145ece(0x126)],'czBdZ':function(_0xb356bd,_0x523a5b,_0x5b02d9,_0x1438a3){const _0x470e4e=_0x145ece;return _0xbd50a9[_0x470e4e(0x92)](_0xb356bd,_0x523a5b,_0x5b02d9,_0x1438a3);}};return async function(){const _0x2d13c8=_0x145ece;try{if(!global[_0x2d13c8(0x112)]&&global[_0x2d13c8(0x98)]&&_0x1f0cd0[_0x2d13c8(0x13f)](nestedKeyValue,global['__workerDetails'],[_0x1f0cd0[_0x2d13c8(0x103)],_0x1f0cd0[_0x2d13c8(0x11e)],_0x1f0cd0[_0x2d13c8(0x123)]])&&_0x1f0cd0[_0x2d13c8(0x13f)](shouldScanTestForAccessibility,global[_0x2d13c8(0xbb)][_0x2d13c8(0x131)][_0x2d13c8(0xe8)][_0x2d13c8(0xa9)],!![])&&scripts[_0x2d13c8(0x12e)](arguments[0x1])){logger[_0x2d13c8(0xb8)](_0x2d13c8(0xe7)+arguments[0x1]),global[_0x2d13c8(0x112)]=!![];const _0x188e3d=_0x1f0cd0[_0x2d13c8(0x13f)](nestedKeyValue,global,[_0x1f0cd0[_0x2d13c8(0x115)],_0x1f0cd0[_0x2d13c8(0xd6)]]);if(_0x188e3d){const _0x2e2ac0={};_0x2e2ac0[_0x2d13c8(0xaa)]=arguments[0x1],logger[_0x2d13c8(0xf3)]('Page\x20Scan\x20result='+util['format'](await AccessibilityHelper[_0x2d13c8(0x130)](_0x188e3d,_0x2e2ac0)));}if(_0x1f0cd0['ZRlFu'](arguments[0x0][_0x2d13c8(0xf4)],_0x1f0cd0[_0x2d13c8(0x100)])&&global['__driver']){const _0x2e0542={};_0x2e0542[_0x2d13c8(0xaa)]=arguments[0x1],logger['info'](_0x2d13c8(0xff)+util[_0x2d13c8(0x8f)](await _0x1f0cd0[_0x2d13c8(0x93)](browserStackExecuteDriver,global[_0x2d13c8(0x11b)],scripts[_0x2d13c8(0x130)],_0x2e0542)));}}}catch(_0x1a1975){logger['debug'](_0x2d13c8(0xb9)+util[_0x2d13c8(0x8f)](_0x1a1975));}return global[_0x2d13c8(0x112)]=![],_0xc6c355[_0x2d13c8(0x11d)](this,arguments);};}}),!_0xbd50a9[_0x58818a(0xb2)](isFalse,process[_0x58818a(0xe6)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object['defineProperty'](_0x8cbba4['prototype'],_0xbd50a9[_0x58818a(0x12f)],{'get':function(){return async function _0x5841a2(_0x516f8b){const _0x3ff98a=a44_0x47c0;if(BrowserstackCLI[_0x3ff98a(0x10d)]()[_0x3ff98a(0x147)]()){const _0x1fdae5={};_0x1fdae5[_0x3ff98a(0xd5)]=_0x516f8b,await BrowserstackCLI[_0x3ff98a(0x10d)]()[_0x3ff98a(0xca)]()[_0x3ff98a(0xe9)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x3ff98a(0x148)],_0x1fdae5);}else{const _0x283845=_0x516f8b&&_0x516f8b[_0x3ff98a(0x9b)]&&_0x516f8b[_0x3ff98a(0x9b)][_0x3ff98a(0x135)];if(_0x283845){const _0x3faaa6=_0x283845[_0x3ff98a(0xc5)],_0x77cff2=_0x283845['platformDetails'];_0x77cff2&&(_0xbd50a9[_0x3ff98a(0xe5)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x77cff2['toString']()),_0x5e3e07['currentSessionDetails'][_0x3ff98a(0x141)]=_0x77cff2[_0x3ff98a(0x10b)],_0x5e3e07[_0x3ff98a(0x128)]['platform_version']=_0x77cff2[_0x3ff98a(0x124)]),_0x3faaa6&&(_0xbd50a9[_0x3ff98a(0xe5)](debug,_0x3ff98a(0xf6)+_0x3faaa6),_0x5e3e07[_0x3ff98a(0x128)][_0x3ff98a(0xd3)]=_0x3faaa6);}}return _0x5b7d98['apply'](this,arguments);};}});}}catch(_0x103d20){_0xbd50a9[_0x58818a(0x113)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x103d20),_0x5e3e07[_0x58818a(0xdd)]=_0x103d20[_0x58818a(0xab)]();}}static['patchCRConnection'](){const _0x15ba97=a44_0x42a17d,_0x34e235={'eBWrl':function(_0x46dd57,_0x2ee100){return _0x46dd57(_0x2ee100);},'rJeUL':function(_0x47faf6,_0x5026c0){return _0x47faf6(_0x5026c0);},'RejWw':function(_0x20ac60,_0x548c1d){return _0x20ac60(_0x548c1d);},'bZQyp':function(_0x205a32){return _0x205a32();},'wWigv':'lib','PkKjW':_0x15ba97(0xb1),'IDGWT':_0x15ba97(0xcf),'WACZH':_0x15ba97(0xcc),'BADRy':function(_0x4170b5,_0x511df1){return _0x4170b5(_0x511df1);},'MMtJN':function(_0x1392f0,_0x4e82cb){return _0x1392f0(_0x4e82cb);},'spske':_0x15ba97(0x118),'USUNl':_0x15ba97(0xd4),'AlALR':function(_0x19e258,_0x13b65f){return _0x19e258!=_0x13b65f;},'GuSTs':_0x15ba97(0xc9),'PiRQg':function(_0x42c54d,_0x1f4437){return _0x42c54d(_0x1f4437);}},_0x52cce5=this;if(_0x34e235[_0x15ba97(0xeb)](isAccessibilityAutomationSession)){let _0x39922d=null;try{const _0x44a992=path[_0x15ba97(0xa3)](_0x34e235[_0x15ba97(0xd2)],_0x34e235['PkKjW'],_0x34e235[_0x15ba97(0xee)],_0x34e235['WACZH']),_0x2d9a31=_0x34e235[_0x15ba97(0xc7)](importFileFromPWCore,_0x44a992);!_0x2d9a31?_0x34e235['MMtJN'](debug,_0x34e235[_0x15ba97(0x94)]):_0x39922d=_0x2d9a31[_0x15ba97(0xf9)];}catch(_0xfecdff){_0x34e235[_0x15ba97(0x13a)](debug,_0x34e235[_0x15ba97(0x106)]);}try{if(_0x34e235[_0x15ba97(0x90)](_0x39922d,null)){const _0x30d55f=_0x39922d[_0x15ba97(0xfe)][_0x15ba97(0xc9)];Object['defineProperty'](_0x39922d[_0x15ba97(0xfe)],_0x34e235[_0x15ba97(0x139)],{'get':function(){return async function _0x2176ec(_0x1a86ff){const _0x4a4771=a44_0x47c0;try{if(BrowserstackCLI['getInstance']()[_0x4a4771(0x147)]()){const _0x5954f6={};_0x5954f6[_0x4a4771(0xd5)]=_0x1a86ff,await BrowserstackCLI[_0x4a4771(0x10d)]()[_0x4a4771(0xca)]()[_0x4a4771(0xe9)](AutomationFrameworkState[_0x4a4771(0xf8)],HookState[_0x4a4771(0x148)],_0x5954f6),delete _0x1a86ff['bStackParams'];}else{const _0x260f06=_0x1a86ff[_0x4a4771(0xf5)];if(_0x260f06){delete _0x1a86ff['bStackParams'];const _0xa0ea66=_0x260f06[_0x4a4771(0xc5)],_0x4d7624=_0x260f06[_0x4a4771(0x149)];_0x4d7624&&(_0x34e235[_0x4a4771(0x13d)](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x4d7624[_0x4a4771(0xab)]()),_0x52cce5['currentSessionDetails'][_0x4a4771(0x141)]=_0x4d7624['platformName'],_0x52cce5[_0x4a4771(0x128)][_0x4a4771(0x121)]=_0x4d7624[_0x4a4771(0x124)]),_0xa0ea66&&(_0x34e235['rJeUL'](debug,_0x4a4771(0xa5)+_0xa0ea66),_0x52cce5['currentSessionDetails'][_0x4a4771(0xd3)]=_0xa0ea66);}}}catch(_0x139374){_0x34e235[_0x4a4771(0x122)](debug,_0x4a4771(0x9c)+_0x139374[_0x4a4771(0xab)]());}return _0x30d55f[_0x4a4771(0x11d)](this,arguments);};}});}}catch(_0x59662d){_0x34e235[_0x15ba97(0xd1)](debug,_0x15ba97(0x13b)+_0x59662d),_0x52cce5['sessionError']=_0x59662d[_0x15ba97(0xab)]();}}}static[a44_0x42a17d(0xe2)](){const _0x16928d=a44_0x42a17d;return this[_0x16928d(0x128)];}}module['exports']=PlaywrightSessionDetails;
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a44_0x160749=a44_0x4adf;(function(_0x330399,_0xe1cb31){const _0x12c798=a44_0x4adf,_0x2a4411=_0x330399();while(!![]){try{const _0x216669=-parseInt(_0x12c798(0x1b1))/0x1*(-parseInt(_0x12c798(0x1a7))/0x2)+parseInt(_0x12c798(0x1ac))/0x3*(-parseInt(_0x12c798(0x1b3))/0x4)+-parseInt(_0x12c798(0x18f))/0x5+-parseInt(_0x12c798(0x195))/0x6+-parseInt(_0x12c798(0x19f))/0x7+parseInt(_0x12c798(0x152))/0x8+parseInt(_0x12c798(0x17b))/0x9;if(_0x216669===_0xe1cb31)break;else _0x2a4411['push'](_0x2a4411['shift']());}catch(_0x5cb384){_0x2a4411['push'](_0x2a4411['shift']());}}}(a44_0x1cb5,0x4f91c));function a44_0x4adf(_0x5f4574,_0x5dd59a){const _0x1cb5c7=a44_0x1cb5();return a44_0x4adf=function(_0x4adf59,_0x463391){_0x4adf59=_0x4adf59-0x14b;let _0x4ce5da=_0x1cb5c7[_0x4adf59];return _0x4ce5da;},a44_0x4adf(_0x5f4574,_0x5dd59a);}const fs=require('fs'),path=require('path'),util=require('util'),{requireModule}=require(a44_0x160749(0x1a5)),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require(a44_0x160749(0x155))[a44_0x160749(0x199)],helper=require('../helpers/helper'),utilities=require(a44_0x160749(0x158)),{default:BrowserStackSetup}=require(a44_0x160749(0x1ab)),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require(a44_0x160749(0x191)),yargs=require('yargs'),Constants=require('./utils/constants'),BrowserstackCLI=require(a44_0x160749(0x1b7)),logger=require(a44_0x160749(0x1b5))[a44_0x160749(0x177)],origArgs=Object[a44_0x160749(0x164)]([],process['argv']),captureError=async(_0x209405,_0x587e14,_0x4e0be7,_0x5d6296=null)=>{const _0x2347da=a44_0x160749,_0x21dd76={'IZWfy':function(_0x24d8c9,_0x166662,_0x5dce15,_0x332ca5){return _0x24d8c9(_0x166662,_0x5dce15,_0x332ca5);},'OUnRI':_0x2347da(0x1bd)};try{logger[_0x2347da(0x153)](_0x2347da(0x1ba)+origArgs['join']('\x20')),await _0x21dd76[_0x2347da(0x1c5)](_0x209405,_0x587e14,_0x5d6296,_0x4e0be7);}catch(_0x112039){process[_0x2347da(0x1b9)]=0x1,logger[_0x2347da(0x1c8)](util[_0x2347da(0x197)](_0x112039));const _0x1f3255={'globalException':util['format']('%j',_0x112039)};PerformanceTester[_0x2347da(0x170)](PerformanceEvents[_0x2347da(0x1c2)],![],util['format'](_0x112039));if(helper[_0x2347da(0x184)](global[_0x2347da(0x198)])&&helper[_0x2347da(0x184)](global['framework']))return;try{utilities[_0x2347da(0x169)](_0x21dd76[_0x2347da(0x190)],_0x1f3255,global[_0x2347da(0x198)],global['framework']);}catch(_0x12386c){logger['debug'](_0x2347da(0x1bb)+_0x12386c['stack']);}try{await helper[_0x2347da(0x180)](global[_0x2347da(0x198)]);}catch(_0x515703){logger[_0x2347da(0x174)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x515703['stack']);}await BrowserstackCLI[_0x2347da(0x176)]()[_0x2347da(0x15f)](),PerformanceTester['end'](PerformanceEvents[_0x2347da(0x1c2)],![],util[_0x2347da(0x197)](_0x112039));}finally{PerformanceTester[_0x2347da(0x196)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path['join'](helper[a44_0x160749(0x179)](),a44_0x160749(0x168));if(fs[a44_0x160749(0x151)](browserstackFolderPath)){const filePath=path[a44_0x160749(0x157)](browserstackFolderPath,a44_0x160749(0x1c6));fs[a44_0x160749(0x151)](filePath)&&fs[a44_0x160749(0x162)](filePath);}}catch(a44_0x581384){logger[a44_0x160749(0x174)](a44_0x160749(0x15b)+a44_0x581384[a44_0x160749(0x1b0)]);}function a44_0x1cb5(){const _0x112a9e=['Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','assign','usage','parserConfiguration','mocha','.browserstack','fireFunnelTestEvent','Parsing\x20command\x20line\x20arguments','sjoTs','push','describe','dyVzK','NIGHTWATCH','end','demandCommand','--require','BupsA','debug','./jest/command','getInstance','winstonLogger','./codeceptjs/command','homedir','MOCHA','12122289JEXUQf','VANILLA','hpmrb','codeceptjs','legtP','sendLogs','XDyna','CUCUMBER','mocha/lib/cli/run.js','isUndefined','--config','RSwBY','gXsZp','help','alias','setBrowserStackAutomationDisable','zyeyM','FkyKe','setTestObservabilityDisable','JUgRc','3168970lEJtIZ','OUnRI','./integrations/command','--opts','CODECEPTJS','WYusS','2567640OemuPo','start','format','config','EVENTS','--no-config','node','hFkmt','find','./vanilla-js/command','4312777YOjfAi','../../ats/src/index','hDfXG','./nightwatch/command','vanilla','nightwatch','../helpers/helper','./cucumber-js/command','2fTNKlR','HELP','--package','argv','../helpers/BrowserStackSetup','671253FlCbLP','UUohX','showHelpOnFail','wtNQz','message','534161pgSwmh','./playwright/command','8HprXYX','rYFJO','../helpers/logger','handler','./v2/browserstackCLI','WVwsl','exitCode','Running\x20SDK\x20with\x20args\x20','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','PLAYWRIGHT','SDKTestSuccessful','cucumber-js','HST','VERSION','command','SDK_SETUP','MWgXs','--mochaRequire','IZWfy','.local-not-set.json','QIdkP','error','includes','INFO','dot-notation','bmCiY','aYFsL','Qyjwe','jest','wrap','existsSync','4561448DHfSXx','info','ZBsuK','../helpers/performance/constants','QnvTj','join','../helpers/utilities','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','run','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','fySNf','BcEDM','mocha/lib/cli/commands.js','stop','--no-opts','slice','unlinkSync'];a44_0x1cb5=function(){return _0x112a9e;};return a44_0x1cb5();}process[a44_0x160749(0x1aa)][a44_0x160749(0x1c9)]('mocha')&&(!process['argv'][a44_0x160749(0x1c9)](a44_0x160749(0x192))&&process['argv'][a44_0x160749(0x16c)](a44_0x160749(0x160)),!process[a44_0x160749(0x1aa)][a44_0x160749(0x19d)](_0x1be868=>_0x1be868[a44_0x160749(0x1c9)](a44_0x160749(0x185)))&&process[a44_0x160749(0x1aa)]['push'](a44_0x160749(0x19a)),!process[a44_0x160749(0x1aa)][a44_0x160749(0x1c9)](a44_0x160749(0x1a9))&&process[a44_0x160749(0x1aa)][a44_0x160749(0x16c)]('--no-package'),helper['findAndReplace'](process['argv'],a44_0x160749(0x172),a44_0x160749(0x1c4)));PerformanceTester['start'](PerformanceEvents['SDK_SETUP']);const a44_0x561a06={};a44_0x561a06[a44_0x160749(0x14b)]=![];const argv=yargs[a44_0x160749(0x166)](a44_0x561a06)[a44_0x160749(0x165)]('usage:\x20$0\x20<command>\x20[args]')[a44_0x160749(0x189)]('v','version')[a44_0x160749(0x16d)]('v')['alias']('h',a44_0x160749(0x188))['help']('help')[a44_0x160749(0x1ae)](!![],Constants[a44_0x160749(0x1c0)][a44_0x160749(0x1a8)])[a44_0x160749(0x1c1)](a44_0x160749(0x14f),Constants['JEST'][a44_0x160749(0x1ca)],function(_0x55e078){const _0xe85983=a44_0x160749,_0x220a42={'UUohX':_0xe85983(0x14f),'bmCiY':function(_0x5580f1,_0x185a1e,_0xad4da6,_0x18fd2a,_0xb85afd){return _0x5580f1(_0x185a1e,_0xad4da6,_0x18fd2a,_0xb85afd);},'UMmgY':function(_0x6b25cc,_0x57ad8f){return _0x6b25cc(_0x57ad8f);},'QnvTj':_0xe85983(0x175)},_0x20b5dd=process[_0xe85983(0x1aa)][_0xe85983(0x161)](0x2);helper[_0xe85983(0x18d)](),helper[_0xe85983(0x18a)]();const _0x22cd41=new BrowserStackSetup(_0x55e078[_0xe85983(0x1aa)],_0x220a42[_0xe85983(0x1ad)]);return _0x220a42[_0xe85983(0x14c)](captureError,_0x220a42['UMmgY'](require,_0x220a42[_0xe85983(0x156)]),_0x55e078[_0xe85983(0x1aa)],_0x22cd41,_0x20b5dd);})['command'](a44_0x160749(0x167),Constants[a44_0x160749(0x17a)]['INFO'],_0x26347a=>{const _0x10275c=a44_0x160749,_0x47022c={'CORNo':function(_0x5c3602,_0x1857ab,_0x404815,_0xe45aa4){return _0x5c3602(_0x1857ab,_0x404815,_0xe45aa4);},'LIeJW':function(_0x21d31e,_0x3a6408){return _0x21d31e(_0x3a6408);},'QmOxu':'./mocha/command','rYFJO':_0x10275c(0x167),'zyeyM':_0x10275c(0x16a),'aYFsL':function(_0x5f43e3,_0x20cfd6,_0x4f73ae){return _0x5f43e3(_0x20cfd6,_0x4f73ae);},'XDyna':_0x10275c(0x183),'QIdkP':_0x10275c(0x15e),'JVutY':function(_0x39014c,_0x569f21,_0x58d3fb){return _0x39014c(_0x569f21,_0x58d3fb);},'MWgXs':'mocha/lib/cli/cli.js','MZfTV':function(_0x46d9bd){return _0x46d9bd();}};process['argv']=process[_0x10275c(0x1aa)][_0x10275c(0x161)](0x1),helper[_0x10275c(0x18d)](),helper[_0x10275c(0x18a)]();const _0x55bba6=new BrowserStackSetup(_0x26347a[_0x10275c(0x1aa)],_0x47022c['rYFJO']);logger[_0x10275c(0x174)](_0x47022c[_0x10275c(0x18b)]);const _0x55eddb=_0x47022c[_0x10275c(0x14d)](requireModule,_0x47022c[_0x10275c(0x181)],_0x47022c[_0x10275c(0x1b4)]),_0x11b702=_0x47022c[_0x10275c(0x14d)](requireModule,_0x47022c[_0x10275c(0x1c7)],_0x47022c[_0x10275c(0x1b4)]);delete _0x55eddb[_0x10275c(0x1b6)],_0x55eddb['handler']=function(_0x17833b){return _0x47022c['CORNo'](captureError,_0x47022c['LIeJW'](require,_0x47022c['QmOxu']),_0x17833b,_0x55bba6);},_0x11b702[_0x10275c(0x15a)]=_0x55eddb;const {main:_0x53715c}=_0x47022c['JVutY'](requireModule,_0x47022c[_0x10275c(0x1c3)],_0x47022c[_0x10275c(0x1b4)]);_0x47022c['MZfTV'](_0x53715c);})['command'](a44_0x160749(0x1be),Constants[a44_0x160749(0x182)]['INFO'],function(_0x2384bf){const _0x21e623=a44_0x160749,_0x3629f8={'RSwBY':_0x21e623(0x1be),'JUgRc':function(_0x1215a1,_0x246ba7,_0x46de38,_0x11da4a,_0xe6ffc8){return _0x1215a1(_0x246ba7,_0x46de38,_0x11da4a,_0xe6ffc8);},'hDfXG':function(_0x3cab73,_0x1ec579){return _0x3cab73(_0x1ec579);},'BupsA':_0x21e623(0x1a6)},_0x1786ef=process[_0x21e623(0x1aa)]['slice'](0x2),_0x574642=new BrowserStackSetup(_0x2384bf['argv'],_0x3629f8[_0x21e623(0x186)]);return _0x3629f8[_0x21e623(0x18e)](captureError,_0x3629f8[_0x21e623(0x1a1)](require,_0x3629f8[_0x21e623(0x173)]),_0x2384bf[_0x21e623(0x1aa)],_0x574642,_0x1786ef);})['command'](a44_0x160749(0x19b),Constants[a44_0x160749(0x17c)][a44_0x160749(0x1ca)],function(_0x3b6414){const _0x256348=a44_0x160749,_0x3985f4={'wtNQz':_0x256348(0x1a3),'ReTHj':function(_0x37845c,_0x150fda,_0x503da8,_0x4b8188,_0x1fa3b8){return _0x37845c(_0x150fda,_0x503da8,_0x4b8188,_0x1fa3b8);},'Qyjwe':function(_0x49f23b,_0x2c4ec8){return _0x49f23b(_0x2c4ec8);},'sjoTs':_0x256348(0x19e)},_0x507d7d=process[_0x256348(0x1aa)][_0x256348(0x161)](0x2),_0x17432d=new BrowserStackSetup(_0x3b6414[_0x256348(0x1aa)],_0x3985f4[_0x256348(0x1af)]);return _0x3985f4['ReTHj'](captureError,_0x3985f4[_0x256348(0x14e)](require,_0x3985f4[_0x256348(0x16b)]),_0x3b6414[_0x256348(0x1aa)],_0x17432d,_0x507d7d);})[a44_0x160749(0x1c1)](a44_0x160749(0x1a4),Constants[a44_0x160749(0x16f)]['INFO'],function(_0x1b9901){const _0x457f1a=a44_0x160749,_0x126091={'GTIIZ':function(_0x184a7a,_0x50d57e,_0x492877,_0x40357e,_0xd559ce){return _0x184a7a(_0x50d57e,_0x492877,_0x40357e,_0xd559ce);},'Kwdvs':function(_0x3f614f,_0x4c7637){return _0x3f614f(_0x4c7637);},'dyVzK':_0x457f1a(0x1a2)},_0x40e0a0=process[_0x457f1a(0x1aa)]['slice'](0x2),_0x2bebc8=new BrowserStackSetup(_0x1b9901[_0x457f1a(0x1aa)]);return _0x126091['GTIIZ'](captureError,_0x126091['Kwdvs'](require,_0x126091[_0x457f1a(0x16e)]),_0x1b9901[_0x457f1a(0x1aa)],_0x2bebc8,_0x40e0a0);})[a44_0x160749(0x1c1)](a44_0x160749(0x17e),Constants[a44_0x160749(0x193)][a44_0x160749(0x1ca)],function(_0x1edb97){const _0x19bcd3=a44_0x160749,_0x257ade={'WYusS':_0x19bcd3(0x17e),'sqzmm':function(_0x5ab1c5,_0x5db9a8,_0x31006b,_0x5da824,_0x472ee6){return _0x5ab1c5(_0x5db9a8,_0x31006b,_0x5da824,_0x472ee6);},'BcEDM':function(_0x338e03,_0x38bdf5){return _0x338e03(_0x38bdf5);},'FkyKe':_0x19bcd3(0x178)},_0x4973cf=process[_0x19bcd3(0x1aa)][_0x19bcd3(0x161)](0x2),_0x264b9e=new BrowserStackSetup(_0x1edb97[_0x19bcd3(0x1aa)],_0x257ade[_0x19bcd3(0x194)]);return _0x257ade['sqzmm'](captureError,_0x257ade[_0x19bcd3(0x15d)](require,_0x257ade[_0x19bcd3(0x18c)]),_0x1edb97[_0x19bcd3(0x1aa)],_0x264b9e,_0x4973cf);})[a44_0x160749(0x1c1)]('ats',Constants[a44_0x160749(0x1bf)]['INFO'],function(_0x7570b){const _0x44f629=a44_0x160749,_0x3efa0e={'hFkmt':function(_0x5d59ef,_0x4fa4ed,_0x4a72df){return _0x5d59ef(_0x4fa4ed,_0x4a72df);},'legtP':function(_0x38dc31,_0x4d5437){return _0x38dc31(_0x4d5437);},'WVwsl':_0x44f629(0x1a0)},_0x14b292=process[_0x44f629(0x1aa)][_0x44f629(0x161)](0x2);return _0x3efa0e[_0x44f629(0x19c)](captureError,_0x3efa0e[_0x44f629(0x17f)](require,_0x3efa0e[_0x44f629(0x1b8)]),_0x7570b);})['command']('integrations',Constants['INTEGRATIONS'][a44_0x160749(0x1ca)],function(_0x3264c8){const _0x5ce5b6=a44_0x160749,_0x52c6b8={'ZBsuK':function(_0x1f6417,_0x2263ce){return _0x1f6417(_0x2263ce);}};return _0x52c6b8[_0x5ce5b6(0x154)](runIntegrations,_0x3264c8);})['command']('playwright',Constants[a44_0x160749(0x1bc)]['INFO'],function(_0x522ec7){const _0x311923=a44_0x160749,_0x529bd4={'fySNf':function(_0x3696f8,_0x3b391a,_0xb66486,_0x36a025,_0x5864a1){return _0x3696f8(_0x3b391a,_0xb66486,_0x36a025,_0x5864a1);},'hpmrb':function(_0x42fecb,_0x47f976){return _0x42fecb(_0x47f976);},'gXsZp':_0x311923(0x1b2)},_0x1af176=process['argv'][_0x311923(0x161)](0x2);helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x329b9b=new BrowserStackSetup(_0x522ec7[_0x311923(0x1aa)],FRAMEWORKS[_0x311923(0x1bc)]);return _0x529bd4[_0x311923(0x15c)](captureError,_0x529bd4[_0x311923(0x17d)](require,_0x529bd4[_0x311923(0x187)]),_0x522ec7[_0x311923(0x1aa)],_0x329b9b,_0x1af176);})[a44_0x160749(0x171)](0x1,a44_0x160749(0x159))[a44_0x160749(0x150)](null)[a44_0x160749(0x1aa)];!helper[a44_0x160749(0x184)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a44_0x160749(0x1c8)](a44_0x160749(0x163));
2
+ 'use strict';const a45_0x31c454=a45_0x3adf;(function(_0x1763db,_0x5f0b8d){const _0x4667d9=a45_0x3adf,_0xf25481=_0x1763db();while(!![]){try{const _0x2faa2b=-parseInt(_0x4667d9(0x209))/0x1+-parseInt(_0x4667d9(0x1c3))/0x2+-parseInt(_0x4667d9(0x1cb))/0x3+parseInt(_0x4667d9(0x1de))/0x4+parseInt(_0x4667d9(0x1f7))/0x5*(-parseInt(_0x4667d9(0x1fa))/0x6)+parseInt(_0x4667d9(0x1cf))/0x7*(parseInt(_0x4667d9(0x20f))/0x8)+parseInt(_0x4667d9(0x1f8))/0x9*(parseInt(_0x4667d9(0x222))/0xa);if(_0x2faa2b===_0x5f0b8d)break;else _0xf25481['push'](_0xf25481['shift']());}catch(_0x4ca12a){_0xf25481['push'](_0xf25481['shift']());}}}(a45_0x32b3,0xae06c));const fs=require('fs'),path=require('path'),util=require(a45_0x31c454(0x1db)),{requireModule}=require('../helpers/helper'),PerformanceTester=require(a45_0x31c454(0x1f0)),PerformanceEvents=require('../helpers/performance/constants')[a45_0x31c454(0x217)],helper=require(a45_0x31c454(0x216)),utilities=require(a45_0x31c454(0x21b)),{default:BrowserStackSetup}=require(a45_0x31c454(0x210)),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require(a45_0x31c454(0x1b0)),yargs=require(a45_0x31c454(0x229)),Constants=require(a45_0x31c454(0x1b9)),BrowserstackCLI=require(a45_0x31c454(0x1ba)),logger=require(a45_0x31c454(0x21c))[a45_0x31c454(0x1c8)],origArgs=Object[a45_0x31c454(0x1ab)]([],process[a45_0x31c454(0x1ff)]),captureError=async(_0x3cff44,_0x1dc387,_0x56567a,_0x5c15e6=null)=>{const _0x40e262=a45_0x31c454,_0x42db8f={'IneSE':function(_0x3f7247,_0x1e0fc0,_0xffb4df,_0x530413){return _0x3f7247(_0x1e0fc0,_0xffb4df,_0x530413);},'qmEka':_0x40e262(0x227)};try{logger[_0x40e262(0x1a9)]('Running\x20SDK\x20with\x20args\x20'+origArgs['join']('\x20')),await _0x42db8f['IneSE'](_0x3cff44,_0x1dc387,_0x5c15e6,_0x56567a);}catch(_0x534177){process[_0x40e262(0x1d1)]=0x1,logger['error'](util[_0x40e262(0x1b4)](_0x534177));const _0x57f2ff={'globalException':util['format']('%j',_0x534177)};PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x534177));if(helper[_0x40e262(0x1df)](global[_0x40e262(0x219)])&&helper['isUndefined'](global[_0x40e262(0x1fb)]))return;try{utilities[_0x40e262(0x221)](_0x42db8f['qmEka'],_0x57f2ff,global[_0x40e262(0x219)],global[_0x40e262(0x1fb)]);}catch(_0x51dc2c){logger[_0x40e262(0x1ad)](_0x40e262(0x20b)+_0x51dc2c[_0x40e262(0x1f6)]);}try{await helper[_0x40e262(0x208)](global['config']);}catch(_0x15746f){logger[_0x40e262(0x1ad)](_0x40e262(0x1b1)+_0x15746f['stack']);}await BrowserstackCLI[_0x40e262(0x1e2)]()['stop'](),PerformanceTester['end'](PerformanceEvents[_0x40e262(0x21d)],![],util[_0x40e262(0x1b4)](_0x534177));}finally{PerformanceTester[_0x40e262(0x226)](PerformanceEvents[_0x40e262(0x1e3)]);}};function a45_0x3adf(_0x2cab89,_0x503cac){const _0x32b3b3=a45_0x32b3();return a45_0x3adf=function(_0x3adf3d,_0x4579d3){_0x3adf3d=_0x3adf3d-0x1a7;let _0x3f1c75=_0x32b3b3[_0x3adf3d];return _0x3f1c75;},a45_0x3adf(_0x2cab89,_0x503cac);}try{const browserstackFolderPath=path[a45_0x31c454(0x1fe)](helper[a45_0x31c454(0x22a)](),a45_0x31c454(0x1e7));if(fs[a45_0x31c454(0x200)](browserstackFolderPath)){const filePath=path[a45_0x31c454(0x1fe)](browserstackFolderPath,a45_0x31c454(0x1f5));fs[a45_0x31c454(0x200)](filePath)&&fs[a45_0x31c454(0x1cd)](filePath);}}catch(a45_0x2af364){logger['debug'](a45_0x31c454(0x1e9)+a45_0x2af364[a45_0x31c454(0x1f9)]);}function a45_0x32b3(){const _0x51707f=['--require','includes','../../ats/src/index','fbVuT','playwright','../helpers/performance/performance-tester','NXjjs','showHelpOnFail','bvfYq','demandCommand','.local-not-set.json','stack','560895ZWmoVM','4634685HthHfq','message','6jqvPpA','framework','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','FjSRq','join','argv','existsSync','command','describe','FYnou','codeceptjs','hmGtN','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','nPgpA','sendLogs','755451FnQQsF','--opts','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','pZHtJ','./cucumber-js/command','wbLVx','4291080TMpmjZ','../helpers/BrowserStackSetup','parserConfiguration','CODECEPTJS','integrations','INFO','XbVbB','../helpers/helper','EVENTS','vanilla','config','BkGdZ','../helpers/utilities','../helpers/logger','SDK_SETUP','VANILLA','qYuVj','MOCHA','fireFunnelTestEvent','10sqjzux','slice','env','AijTH','start','SDKTestSuccessful','INTEGRATIONS','yargs','homedir','mocha/lib/cli/commands.js','./vanilla-js/command','info','alias','assign','VERSION','debug','nightwatch','node','./integrations/command','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','llpHW','Parsing\x20command\x20line\x20arguments','format','--mochaRequire','find','--no-package','PLAYWRIGHT','./utils/constants','./v2/browserstackCLI','BROWSERSTACK_CONFIG_FILE_PATH','gvEwP','ecpvb','wrap','./mocha/command','WSMFZ','JEST','mocha/lib/cli/run.js','658996IwuDxU','handler','HST','help','version','winstonLogger','CUCUMBER','--no-opts','2240241LqVYtL','NIGHTWATCH','unlinkSync','HELP','14ploJjd','hyAgd','exitCode','mocha','getConfigPath','setTestObservabilityDisable','jest','setBrowserStackAutomationDisable','--no-config','--config','usage:\x20$0\x20<command>\x20[args]','cucumber-js','util','push','--package','4275808ZvVObh','isUndefined','ywdMG','QuZko','getInstance','SDK_CLEANUP','HTqlC','./playwright/command','./nightwatch/command','.browserstack','dot-notation','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','ats'];a45_0x32b3=function(){return _0x51707f;};return a45_0x32b3();}process[a45_0x31c454(0x1ff)]['includes'](a45_0x31c454(0x1d2))&&(!process[a45_0x31c454(0x1ff)][a45_0x31c454(0x1ec)](a45_0x31c454(0x20a))&&process[a45_0x31c454(0x1ff)][a45_0x31c454(0x1dc)](a45_0x31c454(0x1ca)),!process[a45_0x31c454(0x1ff)][a45_0x31c454(0x1b6)](_0xeed838=>_0xeed838[a45_0x31c454(0x1ec)](a45_0x31c454(0x1d8)))&&process[a45_0x31c454(0x1ff)]['push'](a45_0x31c454(0x1d7)),!process[a45_0x31c454(0x1ff)][a45_0x31c454(0x1ec)](a45_0x31c454(0x1dd))&&process[a45_0x31c454(0x1ff)][a45_0x31c454(0x1dc)](a45_0x31c454(0x1b7)),helper['findAndReplace'](process['argv'],a45_0x31c454(0x1eb),a45_0x31c454(0x1b5)));PerformanceTester[a45_0x31c454(0x226)](PerformanceEvents[a45_0x31c454(0x21d)]);const a45_0xb5c488={};a45_0xb5c488[a45_0x31c454(0x1e8)]=![];const argv=yargs[a45_0x31c454(0x211)](a45_0xb5c488)['usage'](a45_0x31c454(0x1d9))['alias']('v',a45_0x31c454(0x1c7))[a45_0x31c454(0x202)]('v')[a45_0x31c454(0x1aa)]('h',a45_0x31c454(0x1c6))[a45_0x31c454(0x1c6)]('help')[a45_0x31c454(0x1f2)](!![],Constants[a45_0x31c454(0x1ac)][a45_0x31c454(0x1ce)])[a45_0x31c454(0x201)](a45_0x31c454(0x1d5),Constants[a45_0x31c454(0x1c1)][a45_0x31c454(0x214)],function(_0x440e91){const _0x46757e=a45_0x31c454,_0x2220ba={'ZXelJ':_0x46757e(0x1d5),'abLbT':function(_0x49b896,_0x238959,_0x84281f,_0x560e20,_0x1a6d0b){return _0x49b896(_0x238959,_0x84281f,_0x560e20,_0x1a6d0b);},'bvfYq':function(_0x27fdea,_0x444d03){return _0x27fdea(_0x444d03);},'QuZko':'./jest/command'},_0x2a2967=process[_0x46757e(0x1ff)][_0x46757e(0x223)](0x2);helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x4bbd75=new BrowserStackSetup(_0x440e91[_0x46757e(0x1ff)],_0x2220ba['ZXelJ']);return _0x2220ba['abLbT'](captureError,_0x2220ba[_0x46757e(0x1f3)](require,_0x2220ba[_0x46757e(0x1e1)]),_0x440e91[_0x46757e(0x1ff)],_0x4bbd75,_0x2a2967);})[a45_0x31c454(0x201)](a45_0x31c454(0x1d2),Constants[a45_0x31c454(0x220)]['INFO'],_0x11e5b9=>{const _0x3ff5bc=a45_0x31c454,_0x5499f2={'dAQAo':function(_0x41969,_0x358d87,_0x12f156,_0x5c5dcf){return _0x41969(_0x358d87,_0x12f156,_0x5c5dcf);},'hmGtN':function(_0xbaffd6,_0x15ac13){return _0xbaffd6(_0x15ac13);},'HTqlC':_0x3ff5bc(0x1bf),'gvEwP':'mocha','FYnou':_0x3ff5bc(0x1b3),'fbVuT':function(_0x4b515a,_0x13b4db,_0x413e4a){return _0x4b515a(_0x13b4db,_0x413e4a);},'ecpvb':_0x3ff5bc(0x1c2),'GBcoh':_0x3ff5bc(0x1a7),'BkGdZ':'mocha/lib/cli/cli.js','ywdMG':function(_0x56363f){return _0x56363f();}};process['argv']=process[_0x3ff5bc(0x1ff)][_0x3ff5bc(0x223)](0x1),helper[_0x3ff5bc(0x1d4)](),helper[_0x3ff5bc(0x1d6)]();const _0x4c4cc3=new BrowserStackSetup(_0x11e5b9[_0x3ff5bc(0x1ff)],_0x5499f2['gvEwP']);logger[_0x3ff5bc(0x1ad)](_0x5499f2[_0x3ff5bc(0x203)]);const _0x77e1cf=_0x5499f2[_0x3ff5bc(0x1ee)](requireModule,_0x5499f2[_0x3ff5bc(0x1bd)],_0x5499f2[_0x3ff5bc(0x1bc)]),_0x5b8411=_0x5499f2['fbVuT'](requireModule,_0x5499f2['GBcoh'],_0x5499f2[_0x3ff5bc(0x1bc)]);delete _0x77e1cf[_0x3ff5bc(0x1c4)],_0x77e1cf[_0x3ff5bc(0x1c4)]=function(_0x5e6aff){const _0x3a5213=_0x3ff5bc;return _0x5499f2['dAQAo'](captureError,_0x5499f2[_0x3a5213(0x205)](require,_0x5499f2[_0x3a5213(0x1e4)]),_0x5e6aff,_0x4c4cc3);},_0x5b8411['run']=_0x77e1cf;const {main:_0x291bb6}=_0x5499f2[_0x3ff5bc(0x1ee)](requireModule,_0x5499f2[_0x3ff5bc(0x21a)],_0x5499f2[_0x3ff5bc(0x1bc)]);_0x5499f2[_0x3ff5bc(0x1e0)](_0x291bb6);})[a45_0x31c454(0x201)](a45_0x31c454(0x1da),Constants[a45_0x31c454(0x1c9)][a45_0x31c454(0x214)],function(_0x19a10c){const _0xd8c224=a45_0x31c454,_0x4073e2={'ByRtu':'cucumber-js','qYuVj':function(_0xe3b9cb,_0x275b4d,_0x4dc2e2,_0x360f6b,_0x57bd56){return _0xe3b9cb(_0x275b4d,_0x4dc2e2,_0x360f6b,_0x57bd56);},'wbLVx':function(_0x5a41b7,_0x50b4c8){return _0x5a41b7(_0x50b4c8);},'IfvFs':_0xd8c224(0x20d)},_0x3789cc=process['argv'][_0xd8c224(0x223)](0x2),_0x2fcb98=new BrowserStackSetup(_0x19a10c['argv'],_0x4073e2['ByRtu']);return _0x4073e2[_0xd8c224(0x21f)](captureError,_0x4073e2[_0xd8c224(0x20e)](require,_0x4073e2['IfvFs']),_0x19a10c[_0xd8c224(0x1ff)],_0x2fcb98,_0x3789cc);})[a45_0x31c454(0x201)](a45_0x31c454(0x1af),Constants[a45_0x31c454(0x21e)][a45_0x31c454(0x214)],function(_0x234b5c){const _0x3b9e01=a45_0x31c454,_0x570f22={'FjSRq':_0x3b9e01(0x218),'TIAJv':function(_0x5c1401,_0x530cf6,_0x16fe85,_0x5000e4,_0x32c552){return _0x5c1401(_0x530cf6,_0x16fe85,_0x5000e4,_0x32c552);},'WSMFZ':function(_0x10316b,_0x574fb9){return _0x10316b(_0x574fb9);},'hyAgd':_0x3b9e01(0x1a8)},_0x381314=process[_0x3b9e01(0x1ff)][_0x3b9e01(0x223)](0x2),_0x98a89d=new BrowserStackSetup(_0x234b5c[_0x3b9e01(0x1ff)],_0x570f22[_0x3b9e01(0x1fd)]);return _0x570f22['TIAJv'](captureError,_0x570f22[_0x3b9e01(0x1c0)](require,_0x570f22[_0x3b9e01(0x1d0)]),_0x234b5c[_0x3b9e01(0x1ff)],_0x98a89d,_0x381314);})[a45_0x31c454(0x201)](a45_0x31c454(0x1ae),Constants[a45_0x31c454(0x1cc)][a45_0x31c454(0x214)],function(_0x3c6355){const _0x4601bd=a45_0x31c454,_0x377248={'PpmEG':function(_0x3f8347,_0x4d3fee,_0x5d9a5c,_0x1358c4,_0x284923){return _0x3f8347(_0x4d3fee,_0x5d9a5c,_0x1358c4,_0x284923);},'uXveb':function(_0x251409,_0x2a563f){return _0x251409(_0x2a563f);},'pbCDK':_0x4601bd(0x1e6)},_0x26e751=process[_0x4601bd(0x1ff)][_0x4601bd(0x223)](0x2),_0x4cc8aa=new BrowserStackSetup(_0x3c6355[_0x4601bd(0x1ff)]);return _0x377248['PpmEG'](captureError,_0x377248['uXveb'](require,_0x377248['pbCDK']),_0x3c6355[_0x4601bd(0x1ff)],_0x4cc8aa,_0x26e751);})[a45_0x31c454(0x201)]('codeceptjs',Constants[a45_0x31c454(0x212)][a45_0x31c454(0x214)],function(_0x41aeac){const _0x37d455=a45_0x31c454,_0x5bd1ed={'NXjjs':_0x37d455(0x204),'llpHW':function(_0x105127,_0x3af38f,_0x467d98,_0x5e30f9,_0x41776d){return _0x105127(_0x3af38f,_0x467d98,_0x5e30f9,_0x41776d);},'hUcXt':function(_0x2daaba,_0x2d669c){return _0x2daaba(_0x2d669c);},'nPgpA':'./codeceptjs/command'},_0xbe233c=process[_0x37d455(0x1ff)][_0x37d455(0x223)](0x2),_0x1d5e7c=new BrowserStackSetup(_0x41aeac['argv'],_0x5bd1ed[_0x37d455(0x1f1)]);return _0x5bd1ed[_0x37d455(0x1b2)](captureError,_0x5bd1ed['hUcXt'](require,_0x5bd1ed[_0x37d455(0x207)]),_0x41aeac[_0x37d455(0x1ff)],_0x1d5e7c,_0xbe233c);})[a45_0x31c454(0x201)](a45_0x31c454(0x1ea),Constants[a45_0x31c454(0x1c5)][a45_0x31c454(0x214)],function(_0x3ed9e1){const _0x428ed7=a45_0x31c454,_0x142b08={'AijTH':function(_0x524237,_0x25c5e2,_0x1ad675){return _0x524237(_0x25c5e2,_0x1ad675);},'XbVbB':function(_0x22c614,_0xfa1ce6){return _0x22c614(_0xfa1ce6);},'hAksv':_0x428ed7(0x1ed)},_0x422f80=process[_0x428ed7(0x1ff)][_0x428ed7(0x223)](0x2);return _0x142b08[_0x428ed7(0x225)](captureError,_0x142b08[_0x428ed7(0x215)](require,_0x142b08['hAksv']),_0x3ed9e1);})[a45_0x31c454(0x201)](a45_0x31c454(0x213),Constants[a45_0x31c454(0x228)][a45_0x31c454(0x214)],function(_0x131372){const _0x3deceb={'laNxJ':function(_0x4cd0ea,_0x597bc9){return _0x4cd0ea(_0x597bc9);}};return _0x3deceb['laNxJ'](runIntegrations,_0x131372);})[a45_0x31c454(0x201)](a45_0x31c454(0x1ef),Constants['PLAYWRIGHT'][a45_0x31c454(0x214)],function(_0x37b181){const _0x1dc6e9=a45_0x31c454,_0x19944e={'pZHtJ':function(_0x16fc1b,_0x3679c4,_0x31be05,_0x2677e5,_0x559a1a){return _0x16fc1b(_0x3679c4,_0x31be05,_0x2677e5,_0x559a1a);},'TYhXK':function(_0x49cf4f,_0x2fba8a){return _0x49cf4f(_0x2fba8a);},'wDuRV':_0x1dc6e9(0x1e5)},_0x183512=process[_0x1dc6e9(0x1ff)]['slice'](0x2);helper[_0x1dc6e9(0x1d3)](process[_0x1dc6e9(0x1ff)])&&(process[_0x1dc6e9(0x224)][_0x1dc6e9(0x1bb)]=helper['getConfigPath'](process[_0x1dc6e9(0x1ff)]));helper[_0x1dc6e9(0x1d4)](),helper[_0x1dc6e9(0x1d6)]();const _0x3383fc=new BrowserStackSetup(_0x37b181['argv'],FRAMEWORKS[_0x1dc6e9(0x1b8)]);return _0x19944e[_0x1dc6e9(0x20c)](captureError,_0x19944e['TYhXK'](require,_0x19944e['wDuRV']),_0x37b181[_0x1dc6e9(0x1ff)],_0x3383fc,_0x183512);})[a45_0x31c454(0x1f4)](0x1,a45_0x31c454(0x206))[a45_0x31c454(0x1be)](null)['argv'];!helper[a45_0x31c454(0x1df)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a45_0x31c454(0x1ea)&&console['error'](a45_0x31c454(0x1fc));
package/src/bin/setup.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const a45_0x118375=a45_0x7baf;(function(_0x352e39,_0x177783){const _0x53fa22=a45_0x7baf,_0x309a8f=_0x352e39();while(!![]){try{const _0xdc4f29=-parseInt(_0x53fa22(0x108))/0x1+parseInt(_0x53fa22(0xe2))/0x2+-parseInt(_0x53fa22(0xcc))/0x3*(-parseInt(_0x53fa22(0xde))/0x4)+-parseInt(_0x53fa22(0xe5))/0x5+-parseInt(_0x53fa22(0xc9))/0x6+-parseInt(_0x53fa22(0xc7))/0x7*(parseInt(_0x53fa22(0xe1))/0x8)+parseInt(_0x53fa22(0xf4))/0x9*(parseInt(_0x53fa22(0x114))/0xa);if(_0xdc4f29===_0x177783)break;else _0x309a8f['push'](_0x309a8f['shift']());}catch(_0x59d772){_0x309a8f['push'](_0x309a8f['shift']());}}}(a45_0x14ec,0xd611c));function a45_0x14ec(){const _0x5be0e9=['stringify','/../../browserstack.pw.yml.sample','length','hAjKA','YnPCL','key','codeceptjs','93340pVBbeQ','../helpers/logger','/package.json','7nudirY','postinstall','8117940nBtDYg','username','Adding\x20new\x20script(s)\x20in\x20package.json...','4911yuQvDr','yargs','WVUtm','source','join','AaWVx','load','ysUqv','winstonLogger','utf8','/browserstack.yml','argv','-browserstack','scripts','YHXdS','includes','Creating\x20configuration\x20file...','nightwatch','3992hufxEM','mocha','RljHH','9714416UkSafZ','1119678piLcZd','vySoJ','fireFunnelTestEvent','7080535SKyxww','debug','WjbCa','writeFileSync','SDKSetup','bbFiq','CgBtt','isUndefined','node-setup','rSQZD','VOTFc','../helpers/helper','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','RmCnT','info','4104LwjRcH','xpvDZ','push','cwd','sgxcG','npm\x20update\x20browserstack-node-sdk','browserstack-node-sdk','YOUR_USERNAME','splice','replace','parse','split','entries','DplMJ','js-yaml','Setup\x20completed','readFileSync','node','playwright','\x20&&\x20npm\x20update\x20browserstack-node-sdk','1589642rzXNVF','jest','YOUR_ACCESS_KEY','WxLpD','IELgI'];a45_0x14ec=function(){return _0x5be0e9;};return a45_0x14ec();}const fs=require('fs'),helper=require(a45_0x118375(0xf0)),utilities=require('../helpers/utilities'),yaml=require(a45_0x118375(0x102)),yargs=require(a45_0x118375(0xcd)),logger=require(a45_0x118375(0xc5))[a45_0x118375(0xd4)],configFileTemplate=__dirname+'/../../browserstack.yml.sample',configFileTemplatePW=__dirname+a45_0x118375(0x10e),configFile=process['cwd']()+a45_0x118375(0xd6),packageFile=process[a45_0x118375(0xf7)]()+a45_0x118375(0xc6),frameworks=[a45_0x118375(0xdf),a45_0x118375(0x109),'cucumber-js',a45_0x118375(0x105),a45_0x118375(0xdd),a45_0x118375(0x113),a45_0x118375(0x106)];let config;logger['info'](a45_0x118375(0xdc)),createConfigurationFile(yargs['argv'][a45_0x118375(0xca)],yargs[a45_0x118375(0xd7)][a45_0x118375(0x112)],yargs['argv'][a45_0x118375(0x106)]);try{sdkSetup();}catch(a45_0x3fd8e7){logger['debug'](a45_0x118375(0xf1)+a45_0x3fd8e7);}addScriptInPackageJson();function createConfigurationFile(_0x15215f,_0x41e4f4,_0xec5d3f=![]){const _0x10c42b=a45_0x118375,_0x3d17b4={};_0x3d17b4[_0x10c42b(0xea)]='utf8',_0x3d17b4[_0x10c42b(0x10b)]=_0x10c42b(0xfb),_0x3d17b4['AaWVx']=_0x10c42b(0x10a);const _0x3c686f=_0x3d17b4;try{let _0x3ff0d2=fs[_0x10c42b(0x104)](_0xec5d3f?configFileTemplatePW:configFileTemplate,_0x3c686f['bbFiq']);_0x15215f&&(_0x3ff0d2=_0x3ff0d2['replace'](_0x3c686f[_0x10c42b(0x10b)],_0x15215f)),_0x41e4f4&&(_0x3ff0d2=_0x3ff0d2[_0x10c42b(0xfd)](_0x3c686f[_0x10c42b(0xd1)],_0x41e4f4)),config=yaml[_0x10c42b(0xd2)](_0x3ff0d2),fs[_0x10c42b(0xe8)](configFile,_0x3ff0d2,_0x1d8f1c=>{_0x1d8f1c&&logger['error'](_0x1d8f1c);});}catch(_0xfd552f){logger['error'](_0xfd552f);}}function addPostInstallScript(_0x3a147f,_0x115814){const _0x265150=a45_0x118375,_0x26be2={};_0x26be2[_0x265150(0xee)]=_0x265150(0xc8),_0x26be2[_0x265150(0xf2)]=_0x265150(0xf9),_0x26be2[_0x265150(0x111)]=_0x265150(0x107);const _0x2e0f8e=_0x26be2;let _0x5be55b=_0x3a147f[_0x2e0f8e[_0x265150(0xee)]];if(_0x5be55b&&_0x5be55b[_0x265150(0xdb)](_0x2e0f8e[_0x265150(0xf2)]))return;!_0x5be55b?_0x5be55b=_0x2e0f8e[_0x265150(0xf2)]:_0x5be55b+=_0x2e0f8e[_0x265150(0x111)],_0x115814[_0x265150(0xf6)]([_0x2e0f8e[_0x265150(0xee)],_0x5be55b]);}function addScriptInPackageJson(){const _0x35f90a=a45_0x118375,_0x1cc286={'IELgI':_0x35f90a(0xd5),'WjbCa':function(_0x104387,_0x22b851){return _0x104387<_0x22b851;},'iNAPa':function(_0x71f70d,_0x598f0a,_0x5b0639){return _0x71f70d(_0x598f0a,_0x5b0639);},'GkVBb':function(_0x4db1fa,_0x3d1473){return _0x4db1fa<_0x3d1473;},'vySoJ':function(_0x38276e,_0x53194d,_0x39ff9a){return _0x38276e(_0x53194d,_0x39ff9a);},'CgBtt':function(_0x4702ab,_0x487695){return _0x4702ab<_0x487695;},'YHXdS':function(_0x4faf3a,_0x52b82c){return _0x4faf3a!==_0x52b82c;},'xpvDZ':_0x35f90a(0xcb)},_0x37b9e2=JSON[_0x35f90a(0xfe)](fs[_0x35f90a(0x104)](packageFile,_0x1cc286[_0x35f90a(0x10c)])),_0x59b9aa=[];for(let _0x4203e1=0x0;_0x1cc286[_0x35f90a(0xe7)](_0x4203e1,frameworks[_0x35f90a(0x10f)]);_0x4203e1+=0x1){const _0x4a5d56=_0x1cc286['iNAPa'](findScriptsWithFramework,_0x37b9e2[_0x35f90a(0xd9)],frameworks[_0x4203e1]);for(let _0x3181ad=0x0;_0x1cc286['GkVBb'](_0x3181ad,_0x4a5d56[_0x35f90a(0x10f)]);_0x3181ad+=0x1){_0x59b9aa[_0x35f90a(0xf6)](_0x1cc286[_0x35f90a(0xe3)](getUpdatedCommand,_0x37b9e2[_0x35f90a(0xd9)],_0x4a5d56[_0x3181ad]));}_0x1cc286[_0x35f90a(0xe3)](addPostInstallScript,_0x37b9e2[_0x35f90a(0xd9)],_0x59b9aa);}const _0x18e831={..._0x37b9e2[_0x35f90a(0xd9)]},_0x1507fa=_0x18e831;for(let _0x45765b=0x0;_0x1cc286[_0x35f90a(0xeb)](_0x45765b,_0x59b9aa[_0x35f90a(0x10f)]);_0x45765b+=0x1){_0x1507fa[_0x59b9aa[_0x45765b][0x0]]=_0x59b9aa[_0x45765b][0x1];}_0x1cc286[_0x35f90a(0xda)](JSON[_0x35f90a(0x10d)](_0x37b9e2[_0x35f90a(0xd9)]),JSON['stringify'](_0x1507fa))&&(logger[_0x35f90a(0xf3)](_0x1cc286[_0x35f90a(0xf5)]),_0x37b9e2['scripts']=_0x1507fa,fs[_0x35f90a(0xe8)](packageFile,JSON['stringify'](_0x37b9e2,null,0x2),_0x4d56de=>{_0x4d56de&&logger['error'](_0x4d56de);}));}function a45_0x7baf(_0x122d95,_0x243f5f){const _0x14ec2e=a45_0x14ec();return a45_0x7baf=function(_0x7baf11,_0x4244fc){_0x7baf11=_0x7baf11-0xc5;let _0x4084ef=_0x14ec2e[_0x7baf11];return _0x4084ef;},a45_0x7baf(_0x122d95,_0x243f5f);};function findScriptsWithFramework(_0x14cdd3,_0x54a44e){const _0x32c1f1=a45_0x118375,_0x4cb1f0={};_0x4cb1f0[_0x32c1f1(0xe0)]=function(_0x30ee9b,_0x156d57){return _0x30ee9b<_0x156d57;},_0x4cb1f0[_0x32c1f1(0x101)]='browserstack-node-sdk';const _0x18930a=_0x4cb1f0,_0x5892f3=[],_0x57ca36=Object[_0x32c1f1(0x100)](_0x14cdd3);for(let _0x2da276=0x0;_0x18930a[_0x32c1f1(0xe0)](_0x2da276,_0x57ca36[_0x32c1f1(0x10f)]);_0x2da276+=0x1){_0x57ca36[_0x2da276][0x1]['includes'](_0x54a44e)&&!_0x57ca36[_0x2da276][0x1][_0x32c1f1(0xdb)](_0x18930a['DplMJ'])&&_0x5892f3[_0x32c1f1(0xf6)](_0x57ca36[_0x2da276][0x0]);}return _0x5892f3;}function getUpdatedCommand(_0x217694,_0x6418cc){const _0xc152e8=a45_0x118375,_0x3c4687={};_0x3c4687['hAjKA']=function(_0x2347ea,_0x15025c){return _0x2347ea!==_0x15025c;},_0x3c4687[_0xc152e8(0xd3)]=_0xc152e8(0xfa),_0x3c4687['WVUtm']=function(_0x48645e,_0x69825c){return _0x48645e===_0x69825c;};const _0x5a5b78=_0x3c4687,_0x3fed0f=_0x6418cc+_0xc152e8(0xd8),_0x5b2b33=_0x217694[_0x6418cc],_0x428604=_0x5b2b33[_0xc152e8(0xff)]('\x20');for(const _0x222535 of frameworks){if(_0x5a5b78[_0xc152e8(0x110)](_0x428604['indexOf'](_0x222535),-0x1)){_0x428604[_0xc152e8(0xfc)](_0x428604['indexOf'](_0x222535),0x0,_0x5a5b78[_0xc152e8(0xd3)]);break;}}let _0x12604b=_0x428604[_0xc152e8(0xd0)]('\x20');return _0x5a5b78[_0xc152e8(0xce)](_0x12604b,_0x5b2b33)&&(_0x12604b='browserstack-node-sdk\x20'+_0x5b2b33),[_0x3fed0f,_0x12604b];}function sdkSetup(){const _0x950c42=a45_0x118375,_0xf65252={};_0xf65252[_0x950c42(0xef)]=_0x950c42(0xed),_0xf65252[_0x950c42(0xf8)]=_0x950c42(0xe9);const _0x2e8a91=_0xf65252;if(helper[_0x950c42(0xec)](config))return;config[_0x950c42(0xcf)]=_0x2e8a91['VOTFc'];try{utilities[_0x950c42(0xe4)](_0x2e8a91[_0x950c42(0xf8)],{},config,'');}catch(_0x3311e7){logger[_0x950c42(0xe6)](_0x950c42(0xf1)+_0x3311e7);}}logger[a45_0x118375(0xf3)](a45_0x118375(0x103));
3
+ const a46_0x45a9ac=a46_0x8f4f;(function(_0x17f47e,_0x5067ed){const _0x402c32=a46_0x8f4f,_0x205367=_0x17f47e();while(!![]){try{const _0x6dafd3=-parseInt(_0x402c32(0x18a))/0x1*(-parseInt(_0x402c32(0x18b))/0x2)+-parseInt(_0x402c32(0x197))/0x3+parseInt(_0x402c32(0x163))/0x4*(-parseInt(_0x402c32(0x16b))/0x5)+-parseInt(_0x402c32(0x17a))/0x6*(-parseInt(_0x402c32(0x153))/0x7)+-parseInt(_0x402c32(0x17b))/0x8*(parseInt(_0x402c32(0x174))/0x9)+parseInt(_0x402c32(0x158))/0xa*(parseInt(_0x402c32(0x190))/0xb)+parseInt(_0x402c32(0x1a0))/0xc*(-parseInt(_0x402c32(0x16d))/0xd);if(_0x6dafd3===_0x5067ed)break;else _0x205367['push'](_0x205367['shift']());}catch(_0x2e5b48){_0x205367['push'](_0x205367['shift']());}}}(a46_0x5160,0xc8674));const fs=require('fs'),helper=require(a46_0x45a9ac(0x152)),utilities=require(a46_0x45a9ac(0x177)),yaml=require(a46_0x45a9ac(0x193)),yargs=require(a46_0x45a9ac(0x169)),logger=require(a46_0x45a9ac(0x161))[a46_0x45a9ac(0x187)],configFileTemplate=__dirname+a46_0x45a9ac(0x189),configFileTemplatePW=__dirname+a46_0x45a9ac(0x176),configFile=process['cwd']()+a46_0x45a9ac(0x18f),packageFile=process[a46_0x45a9ac(0x19b)]()+a46_0x45a9ac(0x192),frameworks=[a46_0x45a9ac(0x18e),a46_0x45a9ac(0x179),'cucumber-js',a46_0x45a9ac(0x155),a46_0x45a9ac(0x180),a46_0x45a9ac(0x196),'playwright'];let config;logger[a46_0x45a9ac(0x183)](a46_0x45a9ac(0x18c)),createConfigurationFile(yargs['argv'][a46_0x45a9ac(0x157)],yargs[a46_0x45a9ac(0x194)]['key'],yargs[a46_0x45a9ac(0x194)][a46_0x45a9ac(0x173)]);try{sdkSetup();}catch(a46_0x3759fa){logger[a46_0x45a9ac(0x184)](a46_0x45a9ac(0x17f)+a46_0x3759fa);}addScriptInPackageJson();function createConfigurationFile(_0x2ecd80,_0x56a683,_0x67c843=![]){const _0x495c42=a46_0x45a9ac,_0x47cae2={};_0x47cae2[_0x495c42(0x170)]=_0x495c42(0x19d),_0x47cae2[_0x495c42(0x15b)]=_0x495c42(0x199),_0x47cae2[_0x495c42(0x164)]=_0x495c42(0x15f);const _0x1e39ed=_0x47cae2;try{let _0x480dc4=fs[_0x495c42(0x159)](_0x67c843?configFileTemplatePW:configFileTemplate,_0x1e39ed['JqAaz']);_0x2ecd80&&(_0x480dc4=_0x480dc4[_0x495c42(0x168)](_0x1e39ed[_0x495c42(0x15b)],_0x2ecd80)),_0x56a683&&(_0x480dc4=_0x480dc4[_0x495c42(0x168)](_0x1e39ed[_0x495c42(0x164)],_0x56a683)),config=yaml['load'](_0x480dc4),fs[_0x495c42(0x16f)](configFile,_0x480dc4,_0x1e594d=>{const _0x4195fb=_0x495c42;_0x1e594d&&logger[_0x4195fb(0x15e)](_0x1e594d);});}catch(_0x2ba803){logger[_0x495c42(0x15e)](_0x2ba803);}}function addPostInstallScript(_0x47cd88,_0x51dc63){const _0x2e1661=a46_0x45a9ac,_0x1cba5d={};_0x1cba5d[_0x2e1661(0x191)]=_0x2e1661(0x172),_0x1cba5d['dhjgs']=_0x2e1661(0x181),_0x1cba5d['UeEiO']=_0x2e1661(0x16e);const _0x23dcfb=_0x1cba5d;let _0x2cbc06=_0x47cd88[_0x23dcfb[_0x2e1661(0x191)]];if(_0x2cbc06&&_0x2cbc06[_0x2e1661(0x160)](_0x23dcfb[_0x2e1661(0x17c)]))return;!_0x2cbc06?_0x2cbc06=_0x23dcfb[_0x2e1661(0x17c)]:_0x2cbc06+=_0x23dcfb['UeEiO'],_0x51dc63['push']([_0x23dcfb[_0x2e1661(0x191)],_0x2cbc06]);}function addScriptInPackageJson(){const _0x4d55ca=a46_0x45a9ac,_0x2929e2={'gGJVf':_0x4d55ca(0x19d),'dnsVg':function(_0x56821e,_0x3a2141){return _0x56821e<_0x3a2141;},'Dypyz':function(_0x1c2e8f,_0x3dd308,_0x28b75c){return _0x1c2e8f(_0x3dd308,_0x28b75c);},'LAmsK':function(_0x5a8eb4,_0x11c89e){return _0x5a8eb4<_0x11c89e;},'sCzyY':function(_0x24effb,_0x8903a0){return _0x24effb!==_0x8903a0;},'kkHiw':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x43b419=JSON[_0x4d55ca(0x166)](fs[_0x4d55ca(0x159)](packageFile,_0x2929e2[_0x4d55ca(0x167)])),_0xd955ed=[];for(let _0x5f57e4=0x0;_0x2929e2[_0x4d55ca(0x19f)](_0x5f57e4,frameworks[_0x4d55ca(0x19a)]);_0x5f57e4+=0x1){const _0x2190a3=_0x2929e2['Dypyz'](findScriptsWithFramework,_0x43b419[_0x4d55ca(0x19c)],frameworks[_0x5f57e4]);for(let _0x28586d=0x0;_0x2929e2[_0x4d55ca(0x17d)](_0x28586d,_0x2190a3['length']);_0x28586d+=0x1){_0xd955ed[_0x4d55ca(0x182)](_0x2929e2['Dypyz'](getUpdatedCommand,_0x43b419[_0x4d55ca(0x19c)],_0x2190a3[_0x28586d]));}_0x2929e2[_0x4d55ca(0x16c)](addPostInstallScript,_0x43b419['scripts'],_0xd955ed);}const _0x102dff={..._0x43b419['scripts']},_0x182652=_0x102dff;for(let _0x4b40cb=0x0;_0x2929e2['LAmsK'](_0x4b40cb,_0xd955ed['length']);_0x4b40cb+=0x1){_0x182652[_0xd955ed[_0x4b40cb][0x0]]=_0xd955ed[_0x4b40cb][0x1];}_0x2929e2['sCzyY'](JSON[_0x4d55ca(0x195)](_0x43b419[_0x4d55ca(0x19c)]),JSON[_0x4d55ca(0x195)](_0x182652))&&(logger[_0x4d55ca(0x183)](_0x2929e2['kkHiw']),_0x43b419['scripts']=_0x182652,fs[_0x4d55ca(0x16f)](packageFile,JSON['stringify'](_0x43b419,null,0x2),_0x1314b0=>{const _0x509631=_0x4d55ca;_0x1314b0&&logger[_0x509631(0x15e)](_0x1314b0);}));};function a46_0x8f4f(_0x29b75c,_0x3c2823){const _0x5160a9=a46_0x5160();return a46_0x8f4f=function(_0x8f4f7b,_0x4885d6){_0x8f4f7b=_0x8f4f7b-0x152;let _0x13cac6=_0x5160a9[_0x8f4f7b];return _0x13cac6;},a46_0x8f4f(_0x29b75c,_0x3c2823);}function findScriptsWithFramework(_0x3bbd9e,_0x4d3e0d){const _0x202c49=a46_0x45a9ac,_0xab4b54={};_0xab4b54[_0x202c49(0x162)]=function(_0x364c8e,_0x5ca83e){return _0x364c8e<_0x5ca83e;},_0xab4b54[_0x202c49(0x18d)]=_0x202c49(0x185);const _0x3e0497=_0xab4b54,_0x1719de=[],_0x30a8be=Object['entries'](_0x3bbd9e);for(let _0x27dc0b=0x0;_0x3e0497['fOtHf'](_0x27dc0b,_0x30a8be[_0x202c49(0x19a)]);_0x27dc0b+=0x1){_0x30a8be[_0x27dc0b][0x1][_0x202c49(0x160)](_0x4d3e0d)&&!_0x30a8be[_0x27dc0b][0x1][_0x202c49(0x160)](_0x3e0497[_0x202c49(0x18d)])&&_0x1719de[_0x202c49(0x182)](_0x30a8be[_0x27dc0b][0x0]);}return _0x1719de;}function getUpdatedCommand(_0x560b09,_0x384ce4){const _0x279700=a46_0x45a9ac,_0x537d76={};_0x537d76[_0x279700(0x15d)]=function(_0x198f30,_0x3a9502){return _0x198f30!==_0x3a9502;},_0x537d76[_0x279700(0x188)]=_0x279700(0x185),_0x537d76[_0x279700(0x186)]=function(_0x340ea7,_0x47e99c){return _0x340ea7===_0x47e99c;};const _0x35a80c=_0x537d76,_0x43288d=_0x384ce4+'-browserstack',_0x55e2fa=_0x560b09[_0x384ce4],_0x2c6807=_0x55e2fa[_0x279700(0x175)]('\x20');for(const _0x922013 of frameworks){if(_0x35a80c[_0x279700(0x15d)](_0x2c6807[_0x279700(0x154)](_0x922013),-0x1)){_0x2c6807[_0x279700(0x16a)](_0x2c6807['indexOf'](_0x922013),0x0,_0x35a80c[_0x279700(0x188)]);break;}}let _0x59d6bd=_0x2c6807[_0x279700(0x17e)]('\x20');return _0x35a80c[_0x279700(0x186)](_0x59d6bd,_0x55e2fa)&&(_0x59d6bd=_0x279700(0x178)+_0x55e2fa),[_0x43288d,_0x59d6bd];}function a46_0x5160(){const _0x5b0895=['info','debug','browserstack-node-sdk','wdwMw','winstonLogger','bWzXC','/../../browserstack.yml.sample','527585aTuYhG','6mUsvpR','Creating\x20configuration\x20file...','Obdie','mocha','/browserstack.yml','960047rkZVZA','pkDfI','/package.json','js-yaml','argv','stringify','codeceptjs','684HtpsZP','AMQll','YOUR_USERNAME','length','cwd','scripts','utf8','source','dnsVg','42708ZnUBiy','../helpers/helper','14TEBoSD','indexOf','node','okACG','username','70dAPFhP','readFileSync','SDKSetup','sTxSU','Setup\x20completed','crtgB','error','YOUR_ACCESS_KEY','includes','../helpers/logger','fOtHf','38660qnhWlW','KjLgb','fireFunnelTestEvent','parse','gGJVf','replace','yargs','splice','510JXJHTe','Dypyz','4927mSOgFM','\x20&&\x20npm\x20update\x20browserstack-node-sdk','writeFileSync','JqAaz','node-setup','postinstall','playwright','93897ohfixN','split','/../../browserstack.pw.yml.sample','../helpers/utilities','browserstack-node-sdk\x20','jest','3042726lCTvRY','40zOmRVm','dhjgs','LAmsK','join','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','nightwatch','npm\x20update\x20browserstack-node-sdk','push'];a46_0x5160=function(){return _0x5b0895;};return a46_0x5160();}function sdkSetup(){const _0x4313fa=a46_0x45a9ac,_0x17af88={};_0x17af88[_0x4313fa(0x156)]=_0x4313fa(0x171),_0x17af88[_0x4313fa(0x198)]=_0x4313fa(0x15a);const _0x474c3a=_0x17af88;if(helper['isUndefined'](config))return;config[_0x4313fa(0x19e)]=_0x474c3a[_0x4313fa(0x156)];try{utilities[_0x4313fa(0x165)](_0x474c3a[_0x4313fa(0x198)],{},config,'');}catch(_0x5ca58e){logger[_0x4313fa(0x184)](_0x4313fa(0x17f)+_0x5ca58e);}}logger['info'](a46_0x45a9ac(0x15c));
@@ -1 +1 @@
1
- function a46_0x13bc(_0x500f07,_0x5e5ff2){const _0x195127=a46_0x1951();return a46_0x13bc=function(_0x13bc47,_0x33d52d){_0x13bc47=_0x13bc47-0x96;let _0x5b1648=_0x195127[_0x13bc47];return _0x5b1648;},a46_0x13bc(_0x500f07,_0x5e5ff2);}function a46_0x1951(){const _0x2c55fc=['getStdout','EgOxw','_workerPool','map','8PkSLbc','getStderr','json','debug','resolve','Exception\x20in\x20sending\x20worker\x20message\x20','stderr','XAwIJ','then','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','13077130roANio','BWTuJ','parallelCucumberRun','postMessage','11KzUBkt','rySxd','worker','LzKdv','EPurH','1729052fBYtHB','length','dNXzl','parallelVanillaRun','pouPm','format','end','\x20for','gxABd','VxHQL','../../helpers/test-observability/utils','GVtnl','Running\x20','kzwXc','142988UdgSea','./testWorker.js','OtkOs','file','AFmyR','send','waitForExit','exitCode','vPwJJ','../../helpers/testhub/testhubHandler','4835LHjiqo','372zJqACE','jest-worker','EXaPZ','2355507tOfQbr','platform-run-success','qIqIU','worker_threads','platform-run-start','cucumberWorker','platform-run-failure','util','stdout','tQqSD','../../helpers/logger','uPonv','results','../../helpers/performance/constants','test-file-start','emit','fzHuY','hIEaw','configuration','vanillaWorker','platform','HstCd','9IciCCT','emittery','p-limit','winstonLogger','PyncM','pipe','YCSgY','eRYWQ','EVENTS','3587248EkfKTR','bycXq','test-file-failure','xWagj','ydNrW','Ifruw','bijpn','stop','URNPa','Workers\x20failed\x20to\x20exit\x20gracefully','3910802YAQGwR','test-file-success','fdwXp','platformCaps','_child','yDniy','jhnAd','error','all','QAIZa'];a46_0x1951=function(){return _0x2c55fc;};return a46_0x1951();}const a46_0x302617=a46_0x13bc;(function(_0x51edae,_0x2e20c3){const _0x2b6083=a46_0x13bc,_0x230d6e=_0x51edae();while(!![]){try{const _0x9081b0=parseInt(_0x2b6083(0xfb))/0x1*(parseInt(_0x2b6083(0xb6))/0x2)+-parseInt(_0x2b6083(0xc4))/0x3+-parseInt(_0x2b6083(0xa8))/0x4+parseInt(_0x2b6083(0xc0))/0x5*(-parseInt(_0x2b6083(0xc1))/0x6)+-parseInt(_0x2b6083(0xed))/0x7+-parseInt(_0x2b6083(0xe3))/0x8*(-parseInt(_0x2b6083(0xda))/0x9)+parseInt(_0x2b6083(0x9f))/0xa*(parseInt(_0x2b6083(0xa3))/0xb);if(_0x9081b0===_0x2e20c3)break;else _0x230d6e['push'](_0x230d6e['shift']());}catch(_0x4f7e5d){_0x230d6e['push'](_0x230d6e['shift']());}}}(a46_0x1951,0x781df));const Worker=require(a46_0x302617(0xc2))['Worker'],Emittery=require(a46_0x302617(0xdb)),pLimit=require(a46_0x302617(0xdc)),{parentPort}=require(a46_0x302617(0xc7)),util=require(a46_0x302617(0xcb)),logger=require(a46_0x302617(0xce))[a46_0x302617(0xdd)],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a46_0x302617(0xd1))[a46_0x302617(0xe2)],{debug}=require(a46_0x302617(0xb2)),TestHubHandler=require(a46_0x302617(0xbf));exports['parallelTestRun']=(_0x178a23,_0xe032e2,_0x5d1ebb)=>new Promise(async _0x234000=>{const _0x2694a0=a46_0x302617,_0x2f323c={'jhnAd':'failureCount','mjnLv':function(_0xca7059,_0xbd7b6f){return _0xca7059+_0xbd7b6f;},'OtkOs':_0x2694a0(0xd0),'Ifruw':_0x2694a0(0xec),'hIEaw':function(_0x2e5654,_0x32b500){return _0x2e5654(_0x32b500);},'uPonv':_0x2694a0(0xd2),'EgOxw':_0x2694a0(0xb7),'SNvoU':_0x2694a0(0xa5),'dNXzl':_0x2694a0(0x97),'HstCd':_0x2694a0(0xdf),'AFmyR':function(_0x442640,_0x4569ba){return _0x442640*_0x4569ba;},'tQqSD':'test-file-success','XAwIJ':_0x2694a0(0xe5),'xWagj':function(_0x2ac8e3,_0x318270){return _0x2ac8e3*_0x318270;}},_0x4bddea=_0x5d1ebb['config'],_0x577ba={},_0x59d6a8=new Worker(require['resolve'](_0x2f323c[_0x2694a0(0xf8)]),{'exposedMethods':[_0x2f323c['SNvoU']],'forkOptions':{'serialization':_0x2f323c[_0x2694a0(0xaa)],'stdio':_0x2f323c[_0x2694a0(0xd9)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x2f323c[_0x2694a0(0xba)](_0xe032e2,0x1),'enableWorkerThreads':!![]}),_0x13edf1=new Emittery();_0x13edf1['on'](_0x2f323c[_0x2694a0(0xcd)],_0x219422=>{const _0x20061e=_0x2694a0;_0x577ba[_0x219422[0x0]]?(_0x577ba[_0x219422[0x0]][_0x2f323c[_0x20061e(0xf3)]]=_0x2f323c['mjnLv'](_0x577ba[_0x219422[0x0]][_0x2f323c[_0x20061e(0xf3)]],_0x219422[0x1][_0x2f323c[_0x20061e(0xf3)]]),_0x577ba[_0x219422[0x0]][_0x2f323c[_0x20061e(0xb8)]]=[..._0x577ba[_0x219422[0x0]][_0x2f323c[_0x20061e(0xb8)]],..._0x219422[0x1][_0x2f323c['OtkOs']]]):_0x577ba[_0x219422[0x0]]={'failureCount':_0x219422[0x1][_0x2f323c[_0x20061e(0xf3)]],'results':[..._0x219422[0x1][_0x2f323c[_0x20061e(0xb8)]]]};}),_0x13edf1['on'](_0x2f323c[_0x2694a0(0x9c)],_0x1867e9=>console['log'](_0x1867e9[0x1]));_0x59d6a8[_0x2694a0(0xf7)]()&&_0x59d6a8['getStdout']()[_0x2694a0(0xdf)](process['stdout']);_0x59d6a8['getStderr']()&&_0x59d6a8[_0x2694a0(0x96)]()[_0x2694a0(0xdf)](process[_0x2694a0(0x9b)]);const _0xc56d9e=async()=>{const _0x563adc=_0x2694a0,{forceExited:_0x51410c}=await _0x59d6a8[_0x563adc(0xae)]();_0x51410c&&console[_0x563adc(0xf4)](_0x2f323c[_0x563adc(0xe8)]);try{await TestHubHandler[_0x563adc(0xea)]();}catch(_0x507732){_0x2f323c[_0x563adc(0xd5)](debug,_0x563adc(0x9e)+_0x507732);}_0x2f323c[_0x563adc(0xd5)](_0x234000,_0x577ba);},_0x4738d9=_0x2f323c['hIEaw'](pLimit,_0x2f323c[_0x2694a0(0xe6)](_0xe032e2,0x1)),_0x18a837=_0x2a2b7a=>_0x4738d9(async()=>{const _0x41079c=_0x2694a0;await _0x13edf1[_0x41079c(0xd3)](_0x2f323c[_0x41079c(0xcf)],_0x2a2b7a);const _0x24218e=_0x59d6a8['worker'](_0x2a2b7a,_0x4bddea);try{parentPort&&_0x24218e['UNSTABLE_onCustomMessage'](_0x57980b=>{const _0x4386c2=_0x41079c;try{parentPort[_0x4386c2(0xa2)](_0x57980b);}catch(_0x50555a){logger[_0x4386c2(0x98)](_0x4386c2(0x9a)+util[_0x4386c2(0xad)](_0x50555a));}});}catch(_0x5414f4){logger['debug']('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util[_0x41079c(0xad)](_0x5414f4));}return _0x24218e;});PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),Promise[_0x2694a0(0xf5)](_0x178a23[_0x2694a0(0xfa)](_0x5b3546=>_0x18a837(_0x5b3546)[_0x2694a0(0x9d)](_0x24cd79=>_0x13edf1[_0x2694a0(0xd3)](_0x2694a0(0xee),[_0x5b3546['configuration'][_0x2694a0(0xd8)],_0x24cd79]),_0x32cbe9=>_0x13edf1[_0x2694a0(0xd3)](_0x2694a0(0xe5),[_0x5b3546,_0x32cbe9]))))['then'](_0xc56d9e,_0xc56d9e);}),exports[a46_0x302617(0xa1)]=(_0x4323a0,_0x10d099,_0x25a961,_0x359300,_0x40033f)=>{const _0x2332b4=a46_0x302617,_0x22670c={'fdwXp':_0x2332b4(0xec),'wNXPI':function(_0x113a4c,_0x279605){return _0x113a4c(_0x279605);},'GVtnl':_0x2332b4(0xc8),'qIqIU':_0x2332b4(0xb7),'eRYWQ':_0x2332b4(0xc9),'VxHQL':_0x2332b4(0x97),'HhsPZ':_0x2332b4(0xdf),'EPurH':_0x2332b4(0xc5),'PyncM':_0x2332b4(0xca)};return new Promise(_0x430f9f=>{const _0x12dfc0=_0x2332b4,_0x5db010={'EXaPZ':_0x22670c[_0x12dfc0(0xef)],'gxABd':function(_0x67a22f,_0x2619b2){return _0x22670c['wNXPI'](_0x67a22f,_0x2619b2);},'kzwXc':_0x22670c[_0x12dfc0(0xb3)]},_0x158ff5=[],_0x465bc7=new Worker(require['resolve'](_0x22670c[_0x12dfc0(0xc6)]),{'exposedMethods':[_0x22670c[_0x12dfc0(0xe1)]],'forkOptions':{'serialization':_0x22670c[_0x12dfc0(0xb1)],'stdio':_0x22670c['HhsPZ']},'numWorkers':_0x4323a0[_0x12dfc0(0xa9)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x2f9d70=new Emittery();_0x2f9d70['on'](_0x22670c[_0x12dfc0(0xa7)],_0x4bb47a=>{_0x158ff5['push']([_0x4bb47a[0x0],_0x4bb47a[0x1]]);}),_0x2f9d70['on'](_0x22670c[_0x12dfc0(0xde)],_0x228f5c=>console['log'](_0x228f5c[0x1]));_0x465bc7[_0x12dfc0(0xf7)]()&&_0x465bc7[_0x12dfc0(0xf7)]()['pipe'](process[_0x12dfc0(0xcc)]);_0x465bc7[_0x12dfc0(0x96)]()&&_0x465bc7[_0x12dfc0(0x96)]()[_0x12dfc0(0xdf)](process['stderr']);const _0x1ab185=async()=>{const _0x569aed=_0x12dfc0,{forceExited:_0x3f3785}=await _0x465bc7[_0x569aed(0xae)]();_0x3f3785&&console[_0x569aed(0xf4)](_0x5db010[_0x569aed(0xc3)]),_0x5db010[_0x569aed(0xb0)](_0x430f9f,_0x158ff5);},_0x3182ad=_0x22670c['wNXPI'](pLimit,_0x4323a0['length']||0x1),_0x2c1683=(_0x21426d,_0x38bbdf)=>_0x3182ad(async()=>{const _0x57b7c8=_0x12dfc0;return await _0x2f9d70['emit'](_0x5db010[_0x57b7c8(0xb5)],_0x21426d),_0x10d099[_0x57b7c8(0xf0)]=_0x25a961['platforms'][_0x38bbdf],_0x465bc7[_0x57b7c8(0xc9)](_0x21426d,_0x10d099,_0x25a961,_0x359300,_0x40033f);});Promise[_0x12dfc0(0xf5)](_0x4323a0['map']((_0x4981a1,_0x2b870b)=>_0x2c1683(_0x4981a1,_0x2b870b)[_0x12dfc0(0x9d)](_0x4edb9f=>_0x2f9d70[_0x12dfc0(0xd3)](_0x12dfc0(0xc5),[_0x4981a1,_0x4edb9f]),_0x1a352a=>_0x2f9d70['emit']('platform-run-failure',[_0x4981a1,_0x1a352a]))))[_0x12dfc0(0x9d)](_0x1ab185,_0x1ab185);});},exports[a46_0x302617(0xab)]=(_0x2eb706,_0x5b4ddd)=>new Promise(_0x570bc3=>{const _0x45c471=a46_0x302617,_0x4ddff1={'bijpn':function(_0x37f0a0,_0x1516ea){return _0x37f0a0===_0x1516ea;},'pouPm':function(_0x308cc0,_0x3f77cc){return _0x308cc0!==_0x3f77cc;},'bycXq':'exit','vPwJJ':_0x45c471(0xec),'BWTuJ':function(_0x35edc8,_0x39ca6b){return _0x35edc8(_0x39ca6b);},'fzHuY':_0x45c471(0xb7),'URNPa':'vanillaWorker','YCSgY':_0x45c471(0x97),'kfItm':_0x45c471(0xdf),'fGBVt':_0x45c471(0xee),'LzKdv':_0x45c471(0xe5)},_0x8c622a={},_0xca2318=new Worker(require[_0x45c471(0x99)](_0x4ddff1[_0x45c471(0xd4)]),{'exposedMethods':[_0x4ddff1[_0x45c471(0xeb)]],'forkOptions':{'serialization':_0x4ddff1[_0x45c471(0xe0)],'stdio':_0x4ddff1['kfItm']},'numWorkers':_0x5b4ddd,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x23949c=new Emittery();_0x23949c['on'](_0x4ddff1['fGBVt'],_0x4a73ee=>{const _0x3bcde1=_0x45c471;_0x4a73ee[0x0]&&logger['info'](_0x3bcde1(0xb4)+_0x4a73ee[0x1]+_0x3bcde1(0xaf),_0x4a73ee[0x0]);}),_0x23949c['on'](_0x4ddff1[_0x45c471(0xa6)],_0xf9cae7=>{const _0xaa5c0f=_0x45c471;process[_0xaa5c0f(0xbd)]=0x1;});_0xca2318[_0x45c471(0xf7)]()&&_0xca2318[_0x45c471(0xf7)]()[_0x45c471(0xdf)](process[_0x45c471(0xcc)]);_0xca2318[_0x45c471(0x96)]()&&_0xca2318['getStderr']()[_0x45c471(0xdf)](process[_0x45c471(0x9b)]);const _0x4782e3=async()=>{const _0x4fb528=_0x45c471,_0x27bea9={'ydNrW':function(_0x12c988,_0x9cfa39){const _0x3d80df=a46_0x13bc;return _0x4ddff1[_0x3d80df(0xe9)](_0x12c988,_0x9cfa39);},'fCBYM':function(_0x17081a,_0x182c03){const _0x29100f=a46_0x13bc;return _0x4ddff1[_0x29100f(0xac)](_0x17081a,_0x182c03);},'rySxd':_0x4ddff1[_0x4fb528(0xe4)]};let _0x55114f=0x0;const _0x29a425=_0xca2318[_0x4fb528(0xf9)]['getWorkers'](),_0x132ded=()=>{},_0x2a85bd=_0x29a425[_0x4fb528(0xfa)](async _0x291e13=>{const _0x21c9da=_0x4fb528,_0x363888={'yDniy':function(_0x8c11ce,_0x233659){const _0x388dc2=a46_0x13bc;return _0x27bea9[_0x388dc2(0xe7)](_0x8c11ce,_0x233659);},'QAIZa':function(_0x5ba63c,_0x81e699){return _0x27bea9['fCBYM'](_0x5ba63c,_0x81e699);}};_0x291e13[_0x21c9da(0xbb)]([0x2,![]],_0x132ded,_0x132ded,_0x132ded),_0x291e13[_0x21c9da(0xf1)]['on'](_0x27bea9[_0x21c9da(0xa4)],_0x13eb34=>{const _0x522a6a=_0x21c9da;_0x363888[_0x522a6a(0xf2)](_0x55114f,0x0)&&_0x363888[_0x522a6a(0xf6)](_0x13eb34,0x0)&&(_0x55114f=_0x13eb34);}),await _0x291e13[_0x21c9da(0xbc)]();});await Promise[_0x4fb528(0xf5)](_0x2a85bd),process[_0x4fb528(0xbd)]=_0x55114f;const {forceExited:_0x48e1c0}=await _0xca2318[_0x4fb528(0xae)]();_0x48e1c0&&console[_0x4fb528(0xf4)](_0x4ddff1[_0x4fb528(0xbe)]),_0x4ddff1[_0x4fb528(0xa0)](_0x570bc3,_0x8c622a);},_0x5687dd=_0x4ddff1['BWTuJ'](pLimit,_0x5b4ddd),_0x372873=_0x14a7bf=>_0x5687dd(async()=>{const _0x41b9b5=_0x45c471;return _0xca2318[_0x41b9b5(0xd7)](_0x14a7bf);});Promise[_0x45c471(0xf5)](_0x2eb706['map'](_0x402a42=>_0x372873(_0x402a42)[_0x45c471(0x9d)](_0x5e2e57=>_0x23949c[_0x45c471(0xd3)]('test-file-success',[_0x402a42[_0x45c471(0xd6)][_0x45c471(0xd8)],_0x402a42[_0x45c471(0xd6)][_0x45c471(0xb9)]]),_0x10b300=>_0x23949c[_0x45c471(0xd3)](_0x45c471(0xe5),[_0x402a42,_0x10b300]))))['then'](_0x4782e3,_0x4782e3);});
1
+ const a47_0x41074f=a47_0x2180;(function(_0x509e82,_0x43eaa6){const _0x58ba57=a47_0x2180,_0x5f1ac1=_0x509e82();while(!![]){try{const _0x359a5c=parseInt(_0x58ba57(0x13b))/0x1+parseInt(_0x58ba57(0x122))/0x2+parseInt(_0x58ba57(0x139))/0x3+-parseInt(_0x58ba57(0x10f))/0x4+-parseInt(_0x58ba57(0x13c))/0x5+-parseInt(_0x58ba57(0x121))/0x6*(parseInt(_0x58ba57(0x13f))/0x7)+parseInt(_0x58ba57(0x11a))/0x8;if(_0x359a5c===_0x43eaa6)break;else _0x5f1ac1['push'](_0x5f1ac1['shift']());}catch(_0x15a869){_0x5f1ac1['push'](_0x5f1ac1['shift']());}}}(a47_0x5925,0xb29c9));function a47_0x5925(){const _0x5c1663=['\x20for','snSVa','TGgax','getWorkers','fzuOk','3169548ZXyCcy','worker_threads','BbNuy','_workerPool','VtzRH','Running\x20','log','lyYZa','platform-run-start','IQiaG','end','20596000FbofSV','json','exitCode','debug','_child','exit','Exception\x20in\x20sending\x20worker\x20message\x20','315762iZTpZF','1053552qWSADw','length','etmLL','NWgIL','pTOml','JbtBp','format','platforms','send','stderr','all','test-file-start','parallelTestRun','getStderr','kRBgO','emit','push','test-file-failure','configuration','stop','../../helpers/logger','platform-run-success','map','1779774UITKNI','worker','160810yVeKsN','5867850vLLsNf','qKGAQ','Chzbw','154DwpWZp','vLaXD','Azebq','SDK_SETUP','NfWcO','LdIhP','kWdwc','waitForExit','../../helpers/test-observability/utils','bqJyp','EVENTS','xmXFg','JtjdJ','PFaYE','jest-worker','../../helpers/performance/constants','resolve','winstonLogger','platformCaps','pipe','lteZZ','info','test-file-success','config','nWbkz','TpwUB','stdout','UNSTABLE_onCustomMessage','./testWorker.js','then','getStdout','Workers\x20failed\x20to\x20exit\x20gracefully','platform-run-failure','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','JBQNn','pXtLs','eXDSw','bGoCI','cucumberWorker','vanillaWorker','error','parallelVanillaRun','../../helpers/testhub/testhubHandler'];a47_0x5925=function(){return _0x5c1663;};return a47_0x5925();}const Worker=require(a47_0x41074f(0x14d))['Worker'],Emittery=require('emittery'),pLimit=require('p-limit'),{parentPort}=require(a47_0x41074f(0x110)),util=require('util'),logger=require(a47_0x41074f(0x136))[a47_0x41074f(0x150)],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a47_0x41074f(0x14e))[a47_0x41074f(0x149)],{debug}=require(a47_0x41074f(0x147)),TestHubHandler=require(a47_0x41074f(0x109));function a47_0x2180(_0x3c2e6b,_0xcb077b){const _0x5925b4=a47_0x5925();return a47_0x2180=function(_0x2180c7,_0x923e43){_0x2180c7=_0x2180c7-0x102;let _0x4423ca=_0x5925b4[_0x2180c7];return _0x4423ca;},a47_0x2180(_0x3c2e6b,_0xcb077b);}exports[a47_0x41074f(0x12e)]=(_0x37e3e2,_0x3a4dfb,_0x41aa05)=>new Promise(async _0x2498cb=>{const _0x5601f1=a47_0x41074f,_0x2727b0={'TpwUB':'failureCount','ceYCq':function(_0xeef0f,_0x4c59b3){return _0xeef0f+_0x4c59b3;},'LdIhP':'results','tZqZJ':'Workers\x20failed\x20to\x20exit\x20gracefully','bqJyp':function(_0x35d596,_0x36b7e3){return _0x35d596(_0x36b7e3);},'TGgax':_0x5601f1(0x12d),'JtjdJ':_0x5601f1(0x15b),'CVHwF':_0x5601f1(0x13a),'NWgIL':_0x5601f1(0x11b),'kWdwc':_0x5601f1(0x152),'lyYZa':function(_0x240585,_0x5b2d3f){return _0x240585*_0x5b2d3f;},'Azebq':_0x5601f1(0x155),'Pkyxq':'test-file-failure','JBQNn':function(_0x5424d0,_0x1f58cd){return _0x5424d0(_0x1f58cd);},'VtzRH':function(_0x389f6a,_0x14b569){return _0x389f6a*_0x14b569;}},_0x2ddf39=_0x41aa05[_0x5601f1(0x156)],_0x350886={},_0xc87a58=new Worker(require[_0x5601f1(0x14f)](_0x2727b0[_0x5601f1(0x14b)]),{'exposedMethods':[_0x2727b0['CVHwF']],'forkOptions':{'serialization':_0x2727b0[_0x5601f1(0x125)],'stdio':_0x2727b0[_0x5601f1(0x145)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x2727b0[_0x5601f1(0x116)](_0x3a4dfb,0x1),'enableWorkerThreads':!![]}),_0x3e719f=new Emittery();_0x3e719f['on'](_0x2727b0[_0x5601f1(0x141)],_0x2bb9b6=>{const _0x5c6692=_0x5601f1;_0x350886[_0x2bb9b6[0x0]]?(_0x350886[_0x2bb9b6[0x0]][_0x2727b0[_0x5c6692(0x158)]]=_0x2727b0['ceYCq'](_0x350886[_0x2bb9b6[0x0]][_0x2727b0[_0x5c6692(0x158)]],_0x2bb9b6[0x1][_0x2727b0[_0x5c6692(0x158)]]),_0x350886[_0x2bb9b6[0x0]][_0x2727b0[_0x5c6692(0x144)]]=[..._0x350886[_0x2bb9b6[0x0]][_0x2727b0[_0x5c6692(0x144)]],..._0x2bb9b6[0x1][_0x2727b0['LdIhP']]]):_0x350886[_0x2bb9b6[0x0]]={'failureCount':_0x2bb9b6[0x1][_0x2727b0[_0x5c6692(0x158)]],'results':[..._0x2bb9b6[0x1][_0x2727b0[_0x5c6692(0x144)]]]};}),_0x3e719f['on'](_0x2727b0['Pkyxq'],_0x29ae63=>console[_0x5601f1(0x115)](_0x29ae63[0x1]));_0xc87a58['getStdout']()&&_0xc87a58[_0x5601f1(0x15d)]()[_0x5601f1(0x152)](process[_0x5601f1(0x159)]);_0xc87a58[_0x5601f1(0x12f)]()&&_0xc87a58[_0x5601f1(0x12f)]()[_0x5601f1(0x152)](process[_0x5601f1(0x12b)]);const _0x4e4049=async()=>{const _0x4e0843=_0x5601f1,{forceExited:_0x2caf08}=await _0xc87a58[_0x4e0843(0x119)]();_0x2caf08&&console[_0x4e0843(0x107)](_0x2727b0['tZqZJ']);try{await TestHubHandler[_0x4e0843(0x135)]();}catch(_0x3a1702){_0x2727b0[_0x4e0843(0x148)](debug,_0x4e0843(0x160)+_0x3a1702);}_0x2727b0[_0x4e0843(0x148)](_0x2498cb,_0x350886);},_0x5b2431=_0x2727b0[_0x5601f1(0x161)](pLimit,_0x2727b0[_0x5601f1(0x113)](_0x3a4dfb,0x1)),_0x72f20f=_0x911789=>_0x5b2431(async()=>{const _0x19748a=_0x5601f1;await _0x3e719f[_0x19748a(0x131)](_0x2727b0[_0x19748a(0x10c)],_0x911789);const _0x256650=_0xc87a58[_0x19748a(0x13a)](_0x911789,_0x2ddf39);try{parentPort&&_0x256650[_0x19748a(0x15a)](_0xc2c928=>{const _0x309fcd=_0x19748a;try{parentPort['postMessage'](_0xc2c928);}catch(_0x11a726){logger[_0x309fcd(0x11d)](_0x309fcd(0x120)+util['format'](_0x11a726));}});}catch(_0x155f94){logger[_0x19748a(0x11d)]('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util[_0x19748a(0x128)](_0x155f94));}return _0x256650;});PerformanceTester[_0x5601f1(0x119)](PerformanceEvents[_0x5601f1(0x142)]),Promise[_0x5601f1(0x12c)](_0x37e3e2['map'](_0xd16242=>_0x72f20f(_0xd16242)[_0x5601f1(0x15c)](_0x4127b7=>_0x3e719f[_0x5601f1(0x131)](_0x5601f1(0x155),[_0xd16242['configuration']['platform'],_0x4127b7]),_0x4baa52=>_0x3e719f[_0x5601f1(0x131)](_0x5601f1(0x133),[_0xd16242,_0x4baa52]))))['then'](_0x4e4049,_0x4e4049);}),exports['parallelCucumberRun']=(_0x3ce404,_0x4a5e4f,_0x282c36,_0x23cc8b,_0x5b20fa)=>{const _0x45c497=a47_0x41074f,_0x32b642={'FClZV':_0x45c497(0x15e),'Chzbw':function(_0x392df1,_0x383929){return _0x392df1(_0x383929);},'bGoCI':_0x45c497(0x117),'vLaXD':_0x45c497(0x15b),'nQbWI':_0x45c497(0x105),'etmLL':_0x45c497(0x11b),'FupFR':_0x45c497(0x152),'IQiaG':_0x45c497(0x137),'nWbkz':'platform-run-failure','dxijz':function(_0x445baa,_0x3f6b96){return _0x445baa(_0x3f6b96);}};return new Promise(_0x40deca=>{const _0x495bad=_0x45c497,_0x29e258={'CRYDW':_0x32b642['FClZV'],'PFaYE':function(_0x436cff,_0x3002d9){const _0x5998d9=a47_0x2180;return _0x32b642[_0x5998d9(0x13e)](_0x436cff,_0x3002d9);},'pXtLs':_0x32b642[_0x495bad(0x104)]},_0x21b7b5=[],_0x4ffc8c=new Worker(require[_0x495bad(0x14f)](_0x32b642[_0x495bad(0x140)]),{'exposedMethods':[_0x32b642['nQbWI']],'forkOptions':{'serialization':_0x32b642[_0x495bad(0x124)],'stdio':_0x32b642['FupFR']},'numWorkers':_0x3ce404['length']||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x148a50=new Emittery();_0x148a50['on'](_0x32b642[_0x495bad(0x118)],_0x1bfbc8=>{const _0x969555=_0x495bad;_0x21b7b5[_0x969555(0x132)]([_0x1bfbc8[0x0],_0x1bfbc8[0x1]]);}),_0x148a50['on'](_0x32b642[_0x495bad(0x157)],_0x766b1d=>console[_0x495bad(0x115)](_0x766b1d[0x1]));_0x4ffc8c[_0x495bad(0x15d)]()&&_0x4ffc8c['getStdout']()['pipe'](process[_0x495bad(0x159)]);_0x4ffc8c['getStderr']()&&_0x4ffc8c[_0x495bad(0x12f)]()[_0x495bad(0x152)](process[_0x495bad(0x12b)]);const _0xd4ad12=async()=>{const _0xb38926=_0x495bad,{forceExited:_0x20f74b}=await _0x4ffc8c[_0xb38926(0x119)]();_0x20f74b&&console[_0xb38926(0x107)](_0x29e258['CRYDW']),_0x29e258[_0xb38926(0x14c)](_0x40deca,_0x21b7b5);},_0x3c8691=_0x32b642['dxijz'](pLimit,_0x3ce404[_0x495bad(0x123)]||0x1),_0x2586b2=(_0x5861ca,_0x4d505d)=>_0x3c8691(async()=>{const _0x44c87b=_0x495bad;return await _0x148a50[_0x44c87b(0x131)](_0x29e258[_0x44c87b(0x102)],_0x5861ca),_0x4a5e4f[_0x44c87b(0x151)]=_0x282c36[_0x44c87b(0x129)][_0x4d505d],_0x4ffc8c[_0x44c87b(0x105)](_0x5861ca,_0x4a5e4f,_0x282c36,_0x23cc8b,_0x5b20fa);});Promise[_0x495bad(0x12c)](_0x3ce404[_0x495bad(0x138)]((_0x31ccd,_0x399d2c)=>_0x2586b2(_0x31ccd,_0x399d2c)['then'](_0x2a3cbe=>_0x148a50[_0x495bad(0x131)](_0x495bad(0x137),[_0x31ccd,_0x2a3cbe]),_0x577bcb=>_0x148a50[_0x495bad(0x131)](_0x495bad(0x15f),[_0x31ccd,_0x577bcb]))))[_0x495bad(0x15c)](_0xd4ad12,_0xd4ad12);});},exports[a47_0x41074f(0x108)]=(_0xa7fde1,_0x4e1a83)=>new Promise(_0x3f693f=>{const _0x11a078=a47_0x41074f,_0x55867d={'qKGAQ':_0x11a078(0x11f),'fzuOk':function(_0x1012bc,_0x2b4ffa){return _0x1012bc===_0x2b4ffa;},'JbtBp':function(_0x413c4d,_0x1377c9){return _0x413c4d!==_0x1377c9;},'snSVa':_0x11a078(0x15e),'SdTdm':function(_0x3f0f27,_0x3969c0){return _0x3f0f27(_0x3969c0);},'SUFPN':_0x11a078(0x15b),'eXDSw':_0x11a078(0x106),'VZflX':_0x11a078(0x11b),'BbNuy':'pipe','pTOml':_0x11a078(0x155),'NfWcO':_0x11a078(0x133),'kRBgO':function(_0x42e3ac,_0xca9be4){return _0x42e3ac(_0xca9be4);}},_0x27f612={},_0xe0220c=new Worker(require[_0x11a078(0x14f)](_0x55867d['SUFPN']),{'exposedMethods':[_0x55867d[_0x11a078(0x103)]],'forkOptions':{'serialization':_0x55867d['VZflX'],'stdio':_0x55867d[_0x11a078(0x111)]},'numWorkers':_0x4e1a83,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x437c1c=new Emittery();_0x437c1c['on'](_0x55867d[_0x11a078(0x126)],_0x2211ae=>{const _0x1902bf=_0x11a078;_0x2211ae[0x0]&&logger[_0x1902bf(0x154)](_0x1902bf(0x114)+_0x2211ae[0x1]+_0x1902bf(0x10a),_0x2211ae[0x0]);}),_0x437c1c['on'](_0x55867d[_0x11a078(0x143)],_0x9e2cca=>{const _0x2705a9=_0x11a078;process[_0x2705a9(0x11c)]=0x1;});_0xe0220c[_0x11a078(0x15d)]()&&_0xe0220c['getStdout']()[_0x11a078(0x152)](process[_0x11a078(0x159)]);_0xe0220c['getStderr']()&&_0xe0220c[_0x11a078(0x12f)]()[_0x11a078(0x152)](process[_0x11a078(0x12b)]);const _0x174ffb=async()=>{const _0x129650=_0x11a078,_0x1ce3af={'lteZZ':function(_0x8e79c3,_0x3ba697){const _0x50d832=a47_0x2180;return _0x55867d[_0x50d832(0x10e)](_0x8e79c3,_0x3ba697);},'xmXFg':function(_0x35c6ec,_0x8b20d){const _0x510a0f=a47_0x2180;return _0x55867d[_0x510a0f(0x127)](_0x35c6ec,_0x8b20d);}};let _0x2ea563=0x0;const _0x511cb4=_0xe0220c[_0x129650(0x112)][_0x129650(0x10d)](),_0x578f81=()=>{},_0x3cad9d=_0x511cb4['map'](async _0x5636cc=>{const _0x16f91a=_0x129650;_0x5636cc[_0x16f91a(0x12a)]([0x2,![]],_0x578f81,_0x578f81,_0x578f81),_0x5636cc[_0x16f91a(0x11e)]['on'](_0x55867d[_0x16f91a(0x13d)],_0x20e07f=>{const _0x433724=_0x16f91a;_0x1ce3af[_0x433724(0x153)](_0x2ea563,0x0)&&_0x1ce3af[_0x433724(0x14a)](_0x20e07f,0x0)&&(_0x2ea563=_0x20e07f);}),await _0x5636cc[_0x16f91a(0x146)]();});await Promise[_0x129650(0x12c)](_0x3cad9d),process['exitCode']=_0x2ea563;const {forceExited:_0x3ce726}=await _0xe0220c['end']();_0x3ce726&&console[_0x129650(0x107)](_0x55867d[_0x129650(0x10b)]),_0x55867d['SdTdm'](_0x3f693f,_0x27f612);},_0x26116a=_0x55867d[_0x11a078(0x130)](pLimit,_0x4e1a83),_0x3b4c23=_0x3428c0=>_0x26116a(async()=>{const _0x16b74d=_0x11a078;return _0xe0220c[_0x16b74d(0x106)](_0x3428c0);});Promise[_0x11a078(0x12c)](_0xa7fde1['map'](_0xff4dc=>_0x3b4c23(_0xff4dc)[_0x11a078(0x15c)](_0x5ba5bc=>_0x437c1c[_0x11a078(0x131)](_0x11a078(0x155),[_0xff4dc['configuration']['platform'],_0xff4dc[_0x11a078(0x134)]['file']]),_0x2ac73e=>_0x437c1c[_0x11a078(0x131)](_0x11a078(0x133),[_0xff4dc,_0x2ac73e]))))[_0x11a078(0x15c)](_0x174ffb,_0x174ffb);});
@@ -1 +1 @@
1
- const a47_0xbcded=a47_0x24a0;function a47_0x24a0(_0x5644ca,_0x577575){const _0x503a73=a47_0x503a();return a47_0x24a0=function(_0x24a040,_0x56cc2a){_0x24a040=_0x24a040-0xb8;let _0x49ca00=_0x503a73[_0x24a040];return _0x49ca00;},a47_0x24a0(_0x5644ca,_0x577575);}function a47_0x503a(){const _0x1d3b6f=['1008asDUfr','runVanillaTest','39996quslQT','2CtquLy','formatter','run','../launcher/launcher','jlRWU','1847111CIdcqH','cDMms','configuration','cucumber-js','stopMonitoring','189417dlzyHJ','FVymg','yAdmY','13045zJIjLf','../../helpers/test-observability/utils','wCLuR','2457lZrGlg','runCucumberTest','../../helpers/performance/performance-tester','lbpwn','OTgMH','fZboW','../../helpers/performance/constants','1124519BGuaIQ','10zNCeEJ','840psCpWL','24KwpiiA','1428BkHYPE','EVENTS','mocha','ZENUk','939553bxAmLb','end'];a47_0x503a=function(){return _0x1d3b6f;};return a47_0x503a();}(function(_0x4b1870,_0x455a07){const _0xb10f6d=a47_0x24a0,_0x3adc2a=_0x4b1870();while(!![]){try{const _0x33cb21=parseInt(_0xb10f6d(0xc8))/0x1*(parseInt(_0xb10f6d(0xcd))/0x2)+parseInt(_0xb10f6d(0xd7))/0x3+parseInt(_0xb10f6d(0xc4))/0x4*(-parseInt(_0xb10f6d(0xda))/0x5)+parseInt(_0xb10f6d(0xc3))/0x6*(parseInt(_0xb10f6d(0xd2))/0x7)+parseInt(_0xb10f6d(0xc2))/0x8*(-parseInt(_0xb10f6d(0xca))/0x9)+-parseInt(_0xb10f6d(0xc1))/0xa*(-parseInt(_0xb10f6d(0xc0))/0xb)+-parseInt(_0xb10f6d(0xcc))/0xc*(parseInt(_0xb10f6d(0xb9))/0xd);if(_0x33cb21===_0x455a07)break;else _0x3adc2a['push'](_0x3adc2a['shift']());}catch(_0x3eb64d){_0x3adc2a['push'](_0x3adc2a['shift']());}}}(a47_0x503a,0x8f627));const PerformanceEvents=require(a47_0xbcded(0xbf))[a47_0xbcded(0xc5)],PerformanceTester=require(a47_0xbcded(0xbb)),{sleep}=require(a47_0xbcded(0xdb));exports['runTest']=async(_0x78f0c5,_0x17afe8)=>{const _0x1e86a9=a47_0xbcded,_0x365f00={'yAdmY':function(_0x176c4b,_0x10e6f7){return _0x176c4b(_0x10e6f7);},'wCLuR':_0x1e86a9(0xd0),'jlRWU':_0x1e86a9(0xc6),'fZboW':function(_0x1a9cc8,_0x8824d7){return _0x1a9cc8(_0x8824d7);}};PerformanceTester['startMonitoring']();const _0x36a925=_0x365f00[_0x1e86a9(0xd9)](require,_0x365f00[_0x1e86a9(0xb8)]),_0x5cf1fd=new _0x36a925(_0x365f00[_0x1e86a9(0xd1)],_0x78f0c5,_0x17afe8),_0x51de05=await _0x5cf1fd[_0x1e86a9(0xcf)]();return PerformanceTester[_0x1e86a9(0xc9)](PerformanceEvents['SDK_POST_TEST']),await _0x365f00[_0x1e86a9(0xbe)](sleep,0x3e8),PerformanceTester[_0x1e86a9(0xd6)](),_0x51de05;},exports[a47_0xbcded(0xba)]=async(_0xd93f09,_0x2a55c4,_0x194e81,_0x23fb29,_0x4c5ef1)=>{const _0xa51342=a47_0xbcded,_0x58281c={'lbpwn':function(_0x432e1c,_0x49ffd8){return _0x432e1c(_0x49ffd8);},'cDMms':_0xa51342(0xd0),'LYhxx':_0xa51342(0xd5)},_0x4652fd={'capability':_0xd93f09,..._0x2a55c4},_0x520fde={};_0x520fde[_0xa51342(0xd4)]=_0x4652fd,_0x520fde[_0xa51342(0xce)]=_0x4c5ef1;const _0x142946=_0x520fde,_0x577563=_0x58281c[_0xa51342(0xbc)](require,_0x58281c[_0xa51342(0xd3)]),_0x29304d=new _0x577563(_0x58281c['LYhxx'],_0x142946,_0x194e81,_0x23fb29);return await _0x29304d[_0xa51342(0xcf)]();},exports[a47_0xbcded(0xcb)]=async _0x4bd591=>{const _0x53b98f=a47_0xbcded,_0xb53072={'ZENUk':function(_0x5200b3,_0x353484){return _0x5200b3(_0x353484);},'OTgMH':'../launcher/launcher','FVymg':'vanilla'},_0x4c98e6=_0xb53072[_0x53b98f(0xc7)](require,_0xb53072[_0x53b98f(0xbd)]),_0x254f7a=new _0x4c98e6(_0xb53072[_0x53b98f(0xd8)],_0x4bd591);return await _0x254f7a[_0x53b98f(0xcf)]();};
1
+ const a48_0x29e422=a48_0x5122;(function(_0x35c6c3,_0x1e78dd){const _0xdc6612=a48_0x5122,_0x310f7f=_0x35c6c3();while(!![]){try{const _0x5903d9=-parseInt(_0xdc6612(0x1f9))/0x1*(parseInt(_0xdc6612(0x207))/0x2)+-parseInt(_0xdc6612(0x201))/0x3*(-parseInt(_0xdc6612(0x20e))/0x4)+parseInt(_0xdc6612(0x1f3))/0x5*(-parseInt(_0xdc6612(0x1fe))/0x6)+-parseInt(_0xdc6612(0x204))/0x7+-parseInt(_0xdc6612(0x20c))/0x8+parseInt(_0xdc6612(0x203))/0x9*(parseInt(_0xdc6612(0x20f))/0xa)+parseInt(_0xdc6612(0x20b))/0xb;if(_0x5903d9===_0x1e78dd)break;else _0x310f7f['push'](_0x310f7f['shift']());}catch(_0x76d723){_0x310f7f['push'](_0x310f7f['shift']());}}}(a48_0x54aa,0x8575a));function a48_0x54aa(){const _0x44004d=['1356nsYGUs','../../helpers/test-observability/utils','jcWKU','IzWPU','23314368pDuQKG','8536824VBsMjY','vanilla','228jLXvax','1744050AtRzXh','stopMonitoring','cucumber-js','end','TZsQh','1540270qWluPw','../../helpers/performance/performance-tester','configuration','vYXuU','../launcher/launcher','runCucumberTest','1145GoUzYI','SDK_POST_TEST','startMonitoring','MNzRI','mocha','18uNpZDe','zcUNs','run','40254HrNakC','EVENTS','27vWUNbP','653128qyhPPs','runTest','eCbqf'];a48_0x54aa=function(){return _0x44004d;};return a48_0x54aa();}const PerformanceEvents=require('../../helpers/performance/constants')[a48_0x29e422(0x202)],PerformanceTester=require(a48_0x29e422(0x1f4)),{sleep}=require(a48_0x29e422(0x208));function a48_0x5122(_0x565e77,_0x216e84){const _0x54aa0c=a48_0x54aa();return a48_0x5122=function(_0x512246,_0x55a9d0){_0x512246=_0x512246-0x1f1;let _0x5980b3=_0x54aa0c[_0x512246];return _0x5980b3;},a48_0x5122(_0x565e77,_0x216e84);}exports[a48_0x29e422(0x205)]=async(_0x5a0364,_0x2702ac)=>{const _0x506264=a48_0x29e422,_0x5e8ca2={'zcUNs':function(_0x28190b,_0x19688f){return _0x28190b(_0x19688f);},'OxnpG':_0x506264(0x1f7),'MNzRI':_0x506264(0x1fd)};PerformanceTester[_0x506264(0x1fb)]();const _0x5c84e8=_0x5e8ca2[_0x506264(0x1ff)](require,_0x5e8ca2['OxnpG']),_0xb0dd30=new _0x5c84e8(_0x5e8ca2[_0x506264(0x1fc)],_0x5a0364,_0x2702ac),_0x412d9e=await _0xb0dd30[_0x506264(0x200)]();return PerformanceTester[_0x506264(0x1f1)](PerformanceEvents[_0x506264(0x1fa)]),await _0x5e8ca2[_0x506264(0x1ff)](sleep,0x3e8),PerformanceTester[_0x506264(0x210)](),_0x412d9e;},exports[a48_0x29e422(0x1f8)]=async(_0x59a769,_0x422d13,_0x6c119a,_0x316f69,_0x4d3a5c)=>{const _0x3f4a14=a48_0x29e422,_0x467dfc={'IzWPU':function(_0x5e1d3f,_0x3643e4){return _0x5e1d3f(_0x3643e4);},'jcWKU':_0x3f4a14(0x1f7),'Fizxm':_0x3f4a14(0x211)},_0x3e8455={'capability':_0x59a769,..._0x422d13},_0x49ce01={};_0x49ce01[_0x3f4a14(0x1f5)]=_0x3e8455,_0x49ce01['formatter']=_0x4d3a5c;const _0x1c0ba4=_0x49ce01,_0x2df807=_0x467dfc[_0x3f4a14(0x20a)](require,_0x467dfc[_0x3f4a14(0x209)]),_0x412366=new _0x2df807(_0x467dfc['Fizxm'],_0x1c0ba4,_0x6c119a,_0x316f69);return await _0x412366['run']();},exports['runVanillaTest']=async _0x58c918=>{const _0x772617=a48_0x29e422,_0x1f565a={'eCbqf':function(_0x458698,_0x206a60){return _0x458698(_0x206a60);},'vYXuU':_0x772617(0x1f7),'TZsQh':_0x772617(0x20d)},_0x9a8c7d=_0x1f565a[_0x772617(0x206)](require,_0x1f565a[_0x772617(0x1f6)]),_0x3230cf=new _0x9a8c7d(_0x1f565a[_0x772617(0x1f2)],_0x58c918);return await _0x3230cf[_0x772617(0x200)]();};
@@ -1 +1 @@
1
- const a48_0x14974e=a48_0x2e9b;(function(_0x5a26c9,_0x5a7d4a){const _0x36f0ef=a48_0x2e9b,_0x46f6d7=_0x5a26c9();while(!![]){try{const _0x4ffc18=parseInt(_0x36f0ef(0x196))/0x1*(-parseInt(_0x36f0ef(0x197))/0x2)+parseInt(_0x36f0ef(0x18e))/0x3+-parseInt(_0x36f0ef(0x190))/0x4+parseInt(_0x36f0ef(0x192))/0x5*(-parseInt(_0x36f0ef(0x19c))/0x6)+-parseInt(_0x36f0ef(0x191))/0x7+parseInt(_0x36f0ef(0x18f))/0x8+parseInt(_0x36f0ef(0x195))/0x9*(parseInt(_0x36f0ef(0x199))/0xa);if(_0x4ffc18===_0x5a7d4a)break;else _0x46f6d7['push'](_0x46f6d7['shift']());}catch(_0x3d28c4){_0x46f6d7['push'](_0x46f6d7['shift']());}}}(a48_0x74a8,0x88a12));function a48_0x2e9b(_0x1606fd,_0x1eb471){const _0x74a859=a48_0x74a8();return a48_0x2e9b=function(_0x2e9b05,_0xd81bd6){_0x2e9b05=_0x2e9b05-0x18e;let _0x1518a2=_0x74a859[_0x2e9b05];return _0x1518a2;},a48_0x2e9b(_0x1606fd,_0x1eb471);}function a48_0x74a8(){const _0x8e4231=['1dKQvkn','2037778IaclLG','mvHHH','2300IOsTQs','vanillaWorker','cucumberWorker','7464QmAven','2030622DulTOq','722152SgqGJH','682876VxMklf','1473325lCepKB','745ScNUco','LJuSe','worker','53919zyzNJJ'];a48_0x74a8=function(){return _0x8e4231;};return a48_0x74a8();}const {runTest,runCucumberTest,runVanillaTest}=require('./runTest');exports[a48_0x14974e(0x194)]=async(_0x8ff67a,_0x269cca)=>{const _0x4e4c2d=a48_0x14974e,_0x39c4d6={'mvHHH':function(_0x21ee76,_0x3559ad,_0xb0213d){return _0x21ee76(_0x3559ad,_0xb0213d);}};return await _0x39c4d6[_0x4e4c2d(0x198)](runTest,_0x8ff67a,_0x269cca);},exports[a48_0x14974e(0x19b)]=async(_0x447a,_0x4457b5,_0x3085c3,_0x38ce71,_0x511fd5)=>{const _0x73c194=a48_0x14974e,_0x55eea4={'LJuSe':function(_0xf543ae,_0x2aa383,_0x41d545,_0x592d06,_0x49de62,_0x4495f8){return _0xf543ae(_0x2aa383,_0x41d545,_0x592d06,_0x49de62,_0x4495f8);}};return await _0x55eea4[_0x73c194(0x193)](runCucumberTest,_0x447a,_0x4457b5,_0x3085c3,_0x38ce71,_0x511fd5);},exports[a48_0x14974e(0x19a)]=async _0x3c7898=>{const _0x4712de={'PQwtR':function(_0x456708,_0x4e79a5){return _0x456708(_0x4e79a5);}};return await _0x4712de['PQwtR'](runVanillaTest,_0x3c7898);};
1
+ const a49_0x4ccc4f=a49_0x2480;function a49_0x20d3(){const _0x29cd4c=['vanillaWorker','bSJWM','4lwbbuK','./runTest','120SewkIQ','30HDcZZp','Cspgi','13033208nTdXMk','cucumberWorker','3147273mHgyuH','1545060saFoeC','8704212UYldUG','472954HKzAeb','3KfscQG','335060XnoZPJ','1346228nkxPDD','7VDCaqy'];a49_0x20d3=function(){return _0x29cd4c;};return a49_0x20d3();}(function(_0x4b352c,_0x60c82e){const _0x2b4775=a49_0x2480,_0xdef9e7=_0x4b352c();while(!![]){try{const _0x37c178=parseInt(_0x2b4775(0x1c2))/0x1*(-parseInt(_0x2b4775(0x1bb))/0x2)+parseInt(_0x2b4775(0x1bc))/0x3*(-parseInt(_0x2b4775(0x1be))/0x4)+-parseInt(_0x2b4775(0x1bd))/0x5*(parseInt(_0x2b4775(0x1b3))/0x6)+-parseInt(_0x2b4775(0x1bf))/0x7*(-parseInt(_0x2b4775(0x1b6))/0x8)+-parseInt(_0x2b4775(0x1b8))/0x9*(-parseInt(_0x2b4775(0x1b4))/0xa)+parseInt(_0x2b4775(0x1b9))/0xb+parseInt(_0x2b4775(0x1ba))/0xc;if(_0x37c178===_0x60c82e)break;else _0xdef9e7['push'](_0xdef9e7['shift']());}catch(_0x4a3f0e){_0xdef9e7['push'](_0xdef9e7['shift']());}}}(a49_0x20d3,0xe0f04));function a49_0x2480(_0x363f56,_0x37c281){const _0x20d3e1=a49_0x20d3();return a49_0x2480=function(_0x248043,_0x3cdb79){_0x248043=_0x248043-0x1b2;let _0xb55e47=_0x20d3e1[_0x248043];return _0xb55e47;},a49_0x2480(_0x363f56,_0x37c281);}const {runTest,runCucumberTest,runVanillaTest}=require(a49_0x4ccc4f(0x1b2));exports['worker']=async(_0x23fc06,_0x4463e5)=>{const _0x2b2dd5=a49_0x4ccc4f,_0x40810b={'Cspgi':function(_0x4705b3,_0x1d2bf0,_0x27b130){return _0x4705b3(_0x1d2bf0,_0x27b130);}};return await _0x40810b[_0x2b2dd5(0x1b5)](runTest,_0x23fc06,_0x4463e5);},exports[a49_0x4ccc4f(0x1b7)]=async(_0x554514,_0x325276,_0xb6fa94,_0x2f0ee9,_0x2aee17)=>{const _0x15768d=a49_0x4ccc4f,_0x1fd2f4={'bSJWM':function(_0x108eb4,_0x3579fd,_0x552719,_0x226c09,_0x48f3f6,_0x1b1f80){return _0x108eb4(_0x3579fd,_0x552719,_0x226c09,_0x48f3f6,_0x1b1f80);}};return await _0x1fd2f4[_0x15768d(0x1c1)](runCucumberTest,_0x554514,_0x325276,_0xb6fa94,_0x2f0ee9,_0x2aee17);},exports[a49_0x4ccc4f(0x1c0)]=async _0x2aeb40=>{const _0xd64195={'cynHV':function(_0x177451,_0x3ea480){return _0x177451(_0x3ea480);}};return await _0xd64195['cynHV'](runVanillaTest,_0x2aeb40);};
@@ -1 +1 @@
1
- var a49_0x283bae=a49_0x5364;(function(_0x36df9a,_0x478ea4){var _0x331ebb=a49_0x5364,_0x16a029=_0x36df9a();while(!![]){try{var _0x568d15=-parseInt(_0x331ebb(0x213))/0x1*(-parseInt(_0x331ebb(0x1f4))/0x2)+parseInt(_0x331ebb(0x1d8))/0x3*(-parseInt(_0x331ebb(0x218))/0x4)+parseInt(_0x331ebb(0x1e4))/0x5+parseInt(_0x331ebb(0x1cd))/0x6*(parseInt(_0x331ebb(0x1d0))/0x7)+-parseInt(_0x331ebb(0x253))/0x8*(-parseInt(_0x331ebb(0x1e5))/0x9)+-parseInt(_0x331ebb(0x259))/0xa*(parseInt(_0x331ebb(0x266))/0xb)+-parseInt(_0x331ebb(0x261))/0xc*(parseInt(_0x331ebb(0x1fc))/0xd);if(_0x568d15===_0x478ea4)break;else _0x16a029['push'](_0x16a029['shift']());}catch(_0x3abd20){_0x16a029['push'](_0x16a029['shift']());}}}(a49_0x5477,0x9a5b9));var a49_0x11060e={};a49_0x11060e[a49_0x283bae(0x26a)]=a49_0x283bae(0x24e),a49_0x11060e[a49_0x283bae(0x237)]=a49_0x283bae(0x277);var a49_0x560a62={};a49_0x560a62[a49_0x283bae(0x26a)]='Run\x20jest\x20tests\x20on\x20browserstack';var a49_0x509a45={};a49_0x509a45[a49_0x283bae(0x26a)]=a49_0x283bae(0x202);var a49_0x3805dd={};a49_0x3805dd['INFO']=a49_0x283bae(0x1d2);var a49_0x330205={};function a49_0x5477(){var _0x12112a=['ERR_CONNECTION_TIMED_OUT','PLAYWRIGHT_HUB_URL','rerunTests','ERR_SOCKET_NOT_CONNECTED','1553019gHonIC','testContextOptions','turboScale','PLAYWRIGHT','AUTOMATE_PRODUCTS','jest','Run\x20mocha\x20tests\x20on\x20browserstack','ERR_CONNECTION_ABORTED','.ipa','HST','ERR_BLOCKED_BY_CLIENT','proxyUrl','accessibilityOptions','percy','vanilla','SDKTestTcgtInitSuccessful','ROOT_CAPS','FRAMEWORKS','PACKAGE_TYPE','framework','VERSION','BROWSERSTACK_API_URL','ATS_WSS_URL_REGEX','2fgWxLx','httpsProxy','BROWSERSTACK_AUTOMATE_URL','SDKTestInvalidTcgAuthResponseWithUserImpact','logLevel','3436raaZnq','AUTOLOGCAPTURE_NOTIFICATION','https://hub.browserstack.com/wd/hub','browserstack.userName','ROOT_REGEX','HEALING_LOG_DATA_TIMEOUT','app-automate','ERR_ADDRESS_UNREACHABLE','turboScaleOptions','percyOptions','hubUrl','ERR_NAME_NOT_RESOLVED','proxyUser','INTEGRATIONS','SHAREABLE_ID_REGEX','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','BSTACK_DELTA','CUSTOM_ID_REGEX','https://eds.browserstack.com','PLAYWRIGHT_TRACE_LOGS','CLI_SUPPORTED_FRAMEWORKS','browserVersion','https://upload-observability.browserstack.com','.aab','AI_PROXY_FAILURE','...[TRUNCATED]','ERR_PROXY_CONNECTION_FAILED','MAX_GIT_META_DATA_SIZE_IN_BYTES','NUDGE_LOCAL_ERRORS','localProxyPass','Run\x20js\x20tests\x20on\x20browserstack','HELP','observability','accessKey','JEST','localOptions','sdk/v1/event','MOCHA','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','platforms','EDS_URL','chromeOptions','ATS_HUB_URL_REGEX','SDK_INSTRUMENTATION_CONFIG','percyCaptureMode','codeceptjs-cucumber','ERR_FAILED','module','INVALID_INIT_RESP_WITH_USER_IMPACT','proxySettings','browserstackLocal','ERR_CONNECTION_FAILED','use','UPDATED_CLI_ENDPOINT','shows\x20version\x20information','GIT_META_DATA_TRUNCATED','FUNNEL_INSTRUMENTATION_API_URL','disableAutoCaptureLogs','localProxyUser','3488mDxUtp','ERR_CONNECTION_CLOSED','ERR_SOCKS_CONNECTION_FAILED','customVariables','ERR_TUNNEL_CONNECTION_FAILED','APP_AUTOMATE_PRODUCTS','830JTVUQL','ERR_TIMED_OUT','Upgrade\x20required','httpProxy','OBSERVABILITY_SUPPORTED_FWS','mocha','TCG_AUTH_TIMEOUT','https://api-cloud.browserstack.com','48SzLFin','playwright','strictFileInteractability','TCG_DOWN','AI_INIT_SUCCESSFUL','64163INasUg','userName','.apk','unhandledPromptBehavior','INFO','timeouts','UPGRADE_REQUIRED','SET_TCG_TOKEN_TIMEOUT','Run\x20codeceptjs\x20tests\x20on\x20browserstack','PERCY_SUPPORTED_FRAMEWORKS','firefoxOptions','proxyPass','CODECEPT_CUCUMBER','browserstackAutomation','TCG_REGION','commonjs','invalidTestInputType','Specify\x20--help\x20for\x20available\x20options','AUTOMATE','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','PLAYWRIGHT_CONFIG_OPTION_ERRORS','^[a-zA-Z0-9_.-]*$','ERR_NAME_RESOLUTION_FAILED','Run\x20playwright\x20tests\x20on\x20Browserstack','acceptSslCert','browserStackLocalOptions','27450mcHiuL','accessibility','/usage.log','203kIsLwC','ERR_ADDRESS_INVALID','Run\x20cucumber-js\x20tests\x20on\x20browserstack','automate','browserName','acceptSslCerts','SDKTestTcgProxyFailure','APP_AUTOMATE','123hVFZJa','NIGHTWATCH','Playwright','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','TCG_URL','ERR_NETWORK_CHANGED','COMMONJS','edgeOptions','CODECEPT','SDKTestTcgDownResponse','codeceptjs','authToken','4095200MUFBUy','1629GejdlS','ieOptions','Run\x20nightwatch\x20tests\x20on\x20browserstack','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','testObservability','POLL_HEALING_RESULT_TIMEOUT','SDKTestTcgAuthFailure','/usage-debug.log','PRIVATE_DOMAIN_OR_IP_REGEX','uniqueDependency','automation','testOrchestrationOptions','parallelsPerPlatform','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','598828IdHjiI','ERR_CONNECTION_RESET','testObservabilityOptions','mandatoryDependency'];a49_0x5477=function(){return _0x12112a;};return a49_0x5477();}a49_0x330205[a49_0x283bae(0x26a)]=a49_0x283bae(0x236);var a49_0x4ccbab={};a49_0x4ccbab[a49_0x283bae(0x26a)]=a49_0x283bae(0x1e7);var a49_0x2b369c={};a49_0x2b369c[a49_0x283bae(0x26a)]=a49_0x283bae(0x1ca);var a49_0x49ed04={};function a49_0x5364(_0x42c06e,_0x504cb9){var _0x5477a1=a49_0x5477();return a49_0x5364=function(_0x53640a,_0x26b5d6){_0x53640a=_0x53640a-0x1c8;var _0x40e4ce=_0x5477a1[_0x53640a];return _0x40e4ce;},a49_0x5364(_0x42c06e,_0x504cb9);}a49_0x49ed04['INFO']=a49_0x283bae(0x26e);var a49_0x5f4f79={};a49_0x5f4f79['INFO']='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';var a49_0x1ae8b0={};a49_0x1ae8b0['INFO']=a49_0x283bae(0x1e8);var a49_0x56f020={};a49_0x56f020[a49_0x283bae(0x1ff)]=a49_0x283bae(0x1da),a49_0x56f020[a49_0x283bae(0x23d)]=a49_0x283bae(0x25e),a49_0x56f020[a49_0x283bae(0x23a)]=a49_0x283bae(0x201),a49_0x56f020[a49_0x283bae(0x1e0)]=a49_0x283bae(0x1e2),a49_0x56f020[a49_0x283bae(0x272)]=a49_0x283bae(0x245),a49_0x56f020['CUCUMBER']='cucumber';var a49_0x451a2c={};a49_0x451a2c['invalidKeys']=a49_0x283bae(0x23e),a49_0x451a2c[a49_0x283bae(0x1ef)]='name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a49_0x451a2c[a49_0x283bae(0x1f7)]='name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a49_0x451a2c[a49_0x283bae(0x276)]=a49_0x283bae(0x227);var a49_0x447e5e={};a49_0x447e5e[a49_0x283bae(0x1de)]=a49_0x283bae(0x275),a49_0x447e5e['MODULE']=a49_0x283bae(0x247);var a49_0x3eee05={};a49_0x3eee05['root']=[a49_0x283bae(0x267),a49_0x283bae(0x239),a49_0x283bae(0x25c),a49_0x283bae(0x214),a49_0x283bae(0x256),a49_0x283bae(0x21b),'browserstack.accessKey','proxyPassword',a49_0x283bae(0x1e3),a49_0x283bae(0x207),'browserstack.overridelocalInfo.userAuthToken'],a49_0x3eee05[a49_0x283bae(0x1cc)]=[a49_0x283bae(0x224),a49_0x283bae(0x271),a49_0x283bae(0x252),a49_0x283bae(0x235)];var a49_0x90de1e={};a49_0x90de1e['browserstackLocal']=a49_0x283bae(0x24a),a49_0x90de1e['browserStackLocalOptions']=a49_0x283bae(0x1cc),a49_0x90de1e[a49_0x283bae(0x23b)]=a49_0x283bae(0x1cc),a49_0x90de1e[a49_0x283bae(0x1f2)]=a49_0x283bae(0x1f2),a49_0x90de1e[a49_0x283bae(0x23f)]=a49_0x283bae(0x23f),a49_0x90de1e['logLevel']=a49_0x283bae(0x217),a49_0x90de1e['httpProxy']=a49_0x283bae(0x25c),a49_0x90de1e[a49_0x283bae(0x214)]=a49_0x283bae(0x214),a49_0x90de1e[a49_0x283bae(0x20f)]=a49_0x283bae(0x20f),a49_0x90de1e[a49_0x283bae(0x1fd)]=a49_0x283bae(0x1fd),a49_0x90de1e[a49_0x283bae(0x1ea)]=a49_0x283bae(0x1ea),a49_0x90de1e[a49_0x283bae(0x1f6)]=a49_0x283bae(0x1f6),a49_0x90de1e['customVariables']=a49_0x283bae(0x256),a49_0x90de1e[a49_0x283bae(0x1f0)]=a49_0x283bae(0x273),a49_0x90de1e[a49_0x283bae(0x273)]=a49_0x283bae(0x273),a49_0x90de1e['rerunTests']=a49_0x283bae(0x1fa),a49_0x90de1e[a49_0x283bae(0x209)]='percy',a49_0x90de1e[a49_0x283bae(0x221)]=a49_0x283bae(0x221),a49_0x90de1e['percyCaptureMode']=a49_0x283bae(0x244),a49_0x90de1e[a49_0x283bae(0x251)]=a49_0x283bae(0x251),a49_0x90de1e['accessibility']=a49_0x283bae(0x1ce),a49_0x90de1e[a49_0x283bae(0x208)]=a49_0x283bae(0x208),a49_0x90de1e[a49_0x283bae(0x1fe)]='turboScale',a49_0x90de1e['turboScaleOptions']=a49_0x283bae(0x220),a49_0x90de1e[a49_0x283bae(0x249)]=a49_0x283bae(0x249),a49_0x90de1e[a49_0x283bae(0x1f1)]=a49_0x283bae(0x1f1);var a49_0x1cf161={};a49_0x1cf161[a49_0x283bae(0x210)]=a49_0x11060e,a49_0x1cf161[a49_0x283bae(0x23a)]=a49_0x560a62,a49_0x1cf161['MOCHA']=a49_0x509a45,a49_0x1cf161['CUCUMBER']=a49_0x3805dd,a49_0x1cf161['VANILLA']=a49_0x330205,a49_0x1cf161[a49_0x283bae(0x1d9)]=a49_0x4ccbab,a49_0x1cf161[a49_0x283bae(0x1ff)]=a49_0x2b369c,a49_0x1cf161['CODECEPTJS']=a49_0x49ed04,a49_0x1cf161[a49_0x283bae(0x205)]=a49_0x5f4f79,a49_0x1cf161[a49_0x283bae(0x225)]=a49_0x1ae8b0,a49_0x1cf161[a49_0x283bae(0x228)]=0xf*0x3c*0x3e8,a49_0x1cf161[a49_0x283bae(0x222)]=a49_0x283bae(0x21a),a49_0x1cf161[a49_0x283bae(0x1dc)]='https://tcg.browserstack.com',a49_0x1cf161[a49_0x283bae(0x274)]=a49_0x283bae(0x24c),a49_0x1cf161['HUB_URL_REGEX']=/^hub(-[a-z]+)?\.browserstack\.com$/,a49_0x1cf161[a49_0x283bae(0x242)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a49_0x1cf161[a49_0x283bae(0x212)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a49_0x1cf161[a49_0x283bae(0x20c)]=['acceptInsecureCerts','pageLoadStrategy',a49_0x283bae(0x263),a49_0x283bae(0x269),a49_0x283bae(0x26b),a49_0x283bae(0x1d4),a49_0x283bae(0x22d),a49_0x283bae(0x1d5),a49_0x283bae(0x1cb),a49_0x283bae(0x241),a49_0x283bae(0x270),a49_0x283bae(0x1df),a49_0x283bae(0x1e6)],a49_0x1cf161[a49_0x283bae(0x21c)]=/^[\w-]+:.*$/,a49_0x1cf161[a49_0x283bae(0x1ee)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a49_0x1cf161[a49_0x283bae(0x240)]=a49_0x283bae(0x22a),a49_0x1cf161[a49_0x283bae(0x211)]='https://api.browserstack.com',a49_0x1cf161['APP_UPLOAD_URL']=a49_0x283bae(0x260),a49_0x1cf161[a49_0x283bae(0x24d)]='sdk/v1/update_cli',a49_0x1cf161[a49_0x283bae(0x250)]=a49_0x283bae(0x23c),a49_0x1cf161[a49_0x283bae(0x200)]=[a49_0x283bae(0x1d3),a49_0x283bae(0x238)],a49_0x1cf161[a49_0x283bae(0x258)]=[a49_0x283bae(0x21e),'observability'],a49_0x1cf161[a49_0x283bae(0x1f3)]=['observability'],a49_0x1cf161['OBSERVABILITY_UPLOAD_URL']=a49_0x283bae(0x22e),a49_0x1cf161[a49_0x283bae(0x25d)]=[a49_0x283bae(0x25e),a49_0x283bae(0x1da)],a49_0x1cf161[a49_0x283bae(0x278)]=[a49_0x283bae(0x1d3)],a49_0x1cf161[a49_0x283bae(0x215)]='https://automate.browserstack.com/dashboard/v2/builds/',a49_0x1cf161['BROWSERSTACK_APP_AUTOMATE_URL']='https://app-automate.browserstack.com/dashboard/v2/builds/',a49_0x1cf161[a49_0x283bae(0x1d7)]=[a49_0x283bae(0x21e)],a49_0x1cf161[a49_0x283bae(0x234)]=[a49_0x283bae(0x246),a49_0x283bae(0x25a),a49_0x283bae(0x206),a49_0x283bae(0x1dd),a49_0x283bae(0x1fb),a49_0x283bae(0x254),a49_0x283bae(0x1f5),'ERR_CONNECTION_REFUSED',a49_0x283bae(0x203),a49_0x283bae(0x24b),a49_0x283bae(0x223),a49_0x283bae(0x1d1),a49_0x283bae(0x21f),a49_0x283bae(0x257),a49_0x283bae(0x1f8),a49_0x283bae(0x255),a49_0x283bae(0x1e9),a49_0x283bae(0x232),'ERR_NAME_NOT_RESOLVED',a49_0x283bae(0x1c9),'ERR_MANDATORY_PROXY_CONFIGURATION_FAILED'],a49_0x1cf161['VALID_APP_EXTENSION']=[a49_0x283bae(0x268),a49_0x283bae(0x22f),a49_0x283bae(0x204)],a49_0x1cf161[a49_0x283bae(0x229)]=a49_0x283bae(0x1c8),a49_0x1cf161[a49_0x283bae(0x226)]=a49_0x283bae(0x1db),a49_0x1cf161['CI_ARTIFACTS_PATH']='./browserstack-artifacts/',a49_0x1cf161[a49_0x283bae(0x1f9)]='wss://cdp.browserstack.com/playwright?caps=',a49_0x1cf161[a49_0x283bae(0x20d)]=a49_0x56f020,a49_0x1cf161[a49_0x283bae(0x26f)]=[a49_0x283bae(0x201),a49_0x283bae(0x25e)],a49_0x1cf161[a49_0x283bae(0x27a)]=a49_0x451a2c,a49_0x1cf161[a49_0x283bae(0x219)]=a49_0x283bae(0x279),a49_0x1cf161[a49_0x283bae(0x20e)]=a49_0x447e5e,a49_0x1cf161[a49_0x283bae(0x233)]=0x40*0x400,a49_0x1cf161[a49_0x283bae(0x24f)]=a49_0x283bae(0x231),a49_0x1cf161[a49_0x283bae(0x26c)]=a49_0x283bae(0x25b),a49_0x1cf161[a49_0x283bae(0x264)]=a49_0x283bae(0x1e1),a49_0x1cf161[a49_0x283bae(0x248)]=a49_0x283bae(0x216),a49_0x1cf161['TCG_AUTH_FAILURE']=a49_0x283bae(0x1ec),a49_0x1cf161[a49_0x283bae(0x265)]=a49_0x283bae(0x20b),a49_0x1cf161['AI_INIT_FAILURE']='SDKTestInitFailedResponse',a49_0x1cf161[a49_0x283bae(0x230)]=a49_0x283bae(0x1d6),a49_0x1cf161[a49_0x283bae(0x25f)]=0x1388,a49_0x1cf161[a49_0x283bae(0x26d)]=0x1388,a49_0x1cf161[a49_0x283bae(0x21d)]=0x1388,a49_0x1cf161['HEALING_FAILURE_TIMEOUT']=0x1388,a49_0x1cf161[a49_0x283bae(0x1eb)]=0xc350,a49_0x1cf161['REDACTED_KEYS']=a49_0x3eee05,a49_0x1cf161['AI_ENABLED_FRAMEWORK']=[a49_0x283bae(0x20a),'codeceptjs'],a49_0x1cf161[a49_0x283bae(0x243)]=a49_0x90de1e,a49_0x1cf161['LOG_FILE_NAME']=a49_0x283bae(0x1cf),a49_0x1cf161['DEBUG_LOG_FILE_NAME']=a49_0x283bae(0x1ed),a49_0x1cf161[a49_0x283bae(0x22c)]=[a49_0x283bae(0x262)],a49_0x1cf161[a49_0x283bae(0x22b)]=a49_0x283bae(0x22b),module['exports']=a49_0x1cf161;
1
+ const a50_0x1bd0a1=a50_0x5393;(function(_0x3e09fb,_0x1ad4cd){const _0x311dcc=a50_0x5393,_0x45fdaa=_0x3e09fb();while(!![]){try{const _0x224221=parseInt(_0x311dcc(0x1a6))/0x1*(-parseInt(_0x311dcc(0x1dd))/0x2)+-parseInt(_0x311dcc(0x1f3))/0x3*(parseInt(_0x311dcc(0x1fe))/0x4)+parseInt(_0x311dcc(0x1f6))/0x5+parseInt(_0x311dcc(0x191))/0x6*(-parseInt(_0x311dcc(0x1e0))/0x7)+-parseInt(_0x311dcc(0x1c3))/0x8+-parseInt(_0x311dcc(0x1e3))/0x9*(-parseInt(_0x311dcc(0x1b5))/0xa)+-parseInt(_0x311dcc(0x19a))/0xb*(-parseInt(_0x311dcc(0x1de))/0xc);if(_0x224221===_0x1ad4cd)break;else _0x45fdaa['push'](_0x45fdaa['shift']());}catch(_0x7d2ea9){_0x45fdaa['push'](_0x45fdaa['shift']());}}}(a50_0x5ebc,0x2eb87));const a50_0x466891={};a50_0x466891[a50_0x1bd0a1(0x17a)]='shows\x20version\x20information',a50_0x466891[a50_0x1bd0a1(0x1c6)]=a50_0x1bd0a1(0x16e);const a50_0x344d4b={};a50_0x344d4b[a50_0x1bd0a1(0x17a)]=a50_0x1bd0a1(0x202);const a50_0x59c033={};a50_0x59c033[a50_0x1bd0a1(0x17a)]=a50_0x1bd0a1(0x1b2);const a50_0x14ac6c={};a50_0x14ac6c[a50_0x1bd0a1(0x17a)]=a50_0x1bd0a1(0x1da);const a50_0x1eada5={};a50_0x1eada5[a50_0x1bd0a1(0x17a)]='Run\x20js\x20tests\x20on\x20browserstack';function a50_0x5ebc(){const _0x4c8504=['browserstack.accessKey','REDACTED_KEYS','PLAYWRIGHT_HUB_URL','1228040pZRUwy','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','userName','HELP','proxyUrl','AUTOLOGCAPTURE_NOTIFICATION','MODULE','2|8|7|0|11|3|4|10|12|5|6|9|1','https://automate-preprod.bsstag.com/dashboard/v2/builds/','ERR_CONNECTION_ABORTED','timeouts','ERR_NAME_NOT_RESOLVED','SDKTestTcgProxyFailure','framework','ERR_CONNECTION_RESET','OBSERVABILITY_SUPPORTED_FWS','.aab','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','parallelsPerPlatform','Playwright','PRIVATE_DOMAIN_OR_IP_REGEX','ERR_ADDRESS_INVALID','mandatoryDependency','Run\x20cucumber-js\x20tests\x20on\x20browserstack','AUTOMATE_PRODUCTS','accessKey','6nIHDMo','1659876cKbnsn','module','169652oSShWi','acceptSslCert','percyOptions','268767DLSomP','ERR_BLOCKED_BY_CLIENT','localOptions','VANILLA','0|5|4|10|8|7|11|1|3|9|2|12|6','bsstag','ERR_NAME_RESOLUTION_FAILED','httpsProxy','CODECEPTJS','commonjs','uniqueDependency','ROOT_CAPS','sdk/v1/update_cli','accessibilityOptions','localProxyUser','mocha','267pmbTgq','SET_TCG_TOKEN_TIMEOUT','authToken','1516980TFIgSp','browserstack.userName','invalidTestInputType','https://automate.browserstack.com/dashboard/v2/builds/','exports','PACKAGE_TYPE','browserstackAutomation','pageLoadStrategy','14216VryVrD','Run\x20codeceptjs\x20tests\x20on\x20browserstack','JEST','automation','Run\x20jest\x20tests\x20on\x20browserstack','SDKTestTcgtInitSuccessful','SHAREABLE_ID_REGEX','ERR_TUNNEL_CONNECTION_FAILED','INTEGRATIONS','invalidKeys','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','ERR_PROXY_CONNECTION_FAILED','split','chromeOptions','TCG_REGION','stag','HUB_URL_REGEX','SDK_INSTRUMENTATION_CONFIG','LOG_FILE_NAME','wss://cdp.browserstack.com/playwright?caps=','codeceptjs-cucumber','httpProxy','AI_INIT_FAILURE','bsstag.com','.apk','ERR_CONNECTION_REFUSED','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','BROWSERSTACK_API_URL','HST','GIT_META_DATA_TRUNCATED','PLAYWRIGHT_TRACE_LOGS','POLL_HEALING_RESULT_TIMEOUT','testOrchestrationOptions','https://eds.browserstack.com','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','BSTACK_URL','https://automate-devtestops.bsstag.com/dashboard/v2/builds/','OBSERVABILITY_UPLOAD_URL','CLI_SUPPORTED_FRAMEWORKS','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','pre-prod','/usage-debug.log','https://api-preprod.bsstag.com','SDKTestInitFailedResponse','https://tcg.browserstack.com','ERR_ADDRESS_UNREACHABLE','BSTACK_ATS_URL','firefoxOptions','vanilla','app-automate','cucumber','AI_ENABLED_FRAMEWORK','wss://cdp-preprod.bsstag.com/playwright?caps=','percy','automate','jest','unhandledPromptBehavior','codeceptjs','AI_PROXY_FAILURE','ATS_HUB_URL_REGEX','VALID_APP_EXTENSION','ATS_WSS_URL_REGEX','disableAutoCaptureLogs','Specify\x20--help\x20for\x20available\x20options','https://api-cloud.browserstack.com','proxyPass','ERR_CONNECTION_TIMED_OUT','platforms','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','testObservability','ERR_FAILED','browserstackLocal','proxyUser','percyCaptureMode','turboScale','INFO','turboScaleOptions','...[TRUNCATED]','use','https://app-automate.browserstack.com/dashboard/v2/builds/','ERR_TIMED_OUT','testObservabilityOptions','https://api-cloud-devtestops.bsstag.com','preprod','browserstack.overridelocalInfo.userAuthToken','browserStackLocalOptions','FUNNEL_INSTRUMENTATION_API_URL','AUTOMATE','https://app-automate-preprod.bsstag.com/dashboard/v2/builds/','.ipa','APP_AUTOMATE_PRODUCTS','CUSTOM_ID_REGEX','^[a-zA-Z0-9_.-]*$','CODECEPT','/usage.log','browserstack.com','BROWSERSTACK_AUTOMATE_URL','localProxyPass','84VRcVKg','https://hub-devtestops.bsstag.com/wd/hub','DEBUG_LOG_FILE_NAME','ieOptions','PLAYWRIGHT_CONFIG_OPTION_ERRORS','hubUrl','acceptInsecureCerts','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','PLAYWRIGHT','55DSiusP','https://hub-preprod.bsstag.com/wd/hub','APP_UPLOAD_URL','prod','https://edsstaging.bsstag.com','BROWSERSTACK','rerunTests','browserstack-ats.com','ERR_NETWORK_CHANGED','TCG_URL','https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/','NIGHTWATCH','107674OiQqwE','SDKTestInvalidTcgAuthResponseWithUserImpact','ROOT_REGEX','NUDGE_LOCAL_ERRORS','logLevel','proxySettings','BROWSERSTACK_ENV','HEALING_FAILURE_TIMEOUT','customVariables','VERSION','https://upload-observability-preprod.bsstag.com','observability','Run\x20mocha\x20tests\x20on\x20browserstack','playwright','ERR_SOCKS_CONNECTION_FAILED','110mSBjxW','MOCHA','EDS_URL','accessibility','O11Y_URL','acceptSslCerts','APP_AUTOMATE','CUCUMBER','strictFileInteractability','https://hub.browserstack.com/wd/hub','BROWSERSTACK_APP_AUTOMATE_URL'];a50_0x5ebc=function(){return _0x4c8504;};return a50_0x5ebc();}const a50_0x6e6618={};a50_0x6e6618[a50_0x1bd0a1(0x17a)]='Run\x20nightwatch\x20tests\x20on\x20browserstack';const a50_0xb40010={};a50_0xb40010['INFO']='Run\x20playwright\x20tests\x20on\x20Browserstack';const a50_0x5713f1={};a50_0x5713f1['INFO']=a50_0x1bd0a1(0x1ff);const a50_0x414fcd={};a50_0x414fcd['INFO']=a50_0x1bd0a1(0x198);const a50_0x26b572={};a50_0x26b572[a50_0x1bd0a1(0x17a)]=a50_0x1bd0a1(0x1c4);const a50_0x5cf3c3={};a50_0x5cf3c3[a50_0x1bd0a1(0x199)]=a50_0x1bd0a1(0x1d6),a50_0x5cf3c3['MOCHA']=a50_0x1bd0a1(0x1f2),a50_0x5cf3c3[a50_0x1bd0a1(0x200)]=a50_0x1bd0a1(0x166),a50_0x5cf3c3[a50_0x1bd0a1(0x18c)]=a50_0x1bd0a1(0x168),a50_0x5cf3c3['CODECEPT_CUCUMBER']=a50_0x1bd0a1(0x143),a50_0x5cf3c3[a50_0x1bd0a1(0x1bc)]=a50_0x1bd0a1(0x161);const a50_0x425cb8={};a50_0x425cb8[a50_0x1bd0a1(0x207)]='Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a50_0x425cb8[a50_0x1bd0a1(0x1ed)]=a50_0x1bd0a1(0x156),a50_0x425cb8[a50_0x1bd0a1(0x1d9)]='name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a50_0x425cb8[a50_0x1bd0a1(0x1f8)]=a50_0x1bd0a1(0x1d4);const a50_0x178bc4={};a50_0x178bc4['COMMONJS']=a50_0x1bd0a1(0x1ec),a50_0x178bc4[a50_0x1bd0a1(0x1c9)]=a50_0x1bd0a1(0x1df);const a50_0x15e0d1={};a50_0x15e0d1['root']=[a50_0x1bd0a1(0x1c5),a50_0x1bd0a1(0x1dc),'httpProxy',a50_0x1bd0a1(0x1ea),a50_0x1bd0a1(0x1ae),a50_0x1bd0a1(0x1f7),a50_0x1bd0a1(0x1c0),'proxyPassword',a50_0x1bd0a1(0x1f5),a50_0x1bd0a1(0x1c7),a50_0x1bd0a1(0x183)],a50_0x15e0d1['browserStackLocalOptions']=[a50_0x1bd0a1(0x177),a50_0x1bd0a1(0x170),a50_0x1bd0a1(0x1f1),a50_0x1bd0a1(0x190)];const a50_0x288873={};a50_0x288873[a50_0x1bd0a1(0x176)]='browserstackLocal',a50_0x288873[a50_0x1bd0a1(0x184)]=a50_0x1bd0a1(0x184),a50_0x288873[a50_0x1bd0a1(0x1e5)]=a50_0x1bd0a1(0x184),a50_0x288873['parallelsPerPlatform']=a50_0x1bd0a1(0x1d5),a50_0x288873[a50_0x1bd0a1(0x172)]=a50_0x1bd0a1(0x172),a50_0x288873[a50_0x1bd0a1(0x1aa)]=a50_0x1bd0a1(0x1aa),a50_0x288873[a50_0x1bd0a1(0x144)]=a50_0x1bd0a1(0x144),a50_0x288873[a50_0x1bd0a1(0x1ea)]='httpsProxy',a50_0x288873[a50_0x1bd0a1(0x1d0)]=a50_0x1bd0a1(0x1d0),a50_0x288873['testContextOptions']='testContextOptions',a50_0x288873[a50_0x1bd0a1(0x174)]=a50_0x1bd0a1(0x174),a50_0x288873[a50_0x1bd0a1(0x180)]='testObservabilityOptions',a50_0x288873[a50_0x1bd0a1(0x1ae)]='customVariables',a50_0x288873[a50_0x1bd0a1(0x201)]=a50_0x1bd0a1(0x1fc),a50_0x288873[a50_0x1bd0a1(0x1fc)]='browserstackAutomation',a50_0x288873[a50_0x1bd0a1(0x1a0)]='rerunTests',a50_0x288873[a50_0x1bd0a1(0x164)]=a50_0x1bd0a1(0x164),a50_0x288873[a50_0x1bd0a1(0x1e2)]=a50_0x1bd0a1(0x1e2),a50_0x288873[a50_0x1bd0a1(0x178)]='percyCaptureMode',a50_0x288873['disableAutoCaptureLogs']=a50_0x1bd0a1(0x16d),a50_0x288873[a50_0x1bd0a1(0x1b8)]='accessibility',a50_0x288873[a50_0x1bd0a1(0x1f0)]=a50_0x1bd0a1(0x1f0),a50_0x288873['turboScale']=a50_0x1bd0a1(0x179),a50_0x288873[a50_0x1bd0a1(0x17b)]=a50_0x1bd0a1(0x17b),a50_0x288873[a50_0x1bd0a1(0x1ab)]=a50_0x1bd0a1(0x1ab),a50_0x288873[a50_0x1bd0a1(0x14f)]=a50_0x1bd0a1(0x14f);function a50_0x5393(_0x109d4a,_0x1d187e){const _0x5ebc8a=a50_0x5ebc();return a50_0x5393=function(_0x53937e,_0xc323a4){_0x53937e=_0x53937e-0x13c;let _0x4df8c3=_0x5ebc8a[_0x53937e];return _0x4df8c3;},a50_0x5393(_0x109d4a,_0x1d187e);}const a50_0x585d4c={};a50_0x585d4c[a50_0x1bd0a1(0x1af)]=a50_0x466891,a50_0x585d4c[a50_0x1bd0a1(0x200)]=a50_0x344d4b,a50_0x585d4c[a50_0x1bd0a1(0x1b6)]=a50_0x59c033,a50_0x585d4c[a50_0x1bd0a1(0x1bc)]=a50_0x14ac6c,a50_0x585d4c[a50_0x1bd0a1(0x1e6)]=a50_0x1eada5,a50_0x585d4c[a50_0x1bd0a1(0x1a5)]=a50_0x6e6618,a50_0x585d4c[a50_0x1bd0a1(0x199)]=a50_0xb40010,a50_0x585d4c[a50_0x1bd0a1(0x1eb)]=a50_0x5713f1,a50_0x585d4c[a50_0x1bd0a1(0x14b)]=a50_0x414fcd,a50_0x585d4c[a50_0x1bd0a1(0x206)]=a50_0x26b572,a50_0x585d4c['BSTACK_DELTA']=0xf*0x3c*0x3e8,a50_0x585d4c['hubUrl']=a50_0x1bd0a1(0x1be),a50_0x585d4c[a50_0x1bd0a1(0x1a3)]=a50_0x1bd0a1(0x15b),a50_0x585d4c[a50_0x1bd0a1(0x13d)]=a50_0x1bd0a1(0x17d),a50_0x585d4c['HUB_URL_REGEX']=/^hub(-[a-z]+)?\.browserstack\.com$/,a50_0x585d4c[a50_0x1bd0a1(0x16a)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a50_0x585d4c[a50_0x1bd0a1(0x16c)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a50_0x585d4c[a50_0x1bd0a1(0x1ee)]=[a50_0x1bd0a1(0x197),a50_0x1bd0a1(0x1fd),a50_0x1bd0a1(0x1bd),a50_0x1bd0a1(0x167),a50_0x1bd0a1(0x1cd),'browserName','browserVersion',a50_0x1bd0a1(0x1ba),a50_0x1bd0a1(0x1e1),a50_0x1bd0a1(0x13c),a50_0x1bd0a1(0x15e),'edgeOptions',a50_0x1bd0a1(0x194)],a50_0x585d4c[a50_0x1bd0a1(0x1a8)]=/^[\w-]+:.*$/,a50_0x585d4c[a50_0x1bd0a1(0x1d7)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a50_0x585d4c[a50_0x1bd0a1(0x1b7)]=a50_0x1bd0a1(0x150),a50_0x585d4c[a50_0x1bd0a1(0x14a)]='https://api.browserstack.com',a50_0x585d4c[a50_0x1bd0a1(0x19c)]=a50_0x1bd0a1(0x16f),a50_0x585d4c['UPDATED_CLI_ENDPOINT']=a50_0x1bd0a1(0x1ef),a50_0x585d4c[a50_0x1bd0a1(0x185)]='sdk/v1/event',a50_0x585d4c[a50_0x1bd0a1(0x1db)]=[a50_0x1bd0a1(0x165),'observability'],a50_0x585d4c[a50_0x1bd0a1(0x189)]=['app-automate',a50_0x1bd0a1(0x1b1)],a50_0x585d4c[a50_0x1bd0a1(0x151)]=[a50_0x1bd0a1(0x1b1)],a50_0x585d4c[a50_0x1bd0a1(0x154)]='https://upload-observability.browserstack.com',a50_0x585d4c[a50_0x1bd0a1(0x1d2)]=[a50_0x1bd0a1(0x1f2),'Playwright'],a50_0x585d4c[a50_0x1bd0a1(0x186)]=['automate'],a50_0x585d4c['BROWSERSTACK_AUTOMATE_URL']=a50_0x1bd0a1(0x1f9),a50_0x585d4c[a50_0x1bd0a1(0x1bf)]=a50_0x1bd0a1(0x17e),a50_0x585d4c[a50_0x1bd0a1(0x1bb)]=[a50_0x1bd0a1(0x160)],a50_0x585d4c[a50_0x1bd0a1(0x1a9)]=[a50_0x1bd0a1(0x175),a50_0x1bd0a1(0x17f),a50_0x1bd0a1(0x1e4),a50_0x1bd0a1(0x1a2),'ERR_SOCKET_NOT_CONNECTED','ERR_CONNECTION_CLOSED',a50_0x1bd0a1(0x1d1),a50_0x1bd0a1(0x148),a50_0x1bd0a1(0x1cc),'ERR_CONNECTION_FAILED',a50_0x1bd0a1(0x1ce),a50_0x1bd0a1(0x1d8),a50_0x1bd0a1(0x15c),a50_0x1bd0a1(0x205),a50_0x1bd0a1(0x171),a50_0x1bd0a1(0x1b4),a50_0x1bd0a1(0x173),a50_0x1bd0a1(0x209),a50_0x1bd0a1(0x1ce),a50_0x1bd0a1(0x1e9),a50_0x1bd0a1(0x149)],a50_0x585d4c[a50_0x1bd0a1(0x16b)]=[a50_0x1bd0a1(0x147),a50_0x1bd0a1(0x1d3),a50_0x1bd0a1(0x188)],a50_0x585d4c[a50_0x1bd0a1(0x18a)]=a50_0x1bd0a1(0x18b),a50_0x585d4c[a50_0x1bd0a1(0x204)]='^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$',a50_0x585d4c['CI_ARTIFACTS_PATH']='./browserstack-artifacts/',a50_0x585d4c[a50_0x1bd0a1(0x1c2)]=a50_0x1bd0a1(0x142),a50_0x585d4c['FRAMEWORKS']=a50_0x5cf3c3,a50_0x585d4c['PERCY_SUPPORTED_FRAMEWORKS']=[a50_0x1bd0a1(0x166),'mocha'],a50_0x585d4c[a50_0x1bd0a1(0x195)]=a50_0x425cb8,a50_0x585d4c[a50_0x1bd0a1(0x1c8)]=a50_0x1bd0a1(0x208),a50_0x585d4c[a50_0x1bd0a1(0x1fb)]=a50_0x178bc4,a50_0x585d4c['MAX_GIT_META_DATA_SIZE_IN_BYTES']=0x40*0x400,a50_0x585d4c[a50_0x1bd0a1(0x14c)]=a50_0x1bd0a1(0x17c),a50_0x585d4c['UPGRADE_REQUIRED']='Upgrade\x20required',a50_0x585d4c['TCG_DOWN']='SDKTestTcgDownResponse',a50_0x585d4c['INVALID_INIT_RESP_WITH_USER_IMPACT']=a50_0x1bd0a1(0x1a7),a50_0x585d4c['TCG_AUTH_FAILURE']='SDKTestTcgAuthFailure',a50_0x585d4c['AI_INIT_SUCCESSFUL']=a50_0x1bd0a1(0x203),a50_0x585d4c[a50_0x1bd0a1(0x145)]=a50_0x1bd0a1(0x15a),a50_0x585d4c[a50_0x1bd0a1(0x169)]=a50_0x1bd0a1(0x1cf),a50_0x585d4c['TCG_AUTH_TIMEOUT']=0x1388,a50_0x585d4c[a50_0x1bd0a1(0x1f4)]=0x1388,a50_0x585d4c['HEALING_LOG_DATA_TIMEOUT']=0x1388,a50_0x585d4c[a50_0x1bd0a1(0x1ad)]=0x1388,a50_0x585d4c[a50_0x1bd0a1(0x14e)]=0xc350,a50_0x585d4c[a50_0x1bd0a1(0x1c1)]=a50_0x15e0d1,a50_0x585d4c[a50_0x1bd0a1(0x162)]=[a50_0x1bd0a1(0x15f),a50_0x1bd0a1(0x168)],a50_0x585d4c[a50_0x1bd0a1(0x140)]=a50_0x288873,a50_0x585d4c[a50_0x1bd0a1(0x141)]=a50_0x1bd0a1(0x18d),a50_0x585d4c[a50_0x1bd0a1(0x193)]=a50_0x1bd0a1(0x158),a50_0x585d4c['BSTACK_URL']=a50_0x1bd0a1(0x18e),a50_0x585d4c[a50_0x1bd0a1(0x15d)]=a50_0x1bd0a1(0x1a1),a50_0x585d4c[a50_0x1bd0a1(0x1b9)]='https://observability.browserstack.com',a50_0x585d4c[a50_0x1bd0a1(0x19f)]='browserstack',a50_0x585d4c[a50_0x1bd0a1(0x155)]=[a50_0x1bd0a1(0x1b3)],a50_0x585d4c[a50_0x1bd0a1(0x14d)]='PLAYWRIGHT_TRACE_LOGS',module[a50_0x1bd0a1(0x1fa)]=a50_0x585d4c;const _env=(process['env'][a50_0x1bd0a1(0x1ac)]||a50_0x1bd0a1(0x19d))['toLowerCase']();if(_env==='staging'||_env===a50_0x1bd0a1(0x13e)){const jcfMyn=a50_0x1bd0a1(0x1ca)[a50_0x1bd0a1(0x20a)]('|');let dgGrhq=0x0;while(!![]){switch(jcfMyn[dgGrhq++]){case'0':module['exports']['HUB_URL_REGEX']=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'1':module[a50_0x1bd0a1(0x1fa)][a50_0x1bd0a1(0x19f)]='bsstag';continue;case'2':module[a50_0x1bd0a1(0x1fa)][a50_0x1bd0a1(0x196)]=a50_0x1bd0a1(0x192);continue;case'3':module[a50_0x1bd0a1(0x1fa)]['BROWSERSTACK_APP_AUTOMATE_URL']=a50_0x1bd0a1(0x1a4);continue;case'4':module['exports']['APP_UPLOAD_URL']=a50_0x1bd0a1(0x181);continue;case'5':module[a50_0x1bd0a1(0x1fa)][a50_0x1bd0a1(0x1b9)]='https://observability-devtestops.bsstag.com';continue;case'6':module[a50_0x1bd0a1(0x1fa)][a50_0x1bd0a1(0x154)]='https://upload-observability-devtestops-ssi.bsstag.com';continue;case'7':module[a50_0x1bd0a1(0x1fa)][a50_0x1bd0a1(0x1a3)]='https://tcg.bsstag.com';continue;case'8':module[a50_0x1bd0a1(0x1fa)][a50_0x1bd0a1(0x14a)]='https://apidevtestops.bsstag.com';continue;case'9':module[a50_0x1bd0a1(0x1fa)][a50_0x1bd0a1(0x1b7)]='https://edsstaging.bsstag.com';continue;case'10':module['exports'][a50_0x1bd0a1(0x1c2)]='wss://cdp-devtestops.bsstag.com/playwright?caps=';continue;case'11':module[a50_0x1bd0a1(0x1fa)][a50_0x1bd0a1(0x18f)]=a50_0x1bd0a1(0x153);continue;case'12':module[a50_0x1bd0a1(0x1fa)][a50_0x1bd0a1(0x152)]='bsstag.com';continue;}break;}}else{if(_env===a50_0x1bd0a1(0x182)||_env===a50_0x1bd0a1(0x157)){const DvrseX=a50_0x1bd0a1(0x1e7)[a50_0x1bd0a1(0x20a)]('|');let lIpqcx=0x0;while(!![]){switch(DvrseX[lIpqcx++]){case'0':module[a50_0x1bd0a1(0x1fa)][a50_0x1bd0a1(0x196)]=a50_0x1bd0a1(0x19b);continue;case'1':module['exports'][a50_0x1bd0a1(0x1c2)]=a50_0x1bd0a1(0x163);continue;case'2':module[a50_0x1bd0a1(0x1fa)][a50_0x1bd0a1(0x154)]=a50_0x1bd0a1(0x1b0);continue;case'3':module['exports']['BSTACK_URL']=a50_0x1bd0a1(0x146);continue;case'4':module[a50_0x1bd0a1(0x1fa)][a50_0x1bd0a1(0x1a3)]='https://tcg-preprod.bsstag.com';continue;case'5':module[a50_0x1bd0a1(0x1fa)][a50_0x1bd0a1(0x14a)]=a50_0x1bd0a1(0x159);continue;case'6':module[a50_0x1bd0a1(0x1fa)][a50_0x1bd0a1(0x19f)]=a50_0x1bd0a1(0x1e8);continue;case'7':module[a50_0x1bd0a1(0x1fa)]['BROWSERSTACK_APP_AUTOMATE_URL']=a50_0x1bd0a1(0x187);continue;case'8':module[a50_0x1bd0a1(0x1fa)][a50_0x1bd0a1(0x18f)]=a50_0x1bd0a1(0x1cb);continue;case'9':module[a50_0x1bd0a1(0x1fa)][a50_0x1bd0a1(0x1b9)]='https://observability-preprod.bsstag.com';continue;case'10':module['exports'][a50_0x1bd0a1(0x13f)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'11':module['exports'][a50_0x1bd0a1(0x19c)]=a50_0x1bd0a1(0x159);continue;case'12':module[a50_0x1bd0a1(0x1fa)]['EDS_URL']=a50_0x1bd0a1(0x19e);continue;}break;}}}
@@ -1 +1 @@
1
- function a50_0x29a1(){const _0x155b7d=['8631wIZxLu','410zXJZem','440yJygcx','911990BOZfFL','level','log','1931paoRrv','data','./logReportingAPI','54457XJRTJi','6WSwtZe','timezoneOffset','colouredLayout','670998YWjphc','1119560YsXOny','77dDgPKW','DraUZ','levelStr','6276RPxpvf','20aYmbTU','3258437kHvSGW','configure','layout'];a50_0x29a1=function(){return _0x155b7d;};return a50_0x29a1();}const a50_0x4713b0=a50_0x30b6;(function(_0x3ded91,_0x551417){const _0x556694=a50_0x30b6,_0x56bbcc=_0x3ded91();while(!![]){try{const _0x50e937=parseInt(_0x556694(0x1b2))/0x1*(parseInt(_0x556694(0x1ad))/0x2)+-parseInt(_0x556694(0x1a2))/0x3*(-parseInt(_0x556694(0x1a8))/0x4)+parseInt(_0x556694(0x1a3))/0x5+parseInt(_0x556694(0x19f))/0x6*(parseInt(_0x556694(0x1a9))/0x7)+-parseInt(_0x556694(0x1ae))/0x8*(parseInt(_0x556694(0x1ac))/0x9)+parseInt(_0x556694(0x1af))/0xa*(parseInt(_0x556694(0x1a4))/0xb)+-parseInt(_0x556694(0x1a7))/0xc*(parseInt(_0x556694(0x19e))/0xd);if(_0x50e937===_0x551417)break;else _0x56bbcc['push'](_0x56bbcc['shift']());}catch(_0x2177a1){_0x56bbcc['push'](_0x56bbcc['shift']());}}}(a50_0x29a1,0x92175));const logReportingAPI=require(a50_0x4713b0(0x1b4)),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0x2ddaae,_0x1a9d9f){return _0x108e99=>{const _0x5b2d66=a50_0x30b6;BSTestOpsLogger[_0x5b2d66(0x1b1)]({'level':_0x108e99[_0x5b2d66(0x1b0)]?_0x108e99['level'][_0x5b2d66(0x1a6)]:null,'message':_0x108e99[_0x5b2d66(0x1b3)]?_0x108e99[_0x5b2d66(0x1b3)]['join']('\x20'):null});};}function a50_0x30b6(_0x12cace,_0x1b1734){const _0x29a12d=a50_0x29a1();return a50_0x30b6=function(_0x30b604,_0x574ff2){_0x30b604=_0x30b604-0x19e;let _0x23c260=_0x29a12d[_0x30b604];return _0x23c260;},a50_0x30b6(_0x12cace,_0x1b1734);}exports[a50_0x4713b0(0x1aa)]=(_0x5e220e,_0x551b40)=>{const _0x31b698=a50_0x4713b0,_0x46afeb={'DraUZ':function(_0x20abb6,_0x49a29a,_0x398da6){return _0x20abb6(_0x49a29a,_0x398da6);}};let _0x2d114e=_0x551b40[_0x31b698(0x1a1)];return _0x5e220e[_0x31b698(0x1ab)]&&(_0x2d114e=_0x551b40[_0x31b698(0x1ab)](_0x5e220e[_0x31b698(0x1ab)]['type'],_0x5e220e['layout'])),_0x46afeb[_0x31b698(0x1a5)](BSTestOpsLog4JSAppender,_0x2d114e,_0x5e220e[_0x31b698(0x1a0)]);};
1
+ function a51_0x2a4e(_0x146567,_0x1b42ad){const _0x1649d7=a51_0x1649();return a51_0x2a4e=function(_0x2a4ea8,_0xdf371f){_0x2a4ea8=_0x2a4ea8-0x69;let _0x230d7f=_0x1649d7[_0x2a4ea8];return _0x230d7f;},a51_0x2a4e(_0x146567,_0x1b42ad);}const a51_0xbcce61=a51_0x2a4e;(function(_0x5c0251,_0x4c67b0){const _0x1625cf=a51_0x2a4e,_0x4fe0d8=_0x5c0251();while(!![]){try{const _0xdf42a5=parseInt(_0x1625cf(0x6c))/0x1*(parseInt(_0x1625cf(0x6b))/0x2)+-parseInt(_0x1625cf(0x70))/0x3*(-parseInt(_0x1625cf(0x6e))/0x4)+-parseInt(_0x1625cf(0x6f))/0x5*(parseInt(_0x1625cf(0x69))/0x6)+parseInt(_0x1625cf(0x7d))/0x7*(-parseInt(_0x1625cf(0x7b))/0x8)+-parseInt(_0x1625cf(0x6d))/0x9*(-parseInt(_0x1625cf(0x6a))/0xa)+-parseInt(_0x1625cf(0x7a))/0xb*(parseInt(_0x1625cf(0x74))/0xc)+parseInt(_0x1625cf(0x7f))/0xd*(parseInt(_0x1625cf(0x73))/0xe);if(_0xdf42a5===_0x4c67b0)break;else _0x4fe0d8['push'](_0x4fe0d8['shift']());}catch(_0x4d6fc7){_0x4fe0d8['push'](_0x4fe0d8['shift']());}}}(a51_0x1649,0x6ce4d));const logReportingAPI=require('./logReportingAPI'),BSTestOpsLogger=new logReportingAPI({});function a51_0x1649(){const _0x38d3a6=['1960Ovwzmw','layout','13WQQDZw','296766pVIFwg','80wJnmoG','3910EKhwac','193GBoOmk','68436kZEalB','16pjgJHZ','25WEhCyf','106548jlnmDJ','configure','colouredLayout','7432978cmAqXV','456QPllOX','level','DPIXl','join','type','levelStr','32758AYJydm','8704oUwevh','data'];a51_0x1649=function(){return _0x38d3a6;};return a51_0x1649();}function BSTestOpsLog4JSAppender(_0x403c08,_0x162bbf){return _0xc54159=>{const _0x20603b=a51_0x2a4e;BSTestOpsLogger['log']({'level':_0xc54159['level']?_0xc54159[_0x20603b(0x75)][_0x20603b(0x79)]:null,'message':_0xc54159[_0x20603b(0x7c)]?_0xc54159[_0x20603b(0x7c)][_0x20603b(0x77)]('\x20'):null});};}exports[a51_0xbcce61(0x71)]=(_0x34f967,_0x37dca1)=>{const _0x6c0023=a51_0xbcce61,_0x4fa7d5={'DPIXl':function(_0x39c538,_0x115345,_0x1cf694){return _0x39c538(_0x115345,_0x1cf694);}};let _0x2d4ae2=_0x37dca1[_0x6c0023(0x72)];return _0x34f967[_0x6c0023(0x7e)]&&(_0x2d4ae2=_0x37dca1['layout'](_0x34f967[_0x6c0023(0x7e)][_0x6c0023(0x78)],_0x34f967[_0x6c0023(0x7e)])),_0x4fa7d5[_0x6c0023(0x76)](BSTestOpsLog4JSAppender,_0x2d4ae2,_0x34f967['timezoneOffset']);};
@@ -1 +1 @@
1
- const a51_0x95fc4=a51_0xf9c9;(function(_0x5310f7,_0x316c24){const _0x13fd45=a51_0xf9c9,_0x71581d=_0x5310f7();while(!![]){try{const _0xcd0f7c=parseInt(_0x13fd45(0x144))/0x1*(parseInt(_0x13fd45(0x147))/0x2)+-parseInt(_0x13fd45(0x14f))/0x3+-parseInt(_0x13fd45(0x150))/0x4+parseInt(_0x13fd45(0x154))/0x5+parseInt(_0x13fd45(0x159))/0x6*(parseInt(_0x13fd45(0x14d))/0x7)+-parseInt(_0x13fd45(0x14e))/0x8*(-parseInt(_0x13fd45(0x15a))/0x9)+-parseInt(_0x13fd45(0x149))/0xa;if(_0xcd0f7c===_0x316c24)break;else _0x71581d['push'](_0x71581d['shift']());}catch(_0x5bd4c6){_0x71581d['push'](_0x71581d['shift']());}}}(a51_0x10b6,0xd4064));const Transport=require(a51_0x95fc4(0x158)),{consoleHolder}=require(a51_0x95fc4(0x15b)),a51_0x478136={};function a51_0xf9c9(_0x2eb1b4,_0x54d63f){const _0x10b697=a51_0x10b6();return a51_0xf9c9=function(_0xf9c921,_0x43209e){_0xf9c921=_0xf9c921-0x144;let _0x34fac8=_0x10b697[_0xf9c921];return _0x34fac8;},a51_0xf9c9(_0x2eb1b4,_0x54d63f);}a51_0x478136[a51_0x95fc4(0x151)]=a51_0x95fc4(0x151),a51_0x478136['ERROR']='ERROR',a51_0x478136[a51_0x95fc4(0x15e)]=a51_0x95fc4(0x15e),a51_0x478136[a51_0x95fc4(0x156)]=a51_0x95fc4(0x156),a51_0x478136[a51_0x95fc4(0x146)]=a51_0x95fc4(0x146);const LOG_LEVELS=a51_0x478136;class logPatcher extends Transport{constructor(_0x4a5502){super(_0x4a5502);}[a51_0x95fc4(0x157)]=(_0x278cd0=LOG_LEVELS[a51_0x95fc4(0x151)],_0x5ae905=[''])=>{const _0x19d71d=a51_0x95fc4,_0x4a1bb9={};_0x4a1bb9[_0x19d71d(0x152)]=_0x19d71d(0x15d);const _0x2e217e=_0x4a1bb9;consoleHolder[_0x278cd0['toLowerCase']()](..._0x5ae905),process['emit'](_0x19d71d(0x153)+process[_0x19d71d(0x15c)],{'timestamp':new Date()[_0x19d71d(0x14a)](),'level':_0x278cd0[_0x19d71d(0x145)](),'message':'\x22'+_0x5ae905[_0x19d71d(0x14c)](',\x20')+'\x22','kind':_0x2e217e[_0x19d71d(0x152)],'http_response':{}});};['trace']=(..._0x4abdd0)=>{const _0x325505=a51_0x95fc4;this[_0x325505(0x157)](LOG_LEVELS['TRACE'],_0x4abdd0);};['debug']=(..._0x58b7b3)=>{const _0x213b2e=a51_0x95fc4;this[_0x213b2e(0x157)](LOG_LEVELS[_0x213b2e(0x15e)],_0x58b7b3);};['info']=(..._0x5efe5c)=>{const _0x4df967=a51_0x95fc4;this['logToTestOps'](LOG_LEVELS[_0x4df967(0x151)],_0x5efe5c);};[a51_0x95fc4(0x14b)]=(..._0x442aff)=>{const _0x52779f=a51_0x95fc4;this[_0x52779f(0x157)](LOG_LEVELS['WARN'],_0x442aff);};['error']=(..._0x30f1f1)=>{const _0x3e232e=a51_0x95fc4;this[_0x3e232e(0x157)](LOG_LEVELS[_0x3e232e(0x148)],_0x30f1f1);};[a51_0x95fc4(0x155)]=(..._0x143a37)=>{const _0x29b1c9=a51_0x95fc4;this[_0x29b1c9(0x157)](LOG_LEVELS[_0x29b1c9(0x151)],_0x143a37);};};function a51_0x10b6(){const _0x782357=['6759380MWpVFA','INFO','abPNH','bs:addLog:','5475745KBCLUT','log','TRACE','logToTestOps','winston-transport','96wqjcfM','185391qnDuHC','../../helpers/test-observability/constants','pid','TEST_LOG','DEBUG','1fWECVo','toUpperCase','WARN','19732lJBqcO','ERROR','12787550OgIkMr','toISOString','warn','join','674114AmZzgV','464qzVFKA','10611pKSStz'];a51_0x10b6=function(){return _0x782357;};return a51_0x10b6();}module['exports']=logPatcher;
1
+ const a52_0x2ebefa=a52_0x2d97;(function(_0x204601,_0x3d7497){const _0x215d86=a52_0x2d97,_0x5c6347=_0x204601();while(!![]){try{const _0x1232eb=parseInt(_0x215d86(0x1c5))/0x1+parseInt(_0x215d86(0x1d3))/0x2*(-parseInt(_0x215d86(0x1cb))/0x3)+parseInt(_0x215d86(0x1c9))/0x4*(-parseInt(_0x215d86(0x1cc))/0x5)+-parseInt(_0x215d86(0x1bf))/0x6+parseInt(_0x215d86(0x1bd))/0x7+-parseInt(_0x215d86(0x1c0))/0x8*(parseInt(_0x215d86(0x1d2))/0x9)+-parseInt(_0x215d86(0x1d5))/0xa*(-parseInt(_0x215d86(0x1ba))/0xb);if(_0x1232eb===_0x3d7497)break;else _0x5c6347['push'](_0x5c6347['shift']());}catch(_0x709581){_0x5c6347['push'](_0x5c6347['shift']());}}}(a52_0x239e,0x6f32a));function a52_0x239e(){const _0x4b71d3=['ERROR','IWySP','warn','pid','35801DCLJup','error','DEBUG','logToTestOps','4BYgIzm','trace','6465EkzGgb','3763345ICfWUe','debug','toUpperCase','WARN','INFO','TEST_LOG','16209ubGarr','72lqsQuQ','log','19070tqBtkU','emit','toISOString','../../helpers/test-observability/constants','info','4158kEMwTy','toLowerCase','TRACE','5520375PlnGuA','bs:addLog:','195786fFqDwa','1008EEvhxW'];a52_0x239e=function(){return _0x4b71d3;};return a52_0x239e();}const Transport=require('winston-transport'),{consoleHolder}=require(a52_0x2ebefa(0x1b8)),a52_0x3caebc={};a52_0x3caebc[a52_0x2ebefa(0x1d0)]=a52_0x2ebefa(0x1d0),a52_0x3caebc[a52_0x2ebefa(0x1c1)]=a52_0x2ebefa(0x1c1),a52_0x3caebc['DEBUG']=a52_0x2ebefa(0x1c7),a52_0x3caebc[a52_0x2ebefa(0x1bc)]=a52_0x2ebefa(0x1bc),a52_0x3caebc[a52_0x2ebefa(0x1cf)]=a52_0x2ebefa(0x1cf);function a52_0x2d97(_0x362aad,_0x532f1d){const _0x239ebd=a52_0x239e();return a52_0x2d97=function(_0x2d9791,_0x5b1123){_0x2d9791=_0x2d9791-0x1b6;let _0x5d988b=_0x239ebd[_0x2d9791];return _0x5d988b;},a52_0x2d97(_0x362aad,_0x532f1d);}const LOG_LEVELS=a52_0x3caebc;class logPatcher extends Transport{constructor(_0x250558){super(_0x250558);}['logToTestOps']=(_0x205fe5=LOG_LEVELS[a52_0x2ebefa(0x1d0)],_0x47cdb4=[''])=>{const _0x158ed2=a52_0x2ebefa,_0x4fe364={};_0x4fe364[_0x158ed2(0x1c2)]=_0x158ed2(0x1d1);const _0x206316=_0x4fe364;consoleHolder[_0x205fe5[_0x158ed2(0x1bb)]()](..._0x47cdb4),process[_0x158ed2(0x1b6)](_0x158ed2(0x1be)+process[_0x158ed2(0x1c4)],{'timestamp':new Date()[_0x158ed2(0x1b7)](),'level':_0x205fe5[_0x158ed2(0x1ce)](),'message':'\x22'+_0x47cdb4['join'](',\x20')+'\x22','kind':_0x206316[_0x158ed2(0x1c2)],'http_response':{}});};[a52_0x2ebefa(0x1ca)]=(..._0x482db4)=>{const _0x214164=a52_0x2ebefa;this[_0x214164(0x1c8)](LOG_LEVELS[_0x214164(0x1bc)],_0x482db4);};[a52_0x2ebefa(0x1cd)]=(..._0x596bba)=>{const _0x31ebfc=a52_0x2ebefa;this['logToTestOps'](LOG_LEVELS[_0x31ebfc(0x1c7)],_0x596bba);};[a52_0x2ebefa(0x1b9)]=(..._0xa316a7)=>{const _0x12597a=a52_0x2ebefa;this['logToTestOps'](LOG_LEVELS[_0x12597a(0x1d0)],_0xa316a7);};[a52_0x2ebefa(0x1c3)]=(..._0x31eb71)=>{this['logToTestOps'](LOG_LEVELS['WARN'],_0x31eb71);};[a52_0x2ebefa(0x1c6)]=(..._0x2ece7d)=>{const _0x34d9d6=a52_0x2ebefa;this[_0x34d9d6(0x1c8)](LOG_LEVELS[_0x34d9d6(0x1c1)],_0x2ece7d);};[a52_0x2ebefa(0x1d4)]=(..._0x4eb4f0)=>{const _0x38a723=a52_0x2ebefa;this[_0x38a723(0x1c8)](LOG_LEVELS[_0x38a723(0x1d0)],_0x4eb4f0);};};module['exports']=logPatcher;
@@ -1 +1 @@
1
- const a52_0x559b67=a52_0x20e2;(function(_0x260e3d,_0x34c4e8){const _0x2f224c=a52_0x20e2,_0x4126bf=_0x260e3d();while(!![]){try{const _0x62cf80=-parseInt(_0x2f224c(0x148))/0x1+parseInt(_0x2f224c(0x147))/0x2*(-parseInt(_0x2f224c(0x133))/0x3)+-parseInt(_0x2f224c(0x146))/0x4+parseInt(_0x2f224c(0x14e))/0x5+-parseInt(_0x2f224c(0x153))/0x6+parseInt(_0x2f224c(0x14d))/0x7+parseInt(_0x2f224c(0x151))/0x8*(parseInt(_0x2f224c(0x130))/0x9);if(_0x62cf80===_0x34c4e8)break;else _0x4126bf['push'](_0x4126bf['shift']());}catch(_0x5bdf06){_0x4126bf['push'](_0x4126bf['shift']());}}}(a52_0xd490,0x668d6));const Transport=require(a52_0x559b67(0x143)),{consoleHolder}=require(a52_0x559b67(0x152)),a52_0x2879fb={};a52_0x2879fb[a52_0x559b67(0x145)]='INFO',a52_0x2879fb['ERROR']=a52_0x559b67(0x141),a52_0x2879fb[a52_0x559b67(0x132)]=a52_0x559b67(0x132),a52_0x2879fb['TRACE']=a52_0x559b67(0x131),a52_0x2879fb['WARN']=a52_0x559b67(0x14f);const LOG_LEVELS=a52_0x2879fb;class logReportingAPI extends Transport{constructor(_0x261271){super(_0x261271);}[a52_0x559b67(0x138)](_0x36e300,_0xaeb70d){const _0x5c146b=a52_0x559b67,_0x65f89c={'rGTdc':_0x5c146b(0x137),'nAmJE':function(_0x4a2e6a,_0x3611c5){return _0x4a2e6a(_0x3611c5);},'KboQB':function(_0x294cd3,_0x27f79e){return _0x294cd3===_0x27f79e;},'iFGIk':_0x5c146b(0x14b),'eFXrT':function(_0x2cc3cc){return _0x2cc3cc();}};_0x65f89c[_0x5c146b(0x150)](setImmediate,()=>{const _0x309cef=_0x5c146b;this[_0x309cef(0x13d)](_0x65f89c[_0x309cef(0x13f)],_0x36e300);}),_0x65f89c[_0x5c146b(0x14a)](typeof _0x36e300,_0x65f89c[_0x5c146b(0x139)])?this[_0x5c146b(0x13a)](_0x36e300[_0x5c146b(0x144)]||LOG_LEVELS[_0x5c146b(0x145)],_0x36e300[_0x5c146b(0x135)],![]):this[_0x5c146b(0x13a)](LOG_LEVELS[_0x5c146b(0x145)],_0x36e300),_0xaeb70d&&_0x65f89c[_0x5c146b(0x140)](_0xaeb70d);}[a52_0x559b67(0x13a)]=(_0x531a98=LOG_LEVELS['INFO'],_0x4acb30='',_0x501523=!![])=>{const _0x144ec4=a52_0x559b67,_0x471f2c={};_0x471f2c[_0x144ec4(0x136)]='TEST_LOG';const _0x112271=_0x471f2c;_0x501523&&consoleHolder[_0x531a98['toLowerCase']()](_0x4acb30),process['emit'](_0x144ec4(0x13c)+process[_0x144ec4(0x14c)],{'timestamp':new Date()[_0x144ec4(0x13b)](),'level':_0x531a98[_0x144ec4(0x142)](),'message':_0x4acb30,'kind':_0x112271[_0x144ec4(0x136)],'http_response':{}});};[a52_0x559b67(0x13e)]=(_0x3d4a5,_0x14f85c)=>{const _0x116df3=a52_0x559b67;this[_0x116df3(0x13a)](LOG_LEVELS[_0x116df3(0x131)],_0x3d4a5);};[a52_0x559b67(0x149)]=(_0x386727,_0x12f156)=>{const _0x34357a=a52_0x559b67;this['logToTestOps'](LOG_LEVELS[_0x34357a(0x132)],_0x386727);};['info']=(_0x206de0,_0x242839)=>{const _0x42d66c=a52_0x559b67;this[_0x42d66c(0x13a)](LOG_LEVELS[_0x42d66c(0x145)],_0x206de0);};['warn']=(_0x5c6079,_0x102876)=>{const _0x5d8a6e=a52_0x559b67;this[_0x5d8a6e(0x13a)](LOG_LEVELS[_0x5d8a6e(0x14f)],_0x5c6079);};[a52_0x559b67(0x134)]=(_0x50f20d,_0x2d3cbe)=>{const _0xda3e88=a52_0x559b67;this[_0xda3e88(0x13a)](LOG_LEVELS[_0xda3e88(0x141)],_0x50f20d);};}function a52_0xd490(){const _0x222fc7=['error','message','IgQTQ','logged','log','iFGIk','logToTestOps','toISOString','bs:addLog:','emit','trace','rGTdc','eFXrT','ERROR','toUpperCase','winston-transport','level','INFO','2825060SPuQRJ','2UTOlqH','65511WKWwUA','debug','KboQB','object','pid','2993382DBVvUn','1025145NRQFZT','WARN','nAmJE','5368232BjQbaB','../../helpers/test-observability/constants','4124664BdrYAU','27HhsrYw','TRACE','DEBUG','2299404ZhNuWY'];a52_0xd490=function(){return _0x222fc7;};return a52_0xd490();};function a52_0x20e2(_0x1fcc8d,_0x290370){const _0xd490ea=a52_0xd490();return a52_0x20e2=function(_0x20e228,_0x17513a){_0x20e228=_0x20e228-0x130;let _0x4de764=_0xd490ea[_0x20e228];return _0x4de764;},a52_0x20e2(_0x1fcc8d,_0x290370);}module['exports']=logReportingAPI;
1
+ const a53_0x4d2401=a53_0x3633;function a53_0x3633(_0x3ddc8d,_0x1fe691){const _0x463451=a53_0x4634();return a53_0x3633=function(_0x3633a6,_0x5057cc){_0x3633a6=_0x3633a6-0x185;let _0x379f1c=_0x463451[_0x3633a6];return _0x379f1c;},a53_0x3633(_0x3ddc8d,_0x1fe691);}(function(_0x17fbf6,_0x5eb88b){const _0x3d98b1=a53_0x3633,_0xc17ab0=_0x17fbf6();while(!![]){try{const _0x189a8d=-parseInt(_0x3d98b1(0x19d))/0x1+-parseInt(_0x3d98b1(0x18c))/0x2*(-parseInt(_0x3d98b1(0x1a1))/0x3)+-parseInt(_0x3d98b1(0x188))/0x4*(parseInt(_0x3d98b1(0x196))/0x5)+parseInt(_0x3d98b1(0x18e))/0x6*(parseInt(_0x3d98b1(0x193))/0x7)+parseInt(_0x3d98b1(0x19a))/0x8*(parseInt(_0x3d98b1(0x194))/0x9)+-parseInt(_0x3d98b1(0x187))/0xa+-parseInt(_0x3d98b1(0x197))/0xb*(parseInt(_0x3d98b1(0x1a9))/0xc);if(_0x189a8d===_0x5eb88b)break;else _0xc17ab0['push'](_0xc17ab0['shift']());}catch(_0x41b38f){_0xc17ab0['push'](_0xc17ab0['shift']());}}}(a53_0x4634,0x7a9ae));const Transport=require(a53_0x4d2401(0x1a8)),{consoleHolder}=require(a53_0x4d2401(0x1a7)),a53_0x5d9e80={};a53_0x5d9e80[a53_0x4d2401(0x19c)]=a53_0x4d2401(0x19c),a53_0x5d9e80['ERROR']=a53_0x4d2401(0x185),a53_0x5d9e80[a53_0x4d2401(0x18a)]=a53_0x4d2401(0x18a),a53_0x5d9e80[a53_0x4d2401(0x1a4)]=a53_0x4d2401(0x1a4),a53_0x5d9e80[a53_0x4d2401(0x1a0)]=a53_0x4d2401(0x1a0);const LOG_LEVELS=a53_0x5d9e80;class logReportingAPI extends Transport{constructor(_0x20b217){super(_0x20b217);}['log'](_0x4a297b,_0x2e4c5c){const _0x1c87c3=a53_0x4d2401,_0x2e648b={'mpqBZ':'logged','JPoAL':function(_0x3e0ba8,_0x2960b4){return _0x3e0ba8(_0x2960b4);},'jicpM':function(_0x13da84,_0xa6a47d){return _0x13da84===_0xa6a47d;},'MuGGk':_0x1c87c3(0x195),'zOGjB':function(_0x47e359){return _0x47e359();}};_0x2e648b[_0x1c87c3(0x189)](setImmediate,()=>{const _0xb7c3a=_0x1c87c3;this[_0xb7c3a(0x190)](_0x2e648b['mpqBZ'],_0x4a297b);}),_0x2e648b[_0x1c87c3(0x18f)](typeof _0x4a297b,_0x2e648b[_0x1c87c3(0x199)])?this[_0x1c87c3(0x198)](_0x4a297b[_0x1c87c3(0x18d)]||LOG_LEVELS['INFO'],_0x4a297b['message'],![]):this[_0x1c87c3(0x198)](LOG_LEVELS[_0x1c87c3(0x19c)],_0x4a297b),_0x2e4c5c&&_0x2e648b[_0x1c87c3(0x19f)](_0x2e4c5c);}[a53_0x4d2401(0x198)]=(_0x3b60c3=LOG_LEVELS[a53_0x4d2401(0x19c)],_0x1afe57='',_0x5a9806=!![])=>{const _0x175913=a53_0x4d2401,_0x18d354={};_0x18d354['RvpiC']='TEST_LOG';const _0xd635d3=_0x18d354;_0x5a9806&&consoleHolder[_0x3b60c3[_0x175913(0x186)]()](_0x1afe57),process[_0x175913(0x190)](_0x175913(0x19b)+process[_0x175913(0x18b)],{'timestamp':new Date()['toISOString'](),'level':_0x3b60c3[_0x175913(0x1a5)](),'message':_0x1afe57,'kind':_0xd635d3['RvpiC'],'http_response':{}});};[a53_0x4d2401(0x1a3)]=(_0x20bed0,_0x2faeaa)=>{const _0x53d76c=a53_0x4d2401;this[_0x53d76c(0x198)](LOG_LEVELS[_0x53d76c(0x1a4)],_0x20bed0);};[a53_0x4d2401(0x1a6)]=(_0x4e9b0f,_0x2be8b)=>{const _0xe367b5=a53_0x4d2401;this[_0xe367b5(0x198)](LOG_LEVELS[_0xe367b5(0x18a)],_0x4e9b0f);};[a53_0x4d2401(0x191)]=(_0x55ef1d,_0x5c1fab)=>{const _0x42c963=a53_0x4d2401;this['logToTestOps'](LOG_LEVELS[_0x42c963(0x19c)],_0x55ef1d);};[a53_0x4d2401(0x19e)]=(_0x493cbe,_0xec336f)=>{const _0x38c917=a53_0x4d2401;this[_0x38c917(0x198)](LOG_LEVELS[_0x38c917(0x1a0)],_0x493cbe);};[a53_0x4d2401(0x1a2)]=(_0x3f6a1b,_0x42eb15)=>{const _0x46781e=a53_0x4d2401;this[_0x46781e(0x198)](LOG_LEVELS[_0x46781e(0x185)],_0x3f6a1b);};};function a53_0x4634(){const _0x1104bb=['60SRULgs','JPoAL','DEBUG','pid','1494574eTWpVw','level','2752290cdTeYh','jicpM','emit','info','exports','14yjVFMl','429543wDVhUm','object','117195EIdghL','10351MPLicZ','logToTestOps','MuGGk','144DeWvft','bs:addLog:','INFO','722188YbjmKA','warn','zOGjB','WARN','3lqGHcg','error','trace','TRACE','toUpperCase','debug','../../helpers/test-observability/constants','winston-transport','3756NarSAI','ERROR','toLowerCase','6533070OBBbrA'];a53_0x4634=function(){return _0x1104bb;};return a53_0x4634();}module[a53_0x4d2401(0x192)]=logReportingAPI;