browserstack-node-sdk 1.34.3 → 1.34.5

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 -0
  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_0x5f6dff=a23_0x300c;function a23_0x393b(){const _0x587a13=['shutdown','20220NBXySK','.browserstack','retry','env','exports','nFDfL','37879164xJOyuo','readFileSync','testData.json','setup','getTestData','../../../helpers/helper','ZlLqD','fPVnS','rmSync','dirPath','parse','1647066KDquVu','ENV_VAR','_test','unlinkSync','UifTW','FlZsp','jest-o11y-','recursive','homedir','1294407nvPqRZ','9007960flDOSD','uuid','2201948weGVrT','existsSync','_projectId','join','force','../../../helpers/testhub/constants','EkKLf','toString','setTestUUID','21MeshYo','1008658RLETfU','25FpnSeU','writeFileSync','getFilePath','.json','getTestRunIdFromTestInfo','tests','removeTestUUID','BROWSERSTACK_TESTHUB_UUID','XwkEX','dusSt','getTestUUID','mkdirSync','path','doRSY'];a23_0x393b=function(){return _0x587a13;};return a23_0x393b();}(function(_0x2354e9,_0x3d6b73){const _0x1c542b=a23_0x300c,_0xb28cf0=_0x2354e9();while(!![]){try{const _0x477583=-parseInt(_0x1c542b(0xac))/0x1+-parseInt(_0x1c542b(0xa2))/0x2+parseInt(_0x1c542b(0x9f))/0x3+-parseInt(_0x1c542b(0x85))/0x4*(-parseInt(_0x1c542b(0xad))/0x5)+parseInt(_0x1c542b(0x96))/0x6*(-parseInt(_0x1c542b(0xab))/0x7)+-parseInt(_0x1c542b(0xa0))/0x8+parseInt(_0x1c542b(0x8b))/0x9;if(_0x477583===_0x3d6b73)break;else _0xb28cf0['push'](_0xb28cf0['shift']());}catch(_0x7e2f0b){_0xb28cf0['push'](_0xb28cf0['shift']());}}}(a23_0x393b,0x940ac));const fs=require('fs'),path=require(a23_0x5f6dff(0x82)),{v4:uuidv4}=require(a23_0x5f6dff(0xa1)),helper=require(a23_0x5f6dff(0x90)),testHubConstants=require(a23_0x5f6dff(0xa7));function a23_0x300c(_0x1eb31c,_0x171f5d){const _0x393b8b=a23_0x393b();return a23_0x300c=function(_0x300c06,_0x36fc1a){_0x300c06=_0x300c06-0x7b;let _0x28eec3=_0x393b8b[_0x300c06];return _0x28eec3;},a23_0x300c(_0x1eb31c,_0x171f5d);}class TestDetails{static [a23_0x5f6dff(0x7b)]={};static [a23_0x5f6dff(0x94)]=path[a23_0x5f6dff(0xa5)](helper[a23_0x5f6dff(0x9e)](),'.browserstack',a23_0x5f6dff(0x9c)+process[a23_0x5f6dff(0x88)][testHubConstants[a23_0x5f6dff(0x97)][a23_0x5f6dff(0x7d)]]);static[a23_0x5f6dff(0x8e)](){const _0x3a0a03=a23_0x5f6dff,_0x5df644={};_0x5df644[_0x3a0a03(0x91)]=_0x3a0a03(0x86);const _0x5559dc=_0x5df644;this[_0x3a0a03(0x94)]=path[_0x3a0a03(0xa5)](helper[_0x3a0a03(0x9e)](),_0x5559dc['ZlLqD'],_0x3a0a03(0x9c)+process[_0x3a0a03(0x88)][testHubConstants[_0x3a0a03(0x97)][_0x3a0a03(0x7d)]]),this[_0x3a0a03(0x84)]();const _0x1d3870={};_0x1d3870[_0x3a0a03(0x9d)]=!![],fs[_0x3a0a03(0x81)](this[_0x3a0a03(0x94)],_0x1d3870);}static[a23_0x5f6dff(0xaf)](_0x5ee275){const _0x24fe73=a23_0x5f6dff,_0x30e1f9={};_0x30e1f9[_0x24fe73(0xa8)]=function(_0x55f6dc,_0x298b91){return _0x55f6dc+_0x298b91;},_0x30e1f9[_0x24fe73(0x9b)]=_0x24fe73(0xb0);const _0x1eaff2=_0x30e1f9;return path[_0x24fe73(0xa5)](this[_0x24fe73(0x94)],_0x1eaff2['EkKLf'](_0x5ee275,_0x1eaff2[_0x24fe73(0x9b)]));}static[a23_0x5f6dff(0xb1)](_0x16f61e){const _0x51b5de=a23_0x5f6dff,_0x183f10={};_0x183f10[_0x51b5de(0x83)]=function(_0x5afdda,_0x201366){return _0x5afdda+_0x201366;},_0x183f10['XwkEX']=function(_0x51d968,_0x2d3142){return _0x51d968+_0x2d3142;},_0x183f10[_0x51b5de(0x9a)]=function(_0x596a29,_0x3718d8){return _0x596a29+_0x3718d8;},_0x183f10[_0x51b5de(0x8a)]=function(_0x3e861c,_0x5243e6){return _0x3e861c+_0x5243e6;};const _0x95c687=_0x183f10;return _0x95c687[_0x51b5de(0x83)](_0x95c687[_0x51b5de(0x7e)](_0x95c687[_0x51b5de(0x9a)](_0x95c687[_0x51b5de(0x8a)](_0x16f61e[_0x51b5de(0x98)][_0x51b5de(0xa4)],'-'),_0x16f61e[_0x51b5de(0x98)]['id']),'-'),_0x16f61e[_0x51b5de(0x87)]);}static[a23_0x5f6dff(0x80)](_0x174473){const _0x504f41=a23_0x5f6dff,_0x3e975e=this[_0x504f41(0xaf)](_0x174473);if(fs[_0x504f41(0xa3)](_0x3e975e)){const _0x52e413=JSON[_0x504f41(0x95)](fs[_0x504f41(0x8c)](_0x3e975e)[_0x504f41(0xa9)]());return this[_0x504f41(0x7b)][_0x174473]=_0x52e413,this[_0x504f41(0x7b)][_0x174473][_0x504f41(0xa1)];}}static['setTestData'](_0x45207c){const _0x4b668a=a23_0x5f6dff,_0x200092={};_0x200092['FGvCJ']=_0x4b668a(0x8d);const _0x122fa6=_0x200092,_0x46f5ff=path[_0x4b668a(0xa5)](this[_0x4b668a(0x94)],_0x122fa6['FGvCJ']);fs['writeFileSync'](_0x46f5ff,JSON['stringify'](_0x45207c));}static[a23_0x5f6dff(0x8f)](){const _0x522612=a23_0x5f6dff,_0x419ba8={};_0x419ba8[_0x522612(0x92)]='testData.json';const _0xdb7ef7=_0x419ba8,_0x44eb68=path['join'](this[_0x522612(0x94)],_0xdb7ef7[_0x522612(0x92)]);let _0x1c2c30={};try{return fs[_0x522612(0xa3)](_0x44eb68)&&(_0x1c2c30=JSON[_0x522612(0x95)](fs[_0x522612(0x8c)](_0x44eb68)[_0x522612(0xa9)]())),_0x1c2c30;}catch(_0x5984e6){return _0x1c2c30;}}static[a23_0x5f6dff(0xaa)](_0x2288fe){const _0x540740=a23_0x5f6dff,_0x927e1b={'dusSt':function(_0x517a2e){return _0x517a2e();}},_0x257eb4=this['getFilePath'](_0x2288fe);return this[_0x540740(0x7b)][_0x2288fe]={'uuid':_0x927e1b[_0x540740(0x7f)](uuidv4)},fs[_0x540740(0xae)](_0x257eb4,JSON['stringify'](this[_0x540740(0x7b)][_0x2288fe])),this['tests'][_0x2288fe][_0x540740(0xa1)];}static[a23_0x5f6dff(0x7c)](_0x3aa49b){const _0x558ed5=a23_0x5f6dff,_0x33cf22=this['getFilePath'](_0x3aa49b);fs['existsSync'](_0x33cf22)&&fs[_0x558ed5(0x99)](_0x33cf22);}static[a23_0x5f6dff(0x84)](){const _0x1a2af7=a23_0x5f6dff,_0x362c7c={};_0x362c7c[_0x1a2af7(0x9d)]=!![],_0x362c7c[_0x1a2af7(0xa6)]=!![],fs[_0x1a2af7(0x93)](this['dirPath'],_0x362c7c);}}module[a23_0x5f6dff(0x89)]=TestDetails;
