browserstack-node-sdk 1.34.57 → 1.35.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 (137) 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/customTestRunnerTemplate.js +1 -1
  60. package/src/bin/jest/jest.setup.js +1 -1
  61. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  62. package/src/bin/jest/test-observability/helper.js +1 -1
  63. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  64. package/src/bin/jest/test-observability/test-details.js +1 -1
  65. package/src/bin/jest/test_before.setup.js +1 -1
  66. package/src/bin/launcher/launcher.js +1 -1
  67. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  68. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  69. package/src/bin/mocha/command.js +1 -1
  70. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  71. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  72. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  73. package/src/bin/mocha/test.setup.js +1 -1
  74. package/src/bin/nightwatch/command.js +1 -1
  75. package/src/bin/playwright/accessibility-helper.js +1 -1
  76. package/src/bin/playwright/command.js +1 -1
  77. package/src/bin/playwright/globalSetup.js +1 -1
  78. package/src/bin/playwright/mock-process.js +1 -1
  79. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  80. package/src/bin/playwright/patches.js +1 -1
  81. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  82. package/src/bin/playwright/reporter/reporter.js +1 -1
  83. package/src/bin/playwright/reporter/test-details.js +1 -1
  84. package/src/bin/playwright/sessionDetails.js +1 -1
  85. package/src/bin/runner.js +1 -1
  86. package/src/bin/setup.js +1 -1
  87. package/src/bin/test-runner/index.js +1 -1
  88. package/src/bin/test-runner/runTest.js +1 -1
  89. package/src/bin/test-runner/testWorker.js +1 -1
  90. package/src/bin/utils/constants.js +1 -1
  91. package/src/bin/utils/log4jsAppender.js +1 -1
  92. package/src/bin/utils/logPatcher.js +1 -1
  93. package/src/bin/utils/logReportingAPI.js +1 -1
  94. package/src/bin/vanilla-js/command.js +1 -1
  95. package/src/browserStackSdk.js +1 -1
  96. package/src/helpers/BrowserStackSetup.js +1 -1
  97. package/src/helpers/accessibility-automation/constants.js +1 -1
  98. package/src/helpers/accessibility-automation/helper.js +1 -1
  99. package/src/helpers/accessibility-automation/scripts.js +1 -1
  100. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  101. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  102. package/src/helpers/ats/constants.js +1 -1
  103. package/src/helpers/ats/helper.js +1 -1
  104. package/src/helpers/capsMapping.js +1 -1
  105. package/src/helpers/central-scanner/constants.js +1 -1
  106. package/src/helpers/central-scanner/helpers.js +1 -1
  107. package/src/helpers/globals.js +1 -1
  108. package/src/helpers/helper.js +1 -1
  109. package/src/helpers/logger.js +1 -1
  110. package/src/helpers/metadata.js +1 -1
  111. package/src/helpers/patchHelper.js +1 -1
  112. package/src/helpers/patchHelpers.js +1 -1
  113. package/src/helpers/percy/Percy.js +1 -1
  114. package/src/helpers/percy/PercyBinary.js +1 -1
  115. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  116. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  117. package/src/helpers/percy/PercySDK.js +1 -1
  118. package/src/helpers/percy/index.js +1 -1
  119. package/src/helpers/percy/utils.js +1 -1
  120. package/src/helpers/performance/constants.js +1 -1
  121. package/src/helpers/performance/performance-tester.js +1 -1
  122. package/src/helpers/processHelper.js +1 -1
  123. package/src/helpers/request-spy.js +1 -1
  124. package/src/helpers/setKeepAlive.js +1 -1
  125. package/src/helpers/test-observability/constants.js +1 -1
  126. package/src/helpers/test-observability/error-handler.js +1 -1
  127. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  128. package/src/helpers/test-observability/sessionHandler.js +1 -1
  129. package/src/helpers/test-observability/utils.js +1 -1
  130. package/src/helpers/testhub/constants.js +1 -1
  131. package/src/helpers/testhub/testhubHandler.js +1 -1
  132. package/src/helpers/testhub/utils.js +1 -1
  133. package/src/helpers/timeoutPromise.js +1 -1
  134. package/src/helpers/utilities.js +1 -1
  135. package/src/helpers/w3cMapping.js +1 -1
  136. package/src/hubAllocationMethods.js +1 -1
  137. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a41_0x319577=a41_0x1784;function a41_0x1784(_0x4a7d09,_0x38d075){const _0x1a3b6a=a41_0x1a3b();return a41_0x1784=function(_0x1784d2,_0x3fd5d3){_0x1784d2=_0x1784d2-0x1a6;let _0x16f373=_0x1a3b6a[_0x1784d2];return _0x16f373;},a41_0x1784(_0x4a7d09,_0x38d075);}(function(_0x2357bc,_0x1ea178){const _0x1f0a8b=a41_0x1784,_0x4c1856=_0x2357bc();while(!![]){try{const _0x32be52=-parseInt(_0x1f0a8b(0x1ef))/0x1*(parseInt(_0x1f0a8b(0x232))/0x2)+parseInt(_0x1f0a8b(0x213))/0x3+-parseInt(_0x1f0a8b(0x244))/0x4*(-parseInt(_0x1f0a8b(0x1b3))/0x5)+-parseInt(_0x1f0a8b(0x1ac))/0x6*(-parseInt(_0x1f0a8b(0x1e1))/0x7)+parseInt(_0x1f0a8b(0x228))/0x8+parseInt(_0x1f0a8b(0x258))/0x9+parseInt(_0x1f0a8b(0x287))/0xa*(-parseInt(_0x1f0a8b(0x26a))/0xb);if(_0x32be52===_0x1ea178)break;else _0x4c1856['push'](_0x4c1856['shift']());}catch(_0x47451d){_0x4c1856['push'](_0x4c1856['shift']());}}}(a41_0x1a3b,0x363dc));const RequestQueueHandler=require(a41_0x319577(0x241)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x319577(0x1b5)),{v4:uuidv4}=require('uuid'),path=require(a41_0x319577(0x24c)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require('../../../helpers/test-observability/utils'),{getGitMetaData,setLogLevel}=require(a41_0x319577(0x24f)),TestDetails=require('./test-details'),fs=require('fs'),util=require(a41_0x319577(0x253)),{o11yClassErrorHandler}=require(a41_0x319577(0x29e)),PerformanceTester=require(a41_0x319577(0x221)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{appendTesthubParams}=require(a41_0x319577(0x1d1)),TestHubHandler=require(a41_0x319577(0x1d6)),helper=require(a41_0x319577(0x24f));function a41_0x1a3b(){const _0x4f1e12=['TifGr','env','\x20-\x20','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','parent','zlGGh','NkuxS','startsWith','PLAYWRIGHT_TRACE_LOGS','176prhyRJ','czayS','pending','shutdown','\x20is\x20triggered','mkNXu','bHYwM','attachments','oBWaR','ZKvXs','format','object','name','.txt','getStepsAndLogs','kzNCr','YoqgR','base64','expanded','getTestUUID','HookRunFinished','_tags','startMonitoring','pYVdq','forEach','printsToStdio','AAxwr','getHookType','inspect','4|5|3|2|1|6|0','screenshot','getCustomRerunParam','eQNWv','MEoyA','EboAO','GMmHU','1275039tACfek','onTestEnd','rXLiz','hook','RSmLr','getTestRunIdentifier','xziaM','adGIA','yZCby','event_type','basename','QXRTp','length','MaSlv','../../../helpers/performance/performance-tester','bnHjV','aPGIr','title','sendSessionDetails','pbftX','javascript','471264qybhBy','reportLogs','uuid','NYxLU','Sending\x20session\x20details\x20for\x20','mtime','qgXYp','\x20for\x20','OyasF','QxGJA','1866iazuEW','sendHookRunEvent','backtrace','filter','Test\x20Started\x20with\x20unique\x20id\x20','onBegin','hqcCE','setStepIdentifier','WMlec','IZmXX','_testHooksMap','failure','aNRUA','uITAy','eFoZB','../../../helpers/test-observability/requestQueueHandler','JmrSQ','coqzc','502828KIOIxK','yWTTU','tujXg','splice','errors','XdJKC','fpOBe','message','path','trace_','_gitConfigured','../../../helpers/helper','location','KIfqd','jGalt','util','retry_of','cmNbm','beforeEach\x20hook','GLIYp','1968219FHKTsY','.browserstack','HQpkz','BROWSERSTACK_O11Y_PERF_MEASUREMENT','beforeAll\x20hook','VlKrO','ABdUp','atXFk','depth','Hook\x20Started\x20with\x20unique\x20id\x20','afterAll\x20hook','ASCpw','cwd','_tests','category','bxVRe','indexOf','result','2662CSjcTO','MvVPm','HbqEo','sendTestRunEvent','afterEach\x20hook','_gitConfigPath','logLevel','\x20is\x20triggered\x20for\x20test\x20','split','meta','ZRCoY','pxayR','file','AFTER_EACH','wXnNj','baWNU','LogCreated','passed','toString','JmMJW','qIHix','utf8','csQrs','XbquT','toISOString','cdwIz','BRRVr','OlxVl','unknown','30890YBcqjz','err','mkdirSync','VGVnw','bmPKT','TEST_ATTACHMENT','reverse','TEST_STEP','fehlo','retry','statSync','getTime','yMMLm','TestRunStarted','MyReporter','failed','BUjEz','PLAYWRIGHT','finishedAt','steps','test','status','KiHTX','../../../helpers/test-observability/error-handler','uploadEventData','hook_run','configureGit','yJUqC','tWdwF','startedAt','HookRunStarted','readFileSync','BROWSERSTACK_LOG_LEVEL','join','addTestUIDAndReportLog','iSLPy','test_run_uuid','existsSync','XxVcv','getHierarchy','HKpMw','skipped','map','_bs_hookIdentifier','6258idXNzN','push','ZygUj','BEFORE_ALL','BROWSERSTACK_TEST_RUN_ID','needToReportStep','endSession','5lqnJGK','YLzYG','./pwUtils','hblmx','mSHbs','udDEo','GOZBh','duration','cYyYc','AFTER_ALL','Expected\x20to\x20fail,\x20but\x20passed.','StgLV','Trace\x20file\x20found\x20for\x20test:\x20','tAVrD','kDoab','ylBeN','getTestIdentifier','error','startTime','XwxHA','dHyFo','getInstance','onTestBegin','exports','jKhQY','relative','czdxv','smkYq','TEST_SCREENSHOT','logs','../../../helpers/testhub/utils','YNhRN','timedOut','ImwJE','CFYYE','../../../helpers/testhub/testhubHandler','\x20at\x20','Error\x20in\x20calculating\x20performance:\x20','failure_reason','getScope','failure_type','wTEKf','test_run','ppaua','TestRunFinished','ihlWO','2051CvUCYk','getStepIdentifier','UZcgw','PIJnA','onStepEnd'];a41_0x1a3b=function(){return _0x4f1e12;};return a41_0x1a3b();}class MyReporter{constructor(_0x2b9e52){const _0x5d6cb3=a41_0x319577,_0x88ad3d={'CFYYE':_0x5d6cb3(0x20c),'OlxVl':function(_0x24360c,_0xb8b8dc,_0x28ebcb,_0x17b9a3){return _0x24360c(_0xb8b8dc,_0x28ebcb,_0x17b9a3);},'WpbLo':'performance-report-reporter.json'},_0x2b8c40=_0x88ad3d[_0x5d6cb3(0x1d5)][_0x5d6cb3(0x272)]('|');let _0x4287af=0x0;while(!![]){switch(_0x2b8c40[_0x4287af++]){case'0':this[_0x5d6cb3(0x26f)]=null;continue;case'1':this['options']=_0x2b9e52;continue;case'2':this[_0x5d6cb3(0x23c)]={};continue;case'3':this[_0x5d6cb3(0x265)]={};continue;case'4':const _0x9b71e7={};_0x9b71e7[_0x5d6cb3(0x270)]=process[_0x5d6cb3(0x1e7)][_0x5d6cb3(0x2a7)],_0x88ad3d[_0x5d6cb3(0x285)](setLogLevel,_0x9b71e7,new Map(),new Map());continue;case'5':process['env']['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester[_0x5d6cb3(0x205)](_0x88ad3d['WpbLo']),process['env']['START_TIME']=new Date()['toISOString']());continue;case'6':this[_0x5d6cb3(0x24e)]=![];continue;}break;}}async['onBegin'](){const _0x4fbdca=a41_0x319577;TestDetails['setup'](),await this[_0x4fbdca(0x2a1)]();}async[a41_0x319577(0x1c9)](_0x3784d9,_0x5bd4ae){const _0x33b6d4=a41_0x319577,_0x2ff364={'ihlWO':function(_0x128908,_0x241bf5){return _0x128908(_0x241bf5);},'SuMLE':_0x33b6d4(0x294)},_0x3a7856=this[_0x33b6d4(0x1c3)](_0x3784d9),_0x1b528d=TestDetails[_0x33b6d4(0x202)](this[_0x33b6d4(0x218)](_0x3784d9,_0x5bd4ae[_0x33b6d4(0x290)]));process[_0x33b6d4(0x1e7)][_0x33b6d4(0x1b0)]=_0x1b528d;const _0x1ff523={};_0x1ff523[_0x33b6d4(0x22a)]=_0x1b528d,_0x1ff523[_0x33b6d4(0x2a4)]=_0x5bd4ae[_0x33b6d4(0x1c5)],this['_tests'][_0x3a7856]=_0x1ff523,_0x2ff364[_0x33b6d4(0x1e0)](trace,_0x33b6d4(0x236)+_0x3a7856),await this['sendTestRunEvent'](_0x3784d9,_0x2ff364['SuMLE'],_0x5bd4ae);}async['onStepBegin'](_0x28d46f,_0x349fef,_0x2da143){const _0x5e19=a41_0x319577,_0x3737a8={'iSLPy':function(_0x47fa88,_0x1126d4){return _0x47fa88(_0x1126d4);},'YoqgR':_0x5e19(0x2a5)};if(!this[_0x5e19(0x1b1)](_0x2da143,_0x28d46f))return;const _0x934d3c=this[_0x5e19(0x239)](_0x28d46f,_0x2da143);this['_tests'][_0x934d3c]={'uuid':TestDetails[_0x5e19(0x202)](_0x934d3c),'startedAt':_0x2da143[_0x5e19(0x1c5)]['toISOString']()};const _0x22f88a=this['getTestRunIdentifier'](_0x28d46f,_0x349fef[_0x5e19(0x290)]);!this[_0x5e19(0x23c)][_0x22f88a]&&(this[_0x5e19(0x23c)][_0x22f88a]=[]),this['_testHooksMap'][_0x22f88a][_0x5e19(0x1ad)](this[_0x5e19(0x265)][_0x934d3c][_0x5e19(0x22a)]),_0x3737a8[_0x5e19(0x2aa)](trace,_0x5e19(0x261)+_0x934d3c+_0x5e19(0x271)+_0x22f88a),await this[_0x5e19(0x233)](_0x28d46f,_0x2da143,_0x3737a8[_0x5e19(0x1ff)],_0x349fef);}async[a41_0x319577(0x1e5)](_0x173ec3,_0x4ee304,_0x2c2d2e){const _0x2d7a9d=a41_0x319577,_0x4bcc6e={'MaSlv':function(_0x36d63f,_0x5adc4c){return _0x36d63f+_0x5adc4c;},'fehlo':function(_0x2f067e,_0x335b2f){return _0x2f067e(_0x335b2f);},'YLzYG':_0x2d7a9d(0x203)};if(!this['needToReportStep'](_0x2c2d2e,_0x173ec3))return;const _0x1c851d=this['getStepIdentifier'](_0x173ec3,_0x2c2d2e);this[_0x2d7a9d(0x265)][_0x1c851d]={...this[_0x2d7a9d(0x265)][_0x1c851d]||{},'finishedAt':new Date(_0x4bcc6e[_0x2d7a9d(0x220)](_0x2c2d2e[_0x2d7a9d(0x1c5)][_0x2d7a9d(0x292)](),_0x2c2d2e[_0x2d7a9d(0x1ba)]))},_0x4bcc6e[_0x2d7a9d(0x28f)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x1c851d+_0x2d7a9d(0x1f3)),await this[_0x2d7a9d(0x233)](_0x173ec3,_0x2c2d2e,_0x4bcc6e[_0x2d7a9d(0x1b4)],_0x4ee304);}async[a41_0x319577(0x214)](_0x50362f,_0x38a9ee){const _0x1c879d=a41_0x319577,_0x374ef8={'pOzRz':function(_0x12b51e,_0x1f948f){return _0x12b51e===_0x1f948f;},'WMlec':_0x1c879d(0x20d),'pYVdq':_0x1c879d(0x1cf),'ABdUp':_0x1c879d(0x200),'aNRUA':function(_0x7d8b8e,_0x5e25a7){return _0x7d8b8e(_0x5e25a7);},'mkNXu':_0x1c879d(0x1df),'hblmx':function(_0x4d5fee,_0x4c50f2){return _0x4d5fee(_0x4c50f2);},'ZygUj':'Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','QxGJA':function(_0x2e1c99,_0xf9f7f6){return _0x2e1c99(_0xf9f7f6);},'kzNCr':function(_0x3957e3,_0x465a7c,_0x132b7f){return _0x3957e3(_0x465a7c,_0x132b7f);},'yMMLm':function(_0x26a282,_0x376980){return _0x26a282(_0x376980);},'tAVrD':'Error\x20in\x20sending\x20trace\x20zip:\x20%s','tWdwF':function(_0x23537c,_0x4525f7){return _0x23537c>_0x4525f7;}},_0x2b1e81=this['getTestIdentifier'](_0x50362f),_0x26b3ea=TestDetails[_0x1c879d(0x202)](this[_0x1c879d(0x218)](_0x50362f,_0x38a9ee[_0x1c879d(0x290)]));this[_0x1c879d(0x265)][_0x2b1e81]={...this['_tests'][_0x2b1e81]||{},'finishedAt':new Date()[_0x1c879d(0x282)]()},_0x374ef8[_0x1c879d(0x23e)](trace,'Test\x20Finished\x20with\x20unique\x20id\x20'+_0x2b1e81);try{await this[_0x1c879d(0x26d)](_0x50362f,_0x374ef8[_0x1c879d(0x1f4)],_0x38a9ee);}catch(_0x395c19){_0x374ef8[_0x1c879d(0x1b6)](debug,util[_0x1c879d(0x1f9)](_0x374ef8[_0x1c879d(0x1ae)],_0x395c19[_0x1c879d(0x27c)]()));}try{_0x374ef8[_0x1c879d(0x231)](debug,_0x1c879d(0x1e9)+_0x26b3ea),await _0x374ef8[_0x1c879d(0x1fe)](sendTraceZip,_0x38a9ee,_0x26b3ea);}catch(_0x3faf53){_0x374ef8[_0x1c879d(0x293)](debug,util['format'](_0x374ef8[_0x1c879d(0x1c0)],_0x3faf53[_0x1c879d(0x27c)]()));}const _0x3b6936=[];_0x38a9ee[_0x1c879d(0x1f6)]&&_0x38a9ee[_0x1c879d(0x1f6)][_0x1c879d(0x1aa)](_0x111a0b=>{const _0x3e11fd=_0x1c879d;if(_0x374ef8['pOzRz'](_0x111a0b[_0x3e11fd(0x1fb)],_0x374ef8[_0x3e11fd(0x23a)])){if(!_0x111a0b['path']||!fs[_0x3e11fd(0x2ac)](_0x111a0b['path']))return;_0x3b6936[_0x3e11fd(0x1ad)]({'test_run_uuid':_0x26b3ea,'timestamp':fs['statSync'](_0x111a0b[_0x3e11fd(0x24c)])[_0x3e11fd(0x22d)],'kind':_0x374ef8[_0x3e11fd(0x206)],'message':fs[_0x3e11fd(0x2a6)](_0x111a0b[_0x3e11fd(0x24c)],{'encoding':_0x374ef8[_0x3e11fd(0x25e)]})});}}),_0x374ef8[_0x1c879d(0x2a3)](_0x3b6936[_0x1c879d(0x21f)],0x0)&&await MyReporter[_0x1c879d(0x229)](_0x3b6936);}async[a41_0x319577(0x1b2)](){const _0x4bb6e6=a41_0x319577;await RequestQueueHandler[_0x4bb6e6(0x1c8)]()[_0x4bb6e6(0x1f2)]();}async['onEnd'](_0x597916){const _0x3bf169=a41_0x319577,_0x3f1e65={'VlKrO':function(_0x4f3c1d){return _0x4f3c1d();},'XbquT':function(_0x56e228,_0x360217){return _0x56e228(_0x360217);}};await this[_0x3bf169(0x1b2)]();try{process['env'][_0x3bf169(0x25b)]&&await _0x3f1e65[_0x3bf169(0x25d)](calculatePerformance);}catch(_0x43ead4){_0x3f1e65[_0x3bf169(0x281)](debug,_0x3bf169(0x1d8)+_0x43ead4[_0x3bf169(0x27c)]());}}static async[a41_0x319577(0x2a9)](_0x4c0892,_0xd78c6c){const _0x2f9944=a41_0x319577;_0xd78c6c[_0x2f9944(0x2ab)]=TestDetails[_0x2f9944(0x202)](_0x4c0892),await this['reportLogs']([_0xd78c6c]);}static async[a41_0x319577(0x229)](_0x4bfb80){const _0x415e36=a41_0x319577,_0x381b0c={};_0x381b0c['bmPKT']=_0x415e36(0x27a);const _0x30461f=_0x381b0c,_0x24e04b={};_0x24e04b[_0x415e36(0x21c)]=_0x30461f[_0x415e36(0x28b)],_0x24e04b[_0x415e36(0x1d0)]=_0x4bfb80,await SessionHandler['uploadEventData'](_0x24e04b);}async[a41_0x319577(0x233)](_0x2a9954,_0x50d7d2,_0x1d4cef,_0x344991){const _0xce8c9b=a41_0x319577,_0x1b24ed={'ylBeN':_0xce8c9b(0x216),'bnHjV':_0xce8c9b(0x227),'yZCby':_0xce8c9b(0x1f1),'UZcgw':function(_0x55a5e6,_0x3880c9){return _0x55a5e6>=_0x3880c9;},'Bbumq':function(_0x1e846e,_0x3ce787){return _0x1e846e===_0x3ce787;},'XdJKC':_0xce8c9b(0x203),'RExHK':function(_0x1cabfc,_0xccc966){return _0x1cabfc>_0xccc966;},'PIJnA':_0xce8c9b(0x296),'EboAO':function(_0x44e382,_0x20edf6){return _0x44e382(_0x20edf6);},'uITAy':function(_0x2e7968,_0x2efe94,_0x1119a2){return _0x2e7968(_0x2efe94,_0x1119a2);},'BUjEz':_0xce8c9b(0x288),'pLZUa':function(_0x1c34e4,_0x4eaf4c){return _0x1c34e4===_0x4eaf4c;},'ZRCoY':_0xce8c9b(0x27b)},_0x1223cb=this[_0xce8c9b(0x1e2)](_0x2a9954,_0x50d7d2),_0x5e4339=this['_tests'][_0x1223cb],_0x11711f={'uuid':_0x5e4339[_0xce8c9b(0x22a)],'type':_0x1b24ed[_0xce8c9b(0x1c2)],'hook_type':this[_0xce8c9b(0x20a)](_0x50d7d2[_0xce8c9b(0x224)]),'name':_0x50d7d2[_0xce8c9b(0x224)],'scope':this[_0xce8c9b(0x1da)](_0x50d7d2),'scopes':this[_0xce8c9b(0x1a7)](_0x2a9954),'body':{'lang':_0x1b24ed[_0xce8c9b(0x222)],'code':null},'identifier':_0x1223cb,'file_name':path[_0xce8c9b(0x1cc)](process[_0xce8c9b(0x264)](),_0x2a9954[_0xce8c9b(0x250)][_0xce8c9b(0x276)]),'location':path[_0xce8c9b(0x1cc)](process[_0xce8c9b(0x264)](),_0x2a9954[_0xce8c9b(0x250)][_0xce8c9b(0x276)]),'result':_0x1b24ed[_0xce8c9b(0x21b)],'duration_in_ms':_0x1b24ed[_0xce8c9b(0x1e3)](_0x50d7d2['duration'],0x0)?_0x50d7d2['duration']:undefined,'vc_filepath':this[_0xce8c9b(0x26f)]&&_0x2a9954[_0xce8c9b(0x250)][_0xce8c9b(0x276)]?path['relative'](this[_0xce8c9b(0x26f)],_0x2a9954['location'][_0xce8c9b(0x276)]):undefined,'started_at':_0x5e4339[_0xce8c9b(0x2a4)],'finished_at':_0x5e4339[_0xce8c9b(0x299)],'framework':FRAMEWORKS[_0xce8c9b(0x298)]};if(_0x1b24ed['Bbumq'](_0x1d4cef,_0x1b24ed[_0xce8c9b(0x249)])){const {steps:_0x208e65,logs:_0x3e737f}=this['getStepsAndLogs'](_0x50d7d2[_0xce8c9b(0x29a)],_0x5e4339[_0xce8c9b(0x22a)],_0x1b24ed[_0xce8c9b(0x1c2)]);_0x3e737f&&_0x1b24ed['RExHK'](_0x3e737f[_0xce8c9b(0x21f)],0x0)&&await MyReporter[_0xce8c9b(0x229)](_0x3e737f);const _0x467192={};_0x467192[_0xce8c9b(0x29a)]=_0x208e65,_0x11711f[_0xce8c9b(0x273)]=_0x467192;if(_0x50d7d2[_0xce8c9b(0x1c4)]){_0x11711f[_0xce8c9b(0x269)]=_0x1b24ed[_0xce8c9b(0x1e4)],_0x11711f[_0xce8c9b(0x1d9)]=_0x1b24ed[_0xce8c9b(0x211)](removeAnsiColors,_0x50d7d2[_0xce8c9b(0x1c4)]['message']),_0x11711f[_0xce8c9b(0x1db)]=_0x1b24ed[_0xce8c9b(0x211)](getFailureType,_0x50d7d2[_0xce8c9b(0x1c4)][_0xce8c9b(0x24b)]);const _0x4c93ff=_0x1b24ed[_0xce8c9b(0x23f)](failureData,_0x50d7d2['error'],_0x1b24ed[_0xce8c9b(0x297)]);if(_0x4c93ff&&_0x1b24ed['pLZUa'](_0x4c93ff[_0xce8c9b(0x21f)],0x0)){const _0x3fa751={};_0x3fa751[_0xce8c9b(0x234)]=[_0x11711f[_0xce8c9b(0x1d9)]],_0x3fa751['expanded']=[],_0x4c93ff[_0xce8c9b(0x1ad)](_0x3fa751);}_0x11711f[_0xce8c9b(0x23d)]=_0x4c93ff;}else _0x11711f[_0xce8c9b(0x269)]=_0x1b24ed[_0xce8c9b(0x274)];}const _0x3e1582={};_0x3e1582[_0xce8c9b(0x21c)]=_0x1d4cef,_0x3e1582[_0xce8c9b(0x2a0)]=_0x11711f;const _0x1b7376=_0x3e1582;await SessionHandler[_0xce8c9b(0x29f)](_0x1b7376);}['getStepsAndLogs'](_0x417ac5,_0x42f1dd,_0x4a0640){const _0x4b70aa=a41_0x319577,_0x501aa7={'cdwIz':function(_0x416c34,_0x3b000a){return _0x416c34===_0x3b000a;},'osWAE':_0x4b70aa(0x216),'ZKvXs':function(_0x5b96c9,_0x153d02){return _0x5b96c9===_0x153d02;},'KiHTX':'After\x20Hooks','pbftX':'Before\x20Hooks','aPGIr':function(_0x403113,_0x457d07){return _0x403113===_0x457d07;},'wXnNj':'test','YNhRN':_0x4b70aa(0x2ab),'smkYq':'hook_run_uuid','eUvPJ':_0x4b70aa(0x28e),'pxayR':_0x4b70aa(0x296),'VGVnw':'passed','HnwVK':function(_0x3bd8fa,_0x37c66b){return _0x3bd8fa(_0x37c66b);},'qIHix':function(_0x1b965f,_0x43b437){return _0x1b965f(_0x43b437);},'cmNbm':function(_0xafdd92){return _0xafdd92();},'QXRTp':function(_0x34eeb6,_0x553a1e){return _0x34eeb6(_0x553a1e);},'HbqEo':function(_0x1b41ae,_0x16cc6f,_0x40a6e3){return _0x1b41ae(_0x16cc6f,_0x40a6e3);},'yJUqC':function(_0x303b2f,_0x16b582,_0x2972ed){return _0x303b2f(_0x16b582,_0x2972ed);}},_0x3169e3=[],_0x1f0bc5=[],_0x2a3c01=_0x417ac5[_0x4b70aa(0x235)](_0x282548=>{const _0x30894e=_0x4b70aa;if(_0x501aa7['cdwIz'](_0x282548['category'],_0x501aa7['osWAE'])&&(_0x501aa7[_0x30894e(0x1f8)](_0x282548[_0x30894e(0x224)],_0x501aa7[_0x30894e(0x29d)])||_0x501aa7['ZKvXs'](_0x282548[_0x30894e(0x224)],_0x501aa7[_0x30894e(0x226)])))return![];return!![];}),_0x59465b=(_0x18fd27,_0x48742b=![])=>{const _0x5cc75b=_0x4b70aa;if(_0x501aa7[_0x5cc75b(0x283)](_0x18fd27[_0x5cc75b(0x29a)][_0x5cc75b(0x21f)],0x0)){const _0x328d99=_0x501aa7[_0x5cc75b(0x223)](_0x4a0640,_0x501aa7[_0x5cc75b(0x278)])?_0x501aa7[_0x5cc75b(0x1d2)]:_0x501aa7[_0x5cc75b(0x1ce)];_0x1f0bc5[_0x5cc75b(0x1ad)]({'kind':_0x501aa7['eUvPJ'],[_0x328d99]:_0x42f1dd,'message':_0x18fd27['title'],'timestamp':_0x18fd27[_0x5cc75b(0x1c5)][_0x5cc75b(0x282)](),'level':_0x18fd27['error']?_0x501aa7[_0x5cc75b(0x275)]:_0x501aa7[_0x5cc75b(0x28a)],'duration':_0x18fd27[_0x5cc75b(0x1ba)],'failure':_0x18fd27[_0x5cc75b(0x1c4)]&&_0x18fd27[_0x5cc75b(0x1c4)][_0x5cc75b(0x24b)]&&_0x501aa7['HnwVK'](removeAnsiColors,_0x18fd27['error'][_0x5cc75b(0x24b)]),'failure_type':_0x501aa7[_0x5cc75b(0x27e)](getFailureType,_0x18fd27['error']&&_0x18fd27['error'][_0x5cc75b(0x24b)])});}else{!_0x48742b&&_0x3169e3[_0x5cc75b(0x1ad)]({'id':_0x501aa7[_0x5cc75b(0x255)](uuidv4),'text':_0x18fd27[_0x5cc75b(0x224)],'keyword':undefined,'started_at':_0x18fd27[_0x5cc75b(0x1c5)]['toISOString'](),'duration':_0x18fd27[_0x5cc75b(0x1ba)],'result':_0x18fd27['error']?_0x501aa7[_0x5cc75b(0x275)]:_0x501aa7[_0x5cc75b(0x28a)],'failure':_0x18fd27[_0x5cc75b(0x1c4)]&&_0x18fd27[_0x5cc75b(0x1c4)][_0x5cc75b(0x24b)]&&_0x501aa7['HnwVK'](removeAnsiColors,_0x18fd27[_0x5cc75b(0x1c4)]['message']),'failure_type':_0x501aa7[_0x5cc75b(0x21e)](getFailureType,_0x18fd27['error']&&_0x18fd27[_0x5cc75b(0x1c4)][_0x5cc75b(0x24b)])});for(const _0x2d2bf5 of _0x18fd27['steps']){_0x501aa7[_0x5cc75b(0x26c)](_0x59465b,_0x2d2bf5,!![]);}}};for(const _0x16ff9e of _0x2a3c01){_0x501aa7[_0x4b70aa(0x2a2)](_0x59465b,_0x16ff9e,![]);}const _0x1cf93d={};return _0x1cf93d[_0x4b70aa(0x29a)]=_0x3169e3,_0x1cf93d['logs']=_0x1f0bc5,_0x1cf93d;}async['sendTestRunEvent'](_0x5d4580,_0x2e2057,_0x3da7da){const _0x39e6df=a41_0x319577,_0x338a92={'dHyFo':function(_0x3b9ffa,_0x93f5ef){return _0x3b9ffa(_0x93f5ef);},'kDoab':_0x39e6df(0x28c),'XwxHA':_0x39e6df(0x1ee),'atXFk':_0x39e6df(0x29b),'HKpMw':'javascript','GLIYp':'pending','mSHbs':function(_0x43ea74,_0x145f2c,_0x5a0c1f,_0x340a50,_0x447b01){return _0x43ea74(_0x145f2c,_0x5a0c1f,_0x340a50,_0x447b01);},'coqzc':function(_0x34a91d,_0x21c514){return _0x34a91d>_0x21c514;},'czayS':function(_0x8e4cc9,_0x31cafa){return _0x8e4cc9-_0x31cafa;},'zlGGh':function(_0x2b222e,_0x5a638b){return _0x2b222e===_0x5a638b;},'BRRVr':'TestRunFinished','adGIA':function(_0x2ee957,_0x527aaf){return _0x2ee957===_0x527aaf;},'jGalt':function(_0x583cf9,_0x4d442b){return _0x583cf9===_0x4d442b;},'HQpkz':_0x39e6df(0x1a9),'baWNU':_0x39e6df(0x27b),'ppaua':_0x39e6df(0x296),'GMmHU':function(_0x2ded39,_0x4c963f){return _0x2ded39===_0x4c963f;},'tujXg':_0x39e6df(0x1d3),'RSmLr':_0x39e6df(0x1bd),'TifGr':function(_0x3831f9,_0x5638eb,_0x64ac5c){return _0x3831f9(_0x5638eb,_0x64ac5c);},'MvVPm':function(_0x10a0c4,_0x13508b){return _0x10a0c4===_0x13508b;},'XxVcv':function(_0x5ccd10,_0x2b9bc5){return _0x5ccd10>_0x2b9bc5;},'OEmnB':'path','bxVRe':function(_0x2c3b27,_0x1d19ba){return _0x2c3b27(_0x1d19ba);},'mkvdL':_0x39e6df(0x259),'AAxwr':_0x39e6df(0x27f),'KIfqd':function(_0x1d401f,_0x2f926d){return _0x1d401f(_0x2f926d);},'FSgtw':function(_0x27db9d,_0x28a892){return _0x27db9d!==_0x28a892;}},_0x454c8d=this[_0x39e6df(0x1c3)](_0x5d4580),_0x4d1f34=this['getScope'](_0x5d4580),_0x372f74=this['_tests'][_0x454c8d],_0x4755a4=path[_0x39e6df(0x1cc)](process[_0x39e6df(0x264)](),_0x5d4580[_0x39e6df(0x250)]['file']);await this[_0x39e6df(0x2a1)]();const _0x92a60a={'uuid':_0x372f74['uuid'],'type':_0x338a92[_0x39e6df(0x25f)],'name':_0x5d4580['title'],'body':{'lang':_0x338a92[_0x39e6df(0x1a8)],'code':_0x5d4580['fn'][_0x39e6df(0x27c)]()},'scope':_0x4d1f34,'scopes':this['getHierarchy'](_0x5d4580),'identifier':_0x454c8d,'file_name':_0x4755a4,'location':_0x4755a4,'result':_0x338a92[_0x39e6df(0x257)],'duration_in_ms':_0x3da7da&&_0x3da7da[_0x39e6df(0x1ba)]?_0x3da7da[_0x39e6df(0x1ba)]:null,'vc_filepath':this[_0x39e6df(0x26f)]&&_0x5d4580['location']['file']?path[_0x39e6df(0x1cc)](this['_gitConfigPath'],_0x5d4580[_0x39e6df(0x250)]['file']):undefined,'started_at':_0x372f74[_0x39e6df(0x2a4)],'finished_at':_0x372f74['finishedAt'],'framework':FRAMEWORKS[_0x39e6df(0x298)],'customRerunParam':{'rerun_name':this[_0x39e6df(0x20e)](_0x5d4580)},'tags':_0x338a92[_0x39e6df(0x1c7)](getTestTags,_0x5d4580)};_0x338a92[_0x39e6df(0x1b7)](appendTesthubParams,_0x92a60a,_0x2e2057,_0x5d4580,FRAMEWORKS[_0x39e6df(0x298)]);_0x3da7da&&_0x338a92[_0x39e6df(0x243)](_0x3da7da[_0x39e6df(0x290)],0x0)&&(_0x92a60a[_0x39e6df(0x254)]=TestDetails[_0x39e6df(0x202)](this[_0x39e6df(0x218)](_0x5d4580,_0x338a92[_0x39e6df(0x1f0)](_0x3da7da[_0x39e6df(0x290)],0x1))));if(_0x338a92['zlGGh'](_0x2e2057,_0x338a92[_0x39e6df(0x284)])){_0x92a60a[_0x39e6df(0x269)]=_0x3da7da[_0x39e6df(0x29c)];if(_0x338a92[_0x39e6df(0x21a)](_0x3da7da[_0x39e6df(0x29c)],_0x5d4580['expectedStatus']))_0x92a60a['result']=_0x338a92[_0x39e6df(0x252)](_0x3da7da['status'],_0x338a92[_0x39e6df(0x25a)])?_0x338a92[_0x39e6df(0x25a)]:_0x338a92['baWNU'];else{(_0x338a92[_0x39e6df(0x1eb)](_0x92a60a['result'],_0x338a92[_0x39e6df(0x279)])||_0x338a92['zlGGh'](_0x92a60a[_0x39e6df(0x269)],_0x338a92[_0x39e6df(0x1de)])||_0x338a92[_0x39e6df(0x212)](_0x92a60a[_0x39e6df(0x269)],_0x338a92[_0x39e6df(0x246)]))&&(_0x92a60a['result']=_0x338a92[_0x39e6df(0x1de)]);if(_0x338a92[_0x39e6df(0x21a)](_0x3da7da[_0x39e6df(0x29c)],_0x338a92[_0x39e6df(0x279)])&&_0x338a92[_0x39e6df(0x212)](_0x5d4580['expectedStatus'],_0x338a92[_0x39e6df(0x1de)])){const _0xe2def4={};_0xe2def4['message']=_0x338a92[_0x39e6df(0x217)],_0xe2def4['stack']=_0x338a92[_0x39e6df(0x217)],_0x3da7da[_0x39e6df(0x1c4)]=_0xe2def4,_0x3da7da[_0x39e6df(0x248)]=[_0x3da7da[_0x39e6df(0x1c4)]];}}const _0x182352=this['getTestRunIdentifier'](_0x5d4580,_0x3da7da[_0x39e6df(0x290)]);_0x92a60a['hooks']=this[_0x39e6df(0x23c)][_0x182352];const {steps:_0x18ae18,logs:_0x31d12a}=this[_0x39e6df(0x1fd)](_0x3da7da[_0x39e6df(0x29a)],_0x372f74[_0x39e6df(0x22a)],_0x338a92[_0x39e6df(0x25f)]);await MyReporter[_0x39e6df(0x229)](_0x31d12a);const _0x2cacf2={};_0x2cacf2[_0x39e6df(0x29a)]=_0x18ae18,_0x92a60a[_0x39e6df(0x273)]=_0x2cacf2;if(_0x3da7da[_0x39e6df(0x1c4)]){_0x92a60a[_0x39e6df(0x1d9)]=_0x338a92[_0x39e6df(0x1c7)](removeAnsiColors,_0x3da7da['error']['message']),_0x92a60a[_0x39e6df(0x1db)]=_0x338a92['dHyFo'](getFailureType,_0x3da7da[_0x39e6df(0x1c4)][_0x39e6df(0x24b)]);const _0x3fa913={};_0x3fa913[_0x39e6df(0x2ab)]=_0x372f74['uuid'];const {failureData:_0x16e7d5,logs:_0x15786a}=_0x338a92[_0x39e6df(0x1e6)](getFailureData,_0x3da7da[_0x39e6df(0x248)],_0x3fa913);if(_0x16e7d5&&_0x338a92[_0x39e6df(0x26b)](_0x16e7d5[_0x39e6df(0x21f)],0x0)){const _0x3fa830={};_0x3fa830[_0x39e6df(0x234)]=[_0x92a60a['failure_reason']],_0x3fa830[_0x39e6df(0x201)]=[],_0x16e7d5[_0x39e6df(0x1ad)](_0x3fa830);}_0x92a60a[_0x39e6df(0x23d)]=_0x16e7d5,_0x15786a&&_0x338a92[_0x39e6df(0x1a6)](_0x15786a['length'],0x0)&&await MyReporter[_0x39e6df(0x229)](_0x15786a);}}let _0xf013f6=_0x338a92[_0x39e6df(0x1e6)](findNestedKey,_0x3da7da,_0x338a92['OEmnB']);if(_0xf013f6&&_0x338a92[_0x39e6df(0x267)](validateFilePath,_0xf013f6))_0x338a92[_0x39e6df(0x267)](debug,_0x39e6df(0x1bf)+_0x372f74[_0x39e6df(0x22a)]+_0x39e6df(0x1d7)+_0xf013f6);else{const _0x4d6021=path[_0x39e6df(0x2a8)](helper['homedir'](),_0x338a92['mkvdL']);!fs[_0x39e6df(0x2ac)](_0x4d6021)&&fs[_0x39e6df(0x289)](_0x4d6021),fs[_0x39e6df(0x2ac)](path['join'](_0x4d6021,_0x39e6df(0x24d)+_0x372f74[_0x39e6df(0x22a)]+_0x39e6df(0x1fc)))&&(_0xf013f6=fs[_0x39e6df(0x2a6)](path[_0x39e6df(0x2a8)](_0x4d6021,_0x39e6df(0x24d)+_0x372f74['uuid']+_0x39e6df(0x1fc)),_0x338a92[_0x39e6df(0x209)]),_0x338a92[_0x39e6df(0x251)](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x372f74[_0x39e6df(0x22a)]+_0x39e6df(0x1d7)+_0xf013f6));}const _0x27ca92={};_0x27ca92[_0x39e6df(0x21c)]=_0x2e2057,_0x27ca92[_0x39e6df(0x1dd)]=_0x92a60a;const _0x2cf72a=_0x27ca92;_0xf013f6&&_0x338a92['FSgtw'](_0xf013f6,'')&&_0x338a92[_0x39e6df(0x252)](_0x2e2057,_0x338a92['BRRVr'])&&(!_0x2cf72a[_0x39e6df(0x1d0)]&&(_0x2cf72a[_0x39e6df(0x1d0)]=[]),_0xf013f6['split']('\x0a')[_0x39e6df(0x207)](_0x267be9=>{const _0x38517d=_0x39e6df;_0x267be9&&_0x338a92[_0x38517d(0x1c7)](validateFilePath,_0x267be9)&&_0x2cf72a[_0x38517d(0x1d0)][_0x38517d(0x1ad)]({'kind':_0x338a92[_0x38517d(0x1c1)],'timestamp':new Date()[_0x38517d(0x282)](),'test_run_uuid':_0x372f74['uuid'],'file_name':path[_0x38517d(0x21d)](_0x267be9),'file_size':fs[_0x38517d(0x291)](_0x267be9)['size'],'attachment_type':_0x338a92[_0x38517d(0x1c6)]});})),await SessionHandler[_0x39e6df(0x29f)](_0x2cf72a);}[a41_0x319577(0x20e)](_0x53cfbb){const _0x570901=a41_0x319577,_0x185b8c={};_0x185b8c[_0x570901(0x210)]=function(_0x3decc1,_0x3999f2){return _0x3decc1===_0x3999f2;},_0x185b8c[_0x570901(0x22e)]=function(_0x1edc2a,_0x1304da){return _0x1edc2a>_0x1304da;},_0x185b8c['wTEKf']=function(_0x32f5a4,_0x511286){return _0x32f5a4+_0x511286;},_0x185b8c[_0x570901(0x1be)]=function(_0x570fbc,_0x5e8bc4){return _0x570fbc===_0x5e8bc4;};const _0x2ea3e5=_0x185b8c,_0x35f7ca=_0x53cfbb['titlePath']()[_0x570901(0x1aa)](_0x5e9728=>{const _0x4b2de7=_0x570901;if(_0x53cfbb[_0x4b2de7(0x1ea)]&&_0x2ea3e5['MEoyA'](_0x5e9728,_0x53cfbb[_0x4b2de7(0x1ea)][_0x4b2de7(0x224)])&&_0x53cfbb['parent'][_0x4b2de7(0x204)]&&_0x2ea3e5[_0x4b2de7(0x22e)](_0x53cfbb[_0x4b2de7(0x1ea)]['_tags'][_0x4b2de7(0x21f)],0x0))return _0x2ea3e5['wTEKf'](_0x2ea3e5[_0x4b2de7(0x1dc)](_0x5e9728,'\x20'),_0x53cfbb['parent'][_0x4b2de7(0x204)]['join']('\x20'));if(_0x2ea3e5['StgLV'](_0x5e9728,_0x53cfbb[_0x4b2de7(0x224)])&&_0x53cfbb[_0x4b2de7(0x204)]&&_0x2ea3e5[_0x4b2de7(0x22e)](_0x53cfbb[_0x4b2de7(0x204)][_0x4b2de7(0x21f)],0x0))return _0x2ea3e5[_0x4b2de7(0x1dc)](_0x2ea3e5['wTEKf'](_0x5e9728,'\x20'),_0x53cfbb['_tags']['join']('\x20'));return _0x5e9728;})[_0x570901(0x2a8)]('\x20');return _0x35f7ca;}static async[a41_0x319577(0x225)](_0xf2b41c,_0x2799b9){const _0x505e68=a41_0x319577,_0x5eb075={'GOZBh':function(_0x2afd2f,_0x180e00){return _0x2afd2f(_0x180e00);},'ImwJE':'CBTSessionCreated'},_0x5a7cfa={'uuid':TestDetails[_0x505e68(0x202)](_0xf2b41c),'integrations':_0x2799b9},_0x410aa5={};_0x410aa5[_0x505e68(0x260)]=null,_0x5eb075[_0x505e68(0x1b9)](debug,_0x505e68(0x22c)+_0xf2b41c+',\x20'+util[_0x505e68(0x20b)](_0x2799b9,_0x410aa5));const _0x3534fd={};_0x3534fd[_0x505e68(0x21c)]=_0x5eb075[_0x505e68(0x1d4)],_0x3534fd[_0x505e68(0x1dd)]=_0x5a7cfa,await SessionHandler['uploadEventData'](_0x3534fd);}async[a41_0x319577(0x2a1)](){const _0x19414a=a41_0x319577,_0x5e65ec={'OjxAG':function(_0xcc7218){return _0xcc7218();}};if(this['_gitConfigured'])return;const _0x47940c=await _0x5e65ec['OjxAG'](getGitMetaData);_0x47940c&&(this[_0x19414a(0x26f)]=_0x47940c['root']),this[_0x19414a(0x24e)]=!![];}[a41_0x319577(0x1a7)](_0x2b9b18){const _0x2ee509=a41_0x319577,_0x5419a3={};_0x5419a3[_0x2ee509(0x27d)]=function(_0xcb901,_0x4c1a74){return _0xcb901!==_0x4c1a74;};const _0x21b23d=_0x5419a3,_0x3d5b09=[];if(_0x2b9b18&&_0x2b9b18[_0x2ee509(0x1ea)]){let _0xf6121=_0x2b9b18[_0x2ee509(0x1ea)];while(_0xf6121&&_0x21b23d[_0x2ee509(0x27d)](_0xf6121['title'],'')){_0x3d5b09['push'](_0xf6121['title']),_0xf6121=_0xf6121[_0x2ee509(0x1ea)];}}return _0x3d5b09[_0x2ee509(0x28d)]()[_0x2ee509(0x247)](0x0,0x2),_0x3d5b09;}[a41_0x319577(0x1b1)](_0x16aadb){const _0x47d1f8=a41_0x319577,_0x58a25f={};_0x58a25f['wmdLE']=function(_0x31805a,_0x12fddd){return _0x31805a!==_0x12fddd;},_0x58a25f[_0x47d1f8(0x20f)]=_0x47d1f8(0x216),_0x58a25f[_0x47d1f8(0x245)]=function(_0x44e48c,_0x44f840){return _0x44e48c===_0x44f840;},_0x58a25f['czdxv']='beforeEach\x20hook',_0x58a25f['jKhQY']=_0x47d1f8(0x25c),_0x58a25f['udDEo']=_0x47d1f8(0x262),_0x58a25f[_0x47d1f8(0x215)]=_0x47d1f8(0x26e);const _0x2181e6=_0x58a25f;if(_0x2181e6['wmdLE'](_0x16aadb[_0x47d1f8(0x266)],_0x2181e6['eQNWv']))return![];if(_0x2181e6['yWTTU']([_0x2181e6[_0x47d1f8(0x1cd)],_0x2181e6[_0x47d1f8(0x1cb)],_0x2181e6[_0x47d1f8(0x1b8)],_0x2181e6['rXLiz']][_0x47d1f8(0x268)](_0x16aadb[_0x47d1f8(0x224)]),-0x1))return![];return!![];}[a41_0x319577(0x1e2)](_0x18f55a,_0x488a21){const _0x5b03d6=a41_0x319577,_0x68cde3=_0x488a21[_0x5b03d6(0x1ab)];if(_0x68cde3)return _0x68cde3;return _0x488a21[_0x5b03d6(0x224)]+_0x5b03d6(0x22f)+this[_0x5b03d6(0x1c3)](_0x18f55a);}['setStepIdentifier'](_0x1ef187,_0x5551f3){const _0x5bc0d8=a41_0x319577,_0x4bd0b7={'ErRxJ':function(_0xe1dfe7){return _0xe1dfe7();}};let _0x3f4e3e=_0x5551f3[_0x5bc0d8(0x224)]+_0x5bc0d8(0x22f)+this[_0x5bc0d8(0x1c3)](_0x1ef187);return this[_0x5bc0d8(0x265)][_0x3f4e3e]&&(_0x3f4e3e=_0x3f4e3e+_0x5bc0d8(0x1e8)+_0x4bd0b7['ErRxJ'](uuidv4)),_0x5551f3[_0x5bc0d8(0x1ab)]=_0x3f4e3e,_0x3f4e3e;}[a41_0x319577(0x1c3)]=_0x411c14=>{const _0x2a9b0d=a41_0x319577,_0x19ef3c={};_0x19ef3c[_0x2a9b0d(0x22b)]=function(_0x5eba94,_0x482975){return _0x5eba94+_0x482975;},_0x19ef3c[_0x2a9b0d(0x219)]=function(_0x3a75d5,_0x2e50f8){return _0x3a75d5+_0x2e50f8;};const _0x1ccac5=_0x19ef3c;return _0x1ccac5[_0x2a9b0d(0x22b)](_0x1ccac5[_0x2a9b0d(0x219)](_0x411c14['_projectId'],'-'),_0x411c14['id']);};['getTestRunIdentifier']=(_0x261b63,_0x36a510)=>{const _0xcb5e41=a41_0x319577,_0x5b1f4d={};_0x5b1f4d[_0xcb5e41(0x1f5)]=function(_0x1cb26d,_0x2de731){return _0x1cb26d+_0x2de731;};const _0x34e6b5=_0x5b1f4d;return _0x34e6b5[_0xcb5e41(0x1f5)](_0x34e6b5[_0xcb5e41(0x1f5)](this[_0xcb5e41(0x1c3)](_0x261b63),'-'),_0x36a510);};[a41_0x319577(0x20a)]=_0x1b6f52=>{const _0x5a83e1=a41_0x319577,_0x264fd3={};_0x264fd3['csQrs']=_0x5a83e1(0x256),_0x264fd3[_0x5a83e1(0x23b)]='BEFORE_EACH',_0x264fd3[_0x5a83e1(0x242)]=_0x5a83e1(0x25c),_0x264fd3[_0x5a83e1(0x1f7)]=_0x5a83e1(0x1af),_0x264fd3[_0x5a83e1(0x238)]='afterEach\x20hook',_0x264fd3[_0x5a83e1(0x240)]=_0x5a83e1(0x277),_0x264fd3[_0x5a83e1(0x230)]=_0x5a83e1(0x262),_0x264fd3['ASCpw']=_0x5a83e1(0x1bc),_0x264fd3[_0x5a83e1(0x1ec)]=_0x5a83e1(0x286);const _0x2a9c7d=_0x264fd3;if(_0x1b6f52[_0x5a83e1(0x1ed)](_0x2a9c7d[_0x5a83e1(0x280)]))return _0x2a9c7d['IZmXX'];else{if(_0x1b6f52['startsWith'](_0x2a9c7d[_0x5a83e1(0x242)]))return _0x2a9c7d['oBWaR'];else{if(_0x1b6f52[_0x5a83e1(0x1ed)](_0x2a9c7d[_0x5a83e1(0x238)]))return _0x2a9c7d['eFoZB'];else{if(_0x1b6f52[_0x5a83e1(0x1ed)](_0x2a9c7d[_0x5a83e1(0x230)]))return _0x2a9c7d[_0x5a83e1(0x263)];}}}return _0x2a9c7d['NkuxS'];};[a41_0x319577(0x1da)]=_0x417136=>{const _0x1345aa=a41_0x319577,_0x238a09={};_0x238a09[_0x1345aa(0x1bb)]=function(_0x4307a1,_0x18ebde){return _0x4307a1===_0x18ebde;},_0x238a09[_0x1345aa(0x24a)]=_0x1345aa(0x1fa);const _0x4769a0=_0x238a09;let _0x4e45a4=_0x417136[_0x1345aa(0x1ea)];return _0x4769a0[_0x1345aa(0x1bb)](typeof _0x417136[_0x1345aa(0x1ea)],_0x4769a0['fpOBe'])&&(_0x4e45a4=_0x4e45a4[_0x1345aa(0x224)]),_0x4e45a4+'\x20-\x20'+_0x417136['title'];};[a41_0x319577(0x208)](){return![];}}module[a41_0x319577(0x1ca)]=o11yClassErrorHandler(MyReporter,[a41_0x319577(0x237),a41_0x319577(0x1b2),'onTestBegin',a41_0x319577(0x214),'onStepBegin','onStepEnd',a41_0x319577(0x225)],a41_0x319577(0x295));
1
+ const a41_0x59b999=a41_0x4c30;function a41_0x4c30(_0x2c2818,_0x557bd7){const _0x110314=a41_0x1103();return a41_0x4c30=function(_0x4c30f9,_0x54fc95){_0x4c30f9=_0x4c30f9-0xcd;let _0x836d7d=_0x110314[_0x4c30f9];return _0x836d7d;},a41_0x4c30(_0x2c2818,_0x557bd7);}(function(_0x53541e,_0x39766a){const _0x6f1463=a41_0x4c30,_0x40677c=_0x53541e();while(!![]){try{const _0x357aea=-parseInt(_0x6f1463(0x15c))/0x1*(-parseInt(_0x6f1463(0x12b))/0x2)+-parseInt(_0x6f1463(0x19b))/0x3*(parseInt(_0x6f1463(0x11a))/0x4)+-parseInt(_0x6f1463(0x146))/0x5+-parseInt(_0x6f1463(0x111))/0x6*(-parseInt(_0x6f1463(0x176))/0x7)+-parseInt(_0x6f1463(0xee))/0x8+parseInt(_0x6f1463(0x104))/0x9*(-parseInt(_0x6f1463(0x123))/0xa)+parseInt(_0x6f1463(0x1bf))/0xb;if(_0x357aea===_0x39766a)break;else _0x40677c['push'](_0x40677c['shift']());}catch(_0x2be567){_0x40677c['push'](_0x40677c['shift']());}}}(a41_0x1103,0xd1046));const RequestQueueHandler=require(a41_0x59b999(0x197)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require('./pwUtils'),{v4:uuidv4}=require(a41_0x59b999(0x1cb)),path=require(a41_0x59b999(0x1c6)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a41_0x59b999(0x18d)),{getGitMetaData,setLogLevel}=require(a41_0x59b999(0xd0)),TestDetails=require('./test-details'),fs=require('fs'),util=require(a41_0x59b999(0xe5)),{o11yClassErrorHandler}=require(a41_0x59b999(0x188)),PerformanceTester=require(a41_0x59b999(0xd9)),{FRAMEWORKS}=require(a41_0x59b999(0x1a7)),SessionHandler=require(a41_0x59b999(0x128)),{appendTesthubParams}=require('../../../helpers/testhub/utils'),TestHubHandler=require(a41_0x59b999(0x17c)),helper=require(a41_0x59b999(0xd0));class MyReporter{constructor(_0x40a107){const _0x3a5cbd=a41_0x59b999,_0x5f3a05={'bbZjJ':_0x3a5cbd(0x12c),'orpIZ':function(_0xf160e7,_0x467e44,_0x58b800,_0x1dceba){return _0xf160e7(_0x467e44,_0x58b800,_0x1dceba);},'zFHsB':_0x3a5cbd(0xf8)},_0x332057=_0x5f3a05['bbZjJ']['split']('|');let _0x2bf58b=0x0;while(!![]){switch(_0x332057[_0x2bf58b++]){case'0':const _0xc415df={};_0xc415df[_0x3a5cbd(0x16f)]=process['env'][_0x3a5cbd(0x17b)],_0x5f3a05['orpIZ'](setLogLevel,_0xc415df,new Map(),new Map());continue;case'1':this[_0x3a5cbd(0x143)]={};continue;case'2':process[_0x3a5cbd(0x19e)][_0x3a5cbd(0x10b)]&&(PerformanceTester['startMonitoring'](_0x5f3a05[_0x3a5cbd(0x106)]),process['env'][_0x3a5cbd(0x1c0)]=new Date()[_0x3a5cbd(0x164)]());continue;case'3':this[_0x3a5cbd(0x115)]=null;continue;case'4':this['_gitConfigured']=![];continue;case'5':this[_0x3a5cbd(0x13e)]=_0x40a107;continue;case'6':this[_0x3a5cbd(0x192)]={};continue;}break;}}async[a41_0x59b999(0x107)](){const _0x19629c=a41_0x59b999;TestDetails['setup'](),await this[_0x19629c(0x121)]();}async[a41_0x59b999(0x14d)](_0x4bc691,_0x3bcb4b){const _0x42271d=a41_0x59b999,_0x1f4646={'qfsty':function(_0x3c4a37,_0x510dbf){return _0x3c4a37(_0x510dbf);},'FrRsv':_0x42271d(0xf0)},_0x3f7638=this[_0x42271d(0x181)](_0x4bc691),_0x101012=TestDetails[_0x42271d(0x141)](this['getTestRunIdentifier'](_0x4bc691,_0x3bcb4b['retry']));process['env'][_0x42271d(0x174)]=_0x101012;const _0x5e94d7={};_0x5e94d7['uuid']=_0x101012,_0x5e94d7['startedAt']=_0x3bcb4b['startTime'],this[_0x42271d(0x192)][_0x3f7638]=_0x5e94d7,_0x1f4646[_0x42271d(0x14b)](trace,_0x42271d(0x15b)+_0x3f7638),await this[_0x42271d(0x139)](_0x4bc691,_0x1f4646['FrRsv'],_0x3bcb4b);}async[a41_0x59b999(0x180)](_0x44a9cb,_0x2d8bde,_0x4f1473){const _0x124d2e=a41_0x59b999,_0x1e7029={'AohDJ':function(_0x246bc9,_0x14a281){return _0x246bc9(_0x14a281);},'GJmHz':'HookRunStarted'};if(!this['needToReportStep'](_0x4f1473,_0x44a9cb))return;const _0x1fe8fc=this[_0x124d2e(0x1cd)](_0x44a9cb,_0x4f1473);this[_0x124d2e(0x192)][_0x1fe8fc]={'uuid':TestDetails[_0x124d2e(0x141)](_0x1fe8fc),'startedAt':_0x4f1473['startTime'][_0x124d2e(0x164)]()};const _0x8328d6=this['getTestRunIdentifier'](_0x44a9cb,_0x2d8bde[_0x124d2e(0x1ce)]);!this['_testHooksMap'][_0x8328d6]&&(this[_0x124d2e(0x143)][_0x8328d6]=[]),this[_0x124d2e(0x143)][_0x8328d6][_0x124d2e(0x1d2)](this[_0x124d2e(0x192)][_0x1fe8fc][_0x124d2e(0x1cb)]),_0x1e7029[_0x124d2e(0xf6)](trace,_0x124d2e(0x1a6)+_0x1fe8fc+_0x124d2e(0x1a5)+_0x8328d6),await this[_0x124d2e(0x12e)](_0x44a9cb,_0x4f1473,_0x1e7029[_0x124d2e(0xdd)],_0x2d8bde);}async['onStepEnd'](_0x507be4,_0x2eed78,_0x316112){const _0x34f9c0=a41_0x59b999,_0x4abb73={'OwLpM':function(_0x40f14b,_0x5dd96c){return _0x40f14b+_0x5dd96c;},'oTtxH':function(_0x4e3054,_0x1b9fbb){return _0x4e3054(_0x1b9fbb);},'gxnzf':_0x34f9c0(0x142)};if(!this['needToReportStep'](_0x316112,_0x507be4))return;const _0x177cbc=this[_0x34f9c0(0xd7)](_0x507be4,_0x316112);this[_0x34f9c0(0x192)][_0x177cbc]={...this[_0x34f9c0(0x192)][_0x177cbc]||{},'finishedAt':new Date(_0x4abb73[_0x34f9c0(0x18a)](_0x316112[_0x34f9c0(0x157)]['getTime'](),_0x316112['duration']))},_0x4abb73['oTtxH'](trace,_0x34f9c0(0x1b3)+_0x177cbc+_0x34f9c0(0x1b9)),await this[_0x34f9c0(0x12e)](_0x507be4,_0x316112,_0x4abb73[_0x34f9c0(0x166)],_0x2eed78);}async['onTestEnd'](_0x4ff29c,_0x4d38cc){const _0x6a2902=a41_0x59b999,_0x2096fd={'Hivno':function(_0x26ccb9,_0x404fe3){return _0x26ccb9===_0x404fe3;},'ztMvq':_0x6a2902(0xf3),'KkGna':'TEST_SCREENSHOT','YPfFS':_0x6a2902(0xfc),'VaJRa':function(_0x197d23,_0x37eeaa){return _0x197d23(_0x37eeaa);},'bXppL':'TestRunFinished','lEXoN':function(_0x55f0ab,_0x15faf2){return _0x55f0ab(_0x15faf2);},'TIEHI':'Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','DBZiJ':function(_0x2dfff4,_0x36a395,_0x24cb85){return _0x2dfff4(_0x36a395,_0x24cb85);},'bOSyz':_0x6a2902(0x187),'dmYqh':function(_0x5c07cb,_0x449737){return _0x5c07cb>_0x449737;}},_0x4b1b9c=this['getTestIdentifier'](_0x4ff29c),_0x4b0caa=TestDetails[_0x6a2902(0x141)](this['getTestRunIdentifier'](_0x4ff29c,_0x4d38cc['retry']));this[_0x6a2902(0x192)][_0x4b1b9c]={...this['_tests'][_0x4b1b9c]||{},'finishedAt':new Date()['toISOString']()},_0x2096fd['VaJRa'](trace,_0x6a2902(0x122)+_0x4b1b9c);try{await this[_0x6a2902(0x139)](_0x4ff29c,_0x2096fd[_0x6a2902(0x15e)],_0x4d38cc);}catch(_0x1023a7){_0x2096fd[_0x6a2902(0x11c)](debug,util[_0x6a2902(0x129)](_0x2096fd[_0x6a2902(0x167)],_0x1023a7[_0x6a2902(0x124)]()));}try{_0x2096fd[_0x6a2902(0xe3)](debug,_0x6a2902(0x19c)+_0x4b0caa),await _0x2096fd['DBZiJ'](sendTraceZip,_0x4d38cc,_0x4b0caa);}catch(_0x1774d0){_0x2096fd['lEXoN'](debug,util[_0x6a2902(0x129)](_0x2096fd['bOSyz'],_0x1774d0[_0x6a2902(0x124)]()));}const _0x22f86e=[];_0x4d38cc[_0x6a2902(0x17e)]&&_0x4d38cc[_0x6a2902(0x17e)]['map'](_0x28adc1=>{const _0x556551=_0x6a2902;if(_0x2096fd[_0x556551(0x127)](_0x28adc1['name'],_0x2096fd[_0x556551(0x1ab)])){if(!_0x28adc1[_0x556551(0x1c6)]||!fs['existsSync'](_0x28adc1['path']))return;_0x22f86e[_0x556551(0x1d2)]({'test_run_uuid':_0x4b0caa,'timestamp':fs[_0x556551(0x1af)](_0x28adc1['path'])[_0x556551(0x18f)],'kind':_0x2096fd[_0x556551(0xed)],'message':fs['readFileSync'](_0x28adc1['path'],{'encoding':_0x2096fd['YPfFS']})});}}),_0x2096fd[_0x6a2902(0x170)](_0x22f86e[_0x6a2902(0x169)],0x0)&&await MyReporter[_0x6a2902(0x160)](_0x22f86e);}async[a41_0x59b999(0x149)](){const _0x4e8e10=a41_0x59b999;await RequestQueueHandler[_0x4e8e10(0x1bb)]()[_0x4e8e10(0x1b4)]();}async['onEnd'](_0x47db14){const _0x2730e0=a41_0x59b999,_0x329c24={'dfeek':function(_0x24ce77){return _0x24ce77();},'QuFwr':function(_0x2f3989,_0x11d3fd){return _0x2f3989(_0x11d3fd);}};await this[_0x2730e0(0x149)]();try{process[_0x2730e0(0x19e)][_0x2730e0(0x10b)]&&await _0x329c24[_0x2730e0(0x1c5)](calculatePerformance);}catch(_0x9e428d){_0x329c24[_0x2730e0(0xfa)](debug,_0x2730e0(0x14c)+_0x9e428d[_0x2730e0(0x124)]());}}static async[a41_0x59b999(0x161)](_0x342a47,_0xa11da2){const _0x496192=a41_0x59b999;_0xa11da2['test_run_uuid']=TestDetails['getTestUUID'](_0x342a47),await this[_0x496192(0x160)]([_0xa11da2]);}static async[a41_0x59b999(0x160)](_0x438070){const _0x301a51=a41_0x59b999,_0x59d92f={};_0x59d92f['tRPoA']='LogCreated';const _0x41b2d1=_0x59d92f,_0x306712={};_0x306712[_0x301a51(0x19f)]=_0x41b2d1[_0x301a51(0xf4)],_0x306712['logs']=_0x438070,await SessionHandler[_0x301a51(0x12f)](_0x306712);}async[a41_0x59b999(0x12e)](_0x295583,_0x586b9d,_0xf89832,_0x52172d){const _0x54834b=a41_0x59b999,_0x3bbf55={'OAqeP':'hook','AIIzo':'javascript','KQlCS':_0x54834b(0x1c1),'BZpNu':function(_0x25465d,_0x294a7f){return _0x25465d>=_0x294a7f;},'wQIgh':function(_0x225250,_0x2f7839){return _0x225250===_0x2f7839;},'TEqTy':'HookRunFinished','LDqIA':function(_0x3405e8,_0x45bd26){return _0x3405e8>_0x45bd26;},'fZACj':_0x54834b(0x199),'TfwMl':function(_0x56f107,_0x400473){return _0x56f107(_0x400473);},'gtufU':function(_0x4801ef,_0x16d986,_0x225fdb){return _0x4801ef(_0x16d986,_0x225fdb);},'KbnGD':'err','UiDtK':'passed'},_0x5a20ff=this[_0x54834b(0xd7)](_0x295583,_0x586b9d),_0xef2224=this[_0x54834b(0x192)][_0x5a20ff],_0x184cfb={'uuid':_0xef2224[_0x54834b(0x1cb)],'type':_0x3bbf55[_0x54834b(0x132)],'hook_type':this['getHookType'](_0x586b9d[_0x54834b(0xeb)]),'name':_0x586b9d['title'],'scope':this['getScope'](_0x586b9d),'scopes':this[_0x54834b(0xf1)](_0x295583),'body':{'lang':_0x3bbf55[_0x54834b(0x137)],'code':null},'identifier':_0x5a20ff,'file_name':path[_0x54834b(0x133)](process[_0x54834b(0x109)](),_0x295583[_0x54834b(0x14a)]['file']),'location':path[_0x54834b(0x133)](process[_0x54834b(0x109)](),_0x295583['location'][_0x54834b(0xd2)]),'result':_0x3bbf55[_0x54834b(0x1b0)],'duration_in_ms':_0x3bbf55['BZpNu'](_0x586b9d[_0x54834b(0x147)],0x0)?_0x586b9d[_0x54834b(0x147)]:undefined,'vc_filepath':this[_0x54834b(0x115)]&&_0x295583[_0x54834b(0x14a)][_0x54834b(0xd2)]?path[_0x54834b(0x133)](this[_0x54834b(0x115)],_0x295583['location'][_0x54834b(0xd2)]):undefined,'started_at':_0xef2224[_0x54834b(0x1ad)],'finished_at':_0xef2224[_0x54834b(0x17d)],'framework':FRAMEWORKS[_0x54834b(0xcd)]};if(_0x3bbf55['wQIgh'](_0xf89832,_0x3bbf55[_0x54834b(0x14f)])){const {steps:_0x451f4c,logs:_0xc1c3c6}=this['getStepsAndLogs'](_0x586b9d[_0x54834b(0x1b7)],_0xef2224[_0x54834b(0x1cb)],_0x3bbf55['OAqeP']);_0xc1c3c6&&_0x3bbf55['LDqIA'](_0xc1c3c6[_0x54834b(0x169)],0x0)&&await MyReporter[_0x54834b(0x160)](_0xc1c3c6);const _0x1f86af={};_0x1f86af[_0x54834b(0x1b7)]=_0x451f4c,_0x184cfb['meta']=_0x1f86af;if(_0x586b9d[_0x54834b(0x112)]){_0x184cfb[_0x54834b(0xf7)]=_0x3bbf55[_0x54834b(0x108)],_0x184cfb[_0x54834b(0xe4)]=_0x3bbf55[_0x54834b(0x195)](removeAnsiColors,_0x586b9d[_0x54834b(0x112)][_0x54834b(0x19a)]),_0x184cfb['failure_type']=_0x3bbf55['TfwMl'](getFailureType,_0x586b9d['error'][_0x54834b(0x19a)]);const _0xf07e6e=_0x3bbf55[_0x54834b(0x1ac)](failureData,_0x586b9d[_0x54834b(0x112)],_0x3bbf55[_0x54834b(0x13b)]);if(_0xf07e6e&&_0x3bbf55[_0x54834b(0x11f)](_0xf07e6e['length'],0x0)){const _0x36cbba={};_0x36cbba[_0x54834b(0xd5)]=[_0x184cfb[_0x54834b(0xe4)]],_0x36cbba['expanded']=[],_0xf07e6e[_0x54834b(0x1d2)](_0x36cbba);}_0x184cfb[_0x54834b(0x18e)]=_0xf07e6e;}else _0x184cfb[_0x54834b(0xf7)]=_0x3bbf55[_0x54834b(0x198)];}const _0x4c8e17={};_0x4c8e17['event_type']=_0xf89832,_0x4c8e17[_0x54834b(0x191)]=_0x184cfb;const _0x16eee8=_0x4c8e17;await SessionHandler[_0x54834b(0x12f)](_0x16eee8);}[a41_0x59b999(0xdb)](_0x431e8a,_0x5f2526,_0xb6087){const _0x401f48=a41_0x59b999,_0x1946ac={'gaWfL':function(_0x1fb22d,_0x1e0052){return _0x1fb22d===_0x1e0052;},'ihZcD':_0x401f48(0x183),'oHMUK':'After\x20Hooks','MoMJX':_0x401f48(0x10a),'wPSGj':function(_0x3a3f74,_0x3f0f8b){return _0x3a3f74===_0x3f0f8b;},'aqVYE':_0x401f48(0xde),'HymZY':_0x401f48(0x1bc),'eqPtq':_0x401f48(0x119),'nMGkx':'TEST_STEP','gMfZG':_0x401f48(0x199),'cpKJI':_0x401f48(0x153),'zyepd':function(_0x20ca1d,_0x556824){return _0x20ca1d(_0x556824);},'YCVeN':function(_0x5e4c9b,_0x1d2c5c){return _0x5e4c9b(_0x1d2c5c);},'AfFCz':function(_0x23b53d){return _0x23b53d();},'Cgjyq':function(_0x409705,_0x31263f){return _0x409705(_0x31263f);},'DnRhy':function(_0x427e9f,_0x87d7e6,_0x167be8){return _0x427e9f(_0x87d7e6,_0x167be8);},'BcyJt':function(_0x38dded,_0x4aa58a,_0x13eb99){return _0x38dded(_0x4aa58a,_0x13eb99);}},_0x2a6a18=[],_0xea39e8=[],_0x3e48f7=_0x431e8a[_0x401f48(0xd8)](_0x2f28bf=>{const _0x435ea1=_0x401f48;if(_0x1946ac[_0x435ea1(0x12a)](_0x2f28bf['category'],_0x1946ac[_0x435ea1(0x10e)])&&(_0x1946ac['gaWfL'](_0x2f28bf[_0x435ea1(0xeb)],_0x1946ac['oHMUK'])||_0x1946ac[_0x435ea1(0x12a)](_0x2f28bf['title'],_0x1946ac[_0x435ea1(0x16a)])))return![];return!![];}),_0x443dfe=(_0x1daa63,_0xe9a6c2=![])=>{const _0x1b4d89=_0x401f48;if(_0x1946ac[_0x1b4d89(0xd6)](_0x1daa63[_0x1b4d89(0x1b7)][_0x1b4d89(0x169)],0x0)){const _0x231a79=_0x1946ac['wPSGj'](_0xb6087,_0x1946ac[_0x1b4d89(0x15d)])?_0x1946ac[_0x1b4d89(0x134)]:_0x1946ac[_0x1b4d89(0x1c8)];_0xea39e8['push']({'kind':_0x1946ac[_0x1b4d89(0x1a9)],[_0x231a79]:_0x5f2526,'message':_0x1daa63[_0x1b4d89(0xeb)],'timestamp':_0x1daa63[_0x1b4d89(0x157)]['toISOString'](),'level':_0x1daa63[_0x1b4d89(0x112)]?_0x1946ac[_0x1b4d89(0x11d)]:_0x1946ac[_0x1b4d89(0x148)],'duration':_0x1daa63['duration'],'failure':_0x1daa63[_0x1b4d89(0x112)]&&_0x1daa63[_0x1b4d89(0x112)][_0x1b4d89(0x19a)]&&_0x1946ac['zyepd'](removeAnsiColors,_0x1daa63[_0x1b4d89(0x112)][_0x1b4d89(0x19a)]),'failure_type':_0x1946ac['YCVeN'](getFailureType,_0x1daa63['error']&&_0x1daa63[_0x1b4d89(0x112)][_0x1b4d89(0x19a)])});}else{!_0xe9a6c2&&_0x2a6a18[_0x1b4d89(0x1d2)]({'id':_0x1946ac[_0x1b4d89(0x140)](uuidv4),'text':_0x1daa63['title'],'keyword':undefined,'started_at':_0x1daa63[_0x1b4d89(0x157)][_0x1b4d89(0x164)](),'duration':_0x1daa63['duration'],'result':_0x1daa63['error']?_0x1946ac[_0x1b4d89(0x11d)]:_0x1946ac[_0x1b4d89(0x148)],'failure':_0x1daa63[_0x1b4d89(0x112)]&&_0x1daa63[_0x1b4d89(0x112)][_0x1b4d89(0x19a)]&&_0x1946ac[_0x1b4d89(0x1c3)](removeAnsiColors,_0x1daa63[_0x1b4d89(0x112)][_0x1b4d89(0x19a)]),'failure_type':_0x1946ac[_0x1b4d89(0x13a)](getFailureType,_0x1daa63[_0x1b4d89(0x112)]&&_0x1daa63[_0x1b4d89(0x112)][_0x1b4d89(0x19a)])});for(const _0x28d78c of _0x1daa63[_0x1b4d89(0x1b7)]){_0x1946ac[_0x1b4d89(0x1bd)](_0x443dfe,_0x28d78c,!![]);}}};for(const _0xbde360 of _0x3e48f7){_0x1946ac[_0x401f48(0x1aa)](_0x443dfe,_0xbde360,![]);}const _0x2e2131={};return _0x2e2131['steps']=_0x2a6a18,_0x2e2131[_0x401f48(0x136)]=_0xea39e8,_0x2e2131;}async[a41_0x59b999(0x139)](_0x458046,_0x45812a,_0x4ab801){const _0x34be72=a41_0x59b999,_0x3d32a7={'BhlMh':function(_0x1d1b31,_0x5866e4){return _0x1d1b31(_0x5866e4);},'kpcYu':_0x34be72(0xec),'LAJaS':_0x34be72(0xf5),'jsHyP':_0x34be72(0xde),'SXJCO':_0x34be72(0x116),'zHRNX':_0x34be72(0x1c1),'RwJQb':function(_0x2f8a68,_0x35cfda){return _0x2f8a68(_0x35cfda);},'vhUkG':function(_0xae2191,_0x4fe2d5,_0x15d80b,_0x453ff8,_0x50be75){return _0xae2191(_0x4fe2d5,_0x15d80b,_0x453ff8,_0x50be75);},'eOGVG':function(_0x509160,_0x124cfe){return _0x509160>_0x124cfe;},'DGfPY':function(_0x56733a,_0x4b6209){return _0x56733a-_0x4b6209;},'gIimj':function(_0x2b87d2,_0x199970){return _0x2b87d2===_0x199970;},'KyTpr':_0x34be72(0xd4),'RukNw':function(_0x1bf68f,_0x47f432){return _0x1bf68f===_0x47f432;},'AYgPW':function(_0x69dfe0,_0x55f645){return _0x69dfe0===_0x55f645;},'NoyoP':_0x34be72(0x13c),'wEcpq':_0x34be72(0x153),'gTpyc':function(_0x1fa9f4,_0xc589ab){return _0x1fa9f4===_0xc589ab;},'vrkMM':function(_0x4fbd06,_0x3c1b41){return _0x4fbd06===_0x3c1b41;},'GrQBl':_0x34be72(0x199),'ThMLV':function(_0x106f39,_0x13cecc){return _0x106f39===_0x13cecc;},'EDICw':_0x34be72(0x131),'qgXRO':function(_0x535899,_0x394951){return _0x535899===_0x394951;},'CfgAM':function(_0x303ed1,_0x4a8cfb){return _0x303ed1===_0x4a8cfb;},'yrDZD':_0x34be72(0x126),'WNbUJ':function(_0x5ca1ab,_0x53d39b){return _0x5ca1ab(_0x53d39b);},'mYAed':function(_0x3719af,_0x43e6f1,_0x8cbae2){return _0x3719af(_0x43e6f1,_0x8cbae2);},'zKwtx':function(_0x3be1a6,_0x313c87){return _0x3be1a6===_0x313c87;},'jrEET':_0x34be72(0x1c6),'nhfEV':function(_0x52670,_0x1b2a26){return _0x52670(_0x1b2a26);},'CPpDx':function(_0x2e9fd9,_0xaad3e1){return _0x2e9fd9(_0xaad3e1);},'eIGNS':_0x34be72(0x194),'TVRpO':_0x34be72(0xe9),'oQPWj':function(_0x5b7b85,_0x40590e){return _0x5b7b85!==_0x40590e;},'BPVMZ':function(_0x5a6cb0,_0x4d31fb){return _0x5a6cb0===_0x4d31fb;}},_0x4be231=this[_0x34be72(0x181)](_0x458046),_0x304825=this[_0x34be72(0x19d)](_0x458046),_0x4d73b8=this[_0x34be72(0x192)][_0x4be231],_0x2ac986=path[_0x34be72(0x133)](process[_0x34be72(0x109)](),_0x458046['location'][_0x34be72(0xd2)]);await this[_0x34be72(0x121)]();const _0x25d78d={'uuid':_0x4d73b8[_0x34be72(0x1cb)],'type':_0x3d32a7[_0x34be72(0x163)],'name':_0x458046[_0x34be72(0xeb)],'body':{'lang':_0x3d32a7['SXJCO'],'code':_0x458046['fn']['toString']()},'scope':_0x304825,'scopes':this['getHierarchy'](_0x458046),'identifier':_0x4be231,'file_name':_0x2ac986,'location':_0x2ac986,'result':_0x3d32a7[_0x34be72(0x1b2)],'duration_in_ms':_0x4ab801&&_0x4ab801[_0x34be72(0x147)]?_0x4ab801[_0x34be72(0x147)]:null,'vc_filepath':this[_0x34be72(0x115)]&&_0x458046[_0x34be72(0x14a)]['file']?path[_0x34be72(0x133)](this[_0x34be72(0x115)],_0x458046[_0x34be72(0x14a)][_0x34be72(0xd2)]):undefined,'started_at':_0x4d73b8[_0x34be72(0x1ad)],'finished_at':_0x4d73b8[_0x34be72(0x17d)],'framework':FRAMEWORKS[_0x34be72(0xcd)],'customRerunParam':{'rerun_name':this[_0x34be72(0x1b8)](_0x458046)},'tags':_0x3d32a7[_0x34be72(0x12d)](getTestTags,_0x458046)};_0x3d32a7[_0x34be72(0x152)](appendTesthubParams,_0x25d78d,_0x45812a,_0x458046,FRAMEWORKS[_0x34be72(0xcd)]);_0x4ab801&&_0x3d32a7['eOGVG'](_0x4ab801[_0x34be72(0x1ce)],0x0)&&(_0x25d78d[_0x34be72(0x1b5)]=TestDetails['getTestUUID'](this[_0x34be72(0x155)](_0x458046,_0x3d32a7['DGfPY'](_0x4ab801[_0x34be72(0x1ce)],0x1))));if(_0x3d32a7[_0x34be72(0x14e)](_0x45812a,_0x3d32a7[_0x34be72(0x1be)])){_0x25d78d['result']=_0x4ab801['status'];if(_0x3d32a7[_0x34be72(0xf2)](_0x4ab801[_0x34be72(0x159)],_0x458046[_0x34be72(0x193)]))_0x25d78d[_0x34be72(0xf7)]=_0x3d32a7[_0x34be72(0xe7)](_0x4ab801[_0x34be72(0x159)],_0x3d32a7[_0x34be72(0x1c4)])?_0x3d32a7[_0x34be72(0x1c4)]:_0x3d32a7[_0x34be72(0x196)];else{(_0x3d32a7['gTpyc'](_0x25d78d['result'],_0x3d32a7['wEcpq'])||_0x3d32a7[_0x34be72(0xda)](_0x25d78d[_0x34be72(0xf7)],_0x3d32a7[_0x34be72(0x105)])||_0x3d32a7[_0x34be72(0x13f)](_0x25d78d[_0x34be72(0xf7)],_0x3d32a7[_0x34be72(0x1b6)]))&&(_0x25d78d[_0x34be72(0xf7)]=_0x3d32a7['GrQBl']);if(_0x3d32a7['qgXRO'](_0x4ab801[_0x34be72(0x159)],_0x3d32a7['wEcpq'])&&_0x3d32a7['CfgAM'](_0x458046[_0x34be72(0x193)],_0x3d32a7['GrQBl'])){const _0x2e2a04={};_0x2e2a04['message']=_0x3d32a7[_0x34be72(0x100)],_0x2e2a04['stack']=_0x3d32a7['yrDZD'],_0x4ab801[_0x34be72(0x112)]=_0x2e2a04,_0x4ab801[_0x34be72(0x1a8)]=[_0x4ab801[_0x34be72(0x112)]];}}const _0x2fb89=this[_0x34be72(0x155)](_0x458046,_0x4ab801[_0x34be72(0x1ce)]);_0x25d78d[_0x34be72(0xfb)]=this[_0x34be72(0x143)][_0x2fb89];const {steps:_0x197d1d,logs:_0x5de15f}=this['getStepsAndLogs'](_0x4ab801[_0x34be72(0x1b7)],_0x4d73b8[_0x34be72(0x1cb)],_0x3d32a7[_0x34be72(0x163)]);await MyReporter['reportLogs'](_0x5de15f);const _0x2bc75f={};_0x2bc75f[_0x34be72(0x1b7)]=_0x197d1d,_0x25d78d['meta']=_0x2bc75f;if(_0x4ab801[_0x34be72(0x112)]){_0x25d78d['failure_reason']=_0x3d32a7['BhlMh'](removeAnsiColors,_0x4ab801[_0x34be72(0x112)]['message']),_0x25d78d[_0x34be72(0x150)]=_0x3d32a7[_0x34be72(0xea)](getFailureType,_0x4ab801[_0x34be72(0x112)][_0x34be72(0x19a)]);const _0x342fca={};_0x342fca[_0x34be72(0x1bc)]=_0x4d73b8[_0x34be72(0x1cb)];const {failureData:_0x956241,logs:_0x1a411b}=_0x3d32a7[_0x34be72(0x1d0)](getFailureData,_0x4ab801[_0x34be72(0x1a8)],_0x342fca);if(_0x956241&&_0x3d32a7[_0x34be72(0x15f)](_0x956241[_0x34be72(0x169)],0x0)){const _0xa28ae3={};_0xa28ae3['backtrace']=[_0x25d78d['failure_reason']],_0xa28ae3[_0x34be72(0x113)]=[],_0x956241['push'](_0xa28ae3);}_0x25d78d[_0x34be72(0x18e)]=_0x956241,_0x1a411b&&_0x3d32a7[_0x34be72(0xdc)](_0x1a411b[_0x34be72(0x169)],0x0)&&await MyReporter[_0x34be72(0x160)](_0x1a411b);}}let _0x4160a2=_0x3d32a7[_0x34be72(0x1d0)](findNestedKey,_0x4ab801,_0x3d32a7[_0x34be72(0xf9)]);if(_0x4160a2&&_0x3d32a7['nhfEV'](validateFilePath,_0x4160a2))_0x3d32a7['CPpDx'](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x4d73b8['uuid']+'\x20at\x20'+_0x4160a2);else{const _0x5e7bfb=path[_0x34be72(0x182)](helper['homedir'](),_0x3d32a7['eIGNS']);!fs[_0x34be72(0x11e)](_0x5e7bfb)&&fs[_0x34be72(0x173)](_0x5e7bfb),fs[_0x34be72(0x11e)](path[_0x34be72(0x182)](_0x5e7bfb,'trace_'+_0x4d73b8[_0x34be72(0x1cb)]+'.txt'))&&(_0x4160a2=fs[_0x34be72(0x154)](path[_0x34be72(0x182)](_0x5e7bfb,_0x34be72(0xdf)+_0x4d73b8['uuid']+_0x34be72(0x16d)),_0x3d32a7[_0x34be72(0x145)]),_0x3d32a7[_0x34be72(0x1cc)](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x4d73b8['uuid']+_0x34be72(0x17a)+_0x4160a2));}const _0x4721b8={};_0x4721b8['event_type']=_0x45812a,_0x4721b8[_0x34be72(0x138)]=_0x25d78d;const _0x2328bd=_0x4721b8;_0x4160a2&&_0x3d32a7[_0x34be72(0x10f)](_0x4160a2,'')&&_0x3d32a7[_0x34be72(0x162)](_0x45812a,_0x3d32a7['KyTpr'])&&(!_0x2328bd[_0x34be72(0x136)]&&(_0x2328bd[_0x34be72(0x136)]=[]),_0x4160a2['split']('\x0a')['forEach'](_0x5d0c56=>{const _0xd0b874=_0x34be72;_0x5d0c56&&_0x3d32a7['BhlMh'](validateFilePath,_0x5d0c56)&&_0x2328bd[_0xd0b874(0x136)][_0xd0b874(0x1d2)]({'kind':_0x3d32a7[_0xd0b874(0x172)],'timestamp':new Date()[_0xd0b874(0x164)](),'test_run_uuid':_0x4d73b8['uuid'],'file_name':path[_0xd0b874(0x1b1)](_0x5d0c56),'file_size':fs[_0xd0b874(0x1af)](_0x5d0c56)[_0xd0b874(0x1a1)],'attachment_type':_0x3d32a7[_0xd0b874(0xcf)]});})),await SessionHandler[_0x34be72(0x12f)](_0x2328bd);}[a41_0x59b999(0x1b8)](_0x2b779e){const _0x19e05d=a41_0x59b999,_0x213482={};_0x213482[_0x19e05d(0x178)]=function(_0x31c3b6,_0x2e56ac){return _0x31c3b6===_0x2e56ac;},_0x213482['dUHds']=function(_0x3fb625,_0x4e89ab){return _0x3fb625>_0x4e89ab;},_0x213482['jRmLK']=function(_0x441047,_0x595f7d){return _0x441047+_0x595f7d;},_0x213482[_0x19e05d(0x16c)]=function(_0x34a942,_0x386023){return _0x34a942+_0x386023;},_0x213482[_0x19e05d(0x17f)]=function(_0x15382b,_0x1bb094){return _0x15382b>_0x1bb094;},_0x213482['txAdn']=function(_0x54ee82,_0xe38300){return _0x54ee82+_0xe38300;},_0x213482[_0x19e05d(0x1a2)]=function(_0x5eed05,_0x127ff7){return _0x5eed05+_0x127ff7;};const _0x16a970=_0x213482,_0x2ca59e=_0x2b779e[_0x19e05d(0x16b)]()[_0x19e05d(0x10d)](_0x1dd040=>{const _0x437d65=_0x19e05d;if(_0x2b779e[_0x437d65(0x125)]&&_0x16a970[_0x437d65(0x178)](_0x1dd040,_0x2b779e[_0x437d65(0x125)][_0x437d65(0xeb)])&&_0x2b779e[_0x437d65(0x125)][_0x437d65(0xe2)]&&_0x16a970[_0x437d65(0x18b)](_0x2b779e[_0x437d65(0x125)][_0x437d65(0xe2)]['length'],0x0))return _0x16a970[_0x437d65(0x177)](_0x16a970[_0x437d65(0x16c)](_0x1dd040,'\x20'),_0x2b779e[_0x437d65(0x125)][_0x437d65(0xe2)]['join']('\x20'));if(_0x16a970[_0x437d65(0x178)](_0x1dd040,_0x2b779e['title'])&&_0x2b779e['_tags']&&_0x16a970[_0x437d65(0x17f)](_0x2b779e[_0x437d65(0xe2)][_0x437d65(0x169)],0x0))return _0x16a970[_0x437d65(0x168)](_0x16a970[_0x437d65(0x1a2)](_0x1dd040,'\x20'),_0x2b779e[_0x437d65(0xe2)][_0x437d65(0x182)]('\x20'));return _0x1dd040;})[_0x19e05d(0x182)]('\x20');return _0x2ca59e;}static async['sendSessionDetails'](_0x55024c,_0xcb8fc2){const _0x5aad4d=a41_0x59b999,_0x594fac={'eOkQX':function(_0x1ede5c,_0x42eed3){return _0x1ede5c(_0x42eed3);},'HrAfV':'CBTSessionCreated'},_0x251db7={'uuid':TestDetails['getTestUUID'](_0x55024c),'integrations':_0xcb8fc2},_0x25a621={};_0x25a621['depth']=null,_0x594fac[_0x5aad4d(0x1ba)](debug,_0x5aad4d(0xff)+_0x55024c+',\x20'+util['inspect'](_0xcb8fc2,_0x25a621));const _0x59b0f2={};_0x59b0f2[_0x5aad4d(0x19f)]=_0x594fac['HrAfV'],_0x59b0f2[_0x5aad4d(0x138)]=_0x251db7,await SessionHandler['uploadEventData'](_0x59b0f2);}async['configureGit'](){const _0x3dfe58=a41_0x59b999,_0x43bf21={'diYTN':function(_0x3ed722){return _0x3ed722();}};if(this[_0x3dfe58(0x18c)])return;const _0x53eefb=await _0x43bf21[_0x3dfe58(0x1ca)](getGitMetaData);_0x53eefb&&(this['_gitConfigPath']=_0x53eefb[_0x3dfe58(0x15a)]),this[_0x3dfe58(0x18c)]=!![];}[a41_0x59b999(0xf1)](_0x443c0c){const _0x380f35=a41_0x59b999,_0x2f3710={};_0x2f3710[_0x380f35(0x117)]=function(_0x2997ca,_0x3216ff){return _0x2997ca!==_0x3216ff;};const _0x444a2c=_0x2f3710,_0x35591e=[];if(_0x443c0c&&_0x443c0c[_0x380f35(0x125)]){let _0x3bedde=_0x443c0c[_0x380f35(0x125)];while(_0x3bedde&&_0x444a2c[_0x380f35(0x117)](_0x3bedde[_0x380f35(0xeb)],'')){_0x35591e[_0x380f35(0x1d2)](_0x3bedde[_0x380f35(0xeb)]),_0x3bedde=_0x3bedde[_0x380f35(0x125)];}}return _0x35591e['reverse']()[_0x380f35(0xe6)](0x0,0x2),_0x35591e;}['needToReportStep'](_0x293650){const _0x365a2=a41_0x59b999,_0x3d7ed9={};_0x3d7ed9[_0x365a2(0xfd)]=function(_0x4e0cf9,_0x7bb913){return _0x4e0cf9!==_0x7bb913;},_0x3d7ed9[_0x365a2(0x1c2)]=_0x365a2(0x183),_0x3d7ed9[_0x365a2(0x101)]=function(_0x41681c,_0x36f6ba){return _0x41681c===_0x36f6ba;},_0x3d7ed9[_0x365a2(0xe1)]=_0x365a2(0x151),_0x3d7ed9[_0x365a2(0xe0)]=_0x365a2(0x120),_0x3d7ed9[_0x365a2(0x135)]=_0x365a2(0x102),_0x3d7ed9[_0x365a2(0x189)]=_0x365a2(0x1ae);const _0x2cb9d5=_0x3d7ed9;if(_0x2cb9d5[_0x365a2(0xfd)](_0x293650[_0x365a2(0x1a4)],_0x2cb9d5[_0x365a2(0x1c2)]))return![];if(_0x2cb9d5[_0x365a2(0x101)]([_0x2cb9d5['LOSuQ'],_0x2cb9d5[_0x365a2(0xe0)],_0x2cb9d5[_0x365a2(0x135)],_0x2cb9d5[_0x365a2(0x189)]]['indexOf'](_0x293650[_0x365a2(0xeb)]),-0x1))return![];return!![];}[a41_0x59b999(0xd7)](_0x1e1c8f,_0x4f6074){const _0x11e380=a41_0x59b999,_0x39478b=_0x4f6074['_bs_hookIdentifier'];if(_0x39478b)return _0x39478b;return _0x4f6074['title']+_0x11e380(0x118)+this[_0x11e380(0x181)](_0x1e1c8f);}[a41_0x59b999(0x1cd)](_0x55e22b,_0x277ea4){const _0x441ff7=a41_0x59b999,_0x30507f={'uCYpz':function(_0x320b0a){return _0x320b0a();}};let _0x35f4a4=_0x277ea4['title']+_0x441ff7(0x118)+this['getTestIdentifier'](_0x55e22b);return this[_0x441ff7(0x192)][_0x35f4a4]&&(_0x35f4a4=_0x35f4a4+_0x441ff7(0x11b)+_0x30507f[_0x441ff7(0x144)](uuidv4)),_0x277ea4['_bs_hookIdentifier']=_0x35f4a4,_0x35f4a4;}[a41_0x59b999(0x181)]=_0x55143f=>{const _0x17f39d=a41_0x59b999,_0x51e89a={};_0x51e89a[_0x17f39d(0x10c)]=function(_0x18abd3,_0x5f0970){return _0x18abd3+_0x5f0970;},_0x51e89a[_0x17f39d(0x158)]=function(_0x4aaea8,_0xea826f){return _0x4aaea8+_0xea826f;};const _0x1ac486=_0x51e89a;return _0x1ac486['kNcsI'](_0x1ac486['dafLB'](_0x55143f[_0x17f39d(0x13d)],'-'),_0x55143f['id']);};[a41_0x59b999(0x155)]=(_0xc9b246,_0x57323e)=>{const _0x5c8230=a41_0x59b999,_0x1a786c={};_0x1a786c[_0x5c8230(0x114)]=function(_0x19f3c8,_0x41b9db){return _0x19f3c8+_0x41b9db;},_0x1a786c[_0x5c8230(0x16e)]=function(_0x251fa4,_0xaf6ff7){return _0x251fa4+_0xaf6ff7;};const _0x1756c9=_0x1a786c;return _0x1756c9['bEKxw'](_0x1756c9[_0x5c8230(0x16e)](this['getTestIdentifier'](_0xc9b246),'-'),_0x57323e);};[a41_0x59b999(0x165)]=_0x172a59=>{const _0x2f3cb3=a41_0x59b999,_0x3c0e55={};_0x3c0e55['MedPZ']=_0x2f3cb3(0x151),_0x3c0e55[_0x2f3cb3(0xef)]=_0x2f3cb3(0xfe),_0x3c0e55['wEolS']='beforeAll\x20hook',_0x3c0e55[_0x2f3cb3(0xd1)]=_0x2f3cb3(0xd3),_0x3c0e55[_0x2f3cb3(0x186)]='afterEach\x20hook',_0x3c0e55[_0x2f3cb3(0xce)]=_0x2f3cb3(0x171),_0x3c0e55['ObbAl']=_0x2f3cb3(0x102),_0x3c0e55[_0x2f3cb3(0x156)]=_0x2f3cb3(0xe8),_0x3c0e55[_0x2f3cb3(0x130)]=_0x2f3cb3(0x185);const _0x3febf2=_0x3c0e55;if(_0x172a59['startsWith'](_0x3febf2[_0x2f3cb3(0x1c7)]))return _0x3febf2[_0x2f3cb3(0xef)];else{if(_0x172a59[_0x2f3cb3(0x103)](_0x3febf2[_0x2f3cb3(0x1c9)]))return _0x3febf2[_0x2f3cb3(0xd1)];else{if(_0x172a59[_0x2f3cb3(0x103)](_0x3febf2[_0x2f3cb3(0x186)]))return _0x3febf2[_0x2f3cb3(0xce)];else{if(_0x172a59['startsWith'](_0x3febf2[_0x2f3cb3(0x1a0)]))return _0x3febf2[_0x2f3cb3(0x156)];}}}return _0x3febf2[_0x2f3cb3(0x130)];};[a41_0x59b999(0x19d)]=_0x370273=>{const _0x4fc539=a41_0x59b999,_0x5f5c78={};_0x5f5c78[_0x4fc539(0x1a3)]=function(_0x10922e,_0x291ca2){return _0x10922e===_0x291ca2;},_0x5f5c78[_0x4fc539(0x175)]=_0x4fc539(0x190);const _0x3e5224=_0x5f5c78;let _0x16bd2c=_0x370273[_0x4fc539(0x125)];return _0x3e5224[_0x4fc539(0x1a3)](typeof _0x370273[_0x4fc539(0x125)],_0x3e5224[_0x4fc539(0x175)])&&(_0x16bd2c=_0x16bd2c[_0x4fc539(0xeb)]),_0x16bd2c+_0x4fc539(0x11b)+_0x370273[_0x4fc539(0xeb)];};[a41_0x59b999(0x1d1)](){return![];}}module[a41_0x59b999(0x110)]=o11yClassErrorHandler(MyReporter,[a41_0x59b999(0x107),a41_0x59b999(0x149),a41_0x59b999(0x14d),a41_0x59b999(0x1cf),a41_0x59b999(0x180),'onStepEnd',a41_0x59b999(0x179)],a41_0x59b999(0x184));function a41_0x1103(){const _0x167041=['gxnzf','TIEHI','txAdn','length','MoMJX','titlePath','OgjIR','.txt','XmKnv','logLevel','dmYqh','AFTER_EACH','kpcYu','mkdirSync','BROWSERSTACK_TEST_RUN_ID','PMudB','1561rnwfNU','jRmLK','Kyvxn','sendSessionDetails','\x20at\x20','BROWSERSTACK_LOG_LEVEL','../../../helpers/testhub/testhubHandler','finishedAt','attachments','XyOtH','onStepBegin','getTestIdentifier','join','hook','MyReporter','unknown','AAwbr','Error\x20in\x20sending\x20trace\x20zip:\x20%s','../../../helpers/test-observability/error-handler','LDWEc','OwLpM','dUHds','_gitConfigured','../../../helpers/test-observability/utils','failure','mtime','object','hook_run','_tests','expectedStatus','.browserstack','TfwMl','wEcpq','../../../helpers/test-observability/requestQueueHandler','UiDtK','failed','message','223287FSQwWZ','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','getScope','env','event_type','ObbAl','size','uKiLy','LxFdC','category','\x20is\x20triggered\x20for\x20test\x20','Hook\x20Started\x20with\x20unique\x20id\x20','../../../helpers/test-observability/constants','errors','nMGkx','BcyJt','ztMvq','gtufU','startedAt','afterEach\x20hook','statSync','KQlCS','basename','zHRNX','Hook\x20Finished\x20with\x20unique\x20id\x20','shutdown','retry_of','EDICw','steps','getCustomRerunParam','\x20is\x20triggered','eOkQX','getInstance','test_run_uuid','DnRhy','KyTpr','17581685LUIbkc','START_TIME','pending','fErZL','YCVeN','NoyoP','dfeek','path','MedPZ','eqPtq','wEolS','diYTN','uuid','CPpDx','setStepIdentifier','retry','onTestEnd','mYAed','printsToStdio','push','PLAYWRIGHT','FwoIN','LAJaS','../../../helpers/helper','gpNQh','file','BEFORE_ALL','TestRunFinished','backtrace','wPSGj','getStepIdentifier','filter','../../../helpers/performance/performance-tester','vrkMM','getStepsAndLogs','eOGVG','GJmHz','test','trace_','lzITA','LOSuQ','_tags','VaJRa','failure_reason','util','splice','AYgPW','AFTER_ALL','utf8','WNbUJ','title','TEST_ATTACHMENT','KkGna','10515224JJlBJn','qUxws','TestRunStarted','getHierarchy','RukNw','screenshot','tRPoA','PLAYWRIGHT_TRACE_LOGS','AohDJ','result','performance-report-reporter.json','jrEET','QuFwr','hooks','base64','oSAqY','BEFORE_EACH','Sending\x20session\x20details\x20for\x20','yrDZD','YAlqs','afterAll\x20hook','startsWith','3651138ZRhKRT','GrQBl','zFHsB','onBegin','fZACj','cwd','Before\x20Hooks','BROWSERSTACK_O11Y_PERF_MEASUREMENT','kNcsI','map','ihZcD','oQPWj','exports','40512RAjtZo','error','expanded','bEKxw','_gitConfigPath','javascript','faAMl','\x20for\x20','hook_run_uuid','8bCqBwV','\x20-\x20','lEXoN','gMfZG','existsSync','wQIgh','beforeAll\x20hook','configureGit','Test\x20Finished\x20with\x20unique\x20id\x20','30dyGfbQ','toString','parent','Expected\x20to\x20fail,\x20but\x20passed.','Hivno','../../../helpers/test-observability/sessionHandler','format','gaWfL','58ATyTgj','0|2|6|1|5|4|3','RwJQb','sendHookRunEvent','uploadEventData','lnzwE','timedOut','OAqeP','relative','HymZY','DnLJr','logs','AIIzo','test_run','sendTestRunEvent','Cgjyq','KbnGD','skipped','_projectId','options','ThMLV','AfFCz','getTestUUID','HookRunFinished','_testHooksMap','uCYpz','TVRpO','1100740qINDVD','duration','cpKJI','endSession','location','qfsty','Error\x20in\x20calculating\x20performance:\x20','onTestBegin','gIimj','TEqTy','failure_type','beforeEach\x20hook','vhUkG','passed','readFileSync','getTestRunIdentifier','Pxdhu','startTime','dafLB','status','root','Test\x20Started\x20with\x20unique\x20id\x20','22502Mjnykl','aqVYE','bXppL','zKwtx','reportLogs','addTestUIDAndReportLog','BPVMZ','jsHyP','toISOString','getHookType'];a41_0x1103=function(){return _0x167041;};return a41_0x1103();}
@@ -1 +1 @@
1
- function a42_0x5a2a(_0x3ce757,_0x3f3b79){const _0x112563=a42_0x1125();return a42_0x5a2a=function(_0x5a2a39,_0xa63f9f){_0x5a2a39=_0x5a2a39-0xdf;let _0x56d3fd=_0x112563[_0x5a2a39];return _0x56d3fd;},a42_0x5a2a(_0x3ce757,_0x3f3b79);}const a42_0x429806=a42_0x5a2a;function a42_0x1125(){const _0x51d12e=['getStoreDirName','getStoreDirPath','tests','string','muqcf','oJUhY','aDZXy','IIoQC','join','uuid','.json','EYXOI','16KmKOFl','getTestIdFromTestInfo','existsSync','shutdown','../../../helpers/helper','_traceZipPaths.json','getTestDetails','setAccessibilityPlatformValidation','jNJPV','getProjectIdFromTestInfo','1521023cIRlWy','75192SqGAVP','904KvgPsm','938IgPaVb','getFilePath','homedir','split','3039903pjUAYW','../../../helpers/logger','readFileSync','../../../helpers/test-observability/constants','431916twjsVV','.txt','mkdirSync','dZKPr','.browserstack','filePath','6yIMlJh','appendToTracePaths','2423995kkLMWY','_projectId','utf8','env','readdirSync','traceZipPaths','error','qcXbd','uhEEo','appendFileSync','LdAOh','setTestDetails','wgRHh','Error\x20reading\x20trace\x20file\x20paths:\x20%s','arlam','Tldxx','values','_test','JCTEk','cwd','qCKny','toString','TIbFI','__projectId','_platformDetails.json','bIyHH','recursive','addTraceFilePath','BS_TESTOPS_BUILD_HASHED_ID','ICuXP','getTraceZipDir','setup','path','GgmSj','winstonLogger','stringify','exports','force','17345860vLiJzv','lPyBh','format','dirPath','testId','getAccessibilityPlatformValidation','getTestUUID','rmSync','some','util','push','QKMcL','0|2|4|3|1','HoIfO','traceZipDir','parse','getTestRunIdFromTestInfo','Fcshf','writeFileSync','zOpds'];a42_0x1125=function(){return _0x51d12e;};return a42_0x1125();}(function(_0x5c3486,_0x596f89){const _0x2378c7=a42_0x5a2a,_0x5939f0=_0x5c3486();while(!![]){try{const _0x2f69ee=-parseInt(_0x2378c7(0x105))/0x1*(-parseInt(_0x2378c7(0x106))/0x2)+-parseInt(_0x2378c7(0x10e))/0x3*(-parseInt(_0x2378c7(0xf9))/0x4)+parseInt(_0x2378c7(0x116))/0x5+-parseInt(_0x2378c7(0x114))/0x6*(-parseInt(_0x2378c7(0x103))/0x7)+-parseInt(_0x2378c7(0x104))/0x8+parseInt(_0x2378c7(0x10a))/0x9+-parseInt(_0x2378c7(0x13c))/0xa;if(_0x2f69ee===_0x596f89)break;else _0x5939f0['push'](_0x5939f0['shift']());}catch(_0x3982fb){_0x5939f0['push'](_0x5939f0['shift']());}}}(a42_0x1125,0x48336));const fs=require('fs'),path=require(a42_0x429806(0x136)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a42_0x429806(0x10d)),{nestedKeyValue}=require(a42_0x429806(0xfd)),logger=require(a42_0x429806(0x10b))[a42_0x429806(0x138)],util=require(a42_0x429806(0xe2)),helper=require(a42_0x429806(0xfd));class TestDetails{static [a42_0x429806(0xef)]={};static [a42_0x429806(0x13f)]=path[a42_0x429806(0xf5)](process[a42_0x429806(0x129)](),TestDetails['getStoreDirName']());static [a42_0x429806(0xe7)]=path[a42_0x429806(0xf5)](TestDetails['dirPath'],'traceZipPaths');static[a42_0x429806(0x135)](){const _0x578e65=a42_0x429806,_0x3f9ed9={};_0x3f9ed9['HoIfO']=_0x578e65(0xe5),_0x3f9ed9[_0x578e65(0x122)]=_0x578e65(0x11b);const _0x42d682=_0x3f9ed9,_0x5676ae=_0x42d682[_0x578e65(0xe6)][_0x578e65(0x109)]('|');let _0x35687c=0x0;while(!![]){switch(_0x5676ae[_0x35687c++]){case'0':this[_0x578e65(0x13f)]=path[_0x578e65(0xf5)](process[_0x578e65(0x129)](),TestDetails[_0x578e65(0xed)]());continue;case'1':const _0x4fd389={};_0x4fd389['recursive']=!![],fs['mkdirSync'](this[_0x578e65(0xe7)],_0x4fd389);continue;case'2':this[_0x578e65(0xe7)]=path['join'](this[_0x578e65(0x13f)],_0x42d682['wgRHh']);continue;case'3':const _0x5b7ca3={};_0x5b7ca3[_0x578e65(0x130)]=!![],fs[_0x578e65(0x110)](this[_0x578e65(0x13f)],_0x5b7ca3);continue;case'4':this[_0x578e65(0xfc)]();continue;}break;}}static[a42_0x429806(0xed)](){const _0x1b9dd8=a42_0x429806,_0x1736e8={};_0x1736e8['JCTEk']=function(_0x209c45,_0x22945a){return _0x209c45+_0x22945a;},_0x1736e8[_0x1b9dd8(0xf4)]=function(_0x526d36,_0x1ce1ab){return _0x526d36+_0x1ce1ab;};const _0x403055=_0x1736e8;return _0x403055[_0x1b9dd8(0x128)](_0x403055[_0x1b9dd8(0xf4)](TEMP_STORE_DIR_NAME,'-'),process[_0x1b9dd8(0x119)][_0x1b9dd8(0x132)]);}static[a42_0x429806(0xee)](){const _0x400664=a42_0x429806,_0x4c8f8c={};_0x4c8f8c[_0x400664(0x12f)]=function(_0x5aa7b2,_0x42bca9){return _0x5aa7b2+_0x42bca9;},_0x4c8f8c[_0x400664(0x125)]='default';const _0x5b995d=_0x4c8f8c;return path[_0x400664(0xf5)](process[_0x400664(0x129)](),_0x5b995d[_0x400664(0x12f)](_0x5b995d[_0x400664(0x12f)](TEMP_STORE_DIR_NAME,'-'),process[_0x400664(0x119)][_0x400664(0x132)]||_0x5b995d[_0x400664(0x125)]));}static['getTraceZipDir'](){const _0x180c3e=a42_0x429806,_0x3bd28d={};_0x3bd28d[_0x180c3e(0x11d)]=_0x180c3e(0x11b);const _0x390c9c=_0x3bd28d;return path['join'](this['getStoreDirPath'](),_0x390c9c[_0x180c3e(0x11d)]);}static[a42_0x429806(0x107)](_0x4cd3c7){const _0x15c539=a42_0x429806,_0x292c71={};_0x292c71[_0x15c539(0x137)]=function(_0x21b5ca,_0x566c10){return _0x21b5ca+_0x566c10;},_0x292c71[_0x15c539(0xea)]=_0x15c539(0xf7);const _0x1c1d2f=_0x292c71;return path[_0x15c539(0xf5)](this[_0x15c539(0x13f)],_0x1c1d2f[_0x15c539(0x137)](_0x4cd3c7,_0x1c1d2f[_0x15c539(0xea)]));}static[a42_0x429806(0xe9)](_0xf441e3){const _0x177117=a42_0x429806,_0x359066={};_0x359066[_0x177117(0xf3)]=function(_0x5c0f05,_0x57ec4c){return _0x5c0f05+_0x57ec4c;},_0x359066[_0x177117(0xe4)]=function(_0x596751,_0x2fc1ce){return _0x596751+_0x2fc1ce;};const _0x3c72d2=_0x359066;return _0x3c72d2[_0x177117(0xf3)](_0x3c72d2[_0x177117(0xe4)](_0x3c72d2[_0x177117(0xf3)](_0x3c72d2['aDZXy'](this['getProjectIdFromTestInfo'](_0xf441e3),'-'),this[_0x177117(0xfa)](_0xf441e3)),'-'),_0xf441e3['retry']);}static[a42_0x429806(0x102)](_0x2e579c){const _0x8e9a31=a42_0x429806,_0x96739d={'muqcf':function(_0x189d9e,_0x3b76b6,_0x26aec6){return _0x189d9e(_0x3b76b6,_0x26aec6);},'ICuXP':_0x8e9a31(0x127),'lPyBh':_0x8e9a31(0x117),'EYXOI':'project','XNBMV':_0x8e9a31(0x12d)};return _0x96739d[_0x8e9a31(0xf1)](nestedKeyValue,_0x2e579c,[_0x96739d[_0x8e9a31(0x133)],_0x96739d[_0x8e9a31(0x13d)]])||_0x96739d[_0x8e9a31(0xf1)](nestedKeyValue,_0x2e579c,[_0x96739d[_0x8e9a31(0xf8)],_0x96739d['XNBMV']]);}static[a42_0x429806(0xfa)](_0x2be041){const _0x1cbb0b=a42_0x429806,_0x3a18d9={'arlam':function(_0x5bbd43,_0x1813c2,_0x7e1271){return _0x5bbd43(_0x1813c2,_0x7e1271);},'LdAOh':_0x1cbb0b(0x127)};return _0x3a18d9[_0x1cbb0b(0x124)](nestedKeyValue,_0x2be041,[_0x3a18d9[_0x1cbb0b(0x120)],'id'])||_0x2be041[_0x1cbb0b(0x140)];}static[a42_0x429806(0xdf)](_0x1c0d9e){const _0x40c3aa=a42_0x429806,_0x2e7434={'zOpds':function(_0xd33cfe,_0x203e54){return _0xd33cfe===_0x203e54;},'oJUhY':_0x40c3aa(0xf0),'TIbFI':function(_0x3de7be){return _0x3de7be();}};if(this['tests'][_0x1c0d9e]&&_0x2e7434[_0x40c3aa(0xec)](typeof this['tests'][_0x1c0d9e][_0x40c3aa(0xf6)],_0x2e7434[_0x40c3aa(0xf2)]))return this[_0x40c3aa(0xef)][_0x1c0d9e][_0x40c3aa(0xf6)];const _0x5b2dad=this[_0x40c3aa(0x107)](_0x1c0d9e);if(_0x5b2dad&&fs['existsSync'](_0x5b2dad)){const _0x3f0bf7=JSON[_0x40c3aa(0xe8)](fs[_0x40c3aa(0x10c)](_0x5b2dad)[_0x40c3aa(0x12b)]());return this[_0x40c3aa(0xef)][_0x1c0d9e]=_0x3f0bf7,this[_0x40c3aa(0xef)][_0x1c0d9e]['uuid'];}return this['tests'][_0x1c0d9e]={'uuid':_0x2e7434[_0x40c3aa(0x12c)](uuidv4)},fs[_0x40c3aa(0xeb)](_0x5b2dad,JSON[_0x40c3aa(0x139)](this[_0x40c3aa(0xef)][_0x1c0d9e])),this['tests'][_0x1c0d9e][_0x40c3aa(0xf6)];}static[a42_0x429806(0x141)](_0x495f31){const _0x55b426=a42_0x429806,_0x15185e=path[_0x55b426(0xf5)](this[_0x55b426(0x13f)],_0x495f31+_0x55b426(0x12e));if(_0x15185e&&fs['existsSync'](_0x15185e))return fs[_0x55b426(0x10c)](_0x15185e)[_0x55b426(0x12b)]();}static[a42_0x429806(0x100)](_0x2ce7cb,_0xbe9382){const _0x32c100=a42_0x429806,_0x39a44c=path['join'](this['dirPath'],_0xbe9382+_0x32c100(0x12e));fs[_0x32c100(0xeb)](_0x39a44c,_0x2ce7cb[_0x32c100(0x12b)]());}static['shutdown'](){const _0x185168=a42_0x429806,_0x394ce9={};_0x394ce9[_0x185168(0x130)]=!![],_0x394ce9[_0x185168(0x13b)]=!![],fs[_0x185168(0xe0)](this['dirPath'],_0x394ce9);}static[a42_0x429806(0xff)](_0x19d5ee){const _0x49e84d=a42_0x429806;if(this[_0x49e84d(0xef)][_0x19d5ee])return this['tests'][_0x19d5ee];const _0x2141a3=this[_0x49e84d(0x107)](_0x19d5ee);if(_0x2141a3&&fs[_0x49e84d(0xfb)](_0x2141a3)){const _0x2caf82=JSON[_0x49e84d(0xe8)](fs['readFileSync'](_0x2141a3)[_0x49e84d(0x12b)]());return this['tests'][_0x19d5ee]=_0x2caf82,_0x2caf82;}return{};}static[a42_0x429806(0x121)](_0x20b0d0,_0x483dbd){const _0x18cbce=a42_0x429806,_0xf5a5e7=this[_0x18cbce(0x107)](_0x20b0d0);if(_0xf5a5e7&&fs['existsSync'](_0xf5a5e7)){const _0x17b3ac=JSON[_0x18cbce(0xe8)](fs[_0x18cbce(0x10c)](_0xf5a5e7)[_0x18cbce(0x12b)]()),_0x476d1f={..._0x17b3ac,..._0x483dbd};this[_0x18cbce(0xef)][_0x20b0d0]=_0x476d1f;}else this[_0x18cbce(0xef)][_0x20b0d0]=_0x483dbd;fs[_0x18cbce(0xeb)](_0xf5a5e7,this[_0x18cbce(0xef)][_0x20b0d0]);}static[a42_0x429806(0x131)](_0x455479){const _0x37ed85=a42_0x429806,_0x41e18f={};_0x41e18f['dZKPr']='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x12bfc5=_0x41e18f;try{const _0x29dbe6=process['pid'],_0x5c16fa=path['join'](TestDetails[_0x37ed85(0x134)](),_0x29dbe6+_0x37ed85(0xfe));let _0x351239=[];_0x5c16fa&&fs[_0x37ed85(0xfb)](_0x5c16fa)&&(_0x351239=JSON['parse'](fs[_0x37ed85(0x10c)](_0x5c16fa)[_0x37ed85(0x12b)]())),!_0x351239[_0x37ed85(0xe1)](_0x1a80d2=>_0x1a80d2[_0x37ed85(0x113)]===_0x455479[_0x37ed85(0x113)])&&(_0x351239[_0x37ed85(0xe3)](_0x455479),fs[_0x37ed85(0xeb)](_0x5c16fa,JSON[_0x37ed85(0x139)](_0x351239)));}catch(_0x2e24b3){logger[_0x37ed85(0x11c)](_0x12bfc5[_0x37ed85(0x111)],_0x2e24b3);}}static['getTraceFilePaths'](){const _0x4185bf=a42_0x429806,_0x48bb43={};_0x48bb43['fRarm']=_0x4185bf(0xfe),_0x48bb43[_0x4185bf(0x11e)]=_0x4185bf(0x123);const _0x3371d0=_0x48bb43,_0x26c2ac=[];try{const _0x334485=TestDetails['getTraceZipDir']();if(_0x334485&&!fs['existsSync'](_0x334485))return _0x26c2ac;const _0x3282f6=fs[_0x4185bf(0x11a)](_0x334485);_0x3282f6['forEach'](_0x4cd168=>{const _0x1f870e=_0x4185bf;if(_0x4cd168&&_0x4cd168['endsWith'](_0x3371d0['fRarm'])){const _0x87cd1c=JSON[_0x1f870e(0xe8)](fs[_0x1f870e(0x10c)](path[_0x1f870e(0xf5)](_0x334485,_0x4cd168))[_0x1f870e(0x12b)]());_0x26c2ac[_0x1f870e(0xe3)](..._0x87cd1c);}});}catch(_0x308978){logger[_0x4185bf(0x11c)](util[_0x4185bf(0x13e)](_0x3371d0[_0x4185bf(0x11e)],_0x308978));}const _0x26f641={};return _0x26c2ac['forEach'](_0x5e0129=>{const _0xfdf231=_0x4185bf;_0x26f641[_0x5e0129[_0xfdf231(0x113)]]=_0x5e0129;}),Object[_0x4185bf(0x126)](_0x26f641);}static[a42_0x429806(0x115)](_0x38467e,_0x38998e){const _0x584daf=a42_0x429806,_0x161697={};_0x161697['qCKny']=_0x584daf(0x112),_0x161697[_0x584daf(0x101)]=_0x584daf(0x118);const _0x240628=_0x161697;try{const _0x314b31=path[_0x584daf(0xf5)](helper[_0x584daf(0x108)](),_0x240628[_0x584daf(0x12a)]);if(!fs[_0x584daf(0xfb)](_0x314b31)){const _0x2e2025={};_0x2e2025[_0x584daf(0x130)]=!![],fs[_0x584daf(0x110)](_0x314b31,_0x2e2025);}fs[_0x584daf(0x11f)](path[_0x584daf(0xf5)](_0x314b31,'trace_'+_0x38998e+_0x584daf(0x10f)),_0x38467e+'\x0a',_0x240628[_0x584daf(0x101)]);}catch(_0x438ce4){console[_0x584daf(0x11c)]('Error\x20writing\x20trace\x20file:\x20'+_0x438ce4['message']);}}}module[a42_0x429806(0x13a)]=TestDetails;
1
+ const a42_0x2f9e61=a42_0x5cbb;(function(_0x498c3f,_0x29fdde){const _0x2dacbd=a42_0x5cbb,_0x2aa95f=_0x498c3f();while(!![]){try{const _0x35b4b0=parseInt(_0x2dacbd(0x8b))/0x1+-parseInt(_0x2dacbd(0x87))/0x2+-parseInt(_0x2dacbd(0xb3))/0x3+parseInt(_0x2dacbd(0xa8))/0x4+parseInt(_0x2dacbd(0xdb))/0x5+-parseInt(_0x2dacbd(0x9f))/0x6+parseInt(_0x2dacbd(0xbd))/0x7;if(_0x35b4b0===_0x29fdde)break;else _0x2aa95f['push'](_0x2aa95f['shift']());}catch(_0x2b8222){_0x2aa95f['push'](_0x2aa95f['shift']());}}}(a42_0x15bc,0x5599c));function a42_0x5cbb(_0x2456c1,_0x136c5a){const _0x15bcfd=a42_0x15bc();return a42_0x5cbb=function(_0x5cbbfb,_0x52563d){_0x5cbbfb=_0x5cbbfb-0x86;let _0x4f68db=_0x15bcfd[_0x5cbbfb];return _0x4f68db;},a42_0x5cbb(_0x2456c1,_0x136c5a);}function a42_0x15bc(){const _0x2cefd0=['getProjectIdFromTestInfo','pkpXs','SoKFh','setup','_projectId','RsMMg','testId','trace_','appendToTracePaths','setAccessibilityPlatformValidation','.txt','qKpDU','RLqNa','../../../helpers/helper','_test','getStoreDirName','recursive','BTark','existsSync','dirPath','atRhr','tests','2475680IqaxSa','NPHTn','fbyVV','.browserstack','HxIMV','path','Error\x20reading\x20trace\x20file\x20paths:\x20%s','getTestUUID','../../../helpers/logger','util','setTestDetails','pid','lvuCA','eItmT','message','782760NTwOTx','join','_platformDetails.json','traceZipPaths','166627MDSwVv','split','getAccessibilityPlatformValidation','uwMHW','uuid','some','format','traceZipDir','getTestDetails','filePath','retry','values','pjoJN','cwd','stringify','forEach','vgnwD','getTraceFilePaths','getStoreDirPath','parse','944424qSqTZC','exports','KZgLY','winstonLogger','shutdown','.json','xBwiZ','vQsrm','_traceZipPaths.json','2503288amirKl','readFileSync','mkdirSync','endsWith','toString','dBkha','BgtoH','BS_TESTOPS_BUILD_HASHED_ID','__projectId','getTestIdFromTestInfo','getTestRunIdFromTestInfo','1891188wfczFf','axxWK','addTraceFilePath','writeFileSync','push','env','default','error','GGvvr','sErui','1695505DBtPnS','getTraceZipDir','rmSync','3|2|0|1|4','force','Error\x20writing\x20trace\x20file:\x20','getFilePath','../../../helpers/test-observability/constants'];a42_0x15bc=function(){return _0x2cefd0;};return a42_0x15bc();}const fs=require('fs'),path=require(a42_0x2f9e61(0xe0)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a42_0x2f9e61(0xc4)),{nestedKeyValue}=require(a42_0x2f9e61(0xd2)),logger=require(a42_0x2f9e61(0xe3))[a42_0x2f9e61(0xa2)],util=require(a42_0x2f9e61(0xe4)),helper=require(a42_0x2f9e61(0xd2));class TestDetails{static [a42_0x2f9e61(0xda)]={};static [a42_0x2f9e61(0xd8)]=path[a42_0x2f9e61(0x88)](process[a42_0x2f9e61(0x98)](),TestDetails[a42_0x2f9e61(0xd4)]());static [a42_0x2f9e61(0x92)]=path[a42_0x2f9e61(0x88)](TestDetails['dirPath'],'traceZipPaths');static[a42_0x2f9e61(0xc8)](){const _0x150498=a42_0x2f9e61,_0x4b7961={};_0x4b7961[_0x150498(0xa1)]=_0x150498(0xc0),_0x4b7961[_0x150498(0x8e)]='traceZipPaths';const _0x316cc7=_0x4b7961,_0x4ac4a8=_0x316cc7['KZgLY'][_0x150498(0x8c)]('|');let _0x20ce40=0x0;while(!![]){switch(_0x4ac4a8[_0x20ce40++]){case'0':this[_0x150498(0xa3)]();continue;case'1':const _0x2ad19c={};_0x2ad19c[_0x150498(0xd5)]=!![],fs[_0x150498(0xaa)](this[_0x150498(0xd8)],_0x2ad19c);continue;case'2':this[_0x150498(0x92)]=path[_0x150498(0x88)](this['dirPath'],_0x316cc7['uwMHW']);continue;case'3':this[_0x150498(0xd8)]=path[_0x150498(0x88)](process[_0x150498(0x98)](),TestDetails['getStoreDirName']());continue;case'4':const _0x409216={};_0x409216[_0x150498(0xd5)]=!![],fs[_0x150498(0xaa)](this[_0x150498(0x92)],_0x409216);continue;}break;}}static[a42_0x2f9e61(0xd4)](){const _0x4c524c=a42_0x2f9e61,_0x15c7c4={};_0x15c7c4[_0x4c524c(0xdd)]=function(_0x139c2b,_0x381632){return _0x139c2b+_0x381632;},_0x15c7c4['lvuCA']=function(_0x445aa8,_0x3835f6){return _0x445aa8+_0x3835f6;};const _0x231f18=_0x15c7c4;return _0x231f18['fbyVV'](_0x231f18[_0x4c524c(0xe7)](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x4c524c(0xaf)]);}static[a42_0x2f9e61(0x9d)](){const _0x4d3133=a42_0x2f9e61,_0x1f4ba4={};_0x1f4ba4[_0x4d3133(0xdf)]=function(_0x5eafa8,_0x2bda24){return _0x5eafa8+_0x2bda24;},_0x1f4ba4[_0x4d3133(0xbb)]=function(_0xf1c880,_0x96d531){return _0xf1c880+_0x96d531;},_0x1f4ba4['ZzyqR']=_0x4d3133(0xb9);const _0x19ac52=_0x1f4ba4;return path[_0x4d3133(0x88)](process[_0x4d3133(0x98)](),_0x19ac52[_0x4d3133(0xdf)](_0x19ac52[_0x4d3133(0xbb)](TEMP_STORE_DIR_NAME,'-'),process[_0x4d3133(0xb8)]['BS_TESTOPS_BUILD_HASHED_ID']||_0x19ac52['ZzyqR']));}static['getTraceZipDir'](){const _0x58a204=a42_0x2f9e61,_0x4702a6={};_0x4702a6['eItmT']=_0x58a204(0x8a);const _0xee39fb=_0x4702a6;return path['join'](this[_0x58a204(0x9d)](),_0xee39fb[_0x58a204(0xe8)]);}static[a42_0x2f9e61(0xc3)](_0xf30d41){const _0x4caf71=a42_0x2f9e61,_0x40d229={};_0x40d229[_0x4caf71(0xd6)]=function(_0x304d89,_0x3d74a9){return _0x304d89+_0x3d74a9;},_0x40d229['pkpXs']=_0x4caf71(0xa4);const _0x4bf0ce=_0x40d229;return path[_0x4caf71(0x88)](this[_0x4caf71(0xd8)],_0x4bf0ce['BTark'](_0xf30d41,_0x4bf0ce[_0x4caf71(0xc6)]));}static[a42_0x2f9e61(0xb2)](_0x14b9c8){const _0xcd7297=a42_0x2f9e61,_0x2b0b49={};_0x2b0b49['sErui']=function(_0x110e41,_0x524e85){return _0x110e41+_0x524e85;};const _0x1907c3=_0x2b0b49;return _0x1907c3[_0xcd7297(0xbc)](_0x1907c3[_0xcd7297(0xbc)](_0x1907c3['sErui'](_0x1907c3[_0xcd7297(0xbc)](this[_0xcd7297(0xc5)](_0x14b9c8),'-'),this[_0xcd7297(0xb1)](_0x14b9c8)),'-'),_0x14b9c8[_0xcd7297(0x95)]);}static['getProjectIdFromTestInfo'](_0x52531b){const _0x4bb612=a42_0x2f9e61,_0x53fe4a={'Wotqp':function(_0x2db2db,_0x1352d1,_0xc8cbe8){return _0x2db2db(_0x1352d1,_0xc8cbe8);},'BgtoH':'_test','SoKFh':_0x4bb612(0xc9),'xBwiZ':'project','vgnwD':_0x4bb612(0xb0)};return _0x53fe4a['Wotqp'](nestedKeyValue,_0x52531b,[_0x53fe4a[_0x4bb612(0xae)],_0x53fe4a[_0x4bb612(0xc7)]])||_0x53fe4a['Wotqp'](nestedKeyValue,_0x52531b,[_0x53fe4a[_0x4bb612(0xa5)],_0x53fe4a[_0x4bb612(0x9b)]]);}static[a42_0x2f9e61(0xb1)](_0x1052ba){const _0x2a7043=a42_0x2f9e61,_0x8b443e={'qKpDU':function(_0x322a6c,_0x167890,_0x15ec28){return _0x322a6c(_0x167890,_0x15ec28);},'RLqNa':_0x2a7043(0xd3)};return _0x8b443e[_0x2a7043(0xd0)](nestedKeyValue,_0x1052ba,[_0x8b443e[_0x2a7043(0xd1)],'id'])||_0x1052ba[_0x2a7043(0xcb)];}static[a42_0x2f9e61(0xe2)](_0x40611d){const _0x29258f=a42_0x2f9e61,_0x532ca5={'axxWK':function(_0x3e7431,_0xa378d2){return _0x3e7431===_0xa378d2;},'AjEWd':'string','dBkha':function(_0x40f031){return _0x40f031();}};if(this[_0x29258f(0xda)][_0x40611d]&&_0x532ca5[_0x29258f(0xb4)](typeof this[_0x29258f(0xda)][_0x40611d][_0x29258f(0x8f)],_0x532ca5['AjEWd']))return this[_0x29258f(0xda)][_0x40611d]['uuid'];const _0x47b9d4=this[_0x29258f(0xc3)](_0x40611d);if(_0x47b9d4&&fs[_0x29258f(0xd7)](_0x47b9d4)){const _0x225e2c=JSON[_0x29258f(0x9e)](fs[_0x29258f(0xa9)](_0x47b9d4)['toString']());return this[_0x29258f(0xda)][_0x40611d]=_0x225e2c,this['tests'][_0x40611d][_0x29258f(0x8f)];}return this[_0x29258f(0xda)][_0x40611d]={'uuid':_0x532ca5[_0x29258f(0xad)](uuidv4)},fs[_0x29258f(0xb6)](_0x47b9d4,JSON[_0x29258f(0x99)](this[_0x29258f(0xda)][_0x40611d])),this[_0x29258f(0xda)][_0x40611d][_0x29258f(0x8f)];}static[a42_0x2f9e61(0x8d)](_0x462c13){const _0x35bacc=a42_0x2f9e61,_0x2ccc6d=path[_0x35bacc(0x88)](this[_0x35bacc(0xd8)],_0x462c13+'_platformDetails.json');if(_0x2ccc6d&&fs['existsSync'](_0x2ccc6d))return fs[_0x35bacc(0xa9)](_0x2ccc6d)[_0x35bacc(0xac)]();}static[a42_0x2f9e61(0xce)](_0x272279,_0x3aa997){const _0x196419=a42_0x2f9e61,_0x557107=path[_0x196419(0x88)](this['dirPath'],_0x3aa997+_0x196419(0x89));fs[_0x196419(0xb6)](_0x557107,_0x272279[_0x196419(0xac)]());}static[a42_0x2f9e61(0xa3)](){const _0x28fc1b=a42_0x2f9e61,_0x10d01d={};_0x10d01d[_0x28fc1b(0xd5)]=!![],_0x10d01d[_0x28fc1b(0xc1)]=!![],fs[_0x28fc1b(0xbf)](this[_0x28fc1b(0xd8)],_0x10d01d);}static[a42_0x2f9e61(0x93)](_0x5e58f8){const _0x28ad0b=a42_0x2f9e61;if(this[_0x28ad0b(0xda)][_0x5e58f8])return this[_0x28ad0b(0xda)][_0x5e58f8];const _0x16b887=this['getFilePath'](_0x5e58f8);if(_0x16b887&&fs[_0x28ad0b(0xd7)](_0x16b887)){const _0x12150b=JSON[_0x28ad0b(0x9e)](fs['readFileSync'](_0x16b887)[_0x28ad0b(0xac)]());return this['tests'][_0x5e58f8]=_0x12150b,_0x12150b;}return{};}static[a42_0x2f9e61(0xe5)](_0x4018de,_0x23f3cc){const _0x5773e2=a42_0x2f9e61,_0x28b2c8=this[_0x5773e2(0xc3)](_0x4018de);if(_0x28b2c8&&fs[_0x5773e2(0xd7)](_0x28b2c8)){const _0xa85f3e=JSON[_0x5773e2(0x9e)](fs[_0x5773e2(0xa9)](_0x28b2c8)[_0x5773e2(0xac)]()),_0x4a1c4c={..._0xa85f3e,..._0x23f3cc};this[_0x5773e2(0xda)][_0x4018de]=_0x4a1c4c;}else this['tests'][_0x4018de]=_0x23f3cc;fs[_0x5773e2(0xb6)](_0x28b2c8,this[_0x5773e2(0xda)][_0x4018de]);}static[a42_0x2f9e61(0xb5)](_0x541e34){const _0x4d7470=a42_0x2f9e61,_0x3ac404={};_0x3ac404[_0x4d7470(0xca)]='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x5bbf18=_0x3ac404;try{const _0x1c52b3=process[_0x4d7470(0xe6)],_0x4c71ac=path[_0x4d7470(0x88)](TestDetails[_0x4d7470(0xbe)](),_0x1c52b3+_0x4d7470(0xa7));let _0x4623ad=[];_0x4c71ac&&fs['existsSync'](_0x4c71ac)&&(_0x4623ad=JSON[_0x4d7470(0x9e)](fs['readFileSync'](_0x4c71ac)[_0x4d7470(0xac)]())),!_0x4623ad[_0x4d7470(0x90)](_0x4c8617=>_0x4c8617[_0x4d7470(0x94)]===_0x541e34[_0x4d7470(0x94)])&&(_0x4623ad['push'](_0x541e34),fs['writeFileSync'](_0x4c71ac,JSON[_0x4d7470(0x99)](_0x4623ad)));}catch(_0x598797){logger[_0x4d7470(0xba)](_0x5bbf18[_0x4d7470(0xca)],_0x598797);}}static[a42_0x2f9e61(0x9c)](){const _0x52f6b5=a42_0x2f9e61,_0x2d5b70={};_0x2d5b70[_0x52f6b5(0xa6)]='_traceZipPaths.json',_0x2d5b70[_0x52f6b5(0x97)]=_0x52f6b5(0xe1);const _0x39d278=_0x2d5b70,_0x4fb302=[];try{const _0x139887=TestDetails[_0x52f6b5(0xbe)]();if(_0x139887&&!fs[_0x52f6b5(0xd7)](_0x139887))return _0x4fb302;const _0x1639b8=fs['readdirSync'](_0x139887);_0x1639b8[_0x52f6b5(0x9a)](_0x1a0ed4=>{const _0x554fc4=_0x52f6b5;if(_0x1a0ed4&&_0x1a0ed4[_0x554fc4(0xab)](_0x39d278[_0x554fc4(0xa6)])){const _0x2d4d8e=JSON[_0x554fc4(0x9e)](fs['readFileSync'](path[_0x554fc4(0x88)](_0x139887,_0x1a0ed4))[_0x554fc4(0xac)]());_0x4fb302[_0x554fc4(0xb7)](..._0x2d4d8e);}});}catch(_0x5057bb){logger[_0x52f6b5(0xba)](util[_0x52f6b5(0x91)](_0x39d278[_0x52f6b5(0x97)],_0x5057bb));}const _0x5ba11a={};return _0x4fb302[_0x52f6b5(0x9a)](_0x51ab8c=>{const _0x50784b=_0x52f6b5;_0x5ba11a[_0x51ab8c[_0x50784b(0x94)]]=_0x51ab8c;}),Object[_0x52f6b5(0x96)](_0x5ba11a);}static[a42_0x2f9e61(0xcd)](_0x2108b3,_0x34d519){const _0x4337b4=a42_0x2f9e61,_0x10b099={};_0x10b099[_0x4337b4(0xdc)]=_0x4337b4(0xde),_0x10b099['atRhr']='utf8';const _0x3bebf1=_0x10b099;try{const _0x44d42e=path[_0x4337b4(0x88)](helper['homedir'](),_0x3bebf1[_0x4337b4(0xdc)]);if(!fs[_0x4337b4(0xd7)](_0x44d42e)){const _0xb3f450={};_0xb3f450['recursive']=!![],fs['mkdirSync'](_0x44d42e,_0xb3f450);}fs['appendFileSync'](path[_0x4337b4(0x88)](_0x44d42e,_0x4337b4(0xcc)+_0x34d519+_0x4337b4(0xcf)),_0x2108b3+'\x0a',_0x3bebf1[_0x4337b4(0xd9)]);}catch(_0x2ada49){console[_0x4337b4(0xba)](_0x4337b4(0xc2)+_0x2ada49[_0x4337b4(0x86)]);}}}module[a42_0x2f9e61(0xa0)]=TestDetails;
@@ -1 +1 @@
1
- const a43_0x7ce662=a43_0x500a;(function(_0x2f3c6d,_0x41635e){const _0x314ec8=a43_0x500a,_0x4e75de=_0x2f3c6d();while(!![]){try{const _0x2d3043=-parseInt(_0x314ec8(0x97))/0x1*(-parseInt(_0x314ec8(0xc8))/0x2)+parseInt(_0x314ec8(0x72))/0x3*(-parseInt(_0x314ec8(0xa2))/0x4)+parseInt(_0x314ec8(0x88))/0x5+parseInt(_0x314ec8(0x70))/0x6*(parseInt(_0x314ec8(0xc6))/0x7)+parseInt(_0x314ec8(0xe1))/0x8*(parseInt(_0x314ec8(0x107))/0x9)+parseInt(_0x314ec8(0xed))/0xa+-parseInt(_0x314ec8(0xeb))/0xb;if(_0x2d3043===_0x41635e)break;else _0x4e75de['push'](_0x4e75de['shift']());}catch(_0x2301a6){_0x4e75de['push'](_0x4e75de['shift']());}}}(a43_0x224b,0x8544c));function a43_0x224b(){const _0x48b64c=['tPWGV','project','debug','includes','wsEndpoint','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','sessionError','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','Page','VipUh','fromEntries','CRConnection','Error\x20in\x20finding\x20platform\x20details\x20','xDKgA','8RlRzpE','util','browser','format','eTwVD','bsSessionId','tXMkb','dispatch','fSaZa','VssBB','16558300gRatAO','getDetails','1448200dwYOLf','currentSessionDetails','accessibilityPlatform','exports','OUkYg','HgIUV','playwright-','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','_type','params','function','platform_version','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','join','connection.js','ztADX','platformVersion','lAxuV','safari','../../helpers/test-observability/error-handler','zVBkl','_name','_defaultConnectOptions','byDJa','performScan','use','1166229Gabxcd','aNnYF','defineProperty','yGmLE','ZSQZz','toLowerCase','Error\x20in\x20importing\x20crConnection','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','Oxozg','patchConnection','EgWgA','browserstack','UUXni','browserstack-ats.com','FUZWJ','jDfgn','JZveb','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','NvGVm','platformName','2857524gkAegQ','currentTest','75291JUjSft','XQazm','PcqBP','firefox','pKprK','WNOqv','parse','sendMessageToServer','QFqbr','local_grid','crConnection.js','lLwyW','platform','VSaqs','isRemote','rirVz','zPHgA','_browserType','yIQpu','product','../../helpers/test-observability/utils','bstackPerformA11yScan','3487525LnKQso','sessionId','titlePath','bShbW','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','IzJFY','../../helpers/accessibility-automation/scripts','LMlcx','bStackParams','AitxS','deviceModel','query','qPSZJ','mcePH','patch','678299xWgEKC','prototype','_onMessage','edge','setupBrowserDetails','capabilities','__workerDetails','chromium','../../bin/playwright/accessibility-helper','ATS_WSS_URL_REGEX','WwlAq','12KaoSpq','lib','chrome','browserstack.com','shouldWrapCommand','kTzNI','thCCR','model','unknown_grid','testInfo','ukYSj','bsParams','gGyjx','caps','../utils/constants','../../helpers/accessibility-automation/helper','ssYSl','../../helpers/logger','cloudProvider','apply','htAiM','path','platformDetails','BROWSERSTACK_TEST_OBSERVABILITY','browserName','yyxir','toString','connectOptions','Error\x20in\x20importing\x20connection\x20','MAhvY','__driver','YToYd','assign','browser_version','version','GJqIQ','7tVgBAf','hqjnX','2bOwzBk','Device\x20Model\x20is\x20not\x20available','Connection','PYAUI','TDUcy','Wpmpx','method','FrZoj','msUaK','Not\x20able\x20to\x20import\x20crConnection','winstonLogger'];a43_0x224b=function(){return _0x48b64c;};return a43_0x224b();}function a43_0x500a(_0x580a4c,_0x25dd69){const _0x224b21=a43_0x224b();return a43_0x500a=function(_0x500ae4,_0x383816){_0x500ae4=_0x500ae4-0x66;let _0x334416=_0x224b21[_0x500ae4];return _0x334416;},a43_0x500a(_0x580a4c,_0x25dd69);}const path=require(a43_0x7ce662(0xb7)),url=require('url'),util=require(a43_0x7ce662(0xe2)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require('../../helpers/helper'),{o11yErrorHandler}=require(a43_0x7ce662(0x100)),{debug,getPlatformDetails}=require(a43_0x7ce662(0x86)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x7ce662(0xb1)),logger=require(a43_0x7ce662(0xb3))[a43_0x7ce662(0xd2)],scripts=require(a43_0x7ce662(0x8e)),{browserStackExecuteDriver}=require(a43_0x7ce662(0x9f)),AccessibilityHelper=require('./accessibility-helper'),constants=require(a43_0x7ce662(0xb0)),getBrowserNameFromChannel=_0x1253cd=>{const _0x5adab4=a43_0x7ce662,_0x52c906={};_0x52c906[_0x5adab4(0x111)]=_0x5adab4(0xa4),_0x52c906['PcqBP']=_0x5adab4(0x9a),_0x52c906['yyxir']=_0x5adab4(0x75),_0x52c906[_0x5adab4(0xb6)]=_0x5adab4(0xff);const _0xfbdd16=_0x52c906;if(_0x1253cd[_0x5adab4(0xd6)](_0xfbdd16['EgWgA']))return _0xfbdd16[_0x5adab4(0x111)];if(_0x1253cd[_0x5adab4(0xd6)](_0xfbdd16[_0x5adab4(0x74)]))return _0xfbdd16[_0x5adab4(0x74)];if(_0x1253cd[_0x5adab4(0xd6)](_0xfbdd16[_0x5adab4(0xbb)]))return _0xfbdd16['yyxir'];if(_0x1253cd['includes'](_0xfbdd16[_0x5adab4(0xb6)]))return _0xfbdd16[_0x5adab4(0xb6)];},getBrowserFromWSEndpoint=_0x5d4c2b=>{const _0xd2da64=a43_0x7ce662,_0x524972={'emTGd':_0xd2da64(0xa4),'YToYd':function(_0x671aa4,_0x42e357){return _0x671aa4(_0x42e357);}};try{const _0x4503f7=url['parse'](_0x5d4c2b),_0xc0fc28=new URLSearchParams(_0x4503f7[_0xd2da64(0x93)]),_0xa93c5c=Object[_0xd2da64(0xdd)](_0xc0fc28['entries']()),_0x563167=JSON[_0xd2da64(0x78)](_0xa93c5c[_0xd2da64(0xaf)]);if(_0x563167&&(_0x563167[_0xd2da64(0xe3)]||_0x563167[_0xd2da64(0xba)]))return _0x563167[_0xd2da64(0xe3)]||_0x563167[_0xd2da64(0xba)];return _0x524972['emTGd'];}catch(_0x297721){_0x524972[_0xd2da64(0xc1)](debug,_0xd2da64(0xd8)+_0x297721[_0xd2da64(0xbc)]());}},getCloudProviderFromWsEndpoint=_0x9acae3=>{const _0x54d446=a43_0x7ce662,_0x389c97={};_0x389c97[_0x54d446(0xcd)]=_0x54d446(0xa5),_0x389c97['kTzNI']=_0x54d446(0x68),_0x389c97[_0x54d446(0xe0)]=_0x54d446(0x66),_0x389c97[_0x54d446(0xc5)]=_0x54d446(0xaa);const _0x9ef357=_0x389c97;if(_0x9acae3[_0x54d446(0xd6)](_0x9ef357['Wpmpx'])||_0x9acae3['includes'](_0x9ef357[_0x54d446(0xa7)]))return _0x9ef357[_0x54d446(0xe0)];return _0x9ef357['GJqIQ'];},a43_0x3e6aeb={};a43_0x3e6aeb[a43_0x7ce662(0xb4)]=undefined,a43_0x3e6aeb[a43_0x7ce662(0xe6)]=undefined,a43_0x3e6aeb[a43_0x7ce662(0xe3)]=undefined,a43_0x3e6aeb[a43_0x7ce662(0xc3)]=undefined,a43_0x3e6aeb[a43_0x7ce662(0x7e)]=undefined,a43_0x3e6aeb['platform_version']=undefined,a43_0x3e6aeb['product']=undefined,a43_0x3e6aeb[a43_0x7ce662(0x9c)]={};class PlaywrightSessionDetails{static [a43_0x7ce662(0xee)]=a43_0x3e6aeb;constructor(){const _0x48d2ff=a43_0x7ce662,_0x19968a={};_0x19968a[_0x48d2ff(0x69)]=_0x48d2ff(0x10e);const _0x4f211a=_0x19968a;throw new Error(_0x4f211a[_0x48d2ff(0x69)]);}static [a43_0x7ce662(0xd9)]=null;static[a43_0x7ce662(0x9b)](_0x21ccf0,_0x92925e,_0x218f38=null){const _0x3f2a3e=a43_0x7ce662,_0xfe3e24={'HgIUV':function(_0x1a7227,_0xaa06cb){return _0x1a7227===_0xaa06cb;},'LMlcx':_0x3f2a3e(0xf7),'mcePH':_0x3f2a3e(0x8c),'byDJa':function(_0x58eee7,_0x37f224){return _0x58eee7===_0x37f224;},'hqjnX':_0x3f2a3e(0xc9),'jDfgn':_0x3f2a3e(0x7b),'rirVz':function(_0x4315d6,_0x4a61ad,_0xcb62ba){return _0x4315d6(_0x4a61ad,_0xcb62ba);},'VSaqs':_0x3f2a3e(0x83),'AitxS':_0x3f2a3e(0x103),'gnpVo':'project','XQazm':_0x3f2a3e(0x106),'FrZoj':_0x3f2a3e(0xbd),'ukYSj':function(_0x1d5580,_0x1c83dd){return _0x1d5580(_0x1c83dd);},'OUkYg':'browserstack','bShbW':'turboscale','eTwVD':'automate','TDUcy':function(_0x303bdf,_0x2e9714){return _0x303bdf(_0x2e9714);},'MAhvY':function(_0x4bc66e,_0x44befc){return _0x4bc66e+_0x44befc;},'gACjH':_0x3f2a3e(0xf3),'ZSQZz':function(_0x521c56){return _0x521c56();},'qPSZJ':function(_0x9ede08,_0xab2fee,_0x6bca12){return _0x9ede08(_0xab2fee,_0x6bca12);},'JjpbV':_0x3f2a3e(0x9b)},_0x2bc16f=this;return _0xfe3e24[_0x3f2a3e(0x94)](o11yErrorHandler,async function _0x11c36e(_0x2152c7,_0x4debb5,_0x467c98=null){const _0x3f1619=_0x3f2a3e;let _0x3f8078=_0x2152c7[_0x3f1619(0x102)],_0x1213ed=null;_0x2152c7&&_0xfe3e24[_0x3f1619(0xf2)](typeof _0x2152c7['version'],_0xfe3e24[_0x3f1619(0x8f)])?_0x1213ed=_0x2152c7[_0x3f1619(0xc4)]():logger[_0x3f1619(0xd5)](_0xfe3e24[_0x3f1619(0x95)]);let _0x2995f4=null;_0x2152c7&&_0xfe3e24[_0x3f1619(0x104)](typeof _0x2152c7[_0x3f1619(0xa9)],_0xfe3e24[_0x3f1619(0x8f)])?_0x2995f4=_0x2152c7[_0x3f1619(0xa9)]():logger[_0x3f1619(0xd5)](_0xfe3e24[_0x3f1619(0xc7)]);let _0x1a71de=null,_0x14f634=null,_0x3a3679=null,_0x29986b=_0xfe3e24[_0x3f1619(0x6a)];if(_0x2152c7['_connection'][_0x3f1619(0x80)]()||global[_0x3f1619(0xef)]){let _0x3a491c=null;_0xfe3e24[_0x3f1619(0x81)](nestedKeyValue,_0x2152c7,[_0xfe3e24[_0x3f1619(0x7f)],_0xfe3e24[_0x3f1619(0x91)]])?_0x3a491c=_0x2152c7[_0x3f1619(0x83)][_0x3f1619(0x103)]:_0x3a491c=_0xfe3e24[_0x3f1619(0x81)](nestedKeyValue,_0x4debb5,[_0xfe3e24['gnpVo'],_0xfe3e24[_0x3f1619(0x73)],_0xfe3e24[_0x3f1619(0xcf)]]);const _0x5927d2=_0x467c98||_0x3a491c&&_0x3a491c[_0x3f1619(0xd7)];_0x5927d2&&(_0x29986b=_0xfe3e24[_0x3f1619(0xac)](getCloudProviderFromWsEndpoint,_0x5927d2),_0xfe3e24[_0x3f1619(0xf2)](_0x29986b,_0xfe3e24[_0x3f1619(0xf1)])&&(_0x3a3679=constants[_0x3f1619(0xa0)]['test'](_0x5927d2)?_0xfe3e24[_0x3f1619(0x8b)]:_0xfe3e24[_0x3f1619(0xe5)],_0x3f8078=_0xfe3e24['TDUcy'](getBrowserFromWSEndpoint,_0x5927d2)||_0x3f8078,_0x1a71de=_0x2bc16f[_0x3f1619(0xee)][_0x3f1619(0x7e)],_0x14f634=_0x2bc16f['currentSessionDetails'][_0x3f1619(0xf8)]));}else{_0x4debb5&&_0x4debb5['project'][_0x3f1619(0x106)]['channel']?_0x3f8078=_0xfe3e24[_0x3f1619(0xcc)](getBrowserNameFromChannel,_0x4debb5[_0x3f1619(0xd4)][_0x3f1619(0x106)]['channel']):_0x3f8078=_0xfe3e24[_0x3f1619(0xbf)](_0xfe3e24['gACjH'],_0x3f8078[_0x3f1619(0x10c)]());const _0x50fe1d=await _0xfe3e24[_0x3f1619(0x10b)](getPlatformDetails);_0x1a71de=_0x50fe1d[_0x3f1619(0x6f)],_0x14f634=_0x50fe1d[_0x3f1619(0xfd)];}const _0x1b0c8a={};_0x1b0c8a[_0x3f1619(0xe3)]=_0x3f8078,_0x1b0c8a['browser_version']=_0x1213ed,_0x1b0c8a[_0x3f1619(0x9c)]={},_0x1b0c8a[_0x3f1619(0x7e)]=_0x1a71de,_0x1b0c8a[_0x3f1619(0xf8)]=_0x14f634,_0x1b0c8a[_0x3f1619(0x85)]=_0x3a3679;const _0x18b044=_0x1b0c8a;_0x2995f4&&(_0x18b044[_0x3f1619(0x9c)][_0x3f1619(0x92)]=_0x2995f4);const _0x521547={};_0x521547[_0x3f1619(0xb4)]=_0x29986b,_0x2bc16f[_0x3f1619(0xee)]=Object[_0x3f1619(0xc2)]({},_0x2bc16f[_0x3f1619(0xee)],_0x521547,_0x18b044);},_0xfe3e24['JjpbV'])(_0x21ccf0,_0x92925e,_0x218f38);}static[a43_0x7ce662(0x96)](){const _0x3254a1=a43_0x7ce662;this[_0x3254a1(0x110)](),this['patchCRConnection']();}static[a43_0x7ce662(0x110)](){const _0x13512b=a43_0x7ce662,_0x4e2055={'Oxozg':function(_0x4eb5c6,_0x3a4de2,_0x11ddf8){return _0x4eb5c6(_0x3a4de2,_0x11ddf8);},'NvGVm':_0x13512b(0x71),'QFqbr':_0x13512b(0xab),'PYAUI':_0x13512b(0x8a),'UUXni':_0x13512b(0x9d),'IzJFY':'pwPage','pKprK':function(_0x17692a,_0x4062ca){return _0x17692a===_0x4062ca;},'ztADX':_0x13512b(0xdb),'lLwyW':function(_0x44fe5e,_0x398bf3,_0x5cbed9,_0x3e6f84){return _0x44fe5e(_0x398bf3,_0x5cbed9,_0x3e6f84);},'WwlAq':function(_0x1a0087,_0x335c2d){return _0x1a0087(_0x335c2d);},'aNnYF':function(_0x557a75,_0x34241f){return _0x557a75(_0x34241f);},'RvfHs':_0x13512b(0xa3),'ikjKC':'client','FPuzS':_0x13512b(0xfb),'fSaZa':function(_0xd3ea7c,_0x43390c){return _0xd3ea7c(_0x43390c);},'zPHgA':'Not\x20able\x20to\x20import\x20Connection','yIQpu':function(_0x4fbb0f,_0x2b9543){return _0x4fbb0f!=_0x2b9543;},'tXMkb':function(_0x14dd1f){return _0x14dd1f();},'zVBkl':_0x13512b(0x79),'msUaK':function(_0x31f188,_0x140b0f){return _0x31f188(_0x140b0f);},'MQcnI':'dispatch','thCCR':function(_0x867c56,_0x25a53f){return _0x867c56(_0x25a53f);}},_0x507a46=this;if(!this[_0x13512b(0xca)])try{const _0x52812c=path[_0x13512b(0xfa)](_0x4e2055['RvfHs'],_0x4e2055['ikjKC'],_0x4e2055['FPuzS']),_0x325178=_0x4e2055[_0x13512b(0xe9)](importFileFromPWCore,_0x52812c);!_0x325178?_0x4e2055[_0x13512b(0xa1)](debug,_0x4e2055[_0x13512b(0x82)]):this[_0x13512b(0xca)]=_0x325178['Connection'];}catch(_0x215859){_0x4e2055[_0x13512b(0xa1)](debug,_0x13512b(0xbe)+_0x215859[_0x13512b(0xbc)]());}const _0x431209=this['Connection'];try{if(_0x4e2055[_0x13512b(0x84)](_0x431209,null)){const _0x5c7fa3=_0x431209['prototype'][_0x13512b(0xe8)],_0xe359db=_0x431209[_0x13512b(0x98)][_0x13512b(0x79)];_0x4e2055[_0x13512b(0xe7)](isAccessibilityAutomationSession)&&Object[_0x13512b(0x109)](_0x431209[_0x13512b(0x98)],_0x4e2055[_0x13512b(0x101)],{'get':function(){return async function(){const _0x358703=a43_0x500a;try{if(!global[_0x358703(0x87)]&&global['accessibilityPlatform']&&_0x4e2055['Oxozg'](nestedKeyValue,global['__workerDetails'],[_0x4e2055[_0x358703(0x6e)],_0x4e2055[_0x358703(0x7a)],_0x4e2055[_0x358703(0xcb)]])&&_0x4e2055[_0x358703(0x10f)](shouldScanTestForAccessibility,global['__workerDetails'][_0x358703(0x71)][_0x358703(0xab)]['titlePath'],!![])&&scripts[_0x358703(0xa6)](arguments[0x1])){logger[_0x358703(0xd5)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x358703(0x87)]=!![];const _0x1dc30f=_0x4e2055[_0x358703(0x10f)](nestedKeyValue,global,[_0x4e2055[_0x358703(0x67)],_0x4e2055[_0x358703(0x8d)]]),_0x5acefc={};_0x5acefc[_0x358703(0xce)]=arguments[0x1],_0x1dc30f&&logger[_0x358703(0xd5)](util['format'](await AccessibilityHelper[_0x358703(0x105)](_0x1dc30f,_0x5acefc)));if(_0x4e2055[_0x358703(0x76)](arguments[0x0][_0x358703(0xf5)],_0x4e2055[_0x358703(0xfc)])&&global[_0x358703(0xc0)]){const _0xa592d9={};_0xa592d9[_0x358703(0xce)]=arguments[0x1],await _0x4e2055[_0x358703(0x7d)](browserStackExecuteDriver,global[_0x358703(0xc0)],scripts[_0x358703(0x105)],_0xa592d9);}}}catch(_0x27b510){logger[_0x358703(0xd5)]('Failed\x20to\x20perform\x20scan\x20'+util[_0x358703(0xe4)](_0x27b510));}return global[_0x358703(0x87)]=![],_0xe359db[_0x358703(0xb5)](this,arguments);};}}),!_0x4e2055[_0x13512b(0xd0)](isFalse,process['env'][_0x13512b(0xb9)])&&Object[_0x13512b(0x109)](_0x431209['prototype'],_0x4e2055['MQcnI'],{'get':function(){return function _0x546304(_0x2a93d8){const _0x11a745=a43_0x500a,_0x611ff8=_0x2a93d8&&_0x2a93d8[_0x11a745(0xf6)]&&_0x2a93d8['params'][_0x11a745(0xad)];if(_0x611ff8){const _0x5549b4=_0x611ff8[_0x11a745(0x89)],_0x2311e5=_0x611ff8[_0x11a745(0xb8)];_0x2311e5&&(_0x4e2055[_0x11a745(0xa1)](debug,_0x11a745(0x6d)+_0x2311e5[_0x11a745(0xbc)]()),_0x507a46[_0x11a745(0xee)]['platform']=_0x2311e5[_0x11a745(0x6f)],_0x507a46[_0x11a745(0xee)][_0x11a745(0xf8)]=_0x2311e5['platformVersion']),_0x5549b4&&(_0x4e2055[_0x11a745(0x108)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x5549b4),_0x507a46['currentSessionDetails'][_0x11a745(0xe6)]=_0x5549b4);}return _0x5c7fa3[_0x11a745(0xb5)](this,arguments);};}});}}catch(_0x3fbd45){_0x4e2055[_0x13512b(0xa8)](debug,_0x13512b(0xda)+_0x3fbd45),_0x507a46[_0x13512b(0xd9)]=_0x3fbd45[_0x13512b(0xbc)]();}}static['patchCRConnection'](){const _0x406810=a43_0x7ce662,_0x1504e5={'gGyjx':function(_0x462b6e,_0x21beac){return _0x462b6e(_0x21beac);},'VipUh':function(_0x4e0b11,_0x47d7e5){return _0x4e0b11(_0x47d7e5);},'ssYSl':function(_0x287de1,_0x2a8fc3){return _0x287de1(_0x2a8fc3);},'PdXWO':function(_0x4fb984){return _0x4fb984();},'tPWGV':_0x406810(0xa3),'VssBB':'server','uTTwl':_0x406810(0x9e),'yGmLE':_0x406810(0x7c),'WlkgA':function(_0x43a0a8,_0xe3f95){return _0x43a0a8(_0xe3f95);},'lAxuV':_0x406810(0xd1),'jPPrj':function(_0x57bd65,_0x54f0cb){return _0x57bd65(_0x54f0cb);},'WNOqv':_0x406810(0x10d),'ejkbh':function(_0x3cbd86,_0x365887){return _0x3cbd86!=_0x365887;},'JZveb':_0x406810(0x99)},_0x5908a2=this;if(_0x1504e5['PdXWO'](isAccessibilityAutomationSession)){let _0xf83ea5=null;try{const _0x16128e=path[_0x406810(0xfa)](_0x1504e5[_0x406810(0xd3)],_0x1504e5[_0x406810(0xea)],_0x1504e5['uTTwl'],_0x1504e5[_0x406810(0x10a)]),_0x1f0ac9=_0x1504e5['WlkgA'](importFileFromPWCore,_0x16128e);!_0x1f0ac9?_0x1504e5['VipUh'](debug,_0x1504e5[_0x406810(0xfe)]):_0xf83ea5=_0x1f0ac9[_0x406810(0xde)];}catch(_0x174d86){_0x1504e5['jPPrj'](debug,_0x1504e5[_0x406810(0x77)]);}try{if(_0x1504e5['ejkbh'](_0xf83ea5,null)){const _0x4ca2a1=_0xf83ea5[_0x406810(0x98)][_0x406810(0x99)];Object[_0x406810(0x109)](_0xf83ea5[_0x406810(0x98)],_0x1504e5[_0x406810(0x6b)],{'get':function(){return function _0x2544bf(_0x20ece2){const _0x529364=a43_0x500a;try{const _0x36f078=_0x20ece2[_0x529364(0x90)];if(_0x36f078){delete _0x20ece2[_0x529364(0x90)];const _0x224d81=_0x36f078[_0x529364(0x89)],_0x264106=_0x36f078['platformDetails'];_0x264106&&(_0x1504e5[_0x529364(0xae)](debug,_0x529364(0x6c)+_0x264106['toString']()),_0x5908a2[_0x529364(0xee)][_0x529364(0x7e)]=_0x264106[_0x529364(0x6f)],_0x5908a2[_0x529364(0xee)][_0x529364(0xf8)]=_0x264106[_0x529364(0xfd)]),_0x224d81&&(_0x1504e5[_0x529364(0xdc)](debug,_0x529364(0xf4)+_0x224d81),_0x5908a2[_0x529364(0xee)][_0x529364(0xe6)]=_0x224d81);}}catch(_0x42d1a3){_0x1504e5[_0x529364(0xb2)](debug,_0x529364(0xdf)+_0x42d1a3[_0x529364(0xbc)]());}return _0x4ca2a1[_0x529364(0xb5)](this,arguments);};}});}}catch(_0x373fb5){_0x1504e5[_0x406810(0xae)](debug,_0x406810(0xf9)+_0x373fb5),_0x5908a2[_0x406810(0xd9)]=_0x373fb5[_0x406810(0xbc)]();}}}static[a43_0x7ce662(0xec)](){const _0x108e17=a43_0x7ce662;return this[_0x108e17(0xee)];}}module[a43_0x7ce662(0xf0)]=PlaywrightSessionDetails;
1
+ const a43_0x273b47=a43_0x2e67;function a43_0x2e67(_0x5e3fb7,_0x2ddfa1){const _0x4031c8=a43_0x4031();return a43_0x2e67=function(_0x2e6741,_0x542c56){_0x2e6741=_0x2e6741-0x10a;let _0x1356e1=_0x4031c8[_0x2e6741];return _0x1356e1;},a43_0x2e67(_0x5e3fb7,_0x2ddfa1);}(function(_0x2fbcac,_0x1cf04d){const _0x91f069=a43_0x2e67,_0x44bcfb=_0x2fbcac();while(!![]){try{const _0xc43397=-parseInt(_0x91f069(0x11c))/0x1+-parseInt(_0x91f069(0x16a))/0x2*(-parseInt(_0x91f069(0x132))/0x3)+-parseInt(_0x91f069(0x17b))/0x4+parseInt(_0x91f069(0x164))/0x5+-parseInt(_0x91f069(0x174))/0x6*(-parseInt(_0x91f069(0x1ac))/0x7)+-parseInt(_0x91f069(0x167))/0x8*(parseInt(_0x91f069(0x12b))/0x9)+parseInt(_0x91f069(0x195))/0xa*(-parseInt(_0x91f069(0x154))/0xb);if(_0xc43397===_0x1cf04d)break;else _0x44bcfb['push'](_0x44bcfb['shift']());}catch(_0xf309fa){_0x44bcfb['push'](_0x44bcfb['shift']());}}}(a43_0x4031,0xb9ca4));const path=require(a43_0x273b47(0x113)),url=require('url'),util=require(a43_0x273b47(0x137)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a43_0x273b47(0x13f)),{o11yErrorHandler}=require(a43_0x273b47(0x1a7)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),logger=require(a43_0x273b47(0x110))['winstonLogger'],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require(a43_0x273b47(0x138)),AccessibilityHelper=require(a43_0x273b47(0x18e)),constants=require(a43_0x273b47(0x194)),getBrowserNameFromChannel=_0x4c0bfc=>{const _0x8d2e50=a43_0x273b47,_0x3d2f9b={};_0x3d2f9b[_0x8d2e50(0x11e)]=_0x8d2e50(0x18d),_0x3d2f9b[_0x8d2e50(0x1a9)]=_0x8d2e50(0x131),_0x3d2f9b['CkunT']='firefox',_0x3d2f9b['yryji']=_0x8d2e50(0x121);const _0x470b8e=_0x3d2f9b;if(_0x4c0bfc['includes'](_0x470b8e[_0x8d2e50(0x11e)]))return _0x470b8e[_0x8d2e50(0x11e)];if(_0x4c0bfc[_0x8d2e50(0x189)](_0x470b8e['PcMPO']))return _0x470b8e['PcMPO'];if(_0x4c0bfc[_0x8d2e50(0x189)](_0x470b8e[_0x8d2e50(0x146)]))return _0x470b8e[_0x8d2e50(0x146)];if(_0x4c0bfc[_0x8d2e50(0x189)](_0x470b8e[_0x8d2e50(0x161)]))return _0x470b8e[_0x8d2e50(0x161)];},getBrowserFromWSEndpoint=_0xbdb1c3=>{const _0x502f00=a43_0x273b47,_0x28c0ed={'ACnqC':_0x502f00(0x18d),'XbeuY':function(_0x41fd14,_0x52553b){return _0x41fd14(_0x52553b);}};try{const _0x33c3d6=url[_0x502f00(0x10a)](_0xbdb1c3),_0x38c85e=new URLSearchParams(_0x33c3d6[_0x502f00(0x185)]),_0x19acac=Object[_0x502f00(0x172)](_0x38c85e[_0x502f00(0x170)]()),_0x366e55=JSON['parse'](_0x19acac[_0x502f00(0x16b)]);if(_0x366e55&&(_0x366e55[_0x502f00(0x143)]||_0x366e55[_0x502f00(0x168)]))return _0x366e55['browser']||_0x366e55[_0x502f00(0x168)];return _0x28c0ed['ACnqC'];}catch(_0x49b340){_0x28c0ed[_0x502f00(0x12e)](debug,_0x502f00(0x13b)+_0x49b340['toString']());}},getCloudProviderFromWsEndpoint=_0x27b340=>{const _0x194ddf=a43_0x273b47,_0x3665bb={};_0x3665bb[_0x194ddf(0x190)]=_0x194ddf(0x15b),_0x3665bb[_0x194ddf(0x16f)]=_0x194ddf(0x136),_0x3665bb[_0x194ddf(0x14e)]=_0x194ddf(0x17c),_0x3665bb[_0x194ddf(0x151)]=_0x194ddf(0x16c);const _0x5cf643=_0x3665bb;if(_0x27b340[_0x194ddf(0x189)](_0x5cf643[_0x194ddf(0x190)])||_0x27b340[_0x194ddf(0x189)](_0x5cf643[_0x194ddf(0x16f)]))return _0x5cf643['zbLuU'];return _0x5cf643[_0x194ddf(0x151)];},a43_0xe34b74={};a43_0xe34b74[a43_0x273b47(0x173)]=undefined,a43_0xe34b74[a43_0x273b47(0x191)]=undefined,a43_0xe34b74['browser']=undefined,a43_0xe34b74[a43_0x273b47(0x1ae)]=undefined,a43_0xe34b74[a43_0x273b47(0x133)]=undefined,a43_0xe34b74[a43_0x273b47(0x156)]=undefined,a43_0xe34b74['product']=undefined,a43_0xe34b74[a43_0x273b47(0x17e)]={};class PlaywrightSessionDetails{static [a43_0x273b47(0x169)]=a43_0xe34b74;constructor(){const _0x47027c=a43_0x273b47,_0x29e4d0={};_0x29e4d0[_0x47027c(0x18b)]=_0x47027c(0x152);const _0x43b94b=_0x29e4d0;throw new Error(_0x43b94b[_0x47027c(0x18b)]);}static ['sessionError']=null;static[a43_0x273b47(0x120)](_0x17bb81,_0x3dd758,_0x2b4c8e=null){const _0x2a69be=a43_0x273b47,_0x4a687c={'XpDgN':function(_0x1b832f,_0xe1117f){return _0x1b832f===_0xe1117f;},'PgdMW':_0x2a69be(0x183),'JfnQI':_0x2a69be(0x17f),'sqMfe':_0x2a69be(0x175),'sNWDt':_0x2a69be(0x1a0),'anVbQ':function(_0x335edc,_0x12a5a0,_0x389a10){return _0x335edc(_0x12a5a0,_0x389a10);},'FWsTc':'_browserType','zFviW':_0x2a69be(0x157),'TSbBv':function(_0x3063b8,_0x176917,_0x172fdb){return _0x3063b8(_0x176917,_0x172fdb);},'kVKUu':_0x2a69be(0x159),'ketVf':_0x2a69be(0x162),'bnEqS':_0x2a69be(0x148),'irvsG':function(_0x10ae1a,_0x4dc862){return _0x10ae1a(_0x4dc862);},'CEJPl':_0x2a69be(0x17c),'relFA':_0x2a69be(0x14f),'HLTAH':_0x2a69be(0x123),'nXDXy':function(_0x3a13c6,_0x49f93c){return _0x3a13c6(_0x49f93c);},'xUhTV':function(_0x31e7d7,_0x32a7ff){return _0x31e7d7(_0x32a7ff);},'AsLJp':function(_0x1edc66,_0x1ded77){return _0x1edc66+_0x1ded77;},'yPSWV':'playwright-','tAacl':function(_0xb40e4b){return _0xb40e4b();},'TeFBb':'setupBrowserDetails'},_0x310dc9=this;return _0x4a687c[_0x2a69be(0x153)](o11yErrorHandler,async function _0xb6f63e(_0x3e6958,_0x22bf67,_0x91d040=null){const _0x40166a=_0x2a69be;let _0x57cfdb=_0x3e6958[_0x40166a(0x124)],_0x11c561=null;_0x3e6958&&_0x4a687c['XpDgN'](typeof _0x3e6958[_0x40166a(0x126)],_0x4a687c['PgdMW'])?_0x11c561=_0x3e6958['version']():logger[_0x40166a(0x145)](_0x4a687c[_0x40166a(0x119)]);let _0x188075=null;_0x3e6958&&_0x4a687c[_0x40166a(0x149)](typeof _0x3e6958[_0x40166a(0x176)],_0x4a687c[_0x40166a(0x11b)])?_0x188075=_0x3e6958[_0x40166a(0x176)]():logger[_0x40166a(0x145)](_0x4a687c[_0x40166a(0x187)]);let _0xb34cb7=null,_0x57c609=null,_0xe26225=null,_0x2611cc=_0x4a687c[_0x40166a(0x141)];if(_0x3e6958[_0x40166a(0x116)][_0x40166a(0x1a8)]()||global[_0x40166a(0x1ad)]){let _0x14247d=null;_0x4a687c[_0x40166a(0x153)](nestedKeyValue,_0x3e6958,[_0x4a687c[_0x40166a(0x15e)],_0x4a687c[_0x40166a(0x118)]])?_0x14247d=_0x3e6958[_0x40166a(0x19c)][_0x40166a(0x157)]:_0x14247d=_0x4a687c[_0x40166a(0x178)](nestedKeyValue,_0x22bf67,[_0x4a687c[_0x40166a(0x18f)],_0x4a687c[_0x40166a(0x114)],_0x4a687c[_0x40166a(0x180)]]);const _0x385882=_0x91d040||_0x14247d&&_0x14247d[_0x40166a(0x11d)];_0x385882&&(_0x2611cc=_0x4a687c[_0x40166a(0x19d)](getCloudProviderFromWsEndpoint,_0x385882),_0x4a687c[_0x40166a(0x149)](_0x2611cc,_0x4a687c[_0x40166a(0x117)])&&(_0xe26225=constants[_0x40166a(0x163)]['test'](_0x385882)?_0x4a687c[_0x40166a(0x1b0)]:_0x4a687c[_0x40166a(0x1b1)],_0x57cfdb=_0x4a687c['nXDXy'](getBrowserFromWSEndpoint,_0x385882)||_0x57cfdb,_0xb34cb7=_0x310dc9['currentSessionDetails'][_0x40166a(0x133)],_0x57c609=_0x310dc9[_0x40166a(0x169)][_0x40166a(0x156)]));}else{_0x22bf67&&_0x22bf67[_0x40166a(0x159)]['use'][_0x40166a(0x196)]?_0x57cfdb=_0x4a687c[_0x40166a(0x199)](getBrowserNameFromChannel,_0x22bf67[_0x40166a(0x159)][_0x40166a(0x162)][_0x40166a(0x196)]):_0x57cfdb=_0x4a687c[_0x40166a(0x14c)](_0x4a687c['yPSWV'],_0x57cfdb[_0x40166a(0x18a)]());const _0x43ab6f=await _0x4a687c[_0x40166a(0x144)](getPlatformDetails);_0xb34cb7=_0x43ab6f['platformName'],_0x57c609=_0x43ab6f['platformVersion'];}const _0x460eae={};_0x460eae[_0x40166a(0x143)]=_0x57cfdb,_0x460eae[_0x40166a(0x1ae)]=_0x11c561,_0x460eae['capabilities']={},_0x460eae['platform']=_0xb34cb7,_0x460eae[_0x40166a(0x156)]=_0x57c609,_0x460eae['product']=_0xe26225;const _0x1166ce=_0x460eae;_0x188075&&(_0x1166ce[_0x40166a(0x17e)][_0x40166a(0x166)]=_0x188075);const _0x21212f={};_0x21212f[_0x40166a(0x173)]=_0x2611cc,_0x310dc9[_0x40166a(0x169)]=Object['assign']({},_0x310dc9[_0x40166a(0x169)],_0x21212f,_0x1166ce);},_0x4a687c[_0x2a69be(0x115)])(_0x17bb81,_0x3dd758,_0x2b4c8e);}static[a43_0x273b47(0x19a)](){const _0x3c81d6=a43_0x273b47;this[_0x3c81d6(0x140)](),this[_0x3c81d6(0x15f)]();}static[a43_0x273b47(0x140)](){const _0x459b94=a43_0x273b47,_0x47d931={'Rwbgh':function(_0x4820c2,_0x9657a0,_0x4f119a){return _0x4820c2(_0x9657a0,_0x4f119a);},'BiOio':_0x459b94(0x160),'hfevp':'testInfo','FmMcb':_0x459b94(0x182),'LpZKZ':function(_0x51fd99,_0x4c9a33,_0x12a671){return _0x51fd99(_0x4c9a33,_0x12a671);},'RtbBJ':_0x459b94(0x112),'dMOCW':'pwPage','yoGwf':function(_0x544171,_0x260056){return _0x544171===_0x260056;},'AJMqW':_0x459b94(0x15c),'OlwrW':function(_0x13b8a8,_0x3f7161,_0x254a88,_0x2e9245){return _0x13b8a8(_0x3f7161,_0x254a88,_0x2e9245);},'AQCrf':function(_0x5a5360,_0x44390f){return _0x5a5360(_0x44390f);},'zQrxv':function(_0x494b60,_0x5b7bbc){return _0x494b60(_0x5b7bbc);},'jqxep':_0x459b94(0x10e),'FUZiC':_0x459b94(0x14b),'nsbaO':'connection.js','FkXap':function(_0x2426e2,_0x362641){return _0x2426e2(_0x362641);},'MvngX':_0x459b94(0x142),'uaOBu':function(_0x2ee350,_0x466dd1){return _0x2ee350!=_0x466dd1;},'muZko':function(_0x1aab5c){return _0x1aab5c();},'kPJRS':_0x459b94(0x147),'amUbP':function(_0x2c1fa2,_0x33ff21){return _0x2c1fa2(_0x33ff21);},'qyydL':_0x459b94(0x111),'WhLMO':function(_0xc58039,_0x4c35ef){return _0xc58039(_0x4c35ef);}},_0xe64f7=this;if(!this['Connection'])try{const _0x20af0a=path[_0x459b94(0x10b)](_0x47d931[_0x459b94(0x11a)],_0x47d931['FUZiC'],_0x47d931[_0x459b94(0x1a3)]),_0x282bc4=_0x47d931[_0x459b94(0x135)](importFileFromPWCore,_0x20af0a);!_0x282bc4?_0x47d931[_0x459b94(0x135)](debug,_0x47d931['MvngX']):this['Connection']=_0x282bc4['Connection'];}catch(_0x2e9ad3){_0x47d931[_0x459b94(0x19b)](debug,_0x459b94(0x188)+_0x2e9ad3[_0x459b94(0x14d)]());}const _0x5bf768=this[_0x459b94(0x128)];try{if(_0x47d931[_0x459b94(0x129)](_0x5bf768,null)){const _0x42a444=_0x5bf768[_0x459b94(0x158)]['dispatch'],_0xc98541=_0x5bf768[_0x459b94(0x158)]['sendMessageToServer'];_0x47d931[_0x459b94(0x1a1)](isAccessibilityAutomationSession)&&Object['defineProperty'](_0x5bf768[_0x459b94(0x158)],_0x47d931[_0x459b94(0x12a)],{'get':function(){return async function(){const _0x26d281=a43_0x2e67;try{if(!global[_0x26d281(0x197)]&&global[_0x26d281(0x1ad)]&&_0x47d931[_0x26d281(0x150)](nestedKeyValue,global[_0x26d281(0x112)],[_0x47d931['BiOio'],_0x47d931[_0x26d281(0x17d)],_0x47d931[_0x26d281(0x1a4)]])&&_0x47d931[_0x26d281(0x15a)](shouldScanTestForAccessibility,global[_0x26d281(0x112)][_0x26d281(0x160)]['testInfo']['titlePath'],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x26d281(0x145)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global['bstackPerformA11yScan']=!![];const _0x55ddc1=_0x47d931[_0x26d281(0x150)](nestedKeyValue,global,[_0x47d931[_0x26d281(0x198)],_0x47d931[_0x26d281(0x16d)]]),_0x2bbbe2={};_0x2bbbe2['method']=arguments[0x1],_0x55ddc1&&logger['debug'](util['format'](await AccessibilityHelper['performScan'](_0x55ddc1,_0x2bbbe2)));if(_0x47d931[_0x26d281(0x186)](arguments[0x0][_0x26d281(0x193)],_0x47d931['AJMqW'])&&global[_0x26d281(0x16e)]){const _0x322a8e={};_0x322a8e[_0x26d281(0x1aa)]=arguments[0x1],await _0x47d931['OlwrW'](browserStackExecuteDriver,global[_0x26d281(0x16e)],scripts[_0x26d281(0x139)],_0x322a8e);}}}catch(_0x58226e){logger[_0x26d281(0x145)](_0x26d281(0x192)+util[_0x26d281(0x165)](_0x58226e));}return global[_0x26d281(0x197)]=![],_0xc98541['apply'](this,arguments);};}}),!_0x47d931[_0x459b94(0x171)](isFalse,process[_0x459b94(0x10c)][_0x459b94(0x19f)])&&Object[_0x459b94(0x179)](_0x5bf768[_0x459b94(0x158)],_0x47d931[_0x459b94(0x15d)],{'get':function(){return function _0xda9d71(_0x112460){const _0x260a39=a43_0x2e67,_0x49812a=_0x112460&&_0x112460['params']&&_0x112460[_0x260a39(0x12f)][_0x260a39(0x127)];if(_0x49812a){const _0x4423c0=_0x49812a[_0x260a39(0x1b5)],_0x495320=_0x49812a[_0x260a39(0x12c)];_0x495320&&(_0x47d931[_0x260a39(0x1b2)](debug,_0x260a39(0x13c)+_0x495320[_0x260a39(0x14d)]()),_0xe64f7[_0x260a39(0x169)][_0x260a39(0x133)]=_0x495320[_0x260a39(0x14a)],_0xe64f7['currentSessionDetails'][_0x260a39(0x156)]=_0x495320['platformVersion']),_0x4423c0&&(_0x47d931[_0x260a39(0x19b)](debug,_0x260a39(0x13a)+_0x4423c0),_0xe64f7[_0x260a39(0x169)][_0x260a39(0x191)]=_0x4423c0);}return _0x42a444[_0x260a39(0x1a5)](this,arguments);};}});}}catch(_0x28ac53){_0x47d931[_0x459b94(0x1b4)](debug,_0x459b94(0x13e)+_0x28ac53),_0xe64f7[_0x459b94(0x1b3)]=_0x28ac53[_0x459b94(0x14d)]();}}static[a43_0x273b47(0x15f)](){const _0x3be22e=a43_0x273b47,_0x44b065={'MLPbZ':function(_0x4f50f5,_0x59cdcd){return _0x4f50f5(_0x59cdcd);},'BAQwh':function(_0x129fb2,_0x247dfa){return _0x129fb2(_0x247dfa);},'tYFrh':function(_0x4e1607){return _0x4e1607();},'ZPwti':_0x3be22e(0x10e),'DOARh':_0x3be22e(0x181),'JlGoc':_0x3be22e(0x10f),'CLnnf':_0x3be22e(0x1b6),'JkVID':_0x3be22e(0x13d),'vujjN':function(_0x5ee198,_0x54676e){return _0x5ee198(_0x54676e);},'XvXZN':_0x3be22e(0x130),'PeVdI':function(_0x2d0d30,_0x356d5b){return _0x2d0d30!=_0x356d5b;},'Dszgk':_0x3be22e(0x177)},_0x564e1d=this;if(_0x44b065['tYFrh'](isAccessibilityAutomationSession)){let _0x4e6f05=null;try{const _0x7123bd=path[_0x3be22e(0x10b)](_0x44b065[_0x3be22e(0x125)],_0x44b065[_0x3be22e(0x1af)],_0x44b065['JlGoc'],_0x44b065[_0x3be22e(0x184)]),_0x31e884=_0x44b065['MLPbZ'](importFileFromPWCore,_0x7123bd);!_0x31e884?_0x44b065[_0x3be22e(0x1ab)](debug,_0x44b065[_0x3be22e(0x122)]):_0x4e6f05=_0x31e884[_0x3be22e(0x10d)];}catch(_0x130ae3){_0x44b065[_0x3be22e(0x1a2)](debug,_0x44b065['XvXZN']);}try{if(_0x44b065[_0x3be22e(0x155)](_0x4e6f05,null)){const _0x281688=_0x4e6f05[_0x3be22e(0x158)][_0x3be22e(0x177)];Object[_0x3be22e(0x179)](_0x4e6f05[_0x3be22e(0x158)],_0x44b065['Dszgk'],{'get':function(){return function _0x796afd(_0x13a625){const _0x2804f8=a43_0x2e67;try{const _0x408ad1=_0x13a625[_0x2804f8(0x19e)];if(_0x408ad1){delete _0x13a625[_0x2804f8(0x19e)];const _0x478ca2=_0x408ad1[_0x2804f8(0x1b5)],_0x59a084=_0x408ad1['platformDetails'];_0x59a084&&(_0x44b065[_0x2804f8(0x134)](debug,_0x2804f8(0x17a)+_0x59a084[_0x2804f8(0x14d)]()),_0x564e1d['currentSessionDetails'][_0x2804f8(0x133)]=_0x59a084[_0x2804f8(0x14a)],_0x564e1d[_0x2804f8(0x169)][_0x2804f8(0x156)]=_0x59a084[_0x2804f8(0x11f)]),_0x478ca2&&(_0x44b065[_0x2804f8(0x134)](debug,_0x2804f8(0x18c)+_0x478ca2),_0x564e1d[_0x2804f8(0x169)]['bsSessionId']=_0x478ca2);}}catch(_0x5d65e2){_0x44b065[_0x2804f8(0x1ab)](debug,_0x2804f8(0x1a6)+_0x5d65e2[_0x2804f8(0x14d)]());}return _0x281688[_0x2804f8(0x1a5)](this,arguments);};}});}}catch(_0x1141c7){_0x44b065['vujjN'](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x1141c7),_0x564e1d[_0x3be22e(0x1b3)]=_0x1141c7[_0x3be22e(0x14d)]();}}}static['getDetails'](){const _0x45b067=a43_0x273b47;return this[_0x45b067(0x169)];}}function a43_0x4031(){const _0x5a0da8=['uaOBu','kPJRS','477FFGyhQ','platformDetails','exports','XbeuY','params','Error\x20in\x20importing\x20crConnection','edge','285912TJRdkD','platform','MLPbZ','FkXap','browserstack-ats.com','util','../../bin/playwright/accessibility-helper','performScan','Setting\x20session\x20id\x20received\x20from\x20BS\x20','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','Not\x20able\x20to\x20import\x20crConnection','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','../../helpers/helper','patchConnection','sNWDt','Not\x20able\x20to\x20import\x20Connection','browser','tAacl','debug','CkunT','sendMessageToServer','connectOptions','XpDgN','platformName','client','AsLJp','toString','zbLuU','turboscale','Rwbgh','QWtFx','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','anVbQ','121rdDbLA','PeVdI','platform_version','_defaultConnectOptions','prototype','project','LpZKZ','browserstack.com','Page','qyydL','FWsTc','patchCRConnection','currentTest','yryji','use','ATS_WSS_URL_REGEX','6034935ZzcsMy','format','deviceModel','10968bqUhuu','browserName','currentSessionDetails','30oglqgQ','caps','unknown_grid','dMOCW','__driver','NWMrU','entries','amUbP','fromEntries','cloudProvider','822skeqWt','Device\x20Model\x20is\x20not\x20available','model','_onMessage','TSbBv','defineProperty','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','1669496zCauuh','browserstack','hfevp','capabilities','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','bnEqS','server','titlePath','function','CLnnf','query','yoGwf','sqMfe','Error\x20in\x20importing\x20connection\x20','includes','toLowerCase','zgHUT','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','chrome','./accessibility-helper','kVKUu','CTWOp','bsSessionId','Failed\x20to\x20perform\x20scan\x20','_type','../utils/constants','784120Lljdjr','channel','bstackPerformA11yScan','RtbBJ','xUhTV','patch','zQrxv','_browserType','irvsG','bStackParams','BROWSERSTACK_TEST_OBSERVABILITY','local_grid','muZko','vujjN','nsbaO','FmMcb','apply','Error\x20in\x20finding\x20platform\x20details\x20','../../helpers/test-observability/error-handler','isRemote','PcMPO','method','BAQwh','48069KgpsYe','accessibilityPlatform','browser_version','DOARh','relFA','HLTAH','AQCrf','sessionError','WhLMO','sessionId','crConnection.js','parse','join','env','CRConnection','lib','chromium','../../helpers/logger','dispatch','__workerDetails','path','ketVf','TeFBb','_connection','CEJPl','zFviW','JfnQI','jqxep','PgdMW','1463761EWwnsb','wsEndpoint','XPuDi','platformVersion','setupBrowserDetails','safari','JkVID','automate','_name','ZPwti','version','bsParams','Connection'];a43_0x4031=function(){return _0x5a0da8;};return a43_0x4031();}module[a43_0x273b47(0x12d)]=PlaywrightSessionDetails;
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a44_0x680e5a=a44_0x36af;(function(_0x4d3dbc,_0x1d87da){const _0x1f3991=a44_0x36af,_0x3e9561=_0x4d3dbc();while(!![]){try{const _0x2b3fe3=parseInt(_0x1f3991(0xb2))/0x1+-parseInt(_0x1f3991(0xb7))/0x2*(-parseInt(_0x1f3991(0xf5))/0x3)+-parseInt(_0x1f3991(0xa2))/0x4+parseInt(_0x1f3991(0xd9))/0x5+-parseInt(_0x1f3991(0xc0))/0x6*(-parseInt(_0x1f3991(0xbf))/0x7)+-parseInt(_0x1f3991(0xf7))/0x8+-parseInt(_0x1f3991(0xe0))/0x9;if(_0x2b3fe3===_0x1d87da)break;else _0x3e9561['push'](_0x3e9561['shift']());}catch(_0x3158c1){_0x3e9561['push'](_0x3e9561['shift']());}}}(a44_0x5794,0x6eb70));function a44_0x5794(){const _0x14e455=['framework','error','pQyVO','yargs','push','describe','--package','fgDrw','2724348NQvgrw','./integrations/command','join','VANILLA','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','dot-notation','find','./vanilla-js/command','homedir','--opts','debug','config','format','vncnn','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','296735cQQpDH','.browserstack','usage:\x20$0\x20<command>\x20[args]','CODECEPTJS','iiSqP','172jEchLP','handler','VzQUM','message','./nightwatch/command','--no-config','./cucumber-js/command','mocha/lib/cli/commands.js','68390ajTNXM','462EkOLDs','DggWK','../helpers/logger','includes','SDK_SETUP','ZdIZJ','jest','plAsC','MWhiw','--require','parserConfiguration','alias','fireFunnelTestEvent','mocha','Parsing\x20command\x20line\x20arguements','end','command','HxaOd','.local-not-set.json','codeceptjs','../helpers/performance/performance-tester','exitCode','../../ats/src/index','--mochaRequire','help','3007065EvLiQx','start','QrKBr','NIGHTWATCH','slice','showHelpOnFail','version','7057935PDomlE','INTEGRATIONS','dFOLW','vcxdt','jepXr','../helpers/performance/constants','eemJY','../helpers/utilities','tRMvu','HoGbi','--no-package','pOwQO','./mocha/command','./jest/command','MgdZj','HELP','globalException','ats','../helpers/helper','./codeceptjs/command','kQsCl','23862Ovepwz','oUBpW','3325536KRfTQc','startMonitoring','winstonLogger','argv','demandCommand','node','path','findAndReplace','assign','isUndefined','unlinkSync','cucumber-js','oxyAT','eQrxh','wrap','Wsktg','CbaiG','SDKTestSuccessful','INFO','MOCHA','playwright','CSVwY','mocha/lib/cli/run.js','existsSync','HST','./utils/constants','Aqwpr'];a44_0x5794=function(){return _0x14e455;};return a44_0x5794();}const fs=require('fs'),path=require(a44_0x680e5a(0xfd)),util=require('util'),{requireModule}=require(a44_0x680e5a(0xf2)),PerformanceTester=require(a44_0x680e5a(0xd4)),PerformanceEvents=require(a44_0x680e5a(0xe5))['EVENTS'],helper=require(a44_0x680e5a(0xf2)),utilities=require(a44_0x680e5a(0xe7)),runIntegrations=require(a44_0x680e5a(0xa3)),yargs=require(a44_0x680e5a(0x115)),Constants=require(a44_0x680e5a(0x110)),logger=require(a44_0x680e5a(0xc2))[a44_0x680e5a(0xf9)],origArgs=Object[a44_0x680e5a(0xff)]([],process[a44_0x680e5a(0xfa)]),captureError=async(_0x12ed82,_0x2274e9,_0x49b9e8=null)=>{const _0x5477a8=a44_0x680e5a,_0x2fc941={'MgdZj':function(_0x50ada9,_0x54ef58,_0x399e5d){return _0x50ada9(_0x54ef58,_0x399e5d);},'oUBpW':_0x5477a8(0x108)};try{logger['info']('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x5477a8(0xa4)]('\x20')),await _0x2fc941[_0x5477a8(0xee)](_0x12ed82,_0x2274e9,_0x49b9e8);}catch(_0x2b6967){process[_0x5477a8(0xd5)]=0x1,logger[_0x5477a8(0x113)](util[_0x5477a8(0xaf)](_0x2b6967));const _0x4e651c={};_0x4e651c[_0x5477a8(0xf0)]=_0x2b6967['message'];const _0x217060=_0x4e651c;PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x5477a8(0xaf)](_0x2b6967));if(helper['isUndefined'](global[_0x5477a8(0xae)])&&helper[_0x5477a8(0x100)](global[_0x5477a8(0x112)]))return;try{utilities[_0x5477a8(0xcc)](_0x2fc941[_0x5477a8(0xf6)],_0x217060,global[_0x5477a8(0xae)],global[_0x5477a8(0x112)]);}catch(_0x39555f){logger[_0x5477a8(0xad)](_0x5477a8(0xb1)+_0x39555f['stack']);}PerformanceTester[_0x5477a8(0xcf)](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x2b6967));}finally{PerformanceTester[_0x5477a8(0xda)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a44_0x680e5a(0xa4)](helper[a44_0x680e5a(0xab)](),a44_0x680e5a(0xb3));if(fs[a44_0x680e5a(0x10e)](browserstackFolderPath)){const filePath=path[a44_0x680e5a(0xa4)](browserstackFolderPath,a44_0x680e5a(0xd2));fs[a44_0x680e5a(0x10e)](filePath)&&fs[a44_0x680e5a(0x101)](filePath);}}catch(a44_0x389d51){logger[a44_0x680e5a(0xad)](a44_0x680e5a(0xa7)+a44_0x389d51[a44_0x680e5a(0xba)]);}process[a44_0x680e5a(0xfa)][a44_0x680e5a(0xc3)](a44_0x680e5a(0xcd))&&(!process[a44_0x680e5a(0xfa)][a44_0x680e5a(0xc3)](a44_0x680e5a(0xac))&&process[a44_0x680e5a(0xfa)][a44_0x680e5a(0x116)]('--no-opts'),!process[a44_0x680e5a(0xfa)][a44_0x680e5a(0xa9)](_0x201995=>_0x201995[a44_0x680e5a(0xc3)]('--config'))&&process['argv'][a44_0x680e5a(0x116)](a44_0x680e5a(0xbc)),!process[a44_0x680e5a(0xfa)][a44_0x680e5a(0xc3)](a44_0x680e5a(0xa0))&&process[a44_0x680e5a(0xfa)][a44_0x680e5a(0x116)](a44_0x680e5a(0xea)),helper[a44_0x680e5a(0xfe)](process[a44_0x680e5a(0xfa)],a44_0x680e5a(0xc9),a44_0x680e5a(0xd7)));PerformanceTester[a44_0x680e5a(0xf8)](),PerformanceTester[a44_0x680e5a(0xda)](PerformanceEvents[a44_0x680e5a(0xc4)]);const a44_0x146b5b={};a44_0x146b5b[a44_0x680e5a(0xa8)]=![];function a44_0x36af(_0x592c72,_0x2f4c9e){const _0x57948f=a44_0x5794();return a44_0x36af=function(_0x36af95,_0x4c6612){_0x36af95=_0x36af95-0xa0;let _0x53f69d=_0x57948f[_0x36af95];return _0x53f69d;},a44_0x36af(_0x592c72,_0x2f4c9e);}const argv=yargs[a44_0x680e5a(0xca)](a44_0x146b5b)['usage'](a44_0x680e5a(0xb4))[a44_0x680e5a(0xcb)]('v',a44_0x680e5a(0xdf))[a44_0x680e5a(0x117)]('v')[a44_0x680e5a(0xcb)]('h',a44_0x680e5a(0xd8))[a44_0x680e5a(0xd8)](a44_0x680e5a(0xd8))[a44_0x680e5a(0xde)](!![],Constants['VERSION'][a44_0x680e5a(0xef)])[a44_0x680e5a(0xd0)](a44_0x680e5a(0xc6),Constants['JEST']['INFO'],function(_0xbfa169){const _0x3e438c=a44_0x680e5a,_0x133f5a={'vcxdt':function(_0x53804e,_0x41cd1b,_0x4796a5,_0x3a6c8b){return _0x53804e(_0x41cd1b,_0x4796a5,_0x3a6c8b);},'CSVwY':function(_0x39b1dc,_0x511584){return _0x39b1dc(_0x511584);},'eemJY':_0x3e438c(0xed)};helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x4151c8=process['argv'][_0x3e438c(0xdd)](0x2);return _0x133f5a[_0x3e438c(0xe3)](captureError,_0x133f5a[_0x3e438c(0x10c)](require,_0x133f5a[_0x3e438c(0xe6)]),_0xbfa169['argv'],_0x4151c8);})[a44_0x680e5a(0xd0)](a44_0x680e5a(0xcd),Constants[a44_0x680e5a(0x10a)][a44_0x680e5a(0x109)],_0x478967=>{const _0x234ff2=a44_0x680e5a,_0x8f7393={'dFOLW':function(_0x24560e,_0x1fb47e,_0x406adc){return _0x24560e(_0x1fb47e,_0x406adc);},'AqNuy':function(_0x71d3a2,_0x10e986){return _0x71d3a2(_0x10e986);},'VzQUM':_0x234ff2(0xec),'Aqwpr':_0x234ff2(0xce),'tRMvu':function(_0x5b7805,_0x588bae,_0x210700){return _0x5b7805(_0x588bae,_0x210700);},'QrKBr':_0x234ff2(0x10d),'vncnn':'mocha','HxaOd':_0x234ff2(0xbe),'iiSqP':function(_0x3f764c,_0x2cfba7,_0x3d961){return _0x3f764c(_0x2cfba7,_0x3d961);},'kQsCl':'mocha/lib/cli/cli.js','fgDrw':function(_0x296543){return _0x296543();}};logger[_0x234ff2(0xad)](_0x8f7393[_0x234ff2(0x111)]);const _0x3285f8=_0x8f7393[_0x234ff2(0xe8)](requireModule,_0x8f7393[_0x234ff2(0xdb)],_0x8f7393[_0x234ff2(0xb0)]),_0xfc52c3=_0x8f7393['tRMvu'](requireModule,_0x8f7393[_0x234ff2(0xd1)],_0x8f7393['vncnn']);process['argv']=process['argv']['slice'](0x1),delete _0x3285f8[_0x234ff2(0xb8)],_0x3285f8[_0x234ff2(0xb8)]=function(_0x55f490){const _0x763bc5=_0x234ff2;return _0x8f7393[_0x763bc5(0xe2)](captureError,_0x8f7393['AqNuy'](require,_0x8f7393[_0x763bc5(0xb9)]),_0x55f490);},_0xfc52c3['run']=_0x3285f8;const {main:_0x220e8f}=_0x8f7393[_0x234ff2(0xb6)](requireModule,_0x8f7393[_0x234ff2(0xf4)],_0x8f7393[_0x234ff2(0xb0)]);_0x8f7393[_0x234ff2(0xa1)](_0x220e8f);})['command'](a44_0x680e5a(0x102),Constants['CUCUMBER'][a44_0x680e5a(0x109)],function(_0x4c594b){const _0x1f48a8=a44_0x680e5a,_0x34d342={'hlxUz':function(_0x52010f,_0x59afc3,_0x3040b9,_0x1a71b3){return _0x52010f(_0x59afc3,_0x3040b9,_0x1a71b3);},'pOwQO':function(_0x1532a0,_0x158fe6){return _0x1532a0(_0x158fe6);},'GJckc':_0x1f48a8(0xbd)},_0x153b14=process['argv'][_0x1f48a8(0xdd)](0x2);return _0x34d342['hlxUz'](captureError,_0x34d342[_0x1f48a8(0xeb)](require,_0x34d342['GJckc']),_0x4c594b[_0x1f48a8(0xfa)],_0x153b14);})[a44_0x680e5a(0xd0)](a44_0x680e5a(0xfc),Constants[a44_0x680e5a(0xa5)][a44_0x680e5a(0x109)],function(_0x3f322d){const _0x28e2b0=a44_0x680e5a,_0x2c9f7a={'eQrxh':function(_0x4d7cb0,_0x3a28ac,_0x66530d,_0x405fc7){return _0x4d7cb0(_0x3a28ac,_0x66530d,_0x405fc7);},'IdzVL':function(_0x2a0a4e,_0x18047d){return _0x2a0a4e(_0x18047d);},'HoGbi':_0x28e2b0(0xaa)},_0x351268=process['argv'][_0x28e2b0(0xdd)](0x2);return _0x2c9f7a[_0x28e2b0(0x104)](captureError,_0x2c9f7a['IdzVL'](require,_0x2c9f7a[_0x28e2b0(0xe9)]),_0x3f322d[_0x28e2b0(0xfa)],_0x351268);})['command']('nightwatch',Constants[a44_0x680e5a(0xdc)][a44_0x680e5a(0x109)],function(_0x2dec94){const _0x49c1f6=a44_0x680e5a,_0x590f7a={'DggWK':function(_0xe909a9,_0x47699c,_0x495a1c,_0x225e81){return _0xe909a9(_0x47699c,_0x495a1c,_0x225e81);},'IlqOv':function(_0x40da28,_0x274097){return _0x40da28(_0x274097);},'RMPzb':_0x49c1f6(0xbb)},_0x46d509=process[_0x49c1f6(0xfa)][_0x49c1f6(0xdd)](0x2);return _0x590f7a[_0x49c1f6(0xc1)](captureError,_0x590f7a['IlqOv'](require,_0x590f7a['RMPzb']),_0x2dec94[_0x49c1f6(0xfa)],_0x46d509);})[a44_0x680e5a(0xd0)](a44_0x680e5a(0xd3),Constants[a44_0x680e5a(0xb5)][a44_0x680e5a(0x109)],function(_0x446322){const _0x2ca4d6=a44_0x680e5a,_0xdb54e3={'plAsC':function(_0x1e3564,_0x4b215a,_0x2a3358,_0x453356){return _0x1e3564(_0x4b215a,_0x2a3358,_0x453356);},'ZdIZJ':function(_0x2977fb,_0x44e30b){return _0x2977fb(_0x44e30b);},'jepXr':_0x2ca4d6(0xf3)},_0x3995e6=process[_0x2ca4d6(0xfa)]['slice'](0x2);return _0xdb54e3[_0x2ca4d6(0xc7)](captureError,_0xdb54e3[_0x2ca4d6(0xc5)](require,_0xdb54e3[_0x2ca4d6(0xe4)]),_0x446322[_0x2ca4d6(0xfa)],_0x3995e6);})[a44_0x680e5a(0xd0)](a44_0x680e5a(0xf1),Constants[a44_0x680e5a(0x10f)][a44_0x680e5a(0x109)],function(_0x2509a7){const _0x2f355e=a44_0x680e5a,_0x3ed979={'oxyAT':function(_0x52b499,_0x168f10,_0x1b350b){return _0x52b499(_0x168f10,_0x1b350b);},'Wsktg':function(_0x427f9c,_0x59299f){return _0x427f9c(_0x59299f);},'pQyVO':_0x2f355e(0xd6)},_0x18ef5e=process[_0x2f355e(0xfa)]['slice'](0x2);return _0x3ed979[_0x2f355e(0x103)](captureError,_0x3ed979[_0x2f355e(0x106)](require,_0x3ed979[_0x2f355e(0x114)]),_0x2509a7);})[a44_0x680e5a(0xd0)]('integrations',Constants[a44_0x680e5a(0xe1)][a44_0x680e5a(0x109)],function(_0x46d94c){const _0x549203=a44_0x680e5a,_0x377244={'CbaiG':function(_0x2781d3,_0x16a8b4){return _0x2781d3(_0x16a8b4);}};return _0x377244[_0x549203(0x107)](runIntegrations,_0x46d94c);})['command'](a44_0x680e5a(0x10b),Constants['PLAYWRIGHT'][a44_0x680e5a(0x109)],function(_0x541a2f){const _0x5d2acb=a44_0x680e5a,_0x3fd9f7={'HXoof':function(_0x436de7,_0xf46a9f,_0x5c4c6f,_0x26a685){return _0x436de7(_0xf46a9f,_0x5c4c6f,_0x26a685);},'MWhiw':function(_0x1e54b8,_0x5d78ea){return _0x1e54b8(_0x5d78ea);},'JqCUo':'./playwright/command'},_0x2c15e9=process['argv'][_0x5d2acb(0xdd)](0x2);return _0x3fd9f7['HXoof'](captureError,_0x3fd9f7[_0x5d2acb(0xc8)](require,_0x3fd9f7['JqCUo']),_0x541a2f[_0x5d2acb(0xfa)],_0x2c15e9);})[a44_0x680e5a(0xfb)](0x1,a44_0x680e5a(0xa6))[a44_0x680e5a(0x105)](null)[a44_0x680e5a(0xfa)];!helper[a44_0x680e5a(0x100)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x680e5a(0xf1)&&console[a44_0x680e5a(0x113)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
2
+ 'use strict';const a44_0x2a922f=a44_0x3d61;(function(_0x5667ee,_0x44d579){const _0x1e5bee=a44_0x3d61,_0x5bc679=_0x5667ee();while(!![]){try{const _0x3227a7=-parseInt(_0x1e5bee(0xf7))/0x1+-parseInt(_0x1e5bee(0xeb))/0x2*(parseInt(_0x1e5bee(0xf5))/0x3)+-parseInt(_0x1e5bee(0xe0))/0x4+-parseInt(_0x1e5bee(0xb6))/0x5+parseInt(_0x1e5bee(0xaf))/0x6*(-parseInt(_0x1e5bee(0xa6))/0x7)+-parseInt(_0x1e5bee(0xcd))/0x8*(-parseInt(_0x1e5bee(0x92))/0x9)+parseInt(_0x1e5bee(0xca))/0xa;if(_0x3227a7===_0x44d579)break;else _0x5bc679['push'](_0x5bc679['shift']());}catch(_0x5c204f){_0x5bc679['push'](_0x5bc679['shift']());}}}(a44_0x48ef,0xd022a));const fs=require('fs'),path=require(a44_0x2a922f(0xb3)),util=require(a44_0x2a922f(0xbb)),{requireModule}=require(a44_0x2a922f(0xb0)),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require(a44_0x2a922f(0xdf))[a44_0x2a922f(0x94)],helper=require('../helpers/helper'),utilities=require('../helpers/utilities'),runIntegrations=require(a44_0x2a922f(0xf4)),yargs=require(a44_0x2a922f(0xe3)),Constants=require(a44_0x2a922f(0xbc)),logger=require('../helpers/logger')[a44_0x2a922f(0xd5)],origArgs=Object['assign']([],process['argv']),captureError=async(_0x22f066,_0x2b1fc7,_0x5e74b4=null)=>{const _0x444502=a44_0x2a922f,_0x5369ef={'UmpZq':function(_0x4e30ac,_0x15d770,_0x58989b){return _0x4e30ac(_0x15d770,_0x58989b);},'QAnnZ':'SDKTestSuccessful'};try{logger['info'](_0x444502(0xb7)+origArgs[_0x444502(0xd2)]('\x20')),await _0x5369ef['UmpZq'](_0x22f066,_0x2b1fc7,_0x5e74b4);}catch(_0x23ce64){process[_0x444502(0xc2)]=0x1,logger[_0x444502(0xda)](util[_0x444502(0xf2)](_0x23ce64));const _0x3cd934={};_0x3cd934[_0x444502(0xab)]=_0x23ce64[_0x444502(0x9b)];const _0x36b571=_0x3cd934;PerformanceTester[_0x444502(0xf6)](PerformanceEvents[_0x444502(0xbf)],![],util[_0x444502(0xf2)](_0x23ce64));if(helper[_0x444502(0xff)](global['config'])&&helper[_0x444502(0xff)](global[_0x444502(0xdc)]))return;try{utilities[_0x444502(0x93)](_0x5369ef['QAnnZ'],_0x36b571,global['config'],global[_0x444502(0xdc)]);}catch(_0x18ce1b){logger[_0x444502(0xfb)](_0x444502(0xb2)+_0x18ce1b[_0x444502(0x99)]);}PerformanceTester[_0x444502(0xf6)](PerformanceEvents['SDK_SETUP'],![],util[_0x444502(0xf2)](_0x23ce64));}finally{PerformanceTester[_0x444502(0xf8)](PerformanceEvents[_0x444502(0xf0)]);}};function a44_0x3d61(_0x40aebb,_0x355973){const _0x48efdb=a44_0x48ef();return a44_0x3d61=function(_0x3d61e4,_0x3755be){_0x3d61e4=_0x3d61e4-0x90;let _0x3b56a0=_0x48efdb[_0x3d61e4];return _0x3b56a0;},a44_0x3d61(_0x40aebb,_0x355973);}try{const browserstackFolderPath=path[a44_0x2a922f(0xd2)](helper[a44_0x2a922f(0xf1)](),a44_0x2a922f(0xac));if(fs[a44_0x2a922f(0xec)](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,a44_0x2a922f(0x98));fs[a44_0x2a922f(0xec)](filePath)&&fs[a44_0x2a922f(0xa3)](filePath);}}catch(a44_0x181c55){logger['debug']('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a44_0x181c55[a44_0x2a922f(0x9b)]);}process[a44_0x2a922f(0x95)][a44_0x2a922f(0xdb)](a44_0x2a922f(0xb9))&&(!process[a44_0x2a922f(0x95)]['includes'](a44_0x2a922f(0xa2))&&process['argv']['push'](a44_0x2a922f(0xc3)),!process[a44_0x2a922f(0x95)][a44_0x2a922f(0xfc)](_0x501246=>_0x501246[a44_0x2a922f(0xdb)](a44_0x2a922f(0xb1)))&&process[a44_0x2a922f(0x95)][a44_0x2a922f(0x97)](a44_0x2a922f(0xe4)),!process[a44_0x2a922f(0x95)][a44_0x2a922f(0xdb)](a44_0x2a922f(0xf3))&&process[a44_0x2a922f(0x95)]['push']('--no-package'),helper[a44_0x2a922f(0xe7)](process[a44_0x2a922f(0x95)],a44_0x2a922f(0x9f),a44_0x2a922f(0xe2)));PerformanceTester['startMonitoring'](),PerformanceTester[a44_0x2a922f(0xf8)](PerformanceEvents['SDK_SETUP']);const a44_0x271ef5={};a44_0x271ef5['dot-notation']=![];const argv=yargs[a44_0x2a922f(0xd3)](a44_0x271ef5)[a44_0x2a922f(0xc7)](a44_0x2a922f(0xa7))[a44_0x2a922f(0xbe)]('v',a44_0x2a922f(0xae))['describe']('v')[a44_0x2a922f(0xbe)]('h',a44_0x2a922f(0xc5))['help'](a44_0x2a922f(0xc5))[a44_0x2a922f(0xe9)](!![],Constants['VERSION'][a44_0x2a922f(0xf9)])[a44_0x2a922f(0xb4)]('jest',Constants[a44_0x2a922f(0x9e)][a44_0x2a922f(0xa5)],function(_0xb27d8f){const _0x4763d4=a44_0x2a922f,_0x4b4734={'nREdQ':function(_0x286c3e,_0x1598e0,_0x23e182,_0x2bd400){return _0x286c3e(_0x1598e0,_0x23e182,_0x2bd400);},'kiiwJ':function(_0x4a52d3,_0x1638cd){return _0x4a52d3(_0x1638cd);},'gtWyp':'./jest/command'};helper[_0x4763d4(0xfd)](),helper['setBrowserStackAutomationDisable']();const _0x2a7e64=process[_0x4763d4(0x95)]['slice'](0x2);return _0x4b4734['nREdQ'](captureError,_0x4b4734[_0x4763d4(0xad)](require,_0x4b4734[_0x4763d4(0xd1)]),_0xb27d8f['argv'],_0x2a7e64);})['command']('mocha',Constants[a44_0x2a922f(0xe6)][a44_0x2a922f(0xa5)],_0x52697c=>{const _0x2f68bd=a44_0x2a922f,_0xf0b04d={'HOrNf':function(_0x3160e9,_0x4a0695,_0x571b5c){return _0x3160e9(_0x4a0695,_0x571b5c);},'ZGfoV':function(_0x27187c,_0x46c68b){return _0x27187c(_0x46c68b);},'XCHVC':_0x2f68bd(0x100),'Kazeo':'Parsing\x20command\x20line\x20arguements','dCZYf':function(_0x489bfd,_0x1c4db7,_0x242d47){return _0x489bfd(_0x1c4db7,_0x242d47);},'DZUNO':'mocha/lib/cli/run.js','nJScY':_0x2f68bd(0xb9),'BZDyb':_0x2f68bd(0xc8),'lLuud':'mocha/lib/cli/cli.js','UmUXG':function(_0xa9606d){return _0xa9606d();}};logger[_0x2f68bd(0xfb)](_0xf0b04d[_0x2f68bd(0xe8)]);const _0x1e167a=_0xf0b04d[_0x2f68bd(0x90)](requireModule,_0xf0b04d[_0x2f68bd(0xa4)],_0xf0b04d[_0x2f68bd(0xd9)]),_0x4c6602=_0xf0b04d[_0x2f68bd(0x90)](requireModule,_0xf0b04d['BZDyb'],_0xf0b04d[_0x2f68bd(0xd9)]);process['argv']=process[_0x2f68bd(0x95)][_0x2f68bd(0x9c)](0x1),delete _0x1e167a['handler'],_0x1e167a['handler']=function(_0x483e35){const _0x2d9c27=_0x2f68bd;return _0xf0b04d[_0x2d9c27(0xba)](captureError,_0xf0b04d[_0x2d9c27(0x91)](require,_0xf0b04d['XCHVC']),_0x483e35);},_0x4c6602[_0x2f68bd(0xd6)]=_0x1e167a;const {main:_0x1de259}=_0xf0b04d['HOrNf'](requireModule,_0xf0b04d[_0x2f68bd(0xc6)],_0xf0b04d[_0x2f68bd(0xd9)]);_0xf0b04d['UmUXG'](_0x1de259);})[a44_0x2a922f(0xb4)](a44_0x2a922f(0xe5),Constants[a44_0x2a922f(0xb5)]['INFO'],function(_0x184c52){const _0x1230dd=a44_0x2a922f,_0x595f90={'KlYro':function(_0x422b63,_0x2c5428,_0x4b879a,_0x10c82f){return _0x422b63(_0x2c5428,_0x4b879a,_0x10c82f);},'VgKID':function(_0x34fc91,_0x3fcf46){return _0x34fc91(_0x3fcf46);},'YTcGQ':_0x1230dd(0xa8)},_0x3265a0=process['argv']['slice'](0x2);return _0x595f90[_0x1230dd(0xde)](captureError,_0x595f90['VgKID'](require,_0x595f90[_0x1230dd(0xd0)]),_0x184c52[_0x1230dd(0x95)],_0x3265a0);})[a44_0x2a922f(0xb4)](a44_0x2a922f(0xc0),Constants[a44_0x2a922f(0xc4)][a44_0x2a922f(0xa5)],function(_0x35ca4a){const _0x328edf=a44_0x2a922f,_0xdafbb9={'ZOQHu':function(_0x54a8ee,_0x256717,_0x3fcea5,_0x4ede61){return _0x54a8ee(_0x256717,_0x3fcea5,_0x4ede61);},'QLgxb':function(_0x47fbab,_0x446b5e){return _0x47fbab(_0x446b5e);},'MEFko':_0x328edf(0xfe)},_0x74b519=process[_0x328edf(0x95)][_0x328edf(0x9c)](0x2);return _0xdafbb9[_0x328edf(0xcb)](captureError,_0xdafbb9[_0x328edf(0xd7)](require,_0xdafbb9[_0x328edf(0xcf)]),_0x35ca4a['argv'],_0x74b519);})[a44_0x2a922f(0xb4)]('nightwatch',Constants[a44_0x2a922f(0xa9)]['INFO'],function(_0x4c44c8){const _0x2ca86f=a44_0x2a922f,_0x129e72={'DVUob':function(_0xc38340,_0x3f5a93,_0x261902,_0x1d2977){return _0xc38340(_0x3f5a93,_0x261902,_0x1d2977);},'Frjkg':function(_0x1d2177,_0x387e10){return _0x1d2177(_0x387e10);},'gcUQi':_0x2ca86f(0xe1)},_0x1046c4=process[_0x2ca86f(0x95)][_0x2ca86f(0x9c)](0x2);return _0x129e72[_0x2ca86f(0xa0)](captureError,_0x129e72[_0x2ca86f(0xd8)](require,_0x129e72[_0x2ca86f(0xee)]),_0x4c44c8[_0x2ca86f(0x95)],_0x1046c4);})[a44_0x2a922f(0xb4)]('codeceptjs',Constants[a44_0x2a922f(0xdd)][a44_0x2a922f(0xa5)],function(_0x9b00a4){const _0x5f266d=a44_0x2a922f,_0x45fca0={'rcdPq':function(_0x102a19,_0x1a41f9,_0x776003,_0x519c05){return _0x102a19(_0x1a41f9,_0x776003,_0x519c05);},'yDJqG':function(_0x254ed0,_0x2b90ff){return _0x254ed0(_0x2b90ff);},'dRYtO':'./codeceptjs/command'},_0x192298=process[_0x5f266d(0x95)]['slice'](0x2);return _0x45fca0[_0x5f266d(0xc1)](captureError,_0x45fca0[_0x5f266d(0xcc)](require,_0x45fca0[_0x5f266d(0x9a)]),_0x9b00a4[_0x5f266d(0x95)],_0x192298);})['command']('ats',Constants['HST']['INFO'],function(_0x3bcf0c){const _0x2e0901=a44_0x2a922f,_0x3a9ccb={'klepT':function(_0x12c1ca,_0x41140b,_0x15a7d4){return _0x12c1ca(_0x41140b,_0x15a7d4);},'dDyNi':function(_0x27cad3,_0x3df5dd){return _0x27cad3(_0x3df5dd);},'RDpnz':_0x2e0901(0xed)},_0x3d223e=process[_0x2e0901(0x95)][_0x2e0901(0x9c)](0x2);return _0x3a9ccb[_0x2e0901(0xce)](captureError,_0x3a9ccb[_0x2e0901(0xbd)](require,_0x3a9ccb['RDpnz']),_0x3bcf0c);})[a44_0x2a922f(0xb4)](a44_0x2a922f(0xc9),Constants['INTEGRATIONS']['INFO'],function(_0x37cd6f){const _0x21a27e=a44_0x2a922f,_0x687235={'keFYx':function(_0x3fe7e2,_0x43478c){return _0x3fe7e2(_0x43478c);}};return _0x687235[_0x21a27e(0xa1)](runIntegrations,_0x37cd6f);})[a44_0x2a922f(0xb4)]('playwright',Constants[a44_0x2a922f(0xef)][a44_0x2a922f(0xa5)],function(_0x592a48){const _0x10a572=a44_0x2a922f,_0x457fa7={'UzmXr':function(_0x28731d,_0x487412,_0x29d28c,_0x13f563){return _0x28731d(_0x487412,_0x29d28c,_0x13f563);},'aAdaA':function(_0xb9c041,_0x2ed64b){return _0xb9c041(_0x2ed64b);},'gFnar':_0x10a572(0xfa)},_0x2a91a7=process[_0x10a572(0x95)][_0x10a572(0x9c)](0x2);return _0x457fa7[_0x10a572(0x9d)](captureError,_0x457fa7[_0x10a572(0x101)](require,_0x457fa7[_0x10a572(0xea)]),_0x592a48[_0x10a572(0x95)],_0x2a91a7);})[a44_0x2a922f(0xb8)](0x1,a44_0x2a922f(0x96))[a44_0x2a922f(0xd4)](null)[a44_0x2a922f(0x95)];!helper[a44_0x2a922f(0xff)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a44_0x2a922f(0xda)](a44_0x2a922f(0xaa));function a44_0x48ef(){const _0x262f9c=['start','HELP','./playwright/command','debug','find','setTestObservabilityDisable','./vanilla-js/command','isUndefined','./mocha/command','aAdaA','dCZYf','ZGfoV','5571jyRWWO','fireFunnelTestEvent','EVENTS','argv','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','push','.local-not-set.json','stack','dRYtO','message','slice','UzmXr','JEST','--require','DVUob','keFYx','--opts','unlinkSync','DZUNO','INFO','5175646yCokIx','usage:\x20$0\x20<command>\x20[args]','./cucumber-js/command','NIGHTWATCH','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','globalException','.browserstack','kiiwJ','version','12wjooNe','../helpers/helper','--config','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','path','command','CUCUMBER','7633350cZSqMk','Running\x20SDK\x20with\x20args\x20','demandCommand','mocha','HOrNf','util','./utils/constants','dDyNi','alias','SDK_SETUP','node','rcdPq','exitCode','--no-opts','VANILLA','help','lLuud','usage','mocha/lib/cli/commands.js','integrations','59429170phDZlC','ZOQHu','yDJqG','3256OLycSz','klepT','MEFko','YTcGQ','gtWyp','join','parserConfiguration','wrap','winstonLogger','run','QLgxb','Frjkg','nJScY','error','includes','framework','CODECEPTJS','KlYro','../helpers/performance/constants','4372748KycrYS','./nightwatch/command','--mochaRequire','yargs','--no-config','cucumber-js','MOCHA','findAndReplace','Kazeo','showHelpOnFail','gFnar','22wyYtoK','existsSync','../../ats/src/index','gcUQi','PLAYWRIGHT','SDK_CLEANUP','homedir','format','--package','./integrations/command','210801woRqna','end','470778YGEJgR'];a44_0x48ef=function(){return _0x262f9c;};return a44_0x48ef();}
package/src/bin/setup.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const a45_0x2b6231=a45_0x4cb1;(function(_0x45fcfd,_0x8dbd38){const _0x475ceb=a45_0x4cb1,_0x104458=_0x45fcfd();while(!![]){try{const _0x4eb154=-parseInt(_0x475ceb(0xda))/0x1*(-parseInt(_0x475ceb(0xd5))/0x2)+parseInt(_0x475ceb(0xa6))/0x3*(-parseInt(_0x475ceb(0xad))/0x4)+parseInt(_0x475ceb(0xd4))/0x5*(-parseInt(_0x475ceb(0xd9))/0x6)+parseInt(_0x475ceb(0xb6))/0x7*(parseInt(_0x475ceb(0xdb))/0x8)+-parseInt(_0x475ceb(0xde))/0x9*(parseInt(_0x475ceb(0xca))/0xa)+parseInt(_0x475ceb(0xac))/0xb*(parseInt(_0x475ceb(0xb7))/0xc)+parseInt(_0x475ceb(0xe3))/0xd;if(_0x4eb154===_0x8dbd38)break;else _0x104458['push'](_0x104458['shift']());}catch(_0x466865){_0x104458['push'](_0x104458['shift']());}}}(a45_0x348c,0x212b4));const fs=require('fs'),helper=require(a45_0x2b6231(0x9e)),utilities=require(a45_0x2b6231(0xbe)),yaml=require(a45_0x2b6231(0xe0)),yargs=require(a45_0x2b6231(0xb2)),logger=require(a45_0x2b6231(0xdf))[a45_0x2b6231(0xdd)],configFileTemplate=__dirname+a45_0x2b6231(0xd3),configFileTemplatePW=__dirname+'/../../browserstack.pw.yml.sample',configFile=process['cwd']()+a45_0x2b6231(0xa1),packageFile=process['cwd']()+a45_0x2b6231(0xaa),frameworks=[a45_0x2b6231(0xa8),a45_0x2b6231(0xd1),a45_0x2b6231(0xd8),a45_0x2b6231(0xc0),a45_0x2b6231(0x99),a45_0x2b6231(0xe4),a45_0x2b6231(0xce)];let config;function a45_0x348c(){const _0x42bdd9=['join','browserstack-node-sdk\x20','../helpers/helper','swilA','stringify','/browserstack.yml','-browserstack','\x20&&\x20npm\x20update\x20browserstack-node-sdk','fxWtT','indexOf','3ZFqpjQ','xNQdf','mocha','tAOpX','/package.json','argv','374011zLaatv','524024ABmoBi','length','SNeVF','splice','SGJaj','yargs','TmYRU','split','gykFq','133yncHsW','12ppDKYW','error','npm\x20update\x20browserstack-node-sdk','YOUR_USERNAME','info','QkeQj','Setup\x20completed','../helpers/utilities','includes','node','node-setup','SDKSetup','replace','key','utf8','amfOh','scripts','jkfiB','SxbeX','10uSHfvA','RgKph','source','XoDTx','playwright','push','tqtyD','jest','Creating\x20configuration\x20file...','/../../browserstack.yml.sample','5hvdSPe','130usBFTj','entries','GjIMN','cucumber-js','675228VEzHNd','2323sMHaxX','32088zmLoiI','PMvnU','winstonLogger','2363706DrscGA','../helpers/logger','js-yaml','browserstack-node-sdk','writeFileSync','4950829gzsule','codeceptjs','ZAMxJ','postinstall','debug','nightwatch','readFileSync','fireFunnelTestEvent'];a45_0x348c=function(){return _0x42bdd9;};return a45_0x348c();}logger[a45_0x2b6231(0xbb)](a45_0x2b6231(0xd2)),createConfigurationFile(yargs[a45_0x2b6231(0xab)]['username'],yargs[a45_0x2b6231(0xab)][a45_0x2b6231(0xc4)],yargs['argv'][a45_0x2b6231(0xce)]);try{sdkSetup();}catch(a45_0x56779d){logger['debug']('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+a45_0x56779d);}addScriptInPackageJson();function createConfigurationFile(_0x2d5e99,_0x19db08,_0x382ead=![]){const _0x1c3ba1=a45_0x2b6231,_0x4fdbce={};_0x4fdbce[_0x1c3ba1(0xa9)]=_0x1c3ba1(0xc5),_0x4fdbce[_0x1c3ba1(0xc6)]=_0x1c3ba1(0xba),_0x4fdbce[_0x1c3ba1(0xc9)]='YOUR_ACCESS_KEY';const _0x1d77eb=_0x4fdbce;try{let _0x3ef659=fs['readFileSync'](_0x382ead?configFileTemplatePW:configFileTemplate,_0x1d77eb[_0x1c3ba1(0xa9)]);_0x2d5e99&&(_0x3ef659=_0x3ef659['replace'](_0x1d77eb[_0x1c3ba1(0xc6)],_0x2d5e99)),_0x19db08&&(_0x3ef659=_0x3ef659[_0x1c3ba1(0xc3)](_0x1d77eb[_0x1c3ba1(0xc9)],_0x19db08)),config=yaml['load'](_0x3ef659),fs[_0x1c3ba1(0xe2)](configFile,_0x3ef659,_0x6815e4=>{const _0x3b41d4=_0x1c3ba1;_0x6815e4&&logger[_0x3b41d4(0xb8)](_0x6815e4);});}catch(_0x55bafd){logger['error'](_0x55bafd);}}function addPostInstallScript(_0x9022ae,_0x306fbd){const _0x3eaba2=a45_0x2b6231,_0x434c9c={};_0x434c9c['TmYRU']=_0x3eaba2(0xe6),_0x434c9c[_0x3eaba2(0xa7)]=_0x3eaba2(0xb9),_0x434c9c[_0x3eaba2(0xd0)]=_0x3eaba2(0xa3);const _0x2fc8b9=_0x434c9c;let _0x495823=_0x9022ae[_0x2fc8b9[_0x3eaba2(0xb3)]];if(_0x495823&&_0x495823[_0x3eaba2(0xbf)](_0x2fc8b9[_0x3eaba2(0xa7)]))return;!_0x495823?_0x495823=_0x2fc8b9['xNQdf']:_0x495823+=_0x2fc8b9['tqtyD'],_0x306fbd[_0x3eaba2(0xcf)]([_0x2fc8b9['TmYRU'],_0x495823]);}function a45_0x4cb1(_0x7948a3,_0x1eb9b2){const _0x348c8c=a45_0x348c();return a45_0x4cb1=function(_0x4cb1f6,_0x5da0ec){_0x4cb1f6=_0x4cb1f6-0x99;let _0x3e7b86=_0x348c8c[_0x4cb1f6];return _0x3e7b86;},a45_0x4cb1(_0x7948a3,_0x1eb9b2);}function addScriptInPackageJson(){const _0x408f56=a45_0x2b6231,_0x41477d={'swilA':_0x408f56(0xc5),'SNeVF':function(_0x1c3ce8,_0x4fcd3a){return _0x1c3ce8<_0x4fcd3a;},'jkfiB':function(_0x6eef02,_0x47100b,_0x3a5926){return _0x6eef02(_0x47100b,_0x3a5926);},'SGJaj':function(_0x284a17,_0x5f2ab4){return _0x284a17!==_0x5f2ab4;},'fxWtT':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x4f3fad=JSON['parse'](fs[_0x408f56(0x9a)](packageFile,_0x41477d[_0x408f56(0x9f)])),_0x536a2a=[];for(let _0x305f3a=0x0;_0x41477d[_0x408f56(0xaf)](_0x305f3a,frameworks[_0x408f56(0xae)]);_0x305f3a+=0x1){const _0x6f7ba3=_0x41477d[_0x408f56(0xc8)](findScriptsWithFramework,_0x4f3fad[_0x408f56(0xc7)],frameworks[_0x305f3a]);for(let _0x54acc8=0x0;_0x41477d[_0x408f56(0xaf)](_0x54acc8,_0x6f7ba3['length']);_0x54acc8+=0x1){_0x536a2a[_0x408f56(0xcf)](_0x41477d[_0x408f56(0xc8)](getUpdatedCommand,_0x4f3fad[_0x408f56(0xc7)],_0x6f7ba3[_0x54acc8]));}_0x41477d[_0x408f56(0xc8)](addPostInstallScript,_0x4f3fad['scripts'],_0x536a2a);}const _0x1da3b3={..._0x4f3fad['scripts']},_0x476b3c=_0x1da3b3;for(let _0x187465=0x0;_0x41477d[_0x408f56(0xaf)](_0x187465,_0x536a2a['length']);_0x187465+=0x1){_0x476b3c[_0x536a2a[_0x187465][0x0]]=_0x536a2a[_0x187465][0x1];}_0x41477d[_0x408f56(0xb1)](JSON['stringify'](_0x4f3fad['scripts']),JSON['stringify'](_0x476b3c))&&(logger[_0x408f56(0xbb)](_0x41477d[_0x408f56(0xa4)]),_0x4f3fad[_0x408f56(0xc7)]=_0x476b3c,fs[_0x408f56(0xe2)](packageFile,JSON[_0x408f56(0xa0)](_0x4f3fad,null,0x2),_0x4f1ef8=>{_0x4f1ef8&&logger['error'](_0x4f1ef8);}));};function findScriptsWithFramework(_0x370beb,_0x55b190){const _0x4feb82=a45_0x2b6231,_0x186f90={};_0x186f90[_0x4feb82(0xbc)]=function(_0x17789b,_0x154fbd){return _0x17789b<_0x154fbd;},_0x186f90[_0x4feb82(0xe5)]=_0x4feb82(0xe1);const _0x254b16=_0x186f90,_0x33e9d8=[],_0xf8e74d=Object[_0x4feb82(0xd6)](_0x370beb);for(let _0x2d576f=0x0;_0x254b16[_0x4feb82(0xbc)](_0x2d576f,_0xf8e74d[_0x4feb82(0xae)]);_0x2d576f+=0x1){_0xf8e74d[_0x2d576f][0x1]['includes'](_0x55b190)&&!_0xf8e74d[_0x2d576f][0x1]['includes'](_0x254b16[_0x4feb82(0xe5)])&&_0x33e9d8['push'](_0xf8e74d[_0x2d576f][0x0]);}return _0x33e9d8;}function getUpdatedCommand(_0x2e7474,_0x27f9ba){const _0x345bbc=a45_0x2b6231,_0x1e4fc1={};_0x1e4fc1['XoDTx']=function(_0x57389b,_0x5a94ac){return _0x57389b!==_0x5a94ac;},_0x1e4fc1[_0x345bbc(0xcb)]='browserstack-node-sdk',_0x1e4fc1['gykFq']=function(_0x19623f,_0x45ef52){return _0x19623f===_0x45ef52;};const _0x38d266=_0x1e4fc1,_0xbc0569=_0x27f9ba+_0x345bbc(0xa2),_0x1b5e9c=_0x2e7474[_0x27f9ba],_0x534abb=_0x1b5e9c[_0x345bbc(0xb4)]('\x20');for(const _0x53032e of frameworks){if(_0x38d266[_0x345bbc(0xcd)](_0x534abb[_0x345bbc(0xa5)](_0x53032e),-0x1)){_0x534abb[_0x345bbc(0xb0)](_0x534abb[_0x345bbc(0xa5)](_0x53032e),0x0,_0x38d266['RgKph']);break;}}let _0x5ea068=_0x534abb[_0x345bbc(0x9c)]('\x20');return _0x38d266[_0x345bbc(0xb5)](_0x5ea068,_0x1b5e9c)&&(_0x5ea068=_0x345bbc(0x9d)+_0x1b5e9c),[_0xbc0569,_0x5ea068];}function sdkSetup(){const _0xa8cf49=a45_0x2b6231,_0x335c6d={};_0x335c6d['PMvnU']=_0xa8cf49(0xc1),_0x335c6d[_0xa8cf49(0xd7)]=_0xa8cf49(0xc2);const _0x2f43c9=_0x335c6d;if(helper['isUndefined'](config))return;config[_0xa8cf49(0xcc)]=_0x2f43c9[_0xa8cf49(0xdc)];try{utilities[_0xa8cf49(0x9b)](_0x2f43c9['GjIMN'],{},config,'');}catch(_0x269a8b){logger[_0xa8cf49(0xe7)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+_0x269a8b);}}logger[a45_0x2b6231(0xbb)](a45_0x2b6231(0xbd));
3
+ const a45_0x5a8a8a=a45_0x30ec;(function(_0x235cdf,_0x388034){const _0x1fef8b=a45_0x30ec,_0x1132f1=_0x235cdf();while(!![]){try{const _0x37bf09=-parseInt(_0x1fef8b(0x14f))/0x1*(parseInt(_0x1fef8b(0x138))/0x2)+-parseInt(_0x1fef8b(0x147))/0x3*(-parseInt(_0x1fef8b(0x141))/0x4)+parseInt(_0x1fef8b(0x173))/0x5*(-parseInt(_0x1fef8b(0x15b))/0x6)+-parseInt(_0x1fef8b(0x162))/0x7*(parseInt(_0x1fef8b(0x168))/0x8)+parseInt(_0x1fef8b(0x136))/0x9*(parseInt(_0x1fef8b(0x150))/0xa)+-parseInt(_0x1fef8b(0x143))/0xb+parseInt(_0x1fef8b(0x13c))/0xc*(parseInt(_0x1fef8b(0x15e))/0xd);if(_0x37bf09===_0x388034)break;else _0x1132f1['push'](_0x1132f1['shift']());}catch(_0x2960e8){_0x1132f1['push'](_0x1132f1['shift']());}}}(a45_0x13cf,0xcba1b));const fs=require('fs'),helper=require('../helpers/helper'),utilities=require(a45_0x5a8a8a(0x158)),yaml=require('js-yaml'),yargs=require('yargs'),logger=require('../helpers/logger')[a45_0x5a8a8a(0x142)],configFileTemplate=__dirname+a45_0x5a8a8a(0x169),configFileTemplatePW=__dirname+a45_0x5a8a8a(0x16f),configFile=process[a45_0x5a8a8a(0x165)]()+a45_0x5a8a8a(0x14d),packageFile=process[a45_0x5a8a8a(0x165)]()+a45_0x5a8a8a(0x174),frameworks=[a45_0x5a8a8a(0x15c),a45_0x5a8a8a(0x12f),a45_0x5a8a8a(0x156),a45_0x5a8a8a(0x16a),a45_0x5a8a8a(0x159),a45_0x5a8a8a(0x130),a45_0x5a8a8a(0x171)];function a45_0x30ec(_0x20b659,_0x143d4c){const _0x13cfb0=a45_0x13cf();return a45_0x30ec=function(_0x30ec61,_0x13e583){_0x30ec61=_0x30ec61-0x12f;let _0x2d6ada=_0x13cfb0[_0x30ec61];return _0x2d6ada;},a45_0x30ec(_0x20b659,_0x143d4c);}let config;logger['info'](a45_0x5a8a8a(0x16d)),createConfigurationFile(yargs[a45_0x5a8a8a(0x153)][a45_0x5a8a8a(0x152)],yargs[a45_0x5a8a8a(0x153)][a45_0x5a8a8a(0x157)],yargs[a45_0x5a8a8a(0x153)][a45_0x5a8a8a(0x171)]);try{sdkSetup();}catch(a45_0x494a79){logger[a45_0x5a8a8a(0x139)](a45_0x5a8a8a(0x13b)+a45_0x494a79);}addScriptInPackageJson();function createConfigurationFile(_0x3efbae,_0x8eab3,_0xbf6752=![]){const _0x332532=a45_0x5a8a8a,_0x4231b6={};_0x4231b6['Eyxcp']=_0x332532(0x179),_0x4231b6[_0x332532(0x14a)]=_0x332532(0x15a),_0x4231b6[_0x332532(0x135)]=_0x332532(0x15f);const _0x59ef65=_0x4231b6;try{let _0x32984c=fs[_0x332532(0x154)](_0xbf6752?configFileTemplatePW:configFileTemplate,_0x59ef65[_0x332532(0x15d)]);_0x3efbae&&(_0x32984c=_0x32984c[_0x332532(0x167)](_0x59ef65[_0x332532(0x14a)],_0x3efbae)),_0x8eab3&&(_0x32984c=_0x32984c[_0x332532(0x167)](_0x59ef65[_0x332532(0x135)],_0x8eab3)),config=yaml['load'](_0x32984c),fs['writeFileSync'](configFile,_0x32984c,_0x445a0d=>{const _0x92ebf8=_0x332532;_0x445a0d&&logger[_0x92ebf8(0x16c)](_0x445a0d);});}catch(_0x33b46b){logger[_0x332532(0x16c)](_0x33b46b);}}function addPostInstallScript(_0x54540d,_0x478e91){const _0x57e92c=a45_0x5a8a8a,_0x26189b={};_0x26189b['ExYYU']=_0x57e92c(0x163),_0x26189b[_0x57e92c(0x14c)]='npm\x20update\x20browserstack-node-sdk',_0x26189b['CPPEX']=_0x57e92c(0x176);const _0x2f62b9=_0x26189b;let _0x4eb7d6=_0x54540d[_0x2f62b9[_0x57e92c(0x132)]];if(_0x4eb7d6&&_0x4eb7d6[_0x57e92c(0x133)](_0x2f62b9[_0x57e92c(0x14c)]))return;!_0x4eb7d6?_0x4eb7d6=_0x2f62b9[_0x57e92c(0x14c)]:_0x4eb7d6+=_0x2f62b9[_0x57e92c(0x155)],_0x478e91[_0x57e92c(0x137)]([_0x2f62b9[_0x57e92c(0x132)],_0x4eb7d6]);}function addScriptInPackageJson(){const _0x5f2321=a45_0x5a8a8a,_0x34125a={'uNHCQ':'utf8','hADCs':function(_0xd3fb0d,_0x5509c1){return _0xd3fb0d<_0x5509c1;},'hgksb':function(_0x44cd30,_0x2ff4fd,_0x793de0){return _0x44cd30(_0x2ff4fd,_0x793de0);},'hadsP':function(_0x29e133,_0x58ee60,_0x20c3f){return _0x29e133(_0x58ee60,_0x20c3f);},'SaEAS':function(_0x1e81d7,_0x437eb4,_0x556d9d){return _0x1e81d7(_0x437eb4,_0x556d9d);},'vjQrJ':function(_0xe35e4,_0x13c0aa){return _0xe35e4<_0x13c0aa;},'VWjjE':function(_0x3a8f8a,_0x420e7b){return _0x3a8f8a!==_0x420e7b;},'LxYKd':_0x5f2321(0x170)},_0x110ea5=JSON['parse'](fs[_0x5f2321(0x154)](packageFile,_0x34125a[_0x5f2321(0x17a)])),_0x42fa87=[];for(let _0xca0a19=0x0;_0x34125a[_0x5f2321(0x145)](_0xca0a19,frameworks['length']);_0xca0a19+=0x1){const _0x5bf3d5=_0x34125a['hgksb'](findScriptsWithFramework,_0x110ea5[_0x5f2321(0x164)],frameworks[_0xca0a19]);for(let _0x3740c3=0x0;_0x34125a['hADCs'](_0x3740c3,_0x5bf3d5[_0x5f2321(0x13d)]);_0x3740c3+=0x1){_0x42fa87[_0x5f2321(0x137)](_0x34125a[_0x5f2321(0x177)](getUpdatedCommand,_0x110ea5['scripts'],_0x5bf3d5[_0x3740c3]));}_0x34125a[_0x5f2321(0x16b)](addPostInstallScript,_0x110ea5['scripts'],_0x42fa87);}const _0x49e592={..._0x110ea5[_0x5f2321(0x164)]},_0x5e70a8=_0x49e592;for(let _0x1f4180=0x0;_0x34125a['vjQrJ'](_0x1f4180,_0x42fa87[_0x5f2321(0x13d)]);_0x1f4180+=0x1){_0x5e70a8[_0x42fa87[_0x1f4180][0x0]]=_0x42fa87[_0x1f4180][0x1];}_0x34125a['VWjjE'](JSON[_0x5f2321(0x14e)](_0x110ea5['scripts']),JSON[_0x5f2321(0x14e)](_0x5e70a8))&&(logger[_0x5f2321(0x16e)](_0x34125a[_0x5f2321(0x146)]),_0x110ea5[_0x5f2321(0x164)]=_0x5e70a8,fs[_0x5f2321(0x13f)](packageFile,JSON['stringify'](_0x110ea5,null,0x2),_0x270fd4=>{const _0x2b21be=_0x5f2321;_0x270fd4&&logger[_0x2b21be(0x16c)](_0x270fd4);}));};function findScriptsWithFramework(_0x2334ad,_0x435d14){const _0x2d80ff=a45_0x5a8a8a,_0x40bcb5={};_0x40bcb5[_0x2d80ff(0x178)]=function(_0x27dce6,_0x4b5213){return _0x27dce6<_0x4b5213;},_0x40bcb5[_0x2d80ff(0x175)]=_0x2d80ff(0x140);const _0x5e4f15=_0x40bcb5,_0x10378f=[],_0x3c0e61=Object[_0x2d80ff(0x131)](_0x2334ad);for(let _0x5bc31d=0x0;_0x5e4f15['cLtFo'](_0x5bc31d,_0x3c0e61[_0x2d80ff(0x13d)]);_0x5bc31d+=0x1){_0x3c0e61[_0x5bc31d][0x1][_0x2d80ff(0x133)](_0x435d14)&&!_0x3c0e61[_0x5bc31d][0x1][_0x2d80ff(0x133)](_0x5e4f15[_0x2d80ff(0x175)])&&_0x10378f['push'](_0x3c0e61[_0x5bc31d][0x0]);}return _0x10378f;}function getUpdatedCommand(_0x2e1883,_0x581089){const _0x264067=a45_0x5a8a8a,_0x1c9677={};_0x1c9677[_0x264067(0x151)]=function(_0x512f2a,_0x1f595b){return _0x512f2a!==_0x1f595b;},_0x1c9677[_0x264067(0x17b)]=_0x264067(0x140),_0x1c9677[_0x264067(0x14b)]=function(_0xa1b629,_0x44adf1){return _0xa1b629===_0x44adf1;};const _0x5e0495=_0x1c9677,_0x45484c=_0x581089+_0x264067(0x149),_0x6a2366=_0x2e1883[_0x581089],_0x5ca2b4=_0x6a2366['split']('\x20');for(const _0xd977f9 of frameworks){if(_0x5e0495[_0x264067(0x151)](_0x5ca2b4[_0x264067(0x172)](_0xd977f9),-0x1)){_0x5ca2b4[_0x264067(0x144)](_0x5ca2b4[_0x264067(0x172)](_0xd977f9),0x0,_0x5e0495[_0x264067(0x17b)]);break;}}let _0x16e7c1=_0x5ca2b4['join']('\x20');return _0x5e0495[_0x264067(0x14b)](_0x16e7c1,_0x6a2366)&&(_0x16e7c1=_0x264067(0x161)+_0x6a2366),[_0x45484c,_0x16e7c1];}function sdkSetup(){const _0x1207fa=a45_0x5a8a8a,_0x526901={};_0x526901['ftFEB']='node-setup',_0x526901[_0x1207fa(0x134)]=_0x1207fa(0x13a);const _0x40e709=_0x526901;if(helper[_0x1207fa(0x148)](config))return;config[_0x1207fa(0x160)]=_0x40e709['ftFEB'];try{utilities[_0x1207fa(0x166)](_0x40e709['TPcSZ'],{},config,'');}catch(_0x23e394){logger['debug']('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+_0x23e394);}}function a45_0x13cf(){const _0x33fa11=['YOUR_ACCESS_KEY','source','browserstack-node-sdk\x20','7JnDXIB','postinstall','scripts','cwd','fireFunnelTestEvent','replace','5322352ZaQuqP','/../../browserstack.yml.sample','node','SaEAS','error','Creating\x20configuration\x20file...','info','/../../browserstack.pw.yml.sample','Adding\x20new\x20script(s)\x20in\x20package.json...','playwright','indexOf','3225pfLoCB','/package.json','GcVOq','\x20&&\x20npm\x20update\x20browserstack-node-sdk','hadsP','cLtFo','utf8','uNHCQ','iThho','jest','codeceptjs','entries','ExYYU','includes','TPcSZ','kZOBv','3123zvqdRS','push','34PSLzKj','debug','SDKSetup','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','12zFUzJp','length','Setup\x20completed','writeFileSync','browserstack-node-sdk','44996iTwqQw','winstonLogger','14584262ZbcrQR','splice','hADCs','LxYKd','282YpekhN','isUndefined','-browserstack','txUrK','yaOAD','fcHba','/browserstack.yml','stringify','38644qIOVpy','1130epWuqx','xZDJF','username','argv','readFileSync','CPPEX','cucumber-js','key','../helpers/utilities','nightwatch','YOUR_USERNAME','5634fpSeoZ','mocha','Eyxcp','38885561AskRHX'];a45_0x13cf=function(){return _0x33fa11;};return a45_0x13cf();}logger[a45_0x5a8a8a(0x16e)](a45_0x5a8a8a(0x13e));
@@ -1 +1 @@
1
- const a46_0x584013=a46_0x2266;(function(_0x4cf86f,_0x29e3b5){const _0x3311b9=a46_0x2266,_0xe67007=_0x4cf86f();while(!![]){try{const _0x47c519=-parseInt(_0x3311b9(0xd3))/0x1*(parseInt(_0x3311b9(0x103))/0x2)+parseInt(_0x3311b9(0xf9))/0x3+-parseInt(_0x3311b9(0xc5))/0x4+parseInt(_0x3311b9(0xcf))/0x5+parseInt(_0x3311b9(0x109))/0x6+parseInt(_0x3311b9(0x10c))/0x7+parseInt(_0x3311b9(0x108))/0x8*(parseInt(_0x3311b9(0x11a))/0x9);if(_0x47c519===_0x29e3b5)break;else _0xe67007['push'](_0xe67007['shift']());}catch(_0x10908c){_0xe67007['push'](_0xe67007['shift']());}}}(a46_0x11e1,0xb220c));function a46_0x11e1(){const _0xd100b2=['all','YOCLx','../../helpers/testhub/testhubHandler','config','rSqam','\x20for','launchBuild','MVXre','configuration','SKLQX','push','FumDc','platform-run-start','fITwI','pipe','util','ViWbA','CVmQS','llSVU','file','../../helpers/performance/constants','map','platformCaps','results','postMessage','_child','waitForExit','error','emittery','stop','EGfup','DpjfL','YBMbK','Workers\x20failed\x20to\x20exit\x20gracefully','95391JgXQzL','winstonLogger','EVENTS','FGLSf','getStdout','cxors','MOpHW','exit','platforms','parallelTestRun','2693146smlnkR','../../helpers/logger','failureCount','iadXo','getStderr','18352UIrIZS','177474OwICAJ','resolve','FpGxf','3409455gdCjRU','erDgl','cSyku','then','debug','length','SDK_SETUP','platform','Running\x20','WRnJO','cyAtp','p-limit','test-file-failure','vanillaWorker','4401SfhXXZ','../../helpers/performance/performance-tester','worker_threads','jest-worker','worker','parallelVanillaRun','./testWorker.js','platform-run-success','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','end','Exception\x20in\x20sending\x20worker\x20message\x20','emit','gyUHW','RlDBd','test-file-success','stdout','parallelCucumberRun','uteaD','json','aGexi','1445088siUzhY','NhXwx','_workerPool','stderr','bBQmv','cibiJ','Bosxi','info','../../helpers/test-observability/utils','platform-run-failure','3836250VQVBhA','exitCode','UnJKG','log','1ZsILTG','format','Worker','cucumberWorker'];a46_0x11e1=function(){return _0xd100b2;};return a46_0x11e1();}function a46_0x2266(_0x45ec47,_0x53a85d){const _0x11e171=a46_0x11e1();return a46_0x2266=function(_0x226699,_0x3760f1){_0x226699=_0x226699-0xba;let _0x4cacfd=_0x11e171[_0x226699];return _0x4cacfd;},a46_0x2266(_0x45ec47,_0x53a85d);}const Worker=require(a46_0x584013(0x11d))[a46_0x584013(0xd5)],Emittery=require(a46_0x584013(0xf3)),pLimit=require(a46_0x584013(0x117)),{parentPort}=require(a46_0x584013(0x11c)),util=require(a46_0x584013(0xe6)),logger=require(a46_0x584013(0x104))[a46_0x584013(0xfa)],PerformanceTester=require(a46_0x584013(0x11b)),PerformanceEvents=require(a46_0x584013(0xeb))[a46_0x584013(0xfb)],{debug}=require(a46_0x584013(0xcd)),TestHubHandler=require(a46_0x584013(0xd9)),{FRAMEWORKS}=require('../../helpers/test-observability/constants');exports[a46_0x584013(0x102)]=(_0x1590d1,_0x16bbac,_0x455285)=>new Promise(async _0x210419=>{const _0x340751=a46_0x584013,_0x49d888={'gyUHW':_0x340751(0x105),'FumDc':function(_0x3e89ad,_0x467116){return _0x3e89ad+_0x467116;},'uteaD':_0x340751(0xee),'gmQov':'Workers\x20failed\x20to\x20exit\x20gracefully','CVmQS':function(_0xf32b0e,_0x4c5006){return _0xf32b0e(_0x4c5006);},'EGfup':'test-file-start','PfLhY':_0x340751(0x120),'zGRSu':_0x340751(0x11e),'fITwI':'json','FGLSf':_0x340751(0xe5),'YBMbK':function(_0x54f4a3,_0x4cd767){return _0x54f4a3*_0x4cd767;},'Uxdbm':_0x340751(0xbf),'rSqam':_0x340751(0x118),'ODDpB':function(_0x4293b6,_0x590af6){return _0x4293b6(_0x590af6);},'aGexi':function(_0x45eabd,_0x757edc){return _0x45eabd*_0x757edc;}},_0x427f70=_0x455285[_0x340751(0xda)],_0x2496b1={},_0x5ad71d=await TestHubHandler[_0x340751(0xdd)](FRAMEWORKS['MOCHA'],_0x455285),_0x27d63b=new Worker(require['resolve'](_0x49d888['PfLhY']),{'exposedMethods':[_0x49d888['zGRSu']],'forkOptions':{'serialization':_0x49d888[_0x340751(0xe4)],'stdio':_0x49d888[_0x340751(0xfc)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x49d888[_0x340751(0xf7)](_0x16bbac,0x1),'enableWorkerThreads':!![]}),_0x3b872b=new Emittery();_0x3b872b['on'](_0x49d888['Uxdbm'],_0x1012dd=>{const _0x3a82af=_0x340751;_0x2496b1[_0x1012dd[0x0]]?(_0x2496b1[_0x1012dd[0x0]][_0x49d888['gyUHW']]=_0x49d888[_0x3a82af(0xe2)](_0x2496b1[_0x1012dd[0x0]][_0x49d888[_0x3a82af(0xbd)]],_0x1012dd[0x1][_0x49d888[_0x3a82af(0xbd)]]),_0x2496b1[_0x1012dd[0x0]][_0x49d888[_0x3a82af(0xc2)]]=[..._0x2496b1[_0x1012dd[0x0]][_0x49d888[_0x3a82af(0xc2)]],..._0x1012dd[0x1][_0x49d888['uteaD']]]):_0x2496b1[_0x1012dd[0x0]]={'failureCount':_0x1012dd[0x1][_0x49d888[_0x3a82af(0xbd)]],'results':[..._0x1012dd[0x1][_0x49d888[_0x3a82af(0xc2)]]]};}),_0x3b872b['on'](_0x49d888[_0x340751(0xdb)],_0x6759c2=>console[_0x340751(0xd2)](_0x6759c2[0x1]));_0x27d63b[_0x340751(0xfd)]()&&_0x27d63b[_0x340751(0xfd)]()[_0x340751(0xe5)](process[_0x340751(0xc0)]);_0x27d63b[_0x340751(0x107)]()&&_0x27d63b[_0x340751(0x107)]()[_0x340751(0xe5)](process['stderr']);const _0x2a1de5=async()=>{const _0x474096=_0x340751,{forceExited:_0x61433}=await _0x27d63b[_0x474096(0xba)]();_0x61433&&console['error'](_0x49d888['gmQov']);try{await TestHubHandler[_0x474096(0xf4)]();}catch(_0x5ed399){_0x49d888[_0x474096(0xe8)](debug,_0x474096(0x122)+_0x5ed399);}_0x49d888['CVmQS'](_0x210419,_0x2496b1);},_0x4c7830=_0x49d888['ODDpB'](pLimit,_0x49d888[_0x340751(0xc4)](_0x16bbac,0x1)),_0x1c1bc7=_0x21f679=>_0x4c7830(async()=>{const _0x13188d=_0x340751;await _0x3b872b[_0x13188d(0xbc)](_0x49d888[_0x13188d(0xf5)],_0x21f679);const _0x348431=_0x27d63b[_0x13188d(0x11e)](_0x21f679,_0x427f70);try{parentPort&&_0x348431['UNSTABLE_onCustomMessage'](_0x234341=>{const _0x59cb4f=_0x13188d;try{parentPort[_0x59cb4f(0xef)](_0x234341);}catch(_0x2aacf1){logger[_0x59cb4f(0x110)](_0x59cb4f(0xbb)+util[_0x59cb4f(0xd4)](_0x2aacf1));}});}catch(_0x3c68be){logger['debug']('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util['format'](_0x3c68be));}return _0x348431;});PerformanceTester[_0x340751(0xba)](PerformanceEvents[_0x340751(0x112)]),Promise['all'](_0x1590d1[_0x340751(0xec)](_0x1deedf=>_0x1c1bc7(_0x1deedf)[_0x340751(0x10f)](_0x4410ef=>_0x3b872b['emit']('test-file-success',[_0x1deedf[_0x340751(0xdf)]['platform'],_0x4410ef]),_0x40cbd1=>_0x3b872b['emit'](_0x340751(0x118),[_0x1deedf,_0x40cbd1]))))[_0x340751(0x10f)](_0x2a1de5,_0x2a1de5);}),exports[a46_0x584013(0xc1)]=(_0x554d17,_0x202cf8,_0x454d6e,_0x39b777,_0x589b0c)=>{const _0x3d0967=a46_0x584013,_0x6ac591={'YyrJu':_0x3d0967(0xf8),'UnJKG':function(_0x37f13b,_0x537395){return _0x37f13b(_0x537395);},'llSVU':_0x3d0967(0xe3),'cyAtp':_0x3d0967(0x120),'FpGxf':_0x3d0967(0xd6),'iadXo':_0x3d0967(0xc3),'cxors':_0x3d0967(0xe5),'yDHNl':_0x3d0967(0x121),'MOpHW':_0x3d0967(0xce),'tdMqt':function(_0x571daa,_0x41080f){return _0x571daa(_0x41080f);}};return new Promise(_0x3e7741=>{const _0x4b259b=_0x3d0967,_0x346768={'amxqA':_0x6ac591['YyrJu'],'WRnJO':function(_0x1a31f4,_0x101d36){const _0x3a53be=a46_0x2266;return _0x6ac591[_0x3a53be(0xd1)](_0x1a31f4,_0x101d36);},'bBQmv':_0x6ac591[_0x4b259b(0xe9)]},_0xbfa383=[],_0x30cb3b=new Worker(require[_0x4b259b(0x10a)](_0x6ac591[_0x4b259b(0x116)]),{'exposedMethods':[_0x6ac591[_0x4b259b(0x10b)]],'forkOptions':{'serialization':_0x6ac591[_0x4b259b(0x106)],'stdio':_0x6ac591[_0x4b259b(0xfe)]},'numWorkers':_0x554d17[_0x4b259b(0x111)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x292b88=new Emittery();_0x292b88['on'](_0x6ac591['yDHNl'],_0x52228f=>{const _0x118da5=_0x4b259b;_0xbfa383[_0x118da5(0xe1)]([_0x52228f[0x0],_0x52228f[0x1]]);}),_0x292b88['on'](_0x6ac591[_0x4b259b(0xff)],_0x1607e0=>console[_0x4b259b(0xd2)](_0x1607e0[0x1]));_0x30cb3b[_0x4b259b(0xfd)]()&&_0x30cb3b[_0x4b259b(0xfd)]()[_0x4b259b(0xe5)](process[_0x4b259b(0xc0)]);_0x30cb3b[_0x4b259b(0x107)]()&&_0x30cb3b[_0x4b259b(0x107)]()[_0x4b259b(0xe5)](process[_0x4b259b(0xc8)]);const _0x12984b=async()=>{const _0x50ace5=_0x4b259b,{forceExited:_0x52ed58}=await _0x30cb3b['end']();_0x52ed58&&console['error'](_0x346768['amxqA']),_0x346768[_0x50ace5(0x115)](_0x3e7741,_0xbfa383);},_0x592fca=_0x6ac591['tdMqt'](pLimit,_0x554d17[_0x4b259b(0x111)]||0x1),_0x11161d=(_0x448620,_0x1f2022)=>_0x592fca(async()=>{const _0x5cca1a=_0x4b259b;return await _0x292b88['emit'](_0x346768[_0x5cca1a(0xc9)],_0x448620),_0x202cf8[_0x5cca1a(0xed)]=_0x454d6e[_0x5cca1a(0x101)][_0x1f2022],_0x30cb3b[_0x5cca1a(0xd6)](_0x448620,_0x202cf8,_0x454d6e,_0x39b777,_0x589b0c);});Promise[_0x4b259b(0xd7)](_0x554d17[_0x4b259b(0xec)]((_0x333162,_0x5474fa)=>_0x11161d(_0x333162,_0x5474fa)[_0x4b259b(0x10f)](_0x50c932=>_0x292b88[_0x4b259b(0xbc)]('platform-run-success',[_0x333162,_0x50c932]),_0x591616=>_0x292b88[_0x4b259b(0xbc)](_0x4b259b(0xce),[_0x333162,_0x591616]))))['then'](_0x12984b,_0x12984b);});},exports[a46_0x584013(0x11f)]=(_0x2a4110,_0xba3b1b)=>new Promise(_0x558a41=>{const _0x30ea50=a46_0x584013,_0x4d2893={'cSyku':function(_0x3c943b,_0x28bf5e){return _0x3c943b===_0x28bf5e;},'ZcTHf':function(_0x2d9229,_0x21feab){return _0x2d9229!==_0x21feab;},'DpjfL':_0x30ea50(0x100),'MUauw':_0x30ea50(0xf8),'cibiJ':function(_0x3ea8f8,_0x30893b){return _0x3ea8f8(_0x30893b);},'erDgl':'./testWorker.js','MVXre':_0x30ea50(0x119),'Bosxi':_0x30ea50(0xc3),'ViWbA':_0x30ea50(0xe5),'SKLQX':_0x30ea50(0xbf),'RlDBd':_0x30ea50(0x118)},_0x20ce49={},_0x3b2abf=new Worker(require[_0x30ea50(0x10a)](_0x4d2893[_0x30ea50(0x10d)]),{'exposedMethods':[_0x4d2893[_0x30ea50(0xde)]],'forkOptions':{'serialization':_0x4d2893[_0x30ea50(0xcb)],'stdio':_0x4d2893[_0x30ea50(0xe7)]},'numWorkers':_0xba3b1b,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x315156=new Emittery();_0x315156['on'](_0x4d2893[_0x30ea50(0xe0)],_0x2bccd5=>{const _0x1c7dc3=_0x30ea50;_0x2bccd5[0x0]&&logger[_0x1c7dc3(0xcc)](_0x1c7dc3(0x114)+_0x2bccd5[0x1]+_0x1c7dc3(0xdc),_0x2bccd5[0x0]);}),_0x315156['on'](_0x4d2893[_0x30ea50(0xbe)],_0x24f481=>{const _0x4695d4=_0x30ea50;process[_0x4695d4(0xd0)]=0x1;});_0x3b2abf['getStdout']()&&_0x3b2abf['getStdout']()[_0x30ea50(0xe5)](process[_0x30ea50(0xc0)]);_0x3b2abf['getStderr']()&&_0x3b2abf[_0x30ea50(0x107)]()[_0x30ea50(0xe5)](process[_0x30ea50(0xc8)]);const _0x5cd4b0=async()=>{const _0x597786=_0x30ea50,_0x353bf8={'NhXwx':function(_0x1ef8be,_0x6f8a27){const _0x51fb3d=a46_0x2266;return _0x4d2893[_0x51fb3d(0x10e)](_0x1ef8be,_0x6f8a27);},'fhHpF':function(_0x23475d,_0x456db6){return _0x4d2893['ZcTHf'](_0x23475d,_0x456db6);},'YOCLx':_0x4d2893[_0x597786(0xf6)]};let _0x31cd94=0x0;const _0x15bddc=_0x3b2abf[_0x597786(0xc7)]['getWorkers'](),_0xa890cd=()=>{},_0x318d4d=_0x15bddc[_0x597786(0xec)](async _0x539375=>{const _0x1cd0c8=_0x597786;_0x539375['send']([0x2,![]],_0xa890cd,_0xa890cd,_0xa890cd),_0x539375[_0x1cd0c8(0xf0)]['on'](_0x353bf8[_0x1cd0c8(0xd8)],_0x2c07c5=>{const _0x35f4f1=_0x1cd0c8;_0x353bf8[_0x35f4f1(0xc6)](_0x31cd94,0x0)&&_0x353bf8['fhHpF'](_0x2c07c5,0x0)&&(_0x31cd94=_0x2c07c5);}),await _0x539375[_0x1cd0c8(0xf1)]();});await Promise[_0x597786(0xd7)](_0x318d4d),process[_0x597786(0xd0)]=_0x31cd94;const {forceExited:_0x1638e9}=await _0x3b2abf[_0x597786(0xba)]();_0x1638e9&&console[_0x597786(0xf2)](_0x4d2893['MUauw']),_0x4d2893[_0x597786(0xca)](_0x558a41,_0x20ce49);},_0x362230=_0x4d2893[_0x30ea50(0xca)](pLimit,_0xba3b1b),_0x596ef1=_0x553de8=>_0x362230(async()=>{const _0x5b36ea=_0x30ea50;return _0x3b2abf[_0x5b36ea(0x119)](_0x553de8);});Promise[_0x30ea50(0xd7)](_0x2a4110[_0x30ea50(0xec)](_0x356754=>_0x596ef1(_0x356754)[_0x30ea50(0x10f)](_0x1931e1=>_0x315156[_0x30ea50(0xbc)](_0x30ea50(0xbf),[_0x356754[_0x30ea50(0xdf)][_0x30ea50(0x113)],_0x356754[_0x30ea50(0xdf)][_0x30ea50(0xea)]]),_0x5b9cad=>_0x315156[_0x30ea50(0xbc)](_0x30ea50(0x118),[_0x356754,_0x5b9cad]))))[_0x30ea50(0x10f)](_0x5cd4b0,_0x5cd4b0);});
1
+ const a46_0xbe58ae=a46_0x320e;(function(_0x1e83cd,_0x187af7){const _0x9deaf8=a46_0x320e,_0x540afa=_0x1e83cd();while(!![]){try{const _0x2a90c6=parseInt(_0x9deaf8(0x203))/0x1*(-parseInt(_0x9deaf8(0x1e1))/0x2)+-parseInt(_0x9deaf8(0x1c7))/0x3+-parseInt(_0x9deaf8(0x1f6))/0x4+parseInt(_0x9deaf8(0x1ce))/0x5*(parseInt(_0x9deaf8(0x1ed))/0x6)+-parseInt(_0x9deaf8(0x1f7))/0x7*(-parseInt(_0x9deaf8(0x1ad))/0x8)+-parseInt(_0x9deaf8(0x1e8))/0x9+parseInt(_0x9deaf8(0x1be))/0xa;if(_0x2a90c6===_0x187af7)break;else _0x540afa['push'](_0x540afa['shift']());}catch(_0x286f02){_0x540afa['push'](_0x540afa['shift']());}}}(a46_0x46ad,0xbbc47));const Worker=require(a46_0xbe58ae(0x1c0))[a46_0xbe58ae(0x1d7)],Emittery=require(a46_0xbe58ae(0x1c2)),pLimit=require('p-limit'),{parentPort}=require(a46_0xbe58ae(0x205)),util=require(a46_0xbe58ae(0x208)),logger=require(a46_0xbe58ae(0x1da))['winstonLogger'],PerformanceTester=require(a46_0xbe58ae(0x202)),PerformanceEvents=require('../../helpers/performance/constants')[a46_0xbe58ae(0x1ca)],{debug}=require(a46_0xbe58ae(0x1ea)),TestHubHandler=require(a46_0xbe58ae(0x20a)),{FRAMEWORKS}=require('../../helpers/test-observability/constants');function a46_0x320e(_0x551d34,_0xa5f60){const _0x46ad36=a46_0x46ad();return a46_0x320e=function(_0x320e8a,_0x27779c){_0x320e8a=_0x320e8a-0x1a9;let _0x256d24=_0x46ad36[_0x320e8a];return _0x256d24;},a46_0x320e(_0x551d34,_0xa5f60);}exports[a46_0xbe58ae(0x1ef)]=(_0x448c5c,_0x1ff638,_0x469b93)=>new Promise(async _0x27a8ab=>{const _0x3abfa5=a46_0xbe58ae,_0x5f2f04={'xkYyE':_0x3abfa5(0x1b1),'IUIty':function(_0x468cd8,_0x4d50fb){return _0x468cd8+_0x4d50fb;},'JOwBe':_0x3abfa5(0x1e9),'lZswp':'Workers\x20failed\x20to\x20exit\x20gracefully','bRsQv':function(_0x22aa27,_0x161bfd){return _0x22aa27(_0x161bfd);},'DeNGF':'test-file-start','rBWaW':_0x3abfa5(0x1d6),'XolVm':_0x3abfa5(0x1d4),'gaLYJ':_0x3abfa5(0x1dd),'CPZZQ':_0x3abfa5(0x1f5),'UbAXO':function(_0x10f362,_0x6076eb){return _0x10f362*_0x6076eb;},'DctHq':_0x3abfa5(0x1e7),'SnrBx':_0x3abfa5(0x1d0)},_0x53d4c8=_0x469b93[_0x3abfa5(0x1dc)],_0x32f0b5={},_0x31052a=await TestHubHandler[_0x3abfa5(0x1ac)](FRAMEWORKS[_0x3abfa5(0x1b2)],_0x469b93),_0x1d058c=new Worker(require[_0x3abfa5(0x1e4)](_0x5f2f04['rBWaW']),{'exposedMethods':[_0x5f2f04[_0x3abfa5(0x1ec)]],'forkOptions':{'serialization':_0x5f2f04[_0x3abfa5(0x1cc)],'stdio':_0x5f2f04[_0x3abfa5(0x1d1)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x5f2f04['UbAXO'](_0x1ff638,0x1),'enableWorkerThreads':!![]}),_0x5c38dd=new Emittery();_0x5c38dd['on'](_0x5f2f04['DctHq'],_0x3f9de0=>{const _0x5ada3f=_0x3abfa5;_0x32f0b5[_0x3f9de0[0x0]]?(_0x32f0b5[_0x3f9de0[0x0]][_0x5f2f04[_0x5ada3f(0x1c4)]]=_0x5f2f04[_0x5ada3f(0x1cd)](_0x32f0b5[_0x3f9de0[0x0]][_0x5f2f04[_0x5ada3f(0x1c4)]],_0x3f9de0[0x1][_0x5f2f04[_0x5ada3f(0x1c4)]]),_0x32f0b5[_0x3f9de0[0x0]][_0x5f2f04[_0x5ada3f(0x1d3)]]=[..._0x32f0b5[_0x3f9de0[0x0]][_0x5f2f04[_0x5ada3f(0x1d3)]],..._0x3f9de0[0x1][_0x5f2f04[_0x5ada3f(0x1d3)]]]):_0x32f0b5[_0x3f9de0[0x0]]={'failureCount':_0x3f9de0[0x1][_0x5f2f04['xkYyE']],'results':[..._0x3f9de0[0x1][_0x5f2f04[_0x5ada3f(0x1d3)]]]};}),_0x5c38dd['on'](_0x5f2f04[_0x3abfa5(0x1f8)],_0x16f36e=>console[_0x3abfa5(0x1f9)](_0x16f36e[0x1]));_0x1d058c['getStdout']()&&_0x1d058c['getStdout']()[_0x3abfa5(0x1f5)](process[_0x3abfa5(0x1df)]);_0x1d058c[_0x3abfa5(0x1ba)]()&&_0x1d058c[_0x3abfa5(0x1ba)]()[_0x3abfa5(0x1f5)](process[_0x3abfa5(0x1d9)]);const _0x269b20=async()=>{const _0x44700b=_0x3abfa5,{forceExited:_0x462646}=await _0x1d058c['end']();_0x462646&&console[_0x44700b(0x1bd)](_0x5f2f04[_0x44700b(0x1de)]);try{await TestHubHandler[_0x44700b(0x1e6)]();}catch(_0x4dece5){_0x5f2f04[_0x44700b(0x1cb)](debug,_0x44700b(0x1b0)+_0x4dece5);}_0x5f2f04[_0x44700b(0x1cb)](_0x27a8ab,_0x32f0b5);},_0x4d2bf0=_0x5f2f04[_0x3abfa5(0x1cb)](pLimit,_0x5f2f04[_0x3abfa5(0x1f2)](_0x1ff638,0x1)),_0x22a8c7=_0x4f9478=>_0x4d2bf0(async()=>{const _0x5d51f7=_0x3abfa5;await _0x5c38dd['emit'](_0x5f2f04[_0x5d51f7(0x1ff)],_0x4f9478);const _0x5b5b1a=_0x1d058c[_0x5d51f7(0x1d4)](_0x4f9478,_0x53d4c8);try{parentPort&&_0x5b5b1a[_0x5d51f7(0x1e5)](_0x56ec5f=>{const _0x333365=_0x5d51f7;try{parentPort[_0x333365(0x1c1)](_0x56ec5f);}catch(_0x2c12b0){logger[_0x333365(0x1e0)]('Exception\x20in\x20sending\x20worker\x20message\x20'+util['format'](_0x2c12b0));}});}catch(_0x5c1d03){logger[_0x5d51f7(0x1e0)]('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util['format'](_0x5c1d03));}return _0x5b5b1a;});PerformanceTester[_0x3abfa5(0x1fc)](PerformanceEvents[_0x3abfa5(0x1bb)]),Promise[_0x3abfa5(0x20b)](_0x448c5c[_0x3abfa5(0x1fa)](_0x5f1c40=>_0x22a8c7(_0x5f1c40)[_0x3abfa5(0x1c8)](_0x1c1196=>_0x5c38dd['emit']('test-file-success',[_0x5f1c40['configuration'][_0x3abfa5(0x1f0)],_0x1c1196]),_0x5bd712=>_0x5c38dd[_0x3abfa5(0x206)]('test-file-failure',[_0x5f1c40,_0x5bd712]))))[_0x3abfa5(0x1c8)](_0x269b20,_0x269b20);}),exports[a46_0xbe58ae(0x1eb)]=(_0x4e661a,_0x2a4743,_0x29e568,_0x3b8d8e,_0x4712e3)=>{const _0x1b3a02=a46_0xbe58ae,_0x5361f8={'CVsUB':_0x1b3a02(0x1b8),'UtYsS':function(_0x16813f,_0x2ad942){return _0x16813f(_0x2ad942);},'lVWgd':'platform-run-start','arOos':_0x1b3a02(0x1d6),'AyUJt':_0x1b3a02(0x201),'PAcvs':'json','FqKOl':_0x1b3a02(0x1f5),'QuYXa':_0x1b3a02(0x1ab),'wJKLM':_0x1b3a02(0x1c9)};return new Promise(_0x282319=>{const _0x23653c=_0x1b3a02,_0x3628a0={'eEjoy':_0x5361f8[_0x23653c(0x1b4)],'RmOGa':function(_0x43cab9,_0x553444){const _0x2a6fee=_0x23653c;return _0x5361f8[_0x2a6fee(0x1b5)](_0x43cab9,_0x553444);},'WTRVL':_0x5361f8['lVWgd']},_0x35820a=[],_0x258c08=new Worker(require[_0x23653c(0x1e4)](_0x5361f8[_0x23653c(0x1d8)]),{'exposedMethods':[_0x5361f8['AyUJt']],'forkOptions':{'serialization':_0x5361f8[_0x23653c(0x1c6)],'stdio':_0x5361f8['FqKOl']},'numWorkers':_0x4e661a[_0x23653c(0x1bc)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x348171=new Emittery();_0x348171['on'](_0x5361f8[_0x23653c(0x1c5)],_0x254bd1=>{const _0x1daebd=_0x23653c;_0x35820a[_0x1daebd(0x1e3)]([_0x254bd1[0x0],_0x254bd1[0x1]]);}),_0x348171['on'](_0x5361f8[_0x23653c(0x1f3)],_0x109452=>console[_0x23653c(0x1f9)](_0x109452[0x1]));_0x258c08[_0x23653c(0x209)]()&&_0x258c08['getStdout']()[_0x23653c(0x1f5)](process[_0x23653c(0x1df)]);_0x258c08[_0x23653c(0x1ba)]()&&_0x258c08['getStderr']()['pipe'](process[_0x23653c(0x1d9)]);const _0x3fd1a9=async()=>{const _0x14b89a=_0x23653c,{forceExited:_0x20b899}=await _0x258c08[_0x14b89a(0x1fc)]();_0x20b899&&console[_0x14b89a(0x1bd)](_0x3628a0['eEjoy']),_0x3628a0[_0x14b89a(0x1b6)](_0x282319,_0x35820a);},_0x335360=_0x5361f8['UtYsS'](pLimit,_0x4e661a[_0x23653c(0x1bc)]||0x1),_0x591851=(_0x50cd0a,_0xaa2acd)=>_0x335360(async()=>{const _0x27d53e=_0x23653c;return await _0x348171[_0x27d53e(0x206)](_0x3628a0[_0x27d53e(0x1b7)],_0x50cd0a),_0x2a4743[_0x27d53e(0x1d2)]=_0x29e568['platforms'][_0xaa2acd],_0x258c08['cucumberWorker'](_0x50cd0a,_0x2a4743,_0x29e568,_0x3b8d8e,_0x4712e3);});Promise[_0x23653c(0x20b)](_0x4e661a[_0x23653c(0x1fa)]((_0x9af6b4,_0x268499)=>_0x591851(_0x9af6b4,_0x268499)[_0x23653c(0x1c8)](_0x4928f4=>_0x348171[_0x23653c(0x206)](_0x23653c(0x1ab),[_0x9af6b4,_0x4928f4]),_0x35078f=>_0x348171[_0x23653c(0x206)](_0x23653c(0x1c9),[_0x9af6b4,_0x35078f]))))[_0x23653c(0x1c8)](_0x3fd1a9,_0x3fd1a9);});},exports[a46_0xbe58ae(0x207)]=(_0x34e41a,_0x48c665)=>new Promise(_0x52c848=>{const _0x31c9e3=a46_0xbe58ae,_0x5b82a4={'BPrqm':function(_0x580c41,_0xfe71c0){return _0x580c41===_0xfe71c0;},'DTXxh':function(_0x26cbc0,_0x51dbb6){return _0x26cbc0!==_0x51dbb6;},'xveLa':'exit','OGFcO':'Workers\x20failed\x20to\x20exit\x20gracefully','JsuBn':function(_0x395eaf,_0x34ba91){return _0x395eaf(_0x34ba91);},'ErKUb':'./testWorker.js','KeFqn':_0x31c9e3(0x1c3),'xPQpU':_0x31c9e3(0x1dd),'QCxwG':_0x31c9e3(0x1f5),'apLrA':_0x31c9e3(0x1e7),'cqxUD':_0x31c9e3(0x1d0),'aWbhe':function(_0x53f955,_0x2d7c8f){return _0x53f955(_0x2d7c8f);}},_0x70693b={},_0xf7442=new Worker(require[_0x31c9e3(0x1e4)](_0x5b82a4[_0x31c9e3(0x1cf)]),{'exposedMethods':[_0x5b82a4[_0x31c9e3(0x1e2)]],'forkOptions':{'serialization':_0x5b82a4[_0x31c9e3(0x1b3)],'stdio':_0x5b82a4['QCxwG']},'numWorkers':_0x48c665,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x23df28=new Emittery();_0x23df28['on'](_0x5b82a4['apLrA'],_0x180aa1=>{const _0x3b8c6f=_0x31c9e3;_0x180aa1[0x0]&&logger[_0x3b8c6f(0x1af)](_0x3b8c6f(0x1a9)+_0x180aa1[0x1]+_0x3b8c6f(0x1ae),_0x180aa1[0x0]);}),_0x23df28['on'](_0x5b82a4['cqxUD'],_0x546932=>{const _0x3591e1=_0x31c9e3;process[_0x3591e1(0x1b9)]=0x1;});_0xf7442[_0x31c9e3(0x209)]()&&_0xf7442[_0x31c9e3(0x209)]()[_0x31c9e3(0x1f5)](process[_0x31c9e3(0x1df)]);_0xf7442[_0x31c9e3(0x1ba)]()&&_0xf7442['getStderr']()[_0x31c9e3(0x1f5)](process['stderr']);const _0x1c5519=async()=>{const _0x3a85ea=_0x31c9e3;let _0x42fee9=0x0;const _0x32ce62=_0xf7442['_workerPool'][_0x3a85ea(0x204)](),_0x45ea36=()=>{},_0x41a91e=_0x32ce62['map'](async _0x160f9b=>{const _0x1301ce=_0x3a85ea,_0xf66aad={'mUMuE':function(_0x11f33a,_0x3762f6){const _0x2de73b=a46_0x320e;return _0x5b82a4[_0x2de73b(0x1fe)](_0x11f33a,_0x3762f6);},'OiaBl':function(_0x2a6da3,_0x5ef749){return _0x5b82a4['DTXxh'](_0x2a6da3,_0x5ef749);}};_0x160f9b[_0x1301ce(0x1aa)]([0x2,![]],_0x45ea36,_0x45ea36,_0x45ea36),_0x160f9b[_0x1301ce(0x1fd)]['on'](_0x5b82a4['xveLa'],_0x2ce2f4=>{const _0x3dd931=_0x1301ce;_0xf66aad[_0x3dd931(0x1d5)](_0x42fee9,0x0)&&_0xf66aad[_0x3dd931(0x1db)](_0x2ce2f4,0x0)&&(_0x42fee9=_0x2ce2f4);}),await _0x160f9b[_0x1301ce(0x200)]();});await Promise[_0x3a85ea(0x20b)](_0x41a91e),process[_0x3a85ea(0x1b9)]=_0x42fee9;const {forceExited:_0x52de64}=await _0xf7442[_0x3a85ea(0x1fc)]();_0x52de64&&console['error'](_0x5b82a4[_0x3a85ea(0x1ee)]),_0x5b82a4[_0x3a85ea(0x1f1)](_0x52c848,_0x70693b);},_0x5493d2=_0x5b82a4[_0x31c9e3(0x1bf)](pLimit,_0x48c665),_0x1874bd=_0x41d8dc=>_0x5493d2(async()=>{return _0xf7442['vanillaWorker'](_0x41d8dc);});Promise[_0x31c9e3(0x20b)](_0x34e41a['map'](_0x4ae62b=>_0x1874bd(_0x4ae62b)[_0x31c9e3(0x1c8)](_0x79e0b9=>_0x23df28[_0x31c9e3(0x206)](_0x31c9e3(0x1e7),[_0x4ae62b[_0x31c9e3(0x1fb)][_0x31c9e3(0x1f0)],_0x4ae62b[_0x31c9e3(0x1fb)][_0x31c9e3(0x1f4)]]),_0x161296=>_0x23df28[_0x31c9e3(0x206)](_0x31c9e3(0x1d0),[_0x4ae62b,_0x161296]))))[_0x31c9e3(0x1c8)](_0x1c5519,_0x1c5519);});function a46_0x46ad(){const _0x4d1b36=['SDK_SETUP','length','error','2353540tbgOGt','aWbhe','jest-worker','postMessage','emittery','vanillaWorker','xkYyE','QuYXa','PAcvs','1449159bJZGSH','then','platform-run-failure','EVENTS','bRsQv','gaLYJ','IUIty','7544630oCBfdJ','ErKUb','test-file-failure','CPZZQ','platformCaps','JOwBe','worker','mUMuE','./testWorker.js','Worker','arOos','stderr','../../helpers/logger','OiaBl','config','json','lZswp','stdout','debug','30464kVSCfe','KeFqn','push','resolve','UNSTABLE_onCustomMessage','stop','test-file-success','6508440loKjDD','results','../../helpers/test-observability/utils','parallelCucumberRun','XolVm','6bKobRj','OGFcO','parallelTestRun','platform','JsuBn','UbAXO','wJKLM','file','pipe','1495128HbjPAF','14SbZNpA','SnrBx','log','map','configuration','end','_child','BPrqm','DeNGF','waitForExit','cucumberWorker','../../helpers/performance/performance-tester','42JJqbFr','getWorkers','worker_threads','emit','parallelVanillaRun','util','getStdout','../../helpers/testhub/testhubHandler','all','Running\x20','send','platform-run-success','launchBuild','4978216AgCShA','\x20for','info','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','failureCount','MOCHA','xPQpU','CVsUB','UtYsS','RmOGa','WTRVL','Workers\x20failed\x20to\x20exit\x20gracefully','exitCode','getStderr'];a46_0x46ad=function(){return _0x4d1b36;};return a46_0x46ad();}
@@ -1 +1 @@
1
- const a47_0x9a6063=a47_0x1734;(function(_0x465f85,_0x46dbae){const _0x30a846=a47_0x1734,_0x2548d2=_0x465f85();while(!![]){try{const _0x180e63=-parseInt(_0x30a846(0x147))/0x1+parseInt(_0x30a846(0x143))/0x2+-parseInt(_0x30a846(0x142))/0x3+parseInt(_0x30a846(0x13c))/0x4*(-parseInt(_0x30a846(0x14b))/0x5)+parseInt(_0x30a846(0x146))/0x6*(-parseInt(_0x30a846(0x14f))/0x7)+-parseInt(_0x30a846(0x14c))/0x8*(parseInt(_0x30a846(0x133))/0x9)+parseInt(_0x30a846(0x13e))/0xa*(parseInt(_0x30a846(0x140))/0xb);if(_0x180e63===_0x46dbae)break;else _0x2548d2['push'](_0x2548d2['shift']());}catch(_0x3c9461){_0x2548d2['push'](_0x2548d2['shift']());}}}(a47_0x1189,0x5d9e9));function a47_0x1734(_0x300ecd,_0x43a435){const _0x1189a4=a47_0x1189();return a47_0x1734=function(_0x1734ef,_0x243e80){_0x1734ef=_0x1734ef-0x133;let _0x52ac01=_0x1189a4[_0x1734ef];return _0x52ac01;},a47_0x1734(_0x300ecd,_0x43a435);}const PerformanceEvents=require(a47_0x9a6063(0x14d))[a47_0x9a6063(0x151)],PerformanceTester=require(a47_0x9a6063(0x149)),{sleep}=require(a47_0x9a6063(0x152));function a47_0x1189(){const _0x1177bd=['vanilla','runVanillaTest','139002GsqPQU','475053qRrbHq','mSYFS','../../helpers/performance/performance-tester','stopMonitoring','1775QRsiuN','1000zsEkHN','../../helpers/performance/constants','cyKAR','147JFAqTX','end','EVENTS','../../helpers/test-observability/utils','12294iXeOiA','lzqKd','../launcher/launcher','configuration','QZefD','mocha','fAmTI','QLSUw','run','7172IyxbqJ','runCucumberTest','40pOSOkY','SDK_POST_TEST','6976332qtCnPL','fAIzM','1275495oVJpQN','81214yrNFPH'];a47_0x1189=function(){return _0x1177bd;};return a47_0x1189();}exports['runTest']=async(_0x292754,_0x4dccfa)=>{const _0x351eee=a47_0x9a6063,_0x51e923={'QLSUw':function(_0xc235e9,_0x5e0273){return _0xc235e9(_0x5e0273);},'dCQEg':_0x351eee(0x135),'fAIzM':_0x351eee(0x138)};PerformanceTester['startMonitoring']();const _0x599f66=_0x51e923[_0x351eee(0x13a)](require,_0x51e923['dCQEg']),_0x1d6b76=new _0x599f66(_0x51e923[_0x351eee(0x141)],_0x292754,_0x4dccfa),_0x224fbd=await _0x1d6b76[_0x351eee(0x13b)]();return PerformanceTester[_0x351eee(0x150)](PerformanceEvents[_0x351eee(0x13f)]),await _0x51e923[_0x351eee(0x13a)](sleep,0x3e8),PerformanceTester[_0x351eee(0x14a)](),_0x224fbd;},exports[a47_0x9a6063(0x13d)]=async(_0x33d42f,_0x1d2f6c,_0x4d0628,_0x44a831,_0x41962e)=>{const _0x4de120=a47_0x9a6063,_0x469106={'QZefD':function(_0x252824,_0x1105c6){return _0x252824(_0x1105c6);},'fAmTI':_0x4de120(0x135),'cyKAR':'cucumber-js'},_0x14fb9d={'capability':_0x33d42f,..._0x1d2f6c},_0x5b7c88={};_0x5b7c88[_0x4de120(0x136)]=_0x14fb9d,_0x5b7c88['formatter']=_0x41962e;const _0x38eee4=_0x5b7c88,_0x4c8589=_0x469106[_0x4de120(0x137)](require,_0x469106[_0x4de120(0x139)]),_0x2807e8=new _0x4c8589(_0x469106[_0x4de120(0x14e)],_0x38eee4,_0x4d0628,_0x44a831);return await _0x2807e8[_0x4de120(0x13b)]();},exports[a47_0x9a6063(0x145)]=async _0x3b2c99=>{const _0x1b0531=a47_0x9a6063,_0x35098d={'CRMCe':function(_0x5cecc8,_0x4e19a5){return _0x5cecc8(_0x4e19a5);},'lzqKd':_0x1b0531(0x135),'mSYFS':_0x1b0531(0x144)},_0x392753=_0x35098d['CRMCe'](require,_0x35098d[_0x1b0531(0x134)]),_0x369919=new _0x392753(_0x35098d[_0x1b0531(0x148)],_0x3b2c99);return await _0x369919['run']();};
1
+ function a47_0xea3d(_0x1533c9,_0x26cad9){const _0x4b1d12=a47_0x4b1d();return a47_0xea3d=function(_0xea3dc6,_0x5a0caf){_0xea3dc6=_0xea3dc6-0x1d1;let _0x4b374f=_0x4b1d12[_0xea3dc6];return _0x4b374f;},a47_0xea3d(_0x1533c9,_0x26cad9);}function a47_0x4b1d(){const _0x50537f=['configuration','1405314raaMDg','mocha','startMonitoring','stopMonitoring','8qvYBTC','vanilla','11174733GpUVkd','runCucumberTest','run','UqtGX','rCevG','2501880UYARtG','runTest','xjqzM','UmWea','ookEn','68545tbkLbW','20ubyOit','9274951iXbldc','wvczz','cucumber-js','../launcher/launcher','end','runVanillaTest','SDK_POST_TEST','formatter','3990800MjXayh','../../helpers/performance/constants','762mlOVNA','IksJF','JToTD','12cIkMqa','../../helpers/performance/performance-tester','124685OauxqP'];a47_0x4b1d=function(){return _0x50537f;};return a47_0x4b1d();}const a47_0x5771f0=a47_0xea3d;(function(_0x2103cd,_0x1ccfa5){const _0xd15e82=a47_0xea3d,_0x52c4e8=_0x2103cd();while(!![]){try{const _0x3badb0=parseInt(_0xd15e82(0x1db))/0x1*(parseInt(_0xd15e82(0x1ee))/0x2)+-parseInt(_0xd15e82(0x1dd))/0x3*(parseInt(_0xd15e82(0x1d9))/0x4)+-parseInt(_0xd15e82(0x1ed))/0x5*(-parseInt(_0xd15e82(0x1d6))/0x6)+-parseInt(_0xd15e82(0x1ef))/0x7*(parseInt(_0xd15e82(0x1e1))/0x8)+parseInt(_0xd15e82(0x1e3))/0x9+-parseInt(_0xd15e82(0x1e8))/0xa+-parseInt(_0xd15e82(0x1d4))/0xb;if(_0x3badb0===_0x1ccfa5)break;else _0x52c4e8['push'](_0x52c4e8['shift']());}catch(_0x182f01){_0x52c4e8['push'](_0x52c4e8['shift']());}}}(a47_0x4b1d,0xd85db));const PerformanceEvents=require(a47_0x5771f0(0x1d5))['EVENTS'],PerformanceTester=require(a47_0x5771f0(0x1da)),{sleep}=require('../../helpers/test-observability/utils');exports[a47_0x5771f0(0x1e9)]=async(_0x5d331c,_0x5aed8a)=>{const _0xb89ffa=a47_0x5771f0,_0x1cf90f={'xjqzM':function(_0x456aaf,_0x3a4e9a){return _0x456aaf(_0x3a4e9a);},'UqtGX':_0xb89ffa(0x1f2),'UmWea':_0xb89ffa(0x1de)};PerformanceTester[_0xb89ffa(0x1df)]();const _0x244dd0=_0x1cf90f[_0xb89ffa(0x1ea)](require,_0x1cf90f[_0xb89ffa(0x1e6)]),_0xf7c83f=new _0x244dd0(_0x1cf90f[_0xb89ffa(0x1eb)],_0x5d331c,_0x5aed8a),_0x557766=await _0xf7c83f[_0xb89ffa(0x1e5)]();return PerformanceTester[_0xb89ffa(0x1f3)](PerformanceEvents[_0xb89ffa(0x1d2)]),await _0x1cf90f[_0xb89ffa(0x1ea)](sleep,0x3e8),PerformanceTester[_0xb89ffa(0x1e0)](),_0x557766;},exports[a47_0x5771f0(0x1e4)]=async(_0x495752,_0x55627f,_0x27ad3b,_0x479325,_0x3502da)=>{const _0x3115df=a47_0x5771f0,_0x3da930={'rCevG':function(_0x4e7e54,_0x202c4e){return _0x4e7e54(_0x202c4e);},'ookEn':_0x3115df(0x1f2),'IksJF':_0x3115df(0x1f1)},_0x28975c={'capability':_0x495752,..._0x55627f},_0x4b4788={};_0x4b4788[_0x3115df(0x1dc)]=_0x28975c,_0x4b4788[_0x3115df(0x1d3)]=_0x3502da;const _0x56737d=_0x4b4788,_0x255028=_0x3da930[_0x3115df(0x1e7)](require,_0x3da930[_0x3115df(0x1ec)]),_0x482146=new _0x255028(_0x3da930[_0x3115df(0x1d7)],_0x56737d,_0x27ad3b,_0x479325);return await _0x482146['run']();},exports[a47_0x5771f0(0x1d1)]=async _0x14f34c=>{const _0xebe45b=a47_0x5771f0,_0x7e1171={'IgeAF':function(_0x426200,_0x4bebb0){return _0x426200(_0x4bebb0);},'wvczz':_0xebe45b(0x1f2),'JToTD':_0xebe45b(0x1e2)},_0x279930=_0x7e1171['IgeAF'](require,_0x7e1171[_0xebe45b(0x1f0)]),_0x144587=new _0x279930(_0x7e1171[_0xebe45b(0x1d8)],_0x14f34c);return await _0x144587[_0xebe45b(0x1e5)]();};