browserstack-node-sdk 1.34.33 → 1.34.34

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 (131) 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/central-scanner/constants.js +1 -1
  101. package/src/helpers/central-scanner/helpers.js +1 -1
  102. package/src/helpers/globals.js +1 -1
  103. package/src/helpers/helper.js +1 -1
  104. package/src/helpers/logger.js +1 -1
  105. package/src/helpers/patchHelper.js +1 -1
  106. package/src/helpers/patchHelpers.js +1 -1
  107. package/src/helpers/percy/Percy.js +1 -1
  108. package/src/helpers/percy/PercyBinary.js +1 -1
  109. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  110. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  111. package/src/helpers/percy/PercySDK.js +1 -1
  112. package/src/helpers/percy/index.js +1 -1
  113. package/src/helpers/percy/utils.js +1 -1
  114. package/src/helpers/performance/constants.js +1 -1
  115. package/src/helpers/performance/performance-tester.js +1 -1
  116. package/src/helpers/processHelper.js +1 -1
  117. package/src/helpers/request-spy.js +1 -1
  118. package/src/helpers/setKeepAlive.js +1 -1
  119. package/src/helpers/test-observability/constants.js +1 -1
  120. package/src/helpers/test-observability/error-handler.js +1 -1
  121. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  122. package/src/helpers/test-observability/sessionHandler.js +1 -1
  123. package/src/helpers/test-observability/utils.js +1 -1
  124. package/src/helpers/testhub/constants.js +1 -1
  125. package/src/helpers/testhub/testhubHandler.js +1 -1
  126. package/src/helpers/testhub/utils.js +1 -1
  127. package/src/helpers/timeoutPromise.js +1 -1
  128. package/src/helpers/utilities.js +1 -1
  129. package/src/helpers/w3cMapping.js +1 -1
  130. package/src/hubAllocationMethods.js +1 -1
  131. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a23_0x3c04(){const _0x1eda80=['bZKOt','tests','wPCGh','setup','retry','dirPath','testData.json','AsnuZ','KXDTO','join','jest-o11y-','265655fnNoGc','.json','mkdirSync','vEJgG','4327872JfdXdp','1387855zzTBGS','LgeSg','getTestData','getTestUUID','.browserstack','mxujk','ENV_VAR','2195667urHdOC','readFileSync','stringify','11877CjbKRF','uuid','14433720tUkYfs','homedir','673049VkOCDB','existsSync','path','toString','writeFileSync','removeTestUUID','../../../helpers/testhub/constants','BROWSERSTACK_TESTHUB_UUID','IVYwl','setTestUUID','_projectId','getTestRunIdFromTestInfo','36jjuCTc','16bCAuvd','2urdPyM','shutdown','recursive'];a23_0x3c04=function(){return _0x1eda80;};return a23_0x3c04();}const a23_0x454e1e=a23_0xc4e8;function a23_0xc4e8(_0x54f0b7,_0x25490a){const _0x3c049c=a23_0x3c04();return a23_0xc4e8=function(_0xc4e842,_0x6105e4){_0xc4e842=_0xc4e842-0x17d;let _0x562936=_0x3c049c[_0xc4e842];return _0x562936;},a23_0xc4e8(_0x54f0b7,_0x25490a);}(function(_0x4f558b,_0x5649a5){const _0x40fc26=a23_0xc4e8,_0x10d5e3=_0x4f558b();while(!![]){try{const _0x1b8f0c=-parseInt(_0x40fc26(0x18c))/0x1+-parseInt(_0x40fc26(0x19a))/0x2*(parseInt(_0x40fc26(0x188))/0x3)+-parseInt(_0x40fc26(0x198))/0x4*(parseInt(_0x40fc26(0x1a8))/0x5)+parseInt(_0x40fc26(0x17d))/0x6+parseInt(_0x40fc26(0x17e))/0x7*(-parseInt(_0x40fc26(0x199))/0x8)+-parseInt(_0x40fc26(0x185))/0x9+parseInt(_0x40fc26(0x18a))/0xa;if(_0x1b8f0c===_0x5649a5)break;else _0x10d5e3['push'](_0x10d5e3['shift']());}catch(_0x1dbdb2){_0x10d5e3['push'](_0x10d5e3['shift']());}}}(a23_0x3c04,0x5a16c));const fs=require('fs'),path=require(a23_0x454e1e(0x18e)),{v4:uuidv4}=require(a23_0x454e1e(0x189)),helper=require('../../../helpers/helper'),testHubConstants=require(a23_0x454e1e(0x192));class TestDetails{static [a23_0x454e1e(0x19e)]={};static ['dirPath']=path['join'](helper[a23_0x454e1e(0x18b)](),a23_0x454e1e(0x182),a23_0x454e1e(0x1a7)+process['env'][testHubConstants[a23_0x454e1e(0x184)]['BROWSERSTACK_TESTHUB_UUID']]);static[a23_0x454e1e(0x1a0)](){const _0xaf1779=a23_0x454e1e,_0x2f9406={};_0x2f9406[_0xaf1779(0x17f)]=_0xaf1779(0x182);const _0xf6a9e1=_0x2f9406;this[_0xaf1779(0x1a2)]=path[_0xaf1779(0x1a6)](helper[_0xaf1779(0x18b)](),_0xf6a9e1[_0xaf1779(0x17f)],'jest-o11y-'+process['env'][testHubConstants[_0xaf1779(0x184)][_0xaf1779(0x193)]]),this[_0xaf1779(0x19b)]();const _0x543c79={};_0x543c79[_0xaf1779(0x19c)]=!![],fs[_0xaf1779(0x1aa)](this[_0xaf1779(0x1a2)],_0x543c79);}static['getFilePath'](_0x13f256){const _0x37fc61=a23_0x454e1e,_0x4175c7={};_0x4175c7[_0x37fc61(0x183)]=function(_0x42e97d,_0x112b79){return _0x42e97d+_0x112b79;},_0x4175c7['AsnuZ']=_0x37fc61(0x1a9);const _0x2930c4=_0x4175c7;return path['join'](this['dirPath'],_0x2930c4['mxujk'](_0x13f256,_0x2930c4[_0x37fc61(0x1a4)]));}static[a23_0x454e1e(0x197)](_0xf263be){const _0xc035f5=a23_0x454e1e,_0x2f6065={};_0x2f6065[_0xc035f5(0x194)]=function(_0xae658a,_0x344faa){return _0xae658a+_0x344faa;},_0x2f6065[_0xc035f5(0x1ab)]=function(_0x3c7630,_0xd70bed){return _0x3c7630+_0xd70bed;};const _0x25202e=_0x2f6065;return _0x25202e[_0xc035f5(0x194)](_0x25202e['IVYwl'](_0x25202e[_0xc035f5(0x1ab)](_0x25202e[_0xc035f5(0x1ab)](_0xf263be['_test'][_0xc035f5(0x196)],'-'),_0xf263be['_test']['id']),'-'),_0xf263be[_0xc035f5(0x1a1)]);}static[a23_0x454e1e(0x181)](_0x40f1d5){const _0x1df5d2=a23_0x454e1e,_0x1dbafe=this['getFilePath'](_0x40f1d5);if(fs['existsSync'](_0x1dbafe)){const _0x18d0a7=JSON['parse'](fs[_0x1df5d2(0x186)](_0x1dbafe)['toString']());return this[_0x1df5d2(0x19e)][_0x40f1d5]=_0x18d0a7,this[_0x1df5d2(0x19e)][_0x40f1d5][_0x1df5d2(0x189)];}}static['setTestData'](_0x57d86b){const _0x5de399=a23_0x454e1e,_0x16aed0={};_0x16aed0[_0x5de399(0x19f)]=_0x5de399(0x1a3);const _0x1d5421=_0x16aed0,_0xdf5144=path['join'](this[_0x5de399(0x1a2)],_0x1d5421[_0x5de399(0x19f)]);fs[_0x5de399(0x190)](_0xdf5144,JSON[_0x5de399(0x187)](_0x57d86b));}static[a23_0x454e1e(0x180)](){const _0x2a0cce=a23_0x454e1e,_0x17140f={};_0x17140f[_0x2a0cce(0x19d)]=_0x2a0cce(0x1a3);const _0x454f2e=_0x17140f,_0xd98a95=path[_0x2a0cce(0x1a6)](this[_0x2a0cce(0x1a2)],_0x454f2e[_0x2a0cce(0x19d)]);let _0x5ccf69={};try{return fs['existsSync'](_0xd98a95)&&(_0x5ccf69=JSON['parse'](fs[_0x2a0cce(0x186)](_0xd98a95)[_0x2a0cce(0x18f)]())),_0x5ccf69;}catch(_0x8152ff){return _0x5ccf69;}}static[a23_0x454e1e(0x195)](_0x185d4d){const _0x29fd9d=a23_0x454e1e,_0x11f014={'KXDTO':function(_0x34cf6c){return _0x34cf6c();}},_0xa02c9d=this['getFilePath'](_0x185d4d);return this[_0x29fd9d(0x19e)][_0x185d4d]={'uuid':_0x11f014[_0x29fd9d(0x1a5)](uuidv4)},fs['writeFileSync'](_0xa02c9d,JSON[_0x29fd9d(0x187)](this[_0x29fd9d(0x19e)][_0x185d4d])),this[_0x29fd9d(0x19e)][_0x185d4d][_0x29fd9d(0x189)];}static[a23_0x454e1e(0x191)](_0x4fd917){const _0x591cf2=a23_0x454e1e,_0x46d127=this['getFilePath'](_0x4fd917);fs[_0x591cf2(0x18d)](_0x46d127)&&fs['unlinkSync'](_0x46d127);}static['shutdown'](){const _0x5dd61f=a23_0x454e1e,_0x34892d={};_0x34892d[_0x5dd61f(0x19c)]=!![],_0x34892d['force']=!![],fs['rmSync'](this[_0x5dd61f(0x1a2)],_0x34892d);}}module['exports']=TestDetails;
