browserstack-node-sdk 1.34.12 → 1.34.13

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 (126) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelpers.js +1 -1
  104. package/src/helpers/percy/Percy.js +1 -1
  105. package/src/helpers/percy/PercyBinary.js +1 -1
  106. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  107. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  108. package/src/helpers/percy/PercySDK.js +1 -1
  109. package/src/helpers/percy/index.js +1 -1
  110. package/src/helpers/percy/utils.js +1 -1
  111. package/src/helpers/performance-tester.js +1 -1
  112. package/src/helpers/request-spy.js +1 -1
  113. package/src/helpers/setKeepAlive.js +1 -1
  114. package/src/helpers/test-observability/constants.js +1 -1
  115. package/src/helpers/test-observability/error-handler.js +1 -1
  116. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  117. package/src/helpers/test-observability/sessionHandler.js +1 -1
  118. package/src/helpers/test-observability/utils.js +1 -1
  119. package/src/helpers/testhub/constants.js +1 -1
  120. package/src/helpers/testhub/testhubHandler.js +1 -1
  121. package/src/helpers/testhub/utils.js +1 -1
  122. package/src/helpers/timeoutPromise.js +1 -1
  123. package/src/helpers/utilities.js +1 -1
  124. package/src/helpers/w3cMapping.js +1 -1
  125. package/src/hubAllocationMethods.js +1 -1
  126. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a23_0x647782=a23_0x1679;(function(_0x59160d,_0xc8f7cd){const _0xd418e8=a23_0x1679,_0x44e67b=_0x59160d();while(!![]){try{const _0x145525=parseInt(_0xd418e8(0x89))/0x1*(-parseInt(_0xd418e8(0x82))/0x2)+parseInt(_0xd418e8(0x92))/0x3*(-parseInt(_0xd418e8(0x98))/0x4)+parseInt(_0xd418e8(0x96))/0x5*(parseInt(_0xd418e8(0x8f))/0x6)+parseInt(_0xd418e8(0x7c))/0x7*(-parseInt(_0xd418e8(0xab))/0x8)+-parseInt(_0xd418e8(0x9e))/0x9+parseInt(_0xd418e8(0x93))/0xa+parseInt(_0xd418e8(0x9b))/0xb;if(_0x145525===_0xc8f7cd)break;else _0x44e67b['push'](_0x44e67b['shift']());}catch(_0x3d96e3){_0x44e67b['push'](_0x44e67b['shift']());}}}(a23_0x2642,0x69bfb));function a23_0x2642(){const _0x3549a9=['parse','existsSync','env','homedir','_projectId','getTestUUID','shutdown','tests','8FYLhfE','5266583mxOiIj','readFileSync','uVSuI','../../../helpers/helper','join','ENV_VAR','14HWBdLo','testData.json','BDqAO','setTestData','exports','hDEcr','getFilePath','52038dxYbwd','retry','../../../helpers/testhub/constants','dirPath','pOdMo','unlinkSync','31344GLmGZF','vSKvU','GaSaX','687HUolep','8359660bkxzSF','efSMI','recursive','810WkgFWl','uuid','11544wiADqU','writeFileSync','_test','11520564nQGzpo','setup','setTestUUID','4670118BmAWph','.browserstack','jest-o11y-','BROWSERSTACK_TESTHUB_UUID','path'];a23_0x2642=function(){return _0x3549a9;};return a23_0x2642();}const fs=require('fs'),path=require(a23_0x647782(0xa2)),{v4:uuidv4}=require(a23_0x647782(0x97)),helper=require(a23_0x647782(0x7f)),testHubConstants=require(a23_0x647782(0x8b));class TestDetails{static [a23_0x647782(0xaa)]={};static [a23_0x647782(0x8c)]=path[a23_0x647782(0x80)](helper[a23_0x647782(0xa6)](),a23_0x647782(0x9f),a23_0x647782(0xa0)+process[a23_0x647782(0xa5)][testHubConstants[a23_0x647782(0x81)][a23_0x647782(0xa1)]]);static[a23_0x647782(0x9c)](){const _0xfc065d=a23_0x647782,_0x3554fc={};_0x3554fc[_0xfc065d(0x87)]=_0xfc065d(0x9f);const _0xbc1363=_0x3554fc;this[_0xfc065d(0x8c)]=path[_0xfc065d(0x80)](helper[_0xfc065d(0xa6)](),_0xbc1363['hDEcr'],'jest-o11y-'+process[_0xfc065d(0xa5)][testHubConstants[_0xfc065d(0x81)][_0xfc065d(0xa1)]]),this[_0xfc065d(0xa9)]();const _0x3e47e6={};_0x3e47e6[_0xfc065d(0x95)]=!![],fs['mkdirSync'](this['dirPath'],_0x3e47e6);}static['getFilePath'](_0x3d7dfb){const _0x2e29d7=a23_0x647782,_0x3f40e0={};_0x3f40e0[_0x2e29d7(0x8d)]=function(_0x34184e,_0x357334){return _0x34184e+_0x357334;},_0x3f40e0[_0x2e29d7(0x91)]='.json';const _0x54a065=_0x3f40e0;return path['join'](this[_0x2e29d7(0x8c)],_0x54a065[_0x2e29d7(0x8d)](_0x3d7dfb,_0x54a065[_0x2e29d7(0x91)]));}static['getTestRunIdFromTestInfo'](_0x57aa43){const _0x401bd2=a23_0x647782,_0x4fc0af={};_0x4fc0af[_0x401bd2(0x90)]=function(_0x3084bd,_0x582093){return _0x3084bd+_0x582093;};const _0x2a1d5c=_0x4fc0af;return _0x2a1d5c[_0x401bd2(0x90)](_0x2a1d5c[_0x401bd2(0x90)](_0x2a1d5c[_0x401bd2(0x90)](_0x2a1d5c['vSKvU'](_0x57aa43['_test'][_0x401bd2(0xa7)],'-'),_0x57aa43[_0x401bd2(0x9a)]['id']),'-'),_0x57aa43[_0x401bd2(0x8a)]);}static[a23_0x647782(0xa8)](_0x53a0ba){const _0x47dc95=a23_0x647782,_0x1a895b=this[_0x47dc95(0x88)](_0x53a0ba);if(fs[_0x47dc95(0xa4)](_0x1a895b)){const _0x242dd6=JSON[_0x47dc95(0xa3)](fs['readFileSync'](_0x1a895b)['toString']());return this[_0x47dc95(0xaa)][_0x53a0ba]=_0x242dd6,this['tests'][_0x53a0ba][_0x47dc95(0x97)];}}static[a23_0x647782(0x85)](_0x22203d){const _0x50827a=a23_0x647782,_0x5dd638={};_0x5dd638[_0x50827a(0x94)]=_0x50827a(0x83);const _0x51bf72=_0x5dd638,_0x59eacd=path[_0x50827a(0x80)](this['dirPath'],_0x51bf72[_0x50827a(0x94)]);fs[_0x50827a(0x99)](_0x59eacd,JSON['stringify'](_0x22203d));}static['getTestData'](){const _0x4bb4eb=a23_0x647782,_0x40ffd3={};_0x40ffd3[_0x4bb4eb(0x84)]=_0x4bb4eb(0x83);const _0x35c270=_0x40ffd3,_0x4db734=path[_0x4bb4eb(0x80)](this[_0x4bb4eb(0x8c)],_0x35c270['BDqAO']);let _0x26e0ee={};try{return fs['existsSync'](_0x4db734)&&(_0x26e0ee=JSON[_0x4bb4eb(0xa3)](fs[_0x4bb4eb(0x7d)](_0x4db734)['toString']())),_0x26e0ee;}catch(_0x246375){return _0x26e0ee;}}static[a23_0x647782(0x9d)](_0x341a89){const _0x5bf36f=a23_0x647782,_0x225cce={'uVSuI':function(_0x2c1a91){return _0x2c1a91();}},_0x4f46fc=this[_0x5bf36f(0x88)](_0x341a89);return this[_0x5bf36f(0xaa)][_0x341a89]={'uuid':_0x225cce[_0x5bf36f(0x7e)](uuidv4)},fs[_0x5bf36f(0x99)](_0x4f46fc,JSON['stringify'](this[_0x5bf36f(0xaa)][_0x341a89])),this[_0x5bf36f(0xaa)][_0x341a89][_0x5bf36f(0x97)];}static['removeTestUUID'](_0x1c94bc){const _0x415a4d=a23_0x647782,_0x1061f2=this['getFilePath'](_0x1c94bc);fs[_0x415a4d(0xa4)](_0x1061f2)&&fs[_0x415a4d(0x8e)](_0x1061f2);}static['shutdown'](){const _0x1925cb=a23_0x647782,_0x3f282f={};_0x3f282f[_0x1925cb(0x95)]=!![],_0x3f282f['force']=!![],fs['rmSync'](this[_0x1925cb(0x8c)],_0x3f282f);}}function a23_0x1679(_0x38c461,_0x18cb3f){const _0x26427d=a23_0x2642();return a23_0x1679=function(_0x16796e,_0x5b7376){_0x16796e=_0x16796e-0x7c;let _0x47360e=_0x26427d[_0x16796e];return _0x47360e;},a23_0x1679(_0x38c461,_0x18cb3f);}module[a23_0x647782(0x86)]=TestDetails;
