browserstack-node-sdk 1.35.2 → 1.35.3

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 +2 -2
  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 a40_0x5291b1=a40_0x49d6;(function(_0x5b47d7,_0x1b7173){const _0x2c8661=a40_0x49d6,_0x236a47=_0x5b47d7();while(!![]){try{const _0x467a42=-parseInt(_0x2c8661(0x107))/0x1+parseInt(_0x2c8661(0xf4))/0x2*(parseInt(_0x2c8661(0xd3))/0x3)+-parseInt(_0x2c8661(0x10c))/0x4*(parseInt(_0x2c8661(0x139))/0x5)+-parseInt(_0x2c8661(0x137))/0x6*(parseInt(_0x2c8661(0x110))/0x7)+-parseInt(_0x2c8661(0xf8))/0x8+parseInt(_0x2c8661(0x13b))/0x9+parseInt(_0x2c8661(0x140))/0xa*(parseInt(_0x2c8661(0x148))/0xb);if(_0x467a42===_0x1b7173)break;else _0x236a47['push'](_0x236a47['shift']());}catch(_0x36fdb7){_0x236a47['push'](_0x236a47['shift']());}}}(a40_0x51c7,0xa7a3f));function a40_0x51c7(){const _0x245915=['validateFilePath','1.35.0','beforeTestHook','ZxwLY','stack','64qrfEKk','HrPIG','JoNhx','match','36232xCJLcX','DXOYI','LgzqY','calculateTimesFromMultipleFiles','../../../helpers/test-observability/constants','filePath','tags','playwright/lib/common/configLoader.js','winstonLogger','getLoadUtilsPath','onBegin','onStepBegin','getConfigLoaderPath','sendEventData','getProjectUtilsPath','597779gZJLBD','Eczvo','getTime','START_TIME','basename','4KSlJEh','Trace\x20enabled','ZtaHA','substr','35eYvCqC','HmsTt','aNYPr','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','readdirSync','rHJEz','AMizh','@playwright/test/lib/common/configLoader.js','Searching\x20for\x20key:\x20','debug','path','FufTl','Test\x20timeout\x20of','Xdpjq','playwright/lib/transform/transform.js','sYlRB','lkPSy','Arguments','WXabA','existsSync','DGHiM','runner/loadUtils.js','performance-reporter.html','statSync','ReXbq','FPgUh','prototype','WgMLH','LogCreated','beforeWorkerHook','call','common','endsWith','startsWith','DHghh','endSession','size','SmYia','WYvcy','1565166EtuwLJ','CaSio','882995ffEkOG','SFpHc','373563uSZuiX','hUpCZ','uyZSd','EgHbf','kFhFI','40yVlfGa','OWYCG','map','findNestedKey','YmDMy','trace','error','aJmgW','4245582EIAilF','process.js','env','processPageScreenshot','@playwright/test','@playwright/test/lib/common/transform.js','.json','util','afterTestHook','\x20in\x20arguments','getForkProcessPath','PLAYWRIGHT','getTestTags','qPgXs','setupBrowserDetails','stopAndGenerate','OBuTm','attachments','TEST_LOG','find','FGvqj','Found\x20key:\x20','sendTraceZip','createReadStream','ogWsV','ERROR','includes','requestSpyCallback','length','playwright','1.38.0','../../../helpers/logger','XEWNi','.zip','onStepEnd','TEST_ATTACHMENT','getPlaywrightLibPath','ZslMb','whsKt','join','dAjkK','OSDYW','KYjcj','testUId','111048zIGtCt','ZnRXD','TvAPo','onTestBegin','performance-report-worker-','VGvMl','lib','slice','eaLxN','filter','mgMzT','1.42.0','afterWorkerHook','LHuAW','CfbDq','CGtDp','mRzyd','message','ZLvIK','getFailureData','\x20in\x20attachments','BQAVe','compareVersions','./test-details','doo11ySync','Error\x20in\x20sending\x20trace\x20file:\x20%s','toLowerCase','QMvQm'];a40_0x51c7=function(){return _0x245915;};return a40_0x51c7();}function a40_0x49d6(_0x373c2b,_0x1c0381){const _0x51c789=a40_0x51c7();return a40_0x49d6=function(_0x49d698,_0x49bef2){_0x49d698=_0x49d698-0xbd;let _0x786fc8=_0x51c789[_0x49d698];return _0x786fc8;},a40_0x49d6(_0x373c2b,_0x1c0381);}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require('../../../helpers/test-observability/utils'),PerformanceTester=require('../../../helpers/performance/performance-tester'),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a40_0x5291b1(0xfc)),helper=require('../../../helpers/helper'),path=require('path'),logger=require(a40_0x5291b1(0xc6))[a40_0x5291b1(0x100)],SessionHandler=require('../../../helpers/test-observability/sessionHandler'),TestDetails=require(a40_0x5291b1(0xea)),util=require(a40_0x5291b1(0x14f)),getTagsFromTitle=_0x4db112=>{const _0x2edd0f=a40_0x5291b1;return _0x4db112[_0x2edd0f(0xf7)](/@(\w+)/g)?.[_0x2edd0f(0x142)](_0x450113=>_0x450113[_0x2edd0f(0xda)](0x1))||[];};exports[a40_0x5291b1(0x154)]=_0x3b0dc5=>{const _0x217cf7=a40_0x5291b1,_0x45cc1c={'OWYCG':function(_0xd4e9fb,_0xa1596c){return _0xd4e9fb(_0xa1596c);}};if(_0x3b0dc5[_0x217cf7(0xfe)])return _0x3b0dc5[_0x217cf7(0xfe)][_0x217cf7(0x142)](_0x4f6b89=>_0x4f6b89[_0x217cf7(0x131)]('@')?_0x4f6b89[_0x217cf7(0x10f)](0x1):_0x4f6b89);return _0x45cc1c[_0x217cf7(0x141)](getTagsFromTitle,_0x3b0dc5['title']);},exports['calculatePerformance']=async()=>{const _0x45af97=a40_0x5291b1,_0x33b175={'dAjkK':function(_0x136946,_0x174c65){return _0x136946-_0x174c65;},'WmDjV':_0x45af97(0x126),'mRzyd':_0x45af97(0x102),'CfbDq':_0x45af97(0x133),'OSDYW':_0x45af97(0xd6),'fwLQA':'onTestEnd','qecSD':_0x45af97(0x103),'ZtaHA':_0x45af97(0xc9),'pDYRU':_0x45af97(0x12d),'fGhha':_0x45af97(0xdf),'KYjcj':_0x45af97(0xf1),'HrPIG':_0x45af97(0x150),'ZxDcG':_0x45af97(0xeb),'nQvTY':_0x45af97(0x14b),'hUpCZ':'sendSessionDetails','mgMzT':_0x45af97(0x156),'iwuSb':_0x45af97(0xc2),'SFpHc':'sendTestLog','JoNhx':function(_0x2e0945,_0x49116f){return _0x2e0945(_0x49116f);},'WYvcy':function(_0x10a9af,_0x3ed785){return _0x10a9af/_0x3ed785;},'ogWsV':function(_0x3f737e,_0x933124){return _0x3f737e+_0x933124;},'ZbJjM':function(_0x5af570,_0xe9c2bb){return _0x5af570*_0xe9c2bb;},'XEWNi':function(_0x2d6fc7,_0x3593ce){return _0x2d6fc7+_0x3593ce;}};if(!process[_0x45af97(0x14a)][_0x45af97(0x10a)])return;const _0x560244=_0x33b175[_0x45af97(0xcf)](new Date()[_0x45af97(0x109)](),new Date(process[_0x45af97(0x14a)][_0x45af97(0x10a)])[_0x45af97(0x109)]()),_0xa7c400=await PerformanceTester[_0x45af97(0x157)](_0x33b175['WmDjV'],[_0x33b175[_0x45af97(0xe3)],_0x33b175[_0x45af97(0xe1)],_0x33b175[_0x45af97(0xd0)],_0x33b175['fwLQA'],_0x33b175['qecSD'],_0x33b175[_0x45af97(0x10e)]]),_0x2e9cac=fs[_0x45af97(0x114)]('.'),_0x484872=_0x2e9cac[_0x45af97(0xdc)](_0x4b1829=>_0x4b1829[_0x45af97(0x131)](_0x45af97(0xd7))&&_0x4b1829[_0x45af97(0x130)](_0x45af97(0x14e))),_0x55c56d=await PerformanceTester[_0x45af97(0xfb)](_0x484872,[_0x33b175['pDYRU'],_0x33b175['fGhha'],_0x33b175[_0x45af97(0xd1)],_0x33b175[_0x45af97(0xf5)],_0x33b175['ZxDcG'],_0x33b175['nQvTY'],_0x33b175[_0x45af97(0x13c)],_0x33b175[_0x45af97(0xdd)],_0x33b175['iwuSb'],_0x33b175[_0x45af97(0x13a)]]);_0x33b175['JoNhx'](debug,'Total\x20duration\x20for\x20whole\x20build\x20is\x20'+_0x33b175[_0x45af97(0x136)](_0x560244,0x3e8)+'\x20s'),_0x33b175[_0x45af97(0xf6)](debug,'Total\x20time\x20taken\x20by\x20O11y\x20is\x20'+_0x33b175[_0x45af97(0xbf)](_0x55c56d,_0xa7c400)),_0x33b175['JoNhx'](debug,'Percentage\x20of\x20increased\x20time\x20is\x20'+_0x33b175['ZbJjM'](_0x33b175[_0x45af97(0x136)](_0x33b175[_0x45af97(0xc7)](_0x55c56d,_0xa7c400),_0x560244),0x64));},exports['getTransformPath']=()=>{const _0x509870=a40_0x5291b1,_0x4ced17={'EgHbf':function(_0xf7e336,_0x40e7ef){return _0xf7e336(_0x40e7ef);},'uyZSd':function(_0x3a4f01,_0x472115){return _0x3a4f01>=_0x472115;},'WXabA':_0x509870(0xc5),'SmYia':_0x509870(0x11e),'eaLxN':_0x509870(0xc4),'sOEtL':function(_0xcfc9bd,_0x102e43){return _0xcfc9bd>=_0x102e43;},'MZKqF':_0x509870(0xf0),'DHghh':'@playwright/test/lib/transform/transform.js','TvAPo':_0x509870(0x14c),'BQAVe':_0x509870(0x14d)},_0x435d1d=_0x4ced17[_0x509870(0x13e)](getFrameworkVersion,FRAMEWORKS[_0x509870(0x153)]);if(_0x4ced17[_0x509870(0x13d)](helper[_0x509870(0xe9)](_0x435d1d,_0x4ced17[_0x509870(0x122)]),0x0))return[_0x4ced17[_0x509870(0x135)],_0x4ced17[_0x509870(0xdb)]];if(_0x4ced17['sOEtL'](helper[_0x509870(0xe9)](_0x435d1d,_0x4ced17['MZKqF']),0x0))return[_0x4ced17[_0x509870(0x132)],_0x4ced17[_0x509870(0xd5)]];return[_0x4ced17[_0x509870(0xe8)],_0x4ced17['TvAPo']];},exports[a40_0x5291b1(0x104)]=()=>{const _0x567f1c=a40_0x5291b1,_0x39fc7f={'ZxwLY':function(_0x4bb0f6,_0x2a4cd8){return _0x4bb0f6(_0x2a4cd8);},'YmDMy':function(_0x1460fc,_0x4f77c8){return _0x1460fc>=_0x4f77c8;},'rhUxY':_0x567f1c(0xc5),'LHuAW':_0x567f1c(0xff),'DGHiM':_0x567f1c(0xc4),'ooFzf':_0x567f1c(0x117),'xJFvi':_0x567f1c(0x14c)},_0x3e8dcf=_0x39fc7f[_0x567f1c(0xf2)](getFrameworkVersion,FRAMEWORKS[_0x567f1c(0x153)]);if(_0x39fc7f[_0x567f1c(0x144)](helper[_0x567f1c(0xe9)](_0x3e8dcf,_0x39fc7f['rhUxY']),0x0))return[_0x39fc7f[_0x567f1c(0xe0)],_0x39fc7f[_0x567f1c(0x124)]];return[_0x39fc7f['ooFzf'],_0x39fc7f['xJFvi']];},exports[a40_0x5291b1(0x101)]=()=>{const _0x48cbbc=a40_0x5291b1,_0x549b5e={};_0x549b5e[_0x48cbbc(0x138)]=_0x48cbbc(0x125);const _0x42ae72=_0x549b5e;return helper['getPlaywrightLibPath'](_0x42ae72['CaSio']);},exports[a40_0x5291b1(0x106)]=()=>{const _0x435114=a40_0x5291b1,_0x563abb={};_0x563abb[_0x435114(0x111)]='runner/projectUtils.js';const _0xd6bcd8=_0x563abb;return helper[_0x435114(0xcb)](_0xd6bcd8[_0x435114(0x111)]);},exports[a40_0x5291b1(0x152)]=()=>{const _0x42d64f=a40_0x5291b1,_0x51b2e6={'LgzqY':function(_0x9980ed,_0x1a3bb1){return _0x9980ed(_0x1a3bb1);},'FufTl':function(_0x178ace,_0x342d6d){return _0x178ace>=_0x342d6d;},'ZLvIK':'1.38.0','aNYPr':_0x42d64f(0xd9),'TJGpa':_0x42d64f(0x12f),'qPgXs':_0x42d64f(0x149),'VGvMl':'test'},_0x3aab4c=_0x51b2e6[_0x42d64f(0xfa)](getFrameworkVersion,FRAMEWORKS[_0x42d64f(0x153)]);if(_0x51b2e6[_0x42d64f(0x11b)](helper[_0x42d64f(0xe9)](_0x3aab4c,_0x51b2e6[_0x42d64f(0xe5)]),0x0))return path[_0x42d64f(0xce)](_0x51b2e6['aNYPr'],_0x51b2e6['TJGpa'],_0x51b2e6[_0x42d64f(0x155)]);return path[_0x42d64f(0xce)](_0x51b2e6[_0x42d64f(0xd8)],_0x51b2e6[_0x42d64f(0x112)],_0x51b2e6['TJGpa'],_0x51b2e6[_0x42d64f(0x155)]);},exports[a40_0x5291b1(0xe6)]=(_0x3514f7,{test_run_uuid:_0x246fae})=>{const _0x31cd9f=a40_0x5291b1,_0x863ace={'ZslMb':_0x31cd9f(0xc0),'whsKt':_0x31cd9f(0x15a),'cagjC':function(_0x19f69c,_0x16dc5f){return _0x19f69c<=_0x16dc5f;},'WgMLH':function(_0x240cbf,_0x17545f){return _0x240cbf(_0x17545f);},'FGvqj':_0x31cd9f(0x11c),'lkPSy':function(_0x191793,_0x504818){return _0x191793>=_0x504818;},'CGtDp':_0x31cd9f(0xde),'FPgUh':function(_0x10b352,_0x4aeee4){return _0x10b352>_0x4aeee4;},'QMvQm':function(_0x541378,_0x39161e){return _0x541378(_0x39161e);},'rHJEz':function(_0x180caf,_0x42deb0,_0x2b4ac7){return _0x180caf(_0x42deb0,_0x2b4ac7);},'aJmgW':'test'};if(!_0x3514f7||_0x863ace['cagjC'](_0x3514f7[_0x31cd9f(0xc3)],0x0))return[];const _0x2e4cea=_0x863ace['WgMLH'](removeAnsiColors,_0x3514f7[0x0][_0x31cd9f(0xe4)]);if(_0x2e4cea[_0x31cd9f(0x131)](_0x863ace[_0x31cd9f(0x15c)])){const _0xbc49e0=_0x3514f7[0x0],_0x310db6=_0x863ace[_0x31cd9f(0x12b)](getFrameworkVersion,FRAMEWORKS[_0x31cd9f(0x153)]);if((!_0xbc49e0[_0x31cd9f(0xf3)]||_0x863ace[_0x31cd9f(0x120)](_0x310db6,_0x863ace[_0x31cd9f(0xe2)]))&&_0x863ace[_0x31cd9f(0x129)](_0x3514f7[_0x31cd9f(0xc3)],0x1))return{'failureData':[{'backtrace':[_0x2e4cea,_0x863ace[_0x31cd9f(0xee)](removeAnsiColors,_0x3514f7[0x1][_0x31cd9f(0xf3)])]}],'logs':_0x3514f7[_0x31cd9f(0xda)](0x2)[_0x31cd9f(0x142)](_0x4a245c=>{const _0x5ff6ac=_0x31cd9f;return{'timestamp':new Date()['toISOString'](),'level':_0x863ace[_0x5ff6ac(0xcc)],'message':''+_0x4a245c[_0x5ff6ac(0xe4)],'kind':_0x863ace[_0x5ff6ac(0xcd)],'http_response':{},'test_run_uuid':_0x246fae};})};}return{'failureData':_0x863ace[_0x31cd9f(0x115)](failureData,_0x3514f7,_0x863ace[_0x31cd9f(0x147)]),'logs':[]};},exports[a40_0x5291b1(0xef)]=_0x37984b=>{const _0x49d52d=a40_0x5291b1,_0x1417f7={};_0x1417f7[_0x49d52d(0x11d)]=function(_0x56408e,_0x3d67d7){return _0x56408e!==_0x3d67d7;},_0x1417f7['Eczvo']=_0x49d52d(0xc8),_0x1417f7['aFzjh']=function(_0x3a9589,_0xa7b8f8){return _0x3a9589>_0xa7b8f8;};const _0x3e1bea=_0x1417f7;if(_0x37984b&&fs[_0x49d52d(0x123)](_0x37984b)){if(_0x3e1bea['Xdpjq'](path['extname'](_0x37984b)[_0x49d52d(0xed)](),_0x3e1bea[_0x49d52d(0x108)]))return logger['error'](_0x49d52d(0x113)+_0x37984b),![];const _0x2ed1a1=fs[_0x49d52d(0x127)](_0x37984b)[_0x49d52d(0x134)];if(_0x3e1bea['aFzjh'](_0x2ed1a1,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x49d52d(0x146)]('Trace\x20file\x20size\x20exceeds\x20100MB:\x20'+_0x2ed1a1+'\x20bytes'),![];return!![];}return![];},exports[a40_0x5291b1(0x143)]=(_0x3a7442,_0x251b16)=>{const _0x3ae673=a40_0x5291b1,_0x2d95cf={};_0x2d95cf[_0x3ae673(0xf9)]=_0x3ae673(0x121);const _0x92dafb=_0x2d95cf;logger[_0x3ae673(0x119)](_0x3ae673(0x118)+_0x251b16);if(_0x3a7442[_0x3ae673(0x159)]){const _0x3eb713=_0x3a7442[_0x3ae673(0x159)][_0x3ae673(0x15b)](_0x4c7390=>_0x4c7390['name']===_0x3ae673(0x145));if(_0x3eb713)return logger[_0x3ae673(0x119)](_0x3ae673(0x15d)+_0x251b16+_0x3ae673(0xe7)),_0x3eb713[_0x251b16];}else{if(Object[_0x3ae673(0x12a)]['toString'][_0x3ae673(0x12e)](_0x3a7442)[_0x3ae673(0xc1)](_0x92dafb['DXOYI']))for(const _0x1452ff of _0x3a7442){if(_0x1452ff[_0x251b16])return logger[_0x3ae673(0x119)](_0x3ae673(0x15d)+_0x251b16+_0x3ae673(0x151)),_0x1452ff[_0x251b16];}}return'';},exports['uploadTraceZip']=async(_0x4d96ff,_0x3aa9e1)=>{const _0x1be4ea=a40_0x5291b1,_0x53c44c={};_0x53c44c[_0x1be4ea(0x13f)]=_0x1be4ea(0x12c),_0x53c44c[_0x1be4ea(0xd4)]=_0x1be4ea(0xca),_0x53c44c[_0x1be4ea(0x158)]=_0x1be4ea(0xbd),_0x53c44c[_0x1be4ea(0x128)]='Error\x20in\x20sending\x20trace\x20file:\x20%s';const _0x3b9b96=_0x53c44c;try{const _0x250d40={'event_type':_0x3b9b96[_0x1be4ea(0x13f)],'logs':[{'data':_0x4d96ff?fs[_0x1be4ea(0xbe)](_0x4d96ff):'','test_run_uuid':_0x3aa9e1,'kind':_0x3b9b96[_0x1be4ea(0xd4)],'fileName':_0x4d96ff?path[_0x1be4ea(0x10b)](_0x4d96ff):''}]};return await SessionHandler[_0x1be4ea(0x105)](_0x250d40,0x0,_0x3b9b96[_0x1be4ea(0x158)]);}catch(_0x128add){logger[_0x1be4ea(0x146)](util['format'](_0x3b9b96['ReXbq'],_0x128add));}},exports[a40_0x5291b1(0xbd)]=async(_0x4b2369,_0x2af7e5)=>{const _0x1173c9=a40_0x5291b1,_0x378b3e={};_0x378b3e[_0x1173c9(0x116)]=_0x1173c9(0x11a),_0x378b3e[_0x1173c9(0x11f)]=_0x1173c9(0x10d),_0x378b3e['WpljA']=_0x1173c9(0xec);const _0x37717e=_0x378b3e;try{logger[_0x1173c9(0x119)]('Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20'+_0x2af7e5);const _0x376d2d=await exports['findNestedKey'](_0x4b2369,_0x37717e[_0x1173c9(0x116)]);if(exports[_0x1173c9(0xef)](_0x376d2d)){logger[_0x1173c9(0x119)](_0x37717e[_0x1173c9(0x11f)]);const _0x51a136={};_0x51a136[_0x1173c9(0xd2)]=_0x2af7e5,_0x51a136[_0x1173c9(0xfd)]=_0x376d2d;const _0x533eef=_0x51a136;TestDetails['addTraceFilePath'](_0x533eef);};}catch(_0x3b7317){logger['error'](util['format'](_0x37717e['WpljA'],_0x3b7317));}};
1
+ const a40_0x5bb86a=a40_0xd2c0;(function(_0x36f90c,_0x46d151){const _0x18f92c=a40_0xd2c0,_0x34d42b=_0x36f90c();while(!![]){try{const _0x134a4b=parseInt(_0x18f92c(0xda))/0x1*(parseInt(_0x18f92c(0xa0))/0x2)+parseInt(_0x18f92c(0xe5))/0x3*(-parseInt(_0x18f92c(0x116))/0x4)+-parseInt(_0x18f92c(0xd4))/0x5+-parseInt(_0x18f92c(0xd0))/0x6+parseInt(_0x18f92c(0xa1))/0x7+parseInt(_0x18f92c(0x122))/0x8*(parseInt(_0x18f92c(0xe0))/0x9)+parseInt(_0x18f92c(0xe8))/0xa;if(_0x134a4b===_0x46d151)break;else _0x34d42b['push'](_0x34d42b['shift']());}catch(_0x5129c9){_0x34d42b['push'](_0x34d42b['shift']());}}}(a40_0x3ffb,0xcda20));function a40_0xd2c0(_0x59868f,_0x2ebf52){const _0x3ffbec=a40_0x3ffb();return a40_0xd2c0=function(_0xd2c02b,_0x3f2e46){_0xd2c02b=_0xd2c02b-0x7c;let _0x445aa3=_0x3ffbec[_0xd2c02b];return _0x445aa3;},a40_0xd2c0(_0x59868f,_0x2ebf52);}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require('../../../helpers/test-observability/utils'),PerformanceTester=require(a40_0x5bb86a(0xb9)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require('../../../helpers/test-observability/constants'),helper=require(a40_0x5bb86a(0xbb)),path=require(a40_0x5bb86a(0x10f)),logger=require(a40_0x5bb86a(0x85))[a40_0x5bb86a(0xef)],SessionHandler=require(a40_0x5bb86a(0xa9)),TestDetails=require(a40_0x5bb86a(0xe2)),util=require(a40_0x5bb86a(0xab)),getTagsFromTitle=_0x48dec8=>{const _0x32e402=a40_0x5bb86a;return _0x48dec8[_0x32e402(0xb4)](/@(\w+)/g)?.['map'](_0x13becd=>_0x13becd['slice'](0x1))||[];};function a40_0x3ffb(){const _0x282fc4=['PcpeM','extname','runner/projectUtils.js','GbhPu','runner/loadUtils.js','Fxscv','stack','join','beforeWorkerHook','\x20bytes','@playwright/test','1.42.0','18574HojVVG','143899KlkTTO','map','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','qWHLL','mDNCK','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','onTestBegin','TAtYm','../../../helpers/test-observability/sessionHandler','call','util','GAudg','zgnuq','vudVo','UUCcM','Qtwir','Hoibl','geCkL','statSync','match','USmSQ','START_TIME','khhTA','getFailureData','../../../helpers/performance/performance-tester','playwright/lib/common/configLoader.js','../../../helpers/helper','doo11ySync','slice','includes','message','OfGev','qIAlk','onStepBegin','cLrkQ','beforeTestHook','calculateTimesFromMultipleFiles','ltmfV','zHbxw','env','title','toISOString','CWpzK','getTestTags','Total\x20duration\x20for\x20whole\x20build\x20is\x20','compareVersions','sendEventData','2407470mVitoi','MCCMS','getProjectUtilsPath','getForkProcessPath','5922810lGFNZK','name','EWSUL','PLAYWRIGHT','Error\x20in\x20sending\x20trace\x20file:\x20%s','sendSessionDetails','175uEDtbP','debug','LZkld','KMdWg','yQCXt','getTransformPath','189lPZVWr','Found\x20key:\x20','./test-details','CmqRU','ahlBR','2190831AwwvlC','size','process.js','11221630gKsKHY','onBegin','test','Trace\x20enabled','existsSync','oPtDZ','.zip','winstonLogger','format','playwright','hfMNC','sendTestLog','Searching\x20for\x20key:\x20','ERROR','performance-report-worker-','kWKbe','tags','find','toLowerCase','hTRkn','getLoadUtilsPath','startsWith','getPlaywrightLibPath','readdirSync','Arguments','kwXwj','TEST_ATTACHMENT','substr','jhYXb','onStepEnd','.json','rwLRu','Aeleu','filter','DyNlL','attachments','@playwright/test/lib/transform/transform.js','validateFilePath','sendTraceZip','path','1.38.0','AMzJQ','pYaHz','common','afterTestHook','uDOLV','4HWquTu','LogCreated','hxxgb','CQhuJ','stopAndGenerate','Test\x20timeout\x20of','jCdYl','OAfAs','lib','filePath','trace','toString','148728rdOjZs','CFnIP','iQiaS','error','getConfigLoaderPath','CgSkf','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','onTestEnd','oxxqA','vPFbS','@playwright/test/lib/common/configLoader.js','findNestedKey','nQGmR','../../../helpers/logger','mpVRb','setupBrowserDetails','pGAWT','processPageScreenshot','dPOHA','endSession','gnYRi','testUId','@playwright/test/lib/common/transform.js','calculatePerformance','rMTDQ','basename','uuRxC','jwpdP'];a40_0x3ffb=function(){return _0x282fc4;};return a40_0x3ffb();}exports[a40_0x5bb86a(0xcc)]=_0x249a66=>{const _0x4c31aa=a40_0x5bb86a,_0x1af7f0={'nGtXr':function(_0x1ace77,_0x55808f){return _0x1ace77(_0x55808f);}};if(_0x249a66['tags'])return _0x249a66[_0x4c31aa(0xf8)][_0x4c31aa(0xa2)](_0x5aae57=>_0x5aae57['startsWith']('@')?_0x5aae57[_0x4c31aa(0x103)](0x1):_0x5aae57);return _0x1af7f0['nGtXr'](getTagsFromTitle,_0x249a66[_0x4c31aa(0xc9)]);},exports[a40_0x5bb86a(0x8f)]=async()=>{const _0x13d8ee=a40_0x5bb86a,_0x12ee16={'mDNCK':function(_0x4e754d,_0x49a353){return _0x4e754d-_0x49a353;},'Aeleu':'performance-reporter.html','GAudg':_0x13d8ee(0xe9),'JwsEk':_0x13d8ee(0x8b),'KWGBW':_0x13d8ee(0xa7),'rMTDQ':_0x13d8ee(0x7f),'nQGmR':_0x13d8ee(0xc2),'uSQhZ':_0x13d8ee(0x105),'mpVRb':_0x13d8ee(0x9c),'elzdm':'afterWorkerHook','TAtYm':_0x13d8ee(0xc4),'bbqrP':_0x13d8ee(0x114),'qaApO':_0x13d8ee(0xbc),'Hoibl':_0x13d8ee(0x89),'ltmfV':_0x13d8ee(0xd9),'ABtAO':_0x13d8ee(0x87),'YSAaA':'requestSpyCallback','pGAWT':_0x13d8ee(0xf3),'CWpzK':function(_0x5e83c4,_0x5a4adf){return _0x5e83c4(_0x5a4adf);},'oPtDZ':function(_0xc46157,_0x866755){return _0xc46157/_0x866755;},'CQhuJ':function(_0xca55c9,_0x417387){return _0xca55c9+_0x417387;},'rhphi':function(_0x8c9671,_0x297b8b){return _0x8c9671*_0x297b8b;}};if(!process[_0x13d8ee(0xc8)]['START_TIME'])return;const _0x4a037f=_0x12ee16[_0x13d8ee(0xa5)](new Date()['getTime'](),new Date(process['env'][_0x13d8ee(0xb6)])['getTime']()),_0x34f9af=await PerformanceTester[_0x13d8ee(0x11a)](_0x12ee16[_0x13d8ee(0x108)],[_0x12ee16[_0x13d8ee(0xac)],_0x12ee16['JwsEk'],_0x12ee16['KWGBW'],_0x12ee16[_0x13d8ee(0x90)],_0x12ee16[_0x13d8ee(0x84)],_0x12ee16['uSQhZ']]),_0x583c77=fs[_0x13d8ee(0xff)]('.'),_0x2240c8=_0x583c77[_0x13d8ee(0x109)](_0x33bd7c=>_0x33bd7c[_0x13d8ee(0xfd)](_0x13d8ee(0xf6))&&_0x33bd7c['endsWith'](_0x13d8ee(0x106))),_0x4a7614=await PerformanceTester[_0x13d8ee(0xc5)](_0x2240c8,[_0x12ee16[_0x13d8ee(0x86)],_0x12ee16['elzdm'],_0x12ee16[_0x13d8ee(0xa8)],_0x12ee16['bbqrP'],_0x12ee16['qaApO'],_0x12ee16[_0x13d8ee(0xb1)],_0x12ee16[_0x13d8ee(0xc6)],_0x12ee16['ABtAO'],_0x12ee16['YSAaA'],_0x12ee16[_0x13d8ee(0x88)]]);_0x12ee16[_0x13d8ee(0xcb)](debug,_0x13d8ee(0xcd)+_0x12ee16[_0x13d8ee(0xed)](_0x4a037f,0x3e8)+'\x20s'),_0x12ee16['CWpzK'](debug,_0x13d8ee(0xa6)+_0x12ee16[_0x13d8ee(0x119)](_0x4a7614,_0x34f9af)),_0x12ee16[_0x13d8ee(0xcb)](debug,'Percentage\x20of\x20increased\x20time\x20is\x20'+_0x12ee16['rhphi'](_0x12ee16['oPtDZ'](_0x12ee16['CQhuJ'](_0x4a7614,_0x34f9af),_0x4a037f),0x64));},exports[a40_0x5bb86a(0xdf)]=()=>{const _0x2e96f4=a40_0x5bb86a,_0x598143={'gnYRi':function(_0x5567bd,_0xed4193){return _0x5567bd(_0xed4193);},'hTRkn':function(_0x3be7ee,_0x4458a5){return _0x3be7ee>=_0x4458a5;},'bFiJO':_0x2e96f4(0x110),'OfGev':'playwright/lib/transform/transform.js','CgSkf':_0x2e96f4(0xf1),'KMdWg':'1.35.0','khhTA':_0x2e96f4(0x10c),'jwpdP':'@playwright/test','AMzJQ':_0x2e96f4(0x8e)},_0x46dc6c=_0x598143[_0x2e96f4(0x8c)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x598143[_0x2e96f4(0xfb)](helper[_0x2e96f4(0xce)](_0x46dc6c,_0x598143['bFiJO']),0x0))return[_0x598143[_0x2e96f4(0xc0)],_0x598143[_0x2e96f4(0x7d)]];if(_0x598143[_0x2e96f4(0xfb)](helper['compareVersions'](_0x46dc6c,_0x598143[_0x2e96f4(0xdd)]),0x0))return[_0x598143[_0x2e96f4(0xb7)],_0x598143[_0x2e96f4(0x93)]];return[_0x598143[_0x2e96f4(0x111)],_0x598143['jwpdP']];},exports[a40_0x5bb86a(0x7c)]=()=>{const _0x266ffa=a40_0x5bb86a,_0x2a6695={'CmqRU':function(_0x48f01b,_0x29bf46){return _0x48f01b(_0x29bf46);},'LWszj':function(_0x6418e5,_0x3142f5){return _0x6418e5>=_0x3142f5;},'hfMNC':_0x266ffa(0x110),'MCCMS':_0x266ffa(0xba),'cLrkQ':_0x266ffa(0xf1),'dPOHA':_0x266ffa(0x82),'uDOLV':_0x266ffa(0x9e)},_0x33b9fd=_0x2a6695[_0x266ffa(0xe3)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x2a6695['LWszj'](helper[_0x266ffa(0xce)](_0x33b9fd,_0x2a6695[_0x266ffa(0xf2)]),0x0))return[_0x2a6695[_0x266ffa(0xd1)],_0x2a6695[_0x266ffa(0xc3)]];return[_0x2a6695[_0x266ffa(0x8a)],_0x2a6695[_0x266ffa(0x115)]];},exports[a40_0x5bb86a(0xfc)]=()=>{const _0x28cde3=a40_0x5bb86a,_0x318082={};_0x318082['zHbxw']=_0x28cde3(0x98);const _0x20d4bc=_0x318082;return helper[_0x28cde3(0xfe)](_0x20d4bc[_0x28cde3(0xc7)]);},exports[a40_0x5bb86a(0xd2)]=()=>{const _0x57993a=a40_0x5bb86a,_0x38fb1d={};_0x38fb1d[_0x57993a(0x101)]=_0x57993a(0x96);const _0x256c4b=_0x38fb1d;return helper['getPlaywrightLibPath'](_0x256c4b[_0x57993a(0x101)]);},exports[a40_0x5bb86a(0xd3)]=()=>{const _0x131b77=a40_0x5bb86a,_0x301f81={'jhYXb':function(_0xd0f96b,_0x3f3c26){return _0xd0f96b(_0x3f3c26);},'hxxgb':function(_0x2b4dd1,_0x2dd0b7){return _0x2b4dd1>=_0x2dd0b7;},'vPFbS':_0x131b77(0x110),'DyNlL':_0x131b77(0x11e),'qWHLL':_0x131b77(0x113),'LZkld':_0x131b77(0xe7),'UUCcM':_0x131b77(0xea)},_0x23e4ee=_0x301f81[_0x131b77(0x104)](getFrameworkVersion,FRAMEWORKS[_0x131b77(0xd7)]);if(_0x301f81[_0x131b77(0x118)](helper[_0x131b77(0xce)](_0x23e4ee,_0x301f81[_0x131b77(0x81)]),0x0))return path[_0x131b77(0x9b)](_0x301f81[_0x131b77(0x10a)],_0x301f81[_0x131b77(0xa4)],_0x301f81[_0x131b77(0xdc)]);return path['join'](_0x301f81[_0x131b77(0xaf)],_0x301f81[_0x131b77(0x10a)],_0x301f81['qWHLL'],_0x301f81[_0x131b77(0xdc)]);},exports[a40_0x5bb86a(0xb8)]=(_0x54cfe0,{test_run_uuid:_0x14f7e6})=>{const _0x482fe7=a40_0x5bb86a,_0x4ec6e4={'ZqzLr':_0x482fe7(0xf5),'pYaHz':'TEST_LOG','GbhPu':function(_0xd56f6,_0x3e5f10){return _0xd56f6<=_0x3e5f10;},'Fxscv':function(_0x51b076,_0x5b2f58){return _0x51b076(_0x5b2f58);},'kWKbe':_0x482fe7(0x11b),'OAfAs':function(_0x726815,_0x9f9132){return _0x726815(_0x9f9132);},'yQCXt':function(_0x70f5db,_0xebce97){return _0x70f5db>=_0xebce97;},'iQiaS':_0x482fe7(0x9f),'ahlBR':function(_0x489cca,_0x24fcdc){return _0x489cca>_0x24fcdc;},'oxxqA':function(_0x341215,_0x22074c,_0x1ff3c9){return _0x341215(_0x22074c,_0x1ff3c9);},'geCkL':_0x482fe7(0xea)};if(!_0x54cfe0||_0x4ec6e4[_0x482fe7(0x97)](_0x54cfe0['length'],0x0))return[];const _0x499683=_0x4ec6e4[_0x482fe7(0x99)](removeAnsiColors,_0x54cfe0[0x0][_0x482fe7(0xbf)]);if(_0x499683[_0x482fe7(0xfd)](_0x4ec6e4[_0x482fe7(0xf7)])){const _0x23ae09=_0x54cfe0[0x0],_0x579fa9=_0x4ec6e4[_0x482fe7(0x11d)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if((!_0x23ae09['stack']||_0x4ec6e4[_0x482fe7(0xde)](_0x579fa9,_0x4ec6e4[_0x482fe7(0x124)]))&&_0x4ec6e4[_0x482fe7(0xe4)](_0x54cfe0['length'],0x1))return{'failureData':[{'backtrace':[_0x499683,_0x4ec6e4[_0x482fe7(0x99)](removeAnsiColors,_0x54cfe0[0x1][_0x482fe7(0x9a)])]}],'logs':_0x54cfe0[_0x482fe7(0xbd)](0x2)[_0x482fe7(0xa2)](_0x175143=>{const _0x235df0=_0x482fe7;return{'timestamp':new Date()[_0x235df0(0xca)](),'level':_0x4ec6e4['ZqzLr'],'message':''+_0x175143[_0x235df0(0xbf)],'kind':_0x4ec6e4[_0x235df0(0x112)],'http_response':{},'test_run_uuid':_0x14f7e6};})};}return{'failureData':_0x4ec6e4[_0x482fe7(0x80)](failureData,_0x54cfe0,_0x4ec6e4[_0x482fe7(0xb2)]),'logs':[]};},exports['validateFilePath']=_0x22de1e=>{const _0x47484f=a40_0x5bb86a,_0x492c6d={};_0x492c6d[_0x47484f(0x11c)]=function(_0x1715b9,_0x4b35d1){return _0x1715b9!==_0x4b35d1;},_0x492c6d[_0x47484f(0xae)]=_0x47484f(0xee),_0x492c6d[_0x47484f(0x123)]=function(_0x4c512a,_0x227eca){return _0x4c512a>_0x227eca;};const _0x79e35=_0x492c6d;if(_0x22de1e&&fs[_0x47484f(0xec)](_0x22de1e)){if(_0x79e35[_0x47484f(0x11c)](path[_0x47484f(0x95)](_0x22de1e)[_0x47484f(0xfa)](),_0x79e35[_0x47484f(0xae)]))return logger['error'](_0x47484f(0x7e)+_0x22de1e),![];const _0x4e3152=fs[_0x47484f(0xb3)](_0x22de1e)[_0x47484f(0xe6)];if(_0x79e35['CFnIP'](_0x4e3152,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x47484f(0x125)](_0x47484f(0xa3)+_0x4e3152+_0x47484f(0x9d)),![];return!![];}return![];},exports[a40_0x5bb86a(0x83)]=(_0x3811ea,_0x52cd19)=>{const _0x1d69ee=a40_0x5bb86a,_0x4adec0={};_0x4adec0[_0x1d69ee(0xd6)]=_0x1d69ee(0x100);const _0x303ebd=_0x4adec0;logger[_0x1d69ee(0xdb)](_0x1d69ee(0xf4)+_0x52cd19);if(_0x3811ea[_0x1d69ee(0x10b)]){const _0x1a1a44=_0x3811ea[_0x1d69ee(0x10b)][_0x1d69ee(0xf9)](_0x42b8bd=>_0x42b8bd[_0x1d69ee(0xd5)]===_0x1d69ee(0x120));if(_0x1a1a44)return logger['debug']('Found\x20key:\x20'+_0x52cd19+'\x20in\x20attachments'),_0x1a1a44[_0x52cd19];}else{if(Object['prototype'][_0x1d69ee(0x121)][_0x1d69ee(0xaa)](_0x3811ea)[_0x1d69ee(0xbe)](_0x303ebd[_0x1d69ee(0xd6)]))for(const _0x2b8a7d of _0x3811ea){if(_0x2b8a7d[_0x52cd19])return logger[_0x1d69ee(0xdb)](_0x1d69ee(0xe1)+_0x52cd19+'\x20in\x20arguments'),_0x2b8a7d[_0x52cd19];}}return'';},exports['uploadTraceZip']=async(_0x77f76c,_0x46c640)=>{const _0x3f5fb4=a40_0x5bb86a,_0xb15e2a={};_0xb15e2a[_0x3f5fb4(0x92)]=_0x3f5fb4(0x117),_0xb15e2a[_0x3f5fb4(0xb5)]=_0x3f5fb4(0x102),_0xb15e2a['PcpeM']=_0x3f5fb4(0x10e),_0xb15e2a['qIAlk']='Error\x20in\x20sending\x20trace\x20file:\x20%s';const _0x7e1a2e=_0xb15e2a;try{const _0x7a0c2e={'event_type':_0x7e1a2e[_0x3f5fb4(0x92)],'logs':[{'data':_0x77f76c?fs['createReadStream'](_0x77f76c):'','test_run_uuid':_0x46c640,'kind':_0x7e1a2e[_0x3f5fb4(0xb5)],'fileName':_0x77f76c?path[_0x3f5fb4(0x91)](_0x77f76c):''}]};return await SessionHandler[_0x3f5fb4(0xcf)](_0x7a0c2e,0x0,_0x7e1a2e[_0x3f5fb4(0x94)]);}catch(_0x142e00){logger[_0x3f5fb4(0x125)](util['format'](_0x7e1a2e[_0x3f5fb4(0xc1)],_0x142e00));}},exports[a40_0x5bb86a(0x10e)]=async(_0x96b701,_0x53e464)=>{const _0xbc99b7=a40_0x5bb86a,_0x104577={};_0x104577[_0xbc99b7(0xad)]=_0xbc99b7(0x10f),_0x104577[_0xbc99b7(0x107)]=_0xbc99b7(0xeb),_0x104577[_0xbc99b7(0xb0)]=_0xbc99b7(0xd8);const _0x1bead8=_0x104577;try{logger[_0xbc99b7(0xdb)]('Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20'+_0x53e464);const _0x4a4764=await exports[_0xbc99b7(0x83)](_0x96b701,_0x1bead8[_0xbc99b7(0xad)]);if(exports[_0xbc99b7(0x10d)](_0x4a4764)){logger[_0xbc99b7(0xdb)](_0x1bead8[_0xbc99b7(0x107)]);const _0x3bc09a={};_0x3bc09a[_0xbc99b7(0x8d)]=_0x53e464,_0x3bc09a[_0xbc99b7(0x11f)]=_0x4a4764;const _0x32f1ae=_0x3bc09a;TestDetails['addTraceFilePath'](_0x32f1ae);};}catch(_0xe916bd){logger[_0xbc99b7(0x125)](util[_0xbc99b7(0xf0)](_0x1bead8[_0xbc99b7(0xb0)],_0xe916bd));}};
@@ -1 +1 @@
1
- const a41_0x4634ac=a41_0x452c;(function(_0x21e9c9,_0xe36223){const _0x45bd15=a41_0x452c,_0x174b3e=_0x21e9c9();while(!![]){try{const _0x566933=parseInt(_0x45bd15(0x1f2))/0x1+-parseInt(_0x45bd15(0x1a3))/0x2*(parseInt(_0x45bd15(0x263))/0x3)+-parseInt(_0x45bd15(0x240))/0x4+parseInt(_0x45bd15(0x1cd))/0x5+-parseInt(_0x45bd15(0x1d7))/0x6+-parseInt(_0x45bd15(0x1fe))/0x7+parseInt(_0x45bd15(0x184))/0x8;if(_0x566933===_0xe36223)break;else _0x174b3e['push'](_0x174b3e['shift']());}catch(_0x2bc9da){_0x174b3e['push'](_0x174b3e['shift']());}}}(a41_0x4d42,0xc924d));const RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x4634ac(0x212)),{v4:uuidv4}=require('uuid'),path=require('path'),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a41_0x4634ac(0x242)),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a41_0x4634ac(0x1d0)),fs=require('fs'),util=require('util'),{o11yClassErrorHandler}=require(a41_0x4634ac(0x258)),PerformanceTester=require(a41_0x4634ac(0x1e2)),{FRAMEWORKS}=require(a41_0x4634ac(0x191)),SessionHandler=require(a41_0x4634ac(0x1eb)),{appendTesthubParams}=require('../../../helpers/testhub/utils'),TestHubHandler=require(a41_0x4634ac(0x267)),helper=require(a41_0x4634ac(0x1a8));class MyReporter{constructor(_0x4ec4ac){const _0x1095e9=a41_0x4634ac,_0x3c1fc4={'vHQoD':_0x1095e9(0x1b6),'aryau':_0x1095e9(0x1f1),'ZgyiY':function(_0x2a1c2d,_0x5d74a5,_0x432a48,_0x515260){return _0x2a1c2d(_0x5d74a5,_0x432a48,_0x515260);}},_0x1ae0cf=_0x3c1fc4['vHQoD']['split']('|');let _0x215870=0x0;while(!![]){switch(_0x1ae0cf[_0x215870++]){case'0':this[_0x1095e9(0x1e9)]=_0x4ec4ac;continue;case'1':this[_0x1095e9(0x181)]={};continue;case'2':this[_0x1095e9(0x21e)]={};continue;case'3':this[_0x1095e9(0x1f9)]=![];continue;case'4':process[_0x1095e9(0x1d8)][_0x1095e9(0x1ea)]&&(PerformanceTester[_0x1095e9(0x247)](_0x3c1fc4['aryau']),process[_0x1095e9(0x1d8)][_0x1095e9(0x244)]=new Date()['toISOString']());continue;case'5':this[_0x1095e9(0x22b)]=null;continue;case'6':const _0x1ad3c5={};_0x1ad3c5[_0x1095e9(0x1e0)]=process[_0x1095e9(0x1d8)][_0x1095e9(0x252)],_0x3c1fc4[_0x1095e9(0x1a2)](setLogLevel,_0x1ad3c5,new Map(),new Map());continue;}break;}}async[a41_0x4634ac(0x1a9)](){const _0x19c75f=a41_0x4634ac;TestDetails[_0x19c75f(0x17f)](),await this['configureGit']();}async[a41_0x4634ac(0x276)](_0x5ce77b,_0x237100){const _0x4b8c7c=a41_0x4634ac,_0x4f3e3d={'JLAuE':function(_0x3e7e0c,_0x23b3de){return _0x3e7e0c(_0x23b3de);},'swQSG':_0x4b8c7c(0x237)},_0x43c968=this[_0x4b8c7c(0x227)](_0x5ce77b),_0x18ee14=TestDetails[_0x4b8c7c(0x18d)](this[_0x4b8c7c(0x17b)](_0x5ce77b,_0x237100[_0x4b8c7c(0x19c)]));process[_0x4b8c7c(0x1d8)][_0x4b8c7c(0x1b7)]=_0x18ee14;const _0x53659a={};_0x53659a[_0x4b8c7c(0x21d)]=_0x18ee14,_0x53659a['startedAt']=_0x237100[_0x4b8c7c(0x1bc)],this[_0x4b8c7c(0x21e)][_0x43c968]=_0x53659a,_0x4f3e3d[_0x4b8c7c(0x20c)](trace,_0x4b8c7c(0x238)+_0x43c968),await this[_0x4b8c7c(0x1ce)](_0x5ce77b,_0x4f3e3d[_0x4b8c7c(0x1ec)],_0x237100);}async[a41_0x4634ac(0x1a0)](_0x1e516f,_0x43bd60,_0x431699){const _0x1b84b9=a41_0x4634ac,_0x21acf9={'wPVbv':function(_0x2e7e42,_0x922103){return _0x2e7e42(_0x922103);},'nNlYO':_0x1b84b9(0x1a4)};if(!this[_0x1b84b9(0x255)](_0x431699,_0x1e516f))return;const _0xf26bc6=this[_0x1b84b9(0x25c)](_0x1e516f,_0x431699);this[_0x1b84b9(0x21e)][_0xf26bc6]={'uuid':TestDetails[_0x1b84b9(0x18d)](_0xf26bc6),'startedAt':_0x431699[_0x1b84b9(0x1bc)][_0x1b84b9(0x22c)]()};const _0x675812=this[_0x1b84b9(0x17b)](_0x1e516f,_0x43bd60[_0x1b84b9(0x19c)]);!this[_0x1b84b9(0x181)][_0x675812]&&(this[_0x1b84b9(0x181)][_0x675812]=[]),this['_testHooksMap'][_0x675812][_0x1b84b9(0x19e)](this[_0x1b84b9(0x21e)][_0xf26bc6]['uuid']),_0x21acf9['wPVbv'](trace,_0x1b84b9(0x1c9)+_0xf26bc6+_0x1b84b9(0x26f)+_0x675812),await this['sendHookRunEvent'](_0x1e516f,_0x431699,_0x21acf9[_0x1b84b9(0x1d1)],_0x43bd60);}async[a41_0x4634ac(0x273)](_0x45400f,_0x4d0446,_0x36c952){const _0x54a044=a41_0x4634ac,_0x2e1de3={'yYTaL':function(_0x4e7755,_0x4f3512){return _0x4e7755+_0x4f3512;},'GpaDV':function(_0x31d3c9,_0xb57848){return _0x31d3c9(_0xb57848);},'KvyRc':_0x54a044(0x1d3)};if(!this[_0x54a044(0x255)](_0x36c952,_0x45400f))return;const _0x21d8af=this[_0x54a044(0x20a)](_0x45400f,_0x36c952);this['_tests'][_0x21d8af]={...this['_tests'][_0x21d8af]||{},'finishedAt':new Date(_0x2e1de3[_0x54a044(0x234)](_0x36c952[_0x54a044(0x1bc)][_0x54a044(0x18e)](),_0x36c952[_0x54a044(0x1aa)]))},_0x2e1de3[_0x54a044(0x269)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x21d8af+_0x54a044(0x1cc)),await this[_0x54a044(0x210)](_0x45400f,_0x36c952,_0x2e1de3[_0x54a044(0x1bb)],_0x4d0446);}async[a41_0x4634ac(0x1bd)](_0x459552,_0x349738){const _0x268956=a41_0x4634ac,_0x31c506={'WmjbS':function(_0x28aa8d,_0x311c09){return _0x28aa8d===_0x311c09;},'nLQCe':_0x268956(0x262),'GVuEp':_0x268956(0x214),'FaVbh':_0x268956(0x1e5),'hnUPw':function(_0x2a7a2c,_0x4f7d4c){return _0x2a7a2c(_0x4f7d4c);},'JzAbb':'TestRunFinished','ttWkJ':'Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','RMEKD':function(_0x503ef3,_0x20e40f,_0x5b959d){return _0x503ef3(_0x20e40f,_0x5b959d);},'CYzKO':function(_0x36371c,_0x512bf6){return _0x36371c(_0x512bf6);},'VICux':'Error\x20in\x20sending\x20trace\x20zip:\x20%s','SAxRj':function(_0x4d561e,_0x37848c){return _0x4d561e>_0x37848c;}},_0x1ba3dd=this[_0x268956(0x227)](_0x459552),_0x1713d7=TestDetails[_0x268956(0x18d)](this['getTestRunIdentifier'](_0x459552,_0x349738[_0x268956(0x19c)]));this[_0x268956(0x21e)][_0x1ba3dd]={...this[_0x268956(0x21e)][_0x1ba3dd]||{},'finishedAt':new Date()[_0x268956(0x22c)]()},_0x31c506[_0x268956(0x271)](trace,_0x268956(0x1ba)+_0x1ba3dd);try{await this[_0x268956(0x1ce)](_0x459552,_0x31c506[_0x268956(0x1bf)],_0x349738);}catch(_0x505e2b){_0x31c506[_0x268956(0x271)](debug,util[_0x268956(0x1b2)](_0x31c506['ttWkJ'],_0x505e2b[_0x268956(0x21f)]()));}try{_0x31c506[_0x268956(0x271)](debug,_0x268956(0x192)+_0x1713d7),await _0x31c506[_0x268956(0x25e)](sendTraceZip,_0x349738,_0x1713d7);}catch(_0x22bd4d){_0x31c506[_0x268956(0x18b)](debug,util['format'](_0x31c506['VICux'],_0x22bd4d['toString']()));}const _0xa6baf5=[];_0x349738[_0x268956(0x17c)]&&_0x349738['attachments'][_0x268956(0x1b4)](_0x4fa37d=>{const _0x486e77=_0x268956;if(_0x31c506['WmjbS'](_0x4fa37d[_0x486e77(0x1dd)],_0x31c506[_0x486e77(0x20f)])){if(!_0x4fa37d[_0x486e77(0x1c7)]||!fs[_0x486e77(0x231)](_0x4fa37d[_0x486e77(0x1c7)]))return;_0xa6baf5[_0x486e77(0x19e)]({'test_run_uuid':_0x1713d7,'timestamp':fs['statSync'](_0x4fa37d[_0x486e77(0x1c7)])[_0x486e77(0x1f5)],'kind':_0x31c506[_0x486e77(0x1db)],'message':fs[_0x486e77(0x22e)](_0x4fa37d['path'],{'encoding':_0x31c506['FaVbh']})});}}),_0x31c506[_0x268956(0x204)](_0xa6baf5[_0x268956(0x1e3)],0x0)&&await MyReporter['reportLogs'](_0xa6baf5);}async[a41_0x4634ac(0x265)](){const _0x5ea7c6=a41_0x4634ac;await RequestQueueHandler[_0x5ea7c6(0x21b)]()[_0x5ea7c6(0x219)]();}async[a41_0x4634ac(0x1a6)](_0x385153){const _0x50b613=a41_0x4634ac,_0x486be9={'KFOzZ':function(_0x5056c8){return _0x5056c8();},'JbneY':function(_0x2ae6ef,_0x399cf0){return _0x2ae6ef(_0x399cf0);}};await this[_0x50b613(0x265)]();try{process[_0x50b613(0x1d8)][_0x50b613(0x1ea)]&&await _0x486be9[_0x50b613(0x264)](calculatePerformance);}catch(_0x3f6b17){_0x486be9[_0x50b613(0x1b5)](debug,_0x50b613(0x195)+_0x3f6b17[_0x50b613(0x21f)]());}}static async['addTestUIDAndReportLog'](_0x3c090c,_0x5a7db7){const _0x1f0ca5=a41_0x4634ac;_0x5a7db7[_0x1f0ca5(0x1be)]=TestDetails[_0x1f0ca5(0x18d)](_0x3c090c),await this[_0x1f0ca5(0x205)]([_0x5a7db7]);}static async[a41_0x4634ac(0x205)](_0xdc1167){const _0x45c290=a41_0x4634ac,_0x281ad5={};_0x281ad5[_0x45c290(0x23a)]=_0x45c290(0x257);const _0x76c5ed=_0x281ad5,_0x2163c7={};_0x2163c7[_0x45c290(0x1e8)]=_0x76c5ed[_0x45c290(0x23a)],_0x2163c7[_0x45c290(0x254)]=_0xdc1167,await SessionHandler[_0x45c290(0x1b1)](_0x2163c7);}async['sendHookRunEvent'](_0x4e62d2,_0x426dd7,_0x49af00,_0x308e6c){const _0x51427f=a41_0x4634ac,_0x1a5fcc={'Toofo':_0x51427f(0x236),'tLZgI':_0x51427f(0x183),'RLhbs':'pending','cmCDJ':function(_0x33091f,_0x1b2e30){return _0x33091f>=_0x1b2e30;},'wdGyR':function(_0x40cd2e,_0xcf2883){return _0x40cd2e===_0xcf2883;},'uAeJI':_0x51427f(0x1d3),'SckwI':function(_0x263ef5,_0x39a505){return _0x263ef5>_0x39a505;},'qdUip':_0x51427f(0x241),'iLUOF':function(_0x10cd7f,_0xb39bbd){return _0x10cd7f(_0xb39bbd);},'Jhccg':function(_0x7c7c1,_0x57e2a4){return _0x7c7c1(_0x57e2a4);},'XDaHS':function(_0x1e4465,_0x3b5d5a,_0x189d21){return _0x1e4465(_0x3b5d5a,_0x189d21);},'ylpgK':_0x51427f(0x213),'doTSy':_0x51427f(0x1c6)},_0x2308c0=this[_0x51427f(0x20a)](_0x4e62d2,_0x426dd7),_0x11bc1d=this[_0x51427f(0x21e)][_0x2308c0],_0x306605={'uuid':_0x11bc1d[_0x51427f(0x21d)],'type':_0x1a5fcc[_0x51427f(0x1e1)],'hook_type':this[_0x51427f(0x203)](_0x426dd7[_0x51427f(0x194)]),'name':_0x426dd7['title'],'scope':this['getScope'](_0x426dd7),'scopes':this[_0x51427f(0x19d)](_0x4e62d2),'body':{'lang':_0x1a5fcc[_0x51427f(0x1df)],'code':null},'identifier':_0x2308c0,'file_name':path['relative'](process['cwd'](),_0x4e62d2['location'][_0x51427f(0x220)]),'location':path[_0x51427f(0x19b)](process['cwd'](),_0x4e62d2['location']['file']),'result':_0x1a5fcc[_0x51427f(0x211)],'duration_in_ms':_0x1a5fcc['cmCDJ'](_0x426dd7['duration'],0x0)?_0x426dd7['duration']:undefined,'vc_filepath':this['_gitConfigPath']&&_0x4e62d2['location']['file']?path[_0x51427f(0x19b)](this[_0x51427f(0x22b)],_0x4e62d2['location']['file']):undefined,'started_at':_0x11bc1d[_0x51427f(0x249)],'finished_at':_0x11bc1d[_0x51427f(0x17e)],'framework':FRAMEWORKS[_0x51427f(0x1c4)]};if(_0x1a5fcc[_0x51427f(0x1c3)](_0x49af00,_0x1a5fcc['uAeJI'])){const {steps:_0x3fab5b,logs:_0x276f83}=this['getStepsAndLogs'](_0x426dd7[_0x51427f(0x180)],_0x11bc1d['uuid'],_0x1a5fcc[_0x51427f(0x1e1)]);_0x276f83&&_0x1a5fcc[_0x51427f(0x1ef)](_0x276f83['length'],0x0)&&await MyReporter[_0x51427f(0x205)](_0x276f83);const _0x4390e8={};_0x4390e8[_0x51427f(0x180)]=_0x3fab5b,_0x306605[_0x51427f(0x1fb)]=_0x4390e8;if(_0x426dd7[_0x51427f(0x243)]){_0x306605[_0x51427f(0x1ed)]=_0x1a5fcc['qdUip'],_0x306605[_0x51427f(0x197)]=_0x1a5fcc[_0x51427f(0x19f)](removeAnsiColors,_0x426dd7[_0x51427f(0x243)][_0x51427f(0x24c)]),_0x306605[_0x51427f(0x235)]=_0x1a5fcc[_0x51427f(0x256)](getFailureType,_0x426dd7[_0x51427f(0x243)][_0x51427f(0x24c)]);const _0xf49c4=_0x1a5fcc[_0x51427f(0x202)](failureData,_0x426dd7[_0x51427f(0x243)],_0x1a5fcc[_0x51427f(0x196)]);if(_0xf49c4&&_0x1a5fcc[_0x51427f(0x1c3)](_0xf49c4['length'],0x0)){const _0x2c0494={};_0x2c0494[_0x51427f(0x222)]=[_0x306605[_0x51427f(0x197)]],_0x2c0494['expanded']=[],_0xf49c4[_0x51427f(0x19e)](_0x2c0494);}_0x306605[_0x51427f(0x187)]=_0xf49c4;}else _0x306605['result']=_0x1a5fcc[_0x51427f(0x225)];}const _0x2344c6={};_0x2344c6[_0x51427f(0x1e8)]=_0x49af00,_0x2344c6[_0x51427f(0x1b8)]=_0x306605;const _0x40b50f=_0x2344c6;await SessionHandler[_0x51427f(0x1b1)](_0x40b50f);}[a41_0x4634ac(0x1c1)](_0x101383,_0x39c3b1,_0x3d3fe3){const _0x221cea=a41_0x4634ac,_0x476a45={'FuUga':function(_0x3c018a,_0x16dd27){return _0x3c018a===_0x16dd27;},'qpNCA':_0x221cea(0x236),'bCvXV':function(_0x204c37,_0x46af8f){return _0x204c37===_0x46af8f;},'rZAZx':_0x221cea(0x179),'oYdrS':_0x221cea(0x21c),'nKBKd':_0x221cea(0x20b),'wuDbp':_0x221cea(0x1be),'EsFis':_0x221cea(0x1e4),'AFnuC':'TEST_STEP','RrFfS':'failed','HhpLJ':_0x221cea(0x1c6),'TSCyo':function(_0x5cdba1,_0x53cb75){return _0x5cdba1(_0x53cb75);},'CEfgt':function(_0x43ae2b){return _0x43ae2b();},'QuAXP':function(_0x25e68e,_0xd2a215){return _0x25e68e(_0xd2a215);},'fvNNt':function(_0x208ddb,_0x2cd5f3,_0xa47523){return _0x208ddb(_0x2cd5f3,_0xa47523);},'niiRL':function(_0x4ee3dc,_0x48a624,_0x453977){return _0x4ee3dc(_0x48a624,_0x453977);}},_0x468518=[],_0x1ad694=[],_0x3da56d=_0x101383['filter'](_0x15269e=>{const _0x97e40b=_0x221cea;if(_0x476a45[_0x97e40b(0x1d4)](_0x15269e['category'],_0x476a45[_0x97e40b(0x198)])&&(_0x476a45[_0x97e40b(0x275)](_0x15269e[_0x97e40b(0x194)],_0x476a45[_0x97e40b(0x1f8)])||_0x476a45[_0x97e40b(0x1d4)](_0x15269e['title'],_0x476a45[_0x97e40b(0x1a1)])))return![];return!![];}),_0x499dad=(_0x4c49c9,_0x2df083=![])=>{const _0x239b0d=_0x221cea;if(_0x476a45[_0x239b0d(0x1d4)](_0x4c49c9[_0x239b0d(0x180)][_0x239b0d(0x1e3)],0x0)){const _0x586f35=_0x476a45[_0x239b0d(0x1d4)](_0x3d3fe3,_0x476a45['nKBKd'])?_0x476a45[_0x239b0d(0x1c2)]:_0x476a45['EsFis'];_0x1ad694[_0x239b0d(0x19e)]({'kind':_0x476a45[_0x239b0d(0x1d9)],[_0x586f35]:_0x39c3b1,'message':_0x4c49c9['title'],'timestamp':_0x4c49c9[_0x239b0d(0x1bc)][_0x239b0d(0x22c)](),'level':_0x4c49c9[_0x239b0d(0x243)]?_0x476a45[_0x239b0d(0x24f)]:_0x476a45[_0x239b0d(0x230)],'duration':_0x4c49c9[_0x239b0d(0x1aa)],'failure':_0x4c49c9[_0x239b0d(0x243)]&&_0x4c49c9[_0x239b0d(0x243)][_0x239b0d(0x24c)]&&_0x476a45['TSCyo'](removeAnsiColors,_0x4c49c9[_0x239b0d(0x243)][_0x239b0d(0x24c)]),'failure_type':_0x476a45[_0x239b0d(0x25f)](getFailureType,_0x4c49c9['error']&&_0x4c49c9[_0x239b0d(0x243)]['message'])});}else{!_0x2df083&&_0x468518[_0x239b0d(0x19e)]({'id':_0x476a45['CEfgt'](uuidv4),'text':_0x4c49c9[_0x239b0d(0x194)],'keyword':undefined,'started_at':_0x4c49c9[_0x239b0d(0x1bc)]['toISOString'](),'duration':_0x4c49c9[_0x239b0d(0x1aa)],'result':_0x4c49c9[_0x239b0d(0x243)]?_0x476a45[_0x239b0d(0x24f)]:_0x476a45['HhpLJ'],'failure':_0x4c49c9[_0x239b0d(0x243)]&&_0x4c49c9['error'][_0x239b0d(0x24c)]&&_0x476a45['QuAXP'](removeAnsiColors,_0x4c49c9[_0x239b0d(0x243)]['message']),'failure_type':_0x476a45[_0x239b0d(0x216)](getFailureType,_0x4c49c9[_0x239b0d(0x243)]&&_0x4c49c9[_0x239b0d(0x243)]['message'])});for(const _0x1e1e02 of _0x4c49c9[_0x239b0d(0x180)]){_0x476a45[_0x239b0d(0x1f3)](_0x499dad,_0x1e1e02,!![]);}}};for(const _0xccf685 of _0x3da56d){_0x476a45[_0x221cea(0x1ca)](_0x499dad,_0xccf685,![]);}const _0x57f9f8={};return _0x57f9f8['steps']=_0x468518,_0x57f9f8[_0x221cea(0x254)]=_0x1ad694,_0x57f9f8;}async[a41_0x4634ac(0x1ce)](_0x4bfd4e,_0x50380c,_0x60cd5d){const _0x7df349=a41_0x4634ac,_0x54ea25={'pRrOw':function(_0x31ff0e,_0x2927eb){return _0x31ff0e(_0x2927eb);},'tLzgD':'TEST_ATTACHMENT','zYwnw':_0x7df349(0x209),'alnOT':_0x7df349(0x20b),'ueJdj':_0x7df349(0x183),'uVzdx':'pending','smphE':function(_0x32c707,_0x4d22f2){return _0x32c707(_0x4d22f2);},'nMLAo':function(_0x4020b3,_0x9b26cd,_0x470853,_0x2d2b3c,_0x4ad8b5){return _0x4020b3(_0x9b26cd,_0x470853,_0x2d2b3c,_0x4ad8b5);},'XAeXK':function(_0x425d41,_0x4d067b){return _0x425d41>_0x4d067b;},'Sydbh':function(_0x516bba,_0x2047a9){return _0x516bba-_0x2047a9;},'rBRMy':function(_0x5c4094,_0x15054b){return _0x5c4094===_0x15054b;},'auFtQ':_0x7df349(0x223),'urecu':function(_0x28052f,_0x162efc){return _0x28052f===_0x162efc;},'CsOul':_0x7df349(0x206),'HSsuo':_0x7df349(0x1c6),'XJDZY':function(_0x2e2024,_0x4f75ad){return _0x2e2024===_0x4f75ad;},'ZslCf':_0x7df349(0x241),'VmUUt':function(_0x3a8342,_0x3fc838){return _0x3a8342===_0x3fc838;},'MEtTK':'timedOut','YDvrt':function(_0x3c6266,_0x230557){return _0x3c6266===_0x230557;},'qNNGJ':function(_0x650434,_0x44afec){return _0x650434===_0x44afec;},'PvyLD':_0x7df349(0x1a5),'HgRIS':function(_0x1bffb6,_0x9748d7,_0x3436c0){return _0x1bffb6(_0x9748d7,_0x3436c0);},'IiSzD':'path','bRFEI':function(_0x4b677f,_0x4e8e5a){return _0x4b677f(_0x4e8e5a);},'bcNAm':_0x7df349(0x1ad),'vpmuw':_0x7df349(0x1d2),'oGfrv':function(_0xdf1c0c,_0x2cd628){return _0xdf1c0c(_0x2cd628);},'qUcLg':function(_0x27ba36,_0x5229f8){return _0x27ba36!==_0x5229f8;}},_0x17dbbe=this[_0x7df349(0x227)](_0x4bfd4e),_0x2328bd=this[_0x7df349(0x20d)](_0x4bfd4e),_0x3c760f=this['_tests'][_0x17dbbe],_0x59e32e=path['relative'](process[_0x7df349(0x1b3)](),_0x4bfd4e[_0x7df349(0x218)]['file']);await this[_0x7df349(0x1ac)]();const _0x4c6f7a={'uuid':_0x3c760f['uuid'],'type':_0x54ea25[_0x7df349(0x226)],'name':_0x4bfd4e[_0x7df349(0x194)],'body':{'lang':_0x54ea25[_0x7df349(0x1b9)],'code':_0x4bfd4e['fn']['toString']()},'scope':_0x2328bd,'scopes':this[_0x7df349(0x19d)](_0x4bfd4e),'identifier':_0x17dbbe,'file_name':_0x59e32e,'location':_0x59e32e,'result':_0x54ea25[_0x7df349(0x178)],'duration_in_ms':_0x60cd5d&&_0x60cd5d[_0x7df349(0x1aa)]?_0x60cd5d[_0x7df349(0x1aa)]:null,'vc_filepath':this[_0x7df349(0x22b)]&&_0x4bfd4e[_0x7df349(0x218)][_0x7df349(0x220)]?path[_0x7df349(0x19b)](this[_0x7df349(0x22b)],_0x4bfd4e[_0x7df349(0x218)]['file']):undefined,'started_at':_0x3c760f[_0x7df349(0x249)],'finished_at':_0x3c760f['finishedAt'],'framework':FRAMEWORKS[_0x7df349(0x1c4)],'customRerunParam':{'rerun_name':this[_0x7df349(0x232)](_0x4bfd4e)},'tags':_0x54ea25[_0x7df349(0x22a)](getTestTags,_0x4bfd4e)};_0x54ea25[_0x7df349(0x246)](appendTesthubParams,_0x4c6f7a,_0x50380c,_0x4bfd4e,FRAMEWORKS[_0x7df349(0x1c4)]);_0x60cd5d&&_0x54ea25[_0x7df349(0x23f)](_0x60cd5d[_0x7df349(0x19c)],0x0)&&(_0x4c6f7a[_0x7df349(0x186)]=TestDetails[_0x7df349(0x18d)](this[_0x7df349(0x17b)](_0x4bfd4e,_0x54ea25['Sydbh'](_0x60cd5d[_0x7df349(0x19c)],0x1))));if(_0x54ea25[_0x7df349(0x24d)](_0x50380c,_0x54ea25[_0x7df349(0x1ae)])){_0x4c6f7a[_0x7df349(0x1ed)]=_0x60cd5d[_0x7df349(0x245)];if(_0x54ea25[_0x7df349(0x19a)](_0x60cd5d[_0x7df349(0x245)],_0x4bfd4e[_0x7df349(0x253)]))_0x4c6f7a[_0x7df349(0x1ed)]=_0x54ea25[_0x7df349(0x24d)](_0x60cd5d[_0x7df349(0x245)],_0x54ea25['CsOul'])?_0x54ea25['CsOul']:_0x54ea25['HSsuo'];else{(_0x54ea25['urecu'](_0x4c6f7a['result'],_0x54ea25[_0x7df349(0x24e)])||_0x54ea25[_0x7df349(0x1d6)](_0x4c6f7a['result'],_0x54ea25['ZslCf'])||_0x54ea25[_0x7df349(0x217)](_0x4c6f7a[_0x7df349(0x1ed)],_0x54ea25[_0x7df349(0x1af)]))&&(_0x4c6f7a[_0x7df349(0x1ed)]=_0x54ea25[_0x7df349(0x22f)]);if(_0x54ea25['YDvrt'](_0x60cd5d[_0x7df349(0x245)],_0x54ea25[_0x7df349(0x24e)])&&_0x54ea25[_0x7df349(0x24a)](_0x4bfd4e[_0x7df349(0x253)],_0x54ea25[_0x7df349(0x22f)])){const _0x20377d={};_0x20377d[_0x7df349(0x24c)]=_0x54ea25[_0x7df349(0x274)],_0x20377d[_0x7df349(0x259)]=_0x54ea25[_0x7df349(0x274)],_0x60cd5d[_0x7df349(0x243)]=_0x20377d,_0x60cd5d[_0x7df349(0x23c)]=[_0x60cd5d[_0x7df349(0x243)]];}}const _0x59e309=this[_0x7df349(0x17b)](_0x4bfd4e,_0x60cd5d[_0x7df349(0x19c)]);_0x4c6f7a['hooks']=this[_0x7df349(0x181)][_0x59e309];const {steps:_0x2775e1,logs:_0x35a4b5}=this['getStepsAndLogs'](_0x60cd5d[_0x7df349(0x180)],_0x3c760f[_0x7df349(0x21d)],_0x54ea25[_0x7df349(0x226)]);await MyReporter[_0x7df349(0x205)](_0x35a4b5);const _0x1745e8={};_0x1745e8[_0x7df349(0x180)]=_0x2775e1,_0x4c6f7a[_0x7df349(0x1fb)]=_0x1745e8;if(_0x60cd5d[_0x7df349(0x243)]){_0x4c6f7a[_0x7df349(0x197)]=_0x54ea25[_0x7df349(0x22a)](removeAnsiColors,_0x60cd5d[_0x7df349(0x243)][_0x7df349(0x24c)]),_0x4c6f7a[_0x7df349(0x235)]=_0x54ea25[_0x7df349(0x22a)](getFailureType,_0x60cd5d['error'][_0x7df349(0x24c)]);const _0x1d4007={};_0x1d4007[_0x7df349(0x1be)]=_0x3c760f['uuid'];const {failureData:_0x342f29,logs:_0x43e37b}=_0x54ea25[_0x7df349(0x228)](getFailureData,_0x60cd5d[_0x7df349(0x23c)],_0x1d4007);if(_0x342f29&&_0x54ea25[_0x7df349(0x24a)](_0x342f29[_0x7df349(0x1e3)],0x0)){const _0x491c45={};_0x491c45[_0x7df349(0x222)]=[_0x4c6f7a[_0x7df349(0x197)]],_0x491c45[_0x7df349(0x215)]=[],_0x342f29[_0x7df349(0x19e)](_0x491c45);}_0x4c6f7a['failure']=_0x342f29,_0x43e37b&&_0x54ea25[_0x7df349(0x23f)](_0x43e37b[_0x7df349(0x1e3)],0x0)&&await MyReporter[_0x7df349(0x205)](_0x43e37b);}}let _0x49ae5e=_0x54ea25[_0x7df349(0x228)](findNestedKey,_0x60cd5d,_0x54ea25[_0x7df349(0x1f0)]);if(_0x49ae5e&&_0x54ea25[_0x7df349(0x250)](validateFilePath,_0x49ae5e))_0x54ea25['pRrOw'](debug,_0x7df349(0x1ff)+_0x3c760f['uuid']+_0x7df349(0x24b)+_0x49ae5e);else{const _0x3bce80=path[_0x7df349(0x26d)](helper['homedir'](),_0x54ea25[_0x7df349(0x182)]);!fs[_0x7df349(0x231)](_0x3bce80)&&fs['mkdirSync'](_0x3bce80),fs[_0x7df349(0x231)](path[_0x7df349(0x26d)](_0x3bce80,_0x7df349(0x177)+_0x3c760f[_0x7df349(0x21d)]+_0x7df349(0x270)))&&(_0x49ae5e=fs[_0x7df349(0x22e)](path[_0x7df349(0x26d)](_0x3bce80,'trace_'+_0x3c760f['uuid']+_0x7df349(0x270)),_0x54ea25[_0x7df349(0x23b)]),_0x54ea25[_0x7df349(0x248)](debug,_0x7df349(0x1ff)+_0x3c760f[_0x7df349(0x21d)]+_0x7df349(0x24b)+_0x49ae5e));}const _0x55c6ea={};_0x55c6ea['event_type']=_0x50380c,_0x55c6ea['test_run']=_0x4c6f7a;const _0x5e1fe9=_0x55c6ea;_0x49ae5e&&_0x54ea25[_0x7df349(0x224)](_0x49ae5e,'')&&_0x54ea25[_0x7df349(0x19a)](_0x50380c,_0x54ea25['auFtQ'])&&(!_0x5e1fe9[_0x7df349(0x254)]&&(_0x5e1fe9[_0x7df349(0x254)]=[]),_0x49ae5e[_0x7df349(0x1fa)]('\x0a')[_0x7df349(0x1f7)](_0x1d3d24=>{const _0x3ad6bd=_0x7df349;_0x1d3d24&&_0x54ea25[_0x3ad6bd(0x193)](validateFilePath,_0x1d3d24)&&_0x5e1fe9[_0x3ad6bd(0x254)][_0x3ad6bd(0x19e)]({'kind':_0x54ea25[_0x3ad6bd(0x1ee)],'timestamp':new Date()[_0x3ad6bd(0x22c)](),'test_run_uuid':_0x3c760f[_0x3ad6bd(0x21d)],'file_name':path[_0x3ad6bd(0x18f)](_0x1d3d24),'file_size':fs[_0x3ad6bd(0x20e)](_0x1d3d24)[_0x3ad6bd(0x26b)],'attachment_type':_0x54ea25['zYwnw']});})),await SessionHandler[_0x7df349(0x1b1)](_0x5e1fe9);}['getCustomRerunParam'](_0x2417a3){const _0x246446=a41_0x4634ac,_0x31eb0f={};_0x31eb0f[_0x246446(0x188)]=function(_0x401163,_0x5288c6){return _0x401163===_0x5288c6;},_0x31eb0f[_0x246446(0x207)]=function(_0x4e49a3,_0x526290){return _0x4e49a3>_0x526290;},_0x31eb0f[_0x246446(0x18c)]=function(_0x1605a5,_0x51e44a){return _0x1605a5+_0x51e44a;},_0x31eb0f[_0x246446(0x25d)]=function(_0xef0192,_0x5bddd8){return _0xef0192+_0x5bddd8;},_0x31eb0f['fkcHh']=function(_0x348b3c,_0x229d56){return _0x348b3c>_0x229d56;},_0x31eb0f[_0x246446(0x22d)]=function(_0x3fbd74,_0x2a4085){return _0x3fbd74+_0x2a4085;},_0x31eb0f[_0x246446(0x23e)]=function(_0x46d03d,_0xa73185){return _0x46d03d+_0xa73185;};const _0x22d734=_0x31eb0f,_0x132e5e=_0x2417a3[_0x246446(0x1ab)]()[_0x246446(0x1b4)](_0x41714e=>{const _0x452b9f=_0x246446;if(_0x2417a3[_0x452b9f(0x1d5)]&&_0x22d734[_0x452b9f(0x188)](_0x41714e,_0x2417a3[_0x452b9f(0x1d5)][_0x452b9f(0x194)])&&_0x2417a3[_0x452b9f(0x1d5)][_0x452b9f(0x1a7)]&&_0x22d734[_0x452b9f(0x207)](_0x2417a3['parent']['_tags'][_0x452b9f(0x1e3)],0x0))return _0x22d734[_0x452b9f(0x18c)](_0x22d734[_0x452b9f(0x25d)](_0x41714e,'\x20'),_0x2417a3[_0x452b9f(0x1d5)][_0x452b9f(0x1a7)]['join']('\x20'));if(_0x22d734[_0x452b9f(0x188)](_0x41714e,_0x2417a3[_0x452b9f(0x194)])&&_0x2417a3[_0x452b9f(0x1a7)]&&_0x22d734[_0x452b9f(0x261)](_0x2417a3[_0x452b9f(0x1a7)][_0x452b9f(0x1e3)],0x0))return _0x22d734['ippxV'](_0x22d734[_0x452b9f(0x23e)](_0x41714e,'\x20'),_0x2417a3[_0x452b9f(0x1a7)][_0x452b9f(0x26d)]('\x20'));return _0x41714e;})['join']('\x20');return _0x132e5e;}static async[a41_0x4634ac(0x1cf)](_0x1f1132,_0x507e12){const _0x137509=a41_0x4634ac,_0x1605b9={'WCsxs':function(_0x5a7571,_0x3385e0){return _0x5a7571(_0x3385e0);},'slbiA':'CBTSessionCreated'},_0x542038={'uuid':TestDetails[_0x137509(0x18d)](_0x1f1132),'integrations':_0x507e12},_0x1275f7={};_0x1275f7['depth']=null,_0x1605b9['WCsxs'](debug,_0x137509(0x201)+_0x1f1132+',\x20'+util['inspect'](_0x507e12,_0x1275f7));const _0x51b0d1={};_0x51b0d1['event_type']=_0x1605b9['slbiA'],_0x51b0d1[_0x137509(0x185)]=_0x542038,await SessionHandler[_0x137509(0x1b1)](_0x51b0d1);}async[a41_0x4634ac(0x1ac)](){const _0x4fdc06=a41_0x4634ac,_0xb7f109={'PraGX':function(_0x2b463f){return _0x2b463f();}};if(this['_gitConfigured'])return;const _0x247ee6=await _0xb7f109['PraGX'](getGitMetaData);_0x247ee6&&(this[_0x4fdc06(0x22b)]=_0x247ee6['root']),this[_0x4fdc06(0x1f9)]=!![];}[a41_0x4634ac(0x19d)](_0x38565d){const _0x4f1169=a41_0x4634ac,_0x41b00d={};_0x41b00d[_0x4f1169(0x1c5)]=function(_0x34b77,_0x4dddbe){return _0x34b77!==_0x4dddbe;};const _0x425a21=_0x41b00d,_0x4e34c1=[];if(_0x38565d&&_0x38565d[_0x4f1169(0x1d5)]){let _0x5ec117=_0x38565d[_0x4f1169(0x1d5)];while(_0x5ec117&&_0x425a21[_0x4f1169(0x1c5)](_0x5ec117[_0x4f1169(0x194)],'')){_0x4e34c1[_0x4f1169(0x19e)](_0x5ec117[_0x4f1169(0x194)]),_0x5ec117=_0x5ec117['parent'];}}return _0x4e34c1[_0x4f1169(0x239)]()[_0x4f1169(0x208)](0x0,0x2),_0x4e34c1;}[a41_0x4634ac(0x255)](_0x2a9c9f){const _0x3f2d8a=a41_0x4634ac,_0x182822={};_0x182822['ieCpl']=function(_0x37e88c,_0x4e7e0f){return _0x37e88c!==_0x4e7e0f;},_0x182822['OsJds']=_0x3f2d8a(0x236),_0x182822[_0x3f2d8a(0x189)]=function(_0x53d72e,_0x5a1fb3){return _0x53d72e===_0x5a1fb3;},_0x182822[_0x3f2d8a(0x23d)]=_0x3f2d8a(0x190),_0x182822['wTrXd']=_0x3f2d8a(0x1f4),_0x182822[_0x3f2d8a(0x1fd)]=_0x3f2d8a(0x26c),_0x182822['dMrCq']=_0x3f2d8a(0x233);const _0x47304b=_0x182822;if(_0x47304b[_0x3f2d8a(0x25a)](_0x2a9c9f[_0x3f2d8a(0x1c8)],_0x47304b[_0x3f2d8a(0x268)]))return![];if(_0x47304b[_0x3f2d8a(0x189)]([_0x47304b[_0x3f2d8a(0x23d)],_0x47304b[_0x3f2d8a(0x21a)],_0x47304b[_0x3f2d8a(0x1fd)],_0x47304b['dMrCq']][_0x3f2d8a(0x272)](_0x2a9c9f[_0x3f2d8a(0x194)]),-0x1))return![];return!![];}[a41_0x4634ac(0x20a)](_0x12dede,_0x2407a9){const _0x3b1283=a41_0x4634ac,_0x31dd49=_0x2407a9['_bs_hookIdentifier'];if(_0x31dd49)return _0x31dd49;return _0x2407a9[_0x3b1283(0x194)]+_0x3b1283(0x199)+this[_0x3b1283(0x227)](_0x12dede);}[a41_0x4634ac(0x25c)](_0x23676f,_0x115738){const _0x1383c5=a41_0x4634ac,_0x279664={'ocPQG':function(_0x4161e9){return _0x4161e9();}};let _0x4b00db=_0x115738['title']+_0x1383c5(0x199)+this[_0x1383c5(0x227)](_0x23676f);return this[_0x1383c5(0x21e)][_0x4b00db]&&(_0x4b00db=_0x4b00db+_0x1383c5(0x1de)+_0x279664['ocPQG'](uuidv4)),_0x115738['_bs_hookIdentifier']=_0x4b00db,_0x4b00db;}[a41_0x4634ac(0x227)]=_0x55bf4c=>{const _0x37ecdd=a41_0x4634ac,_0x3d952c={};_0x3d952c[_0x37ecdd(0x1cb)]=function(_0x1d7f59,_0x57c334){return _0x1d7f59+_0x57c334;},_0x3d952c['SJstf']=function(_0x1a0135,_0x2728b6){return _0x1a0135+_0x2728b6;};const _0x4b20bc=_0x3d952c;return _0x4b20bc[_0x37ecdd(0x1cb)](_0x4b20bc[_0x37ecdd(0x200)](_0x55bf4c[_0x37ecdd(0x260)],'-'),_0x55bf4c['id']);};['getTestRunIdentifier']=(_0x1c4249,_0x20227a)=>{const _0x4a190e=a41_0x4634ac,_0x47601e={};_0x47601e[_0x4a190e(0x1fc)]=function(_0x19ff40,_0xe2b604){return _0x19ff40+_0xe2b604;},_0x47601e[_0x4a190e(0x17a)]=function(_0x2d6f2d,_0xfa2dbf){return _0x2d6f2d+_0xfa2dbf;};const _0x481910=_0x47601e;return _0x481910[_0x4a190e(0x1fc)](_0x481910[_0x4a190e(0x17a)](this[_0x4a190e(0x227)](_0x1c4249),'-'),_0x20227a);};[a41_0x4634ac(0x203)]=_0x4fca14=>{const _0x8d513=a41_0x4634ac,_0x409510={};_0x409510['WIXHX']=_0x8d513(0x190),_0x409510[_0x8d513(0x1e7)]='BEFORE_EACH',_0x409510['uiTZb']='beforeAll\x20hook',_0x409510[_0x8d513(0x266)]=_0x8d513(0x1b0),_0x409510[_0x8d513(0x26e)]='afterEach\x20hook',_0x409510[_0x8d513(0x229)]=_0x8d513(0x1e6),_0x409510[_0x8d513(0x25b)]=_0x8d513(0x26c),_0x409510[_0x8d513(0x18a)]=_0x8d513(0x1dc),_0x409510['gCSHC']=_0x8d513(0x17d);const _0x1a099c=_0x409510;if(_0x4fca14[_0x8d513(0x1da)](_0x1a099c['WIXHX']))return _0x1a099c[_0x8d513(0x1e7)];else{if(_0x4fca14[_0x8d513(0x1da)](_0x1a099c[_0x8d513(0x251)]))return _0x1a099c[_0x8d513(0x266)];else{if(_0x4fca14[_0x8d513(0x1da)](_0x1a099c[_0x8d513(0x26e)]))return _0x1a099c[_0x8d513(0x229)];else{if(_0x4fca14['startsWith'](_0x1a099c['LGSSH']))return _0x1a099c[_0x8d513(0x18a)];}}}return _0x1a099c[_0x8d513(0x1f6)];};['getScope']=_0x43bb22=>{const _0x48f053=a41_0x4634ac,_0x22ce60={};_0x22ce60['gtbml']=function(_0x2d9863,_0x38f4c2){return _0x2d9863===_0x38f4c2;},_0x22ce60[_0x48f053(0x1c0)]=_0x48f053(0x221);const _0x4c81c9=_0x22ce60;let _0x290289=_0x43bb22[_0x48f053(0x1d5)];return _0x4c81c9['gtbml'](typeof _0x43bb22[_0x48f053(0x1d5)],_0x4c81c9[_0x48f053(0x1c0)])&&(_0x290289=_0x290289[_0x48f053(0x194)]),_0x290289+_0x48f053(0x1de)+_0x43bb22[_0x48f053(0x194)];};['printsToStdio'](){return![];}}function a41_0x452c(_0x4b9015,_0x14e9ae){const _0x4d4232=a41_0x4d42();return a41_0x452c=function(_0x452c33,_0x3ef04b){_0x452c33=_0x452c33-0x177;let _0x4d9028=_0x4d4232[_0x452c33];return _0x4d9028;},a41_0x452c(_0x4b9015,_0x14e9ae);}function a41_0x4d42(){const _0x5dbf3c=['\x20-\x20','tLZgI','logLevel','Toofo','../../../helpers/performance/performance-tester','length','hook_run_uuid','base64','AFTER_EACH','NRlEM','event_type','options','BROWSERSTACK_O11Y_PERF_MEASUREMENT','../../../helpers/test-observability/sessionHandler','swQSG','result','tLzgD','SckwI','IiSzD','performance-report-reporter.json','1200884RHjfwy','fvNNt','beforeAll\x20hook','mtime','gCSHC','forEach','rZAZx','_gitConfigured','split','meta','UiZeu','OaRLB','6503217kKOSNH','Trace\x20file\x20found\x20for\x20test:\x20','SJstf','Sending\x20session\x20details\x20for\x20','XDaHS','getHookType','SAxRj','reportLogs','skipped','AFZGL','splice','PLAYWRIGHT_TRACE_LOGS','getStepIdentifier','test','JLAuE','getScope','statSync','nLQCe','sendHookRunEvent','RLhbs','./pwUtils','err','TEST_SCREENSHOT','expanded','QuAXP','VmUUt','location','shutdown','wTrXd','getInstance','Before\x20Hooks','uuid','_tests','toString','file','object','backtrace','TestRunFinished','qUcLg','doTSy','alnOT','getTestIdentifier','HgRIS','XZctd','smphE','_gitConfigPath','toISOString','ippxV','readFileSync','ZslCf','HhpLJ','existsSync','getCustomRerunParam','afterEach\x20hook','yYTaL','failure_type','hook','TestRunStarted','Test\x20Started\x20with\x20unique\x20id\x20','reverse','hckYx','vpmuw','errors','AsNtT','HfdNK','XAeXK','5376172ifeKNb','failed','../../../helpers/test-observability/utils','error','START_TIME','status','nMLAo','startMonitoring','oGfrv','startedAt','qNNGJ','\x20at\x20','message','rBRMy','HSsuo','RrFfS','bRFEI','uiTZb','BROWSERSTACK_LOG_LEVEL','expectedStatus','logs','needToReportStep','Jhccg','LogCreated','../../../helpers/test-observability/error-handler','stack','ieCpl','LGSSH','setStepIdentifier','rhCJg','RMEKD','TSCyo','_projectId','fkcHh','screenshot','2839509fKcPLZ','KFOzZ','endSession','uFDXl','../../../helpers/testhub/testhubHandler','OsJds','GpaDV','MyReporter','size','afterAll\x20hook','join','oQlID','\x20is\x20triggered\x20for\x20test\x20','.txt','hnUPw','indexOf','onStepEnd','PvyLD','bCvXV','onTestBegin','trace_','uVzdx','After\x20Hooks','HLBUP','getTestRunIdentifier','attachments','unknown','finishedAt','setup','steps','_testHooksMap','bcNAm','javascript','23096664mqkSJb','test_run','retry_of','failure','JZscC','ayuSi','hkvtE','CYzKO','DWDxc','getTestUUID','getTime','basename','beforeEach\x20hook','../../../helpers/test-observability/constants','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','pRrOw','title','Error\x20in\x20calculating\x20performance:\x20','ylpgK','failure_reason','qpNCA','\x20for\x20','urecu','relative','retry','getHierarchy','push','iLUOF','onStepBegin','oYdrS','ZgyiY','2KfEohK','HookRunStarted','Expected\x20to\x20fail,\x20but\x20passed.','onEnd','_tags','../../../helpers/helper','onBegin','duration','titlePath','configureGit','.browserstack','auFtQ','MEtTK','BEFORE_ALL','uploadEventData','format','cwd','map','JbneY','6|4|2|1|0|3|5','BROWSERSTACK_TEST_RUN_ID','hook_run','ueJdj','Test\x20Finished\x20with\x20unique\x20id\x20','KvyRc','startTime','onTestEnd','test_run_uuid','JzAbb','nEtcE','getStepsAndLogs','wuDbp','wdGyR','PLAYWRIGHT','kBLOF','passed','path','category','Hook\x20Started\x20with\x20unique\x20id\x20','niiRL','bKYgQ','\x20is\x20triggered','3507990ajlqGz','sendTestRunEvent','sendSessionDetails','./test-details','nNlYO','utf8','HookRunFinished','FuUga','parent','XJDZY','4476618fVwMJu','env','AFnuC','startsWith','GVuEp','AFTER_ALL','name'];a41_0x4d42=function(){return _0x5dbf3c;};return a41_0x4d42();}module['exports']=o11yClassErrorHandler(MyReporter,[a41_0x4634ac(0x1a9),'endSession',a41_0x4634ac(0x276),a41_0x4634ac(0x1bd),a41_0x4634ac(0x1a0),a41_0x4634ac(0x273),a41_0x4634ac(0x1cf)],a41_0x4634ac(0x26a));
1
+ const a41_0x24882e=a41_0x1433;function a41_0x9538(){const _0x3523df=['6|3|0|5|2|4|1','root','getInstance','15684PgAMwt','configureGit','../../../helpers/testhub/testhubHandler','object','hiadO','HYwcC','oqzRh','BEFORE_EACH','nMxLy','../../../helpers/test-observability/requestQueueHandler','NGKqd','fANJf','TestRunFinished','trace_','2710862MpBqpV','_bs_hookIdentifier','_testHooksMap','rfrhF','CDfrj','failure_reason','After\x20Hooks','getCustomRerunParam','\x20is\x20triggered\x20for\x20test\x20','sendHookRunEvent','nQSmg','sendSessionDetails','forEach','pNmGW','MwYhk','dDzET','xtKvi','readFileSync','onTestEnd','lhOyO','10551905KrIkuS','shutdown','hooks','MLyoo','map','AOrVX','UgXlz','screenshot','existsSync','roLaY','\x20for\x20','DvCju','rvXjT','reverse','JcCqN','join','getTestRunIdentifier','getTime','fglZu','21uCPots','Expected\x20to\x20fail,\x20but\x20passed.','NixCs','BOanN','exports','reportLogs','LpUcx','Sending\x20session\x20details\x20for\x20','onEnd','utf8','ImXRO','getHierarchy','duOOy','KMBhG','test_run','ZQMsb','title','xdztO','Hook\x20Finished\x20with\x20unique\x20id\x20','base64','VNRWS','ADtiP','mtime','TEST_SCREENSHOT','setup','_tests','indexOf','wVIyW','AvxSg','857678NkTsdJ','test_run_uuid','getHookType','beforeEach\x20hook','format','env','GTgeX','parent','AXtLo','./pwUtils','qECZp','endSession','_tags','attachments','760845GRAZiY','dQoRW','9MKKNkF','../../../helpers/test-observability/sessionHandler','oEdCk','onBegin','errors','gNuoc','START_TIME','XIsyr','qNHIE','37107860nPLPlk','eRqrx','javascript','basename','performance-report-reporter.json','logLevel','EBCTa','sendTestRunEvent','addTestUIDAndReportLog','Test\x20Started\x20with\x20unique\x20id\x20','pending','iAzyj','gSles','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','name','retry','cwd','ptMjE','PLAYWRIGHT_TRACE_LOGS','getScope','push','JiQUX','onTestBegin','../../../helpers/test-observability/error-handler','PqDwB','hook_run_uuid','getTestUUID','test','failed','Trace\x20file\x20found\x20for\x20test:\x20','../../../helpers/helper','ggmoG','hook_run','finishedAt','wPNxX','mTOoN','uCYGM','toString','cQyYg','split','meta','./test-details','uuid','AJVPG','yOdDw','Xzyso','duration','getStepIdentifier','aFPPt','NjChS','lsitn','startTime','AFTER_ALL','zgZMt','path','\x20at\x20','TEST_STEP','mkdirSync','BROWSERSTACK_LOG_LEVEL','length','NvoNb','getTestIdentifier','startsWith','FWoUe','util','event_type','Test\x20Finished\x20with\x20unique\x20id\x20','titlePath','expanded','MxFZx','gtYnX','backtrace','etktD','BROWSERSTACK_O11Y_PERF_MEASUREMENT','hook','7451952EJcHYd','OCrnz','_gitConfigured','startMonitoring','stack','BROWSERSTACK_TEST_RUN_ID','YpeHl','HookRunFinished','YkULN','Error\x20in\x20sending\x20trace\x20zip:\x20%s','_gitConfigPath','result','uMMgv','error','qLEgE','VydOb','file','euEhI','tuYDJ','getStepsAndLogs','LDuhL','beforeAll\x20hook','passed','nRIiX','.txt','qzUcD','startedAt','afterEach\x20hook','IQzZx','sumGx','xvKEx','cojTV','onStepEnd','smmPN','hejWE','needToReportStep','afterAll\x20hook','status','rVbad','message','DYTdi','TEST_ATTACHMENT','MyReporter','steps','6TBRcvX','expectedStatus','VPTCd','cclBI','toISOString','category','PLAYWRIGHT','AohsW','relative','UHAkQ','retry_of','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','lSoPY','uploadEventData','iKemu','onStepBegin','unknown','err','location','setStepIdentifier','bGNCm','Error\x20in\x20calculating\x20performance:\x20','djlcE','CBTSessionCreated','FDfOb','../../../helpers/testhub/utils','logs','failure_type','mIAcn','eYVHn','pNlQc','wbTzZ','depth','.browserstack','uvLgQ'];a41_0x9538=function(){return _0x3523df;};return a41_0x9538();}(function(_0x4dc74d,_0xa438c0){const _0x49aa95=a41_0x1433,_0x3008db=_0x4dc74d();while(!![]){try{const _0x4dcd37=parseInt(_0x49aa95(0x18e))/0x1+-parseInt(_0x49aa95(0x14a))/0x2+-parseInt(_0x49aa95(0x171))/0x3*(parseInt(_0x49aa95(0x13c))/0x4)+-parseInt(_0x49aa95(0x19c))/0x5*(-parseInt(_0x49aa95(0x116))/0x6)+-parseInt(_0x49aa95(0x15e))/0x7+-parseInt(_0x49aa95(0x1f2))/0x8+-parseInt(_0x49aa95(0x19e))/0x9*(-parseInt(_0x49aa95(0x1a7))/0xa);if(_0x4dcd37===_0xa438c0)break;else _0x3008db['push'](_0x3008db['shift']());}catch(_0x506d5e){_0x3008db['push'](_0x3008db['shift']());}}}(a41_0x9538,0xdb71e));function a41_0x1433(_0x1c17f8,_0x37e9c7){const _0x953884=a41_0x9538();return a41_0x1433=function(_0x1433d4,_0x15f75b){_0x1433d4=_0x1433d4-0x108;let _0x427e9d=_0x953884[_0x1433d4];return _0x427e9d;},a41_0x1433(_0x1c17f8,_0x37e9c7);}const RequestQueueHandler=require(a41_0x24882e(0x145)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x24882e(0x197)),{v4:uuidv4}=require(a41_0x24882e(0x1d1)),path=require(a41_0x24882e(0x1dd)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require('../../../helpers/test-observability/utils'),{getGitMetaData,setLogLevel}=require(a41_0x24882e(0x1c5)),TestDetails=require(a41_0x24882e(0x1d0)),fs=require('fs'),util=require(a41_0x24882e(0x1e7)),{o11yClassErrorHandler}=require(a41_0x24882e(0x1be)),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a41_0x24882e(0x19f)),{appendTesthubParams}=require(a41_0x24882e(0x12f)),TestHubHandler=require(a41_0x24882e(0x13e)),helper=require(a41_0x24882e(0x1c5));class MyReporter{constructor(_0x6f63cb){const _0x485db0=a41_0x24882e,_0xcd6862={'rvXjT':_0x485db0(0x139),'smmPN':_0x485db0(0x1ab),'ZQMsb':function(_0x5687c4,_0x1ad13c,_0x15d3b2,_0x22c3d5){return _0x5687c4(_0x1ad13c,_0x15d3b2,_0x22c3d5);}},_0x1e2acd=_0xcd6862[_0x485db0(0x16a)][_0x485db0(0x1ce)]('|');let _0x20fb33=0x0;while(!![]){switch(_0x1e2acd[_0x20fb33++]){case'0':this[_0x485db0(0x18a)]={};continue;case'1':this[_0x485db0(0x1fc)]=null;continue;case'2':this['options']=_0x6f63cb;continue;case'3':process['env'][_0x485db0(0x1f0)]&&(PerformanceTester[_0x485db0(0x1f5)](_0xcd6862[_0x485db0(0x10b)]),process[_0x485db0(0x193)][_0x485db0(0x1a4)]=new Date()['toISOString']());continue;case'4':this['_gitConfigured']=![];continue;case'5':this[_0x485db0(0x14c)]={};continue;case'6':const _0x38e586={};_0x38e586[_0x485db0(0x1ac)]=process[_0x485db0(0x193)][_0x485db0(0x1e1)],_0xcd6862[_0x485db0(0x180)](setLogLevel,_0x38e586,new Map(),new Map());continue;}break;}}async[a41_0x24882e(0x1a1)](){const _0x460197=a41_0x24882e;TestDetails[_0x460197(0x189)](),await this[_0x460197(0x13d)]();}async['onTestBegin'](_0x299066,_0x140f00){const _0x2f133a=a41_0x24882e,_0x118224={'iLctd':function(_0xd3b297,_0x70f21){return _0xd3b297(_0x70f21);},'nMxLy':'TestRunStarted'},_0x4b7b43=this[_0x2f133a(0x1e4)](_0x299066),_0x17fee4=TestDetails[_0x2f133a(0x1c1)](this['getTestRunIdentifier'](_0x299066,_0x140f00[_0x2f133a(0x1b6)]));process[_0x2f133a(0x193)][_0x2f133a(0x1f7)]=_0x17fee4;const _0x25a5d4={};_0x25a5d4[_0x2f133a(0x1d1)]=_0x17fee4,_0x25a5d4[_0x2f133a(0x20c)]=_0x140f00[_0x2f133a(0x1da)],this[_0x2f133a(0x18a)][_0x4b7b43]=_0x25a5d4,_0x118224['iLctd'](trace,_0x2f133a(0x1b0)+_0x4b7b43),await this[_0x2f133a(0x1ae)](_0x299066,_0x118224[_0x2f133a(0x144)],_0x140f00);}async[a41_0x24882e(0x125)](_0x44674d,_0x1ae7fd,_0x274ed5){const _0xaabbdf=a41_0x24882e,_0x2db5cd={'lSoPY':function(_0x3174b1,_0x4f2653){return _0x3174b1(_0x4f2653);},'MxFZx':'HookRunStarted'};if(!this[_0xaabbdf(0x10d)](_0x274ed5,_0x44674d))return;const _0x303121=this[_0xaabbdf(0x129)](_0x44674d,_0x274ed5);this['_tests'][_0x303121]={'uuid':TestDetails['getTestUUID'](_0x303121),'startedAt':_0x274ed5['startTime'][_0xaabbdf(0x11a)]()};const _0x2ec775=this[_0xaabbdf(0x16e)](_0x44674d,_0x1ae7fd[_0xaabbdf(0x1b6)]);!this[_0xaabbdf(0x14c)][_0x2ec775]&&(this[_0xaabbdf(0x14c)][_0x2ec775]=[]),this['_testHooksMap'][_0x2ec775][_0xaabbdf(0x1bb)](this['_tests'][_0x303121]['uuid']),_0x2db5cd[_0xaabbdf(0x122)](trace,'Hook\x20Started\x20with\x20unique\x20id\x20'+_0x303121+_0xaabbdf(0x152)+_0x2ec775),await this[_0xaabbdf(0x153)](_0x44674d,_0x274ed5,_0x2db5cd[_0xaabbdf(0x1ec)],_0x1ae7fd);}async[a41_0x24882e(0x10a)](_0x37e7eb,_0x159c71,_0x1dfed3){const _0x58dad0=a41_0x24882e,_0x4453d6={'fANJf':function(_0x5ec898,_0x3aefe1){return _0x5ec898+_0x3aefe1;},'uvLgQ':function(_0x2353dd,_0x3b63da){return _0x2353dd(_0x3b63da);},'sumGx':_0x58dad0(0x1f9)};if(!this[_0x58dad0(0x10d)](_0x1dfed3,_0x37e7eb))return;const _0x10a165=this[_0x58dad0(0x1d6)](_0x37e7eb,_0x1dfed3);this[_0x58dad0(0x18a)][_0x10a165]={...this[_0x58dad0(0x18a)][_0x10a165]||{},'finishedAt':new Date(_0x4453d6[_0x58dad0(0x147)](_0x1dfed3[_0x58dad0(0x1da)][_0x58dad0(0x16f)](),_0x1dfed3[_0x58dad0(0x1d5)]))},_0x4453d6[_0x58dad0(0x138)](trace,_0x58dad0(0x183)+_0x10a165+'\x20is\x20triggered'),await this[_0x58dad0(0x153)](_0x37e7eb,_0x1dfed3,_0x4453d6[_0x58dad0(0x20f)],_0x159c71);}async[a41_0x24882e(0x15c)](_0x5df3ce,_0x723fba){const _0x1c2d80=a41_0x24882e,_0x2e2ea3={'ImXRO':function(_0x307aa6,_0x30ef26){return _0x307aa6===_0x30ef26;},'fglZu':_0x1c2d80(0x165),'jgRVw':_0x1c2d80(0x188),'rfrhF':_0x1c2d80(0x184),'iKemu':function(_0x30c938,_0x51f521){return _0x30c938(_0x51f521);},'Xzyso':_0x1c2d80(0x148),'dQoRW':_0x1c2d80(0x121),'euEhI':function(_0x27ffb2,_0xdede11){return _0x27ffb2(_0xdede11);},'iAzyj':function(_0xaeb545,_0x469cb1,_0x5a4e71){return _0xaeb545(_0x469cb1,_0x5a4e71);},'FWoUe':function(_0x19e987,_0x4bff15){return _0x19e987(_0x4bff15);},'nQSmg':_0x1c2d80(0x1fb),'VNRWS':function(_0x33d575,_0x1b8f07){return _0x33d575>_0x1b8f07;}},_0x2c66c2=this['getTestIdentifier'](_0x5df3ce),_0x4418f6=TestDetails['getTestUUID'](this[_0x1c2d80(0x16e)](_0x5df3ce,_0x723fba[_0x1c2d80(0x1b6)]));this[_0x1c2d80(0x18a)][_0x2c66c2]={...this[_0x1c2d80(0x18a)][_0x2c66c2]||{},'finishedAt':new Date()[_0x1c2d80(0x11a)]()},_0x2e2ea3[_0x1c2d80(0x124)](trace,_0x1c2d80(0x1e9)+_0x2c66c2);try{await this['sendTestRunEvent'](_0x5df3ce,_0x2e2ea3[_0x1c2d80(0x1d4)],_0x723fba);}catch(_0x534c71){_0x2e2ea3[_0x1c2d80(0x124)](debug,util[_0x1c2d80(0x192)](_0x2e2ea3[_0x1c2d80(0x19d)],_0x534c71[_0x1c2d80(0x1cc)]()));}try{_0x2e2ea3[_0x1c2d80(0x203)](debug,_0x1c2d80(0x1b4)+_0x4418f6),await _0x2e2ea3[_0x1c2d80(0x1b2)](sendTraceZip,_0x723fba,_0x4418f6);}catch(_0x299db9){_0x2e2ea3[_0x1c2d80(0x1e6)](debug,util[_0x1c2d80(0x192)](_0x2e2ea3[_0x1c2d80(0x154)],_0x299db9[_0x1c2d80(0x1cc)]()));}const _0x6621d4=[];_0x723fba['attachments']&&_0x723fba[_0x1c2d80(0x19b)][_0x1c2d80(0x162)](_0x18f309=>{const _0x56c968=_0x1c2d80;if(_0x2e2ea3[_0x56c968(0x17b)](_0x18f309[_0x56c968(0x1b5)],_0x2e2ea3[_0x56c968(0x170)])){if(!_0x18f309['path']||!fs[_0x56c968(0x166)](_0x18f309['path']))return;_0x6621d4[_0x56c968(0x1bb)]({'test_run_uuid':_0x4418f6,'timestamp':fs['statSync'](_0x18f309[_0x56c968(0x1dd)])[_0x56c968(0x187)],'kind':_0x2e2ea3['jgRVw'],'message':fs[_0x56c968(0x15b)](_0x18f309[_0x56c968(0x1dd)],{'encoding':_0x2e2ea3[_0x56c968(0x14d)]})});}}),_0x2e2ea3[_0x1c2d80(0x185)](_0x6621d4[_0x1c2d80(0x1e2)],0x0)&&await MyReporter[_0x1c2d80(0x176)](_0x6621d4);}async[a41_0x24882e(0x199)](){const _0x34aa36=a41_0x24882e;await RequestQueueHandler[_0x34aa36(0x13b)]()[_0x34aa36(0x15f)]();}async[a41_0x24882e(0x179)](_0xf5d600){const _0x56ccc9=a41_0x24882e,_0x5cc48d={'qECZp':function(_0x566a1e){return _0x566a1e();},'KOyUF':function(_0x414f25,_0x25bf08){return _0x414f25(_0x25bf08);}};await this[_0x56ccc9(0x199)]();try{process['env'][_0x56ccc9(0x1f0)]&&await _0x5cc48d[_0x56ccc9(0x198)](calculatePerformance);}catch(_0x21d9e3){_0x5cc48d['KOyUF'](debug,_0x56ccc9(0x12b)+_0x21d9e3[_0x56ccc9(0x1cc)]());}}static async[a41_0x24882e(0x1af)](_0x4898d7,_0x3d7ada){const _0x3a2af7=a41_0x24882e;_0x3d7ada[_0x3a2af7(0x18f)]=TestDetails[_0x3a2af7(0x1c1)](_0x4898d7),await this['reportLogs']([_0x3d7ada]);}static async[a41_0x24882e(0x176)](_0x269f55){const _0x5f4356=a41_0x24882e,_0x1658c0={};_0x1658c0[_0x5f4356(0x1c6)]='LogCreated';const _0x920799=_0x1658c0,_0x1abf5c={};_0x1abf5c[_0x5f4356(0x1e8)]=_0x920799[_0x5f4356(0x1c6)],_0x1abf5c[_0x5f4356(0x130)]=_0x269f55,await SessionHandler[_0x5f4356(0x123)](_0x1abf5c);}async[a41_0x24882e(0x153)](_0x2c0061,_0x436d1c,_0x432c7a,_0x479fec){const _0x3c2fc6=a41_0x24882e,_0x2d02f6={'yOdDw':'hook','UgXlz':_0x3c2fc6(0x1a9),'OCrnz':_0x3c2fc6(0x1b1),'zohVY':function(_0x3e54e0,_0x18bdf6){return _0x3e54e0>=_0x18bdf6;},'KMBhG':function(_0xe55497,_0x173e77){return _0xe55497===_0x173e77;},'cojTV':_0x3c2fc6(0x1f9),'ziOzv':function(_0x64c043,_0x45d5f5){return _0x64c043>_0x45d5f5;},'AXtLo':_0x3c2fc6(0x1c3),'IQzZx':function(_0xfc960a,_0x287b17){return _0xfc960a(_0x287b17);},'PqDwB':function(_0x35080d,_0x57141a,_0x53d1d4){return _0x35080d(_0x57141a,_0x53d1d4);},'MLyoo':_0x3c2fc6(0x127),'pNlQc':function(_0x3eb324,_0x15d631){return _0x3eb324===_0x15d631;},'wPNxX':'passed'},_0x5174b7=this[_0x3c2fc6(0x1d6)](_0x2c0061,_0x436d1c),_0x2aba2d=this['_tests'][_0x5174b7],_0x50ae45={'uuid':_0x2aba2d['uuid'],'type':_0x2d02f6[_0x3c2fc6(0x1d3)],'hook_type':this[_0x3c2fc6(0x190)](_0x436d1c[_0x3c2fc6(0x181)]),'name':_0x436d1c['title'],'scope':this[_0x3c2fc6(0x1ba)](_0x436d1c),'scopes':this[_0x3c2fc6(0x17c)](_0x2c0061),'body':{'lang':_0x2d02f6[_0x3c2fc6(0x164)],'code':null},'identifier':_0x5174b7,'file_name':path[_0x3c2fc6(0x11e)](process[_0x3c2fc6(0x1b7)](),_0x2c0061[_0x3c2fc6(0x128)][_0x3c2fc6(0x202)]),'location':path[_0x3c2fc6(0x11e)](process[_0x3c2fc6(0x1b7)](),_0x2c0061[_0x3c2fc6(0x128)]['file']),'result':_0x2d02f6[_0x3c2fc6(0x1f3)],'duration_in_ms':_0x2d02f6['zohVY'](_0x436d1c['duration'],0x0)?_0x436d1c[_0x3c2fc6(0x1d5)]:undefined,'vc_filepath':this[_0x3c2fc6(0x1fc)]&&_0x2c0061[_0x3c2fc6(0x128)]['file']?path[_0x3c2fc6(0x11e)](this[_0x3c2fc6(0x1fc)],_0x2c0061[_0x3c2fc6(0x128)][_0x3c2fc6(0x202)]):undefined,'started_at':_0x2aba2d[_0x3c2fc6(0x20c)],'finished_at':_0x2aba2d[_0x3c2fc6(0x1c8)],'framework':FRAMEWORKS[_0x3c2fc6(0x11c)]};if(_0x2d02f6[_0x3c2fc6(0x17e)](_0x432c7a,_0x2d02f6[_0x3c2fc6(0x109)])){const {steps:_0x34ad1b,logs:_0x4ece73}=this[_0x3c2fc6(0x205)](_0x436d1c[_0x3c2fc6(0x115)],_0x2aba2d[_0x3c2fc6(0x1d1)],_0x2d02f6[_0x3c2fc6(0x1d3)]);_0x4ece73&&_0x2d02f6['ziOzv'](_0x4ece73[_0x3c2fc6(0x1e2)],0x0)&&await MyReporter[_0x3c2fc6(0x176)](_0x4ece73);const _0x1f3294={};_0x1f3294[_0x3c2fc6(0x115)]=_0x34ad1b,_0x50ae45[_0x3c2fc6(0x1cf)]=_0x1f3294;if(_0x436d1c[_0x3c2fc6(0x1ff)]){_0x50ae45[_0x3c2fc6(0x1fd)]=_0x2d02f6[_0x3c2fc6(0x196)],_0x50ae45['failure_reason']=_0x2d02f6[_0x3c2fc6(0x20e)](removeAnsiColors,_0x436d1c[_0x3c2fc6(0x1ff)][_0x3c2fc6(0x111)]),_0x50ae45[_0x3c2fc6(0x131)]=_0x2d02f6[_0x3c2fc6(0x20e)](getFailureType,_0x436d1c[_0x3c2fc6(0x1ff)][_0x3c2fc6(0x111)]);const _0x502874=_0x2d02f6[_0x3c2fc6(0x1bf)](failureData,_0x436d1c[_0x3c2fc6(0x1ff)],_0x2d02f6[_0x3c2fc6(0x161)]);if(_0x502874&&_0x2d02f6[_0x3c2fc6(0x134)](_0x502874[_0x3c2fc6(0x1e2)],0x0)){const _0x5a833b={};_0x5a833b['backtrace']=[_0x50ae45[_0x3c2fc6(0x14f)]],_0x5a833b['expanded']=[],_0x502874['push'](_0x5a833b);}_0x50ae45['failure']=_0x502874;}else _0x50ae45[_0x3c2fc6(0x1fd)]=_0x2d02f6[_0x3c2fc6(0x1c9)];}const _0x58fe7a={};_0x58fe7a['event_type']=_0x432c7a,_0x58fe7a[_0x3c2fc6(0x1c7)]=_0x50ae45;const _0x5f3be2=_0x58fe7a;await SessionHandler[_0x3c2fc6(0x123)](_0x5f3be2);}[a41_0x24882e(0x205)](_0x15458d,_0x17f324,_0xbc1d27){const _0x36ac30=a41_0x24882e,_0x5e6d6b={'NixCs':function(_0x3d33c4,_0x26f4d4){return _0x3d33c4===_0x26f4d4;},'oEdCk':_0x36ac30(0x1f1),'AvxSg':function(_0x4d178b,_0x57cf4e){return _0x4d178b===_0x57cf4e;},'FDfOb':_0x36ac30(0x150),'YkULN':'Before\x20Hooks','RZtHT':_0x36ac30(0x1c2),'fdPJX':'test_run_uuid','xtKvi':_0x36ac30(0x1c0),'rjuvH':_0x36ac30(0x1df),'etktD':'failed','ADtiP':_0x36ac30(0x208),'kftez':function(_0x16afd6,_0x3f9955){return _0x16afd6(_0x3f9955);},'BhSQy':function(_0x41b8f0,_0x39eec8){return _0x41b8f0(_0x39eec8);},'CavYq':function(_0x1b949e){return _0x1b949e();},'tuYDJ':function(_0x91c776,_0x257765){return _0x91c776(_0x257765);},'uCYGM':function(_0x5eb641,_0x188a71,_0x4fd769){return _0x5eb641(_0x188a71,_0x4fd769);}},_0x1b2ff6=[],_0x321617=[],_0x49a49a=_0x15458d['filter'](_0x23ca0c=>{const _0xfae9f1=_0x36ac30;if(_0x5e6d6b[_0xfae9f1(0x173)](_0x23ca0c[_0xfae9f1(0x11b)],_0x5e6d6b[_0xfae9f1(0x1a0)])&&(_0x5e6d6b[_0xfae9f1(0x18d)](_0x23ca0c[_0xfae9f1(0x181)],_0x5e6d6b[_0xfae9f1(0x12e)])||_0x5e6d6b[_0xfae9f1(0x18d)](_0x23ca0c[_0xfae9f1(0x181)],_0x5e6d6b[_0xfae9f1(0x1fa)])))return![];return!![];}),_0x26cee5=(_0x36468b,_0x4ebc46=![])=>{const _0x812dac=_0x36ac30;if(_0x5e6d6b[_0x812dac(0x173)](_0x36468b[_0x812dac(0x115)]['length'],0x0)){const _0x293c34=_0x5e6d6b[_0x812dac(0x18d)](_0xbc1d27,_0x5e6d6b['RZtHT'])?_0x5e6d6b['fdPJX']:_0x5e6d6b[_0x812dac(0x15a)];_0x321617[_0x812dac(0x1bb)]({'kind':_0x5e6d6b['rjuvH'],[_0x293c34]:_0x17f324,'message':_0x36468b['title'],'timestamp':_0x36468b[_0x812dac(0x1da)][_0x812dac(0x11a)](),'level':_0x36468b['error']?_0x5e6d6b[_0x812dac(0x1ef)]:_0x5e6d6b[_0x812dac(0x186)],'duration':_0x36468b['duration'],'failure':_0x36468b['error']&&_0x36468b['error'][_0x812dac(0x111)]&&_0x5e6d6b['kftez'](removeAnsiColors,_0x36468b[_0x812dac(0x1ff)][_0x812dac(0x111)]),'failure_type':_0x5e6d6b['BhSQy'](getFailureType,_0x36468b[_0x812dac(0x1ff)]&&_0x36468b[_0x812dac(0x1ff)][_0x812dac(0x111)])});}else{!_0x4ebc46&&_0x1b2ff6[_0x812dac(0x1bb)]({'id':_0x5e6d6b['CavYq'](uuidv4),'text':_0x36468b['title'],'keyword':undefined,'started_at':_0x36468b['startTime']['toISOString'](),'duration':_0x36468b[_0x812dac(0x1d5)],'result':_0x36468b[_0x812dac(0x1ff)]?_0x5e6d6b[_0x812dac(0x1ef)]:_0x5e6d6b[_0x812dac(0x186)],'failure':_0x36468b[_0x812dac(0x1ff)]&&_0x36468b[_0x812dac(0x1ff)]['message']&&_0x5e6d6b[_0x812dac(0x204)](removeAnsiColors,_0x36468b[_0x812dac(0x1ff)][_0x812dac(0x111)]),'failure_type':_0x5e6d6b[_0x812dac(0x204)](getFailureType,_0x36468b[_0x812dac(0x1ff)]&&_0x36468b[_0x812dac(0x1ff)][_0x812dac(0x111)])});for(const _0x323fe0 of _0x36468b[_0x812dac(0x115)]){_0x5e6d6b[_0x812dac(0x1cb)](_0x26cee5,_0x323fe0,!![]);}}};for(const _0x57ac16 of _0x49a49a){_0x5e6d6b[_0x36ac30(0x1cb)](_0x26cee5,_0x57ac16,![]);}const _0xe4e622={};return _0xe4e622[_0x36ac30(0x115)]=_0x1b2ff6,_0xe4e622[_0x36ac30(0x130)]=_0x321617,_0xe4e622;}async[a41_0x24882e(0x1ae)](_0x552bde,_0x469bda,_0x29fae6){const _0x10da6c=a41_0x24882e,_0x487efd={'hejWE':function(_0x38ad67,_0x17a017){return _0x38ad67(_0x17a017);},'XIsyr':_0x10da6c(0x113),'oqzRh':_0x10da6c(0x1b9),'ptMjE':_0x10da6c(0x1c2),'gNuoc':_0x10da6c(0x1a9),'djlcE':_0x10da6c(0x1b1),'aFPPt':function(_0x4edf4c,_0x5ef832){return _0x4edf4c(_0x5ef832);},'lsPbI':function(_0x42c2ac,_0x4cf235,_0x273581,_0x171201,_0x82cdb8){return _0x42c2ac(_0x4cf235,_0x273581,_0x171201,_0x82cdb8);},'MwYhk':function(_0x46e12a,_0xb1ba8b){return _0x46e12a>_0xb1ba8b;},'hiadO':function(_0x31c9cc,_0x15b8ac){return _0x31c9cc-_0x15b8ac;},'gtYnX':function(_0x2e4695,_0x5107b5){return _0x2e4695===_0x5107b5;},'lhOyO':'TestRunFinished','AohsW':function(_0x4269f8,_0x53ec0d){return _0x4269f8===_0x53ec0d;},'XSOeA':'skipped','roLaY':_0x10da6c(0x208),'qzUcD':function(_0x33c15c,_0x66ef04){return _0x33c15c===_0x66ef04;},'FTSDX':function(_0x3f1100,_0x2abc61){return _0x3f1100===_0x2abc61;},'qLEgE':_0x10da6c(0x1c3),'DYTdi':function(_0x59a15e,_0x1bf858){return _0x59a15e===_0x1bf858;},'mTOoN':'timedOut','NjChS':function(_0x776f4e,_0xb780a1){return _0x776f4e===_0xb780a1;},'VydOb':_0x10da6c(0x172),'cQyYg':function(_0x2a1348,_0x1463c1){return _0x2a1348(_0x1463c1);},'uMMgv':function(_0x381897,_0x320aef,_0x3a5ce9){return _0x381897(_0x320aef,_0x3a5ce9);},'qKrnd':function(_0x3cd3d0,_0x1398cc){return _0x3cd3d0>_0x1398cc;},'NvoNb':'path','crJJf':function(_0xb0dc3,_0x45ff78){return _0xb0dc3(_0x45ff78);},'dDzET':_0x10da6c(0x137),'xdztO':_0x10da6c(0x17a),'mldIn':function(_0x25e25b,_0x5a2275){return _0x25e25b!==_0x5a2275;}},_0x1314a0=this[_0x10da6c(0x1e4)](_0x552bde),_0x26a6cf=this['getScope'](_0x552bde),_0x2010d3=this[_0x10da6c(0x18a)][_0x1314a0],_0x202c11=path[_0x10da6c(0x11e)](process[_0x10da6c(0x1b7)](),_0x552bde[_0x10da6c(0x128)]['file']);await this['configureGit']();const _0x2fc82d={'uuid':_0x2010d3[_0x10da6c(0x1d1)],'type':_0x487efd[_0x10da6c(0x1b8)],'name':_0x552bde[_0x10da6c(0x181)],'body':{'lang':_0x487efd[_0x10da6c(0x1a3)],'code':_0x552bde['fn'][_0x10da6c(0x1cc)]()},'scope':_0x26a6cf,'scopes':this[_0x10da6c(0x17c)](_0x552bde),'identifier':_0x1314a0,'file_name':_0x202c11,'location':_0x202c11,'result':_0x487efd[_0x10da6c(0x12c)],'duration_in_ms':_0x29fae6&&_0x29fae6[_0x10da6c(0x1d5)]?_0x29fae6[_0x10da6c(0x1d5)]:null,'vc_filepath':this[_0x10da6c(0x1fc)]&&_0x552bde[_0x10da6c(0x128)][_0x10da6c(0x202)]?path[_0x10da6c(0x11e)](this['_gitConfigPath'],_0x552bde[_0x10da6c(0x128)][_0x10da6c(0x202)]):undefined,'started_at':_0x2010d3['startedAt'],'finished_at':_0x2010d3['finishedAt'],'framework':FRAMEWORKS['PLAYWRIGHT'],'customRerunParam':{'rerun_name':this[_0x10da6c(0x151)](_0x552bde)},'tags':_0x487efd[_0x10da6c(0x1d7)](getTestTags,_0x552bde)};_0x487efd['lsPbI'](appendTesthubParams,_0x2fc82d,_0x469bda,_0x552bde,FRAMEWORKS[_0x10da6c(0x11c)]);_0x29fae6&&_0x487efd[_0x10da6c(0x158)](_0x29fae6[_0x10da6c(0x1b6)],0x0)&&(_0x2fc82d[_0x10da6c(0x120)]=TestDetails[_0x10da6c(0x1c1)](this[_0x10da6c(0x16e)](_0x552bde,_0x487efd[_0x10da6c(0x140)](_0x29fae6['retry'],0x1))));if(_0x487efd['gtYnX'](_0x469bda,_0x487efd[_0x10da6c(0x15d)])){_0x2fc82d[_0x10da6c(0x1fd)]=_0x29fae6[_0x10da6c(0x10f)];if(_0x487efd['AohsW'](_0x29fae6[_0x10da6c(0x10f)],_0x552bde[_0x10da6c(0x117)]))_0x2fc82d[_0x10da6c(0x1fd)]=_0x487efd[_0x10da6c(0x11d)](_0x29fae6[_0x10da6c(0x10f)],_0x487efd['XSOeA'])?_0x487efd['XSOeA']:_0x487efd[_0x10da6c(0x167)];else{(_0x487efd[_0x10da6c(0x20b)](_0x2fc82d[_0x10da6c(0x1fd)],_0x487efd['roLaY'])||_0x487efd['FTSDX'](_0x2fc82d[_0x10da6c(0x1fd)],_0x487efd['qLEgE'])||_0x487efd[_0x10da6c(0x112)](_0x2fc82d['result'],_0x487efd[_0x10da6c(0x1ca)]))&&(_0x2fc82d[_0x10da6c(0x1fd)]=_0x487efd[_0x10da6c(0x200)]);if(_0x487efd[_0x10da6c(0x1ed)](_0x29fae6[_0x10da6c(0x10f)],_0x487efd['roLaY'])&&_0x487efd[_0x10da6c(0x1d8)](_0x552bde[_0x10da6c(0x117)],_0x487efd['qLEgE'])){const _0x3a83af={};_0x3a83af[_0x10da6c(0x111)]=_0x487efd[_0x10da6c(0x201)],_0x3a83af[_0x10da6c(0x1f6)]=_0x487efd[_0x10da6c(0x201)],_0x29fae6[_0x10da6c(0x1ff)]=_0x3a83af,_0x29fae6[_0x10da6c(0x1a2)]=[_0x29fae6[_0x10da6c(0x1ff)]];}}const _0x2f9391=this['getTestRunIdentifier'](_0x552bde,_0x29fae6[_0x10da6c(0x1b6)]);_0x2fc82d[_0x10da6c(0x160)]=this[_0x10da6c(0x14c)][_0x2f9391];const {steps:_0x1fbbea,logs:_0x11906f}=this[_0x10da6c(0x205)](_0x29fae6[_0x10da6c(0x115)],_0x2010d3[_0x10da6c(0x1d1)],_0x487efd[_0x10da6c(0x1b8)]);await MyReporter[_0x10da6c(0x176)](_0x11906f);const _0x52a239={};_0x52a239['steps']=_0x1fbbea,_0x2fc82d[_0x10da6c(0x1cf)]=_0x52a239;if(_0x29fae6['error']){_0x2fc82d[_0x10da6c(0x14f)]=_0x487efd[_0x10da6c(0x1d7)](removeAnsiColors,_0x29fae6['error'][_0x10da6c(0x111)]),_0x2fc82d[_0x10da6c(0x131)]=_0x487efd[_0x10da6c(0x1cd)](getFailureType,_0x29fae6[_0x10da6c(0x1ff)]['message']);const _0x113cc5={};_0x113cc5[_0x10da6c(0x18f)]=_0x2010d3[_0x10da6c(0x1d1)];const {failureData:_0x34aa4a,logs:_0x46dfbb}=_0x487efd[_0x10da6c(0x1fe)](getFailureData,_0x29fae6['errors'],_0x113cc5);if(_0x34aa4a&&_0x487efd[_0x10da6c(0x1d8)](_0x34aa4a[_0x10da6c(0x1e2)],0x0)){const _0x4ed151={};_0x4ed151[_0x10da6c(0x1ee)]=[_0x2fc82d[_0x10da6c(0x14f)]],_0x4ed151[_0x10da6c(0x1eb)]=[],_0x34aa4a['push'](_0x4ed151);}_0x2fc82d['failure']=_0x34aa4a,_0x46dfbb&&_0x487efd['qKrnd'](_0x46dfbb[_0x10da6c(0x1e2)],0x0)&&await MyReporter['reportLogs'](_0x46dfbb);}}let _0x1fcdaf=_0x487efd[_0x10da6c(0x1fe)](findNestedKey,_0x29fae6,_0x487efd[_0x10da6c(0x1e3)]);if(_0x1fcdaf&&_0x487efd['crJJf'](validateFilePath,_0x1fcdaf))_0x487efd['crJJf'](debug,_0x10da6c(0x1c4)+_0x2010d3[_0x10da6c(0x1d1)]+_0x10da6c(0x1de)+_0x1fcdaf);else{const _0x1f473c=path[_0x10da6c(0x16d)](helper['homedir'](),_0x487efd[_0x10da6c(0x159)]);!fs[_0x10da6c(0x166)](_0x1f473c)&&fs[_0x10da6c(0x1e0)](_0x1f473c),fs[_0x10da6c(0x166)](path['join'](_0x1f473c,'trace_'+_0x2010d3['uuid']+_0x10da6c(0x20a)))&&(_0x1fcdaf=fs[_0x10da6c(0x15b)](path[_0x10da6c(0x16d)](_0x1f473c,_0x10da6c(0x149)+_0x2010d3[_0x10da6c(0x1d1)]+_0x10da6c(0x20a)),_0x487efd[_0x10da6c(0x182)]),_0x487efd[_0x10da6c(0x10c)](debug,_0x10da6c(0x1c4)+_0x2010d3[_0x10da6c(0x1d1)]+_0x10da6c(0x1de)+_0x1fcdaf));}const _0x3cea63={};_0x3cea63[_0x10da6c(0x1e8)]=_0x469bda,_0x3cea63['test_run']=_0x2fc82d;const _0x10123a=_0x3cea63;_0x1fcdaf&&_0x487efd['mldIn'](_0x1fcdaf,'')&&_0x487efd['qzUcD'](_0x469bda,_0x487efd[_0x10da6c(0x15d)])&&(!_0x10123a[_0x10da6c(0x130)]&&(_0x10123a[_0x10da6c(0x130)]=[]),_0x1fcdaf[_0x10da6c(0x1ce)]('\x0a')[_0x10da6c(0x156)](_0x5b75b7=>{const _0x1b610a=_0x10da6c;_0x5b75b7&&_0x487efd[_0x1b610a(0x10c)](validateFilePath,_0x5b75b7)&&_0x10123a[_0x1b610a(0x130)][_0x1b610a(0x1bb)]({'kind':_0x487efd[_0x1b610a(0x1a5)],'timestamp':new Date()[_0x1b610a(0x11a)](),'test_run_uuid':_0x2010d3[_0x1b610a(0x1d1)],'file_name':path[_0x1b610a(0x1aa)](_0x5b75b7),'file_size':fs['statSync'](_0x5b75b7)['size'],'attachment_type':_0x487efd[_0x1b610a(0x142)]});})),await SessionHandler[_0x10da6c(0x123)](_0x10123a);}[a41_0x24882e(0x151)](_0x45a0a0){const _0x243789=a41_0x24882e,_0x304d4a={};_0x304d4a[_0x243789(0x17d)]=function(_0x3c50b3,_0x5bec78){return _0x3c50b3===_0x5bec78;},_0x304d4a['nRIiX']=function(_0x4c828d,_0x700185){return _0x4c828d>_0x700185;},_0x304d4a['bGNCm']=function(_0x2df0a5,_0x196a1a){return _0x2df0a5+_0x196a1a;},_0x304d4a[_0x243789(0x163)]=function(_0x201fa7,_0x441a27){return _0x201fa7===_0x441a27;},_0x304d4a[_0x243789(0x169)]=function(_0x43aa4d,_0x357ba1){return _0x43aa4d>_0x357ba1;},_0x304d4a[_0x243789(0x177)]=function(_0x15234c,_0x3ff7ec){return _0x15234c+_0x3ff7ec;};const _0x24f4b5=_0x304d4a,_0x4f1e8b=_0x45a0a0[_0x243789(0x1ea)]()[_0x243789(0x162)](_0x19a9e6=>{const _0x3a3418=_0x243789;if(_0x45a0a0[_0x3a3418(0x195)]&&_0x24f4b5['duOOy'](_0x19a9e6,_0x45a0a0[_0x3a3418(0x195)][_0x3a3418(0x181)])&&_0x45a0a0[_0x3a3418(0x195)][_0x3a3418(0x19a)]&&_0x24f4b5[_0x3a3418(0x209)](_0x45a0a0[_0x3a3418(0x195)][_0x3a3418(0x19a)][_0x3a3418(0x1e2)],0x0))return _0x24f4b5[_0x3a3418(0x12a)](_0x24f4b5[_0x3a3418(0x12a)](_0x19a9e6,'\x20'),_0x45a0a0[_0x3a3418(0x195)]['_tags'][_0x3a3418(0x16d)]('\x20'));if(_0x24f4b5[_0x3a3418(0x163)](_0x19a9e6,_0x45a0a0['title'])&&_0x45a0a0[_0x3a3418(0x19a)]&&_0x24f4b5[_0x3a3418(0x169)](_0x45a0a0[_0x3a3418(0x19a)][_0x3a3418(0x1e2)],0x0))return _0x24f4b5[_0x3a3418(0x177)](_0x24f4b5[_0x3a3418(0x177)](_0x19a9e6,'\x20'),_0x45a0a0[_0x3a3418(0x19a)][_0x3a3418(0x16d)]('\x20'));return _0x19a9e6;})['join']('\x20');return _0x4f1e8b;}static async[a41_0x24882e(0x155)](_0x68af80,_0x5816cf){const _0x3d45d9=a41_0x24882e,_0x26fcb3={'GTgeX':function(_0x4cf33b,_0x2ac480){return _0x4cf33b(_0x2ac480);},'JcCqN':_0x3d45d9(0x12d)},_0x51f78c={'uuid':TestDetails[_0x3d45d9(0x1c1)](_0x68af80),'integrations':_0x5816cf},_0x305532={};_0x305532[_0x3d45d9(0x136)]=null,_0x26fcb3[_0x3d45d9(0x194)](debug,_0x3d45d9(0x178)+_0x68af80+',\x20'+util['inspect'](_0x5816cf,_0x305532));const _0x36047f={};_0x36047f['event_type']=_0x26fcb3[_0x3d45d9(0x16c)],_0x36047f[_0x3d45d9(0x17f)]=_0x51f78c,await SessionHandler[_0x3d45d9(0x123)](_0x36047f);}async[a41_0x24882e(0x13d)](){const _0x9cd2e9=a41_0x24882e,_0x21f890={'qNHIE':function(_0x52e080){return _0x52e080();}};if(this[_0x9cd2e9(0x1f4)])return;const _0x3187e3=await _0x21f890[_0x9cd2e9(0x1a6)](getGitMetaData);_0x3187e3&&(this['_gitConfigPath']=_0x3187e3[_0x9cd2e9(0x13a)]),this['_gitConfigured']=!![];}[a41_0x24882e(0x17c)](_0x3c8f75){const _0x77a653=a41_0x24882e,_0x2256d4={};_0x2256d4['xvKEx']=function(_0x3fee44,_0x4f2feb){return _0x3fee44!==_0x4f2feb;};const _0x62702a=_0x2256d4,_0xb4ac81=[];if(_0x3c8f75&&_0x3c8f75[_0x77a653(0x195)]){let _0x418c1c=_0x3c8f75[_0x77a653(0x195)];while(_0x418c1c&&_0x62702a[_0x77a653(0x108)](_0x418c1c[_0x77a653(0x181)],'')){_0xb4ac81[_0x77a653(0x1bb)](_0x418c1c[_0x77a653(0x181)]),_0x418c1c=_0x418c1c[_0x77a653(0x195)];}}return _0xb4ac81[_0x77a653(0x16b)]()['splice'](0x0,0x2),_0xb4ac81;}[a41_0x24882e(0x10d)](_0x212d52){const _0x571b5a=a41_0x24882e,_0x5b6c77={};_0x5b6c77['wbTzZ']=function(_0xd09597,_0x502654){return _0xd09597!==_0x502654;},_0x5b6c77[_0x571b5a(0x11f)]='hook',_0x5b6c77[_0x571b5a(0x141)]=function(_0xf74dd0,_0x3fa8cd){return _0xf74dd0===_0x3fa8cd;},_0x5b6c77[_0x571b5a(0x157)]=_0x571b5a(0x191),_0x5b6c77[_0x571b5a(0x1b3)]=_0x571b5a(0x207),_0x5b6c77[_0x571b5a(0x1d2)]='afterAll\x20hook',_0x5b6c77[_0x571b5a(0x1d9)]=_0x571b5a(0x20d);const _0x2c6484=_0x5b6c77;if(_0x2c6484[_0x571b5a(0x135)](_0x212d52['category'],_0x2c6484[_0x571b5a(0x11f)]))return![];if(_0x2c6484[_0x571b5a(0x141)]([_0x2c6484[_0x571b5a(0x157)],_0x2c6484[_0x571b5a(0x1b3)],_0x2c6484[_0x571b5a(0x1d2)],_0x2c6484[_0x571b5a(0x1d9)]][_0x571b5a(0x18b)](_0x212d52['title']),-0x1))return![];return!![];}[a41_0x24882e(0x1d6)](_0x11c9c0,_0x141a11){const _0x412b5c=a41_0x24882e,_0x290825=_0x141a11[_0x412b5c(0x14b)];if(_0x290825)return _0x290825;return _0x141a11[_0x412b5c(0x181)]+_0x412b5c(0x168)+this[_0x412b5c(0x1e4)](_0x11c9c0);}[a41_0x24882e(0x129)](_0x4bf3e8,_0x2efcbd){const _0x43b28b=a41_0x24882e,_0x43ec45={'kQcBs':function(_0xf2733a){return _0xf2733a();}};let _0x419d3d=_0x2efcbd[_0x43b28b(0x181)]+_0x43b28b(0x168)+this[_0x43b28b(0x1e4)](_0x4bf3e8);return this[_0x43b28b(0x18a)][_0x419d3d]&&(_0x419d3d=_0x419d3d+'\x20-\x20'+_0x43ec45['kQcBs'](uuidv4)),_0x2efcbd[_0x43b28b(0x14b)]=_0x419d3d,_0x419d3d;}[a41_0x24882e(0x1e4)]=_0x143302=>{const _0x3ab095=a41_0x24882e,_0x12356d={};_0x12356d[_0x3ab095(0x174)]=function(_0x2f0b33,_0xb527e9){return _0x2f0b33+_0xb527e9;},_0x12356d['YpeHl']=function(_0x561d33,_0x45643f){return _0x561d33+_0x45643f;};const _0x22396b=_0x12356d;return _0x22396b[_0x3ab095(0x174)](_0x22396b[_0x3ab095(0x1f8)](_0x143302['_projectId'],'-'),_0x143302['id']);};[a41_0x24882e(0x16e)]=(_0x38e733,_0x551fc0)=>{const _0x39a8b6=a41_0x24882e,_0x4d4187={};_0x4d4187['JiQUX']=function(_0x389f52,_0x3e1826){return _0x389f52+_0x3e1826;},_0x4d4187[_0x39a8b6(0x133)]=function(_0x5c289a,_0x5f33a1){return _0x5c289a+_0x5f33a1;};const _0x1236b3=_0x4d4187;return _0x1236b3[_0x39a8b6(0x1bc)](_0x1236b3[_0x39a8b6(0x133)](this[_0x39a8b6(0x1e4)](_0x38e733),'-'),_0x551fc0);};[a41_0x24882e(0x190)]=_0xb2b580=>{const _0x4ec6fd=a41_0x24882e,_0x17e7c0={};_0x17e7c0[_0x4ec6fd(0x132)]=_0x4ec6fd(0x191),_0x17e7c0[_0x4ec6fd(0x18c)]=_0x4ec6fd(0x143),_0x17e7c0[_0x4ec6fd(0x1ad)]=_0x4ec6fd(0x207),_0x17e7c0[_0x4ec6fd(0x206)]='BEFORE_ALL',_0x17e7c0[_0x4ec6fd(0x118)]=_0x4ec6fd(0x20d),_0x17e7c0[_0x4ec6fd(0x1a8)]='AFTER_EACH',_0x17e7c0[_0x4ec6fd(0x146)]=_0x4ec6fd(0x10e),_0x17e7c0[_0x4ec6fd(0x119)]=_0x4ec6fd(0x1db),_0x17e7c0['zgZMt']=_0x4ec6fd(0x126);const _0x2f6904=_0x17e7c0;if(_0xb2b580['startsWith'](_0x2f6904['mIAcn']))return _0x2f6904[_0x4ec6fd(0x18c)];else{if(_0xb2b580[_0x4ec6fd(0x1e5)](_0x2f6904[_0x4ec6fd(0x1ad)]))return _0x2f6904[_0x4ec6fd(0x206)];else{if(_0xb2b580[_0x4ec6fd(0x1e5)](_0x2f6904['VPTCd']))return _0x2f6904[_0x4ec6fd(0x1a8)];else{if(_0xb2b580['startsWith'](_0x2f6904[_0x4ec6fd(0x146)]))return _0x2f6904[_0x4ec6fd(0x119)];}}}return _0x2f6904[_0x4ec6fd(0x1dc)];};[a41_0x24882e(0x1ba)]=_0x4f88b4=>{const _0x573f01=a41_0x24882e,_0x329678={};_0x329678[_0x573f01(0x110)]=function(_0x3aeb0f,_0x247555){return _0x3aeb0f===_0x247555;},_0x329678[_0x573f01(0x14e)]=_0x573f01(0x13f);const _0x37ff58=_0x329678;let _0x526a34=_0x4f88b4['parent'];return _0x37ff58[_0x573f01(0x110)](typeof _0x4f88b4[_0x573f01(0x195)],_0x37ff58[_0x573f01(0x14e)])&&(_0x526a34=_0x526a34[_0x573f01(0x181)]),_0x526a34+'\x20-\x20'+_0x4f88b4['title'];};['printsToStdio'](){return![];}}module[a41_0x24882e(0x175)]=o11yClassErrorHandler(MyReporter,[a41_0x24882e(0x1a1),a41_0x24882e(0x199),a41_0x24882e(0x1bd),a41_0x24882e(0x15c),a41_0x24882e(0x125),a41_0x24882e(0x10a),a41_0x24882e(0x155)],a41_0x24882e(0x114));
@@ -1 +1 @@
1
- function a42_0x2fcb(){const _0x3db3c6=['getStoreDirName','bBbwO','setTestDetails','../../../helpers/helper','564FCRkJi','_test','traceZipPaths','dirPath','BS_TESTOPS_BUILD_HASHED_ID','setup','szLMe','existsSync','BDywf','join','91121VnWIrj','296714Tzhyoe','Error\x20reading\x20trace\x20file\x20paths:\x20%s','ThcfW','608646OkjhcA','MKkKU','homedir','string','PWXVb','__projectId','error','addTraceFilePath','cVLwy','4397016XdYUeU','_traceZipPaths.json','CGzeA','uuid','../../../helpers/logger','pMQzr','getTestUUID','path','16429lAnvXi','Ewykq','rmSync','traceZipDir','retry','mkdirSync','getTraceZipDir','fHyEb','getTestIdFromTestInfo','4|3|0|2|1','appendToTracePaths','stringify','pid','appendFileSync','getProjectIdFromTestInfo','winstonLogger','cVUhJ','toString','_projectId','shutdown','getFilePath','writeFileSync','759650CwmoLf','.browserstack','../../../helpers/test-observability/constants','sIRao','split','Error\x20writing\x20trace\x20file:\x20','675264HdVAjZ','zFmkg','tests','kdSDV','yWlBo','pzVwK','LsXRj','jAQpV','testId','getAccessibilityPlatformValidation','format','env','setAccessibilityPlatformValidation','getStoreDirPath','.json','filePath','cwd','readFileSync','pxJxv','message','forEach','_platformDetails.json','lRHKi','recursive','getTraceFilePaths','some','parse','push','EviQx','DCKSx','getTestDetails','getTestRunIdFromTestInfo','UIOlR'];a42_0x2fcb=function(){return _0x3db3c6;};return a42_0x2fcb();}const a42_0x597fd4=a42_0x327a;(function(_0x33ce93,_0x417b33){const _0x21a770=a42_0x327a,_0x297b3a=_0x33ce93();while(!![]){try{const _0x5c0f89=parseInt(_0x21a770(0x17d))/0x1+parseInt(_0x21a770(0x17e))/0x2+parseInt(_0x21a770(0x181))/0x3+parseInt(_0x21a770(0x14e))/0x4+-parseInt(_0x21a770(0x148))/0x5+parseInt(_0x21a770(0x173))/0x6*(parseInt(_0x21a770(0x192))/0x7)+-parseInt(_0x21a770(0x18a))/0x8;if(_0x5c0f89===_0x417b33)break;else _0x297b3a['push'](_0x297b3a['shift']());}catch(_0x11966b){_0x297b3a['push'](_0x297b3a['shift']());}}}(a42_0x2fcb,0x1fcbd));const fs=require('fs'),path=require(a42_0x597fd4(0x191)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a42_0x597fd4(0x14a)),{nestedKeyValue}=require('../../../helpers/helper'),logger=require(a42_0x597fd4(0x18e))[a42_0x597fd4(0x141)],util=require('util'),helper=require(a42_0x597fd4(0x172));function a42_0x327a(_0x5b17e6,_0x60f19a){const _0x2fcb1d=a42_0x2fcb();return a42_0x327a=function(_0x327af4,_0x37b8ac){_0x327af4=_0x327af4-0x13a;let _0x253bd5=_0x2fcb1d[_0x327af4];return _0x253bd5;},a42_0x327a(_0x5b17e6,_0x60f19a);}class TestDetails{static [a42_0x597fd4(0x150)]={};static [a42_0x597fd4(0x176)]=path[a42_0x597fd4(0x17c)](process[a42_0x597fd4(0x15e)](),TestDetails[a42_0x597fd4(0x16f)]());static [a42_0x597fd4(0x195)]=path[a42_0x597fd4(0x17c)](TestDetails[a42_0x597fd4(0x176)],a42_0x597fd4(0x175));static[a42_0x597fd4(0x178)](){const _0x5e2aa9=a42_0x597fd4,_0x2947ef={};_0x2947ef[_0x5e2aa9(0x182)]=_0x5e2aa9(0x13b),_0x2947ef[_0x5e2aa9(0x154)]=_0x5e2aa9(0x175);const _0x21f4fe=_0x2947ef,_0xe0b8d5=_0x21f4fe[_0x5e2aa9(0x182)][_0x5e2aa9(0x14c)]('|');let _0x513092=0x0;while(!![]){switch(_0xe0b8d5[_0x513092++]){case'0':this[_0x5e2aa9(0x145)]();continue;case'1':const _0x3244f8={};_0x3244f8[_0x5e2aa9(0x165)]=!![],fs[_0x5e2aa9(0x197)](this[_0x5e2aa9(0x195)],_0x3244f8);continue;case'2':const _0x44b1d9={};_0x44b1d9[_0x5e2aa9(0x165)]=!![],fs[_0x5e2aa9(0x197)](this[_0x5e2aa9(0x176)],_0x44b1d9);continue;case'3':this[_0x5e2aa9(0x195)]=path[_0x5e2aa9(0x17c)](this['dirPath'],_0x21f4fe[_0x5e2aa9(0x154)]);continue;case'4':this[_0x5e2aa9(0x176)]=path['join'](process[_0x5e2aa9(0x15e)](),TestDetails[_0x5e2aa9(0x16f)]());continue;}break;}}static[a42_0x597fd4(0x16f)](){const _0x3052a4=a42_0x597fd4,_0x1b17fa={};_0x1b17fa['pxJxv']=function(_0x20b7e8,_0x27e02d){return _0x20b7e8+_0x27e02d;};const _0x211b07=_0x1b17fa;return _0x211b07[_0x3052a4(0x160)](_0x211b07[_0x3052a4(0x160)](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x3052a4(0x177)]);}static[a42_0x597fd4(0x15b)](){const _0x1f9a24=a42_0x597fd4,_0x510162={};_0x510162['EviQx']=function(_0x172ddc,_0xd1b2f7){return _0x172ddc+_0xd1b2f7;},_0x510162[_0x1f9a24(0x164)]='default';const _0x2f8a05=_0x510162;return path['join'](process[_0x1f9a24(0x15e)](),_0x2f8a05['EviQx'](_0x2f8a05[_0x1f9a24(0x16a)](TEMP_STORE_DIR_NAME,'-'),process[_0x1f9a24(0x159)][_0x1f9a24(0x177)]||_0x2f8a05[_0x1f9a24(0x164)]));}static[a42_0x597fd4(0x198)](){const _0x77740c=a42_0x597fd4,_0x1aafa={};_0x1aafa[_0x77740c(0x155)]=_0x77740c(0x175);const _0xb0a3bd=_0x1aafa;return path['join'](this['getStoreDirPath'](),_0xb0a3bd[_0x77740c(0x155)]);}static[a42_0x597fd4(0x146)](_0x1b696e){const _0x238aa5=a42_0x597fd4,_0x434412={};_0x434412[_0x238aa5(0x16b)]=function(_0x4a481e,_0x1c675d){return _0x4a481e+_0x1c675d;},_0x434412[_0x238aa5(0x142)]=_0x238aa5(0x15c);const _0x32bf49=_0x434412;return path[_0x238aa5(0x17c)](this['dirPath'],_0x32bf49[_0x238aa5(0x16b)](_0x1b696e,_0x32bf49['cVUhJ']));}static[a42_0x597fd4(0x16d)](_0x46b4ea){const _0x2bb4fa=a42_0x597fd4,_0x439145={};_0x439145['kdSDV']=function(_0x3d0887,_0x42d7e9){return _0x3d0887+_0x42d7e9;},_0x439145[_0x2bb4fa(0x153)]=function(_0x404e9f,_0x4be3b6){return _0x404e9f+_0x4be3b6;};const _0x344816=_0x439145;return _0x344816['kdSDV'](_0x344816[_0x2bb4fa(0x151)](_0x344816[_0x2bb4fa(0x151)](_0x344816[_0x2bb4fa(0x153)](this['getProjectIdFromTestInfo'](_0x46b4ea),'-'),this[_0x2bb4fa(0x13a)](_0x46b4ea)),'-'),_0x46b4ea[_0x2bb4fa(0x196)]);}static[a42_0x597fd4(0x140)](_0x3ce7ea){const _0x20a32a=a42_0x597fd4,_0x30cc3b={'ByEdq':function(_0x2a76b9,_0x12df37,_0x54ae26){return _0x2a76b9(_0x12df37,_0x54ae26);},'fHyEb':_0x20a32a(0x174),'pMQzr':_0x20a32a(0x144),'cVLwy':function(_0x211424,_0x4a9353,_0x3aac59){return _0x211424(_0x4a9353,_0x3aac59);},'HfNcP':'project','ThcfW':_0x20a32a(0x186)};return _0x30cc3b['ByEdq'](nestedKeyValue,_0x3ce7ea,[_0x30cc3b[_0x20a32a(0x199)],_0x30cc3b[_0x20a32a(0x18f)]])||_0x30cc3b[_0x20a32a(0x189)](nestedKeyValue,_0x3ce7ea,[_0x30cc3b['HfNcP'],_0x30cc3b[_0x20a32a(0x180)]]);}static['getTestIdFromTestInfo'](_0x34b1fd){const _0x29c9ab=a42_0x597fd4,_0x24b1ce={'zFmkg':function(_0x341448,_0x5d2733,_0xd6e24c){return _0x341448(_0x5d2733,_0xd6e24c);},'CGzeA':_0x29c9ab(0x174)};return _0x24b1ce[_0x29c9ab(0x14f)](nestedKeyValue,_0x34b1fd,[_0x24b1ce[_0x29c9ab(0x18c)],'id'])||_0x34b1fd[_0x29c9ab(0x156)];}static[a42_0x597fd4(0x190)](_0x50be52){const _0x23acd7=a42_0x597fd4,_0xadf9e7={'bBbwO':function(_0x36710a,_0x43fc2c){return _0x36710a===_0x43fc2c;},'UIOlR':_0x23acd7(0x184),'sIRao':function(_0x2e87d8){return _0x2e87d8();}};if(this[_0x23acd7(0x150)][_0x50be52]&&_0xadf9e7[_0x23acd7(0x170)](typeof this[_0x23acd7(0x150)][_0x50be52][_0x23acd7(0x18d)],_0xadf9e7[_0x23acd7(0x16e)]))return this[_0x23acd7(0x150)][_0x50be52][_0x23acd7(0x18d)];const _0x12a9c8=this['getFilePath'](_0x50be52);if(_0x12a9c8&&fs[_0x23acd7(0x17a)](_0x12a9c8)){const _0x44c54=JSON[_0x23acd7(0x168)](fs[_0x23acd7(0x15f)](_0x12a9c8)[_0x23acd7(0x143)]());return this[_0x23acd7(0x150)][_0x50be52]=_0x44c54,this['tests'][_0x50be52]['uuid'];}return this[_0x23acd7(0x150)][_0x50be52]={'uuid':_0xadf9e7[_0x23acd7(0x14b)](uuidv4)},fs[_0x23acd7(0x147)](_0x12a9c8,JSON[_0x23acd7(0x13d)](this[_0x23acd7(0x150)][_0x50be52])),this['tests'][_0x50be52][_0x23acd7(0x18d)];}static[a42_0x597fd4(0x157)](_0x153382){const _0x34b337=a42_0x597fd4,_0x1ebb7f=path[_0x34b337(0x17c)](this['dirPath'],_0x153382+'_platformDetails.json');if(_0x1ebb7f&&fs[_0x34b337(0x17a)](_0x1ebb7f))return fs[_0x34b337(0x15f)](_0x1ebb7f)[_0x34b337(0x143)]();}static[a42_0x597fd4(0x15a)](_0x39f824,_0x3fe260){const _0x584246=a42_0x597fd4,_0xf4a07d=path[_0x584246(0x17c)](this[_0x584246(0x176)],_0x3fe260+_0x584246(0x163));fs['writeFileSync'](_0xf4a07d,_0x39f824['toString']());}static[a42_0x597fd4(0x145)](){const _0x59f111=a42_0x597fd4,_0x1c9bbe={};_0x1c9bbe['recursive']=!![],_0x1c9bbe['force']=!![],fs[_0x59f111(0x194)](this[_0x59f111(0x176)],_0x1c9bbe);}static[a42_0x597fd4(0x16c)](_0x315e9f){const _0x1e0d6c=a42_0x597fd4;if(this['tests'][_0x315e9f])return this[_0x1e0d6c(0x150)][_0x315e9f];const _0x1f36e0=this['getFilePath'](_0x315e9f);if(_0x1f36e0&&fs[_0x1e0d6c(0x17a)](_0x1f36e0)){const _0x314ef4=JSON[_0x1e0d6c(0x168)](fs[_0x1e0d6c(0x15f)](_0x1f36e0)[_0x1e0d6c(0x143)]());return this[_0x1e0d6c(0x150)][_0x315e9f]=_0x314ef4,_0x314ef4;}return{};}static[a42_0x597fd4(0x171)](_0x2ab456,_0x192208){const _0x3c4a7f=a42_0x597fd4,_0x4261ae=this['getFilePath'](_0x2ab456);if(_0x4261ae&&fs[_0x3c4a7f(0x17a)](_0x4261ae)){const _0x1cd81b=JSON[_0x3c4a7f(0x168)](fs['readFileSync'](_0x4261ae)['toString']()),_0x423246={..._0x1cd81b,..._0x192208};this[_0x3c4a7f(0x150)][_0x2ab456]=_0x423246;}else this[_0x3c4a7f(0x150)][_0x2ab456]=_0x192208;fs[_0x3c4a7f(0x147)](_0x4261ae,this[_0x3c4a7f(0x150)][_0x2ab456]);}static[a42_0x597fd4(0x188)](_0x144103){const _0x551451=a42_0x597fd4,_0xe85d17={};_0xe85d17['Ewykq']='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x35316f=_0xe85d17;try{const _0x2ffa2e=process[_0x551451(0x13e)],_0x2511fd=path[_0x551451(0x17c)](TestDetails['getTraceZipDir'](),_0x2ffa2e+_0x551451(0x18b));let _0x1db522=[];_0x2511fd&&fs[_0x551451(0x17a)](_0x2511fd)&&(_0x1db522=JSON[_0x551451(0x168)](fs['readFileSync'](_0x2511fd)[_0x551451(0x143)]())),!_0x1db522[_0x551451(0x167)](_0x474fa9=>_0x474fa9[_0x551451(0x15d)]===_0x144103[_0x551451(0x15d)])&&(_0x1db522[_0x551451(0x169)](_0x144103),fs['writeFileSync'](_0x2511fd,JSON[_0x551451(0x13d)](_0x1db522)));}catch(_0x25d29b){logger[_0x551451(0x187)](_0x35316f[_0x551451(0x193)],_0x25d29b);}}static[a42_0x597fd4(0x166)](){const _0x12d386=a42_0x597fd4,_0x7e5519={};_0x7e5519[_0x12d386(0x185)]=_0x12d386(0x18b),_0x7e5519[_0x12d386(0x17b)]=_0x12d386(0x17f);const _0x9355fb=_0x7e5519,_0xd183e6=[];try{const _0x529529=TestDetails[_0x12d386(0x198)]();if(_0x529529&&!fs[_0x12d386(0x17a)](_0x529529))return _0xd183e6;const _0x233042=fs['readdirSync'](_0x529529);_0x233042['forEach'](_0x199b97=>{const _0x220520=_0x12d386;if(_0x199b97&&_0x199b97['endsWith'](_0x9355fb[_0x220520(0x185)])){const _0x13ed5f=JSON[_0x220520(0x168)](fs['readFileSync'](path[_0x220520(0x17c)](_0x529529,_0x199b97))[_0x220520(0x143)]());_0xd183e6[_0x220520(0x169)](..._0x13ed5f);}});}catch(_0x460a44){logger[_0x12d386(0x187)](util[_0x12d386(0x158)](_0x9355fb[_0x12d386(0x17b)],_0x460a44));}const _0x4a9977={};return _0xd183e6[_0x12d386(0x162)](_0x5de22b=>{const _0x338f5b=_0x12d386;_0x4a9977[_0x5de22b[_0x338f5b(0x15d)]]=_0x5de22b;}),Object['values'](_0x4a9977);}static[a42_0x597fd4(0x13c)](_0x30c432,_0x4d3714){const _0x16d742=a42_0x597fd4,_0x5ec5eb={};_0x5ec5eb[_0x16d742(0x152)]=_0x16d742(0x149),_0x5ec5eb[_0x16d742(0x179)]='utf8';const _0xf7be03=_0x5ec5eb;try{const _0x417c6e=path[_0x16d742(0x17c)](helper[_0x16d742(0x183)](),_0xf7be03[_0x16d742(0x152)]);if(!fs[_0x16d742(0x17a)](_0x417c6e)){const _0x55c354={};_0x55c354[_0x16d742(0x165)]=!![],fs['mkdirSync'](_0x417c6e,_0x55c354);}fs[_0x16d742(0x13f)](path[_0x16d742(0x17c)](_0x417c6e,'trace_'+_0x4d3714+'.txt'),_0x30c432+'\x0a',_0xf7be03[_0x16d742(0x179)]);}catch(_0x3d33be){console[_0x16d742(0x187)](_0x16d742(0x14d)+_0x3d33be[_0x16d742(0x161)]);}}}module['exports']=TestDetails;
1
+ const a42_0x42700a=a42_0x33e4;(function(_0x25344c,_0x1f370d){const _0x5933bf=a42_0x33e4,_0x2a54ab=_0x25344c();while(!![]){try{const _0x58e59c=-parseInt(_0x5933bf(0x185))/0x1+-parseInt(_0x5933bf(0x177))/0x2*(parseInt(_0x5933bf(0x1bc))/0x3)+parseInt(_0x5933bf(0x16c))/0x4*(parseInt(_0x5933bf(0x17f))/0x5)+-parseInt(_0x5933bf(0x198))/0x6+parseInt(_0x5933bf(0x1b4))/0x7+-parseInt(_0x5933bf(0x166))/0x8+parseInt(_0x5933bf(0x192))/0x9;if(_0x58e59c===_0x1f370d)break;else _0x2a54ab['push'](_0x2a54ab['shift']());}catch(_0x2bb09a){_0x2a54ab['push'](_0x2a54ab['shift']());}}}(a42_0x16ed,0x5ebc6));function a42_0x16ed(){const _0x54f273=['xlpWm','qvpFH','xVmyL','traceZipPaths','27BXRHKK','message','getStoreDirName','getTestRunIdFromTestInfo','uuid','error','SiZwY','3939352jxZHSn','appendFileSync','parse','writeFileSync','arrDo','string','4CwHTsr','PSwYh','env','push','readFileSync','rmSync','setup','path','../../../helpers/helper','cwd','FIsvj','2818BcyHSY','project','NEWJL','getStoreDirPath','tests','recursive','setTestDetails','existsSync','3105325QdbxCf','stringify','filePath','qmSmf','BS_TESTOPS_BUILD_HASHED_ID','NIQzO','487542iuwuGT','util','zfqYS','dUFwH','Error\x20handling\x20trace\x20file\x20paths:\x20','readdirSync','forEach','_test','getProjectIdFromTestInfo','winstonLogger','join','_platformDetails.json','toString','8773191knWuZv','utf8','RSrnF','.txt','GPFrB','getTestIdFromTestInfo','4651716VqxOUU','Error\x20reading\x20trace\x20file\x20paths:\x20%s','Error\x20writing\x20trace\x20file:\x20','getFilePath','retry','testId','default','dirPath','traceZipDir','kGJKB','.json','split','getAccessibilityPlatformValidation','_projectId','appendToTracePaths','FMdgP','IGhzW','mkdirSync','HNGJq','vRkCV','hgLVt','TpDJz','getTraceFilePaths','pid','../../../helpers/test-observability/constants','Ktnwq','../../../helpers/logger','_traceZipPaths.json','3920714kYyyMB','getTraceZipDir','values','trace_'];a42_0x16ed=function(){return _0x54f273;};return a42_0x16ed();}const fs=require('fs'),path=require(a42_0x42700a(0x173)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a42_0x42700a(0x1b0)),{nestedKeyValue}=require(a42_0x42700a(0x174)),logger=require(a42_0x42700a(0x1b2))[a42_0x42700a(0x18e)],util=require(a42_0x42700a(0x186)),helper=require('../../../helpers/helper');function a42_0x33e4(_0x253dc2,_0x5dee4b){const _0x16edd9=a42_0x16ed();return a42_0x33e4=function(_0x33e4ff,_0x179e67){_0x33e4ff=_0x33e4ff-0x163;let _0x519a20=_0x16edd9[_0x33e4ff];return _0x519a20;},a42_0x33e4(_0x253dc2,_0x5dee4b);}class TestDetails{static [a42_0x42700a(0x17b)]={};static ['dirPath']=path[a42_0x42700a(0x18f)](process[a42_0x42700a(0x175)](),TestDetails[a42_0x42700a(0x1be)]());static [a42_0x42700a(0x1a0)]=path['join'](TestDetails[a42_0x42700a(0x19f)],a42_0x42700a(0x1bb));static[a42_0x42700a(0x172)](){const _0x2cdcda=a42_0x42700a,_0x44bb30={};_0x44bb30['PSwYh']='3|1|4|2|0',_0x44bb30['Ktnwq']=_0x2cdcda(0x1bb);const _0x4f4ecb=_0x44bb30,_0x4b4889=_0x4f4ecb[_0x2cdcda(0x16d)][_0x2cdcda(0x1a3)]('|');let _0x3b8042=0x0;while(!![]){switch(_0x4b4889[_0x3b8042++]){case'0':const _0x2bdd43={};_0x2bdd43['recursive']=!![],fs['mkdirSync'](this['traceZipDir'],_0x2bdd43);continue;case'1':this[_0x2cdcda(0x1a0)]=path[_0x2cdcda(0x18f)](this[_0x2cdcda(0x19f)],_0x4f4ecb[_0x2cdcda(0x1b1)]);continue;case'2':const _0x26c9ed={};_0x26c9ed[_0x2cdcda(0x17c)]=!![],fs[_0x2cdcda(0x1a9)](this[_0x2cdcda(0x19f)],_0x26c9ed);continue;case'3':this[_0x2cdcda(0x19f)]=path[_0x2cdcda(0x18f)](process[_0x2cdcda(0x175)](),TestDetails[_0x2cdcda(0x1be)]());continue;case'4':this['shutdown']();continue;}break;}}static[a42_0x42700a(0x1be)](){const _0x52423d=a42_0x42700a,_0x335a5b={};_0x335a5b[_0x52423d(0x179)]=function(_0x58a40f,_0x13f55d){return _0x58a40f+_0x13f55d;},_0x335a5b[_0x52423d(0x1a1)]=function(_0x218e04,_0x14ae07){return _0x218e04+_0x14ae07;};const _0x21c4a6=_0x335a5b;return _0x21c4a6['NEWJL'](_0x21c4a6[_0x52423d(0x1a1)](TEMP_STORE_DIR_NAME,'-'),process[_0x52423d(0x16e)]['BS_TESTOPS_BUILD_HASHED_ID']);}static[a42_0x42700a(0x17a)](){const _0x489fd0=a42_0x42700a,_0x52b406={};_0x52b406['vRkCV']=function(_0x54b46b,_0x3e45d4){return _0x54b46b+_0x3e45d4;},_0x52b406[_0x489fd0(0x194)]=function(_0x4f3629,_0x1e8be9){return _0x4f3629+_0x1e8be9;},_0x52b406[_0x489fd0(0x184)]=_0x489fd0(0x19e);const _0x1cd075=_0x52b406;return path['join'](process[_0x489fd0(0x175)](),_0x1cd075[_0x489fd0(0x1ab)](_0x1cd075[_0x489fd0(0x194)](TEMP_STORE_DIR_NAME,'-'),process[_0x489fd0(0x16e)][_0x489fd0(0x183)]||_0x1cd075[_0x489fd0(0x184)]));}static[a42_0x42700a(0x1b5)](){const _0x5cb3be=a42_0x42700a,_0x42652a={};_0x42652a[_0x5cb3be(0x188)]=_0x5cb3be(0x1bb);const _0x6c1e08=_0x42652a;return path[_0x5cb3be(0x18f)](this[_0x5cb3be(0x17a)](),_0x6c1e08[_0x5cb3be(0x188)]);}static[a42_0x42700a(0x19b)](_0x14fc61){const _0x919fef=a42_0x42700a,_0x402598={};_0x402598[_0x919fef(0x16a)]=function(_0xa5c500,_0x30351a){return _0xa5c500+_0x30351a;},_0x402598['xlpWm']=_0x919fef(0x1a2);const _0x48de4e=_0x402598;return path['join'](this['dirPath'],_0x48de4e[_0x919fef(0x16a)](_0x14fc61,_0x48de4e[_0x919fef(0x1b8)]));}static[a42_0x42700a(0x1bf)](_0x4ad98b){const _0xd70179=a42_0x42700a,_0x12b58e={};_0x12b58e[_0xd70179(0x165)]=function(_0x285bab,_0x11591c){return _0x285bab+_0x11591c;},_0x12b58e[_0xd70179(0x176)]=function(_0x52bc25,_0x5b1446){return _0x52bc25+_0x5b1446;};const _0x447f63=_0x12b58e;return _0x447f63[_0xd70179(0x165)](_0x447f63[_0xd70179(0x165)](_0x447f63[_0xd70179(0x165)](_0x447f63[_0xd70179(0x176)](this['getProjectIdFromTestInfo'](_0x4ad98b),'-'),this[_0xd70179(0x197)](_0x4ad98b)),'-'),_0x4ad98b[_0xd70179(0x19c)]);}static[a42_0x42700a(0x18d)](_0x156c38){const _0x2c031c=a42_0x42700a,_0x2b6647={'cvywS':function(_0x49703e,_0xe008fb,_0xc2a3eb){return _0x49703e(_0xe008fb,_0xc2a3eb);},'qmSmf':_0x2c031c(0x18c),'zFaYL':_0x2c031c(0x1a5),'HNGJq':function(_0x5640ea,_0x527c18,_0x27a1b6){return _0x5640ea(_0x527c18,_0x27a1b6);},'YBoQr':_0x2c031c(0x178),'xVmyL':'__projectId'};return _0x2b6647['cvywS'](nestedKeyValue,_0x156c38,[_0x2b6647[_0x2c031c(0x182)],_0x2b6647['zFaYL']])||_0x2b6647[_0x2c031c(0x1aa)](nestedKeyValue,_0x156c38,[_0x2b6647['YBoQr'],_0x2b6647[_0x2c031c(0x1ba)]]);}static[a42_0x42700a(0x197)](_0x2a2237){const _0x543b44=a42_0x42700a,_0x391a32={'zfqYS':function(_0x56181e,_0x41973f,_0x30999e){return _0x56181e(_0x41973f,_0x30999e);},'OjvjR':_0x543b44(0x18c)};return _0x391a32[_0x543b44(0x187)](nestedKeyValue,_0x2a2237,[_0x391a32['OjvjR'],'id'])||_0x2a2237[_0x543b44(0x19d)];}static['getTestUUID'](_0x50808a){const _0x317f30=a42_0x42700a,_0x3da02c={'GPFrB':function(_0x1e5814,_0x202205){return _0x1e5814===_0x202205;},'gyawy':_0x317f30(0x16b),'adlYJ':function(_0x448d85){return _0x448d85();}};if(this[_0x317f30(0x17b)][_0x50808a]&&_0x3da02c[_0x317f30(0x196)](typeof this[_0x317f30(0x17b)][_0x50808a][_0x317f30(0x163)],_0x3da02c['gyawy']))return this[_0x317f30(0x17b)][_0x50808a][_0x317f30(0x163)];const _0x1f7b30=this[_0x317f30(0x19b)](_0x50808a);if(_0x1f7b30&&fs[_0x317f30(0x17e)](_0x1f7b30)){const _0x201654=JSON['parse'](fs[_0x317f30(0x170)](_0x1f7b30)[_0x317f30(0x191)]());return this[_0x317f30(0x17b)][_0x50808a]=_0x201654,this[_0x317f30(0x17b)][_0x50808a][_0x317f30(0x163)];}return this[_0x317f30(0x17b)][_0x50808a]={'uuid':_0x3da02c['adlYJ'](uuidv4)},fs[_0x317f30(0x169)](_0x1f7b30,JSON[_0x317f30(0x180)](this[_0x317f30(0x17b)][_0x50808a])),this[_0x317f30(0x17b)][_0x50808a][_0x317f30(0x163)];}static[a42_0x42700a(0x1a4)](_0x1f977a){const _0x1a7569=a42_0x42700a,_0x1f0dda=path[_0x1a7569(0x18f)](this[_0x1a7569(0x19f)],_0x1f977a+'_platformDetails.json');if(_0x1f0dda&&fs[_0x1a7569(0x17e)](_0x1f0dda))return fs[_0x1a7569(0x170)](_0x1f0dda)[_0x1a7569(0x191)]();}static['setAccessibilityPlatformValidation'](_0x3e532a,_0x1d583c){const _0x5e08a4=a42_0x42700a,_0xf02d65=path[_0x5e08a4(0x18f)](this[_0x5e08a4(0x19f)],_0x1d583c+_0x5e08a4(0x190));fs[_0x5e08a4(0x169)](_0xf02d65,_0x3e532a['toString']());}static['shutdown'](){const _0x237fd5=a42_0x42700a,_0x41117f={};_0x41117f['recursive']=!![],_0x41117f['force']=!![],fs[_0x237fd5(0x171)](this[_0x237fd5(0x19f)],_0x41117f);}static['getTestDetails'](_0x3f9cb2){const _0x54f549=a42_0x42700a;if(this[_0x54f549(0x17b)][_0x3f9cb2])return this['tests'][_0x3f9cb2];const _0x292ec2=this[_0x54f549(0x19b)](_0x3f9cb2);if(_0x292ec2&&fs['existsSync'](_0x292ec2)){const _0xf7bf9=JSON[_0x54f549(0x168)](fs[_0x54f549(0x170)](_0x292ec2)[_0x54f549(0x191)]());return this[_0x54f549(0x17b)][_0x3f9cb2]=_0xf7bf9,_0xf7bf9;}return{};}static[a42_0x42700a(0x17d)](_0x6da8a8,_0x5e11e4){const _0x15e6cf=a42_0x42700a,_0x2214a1=this['getFilePath'](_0x6da8a8);if(_0x2214a1&&fs['existsSync'](_0x2214a1)){const _0x26cc6c=JSON[_0x15e6cf(0x168)](fs['readFileSync'](_0x2214a1)[_0x15e6cf(0x191)]()),_0x2431cc={..._0x26cc6c,..._0x5e11e4};this[_0x15e6cf(0x17b)][_0x6da8a8]=_0x2431cc;}else this['tests'][_0x6da8a8]=_0x5e11e4;fs[_0x15e6cf(0x169)](_0x2214a1,this[_0x15e6cf(0x17b)][_0x6da8a8]);}static['addTraceFilePath'](_0x4fff5e){const _0x27cf5b=a42_0x42700a,_0x3fdd8f={};_0x3fdd8f[_0x27cf5b(0x1a8)]=_0x27cf5b(0x189);const _0x54d136=_0x3fdd8f;try{const _0x58dbc7=process[_0x27cf5b(0x1af)],_0x189d13=path[_0x27cf5b(0x18f)](TestDetails[_0x27cf5b(0x1b5)](),_0x58dbc7+_0x27cf5b(0x1b3));let _0x17fff2=[];_0x189d13&&fs[_0x27cf5b(0x17e)](_0x189d13)&&(_0x17fff2=JSON[_0x27cf5b(0x168)](fs['readFileSync'](_0x189d13)[_0x27cf5b(0x191)]())),!_0x17fff2['some'](_0x4033bc=>_0x4033bc[_0x27cf5b(0x181)]===_0x4fff5e[_0x27cf5b(0x181)])&&(_0x17fff2[_0x27cf5b(0x16f)](_0x4fff5e),fs[_0x27cf5b(0x169)](_0x189d13,JSON['stringify'](_0x17fff2)));}catch(_0x1297e2){logger[_0x27cf5b(0x164)](_0x54d136[_0x27cf5b(0x1a8)],_0x1297e2);}}static[a42_0x42700a(0x1ae)](){const _0x48fb2c=a42_0x42700a,_0x1fc7cc={};_0x1fc7cc[_0x48fb2c(0x1ad)]=_0x48fb2c(0x1b3),_0x1fc7cc[_0x48fb2c(0x1a7)]=_0x48fb2c(0x199);const _0x456c70=_0x1fc7cc,_0x427925=[];try{const _0x5a7a53=TestDetails[_0x48fb2c(0x1b5)]();if(_0x5a7a53&&!fs[_0x48fb2c(0x17e)](_0x5a7a53))return _0x427925;const _0x1c595f=fs[_0x48fb2c(0x18a)](_0x5a7a53);_0x1c595f[_0x48fb2c(0x18b)](_0x18ef36=>{const _0x2ebd1d=_0x48fb2c;if(_0x18ef36&&_0x18ef36['endsWith'](_0x456c70['TpDJz'])){const _0x5d5836=JSON['parse'](fs['readFileSync'](path[_0x2ebd1d(0x18f)](_0x5a7a53,_0x18ef36))[_0x2ebd1d(0x191)]());_0x427925[_0x2ebd1d(0x16f)](..._0x5d5836);}});}catch(_0x5f5e05){logger['error'](util['format'](_0x456c70['FMdgP'],_0x5f5e05));}const _0x383746={};return _0x427925[_0x48fb2c(0x18b)](_0x1976c7=>{const _0x531eb6=_0x48fb2c;_0x383746[_0x1976c7[_0x531eb6(0x181)]]=_0x1976c7;}),Object[_0x48fb2c(0x1b6)](_0x383746);}static[a42_0x42700a(0x1a6)](_0x448157,_0x583060){const _0x16b81e=a42_0x42700a,_0x536ae2={};_0x536ae2[_0x16b81e(0x1b9)]='.browserstack',_0x536ae2['hgLVt']=_0x16b81e(0x193);const _0x3dee03=_0x536ae2;try{const _0x2c0681=path[_0x16b81e(0x18f)](helper['homedir'](),_0x3dee03[_0x16b81e(0x1b9)]);if(!fs[_0x16b81e(0x17e)](_0x2c0681)){const _0x39ad52={};_0x39ad52[_0x16b81e(0x17c)]=!![],fs['mkdirSync'](_0x2c0681,_0x39ad52);}fs[_0x16b81e(0x167)](path['join'](_0x2c0681,_0x16b81e(0x1b7)+_0x583060+_0x16b81e(0x195)),_0x448157+'\x0a',_0x3dee03[_0x16b81e(0x1ac)]);}catch(_0x23947b){console[_0x16b81e(0x164)](_0x16b81e(0x19a)+_0x23947b[_0x16b81e(0x1bd)]);}}}module['exports']=TestDetails;
@@ -1 +1 @@
1
- const a43_0x10cd38=a43_0x3ece;(function(_0x35a579,_0x25361d){const _0x556cdd=a43_0x3ece,_0x34809c=_0x35a579();while(!![]){try{const _0x2aad03=parseInt(_0x556cdd(0x178))/0x1*(-parseInt(_0x556cdd(0x211))/0x2)+-parseInt(_0x556cdd(0x1cd))/0x3+parseInt(_0x556cdd(0x209))/0x4*(parseInt(_0x556cdd(0x1da))/0x5)+parseInt(_0x556cdd(0x19e))/0x6*(-parseInt(_0x556cdd(0x1d1))/0x7)+-parseInt(_0x556cdd(0x202))/0x8*(-parseInt(_0x556cdd(0x207))/0x9)+-parseInt(_0x556cdd(0x19f))/0xa+parseInt(_0x556cdd(0x1b5))/0xb;if(_0x2aad03===_0x25361d)break;else _0x34809c['push'](_0x34809c['shift']());}catch(_0x3fa901){_0x34809c['push'](_0x34809c['shift']());}}}(a43_0x1c30,0x53092));const path=require(a43_0x10cd38(0x1e3)),url=require(a43_0x10cd38(0x1c3)),util=require(a43_0x10cd38(0x200)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require('../../helpers/helper'),{o11yErrorHandler}=require(a43_0x10cd38(0x1ae)),{debug,getPlatformDetails}=require(a43_0x10cd38(0x190)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x10cd38(0x1a5)),logger=require('../../helpers/logger')[a43_0x10cd38(0x1c8)],scripts=require(a43_0x10cd38(0x1af)),{browserStackExecuteDriver}=require(a43_0x10cd38(0x19a)),AccessibilityHelper=require('./accessibility-helper'),constants=require(a43_0x10cd38(0x1fd)),getBrowserNameFromChannel=_0x2cca30=>{const _0x740c8f=a43_0x10cd38,_0x199325={};_0x199325[_0x740c8f(0x1c9)]=_0x740c8f(0x1ac),_0x199325[_0x740c8f(0x197)]=_0x740c8f(0x1a9),_0x199325[_0x740c8f(0x1bb)]='firefox',_0x199325[_0x740c8f(0x175)]=_0x740c8f(0x199);const _0x52063c=_0x199325;if(_0x2cca30['includes'](_0x52063c[_0x740c8f(0x1c9)]))return _0x52063c['FUFxP'];if(_0x2cca30[_0x740c8f(0x1e7)](_0x52063c[_0x740c8f(0x197)]))return _0x52063c['Ixzxp'];if(_0x2cca30[_0x740c8f(0x1e7)](_0x52063c['nHcNn']))return _0x52063c[_0x740c8f(0x1bb)];if(_0x2cca30[_0x740c8f(0x1e7)](_0x52063c[_0x740c8f(0x175)]))return _0x52063c[_0x740c8f(0x175)];},getBrowserFromWSEndpoint=_0x3245d2=>{const _0x375acb=a43_0x10cd38,_0x1d6730={'cATlj':'chrome','yaVDu':function(_0xfbfc05,_0x33f7f7){return _0xfbfc05(_0x33f7f7);}};try{const _0x50cfbf=url['parse'](_0x3245d2),_0x58490c=new URLSearchParams(_0x50cfbf['query']),_0x3dd08e=Object['fromEntries'](_0x58490c[_0x375acb(0x181)]()),_0x1b76f4=JSON[_0x375acb(0x1b3)](_0x3dd08e[_0x375acb(0x1b7)]);if(_0x1b76f4&&(_0x1b76f4[_0x375acb(0x195)]||_0x1b76f4[_0x375acb(0x1f2)]))return _0x1b76f4['browser']||_0x1b76f4[_0x375acb(0x1f2)];return _0x1d6730[_0x375acb(0x1f9)];}catch(_0x32c9d4){_0x1d6730[_0x375acb(0x1cf)](debug,_0x375acb(0x20b)+_0x32c9d4[_0x375acb(0x1c1)]());}},getCloudProviderFromWsEndpoint=_0x428d6b=>{const _0x13e783=a43_0x10cd38,_0x4a9f93={};_0x4a9f93['SGcWG']=_0x13e783(0x1bf),_0x4a9f93[_0x13e783(0x1a3)]=_0x13e783(0x20a),_0x4a9f93['fEzks']='browserstack',_0x4a9f93[_0x13e783(0x1b4)]='unknown_grid';const _0x4b8c3d=_0x4a9f93;if(_0x428d6b[_0x13e783(0x1e7)](_0x4b8c3d[_0x13e783(0x20f)])||_0x428d6b[_0x13e783(0x1e7)](_0x4b8c3d['kXGGH']))return _0x4b8c3d[_0x13e783(0x1e0)];return _0x4b8c3d[_0x13e783(0x1b4)];},a43_0x101cf6={};a43_0x101cf6['cloudProvider']=undefined,a43_0x101cf6[a43_0x10cd38(0x215)]=undefined,a43_0x101cf6[a43_0x10cd38(0x195)]=undefined,a43_0x101cf6[a43_0x10cd38(0x18a)]=undefined,a43_0x101cf6[a43_0x10cd38(0x1fa)]=undefined,a43_0x101cf6[a43_0x10cd38(0x1a0)]=undefined,a43_0x101cf6[a43_0x10cd38(0x17b)]=undefined,a43_0x101cf6[a43_0x10cd38(0x208)]={};class PlaywrightSessionDetails{static [a43_0x10cd38(0x205)]=a43_0x101cf6;constructor(){const _0x3c7b30=a43_0x10cd38,_0x104f44={};_0x104f44[_0x3c7b30(0x191)]=_0x3c7b30(0x19c);const _0x388e62=_0x104f44;throw new Error(_0x388e62[_0x3c7b30(0x191)]);}static ['sessionError']=null;static[a43_0x10cd38(0x1c2)](_0x33586b,_0x528012,_0x4c7dc4=null){const _0x52d708=a43_0x10cd38,_0x9ebc0b={'SIsCW':function(_0x27ac36,_0x3d5b1c){return _0x27ac36===_0x3d5b1c;},'qiPfS':_0x52d708(0x1df),'ZUxiV':_0x52d708(0x1bc),'Dbozf':'Device\x20Model\x20is\x20not\x20available','kAVpz':_0x52d708(0x189),'hUQok':function(_0x51ab78,_0x3e2c37,_0xa01b48){return _0x51ab78(_0x3e2c37,_0xa01b48);},'Rhgjt':_0x52d708(0x1c4),'AZdgI':_0x52d708(0x1ab),'nqdWX':function(_0x1b753e,_0x4f5359,_0x414946){return _0x1b753e(_0x4f5359,_0x414946);},'SnWNe':_0x52d708(0x1eb),'TrUiG':_0x52d708(0x1e9),'XAGxI':'connectOptions','afHiF':function(_0x592eb,_0x2284e5){return _0x592eb(_0x2284e5);},'cOrBX':function(_0x2a2507,_0x342f0e){return _0x2a2507===_0x342f0e;},'ZBfIU':_0x52d708(0x1d6),'FZbku':_0x52d708(0x1e2),'eJChZ':_0x52d708(0x210),'lcrrI':function(_0x354dc8,_0x6b026f){return _0x354dc8(_0x6b026f);},'ufysZ':function(_0x3230a9,_0x16aa5f){return _0x3230a9+_0x16aa5f;},'CdnXo':_0x52d708(0x1d2),'unhin':function(_0x5020dd){return _0x5020dd();},'nxaDZ':function(_0x2081c9,_0x254588,_0x32af3e){return _0x2081c9(_0x254588,_0x32af3e);},'PuCcd':_0x52d708(0x1c2)},_0x4d3c24=this;return _0x9ebc0b[_0x52d708(0x177)](o11yErrorHandler,async function _0x47c284(_0x4ed4c0,_0x36e273,_0x453eb2=null){const _0x46e362=_0x52d708;let _0x2eb97b=_0x4ed4c0[_0x46e362(0x1ad)],_0x1456c3=null;_0x4ed4c0&&_0x9ebc0b['SIsCW'](typeof _0x4ed4c0['version'],_0x9ebc0b[_0x46e362(0x1c7)])?_0x1456c3=_0x4ed4c0[_0x46e362(0x1b2)]():logger[_0x46e362(0x182)](_0x9ebc0b[_0x46e362(0x184)]);let _0x45ffeb=null;_0x4ed4c0&&_0x9ebc0b[_0x46e362(0x1e5)](typeof _0x4ed4c0[_0x46e362(0x1e8)],_0x9ebc0b[_0x46e362(0x1c7)])?_0x45ffeb=_0x4ed4c0['model']():logger[_0x46e362(0x182)](_0x9ebc0b[_0x46e362(0x1d3)]);let _0x1976f1=null,_0x6c81ea=null,_0x24e23a=null,_0x28b6ad=_0x9ebc0b[_0x46e362(0x214)];if(_0x4ed4c0[_0x46e362(0x1c0)]['isRemote']()||global['accessibilityPlatform']){let _0x2134da=null;_0x9ebc0b['hUQok'](nestedKeyValue,_0x4ed4c0,[_0x9ebc0b[_0x46e362(0x174)],_0x9ebc0b[_0x46e362(0x1f3)]])?_0x2134da=_0x4ed4c0[_0x46e362(0x1c4)][_0x46e362(0x1ab)]:_0x2134da=_0x9ebc0b['nqdWX'](nestedKeyValue,_0x36e273,[_0x9ebc0b[_0x46e362(0x1bd)],_0x9ebc0b[_0x46e362(0x1fe)],_0x9ebc0b[_0x46e362(0x1fc)]]);const _0x4d0f62=_0x453eb2||_0x2134da&&_0x2134da[_0x46e362(0x1a2)];_0x4d0f62&&(_0x28b6ad=_0x9ebc0b[_0x46e362(0x179)](getCloudProviderFromWsEndpoint,_0x4d0f62),_0x9ebc0b[_0x46e362(0x1dd)](_0x28b6ad,_0x9ebc0b['ZBfIU'])&&(_0x24e23a=constants[_0x46e362(0x201)][_0x46e362(0x1d9)](_0x4d0f62)?_0x9ebc0b[_0x46e362(0x1f5)]:_0x9ebc0b['eJChZ'],_0x2eb97b=_0x9ebc0b[_0x46e362(0x179)](getBrowserFromWSEndpoint,_0x4d0f62)||_0x2eb97b,_0x1976f1=_0x4d3c24['currentSessionDetails']['platform'],_0x6c81ea=_0x4d3c24[_0x46e362(0x205)][_0x46e362(0x1a0)]));}else{_0x36e273&&_0x36e273[_0x46e362(0x1eb)]['use'][_0x46e362(0x1d7)]?_0x2eb97b=_0x9ebc0b[_0x46e362(0x1f1)](getBrowserNameFromChannel,_0x36e273[_0x46e362(0x1eb)][_0x46e362(0x1e9)][_0x46e362(0x1d7)]):_0x2eb97b=_0x9ebc0b['ufysZ'](_0x9ebc0b[_0x46e362(0x1f8)],_0x2eb97b['toLowerCase']());const _0x25d1cf=await _0x9ebc0b[_0x46e362(0x198)](getPlatformDetails);_0x1976f1=_0x25d1cf[_0x46e362(0x1d0)],_0x6c81ea=_0x25d1cf[_0x46e362(0x1c6)];}const _0x56c8a5={};_0x56c8a5['browser']=_0x2eb97b,_0x56c8a5[_0x46e362(0x18a)]=_0x1456c3,_0x56c8a5[_0x46e362(0x208)]={},_0x56c8a5['platform']=_0x1976f1,_0x56c8a5[_0x46e362(0x1a0)]=_0x6c81ea,_0x56c8a5[_0x46e362(0x17b)]=_0x24e23a;const _0x27bc34=_0x56c8a5;_0x45ffeb&&(_0x27bc34['capabilities'][_0x46e362(0x1a4)]=_0x45ffeb);const _0x2009e5={};_0x2009e5['cloudProvider']=_0x28b6ad,_0x4d3c24[_0x46e362(0x205)]=Object[_0x46e362(0x1d4)]({},_0x4d3c24[_0x46e362(0x205)],_0x2009e5,_0x27bc34);},_0x9ebc0b['PuCcd'])(_0x33586b,_0x528012,_0x4c7dc4);}static[a43_0x10cd38(0x173)](){const _0x38d12d=a43_0x10cd38;this[_0x38d12d(0x1ff)](),this[_0x38d12d(0x1a1)]();}static[a43_0x10cd38(0x1ff)](){const _0x4b4e62=a43_0x10cd38,_0x414c1d={'lREct':function(_0xdb8d3e,_0x4f3cce,_0x299d4a){return _0xdb8d3e(_0x4f3cce,_0x299d4a);},'tiFOd':_0x4b4e62(0x20c),'uYNfg':_0x4b4e62(0x1d8),'rCSng':_0x4b4e62(0x1ce),'BVkCb':'__workerDetails','pSpJn':_0x4b4e62(0x185),'KGZtm':function(_0x502271,_0x4c6d02){return _0x502271===_0x4c6d02;},'wwraF':'Page','nKzYr':function(_0x635cdf,_0x452b5f,_0x516f85,_0x59968c){return _0x635cdf(_0x452b5f,_0x516f85,_0x59968c);},'HuhQn':function(_0x4fdaf3,_0x13a0bb){return _0x4fdaf3(_0x13a0bb);},'JSVpa':function(_0x32544f,_0x5e6c22){return _0x32544f(_0x5e6c22);},'GPdiJ':_0x4b4e62(0x188),'DIemV':_0x4b4e62(0x1ea),'vqyhj':'connection.js','ubthV':function(_0x5c46e3,_0x394596){return _0x5c46e3(_0x394596);},'GNeLt':'Not\x20able\x20to\x20import\x20Connection','ujKHG':function(_0x337c9c,_0x33c10e){return _0x337c9c!=_0x33c10e;},'DAXdh':function(_0x285dd0){return _0x285dd0();},'TxZHu':_0x4b4e62(0x1fb),'jxFHq':_0x4b4e62(0x1ef),'HNfaU':function(_0x56c9ac,_0x240ce2){return _0x56c9ac(_0x240ce2);}},_0x2abda6=this;if(!this[_0x4b4e62(0x1e6)])try{const _0x98248a=path[_0x4b4e62(0x1b8)](_0x414c1d[_0x4b4e62(0x1f0)],_0x414c1d[_0x4b4e62(0x1b6)],_0x414c1d[_0x4b4e62(0x18d)]),_0x48099c=_0x414c1d[_0x4b4e62(0x1cb)](importFileFromPWCore,_0x98248a);!_0x48099c?_0x414c1d[_0x4b4e62(0x18e)](debug,_0x414c1d['GNeLt']):this[_0x4b4e62(0x1e6)]=_0x48099c[_0x4b4e62(0x1e6)];}catch(_0x222a5c){_0x414c1d['HuhQn'](debug,'Error\x20in\x20importing\x20connection\x20'+_0x222a5c['toString']());}const _0x246d09=this[_0x4b4e62(0x1e6)];try{if(_0x414c1d[_0x4b4e62(0x1a8)](_0x246d09,null)){const _0x15d67c=_0x246d09[_0x4b4e62(0x1e4)][_0x4b4e62(0x1ef)],_0x39ea00=_0x246d09[_0x4b4e62(0x1e4)][_0x4b4e62(0x1fb)];_0x414c1d['DAXdh'](isAccessibilityAutomationSession)&&Object[_0x4b4e62(0x19d)](_0x246d09[_0x4b4e62(0x1e4)],_0x414c1d[_0x4b4e62(0x1c5)],{'get':function(){return async function(){const _0x1889ab=a43_0x3ece;try{if(!global[_0x1889ab(0x17a)]&&global['accessibilityPlatform']&&_0x414c1d['lREct'](nestedKeyValue,global['__workerDetails'],[_0x414c1d[_0x1889ab(0x1a6)],_0x414c1d['uYNfg'],_0x414c1d[_0x1889ab(0x192)]])&&_0x414c1d['lREct'](shouldScanTestForAccessibility,global[_0x1889ab(0x1db)]['currentTest'][_0x1889ab(0x1d8)][_0x1889ab(0x1ce)],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger['debug']('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x1889ab(0x17a)]=!![];const _0x550c54=_0x414c1d[_0x1889ab(0x176)](nestedKeyValue,global,[_0x414c1d[_0x1889ab(0x212)],_0x414c1d['pSpJn']]),_0x46bfdc={};_0x46bfdc[_0x1889ab(0x1b0)]=arguments[0x1],_0x550c54&&logger[_0x1889ab(0x182)](util[_0x1889ab(0x216)](await AccessibilityHelper[_0x1889ab(0x17c)](_0x550c54,_0x46bfdc)));if(_0x414c1d[_0x1889ab(0x18c)](arguments[0x0][_0x1889ab(0x204)],_0x414c1d[_0x1889ab(0x1ba)])&&global['__driver']){const _0x3c7fa4={};_0x3c7fa4[_0x1889ab(0x1b0)]=arguments[0x1],await _0x414c1d[_0x1889ab(0x193)](browserStackExecuteDriver,global[_0x1889ab(0x1ee)],scripts[_0x1889ab(0x17c)],_0x3c7fa4);}}}catch(_0x432465){logger[_0x1889ab(0x182)](_0x1889ab(0x1ec)+util[_0x1889ab(0x216)](_0x432465));}return global[_0x1889ab(0x17a)]=![],_0x39ea00[_0x1889ab(0x1dc)](this,arguments);};}}),!_0x414c1d[_0x4b4e62(0x180)](isFalse,process[_0x4b4e62(0x17d)][_0x4b4e62(0x20d)])&&Object[_0x4b4e62(0x19d)](_0x246d09[_0x4b4e62(0x1e4)],_0x414c1d[_0x4b4e62(0x213)],{'get':function(){return function _0x5148e8(_0x1de238){const _0x9d9bd8=a43_0x3ece,_0xa43f15=_0x1de238&&_0x1de238['params']&&_0x1de238['params']['bsParams'];if(_0xa43f15){const _0xcce78f=_0xa43f15[_0x9d9bd8(0x1f6)],_0x51b21b=_0xa43f15[_0x9d9bd8(0x20e)];_0x51b21b&&(_0x414c1d[_0x9d9bd8(0x18e)](debug,_0x9d9bd8(0x1f4)+_0x51b21b[_0x9d9bd8(0x1c1)]()),_0x2abda6[_0x9d9bd8(0x205)][_0x9d9bd8(0x1fa)]=_0x51b21b[_0x9d9bd8(0x1d0)],_0x2abda6['currentSessionDetails'][_0x9d9bd8(0x1a0)]=_0x51b21b[_0x9d9bd8(0x1c6)]),_0xcce78f&&(_0x414c1d[_0x9d9bd8(0x180)](debug,_0x9d9bd8(0x206)+_0xcce78f),_0x2abda6[_0x9d9bd8(0x205)][_0x9d9bd8(0x215)]=_0xcce78f);}return _0x15d67c[_0x9d9bd8(0x1dc)](this,arguments);};}});}}catch(_0x14dee5){_0x414c1d[_0x4b4e62(0x17f)](debug,_0x4b4e62(0x1b9)+_0x14dee5),_0x2abda6[_0x4b4e62(0x1d5)]=_0x14dee5[_0x4b4e62(0x1c1)]();}}static['patchCRConnection'](){const _0x4d5228=a43_0x10cd38,_0x2c5ae8={'tahyg':function(_0x176108,_0x6cc304){return _0x176108(_0x6cc304);},'vwAzW':function(_0x318141){return _0x318141();},'HllAJ':_0x4d5228(0x188),'ZWvwo':_0x4d5228(0x18f),'wIiQp':'chromium','yGLIG':_0x4d5228(0x194),'OQGmH':function(_0x12e869,_0x2bf3d8){return _0x12e869(_0x2bf3d8);},'IUZtg':_0x4d5228(0x1a7),'Frwmb':_0x4d5228(0x1e1),'rxSjH':function(_0x589cd8,_0x3a4994){return _0x589cd8!=_0x3a4994;},'xyFbO':_0x4d5228(0x17e),'qEAwQ':function(_0x1672a2,_0x41365b){return _0x1672a2(_0x41365b);}},_0x27b048=this;if(_0x2c5ae8[_0x4d5228(0x1b1)](isAccessibilityAutomationSession)){let _0x5be5b4=null;try{const _0x4fe28c=path[_0x4d5228(0x1b8)](_0x2c5ae8[_0x4d5228(0x1ed)],_0x2c5ae8['ZWvwo'],_0x2c5ae8[_0x4d5228(0x186)],_0x2c5ae8[_0x4d5228(0x196)]),_0x19521b=_0x2c5ae8['tahyg'](importFileFromPWCore,_0x4fe28c);!_0x19521b?_0x2c5ae8[_0x4d5228(0x1aa)](debug,_0x2c5ae8[_0x4d5228(0x1be)]):_0x5be5b4=_0x19521b[_0x4d5228(0x187)];}catch(_0x264303){_0x2c5ae8[_0x4d5228(0x1cc)](debug,_0x2c5ae8['Frwmb']);}try{if(_0x2c5ae8['rxSjH'](_0x5be5b4,null)){const _0x418071=_0x5be5b4[_0x4d5228(0x1e4)][_0x4d5228(0x17e)];Object[_0x4d5228(0x19d)](_0x5be5b4[_0x4d5228(0x1e4)],_0x2c5ae8[_0x4d5228(0x1de)],{'get':function(){const _0x5d9922={'amVkJ':function(_0x7734be,_0x322140){const _0x84caa5=a43_0x3ece;return _0x2c5ae8[_0x84caa5(0x1cc)](_0x7734be,_0x322140);},'EHZbO':function(_0x535b07,_0x382166){return _0x2c5ae8['tahyg'](_0x535b07,_0x382166);}};return function _0x41cfe2(_0x28db01){const _0x27b2a2=a43_0x3ece;try{const _0x23f3d2=_0x28db01[_0x27b2a2(0x18b)];if(_0x23f3d2){delete _0x28db01[_0x27b2a2(0x18b)];const _0x5d473e=_0x23f3d2[_0x27b2a2(0x1f6)],_0x5aa76c=_0x23f3d2[_0x27b2a2(0x20e)];_0x5aa76c&&(_0x5d9922['amVkJ'](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x5aa76c['toString']()),_0x27b048[_0x27b2a2(0x205)][_0x27b2a2(0x1fa)]=_0x5aa76c['platformName'],_0x27b048[_0x27b2a2(0x205)][_0x27b2a2(0x1a0)]=_0x5aa76c[_0x27b2a2(0x1c6)]),_0x5d473e&&(_0x5d9922[_0x27b2a2(0x1ca)](debug,_0x27b2a2(0x1f7)+_0x5d473e),_0x27b048[_0x27b2a2(0x205)][_0x27b2a2(0x215)]=_0x5d473e);}}catch(_0x4cb215){_0x5d9922['EHZbO'](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x4cb215[_0x27b2a2(0x1c1)]());}return _0x418071['apply'](this,arguments);};}});}}catch(_0x394d28){_0x2c5ae8[_0x4d5228(0x19b)](debug,_0x4d5228(0x183)+_0x394d28),_0x27b048['sessionError']=_0x394d28[_0x4d5228(0x1c1)]();}}}static[a43_0x10cd38(0x203)](){const _0x260312=a43_0x10cd38;return this[_0x260312(0x205)];}}function a43_0x1c30(){const _0x2ca03e=['function','fEzks','Error\x20in\x20importing\x20crConnection','turboscale','path','prototype','SIsCW','Connection','includes','model','use','client','project','Failed\x20to\x20perform\x20scan\x20','HllAJ','__driver','dispatch','GPdiJ','lcrrI','browserName','AZdgI','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','FZbku','sessionId','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','CdnXo','cATlj','platform','sendMessageToServer','XAGxI','../utils/constants','TrUiG','patchConnection','util','ATS_WSS_URL_REGEX','149176QQbSvq','getDetails','_type','currentSessionDetails','Setting\x20session\x20id\x20received\x20from\x20BS\x20','117PzVQrV','capabilities','4aJFHGu','browserstack-ats.com','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','currentTest','BROWSERSTACK_TEST_OBSERVABILITY','platformDetails','SGcWG','automate','2VSUdNH','BVkCb','jxFHq','kAVpz','bsSessionId','format','patch','Rhgjt','ICJpm','lREct','nxaDZ','372457wBptxV','afHiF','bstackPerformA11yScan','product','performScan','env','_onMessage','HNfaU','JSVpa','entries','debug','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','ZUxiV','pwPage','wIiQp','CRConnection','lib','local_grid','browser_version','bStackParams','KGZtm','vqyhj','HuhQn','server','../../helpers/test-observability/utils','SPfPj','rCSng','nKzYr','crConnection.js','browser','yGLIG','Ixzxp','unhin','safari','../../bin/playwright/accessibility-helper','qEAwQ','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','defineProperty','150tkNHAD','6780530rpSsJZ','platform_version','patchCRConnection','wsEndpoint','kXGGH','deviceModel','../../helpers/accessibility-automation/helper','tiFOd','Not\x20able\x20to\x20import\x20crConnection','ujKHG','edge','OQGmH','_defaultConnectOptions','chrome','_name','../../helpers/test-observability/error-handler','../../helpers/accessibility-automation/scripts','method','vwAzW','version','parse','olNyN','20806335VDEGDU','DIemV','caps','join','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','wwraF','nHcNn','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','SnWNe','IUZtg','browserstack.com','_connection','toString','setupBrowserDetails','url','_browserType','TxZHu','platformVersion','qiPfS','winstonLogger','FUFxP','EHZbO','ubthV','tahyg','1299924VfGGdw','titlePath','yaVDu','platformName','163555wBEnEg','playwright-','Dbozf','assign','sessionError','browserstack','channel','testInfo','test','1370805IhAjTO','__workerDetails','apply','cOrBX','xyFbO'];a43_0x1c30=function(){return _0x2ca03e;};return a43_0x1c30();}function a43_0x3ece(_0x4c3f88,_0x374a28){const _0x1c30f9=a43_0x1c30();return a43_0x3ece=function(_0x3ecef8,_0x418587){_0x3ecef8=_0x3ecef8-0x173;let _0x18d830=_0x1c30f9[_0x3ecef8];return _0x18d830;},a43_0x3ece(_0x4c3f88,_0x374a28);}module['exports']=PlaywrightSessionDetails;
1
+ const a43_0x522d3b=a43_0x543d;(function(_0x550cef,_0xb1c44d){const _0x525046=a43_0x543d,_0x289f1c=_0x550cef();while(!![]){try{const _0x18eb38=-parseInt(_0x525046(0x1f7))/0x1+-parseInt(_0x525046(0x24f))/0x2*(parseInt(_0x525046(0x1e9))/0x3)+-parseInt(_0x525046(0x1b3))/0x4+-parseInt(_0x525046(0x1c0))/0x5*(-parseInt(_0x525046(0x208))/0x6)+-parseInt(_0x525046(0x1ca))/0x7+parseInt(_0x525046(0x251))/0x8+-parseInt(_0x525046(0x24e))/0x9;if(_0x18eb38===_0xb1c44d)break;else _0x289f1c['push'](_0x289f1c['shift']());}catch(_0x44577c){_0x289f1c['push'](_0x289f1c['shift']());}}}(a43_0x1495,0x24a31));const path=require('path'),url=require('url'),util=require(a43_0x522d3b(0x1f0)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require('../../helpers/helper'),{o11yErrorHandler}=require(a43_0x522d3b(0x1fc)),{debug,getPlatformDetails}=require(a43_0x522d3b(0x1f1)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x522d3b(0x1b2)),logger=require(a43_0x522d3b(0x1c5))[a43_0x522d3b(0x21f)],scripts=require(a43_0x522d3b(0x1d8)),{browserStackExecuteDriver}=require(a43_0x522d3b(0x1e4)),AccessibilityHelper=require(a43_0x522d3b(0x1c9)),constants=require(a43_0x522d3b(0x1bd)),getBrowserNameFromChannel=_0x237c65=>{const _0x2024b6=a43_0x522d3b,_0x1383aa={};_0x1383aa[_0x2024b6(0x224)]=_0x2024b6(0x205),_0x1383aa[_0x2024b6(0x221)]=_0x2024b6(0x1f2),_0x1383aa[_0x2024b6(0x1c1)]=_0x2024b6(0x249),_0x1383aa[_0x2024b6(0x1b5)]=_0x2024b6(0x1e2);const _0x1c9a7f=_0x1383aa;if(_0x237c65[_0x2024b6(0x258)](_0x1c9a7f[_0x2024b6(0x224)]))return _0x1c9a7f[_0x2024b6(0x224)];if(_0x237c65[_0x2024b6(0x258)](_0x1c9a7f[_0x2024b6(0x221)]))return _0x1c9a7f[_0x2024b6(0x221)];if(_0x237c65['includes'](_0x1c9a7f[_0x2024b6(0x1c1)]))return _0x1c9a7f[_0x2024b6(0x1c1)];if(_0x237c65[_0x2024b6(0x258)](_0x1c9a7f[_0x2024b6(0x1b5)]))return _0x1c9a7f['SzvAM'];},getBrowserFromWSEndpoint=_0x99b28c=>{const _0x3e9b0f=a43_0x522d3b,_0x393a5d={'ajhiq':_0x3e9b0f(0x205),'uqrAD':function(_0x1d6129,_0xb2f9e4){return _0x1d6129(_0xb2f9e4);}};try{const _0x34665a=url[_0x3e9b0f(0x261)](_0x99b28c),_0x3d81f5=new URLSearchParams(_0x34665a[_0x3e9b0f(0x22d)]),_0x3dffd9=Object[_0x3e9b0f(0x1b4)](_0x3d81f5['entries']()),_0x22d377=JSON[_0x3e9b0f(0x261)](_0x3dffd9[_0x3e9b0f(0x253)]);if(_0x22d377&&(_0x22d377[_0x3e9b0f(0x217)]||_0x22d377[_0x3e9b0f(0x242)]))return _0x22d377[_0x3e9b0f(0x217)]||_0x22d377[_0x3e9b0f(0x242)];return _0x393a5d[_0x3e9b0f(0x203)];}catch(_0x49f944){_0x393a5d[_0x3e9b0f(0x1ea)](debug,_0x3e9b0f(0x1d0)+_0x49f944[_0x3e9b0f(0x1ee)]());}},getCloudProviderFromWsEndpoint=_0x23e275=>{const _0x50795f=a43_0x522d3b,_0x5bb50e={};_0x5bb50e[_0x50795f(0x25e)]=_0x50795f(0x1f8),_0x5bb50e[_0x50795f(0x1cf)]=_0x50795f(0x209),_0x5bb50e[_0x50795f(0x1fd)]='browserstack',_0x5bb50e['xdAlr']=_0x50795f(0x20b);const _0x70ed72=_0x5bb50e;if(_0x23e275[_0x50795f(0x258)](_0x70ed72[_0x50795f(0x25e)])||_0x23e275['includes'](_0x70ed72[_0x50795f(0x1cf)]))return _0x70ed72['RgIbB'];return _0x70ed72[_0x50795f(0x212)];},a43_0x35a0ca={};function a43_0x543d(_0x493d86,_0x3735c1){const _0x1495ce=a43_0x1495();return a43_0x543d=function(_0x543d6b,_0x3c78f3){_0x543d6b=_0x543d6b-0x1b2;let _0x3e0da0=_0x1495ce[_0x543d6b];return _0x3e0da0;},a43_0x543d(_0x493d86,_0x3735c1);}a43_0x35a0ca[a43_0x522d3b(0x231)]=undefined,a43_0x35a0ca[a43_0x522d3b(0x216)]=undefined,a43_0x35a0ca[a43_0x522d3b(0x217)]=undefined,a43_0x35a0ca[a43_0x522d3b(0x20a)]=undefined,a43_0x35a0ca[a43_0x522d3b(0x23a)]=undefined,a43_0x35a0ca[a43_0x522d3b(0x21a)]=undefined,a43_0x35a0ca['product']=undefined,a43_0x35a0ca[a43_0x522d3b(0x228)]={};class PlaywrightSessionDetails{static [a43_0x522d3b(0x236)]=a43_0x35a0ca;constructor(){const _0x13877a=a43_0x522d3b,_0x24e680={};_0x24e680[_0x13877a(0x206)]=_0x13877a(0x234);const _0x33f51a=_0x24e680;throw new Error(_0x33f51a[_0x13877a(0x206)]);}static [a43_0x522d3b(0x21e)]=null;static[a43_0x522d3b(0x23e)](_0x1f486e,_0x5da241,_0x469903=null){const _0x3f0085=a43_0x522d3b,_0x253a7a={'iomca':function(_0x28a9e3,_0x14138e){return _0x28a9e3===_0x14138e;},'fRrAl':'function','Ktfqv':'Browser\x20is\x20not\x20defined\x20or\x20not\x20available','fhGZe':function(_0x23cbb1,_0x1431df){return _0x23cbb1===_0x1431df;},'SYlOQ':_0x3f0085(0x1c8),'ofXAm':'local_grid','LjQmF':function(_0x2896c0,_0x7166d7,_0x4e2864){return _0x2896c0(_0x7166d7,_0x4e2864);},'ivKFn':_0x3f0085(0x1f5),'hHfEM':_0x3f0085(0x246),'puRZW':_0x3f0085(0x256),'cnNbd':'use','WhnAQ':'connectOptions','VPiDS':function(_0x18c84a,_0x5cc702){return _0x18c84a(_0x5cc702);},'ABRdA':_0x3f0085(0x240),'aNZhx':_0x3f0085(0x1e7),'kinNr':_0x3f0085(0x254),'Dtcby':function(_0x4d6543,_0x4a6f9a){return _0x4d6543(_0x4a6f9a);},'tiINM':function(_0x15f541,_0x57f4f0){return _0x15f541+_0x57f4f0;},'udqeY':_0x3f0085(0x25a),'GdAMY':function(_0x2673ee){return _0x2673ee();},'deled':function(_0x4c55e7,_0x2e56f8,_0x1ebe4e){return _0x4c55e7(_0x2e56f8,_0x1ebe4e);},'PPCcU':_0x3f0085(0x23e)},_0x321b0f=this;return _0x253a7a[_0x3f0085(0x211)](o11yErrorHandler,async function _0x568013(_0x31e57c,_0x494677,_0x7417fa=null){const _0x1ee8c2=_0x3f0085;let _0x10af91=_0x31e57c[_0x1ee8c2(0x1be)],_0x25d65f=null;_0x31e57c&&_0x253a7a[_0x1ee8c2(0x1f4)](typeof _0x31e57c[_0x1ee8c2(0x1bf)],_0x253a7a[_0x1ee8c2(0x1d9)])?_0x25d65f=_0x31e57c[_0x1ee8c2(0x1bf)]():logger[_0x1ee8c2(0x262)](_0x253a7a[_0x1ee8c2(0x1fb)]);let _0xdcc96e=null;_0x31e57c&&_0x253a7a['fhGZe'](typeof _0x31e57c['model'],_0x253a7a[_0x1ee8c2(0x1d9)])?_0xdcc96e=_0x31e57c[_0x1ee8c2(0x223)]():logger[_0x1ee8c2(0x262)](_0x253a7a[_0x1ee8c2(0x20c)]);let _0xffc6a4=null,_0x18a86b=null,_0x2ab6f1=null,_0x38dece=_0x253a7a[_0x1ee8c2(0x21b)];if(_0x31e57c[_0x1ee8c2(0x24d)][_0x1ee8c2(0x232)]()||global[_0x1ee8c2(0x248)]){let _0x53d56e=null;_0x253a7a['LjQmF'](nestedKeyValue,_0x31e57c,[_0x253a7a[_0x1ee8c2(0x1cd)],_0x253a7a[_0x1ee8c2(0x220)]])?_0x53d56e=_0x31e57c[_0x1ee8c2(0x1f5)][_0x1ee8c2(0x246)]:_0x53d56e=_0x253a7a['LjQmF'](nestedKeyValue,_0x494677,[_0x253a7a[_0x1ee8c2(0x215)],_0x253a7a[_0x1ee8c2(0x255)],_0x253a7a[_0x1ee8c2(0x21d)]]);const _0xbabc69=_0x7417fa||_0x53d56e&&_0x53d56e[_0x1ee8c2(0x1ba)];_0xbabc69&&(_0x38dece=_0x253a7a[_0x1ee8c2(0x229)](getCloudProviderFromWsEndpoint,_0xbabc69),_0x253a7a[_0x1ee8c2(0x22b)](_0x38dece,_0x253a7a[_0x1ee8c2(0x225)])&&(_0x2ab6f1=constants[_0x1ee8c2(0x24b)][_0x1ee8c2(0x218)](_0xbabc69)?_0x253a7a[_0x1ee8c2(0x20d)]:_0x253a7a[_0x1ee8c2(0x227)],_0x10af91=_0x253a7a['VPiDS'](getBrowserFromWSEndpoint,_0xbabc69)||_0x10af91,_0xffc6a4=_0x321b0f[_0x1ee8c2(0x236)][_0x1ee8c2(0x23a)],_0x18a86b=_0x321b0f[_0x1ee8c2(0x236)][_0x1ee8c2(0x21a)]));}else{_0x494677&&_0x494677['project'][_0x1ee8c2(0x1dd)]['channel']?_0x10af91=_0x253a7a[_0x1ee8c2(0x241)](getBrowserNameFromChannel,_0x494677[_0x1ee8c2(0x256)][_0x1ee8c2(0x1dd)][_0x1ee8c2(0x1f9)]):_0x10af91=_0x253a7a[_0x1ee8c2(0x1b6)](_0x253a7a[_0x1ee8c2(0x22f)],_0x10af91[_0x1ee8c2(0x1ff)]());const _0x440e39=await _0x253a7a[_0x1ee8c2(0x204)](getPlatformDetails);_0xffc6a4=_0x440e39['platformName'],_0x18a86b=_0x440e39[_0x1ee8c2(0x25b)];}const _0x36e692={};_0x36e692[_0x1ee8c2(0x217)]=_0x10af91,_0x36e692[_0x1ee8c2(0x20a)]=_0x25d65f,_0x36e692[_0x1ee8c2(0x228)]={},_0x36e692[_0x1ee8c2(0x23a)]=_0xffc6a4,_0x36e692[_0x1ee8c2(0x21a)]=_0x18a86b,_0x36e692[_0x1ee8c2(0x1d7)]=_0x2ab6f1;const _0x4cff21=_0x36e692;_0xdcc96e&&(_0x4cff21[_0x1ee8c2(0x228)][_0x1ee8c2(0x230)]=_0xdcc96e);const _0x6dadd0={};_0x6dadd0[_0x1ee8c2(0x231)]=_0x38dece,_0x321b0f[_0x1ee8c2(0x236)]=Object[_0x1ee8c2(0x1d4)]({},_0x321b0f[_0x1ee8c2(0x236)],_0x6dadd0,_0x4cff21);},_0x253a7a[_0x3f0085(0x22e)])(_0x1f486e,_0x5da241,_0x469903);}static['patch'](){const _0x217648=a43_0x522d3b;this[_0x217648(0x245)](),this['patchCRConnection']();}static[a43_0x522d3b(0x245)](){const _0x21314b=a43_0x522d3b,_0x40ca99={'sIJYH':function(_0x2257a7,_0x4ca33d,_0x11592b){return _0x2257a7(_0x4ca33d,_0x11592b);},'qxryN':_0x21314b(0x24c),'VauyZ':_0x21314b(0x1bc),'EjtmY':_0x21314b(0x247),'HlJKY':function(_0x2c4632,_0x59a126,_0x473ecf){return _0x2c4632(_0x59a126,_0x473ecf);},'BDSXn':_0x21314b(0x1d6),'gtewO':_0x21314b(0x1dc),'RIooe':function(_0xdfa14c,_0x280013){return _0xdfa14c===_0x280013;},'iqNlS':_0x21314b(0x260),'WcbNg':function(_0x4b3871,_0x465783,_0xd67493,_0x5a669f){return _0x4b3871(_0x465783,_0xd67493,_0x5a669f);},'iqGIM':function(_0x4f7252,_0x4ca5ec){return _0x4f7252(_0x4ca5ec);},'AbgXP':_0x21314b(0x23b),'BNnvN':_0x21314b(0x25c),'wruNo':_0x21314b(0x22c),'UMHBQ':'Not\x20able\x20to\x20import\x20Connection','hWamd':function(_0x18d06a,_0x3810a3){return _0x18d06a!=_0x3810a3;},'bMycE':function(_0x4cc685){return _0x4cc685();},'DLpXZ':_0x21314b(0x1e3),'JjFWb':function(_0x178a37,_0x57d308){return _0x178a37(_0x57d308);},'BfPlf':'dispatch'},_0x2fef71=this;if(!this['Connection'])try{const _0x45e336=path[_0x21314b(0x21c)](_0x40ca99['AbgXP'],_0x40ca99['BNnvN'],_0x40ca99[_0x21314b(0x25f)]),_0x418b70=_0x40ca99['iqGIM'](importFileFromPWCore,_0x45e336);!_0x418b70?_0x40ca99['iqGIM'](debug,_0x40ca99['UMHBQ']):this[_0x21314b(0x1fe)]=_0x418b70[_0x21314b(0x1fe)];}catch(_0x44fd12){_0x40ca99[_0x21314b(0x1b7)](debug,'Error\x20in\x20importing\x20connection\x20'+_0x44fd12[_0x21314b(0x1ee)]());}const _0xfd0bde=this[_0x21314b(0x1fe)];try{if(_0x40ca99[_0x21314b(0x1ce)](_0xfd0bde,null)){const _0x472ca7=_0xfd0bde[_0x21314b(0x239)]['dispatch'],_0x3b2b28=_0xfd0bde['prototype'][_0x21314b(0x1e3)];_0x40ca99[_0x21314b(0x1df)](isAccessibilityAutomationSession)&&Object[_0x21314b(0x25d)](_0xfd0bde['prototype'],_0x40ca99[_0x21314b(0x1d1)],{'get':function(){return async function(){const _0x4a3ca6=a43_0x543d;try{if(!global[_0x4a3ca6(0x1eb)]&&global[_0x4a3ca6(0x248)]&&_0x40ca99[_0x4a3ca6(0x257)](nestedKeyValue,global[_0x4a3ca6(0x1d6)],[_0x40ca99[_0x4a3ca6(0x1cb)],_0x40ca99[_0x4a3ca6(0x1d2)],_0x40ca99[_0x4a3ca6(0x213)]])&&_0x40ca99[_0x4a3ca6(0x207)](shouldScanTestForAccessibility,global[_0x4a3ca6(0x1d6)]['currentTest'][_0x4a3ca6(0x1bc)][_0x4a3ca6(0x247)],!![])&&scripts[_0x4a3ca6(0x252)](arguments[0x1])){logger[_0x4a3ca6(0x262)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x4a3ca6(0x1eb)]=!![];const _0x50be33=_0x40ca99[_0x4a3ca6(0x207)](nestedKeyValue,global,[_0x40ca99[_0x4a3ca6(0x24a)],_0x40ca99[_0x4a3ca6(0x1da)]]),_0x74c882={};_0x74c882['method']=arguments[0x1],_0x50be33&&logger[_0x4a3ca6(0x262)](util[_0x4a3ca6(0x1c7)](await AccessibilityHelper[_0x4a3ca6(0x1b8)](_0x50be33,_0x74c882)));if(_0x40ca99[_0x4a3ca6(0x23d)](arguments[0x0][_0x4a3ca6(0x22a)],_0x40ca99[_0x4a3ca6(0x243)])&&global['__driver']){const _0x537173={};_0x537173[_0x4a3ca6(0x20e)]=arguments[0x1],await _0x40ca99[_0x4a3ca6(0x238)](browserStackExecuteDriver,global[_0x4a3ca6(0x1fa)],scripts[_0x4a3ca6(0x1b8)],_0x537173);}}}catch(_0x33e163){logger[_0x4a3ca6(0x262)](_0x4a3ca6(0x201)+util[_0x4a3ca6(0x1c7)](_0x33e163));}return global['bstackPerformA11yScan']=![],_0x3b2b28['apply'](this,arguments);};}}),!_0x40ca99[_0x21314b(0x214)](isFalse,process[_0x21314b(0x1c2)][_0x21314b(0x219)])&&Object[_0x21314b(0x25d)](_0xfd0bde[_0x21314b(0x239)],_0x40ca99['BfPlf'],{'get':function(){const _0x5a9367={'AMTym':function(_0x3f0af0,_0x3e65e6){const _0x1d6034=a43_0x543d;return _0x40ca99[_0x1d6034(0x1b7)](_0x3f0af0,_0x3e65e6);},'lgnCc':function(_0x5015b3,_0x283ff9){const _0x5f1773=a43_0x543d;return _0x40ca99[_0x5f1773(0x1b7)](_0x5015b3,_0x283ff9);}};return function _0x3936b7(_0x4dbcd7){const _0x24c417=a43_0x543d,_0x58ce27=_0x4dbcd7&&_0x4dbcd7[_0x24c417(0x1f3)]&&_0x4dbcd7[_0x24c417(0x1f3)][_0x24c417(0x1ef)];if(_0x58ce27){const _0x2fb4ce=_0x58ce27[_0x24c417(0x259)],_0x4ea783=_0x58ce27[_0x24c417(0x233)];_0x4ea783&&(_0x5a9367[_0x24c417(0x222)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x4ea783[_0x24c417(0x1ee)]()),_0x2fef71[_0x24c417(0x236)][_0x24c417(0x23a)]=_0x4ea783[_0x24c417(0x1d5)],_0x2fef71[_0x24c417(0x236)]['platform_version']=_0x4ea783['platformVersion']),_0x2fb4ce&&(_0x5a9367[_0x24c417(0x23c)](debug,_0x24c417(0x23f)+_0x2fb4ce),_0x2fef71[_0x24c417(0x236)]['bsSessionId']=_0x2fb4ce);}return _0x472ca7[_0x24c417(0x202)](this,arguments);};}});}}catch(_0x37dbfc){_0x40ca99[_0x21314b(0x214)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x37dbfc),_0x2fef71[_0x21314b(0x21e)]=_0x37dbfc[_0x21314b(0x1ee)]();}}static[a43_0x522d3b(0x250)](){const _0x999cc3=a43_0x522d3b,_0x11a398={'UokqV':function(_0x5a9efa,_0x44b67a){return _0x5a9efa(_0x44b67a);},'KQUYR':function(_0x280a6f,_0x179c2e){return _0x280a6f(_0x179c2e);},'zcvMR':function(_0x28bc98){return _0x28bc98();},'MSKUR':_0x999cc3(0x23b),'gwOtf':_0x999cc3(0x20f),'guNhp':_0x999cc3(0x1ec),'HhJtr':_0x999cc3(0x1db),'doGcy':function(_0x15c53d,_0x32928c){return _0x15c53d(_0x32928c);},'UFatG':_0x999cc3(0x210),'RrlYz':_0x999cc3(0x200),'Iravy':function(_0x357f64,_0x3d1465){return _0x357f64!=_0x3d1465;},'rESjC':_0x999cc3(0x1e1)},_0x212f3f=this;if(_0x11a398[_0x999cc3(0x1cc)](isAccessibilityAutomationSession)){let _0x12eac9=null;try{const _0x3168b4=path[_0x999cc3(0x21c)](_0x11a398[_0x999cc3(0x1bb)],_0x11a398[_0x999cc3(0x1e8)],_0x11a398[_0x999cc3(0x1c4)],_0x11a398[_0x999cc3(0x1c6)]),_0x1086f2=_0x11a398[_0x999cc3(0x1e6)](importFileFromPWCore,_0x3168b4);!_0x1086f2?_0x11a398['doGcy'](debug,_0x11a398[_0x999cc3(0x1ed)]):_0x12eac9=_0x1086f2['CRConnection'];}catch(_0x3231c9){_0x11a398[_0x999cc3(0x226)](debug,_0x11a398[_0x999cc3(0x1f6)]);}try{if(_0x11a398[_0x999cc3(0x237)](_0x12eac9,null)){const _0x42b045=_0x12eac9['prototype'][_0x999cc3(0x1e1)];Object[_0x999cc3(0x25d)](_0x12eac9[_0x999cc3(0x239)],_0x11a398['rESjC'],{'get':function(){const _0xdb5ce={'LhMlw':function(_0x45e4dc,_0x27b280){return _0x11a398['UokqV'](_0x45e4dc,_0x27b280);},'cbYly':function(_0x28606c,_0x9b2962){const _0x112098=a43_0x543d;return _0x11a398[_0x112098(0x1e5)](_0x28606c,_0x9b2962);}};return function _0x399848(_0x2773ee){const _0x2f9b1b=a43_0x543d;try{const _0x4cc5dd=_0x2773ee['bStackParams'];if(_0x4cc5dd){delete _0x2773ee['bStackParams'];const _0x338476=_0x4cc5dd[_0x2f9b1b(0x259)],_0x45e923=_0x4cc5dd[_0x2f9b1b(0x233)];_0x45e923&&(_0xdb5ce[_0x2f9b1b(0x1b9)](debug,_0x2f9b1b(0x1c3)+_0x45e923['toString']()),_0x212f3f[_0x2f9b1b(0x236)][_0x2f9b1b(0x23a)]=_0x45e923[_0x2f9b1b(0x1d5)],_0x212f3f[_0x2f9b1b(0x236)][_0x2f9b1b(0x21a)]=_0x45e923[_0x2f9b1b(0x25b)]),_0x338476&&(_0xdb5ce[_0x2f9b1b(0x1d3)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x338476),_0x212f3f[_0x2f9b1b(0x236)][_0x2f9b1b(0x216)]=_0x338476);}}catch(_0x5922ad){_0xdb5ce['LhMlw'](debug,_0x2f9b1b(0x1e0)+_0x5922ad['toString']());}return _0x42b045[_0x2f9b1b(0x202)](this,arguments);};}});}}catch(_0x47d035){_0x11a398['doGcy'](debug,_0x999cc3(0x244)+_0x47d035),_0x212f3f[_0x999cc3(0x21e)]=_0x47d035[_0x999cc3(0x1ee)]();}}}static[a43_0x522d3b(0x1de)](){const _0x34a97d=a43_0x522d3b;return this[_0x34a97d(0x236)];}}module[a43_0x522d3b(0x235)]=PlaywrightSessionDetails;function a43_0x1495(){const _0x9d58a5=['format','Device\x20Model\x20is\x20not\x20available','./accessibility-helper','1310652yDCEOu','qxryN','zcvMR','ivKFn','hWamd','zNWvY','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','DLpXZ','VauyZ','cbYly','assign','platformName','__workerDetails','product','../../helpers/accessibility-automation/scripts','fRrAl','gtewO','crConnection.js','pwPage','use','getDetails','bMycE','Error\x20in\x20finding\x20platform\x20details\x20','_onMessage','safari','sendMessageToServer','../../bin/playwright/accessibility-helper','KQUYR','UokqV','turboscale','gwOtf','15BPZrgD','uqrAD','bstackPerformA11yScan','chromium','UFatG','toString','bsParams','util','../../helpers/test-observability/utils','edge','params','iomca','_browserType','RrlYz','51143qZqzQl','browserstack.com','channel','__driver','Ktfqv','../../helpers/test-observability/error-handler','RgIbB','Connection','toLowerCase','Error\x20in\x20importing\x20crConnection','Failed\x20to\x20perform\x20scan\x20','apply','ajhiq','GdAMY','chrome','asgGZ','HlJKY','6iFUhZJ','browserstack-ats.com','browser_version','unknown_grid','SYlOQ','aNZhx','method','server','Not\x20able\x20to\x20import\x20crConnection','deled','xdAlr','EjtmY','JjFWb','puRZW','bsSessionId','browser','test','BROWSERSTACK_TEST_OBSERVABILITY','platform_version','ofXAm','join','WhnAQ','sessionError','winstonLogger','hHfEM','wlFAw','AMTym','model','Svaew','ABRdA','doGcy','kinNr','capabilities','VPiDS','_type','fhGZe','connection.js','query','PPCcU','udqeY','deviceModel','cloudProvider','isRemote','platformDetails','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','exports','currentSessionDetails','Iravy','WcbNg','prototype','platform','lib','lgnCc','RIooe','setupBrowserDetails','Setting\x20session\x20id\x20received\x20from\x20BS\x20','browserstack','Dtcby','browserName','iqNlS','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','patchConnection','_defaultConnectOptions','titlePath','accessibilityPlatform','firefox','BDSXn','ATS_WSS_URL_REGEX','currentTest','_connection','340164QZvOlW','43114OFIFnf','patchCRConnection','2254248xpSCLz','shouldWrapCommand','caps','automate','cnNbd','project','sIJYH','includes','sessionId','playwright-','platformVersion','client','defineProperty','ZuPpp','wruNo','Page','parse','debug','../../helpers/accessibility-automation/helper','151608qlHLZy','fromEntries','SzvAM','tiINM','iqGIM','performScan','LhMlw','wsEndpoint','MSKUR','testInfo','../utils/constants','_name','version','1450730uxYAAA','XAsEN','env','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','guNhp','../../helpers/logger','HhJtr'];a43_0x1495=function(){return _0x9d58a5;};return a43_0x1495();}
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a44_0x1dc8(){const _0x5b5ade=['../helpers/helper','PLAYWRIGHT','format','avLjL','NIGHTWATCH','./mocha/command','run','message','PWhKT','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','mrvpP','UvKuw','info','findAndReplace','pFgBM','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','CODECEPTJS','GQYaQ','.browserstack','422409mnbAle','ORkMj','command','integrations','JEST','./vanilla-js/command','unlinkSync','Running\x20SDK\x20with\x20args\x20','96zxrmCV','INFO','hdpHa','--opts','WgvxL','path','lqxrW','framework','describe','SDKTestSuccessful','util','ats','usage:\x20$0\x20<command>\x20[args]','RzjUb','push','startMonitoring','QgDKF','SDK_CLEANUP','HST','vgAjF','join','alias','argv','valEJ','handler','nightwatch','setBrowserStackAutomationDisable','mocha/lib/cli/run.js','end','../helpers/logger','231028hHfbnp','EVENTS','--no-package','uozBW','includes','nFqxj','codeceptjs','Parsing\x20command\x20line\x20arguements','2948040vtqzXo','idxIv','node','mkvbb','8LUShWz','start','assign','setTestObservabilityDisable','ixFSr','existsSync','../helpers/performance/constants','NOIzV','./nightwatch/command','dot-notation','../helpers/utilities','isUndefined','jest','./cucumber-js/command','usage','xzZAL','error','./integrations/command','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','116175CQwlcV','slice','gHkrU','homedir','3026KlRXRL','VANILLA','fireFunnelTestEvent','./codeceptjs/command','202LhhWoN','mocha/lib/cli/commands.js','find','demandCommand','winstonLogger','parserConfiguration','debug','--require','wrap','config','gYoVU','exitCode','889791YakwBs','VLHXy','./utils/constants','SDK_SETUP','mocha','help','playwright','INTEGRATIONS','.local-not-set.json','mIZzz','dLtcd','MOCHA','VsZOb','VERSION','3778330nsXhkL'];a44_0x1dc8=function(){return _0x5b5ade;};return a44_0x1dc8();}const a44_0x284b6e=a44_0x5595;(function(_0x5051a3,_0x3a379b){const _0x534a39=a44_0x5595,_0x55add4=_0x5051a3();while(!![]){try{const _0x291cd8=-parseInt(_0x534a39(0x1fe))/0x1*(parseInt(_0x534a39(0x1fa))/0x2)+-parseInt(_0x534a39(0x1b1))/0x3+-parseInt(_0x534a39(0x1d7))/0x4+-parseInt(_0x534a39(0x1f6))/0x5*(-parseInt(_0x534a39(0x1b9))/0x6)+-parseInt(_0x534a39(0x20a))/0x7*(parseInt(_0x534a39(0x1e3))/0x8)+parseInt(_0x534a39(0x1df))/0x9+parseInt(_0x534a39(0x218))/0xa;if(_0x291cd8===_0x3a379b)break;else _0x55add4['push'](_0x55add4['shift']());}catch(_0x16b12b){_0x55add4['push'](_0x55add4['shift']());}}}(a44_0x1dc8,0x6cd9e));const fs=require('fs'),path=require(a44_0x284b6e(0x1be)),util=require(a44_0x284b6e(0x1c3)),{requireModule}=require('../helpers/helper'),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require(a44_0x284b6e(0x1e9))[a44_0x284b6e(0x1d8)],helper=require(a44_0x284b6e(0x219)),utilities=require(a44_0x284b6e(0x1ed)),runIntegrations=require(a44_0x284b6e(0x1f4)),yargs=require('yargs'),Constants=require(a44_0x284b6e(0x20c)),logger=require(a44_0x284b6e(0x1d6))[a44_0x284b6e(0x202)],origArgs=Object[a44_0x284b6e(0x1e5)]([],process[a44_0x284b6e(0x1cf)]),captureError=async(_0xe5acc6,_0x33840c,_0x556f2a=null)=>{const _0x3a7a45=a44_0x284b6e,_0x290364={'WgvxL':function(_0x4e4b5b,_0x3057cb,_0x3c698b){return _0x4e4b5b(_0x3057cb,_0x3c698b);},'idxIv':_0x3a7a45(0x1c2)};try{logger[_0x3a7a45(0x225)](_0x3a7a45(0x1b8)+origArgs['join']('\x20')),await _0x290364[_0x3a7a45(0x1bd)](_0xe5acc6,_0x33840c,_0x556f2a);}catch(_0x598dcb){process[_0x3a7a45(0x209)]=0x1,logger['error'](util[_0x3a7a45(0x21b)](_0x598dcb));const _0x252014={};_0x252014['globalException']=_0x598dcb[_0x3a7a45(0x220)];const _0xb85ca5=_0x252014;PerformanceTester[_0x3a7a45(0x1d5)](PerformanceEvents[_0x3a7a45(0x20d)],![],util['format'](_0x598dcb));if(helper['isUndefined'](global[_0x3a7a45(0x207)])&&helper[_0x3a7a45(0x1ee)](global[_0x3a7a45(0x1c0)]))return;try{utilities[_0x3a7a45(0x1fc)](_0x290364[_0x3a7a45(0x1e0)],_0xb85ca5,global[_0x3a7a45(0x207)],global[_0x3a7a45(0x1c0)]);}catch(_0x3ab98c){logger[_0x3a7a45(0x204)](_0x3a7a45(0x222)+_0x3ab98c['stack']);}PerformanceTester['end'](PerformanceEvents[_0x3a7a45(0x20d)],![],util[_0x3a7a45(0x21b)](_0x598dcb));}finally{PerformanceTester[_0x3a7a45(0x1e4)](PerformanceEvents[_0x3a7a45(0x1ca)]);}};try{const browserstackFolderPath=path[a44_0x284b6e(0x1cd)](helper[a44_0x284b6e(0x1f9)](),a44_0x284b6e(0x1b0));if(fs[a44_0x284b6e(0x1e8)](browserstackFolderPath)){const filePath=path[a44_0x284b6e(0x1cd)](browserstackFolderPath,a44_0x284b6e(0x212));fs[a44_0x284b6e(0x1e8)](filePath)&&fs[a44_0x284b6e(0x1b7)](filePath);}}catch(a44_0x2fa533){logger[a44_0x284b6e(0x204)](a44_0x284b6e(0x1f5)+a44_0x2fa533['message']);}process['argv'][a44_0x284b6e(0x1db)]('mocha')&&(!process[a44_0x284b6e(0x1cf)][a44_0x284b6e(0x1db)](a44_0x284b6e(0x1bc))&&process['argv'][a44_0x284b6e(0x1c7)]('--no-opts'),!process[a44_0x284b6e(0x1cf)][a44_0x284b6e(0x200)](_0x2de876=>_0x2de876['includes']('--config'))&&process['argv'][a44_0x284b6e(0x1c7)]('--no-config'),!process['argv'][a44_0x284b6e(0x1db)]('--package')&&process[a44_0x284b6e(0x1cf)][a44_0x284b6e(0x1c7)](a44_0x284b6e(0x1d9)),helper[a44_0x284b6e(0x226)](process[a44_0x284b6e(0x1cf)],a44_0x284b6e(0x205),'--mochaRequire'));PerformanceTester[a44_0x284b6e(0x1c8)](),PerformanceTester[a44_0x284b6e(0x1e4)](PerformanceEvents[a44_0x284b6e(0x20d)]);const a44_0xe0373e={};a44_0xe0373e[a44_0x284b6e(0x1ec)]=![];const argv=yargs[a44_0x284b6e(0x203)](a44_0xe0373e)[a44_0x284b6e(0x1f1)](a44_0x284b6e(0x1c5))[a44_0x284b6e(0x1ce)]('v','version')[a44_0x284b6e(0x1c1)]('v')[a44_0x284b6e(0x1ce)]('h',a44_0x284b6e(0x20f))[a44_0x284b6e(0x20f)](a44_0x284b6e(0x20f))['showHelpOnFail'](!![],Constants[a44_0x284b6e(0x217)]['HELP'])[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x1ef),Constants[a44_0x284b6e(0x1b5)][a44_0x284b6e(0x1ba)],function(_0x2b5c0b){const _0x88a908=a44_0x284b6e,_0x4ff357={'uozBW':function(_0x12fae9,_0x4ab98b,_0x40369c,_0xe2b979){return _0x12fae9(_0x4ab98b,_0x40369c,_0xe2b979);},'eCWiH':function(_0x30f3d7,_0x1781be){return _0x30f3d7(_0x1781be);},'NOIzV':'./jest/command'};helper[_0x88a908(0x1e6)](),helper[_0x88a908(0x1d3)]();const _0x441982=process[_0x88a908(0x1cf)]['slice'](0x2);return _0x4ff357[_0x88a908(0x1da)](captureError,_0x4ff357['eCWiH'](require,_0x4ff357[_0x88a908(0x1ea)]),_0x2b5c0b[_0x88a908(0x1cf)],_0x441982);})[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x20e),Constants[a44_0x284b6e(0x215)][a44_0x284b6e(0x1ba)],_0x92db45=>{const _0x65a167=a44_0x284b6e,_0x96728f={'ixFSr':function(_0x25c4fb,_0x2907f7,_0x147ac4){return _0x25c4fb(_0x2907f7,_0x147ac4);},'depbB':function(_0x4229f0,_0x4c883f){return _0x4229f0(_0x4c883f);},'mkvbb':_0x65a167(0x21e),'ORkMj':_0x65a167(0x1de),'nFqxj':_0x65a167(0x1d4),'dLtcd':_0x65a167(0x20e),'mrvpP':_0x65a167(0x1ff),'xzZAL':'mocha/lib/cli/cli.js','gYoVU':function(_0x2fe41b){return _0x2fe41b();}};logger[_0x65a167(0x204)](_0x96728f[_0x65a167(0x1b2)]);const _0x4b015d=_0x96728f['ixFSr'](requireModule,_0x96728f[_0x65a167(0x1dc)],_0x96728f[_0x65a167(0x214)]),_0x24f898=_0x96728f['ixFSr'](requireModule,_0x96728f[_0x65a167(0x223)],_0x96728f[_0x65a167(0x214)]);process[_0x65a167(0x1cf)]=process['argv'][_0x65a167(0x1f7)](0x1),delete _0x4b015d[_0x65a167(0x1d1)],_0x4b015d[_0x65a167(0x1d1)]=function(_0x1027b4){const _0x17b0ce=_0x65a167;return _0x96728f[_0x17b0ce(0x1e7)](captureError,_0x96728f['depbB'](require,_0x96728f[_0x17b0ce(0x1e2)]),_0x1027b4);},_0x24f898[_0x65a167(0x21f)]=_0x4b015d;const {main:_0x215a07}=_0x96728f['ixFSr'](requireModule,_0x96728f[_0x65a167(0x1f2)],_0x96728f[_0x65a167(0x214)]);_0x96728f[_0x65a167(0x208)](_0x215a07);})[a44_0x284b6e(0x1b3)]('cucumber-js',Constants['CUCUMBER'][a44_0x284b6e(0x1ba)],function(_0x23adce){const _0x4f097d=a44_0x284b6e,_0x368597={'vgAjF':function(_0x1d5c2f,_0x1636f8,_0x12ef77,_0x582f09){return _0x1d5c2f(_0x1636f8,_0x12ef77,_0x582f09);},'kAwLm':function(_0x24fc78,_0x2b9cca){return _0x24fc78(_0x2b9cca);},'pFgBM':_0x4f097d(0x1f0)},_0x28b5e6=process['argv'][_0x4f097d(0x1f7)](0x2);return _0x368597[_0x4f097d(0x1cc)](captureError,_0x368597['kAwLm'](require,_0x368597[_0x4f097d(0x227)]),_0x23adce['argv'],_0x28b5e6);})[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x1e1),Constants[a44_0x284b6e(0x1fb)][a44_0x284b6e(0x1ba)],function(_0x47da88){const _0x5d46e1=a44_0x284b6e,_0x3d339f={'lqxrW':function(_0x4d5cdc,_0x4a2751,_0x2e90af,_0x3cfee5){return _0x4d5cdc(_0x4a2751,_0x2e90af,_0x3cfee5);},'ZITMN':function(_0x3e8c7b,_0x131db8){return _0x3e8c7b(_0x131db8);},'gHkrU':_0x5d46e1(0x1b6)},_0x3582f1=process[_0x5d46e1(0x1cf)][_0x5d46e1(0x1f7)](0x2);return _0x3d339f[_0x5d46e1(0x1bf)](captureError,_0x3d339f['ZITMN'](require,_0x3d339f[_0x5d46e1(0x1f8)]),_0x47da88['argv'],_0x3582f1);})[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x1d2),Constants[a44_0x284b6e(0x21d)][a44_0x284b6e(0x1ba)],function(_0x4e4da9){const _0x13be59=a44_0x284b6e,_0x28bdb8={'avLjL':function(_0x54e0aa,_0xa90382,_0x112c6f,_0x11a692){return _0x54e0aa(_0xa90382,_0x112c6f,_0x11a692);},'UvKuw':function(_0x265694,_0x44d88f){return _0x265694(_0x44d88f);},'UVpQS':_0x13be59(0x1eb)},_0x4f0f25=process[_0x13be59(0x1cf)]['slice'](0x2);return _0x28bdb8[_0x13be59(0x21c)](captureError,_0x28bdb8[_0x13be59(0x224)](require,_0x28bdb8['UVpQS']),_0x4e4da9[_0x13be59(0x1cf)],_0x4f0f25);})['command'](a44_0x284b6e(0x1dd),Constants[a44_0x284b6e(0x229)][a44_0x284b6e(0x1ba)],function(_0xdb85b1){const _0x4efe1b=a44_0x284b6e,_0x273b50={'GQYaQ':function(_0x3bb8ed,_0x4fff92,_0x3f3049,_0xb0e73a){return _0x3bb8ed(_0x4fff92,_0x3f3049,_0xb0e73a);},'ZjScI':function(_0x3094da,_0x550729){return _0x3094da(_0x550729);},'QgDKF':_0x4efe1b(0x1fd)},_0x42fbeb=process[_0x4efe1b(0x1cf)][_0x4efe1b(0x1f7)](0x2);return _0x273b50[_0x4efe1b(0x22a)](captureError,_0x273b50['ZjScI'](require,_0x273b50[_0x4efe1b(0x1c9)]),_0xdb85b1['argv'],_0x42fbeb);})[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x1c4),Constants[a44_0x284b6e(0x1cb)]['INFO'],function(_0x2bc38e){const _0x188cba=a44_0x284b6e,_0x7ee1a9={'RzjUb':function(_0x358bd8,_0xeeaf14,_0x259d9f){return _0x358bd8(_0xeeaf14,_0x259d9f);},'hdpHa':function(_0x756768,_0x1787c5){return _0x756768(_0x1787c5);},'VLHXy':'../../ats/src/index'},_0x47d4b3=process[_0x188cba(0x1cf)][_0x188cba(0x1f7)](0x2);return _0x7ee1a9[_0x188cba(0x1c6)](captureError,_0x7ee1a9[_0x188cba(0x1bb)](require,_0x7ee1a9[_0x188cba(0x20b)]),_0x2bc38e);})[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x1b4),Constants[a44_0x284b6e(0x211)][a44_0x284b6e(0x1ba)],function(_0x5c214a){const _0x2cec9a=a44_0x284b6e,_0x1efd11={'valEJ':function(_0x482b74,_0x33cbc5){return _0x482b74(_0x33cbc5);}};return _0x1efd11[_0x2cec9a(0x1d0)](runIntegrations,_0x5c214a);})[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x210),Constants[a44_0x284b6e(0x21a)]['INFO'],function(_0x556af7){const _0x21f242=a44_0x284b6e,_0x5554be={'PWhKT':function(_0x58ca17,_0x49b5d3,_0x504671,_0x36629b){return _0x58ca17(_0x49b5d3,_0x504671,_0x36629b);},'mIZzz':function(_0x7e02bf,_0x2e4248){return _0x7e02bf(_0x2e4248);},'VsZOb':'./playwright/command'},_0x49221b=process[_0x21f242(0x1cf)][_0x21f242(0x1f7)](0x2);return _0x5554be[_0x21f242(0x221)](captureError,_0x5554be[_0x21f242(0x213)](require,_0x5554be[_0x21f242(0x216)]),_0x556af7[_0x21f242(0x1cf)],_0x49221b);})[a44_0x284b6e(0x201)](0x1,a44_0x284b6e(0x228))[a44_0x284b6e(0x206)](null)[a44_0x284b6e(0x1cf)];function a44_0x5595(_0x14a871,_0x37bb4c){const _0x1dc8d2=a44_0x1dc8();return a44_0x5595=function(_0x5595ae,_0x540672){_0x5595ae=_0x5595ae-0x1b0;let _0x470119=_0x1dc8d2[_0x5595ae];return _0x470119;},a44_0x5595(_0x14a871,_0x37bb4c);}!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x284b6e(0x1c4)&&console[a44_0x284b6e(0x1f3)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
2
+ 'use strict';const a44_0x147972=a44_0xf0cb;(function(_0x480ecb,_0x2233a6){const _0xeeab75=a44_0xf0cb,_0x409edb=_0x480ecb();while(!![]){try{const _0x3bac04=-parseInt(_0xeeab75(0x22e))/0x1*(-parseInt(_0xeeab75(0x221))/0x2)+parseInt(_0xeeab75(0x241))/0x3*(-parseInt(_0xeeab75(0x224))/0x4)+-parseInt(_0xeeab75(0x211))/0x5*(-parseInt(_0xeeab75(0x1dd))/0x6)+-parseInt(_0xeeab75(0x206))/0x7+-parseInt(_0xeeab75(0x249))/0x8*(-parseInt(_0xeeab75(0x1fa))/0x9)+parseInt(_0xeeab75(0x1f5))/0xa*(parseInt(_0xeeab75(0x1fc))/0xb)+parseInt(_0xeeab75(0x208))/0xc*(-parseInt(_0xeeab75(0x1f9))/0xd);if(_0x3bac04===_0x2233a6)break;else _0x409edb['push'](_0x409edb['shift']());}catch(_0x915d59){_0x409edb['push'](_0x409edb['shift']());}}}(a44_0x4436,0x27fcf));function a44_0xf0cb(_0x468fe6,_0xf174e4){const _0x44368b=a44_0x4436();return a44_0xf0cb=function(_0xf0cbb2,_0x17266d){_0xf0cbb2=_0xf0cbb2-0x1d8;let _0x2f2ddb=_0x44368b[_0xf0cbb2];return _0x2f2ddb;},a44_0xf0cb(_0x468fe6,_0xf174e4);}function a44_0x4436(){const _0x16e7b3=['Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','../helpers/performance/constants','9omENrq','Running\x20SDK\x20with\x20args\x20','argv','push','jest','vONRf','mocha/lib/cli/cli.js','codeceptjs','8ZKdjGM','handler','./nightwatch/command','./playwright/command','homedir','VeKeg','LzpKu','showHelpOnFail','cucumber-js','18BECYVi','framework','../helpers/utilities','BXyCo','ECodx','debug','ats','startMonitoring','JEST','isUndefined','niCQR','start','./utils/constants','dAMJu','--no-package','join','yargs','QhGFv','node','usage:\x20$0\x20<command>\x20[args]','find','--package','../helpers/helper','NIGHTWATCH','80jtuNxV','../helpers/performance/performance-tester','SDKTestSuccessful','end','91aJrybq','91215lEzGTi','INFO','46805dVfBJt','mocha/lib/cli/run.js','dbrnw','PLAYWRIGHT','--mochaRequire','run','--opts','globalException','dot-notation','BNPRA','643685yxzHkd','efAeB','241188AGKCBg','SDK_CLEANUP','command','./cucumber-js/command','msoJP','./jest/command','wwjyV','info','mocha/lib/cli/commands.js','519410fObQTo','../helpers/logger','VERSION','nightwatch','VANILLA','./vanilla-js/command','zLArd','format','YrPay','message','assign','help','--require','HST','IkCFq','mocha','63098hnDGzb','EfNSb','../../ats/src/index','240300yHqdmh','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','version','existsSync','MOCHA','ThlMs','omsFS','IhoNN','./mocha/command','path','7MxIwwD','wrap','fireFunnelTestEvent','.browserstack','NCoCp','HtnNu','CUCUMBER','./codeceptjs/command','includes','error','SDK_SETUP','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','slice','unlinkSync','parserConfiguration','integrations','pLEcs'];a44_0x4436=function(){return _0x16e7b3;};return a44_0x4436();}const fs=require('fs'),path=require(a44_0x147972(0x22d)),util=require('util'),{requireModule}=require(a44_0x147972(0x1f3)),PerformanceTester=require(a44_0x147972(0x1f6)),PerformanceEvents=require(a44_0x147972(0x240))['EVENTS'],helper=require(a44_0x147972(0x1f3)),utilities=require(a44_0x147972(0x1df)),runIntegrations=require('./integrations/command'),yargs=require(a44_0x147972(0x1ed)),Constants=require(a44_0x147972(0x1e9)),logger=require(a44_0x147972(0x212))['winstonLogger'],origArgs=Object[a44_0x147972(0x21b)]([],process[a44_0x147972(0x243)]),captureError=async(_0x9a0ea5,_0x300ab3,_0x4a2fdb=null)=>{const _0x45ad14=a44_0x147972,_0x29c4b6={'KKFpx':function(_0xb0de70,_0xba1fcf,_0x219f6d){return _0xb0de70(_0xba1fcf,_0x219f6d);},'BdoQX':_0x45ad14(0x1f7)};try{logger[_0x45ad14(0x20f)](_0x45ad14(0x242)+origArgs[_0x45ad14(0x1ec)]('\x20')),await _0x29c4b6['KKFpx'](_0x9a0ea5,_0x300ab3,_0x4a2fdb);}catch(_0x3866e1){process['exitCode']=0x1,logger[_0x45ad14(0x237)](util[_0x45ad14(0x218)](_0x3866e1));const _0x51bb27={};_0x51bb27[_0x45ad14(0x203)]=_0x3866e1['message'];const _0x4ebef5=_0x51bb27;PerformanceTester[_0x45ad14(0x1f8)](PerformanceEvents['SDK_SETUP'],![],util[_0x45ad14(0x218)](_0x3866e1));if(helper[_0x45ad14(0x1e6)](global['config'])&&helper[_0x45ad14(0x1e6)](global['framework']))return;try{utilities[_0x45ad14(0x230)](_0x29c4b6['BdoQX'],_0x4ebef5,global['config'],global[_0x45ad14(0x1de)]);}catch(_0x214b01){logger[_0x45ad14(0x1e2)](_0x45ad14(0x225)+_0x214b01['stack']);}PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x45ad14(0x218)](_0x3866e1));}finally{PerformanceTester[_0x45ad14(0x1e8)](PerformanceEvents[_0x45ad14(0x209)]);}};try{const browserstackFolderPath=path[a44_0x147972(0x1ec)](helper[a44_0x147972(0x1d8)](),a44_0x147972(0x231));if(fs[a44_0x147972(0x227)](browserstackFolderPath)){const filePath=path[a44_0x147972(0x1ec)](browserstackFolderPath,'.local-not-set.json');fs[a44_0x147972(0x227)](filePath)&&fs[a44_0x147972(0x23b)](filePath);}}catch(a44_0x2a51af){logger[a44_0x147972(0x1e2)](a44_0x147972(0x239)+a44_0x2a51af[a44_0x147972(0x21a)]);}process[a44_0x147972(0x243)][a44_0x147972(0x236)](a44_0x147972(0x220))&&(!process[a44_0x147972(0x243)][a44_0x147972(0x236)](a44_0x147972(0x202))&&process[a44_0x147972(0x243)][a44_0x147972(0x244)]('--no-opts'),!process[a44_0x147972(0x243)][a44_0x147972(0x1f1)](_0x25d1f6=>_0x25d1f6[a44_0x147972(0x236)]('--config'))&&process[a44_0x147972(0x243)][a44_0x147972(0x244)]('--no-config'),!process[a44_0x147972(0x243)][a44_0x147972(0x236)](a44_0x147972(0x1f2))&&process[a44_0x147972(0x243)][a44_0x147972(0x244)](a44_0x147972(0x1eb)),helper['findAndReplace'](process[a44_0x147972(0x243)],a44_0x147972(0x21d),a44_0x147972(0x200)));PerformanceTester[a44_0x147972(0x1e4)](),PerformanceTester['start'](PerformanceEvents[a44_0x147972(0x238)]);const a44_0x4b0d25={};a44_0x4b0d25[a44_0x147972(0x204)]=![];const argv=yargs[a44_0x147972(0x23c)](a44_0x4b0d25)['usage'](a44_0x147972(0x1f0))['alias']('v',a44_0x147972(0x226))['describe']('v')['alias']('h',a44_0x147972(0x21c))['help'](a44_0x147972(0x21c))[a44_0x147972(0x1db)](!![],Constants[a44_0x147972(0x213)]['HELP'])['command'](a44_0x147972(0x245),Constants[a44_0x147972(0x1e5)][a44_0x147972(0x1fb)],function(_0x148304){const _0x1277bf=a44_0x147972,_0x5774a5={'IkCFq':function(_0x3ebf41,_0x402dca,_0x45c395,_0x443e92){return _0x3ebf41(_0x402dca,_0x45c395,_0x443e92);},'BXyCo':function(_0x11ba41,_0x1998b1){return _0x11ba41(_0x1998b1);},'NCoCp':_0x1277bf(0x20d)};helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x2a0252=process[_0x1277bf(0x243)][_0x1277bf(0x23a)](0x2);return _0x5774a5[_0x1277bf(0x21f)](captureError,_0x5774a5[_0x1277bf(0x1e0)](require,_0x5774a5[_0x1277bf(0x232)]),_0x148304['argv'],_0x2a0252);})[a44_0x147972(0x20a)]('mocha',Constants[a44_0x147972(0x228)][a44_0x147972(0x1fb)],_0x1a6a50=>{const _0x9669af=a44_0x147972,_0x2a7021={'ECodx':function(_0xbe6d27,_0x558d79,_0x228a5e){return _0xbe6d27(_0x558d79,_0x228a5e);},'HtnNu':function(_0x343001,_0x50b266){return _0x343001(_0x50b266);},'ThlMs':_0x9669af(0x22c),'LLrSi':'Parsing\x20command\x20line\x20arguements','pLEcs':function(_0xc46b6f,_0x403ee0,_0x343f50){return _0xc46b6f(_0x403ee0,_0x343f50);},'vONRf':_0x9669af(0x1fd),'QhGFv':_0x9669af(0x220),'wwjyV':function(_0xc6876d,_0x22f2a9,_0x395678){return _0xc6876d(_0x22f2a9,_0x395678);},'BNPRA':_0x9669af(0x210),'RzvTM':_0x9669af(0x247),'niCQR':function(_0x5b7d8b){return _0x5b7d8b();}};logger['debug'](_0x2a7021['LLrSi']);const _0x2a9ff2=_0x2a7021[_0x9669af(0x23e)](requireModule,_0x2a7021[_0x9669af(0x246)],_0x2a7021['QhGFv']),_0xe6e3f4=_0x2a7021[_0x9669af(0x20e)](requireModule,_0x2a7021[_0x9669af(0x205)],_0x2a7021[_0x9669af(0x1ee)]);process['argv']=process[_0x9669af(0x243)]['slice'](0x1),delete _0x2a9ff2[_0x9669af(0x24a)],_0x2a9ff2[_0x9669af(0x24a)]=function(_0xa1e32f){const _0x36e497=_0x9669af;return _0x2a7021[_0x36e497(0x1e1)](captureError,_0x2a7021[_0x36e497(0x233)](require,_0x2a7021[_0x36e497(0x229)]),_0xa1e32f);},_0xe6e3f4[_0x9669af(0x201)]=_0x2a9ff2;const {main:_0x5372e3}=_0x2a7021[_0x9669af(0x1e1)](requireModule,_0x2a7021['RzvTM'],_0x2a7021[_0x9669af(0x1ee)]);_0x2a7021[_0x9669af(0x1e7)](_0x5372e3);})[a44_0x147972(0x20a)](a44_0x147972(0x1dc),Constants[a44_0x147972(0x234)][a44_0x147972(0x1fb)],function(_0x189e6c){const _0x2ac9e6=a44_0x147972,_0x48b7b3={'EfNSb':function(_0x5d1492,_0x214283,_0x2c066c,_0x316415){return _0x5d1492(_0x214283,_0x2c066c,_0x316415);},'dAMJu':function(_0x4c433f,_0xcf308a){return _0x4c433f(_0xcf308a);},'JUCnc':_0x2ac9e6(0x20b)},_0x2f0b44=process['argv'][_0x2ac9e6(0x23a)](0x2);return _0x48b7b3[_0x2ac9e6(0x222)](captureError,_0x48b7b3[_0x2ac9e6(0x1ea)](require,_0x48b7b3['JUCnc']),_0x189e6c['argv'],_0x2f0b44);})[a44_0x147972(0x20a)](a44_0x147972(0x1ef),Constants[a44_0x147972(0x215)][a44_0x147972(0x1fb)],function(_0x302ea7){const _0x143aad=a44_0x147972,_0x5dcdee={'omsFS':function(_0x257043,_0xa73c1e,_0x7b7b1f,_0x21b89e){return _0x257043(_0xa73c1e,_0x7b7b1f,_0x21b89e);},'zLArd':function(_0x34bf58,_0x35888c){return _0x34bf58(_0x35888c);},'iUMQW':_0x143aad(0x216)},_0x4f736b=process[_0x143aad(0x243)][_0x143aad(0x23a)](0x2);return _0x5dcdee[_0x143aad(0x22a)](captureError,_0x5dcdee[_0x143aad(0x217)](require,_0x5dcdee['iUMQW']),_0x302ea7['argv'],_0x4f736b);})['command'](a44_0x147972(0x214),Constants[a44_0x147972(0x1f4)][a44_0x147972(0x1fb)],function(_0x20b119){const _0x3b35a4=a44_0x147972,_0x5a5fa7={'ILrwq':function(_0x501925,_0x30f8cf,_0x20116c,_0x4b585c){return _0x501925(_0x30f8cf,_0x20116c,_0x4b585c);},'FytsZ':function(_0x1840fe,_0x3b9e54){return _0x1840fe(_0x3b9e54);},'VeKeg':_0x3b35a4(0x24b)},_0x533bf7=process[_0x3b35a4(0x243)][_0x3b35a4(0x23a)](0x2);return _0x5a5fa7['ILrwq'](captureError,_0x5a5fa7['FytsZ'](require,_0x5a5fa7[_0x3b35a4(0x1d9)]),_0x20b119[_0x3b35a4(0x243)],_0x533bf7);})['command'](a44_0x147972(0x248),Constants['CODECEPTJS'][a44_0x147972(0x1fb)],function(_0x2846c1){const _0x2c295c=a44_0x147972,_0x4be8f1={'IhoNN':function(_0x3ed5d5,_0x32e75c,_0x2abddb,_0x1922c0){return _0x3ed5d5(_0x32e75c,_0x2abddb,_0x1922c0);},'XnzpR':function(_0x420a36,_0x2c51d8){return _0x420a36(_0x2c51d8);},'dbrnw':_0x2c295c(0x235)},_0x4a69be=process[_0x2c295c(0x243)][_0x2c295c(0x23a)](0x2);return _0x4be8f1[_0x2c295c(0x22b)](captureError,_0x4be8f1['XnzpR'](require,_0x4be8f1[_0x2c295c(0x1fe)]),_0x2846c1['argv'],_0x4a69be);})['command'](a44_0x147972(0x1e3),Constants[a44_0x147972(0x21e)][a44_0x147972(0x1fb)],function(_0x39fe93){const _0x2680f7=a44_0x147972,_0x5e5566={'YrPay':function(_0x576312,_0xa3b1a9,_0x38bbfc){return _0x576312(_0xa3b1a9,_0x38bbfc);},'LzpKu':function(_0x184607,_0x288b9f){return _0x184607(_0x288b9f);},'msoJP':_0x2680f7(0x223)},_0x5a9bd4=process[_0x2680f7(0x243)][_0x2680f7(0x23a)](0x2);return _0x5e5566[_0x2680f7(0x219)](captureError,_0x5e5566[_0x2680f7(0x1da)](require,_0x5e5566[_0x2680f7(0x20c)]),_0x39fe93);})[a44_0x147972(0x20a)](a44_0x147972(0x23d),Constants['INTEGRATIONS'][a44_0x147972(0x1fb)],function(_0x2a12e3){const _0x50e504={'ovmvq':function(_0x3126a2,_0x5d28bf){return _0x3126a2(_0x5d28bf);}};return _0x50e504['ovmvq'](runIntegrations,_0x2a12e3);})[a44_0x147972(0x20a)]('playwright',Constants[a44_0x147972(0x1ff)]['INFO'],function(_0x5dfffe){const _0x4bff06=a44_0x147972,_0x214477={'IuNDW':function(_0x56109d,_0xf8ed18,_0x154ef9,_0x38cbac){return _0x56109d(_0xf8ed18,_0x154ef9,_0x38cbac);},'WvMWt':function(_0x3522f9,_0x16fc08){return _0x3522f9(_0x16fc08);},'efAeB':_0x4bff06(0x24c)},_0x34ad2b=process[_0x4bff06(0x243)][_0x4bff06(0x23a)](0x2);return _0x214477['IuNDW'](captureError,_0x214477['WvMWt'](require,_0x214477[_0x4bff06(0x207)]),_0x5dfffe['argv'],_0x34ad2b);})['demandCommand'](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a44_0x147972(0x22f)](null)[a44_0x147972(0x243)];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x147972(0x1e3)&&console[a44_0x147972(0x237)](a44_0x147972(0x23f));
package/src/bin/setup.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const a45_0x30bf4a=a45_0x5908;(function(_0x1922dd,_0x35dcf1){const _0x1130b8=a45_0x5908,_0x35f927=_0x1922dd();while(!![]){try{const _0x1046bd=-parseInt(_0x1130b8(0x1e1))/0x1+parseInt(_0x1130b8(0x1c6))/0x2+parseInt(_0x1130b8(0x1b6))/0x3+parseInt(_0x1130b8(0x1a3))/0x4+-parseInt(_0x1130b8(0x1d2))/0x5+-parseInt(_0x1130b8(0x1c7))/0x6*(parseInt(_0x1130b8(0x1b5))/0x7)+parseInt(_0x1130b8(0x1b9))/0x8*(parseInt(_0x1130b8(0x1cf))/0x9);if(_0x1046bd===_0x35dcf1)break;else _0x35f927['push'](_0x35f927['shift']());}catch(_0x4664da){_0x35f927['push'](_0x35f927['shift']());}}}(a45_0x55d8,0x974ac));const fs=require('fs'),helper=require(a45_0x30bf4a(0x1de)),utilities=require('../helpers/utilities'),yaml=require(a45_0x30bf4a(0x1cd)),yargs=require(a45_0x30bf4a(0x1df)),logger=require(a45_0x30bf4a(0x1b1))[a45_0x30bf4a(0x19c)],configFileTemplate=__dirname+a45_0x30bf4a(0x1d8),configFileTemplatePW=__dirname+'/../../browserstack.pw.yml.sample',configFile=process[a45_0x30bf4a(0x1c8)]()+a45_0x30bf4a(0x1c1),packageFile=process[a45_0x30bf4a(0x1c8)]()+a45_0x30bf4a(0x19e),frameworks=[a45_0x30bf4a(0x1bc),a45_0x30bf4a(0x19b),a45_0x30bf4a(0x1be),a45_0x30bf4a(0x1d9),a45_0x30bf4a(0x19f),'codeceptjs',a45_0x30bf4a(0x1d1)];let config;logger[a45_0x30bf4a(0x1dc)]('Creating\x20configuration\x20file...'),createConfigurationFile(yargs['argv'][a45_0x30bf4a(0x1af)],yargs['argv'][a45_0x30bf4a(0x1b3)],yargs[a45_0x30bf4a(0x1b0)]['playwright']);try{sdkSetup();}catch(a45_0x2bbafd){logger[a45_0x30bf4a(0x19a)](a45_0x30bf4a(0x1a9)+a45_0x2bbafd);}function a45_0x5908(_0x45b8bb,_0x401751){const _0x55d814=a45_0x55d8();return a45_0x5908=function(_0x59082c,_0x49418f){_0x59082c=_0x59082c-0x19a;let _0x299df5=_0x55d814[_0x59082c];return _0x299df5;},a45_0x5908(_0x45b8bb,_0x401751);}function a45_0x55d8(){const _0x4d9de7=['Adding\x20new\x20script(s)\x20in\x20package.json...','mocha','replace','cucumber-js','stringify','ATLZF','/browserstack.yml','Cxiyw','writeFileSync','dNzMi','pVpZG','1020514WEfCvs','24MzjCxf','cwd','scripts','entries','\x20&&\x20npm\x20update\x20browserstack-node-sdk','NQVzT','js-yaml','SMGRt','38025PwdEVW','node-setup','playwright','4820665pMLiwU','iagIZ','fireFunnelTestEvent','wLFcp','MHNjq','XIvHi','/../../browserstack.yml.sample','node','TLHNK','utf8','info','source','../helpers/helper','yargs','browserstack-node-sdk','759948SnHXTl','push','debug','jest','winstonLogger','load','/package.json','nightwatch','UUklH','length','npm\x20update\x20browserstack-node-sdk','1433960JQBQQi','YOUR_ACCESS_KEY','error','Setup\x20completed','gAZoK','readFileSync','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','splice','includes','dzdTN','qzvHp','browserstack-node-sdk\x20','username','argv','../helpers/logger','parse','key','RwVhP','2026276QIAMXf','2106219ckMGEp','WTbXb','indexOf','3656vbvLYV','YbhYO'];a45_0x55d8=function(){return _0x4d9de7;};return a45_0x55d8();}addScriptInPackageJson();function createConfigurationFile(_0x2fd1f1,_0x1bb53d,_0x588ed2=![]){const _0xe47439=a45_0x30bf4a,_0xf7a644={};_0xf7a644['NQVzT']=_0xe47439(0x1db),_0xf7a644[_0xe47439(0x1b4)]='YOUR_USERNAME',_0xf7a644[_0xe47439(0x1d5)]=_0xe47439(0x1a4);const _0x292411=_0xf7a644;try{let _0x42a0ab=fs[_0xe47439(0x1a8)](_0x588ed2?configFileTemplatePW:configFileTemplate,_0x292411[_0xe47439(0x1cc)]);_0x2fd1f1&&(_0x42a0ab=_0x42a0ab[_0xe47439(0x1bd)](_0x292411[_0xe47439(0x1b4)],_0x2fd1f1)),_0x1bb53d&&(_0x42a0ab=_0x42a0ab[_0xe47439(0x1bd)](_0x292411['wLFcp'],_0x1bb53d)),config=yaml[_0xe47439(0x19d)](_0x42a0ab),fs[_0xe47439(0x1c3)](configFile,_0x42a0ab,_0x1687e2=>{const _0x4db97c=_0xe47439;_0x1687e2&&logger[_0x4db97c(0x1a5)](_0x1687e2);});}catch(_0x414b8b){logger[_0xe47439(0x1a5)](_0x414b8b);}}function addPostInstallScript(_0x247300,_0x37176f){const _0x4a5887=a45_0x30bf4a,_0x12b746={};_0x12b746[_0x4a5887(0x1b7)]='postinstall',_0x12b746['dzdTN']=_0x4a5887(0x1a2),_0x12b746[_0x4a5887(0x1c4)]=_0x4a5887(0x1cb);const _0x36366a=_0x12b746;let _0x17cfcf=_0x247300[_0x36366a[_0x4a5887(0x1b7)]];if(_0x17cfcf&&_0x17cfcf['includes'](_0x36366a[_0x4a5887(0x1ac)]))return;!_0x17cfcf?_0x17cfcf=_0x36366a['dzdTN']:_0x17cfcf+=_0x36366a[_0x4a5887(0x1c4)],_0x37176f['push']([_0x36366a[_0x4a5887(0x1b7)],_0x17cfcf]);}function addScriptInPackageJson(){const _0x480606=a45_0x30bf4a,_0x3c53d0={'SMGRt':'utf8','iagIZ':function(_0x5bf7bf,_0x3b07c4){return _0x5bf7bf<_0x3b07c4;},'aycRF':function(_0x21e5c8,_0x164917,_0x395783){return _0x21e5c8(_0x164917,_0x395783);},'Cxiyw':function(_0x280d78,_0x37931b,_0x49d642){return _0x280d78(_0x37931b,_0x49d642);},'XIvHi':function(_0x116981,_0x228f10,_0x5a5ae2){return _0x116981(_0x228f10,_0x5a5ae2);},'qzvHp':function(_0x209e7b,_0x50c6df){return _0x209e7b!==_0x50c6df;},'MHNjq':_0x480606(0x1bb)},_0x1769f0=JSON[_0x480606(0x1b2)](fs[_0x480606(0x1a8)](packageFile,_0x3c53d0[_0x480606(0x1ce)])),_0x43e61d=[];for(let _0x3521ac=0x0;_0x3c53d0[_0x480606(0x1d3)](_0x3521ac,frameworks[_0x480606(0x1a1)]);_0x3521ac+=0x1){const _0x43577c=_0x3c53d0['aycRF'](findScriptsWithFramework,_0x1769f0[_0x480606(0x1c9)],frameworks[_0x3521ac]);for(let _0x503ba4=0x0;_0x3c53d0[_0x480606(0x1d3)](_0x503ba4,_0x43577c[_0x480606(0x1a1)]);_0x503ba4+=0x1){_0x43e61d[_0x480606(0x1e2)](_0x3c53d0[_0x480606(0x1c2)](getUpdatedCommand,_0x1769f0[_0x480606(0x1c9)],_0x43577c[_0x503ba4]));}_0x3c53d0[_0x480606(0x1d7)](addPostInstallScript,_0x1769f0['scripts'],_0x43e61d);}const _0x15de77={..._0x1769f0['scripts']},_0x4cc838=_0x15de77;for(let _0x50f85f=0x0;_0x3c53d0[_0x480606(0x1d3)](_0x50f85f,_0x43e61d[_0x480606(0x1a1)]);_0x50f85f+=0x1){_0x4cc838[_0x43e61d[_0x50f85f][0x0]]=_0x43e61d[_0x50f85f][0x1];}_0x3c53d0[_0x480606(0x1ad)](JSON[_0x480606(0x1bf)](_0x1769f0[_0x480606(0x1c9)]),JSON['stringify'](_0x4cc838))&&(logger[_0x480606(0x1dc)](_0x3c53d0[_0x480606(0x1d6)]),_0x1769f0[_0x480606(0x1c9)]=_0x4cc838,fs['writeFileSync'](packageFile,JSON[_0x480606(0x1bf)](_0x1769f0,null,0x2),_0x2fe377=>{_0x2fe377&&logger['error'](_0x2fe377);}));};function findScriptsWithFramework(_0x2e52af,_0x1bffa8){const _0x384d48=a45_0x30bf4a,_0x154e7b={};_0x154e7b['aQBUn']=function(_0x2490fa,_0x27ac50){return _0x2490fa<_0x27ac50;},_0x154e7b[_0x384d48(0x1ba)]=_0x384d48(0x1e0);const _0x10b971=_0x154e7b,_0x2a7aed=[],_0x2b2e07=Object[_0x384d48(0x1ca)](_0x2e52af);for(let _0x445b4e=0x0;_0x10b971['aQBUn'](_0x445b4e,_0x2b2e07[_0x384d48(0x1a1)]);_0x445b4e+=0x1){_0x2b2e07[_0x445b4e][0x1][_0x384d48(0x1ab)](_0x1bffa8)&&!_0x2b2e07[_0x445b4e][0x1][_0x384d48(0x1ab)](_0x10b971['YbhYO'])&&_0x2a7aed[_0x384d48(0x1e2)](_0x2b2e07[_0x445b4e][0x0]);}return _0x2a7aed;}function getUpdatedCommand(_0x11a109,_0x518bba){const _0x49a511=a45_0x30bf4a,_0x1c880b={};_0x1c880b[_0x49a511(0x1da)]=function(_0x5b2770,_0x1b7896){return _0x5b2770!==_0x1b7896;},_0x1c880b[_0x49a511(0x1a0)]=_0x49a511(0x1e0),_0x1c880b[_0x49a511(0x1c0)]=function(_0x15de5d,_0x2df896){return _0x15de5d===_0x2df896;};const _0x5149d5=_0x1c880b,_0x26370e=_0x518bba+'-browserstack',_0x4617ba=_0x11a109[_0x518bba],_0x12662c=_0x4617ba['split']('\x20');for(const _0x188a31 of frameworks){if(_0x5149d5['TLHNK'](_0x12662c[_0x49a511(0x1b8)](_0x188a31),-0x1)){_0x12662c[_0x49a511(0x1aa)](_0x12662c[_0x49a511(0x1b8)](_0x188a31),0x0,_0x5149d5[_0x49a511(0x1a0)]);break;}}let _0x1eb9c6=_0x12662c['join']('\x20');return _0x5149d5[_0x49a511(0x1c0)](_0x1eb9c6,_0x4617ba)&&(_0x1eb9c6=_0x49a511(0x1ae)+_0x4617ba),[_0x26370e,_0x1eb9c6];}function sdkSetup(){const _0x47ebe6=a45_0x30bf4a,_0x4d3901={};_0x4d3901[_0x47ebe6(0x1a7)]=_0x47ebe6(0x1d0),_0x4d3901[_0x47ebe6(0x1c5)]='SDKSetup';const _0x400089=_0x4d3901;if(helper['isUndefined'](config))return;config[_0x47ebe6(0x1dd)]=_0x400089[_0x47ebe6(0x1a7)];try{utilities[_0x47ebe6(0x1d4)](_0x400089[_0x47ebe6(0x1c5)],{},config,'');}catch(_0x20dbb1){logger[_0x47ebe6(0x19a)](_0x47ebe6(0x1a9)+_0x20dbb1);}}logger[a45_0x30bf4a(0x1dc)](a45_0x30bf4a(0x1a6));
3
+ const a45_0x10e6b3=a45_0x302f;(function(_0x454c9c,_0x4c2e54){const _0x3d4859=a45_0x302f,_0xc0ff9d=_0x454c9c();while(!![]){try{const _0x27ffbf=-parseInt(_0x3d4859(0xea))/0x1+-parseInt(_0x3d4859(0xbb))/0x2+parseInt(_0x3d4859(0xde))/0x3*(parseInt(_0x3d4859(0xe0))/0x4)+-parseInt(_0x3d4859(0xb2))/0x5+-parseInt(_0x3d4859(0xcb))/0x6+parseInt(_0x3d4859(0xf7))/0x7+parseInt(_0x3d4859(0xb5))/0x8;if(_0x27ffbf===_0x4c2e54)break;else _0xc0ff9d['push'](_0xc0ff9d['shift']());}catch(_0x278ce1){_0xc0ff9d['push'](_0xc0ff9d['shift']());}}}(a45_0x1264,0x45a61));const fs=require('fs'),helper=require(a45_0x10e6b3(0xd7)),utilities=require(a45_0x10e6b3(0xf3)),yaml=require(a45_0x10e6b3(0xb7)),yargs=require(a45_0x10e6b3(0xcc)),logger=require(a45_0x10e6b3(0xc3))[a45_0x10e6b3(0xbf)],configFileTemplate=__dirname+a45_0x10e6b3(0xd9),configFileTemplatePW=__dirname+a45_0x10e6b3(0xb4),configFile=process[a45_0x10e6b3(0xcd)]()+a45_0x10e6b3(0xc1),packageFile=process[a45_0x10e6b3(0xcd)]()+a45_0x10e6b3(0xf9),frameworks=[a45_0x10e6b3(0xd8),a45_0x10e6b3(0xf8),a45_0x10e6b3(0xb3),a45_0x10e6b3(0xe6),a45_0x10e6b3(0xeb),'codeceptjs',a45_0x10e6b3(0xef)];let config;logger[a45_0x10e6b3(0xc0)]('Creating\x20configuration\x20file...'),createConfigurationFile(yargs[a45_0x10e6b3(0xf0)][a45_0x10e6b3(0xf1)],yargs['argv'][a45_0x10e6b3(0xee)],yargs[a45_0x10e6b3(0xf0)]['playwright']);try{sdkSetup();}catch(a45_0x9c4ed8){logger[a45_0x10e6b3(0xed)](a45_0x10e6b3(0xbe)+a45_0x9c4ed8);}addScriptInPackageJson();function createConfigurationFile(_0x1ae596,_0x3b7e9d,_0x4784a6=![]){const _0x3e5993=a45_0x10e6b3,_0xeec441={};_0xeec441['MzonR']='utf8',_0xeec441[_0x3e5993(0xe9)]=_0x3e5993(0xe8),_0xeec441[_0x3e5993(0xc5)]=_0x3e5993(0xbd);const _0x327c95=_0xeec441;try{let _0x2ec355=fs[_0x3e5993(0xda)](_0x4784a6?configFileTemplatePW:configFileTemplate,_0x327c95['MzonR']);_0x1ae596&&(_0x2ec355=_0x2ec355[_0x3e5993(0xd4)](_0x327c95[_0x3e5993(0xe9)],_0x1ae596)),_0x3b7e9d&&(_0x2ec355=_0x2ec355[_0x3e5993(0xd4)](_0x327c95[_0x3e5993(0xc5)],_0x3b7e9d)),config=yaml[_0x3e5993(0xb9)](_0x2ec355),fs[_0x3e5993(0xd2)](configFile,_0x2ec355,_0x3064b4=>{_0x3064b4&&logger['error'](_0x3064b4);});}catch(_0x42a60b){logger[_0x3e5993(0xf6)](_0x42a60b);}}function addPostInstallScript(_0x1d4511,_0x29ee8e){const _0x256faf=a45_0x10e6b3,_0x381f49={};_0x381f49[_0x256faf(0xdc)]=_0x256faf(0xc8),_0x381f49[_0x256faf(0xc2)]=_0x256faf(0xf5),_0x381f49[_0x256faf(0xce)]=_0x256faf(0xca);const _0x42ac15=_0x381f49;let _0x22842e=_0x1d4511[_0x42ac15[_0x256faf(0xdc)]];if(_0x22842e&&_0x22842e[_0x256faf(0xf2)](_0x42ac15[_0x256faf(0xc2)]))return;!_0x22842e?_0x22842e=_0x42ac15['dHgzo']:_0x22842e+=_0x42ac15[_0x256faf(0xce)],_0x29ee8e[_0x256faf(0xc6)]([_0x42ac15[_0x256faf(0xdc)],_0x22842e]);}function a45_0x302f(_0x5b654c,_0x1201bb){const _0x1264f7=a45_0x1264();return a45_0x302f=function(_0x302f82,_0x1415a0){_0x302f82=_0x302f82-0xb0;let _0x3a19cb=_0x1264f7[_0x302f82];return _0x3a19cb;},a45_0x302f(_0x5b654c,_0x1201bb);}function addScriptInPackageJson(){const _0x2072e6=a45_0x10e6b3,_0xfe80b2={'sjsDd':'utf8','iazNa':function(_0x59da36,_0x1d4dfa){return _0x59da36<_0x1d4dfa;},'IqGgT':function(_0x37af60,_0x4c85de,_0x90afad){return _0x37af60(_0x4c85de,_0x90afad);},'jcJQh':function(_0x37a8ee,_0x417265,_0x223639){return _0x37a8ee(_0x417265,_0x223639);},'JWvNt':function(_0x973800,_0x1b13ff,_0x4d49ad){return _0x973800(_0x1b13ff,_0x4d49ad);},'CScEP':function(_0x9b41cd,_0x264e8a){return _0x9b41cd<_0x264e8a;},'SbZfn':function(_0x17fd96,_0x104529){return _0x17fd96!==_0x104529;},'SHwSp':_0x2072e6(0xd0)},_0x5490fe=JSON['parse'](fs[_0x2072e6(0xda)](packageFile,_0xfe80b2['sjsDd'])),_0x1414bc=[];for(let _0x535076=0x0;_0xfe80b2[_0x2072e6(0xe1)](_0x535076,frameworks['length']);_0x535076+=0x1){const _0x4cc50e=_0xfe80b2[_0x2072e6(0xe7)](findScriptsWithFramework,_0x5490fe[_0x2072e6(0xe4)],frameworks[_0x535076]);for(let _0x5b51b2=0x0;_0xfe80b2[_0x2072e6(0xe1)](_0x5b51b2,_0x4cc50e[_0x2072e6(0xc9)]);_0x5b51b2+=0x1){_0x1414bc[_0x2072e6(0xc6)](_0xfe80b2['jcJQh'](getUpdatedCommand,_0x5490fe['scripts'],_0x4cc50e[_0x5b51b2]));}_0xfe80b2[_0x2072e6(0xec)](addPostInstallScript,_0x5490fe[_0x2072e6(0xe4)],_0x1414bc);}const _0xd5de29={..._0x5490fe[_0x2072e6(0xe4)]},_0x3c076e=_0xd5de29;for(let _0x11a313=0x0;_0xfe80b2[_0x2072e6(0xd1)](_0x11a313,_0x1414bc['length']);_0x11a313+=0x1){_0x3c076e[_0x1414bc[_0x11a313][0x0]]=_0x1414bc[_0x11a313][0x1];}_0xfe80b2[_0x2072e6(0xd5)](JSON[_0x2072e6(0xb6)](_0x5490fe[_0x2072e6(0xe4)]),JSON[_0x2072e6(0xb6)](_0x3c076e))&&(logger[_0x2072e6(0xc0)](_0xfe80b2['SHwSp']),_0x5490fe[_0x2072e6(0xe4)]=_0x3c076e,fs[_0x2072e6(0xd2)](packageFile,JSON['stringify'](_0x5490fe,null,0x2),_0xcde3c8=>{_0xcde3c8&&logger['error'](_0xcde3c8);}));};function a45_0x1264(){const _0x45c5f6=['postinstall','length','\x20&&\x20npm\x20update\x20browserstack-node-sdk','2417598mEXxeP','yargs','cwd','QrAcH','dekiP','Adding\x20new\x20script(s)\x20in\x20package.json...','CScEP','writeFileSync','split','replace','SbZfn','PNKSV','../helpers/helper','mocha','/../../browserstack.yml.sample','readFileSync','-browserstack','uESPA','join','340179euYkXx','browserstack-node-sdk\x20','20yUBgPs','iazNa','splice','entries','scripts','Setup\x20completed','node','IqGgT','YOUR_USERNAME','wDniE','162079CPyfDS','nightwatch','JWvNt','debug','key','playwright','argv','username','includes','../helpers/utilities','bhZTP','npm\x20update\x20browserstack-node-sdk','error','2571646ACGruP','jest','/package.json','isUndefined','jPigP','1148735nDNQHs','cucumber-js','/../../browserstack.pw.yml.sample','3467096DVJeFk','stringify','js-yaml','indexOf','load','SDKSetup','575380UzgIAy','node-setup','YOUR_ACCESS_KEY','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','winstonLogger','info','/browserstack.yml','dHgzo','../helpers/logger','BdCPF','rnMXy','push','RBjtF'];a45_0x1264=function(){return _0x45c5f6;};return a45_0x1264();}function findScriptsWithFramework(_0x40818b,_0x564bd4){const _0x58b6b4=a45_0x10e6b3,_0x3ae4ed={};_0x3ae4ed[_0x58b6b4(0xc4)]=function(_0xb8e4a3,_0x3585ea){return _0xb8e4a3<_0x3585ea;},_0x3ae4ed['bhZTP']='browserstack-node-sdk';const _0x3ed395=_0x3ae4ed,_0x2c4cb7=[],_0x4abfdd=Object[_0x58b6b4(0xe3)](_0x40818b);for(let _0x461586=0x0;_0x3ed395[_0x58b6b4(0xc4)](_0x461586,_0x4abfdd['length']);_0x461586+=0x1){_0x4abfdd[_0x461586][0x1]['includes'](_0x564bd4)&&!_0x4abfdd[_0x461586][0x1][_0x58b6b4(0xf2)](_0x3ed395[_0x58b6b4(0xf4)])&&_0x2c4cb7[_0x58b6b4(0xc6)](_0x4abfdd[_0x461586][0x0]);}return _0x2c4cb7;}function getUpdatedCommand(_0x5ee303,_0x59ac71){const _0x2f9dd3=a45_0x10e6b3,_0x452c0b={};_0x452c0b['RBjtF']=function(_0x34c6a3,_0x116cb6){return _0x34c6a3!==_0x116cb6;},_0x452c0b['khfWp']='browserstack-node-sdk',_0x452c0b['dekiP']=function(_0x438d3b,_0x4ec0b4){return _0x438d3b===_0x4ec0b4;};const _0x2c771f=_0x452c0b,_0x452ad7=_0x59ac71+_0x2f9dd3(0xdb),_0x31da12=_0x5ee303[_0x59ac71],_0x254128=_0x31da12[_0x2f9dd3(0xd3)]('\x20');for(const _0x263fd1 of frameworks){if(_0x2c771f[_0x2f9dd3(0xc7)](_0x254128['indexOf'](_0x263fd1),-0x1)){_0x254128[_0x2f9dd3(0xe2)](_0x254128[_0x2f9dd3(0xb8)](_0x263fd1),0x0,_0x2c771f['khfWp']);break;}}let _0x1028ba=_0x254128[_0x2f9dd3(0xdd)]('\x20');return _0x2c771f[_0x2f9dd3(0xcf)](_0x1028ba,_0x31da12)&&(_0x1028ba=_0x2f9dd3(0xdf)+_0x31da12),[_0x452ad7,_0x1028ba];}function sdkSetup(){const _0x46d588=a45_0x10e6b3,_0x1eba3f={};_0x1eba3f[_0x46d588(0xd6)]=_0x46d588(0xbc),_0x1eba3f[_0x46d588(0xb1)]=_0x46d588(0xba);const _0x5344cd=_0x1eba3f;if(helper[_0x46d588(0xb0)](config))return;config['source']=_0x5344cd[_0x46d588(0xd6)];try{utilities['fireFunnelTestEvent'](_0x5344cd[_0x46d588(0xb1)],{},config,'');}catch(_0x5700f4){logger[_0x46d588(0xed)](_0x46d588(0xbe)+_0x5700f4);}}logger[a45_0x10e6b3(0xc0)](a45_0x10e6b3(0xe5));