1
+ function a23_0x21b3(_0x2fbba8,_0x3b5aba){const _0x457e24=a23_0x457e();return a23_0x21b3=function(_0x21b311,_0x14ce7e){_0x21b311=_0x21b311-0x1ba;let _0x2eee27=_0x457e24[_0x21b311];return _0x2eee27;},a23_0x21b3(_0x2fbba8,_0x3b5aba);}const a23_0x1d3433=a23_0x21b3;function a23_0x457e(){const _0x2a6f83=['testData.json','unlinkSync','parse','BROWSERSTACK_TESTHUB_UUID','rJEmj','ENV_VAR','dirPath','uuid','stringify','join','force','zMntD','33thRSpr','getTestUUID','existsSync','setup','nMuvk','cvHJD','_projectId','getTestData','mkdirSync','.json','env','368mOjkee','path','../../../helpers/helper','_test','removeTestUUID','writeFileSync','exports','20cNZxHN','2826950eukHNW','../../../helpers/testhub/constants','QnQPP','11317122SOCpfF','setTestData','shutdown','getFilePath','homedir','recursive','122521Vbseis','230595qAaDYd','setTestUUID','toString','4835286kUYQvN','335168cxUkuu','jest-o11y-','623332agZfrH','tests','LlhcT','.browserstack','Fmejv'];a23_0x457e=function(){return _0x2a6f83;};return a23_0x457e();}(function(_0x4ca29a,_0x1cb77e){const _0x3d0eba=a23_0x21b3,_0x329961=_0x4ca29a();while(!![]){try{const _0x38bf37=-parseInt(_0x3d0eba(0x1de))/0x1+-parseInt(_0x3d0eba(0x1e4))/0x2+parseInt(_0x3d0eba(0x1c1))/0x3*(-parseInt(_0x3d0eba(0x1e2))/0x4)+-parseInt(_0x3d0eba(0x1d4))/0x5+parseInt(_0x3d0eba(0x1e1))/0x6+-parseInt(_0x3d0eba(0x1dd))/0x7*(parseInt(_0x3d0eba(0x1cc))/0x8)+parseInt(_0x3d0eba(0x1d7))/0x9*(parseInt(_0x3d0eba(0x1d3))/0xa);if(_0x38bf37===_0x1cb77e)break;else _0x329961['push'](_0x329961['shift']());}catch(_0x3ca6cb){_0x329961['push'](_0x329961['shift']());}}}(a23_0x457e,0x76b98));const fs=require('fs'),path=require(a23_0x1d3433(0x1cd)),{v4:uuidv4}=require(a23_0x1d3433(0x1bc)),helper=require(a23_0x1d3433(0x1ce)),testHubConstants=require(a23_0x1d3433(0x1d5));class TestDetails{static [a23_0x1d3433(0x1e5)]={};static ['dirPath']=path[a23_0x1d3433(0x1be)](helper[a23_0x1d3433(0x1db)](),a23_0x1d3433(0x1e7),a23_0x1d3433(0x1e3)+process['env'][testHubConstants[a23_0x1d3433(0x1ba)][a23_0x1d3433(0x1ec)]]);static[a23_0x1d3433(0x1c4)](){const _0x5880ff=a23_0x1d3433,_0x505be5={};_0x505be5[_0x5880ff(0x1e6)]=_0x5880ff(0x1e7);const _0x407f3d=_0x505be5;this['dirPath']=path[_0x5880ff(0x1be)](helper[_0x5880ff(0x1db)](),_0x407f3d['LlhcT'],_0x5880ff(0x1e3)+process[_0x5880ff(0x1cb)][testHubConstants[_0x5880ff(0x1ba)][_0x5880ff(0x1ec)]]),this[_0x5880ff(0x1d9)]();const _0x203104={};_0x203104[_0x5880ff(0x1dc)]=!![],fs[_0x5880ff(0x1c9)](this['dirPath'],_0x203104);}static[a23_0x1d3433(0x1da)](_0x14b8a){const _0x324cab=a23_0x1d3433,_0x333751={};_0x333751['rJEmj']=function(_0x32e006,_0x50f077){return _0x32e006+_0x50f077;},_0x333751[_0x324cab(0x1d6)]=_0x324cab(0x1ca);const _0x9c60f5=_0x333751;return path[_0x324cab(0x1be)](this['dirPath'],_0x9c60f5[_0x324cab(0x1ed)](_0x14b8a,_0x9c60f5['QnQPP']));}static['getTestRunIdFromTestInfo'](_0xf6b174){const _0x123793=a23_0x1d3433,_0x431f09={};_0x431f09[_0x123793(0x1e8)]=function(_0x4f4192,_0x4c517e){return _0x4f4192+_0x4c517e;},_0x431f09[_0x123793(0x1c6)]=function(_0x19a130,_0x5d19ee){return _0x19a130+_0x5d19ee;};const _0x31e9f4=_0x431f09;return _0x31e9f4[_0x123793(0x1e8)](_0x31e9f4['Fmejv'](_0x31e9f4[_0x123793(0x1e8)](_0x31e9f4[_0x123793(0x1c6)](_0xf6b174[_0x123793(0x1cf)][_0x123793(0x1c7)],'-'),_0xf6b174[_0x123793(0x1cf)]['id']),'-'),_0xf6b174['retry']);}static[a23_0x1d3433(0x1c2)](_0x749c4d){const _0x150e5f=a23_0x1d3433,_0x25f7af=this[_0x150e5f(0x1da)](_0x749c4d);if(fs[_0x150e5f(0x1c3)](_0x25f7af)){const _0x48a3d8=JSON[_0x150e5f(0x1eb)](fs['readFileSync'](_0x25f7af)[_0x150e5f(0x1e0)]());return this['tests'][_0x749c4d]=_0x48a3d8,this[_0x150e5f(0x1e5)][_0x749c4d]['uuid'];}}static[a23_0x1d3433(0x1d8)](_0x61c98f){const _0xcaa0de=a23_0x1d3433,_0x1ac90c={};_0x1ac90c['zMntD']=_0xcaa0de(0x1e9);const _0x1f9e82=_0x1ac90c,_0x544707=path[_0xcaa0de(0x1be)](this['dirPath'],_0x1f9e82[_0xcaa0de(0x1c0)]);fs[_0xcaa0de(0x1d1)](_0x544707,JSON['stringify'](_0x61c98f));}static[a23_0x1d3433(0x1c8)](){const _0x548c48=a23_0x1d3433,_0x18e81c={};_0x18e81c[_0x548c48(0x1c5)]=_0x548c48(0x1e9);const _0x5d793f=_0x18e81c,_0x5cba7f=path[_0x548c48(0x1be)](this[_0x548c48(0x1bb)],_0x5d793f[_0x548c48(0x1c5)]);let _0x1f1cd0={};try{return fs[_0x548c48(0x1c3)](_0x5cba7f)&&(_0x1f1cd0=JSON[_0x548c48(0x1eb)](fs['readFileSync'](_0x5cba7f)[_0x548c48(0x1e0)]())),_0x1f1cd0;}catch(_0x2a48bf){return _0x1f1cd0;}}static[a23_0x1d3433(0x1df)](_0x1b3fd9){const _0x449e86=a23_0x1d3433,_0x59b104={'axeqx':function(_0x22be37){return _0x22be37();}},_0x33af1b=this[_0x449e86(0x1da)](_0x1b3fd9);return this['tests'][_0x1b3fd9]={'uuid':_0x59b104['axeqx'](uuidv4)},fs[_0x449e86(0x1d1)](_0x33af1b,JSON[_0x449e86(0x1bd)](this[_0x449e86(0x1e5)][_0x1b3fd9])),this['tests'][_0x1b3fd9]['uuid'];}static[a23_0x1d3433(0x1d0)](_0x15de5e){const _0xf00718=a23_0x1d3433,_0x41cf73=this[_0xf00718(0x1da)](_0x15de5e);fs[_0xf00718(0x1c3)](_0x41cf73)&&fs[_0xf00718(0x1ea)](_0x41cf73);}static[a23_0x1d3433(0x1d9)](){const _0x10e5e1=a23_0x1d3433,_0x5b5447={};_0x5b5447[_0x10e5e1(0x1dc)]=!![],_0x5b5447[_0x10e5e1(0x1bf)]=!![],fs['rmSync'](this[_0x10e5e1(0x1bb)],_0x5b5447);}}module[a23_0x1d3433(0x1d2)]=TestDetails;
@@ -1 +1 @@
1
- const a24_0x3ca730=a24_0x270f;(function(_0x4be7e6,_0x398983){const _0x4e0fa3=a24_0x270f,_0x1a162d=_0x4be7e6();while(!![]){try{const _0x2300d1=-parseInt(_0x4e0fa3(0x172))/0x1+-parseInt(_0x4e0fa3(0x176))/0x2+parseInt(_0x4e0fa3(0x174))/0x3+parseInt(_0x4e0fa3(0x175))/0x4+-parseInt(_0x4e0fa3(0x179))/0x5*(-parseInt(_0x4e0fa3(0x17e))/0x6)+-parseInt(_0x4e0fa3(0x178))/0x7+parseInt(_0x4e0fa3(0x17b))/0x8;if(_0x2300d1===_0x398983)break;else _0x1a162d['push'](_0x1a162d['shift']());}catch(_0x1fd57b){_0x1a162d['push'](_0x1a162d['shift']());}}}(a24_0x3b7b,0x5dc0a));const {requireModule}=require(a24_0x3ca730(0x173));require(a24_0x3ca730(0x17c))();function a24_0x3b7b(){const _0x3b4f2d=['965108xRaMAU','889410NvhDAa','keys','424333sRXRfV','5igFjWu','selenium-webdriver','6043080SidHHe','../../helpers/setKeepAlive','__webdriver','1405428TwLIYQ','648059jscxYK','../../helpers/helper','919479bqkLyK'];a24_0x3b7b=function(){return _0x3b4f2d;};return a24_0x3b7b();}const __wd__=requireModule(a24_0x3ca730(0x17a));function a24_0x270f(_0x42e456,_0x3f0fc6){const _0x3b7b95=a24_0x3b7b();return a24_0x270f=function(_0x270fd7,_0x2746f0){_0x270fd7=_0x270fd7-0x172;let _0x585179=_0x3b7b95[_0x270fd7];return _0x585179;},a24_0x270f(_0x42e456,_0x3f0fc6);}for(const key of Object[a24_0x3ca730(0x177)](global[a24_0x3ca730(0x17d)])){__wd__[key]=global['__webdriver'][key];}
1
+ const a24_0x4a07fb=a24_0x5c92;(function(_0x3fdcb0,_0x41fa88){const _0x321212=a24_0x5c92,_0x369ded=_0x3fdcb0();while(!![]){try{const _0x1565bc=-parseInt(_0x321212(0x1cb))/0x1*(parseInt(_0x321212(0x1c6))/0x2)+-parseInt(_0x321212(0x1c9))/0x3+-parseInt(_0x321212(0x1c7))/0x4*(parseInt(_0x321212(0x1c8))/0x5)+parseInt(_0x321212(0x1d1))/0x6+parseInt(_0x321212(0x1d2))/0x7+-parseInt(_0x321212(0x1cc))/0x8+parseInt(_0x321212(0x1cd))/0x9;if(_0x1565bc===_0x41fa88)break;else _0x369ded['push'](_0x369ded['shift']());}catch(_0x498d40){_0x369ded['push'](_0x369ded['shift']());}}}(a24_0xd8db,0xedada));const {requireModule}=require(a24_0x4a07fb(0x1cf));function a24_0x5c92(_0x309c89,_0x6d1388){const _0xd8dbd7=a24_0xd8db();return a24_0x5c92=function(_0x5c929a,_0x4a81c4){_0x5c929a=_0x5c929a-0x1c5;let _0x597b32=_0xd8dbd7[_0x5c929a];return _0x597b32;},a24_0x5c92(_0x309c89,_0x6d1388);}require(a24_0x4a07fb(0x1ce))();const __wd__=requireModule(a24_0x4a07fb(0x1c5));for(const key of Object[a24_0x4a07fb(0x1d0)](global[a24_0x4a07fb(0x1ca)])){__wd__[key]=global['__webdriver'][key];}function a24_0xd8db(){const _0x50ab75=['selenium-webdriver','1302jgELbi','4AhpfNK','6185295fRzKAG','3288609HeiawD','__webdriver','1042vSWcBB','636856mDOxyU','24497442PXbCpl','../../helpers/setKeepAlive','../../helpers/helper','keys','6850488wroSAl','1407385tNqmNg'];a24_0xd8db=function(){return _0x50ab75;};return a24_0xd8db();}
@@ -1 +1 @@
1
- function a25_0x4050(){const _0x4484a3=['3212340PLeYpl','_accessibilityAutomation','dbYuX','../../helpers/test-observability/requestQueueHandler','2tRdqhc','_testObservability','BzOVk','2463caNYXs','157723jGklLS','platform','_framework','25917560roOnTa','totalTests','_formatter','resolvePaths','9XGpDMH','testsPending','_capability','_argv','framework','../../helpers/test-observability/utils','__platform__','testsAmbiguous','testSuitesFailed','_configuration','3611192lRdRyN','__platformCaps','platformCaps','setConfig','185715xDDkvm','testsPassed','capability','_mochaOpts','../utils/constants','testsUndefined','5432hxbMPl','NMnic','testsUnknown','split','16|7|20|6|24|19|3|0|10|2|5|11|21|12|17|22|14|1|15|18|13|9|23|8|4','testsErrorMessage','../../helpers/ai-sdk/autoHealHelper','configuration','_bsConfig','../../helpers/helper','2146368XcvdQl'];a25_0x4050=function(){return _0x4484a3;};return a25_0x4050();}function a25_0x1332(_0x128767,_0x52d6a6){const _0x40509e=a25_0x4050();return a25_0x1332=function(_0x133231,_0x346023){_0x133231=_0x133231-0x12f;let _0x58c116=_0x40509e[_0x133231];return _0x58c116;},a25_0x1332(_0x128767,_0x52d6a6);}const a25_0x5eb841=a25_0x1332;(function(_0x5e88e0,_0x36a984){const _0x29db53=a25_0x1332,_0x5422d6=_0x5e88e0();while(!![]){try{const _0x4fddbd=-parseInt(_0x29db53(0x148))/0x1*(parseInt(_0x29db53(0x144))/0x2)+-parseInt(_0x29db53(0x147))/0x3*(parseInt(_0x29db53(0x135))/0x4)+parseInt(_0x29db53(0x12f))/0x5+-parseInt(_0x29db53(0x140))/0x6+parseInt(_0x29db53(0x13f))/0x7+-parseInt(_0x29db53(0x159))/0x8+-parseInt(_0x29db53(0x14f))/0x9*(-parseInt(_0x29db53(0x14b))/0xa);if(_0x4fddbd===_0x36a984)break;else _0x5422d6['push'](_0x5422d6['shift']());}catch(_0x23b15d){_0x5422d6['push'](_0x5422d6['shift']());}}}(a25_0x4050,0xa50fd));const path=require('path'),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require('../../helpers/helper'),constants=require(a25_0x5eb841(0x133)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require(a25_0x5eb841(0x143)),{isTestObservabilitySession}=require(a25_0x5eb841(0x154)),helper=require(a25_0x5eb841(0x13e)),{commandRepository}=require(a25_0x5eb841(0x13b));class Launcher{constructor(_0x2deb77,_0x13b4b8,_0x17b037,_0x46fe7e=[]){const _0xc107be=a25_0x5eb841,_0x4cce5f={'dbYuX':_0xc107be(0x139),'BzOVk':function(_0x6e5ff6){return _0x6e5ff6();},'NMnic':function(_0x5bac87){return _0x5bac87();}},_0x274255=_0x4cce5f[_0xc107be(0x142)][_0xc107be(0x138)]('|');let _0x5d3e01=0x0;while(!![]){switch(_0x274255[_0x5d3e01++]){case'0':this[_0xc107be(0x152)]=_0x46fe7e;continue;case'1':global['testsSkipped']=0x0;continue;case'2':this[_0xc107be(0x145)]=_0x4cce5f[_0xc107be(0x146)](isTestObservabilitySession);continue;case'3':global[_0xc107be(0x155)]=this[_0xc107be(0x158)][_0xc107be(0x149)];continue;case'4':commandRepository['setFramework'](_0x2deb77);continue;case'5':this[_0xc107be(0x141)]=_0x4cce5f[_0xc107be(0x136)](isAccessibilityAutomationSession);continue;case'6':this[_0xc107be(0x132)]=_0x13b4b8['mochaOpts'];continue;case'7':this['_configuration']=_0x13b4b8[_0xc107be(0x13c)]||{};continue;case'8':commandRepository[_0xc107be(0x15c)](_0x17b037);continue;case'9':global[_0xc107be(0x156)]=0x0;continue;case'10':this[_0xc107be(0x13d)]=_0x17b037;continue;case'11':global[_0xc107be(0x15a)]=this[_0xc107be(0x158)][_0xc107be(0x15b)]||{};continue;case'12':global[_0xc107be(0x14c)]=0x0;continue;case'13':global[_0xc107be(0x137)]=0x0;continue;case'14':global[_0xc107be(0x150)]=0x0;continue;case'15':global[_0xc107be(0x157)]=0x0;continue;case'16':this[_0xc107be(0x14a)]=_0x2deb77;continue;case'17':global[_0xc107be(0x130)]=0x0;continue;case'18':global[_0xc107be(0x134)]=0x0;continue;case'19':this[_0xc107be(0x151)]=this[_0xc107be(0x158)][_0xc107be(0x131)];continue;case'20':this[_0xc107be(0x158)][_0xc107be(0x153)]=_0x2deb77;continue;case'21':global['testSuites']=0x0;continue;case'22':global['testsFailed']=0x0;continue;case'23':global[_0xc107be(0x13a)]={};continue;case'24':this[_0xc107be(0x14d)]=_0x13b4b8['formatter'];continue;}break;}}['setupCucumber'](_0x5ea1da,_0x574918,_0x20ffcb){const _0xe9add3=a25_0x5eb841,_0x3be466=_0x5ea1da[_0xe9add3(0x14e)];_0x5ea1da.resolvePaths=async function(){const pathResults=await _0x3be466.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x20ffcb));return pathResults;},_0x574918.push('--format'),_0x574918.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(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};resolve(_results);}).catch(er=>{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_0x33b0fb=a25_0x2757;function a25_0x2757(_0x1db66d,_0x5170e5){const _0x54fdcd=a25_0x54fd();return a25_0x2757=function(_0x2757fb,_0x431d7e){_0x2757fb=_0x2757fb-0x6e;let _0x355ae0=_0x54fdcd[_0x2757fb];return _0x355ae0;},a25_0x2757(_0x1db66d,_0x5170e5);}(function(_0xd5bb97,_0x2a1523){const _0x5c1687=a25_0x2757,_0x2b6a2c=_0xd5bb97();while(!![]){try{const _0x5981e3=parseInt(_0x5c1687(0x77))/0x1*(-parseInt(_0x5c1687(0x84))/0x2)+-parseInt(_0x5c1687(0x93))/0x3*(parseInt(_0x5c1687(0x8b))/0x4)+parseInt(_0x5c1687(0x96))/0x5+parseInt(_0x5c1687(0x76))/0x6+-parseInt(_0x5c1687(0x87))/0x7+parseInt(_0x5c1687(0x7b))/0x8+-parseInt(_0x5c1687(0x7d))/0x9*(parseInt(_0x5c1687(0x6e))/0xa);if(_0x5981e3===_0x2a1523)break;else _0x2b6a2c['push'](_0x2b6a2c['shift']());}catch(_0x4d9e8a){_0x2b6a2c['push'](_0x2b6a2c['shift']());}}}(a25_0x54fd,0x99a04));const path=require('path'),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x33b0fb(0x7f)),constants=require(a25_0x33b0fb(0x74)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{isTestObservabilitySession}=require(a25_0x33b0fb(0x92)),helper=require(a25_0x33b0fb(0x7f)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper');class Launcher{constructor(_0x4842a5,_0x58d846,_0x2f0354,_0x3a621e=[]){const _0x54a720=a25_0x33b0fb,_0x22d5f4={'uCZTG':_0x54a720(0x83),'AXwpf':function(_0x33c758){return _0x33c758();}},_0x373066=_0x22d5f4[_0x54a720(0x73)][_0x54a720(0x82)]('|');let _0x5d9b74=0x0;while(!![]){switch(_0x373066[_0x5d9b74++]){case'0':commandRepository[_0x54a720(0x78)](_0x2f0354);continue;case'1':this[_0x54a720(0x8f)]=_0x22d5f4['AXwpf'](isAccessibilityAutomationSession);continue;case'2':commandRepository[_0x54a720(0x72)](_0x4842a5);continue;case'3':this[_0x54a720(0x7c)]=this[_0x54a720(0x8c)][_0x54a720(0x89)];continue;case'4':global[_0x54a720(0x8d)]=0x0;continue;case'5':global[_0x54a720(0x6f)]=0x0;continue;case'6':this['_configuration']=_0x58d846[_0x54a720(0x91)]||{};continue;case'7':this[_0x54a720(0x94)]=_0x22d5f4[_0x54a720(0x88)](isTestObservabilitySession);continue;case'8':global[_0x54a720(0x8a)]=0x0;continue;case'9':global['testsSkipped']=0x0;continue;case'10':global[_0x54a720(0x75)]=this[_0x54a720(0x8c)][_0x54a720(0x80)];continue;case'11':global[_0x54a720(0x81)]=0x0;continue;case'12':this['_argv']=_0x3a621e;continue;case'13':global[_0x54a720(0x85)]=0x0;continue;case'14':global['testsPending']=0x0;continue;case'15':this[_0x54a720(0x8c)]['framework']=_0x4842a5;continue;case'16':global[_0x54a720(0x79)]={};continue;case'17':this[_0x54a720(0x95)]=_0x58d846[_0x54a720(0x7a)];continue;case'18':global['testSuitesFailed']=0x0;continue;case'19':global[_0x54a720(0x90)]=0x0;continue;case'20':global[_0x54a720(0x8e)]=0x0;continue;case'21':global[_0x54a720(0x7e)]=this[_0x54a720(0x8c)][_0x54a720(0x70)]||{};continue;case'22':this[_0x54a720(0x97)]=_0x58d846[_0x54a720(0x71)];continue;case'23':this['_bsConfig']=_0x2f0354;continue;case'24':this[_0x54a720(0x86)]=_0x4842a5;continue;}break;}}['setupCucumber'](_0xf02acc,_0x2e8b4e,_0x3156b9){const _0xeec3c0=_0xf02acc['resolvePaths'];_0xf02acc.resolvePaths=async function(){const pathResults=await _0xeec3c0.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x3156b9));return pathResults;},_0x2e8b4e.push('--format'),_0x2e8b4e.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(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};resolve(_results);}).catch(er=>{reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}function a25_0x54fd(){const _0x3b5d03=['configuration','../../helpers/test-observability/utils','78IRPDjA','_testObservability','_mochaOpts','3903785ZuyHJb','_formatter','50kaWDnH','testsAmbiguous','platformCaps','formatter','setFramework','uCZTG','../utils/constants','__platform__','3342348rdrMLW','951zEFejU','setConfig','testsErrorMessage','mochaOpts','9303176qECqHZ','_capability','11574awGjyF','__platformCaps','../../helpers/helper','platform','testsPassed','split','24|6|15|17|22|3|10|12|23|7|1|21|19|4|11|8|14|9|18|20|13|5|16|0|2','554NbujNK','testsUnknown','_framework','6671595WVxKAZ','AXwpf','capability','testsFailed','99772GOKITU','_configuration','totalTests','testsUndefined','_accessibilityAutomation','testSuites'];a25_0x54fd=function(){return _0x3b5d03;};return a25_0x54fd();}module.exports=Launcher;
@@ -1 +1 @@
1
- function a26_0x1771(_0x3e34a3,_0xd75bb8){const _0x326a6e=a26_0x326a();return a26_0x1771=function(_0x1771f9,_0x4b9f58){_0x1771f9=_0x1771f9-0x136;let _0x5091e8=_0x326a6e[_0x1771f9];return _0x5091e8;},a26_0x1771(_0x3e34a3,_0xd75bb8);}const a26_0x51fc5=a26_0x1771;function a26_0x326a(){const _0x15958f=['kfwdL','MWSHi','includes','180362IODJBy','bwCLe','setExtension','Options','accessibility','HoeFP','deUuU','lgxpW','args','BS_A11Y_JWT','authToken','deviceName','scannerVersion','capability','6ytzHVf','3230UfKQzi','toLowerCase','HvEIm','Exception\x20in\x20setExtension\x20Error:\x20','BzGnA','730025ukeINL','6160RRTccD','NjVVI','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','getBrowserVersion','xOCFa','88umrHFX','eZhtZ','cmmyA','JkDRT','browserVersion','338408EPRKsS','--headless','warn','12NhJCEm','1822ltnVyw','options_','65PuSRxu','selenium-webdriver/chrome.js','device','format','path','parse','chromeOptions_','browserstack.accessibility','isUndefined','env','nestedKeyValue','oMigp','setAccessibilityCapabilities','setGlobal','requireModule','fetchPlatformDetails','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','dbHRK','Sawhf','1928997rzLlfA','winstonLogger','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','../../../helpers/globals','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','capabilities_','isAccessibilityPlatform','browserstack','18GXGzVi','get','accessibilityOptions','getBrowserName','zKBdy','WvNHN','1587948btkUeV','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','chromeOptions','browserName','OUBRX','QkcQi','debug','util','bstack:options'];a26_0x326a=function(){return _0x15958f;};return a26_0x326a();}(function(_0x27c826,_0x24958e){const _0x4681fc=a26_0x1771,_0xa97a00=_0x27c826();while(!![]){try{const _0x37f5c5=-parseInt(_0x4681fc(0x150))/0x1*(parseInt(_0x4681fc(0x185))/0x2)+parseInt(_0x4681fc(0x184))/0x3*(parseInt(_0x4681fc(0x181))/0x4)+parseInt(_0x4681fc(0x176))/0x5*(-parseInt(_0x4681fc(0x170))/0x6)+parseInt(_0x4681fc(0x162))/0x7*(parseInt(_0x4681fc(0x17c))/0x8)+parseInt(_0x4681fc(0x148))/0x9+parseInt(_0x4681fc(0x171))/0xa*(parseInt(_0x4681fc(0x177))/0xb)+parseInt(_0x4681fc(0x156))/0xc*(-parseInt(_0x4681fc(0x187))/0xd);if(_0x37f5c5===_0x24958e)break;else _0xa97a00['push'](_0xa97a00['shift']());}catch(_0x1659d2){_0xa97a00['push'](_0xa97a00['shift']());}}}(a26_0x326a,0x2f1e7));const path=require(a26_0x51fc5(0x139)),os=require('os'),util=require(a26_0x51fc5(0x15d)),bsSetupHelper=require('../../../helpers/helper'),globals=require(a26_0x51fc5(0x14b)),logger=require('../../../helpers/logger')[a26_0x51fc5(0x149)];exports[a26_0x51fc5(0x141)]=_0x5e2168=>{const _0x37e831=a26_0x51fc5,_0x104650={};_0x104650[_0x37e831(0x178)]=_0x37e831(0x15e),_0x104650[_0x37e831(0x173)]=_0x37e831(0x13c),_0x104650[_0x37e831(0x163)]=_0x37e831(0x14e),_0x104650[_0x37e831(0x15b)]='browserstack.accessibilityOptions';const _0x3e587f=_0x104650;try{const _0x242a27=_0x5e2168[_0x37e831(0x16f)]||{};if(_0x242a27[_0x3e587f[_0x37e831(0x178)]]&&_0x242a27[_0x3e587f[_0x37e831(0x178)]][_0x37e831(0x166)]||_0x5e2168['capability'][_0x3e587f[_0x37e831(0x173)]]){globals[_0x37e831(0x142)](_0x3e587f[_0x37e831(0x163)],!![]);if(_0x242a27[_0x3e587f[_0x37e831(0x178)]]){if(_0x242a27[_0x3e587f[_0x37e831(0x178)]]['accessibilityOptions'])_0x242a27[_0x3e587f[_0x37e831(0x178)]]['accessibilityOptions'][_0x37e831(0x16c)]=process[_0x37e831(0x13e)]['BS_A11Y_JWT'];else{const _0x56a0ac={};_0x56a0ac[_0x37e831(0x16c)]=process[_0x37e831(0x13e)][_0x37e831(0x16b)],_0x242a27[_0x3e587f['NjVVI']][_0x37e831(0x152)]=_0x56a0ac;}_0x242a27[_0x3e587f[_0x37e831(0x178)]][_0x37e831(0x152)][_0x37e831(0x16e)]=JSON[_0x37e831(0x13a)](process[_0x37e831(0x13e)][_0x37e831(0x145)])[_0x37e831(0x16e)];}else{if(_0x5e2168['capability'][_0x3e587f[_0x37e831(0x173)]]){if(_0x242a27[_0x3e587f[_0x37e831(0x15b)]])_0x242a27[_0x3e587f[_0x37e831(0x15b)]]['authToken']=process[_0x37e831(0x13e)][_0x37e831(0x16b)];else{const _0x311b30={};_0x311b30['authToken']=process[_0x37e831(0x13e)][_0x37e831(0x16b)],_0x242a27[_0x3e587f['QkcQi']]=_0x311b30;}_0x242a27[_0x3e587f['QkcQi']]['scannerVersion']=JSON[_0x37e831(0x13a)](process[_0x37e831(0x13e)][_0x37e831(0x145)])[_0x37e831(0x16e)];}}}}catch(_0x372e8f){logger[_0x37e831(0x15c)](_0x37e831(0x14c)+_0x372e8f);}},exports[a26_0x51fc5(0x164)]=(_0x2a6d4e,_0x3a116d)=>{const _0x29c60b=a26_0x51fc5,_0x413905={};_0x413905[_0x29c60b(0x17f)]=_0x29c60b(0x15e),_0x413905[_0x29c60b(0x17d)]=function(_0x19c519,_0x4f982c){return _0x19c519!==_0x4f982c;},_0x413905[_0x29c60b(0x140)]=_0x29c60b(0x14a),_0x413905[_0x29c60b(0x155)]=function(_0x1b5772,_0x536c60){return _0x1b5772!==_0x536c60;},_0x413905[_0x29c60b(0x146)]='chrome',_0x413905[_0x29c60b(0x169)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.',_0x413905[_0x29c60b(0x168)]=function(_0x1442a0,_0x2e11d1){return _0x1442a0===_0x2e11d1;},_0x413905['MWSHi']='latest',_0x413905[_0x29c60b(0x17e)]=function(_0x5150e1,_0xb0f98d){return _0x5150e1>_0xb0f98d;},_0x413905[_0x29c60b(0x147)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.',_0x413905['HoeFP']=_0x29c60b(0x136),_0x413905[_0x29c60b(0x15a)]=_0x29c60b(0x186),_0x413905[_0x29c60b(0x15f)]=_0x29c60b(0x16a),_0x413905[_0x29c60b(0x154)]=_0x29c60b(0x158),_0x413905['KOlgB']=_0x29c60b(0x182),_0x413905[_0x29c60b(0x175)]=_0x29c60b(0x157);const _0x5ded05=_0x413905;try{const _0x4355b6=_0x3a116d[_0x29c60b(0x16f)]||{},_0x32344a=(_0x4355b6[_0x5ded05['JkDRT']]?_0x4355b6[_0x5ded05[_0x29c60b(0x17f)]][_0x29c60b(0x16d)]:_0x4355b6[_0x29c60b(0x137)])||'';if(_0x5ded05[_0x29c60b(0x17d)](_0x32344a,''))return logger[_0x29c60b(0x183)](_0x5ded05[_0x29c60b(0x140)]),![];const _0x118a9b=_0x4355b6[_0x29c60b(0x159)]||_0x2a6d4e[_0x29c60b(0x14d)][_0x29c60b(0x153)]();if(_0x5ded05[_0x29c60b(0x155)](_0x118a9b[_0x29c60b(0x172)](),_0x5ded05['dbHRK']))return logger['warn'](_0x5ded05[_0x29c60b(0x169)]),![];const _0xb40b02=_0x4355b6[_0x29c60b(0x180)]||_0x4355b6['browser_version']||_0x2a6d4e[_0x29c60b(0x14d)][_0x29c60b(0x17a)]();if(!bsSetupHelper[_0x29c60b(0x13d)](_0xb40b02)&&!(_0x5ded05[_0x29c60b(0x168)](_0xb40b02,_0x5ded05[_0x29c60b(0x160)])||_0x5ded05[_0x29c60b(0x17e)](_0xb40b02,0x5e)))return logger['warn'](_0x5ded05[_0x29c60b(0x147)]),![];let _0x46c44c;try{_0x46c44c=bsSetupHelper[_0x29c60b(0x143)](_0x5ded05[_0x29c60b(0x167)]);}catch(_0x23ae19){return![];}const _0x578772=new _0x46c44c[(_0x29c60b(0x165))](_0x2a6d4e[_0x29c60b(0x13b)]),_0x101f5a=bsSetupHelper[_0x29c60b(0x13f)](_0x578772,[_0x5ded05['OUBRX'],_0x5ded05['kfwdL']])||bsSetupHelper[_0x29c60b(0x13f)](_0x2a6d4e[_0x29c60b(0x14d)][_0x29c60b(0x151)](_0x5ded05[_0x29c60b(0x17f)]),[_0x5ded05[_0x29c60b(0x154)],_0x5ded05[_0x29c60b(0x15f)]])||bsSetupHelper[_0x29c60b(0x13f)](_0x2a6d4e[_0x29c60b(0x14d)]['get'](_0x5ded05[_0x29c60b(0x154)]),[_0x5ded05[_0x29c60b(0x15f)]])||[];if(_0x101f5a[_0x29c60b(0x161)](_0x5ded05['KOlgB']))return logger[_0x29c60b(0x183)](_0x5ded05[_0x29c60b(0x175)]),![];return!![];}catch(_0x4bfb5b){logger[_0x29c60b(0x15c)](_0x29c60b(0x174)+util[_0x29c60b(0x138)](_0x4bfb5b));}return![];},exports[a26_0x51fc5(0x144)]=async _0xde6cae=>{const _0x38cfdc=a26_0x51fc5,_0x2c0619={};_0x2c0619['CxBkq']=function(_0x789d5d,_0x262eda){return _0x789d5d===_0x262eda;},_0x2c0619[_0x38cfdc(0x17b)]=_0x38cfdc(0x14f);const _0xa96997=_0x2c0619;let _0x2eb1dc={};try{const _0x20e0b9=await _0xde6cae['getCapabilities']();_0x2eb1dc={'os_name':_0x20e0b9['getPlatform'](),'os_version':bsSetupHelper['getPlatformVersion'](_0xa96997['CxBkq'](global['__cloud_provider___'],_0xa96997[_0x38cfdc(0x17b)])),'browser_name':_0x20e0b9[_0x38cfdc(0x153)](),'browser_version':_0x20e0b9[_0x38cfdc(0x17a)]()};}catch(_0x5b3e8f){logger[_0x38cfdc(0x15c)](_0x38cfdc(0x179)+_0x5b3e8f);}return _0x2eb1dc;};
1
+ function a26_0x5106(){const _0x264797=['util','browserstack','path','browserVersion','accessibilityOptions','352212ENojgu','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','378088iIfVij','hfREr','accessibility','UIwQn','WZIYm','getCapabilities','GxgMU','yjXVQ','toLowerCase','2161254ZDPSOa','fetchPlatformDetails','isAccessibilityPlatform','lHfeg','capabilities_','23CjJtwx','fozId','debug','../../../helpers/logger','bstack:options','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','warn','deviceName','2673345aRQGBq','6QfweiJ','14MCxNjT','__cloud_provider___','setExtension','Exception\x20in\x20setExtension\x20Error:\x20','parse','authToken','getPlatform','setAccessibilityCapabilities','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','chromeOptions_','device','70854fwdIJf','gmgfE','getPlatformVersion','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','kBksf','requireModule','fKpDt','format','getBrowserName','selenium-webdriver/chrome.js','setGlobal','browserName','iXdYK','oWhBN','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','args','BS_A11Y_JWT','browser_version','capability','oWxhK','chrome','ySTlj','TcXdo','browserstack.accessibilityOptions','HtUzn','../../../helpers/helper','../../../helpers/globals','--headless','DYTCy','nestedKeyValue','tvqtQ','Options','jcEHi','browserstack.accessibility','4812516mNnVUw','latest','env','11998080mrwzHq','scannerVersion','get'];a26_0x5106=function(){return _0x264797;};return a26_0x5106();}const a26_0x11b470=a26_0x2557;(function(_0x26beeb,_0x1041cd){const _0x487a45=a26_0x2557,_0x17e633=_0x26beeb();while(!![]){try{const _0x5c2149=-parseInt(_0x487a45(0xa1))/0x1*(parseInt(_0x487a45(0xb6))/0x2)+parseInt(_0x487a45(0xaa))/0x3*(-parseInt(_0x487a45(0x91))/0x4)+parseInt(_0x487a45(0xa9))/0x5+parseInt(_0x487a45(0x9c))/0x6+parseInt(_0x487a45(0xab))/0x7*(parseInt(_0x487a45(0x93))/0x8)+-parseInt(_0x487a45(0x86))/0x9+parseInt(_0x487a45(0x89))/0xa;if(_0x5c2149===_0x1041cd)break;else _0x17e633['push'](_0x17e633['shift']());}catch(_0x46d803){_0x17e633['push'](_0x17e633['shift']());}}}(a26_0x5106,0xa2005));function a26_0x2557(_0x2be113,_0x26896b){const _0x510669=a26_0x5106();return a26_0x2557=function(_0x2557cf,_0x4f1a39){_0x2557cf=_0x2557cf-0x68;let _0x51e28b=_0x510669[_0x2557cf];return _0x51e28b;},a26_0x2557(_0x2be113,_0x26896b);}const path=require(a26_0x11b470(0x8e)),os=require('os'),util=require(a26_0x11b470(0x8c)),bsSetupHelper=require(a26_0x11b470(0x7d)),globals=require(a26_0x11b470(0x7e)),logger=require(a26_0x11b470(0xa4))['winstonLogger'];exports[a26_0x11b470(0xb2)]=_0x5e929c=>{const _0x553881=a26_0x11b470,_0x1abca5={};_0x1abca5[_0x553881(0x7c)]=_0x553881(0xa5),_0x1abca5[_0x553881(0x97)]=_0x553881(0x85),_0x1abca5[_0x553881(0x84)]=_0x553881(0x9e),_0x1abca5[_0x553881(0x77)]=_0x553881(0x7b);const _0x5bf16b=_0x1abca5;try{const _0x49e96f=_0x5e929c[_0x553881(0x76)]||{};if(_0x49e96f[_0x5bf16b['HtUzn']]&&_0x49e96f[_0x5bf16b[_0x553881(0x7c)]][_0x553881(0x95)]||_0x5e929c['capability'][_0x5bf16b[_0x553881(0x97)]]){globals[_0x553881(0x6e)](_0x5bf16b[_0x553881(0x84)],!![]);if(_0x49e96f[_0x5bf16b['HtUzn']]){if(_0x49e96f[_0x5bf16b[_0x553881(0x7c)]]['accessibilityOptions'])_0x49e96f[_0x5bf16b['HtUzn']]['accessibilityOptions'][_0x553881(0xb0)]=process['env']['BS_A11Y_JWT'];else{const _0x1804c8={};_0x1804c8[_0x553881(0xb0)]=process[_0x553881(0x88)]['BS_A11Y_JWT'],_0x49e96f[_0x5bf16b[_0x553881(0x7c)]][_0x553881(0x90)]=_0x1804c8;}_0x49e96f[_0x5bf16b[_0x553881(0x7c)]][_0x553881(0x90)][_0x553881(0x8a)]=JSON[_0x553881(0xaf)](process[_0x553881(0x88)][_0x553881(0xa6)])['scannerVersion'];}else{if(_0x5e929c[_0x553881(0x76)][_0x5bf16b[_0x553881(0x97)]]){if(_0x49e96f[_0x5bf16b[_0x553881(0x77)]])_0x49e96f[_0x5bf16b[_0x553881(0x77)]][_0x553881(0xb0)]=process[_0x553881(0x88)][_0x553881(0x74)];else{const _0x38718c={};_0x38718c['authToken']=process[_0x553881(0x88)][_0x553881(0x74)],_0x49e96f[_0x5bf16b['oWxhK']]=_0x38718c;}_0x49e96f[_0x5bf16b['oWxhK']][_0x553881(0x8a)]=JSON[_0x553881(0xaf)](process[_0x553881(0x88)][_0x553881(0xa6)])[_0x553881(0x8a)];}}}}catch(_0xabcfd2){logger[_0x553881(0xa3)]('Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20'+_0xabcfd2);}},exports[a26_0x11b470(0xad)]=(_0x1e1284,_0xd078ae)=>{const _0x2024f6=a26_0x11b470,_0x32bfd0={};_0x32bfd0[_0x2024f6(0x82)]=_0x2024f6(0xa5),_0x32bfd0[_0x2024f6(0x79)]=function(_0x5b1abc,_0x38f23e){return _0x5b1abc!==_0x38f23e;},_0x32bfd0['WsVAT']=_0x2024f6(0xb3),_0x32bfd0['SuEgE']=_0x2024f6(0x78),_0x32bfd0[_0x2024f6(0x68)]=_0x2024f6(0x72),_0x32bfd0[_0x2024f6(0x6a)]=function(_0x3cf206,_0x37b3c8){return _0x3cf206===_0x37b3c8;},_0x32bfd0[_0x2024f6(0x7a)]=_0x2024f6(0x87),_0x32bfd0[_0x2024f6(0xa2)]=function(_0x5321ef,_0x249c6d){return _0x5321ef>_0x249c6d;},_0x32bfd0[_0x2024f6(0x96)]=_0x2024f6(0xb9),_0x32bfd0[_0x2024f6(0x70)]=_0x2024f6(0x6d),_0x32bfd0[_0x2024f6(0x94)]='options_',_0x32bfd0[_0x2024f6(0x80)]=_0x2024f6(0x73),_0x32bfd0[_0x2024f6(0x71)]='chromeOptions',_0x32bfd0[_0x2024f6(0x9f)]=_0x2024f6(0x7f),_0x32bfd0[_0x2024f6(0x9a)]=_0x2024f6(0x92);const _0x166474=_0x32bfd0;try{const _0x4991c6=_0xd078ae[_0x2024f6(0x76)]||{},_0x11e77a=(_0x4991c6[_0x166474[_0x2024f6(0x82)]]?_0x4991c6[_0x166474[_0x2024f6(0x82)]][_0x2024f6(0xa8)]:_0x4991c6[_0x2024f6(0xb5)])||'';if(_0x166474[_0x2024f6(0x79)](_0x11e77a,''))return logger[_0x2024f6(0xa7)](_0x166474['WsVAT']),![];const _0x22231e=_0x4991c6[_0x2024f6(0x6f)]||_0x1e1284[_0x2024f6(0xa0)][_0x2024f6(0x6c)]();if(_0x166474['ySTlj'](_0x22231e[_0x2024f6(0x9b)](),_0x166474['SuEgE']))return logger['warn'](_0x166474['kBksf']),![];const _0x49d20a=_0x4991c6[_0x2024f6(0x8f)]||_0x4991c6[_0x2024f6(0x75)]||_0x1e1284['capabilities_']['getBrowserVersion']();if(!bsSetupHelper['isUndefined'](_0x49d20a)&&!(_0x166474[_0x2024f6(0x6a)](_0x49d20a,_0x166474[_0x2024f6(0x7a)])||_0x166474[_0x2024f6(0xa2)](_0x49d20a,0x5e)))return logger[_0x2024f6(0xa7)](_0x166474['UIwQn']),![];let _0x155108;try{_0x155108=bsSetupHelper[_0x2024f6(0x69)](_0x166474[_0x2024f6(0x70)]);}catch(_0x404ed7){return![];}const _0x520ec4=new _0x155108[(_0x2024f6(0x83))](_0x1e1284[_0x2024f6(0xb4)]),_0x520afa=bsSetupHelper['nestedKeyValue'](_0x520ec4,[_0x166474[_0x2024f6(0x94)],_0x166474[_0x2024f6(0x80)]])||bsSetupHelper['nestedKeyValue'](_0x1e1284[_0x2024f6(0xa0)][_0x2024f6(0x8b)](_0x166474['tvqtQ']),[_0x166474['oWhBN'],_0x166474['DYTCy']])||bsSetupHelper[_0x2024f6(0x81)](_0x1e1284['capabilities_']['get'](_0x166474[_0x2024f6(0x71)]),[_0x166474['DYTCy']])||[];if(_0x520afa['includes'](_0x166474[_0x2024f6(0x9f)]))return logger[_0x2024f6(0xa7)](_0x166474['yjXVQ']),![];return!![];}catch(_0x38c16e){logger['debug'](_0x2024f6(0xae)+util[_0x2024f6(0x6b)](_0x38c16e));}return![];},exports[a26_0x11b470(0x9d)]=async _0xac9277=>{const _0x5193e4=a26_0x11b470,_0x378b19={};_0x378b19[_0x5193e4(0xb7)]=function(_0x306b62,_0x2388d0){return _0x306b62===_0x2388d0;},_0x378b19[_0x5193e4(0x99)]=_0x5193e4(0x8d);const _0x258149=_0x378b19;let _0x166b92={};try{const _0x29407a=await _0xac9277[_0x5193e4(0x98)]();_0x166b92={'os_name':_0x29407a[_0x5193e4(0xb1)](),'os_version':bsSetupHelper[_0x5193e4(0xb8)](_0x258149[_0x5193e4(0xb7)](global[_0x5193e4(0xac)],_0x258149[_0x5193e4(0x99)])),'browser_name':_0x29407a[_0x5193e4(0x6c)](),'browser_version':_0x29407a['getBrowserVersion']()};}catch(_0x2f3e63){logger[_0x5193e4(0xa3)]('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x2f3e63);}return _0x166b92;};
@@ -1 +1 @@
1
- 'use strict';function a27_0x2f61(){const _0x472390=['logs','hook_run','LpTGR','mpVmR','exports','wkNvE','light','41290hgQiYR','QutgM','_upstreamConfig','removeAllListeners','registerListeners','length','PHVrB','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','getTime','vlHMG','type','EGsLn','wnAMp','failed','ZkQqr','current_test','expanded','jStlN','YAklE','testStarted','file','HKuvJ','fullTitle','HookStarted','../../../helpers/testhub/utils','_testEnv','push','testObservability','findGitConfig','multiple','vPceB','%s\x20-\x20%s','MTAUn','hook_type','passed','dpXiM','MxhkZ','apply','gROPk','HookRunStarted','tnHQV','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','__indents','\x20(%dms)','yEXQf','WPjvz','<section\x20class=\x22suite\x22>','decreaseIndent','relative','indent','retryOf','suite','test','FxNBK','prototype','test_run','LogCreated','reporterOption','suiteCount','<h1>','SHAjE','jyhlE','integrations','suites','config','YYhRE','2435640YpjNyK','1373149bztMSY','bs:addPlatformDetails:','current_hook','after\x20each','BEFORE_EACH','markedStatus','escape','hookAnalyticsId','fOArq','http_response','SksaW','uuid','failure','bang','yWBTZ','../../../helpers/helper','javascript','GAkuZ','currentTest','dot','nHAot','setCurrentTestData','spec','\x20\x20<dd\x20class=\x22error\x22>','wmOMC','rmDLQ','DeqNv','now','YpgZT','../test-observability/mochaUtils','KkDst','HookRunFinished','WdFgK','10553013EdwTQt','xHeCC','dFTFm','IlONz','duration','slice','ISqsz','XZFqM','SdDqg','gadaI','speed','HookFinished','../../../helpers/test-observability/requestQueueHandler','.git','IBQFn','IJUiG','join','lUtrI','stdout','before\x20each','statSync','olnQc','LotPJ','RgzFp','MOCHA','consoleLog','mocha/lib/reporters/','Reporter','uploadEventData','_paths','yVufN','ABzeQ','body','RUNNING','HlJoj','match','_currentRetry','VrUpD','JmhZk','MjsIl','toISOString','sep','APCFY','testAnalyticsId','TLIYg','VYQeb','JwhFQ','VsWMp','failureCount','bsadi','prefixTestPath','Mocha','titlePath','sOXaH','increaseIndent','834mNNxbz','\x20-\x20','XzxmK','TestRunStarted','GuxEF','sHqgL','call','cwd','JLzwj','doc','root','bwiKE','appendTesthubParams','forEach','currentRetry','Runner','_buildCreated','test_run_uuid','once','</dt>','parent','started_at','result','</h1>','skipped','../../../helpers/test-observability/constants','results','color','WPZZJ','26018630KKntSJ','fzlyf','vKQiS','originalTitle','swtIL','__platform__','location_prefix','getRootParentFile','1344679MvIciW','analyticsResult','\x20\x20<dt\x20class=\x22error\x22>','kFyZn','err','BeTaX','mocha/lib/reporters/base.js','tCvCM','_indents','FLZZN','reporterOptions','write','TestRunSkipped','trim','CBTSessionCreated','appendTestPlatform','%s\x20','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','isPending','pending','mocha','toString','VQuts','path','title','xunit','scopes','icVZd','ctx','8ydEHTt','_testResults','includes','igTGR','\x20\x20<dd><pre><code>','sendTestRunEvent','</section>','63jBANsi','split','orEKh','appendTestItemLog','../../../helpers/test-observability/sessionHandler','.js','backtrace','dgGoT','azBFk','TestRunFinished','Cfmst','0|4|1|3|2','failure_backtrace','GohdP','eZctC','rbmlK','hook_run_uuid','getInstance','TOEIf','XpRVw','HxhVH','Failed\x20to\x20load\x20reporter\x20','\x20\x20<dd\x20class=\x22error\x22><pre><code>','runner','<dl>','docHtml','COMPLETED','</code></pre></dd>','aZpiJ','MyCvN','zQukN','\x20\x20%d)\x20%s','124164wkpQyM','\x20\x20<dt>','util','finished_at','state','bind','../../../helpers/testhub/constants','hooks','inspect','shutdown','symbols','event_type','failure_reason_expanded','</dd>','iKpMm','ppNxg','YPVCl','scope','JXfbd','nKHQh','docAppend','shouldProcessEventForTesthub','pass','gCuTs','EVENT','OYYpQ','finalResults','comma','clean','DadCn','mocha/lib/runnable.js','KuYcY','UnhandledError','constants','Gxisr','mocha/lib/utils.js','failCount','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','pid'];a27_0x2f61=function(){return _0x472390;};return a27_0x2f61();}const a27_0x500c99=a27_0x4c8d;(function(_0x56e8bb,_0x4300bc){const _0xe15ebb=a27_0x4c8d,_0x52f24a=_0x56e8bb();while(!![]){try{const _0x5ef525=parseInt(_0xe15ebb(0x1d8))/0x1+-parseInt(_0xe15ebb(0x167))/0x2*(-parseInt(_0xe15ebb(0x147))/0x3)+parseInt(_0xe15ebb(0x1d7))/0x4+parseInt(_0xe15ebb(0x195))/0x5*(parseInt(_0xe15ebb(0xfe))/0x6)+parseInt(_0xe15ebb(0x123))/0x7+parseInt(_0xe15ebb(0x140))/0x8*(-parseInt(_0xe15ebb(0x1f9))/0x9)+-parseInt(_0xe15ebb(0x11b))/0xa;if(_0x5ef525===_0x4300bc)break;else _0x52f24a['push'](_0x52f24a['shift']());}catch(_0x6c7e42){_0x52f24a['push'](_0x52f24a['shift']());}}}(a27_0x2f61,0xcfd78));function a27_0x4c8d(_0x3c2496,_0x402ec7){const _0x2f61a2=a27_0x2f61();return a27_0x4c8d=function(_0x4c8d63,_0x164a36){_0x4c8d63=_0x4c8d63-0xe2;let _0x27b9cf=_0x2f61a2[_0x4c8d63];return _0x27b9cf;},a27_0x4c8d(_0x3c2496,_0x402ec7);}const util=require(a27_0x500c99(0x169)),fs=require('fs'),path=require(a27_0x500c99(0x13a)),{requireModule}=require(a27_0x500c99(0x1e7)),Base=requireModule(a27_0x500c99(0x129)),utils=requireModule(a27_0x500c99(0x18a)),color=Base[a27_0x500c99(0x119)],Mocha=requireModule(a27_0x500c99(0x137)),Runnable=requireModule(a27_0x500c99(0x185)),{v4:uuidv4}=require('uuid'),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require(a27_0x500c99(0x1ad)),testHubConstants=require(a27_0x500c99(0x16d)),{FRAMEWORKS}=require(a27_0x500c99(0x117)),a27_0x461f46={};a27_0x461f46['before\x20all']='BEFORE_ALL',a27_0x461f46['after\x20all']='AFTER_ALL',a27_0x461f46[a27_0x500c99(0x20c)]=a27_0x500c99(0x1dc),a27_0x461f46[a27_0x500c99(0x1db)]='AFTER_EACH';const HOOK_TYPES_MAP=a27_0x461f46,{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_0x500c99(0x10d)][a27_0x500c99(0x188)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable['constants'],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x500c99(0x1f5)),{consoleHolder}=require(a27_0x500c99(0x117)),SessionHandler=require(a27_0x500c99(0x14b)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a27_0x500c99(0x205)),requestQueueHandler=RequestQueueHandler[a27_0x500c99(0x158)]();class MyReporter{constructor(_0x5eff05,_0x3975fe){const _0x1eaa45=a27_0x500c99,_0x464637={'KuYcY':function(_0x3944a4,_0xd96c45){return _0x3944a4===_0xd96c45;},'MxhkZ':_0x1eaa45(0x1ee),'MyCvN':function(_0x4aaf36,_0x4b447f){return _0x4aaf36===_0x4b447f;},'QRvwy':function(_0x4aa767,_0x561103){return _0x4aa767+_0x561103;},'sHqgL':function(_0x19ea6a,_0x5a6058){return _0x19ea6a+_0x5a6058;},'XZFqM':function(_0x37fa9d,_0x4fe6cc,_0x5d8490){return _0x37fa9d(_0x4fe6cc,_0x5d8490);},'vKQiS':'green','igTGR':_0x1eaa45(0x133),'MjsIl':function(_0x319417,_0x444287,_0x57173b){return _0x319417(_0x444287,_0x57173b);},'GohdP':_0x1eaa45(0x194),'dpXiM':_0x1eaa45(0x1b4),'yVufN':_0x1eaa45(0xe8),'bwiKE':_0x1eaa45(0x107),'VQuts':function(_0x342719){return _0x342719();},'wkNvE':function(_0x2fefd0){return _0x2fefd0();},'YpgZT':_0x1eaa45(0x1bc),'gadaI':'HookRunFinished','JmhZk':_0x1eaa45(0x1b7),'nKHQh':'fast','fzlyf':function(_0x266d78,_0x32618a){return _0x266d78+_0x32618a;},'WPjvz':function(_0x5eb008,_0x35b0b0){return _0x5eb008+_0x35b0b0;},'QutgM':'checkmark','ABzeQ':function(_0x2078e7,_0x57a163){return _0x2078e7+_0x57a163;},'MTAUn':_0x1eaa45(0x17d),'ZkQqr':'\x20%s','BeTaX':function(_0x46721d,_0x3a94c6){return _0x46721d+_0x3a94c6;},'HdnHI':function(_0x282a69,_0x5e1b9c){return _0x282a69+_0x5e1b9c;},'JXfbd':function(_0x1b39c2,_0x5335f7,_0x536b60){return _0x1b39c2(_0x5335f7,_0x536b60);},'rmDLQ':function(_0x59c11a,_0x5af03c,_0x415bed){return _0x59c11a(_0x5af03c,_0x415bed);},'bsadi':function(_0x21aa8b,_0x2662e1,_0x56fc8e){return _0x21aa8b(_0x2662e1,_0x56fc8e);},'YPVCl':_0x1eaa45(0x1c0),'WdFgK':function(_0x592244,_0x20f829){return _0x592244+_0x20f829;},'aZpiJ':function(_0x2ffabf,_0x2cc732,_0x5d8f48){return _0x2ffabf(_0x2cc732,_0x5d8f48);},'IJUiG':'fail','vlHMG':_0x1eaa45(0x166),'XpRVw':function(_0x3a0337,_0x433710){return _0x3a0337+_0x433710;},'TOEIf':function(_0x549510,_0xb890d5,_0x421656){return _0x549510(_0xb890d5,_0x421656);},'APCFY':'bright\x20yellow','GuxEF':_0x1eaa45(0x161),'HKuvJ':function(_0x4c1a8e,_0x2c3e8a){return _0x4c1a8e===_0x2c3e8a;},'wnAMp':_0x1eaa45(0x1eb),'XzxmK':function(_0x5d928b,_0x355efb){return _0x5d928b===_0x355efb;},'JNzQD':'slow','gQhKX':function(_0x759dfe,_0x823ef){return _0x759dfe===_0x823ef;},'fOArq':function(_0x39e837,_0x53569e){return _0x39e837===_0x53569e;},'vPceB':_0x1eaa45(0x152),'RgzFp':function(_0x305183,_0x113c10){return _0x305183===_0x113c10;},'IBQFn':function(_0x593b2b,_0x511106){return _0x593b2b===_0x511106;},'SksaW':_0x1eaa45(0x136),'EGsLn':function(_0x15d978){return _0x15d978();},'ISqsz':_0x1eaa45(0x12f),'hPobO':function(_0x26747b,_0x290268){return _0x26747b===_0x290268;},'PHVrB':function(_0x26c7ae,_0x3f3425){return _0x26c7ae===_0x3f3425;},'sOXaH':function(_0x4716be,_0x127d8f){return _0x4716be(_0x127d8f);},'ZomaC':function(_0x45f568,_0x381cc9){return _0x45f568(_0x381cc9);},'dgGoT':function(_0x3d2f33,_0x5ad813){return _0x3d2f33===_0x5ad813;},'wmOMC':function(_0x6ac2ef){return _0x6ac2ef();},'BbVXC':function(_0x9667b0,_0x18541e){return _0x9667b0===_0x18541e;},'FxNBK':_0x1eaa45(0x13c),'soszJ':function(_0x4ca977,_0x20f06e){return _0x4ca977(_0x20f06e);},'gROPk':function(_0x325ff1,_0x349a35){return _0x325ff1===_0x349a35;},'fycHK':function(_0x2f11a3,_0x30f049){return _0x2f11a3(_0x30f049);},'dFTFm':function(_0x5db549,_0x369f9b){return _0x5db549!==_0x369f9b;}};this[_0x1eaa45(0x19f)]=_0x3975fe[_0x1eaa45(0x1ce)]['type'],this[_0x1eaa45(0x1b0)]=_0x464637[_0x1eaa45(0x193)](isTestObservabilitySession),Base[_0x1eaa45(0x104)](this,_0x5eff05,_0x3975fe),this[_0x1eaa45(0x12b)]=0x0,this['failCount']=0x0,this['results']=[],this[_0x1eaa45(0x181)]=[],this[_0x1eaa45(0x1cf)]=0x0,this[_0x1eaa45(0x10e)]=![],this[_0x1eaa45(0x141)]=[],this[_0x1eaa45(0x1ae)]=_0x464637[_0x1eaa45(0x1f0)](getTestEnv),this[_0x1eaa45(0xe4)]=new PathHelper({'cwd':process[_0x1eaa45(0x105)]()},this[_0x1eaa45(0x1ae)][_0x1eaa45(0x121)]),this[_0x1eaa45(0x197)]=_0x3975fe[_0x1eaa45(0x1ce)]['bsConfig'],this['registerListeners']();_0x464637['BbVXC'](this[_0x1eaa45(0x19f)],_0x464637[_0x1eaa45(0x109)])&&(this[_0x1eaa45(0x160)]='',this['__indents']=0x2);_0x5eff05[_0x1eaa45(0x110)](EVENT_RUN_BEGIN,async()=>{const _0x4f0568=_0x1eaa45;_0x464637[_0x4f0568(0x186)](this[_0x4f0568(0x19f)],_0x464637['MxhkZ'])&&Base[_0x4f0568(0x212)]();})['on'](EVENT_SUITE_BEGIN,_0x25bf75=>{const _0x10313e=_0x1eaa45;if(_0x25bf75[_0x10313e(0x108)])return;if(_0x464637[_0x10313e(0x164)](this[_0x10313e(0x19f)],_0x464637[_0x10313e(0x1b9)]))this[_0x10313e(0xfd)](),Base['consoleLog'](_0x464637['QRvwy'](_0x464637[_0x10313e(0x103)](this['indent'](),_0x464637[_0x10313e(0x200)](color,_0x464637[_0x10313e(0x11d)],_0x464637[_0x10313e(0x143)])),_0x464637[_0x10313e(0xee)](color,_0x464637[_0x10313e(0x154)],_0x464637['dpXiM'])),_0x464637[_0x10313e(0xe5)],_0x25bf75['title'],global[_0x10313e(0x120)]);else _0x464637[_0x10313e(0x164)](this[_0x10313e(0x19f)],_0x464637[_0x10313e(0x109)])&&(this['docAppend'](this['indent']()+_0x10313e(0x1c3)),++this['__indents'],this[_0x10313e(0x17b)](this[_0x10313e(0x1c6)]()+_0x10313e(0x1d0)+utils[_0x10313e(0x1de)](_0x25bf75[_0x10313e(0x13b)]+_0x10313e(0xff)+global['__platform__'])+_0x10313e(0x115)),this[_0x10313e(0x17b)](this['indent']()+_0x10313e(0x15f)));})['on'](EVENT_HOOK_BEGIN,async _0x577e0a=>{const _0x265d6f=_0x1eaa45;if(_0x464637[_0x265d6f(0x164)](testhubUtils[_0x265d6f(0x17c)](testHubConstants[_0x265d6f(0x17f)][_0x265d6f(0x1ac)]),!![])){if(!_0x577e0a[_0x265d6f(0x1df)])_0x577e0a[_0x265d6f(0x1df)]=_0x464637[_0x265d6f(0x139)](uuidv4);else _0x577e0a[_0x265d6f(0x1dd)]&&(_0x577e0a[_0x265d6f(0x1df)]=_0x464637[_0x265d6f(0x193)](uuidv4),delete _0x577e0a['markedStatus']);_0x577e0a[_0x265d6f(0x113)]=new Date()[_0x265d6f(0xef)](),this['current_hook']=_0x577e0a,await this[_0x265d6f(0x145)](_0x577e0a,undefined,![],_0x464637[_0x265d6f(0x1f4)]);}})['on'](EVENT_HOOK_END,async _0x3bf70d=>{const _0x1b88bf=_0x1eaa45;_0x464637['MyCvN'](testhubUtils['shouldProcessEventForTesthub'](testHubConstants['EVENT'][_0x1b88bf(0x204)]),!![])&&(!_0x3bf70d[_0x1b88bf(0x1dd)]&&(_0x3bf70d['markedStatus']=!![],await this[_0x1b88bf(0x145)](_0x3bf70d,undefined,![],_0x464637['gadaI'])));})['on'](EVENT_SUITE_END,_0x553089=>{const _0x18f6c6=_0x1eaa45;if(_0x553089[_0x18f6c6(0x108)])return;if(_0x464637[_0x18f6c6(0x186)](this['type'],_0x464637[_0x18f6c6(0x1b9)]))Base[_0x18f6c6(0x212)](),Base['consoleLog'](_0x464637[_0x18f6c6(0x128)](_0x464637[_0x18f6c6(0x15a)](this[_0x18f6c6(0x1c6)](),_0x464637['TOEIf'](color,_0x464637[_0x18f6c6(0xf1)],_0x464637[_0x18f6c6(0x143)])),_0x464637[_0x18f6c6(0x159)](color,_0x464637[_0x18f6c6(0x154)],_0x464637[_0x18f6c6(0x1b8)])),_0x464637[_0x18f6c6(0x102)],_0x553089[_0x18f6c6(0x13b)],global[_0x18f6c6(0x120)]),this[_0x18f6c6(0x118)][_0x18f6c6(0x10b)](_0xfffe6a=>{const _0x423953=_0x18f6c6;if(_0x464637[_0x423953(0x164)](_0xfffe6a[_0x423953(0x16b)],_0x464637[_0x423953(0xed)])){var _0x5706b2;_0x464637[_0x423953(0x164)](_0xfffe6a['speed'],_0x464637[_0x423953(0x17a)])?(_0x5706b2=_0x464637[_0x423953(0x11c)](_0x464637[_0x423953(0x1c2)](this[_0x423953(0x1c6)](),_0x464637[_0x423953(0xee)](color,_0x464637[_0x423953(0x196)],_0x464637[_0x423953(0xe6)]('\x20\x20',Base[_0x423953(0x171)]['ok']))),_0x464637[_0x423953(0x200)](color,_0x464637[_0x423953(0x1b5)],_0x464637[_0x423953(0x1a3)])),Base[_0x423953(0x212)](_0x5706b2,_0xfffe6a[_0x423953(0x13b)])):(_0x5706b2=_0x464637[_0x423953(0x11c)](_0x464637['BeTaX'](_0x464637['HdnHI'](this[_0x423953(0x1c6)](),_0x464637[_0x423953(0x179)](color,_0x464637['QutgM'],_0x464637['ABzeQ']('\x20\x20',Base['symbols']['ok']))),_0x464637[_0x423953(0x1f1)](color,_0x464637[_0x423953(0x1b5)],_0x464637[_0x423953(0x1a3)])),_0x464637[_0x423953(0xf8)](color,_0xfffe6a[_0x423953(0x203)],_0x464637[_0x423953(0x177)])),Base[_0x423953(0x212)](_0x5706b2,_0xfffe6a[_0x423953(0x13b)],_0xfffe6a[_0x423953(0x1fd)]));}else Base[_0x423953(0x212)](_0x464637[_0x423953(0x1f8)](this['indent'](),_0x464637[_0x423953(0x163)](color,_0x464637[_0x423953(0x208)],_0x464637[_0x423953(0x19e)])),++this[_0x423953(0x18b)],_0xfffe6a['title']);}),this['decreaseIndent']();else _0x464637[_0x18f6c6(0x186)](this[_0x18f6c6(0x19f)],_0x464637[_0x18f6c6(0x109)])&&(this['docAppend'](this[_0x18f6c6(0x1c6)]()+'</dl>'),--this['__indents'],this[_0x18f6c6(0x17b)](this['indent']()+_0x18f6c6(0x146)),--this[_0x18f6c6(0x1bf)]);Array[_0x18f6c6(0x1cb)][_0x18f6c6(0x1af)][_0x18f6c6(0x1ba)](this['finalResults'],this[_0x18f6c6(0x118)]),this[_0x18f6c6(0x118)]=[];})['on'](EVENT_TEST_PASS,async _0x2c9782=>{const _0x244eed=_0x1eaa45;this[_0x244eed(0x118)][_0x244eed(0x1af)]({'speed':_0x2c9782[_0x244eed(0x203)],'suite':_0x2c9782['parent'][_0x244eed(0x13b)],'title':_0x2c9782['title'],'fullTitle':_0x2c9782['fullTitle'](),'duration':_0x2c9782['duration'],'state':_0x2c9782['state'],'err':{},'currentRetry':_0x2c9782[_0x244eed(0x10c)](),'titlePathV':_0x2c9782[_0x244eed(0xfb)](),'isPending':_0x2c9782[_0x244eed(0x135)]()});if(_0x464637[_0x244eed(0x1aa)](this[_0x244eed(0x19f)],_0x464637[_0x244eed(0x1a1)]))_0x464637[_0x244eed(0x100)](_0x2c9782['speed'],_0x464637['JNzQD'])?process[_0x244eed(0x20b)][_0x244eed(0x12e)](Base[_0x244eed(0x119)](_0x464637['APCFY'],Base[_0x244eed(0x171)]['dot'])):process['stdout'][_0x244eed(0x12e)](Base[_0x244eed(0x119)](_0x2c9782[_0x244eed(0x203)],Base['symbols'][_0x244eed(0x1eb)]));else{if(_0x464637[_0x244eed(0x164)](this[_0x244eed(0x19f)],_0x464637[_0x244eed(0x109)])){this['docAppend'](this[_0x244eed(0x1c6)]()+_0x244eed(0x168)+utils[_0x244eed(0x1de)](_0x2c9782[_0x244eed(0x13b)])+_0x244eed(0x111)),this['docAppend'](this[_0x244eed(0x1c6)]()+_0x244eed(0x168)+utils[_0x244eed(0x1de)](_0x2c9782[_0x244eed(0x1a9)])+_0x244eed(0x111));var _0xe34fc4=utils[_0x244eed(0x1de)](utils[_0x244eed(0x183)](_0x2c9782[_0x244eed(0xe7)]));this[_0x244eed(0x17b)](this['indent']()+_0x244eed(0x144)+_0xe34fc4+'</code></pre></dd>');}}_0x464637['gQhKX'](testhubUtils[_0x244eed(0x17c)](),!![])&&(!_0x2c9782['markedStatus']&&(_0x2c9782['markedStatus']=!![],await this[_0x244eed(0x145)](_0x2c9782)));})['on'](EVENT_TEST_FAIL,async(_0x1fe4d6,_0xc74e4d)=>{const _0x2c9bde=_0x1eaa45;this['results'][_0x2c9bde(0x1af)]({'title':_0x1fe4d6[_0x2c9bde(0x13b)],'suite':_0x1fe4d6[_0x2c9bde(0x112)]['title'],'state':_0x1fe4d6[_0x2c9bde(0x16b)],'err':{'message':util[_0x2c9bde(0x16f)](_0xc74e4d)},'fullTitle':_0x1fe4d6[_0x2c9bde(0x1ab)](),'speed':_0x1fe4d6[_0x2c9bde(0x203)],'currentRetry':_0x1fe4d6[_0x2c9bde(0x10c)](),'titlePathV':_0x1fe4d6[_0x2c9bde(0xfb)]()});if(_0x464637[_0x2c9bde(0x1aa)](this[_0x2c9bde(0x19f)],_0x464637[_0x2c9bde(0x1a1)]))process['stdout'][_0x2c9bde(0x12e)](Base['color'](_0x464637[_0x2c9bde(0x208)],Base[_0x2c9bde(0x171)][_0x2c9bde(0x1e5)]));else{if(_0x464637[_0x2c9bde(0x1e0)](this[_0x2c9bde(0x19f)],_0x464637[_0x2c9bde(0x109)])){const _0x5962ff=_0x464637[_0x2c9bde(0x1b3)][_0x2c9bde(0x148)]('|');let _0x727cf4=0x0;while(!![]){switch(_0x5962ff[_0x727cf4++]){case'0':this['docAppend'](this[_0x2c9bde(0x1c6)]()+_0x2c9bde(0x125)+utils[_0x2c9bde(0x1de)](_0x1fe4d6['title'])+'</dt>');continue;case'1':var _0xbb2c6c=utils[_0x2c9bde(0x1de)](utils[_0x2c9bde(0x183)](_0x1fe4d6['body']));continue;case'2':this['docAppend'](this[_0x2c9bde(0x1c6)]()+_0x2c9bde(0x1ef)+utils[_0x2c9bde(0x1de)](_0x1fe4d6[_0x2c9bde(0x127)])+_0x2c9bde(0x174));continue;case'3':this[_0x2c9bde(0x17b)](this['indent']()+_0x2c9bde(0x15d)+_0xbb2c6c+_0x2c9bde(0x162));continue;case'4':this[_0x2c9bde(0x17b)](this[_0x2c9bde(0x1c6)]()+_0x2c9bde(0x125)+utils[_0x2c9bde(0x1de)](_0x1fe4d6[_0x2c9bde(0x1a9)])+_0x2c9bde(0x111));continue;}break;}}}if(_0x464637[_0x2c9bde(0x210)](testhubUtils[_0x2c9bde(0x17c)](testHubConstants['EVENT'][_0x2c9bde(0x204)]),!![])){if(!_0x1fe4d6[_0x2c9bde(0x1dd)]){_0x1fe4d6[_0x2c9bde(0x1dd)]=!![];if(_0x1fe4d6[_0x2c9bde(0xf2)])await this[_0x2c9bde(0x145)](_0x1fe4d6,_0xc74e4d);else _0x1fe4d6[_0x2c9bde(0x1df)]&&await this[_0x2c9bde(0x145)](_0x1fe4d6,_0xc74e4d,![],_0x464637[_0x2c9bde(0x202)]);}}})['on'](EVENT_TEST_PENDING,async _0xe80341=>{const _0x374bcf=_0x1eaa45;this['results'][_0x374bcf(0x1af)]({'title':_0xe80341[_0x374bcf(0x13b)],'suite':_0xe80341[_0x374bcf(0x112)][_0x374bcf(0x13b)],'state':_0xe80341[_0x374bcf(0x16b)],'err':{},'fullTitle':_0xe80341[_0x374bcf(0x1ab)](),'speed':_0xe80341[_0x374bcf(0x203)],'currentRetry':_0xe80341[_0x374bcf(0x10c)](),'titlePathV':_0xe80341[_0x374bcf(0xfb)]()}),_0x464637[_0x374bcf(0x207)](this[_0x374bcf(0x19f)],_0x464637[_0x374bcf(0x1a1)])&&process[_0x374bcf(0x20b)][_0x374bcf(0x12e)](Base['color'](_0x464637[_0x374bcf(0x1e2)],Base[_0x374bcf(0x171)][_0x374bcf(0x182)])),_0x464637['IBQFn'](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0xe80341['testAnalyticsId']&&(_0xe80341[_0x374bcf(0xf2)]=_0x464637[_0x374bcf(0x1a0)](uuidv4)),!_0xe80341[_0x374bcf(0x1dd)]&&(_0xe80341[_0x374bcf(0x1dd)]=!![],await this[_0x374bcf(0x145)](_0xe80341,undefined,![],_0x464637['ISqsz'])));})['on'](EVENT_TEST_BEGIN,async _0x2237fc=>{const _0x27529a=_0x1eaa45;_0x464637['hPobO'](testhubUtils[_0x27529a(0x17c)](),!![])&&await this[_0x27529a(0x1a8)](_0x2237fc);})['on'](EVENT_TEST_END,async _0x4d2831=>{const _0x2926c1=_0x1eaa45;_0x464637[_0x2926c1(0x186)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x4d2831[_0x2926c1(0x1dd)]&&(_0x4d2831['markedStatus']=!![],await this[_0x2926c1(0x145)](_0x4d2831)));})[_0x1eaa45(0x110)](EVENT_RUN_END,async()=>{const _0x58b8d3=_0x1eaa45;try{if(_0x464637[_0x58b8d3(0x19b)](testhubUtils[_0x58b8d3(0x17c)](),!![])){const _0x3b8df2=_0x464637[_0x58b8d3(0xfc)](getHookSkippedTests,this[_0x58b8d3(0x15e)][_0x58b8d3(0x1c8)]);for(const _0x5533fc of _0x3b8df2){!_0x5533fc[_0x58b8d3(0xf2)]&&(_0x5533fc[_0x58b8d3(0xf2)]=_0x464637[_0x58b8d3(0x193)](uuidv4)),await this[_0x58b8d3(0x145)](_0x5533fc,undefined,![],_0x464637[_0x58b8d3(0x1ff)]);}}}catch(_0x576862){_0x464637['ZomaC'](debug,_0x58b8d3(0x19c)+_0x576862);}await requestQueueHandler[_0x58b8d3(0x170)](),_0x464637[_0x58b8d3(0x14e)](this[_0x58b8d3(0x19f)],_0x464637[_0x58b8d3(0x109)])&&Base[_0x58b8d3(0x212)](this[_0x58b8d3(0x160)]);});if(this[_0x1eaa45(0x19f)]&&![_0x464637['bwiKE'],_0x464637[_0x1eaa45(0x1ca)],_0x464637[_0x1eaa45(0x1b9)],_0x464637['wnAMp']][_0x1eaa45(0x142)](this[_0x1eaa45(0x19f)])){const _0x1d1fb9=this['type'][_0x1eaa45(0x130)]();this[_0x1eaa45(0xe2)]=null;try{this['Reporter']=_0x464637['soszJ'](requireModule,_0x1eaa45(0x213)+_0x1d1fb9+_0x1eaa45(0x14c));}catch{}if(_0x464637[_0x1eaa45(0x1bb)](this[_0x1eaa45(0xe2)],null))try{this[_0x1eaa45(0xe2)]=_0x464637['fycHK'](require,_0x1d1fb9);}catch(_0x15cfa6){console['error'](_0x1eaa45(0x15c)+_0x1d1fb9);}if(_0x464637[_0x1eaa45(0x1fb)](this['Reporter'],null)){const _0x428853={};_0x428853[_0x1eaa45(0x12d)]=_0x3975fe[_0x1eaa45(0x1ce)],this[_0x1eaa45(0xe2)]=new this[(_0x1eaa45(0xe2))](_0x5eff05,_0x428853);}}}[a27_0x500c99(0x1c6)](){const _0xfc6f15=a27_0x500c99,_0x2eeb21={'zQukN':function(_0x9d53d,_0x897058){return _0x9d53d(_0x897058);}};return _0x2eeb21[_0xfc6f15(0x165)](Array,this[_0xfc6f15(0x12b)])[_0xfc6f15(0x209)]('\x20\x20');}[a27_0x500c99(0xfd)](){const _0x3b6813=a27_0x500c99;this[_0x3b6813(0x12b)]++;}[a27_0x500c99(0x1c4)](){const _0x1e0407=a27_0x500c99;this[_0x1e0407(0x12b)]--;}[a27_0x500c99(0x17b)](_0x4f8ecc){const _0x2f4984=a27_0x500c99;this[_0x2f4984(0x160)]+=_0x4f8ecc;}['done'](_0x1cc46b,_0x3ce503){const _0x2fc897=a27_0x500c99,_0x2da272={'TLIYg':function(_0x5cbace,_0x17c88a){return _0x5cbace(_0x17c88a);}},_0x4dfcf6={};_0x4dfcf6[_0x2fc897(0xf7)]=_0x1cc46b,_0x4dfcf6[_0x2fc897(0x118)]=this[_0x2fc897(0x181)],_0x2da272[_0x2fc897(0xf3)](_0x3ce503,_0x4dfcf6);}[a27_0x500c99(0x199)](){const _0x528e0c=a27_0x500c99;process[_0x528e0c(0x198)]('bs:addLog:'+process[_0x528e0c(0x18d)]),process['on']('bs:addLog:'+process[_0x528e0c(0x18d)],this[_0x528e0c(0x14a)][_0x528e0c(0x16c)](this)),process[_0x528e0c(0x198)](_0x528e0c(0x1d9)+process[_0x528e0c(0x18d)]),process['on'](_0x528e0c(0x1d9)+process['pid'],this[_0x528e0c(0x132)][_0x528e0c(0x16c)](this));}['testStarted']=async _0x16c13b=>{const _0x14e90e=a27_0x500c99,_0x19233f={'swtIL':function(_0x469bc8){return _0x469bc8();},'VsWMp':function(_0x243b94,_0x546b4f){return _0x243b94>_0x546b4f;},'nHAot':function(_0x47ad2d,_0x974e3d){return _0x47ad2d===_0x974e3d;},'jStlN':_0x14e90e(0x101),'vSZpE':function(_0x59cc4d,_0x315bf7){return _0x59cc4d(_0x315bf7);}};try{const _0x1def1c=this[_0x14e90e(0x1a4)];this[_0x14e90e(0x1a4)]=_0x16c13b,_0x16c13b['retryOf']=null,_0x16c13b[_0x14e90e(0xf2)]=_0x19233f[_0x14e90e(0x11f)](uuidv4),_0x16c13b['started_at']=new Date()['toISOString'](),_0x19233f[_0x14e90e(0xf6)](_0x16c13b[_0x14e90e(0xeb)],0x0)&&_0x1def1c&&_0x19233f[_0x14e90e(0x1ec)](_0x1def1c['title'],_0x16c13b[_0x14e90e(0x13b)])?(_0x16c13b[_0x14e90e(0x1c7)]=_0x1def1c[_0x14e90e(0xf2)],await this[_0x14e90e(0x145)](_0x16c13b,undefined,![],_0x19233f[_0x14e90e(0x1a6)]),_0x1def1c['state']=STATE_FAILED,await this[_0x14e90e(0x145)](_0x1def1c,undefined,!![])):await this[_0x14e90e(0x145)](_0x16c13b,undefined,![],_0x19233f['jStlN']);}catch(_0x52387f){_0x19233f['vSZpE'](debug,_0x14e90e(0x18c)+_0x52387f);}};['sendTestRunEvent']=async(_0x396826,_0xc00956=undefined,_0x3c58de=![],_0x42d3c2=a27_0x500c99(0x150))=>{const _0x25f524=a27_0x500c99,_0x21ec74={'SdDqg':function(_0xe4ad11,_0x1f7f92){return _0xe4ad11===_0x1f7f92;},'iKpMm':function(_0x54f2a3,_0x572b71){return _0x54f2a3!==_0x572b71;},'orEKh':_0x25f524(0x1c9),'pgPEi':'err','JLzwj':function(_0xe4a111,_0x2cfb96){return _0xe4a111!==_0x2cfb96;},'icVZd':'File\x20path\x20could\x20not\x20be\x20found','mpVmR':_0x25f524(0xfa),'YAklE':_0x25f524(0x1e8),'azBFk':function(_0x3c1f11,_0x3de3eb){return _0x3c1f11===_0x3de3eb;},'OYYpQ':_0x25f524(0x12f),'CccZW':_0x25f524(0x116),'MZnzs':function(_0x562ad7,_0x351f3d){return _0x562ad7-_0x351f3d;},'WPZZJ':'AssertionError','SMaYK':_0x25f524(0x187),'IlONz':function(_0x5868a8,_0x358063){return _0x5868a8===_0x358063;},'FLZZN':'started_at','kFyZn':_0x25f524(0x16a),'yEXQf':function(_0x590d24,_0xd07a09){return _0x590d24(_0xd07a09);},'rbmlK':function(_0x41b5eb,_0x5219b1){return _0x41b5eb===_0x5219b1;},'tCvCM':_0x25f524(0x1f7),'GAkuZ':_0x25f524(0x1a2),'VrUpD':'passed','tnHQV':function(_0x5cfd9a,_0x463999){return _0x5cfd9a===_0x463999;},'VYsIb':_0x25f524(0x20c),'VYQeb':function(_0x4e3d4f,_0x3d8a61){return _0x4e3d4f===_0x3d8a61;},'OQrNS':function(_0x3a3eb4,_0x7d5df6){return _0x3a3eb4(_0x7d5df6);},'kbpFy':_0x25f524(0x1e4),'HlJoj':_0x25f524(0x153),'HxhVH':_0x25f524(0x14d),'YYhRE':_0x25f524(0x173),'uxRLn':_0x25f524(0x1a5),'Cfmst':_0x25f524(0x150),'Tveay':function(_0x399b10,_0x3850e6){return _0x399b10===_0x3850e6;},'Gxisr':_0x25f524(0x1b6),'JwhFQ':_0x25f524(0x18f),'LotPJ':_0x25f524(0x1cc),'eZctC':function(_0x2b0d51,_0x4081cf){return _0x2b0d51(_0x4081cf);}};try{if(_0x396826[_0x25f524(0xe7)]&&_0x396826[_0x25f524(0xe7)]['match'](/browserstack internal helper hook/))return;let _0x3526e4=[];if(_0x21ec74[_0x25f524(0x201)](_0x396826[_0x25f524(0x16b)],STATE_FAILED)){if(_0x21ec74[_0x25f524(0x175)](_0x396826[_0x25f524(0x127)],undefined))_0x3526e4=_0x396826[_0x25f524(0x127)]['multiple']?[_0x396826[_0x25f524(0x127)][_0x25f524(0x1b2)],_0x21ec74[_0x25f524(0x149)]]:[_0x396826[_0x25f524(0x127)],_0x21ec74['pgPEi']];else _0x21ec74[_0x25f524(0x175)](_0xc00956,undefined)?_0x3526e4=[_0xc00956,_0x21ec74['pgPEi']]:_0x3526e4=[];}const _0x276251=_0x21ec74[_0x25f524(0x106)](_0x396826[_0x25f524(0x127)],undefined)?_0x396826[_0x25f524(0x127)][_0x25f524(0x138)]():_0x21ec74[_0x25f524(0x175)](_0xc00956,undefined)?_0xc00956[_0x25f524(0x138)]():undefined;let _0x1df175;try{_0x1df175=this[_0x25f524(0x122)](_0x396826);}catch(_0x287777){_0x1df175=null;}const _0x4efcba=_0x1df175?this[_0x25f524(0x1b1)](_0x1df175):null,_0x1c4974=_0x1df175?this[_0x25f524(0xe4)][_0x25f524(0xf9)](this['getRootParentFile'](_0x396826)):_0x21ec74[_0x25f524(0x13e)],_0x518eb9={'framework':_0x21ec74[_0x25f524(0x191)],'uuid':_0x396826['testAnalyticsId']||_0x396826['hookAnalyticsId'],'name':_0x396826[_0x25f524(0x13b)],'body':{'lang':_0x21ec74[_0x25f524(0x1a7)],'code':_0x396826[_0x25f524(0xe7)]},'scope':this['scope'](_0x396826),'scopes':this['scopes'](_0x396826),'identifier':_0x396826['fullTitle'](),'file_name':_0x1c4974,'vc_filepath':_0x4efcba?path[_0x25f524(0x1c5)](_0x4efcba,_0x1df175):null,'location':_0x1c4974,'result':_0x21ec74[_0x25f524(0x14f)](_0x42d3c2,_0x21ec74[_0x25f524(0x180)])?_0x21ec74['CccZW']:this[_0x25f524(0x124)](_0x396826[_0x25f524(0x16b)]),'failure_reason':_0x276251,'duration_in_ms':_0x396826[_0x25f524(0x1fd)]||(_0x42d3c2[_0x25f524(0xea)](/Finished/)||_0x42d3c2[_0x25f524(0xea)](/Skipped/)?_0x21ec74['MZnzs'](Date[_0x25f524(0x1f3)](),new Date(_0x396826[_0x25f524(0x113)])[_0x25f524(0x19d)]()):null),'started_at':_0x396826[_0x25f524(0x113)],'finished_at':_0x42d3c2[_0x25f524(0xea)](/Finished/)||_0x42d3c2[_0x25f524(0xea)](/Skipped/)?new Date()[_0x25f524(0xef)]():null,'failure':failureData[_0x25f524(0x1ba)](null,_0x3526e4),'failure_type':!_0x276251?null:_0x276251[_0x25f524(0xea)](/AssertionError/)?_0x21ec74[_0x25f524(0x11a)]:_0x21ec74['SMaYK'],'retry_of':_0x396826['retryOf']};testhubUtils[_0x25f524(0x10a)](_0x518eb9,_0x42d3c2,_0x396826,FRAMEWORKS[_0x25f524(0x211)]);_0x21ec74[_0x25f524(0x1fc)](_0x42d3c2,_0x21ec74[_0x25f524(0x180)])&&!_0x518eb9[_0x21ec74[_0x25f524(0x12c)]]&&(_0x518eb9[_0x21ec74['FLZZN']]=_0x518eb9[_0x21ec74[_0x25f524(0x126)]]);if(_0x42d3c2[_0x25f524(0xea)](/HookRun/))[_0x518eb9['hook_type'],_0x518eb9['name']]=_0x21ec74[_0x25f524(0x1c1)](getHookDetails,_0x396826['fullTitle']()||_0x396826[_0x25f524(0x11e)]||_0x396826[_0x25f524(0x13b)]),_0x21ec74[_0x25f524(0x156)](_0x42d3c2,_0x21ec74[_0x25f524(0x12a)])&&(_0x21ec74[_0x25f524(0x106)](_0x518eb9[_0x25f524(0x114)],_0x21ec74[_0x25f524(0x1e9)])&&(_0x518eb9[_0x25f524(0x114)]=_0x21ec74[_0x25f524(0xec)]),_0x21ec74[_0x25f524(0x1bd)](_0x518eb9[_0x25f524(0x1b6)],_0x21ec74['VYsIb'])&&_0x21ec74[_0x25f524(0xf4)](_0x518eb9[_0x25f524(0x114)],_0x21ec74[_0x25f524(0x1e9)])&&!_0x396826['ctx'][_0x25f524(0x1ea)][_0x25f524(0x1dd)]&&(_0x396826[_0x25f524(0x13f)][_0x25f524(0x1ea)][_0x25f524(0x1dd)]=!![],_0x396826['ctx'][_0x25f524(0x1ea)][_0x25f524(0x16b)]=STATE_FAILED,await this[_0x25f524(0x145)](_0x396826[_0x25f524(0x13f)][_0x25f524(0x1ea)],undefined,!![])));else _0x42d3c2[_0x25f524(0xea)](/TestRun/)&&_0x21ec74['OQrNS'](mapTestHooks,_0x396826);const _0x4c36f1=_0x518eb9[_0x21ec74['kbpFy']][0x0];_0x4c36f1&&(_0x518eb9[_0x21ec74[_0x25f524(0xe9)]]=_0x4c36f1[_0x21ec74[_0x25f524(0x15b)]],_0x518eb9[_0x21ec74[_0x25f524(0x1d6)]]=_0x4c36f1[_0x21ec74['uxRLn']]);[_0x21ec74['Cfmst'],_0x21ec74[_0x25f524(0x180)]][_0x25f524(0x142)](_0x42d3c2)&&(this['_testResults'][_0x25f524(0x1af)](_0x518eb9),_0x518eb9[_0x25f524(0x16e)]=_0x21ec74[_0x25f524(0x1c1)](getHooksForTest,_0x396826));const _0x3a8b7a={'event_type':_0x21ec74['Tveay'](_0x42d3c2,_0x21ec74['OYYpQ'])?_0x21ec74[_0x25f524(0x151)]:_0x42d3c2};_0x42d3c2[_0x25f524(0xea)](/HookRun/)?(_0x518eb9[_0x21ec74[_0x25f524(0x189)]]=HOOK_TYPES_MAP[_0x518eb9[_0x21ec74[_0x25f524(0x189)]]],_0x3a8b7a[_0x21ec74[_0x25f524(0xf5)]]=_0x518eb9):_0x3a8b7a[_0x21ec74[_0x25f524(0x20f)]]=_0x518eb9,testhubUtils[_0x25f524(0x1ed)](FRAMEWORKS[_0x25f524(0x211)],_0x3a8b7a),await SessionHandler[_0x25f524(0xe3)](_0x3a8b7a);}catch(_0x4966ec){_0x21ec74[_0x25f524(0x155)](debug,_0x25f524(0x1be)+_0x42d3c2+'\x20with\x20error\x20:\x20'+_0x4966ec);}};['findGitConfig'](_0x5254d0){const _0x16f3ce=a27_0x500c99,_0x42971d={};_0x42971d[_0x16f3ce(0x1e6)]=function(_0x1a039c,_0x3e1be7){return _0x1a039c===_0x3e1be7;},_0x42971d[_0x16f3ce(0x20e)]=_0x16f3ce(0x206),_0x42971d[_0x16f3ce(0x1f2)]=_0x16f3ce(0x1d5);const _0x349547=_0x42971d,_0x50136b=path[_0x16f3ce(0xf0)];if(_0x349547[_0x16f3ce(0x1e6)](_0x5254d0,null)||_0x349547[_0x16f3ce(0x1e6)](_0x5254d0,'')||_0x349547[_0x16f3ce(0x1e6)](_0x5254d0,_0x50136b))return null;try{return fs[_0x16f3ce(0x20d)](path['join'](_0x5254d0,_0x349547['olnQc'],_0x349547['DeqNv'])),_0x5254d0;}catch(_0x15f482){const _0xab2dd0=path['dirname'](_0x5254d0);return this[_0x16f3ce(0x1b1)](_0xab2dd0);}}[a27_0x500c99(0x14a)]=async _0x6327e6=>{const _0xd37995=a27_0x500c99,_0x3d567d={'gCuTs':_0xd37995(0x1cd),'lUtrI':function(_0xff6bd5,_0x541e27){return _0xff6bd5(_0x541e27);}};try{this[_0xd37995(0x1da)]&&!this['current_hook']['markedStatus']&&(_0x6327e6[_0xd37995(0x157)]=this[_0xd37995(0x1da)]['hookAnalyticsId']);!_0x6327e6['hook_run_uuid']&&this[_0xd37995(0x1a4)]&&!this['current_test'][_0xd37995(0x1dd)]&&(_0x6327e6[_0xd37995(0x10f)]=this[_0xd37995(0x1a4)][_0xd37995(0xf2)]);if(_0x6327e6[_0xd37995(0x157)]||_0x6327e6[_0xd37995(0x10f)]){const _0xe74979={};_0xe74979[_0xd37995(0x172)]=_0x3d567d[_0xd37995(0x17e)],_0xe74979[_0xd37995(0x18e)]=[_0x6327e6],await SessionHandler[_0xd37995(0xe3)](_0xe74979);}}catch(_0x2cb087){_0x3d567d[_0xd37995(0x20a)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x2cb087);}};[a27_0x500c99(0x132)]=async _0x26c32c=>{const _0x20d036=a27_0x500c99,_0x5783bc={'XHtsF':_0x20d036(0x1e1),'KkDst':_0x20d036(0x131),'DadCn':function(_0x584ab4,_0x23a332){return _0x584ab4(_0x23a332);}};try{const _0x2167c9={};_0x2167c9[_0x20d036(0x1e3)]=_0x26c32c[_0x20d036(0x1e3)]||this['current_test'][_0x20d036(0xf2)],_0x2167c9[_0x20d036(0x1d3)]=_0x26c32c[_0x5783bc['XHtsF']];const _0x3ca833=_0x2167c9,_0x100469={};_0x100469[_0x20d036(0x172)]=_0x5783bc[_0x20d036(0x1f6)],_0x100469['test_run']=_0x3ca833,await SessionHandler[_0x20d036(0xe3)](_0x100469);}catch(_0x48d614){_0x5783bc[_0x20d036(0x184)](debug,_0x20d036(0x134)+_0x48d614);}};['analyticsResult'](_0x5b316c){const _0x52da9d=a27_0x500c99,_0x7e5da7={};_0x7e5da7[_0x52da9d(0x1d2)]='passed',_0x7e5da7[_0x52da9d(0x176)]=_0x52da9d(0x136),_0x7e5da7['SHAjE']=_0x52da9d(0x1a2);const _0x40a8bf=_0x7e5da7,_0x2e3d24={};return _0x2e3d24[STATE_PASSED]=_0x40a8bf[_0x52da9d(0x1d2)],_0x2e3d24[STATE_PENDING]=_0x40a8bf['ppNxg'],_0x2e3d24[STATE_FAILED]=_0x40a8bf[_0x52da9d(0x1d1)],_0x2e3d24[_0x5b316c];}[a27_0x500c99(0x178)](_0x1ae8c1){const _0xd2fc13=a27_0x500c99,_0x5b1a47={};_0x5b1a47['LpTGR']=function(_0x155219,_0x53f028){return _0x155219-_0x53f028;};const _0x3880c1=_0x5b1a47,_0x12c4bb=_0x1ae8c1[_0xd2fc13(0xfb)]();return _0x12c4bb[_0xd2fc13(0x1fe)](0x0,_0x3880c1[_0xd2fc13(0x190)](_0x12c4bb[_0xd2fc13(0x19a)],0x1))[_0xd2fc13(0x209)]('\x20');}[a27_0x500c99(0x13d)](_0x12c5ca){const _0x5e0451=a27_0x500c99,_0x373666={};_0x373666['nBKzB']=function(_0x496dae,_0x21d7c7){return _0x496dae-_0x21d7c7;};const _0x520ee3=_0x373666,_0x3a9fed=_0x12c5ca[_0x5e0451(0xfb)]();return _0x3a9fed[_0x5e0451(0x1fe)](0x0,_0x520ee3['nBKzB'](_0x3a9fed['length'],0x1));}[a27_0x500c99(0x122)](_0xd28757){const _0x425efe=a27_0x500c99,_0xd56b92={};_0xd56b92[_0x425efe(0x1fa)]=function(_0x2ccdae,_0x45be7c){return _0x2ccdae>_0x45be7c;};const _0x9a976e=_0xd56b92;if(_0xd28757[_0x425efe(0x1a9)])return _0xd28757[_0x425efe(0x1a9)];if(_0xd28757['ctx']){const _0x3432e2=_0xd28757[_0x425efe(0x13f)][_0x425efe(0x1ea)]?this[_0x425efe(0x122)](_0xd28757['ctx'][_0x425efe(0x1ea)]):null;if(_0x3432e2)return _0x3432e2;}if(_0xd28757['parent']){const _0x268fc1=this[_0x425efe(0x122)](_0xd28757[_0x425efe(0x112)])||(_0xd28757['parent']['ctx']&&_0xd28757['parent'][_0x425efe(0x13f)]['currentTest']?this['getRootParentFile'](_0xd28757[_0x425efe(0x112)][_0x425efe(0x13f)][_0x425efe(0x1ea)]):null);if(_0x268fc1)return _0x268fc1;_0xd28757[_0x425efe(0x112)][_0x425efe(0x1d4)]&&_0x9a976e[_0x425efe(0x1fa)](_0xd28757[_0x425efe(0x112)][_0x425efe(0x1d4)][_0x425efe(0x19a)],0x0)&&_0xd28757[_0x425efe(0x112)][_0x425efe(0x1d4)]['forEach'](_0x461e30=>{const _0x25c040=_0x425efe,_0x5a817c=_0x461e30[_0x25c040(0x13f)]?this[_0x25c040(0x122)](_0x461e30[_0x25c040(0x13f)]):null;if(_0x5a817c)return _0x5a817c;});}return null;}}module[a27_0x500c99(0x192)]=MyReporter;
1
+ 'use strict';const a27_0x367e47=a27_0x48df;(function(_0x4ca489,_0x545c65){const _0x25dcde=a27_0x48df,_0x5177de=_0x4ca489();while(!![]){try{const _0x88e621=parseInt(_0x25dcde(0xe7))/0x1*(parseInt(_0x25dcde(0x197))/0x2)+-parseInt(_0x25dcde(0x12e))/0x3+-parseInt(_0x25dcde(0x1fb))/0x4*(-parseInt(_0x25dcde(0xf3))/0x5)+-parseInt(_0x25dcde(0x1d0))/0x6+parseInt(_0x25dcde(0x132))/0x7+parseInt(_0x25dcde(0x1b7))/0x8+-parseInt(_0x25dcde(0x1e1))/0x9;if(_0x88e621===_0x545c65)break;else _0x5177de['push'](_0x5177de['shift']());}catch(_0x9314c9){_0x5177de['push'](_0x5177de['shift']());}}}(a27_0x37de,0x86961));const util=require(a27_0x367e47(0x156)),fs=require('fs'),path=require(a27_0x367e47(0x15d)),{requireModule}=require(a27_0x367e47(0x1ce)),Base=requireModule(a27_0x367e47(0xeb)),utils=requireModule('mocha/lib/utils.js'),color=Base[a27_0x367e47(0x135)],Mocha=requireModule(a27_0x367e47(0x190)),Runnable=requireModule('mocha/lib/runnable.js'),{v4:uuidv4}=require(a27_0x367e47(0x1c3)),bsSetupHelper=require(a27_0x367e47(0x1ce)),testhubUtils=require('../../../helpers/testhub/utils'),testHubConstants=require(a27_0x367e47(0x1d8)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),a27_0x46442d={};a27_0x46442d[a27_0x367e47(0xfd)]=a27_0x367e47(0x1f9),a27_0x46442d[a27_0x367e47(0x1c8)]='AFTER_ALL',a27_0x46442d[a27_0x367e47(0x113)]=a27_0x367e47(0x173),a27_0x46442d['after\x20each']=a27_0x367e47(0x1dc);const HOOK_TYPES_MAP=a27_0x46442d,{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_0x367e47(0x1f5)][a27_0x367e47(0x209)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x367e47(0x209)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require(a27_0x367e47(0x1b1)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x367e47(0x198)),RequestQueueHandler=require(a27_0x367e47(0x1b6)),requestQueueHandler=RequestQueueHandler[a27_0x367e47(0x1f2)]();function a27_0x48df(_0x477fd2,_0x4b23ab){const _0x37deb9=a27_0x37de();return a27_0x48df=function(_0x48dfab,_0x44df21){_0x48dfab=_0x48dfab-0xe2;let _0x51e818=_0x37deb9[_0x48dfab];return _0x51e818;},a27_0x48df(_0x477fd2,_0x4b23ab);}class MyReporter{constructor(_0x4c2b35,_0x33bbc8){const _0x12ec2b=a27_0x367e47,_0x4b8d12={'fPbHz':function(_0x325859,_0x5c27ce){return _0x325859===_0x5c27ce;},'mecyH':_0x12ec2b(0x163),'zLHJw':function(_0x2daf98,_0x333c74){return _0x2daf98+_0x333c74;},'teoMQ':function(_0x1b8729,_0x1cd336,_0x3401c5){return _0x1b8729(_0x1cd336,_0x3401c5);},'ocPhc':_0x12ec2b(0x170),'QDtFR':_0x12ec2b(0x206),'cvElS':_0x12ec2b(0x106),'KitaG':_0x12ec2b(0x153),'NFGCV':_0x12ec2b(0x17b),'NtrKr':function(_0x4e6ca1,_0x125f14){return _0x4e6ca1===_0x125f14;},'dxjkx':'doc','GXvpv':function(_0x2fdac2){return _0x2fdac2();},'kMPBi':_0x12ec2b(0xf2),'nqSCF':'HookRunFinished','xBkGm':_0x12ec2b(0x147),'VkEKU':_0x12ec2b(0x127),'RWCmi':function(_0x5a61c4,_0x526cc6){return _0x5a61c4+_0x526cc6;},'nhbHh':function(_0x10c4e9,_0x5bc92c,_0x15eec3){return _0x10c4e9(_0x5bc92c,_0x15eec3);},'nCXIB':_0x12ec2b(0x124),'kQtEl':_0x12ec2b(0xe2),'LbPvH':'\x20%s','ElGHB':function(_0x4cebe0,_0x413e51,_0x5a72e6){return _0x4cebe0(_0x413e51,_0x5a72e6);},'bPbDF':_0x12ec2b(0x12f),'dYmKb':_0x12ec2b(0x183),'JpwPN':_0x12ec2b(0x129),'sxwKT':function(_0x2e3895,_0x8248dc){return _0x2e3895===_0x8248dc;},'oQvsh':function(_0x4bcabd,_0x37ec8e){return _0x4bcabd+_0x37ec8e;},'yrYLu':_0x12ec2b(0xe3),'PSXyU':function(_0x54c368,_0x2159de,_0x345f37){return _0x54c368(_0x2159de,_0x345f37);},'gNyWH':'COMPLETED','GGNcl':_0x12ec2b(0x171),'DBhSc':_0x12ec2b(0x1d3),'CTcQz':function(_0x4fd1fd,_0x322b2b){return _0x4fd1fd===_0x322b2b;},'VawAH':function(_0x5ec924,_0x1436cf){return _0x5ec924===_0x1436cf;},'kakgh':function(_0x3d4d4f,_0x1c9f67){return _0x3d4d4f===_0x1c9f67;},'ymAIg':function(_0x2c5401,_0xa56c8e){return _0x2c5401===_0xa56c8e;},'JwNCJ':_0x12ec2b(0x19a),'SXWeg':_0x12ec2b(0x136),'YNCCJ':function(_0x450eb){return _0x450eb();},'wzqLJ':_0x12ec2b(0x155),'KfKKl':function(_0xbe25ea,_0x3f75f1){return _0xbe25ea===_0x3f75f1;},'TpthV':function(_0x5420cc,_0x3aa867){return _0x5420cc===_0x3aa867;},'sdKNi':function(_0x2bd8c8,_0x294fd5){return _0x2bd8c8(_0x294fd5);},'EBYNE':function(_0x1f7a1e){return _0x1f7a1e();},'AsizR':function(_0x9cf186,_0x3b56ac){return _0x9cf186===_0x3b56ac;},'FSihj':function(_0x5ce277){return _0x5ce277();},'jwloA':function(_0x267943,_0xf32932){return _0x267943===_0xf32932;},'imDNP':'xunit','wXidX':function(_0x2024bb,_0x5f16a9){return _0x2024bb(_0x5f16a9);},'WNDvL':function(_0x4e686d,_0x9e40ec){return _0x4e686d===_0x9e40ec;},'qpAoT':function(_0x42c5a8,_0x3a0d21){return _0x42c5a8!==_0x3a0d21;}};this[_0x12ec2b(0x154)]=_0x33bbc8[_0x12ec2b(0x16b)][_0x12ec2b(0x154)],this[_0x12ec2b(0x1cd)]=_0x4b8d12['FSihj'](isTestObservabilitySession),Base['call'](this,_0x4c2b35,_0x33bbc8),this['_indents']=0x0,this[_0x12ec2b(0x176)]=0x0,this[_0x12ec2b(0x186)]=[],this['finalResults']=[],this['suiteCount']=0x0,this['_buildCreated']=![],this[_0x12ec2b(0x208)]=[],this[_0x12ec2b(0xe8)]=_0x4b8d12[_0x12ec2b(0x19e)](getTestEnv),this[_0x12ec2b(0x1ad)]=new PathHelper({'cwd':process['cwd']()},this[_0x12ec2b(0xe8)]['location_prefix']),this['_upstreamConfig']=_0x33bbc8[_0x12ec2b(0x16b)][_0x12ec2b(0x19b)],this['registerListeners']();_0x4b8d12['jwloA'](this[_0x12ec2b(0x154)],_0x4b8d12[_0x12ec2b(0xf1)])&&(this['docHtml']='',this[_0x12ec2b(0x1b9)]=0x2);_0x4c2b35[_0x12ec2b(0x199)](EVENT_RUN_BEGIN,async()=>{const _0x24da36=_0x12ec2b;_0x4b8d12[_0x24da36(0x201)](this[_0x24da36(0x154)],_0x4b8d12[_0x24da36(0x115)])&&Base[_0x24da36(0x112)]();})['on'](EVENT_SUITE_BEGIN,_0x19b8c8=>{const _0x35d5c7=_0x12ec2b;if(_0x19b8c8[_0x35d5c7(0x138)])return;if(_0x4b8d12[_0x35d5c7(0x201)](this[_0x35d5c7(0x154)],_0x4b8d12[_0x35d5c7(0x115)]))this['increaseIndent'](),Base[_0x35d5c7(0x112)](_0x4b8d12['zLHJw'](_0x4b8d12[_0x35d5c7(0x158)](this[_0x35d5c7(0x1d6)](),_0x4b8d12[_0x35d5c7(0xe5)](color,_0x4b8d12[_0x35d5c7(0x205)],_0x4b8d12['QDtFR'])),_0x4b8d12[_0x35d5c7(0xe5)](color,_0x4b8d12[_0x35d5c7(0x1a7)],_0x4b8d12[_0x35d5c7(0xf8)])),_0x4b8d12[_0x35d5c7(0x1ec)],_0x19b8c8['title'],global[_0x35d5c7(0x16a)]);else _0x4b8d12['NtrKr'](this[_0x35d5c7(0x154)],_0x4b8d12[_0x35d5c7(0xf1)])&&(this['docAppend'](this[_0x35d5c7(0x1d6)]()+_0x35d5c7(0x1cc)),++this[_0x35d5c7(0x1b9)],this[_0x35d5c7(0x1a4)](this['indent']()+_0x35d5c7(0x174)+utils[_0x35d5c7(0x18f)](_0x19b8c8[_0x35d5c7(0x1b0)]+_0x35d5c7(0x1ca)+global[_0x35d5c7(0x16a)])+_0x35d5c7(0x1e7)),this[_0x35d5c7(0x1a4)](this[_0x35d5c7(0x1d6)]()+_0x35d5c7(0x1d7)));})['on'](EVENT_HOOK_BEGIN,async _0x1d2084=>{const _0x2d90c2=_0x12ec2b;if(_0x4b8d12[_0x2d90c2(0x201)](testhubUtils[_0x2d90c2(0x16f)](testHubConstants['EVENT'][_0x2d90c2(0x1da)]),!![])){if(!_0x1d2084[_0x2d90c2(0x177)])_0x1d2084['hookAnalyticsId']=_0x4b8d12[_0x2d90c2(0x133)](uuidv4);else _0x1d2084[_0x2d90c2(0x1b4)]&&(_0x1d2084[_0x2d90c2(0x177)]=_0x4b8d12[_0x2d90c2(0x133)](uuidv4),delete _0x1d2084[_0x2d90c2(0x1b4)]);_0x1d2084['started_at']=new Date()[_0x2d90c2(0x182)](),this['current_hook']=_0x1d2084,await this[_0x2d90c2(0xef)](_0x1d2084,undefined,![],_0x4b8d12[_0x2d90c2(0x11f)]);}})['on'](EVENT_HOOK_END,async _0x285312=>{const _0x2beb2d=_0x12ec2b;_0x4b8d12[_0x2beb2d(0x201)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants['EVENT'][_0x2beb2d(0x148)]),!![])&&(!_0x285312[_0x2beb2d(0x1b4)]&&(_0x285312[_0x2beb2d(0x1b4)]=!![],await this[_0x2beb2d(0xef)](_0x285312,undefined,![],_0x4b8d12[_0x2beb2d(0x1eb)])));})['on'](EVENT_SUITE_END,_0x325008=>{const _0x574696=_0x12ec2b,_0x56959d={'GfJfi':function(_0x5aba9c,_0x214d43){return _0x4b8d12['fPbHz'](_0x5aba9c,_0x214d43);},'opIfZ':_0x4b8d12[_0x574696(0x1fa)],'BPGdG':function(_0x588c56,_0x29bee2){const _0x712ff3=_0x574696;return _0x4b8d12[_0x712ff3(0x168)](_0x588c56,_0x29bee2);},'fHUcO':_0x4b8d12['VkEKU'],'YFsKT':function(_0x1fd5ef,_0x2b945b){const _0x1dc374=_0x574696;return _0x4b8d12[_0x1dc374(0x1ab)](_0x1fd5ef,_0x2b945b);},'DzTXe':function(_0x23ed48,_0x215622){const _0x5a2555=_0x574696;return _0x4b8d12[_0x5a2555(0x1ab)](_0x23ed48,_0x215622);},'UDQAo':function(_0x3efaa5,_0x2f9a45,_0x200bed){return _0x4b8d12['nhbHh'](_0x3efaa5,_0x2f9a45,_0x200bed);},'pgUPp':_0x4b8d12[_0x574696(0x141)],'VWIkJ':_0x4b8d12[_0x574696(0x18b)],'YMTiq':_0x4b8d12['LbPvH'],'YDwtV':function(_0x4de0d7,_0x5cff39){const _0x441e4d=_0x574696;return _0x4b8d12[_0x441e4d(0x1ab)](_0x4de0d7,_0x5cff39);},'AZIed':function(_0x57b7b5,_0x15aab9){const _0x4c0ebe=_0x574696;return _0x4b8d12[_0x4c0ebe(0x158)](_0x57b7b5,_0x15aab9);},'zTSlC':function(_0x58d197,_0x1b1a24,_0xe74be){const _0x59a60c=_0x574696;return _0x4b8d12[_0x59a60c(0xe5)](_0x58d197,_0x1b1a24,_0xe74be);},'qKpOV':function(_0x21d6e9,_0x2cb4d2,_0x33418f){const _0x1ed9f6=_0x574696;return _0x4b8d12[_0x1ed9f6(0x1a5)](_0x21d6e9,_0x2cb4d2,_0x33418f);},'yvWTS':_0x4b8d12[_0x574696(0x1a2)],'KccNw':_0x4b8d12['dYmKb'],'KoJmj':_0x4b8d12['JpwPN']};if(_0x325008['root'])return;if(_0x4b8d12[_0x574696(0x1c4)](this[_0x574696(0x154)],_0x4b8d12[_0x574696(0x115)]))Base[_0x574696(0x112)](),Base['consoleLog'](_0x4b8d12[_0x574696(0x102)](_0x4b8d12[_0x574696(0x102)](this[_0x574696(0x1d6)](),_0x4b8d12[_0x574696(0xe5)](color,_0x4b8d12['yrYLu'],_0x4b8d12['QDtFR'])),_0x4b8d12[_0x574696(0x114)](color,_0x4b8d12[_0x574696(0x1a7)],_0x4b8d12['KitaG'])),_0x4b8d12[_0x574696(0x16d)],_0x325008[_0x574696(0x1b0)],global[_0x574696(0x16a)]),this[_0x574696(0x186)][_0x574696(0x120)](_0x5058a7=>{const _0x16669d=_0x574696;if(_0x56959d[_0x16669d(0xe6)](_0x5058a7[_0x16669d(0x13f)],_0x56959d[_0x16669d(0x110)])){var _0x58506f;_0x56959d[_0x16669d(0xed)](_0x5058a7[_0x16669d(0xff)],_0x56959d[_0x16669d(0x19d)])?(_0x58506f=_0x56959d['YFsKT'](_0x56959d[_0x16669d(0x14c)](this['indent'](),_0x56959d[_0x16669d(0x11e)](color,_0x56959d['pgUPp'],_0x56959d[_0x16669d(0x14a)]('\x20\x20',Base['symbols']['ok']))),_0x56959d[_0x16669d(0x11e)](color,_0x56959d[_0x16669d(0x11b)],_0x56959d[_0x16669d(0x14d)])),Base[_0x16669d(0x112)](_0x58506f,_0x5058a7[_0x16669d(0x1b0)])):(_0x58506f=_0x56959d[_0x16669d(0x101)](_0x56959d['DzTXe'](_0x56959d[_0x16669d(0x1c7)](this[_0x16669d(0x1d6)](),_0x56959d[_0x16669d(0x11e)](color,_0x56959d[_0x16669d(0x164)],_0x56959d[_0x16669d(0x1c7)]('\x20\x20',Base[_0x16669d(0x1f1)]['ok']))),_0x56959d[_0x16669d(0x146)](color,_0x56959d['VWIkJ'],_0x56959d['YMTiq'])),_0x56959d[_0x16669d(0x19f)](color,_0x5058a7[_0x16669d(0xff)],_0x56959d[_0x16669d(0x104)])),Base['consoleLog'](_0x58506f,_0x5058a7[_0x16669d(0x1b0)],_0x5058a7['duration']));}else Base['consoleLog'](_0x56959d[_0x16669d(0x101)](this[_0x16669d(0x1d6)](),_0x56959d[_0x16669d(0x11e)](color,_0x56959d[_0x16669d(0x131)],_0x56959d['KoJmj'])),++this[_0x16669d(0x176)],_0x5058a7[_0x16669d(0x1b0)]);}),this['decreaseIndent']();else _0x4b8d12[_0x574696(0x1c4)](this[_0x574696(0x154)],_0x4b8d12[_0x574696(0xf1)])&&(this[_0x574696(0x1a4)](this[_0x574696(0x1d6)]()+_0x574696(0xf0)),--this[_0x574696(0x1b9)],this[_0x574696(0x1a4)](this['indent']()+_0x574696(0xfe)),--this[_0x574696(0x1b9)]);Array[_0x574696(0x10b)][_0x574696(0x11a)][_0x574696(0x122)](this[_0x574696(0x109)],this[_0x574696(0x186)]),this['results']=[];})['on'](EVENT_TEST_PASS,async _0x2ce7c2=>{const _0x51c9fd=_0x12ec2b;this['results'][_0x51c9fd(0x11a)]({'speed':_0x2ce7c2[_0x51c9fd(0xff)],'suite':_0x2ce7c2['parent'][_0x51c9fd(0x1b0)],'title':_0x2ce7c2[_0x51c9fd(0x1b0)],'fullTitle':_0x2ce7c2['fullTitle'](),'duration':_0x2ce7c2[_0x51c9fd(0x19c)],'state':_0x2ce7c2['state'],'err':{},'currentRetry':_0x2ce7c2[_0x51c9fd(0x1a1)](),'titlePathV':_0x2ce7c2[_0x51c9fd(0x123)](),'isPending':_0x2ce7c2[_0x51c9fd(0x1a9)]()});if(_0x4b8d12[_0x51c9fd(0x1c4)](this[_0x51c9fd(0x154)],_0x4b8d12[_0x51c9fd(0x10c)]))_0x4b8d12[_0x51c9fd(0x168)](_0x2ce7c2[_0x51c9fd(0xff)],_0x4b8d12[_0x51c9fd(0x13a)])?process[_0x51c9fd(0x1db)][_0x51c9fd(0x161)](Base[_0x51c9fd(0x135)](_0x4b8d12[_0x51c9fd(0x15e)],Base['symbols'][_0x51c9fd(0x171)])):process[_0x51c9fd(0x1db)][_0x51c9fd(0x161)](Base['color'](_0x2ce7c2[_0x51c9fd(0xff)],Base[_0x51c9fd(0x1f1)]['dot']));else{if(_0x4b8d12[_0x51c9fd(0x196)](this[_0x51c9fd(0x154)],_0x4b8d12[_0x51c9fd(0xf1)])){this[_0x51c9fd(0x1a4)](this[_0x51c9fd(0x1d6)]()+_0x51c9fd(0x116)+utils['escape'](_0x2ce7c2[_0x51c9fd(0x1b0)])+_0x51c9fd(0x107)),this[_0x51c9fd(0x1a4)](this[_0x51c9fd(0x1d6)]()+'\x20\x20<dt>'+utils[_0x51c9fd(0x18f)](_0x2ce7c2[_0x51c9fd(0xfc)])+'</dt>');var _0x12da66=utils[_0x51c9fd(0x18f)](utils[_0x51c9fd(0x139)](_0x2ce7c2[_0x51c9fd(0xf7)]));this['docAppend'](this[_0x51c9fd(0x1d6)]()+_0x51c9fd(0x18a)+_0x12da66+'</code></pre></dd>');}}_0x4b8d12[_0x51c9fd(0x1f8)](testhubUtils[_0x51c9fd(0x16f)](),!![])&&(!_0x2ce7c2['markedStatus']&&(_0x2ce7c2[_0x51c9fd(0x1b4)]=!![],await this[_0x51c9fd(0xef)](_0x2ce7c2)));})['on'](EVENT_TEST_FAIL,async(_0x1ecc57,_0xf6932a)=>{const _0x323731=_0x12ec2b;this['results'][_0x323731(0x11a)]({'title':_0x1ecc57[_0x323731(0x1b0)],'suite':_0x1ecc57['parent'][_0x323731(0x1b0)],'state':_0x1ecc57['state'],'err':{'message':util[_0x323731(0x1de)](_0xf6932a)},'fullTitle':_0x1ecc57[_0x323731(0x1fe)](),'speed':_0x1ecc57[_0x323731(0xff)],'currentRetry':_0x1ecc57['currentRetry'](),'titlePathV':_0x1ecc57[_0x323731(0x123)]()});if(_0x4b8d12[_0x323731(0x1a6)](this[_0x323731(0x154)],_0x4b8d12[_0x323731(0x10c)]))process[_0x323731(0x1db)][_0x323731(0x161)](Base['color'](_0x4b8d12[_0x323731(0x1e4)],Base[_0x323731(0x1f1)]['bang']));else{if(_0x4b8d12[_0x323731(0x14e)](this[_0x323731(0x154)],_0x4b8d12['dxjkx'])){const _0x2a52be=_0x4b8d12['JwNCJ']['split']('|');let _0x3a8f80=0x0;while(!![]){switch(_0x2a52be[_0x3a8f80++]){case'0':this[_0x323731(0x1a4)](this[_0x323731(0x1d6)]()+_0x323731(0x1c2)+utils['escape'](_0x1ecc57['file'])+'</dt>');continue;case'1':this['docAppend'](this[_0x323731(0x1d6)]()+_0x323731(0x1c2)+utils[_0x323731(0x18f)](_0x1ecc57[_0x323731(0x1b0)])+_0x323731(0x107));continue;case'2':this[_0x323731(0x1a4)](this['indent']()+_0x323731(0x1ba)+_0x13cd5c+_0x323731(0x143));continue;case'3':var _0x13cd5c=utils[_0x323731(0x18f)](utils[_0x323731(0x139)](_0x1ecc57['body']));continue;case'4':this[_0x323731(0x1a4)](this[_0x323731(0x1d6)]()+_0x323731(0x121)+utils[_0x323731(0x18f)](_0x1ecc57[_0x323731(0x1b5)])+_0x323731(0x1cb));continue;}break;}}}if(_0x4b8d12['fPbHz'](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x323731(0x152)][_0x323731(0x148)]),!![])){if(!_0x1ecc57[_0x323731(0x1b4)]){_0x1ecc57['markedStatus']=!![];if(_0x1ecc57['testAnalyticsId'])await this[_0x323731(0xef)](_0x1ecc57,_0xf6932a);else _0x1ecc57[_0x323731(0x177)]&&await this[_0x323731(0xef)](_0x1ecc57,_0xf6932a,![],_0x4b8d12[_0x323731(0x1eb)]);}}})['on'](EVENT_TEST_PENDING,async _0x42a0b5=>{const _0x1e8bf9=_0x12ec2b;this['results'][_0x1e8bf9(0x11a)]({'title':_0x42a0b5['title'],'suite':_0x42a0b5[_0x1e8bf9(0xea)]['title'],'state':_0x42a0b5[_0x1e8bf9(0x13f)],'err':{},'fullTitle':_0x42a0b5['fullTitle'](),'speed':_0x42a0b5['speed'],'currentRetry':_0x42a0b5[_0x1e8bf9(0x1a1)](),'titlePathV':_0x42a0b5[_0x1e8bf9(0x123)]()}),_0x4b8d12[_0x1e8bf9(0x14e)](this['type'],_0x4b8d12[_0x1e8bf9(0x10c)])&&process[_0x1e8bf9(0x1db)][_0x1e8bf9(0x161)](Base[_0x1e8bf9(0x135)](_0x4b8d12[_0x1e8bf9(0x1b3)],Base['symbols']['comma'])),_0x4b8d12[_0x1e8bf9(0x14e)](testhubUtils[_0x1e8bf9(0x16f)](),!![])&&(!_0x42a0b5[_0x1e8bf9(0x1e5)]&&(_0x42a0b5[_0x1e8bf9(0x1e5)]=_0x4b8d12['YNCCJ'](uuidv4)),!_0x42a0b5[_0x1e8bf9(0x1b4)]&&(_0x42a0b5[_0x1e8bf9(0x1b4)]=!![],await this[_0x1e8bf9(0xef)](_0x42a0b5,undefined,![],_0x4b8d12['wzqLJ'])));})['on'](EVENT_TEST_BEGIN,async _0x119c16=>{_0x4b8d12['KfKKl'](testhubUtils['shouldProcessEventForTesthub'](),!![])&&await this['testStarted'](_0x119c16);})['on'](EVENT_TEST_END,async _0x26f735=>{const _0x32cf3b=_0x12ec2b;_0x4b8d12[_0x32cf3b(0x165)](testhubUtils[_0x32cf3b(0x16f)](),!![])&&(!_0x26f735[_0x32cf3b(0x1b4)]&&(_0x26f735['markedStatus']=!![],await this[_0x32cf3b(0xef)](_0x26f735)));})['once'](EVENT_RUN_END,async()=>{const _0x505122=_0x12ec2b;try{if(_0x4b8d12['fPbHz'](testhubUtils[_0x505122(0x16f)](),!![])){const _0x5af6fe=_0x4b8d12[_0x505122(0x15f)](getHookSkippedTests,this[_0x505122(0x144)][_0x505122(0x1c1)]);for(const _0x1e65dc of _0x5af6fe){!_0x1e65dc[_0x505122(0x1e5)]&&(_0x1e65dc['testAnalyticsId']=_0x4b8d12[_0x505122(0x103)](uuidv4)),await this['sendTestRunEvent'](_0x1e65dc,undefined,![],_0x4b8d12[_0x505122(0x166)]);}}}catch(_0x538ad9){_0x4b8d12[_0x505122(0x15f)](debug,_0x505122(0x117)+_0x538ad9);}await requestQueueHandler[_0x505122(0x1e6)](),_0x4b8d12['AsizR'](this[_0x505122(0x154)],_0x4b8d12[_0x505122(0xf1)])&&Base[_0x505122(0x112)](this['docHtml']);});if(this['type']&&![_0x4b8d12[_0x12ec2b(0xf1)],_0x4b8d12[_0x12ec2b(0x1ef)],_0x4b8d12[_0x12ec2b(0x115)],_0x4b8d12[_0x12ec2b(0x10c)]][_0x12ec2b(0x1ea)](this[_0x12ec2b(0x154)])){const _0x5051a6=this['type']['trim']();this[_0x12ec2b(0x189)]=null;try{this[_0x12ec2b(0x189)]=_0x4b8d12[_0x12ec2b(0x1d2)](requireModule,_0x12ec2b(0x160)+_0x5051a6+_0x12ec2b(0x15a));}catch{}if(_0x4b8d12[_0x12ec2b(0x172)](this[_0x12ec2b(0x189)],null))try{this['Reporter']=_0x4b8d12['wXidX'](require,_0x5051a6);}catch(_0x574896){console[_0x12ec2b(0x1f7)]('Failed\x20to\x20load\x20reporter\x20'+_0x5051a6);}if(_0x4b8d12[_0x12ec2b(0x159)](this[_0x12ec2b(0x189)],null)){const _0x10c4a9={};_0x10c4a9[_0x12ec2b(0x108)]=_0x33bbc8[_0x12ec2b(0x16b)],this[_0x12ec2b(0x189)]=new this[(_0x12ec2b(0x189))](_0x4c2b35,_0x10c4a9);}}}[a27_0x367e47(0x1d6)](){const _0x27ffd6=a27_0x367e47,_0x2fd794={'tICAL':function(_0x4a1ad4,_0x3c7ccb){return _0x4a1ad4(_0x3c7ccb);}};return _0x2fd794[_0x27ffd6(0xfb)](Array,this['_indents'])['join']('\x20\x20');}[a27_0x367e47(0x169)](){const _0x26dcde=a27_0x367e47;this[_0x26dcde(0x15b)]++;}[a27_0x367e47(0x1a3)](){this['_indents']--;}[a27_0x367e47(0x1a4)](_0x15227a){const _0x157c34=a27_0x367e47;this[_0x157c34(0x14f)]+=_0x15227a;}[a27_0x367e47(0x157)](_0x262480,_0x40e7b4){const _0x382358=a27_0x367e47,_0x526f85={'kAEjH':function(_0x4def4b,_0x4fa9d1){return _0x4def4b(_0x4fa9d1);}},_0x4203d8={};_0x4203d8['failureCount']=_0x262480,_0x4203d8[_0x382358(0x186)]=this[_0x382358(0x109)],_0x526f85[_0x382358(0x1df)](_0x40e7b4,_0x4203d8);}[a27_0x367e47(0x13e)](){const _0x51846a=a27_0x367e47;process[_0x51846a(0x145)]('bs:addLog:'+process['pid']),process['on'](_0x51846a(0x12b)+process[_0x51846a(0x18c)],this[_0x51846a(0xfa)][_0x51846a(0x1dd)](this)),process['removeAllListeners'](_0x51846a(0x17f)+process[_0x51846a(0x18c)]),process['on'](_0x51846a(0x17f)+process[_0x51846a(0x18c)],this[_0x51846a(0x118)][_0x51846a(0x1dd)](this));}[a27_0x367e47(0x204)]=async _0x2a285c=>{const _0x14b71e=a27_0x367e47,_0x2c8c62={'hPPkE':function(_0x1c53ca){return _0x1c53ca();},'lbQBQ':function(_0x36ea69,_0x314615){return _0x36ea69>_0x314615;},'XWrgc':function(_0x5541c0,_0x9e453d){return _0x5541c0===_0x9e453d;},'EPsQK':_0x14b71e(0x149),'YrAaG':function(_0x338b87,_0x17c386){return _0x338b87(_0x17c386);}};try{const _0xefe58d=this[_0x14b71e(0x11c)];this[_0x14b71e(0x11c)]=_0x2a285c,_0x2a285c[_0x14b71e(0x194)]=null,_0x2a285c[_0x14b71e(0x1e5)]=_0x2c8c62[_0x14b71e(0x134)](uuidv4),_0x2a285c[_0x14b71e(0x1af)]=new Date()['toISOString'](),_0x2c8c62[_0x14b71e(0x178)](_0x2a285c['_currentRetry'],0x0)&&_0xefe58d&&_0x2c8c62[_0x14b71e(0x193)](_0xefe58d[_0x14b71e(0x1b0)],_0x2a285c['title'])?(_0x2a285c['retryOf']=_0xefe58d[_0x14b71e(0x1e5)],await this[_0x14b71e(0xef)](_0x2a285c,undefined,![],_0x2c8c62[_0x14b71e(0x105)]),_0xefe58d[_0x14b71e(0x13f)]=STATE_FAILED,await this['sendTestRunEvent'](_0xefe58d,undefined,!![])):await this['sendTestRunEvent'](_0x2a285c,undefined,![],_0x2c8c62['EPsQK']);}catch(_0x25cd42){_0x2c8c62[_0x14b71e(0x10a)](debug,_0x14b71e(0x11d)+_0x25cd42);}};[a27_0x367e47(0xef)]=async(_0x5b4b1d,_0x4cc51b=undefined,_0x5b6f83=![],_0x53f0d9='TestRunFinished')=>{const _0x470340=a27_0x367e47,_0x1c8534={'WqZQQ':function(_0x3da909,_0x257064){return _0x3da909===_0x257064;},'mwEJp':function(_0x4af888,_0x21d010){return _0x4af888!==_0x21d010;},'IkceD':'test','Ghlcp':'err','AuDFs':function(_0x1ab1e7,_0x1e47cf){return _0x1ab1e7!==_0x1e47cf;},'yeznH':function(_0x16b1a7,_0x5abb1f){return _0x16b1a7!==_0x5abb1f;},'mBbVQ':function(_0x500e2d,_0x16edae){return _0x500e2d!==_0x16edae;},'kvESQ':_0x470340(0x1c9),'WTgIW':_0x470340(0x1f3),'fcXtG':'javascript','RSCuE':function(_0x366280,_0x452bdb){return _0x366280===_0x452bdb;},'iCYGp':_0x470340(0x155),'yUYec':_0x470340(0xee),'kPRpn':function(_0x27f7e3,_0x441121){return _0x27f7e3-_0x441121;},'BnxQa':'AssertionError','nlfbN':_0x470340(0x130),'zubCl':_0x470340(0x1af),'ukIKq':_0x470340(0x12d),'oSdhf':function(_0xa968a8,_0x1bbffc){return _0xa968a8(_0x1bbffc);},'bSAyt':'HookRunFinished','eveAa':function(_0x35cff3,_0x2b9d6f){return _0x35cff3!==_0x2b9d6f;},'Frryv':_0x470340(0x1f4),'DeHrZ':_0x470340(0x147),'hUNIH':_0x470340(0x113),'jkKFr':'failure','liQiZ':'failure_backtrace','eYTSD':'backtrace','nVcAq':_0x470340(0x1d4),'Tseqf':_0x470340(0x111),'TGAgT':_0x470340(0x1bd),'WxQrl':_0x470340(0x13c),'MXZPF':'hook_run','ivqiP':'test_run','LgGuP':function(_0x407d6e,_0x266f63){return _0x407d6e(_0x266f63);}};try{if(_0x5b4b1d[_0x470340(0xf7)]&&_0x5b4b1d[_0x470340(0xf7)][_0x470340(0x181)](/browserstack internal helper hook/))return;let _0xf6268d=[];if(_0x1c8534[_0x470340(0x207)](_0x5b4b1d[_0x470340(0x13f)],STATE_FAILED)){if(_0x1c8534[_0x470340(0x10e)](_0x5b4b1d[_0x470340(0x1b5)],undefined))_0xf6268d=_0x5b4b1d[_0x470340(0x1b5)]['multiple']?[_0x5b4b1d[_0x470340(0x1b5)]['multiple'],_0x1c8534[_0x470340(0x12c)]]:[_0x5b4b1d['err'],_0x1c8534[_0x470340(0x140)]];else _0x1c8534[_0x470340(0xf6)](_0x4cc51b,undefined)?_0xf6268d=[_0x4cc51b,_0x1c8534['Ghlcp']]:_0xf6268d=[];}const _0x4166bd=_0x1c8534[_0x470340(0x137)](_0x5b4b1d[_0x470340(0x1b5)],undefined)?_0x5b4b1d[_0x470340(0x1b5)][_0x470340(0x202)]():_0x1c8534[_0x470340(0x1bb)](_0x4cc51b,undefined)?_0x4cc51b[_0x470340(0x202)]():undefined;let _0x308e7d;try{_0x308e7d=this['getRootParentFile'](_0x5b4b1d);}catch(_0x2c4dbd){_0x308e7d=null;}const _0x41b87c=_0x308e7d?this[_0x470340(0x1a8)](_0x308e7d):null,_0x115441=_0x308e7d?this[_0x470340(0x1ad)][_0x470340(0xe9)](this[_0x470340(0x1c5)](_0x5b4b1d)):_0x1c8534[_0x470340(0x1e2)],_0x43d6b1={'framework':_0x1c8534['WTgIW'],'uuid':_0x5b4b1d[_0x470340(0x1e5)]||_0x5b4b1d[_0x470340(0x177)],'name':_0x5b4b1d[_0x470340(0x1b0)],'body':{'lang':_0x1c8534[_0x470340(0x1e0)],'code':_0x5b4b1d[_0x470340(0xf7)]},'scope':this['scope'](_0x5b4b1d),'scopes':this[_0x470340(0x162)](_0x5b4b1d),'identifier':_0x5b4b1d[_0x470340(0x1fe)](),'file_name':_0x115441,'vc_filepath':_0x41b87c?path[_0x470340(0x184)](_0x41b87c,_0x308e7d):null,'location':_0x115441,'result':_0x1c8534[_0x470340(0x1ae)](_0x53f0d9,_0x1c8534[_0x470340(0x1d5)])?_0x1c8534[_0x470340(0xe4)]:this[_0x470340(0x1bc)](_0x5b4b1d[_0x470340(0x13f)]),'failure_reason':_0x4166bd,'duration_in_ms':_0x5b4b1d['duration']||(_0x53f0d9[_0x470340(0x181)](/Finished/)||_0x53f0d9[_0x470340(0x181)](/Skipped/)?_0x1c8534[_0x470340(0x1e8)](Date[_0x470340(0x1e3)](),new Date(_0x5b4b1d[_0x470340(0x1af)])[_0x470340(0x18d)]()):null),'started_at':_0x5b4b1d[_0x470340(0x1af)],'finished_at':_0x53f0d9['match'](/Finished/)||_0x53f0d9[_0x470340(0x181)](/Skipped/)?new Date()[_0x470340(0x182)]():null,'failure':failureData[_0x470340(0x122)](null,_0xf6268d),'failure_type':!_0x4166bd?null:_0x4166bd['match'](/AssertionError/)?_0x1c8534[_0x470340(0x1ff)]:_0x1c8534[_0x470340(0x179)],'retry_of':_0x5b4b1d['retryOf']};testhubUtils[_0x470340(0x1be)](_0x43d6b1,_0x53f0d9,_0x5b4b1d,FRAMEWORKS[_0x470340(0x151)]);_0x1c8534['RSCuE'](_0x53f0d9,_0x1c8534['iCYGp'])&&!_0x43d6b1[_0x1c8534[_0x470340(0xec)]]&&(_0x43d6b1[_0x1c8534[_0x470340(0xec)]]=_0x43d6b1[_0x1c8534[_0x470340(0x187)]]);if(_0x53f0d9[_0x470340(0x181)](/HookRun/))[_0x43d6b1[_0x470340(0x13c)],_0x43d6b1[_0x470340(0x192)]]=_0x1c8534[_0x470340(0x12a)](getHookDetails,_0x5b4b1d[_0x470340(0x1fe)]()||_0x5b4b1d[_0x470340(0x10f)]||_0x5b4b1d[_0x470340(0x1b0)]),_0x1c8534[_0x470340(0x1ae)](_0x53f0d9,_0x1c8534[_0x470340(0x17c)])&&(_0x1c8534[_0x470340(0x1ed)](_0x43d6b1[_0x470340(0xf9)],_0x1c8534[_0x470340(0x128)])&&(_0x43d6b1[_0x470340(0xf9)]=_0x1c8534[_0x470340(0x1b8)]),_0x1c8534[_0x470340(0x1ae)](_0x43d6b1['hook_type'],_0x1c8534[_0x470340(0x17e)])&&_0x1c8534[_0x470340(0x1ae)](_0x43d6b1[_0x470340(0xf9)],_0x1c8534['Frryv'])&&!_0x5b4b1d[_0x470340(0x200)][_0x470340(0x1e9)][_0x470340(0x1b4)]&&(_0x5b4b1d['ctx'][_0x470340(0x1e9)]['markedStatus']=!![],_0x5b4b1d['ctx'][_0x470340(0x1e9)][_0x470340(0x13f)]=STATE_FAILED,await this[_0x470340(0xef)](_0x5b4b1d[_0x470340(0x200)]['currentTest'],undefined,!![])));else _0x53f0d9[_0x470340(0x181)](/TestRun/)&&_0x1c8534[_0x470340(0x12a)](mapTestHooks,_0x5b4b1d);const _0x17dd2f=_0x43d6b1[_0x1c8534['jkKFr']][0x0];_0x17dd2f&&(_0x43d6b1[_0x1c8534['liQiZ']]=_0x17dd2f[_0x1c8534[_0x470340(0x195)]],_0x43d6b1[_0x1c8534[_0x470340(0x1d9)]]=_0x17dd2f[_0x1c8534[_0x470340(0x1fd)]]);[_0x1c8534[_0x470340(0x191)],_0x1c8534[_0x470340(0x1d5)]][_0x470340(0x1ea)](_0x53f0d9)&&(this[_0x470340(0x208)][_0x470340(0x11a)](_0x43d6b1),_0x43d6b1[_0x470340(0x20a)]=_0x1c8534[_0x470340(0x12a)](getHooksForTest,_0x5b4b1d));const _0x235feb={'event_type':_0x1c8534['RSCuE'](_0x53f0d9,_0x1c8534['iCYGp'])?_0x1c8534[_0x470340(0x191)]:_0x53f0d9};_0x53f0d9[_0x470340(0x181)](/HookRun/)?(_0x43d6b1[_0x1c8534[_0x470340(0x1a0)]]=HOOK_TYPES_MAP[_0x43d6b1[_0x1c8534[_0x470340(0x1a0)]]],_0x235feb[_0x1c8534[_0x470340(0x13b)]]=_0x43d6b1):_0x235feb[_0x1c8534[_0x470340(0x17d)]]=_0x43d6b1,testhubUtils['setCurrentTestData'](FRAMEWORKS['MOCHA'],_0x235feb),await SessionHandler[_0x470340(0x1cf)](_0x235feb);}catch(_0x23cff7){_0x1c8534[_0x470340(0x1f0)](debug,_0x470340(0x16e)+_0x53f0d9+_0x470340(0x1ac)+_0x23cff7);}};[a27_0x367e47(0x1a8)](_0x103ca5){const _0x5157c9=a27_0x367e47,_0x15286e={};_0x15286e[_0x5157c9(0x1bf)]=function(_0x2dc429,_0xad15eb){return _0x2dc429===_0xad15eb;},_0x15286e['dBIOG']=function(_0x101d01,_0x2fa501){return _0x101d01===_0x2fa501;},_0x15286e['xxnAd']='.git',_0x15286e[_0x5157c9(0xf4)]=_0x5157c9(0x18e);const _0x2b3159=_0x15286e,_0x1d4bce=path[_0x5157c9(0x1b2)];if(_0x2b3159['sNJLn'](_0x103ca5,null)||_0x2b3159[_0x5157c9(0x185)](_0x103ca5,'')||_0x2b3159[_0x5157c9(0x185)](_0x103ca5,_0x1d4bce))return null;try{return fs[_0x5157c9(0x167)](path[_0x5157c9(0x1c6)](_0x103ca5,_0x2b3159[_0x5157c9(0x125)],_0x2b3159[_0x5157c9(0xf4)])),_0x103ca5;}catch(_0x998764){const _0x5bc00a=path[_0x5157c9(0x142)](_0x103ca5);return this[_0x5157c9(0x1a8)](_0x5bc00a);}}[a27_0x367e47(0xfa)]=async _0x391e8b=>{const _0x2a88a3=a27_0x367e47,_0x196708={'NMpQg':_0x2a88a3(0x1c0),'qjUsQ':function(_0x5a92a2,_0x2530f7){return _0x5a92a2(_0x2530f7);}};try{this[_0x2a88a3(0x14b)]&&!this[_0x2a88a3(0x14b)][_0x2a88a3(0x1b4)]&&(_0x391e8b['hook_run_uuid']=this[_0x2a88a3(0x14b)][_0x2a88a3(0x177)]);!_0x391e8b[_0x2a88a3(0x1f6)]&&this[_0x2a88a3(0x11c)]&&!this[_0x2a88a3(0x11c)][_0x2a88a3(0x1b4)]&&(_0x391e8b[_0x2a88a3(0x100)]=this['current_test']['testAnalyticsId']);if(_0x391e8b[_0x2a88a3(0x1f6)]||_0x391e8b[_0x2a88a3(0x100)]){const _0x2e7959={};_0x2e7959['event_type']=_0x196708[_0x2a88a3(0x1fc)],_0x2e7959['logs']=[_0x391e8b],await SessionHandler[_0x2a88a3(0x1cf)](_0x2e7959);}}catch(_0x507e7a){_0x196708['qjUsQ'](debug,_0x2a88a3(0xf5)+_0x507e7a);}};[a27_0x367e47(0x118)]=async _0x289388=>{const _0xda7446=a27_0x367e47,_0x1a2bea={'CjgJn':'http_response','avEqT':_0xda7446(0x1ee),'kMOat':function(_0x5a932c,_0xe52ee7){return _0x5a932c(_0xe52ee7);}};try{const _0x405d73={};_0x405d73[_0xda7446(0x1c3)]=_0x289388['uuid']||this['current_test'][_0xda7446(0x1e5)],_0x405d73['integrations']=_0x289388[_0x1a2bea[_0xda7446(0x16c)]];const _0x17275b=_0x405d73,_0x4473ee={};_0x4473ee[_0xda7446(0x17a)]=_0x1a2bea[_0xda7446(0x175)],_0x4473ee['test_run']=_0x17275b,await SessionHandler[_0xda7446(0x1cf)](_0x4473ee);}catch(_0x221124){_0x1a2bea[_0xda7446(0x13d)](debug,_0xda7446(0x180)+_0x221124);}};[a27_0x367e47(0x1bc)](_0x705b41){const _0x54c5c4=a27_0x367e47,_0x5d0e26={};_0x5d0e26['nrIVR']=_0x54c5c4(0x147),_0x5d0e26[_0x54c5c4(0x188)]=_0x54c5c4(0x136),_0x5d0e26[_0x54c5c4(0x10d)]='failed';const _0x34925a=_0x5d0e26,_0x55c6fb={};return _0x55c6fb[STATE_PASSED]=_0x34925a['nrIVR'],_0x55c6fb[STATE_PENDING]=_0x34925a[_0x54c5c4(0x188)],_0x55c6fb[STATE_FAILED]=_0x34925a[_0x54c5c4(0x10d)],_0x55c6fb[_0x705b41];}[a27_0x367e47(0x15c)](_0x2dc265){const _0xe6a0b9=a27_0x367e47,_0x1cd335={};_0x1cd335[_0xe6a0b9(0x1d1)]=function(_0x3bbb55,_0x563080){return _0x3bbb55-_0x563080;};const _0x2e984a=_0x1cd335,_0x4de4b2=_0x2dc265['titlePath']();return _0x4de4b2[_0xe6a0b9(0x119)](0x0,_0x2e984a[_0xe6a0b9(0x1d1)](_0x4de4b2[_0xe6a0b9(0x1aa)],0x1))[_0xe6a0b9(0x1c6)]('\x20');}['scopes'](_0x315f08){const _0x120364=a27_0x367e47,_0x25e093={};_0x25e093[_0x120364(0x203)]=function(_0xb89ace,_0x5c17b6){return _0xb89ace-_0x5c17b6;};const _0x6f757a=_0x25e093,_0x19ad5f=_0x315f08[_0x120364(0x123)]();return _0x19ad5f[_0x120364(0x119)](0x0,_0x6f757a[_0x120364(0x203)](_0x19ad5f['length'],0x1));}['getRootParentFile'](_0x42129b){const _0x180fb6=a27_0x367e47,_0x3deb22={};_0x3deb22[_0x180fb6(0x150)]=function(_0x1dfcc0,_0x2fc1af){return _0x1dfcc0>_0x2fc1af;};const _0xc90543=_0x3deb22;if(_0x42129b[_0x180fb6(0xfc)])return _0x42129b['file'];if(_0x42129b[_0x180fb6(0x200)]){const _0x545a2c=_0x42129b['ctx'][_0x180fb6(0x1e9)]?this[_0x180fb6(0x1c5)](_0x42129b[_0x180fb6(0x200)]['currentTest']):null;if(_0x545a2c)return _0x545a2c;}if(_0x42129b['parent']){const _0x2c1e04=this[_0x180fb6(0x1c5)](_0x42129b[_0x180fb6(0xea)])||(_0x42129b['parent'][_0x180fb6(0x200)]&&_0x42129b[_0x180fb6(0xea)][_0x180fb6(0x200)][_0x180fb6(0x1e9)]?this[_0x180fb6(0x1c5)](_0x42129b[_0x180fb6(0xea)][_0x180fb6(0x200)][_0x180fb6(0x1e9)]):null);if(_0x2c1e04)return _0x2c1e04;_0x42129b[_0x180fb6(0xea)]['suites']&&_0xc90543[_0x180fb6(0x150)](_0x42129b['parent'][_0x180fb6(0x126)]['length'],0x0)&&_0x42129b[_0x180fb6(0xea)][_0x180fb6(0x126)][_0x180fb6(0x120)](_0x2d8ea9=>{const _0x583e19=_0x180fb6,_0x336395=_0x2d8ea9[_0x583e19(0x200)]?this[_0x583e19(0x1c5)](_0x2d8ea9['ctx']):null;if(_0x336395)return _0x336395;});}return null;}}function a27_0x37de(){const _0x504aa7=['err','../../../helpers/test-observability/requestQueueHandler','8511912UyqZyp','DeHrZ','__indents','\x20\x20<dd\x20class=\x22error\x22><pre><code>','mBbVQ','analyticsResult','TestRunFinished','appendTesthubParams','sNJLn','LogCreated','suite','\x20\x20<dt\x20class=\x22error\x22>','uuid','sxwKT','getRootParentFile','join','AZIed','after\x20all','File\x20path\x20could\x20not\x20be\x20found','\x20-\x20','</dd>','<section\x20class=\x22suite\x22>','testObservability','../../../helpers/helper','uploadEventData','2902560mdLdLG','aWmRJ','wXidX','slow','failure_reason_expanded','iCYGp','indent','<dl>','../../../helpers/testhub/constants','nVcAq','HookStarted','stdout','AFTER_EACH','bind','inspect','kAEjH','fcXtG','11633985VrLRaw','kvESQ','now','dYmKb','testAnalyticsId','shutdown','</h1>','kPRpn','currentTest','includes','nqSCF','NFGCV','eveAa','CBTSessionCreated','imDNP','LgGuP','symbols','getInstance','Mocha','failed','Runner','hook_run_uuid','error','VawAH','BEFORE_ALL','xBkGm','1156zbnnBp','NMpQg','Tseqf','fullTitle','BnxQa','ctx','fPbHz','toString','AZPXR','testStarted','ocPhc','%s\x20','WqZQQ','_testResults','constants','hooks','pass','bright\x20yellow','yUYec','teoMQ','GfJfi','22311FMcYcF','_testEnv','prefixTestPath','parent','mocha/lib/reporters/base.js','zubCl','BPGdG','skipped','sendTestRunEvent','</dl>','dxjkx','HookRunStarted','14515oxDjRX','AUuXT','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','AuDFs','body','KitaG','result','appendTestItemLog','tICAL','file','before\x20all','</section>','speed','test_run_uuid','YDwtV','oQvsh','EBYNE','yvWTS','EPsQK','light','</dt>','reporterOptions','finalResults','YrAaG','prototype','GGNcl','eeAHe','mwEJp','originalTitle','opIfZ','expanded','consoleLog','before\x20each','PSXyU','mecyH','\x20\x20<dt>','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','appendTestPlatform','slice','push','VWIkJ','current_test','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','UDQAo','kMPBi','forEach','\x20\x20<dd\x20class=\x22error\x22>','apply','titlePath','checkmark','xxnAd','suites','fast','Frryv','\x20\x20%d)\x20%s','oSdhf','bs:addLog:','IkceD','finished_at','1318401DMbhbW','\x20(%dms)','UnhandledError','KccNw','4019106zkYnno','GXvpv','hPPkE','color','pending','yeznH','root','clean','DBhSc','MXZPF','hook_type','kMOat','registerListeners','state','Ghlcp','nCXIB','dirname','</code></pre></dd>','runner','removeAllListeners','zTSlC','passed','HookFinished','TestRunStarted','YFsKT','current_hook','DzTXe','YMTiq','ymAIg','docHtml','mmHrR','MOCHA','EVENT','%s\x20-\x20%s','type','TestRunSkipped','util','done','zLHJw','qpAoT','.js','_indents','scope','path','yrYLu','sdKNi','mocha/lib/reporters/','write','scopes','spec','pgUPp','TpthV','wzqLJ','statSync','NtrKr','increaseIndent','__platform__','reporterOption','CjgJn','gNyWH','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','shouldProcessEventForTesthub','green','dot','WNDvL','BEFORE_EACH','<h1>','avEqT','failCount','hookAnalyticsId','lbQBQ','nlfbN','event_type','RUNNING','bSAyt','ivqiP','hUNIH','bs:addPlatformDetails:','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','match','toISOString','fail','relative','dBIOG','results','ukIKq','MsHEc','Reporter','\x20\x20<dd><pre><code>','kQtEl','pid','getTime','config','escape','mocha','TGAgT','name','XWrgc','retryOf','eYTSD','CTcQz','26Ppvuko','../../../helpers/test-observability/utils','once','1|0|3|2|4','bsConfig','duration','fHUcO','YNCCJ','qKpOV','WxQrl','currentRetry','bPbDF','decreaseIndent','docAppend','ElGHB','kakgh','cvElS','findGitConfig','isPending','length','RWCmi','\x20with\x20error\x20:\x20','_paths','RSCuE','started_at','title','../../../helpers/test-observability/constants','sep','SXWeg','markedStatus'];a27_0x37de=function(){return _0x504aa7;};return a27_0x37de();}module['exports']=MyReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a28_0x17a855=a28_0x147b;(function(_0x3f3c60,_0x51801c){const _0x48b243=a28_0x147b,_0x41f622=_0x3f3c60();while(!![]){try{const _0x3ee39e=parseInt(_0x48b243(0x1d5))/0x1+-parseInt(_0x48b243(0x1c4))/0x2+-parseInt(_0x48b243(0x21c))/0x3+parseInt(_0x48b243(0x1ba))/0x4+-parseInt(_0x48b243(0x27d))/0x5*(parseInt(_0x48b243(0x255))/0x6)+-parseInt(_0x48b243(0x211))/0x7+parseInt(_0x48b243(0x1db))/0x8*(parseInt(_0x48b243(0x265))/0x9);if(_0x3ee39e===_0x51801c)break;else _0x41f622['push'](_0x41f622['shift']());}catch(_0x161b89){_0x41f622['push'](_0x41f622['shift']());}}}(a28_0x16e3,0xba707));function a28_0x147b(_0x4218d7,_0x419ee1){const _0x16e321=a28_0x16e3();return a28_0x147b=function(_0x147b1b,_0x31341f){_0x147b1b=_0x147b1b-0x19a;let _0x48e7f3=_0x16e321[_0x147b1b];return _0x48e7f3;},a28_0x147b(_0x4218d7,_0x419ee1);}const chalk=require(a28_0x17a855(0x258)),logger=require(a28_0x17a855(0x205))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a28_0x17a855(0x20c)),testOpsHelper=require(a28_0x17a855(0x19f)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x17a855(0x279)),{requireModule,nestedKeyValue}=require(a28_0x17a855(0x20c)),{getPercyOptions}=require(a28_0x17a855(0x260)),Base=requireModule(a28_0x17a855(0x250)),collectFiles=requireModule('mocha/lib/cli/collect-files.js'),constants=require(a28_0x17a855(0x259));function tag(_0xc62874,_0x16d66f,_0x11d628,_0x4b7fe0){const _0x3ef0f=a28_0x17a855,_0x4e4a61={'xbEke':function(_0x2090fb,_0x3627ee){return _0x2090fb+_0x3627ee;},'DOLHU':function(_0x28eddf,_0x1d5417){return _0x28eddf(_0x1d5417);},'BiGCl':function(_0x1b8b7e,_0x4c8bf2){return _0x1b8b7e+_0x4c8bf2;},'UqFRL':function(_0x588516,_0x57066a){return _0x588516+_0x57066a;},'PqdnB':function(_0x3ce49b,_0x1ce1bf){return _0x3ce49b+_0x1ce1bf;},'ZRfUv':function(_0x3f55c4,_0x5b3ae5){return _0x3f55c4+_0x5b3ae5;}},_0x16109d=_0x11d628?'/>':'>',_0x3375e6=[];let _0x221df5;for(const _0x5bdff9 in _0x16d66f){Object[_0x3ef0f(0x1fc)][_0x3ef0f(0x1a0)]['call'](_0x16d66f,_0x5bdff9)&&_0x3375e6[_0x3ef0f(0x1e1)](_0x4e4a61[_0x3ef0f(0x1ef)](_0x4e4a61[_0x3ef0f(0x1ef)](_0x4e4a61[_0x3ef0f(0x1ef)](_0x5bdff9,'=\x22'),_0x4e4a61[_0x3ef0f(0x271)](escape,_0x16d66f[_0x5bdff9])),'\x22'));}return _0x221df5=_0x4e4a61[_0x3ef0f(0x24c)](_0x4e4a61[_0x3ef0f(0x1ca)](_0x4e4a61[_0x3ef0f(0x1ca)]('<',_0xc62874),_0x3375e6['length']?_0x4e4a61[_0x3ef0f(0x24c)]('\x20',_0x3375e6[_0x3ef0f(0x19c)]('\x20')):''),_0x16109d),_0x4b7fe0&&(_0x221df5+=_0x4e4a61[_0x3ef0f(0x1ef)](_0x4e4a61[_0x3ef0f(0x1bc)](_0x4e4a61['ZRfUv'](_0x4b7fe0,'</'),_0xc62874),_0x16109d)),_0x221df5;}let xunitContent='';function xunitWrite(_0x395195){xunitContent+=_0x395195;}function xunitTest(_0x2ec16f,_0x51ab14){const _0x28682e=a28_0x17a855,_0x1288e9={'WRyXV':function(_0x27db16,_0x2af924){return _0x27db16/_0x2af924;},'fMSuZ':function(_0x126938,_0x45a742){return _0x126938===_0x45a742;},'hlyjw':_0x28682e(0x200),'QmFPr':function(_0xb63430,_0x4f0fc5){return _0xb63430+_0x4f0fc5;},'PGyob':function(_0x2abbd1,_0x1bcda4){return _0x2abbd1(_0x1bcda4);},'fEJtD':function(_0x57b068,_0x2f88cd,_0x4bdae5,_0x9aa54e,_0xbd792c){return _0x57b068(_0x2f88cd,_0x4bdae5,_0x9aa54e,_0xbd792c);},'cPkHX':_0x28682e(0x1af),'XzOTi':_0x28682e(0x19e),'ibRBF':function(_0x33903a,_0x16373b){return _0x33903a+_0x16373b;},'QCNkI':function(_0x307647,_0x24dc38){return _0x307647+_0x24dc38;},'TtKgX':function(_0x34d1ee,_0x23cc60){return _0x34d1ee(_0x23cc60);},'pIoAV':function(_0x436fb0,_0x5c25a7){return _0x436fb0(_0x5c25a7);},'kveOL':function(_0x300e53,_0x66e2d0,_0x42d663,_0xd938e0){return _0x300e53(_0x66e2d0,_0x42d663,_0xd938e0);},'VJYZS':_0x28682e(0x25b),'ACrPS':function(_0x459e65,_0x3acfca){return _0x459e65(_0x3acfca);},'UAnVB':function(_0x47c056,_0x36680f,_0x2a89b0,_0x402dc4){return _0x47c056(_0x36680f,_0x2a89b0,_0x402dc4);}};Base[_0x28682e(0x26e)]=![];var _0x1650cd={'classname':_0x2ec16f[_0x28682e(0x1ac)],'name':_0x2ec16f[_0x28682e(0x26c)],'time':_0x1288e9[_0x28682e(0x253)](_0x2ec16f['duration'],0x3e8)||0x0,'platform':_0x51ab14};if(_0x1288e9['fMSuZ'](_0x2ec16f[_0x28682e(0x22c)],_0x1288e9[_0x28682e(0x1fd)])){var _0x2222b8=_0x2ec16f['err'],_0x5e06c3=!Base['hideDiff']&&Base[_0x28682e(0x219)](_0x2222b8)?_0x1288e9[_0x28682e(0x1e6)]('\x0a',Base['generateDiff'](_0x2222b8[_0x28682e(0x240)],_0x2222b8[_0x28682e(0x288)])):'';_0x1288e9[_0x28682e(0x201)](xunitWrite,_0x1288e9['fEJtD'](tag,_0x1288e9[_0x28682e(0x20a)],_0x1650cd,![],_0x1288e9[_0x28682e(0x1c7)](tag,_0x1288e9['XzOTi'],{},![],_0x1288e9['ibRBF'](_0x1288e9['QmFPr'](_0x1288e9[_0x28682e(0x207)](_0x1288e9[_0x28682e(0x201)](escape,_0x2222b8[_0x28682e(0x1df)]),_0x1288e9[_0x28682e(0x20d)](escape,_0x5e06c3)),'\x0a'),_0x1288e9['TtKgX'](escape,_0x2222b8[_0x28682e(0x274)])))));}else _0x2ec16f[_0x28682e(0x27b)]?_0x1288e9[_0x28682e(0x23e)](xunitWrite,_0x1288e9['fEJtD'](tag,_0x1288e9[_0x28682e(0x20a)],_0x1650cd,![],_0x1288e9[_0x28682e(0x25f)](tag,_0x1288e9['VJYZS'],{},!![]))):_0x1288e9[_0x28682e(0x1f1)](xunitWrite,_0x1288e9['UAnVB'](tag,_0x1288e9[_0x28682e(0x20a)],_0x1650cd,!![]));};function getStats(_0x2b1c69){const _0xba2bd3=a28_0x17a855,_0x3d6c40={};_0x3d6c40[_0xba2bd3(0x275)]=_0xba2bd3(0x1ff),_0x3d6c40[_0xba2bd3(0x27e)]=_0xba2bd3(0x1fe),_0x3d6c40[_0xba2bd3(0x1eb)]=_0xba2bd3(0x200),_0x3d6c40['UmfQv']=_0xba2bd3(0x221);const _0x1f8074=_0x3d6c40,_0x482a66=Object[_0xba2bd3(0x21d)](_0x2b1c69);let _0x3160a5=0x0,_0x556e94=0x0,_0x2fc6fd=0x0,_0x448502=0x0;const _0x10ca78=new Set();_0x482a66['forEach'](_0xe6cc37=>{const _0x99f4a9=_0xba2bd3;_0x2b1c69[_0xe6cc37][_0x1f8074['UmfQv']][_0x99f4a9(0x1ed)](_0x566e1=>{const _0x16d79c=_0x99f4a9;_0x10ca78[_0x16d79c(0x243)](_0x566e1[_0x1f8074['EVmGn']]),_0x3160a5++;switch(_0x566e1['state']){case _0x1f8074['ZDGGD']:_0x2fc6fd++;break;case _0x1f8074[_0x16d79c(0x1eb)]:_0x556e94++;break;default:_0x448502++;}});});const _0x1c22d5={};return _0x1c22d5[_0xba2bd3(0x264)]=_0x10ca78['size'],_0x1c22d5[_0xba2bd3(0x1f3)]=_0x482a66,_0x1c22d5[_0xba2bd3(0x237)]=_0x3160a5,_0x1c22d5['testsFailed']=_0x556e94,_0x1c22d5[_0xba2bd3(0x1f6)]=_0x2fc6fd,_0x1c22d5[_0xba2bd3(0x1e9)]=_0x448502,_0x1c22d5;}function errorJSON(_0x22acf1){const _0x57669a=a28_0x17a855;var _0x31ba9b={};return Object['getOwnPropertyNames'](_0x22acf1)[_0x57669a(0x1ed)](function(_0x8b9743){_0x31ba9b[_0x8b9743]=_0x22acf1[_0x8b9743];},_0x22acf1),_0x31ba9b;}function cleanCycles(_0x40a503){const _0x500dbb=a28_0x17a855,_0xc268e0={};_0xc268e0[_0x500dbb(0x27c)]=function(_0x4589f4,_0x35e425){return _0x4589f4===_0x35e425;},_0xc268e0[_0x500dbb(0x1b4)]=_0x500dbb(0x1d2),_0xc268e0['DEIdx']=function(_0x34f085,_0x11d435){return _0x34f085!==_0x11d435;},_0xc268e0[_0x500dbb(0x23a)]=function(_0x2ad332,_0x4e1663){return _0x2ad332+_0x4e1663;};const _0x11798b=_0xc268e0;var _0x1cb832=[];return JSON[_0x500dbb(0x216)](JSON[_0x500dbb(0x203)](_0x40a503,function(_0x57c272,_0x2cb25a){const _0x3ded27=_0x500dbb;if(_0x11798b[_0x3ded27(0x27c)](typeof _0x2cb25a,_0x11798b[_0x3ded27(0x1b4)])&&_0x11798b['DEIdx'](_0x2cb25a,null)){if(_0x11798b[_0x3ded27(0x286)](_0x1cb832['indexOf'](_0x2cb25a),-0x1))return _0x11798b[_0x3ded27(0x23a)]('',_0x2cb25a);_0x1cb832['push'](_0x2cb25a);}return _0x2cb25a;}));}function clean(_0x449d75){const _0x3cea59=a28_0x17a855,_0x6b04d={'ArLui':function(_0x123513,_0x817764){return _0x123513 instanceof _0x817764;},'nRKgW':function(_0x49d0be,_0x39b233){return _0x49d0be(_0x39b233);},'HDACb':function(_0x13d219,_0x130acc){return _0x13d219(_0x130acc);}};var _0x1661c8=_0x449d75[_0x3cea59(0x273)]||{};return _0x6b04d[_0x3cea59(0x1c2)](_0x1661c8,Error)&&(_0x1661c8=_0x6b04d[_0x3cea59(0x1b8)](errorJSON,_0x1661c8)),{'title':_0x449d75[_0x3cea59(0x26c)],'fullTitle':_0x449d75[_0x3cea59(0x1ac)],'file':_0x449d75[_0x3cea59(0x232)],'duration':_0x449d75[_0x3cea59(0x21e)],'currentRetry':_0x449d75['currentRetry'],'speed':_0x449d75[_0x3cea59(0x1de)],'err':_0x6b04d['HDACb'](cleanCycles,_0x1661c8)};}function a28_0x16e3(){const _0x48bc17=['cliConfig','mjs','--disable-browserstack-automation','KmmWv','then','kwptR','dpVXL','has','printBuildLink','info','fullTitle','pending','BPVOU','testcase','test','bGYZy','Listing\x20all\x20the\x20failures','BROWSERSTACK_TEST_OBSERVABILITY','QLwQI','Writing\x20json\x20result\x20to\x20file','files','rmdirSync','nRKgW','ctKCF','5174332idlqmX','parallelsPerPlatform','PqdnB','includes','qRGRy','config','anfNP','min','ArLui','phEQj','3007018ebjmcz','initialize','walQt','fEJtD','framework','getPlatformName','UqFRL','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','Mocha\x20Tests','Printing\x20stats\x20of\x20tests','debug','XOBRS','recursive','--disable-test-observability','object','accessibility','RHyHA','572272DDILGG','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getHubUrl','BROWSERSTACK_AUTOMATION','Couldn\x27t\x20write\x20xunit\x20result\x20to','eKRdP','88fpyqcO','sycpt','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','speed','message','isUndefined','push','JAfym','ZKwyM','getErrorMessageFromResults','getTCGConfigFilePaths','QmFPr','exports','length','testsPending','unlinkSync','FbxiJ','errorMessage','forEach','markSDKSetupComplete','xbEke','tmjfF','ACrPS','Writing\x20xunit\x20result\x20to\x20file','platforms','\x20failed','validPlatformsPresent','testsPassed','proxySettings','notifyUpdate','nFDpS','reporter','assign','prototype','hlyjw','passed','suite','failed','PGyob','testsuite','stringify','FHteW','../../helpers/logger','consoleLog','QCNkI','locUy','HCPUz','cPkHX','output','../../helpers/helper','TtKgX','VVfYd','logLevel','list','6997004vSuJEd','Xoqod','gfGHS','RDxiN','finalExecution','parse','error','parseFileNames','showDiff','RmWjI','SvASr','244758JQpzrL','keys','duration','jJAty','udoMl','results','BROWSERSTACK_TEST_OBSERVABILITY_YML','Running\x20your\x20mocha\x20tests\x20across\x20','RIRtv','CFEnl','useW3C','titlePathV','bgBlueBright','bgRedBright','bold','\x0a\x0a\x0a','state','accessibilityOptions','env','testObservability','GakmL','ufbYP','file','finally','isBrowserstackInfra','Total\x20Platforms:\x20','bcoCD','totalTests','niVcF','NgfHz','MWaqu','SDKTestSuccessful','fKeye','****\x20FAILURES\x20****','pIoAV','mocha','actual','Now,\x20showing\x20logs\x20from\x20mocha','jcoqX','add','KbPxy','prepareCapabilities','failures','log','platform','NFaWS','Setting\x20non\x20exit\x20code\x20for\x20failures','GbhxP','BiGCl','red','Tests:\x20\x20\x20\x20\x20\x20\x20','rMCSV','mocha/lib/reporters/base.js','spec','titlePath','WRyXV','MHdrL','4143432enVQTZ','stats','Running\x20your\x20mocha\x20tests','chalk','../utils/constants','FRAMEWORKS','skipped','HWOqh','setupTCGAuth','isTestObservabilitySession','kveOL','../../helpers/percy/utils','xunit','doc','Atpik','testSuites','1777941dVpJvf','ZXbDc','nxsQh','error\x20removing\x20tcg\x20config\x20file','map','reporterOptions','yellow','title','vtKJw','useColors','writeFileSync','VXFjp','DOLHU','vyovs','err','stack','EVmGn','lZuMw','niQAa','hxqkw','../test-runner','DTKmm','isPending','YKDRz','5DPXNTF','ZDGGD','toUTCString','Couldn\x27t\x20write\x20json\x20result\x20to','\x20passed','EmaCb','iLThl','passes','JHIzb','DEIdx','IJaXy','expected','MOCHA','AhOVt','rootHooks','join','guSJA','failure','../../helpers/test-observability/utils','hasOwnProperty','agFTu'];a28_0x16e3=function(){return _0x48bc17;};return a28_0x16e3();}function printStats(_0x2dbfaf,_0x4611fe='spec',_0x23a31d={}){const _0x5e8ca0=a28_0x17a855,_0x263bfa={'RDxiN':function(_0x4496b5,_0x52f0ae){return _0x4496b5(_0x52f0ae);},'EgOpH':function(_0x355b81,_0xc59987){return _0x355b81===_0xc59987;},'HWOqh':_0x5e8ca0(0x1fe),'lZuMw':_0x5e8ca0(0x284),'guSJA':function(_0x12a05a,_0x2154cb){return _0x12a05a===_0x2154cb;},'KbPxy':_0x5e8ca0(0x200),'aObqD':_0x5e8ca0(0x246),'rMCSV':function(_0x3e7679,_0x4ee295){return _0x3e7679(_0x4ee295);},'JHIzb':_0x5e8ca0(0x1ad),'SvASr':function(_0x3563c4,_0xa8b15d){return _0x3563c4(_0xa8b15d);},'walQt':_0x5e8ca0(0x221),'gfGHS':function(_0x593a27,_0x5d6186){return _0x593a27===_0x5d6186;},'RIRtv':function(_0xea787c,_0xe211b9){return _0xea787c*_0xe211b9;},'UzAhc':function(_0x5f55e4,_0x5cdc53,_0xacf264){return _0x5f55e4(_0x5cdc53,_0xacf264);},'tmjfF':function(_0xdbe01d,_0x1c3f70){return _0xdbe01d>_0x1c3f70;},'bGYZy':function(_0x1cf6ae){return _0x1cf6ae();},'JAfym':_0x5e8ca0(0x262),'anfNP':function(_0x4885ce,_0x974cd6){return _0x4885ce(_0x974cd6);},'RmWjI':_0x5e8ca0(0x24a),'VfczC':_0x5e8ca0(0x1cd),'vtKJw':function(_0x50565f,_0x4efb3c){return _0x50565f+_0x4efb3c;},'dpVXL':_0x5e8ca0(0x235),'KmmWv':function(_0xbc7b3d,_0x1c255a){return _0xbc7b3d+_0x1c255a;},'hxqkw':'Total\x20Suites:\x20','Xoqod':function(_0x1f3fd5,_0x2aeeba){return _0x1f3fd5+_0x2aeeba;},'XOBRS':_0x5e8ca0(0x24e),'GbhxP':function(_0x5dcc0f,_0x4bb11b){return _0x5dcc0f>_0x4bb11b;},'UKGZt':function(_0x5526c5,_0x554fa4){return _0x5526c5>_0x554fa4;},'sycpt':function(_0x127bc7,_0x2d4925){return _0x127bc7+_0x2d4925;},'Atpik':function(_0x50a416,_0x595cbe){return _0x50a416+_0x595cbe;},'qRGRy':function(_0x443a83,_0x4eb469){return _0x443a83+_0x4eb469;},'GakmL':function(_0x5c0b31,_0x315d11){return _0x5c0b31+_0x315d11;},'lBbnb':_0x5e8ca0(0x22b),'ctKCF':function(_0x353728,_0x19ba2b){return _0x353728===_0x19ba2b;},'ZKwyM':'json','NgfHz':_0x5e8ca0(0x1b5),'IJaXy':_0x5e8ca0(0x280),'RHyHA':_0x5e8ca0(0x1dd),'nFDpS':_0x5e8ca0(0x261),'eKRdP':_0x5e8ca0(0x1cc),'ufbYP':function(_0x391e4a,_0xf45fd8){return _0x391e4a||_0xf45fd8;},'cULYo':function(_0x25681c,_0x4fffa7,_0xa09b30,_0x188442){return _0x25681c(_0x4fffa7,_0xa09b30,_0x188442);},'eLXRE':_0x5e8ca0(0x202),'bcoCD':function(_0xd196b6,_0x3e8ba9){return _0xd196b6-_0x3e8ba9;},'VVfYd':function(_0x5edaad,_0x553e2d){return _0x5edaad/_0x553e2d;},'jcoqX':function(_0x28c371,_0x214b2d){return _0x28c371(_0x214b2d);},'DTKmm':'</testsuite>','AWQsw':_0x5e8ca0(0x1f2),'uDxEK':_0x5e8ca0(0x1d9),'AWvMd':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','ZXbDc':function(_0xf926f5,_0x16a4e2){return _0xf926f5===_0x16a4e2;},'KtiBt':_0x5e8ca0(0x1b2),'locUy':_0x5e8ca0(0x23d)};if(_0x263bfa[_0x5e8ca0(0x213)](_0x4611fe,_0x263bfa[_0x5e8ca0(0x1e2)]))return;const _0x48dbed=0x0,_0x5620ec=()=>{const _0x2ec61f=_0x5e8ca0;return _0x263bfa['RDxiN'](Array,_0x48dbed)[_0x2ec61f(0x19c)]('\x20\x20');},{testSuites:_0x5aa9fe,platforms:_0x45efe2,totalTests:_0x2dc44f,testsFailed:_0x11016b,testsPassed:_0xceca14,testsPending:_0x4493a9}=_0x263bfa[_0x5e8ca0(0x1c0)](getStats,_0x2dbfaf);_0x263bfa[_0x5e8ca0(0x1f0)](_0x11016b,0x0)&&(logger[_0x5e8ca0(0x1ce)](_0x263bfa[_0x5e8ca0(0x21a)]),process['exitCode']=Math[_0x5e8ca0(0x1c1)](_0x11016b,0xff));logger[_0x5e8ca0(0x1ce)](_0x263bfa['VfczC']);const _0x575653=''+_0x263bfa[_0x5e8ca0(0x26d)](chalk[_0x5e8ca0(0x22a)](_0x263bfa[_0x5e8ca0(0x1a8)]),_0x45efe2[_0x5e8ca0(0x1e8)]),_0xde7a3f=''+_0x263bfa['KmmWv'](chalk[_0x5e8ca0(0x22a)](_0x263bfa[_0x5e8ca0(0x278)]),_0x5aa9fe),_0x426f57=''+_0x263bfa[_0x5e8ca0(0x26d)](_0x263bfa[_0x5e8ca0(0x212)](_0x263bfa[_0x5e8ca0(0x1a5)](chalk['bold'](_0x263bfa[_0x5e8ca0(0x1cf)]),_0x263bfa['tmjfF'](_0x11016b,0x0)?chalk[_0x5e8ca0(0x22a)][_0x5e8ca0(0x24d)](_0x11016b+_0x5e8ca0(0x1f4))+',\x20':''),_0x263bfa[_0x5e8ca0(0x24b)](_0x4493a9,0x0)?chalk[_0x5e8ca0(0x22a)][_0x5e8ca0(0x26b)](_0x4493a9+'\x20skipped')+',\x20':''),_0x263bfa['UKGZt'](_0xceca14,0x0)?chalk[_0x5e8ca0(0x22a)]['green'](_0xceca14+_0x5e8ca0(0x281))+',\x20':'')+_0x2dc44f+'\x20total';console['log'](_0x263bfa[_0x5e8ca0(0x1dc)](_0x263bfa[_0x5e8ca0(0x263)](_0x263bfa[_0x5e8ca0(0x1be)](_0x263bfa['Xoqod'](_0x263bfa[_0x5e8ca0(0x230)](_0x263bfa['lBbnb'],_0x575653),'\x0a'),_0xde7a3f),'\x0a'),_0x426f57));if(_0x263bfa[_0x5e8ca0(0x1b9)](_0x4611fe,_0x263bfa[_0x5e8ca0(0x1e3)])){const _0x59f3bf={},_0x2701b5={};_0x2701b5[_0x5e8ca0(0x264)]=_0x5aa9fe,_0x2701b5[_0x5e8ca0(0x1f3)]=_0x45efe2,_0x2701b5['testsFailed']=_0x11016b,_0x2701b5[_0x5e8ca0(0x1f6)]=_0xceca14,_0x2701b5['testsPending']=_0x4493a9,_0x59f3bf[_0x5e8ca0(0x256)]=_0x2701b5,_0x45efe2[_0x5e8ca0(0x1ed)](_0x5bfad4=>{const _0x34c628=_0x5e8ca0;_0x59f3bf[_0x5bfad4]={'pending':[],'failures':[],'passes':[],'tests':_0x2dbfaf[_0x5bfad4][_0x263bfa[_0x34c628(0x1c6)]][_0x34c628(0x269)](clean)},_0x2dbfaf[_0x5bfad4][_0x263bfa['walQt']][_0x34c628(0x1ed)](_0x15a4a1=>{const _0x346da2=_0x34c628;if(_0x263bfa['EgOpH'](_0x15a4a1[_0x346da2(0x22c)],_0x263bfa[_0x346da2(0x25c)]))_0x59f3bf[_0x5bfad4][_0x263bfa[_0x346da2(0x276)]]['push'](_0x263bfa[_0x346da2(0x214)](clean,_0x15a4a1));else _0x263bfa[_0x346da2(0x19d)](_0x15a4a1[_0x346da2(0x22c)],_0x263bfa[_0x346da2(0x244)])?_0x59f3bf[_0x5bfad4][_0x263bfa['aObqD']][_0x346da2(0x1e1)](_0x263bfa[_0x346da2(0x24f)](clean,_0x15a4a1)):_0x59f3bf[_0x5bfad4][_0x263bfa[_0x346da2(0x285)]][_0x346da2(0x1e1)](_0x263bfa[_0x346da2(0x21b)](clean,_0x15a4a1));});});if(_0x23a31d['output'])try{logger[_0x5e8ca0(0x1ce)](_0x263bfa[_0x5e8ca0(0x239)],_0x23a31d['output']),fs[_0x5e8ca0(0x26f)](_0x23a31d[_0x5e8ca0(0x20b)],JSON[_0x5e8ca0(0x203)](_0x59f3bf,null,0x3));}catch(_0x32ce8e){logger['error'](_0x263bfa[_0x5e8ca0(0x287)],_0x23a31d['output']),logger['debug'](_0x32ce8e);}else logger['debug'](_0x263bfa[_0x5e8ca0(0x1d4)]),console[_0x5e8ca0(0x247)](JSON[_0x5e8ca0(0x203)](_0x59f3bf,null,0x3));}else{if(_0x263bfa['gfGHS'](_0x4611fe,_0x263bfa[_0x5e8ca0(0x1f9)])){let _0x2e72dd;const _0x34156c=_0x263bfa[_0x5e8ca0(0x1da)];_0x23a31d&&(_0x2e72dd=_0x23a31d['suiteName']);_0x2e72dd=_0x263bfa[_0x5e8ca0(0x231)](_0x2e72dd,_0x34156c);let _0x173157=0x0,_0x557011=0x0,_0x2307c9=0x0,_0x2933a8=0x0;_0x45efe2['forEach'](_0x29359d=>{const _0x1db5e9=_0x5e8ca0,_0x208c12={'CFEnl':function(_0x447269,_0x4d461e){const _0x5ab6ca=a28_0x147b;return _0x263bfa[_0x5ab6ca(0x213)](_0x447269,_0x4d461e);},'mDbBw':_0x263bfa['HWOqh'],'EmaCb':_0x263bfa[_0x1db5e9(0x244)],'rCMbr':function(_0xf5ba2a,_0xf4abaf){const _0x7d4480=_0x1db5e9;return _0x263bfa[_0x7d4480(0x224)](_0xf5ba2a,_0xf4abaf);}};_0x2dbfaf[_0x29359d][_0x263bfa[_0x1db5e9(0x1c6)]][_0x1db5e9(0x1ed)](_0x1c3a35=>{const _0x5770cf=_0x1db5e9;if(_0x208c12[_0x5770cf(0x225)](_0x1c3a35[_0x5770cf(0x22c)],_0x208c12['mDbBw']))_0x173157++;else _0x208c12[_0x5770cf(0x225)](_0x1c3a35[_0x5770cf(0x22c)],_0x208c12[_0x5770cf(0x282)])&&_0x557011++;_0x2307c9++,_0x2933a8+=_0x208c12['rCMbr'](_0x1c3a35[_0x5770cf(0x21e)],0x1);});}),_0x263bfa[_0x5e8ca0(0x214)](xunitWrite,_0x263bfa['cULYo'](tag,_0x263bfa['eLXRE'],{'name':_0x2e72dd,'tests':_0x2307c9,'failures':0x0,'errors':_0x557011,'skipped':_0x263bfa['bcoCD'](_0x263bfa[_0x5e8ca0(0x236)](_0x2307c9,_0x557011),_0x173157),'timestamp':new Date()[_0x5e8ca0(0x27f)](),'time':_0x263bfa[_0x5e8ca0(0x20e)](_0x2933a8,0x3e8)||0x0},![])),_0x45efe2[_0x5e8ca0(0x1ed)](_0x1eb09a=>{const _0x3d5ba4=_0x5e8ca0;_0x2dbfaf[_0x1eb09a][_0x263bfa[_0x3d5ba4(0x1c6)]]['forEach'](_0xfef88=>{_0x263bfa['UzAhc'](xunitTest,_0xfef88,_0x1eb09a);});}),_0x263bfa[_0x5e8ca0(0x242)](xunitWrite,_0x263bfa[_0x5e8ca0(0x27a)]);if(_0x23a31d[_0x5e8ca0(0x20b)])try{logger[_0x5e8ca0(0x1ce)](_0x263bfa['AWQsw'],_0x23a31d[_0x5e8ca0(0x20b)]),fs['writeFileSync'](_0x23a31d[_0x5e8ca0(0x20b)],xunitContent);}catch(_0x21ad95){logger[_0x5e8ca0(0x217)](_0x263bfa['uDxEK'],_0x23a31d['output']),logger[_0x5e8ca0(0x1ce)](_0x21ad95);}else logger[_0x5e8ca0(0x1ce)](_0x263bfa['AWvMd']),console[_0x5e8ca0(0x247)](xunitContent);}else{if(_0x263bfa[_0x5e8ca0(0x266)](_0x11016b,0x0))return;console[_0x5e8ca0(0x247)](),logger[_0x5e8ca0(0x1ce)](_0x263bfa['KtiBt']),console[_0x5e8ca0(0x247)](chalk[_0x5e8ca0(0x22a)][_0x5e8ca0(0x229)](_0x263bfa[_0x5e8ca0(0x208)])),_0x45efe2[_0x5e8ca0(0x1ed)](_0x3db3f0=>{const _0x515774=_0x5e8ca0,_0x15b720={'KBDVW':function(_0x3e049d,_0x554427){const _0x208480=a28_0x147b;return _0x263bfa[_0x208480(0x19d)](_0x3e049d,_0x554427);},'nxsQh':_0x263bfa[_0x515774(0x244)]},_0x57e96b=[];_0x2dbfaf[_0x3db3f0][_0x263bfa[_0x515774(0x1c6)]][_0x515774(0x1ed)](_0x4967a1=>{const _0x18f56f=_0x515774;_0x15b720['KBDVW'](_0x4967a1['state'],_0x15b720[_0x18f56f(0x267)])&&(_0x4967a1[_0x18f56f(0x252)]=()=>_0x4967a1[_0x18f56f(0x227)],_0x57e96b['push'](_0x4967a1));}),_0x263bfa['tmjfF'](_0x57e96b['length'],0x0)&&(Base[_0x515774(0x206)](),Base['consoleLog'](_0x263bfa[_0x515774(0x1b1)](_0x5620ec),chalk['bold'][_0x515774(0x228)](_0x3db3f0)),Base[_0x515774(0x210)](_0x57e96b));});}}}async function run(_0x344fc7,_0x48a9ee){const _0x498e64=a28_0x17a855,_0x485a36={'VXFjp':function(_0x35d17b,_0x2d4532,_0x38036f,_0x33857f){return _0x35d17b(_0x2d4532,_0x38036f,_0x33857f);},'vyovs':'reporter-option','niVcF':_0x498e64(0x268),'aaEJN':_0x498e64(0x23b),'FHteW':_0x498e64(0x23f),'HCPUz':_0x498e64(0x1d1),'niQAa':_0x498e64(0x1a4),'agFTu':function(_0x147bf6,_0x19fd9f){return _0x147bf6!=_0x19fd9f;},'peFYv':'cjs','udoMl':_0x498e64(0x1a3),'phEQj':_0x498e64(0x1b0),'BPVOU':'rerunTests','fKeye':function(_0x562963,_0x5421b6){return _0x562963(_0x5421b6);},'AhOVt':function(_0x51b305,_0x3bb8bd,_0x5d6fd0){return _0x51b305(_0x3bb8bd,_0x5d6fd0);},'iLThl':_0x498e64(0x1b6),'kwptR':_0x498e64(0x257),'NFaWS':_0x498e64(0x241),'InLXL':function(_0x5b9911,_0x544ed6,_0x5014da,_0x191a93){return _0x5b9911(_0x544ed6,_0x5014da,_0x191a93);},'SeqUp':function(_0x5d6751,_0x1bc52a){return _0x5d6751*_0x1bc52a;},'VEcYd':function(_0x29f226,_0x5483b7){return _0x29f226(_0x5483b7);},'MHdrL':function(_0x514bff,_0xe53969){return _0x514bff!==_0xe53969;},'jJAty':function(_0x415b52,_0x5579fe,_0x26c5b5,_0x18264f){return _0x415b52(_0x5579fe,_0x26c5b5,_0x18264f);}};process['argv'][_0x498e64(0x1bd)](_0x485a36[_0x498e64(0x209)])&&(process[_0x498e64(0x22e)][_0x498e64(0x1b3)]=![]);process['argv'][_0x498e64(0x1bd)](_0x485a36[_0x498e64(0x277)])&&(process[_0x498e64(0x22e)][_0x498e64(0x1d8)]=![]);const _0x1b7770=new BrowserStackSetup(_0x344fc7,_0x485a36[_0x498e64(0x204)]);helper['isBrowserstackInfra']()?(await _0x1b7770[_0x498e64(0x1c5)](),await helper['handleApp'](_0x1b7770[_0x498e64(0x1bf)])):await _0x1b7770[_0x498e64(0x25d)]();const _0xfd5b9e=[];let _0x316b95=[];if(!_0x1b7770[_0x498e64(0x1bf)])return;_0x485a36[_0x498e64(0x1a1)](_0x1b7770['config'][_0x498e64(0x22f)],null)&&(process[_0x498e64(0x22e)][_0x498e64(0x222)]=_0x1b7770['config'][_0x498e64(0x22f)]);!helper[_0x498e64(0x1e0)](_0x1b7770[_0x498e64(0x1bf)][_0x498e64(0x1d3)])&&(process[_0x498e64(0x22e)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1b7770[_0x498e64(0x1bf)][_0x498e64(0x1d3)]);!helper[_0x498e64(0x1e0)](_0x1b7770[_0x498e64(0x1bf)][_0x498e64(0x22d)])&&(process[_0x498e64(0x22e)][_0x498e64(0x1d6)]=JSON[_0x498e64(0x203)](_0x1b7770[_0x498e64(0x1bf)]['accessibilityOptions']));const {extension:extension=['js',_0x485a36['peFYv'],_0x485a36[_0x498e64(0x220)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x485a36[_0x498e64(0x1c3)]]}=_0x344fc7,_0x37c849={..._0x344fc7};_0x37c849[_0x498e64(0x19b)]=null;const _0x115ea2=_0x37c849;let _0x34adc7;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x5a1616=process[_0x498e64(0x22e)]['BROWSERSTACK_RERUN_TESTS'];!helper[_0x498e64(0x1e0)](_0x1b7770[_0x498e64(0x1a2)])&&_0x1b7770[_0x498e64(0x1a2)][_0x498e64(0x1a9)](_0x485a36[_0x498e64(0x1ae)])&&(_0x5a1616=_0x1b7770[_0x498e64(0x1a2)]['get'](_0x485a36[_0x498e64(0x1ae)])),_0x34adc7=testOpsHelper[_0x498e64(0x218)](_0x5a1616);}if(helper['isUndefined'](_0x34adc7)){const _0x82dc6={};_0x82dc6['ignore']=ignore,_0x82dc6['extension']=extension,_0x82dc6[_0x498e64(0x232)]=file,_0x82dc6[_0x498e64(0x1d0)]=recursive,_0x82dc6['sort']=sort,_0x82dc6['spec']=spec,_0x34adc7=_0x485a36[_0x498e64(0x23c)](collectFiles,_0x82dc6),_0x485a36[_0x498e64(0x19a)](nestedKeyValue,_0x34adc7,[_0x485a36[_0x498e64(0x283)]])&&(_0x34adc7=_0x34adc7[_0x498e64(0x1b6)]);}helper[_0x498e64(0x1ee)]();if(!helper[_0x498e64(0x234)]()){const _0x1ac84c=0x1,_0x412037={..._0x115ea2};_0x412037[_0x498e64(0x251)]=[..._0x34adc7],_0xfd5b9e[_0x498e64(0x1e1)]({'mochaOpts':_0x412037,'configuration':{'platform':os[_0x498e64(0x248)]()}}),logger[_0x498e64(0x1ab)](_0x485a36[_0x498e64(0x1a7)]),logger['info'](_0x485a36[_0x498e64(0x249)]),_0x485a36['InLXL'](parallelTestRun,_0xfd5b9e,_0x1ac84c,_0x1b7770)[_0x498e64(0x1a6)](_0x3f9df1=>{const _0x17fa54=_0x498e64;_0x485a36[_0x17fa54(0x270)](printStats,_0x3f9df1,_0x344fc7[_0x17fa54(0x1fa)],_0x344fc7[_0x17fa54(0x26a)]||_0x344fc7[_0x485a36[_0x17fa54(0x272)]]);})[_0x498e64(0x233)](()=>{const _0x27281a=_0x498e64;try{const {browserstackFolderPath:_0x393d15,tcgConfigPath:_0x3082bd}=helper[_0x27281a(0x1e5)]();fs[_0x27281a(0x1ea)](_0x3082bd),fs[_0x27281a(0x1b7)](_0x393d15);}catch(_0xe398f3){logger['debug'](_0x485a36[_0x27281a(0x238)],_0xe398f3);}try{helper['fireFunnelTestEvent'](_0x485a36['aaEJN'],{},_0x1b7770[_0x27281a(0x1bf)],_0x1b7770[_0x27281a(0x1c8)]);}catch(_0x346267){logger[_0x27281a(0x1ce)](_0x27281a(0x1cb)+_0x346267);}try{helper[_0x27281a(0x1f8)]();}catch(_0x56f870){logger[_0x27281a(0x1ce)]('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x56f870);}testOpsHelper['printBuildLink']();});}else{const _0x2a4107=helper[_0x498e64(0x226)](_0x1b7770[_0x498e64(0x1bf)]),_0x5ca7a6=helper[_0x498e64(0x1d7)](_0x1b7770[_0x498e64(0x1bf)]);_0x316b95=helper[_0x498e64(0x245)](_0x1b7770[_0x498e64(0x1bf)],_0x2a4107,constants[_0x498e64(0x25a)][_0x498e64(0x289)]);let _0x92148e;const _0x5d2732=_0x1b7770[_0x498e64(0x1bf)]['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x344fc7,_0x48a9ee,_0x1b7770[_0x498e64(0x1bf)],constants[_0x498e64(0x25a)][_0x498e64(0x289)])||0x1;helper[_0x498e64(0x1f5)](_0x1b7770[_0x498e64(0x1bf)])?_0x92148e=_0x485a36['SeqUp'](_0x1b7770['config']['platforms'][_0x498e64(0x1e8)],_0x5d2732):_0x92148e=_0x5d2732;const _0xb97e7f=_0x485a36['VEcYd'](getPercyOptions,_0x1b7770[_0x498e64(0x1bf)]);if(_0x485a36[_0x498e64(0x254)](_0x1b7770['config'][_0x498e64(0x1bb)],0x1))_0x34adc7['forEach'](_0x420e3d=>{const _0x1a8681=_0x498e64,_0x19d2d7=[];_0x316b95[_0x1a8681(0x1ed)]((_0x2b4f2b,_0x227f53)=>{const _0x17fb1b=_0x1a8681,_0x179018={};_0x179018[_0x17fb1b(0x251)]=[_0x420e3d],_0x19d2d7[_0x17fb1b(0x1e1)]({'mochaOpts':Object[_0x17fb1b(0x1fb)]({},_0x115ea2,_0x179018),'configuration':{'server':_0x5ca7a6,'capability':_0x2b4f2b,'proxySettings':_0x1b7770[_0x17fb1b(0x1bf)]['proxySettings'],'platform':helper['getPlatformName'](_0x2b4f2b),'browserStackLogLevel':_0x1b7770[_0x17fb1b(0x1bf)][_0x17fb1b(0x20f)],'platformIndex':_0x227f53,'browserStackPercyOptions':_0xb97e7f,'platformCaps':_0x1b7770[_0x17fb1b(0x1bf)]['platforms'][_0x227f53]}});}),_0xfd5b9e[_0x1a8681(0x1e1)](..._0x19d2d7);});else{const _0x18af55=[];_0x316b95[_0x498e64(0x1ed)]((_0x8f78f2,_0xe63239)=>{const _0x582aac=_0x498e64;let _0x50508d=Object[_0x582aac(0x1fb)]({},_0x115ea2);testOpsHelper[_0x582aac(0x25e)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x50508d={..._0x50508d,'spec':[..._0x34adc7]}),_0x18af55[_0x582aac(0x1e1)]({'mochaOpts':_0x50508d,'configuration':{'server':_0x5ca7a6,'capability':_0x8f78f2,'proxySettings':_0x1b7770[_0x582aac(0x1bf)][_0x582aac(0x1f7)],'platform':helper[_0x582aac(0x1c9)](_0x8f78f2),'browserStackLogLevel':_0x1b7770[_0x582aac(0x1bf)][_0x582aac(0x20f)],'platformIndex':_0xe63239,'browserStackPercyOptions':_0xb97e7f,'platformCaps':_0x1b7770['config'][_0x582aac(0x1f3)][_0xe63239]}});}),_0xfd5b9e[_0x498e64(0x1e1)](..._0x18af55);}logger[_0x498e64(0x1ab)](_0x498e64(0x223)+_0x1b7770['config'][_0x498e64(0x1f3)][_0x498e64(0x1e8)]+'\x20platforms'),logger[_0x498e64(0x1ab)](_0x485a36[_0x498e64(0x249)]);let _0x485242;_0x485a36[_0x498e64(0x21f)](parallelTestRun,_0xfd5b9e,_0x92148e,_0x1b7770)[_0x498e64(0x1a6)](_0x59475b=>{const _0x33ef8d=_0x498e64;_0x485242=_0x59475b,_0x485a36[_0x33ef8d(0x270)](printStats,_0x59475b,_0x344fc7[_0x33ef8d(0x1fa)],_0x344fc7[_0x33ef8d(0x26a)]||_0x344fc7[_0x485a36[_0x33ef8d(0x272)]]);})['finally'](async()=>{const _0x455d30=_0x498e64;_0x1b7770[_0x455d30(0x1ec)]=helper[_0x455d30(0x1e4)](_0x485242,_0x485a36[_0x455d30(0x204)]),await helper[_0x455d30(0x215)](_0x1b7770),testOpsHelper[_0x455d30(0x1aa)]();});}}module[a28_0x17a855(0x1e7)]=run;
2
+ 'use strict';const a28_0x5f0cd3=a28_0x4550;(function(_0x2b84cc,_0x2ced00){const _0x3379f8=a28_0x4550,_0x175ffb=_0x2b84cc();while(!![]){try{const _0x3a3985=parseInt(_0x3379f8(0x190))/0x1*(parseInt(_0x3379f8(0x18b))/0x2)+-parseInt(_0x3379f8(0x10e))/0x3+parseInt(_0x3379f8(0x163))/0x4+parseInt(_0x3379f8(0x193))/0x5*(-parseInt(_0x3379f8(0x126))/0x6)+parseInt(_0x3379f8(0x16b))/0x7+parseInt(_0x3379f8(0x148))/0x8*(-parseInt(_0x3379f8(0xad))/0x9)+parseInt(_0x3379f8(0x130))/0xa;if(_0x3a3985===_0x2ced00)break;else _0x175ffb['push'](_0x175ffb['shift']());}catch(_0x2c9d0c){_0x175ffb['push'](_0x175ffb['shift']());}}}(a28_0x1505,0x37507));const chalk=require('chalk'),logger=require('../../helpers/logger')[a28_0x5f0cd3(0xf5)],{default:BrowserStackSetup}=require(a28_0x5f0cd3(0x189)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x5f0cd3(0x188)),{requireModule,nestedKeyValue}=require(a28_0x5f0cd3(0xd0)),{getPercyOptions}=require(a28_0x5f0cd3(0x11b)),Base=requireModule('mocha/lib/reporters/base.js'),collectFiles=requireModule(a28_0x5f0cd3(0x16c)),constants=require(a28_0x5f0cd3(0xe5));function tag(_0x1aead5,_0x3d2f42,_0x433847,_0x293a6c){const _0x58aa96=a28_0x5f0cd3,_0x275f6c={'FEJKI':function(_0x170dd2,_0x127925){return _0x170dd2+_0x127925;},'gbSAu':function(_0x418e60,_0x4e676a){return _0x418e60+_0x4e676a;},'uygbt':function(_0x39525b,_0x3980af){return _0x39525b+_0x3980af;},'VuwFQ':function(_0x5c292a,_0xbfa483){return _0x5c292a(_0xbfa483);},'Riwow':function(_0xb04ad9,_0x124ab7){return _0xb04ad9+_0x124ab7;},'hEwss':function(_0x4c6fef,_0x1951ab){return _0x4c6fef+_0x1951ab;},'EaDJs':function(_0x193642,_0x2cebff){return _0x193642+_0x2cebff;},'HrYtp':function(_0x4e38bc,_0x2cbd9b){return _0x4e38bc+_0x2cbd9b;}},_0x5321ef=_0x433847?'/>':'>',_0x11e954=[];let _0x2578ef;for(const _0x56f9f5 in _0x3d2f42){Object['prototype'][_0x58aa96(0xb3)][_0x58aa96(0x166)](_0x3d2f42,_0x56f9f5)&&_0x11e954[_0x58aa96(0xf7)](_0x275f6c[_0x58aa96(0x128)](_0x275f6c[_0x58aa96(0x16a)](_0x275f6c[_0x58aa96(0xd1)](_0x56f9f5,'=\x22'),_0x275f6c[_0x58aa96(0x18d)](escape,_0x3d2f42[_0x56f9f5])),'\x22'));}return _0x2578ef=_0x275f6c[_0x58aa96(0x195)](_0x275f6c[_0x58aa96(0x183)](_0x275f6c[_0x58aa96(0xa2)]('<',_0x1aead5),_0x11e954[_0x58aa96(0x11d)]?_0x275f6c[_0x58aa96(0x128)]('\x20',_0x11e954[_0x58aa96(0x17f)]('\x20')):''),_0x5321ef),_0x293a6c&&(_0x2578ef+=_0x275f6c[_0x58aa96(0xa2)](_0x275f6c[_0x58aa96(0x16a)](_0x275f6c['HrYtp'](_0x293a6c,'</'),_0x1aead5),_0x5321ef)),_0x2578ef;}let xunitContent='';function xunitWrite(_0x13dae9){xunitContent+=_0x13dae9;}function xunitTest(_0x1d2965,_0x28f839){const _0x4129c1=a28_0x5f0cd3,_0x3c55e7={'DWCXs':function(_0x374c75,_0x449910){return _0x374c75/_0x449910;},'mapOK':function(_0x2ebe50,_0x2a7a53){return _0x2ebe50===_0x2a7a53;},'noHBK':_0x4129c1(0xe3),'PVTCT':function(_0x4cc961,_0x170db7){return _0x4cc961+_0x170db7;},'LmlGR':function(_0x1a3344,_0x558007){return _0x1a3344(_0x558007);},'krRYa':function(_0x5c7648,_0x1992e4,_0x5eeb5a,_0x3629a6,_0x4a7b60){return _0x5c7648(_0x1992e4,_0x5eeb5a,_0x3629a6,_0x4a7b60);},'UcGTe':'testcase','xcddV':_0x4129c1(0xb4),'YLHLg':function(_0x12a06f,_0x3cbdaf){return _0x12a06f+_0x3cbdaf;},'URTGw':function(_0x27cb09,_0x3bfcba){return _0x27cb09+_0x3bfcba;},'xERQT':function(_0x48835f,_0x186633){return _0x48835f(_0x186633);},'syrtC':function(_0x1199cf,_0x288eb1,_0x5b11b9,_0x47500d,_0x1d1f59){return _0x1199cf(_0x288eb1,_0x5b11b9,_0x47500d,_0x1d1f59);},'lREtV':function(_0xfae6a4,_0x5b6af4,_0x13ee3e,_0x5d14da){return _0xfae6a4(_0x5b6af4,_0x13ee3e,_0x5d14da);},'TngKB':_0x4129c1(0x15d),'pDYQC':function(_0x6823f3,_0x49b8da){return _0x6823f3(_0x49b8da);},'fCkLv':function(_0x258d07,_0x102896,_0x44434a,_0xbfe563){return _0x258d07(_0x102896,_0x44434a,_0xbfe563);}};Base[_0x4129c1(0x9d)]=![];var _0x3e24b3={'classname':_0x1d2965['fullTitle'],'name':_0x1d2965[_0x4129c1(0xfa)],'time':_0x3c55e7[_0x4129c1(0x179)](_0x1d2965[_0x4129c1(0x11e)],0x3e8)||0x0,'platform':_0x28f839};if(_0x3c55e7[_0x4129c1(0xc6)](_0x1d2965['state'],_0x3c55e7[_0x4129c1(0x150)])){var _0x171a9c=_0x1d2965[_0x4129c1(0x121)],_0x4b09fa=!Base[_0x4129c1(0x15f)]&&Base[_0x4129c1(0x112)](_0x171a9c)?_0x3c55e7[_0x4129c1(0x146)]('\x0a',Base['generateDiff'](_0x171a9c[_0x4129c1(0xba)],_0x171a9c[_0x4129c1(0x145)])):'';_0x3c55e7['LmlGR'](xunitWrite,_0x3c55e7[_0x4129c1(0x117)](tag,_0x3c55e7[_0x4129c1(0xab)],_0x3e24b3,![],_0x3c55e7['krRYa'](tag,_0x3c55e7[_0x4129c1(0xb6)],{},![],_0x3c55e7[_0x4129c1(0x111)](_0x3c55e7[_0x4129c1(0x146)](_0x3c55e7[_0x4129c1(0x181)](_0x3c55e7[_0x4129c1(0xc8)](escape,_0x171a9c[_0x4129c1(0x11a)]),_0x3c55e7[_0x4129c1(0xd6)](escape,_0x4b09fa)),'\x0a'),_0x3c55e7['xERQT'](escape,_0x171a9c[_0x4129c1(0x155)])))));}else _0x1d2965[_0x4129c1(0x165)]?_0x3c55e7[_0x4129c1(0xd6)](xunitWrite,_0x3c55e7[_0x4129c1(0xf2)](tag,_0x3c55e7[_0x4129c1(0xab)],_0x3e24b3,![],_0x3c55e7['lREtV'](tag,_0x3c55e7[_0x4129c1(0x187)],{},!![]))):_0x3c55e7['pDYQC'](xunitWrite,_0x3c55e7[_0x4129c1(0xca)](tag,_0x3c55e7[_0x4129c1(0xab)],_0x3e24b3,!![]));};function getStats(_0x26edf7){const _0x4671fc=a28_0x5f0cd3,_0x48d18e={};_0x48d18e[_0x4671fc(0xbc)]=_0x4671fc(0x107),_0x48d18e[_0x4671fc(0xc3)]='passed',_0x48d18e[_0x4671fc(0xf6)]='failed',_0x48d18e[_0x4671fc(0x159)]='results';const _0x39b38e=_0x48d18e,_0x2fa20a=Object[_0x4671fc(0x116)](_0x26edf7);let _0x823815=0x0,_0x3b254e=0x0,_0x1b6b83=0x0,_0x3fe0c6=0x0;const _0x5340c2=new Set();_0x2fa20a['forEach'](_0x494e39=>{const _0x1b8bb3=_0x4671fc;_0x26edf7[_0x494e39][_0x39b38e[_0x1b8bb3(0x159)]][_0x1b8bb3(0x102)](_0x212ebc=>{const _0x357200=_0x1b8bb3;_0x5340c2[_0x357200(0x18e)](_0x212ebc[_0x39b38e[_0x357200(0xbc)]]),_0x823815++;switch(_0x212ebc['state']){case _0x39b38e[_0x357200(0xc3)]:_0x1b6b83++;break;case _0x39b38e['FMgHw']:_0x3b254e++;break;default:_0x3fe0c6++;}});});const _0x29564d={};return _0x29564d[_0x4671fc(0xc5)]=_0x5340c2[_0x4671fc(0x10f)],_0x29564d['platforms']=_0x2fa20a,_0x29564d[_0x4671fc(0x131)]=_0x823815,_0x29564d[_0x4671fc(0x15c)]=_0x3b254e,_0x29564d[_0x4671fc(0x156)]=_0x1b6b83,_0x29564d[_0x4671fc(0x16f)]=_0x3fe0c6,_0x29564d;}function a28_0x1505(){const _0x39ec44=['Couldn\x27t\x20write\x20xunit\x20result\x20to','uhLPd','actual','qHNlb','Jisfo','writeFileSync','ryjVm','ilebF','GMupa','bgBlueBright','info','swqZo','spec','testSuites','mapOK','doc','LmlGR','cvsho','fCkLv','state','PIRpi','NcUZA','Writing\x20xunit\x20result\x20to\x20file','VtAMO','../../helpers/helper','uygbt','dpJmA','cjs','oCqHe','wBGCh','xERQT','notifyUpdate','sNBAP','yBrKb','hdpWs','getUserWorkerCount','IghDr','green','toUTCString','FIsxM','files','eSwQH','extension','failed','VMBHf','../utils/constants','framework','eeJWf','passed','OYYxU','json','xunit','isUndefined','JgODt','consoleLog','has','stringify','finally','syrtC','FRAMEWORKS','ZtwPw','winstonLogger','FMgHw','push','ycMqj','bold','title','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','tDKHo','WslYy','dOAhy','WpXNF','setupTCGAuth','failures','forEach','TTRmO','BvOXN','platforms','env','suite','BROWSERSTACK_TEST_OBSERVABILITY','Fvnkw','Tests:\x20\x20\x20\x20\x20\x20\x20','tonph','argv','sQBgC','561303tktOZS','size','YfDiR','YLHLg','showDiff','testsuite','testObservability','get','keys','krRYa','min','egZxo','message','../../helpers/percy/utils','Couldn\x27t\x20write\x20json\x20result\x20to','length','duration','OnZfj','BQzEC','err','printBuildLink','PsBqv','Setting\x20non\x20exit\x20code\x20for\x20failures','HKkuX','461622yALCtB','FGYPF','FEJKI','meoUe','asbxj','getOwnPropertyNames','fireFunnelTestEvent','recursive','MhMTg','XcBvV','1967540KsGbxI','totalTests','VSYgw','Total\x20Suites:\x20','pQBtB','cQniQ','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','output','cliConfig','shouldReRunObservabilityTests','Drzza','rootHooks','mjs','LouOG','VcXwM','then','AVFFG','wkJBc','parallelsPerPlatform','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','expected','PVTCT','bgRedBright','16HHauDu','WQCKn','getErrorMessageFromResults','LEWxf','accessibilityOptions','speed','rmdirSync','xmKnk','noHBK','mocha','results','Qxbuz','SCLao','stack','testsPassed','titlePathV','reporterOptions','oOJKL','includes','BROWSERSTACK_RERUN_TESTS','testsFailed','skipped','isBrowserstackInfra','hideDiff','\x20total','vQpFC','fuMBL','768816HTxbvW','fullTitle','isPending','call','--disable-test-observability','cfyGG','getHubUrl','gbSAu','976745WLrAKO','mocha/lib/cli/collect-files.js','Running\x20your\x20mocha\x20tests\x20across\x20','MOCHA','testsPending','QdiyB','isTestObservabilitySession','\x20failed','svPgu','HmMQv','parseFileNames','ynlYP','log','suiteName','DWCXs','finalExecution','IkjFV','YImen','OieCd','file','join','Mocha\x20Tests','URTGw','markSDKSetupComplete','hEwss','getPlatformName','accessibility','****\x20FAILURES\x20****','TngKB','../test-runner','../../helpers/BrowserStackSetup','ignore','396baLbRM','SifFX','VuwFQ','add','platform','1762cCUXQc','IHnLK','Writing\x20json\x20result\x20to\x20file','5fIsyut','unlinkSync','Riwow','vPhiX','proxySettings','handleApp','rGvaa','reporter','Now,\x20showing\x20logs\x20from\x20mocha','zfJmM','useColors','red','XVRwp','Mbifr','test','EaDJs','error','TqqYM','prepareCapabilities','logLevel','SMIhH','validPlatformsPresent','FyxmE','config','UcGTe','reporter-option','1740438xbgPXI','Qnwdi','XGdyT','ZEBaP','assign','yceMg','hasOwnProperty','failure','object','xcddV','debug'];a28_0x1505=function(){return _0x39ec44;};return a28_0x1505();}function errorJSON(_0x3b79ff){const _0x440118=a28_0x5f0cd3;var _0x44475b={};return Object[_0x440118(0x12b)](_0x3b79ff)[_0x440118(0x102)](function(_0x10efd9){_0x44475b[_0x10efd9]=_0x3b79ff[_0x10efd9];},_0x3b79ff),_0x44475b;}function a28_0x4550(_0x467581,_0x4b4267){const _0x15059c=a28_0x1505();return a28_0x4550=function(_0x45502c,_0x4683fd){_0x45502c=_0x45502c-0x99;let _0x49cc92=_0x15059c[_0x45502c];return _0x49cc92;},a28_0x4550(_0x467581,_0x4b4267);}function cleanCycles(_0x1c5c48){const _0x477f0e=a28_0x5f0cd3,_0x510464={};_0x510464[_0x477f0e(0x18c)]=function(_0xdfbe3c,_0x3888b5){return _0xdfbe3c===_0x3888b5;},_0x510464[_0x477f0e(0xb9)]=_0x477f0e(0xb5),_0x510464['VcXwM']=function(_0x2f848b,_0x71d37f){return _0x2f848b!==_0x71d37f;},_0x510464[_0x477f0e(0x142)]=function(_0x2fc5f8,_0xb4618c){return _0x2fc5f8!==_0xb4618c;},_0x510464[_0x477f0e(0x104)]=function(_0x68ada4,_0x487bc5){return _0x68ada4+_0x487bc5;};const _0x158df9=_0x510464;var _0x42e2d0=[];return JSON['parse'](JSON['stringify'](_0x1c5c48,function(_0x312063,_0x490b36){const _0x1e18cf=_0x477f0e;if(_0x158df9[_0x1e18cf(0x18c)](typeof _0x490b36,_0x158df9['uhLPd'])&&_0x158df9[_0x1e18cf(0x13f)](_0x490b36,null)){if(_0x158df9['wkJBc'](_0x42e2d0['indexOf'](_0x490b36),-0x1))return _0x158df9[_0x1e18cf(0x104)]('',_0x490b36);_0x42e2d0[_0x1e18cf(0xf7)](_0x490b36);}return _0x490b36;}));}function clean(_0x2aaaa9){const _0x3215e1=a28_0x5f0cd3,_0x2c48b2={'FGYPF':function(_0x200c45,_0x3ebe98){return _0x200c45 instanceof _0x3ebe98;},'qHNlb':function(_0x5224a3,_0x396496){return _0x5224a3(_0x396496);},'OKDMM':function(_0x31bf50,_0x17eeae){return _0x31bf50(_0x17eeae);}};var _0x3a64e4=_0x2aaaa9[_0x3215e1(0x121)]||{};return _0x2c48b2[_0x3215e1(0x127)](_0x3a64e4,Error)&&(_0x3a64e4=_0x2c48b2[_0x3215e1(0xbb)](errorJSON,_0x3a64e4)),{'title':_0x2aaaa9['title'],'fullTitle':_0x2aaaa9[_0x3215e1(0x164)],'file':_0x2aaaa9[_0x3215e1(0x17e)],'duration':_0x2aaaa9[_0x3215e1(0x11e)],'currentRetry':_0x2aaaa9['currentRetry'],'speed':_0x2aaaa9[_0x3215e1(0x14d)],'err':_0x2c48b2['OKDMM'](cleanCycles,_0x3a64e4)};}function printStats(_0x303560,_0x35902b=a28_0x5f0cd3(0xc4),_0x57808c={}){const _0x3710cd=a28_0x5f0cd3,_0x16c9d0={'tDKHo':function(_0x4393e1,_0x5d7961){return _0x4393e1(_0x5d7961);},'cQniQ':function(_0x3ccb8f,_0x3ba9a6){return _0x3ccb8f===_0x3ba9a6;},'ynlYP':_0x3710cd(0xe8),'WslYy':'passes','wBGCh':function(_0x2ba54a,_0x365cc5){return _0x2ba54a(_0x365cc5);},'BQzEC':function(_0x2303c1,_0x5536cd){return _0x2303c1===_0x5536cd;},'OieCd':_0x3710cd(0xe3),'WpXNF':_0x3710cd(0x101),'Drzza':'pending','XcBvV':function(_0x35a636,_0x1477a5){return _0x35a636(_0x1477a5);},'VSYgw':_0x3710cd(0x152),'mHBIg':function(_0x34d53b,_0x53d698){return _0x34d53b===_0x53d698;},'Qnwdi':function(_0x35b62c,_0x8210aa){return _0x35b62c===_0x8210aa;},'dpJmA':function(_0x18b9a3,_0x197b5e){return _0x18b9a3*_0x197b5e;},'WQCKn':function(_0x22cb9b,_0x4ce0bc,_0x4cc7fb){return _0x22cb9b(_0x4ce0bc,_0x4cc7fb);},'egZxo':function(_0x2e872f,_0x187923){return _0x2e872f===_0x187923;},'GMupa':function(_0x1c9929,_0x2280eb){return _0x1c9929>_0x2280eb;},'zfJmM':function(_0x9dfd47){return _0x9dfd47();},'JgODt':_0x3710cd(0xc7),'HKkuX':function(_0x2d1dc1,_0x55cdf9){return _0x2d1dc1>_0x55cdf9;},'VMBHf':_0x3710cd(0x124),'pQBtB':'Printing\x20stats\x20of\x20tests','Mbifr':function(_0x2fd55e,_0x3cf70a){return _0x2fd55e+_0x3cf70a;},'FFoXW':'Total\x20Platforms:\x20','iSIeJ':function(_0x39b97e,_0x157b7b){return _0x39b97e+_0x157b7b;},'asbxj':_0x3710cd(0x133),'QrkBz':function(_0x26c46d,_0x264aa4){return _0x26c46d+_0x264aa4;},'YsBqg':function(_0x2783d8,_0x508eea){return _0x2783d8+_0x508eea;},'xmKnk':function(_0x43acad,_0x46abb8){return _0x43acad+_0x46abb8;},'tonph':_0x3710cd(0x10a),'ryjVm':function(_0x5f2160,_0xd7ce77){return _0x5f2160>_0xd7ce77;},'acLLg':function(_0x2f4853,_0x19fb27){return _0x2f4853>_0x19fb27;},'ktoKt':function(_0x58da76,_0x13d0db){return _0x58da76+_0x13d0db;},'bKVRI':function(_0x10da7a,_0xa389c8){return _0x10da7a+_0xa389c8;},'HYRaf':'\x0a\x0a\x0a','IghDr':function(_0x3496ac,_0x567bcf){return _0x3496ac===_0x567bcf;},'OYYxU':_0x3710cd(0xea),'cfyGG':_0x3710cd(0x192),'CBJIh':_0x3710cd(0x11c),'SCLao':_0x3710cd(0x137),'rpKaA':_0x3710cd(0xeb),'eeJWf':_0x3710cd(0x180),'ZtwPw':function(_0x27c0db,_0x525323){return _0x27c0db||_0x525323;},'QdiyB':function(_0x11cc35,_0x6d81d8,_0x1e9186,_0x5adb5f){return _0x11cc35(_0x6d81d8,_0x1e9186,_0x5adb5f);},'VtAMO':_0x3710cd(0x113),'dOAhy':function(_0x28ffd8,_0xc50169){return _0x28ffd8-_0xc50169;},'YImen':function(_0x1a6796,_0x541772){return _0x1a6796/_0x541772;},'Ztdcw':'</testsuite>','XGdyT':_0x3710cd(0xce),'IkjFV':_0x3710cd(0xb8),'cvsho':_0x3710cd(0x144),'vQpFC':function(_0x25d11c,_0x132417){return _0x25d11c===_0x132417;},'OnZfj':'Listing\x20all\x20the\x20failures','yBrKb':_0x3710cd(0x186)};if(_0x16c9d0[_0x3710cd(0x119)](_0x35902b,_0x16c9d0[_0x3710cd(0xed)]))return;const _0x209353=0x0,_0x40e8ee=()=>{const _0x66b75a=_0x3710cd;return _0x16c9d0[_0x66b75a(0xfc)](Array,_0x209353)['join']('\x20\x20');},{testSuites:_0x443494,platforms:_0x5cd530,totalTests:_0x21da42,testsFailed:_0xbc1499,testsPassed:_0x4294ef,testsPending:_0x343a85}=_0x16c9d0[_0x3710cd(0xd5)](getStats,_0x303560);_0x16c9d0[_0x3710cd(0x125)](_0xbc1499,0x0)&&(logger[_0x3710cd(0xb7)](_0x16c9d0[_0x3710cd(0xe4)]),process['exitCode']=Math[_0x3710cd(0x118)](_0xbc1499,0xff));logger[_0x3710cd(0xb7)](_0x16c9d0[_0x3710cd(0x134)]);const _0x3fcaf3=''+_0x16c9d0[_0x3710cd(0xa0)](chalk[_0x3710cd(0xf9)](_0x16c9d0['FFoXW']),_0x5cd530[_0x3710cd(0x11d)]),_0xccb45e=''+_0x16c9d0['iSIeJ'](chalk[_0x3710cd(0xf9)](_0x16c9d0[_0x3710cd(0x12a)]),_0x443494),_0x58969b=''+_0x16c9d0['QrkBz'](_0x16c9d0['YsBqg'](_0x16c9d0[_0x3710cd(0x14f)](chalk[_0x3710cd(0xf9)](_0x16c9d0[_0x3710cd(0x10b)]),_0x16c9d0[_0x3710cd(0xc0)](_0xbc1499,0x0)?chalk[_0x3710cd(0xf9)][_0x3710cd(0x9e)](_0xbc1499+_0x3710cd(0x172))+',\x20':''),_0x16c9d0[_0x3710cd(0xbe)](_0x343a85,0x0)?chalk[_0x3710cd(0xf9)]['yellow'](_0x343a85+'\x20skipped')+',\x20':''),_0x16c9d0['acLLg'](_0x4294ef,0x0)?chalk[_0x3710cd(0xf9)][_0x3710cd(0xdd)](_0x4294ef+'\x20passed')+',\x20':'')+_0x21da42+_0x3710cd(0x160);console[_0x3710cd(0x177)](_0x16c9d0['xmKnk'](_0x16c9d0['ktoKt'](_0x16c9d0[_0x3710cd(0xa0)](_0x16c9d0['bKVRI'](_0x16c9d0[_0x3710cd(0xa0)](_0x16c9d0['HYRaf'],_0x3fcaf3),'\x0a'),_0xccb45e),'\x0a'),_0x58969b));if(_0x16c9d0[_0x3710cd(0xdc)](_0x35902b,_0x16c9d0[_0x3710cd(0xe9)])){const _0x244292={},_0x5bfc34={};_0x5bfc34['testSuites']=_0x443494,_0x5bfc34[_0x3710cd(0x105)]=_0x5cd530,_0x5bfc34[_0x3710cd(0x15c)]=_0xbc1499,_0x5bfc34[_0x3710cd(0x156)]=_0x4294ef,_0x5bfc34[_0x3710cd(0x16f)]=_0x343a85,_0x244292['stats']=_0x5bfc34,_0x5cd530[_0x3710cd(0x102)](_0x19fb4a=>{const _0x397a30=_0x3710cd,_0x28053d={'AVFFG':function(_0xf8a14c,_0x38fdd6){const _0x50033d=a28_0x4550;return _0x16c9d0[_0x50033d(0x135)](_0xf8a14c,_0x38fdd6);},'AmLZq':_0x16c9d0[_0x397a30(0x176)],'PIRpi':_0x16c9d0[_0x397a30(0xfd)],'PsBqv':function(_0x5d6b60,_0x4608cb){const _0x4e7511=_0x397a30;return _0x16c9d0[_0x4e7511(0xd5)](_0x5d6b60,_0x4608cb);},'SMIhH':function(_0x275c01,_0xc48b09){const _0x305c9c=_0x397a30;return _0x16c9d0[_0x305c9c(0x120)](_0x275c01,_0xc48b09);},'eSwQH':_0x16c9d0[_0x397a30(0x17d)],'svPgu':_0x16c9d0[_0x397a30(0xff)],'Fvnkw':_0x16c9d0[_0x397a30(0x13b)],'IHnLK':function(_0x131678,_0x36daf9){const _0x3210dc=_0x397a30;return _0x16c9d0[_0x3210dc(0x12f)](_0x131678,_0x36daf9);}};_0x244292[_0x19fb4a]={'pending':[],'failures':[],'passes':[],'tests':_0x303560[_0x19fb4a][_0x16c9d0['VSYgw']]['map'](clean)},_0x303560[_0x19fb4a][_0x16c9d0[_0x397a30(0x132)]][_0x397a30(0x102)](_0x109fa3=>{const _0x24bfec=_0x397a30;if(_0x28053d[_0x24bfec(0x141)](_0x109fa3[_0x24bfec(0xcb)],_0x28053d['AmLZq']))_0x244292[_0x19fb4a][_0x28053d[_0x24bfec(0xcc)]][_0x24bfec(0xf7)](_0x28053d[_0x24bfec(0x123)](clean,_0x109fa3));else _0x28053d[_0x24bfec(0xa7)](_0x109fa3[_0x24bfec(0xcb)],_0x28053d[_0x24bfec(0xe1)])?_0x244292[_0x19fb4a][_0x28053d[_0x24bfec(0x173)]][_0x24bfec(0xf7)](_0x28053d[_0x24bfec(0x123)](clean,_0x109fa3)):_0x244292[_0x19fb4a][_0x28053d[_0x24bfec(0x109)]][_0x24bfec(0xf7)](_0x28053d[_0x24bfec(0x191)](clean,_0x109fa3));});});if(_0x57808c[_0x3710cd(0x138)])try{logger['debug'](_0x16c9d0[_0x3710cd(0x168)],_0x57808c[_0x3710cd(0x138)]),fs[_0x3710cd(0xbd)](_0x57808c['output'],JSON[_0x3710cd(0xf0)](_0x244292,null,0x3));}catch(_0xb3b0e8){logger[_0x3710cd(0xa3)](_0x16c9d0['CBJIh'],_0x57808c[_0x3710cd(0x138)]),logger[_0x3710cd(0xb7)](_0xb3b0e8);}else logger[_0x3710cd(0xb7)](_0x16c9d0[_0x3710cd(0x154)]),console[_0x3710cd(0x177)](JSON['stringify'](_0x244292,null,0x3));}else{if(_0x16c9d0[_0x3710cd(0x135)](_0x35902b,_0x16c9d0['rpKaA'])){let _0x3dd895;const _0x2cbae6=_0x16c9d0[_0x3710cd(0xe7)];_0x57808c&&(_0x3dd895=_0x57808c[_0x3710cd(0x178)]);_0x3dd895=_0x16c9d0[_0x3710cd(0xf4)](_0x3dd895,_0x2cbae6);let _0x59c547=0x0,_0x4036c4=0x0,_0x4be16d=0x0,_0x24f67d=0x0;_0x5cd530[_0x3710cd(0x102)](_0x8b8a58=>{const _0x2e9860=_0x3710cd,_0x576432={'HmMQv':function(_0x168022,_0x412daf){return _0x16c9d0['mHBIg'](_0x168022,_0x412daf);},'fkmbo':_0x16c9d0[_0x2e9860(0x176)],'Qxbuz':function(_0x5eba81,_0x4d8311){const _0x17b16f=_0x2e9860;return _0x16c9d0[_0x17b16f(0xae)](_0x5eba81,_0x4d8311);},'rGvaa':_0x16c9d0[_0x2e9860(0x17d)],'TqqYM':function(_0xfb829a,_0x3dac62){const _0x2b18f2=_0x2e9860;return _0x16c9d0[_0x2b18f2(0xd2)](_0xfb829a,_0x3dac62);}};_0x303560[_0x8b8a58][_0x16c9d0['VSYgw']]['forEach'](_0x20f6f2=>{const _0x3af7b5=_0x2e9860;if(_0x576432[_0x3af7b5(0x174)](_0x20f6f2['state'],_0x576432['fkmbo']))_0x59c547++;else _0x576432[_0x3af7b5(0x153)](_0x20f6f2[_0x3af7b5(0xcb)],_0x576432[_0x3af7b5(0x99)])&&_0x4036c4++;_0x4be16d++,_0x24f67d+=_0x576432[_0x3af7b5(0xa4)](_0x20f6f2[_0x3af7b5(0x11e)],0x1);});}),_0x16c9d0['wBGCh'](xunitWrite,_0x16c9d0[_0x3710cd(0x170)](tag,_0x16c9d0[_0x3710cd(0xcf)],{'name':_0x3dd895,'tests':_0x4be16d,'failures':0x0,'errors':_0x4036c4,'skipped':_0x16c9d0['dOAhy'](_0x16c9d0[_0x3710cd(0xfe)](_0x4be16d,_0x4036c4),_0x59c547),'timestamp':new Date()[_0x3710cd(0xde)](),'time':_0x16c9d0[_0x3710cd(0x17c)](_0x24f67d,0x3e8)||0x0},![])),_0x5cd530[_0x3710cd(0x102)](_0x1b0321=>{const _0x2d6c78=_0x3710cd;_0x303560[_0x1b0321][_0x16c9d0[_0x2d6c78(0x132)]]['forEach'](_0x561909=>{const _0x3685c4=_0x2d6c78;_0x16c9d0[_0x3685c4(0x149)](xunitTest,_0x561909,_0x1b0321);});}),_0x16c9d0['wBGCh'](xunitWrite,_0x16c9d0['Ztdcw']);if(_0x57808c['output'])try{logger[_0x3710cd(0xb7)](_0x16c9d0[_0x3710cd(0xaf)],_0x57808c['output']),fs[_0x3710cd(0xbd)](_0x57808c[_0x3710cd(0x138)],xunitContent);}catch(_0xb99e70){logger['error'](_0x16c9d0[_0x3710cd(0x17b)],_0x57808c[_0x3710cd(0x138)]),logger[_0x3710cd(0xb7)](_0xb99e70);}else logger[_0x3710cd(0xb7)](_0x16c9d0[_0x3710cd(0xc9)]),console[_0x3710cd(0x177)](xunitContent);}else{if(_0x16c9d0[_0x3710cd(0x161)](_0xbc1499,0x0))return;console['log'](),logger[_0x3710cd(0xb7)](_0x16c9d0[_0x3710cd(0x11f)]),console['log'](chalk['bold'][_0x3710cd(0x147)](_0x16c9d0[_0x3710cd(0xd9)])),_0x5cd530[_0x3710cd(0x102)](_0x38e384=>{const _0x30297b=_0x3710cd,_0x13a84e={'XPRYB':function(_0x4d6df4,_0x3f7664){const _0x31a85c=a28_0x4550;return _0x16c9d0[_0x31a85c(0x119)](_0x4d6df4,_0x3f7664);},'hdpWs':_0x16c9d0[_0x30297b(0x17d)]},_0x169596=[];_0x303560[_0x38e384][_0x16c9d0['VSYgw']][_0x30297b(0x102)](_0x75cebd=>{const _0x5dc31d=_0x30297b;_0x13a84e['XPRYB'](_0x75cebd[_0x5dc31d(0xcb)],_0x13a84e[_0x5dc31d(0xda)])&&(_0x75cebd['titlePath']=()=>_0x75cebd[_0x5dc31d(0x157)],_0x169596[_0x5dc31d(0xf7)](_0x75cebd));}),_0x16c9d0[_0x30297b(0xc0)](_0x169596[_0x30297b(0x11d)],0x0)&&(Base[_0x30297b(0xee)](),Base[_0x30297b(0xee)](_0x16c9d0[_0x30297b(0x9c)](_0x40e8ee),chalk[_0x30297b(0xf9)][_0x30297b(0xc1)](_0x38e384)),Base['list'](_0x169596));});}}}async function run(_0x2f0f71,_0x37730b){const _0x40e57c=a28_0x5f0cd3,_0xf3851f={'vPhiX':function(_0x58f963,_0x40ce0f,_0x27fadc,_0x2f468e){return _0x58f963(_0x40ce0f,_0x27fadc,_0x2f468e);},'ZEBaP':_0x40e57c(0xac),'FIsxM':'error\x20removing\x20tcg\x20config\x20file','ycMqj':'SDKTestSuccessful','MhMTg':function(_0x4d26d0,_0x51c0d2,_0x3ccf16,_0x29b124){return _0x4d26d0(_0x51c0d2,_0x3ccf16,_0x29b124);},'XVRwp':_0x40e57c(0x151),'sNBAP':_0x40e57c(0x167),'zafVk':'--disable-browserstack-automation','oCqHe':function(_0x1302a3,_0x500adc){return _0x1302a3!=_0x500adc;},'sQBgC':_0x40e57c(0xd3),'NcUZA':_0x40e57c(0x13d),'TTRmO':_0x40e57c(0xa1),'LouOG':'rerunTests','LEWxf':function(_0x2c908c,_0x23d3fb){return _0x2c908c(_0x23d3fb);},'qieeW':function(_0x15bb4e,_0x21dc6b,_0x3d45d8){return _0x15bb4e(_0x21dc6b,_0x3d45d8);},'meoUe':_0x40e57c(0xe0),'yceMg':'Running\x20your\x20mocha\x20tests','ilebF':_0x40e57c(0x9b),'fuMBL':function(_0x416d5c,_0x1cc101,_0xd875eb,_0x31ab0a){return _0x416d5c(_0x1cc101,_0xd875eb,_0x31ab0a);},'FyxmE':function(_0x45fefb,_0x15205e){return _0x45fefb*_0x15205e;},'YfDiR':function(_0x47ac2f,_0x421b6d){return _0x47ac2f(_0x421b6d);},'ZMqrg':function(_0x22c465,_0x47cd9a){return _0x22c465!==_0x47cd9a;}};process[_0x40e57c(0x10c)][_0x40e57c(0x15a)](_0xf3851f[_0x40e57c(0xd8)])&&(process[_0x40e57c(0x106)][_0x40e57c(0x108)]=![]);process[_0x40e57c(0x10c)]['includes'](_0xf3851f['zafVk'])&&(process['env']['BROWSERSTACK_AUTOMATION']=![]);const _0x100958=new BrowserStackSetup(_0x2f0f71,_0xf3851f[_0x40e57c(0x9f)]);helper['isBrowserstackInfra']()?(await _0x100958['initialize'](),await helper[_0x40e57c(0x198)](_0x100958[_0x40e57c(0xaa)])):await _0x100958[_0x40e57c(0x100)]();const _0x59324c=[];let _0x55b7b5=[];if(!_0x100958[_0x40e57c(0xaa)])return;_0xf3851f[_0x40e57c(0xd4)](_0x100958[_0x40e57c(0xaa)][_0x40e57c(0x114)],null)&&(process[_0x40e57c(0x106)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x100958[_0x40e57c(0xaa)]['testObservability']);!helper['isUndefined'](_0x100958['config'][_0x40e57c(0x185)])&&(process[_0x40e57c(0x106)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x100958[_0x40e57c(0xaa)][_0x40e57c(0x185)]);!helper['isUndefined'](_0x100958[_0x40e57c(0xaa)][_0x40e57c(0x14c)])&&(process[_0x40e57c(0x106)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x40e57c(0xf0)](_0x100958[_0x40e57c(0xaa)]['accessibilityOptions']));const {extension:extension=['js',_0xf3851f[_0x40e57c(0x10d)],_0xf3851f[_0x40e57c(0xcd)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0xf3851f[_0x40e57c(0x103)]]}=_0x2f0f71,_0x4bf372={..._0x2f0f71};_0x4bf372[_0x40e57c(0x13c)]=null;const _0x388b1f=_0x4bf372;let _0x484df6;if(testOpsHelper[_0x40e57c(0x171)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x1190a7=process[_0x40e57c(0x106)][_0x40e57c(0x15b)];!helper[_0x40e57c(0xec)](_0x100958[_0x40e57c(0x139)])&&_0x100958[_0x40e57c(0x139)][_0x40e57c(0xef)](_0xf3851f[_0x40e57c(0x13e)])&&(_0x1190a7=_0x100958['cliConfig'][_0x40e57c(0x115)](_0xf3851f[_0x40e57c(0x13e)])),_0x484df6=testOpsHelper[_0x40e57c(0x175)](_0x1190a7);}if(helper[_0x40e57c(0xec)](_0x484df6)){const _0x358231={};_0x358231[_0x40e57c(0x18a)]=ignore,_0x358231[_0x40e57c(0xe2)]=extension,_0x358231[_0x40e57c(0x17e)]=file,_0x358231[_0x40e57c(0x12d)]=recursive,_0x358231['sort']=sort,_0x358231[_0x40e57c(0xc4)]=spec,_0x484df6=_0xf3851f[_0x40e57c(0x14b)](collectFiles,_0x358231),_0xf3851f['qieeW'](nestedKeyValue,_0x484df6,[_0xf3851f[_0x40e57c(0x129)]])&&(_0x484df6=_0x484df6[_0x40e57c(0xe0)]);}helper[_0x40e57c(0x182)]();if(!helper[_0x40e57c(0x15e)]()){const _0x2edd9a=0x1,_0x6b0087={..._0x388b1f};_0x6b0087[_0x40e57c(0xc4)]=[..._0x484df6],_0x59324c[_0x40e57c(0xf7)]({'mochaOpts':_0x6b0087,'configuration':{'platform':os[_0x40e57c(0x18f)]()}}),logger[_0x40e57c(0xc2)](_0xf3851f[_0x40e57c(0xb2)]),logger[_0x40e57c(0xc2)](_0xf3851f[_0x40e57c(0xbf)]),_0xf3851f[_0x40e57c(0x162)](parallelTestRun,_0x59324c,_0x2edd9a,_0x100958)[_0x40e57c(0x140)](_0x274954=>{const _0x2244ae=_0x40e57c;_0xf3851f[_0x2244ae(0x196)](printStats,_0x274954,_0x2f0f71[_0x2244ae(0x9a)],_0x2f0f71[_0x2244ae(0x158)]||_0x2f0f71[_0xf3851f[_0x2244ae(0xb0)]]);})[_0x40e57c(0xf1)](()=>{const _0x242925=_0x40e57c;try{const {browserstackFolderPath:_0x163071,tcgConfigPath:_0x351ea2}=helper['getTCGConfigFilePaths']();fs[_0x242925(0x194)](_0x351ea2),fs[_0x242925(0x14e)](_0x163071);}catch(_0x5dfa56){logger[_0x242925(0xb7)](_0xf3851f[_0x242925(0xdf)],_0x5dfa56);}try{utilities[_0x242925(0x12c)](_0xf3851f[_0x242925(0xf8)],{},_0x100958[_0x242925(0xaa)],_0x100958[_0x242925(0xe6)]);}catch(_0x48ebda){logger['debug'](_0x242925(0x136)+_0x48ebda);}try{helper[_0x242925(0xd7)]();}catch(_0x52c92a){logger['debug'](_0x242925(0xfb)+_0x52c92a);}testOpsHelper[_0x242925(0x122)]();});}else{const _0x3750b=helper['useW3C'](_0x100958[_0x40e57c(0xaa)]),_0x4498f8=helper[_0x40e57c(0x169)](_0x100958[_0x40e57c(0xaa)]);_0x55b7b5=helper[_0x40e57c(0xa5)](_0x100958[_0x40e57c(0xaa)],_0x3750b,constants[_0x40e57c(0xf3)][_0x40e57c(0x16e)]);let _0x1594c8;const _0xc9a6f6=_0x100958[_0x40e57c(0xaa)]['parallelsPerPlatform']||helper[_0x40e57c(0xdb)](_0x2f0f71,_0x37730b,_0x100958[_0x40e57c(0xaa)],constants['FRAMEWORKS'][_0x40e57c(0x16e)])||0x1;helper[_0x40e57c(0xa8)](_0x100958[_0x40e57c(0xaa)])?_0x1594c8=_0xf3851f[_0x40e57c(0xa9)](_0x100958[_0x40e57c(0xaa)][_0x40e57c(0x105)][_0x40e57c(0x11d)],_0xc9a6f6):_0x1594c8=_0xc9a6f6;const _0x39bf9d=_0xf3851f[_0x40e57c(0x110)](getPercyOptions,_0x100958[_0x40e57c(0xaa)]);if(_0xf3851f['ZMqrg'](_0x100958[_0x40e57c(0xaa)][_0x40e57c(0x143)],0x1))_0x484df6[_0x40e57c(0x102)](_0x5e6119=>{const _0x349363=_0x40e57c,_0x156746=[];_0x55b7b5[_0x349363(0x102)]((_0x1e3132,_0x5b8100)=>{const _0xa19b40=_0x349363,_0x353e54={};_0x353e54[_0xa19b40(0xc4)]=[_0x5e6119],_0x156746[_0xa19b40(0xf7)]({'mochaOpts':Object[_0xa19b40(0xb1)]({},_0x388b1f,_0x353e54),'configuration':{'server':_0x4498f8,'capability':_0x1e3132,'proxySettings':_0x100958[_0xa19b40(0xaa)][_0xa19b40(0x197)],'platform':helper[_0xa19b40(0x184)](_0x1e3132),'browserStackLogLevel':_0x100958[_0xa19b40(0xaa)][_0xa19b40(0xa6)],'platformIndex':_0x5b8100,'browserStackPercyOptions':_0x39bf9d,'platformCaps':_0x100958['config'][_0xa19b40(0x105)][_0x5b8100]}});}),_0x59324c[_0x349363(0xf7)](..._0x156746);});else{const _0x2aedef=[];_0x55b7b5[_0x40e57c(0x102)]((_0x1b6b5b,_0x344fa5)=>{const _0x51f318=_0x40e57c;let _0x2d35e7=Object[_0x51f318(0xb1)]({},_0x388b1f);testOpsHelper[_0x51f318(0x171)]()&&testOpsHelper[_0x51f318(0x13a)]()&&(_0x2d35e7={..._0x2d35e7,'spec':[..._0x484df6]}),_0x2aedef[_0x51f318(0xf7)]({'mochaOpts':_0x2d35e7,'configuration':{'server':_0x4498f8,'capability':_0x1b6b5b,'proxySettings':_0x100958[_0x51f318(0xaa)][_0x51f318(0x197)],'platform':helper[_0x51f318(0x184)](_0x1b6b5b),'browserStackLogLevel':_0x100958[_0x51f318(0xaa)][_0x51f318(0xa6)],'platformIndex':_0x344fa5,'browserStackPercyOptions':_0x39bf9d,'platformCaps':_0x100958['config'][_0x51f318(0x105)][_0x344fa5]}});}),_0x59324c['push'](..._0x2aedef);}logger[_0x40e57c(0xc2)](_0x40e57c(0x16d)+_0x100958[_0x40e57c(0xaa)][_0x40e57c(0x105)][_0x40e57c(0x11d)]+'\x20platforms'),logger[_0x40e57c(0xc2)](_0xf3851f[_0x40e57c(0xbf)]);let _0x29f4a9;_0xf3851f[_0x40e57c(0x162)](parallelTestRun,_0x59324c,_0x1594c8,_0x100958)[_0x40e57c(0x140)](_0xdd3493=>{const _0x2d085a=_0x40e57c;_0x29f4a9=_0xdd3493,_0xf3851f[_0x2d085a(0x12e)](printStats,_0xdd3493,_0x2f0f71[_0x2d085a(0x9a)],_0x2f0f71[_0x2d085a(0x158)]||_0x2f0f71[_0xf3851f[_0x2d085a(0xb0)]]);})[_0x40e57c(0xf1)](async()=>{const _0x1cf2f0=_0x40e57c;_0x100958['errorMessage']=helper[_0x1cf2f0(0x14a)](_0x29f4a9,_0xf3851f[_0x1cf2f0(0x9f)]),await utilities[_0x1cf2f0(0x17a)](_0x100958),testOpsHelper[_0x1cf2f0(0x122)]();});}}module['exports']=run;