1
+ const a23_0x258bea=a23_0x4c8f;function a23_0x21d3(){const _0x92bbd0=['2092680mqomyg','10qMljUP','jest-o11y-','../../../helpers/testhub/constants','uuid','recursive','existsSync','../../../helpers/helper','path','setTestData','BROWSERSTACK_TESTHUB_UUID','parse','readFileSync','testData.json','599004nEiLKG','2120118fTDbNf','ACQGY','join','6SlUVcf','shutdown','env','setup','unlinkSync','mkdirSync','612824xDAnbL','retry','mDJwd','GRZwK','_test','13336kudgsK','5579vPSHBG','exports','ENV_VAR','getTestData','11yWebUn','force','getTestRunIdFromTestInfo','SGbmD','wyjVu','homedir','tests','20yPSgUr','.browserstack','.json','39rQIIFX','vAwjZ','152mpIxxD','dQNsx','zqllu','getTestUUID','getFilePath','rmSync','toString','dirPath','stringify','lNetL','2084769djohDO'];a23_0x21d3=function(){return _0x92bbd0;};return a23_0x21d3();}function a23_0x4c8f(_0xde98d4,_0xd5a1b4){const _0x21d35d=a23_0x21d3();return a23_0x4c8f=function(_0x4c8f8e,_0x1a770a){_0x4c8f8e=_0x4c8f8e-0x64;let _0x1f3e96=_0x21d35d[_0x4c8f8e];return _0x1f3e96;},a23_0x4c8f(_0xde98d4,_0xd5a1b4);}(function(_0x364a87,_0x33fa10){const _0x93a192=a23_0x4c8f,_0x3ea507=_0x364a87();while(!![]){try{const _0x12da80=-parseInt(_0x93a192(0x8e))/0x1*(-parseInt(_0x93a192(0x82))/0x2)+parseInt(_0x93a192(0x77))/0x3*(-parseInt(_0x93a192(0x7d))/0x4)+-parseInt(_0x93a192(0x66))/0x5*(-parseInt(_0x93a192(0x74))/0x6)+parseInt(_0x93a192(0x83))/0x7*(parseInt(_0x93a192(0x93))/0x8)+-parseInt(_0x93a192(0x64))/0x9+-parseInt(_0x93a192(0x65))/0xa*(-parseInt(_0x93a192(0x87))/0xb)+parseInt(_0x93a192(0x73))/0xc*(-parseInt(_0x93a192(0x91))/0xd);if(_0x12da80===_0x33fa10)break;else _0x3ea507['push'](_0x3ea507['shift']());}catch(_0x5390a4){_0x3ea507['push'](_0x3ea507['shift']());}}}(a23_0x21d3,0x5bf61));const fs=require('fs'),path=require(a23_0x258bea(0x6d)),{v4:uuidv4}=require(a23_0x258bea(0x69)),helper=require(a23_0x258bea(0x6c)),testHubConstants=require(a23_0x258bea(0x68));class TestDetails{static [a23_0x258bea(0x8d)]={};static [a23_0x258bea(0x9a)]=path[a23_0x258bea(0x76)](helper[a23_0x258bea(0x8c)](),a23_0x258bea(0x8f),a23_0x258bea(0x67)+process[a23_0x258bea(0x79)][testHubConstants['ENV_VAR'][a23_0x258bea(0x6f)]]);static[a23_0x258bea(0x7a)](){const _0x1affab=a23_0x258bea,_0x2a399b={};_0x2a399b[_0x1affab(0x9c)]=_0x1affab(0x8f);const _0x41234b=_0x2a399b;this[_0x1affab(0x9a)]=path[_0x1affab(0x76)](helper['homedir'](),_0x41234b[_0x1affab(0x9c)],_0x1affab(0x67)+process[_0x1affab(0x79)][testHubConstants[_0x1affab(0x85)]['BROWSERSTACK_TESTHUB_UUID']]),this['shutdown']();const _0x383f72={};_0x383f72[_0x1affab(0x6a)]=!![],fs[_0x1affab(0x7c)](this[_0x1affab(0x9a)],_0x383f72);}static[a23_0x258bea(0x97)](_0x224611){const _0x2ceb42=a23_0x258bea,_0x1e1e3c={};_0x1e1e3c[_0x2ceb42(0x7f)]=function(_0x488ffa,_0x561450){return _0x488ffa+_0x561450;},_0x1e1e3c['vAwjZ']=_0x2ceb42(0x90);const _0x2c5e7c=_0x1e1e3c;return path[_0x2ceb42(0x76)](this['dirPath'],_0x2c5e7c[_0x2ceb42(0x7f)](_0x224611,_0x2c5e7c[_0x2ceb42(0x92)]));}static[a23_0x258bea(0x89)](_0x5b8860){const _0x2bb64b=a23_0x258bea,_0x1e729e={};_0x1e729e[_0x2bb64b(0x75)]=function(_0x361789,_0x5ecbe6){return _0x361789+_0x5ecbe6;},_0x1e729e[_0x2bb64b(0x95)]=function(_0x39025b,_0x1eb4e2){return _0x39025b+_0x1eb4e2;},_0x1e729e['dQNsx']=function(_0x4f169b,_0x1c1438){return _0x4f169b+_0x1c1438;},_0x1e729e[_0x2bb64b(0x80)]=function(_0x59b7b8,_0x4e0c7e){return _0x59b7b8+_0x4e0c7e;};const _0x44bc82=_0x1e729e;return _0x44bc82[_0x2bb64b(0x75)](_0x44bc82['zqllu'](_0x44bc82[_0x2bb64b(0x94)](_0x44bc82[_0x2bb64b(0x80)](_0x5b8860[_0x2bb64b(0x81)]['_projectId'],'-'),_0x5b8860[_0x2bb64b(0x81)]['id']),'-'),_0x5b8860[_0x2bb64b(0x7e)]);}static[a23_0x258bea(0x96)](_0x1f6679){const _0x316417=a23_0x258bea,_0x363346=this[_0x316417(0x97)](_0x1f6679);if(fs[_0x316417(0x6b)](_0x363346)){const _0xaa3fb1=JSON[_0x316417(0x70)](fs['readFileSync'](_0x363346)[_0x316417(0x99)]());return this[_0x316417(0x8d)][_0x1f6679]=_0xaa3fb1,this['tests'][_0x1f6679][_0x316417(0x69)];}}static[a23_0x258bea(0x6e)](_0x5efd4a){const _0x444318=a23_0x258bea,_0x50bc5c={};_0x50bc5c[_0x444318(0x8b)]=_0x444318(0x72);const _0x167be8=_0x50bc5c,_0x438840=path[_0x444318(0x76)](this['dirPath'],_0x167be8['wyjVu']);fs['writeFileSync'](_0x438840,JSON[_0x444318(0x9b)](_0x5efd4a));}static[a23_0x258bea(0x86)](){const _0x3929d3=a23_0x258bea,_0x5947d1={};_0x5947d1[_0x3929d3(0x8a)]=_0x3929d3(0x72);const _0x394990=_0x5947d1,_0x19c2e7=path[_0x3929d3(0x76)](this['dirPath'],_0x394990[_0x3929d3(0x8a)]);let _0x2a7569={};try{return fs[_0x3929d3(0x6b)](_0x19c2e7)&&(_0x2a7569=JSON[_0x3929d3(0x70)](fs[_0x3929d3(0x71)](_0x19c2e7)[_0x3929d3(0x99)]())),_0x2a7569;}catch(_0x1c456f){return _0x2a7569;}}static['setTestUUID'](_0xb74e63){const _0x3e23f9=a23_0x258bea,_0x492812={'qfJtS':function(_0x9a64de){return _0x9a64de();}},_0x576e93=this[_0x3e23f9(0x97)](_0xb74e63);return this[_0x3e23f9(0x8d)][_0xb74e63]={'uuid':_0x492812['qfJtS'](uuidv4)},fs['writeFileSync'](_0x576e93,JSON[_0x3e23f9(0x9b)](this['tests'][_0xb74e63])),this[_0x3e23f9(0x8d)][_0xb74e63][_0x3e23f9(0x69)];}static['removeTestUUID'](_0xcf7ac){const _0x5b0551=a23_0x258bea,_0x34644a=this[_0x5b0551(0x97)](_0xcf7ac);fs[_0x5b0551(0x6b)](_0x34644a)&&fs[_0x5b0551(0x7b)](_0x34644a);}static[a23_0x258bea(0x78)](){const _0x40bc88=a23_0x258bea,_0x3bce1c={};_0x3bce1c[_0x40bc88(0x6a)]=!![],_0x3bce1c[_0x40bc88(0x88)]=!![],fs[_0x40bc88(0x98)](this[_0x40bc88(0x9a)],_0x3bce1c);}}module[a23_0x258bea(0x84)]=TestDetails;
@@ -1 +1 @@
1
- const a24_0x5302a4=a24_0x1ea4;function a24_0x1ea4(_0x11ed6a,_0x3acd9a){const _0x13a1e5=a24_0x13a1();return a24_0x1ea4=function(_0x1ea4d5,_0x2bb0dc){_0x1ea4d5=_0x1ea4d5-0x120;let _0x17665e=_0x13a1e5[_0x1ea4d5];return _0x17665e;},a24_0x1ea4(_0x11ed6a,_0x3acd9a);}(function(_0xc3783a,_0x494ff3){const _0x5b89c2=a24_0x1ea4,_0x32639b=_0xc3783a();while(!![]){try{const _0x316722=-parseInt(_0x5b89c2(0x125))/0x1*(parseInt(_0x5b89c2(0x128))/0x2)+parseInt(_0x5b89c2(0x126))/0x3+parseInt(_0x5b89c2(0x12a))/0x4*(-parseInt(_0x5b89c2(0x123))/0x5)+-parseInt(_0x5b89c2(0x12d))/0x6*(-parseInt(_0x5b89c2(0x122))/0x7)+parseInt(_0x5b89c2(0x12b))/0x8+parseInt(_0x5b89c2(0x121))/0x9*(parseInt(_0x5b89c2(0x124))/0xa)+parseInt(_0x5b89c2(0x129))/0xb*(-parseInt(_0x5b89c2(0x120))/0xc);if(_0x316722===_0x494ff3)break;else _0x32639b['push'](_0x32639b['shift']());}catch(_0x1f3a9a){_0x32639b['push'](_0x32639b['shift']());}}}(a24_0x13a1,0x89e04));const {requireModule}=require('../../helpers/helper');require('../../helpers/setKeepAlive')();const __wd__=requireModule('selenium-webdriver');for(const key of Object[a24_0x5302a4(0x12c)](global[a24_0x5302a4(0x127)])){__wd__[key]=global[a24_0x5302a4(0x127)][key];}function a24_0x13a1(){const _0x3e241a=['2202215GrWzUT','8448040JLOMiS','3LmsfZr','3000996hNOrwB','__webdriver','643246LePcoZ','627iBOqoQ','4rHEGXJ','8184216JIZcGD','keys','537396MysEyz','226788dUASPb','9odbpeE','14cLVhoE'];a24_0x13a1=function(){return _0x3e241a;};return a24_0x13a1();}
1
+ const a24_0x483d0e=a24_0x1d60;(function(_0xf79321,_0xcaedcc){const _0x1ab8b9=a24_0x1d60,_0x12757d=_0xf79321();while(!![]){try{const _0x329cda=-parseInt(_0x1ab8b9(0x1c3))/0x1*(parseInt(_0x1ab8b9(0x1bc))/0x2)+-parseInt(_0x1ab8b9(0x1c6))/0x3*(parseInt(_0x1ab8b9(0x1be))/0x4)+-parseInt(_0x1ab8b9(0x1c7))/0x5+-parseInt(_0x1ab8b9(0x1c5))/0x6*(parseInt(_0x1ab8b9(0x1c1))/0x7)+parseInt(_0x1ab8b9(0x1bb))/0x8*(-parseInt(_0x1ab8b9(0x1c4))/0x9)+parseInt(_0x1ab8b9(0x1c2))/0xa+parseInt(_0x1ab8b9(0x1c0))/0xb;if(_0x329cda===_0xcaedcc)break;else _0x12757d['push'](_0x12757d['shift']());}catch(_0x4de484){_0x12757d['push'](_0x12757d['shift']());}}}(a24_0x115d,0x50a01));const {requireModule}=require(a24_0x483d0e(0x1bd));require(a24_0x483d0e(0x1c8))();function a24_0x1d60(_0x1eb3ca,_0x5591d4){const _0x115d6a=a24_0x115d();return a24_0x1d60=function(_0x1d607c,_0xef1a75){_0x1d607c=_0x1d607c-0x1bb;let _0x49c983=_0x115d6a[_0x1d607c];return _0x49c983;},a24_0x1d60(_0x1eb3ca,_0x5591d4);}const __wd__=requireModule('selenium-webdriver');for(const key of Object['keys'](global[a24_0x483d0e(0x1bf)])){__wd__[key]=global[a24_0x483d0e(0x1bf)][key];}function a24_0x115d(){const _0x40c4de=['7ddsyJj','3445380bsCpzG','1DPNfCu','1333656OEdKFv','1571826lLbele','30OnzCVg','1308975HsYAIg','../../helpers/setKeepAlive','16dILrCa','1234276UHqJUz','../../helpers/helper','260716qQJQxT','__webdriver','22822415lqCjXv'];a24_0x115d=function(){return _0x40c4de;};return a24_0x115d();}
@@ -1 +1 @@
1
- const a25_0x32d07c=a25_0x1bb0;(function(_0x55e834,_0x58f4b4){const _0x24e834=a25_0x1bb0,_0x2f6d86=_0x55e834();while(!![]){try{const _0x280ed4=-parseInt(_0x24e834(0x14f))/0x1*(parseInt(_0x24e834(0x156))/0x2)+parseInt(_0x24e834(0x163))/0x3+parseInt(_0x24e834(0x15a))/0x4+-parseInt(_0x24e834(0x157))/0x5+parseInt(_0x24e834(0x137))/0x6+-parseInt(_0x24e834(0x13d))/0x7+parseInt(_0x24e834(0x142))/0x8*(parseInt(_0x24e834(0x14b))/0x9);if(_0x280ed4===_0x58f4b4)break;else _0x2f6d86['push'](_0x2f6d86['shift']());}catch(_0x408d94){_0x2f6d86['push'](_0x2f6d86['shift']());}}}(a25_0x5879,0x1e3b2));function a25_0x5879(){const _0x371b58=['EVENTS','testSuites','2nWyZnH','263820EvXQyb','path','dPzTL','427152lZMmll','../../helpers/performance/performance-tester','__platformCaps','AI_ENABLED_FRAMEWORK','testsUndefined','setConfig','_capability','setupCucumber','testsErrorMessage','329241HVghlz','../utils/constants','mochaOpts','split','_configuration','724260HHOoPD','_argv','testsUnknown','_formatter','_framework','testsAmbiguous','893102YTfmkh','formatter','../../helpers/helper','configuration','platformCaps','8pGDoQQ','fzlTO','totalTests','setFramework','platform','_bsConfig','testsSkipped','testSuitesFailed','../../helpers/ai-sdk/autoHealHelper','564606IoNize','testsPassed','../../helpers/test-observability/utils','_accessibilityAutomation','95803AScFSM','_mochaOpts','SedUg','testsPending','framework'];a25_0x5879=function(){return _0x371b58;};return a25_0x5879();}const path=require(a25_0x32d07c(0x158)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x32d07c(0x13f)),constants=require(a25_0x32d07c(0x133)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{isTestObservabilitySession}=require(a25_0x32d07c(0x14d)),helper=require(a25_0x32d07c(0x13f)),PerformanceTester=require(a25_0x32d07c(0x15b)),PerformanceEvents=require('../../helpers/performance/constants')[a25_0x32d07c(0x154)],{commandRepository}=require(a25_0x32d07c(0x14a));function a25_0x1bb0(_0x85bddf,_0x261cd6){const _0x5879e4=a25_0x5879();return a25_0x1bb0=function(_0x1bb0a7,_0x58ad63){_0x1bb0a7=_0x1bb0a7-0x133;let _0x32d019=_0x5879e4[_0x1bb0a7];return _0x32d019;},a25_0x1bb0(_0x85bddf,_0x261cd6);}class Launcher{constructor(_0xd706d,_0x5c8738,_0x160ec3,_0xd1a024=[]){const _0x3f8b3f=a25_0x32d07c,_0x9ec0e1={'SedUg':'2|3|23|9|8|15|1|16|18|11|12|22|7|10|20|14|13|0|17|6|5|19|21|4','dPzTL':function(_0x3f4cb6){return _0x3f4cb6();},'fzlTO':function(_0x43ff95){return _0x43ff95();}},_0x33e2aa=_0x9ec0e1[_0x3f8b3f(0x151)][_0x3f8b3f(0x135)]('|');let _0xf9f51a=0x0;while(!![]){switch(_0x33e2aa[_0xf9f51a++]){case'0':global[_0x3f8b3f(0x148)]=0x0;continue;case'1':global['__platform__']=this[_0x3f8b3f(0x136)][_0x3f8b3f(0x146)];continue;case'2':this[_0x3f8b3f(0x13b)]=_0xd706d;continue;case'3':this[_0x3f8b3f(0x136)]=_0x5c8738[_0x3f8b3f(0x140)]||{};continue;case'4':!constants[_0x3f8b3f(0x15d)]['includes'](_0xd706d)&&(commandRepository[_0x3f8b3f(0x15f)](_0x160ec3),commandRepository[_0x3f8b3f(0x145)](_0xd706d));continue;case'5':global[_0x3f8b3f(0x139)]=0x0;continue;case'6':global[_0x3f8b3f(0x15e)]=0x0;continue;case'7':global[_0x3f8b3f(0x155)]=0x0;continue;case'8':this[_0x3f8b3f(0x13a)]=_0x5c8738[_0x3f8b3f(0x13e)];continue;case'9':this[_0x3f8b3f(0x150)]=_0x5c8738[_0x3f8b3f(0x134)];continue;case'10':global[_0x3f8b3f(0x144)]=0x0;continue;case'11':this['_testObservability']=_0x9ec0e1[_0x3f8b3f(0x159)](isTestObservabilitySession);continue;case'12':this[_0x3f8b3f(0x14e)]=_0x9ec0e1[_0x3f8b3f(0x143)](isAccessibilityAutomationSession);continue;case'13':global[_0x3f8b3f(0x152)]=0x0;continue;case'14':global['testsFailed']=0x0;continue;case'15':this[_0x3f8b3f(0x160)]=this[_0x3f8b3f(0x136)]['capability'];continue;case'16':this[_0x3f8b3f(0x138)]=_0xd1a024;continue;case'17':global[_0x3f8b3f(0x149)]=0x0;continue;case'18':this[_0x3f8b3f(0x147)]=_0x160ec3;continue;case'19':global[_0x3f8b3f(0x13c)]=0x0;continue;case'20':global[_0x3f8b3f(0x14c)]=0x0;continue;case'21':global[_0x3f8b3f(0x162)]={};continue;case'22':global[_0x3f8b3f(0x15c)]=this[_0x3f8b3f(0x136)][_0x3f8b3f(0x141)]||{};continue;case'23':this['_configuration'][_0x3f8b3f(0x153)]=_0xd706d;continue;}break;}}[a25_0x32d07c(0x161)](_0x5d545d,_0x121c65,_0xee23af){const _0x4c2ea7=_0x5d545d['resolvePaths'];_0x5d545d.resolvePaths=async function(){const pathResults=await _0x4c2ea7.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0xee23af));return pathResults;},_0x121c65.push('--format'),_0x121c65.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{PerformanceTester.start(PerformanceEvents.SDK_PRE_TEST);require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js','mocha');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;if(!helper.isUndefined(this._mochaOpts.mochaRequire)){this._mochaOpts.require=this._mochaOpts.mochaRequire;const plugins=await mochaRunHelper.handleRequires([this._mochaOpts.require]);Object.assign(this._mochaOpts,plugins);}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);}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={};Object.assign(mochaOpts,this._mochaOpts);const reporterOption={};Object.assign(reporterOption,this._mochaOpts.reporterOptions);Object.assign(reporterOption,{type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig});mochaOpts.reporterOption=reporterOption;Object.assign(mochaOpts,{reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),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()=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}PerformanceTester.end(PerformanceEvents.SDK_PRE_TEST);const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;global.capabilities=[this._capability];try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js','@cucumber/cucumber');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js','cucumber');}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','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js','@cucumber/cucumber');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','@cucumber/cucumber').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','cucumber').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'){global.capabilities=[this._capability];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();}});}}module.exports=Launcher;
1
+ const a25_0x3ebb7a=a25_0x3d6c;(function(_0x1c1065,_0x1c6471){const _0x46fa09=a25_0x3d6c,_0x6d804f=_0x1c1065();while(!![]){try{const _0x541335=parseInt(_0x46fa09(0x102))/0x1+-parseInt(_0x46fa09(0x113))/0x2+-parseInt(_0x46fa09(0x125))/0x3+-parseInt(_0x46fa09(0x12b))/0x4+parseInt(_0x46fa09(0x117))/0x5*(-parseInt(_0x46fa09(0x11a))/0x6)+-parseInt(_0x46fa09(0x101))/0x7*(-parseInt(_0x46fa09(0x10d))/0x8)+parseInt(_0x46fa09(0x10a))/0x9*(parseInt(_0x46fa09(0xf9))/0xa);if(_0x541335===_0x1c6471)break;else _0x6d804f['push'](_0x6d804f['shift']());}catch(_0x4a9c1e){_0x6d804f['push'](_0x6d804f['shift']());}}}(a25_0x40ea,0xae739));function a25_0x3d6c(_0x5a372d,_0x3cb71d){const _0x40eaad=a25_0x40ea();return a25_0x3d6c=function(_0x3d6cc7,_0x4b89f8){_0x3d6cc7=_0x3d6cc7-0xf9;let _0x23f365=_0x40eaad[_0x3d6cc7];return _0x23f365;},a25_0x3d6c(_0x5a372d,_0x3cb71d);}function a25_0x40ea(){const _0x5e75b0=['testsErrorMessage','423wRRabo','platformCaps','TGMqb','9264IilGos','capability','testsUnknown','_testObservability','testSuitesFailed','testsFailed','2170560EYDKRg','9|2|15|7|8|19|21|6|12|13|23|18|1|4|0|5|20|17|16|11|3|22|14|10','testsPassed','_bsConfig','126425kWbnss','_framework','testsAmbiguous','282gXACbj','setConfig','EVENTS','configuration','__platformCaps','framework','../../helpers/helper','../../helpers/test-observability/utils','../../helpers/ai-sdk/autoHealHelper','setFramework','testsPending','4075905oFgWzs','_configuration','../../helpers/performance/performance-tester','formatter','../../helpers/accessibility-automation/helper','_accessibilityAutomation','1903160BLvEqX','733010aOCVvf','split','_argv','../../helpers/performance/constants','totalTests','__platform__','platform','testSuites','4998MrMRPQ','550694qgXryJ','pvEmz','path','mochaOpts','../utils/constants','../../helpers/test-observability/requestQueueHandler','_capability'];a25_0x40ea=function(){return _0x5e75b0;};return a25_0x40ea();}const path=require(a25_0x3ebb7a(0x104)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x3ebb7a(0x120)),constants=require(a25_0x3ebb7a(0x106)),{isAccessibilityAutomationSession}=require(a25_0x3ebb7a(0x129)),RequestQueueHandler=require(a25_0x3ebb7a(0x107)),{isTestObservabilitySession}=require(a25_0x3ebb7a(0x121)),helper=require(a25_0x3ebb7a(0x120)),PerformanceTester=require(a25_0x3ebb7a(0x127)),PerformanceEvents=require(a25_0x3ebb7a(0xfc))[a25_0x3ebb7a(0x11c)],{commandRepository}=require(a25_0x3ebb7a(0x122));class Launcher{constructor(_0x683940,_0x866d2a,_0x5783d4,_0xb2b651=[]){const _0x2ca21b=a25_0x3ebb7a,_0x588f22={'pvEmz':_0x2ca21b(0x114),'gBldD':function(_0x5ceaa2){return _0x5ceaa2();},'TGMqb':function(_0x569220){return _0x569220();}},_0x111d58=_0x588f22[_0x2ca21b(0x103)][_0x2ca21b(0xfa)]('|');let _0x4d09e5=0x0;while(!![]){switch(_0x111d58[_0x4d09e5++]){case'0':global[_0x2ca21b(0x115)]=0x0;continue;case'1':global[_0x2ca21b(0x100)]=0x0;continue;case'2':this[_0x2ca21b(0x126)]=_0x866d2a[_0x2ca21b(0x11d)]||{};continue;case'3':global[_0x2ca21b(0x10f)]=0x0;continue;case'4':global[_0x2ca21b(0xfd)]=0x0;continue;case'5':global[_0x2ca21b(0x112)]=0x0;continue;case'6':this[_0x2ca21b(0xfb)]=_0xb2b651;continue;case'7':this['_mochaOpts']=_0x866d2a[_0x2ca21b(0x105)];continue;case'8':this['_formatter']=_0x866d2a[_0x2ca21b(0x128)];continue;case'9':this[_0x2ca21b(0x118)]=_0x683940;continue;case'10':!constants['AI_ENABLED_FRAMEWORK']['includes'](_0x683940)&&(commandRepository[_0x2ca21b(0x11b)](_0x5783d4),commandRepository[_0x2ca21b(0x123)](_0x683940));continue;case'11':global['testsUndefined']=0x0;continue;case'12':this[_0x2ca21b(0x116)]=_0x5783d4;continue;case'13':this[_0x2ca21b(0x110)]=_0x588f22['gBldD'](isTestObservabilitySession);continue;case'14':global[_0x2ca21b(0x109)]={};continue;case'15':this[_0x2ca21b(0x126)][_0x2ca21b(0x11f)]=_0x683940;continue;case'16':global[_0x2ca21b(0x111)]=0x0;continue;case'17':global['testsSkipped']=0x0;continue;case'18':global[_0x2ca21b(0x11e)]=this[_0x2ca21b(0x126)][_0x2ca21b(0x10b)]||{};continue;case'19':this[_0x2ca21b(0x108)]=this['_configuration'][_0x2ca21b(0x10e)];continue;case'20':global[_0x2ca21b(0x124)]=0x0;continue;case'21':global[_0x2ca21b(0xfe)]=this['_configuration'][_0x2ca21b(0xff)];continue;case'22':global[_0x2ca21b(0x119)]=0x0;continue;case'23':this[_0x2ca21b(0x12a)]=_0x588f22[_0x2ca21b(0x10c)](isAccessibilityAutomationSession);continue;}break;}}['setupCucumber'](_0x17b80e,_0x2b6a75,_0x2e6b55){const _0xf422cb=_0x17b80e['resolvePaths'];_0x17b80e.resolvePaths=async function(){const pathResults=await _0xf422cb.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x2e6b55));return pathResults;},_0x2b6a75.push('--format'),_0x2b6a75.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{PerformanceTester.start(PerformanceEvents.SDK_PRE_TEST);require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js','mocha');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;if(!helper.isUndefined(this._mochaOpts.mochaRequire)){this._mochaOpts.require=this._mochaOpts.mochaRequire;const plugins=await mochaRunHelper.handleRequires([this._mochaOpts.require]);Object.assign(this._mochaOpts,plugins);}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);}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={};Object.assign(mochaOpts,this._mochaOpts);const reporterOption={};Object.assign(reporterOption,this._mochaOpts.reporterOptions);Object.assign(reporterOption,{type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig});mochaOpts.reporterOption=reporterOption;Object.assign(mochaOpts,{reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),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()=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}PerformanceTester.end(PerformanceEvents.SDK_PRE_TEST);const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;global.capabilities=[this._capability];try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js','@cucumber/cucumber');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js','cucumber');}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','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js','@cucumber/cucumber');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','@cucumber/cucumber').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','cucumber').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'){global.capabilities=[this._capability];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();}});}}module.exports=Launcher;
@@ -1 +1 @@
1
- function a26_0x20dc(){const _0x5f0784=['tWOVA','VLnhl','selenium-webdriver','40TrNqVE','TIjLa','bstack:options','TKxJX','QrbPx','toLowerCase','BS_A11Y_JWT','capability','setExtension','RjRsE','Zfcqn','getCapabilities','wrfuT','xpyLn','setAccessibilityCapabilities','includes','ZalZp','isUndefined','Options','14593maOoFZ','--headless','2842330aZXFTP','get','authToken','args','browserstack.accessibility','browser_version','oFEmN','env','accessibilityOptions','chrome','50533YdVRlH','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','WbLOT','nestedKeyValue','isAccessibilityPlatform','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','browserName','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','../../../helpers/helper','ZCgpk','TwdCj','getBrowserVersion','2141937ntgADK','__cloud_provider___','requireModule','4702464HqnGuK','DHkTx','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','browserstack.accessibilityOptions','kwQGW','latest','selenium-webdriver/chrome.js','getPlatformVersion','fetchPlatformDetails','warn','format','util','capabilities_','deviceName','accessibility','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','JvbpI','parse','chromeOptions_','vNYeA','browserVersion','../../../helpers/logger','setGlobal','CCqVy','8FyXOlg','getBrowserName','11hFIcOr','Exception\x20in\x20setExtension\x20Error:\x20','YtXDX','953154kaQbqm','winstonLogger','device','scannerVersion','chromeOptions','zHMoh','OmrRH','34TnwJQI','options_','31738430JCyoGH','debug','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','../../../helpers/globals'];a26_0x20dc=function(){return _0x5f0784;};return a26_0x20dc();}const a26_0x482f57=a26_0x472b;function a26_0x472b(_0x264b3a,_0x1ee8d6){const _0x20dc69=a26_0x20dc();return a26_0x472b=function(_0x472b21,_0x42023a){_0x472b21=_0x472b21-0x17f;let _0x5f8071=_0x20dc69[_0x472b21];return _0x5f8071;},a26_0x472b(_0x264b3a,_0x1ee8d6);}(function(_0x50c464,_0x30dffa){const _0x1f3520=a26_0x472b,_0x5b96b2=_0x50c464();while(!![]){try{const _0x569cb2=parseInt(_0x1f3520(0x1b1))/0x1*(parseInt(_0x1f3520(0x195))/0x2)+-parseInt(_0x1f3520(0x1ca))/0x3+parseInt(_0x1f3520(0x189))/0x4*(-parseInt(_0x1f3520(0x1b3))/0x5)+-parseInt(_0x1f3520(0x1cd))/0x6+-parseInt(_0x1f3520(0x1bd))/0x7*(parseInt(_0x1f3520(0x19e))/0x8)+parseInt(_0x1f3520(0x18e))/0x9+parseInt(_0x1f3520(0x197))/0xa*(parseInt(_0x1f3520(0x18b))/0xb);if(_0x569cb2===_0x30dffa)break;else _0x5b96b2['push'](_0x5b96b2['shift']());}catch(_0x1d0c73){_0x5b96b2['push'](_0x5b96b2['shift']());}}}(a26_0x20dc,0xd13f8));const path=require('path'),os=require('os'),util=require(a26_0x482f57(0x1d8)),bsSetupHelper=require(a26_0x482f57(0x1c6)),globals=require(a26_0x482f57(0x19a)),logger=require(a26_0x482f57(0x186))[a26_0x482f57(0x18f)];exports[a26_0x482f57(0x1ac)]=_0x4c1ecc=>{const _0x4df1fa=a26_0x482f57,_0x5f449b={};_0x5f449b['xpyLn']=_0x4df1fa(0x1a0),_0x5f449b['oFEmN']=_0x4df1fa(0x1b7),_0x5f449b[_0x4df1fa(0x1ae)]=_0x4df1fa(0x1c1),_0x5f449b['ZCgpk']=_0x4df1fa(0x1d0);const _0x476d63=_0x5f449b;try{const _0x2422a9=_0x4c1ecc['capability']||{};if(_0x2422a9[_0x476d63['xpyLn']]&&_0x2422a9[_0x476d63[_0x4df1fa(0x1ab)]][_0x4df1fa(0x17f)]||_0x4c1ecc['capability'][_0x476d63['oFEmN']]){globals[_0x4df1fa(0x187)](_0x476d63[_0x4df1fa(0x1ae)],!![]);if(_0x2422a9[_0x476d63[_0x4df1fa(0x1ab)]]){if(_0x2422a9[_0x476d63['xpyLn']][_0x4df1fa(0x1bb)])_0x2422a9[_0x476d63[_0x4df1fa(0x1ab)]]['accessibilityOptions'][_0x4df1fa(0x1b5)]=process['env'][_0x4df1fa(0x1a4)];else{const _0x5d9f48={};_0x5d9f48[_0x4df1fa(0x1b5)]=process[_0x4df1fa(0x1ba)][_0x4df1fa(0x1a4)],_0x2422a9[_0x476d63[_0x4df1fa(0x1ab)]][_0x4df1fa(0x1bb)]=_0x5d9f48;}_0x2422a9[_0x476d63[_0x4df1fa(0x1ab)]]['accessibilityOptions'][_0x4df1fa(0x191)]=JSON[_0x4df1fa(0x182)](process[_0x4df1fa(0x1ba)][_0x4df1fa(0x1c2)])[_0x4df1fa(0x191)];}else{if(_0x4c1ecc['capability'][_0x476d63[_0x4df1fa(0x1b9)]]){if(_0x2422a9[_0x476d63[_0x4df1fa(0x1c7)]])_0x2422a9[_0x476d63['ZCgpk']][_0x4df1fa(0x1b5)]=process['env'][_0x4df1fa(0x1a4)];else{const _0x455b8a={};_0x455b8a[_0x4df1fa(0x1b5)]=process[_0x4df1fa(0x1ba)][_0x4df1fa(0x1a4)],_0x2422a9[_0x476d63[_0x4df1fa(0x1c7)]]=_0x455b8a;}_0x2422a9[_0x476d63[_0x4df1fa(0x1c7)]][_0x4df1fa(0x191)]=JSON[_0x4df1fa(0x182)](process[_0x4df1fa(0x1ba)][_0x4df1fa(0x1c2)])['scannerVersion'];}}}}catch(_0x3873a5){logger[_0x4df1fa(0x198)](_0x4df1fa(0x1cf)+_0x3873a5);}},exports[a26_0x482f57(0x1a6)]=(_0x4a611b,_0x141cfd)=>{const _0x4aeeef=a26_0x482f57,_0x4e788f={};_0x4e788f[_0x4aeeef(0x18d)]=_0x4aeeef(0x1a0),_0x4e788f[_0x4aeeef(0x181)]=function(_0x37239d,_0x2db310){return _0x37239d!==_0x2db310;},_0x4e788f[_0x4aeeef(0x194)]=_0x4aeeef(0x1be),_0x4e788f[_0x4aeeef(0x1ce)]=_0x4aeeef(0x1bc),_0x4e788f[_0x4aeeef(0x1a2)]=_0x4aeeef(0x199),_0x4e788f[_0x4aeeef(0x1bf)]=function(_0x8627c9,_0x3b729b){return _0x8627c9===_0x3b729b;},_0x4e788f[_0x4aeeef(0x1d1)]=_0x4aeeef(0x1d2),_0x4e788f[_0x4aeeef(0x1a1)]=function(_0x1965f9,_0x5edf5c){return _0x1965f9>_0x5edf5c;},_0x4e788f[_0x4aeeef(0x188)]=_0x4aeeef(0x180),_0x4e788f[_0x4aeeef(0x19b)]=_0x4aeeef(0x1d3),_0x4e788f[_0x4aeeef(0x1aa)]=_0x4aeeef(0x19d),_0x4e788f[_0x4aeeef(0x19f)]=_0x4aeeef(0x196),_0x4e788f[_0x4aeeef(0x1a7)]=_0x4aeeef(0x1b6),_0x4e788f[_0x4aeeef(0x184)]=_0x4aeeef(0x192),_0x4e788f[_0x4aeeef(0x193)]=_0x4aeeef(0x1b2),_0x4e788f[_0x4aeeef(0x1c8)]=_0x4aeeef(0x1c5);const _0x4bd34a=_0x4e788f;try{const _0x2358a7=_0x141cfd[_0x4aeeef(0x1a5)]||{},_0xf7bf1e=(_0x2358a7[_0x4bd34a['YtXDX']]?_0x2358a7[_0x4bd34a['YtXDX']][_0x4aeeef(0x1da)]:_0x2358a7[_0x4aeeef(0x190)])||'';if(_0x4bd34a[_0x4aeeef(0x181)](_0xf7bf1e,''))return logger['warn'](_0x4bd34a['OmrRH']),![];const _0x1a4383=_0x2358a7[_0x4aeeef(0x1c3)]||_0x4a611b[_0x4aeeef(0x1d9)][_0x4aeeef(0x18a)]();if(_0x4bd34a[_0x4aeeef(0x181)](_0x1a4383[_0x4aeeef(0x1a3)](),_0x4bd34a[_0x4aeeef(0x1ce)]))return logger['warn'](_0x4bd34a[_0x4aeeef(0x1a2)]),![];const _0x372298=_0x2358a7[_0x4aeeef(0x185)]||_0x2358a7[_0x4aeeef(0x1b8)]||_0x4a611b[_0x4aeeef(0x1d9)]['getBrowserVersion']();if(!bsSetupHelper[_0x4aeeef(0x1af)](_0x372298)&&!(_0x4bd34a['WbLOT'](_0x372298,_0x4bd34a[_0x4aeeef(0x1d1)])||_0x4bd34a['TKxJX'](_0x372298,0x5e)))return logger[_0x4aeeef(0x1d6)](_0x4bd34a[_0x4aeeef(0x188)]),![];let _0x1a3035;try{_0x1a3035=bsSetupHelper[_0x4aeeef(0x1cc)](_0x4bd34a[_0x4aeeef(0x19b)],_0x4bd34a[_0x4aeeef(0x1aa)]);}catch(_0x2a191d){return![];}const _0xbdf011=new _0x1a3035[(_0x4aeeef(0x1b0))](_0x4a611b[_0x4aeeef(0x183)]),_0x2d5a31=bsSetupHelper[_0x4aeeef(0x1c0)](_0xbdf011,[_0x4bd34a['TIjLa'],_0x4bd34a[_0x4aeeef(0x1a7)]])||bsSetupHelper[_0x4aeeef(0x1c0)](_0x4a611b[_0x4aeeef(0x1d9)][_0x4aeeef(0x1b4)](_0x4bd34a['YtXDX']),[_0x4bd34a[_0x4aeeef(0x184)],_0x4bd34a[_0x4aeeef(0x1a7)]])||bsSetupHelper['nestedKeyValue'](_0x4a611b[_0x4aeeef(0x1d9)][_0x4aeeef(0x1b4)](_0x4bd34a[_0x4aeeef(0x184)]),[_0x4bd34a[_0x4aeeef(0x1a7)]])||[];if(_0x2d5a31[_0x4aeeef(0x1ad)](_0x4bd34a['zHMoh']))return logger['warn'](_0x4bd34a[_0x4aeeef(0x1c8)]),![];return!![];}catch(_0x3a1228){logger[_0x4aeeef(0x198)](_0x4aeeef(0x18c)+util[_0x4aeeef(0x1d7)](_0x3a1228));}return![];},exports[a26_0x482f57(0x1d5)]=async _0x4d0908=>{const _0x389756=a26_0x482f57,_0x53ec05={};_0x53ec05[_0x389756(0x1a8)]=function(_0xe8a1a3,_0x31a558){return _0xe8a1a3===_0x31a558;},_0x53ec05[_0x389756(0x19c)]='browserstack';const _0x20a680=_0x53ec05;let _0x27b90d={};try{const _0x4a083c=await _0x4d0908[_0x389756(0x1a9)]();_0x27b90d={'os_name':_0x4a083c['getPlatform'](),'os_version':bsSetupHelper[_0x389756(0x1d4)](_0x20a680[_0x389756(0x1a8)](global[_0x389756(0x1cb)],_0x20a680['VLnhl'])),'browser_name':_0x4a083c['getBrowserName'](),'browser_version':_0x4a083c[_0x389756(0x1c9)]()};}catch(_0x187980){logger[_0x389756(0x198)](_0x389756(0x1c4)+_0x187980);}return _0x27b90d;};
1
+ function a26_0x37cc(_0x4dfd64,_0x59bf0b){const _0x2eb696=a26_0x2eb6();return a26_0x37cc=function(_0x37cc06,_0x4992fb){_0x37cc06=_0x37cc06-0xc6;let _0x381cc0=_0x2eb696[_0x37cc06];return _0x381cc0;},a26_0x37cc(_0x4dfd64,_0x59bf0b);}function a26_0x2eb6(){const _0xd113d0=['Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','winstonLogger','14628VSFgJB','HBsLN','isAccessibilityPlatform','dEeEW','setExtension','options_','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','../../../helpers/globals','device','7101lwkMJZ','SYEtc','juKkt','41dLklvk','nestedKeyValue','GftNT','env','__cloud_provider___','Exception\x20in\x20setExtension\x20Error:\x20','TYRak','getCapabilities','kNMbI','accessibilityOptions','getBrowserVersion','util','setGlobal','browserVersion','VsxAb','toLowerCase','NPVEd','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Sgdud','Options','debug','BS_A11Y_JWT','scannerVersion','TlwMT','browserstack','get','authToken','isUndefined','parse','includes','aqzDf','requireModule','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','fetchPlatformDetails','path','accessibility','args','1490BKJYdE','capability','browserstack.accessibilityOptions','OOZLP','latest','mpvND','16UCrskQ','3026901SMpjJG','AxGYz','rwfbc','getBrowserName','1375UDLUwY','xwDQs','44zfIplY','capabilities_','selenium-webdriver','2144989TSftJl','chrome','chromeOptions_','43994yCibJX','selenium-webdriver/chrome.js','warn','1123880XJpJyo','Pijzz','--headless','1427784ukpvlB','SiXWp','YQnze','ztLbC','bstack:options','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.'];a26_0x2eb6=function(){return _0xd113d0;};return a26_0x2eb6();}const a26_0x4b5ed2=a26_0x37cc;(function(_0x289aaa,_0x5d364c){const _0x12d72d=a26_0x37cc,_0x11a77d=_0x289aaa();while(!![]){try{const _0x3b1758=parseInt(_0x12d72d(0x111))/0x1*(-parseInt(_0x12d72d(0xf7))/0x2)+parseInt(_0x12d72d(0xeb))/0x3+-parseInt(_0x12d72d(0xfa))/0x4+parseInt(_0x12d72d(0xef))/0x5*(parseInt(_0x12d72d(0x105))/0x6)+parseInt(_0x12d72d(0xf4))/0x7*(parseInt(_0x12d72d(0xea))/0x8)+parseInt(_0x12d72d(0x10e))/0x9*(-parseInt(_0x12d72d(0xe4))/0xa)+parseInt(_0x12d72d(0xf1))/0xb*(-parseInt(_0x12d72d(0xfd))/0xc);if(_0x3b1758===_0x5d364c)break;else _0x11a77d['push'](_0x11a77d['shift']());}catch(_0x150cab){_0x11a77d['push'](_0x11a77d['shift']());}}}(a26_0x2eb6,0x7df5f));const path=require(a26_0x4b5ed2(0xe1)),os=require('os'),util=require(a26_0x4b5ed2(0xca)),bsSetupHelper=require('../../../helpers/helper'),globals=require(a26_0x4b5ed2(0x10c)),logger=require('../../../helpers/logger')[a26_0x4b5ed2(0x104)];exports['setAccessibilityCapabilities']=_0x23db82=>{const _0x3f66ad=a26_0x4b5ed2,_0x2ada10={};_0x2ada10[_0x3f66ad(0x108)]='bstack:options',_0x2ada10[_0x3f66ad(0x10f)]='browserstack.accessibility',_0x2ada10[_0x3f66ad(0x117)]=_0x3f66ad(0x107),_0x2ada10[_0x3f66ad(0xfe)]=_0x3f66ad(0xe6);const _0xdfa5f=_0x2ada10;try{const _0x4bc4db=_0x23db82[_0x3f66ad(0xe5)]||{};if(_0x4bc4db[_0xdfa5f[_0x3f66ad(0x108)]]&&_0x4bc4db[_0xdfa5f[_0x3f66ad(0x108)]][_0x3f66ad(0xe2)]||_0x23db82[_0x3f66ad(0xe5)][_0xdfa5f['SYEtc']]){globals[_0x3f66ad(0xcb)](_0xdfa5f[_0x3f66ad(0x117)],!![]);if(_0x4bc4db[_0xdfa5f[_0x3f66ad(0x108)]]){if(_0x4bc4db[_0xdfa5f[_0x3f66ad(0x108)]][_0x3f66ad(0xc8)])_0x4bc4db[_0xdfa5f[_0x3f66ad(0x108)]][_0x3f66ad(0xc8)][_0x3f66ad(0xd9)]=process['env'][_0x3f66ad(0xd4)];else{const _0x2c2764={};_0x2c2764[_0x3f66ad(0xd9)]=process[_0x3f66ad(0x114)]['BS_A11Y_JWT'],_0x4bc4db[_0xdfa5f[_0x3f66ad(0x108)]][_0x3f66ad(0xc8)]=_0x2c2764;}_0x4bc4db[_0xdfa5f[_0x3f66ad(0x108)]][_0x3f66ad(0xc8)][_0x3f66ad(0xd5)]=JSON[_0x3f66ad(0xdb)](process[_0x3f66ad(0x114)][_0x3f66ad(0xd0)])[_0x3f66ad(0xd5)];}else{if(_0x23db82['capability'][_0xdfa5f[_0x3f66ad(0x10f)]]){if(_0x4bc4db[_0xdfa5f['SiXWp']])_0x4bc4db[_0xdfa5f[_0x3f66ad(0xfe)]]['authToken']=process['env']['BS_A11Y_JWT'];else{const _0x1b7e11={};_0x1b7e11[_0x3f66ad(0xd9)]=process[_0x3f66ad(0x114)]['BS_A11Y_JWT'],_0x4bc4db[_0xdfa5f[_0x3f66ad(0xfe)]]=_0x1b7e11;}_0x4bc4db[_0xdfa5f[_0x3f66ad(0xfe)]][_0x3f66ad(0xd5)]=JSON[_0x3f66ad(0xdb)](process[_0x3f66ad(0x114)][_0x3f66ad(0xd0)])[_0x3f66ad(0xd5)];}}}}catch(_0x3cd96c){logger[_0x3f66ad(0xd3)]('Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20'+_0x3cd96c);}},exports[a26_0x4b5ed2(0x109)]=(_0xb5d3cd,_0x231118)=>{const _0x5d9756=a26_0x4b5ed2,_0x3ecd0c={};_0x3ecd0c[_0x5d9756(0xe7)]=_0x5d9756(0x101),_0x3ecd0c[_0x5d9756(0xe9)]=function(_0xa68fff,_0xe4a827){return _0xa68fff!==_0xe4a827;},_0x3ecd0c['XAwqO']=_0x5d9756(0xdf),_0x3ecd0c[_0x5d9756(0x106)]=_0x5d9756(0xf5),_0x3ecd0c[_0x5d9756(0xdd)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.',_0x3ecd0c[_0x5d9756(0x100)]=function(_0x584aa9,_0x4c7226){return _0x584aa9===_0x4c7226;},_0x3ecd0c['GftNT']=_0x5d9756(0xe8),_0x3ecd0c[_0x5d9756(0xd1)]=function(_0xb72dc5,_0x3e6557){return _0xb72dc5>_0x3e6557;},_0x3ecd0c[_0x5d9756(0xc7)]=_0x5d9756(0x10b),_0x3ecd0c[_0x5d9756(0xec)]=_0x5d9756(0xf8),_0x3ecd0c[_0x5d9756(0xff)]=_0x5d9756(0xf3),_0x3ecd0c[_0x5d9756(0xed)]=_0x5d9756(0x10a),_0x3ecd0c[_0x5d9756(0xcf)]=_0x5d9756(0xe3),_0x3ecd0c[_0x5d9756(0xd6)]='chromeOptions',_0x3ecd0c[_0x5d9756(0xcd)]=_0x5d9756(0xfc),_0x3ecd0c[_0x5d9756(0xf0)]=_0x5d9756(0x102);const _0x4f0660=_0x3ecd0c;try{const _0x43880a=_0x231118[_0x5d9756(0xe5)]||{},_0x5f4862=(_0x43880a[_0x4f0660[_0x5d9756(0xe7)]]?_0x43880a[_0x4f0660[_0x5d9756(0xe7)]]['deviceName']:_0x43880a[_0x5d9756(0x10d)])||'';if(_0x4f0660[_0x5d9756(0xe9)](_0x5f4862,''))return logger[_0x5d9756(0xf9)](_0x4f0660['XAwqO']),![];const _0x4254b9=_0x43880a['browserName']||_0xb5d3cd[_0x5d9756(0xf2)][_0x5d9756(0xee)]();if(_0x4f0660[_0x5d9756(0xe9)](_0x4254b9[_0x5d9756(0xce)](),_0x4f0660[_0x5d9756(0x106)]))return logger[_0x5d9756(0xf9)](_0x4f0660[_0x5d9756(0xdd)]),![];const _0x3fff65=_0x43880a[_0x5d9756(0xcc)]||_0x43880a['browser_version']||_0xb5d3cd[_0x5d9756(0xf2)][_0x5d9756(0xc9)]();if(!bsSetupHelper[_0x5d9756(0xda)](_0x3fff65)&&!(_0x4f0660[_0x5d9756(0x100)](_0x3fff65,_0x4f0660[_0x5d9756(0x113)])||_0x4f0660[_0x5d9756(0xd1)](_0x3fff65,0x5e)))return logger['warn'](_0x4f0660[_0x5d9756(0xc7)]),![];let _0x4e6337;try{_0x4e6337=bsSetupHelper[_0x5d9756(0xde)](_0x4f0660[_0x5d9756(0xec)],_0x4f0660[_0x5d9756(0xff)]);}catch(_0x452a39){return![];}const _0x44c56e=new _0x4e6337[(_0x5d9756(0xd2))](_0xb5d3cd[_0x5d9756(0xf6)]),_0x3b9aae=bsSetupHelper['nestedKeyValue'](_0x44c56e,[_0x4f0660[_0x5d9756(0xed)],_0x4f0660[_0x5d9756(0xcf)]])||bsSetupHelper[_0x5d9756(0x112)](_0xb5d3cd[_0x5d9756(0xf2)][_0x5d9756(0xd8)](_0x4f0660[_0x5d9756(0xe7)]),[_0x4f0660[_0x5d9756(0xd6)],_0x4f0660[_0x5d9756(0xcf)]])||bsSetupHelper[_0x5d9756(0x112)](_0xb5d3cd[_0x5d9756(0xf2)][_0x5d9756(0xd8)](_0x4f0660['TlwMT']),[_0x4f0660[_0x5d9756(0xcf)]])||[];if(_0x3b9aae[_0x5d9756(0xdc)](_0x4f0660['VsxAb']))return logger[_0x5d9756(0xf9)](_0x4f0660[_0x5d9756(0xf0)]),![];return!![];}catch(_0xbcc8df){logger['debug'](_0x5d9756(0x116)+util['format'](_0xbcc8df));}return![];},exports[a26_0x4b5ed2(0xe0)]=async _0x254617=>{const _0x47fda6=a26_0x4b5ed2,_0x1f295e={};_0x1f295e[_0x47fda6(0x110)]=function(_0x345a6c,_0x4ea5c9){return _0x345a6c===_0x4ea5c9;},_0x1f295e['Pijzz']=_0x47fda6(0xd7);const _0x785e1d=_0x1f295e;let _0x41c16d={};try{const _0xc642e1=await _0x254617[_0x47fda6(0xc6)]();_0x41c16d={'os_name':_0xc642e1['getPlatform'](),'os_version':bsSetupHelper['getPlatformVersion'](_0x785e1d['juKkt'](global[_0x47fda6(0x115)],_0x785e1d[_0x47fda6(0xfb)])),'browser_name':_0xc642e1['getBrowserName'](),'browser_version':_0xc642e1[_0x47fda6(0xc9)]()};}catch(_0x220f4d){logger[_0x47fda6(0xd3)](_0x47fda6(0x103)+_0x220f4d);}return _0x41c16d;};
@@ -1 +1 @@
1
- 'use strict';const a27_0x1505ba=a27_0x4d0e;(function(_0x2ae4d9,_0x1dca1f){const _0x1390d3=a27_0x4d0e,_0x1db934=_0x2ae4d9();while(!![]){try{const _0x2481e4=parseInt(_0x1390d3(0x204))/0x1*(parseInt(_0x1390d3(0x1d3))/0x2)+parseInt(_0x1390d3(0x259))/0x3*(-parseInt(_0x1390d3(0x194))/0x4)+parseInt(_0x1390d3(0x181))/0x5+parseInt(_0x1390d3(0x222))/0x6+parseInt(_0x1390d3(0x1a7))/0x7+-parseInt(_0x1390d3(0x288))/0x8+parseInt(_0x1390d3(0x291))/0x9*(-parseInt(_0x1390d3(0x26b))/0xa);if(_0x2481e4===_0x1dca1f)break;else _0x1db934['push'](_0x1db934['shift']());}catch(_0x5dbcfa){_0x1db934['push'](_0x1db934['shift']());}}}(a27_0x4798,0x52954));const util=require(a27_0x1505ba(0x1c4)),fs=require('fs'),path=require(a27_0x1505ba(0x1f2)),{requireModule}=require(a27_0x1505ba(0x20d)),Base=requireModule(a27_0x1505ba(0x1f6),'mocha'),utils=requireModule(a27_0x1505ba(0x280),'mocha'),color=Base[a27_0x1505ba(0x1ce)],Mocha=requireModule(a27_0x1505ba(0x203)),Runnable=requireModule('mocha/lib/runnable.js',a27_0x1505ba(0x203)),{v4:uuidv4}=require(a27_0x1505ba(0x1c5)),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require('../../../helpers/testhub/utils'),centralScannerUtils=require(a27_0x1505ba(0x1bb)),testHubConstants=require(a27_0x1505ba(0x175)),{FRAMEWORKS}=require(a27_0x1505ba(0x1e6)),a27_0x2c1769={};a27_0x2c1769[a27_0x1505ba(0x220)]=a27_0x1505ba(0x21c),a27_0x2c1769[a27_0x1505ba(0x171)]=a27_0x1505ba(0x298),a27_0x2c1769['before\x20each']=a27_0x1505ba(0x212),a27_0x2c1769[a27_0x1505ba(0x1aa)]='AFTER_EACH';function a27_0x4d0e(_0x5efb93,_0x56da77){const _0x4798bb=a27_0x4798();return a27_0x4d0e=function(_0x4d0ecf,_0x5f352c){_0x4d0ecf=_0x4d0ecf-0x16e;let _0x45760f=_0x4798bb[_0x4d0ecf];return _0x45760f;},a27_0x4d0e(_0x5efb93,_0x56da77);}function a27_0x4798(){const _0x4460d3=['constants','EfuEF','xKFHS','http_response','MbeYw','indent','retryOf','\x20(%dms)','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','failure_reason_expanded','</dd>','nJqnT','ctx','responseCode','toString','uploadEventData','apply','trim','../../../helpers/test-observability/constants','bang','inMci','started_at','<section\x20class=\x22suite\x22>','dVEXT','spec','bofZa','AhPKv','markedStatus','qxQQZ','</dl>','path','kPtNp','setCentralScannerData','push','mocha/lib/reporters/base.js','__indents','finished_at','\x20\x20<dt\x20class=\x22error\x22>','getInstance','PCXpB','EcrKZ','suiteCount','redirectUrl','root','wUpsv','PNllr','smyUr','mocha','13EauNNG','JmyQC','ZRQyQ','stdout','\x20\x20<dd\x20class=\x22error\x22><pre><code>','UCXlF','</section>','gNuHE','IwtSb','../../../helpers/helper','TestRunFinished','uqbze','\x20\x20<dt>','config','BEFORE_EACH','QVUDG','sjMAW','../../../helpers/test-observability/sessionHandler','finalResults','aRFbt','increaseIndent','call','fail','ZfiuR','BEFORE_ALL','parent','getRootParentFile','QBZKS','before\x20all','err','2204388vJBVfE','SMbKp','gZELX','fullTitle','</dt>','BhaSd','failed','%s\x20','NktML','yABnM','dasqj','VaNKQ','symbols','integrations','getTime','runner','split','PKZMi','forEach','escape','join','MLIAX','EryUA','_indents','esIYV','docHtml','VHCwq','wnIVg','shouldProcessEventForTesthub','OYdHW','hook_run_uuid','once','fhkqB','state','PJSCb','match','relative','bs:addLog:','RgeIp','length','.js','bs:addPlatformDetails:','ULbgU','PpLEL','skipped','SZqmJ','RUNNING','dirname','xunit','javascript','sep','__platform__','test','dScPi','WdtBt','9meMDIY','WDoIU','done','prototype','passed','LDaHz','speed','fOhQU','docAppend','ouSnp','BdQBG','doc','eFhVx','logs','iUOES','type','toISOString','registerListeners','20dtLyyp','test_run_uuid','scope','IDHAp','Xcmpa','before\x20each','RgUON','SaXah','Egctb','HookStarted','CBTSessionCreated','wkRyo','_testEnv','ViWHr','location_prefix','0|1|4|3|2','Mocha','LogCreated','<dl>','oPsGW','Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20','mocha/lib/utils.js','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','hookAnalyticsId','consoleLog','yaePI','fast','Reporter','KfYOS','205992TvLpYe','now','statSync','failure','pqQkl','gofaS','backtrace','TestRunSkipped','removeAllListeners','4396734cYkhGe','pending','prefixTestPath','\x20-\x20','zBcWS','pWWKp','MOCHA','AFTER_ALL','FAawJ','HookFinished','HookRunFinished','test_run','PJnvh','dot','reporterOption','tvWou','after\x20all','AHYZY','comma','appendTestPlatform','../../../helpers/testhub/constants','appendTestItemLog','RHnVd','WeZtm','\x20\x20<dd><pre><code>','inspect','hook_type','multiple','fDoxp','bind','sJeAE','<h1>','3115560NGHYQD','analyticsResult','bsConfig','body','%s\x20-\x20%s','HwnRy','Runner','../../../helpers/test-observability/utils','setCurrentTestData','ySdga','VllbL','SLVRW','suites','odbsY','currentTest','EVENT','failureCount','findGitConfig','current_hook','548892xSCFKT','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','result','currentRetry','pid','IiKOc','slow','ssCon','titlePath','originalTitle','file','SYMnK','scopes','slice','AssertionError','current_test','zlsnl','nSQgr','../../../helpers/test-observability/requestQueueHandler','2030966OPLFAA','decreaseIndent','appendTesthubParams','after\x20each','duration','HGqco','Pyslv','sendTestRunEvent','title','hvZVJ','pass','TestRunStarted','write','testStarted','light','kWuZR','bvoTX','NtNZA','results','PmBii','../../../helpers/central-scanner/helpers','checkmark','_buildCreated','BdFjv','fYkVG','_testResults','QEFXt','testAnalyticsId','event_type','util','uuid','clean','expanded','TVruZ','roJcd','shutdown','includes','DIuKP','\x20\x20<dd\x20class=\x22error\x22>','color','voZWe','yeZJA','isPending','lILsT','72628EWgXfH'];a27_0x4798=function(){return _0x4460d3;};return a27_0x4798();}const HOOK_TYPES_MAP=a27_0x2c1769,{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_0x1505ba(0x187)][a27_0x1505ba(0x1d4)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x1505ba(0x1d4)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require(a27_0x1505ba(0x1e6)),SessionHandler=require(a27_0x1505ba(0x215)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x1505ba(0x188)),RequestQueueHandler=require(a27_0x1505ba(0x1a6)),requestQueueHandler=RequestQueueHandler[a27_0x1505ba(0x1fa)]();class MyReporter{constructor(_0x43fecf,_0x51b925){const _0x4a6897=a27_0x1505ba,_0x9e6a69={'EcrKZ':function(_0x386a35,_0xfebe35){return _0x386a35===_0xfebe35;},'WeZtm':_0x4a6897(0x1ec),'IDHAp':function(_0x442abf,_0x13a26f){return _0x442abf+_0x13a26f;},'yaePI':function(_0x2e38f9,_0x33ffe0,_0x44c012){return _0x2e38f9(_0x33ffe0,_0x44c012);},'PJnvh':'green','SYMnK':_0x4a6897(0x229),'pxvBy':function(_0x2384a6,_0x4c021c,_0x25f738){return _0x2384a6(_0x4c021c,_0x25f738);},'kWuZR':_0x4a6897(0x1b5),'WdtBt':_0x4a6897(0x185),'LDaHz':_0x4a6897(0x250),'tvWou':function(_0x9b25aa,_0x2dca73){return _0x9b25aa===_0x2dca73;},'gNuHE':_0x4a6897(0x264),'hvZVJ':function(_0x7fe22b){return _0x7fe22b();},'EfuEF':function(_0x52bb3a){return _0x52bb3a();},'BdQBG':'HookRunStarted','roJcd':_0x4a6897(0x29b),'SLVRW':function(_0x354e9c,_0x54f028){return _0x354e9c===_0x54f028;},'DLzlM':_0x4a6897(0x25d),'dVEXT':function(_0x121d82,_0x3fd49e){return _0x121d82===_0x3fd49e;},'ZfiuR':_0x4a6897(0x285),'QVUDG':function(_0x58907c,_0xe3fb06,_0x4068e7){return _0x58907c(_0xe3fb06,_0x4068e7);},'ssCon':_0x4a6897(0x1bc),'oDMNm':function(_0x7e110b,_0x4a3057){return _0x7e110b+_0x4a3057;},'Pyslv':_0x4a6897(0x1b1),'VaNKQ':'\x20%s','nSQgr':function(_0x3f74f1,_0x51f79e){return _0x3f74f1+_0x51f79e;},'zlsnl':function(_0x242221,_0x1f4e75){return _0x242221+_0x1f4e75;},'NktML':function(_0x141e84,_0x1735f3,_0x4cf853){return _0x141e84(_0x1735f3,_0x4cf853);},'DIuKP':function(_0x2817e7,_0x4b3bf3){return _0x2817e7+_0x4b3bf3;},'QBZKS':function(_0x1281ff,_0x3938d5,_0xd00bd1){return _0x1281ff(_0x3938d5,_0xd00bd1);},'IJxKl':_0x4a6897(0x1db),'wkRyo':function(_0x396a29,_0x53eb23){return _0x396a29+_0x53eb23;},'fYkVG':_0x4a6897(0x21a),'EryUA':'\x20\x20%d)\x20%s','iUOES':function(_0x66d54c,_0x2e0234){return _0x66d54c===_0x2e0234;},'ZcuwY':function(_0x3fdc40,_0x1827c7){return _0x3fdc40+_0x1827c7;},'TVruZ':'bright\x20yellow','Egctb':'COMPLETED','BhaSd':function(_0x4fb4df,_0x38b625){return _0x4fb4df===_0x38b625;},'SMbKp':_0x4a6897(0x16e),'RHnVd':_0x4a6897(0x19a),'xJuPm':function(_0x1d7569,_0x47a44f){return _0x1d7569===_0x47a44f;},'PKZMi':_0x4a6897(0x27a),'ySdga':function(_0x437634,_0x573a70){return _0x437634===_0x573a70;},'sIEDx':function(_0x10e681,_0x5bd500){return _0x10e681===_0x5bd500;},'yABnM':_0x4a6897(0x292),'yBYGL':function(_0x2df2f3){return _0x2df2f3();},'MbeYw':_0x4a6897(0x28f),'RgUON':function(_0xef8b01,_0x38e060){return _0xef8b01===_0x38e060;},'pqQkl':function(_0x12e750,_0x51aee1){return _0x12e750(_0x51aee1);},'pWWKp':function(_0x363790,_0x4f337f){return _0x363790===_0x4f337f;},'wnIVg':function(_0x4adc79){return _0x4adc79();},'tzsBY':function(_0x52d733,_0x1174ad){return _0x52d733===_0x1174ad;},'RgeIp':_0x4a6897(0x252),'VHCwq':function(_0x5014b6,_0x4a4424,_0x537097){return _0x5014b6(_0x4a4424,_0x537097);},'voZWe':'mocha','WDoIU':function(_0x485339,_0xd030f5){return _0x485339(_0xd030f5);},'oPsGW':function(_0x59a31c,_0x4eb0f3){return _0x59a31c(_0x4eb0f3);},'odbsY':function(_0x3ab52c,_0x4c467e){return _0x3ab52c!==_0x4c467e;}};this[_0x4a6897(0x268)]=_0x51b925[_0x4a6897(0x16f)][_0x4a6897(0x268)],this['testObservability']=_0x9e6a69['yBYGL'](isTestObservabilitySession),Base[_0x4a6897(0x219)](this,_0x43fecf,_0x51b925),this[_0x4a6897(0x239)]=0x0,this['failCount']=0x0,this['results']=[],this[_0x4a6897(0x216)]=[],this[_0x4a6897(0x1fd)]=0x0,this[_0x4a6897(0x1bd)]=![],this['_testResults']=[],this[_0x4a6897(0x277)]=_0x9e6a69[_0x4a6897(0x23d)](getTestEnv),this['_paths']=new PathHelper({'cwd':process['cwd']()},this[_0x4a6897(0x277)][_0x4a6897(0x279)]),this['_upstreamConfig']=_0x51b925['reporterOption'][_0x4a6897(0x183)],this[_0x4a6897(0x26a)]();_0x9e6a69['tzsBY'](this[_0x4a6897(0x268)],_0x9e6a69[_0x4a6897(0x20b)])&&(this[_0x4a6897(0x23b)]='',this['__indents']=0x2);_0x43fecf['once'](EVENT_RUN_BEGIN,async()=>{const _0x2cab00=_0x4a6897;_0x9e6a69[_0x2cab00(0x1fc)](this[_0x2cab00(0x268)],_0x9e6a69[_0x2cab00(0x178)])&&Base[_0x2cab00(0x283)]();})['on'](EVENT_SUITE_BEGIN,_0x112aa4=>{const _0x17eabc=_0x4a6897;if(_0x112aa4[_0x17eabc(0x1ff)])return;if(_0x9e6a69['EcrKZ'](this['type'],_0x9e6a69['WeZtm']))this[_0x17eabc(0x218)](),Base['consoleLog'](_0x9e6a69[_0x17eabc(0x26e)](_0x9e6a69['IDHAp'](this['indent'](),_0x9e6a69['yaePI'](color,_0x9e6a69[_0x17eabc(0x29d)],_0x9e6a69[_0x17eabc(0x19f)])),_0x9e6a69['pxvBy'](color,_0x9e6a69[_0x17eabc(0x1b6)],_0x9e6a69[_0x17eabc(0x258)])),_0x9e6a69[_0x17eabc(0x25e)],_0x112aa4['title'],global[_0x17eabc(0x255)]);else _0x9e6a69['tvWou'](this['type'],_0x9e6a69[_0x17eabc(0x20b)])&&(this[_0x17eabc(0x261)](this[_0x17eabc(0x1d9)]()+_0x17eabc(0x1ea)),++this[_0x17eabc(0x1f7)],this[_0x17eabc(0x261)](this[_0x17eabc(0x1d9)]()+_0x17eabc(0x180)+utils[_0x17eabc(0x235)](_0x112aa4['title']+_0x17eabc(0x294)+global[_0x17eabc(0x255)])+'</h1>'),this['docAppend'](this[_0x17eabc(0x1d9)]()+_0x17eabc(0x27d)));})['on'](EVENT_HOOK_BEGIN,async _0x41f7d5=>{const _0x50a47=_0x4a6897;if(_0x9e6a69[_0x50a47(0x1fc)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x50a47(0x190)][_0x50a47(0x274)]),!![])){if(!_0x41f7d5['hookAnalyticsId'])_0x41f7d5['hookAnalyticsId']=_0x9e6a69[_0x50a47(0x1b0)](uuidv4);else _0x41f7d5[_0x50a47(0x1ef)]&&(_0x41f7d5['hookAnalyticsId']=_0x9e6a69[_0x50a47(0x1d5)](uuidv4),delete _0x41f7d5['markedStatus']);_0x41f7d5[_0x50a47(0x1e9)]=new Date()['toISOString'](),this[_0x50a47(0x193)]=_0x41f7d5,await this[_0x50a47(0x1ae)](_0x41f7d5,undefined,![],_0x9e6a69[_0x50a47(0x263)]);}})['on'](EVENT_HOOK_END,async _0x383bd8=>{const _0x2c066f=_0x4a6897;_0x9e6a69[_0x2c066f(0x170)](testhubUtils[_0x2c066f(0x23e)](testHubConstants[_0x2c066f(0x190)][_0x2c066f(0x29a)]),!![])&&(!_0x383bd8[_0x2c066f(0x1ef)]&&(_0x383bd8['markedStatus']=!![],await this[_0x2c066f(0x1ae)](_0x383bd8,undefined,![],_0x9e6a69[_0x2c066f(0x1c9)])));})['on'](EVENT_SUITE_END,_0x2388de=>{const _0x518edc=_0x4a6897;if(_0x2388de[_0x518edc(0x1ff)])return;if(_0x9e6a69['iUOES'](this[_0x518edc(0x268)],_0x9e6a69['WeZtm']))Base[_0x518edc(0x283)](),Base['consoleLog'](_0x9e6a69[_0x518edc(0x26e)](_0x9e6a69['ZcuwY'](this[_0x518edc(0x1d9)](),_0x9e6a69[_0x518edc(0x213)](color,_0x9e6a69['TVruZ'],_0x9e6a69['SYMnK'])),_0x9e6a69[_0x518edc(0x22a)](color,_0x9e6a69[_0x518edc(0x1b6)],_0x9e6a69['WdtBt'])),_0x9e6a69[_0x518edc(0x273)],_0x2388de[_0x518edc(0x1af)],global[_0x518edc(0x255)]),this[_0x518edc(0x1b9)]['forEach'](_0x2feca3=>{const _0x13873e=_0x518edc;if(_0x9e6a69[_0x13873e(0x18c)](_0x2feca3['state'],_0x9e6a69['DLzlM'])){var _0x4c56b4;_0x9e6a69['dVEXT'](_0x2feca3['speed'],_0x9e6a69[_0x13873e(0x21b)])?(_0x4c56b4=_0x9e6a69['IDHAp'](_0x9e6a69[_0x13873e(0x26e)](this['indent'](),_0x9e6a69['QVUDG'](color,_0x9e6a69[_0x13873e(0x19b)],_0x9e6a69['oDMNm']('\x20\x20',Base[_0x13873e(0x22e)]['ok']))),_0x9e6a69[_0x13873e(0x284)](color,_0x9e6a69[_0x13873e(0x1ad)],_0x9e6a69[_0x13873e(0x22d)])),Base[_0x13873e(0x283)](_0x4c56b4,_0x2feca3[_0x13873e(0x1af)])):(_0x4c56b4=_0x9e6a69['oDMNm'](_0x9e6a69[_0x13873e(0x1a5)](_0x9e6a69[_0x13873e(0x1a4)](this['indent'](),_0x9e6a69[_0x13873e(0x22a)](color,_0x9e6a69[_0x13873e(0x19b)],_0x9e6a69[_0x13873e(0x1cc)]('\x20\x20',Base[_0x13873e(0x22e)]['ok']))),_0x9e6a69[_0x13873e(0x213)](color,_0x9e6a69[_0x13873e(0x1ad)],_0x9e6a69[_0x13873e(0x22d)])),_0x9e6a69[_0x13873e(0x21f)](color,_0x2feca3['speed'],_0x9e6a69['IJxKl'])),Base['consoleLog'](_0x4c56b4,_0x2feca3['title'],_0x2feca3[_0x13873e(0x1ab)]));}else Base['consoleLog'](_0x9e6a69[_0x13873e(0x276)](this[_0x13873e(0x1d9)](),_0x9e6a69[_0x13873e(0x213)](color,_0x9e6a69['fYkVG'],_0x9e6a69[_0x13873e(0x238)])),++this['failCount'],_0x2feca3[_0x13873e(0x1af)]);}),this[_0x518edc(0x1a8)]();else _0x9e6a69[_0x518edc(0x170)](this[_0x518edc(0x268)],_0x9e6a69[_0x518edc(0x20b)])&&(this[_0x518edc(0x261)](this[_0x518edc(0x1d9)]()+_0x518edc(0x1f1)),--this[_0x518edc(0x1f7)],this[_0x518edc(0x261)](this['indent']()+_0x518edc(0x20a)),--this[_0x518edc(0x1f7)]);Array[_0x518edc(0x25c)][_0x518edc(0x1f5)][_0x518edc(0x1e4)](this[_0x518edc(0x216)],this['results']),this[_0x518edc(0x1b9)]=[];})['on'](EVENT_TEST_PASS,async _0x581eaa=>{const _0x19f92c=_0x4a6897;this[_0x19f92c(0x1b9)][_0x19f92c(0x1f5)]({'speed':_0x581eaa['speed'],'suite':_0x581eaa[_0x19f92c(0x21d)][_0x19f92c(0x1af)],'title':_0x581eaa[_0x19f92c(0x1af)],'fullTitle':_0x581eaa['fullTitle'](),'duration':_0x581eaa[_0x19f92c(0x1ab)],'state':_0x581eaa[_0x19f92c(0x243)],'err':{},'currentRetry':_0x581eaa[_0x19f92c(0x197)](),'titlePathV':_0x581eaa[_0x19f92c(0x19c)](),'isPending':_0x581eaa[_0x19f92c(0x1d1)]()});if(_0x9e6a69[_0x19f92c(0x227)](this['type'],_0x9e6a69['SMbKp']))_0x9e6a69['BhaSd'](_0x581eaa['speed'],_0x9e6a69[_0x19f92c(0x177)])?process[_0x19f92c(0x207)][_0x19f92c(0x1b3)](Base[_0x19f92c(0x1ce)](_0x9e6a69[_0x19f92c(0x1c8)],Base[_0x19f92c(0x22e)]['dot'])):process[_0x19f92c(0x207)][_0x19f92c(0x1b3)](Base[_0x19f92c(0x1ce)](_0x581eaa[_0x19f92c(0x25f)],Base['symbols'][_0x19f92c(0x16e)]));else{if(_0x9e6a69[_0x19f92c(0x1eb)](this[_0x19f92c(0x268)],_0x9e6a69[_0x19f92c(0x20b)])){this[_0x19f92c(0x261)](this[_0x19f92c(0x1d9)]()+_0x19f92c(0x210)+utils[_0x19f92c(0x235)](_0x581eaa[_0x19f92c(0x1af)])+'</dt>'),this[_0x19f92c(0x261)](this['indent']()+'\x20\x20<dt>'+utils['escape'](_0x581eaa[_0x19f92c(0x19e)])+'</dt>');var _0x5cbe59=utils['escape'](utils[_0x19f92c(0x1c6)](_0x581eaa[_0x19f92c(0x184)]));this['docAppend'](this[_0x19f92c(0x1d9)]()+_0x19f92c(0x179)+_0x5cbe59+'</code></pre></dd>');}}_0x9e6a69['xJuPm'](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x581eaa['markedStatus']&&(_0x581eaa[_0x19f92c(0x1ef)]=!![],await this[_0x19f92c(0x1ae)](_0x581eaa)));})['on'](EVENT_TEST_FAIL,async(_0x22b1d8,_0x169ef3)=>{const _0x2a7fb6=_0x4a6897;this['results'][_0x2a7fb6(0x1f5)]({'title':_0x22b1d8['title'],'suite':_0x22b1d8[_0x2a7fb6(0x21d)][_0x2a7fb6(0x1af)],'state':_0x22b1d8[_0x2a7fb6(0x243)],'err':{'message':util[_0x2a7fb6(0x17a)](_0x169ef3)},'fullTitle':_0x22b1d8[_0x2a7fb6(0x225)](),'speed':_0x22b1d8[_0x2a7fb6(0x25f)],'currentRetry':_0x22b1d8[_0x2a7fb6(0x197)](),'titlePathV':_0x22b1d8[_0x2a7fb6(0x19c)]()});if(_0x9e6a69[_0x2a7fb6(0x267)](this[_0x2a7fb6(0x268)],_0x9e6a69[_0x2a7fb6(0x223)]))process[_0x2a7fb6(0x207)][_0x2a7fb6(0x1b3)](Base['color'](_0x9e6a69[_0x2a7fb6(0x1bf)],Base['symbols'][_0x2a7fb6(0x1e7)]));else{if(_0x9e6a69['EcrKZ'](this[_0x2a7fb6(0x268)],_0x9e6a69[_0x2a7fb6(0x20b)])){const _0x48994a=_0x9e6a69[_0x2a7fb6(0x233)][_0x2a7fb6(0x232)]('|');let _0x2f95e2=0x0;while(!![]){switch(_0x48994a[_0x2f95e2++]){case'0':this[_0x2a7fb6(0x261)](this[_0x2a7fb6(0x1d9)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x2a7fb6(0x235)](_0x22b1d8[_0x2a7fb6(0x1af)])+_0x2a7fb6(0x226));continue;case'1':this[_0x2a7fb6(0x261)](this['indent']()+_0x2a7fb6(0x1f9)+utils[_0x2a7fb6(0x235)](_0x22b1d8[_0x2a7fb6(0x19e)])+_0x2a7fb6(0x226));continue;case'2':this[_0x2a7fb6(0x261)](this[_0x2a7fb6(0x1d9)]()+_0x2a7fb6(0x1cd)+utils[_0x2a7fb6(0x235)](_0x22b1d8[_0x2a7fb6(0x221)])+_0x2a7fb6(0x1de));continue;case'3':this[_0x2a7fb6(0x261)](this['indent']()+_0x2a7fb6(0x208)+_0xe278ea+'</code></pre></dd>');continue;case'4':var _0xe278ea=utils[_0x2a7fb6(0x235)](utils[_0x2a7fb6(0x1c6)](_0x22b1d8[_0x2a7fb6(0x184)]));continue;}break;}}}if(_0x9e6a69[_0x2a7fb6(0x18a)](testhubUtils[_0x2a7fb6(0x23e)](testHubConstants[_0x2a7fb6(0x190)][_0x2a7fb6(0x29a)]),!![])){if(!_0x22b1d8[_0x2a7fb6(0x1ef)]){_0x22b1d8[_0x2a7fb6(0x1ef)]=!![];if(_0x22b1d8[_0x2a7fb6(0x1c2)])await this['sendTestRunEvent'](_0x22b1d8,_0x169ef3);else _0x22b1d8[_0x2a7fb6(0x282)]&&await this[_0x2a7fb6(0x1ae)](_0x22b1d8,_0x169ef3,![],_0x9e6a69['roJcd']);}}})['on'](EVENT_TEST_PENDING,async _0x1edc9e=>{const _0x499b5e=_0x4a6897;this[_0x499b5e(0x1b9)][_0x499b5e(0x1f5)]({'title':_0x1edc9e[_0x499b5e(0x1af)],'suite':_0x1edc9e[_0x499b5e(0x21d)][_0x499b5e(0x1af)],'state':_0x1edc9e['state'],'err':{},'fullTitle':_0x1edc9e[_0x499b5e(0x225)](),'speed':_0x1edc9e[_0x499b5e(0x25f)],'currentRetry':_0x1edc9e[_0x499b5e(0x197)](),'titlePathV':_0x1edc9e['titlePath']()}),_0x9e6a69['sIEDx'](this[_0x499b5e(0x268)],_0x9e6a69[_0x499b5e(0x223)])&&process[_0x499b5e(0x207)][_0x499b5e(0x1b3)](Base[_0x499b5e(0x1ce)](_0x9e6a69[_0x499b5e(0x22b)],Base[_0x499b5e(0x22e)][_0x499b5e(0x173)])),_0x9e6a69[_0x499b5e(0x227)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x1edc9e['testAnalyticsId']&&(_0x1edc9e[_0x499b5e(0x1c2)]=_0x9e6a69['yBYGL'](uuidv4)),!_0x1edc9e[_0x499b5e(0x1ef)]&&(_0x1edc9e['markedStatus']=!![],await this[_0x499b5e(0x1ae)](_0x1edc9e,undefined,![],_0x9e6a69[_0x499b5e(0x1d8)])));})['on'](EVENT_TEST_BEGIN,async _0x1eccd7=>{const _0x5d2507=_0x4a6897;_0x9e6a69['RgUON'](testhubUtils[_0x5d2507(0x23e)](),!![])&&await this[_0x5d2507(0x1b4)](_0x1eccd7);})['on'](EVENT_TEST_END,async _0x133b5d=>{const _0x26ee56=_0x4a6897;_0x9e6a69[_0x26ee56(0x271)](testhubUtils[_0x26ee56(0x23e)](),!![])&&(!_0x133b5d[_0x26ee56(0x1ef)]&&(_0x133b5d[_0x26ee56(0x1ef)]=!![],await this[_0x26ee56(0x1ae)](_0x133b5d)));})[_0x4a6897(0x241)](EVENT_RUN_END,async()=>{const _0xcc4780=_0x4a6897;try{if(_0x9e6a69['SLVRW'](testhubUtils['shouldProcessEventForTesthub'](),!![])){const _0x7d4aef=_0x9e6a69[_0xcc4780(0x28c)](getHookSkippedTests,this[_0xcc4780(0x231)]['suite']);for(const _0x50481c of _0x7d4aef){!_0x50481c['testAnalyticsId']&&(_0x50481c[_0xcc4780(0x1c2)]=_0x9e6a69['yBYGL'](uuidv4)),await this['sendTestRunEvent'](_0x50481c,undefined,![],_0x9e6a69[_0xcc4780(0x1d8)]);}}}catch(_0x5d5fb4){_0x9e6a69[_0xcc4780(0x28c)](debug,_0xcc4780(0x1dc)+_0x5d5fb4);}await requestQueueHandler[_0xcc4780(0x1ca)](),_0x9e6a69[_0xcc4780(0x296)](this[_0xcc4780(0x268)],_0x9e6a69[_0xcc4780(0x20b)])&&Base[_0xcc4780(0x283)](this[_0xcc4780(0x23b)]);});if(this[_0x4a6897(0x268)]&&![_0x9e6a69['gNuHE'],_0x9e6a69[_0x4a6897(0x248)],_0x9e6a69['WeZtm'],_0x9e6a69[_0x4a6897(0x223)]][_0x4a6897(0x1cb)](this['type'])){const _0x1c5b06=this[_0x4a6897(0x268)][_0x4a6897(0x1e5)]();this[_0x4a6897(0x286)]=null;try{this[_0x4a6897(0x286)]=_0x9e6a69[_0x4a6897(0x23c)](requireModule,'mocha/lib/reporters/'+_0x1c5b06+_0x4a6897(0x24a),_0x9e6a69[_0x4a6897(0x1cf)]);}catch(_0x2825dc){_0x9e6a69[_0x4a6897(0x25a)](debug,_0x4a6897(0x27f)+_0x2825dc);}if(_0x9e6a69['iUOES'](this['Reporter'],null))try{this[_0x4a6897(0x286)]=_0x9e6a69[_0x4a6897(0x27e)](require,_0x1c5b06);}catch(_0x28b45c){console['error']('Failed\x20to\x20load\x20reporter\x20'+_0x1c5b06);}if(_0x9e6a69[_0x4a6897(0x18e)](this[_0x4a6897(0x286)],null)){const _0x15ac19={};_0x15ac19['reporterOptions']=_0x51b925[_0x4a6897(0x16f)],this[_0x4a6897(0x286)]=new this[(_0x4a6897(0x286))](_0x43fecf,_0x15ac19);}}}[a27_0x1505ba(0x1d9)](){const _0x45864a=a27_0x1505ba,_0x34a477={'AhPKv':function(_0x260454,_0x459484){return _0x260454(_0x459484);}};return _0x34a477[_0x45864a(0x1ee)](Array,this['_indents'])[_0x45864a(0x236)]('\x20\x20');}[a27_0x1505ba(0x218)](){this['_indents']++;}['decreaseIndent'](){this['_indents']--;}[a27_0x1505ba(0x261)](_0x298e0d){const _0x5aa425=a27_0x1505ba;this[_0x5aa425(0x23b)]+=_0x298e0d;}[a27_0x1505ba(0x25b)](_0x3ee366,_0xc3e7d2){const _0x32f501=a27_0x1505ba,_0x5e5507={'fhkqB':function(_0x35f01a,_0x3f4f8e){return _0x35f01a(_0x3f4f8e);}},_0x27d191={};_0x27d191[_0x32f501(0x191)]=_0x3ee366,_0x27d191[_0x32f501(0x1b9)]=this[_0x32f501(0x216)],_0x5e5507[_0x32f501(0x242)](_0xc3e7d2,_0x27d191);}[a27_0x1505ba(0x26a)](){const _0x233c5c=a27_0x1505ba;process[_0x233c5c(0x290)]('bs:addLog:'+process['pid']),process['on'](_0x233c5c(0x247)+process[_0x233c5c(0x198)],this[_0x233c5c(0x176)][_0x233c5c(0x17e)](this)),process[_0x233c5c(0x290)](_0x233c5c(0x24b)+process[_0x233c5c(0x198)]),process['on']('bs:addPlatformDetails:'+process[_0x233c5c(0x198)],this[_0x233c5c(0x174)]['bind'](this));}['testStarted']=async _0x59613f=>{const _0x2eed59=a27_0x1505ba,_0x48453c={'NtNZA':function(_0x310ebe){return _0x310ebe();},'inMci':function(_0x14fb01,_0x5bfea9){return _0x14fb01>_0x5bfea9;},'JmyQC':function(_0x3018b7,_0x28dcc3){return _0x3018b7===_0x28dcc3;},'IwtSb':_0x2eed59(0x1b2),'VllbL':function(_0x348eda,_0x478ff1){return _0x348eda(_0x478ff1);}};try{const _0x3df02e=this[_0x2eed59(0x1a3)];this[_0x2eed59(0x1a3)]=_0x59613f,_0x59613f[_0x2eed59(0x1da)]=null,_0x59613f['testAnalyticsId']=_0x48453c[_0x2eed59(0x1b8)](uuidv4),_0x59613f[_0x2eed59(0x1e9)]=new Date()['toISOString'](),_0x48453c[_0x2eed59(0x1e8)](_0x59613f['_currentRetry'],0x0)&&_0x3df02e&&_0x48453c[_0x2eed59(0x205)](_0x3df02e['title'],_0x59613f['title'])?(_0x59613f['retryOf']=_0x3df02e[_0x2eed59(0x1c2)],await this[_0x2eed59(0x1ae)](_0x59613f,undefined,![],_0x48453c[_0x2eed59(0x20c)]),_0x3df02e[_0x2eed59(0x243)]=STATE_FAILED,await this[_0x2eed59(0x1ae)](_0x3df02e,undefined,!![])):await this[_0x2eed59(0x1ae)](_0x59613f,undefined,![],_0x48453c[_0x2eed59(0x20c)]);}catch(_0x2ff0d6){_0x48453c[_0x2eed59(0x18b)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x2ff0d6);}};[a27_0x1505ba(0x1ae)]=async(_0x4382fb,_0xad6eb2=undefined,_0xcf0585=![],_0x3d0b02=a27_0x1505ba(0x20e))=>{const _0x281f0f=a27_0x1505ba,_0x1ac8c1={'eFhVx':function(_0x10f0ee,_0x5012cc){return _0x10f0ee===_0x5012cc;},'SZqmJ':function(_0x76521d,_0x1141e4){return _0x76521d!==_0x1141e4;},'nJqnT':_0x281f0f(0x256),'HGqco':_0x281f0f(0x221),'bofZa':function(_0x40e313,_0x4595b0){return _0x40e313!==_0x4595b0;},'ULbgU':'File\x20path\x20could\x20not\x20be\x20found','PmBii':_0x281f0f(0x27b),'UCXlF':_0x281f0f(0x253),'ouSnp':function(_0x2dd05d,_0x5097c7){return _0x2dd05d===_0x5097c7;},'sjMAW':_0x281f0f(0x28f),'sJeAE':_0x281f0f(0x24e),'dasqj':function(_0x56bf70,_0x444ac5){return _0x56bf70-_0x444ac5;},'taMQT':_0x281f0f(0x1a2),'MLIAX':'UnhandledError','fDoxp':_0x281f0f(0x1e9),'AHYZY':_0x281f0f(0x1f8),'PJSCb':function(_0x4e39a1,_0x21085d){return _0x4e39a1(_0x21085d);},'gZELX':function(_0x31b454,_0x2e93b2){return _0x31b454===_0x2e93b2;},'lILsT':'HookRunFinished','FAawJ':function(_0x316be0,_0xb5d15f){return _0x316be0!==_0xb5d15f;},'qxQQZ':'failed','SaXah':_0x281f0f(0x25d),'HwnRy':function(_0x1cd22b,_0xce263f){return _0x1cd22b===_0xce263f;},'ViWHr':_0x281f0f(0x270),'ZRQyQ':function(_0x6a86a5,_0xa1b4a7){return _0x6a86a5(_0xa1b4a7);},'QEFXt':_0x281f0f(0x28b),'bvoTX':'failure_backtrace','LGxrT':_0x281f0f(0x28e),'wUpsv':_0x281f0f(0x1dd),'jazbn':_0x281f0f(0x1c7),'BdFjv':'TestRunFinished','PCXpB':function(_0x41ae34,_0x4ff9fa){return _0x41ae34(_0x4ff9fa);},'IiKOc':function(_0x3c209d,_0x296e1b){return _0x3c209d===_0x296e1b;},'esIYV':_0x281f0f(0x17b),'fhTLr':'hook_run','aEMJO':_0x281f0f(0x29c)};try{if(_0x4382fb['body']&&_0x4382fb[_0x281f0f(0x184)]['match'](/browserstack internal helper hook/))return;let _0x3e4b50=[];if(_0x1ac8c1[_0x281f0f(0x265)](_0x4382fb['state'],STATE_FAILED)){if(_0x1ac8c1[_0x281f0f(0x24f)](_0x4382fb[_0x281f0f(0x221)],undefined))_0x3e4b50=_0x4382fb[_0x281f0f(0x221)][_0x281f0f(0x17c)]?[_0x4382fb[_0x281f0f(0x221)][_0x281f0f(0x17c)],_0x1ac8c1[_0x281f0f(0x1df)]]:[_0x4382fb[_0x281f0f(0x221)],_0x1ac8c1[_0x281f0f(0x1ac)]];else _0x1ac8c1[_0x281f0f(0x1ed)](_0xad6eb2,undefined)?_0x3e4b50=[_0xad6eb2,_0x1ac8c1[_0x281f0f(0x1ac)]]:_0x3e4b50=[];}const _0x15020e=_0x1ac8c1['SZqmJ'](_0x4382fb[_0x281f0f(0x221)],undefined)?_0x4382fb[_0x281f0f(0x221)][_0x281f0f(0x1e2)]():_0x1ac8c1[_0x281f0f(0x24f)](_0xad6eb2,undefined)?_0xad6eb2[_0x281f0f(0x1e2)]():undefined;let _0x55c5e4;try{_0x55c5e4=this[_0x281f0f(0x21e)](_0x4382fb);}catch(_0x4c60df){_0x55c5e4=null;}const _0x29d651=_0x55c5e4?this['findGitConfig'](_0x55c5e4):null,_0x2f63eb=_0x55c5e4?this['_paths'][_0x281f0f(0x293)](this[_0x281f0f(0x21e)](_0x4382fb)):_0x1ac8c1[_0x281f0f(0x24c)],_0x43df23={'framework':_0x1ac8c1[_0x281f0f(0x1ba)],'uuid':_0x4382fb['testAnalyticsId']||_0x4382fb[_0x281f0f(0x282)],'name':_0x4382fb[_0x281f0f(0x1af)],'body':{'lang':_0x1ac8c1[_0x281f0f(0x209)],'code':_0x4382fb[_0x281f0f(0x184)]},'scope':this[_0x281f0f(0x26d)](_0x4382fb),'scopes':this[_0x281f0f(0x1a0)](_0x4382fb),'identifier':_0x4382fb[_0x281f0f(0x225)](),'file_name':_0x2f63eb,'vc_filepath':_0x29d651?path[_0x281f0f(0x246)](_0x29d651,_0x55c5e4):null,'location':_0x2f63eb,'result':_0x1ac8c1[_0x281f0f(0x262)](_0x3d0b02,_0x1ac8c1[_0x281f0f(0x214)])?_0x1ac8c1[_0x281f0f(0x17f)]:this[_0x281f0f(0x182)](_0x4382fb['state']),'failure_reason':_0x15020e,'duration_in_ms':_0x4382fb[_0x281f0f(0x1ab)]||(_0x3d0b02['match'](/Finished/)||_0x3d0b02[_0x281f0f(0x245)](/Skipped/)?_0x1ac8c1[_0x281f0f(0x22c)](Date[_0x281f0f(0x289)](),new Date(_0x4382fb[_0x281f0f(0x1e9)])[_0x281f0f(0x230)]()):null),'started_at':_0x4382fb[_0x281f0f(0x1e9)],'finished_at':_0x3d0b02[_0x281f0f(0x245)](/Finished/)||_0x3d0b02[_0x281f0f(0x245)](/Skipped/)?new Date()[_0x281f0f(0x269)]():null,'failure':failureData['apply'](null,_0x3e4b50),'failure_type':!_0x15020e?null:_0x15020e[_0x281f0f(0x245)](/AssertionError/)?_0x1ac8c1['taMQT']:_0x1ac8c1[_0x281f0f(0x237)],'retry_of':_0x4382fb[_0x281f0f(0x1da)]};testhubUtils[_0x281f0f(0x1a9)](_0x43df23,_0x3d0b02,_0x4382fb,FRAMEWORKS[_0x281f0f(0x297)]);(_0x4382fb['responseCode']||_0x4382fb[_0x281f0f(0x1fe)])&&centralScannerUtils[_0x281f0f(0x1f4)](_0x43df23,_0x4382fb[_0x281f0f(0x1e1)],_0x4382fb[_0x281f0f(0x1fe)]);_0x1ac8c1[_0x281f0f(0x265)](_0x3d0b02,_0x1ac8c1[_0x281f0f(0x214)])&&!_0x43df23[_0x1ac8c1[_0x281f0f(0x17d)]]&&(_0x43df23[_0x1ac8c1[_0x281f0f(0x17d)]]=_0x43df23[_0x1ac8c1[_0x281f0f(0x172)]]);if(_0x3d0b02['match'](/HookRun/))[_0x43df23[_0x281f0f(0x17b)],_0x43df23['name']]=_0x1ac8c1[_0x281f0f(0x244)](getHookDetails,_0x4382fb[_0x281f0f(0x225)]()||_0x4382fb[_0x281f0f(0x19d)]||_0x4382fb[_0x281f0f(0x1af)]),_0x1ac8c1[_0x281f0f(0x224)](_0x3d0b02,_0x1ac8c1[_0x281f0f(0x1d2)])&&(_0x1ac8c1[_0x281f0f(0x299)](_0x43df23[_0x281f0f(0x196)],_0x1ac8c1[_0x281f0f(0x1f0)])&&(_0x43df23[_0x281f0f(0x196)]=_0x1ac8c1[_0x281f0f(0x272)]),_0x1ac8c1[_0x281f0f(0x186)](_0x43df23[_0x281f0f(0x17b)],_0x1ac8c1[_0x281f0f(0x278)])&&_0x1ac8c1[_0x281f0f(0x224)](_0x43df23[_0x281f0f(0x196)],_0x1ac8c1[_0x281f0f(0x1f0)])&&!_0x4382fb['ctx'][_0x281f0f(0x18f)]['markedStatus']&&(_0x4382fb['ctx'][_0x281f0f(0x18f)][_0x281f0f(0x1ef)]=!![],_0x4382fb['ctx']['currentTest'][_0x281f0f(0x243)]=STATE_FAILED,await this[_0x281f0f(0x1ae)](_0x4382fb['ctx'][_0x281f0f(0x18f)],undefined,!![])));else _0x3d0b02['match'](/TestRun/)&&_0x1ac8c1[_0x281f0f(0x206)](mapTestHooks,_0x4382fb);const _0x3a4761=_0x43df23[_0x1ac8c1[_0x281f0f(0x1c1)]][0x0];_0x3a4761&&(_0x43df23[_0x1ac8c1[_0x281f0f(0x1b7)]]=_0x3a4761[_0x1ac8c1['LGxrT']],_0x43df23[_0x1ac8c1[_0x281f0f(0x200)]]=_0x3a4761[_0x1ac8c1['jazbn']]);[_0x1ac8c1['BdFjv'],_0x1ac8c1[_0x281f0f(0x214)]]['includes'](_0x3d0b02)&&(this[_0x281f0f(0x1c0)][_0x281f0f(0x1f5)](_0x43df23),_0x43df23['hooks']=_0x1ac8c1[_0x281f0f(0x1fb)](getHooksForTest,_0x4382fb));const _0x1f9bbe={'event_type':_0x1ac8c1[_0x281f0f(0x199)](_0x3d0b02,_0x1ac8c1[_0x281f0f(0x214)])?_0x1ac8c1[_0x281f0f(0x1be)]:_0x3d0b02};_0x3d0b02[_0x281f0f(0x245)](/HookRun/)?(_0x43df23[_0x1ac8c1[_0x281f0f(0x23a)]]=HOOK_TYPES_MAP[_0x43df23[_0x1ac8c1['esIYV']]],_0x1f9bbe[_0x1ac8c1['fhTLr']]=_0x43df23):_0x1f9bbe[_0x1ac8c1['aEMJO']]=_0x43df23,testhubUtils[_0x281f0f(0x189)](FRAMEWORKS[_0x281f0f(0x297)],_0x1f9bbe),await SessionHandler[_0x281f0f(0x1e3)](_0x1f9bbe);}catch(_0x5793e1){_0x1ac8c1[_0x281f0f(0x206)](debug,_0x281f0f(0x281)+_0x3d0b02+'\x20with\x20error\x20:\x20'+_0x5793e1);}};[a27_0x1505ba(0x192)](_0x561370){const _0x28ede1=a27_0x1505ba,_0x51e2b1={};_0x51e2b1[_0x28ede1(0x23f)]=function(_0x1bd4b6,_0x668d9f){return _0x1bd4b6===_0x668d9f;},_0x51e2b1[_0x28ede1(0x1d6)]=function(_0x1a80b5,_0x3cf6f0){return _0x1a80b5===_0x3cf6f0;},_0x51e2b1[_0x28ede1(0x24d)]=function(_0x3d09ca,_0x3c8559){return _0x3d09ca===_0x3c8559;},_0x51e2b1[_0x28ede1(0x295)]='.git',_0x51e2b1[_0x28ede1(0x260)]=_0x28ede1(0x211);const _0x53eeac=_0x51e2b1,_0x18c898=path[_0x28ede1(0x254)];if(_0x53eeac[_0x28ede1(0x23f)](_0x561370,null)||_0x53eeac[_0x28ede1(0x1d6)](_0x561370,'')||_0x53eeac[_0x28ede1(0x23f)](_0x561370,_0x18c898)||_0x53eeac['PpLEL'](_0x561370,path['dirname'](_0x561370)))return null;try{return fs[_0x28ede1(0x28a)](path[_0x28ede1(0x236)](_0x561370,_0x53eeac[_0x28ede1(0x295)],_0x53eeac[_0x28ede1(0x260)])),_0x561370;}catch(_0x143ff3){const _0x3541d7=path[_0x28ede1(0x251)](_0x561370);return this[_0x28ede1(0x192)](_0x3541d7);}}[a27_0x1505ba(0x176)]=async _0x51a100=>{const _0x155b4e=a27_0x1505ba,_0x3808e7={'kPtNp':_0x155b4e(0x27c),'yeZJA':function(_0x29df49,_0x24dd41){return _0x29df49(_0x24dd41);}};try{this[_0x155b4e(0x193)]&&!this[_0x155b4e(0x193)][_0x155b4e(0x1ef)]&&(_0x51a100[_0x155b4e(0x240)]=this[_0x155b4e(0x193)][_0x155b4e(0x282)]);!_0x51a100['hook_run_uuid']&&this[_0x155b4e(0x1a3)]&&!this[_0x155b4e(0x1a3)][_0x155b4e(0x1ef)]&&(_0x51a100[_0x155b4e(0x26c)]=this['current_test'][_0x155b4e(0x1c2)]);if(_0x51a100[_0x155b4e(0x240)]||_0x51a100[_0x155b4e(0x26c)]){const _0x40f77c={};_0x40f77c[_0x155b4e(0x1c3)]=_0x3808e7[_0x155b4e(0x1f3)],_0x40f77c[_0x155b4e(0x266)]=[_0x51a100],await SessionHandler[_0x155b4e(0x1e3)](_0x40f77c);}}catch(_0x202ef6){_0x3808e7[_0x155b4e(0x1d0)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x202ef6);}};[a27_0x1505ba(0x174)]=async _0x15d2a6=>{const _0x50b7a4=a27_0x1505ba,_0x1bf3f6={'VDGBS':_0x50b7a4(0x1d7),'Xcmpa':_0x50b7a4(0x275),'KfYOS':function(_0x2985b4,_0x38127e){return _0x2985b4(_0x38127e);}};try{const _0x48205a={};_0x48205a[_0x50b7a4(0x1c5)]=_0x15d2a6[_0x50b7a4(0x1c5)]||this[_0x50b7a4(0x1a3)][_0x50b7a4(0x1c2)],_0x48205a[_0x50b7a4(0x22f)]=_0x15d2a6[_0x1bf3f6['VDGBS']];const _0x3631e2=_0x48205a,_0x294b33={};_0x294b33[_0x50b7a4(0x1c3)]=_0x1bf3f6[_0x50b7a4(0x26f)],_0x294b33['test_run']=_0x3631e2,await SessionHandler[_0x50b7a4(0x1e3)](_0x294b33);}catch(_0x2d7421){_0x1bf3f6[_0x50b7a4(0x287)](debug,_0x50b7a4(0x195)+_0x2d7421);}};['analyticsResult'](_0x55213d){const _0x5d1503=a27_0x1505ba,_0x3d19f1={};_0x3d19f1[_0x5d1503(0x201)]='passed',_0x3d19f1[_0x5d1503(0x257)]=_0x5d1503(0x292),_0x3d19f1[_0x5d1503(0x20f)]=_0x5d1503(0x228);const _0x16f25f=_0x3d19f1,_0x511b9f={};return _0x511b9f[STATE_PASSED]=_0x16f25f['PNllr'],_0x511b9f[STATE_PENDING]=_0x16f25f[_0x5d1503(0x257)],_0x511b9f[STATE_FAILED]=_0x16f25f[_0x5d1503(0x20f)],_0x511b9f[_0x55213d];}[a27_0x1505ba(0x26d)](_0x2f67f6){const _0x47b946=a27_0x1505ba,_0x4c34f7={};_0x4c34f7[_0x47b946(0x202)]=function(_0x25c42c,_0x32f978){return _0x25c42c-_0x32f978;};const _0x13e5c4=_0x4c34f7,_0x302f1b=_0x2f67f6[_0x47b946(0x19c)]();return _0x302f1b[_0x47b946(0x1a1)](0x0,_0x13e5c4[_0x47b946(0x202)](_0x302f1b['length'],0x1))[_0x47b946(0x236)]('\x20');}[a27_0x1505ba(0x1a0)](_0x4ac2b9){const _0x59422f=a27_0x1505ba,_0x301a52={};_0x301a52[_0x59422f(0x28d)]=function(_0x367c39,_0x45432d){return _0x367c39-_0x45432d;};const _0x19d8dd=_0x301a52,_0x3c6098=_0x4ac2b9[_0x59422f(0x19c)]();return _0x3c6098['slice'](0x0,_0x19d8dd[_0x59422f(0x28d)](_0x3c6098[_0x59422f(0x249)],0x1));}['getRootParentFile'](_0x27c376){const _0x1ad942=a27_0x1505ba,_0x3a7bf1={};_0x3a7bf1[_0x1ad942(0x217)]=function(_0x5a02c7,_0x37144f){return _0x5a02c7>_0x37144f;};const _0x3ef2ad=_0x3a7bf1;if(_0x27c376[_0x1ad942(0x19e)])return _0x27c376['file'];if(_0x27c376['ctx']){const _0x4f1084=_0x27c376[_0x1ad942(0x1e0)][_0x1ad942(0x18f)]?this['getRootParentFile'](_0x27c376[_0x1ad942(0x1e0)][_0x1ad942(0x18f)]):null;if(_0x4f1084)return _0x4f1084;}if(_0x27c376[_0x1ad942(0x21d)]){const _0x3d751c=this[_0x1ad942(0x21e)](_0x27c376['parent'])||(_0x27c376[_0x1ad942(0x21d)][_0x1ad942(0x1e0)]&&_0x27c376[_0x1ad942(0x21d)]['ctx']['currentTest']?this['getRootParentFile'](_0x27c376[_0x1ad942(0x21d)][_0x1ad942(0x1e0)][_0x1ad942(0x18f)]):null);if(_0x3d751c)return _0x3d751c;_0x27c376[_0x1ad942(0x21d)][_0x1ad942(0x18d)]&&_0x3ef2ad[_0x1ad942(0x217)](_0x27c376[_0x1ad942(0x21d)]['suites'][_0x1ad942(0x249)],0x0)&&_0x27c376['parent'][_0x1ad942(0x18d)][_0x1ad942(0x234)](_0x4925f3=>{const _0x2f712d=_0x1ad942,_0x2f6fc1=_0x4925f3['ctx']?this[_0x2f712d(0x21e)](_0x4925f3[_0x2f712d(0x1e0)]):null;if(_0x2f6fc1)return _0x2f6fc1;});}return null;}}module['exports']=MyReporter;
1
+ 'use strict';const a27_0x273b0a=a27_0x2ec6;function a27_0x18b2(){const _0x590637=['flEpo','integrations','mocha/lib/runnable.js','_currentRetry','PbxhV','test','jngho','failure','TestRunFinished','.js','bsConfig','test_run_uuid','originalTitle','forEach','yoIHf','begVj','</code></pre></dd>','findGitConfig','WPIeV','dot','34407876jnwwoS','light','consoleLog','MOCHA','DBRtA','lmFmJ','uploadEventData','type','ZfTOy','reporterOption','11XIjUno','constants','match','apply','prefixTestPath','registerListeners','hookAnalyticsId','multiple','mocha','GFpFo','state','AFTER_EACH','naojp','XCcpZ','Reporter','getTime','reporterOptions','\x20\x20<dt\x20class=\x22error\x22>','<section\x20class=\x22suite\x22>','mOhDd','LHaTL','event_type','HookRunFinished','AFTER_ALL','started_at','UxEpz','HookRunStarted','trim','hook_type','result','retryOf','speed','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','passed','SKSIc','config','yLmvR','Runner','done','3348AIqDqn','appendTestItemLog','LjVlV','title','_indents','gJRRh','zeKgN','wfjwM','UnhandledError','toString','xunit','_buildCreated','suites','\x20\x20<dd><pre><code>','qzHUJ','__indents','ONCxQ','ghTVP','getRootParentFile','after\x20each','TestRunSkipped','bright\x20yellow','prototype','failed','testStarted','ikZjU','statSync','finalResults','_testResults','symbols','clean','%s\x20','BhLIW','nZSip','appendTesthubParams','skipped','_testEnv','CWjSM','Mocha','hooks','analyticsResult','bs:addLog:','../../../helpers/central-scanner/helpers','results','iBqlY','write','.git','shouldProcessEventForTesthub','error','fTJNz','spec','\x20-\x20','TestRunStarted','YuWin','epbVR','fXkgs','JlbhA','HWpcy','test_run','indent','URkfJ','call','root','../../../helpers/test-observability/utils','VrnUl','yFVlv','EVENT','COMPLETED','cwd','push','cKTSM','119MtZHTx','WcuHC','__platform__','\x20\x20<dt>','XfYEY','QJAPG','2559TUirLQ','ZKuOc','346088TcLINR','CxWjm','MxcFD','OEmvs','2225382NWMNlR','BbarM','backtrace','logs','ASyoS','now','includes','3620NztsGP','suite','duration','\x20\x20<dd\x20class=\x22error\x22>','uweYJ','VkrqM','wsRDs','FfbzC','wiIgn','toISOString','TWWuQ','markedStatus','docHtml','current_test','BEFORE_ALL','QYwRZ','AssertionError','bs:addPlatformDetails:','green','FQGFy','hook_run_uuid','expanded','removeAllListeners','tghmr','EVdpL','../../../helpers/testhub/constants','RTHGW','</dt>','testAnalyticsId','26yROoDG','zLUdQ','inspect','ILHxF','<dl>','http_response','failCount','setCurrentTestData','sixpf','scope','HpYZD','\x20\x20%d)\x20%s','100169yFJIJe','ebmli','../../../helpers/test-observability/requestQueueHandler','MtHVl','file','cbTzi','testObservability','mocha/lib/reporters/','GfOUX','%s\x20-\x20%s','bind','HookFinished','Failed\x20to\x20load\x20reporter\x20','QEImZ','</section>','\x20(%dms)','NMqtd','docAppend','msBYi','mocha/lib/reporters/base.js','pCfQr','shutdown','PpNHZ','14211UonnXf','mIaHp','\x20\x20<dd\x20class=\x22error\x22><pre><code>','../../../helpers/test-observability/sessionHandler','BApzB','mocha/lib/utils.js','currentRetry','current_hook','name','util','_upstreamConfig','AuZrf','titlePath','increaseIndent','pYpHr','fullTitle','exports','5622435uitVeK','sendTestRunEvent','ctx','once','appendTestPlatform','fail','color','currentTest','JtXXi','setCentralScannerData','split','rtREA','TBLVA','escape','decreaseIndent','fast','scopes','tFDVl','../test-observability/mochaUtils','pending','responseCode','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','hook_run','sRKug','failureCount','slice','before\x20each','doc','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','failure_backtrace','TICRg','parent','yyQOS','2|4|0|3|1','</dl>','uuid','javascript','stdout','_paths','MdlUU','sep','err','nlSoy','</h1>','pid','btATJ','kgkMm','body','join','xjxjn','../../../helpers/helper','checkmark','DVJeR','MVYxR','relative','HookStarted','getInstance','nVKbV','BUveJ','length','CBTSessionCreated','WAmgF','<h1>','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','elgHT','jAVok','PlsJx','HaojK','ZTDKy'];a27_0x18b2=function(){return _0x590637;};return a27_0x18b2();}(function(_0x41965f,_0x2ef010){const _0x2fcb8d=a27_0x2ec6,_0x1b26e2=_0x41965f();while(!![]){try{const _0x56adb0=-parseInt(_0x2fcb8d(0x1fc))/0x1*(-parseInt(_0x2fcb8d(0x1f0))/0x2)+parseInt(_0x2fcb8d(0x1c6))/0x3*(-parseInt(_0x2fcb8d(0x179))/0x4)+-parseInt(_0x2fcb8d(0x224))/0x5+-parseInt(_0x2fcb8d(0x1cc))/0x6+-parseInt(_0x2fcb8d(0x1c0))/0x7*(parseInt(_0x2fcb8d(0x1c8))/0x8)+-parseInt(_0x2fcb8d(0x213))/0x9*(parseInt(_0x2fcb8d(0x1d3))/0xa)+-parseInt(_0x2fcb8d(0x152))/0xb*(-parseInt(_0x2fcb8d(0x148))/0xc);if(_0x56adb0===_0x2ef010)break;else _0x1b26e2['push'](_0x1b26e2['shift']());}catch(_0x4a53a4){_0x1b26e2['push'](_0x1b26e2['shift']());}}}(a27_0x18b2,0x9f754));const util=require(a27_0x273b0a(0x21c)),fs=require('fs'),path=require('path'),{requireModule}=require('../../../helpers/helper'),Base=requireModule(a27_0x273b0a(0x20f),a27_0x273b0a(0x15a)),utils=requireModule(a27_0x273b0a(0x218),a27_0x273b0a(0x15a)),color=Base[a27_0x273b0a(0x22a)],Mocha=requireModule('mocha'),Runnable=requireModule(a27_0x273b0a(0x136),'mocha'),{v4:uuidv4}=require(a27_0x273b0a(0x247)),bsSetupHelper=require(a27_0x273b0a(0x256)),testhubUtils=require('../../../helpers/testhub/utils'),centralScannerUtils=require(a27_0x273b0a(0x1a3)),testHubConstants=require(a27_0x273b0a(0x1ec)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),a27_0x52b96f={};a27_0x52b96f['before\x20all']=a27_0x273b0a(0x1e1),a27_0x52b96f['after\x20all']=a27_0x273b0a(0x169),a27_0x52b96f[a27_0x273b0a(0x23e)]='BEFORE_EACH',a27_0x52b96f[a27_0x273b0a(0x18c)]=a27_0x273b0a(0x15d);function a27_0x2ec6(_0x4c6492,_0x19729e){const _0x18b2ce=a27_0x18b2();return a27_0x2ec6=function(_0x2ec604,_0x4fd46f){_0x2ec604=_0x2ec604-0x127;let _0x5785e1=_0x18b2ce[_0x2ec604];return _0x5785e1;},a27_0x2ec6(_0x4c6492,_0x19729e);}const HOOK_TYPES_MAP=a27_0x52b96f,{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_0x273b0a(0x177)][a27_0x273b0a(0x153)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable['constants'],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x273b0a(0x236)),{consoleHolder}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a27_0x273b0a(0x216)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x273b0a(0x1b8)),RequestQueueHandler=require(a27_0x273b0a(0x1fe)),requestQueueHandler=RequestQueueHandler[a27_0x273b0a(0x127)]();class MyReporter{constructor(_0x587dba,_0x15e394){const _0x195e8c=a27_0x273b0a,_0x35b5d3={'wiIgn':function(_0x4afb4d,_0x2e31e3){return _0x4afb4d===_0x2e31e3;},'fTJNz':_0x195e8c(0x1ab),'ebmli':function(_0x5d69df,_0x3d680a){return _0x5d69df===_0x3d680a;},'LHaTL':function(_0x15e027,_0x4f5790){return _0x15e027+_0x4f5790;},'rreVZ':function(_0x52cf96,_0x2ffaec,_0x1c913c){return _0x52cf96(_0x2ffaec,_0x1c913c);},'jngho':_0x195e8c(0x1e5),'kgkMm':_0x195e8c(0x198),'XCcpZ':function(_0x2ba1c6,_0xf042f9,_0x4b53b1){return _0x2ba1c6(_0xf042f9,_0x4b53b1);},'YuWin':_0x195e8c(0x149),'xjxjn':_0x195e8c(0x205),'gJRRh':'RUNNING','iBqlY':function(_0x2bfae2,_0x1d7a31){return _0x2bfae2===_0x1d7a31;},'ikZjU':_0x195e8c(0x23f),'JlbhA':function(_0x64d015,_0x2ad2f7){return _0x64d015===_0x2ad2f7;},'nZSip':function(_0x7aebb8){return _0x7aebb8();},'begVj':function(_0xf7e545){return _0xf7e545();},'BUveJ':_0x195e8c(0x16c),'FQGFy':function(_0xabc4de,_0xb30a34){return _0xabc4de===_0xb30a34;},'flEpo':_0x195e8c(0x168),'SFNcL':_0x195e8c(0x173),'BxKKx':function(_0x370622,_0x372e25){return _0x370622===_0x372e25;},'TBLVA':_0x195e8c(0x233),'MVYxR':function(_0x2019cd,_0x511bd6){return _0x2019cd+_0x511bd6;},'HaojK':function(_0x138ee2,_0x3625d2,_0x35ee67){return _0x138ee2(_0x3625d2,_0x35ee67);},'ZfTOy':_0x195e8c(0x257),'SKSIc':function(_0x4b542c,_0x48d4af){return _0x4b542c+_0x48d4af;},'BhLIW':function(_0x4c102a,_0xf0af7a,_0x582ea5){return _0x4c102a(_0xf0af7a,_0x582ea5);},'hvmgv':'pass','nlSoy':'\x20%s','qzHUJ':function(_0x2b24ac,_0x47888c){return _0x2b24ac+_0x47888c;},'lmFmJ':function(_0x4940a2,_0x3eedcf,_0x5b5147){return _0x4940a2(_0x3eedcf,_0x5b5147);},'llqSs':function(_0x4d6dc2,_0x29f599){return _0x4d6dc2+_0x29f599;},'DBRtA':_0x195e8c(0x20b),'sRKug':function(_0x385b8b,_0x5d9104){return _0x385b8b+_0x5d9104;},'pYpHr':function(_0x480269,_0x1b7f90,_0x58fb93){return _0x480269(_0x1b7f90,_0x58fb93);},'rtREA':_0x195e8c(0x229),'Nsqrw':_0x195e8c(0x1fb),'wvNpk':function(_0x318018,_0x420268){return _0x318018===_0x420268;},'GuYXw':function(_0x334766,_0x11e72b){return _0x334766+_0x11e72b;},'LjVlV':_0x195e8c(0x18e),'bEkcT':_0x195e8c(0x1bc),'PbxhV':function(_0x3dc444,_0x5b3dad){return _0x3dc444===_0x5b3dad;},'mOhDd':_0x195e8c(0x147),'DVJeR':'slow','mIaHp':function(_0x48aa71,_0x391bf5){return _0x48aa71===_0x391bf5;},'yFVlv':_0x195e8c(0x245),'yLmvR':function(_0x44baa9,_0x4ba2f5){return _0x44baa9===_0x4ba2f5;},'AuZrf':function(_0x176c76,_0x2e9b59){return _0x176c76===_0x2e9b59;},'ONCxQ':_0x195e8c(0x237),'ASyoS':function(_0xec7c1d,_0x280ab5){return _0xec7c1d===_0x280ab5;},'GfOUX':function(_0x85c455){return _0x85c455();},'EVdpL':_0x195e8c(0x18d),'RTHGW':function(_0x2e5e2f,_0x48c98e){return _0x2e5e2f===_0x48c98e;},'TICRg':function(_0x5d2c37,_0x3cd8d3){return _0x5d2c37===_0x3cd8d3;},'MdlUU':function(_0xc5539,_0x2fb66b){return _0xc5539(_0x2fb66b);},'ghTVP':function(_0x1da48a,_0x579aeb){return _0x1da48a===_0x579aeb;},'HiYSP':function(_0x2cf36e){return _0x2cf36e();},'OEmvs':function(_0x9cfea5){return _0x9cfea5();},'fXkgs':_0x195e8c(0x183),'msBYi':function(_0x49f38e,_0x28f164,_0x4eff68){return _0x49f38e(_0x28f164,_0x4eff68);},'wfjwM':_0x195e8c(0x15a),'HoSgk':function(_0x3d1f1d,_0x10d9c0){return _0x3d1f1d===_0x10d9c0;},'FOSWs':function(_0x10bf58,_0x29856c){return _0x10bf58(_0x29856c);},'nVKbV':function(_0x18b9ed,_0x390865){return _0x18b9ed!==_0x390865;}};this[_0x195e8c(0x14f)]=_0x15e394[_0x195e8c(0x151)][_0x195e8c(0x14f)],this[_0x195e8c(0x202)]=_0x35b5d3['HiYSP'](isTestObservabilitySession),Base[_0x195e8c(0x1b6)](this,_0x587dba,_0x15e394),this[_0x195e8c(0x17d)]=0x0,this['failCount']=0x0,this[_0x195e8c(0x1a4)]=[],this[_0x195e8c(0x194)]=[],this['suiteCount']=0x0,this[_0x195e8c(0x184)]=![],this[_0x195e8c(0x195)]=[],this[_0x195e8c(0x19d)]=_0x35b5d3[_0x195e8c(0x1cb)](getTestEnv),this[_0x195e8c(0x24a)]=new PathHelper({'cwd':process[_0x195e8c(0x1bd)]()},this[_0x195e8c(0x19d)]['location_prefix']),this[_0x195e8c(0x21d)]=_0x15e394[_0x195e8c(0x151)][_0x195e8c(0x13e)],this[_0x195e8c(0x157)]();_0x35b5d3[_0x195e8c(0x242)](this[_0x195e8c(0x14f)],_0x35b5d3[_0x195e8c(0x192)])&&(this[_0x195e8c(0x1df)]='',this['__indents']=0x2);_0x587dba[_0x195e8c(0x227)](EVENT_RUN_BEGIN,async()=>{const _0xc774bf=_0x195e8c;_0x35b5d3[_0xc774bf(0x1db)](this[_0xc774bf(0x14f)],_0x35b5d3[_0xc774bf(0x1aa)])&&Base[_0xc774bf(0x14a)]();})['on'](EVENT_SUITE_BEGIN,_0x1e2361=>{const _0x580b4a=_0x195e8c;if(_0x1e2361[_0x580b4a(0x1b7)])return;if(_0x35b5d3[_0x580b4a(0x1fd)](this['type'],_0x35b5d3['fTJNz']))this[_0x580b4a(0x220)](),Base[_0x580b4a(0x14a)](_0x35b5d3[_0x580b4a(0x166)](_0x35b5d3['LHaTL'](this[_0x580b4a(0x1b4)](),_0x35b5d3['rreVZ'](color,_0x35b5d3[_0x580b4a(0x13a)],_0x35b5d3[_0x580b4a(0x252)])),_0x35b5d3[_0x580b4a(0x15f)](color,_0x35b5d3[_0x580b4a(0x1ae)],_0x35b5d3[_0x580b4a(0x255)])),_0x35b5d3[_0x580b4a(0x17e)],_0x1e2361[_0x580b4a(0x17c)],global['__platform__']);else _0x35b5d3['iBqlY'](this[_0x580b4a(0x14f)],_0x35b5d3[_0x580b4a(0x192)])&&(this['docAppend'](this['indent']()+_0x580b4a(0x164)),++this[_0x580b4a(0x188)],this[_0x580b4a(0x20d)](this['indent']()+_0x580b4a(0x12d)+utils[_0x580b4a(0x231)](_0x1e2361[_0x580b4a(0x17c)]+_0x580b4a(0x1ac)+global[_0x580b4a(0x1c2)])+_0x580b4a(0x24f)),this[_0x580b4a(0x20d)](this[_0x580b4a(0x1b4)]()+_0x580b4a(0x1f4)));})['on'](EVENT_HOOK_BEGIN,async _0x1a519e=>{const _0x16e7bb=_0x195e8c;if(_0x35b5d3['JlbhA'](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x16e7bb(0x1bb)][_0x16e7bb(0x25b)]),!![])){if(!_0x1a519e[_0x16e7bb(0x158)])_0x1a519e['hookAnalyticsId']=_0x35b5d3['nZSip'](uuidv4);else _0x1a519e[_0x16e7bb(0x1de)]&&(_0x1a519e[_0x16e7bb(0x158)]=_0x35b5d3[_0x16e7bb(0x143)](uuidv4),delete _0x1a519e[_0x16e7bb(0x1de)]);_0x1a519e[_0x16e7bb(0x16a)]=new Date()[_0x16e7bb(0x1dc)](),this[_0x16e7bb(0x21a)]=_0x1a519e,await this['sendTestRunEvent'](_0x1a519e,undefined,![],_0x35b5d3[_0x16e7bb(0x129)]);}})['on'](EVENT_HOOK_END,async _0x5e0465=>{const _0x560c69=_0x195e8c;_0x35b5d3[_0x560c69(0x1e6)](testhubUtils[_0x560c69(0x1a8)](testHubConstants[_0x560c69(0x1bb)][_0x560c69(0x207)]),!![])&&(!_0x5e0465[_0x560c69(0x1de)]&&(_0x5e0465[_0x560c69(0x1de)]=!![],await this[_0x560c69(0x225)](_0x5e0465,undefined,![],_0x35b5d3[_0x560c69(0x134)])));})['on'](EVENT_SUITE_END,_0x2b6a0a=>{const _0x2e7ee9=_0x195e8c;if(_0x2b6a0a[_0x2e7ee9(0x1b7)])return;if(_0x35b5d3['wvNpk'](this[_0x2e7ee9(0x14f)],_0x35b5d3[_0x2e7ee9(0x1aa)]))Base[_0x2e7ee9(0x14a)](),Base[_0x2e7ee9(0x14a)](_0x35b5d3[_0x2e7ee9(0x166)](_0x35b5d3['GuYXw'](this[_0x2e7ee9(0x1b4)](),_0x35b5d3[_0x2e7ee9(0x199)](color,_0x35b5d3[_0x2e7ee9(0x17b)],_0x35b5d3[_0x2e7ee9(0x252)])),_0x35b5d3['lmFmJ'](color,_0x35b5d3[_0x2e7ee9(0x1ae)],_0x35b5d3[_0x2e7ee9(0x255)])),_0x35b5d3['bEkcT'],_0x2b6a0a[_0x2e7ee9(0x17c)],global[_0x2e7ee9(0x1c2)]),this[_0x2e7ee9(0x1a4)]['forEach'](_0x3125da=>{const _0x327e86=_0x2e7ee9;if(_0x35b5d3[_0x327e86(0x1a5)](_0x3125da[_0x327e86(0x15c)],_0x35b5d3['SFNcL'])){var _0x3bb25d;_0x35b5d3['BxKKx'](_0x3125da[_0x327e86(0x171)],_0x35b5d3[_0x327e86(0x230)])?(_0x3bb25d=_0x35b5d3['LHaTL'](_0x35b5d3[_0x327e86(0x259)](this[_0x327e86(0x1b4)](),_0x35b5d3[_0x327e86(0x132)](color,_0x35b5d3['ZfTOy'],_0x35b5d3[_0x327e86(0x174)]('\x20\x20',Base[_0x327e86(0x196)]['ok']))),_0x35b5d3[_0x327e86(0x199)](color,_0x35b5d3['hvmgv'],_0x35b5d3[_0x327e86(0x24e)])),Base['consoleLog'](_0x3bb25d,_0x3125da[_0x327e86(0x17c)])):(_0x3bb25d=_0x35b5d3[_0x327e86(0x174)](_0x35b5d3[_0x327e86(0x174)](_0x35b5d3[_0x327e86(0x187)](this[_0x327e86(0x1b4)](),_0x35b5d3[_0x327e86(0x14d)](color,_0x35b5d3[_0x327e86(0x150)],_0x35b5d3['llqSs']('\x20\x20',Base['symbols']['ok']))),_0x35b5d3[_0x327e86(0x14d)](color,_0x35b5d3['hvmgv'],_0x35b5d3[_0x327e86(0x24e)])),_0x35b5d3[_0x327e86(0x14d)](color,_0x3125da[_0x327e86(0x171)],_0x35b5d3[_0x327e86(0x14c)])),Base[_0x327e86(0x14a)](_0x3bb25d,_0x3125da[_0x327e86(0x17c)],_0x3125da[_0x327e86(0x1d5)]));}else Base[_0x327e86(0x14a)](_0x35b5d3[_0x327e86(0x23b)](this['indent'](),_0x35b5d3[_0x327e86(0x221)](color,_0x35b5d3['rtREA'],_0x35b5d3['Nsqrw'])),++this[_0x327e86(0x1f6)],_0x3125da[_0x327e86(0x17c)]);}),this[_0x2e7ee9(0x232)]();else _0x35b5d3[_0x2e7ee9(0x138)](this[_0x2e7ee9(0x14f)],_0x35b5d3['ikZjU'])&&(this['docAppend'](this[_0x2e7ee9(0x1b4)]()+_0x2e7ee9(0x246)),--this['__indents'],this[_0x2e7ee9(0x20d)](this[_0x2e7ee9(0x1b4)]()+_0x2e7ee9(0x20a)),--this['__indents']);Array[_0x2e7ee9(0x18f)][_0x2e7ee9(0x1be)]['apply'](this[_0x2e7ee9(0x194)],this[_0x2e7ee9(0x1a4)]),this[_0x2e7ee9(0x1a4)]=[];})['on'](EVENT_TEST_PASS,async _0x133bd8=>{const _0x2bdaac=_0x195e8c;this['results'][_0x2bdaac(0x1be)]({'speed':_0x133bd8['speed'],'suite':_0x133bd8[_0x2bdaac(0x243)][_0x2bdaac(0x17c)],'title':_0x133bd8['title'],'fullTitle':_0x133bd8[_0x2bdaac(0x222)](),'duration':_0x133bd8[_0x2bdaac(0x1d5)],'state':_0x133bd8[_0x2bdaac(0x15c)],'err':{},'currentRetry':_0x133bd8[_0x2bdaac(0x219)](),'titlePathV':_0x133bd8[_0x2bdaac(0x21f)](),'isPending':_0x133bd8['isPending']()});if(_0x35b5d3[_0x2bdaac(0x1b1)](this[_0x2bdaac(0x14f)],_0x35b5d3[_0x2bdaac(0x165)]))_0x35b5d3[_0x2bdaac(0x138)](_0x133bd8[_0x2bdaac(0x171)],_0x35b5d3[_0x2bdaac(0x258)])?process[_0x2bdaac(0x249)][_0x2bdaac(0x1a6)](Base[_0x2bdaac(0x22a)](_0x35b5d3[_0x2bdaac(0x17b)],Base[_0x2bdaac(0x196)][_0x2bdaac(0x147)])):process['stdout']['write'](Base[_0x2bdaac(0x22a)](_0x133bd8[_0x2bdaac(0x171)],Base[_0x2bdaac(0x196)]['dot']));else{if(_0x35b5d3[_0x2bdaac(0x1a5)](this[_0x2bdaac(0x14f)],_0x35b5d3[_0x2bdaac(0x192)])){this[_0x2bdaac(0x20d)](this['indent']()+_0x2bdaac(0x1c3)+utils[_0x2bdaac(0x231)](_0x133bd8['title'])+'</dt>'),this[_0x2bdaac(0x20d)](this[_0x2bdaac(0x1b4)]()+_0x2bdaac(0x1c3)+utils[_0x2bdaac(0x231)](_0x133bd8['file'])+'</dt>');var _0xe70b82=utils['escape'](utils[_0x2bdaac(0x197)](_0x133bd8['body']));this['docAppend'](this[_0x2bdaac(0x1b4)]()+_0x2bdaac(0x186)+_0xe70b82+_0x2bdaac(0x144));}}_0x35b5d3[_0x2bdaac(0x214)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x133bd8[_0x2bdaac(0x1de)]&&(_0x133bd8['markedStatus']=!![],await this[_0x2bdaac(0x225)](_0x133bd8)));})['on'](EVENT_TEST_FAIL,async(_0x4b5664,_0xb43b7b)=>{const _0x550318=_0x195e8c;this['results']['push']({'title':_0x4b5664['title'],'suite':_0x4b5664['parent']['title'],'state':_0x4b5664['state'],'err':{'message':util[_0x550318(0x1f2)](_0xb43b7b)},'fullTitle':_0x4b5664['fullTitle'](),'speed':_0x4b5664[_0x550318(0x171)],'currentRetry':_0x4b5664[_0x550318(0x219)](),'titlePathV':_0x4b5664[_0x550318(0x21f)]()});if(_0x35b5d3[_0x550318(0x1db)](this[_0x550318(0x14f)],_0x35b5d3[_0x550318(0x165)]))process[_0x550318(0x249)]['write'](Base[_0x550318(0x22a)](_0x35b5d3[_0x550318(0x22f)],Base['symbols']['bang']));else{if(_0x35b5d3['FQGFy'](this['type'],_0x35b5d3[_0x550318(0x192)])){const _0x43b196=_0x35b5d3[_0x550318(0x1ba)][_0x550318(0x22e)]('|');let _0x182f42=0x0;while(!![]){switch(_0x43b196[_0x182f42++]){case'0':var _0x4b46e3=utils[_0x550318(0x231)](utils[_0x550318(0x197)](_0x4b5664['body']));continue;case'1':this[_0x550318(0x20d)](this['indent']()+_0x550318(0x1d6)+utils['escape'](_0x4b5664['err'])+'</dd>');continue;case'2':this[_0x550318(0x20d)](this[_0x550318(0x1b4)]()+_0x550318(0x163)+utils[_0x550318(0x231)](_0x4b5664[_0x550318(0x17c)])+_0x550318(0x1ee));continue;case'3':this[_0x550318(0x20d)](this['indent']()+_0x550318(0x215)+_0x4b46e3+'</code></pre></dd>');continue;case'4':this[_0x550318(0x20d)](this[_0x550318(0x1b4)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x550318(0x231)](_0x4b5664[_0x550318(0x200)])+_0x550318(0x1ee));continue;}break;}}}if(_0x35b5d3[_0x550318(0x176)](testhubUtils[_0x550318(0x1a8)](testHubConstants['EVENT'][_0x550318(0x207)]),!![])){if(!_0x4b5664[_0x550318(0x1de)]){_0x4b5664['markedStatus']=!![];if(_0x4b5664['testAnalyticsId'])await this['sendTestRunEvent'](_0x4b5664,_0xb43b7b);else _0x4b5664[_0x550318(0x158)]&&await this[_0x550318(0x225)](_0x4b5664,_0xb43b7b,![],_0x35b5d3[_0x550318(0x134)]);}}})['on'](EVENT_TEST_PENDING,async _0x14aecd=>{const _0x25bf27=_0x195e8c;this['results'][_0x25bf27(0x1be)]({'title':_0x14aecd[_0x25bf27(0x17c)],'suite':_0x14aecd[_0x25bf27(0x243)][_0x25bf27(0x17c)],'state':_0x14aecd[_0x25bf27(0x15c)],'err':{},'fullTitle':_0x14aecd[_0x25bf27(0x222)](),'speed':_0x14aecd[_0x25bf27(0x171)],'currentRetry':_0x14aecd[_0x25bf27(0x219)](),'titlePathV':_0x14aecd[_0x25bf27(0x21f)]()}),_0x35b5d3[_0x25bf27(0x21e)](this[_0x25bf27(0x14f)],_0x35b5d3[_0x25bf27(0x165)])&&process[_0x25bf27(0x249)][_0x25bf27(0x1a6)](Base[_0x25bf27(0x22a)](_0x35b5d3[_0x25bf27(0x189)],Base['symbols']['comma'])),_0x35b5d3[_0x25bf27(0x1d0)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x14aecd[_0x25bf27(0x1ef)]&&(_0x14aecd[_0x25bf27(0x1ef)]=_0x35b5d3[_0x25bf27(0x204)](uuidv4)),!_0x14aecd[_0x25bf27(0x1de)]&&(_0x14aecd[_0x25bf27(0x1de)]=!![],await this['sendTestRunEvent'](_0x14aecd,undefined,![],_0x35b5d3[_0x25bf27(0x1eb)])));})['on'](EVENT_TEST_BEGIN,async _0x4ea41f=>{const _0x44e444=_0x195e8c;_0x35b5d3[_0x44e444(0x1ed)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&await this[_0x44e444(0x191)](_0x4ea41f);})['on'](EVENT_TEST_END,async _0x48c852=>{const _0x5923e0=_0x195e8c;_0x35b5d3[_0x5923e0(0x242)](testhubUtils[_0x5923e0(0x1a8)](),!![])&&(!_0x48c852[_0x5923e0(0x1de)]&&(_0x48c852['markedStatus']=!![],await this[_0x5923e0(0x225)](_0x48c852)));})[_0x195e8c(0x227)](EVENT_RUN_END,async()=>{const _0x284dd4=_0x195e8c;try{if(_0x35b5d3[_0x284dd4(0x1db)](testhubUtils[_0x284dd4(0x1a8)](),!![])){const _0x11d6bf=_0x35b5d3['MdlUU'](getHookSkippedTests,this['runner'][_0x284dd4(0x1d4)]);for(const _0x2450ce of _0x11d6bf){!_0x2450ce[_0x284dd4(0x1ef)]&&(_0x2450ce['testAnalyticsId']=_0x35b5d3[_0x284dd4(0x19a)](uuidv4)),await this[_0x284dd4(0x225)](_0x2450ce,undefined,![],_0x35b5d3['EVdpL']);}}}catch(_0x69ee44){_0x35b5d3[_0x284dd4(0x24b)](debug,_0x284dd4(0x240)+_0x69ee44);}await requestQueueHandler[_0x284dd4(0x211)](),_0x35b5d3[_0x284dd4(0x18a)](this[_0x284dd4(0x14f)],_0x35b5d3[_0x284dd4(0x192)])&&Base[_0x284dd4(0x14a)](this['docHtml']);});if(this['type']&&![_0x35b5d3[_0x195e8c(0x192)],_0x35b5d3[_0x195e8c(0x1b0)],_0x35b5d3[_0x195e8c(0x1aa)],_0x35b5d3[_0x195e8c(0x165)]]['includes'](this[_0x195e8c(0x14f)])){const _0x53844a=this['type'][_0x195e8c(0x16d)]();this['Reporter']=null;try{this[_0x195e8c(0x160)]=_0x35b5d3[_0x195e8c(0x20e)](requireModule,_0x195e8c(0x203)+_0x53844a+_0x195e8c(0x13d),_0x35b5d3[_0x195e8c(0x180)]);}catch(_0x354cc5){_0x35b5d3[_0x195e8c(0x24b)](debug,'Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20'+_0x354cc5);}if(_0x35b5d3['HoSgk'](this[_0x195e8c(0x160)],null))try{this['Reporter']=_0x35b5d3['FOSWs'](require,_0x53844a);}catch(_0x13793f){console[_0x195e8c(0x1a9)](_0x195e8c(0x208)+_0x53844a);}if(_0x35b5d3[_0x195e8c(0x128)](this[_0x195e8c(0x160)],null)){const _0x474e35={};_0x474e35[_0x195e8c(0x162)]=_0x15e394[_0x195e8c(0x151)],this['Reporter']=new this[(_0x195e8c(0x160))](_0x587dba,_0x474e35);}}}[a27_0x273b0a(0x1b4)](){const _0x15a50e=a27_0x273b0a,_0xb8792f={'btATJ':function(_0x5d8c68,_0x482f8d){return _0x5d8c68(_0x482f8d);}};return _0xb8792f[_0x15a50e(0x251)](Array,this[_0x15a50e(0x17d)])[_0x15a50e(0x254)]('\x20\x20');}[a27_0x273b0a(0x220)](){this['_indents']++;}[a27_0x273b0a(0x232)](){const _0x40cd40=a27_0x273b0a;this[_0x40cd40(0x17d)]--;}[a27_0x273b0a(0x20d)](_0xefc83f){const _0x25f6e4=a27_0x273b0a;this[_0x25f6e4(0x1df)]+=_0xefc83f;}[a27_0x273b0a(0x178)](_0x15a758,_0x2d225c){const _0xf15f70=a27_0x273b0a,_0x135355={'MtHVl':function(_0x30c7cd,_0x6d3491){return _0x30c7cd(_0x6d3491);}},_0x522013={};_0x522013[_0xf15f70(0x23c)]=_0x15a758,_0x522013[_0xf15f70(0x1a4)]=this['finalResults'],_0x135355[_0xf15f70(0x1ff)](_0x2d225c,_0x522013);}[a27_0x273b0a(0x157)](){const _0x2c4039=a27_0x273b0a;process[_0x2c4039(0x1e9)](_0x2c4039(0x1a2)+process[_0x2c4039(0x250)]),process['on'](_0x2c4039(0x1a2)+process[_0x2c4039(0x250)],this[_0x2c4039(0x17a)][_0x2c4039(0x206)](this)),process[_0x2c4039(0x1e9)](_0x2c4039(0x1e4)+process[_0x2c4039(0x250)]),process['on'](_0x2c4039(0x1e4)+process[_0x2c4039(0x250)],this['appendTestPlatform'][_0x2c4039(0x206)](this));}[a27_0x273b0a(0x191)]=async _0xda4b79=>{const _0x1f4a45=a27_0x273b0a,_0x4e851={'QYwRZ':function(_0x48f63b){return _0x48f63b();},'BbarM':function(_0x132818,_0x555a23){return _0x132818>_0x555a23;},'XfYEY':function(_0x357e08,_0x30e183){return _0x357e08===_0x30e183;},'UxEpz':_0x1f4a45(0x1ad),'TWWuQ':function(_0x3dd29f,_0x235bb8){return _0x3dd29f(_0x235bb8);}};try{const _0x48c6c8=this[_0x1f4a45(0x1e0)];this[_0x1f4a45(0x1e0)]=_0xda4b79,_0xda4b79[_0x1f4a45(0x170)]=null,_0xda4b79['testAnalyticsId']=_0x4e851[_0x1f4a45(0x1e2)](uuidv4),_0xda4b79[_0x1f4a45(0x16a)]=new Date()[_0x1f4a45(0x1dc)](),_0x4e851[_0x1f4a45(0x1cd)](_0xda4b79[_0x1f4a45(0x137)],0x0)&&_0x48c6c8&&_0x4e851[_0x1f4a45(0x1c4)](_0x48c6c8[_0x1f4a45(0x17c)],_0xda4b79[_0x1f4a45(0x17c)])?(_0xda4b79[_0x1f4a45(0x170)]=_0x48c6c8[_0x1f4a45(0x1ef)],await this[_0x1f4a45(0x225)](_0xda4b79,undefined,![],_0x4e851[_0x1f4a45(0x16b)]),_0x48c6c8[_0x1f4a45(0x15c)]=STATE_FAILED,await this[_0x1f4a45(0x225)](_0x48c6c8,undefined,!![])):await this[_0x1f4a45(0x225)](_0xda4b79,undefined,![],_0x4e851['UxEpz']);}catch(_0x4d6fc2){_0x4e851[_0x1f4a45(0x1dd)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x4d6fc2);}};['sendTestRunEvent']=async(_0x4efaa5,_0x2f462d=undefined,_0xc91702=![],_0x27eaad=a27_0x273b0a(0x13c))=>{const _0x12b0a3=a27_0x273b0a,_0x26d35f={'PpNHZ':function(_0x4e5927,_0x390d54){return _0x4e5927===_0x390d54;},'CxWjm':function(_0x5d45a9,_0x39a75d){return _0x5d45a9!==_0x39a75d;},'JtXXi':_0x12b0a3(0x139),'BApzB':'err','URkfJ':function(_0xe0c466,_0x5737c4){return _0xe0c466!==_0x5737c4;},'VrnUl':function(_0x2e3638,_0x46bb2e){return _0x2e3638!==_0x46bb2e;},'QEImZ':'File\x20path\x20could\x20not\x20be\x20found','NJhJe':_0x12b0a3(0x19f),'xTQSq':_0x12b0a3(0x248),'GFpFo':_0x12b0a3(0x18d),'ZKuOc':_0x12b0a3(0x19c),'njrEM':function(_0x2c359b,_0x62eec3){return _0x2c359b-_0x62eec3;},'zLUdQ':_0x12b0a3(0x1e3),'tghmr':_0x12b0a3(0x181),'zeKgN':function(_0x240f00,_0x5cd07d){return _0x240f00===_0x5cd07d;},'tFDVl':'started_at','cKTSM':'finished_at','MxcFD':function(_0x30b304,_0x13ef32){return _0x30b304(_0x13ef32);},'yyQOS':_0x12b0a3(0x168),'jAVok':_0x12b0a3(0x190),'ILHxF':_0x12b0a3(0x173),'uBNTR':function(_0x2dffe6,_0x30f2a5){return _0x2dffe6===_0x30f2a5;},'qLEho':'before\x20each','IxRNb':function(_0x537b65,_0x242a27){return _0x537b65===_0x242a27;},'WPIeV':_0x12b0a3(0x13b),'cbTzi':_0x12b0a3(0x241),'OLOHx':_0x12b0a3(0x1ce),'ZsJeL':'failure_reason_expanded','NMqtd':_0x12b0a3(0x1e8),'HWpcy':'TestRunFinished','ZaSdh':function(_0x553ba5,_0x383afa){return _0x553ba5===_0x383afa;},'naojp':_0x12b0a3(0x16e),'FfbzC':_0x12b0a3(0x23a),'VkrqM':_0x12b0a3(0x1b3)};try{if(_0x4efaa5[_0x12b0a3(0x253)]&&_0x4efaa5[_0x12b0a3(0x253)]['match'](/browserstack internal helper hook/))return;let _0x580f76=[];if(_0x26d35f[_0x12b0a3(0x212)](_0x4efaa5['state'],STATE_FAILED)){if(_0x26d35f['CxWjm'](_0x4efaa5[_0x12b0a3(0x24d)],undefined))_0x580f76=_0x4efaa5['err'][_0x12b0a3(0x159)]?[_0x4efaa5[_0x12b0a3(0x24d)][_0x12b0a3(0x159)],_0x26d35f[_0x12b0a3(0x22c)]]:[_0x4efaa5[_0x12b0a3(0x24d)],_0x26d35f[_0x12b0a3(0x217)]];else _0x26d35f[_0x12b0a3(0x1c9)](_0x2f462d,undefined)?_0x580f76=[_0x2f462d,_0x26d35f[_0x12b0a3(0x217)]]:_0x580f76=[];}const _0x1e4c2e=_0x26d35f[_0x12b0a3(0x1b5)](_0x4efaa5[_0x12b0a3(0x24d)],undefined)?_0x4efaa5[_0x12b0a3(0x24d)][_0x12b0a3(0x182)]():_0x26d35f[_0x12b0a3(0x1b9)](_0x2f462d,undefined)?_0x2f462d[_0x12b0a3(0x182)]():undefined;let _0x68245a;try{_0x68245a=this[_0x12b0a3(0x18b)](_0x4efaa5);}catch(_0x41fe40){_0x68245a=null;}const _0x12726f=_0x68245a?this[_0x12b0a3(0x145)](_0x68245a):null,_0x2249bd=_0x68245a?this[_0x12b0a3(0x24a)][_0x12b0a3(0x156)](this[_0x12b0a3(0x18b)](_0x4efaa5)):_0x26d35f[_0x12b0a3(0x209)],_0x56eb6a={'framework':_0x26d35f['NJhJe'],'uuid':_0x4efaa5[_0x12b0a3(0x1ef)]||_0x4efaa5[_0x12b0a3(0x158)],'name':_0x4efaa5[_0x12b0a3(0x17c)],'body':{'lang':_0x26d35f['xTQSq'],'code':_0x4efaa5[_0x12b0a3(0x253)]},'scope':this[_0x12b0a3(0x1f9)](_0x4efaa5),'scopes':this[_0x12b0a3(0x234)](_0x4efaa5),'identifier':_0x4efaa5['fullTitle'](),'file_name':_0x2249bd,'vc_filepath':_0x12726f?path[_0x12b0a3(0x25a)](_0x12726f,_0x68245a):null,'location':_0x2249bd,'result':_0x26d35f['PpNHZ'](_0x27eaad,_0x26d35f[_0x12b0a3(0x15b)])?_0x26d35f[_0x12b0a3(0x1c7)]:this[_0x12b0a3(0x1a1)](_0x4efaa5['state']),'failure_reason':_0x1e4c2e,'duration_in_ms':_0x4efaa5[_0x12b0a3(0x1d5)]||(_0x27eaad['match'](/Finished/)||_0x27eaad[_0x12b0a3(0x154)](/Skipped/)?_0x26d35f['njrEM'](Date[_0x12b0a3(0x1d1)](),new Date(_0x4efaa5['started_at'])[_0x12b0a3(0x161)]()):null),'started_at':_0x4efaa5[_0x12b0a3(0x16a)],'finished_at':_0x27eaad[_0x12b0a3(0x154)](/Finished/)||_0x27eaad[_0x12b0a3(0x154)](/Skipped/)?new Date()['toISOString']():null,'failure':failureData[_0x12b0a3(0x155)](null,_0x580f76),'failure_type':!_0x1e4c2e?null:_0x1e4c2e[_0x12b0a3(0x154)](/AssertionError/)?_0x26d35f[_0x12b0a3(0x1f1)]:_0x26d35f[_0x12b0a3(0x1ea)],'retry_of':_0x4efaa5[_0x12b0a3(0x170)]};testhubUtils[_0x12b0a3(0x19b)](_0x56eb6a,_0x27eaad,_0x4efaa5,FRAMEWORKS[_0x12b0a3(0x14b)]);(_0x4efaa5['responseCode']||_0x4efaa5['redirectUrl'])&&centralScannerUtils[_0x12b0a3(0x22d)](_0x56eb6a,_0x4efaa5[_0x12b0a3(0x238)],_0x4efaa5['redirectUrl']);_0x26d35f['zeKgN'](_0x27eaad,_0x26d35f[_0x12b0a3(0x15b)])&&!_0x56eb6a[_0x26d35f[_0x12b0a3(0x235)]]&&(_0x56eb6a[_0x26d35f[_0x12b0a3(0x235)]]=_0x56eb6a[_0x26d35f[_0x12b0a3(0x1bf)]]);if(_0x27eaad[_0x12b0a3(0x154)](/HookRun/))[_0x56eb6a['hook_type'],_0x56eb6a[_0x12b0a3(0x21b)]]=_0x26d35f['MxcFD'](getHookDetails,_0x4efaa5[_0x12b0a3(0x222)]()||_0x4efaa5[_0x12b0a3(0x140)]||_0x4efaa5['title']),_0x26d35f[_0x12b0a3(0x17f)](_0x27eaad,_0x26d35f[_0x12b0a3(0x244)])&&(_0x26d35f[_0x12b0a3(0x1c9)](_0x56eb6a[_0x12b0a3(0x16f)],_0x26d35f[_0x12b0a3(0x130)])&&(_0x56eb6a[_0x12b0a3(0x16f)]=_0x26d35f[_0x12b0a3(0x1f3)]),_0x26d35f['uBNTR'](_0x56eb6a[_0x12b0a3(0x16e)],_0x26d35f['qLEho'])&&_0x26d35f['IxRNb'](_0x56eb6a['result'],_0x26d35f[_0x12b0a3(0x130)])&&!_0x4efaa5[_0x12b0a3(0x226)][_0x12b0a3(0x22b)]['markedStatus']&&(_0x4efaa5['ctx']['currentTest'][_0x12b0a3(0x1de)]=!![],_0x4efaa5[_0x12b0a3(0x226)][_0x12b0a3(0x22b)]['state']=STATE_FAILED,await this[_0x12b0a3(0x225)](_0x4efaa5[_0x12b0a3(0x226)][_0x12b0a3(0x22b)],undefined,!![])));else _0x27eaad[_0x12b0a3(0x154)](/TestRun/)&&_0x26d35f[_0x12b0a3(0x1ca)](mapTestHooks,_0x4efaa5);const _0x3643d2=_0x56eb6a[_0x26d35f[_0x12b0a3(0x146)]][0x0];_0x3643d2&&(_0x56eb6a[_0x26d35f[_0x12b0a3(0x201)]]=_0x3643d2[_0x26d35f['OLOHx']],_0x56eb6a[_0x26d35f['ZsJeL']]=_0x3643d2[_0x26d35f[_0x12b0a3(0x20c)]]);[_0x26d35f['HWpcy'],_0x26d35f['GFpFo']][_0x12b0a3(0x1d2)](_0x27eaad)&&(this['_testResults'][_0x12b0a3(0x1be)](_0x56eb6a),_0x56eb6a[_0x12b0a3(0x1a0)]=_0x26d35f['MxcFD'](getHooksForTest,_0x4efaa5));const _0x32423d={'event_type':_0x26d35f['ZaSdh'](_0x27eaad,_0x26d35f[_0x12b0a3(0x15b)])?_0x26d35f[_0x12b0a3(0x1b2)]:_0x27eaad};_0x27eaad[_0x12b0a3(0x154)](/HookRun/)?(_0x56eb6a[_0x26d35f[_0x12b0a3(0x15e)]]=HOOK_TYPES_MAP[_0x56eb6a[_0x26d35f[_0x12b0a3(0x15e)]]],_0x32423d[_0x26d35f[_0x12b0a3(0x1da)]]=_0x56eb6a):_0x32423d[_0x26d35f[_0x12b0a3(0x1d8)]]=_0x56eb6a,testhubUtils[_0x12b0a3(0x1f7)](FRAMEWORKS[_0x12b0a3(0x14b)],_0x32423d),await SessionHandler[_0x12b0a3(0x14e)](_0x32423d);}catch(_0x148430){_0x26d35f[_0x12b0a3(0x1ca)](debug,_0x12b0a3(0x239)+_0x27eaad+'\x20with\x20error\x20:\x20'+_0x148430);}};[a27_0x273b0a(0x145)](_0x396927){const _0x4ccd93=a27_0x273b0a,_0x2f4100={};_0x2f4100[_0x4ccd93(0x210)]=function(_0x46a02b,_0x46f72b){return _0x46a02b===_0x46f72b;},_0x2f4100[_0x4ccd93(0x133)]=function(_0x21cbf6,_0x10fd3b){return _0x21cbf6===_0x10fd3b;},_0x2f4100[_0x4ccd93(0x1f8)]=_0x4ccd93(0x1a7),_0x2f4100[_0x4ccd93(0x19e)]=_0x4ccd93(0x175);const _0x585658=_0x2f4100,_0x2b2786=path[_0x4ccd93(0x24c)];if(_0x585658['pCfQr'](_0x396927,null)||_0x585658['pCfQr'](_0x396927,'')||_0x585658[_0x4ccd93(0x210)](_0x396927,_0x2b2786)||_0x585658[_0x4ccd93(0x133)](_0x396927,path['dirname'](_0x396927)))return null;try{return fs[_0x4ccd93(0x193)](path[_0x4ccd93(0x254)](_0x396927,_0x585658[_0x4ccd93(0x1f8)],_0x585658[_0x4ccd93(0x19e)])),_0x396927;}catch(_0x3f23a3){const _0x43e803=path['dirname'](_0x396927);return this[_0x4ccd93(0x145)](_0x43e803);}}[a27_0x273b0a(0x17a)]=async _0x287b69=>{const _0x5a2fb3=a27_0x273b0a,_0x49ae12={'PlsJx':'LogCreated','yoIHf':function(_0x3f727c,_0x46e210){return _0x3f727c(_0x46e210);}};try{this[_0x5a2fb3(0x21a)]&&!this['current_hook'][_0x5a2fb3(0x1de)]&&(_0x287b69[_0x5a2fb3(0x1e7)]=this[_0x5a2fb3(0x21a)][_0x5a2fb3(0x158)]);!_0x287b69[_0x5a2fb3(0x1e7)]&&this[_0x5a2fb3(0x1e0)]&&!this[_0x5a2fb3(0x1e0)]['markedStatus']&&(_0x287b69['test_run_uuid']=this[_0x5a2fb3(0x1e0)][_0x5a2fb3(0x1ef)]);if(_0x287b69[_0x5a2fb3(0x1e7)]||_0x287b69[_0x5a2fb3(0x13f)]){const _0x1814fd={};_0x1814fd[_0x5a2fb3(0x167)]=_0x49ae12[_0x5a2fb3(0x131)],_0x1814fd[_0x5a2fb3(0x1cf)]=[_0x287b69],await SessionHandler[_0x5a2fb3(0x14e)](_0x1814fd);}}catch(_0x48e365){_0x49ae12[_0x5a2fb3(0x142)](debug,_0x5a2fb3(0x172)+_0x48e365);}};[a27_0x273b0a(0x228)]=async _0x1c1315=>{const _0x1c243f=a27_0x273b0a,_0x20fbcf={'uweYJ':_0x1c243f(0x1f5),'elgHT':_0x1c243f(0x12b),'cbZZo':function(_0x4e24d6,_0x33ee1b){return _0x4e24d6(_0x33ee1b);}};try{const _0x4ad1fe={};_0x4ad1fe[_0x1c243f(0x247)]=_0x1c1315[_0x1c243f(0x247)]||this[_0x1c243f(0x1e0)][_0x1c243f(0x1ef)],_0x4ad1fe[_0x1c243f(0x135)]=_0x1c1315[_0x20fbcf[_0x1c243f(0x1d7)]];const _0x1d8ce8=_0x4ad1fe,_0xb2f4d1={};_0xb2f4d1[_0x1c243f(0x167)]=_0x20fbcf[_0x1c243f(0x12f)],_0xb2f4d1['test_run']=_0x1d8ce8,await SessionHandler[_0x1c243f(0x14e)](_0xb2f4d1);}catch(_0xc7ec56){_0x20fbcf['cbZZo'](debug,_0x1c243f(0x12e)+_0xc7ec56);}};['analyticsResult'](_0x21ea73){const _0x2f6ebc=a27_0x273b0a,_0xce6307={};_0xce6307[_0x2f6ebc(0x1c5)]=_0x2f6ebc(0x173),_0xce6307[_0x2f6ebc(0x1fa)]='pending',_0xce6307['WAmgF']=_0x2f6ebc(0x190);const _0x4d50fb=_0xce6307,_0x564f0b={};return _0x564f0b[STATE_PASSED]=_0x4d50fb['QJAPG'],_0x564f0b[STATE_PENDING]=_0x4d50fb[_0x2f6ebc(0x1fa)],_0x564f0b[STATE_FAILED]=_0x4d50fb[_0x2f6ebc(0x12c)],_0x564f0b[_0x21ea73];}[a27_0x273b0a(0x1f9)](_0x3966f2){const _0x524c97=a27_0x273b0a,_0x1ab3c4={};_0x1ab3c4[_0x524c97(0x1d9)]=function(_0x39655c,_0x2d6f62){return _0x39655c-_0x2d6f62;};const _0x563e23=_0x1ab3c4,_0x92378d=_0x3966f2[_0x524c97(0x21f)]();return _0x92378d[_0x524c97(0x23d)](0x0,_0x563e23[_0x524c97(0x1d9)](_0x92378d[_0x524c97(0x12a)],0x1))['join']('\x20');}[a27_0x273b0a(0x234)](_0x4bdcf1){const _0x20a46f=a27_0x273b0a,_0x8d4fc7={};_0x8d4fc7['WcuHC']=function(_0x4ddb8f,_0x25a939){return _0x4ddb8f-_0x25a939;};const _0x5a3f2b=_0x8d4fc7,_0x5453f2=_0x4bdcf1[_0x20a46f(0x21f)]();return _0x5453f2[_0x20a46f(0x23d)](0x0,_0x5a3f2b[_0x20a46f(0x1c1)](_0x5453f2[_0x20a46f(0x12a)],0x1));}[a27_0x273b0a(0x18b)](_0x1fa96e){const _0x9663c3=a27_0x273b0a,_0x1e1cf5={};_0x1e1cf5[_0x9663c3(0x1af)]=function(_0x238a51,_0x4a3fb7){return _0x238a51>_0x4a3fb7;};const _0x4986ee=_0x1e1cf5;if(_0x1fa96e[_0x9663c3(0x200)])return _0x1fa96e['file'];if(_0x1fa96e[_0x9663c3(0x226)]){const _0x23ef82=_0x1fa96e[_0x9663c3(0x226)][_0x9663c3(0x22b)]?this[_0x9663c3(0x18b)](_0x1fa96e[_0x9663c3(0x226)][_0x9663c3(0x22b)]):null;if(_0x23ef82)return _0x23ef82;}if(_0x1fa96e['parent']){const _0x2cebed=this['getRootParentFile'](_0x1fa96e[_0x9663c3(0x243)])||(_0x1fa96e[_0x9663c3(0x243)][_0x9663c3(0x226)]&&_0x1fa96e[_0x9663c3(0x243)][_0x9663c3(0x226)][_0x9663c3(0x22b)]?this[_0x9663c3(0x18b)](_0x1fa96e[_0x9663c3(0x243)][_0x9663c3(0x226)]['currentTest']):null);if(_0x2cebed)return _0x2cebed;_0x1fa96e['parent'][_0x9663c3(0x185)]&&_0x4986ee[_0x9663c3(0x1af)](_0x1fa96e[_0x9663c3(0x243)][_0x9663c3(0x185)][_0x9663c3(0x12a)],0x0)&&_0x1fa96e[_0x9663c3(0x243)]['suites'][_0x9663c3(0x141)](_0xda3095=>{const _0x63d127=_0x9663c3,_0x2473c3=_0xda3095[_0x63d127(0x226)]?this['getRootParentFile'](_0xda3095['ctx']):null;if(_0x2473c3)return _0x2473c3;});}return null;}}module[a27_0x273b0a(0x223)]=MyReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a28_0x4093e4=a28_0x3d6d;function a28_0x3d6d(_0x33ca13,_0x1f7ec8){const _0x86a5d5=a28_0x86a5();return a28_0x3d6d=function(_0x3d6d37,_0x376fdd){_0x3d6d37=_0x3d6d37-0x1ed;let _0x16e9b7=_0x86a5d5[_0x3d6d37];return _0x16e9b7;},a28_0x3d6d(_0x33ca13,_0x1f7ec8);}(function(_0x5a813b,_0x307ba2){const _0x5eb6f4=a28_0x3d6d,_0x24a6b0=_0x5a813b();while(!![]){try{const _0x5d4d7b=-parseInt(_0x5eb6f4(0x2e1))/0x1*(parseInt(_0x5eb6f4(0x287))/0x2)+-parseInt(_0x5eb6f4(0x232))/0x3*(parseInt(_0x5eb6f4(0x2f0))/0x4)+-parseInt(_0x5eb6f4(0x286))/0x5+-parseInt(_0x5eb6f4(0x258))/0x6+parseInt(_0x5eb6f4(0x297))/0x7+parseInt(_0x5eb6f4(0x222))/0x8*(-parseInt(_0x5eb6f4(0x215))/0x9)+parseInt(_0x5eb6f4(0x2bf))/0xa;if(_0x5d4d7b===_0x307ba2)break;else _0x24a6b0['push'](_0x24a6b0['shift']());}catch(_0x5da7f4){_0x24a6b0['push'](_0x24a6b0['shift']());}}}(a28_0x86a5,0x2cbe6));const chalk=require(a28_0x4093e4(0x301)),logger=require(a28_0x4093e4(0x243))['winstonLogger'],{default:BrowserStackSetup}=require(a28_0x4093e4(0x2a5)),helper=require(a28_0x4093e4(0x2e2)),utilities=require(a28_0x4093e4(0x26c)),testOpsHelper=require(a28_0x4093e4(0x229)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x4093e4(0x254)),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule(a28_0x4093e4(0x25d),'mocha'),collectFiles=requireModule('mocha/lib/cli/collect-files.js',a28_0x4093e4(0x289)),constants=require(a28_0x4093e4(0x2c9)),PerformanceTester=require(a28_0x4093e4(0x2a0)),PerformanceEvents=require(a28_0x4093e4(0x230))[a28_0x4093e4(0x20e)],centralScannerConstants=require('../../helpers/central-scanner/constants');function tag(_0x269e4e,_0x344704,_0x120360,_0x1a0613){const _0x333b97=a28_0x4093e4,_0x17342f={'nHjuQ':function(_0x18e010,_0x57ae48){return _0x18e010+_0x57ae48;},'XSNTJ':function(_0x2a9eb0,_0x31847a){return _0x2a9eb0+_0x31847a;},'pDBjM':function(_0x173f73,_0x4cec75){return _0x173f73+_0x4cec75;},'TLVmj':function(_0xf70aa4,_0x3e04d1){return _0xf70aa4(_0x3e04d1);},'mTyvW':function(_0x2376d4,_0x16df97){return _0x2376d4+_0x16df97;},'tFFDh':function(_0x4cb015,_0x17d213){return _0x4cb015+_0x17d213;},'yRsis':function(_0x9b6b93,_0x5f05b8){return _0x9b6b93+_0x5f05b8;}},_0x35df22=_0x120360?'/>':'>',_0x53e97c=[];let _0x46ee5;for(const _0x2a38e4 in _0x344704){Object['prototype'][_0x333b97(0x2a6)][_0x333b97(0x2cb)](_0x344704,_0x2a38e4)&&_0x53e97c['push'](_0x17342f[_0x333b97(0x27b)](_0x17342f[_0x333b97(0x1ee)](_0x17342f[_0x333b97(0x220)](_0x2a38e4,'=\x22'),_0x17342f[_0x333b97(0x2eb)](escape,_0x344704[_0x2a38e4])),'\x22'));}return _0x46ee5=_0x17342f[_0x333b97(0x2aa)](_0x17342f[_0x333b97(0x2aa)](_0x17342f['mTyvW']('<',_0x269e4e),_0x53e97c[_0x333b97(0x2e9)]?_0x17342f['mTyvW']('\x20',_0x53e97c[_0x333b97(0x249)]('\x20')):''),_0x35df22),_0x1a0613&&(_0x46ee5+=_0x17342f[_0x333b97(0x2aa)](_0x17342f[_0x333b97(0x2ab)](_0x17342f[_0x333b97(0x25b)](_0x1a0613,'</'),_0x269e4e),_0x35df22)),_0x46ee5;}let xunitContent='';function xunitWrite(_0x4bb152){xunitContent+=_0x4bb152;}function xunitTest(_0x26f738,_0x10b74b){const _0x4c83da=a28_0x4093e4,_0x34043e={'phmFA':function(_0x595929,_0x7d24){return _0x595929/_0x7d24;},'YUSwC':function(_0x3e3c84,_0x361935){return _0x3e3c84===_0x361935;},'HeEys':'failed','SuijJ':function(_0x3763ba,_0x3603c3){return _0x3763ba+_0x3603c3;},'uEhUS':function(_0x28cb40,_0x229c79){return _0x28cb40(_0x229c79);},'zjBGe':function(_0x198023,_0x1729d2,_0xed32d9,_0x5455eb,_0xea280){return _0x198023(_0x1729d2,_0xed32d9,_0x5455eb,_0xea280);},'xoVpr':_0x4c83da(0x21d),'nyowD':function(_0x211c15,_0x2c9d78,_0x3659ec,_0x486e8e,_0x35eee5){return _0x211c15(_0x2c9d78,_0x3659ec,_0x486e8e,_0x35eee5);},'elDyM':'failure','bqXcJ':function(_0x3c8aba,_0x502932){return _0x3c8aba+_0x502932;},'xoCOv':function(_0x151d45,_0x2932e3){return _0x151d45+_0x2932e3;},'koWoV':function(_0x4cba36,_0x9eee1b){return _0x4cba36(_0x9eee1b);},'BSuyH':function(_0x23df52,_0x1cd645){return _0x23df52(_0x1cd645);},'OUqSz':function(_0x8533d7,_0x2b5284){return _0x8533d7(_0x2b5284);},'ccABw':function(_0x36ebe8,_0x5164ea,_0x3b3637,_0x2ac74b,_0x2ecb96){return _0x36ebe8(_0x5164ea,_0x3b3637,_0x2ac74b,_0x2ecb96);},'hvQDP':function(_0x4ad8dc,_0x5dd996,_0x52c139,_0x60cab0){return _0x4ad8dc(_0x5dd996,_0x52c139,_0x60cab0);},'sNAvR':_0x4c83da(0x272),'kXWzC':function(_0xa8018a,_0x54ef82){return _0xa8018a(_0x54ef82);}};Base['useColors']=![];var _0xe9c41b={'classname':_0x26f738[_0x4c83da(0x2b9)],'name':_0x26f738['title'],'time':_0x34043e[_0x4c83da(0x234)](_0x26f738[_0x4c83da(0x217)],0x3e8)||0x0,'platform':_0x10b74b};if(_0x34043e[_0x4c83da(0x209)](_0x26f738[_0x4c83da(0x284)],_0x34043e[_0x4c83da(0x24f)])){var _0x1561f8=_0x26f738[_0x4c83da(0x2ae)],_0x44d36f=!Base[_0x4c83da(0x29b)]&&Base[_0x4c83da(0x24b)](_0x1561f8)?_0x34043e[_0x4c83da(0x2f3)]('\x0a',Base[_0x4c83da(0x206)](_0x1561f8[_0x4c83da(0x27f)],_0x1561f8[_0x4c83da(0x2b0)])):'';_0x34043e[_0x4c83da(0x2ac)](xunitWrite,_0x34043e[_0x4c83da(0x228)](tag,_0x34043e[_0x4c83da(0x2e8)],_0xe9c41b,![],_0x34043e['nyowD'](tag,_0x34043e[_0x4c83da(0x1ef)],{},![],_0x34043e['bqXcJ'](_0x34043e[_0x4c83da(0x2cf)](_0x34043e[_0x4c83da(0x2f3)](_0x34043e[_0x4c83da(0x223)](escape,_0x1561f8[_0x4c83da(0x22d)]),_0x34043e[_0x4c83da(0x23e)](escape,_0x44d36f)),'\x0a'),_0x34043e[_0x4c83da(0x218)](escape,_0x1561f8[_0x4c83da(0x25e)])))));}else _0x26f738['isPending']?_0x34043e[_0x4c83da(0x218)](xunitWrite,_0x34043e[_0x4c83da(0x2fb)](tag,_0x34043e[_0x4c83da(0x2e8)],_0xe9c41b,![],_0x34043e['hvQDP'](tag,_0x34043e[_0x4c83da(0x22e)],{},!![]))):_0x34043e[_0x4c83da(0x21a)](xunitWrite,_0x34043e[_0x4c83da(0x285)](tag,_0x34043e[_0x4c83da(0x2e8)],_0xe9c41b,!![]));};function a28_0x86a5(){const _0x44e2b5=['OVFvZ','bYvCi','YUSwC','handleApp','recursive','Writing\x20xunit\x20result\x20to\x20file','log','EVENTS','QuDyP','oDMkg','BROWSERSTACK_TEST_OBSERVABILITY_YML','passed','mqqQp','xydeo','146925zoSVca','isUndefined','duration','OUqSz','KmQst','kXWzC','totalTests','spec','testcase','rerunTests','getOwnPropertyNames','pDBjM','VgkrU','88ASRciZ','koWoV','bgRedBright','pending','has','ICEzT','zjBGe','../../helpers/test-observability/utils','DRlmX','Writing\x20json\x20result\x20to\x20file','trdam','message','sNAvR','Vduaa','../../helpers/performance/constants','testsPending','576705DUvcTO','list','phmFA','QWSvu','sort','jESOp','initialize','keys','BROWSERSTACK_GRR_US_HUB_URL','xunit','Running\x20your\x20mocha\x20tests','bold','BSuyH','min','****\x20FAILURES\x20****','get','framework','../../helpers/logger','uDBEu','NbQbh','aiAQI','test','env','join','suite','showDiff','qqjhp','YgaFt','HKOqX','HeEys','FFsOx','setupTCGAuth','writeFileSync','iIYiF','../test-runner','Mocha\x20Tests','validPlatformsPresent','Total\x20Platforms:\x20','440946zGqNGd','stats','YbJgv','yRsis','XBViW','mocha/lib/reporters/base.js','stack','</testsuite>','files','PSApg','iDFjN','Total\x20Suites:\x20','XfqTN','GpuZY','VvXgG','lGyGC','finally','logLevel','fireFunnelTestEvent','BROWSERSTACK_RERUN_TESTS','../../helpers/utilities','results','info','json','BTuzE','nqvVY','skipped','fgaub','includes','BROWSERSTACK_CENTRAL_USER','FHFpD','nDPXW','Listing\x20all\x20the\x20failures','TlAPL','xpNhw','nHjuQ','titlePath','file','notifyUpdate','actual','IjfgJ','qCMJk','useW3C','cjs','state','hvQDP','1171155blBvlK','35318vUSyZo','cVjaz','mocha','iFqww','getPlatformName','BROWSERSTACK_AUTOMATION','CkxDP','argv','toUTCString','output','errorMessage','BROWSERSTACK_TEST_OBSERVABILITY','uSDfQ','cliConfig','isBrowserstackInfra','zwdZY','516670aJADOT','\x20skipped','jDioO','muTwU','hideDiff','error','XvVby','vcjRI','indexOf','../../helpers/performance/performance-tester','object','testsFailed','rootHooks','getUserWorkerCount','../../helpers/BrowserStackSetup','hasOwnProperty','tBpFq','rEpRQ','FfEvj','mTyvW','tFFDh','uEhUS','parse','err','RdguJ','expected','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','accessibilityOptions','testObservability','Fzwmh','jJqxq','Ckhig','testsPassed','parseFileNames','fullTitle','forEach','Couldn\x27t\x20write\x20xunit\x20result\x20to','mFPQs','SDK_CLEANUP','\x20total','8419690ByEQWW','then','cBfpv','platform','EYhcr','qlazZ','testSuites','vNCNx','push','consoleLog','../utils/constants','reporter','call','nHXHm','accessibility','titlePathV','xoCOv','bgBlueBright','bRwMm','size','\x20platforms','start','WcHDP','SDKTestSuccessful','shouldReRunObservabilityTests','reporter-option','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','\x0a\x0a\x0a','OnxTN','extension','--disable-browserstack-automation','XvLen','zfkPv','vkbgr','3QzLlEy','../../helpers/helper','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Couldn\x27t\x20write\x20json\x20result\x20to','wcxso','CzLXi','config','xoVpr','length','passes','TLVmj','vKUBN','sWbkJ','ppzHI','doc','4mgdFkf','printBuildLink','FRAMEWORKS','SuijJ','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','reporterOptions','testsuite','vyBdG','NuulP','xpwXY','cDIkT','ccABw','unlinkSync','stringify','Printing\x20stats\x20of\x20tests','proxySettings','prepareCapabilities','chalk','Setting\x20non\x20exit\x20code\x20for\x20failures','XSNTJ','elDyM','OGdyI','ctvPL','suiteName','assign','CzoYp','QNFql','UWaCf','speed','\x20passed','GMcMv','platforms','isTestObservabilitySession','ByOzJ','RrPGo','debug','XvTgr','ignore','ZnWWy','parallelsPerPlatform','MOCHA','exitCode','currentRetry','generateDiff'];a28_0x86a5=function(){return _0x44e2b5;};return a28_0x86a5();}function getStats(_0x52d90c){const _0x3f9474=a28_0x4093e4,_0x3ac432={};_0x3ac432[_0x3f9474(0x280)]=_0x3f9474(0x24a),_0x3ac432['WnPLZ']=_0x3f9474(0x212),_0x3ac432[_0x3f9474(0x1f9)]='failed',_0x3ac432[_0x3f9474(0x277)]=_0x3f9474(0x26d);const _0x288629=_0x3ac432,_0x370bf6=Object[_0x3f9474(0x239)](_0x52d90c);let _0x5bc5ed=0x0,_0x549d07=0x0,_0x139eb9=0x0,_0xf0fbb9=0x0;const _0x3e942c=new Set();_0x370bf6[_0x3f9474(0x2ba)](_0x3dc979=>{const _0x13eb97=_0x3f9474,_0x53c4a3={};_0x53c4a3[_0x13eb97(0x2f8)]=_0x288629[_0x13eb97(0x280)],_0x53c4a3[_0x13eb97(0x1fc)]=_0x288629['WnPLZ'],_0x53c4a3['fgaub']=_0x288629[_0x13eb97(0x1f9)];const _0x25e57e=_0x53c4a3;_0x52d90c[_0x3dc979][_0x288629[_0x13eb97(0x277)]][_0x13eb97(0x2ba)](_0x4a5b8d=>{const _0x5f5c40=_0x13eb97;_0x3e942c['add'](_0x4a5b8d[_0x25e57e['NuulP']]),_0x5bc5ed++;switch(_0x4a5b8d[_0x5f5c40(0x284)]){case _0x25e57e[_0x5f5c40(0x1fc)]:_0x139eb9++;break;case _0x25e57e[_0x5f5c40(0x273)]:_0x549d07++;break;default:_0xf0fbb9++;}});});const _0x5cd9e8={};return _0x5cd9e8['testSuites']=_0x3e942c[_0x3f9474(0x2d2)],_0x5cd9e8[_0x3f9474(0x1fa)]=_0x370bf6,_0x5cd9e8[_0x3f9474(0x21b)]=_0x5bc5ed,_0x5cd9e8['testsFailed']=_0x549d07,_0x5cd9e8[_0x3f9474(0x2b7)]=_0x139eb9,_0x5cd9e8[_0x3f9474(0x231)]=_0xf0fbb9,_0x5cd9e8;}function errorJSON(_0x3d5706){const _0x15e8bb=a28_0x4093e4;var _0x2a07c2={};return Object[_0x15e8bb(0x21f)](_0x3d5706)[_0x15e8bb(0x2ba)](function(_0x2f9547){_0x2a07c2[_0x2f9547]=_0x3d5706[_0x2f9547];},_0x3d5706),_0x2a07c2;}function cleanCycles(_0x342fa1){const _0x4a5243=a28_0x4093e4,_0x1a37ea={};_0x1a37ea['iFqww']=function(_0x40dbf9,_0x594eb9){return _0x40dbf9===_0x594eb9;},_0x1a37ea[_0x4a5243(0x250)]=_0x4a5243(0x2a1),_0x1a37ea[_0x4a5243(0x25a)]=function(_0x238364,_0x358c89){return _0x238364!==_0x358c89;},_0x1a37ea[_0x4a5243(0x279)]=function(_0x4e709f,_0x1028cd){return _0x4e709f!==_0x1028cd;},_0x1a37ea[_0x4a5243(0x2db)]=function(_0x1c35b8,_0x1da57d){return _0x1c35b8+_0x1da57d;};const _0x34a278=_0x1a37ea;var _0x39e3e4=[];return JSON[_0x4a5243(0x2ad)](JSON[_0x4a5243(0x2fd)](_0x342fa1,function(_0x19be35,_0x174d6e){const _0x1869e1=_0x4a5243;if(_0x34a278[_0x1869e1(0x28a)](typeof _0x174d6e,_0x34a278[_0x1869e1(0x250)])&&_0x34a278[_0x1869e1(0x25a)](_0x174d6e,null)){if(_0x34a278[_0x1869e1(0x279)](_0x39e3e4[_0x1869e1(0x29f)](_0x174d6e),-0x1))return _0x34a278['OnxTN']('',_0x174d6e);_0x39e3e4[_0x1869e1(0x2c7)](_0x174d6e);}return _0x174d6e;}));}function clean(_0x438463){const _0x43d2e0=a28_0x4093e4,_0x101245={'cVjaz':function(_0x2c0c7f,_0x2a0b28){return _0x2c0c7f instanceof _0x2a0b28;},'uDBEu':function(_0x472880,_0x243e88){return _0x472880(_0x243e88);}};var _0x4089b0=_0x438463['err']||{};return _0x101245[_0x43d2e0(0x288)](_0x4089b0,Error)&&(_0x4089b0=_0x101245[_0x43d2e0(0x244)](errorJSON,_0x4089b0)),{'title':_0x438463['title'],'fullTitle':_0x438463['fullTitle'],'file':_0x438463[_0x43d2e0(0x27d)],'duration':_0x438463[_0x43d2e0(0x217)],'currentRetry':_0x438463[_0x43d2e0(0x205)],'speed':_0x438463[_0x43d2e0(0x1f7)],'err':_0x101245['uDBEu'](cleanCycles,_0x4089b0)};}function printStats(_0x460fcb,_0x5a7480='spec',_0x386268={}){const _0x491997=a28_0x4093e4,_0x2ffd21={'eJCyG':function(_0x268eaa,_0x401a2c){return _0x268eaa(_0x401a2c);},'xpwXY':function(_0x4e3217,_0x5b29c9){return _0x4e3217===_0x5b29c9;},'muTwU':_0x491997(0x212),'zfkPv':_0x491997(0x2ea),'OGdyI':function(_0x29721f,_0x3e48a8){return _0x29721f(_0x3e48a8);},'trdam':function(_0x165d68,_0x339474){return _0x165d68===_0x339474;},'WcHDP':'failed','Ckhig':'failures','ctvPL':_0x491997(0x225),'wcxso':_0x491997(0x26d),'RrPGo':function(_0x166f0a,_0x1e4eab){return _0x166f0a===_0x1e4eab;},'KQEuA':function(_0x575722,_0x14fd85){return _0x575722*_0x14fd85;},'zwdZY':function(_0x1d2eb6,_0x19e9b9,_0x14da81){return _0x1d2eb6(_0x19e9b9,_0x14da81);},'YgaFt':function(_0x4241fb,_0xf3c7a9){return _0x4241fb===_0xf3c7a9;},'XBViW':function(_0x32f33b,_0x595cbf){return _0x32f33b>_0x595cbf;},'nHXHm':function(_0x5c51da){return _0x5c51da();},'XvTgr':function(_0x1cf82d,_0x2aa927){return _0x1cf82d===_0x2aa927;},'vyBdG':_0x491997(0x2ef),'YyChL':function(_0x559a2b,_0x297b76){return _0x559a2b(_0x297b76);},'Fzwmh':_0x491997(0x1ed),'tBpFq':_0x491997(0x2fe),'lGJxP':function(_0x5a68bc,_0x2829b0){return _0x5a68bc+_0x2829b0;},'qbojf':_0x491997(0x257),'BTuzE':_0x491997(0x263),'RdguJ':function(_0x24b16b,_0x2e1b6b){return _0x24b16b+_0x2e1b6b;},'bYvCi':function(_0x4bf088,_0x5accf8){return _0x4bf088+_0x5accf8;},'sWbkJ':function(_0xeb962e,_0x5aba98){return _0xeb962e+_0x5aba98;},'CzLXi':'Tests:\x20\x20\x20\x20\x20\x20\x20','mqqQp':function(_0x140536,_0x2f9aba){return _0x140536>_0x2f9aba;},'UVWhi':function(_0x365164,_0x3315b1){return _0x365164+_0x3315b1;},'GpuZY':function(_0x138705,_0x5d23d2){return _0x138705+_0x5d23d2;},'cBfpv':function(_0x690373,_0x17aad1){return _0x690373+_0x17aad1;},'oDMkg':function(_0x481ca4,_0x205f5e){return _0x481ca4+_0x205f5e;},'XvVby':_0x491997(0x2da),'VvXgG':function(_0x415266,_0x34efe1){return _0x415266===_0x34efe1;},'MHKYh':_0x491997(0x26f),'wDaOI':_0x491997(0x22b),'nqvVY':_0x491997(0x2e4),'uxzZw':_0x491997(0x2b1),'ICEzT':_0x491997(0x23b),'rEpRQ':_0x491997(0x255),'UWaCf':function(_0x47be7d,_0x22a465){return _0x47be7d||_0x22a465;},'uSDfQ':function(_0x20b752,_0x401143,_0x878cef,_0x298932){return _0x20b752(_0x401143,_0x878cef,_0x298932);},'QNFql':_0x491997(0x2f6),'HKOqX':function(_0x452db0,_0x4e9a9d){return _0x452db0-_0x4e9a9d;},'jESOp':function(_0x625928,_0x318a11){return _0x625928-_0x318a11;},'PSApg':function(_0x17a0a5,_0x21a1b3){return _0x17a0a5/_0x21a1b3;},'Vduaa':function(_0x47292b,_0x34e441){return _0x47292b(_0x34e441);},'CkxDP':_0x491997(0x25f),'xpNhw':_0x491997(0x20c),'XvLen':_0x491997(0x2bb),'ppzHI':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','rzIni':_0x491997(0x278),'vNCNx':_0x491997(0x240)};if(_0x2ffd21[_0x491997(0x1ff)](_0x5a7480,_0x2ffd21[_0x491997(0x2f7)]))return;const _0xbacd7e=0x0,_0x174b00=()=>{const _0x46bd6e=_0x491997;return _0x2ffd21['eJCyG'](Array,_0xbacd7e)[_0x46bd6e(0x249)]('\x20\x20');},{testSuites:_0x52932f,platforms:_0x4d1931,totalTests:_0x2c1aa2,testsFailed:_0x1c1e22,testsPassed:_0x2e5fbf,testsPending:_0x5a7fff}=_0x2ffd21['YyChL'](getStats,_0x460fcb);_0x2ffd21[_0x491997(0x25c)](_0x1c1e22,0x0)&&(logger['debug'](_0x2ffd21[_0x491997(0x2b4)]),process[_0x491997(0x204)]=Math[_0x491997(0x23f)](_0x1c1e22,0xff));logger[_0x491997(0x1fe)](_0x2ffd21[_0x491997(0x2a7)]);const _0x65d27e=''+_0x2ffd21['lGJxP'](chalk[_0x491997(0x23d)](_0x2ffd21['qbojf']),_0x4d1931[_0x491997(0x2e9)]),_0x5c9f00=''+_0x2ffd21['lGJxP'](chalk[_0x491997(0x23d)](_0x2ffd21[_0x491997(0x270)]),_0x52932f),_0x1766eb=''+_0x2ffd21[_0x491997(0x2af)](_0x2ffd21['bYvCi'](_0x2ffd21[_0x491997(0x2ed)](chalk[_0x491997(0x23d)](_0x2ffd21[_0x491997(0x2e6)]),_0x2ffd21[_0x491997(0x25c)](_0x1c1e22,0x0)?chalk['bold']['red'](_0x1c1e22+'\x20failed')+',\x20':''),_0x2ffd21[_0x491997(0x213)](_0x5a7fff,0x0)?chalk['bold']['yellow'](_0x5a7fff+_0x491997(0x298))+',\x20':''),_0x2ffd21[_0x491997(0x25c)](_0x2e5fbf,0x0)?chalk[_0x491997(0x23d)]['green'](_0x2e5fbf+_0x491997(0x1f8))+',\x20':'')+_0x2c1aa2+_0x491997(0x2be);console[_0x491997(0x20d)](_0x2ffd21['UVWhi'](_0x2ffd21[_0x491997(0x265)](_0x2ffd21[_0x491997(0x2c1)](_0x2ffd21[_0x491997(0x208)](_0x2ffd21[_0x491997(0x210)](_0x2ffd21[_0x491997(0x29d)],_0x65d27e),'\x0a'),_0x5c9f00),'\x0a'),_0x1766eb));if(_0x2ffd21[_0x491997(0x266)](_0x5a7480,_0x2ffd21['MHKYh'])){const _0x4ca8d4={},_0x3850fa={};_0x3850fa[_0x491997(0x2c5)]=_0x52932f,_0x3850fa[_0x491997(0x1fa)]=_0x4d1931,_0x3850fa[_0x491997(0x2a2)]=_0x1c1e22,_0x3850fa[_0x491997(0x2b7)]=_0x2e5fbf,_0x3850fa[_0x491997(0x231)]=_0x5a7fff,_0x4ca8d4[_0x491997(0x259)]=_0x3850fa,_0x4d1931[_0x491997(0x2ba)](_0x3cb1f3=>{const _0x39e972=_0x491997,_0x246300={'qqjhp':function(_0x2c54ae,_0x11238b){const _0x2b727a=a28_0x3d6d;return _0x2ffd21[_0x2b727a(0x2f9)](_0x2c54ae,_0x11238b);},'ZWsLO':_0x2ffd21['muTwU'],'qCMJk':_0x2ffd21[_0x39e972(0x2df)],'CzoYp':function(_0x2cc130,_0x4be93f){const _0xd59339=_0x39e972;return _0x2ffd21[_0xd59339(0x1f0)](_0x2cc130,_0x4be93f);},'vcjRI':function(_0xc9392e,_0x4e8dcd){return _0x2ffd21['trdam'](_0xc9392e,_0x4e8dcd);},'iDFjN':_0x2ffd21[_0x39e972(0x2d5)],'ZnWWy':_0x2ffd21[_0x39e972(0x2b6)],'gcStI':_0x2ffd21[_0x39e972(0x1f1)]};_0x4ca8d4[_0x3cb1f3]={'pending':[],'failures':[],'passes':[],'tests':_0x460fcb[_0x3cb1f3][_0x2ffd21[_0x39e972(0x2e5)]]['map'](clean)},_0x460fcb[_0x3cb1f3][_0x2ffd21[_0x39e972(0x2e5)]][_0x39e972(0x2ba)](_0x1f2a1b=>{const _0x187c7b=_0x39e972;if(_0x246300[_0x187c7b(0x24c)](_0x1f2a1b[_0x187c7b(0x284)],_0x246300['ZWsLO']))_0x4ca8d4[_0x3cb1f3][_0x246300[_0x187c7b(0x281)]][_0x187c7b(0x2c7)](_0x246300[_0x187c7b(0x1f4)](clean,_0x1f2a1b));else _0x246300[_0x187c7b(0x29e)](_0x1f2a1b[_0x187c7b(0x284)],_0x246300[_0x187c7b(0x262)])?_0x4ca8d4[_0x3cb1f3][_0x246300[_0x187c7b(0x201)]][_0x187c7b(0x2c7)](_0x246300[_0x187c7b(0x1f4)](clean,_0x1f2a1b)):_0x4ca8d4[_0x3cb1f3][_0x246300['gcStI']][_0x187c7b(0x2c7)](_0x246300[_0x187c7b(0x1f4)](clean,_0x1f2a1b));});});if(_0x386268['output'])try{logger[_0x491997(0x1fe)](_0x2ffd21['wDaOI'],_0x386268[_0x491997(0x290)]),fs['writeFileSync'](_0x386268['output'],JSON[_0x491997(0x2fd)](_0x4ca8d4,null,0x3));}catch(_0x2a9421){logger['error'](_0x2ffd21[_0x491997(0x271)],_0x386268[_0x491997(0x290)]),logger[_0x491997(0x1fe)](_0x2a9421);}else logger['debug'](_0x2ffd21['uxzZw']),console[_0x491997(0x20d)](JSON[_0x491997(0x2fd)](_0x4ca8d4,null,0x3));}else{if(_0x2ffd21[_0x491997(0x22c)](_0x5a7480,_0x2ffd21[_0x491997(0x227)])){let _0x14756e;const _0x22ac76=_0x2ffd21[_0x491997(0x2a8)];_0x386268&&(_0x14756e=_0x386268[_0x491997(0x1f2)]);_0x14756e=_0x2ffd21[_0x491997(0x1f6)](_0x14756e,_0x22ac76);let _0x286e61=0x0,_0x47188a=0x0,_0x8bca13=0x0,_0x1e5194=0x0;_0x4d1931[_0x491997(0x2ba)](_0x4cc2c2=>{const _0x2a5332=_0x491997,_0x1e7c18={'QWSvu':function(_0x1a5d48,_0x20f0b3){const _0x415e87=a28_0x3d6d;return _0x2ffd21[_0x415e87(0x22c)](_0x1a5d48,_0x20f0b3);},'cDIkT':_0x2ffd21[_0x2a5332(0x29a)],'CXLMS':function(_0xcddd07,_0x510890){const _0x1cecb7=_0x2a5332;return _0x2ffd21[_0x1cecb7(0x1fd)](_0xcddd07,_0x510890);},'FWZKD':_0x2ffd21['WcHDP'],'gTwcO':function(_0x48a4f4,_0x132248){return _0x2ffd21['KQEuA'](_0x48a4f4,_0x132248);}};_0x460fcb[_0x4cc2c2][_0x2ffd21[_0x2a5332(0x2e5)]][_0x2a5332(0x2ba)](_0xc65936=>{const _0x3cc15b=_0x2a5332;if(_0x1e7c18[_0x3cc15b(0x235)](_0xc65936['state'],_0x1e7c18[_0x3cc15b(0x2fa)]))_0x286e61++;else _0x1e7c18['CXLMS'](_0xc65936[_0x3cc15b(0x284)],_0x1e7c18['FWZKD'])&&_0x47188a++;_0x8bca13++,_0x1e5194+=_0x1e7c18['gTwcO'](_0xc65936['duration'],0x1);});}),_0x2ffd21['OGdyI'](xunitWrite,_0x2ffd21[_0x491997(0x293)](tag,_0x2ffd21[_0x491997(0x1f5)],{'name':_0x14756e,'tests':_0x8bca13,'failures':0x0,'errors':_0x47188a,'skipped':_0x2ffd21[_0x491997(0x24e)](_0x2ffd21[_0x491997(0x237)](_0x8bca13,_0x47188a),_0x286e61),'timestamp':new Date()[_0x491997(0x28f)](),'time':_0x2ffd21[_0x491997(0x261)](_0x1e5194,0x3e8)||0x0},![])),_0x4d1931[_0x491997(0x2ba)](_0x51ec79=>{const _0x4b26e7=_0x491997,_0x16e42f={'QuDyP':function(_0xadaec9,_0x43828a,_0x337aae){const _0x11dfef=a28_0x3d6d;return _0x2ffd21[_0x11dfef(0x296)](_0xadaec9,_0x43828a,_0x337aae);}};_0x460fcb[_0x51ec79][_0x2ffd21[_0x4b26e7(0x2e5)]][_0x4b26e7(0x2ba)](_0x31cb37=>{const _0x24b835=_0x4b26e7;_0x16e42f[_0x24b835(0x20f)](xunitTest,_0x31cb37,_0x51ec79);});}),_0x2ffd21[_0x491997(0x22f)](xunitWrite,_0x2ffd21[_0x491997(0x28d)]);if(_0x386268[_0x491997(0x290)])try{logger[_0x491997(0x1fe)](_0x2ffd21[_0x491997(0x27a)],_0x386268[_0x491997(0x290)]),fs[_0x491997(0x252)](_0x386268[_0x491997(0x290)],xunitContent);}catch(_0x344022){logger[_0x491997(0x29c)](_0x2ffd21[_0x491997(0x2de)],_0x386268[_0x491997(0x290)]),logger['debug'](_0x344022);}else logger[_0x491997(0x1fe)](_0x2ffd21[_0x491997(0x2ee)]),console[_0x491997(0x20d)](xunitContent);}else{if(_0x2ffd21[_0x491997(0x2f9)](_0x1c1e22,0x0))return;console[_0x491997(0x20d)](),logger['debug'](_0x2ffd21['rzIni']),console['log'](chalk[_0x491997(0x23d)][_0x491997(0x224)](_0x2ffd21[_0x491997(0x2c6)])),_0x4d1931[_0x491997(0x2ba)](_0xa220fe=>{const _0x1c756d=_0x491997,_0x3dc8cb={'aiAQI':function(_0x172517,_0x30ce7d){const _0x1a3e74=a28_0x3d6d;return _0x2ffd21[_0x1a3e74(0x24d)](_0x172517,_0x30ce7d);},'RHPRX':_0x2ffd21[_0x1c756d(0x2d5)]},_0x45f3a8=[];_0x460fcb[_0xa220fe][_0x2ffd21[_0x1c756d(0x2e5)]][_0x1c756d(0x2ba)](_0xf41e21=>{const _0x2b8158=_0x1c756d;_0x3dc8cb[_0x2b8158(0x246)](_0xf41e21[_0x2b8158(0x284)],_0x3dc8cb['RHPRX'])&&(_0xf41e21[_0x2b8158(0x27c)]=()=>_0xf41e21[_0x2b8158(0x2ce)],_0x45f3a8[_0x2b8158(0x2c7)](_0xf41e21));}),_0x2ffd21[_0x1c756d(0x25c)](_0x45f3a8['length'],0x0)&&(Base[_0x1c756d(0x2c8)](),Base[_0x1c756d(0x2c8)](_0x2ffd21[_0x1c756d(0x2cc)](_0x174b00),chalk['bold'][_0x1c756d(0x2d0)](_0xa220fe)),Base[_0x1c756d(0x233)](_0x45f3a8));});}}}async function run(_0x84021d,_0x55c6e0){const _0x5a37af=a28_0x4093e4,_0x2555b7={'vkbgr':function(_0x1235a0,_0x1d1e4a,_0x3bde02,_0x1546d9){return _0x1235a0(_0x1d1e4a,_0x3bde02,_0x1546d9);},'FHFpD':_0x5a37af(0x2d8),'ufGCC':'error\x20removing\x20tcg\x20config\x20file','EYhcr':_0x5a37af(0x2d6),'QRmrz':function(_0x353ab6,_0x2e033d,_0x30ff26,_0x2a6560){return _0x353ab6(_0x2e033d,_0x30ff26,_0x2a6560);},'jDioO':_0x5a37af(0x289),'xydeo':'--disable-test-observability','XfqTN':_0x5a37af(0x2dd),'aZtpa':function(_0x4899b4,_0x1919d4){return _0x4899b4!=_0x1919d4;},'yFiuz':_0x5a37af(0x283),'lGyGC':'mjs','iIYiF':_0x5a37af(0x247),'vKUBN':_0x5a37af(0x21e),'VgkrU':function(_0x358a48,_0x461e7d){return _0x358a48(_0x461e7d);},'mFPQs':function(_0x43f7a6,_0x53efd5,_0x1ed31a){return _0x43f7a6(_0x53efd5,_0x1ed31a);},'KmQst':_0x5a37af(0x260),'FfEvj':_0x5a37af(0x23c),'jJqxq':'Now,\x20showing\x20logs\x20from\x20mocha','OVFvZ':function(_0x1cae01,_0x4b5561,_0x5b573b,_0x262708){return _0x1cae01(_0x4b5561,_0x5b573b,_0x262708);},'NbQbh':function(_0x3cd123,_0x4ca84d){return _0x3cd123*_0x4ca84d;},'bRwMm':function(_0x3f62b7,_0x32355e){return _0x3f62b7(_0x32355e);},'qlazZ':function(_0x3beee2,_0x4a37f2){return _0x3beee2!==_0x4a37f2;},'DRlmX':function(_0x555aee,_0x52f4d4,_0x1b750c,_0x4023ba){return _0x555aee(_0x52f4d4,_0x1b750c,_0x4023ba);}};process[_0x5a37af(0x28e)][_0x5a37af(0x274)](_0x2555b7[_0x5a37af(0x214)])&&(process[_0x5a37af(0x248)][_0x5a37af(0x292)]=![]);process['argv'][_0x5a37af(0x274)](_0x2555b7[_0x5a37af(0x264)])&&(process['env'][_0x5a37af(0x28c)]=![]);const _0xeb6fdd=new BrowserStackSetup(_0x84021d,_0x2555b7[_0x5a37af(0x299)]);helper['isBrowserstackInfra']()?(await _0xeb6fdd[_0x5a37af(0x238)](),await helper[_0x5a37af(0x20a)](_0xeb6fdd[_0x5a37af(0x2e7)])):await _0xeb6fdd[_0x5a37af(0x251)]();const _0x4a386d=[];let _0x5e3619=[];if(!_0xeb6fdd[_0x5a37af(0x2e7)])return;_0x2555b7['aZtpa'](_0xeb6fdd['config'][_0x5a37af(0x2b3)],null)&&(process['env'][_0x5a37af(0x211)]=_0xeb6fdd[_0x5a37af(0x2e7)][_0x5a37af(0x2b3)]);!helper['isUndefined'](_0xeb6fdd[_0x5a37af(0x2e7)][_0x5a37af(0x2cd)])&&(process[_0x5a37af(0x248)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0xeb6fdd['config'][_0x5a37af(0x2cd)]);!helper['isUndefined'](_0xeb6fdd['config'][_0x5a37af(0x2b2)])&&(process[_0x5a37af(0x248)][_0x5a37af(0x2e3)]=JSON['stringify'](_0xeb6fdd[_0x5a37af(0x2e7)][_0x5a37af(0x2b2)]));const {extension:extension=['js',_0x2555b7['yFiuz'],_0x2555b7[_0x5a37af(0x267)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x2555b7[_0x5a37af(0x253)]]}=_0x84021d,_0x36ea3f={..._0x84021d};_0x36ea3f[_0x5a37af(0x2a3)]=null;const _0x3ba5aa=_0x36ea3f;let _0x219e17;if(testOpsHelper[_0x5a37af(0x1fb)]()&&testOpsHelper[_0x5a37af(0x2d7)]()){let _0x31c425=process[_0x5a37af(0x248)][_0x5a37af(0x26b)];!helper[_0x5a37af(0x216)](_0xeb6fdd[_0x5a37af(0x294)])&&_0xeb6fdd['cliConfig'][_0x5a37af(0x226)](_0x2555b7['vKUBN'])&&(_0x31c425=_0xeb6fdd[_0x5a37af(0x294)][_0x5a37af(0x241)](_0x2555b7[_0x5a37af(0x2ec)])),_0x219e17=testOpsHelper[_0x5a37af(0x2b8)](_0x31c425);}if(helper['isUndefined'](_0x219e17)){const _0x1c43f3={};_0x1c43f3[_0x5a37af(0x200)]=ignore,_0x1c43f3[_0x5a37af(0x2dc)]=extension,_0x1c43f3[_0x5a37af(0x27d)]=file,_0x1c43f3[_0x5a37af(0x20b)]=recursive,_0x1c43f3[_0x5a37af(0x236)]=sort,_0x1c43f3[_0x5a37af(0x21c)]=spec,_0x219e17=_0x2555b7[_0x5a37af(0x221)](collectFiles,_0x1c43f3),_0x2555b7[_0x5a37af(0x2bc)](nestedKeyValue,_0x219e17,[_0x2555b7[_0x5a37af(0x219)]])&&(_0x219e17=_0x219e17['files']);}if(!helper[_0x5a37af(0x295)]()){const _0x347ac0=0x1,_0x47f4be={..._0x3ba5aa};_0x47f4be['spec']=[..._0x219e17],_0x4a386d[_0x5a37af(0x2c7)]({'mochaOpts':_0x47f4be,'configuration':{'platform':os[_0x5a37af(0x2c2)]()}}),logger[_0x5a37af(0x26e)](_0x2555b7[_0x5a37af(0x2a9)]),logger[_0x5a37af(0x26e)](_0x2555b7[_0x5a37af(0x2b5)]),_0x2555b7[_0x5a37af(0x207)](parallelTestRun,_0x4a386d,_0x347ac0,_0xeb6fdd)[_0x5a37af(0x2c0)](_0x10669a=>{const _0x3c7382=_0x5a37af;PerformanceTester['start'](PerformanceEvents[_0x3c7382(0x2bd)]),_0x2555b7[_0x3c7382(0x2e0)](printStats,_0x10669a,_0x84021d[_0x3c7382(0x2ca)],_0x84021d[_0x3c7382(0x2f5)]||_0x84021d[_0x2555b7[_0x3c7382(0x276)]]);})[_0x5a37af(0x268)](()=>{const _0x399c7b=_0x5a37af;PerformanceTester[_0x399c7b(0x2d4)](PerformanceEvents[_0x399c7b(0x2bd)]);try{const {browserstackFolderPath:_0xb14cde,tcgConfigPath:_0x34d2f9}=helper['getTCGConfigFilePaths']();fs[_0x399c7b(0x2fc)](_0x34d2f9),fs['rmdirSync'](_0xb14cde);}catch(_0x85dfcd){logger[_0x399c7b(0x1fe)](_0x2555b7['ufGCC'],_0x85dfcd);}try{utilities[_0x399c7b(0x26a)](_0x2555b7[_0x399c7b(0x2c3)],{},_0xeb6fdd[_0x399c7b(0x2e7)],_0xeb6fdd[_0x399c7b(0x242)]);}catch(_0x1e175b){logger['debug'](_0x399c7b(0x2d9)+_0x1e175b['stack']);}try{helper[_0x399c7b(0x27e)]();}catch(_0x58abea){logger[_0x399c7b(0x1fe)](_0x399c7b(0x2f4)+_0x58abea);}testOpsHelper['printBuildLink']();});}else{const _0x12a12b=helper[_0x5a37af(0x282)](_0xeb6fdd['config']);let _0x33233a=helper['getHubUrl'](_0xeb6fdd[_0x5a37af(0x2e7)]);_0x5e3619=helper[_0x5a37af(0x300)](_0xeb6fdd[_0x5a37af(0x2e7)],_0x12a12b,constants[_0x5a37af(0x2f2)][_0x5a37af(0x203)]);process['env'][_0x5a37af(0x275)]&&(_0x33233a=centralScannerConstants[_0x5a37af(0x23a)]);let _0x4d0a76;const _0x24eb71=_0xeb6fdd['config'][_0x5a37af(0x202)]||helper[_0x5a37af(0x2a4)](_0x84021d,_0x55c6e0,_0xeb6fdd['config'],constants['FRAMEWORKS'][_0x5a37af(0x203)])||0x1;helper[_0x5a37af(0x256)](_0xeb6fdd[_0x5a37af(0x2e7)])?_0x4d0a76=_0x2555b7[_0x5a37af(0x245)](_0xeb6fdd['config'][_0x5a37af(0x1fa)][_0x5a37af(0x2e9)],_0x24eb71):_0x4d0a76=_0x24eb71;const _0x2697da=_0x2555b7[_0x5a37af(0x2d1)](getPercyOptions,_0xeb6fdd[_0x5a37af(0x2e7)]);if(_0x2555b7[_0x5a37af(0x2c4)](_0xeb6fdd[_0x5a37af(0x2e7)]['parallelsPerPlatform'],0x1))_0x219e17[_0x5a37af(0x2ba)](_0x5b8717=>{const _0x564de5=_0x5a37af,_0x148d90=[];_0x5e3619[_0x564de5(0x2ba)]((_0x1a697a,_0x2355b3)=>{const _0x394a59=_0x564de5,_0x1a48d2={};_0x1a48d2[_0x394a59(0x21c)]=[_0x5b8717],_0x148d90[_0x394a59(0x2c7)]({'mochaOpts':Object[_0x394a59(0x1f3)]({},_0x3ba5aa,_0x1a48d2),'configuration':{'server':_0x33233a,'capability':_0x1a697a,'proxySettings':_0xeb6fdd['config'][_0x394a59(0x2ff)],'platform':helper['getPlatformName'](_0x1a697a),'browserStackLogLevel':_0xeb6fdd['config'][_0x394a59(0x269)],'platformIndex':_0x2355b3,'browserStackPercyOptions':_0x2697da,'platformCaps':Object[_0x394a59(0x1f3)]({'index':_0x2355b3},_0xeb6fdd[_0x394a59(0x2e7)][_0x394a59(0x1fa)][_0x2355b3])}});}),_0x4a386d[_0x564de5(0x2c7)](..._0x148d90);});else{const _0x3bf4b2=[];_0x5e3619[_0x5a37af(0x2ba)]((_0x419769,_0x5c82f5)=>{const _0x419fe0=_0x5a37af;let _0x359bbb=Object[_0x419fe0(0x1f3)]({},_0x3ba5aa);testOpsHelper[_0x419fe0(0x1fb)]()&&testOpsHelper[_0x419fe0(0x2d7)]()&&(_0x359bbb={..._0x359bbb,'spec':[..._0x219e17]}),_0x3bf4b2['push']({'mochaOpts':_0x359bbb,'configuration':{'server':_0x33233a,'capability':_0x419769,'proxySettings':_0xeb6fdd[_0x419fe0(0x2e7)][_0x419fe0(0x2ff)],'platform':helper[_0x419fe0(0x28b)](_0x419769),'browserStackLogLevel':_0xeb6fdd[_0x419fe0(0x2e7)][_0x419fe0(0x269)],'platformIndex':_0x5c82f5,'browserStackPercyOptions':_0x2697da,'platformCaps':Object['assign']({'index':_0x5c82f5},_0xeb6fdd[_0x419fe0(0x2e7)][_0x419fe0(0x1fa)][_0x5c82f5])}});}),_0x4a386d[_0x5a37af(0x2c7)](..._0x3bf4b2);}logger[_0x5a37af(0x26e)]('Running\x20your\x20mocha\x20tests\x20across\x20'+_0xeb6fdd[_0x5a37af(0x2e7)][_0x5a37af(0x1fa)][_0x5a37af(0x2e9)]+_0x5a37af(0x2d3)),logger[_0x5a37af(0x26e)](_0x2555b7[_0x5a37af(0x2b5)]);let _0x477d12;_0x2555b7[_0x5a37af(0x22a)](parallelTestRun,_0x4a386d,_0x4d0a76,_0xeb6fdd)[_0x5a37af(0x2c0)](_0x46dcde=>{const _0x5799c7=_0x5a37af;PerformanceTester['start'](PerformanceEvents[_0x5799c7(0x2bd)]),_0x477d12=_0x46dcde,_0x2555b7['QRmrz'](printStats,_0x46dcde,_0x84021d[_0x5799c7(0x2ca)],_0x84021d[_0x5799c7(0x2f5)]||_0x84021d[_0x2555b7[_0x5799c7(0x276)]]);})[_0x5a37af(0x268)](async()=>{const _0x10a39a=_0x5a37af;PerformanceTester[_0x10a39a(0x2d4)](PerformanceEvents[_0x10a39a(0x2bd)]),_0xeb6fdd[_0x10a39a(0x291)]=helper['getErrorMessageFromResults'](_0x477d12,_0x2555b7[_0x10a39a(0x299)]),await utilities['finalExecution'](_0xeb6fdd),testOpsHelper[_0x10a39a(0x2f1)]();});}}module['exports']=run;
2
+ 'use strict';function a28_0x5e6a(){const _0x2b2b9b=['aVlun','BROWSERSTACK_RERUN_TESTS','generateDiff','fireFunnelTestEvent','debug','tPpcW','Total\x20Platforms:\x20','gEoJc','juFFx','testsPassed','Mocha\x20Tests','pdTgU','17sitfVW','notifyUpdate','dfYif','NTrDQ','dZdVG','uarLD','PIInF','EDAdt','KGDur','../../helpers/performance/constants','exports','cjs','results','XTUAs','3950415MBnxyE','json','oUitM','mocha/lib/cli/collect-files.js','****\x20FAILURES\x20****','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','bcNlY','5547245FRbOWU','Total\x20Suites:\x20','failed','../../helpers/central-scanner/constants','consoleLog','pqJVX','message','RkncD','cwdtb','setupTCGAuth','jbqzi','getHubUrl','PRBjd','--disable-browserstack-automation','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','bold','suiteName','forEach','5148432muxFev','FRAMEWORKS','call','platforms','spec','gcHQI','glAjN','Tests:\x20\x20\x20\x20\x20\x20\x20','Writing\x20json\x20result\x20to\x20file','test','rerunTests','BSwUz','FmLLs','../../helpers/logger','isUndefined','uphqh','CWbzb','TWbmq','XxSON','SDK_CLEANUP','JuuKZ','xunit','QwCUd','Couldn\x27t\x20write\x20json\x20result\x20to','FAssO','RPzjT','stack','error\x20removing\x20tcg\x20config\x20file','hideDiff','fIivi','output','bgRedBright','tXevL','testSuites','titlePath','LotwB','isTestObservabilitySession','NZnIP','QCEUM','chalk','1866724XVcnRj','length','prototype','rootHooks','1195896fyDtZk','Amhrb','shouldReRunObservabilityTests','iIgeO','BROWSERSTACK_TEST_OBSERVABILITY_YML','doc','AMrnb','../../helpers/performance/performance-tester','Printing\x20stats\x20of\x20tests','accessibility','EqEpc','fullTitle','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','getPlatformName','rBtZi','parseFileNames','info','Nnibz','reporterOptions','stringify','argv','useColors','wkkHi','LvCKz','../../helpers/percy/utils','ignore','parse','Sanox','MOCHA','yiRQN','\x20platforms','log','testsPending','pending','has','accessibilityOptions','env','Mwngg','ZDiqN','failures','handleApp','Couldn\x27t\x20write\x20xunit\x20result\x20to','object','Running\x20your\x20mocha\x20tests','BROWSERSTACK_TEST_ACCESSIBILITY_YML','mocha','writeFileSync','\x20total','PiJFU','toUTCString','NBnkm','--disable-test-observability','state','yellow','../../helpers/helper','reporter','SDKTestSuccessful','testObservability','red','includes','107990JpxQUm','BROWSERSTACK_TEST_OBSERVABILITY','duration','LRTYl','printBuildLink','passes','BROWSERSTACK_GRR_US_HUB_URL','../test-runner','\x20passed','VpNhN','AEgQy','2783001XiPtuR','isBrowserstackInfra','dzxIy','../utils/constants','Gqfhu','passed','push','Now,\x20showing\x20logs\x20from\x20mocha','add','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','NIehY','stats','showDiff','zPXDO','then','min','oormD','cliConfig','gVlGt','Writing\x20xunit\x20result\x20to\x20file','BROWSERSTACK_CENTRAL_USER','reporter-option','uyTwK','mYtdt','gWJjL','ioMdH','sort','isPending','initialize','\x20failed','byPXz','sUiYR','logLevel','\x20skipped','\x0a\x0a\x0a','bgBlueBright','Setting\x20non\x20exit\x20code\x20for\x20failures','winstonLogger','QhjGf','assign','files','cUPLW','exitCode','UOfZq','getOwnPropertyNames','fBAGv','oEiTH','testsuite','mjs','testsFailed','VoQLI','validPlatformsPresent','Igpeu','SBKkU','CVEcr','vtBLw','AUmNs','get','err','Slmjt','size','Listing\x20all\x20the\x20failures','zpywX','file','NhUmS','sCIku','fIQxn','getUserWorkerCount','qayaZ','errorMessage','title','fXUGN','Maxih','XoTKo','map','kTatm','prepareCapabilities','platform','parallelsPerPlatform','YhyOo','finally','config','oZYGq','sORhm','VNeDY','zJtQz','join','FWImt','UsBkj','start'];a28_0x5e6a=function(){return _0x2b2b9b;};return a28_0x5e6a();}const a28_0x34315f=a28_0x5e0f;(function(_0x20f9d0,_0x5428c0){const _0x38e84b=a28_0x5e0f,_0x58a3c2=_0x20f9d0();while(!![]){try{const _0x591c3e=-parseInt(_0x38e84b(0x1ba))/0x1*(parseInt(_0x38e84b(0x149))/0x2)+parseInt(_0x38e84b(0x154))/0x3+-parseInt(_0x38e84b(0x109))/0x4+parseInt(_0x38e84b(0xcf))/0x5+parseInt(_0x38e84b(0x10d))/0x6+parseInt(_0x38e84b(0x1c8))/0x7+-parseInt(_0x38e84b(0xe1))/0x8;if(_0x591c3e===_0x5428c0)break;else _0x58a3c2['push'](_0x58a3c2['shift']());}catch(_0x3eeac8){_0x58a3c2['push'](_0x58a3c2['shift']());}}}(a28_0x5e6a,0xbca13));const chalk=require(a28_0x34315f(0x108)),logger=require(a28_0x34315f(0xee))[a28_0x34315f(0x179)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a28_0x34315f(0x143)),utilities=require('../../helpers/utilities'),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x34315f(0x150)),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require(a28_0x34315f(0x125)),Base=requireModule('mocha/lib/reporters/base.js','mocha'),collectFiles=requireModule(a28_0x34315f(0x1cb),a28_0x34315f(0x13a)),constants=require(a28_0x34315f(0x157)),PerformanceTester=require(a28_0x34315f(0x114)),PerformanceEvents=require(a28_0x34315f(0x1c3))['EVENTS'],centralScannerConstants=require(a28_0x34315f(0xd2));function tag(_0x3c4455,_0x2b1a18,_0x3824c4,_0x1eb484){const _0x20da72=a28_0x34315f,_0x361ce7={'aVlun':function(_0x36a9ba,_0x5ceb6a){return _0x36a9ba+_0x5ceb6a;},'UsBkj':function(_0x169674,_0x24a6b4){return _0x169674+_0x24a6b4;},'NiMZU':function(_0x50a464,_0x2bb412){return _0x50a464(_0x2bb412);},'Maxih':function(_0x1f65fd,_0x579b62){return _0x1f65fd+_0x579b62;},'mYtdt':function(_0x2d28b2,_0x2ff574){return _0x2d28b2+_0x2ff574;},'AUmNs':function(_0x5f01c9,_0x57806f){return _0x5f01c9+_0x57806f;}},_0x1c75c0=_0x3824c4?'/>':'>',_0x4c97b0=[];let _0x559281;for(const _0x53ffd8 in _0x2b1a18){Object[_0x20da72(0x10b)]['hasOwnProperty'][_0x20da72(0xe3)](_0x2b1a18,_0x53ffd8)&&_0x4c97b0[_0x20da72(0x15a)](_0x361ce7[_0x20da72(0x1ae)](_0x361ce7[_0x20da72(0x1ac)](_0x361ce7[_0x20da72(0x1ae)](_0x53ffd8,'=\x22'),_0x361ce7['NiMZU'](escape,_0x2b1a18[_0x53ffd8])),'\x22'));}return _0x559281=_0x361ce7['UsBkj'](_0x361ce7[_0x20da72(0x19c)](_0x361ce7['Maxih']('<',_0x3c4455),_0x4c97b0[_0x20da72(0x10a)]?_0x361ce7[_0x20da72(0x16b)]('\x20',_0x4c97b0[_0x20da72(0x1aa)]('\x20')):''),_0x1c75c0),_0x1eb484&&(_0x559281+=_0x361ce7['aVlun'](_0x361ce7[_0x20da72(0x18c)](_0x361ce7[_0x20da72(0x16b)](_0x1eb484,'</'),_0x3c4455),_0x1c75c0)),_0x559281;}let xunitContent='';function a28_0x5e0f(_0x307da3,_0x371aa7){const _0x5e6a71=a28_0x5e6a();return a28_0x5e0f=function(_0x5e0f87,_0xca8e70){_0x5e0f87=_0x5e0f87-0xce;let _0x10089f=_0x5e6a71[_0x5e0f87];return _0x10089f;},a28_0x5e0f(_0x307da3,_0x371aa7);}function xunitWrite(_0x14eed6){xunitContent+=_0x14eed6;}function xunitTest(_0x21f76a,_0x19e717){const _0x457201=a28_0x34315f,_0x4bb48b={'CVEcr':function(_0x5b6b40,_0x176bc5){return _0x5b6b40/_0x176bc5;},'aqjsI':function(_0x332b65,_0x25389c){return _0x332b65===_0x25389c;},'AEgQy':_0x457201(0xd1),'sNtjs':function(_0x1cf16b,_0x517933){return _0x1cf16b+_0x517933;},'LotwB':function(_0x596fca,_0x2cab40){return _0x596fca(_0x2cab40);},'NZnIP':function(_0x1facfe,_0xb62446,_0x230de6,_0x449cee,_0x2c04c4){return _0x1facfe(_0xb62446,_0x230de6,_0x449cee,_0x2c04c4);},'bcNlY':'testcase','LvCKz':'failure','rpcih':function(_0x3b772e,_0x39c2ae){return _0x3b772e+_0x39c2ae;},'QwCUd':function(_0x4ac08f,_0xb1709e){return _0x4ac08f+_0xb1709e;},'SBKkU':function(_0x22258a,_0x4acbfd){return _0x22258a+_0x4acbfd;},'efXAR':function(_0x477cbc,_0xa88d34,_0x18c585,_0x580adc){return _0x477cbc(_0xa88d34,_0x18c585,_0x580adc);},'zJtQz':'skipped'};Base[_0x457201(0x122)]=![];var _0x3711c4={'classname':_0x21f76a[_0x457201(0x118)],'name':_0x21f76a['title'],'time':_0x4bb48b[_0x457201(0x18a)](_0x21f76a[_0x457201(0x14b)],0x3e8)||0x0,'platform':_0x19e717};if(_0x4bb48b['aqjsI'](_0x21f76a['state'],_0x4bb48b[_0x457201(0x153)])){var _0x200ab4=_0x21f76a[_0x457201(0x18e)],_0x1f70c0=!Base[_0x457201(0xfd)]&&Base[_0x457201(0x160)](_0x200ab4)?_0x4bb48b['sNtjs']('\x0a',Base[_0x457201(0x1b0)](_0x200ab4['actual'],_0x200ab4['expected'])):'';_0x4bb48b['LotwB'](xunitWrite,_0x4bb48b[_0x457201(0x106)](tag,_0x4bb48b[_0x457201(0xce)],_0x3711c4,![],_0x4bb48b[_0x457201(0x106)](tag,_0x4bb48b[_0x457201(0x124)],{},![],_0x4bb48b['rpcih'](_0x4bb48b[_0x457201(0xf7)](_0x4bb48b[_0x457201(0x189)](_0x4bb48b[_0x457201(0x104)](escape,_0x200ab4[_0x457201(0xd5)]),_0x4bb48b[_0x457201(0x104)](escape,_0x1f70c0)),'\x0a'),_0x4bb48b[_0x457201(0x104)](escape,_0x200ab4[_0x457201(0xfb)])))));}else _0x21f76a[_0x457201(0x16f)]?_0x4bb48b[_0x457201(0x104)](xunitWrite,_0x4bb48b[_0x457201(0x106)](tag,_0x4bb48b[_0x457201(0xce)],_0x3711c4,![],_0x4bb48b['efXAR'](tag,_0x4bb48b[_0x457201(0x1a9)],{},!![]))):_0x4bb48b[_0x457201(0x104)](xunitWrite,_0x4bb48b['efXAR'](tag,_0x4bb48b[_0x457201(0xce)],_0x3711c4,!![]));};function getStats(_0xb8cd8f){const _0xf37ee7=a28_0x34315f,_0x5ecaf1={};_0x5ecaf1[_0xf37ee7(0x133)]='suite',_0x5ecaf1['sCIku']=_0xf37ee7(0x159),_0x5ecaf1[_0xf37ee7(0xfa)]=_0xf37ee7(0xd1),_0x5ecaf1[_0xf37ee7(0x117)]='results';const _0x41b3a6=_0x5ecaf1,_0x3562fc=Object['keys'](_0xb8cd8f);let _0x9742f4=0x0,_0x344e23=0x0,_0x3f4bb2=0x0,_0x23c839=0x0;const _0x55aac9=new Set();_0x3562fc['forEach'](_0x51ab5f=>{const _0x39d659=_0xf37ee7;_0xb8cd8f[_0x51ab5f][_0x41b3a6['EqEpc']][_0x39d659(0xe0)](_0x19134a=>{const _0x5973b8=_0x39d659;_0x55aac9[_0x5973b8(0x15c)](_0x19134a[_0x41b3a6[_0x5973b8(0x133)]]),_0x9742f4++;switch(_0x19134a[_0x5973b8(0x141)]){case _0x41b3a6[_0x5973b8(0x195)]:_0x3f4bb2++;break;case _0x41b3a6['RPzjT']:_0x344e23++;break;default:_0x23c839++;}});});const _0x3cc080={};return _0x3cc080[_0xf37ee7(0x102)]=_0x55aac9[_0xf37ee7(0x190)],_0x3cc080[_0xf37ee7(0xe4)]=_0x3562fc,_0x3cc080['totalTests']=_0x9742f4,_0x3cc080[_0xf37ee7(0x185)]=_0x344e23,_0x3cc080[_0xf37ee7(0x1b7)]=_0x3f4bb2,_0x3cc080['testsPending']=_0x23c839,_0x3cc080;}function errorJSON(_0x481762){const _0x2a3a07=a28_0x34315f;var _0x283d46={};return Object[_0x2a3a07(0x180)](_0x481762)['forEach'](function(_0x2ffb50){_0x283d46[_0x2ffb50]=_0x481762[_0x2ffb50];},_0x481762),_0x283d46;}function cleanCycles(_0x3736a8){const _0xae7041=a28_0x34315f,_0x5d168c={};_0x5d168c[_0xae7041(0x166)]=function(_0xa2db7f,_0x5eb876){return _0xa2db7f===_0x5eb876;},_0x5d168c[_0xae7041(0x186)]=_0xae7041(0x137),_0x5d168c[_0xae7041(0x13d)]=function(_0x5aaa54,_0x2f2151){return _0x5aaa54!==_0x2f2151;},_0x5d168c[_0xae7041(0xfe)]=function(_0x238871,_0x33c8fb){return _0x238871!==_0x33c8fb;},_0x5d168c['zfexZ']=function(_0x57177f,_0xfc8cb1){return _0x57177f+_0xfc8cb1;};const _0x5f533b=_0x5d168c;var _0x38055=[];return JSON[_0xae7041(0x127)](JSON[_0xae7041(0x120)](_0x3736a8,function(_0x3e5440,_0x570cc5){const _0x51349f=_0xae7041;if(_0x5f533b['gVlGt'](typeof _0x570cc5,_0x5f533b[_0x51349f(0x186)])&&_0x5f533b[_0x51349f(0x13d)](_0x570cc5,null)){if(_0x5f533b[_0x51349f(0xfe)](_0x38055['indexOf'](_0x570cc5),-0x1))return _0x5f533b['zfexZ']('',_0x570cc5);_0x38055[_0x51349f(0x15a)](_0x570cc5);}return _0x570cc5;}));}function clean(_0x2cac0b){const _0xa8834c=a28_0x34315f,_0x57161c={'QCEUM':function(_0x4f9b02,_0x20723a){return _0x4f9b02 instanceof _0x20723a;},'uphqh':function(_0x5d9097,_0x10d4c3){return _0x5d9097(_0x10d4c3);},'zpywX':function(_0x17bbbb,_0x57f867){return _0x17bbbb(_0x57f867);}};var _0x47086e=_0x2cac0b[_0xa8834c(0x18e)]||{};return _0x57161c[_0xa8834c(0x107)](_0x47086e,Error)&&(_0x47086e=_0x57161c[_0xa8834c(0xf0)](errorJSON,_0x47086e)),{'title':_0x2cac0b[_0xa8834c(0x19a)],'fullTitle':_0x2cac0b[_0xa8834c(0x118)],'file':_0x2cac0b[_0xa8834c(0x193)],'duration':_0x2cac0b['duration'],'currentRetry':_0x2cac0b['currentRetry'],'speed':_0x2cac0b['speed'],'err':_0x57161c[_0xa8834c(0x192)](cleanCycles,_0x47086e)};}function printStats(_0x1ce428,_0x53ae00=a28_0x34315f(0xe5),_0x384558={}){const _0x2c0100=a28_0x34315f,_0x3d2d56={'PIInF':function(_0x5c3261,_0x39b3c0){return _0x5c3261(_0x39b3c0);},'JuuKZ':function(_0x5ce06a,_0x4065ad){return _0x5ce06a===_0x4065ad;},'YhyOo':_0x2c0100(0x159),'BSwUz':_0x2c0100(0x14e),'sORhm':function(_0xc6a316,_0x51fad5){return _0xc6a316(_0x51fad5);},'iIgeO':_0x2c0100(0xd1),'Slmjt':_0x2c0100(0x134),'XTUAs':_0x2c0100(0x12e),'jbqzi':function(_0x1661e0,_0x4c1c63){return _0x1661e0(_0x4c1c63);},'EDAdt':_0x2c0100(0x1c6),'juFFx':function(_0x2fa482,_0x1e1a11){return _0x2fa482===_0x1e1a11;},'ioMdH':function(_0x1a088d,_0xc7c964){return _0x1a088d===_0xc7c964;},'pswTi':function(_0x1dba7b,_0x46f4b7){return _0x1dba7b*_0x46f4b7;},'pdTgU':function(_0x48fc02,_0x57f908,_0x9d95e7){return _0x48fc02(_0x57f908,_0x9d95e7);},'uyTwK':function(_0x27bdb8,_0x26e679){return _0x27bdb8===_0x26e679;},'dZdVG':function(_0x27825b,_0x388900){return _0x27825b>_0x388900;},'uarLD':function(_0x273f2f){return _0x273f2f();},'sUiYR':function(_0x45cbcb,_0x151186){return _0x45cbcb===_0x151186;},'QhjGf':_0x2c0100(0x112),'zPXDO':_0x2c0100(0x178),'tPpcW':_0x2c0100(0x115),'yiRQN':function(_0x54e6ce,_0x529572){return _0x54e6ce+_0x529572;},'dfYif':_0x2c0100(0x1b4),'FWImt':function(_0x37a688,_0x9457cf){return _0x37a688+_0x9457cf;},'Gqfhu':_0x2c0100(0xd0),'XxSON':function(_0x50ae25,_0x5ad9d3){return _0x50ae25+_0x5ad9d3;},'fIQxn':function(_0x312f94,_0x3149d5){return _0x312f94+_0x3149d5;},'FmLLs':_0x2c0100(0xe8),'PBOwO':function(_0x53b4df,_0x5b7175){return _0x53b4df>_0x5b7175;},'oormD':function(_0x2611d4,_0x3e17db){return _0x2611d4>_0x3e17db;},'oEiTH':function(_0x16dc29,_0x33d629){return _0x16dc29+_0x33d629;},'KGDur':function(_0x5b5285,_0x26f721){return _0x5b5285+_0x26f721;},'TWbmq':_0x2c0100(0x176),'fXUGN':function(_0x4ce51f,_0x212ebd){return _0x4ce51f===_0x212ebd;},'pqJVX':_0x2c0100(0x1c9),'RkncD':_0x2c0100(0xe9),'ODiKt':_0x2c0100(0xf8),'BZwKU':_0x2c0100(0xdd),'CWbzb':function(_0xfc3008,_0x327d92){return _0xfc3008===_0x327d92;},'cwdtb':_0x2c0100(0xf6),'NnJbj':_0x2c0100(0x1b8),'Mwngg':function(_0x255bd3,_0x29ba94){return _0x255bd3||_0x29ba94;},'Igpeu':function(_0x227738,_0x24ae5f,_0x3f051a,_0x46429c){return _0x227738(_0x24ae5f,_0x3f051a,_0x46429c);},'qayaZ':_0x2c0100(0x183),'Nnibz':function(_0x10b2c0,_0x2cacbd){return _0x10b2c0-_0x2cacbd;},'kTatm':function(_0x457015,_0x284446){return _0x457015/_0x284446;},'HkyGc':function(_0x4d17c2,_0x6ff458){return _0x4d17c2(_0x6ff458);},'fEBbQ':'</testsuite>','VpNhN':_0x2c0100(0x167),'wkkHi':_0x2c0100(0x136),'NhUmS':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','gWJjL':_0x2c0100(0x191),'NTrDQ':_0x2c0100(0x1cc)};if(_0x3d2d56[_0x2c0100(0x173)](_0x53ae00,_0x3d2d56[_0x2c0100(0x17a)]))return;const _0x33201d=0x0,_0x72915d=()=>{const _0x592973=_0x2c0100;return _0x3d2d56[_0x592973(0x1c0)](Array,_0x33201d)[_0x592973(0x1aa)]('\x20\x20');},{testSuites:_0x4ac879,platforms:_0x3deee6,totalTests:_0x5d8ce3,testsFailed:_0x3187fe,testsPassed:_0x55284a,testsPending:_0x172e2b}=_0x3d2d56['PIInF'](getStats,_0x1ce428);_0x3d2d56['dZdVG'](_0x3187fe,0x0)&&(logger[_0x2c0100(0x1b2)](_0x3d2d56[_0x2c0100(0x161)]),process[_0x2c0100(0x17e)]=Math[_0x2c0100(0x163)](_0x3187fe,0xff));logger['debug'](_0x3d2d56[_0x2c0100(0x1b3)]);const _0x2a66ee=''+_0x3d2d56[_0x2c0100(0x12a)](chalk[_0x2c0100(0xde)](_0x3d2d56[_0x2c0100(0x1bc)]),_0x3deee6['length']),_0xf4c8c1=''+_0x3d2d56[_0x2c0100(0x1ab)](chalk[_0x2c0100(0xde)](_0x3d2d56[_0x2c0100(0x158)]),_0x4ac879),_0x867984=''+_0x3d2d56[_0x2c0100(0x12a)](_0x3d2d56[_0x2c0100(0xf3)](_0x3d2d56[_0x2c0100(0x196)](chalk['bold'](_0x3d2d56[_0x2c0100(0xed)]),_0x3d2d56[_0x2c0100(0x1be)](_0x3187fe,0x0)?chalk[_0x2c0100(0xde)][_0x2c0100(0x147)](_0x3187fe+_0x2c0100(0x171))+',\x20':''),_0x3d2d56['PBOwO'](_0x172e2b,0x0)?chalk[_0x2c0100(0xde)][_0x2c0100(0x142)](_0x172e2b+_0x2c0100(0x175))+',\x20':''),_0x3d2d56[_0x2c0100(0x164)](_0x55284a,0x0)?chalk[_0x2c0100(0xde)]['green'](_0x55284a+_0x2c0100(0x151))+',\x20':'')+_0x5d8ce3+_0x2c0100(0x13c);console['log'](_0x3d2d56[_0x2c0100(0x182)](_0x3d2d56[_0x2c0100(0x12a)](_0x3d2d56[_0x2c0100(0x1c2)](_0x3d2d56[_0x2c0100(0xf3)](_0x3d2d56['yiRQN'](_0x3d2d56[_0x2c0100(0xf2)],_0x2a66ee),'\x0a'),_0xf4c8c1),'\x0a'),_0x867984));if(_0x3d2d56[_0x2c0100(0x19b)](_0x53ae00,_0x3d2d56[_0x2c0100(0xd4)])){const _0x3a6f1a={},_0x47028d={};_0x47028d['testSuites']=_0x4ac879,_0x47028d['platforms']=_0x3deee6,_0x47028d['testsFailed']=_0x3187fe,_0x47028d['testsPassed']=_0x55284a,_0x47028d[_0x2c0100(0x12d)]=_0x172e2b,_0x3a6f1a[_0x2c0100(0x15f)]=_0x47028d,_0x3deee6[_0x2c0100(0xe0)](_0x16cb09=>{const _0x1149f7=_0x2c0100,_0x4b9a71={'byPXz':function(_0x1f7d6d,_0x6101b3){const _0x4e8813=a28_0x5e0f;return _0x3d2d56[_0x4e8813(0xf5)](_0x1f7d6d,_0x6101b3);},'VNeDY':_0x3d2d56['YhyOo'],'fBAGv':_0x3d2d56[_0x1149f7(0xec)],'XoTKo':function(_0x4f9a27,_0x397d58){const _0x6d57fc=_0x1149f7;return _0x3d2d56[_0x6d57fc(0x1a7)](_0x4f9a27,_0x397d58);},'UOfZq':_0x3d2d56[_0x1149f7(0x110)],'oCrkD':_0x3d2d56[_0x1149f7(0x18f)],'HSIfj':_0x3d2d56[_0x1149f7(0x1c7)],'gPjca':function(_0x3fcb76,_0x24fdd6){const _0x39cc31=_0x1149f7;return _0x3d2d56[_0x39cc31(0xd9)](_0x3fcb76,_0x24fdd6);}};_0x3a6f1a[_0x16cb09]={'pending':[],'failures':[],'passes':[],'tests':_0x1ce428[_0x16cb09][_0x3d2d56[_0x1149f7(0x1c1)]][_0x1149f7(0x19e)](clean)},_0x1ce428[_0x16cb09][_0x3d2d56[_0x1149f7(0x1c1)]][_0x1149f7(0xe0)](_0x3b7b61=>{const _0x62abf=_0x1149f7;if(_0x4b9a71[_0x62abf(0x172)](_0x3b7b61[_0x62abf(0x141)],_0x4b9a71[_0x62abf(0x1a8)]))_0x3a6f1a[_0x16cb09][_0x4b9a71[_0x62abf(0x181)]][_0x62abf(0x15a)](_0x4b9a71[_0x62abf(0x19d)](clean,_0x3b7b61));else _0x4b9a71[_0x62abf(0x172)](_0x3b7b61[_0x62abf(0x141)],_0x4b9a71[_0x62abf(0x17f)])?_0x3a6f1a[_0x16cb09][_0x4b9a71['oCrkD']]['push'](_0x4b9a71[_0x62abf(0x19d)](clean,_0x3b7b61)):_0x3a6f1a[_0x16cb09][_0x4b9a71['HSIfj']]['push'](_0x4b9a71['gPjca'](clean,_0x3b7b61));});});if(_0x384558[_0x2c0100(0xff)])try{logger[_0x2c0100(0x1b2)](_0x3d2d56[_0x2c0100(0xd6)],_0x384558['output']),fs[_0x2c0100(0x13b)](_0x384558[_0x2c0100(0xff)],JSON[_0x2c0100(0x120)](_0x3a6f1a,null,0x3));}catch(_0x44523f){logger['error'](_0x3d2d56['ODiKt'],_0x384558['output']),logger[_0x2c0100(0x1b2)](_0x44523f);}else logger[_0x2c0100(0x1b2)](_0x3d2d56['BZwKU']),console[_0x2c0100(0x12c)](JSON[_0x2c0100(0x120)](_0x3a6f1a,null,0x3));}else{if(_0x3d2d56[_0x2c0100(0xf1)](_0x53ae00,_0x3d2d56[_0x2c0100(0xd7)])){let _0x726c8b;const _0x538765=_0x3d2d56['NnJbj'];_0x384558&&(_0x726c8b=_0x384558[_0x2c0100(0xdf)]);_0x726c8b=_0x3d2d56[_0x2c0100(0x132)](_0x726c8b,_0x538765);let _0x585766=0x0,_0x27d2fc=0x0,_0x516a5b=0x0,_0x2fca3b=0x0;_0x3deee6[_0x2c0100(0xe0)](_0x409f3c=>{const _0x165028=_0x2c0100;_0x1ce428[_0x409f3c][_0x3d2d56[_0x165028(0x1c1)]]['forEach'](_0x101eb0=>{const _0x2cfd75=_0x165028;if(_0x3d2d56[_0x2cfd75(0x1b6)](_0x101eb0[_0x2cfd75(0x141)],_0x3d2d56[_0x2cfd75(0x1a3)]))_0x585766++;else _0x3d2d56[_0x2cfd75(0x16d)](_0x101eb0[_0x2cfd75(0x141)],_0x3d2d56[_0x2cfd75(0x110)])&&_0x27d2fc++;_0x516a5b++,_0x2fca3b+=_0x3d2d56['pswTi'](_0x101eb0[_0x2cfd75(0x14b)],0x1);});}),_0x3d2d56['jbqzi'](xunitWrite,_0x3d2d56[_0x2c0100(0x188)](tag,_0x3d2d56[_0x2c0100(0x198)],{'name':_0x726c8b,'tests':_0x516a5b,'failures':0x0,'errors':_0x27d2fc,'skipped':_0x3d2d56[_0x2c0100(0x11e)](_0x3d2d56[_0x2c0100(0x11e)](_0x516a5b,_0x27d2fc),_0x585766),'timestamp':new Date()[_0x2c0100(0x13e)](),'time':_0x3d2d56[_0x2c0100(0x19f)](_0x2fca3b,0x3e8)||0x0},![])),_0x3deee6[_0x2c0100(0xe0)](_0x8c0249=>{const _0x3f38f1=_0x2c0100;_0x1ce428[_0x8c0249][_0x3d2d56[_0x3f38f1(0x1c1)]][_0x3f38f1(0xe0)](_0x16b67e=>{const _0x526ef8=_0x3f38f1;_0x3d2d56[_0x526ef8(0x1b9)](xunitTest,_0x16b67e,_0x8c0249);});}),_0x3d2d56['HkyGc'](xunitWrite,_0x3d2d56['fEBbQ']);if(_0x384558[_0x2c0100(0xff)])try{logger[_0x2c0100(0x1b2)](_0x3d2d56[_0x2c0100(0x152)],_0x384558['output']),fs[_0x2c0100(0x13b)](_0x384558[_0x2c0100(0xff)],xunitContent);}catch(_0x3634a2){logger['error'](_0x3d2d56[_0x2c0100(0x123)],_0x384558[_0x2c0100(0xff)]),logger[_0x2c0100(0x1b2)](_0x3634a2);}else logger['debug'](_0x3d2d56[_0x2c0100(0x194)]),console['log'](xunitContent);}else{if(_0x3d2d56['sUiYR'](_0x3187fe,0x0))return;console['log'](),logger[_0x2c0100(0x1b2)](_0x3d2d56[_0x2c0100(0x16c)]),console[_0x2c0100(0x12c)](chalk[_0x2c0100(0xde)][_0x2c0100(0x100)](_0x3d2d56[_0x2c0100(0x1bd)])),_0x3deee6[_0x2c0100(0xe0)](_0x50132c=>{const _0x347b13=_0x2c0100,_0x26b6ab=[];_0x1ce428[_0x50132c][_0x3d2d56['EDAdt']]['forEach'](_0x3b8389=>{const _0x971e9a=a28_0x5e0f;_0x3d2d56[_0x971e9a(0x16a)](_0x3b8389[_0x971e9a(0x141)],_0x3d2d56[_0x971e9a(0x110)])&&(_0x3b8389[_0x971e9a(0x103)]=()=>_0x3b8389['titlePathV'],_0x26b6ab[_0x971e9a(0x15a)](_0x3b8389));}),_0x3d2d56['dZdVG'](_0x26b6ab[_0x347b13(0x10a)],0x0)&&(Base[_0x347b13(0xd3)](),Base[_0x347b13(0xd3)](_0x3d2d56[_0x347b13(0x1bf)](_0x72915d),chalk['bold'][_0x347b13(0x177)](_0x50132c)),Base['list'](_0x26b6ab));});}}}async function run(_0x419c89,_0x568427){const _0x2e579c=a28_0x34315f,_0x55b2f2={'oZYGq':function(_0x2041c1,_0x499de3,_0x1d8d66,_0x1f9ccc){return _0x2041c1(_0x499de3,_0x1d8d66,_0x1f9ccc);},'glAjN':_0x2e579c(0x169),'vtBLw':_0x2e579c(0xfc),'rBtZi':_0x2e579c(0x145),'mvLdu':function(_0x40dd4c,_0x45cb10,_0x30fd41,_0x432ec8){return _0x40dd4c(_0x45cb10,_0x30fd41,_0x432ec8);},'Amhrb':'mocha','gcHQI':_0x2e579c(0x140),'gEoJc':_0x2e579c(0xdc),'LRTYl':function(_0x554cf9,_0x4b47dd){return _0x554cf9!=_0x4b47dd;},'NBnkm':_0x2e579c(0x1c5),'FAssO':_0x2e579c(0x184),'tXevL':_0x2e579c(0xea),'oUitM':_0x2e579c(0xeb),'NUPpz':function(_0x279e30,_0x51a2c4){return _0x279e30(_0x51a2c4);},'zXCdS':function(_0x4c3594,_0x244627,_0x4570ae){return _0x4c3594(_0x244627,_0x4570ae);},'Sanox':'files','PRBjd':_0x2e579c(0x138),'dzxIy':_0x2e579c(0x15b),'AMrnb':function(_0x2433dc,_0x2164ed,_0x2b5991,_0x46c852){return _0x2433dc(_0x2164ed,_0x2b5991,_0x46c852);},'xiGex':function(_0x57f334,_0x12ace7){return _0x57f334*_0x12ace7;},'cUPLW':function(_0x1e4261,_0x9bf459){return _0x1e4261!==_0x9bf459;},'NIehY':function(_0x3cb474,_0x1db2b9,_0x3cf56e,_0x2bd44b){return _0x3cb474(_0x1db2b9,_0x3cf56e,_0x2bd44b);}};process[_0x2e579c(0x121)][_0x2e579c(0x148)](_0x55b2f2[_0x2e579c(0xe6)])&&(process[_0x2e579c(0x131)][_0x2e579c(0x14a)]=![]);process[_0x2e579c(0x121)][_0x2e579c(0x148)](_0x55b2f2[_0x2e579c(0x1b5)])&&(process[_0x2e579c(0x131)]['BROWSERSTACK_AUTOMATION']=![]);const _0x95d249=new BrowserStackSetup(_0x419c89,_0x55b2f2[_0x2e579c(0x10e)]);helper[_0x2e579c(0x155)]()?(await _0x95d249[_0x2e579c(0x170)](),await helper[_0x2e579c(0x135)](_0x95d249[_0x2e579c(0x1a5)])):await _0x95d249[_0x2e579c(0xd8)]();const _0x19c619=[];let _0x544efd=[];if(!_0x95d249['config'])return;_0x55b2f2[_0x2e579c(0x14c)](_0x95d249[_0x2e579c(0x1a5)]['testObservability'],null)&&(process[_0x2e579c(0x131)][_0x2e579c(0x111)]=_0x95d249['config'][_0x2e579c(0x146)]);!helper['isUndefined'](_0x95d249[_0x2e579c(0x1a5)][_0x2e579c(0x116)])&&(process[_0x2e579c(0x131)][_0x2e579c(0x139)]=_0x95d249[_0x2e579c(0x1a5)][_0x2e579c(0x116)]);!helper[_0x2e579c(0xef)](_0x95d249['config'][_0x2e579c(0x130)])&&(process[_0x2e579c(0x131)][_0x2e579c(0x15d)]=JSON[_0x2e579c(0x120)](_0x95d249[_0x2e579c(0x1a5)][_0x2e579c(0x130)]));const {extension:extension=['js',_0x55b2f2[_0x2e579c(0x13f)],_0x55b2f2[_0x2e579c(0xf9)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x55b2f2[_0x2e579c(0x101)]]}=_0x419c89,_0x12e254={..._0x419c89};_0x12e254[_0x2e579c(0x10c)]=null;const _0x377d1a=_0x12e254;let _0x1f2867;if(testOpsHelper[_0x2e579c(0x105)]()&&testOpsHelper[_0x2e579c(0x10f)]()){let _0x409562=process[_0x2e579c(0x131)][_0x2e579c(0x1af)];!helper[_0x2e579c(0xef)](_0x95d249[_0x2e579c(0x165)])&&_0x95d249[_0x2e579c(0x165)][_0x2e579c(0x12f)](_0x55b2f2[_0x2e579c(0x1ca)])&&(_0x409562=_0x95d249['cliConfig'][_0x2e579c(0x18d)](_0x55b2f2['oUitM'])),_0x1f2867=testOpsHelper[_0x2e579c(0x11c)](_0x409562);}if(helper['isUndefined'](_0x1f2867)){const _0x294281={};_0x294281[_0x2e579c(0x126)]=ignore,_0x294281['extension']=extension,_0x294281[_0x2e579c(0x193)]=file,_0x294281['recursive']=recursive,_0x294281[_0x2e579c(0x16e)]=sort,_0x294281['spec']=spec,_0x1f2867=_0x55b2f2['NUPpz'](collectFiles,_0x294281),_0x55b2f2['zXCdS'](nestedKeyValue,_0x1f2867,[_0x55b2f2[_0x2e579c(0x128)]])&&(_0x1f2867=_0x1f2867[_0x2e579c(0x17c)]);}if(!helper[_0x2e579c(0x155)]()){const _0x342e0a=0x1,_0x386396={..._0x377d1a};_0x386396[_0x2e579c(0xe5)]=[..._0x1f2867],_0x19c619['push']({'mochaOpts':_0x386396,'configuration':{'platform':os[_0x2e579c(0x1a1)]()}}),logger[_0x2e579c(0x11d)](_0x55b2f2[_0x2e579c(0xdb)]),logger[_0x2e579c(0x11d)](_0x55b2f2[_0x2e579c(0x156)]),_0x55b2f2[_0x2e579c(0x113)](parallelTestRun,_0x19c619,_0x342e0a,_0x95d249)[_0x2e579c(0x162)](_0x25c320=>{const _0x15809d=_0x2e579c;PerformanceTester[_0x15809d(0x1ad)](PerformanceEvents['SDK_CLEANUP']),_0x55b2f2[_0x15809d(0x1a6)](printStats,_0x25c320,_0x419c89[_0x15809d(0x144)],_0x419c89[_0x15809d(0x11f)]||_0x419c89[_0x55b2f2[_0x15809d(0xe7)]]);})['finally'](()=>{const _0xec64de=_0x2e579c;PerformanceTester[_0xec64de(0x1ad)](PerformanceEvents[_0xec64de(0xf4)]);try{const {browserstackFolderPath:_0x4037d0,tcgConfigPath:_0x3d771d}=helper['getTCGConfigFilePaths']();fs['unlinkSync'](_0x3d771d),fs['rmdirSync'](_0x4037d0);}catch(_0x58d327){logger[_0xec64de(0x1b2)](_0x55b2f2[_0xec64de(0x18b)],_0x58d327);}try{utilities[_0xec64de(0x1b1)](_0x55b2f2[_0xec64de(0x11b)],{},_0x95d249[_0xec64de(0x1a5)],_0x95d249['framework']);}catch(_0x373ab5){logger[_0xec64de(0x1b2)](_0xec64de(0x1cd)+_0x373ab5[_0xec64de(0xfb)]);}try{helper[_0xec64de(0x1bb)]();}catch(_0xf1abfe){logger[_0xec64de(0x1b2)](_0xec64de(0x119)+_0xf1abfe);}testOpsHelper['printBuildLink']();});}else{const _0x48dc70=helper['useW3C'](_0x95d249[_0x2e579c(0x1a5)]);let _0x5c7d2e=helper[_0x2e579c(0xda)](_0x95d249[_0x2e579c(0x1a5)]);_0x544efd=helper[_0x2e579c(0x1a0)](_0x95d249[_0x2e579c(0x1a5)],_0x48dc70,constants[_0x2e579c(0xe2)][_0x2e579c(0x129)]);process['env'][_0x2e579c(0x168)]&&(_0x5c7d2e=centralScannerConstants[_0x2e579c(0x14f)]);let _0x1a5111;const _0x5b54f3=_0x95d249[_0x2e579c(0x1a5)][_0x2e579c(0x1a2)]||helper[_0x2e579c(0x197)](_0x419c89,_0x568427,_0x95d249[_0x2e579c(0x1a5)],constants['FRAMEWORKS'][_0x2e579c(0x129)])||0x1;helper[_0x2e579c(0x187)](_0x95d249[_0x2e579c(0x1a5)])?_0x1a5111=_0x55b2f2['xiGex'](_0x95d249[_0x2e579c(0x1a5)][_0x2e579c(0xe4)][_0x2e579c(0x10a)],_0x5b54f3):_0x1a5111=_0x5b54f3;const _0x855991=_0x55b2f2['NUPpz'](getPercyOptions,_0x95d249[_0x2e579c(0x1a5)]);if(_0x55b2f2[_0x2e579c(0x17d)](_0x95d249[_0x2e579c(0x1a5)][_0x2e579c(0x1a2)],0x1))_0x1f2867[_0x2e579c(0xe0)](_0x3f599b=>{const _0x21a2d2=_0x2e579c,_0x10661e=[];_0x544efd[_0x21a2d2(0xe0)]((_0x305785,_0x530502)=>{const _0x27754f=_0x21a2d2,_0x36fbe2={};_0x36fbe2['spec']=[_0x3f599b],_0x10661e[_0x27754f(0x15a)]({'mochaOpts':Object[_0x27754f(0x17b)]({},_0x377d1a,_0x36fbe2),'configuration':{'server':_0x5c7d2e,'capability':_0x305785,'proxySettings':_0x95d249[_0x27754f(0x1a5)]['proxySettings'],'platform':helper['getPlatformName'](_0x305785),'browserStackLogLevel':_0x95d249[_0x27754f(0x1a5)][_0x27754f(0x174)],'platformIndex':_0x530502,'browserStackPercyOptions':_0x855991,'platformCaps':Object[_0x27754f(0x17b)]({'index':_0x530502},_0x95d249['config']['platforms'][_0x530502])}});}),_0x19c619[_0x21a2d2(0x15a)](..._0x10661e);});else{const _0x5ec3ed=[];_0x544efd[_0x2e579c(0xe0)]((_0x47f4a4,_0x44b4dc)=>{const _0x497965=_0x2e579c;let _0xee4f3b=Object[_0x497965(0x17b)]({},_0x377d1a);testOpsHelper[_0x497965(0x105)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0xee4f3b={..._0xee4f3b,'spec':[..._0x1f2867]}),_0x5ec3ed[_0x497965(0x15a)]({'mochaOpts':_0xee4f3b,'configuration':{'server':_0x5c7d2e,'capability':_0x47f4a4,'proxySettings':_0x95d249[_0x497965(0x1a5)]['proxySettings'],'platform':helper[_0x497965(0x11a)](_0x47f4a4),'browserStackLogLevel':_0x95d249[_0x497965(0x1a5)]['logLevel'],'platformIndex':_0x44b4dc,'browserStackPercyOptions':_0x855991,'platformCaps':Object[_0x497965(0x17b)]({'index':_0x44b4dc},_0x95d249[_0x497965(0x1a5)]['platforms'][_0x44b4dc])}});}),_0x19c619[_0x2e579c(0x15a)](..._0x5ec3ed);}logger['info']('Running\x20your\x20mocha\x20tests\x20across\x20'+_0x95d249[_0x2e579c(0x1a5)]['platforms'][_0x2e579c(0x10a)]+_0x2e579c(0x12b)),logger[_0x2e579c(0x11d)](_0x55b2f2[_0x2e579c(0x156)]);let _0x57cd24;_0x55b2f2[_0x2e579c(0x15e)](parallelTestRun,_0x19c619,_0x1a5111,_0x95d249)[_0x2e579c(0x162)](_0x336e5f=>{const _0x4a0ca3=_0x2e579c;PerformanceTester[_0x4a0ca3(0x1ad)](PerformanceEvents[_0x4a0ca3(0xf4)]),_0x57cd24=_0x336e5f,_0x55b2f2['mvLdu'](printStats,_0x336e5f,_0x419c89['reporter'],_0x419c89[_0x4a0ca3(0x11f)]||_0x419c89[_0x55b2f2[_0x4a0ca3(0xe7)]]);})[_0x2e579c(0x1a4)](async()=>{const _0x2e4293=_0x2e579c;PerformanceTester[_0x2e4293(0x1ad)](PerformanceEvents[_0x2e4293(0xf4)]),_0x95d249[_0x2e4293(0x199)]=helper['getErrorMessageFromResults'](_0x57cd24,_0x55b2f2[_0x2e4293(0x10e)]),await utilities['finalExecution'](_0x95d249),testOpsHelper[_0x2e4293(0x14d)]();});}}module[a28_0x34315f(0x1c4)]=run;