browserstack-node-sdk 1.34.15 → 1.34.17

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 (127) 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/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelper.js +1 -1
  104. package/src/helpers/patchHelpers.js +1 -1
  105. package/src/helpers/percy/Percy.js +1 -1
  106. package/src/helpers/percy/PercyBinary.js +1 -1
  107. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  108. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  109. package/src/helpers/percy/PercySDK.js +1 -1
  110. package/src/helpers/percy/index.js +1 -1
  111. package/src/helpers/percy/utils.js +1 -1
  112. package/src/helpers/performance-tester.js +1 -1
  113. package/src/helpers/request-spy.js +1 -1
  114. package/src/helpers/setKeepAlive.js +1 -1
  115. package/src/helpers/test-observability/constants.js +1 -1
  116. package/src/helpers/test-observability/error-handler.js +1 -1
  117. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  118. package/src/helpers/test-observability/sessionHandler.js +1 -1
  119. package/src/helpers/test-observability/utils.js +1 -1
  120. package/src/helpers/testhub/constants.js +1 -1
  121. package/src/helpers/testhub/testhubHandler.js +1 -1
  122. package/src/helpers/testhub/utils.js +1 -1
  123. package/src/helpers/timeoutPromise.js +1 -1
  124. package/src/helpers/utilities.js +1 -1
  125. package/src/helpers/w3cMapping.js +1 -1
  126. package/src/hubAllocationMethods.js +1 -1
  127. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a23_0x2d3242=a23_0x5752;(function(_0x1be1bb,_0x5479af){const _0x581743=a23_0x5752,_0x45a633=_0x1be1bb();while(!![]){try{const _0x1b08ff=parseInt(_0x581743(0x127))/0x1+parseInt(_0x581743(0x121))/0x2+parseInt(_0x581743(0x12e))/0x3*(parseInt(_0x581743(0x122))/0x4)+parseInt(_0x581743(0x118))/0x5*(parseInt(_0x581743(0x146))/0x6)+-parseInt(_0x581743(0x131))/0x7*(parseInt(_0x581743(0x11f))/0x8)+-parseInt(_0x581743(0x115))/0x9*(parseInt(_0x581743(0x13b))/0xa)+parseInt(_0x581743(0x10f))/0xb*(-parseInt(_0x581743(0x12c))/0xc);if(_0x1b08ff===_0x5479af)break;else _0x45a633['push'](_0x45a633['shift']());}catch(_0x3d7cba){_0x45a633['push'](_0x45a633['shift']());}}}(a23_0x4756,0xce231));function a23_0x4756(){const _0x596098=['35cCVGZX','mkdirSync','dirPath','../../../helpers/testhub/constants','stringify','getFilePath','env','_test','vfLDl','tests','20bElmwF','CTQZl','shutdown','setup','mARwe','getTestData','jest-o11y-','unlinkSync','rmSync','retry','BROWSERSTACK_TESTHUB_UUID','95280fhWJKh','uuid','writeFileSync','11ScaXJo','.json','existsSync','testData.json','ENV_VAR','TpNeP','3971817VZySLm','../../../helpers/helper','toString','130wYaSPa','homedir','JAHjU','.browserstack','recursive','WvUMA','parse','1861856flTWyT','setTestUUID','1392756wyZGSV','104NNwzMB','join','force','IUXho','removeTestUUID','1292780OEenaR','exports','yxIjm','getTestRunIdFromTestInfo','MmWNu','12392724LaCItM','setTestData','175536xSJaxR','path','getTestUUID'];a23_0x4756=function(){return _0x596098;};return a23_0x4756();}const fs=require('fs'),path=require(a23_0x2d3242(0x12f)),{v4:uuidv4}=require(a23_0x2d3242(0x147)),helper=require(a23_0x2d3242(0x116)),testHubConstants=require(a23_0x2d3242(0x134));function a23_0x5752(_0x45d780,_0x112e0d){const _0x475665=a23_0x4756();return a23_0x5752=function(_0x5752d7,_0xd08524){_0x5752d7=_0x5752d7-0x10f;let _0x5ea87d=_0x475665[_0x5752d7];return _0x5ea87d;},a23_0x5752(_0x45d780,_0x112e0d);}class TestDetails{static [a23_0x2d3242(0x13a)]={};static [a23_0x2d3242(0x133)]=path[a23_0x2d3242(0x123)](helper[a23_0x2d3242(0x119)](),a23_0x2d3242(0x11b),a23_0x2d3242(0x141)+process[a23_0x2d3242(0x137)][testHubConstants['ENV_VAR'][a23_0x2d3242(0x145)]]);static[a23_0x2d3242(0x13e)](){const _0x55040f=a23_0x2d3242,_0x3b5a14={};_0x3b5a14[_0x55040f(0x13f)]=_0x55040f(0x11b);const _0x18a847=_0x3b5a14;this[_0x55040f(0x133)]=path['join'](helper[_0x55040f(0x119)](),_0x18a847['mARwe'],_0x55040f(0x141)+process[_0x55040f(0x137)][testHubConstants[_0x55040f(0x113)][_0x55040f(0x145)]]),this[_0x55040f(0x13d)]();const _0x575bdb={};_0x575bdb[_0x55040f(0x11c)]=!![],fs[_0x55040f(0x132)](this[_0x55040f(0x133)],_0x575bdb);}static[a23_0x2d3242(0x136)](_0x192926){const _0x11fec8=a23_0x2d3242,_0x5c460b={};_0x5c460b[_0x11fec8(0x13c)]=function(_0x2fd8a3,_0x50ac72){return _0x2fd8a3+_0x50ac72;},_0x5c460b[_0x11fec8(0x139)]=_0x11fec8(0x110);const _0x547d9d=_0x5c460b;return path[_0x11fec8(0x123)](this['dirPath'],_0x547d9d[_0x11fec8(0x13c)](_0x192926,_0x547d9d[_0x11fec8(0x139)]));}static[a23_0x2d3242(0x12a)](_0x374a9b){const _0x4b02a1=a23_0x2d3242,_0x367817={};_0x367817['WvUMA']=function(_0x301882,_0x309e3d){return _0x301882+_0x309e3d;},_0x367817[_0x4b02a1(0x129)]=function(_0x4bca6d,_0x1d544f){return _0x4bca6d+_0x1d544f;},_0x367817[_0x4b02a1(0x11a)]=function(_0x4ba317,_0x41f563){return _0x4ba317+_0x41f563;};const _0x4d1917=_0x367817;return _0x4d1917[_0x4b02a1(0x11d)](_0x4d1917[_0x4b02a1(0x129)](_0x4d1917['JAHjU'](_0x4d1917[_0x4b02a1(0x129)](_0x374a9b[_0x4b02a1(0x138)]['_projectId'],'-'),_0x374a9b['_test']['id']),'-'),_0x374a9b[_0x4b02a1(0x144)]);}static[a23_0x2d3242(0x130)](_0x59d4dd){const _0x2f539e=a23_0x2d3242,_0x1f3577=this[_0x2f539e(0x136)](_0x59d4dd);if(fs[_0x2f539e(0x111)](_0x1f3577)){const _0x129f17=JSON[_0x2f539e(0x11e)](fs['readFileSync'](_0x1f3577)[_0x2f539e(0x117)]());return this[_0x2f539e(0x13a)][_0x59d4dd]=_0x129f17,this['tests'][_0x59d4dd][_0x2f539e(0x147)];}}static[a23_0x2d3242(0x12d)](_0x31ef99){const _0x2fe46e=a23_0x2d3242,_0x320d97={};_0x320d97['TpNeP']=_0x2fe46e(0x112);const _0xffbf5a=_0x320d97,_0x1a8d3b=path[_0x2fe46e(0x123)](this['dirPath'],_0xffbf5a[_0x2fe46e(0x114)]);fs[_0x2fe46e(0x148)](_0x1a8d3b,JSON['stringify'](_0x31ef99));}static[a23_0x2d3242(0x140)](){const _0x59cb69=a23_0x2d3242,_0x4ab8ae={};_0x4ab8ae['IUXho']=_0x59cb69(0x112);const _0x5d8180=_0x4ab8ae,_0x4d60c4=path['join'](this[_0x59cb69(0x133)],_0x5d8180[_0x59cb69(0x125)]);let _0x27a202={};try{return fs['existsSync'](_0x4d60c4)&&(_0x27a202=JSON[_0x59cb69(0x11e)](fs['readFileSync'](_0x4d60c4)['toString']())),_0x27a202;}catch(_0x1a9eaa){return _0x27a202;}}static[a23_0x2d3242(0x120)](_0x3c7c57){const _0x14fa79=a23_0x2d3242,_0xcb0cd6={'MmWNu':function(_0x41f334){return _0x41f334();}},_0x3ca457=this[_0x14fa79(0x136)](_0x3c7c57);return this['tests'][_0x3c7c57]={'uuid':_0xcb0cd6[_0x14fa79(0x12b)](uuidv4)},fs[_0x14fa79(0x148)](_0x3ca457,JSON[_0x14fa79(0x135)](this['tests'][_0x3c7c57])),this['tests'][_0x3c7c57][_0x14fa79(0x147)];}static[a23_0x2d3242(0x126)](_0x53f5cd){const _0x2840f2=a23_0x2d3242,_0x53b93e=this[_0x2840f2(0x136)](_0x53f5cd);fs[_0x2840f2(0x111)](_0x53b93e)&&fs[_0x2840f2(0x142)](_0x53b93e);}static['shutdown'](){const _0x95caf3=a23_0x2d3242,_0x2a95c0={};_0x2a95c0[_0x95caf3(0x11c)]=!![],_0x2a95c0[_0x95caf3(0x124)]=!![],fs[_0x95caf3(0x143)](this['dirPath'],_0x2a95c0);}}module[a23_0x2d3242(0x128)]=TestDetails;
