browserstack-node-sdk 1.34.14 → 1.34.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelper.js +1 -0
  104. package/src/helpers/patchHelpers.js +1 -1
  105. package/src/helpers/percy/Percy.js +1 -1
  106. package/src/helpers/percy/PercyBinary.js +1 -1
  107. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  108. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  109. package/src/helpers/percy/PercySDK.js +1 -1
  110. package/src/helpers/percy/index.js +1 -1
  111. package/src/helpers/percy/utils.js +1 -1
  112. package/src/helpers/performance-tester.js +1 -1
  113. package/src/helpers/request-spy.js +1 -1
  114. package/src/helpers/setKeepAlive.js +1 -1
  115. package/src/helpers/test-observability/constants.js +1 -1
  116. package/src/helpers/test-observability/error-handler.js +1 -1
  117. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  118. package/src/helpers/test-observability/sessionHandler.js +1 -1
  119. package/src/helpers/test-observability/utils.js +1 -1
  120. package/src/helpers/testhub/constants.js +1 -1
  121. package/src/helpers/testhub/testhubHandler.js +1 -1
  122. package/src/helpers/testhub/utils.js +1 -1
  123. package/src/helpers/timeoutPromise.js +1 -1
  124. package/src/helpers/utilities.js +1 -1
  125. package/src/helpers/w3cMapping.js +1 -1
  126. package/src/hubAllocationMethods.js +1 -1
  127. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a14_0x2ee9b9=a14_0x20c6;(function(_0x37408c,_0x1fc483){const _0x3deb22=a14_0x20c6,_0x52cebb=_0x37408c();while(!![]){try{const _0x29b505=parseInt(_0x3deb22(0x140))/0x1+parseInt(_0x3deb22(0x13a))/0x2+parseInt(_0x3deb22(0x14f))/0x3*(parseInt(_0x3deb22(0x16f))/0x4)+parseInt(_0x3deb22(0x17a))/0x5+parseInt(_0x3deb22(0x149))/0x6+parseInt(_0x3deb22(0x16d))/0x7*(parseInt(_0x3deb22(0x18e))/0x8)+parseInt(_0x3deb22(0x117))/0x9*(-parseInt(_0x3deb22(0x11b))/0xa);if(_0x29b505===_0x1fc483)break;else _0x52cebb['push'](_0x52cebb['shift']());}catch(_0x276ffa){_0x52cebb['push'](_0x52cebb['shift']());}}}(a14_0x8d54,0x79554));function a14_0x20c6(_0x42974a,_0xfafc28){const _0x8d5425=a14_0x8d54();return a14_0x20c6=function(_0x20c6c7,_0x230fb9){_0x20c6c7=_0x20c6c7-0x109;let _0x181b0d=_0x8d5425[_0x20c6c7];return _0x181b0d;},a14_0x20c6(_0x42974a,_0xfafc28);}const fs=require('fs'),path=require(a14_0x2ee9b9(0x10e)),util=require('util'),{spawn}=require(a14_0x2ee9b9(0x126)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a14_0x2ee9b9(0x14d)),helper=require(a14_0x2ee9b9(0x153)),utilities=require(a14_0x2ee9b9(0x19f)),constants=require('../utils/constants'),accessibilityHelper=require(a14_0x2ee9b9(0x154)),{updateTestRerunConfig}=require(a14_0x2ee9b9(0x178)),testOpsHelper=require(a14_0x2ee9b9(0x121)),{debug}=require(a14_0x2ee9b9(0x121)),TestDetails=require(a14_0x2ee9b9(0x118)),{getPercyOptions}=require(a14_0x2ee9b9(0x190)),TestHubHandler=require(a14_0x2ee9b9(0x109)),testhubUtils=require(a14_0x2ee9b9(0x173)),{FRAMEWORKS}=require(a14_0x2ee9b9(0x15b)),getUserJestConfigs=(_0x209ff0,_0x309c38)=>{const _0x1f96a3=a14_0x2ee9b9,_0x37ee07={'pmtft':function(_0x3180c0,_0x2a3b1d){return _0x3180c0(_0x2a3b1d);},'RAiMg':function(_0x14debe,_0x5249d4){return _0x14debe||_0x5249d4;},'gLxwU':_0x1f96a3(0x135),'lxwDG':_0x1f96a3(0x14e),'VDpKJ':'mjs','rLSzC':'cjs','mOFpw':'json'},_0xc8f750=_0x309c38['findIndex'](_0x556b5a=>_0x556b5a===_0x1f96a3(0x128));if(!helper[_0x1f96a3(0x11f)](_0x209ff0[_0x1f96a3(0x122)])){logger[_0x1f96a3(0x18f)](_0x1f96a3(0x12f)+_0x209ff0[_0x1f96a3(0x122)]);const _0x5bdd1d=_0x37ee07[_0x1f96a3(0x180)](require,path[_0x1f96a3(0x150)](_0x209ff0['config']));return _0x309c38[_0x1f96a3(0x175)](_0xc8f750,0x2),_0x37ee07['RAiMg'](_0x5bdd1d,{});}const _0xf5d154=_0x37ee07['pmtft'](require,path['join'](process[_0x1f96a3(0x127)](),_0x37ee07['gLxwU']));if(_0xf5d154[_0x1f96a3(0x111)])return logger['info'](_0x37ee07[_0x1f96a3(0x119)]),_0xf5d154[_0x1f96a3(0x111)];const _0x11c2f2=['js',_0x37ee07[_0x1f96a3(0x15a)],_0x37ee07[_0x1f96a3(0x15c)],_0x37ee07[_0x1f96a3(0x1a1)],'ts'];for(const _0x407036 of _0x11c2f2){const _0x1c213e=path[_0x1f96a3(0x165)](process[_0x1f96a3(0x127)](),_0x1f96a3(0x11c)+_0x407036);if(fs[_0x1f96a3(0x148)](_0x1c213e))return _0x37ee07['pmtft'](require,_0x1c213e);}return{};},getSerial=(_0x2f177e,_0x2063e4)=>{const _0x24d633=a14_0x2ee9b9,_0xe9449f={};_0xe9449f[_0x24d633(0x10a)]=_0x24d633(0x177),_0xe9449f[_0x24d633(0x19c)]=function(_0x4637f4,_0x22eaad){return _0x4637f4>_0x22eaad;},_0xe9449f[_0x24d633(0x10c)]=_0x24d633(0x18d);const _0x387e70=_0xe9449f;let _0x4a5ffe=_0x387e70[_0x24d633(0x10a)];return _0x387e70[_0x24d633(0x19c)](_0x2f177e[_0x24d633(0x131)],0x1)&&(!_0x2063e4['runInBand']&&(helper['isUndefined'](_0x2063e4[_0x24d633(0x184)])||_0x387e70['slidw'](_0x2063e4[_0x24d633(0x184)],0x1)))&&(_0x4a5ffe=_0x387e70[_0x24d633(0x10c)]),_0x4a5ffe;},getMaxWorkers=(_0x5a250f,_0x1dd6d0,_0x59aafb)=>{const _0x577c57=a14_0x2ee9b9,_0x4f9eb8={'kOdDI':function(_0x306c30,_0x5713c3){return _0x306c30(_0x5713c3);}};let _0x50be52=0x1;if(!helper[_0x577c57(0x11f)](_0x1dd6d0[_0x577c57(0x172)]))_0x50be52=_0x4f9eb8['kOdDI'](parseInt,_0x1dd6d0[_0x577c57(0x172)]);else{if(!helper[_0x577c57(0x11f)](_0x5a250f['maxWorkers']))_0x50be52=_0x5a250f[_0x577c57(0x184)];else!helper['isUndefined'](_0x59aafb['maxWorkers'])&&(_0x50be52=_0x59aafb[_0x577c57(0x184)]);}return _0x50be52;};async function run(_0x154c75,_0xd66f4f){const _0x35d119=a14_0x2ee9b9,_0x456209={'KBRds':_0x35d119(0x13e),'bPwxm':_0x35d119(0x111),'yxcWG':function(_0x2a0e5e,_0x260b8a){return _0x2a0e5e(_0x260b8a);},'dzEoH':function(_0x21585c,_0x428051){return _0x21585c!=_0x428051;},'PbOZL':_0x35d119(0x177),'yCjla':function(_0x209196,_0x26b6fc,_0x465656){return _0x209196(_0x26b6fc,_0x465656);},'Aiaun':_0x35d119(0x1a5),'tfGBu':function(_0x123af8,_0x41568c,_0x2bec90,_0x181825){return _0x123af8(_0x41568c,_0x2bec90,_0x181825);},'PMkKF':function(_0x57ccef,_0xad1347){return _0x57ccef*_0xad1347;},'lVsak':function(_0x55ddfd,_0x40b32f){return _0x55ddfd===_0x40b32f;},'sdBGo':_0x35d119(0x124),'pnKbe':_0x35d119(0x144),'AsShF':_0x35d119(0x15d),'CCafH':_0x35d119(0x167),'JLlir':_0x35d119(0x125),'chgkS':function(_0x5dcace,_0x220b3f){return _0x5dcace(_0x220b3f);},'DEiJO':_0x35d119(0x138),'NszOV':'default','kryaT':_0x35d119(0x120),'TBmwC':function(_0xfe26ab,_0x419adf,_0x4ffc8d,_0x3a82df){return _0xfe26ab(_0x419adf,_0x4ffc8d,_0x3a82df);},'XWRzX':_0x35d119(0x189),'SFIDw':_0x35d119(0x128),'BAMcZ':function(_0x47558b,_0x3230b5){return _0x47558b===_0x3230b5;},'XmVeV':_0x35d119(0x12c),'DWHJm':_0x35d119(0x14b),'eAMqx':_0x35d119(0x17f)},_0x8c9720=new BrowserStackSetup(_0x154c75,_0x456209[_0x35d119(0x187)]);helper[_0x35d119(0x164)]()?(await _0x8c9720[_0x35d119(0x179)](),await helper[_0x35d119(0x198)](_0x8c9720['config'])):await _0x8c9720[_0x35d119(0x116)]();if(!_0x8c9720[_0x35d119(0x122)])return;_0x456209['dzEoH'](_0x8c9720[_0x35d119(0x122)][_0x35d119(0x1a2)],null)?process[_0x35d119(0x10d)][_0x35d119(0x174)]=_0x8c9720['config'][_0x35d119(0x1a2)]:process['env'][_0x35d119(0x174)]=_0x456209['PbOZL'];const _0x28f700=_0x456209[_0x35d119(0x14a)](getUserJestConfigs,_0x154c75,_0xd66f4f);logger[_0x35d119(0x18f)](_0x456209[_0x35d119(0x152)]);const _0x38ab93=Object['assign']({},_0x28f700);_0x38ab93[_0x35d119(0x199)]=Object['assign']({},_0x38ab93[_0x35d119(0x199)],{'server':helper[_0x35d119(0x112)](_0x8c9720[_0x35d119(0x122)]),'environment':_0x28f700[_0x35d119(0x145)]}),_0x38ab93[_0x35d119(0x199)]['browserStackPercyOptions']=_0x456209['yxcWG'](getPercyOptions,_0x8c9720[_0x35d119(0x122)]);const _0x1c821d=helper[_0x35d119(0x194)](_0x8c9720[_0x35d119(0x122)]),_0x50d909=helper[_0x35d119(0x13f)](_0x8c9720[_0x35d119(0x122)],_0x1c821d,constants['FRAMEWORKS']['JEST']);!helper[_0x35d119(0x11f)](_0x8c9720[_0x35d119(0x122)]['accessibilityOptions'])&&(process['env'][_0x35d119(0x163)]=JSON[_0x35d119(0x143)](_0x8c9720['config'][_0x35d119(0x11e)]));let _0x45bc56=_0x8c9720[_0x35d119(0x122)][_0x35d119(0x16a)];_0x45bc56=_0x45bc56||accessibilityHelper[_0x35d119(0x1a0)](_0x8c9720[_0x35d119(0x122)]),process[_0x35d119(0x10d)][_0x35d119(0x160)]=_0x45bc56,_0x38ab93[_0x35d119(0x199)][_0x35d119(0x147)]=_0x50d909,_0x38ab93['testEnvironmentOptions']['serial__']=_0x456209[_0x35d119(0x14a)](getSerial,_0x50d909,_0x154c75),_0x38ab93['testEnvironmentOptions'][_0x35d119(0x18c)]=_0x456209[_0x35d119(0x158)](getMaxWorkers,_0x154c75,_0x8c9720['config'],_0x28f700),_0x38ab93[_0x35d119(0x199)][_0x35d119(0x11a)]=_0x8c9720[_0x35d119(0x122)][_0x35d119(0x11a)],_0x38ab93[_0x35d119(0x199)][_0x35d119(0x183)]=_0x456209[_0x35d119(0x186)](_0x154c75[_0x35d119(0x10b)],0x1)||0x1388,_0x38ab93['testEnvironmentOptions']['skipSessionName']=_0x8c9720[_0x35d119(0x122)]['testContextOptions'][_0x35d119(0x13b)],_0x38ab93[_0x35d119(0x199)]['skipSessionStatus']=_0x8c9720['config']['testContextOptions']['skipSessionStatus'],_0x38ab93[_0x35d119(0x199)][_0x35d119(0x171)]=_0x8c9720[_0x35d119(0x122)]['logLevel'],_0x38ab93[_0x35d119(0x199)][_0x35d119(0x155)]=_0x8c9720[_0x35d119(0x122)][_0x35d119(0x155)],_0x38ab93[_0x35d119(0x199)][_0x35d119(0x113)]=_0x8c9720[_0x35d119(0x122)][_0x35d119(0x162)];let _0x82b996='';_0x456209[_0x35d119(0x142)](helper[_0x35d119(0x136)](),constants[_0x35d119(0x19d)][_0x35d119(0x16c)])?_0x82b996=_0x456209['sdBGo']:_0x82b996=_0x456209[_0x35d119(0x16e)];const _0x274e75=_0x82b996,_0x1f942d=path[_0x35d119(0x165)](__dirname,_0x456209['AsShF'],_0x456209[_0x35d119(0x12b)]),_0x429d2a=__dirname+'/customImplements/customTestRunner.js',_0x33b16c=__dirname+_0x35d119(0x188);_0x38ab93[_0x35d119(0x145)]&&(process[_0x35d119(0x10d)][_0x35d119(0x139)]=_0x38ab93[_0x35d119(0x145)]);_0x38ab93[_0x35d119(0x145)]=__dirname+_0x35d119(0x196),_0x38ab93['runner']=_0x429d2a,_0x38ab93['setupFilesAfterEnv']=_0x38ab93[_0x35d119(0x161)]||[],_0x38ab93['setupFilesAfterEnv'][_0x35d119(0x114)](__dirname+_0x35d119(0x185));if(testhubUtils[_0x35d119(0x15f)]()){let _0x3cd472=null;try{_0x3cd472=helper[_0x35d119(0x1a6)](_0x456209[_0x35d119(0x1a4)]);}catch(_0x86a434){_0x456209[_0x35d119(0x137)](debug,_0x35d119(0x192)+_0x86a434);}_0x3cd472&&(_0x38ab93[_0x35d119(0x161)][_0x35d119(0x114)](__dirname+_0x35d119(0x151)),_0x38ab93[_0x35d119(0x133)]=__dirname+_0x35d119(0x141));}_0x38ab93[_0x35d119(0x13d)]=_0x38ab93['setupFiles']||[];try{helper[_0x35d119(0x181)](),_0x38ab93[_0x35d119(0x13d)][_0x35d119(0x114)](__dirname+_0x35d119(0x1a7));}catch{logger['debug'](_0x456209[_0x35d119(0x197)]);}_0x38ab93['reporters']=_0x38ab93[_0x35d119(0x169)]||[_0x456209[_0x35d119(0x134)]],_0x456209[_0x35d119(0x14a)](updateTestRerunConfig,_0x38ab93,_0x8c9720);const _0x5e5465=fs[_0x35d119(0x191)](_0x33b16c);fs[_0x35d119(0x170)](_0x38ab93[_0x35d119(0x168)],_0x35d119(0x14c)+_0x5e5465+_0x35d119(0x146)+_0x8c9720[_0x35d119(0x122)][_0x35d119(0x162)]['length']+';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20'),logger[_0x35d119(0x18f)](_0x35d119(0x15e)+_0x274e75+_0x35d119(0x110)),fs[_0x35d119(0x170)](_0x274e75,_0x35d119(0x13c)+JSON[_0x35d119(0x143)](_0x38ab93)+'\x0amodule.exports\x20=\x20config;'),logger['info'](_0x456209[_0x35d119(0x18b)]);const _0xae0c22=await TestHubHandler[_0x35d119(0x17e)](FRAMEWORKS[_0x35d119(0x193)],_0x8c9720);testhubUtils[_0x35d119(0x15f)]()&&TestDetails[_0x35d119(0x156)]();helper[_0x35d119(0x17c)]({},_0xd66f4f),helper[_0x35d119(0x176)]();const _0xd2283d=_0x456209['TBmwC'](spawn,_0x456209[_0x35d119(0x182)],[_0x456209[_0x35d119(0x187)],_0x456209[_0x35d119(0x12e)],_0x274e75,..._0xd66f4f[_0x35d119(0x17d)](0x1)],{'shell':_0x456209[_0x35d119(0x157)](process['platform'],_0x456209[_0x35d119(0x11d)]),'stdio':_0x456209['DWHJm'],'env':Object['assign']({},process[_0x35d119(0x10d)])});_0xd2283d['on'](_0x456209['eAMqx'],async _0x2cb5df=>{const _0x1d9ae8=_0x35d119;try{const {browserstackFolderPath:_0x138fa1,tcgConfigPath:_0x1e4800}=helper[_0x1d9ae8(0x1a3)]();fs[_0x1d9ae8(0x129)](_0x1e4800),fs[_0x1d9ae8(0x166)](_0x138fa1);}catch(_0x3e68f0){logger[_0x1d9ae8(0x1a8)](_0x456209[_0x1d9ae8(0x195)],_0x3e68f0);}process['exitCode']=_0x2cb5df,logger[_0x1d9ae8(0x1a8)](_0x1d9ae8(0x12d)+_0x2cb5df),logger[_0x1d9ae8(0x18f)](_0x1d9ae8(0x10f)+_0x274e75);let _0x656818=null;if(fs[_0x1d9ae8(0x148)](_0x1f942d)){_0x656818=fs[_0x1d9ae8(0x191)](_0x1f942d);try{_0x656818=JSON[_0x1d9ae8(0x132)](_0x656818);}catch(_0x3a5578){logger[_0x1d9ae8(0x1a8)]('Error\x20while\x20parsing\x20'+_0x1f942d+',\x20'+_0x656818+_0x1d9ae8(0x159)+_0x3a5578);}fs[_0x1d9ae8(0x129)](_0x1f942d);}fs[_0x1d9ae8(0x129)](_0x274e75),fs['unlinkSync'](_0x429d2a),_0x656818&&(_0x8c9720[_0x1d9ae8(0x123)]=helper[_0x1d9ae8(0x18a)](_0x656818,_0x456209[_0x1d9ae8(0x187)],_0x8c9720));try{await TestHubHandler[_0x1d9ae8(0x16b)]();}catch(_0x57fdc2){console[_0x1d9ae8(0x19a)](_0x57fdc2),_0x456209[_0x1d9ae8(0x12a)](debug,_0x1d9ae8(0x130)+util[_0x1d9ae8(0x19b)](_0x57fdc2));}testOpsHelper['printBuildLink'](),TestDetails[_0x1d9ae8(0x19e)](),await utilities[_0x1d9ae8(0x17b)](_0x8c9720);});}function a14_0x8d54(){const _0x2e009a=['/customImplements/customTestRunnerTemplate.js','npx','getErrorMessageFromResults','kryaT','parallels__','false','8RJnShz','info','../../helpers/percy/utils','readFileSync','Unable\x20to\x20find\x20jest-circus,\x20','JEST','useW3C','KBRds','/customImplements/customEnvironment.js','DEiJO','handleApp','testEnvironmentOptions','log','format','slidw','PACKAGE_TYPE','shutdown','../../helpers/utilities','checkAccessibilityPlatformConfig','mOFpw','testObservability','getTCGConfigFilePaths','JLlir','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','requireModule','/test_before.setup.js','debug','../../helpers/testhub/testhubHandler','spWKM','testTimeout','iiaxV','env','path','Deleting\x20','\x20with\x20browserstack\x20jest\x20configs','jest','getHubUrl','platformCaps','push','exports','setupTCGAuth','81EQRpIg','./test-observability/test-details','lxwDG','proxySettings','3332860VhbulS','jest.config.','XmVeV','accessibilityOptions','isUndefined','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','../../helpers/test-observability/utils','config','errorMessage','jest_browserstack.config.cjs','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','child_process','cwd','--config','unlinkSync','yxcWG','CCafH','win32','child\x20process\x20exited\x20with\x20code\x20','SFIDw','Getting\x20your\x20jest\x20configs\x20from\x20','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','length','parse','testRunner','NszOV','package.json','getPackageType','chgkS','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','BSTACK_JEST_TEST_ENV','1875190MPjFzv','skipSessionName','const\x20config=','setupFiles','error\x20removing\x20tcg\x20config\x20file','prepareCapabilities','231615Kwonku','/customImplements/customCircus.js','lVsak','stringify','jest_browserstack.config.js','testEnvironment','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','capabilities','existsSync','5157816RtHKTY','yCjla','inherit','\x0a\x20\x20\x20\x20','../../helpers/BrowserStackSetup','Getting\x20your\x20jest\x20configs\x20from\x20package.json','19437GuDHlq','resolve','/test-observability/data-hooks.js','Aiaun','../../helpers/helper','../../helpers/accessibility-automation/helper','turboScaleUrl','setup','BAMcZ','tfGBu','\x20:\x20','VDpKJ','../../helpers/test-observability/constants','rLSzC','customImplements','Creating\x20','shouldProcessEventForTesthub','BROWSERSTACK_TEST_ACCESSIBILITY_YML','setupFilesAfterEnv','platforms','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isBrowserstackInfra','join','rmdirSync','jest_browserstack_results.json','runner','reporters','accessibility','stop','MODULE','2659489jHIZHx','pnKbe','608BeEjkG','writeFileSync','browserStackLogLevel','parallelsPerPlatform','../../helpers/testhub/utils','BROWSERSTACK_TEST_OBSERVABILITY_YML','splice','markSDKSetupComplete','true','./test-observability/helper','initialize','514865NQpsRV','finalExecution','filterBrowserstackArgs','slice','launchBuild','close','pmtft','requireSeleniumWebdriver','XWRzX','timeout__','maxWorkers','/jest.setup.js','PMkKF','bPwxm'];a14_0x8d54=function(){return _0x2e009a;};return a14_0x8d54();}module[a14_0x2ee9b9(0x115)]=run;
