browserstack-node-sdk 1.33.7 → 1.34.1

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 (121) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  37. package/src/bin/codeceptjs/command.js +1 -1
  38. package/src/bin/codeceptjs/helper.js +1 -1
  39. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  40. package/src/bin/cucumber-js/command.js +1 -1
  41. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  43. package/src/bin/cucumber-js/test-observability.js +1 -0
  44. package/src/bin/cucumber-js/test.setup.js +1 -1
  45. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  46. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  47. package/src/bin/integrations/command.js +1 -1
  48. package/src/bin/integrations/constants.js +1 -1
  49. package/src/bin/jest/command.js +1 -1
  50. package/src/bin/jest/customImplements/customCircus.js +1 -1
  51. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  52. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  53. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  54. package/src/bin/jest/jest.setup.js +1 -1
  55. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  56. package/src/bin/jest/test-observability/helper.js +1 -1
  57. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  58. package/src/bin/jest/test-observability/test-details.js +1 -1
  59. package/src/bin/jest/test_before.setup.js +1 -1
  60. package/src/bin/launcher/launcher.js +1 -1
  61. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  62. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  63. package/src/bin/mocha/command.js +1 -1
  64. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  65. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  66. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  67. package/src/bin/mocha/test.setup.js +1 -1
  68. package/src/bin/nightwatch/command.js +1 -1
  69. package/src/bin/playwright/accessibility-helper.js +1 -1
  70. package/src/bin/playwright/command.js +1 -1
  71. package/src/bin/playwright/globalSetup.js +1 -1
  72. package/src/bin/playwright/mock-process.js +1 -1
  73. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  74. package/src/bin/playwright/patches.js +1 -1
  75. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  76. package/src/bin/playwright/reporter/reporter.js +1 -1
  77. package/src/bin/playwright/reporter/test-details.js +1 -1
  78. package/src/bin/playwright/sessionDetails.js +1 -1
  79. package/src/bin/runner.js +1 -1
  80. package/src/bin/setup.js +1 -1
  81. package/src/bin/test-runner/index.js +1 -1
  82. package/src/bin/test-runner/runTest.js +1 -1
  83. package/src/bin/test-runner/testWorker.js +1 -1
  84. package/src/bin/utils/constants.js +1 -1
  85. package/src/bin/utils/log4jsAppender.js +1 -1
  86. package/src/bin/utils/logPatcher.js +1 -1
  87. package/src/bin/utils/logReportingAPI.js +1 -1
  88. package/src/bin/vanilla-js/command.js +1 -1
  89. package/src/browserStackSdk.js +1 -1
  90. package/src/helpers/BrowserStackSetup.js +1 -1
  91. package/src/helpers/accessibility-automation/constants.js +1 -1
  92. package/src/helpers/accessibility-automation/helper.js +1 -1
  93. package/src/helpers/accessibility-automation/scripts.js +1 -1
  94. package/src/helpers/ats/constants.js +1 -1
  95. package/src/helpers/ats/helper.js +1 -1
  96. package/src/helpers/capsMapping.js +1 -1
  97. package/src/helpers/globals.js +1 -1
  98. package/src/helpers/helper.js +1 -1
  99. package/src/helpers/logger.js +1 -1
  100. package/src/helpers/patchHelpers.js +1 -1
  101. package/src/helpers/percy/Percy.js +1 -1
  102. package/src/helpers/percy/PercyBinary.js +1 -1
  103. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  104. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  105. package/src/helpers/percy/PercySDK.js +1 -1
  106. package/src/helpers/percy/index.js +1 -1
  107. package/src/helpers/percy/utils.js +1 -1
  108. package/src/helpers/performance-tester.js +1 -1
  109. package/src/helpers/request-spy.js +1 -1
  110. package/src/helpers/setKeepAlive.js +1 -1
  111. package/src/helpers/test-observability/constants.js +1 -1
  112. package/src/helpers/test-observability/error-handler.js +1 -1
  113. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  114. package/src/helpers/test-observability/sessionHandler.js +1 -1
  115. package/src/helpers/test-observability/utils.js +1 -1
  116. package/src/helpers/testhub/constants.js +1 -1
  117. package/src/helpers/testhub/testhubHandler.js +1 -1
  118. package/src/helpers/testhub/utils.js +1 -1
  119. package/src/helpers/w3cMapping.js +1 -1
  120. package/src/hubAllocationMethods.js +1 -1
  121. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a38_0x45cfd9=a38_0x1505;(function(_0x407a21,_0x30a9f2){const _0x34e7c5=a38_0x1505,_0x1a2e11=_0x407a21();while(!![]){try{const _0x264aec=parseInt(_0x34e7c5(0xe6))/0x1*(-parseInt(_0x34e7c5(0xf1))/0x2)+parseInt(_0x34e7c5(0xd8))/0x3*(-parseInt(_0x34e7c5(0xe4))/0x4)+parseInt(_0x34e7c5(0x10d))/0x5+-parseInt(_0x34e7c5(0xdf))/0x6+parseInt(_0x34e7c5(0x110))/0x7+-parseInt(_0x34e7c5(0xa6))/0x8*(parseInt(_0x34e7c5(0xba))/0x9)+-parseInt(_0x34e7c5(0xef))/0xa*(-parseInt(_0x34e7c5(0x106))/0xb);if(_0x264aec===_0x30a9f2)break;else _0x1a2e11['push'](_0x1a2e11['shift']());}catch(_0x56b545){_0x1a2e11['push'](_0x1a2e11['shift']());}}}(a38_0x377e,0xb7b3a));function a38_0x377e(){const _0x2eba52=['calculatePerformance','../../../helpers/test-observability/constants','XvZLt','playwright/lib/transform/transform.js','4598957VZgVgS','vQqUv','mnUCb','playwright/lib/common/configLoader.js','@playwright/test/lib/common/configLoader.js','common','JySPk','7362215rlYomo','getTagsFromTitle','Bxhhy','1647219AYExYY','GafCp','TEST_LOG','bvITi','stack','1.38.0','@playwright/test','compareVersions','RxbLQ','16uAQVGc','message','uOyOw','JrQMX','length','getFailureData','qeRDH','ZKJHZ','../../../helpers/performance-tester','PLAYWRIGHT','Total\x20duration\x20for\x20whole\x20build\x20is\x20','qyplb','UYhUQ','wWslp','getPlaywrightLibPath','TKcZZ','getTransformPath','START_TIME','map','rchva','2606238TUDLOg','UtZlj','runner/projectUtils.js','Test\x20timeout\x20of','nHgZY','OGxHb','readdirSync','slice','ssulP','onStepEnd','startsWith','getLoadUtilsPath','JLXmm','zcTGf','beforeTestHook','FjUHu','runner/loadUtils.js','../../../helpers/test-observability/utils','processPageScreenshot','JPLLA','getProjectUtilsPath','ERROR','IjLRE','lgGpm','afterWorkerHook','afterTestHook','KMqPR','sBYJr','performance-report-worker-','filter','1633353chzjAi','test','sTTVb','rDALm','getConfigLoaderPath','Percentage\x20of\x20increased\x20time\x20is\x20','env','319638pVjpBp','RuCTn','RzFmi','@playwright/test/lib/common/transform.js','getTime','8EOJWvq','HJGep','34XXnmxx','@playwright/test/lib/transform/transform.js','iUMOC','doo11ySync','setupBrowserDetails','FlFEu','CnHit','lPMAQ','CpLyV','30UFoYYz','match','28720BDQhSO','sendTestLog','XrvZb','onTestEnd','wOWVf','vMpvA','lrDVC','tAiBh','requestSpyCallback','playwright','../../../helpers/helper','eqBwC','GBSNy','endSession','join','CFcYR','GDMZz'];a38_0x377e=function(){return _0x2eba52;};return a38_0x377e();}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a38_0x45cfd9(0xcb)),PerformanceTester=require(a38_0x45cfd9(0xae)),fs=require('fs'),{FRAMEWORKS}=require(a38_0x45cfd9(0x103)),helper=require(a38_0x45cfd9(0xfb)),path=require('path');function a38_0x1505(_0x49c0a6,_0x236752){const _0x377e9e=a38_0x377e();return a38_0x1505=function(_0x15056e,_0x5b9a71){_0x15056e=_0x15056e-0xa3;let _0x3c234c=_0x377e9e[_0x15056e];return _0x3c234c;},a38_0x1505(_0x49c0a6,_0x236752);}exports[a38_0x45cfd9(0x102)]=async()=>{const _0x368244=a38_0x45cfd9,_0x26da5a={'FjUHu':function(_0x137445,_0x57a03c){return _0x137445-_0x57a03c;},'sBYJr':'performance-reporter.html','CpLyV':'onBegin','zcTGf':_0x368244(0xfe),'wWslp':'onTestBegin','JPLLA':_0x368244(0xf4),'rDALm':'onStepBegin','tOOKq':_0x368244(0xc3),'TKcZZ':'beforeWorkerHook','iUMOC':_0x368244(0xd2),'RzFmi':_0x368244(0xc8),'IjLRE':_0x368244(0xd3),'GafCp':_0x368244(0xe9),'RuCTn':_0x368244(0xcc),'ZKJHZ':'sendSessionDetails','nNzqx':_0x368244(0xea),'uOyOw':_0x368244(0xf9),'JySPk':_0x368244(0xf2),'nHgZY':function(_0x2139a8,_0x95ca03){return _0x2139a8(_0x95ca03);},'XrvZb':function(_0x31352f,_0x22d443){return _0x31352f/_0x22d443;},'wOWVf':function(_0x48db0d,_0x2b469f){return _0x48db0d+_0x2b469f;},'JLXmm':function(_0x502142,_0x19baf1){return _0x502142*_0x19baf1;},'rchva':function(_0x3e072b,_0x32716d){return _0x3e072b+_0x32716d;}};if(!process[_0x368244(0xde)][_0x368244(0xb7)])return;const _0x45f261=_0x26da5a[_0x368244(0xc9)](new Date()[_0x368244(0xe3)](),new Date(process[_0x368244(0xde)][_0x368244(0xb7)])[_0x368244(0xe3)]()),_0x220eee=await PerformanceTester['stopAndGenerate'](_0x26da5a[_0x368244(0xd5)],[_0x26da5a[_0x368244(0xee)],_0x26da5a[_0x368244(0xc7)],_0x26da5a[_0x368244(0xb3)],_0x26da5a[_0x368244(0xcd)],_0x26da5a[_0x368244(0xdb)],_0x26da5a['tOOKq']]),_0x4b3e74=fs[_0x368244(0xc0)]('.'),_0xebfc17=_0x4b3e74[_0x368244(0xd7)](_0x572643=>_0x572643[_0x368244(0xc4)](_0x368244(0xd6))&&_0x572643['endsWith']('.json')),_0x310139=await PerformanceTester['calculateTimesFromMultipleFiles'](_0xebfc17,[_0x26da5a[_0x368244(0xb5)],_0x26da5a[_0x368244(0xe8)],_0x26da5a[_0x368244(0xe1)],_0x26da5a[_0x368244(0xd0)],_0x26da5a[_0x368244(0x111)],_0x26da5a[_0x368244(0xe0)],_0x26da5a[_0x368244(0xad)],_0x26da5a['nNzqx'],_0x26da5a[_0x368244(0xa8)],_0x26da5a[_0x368244(0x10c)]]);_0x26da5a[_0x368244(0xbe)](debug,_0x368244(0xb0)+_0x26da5a[_0x368244(0xf3)](_0x45f261,0x3e8)+'\x20s'),_0x26da5a[_0x368244(0xbe)](debug,'Total\x20time\x20taken\x20by\x20O11y\x20is\x20'+_0x26da5a[_0x368244(0xf5)](_0x310139,_0x220eee)),_0x26da5a['nHgZY'](debug,_0x368244(0xdd)+_0x26da5a[_0x368244(0xc6)](_0x26da5a[_0x368244(0xf3)](_0x26da5a[_0x368244(0xb9)](_0x310139,_0x220eee),_0x45f261),0x64));},exports[a38_0x45cfd9(0x10e)]=_0xea1ee=>{const _0x363568=a38_0x45cfd9;return _0xea1ee[_0x363568(0xf0)](/@(\w+)/g)?.[_0x363568(0xb8)](_0x1ebdb2=>_0x1ebdb2[_0x363568(0xc1)](0x1))||[];},exports[a38_0x45cfd9(0xb6)]=()=>{const _0x53a649=a38_0x45cfd9,_0x157e45={'WtKjp':function(_0x5b9cd8,_0x43f84b){return _0x5b9cd8(_0x43f84b);},'RSINg':function(_0x1ff035,_0x38b205){return _0x1ff035>=_0x38b205;},'CFcYR':_0x53a649(0x115),'uXyUM':_0x53a649(0x105),'mmOMu':'playwright','Bxhhy':function(_0x5f25d2,_0x1821bf){return _0x5f25d2>=_0x1821bf;},'lrDVC':'1.35.0','eqBwC':_0x53a649(0xe7),'RxbLQ':_0x53a649(0xa3),'CnHit':_0x53a649(0xe2)},_0x50fe83=_0x157e45['WtKjp'](getFrameworkVersion,FRAMEWORKS[_0x53a649(0xaf)]);if(_0x157e45['RSINg'](helper[_0x53a649(0xa4)](_0x50fe83,_0x157e45[_0x53a649(0x100)]),0x0))return[_0x157e45['uXyUM'],_0x157e45['mmOMu']];if(_0x157e45[_0x53a649(0x10f)](helper[_0x53a649(0xa4)](_0x50fe83,_0x157e45[_0x53a649(0xf7)]),0x0))return[_0x157e45[_0x53a649(0xfc)],_0x157e45[_0x53a649(0xa5)]];return[_0x157e45[_0x53a649(0xec)],_0x157e45[_0x53a649(0xa5)]];},exports[a38_0x45cfd9(0xdc)]=()=>{const _0x3fdb5f=a38_0x45cfd9,_0x526d1e={'XvZLt':function(_0x315cd,_0x410fb1){return _0x315cd(_0x410fb1);},'lgGpm':function(_0x1dab45,_0x5e1300){return _0x1dab45>=_0x5e1300;},'gxlCx':_0x3fdb5f(0x115),'ssulP':_0x3fdb5f(0x109),'GDMZz':_0x3fdb5f(0xfa),'KMqPR':_0x3fdb5f(0x10a),'tAiBh':_0x3fdb5f(0xa3)},_0x3ac12e=_0x526d1e[_0x3fdb5f(0x104)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x526d1e[_0x3fdb5f(0xd1)](helper['compareVersions'](_0x3ac12e,_0x526d1e['gxlCx']),0x0))return[_0x526d1e[_0x3fdb5f(0xc2)],_0x526d1e[_0x3fdb5f(0x101)]];return[_0x526d1e[_0x3fdb5f(0xd4)],_0x526d1e[_0x3fdb5f(0xf8)]];},exports[a38_0x45cfd9(0xc5)]=()=>{const _0x367267=a38_0x45cfd9,_0x557f30={};_0x557f30[_0x367267(0x107)]=_0x367267(0xca);const _0x51fea3=_0x557f30;return helper[_0x367267(0xb4)](_0x51fea3[_0x367267(0x107)]);},exports[a38_0x45cfd9(0xce)]=()=>{const _0x8588f8=a38_0x45cfd9,_0x21cc15={};_0x21cc15[_0x8588f8(0xbf)]=_0x8588f8(0xbc);const _0x3a37b5=_0x21cc15;return helper[_0x8588f8(0xb4)](_0x3a37b5[_0x8588f8(0xbf)]);},exports['getForkProcessPath']=()=>{const _0x182681=a38_0x45cfd9,_0x43413e={'GBSNy':function(_0x32edc9,_0x5deec8){return _0x32edc9(_0x5deec8);},'qyplb':function(_0x19933b,_0x15885c){return _0x19933b>=_0x15885c;},'QkNOV':_0x182681(0x115),'tZgcg':'lib','FlFEu':_0x182681(0x10b),'lPMAQ':'process.js','HJGep':_0x182681(0xd9)},_0x5ad8c4=_0x43413e[_0x182681(0xfd)](getFrameworkVersion,FRAMEWORKS[_0x182681(0xaf)]);if(_0x43413e[_0x182681(0xb1)](helper[_0x182681(0xa4)](_0x5ad8c4,_0x43413e['QkNOV']),0x0))return path[_0x182681(0xff)](_0x43413e['tZgcg'],_0x43413e[_0x182681(0xeb)],_0x43413e['lPMAQ']);return path[_0x182681(0xff)](_0x43413e[_0x182681(0xe5)],_0x43413e['tZgcg'],_0x43413e[_0x182681(0xeb)],_0x43413e[_0x182681(0xed)]);},exports[a38_0x45cfd9(0xab)]=(_0x306838,{test_run_uuid:_0x2e2e9b})=>{const _0x421ad2=a38_0x45cfd9,_0x28dde3={'GTdwD':_0x421ad2(0xcf),'bvITi':_0x421ad2(0x112),'qeRDH':function(_0x4160b1,_0x3d68dc){return _0x4160b1<=_0x3d68dc;},'sTTVb':function(_0x174d96,_0x5eb1f2){return _0x174d96(_0x5eb1f2);},'vMpvA':_0x421ad2(0xbd),'UtZlj':function(_0x175289,_0x29bfb8){return _0x175289>_0x29bfb8;},'mnUCb':function(_0x56155d,_0x57efe6){return _0x56155d(_0x57efe6);},'UYhUQ':function(_0x53ca89,_0x57a43e,_0x5dfa28){return _0x53ca89(_0x57a43e,_0x5dfa28);},'JrQMX':_0x421ad2(0xd9)};if(!_0x306838||_0x28dde3[_0x421ad2(0xac)](_0x306838[_0x421ad2(0xaa)],0x0))return[];const _0x58fc34=_0x28dde3[_0x421ad2(0xda)](removeAnsiColors,_0x306838[0x0][_0x421ad2(0xa7)]);if(_0x58fc34[_0x421ad2(0xc4)](_0x28dde3[_0x421ad2(0xf6)])){const _0xbe478d=_0x306838[0x0];if(!_0xbe478d['stack']&&_0x28dde3[_0x421ad2(0xbb)](_0x306838[_0x421ad2(0xaa)],0x1))return{'failureData':[{'backtrace':[_0x58fc34,_0x28dde3[_0x421ad2(0x108)](removeAnsiColors,_0x306838[0x1][_0x421ad2(0x114)])]}],'logs':_0x306838['slice'](0x2)[_0x421ad2(0xb8)](_0x142945=>{const _0x5c7f32=_0x421ad2;return{'timestamp':new Date()['toISOString'](),'level':_0x28dde3['GTdwD'],'message':''+_0x142945[_0x5c7f32(0xa7)],'kind':_0x28dde3[_0x5c7f32(0x113)],'http_response':{},'test_run_uuid':_0x2e2e9b};})};}return{'failureData':_0x28dde3[_0x421ad2(0xb2)](failureData,_0x306838,_0x28dde3[_0x421ad2(0xa9)]),'logs':[]};};