1
+ function a23_0x3dee(){const _0x357646=['tests','force','_projectId','YItgk','VFUCo','YCQoZ','357375evAOdk','359628eYIpcI','893223UTlILM','949268VVPwFG','existsSync','getTestRunIdFromTestInfo','env','_test','setTestUUID','mkdirSync','parse','mOefI','recursive','../../../helpers/testhub/constants','shutdown','7YenYGX','writeFileSync','readFileSync','join','jest-o11y-','.browserstack','exports','BROWSERSTACK_TESTHUB_UUID','3495296DRivvt','stringify','rmSync','getTestUUID','getTestData','../../../helpers/helper','getFilePath','1845495DgMCLo','GuCPB','dirPath','VEjZY','esmHq','retry','toString','homedir','421046MvWdXh','removeTestUUID','ENV_VAR','.json','testData.json','uuid','setup'];a23_0x3dee=function(){return _0x357646;};return a23_0x3dee();}const a23_0x515f84=a23_0x3773;(function(_0x56f81b,_0x4a7e53){const _0x55f0f7=a23_0x3773,_0x179fdb=_0x56f81b();while(!![]){try{const _0x123464=parseInt(_0x55f0f7(0xa4))/0x1+-parseInt(_0x55f0f7(0x97))/0x2+parseInt(_0x55f0f7(0xa6))/0x3+-parseInt(_0x55f0f7(0xa7))/0x4+parseInt(_0x55f0f7(0xc2))/0x5+-parseInt(_0x55f0f7(0xa5))/0x6*(-parseInt(_0x55f0f7(0xb3))/0x7)+-parseInt(_0x55f0f7(0xbb))/0x8;if(_0x123464===_0x4a7e53)break;else _0x179fdb['push'](_0x179fdb['shift']());}catch(_0x3d5fe4){_0x179fdb['push'](_0x179fdb['shift']());}}}(a23_0x3dee,0x30ae9));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a23_0x515f84(0x9c)),helper=require(a23_0x515f84(0xc0)),testHubConstants=require(a23_0x515f84(0xb1));class TestDetails{static [a23_0x515f84(0x9e)]={};static [a23_0x515f84(0xc4)]=path[a23_0x515f84(0xb6)](helper[a23_0x515f84(0x96)](),a23_0x515f84(0xb8),a23_0x515f84(0xb7)+process[a23_0x515f84(0xaa)][testHubConstants[a23_0x515f84(0x99)]['BROWSERSTACK_TESTHUB_UUID']]);static[a23_0x515f84(0x9d)](){const _0xfdf528=a23_0x515f84,_0x1486eb={};_0x1486eb[_0xfdf528(0xc5)]=_0xfdf528(0xb8);const _0x38b409=_0x1486eb;this[_0xfdf528(0xc4)]=path[_0xfdf528(0xb6)](helper[_0xfdf528(0x96)](),_0x38b409[_0xfdf528(0xc5)],_0xfdf528(0xb7)+process[_0xfdf528(0xaa)][testHubConstants[_0xfdf528(0x99)][_0xfdf528(0xba)]]),this[_0xfdf528(0xb2)]();const _0x431c3b={};_0x431c3b['recursive']=!![],fs[_0xfdf528(0xad)](this[_0xfdf528(0xc4)],_0x431c3b);}static[a23_0x515f84(0xc1)](_0x5428d4){const _0xd463bb=a23_0x515f84,_0x380eb3={};_0x380eb3[_0xd463bb(0xaf)]=function(_0x27be17,_0x49807b){return _0x27be17+_0x49807b;},_0x380eb3[_0xd463bb(0xc6)]=_0xd463bb(0x9a);const _0x8b179e=_0x380eb3;return path[_0xd463bb(0xb6)](this[_0xd463bb(0xc4)],_0x8b179e[_0xd463bb(0xaf)](_0x5428d4,_0x8b179e['esmHq']));}static[a23_0x515f84(0xa9)](_0x4eed3f){const _0x1768ca=a23_0x515f84,_0x5925f1={};_0x5925f1[_0x1768ca(0xa1)]=function(_0x36f431,_0x36839e){return _0x36f431+_0x36839e;},_0x5925f1[_0x1768ca(0xc3)]=function(_0x38c480,_0x1a4d8f){return _0x38c480+_0x1a4d8f;};const _0x5d5ea=_0x5925f1;return _0x5d5ea[_0x1768ca(0xa1)](_0x5d5ea[_0x1768ca(0xa1)](_0x5d5ea['YItgk'](_0x5d5ea['GuCPB'](_0x4eed3f['_test'][_0x1768ca(0xa0)],'-'),_0x4eed3f[_0x1768ca(0xab)]['id']),'-'),_0x4eed3f[_0x1768ca(0x94)]);}static[a23_0x515f84(0xbe)](_0x2267a4){const _0x33f638=a23_0x515f84,_0x1f6cd0=this[_0x33f638(0xc1)](_0x2267a4);if(fs[_0x33f638(0xa8)](_0x1f6cd0)){const _0x164c03=JSON[_0x33f638(0xae)](fs['readFileSync'](_0x1f6cd0)[_0x33f638(0x95)]());return this[_0x33f638(0x9e)][_0x2267a4]=_0x164c03,this['tests'][_0x2267a4][_0x33f638(0x9c)];}}static['setTestData'](_0x39723f){const _0x3af34f=a23_0x515f84,_0x551ea2={};_0x551ea2[_0x3af34f(0xa3)]='testData.json';const _0x232b57=_0x551ea2,_0x408d41=path[_0x3af34f(0xb6)](this[_0x3af34f(0xc4)],_0x232b57[_0x3af34f(0xa3)]);fs[_0x3af34f(0xb4)](_0x408d41,JSON['stringify'](_0x39723f));}static[a23_0x515f84(0xbf)](){const _0x1ee5a2=a23_0x515f84,_0xeb6b5f={};_0xeb6b5f[_0x1ee5a2(0xa2)]=_0x1ee5a2(0x9b);const _0x419829=_0xeb6b5f,_0x5bf206=path[_0x1ee5a2(0xb6)](this[_0x1ee5a2(0xc4)],_0x419829[_0x1ee5a2(0xa2)]);let _0x3ea542={};try{return fs[_0x1ee5a2(0xa8)](_0x5bf206)&&(_0x3ea542=JSON[_0x1ee5a2(0xae)](fs[_0x1ee5a2(0xb5)](_0x5bf206)['toString']())),_0x3ea542;}catch(_0x3a7744){return _0x3ea542;}}static[a23_0x515f84(0xac)](_0x4b0a58){const _0x2490fc=a23_0x515f84,_0x384ca9={'FWVDE':function(_0x49ae2f){return _0x49ae2f();}},_0x478467=this['getFilePath'](_0x4b0a58);return this[_0x2490fc(0x9e)][_0x4b0a58]={'uuid':_0x384ca9['FWVDE'](uuidv4)},fs[_0x2490fc(0xb4)](_0x478467,JSON[_0x2490fc(0xbc)](this[_0x2490fc(0x9e)][_0x4b0a58])),this['tests'][_0x4b0a58][_0x2490fc(0x9c)];}static[a23_0x515f84(0x98)](_0x1d31d8){const _0x556ff6=this['getFilePath'](_0x1d31d8);fs['existsSync'](_0x556ff6)&&fs['unlinkSync'](_0x556ff6);}static[a23_0x515f84(0xb2)](){const _0x5713e7=a23_0x515f84,_0x396c87={};_0x396c87[_0x5713e7(0xb0)]=!![],_0x396c87[_0x5713e7(0x9f)]=!![],fs[_0x5713e7(0xbd)](this['dirPath'],_0x396c87);}}function a23_0x3773(_0x5b4aa4,_0xd83d0d){const _0x3dee07=a23_0x3dee();return a23_0x3773=function(_0x3773e3,_0x7fcf8f){_0x3773e3=_0x3773e3-0x94;let _0x20b9ac=_0x3dee07[_0x3773e3];return _0x20b9ac;},a23_0x3773(_0x5b4aa4,_0xd83d0d);}module[a23_0x515f84(0xb9)]=TestDetails;
@@ -1 +1 @@
1
- const a24_0x5430df=a24_0x2437;(function(_0x482c0b,_0xaceca1){const _0x3434d0=a24_0x2437,_0x2a4dbb=_0x482c0b();while(!![]){try{const _0x502c75=-parseInt(_0x3434d0(0xf5))/0x1+parseInt(_0x3434d0(0xf0))/0x2*(-parseInt(_0x3434d0(0xef))/0x3)+parseInt(_0x3434d0(0xf4))/0x4+-parseInt(_0x3434d0(0xf3))/0x5*(-parseInt(_0x3434d0(0xf9))/0x6)+parseInt(_0x3434d0(0xee))/0x7+parseInt(_0x3434d0(0xf7))/0x8+-parseInt(_0x3434d0(0xf2))/0x9;if(_0x502c75===_0xaceca1)break;else _0x2a4dbb['push'](_0x2a4dbb['shift']());}catch(_0x4dc764){_0x2a4dbb['push'](_0x2a4dbb['shift']());}}}(a24_0x1385,0x62542));const {requireModule}=require(a24_0x5430df(0xed));function a24_0x2437(_0x141456,_0x1291b8){const _0x13856d=a24_0x1385();return a24_0x2437=function(_0x2437aa,_0x1a27b3){_0x2437aa=_0x2437aa-0xed;let _0x28c6c1=_0x13856d[_0x2437aa];return _0x28c6c1;},a24_0x2437(_0x141456,_0x1291b8);}require(a24_0x5430df(0xf1))();const __wd__=requireModule('selenium-webdriver');for(const key of Object[a24_0x5430df(0xf6)](global[a24_0x5430df(0xf8)])){__wd__[key]=global[a24_0x5430df(0xf8)][key];}function a24_0x1385(){const _0x560320=['4608234zbncjM','7130VOfDVy','253720DcmIoo','607859DkGUVE','keys','5082584oloswK','__webdriver','2448yKywKf','../../helpers/helper','5553618boOJaY','1653888hQmuDz','2eCpSWZ','../../helpers/setKeepAlive'];a24_0x1385=function(){return _0x560320;};return a24_0x1385();}
1
+ const a24_0x146f16=a24_0x4c96;(function(_0x3ddce9,_0x3ecf61){const _0x22a7a2=a24_0x4c96,_0x44183d=_0x3ddce9();while(!![]){try{const _0xc5d071=-parseInt(_0x22a7a2(0xce))/0x1+parseInt(_0x22a7a2(0xcb))/0x2+parseInt(_0x22a7a2(0xcf))/0x3+-parseInt(_0x22a7a2(0xd1))/0x4*(parseInt(_0x22a7a2(0xd0))/0x5)+-parseInt(_0x22a7a2(0xc8))/0x6+parseInt(_0x22a7a2(0xd2))/0x7*(parseInt(_0x22a7a2(0xc9))/0x8)+parseInt(_0x22a7a2(0xcc))/0x9;if(_0xc5d071===_0x3ecf61)break;else _0x44183d['push'](_0x44183d['shift']());}catch(_0x397a65){_0x44183d['push'](_0x44183d['shift']());}}}(a24_0x4493,0xf0d3a));function a24_0x4c96(_0x99d365,_0x3ad93c){const _0x449386=a24_0x4493();return a24_0x4c96=function(_0x4c962f,_0x59eea4){_0x4c962f=_0x4c962f-0xc8;let _0x3e26f3=_0x449386[_0x4c962f];return _0x3e26f3;},a24_0x4c96(_0x99d365,_0x3ad93c);}const {requireModule}=require(a24_0x146f16(0xd3));require('../../helpers/setKeepAlive')();const __wd__=requireModule(a24_0x146f16(0xcd));function a24_0x4493(){const _0x44d9d5=['35uldEmD','628888YOzmXy','14DZNRjG','../../helpers/helper','1723146FhgFDb','2354728Gbnbnx','__webdriver','1246640eRdAyC','16988445FuJNRu','selenium-webdriver','1110756yWdFVX','1155960ubeGud'];a24_0x4493=function(){return _0x44d9d5;};return a24_0x4493();}for(const key of Object['keys'](global[a24_0x146f16(0xca)])){__wd__[key]=global[a24_0x146f16(0xca)][key];}
@@ -1 +1 @@
1
- const a25_0x5720c2=a25_0x1512;(function(_0x20e7b2,_0x4db340){const _0x1f3c47=a25_0x1512,_0xec9c7a=_0x20e7b2();while(!![]){try{const _0x5964f3=-parseInt(_0x1f3c47(0x197))/0x1*(-parseInt(_0x1f3c47(0x184))/0x2)+-parseInt(_0x1f3c47(0x172))/0x3+parseInt(_0x1f3c47(0x170))/0x4*(parseInt(_0x1f3c47(0x18f))/0x5)+parseInt(_0x1f3c47(0x188))/0x6*(-parseInt(_0x1f3c47(0x17c))/0x7)+parseInt(_0x1f3c47(0x171))/0x8+-parseInt(_0x1f3c47(0x196))/0x9+parseInt(_0x1f3c47(0x18c))/0xa;if(_0x5964f3===_0x4db340)break;else _0xec9c7a['push'](_0xec9c7a['shift']());}catch(_0x32edc7){_0xec9c7a['push'](_0xec9c7a['shift']());}}}(a25_0x3cd6,0x69122));function a25_0x1512(_0x1d0e9d,_0x7b984b){const _0x3cd6a1=a25_0x3cd6();return a25_0x1512=function(_0x151233,_0x294c93){_0x151233=_0x151233-0x16b;let _0x3548c7=_0x3cd6a1[_0x151233];return _0x3548c7;},a25_0x1512(_0x1d0e9d,_0x7b984b);}const path=require(a25_0x5720c2(0x16e)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x5720c2(0x191)),constants=require(a25_0x5720c2(0x18a)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require(a25_0x5720c2(0x17f)),{isTestObservabilitySession}=require(a25_0x5720c2(0x185)),helper=require(a25_0x5720c2(0x191)),{commandRepository}=require(a25_0x5720c2(0x17b));class Launcher{constructor(_0x4a9d7e,_0x3587dd,_0x2d768c,_0x14ea85=[]){const _0xc28036=a25_0x5720c2,_0x279c9f={'LJAlv':_0xc28036(0x173),'onfdf':function(_0x400e0e){return _0x400e0e();}},_0x459779=_0x279c9f[_0xc28036(0x192)][_0xc28036(0x17a)]('|');let _0x57ea09=0x0;while(!![]){switch(_0x459779[_0x57ea09++]){case'0':this[_0xc28036(0x176)]=_0x2d768c;continue;case'1':global[_0xc28036(0x175)]=0x0;continue;case'2':global['totalTests']=0x0;continue;case'3':this[_0xc28036(0x17e)]['framework']=_0x4a9d7e;continue;case'4':this[_0xc28036(0x17d)]=this['_configuration'][_0xc28036(0x190)];continue;case'5':global[_0xc28036(0x18d)]=0x0;continue;case'6':global[_0xc28036(0x178)]=0x0;continue;case'7':global[_0xc28036(0x189)]=0x0;continue;case'8':this[_0xc28036(0x17e)]=_0x3587dd[_0xc28036(0x16b)]||{};continue;case'9':global[_0xc28036(0x16c)]=0x0;continue;case'10':global[_0xc28036(0x180)]=0x0;continue;case'11':global[_0xc28036(0x183)]=this[_0xc28036(0x17e)][_0xc28036(0x186)]||{};continue;case'12':global[_0xc28036(0x187)]=this[_0xc28036(0x17e)][_0xc28036(0x18e)];continue;case'13':global[_0xc28036(0x16d)]=0x0;continue;case'14':this[_0xc28036(0x18b)]=_0x279c9f['onfdf'](isTestObservabilitySession);continue;case'15':this['_accessibilityAutomation']=_0x279c9f[_0xc28036(0x195)](isAccessibilityAutomationSession);continue;case'16':this[_0xc28036(0x193)]=_0x14ea85;continue;case'17':global[_0xc28036(0x174)]=0x0;continue;case'18':this['_framework']=_0x4a9d7e;continue;case'19':!constants['AI_ENABLED_FRAMEWORK']['includes'](_0x4a9d7e)&&(commandRepository['setConfig'](_0x2d768c),commandRepository[_0xc28036(0x179)](_0x4a9d7e));continue;case'20':this['_mochaOpts']=_0x3587dd[_0xc28036(0x181)];continue;case'21':global[_0xc28036(0x182)]=0x0;continue;case'22':global[_0xc28036(0x16f)]={};continue;case'23':this['_formatter']=_0x3587dd[_0xc28036(0x177)];continue;}break;}}['setupCucumber'](_0x522c7c,_0x469d13,_0x55f87c){const _0x2aba91=a25_0x5720c2,_0x5f3556=_0x522c7c[_0x2aba91(0x194)];_0x522c7c.resolvePaths=async function(){const pathResults=await _0x5f3556.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x55f87c));return pathResults;},_0x469d13.push('--format'),_0x469d13.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}function a25_0x3cd6(){const _0x1232a1=['__platform__','6takPmi','testsUnknown','../utils/constants','_testObservability','9464340XXYcdT','testsUndefined','platform','1539490AmFFvk','capability','../../helpers/helper','LJAlv','_argv','resolvePaths','onfdf','7741242LWiwRF','2787eItLYA','configuration','testsSkipped','testSuitesFailed','path','testsErrorMessage','8cApViq','2340784nxMVCk','1239081yrFUZH','18|8|3|20|23|4|12|16|0|14|15|11|17|2|10|21|1|9|13|5|7|6|22|19','testSuites','testsPending','_bsConfig','formatter','testsAmbiguous','setFramework','split','../../helpers/ai-sdk/autoHealHelper','2756334obQABK','_capability','_configuration','../../helpers/test-observability/requestQueueHandler','testsPassed','mochaOpts','testsFailed','__platformCaps','174OymMYM','../../helpers/test-observability/utils','platformCaps'];a25_0x3cd6=function(){return _0x1232a1;};return a25_0x3cd6();}module.exports=Launcher;
1
+ const a25_0x56d0c8=a25_0x55b5;(function(_0x5e4b3c,_0xb1ab4f){const _0xcdc5f8=a25_0x55b5,_0x343e47=_0x5e4b3c();while(!![]){try{const _0x5c2a90=parseInt(_0xcdc5f8(0xb0))/0x1*(-parseInt(_0xcdc5f8(0xab))/0x2)+-parseInt(_0xcdc5f8(0xa4))/0x3+parseInt(_0xcdc5f8(0xa6))/0x4*(-parseInt(_0xcdc5f8(0xa9))/0x5)+-parseInt(_0xcdc5f8(0xae))/0x6+-parseInt(_0xcdc5f8(0xa2))/0x7*(parseInt(_0xcdc5f8(0xac))/0x8)+-parseInt(_0xcdc5f8(0xaa))/0x9+parseInt(_0xcdc5f8(0x95))/0xa;if(_0x5c2a90===_0xb1ab4f)break;else _0x343e47['push'](_0x343e47['shift']());}catch(_0x2594a1){_0x343e47['push'](_0x343e47['shift']());}}}(a25_0x2d72,0xc096b));function a25_0x55b5(_0x459641,_0x36cc0e){const _0x2d725d=a25_0x2d72();return a25_0x55b5=function(_0x55b512,_0xde659d){_0x55b512=_0x55b512-0x8a;let _0x4f5067=_0x2d725d[_0x55b512];return _0x4f5067;},a25_0x55b5(_0x459641,_0x36cc0e);}const path=require(a25_0x56d0c8(0xa7)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x56d0c8(0x91)),constants=require(a25_0x56d0c8(0x96)),{isAccessibilityAutomationSession}=require(a25_0x56d0c8(0xb1)),RequestQueueHandler=require(a25_0x56d0c8(0xad)),{isTestObservabilitySession}=require(a25_0x56d0c8(0xb3)),helper=require('../../helpers/helper'),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper');class Launcher{constructor(_0x136e69,_0x43d134,_0x4ba2ce,_0x3f1cf2=[]){const _0x380115=a25_0x56d0c8,_0x1bb301={'YBfWm':_0x380115(0x9d),'gJLUA':function(_0x56c89){return _0x56c89();},'AJAya':function(_0xac5149){return _0xac5149();}},_0xc0da49=_0x1bb301['YBfWm']['split']('|');let _0x8b6d14=0x0;while(!![]){switch(_0xc0da49[_0x8b6d14++]){case'0':this[_0x380115(0x8c)]=_0x43d134['mochaOpts'];continue;case'1':global['__platformCaps']=this[_0x380115(0xb2)]['platformCaps']||{};continue;case'2':global[_0x380115(0xa0)]=0x0;continue;case'3':global[_0x380115(0x8d)]={};continue;case'4':global[_0x380115(0x8a)]=0x0;continue;case'5':this[_0x380115(0x98)]=_0x43d134[_0x380115(0xa8)];continue;case'6':this[_0x380115(0x97)]=_0x3f1cf2;continue;case'7':!constants[_0x380115(0x8b)]['includes'](_0x136e69)&&(commandRepository[_0x380115(0xaf)](_0x4ba2ce),commandRepository[_0x380115(0xb4)](_0x136e69));continue;case'8':this[_0x380115(0xa3)]=_0x1bb301[_0x380115(0x9c)](isAccessibilityAutomationSession);continue;case'9':global[_0x380115(0xa5)]=0x0;continue;case'10':global['testsFailed']=0x0;continue;case'11':global[_0x380115(0x90)]=0x0;continue;case'12':this['_configuration']=_0x43d134[_0x380115(0x94)]||{};continue;case'13':global[_0x380115(0x9a)]=0x0;continue;case'14':this[_0x380115(0x9f)]=_0x136e69;continue;case'15':this[_0x380115(0xa1)]=this['_configuration'][_0x380115(0x9b)];continue;case'16':global[_0x380115(0x9e)]=0x0;continue;case'17':global[_0x380115(0x93)]=this[_0x380115(0xb2)]['platform'];continue;case'18':this['_configuration'][_0x380115(0x92)]=_0x136e69;continue;case'19':global['testSuites']=0x0;continue;case'20':global['testsPending']=0x0;continue;case'21':this['_testObservability']=_0x1bb301[_0x380115(0x8e)](isTestObservabilitySession);continue;case'22':global['testSuitesFailed']=0x0;continue;case'23':this[_0x380115(0x99)]=_0x4ba2ce;continue;}break;}}['setupCucumber'](_0x427042,_0x5c91e9,_0x3ca461){const _0x53a6fb=a25_0x56d0c8,_0x3037d1=_0x427042[_0x53a6fb(0x8f)];_0x427042.resolvePaths=async function(){const pathResults=await _0x3037d1.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x3ca461));return pathResults;},_0x5c91e9.push('--format'),_0x5c91e9.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}function a25_0x2d72(){const _0x4462b9=['18092ORsdpt','path','formatter','310xxNeiY','13096962DVZfeL','2zjJqQG','2840vZtzYr','../../helpers/test-observability/requestQueueHandler','2140110sMWxuJ','setConfig','265103ePtQNJ','../../helpers/accessibility-automation/helper','_configuration','../../helpers/test-observability/utils','setFramework','totalTests','AI_ENABLED_FRAMEWORK','_mochaOpts','testsErrorMessage','AJAya','resolvePaths','testsPassed','../../helpers/helper','framework','__platform__','configuration','47870480TZDerd','../utils/constants','_argv','_formatter','_bsConfig','testsSkipped','capability','gJLUA','14|12|18|0|5|15|17|6|23|21|8|1|19|4|11|10|20|13|22|2|9|16|3|7','testsAmbiguous','_framework','testsUndefined','_capability','3549vkTarM','_accessibilityAutomation','4382364uBXCTb','testsUnknown'];a25_0x2d72=function(){return _0x4462b9;};return a25_0x2d72();}module.exports=Launcher;
@@ -1 +1 @@
1
- function a26_0x9ba3(_0x25c053,_0x496a4e){const _0x696b0a=a26_0x696b();return a26_0x9ba3=function(_0x9ba3c7,_0x1128f3){_0x9ba3c7=_0x9ba3c7-0xb2;let _0x4f5c0e=_0x696b0a[_0x9ba3c7];return _0x4f5c0e;},a26_0x9ba3(_0x25c053,_0x496a4e);}const a26_0x11673e=a26_0x9ba3;function a26_0x696b(){const _0x3ef29e=['format','isAccessibilityPlatform','winstonLogger','isUndefined','33084rxISKB','../../../helpers/helper','yIVlY','browser_version','deviceName','2310540PcBVas','155DAnExk','setAccessibilityCapabilities','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','EMebx','104IHeqeA','browserstack.accessibilityOptions','setExtension','getBrowserVersion','get','debug','27xCJYnu','242670ZhXbjJ','selenium-webdriver/chrome.js','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','itqNw','../../../helpers/logger','56092ewIlCh','AhbGp','args','util','accessibility','../../../helpers/globals','bstack:options','vsihe','getBrowserName','BS_A11Y_JWT','requireModule','capability','getCapabilities','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','lmsxI','Exception\x20in\x20setExtension\x20Error:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','SmnSb','CqQmH','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','path','chrome','toLowerCase','chromeOptions_','mhTFQ','browserstack.accessibility','fetchPlatformDetails','capabilities_','hRFnu','141925csCOjX','parse','yNoTS','XMmqk','scannerVersion','options_','__cloud_provider___','--headless','warn','ceWOf','nestedKeyValue','DoIvJ','browserName','zMpbe','6018MJBQlP','dzVrI','accessibilityOptions','1011138atkaRq','device','includes','env','yxsMO','getPlatform','CruNn','cmwNV','XbHyb'];a26_0x696b=function(){return _0x3ef29e;};return a26_0x696b();}(function(_0x4c4b54,_0x2bf9fd){const _0x191855=a26_0x9ba3,_0x818120=_0x4c4b54();while(!![]){try{const _0x413620=-parseInt(_0x191855(0xe8))/0x1*(parseInt(_0x191855(0xc8))/0x2)+parseInt(_0x191855(0xcb))/0x3+-parseInt(_0x191855(0xee))/0x4*(-parseInt(_0x191855(0xde))/0x5)+-parseInt(_0x191855(0xdd))/0x6+parseInt(_0x191855(0xba))/0x7+-parseInt(_0x191855(0xe2))/0x8*(parseInt(_0x191855(0xd8))/0x9)+-parseInt(_0x191855(0xe9))/0xa;if(_0x413620===_0x2bf9fd)break;else _0x818120['push'](_0x818120['shift']());}catch(_0x328c7e){_0x818120['push'](_0x818120['shift']());}}}(a26_0x696b,0x3dece));const path=require(a26_0x11673e(0x102)),os=require('os'),util=require(a26_0x11673e(0xf1)),bsSetupHelper=require(a26_0x11673e(0xd9)),globals=require(a26_0x11673e(0xf3)),logger=require(a26_0x11673e(0xed))[a26_0x11673e(0xd6)];exports[a26_0x11673e(0xdf)]=_0x5605ef=>{const _0xd95edc=a26_0x11673e,_0x1d3704={};_0x1d3704[_0xd95edc(0xef)]=_0xd95edc(0xf4),_0x1d3704[_0xd95edc(0xc3)]=_0xd95edc(0xb6),_0x1d3704[_0xd95edc(0xb5)]=_0xd95edc(0xd5),_0x1d3704[_0xd95edc(0xff)]=_0xd95edc(0xe3);const _0x319c63=_0x1d3704;try{const _0x1be731=_0x5605ef[_0xd95edc(0xf9)]||{};if(_0x1be731[_0x319c63[_0xd95edc(0xef)]]&&_0x1be731[_0x319c63[_0xd95edc(0xef)]][_0xd95edc(0xf2)]||_0x5605ef['capability'][_0x319c63['ceWOf']]){globals['setGlobal'](_0x319c63[_0xd95edc(0xb5)],!![]);if(_0x1be731[_0x319c63['AhbGp']]){if(_0x1be731[_0x319c63[_0xd95edc(0xef)]][_0xd95edc(0xca)])_0x1be731[_0x319c63['AhbGp']]['accessibilityOptions']['authToken']=process['env'][_0xd95edc(0xf7)];else{const _0x5d2736={};_0x5d2736['authToken']=process[_0xd95edc(0xce)][_0xd95edc(0xf7)],_0x1be731[_0x319c63[_0xd95edc(0xef)]][_0xd95edc(0xca)]=_0x5d2736;}_0x1be731[_0x319c63[_0xd95edc(0xef)]][_0xd95edc(0xca)][_0xd95edc(0xbe)]=JSON[_0xd95edc(0xbb)](process[_0xd95edc(0xce)][_0xd95edc(0x101)])[_0xd95edc(0xbe)];}else{if(_0x5605ef[_0xd95edc(0xf9)][_0x319c63[_0xd95edc(0xc3)]]){if(_0x1be731[_0x319c63[_0xd95edc(0xff)]])_0x1be731[_0x319c63['SmnSb']]['authToken']=process['env'][_0xd95edc(0xf7)];else{const _0x122852={};_0x122852['authToken']=process['env'][_0xd95edc(0xf7)],_0x1be731[_0x319c63[_0xd95edc(0xff)]]=_0x122852;}_0x1be731[_0x319c63[_0xd95edc(0xff)]][_0xd95edc(0xbe)]=JSON['parse'](process[_0xd95edc(0xce)][_0xd95edc(0x101)])[_0xd95edc(0xbe)];}}}}catch(_0x4ecb72){logger['debug'](_0xd95edc(0xfb)+_0x4ecb72);}},exports[a26_0x11673e(0xe4)]=(_0x335a83,_0x3fbb92)=>{const _0x4b184a=a26_0x11673e,_0x25bbe1={};_0x25bbe1[_0x4b184a(0xc7)]=_0x4b184a(0xf4),_0x25bbe1['vsihe']=function(_0x1c4a2f,_0x5cf85c){return _0x1c4a2f!==_0x5cf85c;},_0x25bbe1[_0x4b184a(0xbd)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.',_0x25bbe1[_0x4b184a(0xfc)]=_0x4b184a(0xb2),_0x25bbe1[_0x4b184a(0xb9)]=_0x4b184a(0xe0),_0x25bbe1[_0x4b184a(0xcf)]=function(_0xaeb0f3,_0x1b85fe){return _0xaeb0f3===_0x1b85fe;},_0x25bbe1[_0x4b184a(0xd3)]='latest',_0x25bbe1[_0x4b184a(0xc5)]=function(_0x2e4ecd,_0x7011e){return _0x2e4ecd>_0x7011e;},_0x25bbe1[_0x4b184a(0xc9)]=_0x4b184a(0xfe),_0x25bbe1[_0x4b184a(0xd1)]=_0x4b184a(0xea),_0x25bbe1['WEPad']=_0x4b184a(0xbf),_0x25bbe1[_0x4b184a(0x100)]=_0x4b184a(0xf0),_0x25bbe1[_0x4b184a(0xda)]='chromeOptions',_0x25bbe1[_0x4b184a(0xd2)]=_0x4b184a(0xc1),_0x25bbe1[_0x4b184a(0xec)]=_0x4b184a(0xeb);const _0x23b0f8=_0x25bbe1;try{const _0x3c6c71=_0x3fbb92[_0x4b184a(0xf9)]||{},_0x39525b=(_0x3c6c71[_0x23b0f8[_0x4b184a(0xc7)]]?_0x3c6c71[_0x23b0f8[_0x4b184a(0xc7)]][_0x4b184a(0xdc)]:_0x3c6c71[_0x4b184a(0xcc)])||'';if(_0x23b0f8[_0x4b184a(0xf5)](_0x39525b,''))return logger[_0x4b184a(0xc2)](_0x23b0f8[_0x4b184a(0xbd)]),![];const _0x4ab187=_0x3c6c71[_0x4b184a(0xc6)]||_0x335a83[_0x4b184a(0xb8)][_0x4b184a(0xf6)]();if(_0x23b0f8[_0x4b184a(0xf5)](_0x4ab187[_0x4b184a(0xb3)](),_0x23b0f8['lmsxI']))return logger[_0x4b184a(0xc2)](_0x23b0f8[_0x4b184a(0xb9)]),![];const _0xc68cf2=_0x3c6c71['browserVersion']||_0x3c6c71[_0x4b184a(0xdb)]||_0x335a83[_0x4b184a(0xb8)][_0x4b184a(0xe5)]();if(!bsSetupHelper[_0x4b184a(0xd7)](_0xc68cf2)&&!(_0x23b0f8[_0x4b184a(0xcf)](_0xc68cf2,_0x23b0f8[_0x4b184a(0xd3)])||_0x23b0f8[_0x4b184a(0xc5)](_0xc68cf2,0x5e)))return logger['warn'](_0x23b0f8[_0x4b184a(0xc9)]),![];let _0x571b61;try{_0x571b61=bsSetupHelper[_0x4b184a(0xf8)](_0x23b0f8[_0x4b184a(0xd1)]);}catch(_0x5a01ad){return![];}const _0x339bee=new _0x571b61['Options'](_0x335a83[_0x4b184a(0xb4)]),_0x35f198=bsSetupHelper['nestedKeyValue'](_0x339bee,[_0x23b0f8['WEPad'],_0x23b0f8['CqQmH']])||bsSetupHelper[_0x4b184a(0xc4)](_0x335a83[_0x4b184a(0xb8)]['get'](_0x23b0f8[_0x4b184a(0xc7)]),[_0x23b0f8['yIVlY'],_0x23b0f8[_0x4b184a(0x100)]])||bsSetupHelper[_0x4b184a(0xc4)](_0x335a83[_0x4b184a(0xb8)][_0x4b184a(0xe6)](_0x23b0f8[_0x4b184a(0xda)]),[_0x23b0f8[_0x4b184a(0x100)]])||[];if(_0x35f198[_0x4b184a(0xcd)](_0x23b0f8[_0x4b184a(0xd2)]))return logger[_0x4b184a(0xc2)](_0x23b0f8[_0x4b184a(0xec)]),![];return!![];}catch(_0x464bf7){logger[_0x4b184a(0xe7)](_0x4b184a(0xfd)+util[_0x4b184a(0xd4)](_0x464bf7));}return![];},exports[a26_0x11673e(0xb7)]=async _0x3c0e27=>{const _0x3c06b9=a26_0x11673e,_0x4c794c={};_0x4c794c[_0x3c06b9(0xe1)]=function(_0x4abc54,_0x2f5d15){return _0x4abc54===_0x2f5d15;},_0x4c794c[_0x3c06b9(0xbc)]='browserstack';const _0x337244=_0x4c794c;let _0x45688f={};try{const _0x24706a=await _0x3c0e27[_0x3c06b9(0xfa)]();_0x45688f={'os_name':_0x24706a[_0x3c06b9(0xd0)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x337244['EMebx'](global[_0x3c06b9(0xc0)],_0x337244[_0x3c06b9(0xbc)])),'browser_name':_0x24706a[_0x3c06b9(0xf6)](),'browser_version':_0x24706a[_0x3c06b9(0xe5)]()};}catch(_0x117ac0){logger['debug']('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x117ac0);}return _0x45688f;};
1
+ const a26_0x4b672a=a26_0x2745;(function(_0x3a9f2c,_0x5bb0f0){const _0x425910=a26_0x2745,_0x4d2af0=_0x3a9f2c();while(!![]){try{const _0x3e7c4f=parseInt(_0x425910(0x20f))/0x1*(-parseInt(_0x425910(0x20b))/0x2)+parseInt(_0x425910(0x1f8))/0x3*(-parseInt(_0x425910(0x224))/0x4)+parseInt(_0x425910(0x231))/0x5+parseInt(_0x425910(0x21a))/0x6*(parseInt(_0x425910(0x232))/0x7)+-parseInt(_0x425910(0x20d))/0x8*(-parseInt(_0x425910(0x1f6))/0x9)+-parseInt(_0x425910(0x206))/0xa*(-parseInt(_0x425910(0x21d))/0xb)+-parseInt(_0x425910(0x1e8))/0xc;if(_0x3e7c4f===_0x5bb0f0)break;else _0x4d2af0['push'](_0x4d2af0['shift']());}catch(_0x5be797){_0x4d2af0['push'](_0x4d2af0['shift']());}}}(a26_0x2642,0xdf1e1));const path=require('path'),os=require('os'),util=require(a26_0x4b672a(0x1e7)),bsSetupHelper=require('../../../helpers/helper'),globals=require('../../../helpers/globals'),logger=require(a26_0x4b672a(0x1f7))[a26_0x4b672a(0x1f4)];function a26_0x2745(_0x45a116,_0xf6a33b){const _0x264240=a26_0x2642();return a26_0x2745=function(_0x274509,_0xabc13c){_0x274509=_0x274509-0x1e1;let _0x15d6fb=_0x264240[_0x274509];return _0x15d6fb;},a26_0x2745(_0x45a116,_0xf6a33b);}function a26_0x2642(){const _0x2d5e02=['accessibility','__cloud_provider___','warn','102KNePCF','rNNPB','24mGFiFl','nSjol','34159pYPudK','QCQDq','fetchPlatformDetails','getCapabilities','zOkUh','VMasZ','browserstack','scannerVersion','isAccessibilityPlatform','setGlobal','ENesz','6NBvkVa','bstack:options','setAccessibilityCapabilities','4642kxJBBt','nestedKeyValue','ufcdv','format','capabilities_','Ujqja','iYqVc','25248MaKOKn','getBrowserName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','browserstack.accessibility','yUSOy','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','options_','args','Options','deviceName','capability','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','dwtER','7253060wlKJGe','9631377XovNsO','getPlatformVersion','CxGNn','rTUEo','browserName','accessibilityOptions','browserVersion','util','10570332COFjdi','debug','--headless','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isUndefined','getPlatform','zNTCD','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','chromeOptions','hqIGT','browserstack.accessibilityOptions','winstonLogger','parse','4363542ZtJZCC','../../../helpers/logger','390zblsIw','Hedub','getBrowserVersion','FLCGt','chromeOptions_','chrome','setExtension','YMjne','get','zmKNx','Exception\x20in\x20setExtension\x20Error:\x20','browser_version','BS_A11Y_JWT','pWwMx','1810HoqRZa','env'];a26_0x2642=function(){return _0x2d5e02;};return a26_0x2642();}exports[a26_0x4b672a(0x21c)]=_0xb0e470=>{const _0x3d0d3e=a26_0x4b672a,_0x14d28f={};_0x14d28f[_0x3d0d3e(0x20c)]='bstack:options',_0x14d28f[_0x3d0d3e(0x1ee)]=_0x3d0d3e(0x227),_0x14d28f[_0x3d0d3e(0x210)]=_0x3d0d3e(0x217),_0x14d28f[_0x3d0d3e(0x213)]=_0x3d0d3e(0x1f3);const _0x315bb2=_0x14d28f;try{const _0x3b3560=_0xb0e470[_0x3d0d3e(0x22e)]||{};if(_0x3b3560[_0x315bb2[_0x3d0d3e(0x20c)]]&&_0x3b3560[_0x315bb2[_0x3d0d3e(0x20c)]][_0x3d0d3e(0x208)]||_0xb0e470['capability'][_0x315bb2['zNTCD']]){globals[_0x3d0d3e(0x218)](_0x315bb2[_0x3d0d3e(0x210)],!![]);if(_0x3b3560[_0x315bb2[_0x3d0d3e(0x20c)]]){if(_0x3b3560[_0x315bb2[_0x3d0d3e(0x20c)]][_0x3d0d3e(0x1e5)])_0x3b3560[_0x315bb2[_0x3d0d3e(0x20c)]][_0x3d0d3e(0x1e5)]['authToken']=process['env'][_0x3d0d3e(0x204)];else{const _0x30aea8={};_0x30aea8['authToken']=process[_0x3d0d3e(0x207)][_0x3d0d3e(0x204)],_0x3b3560[_0x315bb2[_0x3d0d3e(0x20c)]][_0x3d0d3e(0x1e5)]=_0x30aea8;}_0x3b3560[_0x315bb2[_0x3d0d3e(0x20c)]][_0x3d0d3e(0x1e5)][_0x3d0d3e(0x216)]=JSON[_0x3d0d3e(0x1f5)](process[_0x3d0d3e(0x207)][_0x3d0d3e(0x1eb)])[_0x3d0d3e(0x216)];}else{if(_0xb0e470[_0x3d0d3e(0x22e)][_0x315bb2[_0x3d0d3e(0x1ee)]]){if(_0x3b3560[_0x315bb2[_0x3d0d3e(0x213)]])_0x3b3560[_0x315bb2[_0x3d0d3e(0x213)]]['authToken']=process['env'][_0x3d0d3e(0x204)];else{const _0x4eef46={};_0x4eef46['authToken']=process[_0x3d0d3e(0x207)][_0x3d0d3e(0x204)],_0x3b3560[_0x315bb2['zOkUh']]=_0x4eef46;}_0x3b3560[_0x315bb2[_0x3d0d3e(0x213)]][_0x3d0d3e(0x216)]=JSON[_0x3d0d3e(0x1f5)](process[_0x3d0d3e(0x207)][_0x3d0d3e(0x1eb)])[_0x3d0d3e(0x216)];}}}}catch(_0x3e9dcd){logger[_0x3d0d3e(0x1e9)](_0x3d0d3e(0x1ef)+_0x3e9dcd);}},exports[a26_0x4b672a(0x1fe)]=(_0x597204,_0x4bb139)=>{const _0x26e32c=a26_0x4b672a,_0x4602a1={};_0x4602a1[_0x26e32c(0x1f9)]=_0x26e32c(0x21b),_0x4602a1['YMjne']=function(_0x57f20d,_0x6ee7bb){return _0x57f20d!==_0x6ee7bb;},_0x4602a1[_0x26e32c(0x219)]=_0x26e32c(0x229),_0x4602a1[_0x26e32c(0x1e2)]=function(_0xf1724f,_0x10e3a4){return _0xf1724f!==_0x10e3a4;},_0x4602a1[_0x26e32c(0x222)]=_0x26e32c(0x1fd),_0x4602a1[_0x26e32c(0x228)]=_0x26e32c(0x226),_0x4602a1[_0x26e32c(0x205)]=function(_0x3316ba,_0x12995d){return _0x3316ba===_0x12995d;},_0x4602a1[_0x26e32c(0x21f)]='latest',_0x4602a1[_0x26e32c(0x223)]=function(_0x52b893,_0x22a3cd){return _0x52b893>_0x22a3cd;},_0x4602a1[_0x26e32c(0x20e)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.',_0x4602a1['gQTyv']='selenium-webdriver/chrome.js',_0x4602a1[_0x26e32c(0x201)]=_0x26e32c(0x22a),_0x4602a1[_0x26e32c(0x1e3)]=_0x26e32c(0x22b),_0x4602a1['FLCGt']=_0x26e32c(0x1f1),_0x4602a1[_0x26e32c(0x1f2)]=_0x26e32c(0x1ea),_0x4602a1['VMasZ']=_0x26e32c(0x22f);const _0x253710=_0x4602a1;try{const _0x362ff1=_0x4bb139[_0x26e32c(0x22e)]||{},_0x253848=(_0x362ff1[_0x253710[_0x26e32c(0x1f9)]]?_0x362ff1[_0x253710['Hedub']][_0x26e32c(0x22d)]:_0x362ff1['device'])||'';if(_0x253710[_0x26e32c(0x1ff)](_0x253848,''))return logger[_0x26e32c(0x20a)](_0x253710[_0x26e32c(0x219)]),![];const _0x166882=_0x362ff1[_0x26e32c(0x1e4)]||_0x597204[_0x26e32c(0x221)][_0x26e32c(0x225)]();if(_0x253710['CxGNn'](_0x166882['toLowerCase'](),_0x253710[_0x26e32c(0x222)]))return logger['warn'](_0x253710['yUSOy']),![];const _0xaedbef=_0x362ff1[_0x26e32c(0x1e6)]||_0x362ff1[_0x26e32c(0x203)]||_0x597204[_0x26e32c(0x221)][_0x26e32c(0x1fa)]();if(!bsSetupHelper[_0x26e32c(0x1ec)](_0xaedbef)&&!(_0x253710[_0x26e32c(0x205)](_0xaedbef,_0x253710[_0x26e32c(0x21f)])||_0x253710['iYqVc'](_0xaedbef,0x5e)))return logger[_0x26e32c(0x20a)](_0x253710[_0x26e32c(0x20e)]),![];let _0x457312;try{_0x457312=bsSetupHelper['requireModule'](_0x253710['gQTyv']);}catch(_0x1adb20){return![];}const _0x4d113c=new _0x457312[(_0x26e32c(0x22c))](_0x597204[_0x26e32c(0x1fc)]),_0x1f2e46=bsSetupHelper[_0x26e32c(0x21e)](_0x4d113c,[_0x253710[_0x26e32c(0x201)],_0x253710['rTUEo']])||bsSetupHelper['nestedKeyValue'](_0x597204[_0x26e32c(0x221)]['get'](_0x253710[_0x26e32c(0x1f9)]),[_0x253710[_0x26e32c(0x1fb)],_0x253710[_0x26e32c(0x1e3)]])||bsSetupHelper[_0x26e32c(0x21e)](_0x597204['capabilities_'][_0x26e32c(0x200)](_0x253710['FLCGt']),[_0x253710[_0x26e32c(0x1e3)]])||[];if(_0x1f2e46['includes'](_0x253710[_0x26e32c(0x1f2)]))return logger[_0x26e32c(0x20a)](_0x253710[_0x26e32c(0x214)]),![];return!![];}catch(_0x1b2ec6){logger['debug'](_0x26e32c(0x202)+util[_0x26e32c(0x220)](_0x1b2ec6));}return![];},exports[a26_0x4b672a(0x211)]=async _0x2f3b60=>{const _0x52c451=a26_0x4b672a,_0x212d33={};_0x212d33[_0x52c451(0x230)]=function(_0xb39092,_0x5aeb3a){return _0xb39092===_0x5aeb3a;},_0x212d33['OvtBi']=_0x52c451(0x215);const _0x2db468=_0x212d33;let _0x40b21c={};try{const _0x2f786c=await _0x2f3b60[_0x52c451(0x212)]();_0x40b21c={'os_name':_0x2f786c[_0x52c451(0x1ed)](),'os_version':bsSetupHelper[_0x52c451(0x1e1)](_0x2db468[_0x52c451(0x230)](global[_0x52c451(0x209)],_0x2db468['OvtBi'])),'browser_name':_0x2f786c[_0x52c451(0x225)](),'browser_version':_0x2f786c['getBrowserVersion']()};}catch(_0x430681){logger[_0x52c451(0x1e9)](_0x52c451(0x1f0)+_0x430681);}return _0x40b21c;};
@@ -1 +1 @@
1
- 'use strict';const a27_0x573995=a27_0x44a0;function a27_0x44a0(_0x2a3742,_0x4a12fc){const _0x1c7533=a27_0x1c75();return a27_0x44a0=function(_0x44a0f6,_0x8c3de8){_0x44a0f6=_0x44a0f6-0x14c;let _0xc67a8c=_0x1c7533[_0x44a0f6];return _0xc67a8c;},a27_0x44a0(_0x2a3742,_0x4a12fc);}(function(_0x11cd34,_0x42c9cc){const _0x58900a=a27_0x44a0,_0x1ee2bd=_0x11cd34();while(!![]){try{const _0x167e35=parseInt(_0x58900a(0x1a6))/0x1*(parseInt(_0x58900a(0x222))/0x2)+-parseInt(_0x58900a(0x229))/0x3+-parseInt(_0x58900a(0x1d3))/0x4*(parseInt(_0x58900a(0x22f))/0x5)+parseInt(_0x58900a(0x1de))/0x6*(parseInt(_0x58900a(0x165))/0x7)+-parseInt(_0x58900a(0x245))/0x8*(-parseInt(_0x58900a(0x22b))/0x9)+parseInt(_0x58900a(0x240))/0xa*(-parseInt(_0x58900a(0x254))/0xb)+parseInt(_0x58900a(0x18f))/0xc*(-parseInt(_0x58900a(0x276))/0xd);if(_0x167e35===_0x42c9cc)break;else _0x1ee2bd['push'](_0x1ee2bd['shift']());}catch(_0x4c29b4){_0x1ee2bd['push'](_0x1ee2bd['shift']());}}}(a27_0x1c75,0xd538c));function a27_0x1c75(){const _0x5b209b=['match','symbols','vLCug','rXbyx','eozPm','../../../helpers/test-observability/utils','CBTSessionCreated','sendTestRunEvent','sHXkz','</dt>','mocha/lib/runnable.js','runner','Ybmvu','integrations','COMPLETED','1158001lXrQfK','jLLVo','CKdwT','state','qkMlA','type','\x20(%dms)','RBtqw','BEFORE_EACH','VfsvH','cwd','speed','anUDX','write','backtrace','pPYFx','includes','mocha/lib/reporters/base.js','duration','../../../helpers/helper','toISOString','AssertionError','</dd>','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','keLli','XQTBS','slice','event_type','wTcOS','__indents','Runner','xunit','RUNNING','GfZpe','77MdBwyc','appendTestItemLog','sZboL','failed','light','Vxfny','pass','sep','mUUst','indent','../../../helpers/testhub/constants','root','\x20\x20<dd\x20class=\x22error\x22><pre><code>','FonFg','bsConfig','HsVcu','Failed\x20to\x20load\x20reporter\x20','Reporter','QmSCw','OpMdh','dirname','test_run','\x20\x20<dd\x20class=\x22error\x22>','docHtml','testStarted','after\x20each','</code></pre></dd>','pending','HookRunFinished','config','DLNtd','StxTL','failCount','isPending','vxbWs','body','reporterOption','ThTXG','current_test','AFTER_EACH','registerListeners','apply','108xNIUdy','1|0|4|3|2','PCbxN','comma','chbdl','fLwcd','removeAllListeners','</h1>','checkmark','TwNUx','getTime','_testResults','multiple','hToqk','kyyKb','once','inspect','GciRD','\x20\x20<dt\x20class=\x22error\x22>','err','vyWub','bs:addLog:','green','5xDTvGk','length','</section>','appendTestPlatform','RFibw','DabGi','expanded','__platform__','bang','../test-observability/mochaUtils','toString','weefz','suiteCount','BEFORE_ALL','error','skipped','http_response','getRootParentFile','DNzwu','PNIMq','jjnjj','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','forEach','fViKx','join','CrwBa','../../../helpers/test-observability/requestQueueHandler','passed','dot','mocha','dayoY','TestRunSkipped','vGiGE','../../../helpers/testhub/utils','krziK','dIkWa','relative','NjHnU','HookFinished','_indents','increaseIndent','haSJa','ldrAL','dWOPw','XtsmF','793976mkCOOK','rNxHV','FJabF','HfCjS','</dl>','title','retryOf','_paths','MmcbQ','xOLXy','TestRunFinished','514164lECbTK','UEZvB','BqCIs','setCurrentTestData','kvNwv','UyECZ','markedStatus','IjdUl','failure_backtrace','bind','color','ctx','eEcDx','doc','hook_type','.js','uploadEventData','LPkqs','XYpPN','huVSb','reporterOptions','suite','consoleLog','.git','failureCount','KarSm','fail','bright\x20yellow','zlFSk','appendTesthubParams','test','docAppend','<h1>','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','iJmBK','\x20%s','mocha/lib/reporters/','scopes','testAnalyticsId','decreaseIndent','bs:addPlatformDetails:','yykGx','Ojlyq','pid','suites','FzNPT','finished_at','analyticsResult','kPcnf','after\x20all','finalResults','leSvw','hXtFG','before\x20all','util','hooks','started_at','escape','findGitConfig','\x20\x20<dd><pre><code>','_currentRetry','zQCUT','shutdown','ZweQB','name','\x20with\x20error\x20:\x20','test_run_uuid','jzkIS','138934ndQZcf','kxauC','qBXHw','clean','parent','yUidW','slow','1299102XlvIZH','uuid','882jJDhob','VrZoD','current_hook','done','5axJGus','fast','../../../helpers/test-observability/sessionHandler','\x20\x20%d)\x20%s','PIjsX','hook_run_uuid','spec','results','stdout','push','YCbYX','constants','fullTitle','yGSCx','HookStarted','shouldProcessEventForTesthub','currentTest','7120qVsCUx','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','bFnZm','result','MOCHA','135008BxUgYk','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','%s\x20','ZOYCI','TestRunStarted','<section\x20class=\x22suite\x22>','tEmeS','FEPwe','LogCreated','MXHoi','Mocha','\x20\x20<dt>','hookAnalyticsId','uRfom','UJUIY','9845fmWiwz','TqiHT','najTm','MwEbl','EVENT','ltvBL','Vnozr','call','lYSvD','lrrMD','titlePath','KuRhf','ndWkA','file','scope','File\x20path\x20could\x20not\x20be\x20found','currentRetry','../../../helpers/test-observability/constants','_testEnv'];a27_0x1c75=function(){return _0x5b209b;};return a27_0x1c75();}const util=require(a27_0x573995(0x214)),fs=require('fs'),path=require('path'),{requireModule}=require(a27_0x573995(0x156)),Base=requireModule(a27_0x573995(0x154)),utils=requireModule('mocha/lib/utils.js'),color=Base['color'],Mocha=requireModule(a27_0x573995(0x1c3)),Runnable=requireModule(a27_0x573995(0x271)),{v4:uuidv4}=require(a27_0x573995(0x22a)),bsSetupHelper=require(a27_0x573995(0x156)),testhubUtils=require(a27_0x573995(0x1c7)),testHubConstants=require(a27_0x573995(0x16f)),{FRAMEWORKS}=require(a27_0x573995(0x265)),a27_0x9dda12={};a27_0x9dda12[a27_0x573995(0x213)]=a27_0x573995(0x1b3),a27_0x9dda12[a27_0x573995(0x20f)]='AFTER_ALL',a27_0x9dda12['before\x20each']=a27_0x573995(0x27e),a27_0x9dda12[a27_0x573995(0x17e)]=a27_0x573995(0x18c);const HOOK_TYPES_MAP=a27_0x9dda12,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a27_0x573995(0x161)][a27_0x573995(0x23a)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x573995(0x23a)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x573995(0x1af)),{consoleHolder}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a27_0x573995(0x231)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x573995(0x26c)),RequestQueueHandler=require(a27_0x573995(0x1c0)),requestQueueHandler=RequestQueueHandler['getInstance']();class MyReporter{constructor(_0x3ba2b3,_0x34f04d){const _0x1ff59c=a27_0x573995,_0x4dc9db={'ZOYCI':function(_0xf3c802,_0x5bfefe){return _0xf3c802===_0x5bfefe;},'FEPwe':_0x1ff59c(0x235),'wTcOS':function(_0x227a40,_0x8f1bef){return _0x227a40===_0x8f1bef;},'kvNwv':function(_0x5c7677,_0x143c59){return _0x5c7677+_0x143c59;},'TqiHT':function(_0x2684fb,_0x201394,_0x2342c1){return _0x2684fb(_0x201394,_0x2342c1);},'vxbWs':_0x1ff59c(0x1a5),'yUidW':_0x1ff59c(0x247),'qkMlA':_0x1ff59c(0x169),'QmSCw':'%s\x20-\x20%s','CrwBa':_0x1ff59c(0x163),'sZboL':function(_0x48b485,_0x5528bb){return _0x48b485===_0x5528bb;},'kPcnf':_0x1ff59c(0x1eb),'fViKx':function(_0x3fb125){return _0x3fb125();},'aBMPn':'HookRunStarted','haSJa':function(_0x1651cd,_0x58e168){return _0x1651cd===_0x58e168;},'dayoY':'HookRunFinished','PNIMq':'passed','RFibw':_0x1ff59c(0x230),'Vnozr':function(_0x10ceb0,_0x3e84b9,_0x486fa5){return _0x10ceb0(_0x3e84b9,_0x486fa5);},'kcZpy':_0x1ff59c(0x197),'UJUIY':_0x1ff59c(0x16b),'dFxdl':_0x1ff59c(0x201),'kQxjD':function(_0x55c1ad,_0x4bca94){return _0x55c1ad+_0x4bca94;},'MXHoi':function(_0xc9b85a,_0x72633b){return _0xc9b85a+_0x72633b;},'XOAGW':function(_0x40b711,_0x209f62,_0x1899c0){return _0x40b711(_0x209f62,_0x1899c0);},'iJmBK':_0x1ff59c(0x27c),'pPYFx':function(_0x3f81b5,_0x53069f){return _0x3f81b5+_0x53069f;},'MwEbl':_0x1ff59c(0x1f8),'dWOPw':_0x1ff59c(0x232),'LPkqs':function(_0x55507c,_0x5ad24e){return _0x55507c===_0x5ad24e;},'PIjsX':function(_0x992f49,_0x1feff3){return _0x992f49+_0x1feff3;},'BqCIs':function(_0x1e5608,_0x52495e,_0x392363){return _0x1e5608(_0x52495e,_0x392363);},'jQGRH':_0x1ff59c(0x1f9),'UyECZ':_0x1ff59c(0x275),'jzkIS':function(_0x427d3c,_0xc03373){return _0x427d3c===_0xc03373;},'ldrAL':_0x1ff59c(0x1c2),'FJabF':function(_0x2d850d,_0xa950be){return _0x2d850d===_0xa950be;},'hXtFG':_0x1ff59c(0x228),'jLLVo':function(_0x4d93f7,_0x19697d){return _0x4d93f7===_0x19697d;},'OpMdh':function(_0x207d54,_0x9b5881){return _0x207d54===_0x9b5881;},'GcSXA':function(_0x41b161,_0x564ce7){return _0x41b161===_0x564ce7;},'ThTXG':function(_0x29ab16,_0x1de795){return _0x29ab16===_0x1de795;},'leSvw':_0x1ff59c(0x190),'weefz':function(_0x5c399d,_0x271e94){return _0x5c399d===_0x271e94;},'vLCug':_0x1ff59c(0x180),'vyWub':function(_0x8f0250){return _0x8f0250();},'ltvBL':_0x1ff59c(0x1c5),'CKdwT':function(_0x321c81,_0xcd0031){return _0x321c81===_0xcd0031;},'FzNPT':function(_0x48fb60,_0x28f5e4){return _0x48fb60===_0x28f5e4;},'kxauC':function(_0x1475ea,_0x5cdd01){return _0x1475ea(_0x5cdd01);},'SRjPC':function(_0x27c36d,_0x10c35d){return _0x27c36d===_0x10c35d;},'yykGx':function(_0x35cb52){return _0x35cb52();},'BJnuf':_0x1ff59c(0x162),'Ojlyq':function(_0x1e1258,_0x58f9cb){return _0x1e1258!==_0x58f9cb;}};this[_0x1ff59c(0x27b)]=_0x34f04d['reporterOption'][_0x1ff59c(0x27b)],this['testObservability']=_0x4dc9db[_0x1ff59c(0x207)](isTestObservabilitySession),Base[_0x1ff59c(0x25b)](this,_0x3ba2b3,_0x34f04d),this['_indents']=0x0,this[_0x1ff59c(0x185)]=0x0,this['results']=[],this[_0x1ff59c(0x210)]=[],this[_0x1ff59c(0x1b2)]=0x0,this['_buildCreated']=![],this[_0x1ff59c(0x19a)]=[],this[_0x1ff59c(0x266)]=_0x4dc9db[_0x1ff59c(0x207)](getTestEnv),this[_0x1ff59c(0x1da)]=new PathHelper({'cwd':process[_0x1ff59c(0x14d)]()},this[_0x1ff59c(0x266)]['location_prefix']),this['_upstreamConfig']=_0x34f04d[_0x1ff59c(0x189)][_0x1ff59c(0x173)],this['registerListeners']();_0x4dc9db[_0x1ff59c(0x15f)](this[_0x1ff59c(0x27b)],_0x4dc9db[_0x1ff59c(0x20e)])&&(this['docHtml']='',this[_0x1ff59c(0x160)]=0x2);_0x3ba2b3[_0x1ff59c(0x19e)](EVENT_RUN_BEGIN,async()=>{const _0x4e74ec=_0x1ff59c;_0x4dc9db[_0x4e74ec(0x248)](this['type'],_0x4dc9db['FEPwe'])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x1e5633=>{const _0x2ddc71=_0x1ff59c;if(_0x1e5633[_0x2ddc71(0x170)])return;if(_0x4dc9db['wTcOS'](this[_0x2ddc71(0x27b)],_0x4dc9db['FEPwe']))this[_0x2ddc71(0x1ce)](),Base[_0x2ddc71(0x1f4)](_0x4dc9db[_0x2ddc71(0x1e2)](_0x4dc9db['kvNwv'](this[_0x2ddc71(0x16e)](),_0x4dc9db['TqiHT'](color,_0x4dc9db[_0x2ddc71(0x187)],_0x4dc9db[_0x2ddc71(0x227)])),_0x4dc9db[_0x2ddc71(0x255)](color,_0x4dc9db[_0x2ddc71(0x27a)],_0x4dc9db[_0x2ddc71(0x177)])),_0x4dc9db[_0x2ddc71(0x1bf)],_0x1e5633[_0x2ddc71(0x1d8)],global['__platform__']);else _0x4dc9db[_0x2ddc71(0x167)](this[_0x2ddc71(0x27b)],_0x4dc9db['kPcnf'])&&(this[_0x2ddc71(0x1fd)](this[_0x2ddc71(0x16e)]()+_0x2ddc71(0x24a)),++this[_0x2ddc71(0x160)],this[_0x2ddc71(0x1fd)](this[_0x2ddc71(0x16e)]()+_0x2ddc71(0x1fe)+utils[_0x2ddc71(0x217)](_0x1e5633[_0x2ddc71(0x1d8)]+'\x20-\x20'+global[_0x2ddc71(0x1ad)])+_0x2ddc71(0x196)),this[_0x2ddc71(0x1fd)](this[_0x2ddc71(0x16e)]()+'<dl>'));})['on'](EVENT_HOOK_BEGIN,async _0x21abd8=>{const _0x20efa7=_0x1ff59c;if(_0x4dc9db[_0x20efa7(0x167)](testhubUtils[_0x20efa7(0x23e)](testHubConstants[_0x20efa7(0x258)][_0x20efa7(0x23d)]),!![])){if(!_0x21abd8['hookAnalyticsId'])_0x21abd8['hookAnalyticsId']=_0x4dc9db[_0x20efa7(0x1bd)](uuidv4);else _0x21abd8[_0x20efa7(0x1e4)]&&(_0x21abd8[_0x20efa7(0x251)]=_0x4dc9db[_0x20efa7(0x1bd)](uuidv4),delete _0x21abd8[_0x20efa7(0x1e4)]);_0x21abd8[_0x20efa7(0x216)]=new Date()[_0x20efa7(0x157)](),this[_0x20efa7(0x22d)]=_0x21abd8,await this['sendTestRunEvent'](_0x21abd8,undefined,![],_0x4dc9db['aBMPn']);}})['on'](EVENT_HOOK_END,async _0x1cf8a9=>{const _0x355940=_0x1ff59c;_0x4dc9db['haSJa'](testhubUtils[_0x355940(0x23e)](testHubConstants[_0x355940(0x258)][_0x355940(0x1cc)]),!![])&&(!_0x1cf8a9[_0x355940(0x1e4)]&&(_0x1cf8a9['markedStatus']=!![],await this[_0x355940(0x26e)](_0x1cf8a9,undefined,![],_0x4dc9db['dayoY'])));})['on'](EVENT_SUITE_END,_0x33dee9=>{const _0x453f09=_0x1ff59c,_0x359ad7={'IYhoJ':function(_0x340091,_0x5f2cdd){const _0x195a3c=a27_0x44a0;return _0x4dc9db[_0x195a3c(0x248)](_0x340091,_0x5f2cdd);},'rXbyx':_0x4dc9db[_0x453f09(0x1b9)],'sHXkz':function(_0xedc092,_0x4d49aa){const _0x327232=_0x453f09;return _0x4dc9db[_0x327232(0x248)](_0xedc092,_0x4d49aa);},'GciRD':_0x4dc9db[_0x453f09(0x1aa)],'DNzwu':function(_0x5c4aee,_0x74581){return _0x4dc9db['kvNwv'](_0x5c4aee,_0x74581);},'RBtqw':function(_0xf8d3b9,_0x1b0283,_0x5072ab){const _0x213e6d=_0x453f09;return _0x4dc9db[_0x213e6d(0x25a)](_0xf8d3b9,_0x1b0283,_0x5072ab);},'xOLXy':_0x4dc9db['kcZpy'],'UBDmG':function(_0x3d0bce,_0x432294,_0x1e4b40){return _0x4dc9db['Vnozr'](_0x3d0bce,_0x432294,_0x1e4b40);},'TwNUx':_0x4dc9db[_0x453f09(0x253)],'VfsvH':_0x4dc9db['dFxdl'],'GzPDm':function(_0x550317,_0x3b45f4){return _0x4dc9db['kQxjD'](_0x550317,_0x3b45f4);},'zQCUT':function(_0x33a102,_0x30b7b7){const _0x31672c=_0x453f09;return _0x4dc9db[_0x31672c(0x24e)](_0x33a102,_0x30b7b7);},'vGiGE':function(_0x5e7fbf,_0x14d6e2){return _0x4dc9db['MXHoi'](_0x5e7fbf,_0x14d6e2);},'DLNtd':function(_0x584f70,_0x15568a,_0x3c2e42){return _0x4dc9db['XOAGW'](_0x584f70,_0x15568a,_0x3c2e42);},'Vxfny':_0x4dc9db[_0x453f09(0x200)],'IjdUl':function(_0x2ab022,_0x31f841){return _0x4dc9db['pPYFx'](_0x2ab022,_0x31f841);},'zOFKl':function(_0x189226,_0x4860fe,_0x2da3db){const _0x39ebe9=_0x453f09;return _0x4dc9db[_0x39ebe9(0x255)](_0x189226,_0x4860fe,_0x2da3db);},'ZsNAq':_0x4dc9db['MwEbl'],'eEcDx':_0x4dc9db[_0x453f09(0x1d1)]};if(_0x33dee9[_0x453f09(0x170)])return;if(_0x4dc9db['LPkqs'](this['type'],_0x4dc9db[_0x453f09(0x24c)]))Base[_0x453f09(0x1f4)](),Base[_0x453f09(0x1f4)](_0x4dc9db[_0x453f09(0x152)](_0x4dc9db[_0x453f09(0x233)](this['indent'](),_0x4dc9db[_0x453f09(0x1e0)](color,_0x4dc9db['jQGRH'],_0x4dc9db['yUidW'])),_0x4dc9db[_0x453f09(0x25a)](color,_0x4dc9db[_0x453f09(0x27a)],_0x4dc9db[_0x453f09(0x177)])),_0x4dc9db[_0x453f09(0x1e3)],_0x33dee9['title'],global[_0x453f09(0x1ad)]),this[_0x453f09(0x236)][_0x453f09(0x1bc)](_0x5b77b8=>{const _0x15b662=_0x453f09;if(_0x359ad7['IYhoJ'](_0x5b77b8[_0x15b662(0x279)],_0x359ad7[_0x15b662(0x26a)])){var _0x283695;_0x359ad7[_0x15b662(0x26f)](_0x5b77b8[_0x15b662(0x14e)],_0x359ad7[_0x15b662(0x1a0)])?(_0x283695=_0x359ad7[_0x15b662(0x1b8)](_0x359ad7['DNzwu'](this['indent'](),_0x359ad7['RBtqw'](color,_0x359ad7[_0x15b662(0x1dc)],_0x359ad7[_0x15b662(0x1b8)]('\x20\x20',Base[_0x15b662(0x268)]['ok']))),_0x359ad7['UBDmG'](color,_0x359ad7[_0x15b662(0x198)],_0x359ad7[_0x15b662(0x14c)])),Base[_0x15b662(0x1f4)](_0x283695,_0x5b77b8[_0x15b662(0x1d8)])):(_0x283695=_0x359ad7['GzPDm'](_0x359ad7[_0x15b662(0x21b)](_0x359ad7['vGiGE'](this[_0x15b662(0x16e)](),_0x359ad7[_0x15b662(0x27d)](color,_0x359ad7['xOLXy'],_0x359ad7[_0x15b662(0x1c6)]('\x20\x20',Base[_0x15b662(0x268)]['ok']))),_0x359ad7[_0x15b662(0x183)](color,_0x359ad7['TwNUx'],_0x359ad7[_0x15b662(0x14c)])),_0x359ad7[_0x15b662(0x27d)](color,_0x5b77b8[_0x15b662(0x14e)],_0x359ad7[_0x15b662(0x16a)])),Base[_0x15b662(0x1f4)](_0x283695,_0x5b77b8[_0x15b662(0x1d8)],_0x5b77b8['duration']));}else Base['consoleLog'](_0x359ad7[_0x15b662(0x1e5)](this['indent'](),_0x359ad7['zOFKl'](color,_0x359ad7['ZsNAq'],_0x359ad7[_0x15b662(0x1ea)])),++this[_0x15b662(0x185)],_0x5b77b8[_0x15b662(0x1d8)]);}),this[_0x453f09(0x205)]();else _0x4dc9db[_0x453f09(0x221)](this[_0x453f09(0x27b)],_0x4dc9db['kPcnf'])&&(this[_0x453f09(0x1fd)](this['indent']()+_0x453f09(0x1d7)),--this[_0x453f09(0x160)],this[_0x453f09(0x1fd)](this[_0x453f09(0x16e)]()+_0x453f09(0x1a8)),--this[_0x453f09(0x160)]);Array['prototype'][_0x453f09(0x238)][_0x453f09(0x18e)](this['finalResults'],this['results']),this[_0x453f09(0x236)]=[];})['on'](EVENT_TEST_PASS,async _0x5af8bb=>{const _0x413a57=_0x1ff59c;this[_0x413a57(0x236)][_0x413a57(0x238)]({'speed':_0x5af8bb['speed'],'suite':_0x5af8bb[_0x413a57(0x226)]['title'],'title':_0x5af8bb['title'],'fullTitle':_0x5af8bb['fullTitle'](),'duration':_0x5af8bb[_0x413a57(0x155)],'state':_0x5af8bb[_0x413a57(0x279)],'err':{},'currentRetry':_0x5af8bb[_0x413a57(0x264)](),'titlePathV':_0x5af8bb['titlePath'](),'isPending':_0x5af8bb[_0x413a57(0x186)]()});if(_0x4dc9db[_0x413a57(0x1cf)](this['type'],_0x4dc9db[_0x413a57(0x1d0)]))_0x4dc9db[_0x413a57(0x1d5)](_0x5af8bb[_0x413a57(0x14e)],_0x4dc9db[_0x413a57(0x212)])?process['stdout'][_0x413a57(0x150)](Base[_0x413a57(0x1e8)](_0x4dc9db['jQGRH'],Base[_0x413a57(0x268)][_0x413a57(0x1c2)])):process['stdout']['write'](Base[_0x413a57(0x1e8)](_0x5af8bb[_0x413a57(0x14e)],Base[_0x413a57(0x268)][_0x413a57(0x1c2)]));else{if(_0x4dc9db[_0x413a57(0x277)](this[_0x413a57(0x27b)],_0x4dc9db[_0x413a57(0x20e)])){this[_0x413a57(0x1fd)](this[_0x413a57(0x16e)]()+_0x413a57(0x250)+utils[_0x413a57(0x217)](_0x5af8bb[_0x413a57(0x1d8)])+_0x413a57(0x270)),this[_0x413a57(0x1fd)](this[_0x413a57(0x16e)]()+_0x413a57(0x250)+utils[_0x413a57(0x217)](_0x5af8bb[_0x413a57(0x261)])+_0x413a57(0x270));var _0x46877e=utils[_0x413a57(0x217)](utils[_0x413a57(0x225)](_0x5af8bb[_0x413a57(0x188)]));this[_0x413a57(0x1fd)](this[_0x413a57(0x16e)]()+_0x413a57(0x219)+_0x46877e+_0x413a57(0x17f));}}_0x4dc9db[_0x413a57(0x178)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x5af8bb[_0x413a57(0x1e4)]&&(_0x5af8bb[_0x413a57(0x1e4)]=!![],await this['sendTestRunEvent'](_0x5af8bb)));})['on'](EVENT_TEST_FAIL,async(_0x3e179d,_0x5e8bdd)=>{const _0x45d3eb=_0x1ff59c;this[_0x45d3eb(0x236)][_0x45d3eb(0x238)]({'title':_0x3e179d[_0x45d3eb(0x1d8)],'suite':_0x3e179d[_0x45d3eb(0x226)][_0x45d3eb(0x1d8)],'state':_0x3e179d[_0x45d3eb(0x279)],'err':{'message':util[_0x45d3eb(0x19f)](_0x5e8bdd)},'fullTitle':_0x3e179d[_0x45d3eb(0x23b)](),'speed':_0x3e179d[_0x45d3eb(0x14e)],'currentRetry':_0x3e179d[_0x45d3eb(0x264)](),'titlePathV':_0x3e179d[_0x45d3eb(0x25e)]()});if(_0x4dc9db['GcSXA'](this[_0x45d3eb(0x27b)],_0x4dc9db['ldrAL']))process[_0x45d3eb(0x237)][_0x45d3eb(0x150)](Base[_0x45d3eb(0x1e8)](_0x4dc9db[_0x45d3eb(0x257)],Base[_0x45d3eb(0x268)][_0x45d3eb(0x1ae)]));else{if(_0x4dc9db[_0x45d3eb(0x18a)](this[_0x45d3eb(0x27b)],_0x4dc9db[_0x45d3eb(0x20e)])){const _0x427fd7=_0x4dc9db[_0x45d3eb(0x211)]['split']('|');let _0x177965=0x0;while(!![]){switch(_0x427fd7[_0x177965++]){case'0':this[_0x45d3eb(0x1fd)](this[_0x45d3eb(0x16e)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils['escape'](_0x3e179d[_0x45d3eb(0x261)])+_0x45d3eb(0x270));continue;case'1':this[_0x45d3eb(0x1fd)](this[_0x45d3eb(0x16e)]()+_0x45d3eb(0x1a1)+utils[_0x45d3eb(0x217)](_0x3e179d[_0x45d3eb(0x1d8)])+_0x45d3eb(0x270));continue;case'2':this[_0x45d3eb(0x1fd)](this[_0x45d3eb(0x16e)]()+_0x45d3eb(0x17b)+utils['escape'](_0x3e179d[_0x45d3eb(0x1a2)])+_0x45d3eb(0x159));continue;case'3':this[_0x45d3eb(0x1fd)](this[_0x45d3eb(0x16e)]()+_0x45d3eb(0x171)+_0x2f3b06+_0x45d3eb(0x17f));continue;case'4':var _0x2f3b06=utils[_0x45d3eb(0x217)](utils[_0x45d3eb(0x225)](_0x3e179d['body']));continue;}break;}}}if(_0x4dc9db[_0x45d3eb(0x1ef)](testhubUtils[_0x45d3eb(0x23e)](testHubConstants[_0x45d3eb(0x258)]['HookFinished']),!![])){if(!_0x3e179d[_0x45d3eb(0x1e4)]){_0x3e179d[_0x45d3eb(0x1e4)]=!![];if(_0x3e179d[_0x45d3eb(0x204)])await this[_0x45d3eb(0x26e)](_0x3e179d,_0x5e8bdd);else _0x3e179d[_0x45d3eb(0x251)]&&await this[_0x45d3eb(0x26e)](_0x3e179d,_0x5e8bdd,![],_0x4dc9db[_0x45d3eb(0x1c4)]);}}})['on'](EVENT_TEST_PENDING,async _0xf4189c=>{const _0xc810b1=_0x1ff59c;this[_0xc810b1(0x236)]['push']({'title':_0xf4189c[_0xc810b1(0x1d8)],'suite':_0xf4189c[_0xc810b1(0x226)]['title'],'state':_0xf4189c['state'],'err':{},'fullTitle':_0xf4189c[_0xc810b1(0x23b)](),'speed':_0xf4189c[_0xc810b1(0x14e)],'currentRetry':_0xf4189c[_0xc810b1(0x264)](),'titlePathV':_0xf4189c[_0xc810b1(0x25e)]()}),_0x4dc9db[_0xc810b1(0x1b1)](this[_0xc810b1(0x27b)],_0x4dc9db[_0xc810b1(0x1d0)])&&process[_0xc810b1(0x237)][_0xc810b1(0x150)](Base['color'](_0x4dc9db[_0xc810b1(0x269)],Base[_0xc810b1(0x268)][_0xc810b1(0x192)])),_0x4dc9db[_0xc810b1(0x18a)](testhubUtils[_0xc810b1(0x23e)](),!![])&&(!_0xf4189c[_0xc810b1(0x204)]&&(_0xf4189c[_0xc810b1(0x204)]=_0x4dc9db[_0xc810b1(0x1a3)](uuidv4)),!_0xf4189c[_0xc810b1(0x1e4)]&&(_0xf4189c[_0xc810b1(0x1e4)]=!![],await this[_0xc810b1(0x26e)](_0xf4189c,undefined,![],_0x4dc9db[_0xc810b1(0x259)])));})['on'](EVENT_TEST_BEGIN,async _0x25e92b=>{const _0x4056e8=_0x1ff59c;_0x4dc9db[_0x4056e8(0x15f)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&await this[_0x4056e8(0x17d)](_0x25e92b);})['on'](EVENT_TEST_END,async _0x277f7c=>{const _0x2534eb=_0x1ff59c;_0x4dc9db[_0x2534eb(0x278)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x277f7c[_0x2534eb(0x1e4)]&&(_0x277f7c[_0x2534eb(0x1e4)]=!![],await this['sendTestRunEvent'](_0x277f7c)));})[_0x1ff59c(0x19e)](EVENT_RUN_END,async()=>{const _0x43487e=_0x1ff59c;try{if(_0x4dc9db[_0x43487e(0x20b)](testhubUtils[_0x43487e(0x23e)](),!![])){const _0x183d0d=_0x4dc9db[_0x43487e(0x223)](getHookSkippedTests,this[_0x43487e(0x272)][_0x43487e(0x1f3)]);for(const _0x567f73 of _0x183d0d){!_0x567f73[_0x43487e(0x204)]&&(_0x567f73[_0x43487e(0x204)]=_0x4dc9db[_0x43487e(0x1a3)](uuidv4)),await this[_0x43487e(0x26e)](_0x567f73,undefined,![],_0x4dc9db['ltvBL']);}}}catch(_0x3f82c7){_0x4dc9db[_0x43487e(0x223)](debug,_0x43487e(0x1ff)+_0x3f82c7);}await requestQueueHandler[_0x43487e(0x21c)](),_0x4dc9db['SRjPC'](this['type'],_0x4dc9db[_0x43487e(0x20e)])&&Base[_0x43487e(0x1f4)](this[_0x43487e(0x17c)]);});if(this['type']&&![_0x4dc9db[_0x1ff59c(0x20e)],_0x4dc9db['BJnuf'],_0x4dc9db[_0x1ff59c(0x24c)],_0x4dc9db['ldrAL']][_0x1ff59c(0x153)](this['type'])){const _0x225b82=this['type']['trim']();this[_0x1ff59c(0x176)]=null;try{this[_0x1ff59c(0x176)]=_0x4dc9db[_0x1ff59c(0x223)](requireModule,_0x1ff59c(0x202)+_0x225b82+_0x1ff59c(0x1ed));}catch{}if(_0x4dc9db['weefz'](this['Reporter'],null))try{this[_0x1ff59c(0x176)]=_0x4dc9db[_0x1ff59c(0x223)](require,_0x225b82);}catch(_0x2b563f){console[_0x1ff59c(0x1b4)](_0x1ff59c(0x175)+_0x225b82);}if(_0x4dc9db[_0x1ff59c(0x208)](this[_0x1ff59c(0x176)],null)){const _0x1d1401={};_0x1d1401[_0x1ff59c(0x1f2)]=_0x34f04d['reporterOption'],this[_0x1ff59c(0x176)]=new this[(_0x1ff59c(0x176))](_0x3ba2b3,_0x1d1401);}}}[a27_0x573995(0x16e)](){const _0x15cccb=a27_0x573995,_0x299ec4={'YBTQi':function(_0x551fe8,_0x24b63a){return _0x551fe8(_0x24b63a);}};return _0x299ec4['YBTQi'](Array,this[_0x15cccb(0x1cd)])['join']('\x20\x20');}[a27_0x573995(0x1ce)](){const _0x36febb=a27_0x573995;this[_0x36febb(0x1cd)]++;}[a27_0x573995(0x205)](){this['_indents']--;}['docAppend'](_0xfff8fe){const _0x508b2d=a27_0x573995;this[_0x508b2d(0x17c)]+=_0xfff8fe;}[a27_0x573995(0x22e)](_0x208f68,_0x49ad69){const _0x1c3aa9=a27_0x573995,_0x28730d={'uRfom':function(_0x4611f7,_0x59edd2){return _0x4611f7(_0x59edd2);}},_0x4708bf={};_0x4708bf[_0x1c3aa9(0x1f6)]=_0x208f68,_0x4708bf[_0x1c3aa9(0x236)]=this[_0x1c3aa9(0x210)],_0x28730d[_0x1c3aa9(0x252)](_0x49ad69,_0x4708bf);}[a27_0x573995(0x18d)](){const _0xd4cc9c=a27_0x573995;process[_0xd4cc9c(0x195)](_0xd4cc9c(0x1a4)+process[_0xd4cc9c(0x209)]),process['on'](_0xd4cc9c(0x1a4)+process[_0xd4cc9c(0x209)],this[_0xd4cc9c(0x166)][_0xd4cc9c(0x1e7)](this)),process['removeAllListeners'](_0xd4cc9c(0x206)+process['pid']),process['on'](_0xd4cc9c(0x206)+process[_0xd4cc9c(0x209)],this[_0xd4cc9c(0x1a9)][_0xd4cc9c(0x1e7)](this));}[a27_0x573995(0x17d)]=async _0x1baa1f=>{const _0x5905ee=a27_0x573995,_0xed826a={'eOJsh':function(_0x162309){return _0x162309();},'anUDX':function(_0x3674e8,_0x5eab09){return _0x3674e8>_0x5eab09;},'ZweQB':function(_0x25a75f,_0x35f57b){return _0x25a75f===_0x35f57b;},'lrrMD':_0x5905ee(0x249),'StxTL':function(_0x36081f,_0x4cbd0f){return _0x36081f(_0x4cbd0f);}};try{const _0x35d345=this[_0x5905ee(0x18b)];this['current_test']=_0x1baa1f,_0x1baa1f[_0x5905ee(0x1d9)]=null,_0x1baa1f[_0x5905ee(0x204)]=_0xed826a['eOJsh'](uuidv4),_0x1baa1f[_0x5905ee(0x216)]=new Date()[_0x5905ee(0x157)](),_0xed826a[_0x5905ee(0x14f)](_0x1baa1f[_0x5905ee(0x21a)],0x0)&&_0x35d345&&_0xed826a[_0x5905ee(0x21d)](_0x35d345[_0x5905ee(0x1d8)],_0x1baa1f['title'])?(_0x1baa1f[_0x5905ee(0x1d9)]=_0x35d345['testAnalyticsId'],await this[_0x5905ee(0x26e)](_0x1baa1f,undefined,![],_0xed826a[_0x5905ee(0x25d)]),_0x35d345[_0x5905ee(0x279)]=STATE_FAILED,await this[_0x5905ee(0x26e)](_0x35d345,undefined,!![])):await this['sendTestRunEvent'](_0x1baa1f,undefined,![],_0xed826a[_0x5905ee(0x25d)]);}catch(_0x41c5b4){_0xed826a[_0x5905ee(0x184)](debug,_0x5905ee(0x1bb)+_0x41c5b4);}};[a27_0x573995(0x26e)]=async(_0x3361d6,_0x505106=undefined,_0xf02869=![],_0x4345e9=a27_0x573995(0x1dd))=>{const _0x22aae6=a27_0x573995,_0x356af1={'chbdl':function(_0x27b6c5,_0x5e9112){return _0x27b6c5===_0x5e9112;},'rNxHV':function(_0x2e890a,_0x4860ca){return _0x2e890a!==_0x4860ca;},'bFnZm':_0x22aae6(0x1fc),'trKMI':'err','lYSvD':function(_0x77a698,_0xa5f2c){return _0x77a698!==_0xa5f2c;},'HfCjS':_0x22aae6(0x263),'uyrxW':_0x22aae6(0x24f),'ndWkA':'javascript','keLli':'TestRunSkipped','NjHnU':_0x22aae6(0x1b5),'hToqk':function(_0x21928a,_0x23556a){return _0x21928a-_0x23556a;},'jzoDP':_0x22aae6(0x158),'GfZpe':'UnhandledError','mUUst':function(_0x3731cb,_0x3fc643){return _0x3731cb===_0x3fc643;},'bPvke':'started_at','KuRhf':_0x22aae6(0x20c),'VrZoD':function(_0x24219e,_0x5b2c1f){return _0x24219e(_0x5b2c1f);},'qBXHw':function(_0x579ff0,_0x476243){return _0x579ff0===_0x476243;},'HsVcu':_0x22aae6(0x181),'eozPm':_0x22aae6(0x168),'BEnGd':_0x22aae6(0x1c1),'cOZkU':function(_0x34aee2,_0x3895c4){return _0x34aee2===_0x3895c4;},'XQTBS':'before\x20each','KarSm':'failure','FonFg':_0x22aae6(0x1e6),'Ybmvu':_0x22aae6(0x151),'zlFSk':'failure_reason_expanded','fctXJ':_0x22aae6(0x1ac),'MmcbQ':_0x22aae6(0x1dd),'AWKfv':function(_0xbff8d,_0x20e26b){return _0xbff8d===_0x20e26b;},'XYpPN':_0x22aae6(0x1ec),'najTm':'hook_run','kyyKb':_0x22aae6(0x17a),'cWnNg':function(_0x383725,_0x53ccf0){return _0x383725(_0x53ccf0);}};try{if(_0x3361d6[_0x22aae6(0x188)]&&_0x3361d6[_0x22aae6(0x188)][_0x22aae6(0x267)](/browserstack internal helper hook/))return;let _0x1ea81a=[];if(_0x356af1[_0x22aae6(0x193)](_0x3361d6[_0x22aae6(0x279)],STATE_FAILED)){if(_0x356af1[_0x22aae6(0x1d4)](_0x3361d6[_0x22aae6(0x1a2)],undefined))_0x1ea81a=_0x3361d6[_0x22aae6(0x1a2)][_0x22aae6(0x19b)]?[_0x3361d6[_0x22aae6(0x1a2)][_0x22aae6(0x19b)],_0x356af1[_0x22aae6(0x242)]]:[_0x3361d6[_0x22aae6(0x1a2)],_0x356af1['trKMI']];else _0x356af1[_0x22aae6(0x25c)](_0x505106,undefined)?_0x1ea81a=[_0x505106,_0x356af1['trKMI']]:_0x1ea81a=[];}const _0x38d565=_0x356af1[_0x22aae6(0x25c)](_0x3361d6['err'],undefined)?_0x3361d6['err'][_0x22aae6(0x1b0)]():_0x356af1[_0x22aae6(0x25c)](_0x505106,undefined)?_0x505106[_0x22aae6(0x1b0)]():undefined;let _0x16b244;try{_0x16b244=this[_0x22aae6(0x1b7)](_0x3361d6);}catch(_0x36fc3f){_0x16b244=null;}const _0x237f5c=_0x16b244?this['findGitConfig'](_0x16b244):null,_0x226867=_0x16b244?this['_paths']['prefixTestPath'](this[_0x22aae6(0x1b7)](_0x3361d6)):_0x356af1[_0x22aae6(0x1d6)],_0x20863f={'framework':_0x356af1['uyrxW'],'uuid':_0x3361d6[_0x22aae6(0x204)]||_0x3361d6['hookAnalyticsId'],'name':_0x3361d6[_0x22aae6(0x1d8)],'body':{'lang':_0x356af1[_0x22aae6(0x260)],'code':_0x3361d6['body']},'scope':this[_0x22aae6(0x262)](_0x3361d6),'scopes':this[_0x22aae6(0x203)](_0x3361d6),'identifier':_0x3361d6[_0x22aae6(0x23b)](),'file_name':_0x226867,'vc_filepath':_0x237f5c?path[_0x22aae6(0x1ca)](_0x237f5c,_0x16b244):null,'location':_0x226867,'result':_0x356af1[_0x22aae6(0x193)](_0x4345e9,_0x356af1['keLli'])?_0x356af1[_0x22aae6(0x1cb)]:this[_0x22aae6(0x20d)](_0x3361d6[_0x22aae6(0x279)]),'failure_reason':_0x38d565,'duration_in_ms':_0x3361d6[_0x22aae6(0x155)]||(_0x4345e9[_0x22aae6(0x267)](/Finished/)||_0x4345e9[_0x22aae6(0x267)](/Skipped/)?_0x356af1[_0x22aae6(0x19c)](Date['now'](),new Date(_0x3361d6[_0x22aae6(0x216)])[_0x22aae6(0x199)]()):null),'started_at':_0x3361d6[_0x22aae6(0x216)],'finished_at':_0x4345e9['match'](/Finished/)||_0x4345e9[_0x22aae6(0x267)](/Skipped/)?new Date()[_0x22aae6(0x157)]():null,'failure':failureData['apply'](null,_0x1ea81a),'failure_type':!_0x38d565?null:_0x38d565['match'](/AssertionError/)?_0x356af1['jzoDP']:_0x356af1[_0x22aae6(0x164)],'retry_of':_0x3361d6[_0x22aae6(0x1d9)]};testhubUtils[_0x22aae6(0x1fb)](_0x20863f,_0x4345e9,_0x3361d6,FRAMEWORKS['MOCHA']);_0x356af1[_0x22aae6(0x16d)](_0x4345e9,_0x356af1[_0x22aae6(0x15b)])&&!_0x20863f[_0x356af1['bPvke']]&&(_0x20863f[_0x356af1['bPvke']]=_0x20863f[_0x356af1[_0x22aae6(0x25f)]]);if(_0x4345e9[_0x22aae6(0x267)](/HookRun/))[_0x20863f[_0x22aae6(0x1ec)],_0x20863f[_0x22aae6(0x21e)]]=_0x356af1[_0x22aae6(0x22c)](getHookDetails,_0x3361d6[_0x22aae6(0x23b)]()||_0x3361d6['originalTitle']||_0x3361d6['title']),_0x356af1[_0x22aae6(0x224)](_0x4345e9,_0x356af1[_0x22aae6(0x174)])&&(_0x356af1['lYSvD'](_0x20863f[_0x22aae6(0x243)],_0x356af1['eozPm'])&&(_0x20863f[_0x22aae6(0x243)]=_0x356af1['BEnGd']),_0x356af1['cOZkU'](_0x20863f[_0x22aae6(0x1ec)],_0x356af1[_0x22aae6(0x15c)])&&_0x356af1[_0x22aae6(0x16d)](_0x20863f[_0x22aae6(0x243)],_0x356af1[_0x22aae6(0x26b)])&&!_0x3361d6[_0x22aae6(0x1e9)][_0x22aae6(0x23f)][_0x22aae6(0x1e4)]&&(_0x3361d6[_0x22aae6(0x1e9)][_0x22aae6(0x23f)][_0x22aae6(0x1e4)]=!![],_0x3361d6['ctx'][_0x22aae6(0x23f)]['state']=STATE_FAILED,await this[_0x22aae6(0x26e)](_0x3361d6['ctx'][_0x22aae6(0x23f)],undefined,!![])));else _0x4345e9[_0x22aae6(0x267)](/TestRun/)&&_0x356af1['VrZoD'](mapTestHooks,_0x3361d6);const _0x4a62a8=_0x20863f[_0x356af1[_0x22aae6(0x1f7)]][0x0];_0x4a62a8&&(_0x20863f[_0x356af1[_0x22aae6(0x172)]]=_0x4a62a8[_0x356af1[_0x22aae6(0x273)]],_0x20863f[_0x356af1[_0x22aae6(0x1fa)]]=_0x4a62a8[_0x356af1['fctXJ']]);[_0x356af1[_0x22aae6(0x1db)],_0x356af1[_0x22aae6(0x15b)]][_0x22aae6(0x153)](_0x4345e9)&&(this[_0x22aae6(0x19a)][_0x22aae6(0x238)](_0x20863f),_0x20863f[_0x22aae6(0x215)]=_0x356af1['VrZoD'](getHooksForTest,_0x3361d6));const _0x42b5f2={'event_type':_0x356af1['AWKfv'](_0x4345e9,_0x356af1[_0x22aae6(0x15b)])?_0x356af1[_0x22aae6(0x1db)]:_0x4345e9};_0x4345e9[_0x22aae6(0x267)](/HookRun/)?(_0x20863f[_0x356af1[_0x22aae6(0x1f0)]]=HOOK_TYPES_MAP[_0x20863f[_0x356af1[_0x22aae6(0x1f0)]]],_0x42b5f2[_0x356af1[_0x22aae6(0x256)]]=_0x20863f):_0x42b5f2[_0x356af1[_0x22aae6(0x19d)]]=_0x20863f,testhubUtils[_0x22aae6(0x1e1)](FRAMEWORKS[_0x22aae6(0x244)],_0x42b5f2),await SessionHandler[_0x22aae6(0x1ee)](_0x42b5f2);}catch(_0x5da340){_0x356af1['cWnNg'](debug,_0x22aae6(0x246)+_0x4345e9+_0x22aae6(0x21f)+_0x5da340);}};[a27_0x573995(0x218)](_0x7932bf){const _0x2a0e0f=a27_0x573995,_0x4c86d1={};_0x4c86d1[_0x2a0e0f(0x24b)]=function(_0x10f574,_0x1dea7d){return _0x10f574===_0x1dea7d;},_0x4c86d1['DabGi']=function(_0x52b228,_0x824efb){return _0x52b228===_0x824efb;},_0x4c86d1[_0x2a0e0f(0x239)]=_0x2a0e0f(0x1f5),_0x4c86d1[_0x2a0e0f(0x194)]=_0x2a0e0f(0x182);const _0x5bdbdb=_0x4c86d1,_0x3a1421=path[_0x2a0e0f(0x16c)];if(_0x5bdbdb[_0x2a0e0f(0x24b)](_0x7932bf,null)||_0x5bdbdb[_0x2a0e0f(0x1ab)](_0x7932bf,'')||_0x5bdbdb[_0x2a0e0f(0x24b)](_0x7932bf,_0x3a1421)||_0x5bdbdb[_0x2a0e0f(0x1ab)](_0x7932bf,path[_0x2a0e0f(0x179)](_0x7932bf)))return null;try{return fs['statSync'](path[_0x2a0e0f(0x1be)](_0x7932bf,_0x5bdbdb[_0x2a0e0f(0x239)],_0x5bdbdb[_0x2a0e0f(0x194)])),_0x7932bf;}catch(_0x2dadf1){const _0x3a4a01=path[_0x2a0e0f(0x179)](_0x7932bf);return this[_0x2a0e0f(0x218)](_0x3a4a01);}}[a27_0x573995(0x166)]=async _0x58cf9f=>{const _0x138d45=a27_0x573995,_0x5e5034={'huVSb':_0x138d45(0x24d),'XtsmF':function(_0x8737d7,_0x3abd4f){return _0x8737d7(_0x3abd4f);}};try{this[_0x138d45(0x22d)]&&!this[_0x138d45(0x22d)][_0x138d45(0x1e4)]&&(_0x58cf9f[_0x138d45(0x234)]=this['current_hook'][_0x138d45(0x251)]);!_0x58cf9f[_0x138d45(0x234)]&&this['current_test']&&!this['current_test'][_0x138d45(0x1e4)]&&(_0x58cf9f[_0x138d45(0x220)]=this[_0x138d45(0x18b)][_0x138d45(0x204)]);if(_0x58cf9f[_0x138d45(0x234)]||_0x58cf9f[_0x138d45(0x220)]){const _0x966182={};_0x966182[_0x138d45(0x15e)]=_0x5e5034[_0x138d45(0x1f1)],_0x966182['logs']=[_0x58cf9f],await SessionHandler[_0x138d45(0x1ee)](_0x966182);}}catch(_0x290323){_0x5e5034[_0x138d45(0x1d2)](debug,_0x138d45(0x241)+_0x290323);}};['appendTestPlatform']=async _0x29f118=>{const _0x1ea398=a27_0x573995,_0x4c7b51={'yGSCx':_0x1ea398(0x1b6),'UEZvB':_0x1ea398(0x26d),'jjnjj':function(_0x400263,_0x230733){return _0x400263(_0x230733);}};try{const _0x365e80={};_0x365e80['uuid']=_0x29f118[_0x1ea398(0x22a)]||this['current_test'][_0x1ea398(0x204)],_0x365e80[_0x1ea398(0x274)]=_0x29f118[_0x4c7b51[_0x1ea398(0x23c)]];const _0x5d5fbb=_0x365e80,_0x282671={};_0x282671[_0x1ea398(0x15e)]=_0x4c7b51[_0x1ea398(0x1df)],_0x282671[_0x1ea398(0x17a)]=_0x5d5fbb,await SessionHandler[_0x1ea398(0x1ee)](_0x282671);}catch(_0x5d7f34){_0x4c7b51[_0x1ea398(0x1ba)](debug,_0x1ea398(0x15a)+_0x5d7f34);}};['analyticsResult'](_0x19768f){const _0x13908c=a27_0x573995,_0x51b708={};_0x51b708['JuxTr']=_0x13908c(0x1c1),_0x51b708[_0x13908c(0x1c8)]=_0x13908c(0x180),_0x51b708['vRRuG']=_0x13908c(0x168);const _0x102fac=_0x51b708,_0x34598a={};return _0x34598a[STATE_PASSED]=_0x102fac['JuxTr'],_0x34598a[STATE_PENDING]=_0x102fac[_0x13908c(0x1c8)],_0x34598a[STATE_FAILED]=_0x102fac['vRRuG'],_0x34598a[_0x19768f];}['scope'](_0x562283){const _0x8e7824=a27_0x573995,_0x4621be={};_0x4621be[_0x8e7824(0x191)]=function(_0x5dd24d,_0x41c0eb){return _0x5dd24d-_0x41c0eb;};const _0x3ee87f=_0x4621be,_0x343227=_0x562283[_0x8e7824(0x25e)]();return _0x343227[_0x8e7824(0x15d)](0x0,_0x3ee87f['PCbxN'](_0x343227[_0x8e7824(0x1a7)],0x1))[_0x8e7824(0x1be)]('\x20');}[a27_0x573995(0x203)](_0x1af560){const _0x4d57ac=a27_0x573995,_0x3d9689={};_0x3d9689[_0x4d57ac(0x1c9)]=function(_0xa83e82,_0x58e2f7){return _0xa83e82-_0x58e2f7;};const _0x254d32=_0x3d9689,_0x5eb74d=_0x1af560[_0x4d57ac(0x25e)]();return _0x5eb74d[_0x4d57ac(0x15d)](0x0,_0x254d32[_0x4d57ac(0x1c9)](_0x5eb74d[_0x4d57ac(0x1a7)],0x1));}[a27_0x573995(0x1b7)](_0x1285db){const _0x5a3420=a27_0x573995,_0x2e0134={};_0x2e0134['lddrR']=function(_0x1e2f4e,_0x1cc29a){return _0x1e2f4e>_0x1cc29a;};const _0x289858=_0x2e0134;if(_0x1285db[_0x5a3420(0x261)])return _0x1285db[_0x5a3420(0x261)];if(_0x1285db[_0x5a3420(0x1e9)]){const _0x5d19fc=_0x1285db[_0x5a3420(0x1e9)]['currentTest']?this[_0x5a3420(0x1b7)](_0x1285db['ctx'][_0x5a3420(0x23f)]):null;if(_0x5d19fc)return _0x5d19fc;}if(_0x1285db['parent']){const _0x10867a=this['getRootParentFile'](_0x1285db[_0x5a3420(0x226)])||(_0x1285db[_0x5a3420(0x226)]['ctx']&&_0x1285db[_0x5a3420(0x226)]['ctx'][_0x5a3420(0x23f)]?this['getRootParentFile'](_0x1285db[_0x5a3420(0x226)][_0x5a3420(0x1e9)]['currentTest']):null);if(_0x10867a)return _0x10867a;_0x1285db[_0x5a3420(0x226)][_0x5a3420(0x20a)]&&_0x289858['lddrR'](_0x1285db[_0x5a3420(0x226)][_0x5a3420(0x20a)][_0x5a3420(0x1a7)],0x0)&&_0x1285db['parent'][_0x5a3420(0x20a)][_0x5a3420(0x1bc)](_0x2ea91d=>{const _0x2d157f=_0x5a3420,_0x23a359=_0x2ea91d[_0x2d157f(0x1e9)]?this[_0x2d157f(0x1b7)](_0x2ea91d['ctx']):null;if(_0x23a359)return _0x23a359;});}return null;}}module['exports']=MyReporter;
1
+ 'use strict';const a27_0x26bece=a27_0x4cc6;(function(_0x4114fd,_0x1bbdf6){const _0x58d2d4=a27_0x4cc6,_0x1b4f3b=_0x4114fd();while(!![]){try{const _0x1a5c83=-parseInt(_0x58d2d4(0x265))/0x1*(-parseInt(_0x58d2d4(0x252))/0x2)+-parseInt(_0x58d2d4(0x28c))/0x3*(parseInt(_0x58d2d4(0x271))/0x4)+parseInt(_0x58d2d4(0x227))/0x5+parseInt(_0x58d2d4(0x208))/0x6*(-parseInt(_0x58d2d4(0x175))/0x7)+parseInt(_0x58d2d4(0x256))/0x8*(-parseInt(_0x58d2d4(0x262))/0x9)+parseInt(_0x58d2d4(0x1e7))/0xa*(parseInt(_0x58d2d4(0x17e))/0xb)+parseInt(_0x58d2d4(0x187))/0xc;if(_0x1a5c83===_0x1bbdf6)break;else _0x1b4f3b['push'](_0x1b4f3b['shift']());}catch(_0x286939){_0x1b4f3b['push'](_0x1b4f3b['shift']());}}}(a27_0x4631,0xb47bd));function a27_0x4631(){const _0x334742=['err','../../../helpers/test-observability/requestQueueHandler','HxwQq','tmkyK','../../../helpers/testhub/constants','LajvK','mocha/lib/reporters/base.js','SAUFZ','join','../../../helpers/testhub/utils','41010xceTKe','Oyctd','hookAnalyticsId','scope','vDDaD','WpuhM','light','clean','oELkD','NHzsj','zPCmq','rmDku','speed','suite','_currentRetry','comma','CTemd','lZXlC','increaseIndent','XcBtD','rwMTU','Yeybr','CgKzh','../../../helpers/test-observability/constants','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','testObservability','event_type','dirname','registerListeners','\x20\x20<dt\x20class=\x22error\x22>','TNjWB','621680VuRcrJ','zaAwS','removeAllListeners','now','hBauD','failure_backtrace','analyticsResult','__indents','sendTestRunEvent','File\x20path\x20could\x20not\x20be\x20found','</dd>','test','shouldProcessEventForTesthub','lSnHn','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','current_hook','ghhkh','pending','</dt>','hooks','KDEna','IauiX','KJuVQ','CoQoF','fHzqc','state','consoleLog','test_run_uuid','symbols','AcsHY','xAOiU','testStarted','pPrXq','eDryn','vySYW','hAstu','root','EVENT','\x20\x20<dt>','QLDXX','zGBOE','VYTQq','stdout','18342ZxwhJp','WJcQI','Failed\x20to\x20load\x20reporter\x20','scopes','35192bwtqnv','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','finalResults','TGjZV','mocha/lib/runnable.js','bind','_testResults','<section\x20class=\x22suite\x22>','duration','match','MOCHA','\x20(%dms)','2862kHhAOe','relative','\x20%s','151VXoica','parent','LjFQj','pMuWD','__platform__','file','name','retryOf','kEzEQ','lMMHC','AaztJ','failCount','68zFcFLJ','appendTestPlatform','../../../helpers/test-observability/sessionHandler','currentRetry','EHTrg','Rbcqc','SZraM','config','Ekfgg','forEach','hook_run','spec','AJXuK','.js','xjEvc','split','BEFORE_ALL','WaYKt','FGwAa','includes','DNXmQ','<dl>','jwzuN','color','length','shutdown','ssZQr','78435Plsmjn','SvHio','../../../helpers/helper','mKJPM','failure','failure_reason_expanded','XmyvD','EQSvM','\x20\x20<dd\x20class=\x22error\x22><pre><code>','body','HookRunFinished','otyZc','WzuVs','escape','getInstance','before\x20each','bs:addLog:','gHWnR','ESCuc','TestRunStarted','title','currentTest','checkmark','dot','WPkcA','%s\x20','HdTew','appendTestItemLog','63xmaOTT','bs:addPlatformDetails:','trim','HookStarted','_buildCreated','after\x20each','javascript','pass','multiple','33lITYwS','CBTSessionCreated','cwd','Qdcwd','reporterOption','sqROQ','results','tSQRo','DXBtz','10439928obFiPH','kNPPR','eaUJS','CyHmo','fullTitle','XpCPh','nTivc','sep','jnaWl','passed','SzdMG','current_test','mcdqa','getTime','fail','expanded','Yrhnk','\x20\x20%d)\x20%s','MgSBo','testAnalyticsId','decreaseIndent','TestRunSkipped','LdzWX','dUnVe','uploadEventData','qSDen','</code></pre></dd>','prototype','logs','AssertionError','<h1>','once','uuid','_indents','nVZDq','wgImD','WvEaC','\x20\x20<dd\x20class=\x22error\x22>','suites','indent','mocha/lib/reporters/','getRootParentFile','eNCpP','ClzIP','call','mocha/lib/utils.js','setCurrentTestData','QTXVS','prefixTestPath','BvKqa','constants','apply','mocha','pid','xTEul','findGitConfig','before\x20all','hook_type','Rurjl','.git','fsucq','HookRunStarted','kIEEb','qYbPo','UnhandledError','_testEnv','type','ctx','RUNNING','CvkHS','jVuqS','YYLyB','toISOString','TpIRV','failed','bright\x20yellow','eNjoX','write','push','FaSRf','Reporter','slice','reporterOptions','test_run','started_at','\x20-\x20','CmYTc','uAeAI','runner','slow','cWJaA','inspect','docAppend','isPending','\x20with\x20error\x20:\x20','hook_run_uuid','883240ZMeuzA','_paths','finished_at','result','TestRunFinished','markedStatus','UwxGV','bdbax','dYqjJ','backtrace','oDEOY','GLXTz','HookFinished','BHLeX','DEAme','PUUuD','docHtml','titlePath','prjmA','xunit','cMDuo','NSKTw','xdwuU'];a27_0x4631=function(){return _0x334742;};return a27_0x4631();}const util=require('util'),fs=require('fs'),path=require('path'),{requireModule}=require(a27_0x26bece(0x28e)),Base=requireModule(a27_0x26bece(0x204)),utils=requireModule(a27_0x26bece(0x1b4)),color=Base['color'],Mocha=requireModule(a27_0x26bece(0x1bb)),Runnable=requireModule(a27_0x26bece(0x25a)),{v4:uuidv4}=require(a27_0x26bece(0x1a7)),bsSetupHelper=require(a27_0x26bece(0x28e)),testhubUtils=require(a27_0x26bece(0x207)),testHubConstants=require(a27_0x26bece(0x202)),{FRAMEWORKS}=require(a27_0x26bece(0x21f)),a27_0x3e5203={};a27_0x3e5203[a27_0x26bece(0x1bf)]=a27_0x26bece(0x281),a27_0x3e5203['after\x20all']='AFTER_ALL',a27_0x3e5203[a27_0x26bece(0x168)]='BEFORE_EACH',a27_0x3e5203[a27_0x26bece(0x17a)]='AFTER_EACH';function a27_0x4cc6(_0x393c0c,_0x3c1d95){const _0x46310f=a27_0x4631();return a27_0x4cc6=function(_0x4cc6bf,_0x3c61a2){_0x4cc6bf=_0x4cc6bf-0x166;let _0x11c88f=_0x46310f[_0x4cc6bf];return _0x11c88f;},a27_0x4cc6(_0x393c0c,_0x3c1d95);}const HOOK_TYPES_MAP=a27_0x3e5203,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha['Runner'][a27_0x26bece(0x1b9)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x26bece(0x1b9)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require(a27_0x26bece(0x21f)),SessionHandler=require(a27_0x26bece(0x273)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a27_0x26bece(0x1ff)),requestQueueHandler=RequestQueueHandler[a27_0x26bece(0x167)]();class MyReporter{constructor(_0x28a413,_0x3340b8){const _0x41754f=a27_0x26bece,_0x44b801={'DEAme':function(_0x2c2679,_0x2e4bb9){return _0x2c2679===_0x2e4bb9;},'qSDen':_0x41754f(0x27c),'WzuVs':function(_0x49656b,_0x538b01){return _0x49656b+_0x538b01;},'ssZQr':function(_0x6a18db,_0x3f3c8c){return _0x6a18db+_0x3f3c8c;},'sqROQ':function(_0x11e270,_0xc6adc5,_0x3c2978){return _0x11e270(_0xc6adc5,_0x3c2978);},'xAOiU':'green','SzdMG':_0x41754f(0x172),'fsucq':_0x41754f(0x20e),'WPkcA':'%s\x20-\x20%s','BvKqa':_0x41754f(0x1cb),'dYqjJ':'doc','kIEEb':function(_0x1fc906){return _0x1fc906();},'NSKTw':_0x41754f(0x1c4),'QTXVS':'HookRunFinished','WpuhM':function(_0x56b76,_0xe71b64){return _0x56b76===_0xe71b64;},'oDEOY':_0x41754f(0x190),'fHzqc':'fast','XpCPh':function(_0x52aca7,_0x499343){return _0x52aca7+_0x499343;},'ghhkh':function(_0x54349d,_0x3f2527,_0x5ab484){return _0x54349d(_0x3f2527,_0x5ab484);},'eRMdL':_0x41754f(0x16f),'vMYjC':function(_0x36f62e,_0x59878b,_0x55e714){return _0x36f62e(_0x59878b,_0x55e714);},'eDryn':_0x41754f(0x17c),'JXOzM':_0x41754f(0x264),'KDEna':function(_0x5313cb,_0xf2d8db){return _0x5313cb+_0xf2d8db;},'LajvK':function(_0x76a213,_0x42704c){return _0x76a213+_0x42704c;},'qYbPo':function(_0x15d555,_0x44ccd5,_0xb64045){return _0x15d555(_0x44ccd5,_0xb64045);},'GLXTz':function(_0x35168c,_0xb7c59d,_0x5280f8){return _0x35168c(_0xb7c59d,_0x5280f8);},'otyZc':_0x41754f(0x261),'LjFQj':_0x41754f(0x195),'Ekfgg':_0x41754f(0x198),'fhwNJ':function(_0x11e648,_0x3daa71){return _0x11e648+_0x3daa71;},'AcnNX':function(_0x350069,_0x25dbf3){return _0x350069+_0x25dbf3;},'OeHLx':_0x41754f(0x1d2),'XmyvD':'COMPLETED','PhqHZ':function(_0x125f56,_0x3ec963){return _0x125f56===_0x3ec963;},'WaYKt':_0x41754f(0x170),'jnaWl':function(_0x1d670a,_0x49c8ad){return _0x1d670a===_0x49c8ad;},'CgKzh':_0x41754f(0x1e0),'AaztJ':function(_0xf32aa9,_0x5d16ca){return _0xf32aa9===_0x5d16ca;},'tmkyK':function(_0x522232,_0x16f25b){return _0x522232===_0x16f25b;},'pPrXq':function(_0x5cd151,_0x56bfb6){return _0x5cd151===_0x56bfb6;},'EpMGi':function(_0x5b8a6e,_0x3b1f3a){return _0x5b8a6e===_0x3b1f3a;},'hAstu':'4|0|1|3|2','wgImD':_0x41754f(0x238),'kEzEQ':function(_0x30eb8d,_0x5cd621){return _0x30eb8d===_0x5cd621;},'EQSvM':_0x41754f(0x19c),'CvkHS':function(_0x4f1f08,_0x517800){return _0x4f1f08===_0x517800;},'eNCpP':function(_0xa2ce5b,_0x1369bb){return _0xa2ce5b(_0x1369bb);},'YYLyB':function(_0x317f57){return _0x317f57();},'QLDXX':function(_0x12779d,_0x35802e){return _0x12779d(_0x35802e);},'cMDuo':function(_0x4d50e6,_0x3dbcb4){return _0x4d50e6===_0x3dbcb4;},'KJuVQ':function(_0x407e8b){return _0x407e8b();},'uAeAI':function(_0x12478b,_0x2b8feb){return _0x12478b===_0x2b8feb;},'vDDaD':_0x41754f(0x1fa),'eNjoX':function(_0x394a9b,_0x10984a){return _0x394a9b(_0x10984a);},'AJXuK':function(_0x5f9181,_0x1697e3){return _0x5f9181===_0x1697e3;},'VYTQq':function(_0x35fd99,_0x4be005){return _0x35fd99!==_0x4be005;}};this[_0x41754f(0x1c9)]=_0x3340b8[_0x41754f(0x182)][_0x41754f(0x1c9)],this[_0x41754f(0x221)]=_0x44b801[_0x41754f(0x23d)](isTestObservabilitySession),Base[_0x41754f(0x1b3)](this,_0x28a413,_0x3340b8),this[_0x41754f(0x1a8)]=0x0,this[_0x41754f(0x270)]=0x0,this[_0x41754f(0x184)]=[],this[_0x41754f(0x258)]=[],this['suiteCount']=0x0,this[_0x41754f(0x179)]=![],this[_0x41754f(0x25c)]=[],this[_0x41754f(0x1c8)]=_0x44b801['kIEEb'](getTestEnv),this[_0x41754f(0x1e8)]=new PathHelper({'cwd':process[_0x41754f(0x180)]()},this[_0x41754f(0x1c8)]['location_prefix']),this['_upstreamConfig']=_0x3340b8[_0x41754f(0x182)]['bsConfig'],this[_0x41754f(0x224)]();_0x44b801[_0x41754f(0x1de)](this[_0x41754f(0x1c9)],_0x44b801[_0x41754f(0x1ef)])&&(this[_0x41754f(0x1f7)]='',this[_0x41754f(0x22e)]=0x2);_0x28a413[_0x41754f(0x1a6)](EVENT_RUN_BEGIN,async()=>{const _0x89a619=_0x41754f;_0x44b801[_0x89a619(0x1f5)](this[_0x89a619(0x1c9)],_0x44b801[_0x89a619(0x1a0)])&&Base[_0x89a619(0x241)]();})['on'](EVENT_SUITE_BEGIN,_0x2c1d71=>{const _0x373e56=_0x41754f;if(_0x2c1d71['root'])return;if(_0x44b801[_0x373e56(0x1f5)](this[_0x373e56(0x1c9)],_0x44b801[_0x373e56(0x1a0)]))this[_0x373e56(0x21a)](),Base[_0x373e56(0x241)](_0x44b801[_0x373e56(0x298)](_0x44b801['ssZQr'](this[_0x373e56(0x1ae)](),_0x44b801[_0x373e56(0x183)](color,_0x44b801[_0x373e56(0x245)],_0x44b801['SzdMG'])),_0x44b801['sqROQ'](color,_0x44b801[_0x373e56(0x1c3)],_0x44b801['WPkcA'])),_0x44b801[_0x373e56(0x1b8)],_0x2c1d71['title'],global[_0x373e56(0x269)]);else _0x44b801[_0x373e56(0x1f5)](this[_0x373e56(0x1c9)],_0x44b801[_0x373e56(0x1ef)])&&(this[_0x373e56(0x1e3)](this['indent']()+_0x373e56(0x25d)),++this['__indents'],this['docAppend'](this[_0x373e56(0x1ae)]()+_0x373e56(0x1a5)+utils[_0x373e56(0x166)](_0x2c1d71[_0x373e56(0x16d)]+_0x373e56(0x1dc)+global['__platform__'])+'</h1>'),this['docAppend'](this[_0x373e56(0x1ae)]()+_0x373e56(0x286)));})['on'](EVENT_HOOK_BEGIN,async _0xb4f158=>{const _0xe34f81=_0x41754f;if(_0x44b801[_0xe34f81(0x1f5)](testhubUtils[_0xe34f81(0x233)](testHubConstants['EVENT'][_0xe34f81(0x178)]),!![])){if(!_0xb4f158[_0xe34f81(0x20a)])_0xb4f158[_0xe34f81(0x20a)]=_0x44b801['kIEEb'](uuidv4);else _0xb4f158[_0xe34f81(0x1ec)]&&(_0xb4f158[_0xe34f81(0x20a)]=_0x44b801[_0xe34f81(0x1c5)](uuidv4),delete _0xb4f158['markedStatus']);_0xb4f158[_0xe34f81(0x1db)]=new Date()[_0xe34f81(0x1cf)](),this[_0xe34f81(0x236)]=_0xb4f158,await this[_0xe34f81(0x22f)](_0xb4f158,undefined,![],_0x44b801[_0xe34f81(0x1fc)]);}})['on'](EVENT_HOOK_END,async _0x17d2ce=>{const _0x3f996f=_0x41754f;_0x44b801[_0x3f996f(0x1f5)](testhubUtils[_0x3f996f(0x233)](testHubConstants[_0x3f996f(0x24c)][_0x3f996f(0x1f3)]),!![])&&(!_0x17d2ce[_0x3f996f(0x1ec)]&&(_0x17d2ce[_0x3f996f(0x1ec)]=!![],await this['sendTestRunEvent'](_0x17d2ce,undefined,![],_0x44b801['QTXVS'])));})['on'](EVENT_SUITE_END,_0x39232a=>{const _0xb4211b=_0x41754f,_0x2d04e9={'pMuWD':function(_0xeddf7b,_0xf7f6a2){const _0x18ede0=a27_0x4cc6;return _0x44b801[_0x18ede0(0x20d)](_0xeddf7b,_0xf7f6a2);},'TpIRV':_0x44b801[_0xb4211b(0x1f1)],'dUnVe':function(_0x51b8f9,_0x170888){const _0x53e654=_0xb4211b;return _0x44b801[_0x53e654(0x1f5)](_0x51b8f9,_0x170888);},'FjuyM':_0x44b801[_0xb4211b(0x23f)],'prjmA':function(_0x2e01ad,_0x331da2){const _0xeb7edb=_0xb4211b;return _0x44b801[_0xeb7edb(0x18c)](_0x2e01ad,_0x331da2);},'NHzsj':function(_0x383f6e,_0x1e105b){const _0x245de5=_0xb4211b;return _0x44b801[_0x245de5(0x28b)](_0x383f6e,_0x1e105b);},'Rbcqc':function(_0x25f7bf,_0x153085,_0x389705){const _0x3de3aa=_0xb4211b;return _0x44b801[_0x3de3aa(0x237)](_0x25f7bf,_0x153085,_0x389705);},'bdbax':_0x44b801['eRMdL'],'EHTrg':function(_0x2bbb32,_0x403314,_0x3ded39){return _0x44b801['vMYjC'](_0x2bbb32,_0x403314,_0x3ded39);},'rwMTU':_0x44b801[_0xb4211b(0x248)],'xdwuU':_0x44b801['JXOzM'],'FaSRf':function(_0x4a06b7,_0x376624){const _0x3ad988=_0xb4211b;return _0x44b801[_0x3ad988(0x23b)](_0x4a06b7,_0x376624);},'XcBtD':function(_0x4b8e4d,_0x24eb21){const _0xe5a9a1=_0xb4211b;return _0x44b801[_0xe5a9a1(0x18c)](_0x4b8e4d,_0x24eb21);},'cWJaA':function(_0x58610a,_0x516d5e){const _0x1abfef=_0xb4211b;return _0x44b801[_0x1abfef(0x203)](_0x58610a,_0x516d5e);},'LdzWX':function(_0x5e57ba,_0x2ca191,_0x11cb36){const _0x4d03e0=_0xb4211b;return _0x44b801[_0x4d03e0(0x1c6)](_0x5e57ba,_0x2ca191,_0x11cb36);},'AVtOP':function(_0x205c8a,_0x5e4954){const _0x9bac6a=_0xb4211b;return _0x44b801[_0x9bac6a(0x18c)](_0x205c8a,_0x5e4954);},'QLlbq':function(_0x2a03b9,_0xe4951c,_0x5a50c6){const _0x2be661=_0xb4211b;return _0x44b801[_0x2be661(0x1f2)](_0x2a03b9,_0xe4951c,_0x5a50c6);},'TGjZV':_0x44b801[_0xb4211b(0x297)],'AcsHY':_0x44b801['LjFQj'],'HxwQq':_0x44b801[_0xb4211b(0x279)]};if(_0x39232a[_0xb4211b(0x24b)])return;if(_0x44b801[_0xb4211b(0x1f5)](this[_0xb4211b(0x1c9)],_0x44b801['qSDen']))Base['consoleLog'](),Base['consoleLog'](_0x44b801['fhwNJ'](_0x44b801['AcnNX'](this[_0xb4211b(0x1ae)](),_0x44b801[_0xb4211b(0x183)](color,_0x44b801['OeHLx'],_0x44b801[_0xb4211b(0x191)])),_0x44b801[_0xb4211b(0x237)](color,_0x44b801['fsucq'],_0x44b801[_0xb4211b(0x171)])),_0x44b801[_0xb4211b(0x292)],_0x39232a[_0xb4211b(0x16d)],global[_0xb4211b(0x269)]),this['results'][_0xb4211b(0x27a)](_0x598d9e=>{const _0x2a49b9=_0xb4211b;if(_0x2d04e9[_0x2a49b9(0x268)](_0x598d9e[_0x2a49b9(0x240)],_0x2d04e9[_0x2a49b9(0x1d0)])){var _0x3db61e;_0x2d04e9[_0x2a49b9(0x19e)](_0x598d9e[_0x2a49b9(0x214)],_0x2d04e9['FjuyM'])?(_0x3db61e=_0x2d04e9[_0x2a49b9(0x1f9)](_0x2d04e9[_0x2a49b9(0x211)](this[_0x2a49b9(0x1ae)](),_0x2d04e9[_0x2a49b9(0x276)](color,_0x2d04e9[_0x2a49b9(0x1ee)],_0x2d04e9[_0x2a49b9(0x211)]('\x20\x20',Base[_0x2a49b9(0x243)]['ok']))),_0x2d04e9[_0x2a49b9(0x275)](color,_0x2d04e9['rwMTU'],_0x2d04e9[_0x2a49b9(0x1fd)])),Base[_0x2a49b9(0x241)](_0x3db61e,_0x598d9e[_0x2a49b9(0x16d)])):(_0x3db61e=_0x2d04e9[_0x2a49b9(0x1d6)](_0x2d04e9[_0x2a49b9(0x21b)](_0x2d04e9[_0x2a49b9(0x1e1)](this[_0x2a49b9(0x1ae)](),_0x2d04e9['LdzWX'](color,_0x2d04e9['bdbax'],_0x2d04e9['AVtOP']('\x20\x20',Base[_0x2a49b9(0x243)]['ok']))),_0x2d04e9['QLlbq'](color,_0x2d04e9[_0x2a49b9(0x21c)],_0x2d04e9[_0x2a49b9(0x1fd)])),_0x2d04e9['LdzWX'](color,_0x598d9e[_0x2a49b9(0x214)],_0x2d04e9[_0x2a49b9(0x259)])),Base['consoleLog'](_0x3db61e,_0x598d9e[_0x2a49b9(0x16d)],_0x598d9e['duration']));}else Base['consoleLog'](_0x2d04e9[_0x2a49b9(0x1f9)](this[_0x2a49b9(0x1ae)](),_0x2d04e9[_0x2a49b9(0x19d)](color,_0x2d04e9[_0x2a49b9(0x244)],_0x2d04e9[_0x2a49b9(0x200)])),++this[_0x2a49b9(0x270)],_0x598d9e[_0x2a49b9(0x16d)]);}),this['decreaseIndent']();else _0x44b801[_0xb4211b(0x1f5)](this[_0xb4211b(0x1c9)],_0x44b801[_0xb4211b(0x1ef)])&&(this['docAppend'](this[_0xb4211b(0x1ae)]()+'</dl>'),--this['__indents'],this[_0xb4211b(0x1e3)](this[_0xb4211b(0x1ae)]()+'</section>'),--this['__indents']);Array[_0xb4211b(0x1a2)]['push'][_0xb4211b(0x1ba)](this[_0xb4211b(0x258)],this['results']),this[_0xb4211b(0x184)]=[];})['on'](EVENT_TEST_PASS,async _0x180c94=>{const _0x55716=_0x41754f;this[_0x55716(0x184)]['push']({'speed':_0x180c94[_0x55716(0x214)],'suite':_0x180c94[_0x55716(0x266)]['title'],'title':_0x180c94[_0x55716(0x16d)],'fullTitle':_0x180c94['fullTitle'](),'duration':_0x180c94[_0x55716(0x25e)],'state':_0x180c94[_0x55716(0x240)],'err':{},'currentRetry':_0x180c94[_0x55716(0x274)](),'titlePathV':_0x180c94[_0x55716(0x1f8)](),'isPending':_0x180c94[_0x55716(0x1e4)]()});if(_0x44b801['PhqHZ'](this[_0x55716(0x1c9)],_0x44b801[_0x55716(0x282)]))_0x44b801[_0x55716(0x18f)](_0x180c94[_0x55716(0x214)],_0x44b801[_0x55716(0x21e)])?process[_0x55716(0x251)][_0x55716(0x1d4)](Base[_0x55716(0x288)](_0x44b801['OeHLx'],Base[_0x55716(0x243)][_0x55716(0x170)])):process[_0x55716(0x251)][_0x55716(0x1d4)](Base[_0x55716(0x288)](_0x180c94[_0x55716(0x214)],Base['symbols']['dot']));else{if(_0x44b801[_0x55716(0x26f)](this[_0x55716(0x1c9)],_0x44b801[_0x55716(0x1ef)])){this[_0x55716(0x1e3)](this['indent']()+_0x55716(0x24d)+utils[_0x55716(0x166)](_0x180c94[_0x55716(0x16d)])+'</dt>'),this[_0x55716(0x1e3)](this['indent']()+_0x55716(0x24d)+utils['escape'](_0x180c94[_0x55716(0x26a)])+'</dt>');var _0x5e5ebb=utils[_0x55716(0x166)](utils[_0x55716(0x20f)](_0x180c94['body']));this[_0x55716(0x1e3)](this[_0x55716(0x1ae)]()+'\x20\x20<dd><pre><code>'+_0x5e5ebb+_0x55716(0x1a1));}}_0x44b801[_0x55716(0x201)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x180c94[_0x55716(0x1ec)]&&(_0x180c94[_0x55716(0x1ec)]=!![],await this[_0x55716(0x22f)](_0x180c94)));})['on'](EVENT_TEST_FAIL,async(_0x559c28,_0x1fcf98)=>{const _0x2451ce=_0x41754f;this[_0x2451ce(0x184)][_0x2451ce(0x1d5)]({'title':_0x559c28[_0x2451ce(0x16d)],'suite':_0x559c28[_0x2451ce(0x266)]['title'],'state':_0x559c28[_0x2451ce(0x240)],'err':{'message':util[_0x2451ce(0x1e2)](_0x1fcf98)},'fullTitle':_0x559c28[_0x2451ce(0x18b)](),'speed':_0x559c28[_0x2451ce(0x214)],'currentRetry':_0x559c28[_0x2451ce(0x274)](),'titlePathV':_0x559c28[_0x2451ce(0x1f8)]()});if(_0x44b801['pPrXq'](this[_0x2451ce(0x1c9)],_0x44b801[_0x2451ce(0x282)]))process['stdout'][_0x2451ce(0x1d4)](Base[_0x2451ce(0x288)](_0x44b801[_0x2451ce(0x267)],Base[_0x2451ce(0x243)]['bang']));else{if(_0x44b801['EpMGi'](this['type'],_0x44b801[_0x2451ce(0x1ef)])){const _0x5700e1=_0x44b801[_0x2451ce(0x24a)][_0x2451ce(0x280)]('|');let _0x1211b8=0x0;while(!![]){switch(_0x5700e1[_0x1211b8++]){case'0':this[_0x2451ce(0x1e3)](this['indent']()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x2451ce(0x166)](_0x559c28[_0x2451ce(0x26a)])+_0x2451ce(0x239));continue;case'1':var _0x32a34e=utils[_0x2451ce(0x166)](utils[_0x2451ce(0x20f)](_0x559c28[_0x2451ce(0x295)]));continue;case'2':this[_0x2451ce(0x1e3)](this[_0x2451ce(0x1ae)]()+_0x2451ce(0x1ac)+utils['escape'](_0x559c28[_0x2451ce(0x1fe)])+_0x2451ce(0x231));continue;case'3':this[_0x2451ce(0x1e3)](this['indent']()+_0x2451ce(0x294)+_0x32a34e+'</code></pre></dd>');continue;case'4':this[_0x2451ce(0x1e3)](this[_0x2451ce(0x1ae)]()+_0x2451ce(0x225)+utils[_0x2451ce(0x166)](_0x559c28[_0x2451ce(0x16d)])+_0x2451ce(0x239));continue;}break;}}}if(_0x44b801[_0x2451ce(0x26f)](testhubUtils[_0x2451ce(0x233)](testHubConstants['EVENT'][_0x2451ce(0x1f3)]),!![])){if(!_0x559c28[_0x2451ce(0x1ec)]){_0x559c28[_0x2451ce(0x1ec)]=!![];if(_0x559c28[_0x2451ce(0x19a)])await this[_0x2451ce(0x22f)](_0x559c28,_0x1fcf98);else _0x559c28[_0x2451ce(0x20a)]&&await this[_0x2451ce(0x22f)](_0x559c28,_0x1fcf98,![],_0x44b801[_0x2451ce(0x1b6)]);}}})['on'](EVENT_TEST_PENDING,async _0x1a261c=>{const _0x592cea=_0x41754f;this['results'][_0x592cea(0x1d5)]({'title':_0x1a261c[_0x592cea(0x16d)],'suite':_0x1a261c[_0x592cea(0x266)][_0x592cea(0x16d)],'state':_0x1a261c[_0x592cea(0x240)],'err':{},'fullTitle':_0x1a261c[_0x592cea(0x18b)](),'speed':_0x1a261c[_0x592cea(0x214)],'currentRetry':_0x1a261c[_0x592cea(0x274)](),'titlePathV':_0x1a261c[_0x592cea(0x1f8)]()}),_0x44b801[_0x592cea(0x247)](this[_0x592cea(0x1c9)],_0x44b801['WaYKt'])&&process[_0x592cea(0x251)][_0x592cea(0x1d4)](Base[_0x592cea(0x288)](_0x44b801[_0x592cea(0x1aa)],Base[_0x592cea(0x243)][_0x592cea(0x217)])),_0x44b801[_0x592cea(0x26d)](testhubUtils[_0x592cea(0x233)](),!![])&&(!_0x1a261c[_0x592cea(0x19a)]&&(_0x1a261c['testAnalyticsId']=_0x44b801['kIEEb'](uuidv4)),!_0x1a261c[_0x592cea(0x1ec)]&&(_0x1a261c[_0x592cea(0x1ec)]=!![],await this[_0x592cea(0x22f)](_0x1a261c,undefined,![],_0x44b801[_0x592cea(0x293)])));})['on'](EVENT_TEST_BEGIN,async _0x54ac8b=>{const _0x40a35f=_0x41754f;_0x44b801['kEzEQ'](testhubUtils[_0x40a35f(0x233)](),!![])&&await this[_0x40a35f(0x246)](_0x54ac8b);})['on'](EVENT_TEST_END,async _0x250324=>{const _0x3b2a19=_0x41754f;_0x44b801[_0x3b2a19(0x1cc)](testhubUtils[_0x3b2a19(0x233)](),!![])&&(!_0x250324[_0x3b2a19(0x1ec)]&&(_0x250324[_0x3b2a19(0x1ec)]=!![],await this[_0x3b2a19(0x22f)](_0x250324)));})[_0x41754f(0x1a6)](EVENT_RUN_END,async()=>{const _0x40a495=_0x41754f;try{if(_0x44b801['tmkyK'](testhubUtils[_0x40a495(0x233)](),!![])){const _0x1cb4d9=_0x44b801[_0x40a495(0x1b1)](getHookSkippedTests,this[_0x40a495(0x1df)][_0x40a495(0x215)]);for(const _0x520b52 of _0x1cb4d9){!_0x520b52[_0x40a495(0x19a)]&&(_0x520b52[_0x40a495(0x19a)]=_0x44b801[_0x40a495(0x1ce)](uuidv4)),await this['sendTestRunEvent'](_0x520b52,undefined,![],_0x44b801[_0x40a495(0x293)]);}}}catch(_0xdbbfe0){_0x44b801[_0x40a495(0x24e)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20'+_0xdbbfe0);}await requestQueueHandler[_0x40a495(0x28a)](),_0x44b801[_0x40a495(0x1fb)](this[_0x40a495(0x1c9)],_0x44b801['dYqjJ'])&&Base[_0x40a495(0x241)](this['docHtml']);});if(this[_0x41754f(0x1c9)]&&![_0x44b801[_0x41754f(0x1ef)],_0x44b801[_0x41754f(0x20c)],_0x44b801['qSDen'],_0x44b801[_0x41754f(0x282)]][_0x41754f(0x284)](this['type'])){const _0x25eb84=this['type'][_0x41754f(0x177)]();this['Reporter']=null;try{this[_0x41754f(0x1d7)]=_0x44b801[_0x41754f(0x1d3)](requireModule,_0x41754f(0x1af)+_0x25eb84+_0x41754f(0x27e));}catch{}if(_0x44b801[_0x41754f(0x27d)](this['Reporter'],null))try{this['Reporter']=_0x44b801['eNjoX'](require,_0x25eb84);}catch(_0x141ee5){console['error'](_0x41754f(0x254)+_0x25eb84);}if(_0x44b801[_0x41754f(0x250)](this[_0x41754f(0x1d7)],null)){const _0x274891={};_0x274891[_0x41754f(0x1d9)]=_0x3340b8[_0x41754f(0x182)],this[_0x41754f(0x1d7)]=new this[(_0x41754f(0x1d7))](_0x28a413,_0x274891);}}}[a27_0x26bece(0x1ae)](){const _0x334ef0=a27_0x26bece,_0x2760e6={'WvEaC':function(_0x4b8a78,_0x3ae6c2){return _0x4b8a78(_0x3ae6c2);}};return _0x2760e6[_0x334ef0(0x1ab)](Array,this[_0x334ef0(0x1a8)])[_0x334ef0(0x206)]('\x20\x20');}[a27_0x26bece(0x21a)](){this['_indents']++;}[a27_0x26bece(0x19b)](){const _0x283078=a27_0x26bece;this[_0x283078(0x1a8)]--;}['docAppend'](_0x20c862){this['docHtml']+=_0x20c862;}['done'](_0x59de9a,_0x11d459){const _0x3d18e0=a27_0x26bece,_0x5d2bf2={'DXBtz':function(_0x514622,_0x5300b4){return _0x514622(_0x5300b4);}},_0x3b89ec={};_0x3b89ec['failureCount']=_0x59de9a,_0x3b89ec['results']=this['finalResults'],_0x5d2bf2[_0x3d18e0(0x186)](_0x11d459,_0x3b89ec);}[a27_0x26bece(0x224)](){const _0x2bb85b=a27_0x26bece;process[_0x2bb85b(0x229)]('bs:addLog:'+process[_0x2bb85b(0x1bc)]),process['on'](_0x2bb85b(0x169)+process[_0x2bb85b(0x1bc)],this[_0x2bb85b(0x174)][_0x2bb85b(0x25b)](this)),process['removeAllListeners'](_0x2bb85b(0x176)+process[_0x2bb85b(0x1bc)]),process['on'](_0x2bb85b(0x176)+process[_0x2bb85b(0x1bc)],this[_0x2bb85b(0x272)][_0x2bb85b(0x25b)](this));}['testStarted']=async _0x48dc66=>{const _0x1eecba=a27_0x26bece,_0x680268={'RAWjA':function(_0x21dc9f){return _0x21dc9f();},'xEVPk':function(_0x30580c,_0x43fab3){return _0x30580c>_0x43fab3;},'lSnHn':function(_0x541043,_0x36a4b5){return _0x541043===_0x36a4b5;},'CoQoF':_0x1eecba(0x16c),'efTFA':function(_0x32cf79,_0x40233c){return _0x32cf79(_0x40233c);}};try{const _0x37e3fb=this[_0x1eecba(0x192)];this[_0x1eecba(0x192)]=_0x48dc66,_0x48dc66[_0x1eecba(0x26c)]=null,_0x48dc66[_0x1eecba(0x19a)]=_0x680268['RAWjA'](uuidv4),_0x48dc66[_0x1eecba(0x1db)]=new Date()[_0x1eecba(0x1cf)](),_0x680268['xEVPk'](_0x48dc66[_0x1eecba(0x216)],0x0)&&_0x37e3fb&&_0x680268[_0x1eecba(0x234)](_0x37e3fb[_0x1eecba(0x16d)],_0x48dc66['title'])?(_0x48dc66[_0x1eecba(0x26c)]=_0x37e3fb[_0x1eecba(0x19a)],await this[_0x1eecba(0x22f)](_0x48dc66,undefined,![],_0x680268[_0x1eecba(0x23e)]),_0x37e3fb[_0x1eecba(0x240)]=STATE_FAILED,await this[_0x1eecba(0x22f)](_0x37e3fb,undefined,!![])):await this[_0x1eecba(0x22f)](_0x48dc66,undefined,![],_0x680268['CoQoF']);}catch(_0x21d9a9){_0x680268['efTFA'](debug,_0x1eecba(0x235)+_0x21d9a9);}};[a27_0x26bece(0x22f)]=async(_0x4ce42c,_0x13c253=undefined,_0x326348=![],_0x2fe708=a27_0x26bece(0x1eb))=>{const _0x40f5af=a27_0x26bece,_0x3c4696={'UwxGV':function(_0x2505b0,_0x1c0ae8){return _0x2505b0===_0x1c0ae8;},'jVuqS':function(_0x117d7f,_0x58aa78){return _0x117d7f!==_0x58aa78;},'zPCmq':_0x40f5af(0x232),'zGBOE':_0x40f5af(0x1fe),'kSgYv':function(_0x200f6f,_0x2c0234){return _0x200f6f!==_0x2c0234;},'SAUFZ':function(_0x4e34e7,_0x1d350c){return _0x4e34e7!==_0x1d350c;},'EjbLh':_0x40f5af(0x230),'BHLeX':'Mocha','Qdcwd':_0x40f5af(0x17b),'FGwAa':function(_0x432153,_0x568c5b){return _0x432153===_0x568c5b;},'lZXlC':_0x40f5af(0x19c),'PUUuD':'skipped','FbuKo':function(_0x1dac2f,_0xb4ca08){return _0x1dac2f-_0xb4ca08;},'oOFGR':_0x40f5af(0x1a4),'ESCuc':_0x40f5af(0x1c7),'oELkD':function(_0x4f7ec4,_0x5d7b26){return _0x4f7ec4===_0x5d7b26;},'KKAcu':_0x40f5af(0x1db),'CyHmo':_0x40f5af(0x1e9),'LifxS':function(_0xfb025c,_0x575ecb){return _0xfb025c(_0x575ecb);},'HdTew':_0x40f5af(0x296),'SZraM':_0x40f5af(0x1d1),'Rurjl':_0x40f5af(0x190),'cTcck':function(_0x3c9e32,_0x3a2633){return _0x3c9e32===_0x3a2633;},'MgSBo':_0x40f5af(0x168),'xjEvc':function(_0x5acbd9,_0x592505){return _0x5acbd9(_0x592505);},'zaAwS':_0x40f5af(0x290),'hBauD':_0x40f5af(0x22c),'CmYTc':_0x40f5af(0x1f0),'akrxS':_0x40f5af(0x291),'ClzIP':_0x40f5af(0x196),'Yeybr':_0x40f5af(0x1eb),'eaUJS':function(_0x234f00,_0x5d3e64){return _0x234f00(_0x5d3e64);},'mcdqa':function(_0x4fc467,_0x380f50){return _0x4fc467===_0x380f50;},'nTivc':'hook_type','vySYW':_0x40f5af(0x27b),'EsnoC':_0x40f5af(0x1da),'jwzuN':function(_0x2d24ca,_0x18ce98){return _0x2d24ca(_0x18ce98);}};try{if(_0x4ce42c['body']&&_0x4ce42c['body']['match'](/browserstack internal helper hook/))return;let _0x32e7ab=[];if(_0x3c4696[_0x40f5af(0x1ed)](_0x4ce42c[_0x40f5af(0x240)],STATE_FAILED)){if(_0x3c4696['jVuqS'](_0x4ce42c['err'],undefined))_0x32e7ab=_0x4ce42c[_0x40f5af(0x1fe)]['multiple']?[_0x4ce42c['err'][_0x40f5af(0x17d)],_0x3c4696[_0x40f5af(0x212)]]:[_0x4ce42c[_0x40f5af(0x1fe)],_0x3c4696['zGBOE']];else _0x3c4696['jVuqS'](_0x13c253,undefined)?_0x32e7ab=[_0x13c253,_0x3c4696[_0x40f5af(0x24f)]]:_0x32e7ab=[];}const _0x10cf8f=_0x3c4696['kSgYv'](_0x4ce42c[_0x40f5af(0x1fe)],undefined)?_0x4ce42c['err']['toString']():_0x3c4696[_0x40f5af(0x205)](_0x13c253,undefined)?_0x13c253['toString']():undefined;let _0x4ac49f;try{_0x4ac49f=this[_0x40f5af(0x1b0)](_0x4ce42c);}catch(_0x155574){_0x4ac49f=null;}const _0x380257=_0x4ac49f?this['findGitConfig'](_0x4ac49f):null,_0x1558d0=_0x4ac49f?this[_0x40f5af(0x1e8)][_0x40f5af(0x1b7)](this['getRootParentFile'](_0x4ce42c)):_0x3c4696['EjbLh'],_0x396de7={'framework':_0x3c4696[_0x40f5af(0x1f4)],'uuid':_0x4ce42c[_0x40f5af(0x19a)]||_0x4ce42c[_0x40f5af(0x20a)],'name':_0x4ce42c[_0x40f5af(0x16d)],'body':{'lang':_0x3c4696[_0x40f5af(0x181)],'code':_0x4ce42c[_0x40f5af(0x295)]},'scope':this[_0x40f5af(0x20b)](_0x4ce42c),'scopes':this[_0x40f5af(0x255)](_0x4ce42c),'identifier':_0x4ce42c[_0x40f5af(0x18b)](),'file_name':_0x1558d0,'vc_filepath':_0x380257?path[_0x40f5af(0x263)](_0x380257,_0x4ac49f):null,'location':_0x1558d0,'result':_0x3c4696[_0x40f5af(0x283)](_0x2fe708,_0x3c4696[_0x40f5af(0x219)])?_0x3c4696[_0x40f5af(0x1f6)]:this[_0x40f5af(0x22d)](_0x4ce42c[_0x40f5af(0x240)]),'failure_reason':_0x10cf8f,'duration_in_ms':_0x4ce42c[_0x40f5af(0x25e)]||(_0x2fe708[_0x40f5af(0x25f)](/Finished/)||_0x2fe708[_0x40f5af(0x25f)](/Skipped/)?_0x3c4696['FbuKo'](Date[_0x40f5af(0x22a)](),new Date(_0x4ce42c[_0x40f5af(0x1db)])[_0x40f5af(0x194)]()):null),'started_at':_0x4ce42c['started_at'],'finished_at':_0x2fe708[_0x40f5af(0x25f)](/Finished/)||_0x2fe708[_0x40f5af(0x25f)](/Skipped/)?new Date()[_0x40f5af(0x1cf)]():null,'failure':failureData[_0x40f5af(0x1ba)](null,_0x32e7ab),'failure_type':!_0x10cf8f?null:_0x10cf8f['match'](/AssertionError/)?_0x3c4696['oOFGR']:_0x3c4696[_0x40f5af(0x16b)],'retry_of':_0x4ce42c[_0x40f5af(0x26c)]};testhubUtils['appendTesthubParams'](_0x396de7,_0x2fe708,_0x4ce42c,FRAMEWORKS['MOCHA']);_0x3c4696[_0x40f5af(0x210)](_0x2fe708,_0x3c4696[_0x40f5af(0x219)])&&!_0x396de7[_0x3c4696['KKAcu']]&&(_0x396de7[_0x3c4696['KKAcu']]=_0x396de7[_0x3c4696[_0x40f5af(0x18a)]]);if(_0x2fe708['match'](/HookRun/))[_0x396de7[_0x40f5af(0x1c0)],_0x396de7[_0x40f5af(0x26b)]]=_0x3c4696['LifxS'](getHookDetails,_0x4ce42c[_0x40f5af(0x18b)]()||_0x4ce42c['originalTitle']||_0x4ce42c['title']),_0x3c4696[_0x40f5af(0x283)](_0x2fe708,_0x3c4696[_0x40f5af(0x173)])&&(_0x3c4696[_0x40f5af(0x1cd)](_0x396de7['result'],_0x3c4696[_0x40f5af(0x277)])&&(_0x396de7[_0x40f5af(0x1ea)]=_0x3c4696[_0x40f5af(0x1c1)]),_0x3c4696['cTcck'](_0x396de7[_0x40f5af(0x1c0)],_0x3c4696[_0x40f5af(0x199)])&&_0x3c4696['FGwAa'](_0x396de7[_0x40f5af(0x1ea)],_0x3c4696[_0x40f5af(0x277)])&&!_0x4ce42c[_0x40f5af(0x1ca)][_0x40f5af(0x16e)][_0x40f5af(0x1ec)]&&(_0x4ce42c[_0x40f5af(0x1ca)][_0x40f5af(0x16e)][_0x40f5af(0x1ec)]=!![],_0x4ce42c[_0x40f5af(0x1ca)]['currentTest'][_0x40f5af(0x240)]=STATE_FAILED,await this[_0x40f5af(0x22f)](_0x4ce42c[_0x40f5af(0x1ca)][_0x40f5af(0x16e)],undefined,!![])));else _0x2fe708[_0x40f5af(0x25f)](/TestRun/)&&_0x3c4696[_0x40f5af(0x27f)](mapTestHooks,_0x4ce42c);const _0x43935f=_0x396de7[_0x3c4696[_0x40f5af(0x228)]][0x0];_0x43935f&&(_0x396de7[_0x3c4696[_0x40f5af(0x22b)]]=_0x43935f[_0x3c4696[_0x40f5af(0x1dd)]],_0x396de7[_0x3c4696['akrxS']]=_0x43935f[_0x3c4696[_0x40f5af(0x1b2)]]);[_0x3c4696[_0x40f5af(0x21d)],_0x3c4696[_0x40f5af(0x219)]][_0x40f5af(0x284)](_0x2fe708)&&(this[_0x40f5af(0x25c)][_0x40f5af(0x1d5)](_0x396de7),_0x396de7[_0x40f5af(0x23a)]=_0x3c4696[_0x40f5af(0x189)](getHooksForTest,_0x4ce42c));const _0x21aa00={'event_type':_0x3c4696[_0x40f5af(0x193)](_0x2fe708,_0x3c4696[_0x40f5af(0x219)])?_0x3c4696['Yeybr']:_0x2fe708};_0x2fe708['match'](/HookRun/)?(_0x396de7[_0x3c4696[_0x40f5af(0x18d)]]=HOOK_TYPES_MAP[_0x396de7[_0x3c4696['nTivc']]],_0x21aa00[_0x3c4696[_0x40f5af(0x249)]]=_0x396de7):_0x21aa00[_0x3c4696['EsnoC']]=_0x396de7,testhubUtils[_0x40f5af(0x1b5)](FRAMEWORKS[_0x40f5af(0x260)],_0x21aa00),await SessionHandler['uploadEventData'](_0x21aa00);}catch(_0x22d35b){_0x3c4696[_0x40f5af(0x287)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x2fe708+_0x40f5af(0x1e5)+_0x22d35b);}};[a27_0x26bece(0x1be)](_0x684ee1){const _0xe09f83=a27_0x26bece,_0x1d324b={};_0x1d324b['Oyctd']=function(_0x4423a3,_0x2f06ea){return _0x4423a3===_0x2f06ea;},_0x1d324b[_0xe09f83(0x28f)]=function(_0x215b91,_0x112800){return _0x215b91===_0x112800;},_0x1d324b[_0xe09f83(0x16a)]=function(_0x43cc3d,_0x16a647){return _0x43cc3d===_0x16a647;},_0x1d324b[_0xe09f83(0x218)]=_0xe09f83(0x1c2),_0x1d324b[_0xe09f83(0x26e)]=_0xe09f83(0x278);const _0x5d974f=_0x1d324b,_0xb5b235=path[_0xe09f83(0x18e)];if(_0x5d974f[_0xe09f83(0x209)](_0x684ee1,null)||_0x5d974f[_0xe09f83(0x28f)](_0x684ee1,'')||_0x5d974f[_0xe09f83(0x16a)](_0x684ee1,_0xb5b235)||_0x5d974f[_0xe09f83(0x16a)](_0x684ee1,path[_0xe09f83(0x223)](_0x684ee1)))return null;try{return fs['statSync'](path[_0xe09f83(0x206)](_0x684ee1,_0x5d974f[_0xe09f83(0x218)],_0x5d974f[_0xe09f83(0x26e)])),_0x684ee1;}catch(_0x17175a){const _0x2e1446=path[_0xe09f83(0x223)](_0x684ee1);return this[_0xe09f83(0x1be)](_0x2e1446);}}['appendTestItemLog']=async _0xc70d28=>{const _0x5df14d=a27_0x26bece,_0x3f9a16={'IauiX':'LogCreated','nVZDq':function(_0x44de67,_0x2389ca){return _0x44de67(_0x2389ca);}};try{this['current_hook']&&!this[_0x5df14d(0x236)][_0x5df14d(0x1ec)]&&(_0xc70d28[_0x5df14d(0x1e6)]=this[_0x5df14d(0x236)][_0x5df14d(0x20a)]);!_0xc70d28[_0x5df14d(0x1e6)]&&this[_0x5df14d(0x192)]&&!this[_0x5df14d(0x192)][_0x5df14d(0x1ec)]&&(_0xc70d28[_0x5df14d(0x242)]=this[_0x5df14d(0x192)][_0x5df14d(0x19a)]);if(_0xc70d28[_0x5df14d(0x1e6)]||_0xc70d28[_0x5df14d(0x242)]){const _0x337f4e={};_0x337f4e['event_type']=_0x3f9a16[_0x5df14d(0x23c)],_0x337f4e[_0x5df14d(0x1a3)]=[_0xc70d28],await SessionHandler['uploadEventData'](_0x337f4e);}}catch(_0x21336c){_0x3f9a16[_0x5df14d(0x1a9)](debug,_0x5df14d(0x257)+_0x21336c);}};[a27_0x26bece(0x272)]=async _0x15842c=>{const _0x5aa19a=a27_0x26bece,_0x3cec63={'Yrhnk':'http_response','tSQRo':_0x5aa19a(0x17f),'DNXmQ':function(_0x5e7002,_0xbe1e2e){return _0x5e7002(_0xbe1e2e);}};try{const _0x35b79c={};_0x35b79c[_0x5aa19a(0x1a7)]=_0x15842c[_0x5aa19a(0x1a7)]||this[_0x5aa19a(0x192)][_0x5aa19a(0x19a)],_0x35b79c['integrations']=_0x15842c[_0x3cec63[_0x5aa19a(0x197)]];const _0x1216d5=_0x35b79c,_0x9619e0={};_0x9619e0[_0x5aa19a(0x222)]=_0x3cec63[_0x5aa19a(0x185)],_0x9619e0[_0x5aa19a(0x1da)]=_0x1216d5,await SessionHandler[_0x5aa19a(0x19f)](_0x9619e0);}catch(_0x2c01fd){_0x3cec63[_0x5aa19a(0x285)](debug,_0x5aa19a(0x220)+_0x2c01fd);}};[a27_0x26bece(0x22d)](_0x5943a7){const _0x1074c3=a27_0x26bece,_0x284df1={};_0x284df1[_0x1074c3(0x188)]=_0x1074c3(0x190),_0x284df1['rmDku']=_0x1074c3(0x238),_0x284df1[_0x1074c3(0x253)]=_0x1074c3(0x1d1);const _0x370d0a=_0x284df1,_0x1e9048={};return _0x1e9048[STATE_PASSED]=_0x370d0a[_0x1074c3(0x188)],_0x1e9048[STATE_PENDING]=_0x370d0a[_0x1074c3(0x213)],_0x1e9048[STATE_FAILED]=_0x370d0a[_0x1074c3(0x253)],_0x1e9048[_0x5943a7];}[a27_0x26bece(0x20b)](_0x2cac04){const _0x1b0ef3=a27_0x26bece,_0x55a23f={};_0x55a23f[_0x1b0ef3(0x1bd)]=function(_0x435869,_0x4cc8e1){return _0x435869-_0x4cc8e1;};const _0x42bdaa=_0x55a23f,_0x100635=_0x2cac04[_0x1b0ef3(0x1f8)]();return _0x100635['slice'](0x0,_0x42bdaa['xTEul'](_0x100635['length'],0x1))[_0x1b0ef3(0x206)]('\x20');}['scopes'](_0x889b7d){const _0x3093e8=a27_0x26bece,_0x2e0a84={};_0x2e0a84[_0x3093e8(0x28d)]=function(_0x3c2847,_0x4764f5){return _0x3c2847-_0x4764f5;};const _0x5cd7bf=_0x2e0a84,_0xa8caf2=_0x889b7d[_0x3093e8(0x1f8)]();return _0xa8caf2[_0x3093e8(0x1d8)](0x0,_0x5cd7bf['SvHio'](_0xa8caf2[_0x3093e8(0x289)],0x1));}[a27_0x26bece(0x1b0)](_0x10691e){const _0x1c1ad0=a27_0x26bece,_0x276eef={};_0x276eef[_0x1c1ad0(0x226)]=function(_0x35667f,_0x4338b7){return _0x35667f>_0x4338b7;};const _0x27a9f7=_0x276eef;if(_0x10691e['file'])return _0x10691e[_0x1c1ad0(0x26a)];if(_0x10691e['ctx']){const _0x3a3d93=_0x10691e['ctx'][_0x1c1ad0(0x16e)]?this[_0x1c1ad0(0x1b0)](_0x10691e[_0x1c1ad0(0x1ca)][_0x1c1ad0(0x16e)]):null;if(_0x3a3d93)return _0x3a3d93;}if(_0x10691e[_0x1c1ad0(0x266)]){const _0x36cb22=this['getRootParentFile'](_0x10691e[_0x1c1ad0(0x266)])||(_0x10691e[_0x1c1ad0(0x266)]['ctx']&&_0x10691e[_0x1c1ad0(0x266)]['ctx']['currentTest']?this[_0x1c1ad0(0x1b0)](_0x10691e[_0x1c1ad0(0x266)]['ctx']['currentTest']):null);if(_0x36cb22)return _0x36cb22;_0x10691e[_0x1c1ad0(0x266)][_0x1c1ad0(0x1ad)]&&_0x27a9f7[_0x1c1ad0(0x226)](_0x10691e[_0x1c1ad0(0x266)]['suites']['length'],0x0)&&_0x10691e['parent'][_0x1c1ad0(0x1ad)]['forEach'](_0x3fa779=>{const _0x3aa269=_0x1c1ad0,_0x309f36=_0x3fa779[_0x3aa269(0x1ca)]?this['getRootParentFile'](_0x3fa779['ctx']):null;if(_0x309f36)return _0x309f36;});}return null;}}module['exports']=MyReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a28_0x12cab0=a28_0x1eca;(function(_0x25e98c,_0x172610){const _0x411a56=a28_0x1eca,_0x215585=_0x25e98c();while(!![]){try{const _0x157a31=-parseInt(_0x411a56(0x140))/0x1*(-parseInt(_0x411a56(0x19c))/0x2)+parseInt(_0x411a56(0x119))/0x3+-parseInt(_0x411a56(0x111))/0x4*(-parseInt(_0x411a56(0x1b9))/0x5)+parseInt(_0x411a56(0x1a2))/0x6*(-parseInt(_0x411a56(0x176))/0x7)+parseInt(_0x411a56(0x1c8))/0x8+-parseInt(_0x411a56(0xfd))/0x9*(parseInt(_0x411a56(0x171))/0xa)+parseInt(_0x411a56(0x1b1))/0xb*(parseInt(_0x411a56(0x14d))/0xc);if(_0x157a31===_0x172610)break;else _0x215585['push'](_0x215585['shift']());}catch(_0xcd7746){_0x215585['push'](_0x215585['shift']());}}}(a28_0x1467,0xf2c04));const chalk=require('chalk'),logger=require(a28_0x12cab0(0x10d))[a28_0x12cab0(0x15b)],{default:BrowserStackSetup}=require(a28_0x12cab0(0x15c)),helper=require(a28_0x12cab0(0x113)),utilities=require(a28_0x12cab0(0x160)),testOpsHelper=require(a28_0x12cab0(0xf8)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x12cab0(0x132)),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require(a28_0x12cab0(0x1cb)),Base=requireModule('mocha/lib/reporters/base.js'),collectFiles=requireModule('mocha/lib/cli/collect-files.js'),constants=require('../utils/constants');function tag(_0xdce492,_0x5c343e,_0x3c1fae,_0x5d265a){const _0x36b20a=a28_0x12cab0,_0x24df38={'eIhJv':function(_0x583dd3,_0x42544b){return _0x583dd3+_0x42544b;},'AwfSZ':function(_0xee986,_0x2c9372){return _0xee986+_0x2c9372;},'CwQTE':function(_0x1d4397,_0x5e6a44){return _0x1d4397(_0x5e6a44);},'dJDVR':function(_0x18b1bf,_0x5d0817){return _0x18b1bf+_0x5d0817;},'DQJIb':function(_0xf78165,_0x4be95b){return _0xf78165+_0x4be95b;},'ESWEf':function(_0x4a47d3,_0x1f2ceb){return _0x4a47d3+_0x1f2ceb;}},_0xc76ee=_0x3c1fae?'/>':'>',_0x3d06ca=[];let _0x49e252;for(const _0x38387c in _0x5c343e){Object[_0x36b20a(0x14e)][_0x36b20a(0x1be)][_0x36b20a(0xfc)](_0x5c343e,_0x38387c)&&_0x3d06ca['push'](_0x24df38[_0x36b20a(0x1eb)](_0x24df38[_0x36b20a(0x1eb)](_0x24df38[_0x36b20a(0x1ba)](_0x38387c,'=\x22'),_0x24df38[_0x36b20a(0x133)](escape,_0x5c343e[_0x38387c])),'\x22'));}return _0x49e252=_0x24df38[_0x36b20a(0x1ba)](_0x24df38[_0x36b20a(0x1eb)](_0x24df38[_0x36b20a(0x1eb)]('<',_0xdce492),_0x3d06ca['length']?_0x24df38['AwfSZ']('\x20',_0x3d06ca[_0x36b20a(0x115)]('\x20')):''),_0xc76ee),_0x5d265a&&(_0x49e252+=_0x24df38[_0x36b20a(0x101)](_0x24df38[_0x36b20a(0x195)](_0x24df38['ESWEf'](_0x5d265a,'</'),_0xdce492),_0xc76ee)),_0x49e252;}function a28_0x1eca(_0x465ded,_0x8bea0e){const _0x146750=a28_0x1467();return a28_0x1eca=function(_0x1ecaa6,_0x469a29){_0x1ecaa6=_0x1ecaa6-0xf7;let _0x98f6ff=_0x146750[_0x1ecaa6];return _0x98f6ff;},a28_0x1eca(_0x465ded,_0x8bea0e);}let xunitContent='';function xunitWrite(_0x475171){xunitContent+=_0x475171;}function xunitTest(_0x4bac5d,_0x52f170){const _0x175c81=a28_0x12cab0,_0x29257e={'XXrEB':function(_0x241658,_0x541d2c){return _0x241658/_0x541d2c;},'sjIEL':function(_0x218366,_0x4e9d16){return _0x218366===_0x4e9d16;},'dzQGi':_0x175c81(0x1a4),'qnNSv':function(_0x53e88d,_0x8ab1df){return _0x53e88d+_0x8ab1df;},'euOoq':function(_0x39b499,_0x418b28){return _0x39b499(_0x418b28);},'Sewyg':function(_0xcaeae9,_0x1b39ad,_0x2ee4ec,_0x15c433,_0x414751){return _0xcaeae9(_0x1b39ad,_0x2ee4ec,_0x15c433,_0x414751);},'rvKMy':'testcase','QHfzE':_0x175c81(0x17a),'hKshA':function(_0x4ac2df,_0x152253){return _0x4ac2df(_0x152253);},'dGfqd':function(_0x4ae9a0,_0x35cf38){return _0x4ae9a0(_0x35cf38);},'uFycC':function(_0x50e91f,_0x5e47b6){return _0x50e91f(_0x5e47b6);},'bjYIW':function(_0x3ddb5d,_0x78423f){return _0x3ddb5d(_0x78423f);},'UGRxI':function(_0x47d2f9,_0x20b7bf,_0x28e084,_0x4722a1){return _0x47d2f9(_0x20b7bf,_0x28e084,_0x4722a1);},'nVVKK':_0x175c81(0x16b),'HnOqR':function(_0x5adf5f,_0x1bbcd8){return _0x5adf5f(_0x1bbcd8);}};Base['useColors']=![];var _0x6c6e84={'classname':_0x4bac5d[_0x175c81(0x11a)],'name':_0x4bac5d[_0x175c81(0x1b6)],'time':_0x29257e[_0x175c81(0x159)](_0x4bac5d[_0x175c81(0x13d)],0x3e8)||0x0,'platform':_0x52f170};if(_0x29257e['sjIEL'](_0x4bac5d['state'],_0x29257e['dzQGi'])){var _0x2f345e=_0x4bac5d['err'],_0x5262c6=!Base[_0x175c81(0x155)]&&Base[_0x175c81(0x178)](_0x2f345e)?_0x29257e['qnNSv']('\x0a',Base[_0x175c81(0x1d5)](_0x2f345e[_0x175c81(0x116)],_0x2f345e[_0x175c81(0x184)])):'';_0x29257e['euOoq'](xunitWrite,_0x29257e[_0x175c81(0x1c9)](tag,_0x29257e[_0x175c81(0x125)],_0x6c6e84,![],_0x29257e[_0x175c81(0x1c9)](tag,_0x29257e[_0x175c81(0x134)],{},![],_0x29257e[_0x175c81(0x103)](_0x29257e[_0x175c81(0x103)](_0x29257e['qnNSv'](_0x29257e[_0x175c81(0x16a)](escape,_0x2f345e[_0x175c81(0x15e)]),_0x29257e[_0x175c81(0x1a5)](escape,_0x5262c6)),'\x0a'),_0x29257e[_0x175c81(0x10c)](escape,_0x2f345e['stack'])))));}else _0x4bac5d[_0x175c81(0x123)]?_0x29257e[_0x175c81(0x1c6)](xunitWrite,_0x29257e[_0x175c81(0x1c9)](tag,_0x29257e['rvKMy'],_0x6c6e84,![],_0x29257e['UGRxI'](tag,_0x29257e[_0x175c81(0x173)],{},!![]))):_0x29257e['HnOqR'](xunitWrite,_0x29257e[_0x175c81(0x14b)](tag,_0x29257e['rvKMy'],_0x6c6e84,!![]));};function getStats(_0x25ab0a){const _0x3b2429=a28_0x12cab0,_0x2fdcc6={};_0x2fdcc6[_0x3b2429(0x1e2)]=_0x3b2429(0x1e8),_0x2fdcc6[_0x3b2429(0x10f)]=_0x3b2429(0x109),_0x2fdcc6[_0x3b2429(0x104)]='failed',_0x2fdcc6[_0x3b2429(0x1bd)]='results';const _0x2b2a74=_0x2fdcc6,_0x7b95b5=Object[_0x3b2429(0x177)](_0x25ab0a);let _0x233dd8=0x0,_0x40de65=0x0,_0x49c0c2=0x0,_0x16973c=0x0;const _0x5afbe2=new Set();_0x7b95b5[_0x3b2429(0x144)](_0x14cff2=>{const _0x5dee7c=_0x3b2429;_0x25ab0a[_0x14cff2][_0x2b2a74[_0x5dee7c(0x1bd)]][_0x5dee7c(0x144)](_0x3e2372=>{const _0x27bd0d=_0x5dee7c;_0x5afbe2[_0x27bd0d(0x12b)](_0x3e2372[_0x2b2a74['UWZwt']]),_0x233dd8++;switch(_0x3e2372['state']){case _0x2b2a74['dTdFc']:_0x49c0c2++;break;case _0x2b2a74['nDqPw']:_0x40de65++;break;default:_0x16973c++;}});});const _0x2f777a={};return _0x2f777a[_0x3b2429(0x1e3)]=_0x5afbe2[_0x3b2429(0x138)],_0x2f777a[_0x3b2429(0x142)]=_0x7b95b5,_0x2f777a['totalTests']=_0x233dd8,_0x2f777a[_0x3b2429(0x1bf)]=_0x40de65,_0x2f777a[_0x3b2429(0x1d9)]=_0x49c0c2,_0x2f777a['testsPending']=_0x16973c,_0x2f777a;}function errorJSON(_0x3205ae){const _0xf317ff=a28_0x12cab0;var _0x2be261={};return Object[_0xf317ff(0x1bc)](_0x3205ae)[_0xf317ff(0x144)](function(_0xf2604e){_0x2be261[_0xf2604e]=_0x3205ae[_0xf2604e];},_0x3205ae),_0x2be261;}function cleanCycles(_0x5ab7cd){const _0xcdb02e=a28_0x12cab0,_0x256436={};_0x256436['aEfgt']=function(_0x1ec2c9,_0x11cc93){return _0x1ec2c9===_0x11cc93;},_0x256436[_0xcdb02e(0x127)]='object',_0x256436[_0xcdb02e(0x1aa)]=function(_0xea4294,_0x3e3f1d){return _0xea4294!==_0x3e3f1d;},_0x256436['zjzoW']=function(_0x262572,_0x26e24f){return _0x262572!==_0x26e24f;},_0x256436[_0xcdb02e(0x150)]=function(_0x1b5598,_0x2c60f9){return _0x1b5598+_0x2c60f9;};const _0x37265c=_0x256436;var _0x4ca06e=[];return JSON[_0xcdb02e(0x1ca)](JSON[_0xcdb02e(0x1d7)](_0x5ab7cd,function(_0x5b66d2,_0x385d87){const _0xc8cbbc=_0xcdb02e;if(_0x37265c['aEfgt'](typeof _0x385d87,_0x37265c[_0xc8cbbc(0x127)])&&_0x37265c[_0xc8cbbc(0x1aa)](_0x385d87,null)){if(_0x37265c[_0xc8cbbc(0x191)](_0x4ca06e[_0xc8cbbc(0x1b8)](_0x385d87),-0x1))return _0x37265c['PPkjI']('',_0x385d87);_0x4ca06e[_0xc8cbbc(0x17f)](_0x385d87);}return _0x385d87;}));}function clean(_0x215339){const _0x2b6dfe=a28_0x12cab0,_0x388bb2={'XNTpP':function(_0x89f1ed,_0x4718ea){return _0x89f1ed instanceof _0x4718ea;},'ntnty':function(_0x1bcc70,_0x33fc12){return _0x1bcc70(_0x33fc12);}};var _0x26739e=_0x215339['err']||{};return _0x388bb2[_0x2b6dfe(0x1de)](_0x26739e,Error)&&(_0x26739e=_0x388bb2[_0x2b6dfe(0x14a)](errorJSON,_0x26739e)),{'title':_0x215339[_0x2b6dfe(0x1b6)],'fullTitle':_0x215339[_0x2b6dfe(0x11a)],'file':_0x215339['file'],'duration':_0x215339[_0x2b6dfe(0x13d)],'currentRetry':_0x215339[_0x2b6dfe(0x181)],'speed':_0x215339[_0x2b6dfe(0x1f0)],'err':_0x388bb2[_0x2b6dfe(0x14a)](cleanCycles,_0x26739e)};}function printStats(_0xa2c9cd,_0x1b41e6='spec',_0x7d71c1={}){const _0x5acf34=a28_0x12cab0,_0x2c41f1={'xqfIb':function(_0x5c35f1,_0x1285db){return _0x5c35f1(_0x1285db);},'oArcZ':function(_0x483ca6,_0x54f5e7){return _0x483ca6===_0x54f5e7;},'cKUfU':'passed','kWwzQ':_0x5acf34(0x1ae),'qdwKJ':function(_0x4269eb,_0x1d3eec){return _0x4269eb(_0x1d3eec);},'dalJL':_0x5acf34(0x1a4),'kEPkP':_0x5acf34(0x182),'pofyY':_0x5acf34(0x1ec),'HlUpX':_0x5acf34(0x100),'pYxtG':function(_0x2be5af,_0x4d1771){return _0x2be5af*_0x4d1771;},'tvPyW':function(_0x3ee6c9,_0x14042b,_0x1fceab){return _0x3ee6c9(_0x14042b,_0x1fceab);},'EdeLe':function(_0xc0cb8b,_0x311719){return _0xc0cb8b===_0x311719;},'vVdJK':function(_0x5c46cf,_0x3a0595){return _0x5c46cf>_0x3a0595;},'LWQMS':function(_0x3c71f8){return _0x3c71f8();},'mnnCm':function(_0x308b66,_0x27bad7){return _0x308b66===_0x27bad7;},'QlmeZ':_0x5acf34(0x183),'nOHfG':function(_0xe51c62,_0x3b03cf){return _0xe51c62(_0x3b03cf);},'vExqV':_0x5acf34(0x1d2),'jtdCl':_0x5acf34(0x1d3),'jgUwh':function(_0x35a385,_0xf96417){return _0x35a385+_0xf96417;},'zfbTe':_0x5acf34(0x1c3),'OYOTt':_0x5acf34(0x108),'WeDXZ':function(_0x1cbcb7,_0x15689c){return _0x1cbcb7+_0x15689c;},'xipNU':_0x5acf34(0x12d),'JylwB':function(_0x1bef3a,_0x368ca2){return _0x1bef3a+_0x368ca2;},'MaLWH':function(_0x46a81a,_0x286b3e){return _0x46a81a+_0x286b3e;},'QurUg':_0x5acf34(0x124),'SXPXv':function(_0x5ef063,_0x4c655b){return _0x5ef063===_0x4c655b;},'AFtUg':'json','sPBph':_0x5acf34(0x1b2),'ehnEi':'Couldn\x27t\x20write\x20json\x20result\x20to','VEJWf':_0x5acf34(0x1f1),'dqpnl':_0x5acf34(0x10a),'hIZQJ':_0x5acf34(0x180),'OWqCC':function(_0x15e815,_0x2f8449){return _0x15e815||_0x2f8449;},'NfkCy':function(_0x8cbcdc,_0x36628e){return _0x8cbcdc(_0x36628e);},'gfxrc':function(_0x35f992,_0x232143,_0x6bd2d,_0xb5ae61){return _0x35f992(_0x232143,_0x6bd2d,_0xb5ae61);},'NrWPv':'testsuite','fQVzd':function(_0xfd4dc,_0x78a5bc){return _0xfd4dc-_0x78a5bc;},'MugIZ':function(_0x3ad663,_0x16b72d){return _0x3ad663-_0x16b72d;},'KLgXk':function(_0x2fbacc,_0x2fbe18){return _0x2fbacc/_0x2fbe18;},'VrqGO':function(_0x101b28,_0x35ea59){return _0x101b28(_0x35ea59);},'wYyje':_0x5acf34(0x13b),'comar':_0x5acf34(0x175),'awZTR':'Couldn\x27t\x20write\x20xunit\x20result\x20to','ZysVZ':_0x5acf34(0x156),'HPtzZ':function(_0x17b44d,_0x495c2a){return _0x17b44d===_0x495c2a;},'fLgls':_0x5acf34(0x1ef),'IbkZq':'****\x20FAILURES\x20****'};if(_0x2c41f1[_0x5acf34(0x129)](_0x1b41e6,_0x2c41f1[_0x5acf34(0x1e6)]))return;const _0x3b8fcc=0x0,_0x2060e5=()=>{const _0x14369c=_0x5acf34;return _0x2c41f1['xqfIb'](Array,_0x3b8fcc)[_0x14369c(0x115)]('\x20\x20');},{testSuites:_0x543010,platforms:_0x51544d,totalTests:_0x414597,testsFailed:_0x4416eb,testsPassed:_0x196d3b,testsPending:_0x4ce776}=_0x2c41f1[_0x5acf34(0x1cd)](getStats,_0xa2c9cd);_0x2c41f1[_0x5acf34(0x1a3)](_0x4416eb,0x0)&&(logger[_0x5acf34(0x114)](_0x2c41f1[_0x5acf34(0x1ab)]),process[_0x5acf34(0x1bb)]=Math['min'](_0x4416eb,0xff));logger[_0x5acf34(0x114)](_0x2c41f1[_0x5acf34(0x1ce)]);const _0x35c243=''+_0x2c41f1['jgUwh'](chalk[_0x5acf34(0x172)](_0x2c41f1[_0x5acf34(0x117)]),_0x51544d[_0x5acf34(0x153)]),_0x1ce472=''+_0x2c41f1[_0x5acf34(0x1dd)](chalk[_0x5acf34(0x172)](_0x2c41f1[_0x5acf34(0x136)]),_0x543010),_0x5d0b62=''+_0x2c41f1['jgUwh'](_0x2c41f1[_0x5acf34(0x1dd)](_0x2c41f1[_0x5acf34(0x197)](chalk[_0x5acf34(0x172)](_0x2c41f1[_0x5acf34(0x15d)]),_0x2c41f1[_0x5acf34(0x1a3)](_0x4416eb,0x0)?chalk[_0x5acf34(0x172)][_0x5acf34(0x1a9)](_0x4416eb+_0x5acf34(0x1e1))+',\x20':''),_0x2c41f1[_0x5acf34(0x1a3)](_0x4ce776,0x0)?chalk['bold'][_0x5acf34(0x17b)](_0x4ce776+_0x5acf34(0x12c))+',\x20':''),_0x2c41f1[_0x5acf34(0x1a3)](_0x196d3b,0x0)?chalk[_0x5acf34(0x172)]['green'](_0x196d3b+_0x5acf34(0x1e9))+',\x20':'')+_0x414597+'\x20total';console[_0x5acf34(0xf7)](_0x2c41f1[_0x5acf34(0x185)](_0x2c41f1[_0x5acf34(0x1dd)](_0x2c41f1[_0x5acf34(0x185)](_0x2c41f1['MaLWH'](_0x2c41f1[_0x5acf34(0x197)](_0x2c41f1[_0x5acf34(0x1a6)],_0x35c243),'\x0a'),_0x1ce472),'\x0a'),_0x5d0b62));if(_0x2c41f1[_0x5acf34(0x19d)](_0x1b41e6,_0x2c41f1[_0x5acf34(0x179)])){const _0xd335b7={},_0x4f6a98={};_0x4f6a98[_0x5acf34(0x1e3)]=_0x543010,_0x4f6a98[_0x5acf34(0x142)]=_0x51544d,_0x4f6a98[_0x5acf34(0x1bf)]=_0x4416eb,_0x4f6a98[_0x5acf34(0x1d9)]=_0x196d3b,_0x4f6a98['testsPending']=_0x4ce776,_0xd335b7[_0x5acf34(0x130)]=_0x4f6a98,_0x51544d['forEach'](_0x918158=>{const _0x36c6eb=_0x5acf34,_0xeddfed={'BDvTe':function(_0x7ce10c,_0x6b64f2){return _0x2c41f1['oArcZ'](_0x7ce10c,_0x6b64f2);},'fUjqI':_0x2c41f1[_0x36c6eb(0x1ac)],'dyqmm':_0x2c41f1[_0x36c6eb(0x193)],'VhKZX':function(_0x19708c,_0x25d18c){const _0x1189cd=_0x36c6eb;return _0x2c41f1[_0x1189cd(0x19a)](_0x19708c,_0x25d18c);},'yVqcO':_0x2c41f1[_0x36c6eb(0x1b4)],'aaNqY':_0x2c41f1[_0x36c6eb(0x15f)],'SqfNJ':_0x2c41f1[_0x36c6eb(0x145)]};_0xd335b7[_0x918158]={'pending':[],'failures':[],'passes':[],'tests':_0xa2c9cd[_0x918158][_0x2c41f1[_0x36c6eb(0x13e)]][_0x36c6eb(0x16c)](clean)},_0xa2c9cd[_0x918158][_0x2c41f1[_0x36c6eb(0x13e)]][_0x36c6eb(0x144)](_0x371d09=>{const _0x5567c6=_0x36c6eb;if(_0xeddfed[_0x5567c6(0x1cf)](_0x371d09[_0x5567c6(0x147)],_0xeddfed[_0x5567c6(0x118)]))_0xd335b7[_0x918158][_0xeddfed[_0x5567c6(0x12a)]][_0x5567c6(0x17f)](_0xeddfed[_0x5567c6(0x1ee)](clean,_0x371d09));else _0xeddfed['BDvTe'](_0x371d09[_0x5567c6(0x147)],_0xeddfed['yVqcO'])?_0xd335b7[_0x918158][_0xeddfed[_0x5567c6(0x1a0)]]['push'](_0xeddfed['VhKZX'](clean,_0x371d09)):_0xd335b7[_0x918158][_0xeddfed[_0x5567c6(0x199)]]['push'](_0xeddfed[_0x5567c6(0x1ee)](clean,_0x371d09));});});if(_0x7d71c1[_0x5acf34(0x157)])try{logger[_0x5acf34(0x114)](_0x2c41f1[_0x5acf34(0x174)],_0x7d71c1[_0x5acf34(0x157)]),fs[_0x5acf34(0x18d)](_0x7d71c1[_0x5acf34(0x157)],JSON[_0x5acf34(0x1d7)](_0xd335b7,null,0x3));}catch(_0x14cecf){logger[_0x5acf34(0x1d6)](_0x2c41f1[_0x5acf34(0x1df)],_0x7d71c1[_0x5acf34(0x157)]),logger[_0x5acf34(0x114)](_0x14cecf);}else logger[_0x5acf34(0x114)](_0x2c41f1[_0x5acf34(0x163)]),console[_0x5acf34(0xf7)](JSON[_0x5acf34(0x1d7)](_0xd335b7,null,0x3));}else{if(_0x2c41f1[_0x5acf34(0x129)](_0x1b41e6,_0x2c41f1[_0x5acf34(0x1ad)])){let _0x120cb5;const _0x36ea57=_0x2c41f1['hIZQJ'];_0x7d71c1&&(_0x120cb5=_0x7d71c1['suiteName']);_0x120cb5=_0x2c41f1[_0x5acf34(0x137)](_0x120cb5,_0x36ea57);let _0x69526b=0x0,_0x321ba6=0x0,_0x4461b0=0x0,_0x279dd8=0x0;_0x51544d[_0x5acf34(0x144)](_0x46da64=>{const _0x39295c=_0x5acf34;_0xa2c9cd[_0x46da64][_0x2c41f1[_0x39295c(0x13e)]][_0x39295c(0x144)](_0x34ebae=>{const _0x1e3715=_0x39295c;if(_0x2c41f1[_0x1e3715(0x102)](_0x34ebae[_0x1e3715(0x147)],_0x2c41f1[_0x1e3715(0x1ac)]))_0x69526b++;else _0x2c41f1[_0x1e3715(0x102)](_0x34ebae[_0x1e3715(0x147)],_0x2c41f1['dalJL'])&&_0x321ba6++;_0x4461b0++,_0x279dd8+=_0x2c41f1[_0x1e3715(0x1c5)](_0x34ebae[_0x1e3715(0x13d)],0x1);});}),_0x2c41f1[_0x5acf34(0x1a8)](xunitWrite,_0x2c41f1[_0x5acf34(0x1c2)](tag,_0x2c41f1['NrWPv'],{'name':_0x120cb5,'tests':_0x4461b0,'failures':0x0,'errors':_0x321ba6,'skipped':_0x2c41f1[_0x5acf34(0x15a)](_0x2c41f1[_0x5acf34(0xfa)](_0x4461b0,_0x321ba6),_0x69526b),'timestamp':new Date()[_0x5acf34(0x1d0)](),'time':_0x2c41f1[_0x5acf34(0x17d)](_0x279dd8,0x3e8)||0x0},![])),_0x51544d['forEach'](_0x41fbe7=>{const _0xb5ab84=_0x5acf34,_0x47e580={'hPMwX':function(_0x14e76f,_0x413077,_0x12e393){const _0x1a57eb=a28_0x1eca;return _0x2c41f1[_0x1a57eb(0x120)](_0x14e76f,_0x413077,_0x12e393);}};_0xa2c9cd[_0x41fbe7][_0x2c41f1['HlUpX']][_0xb5ab84(0x144)](_0x1d81ec=>{_0x47e580['hPMwX'](xunitTest,_0x1d81ec,_0x41fbe7);});}),_0x2c41f1[_0x5acf34(0x135)](xunitWrite,_0x2c41f1[_0x5acf34(0x105)]);if(_0x7d71c1[_0x5acf34(0x157)])try{logger[_0x5acf34(0x114)](_0x2c41f1[_0x5acf34(0x1cc)],_0x7d71c1[_0x5acf34(0x157)]),fs['writeFileSync'](_0x7d71c1[_0x5acf34(0x157)],xunitContent);}catch(_0x2e68e9){logger[_0x5acf34(0x1d6)](_0x2c41f1['awZTR'],_0x7d71c1['output']),logger[_0x5acf34(0x114)](_0x2e68e9);}else logger[_0x5acf34(0x114)](_0x2c41f1['ZysVZ']),console[_0x5acf34(0xf7)](xunitContent);}else{if(_0x2c41f1[_0x5acf34(0x170)](_0x4416eb,0x0))return;console['log'](),logger[_0x5acf34(0x114)](_0x2c41f1['fLgls']),console[_0x5acf34(0xf7)](chalk[_0x5acf34(0x172)][_0x5acf34(0x1a7)](_0x2c41f1[_0x5acf34(0x152)])),_0x51544d['forEach'](_0xff2994=>{const _0x3c309a=_0x5acf34,_0x445d64=[];_0xa2c9cd[_0xff2994][_0x2c41f1[_0x3c309a(0x13e)]]['forEach'](_0x58efd5=>{const _0xd75f6f=_0x3c309a;_0x2c41f1['EdeLe'](_0x58efd5['state'],_0x2c41f1[_0xd75f6f(0x1b4)])&&(_0x58efd5[_0xd75f6f(0x1a1)]=()=>_0x58efd5[_0xd75f6f(0x151)],_0x445d64[_0xd75f6f(0x17f)](_0x58efd5));}),_0x2c41f1[_0x3c309a(0x1a3)](_0x445d64[_0x3c309a(0x153)],0x0)&&(Base[_0x3c309a(0x12f)](),Base[_0x3c309a(0x12f)](_0x2c41f1[_0x3c309a(0x110)](_0x2060e5),chalk['bold'][_0x3c309a(0x112)](_0xff2994)),Base[_0x3c309a(0x1af)](_0x445d64));});}}}async function run(_0x147d9,_0x85a62e){const _0x3d5be3=a28_0x12cab0,_0x126bc4={'aRtVv':function(_0xc6fe8d,_0x7a1089,_0x2fc04a,_0x16be9b){return _0xc6fe8d(_0x7a1089,_0x2fc04a,_0x16be9b);},'DmBxP':_0x3d5be3(0x149),'CiXbO':_0x3d5be3(0x1b3),'sXMbq':_0x3d5be3(0x1d8),'seuRN':function(_0x114597,_0x26d346,_0x2bd9a0,_0x1ee229){return _0x114597(_0x26d346,_0x2bd9a0,_0x1ee229);},'FqnDA':_0x3d5be3(0x17c),'qMoPG':'--disable-test-observability','eoHNA':_0x3d5be3(0x1e4),'SxopH':function(_0x3af9c0,_0x1d6f43){return _0x3af9c0!=_0x1d6f43;},'gqxzN':_0x3d5be3(0x126),'slbdi':'mjs','eBxft':'test','JvVwY':_0x3d5be3(0x196),'cOQQm':function(_0x26219f,_0x3e2f49){return _0x26219f(_0x3e2f49);},'jDILZ':function(_0xec8fc4,_0x2f42ef,_0x8a34b1){return _0xec8fc4(_0x2f42ef,_0x8a34b1);},'Otemn':'files','dlORj':_0x3d5be3(0x17e),'fevGO':_0x3d5be3(0x1da),'dxKWT':function(_0x3b6b8e,_0x4db085,_0x5c23ad,_0x421b30){return _0x3b6b8e(_0x4db085,_0x5c23ad,_0x421b30);},'hEFXQ':function(_0x201dce,_0x10ef03){return _0x201dce*_0x10ef03;},'nyHmQ':function(_0x1fef3a,_0x1adc50){return _0x1fef3a!==_0x1adc50;},'ZgIIM':function(_0x482c44,_0x3a4ea8,_0x17c4ba,_0x1061c9){return _0x482c44(_0x3a4ea8,_0x17c4ba,_0x1061c9);}};process[_0x3d5be3(0x1d1)][_0x3d5be3(0x18c)](_0x126bc4['qMoPG'])&&(process[_0x3d5be3(0x11e)][_0x3d5be3(0x1ed)]=![]);process[_0x3d5be3(0x1d1)][_0x3d5be3(0x18c)](_0x126bc4[_0x3d5be3(0x11d)])&&(process[_0x3d5be3(0x11e)][_0x3d5be3(0x19f)]=![]);const _0x40e3eb=new BrowserStackSetup(_0x147d9,_0x126bc4[_0x3d5be3(0x10b)]);helper[_0x3d5be3(0x13c)]()?(await _0x40e3eb[_0x3d5be3(0x194)](),await helper['handleApp'](_0x40e3eb['config'])):await _0x40e3eb['setupTCGAuth']();const _0x485683=[];let _0x4ea44b=[];if(!_0x40e3eb[_0x3d5be3(0x162)])return;_0x126bc4[_0x3d5be3(0x139)](_0x40e3eb[_0x3d5be3(0x162)][_0x3d5be3(0x14c)],null)&&(process[_0x3d5be3(0x11e)][_0x3d5be3(0x13a)]=_0x40e3eb[_0x3d5be3(0x162)][_0x3d5be3(0x14c)]);!helper[_0x3d5be3(0x18e)](_0x40e3eb[_0x3d5be3(0x162)]['accessibility'])&&(process[_0x3d5be3(0x11e)][_0x3d5be3(0x1e7)]=_0x40e3eb[_0x3d5be3(0x162)]['accessibility']);!helper[_0x3d5be3(0x18e)](_0x40e3eb['config'][_0x3d5be3(0xff)])&&(process[_0x3d5be3(0x11e)][_0x3d5be3(0x1ea)]=JSON['stringify'](_0x40e3eb['config']['accessibilityOptions']));const {extension:extension=['js',_0x126bc4[_0x3d5be3(0x187)],_0x126bc4[_0x3d5be3(0xf9)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x126bc4[_0x3d5be3(0xfe)]]}=_0x147d9,_0x1ee480={..._0x147d9};_0x1ee480[_0x3d5be3(0x141)]=null;const _0x1b9517=_0x1ee480;let _0xfeaf7;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x3d5be3(0x158)]()){let _0x7ff60b=process['env'][_0x3d5be3(0x192)];!helper[_0x3d5be3(0x18e)](_0x40e3eb['cliConfig'])&&_0x40e3eb[_0x3d5be3(0x121)][_0x3d5be3(0x128)](_0x126bc4[_0x3d5be3(0x1c1)])&&(_0x7ff60b=_0x40e3eb[_0x3d5be3(0x121)][_0x3d5be3(0x1b7)](_0x126bc4[_0x3d5be3(0x1c1)])),_0xfeaf7=testOpsHelper['parseFileNames'](_0x7ff60b);}if(helper[_0x3d5be3(0x18e)](_0xfeaf7)){const _0xe5d22b={};_0xe5d22b[_0x3d5be3(0x11f)]=ignore,_0xe5d22b[_0x3d5be3(0x189)]=extension,_0xe5d22b['file']=file,_0xe5d22b[_0x3d5be3(0x1b0)]=recursive,_0xe5d22b[_0x3d5be3(0x10e)]=sort,_0xe5d22b['spec']=spec,_0xfeaf7=_0x126bc4[_0x3d5be3(0x169)](collectFiles,_0xe5d22b),_0x126bc4[_0x3d5be3(0x146)](nestedKeyValue,_0xfeaf7,[_0x126bc4[_0x3d5be3(0x16d)]])&&(_0xfeaf7=_0xfeaf7['files']);}helper['markSDKSetupComplete']();if(!helper[_0x3d5be3(0x13c)]()){const _0x17c9f5=0x1,_0x30ec63={..._0x1b9517};_0x30ec63[_0x3d5be3(0x11c)]=[..._0xfeaf7],_0x485683[_0x3d5be3(0x17f)]({'mochaOpts':_0x30ec63,'configuration':{'platform':os['platform']()}}),logger[_0x3d5be3(0x131)](_0x126bc4[_0x3d5be3(0x1c4)]),logger[_0x3d5be3(0x131)](_0x126bc4[_0x3d5be3(0x1c7)]),_0x126bc4[_0x3d5be3(0x13f)](parallelTestRun,_0x485683,_0x17c9f5,_0x40e3eb)[_0x3d5be3(0x16f)](_0x5dd941=>{const _0x5de852=_0x3d5be3;_0x126bc4[_0x5de852(0x190)](printStats,_0x5dd941,_0x147d9['reporter'],_0x147d9[_0x5de852(0x154)]||_0x147d9[_0x126bc4[_0x5de852(0x1e0)]]);})[_0x3d5be3(0x186)](()=>{const _0x5501e0=_0x3d5be3;try{const {browserstackFolderPath:_0x1786fc,tcgConfigPath:_0x5493e5}=helper[_0x5501e0(0xfb)]();fs[_0x5501e0(0x1b5)](_0x5493e5),fs['rmdirSync'](_0x1786fc);}catch(_0xb6eae5){logger[_0x5501e0(0x114)](_0x126bc4[_0x5501e0(0x167)],_0xb6eae5);}try{utilities[_0x5501e0(0x106)](_0x126bc4[_0x5501e0(0x1e5)],{},_0x40e3eb[_0x5501e0(0x162)],_0x40e3eb[_0x5501e0(0x1c0)]);}catch(_0x133338){logger[_0x5501e0(0x114)](_0x5501e0(0x164)+_0x133338);}try{helper['notifyUpdate']();}catch(_0x59e141){logger[_0x5501e0(0x114)](_0x5501e0(0x122)+_0x59e141);}testOpsHelper[_0x5501e0(0x16e)]();});}else{const _0x40efdc=helper[_0x3d5be3(0x166)](_0x40e3eb[_0x3d5be3(0x162)]),_0x7c80e2=helper[_0x3d5be3(0x18f)](_0x40e3eb['config']);_0x4ea44b=helper['prepareCapabilities'](_0x40e3eb[_0x3d5be3(0x162)],_0x40efdc,constants[_0x3d5be3(0x168)][_0x3d5be3(0x19b)]);let _0x1c6b0d;const _0x211939=_0x40e3eb[_0x3d5be3(0x162)][_0x3d5be3(0x161)]||helper[_0x3d5be3(0x165)](_0x147d9,_0x85a62e,_0x40e3eb['config'],constants[_0x3d5be3(0x168)][_0x3d5be3(0x19b)])||0x1;helper[_0x3d5be3(0x148)](_0x40e3eb['config'])?_0x1c6b0d=_0x126bc4['hEFXQ'](_0x40e3eb['config'][_0x3d5be3(0x142)][_0x3d5be3(0x153)],_0x211939):_0x1c6b0d=_0x211939;const _0x1e6c2f=_0x126bc4[_0x3d5be3(0x169)](getPercyOptions,_0x40e3eb[_0x3d5be3(0x162)]);if(_0x126bc4['nyHmQ'](_0x40e3eb[_0x3d5be3(0x162)][_0x3d5be3(0x161)],0x1))_0xfeaf7[_0x3d5be3(0x144)](_0x46670d=>{const _0x1d1a20=[];_0x4ea44b['forEach']((_0x291af8,_0x34593f)=>{const _0x1e7a04=a28_0x1eca,_0x39bb6a={};_0x39bb6a['spec']=[_0x46670d],_0x1d1a20[_0x1e7a04(0x17f)]({'mochaOpts':Object[_0x1e7a04(0x18b)]({},_0x1b9517,_0x39bb6a),'configuration':{'server':_0x7c80e2,'capability':_0x291af8,'proxySettings':_0x40e3eb[_0x1e7a04(0x162)][_0x1e7a04(0x143)],'platform':helper[_0x1e7a04(0x19e)](_0x291af8),'browserStackLogLevel':_0x40e3eb[_0x1e7a04(0x162)][_0x1e7a04(0x12e)],'platformIndex':_0x34593f,'browserStackPercyOptions':_0x1e6c2f,'platformCaps':_0x40e3eb[_0x1e7a04(0x162)]['platforms'][_0x34593f]}});}),_0x485683['push'](..._0x1d1a20);});else{const _0x26249e=[];_0x4ea44b[_0x3d5be3(0x144)]((_0x3a8b09,_0xd9e9c0)=>{const _0x851305=_0x3d5be3;let _0x544e03=Object[_0x851305(0x18b)]({},_0x1b9517);testOpsHelper[_0x851305(0x1dc)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x544e03={..._0x544e03,'spec':[..._0xfeaf7]}),_0x26249e[_0x851305(0x17f)]({'mochaOpts':_0x544e03,'configuration':{'server':_0x7c80e2,'capability':_0x3a8b09,'proxySettings':_0x40e3eb['config'][_0x851305(0x143)],'platform':helper[_0x851305(0x19e)](_0x3a8b09),'browserStackLogLevel':_0x40e3eb[_0x851305(0x162)][_0x851305(0x12e)],'platformIndex':_0xd9e9c0,'browserStackPercyOptions':_0x1e6c2f,'platformCaps':_0x40e3eb[_0x851305(0x162)][_0x851305(0x142)][_0xd9e9c0]}});}),_0x485683[_0x3d5be3(0x17f)](..._0x26249e);}logger[_0x3d5be3(0x131)](_0x3d5be3(0x198)+_0x40e3eb[_0x3d5be3(0x162)]['platforms'][_0x3d5be3(0x153)]+_0x3d5be3(0x1d4)),logger['info'](_0x126bc4['fevGO']);let _0x5a5eb8;_0x126bc4[_0x3d5be3(0x107)](parallelTestRun,_0x485683,_0x1c6b0d,_0x40e3eb)['then'](_0x568d54=>{const _0xf8b693=_0x3d5be3;_0x5a5eb8=_0x568d54,_0x126bc4[_0xf8b693(0x1db)](printStats,_0x568d54,_0x147d9[_0xf8b693(0x11b)],_0x147d9[_0xf8b693(0x154)]||_0x147d9[_0x126bc4['DmBxP']]);})[_0x3d5be3(0x186)](async()=>{const _0xf7bab5=_0x3d5be3;_0x40e3eb[_0xf7bab5(0x14f)]=helper['getErrorMessageFromResults'](_0x5a5eb8,_0x126bc4['FqnDA']),await utilities[_0xf7bab5(0x18a)](_0x40e3eb),testOpsHelper['printBuildLink']();});}}module[a28_0x12cab0(0x188)]=run;function a28_0x1467(){const _0x1b0ddf=['cKUfU','dqpnl','passes','list','recursive','11leTeQO','Writing\x20json\x20result\x20to\x20file','error\x20removing\x20tcg\x20config\x20file','dalJL','unlinkSync','title','get','indexOf','8962145ZAzdrN','AwfSZ','exitCode','getOwnPropertyNames','lbBTC','hasOwnProperty','testsFailed','framework','JvVwY','gfxrc','Total\x20Platforms:\x20','dlORj','pYxtG','bjYIW','fevGO','11724960pYiPoV','Sewyg','parse','../../helpers/percy/utils','comar','nOHfG','jtdCl','BDvTe','toUTCString','argv','Setting\x20non\x20exit\x20code\x20for\x20failures','Printing\x20stats\x20of\x20tests','\x20platforms','generateDiff','error','stringify','SDKTestSuccessful','testsPassed','Now,\x20showing\x20logs\x20from\x20mocha','seuRN','isTestObservabilitySession','jgUwh','XNTpP','ehnEi','DmBxP','\x20failed','UWZwt','testSuites','--disable-browserstack-automation','sXMbq','QlmeZ','BROWSERSTACK_TEST_ACCESSIBILITY_YML','suite','\x20passed','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','eIhJv','pending','BROWSERSTACK_TEST_OBSERVABILITY','VhKZX','Listing\x20all\x20the\x20failures','speed','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','log','../../helpers/test-observability/utils','slbdi','MugIZ','getTCGConfigFilePaths','call','4509657cPXqvd','eBxft','accessibilityOptions','results','dJDVR','oArcZ','qnNSv','nDqPw','wYyje','fireFunnelTestEvent','ZgIIM','Total\x20Suites:\x20','passed','xunit','FqnDA','uFycC','../../helpers/logger','sort','dTdFc','LWQMS','4fMhiiP','bgBlueBright','../../helpers/helper','debug','join','actual','zfbTe','fUjqI','1015311SOkXUN','fullTitle','reporter','spec','eoHNA','env','ignore','tvPyW','cliConfig','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','isPending','\x0a\x0a\x0a','rvKMy','cjs','JDclA','has','mnnCm','dyqmm','add','\x20skipped','Tests:\x20\x20\x20\x20\x20\x20\x20','logLevel','consoleLog','stats','info','../test-runner','CwQTE','QHfzE','VrqGO','OYOTt','OWqCC','size','SxopH','BROWSERSTACK_TEST_OBSERVABILITY_YML','</testsuite>','isBrowserstackInfra','duration','HlUpX','dxKWT','105929HSPHFz','rootHooks','platforms','proxySettings','forEach','pofyY','jDILZ','state','validPlatformsPresent','reporter-option','ntnty','UGRxI','testObservability','2653716DeCFGw','prototype','errorMessage','PPkjI','titlePathV','IbkZq','length','reporterOptions','hideDiff','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','output','shouldReRunObservabilityTests','XXrEB','fQVzd','winstonLogger','../../helpers/BrowserStackSetup','xipNU','message','kEPkP','../../helpers/utilities','parallelsPerPlatform','config','VEJWf','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','getUserWorkerCount','useW3C','CiXbO','FRAMEWORKS','cOQQm','hKshA','skipped','map','Otemn','printBuildLink','then','HPtzZ','30eKWsyu','bold','nVVKK','sPBph','Writing\x20xunit\x20result\x20to\x20file','7kOeTqs','keys','showDiff','AFtUg','failure','yellow','mocha','KLgXk','Running\x20your\x20mocha\x20tests','push','Mocha\x20Tests','currentRetry','failures','doc','expected','JylwB','finally','gqxzN','exports','extension','finalExecution','assign','includes','writeFileSync','isUndefined','getHubUrl','aRtVv','zjzoW','BROWSERSTACK_RERUN_TESTS','kWwzQ','initialize','DQJIb','rerunTests','WeDXZ','Running\x20your\x20mocha\x20tests\x20across\x20','SqfNJ','qdwKJ','MOCHA','12lGpqbs','SXPXv','getPlatformName','BROWSERSTACK_AUTOMATION','aaNqY','titlePath','11734056zunIOK','vVdJK','failed','dGfqd','QurUg','bgRedBright','NfkCy','red','fyKNH','vExqV'];a28_0x1467=function(){return _0x1b0ddf;};return a28_0x1467();}
2
+ 'use strict';const a28_0x2bdff0=a28_0x1976;(function(_0x54dd7d,_0x498d2f){const _0x3b6a45=a28_0x1976,_0x4e0af5=_0x54dd7d();while(!![]){try{const _0x4384ce=parseInt(_0x3b6a45(0x20a))/0x1*(parseInt(_0x3b6a45(0x199))/0x2)+-parseInt(_0x3b6a45(0x216))/0x3+parseInt(_0x3b6a45(0x197))/0x4+-parseInt(_0x3b6a45(0x1c2))/0x5+-parseInt(_0x3b6a45(0x1c9))/0x6*(-parseInt(_0x3b6a45(0x19a))/0x7)+-parseInt(_0x3b6a45(0x17f))/0x8+parseInt(_0x3b6a45(0x18c))/0x9;if(_0x4384ce===_0x498d2f)break;else _0x4e0af5['push'](_0x4e0af5['shift']());}catch(_0x415b61){_0x4e0af5['push'](_0x4e0af5['shift']());}}}(a28_0x4a60,0x9858d));const chalk=require(a28_0x2bdff0(0x171)),logger=require(a28_0x2bdff0(0x21a))[a28_0x2bdff0(0x220)],{default:BrowserStackSetup}=require(a28_0x2bdff0(0x19c)),helper=require('../../helpers/helper'),utilities=require(a28_0x2bdff0(0x20e)),testOpsHelper=require(a28_0x2bdff0(0x184)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x2bdff0(0x247)),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule(a28_0x2bdff0(0x24d)),collectFiles=requireModule(a28_0x2bdff0(0x233)),constants=require('../utils/constants');function tag(_0xdcda68,_0x490c08,_0x59dea2,_0x5bc158){const _0x8d5a66=a28_0x2bdff0,_0x2bd69f={'uYkCu':function(_0x397b9d,_0x575d27){return _0x397b9d+_0x575d27;},'DKDjZ':function(_0x4e92b6,_0xca25fb){return _0x4e92b6+_0xca25fb;},'pCSnF':function(_0x5a84f2,_0x571ad2){return _0x5a84f2(_0x571ad2);},'DnTLd':function(_0x54dbaf,_0xd07226){return _0x54dbaf+_0xd07226;},'oNKKV':function(_0x419405,_0x326516){return _0x419405+_0x326516;},'TFNtQ':function(_0x1672f1,_0x308ccc){return _0x1672f1+_0x308ccc;},'OomYB':function(_0x318e5c,_0x299366){return _0x318e5c+_0x299366;}},_0x14395f=_0x59dea2?'/>':'>',_0x1e1e18=[];let _0x36f1ea;for(const _0x3f26e in _0x490c08){Object['prototype'][_0x8d5a66(0x1cd)]['call'](_0x490c08,_0x3f26e)&&_0x1e1e18[_0x8d5a66(0x1c0)](_0x2bd69f['uYkCu'](_0x2bd69f[_0x8d5a66(0x177)](_0x2bd69f[_0x8d5a66(0x241)](_0x3f26e,'=\x22'),_0x2bd69f['pCSnF'](escape,_0x490c08[_0x3f26e])),'\x22'));}return _0x36f1ea=_0x2bd69f[_0x8d5a66(0x241)](_0x2bd69f[_0x8d5a66(0x1fd)](_0x2bd69f['DnTLd']('<',_0xdcda68),_0x1e1e18[_0x8d5a66(0x20d)]?_0x2bd69f['oNKKV']('\x20',_0x1e1e18[_0x8d5a66(0x1ed)]('\x20')):''),_0x14395f),_0x5bc158&&(_0x36f1ea+=_0x2bd69f['DnTLd'](_0x2bd69f[_0x8d5a66(0x217)](_0x2bd69f[_0x8d5a66(0x196)](_0x5bc158,'</'),_0xdcda68),_0x14395f)),_0x36f1ea;}let xunitContent='';function xunitWrite(_0x47cafe){xunitContent+=_0x47cafe;}function xunitTest(_0x4bd6d7,_0x5e2e41){const _0x36cecb=a28_0x2bdff0,_0x185d9c={'JDlnr':function(_0x4caa05,_0x1c4146){return _0x4caa05/_0x1c4146;},'sTYzl':function(_0x2a08f5,_0x1897a1){return _0x2a08f5===_0x1897a1;},'LGaTM':_0x36cecb(0x1bb),'KMktH':function(_0x475b3d,_0x37975b){return _0x475b3d+_0x37975b;},'gZAhw':function(_0x590962,_0x8385c0){return _0x590962(_0x8385c0);},'Cbgpd':function(_0x173234,_0x25bd4c,_0x2d1bf2,_0x1a4f26,_0x13ec41){return _0x173234(_0x25bd4c,_0x2d1bf2,_0x1a4f26,_0x13ec41);},'aSIsV':'testcase','zByJg':_0x36cecb(0x17b),'cZOBo':function(_0x3552ff,_0x5d2639){return _0x3552ff(_0x5d2639);},'MEpVD':function(_0x366476,_0x59ef01){return _0x366476(_0x59ef01);},'rSrOq':function(_0x137f69,_0x4175f8){return _0x137f69(_0x4175f8);},'apNKF':function(_0x5c2402,_0x32c5e0,_0x3cc470,_0x51a074){return _0x5c2402(_0x32c5e0,_0x3cc470,_0x51a074);},'xEbLR':_0x36cecb(0x1fc)};Base[_0x36cecb(0x194)]=![];var _0xeafccb={'classname':_0x4bd6d7[_0x36cecb(0x1e0)],'name':_0x4bd6d7[_0x36cecb(0x1be)],'time':_0x185d9c['JDlnr'](_0x4bd6d7[_0x36cecb(0x17d)],0x3e8)||0x0,'platform':_0x5e2e41};if(_0x185d9c[_0x36cecb(0x1e6)](_0x4bd6d7['state'],_0x185d9c[_0x36cecb(0x1c7)])){var _0x39682d=_0x4bd6d7[_0x36cecb(0x1bf)],_0xf23213=!Base['hideDiff']&&Base[_0x36cecb(0x1a0)](_0x39682d)?_0x185d9c['KMktH']('\x0a',Base[_0x36cecb(0x1e4)](_0x39682d[_0x36cecb(0x1d8)],_0x39682d[_0x36cecb(0x1ae)])):'';_0x185d9c[_0x36cecb(0x1a1)](xunitWrite,_0x185d9c[_0x36cecb(0x173)](tag,_0x185d9c['aSIsV'],_0xeafccb,![],_0x185d9c[_0x36cecb(0x173)](tag,_0x185d9c['zByJg'],{},![],_0x185d9c[_0x36cecb(0x22d)](_0x185d9c[_0x36cecb(0x22d)](_0x185d9c[_0x36cecb(0x22d)](_0x185d9c[_0x36cecb(0x204)](escape,_0x39682d['message']),_0x185d9c[_0x36cecb(0x1d5)](escape,_0xf23213)),'\x0a'),_0x185d9c[_0x36cecb(0x192)](escape,_0x39682d[_0x36cecb(0x1d2)])))));}else _0x4bd6d7['isPending']?_0x185d9c[_0x36cecb(0x1d5)](xunitWrite,_0x185d9c[_0x36cecb(0x173)](tag,_0x185d9c['aSIsV'],_0xeafccb,![],_0x185d9c[_0x36cecb(0x1a6)](tag,_0x185d9c[_0x36cecb(0x1c3)],{},!![]))):_0x185d9c[_0x36cecb(0x1d5)](xunitWrite,_0x185d9c[_0x36cecb(0x1a6)](tag,_0x185d9c[_0x36cecb(0x179)],_0xeafccb,!![]));}function a28_0x1976(_0x1521e4,_0x5ce11c){const _0x4a6025=a28_0x4a60();return a28_0x1976=function(_0x1976ba,_0x503a36){_0x1976ba=_0x1976ba-0x171;let _0x2d8754=_0x4a6025[_0x1976ba];return _0x2d8754;},a28_0x1976(_0x1521e4,_0x5ce11c);};function getStats(_0x150a9b){const _0x30bf16=a28_0x2bdff0,_0x31f4fe={};_0x31f4fe[_0x30bf16(0x1ec)]=_0x30bf16(0x1aa),_0x31f4fe['FyLmB']=_0x30bf16(0x186),_0x31f4fe[_0x30bf16(0x230)]=_0x30bf16(0x1bb),_0x31f4fe[_0x30bf16(0x195)]=_0x30bf16(0x252);const _0x18c515=_0x31f4fe,_0xf4e172=Object['keys'](_0x150a9b);let _0x445dbe=0x0,_0xc44c4f=0x0,_0x2bf4a=0x0,_0x2dc2ff=0x0;const _0x22ea94=new Set();_0xf4e172['forEach'](_0x3c1a46=>{const _0x507b8e=_0x30bf16;_0x150a9b[_0x3c1a46][_0x18c515[_0x507b8e(0x195)]]['forEach'](_0x3be662=>{const _0x2233af=_0x507b8e;_0x22ea94['add'](_0x3be662[_0x18c515[_0x2233af(0x1ec)]]),_0x445dbe++;switch(_0x3be662[_0x2233af(0x232)]){case _0x18c515[_0x2233af(0x1ac)]:_0x2bf4a++;break;case _0x18c515[_0x2233af(0x230)]:_0xc44c4f++;break;default:_0x2dc2ff++;}});});const _0x24a9ad={};return _0x24a9ad[_0x30bf16(0x212)]=_0x22ea94[_0x30bf16(0x238)],_0x24a9ad[_0x30bf16(0x1f4)]=_0xf4e172,_0x24a9ad['totalTests']=_0x445dbe,_0x24a9ad[_0x30bf16(0x1f6)]=_0xc44c4f,_0x24a9ad[_0x30bf16(0x19f)]=_0x2bf4a,_0x24a9ad[_0x30bf16(0x222)]=_0x2dc2ff,_0x24a9ad;}function errorJSON(_0x598998){const _0x295e5e=a28_0x2bdff0;var _0x116c0c={};return Object[_0x295e5e(0x234)](_0x598998)[_0x295e5e(0x1b4)](function(_0x1c2304){_0x116c0c[_0x1c2304]=_0x598998[_0x1c2304];},_0x598998),_0x116c0c;}function cleanCycles(_0x1487dd){const _0x2f630a=a28_0x2bdff0,_0x56c009={};_0x56c009[_0x2f630a(0x21c)]=function(_0x5dbcbd,_0x520cec){return _0x5dbcbd===_0x520cec;},_0x56c009['zclUS']='object',_0x56c009[_0x2f630a(0x1a9)]=function(_0x199c21,_0x35f23f){return _0x199c21!==_0x35f23f;},_0x56c009['hxKwR']=function(_0x475da8,_0x37c891){return _0x475da8+_0x37c891;};const _0x61a8ae=_0x56c009;var _0x1eca22=[];return JSON['parse'](JSON['stringify'](_0x1487dd,function(_0xc2a127,_0x2925b0){const _0x109fc1=_0x2f630a;if(_0x61a8ae['yDIFz'](typeof _0x2925b0,_0x61a8ae[_0x109fc1(0x235)])&&_0x61a8ae[_0x109fc1(0x1a9)](_0x2925b0,null)){if(_0x61a8ae[_0x109fc1(0x1a9)](_0x1eca22[_0x109fc1(0x249)](_0x2925b0),-0x1))return _0x61a8ae[_0x109fc1(0x24c)]('',_0x2925b0);_0x1eca22[_0x109fc1(0x1c0)](_0x2925b0);}return _0x2925b0;}));}function a28_0x4a60(){const _0x3fede3=['FyLmB','--disable-test-observability','expected','error\x20removing\x20tcg\x20config\x20file','Setting\x20non\x20exit\x20code\x20for\x20failures','has','getErrorMessageFromResults','cxVpo','forEach','BQdyL','Csrjq','ddtRq','\x20skipped','BROWSERSTACK_TEST_ACCESSIBILITY_YML','lxDdi','failed','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','green','title','err','push','finalExecution','5955585ayPdsI','xEbLR','blPAW','titlePath','debug','LGaTM','yTZFp','1938CsVIWN','pxPJr','accessibilityOptions','zoBon','hasOwnProperty','vCFpI','jHBkv','ignore','argv','stack','</testsuite>','initialize','MEpVD','proxySettings','Couldn\x27t\x20write\x20json\x20result\x20to','actual','kDouB','RBDCO','isTestObservabilitySession','rootHooks','failures','HbqRf','XTcxh','fullTitle','bIEHH','RLlaB','\x0a\x0a\x0a','generateDiff','nmRHX','sTYzl','suiteName','EGwxs','Couldn\x27t\x20write\x20xunit\x20result\x20to','titlePathV','zUuDJ','YYrvO','join','json','\x20total','xxkFB','files','vMvjM','consoleLog','platforms','Total\x20Platforms:\x20','testsFailed','APLyd','VqzLy','shouldReRunObservabilityTests','MOCHA','speed','skipped','DnTLd','validPlatformsPresent','FRAMEWORKS','info','handleApp','hfSDS','ktibz','cZOBo','logLevel','map','mjs','bold','ECHLg','1LrzDhs','BVORi','apNTF','length','../../helpers/utilities','file','toUTCString','Mocha\x20Tests','testSuites','includes','config','isBrowserstackInfra','1577433sYjuMs','TFNtQ','BROWSERSTACK_TEST_OBSERVABILITY_YML','pending','../../helpers/logger','reporter-option','yDIFz','rmdirSync','QhBDg','exitCode','winstonLogger','KhjYO','testsPending','useW3C','rerunTests','QXjfS','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','pUuvF','****\x20FAILURES\x20****','JtGUc','getUserWorkerCount','recursive','AbdzL','KMktH','writeFileSync','reporterOptions','BRlrc','eNqIM','state','mocha/lib/cli/collect-files.js','getOwnPropertyNames','zclUS','assign','extension','size','--disable-browserstack-automation','OxyVo','then','unlinkSync','list','testObservability','stringify','BROWSERSTACK_RERUN_TESTS','DKDjZ','HybcS','fojGP','Running\x20your\x20mocha\x20tests','ligbE','markSDKSetupComplete','../test-runner','amDBa','indexOf','get','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','hxKwR','mocha/lib/reporters/base.js','SDKTestSuccessful','\x20failed','xunit','Exmmw','results','pBcZr','KSCqJ','ADoHZ','xuloM','chalk','spec','Cbgpd','gYsug','DCeKp','isUndefined','uYkCu','cliConfig','aSIsV','accessibility','failure','getPlatformName','duration','min','9162840SZLjvA','\x20passed','exports','finally','BjfqQ','../../helpers/test-observability/utils','Tests:\x20\x20\x20\x20\x20\x20\x20','passed','env','Writing\x20xunit\x20result\x20to\x20file','parallelsPerPlatform','Listing\x20all\x20the\x20failures','YfNCY','16654311DEvziU','error','qBsVh','passes','ERjBT','output','rSrOq','stats','useColors','NVlHn','OomYB','976600rihLDO','BNbjN','2115370mHhGxs','7238BFZonp','printBuildLink','../../helpers/BrowserStackSetup','log','AZGqK','testsPassed','showDiff','gZAhw','AIxqG','Running\x20your\x20mocha\x20tests\x20across\x20','notifyUpdate','testsuite','apNKF','UrjLK','errorMessage','NWDKD','suite','xBvbU'];a28_0x4a60=function(){return _0x3fede3;};return a28_0x4a60();}function clean(_0x21c365){const _0x33f709=a28_0x2bdff0,_0xd21af0={'lxDdi':function(_0x56c3f2,_0xfc8fff){return _0x56c3f2 instanceof _0xfc8fff;},'pxPJr':function(_0x1e4ccd,_0x4b0c0d){return _0x1e4ccd(_0x4b0c0d);}};var _0x3e4832=_0x21c365['err']||{};return _0xd21af0[_0x33f709(0x1ba)](_0x3e4832,Error)&&(_0x3e4832=_0xd21af0[_0x33f709(0x1ca)](errorJSON,_0x3e4832)),{'title':_0x21c365[_0x33f709(0x1be)],'fullTitle':_0x21c365[_0x33f709(0x1e0)],'file':_0x21c365['file'],'duration':_0x21c365[_0x33f709(0x17d)],'currentRetry':_0x21c365['currentRetry'],'speed':_0x21c365[_0x33f709(0x1fb)],'err':_0xd21af0[_0x33f709(0x1ca)](cleanCycles,_0x3e4832)};}function printStats(_0x4faeae,_0x9e9e84=a28_0x2bdff0(0x172),_0x5033a4={}){const _0x4c878d=a28_0x2bdff0,_0x4bcefb={'RBDCO':function(_0x42af92,_0xe40044){return _0x42af92(_0xe40044);},'EGwxs':function(_0x290c06,_0x6b8e78){return _0x290c06===_0x6b8e78;},'ktibz':_0x4c878d(0x186),'vCFpI':_0x4c878d(0x18f),'ERjBT':_0x4c878d(0x1bb),'nNEUq':_0x4c878d(0x1dd),'AIxqG':function(_0x37273c,_0x42885d){return _0x37273c(_0x42885d);},'RLlaB':_0x4c878d(0x219),'Exmmw':_0x4c878d(0x252),'KSCqJ':function(_0x4df1bf,_0x2b8c44){return _0x4df1bf===_0x2b8c44;},'nmRHX':function(_0x355d11,_0x2c4851){return _0x355d11===_0x2c4851;},'QhBDg':function(_0x8d1a40,_0x30e26c){return _0x8d1a40*_0x30e26c;},'BVORi':function(_0x1a048b,_0x2a05ad,_0xa7daab){return _0x1a048b(_0x2a05ad,_0xa7daab);},'DCeKp':function(_0x3f61fc,_0x12da92){return _0x3f61fc>_0x12da92;},'apNTF':function(_0x50db4c){return _0x50db4c();},'EUYjf':'doc','TanLY':_0x4c878d(0x1b0),'OIfHi':'Printing\x20stats\x20of\x20tests','xBvbU':function(_0x4043f8,_0x53fbc0){return _0x4043f8+_0x53fbc0;},'AbdzL':_0x4c878d(0x1f5),'QXjfS':'Total\x20Suites:\x20','BQdyL':function(_0x2bddde,_0x50ef53){return _0x2bddde+_0x50ef53;},'gYsug':function(_0x1341ae,_0x1f7ca2){return _0x1341ae+_0x1f7ca2;},'ddtRq':_0x4c878d(0x185),'zoBon':function(_0x25038d,_0x420fb8){return _0x25038d>_0x420fb8;},'CqqJe':function(_0x1f5d2c,_0x3ad418){return _0x1f5d2c>_0x3ad418;},'CYInC':function(_0x2df8dd,_0x5da9d1){return _0x2df8dd+_0x5da9d1;},'BcKiE':_0x4c878d(0x1e3),'ErrdC':function(_0x262f00,_0x180199){return _0x262f00===_0x180199;},'cxpSe':_0x4c878d(0x1ee),'JtGUc':'Writing\x20json\x20result\x20to\x20file','XTcxh':_0x4c878d(0x1d7),'ADoHZ':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','AZGqK':_0x4c878d(0x250),'APLyd':_0x4c878d(0x211),'fojGP':function(_0x4f9269,_0x56d1e0){return _0x4f9269||_0x56d1e0;},'HybcS':function(_0x31c536,_0x472bf9){return _0x31c536(_0x472bf9);},'jyidD':function(_0x530cac,_0x36bfb2,_0x5d7359,_0x189871){return _0x530cac(_0x36bfb2,_0x5d7359,_0x189871);},'zUuDJ':_0x4c878d(0x1a5),'QBGJe':function(_0x165f53,_0x119b1){return _0x165f53-_0x119b1;},'SMqrV':function(_0x2e5a63,_0x3db065){return _0x2e5a63-_0x3db065;},'hfSDS':function(_0x41da77,_0x1728ab){return _0x41da77/_0x1728ab;},'BjfqQ':_0x4c878d(0x1d3),'OxyVo':_0x4c878d(0x188),'TMwsc':_0x4c878d(0x1e9),'VjWnn':_0x4c878d(0x1bc),'HbqRf':function(_0x1aec7f,_0x3ccd40){return _0x1aec7f===_0x3ccd40;},'qBsVh':_0x4c878d(0x18a),'xuloM':_0x4c878d(0x228)};if(_0x4bcefb[_0x4c878d(0x1e5)](_0x9e9e84,_0x4bcefb['EUYjf']))return;const _0x2e31ef=0x0,_0x4ac34c=()=>{const _0x33e728=_0x4c878d;return _0x4bcefb[_0x33e728(0x1da)](Array,_0x2e31ef)[_0x33e728(0x1ed)]('\x20\x20');},{testSuites:_0x311d57,platforms:_0x1e7118,totalTests:_0x2dc9e5,testsFailed:_0x32a4c8,testsPassed:_0x1d00ea,testsPending:_0x20cd05}=_0x4bcefb['RBDCO'](getStats,_0x4faeae);_0x4bcefb[_0x4c878d(0x175)](_0x32a4c8,0x0)&&(logger['debug'](_0x4bcefb['TanLY']),process[_0x4c878d(0x21f)]=Math[_0x4c878d(0x17e)](_0x32a4c8,0xff));logger[_0x4c878d(0x1c6)](_0x4bcefb['OIfHi']);const _0x284df9=''+_0x4bcefb[_0x4c878d(0x1ab)](chalk[_0x4c878d(0x208)](_0x4bcefb[_0x4c878d(0x22c)]),_0x1e7118[_0x4c878d(0x20d)]),_0x3d136f=''+_0x4bcefb[_0x4c878d(0x1ab)](chalk[_0x4c878d(0x208)](_0x4bcefb[_0x4c878d(0x225)]),_0x311d57),_0x3a85ff=''+_0x4bcefb[_0x4c878d(0x1b5)](_0x4bcefb['gYsug'](_0x4bcefb[_0x4c878d(0x1ab)](chalk[_0x4c878d(0x208)](_0x4bcefb[_0x4c878d(0x1b7)]),_0x4bcefb[_0x4c878d(0x1cc)](_0x32a4c8,0x0)?chalk['bold']['red'](_0x32a4c8+_0x4c878d(0x24f))+',\x20':''),_0x4bcefb[_0x4c878d(0x1cc)](_0x20cd05,0x0)?chalk[_0x4c878d(0x208)]['yellow'](_0x20cd05+_0x4c878d(0x1b8))+',\x20':''),_0x4bcefb['CqqJe'](_0x1d00ea,0x0)?chalk['bold'][_0x4c878d(0x1bd)](_0x1d00ea+_0x4c878d(0x180))+',\x20':'')+_0x2dc9e5+_0x4c878d(0x1ef);console['log'](_0x4bcefb[_0x4c878d(0x174)](_0x4bcefb[_0x4c878d(0x1ab)](_0x4bcefb[_0x4c878d(0x1ab)](_0x4bcefb['CYInC'](_0x4bcefb['CYInC'](_0x4bcefb['BcKiE'],_0x284df9),'\x0a'),_0x3d136f),'\x0a'),_0x3a85ff));if(_0x4bcefb['ErrdC'](_0x9e9e84,_0x4bcefb['cxpSe'])){const _0x78fdb2={},_0x4d4709={};_0x4d4709['testSuites']=_0x311d57,_0x4d4709[_0x4c878d(0x1f4)]=_0x1e7118,_0x4d4709[_0x4c878d(0x1f6)]=_0x32a4c8,_0x4d4709['testsPassed']=_0x1d00ea,_0x4d4709[_0x4c878d(0x222)]=_0x20cd05,_0x78fdb2[_0x4c878d(0x193)]=_0x4d4709,_0x1e7118['forEach'](_0x598abe=>{const _0x428e4c=_0x4c878d;_0x78fdb2[_0x598abe]={'pending':[],'failures':[],'passes':[],'tests':_0x4faeae[_0x598abe][_0x4bcefb[_0x428e4c(0x251)]][_0x428e4c(0x206)](clean)},_0x4faeae[_0x598abe][_0x4bcefb[_0x428e4c(0x251)]][_0x428e4c(0x1b4)](_0x3d1c71=>{const _0x3f5e25=_0x428e4c;if(_0x4bcefb[_0x3f5e25(0x1e8)](_0x3d1c71[_0x3f5e25(0x232)],_0x4bcefb['ktibz']))_0x78fdb2[_0x598abe][_0x4bcefb[_0x3f5e25(0x1ce)]]['push'](_0x4bcefb[_0x3f5e25(0x1da)](clean,_0x3d1c71));else _0x4bcefb[_0x3f5e25(0x1e8)](_0x3d1c71[_0x3f5e25(0x232)],_0x4bcefb[_0x3f5e25(0x190)])?_0x78fdb2[_0x598abe][_0x4bcefb['nNEUq']][_0x3f5e25(0x1c0)](_0x4bcefb[_0x3f5e25(0x1a2)](clean,_0x3d1c71)):_0x78fdb2[_0x598abe][_0x4bcefb[_0x3f5e25(0x1e2)]]['push'](_0x4bcefb[_0x3f5e25(0x1da)](clean,_0x3d1c71));});});if(_0x5033a4[_0x4c878d(0x191)])try{logger[_0x4c878d(0x1c6)](_0x4bcefb[_0x4c878d(0x229)],_0x5033a4[_0x4c878d(0x191)]),fs[_0x4c878d(0x22e)](_0x5033a4[_0x4c878d(0x191)],JSON['stringify'](_0x78fdb2,null,0x3));}catch(_0x3de254){logger[_0x4c878d(0x18d)](_0x4bcefb[_0x4c878d(0x1df)],_0x5033a4[_0x4c878d(0x191)]),logger['debug'](_0x3de254);}else logger['debug'](_0x4bcefb[_0x4c878d(0x255)]),console[_0x4c878d(0x19d)](JSON[_0x4c878d(0x23f)](_0x78fdb2,null,0x3));}else{if(_0x4bcefb[_0x4c878d(0x1e8)](_0x9e9e84,_0x4bcefb[_0x4c878d(0x19e)])){let _0x25c106;const _0x7b1cd3=_0x4bcefb[_0x4c878d(0x1f7)];_0x5033a4&&(_0x25c106=_0x5033a4[_0x4c878d(0x1e7)]);_0x25c106=_0x4bcefb[_0x4c878d(0x243)](_0x25c106,_0x7b1cd3);let _0x198339=0x0,_0x526027=0x0,_0x4e9ed2=0x0,_0x1ced50=0x0;_0x1e7118['forEach'](_0x15d5b9=>{const _0x3ac6ee=_0x4c878d;_0x4faeae[_0x15d5b9][_0x4bcefb[_0x3ac6ee(0x251)]][_0x3ac6ee(0x1b4)](_0x41e28f=>{const _0x527724=_0x3ac6ee;if(_0x4bcefb[_0x527724(0x254)](_0x41e28f['state'],_0x4bcefb[_0x527724(0x203)]))_0x198339++;else _0x4bcefb['nmRHX'](_0x41e28f[_0x527724(0x232)],_0x4bcefb['ERjBT'])&&_0x526027++;_0x4e9ed2++,_0x1ced50+=_0x4bcefb[_0x527724(0x21e)](_0x41e28f['duration'],0x1);});}),_0x4bcefb[_0x4c878d(0x242)](xunitWrite,_0x4bcefb['jyidD'](tag,_0x4bcefb[_0x4c878d(0x1eb)],{'name':_0x25c106,'tests':_0x4e9ed2,'failures':0x0,'errors':_0x526027,'skipped':_0x4bcefb['QBGJe'](_0x4bcefb['SMqrV'](_0x4e9ed2,_0x526027),_0x198339),'timestamp':new Date()[_0x4c878d(0x210)](),'time':_0x4bcefb[_0x4c878d(0x202)](_0x1ced50,0x3e8)||0x0},![])),_0x1e7118['forEach'](_0x4b64bd=>{const _0x410d86=_0x4c878d,_0x5a0a89={'yTZFp':function(_0x292735,_0x441e76,_0x1db913){const _0x407c60=a28_0x1976;return _0x4bcefb[_0x407c60(0x20b)](_0x292735,_0x441e76,_0x1db913);}};_0x4faeae[_0x4b64bd][_0x4bcefb['Exmmw']][_0x410d86(0x1b4)](_0x3b7eba=>{const _0x39256c=_0x410d86;_0x5a0a89[_0x39256c(0x1c8)](xunitTest,_0x3b7eba,_0x4b64bd);});}),_0x4bcefb[_0x4c878d(0x1da)](xunitWrite,_0x4bcefb[_0x4c878d(0x183)]);if(_0x5033a4[_0x4c878d(0x191)])try{logger['debug'](_0x4bcefb[_0x4c878d(0x23a)],_0x5033a4[_0x4c878d(0x191)]),fs[_0x4c878d(0x22e)](_0x5033a4[_0x4c878d(0x191)],xunitContent);}catch(_0x1f591a){logger[_0x4c878d(0x18d)](_0x4bcefb['TMwsc'],_0x5033a4['output']),logger[_0x4c878d(0x1c6)](_0x1f591a);}else logger[_0x4c878d(0x1c6)](_0x4bcefb['VjWnn']),console[_0x4c878d(0x19d)](xunitContent);}else{if(_0x4bcefb[_0x4c878d(0x1de)](_0x32a4c8,0x0))return;console[_0x4c878d(0x19d)](),logger[_0x4c878d(0x1c6)](_0x4bcefb[_0x4c878d(0x18e)]),console[_0x4c878d(0x19d)](chalk['bold']['bgRedBright'](_0x4bcefb[_0x4c878d(0x256)])),_0x1e7118[_0x4c878d(0x1b4)](_0x95338e=>{const _0x41e918=_0x4c878d,_0xa92829={'YfNCY':function(_0x1abfb9,_0x555082){const _0x3a4749=a28_0x1976;return _0x4bcefb[_0x3a4749(0x1e8)](_0x1abfb9,_0x555082);},'CPuCQ':_0x4bcefb[_0x41e918(0x190)]},_0x36bb8e=[];_0x4faeae[_0x95338e][_0x4bcefb[_0x41e918(0x251)]][_0x41e918(0x1b4)](_0xaa3124=>{const _0x268572=_0x41e918;_0xa92829[_0x268572(0x18b)](_0xaa3124[_0x268572(0x232)],_0xa92829['CPuCQ'])&&(_0xaa3124[_0x268572(0x1c5)]=()=>_0xaa3124[_0x268572(0x1ea)],_0x36bb8e[_0x268572(0x1c0)](_0xaa3124));}),_0x4bcefb[_0x41e918(0x175)](_0x36bb8e[_0x41e918(0x20d)],0x0)&&(Base[_0x41e918(0x1f3)](),Base['consoleLog'](_0x4bcefb[_0x41e918(0x20c)](_0x4ac34c),chalk['bold']['bgBlueBright'](_0x95338e)),Base[_0x41e918(0x23d)](_0x36bb8e));});}}}async function run(_0xd9c4c,_0x1f8f40){const _0x198fb3=a28_0x2bdff0,_0x53ac70={'Csrjq':function(_0x28089d,_0x3b9d2c,_0x48c2be,_0x221fcf){return _0x28089d(_0x3b9d2c,_0x48c2be,_0x221fcf);},'blPAW':_0x198fb3(0x21b),'kDouB':_0x198fb3(0x1af),'KhjYO':_0x198fb3(0x24e),'eNqIM':function(_0x1aac7d,_0x35d93a,_0x325378,_0x55d50b){return _0x1aac7d(_0x35d93a,_0x325378,_0x55d50b);},'BNbjN':'mocha','VqzLy':_0x198fb3(0x1ad),'IdFAO':_0x198fb3(0x239),'jHBkv':function(_0x3f125c,_0x4a2b2d){return _0x3f125c!=_0x4a2b2d;},'bIEHH':'cjs','pUuvF':_0x198fb3(0x207),'HFtzo':'test','vMvjM':_0x198fb3(0x224),'UrjLK':function(_0x50f3c9,_0x552d70){return _0x50f3c9(_0x552d70);},'ECHLg':function(_0x51f6f8,_0x2e7581,_0x14ff20){return _0x51f6f8(_0x2e7581,_0x14ff20);},'oSyJH':_0x198fb3(0x1f1),'pBcZr':_0x198fb3(0x244),'cxVpo':'Now,\x20showing\x20logs\x20from\x20mocha','ligbE':function(_0xeead53,_0x1afa1c){return _0xeead53*_0x1afa1c;},'amDBa':function(_0x1406ea,_0x17a7e0){return _0x1406ea!==_0x17a7e0;},'xxkFB':function(_0x2f5324,_0xcfa819,_0x5f28e3,_0x29e399){return _0x2f5324(_0xcfa819,_0x5f28e3,_0x29e399);}};process[_0x198fb3(0x1d1)][_0x198fb3(0x213)](_0x53ac70[_0x198fb3(0x1f8)])&&(process[_0x198fb3(0x187)]['BROWSERSTACK_TEST_OBSERVABILITY']=![]);process['argv']['includes'](_0x53ac70['IdFAO'])&&(process[_0x198fb3(0x187)]['BROWSERSTACK_AUTOMATION']=![]);const _0xa59508=new BrowserStackSetup(_0xd9c4c,_0x53ac70[_0x198fb3(0x198)]);helper[_0x198fb3(0x215)]()?(await _0xa59508[_0x198fb3(0x1d4)](),await helper[_0x198fb3(0x201)](_0xa59508['config'])):await _0xa59508['setupTCGAuth']();const _0x177acf=[];let _0x5464bb=[];if(!_0xa59508[_0x198fb3(0x214)])return;_0x53ac70[_0x198fb3(0x1cf)](_0xa59508[_0x198fb3(0x214)][_0x198fb3(0x23e)],null)&&(process['env'][_0x198fb3(0x218)]=_0xa59508[_0x198fb3(0x214)]['testObservability']);!helper[_0x198fb3(0x176)](_0xa59508[_0x198fb3(0x214)][_0x198fb3(0x17a)])&&(process[_0x198fb3(0x187)][_0x198fb3(0x1b9)]=_0xa59508[_0x198fb3(0x214)][_0x198fb3(0x17a)]);!helper[_0x198fb3(0x176)](_0xa59508[_0x198fb3(0x214)][_0x198fb3(0x1cb)])&&(process[_0x198fb3(0x187)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0xa59508[_0x198fb3(0x214)][_0x198fb3(0x1cb)]));const {extension:extension=['js',_0x53ac70[_0x198fb3(0x1e1)],_0x53ac70[_0x198fb3(0x227)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x53ac70['HFtzo']]}=_0xd9c4c,_0x1369ee={..._0xd9c4c};_0x1369ee[_0x198fb3(0x1dc)]=null;const _0x463ed3=_0x1369ee;let _0xbf27c6;if(testOpsHelper[_0x198fb3(0x1db)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x1529ad=process['env'][_0x198fb3(0x240)];!helper[_0x198fb3(0x176)](_0xa59508['cliConfig'])&&_0xa59508[_0x198fb3(0x178)][_0x198fb3(0x1b1)](_0x53ac70[_0x198fb3(0x1f2)])&&(_0x1529ad=_0xa59508[_0x198fb3(0x178)][_0x198fb3(0x24a)](_0x53ac70['vMvjM'])),_0xbf27c6=testOpsHelper['parseFileNames'](_0x1529ad);}if(helper['isUndefined'](_0xbf27c6)){const _0x5975c0={};_0x5975c0[_0x198fb3(0x1d0)]=ignore,_0x5975c0[_0x198fb3(0x237)]=extension,_0x5975c0[_0x198fb3(0x20f)]=file,_0x5975c0[_0x198fb3(0x22b)]=recursive,_0x5975c0['sort']=sort,_0x5975c0['spec']=spec,_0xbf27c6=_0x53ac70[_0x198fb3(0x1a7)](collectFiles,_0x5975c0),_0x53ac70[_0x198fb3(0x209)](nestedKeyValue,_0xbf27c6,[_0x53ac70['oSyJH']])&&(_0xbf27c6=_0xbf27c6[_0x198fb3(0x1f1)]);}helper[_0x198fb3(0x246)]();if(!helper[_0x198fb3(0x215)]()){const _0x3a8bc4=0x1,_0xaaba67={..._0x463ed3};_0xaaba67[_0x198fb3(0x172)]=[..._0xbf27c6],_0x177acf[_0x198fb3(0x1c0)]({'mochaOpts':_0xaaba67,'configuration':{'platform':os['platform']()}}),logger[_0x198fb3(0x200)](_0x53ac70[_0x198fb3(0x253)]),logger['info'](_0x53ac70[_0x198fb3(0x1b3)]),_0x53ac70[_0x198fb3(0x1b6)](parallelTestRun,_0x177acf,_0x3a8bc4,_0xa59508)[_0x198fb3(0x23b)](_0x34bd47=>{const _0x1941b0=_0x198fb3;_0x53ac70[_0x1941b0(0x1b6)](printStats,_0x34bd47,_0xd9c4c['reporter'],_0xd9c4c[_0x1941b0(0x22f)]||_0xd9c4c[_0x53ac70[_0x1941b0(0x1c4)]]);})[_0x198fb3(0x182)](()=>{const _0x360415=_0x198fb3;try{const {browserstackFolderPath:_0x162554,tcgConfigPath:_0x199dc2}=helper['getTCGConfigFilePaths']();fs[_0x360415(0x23c)](_0x199dc2),fs[_0x360415(0x21d)](_0x162554);}catch(_0x3b6679){logger[_0x360415(0x1c6)](_0x53ac70[_0x360415(0x1d9)],_0x3b6679);}try{utilities['fireFunnelTestEvent'](_0x53ac70[_0x360415(0x221)],{},_0xa59508[_0x360415(0x214)],_0xa59508['framework']);}catch(_0x1a0bf5){logger['debug'](_0x360415(0x226)+_0x1a0bf5);}try{helper[_0x360415(0x1a4)]();}catch(_0x5c3bf6){logger['debug'](_0x360415(0x24b)+_0x5c3bf6);}testOpsHelper[_0x360415(0x19b)]();});}else{const _0x1485fe=helper[_0x198fb3(0x223)](_0xa59508['config']),_0x355b11=helper['getHubUrl'](_0xa59508[_0x198fb3(0x214)]);_0x5464bb=helper['prepareCapabilities'](_0xa59508[_0x198fb3(0x214)],_0x1485fe,constants[_0x198fb3(0x1ff)][_0x198fb3(0x1fa)]);let _0xe56de5;const _0x557363=_0xa59508[_0x198fb3(0x214)]['parallelsPerPlatform']||helper[_0x198fb3(0x22a)](_0xd9c4c,_0x1f8f40,_0xa59508[_0x198fb3(0x214)],constants[_0x198fb3(0x1ff)][_0x198fb3(0x1fa)])||0x1;helper[_0x198fb3(0x1fe)](_0xa59508['config'])?_0xe56de5=_0x53ac70[_0x198fb3(0x245)](_0xa59508['config'][_0x198fb3(0x1f4)][_0x198fb3(0x20d)],_0x557363):_0xe56de5=_0x557363;const _0x210cf1=_0x53ac70['UrjLK'](getPercyOptions,_0xa59508['config']);if(_0x53ac70[_0x198fb3(0x248)](_0xa59508[_0x198fb3(0x214)][_0x198fb3(0x189)],0x1))_0xbf27c6[_0x198fb3(0x1b4)](_0x169992=>{const _0x11f5c6=_0x198fb3,_0x5566ac=[];_0x5464bb[_0x11f5c6(0x1b4)]((_0x4ed24b,_0x17806e)=>{const _0x45cc26=_0x11f5c6,_0x54dc61={};_0x54dc61['spec']=[_0x169992],_0x5566ac[_0x45cc26(0x1c0)]({'mochaOpts':Object['assign']({},_0x463ed3,_0x54dc61),'configuration':{'server':_0x355b11,'capability':_0x4ed24b,'proxySettings':_0xa59508[_0x45cc26(0x214)]['proxySettings'],'platform':helper[_0x45cc26(0x17c)](_0x4ed24b),'browserStackLogLevel':_0xa59508[_0x45cc26(0x214)]['logLevel'],'platformIndex':_0x17806e,'browserStackPercyOptions':_0x210cf1,'platformCaps':_0xa59508['config'][_0x45cc26(0x1f4)][_0x17806e]}});}),_0x177acf[_0x11f5c6(0x1c0)](..._0x5566ac);});else{const _0x246817=[];_0x5464bb[_0x198fb3(0x1b4)]((_0x429f16,_0x145654)=>{const _0x6e5ef3=_0x198fb3;let _0x34a5ab=Object[_0x6e5ef3(0x236)]({},_0x463ed3);testOpsHelper[_0x6e5ef3(0x1db)]()&&testOpsHelper[_0x6e5ef3(0x1f9)]()&&(_0x34a5ab={..._0x34a5ab,'spec':[..._0xbf27c6]}),_0x246817[_0x6e5ef3(0x1c0)]({'mochaOpts':_0x34a5ab,'configuration':{'server':_0x355b11,'capability':_0x429f16,'proxySettings':_0xa59508[_0x6e5ef3(0x214)][_0x6e5ef3(0x1d6)],'platform':helper[_0x6e5ef3(0x17c)](_0x429f16),'browserStackLogLevel':_0xa59508[_0x6e5ef3(0x214)][_0x6e5ef3(0x205)],'platformIndex':_0x145654,'browserStackPercyOptions':_0x210cf1,'platformCaps':_0xa59508[_0x6e5ef3(0x214)]['platforms'][_0x145654]}});}),_0x177acf['push'](..._0x246817);}logger[_0x198fb3(0x200)](_0x198fb3(0x1a3)+_0xa59508['config'][_0x198fb3(0x1f4)][_0x198fb3(0x20d)]+'\x20platforms'),logger[_0x198fb3(0x200)](_0x53ac70['cxVpo']);let _0x3a94db;_0x53ac70[_0x198fb3(0x1f0)](parallelTestRun,_0x177acf,_0xe56de5,_0xa59508)[_0x198fb3(0x23b)](_0x126750=>{const _0x2936cb=_0x198fb3;_0x3a94db=_0x126750,_0x53ac70[_0x2936cb(0x231)](printStats,_0x126750,_0xd9c4c['reporter'],_0xd9c4c[_0x2936cb(0x22f)]||_0xd9c4c[_0x53ac70[_0x2936cb(0x1c4)]]);})['finally'](async()=>{const _0x497043=_0x198fb3;_0xa59508[_0x497043(0x1a8)]=helper[_0x497043(0x1b2)](_0x3a94db,_0x53ac70['BNbjN']),await utilities[_0x497043(0x1c1)](_0xa59508),testOpsHelper[_0x497043(0x19b)]();});}}module[a28_0x2bdff0(0x181)]=run;