1
+ function a23_0x1198(_0x254f4f,_0x3fec80){const _0x46ee9b=a23_0x46ee();return a23_0x1198=function(_0x11981e,_0x521926){_0x11981e=_0x11981e-0x17f;let _0x428848=_0x46ee9b[_0x11981e];return _0x428848;},a23_0x1198(_0x254f4f,_0x3fec80);}const a23_0x486634=a23_0x1198;(function(_0x376cbd,_0x52df42){const _0x148272=a23_0x1198,_0x490107=_0x376cbd();while(!![]){try{const _0x36f7a6=parseInt(_0x148272(0x180))/0x1+parseInt(_0x148272(0x18d))/0x2*(-parseInt(_0x148272(0x1ad))/0x3)+parseInt(_0x148272(0x17f))/0x4*(-parseInt(_0x148272(0x1a6))/0x5)+-parseInt(_0x148272(0x1ae))/0x6+parseInt(_0x148272(0x193))/0x7+-parseInt(_0x148272(0x18f))/0x8*(-parseInt(_0x148272(0x19b))/0x9)+parseInt(_0x148272(0x19e))/0xa;if(_0x36f7a6===_0x52df42)break;else _0x490107['push'](_0x490107['shift']());}catch(_0x1cc96d){_0x490107['push'](_0x490107['shift']());}}}(a23_0x46ee,0x3db73));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require('uuid'),helper=require('../../../helpers/helper'),testHubConstants=require(a23_0x486634(0x1a7));class TestDetails{static [a23_0x486634(0x1a8)]={};static [a23_0x486634(0x197)]=path[a23_0x486634(0x194)](helper[a23_0x486634(0x195)](),'.browserstack',a23_0x486634(0x18a)+process[a23_0x486634(0x183)][testHubConstants[a23_0x486634(0x1a0)][a23_0x486634(0x18e)]]);static[a23_0x486634(0x19d)](){const _0x228aa4=a23_0x486634,_0x4a2662={};_0x4a2662['mMyhY']=_0x228aa4(0x190);const _0xc8ccbe=_0x4a2662;this['dirPath']=path[_0x228aa4(0x194)](helper[_0x228aa4(0x195)](),_0xc8ccbe[_0x228aa4(0x1ac)],_0x228aa4(0x18a)+process[_0x228aa4(0x183)][testHubConstants[_0x228aa4(0x1a0)][_0x228aa4(0x18e)]]),this['shutdown']();const _0x3a6639={};_0x3a6639[_0x228aa4(0x1a5)]=!![],fs['mkdirSync'](this[_0x228aa4(0x197)],_0x3a6639);}static['getFilePath'](_0x5ee5bd){const _0x3ca9dc=a23_0x486634,_0x3fde8e={};_0x3fde8e[_0x3ca9dc(0x18c)]=function(_0x5ee5df,_0x3d2e85){return _0x5ee5df+_0x3d2e85;},_0x3fde8e[_0x3ca9dc(0x186)]=_0x3ca9dc(0x19a);const _0x1214ef=_0x3fde8e;return path[_0x3ca9dc(0x194)](this[_0x3ca9dc(0x197)],_0x1214ef['ckFLF'](_0x5ee5bd,_0x1214ef[_0x3ca9dc(0x186)]));}static[a23_0x486634(0x19c)](_0x1a6de5){const _0x4764c9=a23_0x486634,_0x426f79={};_0x426f79[_0x4764c9(0x1a9)]=function(_0x498e1e,_0x52a7a4){return _0x498e1e+_0x52a7a4;};const _0x37b176=_0x426f79;return _0x37b176['fuIww'](_0x37b176[_0x4764c9(0x1a9)](_0x37b176[_0x4764c9(0x1a9)](_0x37b176[_0x4764c9(0x1a9)](_0x1a6de5[_0x4764c9(0x19f)][_0x4764c9(0x1a3)],'-'),_0x1a6de5[_0x4764c9(0x19f)]['id']),'-'),_0x1a6de5['retry']);}static[a23_0x486634(0x191)](_0x27cb50){const _0x5d4bee=a23_0x486634,_0x4cff17=this[_0x5d4bee(0x1a2)](_0x27cb50);if(fs[_0x5d4bee(0x192)](_0x4cff17)){const _0xb492d0=JSON[_0x5d4bee(0x188)](fs[_0x5d4bee(0x184)](_0x4cff17)[_0x5d4bee(0x18b)]());return this[_0x5d4bee(0x1a8)][_0x27cb50]=_0xb492d0,this[_0x5d4bee(0x1a8)][_0x27cb50]['uuid'];}}static[a23_0x486634(0x1a4)](_0x13b223){const _0x2109a2=a23_0x486634,_0x36053c={};_0x36053c[_0x2109a2(0x181)]=_0x2109a2(0x1ab);const _0x13ab4=_0x36053c,_0x299e27=path[_0x2109a2(0x194)](this[_0x2109a2(0x197)],_0x13ab4[_0x2109a2(0x181)]);fs[_0x2109a2(0x198)](_0x299e27,JSON[_0x2109a2(0x189)](_0x13b223));}static['getTestData'](){const _0x4b2358=a23_0x486634,_0x2742e3={};_0x2742e3[_0x4b2358(0x1a1)]=_0x4b2358(0x1ab);const _0x1ae494=_0x2742e3,_0x194a7a=path['join'](this[_0x4b2358(0x197)],_0x1ae494['lNudb']);let _0x178232={};try{return fs['existsSync'](_0x194a7a)&&(_0x178232=JSON['parse'](fs['readFileSync'](_0x194a7a)[_0x4b2358(0x18b)]())),_0x178232;}catch(_0x4b380e){return _0x178232;}}static[a23_0x486634(0x199)](_0x97c3ac){const _0x484c9f=a23_0x486634,_0x1d366a={'yomcw':function(_0x2109ed){return _0x2109ed();}},_0x1c9772=this[_0x484c9f(0x1a2)](_0x97c3ac);return this['tests'][_0x97c3ac]={'uuid':_0x1d366a['yomcw'](uuidv4)},fs[_0x484c9f(0x198)](_0x1c9772,JSON[_0x484c9f(0x189)](this[_0x484c9f(0x1a8)][_0x97c3ac])),this['tests'][_0x97c3ac]['uuid'];}static[a23_0x486634(0x185)](_0x4ea98a){const _0x19ded2=a23_0x486634,_0x465f7f=this[_0x19ded2(0x1a2)](_0x4ea98a);fs[_0x19ded2(0x192)](_0x465f7f)&&fs[_0x19ded2(0x187)](_0x465f7f);}static[a23_0x486634(0x182)](){const _0x11be40=a23_0x486634,_0x48b54f={};_0x48b54f[_0x11be40(0x1a5)]=!![],_0x48b54f[_0x11be40(0x196)]=!![],fs['rmSync'](this[_0x11be40(0x197)],_0x48b54f);}}function a23_0x46ee(){const _0x54bd58=['mMyhY','6756TtgBxU','785466DYphUu','788912rihknp','378788hcTqPh','khBKd','shutdown','env','readFileSync','removeTestUUID','lqnRU','unlinkSync','parse','stringify','jest-o11y-','toString','ckFLF','336TxBjPV','BROWSERSTACK_TESTHUB_UUID','16CvQVwN','.browserstack','getTestUUID','existsSync','37219peJhpc','join','homedir','force','dirPath','writeFileSync','setTestUUID','.json','451593ZQjumf','getTestRunIdFromTestInfo','setup','6720310aYcBUC','_test','ENV_VAR','lNudb','getFilePath','_projectId','setTestData','recursive','10SvhEEg','../../../helpers/testhub/constants','tests','fuIww','exports','testData.json'];a23_0x46ee=function(){return _0x54bd58;};return a23_0x46ee();}module[a23_0x486634(0x1aa)]=TestDetails;
@@ -1 +1 @@
1
- const a24_0x237fed=a24_0x5c76;function a24_0x5c76(_0xe960e,_0x3460cf){const _0x2413d4=a24_0x2413();return a24_0x5c76=function(_0x5c76cc,_0x5e99e5){_0x5c76cc=_0x5c76cc-0x175;let _0x241e11=_0x2413d4[_0x5c76cc];return _0x241e11;},a24_0x5c76(_0xe960e,_0x3460cf);}(function(_0x4eb15f,_0x16adc0){const _0x2b49ff=a24_0x5c76,_0x138ade=_0x4eb15f();while(!![]){try{const _0xa0c858=parseInt(_0x2b49ff(0x183))/0x1*(-parseInt(_0x2b49ff(0x176))/0x2)+parseInt(_0x2b49ff(0x184))/0x3+parseInt(_0x2b49ff(0x17d))/0x4+-parseInt(_0x2b49ff(0x17c))/0x5*(parseInt(_0x2b49ff(0x179))/0x6)+parseInt(_0x2b49ff(0x175))/0x7+parseInt(_0x2b49ff(0x17b))/0x8*(parseInt(_0x2b49ff(0x17e))/0x9)+-parseInt(_0x2b49ff(0x181))/0xa*(parseInt(_0x2b49ff(0x177))/0xb);if(_0xa0c858===_0x16adc0)break;else _0x138ade['push'](_0x138ade['shift']());}catch(_0x224969){_0x138ade['push'](_0x138ade['shift']());}}}(a24_0x2413,0x4c9bf));function a24_0x2413(){const _0x41e824=['2322HTRFFD','../../helpers/helper','keys','170eppvZi','../../helpers/setKeepAlive','353uAZMHm','52731sGSisE','3284869mwtnEo','2032avjevO','198176zCiqWU','__webdriver','16626YadSlP','selenium-webdriver','13480ydAbDC','720viWsFh','1824644PpCtKC'];a24_0x2413=function(){return _0x41e824;};return a24_0x2413();}const {requireModule}=require(a24_0x237fed(0x17f));require(a24_0x237fed(0x182))();const __wd__=requireModule(a24_0x237fed(0x17a));for(const key of Object[a24_0x237fed(0x180)](global[a24_0x237fed(0x178)])){__wd__[key]=global[a24_0x237fed(0x178)][key];}
1
+ function a24_0x3516(_0x51ab35,_0x5417bb){const _0x52ebc6=a24_0x52eb();return a24_0x3516=function(_0x3516fa,_0xd45bc1){_0x3516fa=_0x3516fa-0x140;let _0xfbbca3=_0x52ebc6[_0x3516fa];return _0xfbbca3;},a24_0x3516(_0x51ab35,_0x5417bb);}const a24_0x391c83=a24_0x3516;(function(_0x259ff0,_0x3db29c){const _0x90c00f=a24_0x3516,_0x128670=_0x259ff0();while(!![]){try{const _0x5e92a4=-parseInt(_0x90c00f(0x14d))/0x1*(parseInt(_0x90c00f(0x14c))/0x2)+parseInt(_0x90c00f(0x140))/0x3*(-parseInt(_0x90c00f(0x14e))/0x4)+-parseInt(_0x90c00f(0x145))/0x5+parseInt(_0x90c00f(0x150))/0x6*(parseInt(_0x90c00f(0x144))/0x7)+parseInt(_0x90c00f(0x143))/0x8*(parseInt(_0x90c00f(0x14a))/0x9)+-parseInt(_0x90c00f(0x14b))/0xa*(parseInt(_0x90c00f(0x14f))/0xb)+parseInt(_0x90c00f(0x147))/0xc*(parseInt(_0x90c00f(0x141))/0xd);if(_0x5e92a4===_0x3db29c)break;else _0x128670['push'](_0x128670['shift']());}catch(_0x10164b){_0x128670['push'](_0x128670['shift']());}}}(a24_0x52eb,0x557e3));const {requireModule}=require(a24_0x391c83(0x142));function a24_0x52eb(){const _0x3f6c03=['keys','477567MdPSDC','3841940WboPtU','1234538KRnHAf','1hAWLFk','1368FpqQgb','11UakBpj','6ghAxUY','selenium-webdriver','1908drvEkU','13CsJhji','../../helpers/helper','96EorKCy','196357fuLfGD','2315860Tqlgyo','../../helpers/setKeepAlive','16410228oZKXIk','__webdriver'];a24_0x52eb=function(){return _0x3f6c03;};return a24_0x52eb();}require(a24_0x391c83(0x146))();const __wd__=requireModule(a24_0x391c83(0x151));for(const key of Object[a24_0x391c83(0x149)](global[a24_0x391c83(0x148)])){__wd__[key]=global[a24_0x391c83(0x148)][key];}
@@ -1 +1 @@
1
- const a25_0x29b2da=a25_0x40e1;(function(_0x4da831,_0x24a3a1){const _0xed29=a25_0x40e1,_0x1e33cf=_0x4da831();while(!![]){try{const _0x569a05=parseInt(_0xed29(0x1ce))/0x1+-parseInt(_0xed29(0x1f2))/0x2*(-parseInt(_0xed29(0x1f0))/0x3)+-parseInt(_0xed29(0x1ee))/0x4+-parseInt(_0xed29(0x1dd))/0x5*(-parseInt(_0xed29(0x1d6))/0x6)+parseInt(_0xed29(0x1f6))/0x7+-parseInt(_0xed29(0x1e1))/0x8+parseInt(_0xed29(0x1e3))/0x9*(-parseInt(_0xed29(0x1d9))/0xa);if(_0x569a05===_0x24a3a1)break;else _0x1e33cf['push'](_0x1e33cf['shift']());}catch(_0x2554a6){_0x1e33cf['push'](_0x1e33cf['shift']());}}}(a25_0x454b,0xc759d));const path=require(a25_0x29b2da(0x1e0)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x29b2da(0x1df)),constants=require(a25_0x29b2da(0x1db)),{isAccessibilityAutomationSession}=require(a25_0x29b2da(0x1f9)),RequestQueueHandler=require(a25_0x29b2da(0x1de)),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),helper=require(a25_0x29b2da(0x1df)),{commandRepository}=require(a25_0x29b2da(0x1d3));function a25_0x40e1(_0x2bab52,_0xb5c87c){const _0x454b59=a25_0x454b();return a25_0x40e1=function(_0x40e165,_0x8491be){_0x40e165=_0x40e165-0x1cc;let _0x47ccec=_0x454b59[_0x40e165];return _0x47ccec;},a25_0x40e1(_0x2bab52,_0xb5c87c);}function a25_0x454b(){const _0x3de5be=['12lPKotp','testsPassed','includes','2750mDWAjh','_capability','../utils/constants','platformCaps','3644165ehfspz','../../helpers/test-observability/requestQueueHandler','../../helpers/helper','path','6650400BUXJqE','testsSkipped','64710vwkiUQ','__platformCaps','_framework','formatter','testsAmbiguous','_accessibilityAutomation','mlwdX','_formatter','testSuitesFailed','testsUnknown','setFramework','3940360mXQyLZ','testsFailed','3995853mfoKnJ','AUzIt','2sTNwOi','testsUndefined','_testObservability','_bsConfig','8715973UaJAnz','setConfig','resolvePaths','../../helpers/accessibility-automation/helper','mochaOpts','framework','575425RqHtMK','platform','testsPending','_configuration','testsErrorMessage','../../helpers/ai-sdk/autoHealHelper','setupCucumber','AI_ENABLED_FRAMEWORK'];a25_0x454b=function(){return _0x3de5be;};return a25_0x454b();}class Launcher{constructor(_0x2da300,_0x32fdf8,_0x2ab39c,_0x2144ed=[]){const _0x154801=a25_0x29b2da,_0x499934={'mlwdX':'16|14|6|22|18|23|10|8|7|0|19|4|2|17|3|20|5|1|12|13|15|11|21|9','AUzIt':function(_0x19d356){return _0x19d356();},'zycAj':function(_0x497670){return _0x497670();}},_0x2cf2f2=_0x499934[_0x154801(0x1e9)]['split']('|');let _0xc0d6d8=0x0;while(!![]){switch(_0x2cf2f2[_0xc0d6d8++]){case'0':this[_0x154801(0x1f4)]=_0x499934[_0x154801(0x1f1)](isTestObservabilitySession);continue;case'1':global[_0x154801(0x1e2)]=0x0;continue;case'2':global['testSuites']=0x0;continue;case'3':global[_0x154801(0x1d7)]=0x0;continue;case'4':global[_0x154801(0x1e4)]=this[_0x154801(0x1d1)][_0x154801(0x1dc)]||{};continue;case'5':global[_0x154801(0x1d0)]=0x0;continue;case'6':this[_0x154801(0x1d1)][_0x154801(0x1cd)]=_0x2da300;continue;case'7':this[_0x154801(0x1f5)]=_0x2ab39c;continue;case'8':this['_argv']=_0x2144ed;continue;case'9':!constants[_0x154801(0x1d5)][_0x154801(0x1d8)](_0x2da300)&&(commandRepository[_0x154801(0x1f7)](_0x2ab39c),commandRepository[_0x154801(0x1ed)](_0x2da300));continue;case'10':global['__platform__']=this[_0x154801(0x1d1)][_0x154801(0x1cf)];continue;case'11':global[_0x154801(0x1e7)]=0x0;continue;case'12':global[_0x154801(0x1eb)]=0x0;continue;case'13':global[_0x154801(0x1f3)]=0x0;continue;case'14':this[_0x154801(0x1d1)]=_0x32fdf8['configuration']||{};continue;case'15':global[_0x154801(0x1ec)]=0x0;continue;case'16':this[_0x154801(0x1e5)]=_0x2da300;continue;case'17':global['totalTests']=0x0;continue;case'18':this[_0x154801(0x1ea)]=_0x32fdf8[_0x154801(0x1e6)];continue;case'19':this[_0x154801(0x1e8)]=_0x499934['zycAj'](isAccessibilityAutomationSession);continue;case'20':global[_0x154801(0x1ef)]=0x0;continue;case'21':global[_0x154801(0x1d2)]={};continue;case'22':this['_mochaOpts']=_0x32fdf8[_0x154801(0x1cc)];continue;case'23':this[_0x154801(0x1da)]=this[_0x154801(0x1d1)]['capability'];continue;}break;}}[a25_0x29b2da(0x1d4)](_0x2f1556,_0x3cec70,_0x386e57){const _0x58a4e5=a25_0x29b2da,_0x3c27a0=_0x2f1556[_0x58a4e5(0x1f8)];_0x2f1556.resolvePaths=async function(){const pathResults=await _0x3c27a0.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x386e57));return pathResults;},_0x3cec70.push('--format'),_0x3cec70.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
1
+ const a25_0x20480b=a25_0x15fa;(function(_0x5259b3,_0x448b21){const _0x4ccde4=a25_0x15fa,_0x535b4d=_0x5259b3();while(!![]){try{const _0x80e6ef=-parseInt(_0x4ccde4(0x159))/0x1+parseInt(_0x4ccde4(0x176))/0x2+parseInt(_0x4ccde4(0x14e))/0x3*(parseInt(_0x4ccde4(0x15b))/0x4)+parseInt(_0x4ccde4(0x173))/0x5*(-parseInt(_0x4ccde4(0x177))/0x6)+-parseInt(_0x4ccde4(0x155))/0x7+-parseInt(_0x4ccde4(0x16a))/0x8*(-parseInt(_0x4ccde4(0x165))/0x9)+parseInt(_0x4ccde4(0x16f))/0xa;if(_0x80e6ef===_0x448b21)break;else _0x535b4d['push'](_0x535b4d['shift']());}catch(_0x3b434d){_0x535b4d['push'](_0x535b4d['shift']());}}}(a25_0xf2f7,0xb98d6));function a25_0xf2f7(){const _0x40b76e=['../../helpers/test-observability/requestQueueHandler','configuration','25875620WqvuQe','testsUnknown','setupCucumber','18|7|6|20|1|19|3|21|4|23|0|9|15|8|2|12|17|5|14|10|16|22|13|11','85385DgEijh','formatter','testsUndefined','326932owVOeg','354hRlYKE','totalTests','_framework','testsErrorMessage','33261JqMcWa','_testObservability','capability','../../helpers/helper','platform','__platform__','_mochaOpts','2784810wuUwTV','split','testsPassed','resolvePaths','827424FdlrYJ','../../helpers/ai-sdk/autoHealHelper','28dspywU','EWjPL','includes','../../helpers/accessibility-automation/helper','_accessibilityAutomation','setFramework','platformCaps','_bsConfig','__platformCaps','zGSqg','14346RDsfhA','mochaOpts','../../helpers/test-observability/utils','_configuration','../utils/constants','824oYCymD','path','_argv'];a25_0xf2f7=function(){return _0x40b76e;};return a25_0xf2f7();}function a25_0x15fa(_0x545f74,_0x2887cc){const _0xf2f70e=a25_0xf2f7();return a25_0x15fa=function(_0x15faf3,_0xf474af){_0x15faf3=_0x15faf3-0x14b;let _0x25178a=_0xf2f70e[_0x15faf3];return _0x25178a;},a25_0x15fa(_0x545f74,_0x2887cc);}const path=require(a25_0x20480b(0x16b)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x20480b(0x151)),constants=require(a25_0x20480b(0x169)),{isAccessibilityAutomationSession}=require(a25_0x20480b(0x15e)),RequestQueueHandler=require(a25_0x20480b(0x16d)),{isTestObservabilitySession}=require(a25_0x20480b(0x167)),helper=require(a25_0x20480b(0x151)),{commandRepository}=require(a25_0x20480b(0x15a));class Launcher{constructor(_0x2932be,_0x5804cf,_0x14de44,_0x5c5a5b=[]){const _0xb3e4c1=a25_0x20480b,_0x435756={'EWjPL':_0xb3e4c1(0x172),'zGSqg':function(_0x103cd8){return _0x103cd8();}},_0xc66f7d=_0x435756[_0xb3e4c1(0x15c)][_0xb3e4c1(0x156)]('|');let _0x439d59=0x0;while(!![]){switch(_0xc66f7d[_0x439d59++]){case'0':this[_0xb3e4c1(0x15f)]=_0x435756[_0xb3e4c1(0x164)](isAccessibilityAutomationSession);continue;case'1':this['_formatter']=_0x5804cf[_0xb3e4c1(0x174)];continue;case'2':global[_0xb3e4c1(0x157)]=0x0;continue;case'3':global[_0xb3e4c1(0x153)]=this[_0xb3e4c1(0x168)][_0xb3e4c1(0x152)];continue;case'4':this[_0xb3e4c1(0x162)]=_0x14de44;continue;case'5':global['testsSkipped']=0x0;continue;case'6':this[_0xb3e4c1(0x168)]['framework']=_0x2932be;continue;case'7':this['_configuration']=_0x5804cf[_0xb3e4c1(0x16e)]||{};continue;case'8':global[_0xb3e4c1(0x14b)]=0x0;continue;case'9':global[_0xb3e4c1(0x163)]=this['_configuration'][_0xb3e4c1(0x161)]||{};continue;case'10':global[_0xb3e4c1(0x175)]=0x0;continue;case'11':!constants['AI_ENABLED_FRAMEWORK'][_0xb3e4c1(0x15d)](_0x2932be)&&(commandRepository['setConfig'](_0x14de44),commandRepository[_0xb3e4c1(0x160)](_0x2932be));continue;case'12':global['testsFailed']=0x0;continue;case'13':global[_0xb3e4c1(0x14d)]={};continue;case'14':global['testSuitesFailed']=0x0;continue;case'15':global['testSuites']=0x0;continue;case'16':global[_0xb3e4c1(0x170)]=0x0;continue;case'17':global['testsPending']=0x0;continue;case'18':this[_0xb3e4c1(0x14c)]=_0x2932be;continue;case'19':this['_capability']=this[_0xb3e4c1(0x168)][_0xb3e4c1(0x150)];continue;case'20':this[_0xb3e4c1(0x154)]=_0x5804cf[_0xb3e4c1(0x166)];continue;case'21':this[_0xb3e4c1(0x16c)]=_0x5c5a5b;continue;case'22':global['testsAmbiguous']=0x0;continue;case'23':this[_0xb3e4c1(0x14f)]=_0x435756[_0xb3e4c1(0x164)](isTestObservabilitySession);continue;}break;}}[a25_0x20480b(0x171)](_0x1da56b,_0x351b45,_0x95ac7b){const _0x5dccfe=a25_0x20480b,_0x2941ae=_0x1da56b[_0x5dccfe(0x158)];_0x1da56b.resolvePaths=async function(){const pathResults=await _0x2941ae.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x95ac7b));return pathResults;},_0x351b45.push('--format'),_0x351b45.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
@@ -1 +1 @@
1
- function a26_0x1ce1(_0x192869,_0x23f620){const _0x1d0cf6=a26_0x1d0c();return a26_0x1ce1=function(_0x1ce18d,_0x5a567c){_0x1ce18d=_0x1ce18d-0x7a;let _0x201989=_0x1d0cf6[_0x1ce18d];return _0x201989;},a26_0x1ce1(_0x192869,_0x23f620);}const a26_0x523b9b=a26_0x1ce1;function a26_0x1d0c(){const _0x22ef26=['dtZlu','8OztrsK','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','fetchPlatformDetails','parse','3cjemMw','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','6959772bFTJwi','33599445AVDQzY','MAKiY','15404FstQuz','xeYql','env','setExtension','warn','getPlatformVersion','toLowerCase','capability','../../../helpers/globals','3753711dzJojq','chromeOptions','--headless','browserstack.accessibility','SdNfX','boUmw','DDMtI','getPlatform','mPZGx','../../../helpers/helper','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','170DeEirK','accessibilityOptions','setAccessibilityCapabilities','34490evFDUx','setGlobal','getCapabilities','STUrD','isUndefined','accessibility','includes','KUpIE','PfMOc','latest','FxaPe','tQBbR','browserName','browserstack','ooNUt','bstack:options','browser_version','debug','get','../../../helpers/logger','yqfzy','114rtOwIW','zsqdV','getBrowserName','browserstack.accessibilityOptions','requireModule','authToken','chrome','255479EbBjWs','format','Qwial','device','digRU','scannerVersion','10395850QuAufn','aWzSH','selenium-webdriver/chrome.js','capabilities_','nestedKeyValue','Exception\x20in\x20setExtension\x20Error:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getBrowserVersion','IBYxf','PaqiQ','browserVersion','EmkMQ','BS_A11Y_JWT','args'];a26_0x1d0c=function(){return _0x22ef26;};return a26_0x1d0c();}(function(_0x3aa303,_0x2f6ae2){const _0x16f259=a26_0x1ce1,_0x21d919=_0x3aa303();while(!![]){try{const _0xf6e44f=parseInt(_0x16f259(0x8d))/0x1*(-parseInt(_0x16f259(0xa9))/0x2)+-parseInt(_0x16f259(0x9b))/0x3+-parseInt(_0x16f259(0x92))/0x4*(-parseInt(_0x16f259(0xa6))/0x5)+-parseInt(_0x16f259(0xbe))/0x6*(-parseInt(_0x16f259(0xc5))/0x7)+parseInt(_0x16f259(0x89))/0x8*(-parseInt(_0x16f259(0x8f))/0x9)+-parseInt(_0x16f259(0x7a))/0xa+parseInt(_0x16f259(0x90))/0xb;if(_0xf6e44f===_0x2f6ae2)break;else _0x21d919['push'](_0x21d919['shift']());}catch(_0x574394){_0x21d919['push'](_0x21d919['shift']());}}}(a26_0x1d0c,0xba47f));const path=require('path'),os=require('os'),util=require('util'),bsSetupHelper=require(a26_0x523b9b(0xa4)),globals=require(a26_0x523b9b(0x9a)),logger=require(a26_0x523b9b(0xbc))['winstonLogger'];exports[a26_0x523b9b(0xa8)]=_0x12dc8e=>{const _0x12e7a5=a26_0x523b9b,_0x49566e={};_0x49566e[_0x12e7a5(0x7b)]=_0x12e7a5(0xb8),_0x49566e[_0x12e7a5(0x9f)]=_0x12e7a5(0x9e),_0x49566e[_0x12e7a5(0xc7)]='isAccessibilityPlatform',_0x49566e[_0x12e7a5(0xb4)]=_0x12e7a5(0xc1);const _0x258a8b=_0x49566e;try{const _0x16c504=_0x12dc8e[_0x12e7a5(0x99)]||{};if(_0x16c504[_0x258a8b[_0x12e7a5(0x7b)]]&&_0x16c504[_0x258a8b[_0x12e7a5(0x7b)]][_0x12e7a5(0xae)]||_0x12dc8e['capability'][_0x258a8b[_0x12e7a5(0x9f)]]){globals[_0x12e7a5(0xaa)](_0x258a8b[_0x12e7a5(0xc7)],!![]);if(_0x16c504[_0x258a8b[_0x12e7a5(0x7b)]]){if(_0x16c504[_0x258a8b[_0x12e7a5(0x7b)]][_0x12e7a5(0xa7)])_0x16c504[_0x258a8b[_0x12e7a5(0x7b)]][_0x12e7a5(0xa7)]['authToken']=process['env'][_0x12e7a5(0x86)];else{const _0x55652c={};_0x55652c[_0x12e7a5(0xc3)]=process[_0x12e7a5(0x94)]['BS_A11Y_JWT'],_0x16c504[_0x258a8b[_0x12e7a5(0x7b)]]['accessibilityOptions']=_0x55652c;}_0x16c504[_0x258a8b[_0x12e7a5(0x7b)]]['accessibilityOptions'][_0x12e7a5(0xca)]=JSON[_0x12e7a5(0x8c)](process[_0x12e7a5(0x94)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x12e7a5(0xca)];}else{if(_0x12dc8e['capability'][_0x258a8b[_0x12e7a5(0x9f)]]){if(_0x16c504[_0x258a8b[_0x12e7a5(0xb4)]])_0x16c504[_0x258a8b['tQBbR']][_0x12e7a5(0xc3)]=process['env'][_0x12e7a5(0x86)];else{const _0x506215={};_0x506215[_0x12e7a5(0xc3)]=process[_0x12e7a5(0x94)][_0x12e7a5(0x86)],_0x16c504[_0x258a8b['tQBbR']]=_0x506215;}_0x16c504[_0x258a8b['tQBbR']]['scannerVersion']=JSON['parse'](process[_0x12e7a5(0x94)][_0x12e7a5(0x80)])[_0x12e7a5(0xca)];}}}}catch(_0x49fb02){logger['debug'](_0x12e7a5(0x8e)+_0x49fb02);}},exports[a26_0x523b9b(0x95)]=(_0x47dde5,_0x2b5cc0)=>{const _0x4b3989=a26_0x523b9b,_0x482dc6={};_0x482dc6['yqfzy']=_0x4b3989(0xb8),_0x482dc6[_0x4b3989(0xa0)]=function(_0x53b052,_0x2583d2){return _0x53b052!==_0x2583d2;},_0x482dc6[_0x4b3989(0x88)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.',_0x482dc6['mPZGx']=function(_0x726793,_0x48a666){return _0x726793!==_0x48a666;},_0x482dc6['PaqiQ']=_0x4b3989(0xc4),_0x482dc6[_0x4b3989(0xc9)]=_0x4b3989(0x8a),_0x482dc6[_0x4b3989(0xb1)]=function(_0x2e96f7,_0x116eb4){return _0x2e96f7===_0x116eb4;},_0x482dc6[_0x4b3989(0xbf)]=_0x4b3989(0xb2),_0x482dc6[_0x4b3989(0xa1)]=function(_0xcedf7,_0x3e3665){return _0xcedf7>_0x3e3665;},_0x482dc6[_0x4b3989(0xac)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.',_0x482dc6[_0x4b3989(0x85)]=_0x4b3989(0x7c),_0x482dc6[_0x4b3989(0xb7)]='options_',_0x482dc6[_0x4b3989(0x82)]=_0x4b3989(0x87),_0x482dc6[_0x4b3989(0x91)]=_0x4b3989(0x9c),_0x482dc6[_0x4b3989(0xb3)]=_0x4b3989(0x9d),_0x482dc6['dtUKU']='Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.';const _0x1a2658=_0x482dc6;try{const _0x220974=_0x2b5cc0['capability']||{},_0x323101=(_0x220974[_0x1a2658['yqfzy']]?_0x220974[_0x1a2658['yqfzy']]['deviceName']:_0x220974[_0x4b3989(0xc8)])||'';if(_0x1a2658[_0x4b3989(0xa0)](_0x323101,''))return logger[_0x4b3989(0x96)](_0x1a2658['dtZlu']),![];const _0x4d36df=_0x220974[_0x4b3989(0xb5)]||_0x47dde5[_0x4b3989(0x7d)][_0x4b3989(0xc0)]();if(_0x1a2658[_0x4b3989(0xa3)](_0x4d36df[_0x4b3989(0x98)](),_0x1a2658[_0x4b3989(0x83)]))return logger[_0x4b3989(0x96)](_0x1a2658[_0x4b3989(0xc9)]),![];const _0x184994=_0x220974[_0x4b3989(0x84)]||_0x220974[_0x4b3989(0xb9)]||_0x47dde5['capabilities_'][_0x4b3989(0x81)]();if(!bsSetupHelper[_0x4b3989(0xad)](_0x184994)&&!(_0x1a2658[_0x4b3989(0xb1)](_0x184994,_0x1a2658['zsqdV'])||_0x1a2658[_0x4b3989(0xa1)](_0x184994,0x5e)))return logger[_0x4b3989(0x96)](_0x1a2658[_0x4b3989(0xac)]),![];let _0x5afaf1;try{_0x5afaf1=bsSetupHelper[_0x4b3989(0xc2)](_0x1a2658[_0x4b3989(0x85)]);}catch(_0x34cef5){return![];}const _0xeaf53a=new _0x5afaf1['Options'](_0x47dde5['chromeOptions_']),_0x53b253=bsSetupHelper[_0x4b3989(0x7e)](_0xeaf53a,[_0x1a2658[_0x4b3989(0xb7)],_0x1a2658[_0x4b3989(0x82)]])||bsSetupHelper[_0x4b3989(0x7e)](_0x47dde5['capabilities_'][_0x4b3989(0xbb)](_0x1a2658[_0x4b3989(0xbd)]),[_0x1a2658[_0x4b3989(0x91)],_0x1a2658[_0x4b3989(0x82)]])||bsSetupHelper[_0x4b3989(0x7e)](_0x47dde5[_0x4b3989(0x7d)][_0x4b3989(0xbb)](_0x1a2658[_0x4b3989(0x91)]),[_0x1a2658['IBYxf']])||[];if(_0x53b253[_0x4b3989(0xaf)](_0x1a2658['FxaPe']))return logger[_0x4b3989(0x96)](_0x1a2658['dtUKU']),![];return!![];}catch(_0x3eaa5b){logger[_0x4b3989(0xba)](_0x4b3989(0x7f)+util[_0x4b3989(0xc6)](_0x3eaa5b));}return![];},exports[a26_0x523b9b(0x8b)]=async _0x43d8ae=>{const _0x2993e1=a26_0x523b9b,_0x532770={};_0x532770[_0x2993e1(0xb0)]=function(_0x35a599,_0xf8887b){return _0x35a599===_0xf8887b;},_0x532770[_0x2993e1(0x93)]=_0x2993e1(0xb6);const _0x5af82b=_0x532770;let _0x4ea8d6={};try{const _0x4e14d3=await _0x43d8ae[_0x2993e1(0xab)]();_0x4ea8d6={'os_name':_0x4e14d3[_0x2993e1(0xa2)](),'os_version':bsSetupHelper[_0x2993e1(0x97)](_0x5af82b['KUpIE'](global['__cloud_provider___'],_0x5af82b['xeYql'])),'browser_name':_0x4e14d3[_0x2993e1(0xc0)](),'browser_version':_0x4e14d3[_0x2993e1(0x81)]()};}catch(_0x4fbd14){logger[_0x2993e1(0xba)](_0x2993e1(0xa5)+_0x4fbd14);}return _0x4ea8d6;};
1
+ function a26_0x14a8(_0x48e834,_0x28ec88){const _0x5b22ef=a26_0x5b22();return a26_0x14a8=function(_0x14a8b6,_0x5a4005){_0x14a8b6=_0x14a8b6-0xbf;let _0x5f4137=_0x5b22ef[_0x14a8b6];return _0x5f4137;},a26_0x14a8(_0x48e834,_0x28ec88);}const a26_0x373dac=a26_0x14a8;(function(_0x2614cb,_0x5675e2){const _0x364f3c=a26_0x14a8,_0x5216a3=_0x2614cb();while(!![]){try{const _0x30d6b5=-parseInt(_0x364f3c(0xd1))/0x1*(parseInt(_0x364f3c(0xc3))/0x2)+parseInt(_0x364f3c(0x10c))/0x3*(parseInt(_0x364f3c(0xec))/0x4)+-parseInt(_0x364f3c(0xd2))/0x5+-parseInt(_0x364f3c(0xd5))/0x6*(parseInt(_0x364f3c(0xd4))/0x7)+-parseInt(_0x364f3c(0xf9))/0x8+parseInt(_0x364f3c(0xcb))/0x9*(-parseInt(_0x364f3c(0xf4))/0xa)+parseInt(_0x364f3c(0xfb))/0xb;if(_0x30d6b5===_0x5675e2)break;else _0x5216a3['push'](_0x5216a3['shift']());}catch(_0x246224){_0x5216a3['push'](_0x5216a3['shift']());}}}(a26_0x5b22,0x489d0));function a26_0x5b22(){const _0xd56883=['deviceName','LpQSy','9MTOjMz','latest','setAccessibilityCapabilities','BS_A11Y_JWT','browserstack.accessibility','warn','494049yCOyKV','2826700jOiVYA','getCapabilities','93163uQyMbR','30PjMfvm','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','capabilities_','browserstack.accessibilityOptions','getBrowserName','selenium-webdriver/chrome.js','BFVNa','options_','debug','nestedKeyValue','Options','util','ZTZAX','TqFWK','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','PjUtf','browserstack','BsVZT','winstonLogger','VMnkp','get','getPlatform','env','1871332tINJhg','accessibility','gQtQa','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','authToken','accessibilityOptions','wHrEI','vjfQK','4033810gbvSVb','fetchPlatformDetails','format','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','getBrowserVersion','1157032VavPnj','setGlobal','16538885vYpMcK','toLowerCase','chrome','nOxSu','UOWXl','dwPbM','capability','../../../helpers/logger','getPlatformVersion','Exception\x20in\x20setExtension\x20Error:\x20','TdQsW','jHwSM','browserName','ZPcnt','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','isUndefined','scannerVersion','3vkaVAZ','HLqpf','bstack:options','OmYmz','../../../helpers/globals','includes','xPOgb','fANDf','2kvythy','isAccessibilityPlatform','wyrVf','browserVersion','chromeOptions','__cloud_provider___'];a26_0x5b22=function(){return _0xd56883;};return a26_0x5b22();}const path=require('path'),os=require('os'),util=require(a26_0x373dac(0xe0)),bsSetupHelper=require('../../../helpers/helper'),globals=require(a26_0x373dac(0xbf)),logger=require(a26_0x373dac(0x102))[a26_0x373dac(0xe7)];exports[a26_0x373dac(0xcd)]=_0x38f3dc=>{const _0x44d676=a26_0x373dac,_0x589c8e={};_0x589c8e[_0x44d676(0x106)]=_0x44d676(0x10e),_0x589c8e['VMnkp']=_0x44d676(0xcf),_0x589c8e[_0x44d676(0xff)]=_0x44d676(0xc4),_0x589c8e['wHrEI']=_0x44d676(0xd8);const _0x48ffac=_0x589c8e;try{const _0x1d576c=_0x38f3dc[_0x44d676(0x101)]||{};if(_0x1d576c[_0x48ffac[_0x44d676(0x106)]]&&_0x1d576c[_0x48ffac[_0x44d676(0x106)]][_0x44d676(0xed)]||_0x38f3dc[_0x44d676(0x101)][_0x48ffac[_0x44d676(0xe8)]]){globals[_0x44d676(0xfa)](_0x48ffac['UOWXl'],!![]);if(_0x1d576c[_0x48ffac[_0x44d676(0x106)]]){if(_0x1d576c[_0x48ffac['jHwSM']][_0x44d676(0xf1)])_0x1d576c[_0x48ffac[_0x44d676(0x106)]][_0x44d676(0xf1)][_0x44d676(0xf0)]=process[_0x44d676(0xeb)][_0x44d676(0xce)];else{const _0x332e13={};_0x332e13['authToken']=process[_0x44d676(0xeb)][_0x44d676(0xce)],_0x1d576c[_0x48ffac[_0x44d676(0x106)]][_0x44d676(0xf1)]=_0x332e13;}_0x1d576c[_0x48ffac[_0x44d676(0x106)]]['accessibilityOptions'][_0x44d676(0x10b)]=JSON['parse'](process[_0x44d676(0xeb)][_0x44d676(0xe3)])[_0x44d676(0x10b)];}else{if(_0x38f3dc['capability'][_0x48ffac[_0x44d676(0xe8)]]){if(_0x1d576c[_0x48ffac[_0x44d676(0xf2)]])_0x1d576c[_0x48ffac[_0x44d676(0xf2)]]['authToken']=process['env'][_0x44d676(0xce)];else{const _0x1d74f3={};_0x1d74f3[_0x44d676(0xf0)]=process['env']['BS_A11Y_JWT'],_0x1d576c[_0x48ffac['wHrEI']]=_0x1d74f3;}_0x1d576c[_0x48ffac[_0x44d676(0xf2)]][_0x44d676(0x10b)]=JSON['parse'](process[_0x44d676(0xeb)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x44d676(0x10b)];}}}}catch(_0x1e0f1e){logger[_0x44d676(0xdd)](_0x44d676(0x109)+_0x1e0f1e);}},exports['setExtension']=(_0x11198a,_0x5deba5)=>{const _0x42fb34=a26_0x373dac,_0x5a91a2={};_0x5a91a2[_0x42fb34(0xc5)]='bstack:options',_0x5a91a2[_0x42fb34(0xee)]=function(_0xb3abb,_0x6fc3c1){return _0xb3abb!==_0x6fc3c1;},_0x5a91a2[_0x42fb34(0xdb)]=_0x42fb34(0xd6),_0x5a91a2[_0x42fb34(0xe6)]=function(_0x1ea1ee,_0x4dbfb1){return _0x1ea1ee!==_0x4dbfb1;},_0x5a91a2[_0x42fb34(0x105)]=_0x42fb34(0xfd),_0x5a91a2[_0x42fb34(0xc1)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.',_0x5a91a2[_0x42fb34(0x108)]=function(_0x320989,_0x11b272){return _0x320989===_0x11b272;},_0x5a91a2[_0x42fb34(0xc2)]=_0x42fb34(0xcc),_0x5a91a2['ZTZAX']=function(_0x105aae,_0x39fc26){return _0x105aae>_0x39fc26;},_0x5a91a2['NqtCg']='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.',_0x5a91a2[_0x42fb34(0xca)]=_0x42fb34(0xda),_0x5a91a2['nOxSu']=_0x42fb34(0xdc),_0x5a91a2[_0x42fb34(0xe2)]='args',_0x5a91a2[_0x42fb34(0xe4)]=_0x42fb34(0xc7),_0x5a91a2[_0x42fb34(0x10f)]='--headless',_0x5a91a2[_0x42fb34(0x10d)]=_0x42fb34(0xf7);const _0x2b99aa=_0x5a91a2;try{const _0x4be243=_0x5deba5['capability']||{},_0x211b59=(_0x4be243[_0x2b99aa[_0x42fb34(0xc5)]]?_0x4be243[_0x2b99aa[_0x42fb34(0xc5)]][_0x42fb34(0xc9)]:_0x4be243['device'])||'';if(_0x2b99aa[_0x42fb34(0xee)](_0x211b59,''))return logger[_0x42fb34(0xd0)](_0x2b99aa[_0x42fb34(0xdb)]),![];const _0x243f0c=_0x4be243[_0x42fb34(0x107)]||_0x11198a[_0x42fb34(0xd7)][_0x42fb34(0xd9)]();if(_0x2b99aa[_0x42fb34(0xe6)](_0x243f0c[_0x42fb34(0xfc)](),_0x2b99aa[_0x42fb34(0x105)]))return logger['warn'](_0x2b99aa[_0x42fb34(0xc1)]),![];const _0x289ad4=_0x4be243[_0x42fb34(0xc6)]||_0x4be243['browser_version']||_0x11198a[_0x42fb34(0xd7)][_0x42fb34(0xf8)]();if(!bsSetupHelper[_0x42fb34(0x10a)](_0x289ad4)&&!(_0x2b99aa[_0x42fb34(0x108)](_0x289ad4,_0x2b99aa['fANDf'])||_0x2b99aa[_0x42fb34(0xe1)](_0x289ad4,0x5e)))return logger[_0x42fb34(0xd0)](_0x2b99aa['NqtCg']),![];let _0x1f6fe2;try{_0x1f6fe2=bsSetupHelper['requireModule'](_0x2b99aa[_0x42fb34(0xca)]);}catch(_0x319938){return![];}const _0xfd8fa6=new _0x1f6fe2[(_0x42fb34(0xdf))](_0x11198a['chromeOptions_']),_0x6d1d8f=bsSetupHelper[_0x42fb34(0xde)](_0xfd8fa6,[_0x2b99aa[_0x42fb34(0xfe)],_0x2b99aa[_0x42fb34(0xe2)]])||bsSetupHelper['nestedKeyValue'](_0x11198a[_0x42fb34(0xd7)][_0x42fb34(0xe9)](_0x2b99aa[_0x42fb34(0xc5)]),[_0x2b99aa[_0x42fb34(0xe4)],_0x2b99aa[_0x42fb34(0xe2)]])||bsSetupHelper[_0x42fb34(0xde)](_0x11198a[_0x42fb34(0xd7)][_0x42fb34(0xe9)](_0x2b99aa[_0x42fb34(0xe4)]),[_0x2b99aa[_0x42fb34(0xe2)]])||[];if(_0x6d1d8f[_0x42fb34(0xc0)](_0x2b99aa['OmYmz']))return logger[_0x42fb34(0xd0)](_0x2b99aa[_0x42fb34(0x10d)]),![];return!![];}catch(_0x455070){logger['debug'](_0x42fb34(0x104)+util[_0x42fb34(0xf6)](_0x455070));}return![];},exports[a26_0x373dac(0xf5)]=async _0x343573=>{const _0x580802=a26_0x373dac,_0x6c0fd6={};_0x6c0fd6[_0x580802(0xf3)]=function(_0x18cc47,_0x516157){return _0x18cc47===_0x516157;},_0x6c0fd6['dwPbM']=_0x580802(0xe5);const _0x3c25e8=_0x6c0fd6;let _0x21e9e9={};try{const _0xdba05d=await _0x343573[_0x580802(0xd3)]();_0x21e9e9={'os_name':_0xdba05d[_0x580802(0xea)](),'os_version':bsSetupHelper[_0x580802(0x103)](_0x3c25e8[_0x580802(0xf3)](global[_0x580802(0xc8)],_0x3c25e8[_0x580802(0x100)])),'browser_name':_0xdba05d['getBrowserName'](),'browser_version':_0xdba05d['getBrowserVersion']()};}catch(_0x59961e){logger['debug'](_0x580802(0xef)+_0x59961e);}return _0x21e9e9;};
@@ -1 +1 @@
1
- 'use strict';const a27_0x571973=a27_0xbabc;(function(_0x2d0668,_0x2b82b6){const _0x3e961e=a27_0xbabc,_0x291940=_0x2d0668();while(!![]){try{const _0x327f71=parseInt(_0x3e961e(0x1d2))/0x1+parseInt(_0x3e961e(0x1ef))/0x2*(-parseInt(_0x3e961e(0x1ab))/0x3)+-parseInt(_0x3e961e(0x1f6))/0x4+-parseInt(_0x3e961e(0x1d0))/0x5*(parseInt(_0x3e961e(0x217))/0x6)+-parseInt(_0x3e961e(0x192))/0x7+parseInt(_0x3e961e(0x15d))/0x8+-parseInt(_0x3e961e(0x1b5))/0x9*(-parseInt(_0x3e961e(0x187))/0xa);if(_0x327f71===_0x2b82b6)break;else _0x291940['push'](_0x291940['shift']());}catch(_0x12f9ce){_0x291940['push'](_0x291940['shift']());}}}(a27_0x1dc2,0xda75c));function a27_0xbabc(_0x3c06c9,_0x5e7af7){const _0x1dc2bc=a27_0x1dc2();return a27_0xbabc=function(_0xbabc8b,_0x488004){_0xbabc8b=_0xbabc8b-0xfa;let _0x1dd7be=_0x1dc2bc[_0xbabc8b];return _0x1dd7be;},a27_0xbabc(_0x3c06c9,_0x5e7af7);}function a27_0x1dc2(){const _0x5028a6=['74050dWwtHT','FSqXC','1012751Hvmsxr','EtbWQ','TqJuB','omhXI','Ykbuu','integrations','VKzfh','BCXDX','reporterOption','scope','path','analyticsResult','color','config','vnTCC','PoWwy','done','IaRpA','testAnalyticsId','bsConfig','MkvrC','kfEsZ','oXvQx','finished_at','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','light','JCaTq','increaseIndent','TqpQb','2ZdpRVD','getRootParentFile','.git','KHHTc','2|1|4|3|0','VjonG','__platform__','1762100EUuhBw','Kidva','BiZOz','PxDcK','xqUjV','lBeux','tRWfV','before\x20all','push','registerListeners','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','</code></pre></dd>','KOOnf','ewRuy','bs:addPlatformDetails:','../test-observability/mochaUtils','pid','EVENT','test_run_uuid','appendTestPlatform','HkHcB','apply','HookStarted','oLMEZ','clean','iOdDc','relative','mocha/lib/runnable.js','\x20%s','mocha','body','trim','MOCHA','438JyEXps','Reporter','XfLxT','event_type','CEDVA','http_response','testObservability','BEFORE_ALL','toString','\x20\x20<dd\x20class=\x22error\x22><pre><code>','xHjzw','cwd','AssertionError','match','dAJJJ','</dd>','failCount','isPending','failed','FzeUN','ffykq','bTOWO','removeAllListeners','sendTestRunEvent','KEBDT','VDKlf','dot','constants','result','ikrOY','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','length','Tivdj','sajqs','docHtml','YqfOi','RUNNING','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','expanded','gFwaM','BEFORE_EACH','YdVWD','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','AFTER_ALL','\x20\x20<dd><pre><code>','toISOString','../../../helpers/test-observability/constants','ctx','ojkcm','current_test','bind','qVnjE','HookRunFinished','reporterOptions','shouldProcessEventForTesthub','state','HookRunStarted','passed','\x20\x20<dt\x20class=\x22error\x22>','UPjAO','pending','MpVxJ','xunit','HookFinished','join','failure','__indents','ueyNy','hookAnalyticsId','<h1>','after\x20all','test','markedStatus','Mocha','File\x20path\x20could\x20not\x20be\x20found','started_at','ukqMD','HOaAE','_testEnv','fvfZs','decreaseIndent','suite','exports','NKBYa','gZqjd','backtrace','lLmMM','write','VMMPQ','PpaAy','lMEgq','duration','aEfLa','results','aGtgl','mocha/lib/utils.js','currentRetry','error','indent','IQsHN','retryOf','../../../helpers/test-observability/utils','BoxhJ','TestRunFinished','OhHSj','fullTitle','EDzIY','suiteCount','EYHLm','parent','err','3597400kOBpaH','_buildCreated','</dt>','suites','ocUkq','dPUem','../../../helpers/test-observability/requestQueueHandler','XSbQZ','once','zRkIa','appendTestItemLog','current_hook','kxwwO','slow','EQPmR','name','tddHV','file','uuid','</dl>','DzdUZ','AFTER_EACH','currentTest','%s\x20','javascript','_testResults','after\x20each','LhcYl','RsLWu','LogCreated','CXsII','OMIKz','getTime','RtPvn','nWPRp','_paths','UnhandledError','prototype','bs:addLog:','nwJFJ','\x20-\x20','escape','11715640VRLhLH','ZKflq','prefixTestPath','axRbr','KoIsE','testStarted','getInstance','includes','hook_run','slice','type','7560154reZSuF','originalTitle','consoleLog','KnXtQ','speed','fast','YSZSz','TestRunStarted','util','nZBvW','JaaKV','%s\x20-\x20%s','YYfsk','ANPND','call','title','tJcsS','bright\x20yellow','DxLiY','\x20(%dms)','findGitConfig','\x20\x20<dt>','FICtI','cOoGf','RTxtw','4441887RNgEME','itRef','<dl>','KujRs','../../../helpers/helper','test_run','\x20with\x20error\x20:\x20','hook_run_uuid','symbols','multiple','27GupEhT','forEach','setCurrentTestData','logs','BiPbx','hook_type','finalResults','stdout','uploadEventData','runner','tcCxW','pass','../../../helpers/testhub/utils','sEQkT','_upstreamConfig','docAppend','TestRunSkipped','_indents','wVoGC','.js','iWKrQ','frkWE','\x20\x20<dd\x20class=\x22error\x22>','titlePath','mBlFj','scopes','appendTesthubParams'];a27_0x1dc2=function(){return _0x5028a6;};return a27_0x1dc2();}const util=require(a27_0x571973(0x19a)),fs=require('fs'),path=require(a27_0x571973(0x1dc)),{requireModule}=require(a27_0x571973(0x1af)),Base=requireModule('mocha/lib/reporters/base.js'),utils=requireModule(a27_0x571973(0x14d)),color=Base['color'],Mocha=requireModule(a27_0x571973(0x213)),Runnable=requireModule(a27_0x571973(0x211)),{v4:uuidv4}=require(a27_0x571973(0x16f)),bsSetupHelper=require(a27_0x571973(0x1af)),testhubUtils=require(a27_0x571973(0x1c1)),testHubConstants=require('../../../helpers/testhub/constants'),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),a27_0x15a77a={};a27_0x15a77a[a27_0x571973(0x1fd)]=a27_0x571973(0x21e),a27_0x15a77a[a27_0x571973(0x134)]=a27_0x571973(0x119),a27_0x15a77a['before\x20each']=a27_0x571973(0x116),a27_0x15a77a[a27_0x571973(0x177)]=a27_0x571973(0x172);const HOOK_TYPES_MAP=a27_0x15a77a,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha['Runner'][a27_0x571973(0x109)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x571973(0x109)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x571973(0x205)),{consoleHolder}=require(a27_0x571973(0x11c)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x571973(0x153)),RequestQueueHandler=require(a27_0x571973(0x163)),requestQueueHandler=RequestQueueHandler[a27_0x571973(0x18d)]();class MyReporter{constructor(_0xab3d1c,_0x52730a){const _0x3ff13d=a27_0x571973,_0x95e037={'xHjzw':function(_0x50e5e2,_0x454c1c){return _0x50e5e2===_0x454c1c;},'IzyYc':'spec','tRWfV':function(_0x4518b1,_0x14eee0){return _0x4518b1+_0x14eee0;},'JCaTq':function(_0x3dbd34,_0x105bb5,_0x4c44d2){return _0x3dbd34(_0x105bb5,_0x4c44d2);},'kfEsZ':'green','HOaAE':_0x3ff13d(0x174),'TqJuB':_0x3ff13d(0x1eb),'VDKlf':_0x3ff13d(0x19d),'VKzfh':_0x3ff13d(0x112),'itRef':'doc','nZBvW':function(_0x1f857d,_0x349202){return _0x1f857d===_0x349202;},'FICtI':function(_0xd77adb){return _0xd77adb();},'PoWwy':_0x3ff13d(0x126),'ZKflq':_0x3ff13d(0x122),'MgUrx':'passed','DzdUZ':_0x3ff13d(0x197),'CXsII':function(_0xc656cf,_0x3f9cd2){return _0xc656cf+_0x3f9cd2;},'KEBDT':function(_0x3305a4,_0x1e934e,_0x532702){return _0x3305a4(_0x1e934e,_0x532702);},'IQsHN':'checkmark','Ykbuu':_0x3ff13d(0x1c0),'ffykq':_0x3ff13d(0x212),'VjonG':function(_0x3fa173,_0xba109f){return _0x3fa173+_0xba109f;},'zZIow':_0x3ff13d(0x1a5),'YSZSz':'fail','BCXDX':'\x20\x20%d)\x20%s','dAJJJ':function(_0x35ad90,_0x51725a){return _0x35ad90===_0x51725a;},'KHHTc':function(_0x40fd0d,_0x5322ca){return _0x40fd0d+_0x5322ca;},'wVoGC':_0x3ff13d(0x1a3),'EYHLm':'COMPLETED','UPjAO':function(_0x5633a3,_0x25beed){return _0x5633a3===_0x25beed;},'ueyNy':function(_0x2ae963,_0x3807ab){return _0x2ae963===_0x3807ab;},'YYfsk':_0x3ff13d(0x108),'sajqs':_0x3ff13d(0x16a),'mBlFj':function(_0xb27960,_0x1465ff){return _0xb27960===_0x1465ff;},'omhXI':function(_0x5330c8,_0x5efc3f){return _0x5330c8===_0x5efc3f;},'tcCxW':function(_0x434fde,_0x188e76){return _0x434fde===_0x188e76;},'EDzIY':_0x3ff13d(0x1f3),'Kidva':_0x3ff13d(0x12a),'aGtgl':function(_0x2c4f05,_0x3fad72){return _0x2c4f05===_0x3fad72;},'FzeUN':function(_0x2d3794){return _0x2d3794();},'DxLiY':_0x3ff13d(0x1c5),'ikrOY':function(_0x6e36e3,_0x4e2b38){return _0x6e36e3===_0x4e2b38;},'cKTUQ':function(_0x1b501f,_0x35c008){return _0x1b501f(_0x35c008);},'IaRpA':function(_0x334428){return _0x334428();},'lhDHE':function(_0x33cb6b,_0x364321){return _0x33cb6b(_0x364321);},'rvist':function(_0x11ec8a,_0x5eef34){return _0x11ec8a===_0x5eef34;},'ANPND':_0x3ff13d(0x12c),'RsLWu':function(_0x2368af,_0x38ff2c){return _0x2368af(_0x38ff2c);},'obwAR':function(_0x49e8b6,_0x50794e){return _0x49e8b6(_0x50794e);},'nwJFJ':function(_0x203110,_0x500223){return _0x203110!==_0x500223;}};this[_0x3ff13d(0x191)]=_0x52730a[_0x3ff13d(0x1da)][_0x3ff13d(0x191)],this[_0x3ff13d(0x21d)]=_0x95e037[_0x3ff13d(0x1a8)](isTestObservabilitySession),Base[_0x3ff13d(0x1a0)](this,_0xab3d1c,_0x52730a),this[_0x3ff13d(0x1c6)]=0x0,this[_0x3ff13d(0xfe)]=0x0,this[_0x3ff13d(0x14b)]=[],this['finalResults']=[],this[_0x3ff13d(0x159)]=0x0,this[_0x3ff13d(0x15e)]=![],this['_testResults']=[],this[_0x3ff13d(0x13c)]=_0x95e037['FICtI'](getTestEnv),this[_0x3ff13d(0x180)]=new PathHelper({'cwd':process[_0x3ff13d(0x222)]()},this[_0x3ff13d(0x13c)]['location_prefix']),this[_0x3ff13d(0x1c3)]=_0x52730a[_0x3ff13d(0x1da)][_0x3ff13d(0x1e5)],this['registerListeners']();_0x95e037['rvist'](this[_0x3ff13d(0x191)],_0x95e037[_0x3ff13d(0x1ac)])&&(this[_0x3ff13d(0x110)]='',this[_0x3ff13d(0x130)]=0x2);_0xab3d1c['once'](EVENT_RUN_BEGIN,async()=>{const _0x1232e7=_0x3ff13d;_0x95e037[_0x1232e7(0x221)](this[_0x1232e7(0x191)],_0x95e037['IzyYc'])&&Base[_0x1232e7(0x194)]();})['on'](EVENT_SUITE_BEGIN,_0x23d2c5=>{const _0x48485f=_0x3ff13d;if(_0x23d2c5['root'])return;if(_0x95e037[_0x48485f(0x221)](this['type'],_0x95e037['IzyYc']))this[_0x48485f(0x1ed)](),Base[_0x48485f(0x194)](_0x95e037[_0x48485f(0x1fc)](_0x95e037[_0x48485f(0x1fc)](this[_0x48485f(0x150)](),_0x95e037[_0x48485f(0x1ec)](color,_0x95e037[_0x48485f(0x1e7)],_0x95e037[_0x48485f(0x13b)])),_0x95e037[_0x48485f(0x1ec)](color,_0x95e037[_0x48485f(0x1d4)],_0x95e037[_0x48485f(0x107)])),_0x95e037[_0x48485f(0x1d8)],_0x23d2c5['title'],global[_0x48485f(0x1f5)]);else _0x95e037['xHjzw'](this[_0x48485f(0x191)],_0x95e037[_0x48485f(0x1ac)])&&(this[_0x48485f(0x1c4)](this[_0x48485f(0x150)]()+'<section\x20class=\x22suite\x22>'),++this[_0x48485f(0x130)],this[_0x48485f(0x1c4)](this[_0x48485f(0x150)]()+_0x48485f(0x133)+utils[_0x48485f(0x186)](_0x23d2c5[_0x48485f(0x1a1)]+_0x48485f(0x185)+global[_0x48485f(0x1f5)])+'</h1>'),this['docAppend'](this[_0x48485f(0x150)]()+_0x48485f(0x1ad)));})['on'](EVENT_HOOK_BEGIN,async _0x3af434=>{const _0x206054=_0x3ff13d;if(_0x95e037[_0x206054(0x19b)](testhubUtils[_0x206054(0x124)](testHubConstants['EVENT'][_0x206054(0x20c)]),!![])){if(!_0x3af434['hookAnalyticsId'])_0x3af434[_0x206054(0x132)]=_0x95e037[_0x206054(0x1a8)](uuidv4);else _0x3af434[_0x206054(0x136)]&&(_0x3af434[_0x206054(0x132)]=_0x95e037[_0x206054(0x1a8)](uuidv4),delete _0x3af434[_0x206054(0x136)]);_0x3af434[_0x206054(0x139)]=new Date()['toISOString'](),this[_0x206054(0x168)]=_0x3af434,await this[_0x206054(0x105)](_0x3af434,undefined,![],_0x95e037[_0x206054(0x1e1)]);}})['on'](EVENT_HOOK_END,async _0x23339d=>{const _0x497a45=_0x3ff13d;_0x95e037['xHjzw'](testhubUtils[_0x497a45(0x124)](testHubConstants[_0x497a45(0x207)]['HookFinished']),!![])&&(!_0x23339d[_0x497a45(0x136)]&&(_0x23339d[_0x497a45(0x136)]=!![],await this[_0x497a45(0x105)](_0x23339d,undefined,![],_0x95e037[_0x497a45(0x188)])));})['on'](EVENT_SUITE_END,_0x575dea=>{const _0x28db7e=_0x3ff13d,_0x3f1e53={'oLMEZ':function(_0x322338,_0x1657f2){const _0x318090=a27_0xbabc;return _0x95e037[_0x318090(0x221)](_0x322338,_0x1657f2);},'lLmMM':_0x95e037['MgUrx'],'MkvrC':_0x95e037[_0x28db7e(0x171)],'ocUkq':function(_0x4f582c,_0x4e1e53){const _0x15861d=_0x28db7e;return _0x95e037[_0x15861d(0x17b)](_0x4f582c,_0x4e1e53);},'cOoGf':function(_0x7b31a4,_0x3565ef,_0x57d9a4){const _0x7a1e2f=_0x28db7e;return _0x95e037[_0x7a1e2f(0x106)](_0x7b31a4,_0x3565ef,_0x57d9a4);},'gZqjd':_0x95e037[_0x28db7e(0x151)],'zRkIa':function(_0x21d174,_0x5af25e){return _0x95e037['tRWfV'](_0x21d174,_0x5af25e);},'ukqMD':function(_0x46e145,_0x40dcc7,_0x3c2ba0){const _0x59a183=_0x28db7e;return _0x95e037[_0x59a183(0x106)](_0x46e145,_0x40dcc7,_0x3c2ba0);},'iOdDc':_0x95e037[_0x28db7e(0x1d6)],'lBeux':_0x95e037[_0x28db7e(0x102)],'YdVWD':function(_0x582b7d,_0x2dc0fe){const _0x170dae=_0x28db7e;return _0x95e037[_0x170dae(0x1f4)](_0x582b7d,_0x2dc0fe);},'NLnzt':function(_0x406a58,_0x5663c0,_0x382364){return _0x95e037['JCaTq'](_0x406a58,_0x5663c0,_0x382364);},'ETFhY':_0x95e037['zZIow'],'kxwwO':_0x95e037['YSZSz'],'tAyTM':_0x95e037[_0x28db7e(0x1d9)]};if(_0x575dea['root'])return;if(_0x95e037[_0x28db7e(0xfc)](this[_0x28db7e(0x191)],_0x95e037['IzyYc']))Base[_0x28db7e(0x194)](),Base[_0x28db7e(0x194)](_0x95e037[_0x28db7e(0x1f2)](_0x95e037['CXsII'](this[_0x28db7e(0x150)](),_0x95e037[_0x28db7e(0x1ec)](color,_0x95e037[_0x28db7e(0x1c7)],_0x95e037[_0x28db7e(0x13b)])),_0x95e037[_0x28db7e(0x106)](color,_0x95e037[_0x28db7e(0x1d4)],_0x95e037[_0x28db7e(0x107)])),_0x95e037[_0x28db7e(0x15a)],_0x575dea[_0x28db7e(0x1a1)],global[_0x28db7e(0x1f5)]),this[_0x28db7e(0x14b)][_0x28db7e(0x1b6)](_0x3a9806=>{const _0x4f5bd5=_0x28db7e;if(_0x3f1e53[_0x4f5bd5(0x20d)](_0x3a9806[_0x4f5bd5(0x125)],_0x3f1e53[_0x4f5bd5(0x144)])){var _0x1f504e;_0x3f1e53['oLMEZ'](_0x3a9806[_0x4f5bd5(0x196)],_0x3f1e53[_0x4f5bd5(0x1e6)])?(_0x1f504e=_0x3f1e53[_0x4f5bd5(0x161)](_0x3f1e53[_0x4f5bd5(0x161)](this[_0x4f5bd5(0x150)](),_0x3f1e53[_0x4f5bd5(0x1a9)](color,_0x3f1e53['gZqjd'],_0x3f1e53[_0x4f5bd5(0x166)]('\x20\x20',Base[_0x4f5bd5(0x1b3)]['ok']))),_0x3f1e53['ukqMD'](color,_0x3f1e53['iOdDc'],_0x3f1e53['lBeux'])),Base[_0x4f5bd5(0x194)](_0x1f504e,_0x3a9806[_0x4f5bd5(0x1a1)])):(_0x1f504e=_0x3f1e53[_0x4f5bd5(0x161)](_0x3f1e53[_0x4f5bd5(0x117)](_0x3f1e53[_0x4f5bd5(0x117)](this['indent'](),_0x3f1e53['ukqMD'](color,_0x3f1e53[_0x4f5bd5(0x142)],_0x3f1e53['YdVWD']('\x20\x20',Base[_0x4f5bd5(0x1b3)]['ok']))),_0x3f1e53[_0x4f5bd5(0x13a)](color,_0x3f1e53[_0x4f5bd5(0x20f)],_0x3f1e53[_0x4f5bd5(0x1fb)])),_0x3f1e53['NLnzt'](color,_0x3a9806[_0x4f5bd5(0x196)],_0x3f1e53['ETFhY'])),Base[_0x4f5bd5(0x194)](_0x1f504e,_0x3a9806[_0x4f5bd5(0x1a1)],_0x3a9806[_0x4f5bd5(0x149)]));}else Base['consoleLog'](_0x3f1e53['zRkIa'](this['indent'](),_0x3f1e53[_0x4f5bd5(0x13a)](color,_0x3f1e53[_0x4f5bd5(0x169)],_0x3f1e53['tAyTM'])),++this[_0x4f5bd5(0xfe)],_0x3a9806[_0x4f5bd5(0x1a1)]);}),this[_0x28db7e(0x13e)]();else _0x95e037[_0x28db7e(0x129)](this['type'],_0x95e037[_0x28db7e(0x1ac)])&&(this[_0x28db7e(0x1c4)](this[_0x28db7e(0x150)]()+_0x28db7e(0x170)),--this[_0x28db7e(0x130)],this['docAppend'](this[_0x28db7e(0x150)]()+'</section>'),--this['__indents']);Array[_0x28db7e(0x182)]['push'][_0x28db7e(0x20b)](this[_0x28db7e(0x1bb)],this[_0x28db7e(0x14b)]),this[_0x28db7e(0x14b)]=[];})['on'](EVENT_TEST_PASS,async _0x4e7e31=>{const _0x5534c2=_0x3ff13d;this[_0x5534c2(0x14b)][_0x5534c2(0x1fe)]({'speed':_0x4e7e31['speed'],'suite':_0x4e7e31[_0x5534c2(0x15b)][_0x5534c2(0x1a1)],'title':_0x4e7e31['title'],'fullTitle':_0x4e7e31[_0x5534c2(0x157)](),'duration':_0x4e7e31['duration'],'state':_0x4e7e31[_0x5534c2(0x125)],'err':{},'currentRetry':_0x4e7e31[_0x5534c2(0x14e)](),'titlePathV':_0x4e7e31[_0x5534c2(0x1cc)](),'isPending':_0x4e7e31[_0x5534c2(0xff)]()});if(_0x95e037[_0x5534c2(0x131)](this['type'],_0x95e037[_0x5534c2(0x19e)]))_0x95e037[_0x5534c2(0x221)](_0x4e7e31[_0x5534c2(0x196)],_0x95e037[_0x5534c2(0x10f)])?process[_0x5534c2(0x1bc)][_0x5534c2(0x145)](Base[_0x5534c2(0x1de)](_0x95e037['wVoGC'],Base[_0x5534c2(0x1b3)]['dot'])):process[_0x5534c2(0x1bc)]['write'](Base[_0x5534c2(0x1de)](_0x4e7e31['speed'],Base[_0x5534c2(0x1b3)][_0x5534c2(0x108)]));else{if(_0x95e037[_0x5534c2(0xfc)](this['type'],_0x95e037[_0x5534c2(0x1ac)])){this[_0x5534c2(0x1c4)](this[_0x5534c2(0x150)]()+_0x5534c2(0x1a7)+utils[_0x5534c2(0x186)](_0x4e7e31[_0x5534c2(0x1a1)])+_0x5534c2(0x15f)),this[_0x5534c2(0x1c4)](this[_0x5534c2(0x150)]()+'\x20\x20<dt>'+utils['escape'](_0x4e7e31[_0x5534c2(0x16e)])+'</dt>');var _0x4d75ad=utils[_0x5534c2(0x186)](utils[_0x5534c2(0x20e)](_0x4e7e31[_0x5534c2(0x214)]));this[_0x5534c2(0x1c4)](this[_0x5534c2(0x150)]()+_0x5534c2(0x11a)+_0x4d75ad+_0x5534c2(0x201));}}_0x95e037[_0x5534c2(0x1cd)](testhubUtils[_0x5534c2(0x124)](),!![])&&(!_0x4e7e31[_0x5534c2(0x136)]&&(_0x4e7e31[_0x5534c2(0x136)]=!![],await this[_0x5534c2(0x105)](_0x4e7e31)));})['on'](EVENT_TEST_FAIL,async(_0x3fb603,_0x326afc)=>{const _0x1b360e=_0x3ff13d;this[_0x1b360e(0x14b)]['push']({'title':_0x3fb603['title'],'suite':_0x3fb603[_0x1b360e(0x15b)][_0x1b360e(0x1a1)],'state':_0x3fb603[_0x1b360e(0x125)],'err':{'message':util['inspect'](_0x326afc)},'fullTitle':_0x3fb603[_0x1b360e(0x157)](),'speed':_0x3fb603['speed'],'currentRetry':_0x3fb603['currentRetry'](),'titlePathV':_0x3fb603[_0x1b360e(0x1cc)]()});if(_0x95e037[_0x1b360e(0x1d5)](this[_0x1b360e(0x191)],_0x95e037[_0x1b360e(0x19e)]))process[_0x1b360e(0x1bc)][_0x1b360e(0x145)](Base[_0x1b360e(0x1de)](_0x95e037[_0x1b360e(0x198)],Base[_0x1b360e(0x1b3)]['bang']));else{if(_0x95e037['tcCxW'](this[_0x1b360e(0x191)],_0x95e037[_0x1b360e(0x1ac)])){const _0x14ec77=_0x95e037[_0x1b360e(0x158)]['split']('|');let _0x3c3f5c=0x0;while(!![]){switch(_0x14ec77[_0x3c3f5c++]){case'0':this[_0x1b360e(0x1c4)](this[_0x1b360e(0x150)]()+_0x1b360e(0x1cb)+utils[_0x1b360e(0x186)](_0x3fb603['err'])+_0x1b360e(0xfd));continue;case'1':this['docAppend'](this[_0x1b360e(0x150)]()+_0x1b360e(0x128)+utils[_0x1b360e(0x186)](_0x3fb603[_0x1b360e(0x16e)])+_0x1b360e(0x15f));continue;case'2':this[_0x1b360e(0x1c4)](this[_0x1b360e(0x150)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x1b360e(0x186)](_0x3fb603['title'])+'</dt>');continue;case'3':this[_0x1b360e(0x1c4)](this[_0x1b360e(0x150)]()+_0x1b360e(0x220)+_0x24be5a+'</code></pre></dd>');continue;case'4':var _0x24be5a=utils[_0x1b360e(0x186)](utils['clean'](_0x3fb603[_0x1b360e(0x214)]));continue;}break;}}}if(_0x95e037[_0x1b360e(0x131)](testhubUtils[_0x1b360e(0x124)](testHubConstants['EVENT'][_0x1b360e(0x12d)]),!![])){if(!_0x3fb603[_0x1b360e(0x136)]){_0x3fb603[_0x1b360e(0x136)]=!![];if(_0x3fb603[_0x1b360e(0x1e4)])await this[_0x1b360e(0x105)](_0x3fb603,_0x326afc);else _0x3fb603[_0x1b360e(0x132)]&&await this[_0x1b360e(0x105)](_0x3fb603,_0x326afc,![],_0x95e037[_0x1b360e(0x188)]);}}})['on'](EVENT_TEST_PENDING,async _0x21a27b=>{const _0x3eb096=_0x3ff13d;this[_0x3eb096(0x14b)][_0x3eb096(0x1fe)]({'title':_0x21a27b['title'],'suite':_0x21a27b['parent'][_0x3eb096(0x1a1)],'state':_0x21a27b['state'],'err':{},'fullTitle':_0x21a27b[_0x3eb096(0x157)](),'speed':_0x21a27b[_0x3eb096(0x196)],'currentRetry':_0x21a27b[_0x3eb096(0x14e)](),'titlePathV':_0x21a27b[_0x3eb096(0x1cc)]()}),_0x95e037[_0x3eb096(0x1bf)](this[_0x3eb096(0x191)],_0x95e037[_0x3eb096(0x19e)])&&process['stdout']['write'](Base['color'](_0x95e037[_0x3eb096(0x1f7)],Base['symbols']['comma'])),_0x95e037[_0x3eb096(0x14c)](testhubUtils[_0x3eb096(0x124)](),!![])&&(!_0x21a27b[_0x3eb096(0x1e4)]&&(_0x21a27b[_0x3eb096(0x1e4)]=_0x95e037[_0x3eb096(0x101)](uuidv4)),!_0x21a27b[_0x3eb096(0x136)]&&(_0x21a27b['markedStatus']=!![],await this['sendTestRunEvent'](_0x21a27b,undefined,![],_0x95e037[_0x3eb096(0x1a4)])));})['on'](EVENT_TEST_BEGIN,async _0x50560f=>{const _0x501c46=_0x3ff13d;_0x95e037[_0x501c46(0x131)](testhubUtils[_0x501c46(0x124)](),!![])&&await this[_0x501c46(0x18c)](_0x50560f);})['on'](EVENT_TEST_END,async _0x121ca2=>{const _0x4bc392=_0x3ff13d;_0x95e037[_0x4bc392(0x10b)](testhubUtils[_0x4bc392(0x124)](),!![])&&(!_0x121ca2[_0x4bc392(0x136)]&&(_0x121ca2[_0x4bc392(0x136)]=!![],await this['sendTestRunEvent'](_0x121ca2)));})[_0x3ff13d(0x165)](EVENT_RUN_END,async()=>{const _0x3eda86=_0x3ff13d;try{if(_0x95e037[_0x3eda86(0x14c)](testhubUtils['shouldProcessEventForTesthub'](),!![])){const _0x29be01=_0x95e037['cKTUQ'](getHookSkippedTests,this[_0x3eda86(0x1be)][_0x3eda86(0x13f)]);for(const _0x285980 of _0x29be01){!_0x285980[_0x3eda86(0x1e4)]&&(_0x285980['testAnalyticsId']=_0x95e037[_0x3eda86(0x1e3)](uuidv4)),await this[_0x3eda86(0x105)](_0x285980,undefined,![],_0x95e037[_0x3eda86(0x1a4)]);}}}catch(_0x18a523){_0x95e037['lhDHE'](debug,_0x3eda86(0x10c)+_0x18a523);}await requestQueueHandler['shutdown'](),_0x95e037[_0x3eda86(0x129)](this['type'],_0x95e037[_0x3eda86(0x1ac)])&&Base['consoleLog'](this['docHtml']);});if(this[_0x3ff13d(0x191)]&&![_0x95e037[_0x3ff13d(0x1ac)],_0x95e037[_0x3ff13d(0x19f)],_0x95e037['IzyYc'],_0x95e037[_0x3ff13d(0x19e)]][_0x3ff13d(0x18e)](this['type'])){const _0x35ae13=this['type'][_0x3ff13d(0x215)]();this[_0x3ff13d(0x218)]=null;try{this['Reporter']=_0x95e037[_0x3ff13d(0x179)](requireModule,'mocha/lib/reporters/'+_0x35ae13+_0x3ff13d(0x1c8));}catch{}if(_0x95e037['mBlFj'](this['Reporter'],null))try{this['Reporter']=_0x95e037['obwAR'](require,_0x35ae13);}catch(_0x1a92ca){console[_0x3ff13d(0x14f)]('Failed\x20to\x20load\x20reporter\x20'+_0x35ae13);}if(_0x95e037[_0x3ff13d(0x184)](this[_0x3ff13d(0x218)],null)){const _0x19c77d={};_0x19c77d[_0x3ff13d(0x123)]=_0x52730a[_0x3ff13d(0x1da)],this[_0x3ff13d(0x218)]=new this[(_0x3ff13d(0x218))](_0xab3d1c,_0x19c77d);}}}['indent'](){const _0xe131ce=a27_0x571973,_0x50acf0={'gFwaM':function(_0x18a642,_0x55d070){return _0x18a642(_0x55d070);}};return _0x50acf0[_0xe131ce(0x115)](Array,this[_0xe131ce(0x1c6)])['join']('\x20\x20');}['increaseIndent'](){this['_indents']++;}[a27_0x571973(0x13e)](){const _0x55077f=a27_0x571973;this[_0x55077f(0x1c6)]--;}[a27_0x571973(0x1c4)](_0xdc3c18){const _0x34baee=a27_0x571973;this[_0x34baee(0x110)]+=_0xdc3c18;}[a27_0x571973(0x1e2)](_0x2c490a,_0x4eaf3d){const _0xd1294c=a27_0x571973,_0x59c3d8={'OhHSj':function(_0x4a04f6,_0x49f564){return _0x4a04f6(_0x49f564);}},_0x4bb31d={};_0x4bb31d['failureCount']=_0x2c490a,_0x4bb31d[_0xd1294c(0x14b)]=this[_0xd1294c(0x1bb)],_0x59c3d8[_0xd1294c(0x156)](_0x4eaf3d,_0x4bb31d);}[a27_0x571973(0x1ff)](){const _0x4569f1=a27_0x571973;process[_0x4569f1(0x104)](_0x4569f1(0x183)+process['pid']),process['on'](_0x4569f1(0x183)+process[_0x4569f1(0x206)],this['appendTestItemLog'][_0x4569f1(0x120)](this)),process[_0x4569f1(0x104)](_0x4569f1(0x204)+process[_0x4569f1(0x206)]),process['on'](_0x4569f1(0x204)+process[_0x4569f1(0x206)],this[_0x4569f1(0x209)][_0x4569f1(0x120)](this));}[a27_0x571973(0x18c)]=async _0x518a30=>{const _0x52550b=a27_0x571973,_0x8d6b03={'Tivdj':function(_0x2fe89d){return _0x2fe89d();},'frkWE':function(_0x8986e6,_0x4dd747){return _0x8986e6>_0x4dd747;},'nWPRp':function(_0x4f480e,_0x262af5){return _0x4f480e===_0x262af5;},'XSbQZ':_0x52550b(0x199),'KujRs':function(_0xa6fc89,_0x3bb362){return _0xa6fc89(_0x3bb362);}};try{const _0x46fcee=this[_0x52550b(0x11f)];this[_0x52550b(0x11f)]=_0x518a30,_0x518a30[_0x52550b(0x152)]=null,_0x518a30['testAnalyticsId']=_0x8d6b03[_0x52550b(0x10e)](uuidv4),_0x518a30[_0x52550b(0x139)]=new Date()['toISOString'](),_0x8d6b03[_0x52550b(0x1ca)](_0x518a30['_currentRetry'],0x0)&&_0x46fcee&&_0x8d6b03[_0x52550b(0x17f)](_0x46fcee['title'],_0x518a30[_0x52550b(0x1a1)])?(_0x518a30[_0x52550b(0x152)]=_0x46fcee[_0x52550b(0x1e4)],await this['sendTestRunEvent'](_0x518a30,undefined,![],_0x8d6b03['XSbQZ']),_0x46fcee[_0x52550b(0x125)]=STATE_FAILED,await this['sendTestRunEvent'](_0x46fcee,undefined,!![])):await this['sendTestRunEvent'](_0x518a30,undefined,![],_0x8d6b03[_0x52550b(0x164)]);}catch(_0x5de9ca){_0x8d6b03[_0x52550b(0x1ae)](debug,_0x52550b(0x200)+_0x5de9ca);}};['sendTestRunEvent']=async(_0x422559,_0x56c941=undefined,_0x4758bf=![],_0x133bde='TestRunFinished')=>{const _0x509606=a27_0x571973,_0x383944={'YqfOi':function(_0x4a746a,_0x3694fb){return _0x4a746a===_0x3694fb;},'NMlTi':function(_0x1e6f6c,_0x26880d){return _0x1e6f6c!==_0x26880d;},'ewRuy':_0x509606(0x135),'BoxhJ':_0x509606(0x15c),'iWKrQ':function(_0x371cc2,_0x31fa5a){return _0x371cc2!==_0x31fa5a;},'ojkcm':function(_0x25a19a,_0xd4912e){return _0x25a19a!==_0xd4912e;},'PxDcK':function(_0x4fb249,_0x41ea2e){return _0x4fb249!==_0x41ea2e;},'dvGkt':_0x509606(0x138),'BiPbx':_0x509606(0x137),'tJcsS':_0x509606(0x175),'PpaAy':_0x509606(0x1c5),'NKBYa':'skipped','fvfZs':function(_0x2eef08,_0x1eb660){return _0x2eef08-_0x1eb660;},'UAKda':_0x509606(0xfa),'cOzox':_0x509606(0x181),'KnXtQ':_0x509606(0x139),'xqUjV':_0x509606(0x1e9),'FSqXC':function(_0x55e30f,_0x54c72e){return _0x55e30f(_0x54c72e);},'axRbr':'HookRunFinished','WDybp':_0x509606(0x100),'CEDVA':_0x509606(0x127),'sEQkT':'before\x20each','qVnjE':function(_0x359c41,_0x4f1cf3){return _0x359c41(_0x4f1cf3);},'daKPs':_0x509606(0x12f),'zKPJi':'failure_backtrace','dPUem':_0x509606(0x143),'JaaKV':'failure_reason_expanded','lMEgq':_0x509606(0x114),'RTxtw':_0x509606(0x155),'OMIKz':function(_0x262730,_0x53d4fb){return _0x262730===_0x53d4fb;},'oXvQx':_0x509606(0x1ba),'EtbWQ':_0x509606(0x18f),'KOOnf':_0x509606(0x1b0),'SOlxm':function(_0x47d10a,_0x185c03){return _0x47d10a(_0x185c03);}};try{if(_0x422559['body']&&_0x422559['body'][_0x509606(0xfb)](/browserstack internal helper hook/))return;let _0x140b56=[];if(_0x383944['YqfOi'](_0x422559[_0x509606(0x125)],STATE_FAILED)){if(_0x383944['NMlTi'](_0x422559[_0x509606(0x15c)],undefined))_0x140b56=_0x422559[_0x509606(0x15c)][_0x509606(0x1b4)]?[_0x422559['err']['multiple'],_0x383944[_0x509606(0x203)]]:[_0x422559[_0x509606(0x15c)],_0x383944[_0x509606(0x154)]];else _0x383944[_0x509606(0x1c9)](_0x56c941,undefined)?_0x140b56=[_0x56c941,_0x383944[_0x509606(0x154)]]:_0x140b56=[];}const _0x491185=_0x383944[_0x509606(0x11e)](_0x422559[_0x509606(0x15c)],undefined)?_0x422559[_0x509606(0x15c)][_0x509606(0x21f)]():_0x383944[_0x509606(0x1f9)](_0x56c941,undefined)?_0x56c941['toString']():undefined;let _0x53f17a;try{_0x53f17a=this[_0x509606(0x1f0)](_0x422559);}catch(_0x15fa26){_0x53f17a=null;}const _0x3f7587=_0x53f17a?this[_0x509606(0x1a6)](_0x53f17a):null,_0x85f90c=_0x53f17a?this[_0x509606(0x180)][_0x509606(0x189)](this[_0x509606(0x1f0)](_0x422559)):_0x383944['dvGkt'],_0x25d4bf={'framework':_0x383944[_0x509606(0x1b9)],'uuid':_0x422559[_0x509606(0x1e4)]||_0x422559[_0x509606(0x132)],'name':_0x422559[_0x509606(0x1a1)],'body':{'lang':_0x383944[_0x509606(0x1a2)],'code':_0x422559['body']},'scope':this[_0x509606(0x1db)](_0x422559),'scopes':this['scopes'](_0x422559),'identifier':_0x422559[_0x509606(0x157)](),'file_name':_0x85f90c,'vc_filepath':_0x3f7587?path[_0x509606(0x210)](_0x3f7587,_0x53f17a):null,'location':_0x85f90c,'result':_0x383944[_0x509606(0x111)](_0x133bde,_0x383944['PpaAy'])?_0x383944[_0x509606(0x141)]:this[_0x509606(0x1dd)](_0x422559[_0x509606(0x125)]),'failure_reason':_0x491185,'duration_in_ms':_0x422559[_0x509606(0x149)]||(_0x133bde[_0x509606(0xfb)](/Finished/)||_0x133bde[_0x509606(0xfb)](/Skipped/)?_0x383944[_0x509606(0x13d)](Date['now'](),new Date(_0x422559['started_at'])[_0x509606(0x17d)]()):null),'started_at':_0x422559['started_at'],'finished_at':_0x133bde[_0x509606(0xfb)](/Finished/)||_0x133bde[_0x509606(0xfb)](/Skipped/)?new Date()[_0x509606(0x11b)]():null,'failure':failureData['apply'](null,_0x140b56),'failure_type':!_0x491185?null:_0x491185[_0x509606(0xfb)](/AssertionError/)?_0x383944['UAKda']:_0x383944['cOzox'],'retry_of':_0x422559[_0x509606(0x152)]};testhubUtils[_0x509606(0x1cf)](_0x25d4bf,_0x133bde,_0x422559,FRAMEWORKS[_0x509606(0x216)]);_0x383944[_0x509606(0x111)](_0x133bde,_0x383944[_0x509606(0x147)])&&!_0x25d4bf[_0x383944[_0x509606(0x195)]]&&(_0x25d4bf[_0x383944[_0x509606(0x195)]]=_0x25d4bf[_0x383944[_0x509606(0x1fa)]]);if(_0x133bde[_0x509606(0xfb)](/HookRun/))[_0x25d4bf[_0x509606(0x1ba)],_0x25d4bf[_0x509606(0x16c)]]=_0x383944['FSqXC'](getHookDetails,_0x422559[_0x509606(0x157)]()||_0x422559[_0x509606(0x193)]||_0x422559['title']),_0x383944[_0x509606(0x111)](_0x133bde,_0x383944[_0x509606(0x18a)])&&(_0x383944[_0x509606(0x1c9)](_0x25d4bf[_0x509606(0x10a)],_0x383944['WDybp'])&&(_0x25d4bf[_0x509606(0x10a)]=_0x383944[_0x509606(0x21b)]),_0x383944[_0x509606(0x111)](_0x25d4bf[_0x509606(0x1ba)],_0x383944[_0x509606(0x1c2)])&&_0x383944[_0x509606(0x111)](_0x25d4bf[_0x509606(0x10a)],_0x383944['WDybp'])&&!_0x422559[_0x509606(0x11d)][_0x509606(0x173)][_0x509606(0x136)]&&(_0x422559[_0x509606(0x11d)][_0x509606(0x173)][_0x509606(0x136)]=!![],_0x422559[_0x509606(0x11d)][_0x509606(0x173)][_0x509606(0x125)]=STATE_FAILED,await this[_0x509606(0x105)](_0x422559[_0x509606(0x11d)]['currentTest'],undefined,!![])));else _0x133bde[_0x509606(0xfb)](/TestRun/)&&_0x383944[_0x509606(0x121)](mapTestHooks,_0x422559);const _0x2b74fc=_0x25d4bf[_0x383944['daKPs']][0x0];_0x2b74fc&&(_0x25d4bf[_0x383944['zKPJi']]=_0x2b74fc[_0x383944[_0x509606(0x162)]],_0x25d4bf[_0x383944[_0x509606(0x19c)]]=_0x2b74fc[_0x383944[_0x509606(0x148)]]);[_0x383944[_0x509606(0x1aa)],_0x383944[_0x509606(0x147)]]['includes'](_0x133bde)&&(this[_0x509606(0x176)][_0x509606(0x1fe)](_0x25d4bf),_0x25d4bf['hooks']=_0x383944[_0x509606(0x1d1)](getHooksForTest,_0x422559));const _0x44c906={'event_type':_0x383944[_0x509606(0x17c)](_0x133bde,_0x383944['PpaAy'])?_0x383944[_0x509606(0x1aa)]:_0x133bde};_0x133bde[_0x509606(0xfb)](/HookRun/)?(_0x25d4bf[_0x383944[_0x509606(0x1e8)]]=HOOK_TYPES_MAP[_0x25d4bf[_0x383944[_0x509606(0x1e8)]]],_0x44c906[_0x383944[_0x509606(0x1d3)]]=_0x25d4bf):_0x44c906[_0x383944[_0x509606(0x202)]]=_0x25d4bf,testhubUtils[_0x509606(0x1b7)](FRAMEWORKS[_0x509606(0x216)],_0x44c906),await SessionHandler[_0x509606(0x1bd)](_0x44c906);}catch(_0x280a72){_0x383944['SOlxm'](debug,_0x509606(0x113)+_0x133bde+_0x509606(0x1b1)+_0x280a72);}};[a27_0x571973(0x1a6)](_0x4dd752){const _0x9d77ab=a27_0x571973,_0x39f5a5={};_0x39f5a5[_0x9d77ab(0x18b)]=function(_0x30a1c8,_0x2a4fbc){return _0x30a1c8===_0x2a4fbc;},_0x39f5a5[_0x9d77ab(0x1ee)]=function(_0x456e0e,_0xb3d5b0){return _0x456e0e===_0xb3d5b0;},_0x39f5a5[_0x9d77ab(0x103)]=_0x9d77ab(0x1f1),_0x39f5a5[_0x9d77ab(0x16d)]=_0x9d77ab(0x1df);const _0x18dc74=_0x39f5a5,_0x46fd2a=path['sep'];if(_0x18dc74[_0x9d77ab(0x18b)](_0x4dd752,null)||_0x18dc74[_0x9d77ab(0x1ee)](_0x4dd752,'')||_0x18dc74[_0x9d77ab(0x1ee)](_0x4dd752,_0x46fd2a))return null;try{return fs['statSync'](path[_0x9d77ab(0x12e)](_0x4dd752,_0x18dc74[_0x9d77ab(0x103)],_0x18dc74[_0x9d77ab(0x16d)])),_0x4dd752;}catch(_0xef2668){const _0x14e2f7=path['dirname'](_0x4dd752);return this['findGitConfig'](_0x14e2f7);}}[a27_0x571973(0x167)]=async _0xfd3e6a=>{const _0x4c8eeb=a27_0x571973,_0x490682={'aEfLa':_0x4c8eeb(0x17a),'RxnyD':function(_0x17c4ba,_0x3d6d95){return _0x17c4ba(_0x3d6d95);}};try{this[_0x4c8eeb(0x168)]&&!this[_0x4c8eeb(0x168)][_0x4c8eeb(0x136)]&&(_0xfd3e6a[_0x4c8eeb(0x1b2)]=this[_0x4c8eeb(0x168)]['hookAnalyticsId']);!_0xfd3e6a[_0x4c8eeb(0x1b2)]&&this['current_test']&&!this[_0x4c8eeb(0x11f)][_0x4c8eeb(0x136)]&&(_0xfd3e6a[_0x4c8eeb(0x208)]=this[_0x4c8eeb(0x11f)][_0x4c8eeb(0x1e4)]);if(_0xfd3e6a[_0x4c8eeb(0x1b2)]||_0xfd3e6a[_0x4c8eeb(0x208)]){const _0x198480={};_0x198480[_0x4c8eeb(0x21a)]=_0x490682[_0x4c8eeb(0x14a)],_0x198480[_0x4c8eeb(0x1b8)]=[_0xfd3e6a],await SessionHandler[_0x4c8eeb(0x1bd)](_0x198480);}}catch(_0x2fbad6){_0x490682['RxnyD'](debug,_0x4c8eeb(0x1ea)+_0x2fbad6);}};[a27_0x571973(0x209)]=async _0x2fa49a=>{const _0x2e66f4=a27_0x571973,_0x552c03={'BiZOz':_0x2e66f4(0x21c),'LhcYl':'CBTSessionCreated','XfLxT':function(_0x2fc007,_0x10e2e5){return _0x2fc007(_0x10e2e5);}};try{const _0x5654a7={};_0x5654a7[_0x2e66f4(0x16f)]=_0x2fa49a[_0x2e66f4(0x16f)]||this[_0x2e66f4(0x11f)][_0x2e66f4(0x1e4)],_0x5654a7[_0x2e66f4(0x1d7)]=_0x2fa49a[_0x552c03[_0x2e66f4(0x1f8)]];const _0xdc4c7a=_0x5654a7,_0x50f2a8={};_0x50f2a8[_0x2e66f4(0x21a)]=_0x552c03[_0x2e66f4(0x178)],_0x50f2a8['test_run']=_0xdc4c7a,await SessionHandler[_0x2e66f4(0x1bd)](_0x50f2a8);}catch(_0x46bda0){_0x552c03[_0x2e66f4(0x219)](debug,_0x2e66f4(0x118)+_0x46bda0);}};[a27_0x571973(0x1dd)](_0x5b3c71){const _0xaeb05b=a27_0x571973,_0x4abe54={};_0x4abe54[_0xaeb05b(0x1e0)]=_0xaeb05b(0x127),_0x4abe54[_0xaeb05b(0x17e)]='pending',_0x4abe54[_0xaeb05b(0x146)]=_0xaeb05b(0x100);const _0x5b557b=_0x4abe54,_0x5c5069={};return _0x5c5069[STATE_PASSED]=_0x5b557b[_0xaeb05b(0x1e0)],_0x5c5069[STATE_PENDING]=_0x5b557b[_0xaeb05b(0x17e)],_0x5c5069[STATE_FAILED]=_0x5b557b[_0xaeb05b(0x146)],_0x5c5069[_0x5b3c71];}['scope'](_0x1c6864){const _0x53afc0=a27_0x571973,_0x334ae2={};_0x334ae2[_0x53afc0(0x16b)]=function(_0x99b497,_0x237b1a){return _0x99b497-_0x237b1a;};const _0x5223d5=_0x334ae2,_0xa292f9=_0x1c6864[_0x53afc0(0x1cc)]();return _0xa292f9[_0x53afc0(0x190)](0x0,_0x5223d5[_0x53afc0(0x16b)](_0xa292f9[_0x53afc0(0x10d)],0x1))[_0x53afc0(0x12e)]('\x20');}[a27_0x571973(0x1ce)](_0x1d6669){const _0x5f00d4=a27_0x571973,_0x3fab69={};_0x3fab69[_0x5f00d4(0x12b)]=function(_0x3ff527,_0x1daa9d){return _0x3ff527-_0x1daa9d;};const _0x4191b1=_0x3fab69,_0x3f48c1=_0x1d6669[_0x5f00d4(0x1cc)]();return _0x3f48c1[_0x5f00d4(0x190)](0x0,_0x4191b1[_0x5f00d4(0x12b)](_0x3f48c1['length'],0x1));}[a27_0x571973(0x1f0)](_0x40d3a5){const _0x180512=a27_0x571973,_0x2f1d8e={};_0x2f1d8e[_0x180512(0x20a)]=function(_0x3cdeea,_0x57e100){return _0x3cdeea>_0x57e100;};const _0x2827df=_0x2f1d8e;if(_0x40d3a5[_0x180512(0x16e)])return _0x40d3a5[_0x180512(0x16e)];if(_0x40d3a5[_0x180512(0x11d)]){const _0x2a3006=_0x40d3a5['ctx']['currentTest']?this[_0x180512(0x1f0)](_0x40d3a5[_0x180512(0x11d)]['currentTest']):null;if(_0x2a3006)return _0x2a3006;}if(_0x40d3a5['parent']){const _0x44d6ee=this[_0x180512(0x1f0)](_0x40d3a5['parent'])||(_0x40d3a5[_0x180512(0x15b)][_0x180512(0x11d)]&&_0x40d3a5['parent'][_0x180512(0x11d)]['currentTest']?this[_0x180512(0x1f0)](_0x40d3a5[_0x180512(0x15b)]['ctx'][_0x180512(0x173)]):null);if(_0x44d6ee)return _0x44d6ee;_0x40d3a5[_0x180512(0x15b)][_0x180512(0x160)]&&_0x2827df[_0x180512(0x20a)](_0x40d3a5[_0x180512(0x15b)][_0x180512(0x160)]['length'],0x0)&&_0x40d3a5[_0x180512(0x15b)][_0x180512(0x160)][_0x180512(0x1b6)](_0xc61e65=>{const _0x25b116=_0x180512,_0x3c135b=_0xc61e65[_0x25b116(0x11d)]?this[_0x25b116(0x1f0)](_0xc61e65['ctx']):null;if(_0x3c135b)return _0x3c135b;});}return null;}}module[a27_0x571973(0x140)]=MyReporter;
1
+ 'use strict';const a27_0x1405b5=a27_0x545f;(function(_0x281ca2,_0x4101da){const _0x525efb=a27_0x545f,_0x43a70c=_0x281ca2();while(!![]){try{const _0x5b731c=parseInt(_0x525efb(0xac))/0x1+-parseInt(_0x525efb(0x147))/0x2*(parseInt(_0x525efb(0xc8))/0x3)+-parseInt(_0x525efb(0x180))/0x4*(-parseInt(_0x525efb(0x168))/0x5)+-parseInt(_0x525efb(0x1b6))/0x6+-parseInt(_0x525efb(0xd5))/0x7+parseInt(_0x525efb(0x114))/0x8+-parseInt(_0x525efb(0xea))/0x9;if(_0x5b731c===_0x4101da)break;else _0x43a70c['push'](_0x43a70c['shift']());}catch(_0x5c1478){_0x43a70c['push'](_0x43a70c['shift']());}}}(a27_0x1ac0,0x5c405));function a27_0x545f(_0x228a16,_0x3f4aab){const _0x1ac02c=a27_0x1ac0();return a27_0x545f=function(_0x545fb5,_0x2a476c){_0x545fb5=_0x545fb5-0x92;let _0x231d88=_0x1ac02c[_0x545fb5];return _0x231d88;},a27_0x545f(_0x228a16,_0x3f4aab);}const util=require('util'),fs=require('fs'),path=require('path'),{requireModule}=require(a27_0x1405b5(0x150)),Base=requireModule('mocha/lib/reporters/base.js'),utils=requireModule('mocha/lib/utils.js'),color=Base[a27_0x1405b5(0x105)],Mocha=requireModule(a27_0x1405b5(0xcf)),Runnable=requireModule(a27_0x1405b5(0xd7)),{v4:uuidv4}=require(a27_0x1405b5(0x155)),bsSetupHelper=require(a27_0x1405b5(0x150)),testhubUtils=require('../../../helpers/testhub/utils'),testHubConstants=require(a27_0x1405b5(0xe2)),{FRAMEWORKS}=require(a27_0x1405b5(0xb4)),a27_0x414854={};function a27_0x1ac0(){const _0x6cec6e=['result','logs','wRCGV','parent','../../../helpers/test-observability/utils','FXgnZ','eetuL','started_at','lxewC','includes','uwvdu','consoleLog','state','scope','hookAnalyticsId','constants','color','</dt>','inspect','GLcQo','mocha/lib/reporters/','yDdxu','AUgUb','getRootParentFile','zWiYF','docAppend','failure_reason_expanded','EVENT','TestRunSkipped','hooks','lkqeb','5118384XwJKwd','type','ONNRT','WMnTZ','light','_paths','WgJwh','kklLI','testObservability','lLebp','qPuzN','MLtLk','BEFORE_ALL','Runner','originalTitle','shutdown','TestRunFinished','iDlFG','AFTER_EACH','azyUr','JTIev','pbACJ','AssertionError','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','HookRunFinished','HookStarted','findGitConfig','cJNyA','clean','XXagh','DRJbr','RBNdZ','exports','slow','oMvJl','qluIQ','uOytv','yArHm','shouldProcessEventForTesthub','TsnLP','\x20%s','increaseIndent','rijUn','\x20with\x20error\x20:\x20','match','_upstreamConfig','diAcS','jdKuG','\x20-\x20','failureCount','_currentRetry','241302gFFHFV','../../../helpers/test-observability/sessionHandler','teyWX','IoAZR','VWKIk','before\x20each','gTdmL','_testEnv','VwVVH','../../../helpers/helper','HGmLu','analyticsResult','NMOyC','WsXPF','uuid','uploadEventData','comma','hxLEA','sbqcg','pending','COMPLETED','roLQg','\x20(%dms)','1|4|3|0|2','RwuPV','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','CBTSessionCreated','ZYwWL','.js','current_hook','_buildCreated','title','jmopl','4840wVZkbR','UfPMG','SpxRs','\x20\x20<dt\x20class=\x22error\x22>','QZPOA','tWkKD','rwcmy','soZFP','MOCHA','KuNGc','stdout','symbols','wsOCw','lZHkp','once','MJWWJ','rGOuO','root','name','ctx','dRMNm','sendTestRunEvent','dot','config','2716UQDkqD','now','<dl>','KtWyb','GfCkH','body','_testResults','failure_backtrace','hUhOp','appendTesthubParams','DYmPJ','ndmvN','kzfZU','integrations','hook_run_uuid','reporterOption','kYiCq','fBTmo','suites','JIiHP','</code></pre></dd>','err','VPsUQ','VLKJL','event_type','appendTestPlatform','fullTitle','HookRunStarted','BhvOH','DsMQt','djozy','bright\x20yellow','vIEpb','muJNb','expanded','AFTER_ALL','lVBrT','apply','currentTest','hook_run','reporterOptions','MgelK','appendTestItemLog','multiple','Failed\x20to\x20load\x20reporter\x20','toString','HookFinished','EEwns','results','RUNNING','spec','hook_type','test_run_uuid','GhYZs','2136504ffOrgq','duration','_indents','pid','hKaOB','error','indent','.git','ljrZC','\x20\x20<dd\x20class=\x22error\x22>','split','scopes','retryOf','titlePath','oyvaQ','decreaseIndent','DZVRi','XVCAH','TestRunStarted','pass','prefixTestPath','lkuZt','join','jlPqP','%s\x20','forEach','getTime','517373ynoXwS','xunit','dqvly','exIjr','write','failed','removeAllListeners','speed','../../../helpers/test-observability/constants','AENmQ','statSync','skipped','bsConfig','docHtml','\x20\x20<dt>','done','__platform__','finished_at','ROVOd','DBWwE','JCiRl','current_test','zkliI','toISOString','__indents','eWvgt','ECSua','push','9AvXJPg','testStarted','slice','passed','cQvTG','getInstance','XUPnw','mocha','%s\x20-\x20%s','markedStatus','file','sep','failCount','1916614sWnQSo','HJlyU','mocha/lib/runnable.js','cwd','call','fPpfi','bs:addPlatformDetails:','isPending','javascript','EdhLk','testAnalyticsId','finalResults','hNYiH','../../../helpers/testhub/constants','uJfGH','currentRetry','CabEt','escape','DahxL','PWaHY','RtmFP','4002687IypFdw','Reporter','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','registerListeners','checkmark','xkfJX','bind','fail','bs:addLog:','dirname','trim'];a27_0x1ac0=function(){return _0x6cec6e;};return a27_0x1ac0();}a27_0x414854['before\x20all']=a27_0x1405b5(0x120),a27_0x414854['after\x20all']=a27_0x1405b5(0x1a3),a27_0x414854['before\x20each']='BEFORE_EACH',a27_0x414854['after\x20each']=a27_0x1405b5(0x126);const HOOK_TYPES_MAP=a27_0x414854,{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_0x1405b5(0x121)][a27_0x1405b5(0x104)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x1405b5(0x104)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require(a27_0x1405b5(0xb4)),SessionHandler=require(a27_0x1405b5(0x148)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x1405b5(0xf9)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),requestQueueHandler=RequestQueueHandler[a27_0x1405b5(0xcd)]();class MyReporter{constructor(_0xc927d1,_0x1ee3eb){const _0x1a7e6b=a27_0x1405b5,_0x58c7f3={'jlPqP':function(_0x1f3daf,_0x1dd35d){return _0x1f3daf===_0x1dd35d;},'jmopl':_0x1a7e6b(0x1b2),'DZVRi':function(_0x342a1a,_0x51f429){return _0x342a1a+_0x51f429;},'lkuZt':function(_0x52d6eb,_0x41b38c){return _0x52d6eb+_0x41b38c;},'DRJbr':function(_0x5c3f96,_0x3c5397,_0x397b88){return _0x5c3f96(_0x3c5397,_0x397b88);},'HGmLu':'green','RtmFP':_0x1a7e6b(0xa9),'ONNRT':_0x1a7e6b(0x118),'VSFkw':_0x1a7e6b(0xd0),'HEYJQ':_0x1a7e6b(0x1b1),'uwvdu':function(_0x535dd6,_0x1aa6fb){return _0x535dd6===_0x1aa6fb;},'cJNyA':'doc','azyUr':function(_0x295bf9,_0x1c81de){return _0x295bf9===_0x1c81de;},'muJNb':function(_0x296f15){return _0x296f15();},'HJlyU':_0x1a7e6b(0x19b),'IoAZR':_0x1a7e6b(0x12c),'EEwns':_0x1a7e6b(0xcb),'xkfJX':'fast','WMnTZ':function(_0xe93e3f,_0xacfe9){return _0xe93e3f+_0xacfe9;},'WgJwh':function(_0x43f4c9,_0x1a18b9){return _0x43f4c9+_0x1a18b9;},'oMvJl':function(_0x2e9c19,_0xe007a5,_0x389260){return _0x2e9c19(_0xe007a5,_0x389260);},'lxewC':_0x1a7e6b(0xee),'diAcS':_0x1a7e6b(0xa4),'oWOJZ':_0x1a7e6b(0x13c),'toBHQ':function(_0x1f763c,_0x4dc3a6){return _0x1f763c+_0x4dc3a6;},'lVBrT':function(_0x43449e,_0x421f49,_0x239732){return _0x43449e(_0x421f49,_0x239732);},'roLQg':_0x1a7e6b(0x15d),'kZwhw':function(_0x47cdf0,_0x53e9e2){return _0x47cdf0+_0x53e9e2;},'wRCGV':_0x1a7e6b(0xf1),'wuKle':'\x20\x20%d)\x20%s','EdhLk':function(_0x497878,_0x38ec85){return _0x497878+_0x38ec85;},'VLKJL':_0x1a7e6b(0x19f),'ljrZC':_0x1a7e6b(0x15b),'SpxRs':function(_0x3e9b95,_0x231763){return _0x3e9b95===_0x231763;},'cQvTG':_0x1a7e6b(0x17e),'VwVVH':_0x1a7e6b(0x135),'dqvly':_0x1a7e6b(0x15e),'PWaHY':function(_0x30c319,_0x127209){return _0x30c319===_0x127209;},'sbqcg':function(_0x34da14,_0x52f5a0){return _0x34da14===_0x52f5a0;},'VPsUQ':_0x1a7e6b(0x15a),'qluIQ':function(_0x5d982f,_0x3c48ee){return _0x5d982f===_0x3c48ee;},'fBTmo':function(_0x287fb1){return _0x287fb1();},'XUPnw':_0x1a7e6b(0x111),'exIjr':function(_0x3e61b6,_0x40f60a){return _0x3e61b6===_0x40f60a;},'DsMQt':function(_0x135c2c,_0x356f12){return _0x135c2c(_0x356f12);},'BhvOH':function(_0x59d9b0){return _0x59d9b0();},'xUXng':function(_0x28f3e3,_0x526cbc){return _0x28f3e3===_0x526cbc;},'hxLEA':function(_0xc0ee1f){return _0xc0ee1f();},'bgCzN':function(_0x202088,_0x23ef98){return _0x202088===_0x23ef98;},'PpiMw':_0x1a7e6b(0xad),'lZHkp':function(_0x7acdfa,_0x3d3b1e){return _0x7acdfa(_0x3d3b1e);},'aRemi':function(_0x200b79,_0x115b45){return _0x200b79===_0x115b45;},'WsXPF':function(_0x312f31,_0x2d8841){return _0x312f31(_0x2d8841);},'kioPi':function(_0x55fcbc,_0x541623){return _0x55fcbc!==_0x541623;}};this['type']=_0x1ee3eb[_0x1a7e6b(0x18f)][_0x1a7e6b(0x115)],this[_0x1a7e6b(0x11c)]=_0x58c7f3[_0x1a7e6b(0x19c)](isTestObservabilitySession),Base[_0x1a7e6b(0xd9)](this,_0xc927d1,_0x1ee3eb),this[_0x1a7e6b(0x93)]=0x0,this[_0x1a7e6b(0xd4)]=0x0,this[_0x1a7e6b(0x1b0)]=[],this[_0x1a7e6b(0xe0)]=[],this['suiteCount']=0x0,this[_0x1a7e6b(0x165)]=![],this[_0x1a7e6b(0x186)]=[],this['_testEnv']=_0x58c7f3[_0x1a7e6b(0x158)](getTestEnv),this[_0x1a7e6b(0x119)]=new PathHelper({'cwd':process[_0x1a7e6b(0xd8)]()},this[_0x1a7e6b(0x14e)]['location_prefix']),this[_0x1a7e6b(0x141)]=_0x1ee3eb[_0x1a7e6b(0x18f)][_0x1a7e6b(0xb8)],this[_0x1a7e6b(0xed)]();_0x58c7f3['bgCzN'](this['type'],_0x58c7f3[_0x1a7e6b(0x12f)])&&(this[_0x1a7e6b(0xb9)]='',this[_0x1a7e6b(0xc4)]=0x2);_0xc927d1[_0x1a7e6b(0x176)](EVENT_RUN_BEGIN,async()=>{const _0x1f219e=_0x1a7e6b;_0x58c7f3[_0x1f219e(0xa8)](this[_0x1f219e(0x115)],_0x58c7f3[_0x1f219e(0x167)])&&Base[_0x1f219e(0x100)]();})['on'](EVENT_SUITE_BEGIN,_0x4b0af9=>{const _0x1839bd=_0x1a7e6b;if(_0x4b0af9['root'])return;if(_0x58c7f3['jlPqP'](this['type'],_0x58c7f3['jmopl']))this['increaseIndent'](),Base[_0x1839bd(0x100)](_0x58c7f3[_0x1839bd(0xa1)](_0x58c7f3[_0x1839bd(0xa6)](this[_0x1839bd(0x97)](),_0x58c7f3['DRJbr'](color,_0x58c7f3[_0x1839bd(0x151)],_0x58c7f3[_0x1839bd(0xe9)])),_0x58c7f3[_0x1839bd(0x132)](color,_0x58c7f3[_0x1839bd(0x116)],_0x58c7f3['VSFkw'])),_0x58c7f3['HEYJQ'],_0x4b0af9[_0x1839bd(0x166)],global['__platform__']);else _0x58c7f3[_0x1839bd(0xff)](this['type'],_0x58c7f3[_0x1839bd(0x12f)])&&(this['docAppend'](this[_0x1839bd(0x97)]()+'<section\x20class=\x22suite\x22>'),++this[_0x1839bd(0xc4)],this[_0x1839bd(0x10e)](this[_0x1839bd(0x97)]()+'<h1>'+utils[_0x1839bd(0xe6)](_0x4b0af9['title']+_0x1839bd(0x144)+global[_0x1839bd(0xbc)])+'</h1>'),this[_0x1839bd(0x10e)](this['indent']()+_0x1839bd(0x182)));})['on'](EVENT_HOOK_BEGIN,async _0x50a849=>{const _0x4ffe90=_0x1a7e6b;if(_0x58c7f3[_0x4ffe90(0x127)](testhubUtils[_0x4ffe90(0x13a)](testHubConstants['EVENT'][_0x4ffe90(0x12d)]),!![])){if(!_0x50a849[_0x4ffe90(0x103)])_0x50a849[_0x4ffe90(0x103)]=_0x58c7f3[_0x4ffe90(0x1a1)](uuidv4);else _0x50a849[_0x4ffe90(0xd1)]&&(_0x50a849['hookAnalyticsId']=_0x58c7f3[_0x4ffe90(0x1a1)](uuidv4),delete _0x50a849[_0x4ffe90(0xd1)]);_0x50a849[_0x4ffe90(0xfc)]=new Date()[_0x4ffe90(0xc3)](),this['current_hook']=_0x50a849,await this[_0x4ffe90(0x17d)](_0x50a849,undefined,![],_0x58c7f3[_0x4ffe90(0xd6)]);}})['on'](EVENT_HOOK_END,async _0x1fd266=>{const _0x473279=_0x1a7e6b;_0x58c7f3[_0x473279(0xff)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants['EVENT'][_0x473279(0x1ae)]),!![])&&(!_0x1fd266[_0x473279(0xd1)]&&(_0x1fd266['markedStatus']=!![],await this[_0x473279(0x17d)](_0x1fd266,undefined,![],_0x58c7f3['IoAZR'])));})['on'](EVENT_SUITE_END,_0x21b4c1=>{const _0x5ea484=_0x1a7e6b,_0x518453={'VWKIk':function(_0xce59d7,_0x407eca){return _0x58c7f3['azyUr'](_0xce59d7,_0x407eca);},'FXgnZ':_0x58c7f3[_0x5ea484(0x1af)],'RBNdZ':function(_0x5697dd,_0x1e7a87){const _0x2fd237=_0x5ea484;return _0x58c7f3[_0x2fd237(0xff)](_0x5697dd,_0x1e7a87);},'MJWWJ':_0x58c7f3[_0x5ea484(0xef)],'ndmvN':function(_0x69525c,_0x19c247){const _0x9aa03e=_0x5ea484;return _0x58c7f3[_0x9aa03e(0x117)](_0x69525c,_0x19c247);},'ROVOd':function(_0x266cd3,_0x4fb3a3){return _0x58c7f3['WgJwh'](_0x266cd3,_0x4fb3a3);},'lkqeb':function(_0x39bfb5,_0x4a9286,_0x432c75){const _0x4be620=_0x5ea484;return _0x58c7f3[_0x4be620(0x136)](_0x39bfb5,_0x4a9286,_0x432c75);},'fPpfi':_0x58c7f3[_0x5ea484(0xfd)],'DahxL':function(_0x4646f9,_0x9d036d){const _0x581c7c=_0x5ea484;return _0x58c7f3[_0x581c7c(0x11a)](_0x4646f9,_0x9d036d);},'rijUn':_0x58c7f3[_0x5ea484(0x142)],'rGOuO':_0x58c7f3['oWOJZ'],'PXZjw':function(_0x3e4520,_0x1937fd){return _0x58c7f3['toBHQ'](_0x3e4520,_0x1937fd);},'mHSPG':function(_0x118781,_0xdd0d43){return _0x58c7f3['WgJwh'](_0x118781,_0xdd0d43);},'eetuL':function(_0x2c072c,_0x36dc67,_0x2340ce){const _0x11f590=_0x5ea484;return _0x58c7f3[_0x11f590(0x1a4)](_0x2c072c,_0x36dc67,_0x2340ce);},'soZFP':_0x58c7f3[_0x5ea484(0x15c)],'ECSua':function(_0x11ddba,_0x28d4c4){return _0x58c7f3['kZwhw'](_0x11ddba,_0x28d4c4);},'yDdxu':_0x58c7f3[_0x5ea484(0xf7)],'JIiHP':_0x58c7f3['wuKle']};if(_0x21b4c1[_0x5ea484(0x179)])return;if(_0x58c7f3[_0x5ea484(0xa8)](this[_0x5ea484(0x115)],_0x58c7f3[_0x5ea484(0x167)]))Base[_0x5ea484(0x100)](),Base[_0x5ea484(0x100)](_0x58c7f3[_0x5ea484(0xa1)](_0x58c7f3[_0x5ea484(0xde)](this['indent'](),_0x58c7f3[_0x5ea484(0x136)](color,_0x58c7f3['VLKJL'],_0x58c7f3[_0x5ea484(0xe9)])),_0x58c7f3[_0x5ea484(0x1a4)](color,_0x58c7f3[_0x5ea484(0x116)],_0x58c7f3['VSFkw'])),_0x58c7f3[_0x5ea484(0x99)],_0x21b4c1['title'],global[_0x5ea484(0xbc)]),this[_0x5ea484(0x1b0)][_0x5ea484(0xaa)](_0x26c85f=>{const _0x290de2=_0x5ea484;if(_0x518453[_0x290de2(0x14b)](_0x26c85f[_0x290de2(0x101)],_0x518453[_0x290de2(0xfa)])){var _0x6c7fe4;_0x518453[_0x290de2(0x133)](_0x26c85f['speed'],_0x518453[_0x290de2(0x177)])?(_0x6c7fe4=_0x518453[_0x290de2(0x18b)](_0x518453[_0x290de2(0xbe)](this['indent'](),_0x518453[_0x290de2(0x113)](color,_0x518453[_0x290de2(0xda)],_0x518453['DahxL']('\x20\x20',Base[_0x290de2(0x173)]['ok']))),_0x518453[_0x290de2(0x113)](color,_0x518453[_0x290de2(0x13e)],_0x518453[_0x290de2(0x178)])),Base[_0x290de2(0x100)](_0x6c7fe4,_0x26c85f[_0x290de2(0x166)])):(_0x6c7fe4=_0x518453[_0x290de2(0xe7)](_0x518453['PXZjw'](_0x518453['mHSPG'](this[_0x290de2(0x97)](),_0x518453[_0x290de2(0x113)](color,_0x518453[_0x290de2(0xda)],_0x518453[_0x290de2(0x18b)]('\x20\x20',Base[_0x290de2(0x173)]['ok']))),_0x518453[_0x290de2(0x113)](color,_0x518453[_0x290de2(0x13e)],_0x518453[_0x290de2(0x178)])),_0x518453[_0x290de2(0xfb)](color,_0x26c85f[_0x290de2(0xb3)],_0x518453[_0x290de2(0x16f)])),Base[_0x290de2(0x100)](_0x6c7fe4,_0x26c85f[_0x290de2(0x166)],_0x26c85f['duration']));}else Base[_0x290de2(0x100)](_0x518453[_0x290de2(0xc6)](this[_0x290de2(0x97)](),_0x518453[_0x290de2(0xfb)](color,_0x518453[_0x290de2(0x10a)],_0x518453[_0x290de2(0x193)])),++this[_0x290de2(0xd4)],_0x26c85f[_0x290de2(0x166)]);}),this[_0x5ea484(0xa0)]();else _0x58c7f3['SpxRs'](this[_0x5ea484(0x115)],_0x58c7f3[_0x5ea484(0x12f)])&&(this[_0x5ea484(0x10e)](this[_0x5ea484(0x97)]()+'</dl>'),--this[_0x5ea484(0xc4)],this[_0x5ea484(0x10e)](this['indent']()+'</section>'),--this[_0x5ea484(0xc4)]);Array['prototype'][_0x5ea484(0xc7)]['apply'](this[_0x5ea484(0xe0)],this['results']),this[_0x5ea484(0x1b0)]=[];})['on'](EVENT_TEST_PASS,async _0x26b29c=>{const _0xe16fef=_0x1a7e6b;this[_0xe16fef(0x1b0)][_0xe16fef(0xc7)]({'speed':_0x26b29c['speed'],'suite':_0x26b29c[_0xe16fef(0xf8)]['title'],'title':_0x26b29c[_0xe16fef(0x166)],'fullTitle':_0x26b29c[_0xe16fef(0x19a)](),'duration':_0x26b29c['duration'],'state':_0x26b29c[_0xe16fef(0x101)],'err':{},'currentRetry':_0x26b29c['currentRetry'](),'titlePathV':_0x26b29c[_0xe16fef(0x9e)](),'isPending':_0x26b29c[_0xe16fef(0xdc)]()});if(_0x58c7f3[_0xe16fef(0x127)](this['type'],_0x58c7f3[_0xe16fef(0xcc)]))_0x58c7f3[_0xe16fef(0x127)](_0x26b29c[_0xe16fef(0xb3)],_0x58c7f3[_0xe16fef(0x14f)])?process[_0xe16fef(0x172)][_0xe16fef(0xb0)](Base['color'](_0x58c7f3[_0xe16fef(0x197)],Base[_0xe16fef(0x173)][_0xe16fef(0x17e)])):process[_0xe16fef(0x172)]['write'](Base[_0xe16fef(0x105)](_0x26b29c['speed'],Base[_0xe16fef(0x173)][_0xe16fef(0x17e)]));else{if(_0x58c7f3[_0xe16fef(0x127)](this[_0xe16fef(0x115)],_0x58c7f3[_0xe16fef(0x12f)])){this[_0xe16fef(0x10e)](this[_0xe16fef(0x97)]()+_0xe16fef(0xba)+utils[_0xe16fef(0xe6)](_0x26b29c['title'])+_0xe16fef(0x106)),this['docAppend'](this[_0xe16fef(0x97)]()+'\x20\x20<dt>'+utils[_0xe16fef(0xe6)](_0x26b29c[_0xe16fef(0xd2)])+'</dt>');var _0x354ff1=utils[_0xe16fef(0xe6)](utils[_0xe16fef(0x130)](_0x26b29c['body']));this[_0xe16fef(0x10e)](this[_0xe16fef(0x97)]()+'\x20\x20<dd><pre><code>'+_0x354ff1+'</code></pre></dd>');}}_0x58c7f3[_0xe16fef(0x127)](testhubUtils[_0xe16fef(0x13a)](),!![])&&(!_0x26b29c[_0xe16fef(0xd1)]&&(_0x26b29c['markedStatus']=!![],await this['sendTestRunEvent'](_0x26b29c)));})['on'](EVENT_TEST_FAIL,async(_0x574320,_0x239432)=>{const _0x1f7d1d=_0x1a7e6b;this[_0x1f7d1d(0x1b0)][_0x1f7d1d(0xc7)]({'title':_0x574320['title'],'suite':_0x574320[_0x1f7d1d(0xf8)][_0x1f7d1d(0x166)],'state':_0x574320[_0x1f7d1d(0x101)],'err':{'message':util[_0x1f7d1d(0x107)](_0x239432)},'fullTitle':_0x574320['fullTitle'](),'speed':_0x574320['speed'],'currentRetry':_0x574320[_0x1f7d1d(0xe4)](),'titlePathV':_0x574320[_0x1f7d1d(0x9e)]()});if(_0x58c7f3['azyUr'](this['type'],_0x58c7f3['cQvTG']))process[_0x1f7d1d(0x172)][_0x1f7d1d(0xb0)](Base['color'](_0x58c7f3['wRCGV'],Base[_0x1f7d1d(0x173)]['bang']));else{if(_0x58c7f3[_0x1f7d1d(0x16a)](this[_0x1f7d1d(0x115)],_0x58c7f3[_0x1f7d1d(0x12f)])){const _0x11f61e=_0x58c7f3[_0x1f7d1d(0xae)][_0x1f7d1d(0x9b)]('|');let _0x48f031=0x0;while(!![]){switch(_0x11f61e[_0x48f031++]){case'0':this[_0x1f7d1d(0x10e)](this[_0x1f7d1d(0x97)]()+'\x20\x20<dd\x20class=\x22error\x22><pre><code>'+_0x538a67+_0x1f7d1d(0x194));continue;case'1':this['docAppend'](this['indent']()+'\x20\x20<dt\x20class=\x22error\x22>'+utils['escape'](_0x574320[_0x1f7d1d(0x166)])+_0x1f7d1d(0x106));continue;case'2':this[_0x1f7d1d(0x10e)](this[_0x1f7d1d(0x97)]()+_0x1f7d1d(0x9a)+utils[_0x1f7d1d(0xe6)](_0x574320[_0x1f7d1d(0x195)])+'</dd>');continue;case'3':var _0x538a67=utils[_0x1f7d1d(0xe6)](utils[_0x1f7d1d(0x130)](_0x574320[_0x1f7d1d(0x185)]));continue;case'4':this[_0x1f7d1d(0x10e)](this[_0x1f7d1d(0x97)]()+_0x1f7d1d(0x16b)+utils[_0x1f7d1d(0xe6)](_0x574320['file'])+'</dt>');continue;}break;}}}if(_0x58c7f3[_0x1f7d1d(0xe8)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x1f7d1d(0x110)][_0x1f7d1d(0x1ae)]),!![])){if(!_0x574320[_0x1f7d1d(0xd1)]){_0x574320[_0x1f7d1d(0xd1)]=!![];if(_0x574320[_0x1f7d1d(0xdf)])await this[_0x1f7d1d(0x17d)](_0x574320,_0x239432);else _0x574320[_0x1f7d1d(0x103)]&&await this[_0x1f7d1d(0x17d)](_0x574320,_0x239432,![],_0x58c7f3[_0x1f7d1d(0x14a)]);}}})['on'](EVENT_TEST_PENDING,async _0x15379c=>{const _0x2e8161=_0x1a7e6b;this[_0x2e8161(0x1b0)][_0x2e8161(0xc7)]({'title':_0x15379c[_0x2e8161(0x166)],'suite':_0x15379c[_0x2e8161(0xf8)][_0x2e8161(0x166)],'state':_0x15379c['state'],'err':{},'fullTitle':_0x15379c[_0x2e8161(0x19a)](),'speed':_0x15379c['speed'],'currentRetry':_0x15379c[_0x2e8161(0xe4)](),'titlePathV':_0x15379c[_0x2e8161(0x9e)]()}),_0x58c7f3[_0x2e8161(0x159)](this[_0x2e8161(0x115)],_0x58c7f3[_0x2e8161(0xcc)])&&process[_0x2e8161(0x172)]['write'](Base['color'](_0x58c7f3[_0x2e8161(0x196)],Base[_0x2e8161(0x173)][_0x2e8161(0x157)])),_0x58c7f3[_0x2e8161(0x137)](testhubUtils[_0x2e8161(0x13a)](),!![])&&(!_0x15379c[_0x2e8161(0xdf)]&&(_0x15379c[_0x2e8161(0xdf)]=_0x58c7f3[_0x2e8161(0x191)](uuidv4)),!_0x15379c[_0x2e8161(0xd1)]&&(_0x15379c[_0x2e8161(0xd1)]=!![],await this[_0x2e8161(0x17d)](_0x15379c,undefined,![],_0x58c7f3['XUPnw'])));})['on'](EVENT_TEST_BEGIN,async _0xdf605a=>{_0x58c7f3['uwvdu'](testhubUtils['shouldProcessEventForTesthub'](),!![])&&await this['testStarted'](_0xdf605a);})['on'](EVENT_TEST_END,async _0x3065c6=>{const _0x233fa9=_0x1a7e6b;_0x58c7f3[_0x233fa9(0xe8)](testhubUtils[_0x233fa9(0x13a)](),!![])&&(!_0x3065c6[_0x233fa9(0xd1)]&&(_0x3065c6[_0x233fa9(0xd1)]=!![],await this[_0x233fa9(0x17d)](_0x3065c6)));})[_0x1a7e6b(0x176)](EVENT_RUN_END,async()=>{const _0xb8639=_0x1a7e6b;try{if(_0x58c7f3[_0xb8639(0xaf)](testhubUtils[_0xb8639(0x13a)](),!![])){const _0x9868ba=_0x58c7f3['DsMQt'](getHookSkippedTests,this['runner']['suite']);for(const _0x35c4b5 of _0x9868ba){!_0x35c4b5['testAnalyticsId']&&(_0x35c4b5[_0xb8639(0xdf)]=_0x58c7f3[_0xb8639(0x19c)](uuidv4)),await this[_0xb8639(0x17d)](_0x35c4b5,undefined,![],_0x58c7f3[_0xb8639(0xce)]);}}}catch(_0x209d1b){_0x58c7f3[_0xb8639(0x19d)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20'+_0x209d1b);}await requestQueueHandler[_0xb8639(0x123)](),_0x58c7f3['xUXng'](this[_0xb8639(0x115)],_0x58c7f3[_0xb8639(0x12f)])&&Base[_0xb8639(0x100)](this[_0xb8639(0xb9)]);});if(this['type']&&![_0x58c7f3[_0x1a7e6b(0x12f)],_0x58c7f3['PpiMw'],_0x58c7f3['jmopl'],_0x58c7f3['cQvTG']]['includes'](this[_0x1a7e6b(0x115)])){const _0x37b89b=this[_0x1a7e6b(0x115)][_0x1a7e6b(0xf4)]();this[_0x1a7e6b(0xeb)]=null;try{this[_0x1a7e6b(0xeb)]=_0x58c7f3[_0x1a7e6b(0x175)](requireModule,_0x1a7e6b(0x109)+_0x37b89b+_0x1a7e6b(0x163));}catch{}if(_0x58c7f3['aRemi'](this[_0x1a7e6b(0xeb)],null))try{this['Reporter']=_0x58c7f3[_0x1a7e6b(0x154)](require,_0x37b89b);}catch(_0x26b2d4){console[_0x1a7e6b(0x96)](_0x1a7e6b(0x1ac)+_0x37b89b);}if(_0x58c7f3['kioPi'](this[_0x1a7e6b(0xeb)],null)){const _0x4603ed={};_0x4603ed[_0x1a7e6b(0x1a8)]=_0x1ee3eb[_0x1a7e6b(0x18f)],this['Reporter']=new this[(_0x1a7e6b(0xeb))](_0xc927d1,_0x4603ed);}}}[a27_0x1405b5(0x97)](){const _0x411afa=a27_0x1405b5,_0x48f558={'dRMNm':function(_0x23703d,_0x2642c0){return _0x23703d(_0x2642c0);}};return _0x48f558[_0x411afa(0x17c)](Array,this[_0x411afa(0x93)])[_0x411afa(0xa7)]('\x20\x20');}[a27_0x1405b5(0x13d)](){const _0xb706e7=a27_0x1405b5;this[_0xb706e7(0x93)]++;}[a27_0x1405b5(0xa0)](){const _0x1498a7=a27_0x1405b5;this[_0x1498a7(0x93)]--;}[a27_0x1405b5(0x10e)](_0x33ff4a){const _0x35add7=a27_0x1405b5;this[_0x35add7(0xb9)]+=_0x33ff4a;}[a27_0x1405b5(0xbb)](_0x5b5375,_0x4f4fbc){const _0x2ee0b5=a27_0x1405b5,_0x15a102={'KoTfR':function(_0x53ce72,_0x325479){return _0x53ce72(_0x325479);}},_0x471d67={};_0x471d67[_0x2ee0b5(0x145)]=_0x5b5375,_0x471d67[_0x2ee0b5(0x1b0)]=this[_0x2ee0b5(0xe0)],_0x15a102['KoTfR'](_0x4f4fbc,_0x471d67);}['registerListeners'](){const _0x21d589=a27_0x1405b5;process[_0x21d589(0xb2)](_0x21d589(0xf2)+process[_0x21d589(0x94)]),process['on'](_0x21d589(0xf2)+process[_0x21d589(0x94)],this[_0x21d589(0x1aa)][_0x21d589(0xf0)](this)),process['removeAllListeners']('bs:addPlatformDetails:'+process['pid']),process['on'](_0x21d589(0xdb)+process[_0x21d589(0x94)],this[_0x21d589(0x199)][_0x21d589(0xf0)](this));}[a27_0x1405b5(0xc9)]=async _0x221e51=>{const _0x1c3b36=a27_0x1405b5,_0x5b40cf={'hKaOB':function(_0x2e8760){return _0x2e8760();},'MLtLk':function(_0x3e649e,_0x40b307){return _0x3e649e>_0x40b307;},'zkliI':function(_0x239862,_0xf60c57){return _0x239862===_0xf60c57;},'GfCkH':_0x1c3b36(0xa3),'VqdfQ':function(_0x375418,_0x406744){return _0x375418(_0x406744);}};try{const _0x653a39=this[_0x1c3b36(0xc1)];this[_0x1c3b36(0xc1)]=_0x221e51,_0x221e51[_0x1c3b36(0x9d)]=null,_0x221e51['testAnalyticsId']=_0x5b40cf[_0x1c3b36(0x95)](uuidv4),_0x221e51[_0x1c3b36(0xfc)]=new Date()[_0x1c3b36(0xc3)](),_0x5b40cf[_0x1c3b36(0x11f)](_0x221e51[_0x1c3b36(0x146)],0x0)&&_0x653a39&&_0x5b40cf[_0x1c3b36(0xc2)](_0x653a39[_0x1c3b36(0x166)],_0x221e51[_0x1c3b36(0x166)])?(_0x221e51[_0x1c3b36(0x9d)]=_0x653a39[_0x1c3b36(0xdf)],await this['sendTestRunEvent'](_0x221e51,undefined,![],_0x5b40cf[_0x1c3b36(0x184)]),_0x653a39[_0x1c3b36(0x101)]=STATE_FAILED,await this[_0x1c3b36(0x17d)](_0x653a39,undefined,!![])):await this[_0x1c3b36(0x17d)](_0x221e51,undefined,![],_0x5b40cf[_0x1c3b36(0x184)]);}catch(_0x577cca){_0x5b40cf['VqdfQ'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x577cca);}};[a27_0x1405b5(0x17d)]=async(_0x3b2644,_0x313db5=undefined,_0x106be0=![],_0x3ffef5=a27_0x1405b5(0x124))=>{const _0xa525af=a27_0x1405b5,_0x5c61e8={'GLcQo':function(_0x247ee4,_0x189782){return _0x247ee4===_0x189782;},'gTdmL':function(_0x2a0c1a,_0x312153){return _0x2a0c1a!==_0x312153;},'oyvaQ':'test','XXagh':_0xa525af(0x195),'hNYiH':function(_0x3a3cd8,_0x2ec426){return _0x3a3cd8!==_0x2ec426;},'XVCAH':function(_0x1003bd,_0x427852){return _0x1003bd!==_0x427852;},'Zdsxa':'File\x20path\x20could\x20not\x20be\x20found','LTMAk':'Mocha','MgelK':_0xa525af(0xdd),'JCiRl':'TestRunSkipped','fDcXf':_0xa525af(0xb7),'djozy':function(_0x4e7bda,_0x4393a0){return _0x4e7bda-_0x4393a0;},'lLebp':_0xa525af(0x12a),'NMOyC':'UnhandledError','DYmPJ':'started_at','kklLI':_0xa525af(0xbd),'wsOCw':function(_0x448eaa,_0x2f9213){return _0x448eaa(_0x2f9213);},'Xlfmd':function(_0x4009ec,_0x3b1cdd){return _0x4009ec===_0x3b1cdd;},'GhYZs':_0xa525af(0x12c),'UfPMG':_0xa525af(0xb1),'kzfZU':_0xa525af(0xcb),'CabEt':function(_0x2b89dc,_0x2eec87){return _0x2b89dc===_0x2eec87;},'rwcmy':_0xa525af(0x14c),'qnQSD':function(_0xb8dbe5,_0x3c3e7a){return _0xb8dbe5(_0x3c3e7a);},'kUlxt':'failure','RwuPV':_0xa525af(0x187),'JTIev':'backtrace','ZYwWL':_0xa525af(0x10f),'zWiYF':_0xa525af(0x1a2),'vIEpb':_0xa525af(0x124),'teyWX':function(_0x1660f7,_0x473adc){return _0x1660f7(_0x473adc);},'yArHm':'hook_type','pbACJ':_0xa525af(0x1a7),'AENmQ':'test_run'};try{if(_0x3b2644[_0xa525af(0x185)]&&_0x3b2644[_0xa525af(0x185)]['match'](/browserstack internal helper hook/))return;let _0x8a1fb6=[];if(_0x5c61e8[_0xa525af(0x108)](_0x3b2644[_0xa525af(0x101)],STATE_FAILED)){if(_0x5c61e8[_0xa525af(0x14d)](_0x3b2644[_0xa525af(0x195)],undefined))_0x8a1fb6=_0x3b2644[_0xa525af(0x195)][_0xa525af(0x1ab)]?[_0x3b2644[_0xa525af(0x195)]['multiple'],_0x5c61e8[_0xa525af(0x9f)]]:[_0x3b2644['err'],_0x5c61e8[_0xa525af(0x131)]];else _0x5c61e8[_0xa525af(0xe1)](_0x313db5,undefined)?_0x8a1fb6=[_0x313db5,_0x5c61e8[_0xa525af(0x131)]]:_0x8a1fb6=[];}const _0xe0b087=_0x5c61e8[_0xa525af(0xa2)](_0x3b2644[_0xa525af(0x195)],undefined)?_0x3b2644[_0xa525af(0x195)][_0xa525af(0x1ad)]():_0x5c61e8[_0xa525af(0x14d)](_0x313db5,undefined)?_0x313db5[_0xa525af(0x1ad)]():undefined;let _0x39e548;try{_0x39e548=this[_0xa525af(0x10c)](_0x3b2644);}catch(_0x65265){_0x39e548=null;}const _0x152d02=_0x39e548?this[_0xa525af(0x12e)](_0x39e548):null,_0x3e4d88=_0x39e548?this[_0xa525af(0x119)][_0xa525af(0xa5)](this[_0xa525af(0x10c)](_0x3b2644)):_0x5c61e8['Zdsxa'],_0x33fdc5={'framework':_0x5c61e8['LTMAk'],'uuid':_0x3b2644[_0xa525af(0xdf)]||_0x3b2644[_0xa525af(0x103)],'name':_0x3b2644[_0xa525af(0x166)],'body':{'lang':_0x5c61e8[_0xa525af(0x1a9)],'code':_0x3b2644[_0xa525af(0x185)]},'scope':this[_0xa525af(0x102)](_0x3b2644),'scopes':this['scopes'](_0x3b2644),'identifier':_0x3b2644[_0xa525af(0x19a)](),'file_name':_0x3e4d88,'vc_filepath':_0x152d02?path['relative'](_0x152d02,_0x39e548):null,'location':_0x3e4d88,'result':_0x5c61e8[_0xa525af(0x108)](_0x3ffef5,_0x5c61e8[_0xa525af(0xc0)])?_0x5c61e8['fDcXf']:this[_0xa525af(0x152)](_0x3b2644[_0xa525af(0x101)]),'failure_reason':_0xe0b087,'duration_in_ms':_0x3b2644[_0xa525af(0x92)]||(_0x3ffef5['match'](/Finished/)||_0x3ffef5[_0xa525af(0x140)](/Skipped/)?_0x5c61e8[_0xa525af(0x19e)](Date[_0xa525af(0x181)](),new Date(_0x3b2644[_0xa525af(0xfc)])[_0xa525af(0xab)]()):null),'started_at':_0x3b2644[_0xa525af(0xfc)],'finished_at':_0x3ffef5[_0xa525af(0x140)](/Finished/)||_0x3ffef5[_0xa525af(0x140)](/Skipped/)?new Date()['toISOString']():null,'failure':failureData[_0xa525af(0x1a5)](null,_0x8a1fb6),'failure_type':!_0xe0b087?null:_0xe0b087[_0xa525af(0x140)](/AssertionError/)?_0x5c61e8[_0xa525af(0x11d)]:_0x5c61e8[_0xa525af(0x153)],'retry_of':_0x3b2644[_0xa525af(0x9d)]};testhubUtils[_0xa525af(0x189)](_0x33fdc5,_0x3ffef5,_0x3b2644,FRAMEWORKS[_0xa525af(0x170)]);_0x5c61e8[_0xa525af(0x108)](_0x3ffef5,_0x5c61e8[_0xa525af(0xc0)])&&!_0x33fdc5[_0x5c61e8[_0xa525af(0x18a)]]&&(_0x33fdc5[_0x5c61e8[_0xa525af(0x18a)]]=_0x33fdc5[_0x5c61e8[_0xa525af(0x11b)]]);if(_0x3ffef5[_0xa525af(0x140)](/HookRun/))[_0x33fdc5[_0xa525af(0x1b3)],_0x33fdc5[_0xa525af(0x17a)]]=_0x5c61e8[_0xa525af(0x174)](getHookDetails,_0x3b2644[_0xa525af(0x19a)]()||_0x3b2644[_0xa525af(0x122)]||_0x3b2644[_0xa525af(0x166)]),_0x5c61e8['Xlfmd'](_0x3ffef5,_0x5c61e8[_0xa525af(0x1b5)])&&(_0x5c61e8[_0xa525af(0x14d)](_0x33fdc5['result'],_0x5c61e8[_0xa525af(0x169)])&&(_0x33fdc5[_0xa525af(0xf5)]=_0x5c61e8[_0xa525af(0x18c)]),_0x5c61e8[_0xa525af(0xe5)](_0x33fdc5[_0xa525af(0x1b3)],_0x5c61e8[_0xa525af(0x16e)])&&_0x5c61e8[_0xa525af(0x108)](_0x33fdc5[_0xa525af(0xf5)],_0x5c61e8[_0xa525af(0x169)])&&!_0x3b2644[_0xa525af(0x17b)][_0xa525af(0x1a6)][_0xa525af(0xd1)]&&(_0x3b2644[_0xa525af(0x17b)]['currentTest']['markedStatus']=!![],_0x3b2644[_0xa525af(0x17b)][_0xa525af(0x1a6)][_0xa525af(0x101)]=STATE_FAILED,await this[_0xa525af(0x17d)](_0x3b2644[_0xa525af(0x17b)][_0xa525af(0x1a6)],undefined,!![])));else _0x3ffef5[_0xa525af(0x140)](/TestRun/)&&_0x5c61e8['qnQSD'](mapTestHooks,_0x3b2644);const _0x33aa45=_0x33fdc5[_0x5c61e8['kUlxt']][0x0];_0x33aa45&&(_0x33fdc5[_0x5c61e8[_0xa525af(0x15f)]]=_0x33aa45[_0x5c61e8[_0xa525af(0x128)]],_0x33fdc5[_0x5c61e8[_0xa525af(0x162)]]=_0x33aa45[_0x5c61e8[_0xa525af(0x10d)]]);[_0x5c61e8[_0xa525af(0x1a0)],_0x5c61e8['JCiRl']][_0xa525af(0xfe)](_0x3ffef5)&&(this[_0xa525af(0x186)][_0xa525af(0xc7)](_0x33fdc5),_0x33fdc5[_0xa525af(0x112)]=_0x5c61e8[_0xa525af(0x149)](getHooksForTest,_0x3b2644));const _0x37da92={'event_type':_0x5c61e8[_0xa525af(0xe5)](_0x3ffef5,_0x5c61e8[_0xa525af(0xc0)])?_0x5c61e8[_0xa525af(0x1a0)]:_0x3ffef5};_0x3ffef5['match'](/HookRun/)?(_0x33fdc5[_0x5c61e8[_0xa525af(0x139)]]=HOOK_TYPES_MAP[_0x33fdc5[_0x5c61e8[_0xa525af(0x139)]]],_0x37da92[_0x5c61e8[_0xa525af(0x129)]]=_0x33fdc5):_0x37da92[_0x5c61e8[_0xa525af(0xb5)]]=_0x33fdc5,testhubUtils['setCurrentTestData'](FRAMEWORKS[_0xa525af(0x170)],_0x37da92),await SessionHandler['uploadEventData'](_0x37da92);}catch(_0x335f25){_0x5c61e8[_0xa525af(0x174)](debug,_0xa525af(0x160)+_0x3ffef5+_0xa525af(0x13f)+_0x335f25);}};[a27_0x1405b5(0x12e)](_0x46778c){const _0x3b3b47=a27_0x1405b5,_0xb10e61={};_0xb10e61[_0x3b3b47(0x125)]=function(_0x155cae,_0x5f278f){return _0x155cae===_0x5f278f;},_0xb10e61[_0x3b3b47(0x16c)]=function(_0x2056bb,_0x3ed6f0){return _0x2056bb===_0x3ed6f0;},_0xb10e61[_0x3b3b47(0x13b)]=_0x3b3b47(0x98),_0xb10e61[_0x3b3b47(0x171)]=_0x3b3b47(0x17f);const _0x2be824=_0xb10e61,_0x1d5afa=path[_0x3b3b47(0xd3)];if(_0x2be824[_0x3b3b47(0x125)](_0x46778c,null)||_0x2be824[_0x3b3b47(0x125)](_0x46778c,'')||_0x2be824[_0x3b3b47(0x16c)](_0x46778c,_0x1d5afa)||_0x2be824[_0x3b3b47(0x125)](_0x46778c,path[_0x3b3b47(0xf3)](_0x46778c)))return null;try{return fs[_0x3b3b47(0xb6)](path['join'](_0x46778c,_0x2be824[_0x3b3b47(0x13b)],_0x2be824['KuNGc'])),_0x46778c;}catch(_0x1fe7ce){const _0xbcd8d0=path[_0x3b3b47(0xf3)](_0x46778c);return this['findGitConfig'](_0xbcd8d0);}}[a27_0x1405b5(0x1aa)]=async _0x250aca=>{const _0x44fc1b=a27_0x1405b5,_0x1d72ae={'tWkKD':'LogCreated','KtWyb':function(_0x52a510,_0x59ed00){return _0x52a510(_0x59ed00);}};try{this[_0x44fc1b(0x164)]&&!this[_0x44fc1b(0x164)][_0x44fc1b(0xd1)]&&(_0x250aca[_0x44fc1b(0x18e)]=this[_0x44fc1b(0x164)][_0x44fc1b(0x103)]);!_0x250aca[_0x44fc1b(0x18e)]&&this[_0x44fc1b(0xc1)]&&!this['current_test']['markedStatus']&&(_0x250aca['test_run_uuid']=this['current_test'][_0x44fc1b(0xdf)]);if(_0x250aca[_0x44fc1b(0x18e)]||_0x250aca[_0x44fc1b(0x1b4)]){const _0x119dcf={};_0x119dcf[_0x44fc1b(0x198)]=_0x1d72ae[_0x44fc1b(0x16d)],_0x119dcf[_0x44fc1b(0xf6)]=[_0x250aca],await SessionHandler[_0x44fc1b(0x156)](_0x119dcf);}}catch(_0x6a920b){_0x1d72ae[_0x44fc1b(0x183)](debug,_0x44fc1b(0xec)+_0x6a920b);}};['appendTestPlatform']=async _0x5b2c20=>{const _0x2ff560=a27_0x1405b5,_0x3b00cb={'kYiCq':'http_response','eWvgt':_0x2ff560(0x161),'jdKuG':function(_0x4a5e1b,_0x1ed91f){return _0x4a5e1b(_0x1ed91f);}};try{const _0x147ba5={};_0x147ba5[_0x2ff560(0x155)]=_0x5b2c20[_0x2ff560(0x155)]||this['current_test'][_0x2ff560(0xdf)],_0x147ba5[_0x2ff560(0x18d)]=_0x5b2c20[_0x3b00cb[_0x2ff560(0x190)]];const _0x35d643=_0x147ba5,_0x7abd73={};_0x7abd73[_0x2ff560(0x198)]=_0x3b00cb[_0x2ff560(0xc5)],_0x7abd73['test_run']=_0x35d643,await SessionHandler[_0x2ff560(0x156)](_0x7abd73);}catch(_0x4f053a){_0x3b00cb[_0x2ff560(0x143)](debug,_0x2ff560(0x12b)+_0x4f053a);}};[a27_0x1405b5(0x152)](_0x15fdd6){const _0x20a835=a27_0x1405b5,_0x56f282={};_0x56f282[_0x20a835(0xe3)]=_0x20a835(0xcb),_0x56f282[_0x20a835(0x138)]=_0x20a835(0x15a),_0x56f282[_0x20a835(0x11e)]=_0x20a835(0xb1);const _0x2bb530=_0x56f282,_0x5bb020={};return _0x5bb020[STATE_PASSED]=_0x2bb530[_0x20a835(0xe3)],_0x5bb020[STATE_PENDING]=_0x2bb530[_0x20a835(0x138)],_0x5bb020[STATE_FAILED]=_0x2bb530[_0x20a835(0x11e)],_0x5bb020[_0x15fdd6];}[a27_0x1405b5(0x102)](_0xbc301c){const _0x1c8b01=a27_0x1405b5,_0x3b1f7a={};_0x3b1f7a['AUgUb']=function(_0x5ea124,_0x1be973){return _0x5ea124-_0x1be973;};const _0x297703=_0x3b1f7a,_0x5d6286=_0xbc301c[_0x1c8b01(0x9e)]();return _0x5d6286['slice'](0x0,_0x297703[_0x1c8b01(0x10b)](_0x5d6286['length'],0x1))['join']('\x20');}[a27_0x1405b5(0x9c)](_0x2787dd){const _0x43a831=a27_0x1405b5,_0x3dacb2={};_0x3dacb2[_0x43a831(0x188)]=function(_0x18eed0,_0x5a00ce){return _0x18eed0-_0x5a00ce;};const _0x387c44=_0x3dacb2,_0x5d3f3e=_0x2787dd['titlePath']();return _0x5d3f3e[_0x43a831(0xca)](0x0,_0x387c44[_0x43a831(0x188)](_0x5d3f3e['length'],0x1));}[a27_0x1405b5(0x10c)](_0x1de69d){const _0x277612=a27_0x1405b5,_0x923e52={};_0x923e52['DBWwE']=function(_0x3e9f9f,_0x19e5bb){return _0x3e9f9f>_0x19e5bb;};const _0x4a1eed=_0x923e52;if(_0x1de69d[_0x277612(0xd2)])return _0x1de69d[_0x277612(0xd2)];if(_0x1de69d[_0x277612(0x17b)]){const _0x139946=_0x1de69d[_0x277612(0x17b)][_0x277612(0x1a6)]?this[_0x277612(0x10c)](_0x1de69d['ctx'][_0x277612(0x1a6)]):null;if(_0x139946)return _0x139946;}if(_0x1de69d[_0x277612(0xf8)]){const _0x1ee6a1=this['getRootParentFile'](_0x1de69d[_0x277612(0xf8)])||(_0x1de69d['parent'][_0x277612(0x17b)]&&_0x1de69d[_0x277612(0xf8)][_0x277612(0x17b)][_0x277612(0x1a6)]?this[_0x277612(0x10c)](_0x1de69d['parent'][_0x277612(0x17b)][_0x277612(0x1a6)]):null);if(_0x1ee6a1)return _0x1ee6a1;_0x1de69d['parent'][_0x277612(0x192)]&&_0x4a1eed[_0x277612(0xbf)](_0x1de69d[_0x277612(0xf8)][_0x277612(0x192)]['length'],0x0)&&_0x1de69d[_0x277612(0xf8)][_0x277612(0x192)][_0x277612(0xaa)](_0x2ec912=>{const _0x507383=_0x277612,_0x33a623=_0x2ec912['ctx']?this[_0x507383(0x10c)](_0x2ec912['ctx']):null;if(_0x33a623)return _0x33a623;});}return null;}}module[a27_0x1405b5(0x134)]=MyReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a28_0x1115(_0xf111e9,_0x381fbd){const _0x2d34da=a28_0x2d34();return a28_0x1115=function(_0x1115dc,_0x24f136){_0x1115dc=_0x1115dc-0x195;let _0x3174b5=_0x2d34da[_0x1115dc];return _0x3174b5;},a28_0x1115(_0xf111e9,_0x381fbd);}const a28_0x68a10c=a28_0x1115;(function(_0x3a5b55,_0x3e3173){const _0x256a0c=a28_0x1115,_0x2df9ac=_0x3a5b55();while(!![]){try{const _0x167847=parseInt(_0x256a0c(0x28a))/0x1*(parseInt(_0x256a0c(0x1d2))/0x2)+-parseInt(_0x256a0c(0x1bf))/0x3+-parseInt(_0x256a0c(0x1b4))/0x4*(parseInt(_0x256a0c(0x230))/0x5)+parseInt(_0x256a0c(0x1cd))/0x6*(-parseInt(_0x256a0c(0x25c))/0x7)+parseInt(_0x256a0c(0x1af))/0x8*(-parseInt(_0x256a0c(0x1e6))/0x9)+-parseInt(_0x256a0c(0x1f3))/0xa*(parseInt(_0x256a0c(0x221))/0xb)+parseInt(_0x256a0c(0x1ce))/0xc;if(_0x167847===_0x3e3173)break;else _0x2df9ac['push'](_0x2df9ac['shift']());}catch(_0x42ab53){_0x2df9ac['push'](_0x2df9ac['shift']());}}}(a28_0x2d34,0x444b6));const chalk=require(a28_0x68a10c(0x255)),logger=require(a28_0x68a10c(0x1ca))['winstonLogger'],{default:BrowserStackSetup}=require(a28_0x68a10c(0x229)),helper=require(a28_0x68a10c(0x1c7)),utilities=require(a28_0x68a10c(0x28c)),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a28_0x68a10c(0x1c7)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule(a28_0x68a10c(0x1d8)),collectFiles=requireModule('mocha/lib/cli/collect-files.js'),constants=require(a28_0x68a10c(0x201));function tag(_0x3c3472,_0x130bf4,_0x7a9c98,_0x118988){const _0x21aaa7=a28_0x68a10c,_0x104e1e={'eWvqw':function(_0xeba8cb,_0xda166){return _0xeba8cb+_0xda166;},'kPFtv':function(_0x2acff2,_0x4f283f){return _0x2acff2+_0x4f283f;},'yENTi':function(_0x541214,_0x38850c){return _0x541214(_0x38850c);},'MuGFM':function(_0x5b1de4,_0x182768){return _0x5b1de4+_0x182768;},'ktIId':function(_0x18f171,_0x3e505f){return _0x18f171+_0x3e505f;}},_0x4dea16=_0x7a9c98?'/>':'>',_0xa5c05=[];let _0x205950;for(const _0x27e1a8 in _0x130bf4){Object[_0x21aaa7(0x258)][_0x21aaa7(0x1a4)]['call'](_0x130bf4,_0x27e1a8)&&_0xa5c05[_0x21aaa7(0x1c4)](_0x104e1e[_0x21aaa7(0x223)](_0x104e1e[_0x21aaa7(0x21d)](_0x104e1e['kPFtv'](_0x27e1a8,'=\x22'),_0x104e1e[_0x21aaa7(0x22e)](escape,_0x130bf4[_0x27e1a8])),'\x22'));}return _0x205950=_0x104e1e[_0x21aaa7(0x21d)](_0x104e1e[_0x21aaa7(0x1b7)](_0x104e1e[_0x21aaa7(0x1b7)]('<',_0x3c3472),_0xa5c05[_0x21aaa7(0x226)]?_0x104e1e[_0x21aaa7(0x21d)]('\x20',_0xa5c05[_0x21aaa7(0x1e2)]('\x20')):''),_0x4dea16),_0x118988&&(_0x205950+=_0x104e1e[_0x21aaa7(0x276)](_0x104e1e[_0x21aaa7(0x1b7)](_0x104e1e[_0x21aaa7(0x223)](_0x118988,'</'),_0x3c3472),_0x4dea16)),_0x205950;}let xunitContent='';function xunitWrite(_0x17a9b9){xunitContent+=_0x17a9b9;}function xunitTest(_0x44cb3d,_0x4bb2ee){const _0x5e11b2=a28_0x68a10c,_0x305734={'STWis':function(_0x13879c,_0x214068){return _0x13879c/_0x214068;},'sxYtX':function(_0x57c415,_0x1861ec){return _0x57c415===_0x1861ec;},'Evacl':_0x5e11b2(0x20c),'ETPYN':function(_0x36ad18,_0x326ed1){return _0x36ad18+_0x326ed1;},'clbnI':function(_0x190561,_0x560343){return _0x190561(_0x560343);},'hohmC':function(_0x5958cb,_0x55a046,_0x426964,_0x33a5c7,_0x709c97){return _0x5958cb(_0x55a046,_0x426964,_0x33a5c7,_0x709c97);},'cCKeM':'testcase','Hldua':'failure','WRTYF':function(_0x3f8ff8,_0xfc727f){return _0x3f8ff8(_0xfc727f);},'nIGDh':function(_0x471079,_0x2f11df,_0x39de05,_0x59d75f,_0x314625){return _0x471079(_0x2f11df,_0x39de05,_0x59d75f,_0x314625);},'giPYM':function(_0x146666,_0x261f69,_0x262a7d,_0x63622a){return _0x146666(_0x261f69,_0x262a7d,_0x63622a);},'wdfSp':_0x5e11b2(0x1f9),'quQvk':function(_0x3b0b6d,_0x2c55e3){return _0x3b0b6d(_0x2c55e3);},'LLjSa':function(_0x46c570,_0x44cf2e,_0x761aad,_0x2ad900){return _0x46c570(_0x44cf2e,_0x761aad,_0x2ad900);}};Base[_0x5e11b2(0x237)]=![];var _0x1430da={'classname':_0x44cb3d[_0x5e11b2(0x1f5)],'name':_0x44cb3d[_0x5e11b2(0x1a9)],'time':_0x305734[_0x5e11b2(0x278)](_0x44cb3d['duration'],0x3e8)||0x0,'platform':_0x4bb2ee};if(_0x305734[_0x5e11b2(0x245)](_0x44cb3d['state'],_0x305734[_0x5e11b2(0x280)])){var _0x38e91d=_0x44cb3d[_0x5e11b2(0x206)],_0x25a2cb=!Base[_0x5e11b2(0x219)]&&Base[_0x5e11b2(0x22b)](_0x38e91d)?_0x305734[_0x5e11b2(0x281)]('\x0a',Base[_0x5e11b2(0x23c)](_0x38e91d[_0x5e11b2(0x21b)],_0x38e91d[_0x5e11b2(0x1f6)])):'';_0x305734[_0x5e11b2(0x239)](xunitWrite,_0x305734[_0x5e11b2(0x1d9)](tag,_0x305734[_0x5e11b2(0x209)],_0x1430da,![],_0x305734[_0x5e11b2(0x1d9)](tag,_0x305734['Hldua'],{},![],_0x305734[_0x5e11b2(0x281)](_0x305734[_0x5e11b2(0x281)](_0x305734[_0x5e11b2(0x281)](_0x305734[_0x5e11b2(0x1b0)](escape,_0x38e91d[_0x5e11b2(0x283)]),_0x305734[_0x5e11b2(0x1b0)](escape,_0x25a2cb)),'\x0a'),_0x305734[_0x5e11b2(0x1b0)](escape,_0x38e91d[_0x5e11b2(0x22d)])))));}else _0x44cb3d[_0x5e11b2(0x20b)]?_0x305734[_0x5e11b2(0x239)](xunitWrite,_0x305734['nIGDh'](tag,_0x305734[_0x5e11b2(0x209)],_0x1430da,![],_0x305734[_0x5e11b2(0x1ef)](tag,_0x305734['wdfSp'],{},!![]))):_0x305734['quQvk'](xunitWrite,_0x305734[_0x5e11b2(0x23a)](tag,_0x305734[_0x5e11b2(0x209)],_0x1430da,!![]));};function getStats(_0x1f12ff){const _0x5637cd=a28_0x68a10c,_0x45a6c5={};_0x45a6c5[_0x5637cd(0x1c0)]=_0x5637cd(0x259),_0x45a6c5[_0x5637cd(0x213)]='passed',_0x45a6c5[_0x5637cd(0x1b6)]=_0x5637cd(0x20c),_0x45a6c5[_0x5637cd(0x27f)]=_0x5637cd(0x20d);const _0x281ec2=_0x45a6c5,_0x208cc0=Object[_0x5637cd(0x20a)](_0x1f12ff);let _0x21b46a=0x0,_0x55765e=0x0,_0x379f4a=0x0,_0xae7f0d=0x0;const _0x1162a1=new Set();_0x208cc0[_0x5637cd(0x279)](_0x508d55=>{const _0x162989=_0x5637cd;_0x1f12ff[_0x508d55][_0x281ec2[_0x162989(0x27f)]][_0x162989(0x279)](_0x7a5bd7=>{const _0x1fd960=_0x162989;_0x1162a1[_0x1fd960(0x274)](_0x7a5bd7[_0x281ec2[_0x1fd960(0x1c0)]]),_0x21b46a++;switch(_0x7a5bd7[_0x1fd960(0x23f)]){case _0x281ec2[_0x1fd960(0x213)]:_0x379f4a++;break;case _0x281ec2[_0x1fd960(0x1b6)]:_0x55765e++;break;default:_0xae7f0d++;}});});const _0x3e0f7b={};return _0x3e0f7b[_0x5637cd(0x1b1)]=_0x1162a1[_0x5637cd(0x28b)],_0x3e0f7b[_0x5637cd(0x1a5)]=_0x208cc0,_0x3e0f7b['totalTests']=_0x21b46a,_0x3e0f7b['testsFailed']=_0x55765e,_0x3e0f7b[_0x5637cd(0x1fe)]=_0x379f4a,_0x3e0f7b[_0x5637cd(0x285)]=_0xae7f0d,_0x3e0f7b;}function errorJSON(_0x22fa40){const _0x23e645=a28_0x68a10c;var _0x401e1f={};return Object['getOwnPropertyNames'](_0x22fa40)[_0x23e645(0x279)](function(_0x4e785d){_0x401e1f[_0x4e785d]=_0x22fa40[_0x4e785d];},_0x22fa40),_0x401e1f;}function a28_0x2d34(){const _0x243027=['accessibilityOptions','yXaaB','mocha/lib/reporters/base.js','hohmC','Writing\x20xunit\x20result\x20to\x20file','rmdirSync','bbAjh','zyBUb','MEyeh','handleApp','yjNlO','output','join','jmNLy','accessibility','testsuite','2394jbZTAU','Writing\x20json\x20result\x20to\x20file','</testsuite>','stringify','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','rootHooks','error\x20removing\x20tcg\x20config\x20file','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','sort','giPYM','cjs','logLevel','utuji','12570WkKEQb','finalExecution','fullTitle','expected','assign','qKbWp','skipped','red','Running\x20your\x20mocha\x20tests','markSDKSetupComplete','qfVjg','testsPassed','--disable-test-observability','caoPz','../utils/constants','titlePath','testsFailed','EmPqH','isBrowserstackInfra','err','NmUAl','jmsRc','cCKeM','keys','isPending','failed','results','Couldn\x27t\x20write\x20json\x20result\x20to','GHHAl','JgIJr','rerunTests','setupTCGAuth','grCRS','gUPLB','xunit','reporter-option','rOtpn','Now,\x20showing\x20logs\x20from\x20mocha','hideDiff','object','actual','shouldReRunObservabilityTests','kPFtv','oNUVd','xuftK','includes','4246DQvzcO','Total\x20Platforms:\x20','eWvqw','WYQQx','WgcAe','length','mvTVI','IGDNO','../../helpers/BrowserStackSetup','fireFunnelTestEvent','showDiff','OsPJl','stack','yENTi','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','945055YdmMMH','currentRetry','FRAMEWORKS','has','mocha','DwMbY','consoleLog','useColors','KqLqX','clbnI','LLjSa','indexOf','generateDiff','recursive','PJSGo','state','\x20failed','vAYLj','dybdI','njwaf','vatjE','sxYtX','BliMs','get','BROWSERSTACK_TEST_OBSERVABILITY_YML','initialize','getErrorMessageFromResults','proxySettings','BROWSERSTACK_RERUN_TESTS','--disable-browserstack-automation','extension','kdGOh','Tzeyf','hvJEr','QyvJM','lCMtY','BXraz','chalk','mTsox','getUserWorkerCount','prototype','suite','suiteName','KzlgU','18214zLNGCH','log','\x0a\x0a\x0a','parallelsPerPlatform','env','passes','Total\x20Suites:\x20','isUndefined','green','SHGfr','files','parseFileNames','SDKTestSuccessful','yPQwU','doc','getTCGConfigFilePaths','VXRIu','BrMiQ','yellow','ZbJMY','fCbEZ','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','toUTCString','SjaSp','add','kaFCC','ktIId','diuIs','STWis','forEach','Listing\x20all\x20the\x20failures','DIcCA','\x20passed','speed','notifyUpdate','JBumx','Evacl','ETPYN','parse','message','uSZkC','testsPending','PIVOd','getHubUrl','debug','map','1ozHJOA','size','../../helpers/utilities','FfMTc','exports','printBuildLink','prepareCapabilities','WyApS','writeFileSync','eSyTK','iNtTC','unlinkSync','\x20total','usTrb','duration','reporterOptions','bgRedBright','BROWSERSTACK_TEST_ACCESSIBILITY_YML','reporter','getPlatformName','hasOwnProperty','platforms','rcqWB','WQDPd','nUoQS','title','testObservability','error','isTestObservabilitySession','HKMnI','failures','14992uPNnvP','WRTYF','testSuites','min','sajUT','8zzZlpm','ltxiX','GvIjB','MuGFM','spec','zBpoa','bold','then','finally','FORXd','MOCHA','1167009wUdsiH','OtntF','IfuLH','info','Setting\x20non\x20exit\x20code\x20for\x20failures','push','cliConfig','Printing\x20stats\x20of\x20tests','../../helpers/helper','BROWSERSTACK_AUTOMATION','kwIEt','../../helpers/logger','list','validPlatformsPresent','6oZrUek','21642456oGLsSB','ZCtQM','argv','exitCode','459018vbbKFQ','XCoEo','config','jtYis'];a28_0x2d34=function(){return _0x243027;};return a28_0x2d34();}function cleanCycles(_0x47c1e9){const _0x15ff09=a28_0x68a10c,_0x2257a5={};_0x2257a5[_0x15ff09(0x1d5)]=function(_0x102210,_0x4ae4b6){return _0x102210===_0x4ae4b6;},_0x2257a5['jmNLy']=_0x15ff09(0x21a),_0x2257a5[_0x15ff09(0x1dd)]=function(_0x37c032,_0x3c4175){return _0x37c032!==_0x3c4175;},_0x2257a5['yjNlO']=function(_0x1e96bd,_0x58a629){return _0x1e96bd+_0x58a629;};const _0x5079bf=_0x2257a5;var _0x5d893e=[];return JSON[_0x15ff09(0x282)](JSON[_0x15ff09(0x1e9)](_0x47c1e9,function(_0x5d3ceb,_0x358455){const _0x12c0d8=_0x15ff09;if(_0x5079bf[_0x12c0d8(0x1d5)](typeof _0x358455,_0x5079bf[_0x12c0d8(0x1e3)])&&_0x5079bf[_0x12c0d8(0x1dd)](_0x358455,null)){if(_0x5079bf[_0x12c0d8(0x1dd)](_0x5d893e[_0x12c0d8(0x23b)](_0x358455),-0x1))return _0x5079bf[_0x12c0d8(0x1e0)]('',_0x358455);_0x5d893e[_0x12c0d8(0x1c4)](_0x358455);}return _0x358455;}));}function clean(_0x2324a6){const _0x3008db=a28_0x68a10c,_0x5dc304={'BXraz':function(_0x1ac79e,_0xb891c0){return _0x1ac79e instanceof _0xb891c0;},'bbAjh':function(_0x3e120e,_0x4badee){return _0x3e120e(_0x4badee);}};var _0xc8bf06=_0x2324a6[_0x3008db(0x206)]||{};return _0x5dc304[_0x3008db(0x254)](_0xc8bf06,Error)&&(_0xc8bf06=_0x5dc304[_0x3008db(0x1dc)](errorJSON,_0xc8bf06)),{'title':_0x2324a6['title'],'fullTitle':_0x2324a6[_0x3008db(0x1f5)],'file':_0x2324a6['file'],'duration':_0x2324a6['duration'],'currentRetry':_0x2324a6[_0x3008db(0x231)],'speed':_0x2324a6[_0x3008db(0x27d)],'err':_0x5dc304[_0x3008db(0x1dc)](cleanCycles,_0xc8bf06)};}function printStats(_0x1170ca,_0x24cdbf='spec',_0x5e79db={}){const _0x3a1aca=a28_0x68a10c,_0x42cd32={'IfuLH':function(_0x1fa886,_0x51a7e5){return _0x1fa886(_0x51a7e5);},'oNUVd':function(_0x5d3905,_0x189eb8){return _0x5d3905===_0x189eb8;},'FORXd':'passed','Tzeyf':_0x3a1aca(0x261),'BrMiQ':function(_0x4ed6d2,_0xf9578b){return _0x4ed6d2(_0xf9578b);},'ltxiX':'failed','sajUT':_0x3a1aca(0x1ae),'rOtpn':'pending','VXRIu':_0x3a1aca(0x20d),'xuftK':function(_0x40b2e5,_0x1fc070){return _0x40b2e5===_0x1fc070;},'mTsox':function(_0x1f5dee,_0x2368c4){return _0x1f5dee*_0x2368c4;},'fOHeq':function(_0x11edc6,_0x2cb115,_0x3ad87c){return _0x11edc6(_0x2cb115,_0x3ad87c);},'usTrb':function(_0x517389,_0x804dce){return _0x517389===_0x804dce;},'WYQQx':function(_0x35e692,_0x23b596){return _0x35e692>_0x23b596;},'BliMs':function(_0x246ee9){return _0x246ee9();},'JUkvc':function(_0x4f3043,_0xfa4e8e){return _0x4f3043===_0xfa4e8e;},'uDpPw':_0x3a1aca(0x26a),'woffZ':_0x3a1aca(0x1c3),'USxPw':_0x3a1aca(0x1c6),'ZCtQM':function(_0x2960e2,_0x39c838){return _0x2960e2+_0x39c838;},'diuIs':_0x3a1aca(0x222),'sTmzx':_0x3a1aca(0x262),'QyvJM':function(_0x182924,_0x41744d){return _0x182924+_0x41744d;},'CqhaT':'Tests:\x20\x20\x20\x20\x20\x20\x20','WQDPd':function(_0x4504b8,_0x2ae13){return _0x4504b8+_0x2ae13;},'kdGOh':function(_0x44f228,_0x50f880){return _0x44f228+_0x50f880;},'OsPJl':function(_0x2edf16,_0x26dac1){return _0x2edf16+_0x26dac1;},'DIcCA':_0x3a1aca(0x25e),'gUPLB':'json','kjIEm':_0x3a1aca(0x1e7),'rcqWB':_0x3a1aca(0x20e),'fCbEZ':_0x3a1aca(0x22f),'vAYLj':function(_0x4559f8,_0x5b8263){return _0x4559f8===_0x5b8263;},'NmUAl':_0x3a1aca(0x215),'KzlgU':'Mocha\x20Tests','nUoQS':function(_0x51ab51,_0xcf69da){return _0x51ab51||_0xcf69da;},'mAXYV':function(_0x5a2396,_0x2a2fc6,_0xdbcfeb,_0x335246){return _0x5a2396(_0x2a2fc6,_0xdbcfeb,_0x335246);},'PIVOd':_0x3a1aca(0x1e5),'eSyTK':function(_0x5ad63e,_0xbd8e72){return _0x5ad63e-_0xbd8e72;},'tdeSD':function(_0x29c980,_0x5d75dd){return _0x29c980/_0x5d75dd;},'HKMnI':_0x3a1aca(0x1e8),'GHHAl':_0x3a1aca(0x1da),'vatjE':'Couldn\x27t\x20write\x20xunit\x20result\x20to','KqLqX':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','WgcAe':_0x3a1aca(0x27a),'XCoEo':'****\x20FAILURES\x20****'};if(_0x42cd32['JUkvc'](_0x24cdbf,_0x42cd32['uDpPw']))return;const _0x381f7c=0x0,_0x23dda5=()=>{const _0x5ee43c=_0x3a1aca;return _0x42cd32[_0x5ee43c(0x1c1)](Array,_0x381f7c)[_0x5ee43c(0x1e2)]('\x20\x20');},{testSuites:_0x3cf20c,platforms:_0x44d9ef,totalTests:_0x4bbfdd,testsFailed:_0x520f7a,testsPassed:_0x573eab,testsPending:_0x13b1ea}=_0x42cd32[_0x3a1aca(0x26d)](getStats,_0x1170ca);_0x42cd32['WYQQx'](_0x520f7a,0x0)&&(logger[_0x3a1aca(0x288)](_0x42cd32['woffZ']),process[_0x3a1aca(0x1d1)]=Math[_0x3a1aca(0x1b2)](_0x520f7a,0xff));logger[_0x3a1aca(0x288)](_0x42cd32['USxPw']);const _0x56b410=''+_0x42cd32[_0x3a1aca(0x1cf)](chalk['bold'](_0x42cd32[_0x3a1aca(0x277)]),_0x44d9ef[_0x3a1aca(0x226)]),_0x1e744a=''+_0x42cd32[_0x3a1aca(0x1cf)](chalk[_0x3a1aca(0x1ba)](_0x42cd32['sTmzx']),_0x3cf20c),_0x4b7960=''+_0x42cd32[_0x3a1aca(0x252)](_0x42cd32[_0x3a1aca(0x252)](_0x42cd32['QyvJM'](chalk[_0x3a1aca(0x1ba)](_0x42cd32['CqhaT']),_0x42cd32['WYQQx'](_0x520f7a,0x0)?chalk[_0x3a1aca(0x1ba)][_0x3a1aca(0x1fa)](_0x520f7a+_0x3a1aca(0x240))+',\x20':''),_0x42cd32[_0x3a1aca(0x224)](_0x13b1ea,0x0)?chalk[_0x3a1aca(0x1ba)][_0x3a1aca(0x26e)](_0x13b1ea+'\x20skipped')+',\x20':''),_0x42cd32[_0x3a1aca(0x224)](_0x573eab,0x0)?chalk['bold'][_0x3a1aca(0x264)](_0x573eab+_0x3a1aca(0x27c))+',\x20':'')+_0x4bbfdd+_0x3a1aca(0x19c);console[_0x3a1aca(0x25d)](_0x42cd32[_0x3a1aca(0x1a7)](_0x42cd32[_0x3a1aca(0x24f)](_0x42cd32[_0x3a1aca(0x24f)](_0x42cd32['OsPJl'](_0x42cd32[_0x3a1aca(0x22c)](_0x42cd32[_0x3a1aca(0x27b)],_0x56b410),'\x0a'),_0x1e744a),'\x0a'),_0x4b7960));if(_0x42cd32[_0x3a1aca(0x21f)](_0x24cdbf,_0x42cd32[_0x3a1aca(0x214)])){const _0x4a330f={},_0x12e1b4={};_0x12e1b4['testSuites']=_0x3cf20c,_0x12e1b4[_0x3a1aca(0x1a5)]=_0x44d9ef,_0x12e1b4[_0x3a1aca(0x203)]=_0x520f7a,_0x12e1b4[_0x3a1aca(0x1fe)]=_0x573eab,_0x12e1b4[_0x3a1aca(0x285)]=_0x13b1ea,_0x4a330f['stats']=_0x12e1b4,_0x44d9ef['forEach'](_0x3bdc90=>{const _0x1347da=_0x3a1aca,_0xabb3dd={'jmsRc':function(_0x426af8,_0x4f30ec){const _0x39128e=a28_0x1115;return _0x42cd32[_0x39128e(0x21e)](_0x426af8,_0x4f30ec);},'njwaf':_0x42cd32['FORXd'],'QNUCV':_0x42cd32[_0x1347da(0x250)],'IGDNO':function(_0x296113,_0x52f23f){return _0x42cd32['BrMiQ'](_0x296113,_0x52f23f);},'dybdI':_0x42cd32[_0x1347da(0x1b5)],'mvTVI':_0x42cd32[_0x1347da(0x1b3)],'FfMTc':_0x42cd32[_0x1347da(0x217)]};_0x4a330f[_0x3bdc90]={'pending':[],'failures':[],'passes':[],'tests':_0x1170ca[_0x3bdc90][_0x42cd32[_0x1347da(0x26c)]][_0x1347da(0x289)](clean)},_0x1170ca[_0x3bdc90][_0x42cd32[_0x1347da(0x26c)]][_0x1347da(0x279)](_0x3c0a01=>{const _0x598cb1=_0x1347da;if(_0xabb3dd[_0x598cb1(0x208)](_0x3c0a01['state'],_0xabb3dd[_0x598cb1(0x243)]))_0x4a330f[_0x3bdc90][_0xabb3dd['QNUCV']][_0x598cb1(0x1c4)](_0xabb3dd[_0x598cb1(0x228)](clean,_0x3c0a01));else _0xabb3dd[_0x598cb1(0x208)](_0x3c0a01[_0x598cb1(0x23f)],_0xabb3dd[_0x598cb1(0x242)])?_0x4a330f[_0x3bdc90][_0xabb3dd[_0x598cb1(0x227)]][_0x598cb1(0x1c4)](_0xabb3dd['IGDNO'](clean,_0x3c0a01)):_0x4a330f[_0x3bdc90][_0xabb3dd[_0x598cb1(0x28d)]][_0x598cb1(0x1c4)](_0xabb3dd['IGDNO'](clean,_0x3c0a01));});});if(_0x5e79db[_0x3a1aca(0x1e1)])try{logger['debug'](_0x42cd32['kjIEm'],_0x5e79db['output']),fs[_0x3a1aca(0x198)](_0x5e79db[_0x3a1aca(0x1e1)],JSON[_0x3a1aca(0x1e9)](_0x4a330f,null,0x3));}catch(_0x5cfcc2){logger['error'](_0x42cd32[_0x3a1aca(0x1a6)],_0x5e79db[_0x3a1aca(0x1e1)]),logger['debug'](_0x5cfcc2);}else logger[_0x3a1aca(0x288)](_0x42cd32[_0x3a1aca(0x270)]),console['log'](JSON[_0x3a1aca(0x1e9)](_0x4a330f,null,0x3));}else{if(_0x42cd32[_0x3a1aca(0x241)](_0x24cdbf,_0x42cd32[_0x3a1aca(0x207)])){let _0x233e2f;const _0x50b093=_0x42cd32[_0x3a1aca(0x25b)];_0x5e79db&&(_0x233e2f=_0x5e79db[_0x3a1aca(0x25a)]);_0x233e2f=_0x42cd32[_0x3a1aca(0x1a8)](_0x233e2f,_0x50b093);let _0xd9e5f8=0x0,_0x598a01=0x0,_0x5a709a=0x0,_0x385ced=0x0;_0x44d9ef[_0x3a1aca(0x279)](_0x328438=>{const _0x1f6550=_0x3a1aca;_0x1170ca[_0x328438][_0x42cd32[_0x1f6550(0x26c)]]['forEach'](_0x3b4f92=>{const _0x596f3f=_0x1f6550;if(_0x42cd32[_0x596f3f(0x21f)](_0x3b4f92[_0x596f3f(0x23f)],_0x42cd32[_0x596f3f(0x1bd)]))_0xd9e5f8++;else _0x42cd32[_0x596f3f(0x21f)](_0x3b4f92[_0x596f3f(0x23f)],_0x42cd32[_0x596f3f(0x1b5)])&&_0x598a01++;_0x5a709a++,_0x385ced+=_0x42cd32[_0x596f3f(0x256)](_0x3b4f92[_0x596f3f(0x19e)],0x1);});}),_0x42cd32[_0x3a1aca(0x26d)](xunitWrite,_0x42cd32['mAXYV'](tag,_0x42cd32[_0x3a1aca(0x286)],{'name':_0x233e2f,'tests':_0x5a709a,'failures':0x0,'errors':_0x598a01,'skipped':_0x42cd32[_0x3a1aca(0x199)](_0x42cd32[_0x3a1aca(0x199)](_0x5a709a,_0x598a01),_0xd9e5f8),'timestamp':new Date()[_0x3a1aca(0x272)](),'time':_0x42cd32['tdeSD'](_0x385ced,0x3e8)||0x0},![])),_0x44d9ef[_0x3a1aca(0x279)](_0x5d0024=>{const _0x2dd662=_0x3a1aca,_0xb3e00b={'qKbWp':function(_0x19c152,_0x110b88,_0x5cc1c2){return _0x42cd32['fOHeq'](_0x19c152,_0x110b88,_0x5cc1c2);}};_0x1170ca[_0x5d0024][_0x42cd32['VXRIu']][_0x2dd662(0x279)](_0x49bc14=>{const _0x44d446=_0x2dd662;_0xb3e00b[_0x44d446(0x1f8)](xunitTest,_0x49bc14,_0x5d0024);});}),_0x42cd32[_0x3a1aca(0x26d)](xunitWrite,_0x42cd32[_0x3a1aca(0x1ad)]);if(_0x5e79db[_0x3a1aca(0x1e1)])try{logger['debug'](_0x42cd32[_0x3a1aca(0x20f)],_0x5e79db[_0x3a1aca(0x1e1)]),fs[_0x3a1aca(0x198)](_0x5e79db[_0x3a1aca(0x1e1)],xunitContent);}catch(_0x1f90ec){logger[_0x3a1aca(0x1ab)](_0x42cd32[_0x3a1aca(0x244)],_0x5e79db[_0x3a1aca(0x1e1)]),logger['debug'](_0x1f90ec);}else logger[_0x3a1aca(0x288)](_0x42cd32[_0x3a1aca(0x238)]),console[_0x3a1aca(0x25d)](xunitContent);}else{if(_0x42cd32[_0x3a1aca(0x21f)](_0x520f7a,0x0))return;console[_0x3a1aca(0x25d)](),logger[_0x3a1aca(0x288)](_0x42cd32[_0x3a1aca(0x225)]),console['log'](chalk[_0x3a1aca(0x1ba)][_0x3a1aca(0x1a0)](_0x42cd32[_0x3a1aca(0x1d3)])),_0x44d9ef[_0x3a1aca(0x279)](_0x3839db=>{const _0xa23e94=_0x3a1aca,_0x49514f={'kaFCC':function(_0x1abcb5,_0x1841bf){const _0x1cbcd0=a28_0x1115;return _0x42cd32[_0x1cbcd0(0x19d)](_0x1abcb5,_0x1841bf);},'lCMtY':_0x42cd32['ltxiX']},_0x45b106=[];_0x1170ca[_0x3839db][_0x42cd32[_0xa23e94(0x26c)]][_0xa23e94(0x279)](_0x26dafa=>{const _0x512368=_0xa23e94;_0x49514f[_0x512368(0x275)](_0x26dafa[_0x512368(0x23f)],_0x49514f[_0x512368(0x253)])&&(_0x26dafa[_0x512368(0x202)]=()=>_0x26dafa['titlePathV'],_0x45b106[_0x512368(0x1c4)](_0x26dafa));}),_0x42cd32['WYQQx'](_0x45b106[_0xa23e94(0x226)],0x0)&&(Base['consoleLog'](),Base[_0xa23e94(0x236)](_0x42cd32[_0xa23e94(0x246)](_0x23dda5),chalk[_0xa23e94(0x1ba)]['bgBlueBright'](_0x3839db)),Base[_0xa23e94(0x1cb)](_0x45b106));});}}}async function run(_0x2387e8,_0x2a3015){const _0x471c8f=a28_0x68a10c,_0x29ecbe={'reItT':function(_0x492736,_0x1051ad,_0x2e3430,_0x491b08){return _0x492736(_0x1051ad,_0x2e3430,_0x491b08);},'yXaaB':_0x471c8f(0x216),'JgIJr':_0x471c8f(0x1ec),'yPQwU':_0x471c8f(0x268),'hvJEr':function(_0x4dab47,_0x4b9158,_0x905ab2,_0x1c9fb5){return _0x4dab47(_0x4b9158,_0x905ab2,_0x1c9fb5);},'iNtTC':_0x471c8f(0x234),'NVnoQ':_0x471c8f(0x1ff),'qfVjg':_0x471c8f(0x24d),'SHGfr':function(_0x51e618,_0xf7a097){return _0x51e618!=_0xf7a097;},'hTkeh':_0x471c8f(0x1f0),'caoPz':'mjs','zBpoa':'test','uSZkC':_0x471c8f(0x211),'EmPqH':function(_0x45d6e5,_0x542b35){return _0x45d6e5(_0x542b35);},'WyApS':function(_0x26bc4a,_0x1b5ffd,_0x4e498a){return _0x26bc4a(_0x1b5ffd,_0x4e498a);},'DwMbY':_0x471c8f(0x266),'kwIEt':_0x471c8f(0x1fb),'SjaSp':_0x471c8f(0x218),'MEyeh':function(_0x41468c,_0x3fde20,_0x36f691,_0x56e6de){return _0x41468c(_0x3fde20,_0x36f691,_0x56e6de);},'ZbJMY':function(_0x5cfbc4,_0x45995b){return _0x5cfbc4*_0x45995b;},'utuji':function(_0x2a5622,_0x4da9a7){return _0x2a5622(_0x4da9a7);},'QIJer':function(_0x15135a,_0x4b4187){return _0x15135a!==_0x4b4187;},'PJSGo':function(_0x150c9a,_0x248921,_0xd8893a,_0xe30b32){return _0x150c9a(_0x248921,_0xd8893a,_0xe30b32);}};process[_0x471c8f(0x1d0)][_0x471c8f(0x220)](_0x29ecbe['NVnoQ'])&&(process[_0x471c8f(0x260)]['BROWSERSTACK_TEST_OBSERVABILITY']=![]);process[_0x471c8f(0x1d0)][_0x471c8f(0x220)](_0x29ecbe[_0x471c8f(0x1fd)])&&(process[_0x471c8f(0x260)][_0x471c8f(0x1c8)]=![]);const _0x5b232f=new BrowserStackSetup(_0x2387e8,_0x29ecbe[_0x471c8f(0x19a)]);helper['isBrowserstackInfra']()?(await _0x5b232f[_0x471c8f(0x249)](),await helper[_0x471c8f(0x1df)](_0x5b232f['config'])):await _0x5b232f[_0x471c8f(0x212)]();const _0x5c07dc=[];let _0x192871=[];if(!_0x5b232f['config'])return;_0x29ecbe[_0x471c8f(0x265)](_0x5b232f[_0x471c8f(0x1d4)][_0x471c8f(0x1aa)],null)&&(process[_0x471c8f(0x260)][_0x471c8f(0x248)]=_0x5b232f[_0x471c8f(0x1d4)][_0x471c8f(0x1aa)]);!helper[_0x471c8f(0x263)](_0x5b232f[_0x471c8f(0x1d4)][_0x471c8f(0x1e4)])&&(process['env'][_0x471c8f(0x1a1)]=_0x5b232f[_0x471c8f(0x1d4)][_0x471c8f(0x1e4)]);!helper[_0x471c8f(0x263)](_0x5b232f['config'][_0x471c8f(0x1d6)])&&(process[_0x471c8f(0x260)][_0x471c8f(0x271)]=JSON[_0x471c8f(0x1e9)](_0x5b232f[_0x471c8f(0x1d4)]['accessibilityOptions']));const {extension:extension=['js',_0x29ecbe['hTkeh'],_0x29ecbe[_0x471c8f(0x200)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x29ecbe[_0x471c8f(0x1b9)]]}=_0x2387e8,_0x5fc5b1={..._0x2387e8};_0x5fc5b1[_0x471c8f(0x1eb)]=null;const _0x68bfae=_0x5fc5b1;let _0x30416a;if(testOpsHelper[_0x471c8f(0x1ac)]()&&testOpsHelper[_0x471c8f(0x21c)]()){let _0x220c6d=process[_0x471c8f(0x260)][_0x471c8f(0x24c)];!helper[_0x471c8f(0x263)](_0x5b232f['cliConfig'])&&_0x5b232f[_0x471c8f(0x1c5)][_0x471c8f(0x233)](_0x29ecbe[_0x471c8f(0x284)])&&(_0x220c6d=_0x5b232f[_0x471c8f(0x1c5)][_0x471c8f(0x247)](_0x29ecbe['uSZkC'])),_0x30416a=testOpsHelper[_0x471c8f(0x267)](_0x220c6d);}if(helper[_0x471c8f(0x263)](_0x30416a)){const _0x582655={};_0x582655['ignore']=ignore,_0x582655[_0x471c8f(0x24e)]=extension,_0x582655['file']=file,_0x582655[_0x471c8f(0x23d)]=recursive,_0x582655[_0x471c8f(0x1ee)]=sort,_0x582655[_0x471c8f(0x1b8)]=spec,_0x30416a=_0x29ecbe[_0x471c8f(0x204)](collectFiles,_0x582655),_0x29ecbe[_0x471c8f(0x197)](nestedKeyValue,_0x30416a,[_0x29ecbe[_0x471c8f(0x235)]])&&(_0x30416a=_0x30416a[_0x471c8f(0x266)]);}helper[_0x471c8f(0x1fc)]();if(!helper[_0x471c8f(0x205)]()){const _0x801987=0x1,_0x3e3b74={..._0x68bfae};_0x3e3b74[_0x471c8f(0x1b8)]=[..._0x30416a],_0x5c07dc['push']({'mochaOpts':_0x3e3b74,'configuration':{'platform':os['platform']()}}),logger['info'](_0x29ecbe[_0x471c8f(0x1c9)]),logger[_0x471c8f(0x1c2)](_0x29ecbe[_0x471c8f(0x273)]),_0x29ecbe[_0x471c8f(0x1de)](parallelTestRun,_0x5c07dc,_0x801987,_0x5b232f)[_0x471c8f(0x1bb)](_0x1b28af=>{const _0x2b9f6c=_0x471c8f;_0x29ecbe['reItT'](printStats,_0x1b28af,_0x2387e8[_0x2b9f6c(0x1a2)],_0x2387e8[_0x2b9f6c(0x19f)]||_0x2387e8[_0x29ecbe[_0x2b9f6c(0x1d7)]]);})[_0x471c8f(0x1bc)](()=>{const _0x3c49ea=_0x471c8f;try{const {browserstackFolderPath:_0x3e7b95,tcgConfigPath:_0xdf7b7c}=helper[_0x3c49ea(0x26b)]();fs[_0x3c49ea(0x19b)](_0xdf7b7c),fs[_0x3c49ea(0x1db)](_0x3e7b95);}catch(_0x1802e6){logger[_0x3c49ea(0x288)](_0x29ecbe[_0x3c49ea(0x210)],_0x1802e6);}try{utilities[_0x3c49ea(0x22a)](_0x29ecbe[_0x3c49ea(0x269)],{},_0x5b232f[_0x3c49ea(0x1d4)],_0x5b232f['framework']);}catch(_0x14ee29){logger[_0x3c49ea(0x288)](_0x3c49ea(0x1ea)+_0x14ee29);}try{helper[_0x3c49ea(0x27e)]();}catch(_0x420411){logger[_0x3c49ea(0x288)](_0x3c49ea(0x1ed)+_0x420411);}testOpsHelper[_0x3c49ea(0x195)]();});}else{const _0x1e41c5=helper['useW3C'](_0x5b232f[_0x471c8f(0x1d4)]),_0x39b403=helper[_0x471c8f(0x287)](_0x5b232f[_0x471c8f(0x1d4)]);_0x192871=helper[_0x471c8f(0x196)](_0x5b232f['config'],_0x1e41c5,constants[_0x471c8f(0x232)][_0x471c8f(0x1be)]);let _0x973707;const _0x48c0fd=_0x5b232f[_0x471c8f(0x1d4)][_0x471c8f(0x25f)]||helper[_0x471c8f(0x257)](_0x2387e8,_0x2a3015,_0x5b232f[_0x471c8f(0x1d4)],constants[_0x471c8f(0x232)][_0x471c8f(0x1be)])||0x1;helper[_0x471c8f(0x1cc)](_0x5b232f[_0x471c8f(0x1d4)])?_0x973707=_0x29ecbe[_0x471c8f(0x26f)](_0x5b232f[_0x471c8f(0x1d4)][_0x471c8f(0x1a5)][_0x471c8f(0x226)],_0x48c0fd):_0x973707=_0x48c0fd;const _0x42b0ec=_0x29ecbe[_0x471c8f(0x1f2)](getPercyOptions,_0x5b232f['config']);if(_0x29ecbe['QIJer'](_0x5b232f[_0x471c8f(0x1d4)][_0x471c8f(0x25f)],0x1))_0x30416a[_0x471c8f(0x279)](_0x52a998=>{const _0x27c8c=_0x471c8f,_0x1377ff=[];_0x192871[_0x27c8c(0x279)]((_0x41fb0c,_0x27fd8d)=>{const _0x3631f9=_0x27c8c,_0x194280={};_0x194280[_0x3631f9(0x1b8)]=[_0x52a998],_0x1377ff[_0x3631f9(0x1c4)]({'mochaOpts':Object[_0x3631f9(0x1f7)]({},_0x68bfae,_0x194280),'configuration':{'server':_0x39b403,'capability':_0x41fb0c,'proxySettings':_0x5b232f[_0x3631f9(0x1d4)][_0x3631f9(0x24b)],'platform':helper['getPlatformName'](_0x41fb0c),'browserStackLogLevel':_0x5b232f[_0x3631f9(0x1d4)][_0x3631f9(0x1f1)],'platformIndex':_0x27fd8d,'browserStackPercyOptions':_0x42b0ec,'platformCaps':_0x5b232f[_0x3631f9(0x1d4)][_0x3631f9(0x1a5)][_0x27fd8d]}});}),_0x5c07dc['push'](..._0x1377ff);});else{const _0x19b3b7=[];_0x192871[_0x471c8f(0x279)]((_0x53662b,_0x4677fb)=>{const _0x3312cc=_0x471c8f;let _0x26baa6=Object[_0x3312cc(0x1f7)]({},_0x68bfae);testOpsHelper[_0x3312cc(0x1ac)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x26baa6={..._0x26baa6,'spec':[..._0x30416a]}),_0x19b3b7['push']({'mochaOpts':_0x26baa6,'configuration':{'server':_0x39b403,'capability':_0x53662b,'proxySettings':_0x5b232f['config'][_0x3312cc(0x24b)],'platform':helper[_0x3312cc(0x1a3)](_0x53662b),'browserStackLogLevel':_0x5b232f[_0x3312cc(0x1d4)]['logLevel'],'platformIndex':_0x4677fb,'browserStackPercyOptions':_0x42b0ec,'platformCaps':_0x5b232f['config'][_0x3312cc(0x1a5)][_0x4677fb]}});}),_0x5c07dc[_0x471c8f(0x1c4)](..._0x19b3b7);}logger['info']('Running\x20your\x20mocha\x20tests\x20across\x20'+_0x5b232f[_0x471c8f(0x1d4)]['platforms'][_0x471c8f(0x226)]+'\x20platforms'),logger[_0x471c8f(0x1c2)](_0x29ecbe[_0x471c8f(0x273)]);let _0x435b61;_0x29ecbe[_0x471c8f(0x23e)](parallelTestRun,_0x5c07dc,_0x973707,_0x5b232f)[_0x471c8f(0x1bb)](_0x458bb5=>{const _0x3a9df6=_0x471c8f;_0x435b61=_0x458bb5,_0x29ecbe[_0x3a9df6(0x251)](printStats,_0x458bb5,_0x2387e8[_0x3a9df6(0x1a2)],_0x2387e8[_0x3a9df6(0x19f)]||_0x2387e8[_0x29ecbe['yXaaB']]);})['finally'](async()=>{const _0x281c32=_0x471c8f;_0x5b232f['errorMessage']=helper[_0x281c32(0x24a)](_0x435b61,_0x29ecbe[_0x281c32(0x19a)]),await utilities[_0x281c32(0x1f4)](_0x5b232f),testOpsHelper[_0x281c32(0x195)]();});}}module[a28_0x68a10c(0x28e)]=run;
2
+ 'use strict';const a28_0x495afd=a28_0x5843;(function(_0x2c3d1a,_0x17182f){const _0x500bff=a28_0x5843,_0x5225da=_0x2c3d1a();while(!![]){try{const _0x1eabb3=parseInt(_0x500bff(0xff))/0x1+parseInt(_0x500bff(0x137))/0x2*(-parseInt(_0x500bff(0x14a))/0x3)+parseInt(_0x500bff(0xa1))/0x4*(-parseInt(_0x500bff(0x156))/0x5)+-parseInt(_0x500bff(0xe9))/0x6+-parseInt(_0x500bff(0xba))/0x7+-parseInt(_0x500bff(0xd7))/0x8+parseInt(_0x500bff(0x14d))/0x9*(parseInt(_0x500bff(0x93))/0xa);if(_0x1eabb3===_0x17182f)break;else _0x5225da['push'](_0x5225da['shift']());}catch(_0xaa3472){_0x5225da['push'](_0x5225da['shift']());}}}(a28_0x3bff,0x93c1a));const chalk=require('chalk'),logger=require(a28_0x495afd(0x96))['winstonLogger'],{default:BrowserStackSetup}=require(a28_0x495afd(0x13e)),helper=require(a28_0x495afd(0x7f)),utilities=require(a28_0x495afd(0xa8)),testOpsHelper=require(a28_0x495afd(0x120)),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a28_0x495afd(0x7f)),{getPercyOptions}=require(a28_0x495afd(0x98)),Base=requireModule(a28_0x495afd(0xfd)),collectFiles=requireModule(a28_0x495afd(0xab)),constants=require(a28_0x495afd(0x151));function tag(_0x2b6e53,_0x1d9ef5,_0x2e1bff,_0x1ba888){const _0x332454=a28_0x495afd,_0xa84add={'qjVuP':function(_0x146ec4,_0x557598){return _0x146ec4+_0x557598;},'VtdOu':function(_0xf8d049,_0x2c7dc2){return _0xf8d049+_0x2c7dc2;},'kKQnw':function(_0x47b513,_0x1c6237){return _0x47b513(_0x1c6237);},'oKBJG':function(_0x1e1e93,_0x5aa489){return _0x1e1e93+_0x5aa489;},'NhRno':function(_0x3c3bb1,_0x991bb3){return _0x3c3bb1+_0x991bb3;},'JiJJx':function(_0x4fd112,_0x4181f2){return _0x4fd112+_0x4181f2;},'QVuDh':function(_0x1d5f49,_0x382201){return _0x1d5f49+_0x382201;},'Upvkn':function(_0x21e61a,_0x5ba4db){return _0x21e61a+_0x5ba4db;}},_0xab57c6=_0x2e1bff?'/>':'>',_0x29792a=[];let _0x22760c;for(const _0x3ead83 in _0x1d9ef5){Object[_0x332454(0x79)][_0x332454(0x74)]['call'](_0x1d9ef5,_0x3ead83)&&_0x29792a['push'](_0xa84add[_0x332454(0x76)](_0xa84add[_0x332454(0x81)](_0xa84add[_0x332454(0x76)](_0x3ead83,'=\x22'),_0xa84add[_0x332454(0x75)](escape,_0x1d9ef5[_0x3ead83])),'\x22'));}return _0x22760c=_0xa84add[_0x332454(0x81)](_0xa84add[_0x332454(0x76)](_0xa84add['oKBJG']('<',_0x2b6e53),_0x29792a[_0x332454(0xf6)]?_0xa84add[_0x332454(0xd1)]('\x20',_0x29792a[_0x332454(0x8f)]('\x20')):''),_0xab57c6),_0x1ba888&&(_0x22760c+=_0xa84add[_0x332454(0xf9)](_0xa84add[_0x332454(0x11a)](_0xa84add[_0x332454(0xd4)](_0x1ba888,'</'),_0x2b6e53),_0xab57c6)),_0x22760c;}function a28_0x3bff(){const _0x243158=['XKzQk','yellow','spec','nsCdq','71814eeSiGd','accessibility','BROWSERSTACK_TEST_OBSERVABILITY_YML','18JfSpOV','Unjpj','platforms','aINpk','../utils/constants','qnoRB','printBuildLink','isPending','Running\x20your\x20mocha\x20tests\x20across\x20','175EfXtms','getUserWorkerCount','xzcsK','files','AOjbB','RYSbe','has','GnFYH','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','stringify','MOCHA','expected','OfqmO','isTestObservabilitySession','CkiLk','Running\x20your\x20mocha\x20tests','Total\x20Platforms:\x20','stack','argv','getOwnPropertyNames','size','red','vgdyw','kxAvz','hasOwnProperty','kKQnw','qjVuP','testsPending','reporter','prototype','EeunM','mVOQP','lKQMV','XQedV','zmNBv','../../helpers/helper','geUAL','VtdOu','suiteName','getErrorMessageFromResults','includes','pending','cliConfig','finalExecution','indexOf','duration','VnjCf','writeFileSync','failure','MCiJP','xJCtW','join','debug','results','gxcfE','17055710blSLXV','ITeak','list','../../helpers/logger','eciQm','../../helpers/percy/utils','JHNIq','nFJTJ','\x20platforms','showDiff','err','TdURD','unlinkSync','env','74260aGIDWI','OolHZ','getTCGConfigFilePaths','nsrgr','QCeTY','actual','sort','../../helpers/utilities','isUndefined','skipped','mocha/lib/cli/collect-files.js','Listing\x20all\x20the\x20failures','FKPGz','\x20total','NVJRB','tDpWV','BROWSERSTACK_TEST_OBSERVABILITY','object','testObservability','kBGxc','handleApp','info','map','HkoHm','asTZd','4161220fBEYne','ewSrv','passed','errorMessage','CFzwE','setupTCGAuth','assign','suite','recursive','forEach','finally','error','SDKTestSuccessful','MrqPQ','xaYyy','xtEWz','rootHooks','Writing\x20json\x20result\x20to\x20file','rCRNp','titlePathV','PfqMG','UzcDT','jaEsE','NhRno','testsuite','then','Upvkn','jWWRX','XCWEX','2488400rHeyci','add','oBoip','testSuites','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','FdUBk','mjs','rmdirSync','MaeKS','totalTests','mbxGd','prepareCapabilities','qivwN','BROWSERSTACK_AUTOMATION','failed','FRAMEWORKS','keys','file','5324880fZWQOT','parallelsPerPlatform','xWrdM','useColors','doc','YeJRC','ignore','state','kooFu','generateDiff','passes','fireFunnelTestEvent','bgBlueBright','length','shouldReRunObservabilityTests','Total\x20Suites:\x20','JiJJx','Couldn\x27t\x20write\x20xunit\x20result\x20to','proxySettings','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','mocha/lib/reporters/base.js','qElzJ','259221ukflwS','Couldn\x27t\x20write\x20json\x20result\x20to','yktDV','accessibilityOptions','qShcX','extension','QbEyu','log','output','testsPassed','message','parseFileNames','exitCode','ZhseR','</testsuite>','failures','min','EoHsP','get','zEDiW','toUTCString','Setting\x20non\x20exit\x20code\x20for\x20failures','bold','\x0a\x0a\x0a','HBerE','nVqrv','push','QVuDh','validPlatformsPresent','rerunTests','KIILf','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Abzmf','../../helpers/test-observability/utils','aZzRG','fullTitle','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','KzwfH','MINhf','YywYv','logLevel','ejbqD','speed','tWiuR','wmpig','YfSfF','consoleLog','Tests:\x20\x20\x20\x20\x20\x20\x20','uBeth','eWbZM','lwKWv','config','error\x20removing\x20tcg\x20config\x20file','Mocha\x20Tests','test','cjs','52NctGbp','LuMpY','getPlatformName','title','reporter-option','testsFailed','testcase','../../helpers/BrowserStackSetup','\x20passed','dNggV','pTEIK','gqtjy','DHxEu','Printing\x20stats\x20of\x20tests','\x20skipped'];a28_0x3bff=function(){return _0x243158;};return a28_0x3bff();}let xunitContent='';function xunitWrite(_0x4b123d){xunitContent+=_0x4b123d;}function xunitTest(_0x5164c0,_0x4bdd4d){const _0x198e48=a28_0x495afd,_0x253022={'nFJTJ':function(_0x73e2c2,_0x1bed45){return _0x73e2c2/_0x1bed45;},'xaYyy':function(_0x4f65e0,_0x216bca){return _0x4f65e0===_0x216bca;},'Cgnhd':_0x198e48(0xe5),'xzcsK':function(_0x2bc332,_0x3b7470){return _0x2bc332+_0x3b7470;},'aZzRG':function(_0x3c124c,_0x466f1b){return _0x3c124c(_0x466f1b);},'UzcDT':function(_0x427b6f,_0x44288c,_0x1a25a7,_0x41a141,_0x548a87){return _0x427b6f(_0x44288c,_0x1a25a7,_0x41a141,_0x548a87);},'DHxEu':_0x198e48(0x13d),'QCeTY':_0x198e48(0x8c),'aINpk':function(_0x4e562d,_0x52c836){return _0x4e562d+_0x52c836;},'woFpr':function(_0x24051d,_0x55a0c7){return _0x24051d+_0x55a0c7;},'JHNIq':function(_0x1d97d2,_0x433fb7){return _0x1d97d2+_0x433fb7;},'zEDiW':function(_0x5cfa24,_0x523563){return _0x5cfa24(_0x523563);},'YeJRC':function(_0x58273f,_0x2e4668){return _0x58273f(_0x2e4668);},'RYSbe':function(_0x46897d,_0x36a13e){return _0x46897d(_0x36a13e);},'XQedV':function(_0x5afbc9,_0x382cb8,_0x37cae7,_0xed54a0){return _0x5afbc9(_0x382cb8,_0x37cae7,_0xed54a0);},'hAkei':_0x198e48(0xaa)};Base[_0x198e48(0xec)]=![];var _0x558337={'classname':_0x5164c0[_0x198e48(0x122)],'name':_0x5164c0[_0x198e48(0x13a)],'time':_0x253022[_0x198e48(0x9a)](_0x5164c0[_0x198e48(0x89)],0x3e8)||0x0,'platform':_0x4bdd4d};if(_0x253022[_0x198e48(0xc8)](_0x5164c0['state'],_0x253022['Cgnhd'])){var _0x322505=_0x5164c0[_0x198e48(0x9d)],_0xe307a2=!Base['hideDiff']&&Base[_0x198e48(0x9c)](_0x322505)?_0x253022[_0x198e48(0x158)]('\x0a',Base[_0x198e48(0xf2)](_0x322505[_0x198e48(0xa6)],_0x322505[_0x198e48(0x161)])):'';_0x253022[_0x198e48(0x121)](xunitWrite,_0x253022[_0x198e48(0xcf)](tag,_0x253022['DHxEu'],_0x558337,![],_0x253022[_0x198e48(0xcf)](tag,_0x253022[_0x198e48(0xa5)],{},![],_0x253022[_0x198e48(0x150)](_0x253022['woFpr'](_0x253022[_0x198e48(0x99)](_0x253022[_0x198e48(0x112)](escape,_0x322505[_0x198e48(0x109)]),_0x253022[_0x198e48(0x121)](escape,_0xe307a2)),'\x0a'),_0x253022[_0x198e48(0xee)](escape,_0x322505[_0x198e48(0x6d)])))));}else _0x5164c0[_0x198e48(0x154)]?_0x253022[_0x198e48(0x15b)](xunitWrite,_0x253022[_0x198e48(0xcf)](tag,_0x253022[_0x198e48(0x143)],_0x558337,![],_0x253022[_0x198e48(0x7d)](tag,_0x253022['hAkei'],{},!![]))):_0x253022[_0x198e48(0x121)](xunitWrite,_0x253022['XQedV'](tag,_0x253022[_0x198e48(0x143)],_0x558337,!![]));};function getStats(_0x47e5dd){const _0xe1797b=a28_0x495afd,_0x38782d={};_0x38782d['YfSfF']=_0xe1797b(0xc1),_0x38782d[_0xe1797b(0xa2)]=_0xe1797b(0xbc),_0x38782d[_0xe1797b(0x130)]=_0xe1797b(0xe5),_0x38782d['nVqrv']=_0xe1797b(0x91);const _0x356f12=_0x38782d,_0x20531c=Object[_0xe1797b(0xe7)](_0x47e5dd);let _0x593e46=0x0,_0x2edb6e=0x0,_0x281a93=0x0,_0x243c31=0x0;const _0x2c79b9=new Set();_0x20531c['forEach'](_0x3aece4=>{const _0x554b3e=_0xe1797b;_0x47e5dd[_0x3aece4][_0x356f12[_0x554b3e(0x118)]][_0x554b3e(0xc3)](_0x268c7d=>{const _0x34a653=_0x554b3e;_0x2c79b9[_0x34a653(0xd8)](_0x268c7d[_0x356f12[_0x34a653(0x12c)]]),_0x593e46++;switch(_0x268c7d[_0x34a653(0xf0)]){case _0x356f12[_0x34a653(0xa2)]:_0x281a93++;break;case _0x356f12['eWbZM']:_0x2edb6e++;break;default:_0x243c31++;}});});const _0x27841e={};return _0x27841e[_0xe1797b(0xda)]=_0x2c79b9[_0xe1797b(0x70)],_0x27841e[_0xe1797b(0x14f)]=_0x20531c,_0x27841e[_0xe1797b(0xe0)]=_0x593e46,_0x27841e[_0xe1797b(0x13c)]=_0x2edb6e,_0x27841e[_0xe1797b(0x108)]=_0x281a93,_0x27841e[_0xe1797b(0x77)]=_0x243c31,_0x27841e;}function errorJSON(_0x2b3547){const _0x321302=a28_0x495afd;var _0x54dbfb={};return Object[_0x321302(0x6f)](_0x2b3547)[_0x321302(0xc3)](function(_0x17491e){_0x54dbfb[_0x17491e]=_0x2b3547[_0x17491e];},_0x2b3547),_0x54dbfb;}function cleanCycles(_0x484eeb){const _0x11cc21=a28_0x495afd,_0xf26eda={};_0xf26eda[_0x11cc21(0x110)]=function(_0xd1c5c4,_0x3703e5){return _0xd1c5c4===_0x3703e5;},_0xf26eda[_0x11cc21(0xcc)]=_0x11cc21(0xb2),_0xf26eda['YywYv']=function(_0x2a0c0b,_0x1dd93b){return _0x2a0c0b!==_0x1dd93b;},_0xf26eda[_0x11cc21(0xd6)]=function(_0x5a9f69,_0x7225df){return _0x5a9f69!==_0x7225df;},_0xf26eda[_0x11cc21(0x105)]=function(_0x2a7551,_0x54b702){return _0x2a7551+_0x54b702;};const _0x2ffea1=_0xf26eda;var _0x441fe9=[];return JSON['parse'](JSON[_0x11cc21(0x15f)](_0x484eeb,function(_0xca3c63,_0x2907e4){const _0x329a50=_0x11cc21;if(_0x2ffea1['EoHsP'](typeof _0x2907e4,_0x2ffea1['rCRNp'])&&_0x2ffea1[_0x329a50(0x126)](_0x2907e4,null)){if(_0x2ffea1['XCWEX'](_0x441fe9[_0x329a50(0x88)](_0x2907e4),-0x1))return _0x2ffea1[_0x329a50(0x105)]('',_0x2907e4);_0x441fe9[_0x329a50(0x119)](_0x2907e4);}return _0x2907e4;}));}function clean(_0x18634d){const _0x20d7a4=a28_0x495afd,_0x337092={'EeunM':function(_0x6edce,_0x3f035f){return _0x6edce instanceof _0x3f035f;},'BnFDa':function(_0x1c0b05,_0x241fe8){return _0x1c0b05(_0x241fe8);},'PfqMG':function(_0x532eee,_0x2707e1){return _0x532eee(_0x2707e1);}};var _0xac8126=_0x18634d[_0x20d7a4(0x9d)]||{};return _0x337092[_0x20d7a4(0x7a)](_0xac8126,Error)&&(_0xac8126=_0x337092['BnFDa'](errorJSON,_0xac8126)),{'title':_0x18634d[_0x20d7a4(0x13a)],'fullTitle':_0x18634d[_0x20d7a4(0x122)],'file':_0x18634d[_0x20d7a4(0xe8)],'duration':_0x18634d[_0x20d7a4(0x89)],'currentRetry':_0x18634d['currentRetry'],'speed':_0x18634d[_0x20d7a4(0x129)],'err':_0x337092[_0x20d7a4(0xce)](cleanCycles,_0xac8126)};}function printStats(_0x10545c,_0x2a1ede=a28_0x495afd(0x148),_0x1a1462={}){const _0x347df3=a28_0x495afd,_0xe4d8e6={'KzwfH':function(_0x2edb2d,_0x10c54b){return _0x2edb2d(_0x10c54b);},'xtEWz':function(_0x2ec036,_0x491f6d){return _0x2ec036===_0x491f6d;},'xWrdM':_0x347df3(0xbc),'iASli':_0x347df3(0xf3),'MrqPQ':function(_0x78c258,_0x4819b9){return _0x78c258(_0x4819b9);},'MaeKS':function(_0x525a86,_0x4a3ace){return _0x525a86===_0x4a3ace;},'mVOQP':_0x347df3(0xe5),'ftIkC':_0x347df3(0x10e),'MCiJP':_0x347df3(0x85),'ZhseR':function(_0x3f7bef,_0x361cee){return _0x3f7bef(_0x361cee);},'tDpWV':_0x347df3(0x91),'gxcfE':function(_0x4964e9,_0x2edb13){return _0x4964e9*_0x2edb13;},'CkiLk':function(_0x2ad6d5,_0x3e579c,_0x4e6fc0){return _0x2ad6d5(_0x3e579c,_0x4e6fc0);},'ejbqD':function(_0x2f17bf,_0x468b98){return _0x2f17bf>_0x468b98;},'ewSrv':function(_0x1214ab){return _0x1214ab();},'xJCtW':_0x347df3(0xed),'IEASP':_0x347df3(0x114),'Unjpj':_0x347df3(0x144),'oBoip':function(_0xfcd0a6,_0x5537cf){return _0xfcd0a6+_0x5537cf;},'KvhDF':_0x347df3(0x6c),'tWiuR':function(_0x274a3b,_0x48580e){return _0x274a3b+_0x48580e;},'UCCxQ':_0x347df3(0xf8),'VnjCf':function(_0x498954,_0x5e3ed6){return _0x498954+_0x5e3ed6;},'kBGxc':function(_0x4e56ae,_0x551f28){return _0x4e56ae+_0x551f28;},'uBeth':function(_0x4f098e,_0x2b0fca){return _0x4f098e+_0x2b0fca;},'Abzmf':_0x347df3(0x12e),'qElzJ':function(_0x1685e4,_0x8ffbb6){return _0x1685e4>_0x8ffbb6;},'yktDV':function(_0x346282,_0x12a822){return _0x346282+_0x12a822;},'geUAL':function(_0x240e23,_0x4684a3){return _0x240e23+_0x4684a3;},'nsCdq':function(_0x49bebf,_0xeb00e7){return _0x49bebf+_0xeb00e7;},'LuMpY':_0x347df3(0x116),'NVJRB':'json','AOjbB':_0x347df3(0xcb),'rZuvu':_0x347df3(0x100),'MINhf':_0x347df3(0xfc),'gqtjy':'xunit','TdURD':_0x347df3(0x134),'lKQMV':function(_0x7242e8,_0x5bd3bf){return _0x7242e8||_0x5bd3bf;},'HMZfg':function(_0xa2730a,_0x307d06){return _0xa2730a(_0x307d06);},'eRkML':function(_0x5c5e20,_0x1457e3,_0x41fb8c,_0x3ddf46){return _0x5c5e20(_0x1457e3,_0x41fb8c,_0x3ddf46);},'HkoHm':_0x347df3(0xd2),'jWWRX':function(_0xb70630,_0x3db11f){return _0xb70630-_0x3db11f;},'zmNBv':function(_0x53a848,_0x599b38){return _0x53a848/_0x599b38;},'HYRiA':function(_0x4c11ab,_0x202bb1){return _0x4c11ab(_0x202bb1);},'HrPRh':_0x347df3(0x10d),'CqgFM':'Writing\x20xunit\x20result\x20to\x20file','ITeak':_0x347df3(0xfa),'lwKWv':_0x347df3(0xdb),'pTEIK':_0x347df3(0xac),'FdUBk':'****\x20FAILURES\x20****'};if(_0xe4d8e6[_0x347df3(0xc9)](_0x2a1ede,_0xe4d8e6[_0x347df3(0x8e)]))return;const _0x5020bc=0x0,_0x57635a=()=>{const _0x172926=_0x347df3;return _0xe4d8e6[_0x172926(0x124)](Array,_0x5020bc)[_0x172926(0x8f)]('\x20\x20');},{testSuites:_0x64b27b,platforms:_0xcd6e86,totalTests:_0x382675,testsFailed:_0x49e67b,testsPassed:_0x2fc725,testsPending:_0x503daa}=_0xe4d8e6['KzwfH'](getStats,_0x10545c);_0xe4d8e6[_0x347df3(0x128)](_0x49e67b,0x0)&&(logger[_0x347df3(0x90)](_0xe4d8e6['IEASP']),process[_0x347df3(0x10b)]=Math[_0x347df3(0x10f)](_0x49e67b,0xff));logger[_0x347df3(0x90)](_0xe4d8e6[_0x347df3(0x14e)]);const _0x3be82c=''+_0xe4d8e6[_0x347df3(0xd9)](chalk[_0x347df3(0x115)](_0xe4d8e6['KvhDF']),_0xcd6e86['length']),_0x4ea60e=''+_0xe4d8e6[_0x347df3(0x12a)](chalk[_0x347df3(0x115)](_0xe4d8e6['UCCxQ']),_0x64b27b),_0x4d1f34=''+_0xe4d8e6[_0x347df3(0x8a)](_0xe4d8e6[_0x347df3(0xb4)](_0xe4d8e6[_0x347df3(0x12f)](chalk[_0x347df3(0x115)](_0xe4d8e6[_0x347df3(0x11f)]),_0xe4d8e6[_0x347df3(0xfe)](_0x49e67b,0x0)?chalk[_0x347df3(0x115)][_0x347df3(0x71)](_0x49e67b+'\x20failed')+',\x20':''),_0xe4d8e6[_0x347df3(0xfe)](_0x503daa,0x0)?chalk[_0x347df3(0x115)][_0x347df3(0x147)](_0x503daa+_0x347df3(0x145))+',\x20':''),_0xe4d8e6[_0x347df3(0xfe)](_0x2fc725,0x0)?chalk['bold']['green'](_0x2fc725+_0x347df3(0x13f))+',\x20':'')+_0x382675+_0x347df3(0xae);console[_0x347df3(0x106)](_0xe4d8e6[_0x347df3(0x8a)](_0xe4d8e6[_0x347df3(0x101)](_0xe4d8e6[_0x347df3(0x80)](_0xe4d8e6[_0x347df3(0x80)](_0xe4d8e6[_0x347df3(0x149)](_0xe4d8e6[_0x347df3(0x138)],_0x3be82c),'\x0a'),_0x4ea60e),'\x0a'),_0x4d1f34));if(_0xe4d8e6[_0x347df3(0xdf)](_0x2a1ede,_0xe4d8e6[_0x347df3(0xaf)])){const _0xd93ccd={},_0x4ad3f1={};_0x4ad3f1[_0x347df3(0xda)]=_0x64b27b,_0x4ad3f1[_0x347df3(0x14f)]=_0xcd6e86,_0x4ad3f1[_0x347df3(0x13c)]=_0x49e67b,_0x4ad3f1['testsPassed']=_0x2fc725,_0x4ad3f1[_0x347df3(0x77)]=_0x503daa,_0xd93ccd['stats']=_0x4ad3f1,_0xcd6e86['forEach'](_0x103375=>{const _0x39d20c=_0x347df3;_0xd93ccd[_0x103375]={'pending':[],'failures':[],'passes':[],'tests':_0x10545c[_0x103375][_0xe4d8e6['tDpWV']][_0x39d20c(0xb7)](clean)},_0x10545c[_0x103375][_0xe4d8e6[_0x39d20c(0xb0)]][_0x39d20c(0xc3)](_0x26b3a1=>{const _0xa6ccd8=_0x39d20c;if(_0xe4d8e6[_0xa6ccd8(0xc9)](_0x26b3a1[_0xa6ccd8(0xf0)],_0xe4d8e6['xWrdM']))_0xd93ccd[_0x103375][_0xe4d8e6['iASli']][_0xa6ccd8(0x119)](_0xe4d8e6[_0xa6ccd8(0xc7)](clean,_0x26b3a1));else _0xe4d8e6[_0xa6ccd8(0xdf)](_0x26b3a1[_0xa6ccd8(0xf0)],_0xe4d8e6[_0xa6ccd8(0x7b)])?_0xd93ccd[_0x103375][_0xe4d8e6['ftIkC']][_0xa6ccd8(0x119)](_0xe4d8e6[_0xa6ccd8(0xc7)](clean,_0x26b3a1)):_0xd93ccd[_0x103375][_0xe4d8e6[_0xa6ccd8(0x8d)]]['push'](_0xe4d8e6[_0xa6ccd8(0x10c)](clean,_0x26b3a1));});});if(_0x1a1462[_0x347df3(0x107)])try{logger[_0x347df3(0x90)](_0xe4d8e6[_0x347df3(0x15a)],_0x1a1462[_0x347df3(0x107)]),fs[_0x347df3(0x8b)](_0x1a1462[_0x347df3(0x107)],JSON[_0x347df3(0x15f)](_0xd93ccd,null,0x3));}catch(_0x5af75c){logger['error'](_0xe4d8e6['rZuvu'],_0x1a1462['output']),logger[_0x347df3(0x90)](_0x5af75c);}else logger['debug'](_0xe4d8e6[_0x347df3(0x125)]),console[_0x347df3(0x106)](JSON[_0x347df3(0x15f)](_0xd93ccd,null,0x3));}else{if(_0xe4d8e6[_0x347df3(0xc9)](_0x2a1ede,_0xe4d8e6[_0x347df3(0x142)])){let _0x8e50e9;const _0x6069ac=_0xe4d8e6[_0x347df3(0x9e)];_0x1a1462&&(_0x8e50e9=_0x1a1462[_0x347df3(0x82)]);_0x8e50e9=_0xe4d8e6[_0x347df3(0x7c)](_0x8e50e9,_0x6069ac);let _0x4c6477=0x0,_0x313361=0x0,_0x1138fa=0x0,_0x5eca48=0x0;_0xcd6e86[_0x347df3(0xc3)](_0x1c3f90=>{const _0x13411e=_0x347df3;_0x10545c[_0x1c3f90][_0xe4d8e6[_0x13411e(0xb0)]]['forEach'](_0x388e08=>{const _0x3d5e34=_0x13411e;if(_0xe4d8e6[_0x3d5e34(0xdf)](_0x388e08[_0x3d5e34(0xf0)],_0xe4d8e6[_0x3d5e34(0xeb)]))_0x4c6477++;else _0xe4d8e6[_0x3d5e34(0xdf)](_0x388e08[_0x3d5e34(0xf0)],_0xe4d8e6[_0x3d5e34(0x7b)])&&_0x313361++;_0x1138fa++,_0x5eca48+=_0xe4d8e6[_0x3d5e34(0x92)](_0x388e08[_0x3d5e34(0x89)],0x1);});}),_0xe4d8e6['HMZfg'](xunitWrite,_0xe4d8e6['eRkML'](tag,_0xe4d8e6[_0x347df3(0xb8)],{'name':_0x8e50e9,'tests':_0x1138fa,'failures':0x0,'errors':_0x313361,'skipped':_0xe4d8e6[_0x347df3(0xd5)](_0xe4d8e6[_0x347df3(0xd5)](_0x1138fa,_0x313361),_0x4c6477),'timestamp':new Date()[_0x347df3(0x113)](),'time':_0xe4d8e6[_0x347df3(0x7e)](_0x5eca48,0x3e8)||0x0},![])),_0xcd6e86[_0x347df3(0xc3)](_0x4e07fd=>{const _0x2d52c5=_0x347df3,_0x1d37af={'mbxGd':function(_0x3354c3,_0x2e20b4,_0x45541c){const _0x4f67b9=a28_0x5843;return _0xe4d8e6[_0x4f67b9(0x6a)](_0x3354c3,_0x2e20b4,_0x45541c);}};_0x10545c[_0x4e07fd][_0xe4d8e6[_0x2d52c5(0xb0)]]['forEach'](_0x13c940=>{const _0x5ed93d=_0x2d52c5;_0x1d37af[_0x5ed93d(0xe1)](xunitTest,_0x13c940,_0x4e07fd);});}),_0xe4d8e6['HYRiA'](xunitWrite,_0xe4d8e6['HrPRh']);if(_0x1a1462[_0x347df3(0x107)])try{logger['debug'](_0xe4d8e6['CqgFM'],_0x1a1462[_0x347df3(0x107)]),fs['writeFileSync'](_0x1a1462[_0x347df3(0x107)],xunitContent);}catch(_0x4d4ee9){logger[_0x347df3(0xc5)](_0xe4d8e6[_0x347df3(0x94)],_0x1a1462['output']),logger[_0x347df3(0x90)](_0x4d4ee9);}else logger[_0x347df3(0x90)](_0xe4d8e6[_0x347df3(0x131)]),console[_0x347df3(0x106)](xunitContent);}else{if(_0xe4d8e6['MaeKS'](_0x49e67b,0x0))return;console[_0x347df3(0x106)](),logger[_0x347df3(0x90)](_0xe4d8e6[_0x347df3(0x141)]),console['log'](chalk[_0x347df3(0x115)]['bgRedBright'](_0xe4d8e6[_0x347df3(0xdc)])),_0xcd6e86['forEach'](_0x21b69f=>{const _0x39ebb0=_0x347df3,_0x224796={'qnoRB':function(_0x2e0d5f,_0x13d100){const _0x266f32=a28_0x5843;return _0xe4d8e6[_0x266f32(0xc9)](_0x2e0d5f,_0x13d100);},'qShcX':_0xe4d8e6['mVOQP']},_0x4e67da=[];_0x10545c[_0x21b69f][_0xe4d8e6[_0x39ebb0(0xb0)]][_0x39ebb0(0xc3)](_0x56761f=>{const _0x2036bd=_0x39ebb0;_0x224796[_0x2036bd(0x152)](_0x56761f[_0x2036bd(0xf0)],_0x224796[_0x2036bd(0x103)])&&(_0x56761f['titlePath']=()=>_0x56761f[_0x2036bd(0xcd)],_0x4e67da[_0x2036bd(0x119)](_0x56761f));}),_0xe4d8e6[_0x39ebb0(0x128)](_0x4e67da[_0x39ebb0(0xf6)],0x0)&&(Base[_0x39ebb0(0x12d)](),Base[_0x39ebb0(0x12d)](_0xe4d8e6[_0x39ebb0(0xbb)](_0x57635a),chalk[_0x39ebb0(0x115)][_0x39ebb0(0xf5)](_0x21b69f)),Base[_0x39ebb0(0x95)](_0x4e67da));});}}}async function run(_0x51c692,_0x4b0017){const _0x534e8a=a28_0x495afd,_0x5c385c={'HBerE':function(_0x2122ca,_0x450363,_0x19bf0f,_0x275d0c){return _0x2122ca(_0x450363,_0x19bf0f,_0x275d0c);},'GnFYH':_0x534e8a(0x13b),'VyzYs':_0x534e8a(0x133),'eciQm':_0x534e8a(0xc6),'CFzwE':'mocha','XKzQk':'--disable-test-observability','kxAvz':'--disable-browserstack-automation','asTZd':function(_0x42e05c,_0x18b993){return _0x42e05c!=_0x18b993;},'ZoZxl':_0x534e8a(0x136),'KIILf':_0x534e8a(0xdd),'jaEsE':_0x534e8a(0x135),'vgdyw':_0x534e8a(0x11c),'kooFu':function(_0x152387,_0x23c8d2){return _0x152387(_0x23c8d2);},'FKPGz':function(_0x158a4a,_0x32989f,_0x4fdf34){return _0x158a4a(_0x32989f,_0x4fdf34);},'WsLVM':_0x534e8a(0x159),'qivwN':_0x534e8a(0x6b),'OfqmO':'Now,\x20showing\x20logs\x20from\x20mocha','nsrgr':function(_0x70ff65,_0x27c708,_0xed55ef,_0x55fd91){return _0x70ff65(_0x27c708,_0xed55ef,_0x55fd91);},'wmpig':function(_0x1ffb9b,_0x3f6e91){return _0x1ffb9b*_0x3f6e91;},'WLWPD':function(_0x1e151c,_0x102d8f){return _0x1e151c(_0x102d8f);},'dNggV':function(_0x4b9902,_0x38a460){return _0x4b9902!==_0x38a460;}};process[_0x534e8a(0x6e)][_0x534e8a(0x84)](_0x5c385c[_0x534e8a(0x146)])&&(process[_0x534e8a(0xa0)][_0x534e8a(0xb1)]=![]);process[_0x534e8a(0x6e)]['includes'](_0x5c385c[_0x534e8a(0x73)])&&(process['env'][_0x534e8a(0xe4)]=![]);const _0x40fd49=new BrowserStackSetup(_0x51c692,_0x5c385c[_0x534e8a(0xbe)]);helper['isBrowserstackInfra']()?(await _0x40fd49['initialize'](),await helper[_0x534e8a(0xb5)](_0x40fd49[_0x534e8a(0x132)])):await _0x40fd49[_0x534e8a(0xbf)]();const _0x4c46bc=[];let _0x177003=[];if(!_0x40fd49['config'])return;_0x5c385c[_0x534e8a(0xb9)](_0x40fd49['config']['testObservability'],null)&&(process[_0x534e8a(0xa0)][_0x534e8a(0x14c)]=_0x40fd49[_0x534e8a(0x132)][_0x534e8a(0xb3)]);!helper[_0x534e8a(0xa9)](_0x40fd49[_0x534e8a(0x132)][_0x534e8a(0x14b)])&&(process['env'][_0x534e8a(0x11e)]=_0x40fd49[_0x534e8a(0x132)][_0x534e8a(0x14b)]);!helper[_0x534e8a(0xa9)](_0x40fd49[_0x534e8a(0x132)][_0x534e8a(0x102)])&&(process[_0x534e8a(0xa0)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x534e8a(0x15f)](_0x40fd49[_0x534e8a(0x132)][_0x534e8a(0x102)]));const {extension:extension=['js',_0x5c385c['ZoZxl'],_0x5c385c[_0x534e8a(0x11d)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x5c385c[_0x534e8a(0xd0)]]}=_0x51c692,_0x44ba18={..._0x51c692};_0x44ba18[_0x534e8a(0xca)]=null;const _0x410d74=_0x44ba18;let _0x3dcee5;if(testOpsHelper[_0x534e8a(0x69)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x1a8a5d=process['env']['BROWSERSTACK_RERUN_TESTS'];!helper['isUndefined'](_0x40fd49[_0x534e8a(0x86)])&&_0x40fd49[_0x534e8a(0x86)][_0x534e8a(0x15c)](_0x5c385c[_0x534e8a(0x72)])&&(_0x1a8a5d=_0x40fd49[_0x534e8a(0x86)][_0x534e8a(0x111)](_0x5c385c[_0x534e8a(0x72)])),_0x3dcee5=testOpsHelper[_0x534e8a(0x10a)](_0x1a8a5d);}if(helper[_0x534e8a(0xa9)](_0x3dcee5)){const _0x2cc0d7={};_0x2cc0d7[_0x534e8a(0xef)]=ignore,_0x2cc0d7[_0x534e8a(0x104)]=extension,_0x2cc0d7[_0x534e8a(0xe8)]=file,_0x2cc0d7[_0x534e8a(0xc2)]=recursive,_0x2cc0d7[_0x534e8a(0xa7)]=sort,_0x2cc0d7[_0x534e8a(0x148)]=spec,_0x3dcee5=_0x5c385c[_0x534e8a(0xf1)](collectFiles,_0x2cc0d7),_0x5c385c[_0x534e8a(0xad)](nestedKeyValue,_0x3dcee5,[_0x5c385c['WsLVM']])&&(_0x3dcee5=_0x3dcee5[_0x534e8a(0x159)]);}helper['markSDKSetupComplete']();if(!helper['isBrowserstackInfra']()){const _0x145f33=0x1,_0x76fc04={..._0x410d74};_0x76fc04['spec']=[..._0x3dcee5],_0x4c46bc[_0x534e8a(0x119)]({'mochaOpts':_0x76fc04,'configuration':{'platform':os['platform']()}}),logger[_0x534e8a(0xb6)](_0x5c385c[_0x534e8a(0xe3)]),logger['info'](_0x5c385c['OfqmO']),_0x5c385c[_0x534e8a(0xa4)](parallelTestRun,_0x4c46bc,_0x145f33,_0x40fd49)[_0x534e8a(0xd3)](_0x89bd83=>{const _0xf5a9c9=_0x534e8a;_0x5c385c[_0xf5a9c9(0x117)](printStats,_0x89bd83,_0x51c692[_0xf5a9c9(0x78)],_0x51c692['reporterOptions']||_0x51c692[_0x5c385c[_0xf5a9c9(0x15d)]]);})[_0x534e8a(0xc4)](()=>{const _0x2edef7=_0x534e8a;try{const {browserstackFolderPath:_0x1aa200,tcgConfigPath:_0x3a9177}=helper[_0x2edef7(0xa3)]();fs[_0x2edef7(0x9f)](_0x3a9177),fs[_0x2edef7(0xde)](_0x1aa200);}catch(_0x5a5bd2){logger[_0x2edef7(0x90)](_0x5c385c['VyzYs'],_0x5a5bd2);}try{utilities[_0x2edef7(0xf4)](_0x5c385c[_0x2edef7(0x97)],{},_0x40fd49[_0x2edef7(0x132)],_0x40fd49['framework']);}catch(_0x2627af){logger[_0x2edef7(0x90)](_0x2edef7(0x123)+_0x2627af);}try{helper['notifyUpdate']();}catch(_0x249545){logger[_0x2edef7(0x90)](_0x2edef7(0x15e)+_0x249545);}testOpsHelper[_0x2edef7(0x153)]();});}else{const _0x240629=helper['useW3C'](_0x40fd49[_0x534e8a(0x132)]),_0x193269=helper['getHubUrl'](_0x40fd49[_0x534e8a(0x132)]);_0x177003=helper[_0x534e8a(0xe2)](_0x40fd49[_0x534e8a(0x132)],_0x240629,constants[_0x534e8a(0xe6)][_0x534e8a(0x160)]);let _0x8b176f;const _0xeba953=_0x40fd49[_0x534e8a(0x132)][_0x534e8a(0xea)]||helper[_0x534e8a(0x157)](_0x51c692,_0x4b0017,_0x40fd49[_0x534e8a(0x132)],constants[_0x534e8a(0xe6)]['MOCHA'])||0x1;helper[_0x534e8a(0x11b)](_0x40fd49['config'])?_0x8b176f=_0x5c385c[_0x534e8a(0x12b)](_0x40fd49[_0x534e8a(0x132)][_0x534e8a(0x14f)]['length'],_0xeba953):_0x8b176f=_0xeba953;const _0xdb76ac=_0x5c385c['WLWPD'](getPercyOptions,_0x40fd49['config']);if(_0x5c385c[_0x534e8a(0x140)](_0x40fd49[_0x534e8a(0x132)][_0x534e8a(0xea)],0x1))_0x3dcee5[_0x534e8a(0xc3)](_0x4386d5=>{const _0x5f1cca=_0x534e8a,_0x6ad063=[];_0x177003[_0x5f1cca(0xc3)]((_0x193bb3,_0x211445)=>{const _0x3f440e=_0x5f1cca,_0xc8bb1e={};_0xc8bb1e[_0x3f440e(0x148)]=[_0x4386d5],_0x6ad063[_0x3f440e(0x119)]({'mochaOpts':Object[_0x3f440e(0xc0)]({},_0x410d74,_0xc8bb1e),'configuration':{'server':_0x193269,'capability':_0x193bb3,'proxySettings':_0x40fd49[_0x3f440e(0x132)]['proxySettings'],'platform':helper['getPlatformName'](_0x193bb3),'browserStackLogLevel':_0x40fd49[_0x3f440e(0x132)][_0x3f440e(0x127)],'platformIndex':_0x211445,'browserStackPercyOptions':_0xdb76ac,'platformCaps':_0x40fd49[_0x3f440e(0x132)][_0x3f440e(0x14f)][_0x211445]}});}),_0x4c46bc[_0x5f1cca(0x119)](..._0x6ad063);});else{const _0x322f91=[];_0x177003[_0x534e8a(0xc3)]((_0x2ee446,_0x314ac3)=>{const _0x1665c5=_0x534e8a;let _0x3d2073=Object['assign']({},_0x410d74);testOpsHelper[_0x1665c5(0x69)]()&&testOpsHelper[_0x1665c5(0xf7)]()&&(_0x3d2073={..._0x3d2073,'spec':[..._0x3dcee5]}),_0x322f91[_0x1665c5(0x119)]({'mochaOpts':_0x3d2073,'configuration':{'server':_0x193269,'capability':_0x2ee446,'proxySettings':_0x40fd49[_0x1665c5(0x132)][_0x1665c5(0xfb)],'platform':helper[_0x1665c5(0x139)](_0x2ee446),'browserStackLogLevel':_0x40fd49[_0x1665c5(0x132)][_0x1665c5(0x127)],'platformIndex':_0x314ac3,'browserStackPercyOptions':_0xdb76ac,'platformCaps':_0x40fd49['config'][_0x1665c5(0x14f)][_0x314ac3]}});}),_0x4c46bc['push'](..._0x322f91);}logger[_0x534e8a(0xb6)](_0x534e8a(0x155)+_0x40fd49[_0x534e8a(0x132)][_0x534e8a(0x14f)][_0x534e8a(0xf6)]+_0x534e8a(0x9b)),logger[_0x534e8a(0xb6)](_0x5c385c[_0x534e8a(0x162)]);let _0x1da472;_0x5c385c[_0x534e8a(0x117)](parallelTestRun,_0x4c46bc,_0x8b176f,_0x40fd49)[_0x534e8a(0xd3)](_0x504a9d=>{const _0x5e2188=_0x534e8a;_0x1da472=_0x504a9d,_0x5c385c[_0x5e2188(0x117)](printStats,_0x504a9d,_0x51c692[_0x5e2188(0x78)],_0x51c692['reporterOptions']||_0x51c692[_0x5c385c[_0x5e2188(0x15d)]]);})['finally'](async()=>{const _0x18600c=_0x534e8a;_0x40fd49[_0x18600c(0xbd)]=helper[_0x18600c(0x83)](_0x1da472,_0x5c385c[_0x18600c(0xbe)]),await utilities[_0x18600c(0x87)](_0x40fd49),testOpsHelper[_0x18600c(0x153)]();});}}function a28_0x5843(_0x34e8fc,_0x11ac50){const _0x3bff09=a28_0x3bff();return a28_0x5843=function(_0x584347,_0x1a0058){_0x584347=_0x584347-0x69;let _0x16d6f8=_0x3bff09[_0x584347];return _0x16d6f8;},a28_0x5843(_0x34e8fc,_0x11ac50);}module['exports']=run;