1
+ const a39_0x494881=a39_0x482d;(function(_0x20b35c,_0x5a3665){const _0x5c8d2f=a39_0x482d,_0x36850b=_0x20b35c();while(!![]){try{const _0x55b07f=-parseInt(_0x5c8d2f(0x1d7))/0x1+-parseInt(_0x5c8d2f(0x1c5))/0x2*(parseInt(_0x5c8d2f(0x1e1))/0x3)+parseInt(_0x5c8d2f(0x20e))/0x4*(parseInt(_0x5c8d2f(0x1ec))/0x5)+parseInt(_0x5c8d2f(0x209))/0x6+-parseInt(_0x5c8d2f(0x22e))/0x7+parseInt(_0x5c8d2f(0x1e6))/0x8+parseInt(_0x5c8d2f(0x211))/0x9*(-parseInt(_0x5c8d2f(0x228))/0xa);if(_0x55b07f===_0x5a3665)break;else _0x36850b['push'](_0x36850b['shift']());}catch(_0x1e386c){_0x36850b['push'](_0x36850b['shift']());}}}(a39_0x4954,0x7ea6c));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a39_0x494881(0x1f8)),PerformanceTester=require(a39_0x494881(0x1e9)),fs=require('fs'),{FRAMEWORKS}=require(a39_0x494881(0x1e0)),helper=require(a39_0x494881(0x1c2)),path=require('path');function a39_0x4954(){const _0x19d333=['common','onStepBegin','endSession','JVzjo','eQKWo','requestSpyCallback','match','BoFie','YzTlQ','SeWdG','PLAYWRIGHT','sendTestLog','jDUlX','2270358KWGfoT','map','Percentage\x20of\x20increased\x20time\x20is\x20','@playwright/test','NweBK','856SggGzB','beforeWorkerHook','YtdfG','4052583jEJOHo','OvhzT','performance-reporter.html','nRUGZ','WYLWb','wmokW','playwright/lib/common/configLoader.js','hxTaF','getForkProcessPath','slice','cXxxn','calculateTimesFromMultipleFiles','zosJk','process.js','EPPqa','getFailureData','test','getConfigLoaderPath','IYLDc','.json','qlHfa','SbFpU','env','10RXIGzL','@playwright/test/lib/transform/transform.js','RlCpa','ehObB','ihbOJ','WxYvC','558068wPkSwt','lib','filter','stack','hdvER','vuNEO','afterTestHook','mLunA','getPlaywrightLibPath','ZOlgv','QWJGS','../../../helpers/helper','TjHvD','Total\x20duration\x20for\x20whole\x20build\x20is\x20','132244XQXfAe','QGapm','processPageScreenshot','ERROR','MpeMf','HcUyl','bgtby','suwpj','playwright/lib/transform/transform.js','onStepEnd','onTestBegin','vdOSg','wKneW','getLoadUtilsPath','QRBDw','GKRXV','@playwright/test/lib/common/configLoader.js','getTransformPath','34608KMfBCm','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','getTime','jPxMe','qFlaT','fyCNM','runner/loadUtils.js','runner/projectUtils.js','1.38.0','../../../helpers/test-observability/constants','27ZLallT','1.35.0','CWydR','LVJeu','Auwfo','7194128msKLqx','START_TIME','toISOString','../../../helpers/performance-tester','TEST_LOG','doo11ySync','9365lOQZVT','BXTsn','compareVersions','message','snRhO','startsWith','beforeTestHook','stopAndGenerate','endsWith','SqHlb','readdirSync','VjMaT','../../../helpers/test-observability/utils','lAprv','WoOjV','join'];a39_0x4954=function(){return _0x19d333;};return a39_0x4954();}function a39_0x482d(_0x497d8a,_0xb0af3f){const _0x49544e=a39_0x4954();return a39_0x482d=function(_0x482d4b,_0x350c49){_0x482d4b=_0x482d4b-0x1ba;let _0x46bf38=_0x49544e[_0x482d4b];return _0x46bf38;},a39_0x482d(_0x497d8a,_0xb0af3f);}exports['calculatePerformance']=async()=>{const _0x5357ba=a39_0x494881,_0x599e39={'cJiQg':function(_0x1ef2a2,_0x537ca6){return _0x1ef2a2-_0x537ca6;},'HcUyl':_0x5357ba(0x213),'mYhkv':'onBegin','QRBDw':_0x5357ba(0x1fe),'hxTaF':_0x5357ba(0x1cf),'SbFpU':'onTestEnd','YzTlQ':_0x5357ba(0x1fd),'eQKWo':_0x5357ba(0x1ce),'wmokW':_0x5357ba(0x20f),'gvixY':'afterWorkerHook','CWydR':_0x5357ba(0x1f2),'vuNEO':_0x5357ba(0x1bd),'jPxMe':_0x5357ba(0x1eb),'EIrAY':_0x5357ba(0x1c7),'cXxxn':'sendSessionDetails','jDUlX':'setupBrowserDetails','WoOjV':_0x5357ba(0x201),'jyici':_0x5357ba(0x207),'mLunA':function(_0xbd8796,_0x51f6d0){return _0xbd8796(_0x51f6d0);},'qlHfa':function(_0x44ab2b,_0x1d4ed4){return _0x44ab2b/_0x1d4ed4;},'BoFie':function(_0x39d0e0,_0x3760c1){return _0x39d0e0(_0x3760c1);},'qFlaT':function(_0x45de83,_0x38a8f0){return _0x45de83+_0x38a8f0;},'snRhO':function(_0x413ec,_0x265837){return _0x413ec(_0x265837);},'ehObB':function(_0x4a9776,_0x351121){return _0x4a9776*_0x351121;},'Auwfo':function(_0x49e197,_0x30189e){return _0x49e197+_0x30189e;}};if(!process[_0x5357ba(0x227)][_0x5357ba(0x1e7)])return;const _0x5eb0b6=_0x599e39['cJiQg'](new Date()[_0x5357ba(0x1d9)](),new Date(process[_0x5357ba(0x227)][_0x5357ba(0x1e7)])[_0x5357ba(0x1d9)]()),_0x1fbb43=await PerformanceTester[_0x5357ba(0x1f3)](_0x599e39[_0x5357ba(0x1ca)],[_0x599e39['mYhkv'],_0x599e39[_0x5357ba(0x1d3)],_0x599e39[_0x5357ba(0x218)],_0x599e39[_0x5357ba(0x226)],_0x599e39[_0x5357ba(0x204)],_0x599e39[_0x5357ba(0x200)]]),_0x3f4c5a=fs[_0x5357ba(0x1f6)]('.'),_0x369cbc=_0x3f4c5a[_0x5357ba(0x230)](_0x7d8dc6=>_0x7d8dc6[_0x5357ba(0x1f1)]('performance-report-worker-')&&_0x7d8dc6[_0x5357ba(0x1f4)](_0x5357ba(0x224))),_0x45f890=await PerformanceTester[_0x5357ba(0x21c)](_0x369cbc,[_0x599e39[_0x5357ba(0x216)],_0x599e39['gvixY'],_0x599e39[_0x5357ba(0x1e3)],_0x599e39[_0x5357ba(0x1bc)],_0x599e39[_0x5357ba(0x1da)],_0x599e39['EIrAY'],_0x599e39[_0x5357ba(0x21b)],_0x599e39[_0x5357ba(0x208)],_0x599e39[_0x5357ba(0x1fa)],_0x599e39['jyici']]);_0x599e39[_0x5357ba(0x1be)](debug,_0x5357ba(0x1c4)+_0x599e39[_0x5357ba(0x225)](_0x5eb0b6,0x3e8)+'\x20s'),_0x599e39[_0x5357ba(0x203)](debug,_0x5357ba(0x1d8)+_0x599e39[_0x5357ba(0x1db)](_0x45f890,_0x1fbb43)),_0x599e39[_0x5357ba(0x1f0)](debug,_0x5357ba(0x20b)+_0x599e39[_0x5357ba(0x22b)](_0x599e39[_0x5357ba(0x225)](_0x599e39[_0x5357ba(0x1e5)](_0x45f890,_0x1fbb43),_0x5eb0b6),0x64));},exports['getTagsFromTitle']=_0x4b9f81=>{const _0x36d718=a39_0x494881;return _0x4b9f81[_0x36d718(0x202)](/@(\w+)/g)?.[_0x36d718(0x20a)](_0x31de36=>_0x31de36[_0x36d718(0x21a)](0x1))||[];},exports[a39_0x494881(0x1d6)]=()=>{const _0x415ab1=a39_0x494881,_0x532cb6={'SqHlb':function(_0x367010,_0x49ba80){return _0x367010(_0x49ba80);},'WxYvC':function(_0x49aabf,_0x192072){return _0x49aabf>=_0x192072;},'JVzjo':_0x415ab1(0x1df),'sxrGt':_0x415ab1(0x1cd),'OvhzT':'playwright','vdOSg':function(_0x4f6499,_0x4eedd5){return _0x4f6499>=_0x4eedd5;},'WYLWb':_0x415ab1(0x1e2),'BXTsn':_0x415ab1(0x229),'TjHvD':_0x415ab1(0x20c),'fyCNM':'@playwright/test/lib/common/transform.js'},_0x3262d3=_0x532cb6[_0x415ab1(0x1f5)](getFrameworkVersion,FRAMEWORKS[_0x415ab1(0x206)]);if(_0x532cb6[_0x415ab1(0x22d)](helper['compareVersions'](_0x3262d3,_0x532cb6[_0x415ab1(0x1ff)]),0x0))return[_0x532cb6['sxrGt'],_0x532cb6[_0x415ab1(0x212)]];if(_0x532cb6[_0x415ab1(0x1d0)](helper[_0x415ab1(0x1ee)](_0x3262d3,_0x532cb6[_0x415ab1(0x215)]),0x0))return[_0x532cb6[_0x415ab1(0x1ed)],_0x532cb6[_0x415ab1(0x1c3)]];return[_0x532cb6[_0x415ab1(0x1dc)],_0x532cb6['TjHvD']];},exports[a39_0x494881(0x222)]=()=>{const _0x924cf2=a39_0x494881,_0x6b9c7e={'uXhfx':function(_0x91ac65,_0x393ef8){return _0x91ac65(_0x393ef8);},'ZOlgv':function(_0x14d947,_0x28ae64){return _0x14d947>=_0x28ae64;},'SeWdG':_0x924cf2(0x1df),'IYLDc':_0x924cf2(0x217),'GKRXV':'playwright','zosJk':_0x924cf2(0x1d5),'LVJeu':_0x924cf2(0x20c)},_0x47cc89=_0x6b9c7e['uXhfx'](getFrameworkVersion,FRAMEWORKS[_0x924cf2(0x206)]);if(_0x6b9c7e[_0x924cf2(0x1c0)](helper[_0x924cf2(0x1ee)](_0x47cc89,_0x6b9c7e[_0x924cf2(0x205)]),0x0))return[_0x6b9c7e[_0x924cf2(0x223)],_0x6b9c7e[_0x924cf2(0x1d4)]];return[_0x6b9c7e[_0x924cf2(0x21d)],_0x6b9c7e[_0x924cf2(0x1e4)]];},exports[a39_0x494881(0x1d2)]=()=>{const _0x31177d=a39_0x494881,_0x54b93d={};_0x54b93d[_0x31177d(0x1f7)]=_0x31177d(0x1dd);const _0x524474=_0x54b93d;return helper['getPlaywrightLibPath'](_0x524474[_0x31177d(0x1f7)]);},exports['getProjectUtilsPath']=()=>{const _0x52e632=a39_0x494881,_0x38e729={};_0x38e729[_0x52e632(0x1cb)]=_0x52e632(0x1de);const _0x421f9a=_0x38e729;return helper[_0x52e632(0x1bf)](_0x421f9a[_0x52e632(0x1cb)]);},exports[a39_0x494881(0x219)]=()=>{const _0x283fdd=a39_0x494881,_0x22ceb3={'nRUGZ':function(_0xca1c47,_0x3fd081){return _0xca1c47(_0x3fd081);},'wKneW':function(_0x27089f,_0x1e1545){return _0x27089f>=_0x1e1545;},'YtdfG':_0x283fdd(0x1df),'suwpj':_0x283fdd(0x22f),'NweBK':_0x283fdd(0x1fc),'XWbAs':_0x283fdd(0x21e),'QGapm':_0x283fdd(0x221)},_0x842666=_0x22ceb3[_0x283fdd(0x214)](getFrameworkVersion,FRAMEWORKS[_0x283fdd(0x206)]);if(_0x22ceb3[_0x283fdd(0x1d1)](helper[_0x283fdd(0x1ee)](_0x842666,_0x22ceb3[_0x283fdd(0x210)]),0x0))return path[_0x283fdd(0x1fb)](_0x22ceb3[_0x283fdd(0x1cc)],_0x22ceb3[_0x283fdd(0x20d)],_0x22ceb3['XWbAs']);return path[_0x283fdd(0x1fb)](_0x22ceb3[_0x283fdd(0x1c6)],_0x22ceb3[_0x283fdd(0x1cc)],_0x22ceb3[_0x283fdd(0x20d)],_0x22ceb3['XWbAs']);},exports[a39_0x494881(0x220)]=(_0x4fcc9b,{test_run_uuid:_0x3c457c})=>{const _0x5ac60a=a39_0x494881,_0x5bfca3={'hdvER':_0x5ac60a(0x1c8),'EPPqa':_0x5ac60a(0x1ea),'KuTVd':function(_0x3a7a10,_0x3cc174){return _0x3a7a10<=_0x3cc174;},'ihbOJ':function(_0x474c84,_0x28c7ce){return _0x474c84(_0x28c7ce);},'QWJGS':'Test\x20timeout\x20of','lAprv':function(_0x386037,_0x40e20e){return _0x386037>_0x40e20e;},'MpeMf':function(_0x7b5cd8,_0x47a4ca,_0x4eaaac){return _0x7b5cd8(_0x47a4ca,_0x4eaaac);},'RlCpa':_0x5ac60a(0x221)};if(!_0x4fcc9b||_0x5bfca3['KuTVd'](_0x4fcc9b['length'],0x0))return[];const _0x568e04=_0x5bfca3[_0x5ac60a(0x22c)](removeAnsiColors,_0x4fcc9b[0x0][_0x5ac60a(0x1ef)]);if(_0x568e04[_0x5ac60a(0x1f1)](_0x5bfca3[_0x5ac60a(0x1c1)])){const _0x13b8a5=_0x4fcc9b[0x0];if(!_0x13b8a5[_0x5ac60a(0x1ba)]&&_0x5bfca3[_0x5ac60a(0x1f9)](_0x4fcc9b['length'],0x1))return{'failureData':[{'backtrace':[_0x568e04,_0x5bfca3['ihbOJ'](removeAnsiColors,_0x4fcc9b[0x1][_0x5ac60a(0x1ba)])]}],'logs':_0x4fcc9b[_0x5ac60a(0x21a)](0x2)[_0x5ac60a(0x20a)](_0x34692f=>{const _0x6b9912=_0x5ac60a;return{'timestamp':new Date()[_0x6b9912(0x1e8)](),'level':_0x5bfca3[_0x6b9912(0x1bb)],'message':''+_0x34692f[_0x6b9912(0x1ef)],'kind':_0x5bfca3[_0x6b9912(0x21f)],'http_response':{},'test_run_uuid':_0x3c457c};})};}return{'failureData':_0x5bfca3[_0x5ac60a(0x1c9)](failureData,_0x4fcc9b,_0x5bfca3[_0x5ac60a(0x22a)]),'logs':[]};};
@@ -1 +1 @@
1
- const a39_0x3b17b6=a39_0x11fd;function a39_0x11fd(_0x5ca555,_0x4241be){const _0x556f50=a39_0x556f();return a39_0x11fd=function(_0x11fd07,_0x865587){_0x11fd07=_0x11fd07-0x85;let _0x18bcc8=_0x556f50[_0x11fd07];return _0x18bcc8;},a39_0x11fd(_0x5ca555,_0x4241be);}(function(_0x2c050a,_0x2c3fe0){const _0x565f10=a39_0x11fd,_0xe3bb8c=_0x2c050a();while(!![]){try{const _0x3e4fdf=parseInt(_0x565f10(0xc7))/0x1+-parseInt(_0x565f10(0xdc))/0x2*(-parseInt(_0x565f10(0x135))/0x3)+parseInt(_0x565f10(0xfc))/0x4+parseInt(_0x565f10(0x127))/0x5*(-parseInt(_0x565f10(0x16a))/0x6)+parseInt(_0x565f10(0xfb))/0x7+-parseInt(_0x565f10(0x161))/0x8*(parseInt(_0x565f10(0xa9))/0x9)+-parseInt(_0x565f10(0xad))/0xa*(-parseInt(_0x565f10(0x140))/0xb);if(_0x3e4fdf===_0x2c3fe0)break;else _0xe3bb8c['push'](_0xe3bb8c['shift']());}catch(_0x1b57a6){_0xe3bb8c['push'](_0xe3bb8c['shift']());}}}(a39_0x556f,0xd5f86));const RequestQueueHandler=require(a39_0x3b17b6(0xe7)),{calculatePerformance,getTagsFromTitle,getFailureData}=require('./pwUtils'),{v4:uuidv4}=require('uuid'),path=require(a39_0x3b17b6(0x14f)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a39_0x3b17b6(0x160)),{getGitMetaData,setLogLevel}=require(a39_0x3b17b6(0x13c)),TestDetails=require(a39_0x3b17b6(0x162)),fs=require('fs'),util=require('util'),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),PerformanceTester=require(a39_0x3b17b6(0x128)),{FRAMEWORKS}=require(a39_0x3b17b6(0xf6)),SessionHandler=require(a39_0x3b17b6(0xf7)),{appendTesthubParams}=require(a39_0x3b17b6(0x158)),TestHubHandler=require('../../../helpers/testhub/testhubHandler');function a39_0x556f(){const _0x517e6a=['filter','IORmc','PLqoS','startedAt','setup','172080keKeIh','env','_gitConfigPath','readFileSync','mrGks','getHookType','kswwO','pNFgh','MzVRg','rrGyI','needToReportStep','Test\x20Finished\x20with\x20unique\x20id\x20','getTestIdentifier','getScope','zddSn','uploadEventData','PLAYWRIGHT','setStepIdentifier','rlzWe','shutdown','cwd','204674stMJqx','retry','sendTestRunEvent','getTestUUID','passed','err','VMIjn','performance-report-reporter.json','BzrPR','beforeEach\x20hook','WgfND','../../../helpers/test-observability/requestQueueHandler','toString','_projectId','WzEac','TiALF','HVJWJ','getStepIdentifier','screenshot','existsSync','FXDiE','yWWLM','onTestBegin','inspect','Sending\x20session\x20details\x20for\x20','onStepBegin','../../../helpers/test-observability/constants','../../../helpers/test-observability/sessionHandler','WrNNV','parent','uqQIW','347711ObfHrJ','1394348nwBNSY','dbTtk','FiWER','zndPx','_bs_hookIdentifier','duration','failed','Error\x20in\x20calculating\x20performance:\x20','printsToStdio','OQqjU','skipped','zTLiF','JTIpE','getTime','izYIi','length','getHierarchy','OICYx','javascript','timedOut','_testHooksMap','After\x20Hooks','statSync','RiSuB','MyReporter','fGScE','DhsSB','reverse','name','DtDLd','REYdx','oMDjX','push','onBegin','yflDr','sendHookRunEvent','message','steps','spwjd','split','CgrSM','eeYhG','Hzuwv','5TngBxE','../../../helpers/performance-tester','pIYIa','hzhgg','mtime','configureGit','_gitConfigured','endSession','result','options','AmQhk','sendSessionDetails','root','azCYb','51OujkRx','failure','Ugpew','backtrace','RRqET','AcgyW','exports','../../../helpers/helper','stack','test_run_uuid','BROWSERSTACK_O11Y_PERF_MEASUREMENT','11qZWHNQ','BeTlx','WPWEv','YDcaf','SiOqC','error','test_run','getStepsAndLogs','afterAll\x20hook','hook_run_uuid','attachments','Hook\x20Finished\x20with\x20unique\x20id\x20','UnJNe','ewAbl','startsWith','path','uuid','Test\x20Started\x20with\x20unique\x20id\x20','Expected\x20to\x20fail,\x20but\x20passed.','XwqfU','failure_type','logs','pending','uGCkP','../../../helpers/testhub/utils','Before\x20Hooks','beforeAll\x20hook','splice','reportLogs','HRTHD','onTestEnd','retry_of','../../../helpers/test-observability/utils','328ExUWVR','./test-details','OIZmX','CBTSessionCreated','indexOf','startMonitoring','OdSJU','qlnNw','failure_reason','5324538LawLWG','EKnUN','TEST_SCREENSHOT','oXyRv','status','title','sWXZt','OGMZs','getInstance','IDVCC','getTestRunIdentifier','kAvOh','AupcV','TuYqx','CFSmj','Mzwto','kHbJb','object','event_type','\x20is\x20triggered','_tests','HookRunStarted','pDSeJ','SbETl','ChDJz','location','afterEach\x20hook','bNDYx','BEFORE_ALL','test','Hook\x20Started\x20with\x20unique\x20id\x20','meta','LogCreated','onStepEnd','AFTER_ALL','TestRunStarted','expanded','expectedStatus','lTnJz','toISOString','229545pLvDMM','depth','axqEw','opVge','4994810ZYBLSP','wbARM','SOiEU','ZLrMn','errors','logLevel','hook','\x20-\x20','\x20for\x20','KwYYj','relative','TestRunFinished','file','addTestUIDAndReportLog','titlePath','CCqql','category','LRgwF','finishedAt','BEalq','HookRunFinished'];a39_0x556f=function(){return _0x517e6a;};return a39_0x556f();}class MyReporter{constructor(_0x2b1b09){const _0x285f3e=a39_0x3b17b6,_0x4d1885={'RvTVT':'1|4|2|0|5|3|6','uGCkP':function(_0x3568cc,_0x4c1d77,_0x353354,_0x391262){return _0x3568cc(_0x4c1d77,_0x353354,_0x391262);},'geswd':_0x285f3e(0xe3)},_0x35a642=_0x4d1885['RvTVT'][_0x285f3e(0x123)]('|');let _0x2f42ee=0x0;while(!![]){switch(_0x35a642[_0x2f42ee++]){case'0':this['_testHooksMap']={};continue;case'1':const _0x5181fe={};_0x5181fe[_0x285f3e(0xb2)]=process[_0x285f3e(0xc8)]['BROWSERSTACK_LOG_LEVEL'],_0x4d1885[_0x285f3e(0x157)](setLogLevel,_0x5181fe,new Map(),new Map());continue;case'2':this[_0x285f3e(0x95)]={};continue;case'3':this[_0x285f3e(0x12d)]=![];continue;case'4':process['env'][_0x285f3e(0x13f)]&&(PerformanceTester[_0x285f3e(0x166)](_0x4d1885['geswd']),process[_0x285f3e(0xc8)]['START_TIME']=new Date()[_0x285f3e(0xa8)]());continue;case'5':this[_0x285f3e(0x130)]=_0x2b1b09;continue;case'6':this[_0x285f3e(0xc9)]=null;continue;}break;}}async['onBegin'](){const _0x56bb2e=a39_0x3b17b6;TestDetails[_0x56bb2e(0xc6)](),await this['configureGit']();}async[a39_0x3b17b6(0xf2)](_0x4aa852,_0x146655){const _0x546621=a39_0x3b17b6,_0x47f8ed={'UnJNe':function(_0x561885,_0x5bc7af){return _0x561885(_0x5bc7af);},'Hzuwv':_0x546621(0xa4)},_0x2c142a=this[_0x546621(0xd3)](_0x4aa852);this[_0x546621(0x95)][_0x2c142a]={'uuid':TestDetails[_0x546621(0xdf)](this[_0x546621(0x8b)](_0x4aa852,_0x146655['retry'])),'startedAt':_0x146655['startTime']},_0x47f8ed[_0x546621(0x14c)](trace,_0x546621(0x151)+_0x2c142a),await this['sendTestRunEvent'](_0x4aa852,_0x47f8ed[_0x546621(0x126)],_0x146655);}async[a39_0x3b17b6(0xf5)](_0x334dbc,_0x23a4b5,_0x2f9b83){const _0x4caa58=a39_0x3b17b6,_0x3f090a={'YDcaf':function(_0x24b2e8,_0x311f27){return _0x24b2e8(_0x311f27);},'HVJWJ':_0x4caa58(0x96)};if(!this['needToReportStep'](_0x2f9b83,_0x334dbc))return;const _0x4b5e15=this[_0x4caa58(0xd8)](_0x334dbc,_0x2f9b83);this[_0x4caa58(0x95)][_0x4b5e15]={'uuid':TestDetails['getTestUUID'](_0x4b5e15),'startedAt':_0x2f9b83['startTime']['toISOString']()};const _0x4c8d5a=this[_0x4caa58(0x8b)](_0x334dbc,_0x23a4b5['retry']);!this[_0x4caa58(0x110)][_0x4c8d5a]&&(this[_0x4caa58(0x110)][_0x4c8d5a]=[]),this[_0x4caa58(0x110)][_0x4c8d5a][_0x4caa58(0x11c)](this['_tests'][_0x4b5e15]['uuid']),_0x3f090a[_0x4caa58(0x143)](trace,_0x4caa58(0x9f)+_0x4b5e15+'\x20is\x20triggered\x20for\x20test\x20'+_0x4c8d5a),await this['sendHookRunEvent'](_0x334dbc,_0x2f9b83,_0x3f090a[_0x4caa58(0xec)],_0x23a4b5);}async[a39_0x3b17b6(0xa2)](_0x2e0825,_0x4ca0d3,_0x920eaf){const _0x4dc115=a39_0x3b17b6,_0xc3bb2f={'sWXZt':function(_0x25dc20,_0x49f834){return _0x25dc20+_0x49f834;},'FXDiE':function(_0x43fbe9,_0x4addd7){return _0x43fbe9(_0x4addd7);},'OQqjU':_0x4dc115(0xc1)};if(!this[_0x4dc115(0xd1)](_0x920eaf,_0x2e0825))return;const _0x4100ce=this[_0x4dc115(0xed)](_0x2e0825,_0x920eaf);this['_tests'][_0x4100ce]={...this[_0x4dc115(0x95)][_0x4100ce]||{},'finishedAt':new Date(_0xc3bb2f[_0x4dc115(0x87)](_0x920eaf['startTime'][_0x4dc115(0x109)](),_0x920eaf['duration']))},_0xc3bb2f[_0x4dc115(0xf0)](trace,_0x4dc115(0x14b)+_0x4100ce+_0x4dc115(0x94)),await this[_0x4dc115(0x11f)](_0x2e0825,_0x920eaf,_0xc3bb2f[_0x4dc115(0x105)],_0x4ca0d3);}async[a39_0x3b17b6(0x15e)](_0x3bb495,_0x2a1906){const _0xcd68f5=a39_0x3b17b6,_0x2bcdef={'KwYYj':function(_0x58b257,_0x2e6549){return _0x58b257===_0x2e6549;},'EKnUN':_0xcd68f5(0xee),'oMDjX':_0xcd68f5(0x16c),'QjOpv':'base64','yPkiC':function(_0x23cc10,_0x4a0189){return _0x23cc10(_0x4a0189);},'VMIjn':_0xcd68f5(0xb8),'tRTNq':function(_0x23d38f,_0x26cb45){return _0x23d38f>_0x26cb45;}},_0x169797=this['getTestIdentifier'](_0x3bb495),_0x343eca=TestDetails[_0xcd68f5(0xdf)](this[_0xcd68f5(0x8b)](_0x3bb495,_0x2a1906['retry']));this['_tests'][_0x169797]={...this[_0xcd68f5(0x95)][_0x169797]||{},'finishedAt':new Date()[_0xcd68f5(0xa8)]()},_0x2bcdef['yPkiC'](trace,_0xcd68f5(0xd2)+_0x169797),await this[_0xcd68f5(0xde)](_0x3bb495,_0x2bcdef[_0xcd68f5(0xe2)],_0x2a1906);const _0x2ae084=[];_0x2a1906[_0xcd68f5(0x14a)]&&_0x2a1906['attachments']['map'](_0x2e731f=>{const _0x37ed27=_0xcd68f5;if(_0x2bcdef[_0x37ed27(0xb6)](_0x2e731f[_0x37ed27(0x118)],_0x2bcdef[_0x37ed27(0x16b)])){if(!fs[_0x37ed27(0xef)](_0x2e731f[_0x37ed27(0x14f)]))return;_0x2ae084[_0x37ed27(0x11c)]({'test_run_uuid':_0x343eca,'timestamp':fs[_0x37ed27(0x112)](_0x2e731f[_0x37ed27(0x14f)])[_0x37ed27(0x12b)],'kind':_0x2bcdef[_0x37ed27(0x11b)],'message':fs[_0x37ed27(0xca)](_0x2e731f[_0x37ed27(0x14f)],{'encoding':_0x2bcdef['QjOpv']})});}}),_0x2bcdef['tRTNq'](_0x2ae084[_0xcd68f5(0x10b)],0x0)&&await MyReporter[_0xcd68f5(0x15c)](_0x2ae084);}async[a39_0x3b17b6(0x12e)](){const _0x51eced=a39_0x3b17b6;await RequestQueueHandler[_0x51eced(0x89)]()[_0x51eced(0xda)](),TestDetails[_0x51eced(0xda)]();}async['onEnd'](_0x5044d4){const _0x37fffa=a39_0x3b17b6,_0x377b25={'FiWER':function(_0x26c189){return _0x26c189();},'CFSmj':function(_0x21a2aa,_0x35b499){return _0x21a2aa(_0x35b499);}};await this[_0x37fffa(0x12e)](),_0x377b25[_0x37fffa(0xfe)](printBuildLink);try{process[_0x37fffa(0xc8)][_0x37fffa(0x13f)]&&await _0x377b25[_0x37fffa(0xfe)](calculatePerformance);}catch(_0x5d4a6f){_0x377b25[_0x37fffa(0x8f)](debug,_0x37fffa(0x103)+_0x5d4a6f[_0x37fffa(0xe8)]());}}static async[a39_0x3b17b6(0xba)](_0x1dc307,_0xd8c0ec){const _0x5994de=a39_0x3b17b6;_0xd8c0ec[_0x5994de(0x13e)]=TestDetails[_0x5994de(0xdf)](_0x1dc307),await this['reportLogs']([_0xd8c0ec]);}static async[a39_0x3b17b6(0x15c)](_0x597456){const _0x379cbe=a39_0x3b17b6,_0x5d171c={};_0x5d171c[_0x379cbe(0x11a)]=_0x379cbe(0xa1);const _0x34becf=_0x5d171c,_0x572695={};_0x572695[_0x379cbe(0x93)]=_0x34becf[_0x379cbe(0x11a)],_0x572695[_0x379cbe(0x155)]=_0x597456,await SessionHandler[_0x379cbe(0xd6)](_0x572695);}async['sendHookRunEvent'](_0x5c283d,_0x2f025f,_0x41f60b,_0x1b49f8){const _0x5cc52c=a39_0x3b17b6,_0x216f42={'QhTwL':_0x5cc52c(0xb3),'kMbpm':_0x5cc52c(0x10e),'spwjd':_0x5cc52c(0x156),'mrGks':function(_0x4d5774,_0x5bbbb2){return _0x4d5774>=_0x5bbbb2;},'RiSuB':function(_0x16cf29,_0x30a189){return _0x16cf29===_0x30a189;},'SiOqC':_0x5cc52c(0xc1),'OMbcb':function(_0x115a94,_0x5abcc7){return _0x115a94>_0x5abcc7;},'OICYx':_0x5cc52c(0x102),'fGScE':function(_0x29bd6e,_0x2773ba){return _0x29bd6e(_0x2773ba);},'zddSn':function(_0x403ea5,_0x1fd77f){return _0x403ea5(_0x1fd77f);},'OGMZs':function(_0x5a31ab,_0x5e7711,_0x2c1dc8){return _0x5a31ab(_0x5e7711,_0x2c1dc8);},'wbARM':_0x5cc52c(0xe1),'kHbJb':_0x5cc52c(0xe0)},_0x2e6d31=this[_0x5cc52c(0xed)](_0x5c283d,_0x2f025f),_0x307e54=this[_0x5cc52c(0x95)][_0x2e6d31],_0x570108={'uuid':_0x307e54[_0x5cc52c(0x150)],'type':_0x216f42['QhTwL'],'hook_type':this['getHookType'](_0x2f025f[_0x5cc52c(0x86)]),'name':_0x2f025f['title'],'scope':this[_0x5cc52c(0xd4)](_0x2f025f),'scopes':this[_0x5cc52c(0x10c)](_0x5c283d),'body':{'lang':_0x216f42['kMbpm'],'code':null},'identifier':_0x2e6d31,'file_name':path[_0x5cc52c(0xb7)](process[_0x5cc52c(0xdb)](),_0x5c283d[_0x5cc52c(0x9a)][_0x5cc52c(0xb9)]),'location':path[_0x5cc52c(0xb7)](process[_0x5cc52c(0xdb)](),_0x5c283d[_0x5cc52c(0x9a)][_0x5cc52c(0xb9)]),'result':_0x216f42[_0x5cc52c(0x122)],'duration_in_ms':_0x216f42[_0x5cc52c(0xcb)](_0x2f025f['duration'],0x0)?_0x2f025f['duration']:undefined,'vc_filepath':this[_0x5cc52c(0xc9)]&&_0x5c283d[_0x5cc52c(0x9a)][_0x5cc52c(0xb9)]?path[_0x5cc52c(0xb7)](this[_0x5cc52c(0xc9)],_0x5c283d[_0x5cc52c(0x9a)]['file']):undefined,'started_at':_0x307e54['startedAt'],'finished_at':_0x307e54[_0x5cc52c(0xbf)],'framework':FRAMEWORKS[_0x5cc52c(0xd7)]};if(_0x216f42[_0x5cc52c(0x113)](_0x41f60b,_0x216f42[_0x5cc52c(0x144)])){const {steps:_0x1b1640,logs:_0x22409b}=this[_0x5cc52c(0x147)](_0x2f025f[_0x5cc52c(0x121)],_0x307e54[_0x5cc52c(0x150)],_0x216f42['QhTwL']);_0x22409b&&_0x216f42['OMbcb'](_0x22409b[_0x5cc52c(0x10b)],0x0)&&await MyReporter['reportLogs'](_0x22409b);const _0x2b0cb0={};_0x2b0cb0[_0x5cc52c(0x121)]=_0x1b1640,_0x570108[_0x5cc52c(0xa0)]=_0x2b0cb0;if(_0x2f025f['error']){_0x570108[_0x5cc52c(0x12f)]=_0x216f42[_0x5cc52c(0x10d)],_0x570108[_0x5cc52c(0x169)]=_0x216f42[_0x5cc52c(0x115)](removeAnsiColors,_0x2f025f[_0x5cc52c(0x145)]['message']),_0x570108['failure_type']=_0x216f42[_0x5cc52c(0xd5)](getFailureType,_0x2f025f[_0x5cc52c(0x145)][_0x5cc52c(0x120)]);const _0x3203d9=_0x216f42[_0x5cc52c(0x88)](failureData,_0x2f025f[_0x5cc52c(0x145)],_0x216f42[_0x5cc52c(0xae)]);if(_0x3203d9&&_0x216f42[_0x5cc52c(0x113)](_0x3203d9[_0x5cc52c(0x10b)],0x0)){const _0x19a1b5={};_0x19a1b5[_0x5cc52c(0x138)]=[_0x570108[_0x5cc52c(0x169)]],_0x19a1b5[_0x5cc52c(0xa5)]=[],_0x3203d9[_0x5cc52c(0x11c)](_0x19a1b5);}_0x570108[_0x5cc52c(0x136)]=_0x3203d9;}else _0x570108[_0x5cc52c(0x12f)]=_0x216f42[_0x5cc52c(0x91)];}const _0x269b85={};_0x269b85[_0x5cc52c(0x93)]=_0x41f60b,_0x269b85['hook_run']=_0x570108;const _0x9f0de2=_0x269b85;await SessionHandler['uploadEventData'](_0x9f0de2);}[a39_0x3b17b6(0x147)](_0x11652b,_0x227f09,_0x300186){const _0x5d7d0b=a39_0x3b17b6,_0x129cd5={'BeTlx':function(_0x27edf4,_0x29d25f){return _0x27edf4===_0x29d25f;},'WrNNV':_0x5d7d0b(0xb3),'LRgwF':function(_0xcd051a,_0x15bf75){return _0xcd051a===_0x15bf75;},'Ugpew':_0x5d7d0b(0x111),'wESPj':_0x5d7d0b(0x159),'izYIi':function(_0x3d2d3e,_0x535f26){return _0x3d2d3e===_0x535f26;},'kswwO':_0x5d7d0b(0x9e),'yflDr':_0x5d7d0b(0x13e),'XwqfU':_0x5d7d0b(0x149),'qlnNw':'TEST_STEP','pIYIa':_0x5d7d0b(0x102),'pDSeJ':_0x5d7d0b(0xe0),'CgrSM':function(_0x5e7c2b,_0x1736ad){return _0x5e7c2b(_0x1736ad);},'zndPx':function(_0x4ad641,_0x115cb9){return _0x4ad641(_0x115cb9);},'opVge':function(_0x350274){return _0x350274();},'OdSJU':function(_0x339c9b,_0x50e02b,_0x21781e){return _0x339c9b(_0x50e02b,_0x21781e);},'IORmc':function(_0x496606,_0x3cd384,_0x37d6ac){return _0x496606(_0x3cd384,_0x37d6ac);}},_0x3f6cb1=[],_0x8e7d6e=[],_0x19fcd6=_0x11652b[_0x5d7d0b(0xc2)](_0x216f4b=>{const _0x2b5672=_0x5d7d0b;if(_0x129cd5[_0x2b5672(0x141)](_0x216f4b[_0x2b5672(0xbd)],_0x129cd5[_0x2b5672(0xf8)])&&(_0x129cd5[_0x2b5672(0xbe)](_0x216f4b[_0x2b5672(0x86)],_0x129cd5[_0x2b5672(0x137)])||_0x129cd5[_0x2b5672(0x141)](_0x216f4b['title'],_0x129cd5['wESPj'])))return![];return!![];}),_0x1b1a99=(_0x89d98f,_0x1549ba=![])=>{const _0x47617d=_0x5d7d0b;if(_0x129cd5[_0x47617d(0xbe)](_0x89d98f[_0x47617d(0x121)][_0x47617d(0x10b)],0x0)){const _0x4fa7e1=_0x129cd5[_0x47617d(0x10a)](_0x300186,_0x129cd5[_0x47617d(0xcd)])?_0x129cd5[_0x47617d(0x11e)]:_0x129cd5[_0x47617d(0x153)];_0x8e7d6e[_0x47617d(0x11c)]({'kind':_0x129cd5[_0x47617d(0x168)],[_0x4fa7e1]:_0x227f09,'message':_0x89d98f[_0x47617d(0x86)],'timestamp':_0x89d98f['startTime']['toISOString'](),'level':_0x89d98f['error']?_0x129cd5[_0x47617d(0x129)]:_0x129cd5[_0x47617d(0x97)],'duration':_0x89d98f[_0x47617d(0x101)],'failure':_0x89d98f[_0x47617d(0x145)]&&_0x89d98f[_0x47617d(0x145)][_0x47617d(0x120)]&&_0x129cd5[_0x47617d(0x124)](removeAnsiColors,_0x89d98f[_0x47617d(0x145)]['message']),'failure_type':_0x129cd5[_0x47617d(0xff)](getFailureType,_0x89d98f[_0x47617d(0x145)]&&_0x89d98f[_0x47617d(0x145)][_0x47617d(0x120)])});}else{!_0x1549ba&&_0x3f6cb1['push']({'id':_0x129cd5[_0x47617d(0xac)](uuidv4),'text':_0x89d98f['title'],'keyword':undefined,'started_at':_0x89d98f['startTime']['toISOString'](),'duration':_0x89d98f[_0x47617d(0x101)],'result':_0x89d98f[_0x47617d(0x145)]?_0x129cd5[_0x47617d(0x129)]:_0x129cd5[_0x47617d(0x97)],'failure':_0x89d98f[_0x47617d(0x145)]&&_0x89d98f[_0x47617d(0x145)][_0x47617d(0x120)]&&_0x129cd5[_0x47617d(0xff)](removeAnsiColors,_0x89d98f[_0x47617d(0x145)][_0x47617d(0x120)]),'failure_type':_0x129cd5[_0x47617d(0x124)](getFailureType,_0x89d98f[_0x47617d(0x145)]&&_0x89d98f[_0x47617d(0x145)][_0x47617d(0x120)])});for(const _0x402e86 of _0x89d98f[_0x47617d(0x121)]){_0x129cd5[_0x47617d(0x167)](_0x1b1a99,_0x402e86,!![]);}}};for(const _0x4aa7a7 of _0x19fcd6){_0x129cd5[_0x5d7d0b(0xc3)](_0x1b1a99,_0x4aa7a7,![]);}const _0x2a69d7={};return _0x2a69d7[_0x5d7d0b(0x121)]=_0x3f6cb1,_0x2a69d7[_0x5d7d0b(0x155)]=_0x8e7d6e,_0x2a69d7;}async[a39_0x3b17b6(0xde)](_0x573b29,_0x267ad9,_0x4af3c0){const _0x3d31ce=a39_0x3b17b6,_0x14084c={'ChDJz':_0x3d31ce(0x9e),'lTnJz':_0x3d31ce(0x10e),'PLqoS':'pending','BzrPR':function(_0xa93e42,_0x5b26da){return _0xa93e42(_0x5b26da);},'WzEac':function(_0x1513f3,_0x396a51,_0xd1d7c9,_0x2be7b9,_0x55b5cc){return _0x1513f3(_0x396a51,_0xd1d7c9,_0x2be7b9,_0x55b5cc);},'WgfND':function(_0x27db3c,_0x4e1b83){return _0x27db3c>_0x4e1b83;},'AcgyW':function(_0x4c838c,_0x23c4ad){return _0x4c838c-_0x23c4ad;},'rlzWe':function(_0x345bee,_0x1a6c07){return _0x345bee===_0x1a6c07;},'WPWEv':_0x3d31ce(0xb8),'ewAbl':_0x3d31ce(0x106),'axqEw':'passed','eeYhG':function(_0x179f33,_0x2031f7){return _0x179f33===_0x2031f7;},'Mzwto':'failed','lMKYs':function(_0x80bff1,_0x5e9228){return _0x80bff1===_0x5e9228;},'rrGyI':_0x3d31ce(0x10f),'RddKe':function(_0x2d2041,_0x49842c){return _0x2d2041===_0x49842c;},'AmQhk':_0x3d31ce(0x152),'TuYqx':function(_0x4b37ee,_0x517d92){return _0x4b37ee(_0x517d92);},'yWWLM':function(_0x21a95b,_0x37b68d,_0x4df5d6){return _0x21a95b(_0x37b68d,_0x4df5d6);},'gkXBt':function(_0x193313,_0x3dba2a){return _0x193313===_0x3dba2a;}},_0x4f03a2=this[_0x3d31ce(0xd3)](_0x573b29),_0x43c7a3=this[_0x3d31ce(0xd4)](_0x573b29),_0x26366a=this[_0x3d31ce(0x95)][_0x4f03a2],_0x1e98b9=path[_0x3d31ce(0xb7)](process['cwd'](),_0x573b29['location']['file']);await this[_0x3d31ce(0x12c)]();const _0x3e379f={'uuid':_0x26366a[_0x3d31ce(0x150)],'type':_0x14084c[_0x3d31ce(0x99)],'name':_0x573b29[_0x3d31ce(0x86)],'body':{'lang':_0x14084c[_0x3d31ce(0xa7)],'code':_0x573b29['fn'][_0x3d31ce(0xe8)]()},'scope':_0x43c7a3,'scopes':this['getHierarchy'](_0x573b29),'identifier':_0x4f03a2,'file_name':_0x1e98b9,'location':_0x1e98b9,'result':_0x14084c[_0x3d31ce(0xc4)],'duration_in_ms':_0x4af3c0&&_0x4af3c0['duration']?_0x4af3c0['duration']:null,'vc_filepath':this[_0x3d31ce(0xc9)]&&_0x573b29[_0x3d31ce(0x9a)][_0x3d31ce(0xb9)]?path['relative'](this[_0x3d31ce(0xc9)],_0x573b29['location'][_0x3d31ce(0xb9)]):undefined,'started_at':_0x26366a[_0x3d31ce(0xc5)],'finished_at':_0x26366a[_0x3d31ce(0xbf)],'framework':FRAMEWORKS['PLAYWRIGHT'],'customRerunParam':{'rerun_name':_0x573b29[_0x3d31ce(0xbb)]()['join']('\x20')},'tags':_0x14084c[_0x3d31ce(0xe4)](getTagsFromTitle,_0x573b29[_0x3d31ce(0x86)])};_0x14084c[_0x3d31ce(0xea)](appendTesthubParams,_0x3e379f,_0x267ad9,_0x573b29,FRAMEWORKS[_0x3d31ce(0xd7)]);_0x4af3c0&&_0x14084c[_0x3d31ce(0xe6)](_0x4af3c0['retry'],0x0)&&(_0x3e379f[_0x3d31ce(0x15f)]=TestDetails[_0x3d31ce(0xdf)](this['getTestRunIdentifier'](_0x573b29,_0x14084c[_0x3d31ce(0x13a)](_0x4af3c0[_0x3d31ce(0xdd)],0x1))));if(_0x14084c[_0x3d31ce(0xd9)](_0x267ad9,_0x14084c[_0x3d31ce(0x142)])){_0x3e379f[_0x3d31ce(0x12f)]=_0x4af3c0[_0x3d31ce(0x85)];if(_0x14084c['rlzWe'](_0x4af3c0['status'],_0x573b29[_0x3d31ce(0xa6)]))_0x3e379f[_0x3d31ce(0x12f)]=_0x14084c[_0x3d31ce(0xd9)](_0x4af3c0[_0x3d31ce(0x85)],_0x14084c[_0x3d31ce(0x14d)])?_0x14084c['ewAbl']:_0x14084c[_0x3d31ce(0xab)];else{(_0x14084c[_0x3d31ce(0xd9)](_0x3e379f[_0x3d31ce(0x12f)],_0x14084c[_0x3d31ce(0xab)])||_0x14084c['eeYhG'](_0x3e379f[_0x3d31ce(0x12f)],_0x14084c[_0x3d31ce(0x90)])||_0x14084c['lMKYs'](_0x3e379f[_0x3d31ce(0x12f)],_0x14084c[_0x3d31ce(0xd0)]))&&(_0x3e379f[_0x3d31ce(0x12f)]=_0x14084c[_0x3d31ce(0x90)]);if(_0x14084c[_0x3d31ce(0x125)](_0x4af3c0['status'],_0x14084c[_0x3d31ce(0xab)])&&_0x14084c['RddKe'](_0x573b29['expectedStatus'],_0x14084c[_0x3d31ce(0x90)])){const _0x2cf1fd={};_0x2cf1fd[_0x3d31ce(0x120)]=_0x14084c[_0x3d31ce(0x131)],_0x2cf1fd[_0x3d31ce(0x13d)]=_0x14084c['AmQhk'],_0x4af3c0[_0x3d31ce(0x145)]=_0x2cf1fd,_0x4af3c0['errors']=[_0x4af3c0['error']];}}const _0x8ada84=this[_0x3d31ce(0x8b)](_0x573b29,_0x4af3c0[_0x3d31ce(0xdd)]);_0x3e379f['hooks']=this[_0x3d31ce(0x110)][_0x8ada84];const {steps:_0x4e8190,logs:_0x1ac8a1}=this[_0x3d31ce(0x147)](_0x4af3c0[_0x3d31ce(0x121)],_0x26366a[_0x3d31ce(0x150)],_0x14084c[_0x3d31ce(0x99)]);await MyReporter['reportLogs'](_0x1ac8a1);const _0x55bb94={};_0x55bb94['steps']=_0x4e8190,_0x3e379f[_0x3d31ce(0xa0)]=_0x55bb94;if(_0x4af3c0[_0x3d31ce(0x145)]){_0x3e379f[_0x3d31ce(0x169)]=_0x14084c[_0x3d31ce(0x8e)](removeAnsiColors,_0x4af3c0[_0x3d31ce(0x145)][_0x3d31ce(0x120)]),_0x3e379f[_0x3d31ce(0x154)]=_0x14084c['BzrPR'](getFailureType,_0x4af3c0[_0x3d31ce(0x145)]['message']);const _0x4c7b5d={};_0x4c7b5d['test_run_uuid']=_0x26366a[_0x3d31ce(0x150)];const {failureData:_0x1529cd,logs:_0x4ae5cb}=_0x14084c[_0x3d31ce(0xf1)](getFailureData,_0x4af3c0[_0x3d31ce(0xb1)],_0x4c7b5d);if(_0x1529cd&&_0x14084c['gkXBt'](_0x1529cd[_0x3d31ce(0x10b)],0x0)){const _0x414a13={};_0x414a13[_0x3d31ce(0x138)]=[_0x3e379f['failure_reason']],_0x414a13[_0x3d31ce(0xa5)]=[],_0x1529cd[_0x3d31ce(0x11c)](_0x414a13);}_0x3e379f[_0x3d31ce(0x136)]=_0x1529cd,_0x4ae5cb&&_0x14084c['WgfND'](_0x4ae5cb[_0x3d31ce(0x10b)],0x0)&&await MyReporter['reportLogs'](_0x4ae5cb);}}const _0x32e7e6={};_0x32e7e6[_0x3d31ce(0x93)]=_0x267ad9,_0x32e7e6[_0x3d31ce(0x146)]=_0x3e379f;const _0x26451a=_0x32e7e6;await SessionHandler['uploadEventData'](_0x26451a);}static async[a39_0x3b17b6(0x132)](_0x3e62dc,_0x3402be){const _0x4b7356=a39_0x3b17b6,_0x43e351={'OIZmX':function(_0x4cc85c,_0x4295d3){return _0x4cc85c(_0x4295d3);},'MzVRg':_0x4b7356(0x164)},_0x38c9d8={'uuid':TestDetails[_0x4b7356(0xdf)](_0x3e62dc),'integrations':_0x3402be},_0x2a2370={};_0x2a2370[_0x4b7356(0xaa)]=null,_0x43e351[_0x4b7356(0x163)](debug,_0x4b7356(0xf4)+_0x3e62dc+',\x20'+util[_0x4b7356(0xf3)](_0x3402be,_0x2a2370));const _0x5b406a={};_0x5b406a[_0x4b7356(0x93)]=_0x43e351[_0x4b7356(0xcf)],_0x5b406a[_0x4b7356(0x146)]=_0x38c9d8,await SessionHandler['uploadEventData'](_0x5b406a);}async['configureGit'](){const _0x1855ce=a39_0x3b17b6,_0x41c167={'pNFgh':function(_0x4e8dac){return _0x4e8dac();}};if(this['_gitConfigured'])return;const _0x26bea5=await _0x41c167[_0x1855ce(0xce)](getGitMetaData);_0x26bea5&&(this[_0x1855ce(0xc9)]=_0x26bea5[_0x1855ce(0x133)]),this[_0x1855ce(0x12d)]=!![];}[a39_0x3b17b6(0x10c)](_0x9d7ac8){const _0x39e422=a39_0x3b17b6,_0xade6fe={};_0xade6fe[_0x39e422(0x8c)]=function(_0x2dd744,_0x4777f3){return _0x2dd744!==_0x4777f3;};const _0x19d6b3=_0xade6fe,_0x4fc232=[];if(_0x9d7ac8&&_0x9d7ac8['parent']){let _0xa90dbc=_0x9d7ac8[_0x39e422(0xf9)];while(_0xa90dbc&&_0x19d6b3[_0x39e422(0x8c)](_0xa90dbc[_0x39e422(0x86)],'')){_0x4fc232[_0x39e422(0x11c)](_0xa90dbc[_0x39e422(0x86)]),_0xa90dbc=_0xa90dbc[_0x39e422(0xf9)];}}return _0x4fc232[_0x39e422(0x117)]()[_0x39e422(0x15b)](0x0,0x2),_0x4fc232;}[a39_0x3b17b6(0xd1)](_0x5b9b72){const _0x20eac1=a39_0x3b17b6,_0x566a8f={};_0x566a8f[_0x20eac1(0x8d)]=function(_0xec9d78,_0x8ad091){return _0xec9d78!==_0x8ad091;},_0x566a8f[_0x20eac1(0x98)]=_0x20eac1(0xb3),_0x566a8f['TiALF']=function(_0xf1fd61,_0x3f4777){return _0xf1fd61===_0x3f4777;},_0x566a8f['RRqET']=_0x20eac1(0xe5),_0x566a8f[_0x20eac1(0x107)]=_0x20eac1(0x15a),_0x566a8f[_0x20eac1(0x108)]=_0x20eac1(0x148),_0x566a8f['IDVCC']='afterEach\x20hook';const _0x511d1f=_0x566a8f;if(_0x511d1f[_0x20eac1(0x8d)](_0x5b9b72[_0x20eac1(0xbd)],_0x511d1f[_0x20eac1(0x98)]))return![];if(_0x511d1f[_0x20eac1(0xeb)]([_0x511d1f[_0x20eac1(0x139)],_0x511d1f[_0x20eac1(0x107)],_0x511d1f['JTIpE'],_0x511d1f[_0x20eac1(0x8a)]][_0x20eac1(0x165)](_0x5b9b72[_0x20eac1(0x86)]),-0x1))return![];return!![];}[a39_0x3b17b6(0xed)](_0x37f1ec,_0x3bda41){const _0x3c5adf=a39_0x3b17b6,_0xf829e9=_0x3bda41[_0x3c5adf(0x100)];if(_0xf829e9)return _0xf829e9;return _0x3bda41[_0x3c5adf(0x86)]+_0x3c5adf(0xb5)+this[_0x3c5adf(0xd3)](_0x37f1ec);}[a39_0x3b17b6(0xd8)](_0x36649e,_0x2c721f){const _0x45d111=a39_0x3b17b6,_0x20b13a={'bNDYx':function(_0x38cae7){return _0x38cae7();}};let _0xadc20c=_0x2c721f['title']+_0x45d111(0xb5)+this['getTestIdentifier'](_0x36649e);return this[_0x45d111(0x95)][_0xadc20c]&&(_0xadc20c=_0xadc20c+_0x45d111(0xb4)+_0x20b13a[_0x45d111(0x9c)](uuidv4)),_0x2c721f[_0x45d111(0x100)]=_0xadc20c,_0xadc20c;}[a39_0x3b17b6(0xd3)]=_0x4463b9=>{const _0x34196d=a39_0x3b17b6,_0x458da7={};_0x458da7['GULKr']=function(_0x44347d,_0x441c21){return _0x44347d+_0x441c21;},_0x458da7[_0x34196d(0x12a)]=function(_0x1337e2,_0x40c56e){return _0x1337e2+_0x40c56e;};const _0x2a4d58=_0x458da7;return _0x2a4d58['GULKr'](_0x2a4d58[_0x34196d(0x12a)](_0x4463b9[_0x34196d(0xe9)],'-'),_0x4463b9['id']);};[a39_0x3b17b6(0x8b)]=(_0x144257,_0x5f46c3)=>{const _0x3390eb=a39_0x3b17b6,_0x7c4f68={};_0x7c4f68[_0x3390eb(0x134)]=function(_0x80e7f2,_0x421f17){return _0x80e7f2+_0x421f17;};const _0x3d4e89=_0x7c4f68;return _0x3d4e89['azCYb'](_0x3d4e89['azCYb'](this['getTestIdentifier'](_0x144257),'-'),_0x5f46c3);};[a39_0x3b17b6(0xcc)]=_0x34869a=>{const _0x25bff5=a39_0x3b17b6,_0x322f97={};_0x322f97['ZLrMn']=_0x25bff5(0xe5),_0x322f97[_0x25bff5(0xbc)]='BEFORE_EACH',_0x322f97[_0x25bff5(0x119)]='beforeAll\x20hook',_0x322f97['uqQIW']=_0x25bff5(0x9d),_0x322f97['YlgTK']=_0x25bff5(0x9b),_0x322f97[_0x25bff5(0xaf)]='AFTER_EACH',_0x322f97[_0x25bff5(0xfd)]=_0x25bff5(0x148),_0x322f97['DhsSB']=_0x25bff5(0xa3),_0x322f97['oXyRv']='unknown';const _0x54584b=_0x322f97;if(_0x34869a[_0x25bff5(0x14e)](_0x54584b[_0x25bff5(0xb0)]))return _0x54584b[_0x25bff5(0xbc)];else{if(_0x34869a[_0x25bff5(0x14e)](_0x54584b[_0x25bff5(0x119)]))return _0x54584b[_0x25bff5(0xfa)];else{if(_0x34869a[_0x25bff5(0x14e)](_0x54584b['YlgTK']))return _0x54584b[_0x25bff5(0xaf)];else{if(_0x34869a[_0x25bff5(0x14e)](_0x54584b[_0x25bff5(0xfd)]))return _0x54584b[_0x25bff5(0x116)];}}}return _0x54584b[_0x25bff5(0x16d)];};[a39_0x3b17b6(0xd4)]=_0x3c2318=>{const _0x6f828=a39_0x3b17b6,_0x3c821b={};_0x3c821b[_0x6f828(0x15d)]=function(_0x5dea07,_0x82520c){return _0x5dea07===_0x82520c;},_0x3c821b['BEalq']=_0x6f828(0x92);const _0x3a6095=_0x3c821b;let _0x58133a=_0x3c2318[_0x6f828(0xf9)];return _0x3a6095['HRTHD'](typeof _0x3c2318['parent'],_0x3a6095[_0x6f828(0xc0)])&&(_0x58133a=_0x58133a[_0x6f828(0x86)]),_0x58133a+_0x6f828(0xb4)+_0x3c2318[_0x6f828(0x86)];};[a39_0x3b17b6(0x104)](){return![];}}module[a39_0x3b17b6(0x13b)]=o11yClassErrorHandler(MyReporter,[a39_0x3b17b6(0x11d),a39_0x3b17b6(0x12e),a39_0x3b17b6(0xf2),a39_0x3b17b6(0x15e),a39_0x3b17b6(0xf5),a39_0x3b17b6(0xa2),a39_0x3b17b6(0x132)],a39_0x3b17b6(0x114));
1
+ function a40_0x5e9a(){const _0x2bb33b=['event_type','failed','1682wESnPB','startMonitoring','finishedAt','attachments','startsWith','790332dmMZSS','tuQax','Error\x20in\x20calculating\x20performance:\x20','errors','setStepIdentifier','getInstance','pROcK','UUvqO','XTBux','status','logs','TestRunFinished','SdswJ','depth','addTestUIDAndReportLog','Test\x20Finished\x20with\x20unique\x20id\x20','IFANe','test_run_uuid','RQZfX','onBegin','getTestUUID','JclIs','4307897NTYbwq','startTime','tFXEw','sPCbs','sendSessionDetails','lAqkW','1467xEsgMM','1251630sFKmSj','ldJTn','beforeEach\x20hook','zlOfq','RSpYx','endSession','hook','LogCreated','ISHKQ','Nlunq','CxJCZ','PBPqM','../../../helpers/helper','zsqQp','backtrace','23093azUVDI','TvRdX','YrPFE','CgLSe','object','getStepIdentifier','lSjtX','YKJjU','javascript','MyReporter','255hJVNLc','expectedStatus','START_TIME','NYfMn','UMMsQ','getStepsAndLogs','needToReportStep','dAMKM','sendHookRunEvent','gxkPg','meta','lJwat','error','beforeAll\x20hook','_testHooksMap','ouXWZ','PLAYWRIGHT','../../../helpers/testhub/utils','root','BROWSERSTACK_LOG_LEVEL','message','cMrLq','malIP','TEST_SCREENSHOT','file','\x20is\x20triggered','UpVGR','NzwMP','category','relative','test_run','pending','nJNHV','toISOString','steps','ycqXi','TEST_STEP','uuid','./test-details','expanded','existsSync','readFileSync','_gitConfigured','TygNb','failure','BEFORE_EACH','fVYWw','env','TOMEV','57066ACZBqP','statSync','setup','HNEpb','ylfJz','util','sendTestRunEvent','jtlbj','xlWvF','getHookType','onStepEnd','_tests','EgmbN','path','duration','638618Mkaayu','afterAll\x20hook','parent','../../../helpers/testhub/testhubHandler','owSGP','lxqkq','BEFORE_ALL','Frdlx','_gitConfigPath','KCKKp','base64','BROWSERSTACK_O11Y_PERF_MEASUREMENT','60rxSUqI','CBTSessionCreated','join','klXBO','AbUvE','ldoaG','onTestBegin','stack','AGwvi','jrfsJ','eqsFr','getTestIdentifier','performance-report-reporter.json','htvsH','_projectId','Sending\x20session\x20details\x20for\x20','XqnLZ','reverse','shutdown','toString','length','screenshot','hSqSw','1|2|4|5|0|6|3','BDhuj','LNfeY','KhAgH','reportLogs','exports','ehSeo','cwd','failure_reason','PPonj','xWpkV','FwVWm','Inxyk','quouP','printsToStdio','getScope','hook_run','getHierarchy','getTestRunIdentifier','IxazO','getTime','test','KrhvJ','mZvaj','afterEach\x20hook','push','RqrbH','yTynG','After\x20Hooks','onEnd','retry','jDcVe','\x20is\x20triggered\x20for\x20test\x20','NzLUE','ACMVv','\x20for\x20','passed','onTestEnd','20fahLVC','Expected\x20to\x20fail,\x20but\x20passed.','FzxlH','BKaxD','err','zVEEd','\x20-\x20','../../../helpers/test-observability/error-handler','uploadEventData','../../../helpers/test-observability/constants','1208jQSQbc','startedAt','hook_run_uuid','location','emDgQ','result','BWWFY','title','zGuCn','_bs_hookIdentifier'];a40_0x5e9a=function(){return _0x2bb33b;};return a40_0x5e9a();}const a40_0x83bff6=a40_0x116d;(function(_0x5c4aac,_0x428c74){const _0x497dc9=a40_0x116d,_0x18acda=_0x5c4aac();while(!![]){try{const _0x1b0b5e=-parseInt(_0x497dc9(0x182))/0x1+parseInt(_0x497dc9(0x1e1))/0x2*(-parseInt(_0x497dc9(0x202))/0x3)+-parseInt(_0x497dc9(0x1e6))/0x4+parseInt(_0x497dc9(0x21c))/0x5*(-parseInt(_0x497dc9(0x173))/0x6)+-parseInt(_0x497dc9(0x212))/0x7*(-parseInt(_0x497dc9(0x1d5))/0x8)+-parseInt(_0x497dc9(0x203))/0x9*(parseInt(_0x497dc9(0x1cb))/0xa)+parseInt(_0x497dc9(0x1fc))/0xb*(parseInt(_0x497dc9(0x18e))/0xc);if(_0x1b0b5e===_0x428c74)break;else _0x18acda['push'](_0x18acda['shift']());}catch(_0x2d817c){_0x18acda['push'](_0x18acda['shift']());}}}(a40_0x5e9a,0x6ccc1));const RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),{calculatePerformance,getTagsFromTitle,getFailureData}=require('./pwUtils'),{v4:uuidv4}=require(a40_0x83bff6(0x167)),path=require(a40_0x83bff6(0x180)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require('../../../helpers/test-observability/utils'),{getGitMetaData,setLogLevel}=require(a40_0x83bff6(0x20f)),TestDetails=require(a40_0x83bff6(0x168)),fs=require('fs'),util=require(a40_0x83bff6(0x178)),{o11yClassErrorHandler}=require(a40_0x83bff6(0x1d2)),PerformanceTester=require('../../../helpers/performance-tester'),{FRAMEWORKS}=require(a40_0x83bff6(0x1d4)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{appendTesthubParams}=require(a40_0x83bff6(0x153)),TestHubHandler=require(a40_0x83bff6(0x185));function a40_0x116d(_0x501fb0,_0x382912){const _0x5e9a8b=a40_0x5e9a();return a40_0x116d=function(_0x116d06,_0x1d9be2){_0x116d06=_0x116d06-0x14b;let _0x4083bf=_0x5e9a8b[_0x116d06];return _0x4083bf;},a40_0x116d(_0x501fb0,_0x382912);}class MyReporter{constructor(_0x3dd849){const _0x4cb100=a40_0x83bff6,_0x1b30be={'cwOic':_0x4cb100(0x1a5),'XTBux':function(_0x468310,_0x1de6c4,_0x461b90,_0x212f99){return _0x468310(_0x1de6c4,_0x461b90,_0x212f99);},'KhAgH':_0x4cb100(0x19a)},_0x166e94=_0x1b30be['cwOic']['split']('|');let _0x5a61e2=0x0;while(!![]){switch(_0x166e94[_0x5a61e2++]){case'0':this['options']=_0x3dd849;continue;case'1':const _0x2e4eaa={};_0x2e4eaa['logLevel']=process[_0x4cb100(0x171)][_0x4cb100(0x155)],_0x1b30be[_0x4cb100(0x1ee)](setLogLevel,_0x2e4eaa,new Map(),new Map());continue;case'2':process[_0x4cb100(0x171)][_0x4cb100(0x18d)]&&(PerformanceTester[_0x4cb100(0x1e2)](_0x1b30be[_0x4cb100(0x1a8)]),process[_0x4cb100(0x171)][_0x4cb100(0x21e)]=new Date()[_0x4cb100(0x163)]());continue;case'3':this[_0x4cb100(0x18a)]=null;continue;case'4':this[_0x4cb100(0x17e)]={};continue;case'5':this['_testHooksMap']={};continue;case'6':this[_0x4cb100(0x16c)]=![];continue;}break;}}async['onBegin'](){const _0x1a3c71=a40_0x83bff6;TestDetails[_0x1a3c71(0x175)](),await this['configureGit']();}async[a40_0x83bff6(0x194)](_0x169a09,_0x457411){const _0x4f1870=a40_0x83bff6,_0x22d654={'zGuCn':function(_0x2085f6,_0x1fdb41){return _0x2085f6(_0x1fdb41);},'BDhuj':'TestRunStarted'},_0x19ba24=this[_0x4f1870(0x199)](_0x169a09);this[_0x4f1870(0x17e)][_0x19ba24]={'uuid':TestDetails[_0x4f1870(0x1fa)](this[_0x4f1870(0x1b7)](_0x169a09,_0x457411[_0x4f1870(0x1c3)])),'startedAt':_0x457411[_0x4f1870(0x1fd)]},_0x22d654[_0x4f1870(0x1dd)](trace,'Test\x20Started\x20with\x20unique\x20id\x20'+_0x19ba24),await this['sendTestRunEvent'](_0x169a09,_0x22d654[_0x4f1870(0x1a6)],_0x457411);}async['onStepBegin'](_0x1ab920,_0x48109f,_0x24e8ae){const _0xb10fab=a40_0x83bff6,_0x1300ab={'AGwvi':function(_0x1d405b,_0x2c23a3){return _0x1d405b(_0x2c23a3);},'IqpMh':'HookRunStarted'};if(!this['needToReportStep'](_0x24e8ae,_0x1ab920))return;const _0x3ecfa9=this[_0xb10fab(0x1ea)](_0x1ab920,_0x24e8ae);this['_tests'][_0x3ecfa9]={'uuid':TestDetails[_0xb10fab(0x1fa)](_0x3ecfa9),'startedAt':_0x24e8ae[_0xb10fab(0x1fd)]['toISOString']()};const _0x52cc13=this[_0xb10fab(0x1b7)](_0x1ab920,_0x48109f[_0xb10fab(0x1c3)]);!this['_testHooksMap'][_0x52cc13]&&(this[_0xb10fab(0x150)][_0x52cc13]=[]),this[_0xb10fab(0x150)][_0x52cc13][_0xb10fab(0x1be)](this[_0xb10fab(0x17e)][_0x3ecfa9]['uuid']),_0x1300ab[_0xb10fab(0x196)](trace,'Hook\x20Started\x20with\x20unique\x20id\x20'+_0x3ecfa9+_0xb10fab(0x1c5)+_0x52cc13),await this[_0xb10fab(0x224)](_0x1ab920,_0x24e8ae,_0x1300ab['IqpMh'],_0x48109f);}async['onStepEnd'](_0x533708,_0x1760ac,_0x2710b3){const _0x3148cd=a40_0x83bff6,_0xef2409={'EgmbN':function(_0x3c0e19,_0x418e7c){return _0x3c0e19+_0x418e7c;},'quouP':function(_0x17d95e,_0x25982a){return _0x17d95e(_0x25982a);},'CxJCZ':'HookRunFinished'};if(!this['needToReportStep'](_0x2710b3,_0x533708))return;const _0x1b44a8=this[_0x3148cd(0x217)](_0x533708,_0x2710b3);this[_0x3148cd(0x17e)][_0x1b44a8]={...this[_0x3148cd(0x17e)][_0x1b44a8]||{},'finishedAt':new Date(_0xef2409[_0x3148cd(0x17f)](_0x2710b3[_0x3148cd(0x1fd)][_0x3148cd(0x1b9)](),_0x2710b3[_0x3148cd(0x181)]))},_0xef2409[_0x3148cd(0x1b2)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x1b44a8+_0x3148cd(0x15b)),await this[_0x3148cd(0x224)](_0x533708,_0x2710b3,_0xef2409[_0x3148cd(0x20d)],_0x1760ac);}async[a40_0x83bff6(0x1ca)](_0x56bdaf,_0x4b017d){const _0x21169c=a40_0x83bff6,_0x6536d={'gxkPg':function(_0x4d8969,_0x3329c1){return _0x4d8969===_0x3329c1;},'TygNb':_0x21169c(0x1a3),'lAqkW':_0x21169c(0x159),'Uernx':_0x21169c(0x18c),'KCKKp':function(_0x3bb4fb,_0x21353d){return _0x3bb4fb(_0x21353d);},'lJwat':_0x21169c(0x1f1),'KoYqQ':function(_0x5aa275,_0x6a83f8){return _0x5aa275>_0x6a83f8;}},_0x806c98=this['getTestIdentifier'](_0x56bdaf),_0x5ed151=TestDetails[_0x21169c(0x1fa)](this[_0x21169c(0x1b7)](_0x56bdaf,_0x4b017d['retry']));this[_0x21169c(0x17e)][_0x806c98]={...this[_0x21169c(0x17e)][_0x806c98]||{},'finishedAt':new Date()[_0x21169c(0x163)]()},_0x6536d[_0x21169c(0x18b)](trace,_0x21169c(0x1f5)+_0x806c98),await this[_0x21169c(0x179)](_0x56bdaf,_0x6536d[_0x21169c(0x14d)],_0x4b017d);const _0x2cd795=[];_0x4b017d[_0x21169c(0x1e4)]&&_0x4b017d[_0x21169c(0x1e4)]['map'](_0x4ac09e=>{const _0x20e3a2=_0x21169c;if(_0x6536d[_0x20e3a2(0x14b)](_0x4ac09e['name'],_0x6536d[_0x20e3a2(0x16d)])){if(!fs[_0x20e3a2(0x16a)](_0x4ac09e['path']))return;_0x2cd795['push']({'test_run_uuid':_0x5ed151,'timestamp':fs[_0x20e3a2(0x174)](_0x4ac09e[_0x20e3a2(0x180)])['mtime'],'kind':_0x6536d[_0x20e3a2(0x201)],'message':fs[_0x20e3a2(0x16b)](_0x4ac09e[_0x20e3a2(0x180)],{'encoding':_0x6536d['Uernx']})});}}),_0x6536d['KoYqQ'](_0x2cd795[_0x21169c(0x1a2)],0x0)&&await MyReporter['reportLogs'](_0x2cd795);}async['endSession'](){const _0x389899=a40_0x83bff6;await RequestQueueHandler[_0x389899(0x1eb)]()[_0x389899(0x1a0)](),TestDetails['shutdown']();}async[a40_0x83bff6(0x1c2)](_0x2b5e4b){const _0x713bfc=a40_0x83bff6,_0x27efe0={'AbUvE':function(_0x27f23b){return _0x27f23b();},'htvsH':function(_0x1136d2){return _0x1136d2();},'RQZfX':function(_0x5b2e0a,_0x14add3){return _0x5b2e0a(_0x14add3);}};await this['endSession'](),_0x27efe0[_0x713bfc(0x192)](printBuildLink);try{process[_0x713bfc(0x171)][_0x713bfc(0x18d)]&&await _0x27efe0[_0x713bfc(0x19b)](calculatePerformance);}catch(_0x4b8d9a){_0x27efe0[_0x713bfc(0x1f8)](debug,_0x713bfc(0x1e8)+_0x4b8d9a[_0x713bfc(0x1a1)]());}}static async[a40_0x83bff6(0x1f4)](_0xb4b575,_0x42bbeb){const _0x9ddec8=a40_0x83bff6;_0x42bbeb['test_run_uuid']=TestDetails['getTestUUID'](_0xb4b575),await this[_0x9ddec8(0x1a9)]([_0x42bbeb]);}static async[a40_0x83bff6(0x1a9)](_0xd79a64){const _0x14b120=a40_0x83bff6,_0x2412e4={};_0x2412e4[_0x14b120(0x1e7)]=_0x14b120(0x20a);const _0x73482a=_0x2412e4,_0x350cb9={};_0x350cb9[_0x14b120(0x1df)]=_0x73482a[_0x14b120(0x1e7)],_0x350cb9['logs']=_0xd79a64,await SessionHandler[_0x14b120(0x1d3)](_0x350cb9);}async[a40_0x83bff6(0x224)](_0x5889e5,_0x5299bb,_0x310dd9,_0x4511d0){const _0x186b10=a40_0x83bff6,_0x186f76={'PBPqM':_0x186b10(0x209),'ycqXi':_0x186b10(0x21a),'RqrbH':_0x186b10(0x161),'pDyGW':function(_0x58c3c8,_0x5354f8){return _0x58c3c8>=_0x5354f8;},'ehSeo':function(_0x2b6712,_0x2b0ae0){return _0x2b6712===_0x2b0ae0;},'lceXe':'HookRunFinished','cMrLq':function(_0x4d99ff,_0x334103){return _0x4d99ff>_0x334103;},'CEKDB':'failed','ylfJz':function(_0x761da0,_0x550a76){return _0x761da0(_0x550a76);},'FwVWm':function(_0x4870ca,_0x101b0f,_0x5363d6){return _0x4870ca(_0x101b0f,_0x5363d6);},'KDceF':_0x186b10(0x1cf),'SXFnU':_0x186b10(0x1c9)},_0x1094b6=this[_0x186b10(0x217)](_0x5889e5,_0x5299bb),_0x82c98d=this['_tests'][_0x1094b6],_0x38abec={'uuid':_0x82c98d[_0x186b10(0x167)],'type':_0x186f76[_0x186b10(0x20e)],'hook_type':this[_0x186b10(0x17c)](_0x5299bb[_0x186b10(0x1dc)]),'name':_0x5299bb[_0x186b10(0x1dc)],'scope':this[_0x186b10(0x1b4)](_0x5299bb),'scopes':this[_0x186b10(0x1b6)](_0x5889e5),'body':{'lang':_0x186f76[_0x186b10(0x165)],'code':null},'identifier':_0x1094b6,'file_name':path[_0x186b10(0x15f)](process['cwd'](),_0x5889e5[_0x186b10(0x1d8)][_0x186b10(0x15a)]),'location':path[_0x186b10(0x15f)](process['cwd'](),_0x5889e5[_0x186b10(0x1d8)]['file']),'result':_0x186f76[_0x186b10(0x1bf)],'duration_in_ms':_0x186f76['pDyGW'](_0x5299bb[_0x186b10(0x181)],0x0)?_0x5299bb[_0x186b10(0x181)]:undefined,'vc_filepath':this['_gitConfigPath']&&_0x5889e5['location']['file']?path[_0x186b10(0x15f)](this[_0x186b10(0x18a)],_0x5889e5[_0x186b10(0x1d8)][_0x186b10(0x15a)]):undefined,'started_at':_0x82c98d['startedAt'],'finished_at':_0x82c98d[_0x186b10(0x1e3)],'framework':FRAMEWORKS[_0x186b10(0x152)]};if(_0x186f76['ehSeo'](_0x310dd9,_0x186f76['lceXe'])){const {steps:_0xc9757c,logs:_0x1cc582}=this[_0x186b10(0x221)](_0x5299bb[_0x186b10(0x164)],_0x82c98d[_0x186b10(0x167)],_0x186f76['PBPqM']);_0x1cc582&&_0x186f76[_0x186b10(0x157)](_0x1cc582[_0x186b10(0x1a2)],0x0)&&await MyReporter[_0x186b10(0x1a9)](_0x1cc582);const _0x5ce30d={};_0x5ce30d[_0x186b10(0x164)]=_0xc9757c,_0x38abec['meta']=_0x5ce30d;if(_0x5299bb[_0x186b10(0x14e)]){_0x38abec[_0x186b10(0x1da)]=_0x186f76['CEKDB'],_0x38abec[_0x186b10(0x1ad)]=_0x186f76[_0x186b10(0x177)](removeAnsiColors,_0x5299bb['error']['message']),_0x38abec['failure_type']=_0x186f76[_0x186b10(0x177)](getFailureType,_0x5299bb['error']['message']);const _0x582314=_0x186f76[_0x186b10(0x1b0)](failureData,_0x5299bb[_0x186b10(0x14e)],_0x186f76['KDceF']);if(_0x582314&&_0x186f76[_0x186b10(0x1ab)](_0x582314[_0x186b10(0x1a2)],0x0)){const _0x46410f={};_0x46410f[_0x186b10(0x211)]=[_0x38abec[_0x186b10(0x1ad)]],_0x46410f['expanded']=[],_0x582314[_0x186b10(0x1be)](_0x46410f);}_0x38abec[_0x186b10(0x16e)]=_0x582314;}else _0x38abec[_0x186b10(0x1da)]=_0x186f76['SXFnU'];}const _0x306fa6={};_0x306fa6[_0x186b10(0x1df)]=_0x310dd9,_0x306fa6[_0x186b10(0x1b5)]=_0x38abec;const _0x3f4856=_0x306fa6;await SessionHandler[_0x186b10(0x1d3)](_0x3f4856);}[a40_0x83bff6(0x221)](_0x26f91f,_0x36da86,_0x76bb07){const _0x2ee4fc=a40_0x83bff6,_0x2b7bb6={'klXBO':function(_0x41eb47,_0x5c55f8){return _0x41eb47===_0x5c55f8;},'MdNYi':_0x2ee4fc(0x209),'lSjtX':function(_0x564523,_0x336cce){return _0x564523===_0x336cce;},'xWpkV':_0x2ee4fc(0x1c1),'ldJTn':function(_0x2bc0f6,_0x3157d2){return _0x2bc0f6===_0x3157d2;},'QqCqY':'Before\x20Hooks','nfZEL':function(_0x37a224,_0x1006fd){return _0x37a224===_0x1006fd;},'BWWFY':function(_0x55b13d,_0x2dccae){return _0x55b13d===_0x2dccae;},'hhSSe':'test','JclIs':_0x2ee4fc(0x1f7),'bxnOD':_0x2ee4fc(0x1d7),'IxazO':_0x2ee4fc(0x166),'UpVGR':_0x2ee4fc(0x1e0),'CgLSe':_0x2ee4fc(0x1c9),'LNfeY':function(_0xef783e,_0x350686){return _0xef783e(_0x350686);},'IFANe':function(_0x4edd49,_0x101aef){return _0x4edd49(_0x101aef);},'RSpYx':function(_0x5c660f){return _0x5c660f();},'malIP':function(_0x51a8cd,_0x188bf8){return _0x51a8cd(_0x188bf8);},'ouXWZ':function(_0x46d1cc,_0x1eb2be,_0x1e65ef){return _0x46d1cc(_0x1eb2be,_0x1e65ef);}},_0x4e0236=[],_0x37df55=[],_0x548f62=_0x26f91f['filter'](_0x93486a=>{const _0x49343b=_0x2ee4fc;if(_0x2b7bb6[_0x49343b(0x191)](_0x93486a[_0x49343b(0x15e)],_0x2b7bb6['MdNYi'])&&(_0x2b7bb6[_0x49343b(0x218)](_0x93486a[_0x49343b(0x1dc)],_0x2b7bb6[_0x49343b(0x1af)])||_0x2b7bb6[_0x49343b(0x204)](_0x93486a['title'],_0x2b7bb6['QqCqY'])))return![];return!![];}),_0x21c244=(_0x41d297,_0x409def=![])=>{const _0x8b39e=_0x2ee4fc;if(_0x2b7bb6['nfZEL'](_0x41d297[_0x8b39e(0x164)][_0x8b39e(0x1a2)],0x0)){const _0x1312e7=_0x2b7bb6[_0x8b39e(0x1db)](_0x76bb07,_0x2b7bb6['hhSSe'])?_0x2b7bb6[_0x8b39e(0x1fb)]:_0x2b7bb6['bxnOD'];_0x37df55['push']({'kind':_0x2b7bb6[_0x8b39e(0x1b8)],[_0x1312e7]:_0x36da86,'message':_0x41d297[_0x8b39e(0x1dc)],'timestamp':_0x41d297[_0x8b39e(0x1fd)]['toISOString'](),'level':_0x41d297[_0x8b39e(0x14e)]?_0x2b7bb6['UpVGR']:_0x2b7bb6['CgLSe'],'duration':_0x41d297[_0x8b39e(0x181)],'failure':_0x41d297[_0x8b39e(0x14e)]&&_0x41d297[_0x8b39e(0x14e)]['message']&&_0x2b7bb6[_0x8b39e(0x1a7)](removeAnsiColors,_0x41d297[_0x8b39e(0x14e)][_0x8b39e(0x156)]),'failure_type':_0x2b7bb6[_0x8b39e(0x1f6)](getFailureType,_0x41d297['error']&&_0x41d297['error'][_0x8b39e(0x156)])});}else{!_0x409def&&_0x4e0236[_0x8b39e(0x1be)]({'id':_0x2b7bb6[_0x8b39e(0x207)](uuidv4),'text':_0x41d297[_0x8b39e(0x1dc)],'keyword':undefined,'started_at':_0x41d297[_0x8b39e(0x1fd)][_0x8b39e(0x163)](),'duration':_0x41d297[_0x8b39e(0x181)],'result':_0x41d297[_0x8b39e(0x14e)]?_0x2b7bb6[_0x8b39e(0x15c)]:_0x2b7bb6[_0x8b39e(0x215)],'failure':_0x41d297[_0x8b39e(0x14e)]&&_0x41d297[_0x8b39e(0x14e)][_0x8b39e(0x156)]&&_0x2b7bb6[_0x8b39e(0x1f6)](removeAnsiColors,_0x41d297[_0x8b39e(0x14e)][_0x8b39e(0x156)]),'failure_type':_0x2b7bb6[_0x8b39e(0x158)](getFailureType,_0x41d297[_0x8b39e(0x14e)]&&_0x41d297[_0x8b39e(0x14e)][_0x8b39e(0x156)])});for(const _0x1640c5 of _0x41d297['steps']){_0x2b7bb6[_0x8b39e(0x151)](_0x21c244,_0x1640c5,!![]);}}};for(const _0xf7b607 of _0x548f62){_0x2b7bb6[_0x2ee4fc(0x151)](_0x21c244,_0xf7b607,![]);}const _0x50cce2={};return _0x50cce2[_0x2ee4fc(0x164)]=_0x4e0236,_0x50cce2[_0x2ee4fc(0x1f0)]=_0x37df55,_0x50cce2;}async['sendTestRunEvent'](_0x2ffcd0,_0x1f7beb,_0x41d62a){const _0x431c29=a40_0x83bff6,_0x552490={'UMMsQ':_0x431c29(0x1ba),'YNxQz':'javascript','fVYWw':_0x431c29(0x161),'nJNHV':function(_0x518399,_0x4011b2){return _0x518399(_0x4011b2);},'zVEEd':function(_0x2c367f,_0x14ec1d,_0x6e59af,_0x2be704,_0x116358){return _0x2c367f(_0x14ec1d,_0x6e59af,_0x2be704,_0x116358);},'lxqkq':function(_0x225a04,_0x30003c){return _0x225a04>_0x30003c;},'CByiQ':function(_0x58cf36,_0x3b0cc9){return _0x58cf36-_0x3b0cc9;},'FzxlH':function(_0x329af4,_0x310d99){return _0x329af4===_0x310d99;},'zlOfq':'TestRunFinished','mZvaj':function(_0x538761,_0x5a3710){return _0x538761===_0x5a3710;},'KrhvJ':'skipped','UUvqO':_0x431c29(0x1c9),'xlWvF':function(_0x4c9d1b,_0x4c28ae){return _0x4c9d1b===_0x4c28ae;},'emDgQ':_0x431c29(0x1e0),'sPCbs':function(_0xdf64ac,_0x12ab68){return _0xdf64ac===_0x12ab68;},'Inxyk':'timedOut','YKJjU':_0x431c29(0x1cc),'jtlbj':function(_0x1af903,_0x5c81e7){return _0x1af903(_0x5c81e7);},'hSqSw':function(_0xe9aa96,_0x436715,_0x4c9575){return _0xe9aa96(_0x436715,_0x4c9575);},'NYfMn':function(_0x834f5f,_0x168643){return _0x834f5f===_0x168643;}},_0x370d04=this[_0x431c29(0x199)](_0x2ffcd0),_0x1f7fd1=this[_0x431c29(0x1b4)](_0x2ffcd0),_0x410b33=this[_0x431c29(0x17e)][_0x370d04],_0x1f6404=path['relative'](process[_0x431c29(0x1ac)](),_0x2ffcd0[_0x431c29(0x1d8)][_0x431c29(0x15a)]);await this['configureGit']();const _0x10ef06={'uuid':_0x410b33[_0x431c29(0x167)],'type':_0x552490[_0x431c29(0x220)],'name':_0x2ffcd0[_0x431c29(0x1dc)],'body':{'lang':_0x552490['YNxQz'],'code':_0x2ffcd0['fn']['toString']()},'scope':_0x1f7fd1,'scopes':this[_0x431c29(0x1b6)](_0x2ffcd0),'identifier':_0x370d04,'file_name':_0x1f6404,'location':_0x1f6404,'result':_0x552490[_0x431c29(0x170)],'duration_in_ms':_0x41d62a&&_0x41d62a[_0x431c29(0x181)]?_0x41d62a[_0x431c29(0x181)]:null,'vc_filepath':this[_0x431c29(0x18a)]&&_0x2ffcd0[_0x431c29(0x1d8)]['file']?path[_0x431c29(0x15f)](this[_0x431c29(0x18a)],_0x2ffcd0[_0x431c29(0x1d8)][_0x431c29(0x15a)]):undefined,'started_at':_0x410b33[_0x431c29(0x1d6)],'finished_at':_0x410b33['finishedAt'],'framework':FRAMEWORKS[_0x431c29(0x152)],'customRerunParam':{'rerun_name':_0x2ffcd0['titlePath']()[_0x431c29(0x190)]('\x20')},'tags':_0x552490[_0x431c29(0x162)](getTagsFromTitle,_0x2ffcd0['title'])};_0x552490[_0x431c29(0x1d0)](appendTesthubParams,_0x10ef06,_0x1f7beb,_0x2ffcd0,FRAMEWORKS[_0x431c29(0x152)]);_0x41d62a&&_0x552490[_0x431c29(0x187)](_0x41d62a[_0x431c29(0x1c3)],0x0)&&(_0x10ef06['retry_of']=TestDetails[_0x431c29(0x1fa)](this['getTestRunIdentifier'](_0x2ffcd0,_0x552490['CByiQ'](_0x41d62a[_0x431c29(0x1c3)],0x1))));if(_0x552490[_0x431c29(0x1cd)](_0x1f7beb,_0x552490[_0x431c29(0x206)])){_0x10ef06[_0x431c29(0x1da)]=_0x41d62a[_0x431c29(0x1ef)];if(_0x552490['mZvaj'](_0x41d62a[_0x431c29(0x1ef)],_0x2ffcd0[_0x431c29(0x21d)]))_0x10ef06[_0x431c29(0x1da)]=_0x552490[_0x431c29(0x1bc)](_0x41d62a[_0x431c29(0x1ef)],_0x552490[_0x431c29(0x1bb)])?_0x552490['KrhvJ']:_0x552490[_0x431c29(0x1ed)];else{(_0x552490[_0x431c29(0x1cd)](_0x10ef06[_0x431c29(0x1da)],_0x552490[_0x431c29(0x1ed)])||_0x552490['xlWvF'](_0x10ef06['result'],_0x552490['emDgQ'])||_0x552490[_0x431c29(0x1ff)](_0x10ef06[_0x431c29(0x1da)],_0x552490[_0x431c29(0x1b1)]))&&(_0x10ef06[_0x431c29(0x1da)]=_0x552490['emDgQ']);if(_0x552490[_0x431c29(0x17b)](_0x41d62a[_0x431c29(0x1ef)],_0x552490[_0x431c29(0x1ed)])&&_0x552490[_0x431c29(0x17b)](_0x2ffcd0[_0x431c29(0x21d)],_0x552490[_0x431c29(0x1d9)])){const _0x426ced={};_0x426ced['message']=_0x552490[_0x431c29(0x219)],_0x426ced[_0x431c29(0x195)]=_0x552490[_0x431c29(0x219)],_0x41d62a['error']=_0x426ced,_0x41d62a['errors']=[_0x41d62a[_0x431c29(0x14e)]];}}const _0x312d6c=this['getTestRunIdentifier'](_0x2ffcd0,_0x41d62a[_0x431c29(0x1c3)]);_0x10ef06['hooks']=this[_0x431c29(0x150)][_0x312d6c];const {steps:_0x2d9fe4,logs:_0x213eb9}=this[_0x431c29(0x221)](_0x41d62a[_0x431c29(0x164)],_0x410b33['uuid'],_0x552490['UMMsQ']);await MyReporter['reportLogs'](_0x213eb9);const _0x413ed0={};_0x413ed0[_0x431c29(0x164)]=_0x2d9fe4,_0x10ef06[_0x431c29(0x14c)]=_0x413ed0;if(_0x41d62a[_0x431c29(0x14e)]){_0x10ef06['failure_reason']=_0x552490[_0x431c29(0x162)](removeAnsiColors,_0x41d62a['error'][_0x431c29(0x156)]),_0x10ef06['failure_type']=_0x552490[_0x431c29(0x17a)](getFailureType,_0x41d62a[_0x431c29(0x14e)]['message']);const _0x11ee8b={};_0x11ee8b[_0x431c29(0x1f7)]=_0x410b33[_0x431c29(0x167)];const {failureData:_0x399a0f,logs:_0x3c695d}=_0x552490[_0x431c29(0x1a4)](getFailureData,_0x41d62a[_0x431c29(0x1e9)],_0x11ee8b);if(_0x399a0f&&_0x552490[_0x431c29(0x21f)](_0x399a0f['length'],0x0)){const _0x55db0d={};_0x55db0d[_0x431c29(0x211)]=[_0x10ef06[_0x431c29(0x1ad)]],_0x55db0d[_0x431c29(0x169)]=[],_0x399a0f[_0x431c29(0x1be)](_0x55db0d);}_0x10ef06[_0x431c29(0x16e)]=_0x399a0f,_0x3c695d&&_0x552490[_0x431c29(0x187)](_0x3c695d[_0x431c29(0x1a2)],0x0)&&await MyReporter['reportLogs'](_0x3c695d);}}const _0x4b830a={};_0x4b830a[_0x431c29(0x1df)]=_0x1f7beb,_0x4b830a[_0x431c29(0x160)]=_0x10ef06;const _0x51e7af=_0x4b830a;await SessionHandler['uploadEventData'](_0x51e7af);}static async[a40_0x83bff6(0x200)](_0x10dc29,_0x546786){const _0xec7ac6=a40_0x83bff6,_0x1194b6={'jrfsJ':function(_0x6a2cd7,_0x50899e){return _0x6a2cd7(_0x50899e);},'TOMEV':_0xec7ac6(0x18f)},_0x4a6168={'uuid':TestDetails[_0xec7ac6(0x1fa)](_0x10dc29),'integrations':_0x546786},_0x4e0764={};_0x4e0764[_0xec7ac6(0x1f3)]=null,_0x1194b6[_0xec7ac6(0x197)](debug,_0xec7ac6(0x19d)+_0x10dc29+',\x20'+util['inspect'](_0x546786,_0x4e0764));const _0x354c5c={};_0x354c5c[_0xec7ac6(0x1df)]=_0x1194b6[_0xec7ac6(0x172)],_0x354c5c[_0xec7ac6(0x160)]=_0x4a6168,await SessionHandler[_0xec7ac6(0x1d3)](_0x354c5c);}async['configureGit'](){const _0x347f85=a40_0x83bff6,_0x4f8e40={'PPonj':function(_0x3af23a){return _0x3af23a();}};if(this[_0x347f85(0x16c)])return;const _0xc68a69=await _0x4f8e40[_0x347f85(0x1ae)](getGitMetaData);_0xc68a69&&(this[_0x347f85(0x18a)]=_0xc68a69[_0x347f85(0x154)]),this[_0x347f85(0x16c)]=!![];}['getHierarchy'](_0x520c28){const _0x788ad8=a40_0x83bff6,_0x4dd4e2={};_0x4dd4e2[_0x788ad8(0x1c0)]=function(_0x57771f,_0x5ba335){return _0x57771f!==_0x5ba335;};const _0x3f6d81=_0x4dd4e2,_0x5bc360=[];if(_0x520c28&&_0x520c28[_0x788ad8(0x184)]){let _0x8c7c18=_0x520c28[_0x788ad8(0x184)];while(_0x8c7c18&&_0x3f6d81[_0x788ad8(0x1c0)](_0x8c7c18[_0x788ad8(0x1dc)],'')){_0x5bc360['push'](_0x8c7c18[_0x788ad8(0x1dc)]),_0x8c7c18=_0x8c7c18[_0x788ad8(0x184)];}}return _0x5bc360[_0x788ad8(0x19f)]()['splice'](0x0,0x2),_0x5bc360;}[a40_0x83bff6(0x222)](_0x1a8f7e){const _0x540dc9=a40_0x83bff6,_0x462fc5={};_0x462fc5[_0x540dc9(0x1f2)]=function(_0x5901cd,_0x576a4a){return _0x5901cd!==_0x576a4a;},_0x462fc5[_0x540dc9(0x176)]=_0x540dc9(0x209),_0x462fc5['zsqQp']=function(_0x46389c,_0x98ab41){return _0x46389c===_0x98ab41;},_0x462fc5[_0x540dc9(0x193)]=_0x540dc9(0x205),_0x462fc5[_0x540dc9(0x1c4)]=_0x540dc9(0x14f),_0x462fc5['ISHKQ']=_0x540dc9(0x183),_0x462fc5[_0x540dc9(0x1ec)]=_0x540dc9(0x1bd);const _0x411c41=_0x462fc5;if(_0x411c41['SdswJ'](_0x1a8f7e[_0x540dc9(0x15e)],_0x411c41['HNEpb']))return![];if(_0x411c41[_0x540dc9(0x210)]([_0x411c41[_0x540dc9(0x193)],_0x411c41[_0x540dc9(0x1c4)],_0x411c41[_0x540dc9(0x20b)],_0x411c41['pROcK']]['indexOf'](_0x1a8f7e['title']),-0x1))return![];return!![];}[a40_0x83bff6(0x217)](_0x46f44e,_0x1de01a){const _0x10280b=a40_0x83bff6,_0x49e36b=_0x1de01a[_0x10280b(0x1de)];if(_0x49e36b)return _0x49e36b;return _0x1de01a[_0x10280b(0x1dc)]+_0x10280b(0x1c8)+this[_0x10280b(0x199)](_0x46f44e);}[a40_0x83bff6(0x1ea)](_0x189f78,_0xabe995){const _0xfc25bd=a40_0x83bff6,_0x41436f={'BWubj':function(_0x23a598){return _0x23a598();}};let _0x32e68a=_0xabe995[_0xfc25bd(0x1dc)]+_0xfc25bd(0x1c8)+this['getTestIdentifier'](_0x189f78);return this[_0xfc25bd(0x17e)][_0x32e68a]&&(_0x32e68a=_0x32e68a+_0xfc25bd(0x1d1)+_0x41436f['BWubj'](uuidv4)),_0xabe995[_0xfc25bd(0x1de)]=_0x32e68a,_0x32e68a;}[a40_0x83bff6(0x199)]=_0x58bb2c=>{const _0x5419e2=a40_0x83bff6,_0xe1bf2e={};_0xe1bf2e[_0x5419e2(0x198)]=function(_0x2a8f15,_0x9c23c3){return _0x2a8f15+_0x9c23c3;};const _0x36681c=_0xe1bf2e;return _0x36681c[_0x5419e2(0x198)](_0x36681c[_0x5419e2(0x198)](_0x58bb2c[_0x5419e2(0x19c)],'-'),_0x58bb2c['id']);};[a40_0x83bff6(0x1b7)]=(_0xc53e66,_0x399004)=>{const _0x1a438e=a40_0x83bff6,_0x29bd7c={};_0x29bd7c[_0x1a438e(0x1c6)]=function(_0x2302d4,_0x21bfb1){return _0x2302d4+_0x21bfb1;};const _0x1fdc09=_0x29bd7c;return _0x1fdc09[_0x1a438e(0x1c6)](_0x1fdc09[_0x1a438e(0x1c6)](this[_0x1a438e(0x199)](_0xc53e66),'-'),_0x399004);};['getHookType']=_0x5e88d5=>{const _0x83dcb=a40_0x83bff6,_0x1a8f7f={};_0x1a8f7f[_0x83dcb(0x223)]='beforeEach\x20hook',_0x1a8f7f[_0x83dcb(0x15d)]=_0x83dcb(0x16f),_0x1a8f7f['Nlunq']='beforeAll\x20hook',_0x1a8f7f[_0x83dcb(0x1fe)]=_0x83dcb(0x188),_0x1a8f7f[_0x83dcb(0x1c7)]=_0x83dcb(0x1bd),_0x1a8f7f[_0x83dcb(0x213)]='AFTER_EACH',_0x1a8f7f[_0x83dcb(0x1ce)]=_0x83dcb(0x183),_0x1a8f7f[_0x83dcb(0x19e)]='AFTER_ALL',_0x1a8f7f[_0x83dcb(0x186)]='unknown';const _0x1c8d11=_0x1a8f7f;if(_0x5e88d5['startsWith'](_0x1c8d11[_0x83dcb(0x223)]))return _0x1c8d11['NzwMP'];else{if(_0x5e88d5[_0x83dcb(0x1e5)](_0x1c8d11[_0x83dcb(0x20c)]))return _0x1c8d11['tFXEw'];else{if(_0x5e88d5['startsWith'](_0x1c8d11[_0x83dcb(0x1c7)]))return _0x1c8d11[_0x83dcb(0x213)];else{if(_0x5e88d5[_0x83dcb(0x1e5)](_0x1c8d11[_0x83dcb(0x1ce)]))return _0x1c8d11[_0x83dcb(0x19e)];}}}return _0x1c8d11[_0x83dcb(0x186)];};[a40_0x83bff6(0x1b4)]=_0x545f04=>{const _0x295868=a40_0x83bff6,_0x3466d1={};_0x3466d1[_0x295868(0x189)]=function(_0x2580f,_0xe01a43){return _0x2580f===_0xe01a43;},_0x3466d1[_0x295868(0x214)]=_0x295868(0x216);const _0x32c537=_0x3466d1;let _0x29cd2d=_0x545f04[_0x295868(0x184)];return _0x32c537['Frdlx'](typeof _0x545f04['parent'],_0x32c537[_0x295868(0x214)])&&(_0x29cd2d=_0x29cd2d[_0x295868(0x1dc)]),_0x29cd2d+_0x295868(0x1d1)+_0x545f04['title'];};[a40_0x83bff6(0x1b3)](){return![];}}module[a40_0x83bff6(0x1aa)]=o11yClassErrorHandler(MyReporter,[a40_0x83bff6(0x1f9),a40_0x83bff6(0x208),a40_0x83bff6(0x194),'onTestEnd','onStepBegin',a40_0x83bff6(0x17d),'sendSessionDetails'],a40_0x83bff6(0x21b));
@@ -1 +1 @@
1
- const a40_0x110ce9=a40_0x348f;function a40_0x348f(_0x9c8dbe,_0x186203){const _0x194d65=a40_0x194d();return a40_0x348f=function(_0x348f5e,_0x19d18c){_0x348f5e=_0x348f5e-0xb1;let _0x2d55be=_0x194d65[_0x348f5e];return _0x2d55be;},a40_0x348f(_0x9c8dbe,_0x186203);}function a40_0x194d(){const _0x24fcfb=['tUmci','exports','parse','_projectId','force','mkdirSync','setTestDetails','pFtKJ','BS_TESTOPS_BUILD_HASHED_ID','6207327rNrSDZ','XroYn','path','getFilePath','6502mtAOHA','getAccessibilityPlatformValidation','nQGfl','readFileSync','.json','XgHao','join','197308xYSDTR','_test','35uPXBMj','tests','string','adUyw','iTXfa','ZMPXj','stringify','83Rncbfr','2401407nkgDBN','1782582SMjYXK','getTestDetails','dirPath','ZMQUk','UXaNi','testId','bJGcg','getTestRunIdFromTestInfo','PtbBO','__projectId','Teidj','uuid','getProjectIdFromTestInfo','recursive','project','HbEvw','12134792AbNfZP','cwd','env','getStoreDirName','setAccessibilityPlatformValidation','retry','toString','shutdown','rmSync','writeFileSync','existsSync','30wpIPtv','getTestIdFromTestInfo','ifjxj','4704663WgoIHW','_platformDetails.json'];a40_0x194d=function(){return _0x24fcfb;};return a40_0x194d();}(function(_0x58268d,_0x1aaf8c){const _0x6d8200=a40_0x348f,_0x1158c8=_0x58268d();while(!![]){try{const _0x34f5ae=parseInt(_0x6d8200(0xed))/0x1*(parseInt(_0x6d8200(0xdd))/0x2)+parseInt(_0x6d8200(0xce))/0x3+-parseInt(_0x6d8200(0xe4))/0x4*(-parseInt(_0x6d8200(0xe6))/0x5)+parseInt(_0x6d8200(0xef))/0x6+-parseInt(_0x6d8200(0xd9))/0x7+-parseInt(_0x6d8200(0xc0))/0x8+-parseInt(_0x6d8200(0xee))/0x9*(-parseInt(_0x6d8200(0xcb))/0xa);if(_0x34f5ae===_0x1aaf8c)break;else _0x1158c8['push'](_0x1158c8['shift']());}catch(_0x5176f1){_0x1158c8['push'](_0x1158c8['shift']());}}}(a40_0x194d,0xd62f3));const fs=require('fs'),path=require(a40_0x110ce9(0xdb)),{v4:uuidv4}=require(a40_0x110ce9(0xbb)),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require('../../../helpers/helper');class TestDetails{static [a40_0x110ce9(0xe7)]={};static ['dirPath']=path[a40_0x110ce9(0xe3)](process[a40_0x110ce9(0xc1)](),TestDetails['getStoreDirName']());static['setup'](){const _0x5ced59=a40_0x110ce9;this['shutdown']();const _0x5ea4a8={};_0x5ea4a8[_0x5ced59(0xbd)]=!![],fs[_0x5ced59(0xd5)](this[_0x5ced59(0xb2)],_0x5ea4a8);}static[a40_0x110ce9(0xc3)](){const _0x1c665a=a40_0x110ce9,_0x407191={};_0x407191['bJGcg']=function(_0x33f424,_0x1521a6){return _0x33f424+_0x1521a6;},_0x407191[_0x1c665a(0xe2)]=function(_0x328295,_0x559e7b){return _0x328295+_0x559e7b;};const _0x8a4a8a=_0x407191;return _0x8a4a8a[_0x1c665a(0xb6)](_0x8a4a8a[_0x1c665a(0xe2)](TEMP_STORE_DIR_NAME,'-'),process[_0x1c665a(0xc2)][_0x1c665a(0xd8)]);}static['getFilePath'](_0x52b2f8){const _0x5b5619=a40_0x110ce9,_0x57e48e={};_0x57e48e['vCoGr']=function(_0x407fb6,_0x5ac304){return _0x407fb6+_0x5ac304;},_0x57e48e[_0x5b5619(0xbf)]=_0x5b5619(0xe1);const _0x34be63=_0x57e48e;return path[_0x5b5619(0xe3)](this['dirPath'],_0x34be63['vCoGr'](_0x52b2f8,_0x34be63[_0x5b5619(0xbf)]));}static[a40_0x110ce9(0xb7)](_0x28c6de){const _0x362ce5=a40_0x110ce9,_0x327a69={};_0x327a69[_0x362ce5(0xe9)]=function(_0x24716b,_0x456d45){return _0x24716b+_0x456d45;},_0x327a69[_0x362ce5(0xb3)]=function(_0x21b052,_0x3f82b2){return _0x21b052+_0x3f82b2;},_0x327a69[_0x362ce5(0xb4)]=function(_0x110189,_0x5ee162){return _0x110189+_0x5ee162;};const _0x2d18ca=_0x327a69;return _0x2d18ca[_0x362ce5(0xe9)](_0x2d18ca[_0x362ce5(0xb3)](_0x2d18ca[_0x362ce5(0xe9)](_0x2d18ca[_0x362ce5(0xb4)](this[_0x362ce5(0xbc)](_0x28c6de),'-'),this['getTestIdFromTestInfo'](_0x28c6de)),'-'),_0x28c6de[_0x362ce5(0xc5)]);}static[a40_0x110ce9(0xbc)](_0x10d2d3){const _0x5c66a2=a40_0x110ce9,_0x5342f2={'ifjxj':function(_0x1d54ee,_0x4b4508,_0x22ac3d){return _0x1d54ee(_0x4b4508,_0x22ac3d);},'PtbBO':_0x5c66a2(0xe5),'XroYn':_0x5c66a2(0xd3),'iTXfa':function(_0x3eceb3,_0x3ca1da,_0x4038e7){return _0x3eceb3(_0x3ca1da,_0x4038e7);},'tUmci':_0x5c66a2(0xbe),'ZMPXj':_0x5c66a2(0xb9)};return _0x5342f2[_0x5c66a2(0xcd)](nestedKeyValue,_0x10d2d3,[_0x5342f2[_0x5c66a2(0xb8)],_0x5342f2[_0x5c66a2(0xda)]])||_0x5342f2[_0x5c66a2(0xea)](nestedKeyValue,_0x10d2d3,[_0x5342f2[_0x5c66a2(0xd0)],_0x5342f2[_0x5c66a2(0xeb)]]);}static[a40_0x110ce9(0xcc)](_0x231474){const _0x1835dd=a40_0x110ce9,_0x275eb0={'Teidj':function(_0x3a09e4,_0x28b6a6,_0x60a9a){return _0x3a09e4(_0x28b6a6,_0x60a9a);},'eIpMR':_0x1835dd(0xe5)};return _0x275eb0[_0x1835dd(0xba)](nestedKeyValue,_0x231474,[_0x275eb0['eIpMR'],'id'])||_0x231474[_0x1835dd(0xb5)];}static['getTestUUID'](_0x36f4aa){const _0x1b9aac=a40_0x110ce9,_0x131d52={'jeXId':function(_0x58d500,_0x1bf4de){return _0x58d500===_0x1bf4de;},'pFtKJ':_0x1b9aac(0xe8),'nQGfl':function(_0x4a8d3b){return _0x4a8d3b();}};if(this[_0x1b9aac(0xe7)][_0x36f4aa]&&_0x131d52['jeXId'](typeof this[_0x1b9aac(0xe7)][_0x36f4aa]['uuid'],_0x131d52[_0x1b9aac(0xd7)]))return this[_0x1b9aac(0xe7)][_0x36f4aa][_0x1b9aac(0xbb)];const _0x2db0fb=this[_0x1b9aac(0xdc)](_0x36f4aa);if(fs['existsSync'](_0x2db0fb)){const _0x20363f=JSON['parse'](fs[_0x1b9aac(0xe0)](_0x2db0fb)['toString']());return this[_0x1b9aac(0xe7)][_0x36f4aa]=_0x20363f,this['tests'][_0x36f4aa][_0x1b9aac(0xbb)];}return this[_0x1b9aac(0xe7)][_0x36f4aa]={'uuid':_0x131d52[_0x1b9aac(0xdf)](uuidv4)},fs[_0x1b9aac(0xc9)](_0x2db0fb,JSON[_0x1b9aac(0xec)](this['tests'][_0x36f4aa])),this[_0x1b9aac(0xe7)][_0x36f4aa][_0x1b9aac(0xbb)];}static[a40_0x110ce9(0xde)](_0x43d951){const _0x4e02ab=a40_0x110ce9,_0x4115e2=path['join'](this[_0x4e02ab(0xb2)],_0x43d951+'_platformDetails.json');if(fs[_0x4e02ab(0xca)](_0x4115e2))return fs[_0x4e02ab(0xe0)](_0x4115e2)['toString']();}static[a40_0x110ce9(0xc4)](_0xa922c1,_0x36c3e9){const _0x4e69c1=a40_0x110ce9,_0x9f758b=path[_0x4e69c1(0xe3)](this[_0x4e69c1(0xb2)],_0x36c3e9+_0x4e69c1(0xcf));fs['writeFileSync'](_0x9f758b,_0xa922c1[_0x4e69c1(0xc6)]());}static[a40_0x110ce9(0xc7)](){const _0x13cbac=a40_0x110ce9,_0x64c82={};_0x64c82[_0x13cbac(0xbd)]=!![],_0x64c82[_0x13cbac(0xd4)]=!![],fs[_0x13cbac(0xc8)](this['dirPath'],_0x64c82);}static[a40_0x110ce9(0xb1)](_0x1335c2){const _0x3e064b=a40_0x110ce9;if(this['tests'][_0x1335c2])return this[_0x3e064b(0xe7)][_0x1335c2];const _0x33cf41=this[_0x3e064b(0xdc)](_0x1335c2);if(fs['existsSync'](_0x33cf41)){const _0x1bf456=JSON[_0x3e064b(0xd2)](fs['readFileSync'](_0x33cf41)[_0x3e064b(0xc6)]());return this[_0x3e064b(0xe7)][_0x1335c2]=_0x1bf456,_0x1bf456;}return{};}static[a40_0x110ce9(0xd6)](_0xf8c96,_0xb40094){const _0xe62ccc=a40_0x110ce9,_0x276c42=this['getFilePath'](_0xf8c96);if(fs['existsSync'](_0x276c42)){const _0x5d5c11=JSON[_0xe62ccc(0xd2)](fs[_0xe62ccc(0xe0)](_0x276c42)[_0xe62ccc(0xc6)]()),_0x266d86={..._0x5d5c11,..._0xb40094};this['tests'][_0xf8c96]=_0x266d86;}else this[_0xe62ccc(0xe7)][_0xf8c96]=_0xb40094;fs['writeFileSync'](_0x276c42,this[_0xe62ccc(0xe7)][_0xf8c96]);}}module[a40_0x110ce9(0xd1)]=TestDetails;
1
+ const a41_0x52fdb5=a41_0x4935;(function(_0xf9a52e,_0x51b736){const _0x494090=a41_0x4935,_0x575e5d=_0xf9a52e();while(!![]){try{const _0x22c1c4=-parseInt(_0x494090(0x1f7))/0x1*(-parseInt(_0x494090(0x1fe))/0x2)+parseInt(_0x494090(0x21f))/0x3*(parseInt(_0x494090(0x212))/0x4)+-parseInt(_0x494090(0x214))/0x5*(-parseInt(_0x494090(0x1ed))/0x6)+-parseInt(_0x494090(0x202))/0x7+-parseInt(_0x494090(0x201))/0x8*(-parseInt(_0x494090(0x21d))/0x9)+-parseInt(_0x494090(0x210))/0xa*(-parseInt(_0x494090(0x220))/0xb)+-parseInt(_0x494090(0x226))/0xc;if(_0x22c1c4===_0x51b736)break;else _0x575e5d['push'](_0x575e5d['shift']());}catch(_0x2210ee){_0x575e5d['push'](_0x575e5d['shift']());}}}(a41_0x33ca,0xe1893));const fs=require('fs'),path=require(a41_0x52fdb5(0x217)),{v4:uuidv4}=require(a41_0x52fdb5(0x1ef)),{TEMP_STORE_DIR_NAME}=require(a41_0x52fdb5(0x227)),{nestedKeyValue}=require(a41_0x52fdb5(0x21a));function a41_0x4935(_0x2b8df4,_0xb1b569){const _0x33ca02=a41_0x33ca();return a41_0x4935=function(_0x493552,_0x5ddcf2){_0x493552=_0x493552-0x1ed;let _0x17acaf=_0x33ca02[_0x493552];return _0x17acaf;},a41_0x4935(_0x2b8df4,_0xb1b569);}class TestDetails{static [a41_0x52fdb5(0x225)]={};static [a41_0x52fdb5(0x224)]=path['join'](process['cwd'](),TestDetails[a41_0x52fdb5(0x20f)]());static[a41_0x52fdb5(0x1f4)](){const _0x3f05f8=a41_0x52fdb5;this[_0x3f05f8(0x224)]=path[_0x3f05f8(0x204)](process[_0x3f05f8(0x203)](),TestDetails[_0x3f05f8(0x20f)]()),this[_0x3f05f8(0x20a)]();const _0x5e04e4={};_0x5e04e4[_0x3f05f8(0x21c)]=!![],fs[_0x3f05f8(0x20c)](this[_0x3f05f8(0x224)],_0x5e04e4);}static[a41_0x52fdb5(0x20f)](){const _0x4d4580=a41_0x52fdb5,_0x12edea={};_0x12edea['IPCCc']=function(_0x42fc28,_0x5b79da){return _0x42fc28+_0x5b79da;},_0x12edea[_0x4d4580(0x211)]=function(_0x153558,_0x4b553d){return _0x153558+_0x4b553d;};const _0x1d4166=_0x12edea;return _0x1d4166[_0x4d4580(0x200)](_0x1d4166[_0x4d4580(0x211)](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x4d4580(0x1fd)]);}static[a41_0x52fdb5(0x1f3)](_0x386098){const _0x26d80d=a41_0x52fdb5,_0x167b94={};_0x167b94[_0x26d80d(0x1fb)]=function(_0x3d9e4c,_0xd03121){return _0x3d9e4c+_0xd03121;},_0x167b94[_0x26d80d(0x228)]=_0x26d80d(0x222);const _0x1e3bef=_0x167b94;return path['join'](this[_0x26d80d(0x224)],_0x1e3bef[_0x26d80d(0x1fb)](_0x386098,_0x1e3bef[_0x26d80d(0x228)]));}static['getTestRunIdFromTestInfo'](_0x488317){const _0x21745f=a41_0x52fdb5,_0x3c97f1={};_0x3c97f1[_0x21745f(0x20b)]=function(_0x122f21,_0x20620e){return _0x122f21+_0x20620e;},_0x3c97f1[_0x21745f(0x1f5)]=function(_0x1af87d,_0x114382){return _0x1af87d+_0x114382;},_0x3c97f1[_0x21745f(0x1f0)]=function(_0x4d3402,_0x117d53){return _0x4d3402+_0x117d53;};const _0x491c64=_0x3c97f1;return _0x491c64[_0x21745f(0x20b)](_0x491c64[_0x21745f(0x20b)](_0x491c64['dhgQl'](_0x491c64['UfLQI'](this['getProjectIdFromTestInfo'](_0x488317),'-'),this[_0x21745f(0x22c)](_0x488317)),'-'),_0x488317[_0x21745f(0x219)]);}static[a41_0x52fdb5(0x206)](_0x329edf){const _0x4136f5=a41_0x52fdb5,_0x27990a={'UMNpm':function(_0x303ff1,_0x4c92b6,_0x36ca37){return _0x303ff1(_0x4c92b6,_0x36ca37);},'fTOgM':_0x4136f5(0x213),'PMghV':_0x4136f5(0x1ff),'VTvlS':function(_0x59b761,_0x4546fa,_0x446a30){return _0x59b761(_0x4546fa,_0x446a30);},'cdLYP':_0x4136f5(0x1f6),'RRGUn':_0x4136f5(0x20d)};return _0x27990a['UMNpm'](nestedKeyValue,_0x329edf,[_0x27990a[_0x4136f5(0x205)],_0x27990a[_0x4136f5(0x208)]])||_0x27990a[_0x4136f5(0x215)](nestedKeyValue,_0x329edf,[_0x27990a['cdLYP'],_0x27990a[_0x4136f5(0x221)]]);}static[a41_0x52fdb5(0x22c)](_0x79d164){const _0x44129c=a41_0x52fdb5,_0x520fd9={'BaOxR':function(_0x38a68d,_0x335a23,_0x4d5200){return _0x38a68d(_0x335a23,_0x4d5200);},'QZcaA':_0x44129c(0x213)};return _0x520fd9[_0x44129c(0x207)](nestedKeyValue,_0x79d164,[_0x520fd9[_0x44129c(0x1f2)],'id'])||_0x79d164[_0x44129c(0x1f9)];}static['getTestUUID'](_0x10998f){const _0xce1df8=a41_0x52fdb5,_0x18812e={'dDReP':function(_0x15fc64,_0x2121c9){return _0x15fc64===_0x2121c9;},'TCtzB':_0xce1df8(0x20e),'brJGA':function(_0x43ab19){return _0x43ab19();}};if(this[_0xce1df8(0x225)][_0x10998f]&&_0x18812e[_0xce1df8(0x1f1)](typeof this[_0xce1df8(0x225)][_0x10998f][_0xce1df8(0x1ef)],_0x18812e[_0xce1df8(0x223)]))return this['tests'][_0x10998f][_0xce1df8(0x1ef)];const _0x537d50=this[_0xce1df8(0x1f3)](_0x10998f);if(fs[_0xce1df8(0x209)](_0x537d50)){const _0x23e90c=JSON[_0xce1df8(0x1fc)](fs['readFileSync'](_0x537d50)['toString']());return this[_0xce1df8(0x225)][_0x10998f]=_0x23e90c,this[_0xce1df8(0x225)][_0x10998f][_0xce1df8(0x1ef)];}return this[_0xce1df8(0x225)][_0x10998f]={'uuid':_0x18812e['brJGA'](uuidv4)},fs[_0xce1df8(0x1ee)](_0x537d50,JSON['stringify'](this['tests'][_0x10998f])),this[_0xce1df8(0x225)][_0x10998f]['uuid'];}static[a41_0x52fdb5(0x22a)](_0x334060){const _0x5799e4=a41_0x52fdb5,_0x2c6479=path[_0x5799e4(0x204)](this[_0x5799e4(0x224)],_0x334060+'_platformDetails.json');if(fs[_0x5799e4(0x209)](_0x2c6479))return fs[_0x5799e4(0x229)](_0x2c6479)[_0x5799e4(0x21b)]();}static[a41_0x52fdb5(0x22b)](_0x374b0b,_0x4d4a85){const _0x1058fb=a41_0x52fdb5,_0x45d816=path[_0x1058fb(0x204)](this['dirPath'],_0x4d4a85+_0x1058fb(0x1fa));fs[_0x1058fb(0x1ee)](_0x45d816,_0x374b0b[_0x1058fb(0x21b)]());}static[a41_0x52fdb5(0x20a)](){const _0x4ee34d=a41_0x52fdb5,_0x56552f={};_0x56552f[_0x4ee34d(0x21c)]=!![],_0x56552f[_0x4ee34d(0x1f8)]=!![],fs['rmSync'](this['dirPath'],_0x56552f);}static[a41_0x52fdb5(0x218)](_0x79642a){const _0x3c5168=a41_0x52fdb5;if(this['tests'][_0x79642a])return this[_0x3c5168(0x225)][_0x79642a];const _0x5972a1=this['getFilePath'](_0x79642a);if(fs[_0x3c5168(0x209)](_0x5972a1)){const _0x3ed837=JSON[_0x3c5168(0x1fc)](fs['readFileSync'](_0x5972a1)[_0x3c5168(0x21b)]());return this[_0x3c5168(0x225)][_0x79642a]=_0x3ed837,_0x3ed837;}return{};}static[a41_0x52fdb5(0x216)](_0x3df66a,_0x544d63){const _0x5619fd=a41_0x52fdb5,_0x147f80=this['getFilePath'](_0x3df66a);if(fs[_0x5619fd(0x209)](_0x147f80)){const _0x3115b5=JSON[_0x5619fd(0x1fc)](fs[_0x5619fd(0x229)](_0x147f80)[_0x5619fd(0x21b)]()),_0x214d35={..._0x3115b5,..._0x544d63};this[_0x5619fd(0x225)][_0x3df66a]=_0x214d35;}else this[_0x5619fd(0x225)][_0x3df66a]=_0x544d63;fs['writeFileSync'](_0x147f80,this[_0x5619fd(0x225)][_0x3df66a]);}}function a41_0x33ca(){const _0x3577ad=['getProjectIdFromTestInfo','BaOxR','PMghV','existsSync','shutdown','sAEMr','mkdirSync','__projectId','string','getStoreDirName','10NrfwsR','WbzkD','56480peLnkm','_test','505AoJcEn','VTvlS','setTestDetails','path','getTestDetails','retry','../../../helpers/helper','toString','recursive','153207njpGcE','exports','42dsJAsz','7851481cTSBcq','RRGUn','.json','TCtzB','dirPath','tests','15174576TeAmWR','../../../helpers/test-observability/constants','xFZpc','readFileSync','getAccessibilityPlatformValidation','setAccessibilityPlatformValidation','getTestIdFromTestInfo','62394ExaxLy','writeFileSync','uuid','UfLQI','dDReP','QZcaA','getFilePath','setup','dhgQl','project','25115dtISup','force','testId','_platformDetails.json','mrNcD','parse','BS_TESTOPS_BUILD_HASHED_ID','16DoQNDH','_projectId','IPCCc','152lVMRbv','2084348XcOsup','cwd','join','fTOgM'];a41_0x33ca=function(){return _0x3577ad;};return a41_0x33ca();}module[a41_0x52fdb5(0x21e)]=TestDetails;
@@ -1 +1 @@
1
- const a41_0x5e7f00=a41_0x4d97;(function(_0x138af8,_0x59c5ba){const _0x775393=a41_0x4d97,_0x5cdcd0=_0x138af8();while(!![]){try{const _0x5bd5b1=parseInt(_0x775393(0x214))/0x1+-parseInt(_0x775393(0x236))/0x2*(parseInt(_0x775393(0x272))/0x3)+parseInt(_0x775393(0x1f0))/0x4*(parseInt(_0x775393(0x225))/0x5)+-parseInt(_0x775393(0x26e))/0x6+-parseInt(_0x775393(0x211))/0x7+parseInt(_0x775393(0x256))/0x8*(-parseInt(_0x775393(0x1e7))/0x9)+parseInt(_0x775393(0x216))/0xa;if(_0x5bd5b1===_0x59c5ba)break;else _0x5cdcd0['push'](_0x5cdcd0['shift']());}catch(_0x2ac5e8){_0x5cdcd0['push'](_0x5cdcd0['shift']());}}}(a41_0x4965,0x1c30c));const path=require('path'),url=require(a41_0x5e7f00(0x1e2)),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a41_0x5e7f00(0x1e0)),{o11yErrorHandler}=require(a41_0x5e7f00(0x242)),{debug,getPlatformDetails}=require(a41_0x5e7f00(0x265)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a41_0x5e7f00(0x1f4)),logger=require(a41_0x5e7f00(0x26c))[a41_0x5e7f00(0x1f3)],scripts=require(a41_0x5e7f00(0x241)),{browserStackExecuteDriver}=require(a41_0x5e7f00(0x240)),AccessibilityHelper=require(a41_0x5e7f00(0x25a)),getBrowserNameFromChannel=_0x4b7196=>{const _0x1da2b2=a41_0x5e7f00,_0x20ef98={};_0x20ef98[_0x1da2b2(0x21f)]=_0x1da2b2(0x258),_0x20ef98[_0x1da2b2(0x1dd)]='edge',_0x20ef98[_0x1da2b2(0x206)]='firefox',_0x20ef98[_0x1da2b2(0x257)]=_0x1da2b2(0x1e3);const _0x28263a=_0x20ef98;if(_0x4b7196[_0x1da2b2(0x213)](_0x28263a[_0x1da2b2(0x21f)]))return _0x28263a[_0x1da2b2(0x21f)];if(_0x4b7196['includes'](_0x28263a['Ihyvs']))return _0x28263a['Ihyvs'];if(_0x4b7196[_0x1da2b2(0x213)](_0x28263a[_0x1da2b2(0x206)]))return _0x28263a[_0x1da2b2(0x206)];if(_0x4b7196[_0x1da2b2(0x213)](_0x28263a[_0x1da2b2(0x257)]))return _0x28263a[_0x1da2b2(0x257)];},getBrowserFromWSEndpoint=_0x3d3ea0=>{const _0x39fa53=a41_0x5e7f00,_0x3228c0={'CUAFk':_0x39fa53(0x258),'wUevW':function(_0x4014f9,_0x2db35c){return _0x4014f9(_0x2db35c);}};try{const _0x3ec671=url[_0x39fa53(0x1e9)](_0x3d3ea0),_0x3b5d47=new URLSearchParams(_0x3ec671[_0x39fa53(0x1d9)]),_0x3425f3=Object['fromEntries'](_0x3b5d47[_0x39fa53(0x222)]()),_0x2ecccb=JSON[_0x39fa53(0x1e9)](_0x3425f3[_0x39fa53(0x203)]);if(_0x2ecccb&&(_0x2ecccb[_0x39fa53(0x20a)]||_0x2ecccb['browserName']))return _0x2ecccb[_0x39fa53(0x20a)]||_0x2ecccb[_0x39fa53(0x227)];return _0x3228c0['CUAFk'];}catch(_0x1da01c){_0x3228c0[_0x39fa53(0x234)](debug,_0x39fa53(0x1de)+_0x1da01c[_0x39fa53(0x202)]());}},getCloudProviderFromWsEndpoint=_0x2385f9=>{const _0x36dfdb=a41_0x5e7f00,_0x3ab682={};_0x3ab682[_0x36dfdb(0x24b)]=_0x36dfdb(0x1e8),_0x3ab682[_0x36dfdb(0x207)]=_0x36dfdb(0x262),_0x3ab682[_0x36dfdb(0x261)]=_0x36dfdb(0x23f);const _0x5186ea=_0x3ab682;if(_0x2385f9[_0x36dfdb(0x213)](_0x5186ea[_0x36dfdb(0x24b)]))return _0x5186ea[_0x36dfdb(0x207)];return _0x5186ea[_0x36dfdb(0x261)];},a41_0x2f71b2={};a41_0x2f71b2[a41_0x5e7f00(0x23d)]=undefined,a41_0x2f71b2['bsSessionId']=undefined,a41_0x2f71b2['browser']=undefined,a41_0x2f71b2['browser_version']=undefined,a41_0x2f71b2[a41_0x5e7f00(0x1d8)]=undefined,a41_0x2f71b2[a41_0x5e7f00(0x1ef)]=undefined,a41_0x2f71b2['product']=undefined,a41_0x2f71b2['capabilities']={};function a41_0x4d97(_0x24269a,_0x1831db){const _0x4965e0=a41_0x4965();return a41_0x4d97=function(_0x4d977d,_0x2c5105){_0x4d977d=_0x4d977d-0x1d5;let _0x4b67f2=_0x4965e0[_0x4d977d];return _0x4b67f2;},a41_0x4d97(_0x24269a,_0x1831db);}class PlaywrightSessionDetails{static [a41_0x5e7f00(0x1f2)]=a41_0x2f71b2;constructor(){const _0x3fdc87=a41_0x5e7f00,_0x27ec71={};_0x27ec71['MFKIe']=_0x3fdc87(0x1e4);const _0x58c2bf=_0x27ec71;throw new Error(_0x58c2bf[_0x3fdc87(0x212)]);}static [a41_0x5e7f00(0x1e6)]=null;static[a41_0x5e7f00(0x20d)](_0x3806d9,_0x71f21c,_0x19d775=null){const _0x1ee8d3=a41_0x5e7f00,_0x5b7417={'XRFpd':_0x1ee8d3(0x25c),'LwDne':function(_0x13e08c,_0x3414cb,_0x46c72c){return _0x13e08c(_0x3414cb,_0x46c72c);},'vWkux':_0x1ee8d3(0x1d7),'wpsAF':'use','yIvIM':_0x1ee8d3(0x25b),'RYgHG':function(_0x15c426,_0x311921){return _0x15c426(_0x311921);},'HvsbX':function(_0xd78ad6,_0x3ee7a7){return _0xd78ad6===_0x3ee7a7;},'sgIkR':_0x1ee8d3(0x262),'AcAFb':_0x1ee8d3(0x22f),'GcktW':function(_0x3bf0e2,_0x4a86c5){return _0x3bf0e2(_0x4a86c5);},'krtQz':function(_0x5af62a,_0x41d1cd){return _0x5af62a+_0x41d1cd;},'EtNJt':_0x1ee8d3(0x20b),'CvkbL':function(_0x276cab){return _0x276cab();},'oNkDY':_0x1ee8d3(0x20d)},_0x51b70a=this;return _0x5b7417[_0x1ee8d3(0x22c)](o11yErrorHandler,async function _0x58f35d(_0x27048e,_0x4f377a,_0x3d6068=null){const _0x3e5c9a=_0x1ee8d3;let _0x557db1=_0x27048e[_0x3e5c9a(0x201)];const _0xe6c9e7=_0x27048e[_0x3e5c9a(0x24f)]();let _0x53145f=null,_0x3da16f=null,_0x1bb6c2=null,_0x238c6f=_0x5b7417[_0x3e5c9a(0x239)];if(_0x27048e['_connection']['isRemote']()||global[_0x3e5c9a(0x1f1)]){const _0x1d4650=_0x27048e[_0x3e5c9a(0x223)][_0x3e5c9a(0x1ee)]||_0x5b7417[_0x3e5c9a(0x22c)](nestedKeyValue,_0x4f377a,[_0x5b7417[_0x3e5c9a(0x266)],_0x5b7417[_0x3e5c9a(0x221)],_0x5b7417[_0x3e5c9a(0x252)]]),_0x13d7b8=_0x3d6068||_0x1d4650&&_0x1d4650[_0x3e5c9a(0x246)];_0x13d7b8&&(_0x238c6f=_0x5b7417[_0x3e5c9a(0x21b)](getCloudProviderFromWsEndpoint,_0x13d7b8),_0x5b7417[_0x3e5c9a(0x247)](_0x238c6f,_0x5b7417[_0x3e5c9a(0x1fd)])&&(_0x1bb6c2=_0x5b7417[_0x3e5c9a(0x210)],_0x557db1=_0x5b7417[_0x3e5c9a(0x255)](getBrowserFromWSEndpoint,_0x13d7b8)||_0x557db1,_0x53145f=_0x51b70a[_0x3e5c9a(0x1f2)]['platform'],_0x3da16f=_0x51b70a[_0x3e5c9a(0x1f2)][_0x3e5c9a(0x1ef)]));}else{_0x4f377a&&_0x4f377a[_0x3e5c9a(0x1d7)][_0x3e5c9a(0x21d)][_0x3e5c9a(0x1d5)]?_0x557db1=_0x5b7417[_0x3e5c9a(0x255)](getBrowserNameFromChannel,_0x4f377a['project'][_0x3e5c9a(0x21d)][_0x3e5c9a(0x1d5)]):_0x557db1=_0x5b7417[_0x3e5c9a(0x220)](_0x5b7417[_0x3e5c9a(0x204)],_0x557db1['toLowerCase']());const _0x1621a4=await _0x5b7417[_0x3e5c9a(0x1ed)](getPlatformDetails);_0x53145f=_0x1621a4['platformName'],_0x3da16f=_0x1621a4['platformVersion'];}const _0x36f6b8={};_0x36f6b8[_0x3e5c9a(0x20a)]=_0x557db1,_0x36f6b8[_0x3e5c9a(0x219)]=_0xe6c9e7,_0x36f6b8[_0x3e5c9a(0x208)]={},_0x36f6b8['platform']=_0x53145f,_0x36f6b8[_0x3e5c9a(0x1ef)]=_0x3da16f,_0x36f6b8[_0x3e5c9a(0x26a)]=_0x1bb6c2;const _0x1c8049=_0x36f6b8,_0x55e027={};_0x55e027[_0x3e5c9a(0x23d)]=_0x238c6f,_0x51b70a[_0x3e5c9a(0x1f2)]=Object[_0x3e5c9a(0x23e)]({},_0x51b70a[_0x3e5c9a(0x1f2)],_0x55e027,_0x1c8049);},_0x5b7417[_0x1ee8d3(0x21e)])(_0x3806d9,_0x71f21c,_0x19d775);}static[a41_0x5e7f00(0x1e5)](){const _0x7345da=a41_0x5e7f00;this[_0x7345da(0x26d)](),this[_0x7345da(0x22a)]();}static[a41_0x5e7f00(0x26d)](){const _0x35e923=a41_0x5e7f00,_0x5cfa03={'bIoAK':function(_0x3176ba,_0x171687,_0x1c05b9){return _0x3176ba(_0x171687,_0x1c05b9);},'EILvx':_0x35e923(0x233),'uuqKL':'testInfo','HjIgf':_0x35e923(0x20f),'hNlAg':function(_0x4482d5,_0x1acfa7,_0x4b5ef4){return _0x4482d5(_0x1acfa7,_0x4b5ef4);},'pClTB':_0x35e923(0x254),'kjCyc':_0x35e923(0x248),'zYGMe':function(_0x402b7c,_0x1ee8c4){return _0x402b7c===_0x1ee8c4;},'aFETH':_0x35e923(0x263),'SaxVw':function(_0x583fc4,_0x1dd90b,_0x56fa53,_0x167c25){return _0x583fc4(_0x1dd90b,_0x56fa53,_0x167c25);},'VbEbB':function(_0x49674b,_0x5074c2){return _0x49674b(_0x5074c2);},'HAfbf':function(_0x37294d,_0x29d51b){return _0x37294d(_0x29d51b);},'SXBev':_0x35e923(0x228),'fTmRl':_0x35e923(0x24a),'oxzta':_0x35e923(0x1fb),'EzYEv':function(_0x578021,_0x5d448f){return _0x578021(_0x5d448f);},'neXAu':_0x35e923(0x245),'JUNgd':function(_0x599296,_0x54f053){return _0x599296!=_0x54f053;},'JGxGx':function(_0x599a76){return _0x599a76();},'uUOMb':_0x35e923(0x1ea),'MYlnu':function(_0x1e76b4,_0x488c9e){return _0x1e76b4(_0x488c9e);},'Ukmgp':_0x35e923(0x224)},_0xc01f83=this;if(!this[_0x35e923(0x1f7)])try{const _0x5da7e8=path[_0x35e923(0x259)](_0x5cfa03[_0x35e923(0x1da)],_0x5cfa03[_0x35e923(0x226)],_0x5cfa03[_0x35e923(0x1fa)]),_0x3c15bb=_0x5cfa03[_0x35e923(0x26f)](importFileFromPWCore,_0x5da7e8);!_0x3c15bb?_0x5cfa03['HAfbf'](debug,_0x5cfa03[_0x35e923(0x269)]):this[_0x35e923(0x1f7)]=_0x3c15bb['Connection'];}catch(_0x237f71){_0x5cfa03['EzYEv'](debug,_0x35e923(0x1ec)+_0x237f71['toString']());}const _0xa914d8=this[_0x35e923(0x1f7)];try{if(_0x5cfa03[_0x35e923(0x23b)](_0xa914d8,null)){const _0x1d1ff0=_0xa914d8['prototype'][_0x35e923(0x224)],_0x1f3af2=_0xa914d8['prototype'][_0x35e923(0x1ea)];_0x5cfa03['JGxGx'](isAccessibilityAutomationSession)&&Object['defineProperty'](_0xa914d8[_0x35e923(0x23c)],_0x5cfa03['uUOMb'],{'get':function(){return async function(){const _0x4052ee=a41_0x4d97;try{if(!global[_0x4052ee(0x218)]&&global[_0x4052ee(0x1f1)]&&_0x5cfa03[_0x4052ee(0x251)](nestedKeyValue,global['__workerDetails'],[_0x5cfa03[_0x4052ee(0x25d)],_0x5cfa03[_0x4052ee(0x1f9)],_0x5cfa03[_0x4052ee(0x267)]])&&_0x5cfa03[_0x4052ee(0x251)](shouldScanTestForAccessibility,global[_0x4052ee(0x254)][_0x4052ee(0x233)]['testInfo'][_0x4052ee(0x20f)],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x4052ee(0x25f)](_0x4052ee(0x24d)+arguments[0x1]),global[_0x4052ee(0x218)]=!![];const _0x4a1fcb=_0x5cfa03[_0x4052ee(0x24e)](nestedKeyValue,global,[_0x5cfa03[_0x4052ee(0x209)],_0x5cfa03['kjCyc']]),_0x162667={};_0x162667[_0x4052ee(0x238)]=arguments[0x1],_0x4a1fcb&&logger[_0x4052ee(0x25f)](util[_0x4052ee(0x1f6)](await AccessibilityHelper[_0x4052ee(0x260)](_0x4a1fcb,_0x162667)));if(_0x5cfa03[_0x4052ee(0x22d)](arguments[0x0][_0x4052ee(0x215)],_0x5cfa03[_0x4052ee(0x273)])&&global[_0x4052ee(0x22b)]){const _0x57b094={};_0x57b094['method']=arguments[0x1],await _0x5cfa03[_0x4052ee(0x24c)](browserStackExecuteDriver,global[_0x4052ee(0x22b)],scripts[_0x4052ee(0x260)],_0x57b094);}}}catch(_0x31e81a){logger[_0x4052ee(0x25f)](_0x4052ee(0x20c)+util[_0x4052ee(0x1f6)](_0x31e81a));}return global[_0x4052ee(0x218)]=![],_0x1f3af2[_0x4052ee(0x200)](this,arguments);};}}),!_0x5cfa03[_0x35e923(0x21c)](isFalse,process[_0x35e923(0x271)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object['defineProperty'](_0xa914d8['prototype'],_0x5cfa03[_0x35e923(0x205)],{'get':function(){return function _0x1f7194(_0x596f8b){const _0x472091=a41_0x4d97,_0x3e8635=_0x596f8b&&_0x596f8b['params']&&_0x596f8b[_0x472091(0x217)][_0x472091(0x235)];if(_0x3e8635){const _0x26be5f=_0x3e8635['sessionId'],_0x181a89=_0x3e8635['platformDetails'];_0x181a89&&(_0x5cfa03[_0x472091(0x1d6)](debug,_0x472091(0x253)+_0x181a89[_0x472091(0x202)]()),_0xc01f83[_0x472091(0x1f2)][_0x472091(0x1d8)]=_0x181a89[_0x472091(0x1df)],_0xc01f83[_0x472091(0x1f2)][_0x472091(0x1ef)]=_0x181a89[_0x472091(0x1e1)]),_0x26be5f&&(_0x5cfa03['HAfbf'](debug,_0x472091(0x231)+_0x26be5f),_0xc01f83[_0x472091(0x1f2)]['bsSessionId']=_0x26be5f);}return _0x1d1ff0[_0x472091(0x200)](this,arguments);};}});}}catch(_0x59bb49){_0x5cfa03[_0x35e923(0x21c)](debug,_0x35e923(0x23a)+_0x59bb49),_0xc01f83[_0x35e923(0x1e6)]=_0x59bb49[_0x35e923(0x202)]();}}static[a41_0x5e7f00(0x22a)](){const _0x3e4e0f=a41_0x5e7f00,_0x4f8fb5={'xpjHL':function(_0x285eb9,_0x444f65){return _0x285eb9(_0x444f65);},'kBjEl':function(_0x45261f,_0x3d445e){return _0x45261f(_0x3d445e);},'Fyfmg':function(_0x151265){return _0x151265();},'WsivQ':_0x3e4e0f(0x228),'kmhLv':'server','qNhPJ':_0x3e4e0f(0x1fe),'fdIaj':'crConnection.js','qtxZF':function(_0x993f50,_0x26e54f){return _0x993f50(_0x26e54f);},'fctSd':function(_0x17a88b,_0x155d0a){return _0x17a88b(_0x155d0a);},'HvLdk':_0x3e4e0f(0x229),'vlneX':_0x3e4e0f(0x1fc),'JHXSw':function(_0xf094a0,_0x12d1f7){return _0xf094a0!=_0x12d1f7;},'fgRjN':_0x3e4e0f(0x232)},_0x1df965=this;if(_0x4f8fb5[_0x3e4e0f(0x230)](isAccessibilityAutomationSession)){let _0x16a55d=null;try{const _0xd0f17=path[_0x3e4e0f(0x259)](_0x4f8fb5[_0x3e4e0f(0x237)],_0x4f8fb5[_0x3e4e0f(0x268)],_0x4f8fb5[_0x3e4e0f(0x26b)],_0x4f8fb5[_0x3e4e0f(0x1db)]),_0x1beb6a=_0x4f8fb5['qtxZF'](importFileFromPWCore,_0xd0f17);!_0x1beb6a?_0x4f8fb5[_0x3e4e0f(0x21a)](debug,_0x4f8fb5[_0x3e4e0f(0x25e)]):_0x16a55d=_0x1beb6a[_0x3e4e0f(0x249)];}catch(_0x157b4a){_0x4f8fb5[_0x3e4e0f(0x21a)](debug,_0x4f8fb5['vlneX']);}try{if(_0x4f8fb5[_0x3e4e0f(0x1dc)](_0x16a55d,null)){const _0x44cdeb=_0x16a55d[_0x3e4e0f(0x23c)][_0x3e4e0f(0x232)];Object['defineProperty'](_0x16a55d[_0x3e4e0f(0x23c)],_0x4f8fb5[_0x3e4e0f(0x244)],{'get':function(){return function _0x3b3c97(_0x516851){const _0x4fc6f5=a41_0x4d97;try{const _0x47362c=_0x516851[_0x4fc6f5(0x1eb)];if(_0x47362c){delete _0x516851['bStackParams'];const _0xce5011=_0x47362c['sessionId'],_0x442991=_0x47362c['platformDetails'];_0x442991&&(_0x4f8fb5[_0x4fc6f5(0x250)](debug,_0x4fc6f5(0x1ff)+_0x442991[_0x4fc6f5(0x202)]()),_0x1df965[_0x4fc6f5(0x1f2)][_0x4fc6f5(0x1d8)]=_0x442991[_0x4fc6f5(0x1df)],_0x1df965[_0x4fc6f5(0x1f2)][_0x4fc6f5(0x1ef)]=_0x442991[_0x4fc6f5(0x1e1)]),_0xce5011&&(_0x4f8fb5[_0x4fc6f5(0x20e)](debug,_0x4fc6f5(0x243)+_0xce5011),_0x1df965[_0x4fc6f5(0x1f2)]['bsSessionId']=_0xce5011);}}catch(_0xb053bc){_0x4f8fb5[_0x4fc6f5(0x20e)](debug,_0x4fc6f5(0x1f5)+_0xb053bc[_0x4fc6f5(0x202)]());}return _0x44cdeb[_0x4fc6f5(0x200)](this,arguments);};}});}}catch(_0x9ab6c9){_0x4f8fb5[_0x3e4e0f(0x264)](debug,_0x3e4e0f(0x22e)+_0x9ab6c9),_0x1df965['sessionError']=_0x9ab6c9[_0x3e4e0f(0x202)]();}}}static[a41_0x5e7f00(0x270)](){const _0x39ceb0=a41_0x5e7f00;return this[_0x39ceb0(0x1f2)];}}function a41_0x4965(){const _0x31a071=['safari','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','patch','sessionError','396ZHVmSd','browserstack.com','parse','sendMessageToServer','bStackParams','Error\x20in\x20importing\x20connection\x20','CvkbL','_defaultConnectOptions','platform_version','4kGAUcK','accessibilityPlatform','currentSessionDetails','winstonLogger','../../helpers/accessibility-automation/helper','Error\x20in\x20finding\x20platform\x20details\x20','format','Connection','exports','uuqKL','oxzta','connection.js','Error\x20in\x20importing\x20crConnection','sgIkR','chromium','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','apply','_name','toString','caps','EtNJt','Ukmgp','jFsTQ','mklwq','capabilities','pClTB','browser','playwright-','Failed\x20to\x20perform\x20scan\x20','setupBrowserDetails','kBjEl','titlePath','AcAFb','1208200HwsWXw','MFKIe','includes','83533lZHehw','_type','3173560whzxqD','params','bstackPerformA11yScan','browser_version','fctSd','RYgHG','MYlnu','use','oNkDY','gKqiL','krtQz','wpsAF','entries','_browserType','dispatch','1149355zDwEAD','fTmRl','browserName','lib','Not\x20able\x20to\x20import\x20crConnection','patchCRConnection','__driver','LwDne','zYGMe','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','automate','Fyfmg','Setting\x20session\x20id\x20received\x20from\x20BS\x20','_onMessage','currentTest','wUevW','bsParams','2bklnhS','WsivQ','method','XRFpd','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','JUNgd','prototype','cloudProvider','assign','unknown_grid','../../bin/playwright/accessibility-helper','../../helpers/accessibility-automation/scripts','../../helpers/test-observability/error-handler','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','fgRjN','Not\x20able\x20to\x20import\x20Connection','wsEndpoint','HvsbX','pwPage','CRConnection','client','RJsXA','SaxVw','Performing\x20scan\x20for\x20','hNlAg','version','xpjHL','bIoAK','yIvIM','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','__workerDetails','GcktW','12016fFAAPg','ELzdY','chrome','join','./accessibility-helper','connectOptions','local_grid','EILvx','HvLdk','debug','performScan','fNbqA','browserstack','Page','qtxZF','../../helpers/test-observability/utils','vWkux','HjIgf','kmhLv','neXAu','product','qNhPJ','../../helpers/logger','patchConnection','997986gKjkZU','EzYEv','getDetails','env','330819LGzqjZ','aFETH','channel','VbEbB','project','platform','query','SXBev','fdIaj','JHXSw','Ihyvs','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','platformName','../../helpers/helper','platformVersion','url'];a41_0x4965=function(){return _0x31a071;};return a41_0x4965();}module[a41_0x5e7f00(0x1f8)]=PlaywrightSessionDetails;
1
+ const a42_0x27c8bb=a42_0x52f4;(function(_0x1ec30f,_0x593a39){const _0xf82846=a42_0x52f4,_0x251b32=_0x1ec30f();while(!![]){try{const _0x325108=-parseInt(_0xf82846(0x150))/0x1*(parseInt(_0xf82846(0xdc))/0x2)+parseInt(_0xf82846(0x12c))/0x3+parseInt(_0xf82846(0x155))/0x4+-parseInt(_0xf82846(0x141))/0x5*(parseInt(_0xf82846(0x148))/0x6)+parseInt(_0xf82846(0x160))/0x7*(parseInt(_0xf82846(0xed))/0x8)+-parseInt(_0xf82846(0x125))/0x9+parseInt(_0xf82846(0x12e))/0xa;if(_0x325108===_0x593a39)break;else _0x251b32['push'](_0x251b32['shift']());}catch(_0x4a90f5){_0x251b32['push'](_0x251b32['shift']());}}}(a42_0xaf84,0x7c423));function a42_0xaf84(){const _0x328122=['bsParams','VgGHO','1295856axBLfm','query','platform_version','_connection','platformName','EtHdX','sessionId','ADOHn','apply','browserstack.com','pwPage','util','bstackPerformA11yScan','hAsOF','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','browser','OEHPs','Error\x20in\x20importing\x20crConnection','./accessibility-helper','kEqOW','exports','sHgZC','crConnection.js','connectOptions','xhdTk','qzNsD','vzMYX','bsSessionId','server','prototype','entries','rEUaK','patchCRConnection','browserstack','NtcXg','bStackParams','../../helpers/test-observability/error-handler','patchConnection','../../bin/playwright/accessibility-helper','ihWEd','cloudProvider','hxkWD','currentSessionDetails','_browserType','../../helpers/accessibility-automation/scripts','capabilities','CRConnection','_defaultConnectOptions','chromium','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','lBNfT','mDlZe','Connection','dUFOV','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','connection.js','4741326xHoFWi','../../helpers/test-observability/utils','method','toString','QOujg','getDetails','debug','2004414rlFXqR','currentTest','1411680qljLUM','qwxUk','Error\x20in\x20importing\x20connection\x20','channel','browserName','unknown_grid','firefox','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','__workerDetails','Page','fromEntries','Not\x20able\x20to\x20import\x20Connection','jChmZ','platformDetails','platformVersion','winstonLogger','LPwVh','platform','defineProperty','10HgweRB','_type','join','lib','local_grid','path','accessibilityPlatform','653922oDWWnT','sCuZx','version','isRemote','caps','gXkbp','sYNDB','params','33131bCMuss','POSpk','YsemM','testInfo','NXqjq','1571500NPrUPN','titlePath','dispatch','setupBrowserDetails','SqvbT','Lxoyp','BKHIf','__driver','client','sendMessageToServer','xdUNG','28jfLzly','Setting\x20session\x20id\x20received\x20from\x20BS\x20','IUPAM','playwright-','onLyv','automate','ypvzk','performScan','includes','use','product','VOTZs','XSwhh','format','hmSwR','DaRYt','zHKiR','fbBPk','HyMSH','JuTvX','36nzfXqT','patch','Failed\x20to\x20perform\x20scan\x20','env','WXnPO','Error\x20in\x20finding\x20platform\x20details\x20','chrome','DZSUE','DnrZP','hCHDc','../../helpers/logger','BROWSERSTACK_TEST_OBSERVABILITY','jpslj','project','assign'];a42_0xaf84=function(){return _0x328122;};return a42_0xaf84();}const path=require(a42_0x27c8bb(0x146)),url=require('url'),util=require(a42_0x27c8bb(0xf8)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require('../../helpers/helper'),{o11yErrorHandler}=require(a42_0x27c8bb(0x111)),{debug,getPlatformDetails}=require(a42_0x27c8bb(0x126)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),logger=require(a42_0x27c8bb(0xe6))[a42_0x27c8bb(0x13d)],scripts=require(a42_0x27c8bb(0x119)),{browserStackExecuteDriver}=require(a42_0x27c8bb(0x113)),AccessibilityHelper=require(a42_0x27c8bb(0xff)),getBrowserNameFromChannel=_0x421ad7=>{const _0x59d29d=a42_0x27c8bb,_0x49180c={};_0x49180c[_0x59d29d(0xd8)]=_0x59d29d(0xe2),_0x49180c[_0x59d29d(0x106)]='edge',_0x49180c[_0x59d29d(0x129)]=_0x59d29d(0x134),_0x49180c[_0x59d29d(0x152)]='safari';const _0x2f85a1=_0x49180c;if(_0x421ad7['includes'](_0x2f85a1[_0x59d29d(0xd8)]))return _0x2f85a1[_0x59d29d(0xd8)];if(_0x421ad7[_0x59d29d(0x168)](_0x2f85a1['qzNsD']))return _0x2f85a1[_0x59d29d(0x106)];if(_0x421ad7[_0x59d29d(0x168)](_0x2f85a1[_0x59d29d(0x129)]))return _0x2f85a1[_0x59d29d(0x129)];if(_0x421ad7['includes'](_0x2f85a1['YsemM']))return _0x2f85a1[_0x59d29d(0x152)];},getBrowserFromWSEndpoint=_0x3746ec=>{const _0x398c01=a42_0x27c8bb,_0x15f5cd={'EtHdX':_0x398c01(0xe2),'WXnPO':function(_0x3ed2c2,_0x590f03){return _0x3ed2c2(_0x590f03);}};try{const _0x57f806=url['parse'](_0x3746ec),_0x21e2fe=new URLSearchParams(_0x57f806[_0x398c01(0xee)]),_0x180906=Object[_0x398c01(0x138)](_0x21e2fe[_0x398c01(0x10b)]()),_0x158eb7=JSON['parse'](_0x180906[_0x398c01(0x14c)]);if(_0x158eb7&&(_0x158eb7['browser']||_0x158eb7[_0x398c01(0x132)]))return _0x158eb7['browser']||_0x158eb7[_0x398c01(0x132)];return _0x15f5cd[_0x398c01(0xf2)];}catch(_0x261c24){_0x15f5cd[_0x398c01(0xe0)](debug,_0x398c01(0x123)+_0x261c24[_0x398c01(0x128)]());}},getCloudProviderFromWsEndpoint=_0x224ee2=>{const _0x5553d6=a42_0x27c8bb,_0x5dbe52={};_0x5dbe52[_0x5553d6(0x11f)]=_0x5553d6(0xf6),_0x5dbe52[_0x5553d6(0x154)]=_0x5553d6(0x10e),_0x5dbe52[_0x5553d6(0xd7)]=_0x5553d6(0x133);const _0x1b16ed=_0x5dbe52;if(_0x224ee2['includes'](_0x1b16ed['lBNfT']))return _0x1b16ed[_0x5553d6(0x154)];return _0x1b16ed[_0x5553d6(0xd7)];},a42_0x3ec12e={};function a42_0x52f4(_0x1bf04b,_0x1110e7){const _0xaf8467=a42_0xaf84();return a42_0x52f4=function(_0x52f425,_0x5687b5){_0x52f425=_0x52f425-0xd5;let _0x25bc67=_0xaf8467[_0x52f425];return _0x25bc67;},a42_0x52f4(_0x1bf04b,_0x1110e7);}a42_0x3ec12e[a42_0x27c8bb(0x115)]=undefined,a42_0x3ec12e[a42_0x27c8bb(0x108)]=undefined,a42_0x3ec12e[a42_0x27c8bb(0xfc)]=undefined,a42_0x3ec12e['browser_version']=undefined,a42_0x3ec12e[a42_0x27c8bb(0x13f)]=undefined,a42_0x3ec12e[a42_0x27c8bb(0xef)]=undefined,a42_0x3ec12e[a42_0x27c8bb(0x16a)]=undefined,a42_0x3ec12e[a42_0x27c8bb(0x11a)]={};class PlaywrightSessionDetails{static [a42_0x27c8bb(0x117)]=a42_0x3ec12e;constructor(){const _0x1878fb=a42_0x27c8bb,_0x2fcf1f={};_0x2fcf1f['xxWap']=_0x1878fb(0xfb);const _0x5ccce0=_0x2fcf1f;throw new Error(_0x5ccce0['xxWap']);}static ['sessionError']=null;static[a42_0x27c8bb(0x158)](_0x4d4701,_0x29ff2a,_0x5907d8=null){const _0x2abdae=a42_0x27c8bb,_0x4da474={'BKHIf':_0x2abdae(0x145),'VgGHO':function(_0x7924f5,_0x555d9e,_0x3a3301){return _0x7924f5(_0x555d9e,_0x3a3301);},'POSpk':_0x2abdae(0xe9),'vzMYX':_0x2abdae(0x169),'hxkWD':_0x2abdae(0x104),'VOTZs':function(_0x20b584,_0x5da7b7){return _0x20b584(_0x5da7b7);},'xdUNG':function(_0x26accd,_0x28a3fe){return _0x26accd===_0x28a3fe;},'rEUaK':_0x2abdae(0x10e),'RvbVS':_0x2abdae(0x165),'GLsHO':function(_0x4cbb00,_0x345120){return _0x4cbb00(_0x345120);},'kEqOW':function(_0x99c5b7,_0x22c038){return _0x99c5b7+_0x22c038;},'EiszW':_0x2abdae(0x163),'mYpIF':function(_0x21212c){return _0x21212c();},'EgVZP':_0x2abdae(0x158)},_0x39413d=this;return _0x4da474['VgGHO'](o11yErrorHandler,async function _0x18918d(_0x4de800,_0x5d0dde,_0x251cdd=null){const _0x3ceea5=_0x2abdae;let _0x487f39=_0x4de800['_name'];const _0x475488=_0x4de800[_0x3ceea5(0x14a)]();let _0x3556a6=null,_0x15b49c=null,_0x45a248=null,_0x40fda4=_0x4da474[_0x3ceea5(0x15b)];if(_0x4de800[_0x3ceea5(0xf0)][_0x3ceea5(0x14b)]()||global['accessibilityPlatform']){const _0xf1b7a4=_0x4de800[_0x3ceea5(0x118)][_0x3ceea5(0x11c)]||_0x4da474[_0x3ceea5(0xec)](nestedKeyValue,_0x5d0dde,[_0x4da474[_0x3ceea5(0x151)],_0x4da474[_0x3ceea5(0x107)],_0x4da474[_0x3ceea5(0x116)]]),_0x3a2aa4=_0x251cdd||_0xf1b7a4&&_0xf1b7a4['wsEndpoint'];_0x3a2aa4&&(_0x40fda4=_0x4da474[_0x3ceea5(0x16b)](getCloudProviderFromWsEndpoint,_0x3a2aa4),_0x4da474[_0x3ceea5(0x15f)](_0x40fda4,_0x4da474[_0x3ceea5(0x10c)])&&(_0x45a248=_0x4da474['RvbVS'],_0x487f39=_0x4da474['VOTZs'](getBrowserFromWSEndpoint,_0x3a2aa4)||_0x487f39,_0x3556a6=_0x39413d[_0x3ceea5(0x117)][_0x3ceea5(0x13f)],_0x15b49c=_0x39413d[_0x3ceea5(0x117)]['platform_version']));}else{_0x5d0dde&&_0x5d0dde[_0x3ceea5(0xe9)][_0x3ceea5(0x169)][_0x3ceea5(0x131)]?_0x487f39=_0x4da474['GLsHO'](getBrowserNameFromChannel,_0x5d0dde[_0x3ceea5(0xe9)]['use']['channel']):_0x487f39=_0x4da474[_0x3ceea5(0x100)](_0x4da474['EiszW'],_0x487f39['toLowerCase']());const _0x440032=await _0x4da474['mYpIF'](getPlatformDetails);_0x3556a6=_0x440032[_0x3ceea5(0xf1)],_0x15b49c=_0x440032['platformVersion'];}const _0x162e63={};_0x162e63[_0x3ceea5(0xfc)]=_0x487f39,_0x162e63['browser_version']=_0x475488,_0x162e63['capabilities']={},_0x162e63[_0x3ceea5(0x13f)]=_0x3556a6,_0x162e63['platform_version']=_0x15b49c,_0x162e63[_0x3ceea5(0x16a)]=_0x45a248;const _0x418518=_0x162e63,_0x338029={};_0x338029[_0x3ceea5(0x115)]=_0x40fda4,_0x39413d[_0x3ceea5(0x117)]=Object[_0x3ceea5(0xea)]({},_0x39413d[_0x3ceea5(0x117)],_0x338029,_0x418518);},_0x4da474['EgVZP'])(_0x4d4701,_0x29ff2a,_0x5907d8);}static[a42_0x27c8bb(0xdd)](){const _0x4e9e22=a42_0x27c8bb;this[_0x4e9e22(0x112)](),this['patchCRConnection']();}static[a42_0x27c8bb(0x112)](){const _0x40fc49=a42_0x27c8bb,_0x3f8ad9={'IUPAM':function(_0x171707,_0x6df0bb,_0x494904){return _0x171707(_0x6df0bb,_0x494904);},'Lxoyp':_0x40fc49(0x12d),'DZSUE':'testInfo','qwxUk':'titlePath','ypvzk':function(_0xa99258,_0x8f131f,_0x2fd8fe){return _0xa99258(_0x8f131f,_0x2fd8fe);},'ZEqsu':_0x40fc49(0x136),'hmSwR':_0x40fc49(0xf7),'jChmZ':function(_0x566dc1,_0xd685ef){return _0x566dc1===_0xd685ef;},'ADOHn':_0x40fc49(0x137),'ihWEd':function(_0x5aea92,_0x3689b7,_0x27fd5e,_0x4b83e5){return _0x5aea92(_0x3689b7,_0x27fd5e,_0x4b83e5);},'sCuZx':function(_0x6037eb,_0x91434f){return _0x6037eb(_0x91434f);},'fbBPk':_0x40fc49(0x144),'XSwhh':_0x40fc49(0x15d),'hCHDc':_0x40fc49(0x124),'NtcXg':function(_0x548731,_0x3b2309){return _0x548731(_0x3b2309);},'vQvUc':_0x40fc49(0x139),'SVmfz':function(_0xab3f33,_0x39540e){return _0xab3f33!=_0x39540e;},'onLyv':function(_0x1cbe68){return _0x1cbe68();},'jpslj':'sendMessageToServer','xhdTk':_0x40fc49(0x157)},_0x3910e8=this;if(!this['Connection'])try{const _0x18e34f=path[_0x40fc49(0x143)](_0x3f8ad9[_0x40fc49(0xd9)],_0x3f8ad9[_0x40fc49(0x16c)],_0x3f8ad9[_0x40fc49(0xe5)]),_0x206946=_0x3f8ad9[_0x40fc49(0x10f)](importFileFromPWCore,_0x18e34f);!_0x206946?_0x3f8ad9[_0x40fc49(0x10f)](debug,_0x3f8ad9['vQvUc']):this[_0x40fc49(0x121)]=_0x206946[_0x40fc49(0x121)];}catch(_0x46fce5){_0x3f8ad9['sCuZx'](debug,_0x40fc49(0x130)+_0x46fce5[_0x40fc49(0x128)]());}const _0x52f6d1=this['Connection'];try{if(_0x3f8ad9['SVmfz'](_0x52f6d1,null)){const _0xdc2c2d=_0x52f6d1[_0x40fc49(0x10a)][_0x40fc49(0x157)],_0x25b686=_0x52f6d1[_0x40fc49(0x10a)][_0x40fc49(0x15e)];_0x3f8ad9[_0x40fc49(0x164)](isAccessibilityAutomationSession)&&Object[_0x40fc49(0x140)](_0x52f6d1[_0x40fc49(0x10a)],_0x3f8ad9[_0x40fc49(0xe8)],{'get':function(){return async function(){const _0x42277a=a42_0x52f4;try{if(!global[_0x42277a(0xf9)]&&global[_0x42277a(0x147)]&&_0x3f8ad9[_0x42277a(0x162)](nestedKeyValue,global[_0x42277a(0x136)],[_0x3f8ad9[_0x42277a(0x15a)],_0x3f8ad9[_0x42277a(0xe3)],_0x3f8ad9[_0x42277a(0x12f)]])&&_0x3f8ad9[_0x42277a(0x166)](shouldScanTestForAccessibility,global['__workerDetails']['currentTest'][_0x42277a(0x153)][_0x42277a(0x156)],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x42277a(0x12b)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x42277a(0xf9)]=!![];const _0x415fea=_0x3f8ad9[_0x42277a(0x166)](nestedKeyValue,global,[_0x3f8ad9['ZEqsu'],_0x3f8ad9[_0x42277a(0xd6)]]),_0x5f260d={};_0x5f260d[_0x42277a(0x127)]=arguments[0x1],_0x415fea&&logger[_0x42277a(0x12b)](util[_0x42277a(0xd5)](await AccessibilityHelper[_0x42277a(0x167)](_0x415fea,_0x5f260d)));if(_0x3f8ad9[_0x42277a(0x13a)](arguments[0x0][_0x42277a(0x142)],_0x3f8ad9[_0x42277a(0xf4)])&&global[_0x42277a(0x15c)]){const _0x2afe3f={};_0x2afe3f[_0x42277a(0x127)]=arguments[0x1],await _0x3f8ad9[_0x42277a(0x114)](browserStackExecuteDriver,global[_0x42277a(0x15c)],scripts[_0x42277a(0x167)],_0x2afe3f);}}}catch(_0x5ad7f3){logger[_0x42277a(0x12b)](_0x42277a(0xde)+util[_0x42277a(0xd5)](_0x5ad7f3));}return global[_0x42277a(0xf9)]=![],_0x25b686[_0x42277a(0xf5)](this,arguments);};}}),!_0x3f8ad9[_0x40fc49(0x10f)](isFalse,process[_0x40fc49(0xdf)][_0x40fc49(0xe7)])&&Object['defineProperty'](_0x52f6d1['prototype'],_0x3f8ad9[_0x40fc49(0x105)],{'get':function(){const _0x649b38={'sYNDB':function(_0x183da1,_0x51945c){return _0x3f8ad9['sCuZx'](_0x183da1,_0x51945c);}};return function _0x2bbc40(_0x228c9e){const _0x1b9cd4=a42_0x52f4,_0x1a94f0=_0x228c9e&&_0x228c9e[_0x1b9cd4(0x14f)]&&_0x228c9e['params'][_0x1b9cd4(0xeb)];if(_0x1a94f0){const _0x400c05=_0x1a94f0['sessionId'],_0x3b8587=_0x1a94f0[_0x1b9cd4(0x13b)];_0x3b8587&&(_0x649b38[_0x1b9cd4(0x14e)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x3b8587[_0x1b9cd4(0x128)]()),_0x3910e8['currentSessionDetails'][_0x1b9cd4(0x13f)]=_0x3b8587[_0x1b9cd4(0xf1)],_0x3910e8[_0x1b9cd4(0x117)][_0x1b9cd4(0xef)]=_0x3b8587[_0x1b9cd4(0x13c)]),_0x400c05&&(_0x649b38[_0x1b9cd4(0x14e)](debug,_0x1b9cd4(0x161)+_0x400c05),_0x3910e8['currentSessionDetails'][_0x1b9cd4(0x108)]=_0x400c05);}return _0xdc2c2d[_0x1b9cd4(0xf5)](this,arguments);};}});}}catch(_0x5405d0){_0x3f8ad9[_0x40fc49(0x149)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x5405d0),_0x3910e8['sessionError']=_0x5405d0[_0x40fc49(0x128)]();}}static[a42_0x27c8bb(0x10d)](){const _0x2b8b00=a42_0x27c8bb,_0x1053f7={'LPwVh':function(_0x1610e3,_0x5b54ff){return _0x1610e3(_0x5b54ff);},'dUFOV':function(_0x14da1,_0x57f1ab){return _0x14da1(_0x57f1ab);},'SqvbT':function(_0x5d1f63){return _0x5d1f63();},'mDlZe':_0x2b8b00(0x144),'JuTvX':_0x2b8b00(0x109),'JWNmD':_0x2b8b00(0x11d),'oKVqW':_0x2b8b00(0x103),'DnrZP':'Not\x20able\x20to\x20import\x20crConnection','gXkbp':_0x2b8b00(0xfe),'drwju':function(_0x365936,_0x1e9e55){return _0x365936!=_0x1e9e55;},'HyMSH':'_onMessage','hAsOF':function(_0x35d033,_0x5c6b4a){return _0x35d033(_0x5c6b4a);}},_0x31a79a=this;if(_0x1053f7[_0x2b8b00(0x159)](isAccessibilityAutomationSession)){let _0x374223=null;try{const _0x49262a=path['join'](_0x1053f7[_0x2b8b00(0x120)],_0x1053f7[_0x2b8b00(0xdb)],_0x1053f7['JWNmD'],_0x1053f7['oKVqW']),_0x42019d=_0x1053f7[_0x2b8b00(0x122)](importFileFromPWCore,_0x49262a);!_0x42019d?_0x1053f7[_0x2b8b00(0x13e)](debug,_0x1053f7[_0x2b8b00(0xe4)]):_0x374223=_0x42019d[_0x2b8b00(0x11b)];}catch(_0x1a3b9d){_0x1053f7[_0x2b8b00(0x122)](debug,_0x1053f7[_0x2b8b00(0x14d)]);}try{if(_0x1053f7['drwju'](_0x374223,null)){const _0xa85fbc=_0x374223['prototype']['_onMessage'];Object['defineProperty'](_0x374223[_0x2b8b00(0x10a)],_0x1053f7[_0x2b8b00(0xda)],{'get':function(){const _0x43565c={'sHgZC':function(_0x330d6a,_0x30a460){return _0x1053f7['LPwVh'](_0x330d6a,_0x30a460);},'OEHPs':function(_0x22ad84,_0x53a671){return _0x1053f7['dUFOV'](_0x22ad84,_0x53a671);}};return function _0x539245(_0x53abef){const _0x1d0a32=a42_0x52f4;try{const _0x2405d1=_0x53abef[_0x1d0a32(0x110)];if(_0x2405d1){delete _0x53abef[_0x1d0a32(0x110)];const _0x36ccc3=_0x2405d1[_0x1d0a32(0xf3)],_0x26aba6=_0x2405d1['platformDetails'];_0x26aba6&&(_0x43565c[_0x1d0a32(0x102)](debug,_0x1d0a32(0x11e)+_0x26aba6[_0x1d0a32(0x128)]()),_0x31a79a['currentSessionDetails'][_0x1d0a32(0x13f)]=_0x26aba6[_0x1d0a32(0xf1)],_0x31a79a['currentSessionDetails'][_0x1d0a32(0xef)]=_0x26aba6[_0x1d0a32(0x13c)]),_0x36ccc3&&(_0x43565c[_0x1d0a32(0xfd)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x36ccc3),_0x31a79a[_0x1d0a32(0x117)][_0x1d0a32(0x108)]=_0x36ccc3);}}catch(_0x5666af){_0x43565c[_0x1d0a32(0xfd)](debug,_0x1d0a32(0xe1)+_0x5666af[_0x1d0a32(0x128)]());}return _0xa85fbc['apply'](this,arguments);};}});}}catch(_0x50ad26){_0x1053f7[_0x2b8b00(0xfa)](debug,_0x2b8b00(0x135)+_0x50ad26),_0x31a79a['sessionError']=_0x50ad26[_0x2b8b00(0x128)]();}}}static[a42_0x27c8bb(0x12a)](){return this['currentSessionDetails'];}}module[a42_0x27c8bb(0x101)]=PlaywrightSessionDetails;
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a42_0x1287b6=a42_0x44ea;(function(_0x419e31,_0x2aba67){const _0x1affda=a42_0x44ea,_0x13eb38=_0x419e31();while(!![]){try{const _0x4ac038=parseInt(_0x1affda(0x207))/0x1*(parseInt(_0x1affda(0x22e))/0x2)+-parseInt(_0x1affda(0x224))/0x3+parseInt(_0x1affda(0x25a))/0x4+-parseInt(_0x1affda(0x23b))/0x5*(-parseInt(_0x1affda(0x23f))/0x6)+parseInt(_0x1affda(0x25e))/0x7*(parseInt(_0x1affda(0x23a))/0x8)+-parseInt(_0x1affda(0x225))/0x9*(-parseInt(_0x1affda(0x24a))/0xa)+-parseInt(_0x1affda(0x233))/0xb*(parseInt(_0x1affda(0x214))/0xc);if(_0x4ac038===_0x2aba67)break;else _0x13eb38['push'](_0x13eb38['shift']());}catch(_0x26198d){_0x13eb38['push'](_0x13eb38['shift']());}}}(a42_0x3950,0x21638));const fs=require('fs'),path=require(a42_0x1287b6(0x202)),util=require(a42_0x1287b6(0x203)),{performance}=require(a42_0x1287b6(0x216)),{requireModule}=require(a42_0x1287b6(0x220)),helper=require('../helpers/helper'),runIntegrations=require(a42_0x1287b6(0x1fb)),captureError=async(_0x562b07,_0x29be57,_0x3ac86e=null)=>{const _0x5d4045=a42_0x1287b6,_0x148eef={'rnOcF':function(_0x136e35,_0x314df4,_0x3a2dd2){return _0x136e35(_0x314df4,_0x3a2dd2);},'NxWrv':_0x5d4045(0x243)};try{await _0x148eef[_0x5d4045(0x22b)](_0x562b07,_0x29be57,_0x3ac86e);}catch(_0x505ac7){process[_0x5d4045(0x240)]=0x1,logger[_0x5d4045(0x250)](util[_0x5d4045(0x1f1)](_0x505ac7));const _0x16bba1={};_0x16bba1[_0x5d4045(0x212)]=_0x505ac7['message'];const _0x534e65=_0x16bba1;if(helper[_0x5d4045(0x221)](global[_0x5d4045(0x209)])&&helper[_0x5d4045(0x221)](global[_0x5d4045(0x218)]))return;try{helper[_0x5d4045(0x229)](_0x148eef['NxWrv'],_0x534e65,global[_0x5d4045(0x209)],global[_0x5d4045(0x218)]);}catch(_0x11c35d){logger['debug'](_0x5d4045(0x21d)+_0x11c35d);}}};try{const browserstackFolderPath=path[a42_0x1287b6(0x1f4)](helper[a42_0x1287b6(0x1fc)](),'.browserstack');if(fs[a42_0x1287b6(0x236)](browserstackFolderPath)){const filePath=path[a42_0x1287b6(0x1f4)](browserstackFolderPath,a42_0x1287b6(0x205));fs['existsSync'](filePath)&&fs['unlinkSync'](filePath);}}catch(a42_0x2ff432){logger[a42_0x1287b6(0x22d)](a42_0x1287b6(0x213)+a42_0x2ff432['message']);}process[a42_0x1287b6(0x249)][a42_0x1287b6(0x24e)](a42_0x1287b6(0x257))&&(!process[a42_0x1287b6(0x249)][a42_0x1287b6(0x24e)]('--opts')&&process[a42_0x1287b6(0x249)][a42_0x1287b6(0x258)]('--no-opts'),!process[a42_0x1287b6(0x249)][a42_0x1287b6(0x24e)](a42_0x1287b6(0x201))&&process[a42_0x1287b6(0x249)][a42_0x1287b6(0x258)](a42_0x1287b6(0x215)),!process[a42_0x1287b6(0x249)][a42_0x1287b6(0x24e)](a42_0x1287b6(0x24f))&&process[a42_0x1287b6(0x249)][a42_0x1287b6(0x258)](a42_0x1287b6(0x256)));const yargs=require(a42_0x1287b6(0x252)),Constants=require('./utils/constants'),PerformanceTester=require(a42_0x1287b6(0x222)),logger=require(a42_0x1287b6(0x22a))[a42_0x1287b6(0x23d)];PerformanceTester[a42_0x1287b6(0x24b)](),performance[a42_0x1287b6(0x21e)](a42_0x1287b6(0x25f));const a42_0xe0d3b3={};a42_0xe0d3b3[a42_0x1287b6(0x20a)]=![];const argv=yargs['parserConfiguration'](a42_0xe0d3b3)[a42_0x1287b6(0x21b)](a42_0x1287b6(0x223))['alias']('v',a42_0x1287b6(0x241))[a42_0x1287b6(0x235)]('v')['alias']('h','help')[a42_0x1287b6(0x238)](a42_0x1287b6(0x238))['showHelpOnFail'](!![],Constants['VERSION'][a42_0x1287b6(0x211)])[a42_0x1287b6(0x206)](a42_0x1287b6(0x254),Constants[a42_0x1287b6(0x251)][a42_0x1287b6(0x1f8)],function(_0x1501be){const _0x2b6ab4=a42_0x1287b6,_0xfded61={'WRqvo':function(_0x42465a,_0x1d2abc,_0x4676e3,_0x156a1b){return _0x42465a(_0x1d2abc,_0x4676e3,_0x156a1b);},'uMICL':function(_0xec6024,_0x33a3ca){return _0xec6024(_0x33a3ca);},'zcJWr':_0x2b6ab4(0x230)};helper[_0x2b6ab4(0x1f3)](),helper[_0x2b6ab4(0x24c)]();const _0x319436=process[_0x2b6ab4(0x249)][_0x2b6ab4(0x23e)](0x2);return _0xfded61[_0x2b6ab4(0x244)](captureError,_0xfded61[_0x2b6ab4(0x200)](require,_0xfded61[_0x2b6ab4(0x219)]),_0x1501be[_0x2b6ab4(0x249)],_0x319436);})[a42_0x1287b6(0x206)](a42_0x1287b6(0x257),Constants[a42_0x1287b6(0x21f)][a42_0x1287b6(0x1f8)],_0x3b0aa3=>{const _0x14aba0=a42_0x1287b6,_0x3724e6={'ODHWR':function(_0x1ceec6,_0x14be9b,_0x3a15ef){return _0x1ceec6(_0x14be9b,_0x3a15ef);},'ILRvA':function(_0x5e4ff3,_0x315ec4){return _0x5e4ff3(_0x315ec4);},'miahl':_0x14aba0(0x1f2),'Qxykp':_0x14aba0(0x1ff),'ZAcDd':function(_0x1a408f,_0x71e93d){return _0x1a408f(_0x71e93d);},'KgXMI':_0x14aba0(0x226),'pJMEK':function(_0x3d6861,_0x73211b){return _0x3d6861(_0x73211b);},'KKbOA':_0x14aba0(0x25c),'QPyOE':function(_0xec401e,_0x24c432){return _0xec401e(_0x24c432);},'RPFyh':_0x14aba0(0x1f7),'snBcZ':function(_0x2a0b4e){return _0x2a0b4e();}};logger[_0x14aba0(0x22d)](_0x3724e6[_0x14aba0(0x1f6)]);const _0x581d06=_0x3724e6[_0x14aba0(0x20c)](requireModule,_0x3724e6[_0x14aba0(0x242)]),_0x53e17c=_0x3724e6['pJMEK'](requireModule,_0x3724e6['KKbOA']);process['argv']=process[_0x14aba0(0x249)][_0x14aba0(0x23e)](0x1),delete _0x581d06['handler'],_0x581d06[_0x14aba0(0x21a)]=function(_0x3801d2){const _0x5e46db=_0x14aba0;return _0x3724e6[_0x5e46db(0x21c)](captureError,_0x3724e6['ILRvA'](require,_0x3724e6[_0x5e46db(0x260)]),_0x3801d2);},_0x53e17c['run']=_0x581d06;const {main:_0x31f292}=_0x3724e6['QPyOE'](requireModule,_0x3724e6[_0x14aba0(0x248)]);_0x3724e6['snBcZ'](_0x31f292);})['command']('cucumber-js',Constants['CUCUMBER'][a42_0x1287b6(0x1f8)],function(_0x4a616d){const _0x1b4b8d=a42_0x1287b6,_0x4eb2a9={'iUWPK':function(_0x1892ee,_0x344ab1,_0xea49b0,_0x121c1e){return _0x1892ee(_0x344ab1,_0xea49b0,_0x121c1e);},'jBhMh':function(_0x4bc4e2,_0x484b0c){return _0x4bc4e2(_0x484b0c);},'sAwHv':'./cucumber-js/command'},_0x1deca1=process['argv'][_0x1b4b8d(0x23e)](0x2);return _0x4eb2a9['iUWPK'](captureError,_0x4eb2a9['jBhMh'](require,_0x4eb2a9[_0x1b4b8d(0x20b)]),_0x4a616d[_0x1b4b8d(0x249)],_0x1deca1);})[a42_0x1287b6(0x206)](a42_0x1287b6(0x239),Constants[a42_0x1287b6(0x255)][a42_0x1287b6(0x1f8)],function(_0x291867){const _0x168f2a=a42_0x1287b6,_0x306f7e={'izHRH':function(_0x58dbc2,_0x54624b,_0x2bd16e,_0xa0a76c){return _0x58dbc2(_0x54624b,_0x2bd16e,_0xa0a76c);},'Pwjjx':function(_0x5822ff,_0x3328ef){return _0x5822ff(_0x3328ef);},'jFHiQ':_0x168f2a(0x1fa)},_0x3bc003=process['argv'][_0x168f2a(0x23e)](0x2);return _0x306f7e[_0x168f2a(0x23c)](captureError,_0x306f7e[_0x168f2a(0x245)](require,_0x306f7e[_0x168f2a(0x204)]),_0x291867['argv'],_0x3bc003);})[a42_0x1287b6(0x206)](a42_0x1287b6(0x217),Constants[a42_0x1287b6(0x247)][a42_0x1287b6(0x1f8)],function(_0x1fed6b){const _0x4c685e=a42_0x1287b6,_0x202a6e={'ekPvU':function(_0x924bb3,_0x3c34bb,_0x32320e,_0x39f68d){return _0x924bb3(_0x3c34bb,_0x32320e,_0x39f68d);},'Qzhyn':function(_0x1b9b06,_0x16a7d3){return _0x1b9b06(_0x16a7d3);},'hFdHO':_0x4c685e(0x20f)},_0x35460c=process['argv'][_0x4c685e(0x23e)](0x2);return _0x202a6e['ekPvU'](captureError,_0x202a6e[_0x4c685e(0x237)](require,_0x202a6e[_0x4c685e(0x25b)]),_0x1fed6b[_0x4c685e(0x249)],_0x35460c);})['command'](a42_0x1287b6(0x259),Constants[a42_0x1287b6(0x20d)][a42_0x1287b6(0x1f8)],function(_0x3641c6){const _0x1b7481=a42_0x1287b6,_0x13452a={'GBTZV':function(_0x3929ff,_0xc269f3,_0x47f61d,_0x4b0d39){return _0x3929ff(_0xc269f3,_0x47f61d,_0x4b0d39);},'IXFlB':function(_0x4e80c0,_0x4513e3){return _0x4e80c0(_0x4513e3);},'pGdWx':_0x1b7481(0x232)},_0x32b56a=process[_0x1b7481(0x249)][_0x1b7481(0x23e)](0x2);return _0x13452a[_0x1b7481(0x253)](captureError,_0x13452a['IXFlB'](require,_0x13452a['pGdWx']),_0x3641c6[_0x1b7481(0x249)],_0x32b56a);})[a42_0x1287b6(0x206)](a42_0x1287b6(0x231),Constants[a42_0x1287b6(0x1f5)][a42_0x1287b6(0x1f8)],function(_0x554c4e){const _0x590b93=a42_0x1287b6,_0x27fa0e={'yObOC':function(_0x3e77d4,_0x39f98a,_0x3bd9e1){return _0x3e77d4(_0x39f98a,_0x3bd9e1);},'RqrBi':function(_0x457939,_0x2063b0){return _0x457939(_0x2063b0);},'lDLpt':_0x590b93(0x25d)},_0x4d342a=process[_0x590b93(0x249)][_0x590b93(0x23e)](0x2);return _0x27fa0e[_0x590b93(0x208)](captureError,_0x27fa0e[_0x590b93(0x210)](require,_0x27fa0e[_0x590b93(0x246)]),_0x554c4e);})[a42_0x1287b6(0x206)](a42_0x1287b6(0x234),Constants[a42_0x1287b6(0x1fd)]['INFO'],function(_0x309336){const _0x24d4c1=a42_0x1287b6,_0x2896bc={'GpjPG':function(_0x1912e9,_0x373ad8){return _0x1912e9(_0x373ad8);}};return _0x2896bc[_0x24d4c1(0x1fe)](runIntegrations,_0x309336);})['command'](a42_0x1287b6(0x228),Constants[a42_0x1287b6(0x22c)]['INFO'],function(_0x5b9396){const _0x41aa36=a42_0x1287b6,_0x38cbcd={'NVGFJ':function(_0x57d434,_0x32c72f,_0x5cdf5c,_0x3b335e){return _0x57d434(_0x32c72f,_0x5cdf5c,_0x3b335e);},'ysYoM':function(_0x11e6be,_0x4a3be1){return _0x11e6be(_0x4a3be1);},'xbbhI':'./playwright/command'},_0x34fb51=process[_0x41aa36(0x249)]['slice'](0x2);return _0x38cbcd[_0x41aa36(0x22f)](captureError,_0x38cbcd[_0x41aa36(0x20e)](require,_0x38cbcd[_0x41aa36(0x227)]),_0x5b9396[_0x41aa36(0x249)],_0x34fb51);})[a42_0x1287b6(0x1f9)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a42_0x1287b6(0x24d)](null)[a42_0x1287b6(0x249)];function a42_0x3950(){const _0xed4bdb=['miahl','format','./mocha/command','setTestObservabilityDisable','join','HST','Qxykp','mocha/lib/cli/cli.js','INFO','demandCommand','./vanilla-js/command','./integrations/command','homedir','INTEGRATIONS','GpjPG','Parsing\x20command\x20line\x20arguements','uMICL','--config','path','util','jFHiQ','.local-not-set.json','command','1kBtktK','yObOC','config','dot-notation','sAwHv','ZAcDd','CODECEPTJS','ysYoM','./nightwatch/command','RqrBi','HELP','globalException','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','375324dMbMVF','--no-config','perf_hooks','nightwatch','framework','zcJWr','handler','usage','ODHWR','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','mark','MOCHA','../helpers/helper','isUndefined','../helpers/performance-tester','usage:\x20$0\x20<command>\x20[args]','456063klSHnA','351ztwCEt','mocha/lib/cli/run.js','xbbhI','playwright','fireFunnelTestEvent','../helpers/logger','rnOcF','PLAYWRIGHT','debug','543106lOugqD','NVGFJ','./jest/command','ats','./codeceptjs/command','154FJyBfS','integrations','describe','existsSync','Qzhyn','help','node','8svaXpy','495bRZJoX','izHRH','winstonLogger','slice','516bjnRer','exitCode','version','KgXMI','SDKTestSuccessful','WRqvo','Pwjjx','lDLpt','NIGHTWATCH','RPFyh','argv','33070yoTTls','startMonitoring','setBrowserStackAutomationDisable','wrap','includes','--package','error','JEST','yargs','GBTZV','jest','VANILLA','--no-package','mocha','push','codeceptjs','811144QgJXEG','hFdHO','mocha/lib/cli/commands.js','../../ats/src/index','803831WxkhAt','sdk:setup-start'];a42_0x3950=function(){return _0xed4bdb;};return a42_0x3950();}function a42_0x44ea(_0x59d1d2,_0x1f2009){const _0x39506d=a42_0x3950();return a42_0x44ea=function(_0x44ea23,_0xd92ee9){_0x44ea23=_0x44ea23-0x1f1;let _0x138e3d=_0x39506d[_0x44ea23];return _0x138e3d;},a42_0x44ea(_0x59d1d2,_0x1f2009);}!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a42_0x1287b6(0x250)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
2
+ 'use strict';const a43_0x54d10b=a43_0x3148;(function(_0x1498ae,_0x42ad32){const _0x142886=a43_0x3148,_0x5c26ab=_0x1498ae();while(!![]){try{const _0x1c0ad8=-parseInt(_0x142886(0x207))/0x1*(parseInt(_0x142886(0x205))/0x2)+parseInt(_0x142886(0x22b))/0x3+-parseInt(_0x142886(0x1ee))/0x4*(parseInt(_0x142886(0x23f))/0x5)+parseInt(_0x142886(0x20e))/0x6*(parseInt(_0x142886(0x236))/0x7)+-parseInt(_0x142886(0x24f))/0x8*(-parseInt(_0x142886(0x22a))/0x9)+parseInt(_0x142886(0x23a))/0xa*(parseInt(_0x142886(0x200))/0xb)+-parseInt(_0x142886(0x20c))/0xc;if(_0x1c0ad8===_0x42ad32)break;else _0x5c26ab['push'](_0x5c26ab['shift']());}catch(_0x1b312e){_0x5c26ab['push'](_0x5c26ab['shift']());}}}(a43_0x3712,0xc8bcb));const fs=require('fs'),path=require(a43_0x54d10b(0x243)),util=require('util'),{performance}=require(a43_0x54d10b(0x216)),{requireModule}=require(a43_0x54d10b(0x21c)),helper=require('../helpers/helper'),runIntegrations=require(a43_0x54d10b(0x1ed)),captureError=async(_0x11c9fa,_0x40472e,_0x390705=null)=>{const _0x42357a=a43_0x54d10b,_0x143d2f={'gZCay':function(_0x5c9d5e,_0x276d9d,_0x58f044){return _0x5c9d5e(_0x276d9d,_0x58f044);},'WHiVe':_0x42357a(0x1f2)};try{await _0x143d2f[_0x42357a(0x254)](_0x11c9fa,_0x40472e,_0x390705);}catch(_0x1ec44d){process[_0x42357a(0x214)]=0x1,logger[_0x42357a(0x237)](util[_0x42357a(0x204)](_0x1ec44d));const _0x3c97c0={};_0x3c97c0[_0x42357a(0x225)]=_0x1ec44d[_0x42357a(0x23d)];const _0x45d908=_0x3c97c0;if(helper['isUndefined'](global[_0x42357a(0x21e)])&&helper[_0x42357a(0x209)](global[_0x42357a(0x1f3)]))return;try{helper['fireFunnelTestEvent'](_0x143d2f['WHiVe'],_0x45d908,global['config'],global[_0x42357a(0x1f3)]);}catch(_0x5cfe11){logger[_0x42357a(0x22e)](_0x42357a(0x202)+_0x5cfe11);}}};try{const browserstackFolderPath=path['join'](helper['homedir'](),'.browserstack');if(fs[a43_0x54d10b(0x213)](browserstackFolderPath)){const filePath=path[a43_0x54d10b(0x241)](browserstackFolderPath,a43_0x54d10b(0x206));fs[a43_0x54d10b(0x213)](filePath)&&fs[a43_0x54d10b(0x250)](filePath);}}catch(a43_0xa9e76b){logger[a43_0x54d10b(0x22e)](a43_0x54d10b(0x229)+a43_0xa9e76b[a43_0x54d10b(0x23d)]);}process[a43_0x54d10b(0x1ff)][a43_0x54d10b(0x226)](a43_0x54d10b(0x1ef))&&(!process[a43_0x54d10b(0x1ff)][a43_0x54d10b(0x226)]('--opts')&&process['argv'][a43_0x54d10b(0x247)]('--no-opts'),!process[a43_0x54d10b(0x1ff)][a43_0x54d10b(0x226)]('--config')&&process[a43_0x54d10b(0x1ff)][a43_0x54d10b(0x247)]('--no-config'),!process['argv'][a43_0x54d10b(0x226)](a43_0x54d10b(0x208))&&process[a43_0x54d10b(0x1ff)][a43_0x54d10b(0x247)]('--no-package'));function a43_0x3148(_0x13a59d,_0xfc5c37){const _0x37120d=a43_0x3712();return a43_0x3148=function(_0x3148fa,_0x17bb31){_0x3148fa=_0x3148fa-0x1eb;let _0x22fc8f=_0x37120d[_0x3148fa];return _0x22fc8f;},a43_0x3148(_0x13a59d,_0xfc5c37);}const yargs=require('yargs'),Constants=require('./utils/constants'),PerformanceTester=require('../helpers/performance-tester'),logger=require(a43_0x54d10b(0x233))[a43_0x54d10b(0x235)];PerformanceTester[a43_0x54d10b(0x1fd)](),performance['mark'](a43_0x54d10b(0x253));const a43_0x45bd54={};function a43_0x3712(){const _0xf75ea5=['BOzzv','push','handler','wrap','HST','mocha/lib/cli/commands.js','parserConfiguration','../../ats/src/index','describe','1992BbSAAN','unlinkSync','NqWgP','integrations','sdk:setup-start','gZCay','CODECEPTJS','Wcxjg','usage:\x20$0\x20<command>\x20[args]','slice','./integrations/command','453652izblhZ','mocha','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','hpmrN','SDKTestSuccessful','framework','./playwright/command','STbHJ','MOCHA','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','jest','setBrowserStackAutomationDisable','hpDcg','PLAYWRIGHT','HELP','startMonitoring','mocha/lib/cli/run.js','argv','11PrmUgS','CUCUMBER','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','ats','format','1786IRxSfg','.local-not-set.json','281ZyhbAn','--package','isUndefined','ebicQ','Parsing\x20command\x20line\x20arguements','21649092HXcxRU','command','6VaQCSr','XOaOx','VzYCm','cucumber-js','mocha/lib/cli/cli.js','existsSync','exitCode','./mocha/command','perf_hooks','PehaA','NIGHTWATCH','GXSrT','./jest/command','usage','../helpers/helper','./codeceptjs/command','config','help','YLbYP','eNjVk','INFO','dot-notation','owBhT','globalException','includes','Qojer','showHelpOnFail','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','8271BQoHKJ','3441075KGDimT','vmUPE','nightwatch','debug','demandCommand','lKlEK','dGATO','alias','../helpers/logger','nPcZk','winstonLogger','11271652GhfbAI','error','JEST','VERSION','5716290hZUFZI','HYOsB','codeceptjs','message','./nightwatch/command','30LpQScH','rhlgz','join','version','path','KlvVq','WrjOS'];a43_0x3712=function(){return _0xf75ea5;};return a43_0x3712();}a43_0x45bd54[a43_0x54d10b(0x223)]=![];const argv=yargs[a43_0x54d10b(0x24c)](a43_0x45bd54)[a43_0x54d10b(0x21b)](a43_0x54d10b(0x1eb))[a43_0x54d10b(0x232)]('v',a43_0x54d10b(0x242))[a43_0x54d10b(0x24e)]('v')[a43_0x54d10b(0x232)]('h',a43_0x54d10b(0x21f))[a43_0x54d10b(0x21f)](a43_0x54d10b(0x21f))[a43_0x54d10b(0x228)](!![],Constants[a43_0x54d10b(0x239)][a43_0x54d10b(0x1fc)])[a43_0x54d10b(0x20d)](a43_0x54d10b(0x1f8),Constants[a43_0x54d10b(0x238)][a43_0x54d10b(0x222)],function(_0x3182a5){const _0x5ed2df=a43_0x54d10b,_0x32e985={'SqkeW':function(_0x239ac1,_0x3793fb,_0x1e0b9c,_0x245d3f){return _0x239ac1(_0x3793fb,_0x1e0b9c,_0x245d3f);},'rhlgz':function(_0x75488f,_0x408a9f){return _0x75488f(_0x408a9f);},'omJkO':_0x5ed2df(0x21a)};helper['setTestObservabilityDisable'](),helper[_0x5ed2df(0x1f9)]();const _0x25d23c=process[_0x5ed2df(0x1ff)]['slice'](0x2);return _0x32e985['SqkeW'](captureError,_0x32e985[_0x5ed2df(0x240)](require,_0x32e985['omJkO']),_0x3182a5[_0x5ed2df(0x1ff)],_0x25d23c);})['command']('mocha',Constants[a43_0x54d10b(0x1f6)][a43_0x54d10b(0x222)],_0x45de60=>{const _0x45d6e7=a43_0x54d10b,_0x1a2fca={'jjneD':function(_0x394122,_0x409dc1,_0x2bff14){return _0x394122(_0x409dc1,_0x2bff14);},'nSbIF':function(_0x46df56,_0x1a82f3){return _0x46df56(_0x1a82f3);},'lKlEK':_0x45d6e7(0x215),'ELZRq':_0x45d6e7(0x20b),'NqWgP':function(_0x47f4dc,_0x254c30){return _0x47f4dc(_0x254c30);},'Wcxjg':_0x45d6e7(0x1fe),'dGATO':function(_0x32c4d0,_0x1480f1){return _0x32c4d0(_0x1480f1);},'VzYCm':_0x45d6e7(0x24b),'XOaOx':_0x45d6e7(0x212),'nPcZk':function(_0x5924c6){return _0x5924c6();}};logger[_0x45d6e7(0x22e)](_0x1a2fca['ELZRq']);const _0x7e40d8=_0x1a2fca[_0x45d6e7(0x251)](requireModule,_0x1a2fca[_0x45d6e7(0x256)]),_0x8ccbfa=_0x1a2fca['dGATO'](requireModule,_0x1a2fca[_0x45d6e7(0x210)]);process[_0x45d6e7(0x1ff)]=process[_0x45d6e7(0x1ff)][_0x45d6e7(0x1ec)](0x1),delete _0x7e40d8['handler'],_0x7e40d8[_0x45d6e7(0x248)]=function(_0x544011){const _0x417cfe=_0x45d6e7;return _0x1a2fca['jjneD'](captureError,_0x1a2fca['nSbIF'](require,_0x1a2fca[_0x417cfe(0x230)]),_0x544011);},_0x8ccbfa['run']=_0x7e40d8;const {main:_0x467d82}=_0x1a2fca[_0x45d6e7(0x231)](requireModule,_0x1a2fca[_0x45d6e7(0x20f)]);_0x1a2fca[_0x45d6e7(0x234)](_0x467d82);})[a43_0x54d10b(0x20d)](a43_0x54d10b(0x211),Constants[a43_0x54d10b(0x201)]['INFO'],function(_0x325cb0){const _0x5443d7=a43_0x54d10b,_0x252bdd={'eNjVk':function(_0x8201d4,_0xd87eee,_0x359ee0,_0x33170f){return _0x8201d4(_0xd87eee,_0x359ee0,_0x33170f);},'owBhT':function(_0x59fc49,_0x444604){return _0x59fc49(_0x444604);},'GXSrT':'./cucumber-js/command'},_0x3ccd12=process['argv']['slice'](0x2);return _0x252bdd[_0x5443d7(0x221)](captureError,_0x252bdd[_0x5443d7(0x224)](require,_0x252bdd[_0x5443d7(0x219)]),_0x325cb0[_0x5443d7(0x1ff)],_0x3ccd12);})[a43_0x54d10b(0x20d)]('node',Constants['VANILLA'][a43_0x54d10b(0x222)],function(_0x5b102b){const _0x375e99=a43_0x54d10b,_0x31c0d4={'WrjOS':function(_0x21e1c3,_0x5b8edd,_0x2f2b9c,_0x1fa205){return _0x21e1c3(_0x5b8edd,_0x2f2b9c,_0x1fa205);},'YLbYP':function(_0x504c1a,_0x3c7043){return _0x504c1a(_0x3c7043);},'WHMHq':'./vanilla-js/command'},_0x32c762=process['argv']['slice'](0x2);return _0x31c0d4[_0x375e99(0x245)](captureError,_0x31c0d4[_0x375e99(0x220)](require,_0x31c0d4['WHMHq']),_0x5b102b['argv'],_0x32c762);})[a43_0x54d10b(0x20d)](a43_0x54d10b(0x22d),Constants[a43_0x54d10b(0x218)][a43_0x54d10b(0x222)],function(_0xc409c4){const _0x563983=a43_0x54d10b,_0x4fd8bc={'pgmfb':function(_0x3aab78,_0x24c701,_0x1048b6,_0x40061a){return _0x3aab78(_0x24c701,_0x1048b6,_0x40061a);},'Qojer':function(_0x237584,_0x43a972){return _0x237584(_0x43a972);},'hpmrN':_0x563983(0x23e)},_0x3da46a=process[_0x563983(0x1ff)][_0x563983(0x1ec)](0x2);return _0x4fd8bc['pgmfb'](captureError,_0x4fd8bc[_0x563983(0x227)](require,_0x4fd8bc[_0x563983(0x1f1)]),_0xc409c4[_0x563983(0x1ff)],_0x3da46a);})[a43_0x54d10b(0x20d)](a43_0x54d10b(0x23c),Constants[a43_0x54d10b(0x255)][a43_0x54d10b(0x222)],function(_0x5f1348){const _0x3c0645=a43_0x54d10b,_0x3c2792={'EDoiG':function(_0x972e8c,_0x73c93c,_0x391fdf,_0xd60297){return _0x972e8c(_0x73c93c,_0x391fdf,_0xd60297);},'HYOsB':function(_0x18e7b9,_0x48b99c){return _0x18e7b9(_0x48b99c);},'STbHJ':_0x3c0645(0x21d)},_0x3b8cbc=process[_0x3c0645(0x1ff)][_0x3c0645(0x1ec)](0x2);return _0x3c2792['EDoiG'](captureError,_0x3c2792[_0x3c0645(0x23b)](require,_0x3c2792[_0x3c0645(0x1f5)]),_0x5f1348[_0x3c0645(0x1ff)],_0x3b8cbc);})['command']('ats',Constants[a43_0x54d10b(0x24a)][a43_0x54d10b(0x222)],function(_0x192eb0){const _0x24ef25=a43_0x54d10b,_0x2643a6={'qpIGR':function(_0x56342d,_0xb00a98,_0x1b7fcb){return _0x56342d(_0xb00a98,_0x1b7fcb);},'KlvVq':function(_0x4343ac,_0x1d000e){return _0x4343ac(_0x1d000e);},'vmUPE':_0x24ef25(0x24d)},_0x3956e8=process[_0x24ef25(0x1ff)]['slice'](0x2);return _0x2643a6['qpIGR'](captureError,_0x2643a6[_0x24ef25(0x244)](require,_0x2643a6[_0x24ef25(0x22c)]),_0x192eb0);})[a43_0x54d10b(0x20d)](a43_0x54d10b(0x252),Constants['INTEGRATIONS'][a43_0x54d10b(0x222)],function(_0x42bdac){const _0x1635b4=a43_0x54d10b,_0x203ec4={'hpDcg':function(_0x4eab32,_0x73223f){return _0x4eab32(_0x73223f);}};return _0x203ec4[_0x1635b4(0x1fa)](runIntegrations,_0x42bdac);})[a43_0x54d10b(0x20d)]('playwright',Constants[a43_0x54d10b(0x1fb)]['INFO'],function(_0x3d2ef2){const _0x5bc255=a43_0x54d10b,_0x46c4bc={'PehaA':function(_0x512cb6,_0x261831,_0x2995b8,_0x1e321c){return _0x512cb6(_0x261831,_0x2995b8,_0x1e321c);},'ebicQ':function(_0x37e859,_0x8da9a9){return _0x37e859(_0x8da9a9);},'BOzzv':_0x5bc255(0x1f4)},_0x55006c=process[_0x5bc255(0x1ff)]['slice'](0x2);return _0x46c4bc[_0x5bc255(0x217)](captureError,_0x46c4bc[_0x5bc255(0x20a)](require,_0x46c4bc[_0x5bc255(0x246)]),_0x3d2ef2[_0x5bc255(0x1ff)],_0x55006c);})[a43_0x54d10b(0x22f)](0x1,a43_0x54d10b(0x1f7))[a43_0x54d10b(0x249)](null)[a43_0x54d10b(0x1ff)];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a43_0x54d10b(0x203)&&console['error'](a43_0x54d10b(0x1f0));
package/src/bin/setup.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const a43_0x272fa3=a43_0x5ac0;(function(_0x526233,_0x3d9428){const _0x5582c2=a43_0x5ac0,_0x5f1a13=_0x526233();while(!![]){try{const _0x4f8e20=-parseInt(_0x5582c2(0x1c1))/0x1*(parseInt(_0x5582c2(0x1d4))/0x2)+-parseInt(_0x5582c2(0x1f4))/0x3*(parseInt(_0x5582c2(0x1ee))/0x4)+parseInt(_0x5582c2(0x1e5))/0x5+-parseInt(_0x5582c2(0x1af))/0x6+parseInt(_0x5582c2(0x1e6))/0x7+-parseInt(_0x5582c2(0x1c8))/0x8*(-parseInt(_0x5582c2(0x1cf))/0x9)+-parseInt(_0x5582c2(0x1c4))/0xa;if(_0x4f8e20===_0x3d9428)break;else _0x5f1a13['push'](_0x5f1a13['shift']());}catch(_0x3cc919){_0x5f1a13['push'](_0x5f1a13['shift']());}}}(a43_0x45c3,0xcbca5));function a43_0x45c3(){const _0x5a3fb1=['browserstack-node-sdk\x20','uixdt','includes','55305LXkrRV','-browserstack','uuyzL','splice','pUEBW','275524ufCYVE','Setup\x20completed','asAzE','KoaGX','stringify','Vsqgg','length','YOUR_ACCESS_KEY','playwright','mocha','xOVOL','/../../browserstack.yml.sample','node','isUndefined','browserstack-node-sdk','indexOf','readFileSync','6118640zHflfk','10327191LEqcFZ','nightwatch','entries','JrcYd','cucumber-js','argv','split','emZWr','4lcktbq','postinstall','Adding\x20new\x20script(s)\x20in\x20package.json...','/package.json','UKUNR','SDKSetup','4897119WrzuPn','jest','VDMqD','info','hMxlk','source','cwd','2605740QuTlvZ','MGlns','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','utf8','../helpers/logger','username','../helpers/helper','js-yaml','debug','naCPT','push','replace','YOUR_USERNAME','\x20&&\x20npm\x20update\x20browserstack-node-sdk','/../../browserstack.pw.yml.sample','winstonLogger','TfDBE','writeFileSync','9cjNmcZ','key','vrtNQ','2108000AcKBPy','parse','fireFunnelTestEvent','yargs','2152elwjSc','error','node-setup','scripts'];a43_0x45c3=function(){return _0x5a3fb1;};return a43_0x45c3();}const fs=require('fs'),helper=require(a43_0x272fa3(0x1b5)),yaml=require(a43_0x272fa3(0x1b6)),yargs=require(a43_0x272fa3(0x1c7)),logger=require(a43_0x272fa3(0x1b3))[a43_0x272fa3(0x1be)],configFileTemplate=__dirname+a43_0x272fa3(0x1df),configFileTemplatePW=__dirname+a43_0x272fa3(0x1bd),configFile=process['cwd']()+'/browserstack.yml',packageFile=process[a43_0x272fa3(0x1ae)]()+a43_0x272fa3(0x1f1),frameworks=[a43_0x272fa3(0x1dd),a43_0x272fa3(0x1f5),a43_0x272fa3(0x1ea),a43_0x272fa3(0x1e0),a43_0x272fa3(0x1e7),'codeceptjs','playwright'];let config;logger[a43_0x272fa3(0x1ab)]('Creating\x20configuration\x20file...'),createConfigurationFile(yargs[a43_0x272fa3(0x1eb)][a43_0x272fa3(0x1b4)],yargs[a43_0x272fa3(0x1eb)][a43_0x272fa3(0x1c2)],yargs[a43_0x272fa3(0x1eb)][a43_0x272fa3(0x1dc)]);try{sdkSetup();}catch(a43_0x332726){logger[a43_0x272fa3(0x1b7)](a43_0x272fa3(0x1b1)+a43_0x332726);}addScriptInPackageJson();function createConfigurationFile(_0x463648,_0x335fc8,_0x4de6ad=![]){const _0x4d0383=a43_0x272fa3,_0x5ed41d={};_0x5ed41d[_0x4d0383(0x1cd)]=_0x4d0383(0x1b2),_0x5ed41d[_0x4d0383(0x1d1)]=_0x4d0383(0x1bb),_0x5ed41d[_0x4d0383(0x1d9)]=_0x4d0383(0x1db);const _0x2b2a0b=_0x5ed41d;try{let _0x58e694=fs[_0x4d0383(0x1e4)](_0x4de6ad?configFileTemplatePW:configFileTemplate,_0x2b2a0b[_0x4d0383(0x1cd)]);_0x463648&&(_0x58e694=_0x58e694[_0x4d0383(0x1ba)](_0x2b2a0b[_0x4d0383(0x1d1)],_0x463648)),_0x335fc8&&(_0x58e694=_0x58e694[_0x4d0383(0x1ba)](_0x2b2a0b[_0x4d0383(0x1d9)],_0x335fc8)),config=yaml['load'](_0x58e694),fs[_0x4d0383(0x1c0)](configFile,_0x58e694,_0x2ea697=>{const _0x11bb17=_0x4d0383;_0x2ea697&&logger[_0x11bb17(0x1c9)](_0x2ea697);});}catch(_0x3971a9){logger['error'](_0x3971a9);}}function a43_0x5ac0(_0xed62de,_0x5f22e4){const _0x45c38a=a43_0x45c3();return a43_0x5ac0=function(_0x5ac066,_0x4b6647){_0x5ac066=_0x5ac066-0x1ab;let _0x5ae26b=_0x45c38a[_0x5ac066];return _0x5ae26b;},a43_0x5ac0(_0xed62de,_0x5f22e4);}function addPostInstallScript(_0x5d1283,_0x2821e4){const _0x24205f=a43_0x272fa3,_0x23d74d={};_0x23d74d[_0x24205f(0x1b0)]=_0x24205f(0x1ef),_0x23d74d[_0x24205f(0x1f6)]='npm\x20update\x20browserstack-node-sdk',_0x23d74d['hMxlk']=_0x24205f(0x1bc);const _0x32193c=_0x23d74d;let _0xec7d6f=_0x5d1283[_0x32193c[_0x24205f(0x1b0)]];if(_0xec7d6f&&_0xec7d6f[_0x24205f(0x1ce)](_0x32193c[_0x24205f(0x1f6)]))return;!_0xec7d6f?_0xec7d6f=_0x32193c[_0x24205f(0x1f6)]:_0xec7d6f+=_0x32193c[_0x24205f(0x1ac)],_0x2821e4[_0x24205f(0x1b9)]([_0x32193c['MGlns'],_0xec7d6f]);}function addScriptInPackageJson(){const _0x18b6bf=a43_0x272fa3,_0x2eba4e={'dPGiu':_0x18b6bf(0x1b2),'vrtNQ':function(_0x429025,_0x27de62){return _0x429025<_0x27de62;},'pUEBW':function(_0xf07c4f,_0x52cc3b,_0x2345cb){return _0xf07c4f(_0x52cc3b,_0x2345cb);},'WDglP':function(_0x2e1cc5,_0x4f8ffd,_0x924809){return _0x2e1cc5(_0x4f8ffd,_0x924809);},'UKUNR':function(_0x304f8a,_0x36e08f){return _0x304f8a!==_0x36e08f;},'naCPT':_0x18b6bf(0x1f0)},_0x109649=JSON[_0x18b6bf(0x1c5)](fs[_0x18b6bf(0x1e4)](packageFile,_0x2eba4e['dPGiu'])),_0x5d6371=[];for(let _0x501103=0x0;_0x2eba4e[_0x18b6bf(0x1c3)](_0x501103,frameworks['length']);_0x501103+=0x1){const _0x30a71e=_0x2eba4e[_0x18b6bf(0x1d3)](findScriptsWithFramework,_0x109649['scripts'],frameworks[_0x501103]);for(let _0x4b04cf=0x0;_0x2eba4e[_0x18b6bf(0x1c3)](_0x4b04cf,_0x30a71e[_0x18b6bf(0x1da)]);_0x4b04cf+=0x1){_0x5d6371['push'](_0x2eba4e['WDglP'](getUpdatedCommand,_0x109649['scripts'],_0x30a71e[_0x4b04cf]));}_0x2eba4e[_0x18b6bf(0x1d3)](addPostInstallScript,_0x109649[_0x18b6bf(0x1cb)],_0x5d6371);}const _0x1e5eb6={..._0x109649['scripts']},_0x55b398=_0x1e5eb6;for(let _0x5098e0=0x0;_0x2eba4e[_0x18b6bf(0x1c3)](_0x5098e0,_0x5d6371[_0x18b6bf(0x1da)]);_0x5098e0+=0x1){_0x55b398[_0x5d6371[_0x5098e0][0x0]]=_0x5d6371[_0x5098e0][0x1];}_0x2eba4e[_0x18b6bf(0x1f2)](JSON['stringify'](_0x109649['scripts']),JSON['stringify'](_0x55b398))&&(logger[_0x18b6bf(0x1ab)](_0x2eba4e[_0x18b6bf(0x1b8)]),_0x109649[_0x18b6bf(0x1cb)]=_0x55b398,fs['writeFileSync'](packageFile,JSON[_0x18b6bf(0x1d8)](_0x109649,null,0x2),_0x3202c6=>{const _0x5e0540=_0x18b6bf;_0x3202c6&&logger[_0x5e0540(0x1c9)](_0x3202c6);}));};function findScriptsWithFramework(_0x4d8b70,_0x49e055){const _0x1431c2=a43_0x272fa3,_0x170fdf={};_0x170fdf[_0x1431c2(0x1d6)]=function(_0x24b032,_0x5b59fe){return _0x24b032<_0x5b59fe;},_0x170fdf[_0x1431c2(0x1ed)]=_0x1431c2(0x1e2);const _0x1bc19a=_0x170fdf,_0x55d800=[],_0x5b3731=Object[_0x1431c2(0x1e8)](_0x4d8b70);for(let _0x59f167=0x0;_0x1bc19a['asAzE'](_0x59f167,_0x5b3731[_0x1431c2(0x1da)]);_0x59f167+=0x1){_0x5b3731[_0x59f167][0x1][_0x1431c2(0x1ce)](_0x49e055)&&!_0x5b3731[_0x59f167][0x1]['includes'](_0x1bc19a[_0x1431c2(0x1ed)])&&_0x55d800['push'](_0x5b3731[_0x59f167][0x0]);}return _0x55d800;}function getUpdatedCommand(_0x35272d,_0x39415b){const _0x48f7e8=a43_0x272fa3,_0x7173e7={};_0x7173e7['Ybkas']=function(_0x5e5538,_0x3e42f7){return _0x5e5538!==_0x3e42f7;},_0x7173e7[_0x48f7e8(0x1de)]=_0x48f7e8(0x1e2),_0x7173e7['JrcYd']=function(_0x1480f8,_0x3430da){return _0x1480f8===_0x3430da;};const _0x2de8ea=_0x7173e7,_0x1d3189=_0x39415b+_0x48f7e8(0x1d0),_0x414c13=_0x35272d[_0x39415b],_0x45ec40=_0x414c13[_0x48f7e8(0x1ec)]('\x20');for(const _0x3ee4fb of frameworks){if(_0x2de8ea['Ybkas'](_0x45ec40[_0x48f7e8(0x1e3)](_0x3ee4fb),-0x1)){_0x45ec40[_0x48f7e8(0x1d2)](_0x45ec40['indexOf'](_0x3ee4fb),0x0,_0x2de8ea[_0x48f7e8(0x1de)]);break;}}let _0x206589=_0x45ec40['join']('\x20');return _0x2de8ea[_0x48f7e8(0x1e9)](_0x206589,_0x414c13)&&(_0x206589=_0x48f7e8(0x1cc)+_0x414c13),[_0x1d3189,_0x206589];}function sdkSetup(){const _0x2c504a=a43_0x272fa3,_0x2e48db={};_0x2e48db[_0x2c504a(0x1bf)]=_0x2c504a(0x1ca),_0x2e48db[_0x2c504a(0x1d7)]=_0x2c504a(0x1f3);const _0x141fb3=_0x2e48db;if(helper[_0x2c504a(0x1e1)](config))return;config[_0x2c504a(0x1ad)]=_0x141fb3['TfDBE'];try{helper[_0x2c504a(0x1c6)](_0x141fb3['KoaGX'],{},config,'');}catch(_0x1ac9f2){logger[_0x2c504a(0x1b7)](_0x2c504a(0x1b1)+_0x1ac9f2);}}logger[a43_0x272fa3(0x1ab)](a43_0x272fa3(0x1d5));
3
+ function a44_0x5cf1(_0x311e97,_0x278042){const _0x1bd079=a44_0x1bd0();return a44_0x5cf1=function(_0x5cf11d,_0x3729cb){_0x5cf11d=_0x5cf11d-0x130;let _0x323719=_0x1bd079[_0x5cf11d];return _0x323719;},a44_0x5cf1(_0x311e97,_0x278042);}const a44_0x28752b=a44_0x5cf1;(function(_0x3a35af,_0x21bb51){const _0x25286c=a44_0x5cf1,_0x435593=_0x3a35af();while(!![]){try{const _0x20dc27=parseInt(_0x25286c(0x15f))/0x1*(-parseInt(_0x25286c(0x158))/0x2)+parseInt(_0x25286c(0x157))/0x3+-parseInt(_0x25286c(0x154))/0x4+parseInt(_0x25286c(0x13d))/0x5*(parseInt(_0x25286c(0x149))/0x6)+-parseInt(_0x25286c(0x16f))/0x7+parseInt(_0x25286c(0x16d))/0x8*(parseInt(_0x25286c(0x177))/0x9)+parseInt(_0x25286c(0x15d))/0xa;if(_0x20dc27===_0x21bb51)break;else _0x435593['push'](_0x435593['shift']());}catch(_0x1b32d5){_0x435593['push'](_0x435593['shift']());}}}(a44_0x1bd0,0x2bec3));const fs=require('fs'),helper=require('../helpers/helper'),yaml=require(a44_0x28752b(0x144)),yargs=require('yargs'),logger=require(a44_0x28752b(0x143))['winstonLogger'],configFileTemplate=__dirname+a44_0x28752b(0x140),configFileTemplatePW=__dirname+a44_0x28752b(0x13f),configFile=process[a44_0x28752b(0x134)]()+'/browserstack.yml',packageFile=process[a44_0x28752b(0x134)]()+a44_0x28752b(0x160),frameworks=[a44_0x28752b(0x15b),a44_0x28752b(0x14e),a44_0x28752b(0x156),a44_0x28752b(0x168),a44_0x28752b(0x137),a44_0x28752b(0x14d),a44_0x28752b(0x152)];let config;logger[a44_0x28752b(0x14b)](a44_0x28752b(0x16c)),createConfigurationFile(yargs['argv']['username'],yargs[a44_0x28752b(0x172)]['key'],yargs[a44_0x28752b(0x172)][a44_0x28752b(0x152)]);try{sdkSetup();}catch(a44_0x45eca1){logger['debug'](a44_0x28752b(0x166)+a44_0x45eca1);}addScriptInPackageJson();function createConfigurationFile(_0x229fe3,_0x39274d,_0x46c030=![]){const _0x1f98ef=a44_0x28752b,_0x57ba78={};_0x57ba78[_0x1f98ef(0x15e)]=_0x1f98ef(0x132),_0x57ba78['pVvLs']='YOUR_USERNAME',_0x57ba78[_0x1f98ef(0x14c)]='YOUR_ACCESS_KEY';const _0x57faba=_0x57ba78;try{let _0x1bc06e=fs[_0x1f98ef(0x171)](_0x46c030?configFileTemplatePW:configFileTemplate,_0x57faba[_0x1f98ef(0x15e)]);_0x229fe3&&(_0x1bc06e=_0x1bc06e[_0x1f98ef(0x173)](_0x57faba[_0x1f98ef(0x14f)],_0x229fe3)),_0x39274d&&(_0x1bc06e=_0x1bc06e[_0x1f98ef(0x173)](_0x57faba[_0x1f98ef(0x14c)],_0x39274d)),config=yaml[_0x1f98ef(0x136)](_0x1bc06e),fs['writeFileSync'](configFile,_0x1bc06e,_0x17a78d=>{_0x17a78d&&logger['error'](_0x17a78d);});}catch(_0x57e076){logger['error'](_0x57e076);}}function addPostInstallScript(_0x152889,_0x505987){const _0xc8a014=a44_0x28752b,_0x4f8d73={};_0x4f8d73[_0xc8a014(0x131)]=_0xc8a014(0x13c),_0x4f8d73[_0xc8a014(0x153)]='npm\x20update\x20browserstack-node-sdk',_0x4f8d73[_0xc8a014(0x175)]='\x20&&\x20npm\x20update\x20browserstack-node-sdk';const _0x4fe601=_0x4f8d73;let _0x1bf481=_0x152889[_0x4fe601['pbqAc']];if(_0x1bf481&&_0x1bf481[_0xc8a014(0x139)](_0x4fe601[_0xc8a014(0x153)]))return;!_0x1bf481?_0x1bf481=_0x4fe601[_0xc8a014(0x153)]:_0x1bf481+=_0x4fe601[_0xc8a014(0x175)],_0x505987[_0xc8a014(0x163)]([_0x4fe601[_0xc8a014(0x131)],_0x1bf481]);}function addScriptInPackageJson(){const _0x119687=a44_0x28752b,_0x4efcd9={'iTcxu':_0x119687(0x132),'YIjTm':function(_0x5a606e,_0x3f9f9c){return _0x5a606e<_0x3f9f9c;},'cQUNs':function(_0x12a134,_0x49fe52,_0x261b64){return _0x12a134(_0x49fe52,_0x261b64);},'kOuYV':function(_0x314ae7,_0x58fb70){return _0x314ae7<_0x58fb70;},'xhVSI':function(_0x5e7c26,_0x5f3404,_0x109ffa){return _0x5e7c26(_0x5f3404,_0x109ffa);},'dIyOZ':function(_0x3e3cd6,_0x362716,_0x2b909c){return _0x3e3cd6(_0x362716,_0x2b909c);},'dAcDi':function(_0x3fc9d3,_0x3f5271){return _0x3fc9d3!==_0x3f5271;},'NGcTd':_0x119687(0x151)},_0x480bdc=JSON[_0x119687(0x162)](fs[_0x119687(0x171)](packageFile,_0x4efcd9[_0x119687(0x142)])),_0x1c9016=[];for(let _0x32f65e=0x0;_0x4efcd9[_0x119687(0x147)](_0x32f65e,frameworks[_0x119687(0x161)]);_0x32f65e+=0x1){const _0x43b94e=_0x4efcd9[_0x119687(0x146)](findScriptsWithFramework,_0x480bdc[_0x119687(0x164)],frameworks[_0x32f65e]);for(let _0x3f49ab=0x0;_0x4efcd9[_0x119687(0x138)](_0x3f49ab,_0x43b94e['length']);_0x3f49ab+=0x1){_0x1c9016[_0x119687(0x163)](_0x4efcd9[_0x119687(0x133)](getUpdatedCommand,_0x480bdc[_0x119687(0x164)],_0x43b94e[_0x3f49ab]));}_0x4efcd9['dIyOZ'](addPostInstallScript,_0x480bdc[_0x119687(0x164)],_0x1c9016);}const _0x56a25f={..._0x480bdc['scripts']},_0x5f2e8a=_0x56a25f;for(let _0x587220=0x0;_0x4efcd9[_0x119687(0x138)](_0x587220,_0x1c9016[_0x119687(0x161)]);_0x587220+=0x1){_0x5f2e8a[_0x1c9016[_0x587220][0x0]]=_0x1c9016[_0x587220][0x1];}_0x4efcd9[_0x119687(0x15c)](JSON[_0x119687(0x170)](_0x480bdc[_0x119687(0x164)]),JSON[_0x119687(0x170)](_0x5f2e8a))&&(logger[_0x119687(0x14b)](_0x4efcd9['NGcTd']),_0x480bdc[_0x119687(0x164)]=_0x5f2e8a,fs[_0x119687(0x16b)](packageFile,JSON['stringify'](_0x480bdc,null,0x2),_0x29cb1d=>{const _0x1db37=_0x119687;_0x29cb1d&&logger[_0x1db37(0x15a)](_0x29cb1d);}));};function findScriptsWithFramework(_0x2ef29b,_0x2265a5){const _0x4124a0=a44_0x28752b,_0x419b25={};_0x419b25[_0x4124a0(0x16e)]=function(_0x3ef9c3,_0x11f425){return _0x3ef9c3<_0x11f425;},_0x419b25['mvhlu']='browserstack-node-sdk';const _0x5849a0=_0x419b25,_0x228274=[],_0x26f047=Object[_0x4124a0(0x169)](_0x2ef29b);for(let _0x4d33de=0x0;_0x5849a0['EnNOW'](_0x4d33de,_0x26f047[_0x4124a0(0x161)]);_0x4d33de+=0x1){_0x26f047[_0x4d33de][0x1][_0x4124a0(0x139)](_0x2265a5)&&!_0x26f047[_0x4d33de][0x1]['includes'](_0x5849a0[_0x4124a0(0x150)])&&_0x228274[_0x4124a0(0x163)](_0x26f047[_0x4d33de][0x0]);}return _0x228274;}function getUpdatedCommand(_0x572b37,_0x252a7){const _0x5d4a71=a44_0x28752b,_0x5251b5={};_0x5251b5[_0x5d4a71(0x14a)]=function(_0x194238,_0x2c2c97){return _0x194238!==_0x2c2c97;},_0x5251b5[_0x5d4a71(0x176)]='browserstack-node-sdk',_0x5251b5[_0x5d4a71(0x135)]=function(_0x3cf1ff,_0x393019){return _0x3cf1ff===_0x393019;};const _0x404bc0=_0x5251b5,_0x560f55=_0x252a7+_0x5d4a71(0x145),_0x633445=_0x572b37[_0x252a7],_0x419e8d=_0x633445[_0x5d4a71(0x159)]('\x20');for(const _0x55755d of frameworks){if(_0x404bc0[_0x5d4a71(0x14a)](_0x419e8d[_0x5d4a71(0x13e)](_0x55755d),-0x1)){_0x419e8d[_0x5d4a71(0x16a)](_0x419e8d[_0x5d4a71(0x13e)](_0x55755d),0x0,_0x404bc0[_0x5d4a71(0x176)]);break;}}let _0x1e6ddd=_0x419e8d[_0x5d4a71(0x174)]('\x20');return _0x404bc0[_0x5d4a71(0x135)](_0x1e6ddd,_0x633445)&&(_0x1e6ddd=_0x5d4a71(0x148)+_0x633445),[_0x560f55,_0x1e6ddd];}function a44_0x1bd0(){const _0x1afdc6=['Creating\x20configuration\x20file...','4792uVSttN','EnNOW','1292683Wainwe','stringify','readFileSync','argv','replace','join','QrLZC','CxKlz','3942EpbCjI','SDKSetup','pbqAc','utf8','xhVSI','cwd','jbzyk','load','nightwatch','kOuYV','includes','debug','source','postinstall','1095585HJndcg','indexOf','/../../browserstack.pw.yml.sample','/../../browserstack.yml.sample','Uxpze','iTcxu','../helpers/logger','js-yaml','-browserstack','cQUNs','YIjTm','browserstack-node-sdk\x20','6diwWTD','KGDcm','info','GXyOY','codeceptjs','jest','pVvLs','mvhlu','Adding\x20new\x20script(s)\x20in\x20package.json...','playwright','nKHKA','321192vTBUoh','dhpEP','cucumber-js','312159jloqUk','52090UAhcnc','split','error','mocha','dAcDi','937470HgXywd','jjVQi','9hmGEcn','/package.json','length','parse','push','scripts','fireFunnelTestEvent','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','isUndefined','node','entries','splice','writeFileSync'];a44_0x1bd0=function(){return _0x1afdc6;};return a44_0x1bd0();}function sdkSetup(){const _0x5c8781=a44_0x28752b,_0x1c9370={};_0x1c9370[_0x5c8781(0x155)]='node-setup',_0x1c9370[_0x5c8781(0x141)]=_0x5c8781(0x130);const _0x4e7dc5=_0x1c9370;if(helper[_0x5c8781(0x167)](config))return;config[_0x5c8781(0x13b)]=_0x4e7dc5[_0x5c8781(0x155)];try{helper[_0x5c8781(0x165)](_0x4e7dc5[_0x5c8781(0x141)],{},config,'');}catch(_0x4e5396){logger[_0x5c8781(0x13a)](_0x5c8781(0x166)+_0x4e5396);}}logger[a44_0x28752b(0x14b)]('Setup\x20completed');