2
+ 'use strict';const a14_0xecb4e4=a14_0x2596;function a14_0x2596(_0x3454e7,_0x5e4792){const _0x3b1098=a14_0x3b10();return a14_0x2596=function(_0x25966c,_0x2a2c4b){_0x25966c=_0x25966c-0x118;let _0x101f1b=_0x3b1098[_0x25966c];return _0x101f1b;},a14_0x2596(_0x3454e7,_0x5e4792);}(function(_0x25e470,_0x5687f5){const _0x569785=a14_0x2596,_0x4c8d25=_0x25e470();while(!![]){try{const _0x30b3de=-parseInt(_0x569785(0x175))/0x1+-parseInt(_0x569785(0x17c))/0x2*(parseInt(_0x569785(0x198))/0x3)+-parseInt(_0x569785(0x15c))/0x4+parseInt(_0x569785(0x134))/0x5+-parseInt(_0x569785(0x14e))/0x6+-parseInt(_0x569785(0x182))/0x7+-parseInt(_0x569785(0x11b))/0x8*(-parseInt(_0x569785(0x194))/0x9);if(_0x30b3de===_0x5687f5)break;else _0x4c8d25['push'](_0x4c8d25['shift']());}catch(_0x3e6192){_0x4c8d25['push'](_0x4c8d25['shift']());}}}(a14_0x3b10,0xbff52));const fs=require('fs'),path=require(a14_0xecb4e4(0x13e)),util=require('util'),{spawn}=require(a14_0xecb4e4(0x17b)),logger=require(a14_0xecb4e4(0x161))[a14_0xecb4e4(0x158)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a14_0xecb4e4(0x15e)),utilities=require(a14_0xecb4e4(0x17d)),constants=require('../utils/constants'),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a14_0xecb4e4(0x190)),testOpsHelper=require(a14_0xecb4e4(0x154)),{debug}=require(a14_0xecb4e4(0x154)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a14_0xecb4e4(0x13a)),testhubUtils=require(a14_0xecb4e4(0x18f)),{FRAMEWORKS}=require(a14_0xecb4e4(0x14f)),getUserJestConfigs=(_0x264e74,_0x474ffc)=>{const _0xd0777=a14_0xecb4e4,_0x479b2b={'jLJGg':function(_0x3c73a4,_0x49300e){return _0x3c73a4(_0x49300e);},'DEqWk':function(_0xadea28,_0x55cde4){return _0xadea28||_0x55cde4;},'czRoR':function(_0x50644b,_0x37d7f9){return _0x50644b(_0x37d7f9);},'rLDjf':'package.json','oYuQk':_0xd0777(0x143),'oKAbD':_0xd0777(0x173),'lwHKM':_0xd0777(0x19e),'nyshf':_0xd0777(0x15f)},_0x31dac3=_0x474ffc[_0xd0777(0x144)](_0x2f5b19=>_0x2f5b19==='--config');if(!helper[_0xd0777(0x199)](_0x264e74[_0xd0777(0x147)])){logger[_0xd0777(0x179)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x264e74['config']);const _0xc9e88b=_0x479b2b[_0xd0777(0x156)](require,path[_0xd0777(0x18e)](_0x264e74['config']));return _0x474ffc[_0xd0777(0x17e)](_0x31dac3,0x2),_0x479b2b[_0xd0777(0x141)](_0xc9e88b,{});}const _0x13465c=_0x479b2b[_0xd0777(0x1b3)](require,path[_0xd0777(0x157)](process['cwd'](),_0x479b2b[_0xd0777(0x176)]));if(_0x13465c[_0xd0777(0x130)])return logger[_0xd0777(0x179)](_0x479b2b[_0xd0777(0x14d)]),_0x13465c['jest'];const _0x166289=['js',_0x479b2b['oKAbD'],_0x479b2b[_0xd0777(0x191)],_0x479b2b[_0xd0777(0x11c)],'ts'];for(const _0x45006d of _0x166289){const _0x4c440e=path[_0xd0777(0x157)](process['cwd'](),_0xd0777(0x1aa)+_0x45006d);if(fs[_0xd0777(0x1af)](_0x4c440e))return _0x479b2b[_0xd0777(0x156)](require,_0x4c440e);}return{};},getSerial=(_0x307bcf,_0x2247ff)=>{const _0x328d3e=a14_0xecb4e4,_0x364542={};_0x364542[_0x328d3e(0x150)]=_0x328d3e(0x118),_0x364542[_0x328d3e(0x15a)]=function(_0x2101ea,_0x224bfe){return _0x2101ea>_0x224bfe;},_0x364542[_0x328d3e(0x165)]=function(_0x1468c5,_0x42b1b1){return _0x1468c5>_0x42b1b1;},_0x364542[_0x328d3e(0x16d)]=_0x328d3e(0x195);const _0x1f570c=_0x364542;let _0x45259f=_0x1f570c['HCOIl'];return _0x1f570c[_0x328d3e(0x15a)](_0x307bcf[_0x328d3e(0x13f)],0x1)&&(!_0x2247ff[_0x328d3e(0x153)]&&(helper[_0x328d3e(0x199)](_0x2247ff[_0x328d3e(0x128)])||_0x1f570c[_0x328d3e(0x165)](_0x2247ff[_0x328d3e(0x128)],0x1)))&&(_0x45259f=_0x1f570c[_0x328d3e(0x16d)]),_0x45259f;},getMaxWorkers=(_0x161961,_0x5bcdc5,_0x436b41)=>{const _0x173050=a14_0xecb4e4,_0x4ac730={'OYbpD':function(_0x59fd55,_0x44bbc3){return _0x59fd55(_0x44bbc3);}};let _0x37bc7d=0x1;if(!helper[_0x173050(0x199)](_0x5bcdc5[_0x173050(0x12e)]))_0x37bc7d=_0x4ac730[_0x173050(0x167)](parseInt,_0x5bcdc5[_0x173050(0x12e)]);else{if(!helper[_0x173050(0x199)](_0x161961[_0x173050(0x128)]))_0x37bc7d=_0x161961['maxWorkers'];else!helper[_0x173050(0x199)](_0x436b41[_0x173050(0x128)])&&(_0x37bc7d=_0x436b41[_0x173050(0x128)]);}return _0x37bc7d;};async function run(_0x3f71b0,_0x16e67c){const _0x4cfb92=a14_0xecb4e4,_0x1d4bae={'XLBKH':_0x4cfb92(0x168),'WZRXv':_0x4cfb92(0x130),'jcMAS':function(_0x168276,_0x4ef0e5){return _0x168276(_0x4ef0e5);},'HdaGG':function(_0x194679,_0x433848){return _0x194679!=_0x433848;},'WTvJm':_0x4cfb92(0x118),'ycirb':function(_0x5e0283,_0x5ec1c3,_0x3d1ad2){return _0x5e0283(_0x5ec1c3,_0x3d1ad2);},'icSnP':_0x4cfb92(0x197),'ikTbK':function(_0x529d66,_0x2583b2,_0x30ac58,_0x4f26cd){return _0x529d66(_0x2583b2,_0x30ac58,_0x4f26cd);},'TmNpw':function(_0x15e50e,_0xc6717b){return _0x15e50e*_0xc6717b;},'EPvYM':function(_0x177162,_0x296d85){return _0x177162===_0x296d85;},'uzmfV':_0x4cfb92(0x14c),'BqAoN':'jest_browserstack.config.js','PsObM':_0x4cfb92(0x11a),'HzuPk':_0x4cfb92(0x18c),'gmrKS':_0x4cfb92(0x1b1),'qbDew':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','IXRHV':_0x4cfb92(0x1a2),'gTRlk':_0x4cfb92(0x1a9),'yExPw':_0x4cfb92(0x1b2),'vhITA':_0x4cfb92(0x170),'AWzBU':function(_0x3e5ff1,_0x41d63d){return _0x3e5ff1===_0x41d63d;},'oYbtU':'win32','iJxzP':'inherit','GGJyx':_0x4cfb92(0x184)},_0xa621d8=new BrowserStackSetup(_0x3f71b0,_0x1d4bae[_0x4cfb92(0x1a3)]);helper[_0x4cfb92(0x12d)]()?(await _0xa621d8[_0x4cfb92(0x120)](),await helper[_0x4cfb92(0x1ac)](_0xa621d8['config'])):await _0xa621d8[_0x4cfb92(0x171)]();if(!_0xa621d8[_0x4cfb92(0x147)])return;_0x1d4bae[_0x4cfb92(0x132)](_0xa621d8['config']['testObservability'],null)?process[_0x4cfb92(0x123)][_0x4cfb92(0x119)]=_0xa621d8[_0x4cfb92(0x147)][_0x4cfb92(0x18d)]:process[_0x4cfb92(0x123)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x1d4bae['WTvJm'];const _0x56fb01=_0x1d4bae[_0x4cfb92(0x14a)](getUserJestConfigs,_0x3f71b0,_0x16e67c);logger['info'](_0x1d4bae[_0x4cfb92(0x16b)]);const _0x345327=Object[_0x4cfb92(0x1a8)]({},_0x56fb01);_0x345327[_0x4cfb92(0x129)]=Object[_0x4cfb92(0x1a8)]({},_0x345327[_0x4cfb92(0x129)],{'server':helper[_0x4cfb92(0x19a)](_0xa621d8[_0x4cfb92(0x147)]),'environment':_0x56fb01[_0x4cfb92(0x1a7)]}),_0x345327[_0x4cfb92(0x129)]['browserStackPercyOptions']=_0x1d4bae[_0x4cfb92(0x183)](getPercyOptions,_0xa621d8[_0x4cfb92(0x147)]);const _0x523885=helper[_0x4cfb92(0x148)](_0xa621d8[_0x4cfb92(0x147)]),_0x5947fa=helper[_0x4cfb92(0x127)](_0xa621d8[_0x4cfb92(0x147)],_0x523885,constants[_0x4cfb92(0x164)]['JEST']);!helper[_0x4cfb92(0x199)](_0xa621d8[_0x4cfb92(0x147)][_0x4cfb92(0x155)])&&(process[_0x4cfb92(0x123)][_0x4cfb92(0x13b)]=JSON['stringify'](_0xa621d8[_0x4cfb92(0x147)][_0x4cfb92(0x155)]));let _0x250571=_0xa621d8[_0x4cfb92(0x147)]['accessibility'];_0x250571=_0x250571||accessibilityHelper['checkAccessibilityPlatformConfig'](_0xa621d8['config']),process[_0x4cfb92(0x123)][_0x4cfb92(0x187)]=_0x250571,_0x345327[_0x4cfb92(0x129)][_0x4cfb92(0x11f)]=_0x5947fa,_0x345327[_0x4cfb92(0x129)][_0x4cfb92(0x196)]=_0x1d4bae[_0x4cfb92(0x14a)](getSerial,_0x5947fa,_0x3f71b0),_0x345327[_0x4cfb92(0x129)][_0x4cfb92(0x12a)]=_0x1d4bae[_0x4cfb92(0x125)](getMaxWorkers,_0x3f71b0,_0xa621d8[_0x4cfb92(0x147)],_0x56fb01),_0x345327['testEnvironmentOptions']['proxySettings']=_0xa621d8['config']['proxySettings'],_0x345327[_0x4cfb92(0x129)][_0x4cfb92(0x131)]=_0x1d4bae[_0x4cfb92(0x16c)](_0x3f71b0[_0x4cfb92(0x122)],0x1)||0x1388,_0x345327['testEnvironmentOptions'][_0x4cfb92(0x17a)]=_0xa621d8[_0x4cfb92(0x147)]['testContextOptions'][_0x4cfb92(0x17a)],_0x345327[_0x4cfb92(0x129)][_0x4cfb92(0x19b)]=_0xa621d8[_0x4cfb92(0x147)][_0x4cfb92(0x137)]['skipSessionStatus'],_0x345327[_0x4cfb92(0x129)][_0x4cfb92(0x1a4)]=_0xa621d8[_0x4cfb92(0x147)][_0x4cfb92(0x18b)],_0x345327[_0x4cfb92(0x129)][_0x4cfb92(0x15b)]=_0xa621d8[_0x4cfb92(0x147)]['turboScaleUrl'],_0x345327[_0x4cfb92(0x129)][_0x4cfb92(0x180)]=_0xa621d8[_0x4cfb92(0x147)]['platforms'];let _0x476681='';_0x1d4bae['EPvYM'](helper[_0x4cfb92(0x136)](),constants[_0x4cfb92(0x1b4)][_0x4cfb92(0x1a0)])?_0x476681=_0x1d4bae[_0x4cfb92(0x160)]:_0x476681=_0x1d4bae['BqAoN'];const _0x3f5bc9=_0x476681,_0x3e3908=path[_0x4cfb92(0x157)](__dirname,_0x1d4bae[_0x4cfb92(0x133)],_0x1d4bae[_0x4cfb92(0x181)]),_0xb1c9f=__dirname+_0x4cfb92(0x126),_0x14c4f7=__dirname+'/customImplements/customTestRunnerTemplate.js';_0x345327[_0x4cfb92(0x1a7)]&&(process['env'][_0x4cfb92(0x18a)]=_0x345327[_0x4cfb92(0x1a7)]);_0x345327[_0x4cfb92(0x1a7)]=__dirname+_0x4cfb92(0x152),_0x345327['runner']=_0xb1c9f,_0x345327[_0x4cfb92(0x172)]=_0x345327[_0x4cfb92(0x172)]||[],_0x345327['setupFilesAfterEnv'][_0x4cfb92(0x11d)](__dirname+'/jest.setup.js');if(testhubUtils[_0x4cfb92(0x162)]()){let _0x59b5b1=null;try{_0x59b5b1=helper[_0x4cfb92(0x1ab)](_0x1d4bae[_0x4cfb92(0x12c)]);}catch(_0x374bc5){_0x1d4bae[_0x4cfb92(0x183)](debug,_0x4cfb92(0x121)+_0x374bc5);}_0x59b5b1&&(_0x345327[_0x4cfb92(0x172)]['push'](__dirname+_0x4cfb92(0x159)),_0x345327['testRunner']=__dirname+'/customImplements/customCircus.js');}_0x345327[_0x4cfb92(0x192)]=_0x345327['setupFiles']||[];try{helper[_0x4cfb92(0x169)](),_0x345327['setupFiles'][_0x4cfb92(0x11d)](__dirname+_0x4cfb92(0x166));}catch{logger['debug'](_0x1d4bae[_0x4cfb92(0x13d)]);}_0x345327[_0x4cfb92(0x124)]=_0x345327[_0x4cfb92(0x124)]||[_0x1d4bae['IXRHV']],_0x1d4bae[_0x4cfb92(0x14a)](updateTestRerunConfig,_0x345327,_0xa621d8);const _0x37fd44=fs['readFileSync'](_0x14c4f7);fs[_0x4cfb92(0x145)](_0x345327['runner'],'\x0a\x20\x20\x20\x20'+_0x37fd44+'\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0xa621d8[_0x4cfb92(0x147)][_0x4cfb92(0x1b0)][_0x4cfb92(0x13f)]+';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20'),logger[_0x4cfb92(0x179)](_0x4cfb92(0x142)+_0x3f5bc9+'\x20with\x20browserstack\x20jest\x20configs'),fs[_0x4cfb92(0x145)](_0x3f5bc9,_0x4cfb92(0x186)+JSON['stringify'](_0x345327)+_0x4cfb92(0x177)),logger[_0x4cfb92(0x179)](_0x1d4bae[_0x4cfb92(0x15d)]);const _0x2b9070=await TestHubHandler[_0x4cfb92(0x19f)](FRAMEWORKS[_0x4cfb92(0x1a5)],_0xa621d8);testhubUtils[_0x4cfb92(0x162)]()&&TestDetails[_0x4cfb92(0x1ae)]();helper['filterBrowserstackArgs']({},_0x16e67c),helper[_0x4cfb92(0x12f)]();const _0x2db08b=_0x1d4bae[_0x4cfb92(0x125)](spawn,_0x1d4bae['yExPw'],[_0x1d4bae[_0x4cfb92(0x1a3)],_0x1d4bae[_0x4cfb92(0x138)],_0x3f5bc9,..._0x16e67c['slice'](0x1)],{'shell':_0x1d4bae[_0x4cfb92(0x12b)](process[_0x4cfb92(0x135)],_0x1d4bae[_0x4cfb92(0x151)]),'stdio':_0x1d4bae[_0x4cfb92(0x139)],'env':Object['assign']({},process[_0x4cfb92(0x123)])});_0x2db08b['on'](_0x1d4bae[_0x4cfb92(0x1a6)],async _0x3c7522=>{const _0x598127=_0x4cfb92;try{const {browserstackFolderPath:_0xdaed85,tcgConfigPath:_0xaae986}=helper[_0x598127(0x16a)]();fs['unlinkSync'](_0xaae986),fs[_0x598127(0x188)](_0xdaed85);}catch(_0x430f51){logger[_0x598127(0x146)](_0x1d4bae[_0x598127(0x16f)],_0x430f51);}process[_0x598127(0x11e)]=_0x3c7522,logger[_0x598127(0x146)](_0x598127(0x14b)+_0x3c7522),logger['info'](_0x598127(0x19d)+_0x3f5bc9);let _0x19be76=null;if(fs[_0x598127(0x1af)](_0x3e3908)){_0x19be76=fs[_0x598127(0x174)](_0x3e3908);try{_0x19be76=JSON[_0x598127(0x13c)](_0x19be76);}catch(_0x426f6e){logger['debug'](_0x598127(0x19c)+_0x3e3908+',\x20'+_0x19be76+_0x598127(0x193)+_0x426f6e);}fs[_0x598127(0x17f)](_0x3e3908);}fs[_0x598127(0x17f)](_0x3f5bc9),fs[_0x598127(0x17f)](_0xb1c9f),_0x19be76&&(_0xa621d8[_0x598127(0x189)]=helper[_0x598127(0x16e)](_0x19be76,_0x1d4bae[_0x598127(0x1a3)],_0xa621d8));try{await TestHubHandler[_0x598127(0x1ad)]();}catch(_0x20047a){console[_0x598127(0x178)](_0x20047a),_0x1d4bae['jcMAS'](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x598127(0x149)](_0x20047a));}testOpsHelper[_0x598127(0x163)](),TestDetails[_0x598127(0x185)](),await utilities[_0x598127(0x140)](_0xa621d8);});}function a14_0x3b10(){const _0x107593=['platform','getPackageType','testContextOptions','vhITA','iJxzP','../../helpers/testhub/testhubHandler','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','parse','qbDew','path','length','finalExecution','DEqWk','Creating\x20','Getting\x20your\x20jest\x20configs\x20from\x20package.json','findIndex','writeFileSync','debug','config','useW3C','format','ycirb','child\x20process\x20exited\x20with\x20code\x20','jest_browserstack.config.cjs','oYuQk','7891266DwVNkV','../../helpers/test-observability/constants','HCOIl','oYbtU','/customImplements/customEnvironment.js','runInBand','../../helpers/test-observability/utils','accessibilityOptions','jLJGg','join','winstonLogger','/test-observability/data-hooks.js','qryst','turboScaleUrl','1463608QlmVvu','gTRlk','../../helpers/helper','json','uzmfV','../../helpers/logger','shouldProcessEventForTesthub','printBuildLink','FRAMEWORKS','GXpTf','/test_before.setup.js','OYbpD','error\x20removing\x20tcg\x20config\x20file','requireSeleniumWebdriver','getTCGConfigFilePaths','icSnP','TmNpw','PbGYk','getErrorMessageFromResults','XLBKH','--config','setupTCGAuth','setupFilesAfterEnv','mjs','readFileSync','1130991JvOGXp','rLDjf','\x0amodule.exports\x20=\x20config;','log','info','skipSessionName','child_process','8ePVjZA','../../helpers/utilities','splice','unlinkSync','platformCaps','HzuPk','5336527hrKzpb','jcMAS','close','shutdown','const\x20config=','BROWSERSTACK_TEST_ACCESSIBILITY_YML','rmdirSync','errorMessage','BSTACK_JEST_TEST_ENV','logLevel','jest_browserstack_results.json','testObservability','resolve','../../helpers/testhub/utils','./test-observability/helper','lwHKM','setupFiles','\x20:\x20','9FBpbzJ','false','serial__','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','624381fFRUHo','isUndefined','getHubUrl','skipSessionStatus','Error\x20while\x20parsing\x20','Deleting\x20','cjs','launchBuild','MODULE','exports','default','WZRXv','browserStackLogLevel','JEST','GGJyx','testEnvironment','assign','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','jest.config.','requireModule','handleApp','stop','setup','existsSync','platforms','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','npx','czRoR','PACKAGE_TYPE','true','BROWSERSTACK_TEST_OBSERVABILITY_YML','customImplements','40765072hKAwVd','nyshf','push','exitCode','capabilities','initialize','Unable\x20to\x20find\x20jest-circus,\x20','testTimeout','env','reporters','ikTbK','/customImplements/customTestRunner.js','prepareCapabilities','maxWorkers','testEnvironmentOptions','parallels__','AWzBU','gmrKS','isBrowserstackInfra','parallelsPerPlatform','markSDKSetupComplete','jest','timeout__','HdaGG','PsObM','487985eOmmjw'];a14_0x3b10=function(){return _0x107593;};return a14_0x3b10();}module[a14_0xecb4e4(0x1a1)]=run;
@@ -1 +1 @@
1
- const a15_0x55e6d8=a15_0x4027;(function(_0x19e8e8,_0x2eb882){const _0x56e504=a15_0x4027,_0x4bc3f8=_0x19e8e8();while(!![]){try{const _0x3fead1=parseInt(_0x56e504(0x155))/0x1*(parseInt(_0x56e504(0x147))/0x2)+-parseInt(_0x56e504(0x14c))/0x3*(parseInt(_0x56e504(0x145))/0x4)+parseInt(_0x56e504(0x154))/0x5*(parseInt(_0x56e504(0x14d))/0x6)+parseInt(_0x56e504(0x149))/0x7*(parseInt(_0x56e504(0x14e))/0x8)+-parseInt(_0x56e504(0x159))/0x9+-parseInt(_0x56e504(0x157))/0xa+-parseInt(_0x56e504(0x144))/0xb*(-parseInt(_0x56e504(0x143))/0xc);if(_0x3fead1===_0x2eb882)break;else _0x4bc3f8['push'](_0x4bc3f8['shift']());}catch(_0x2d3125){_0x4bc3f8['push'](_0x4bc3f8['shift']());}}}(a15_0x2359,0xd2af1));const path=require(a15_0x55e6d8(0x14f)),{requireModule}=require(a15_0x55e6d8(0x148));function a15_0x4027(_0x36d06e,_0x15f403){const _0x2359ad=a15_0x2359();return a15_0x4027=function(_0x40272a,_0x15bd3d){_0x40272a=_0x40272a-0x143;let _0x1d9bba=_0x2359ad[_0x40272a];return _0x1d9bba;},a15_0x4027(_0x36d06e,_0x15f403);}function a15_0x2359(){const _0xdd7ca0=['includes','3043110Rwwdkq','requireInternalModule','8560314uKFONY','12uwWRBq','15650107wVKJPY','8fsxYnk','AsFkd','2vNYGrz','../../../helpers/helper','15022XZCzSo','./customJestAdapterInit.js','default','840891icyNGL','12LEqbwd','1208esofPJ','path','join','initRequireModule','function','JCFGK','556330uzFTDq','709697QEFfFB'];a15_0x2359=function(){return _0xdd7ca0;};return a15_0x2359();}let initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js');initJestAdapter=typeof initJestAdapter===a15_0x55e6d8(0x152)?initJestAdapter:initJestAdapter[a15_0x55e6d8(0x14b)];const FRAMEWORK_INITIALIZER=path[a15_0x55e6d8(0x150)](__dirname,a15_0x55e6d8(0x14a));module['exports']=(..._0x313d32)=>{const _0x45b6c8=a15_0x55e6d8,_0x3f7968={'AsFkd':'/jestAdapterInit','fkijv':function(_0x2898a0,_0x374bad){return _0x2898a0===_0x374bad;},'JCFGK':function(_0x5baa5b,..._0x309b5d){return _0x5baa5b(..._0x309b5d);}};return _0x313d32[0x3][_0x45b6c8(0x151)]=_0x313d32[0x3]['requireInternalModule'],_0x313d32[0x3][_0x45b6c8(0x158)]=(..._0x59cdbd)=>{const _0x296be1=_0x45b6c8;if(_0x59cdbd[0x0]&&_0x59cdbd[0x0][_0x296be1(0x156)](_0x3f7968[_0x296be1(0x146)])&&_0x3f7968['fkijv'](_0x59cdbd[0x1],undefined))return _0x313d32[0x3][_0x296be1(0x151)](FRAMEWORK_INITIALIZER);return _0x313d32[0x3]['initRequireModule'](..._0x59cdbd);},_0x3f7968[_0x45b6c8(0x153)](initJestAdapter,..._0x313d32);};
1
+ const a15_0x47a787=a15_0x1a36;(function(_0x33f356,_0x51416f){const _0x3dc232=a15_0x1a36,_0x5c4dc8=_0x33f356();while(!![]){try{const _0x514ad1=parseInt(_0x3dc232(0x110))/0x1*(-parseInt(_0x3dc232(0x10b))/0x2)+-parseInt(_0x3dc232(0xff))/0x3+-parseInt(_0x3dc232(0x109))/0x4*(parseInt(_0x3dc232(0xfc))/0x5)+-parseInt(_0x3dc232(0x103))/0x6*(-parseInt(_0x3dc232(0x108))/0x7)+parseInt(_0x3dc232(0xfe))/0x8+parseInt(_0x3dc232(0x100))/0x9*(-parseInt(_0x3dc232(0x10f))/0xa)+parseInt(_0x3dc232(0x10e))/0xb;if(_0x514ad1===_0x51416f)break;else _0x5c4dc8['push'](_0x5c4dc8['shift']());}catch(_0x5e0378){_0x5c4dc8['push'](_0x5c4dc8['shift']());}}}(a15_0x5a7a,0xbe791));function a15_0x1a36(_0x155f51,_0x17d9ba){const _0x5a7a0b=a15_0x5a7a();return a15_0x1a36=function(_0x1a3615,_0x2f0bd4){_0x1a3615=_0x1a3615-0xfb;let _0x401738=_0x5a7a0b[_0x1a3615];return _0x401738;},a15_0x1a36(_0x155f51,_0x17d9ba);}const path=require(a15_0x47a787(0x104)),{requireModule}=require(a15_0x47a787(0xfd));let initJestAdapter=requireModule(a15_0x47a787(0x111));initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a15_0x47a787(0x10d)];function a15_0x5a7a(){const _0x3454fe=['requireInternalModule','join','1212YHGXVE','path','exports','includes','/jestAdapterInit','4396QbvFBS','57740QOiYeT','./customJestAdapterInit.js','2mjUCvD','initRequireModule','default','34254913uJywfg','883980aiUguV','1284485muKMgC','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','RvSlw','35JNthXt','../../../helpers/helper','648584iJqIZw','21393pbvRbX','117QFcDQw'];a15_0x5a7a=function(){return _0x3454fe;};return a15_0x5a7a();}const FRAMEWORK_INITIALIZER=path[a15_0x47a787(0x102)](__dirname,a15_0x47a787(0x10a));module[a15_0x47a787(0x105)]=(..._0x34b4ea)=>{const _0x1abe41=a15_0x47a787,_0x4d798e={'hOMxF':_0x1abe41(0x107),'uoSFE':function(_0x2d0827,_0x2a7d70){return _0x2d0827===_0x2a7d70;},'RvSlw':function(_0x3936ac,..._0x44aa34){return _0x3936ac(..._0x44aa34);}};return _0x34b4ea[0x3][_0x1abe41(0x10c)]=_0x34b4ea[0x3][_0x1abe41(0x101)],_0x34b4ea[0x3]['requireInternalModule']=(..._0x2c1892)=>{const _0x4a830f=_0x1abe41;if(_0x2c1892[0x0]&&_0x2c1892[0x0][_0x4a830f(0x106)](_0x4d798e['hOMxF'])&&_0x4d798e['uoSFE'](_0x2c1892[0x1],undefined))return _0x34b4ea[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x34b4ea[0x3][_0x4a830f(0x10c)](..._0x2c1892);},_0x4d798e[_0x1abe41(0xfb)](initJestAdapter,..._0x34b4ea);};
@@ -1 +1 @@
1
- const a16_0x4a3065=a16_0x4953;function a16_0x4953(_0x41062a,_0x2c6119){const _0x1634d2=a16_0x1634();return a16_0x4953=function(_0x495328,_0x62d64){_0x495328=_0x495328-0x8a;let _0x2c466f=_0x1634d2[_0x495328];return _0x2c466f;},a16_0x4953(_0x41062a,_0x2c6119);}(function(_0x108698,_0x59cce7){const _0x5adf9b=a16_0x4953,_0x4ede48=_0x108698();while(!![]){try{const _0x24eac4=parseInt(_0x5adf9b(0x91))/0x1+-parseInt(_0x5adf9b(0x99))/0x2+parseInt(_0x5adf9b(0xba))/0x3+parseInt(_0x5adf9b(0xd6))/0x4*(parseInt(_0x5adf9b(0x9f))/0x5)+-parseInt(_0x5adf9b(0xdf))/0x6*(-parseInt(_0x5adf9b(0x95))/0x7)+-parseInt(_0x5adf9b(0xc9))/0x8*(-parseInt(_0x5adf9b(0x9a))/0x9)+-parseInt(_0x5adf9b(0xc8))/0xa;if(_0x24eac4===_0x59cce7)break;else _0x4ede48['push'](_0x4ede48['shift']());}catch(_0x447126){_0x4ede48['push'](_0x4ede48['shift']());}}}(a16_0x1634,0x554dd));const helper=require('../../../helpers/helper'),constants=require(a16_0x4a3065(0x97)),{isTestObservabilitySession}=require(a16_0x4a3065(0xd0)),RequestQueueHandler=require(a16_0x4a3065(0xda)),ObservabilityReporter=require(a16_0x4a3065(0xa9)),testhubUtils=require(a16_0x4a3065(0xa1)),getTestEnvironment=((()=>{const _0x20288c=a16_0x4a3065,_0xd2d830={};_0xd2d830[_0x20288c(0xca)]=_0x20288c(0xe0),_0xd2d830[_0x20288c(0x9b)]=_0x20288c(0xcc);const _0x11dad3=_0xd2d830;try{const _0x474077=helper[_0x20288c(0xa0)](_0x11dad3[_0x20288c(0xca)]);if(_0x474077['resolveTestEnvironment'])return _0x474077['resolveTestEnvironment'];const _0x296b52=helper[_0x20288c(0xa0)](_0x11dad3['PXApL']);if(_0x296b52[_0x20288c(0xbf)])return _0x296b52[_0x20288c(0xbf)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x367328=a16_0x4a3065,_0x22761c={'FxDzA':function(_0x3f26dd,_0x569be0){return _0x3f26dd(_0x569be0);},'uHDAI':_0x367328(0xa2),'ZvSco':'jest-environment-node','yeKIt':function(_0x1bf9f4,_0x413d39){return _0x1bf9f4(_0x413d39);}},_0x16e2e5=_0x22761c[_0x367328(0xa5)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x367328(0x8b)][_0x367328(0xbc)]||_0x22761c['uHDAI']});if(!_0x16e2e5)return _0x22761c[_0x367328(0xa5)](_interopRequireDefault,helper[_0x367328(0xa0)](_0x22761c['ZvSco']));return _0x22761c[_0x367328(0xaf)](_interopRequireDefault,helper[_0x367328(0xa0)](_0x16e2e5));})()),_seleniumWebdriver2=((()=>{const _0x363ea2=a16_0x4a3065,_0xb120e6={'jcopK':function(_0x320cef,_0x1601d3){return _0x320cef(_0x1601d3);}};try{const _0x32e3e2=helper[_0x363ea2(0xbd)]();return helper['modifyCommand'](),_0xb120e6[_0x363ea2(0xcd)](_interopRequireDefault,_0x32e3e2);}catch{return null;}})());function _interopRequireDefault(_0x52f55e){const _0x3ca347=a16_0x4a3065;return _0x52f55e&&_0x52f55e[_0x3ca347(0xd2)]?_0x52f55e:{'default':_0x52f55e};}function a16_0x1634(){const _0x2c202c=['projectConfig','../test-observability/obsReporter','__webdriver','SdzEL','test','skipSessionName','cleanupDrivers','yeKIt','Builder','framework','DzEha','3|7|5|1|2|4|6|9|0|8','browserStackPercyOptions','kyjas','platformCaps','__skipSessionStatus','BTMgK','capability','1402461OLIsdI','CcFib','BSTACK_JEST_TEST_ENV','requireSeleniumWebdriver','setup','getTestEnvironment','isBrowserstackInfra','JEST','../../../index','configuration','getInstance','nestedKeyValue','feVto','skipSessionStatus','17115120lORSUc','4110280ipZjrr','kcZDg','default','jest-config','jcopK','GcaAi','testEnvironmentOptions','../../../helpers/test-observability/utils','registerListeners','__esModule','split','isTrue','testContext','4ACNFoc','__driversArray','teardown','driver','../../../helpers/test-observability/requestQueueHandler','BSTACK_DELTA','exports','FRAMEWORKS','test_start','6558tbvVYZ','jest-resolve','1|4|3|0|2','env','uPLvc','ExwCm','__timeout','builder','ncBun','693227vKtOxT','UUofj','VSZLH','Fajaq','2485xddmfH','quit','../../utils/constants','sessionNameProvided','507630RMoLMj','9xEBcjH','PXApL','global','percyCaptureMode','browserstackPercyBestPlatform','1261090kfLZLo','requireModule','../../../helpers/testhub/utils','node','browserstackAgentV2','browserstackPlatformIndex','FxDzA','shouldProcessEventForTesthub','percy'];a16_0x1634=function(){return _0x2c202c;};return a16_0x1634();}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x4a3065(0xcb)]['Builder']:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x4a3065(0xcb)]{constructor(_0x4bdc27){const _0xcb3271=a16_0x4a3065,_0x1cef77={'UUofj':_0xcb3271(0x96),'ExwCm':_0xcb3271(0x8a),'CcFib':function(_0x38cfa7,_0x8c0c27){return _0x38cfa7+_0x8c0c27;},'ncBun':_0xcb3271(0xb3),'SdzEL':_0xcb3271(0xcf),'GcaAi':_0xcb3271(0xb4),'zTAVu':_0xcb3271(0x9e),'BTMgK':_0xcb3271(0xa7),'uPLvc':_0xcb3271(0x9d),'DzEha':_0xcb3271(0xb6),'Fajaq':function(_0x236164,_0x22b5f1){return _0x236164(_0x22b5f1);},'feVto':_0xcb3271(0xc2)};super(_0x4bdc27),this[_0xcb3271(0x9c)][_0xcb3271(0x8e)]=0x0,this[_0xcb3271(0xc3)]={};!_0x4bdc27[_0xcb3271(0xcf)]&&(_0x4bdc27[_0xcb3271(0xcf)]={});if(helper[_0xcb3271(0xc0)]()){const _0x52f0c9=_0x1cef77[_0xcb3271(0x8d)][_0xcb3271(0xd3)]('|');let _0x1f10ed=0x0;while(!![]){switch(_0x52f0c9[_0x1f10ed++]){case'0':this[_0xcb3271(0xb9)]=_0x4bdc27['projectConfig']?_0x4bdc27['projectConfig'][_0xcb3271(0xb9)]:_0x4bdc27[_0xcb3271(0xb9)];continue;case'1':_0x4bdc27[_0xcb3271(0xcf)]=_0x4bdc27[_0xcb3271(0xa8)]?_0x4bdc27[_0xcb3271(0xa8)][_0xcb3271(0xcf)]:_0x4bdc27['testEnvironmentOptions'];continue;case'2':this['global'][_0xcb3271(0x8e)]=_0x1cef77[_0xcb3271(0xbb)](this[_0xcb3271(0xc3)]['timeout__'],constants[_0xcb3271(0xdb)]);continue;case'3':this['configuration']=_0x4bdc27[_0xcb3271(0xcf)];continue;case'4':this[_0xcb3271(0x8f)]=new _seleniumWebdriver2['default'][(_0xcb3271(0xb0))]();continue;}break;}}if(testhubUtils[_0xcb3271(0xa6)]()){const _0x52a0fe=new ObservabilityReporter();_0x52a0fe[_0xcb3271(0xd1)]();}this[_0xcb3271(0x9c)]['browserStackGlobals']={},this[_0xcb3271(0xc3)][_0xcb3271(0xb1)]=constants[_0xcb3271(0xdd)][_0xcb3271(0xc1)];if(_seleniumWebdriver2){const _0x8408bb=_0x1cef77[_0xcb3271(0x90)][_0xcb3271(0xd3)]('|');let _0x5af532=0x0;while(!![]){switch(_0x8408bb[_0x5af532++]){case'0':this['global'][_0xcb3271(0xb7)]=helper[_0xcb3271(0xd4)](this[_0xcb3271(0xc3)][_0xcb3271(0xc7)]);continue;case'1':this[_0xcb3271(0x9c)]['browserstackPercyBestPlatform']=helper[_0xcb3271(0xc5)](_0x4bdc27,[_0x1cef77[_0xcb3271(0xab)],_0x1cef77['GcaAi'],_0x1cef77['zTAVu']]);continue;case'2':this['global'][_0xcb3271(0xa7)]=helper[_0xcb3271(0xc5)](_0x4bdc27,[_0x1cef77[_0xcb3271(0xab)],_0x1cef77[_0xcb3271(0xce)],_0x1cef77[_0xcb3271(0xb8)]]);continue;case'3':this[_0xcb3271(0x9c)]['__drivers']=[];continue;case'4':this[_0xcb3271(0x9c)][_0xcb3271(0x9d)]=helper[_0xcb3271(0xc5)](_0x4bdc27,[_0x1cef77[_0xcb3271(0xab)],_0x1cef77[_0xcb3271(0xce)],_0x1cef77[_0xcb3271(0x8c)]]);continue;case'5':this['global'][_0xcb3271(0xa4)]=(_0x4bdc27[_0xcb3271(0xa8)]?_0x4bdc27['projectConfig'][_0xcb3271(0xa4)]:_0x4bdc27[_0xcb3271(0xa4)])||0x0;continue;case'6':this[_0xcb3271(0x9c)]['__platformCaps']=helper['nestedKeyValue'](this['configuration'],[_0x1cef77[_0xcb3271(0xb2)],this[_0xcb3271(0x9c)][_0xcb3271(0xa4)]])||{};continue;case'7':this[_0xcb3271(0x9c)]['__webdriver']=_0x1cef77[_0xcb3271(0x94)](require,_0x1cef77[_0xcb3271(0xc6)])[_0xcb3271(0xa3)]({...this[_0xcb3271(0xc3)],'capability':this[_0xcb3271(0xb9)]||{}},this,testhubUtils[_0xcb3271(0xa6)]());continue;case'8':this[_0xcb3271(0x9c)]['cleanup']=async()=>{const _0x5e244b=_0xcb3271;await this['global'][_0x5e244b(0xd9)][_0x5e244b(0x96)](_0x1cef77[_0x5e244b(0x92)]);};continue;case'9':helper['isTrue'](this[_0xcb3271(0xc3)][_0xcb3271(0xad)])?this[_0xcb3271(0x9c)][_0xcb3271(0x98)]=!![]:this[_0xcb3271(0x9c)]['sessionNameProvided']=![];continue;}break;}}}async[a16_0x4a3065(0xd8)](){const _0x3fa6d2=a16_0x4a3065;_seleniumWebdriver2&&(await helper[_0x3fa6d2(0xae)](this[_0x3fa6d2(0x9c)][_0x3fa6d2(0xd7)]),this[_0x3fa6d2(0x9c)][_0x3fa6d2(0xaa)][_0x3fa6d2(0xb0)]=originalBuilder),await RequestQueueHandler[_0x3fa6d2(0xc4)]()['shutdown']();}async[a16_0x4a3065(0xbe)](){}async['handleTestEvent'](_0x4d4db8,_0x168735){const _0x2368d1=a16_0x4a3065,_0x236706={};_0x236706[_0x2368d1(0x93)]=function(_0x16d75a,_0x1eb30f){return _0x16d75a===_0x1eb30f;},_0x236706[_0x2368d1(0xb5)]=_0x2368d1(0xde);const _0x433535=_0x236706,{name:_0x1d56d4}=_0x4d4db8;_0x433535[_0x2368d1(0x93)](_0x1d56d4,_0x433535[_0x2368d1(0xb5)])&&(this[_0x2368d1(0x9c)][_0x2368d1(0xd5)]=_0x4d4db8[_0x2368d1(0xac)]);}}module[a16_0x4a3065(0xdc)]=CustomEnvironment;
1
+ const a16_0x311445=a16_0x548f;function a16_0x548f(_0x110650,_0x3b6aec){const _0x77f11d=a16_0x77f1();return a16_0x548f=function(_0x548f36,_0x12ed89){_0x548f36=_0x548f36-0xbc;let _0x2fd048=_0x77f11d[_0x548f36];return _0x2fd048;},a16_0x548f(_0x110650,_0x3b6aec);}(function(_0x3b2c6f,_0x5366fc){const _0x3bfef6=a16_0x548f,_0x1ef112=_0x3b2c6f();while(!![]){try{const _0x380b30=-parseInt(_0x3bfef6(0xdc))/0x1+-parseInt(_0x3bfef6(0xf4))/0x2+-parseInt(_0x3bfef6(0xe1))/0x3+parseInt(_0x3bfef6(0xff))/0x4*(-parseInt(_0x3bfef6(0xf1))/0x5)+-parseInt(_0x3bfef6(0xdf))/0x6*(-parseInt(_0x3bfef6(0xce))/0x7)+-parseInt(_0x3bfef6(0x108))/0x8*(-parseInt(_0x3bfef6(0x103))/0x9)+parseInt(_0x3bfef6(0x106))/0xa;if(_0x380b30===_0x5366fc)break;else _0x1ef112['push'](_0x1ef112['shift']());}catch(_0x30926b){_0x1ef112['push'](_0x1ef112['shift']());}}}(a16_0x77f1,0x7892a));function a16_0x77f1(){const _0x1d9e82=['3033PikWos','FRAMEWORKS','__platformCaps','7066800EvPvSv','test_start','19808vglJpn','timeout__','node','YVngA','__timeout','getTestEnvironment','registerListeners','default','browserStackPercyOptions','shutdown','percy','pUdYg','../../../helpers/testhub/utils','test','jQBoH','capability','cleanup','global','split','browserstackPercyBestPlatform','skipSessionName','cwd','6|1|3|5|0|9|4|7|8|2','framework','372820VGdnYU','../../../helpers/helper','nskPk','quit','platformCaps','builder','VELPD','env','BSTACK_JEST_TEST_ENV','jest-resolve','testEnvironmentOptions','isTrue','resolveTestEnvironment','projectConfig','416255Iizbuw','../test-observability/obsReporter','modifyCommand','78MjXUPJ','testContext','343749qoIdno','yvaau','NVxqG','NbTlw','vTPVx','getInstance','__esModule','__drivers','../../../helpers/test-observability/requestQueueHandler','../../utils/constants','bvAnB','../../../helpers/test-observability/utils','RefuC','jest-environment-node','Pexoj','handleTestEvent','1155PRrgPo','shouldProcessEventForTesthub','requireModule','1889932eapnhT','elcUN','browserstackPlatformIndex','browserstackAgentV2','percyCaptureMode','driver','../../../index','Builder','browserStackGlobals','ESARW','xwswI','4568ylCkhg','nestedKeyValue','configuration','__webdriver'];a16_0x77f1=function(){return _0x1d9e82;};return a16_0x77f1();}const helper=require(a16_0x311445(0xcf)),constants=require(a16_0x311445(0xea)),{isTestObservabilitySession}=require(a16_0x311445(0xec)),RequestQueueHandler=require(a16_0x311445(0xe9)),ObservabilityReporter=require(a16_0x311445(0xdd)),testhubUtils=require(a16_0x311445(0xc2)),getTestEnvironment=((()=>{const _0x4f5ccc=a16_0x311445,_0x5646c8={};_0x5646c8[_0x4f5ccc(0xe4)]=_0x4f5ccc(0xd7),_0x5646c8['vTPVx']='jest-config';const _0x2f8a8f=_0x5646c8;try{const _0x31bccf=helper[_0x4f5ccc(0xf3)](_0x2f8a8f[_0x4f5ccc(0xe4)]);if(_0x31bccf[_0x4f5ccc(0xda)])return _0x31bccf['resolveTestEnvironment'];const _0x3bdbc0=helper['requireModule'](_0x2f8a8f[_0x4f5ccc(0xe5)]);if(_0x3bdbc0['getTestEnvironment'])return _0x3bdbc0[_0x4f5ccc(0x10d)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x347404=a16_0x311445,_0x3a6a50={'gIiuo':function(_0x4adec6,_0x11b71d){return _0x4adec6(_0x11b71d);},'nskPk':_0x347404(0x10a),'VELPD':function(_0x64a6ee,_0x26803d){return _0x64a6ee(_0x26803d);},'bvAnB':_0x347404(0xee),'eMoBP':function(_0x26e6c3,_0x5ca3c8){return _0x26e6c3(_0x5ca3c8);}},_0x5946ce=_0x3a6a50['gIiuo'](getTestEnvironment,{'rootDir':process[_0x347404(0xcb)](),'testEnvironment':process[_0x347404(0xd5)][_0x347404(0xd6)]||_0x3a6a50[_0x347404(0xd0)]});if(!_0x5946ce)return _0x3a6a50[_0x347404(0xd4)](_interopRequireDefault,helper['requireModule'](_0x3a6a50[_0x347404(0xeb)]));return _0x3a6a50['eMoBP'](_interopRequireDefault,helper[_0x347404(0xf3)](_0x5946ce));})()),_seleniumWebdriver2=((()=>{const _0x5a7635=a16_0x311445,_0x3b1895={'otFlQ':function(_0x4ea8ad,_0x55edf7){return _0x4ea8ad(_0x55edf7);}};try{const _0x5c7585=helper['requireSeleniumWebdriver']();return helper[_0x5a7635(0xde)](),_0x3b1895['otFlQ'](_interopRequireDefault,_0x5c7585);}catch{return null;}})());function _interopRequireDefault(_0x4c65df){const _0x50e351=a16_0x311445;return _0x4c65df&&_0x4c65df[_0x50e351(0xe7)]?_0x4c65df:{'default':_0x4c65df};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x311445(0xbd)][a16_0x311445(0xfb)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x311445(0xbd)]{constructor(_0x3c60f5){const _0x4e5d44=a16_0x311445,_0x309bf2={'kvqgL':_0x4e5d44(0xd1),'rAzFX':'4|3|2|1|0','DXhkj':function(_0x183bcb,_0x4f572f){return _0x183bcb+_0x4f572f;},'jQBoH':_0x4e5d44(0xcc),'yvaau':_0x4e5d44(0xd8),'pUdYg':_0x4e5d44(0xbe),'NVxqG':'percy','Pexoj':function(_0x41e0f1,_0x208226){return _0x41e0f1(_0x208226);},'ESARW':_0x4e5d44(0xfa),'xwswI':_0x4e5d44(0xd2),'RefuC':_0x4e5d44(0xc9),'YMIek':_0x4e5d44(0xf8)};super(_0x3c60f5),this['global'][_0x4e5d44(0x10c)]=0x0,this[_0x4e5d44(0x101)]={};!_0x3c60f5[_0x4e5d44(0xd8)]&&(_0x3c60f5['testEnvironmentOptions']={});if(helper['isBrowserstackInfra']()){const _0x5348d0=_0x309bf2['rAzFX'][_0x4e5d44(0xc8)]('|');let _0x39614d=0x0;while(!![]){switch(_0x5348d0[_0x39614d++]){case'0':this[_0x4e5d44(0xc7)][_0x4e5d44(0x10c)]=_0x309bf2['DXhkj'](this[_0x4e5d44(0x101)][_0x4e5d44(0x109)],constants['BSTACK_DELTA']);continue;case'1':this[_0x4e5d44(0xc5)]=_0x3c60f5[_0x4e5d44(0xdb)]?_0x3c60f5[_0x4e5d44(0xdb)][_0x4e5d44(0xc5)]:_0x3c60f5['capability'];continue;case'2':this[_0x4e5d44(0x101)]=_0x3c60f5[_0x4e5d44(0xd8)];continue;case'3':this[_0x4e5d44(0xd3)]=new _seleniumWebdriver2['default'][(_0x4e5d44(0xfb))]();continue;case'4':_0x3c60f5[_0x4e5d44(0xd8)]=_0x3c60f5[_0x4e5d44(0xdb)]?_0x3c60f5[_0x4e5d44(0xdb)][_0x4e5d44(0xd8)]:_0x3c60f5[_0x4e5d44(0xd8)];continue;}break;}}if(testhubUtils[_0x4e5d44(0xf2)]()){const _0x1f6200=new ObservabilityReporter();_0x1f6200[_0x4e5d44(0xbc)]();}this[_0x4e5d44(0xc7)][_0x4e5d44(0xfc)]={},this[_0x4e5d44(0x101)][_0x4e5d44(0xcd)]=constants[_0x4e5d44(0x104)]['JEST'];if(_seleniumWebdriver2){const _0x27dabd=_0x309bf2[_0x4e5d44(0xc4)][_0x4e5d44(0xc8)]('|');let _0x35f503=0x0;while(!![]){switch(_0x27dabd[_0x35f503++]){case'0':this['global'][_0x4e5d44(0xc0)]=helper[_0x4e5d44(0x100)](_0x3c60f5,[_0x309bf2[_0x4e5d44(0xe2)],_0x309bf2[_0x4e5d44(0xc1)],_0x309bf2[_0x4e5d44(0xe3)]]);continue;case'1':this[_0x4e5d44(0xc7)][_0x4e5d44(0x102)]=_0x309bf2[_0x4e5d44(0xef)](require,_0x309bf2[_0x4e5d44(0xfd)])[_0x4e5d44(0xf7)]({...this[_0x4e5d44(0x101)],'capability':this[_0x4e5d44(0xc5)]||{}},this,testhubUtils[_0x4e5d44(0xf2)]());continue;case'2':this[_0x4e5d44(0xc7)][_0x4e5d44(0xc6)]=async()=>{const _0x11fe26=_0x4e5d44;await this['global'][_0x11fe26(0xf9)][_0x11fe26(0xd1)](_0x309bf2['kvqgL']);};continue;case'3':this['global'][_0x4e5d44(0xf6)]=(_0x3c60f5['projectConfig']?_0x3c60f5[_0x4e5d44(0xdb)][_0x4e5d44(0xf6)]:_0x3c60f5['browserstackPlatformIndex'])||0x0;continue;case'4':this['global'][_0x4e5d44(0x105)]=helper[_0x4e5d44(0x100)](this[_0x4e5d44(0x101)],[_0x309bf2[_0x4e5d44(0xfe)],this[_0x4e5d44(0xc7)][_0x4e5d44(0xf6)]])||{};continue;case'5':this['global'][_0x4e5d44(0xc9)]=helper[_0x4e5d44(0x100)](_0x3c60f5,[_0x309bf2['yvaau'],_0x309bf2[_0x4e5d44(0xc1)],_0x309bf2[_0x4e5d44(0xed)]]);continue;case'6':this['global'][_0x4e5d44(0xe8)]=[];continue;case'7':helper[_0x4e5d44(0xd9)](this[_0x4e5d44(0x101)][_0x4e5d44(0xca)])?this['global']['sessionNameProvided']=!![]:this['global']['sessionNameProvided']=![];continue;case'8':this['global']['__skipSessionStatus']=helper[_0x4e5d44(0xd9)](this[_0x4e5d44(0x101)]['skipSessionStatus']);continue;case'9':this[_0x4e5d44(0xc7)][_0x4e5d44(0xf8)]=helper[_0x4e5d44(0x100)](_0x3c60f5,[_0x309bf2['yvaau'],_0x309bf2['pUdYg'],_0x309bf2['YMIek']]);continue;}break;}}}async['teardown'](){const _0x17a290=a16_0x311445;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x17a290(0xc7)]['__driversArray']),this[_0x17a290(0xc7)][_0x17a290(0x102)][_0x17a290(0xfb)]=originalBuilder),await RequestQueueHandler[_0x17a290(0xe6)]()[_0x17a290(0xbf)]();}async['setup'](){}async[a16_0x311445(0xf0)](_0x127003,_0x55880d){const _0x358a6b=a16_0x311445,_0x51df6d={};_0x51df6d['YVngA']=function(_0x2211bc,_0x558b32){return _0x2211bc===_0x558b32;},_0x51df6d[_0x358a6b(0xf5)]=_0x358a6b(0x107);const _0x4d484f=_0x51df6d,{name:_0x330249}=_0x127003;_0x4d484f[_0x358a6b(0x10b)](_0x330249,_0x4d484f[_0x358a6b(0xf5)])&&(this['global'][_0x358a6b(0xe0)]=_0x127003[_0x358a6b(0xc3)]);}}module['exports']=CustomEnvironment;
@@ -1 +1 @@
1
- const a17_0x3e521c=a17_0x4a2d;(function(_0x50946c,_0xef7d41){const _0x5c6434=a17_0x4a2d,_0xbc26f9=_0x50946c();while(!![]){try{const _0x399efd=parseInt(_0x5c6434(0xab))/0x1*(-parseInt(_0x5c6434(0xa9))/0x2)+-parseInt(_0x5c6434(0xb1))/0x3+-parseInt(_0x5c6434(0x9b))/0x4+-parseInt(_0x5c6434(0xb7))/0x5+-parseInt(_0x5c6434(0x96))/0x6+-parseInt(_0x5c6434(0x9a))/0x7+parseInt(_0x5c6434(0x8e))/0x8*(parseInt(_0x5c6434(0xae))/0x9);if(_0x399efd===_0xef7d41)break;else _0xbc26f9['push'](_0xbc26f9['shift']());}catch(_0x196dce){_0xbc26f9['push'](_0xbc26f9['shift']());}}}(a17_0x4be9,0x3949a));const {requireModule}=require('../../../helpers/helper'),ObservabilityReporter=require(a17_0x3e521c(0x8f)),RequestQueueHandler=require(a17_0x3e521c(0xcc)),TestDetails=require('../test-observability/test-details'),{patchConsoleLogger,debug}=require(a17_0x3e521c(0xbf)),{o11yErrorHandler}=require(a17_0x3e521c(0xa3)),{shouldProcessEventForTesthub}=require(a17_0x3e521c(0x8d)),testHubConstants=require('../../../helpers/testhub/constants'),exportsI=requireModule(a17_0x3e521c(0xaf)),initInitialize=exportsI[a17_0x3e521c(0xca)];function a17_0x4a2d(_0x2f04d1,_0x1c330f){const _0x4be94e=a17_0x4be9();return a17_0x4a2d=function(_0x4a2d2b,_0x399296){_0x4a2d2b=_0x4a2d2b-0x8a;let _0x44e36b=_0x4be94e[_0x4a2d2b];return _0x44e36b;},a17_0x4a2d(_0x2f04d1,_0x1c330f);}function a17_0x4be9(){const _0x27ae0c=['444728yibpiW','../test-observability/obsReporter','sendTestRunEvent','setTestUUID','TJomt','test_done','pid','OIRWl','2512392tMjooX','EVENT','HookRunStarted','run_describe_finish','784609vczyQT','1296508ONRJpn','unhandledErrors','jest-circus/build/state.js','PiXqY','HookStarted','markedStatus','aaeil','HookFinished','../../../helpers/test-observability/error-handler','test_start','hook','removeAllListeners','teardown','shutdown','4zbyAlx','length','134883dpOgQh','DGIWY','TestRunSkipped','324rcGzyZ','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','TCwnj','714900UCeqob','hWyYE','IhVNN','HookRunFinished','hook_success','beforeAll','2018070jovOsq','DknrW','SJOUk','forEach','EventHandler','jNSZP','includes','errorsDetailed','../../../helpers/test-observability/utils','cbUUa','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','eGINB','CYRQQ','test_skip','keys','test','type',':hookAnalyticsId','EmlTy','initialize','hookAnalyticsId','../../../helpers/test-observability/requestQueueHandler','tZUem','vsPBu','removeTestUUID','wFTxn','afterEach','hook_failure','makeSingleTestResult','QlWUs','LwZrP','uGVPX','uRDnM','PrgSi','../../../helpers/testhub/utils'];a17_0x4be9=function(){return _0x27ae0c;};return a17_0x4be9();}exportsI[a17_0x3e521c(0xca)]=(..._0x53ca1b)=>{const _0x129889=a17_0x3e521c,_0x1fd87d={'jNSZP':function(_0x5e158c,_0x27486e){return _0x5e158c(_0x27486e);},'rPxdS':'jest-circus/build/utils.js','DGIWY':'hook_start','hWyYE':function(_0x2750bc,_0x257ec4){return _0x2750bc(_0x257ec4);},'YJpFN':_0x129889(0x98),'uRDnM':_0x129889(0xb5),'aGdjS':function(_0x4f3e43,_0x1866e6){return _0x4f3e43(_0x1866e6);},'PrgSi':_0x129889(0xb4),'OIRWl':_0x129889(0xd2),'DmTYW':_0x129889(0xb6),'EmlTy':'beforeEach','SJOUk':_0x129889(0xd1),'jOpop':function(_0x5ad545,_0x1d7853){return _0x5ad545>_0x1d7853;},'zgoMc':function(_0x147c76,_0x18da21){return _0x147c76(_0x18da21);},'CYRQQ':_0x129889(0xa4),'LwZrP':function(_0x22d387){return _0x22d387();},'IhVNN':_0x129889(0x93),'PiXqY':function(_0x123c48,_0x50f533){return _0x123c48(_0x50f533);},'uGVPX':function(_0xa677c9){return _0xa677c9();},'hxOgb':_0x129889(0xc4),'TCwnj':function(_0x376cdf,_0x5060d1){return _0x376cdf(_0x5060d1);},'grNmT':_0x129889(0xad),'vsPBu':_0x129889(0x99),'TJomt':_0x129889(0xa7),'wFTxn':function(_0x24ee14){return _0x24ee14();},'cbUUa':function(_0x24f554){return _0x24f554();},'tZUem':function(_0x48fb0a,_0x553c28){return _0x48fb0a(_0x553c28);},'QlWUs':_0x129889(0x9d),'eGINB':function(_0x420fd4,_0x1c85f2,_0x29ce45){return _0x420fd4(_0x1c85f2,_0x29ce45);},'DknrW':_0x129889(0xbb),'aaeil':function(_0x26eeee,_0x1db322){return _0x26eeee(_0x1db322);}};try{const _0x1dc7a4=new ObservabilityReporter();_0x1fd87d[_0x129889(0xd0)](shouldProcessEventForTesthub)&&(_0x1fd87d[_0x129889(0xd0)](patchConsoleLogger),_0x1dc7a4['registerListeners']()),_0x1fd87d[_0x129889(0xc0)](shouldProcessEventForTesthub)&&_0x1fd87d[_0x129889(0xcd)](requireModule,_0x1fd87d[_0x129889(0xd4)])['addEventHandler'](_0x1fd87d[_0x129889(0xc2)](o11yErrorHandler,async(_0x42dabc,_0x1482f3)=>{const _0x262d38=_0x129889,_0x37ed87=_0x1fd87d[_0x262d38(0xbc)](requireModule,_0x1fd87d['rPxdS'])[_0x262d38(0xd3)];switch(_0x42dabc['name']){case _0x1fd87d[_0x262d38(0xac)]:if(_0x1fd87d[_0x262d38(0xb2)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x262d38(0x9f)])){if(!_0x42dabc['hook'][_0x262d38(0xcb)]){const _0x112f64=TestDetails[_0x262d38(0x91)](process['pid']+_0x262d38(0xc8));_0x42dabc[_0x262d38(0xa5)][_0x262d38(0xcb)]=_0x112f64;}else _0x42dabc[_0x262d38(0xa5)][_0x262d38(0xa0)]&&(_0x42dabc[_0x262d38(0xa5)][_0x262d38(0xcb)]=TestDetails[_0x262d38(0x91)](process[_0x262d38(0x94)]+':hookAnalyticsId'),delete _0x42dabc['hook'][_0x262d38(0xa0)]);_0x42dabc['hook']['started_at']=new Date()['toISOString'](),await _0x1dc7a4[_0x262d38(0x90)](_0x42dabc[_0x262d38(0xa5)],undefined,![],_0x1fd87d['YJpFN']);}break;case _0x1fd87d[_0x262d38(0x8b)]:_0x1fd87d['aGdjS'](shouldProcessEventForTesthub,testHubConstants[_0x262d38(0x97)][_0x262d38(0xa2)])&&(await _0x1dc7a4[_0x262d38(0x90)](_0x42dabc[_0x262d38(0xa5)],undefined,![],_0x1fd87d[_0x262d38(0x8c)]),TestDetails[_0x262d38(0xcf)](process[_0x262d38(0x94)]+_0x262d38(0xc8)));break;case _0x1fd87d[_0x262d38(0x95)]:[_0x1fd87d['DmTYW'],_0x1fd87d[_0x262d38(0xc9)],_0x1fd87d[_0x262d38(0xb9)]][_0x262d38(0xbd)](_0x42dabc[_0x262d38(0xa5)][_0x262d38(0xc7)])&&(_0x1dc7a4[_0x262d38(0xd2)]=_0x42dabc[_0x262d38(0xa5)][_0x262d38(0xc7)]),_0x1482f3[_0x262d38(0x9c)]&&_0x1fd87d['jOpop'](_0x1482f3[_0x262d38(0x9c)][_0x262d38(0xaa)],0x0)&&(_0x42dabc['hook'][_0x262d38(0xbe)]=[_0x1482f3[_0x262d38(0x9c)][0x0][0x0]]);_0x1fd87d['zgoMc'](shouldProcessEventForTesthub,testHubConstants[_0x262d38(0x97)]['HookFinished'])&&(await _0x1dc7a4['sendTestRunEvent'](_0x42dabc[_0x262d38(0xa5)],undefined,![],_0x1fd87d['PrgSi']),TestDetails[_0x262d38(0xcf)](process[_0x262d38(0x94)]+_0x262d38(0xc8)));break;case _0x1fd87d[_0x262d38(0xc3)]:_0x1fd87d[_0x262d38(0xd5)](shouldProcessEventForTesthub)&&await _0x1dc7a4['testStarted'](_0x42dabc[_0x262d38(0xc6)]);break;case _0x1fd87d[_0x262d38(0xb3)]:_0x42dabc[_0x262d38(0xc6)]={..._0x1fd87d[_0x262d38(0x9e)](_0x37ed87,_0x42dabc[_0x262d38(0xc6)]),..._0x42dabc[_0x262d38(0xc6)]};_0x1fd87d[_0x262d38(0x8a)](shouldProcessEventForTesthub)&&(!_0x42dabc[_0x262d38(0xc6)]['markedStatus']&&(_0x42dabc[_0x262d38(0xc6)][_0x262d38(0xa0)]=!![],await _0x1dc7a4[_0x262d38(0x90)](_0x42dabc['test'])));break;case _0x1fd87d['hxOgb']:_0x42dabc[_0x262d38(0xc6)]={..._0x1fd87d[_0x262d38(0xb0)](_0x37ed87,_0x42dabc[_0x262d38(0xc6)]),..._0x42dabc[_0x262d38(0xc6)]};_0x1fd87d[_0x262d38(0xd5)](shouldProcessEventForTesthub)&&(!_0x42dabc[_0x262d38(0xc6)]['markedStatus']&&(_0x42dabc[_0x262d38(0xc6)]['markedStatus']=!![],await _0x1dc7a4[_0x262d38(0x90)](_0x42dabc[_0x262d38(0xc6)],undefined,![],_0x1fd87d['grNmT'])));break;case _0x1fd87d[_0x262d38(0xce)]:_0x1dc7a4[_0x262d38(0xd2)]=null;break;case _0x1fd87d[_0x262d38(0x92)]:await RequestQueueHandler['getInstance']()[_0x262d38(0xa8)](),process[_0x262d38(0xa6)]();break;default:}},_0x1fd87d[_0x129889(0xb8)]));}catch(_0x4b5940){_0x1fd87d[_0x129889(0xa1)](debug,_0x129889(0xc1)+_0x4b5940);}return _0x1fd87d[_0x129889(0xa1)](initInitialize,..._0x53ca1b);};try{Object[a17_0x3e521c(0xc5)](exportsI)[a17_0x3e521c(0xba)](_0x52a693=>{try{exports&&(exports[_0x52a693]=exportsI[_0x52a693]);}catch{}});}catch{}
1
+ const a17_0x5e93c8=a17_0x563b;function a17_0x3e2f(){const _0x598f2c=['setTestUUID','../../../helpers/testhub/utils','3yqQmDk','registerListeners','EVENT','keys',':hookAnalyticsId','nEfrA','HookFinished','teardown','CuKxM','../../../helpers/test-observability/requestQueueHandler','397134XGoubh','test_done','jkxFu','HookRunStarted','unhandledErrors','1627126RkJGxZ','cTXlw','235lORhoh','YZKfj','pCqBt','CLipV','jest-circus/build/utils.js','YgtnS','TestRunSkipped','17136jyFHkW','makeSingleTestResult','CDvpV','EventHandler','../test-observability/obsReporter','hook_failure','started_at','errorsDetailed','beforeEach','HsMFd','GzoxZ','run_describe_finish','../../../helpers/helper','9002iIdSZn','test','pLtuR','hookAnalyticsId','9352800LEmILr','name','jest-circus/build/state.js','../../../helpers/test-observability/utils','SAjKK','6414oqJWQf','test_start','../../../helpers/testhub/constants','224iBcKQu','initialize','addEventHandler','removeAllListeners','hook','type','pid','12MGLLuM','getInstance','PjJnC','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','suAsf','QMHIq','afterEach','removeTestUUID','qaCBo','sendTestRunEvent','351273DQQKro','cIRir','testStarted','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','bujKf','14015969Mhnbdg','toISOString','markedStatus','hook_start','hook_success','../../../helpers/test-observability/error-handler'];a17_0x3e2f=function(){return _0x598f2c;};return a17_0x3e2f();}function a17_0x563b(_0x13c28a,_0x4f7f24){const _0x3e2f1b=a17_0x3e2f();return a17_0x563b=function(_0x563b48,_0x3a3627){_0x563b48=_0x563b48-0xb7;let _0x8bbbb0=_0x3e2f1b[_0x563b48];return _0x8bbbb0;},a17_0x563b(_0x13c28a,_0x4f7f24);}(function(_0x3b43fb,_0xe73bbd){const _0x1cec90=a17_0x563b,_0x433ed=_0x3b43fb();while(!![]){try{const _0xa8aa1b=-parseInt(_0x1cec90(0x105))/0x1+parseInt(_0x1cec90(0xd2))/0x2*(-parseInt(_0x1cec90(0xc3))/0x3)+-parseInt(_0x1cec90(0xdb))/0x4*(parseInt(_0x1cec90(0xd4))/0x5)+parseInt(_0x1cec90(0xf1))/0x6*(-parseInt(_0x1cec90(0xe8))/0x7)+-parseInt(_0x1cec90(0xf4))/0x8*(-parseInt(_0x1cec90(0xcd))/0x9)+parseInt(_0x1cec90(0xec))/0xa+-parseInt(_0x1cec90(0xbb))/0xb*(-parseInt(_0x1cec90(0xfb))/0xc);if(_0xa8aa1b===_0xe73bbd)break;else _0x433ed['push'](_0x433ed['shift']());}catch(_0x10bf01){_0x433ed['push'](_0x433ed['shift']());}}}(a17_0x3e2f,0xabe45));const {requireModule}=require(a17_0x5e93c8(0xe7)),ObservabilityReporter=require(a17_0x5e93c8(0xdf)),RequestQueueHandler=require(a17_0x5e93c8(0xcc)),TestDetails=require('../test-observability/test-details'),{patchConsoleLogger,debug}=require(a17_0x5e93c8(0xef)),{o11yErrorHandler}=require(a17_0x5e93c8(0xc0)),{shouldProcessEventForTesthub}=require(a17_0x5e93c8(0xc2)),testHubConstants=require(a17_0x5e93c8(0xf3)),exportsI=requireModule(a17_0x5e93c8(0xb9)),initInitialize=exportsI['initialize'];exportsI[a17_0x5e93c8(0xf5)]=(..._0x1c5f72)=>{const _0x3a49a0=a17_0x5e93c8,_0x34bec3={'jkxFu':function(_0x4c128e,_0x40d6f4){return _0x4c128e(_0x40d6f4);},'SAjKK':_0x3a49a0(0xd8),'CDvpV':_0x3a49a0(0xbe),'CuKxM':function(_0x482869,_0x20b88e){return _0x482869(_0x20b88e);},'qaCBo':_0x3a49a0(0xd0),'PjJnC':_0x3a49a0(0xbf),'bujKf':'HookRunFinished','pLtuR':_0x3a49a0(0xe0),'pCqBt':'beforeAll','CLipV':_0x3a49a0(0xe3),'JjXBu':_0x3a49a0(0x101),'YgtnS':function(_0x45b70c,_0x555a5f){return _0x45b70c>_0x555a5f;},'RPgZM':_0x3a49a0(0xf2),'YZKfj':function(_0x40188f){return _0x40188f();},'UtQNy':_0x3a49a0(0xce),'cIRir':function(_0x33a3a6){return _0x33a3a6();},'HsMFd':'test_skip','nmTcy':_0x3a49a0(0xda),'FYHQL':_0x3a49a0(0xe6),'cTXlw':_0x3a49a0(0xca),'GzoxZ':function(_0x49b679){return _0x49b679();},'YmioH':function(_0x1d5df9){return _0x1d5df9();},'QMHIq':function(_0x42319f){return _0x42319f();},'mAunP':_0x3a49a0(0xee),'suAsf':function(_0x572367,_0x433a5b,_0xe12013){return _0x572367(_0x433a5b,_0xe12013);},'nEfrA':_0x3a49a0(0xde),'EOqmL':function(_0x54a494,..._0x3ab9af){return _0x54a494(..._0x3ab9af);}};try{const _0x57f818=new ObservabilityReporter();_0x34bec3[_0x3a49a0(0xe5)](shouldProcessEventForTesthub)&&(_0x34bec3['YmioH'](patchConsoleLogger),_0x57f818[_0x3a49a0(0xc4)]()),_0x34bec3[_0x3a49a0(0x100)](shouldProcessEventForTesthub)&&_0x34bec3[_0x3a49a0(0xcb)](requireModule,_0x34bec3['mAunP'])[_0x3a49a0(0xf6)](_0x34bec3[_0x3a49a0(0xff)](o11yErrorHandler,async(_0x416dcf,_0x5261a4)=>{const _0x57c753=_0x3a49a0,_0x147ae4=_0x34bec3[_0x57c753(0xcf)](requireModule,_0x34bec3[_0x57c753(0xf0)])[_0x57c753(0xdc)];switch(_0x416dcf[_0x57c753(0xed)]){case _0x34bec3[_0x57c753(0xdd)]:if(_0x34bec3['CuKxM'](shouldProcessEventForTesthub,testHubConstants[_0x57c753(0xc5)]['HookStarted'])){if(!_0x416dcf[_0x57c753(0xf8)]['hookAnalyticsId']){const _0x25b54e=TestDetails[_0x57c753(0xc1)](process[_0x57c753(0xfa)]+_0x57c753(0xc7));_0x416dcf[_0x57c753(0xf8)][_0x57c753(0xeb)]=_0x25b54e;}else _0x416dcf[_0x57c753(0xf8)][_0x57c753(0xbd)]&&(_0x416dcf[_0x57c753(0xf8)][_0x57c753(0xeb)]=TestDetails[_0x57c753(0xc1)](process[_0x57c753(0xfa)]+_0x57c753(0xc7)),delete _0x416dcf[_0x57c753(0xf8)][_0x57c753(0xbd)]);_0x416dcf[_0x57c753(0xf8)][_0x57c753(0xe1)]=new Date()[_0x57c753(0xbc)](),await _0x57f818[_0x57c753(0x104)](_0x416dcf[_0x57c753(0xf8)],undefined,![],_0x34bec3[_0x57c753(0x103)]);}break;case _0x34bec3[_0x57c753(0xfd)]:_0x34bec3[_0x57c753(0xcb)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x57c753(0xc9)])&&(await _0x57f818[_0x57c753(0x104)](_0x416dcf['hook'],undefined,![],_0x34bec3[_0x57c753(0xba)]),TestDetails[_0x57c753(0x102)](process['pid']+_0x57c753(0xc7)));break;case _0x34bec3[_0x57c753(0xea)]:[_0x34bec3[_0x57c753(0xd6)],_0x34bec3[_0x57c753(0xd7)],_0x34bec3['JjXBu']]['includes'](_0x416dcf['hook'][_0x57c753(0xf9)])&&(_0x57f818[_0x57c753(0xe0)]=_0x416dcf[_0x57c753(0xf8)][_0x57c753(0xf9)]),_0x5261a4['unhandledErrors']&&_0x34bec3[_0x57c753(0xd9)](_0x5261a4['unhandledErrors']['length'],0x0)&&(_0x416dcf[_0x57c753(0xf8)][_0x57c753(0xe2)]=[_0x5261a4[_0x57c753(0xd1)][0x0][0x0]]);_0x34bec3['jkxFu'](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x57c753(0xc9)])&&(await _0x57f818['sendTestRunEvent'](_0x416dcf[_0x57c753(0xf8)],undefined,![],_0x34bec3[_0x57c753(0xba)]),TestDetails['removeTestUUID'](process[_0x57c753(0xfa)]+_0x57c753(0xc7)));break;case _0x34bec3['RPgZM']:_0x34bec3[_0x57c753(0xd5)](shouldProcessEventForTesthub)&&await _0x57f818[_0x57c753(0xb8)](_0x416dcf[_0x57c753(0xe9)]);break;case _0x34bec3['UtQNy']:_0x416dcf['test']={..._0x34bec3[_0x57c753(0xcb)](_0x147ae4,_0x416dcf[_0x57c753(0xe9)]),..._0x416dcf['test']};_0x34bec3[_0x57c753(0xb7)](shouldProcessEventForTesthub)&&(!_0x416dcf['test'][_0x57c753(0xbd)]&&(_0x416dcf[_0x57c753(0xe9)][_0x57c753(0xbd)]=!![],await _0x57f818[_0x57c753(0x104)](_0x416dcf['test'])));break;case _0x34bec3[_0x57c753(0xe4)]:_0x416dcf[_0x57c753(0xe9)]={..._0x34bec3[_0x57c753(0xcf)](_0x147ae4,_0x416dcf[_0x57c753(0xe9)]),..._0x416dcf[_0x57c753(0xe9)]};_0x34bec3[_0x57c753(0xb7)](shouldProcessEventForTesthub)&&(!_0x416dcf['test'][_0x57c753(0xbd)]&&(_0x416dcf[_0x57c753(0xe9)][_0x57c753(0xbd)]=!![],await _0x57f818['sendTestRunEvent'](_0x416dcf[_0x57c753(0xe9)],undefined,![],_0x34bec3['nmTcy'])));break;case _0x34bec3['FYHQL']:_0x57f818[_0x57c753(0xe0)]=null;break;case _0x34bec3[_0x57c753(0xd3)]:await RequestQueueHandler[_0x57c753(0xfc)]()['shutdown'](),process[_0x57c753(0xf7)]();break;default:}},_0x34bec3[_0x3a49a0(0xc8)]));}catch(_0x4dd205){_0x34bec3[_0x3a49a0(0xcf)](debug,_0x3a49a0(0xfe)+_0x4dd205);}return _0x34bec3['EOqmL'](initInitialize,..._0x1c5f72);};try{Object[a17_0x5e93c8(0xc6)](exportsI)['forEach'](_0x57478f=>{try{exports&&(exports[_0x57478f]=exportsI[_0x57478f]);}catch{}});}catch{}
@@ -1 +1 @@
1
- 'use strict';const a18_0x3a6809=a18_0x2b03;(function(_0x31f71a,_0x112090){const _0x490e14=a18_0x2b03,_0x180847=_0x31f71a();while(!![]){try{const _0x17e128=-parseInt(_0x490e14(0x146))/0x1+parseInt(_0x490e14(0x13b))/0x2+-parseInt(_0x490e14(0x149))/0x3*(parseInt(_0x490e14(0x13c))/0x4)+-parseInt(_0x490e14(0x13e))/0x5+-parseInt(_0x490e14(0x144))/0x6*(-parseInt(_0x490e14(0x137))/0x7)+parseInt(_0x490e14(0x151))/0x8*(-parseInt(_0x490e14(0x140))/0x9)+-parseInt(_0x490e14(0x143))/0xa*(-parseInt(_0x490e14(0x13a))/0xb);if(_0x17e128===_0x112090)break;else _0x180847['push'](_0x180847['shift']());}catch(_0x15e724){_0x180847['push'](_0x180847['shift']());}}}(a18_0x1cfe,0x7d085));const {requireModule,isBrowserstackInfra}=require(a18_0x3a6809(0x14f)),a18_0x343cd6={};a18_0x343cd6[a18_0x3a6809(0x14c)]=!![],Object['defineProperty'](exports,a18_0x3a6809(0x130),a18_0x343cd6),exports[a18_0x3a6809(0x13d)]=void 0x0;function a18_0x1cfe(){const _0x4d0f4f=['parallels__','weyRK','value','length','config','../../../helpers/helper','jest-runner','11416XtloNS','__esModule','THHTs','vPXxI','context','testEnvironmentOptions','runTests','AocWQ','3031xqOxfi','push','capabilities','77JuXhZK','460494nEzKyE','8WKaWwv','default','4030065cRiRbA','freeze','2574ixITrN','false','_globalConfig','1506750gGMFKN','14046twPCSl','serial','330985PBRCuD','slice','YqFTa','362058SUvbzu'];a18_0x1cfe=function(){return _0x4d0f4f;};return a18_0x1cfe();}function _interopRequireDefault(_0x111607){return _0x111607&&_0x111607['__esModule']?_0x111607:{'default':_0x111607};}function a18_0x2b03(_0x4a24b3,_0x2ee8fe){const _0x1cfe2d=a18_0x1cfe();return a18_0x2b03=function(_0x2b0395,_0x276117){_0x2b0395=_0x2b0395-0x130;let _0x1f7603=_0x1cfe2d[_0x2b0395];return _0x1f7603;},a18_0x2b03(_0x4a24b3,_0x2ee8fe);}const JestRunner=_interopRequireDefault(requireModule(a18_0x3a6809(0x150)))[a18_0x3a6809(0x13d)];class TestRunner extends JestRunner{constructor(..._0x58f422){super(..._0x58f422);}[a18_0x3a6809(0x135)](..._0x2b968d){const _0x3dbc0c=a18_0x3a6809,_0x194119={'weyRK':function(_0x5d64e2){return _0x5d64e2();},'DcSFM':function(_0x21f787,_0x189360){return _0x21f787-_0x189360;},'YqFTa':function(_0x54e980,_0x29cfa7){return _0x54e980*_0x29cfa7;},'AocWQ':function(_0x3f846b,_0x1d931b){return _0x3f846b===_0x1d931b;},'THHTs':_0x3dbc0c(0x141),'vPXxI':function(_0x509db5,_0x29053b){return _0x509db5<_0x29053b;}};if(!_0x194119[_0x3dbc0c(0x14b)](isBrowserstackInfra))return super[_0x3dbc0c(0x135)](..._0x2b968d);const _0x54e83b=_0x2b968d[0x0],_0xe432e1=_0x2b968d[_0x194119['DcSFM'](_0x2b968d[_0x3dbc0c(0x14d)],0x1)],_0x5bbf08=_0x54e83b[0x0][_0x3dbc0c(0x133)]['config'][_0x3dbc0c(0x134)][_0x3dbc0c(0x139)],_0x2bb823=_0x54e83b[0x0][_0x3dbc0c(0x133)][_0x3dbc0c(0x14e)][_0x3dbc0c(0x134)][_0x3dbc0c(0x14a)];_0x2bb823&&(this[_0x3dbc0c(0x142)]=Object[_0x3dbc0c(0x13f)]({...this[_0x3dbc0c(0x142)],'maxWorkers':_0x194119[_0x3dbc0c(0x148)](_0x2bb823,_0x5bbf08['length'])}));_0x194119[_0x3dbc0c(0x136)](_0x54e83b[0x0][_0x3dbc0c(0x133)]['config'][_0x3dbc0c(0x134)]['serial__'],_0x194119[_0x3dbc0c(0x131)])&&(_0xe432e1&&(_0xe432e1[_0x3dbc0c(0x145)]=![]));const _0x3e7844=[];for(let _0x5ca596=0x0;_0x194119[_0x3dbc0c(0x132)](_0x5ca596,_0x54e83b['length']);_0x5ca596++){const _0x5f20ce=[];_0x5bbf08['forEach']((_0x1b1f13,_0x45d790)=>{const _0xeeb3e8=_0x3dbc0c,_0x1703a2={..._0x54e83b[_0x5ca596]},_0x1e776d=_0x1703a2;_0x1e776d[_0xeeb3e8(0x133)]=Object[_0xeeb3e8(0x13f)]({..._0x1e776d[_0xeeb3e8(0x133)],'config':{..._0x1e776d[_0xeeb3e8(0x133)][_0xeeb3e8(0x14e)],'capability':_0x1b1f13,'browserstackPlatformIndex':_0x45d790}}),_0x5f20ce[_0xeeb3e8(0x138)](_0x1e776d);}),_0x3e7844[_0x3dbc0c(0x138)](..._0x5f20ce);}return super['runTests'](_0x3e7844,..._0x2b968d[_0x3dbc0c(0x147)](0x1));}}module['exports']=TestRunner;
1
+ 'use strict';const a18_0x5023d7=a18_0x286c;(function(_0x1d2ed8,_0x401862){const _0x57d09a=a18_0x286c,_0x4baca5=_0x1d2ed8();while(!![]){try{const _0x4d5e9b=-parseInt(_0x57d09a(0x186))/0x1*(parseInt(_0x57d09a(0x18a))/0x2)+parseInt(_0x57d09a(0x18b))/0x3+-parseInt(_0x57d09a(0x18d))/0x4+parseInt(_0x57d09a(0x18e))/0x5+-parseInt(_0x57d09a(0x192))/0x6+-parseInt(_0x57d09a(0x177))/0x7+-parseInt(_0x57d09a(0x190))/0x8;if(_0x4d5e9b===_0x401862)break;else _0x4baca5['push'](_0x4baca5['shift']());}catch(_0x1d4744){_0x4baca5['push'](_0x4baca5['shift']());}}}(a18_0x281a,0x7c6fd));const {requireModule,isBrowserstackInfra}=require(a18_0x5023d7(0x189)),a18_0x362030={};a18_0x362030['value']=!![],Object['defineProperty'](exports,'__esModule',a18_0x362030),exports[a18_0x5023d7(0x185)]=void 0x0;function _interopRequireDefault(_0x2a2b22){const _0x57a706=a18_0x5023d7;return _0x2a2b22&&_0x2a2b22[_0x57a706(0x17f)]?_0x2a2b22:{'default':_0x2a2b22};}function a18_0x286c(_0x3a78da,_0x147dc4){const _0x281abf=a18_0x281a();return a18_0x286c=function(_0x286cdc,_0x38c47e){_0x286cdc=_0x286cdc-0x177;let _0xcfd543=_0x281abf[_0x286cdc];return _0xcfd543;},a18_0x286c(_0x3a78da,_0x147dc4);}const JestRunner=_interopRequireDefault(requireModule(a18_0x5023d7(0x179)))[a18_0x5023d7(0x185)];class TestRunner extends JestRunner{constructor(..._0x2e9c34){super(..._0x2e9c34);}[a18_0x5023d7(0x18c)](..._0x33b084){const _0x3ad053=a18_0x5023d7,_0x59e2ec={'yyydB':function(_0x1db6c0){return _0x1db6c0();},'NBzrN':function(_0x52732d,_0x5cb147){return _0x52732d-_0x5cb147;},'zGFxc':function(_0x5efa58,_0x158450){return _0x5efa58*_0x158450;},'hJvux':function(_0xe47158,_0x12646d){return _0xe47158===_0x12646d;},'VgzyF':_0x3ad053(0x17a),'wSKRL':function(_0xd320c2,_0x1b3b91){return _0xd320c2<_0x1b3b91;}};if(!_0x59e2ec[_0x3ad053(0x188)](isBrowserstackInfra))return super[_0x3ad053(0x18c)](..._0x33b084);const _0x5b9d0b=_0x33b084[0x0],_0x2d85aa=_0x33b084[_0x59e2ec['NBzrN'](_0x33b084[_0x3ad053(0x17e)],0x1)],_0x54be62=_0x5b9d0b[0x0][_0x3ad053(0x194)][_0x3ad053(0x17c)][_0x3ad053(0x181)][_0x3ad053(0x18f)],_0x2ed5a3=_0x5b9d0b[0x0][_0x3ad053(0x194)][_0x3ad053(0x17c)][_0x3ad053(0x181)]['parallels__'];_0x2ed5a3&&(this[_0x3ad053(0x180)]=Object['freeze']({...this[_0x3ad053(0x180)],'maxWorkers':_0x59e2ec['zGFxc'](_0x2ed5a3,_0x54be62[_0x3ad053(0x17e)])}));_0x59e2ec['hJvux'](_0x5b9d0b[0x0][_0x3ad053(0x194)][_0x3ad053(0x17c)][_0x3ad053(0x181)][_0x3ad053(0x17d)],_0x59e2ec[_0x3ad053(0x183)])&&(_0x2d85aa&&(_0x2d85aa[_0x3ad053(0x178)]=![]));const _0x35d098=[];for(let _0x486198=0x0;_0x59e2ec[_0x3ad053(0x187)](_0x486198,_0x5b9d0b[_0x3ad053(0x17e)]);_0x486198++){const _0x4bb929=[];_0x54be62[_0x3ad053(0x17b)]((_0x487a6f,_0x4f5b16)=>{const _0x5a61c3=_0x3ad053,_0x3f7ed0={..._0x5b9d0b[_0x486198]},_0x14f4d3=_0x3f7ed0;_0x14f4d3[_0x5a61c3(0x194)]=Object[_0x5a61c3(0x193)]({..._0x14f4d3[_0x5a61c3(0x194)],'config':{..._0x14f4d3[_0x5a61c3(0x194)][_0x5a61c3(0x17c)],'capability':_0x487a6f,'browserstackPlatformIndex':_0x4f5b16}}),_0x4bb929[_0x5a61c3(0x184)](_0x14f4d3);}),_0x35d098[_0x3ad053(0x184)](..._0x4bb929);}return super[_0x3ad053(0x18c)](_0x35d098,..._0x33b084[_0x3ad053(0x182)](0x1));}}function a18_0x281a(){const _0x3fac75=['1105304EjcWgw','3172190VFtixN','capabilities','1210384AQlNGy','exports','2271678fmQyOk','freeze','context','769811EtrvmX','serial','jest-runner','false','forEach','config','serial__','length','__esModule','_globalConfig','testEnvironmentOptions','slice','VgzyF','push','default','1765RPWNnR','wSKRL','yyydB','../../../helpers/helper','188mkHCXM','2872125IFkkvM','runTests'];a18_0x281a=function(){return _0x3fac75;};return a18_0x281a();}module[a18_0x5023d7(0x191)]=TestRunner;
@@ -1 +1 @@
1
- const a19_0x390b37=a19_0x31c6;(function(_0x3cc1de,_0x15a9d0){const _0x352940=a19_0x31c6,_0x1958ea=_0x3cc1de();while(!![]){try{const _0x48c460=parseInt(_0x352940(0x1e0))/0x1+-parseInt(_0x352940(0x199))/0x2*(-parseInt(_0x352940(0x1d3))/0x3)+-parseInt(_0x352940(0x1fb))/0x4+-parseInt(_0x352940(0x1fd))/0x5*(parseInt(_0x352940(0x191))/0x6)+parseInt(_0x352940(0x1a8))/0x7*(-parseInt(_0x352940(0x1e5))/0x8)+-parseInt(_0x352940(0x1ee))/0x9+parseInt(_0x352940(0x1a3))/0xa;if(_0x48c460===_0x15a9d0)break;else _0x1958ea['push'](_0x1958ea['shift']());}catch(_0xb0e1a){_0x1958ea['push'](_0x1958ea['shift']());}}}(a19_0x17e2,0xc0e6d));const util=require('util'),{sendPlatformDetails}=require(a19_0x390b37(0x1e1)),{isBrowserstackInfra,markSessionStatus}=require(a19_0x390b37(0x1bf));function a19_0x31c6(_0x559deb,_0x4f9351){const _0x17e274=a19_0x17e2();return a19_0x31c6=function(_0x31c699,_0x333f9c){_0x31c699=_0x31c699-0x181;let _0x3e2239=_0x17e274[_0x31c699];return _0x3e2239;},a19_0x31c6(_0x559deb,_0x4f9351);}function a19_0x17e2(){const _0x6474c4=['appium:app','currentTestName','errors','pid','agpcl','2445024cdJpew','ENV_VAR','XlsfS','PVKjK','failed','\x22}}','gBvBP','../../helpers/globals','2ZmkjjP','startMonitoring','error','percy','jstqT','getInstance','twAti','undefined','initQuit','USZHD','24039370PFXetg','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','bstackA11yShouldScan','browserstackSessionName','\x22,\x22level\x22:\x20\x22error\x22}}','49609qtGlMM','currentTest','VhJmI','getGlobal','yLCVp','FfuBw','HQbPr','yayDp','jPftu','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','ebCjN','FuMUl','qtjjm','XfTWL','__drivers','stringify','name','jFgPr','quitCount_','info','description','winstonLogger','../../helpers/percy/utils','../../helpers/helper','eOMbp','getState','WTPMB','FyPYP','executeAsyncScript','EMibf','removeAllListeners','../../helpers/accessibility-automation/helper','failedExpectations','Mfrqb','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','QtVej','NwhnM','sycLf','slice','session_','../../helpers/testhub/constants','sUsUI','shift','2358726wYeXtm','testcase','https:','message','../../helpers/accessibility-automation/scripts','app','tuZmp','fnkau','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','executeScript','xvfwh','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','./test-observability/test-details','156525GLQRfc','../../helpers/test-observability/utils','setGlobal','QuBVX','../../helpers/performance-tester','376iUOkkh','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','\x22,\x22level\x22:\x20\x22info\x22}}','.\x20Error\x20:','ENzuk','PZyqf','protocol','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','xMmfb','8883441osVyeV','env','JTuMO','percyCaptureMode','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20','NmeQn','getTestUUID','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20','log','browserStackGlobals',':testAnalyticsId','getEnv','isArray','3315748BWWPxl','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','5XkJWVh','addReporter','getCurrentUrl','isAccessibilityPlatform','join','debug','length','capabilities','JEYDn','SGgVr','QoKyH','performScan','myujh'];a19_0x17e2=function(){return _0x6474c4;};return a19_0x17e2();}let __error_messages__=[];const RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler');jest['setTimeout'](__timeout);const {isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a19_0x390b37(0x1c7)),{percyAutoCapture}=require(a19_0x390b37(0x1be)),logger=require('../../helpers/logger')[a19_0x390b37(0x1bd)],TestDetails=require(a19_0x390b37(0x1df)),PerformanceTester=require(a19_0x390b37(0x1e4)),scripts=require(a19_0x390b37(0x1d7)),globals=require(a19_0x390b37(0x198)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a19_0x390b37(0x1d0));globals[a19_0x390b37(0x1f7)]=browserStackGlobals;function stripUnicode(_0x3ebd57){const _0x196bdd=a19_0x390b37;return _0x3ebd57['replace'](/\\u001b\[.*?m/g,'')[_0x196bdd(0x1ce)](0x1,-0x1);}async function setContext(){const _0x80d0ba=a19_0x390b37,_0x552d52={'FVixX':function(_0x10137c){return _0x10137c();},'vxYeN':function(_0x1fee88,_0x2b1969){return _0x1fee88!==_0x2b1969;},'NmeQn':_0x80d0ba(0x1a0),'sycLf':function(_0x10201b,_0x274951){return _0x10201b>_0x274951;},'NwhnM':function(_0x5b1e68,_0x3729c9){return _0x5b1e68(_0x3729c9);},'CehQr':function(_0x5cdbdc,_0x3f0ca9){return _0x5cdbdc(_0x3f0ca9);},'gBvBP':function(_0x266d76,_0x55bdfa){return _0x266d76>_0x55bdfa;},'QkjxT':function(_0x472696,_0x298428){return _0x472696(_0x298428);},'itzQS':function(_0x36c6a0,_0x1e20b2){return _0x36c6a0(_0x1e20b2);}};if(!_0x552d52['FVixX'](isBrowserstackInfra))return;if(!sessionNameProvided){const _0xb5ec9e=expect[_0x80d0ba(0x1c1)]()[_0x80d0ba(0x18d)];await __drivers[0x0][_0x80d0ba(0x1dc)](_0x80d0ba(0x1de)+_0xb5ec9e+_0x80d0ba(0x196));}let _0x5f3511=null,_0x245d1d=![];_0x552d52['vxYeN'](typeof jasmine,_0x552d52[_0x80d0ba(0x1f3)])?jasmine[_0x80d0ba(0x1a9)][_0x80d0ba(0x1c8)]&&_0x552d52[_0x80d0ba(0x1cd)](jasmine[_0x80d0ba(0x1a9)]['failedExpectations']['length'],0x0)?(_0x245d1d=!![],_0x5f3511=_0x552d52[_0x80d0ba(0x1cc)](stripUnicode,JSON[_0x80d0ba(0x1b7)](jasmine[_0x80d0ba(0x1a9)][_0x80d0ba(0x1c8)][0x0]['message']))):_0x5f3511=_0x552d52['CehQr'](stripUnicode,JSON[_0x80d0ba(0x1b7)](jasmine[_0x80d0ba(0x1a9)][_0x80d0ba(0x1bc)])):testContext[_0x80d0ba(0x18e)]&&_0x552d52[_0x80d0ba(0x197)](testContext[_0x80d0ba(0x18e)][_0x80d0ba(0x185)],0x0)?(_0x245d1d=!![],_0x5f3511=_0x552d52['QkjxT'](stripUnicode,JSON['stringify'](testContext['errors'][0x0][0x0][_0x80d0ba(0x1d6)]||testContext[_0x80d0ba(0x18e)][0x0][0x0]))):_0x5f3511=_0x552d52['itzQS'](stripUnicode,JSON[_0x80d0ba(0x1b7)](testContext[_0x80d0ba(0x1b8)])),_0x245d1d?(__error_messages__['push'](_0x5f3511),await __drivers[0x0][_0x80d0ba(0x1dc)](_0x80d0ba(0x1f5)+_0x5f3511+_0x80d0ba(0x1a7))):await __drivers[0x0][_0x80d0ba(0x1dc)](_0x80d0ba(0x1f2)+_0x5f3511+_0x80d0ba(0x1e7));}const executeAnnotate=async(_0xbd4e92,_0x1db95b)=>{const _0x538810=a19_0x390b37;await global[_0x538810(0x1b6)][0x0][_0x538810(0x1dc)](_0x538810(0x1a4)+_0xbd4e92+',\x22level\x22:\x20\x22'+_0x1db95b+_0x538810(0x196));};async function driverCleanup(){const _0xe1cb6d=a19_0x390b37,_0x4f4254={'SGgVr':function(_0x48d545){return _0x48d545();},'RIBiI':function(_0x33c943,_0x3b3d4b){return _0x33c943>_0x3b3d4b;},'XfTWL':function(_0x4eac0d,_0x169c26,_0x1111ec,_0x3513d1){return _0x4eac0d(_0x169c26,_0x1111ec,_0x3513d1);},'XlsfS':_0xe1cb6d(0x195),'EMibf':'\x20|\x20','JEYDn':function(_0x558d68,_0x46272c,_0xb138c6){return _0x558d68(_0x46272c,_0xb138c6);},'myujh':'passed'};if(!_0x4f4254[_0xe1cb6d(0x188)](isBrowserstackInfra))return;let _0x4c8c9b=![];try{await __drivers[0x0][_0xe1cb6d(0x1cf)],_0x4c8c9b=!![],_0x4f4254['RIBiI'](__error_messages__['length'],0x0)?await _0x4f4254[_0xe1cb6d(0x1b5)](markSessionStatus,__drivers[0x0],_0x4f4254[_0xe1cb6d(0x193)],__error_messages__[_0xe1cb6d(0x183)](_0x4f4254[_0xe1cb6d(0x1c5)])):await _0x4f4254[_0xe1cb6d(0x187)](markSessionStatus,__drivers[0x0],_0x4f4254[_0xe1cb6d(0x18b)]);}catch(_0x1f0a7d){console[_0xe1cb6d(0x1f6)](_0x1f0a7d);}__error_messages__=[];if(_0x4c8c9b)try{await __drivers[0x0][_0xe1cb6d(0x1a1)]();}catch(_0x55f449){console['log'](_0x55f449);}}beforeAll(async()=>{const _0x99566a=a19_0x390b37,_0x581372={'EOUCq':function(_0x1fb593,_0x4bef28){return _0x1fb593!==_0x4bef28;},'ENzuk':_0x99566a(0x1a0),'agpcl':function(_0x133830){return _0x133830();},'twAti':function(_0x3c4839,_0x320ea0,_0xc80f6c){return _0x3c4839(_0x320ea0,_0xc80f6c);}};PerformanceTester[_0x99566a(0x19a)]();const _0x4c6db5='browserstack internal helper hook';_0x581372['EOUCq'](typeof jasmine,_0x581372[_0x99566a(0x1e9)])&&jasmine[_0x99566a(0x1f9)]()[_0x99566a(0x1fe)]({'specStarted':_0x2de4a9=>{const _0x1fa6e0=_0x99566a;jasmine[_0x1fa6e0(0x1a9)]=_0x2de4a9;}});let _0x49c099=![];try{await __drivers[0x0][_0x99566a(0x1cf)],_0x49c099=!![];}catch(_0x3d2a47){}if(_0x49c099)try{try{_0x581372[_0x99566a(0x190)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x581372[_0x99566a(0x19f)](sendPlatformDetails,global['__drivers'][0x0],TestDetails[_0x99566a(0x1f4)](process[_0x99566a(0x18f)]+_0x99566a(0x1f8))));}catch{}}catch(_0x53738a){}}),beforeEach(async()=>{const _0x1938bd=a19_0x390b37,_0x57ce3a={'QuBVX':function(_0x35f7f3,_0x3ad970){return _0x35f7f3>_0x3ad970;},'FyPYP':function(_0x3212fe){return _0x3212fe();},'xvfwh':function(_0x46f32c,_0x20271a,_0x5e84f8){return _0x46f32c(_0x20271a,_0x5e84f8);},'sUsUI':_0x1938bd(0x1a5),'yLCVp':_0x1938bd(0x182),'VhJmI':function(_0x42a596,_0x225c5f){return _0x42a596===_0x225c5f;},'USZHD':'http:','jMSxn':function(_0x37af61,_0xba193b){return _0x37af61===_0xba193b;},'PZyqf':_0x1938bd(0x1d5),'cHCmU':_0x1938bd(0x1fc)},_0x2552f9='browserstack internal helper hook';try{_0x57ce3a[_0x1938bd(0x1e3)](__drivers[_0x1938bd(0x185)],0x1)&&(await _0x57ce3a[_0x1938bd(0x1c3)](driverCleanup),__drivers[_0x1938bd(0x1d2)]());const _0x4c4322=expect['getState']()[_0x1938bd(0x18d)];try{Array[_0x1938bd(0x1fa)](__drivers)&&__drivers[0x0]&&(__drivers[0x0][_0x1938bd(0x1a6)]=_0x4c4322),global[_0x1938bd(0x1a6)]=_0x4c4322;}catch(_0x28d739){logger[_0x1938bd(0x184)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x28d739);}__drivers[0x0][_0x1938bd(0x1a6)]=_0x4c4322;_0x57ce3a[_0x1938bd(0x1e3)](__drivers[0x0][_0x1938bd(0x1ba)],0x0)&&await _0x57ce3a[_0x1938bd(0x1c3)](driverCleanup);const _0x5da8c8=_0x57ce3a[_0x1938bd(0x1dd)](shouldScanTestForAccessibility,_0x4c4322,![]);__drivers[0x0][_0x1938bd(0x1a5)]=_0x5da8c8,globals[_0x1938bd(0x1e2)](_0x57ce3a[_0x1938bd(0x1d1)],_0x5da8c8);if(_0x57ce3a[_0x1938bd(0x1c3)](isAccessibilityAutomationSession)&&globals[_0x1938bd(0x1ab)](_0x57ce3a[_0x1938bd(0x1ac)]))try{const _0x5de1df=await __drivers[0x0][_0x1938bd(0x1cf)];if(_0x5de1df){let _0xd31772=!![];const _0x1667fd=await __drivers[0x0][_0x1938bd(0x181)]();let _0x3b4d19;try{_0x3b4d19=new URL(_0x1667fd);}catch(_0x38869b){_0xd31772=![];}_0xd31772=_0x57ce3a[_0x1938bd(0x1aa)](_0x3b4d19['protocol'],_0x57ce3a[_0x1938bd(0x1a2)])||_0x57ce3a['jMSxn'](_0x3b4d19[_0x1938bd(0x1eb)],_0x57ce3a[_0x1938bd(0x1ea)]),_0xd31772&&(_0x5da8c8&&logger[_0x1938bd(0x1bb)](_0x57ce3a['cHCmU']));}}catch(_0x295145){logger[_0x1938bd(0x19b)](_0x1938bd(0x1e6)+_0x295145);}_0x57ce3a[_0x1938bd(0x1e3)](__drivers[0x0][_0x1938bd(0x1ba)],0x0)&&await _0x57ce3a[_0x1938bd(0x1c3)](driverCleanup);}catch{}}),afterEach(async()=>{const _0x423f79=a19_0x390b37,_0x1e34a4={'tuZmp':function(_0x539cb4,_0x325fbd){return _0x539cb4>_0x325fbd;},'eOMbp':function(_0x4ddbdf){return _0x4ddbdf();},'JzJvf':function(_0x594966,_0x43d348){return _0x594966===_0x43d348;},'jPftu':_0x423f79(0x1d4),'EfyPw':_0x423f79(0x18c),'Mfrqb':function(_0x28a7b2,_0x175960,_0xbac058,_0x4406fa){return _0x28a7b2(_0x175960,_0xbac058,_0x4406fa);},'xMmfb':function(_0x552d95,_0x1ee9a6,_0x23db03){return _0x552d95(_0x1ee9a6,_0x23db03);},'FuMUl':function(_0x2a9dda){return _0x2a9dda();},'FfuBw':_0x423f79(0x182),'wCnTk':_0x423f79(0x1a5),'yayDp':_0x423f79(0x1b1),'QoKyH':'Performing\x20scan\x20before\x20saving\x20results','fnkau':_0x423f79(0x1ec),'ebCjN':function(_0x4def4e){return _0x4def4e();},'jstqT':function(_0x1de822,_0x2344ac,_0x1f59cc){return _0x1de822(_0x2344ac,_0x1f59cc);},'qtjjm':_0x423f79(0x184),'QtVej':function(_0x17513d){return _0x17513d();}},_0x31fa51='browserstack internal helper hook';try{_0x1e34a4[_0x423f79(0x1d9)](__drivers[_0x423f79(0x185)],0x1)&&(await _0x1e34a4[_0x423f79(0x1c0)](driverCleanup),__drivers[_0x423f79(0x1d2)]());try{if(global[_0x423f79(0x19c)]&&_0x1e34a4['JzJvf'](global[_0x423f79(0x1f1)],_0x1e34a4[_0x423f79(0x1b0)])&&__drivers[0x0]){const _0x5cce02=_0x1e34a4['tuZmp'](global[_0x423f79(0x186)]['length'],0x0)?!!global['capabilities'][0x0][_0x423f79(0x1d8)]||!!global[_0x423f79(0x186)][0x0][_0x1e34a4['EfyPw']]:![],_0x1aae61={};_0x1aae61[_0x423f79(0x1d8)]=_0x5cce02,await _0x1e34a4[_0x423f79(0x1c9)](percyAutoCapture,__drivers[0x0],_0x1e34a4[_0x423f79(0x1b0)],_0x1aae61);}}catch(_0x14b55e){}const _0x302277=_0x1e34a4[_0x423f79(0x1ed)](shouldScanTestForAccessibility,expect[_0x423f79(0x1c1)]()[_0x423f79(0x18d)],![]);try{if(_0x1e34a4[_0x423f79(0x1b3)](isAccessibilityAutomationSession)&&globals[_0x423f79(0x1ab)](_0x1e34a4[_0x423f79(0x1ad)])&&globals[_0x423f79(0x1ab)](_0x1e34a4['wCnTk'])){logger[_0x423f79(0x1bb)](_0x1e34a4[_0x423f79(0x1af)]);const _0x2fd900={'thTestRunUuid':TestDetails[_0x423f79(0x1f4)](process[_0x423f79(0x18f)]+_0x423f79(0x1f8)),'thBuildUuid':process['env'][testHubConstants[_0x423f79(0x192)]['BROWSERSTACK_TESTHUB_UUID']],'thJwtToken':process[_0x423f79(0x1ef)][testHubConstants[_0x423f79(0x192)]['BROWSERSTACK_TESTHUB_JWT']]};logger['debug'](_0x423f79(0x1ca)+JSON[_0x423f79(0x1b7)](_0x2fd900)),logger['debug'](_0x1e34a4[_0x423f79(0x189)]),logger[_0x423f79(0x184)](util['format'](await __drivers[0x0][_0x423f79(0x1c4)](scripts[_0x423f79(0x18a)],{'method':expect[_0x423f79(0x1c1)]()[_0x423f79(0x18d)]}))),await __drivers[0x0][_0x423f79(0x1c4)](scripts['saveTestResults'],_0x2fd900),logger[_0x423f79(0x1bb)](_0x1e34a4[_0x423f79(0x1da)]);}}catch(_0x4bc96c){logger[_0x423f79(0x19b)](_0x423f79(0x1db)+expect[_0x423f79(0x1c1)]()[_0x423f79(0x18d)]+_0x423f79(0x1e8),_0x4bc96c);}await _0x1e34a4['eOMbp'](setContext);try{if(_0x1e34a4[_0x423f79(0x1b2)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x1e34a4[_0x423f79(0x19d)](sendPlatformDetails,global['__drivers'][0x0],TestDetails[_0x423f79(0x1f4)](process[_0x423f79(0x18f)]+_0x423f79(0x1f8)));if(_0x1e34a4['FuMUl'](isBrowserstackInfra)){const _0x1e6c99='ObservabilitySync:'+Date['now']();await _0x1e34a4[_0x423f79(0x1ed)](executeAnnotate,JSON[_0x423f79(0x1b7)](_0x1e6c99),_0x1e34a4[_0x423f79(0x1b4)]);}}}catch(_0x4308a3){}_0x1e34a4['tuZmp'](__drivers[0x0][_0x423f79(0x1ba)],0x0)&&await _0x1e34a4[_0x423f79(0x1cb)](driverCleanup);}catch{}},0x186a0),afterAll(async()=>{const _0x109178=a19_0x390b37,_0x8df1fc={'WTPMB':function(_0xfbc6a7,_0x54c557){return _0xfbc6a7<=_0x54c557;},'wPYaq':function(_0x10b487,_0x4cf2f2){return _0x10b487(_0x4cf2f2);},'jFgPr':function(_0x11139d){return _0x11139d();},'HQbPr':function(_0x42d503,_0x5dd49b,_0x2410b0){return _0x42d503(_0x5dd49b,_0x2410b0);},'LNWZT':function(_0x59bd22){return _0x59bd22();}};jest['setTimeout'](0x186a0),PerformanceTester['pushPerfMeasures']();const _0x2e08d3='browserstack internal helper hook';await new Promise(_0xba47b1=>{const _0x84d370=a19_0x31c6,_0x4fb29d={'JTuMO':function(_0x2c15bb,_0x2d5b01){const _0x3acd41=a19_0x31c6;return _0x8df1fc[_0x3acd41(0x1c2)](_0x2c15bb,_0x2d5b01);},'PVKjK':function(_0x17563d,_0x387416){return _0x8df1fc['wPYaq'](_0x17563d,_0x387416);},'xDkKq':function(_0x2da2eb){const _0x48cc96=a19_0x31c6;return _0x8df1fc[_0x48cc96(0x1b9)](_0x2da2eb);}},_0x376b53=_0x8df1fc[_0x84d370(0x1ae)](setInterval,async()=>{const _0x5c1b4e=_0x84d370;_0x4fb29d[_0x5c1b4e(0x1f0)](RequestQueueHandler[_0x5c1b4e(0x19e)]()['pendingUploads'],0x0)&&(_0x4fb29d[_0x5c1b4e(0x194)](clearInterval,_0x376b53),_0x4fb29d['xDkKq'](_0xba47b1));},0x3e8);});try{await _0x8df1fc['LNWZT'](driverCleanup);}catch(_0x256496){}process[_0x109178(0x1c6)]();},0x2710);
1
+ function a19_0x1fdc(_0x4d726f,_0x1b0f12){const _0xbb328=a19_0xbb32();return a19_0x1fdc=function(_0x1fdcee,_0x34cec3){_0x1fdcee=_0x1fdcee-0xfa;let _0x10ab71=_0xbb328[_0x1fdcee];return _0x10ab71;},a19_0x1fdc(_0x4d726f,_0x1b0f12);}const a19_0x419476=a19_0x1fdc;(function(_0x44d5f5,_0x5dba55){const _0x5b3a7e=a19_0x1fdc,_0x5604a7=_0x44d5f5();while(!![]){try{const _0x425a1e=parseInt(_0x5b3a7e(0x13a))/0x1*(parseInt(_0x5b3a7e(0x15b))/0x2)+parseInt(_0x5b3a7e(0x117))/0x3+-parseInt(_0x5b3a7e(0x128))/0x4+parseInt(_0x5b3a7e(0x168))/0x5*(parseInt(_0x5b3a7e(0x175))/0x6)+-parseInt(_0x5b3a7e(0x10f))/0x7+-parseInt(_0x5b3a7e(0x16e))/0x8*(parseInt(_0x5b3a7e(0x134))/0x9)+parseInt(_0x5b3a7e(0x173))/0xa;if(_0x425a1e===_0x5dba55)break;else _0x5604a7['push'](_0x5604a7['shift']());}catch(_0x5a6248){_0x5604a7['push'](_0x5604a7['shift']());}}}(a19_0xbb32,0xb79aa));const util=require('util'),{sendPlatformDetails}=require(a19_0x419476(0x12c)),{isBrowserstackInfra,markSessionStatus}=require(a19_0x419476(0x15f));let __error_messages__=[];const RequestQueueHandler=require(a19_0x419476(0x131));jest[a19_0x419476(0x17f)](__timeout);function a19_0xbb32(){const _0x4ae9dd=['sTpZG','env','../../helpers/test-observability/utils','testcase','ULWbR','stringify','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','../../helpers/test-observability/requestQueueHandler','../../helpers/testhub/constants','iXodR','4794597zFvGSM','\x22,\x22level\x22:\x20\x22info\x22}}','../../helpers/logger','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','ObservabilitySync:','currentTestName','24mpTHft',':testAnalyticsId','executeAsyncScript','length','quitCount_','yHqDs','join','getTestUUID','isArray','veVhn','getCurrentUrl','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20','protocol','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','description','eAmjy','DbJGu','isAccessibilityPlatform','failed','currentTest','capabilities','\x22,\x22level\x22:\x20\x22error\x22}}','PYIqL','getGlobal','slice','OBdLT','SJGHk','../../helpers/testhub/utils','startMonitoring','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20','percy','performScan','97414cBiKCx','__drivers','lllRv','Qfgdv','../../helpers/helper','ThswQ','http:','hbgAv','JFgld','errors','\x20|\x20','../../helpers/percy/utils','jCgiw','102050AJLOXe','bstackA11yShouldScan','Failed\x20to\x20store\x20session\x20name:\x20','addReporter','UIHPz','passed','8BXbPys','MtyuO','browserStackGlobals','dFGKC','../../helpers/performance-tester','3756890ceFVah','ENV_VAR','36wYENPq','Performing\x20scan\x20before\x20saving\x20results','now','yRrLq','../../helpers/accessibility-automation/scripts','ObdRA','jhEtW','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','XWosM','DBpNS','setTimeout','initQuit','Hnkpi','app','pushPerfMeasures','shift','dZvEI','FyXRp','GlnWF','iDLlk','log','debug','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','XxNCC','error','message',',\x22level\x22:\x20\x22','replace','getInstance','failedExpectations','\x22}}','pid','WSnnX','1313060rzYMjB','GgSwH','ruPxl','browserstackSessionName','ZQAZp','getState','session_','PZvan','1270530jNaKBO','jSILu','push','BROWSERSTACK_TESTHUB_UUID','CrJGh','uIDbX','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','appium:app','TOfHN','BROWSERSTACK_TESTHUB_JWT','wOrLm','../../helpers/globals','executeScript','winstonLogger','undefined','URgkf','oiCeV','2473088vSEsFH','info'];a19_0xbb32=function(){return _0x4ae9dd;};return a19_0xbb32();}const {isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a19_0x419476(0x166)),logger=require(a19_0x419476(0x136))[a19_0x419476(0x124)],TestDetails=require('./test-observability/test-details'),PerformanceTester=require(a19_0x419476(0x172)),scripts=require(a19_0x419476(0x179)),globals=require(a19_0x419476(0x122)),{shouldProcessEventForTesthub}=require(a19_0x419476(0x156)),testHubConstants=require(a19_0x419476(0x132));globals[a19_0x419476(0x170)]=browserStackGlobals;function stripUnicode(_0x3de37f){const _0xa835c3=a19_0x419476;return _0x3de37f[_0xa835c3(0x109)](/\\u001b\[.*?m/g,'')[_0xa835c3(0x153)](0x1,-0x1);}async function setContext(){const _0x30dc12=a19_0x419476,_0x395091={'ZQAZp':function(_0x251e7f){return _0x251e7f();},'UIHPz':function(_0x2c83fa,_0x45143f){return _0x2c83fa!==_0x45143f;},'wOrLm':_0x30dc12(0x125),'MtyuO':function(_0x36203a,_0x3bd2cf){return _0x36203a>_0x3bd2cf;},'TOfHN':function(_0x5be242,_0x192172){return _0x5be242(_0x192172);},'zHhqD':function(_0x596918,_0x394643){return _0x596918(_0x394643);}};if(!_0x395091[_0x30dc12(0x113)](isBrowserstackInfra))return;if(!sessionNameProvided){const _0x865b40=expect[_0x30dc12(0x114)]()['currentTestName'];await __drivers[0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x865b40+_0x30dc12(0x10c));}let _0x18c298=null,_0xffff71=![];_0x395091[_0x30dc12(0x16c)](typeof jasmine,_0x395091[_0x30dc12(0x121)])?jasmine[_0x30dc12(0x14e)][_0x30dc12(0x10b)]&&_0x395091[_0x30dc12(0x16f)](jasmine[_0x30dc12(0x14e)][_0x30dc12(0x10b)][_0x30dc12(0x13d)],0x0)?(_0xffff71=!![],_0x18c298=_0x395091[_0x30dc12(0x11f)](stripUnicode,JSON['stringify'](jasmine[_0x30dc12(0x14e)]['failedExpectations'][0x0]['message']))):_0x18c298=_0x395091['TOfHN'](stripUnicode,JSON['stringify'](jasmine[_0x30dc12(0x14e)][_0x30dc12(0x149)])):testContext['errors']&&_0x395091[_0x30dc12(0x16f)](testContext[_0x30dc12(0x164)][_0x30dc12(0x13d)],0x0)?(_0xffff71=!![],_0x18c298=_0x395091[_0x30dc12(0x11f)](stripUnicode,JSON[_0x30dc12(0x12f)](testContext[_0x30dc12(0x164)][0x0][0x0][_0x30dc12(0x107)]||testContext['errors'][0x0][0x0]))):_0x18c298=_0x395091['zHhqD'](stripUnicode,JSON[_0x30dc12(0x12f)](testContext['name'])),_0xffff71?(__error_messages__[_0x30dc12(0x119)](_0x18c298),await __drivers[0x0][_0x30dc12(0x123)](_0x30dc12(0x145)+_0x18c298+_0x30dc12(0x150))):await __drivers[0x0][_0x30dc12(0x123)](_0x30dc12(0x158)+_0x18c298+_0x30dc12(0x135));}const executeAnnotate=async(_0x31b56a,_0x3ee08a)=>{const _0x4b5d8c=a19_0x419476;await global['__drivers'][0x0][_0x4b5d8c(0x123)](_0x4b5d8c(0x147)+_0x31b56a+_0x4b5d8c(0x108)+_0x3ee08a+_0x4b5d8c(0x10c));};async function driverCleanup(){const _0x1b27d8=a19_0x419476,_0x5ab35a={'IZVCt':function(_0x4f1b88){return _0x4f1b88();},'jSILu':function(_0x23d9a6,_0xb9f54a){return _0x23d9a6>_0xb9f54a;},'rcSFw':function(_0x3ac066,_0x5e734c,_0xd58d3c,_0x5d6352){return _0x3ac066(_0x5e734c,_0xd58d3c,_0x5d6352);},'qgWWD':_0x1b27d8(0x14d),'lllRv':_0x1b27d8(0x165),'yRrLq':function(_0x331249,_0x59a5ef,_0xbd1d6){return _0x331249(_0x59a5ef,_0xbd1d6);},'SJGHk':_0x1b27d8(0x16d)};if(!_0x5ab35a['IZVCt'](isBrowserstackInfra))return;let _0x494c9a=![];try{await __drivers[0x0][_0x1b27d8(0x115)],_0x494c9a=!![],_0x5ab35a[_0x1b27d8(0x118)](__error_messages__[_0x1b27d8(0x13d)],0x0)?await _0x5ab35a['rcSFw'](markSessionStatus,__drivers[0x0],_0x5ab35a['qgWWD'],__error_messages__[_0x1b27d8(0x140)](_0x5ab35a[_0x1b27d8(0x15d)])):await _0x5ab35a[_0x1b27d8(0x178)](markSessionStatus,__drivers[0x0],_0x5ab35a[_0x1b27d8(0x155)]);}catch(_0x1accb4){console[_0x1b27d8(0x102)](_0x1accb4);}__error_messages__=[];if(_0x494c9a)try{await __drivers[0x0][_0x1b27d8(0x180)]();}catch(_0x28e5b2){console['log'](_0x28e5b2);}}beforeAll(async()=>{const _0xc0dc3f=a19_0x419476,_0x3f01b7={'zocvw':function(_0x2de400,_0x5ea1bb){return _0x2de400!==_0x5ea1bb;},'WSnnX':_0xc0dc3f(0x125),'KZHXK':function(_0xcd7b1){return _0xcd7b1();},'JFgld':function(_0x366b98,_0xc12ae3,_0x301ccd){return _0x366b98(_0xc12ae3,_0x301ccd);}};PerformanceTester[_0xc0dc3f(0x157)]();const _0x1d381e='browserstack internal helper hook';_0x3f01b7['zocvw'](typeof jasmine,_0x3f01b7[_0xc0dc3f(0x10e)])&&jasmine['getEnv']()[_0xc0dc3f(0x16b)]({'specStarted':_0x457ebc=>{const _0x59d5a2=_0xc0dc3f;jasmine[_0x59d5a2(0x14e)]=_0x457ebc;}});let _0x465cc0=![];try{await __drivers[0x0][_0xc0dc3f(0x115)],_0x465cc0=!![];}catch(_0x1f4981){}if(_0x465cc0)try{try{_0x3f01b7['KZHXK'](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x3f01b7[_0xc0dc3f(0x163)](sendPlatformDetails,global[_0xc0dc3f(0x15c)][0x0],TestDetails[_0xc0dc3f(0x141)](process[_0xc0dc3f(0x10d)]+_0xc0dc3f(0x13b))));}catch{}}catch(_0x5680a6){}}),beforeEach(async()=>{const _0x175a9b=a19_0x419476,_0xfe92bb={'UyYEW':function(_0xbec4f8,_0x555949){return _0xbec4f8>_0x555949;},'PYIqL':function(_0xab9b1d){return _0xab9b1d();},'GgSwH':function(_0xddb336,_0x17dfeb){return _0xddb336>_0x17dfeb;},'OBdLT':function(_0x3a58d7){return _0x3a58d7();},'DbJGu':function(_0x145bfa,_0x2fd944,_0x2214db){return _0x145bfa(_0x2fd944,_0x2214db);},'PZvan':_0x175a9b(0x169),'ThswQ':function(_0x39cfc3){return _0x39cfc3();},'GlnWF':_0x175a9b(0x14c),'uSwuS':function(_0x4cdb95,_0x1c933a){return _0x4cdb95===_0x1c933a;},'dFGKC':_0x175a9b(0x161),'ObdRA':function(_0x12c205,_0x158e06){return _0x12c205===_0x158e06;},'ULWbR':'https:','Qfgdv':_0x175a9b(0x11d),'DfTpe':function(_0x1d22c6,_0x29059d){return _0x1d22c6>_0x29059d;},'hbgAv':function(_0x2f598b){return _0x2f598b();}},_0x12f596='browserstack internal helper hook';try{_0xfe92bb['UyYEW'](__drivers[_0x175a9b(0x13d)],0x1)&&(await _0xfe92bb[_0x175a9b(0x151)](driverCleanup),__drivers[_0x175a9b(0xfd)]());const _0x2c8dd7=expect[_0x175a9b(0x114)]()[_0x175a9b(0x139)];try{Array[_0x175a9b(0x142)](__drivers)&&__drivers[0x0]&&(__drivers[0x0][_0x175a9b(0x112)]=_0x2c8dd7),global['browserstackSessionName']=_0x2c8dd7;}catch(_0x46bb1a){logger[_0x175a9b(0x103)](_0x175a9b(0x16a)+_0x46bb1a);}__drivers[0x0][_0x175a9b(0x112)]=_0x2c8dd7;_0xfe92bb[_0x175a9b(0x110)](__drivers[0x0][_0x175a9b(0x13e)],0x0)&&await _0xfe92bb[_0x175a9b(0x154)](driverCleanup);const _0x28fe68=_0xfe92bb[_0x175a9b(0x14b)](shouldScanTestForAccessibility,_0x2c8dd7,![]);__drivers[0x0][_0x175a9b(0x169)]=_0x28fe68,globals['setGlobal'](_0xfe92bb[_0x175a9b(0x116)],_0x28fe68);if(_0xfe92bb[_0x175a9b(0x160)](isAccessibilityAutomationSession)&&globals[_0x175a9b(0x152)](_0xfe92bb[_0x175a9b(0x100)]))try{const _0x413d96=await __drivers[0x0]['session_'];if(_0x413d96){let _0x1fa0ed=!![];const _0x349350=await __drivers[0x0][_0x175a9b(0x144)]();let _0x4ae09b;try{_0x4ae09b=new URL(_0x349350);}catch(_0x4315e0){_0x1fa0ed=![];}_0x1fa0ed=_0xfe92bb['uSwuS'](_0x4ae09b['protocol'],_0xfe92bb[_0x175a9b(0x171)])||_0xfe92bb[_0x175a9b(0x17a)](_0x4ae09b[_0x175a9b(0x146)],_0xfe92bb[_0x175a9b(0x12e)]),_0x1fa0ed&&(_0x28fe68&&logger[_0x175a9b(0x129)](_0xfe92bb[_0x175a9b(0x15e)]));}}catch(_0x3e3168){logger[_0x175a9b(0x106)](_0x175a9b(0x104)+_0x3e3168);}_0xfe92bb['DfTpe'](__drivers[0x0][_0x175a9b(0x13e)],0x0)&&await _0xfe92bb[_0x175a9b(0x162)](driverCleanup);}catch{}}),afterEach(async()=>{const _0x5f04c3=a19_0x419476,_0x5eabd0={'dZvEI':function(_0x59fc62,_0x136056){return _0x59fc62>_0x136056;},'oiCeV':function(_0x5c7583){return _0x5c7583();},'XWosM':function(_0x36f723,_0x4a7d7a){return _0x36f723===_0x4a7d7a;},'iXodR':_0x5f04c3(0x12d),'jhEtW':_0x5f04c3(0x11e),'gQrPB':function(_0x2ae549,_0x1c8ef7,_0x51d3de,_0x5851ee){return _0x2ae549(_0x1c8ef7,_0x51d3de,_0x5851ee);},'veVhn':function(_0x2d0429,_0x51ae20,_0x22b054){return _0x2d0429(_0x51ae20,_0x22b054);},'RlTpR':function(_0x5ca12d){return _0x5ca12d();},'FyXRp':_0x5f04c3(0x14c),'jCgiw':_0x5f04c3(0x169),'yHqDs':_0x5f04c3(0x137),'ruPxl':_0x5f04c3(0x176),'iDLlk':_0x5f04c3(0x148),'Hnkpi':function(_0x5466b6){return _0x5466b6();},'CrJGh':_0x5f04c3(0x103),'eAmjy':function(_0x8e382d){return _0x8e382d();}},_0x4a6246='browserstack internal helper hook';try{_0x5eabd0['dZvEI'](__drivers[_0x5f04c3(0x13d)],0x1)&&(await _0x5eabd0['oiCeV'](driverCleanup),__drivers[_0x5f04c3(0xfd)]());try{if(global[_0x5f04c3(0x159)]&&_0x5eabd0[_0x5f04c3(0x17d)](global['percyCaptureMode'],_0x5eabd0['iXodR'])&&__drivers[0x0]){const _0x5c39d6=_0x5eabd0[_0x5f04c3(0xfe)](global[_0x5f04c3(0x14f)]['length'],0x0)?!!global[_0x5f04c3(0x14f)][0x0][_0x5f04c3(0xfb)]||!!global['capabilities'][0x0][_0x5eabd0[_0x5f04c3(0x17b)]]:![],_0x4cdcd0={};_0x4cdcd0[_0x5f04c3(0xfb)]=_0x5c39d6,await _0x5eabd0['gQrPB'](percyAutoCapture,__drivers[0x0],_0x5eabd0[_0x5f04c3(0x133)],_0x4cdcd0);}}catch(_0x189266){}const _0x306865=_0x5eabd0['veVhn'](shouldScanTestForAccessibility,expect['getState']()['currentTestName'],![]);try{if(_0x5eabd0['RlTpR'](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x5eabd0[_0x5f04c3(0xff)])&&globals[_0x5f04c3(0x152)](_0x5eabd0[_0x5f04c3(0x167)])){logger[_0x5f04c3(0x129)](_0x5eabd0[_0x5f04c3(0x13f)]);const _0x5de368={'thTestRunUuid':TestDetails[_0x5f04c3(0x141)](process[_0x5f04c3(0x10d)]+_0x5f04c3(0x13b)),'thBuildUuid':process[_0x5f04c3(0x12b)][testHubConstants['ENV_VAR'][_0x5f04c3(0x11a)]],'thJwtToken':process[_0x5f04c3(0x12b)][testHubConstants[_0x5f04c3(0x174)][_0x5f04c3(0x120)]]};logger[_0x5f04c3(0x103)](_0x5f04c3(0x130)+JSON[_0x5f04c3(0x12f)](_0x5de368)),logger[_0x5f04c3(0x103)](_0x5eabd0[_0x5f04c3(0x111)]),logger[_0x5f04c3(0x103)](util['format'](await __drivers[0x0]['executeAsyncScript'](scripts[_0x5f04c3(0x15a)],{'method':expect[_0x5f04c3(0x114)]()[_0x5f04c3(0x139)]}))),await __drivers[0x0][_0x5f04c3(0x13c)](scripts['saveTestResults'],_0x5de368),logger[_0x5f04c3(0x129)](_0x5eabd0[_0x5f04c3(0x101)]);}}catch(_0x347422){logger[_0x5f04c3(0x106)](_0x5f04c3(0x17c)+expect[_0x5f04c3(0x114)]()[_0x5f04c3(0x139)]+'.\x20Error\x20:',_0x347422);}await _0x5eabd0[_0x5f04c3(0xfa)](setContext);try{if(_0x5eabd0[_0x5f04c3(0x127)](shouldProcessEventForTesthub)){global[_0x5f04c3(0x15c)][0x0]&&await _0x5eabd0['veVhn'](sendPlatformDetails,global['__drivers'][0x0],TestDetails[_0x5f04c3(0x141)](process[_0x5f04c3(0x10d)]+_0x5f04c3(0x13b)));if(_0x5eabd0[_0x5f04c3(0xfa)](isBrowserstackInfra)){const _0x1b6862=_0x5f04c3(0x138)+Date[_0x5f04c3(0x177)]();await _0x5eabd0[_0x5f04c3(0x143)](executeAnnotate,JSON[_0x5f04c3(0x12f)](_0x1b6862),_0x5eabd0[_0x5f04c3(0x11b)]);}}}catch(_0x47f13a){}_0x5eabd0[_0x5f04c3(0xfe)](__drivers[0x0]['quitCount_'],0x0)&&await _0x5eabd0[_0x5f04c3(0x14a)](driverCleanup);}catch{}},0x186a0),afterAll(async()=>{const _0x1d8ed5=a19_0x419476,_0x569c19={'sTpZG':function(_0x10f63d,_0x2e3674){return _0x10f63d<=_0x2e3674;},'DBpNS':function(_0x67e0ee,_0x4e7105){return _0x67e0ee(_0x4e7105);},'uIDbX':function(_0x21488c){return _0x21488c();},'XxNCC':function(_0x1d44ae,_0x3e00ab,_0x1f5611){return _0x1d44ae(_0x3e00ab,_0x1f5611);},'URgkf':function(_0x5247fa){return _0x5247fa();}};jest[_0x1d8ed5(0x17f)](0x186a0),PerformanceTester[_0x1d8ed5(0xfc)]();const _0x2ea023='browserstack internal helper hook';await new Promise(_0x6cd481=>{const _0x4c62c0=_0x1d8ed5,_0x72c270=_0x569c19[_0x4c62c0(0x105)](setInterval,async()=>{const _0x4a197b=_0x4c62c0;_0x569c19[_0x4a197b(0x12a)](RequestQueueHandler[_0x4a197b(0x10a)]()['pendingUploads'],0x0)&&(_0x569c19[_0x4a197b(0x17e)](clearInterval,_0x72c270),_0x569c19[_0x4a197b(0x11c)](_0x6cd481));},0x3e8);});try{await _0x569c19[_0x1d8ed5(0x126)](driverCleanup);}catch(_0x5c25a5){}process['removeAllListeners']();},0x2710);
@@ -1 +1 @@
1
- const a20_0x260a11=a20_0x3606;(function(_0x1801c2,_0x31ad45){const _0x45e5bf=a20_0x3606,_0x48262e=_0x1801c2();while(!![]){try{const _0x454226=parseInt(_0x45e5bf(0x11a))/0x1*(-parseInt(_0x45e5bf(0x114))/0x2)+-parseInt(_0x45e5bf(0x117))/0x3*(-parseInt(_0x45e5bf(0x11b))/0x4)+parseInt(_0x45e5bf(0x116))/0x5*(-parseInt(_0x45e5bf(0x115))/0x6)+parseInt(_0x45e5bf(0x11c))/0x7+parseInt(_0x45e5bf(0x10f))/0x8*(-parseInt(_0x45e5bf(0x113))/0x9)+-parseInt(_0x45e5bf(0x118))/0xa*(parseInt(_0x45e5bf(0x10e))/0xb)+parseInt(_0x45e5bf(0x111))/0xc;if(_0x454226===_0x31ad45)break;else _0x48262e['push'](_0x48262e['shift']());}catch(_0x1e8510){_0x48262e['push'](_0x48262e['shift']());}}}(a20_0x161f,0xaaeb8));const requestSpy=require(a20_0x260a11(0x112)),{addRequestSpy}=require(a20_0x260a11(0x110));function a20_0x3606(_0x355ce5,_0x3904a9){const _0x161fd0=a20_0x161f();return a20_0x3606=function(_0x360668,_0x3f22ee){_0x360668=_0x360668-0x10e;let _0x2fa5b3=_0x161fd0[_0x360668];return _0x2fa5b3;},a20_0x3606(_0x355ce5,_0x3904a9);}beforeAll(()=>{const _0x28ad83={'YQqYi':function(_0x32ead1){return _0x32ead1();}},_0x3b7be7='browserstack internal helper hook';_0x28ad83['YQqYi'](addRequestSpy);}),afterAll(async()=>{const _0x38fa5f=a20_0x260a11,_0x12c8c8='browserstack internal helper hook';jest['setTimeout'](0xea60),requestSpy[_0x38fa5f(0x119)]();});function a20_0x161f(){const _0x4d6d22=['15811452ftETvb','../../../helpers/request-spy','3742074VVuVNH','207864ScGKGD','201324GQYAlA','25flVKcW','9471WkNcNK','10shPDki','restore','13AevhsE','1208uEvMnK','5870704Fwicoo','5224417wMYKzz','8tcbNsZ','../../../helpers/test-observability/utils'];a20_0x161f=function(){return _0x4d6d22;};return a20_0x161f();}
1
+ function a20_0x4c67(){const _0x3541c4=['BhSSd','27deKkxE','1642816tFOpAE','5BUeiqN','../../../helpers/request-spy','1148807IjAtlb','1153377QqeklK','86792JPIQHv','1875986lZukko','8yUNCDG','../../../helpers/test-observability/utils','40HUjmYO','68278TrchNE','setTimeout','1756602HLlIxC'];a20_0x4c67=function(){return _0x3541c4;};return a20_0x4c67();}const a20_0x20b94f=a20_0x38df;(function(_0x2877ad,_0x27be3d){const _0x4c94cb=a20_0x38df,_0x399a5c=_0x2877ad();while(!![]){try{const _0x3db391=parseInt(_0x4c94cb(0x19a))/0x1*(-parseInt(_0x4c94cb(0x197))/0x2)+-parseInt(_0x4c94cb(0x18f))/0x3*(parseInt(_0x4c94cb(0x195))/0x4)+-parseInt(_0x4c94cb(0x191))/0x5*(-parseInt(_0x4c94cb(0x18d))/0x6)+parseInt(_0x4c94cb(0x196))/0x7+-parseInt(_0x4c94cb(0x190))/0x8+-parseInt(_0x4c94cb(0x194))/0x9+-parseInt(_0x4c94cb(0x199))/0xa*(-parseInt(_0x4c94cb(0x193))/0xb);if(_0x3db391===_0x27be3d)break;else _0x399a5c['push'](_0x399a5c['shift']());}catch(_0x519b84){_0x399a5c['push'](_0x399a5c['shift']());}}}(a20_0x4c67,0x2b1e6));function a20_0x38df(_0x3ec683,_0x4de0a9){const _0x4c67f0=a20_0x4c67();return a20_0x38df=function(_0x38df23,_0xe43742){_0x38df23=_0x38df23-0x18d;let _0x48bbea=_0x4c67f0[_0x38df23];return _0x48bbea;},a20_0x38df(_0x3ec683,_0x4de0a9);}const requestSpy=require(a20_0x20b94f(0x192)),{addRequestSpy}=require(a20_0x20b94f(0x198));beforeAll(()=>{const _0x4f3be8=a20_0x20b94f,_0x369ed6={'BhSSd':function(_0x132ed2){return _0x132ed2();}},_0x4086df='browserstack internal helper hook';_0x369ed6[_0x4f3be8(0x18e)](addRequestSpy);}),afterAll(async()=>{const _0x3018af=a20_0x20b94f,_0x2dc8d8='browserstack internal helper hook';jest[_0x3018af(0x19b)](0xea60),requestSpy['restore']();});
@@ -1 +1 @@
1
- const a21_0x5db07d=a21_0x10e8;function a21_0xf677(){const _0x49ea0e=['EOwBM','updateTestRerunConfig','3330426lEDtan','testMatch','split','cliConfig','zEoWN','106091cowQYB','8JFBxuz','7gPiBul','1680tXTKbS','1216555iUhmGq','APvei','push','../../../helpers/test-observability/utils','SeEHK','null','5874093OWWjbA','has','6491212IroQAz','16494970PUQOLu','11FsOgno','shouldReRunObservabilityTests','rerunTests','4628bFanhQ','QTMJu'];a21_0xf677=function(){return _0x49ea0e;};return a21_0xf677();}(function(_0x24b457,_0x4b9997){const _0x206943=a21_0x10e8,_0x1accf5=_0x24b457();while(!![]){try{const _0x58ab2d=-parseInt(_0x206943(0x1c7))/0x1+parseInt(_0x206943(0x1be))/0x2*(parseInt(_0x206943(0x1b0))/0x3)+parseInt(_0x206943(0x1b9))/0x4+-parseInt(_0x206943(0x1b1))/0x5+-parseInt(_0x206943(0x1c2))/0x6*(-parseInt(_0x206943(0x1af))/0x7)+parseInt(_0x206943(0x1c8))/0x8*(-parseInt(_0x206943(0x1b7))/0x9)+parseInt(_0x206943(0x1ba))/0xa*(-parseInt(_0x206943(0x1bb))/0xb);if(_0x58ab2d===_0x4b9997)break;else _0x1accf5['push'](_0x1accf5['shift']());}catch(_0x29808a){_0x1accf5['push'](_0x1accf5['shift']());}}}(a21_0xf677,0xc8b7a));function a21_0x10e8(_0x50de0d,_0x484dfb){const _0xf677ca=a21_0xf677();return a21_0x10e8=function(_0x10e89e,_0x4ae912){_0x10e89e=_0x10e89e-0x1af;let _0x184eda=_0xf677ca[_0x10e89e];return _0x184eda;},a21_0x10e8(_0x50de0d,_0x484dfb);}const testOpsHelper=require(a21_0x5db07d(0x1b4)),helper=require('../../../helpers/helper');exports[a21_0x5db07d(0x1c1)]=(_0x4efc57,_0x183fdf)=>{const _0x557768=a21_0x5db07d,_0x18355a={};_0x18355a[_0x557768(0x1bf)]=_0x557768(0x1bd),_0x18355a[_0x557768(0x1b5)]=function(_0x3d7fd6,_0x3f4c00){return _0x3d7fd6!==_0x3f4c00;},_0x18355a[_0x557768(0x1b2)]=_0x557768(0x1b6),_0x18355a[_0x557768(0x1c0)]=function(_0x57bc8a,_0x531a85){return _0x57bc8a!==_0x531a85;},_0x18355a['zEoWN']=function(_0x3f541a,_0x5988ae){return _0x3f541a>_0x5988ae;};const _0x517fac=_0x18355a;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x557768(0x1bc)]()){let _0x33d7e5=process['env']['BROWSERSTACK_RERUN_TESTS'];!helper['isUndefined'](_0x183fdf[_0x557768(0x1c5)])&&_0x183fdf['cliConfig'][_0x557768(0x1b8)](_0x517fac[_0x557768(0x1bf)])&&(_0x33d7e5=_0x183fdf[_0x557768(0x1c5)]['get'](_0x517fac[_0x557768(0x1bf)]));const _0x1690b7=[];_0x517fac[_0x557768(0x1b5)](_0x33d7e5,_0x517fac[_0x557768(0x1b2)])&&_0x517fac[_0x557768(0x1c0)](_0x33d7e5,null)&&_0x33d7e5[_0x557768(0x1c4)](',')['map'](_0x2b187a=>{const _0x46095e=_0x557768;_0x1690b7[_0x46095e(0x1b3)](''+_0x2b187a['trim']());}),_0x517fac[_0x557768(0x1c6)](_0x1690b7['length'],0x0)&&(_0x4efc57['testRegex']=_0x1690b7,delete _0x4efc57[_0x557768(0x1c3)]);}};
1
+ function a21_0x5415(){const _0x25dfef=['has','testRegex','../../../helpers/test-observability/utils','22GlxeDW','4894uIvicf','trim','346145lZhnrn','1258222plzjRn','push','updateTestRerunConfig','63TiuWgW','length','aqSNt','33fZBUxt','cliConfig','HBdhr','map','qJVDq','WnOUH','125264iiOUUy','154721zHcIYA','isTestObservabilitySession','2290430kzQACX','18xmxwNg','789380pIPcWr','LjwkK','rerunTests','BROWSERSTACK_RERUN_TESTS'];a21_0x5415=function(){return _0x25dfef;};return a21_0x5415();}const a21_0x52f383=a21_0x16a8;(function(_0x1c0a65,_0x37c643){const _0x50ca9e=a21_0x16a8,_0x3a6fc3=_0x1c0a65();while(!![]){try{const _0x33c180=parseInt(_0x50ca9e(0x96))/0x1+parseInt(_0x50ca9e(0x86))/0x2*(-parseInt(_0x50ca9e(0x8f))/0x3)+-parseInt(_0x50ca9e(0x7e))/0x4+-parseInt(_0x50ca9e(0x88))/0x5*(parseInt(_0x50ca9e(0x7d))/0x6)+-parseInt(_0x50ca9e(0x89))/0x7+parseInt(_0x50ca9e(0x95))/0x8*(parseInt(_0x50ca9e(0x8c))/0x9)+-parseInt(_0x50ca9e(0x98))/0xa*(-parseInt(_0x50ca9e(0x85))/0xb);if(_0x33c180===_0x37c643)break;else _0x3a6fc3['push'](_0x3a6fc3['shift']());}catch(_0x29a329){_0x3a6fc3['push'](_0x3a6fc3['shift']());}}}(a21_0x5415,0x1b07e));const testOpsHelper=require(a21_0x52f383(0x84)),helper=require('../../../helpers/helper');function a21_0x16a8(_0x428b6c,_0xb94778){const _0x54153f=a21_0x5415();return a21_0x16a8=function(_0x16a8da,_0x592c17){_0x16a8da=_0x16a8da-0x7d;let _0xfd53d1=_0x54153f[_0x16a8da];return _0xfd53d1;},a21_0x16a8(_0x428b6c,_0xb94778);}exports[a21_0x52f383(0x8b)]=(_0x17fa26,_0x43ce0d)=>{const _0x450a7c=a21_0x52f383,_0x496f25={};_0x496f25[_0x450a7c(0x93)]=_0x450a7c(0x80),_0x496f25[_0x450a7c(0x91)]=function(_0x1bcd82,_0x37a319){return _0x1bcd82!==_0x37a319;},_0x496f25[_0x450a7c(0x8e)]='null',_0x496f25[_0x450a7c(0x94)]=function(_0x4c63f6,_0x777f09){return _0x4c63f6!==_0x777f09;},_0x496f25[_0x450a7c(0x7f)]=function(_0x8b14d5,_0x176086){return _0x8b14d5>_0x176086;};const _0x44078a=_0x496f25;if(testOpsHelper[_0x450a7c(0x97)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x24bd1d=process['env'][_0x450a7c(0x81)];!helper['isUndefined'](_0x43ce0d[_0x450a7c(0x90)])&&_0x43ce0d[_0x450a7c(0x90)][_0x450a7c(0x82)](_0x44078a[_0x450a7c(0x93)])&&(_0x24bd1d=_0x43ce0d[_0x450a7c(0x90)]['get'](_0x44078a[_0x450a7c(0x93)]));const _0x4a2fec=[];_0x44078a[_0x450a7c(0x91)](_0x24bd1d,_0x44078a[_0x450a7c(0x8e)])&&_0x44078a[_0x450a7c(0x94)](_0x24bd1d,null)&&_0x24bd1d['split'](',')[_0x450a7c(0x92)](_0x4fa599=>{const _0x11d6eb=_0x450a7c;_0x4a2fec[_0x11d6eb(0x8a)](''+_0x4fa599[_0x11d6eb(0x87)]());}),_0x44078a['LjwkK'](_0x4a2fec[_0x450a7c(0x8d)],0x0)&&(_0x17fa26[_0x450a7c(0x83)]=_0x4a2fec,delete _0x17fa26['testMatch']);}};
@@ -1 +1 @@
1
- function a22_0x1ee0(){const _0xe12f84=['kdLMw','TestRunStarted','toString','jNJiq','started_at','EoNKI','../../../helpers/testhub/utils','28zEzxgA','_testEnv','isJestInternalHook','OQJVN','eDVOW','now','current_test','testStarted','js-','10AzYhCI','yRZIy','ahbmg','LZtBm','../../utils/constants','parse','DJbhA','oDNRZ','parent','arAXP','MTFFB','wAOTS','JzoNQ','sep','238011TypGzB','removeAllListeners','reverse','toISOString','type','pid','test','hook_type','current_hook','failure_backtrace','hook_data','jest-circus','SZPJi','hook_run_uuid','mapTestHooks','resetTestHooks','getTestEnv','failure_reason','exports','call','includes','6626520RWRTvg','tzSJv','setTestUUID','dirname','owLHW','MCIOn','bs:addPlatformDetails:','javascript','TestRunSkipped','expanded','pDKwB','gphov','hook_failure','REVHf','_paths','event_type','STATE_FAILED','uploadEventData','afterEach','result','\x22\x20hook\x20for\x20\x22','ZbueS','1730UmAgbN','12QErwFt','inspect',':hookAnalyticsId','retryOf','beforeEach','asyncError','cwd','57541lpdhTB','_testResults','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','logs','getRootParentFile','ooQoD','MKlUf','skipped','mvsgD','statSync','xFbcv','title','3|0|4|2|1','aMhgA','_gitConfigured','bs:addLog:','RSjlw','OobkF','pending','_gitConfigPath','failure_type','config','root','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','CGhai','getHooksForTest','failure_reason_expanded','prefixTestPath','2384TzwnVN','hookAnalyticsId','getName','duration','22414sjMYCx','XCzjI','VZAgw','QJQCU','zVFLH','err','findGitConfig','errorsDetailed','analyticsResult','fhgkT','hook_run','IGrXT','BZCcb','HAMzX','registerListeners','configureGit','cVNkn','zNsDe',':testAnalyticsId','QoEsa','TestRunFinished','WKmTc','MYVsj','getFileName','sVwWU','PisSG','LogCreated','path','beforeAll','length','IlZXm','testAnalyticsId','YnypV','sendTestRunEvent','forEach','qrDnb','appendTestItemLog','split','SFfjN','CZYKE','match','../../../helpers/helper','markedStatus','./test-details','BEFORE_ALL','name','RAnwH','gnmsA','failed','File\x20path\x20could\x20not\x20be\x20found','getTestUUID','passed','mqUta','push','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','486798xScjRA','state','ObservabilityReporter','http_response','kdYTJ','xDQKw','ROOT_DESCRIBE_BLOCK','iZGDC','failure','../../../helpers/test-observability/sessionHandler','_currentRetry','getHierarchy','rjzei','84vNUPBj','GtEPs','ZAnIh','iJHBU','hooks','test_run','JEST','rYQhf','5137YoTsRA','test_run_uuid','../../../../package.json','apply','finished_at','backtrace','YXVZs','hCOyt','10977044BBlJON','file','ldoGQ','appendTestPlatform','STATE_PENDING','UDWzF','noSvH','MmFno','stack-trace','uuid'];a22_0x1ee0=function(){return _0xe12f84;};return a22_0x1ee0();}const a22_0x76bf07=a22_0x2c71;function a22_0x2c71(_0x580cb6,_0x1aa8ea){const _0x1ee00a=a22_0x1ee0();return a22_0x2c71=function(_0x2c71b5,_0x381fdd){_0x2c71b5=_0x2c71b5-0x111;let _0x4703dc=_0x1ee00a[_0x2c71b5];return _0x4703dc;},a22_0x2c71(_0x580cb6,_0x1aa8ea);}(function(_0x716d8a,_0x186af0){const _0x3e7214=a22_0x2c71,_0x707a36=_0x716d8a();while(!![]){try{const _0x4aa58b=parseInt(_0x3e7214(0x1c5))/0x1*(-parseInt(_0x3e7214(0x1bd))/0x2)+parseInt(_0x3e7214(0x125))/0x3*(-parseInt(_0x3e7214(0x1de))/0x4)+parseInt(_0x3e7214(0x117))/0x5*(-parseInt(_0x3e7214(0x1b0))/0x6)+-parseInt(_0x3e7214(0x179))/0x7*(parseInt(_0x3e7214(0x175))/0x8)+parseInt(_0x3e7214(0x13a))/0x9+-parseInt(_0x3e7214(0x150))/0xa*(-parseInt(_0x3e7214(0x158))/0xb)+-parseInt(_0x3e7214(0x151))/0xc*(-parseInt(_0x3e7214(0x1cd))/0xd);if(_0x4aa58b===_0x186af0)break;else _0x707a36['push'](_0x707a36['shift']());}catch(_0x50c461){_0x707a36['push'](_0x707a36['shift']());}}}(a22_0x1ee0,0x92028));const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require('../../../helpers/test-observability/utils'),SessionHandler=require(a22_0x76bf07(0x1b9)),{v4:uuidv4}=require('uuid'),{name,version}=require(a22_0x76bf07(0x1c7)),stackTrace=require(a22_0x76bf07(0x1d5)),path=require(a22_0x76bf07(0x194)),fs=require('fs'),TestDetails=require(a22_0x76bf07(0x1a4)),{FRAMEWORKS}=require(a22_0x76bf07(0x11b)),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),{getGitMetaData}=require(a22_0x76bf07(0x1a2)),{appendTesthubParams,setCurrentTestData}=require(a22_0x76bf07(0x1dd)),a22_0x32f87c={};a22_0x32f87c['STATE_PASSED']=a22_0x76bf07(0x1ac),a22_0x32f87c[a22_0x76bf07(0x14a)]=a22_0x76bf07(0x1a9),a22_0x32f87c[a22_0x76bf07(0x1d1)]=a22_0x76bf07(0x16a);const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a22_0x32f87c,a22_0x5f436e={};a22_0x5f436e['beforeAll']=a22_0x76bf07(0x1a5),a22_0x5f436e['afterAll']='AFTER_ALL',a22_0x5f436e[a22_0x76bf07(0x155)]='BEFORE_EACH',a22_0x5f436e['afterEach']='AFTER_EACH';const HOOK_TYPES_MAP=a22_0x5f436e;module[a22_0x76bf07(0x137)]=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0x307c68=a22_0x76bf07,_0x244a9a={'CZYKE':'2|5|4|3|0|1|6','cVNkn':function(_0x271652){return _0x271652();}},_0x43cab8=_0x244a9a[_0x307c68(0x1a0)]['split']('|');let _0xb14bdb=0x0;while(!![]){switch(_0x43cab8[_0xb14bdb++]){case'0':this[_0x307c68(0x12f)]=[];continue;case'1':this[_0x307c68(0x166)]=![];continue;case'2':this['testObservability']=_0x244a9a[_0x307c68(0x189)](isTestObservabilitySession);continue;case'3':this[_0x307c68(0x148)]=new PathHelper({'cwd':process[_0x307c68(0x157)]()},this[_0x307c68(0x1df)]['location_prefix']);continue;case'4':this['_testEnv']=this[_0x307c68(0x135)]();continue;case'5':this[_0x307c68(0x159)]=[];continue;case'6':this[_0x307c68(0x16b)]=null;continue;}break;}}[a22_0x76bf07(0x135)]=()=>{const _0x23e344=a22_0x76bf07,_0x382d6c={'MKlUf':'generic','MaGZQ':function(_0x47f962){return _0x47f962();}};return{'ci':_0x382d6c[_0x23e344(0x15e)],'key':_0x382d6c['MaGZQ'](uuidv4),'version':version,'collector':_0x23e344(0x116)+name};};[a22_0x76bf07(0x187)](){const _0x1beefb=a22_0x76bf07;process[_0x1beefb(0x126)](_0x1beefb(0x167)+process[_0x1beefb(0x12a)]),process['on']('bs:addLog:'+process[_0x1beefb(0x12a)],this[_0x1beefb(0x19d)]['bind'](this)),process[_0x1beefb(0x126)](_0x1beefb(0x140)+process[_0x1beefb(0x12a)]),process['on'](_0x1beefb(0x140)+process[_0x1beefb(0x12a)],this[_0x1beefb(0x1d0)]['bind'](this));}[a22_0x76bf07(0x115)]=async _0x163927=>{const _0x5c9d3a=a22_0x76bf07,_0x122cca={'ZAnIh':function(_0x4c91c9,_0x56749e){return _0x4c91c9>_0x56749e;},'MCIOn':function(_0x14cfcc,_0x4639a0){return _0x14cfcc===_0x4639a0;},'fhgkT':_0x5c9d3a(0x1d8),'DJbhA':function(_0x3312d3,_0xf0dfb5){return _0x3312d3(_0xf0dfb5);}};try{const _0x395379=this[_0x5c9d3a(0x114)];this[_0x5c9d3a(0x114)]=_0x163927,_0x163927['retryOf']=null,_0x163927[_0x5c9d3a(0x198)]=TestDetails[_0x5c9d3a(0x13c)](process[_0x5c9d3a(0x12a)]+_0x5c9d3a(0x18b)),_0x163927['started_at']=new Date()[_0x5c9d3a(0x128)](),_0x122cca[_0x5c9d3a(0x1bf)](_0x163927[_0x5c9d3a(0x1ba)],0x0)&&_0x395379&&_0x122cca[_0x5c9d3a(0x13f)](_0x395379[_0x5c9d3a(0x163)],_0x163927['title'])?(_0x163927[_0x5c9d3a(0x154)]=_0x395379[_0x5c9d3a(0x198)],await this[_0x5c9d3a(0x19a)](_0x163927,undefined,![],_0x122cca['fhgkT']),_0x395379[_0x5c9d3a(0x1b1)]=STATE_FAILED,await this[_0x5c9d3a(0x19a)](_0x395379,undefined,!![])):await this[_0x5c9d3a(0x19a)](_0x163927,undefined,![],_0x122cca[_0x5c9d3a(0x182)]);}catch(_0x5d2288){_0x122cca[_0x5c9d3a(0x11d)](debug,_0x5c9d3a(0x15a)+_0x5d2288);}};[a22_0x76bf07(0x177)](_0x1f0786){const _0xbe682=a22_0x76bf07,_0x30fcc6={};_0x30fcc6[_0xbe682(0x1cb)]=function(_0xf76e4c,_0x3b7e23){return _0xf76e4c!==_0x3b7e23;},_0x30fcc6[_0xbe682(0x197)]=_0xbe682(0x12b);const _0x1a187f=_0x30fcc6;if(_0x1a187f[_0xbe682(0x1cb)](_0x1f0786[_0xbe682(0x129)],_0x1a187f[_0xbe682(0x197)]))return'\x22'+_0x1f0786[_0xbe682(0x129)]+_0xbe682(0x14e)+(_0x1f0786['parent']&&_0x1f0786[_0xbe682(0x11f)][_0xbe682(0x1a6)])+'\x22';return _0x1f0786[_0xbe682(0x1a6)];}[a22_0x76bf07(0x19a)]=async(_0x53ce30,_0x506fdf=undefined,_0x48e088=![],_0x4c6d16=a22_0x76bf07(0x18d))=>{const _0x4ff1c8=a22_0x76bf07,_0x236381={'MTFFB':_0x4ff1c8(0x164),'qrDnb':_0x4ff1c8(0x183),'iZGDC':_0x4ff1c8(0x16c),'ZbueS':_0x4ff1c8(0x1c2),'mqUta':_0x4ff1c8(0x136),'owLHW':_0x4ff1c8(0x1b8),'GtEPs':_0x4ff1c8(0x14d),'QJQCU':function(_0x1eb16c,_0x5c4f8e){return _0x1eb16c(_0x5c4f8e);},'guVVt':_0x4ff1c8(0x130),'RAnwH':'util','eKeJF':function(_0x414b13,_0x3670b2){return _0x414b13!==_0x3670b2;},'gphov':_0x4ff1c8(0x12b),'VZAgw':function(_0x251019,_0x26cc61){return _0x251019!==_0x26cc61;},'iJHBU':_0x4ff1c8(0x17e),'WKmTc':function(_0x536c7b,_0x578822){return _0x536c7b!==_0x578822;},'OQJVN':_0x4ff1c8(0x1aa),'PisSG':_0x4ff1c8(0x141),'UDWzF':function(_0x326374,_0x12d719){return _0x326374===_0x12d719;},'hCOyt':_0x4ff1c8(0x142),'LZtBm':_0x4ff1c8(0x15f),'arAXP':function(_0x28f98e,_0x263d66){return _0x28f98e>_0x263d66;},'JzoNQ':'failed','gnmsA':_0x4ff1c8(0x1ac),'MYVsj':function(_0x2af607,_0x102440){return _0x2af607-_0x102440;},'XCzjI':function(_0x4bab39,_0x16ea68,_0x20eb9e,_0x301c74,_0x68b257){return _0x4bab39(_0x16ea68,_0x20eb9e,_0x301c74,_0x68b257);},'jNJiq':_0x4ff1c8(0x1db),'rjzei':_0x4ff1c8(0x1c9),'ooQoD':'HookRunFinished','pDKwB':_0x4ff1c8(0x12e),'VszeI':_0x4ff1c8(0x1ca),'tzSJv':_0x4ff1c8(0x173),'ldoGQ':_0x4ff1c8(0x143),'BZCcb':_0x4ff1c8(0x18d),'aMhgA':function(_0x2869cf,_0x14b36a){return _0x2869cf===_0x14b36a;},'zNsDe':_0x4ff1c8(0x12c),'zVFLH':_0x4ff1c8(0x195),'ahbmg':function(_0x2305ce,_0x54908c,_0x159e7c){return _0x2305ce(_0x54908c,_0x159e7c);},'wAOTS':function(_0x42eb52,_0x29d1ec){return _0x42eb52(_0x29d1ec);}};try{if(_0x53ce30['fn']&&_0x53ce30['fn']['toString']()[_0x4ff1c8(0x1a1)](/browserstack internal helper hook/))return;await this[_0x4ff1c8(0x188)]();let _0x1833ef;try{_0x1833ef=this[_0x4ff1c8(0x15c)](_0x53ce30);}catch(_0x14c619){_0x236381[_0x4ff1c8(0x17c)](debug,'failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x14c619),_0x1833ef=null;}if(_0x1833ef['includes'](_0x236381['guVVt']))return;const _0xb10ebd=_0x236381['QJQCU'](require,_0x236381[_0x4ff1c8(0x1a7)]);let _0x3cb64f=[];if(_0x236381['eKeJF'](_0x53ce30[_0x4ff1c8(0x180)],undefined))_0x3cb64f=[_0x53ce30['errorsDetailed'],_0x236381[_0x4ff1c8(0x145)]];else _0x236381[_0x4ff1c8(0x17b)](_0x506fdf,undefined)?_0x3cb64f=[_0x506fdf,_0x236381[_0x4ff1c8(0x1c0)]]:_0x3cb64f=[];const _0x3f6e92=_0x236381['VZAgw'](_0x53ce30[_0x4ff1c8(0x180)],undefined)?_0xb10ebd[_0x4ff1c8(0x152)](_0x53ce30[_0x4ff1c8(0x180)][0x0]):_0x236381[_0x4ff1c8(0x18e)](_0x506fdf,undefined)?_0x506fdf[_0x4ff1c8(0x1d9)]():undefined,_0x43200c=_0x1833ef?this[_0x4ff1c8(0x148)][_0x4ff1c8(0x174)](this[_0x4ff1c8(0x15c)](_0x53ce30)):_0x236381[_0x4ff1c8(0x111)],_0x2ebfa5={'framework':FRAMEWORKS[_0x4ff1c8(0x1c3)],'uuid':_0x53ce30[_0x4ff1c8(0x198)]||_0x53ce30['hookAnalyticsId'],'name':this[_0x4ff1c8(0x177)](_0x53ce30),'body':{'lang':_0x236381[_0x4ff1c8(0x192)],'code':_0x53ce30['fn'][_0x4ff1c8(0x1d9)]()},'scopes':this[_0x4ff1c8(0x1bb)](_0x53ce30),'file_name':_0x43200c,'vc_filepath':this[_0x4ff1c8(0x16b)]&&_0x1833ef?path['relative'](this['_gitConfigPath'],_0x1833ef):null,'location':_0x43200c,'result':_0x236381['UDWzF'](_0x4c6d16,_0x236381[_0x4ff1c8(0x1cc)])?_0x236381['LZtBm']:this[_0x4ff1c8(0x181)](_0x53ce30[_0x4ff1c8(0x180)]&&_0x236381[_0x4ff1c8(0x120)](_0x53ce30[_0x4ff1c8(0x180)][_0x4ff1c8(0x196)],0x0)?_0x236381['JzoNQ']:_0x236381[_0x4ff1c8(0x1a8)]),'failure_reason':_0x3f6e92,'duration_in_ms':_0x53ce30[_0x4ff1c8(0x178)]||(_0x4c6d16['match'](/Finished/)||_0x4c6d16[_0x4ff1c8(0x1a1)](/Skipped/)?_0x236381[_0x4ff1c8(0x18f)](Date[_0x4ff1c8(0x113)](),new Date(_0x53ce30[_0x4ff1c8(0x1db)])['getTime']()):null),'started_at':_0x53ce30['started_at'],'finished_at':_0x4c6d16[_0x4ff1c8(0x1a1)](/Finished/)||_0x4c6d16['match'](/Skipped/)?new Date()[_0x4ff1c8(0x128)]():null,'failure':failureData[_0x4ff1c8(0x1c8)](null,_0x3cb64f),'failure_type':!_0x3f6e92?null:_0x236381[_0x4ff1c8(0x17c)](getFailureType,_0x3f6e92),'retry_of':_0x53ce30[_0x4ff1c8(0x154)]};_0x236381[_0x4ff1c8(0x17a)](appendTesthubParams,_0x2ebfa5,_0x4c6d16,_0x53ce30,FRAMEWORKS[_0x4ff1c8(0x1c3)]);_0x236381[_0x4ff1c8(0x1d2)](_0x4c6d16,_0x236381[_0x4ff1c8(0x1cc)])&&!_0x2ebfa5[_0x236381[_0x4ff1c8(0x1da)]]&&(_0x2ebfa5[_0x236381[_0x4ff1c8(0x1da)]]=_0x2ebfa5[_0x236381[_0x4ff1c8(0x1bc)]]);if(_0x4c6d16[_0x4ff1c8(0x1a1)](/HookRun/))[_0x2ebfa5[_0x4ff1c8(0x12c)],_0x2ebfa5[_0x4ff1c8(0x1a6)]]=[_0x53ce30[_0x4ff1c8(0x129)],this['getName'](_0x53ce30)],_0x236381['UDWzF'](_0x4c6d16,_0x236381[_0x4ff1c8(0x15d)])&&(_0x236381['VZAgw'](_0x2ebfa5[_0x4ff1c8(0x14d)],_0x236381[_0x4ff1c8(0x123)])&&(_0x2ebfa5[_0x4ff1c8(0x14d)]=_0x236381[_0x4ff1c8(0x1a8)]));else _0x4c6d16[_0x4ff1c8(0x1a1)](/TestRun/)&&this[_0x4ff1c8(0x133)](_0x53ce30);const _0x5ae879=_0x2ebfa5[_0x236381[_0x4ff1c8(0x13e)]][0x0];_0x5ae879&&(_0x2ebfa5[_0x236381[_0x4ff1c8(0x144)]]=_0x5ae879[_0x236381['VszeI']],_0x2ebfa5[_0x236381[_0x4ff1c8(0x13b)]]=_0x5ae879[_0x236381[_0x4ff1c8(0x1cf)]]);[_0x236381[_0x4ff1c8(0x185)],_0x236381[_0x4ff1c8(0x1cc)]][_0x4ff1c8(0x139)](_0x4c6d16)&&(this[_0x4ff1c8(0x159)][_0x4ff1c8(0x1ae)](_0x2ebfa5),_0x2ebfa5[_0x4ff1c8(0x1c1)]=this[_0x4ff1c8(0x172)](_0x53ce30),this[_0x4ff1c8(0x134)](_0x53ce30));const _0x4aa597={'event_type':_0x236381[_0x4ff1c8(0x165)](_0x4c6d16,_0x236381[_0x4ff1c8(0x1cc)])?_0x236381[_0x4ff1c8(0x185)]:_0x4c6d16};_0x4c6d16[_0x4ff1c8(0x1a1)](/HookRun/)?(_0x2ebfa5[_0x236381[_0x4ff1c8(0x18a)]]=HOOK_TYPES_MAP[_0x2ebfa5[_0x236381['zNsDe']]],_0x4aa597[_0x236381['qrDnb']]=_0x2ebfa5):_0x4aa597[_0x236381['ZbueS']]=_0x2ebfa5;_0x236381[_0x4ff1c8(0x120)](this[_0x4ff1c8(0x12f)][_0x4ff1c8(0x196)],0x0)&&[_0x236381[_0x4ff1c8(0x185)],_0x236381[_0x4ff1c8(0x1cc)]][_0x4ff1c8(0x139)](_0x4c6d16)&&(this[_0x4ff1c8(0x12f)][_0x4ff1c8(0x19b)](async _0x5ba723=>{const _0x4fc1d8=_0x4ff1c8,_0x11fe36=_0x236381[_0x4fc1d8(0x121)][_0x4fc1d8(0x19e)]('|');let _0x53dfa4=0x0;while(!![]){switch(_0x11fe36[_0x53dfa4++]){case'0':_0x5ba723[_0x236381['qrDnb']][_0x236381[_0x4fc1d8(0x1b7)]]=_0x4aa597[_0x236381['ZbueS']][_0x236381[_0x4fc1d8(0x1b7)]];continue;case'1':await SessionHandler[_0x4fc1d8(0x14b)](_0x5ba723);continue;case'2':_0x5ba723[_0x236381['qrDnb']][_0x236381[_0x4fc1d8(0x1ad)]]=_0x4aa597[_0x236381[_0x4fc1d8(0x14f)]][_0x236381[_0x4fc1d8(0x1ad)]];continue;case'3':_0x5ba723[_0x236381[_0x4fc1d8(0x19c)]][_0x236381[_0x4fc1d8(0x13e)]]=_0x4aa597[_0x236381[_0x4fc1d8(0x14f)]][_0x236381['owLHW']];continue;case'4':_0x5ba723[_0x236381[_0x4fc1d8(0x19c)]][_0x236381[_0x4fc1d8(0x1be)]]=_0x4aa597[_0x236381[_0x4fc1d8(0x14f)]][_0x236381[_0x4fc1d8(0x1be)]];continue;}break;}}),this[_0x4ff1c8(0x12f)]=[]);if(_0x236381[_0x4ff1c8(0x165)](this[_0x4ff1c8(0x146)],_0x53ce30[_0x4ff1c8(0x129)])){this[_0x4ff1c8(0x12f)]['push'](_0x4aa597);return;}_0x236381[_0x4ff1c8(0x1d2)](this[_0x4ff1c8(0x146)],_0x236381[_0x4ff1c8(0x17d)])&&_0x4aa597[_0x236381[_0x4ff1c8(0x14f)]]&&(_0x4aa597[_0x236381[_0x4ff1c8(0x14f)]][_0x236381[_0x4ff1c8(0x1be)]]=_0x236381[_0x4ff1c8(0x11a)],_0x4aa597[_0x236381[_0x4ff1c8(0x14f)]][_0x236381['owLHW']]=null,_0x4aa597[_0x236381[_0x4ff1c8(0x14f)]][_0x236381['iZGDC']]=null),_0x236381[_0x4ff1c8(0x119)](setCurrentTestData,FRAMEWORKS[_0x4ff1c8(0x1c3)],_0x4aa597),await SessionHandler[_0x4ff1c8(0x14b)](_0x4aa597);}catch(_0x5159bc){_0x236381[_0x4ff1c8(0x122)](debug,_0x4ff1c8(0x1af)+_0x4c6d16+'\x20with\x20error\x20:\x20'+_0x5159bc);}};[a22_0x76bf07(0x17f)](_0x4b098b){const _0x162ea6=a22_0x76bf07,_0x3fc8b8={};_0x3fc8b8[_0x162ea6(0x1b4)]=function(_0xa3379d,_0x195ce4){return _0xa3379d==_0x195ce4;},_0x3fc8b8[_0x162ea6(0x160)]=function(_0x1351c7,_0x1c12fc){return _0x1351c7===_0x1c12fc;},_0x3fc8b8[_0x162ea6(0x147)]=function(_0x4ce595,_0x388dd1){return _0x4ce595===_0x388dd1;},_0x3fc8b8[_0x162ea6(0x1d7)]=function(_0x229465,_0x2e4a0c){return _0x229465===_0x2e4a0c;},_0x3fc8b8['MmFno']='.git',_0x3fc8b8[_0x162ea6(0x118)]=_0x162ea6(0x16d);const _0x29a25f=_0x3fc8b8,_0x46b902=path[_0x162ea6(0x124)];if(_0x29a25f[_0x162ea6(0x1b4)](_0x4b098b,null)||_0x29a25f['mvsgD'](_0x4b098b,'')||_0x29a25f[_0x162ea6(0x147)](_0x4b098b,_0x46b902)||_0x29a25f[_0x162ea6(0x1d7)](_0x4b098b,path['dirname'](_0x4b098b)))return null;try{return fs[_0x162ea6(0x161)](path['join'](_0x4b098b,_0x29a25f[_0x162ea6(0x1d4)],_0x29a25f['yRZIy'])),_0x4b098b;}catch(_0x21c37f){const _0x3ed3fc=path[_0x162ea6(0x13d)](_0x4b098b);return this[_0x162ea6(0x17f)](_0x3ed3fc);}}[a22_0x76bf07(0x19d)]=async _0x4cea81=>{const _0x5c7052=a22_0x76bf07,_0x534217={'QoEsa':_0x5c7052(0x193),'xDQKw':function(_0x3933aa,_0x11a83c){return _0x3933aa(_0x11a83c);}},_0x2b6ce3=TestDetails['getTestUUID'](process['pid']+_0x5c7052(0x153)),_0x3244ad=TestDetails[_0x5c7052(0x1ab)](process[_0x5c7052(0x12a)]+_0x5c7052(0x18b));try{(_0x2b6ce3||this[_0x5c7052(0x12d)]&&!this['current_hook'][_0x5c7052(0x1a3)])&&(_0x4cea81[_0x5c7052(0x132)]=_0x2b6ce3);!_0x4cea81['hook_run_uuid']&&_0x3244ad&&(_0x4cea81[_0x5c7052(0x1c6)]=_0x3244ad);if(_0x4cea81[_0x5c7052(0x132)]||_0x4cea81[_0x5c7052(0x1c6)]){const _0x6f006f={};_0x6f006f[_0x5c7052(0x149)]=_0x534217[_0x5c7052(0x18c)],_0x6f006f[_0x5c7052(0x15b)]=[_0x4cea81],await SessionHandler[_0x5c7052(0x14b)](_0x6f006f);}}catch(_0x55fe6a){_0x534217[_0x5c7052(0x1b5)](debug,_0x5c7052(0x170)+_0x55fe6a);}};[a22_0x76bf07(0x1d0)]=async _0x25d6d2=>{const _0x38923e=a22_0x76bf07,_0x269d4f={'YnypV':_0x38923e(0x1b3),'SZPJi':'CBTSessionCreated','eDVOW':function(_0x4c830a,_0x8d49a3){return _0x4c830a(_0x8d49a3);}};try{const _0x39a887={'uuid':_0x25d6d2[_0x38923e(0x1d6)]||TestDetails[_0x38923e(0x1ab)](process[_0x38923e(0x12a)]+_0x38923e(0x18b)),'integrations':_0x25d6d2[_0x269d4f[_0x38923e(0x199)]]},_0x3b1f50={};_0x3b1f50[_0x38923e(0x149)]=_0x269d4f[_0x38923e(0x131)],_0x3b1f50[_0x38923e(0x1c2)]=_0x39a887,await SessionHandler[_0x38923e(0x14b)](_0x3b1f50);}catch(_0x6c90b9){_0x269d4f[_0x38923e(0x112)](debug,_0x38923e(0x16f)+_0x6c90b9);}};async['configureGit'](){const _0x4fd700=a22_0x76bf07,_0x50bb35={'EoNKI':function(_0x176700){return _0x176700();}};if(this[_0x4fd700(0x166)])return this[_0x4fd700(0x16b)];const _0x1e5a67=await _0x50bb35[_0x4fd700(0x1dc)](getGitMetaData);_0x1e5a67&&(this[_0x4fd700(0x16b)]=_0x1e5a67[_0x4fd700(0x16e)]),this['_gitConfigured']=!![];}[a22_0x76bf07(0x181)](_0x478644){const _0x33eb65=a22_0x76bf07,_0x387c49={};_0x387c49['xFbcv']=_0x33eb65(0x1ac),_0x387c49[_0x33eb65(0x1d3)]=_0x33eb65(0x16a),_0x387c49[_0x33eb65(0x191)]=_0x33eb65(0x1a9);const _0x29fee8=_0x387c49,_0x1baa5a={};return _0x1baa5a[STATE_PASSED]=_0x29fee8[_0x33eb65(0x162)],_0x1baa5a[STATE_PENDING]=_0x29fee8[_0x33eb65(0x1d3)],_0x1baa5a[STATE_FAILED]=_0x29fee8['sVwWU'],_0x1baa5a[_0x478644];}[a22_0x76bf07(0x1bb)](_0x58e0cf){const _0x3f30b1=a22_0x76bf07,_0x19fd06={};_0x19fd06['CGhai']=function(_0x525367,_0x6bdc8a){return _0x525367!==_0x6bdc8a;},_0x19fd06[_0x3f30b1(0x186)]=_0x3f30b1(0x1b6);const _0x1a3d01=_0x19fd06,_0x1b9432=[];if(_0x58e0cf&&_0x58e0cf['parent']){let _0x3c3df7=_0x58e0cf[_0x3f30b1(0x11f)];while(_0x3c3df7&&_0x1a3d01[_0x3f30b1(0x171)](_0x3c3df7['name'],'')&&_0x1a3d01[_0x3f30b1(0x171)](_0x3c3df7[_0x3f30b1(0x1a6)],_0x1a3d01[_0x3f30b1(0x186)])){_0x1b9432[_0x3f30b1(0x1ae)](_0x3c3df7[_0x3f30b1(0x1a6)]),_0x3c3df7=_0x3c3df7[_0x3f30b1(0x11f)];}}return _0x1b9432[_0x3f30b1(0x127)](),_0x1b9432;}[a22_0x76bf07(0x15c)]=_0x3ae148=>{const _0x1dd8a3=a22_0x76bf07;if(_0x3ae148['asyncError']){const _0x158055=stackTrace[_0x1dd8a3(0x11c)][_0x1dd8a3(0x138)](stackTrace,_0x3ae148[_0x1dd8a3(0x156)]);return _0x158055[0x0][_0x1dd8a3(0x190)]();}if(_0x3ae148[_0x1dd8a3(0x1ce)])return _0x3ae148['file'];return null;};[a22_0x76bf07(0x133)]=_0x3f9607=>{const _0x1a6ef8=a22_0x76bf07;if(!_0x3f9607||!_0x3f9607['parent'])return;_0x3f9607[_0x1a6ef8(0x11f)][_0x1a6ef8(0x1c1)][_0x1a6ef8(0x19b)](_0x440b78=>{const _0x234efc=_0x1a6ef8;!_0x440b78[_0x234efc(0x176)]&&(_0x440b78[_0x234efc(0x176)]=TestDetails[_0x234efc(0x13c)](process['pid']+':hookAnalyticsId'));}),this['mapTestHooks'](_0x3f9607[_0x1a6ef8(0x11f)]);};[a22_0x76bf07(0x134)]=_0x3024e6=>{const _0x4a2167=a22_0x76bf07,_0x430241={};_0x430241[_0x4a2167(0x169)]=_0x4a2167(0x155),_0x430241['rYQhf']=_0x4a2167(0x14c);const _0x104e8c=_0x430241;if(!_0x3024e6||!_0x3024e6['parent'])return;_0x3024e6[_0x4a2167(0x11f)][_0x4a2167(0x1c1)][_0x4a2167(0x19b)](_0x28cad1=>{const _0x2590c9=_0x4a2167;[_0x104e8c[_0x2590c9(0x169)],_0x104e8c[_0x2590c9(0x1c4)]][_0x2590c9(0x139)](_0x28cad1[_0x2590c9(0x129)])&&_0x28cad1[_0x2590c9(0x176)]&&(_0x28cad1[_0x2590c9(0x176)]=null);}),this[_0x4a2167(0x133)](_0x3024e6[_0x4a2167(0x11f)]);};[a22_0x76bf07(0x1e0)](_0x1ac8c3){const _0x5156b6=a22_0x76bf07,_0x2b7f36={'dBOYe':_0x5156b6(0x130),'oDNRZ':function(_0x3361a5,_0x3005f6){return _0x3361a5(_0x3005f6);},'IGrXT':function(_0x5ca64a,_0x1fefb9){return _0x5ca64a+_0x1fefb9;},'SFfjN':'Exception\x20in\x20getting\x20file\x20for\x20hook\x20'};try{const _0x5cadf4=this[_0x5156b6(0x15c)](_0x1ac8c3);return _0x5cadf4['includes'](_0x2b7f36['dBOYe']);}catch(_0x3b3ec5){_0x2b7f36[_0x5156b6(0x11e)](debug,_0x2b7f36[_0x5156b6(0x184)](_0x2b7f36[_0x5156b6(0x19f)],_0x3b3ec5));}return![];}[a22_0x76bf07(0x172)]=_0x158d6=>{const _0xb42842=a22_0x76bf07,_0x45fca6={'RSjlw':function(_0x23fd88,_0xf14614){return _0x23fd88(_0xf14614);}};if(!_0x158d6||!_0x158d6['parent'])return[];const _0x2c935a=[];return _0x158d6['parent'][_0xb42842(0x1c1)][_0xb42842(0x19b)](_0x5e5d22=>{const _0x2ab611=_0xb42842;_0x5e5d22[_0x2ab611(0x176)]&&!_0x45fca6[_0x2ab611(0x168)](isInternalHook,_0x5e5d22['fn'])&&!this[_0x2ab611(0x1e0)](_0x5e5d22)&&_0x2c935a[_0x2ab611(0x1ae)](_0x5e5d22[_0x2ab611(0x176)]);}),[..._0x2c935a,...this[_0xb42842(0x172)](_0x158d6[_0xb42842(0x11f)])];};},[a22_0x76bf07(0x135),a22_0x76bf07(0x187),a22_0x76bf07(0x115),'getName','sendTestRunEvent',a22_0x76bf07(0x17f),a22_0x76bf07(0x19d),a22_0x76bf07(0x1d0),'analyticsResult',a22_0x76bf07(0x1bb),a22_0x76bf07(0x15c),a22_0x76bf07(0x133),a22_0x76bf07(0x134),'getHooksForTest',a22_0x76bf07(0x188)],a22_0x76bf07(0x1b2));
1
+ const a22_0x273607=a22_0x4021;(function(_0x3ee75f,_0x1b3cd0){const _0x27d196=a22_0x4021,_0x33e132=_0x3ee75f();while(!![]){try{const _0xc74e62=-parseInt(_0x27d196(0x255))/0x1+parseInt(_0x27d196(0x1f7))/0x2*(parseInt(_0x27d196(0x1aa))/0x3)+parseInt(_0x27d196(0x23d))/0x4+-parseInt(_0x27d196(0x1b2))/0x5*(parseInt(_0x27d196(0x219))/0x6)+parseInt(_0x27d196(0x220))/0x7*(-parseInt(_0x27d196(0x1c3))/0x8)+-parseInt(_0x27d196(0x254))/0x9*(-parseInt(_0x27d196(0x24b))/0xa)+parseInt(_0x27d196(0x256))/0xb*(-parseInt(_0x27d196(0x23f))/0xc);if(_0xc74e62===_0x1b3cd0)break;else _0x33e132['push'](_0x33e132['shift']());}catch(_0x597f78){_0x33e132['push'](_0x33e132['shift']());}}}(a22_0x3389,0xb5cf0));function a22_0x4021(_0x5a03e8,_0x1aac4f){const _0x3389c3=a22_0x3389();return a22_0x4021=function(_0x402172,_0x1d03e1){_0x402172=_0x402172-0x195;let _0x45e90b=_0x3389c3[_0x402172];return _0x45e90b;},a22_0x4021(_0x5a03e8,_0x1aac4f);}const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require(a22_0x273607(0x240)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{v4:uuidv4}=require(a22_0x273607(0x223)),{name,version}=require(a22_0x273607(0x199)),stackTrace=require(a22_0x273607(0x205)),path=require('path'),fs=require('fs'),TestDetails=require(a22_0x273607(0x246)),{FRAMEWORKS}=require(a22_0x273607(0x25d)),{o11yClassErrorHandler}=require(a22_0x273607(0x259)),{getGitMetaData}=require('../../../helpers/helper'),{appendTesthubParams,setCurrentTestData}=require(a22_0x273607(0x1bc)),a22_0xff72ae={};a22_0xff72ae['STATE_PASSED']=a22_0x273607(0x1a1),a22_0xff72ae[a22_0x273607(0x1dd)]=a22_0x273607(0x1f5),a22_0xff72ae[a22_0x273607(0x1b9)]=a22_0x273607(0x1ad);const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a22_0xff72ae,a22_0x52c522={};function a22_0x3389(){const _0x1d33cb=['failure','state','stack-trace','eLqcs','TAuuR','vgSqh','config','finished_at','analyticsResult','resetTestHooks','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','getTestEnv','sendTestRunEvent','ZawJf','pid','skipped','WgDxO','dirname','call','yNALF','getHierarchy','MRCik','582iOgnXG','uploadEventData','_paths','nNQIt','iVdOi','hook_failure','title','35JcvhPh','configureGit','util','uuid','QqhTF','MUOoM','appendTestPlatform','XHgok','fslop','type','location_prefix','backtrace','failed\x20to\x20get\x20root\x20parent\x20file\x20','root','VDKgL','gJonT','oJnXJ','WpfYB','push','parse','jest-circus','cYskV','JEST','TestRunFinished','expanded','bNVfY','duration','apply','exports','5872372gffKep','test','12zzArYz','../../../helpers/test-observability/utils','_gitConfigured','duCus','length','HSeTd','bs:addLog:','./test-details','AzjiU','IZCou','hmYGB','removeAllListeners','6609580Zgtsqd','File\x20path\x20could\x20not\x20be\x20found','HshDB','UWDUa','forEach','dLEmg','asyncError','AFTER_ALL','_testEnv','18pVWbqL','802249LAQXkh','10075175AYlwad','yRDjc','toISOString','../../../helpers/test-observability/error-handler','js-','\x22\x20hook\x20for\x20\x22','failure_type','../../utils/constants','uKjaP','wcUAi','errorsDetailed','test_run_uuid','appendTestItemLog','../../../../package.json','voSmR','JrFEK','jPvwj','kLkxx','MhLck','failure_reason','Exception\x20in\x20getting\x20file\x20for\x20hook\x20','passed','QbmXz','file','getRootParentFile','markedStatus','bind','getFileName','hook_type','cIngA','197967ZeRlbL','pyqAf','statSync','pending','CbLzN','LogCreated','setTestUUID','ObservabilityReporter','27575GVWJsp','qcwGw','uNrxr','getHooksForTest','parent','KdUVr','current_test','STATE_PENDING','findGitConfig','AWOXz','../../../helpers/testhub/utils','beforeEach','err','HookRunFinished','match','QMSsG','reverse','1462408lXakXo','beIrr','mapTestHooks','failure_reason_expanded','eAtzc','ByKBG','testStarted','hCQxN','CBTSessionCreated','started_at','BjOJZ','MAJAr','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','beforeAll','afterEach','nXTvl','name','hooks','VaBKL','3|0|4|2|1','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','TestRunStarted','getName','opbbu','\x20with\x20error\x20:\x20','toString','STATE_FAILED','Sahsd','afterAll','_gitConfigPath','ROOT_DESCRIBE_BLOCK','test_run','retryOf','result','BEFORE_EACH','hook_run_uuid','_currentRetry','includes','0|6|2|1|5|3|4','_testResults','tyDtg','now','TestRunSkipped','inspect','hook_data','registerListeners',':hookAnalyticsId','djlRQ','dkYCK','hookAnalyticsId','failed','testAnalyticsId','34bhttEG','join','isJestInternalHook','pOTve',':testAnalyticsId','slKsD','bs:addPlatformDetails:','split','QNXWR','Ldmlt','kaVTX','getTestUUID'];a22_0x3389=function(){return _0x1d33cb;};return a22_0x3389();}a22_0x52c522['beforeAll']='BEFORE_ALL',a22_0x52c522[a22_0x273607(0x1df)]=a22_0x273607(0x252),a22_0x52c522[a22_0x273607(0x1bd)]=a22_0x273607(0x1e5),a22_0x52c522[a22_0x273607(0x1d1)]='AFTER_EACH';const HOOK_TYPES_MAP=a22_0x52c522;module[a22_0x273607(0x23c)]=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0x43e7e9=a22_0x273607,_0x1c0bca={'VDKgL':_0x43e7e9(0x1e9),'cIngA':function(_0x94ae26){return _0x94ae26();}},_0x58d62c=_0x1c0bca[_0x43e7e9(0x22e)][_0x43e7e9(0x1fe)]('|');let _0x51d0cf=0x0;while(!![]){switch(_0x58d62c[_0x51d0cf++]){case'0':this['testObservability']=_0x1c0bca[_0x43e7e9(0x1a9)](isTestObservabilitySession);continue;case'1':this[_0x43e7e9(0x21b)]=new PathHelper({'cwd':process['cwd']()},this[_0x43e7e9(0x253)][_0x43e7e9(0x22a)]);continue;case'2':this[_0x43e7e9(0x253)]=this[_0x43e7e9(0x20e)]();continue;case'3':this[_0x43e7e9(0x241)]=![];continue;case'4':this[_0x43e7e9(0x1e0)]=null;continue;case'5':this[_0x43e7e9(0x1ef)]=[];continue;case'6':this['_testResults']=[];continue;}break;}}['getTestEnv']=()=>{const _0x1c6594=a22_0x273607,_0x5726e8={'MAJAr':'generic','UWDUa':function(_0x3d5377){return _0x3d5377();}};return{'ci':_0x5726e8[_0x1c6594(0x1ce)],'key':_0x5726e8[_0x1c6594(0x24e)](uuidv4),'version':version,'collector':_0x1c6594(0x25a)+name};};[a22_0x273607(0x1f0)](){const _0x4164e0=a22_0x273607;process['removeAllListeners'](_0x4164e0(0x245)+process[_0x4164e0(0x211)]),process['on'](_0x4164e0(0x245)+process[_0x4164e0(0x211)],this[_0x4164e0(0x198)][_0x4164e0(0x1a6)](this)),process[_0x4164e0(0x24a)](_0x4164e0(0x1fd)+process[_0x4164e0(0x211)]),process['on'](_0x4164e0(0x1fd)+process[_0x4164e0(0x211)],this['appendTestPlatform'][_0x4164e0(0x1a6)](this));}[a22_0x273607(0x1c9)]=async _0x55d99d=>{const _0x2543ee=a22_0x273607,_0x40a37c={'opbbu':function(_0x3d5e24,_0x3942ce){return _0x3d5e24>_0x3942ce;},'duCus':function(_0x1bc479,_0xc784d0){return _0x1bc479===_0xc784d0;},'uNrxr':_0x2543ee(0x1d8),'eAtzc':function(_0x59bc09,_0xd85d47){return _0x59bc09(_0xd85d47);}};try{const _0xacc22a=this[_0x2543ee(0x1b8)];this['current_test']=_0x55d99d,_0x55d99d[_0x2543ee(0x1e3)]=null,_0x55d99d['testAnalyticsId']=TestDetails[_0x2543ee(0x1b0)](process['pid']+_0x2543ee(0x1fb)),_0x55d99d[_0x2543ee(0x1cc)]=new Date()[_0x2543ee(0x258)](),_0x40a37c[_0x2543ee(0x1da)](_0x55d99d[_0x2543ee(0x1e7)],0x0)&&_0xacc22a&&_0x40a37c[_0x2543ee(0x242)](_0xacc22a[_0x2543ee(0x21f)],_0x55d99d[_0x2543ee(0x21f)])?(_0x55d99d[_0x2543ee(0x1e3)]=_0xacc22a[_0x2543ee(0x1f6)],await this[_0x2543ee(0x20f)](_0x55d99d,undefined,![],_0x40a37c[_0x2543ee(0x1b4)]),_0xacc22a[_0x2543ee(0x204)]=STATE_FAILED,await this[_0x2543ee(0x20f)](_0xacc22a,undefined,!![])):await this['sendTestRunEvent'](_0x55d99d,undefined,![],_0x40a37c[_0x2543ee(0x1b4)]);}catch(_0x1a8d1e){_0x40a37c[_0x2543ee(0x1c7)](debug,_0x2543ee(0x1d7)+_0x1a8d1e);}};[a22_0x273607(0x1d9)](_0x3e4210){const _0x12f74e=a22_0x273607,_0x2a3bea={};_0x2a3bea[_0x12f74e(0x1f3)]=function(_0x624aa1,_0x2ebc48){return _0x624aa1!==_0x2ebc48;},_0x2a3bea[_0x12f74e(0x208)]=_0x12f74e(0x23e);const _0x4c148d=_0x2a3bea;if(_0x4c148d[_0x12f74e(0x1f3)](_0x3e4210[_0x12f74e(0x229)],_0x4c148d['vgSqh']))return'\x22'+_0x3e4210[_0x12f74e(0x229)]+_0x12f74e(0x25b)+(_0x3e4210[_0x12f74e(0x1b6)]&&_0x3e4210['parent']['name'])+'\x22';return _0x3e4210['name'];}[a22_0x273607(0x20f)]=async(_0x48f2b1,_0x4a6d62=undefined,_0x27cb34=![],_0x190b64=a22_0x273607(0x237))=>{const _0x39fd85=a22_0x273607,_0x567204={'eLqcs':_0x39fd85(0x1d6),'slKsD':'hook_run','XHgok':_0x39fd85(0x25c),'wcUAi':_0x39fd85(0x1e2),'JrFEK':_0x39fd85(0x19f),'iVdOi':_0x39fd85(0x203),'CbLzN':_0x39fd85(0x1e4),'lLvme':function(_0x3252bc,_0x99e1f6){return _0x3252bc(_0x99e1f6);},'cYskV':'jest-circus','AzjiU':function(_0x4ab4a2,_0x37d8cc){return _0x4ab4a2(_0x37d8cc);},'KdUVr':_0x39fd85(0x222),'pyqAf':function(_0x5be720,_0x36fe4d){return _0x5be720!==_0x36fe4d;},'HshDB':_0x39fd85(0x23e),'qcwGw':function(_0x4a9fc3,_0x3dbfca){return _0x4a9fc3!==_0x3dbfca;},'bNVfY':_0x39fd85(0x1be),'QbmXz':_0x39fd85(0x24c),'CQorT':'javascript','ByKBG':function(_0x26da9d,_0x1ef556){return _0x26da9d===_0x1ef556;},'TAuuR':_0x39fd85(0x1ed),'yNALF':_0x39fd85(0x212),'VaBKL':function(_0x4dc509,_0x548d3e){return _0x4dc509>_0x548d3e;},'jPvwj':_0x39fd85(0x1f5),'nNQIt':'passed','Ldmlt':function(_0x3f376f,_0x3eea87){return _0x3f376f-_0x3eea87;},'beIrr':function(_0x130373,_0x285f82){return _0x130373(_0x285f82);},'wUFYX':function(_0x141305,_0x47ea24,_0x48b39b,_0x4506c9,_0x24d73e){return _0x141305(_0x47ea24,_0x48b39b,_0x4506c9,_0x24d73e);},'IuBMW':_0x39fd85(0x1cc),'ZawJf':_0x39fd85(0x20a),'tyDtg':function(_0x4b2722,_0x46025e){return _0x4b2722===_0x46025e;},'MUOoM':_0x39fd85(0x1bf),'QqhTF':function(_0x4b7f04,_0x1466b7){return _0x4b7f04!==_0x1466b7;},'kLkxx':'failure_backtrace','AbprD':_0x39fd85(0x22b),'vWJET':_0x39fd85(0x1c6),'QNXWR':_0x39fd85(0x238),'uKjaP':_0x39fd85(0x237),'voSmR':function(_0x3d33fb,_0x308d11){return _0x3d33fb===_0x308d11;},'QMSsG':_0x39fd85(0x1a8),'zVxeZ':function(_0x473b82,_0x400c4c){return _0x473b82===_0x400c4c;},'WpfYB':_0x39fd85(0x1d0),'yRDjc':function(_0x4e8f90,_0x5c0c5f,_0x17c70a){return _0x4e8f90(_0x5c0c5f,_0x17c70a);}};try{if(_0x48f2b1['fn']&&_0x48f2b1['fn']['toString']()[_0x39fd85(0x1c0)](/browserstack internal helper hook/))return;await this['configureGit']();let _0x137bf8;try{_0x137bf8=this[_0x39fd85(0x1a4)](_0x48f2b1);}catch(_0xe7a0fd){_0x567204['lLvme'](debug,_0x39fd85(0x22c)+_0xe7a0fd),_0x137bf8=null;}if(_0x137bf8[_0x39fd85(0x1e8)](_0x567204[_0x39fd85(0x235)]))return;const _0xe9130b=_0x567204[_0x39fd85(0x247)](require,_0x567204[_0x39fd85(0x1b7)]);let _0x537bc6=[];if(_0x567204[_0x39fd85(0x1ab)](_0x48f2b1[_0x39fd85(0x196)],undefined))_0x537bc6=[_0x48f2b1[_0x39fd85(0x196)],_0x567204[_0x39fd85(0x24d)]];else _0x567204[_0x39fd85(0x1b3)](_0x4a6d62,undefined)?_0x537bc6=[_0x4a6d62,_0x567204[_0x39fd85(0x239)]]:_0x537bc6=[];const _0x2c2944=_0x567204[_0x39fd85(0x1b3)](_0x48f2b1[_0x39fd85(0x196)],undefined)?_0xe9130b[_0x39fd85(0x1ee)](_0x48f2b1['errorsDetailed'][0x0]):_0x567204[_0x39fd85(0x1ab)](_0x4a6d62,undefined)?_0x4a6d62['toString']():undefined,_0x4a6a51=_0x137bf8?this[_0x39fd85(0x21b)]['prefixTestPath'](this[_0x39fd85(0x1a4)](_0x48f2b1)):_0x567204[_0x39fd85(0x1a2)],_0x1f4f8c={'framework':FRAMEWORKS[_0x39fd85(0x236)],'uuid':_0x48f2b1[_0x39fd85(0x1f6)]||_0x48f2b1['hookAnalyticsId'],'name':this['getName'](_0x48f2b1),'body':{'lang':_0x567204['CQorT'],'code':_0x48f2b1['fn'][_0x39fd85(0x1dc)]()},'scopes':this[_0x39fd85(0x217)](_0x48f2b1),'file_name':_0x4a6a51,'vc_filepath':this[_0x39fd85(0x1e0)]&&_0x137bf8?path['relative'](this[_0x39fd85(0x1e0)],_0x137bf8):null,'location':_0x4a6a51,'result':_0x567204[_0x39fd85(0x1c8)](_0x190b64,_0x567204[_0x39fd85(0x207)])?_0x567204[_0x39fd85(0x216)]:this[_0x39fd85(0x20b)](_0x48f2b1[_0x39fd85(0x196)]&&_0x567204[_0x39fd85(0x1d5)](_0x48f2b1[_0x39fd85(0x196)][_0x39fd85(0x243)],0x0)?_0x567204[_0x39fd85(0x19c)]:_0x567204[_0x39fd85(0x21c)]),'failure_reason':_0x2c2944,'duration_in_ms':_0x48f2b1[_0x39fd85(0x23a)]||(_0x190b64[_0x39fd85(0x1c0)](/Finished/)||_0x190b64[_0x39fd85(0x1c0)](/Skipped/)?_0x567204[_0x39fd85(0x200)](Date[_0x39fd85(0x1ec)](),new Date(_0x48f2b1[_0x39fd85(0x1cc)])['getTime']()):null),'started_at':_0x48f2b1[_0x39fd85(0x1cc)],'finished_at':_0x190b64[_0x39fd85(0x1c0)](/Finished/)||_0x190b64['match'](/Skipped/)?new Date()[_0x39fd85(0x258)]():null,'failure':failureData[_0x39fd85(0x23b)](null,_0x537bc6),'failure_type':!_0x2c2944?null:_0x567204[_0x39fd85(0x1c4)](getFailureType,_0x2c2944),'retry_of':_0x48f2b1[_0x39fd85(0x1e3)]};_0x567204['wUFYX'](appendTesthubParams,_0x1f4f8c,_0x190b64,_0x48f2b1,FRAMEWORKS['JEST']);_0x567204[_0x39fd85(0x1c8)](_0x190b64,_0x567204['TAuuR'])&&!_0x1f4f8c[_0x567204['IuBMW']]&&(_0x1f4f8c[_0x567204['IuBMW']]=_0x1f4f8c[_0x567204[_0x39fd85(0x210)]]);if(_0x190b64[_0x39fd85(0x1c0)](/HookRun/))[_0x1f4f8c[_0x39fd85(0x1a8)],_0x1f4f8c[_0x39fd85(0x1d3)]]=[_0x48f2b1[_0x39fd85(0x229)],this[_0x39fd85(0x1d9)](_0x48f2b1)],_0x567204[_0x39fd85(0x1eb)](_0x190b64,_0x567204[_0x39fd85(0x225)])&&(_0x567204[_0x39fd85(0x224)](_0x1f4f8c[_0x39fd85(0x1e4)],_0x567204['jPvwj'])&&(_0x1f4f8c['result']=_0x567204['nNQIt']));else _0x190b64[_0x39fd85(0x1c0)](/TestRun/)&&this[_0x39fd85(0x1c5)](_0x48f2b1);const _0x25adf1=_0x1f4f8c[_0x567204['iVdOi']][0x0];_0x25adf1&&(_0x1f4f8c[_0x567204[_0x39fd85(0x19d)]]=_0x25adf1[_0x567204['AbprD']],_0x1f4f8c[_0x567204['vWJET']]=_0x25adf1[_0x567204[_0x39fd85(0x1ff)]]);[_0x567204[_0x39fd85(0x25e)],_0x567204[_0x39fd85(0x207)]][_0x39fd85(0x1e8)](_0x190b64)&&(this[_0x39fd85(0x1ea)][_0x39fd85(0x232)](_0x1f4f8c),_0x1f4f8c[_0x39fd85(0x1d4)]=this['getHooksForTest'](_0x48f2b1),this[_0x39fd85(0x20c)](_0x48f2b1));const _0x4fc640={'event_type':_0x567204[_0x39fd85(0x19a)](_0x190b64,_0x567204[_0x39fd85(0x207)])?_0x567204[_0x39fd85(0x25e)]:_0x190b64};_0x190b64['match'](/HookRun/)?(_0x1f4f8c[_0x567204[_0x39fd85(0x1c1)]]=HOOK_TYPES_MAP[_0x1f4f8c[_0x567204['QMSsG']]],_0x4fc640[_0x567204['slKsD']]=_0x1f4f8c):_0x4fc640[_0x567204[_0x39fd85(0x195)]]=_0x1f4f8c;_0x567204[_0x39fd85(0x1d5)](this[_0x39fd85(0x1ef)][_0x39fd85(0x243)],0x0)&&[_0x567204[_0x39fd85(0x25e)],_0x567204['TAuuR']][_0x39fd85(0x1e8)](_0x190b64)&&(this[_0x39fd85(0x1ef)][_0x39fd85(0x24f)](async _0x4a5eb3=>{const _0x2967a8=_0x39fd85,_0x28786d=_0x567204[_0x2967a8(0x206)][_0x2967a8(0x1fe)]('|');let _0xd65803=0x0;while(!![]){switch(_0x28786d[_0xd65803++]){case'0':_0x4a5eb3[_0x567204[_0x2967a8(0x1fc)]][_0x567204['XHgok']]=_0x4fc640[_0x567204[_0x2967a8(0x195)]][_0x567204[_0x2967a8(0x227)]];continue;case'1':await SessionHandler['uploadEventData'](_0x4a5eb3);continue;case'2':_0x4a5eb3[_0x567204['slKsD']][_0x567204[_0x2967a8(0x19b)]]=_0x4fc640[_0x567204['wcUAi']][_0x567204['JrFEK']];continue;case'3':_0x4a5eb3[_0x567204['slKsD']][_0x567204[_0x2967a8(0x21d)]]=_0x4fc640[_0x567204['wcUAi']][_0x567204[_0x2967a8(0x21d)]];continue;case'4':_0x4a5eb3[_0x567204[_0x2967a8(0x1fc)]][_0x567204[_0x2967a8(0x1ae)]]=_0x4fc640[_0x567204[_0x2967a8(0x195)]][_0x567204[_0x2967a8(0x1ae)]];continue;}break;}}),this[_0x39fd85(0x1ef)]=[]);if(_0x567204[_0x39fd85(0x1c8)](this['hook_failure'],_0x48f2b1['type'])){this[_0x39fd85(0x1ef)]['push'](_0x4fc640);return;}_0x567204['zVxeZ'](this[_0x39fd85(0x21e)],_0x567204[_0x39fd85(0x231)])&&_0x4fc640[_0x567204[_0x39fd85(0x195)]]&&(_0x4fc640[_0x567204[_0x39fd85(0x195)]][_0x567204[_0x39fd85(0x1ae)]]=_0x567204[_0x39fd85(0x216)],_0x4fc640[_0x567204[_0x39fd85(0x195)]][_0x567204['iVdOi']]=null,_0x4fc640[_0x567204[_0x39fd85(0x195)]][_0x567204[_0x39fd85(0x227)]]=null),_0x567204[_0x39fd85(0x257)](setCurrentTestData,FRAMEWORKS[_0x39fd85(0x236)],_0x4fc640),await SessionHandler[_0x39fd85(0x21a)](_0x4fc640);}catch(_0x366224){_0x567204['AzjiU'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x190b64+_0x39fd85(0x1db)+_0x366224);}};['findGitConfig'](_0x155264){const _0x3b2365=a22_0x273607,_0x3f0c00={};_0x3f0c00[_0x3b2365(0x250)]=function(_0x3df99b,_0xacf065){return _0x3df99b==_0xacf065;},_0x3f0c00[_0x3b2365(0x249)]=function(_0x3701a6,_0x53b521){return _0x3701a6===_0x53b521;},_0x3f0c00[_0x3b2365(0x230)]=function(_0x4e9737,_0x58f9fe){return _0x4e9737===_0x58f9fe;},_0x3f0c00['kVKZI']='.git',_0x3f0c00[_0x3b2365(0x201)]=_0x3b2365(0x209);const _0x11e31e=_0x3f0c00,_0x349760=path['sep'];if(_0x11e31e[_0x3b2365(0x250)](_0x155264,null)||_0x11e31e[_0x3b2365(0x249)](_0x155264,'')||_0x11e31e[_0x3b2365(0x249)](_0x155264,_0x349760)||_0x11e31e[_0x3b2365(0x230)](_0x155264,path[_0x3b2365(0x214)](_0x155264)))return null;try{return fs[_0x3b2365(0x1ac)](path[_0x3b2365(0x1f8)](_0x155264,_0x11e31e['kVKZI'],_0x11e31e[_0x3b2365(0x201)])),_0x155264;}catch(_0x3977e7){const _0x42fb14=path[_0x3b2365(0x214)](_0x155264);return this[_0x3b2365(0x1ba)](_0x42fb14);}}['appendTestItemLog']=async _0x218dff=>{const _0x4ae56c=a22_0x273607,_0x28d5f5={'MhLck':_0x4ae56c(0x1af),'pOTve':function(_0x1581e6,_0x30b8f0){return _0x1581e6(_0x30b8f0);}},_0x53e79b=TestDetails[_0x4ae56c(0x202)](process[_0x4ae56c(0x211)]+_0x4ae56c(0x1f1)),_0x5c1ffc=TestDetails[_0x4ae56c(0x202)](process['pid']+_0x4ae56c(0x1fb));try{(_0x53e79b||this['current_hook']&&!this['current_hook'][_0x4ae56c(0x1a5)])&&(_0x218dff[_0x4ae56c(0x1e6)]=_0x53e79b);!_0x218dff['hook_run_uuid']&&_0x5c1ffc&&(_0x218dff[_0x4ae56c(0x197)]=_0x5c1ffc);if(_0x218dff[_0x4ae56c(0x1e6)]||_0x218dff['test_run_uuid']){const _0x3d2d51={};_0x3d2d51['event_type']=_0x28d5f5[_0x4ae56c(0x19e)],_0x3d2d51['logs']=[_0x218dff],await SessionHandler[_0x4ae56c(0x21a)](_0x3d2d51);}}catch(_0x25ebe8){_0x28d5f5[_0x4ae56c(0x1fa)](debug,_0x4ae56c(0x1cf)+_0x25ebe8);}};[a22_0x273607(0x226)]=async _0x80acca=>{const _0x1fff0c=a22_0x273607,_0x2a5af2={'HSeTd':'http_response','djlRQ':_0x1fff0c(0x1cb),'BjOJZ':function(_0x26395c,_0xd12982){return _0x26395c(_0xd12982);}};try{const _0x5e12be={'uuid':_0x80acca['uuid']||TestDetails[_0x1fff0c(0x202)](process['pid']+_0x1fff0c(0x1fb)),'integrations':_0x80acca[_0x2a5af2[_0x1fff0c(0x244)]]},_0x479621={};_0x479621['event_type']=_0x2a5af2[_0x1fff0c(0x1f2)],_0x479621[_0x1fff0c(0x1e2)]=_0x5e12be,await SessionHandler['uploadEventData'](_0x479621);}catch(_0x359ec8){_0x2a5af2[_0x1fff0c(0x1cd)](debug,_0x1fff0c(0x20d)+_0x359ec8);}};async[a22_0x273607(0x221)](){const _0x44e1b8=a22_0x273607,_0x51636a={'ykEJw':function(_0x1a53c6){return _0x1a53c6();}};if(this[_0x44e1b8(0x241)])return this[_0x44e1b8(0x1e0)];const _0x4676f1=await _0x51636a['ykEJw'](getGitMetaData);_0x4676f1&&(this['_gitConfigPath']=_0x4676f1[_0x44e1b8(0x22d)]),this[_0x44e1b8(0x241)]=!![];}[a22_0x273607(0x20b)](_0x5e518f){const _0x4b0070=a22_0x273607,_0x1eac5a={};_0x1eac5a['Pxjfg']=_0x4b0070(0x1a1),_0x1eac5a[_0x4b0070(0x218)]=_0x4b0070(0x1ad),_0x1eac5a[_0x4b0070(0x248)]='failed';const _0x2eb7ba=_0x1eac5a,_0x88bce8={};return _0x88bce8[STATE_PASSED]=_0x2eb7ba['Pxjfg'],_0x88bce8[STATE_PENDING]=_0x2eb7ba[_0x4b0070(0x218)],_0x88bce8[STATE_FAILED]=_0x2eb7ba['IZCou'],_0x88bce8[_0x5e518f];}['getHierarchy'](_0x132574){const _0x106d92=a22_0x273607,_0x4d3b58={};_0x4d3b58[_0x106d92(0x1bb)]=function(_0x3b69ba,_0x69a1d9){return _0x3b69ba!==_0x69a1d9;},_0x4d3b58['xkRMB']=function(_0x484ca2,_0x464de5){return _0x484ca2!==_0x464de5;},_0x4d3b58['jGoZD']=_0x106d92(0x1e1);const _0x2f6bf7=_0x4d3b58,_0x4db74c=[];if(_0x132574&&_0x132574[_0x106d92(0x1b6)]){let _0x2c5466=_0x132574[_0x106d92(0x1b6)];while(_0x2c5466&&_0x2f6bf7['AWOXz'](_0x2c5466['name'],'')&&_0x2f6bf7['xkRMB'](_0x2c5466[_0x106d92(0x1d3)],_0x2f6bf7['jGoZD'])){_0x4db74c[_0x106d92(0x232)](_0x2c5466['name']),_0x2c5466=_0x2c5466[_0x106d92(0x1b6)];}}return _0x4db74c[_0x106d92(0x1c2)](),_0x4db74c;}[a22_0x273607(0x1a4)]=_0x20f6f4=>{const _0x4fa5ae=a22_0x273607;if(_0x20f6f4[_0x4fa5ae(0x251)]){const _0x2c4da4=stackTrace[_0x4fa5ae(0x233)][_0x4fa5ae(0x215)](stackTrace,_0x20f6f4[_0x4fa5ae(0x251)]);return _0x2c4da4[0x0][_0x4fa5ae(0x1a7)]();}if(_0x20f6f4[_0x4fa5ae(0x1a3)])return _0x20f6f4['file'];return null;};['mapTestHooks']=_0x4f51d2=>{const _0xa4da5=a22_0x273607;if(!_0x4f51d2||!_0x4f51d2[_0xa4da5(0x1b6)])return;_0x4f51d2[_0xa4da5(0x1b6)]['hooks'][_0xa4da5(0x24f)](_0x238ccc=>{const _0x52e69f=_0xa4da5;!_0x238ccc[_0x52e69f(0x1f4)]&&(_0x238ccc[_0x52e69f(0x1f4)]=TestDetails[_0x52e69f(0x1b0)](process[_0x52e69f(0x211)]+_0x52e69f(0x1f1)));}),this[_0xa4da5(0x1c5)](_0x4f51d2[_0xa4da5(0x1b6)]);};['resetTestHooks']=_0x2c5d1b=>{const _0x4bc9c4=a22_0x273607,_0x1cd695={};_0x1cd695[_0x4bc9c4(0x1d2)]=_0x4bc9c4(0x1bd),_0x1cd695[_0x4bc9c4(0x1de)]=_0x4bc9c4(0x1d1);const _0x4102f9=_0x1cd695;if(!_0x2c5d1b||!_0x2c5d1b[_0x4bc9c4(0x1b6)])return;_0x2c5d1b[_0x4bc9c4(0x1b6)][_0x4bc9c4(0x1d4)]['forEach'](_0x17513c=>{const _0x53bf22=_0x4bc9c4;[_0x4102f9['nXTvl'],_0x4102f9[_0x53bf22(0x1de)]][_0x53bf22(0x1e8)](_0x17513c[_0x53bf22(0x229)])&&_0x17513c[_0x53bf22(0x1f4)]&&(_0x17513c[_0x53bf22(0x1f4)]=null);}),this[_0x4bc9c4(0x1c5)](_0x2c5d1b['parent']);};[a22_0x273607(0x1f9)](_0x151676){const _0x56ff51=a22_0x273607,_0x3ac147={'hCQxN':_0x56ff51(0x234),'gJonT':function(_0x4a23ce,_0x1a2352){return _0x4a23ce(_0x1a2352);},'fslop':function(_0x1c220f,_0x46dbbf){return _0x1c220f+_0x46dbbf;},'WgDxO':_0x56ff51(0x1a0)};try{const _0x49d993=this[_0x56ff51(0x1a4)](_0x151676);return _0x49d993[_0x56ff51(0x1e8)](_0x3ac147[_0x56ff51(0x1ca)]);}catch(_0x19209e){_0x3ac147[_0x56ff51(0x22f)](debug,_0x3ac147[_0x56ff51(0x228)](_0x3ac147[_0x56ff51(0x213)],_0x19209e));}return![];}[a22_0x273607(0x1b5)]=_0x2ab89f=>{const _0x57086d=a22_0x273607,_0x1a0c06={'yZFoR':function(_0x14aacf,_0x22748b){return _0x14aacf(_0x22748b);}};if(!_0x2ab89f||!_0x2ab89f['parent'])return[];const _0x27a79f=[];return _0x2ab89f[_0x57086d(0x1b6)][_0x57086d(0x1d4)][_0x57086d(0x24f)](_0x4cc44c=>{const _0x2c9c2b=_0x57086d;_0x4cc44c[_0x2c9c2b(0x1f4)]&&!_0x1a0c06['yZFoR'](isInternalHook,_0x4cc44c['fn'])&&!this[_0x2c9c2b(0x1f9)](_0x4cc44c)&&_0x27a79f['push'](_0x4cc44c[_0x2c9c2b(0x1f4)]);}),[..._0x27a79f,...this[_0x57086d(0x1b5)](_0x2ab89f['parent'])];};},[a22_0x273607(0x20e),a22_0x273607(0x1f0),'testStarted',a22_0x273607(0x1d9),'sendTestRunEvent',a22_0x273607(0x1ba),a22_0x273607(0x198),a22_0x273607(0x226),a22_0x273607(0x20b),a22_0x273607(0x217),a22_0x273607(0x1a4),'mapTestHooks',a22_0x273607(0x20c),a22_0x273607(0x1b5),a22_0x273607(0x221)],a22_0x273607(0x1b1));